.include "macros.inc" .section .text, "ax" # 0x80003640 - 0x803CB1C0 .global Update__23CHudBossEnergyInterfaceFf Update__23CHudBossEnergyInterfaceFf: /* 8018F364 0018C2C4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8018F368 0018C2C8 7C 08 02 A6 */ mflr r0 /* 8018F36C 0018C2CC 90 01 00 44 */ stw r0, 0x44(r1) /* 8018F370 0018C2D0 DB E1 00 30 */ stfd f31, 0x30(r1) /* 8018F374 0018C2D4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8018F378 0018C2D8 DB C1 00 20 */ stfd f30, 0x20(r1) /* 8018F37C 0018C2DC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 8018F380 0018C2E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8018F384 0018C2E4 88 03 00 10 */ lbz r0, 0x10(r3) /* 8018F388 0018C2E8 7C 7F 1B 78 */ mr r31, r3 /* 8018F38C 0018C2EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8018F390 0018C2F0 41 82 00 34 */ beq lbl_8018F3C4 /* 8018F394 0018C2F4 C0 5F 00 04 */ lfs f2, 4(r31) /* 8018F398 0018C2F8 C0 0D 8F 08 */ lfs f0, lbl_805A7AC8@sda21(r13) /* 8018F39C 0018C2FC EC 22 08 2A */ fadds f1, f2, f1 /* 8018F3A0 0018C300 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8018F3A4 0018C304 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8018F3A8 0018C308 40 80 00 0C */ bge lbl_8018F3B4 /* 8018F3AC 0018C30C 38 61 00 14 */ addi r3, r1, 0x14 /* 8018F3B0 0018C310 48 00 00 08 */ b lbl_8018F3B8 lbl_8018F3B4: /* 8018F3B4 0018C314 38 6D 8F 08 */ addi r3, r13, lbl_805A7AC8@sda21 lbl_8018F3B8: /* 8018F3B8 0018C318 C0 03 00 00 */ lfs f0, 0(r3) /* 8018F3BC 0018C31C D0 1F 00 04 */ stfs f0, 4(r31) /* 8018F3C0 0018C320 48 00 00 30 */ b lbl_8018F3F0 lbl_8018F3C4: /* 8018F3C4 0018C324 C0 5F 00 04 */ lfs f2, 4(r31) /* 8018F3C8 0018C328 C0 0D 8F 0C */ lfs f0, lbl_805A7ACC@sda21(r13) /* 8018F3CC 0018C32C EC 22 08 28 */ fsubs f1, f2, f1 /* 8018F3D0 0018C330 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8018F3D4 0018C334 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8018F3D8 0018C338 40 80 00 0C */ bge lbl_8018F3E4 /* 8018F3DC 0018C33C 38 61 00 10 */ addi r3, r1, 0x10 /* 8018F3E0 0018C340 48 00 00 08 */ b lbl_8018F3E8 lbl_8018F3E4: /* 8018F3E4 0018C344 38 6D 8F 0C */ addi r3, r13, lbl_805A7ACC@sda21 lbl_8018F3E8: /* 8018F3E8 0018C348 C0 03 00 00 */ lfs f0, 0(r3) /* 8018F3EC 0018C34C D0 1F 00 04 */ stfs f0, 4(r31) lbl_8018F3F0: /* 8018F3F0 0018C350 C0 3F 00 04 */ lfs f1, 4(r31) /* 8018F3F4 0018C354 C0 02 A4 98 */ lfs f0, lbl_805AC1B8@sda21(r2) /* 8018F3F8 0018C358 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8018F3FC 0018C35C 40 81 00 4C */ ble lbl_8018F448 /* 8018F400 0018C360 C0 1F 00 00 */ lfs f0, 0(r31) /* 8018F404 0018C364 EF E0 00 72 */ fmuls f31, f0, f1 /* 8018F408 0018C368 48 1B AB A5 */ bl White__6CColorFv /* 8018F40C 0018C36C C0 02 A4 9C */ lfs f0, lbl_805AC1BC@sda21(r2) /* 8018F410 0018C370 EF C0 07 F2 */ fmuls f30, f0, f31 /* 8018F414 0018C374 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 8018F418 0018C378 38 81 00 0C */ addi r4, r1, 0xc /* 8018F41C 0018C37C 80 63 00 00 */ lwz r3, 0(r3) /* 8018F420 0018C380 88 01 00 08 */ lbz r0, 8(r1) /* 8018F424 0018C384 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 8018F428 0018C388 90 01 00 0C */ stw r0, 0xc(r1) /* 8018F42C 0018C38C 80 7F 00 14 */ lwz r3, 0x14(r31) /* 8018F430 0018C390 48 13 B4 3D */ bl SetColor__10CGuiWidgetFRC6CColor /* 8018F434 0018C394 80 7F 00 14 */ lwz r3, 0x14(r31) /* 8018F438 0018C398 38 80 00 01 */ li r4, 1 /* 8018F43C 0018C39C 38 A0 00 01 */ li r5, 1 /* 8018F440 0018C3A0 48 13 B2 A9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 8018F444 0018C3A4 48 00 00 14 */ b lbl_8018F458 lbl_8018F448: /* 8018F448 0018C3A8 80 7F 00 14 */ lwz r3, 0x14(r31) /* 8018F44C 0018C3AC 38 80 00 00 */ li r4, 0 /* 8018F450 0018C3B0 38 A0 00 01 */ li r5, 1 /* 8018F454 0018C3B4 48 13 B2 95 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode lbl_8018F458: /* 8018F458 0018C3B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8018F45C 0018C3BC CB E1 00 30 */ lfd f31, 0x30(r1) /* 8018F460 0018C3C0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 8018F464 0018C3C4 CB C1 00 20 */ lfd f30, 0x20(r1) /* 8018F468 0018C3C8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8018F46C 0018C3CC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8018F470 0018C3D0 7C 08 03 A6 */ mtlr r0 /* 8018F474 0018C3D4 38 21 00 40 */ addi r1, r1, 0x40 /* 8018F478 0018C3D8 4E 80 00 20 */ blr .global SetAlpha__23CHudBossEnergyInterfaceFf SetAlpha__23CHudBossEnergyInterfaceFf: /* 8018F47C 0018C3DC D0 23 00 00 */ stfs f1, 0(r3) /* 8018F480 0018C3E0 4E 80 00 20 */ blr .global "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" "SetBossParams__23CHudBossEnergyInterfaceFbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": /* 8018F484 0018C3E4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8018F488 0018C3E8 7C 08 02 A6 */ mflr r0 /* 8018F48C 0018C3EC 90 01 00 34 */ stw r0, 0x34(r1) /* 8018F490 0018C3F0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8018F494 0018C3F4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8018F498 0018C3F8 DB C1 00 10 */ stfd f30, 0x10(r1) /* 8018F49C 0018C3FC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 /* 8018F4A0 0018C400 93 E1 00 0C */ stw r31, 0xc(r1) /* 8018F4A4 0018C404 93 C1 00 08 */ stw r30, 8(r1) /* 8018F4A8 0018C408 7C 7E 1B 78 */ mr r30, r3 /* 8018F4AC 0018C40C 54 83 06 3F */ clrlwi. r3, r4, 0x18 /* 8018F4B0 0018C410 88 1E 00 10 */ lbz r0, 0x10(r30) /* 8018F4B4 0018C414 FF C0 08 90 */ fmr f30, f1 /* 8018F4B8 0018C418 FF E0 10 90 */ fmr f31, f2 /* 8018F4BC 0018C41C 7C BF 2B 78 */ mr r31, r5 /* 8018F4C0 0018C420 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8018F4C4 0018C424 98 1E 00 10 */ stb r0, 0x10(r30) /* 8018F4C8 0018C428 41 82 00 48 */ beq lbl_8018F510 /* 8018F4CC 0018C42C C0 02 A4 A4 */ lfs f0, lbl_805AC1C4@sda21(r2) /* 8018F4D0 0018C430 38 80 00 00 */ li r4, 0 /* 8018F4D4 0018C434 C0 42 A4 A0 */ lfs f2, lbl_805AC1C0@sda21(r2) /* 8018F4D8 0018C438 EC 00 07 F2 */ fmuls f0, f0, f31 /* 8018F4DC 0018C43C 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8018F4E0 0018C440 EC 02 00 32 */ fmuls f0, f2, f0 /* 8018F4E4 0018C444 D0 03 00 E4 */ stfs f0, 0xe4(r3) /* 8018F4E8 0018C448 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8018F4EC 0018C44C 48 13 C3 DD */ bl SetCurrEnergy__16CAuiEnergyBarT01Ffb /* 8018F4F0 0018C450 FC 20 F8 90 */ fmr f1, f31 /* 8018F4F4 0018C454 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8018F4F8 0018C458 48 13 C4 71 */ bl SetMaxEnergy__16CAuiEnergyBarT01Ff /* 8018F4FC 0018C45C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 8018F500 0018C460 7F E4 FB 78 */ mr r4, r31 /* 8018F504 0018C464 38 A0 00 00 */ li r5, 0 /* 8018F508 0018C468 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018F50C 0018C46C 48 13 A3 79 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" lbl_8018F510: /* 8018F510 0018C470 D3 DE 00 08 */ stfs f30, 8(r30) /* 8018F514 0018C474 D3 FE 00 0C */ stfs f31, 0xc(r30) /* 8018F518 0018C478 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8018F51C 0018C47C CB E1 00 20 */ lfd f31, 0x20(r1) /* 8018F520 0018C480 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 /* 8018F524 0018C484 CB C1 00 10 */ lfd f30, 0x10(r1) /* 8018F528 0018C488 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8018F52C 0018C48C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8018F530 0018C490 83 C1 00 08 */ lwz r30, 8(r1) /* 8018F534 0018C494 7C 08 03 A6 */ mtlr r0 /* 8018F538 0018C498 38 21 00 30 */ addi r1, r1, 0x30 /* 8018F53C 0018C49C 4E 80 00 20 */ blr .global __ct__23CHudBossEnergyInterfaceFR9CGuiFrame __ct__23CHudBossEnergyInterfaceFR9CGuiFrame: /* 8018F540 0018C4A0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8018F544 0018C4A4 7C 08 02 A6 */ mflr r0 /* 8018F548 0018C4A8 C0 02 A4 A8 */ lfs f0, lbl_805AC1C8@sda21(r2) /* 8018F54C 0018C4AC 38 A0 00 00 */ li r5, 0 /* 8018F550 0018C4B0 90 01 00 14 */ stw r0, 0x14(r1) /* 8018F554 0018C4B4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8018F558 0018C4B8 7C 7F 1B 78 */ mr r31, r3 /* 8018F55C 0018C4BC 3C 60 80 3D */ lis r3, lbl_803D09D4@ha /* 8018F560 0018C4C0 93 C1 00 08 */ stw r30, 8(r1) /* 8018F564 0018C4C4 7C 9E 23 78 */ mr r30, r4 /* 8018F568 0018C4C8 38 83 09 D4 */ addi r4, r3, lbl_803D09D4@l /* 8018F56C 0018C4CC D0 1F 00 00 */ stfs f0, 0(r31) /* 8018F570 0018C4D0 7F C3 F3 78 */ mr r3, r30 /* 8018F574 0018C4D4 C0 02 A4 98 */ lfs f0, lbl_805AC1B8@sda21(r2) /* 8018F578 0018C4D8 D0 1F 00 04 */ stfs f0, 4(r31) /* 8018F57C 0018C4DC D0 1F 00 08 */ stfs f0, 8(r31) /* 8018F580 0018C4E0 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8018F584 0018C4E4 88 1F 00 10 */ lbz r0, 0x10(r31) /* 8018F588 0018C4E8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8018F58C 0018C4EC 98 1F 00 10 */ stb r0, 0x10(r31) /* 8018F590 0018C4F0 48 13 2B C5 */ bl FindWidget__9CGuiFrameCFPCc /* 8018F594 0018C4F4 3C 80 80 3D */ lis r4, lbl_803D09F0@ha /* 8018F598 0018C4F8 90 7F 00 14 */ stw r3, 0x14(r31) /* 8018F59C 0018C4FC 38 84 09 F0 */ addi r4, r4, lbl_803D09F0@l /* 8018F5A0 0018C500 7F C3 F3 78 */ mr r3, r30 /* 8018F5A4 0018C504 48 13 2B B1 */ bl FindWidget__9CGuiFrameCFPCc /* 8018F5A8 0018C508 3C 80 80 3D */ lis r4, lbl_803D0A30@ha /* 8018F5AC 0018C50C 90 7F 00 18 */ stw r3, 0x18(r31) /* 8018F5B0 0018C510 38 84 0A 30 */ addi r4, r4, lbl_803D0A30@l /* 8018F5B4 0018C514 7F C3 F3 78 */ mr r3, r30 /* 8018F5B8 0018C518 48 13 2B 9D */ bl FindWidget__9CGuiFrameCFPCc /* 8018F5BC 0018C51C 90 7F 00 1C */ stw r3, 0x1c(r31) /* 8018F5C0 0018C520 3C 60 80 19 */ lis r3, BossEnergyCoordFunc__23CHudBossEnergyInterfaceFf@ha /* 8018F5C4 0018C524 38 03 FF 70 */ addi r0, r3, BossEnergyCoordFunc__23CHudBossEnergyInterfaceFf@l /* 8018F5C8 0018C528 C0 02 A4 AC */ lfs f0, lbl_805AC1CC@sda21(r2) /* 8018F5CC 0018C52C 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8018F5D0 0018C530 7F E3 FB 78 */ mr r3, r31 /* 8018F5D4 0018C534 90 04 00 D8 */ stw r0, 0xd8(r4) /* 8018F5D8 0018C538 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8018F5DC 0018C53C D0 04 00 DC */ stfs f0, 0xdc(r4) /* 8018F5E0 0018C540 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 8018F5E4 0018C544 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8018F5E8 0018C548 80 05 01 C8 */ lwz r0, 0x1c8(r5) /* 8018F5EC 0018C54C 90 04 00 D0 */ stw r0, 0xd0(r4) /* 8018F5F0 0018C550 80 05 01 D0 */ lwz r0, 0x1d0(r5) /* 8018F5F4 0018C554 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8018F5F8 0018C558 90 04 00 D4 */ stw r0, 0xd4(r4) /* 8018F5FC 0018C55C 80 05 01 CC */ lwz r0, 0x1cc(r5) /* 8018F600 0018C560 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8018F604 0018C564 90 04 00 CC */ stw r0, 0xcc(r4) /* 8018F608 0018C568 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8018F60C 0018C56C 83 C1 00 08 */ lwz r30, 8(r1) /* 8018F610 0018C570 80 01 00 14 */ lwz r0, 0x14(r1) /* 8018F614 0018C574 7C 08 03 A6 */ mtlr r0 /* 8018F618 0018C578 38 21 00 10 */ addi r1, r1, 0x10 /* 8018F61C 0018C57C 4E 80 00 20 */ blr .global Update__19CHudEnergyInterfaceFff Update__19CHudEnergyInterfaceFff: /* 8018F620 0018C580 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8018F624 0018C584 7C 08 02 A6 */ mflr r0 /* 8018F628 0018C588 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8018F62C 0018C58C DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 8018F630 0018C590 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 8018F634 0018C594 DB C1 00 90 */ stfd f30, 0x90(r1) /* 8018F638 0018C598 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 8018F63C 0018C59C DB A1 00 80 */ stfd f29, 0x80(r1) /* 8018F640 0018C5A0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 8018F644 0018C5A4 93 E1 00 7C */ stw r31, 0x7c(r1) /* 8018F648 0018C5A8 93 C1 00 78 */ stw r30, 0x78(r1) /* 8018F64C 0018C5AC 93 A1 00 74 */ stw r29, 0x74(r1) /* 8018F650 0018C5B0 7C 7F 1B 78 */ mr r31, r3 /* 8018F654 0018C5B4 FF E0 10 90 */ fmr f31, f2 /* 8018F658 0018C5B8 80 03 00 28 */ lwz r0, 0x28(r3) /* 8018F65C 0018C5BC 28 00 00 00 */ cmplwi r0, 0 /* 8018F660 0018C5C0 41 82 01 00 */ beq lbl_8018F760 /* 8018F664 0018C5C4 88 1F 00 1C */ lbz r0, 0x1c(r31) /* 8018F668 0018C5C8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8018F66C 0018C5CC 41 82 00 6C */ beq lbl_8018F6D8 /* 8018F670 0018C5D0 C0 62 A4 B0 */ lfs f3, lbl_805AC1D0@sda21(r2) /* 8018F674 0018C5D4 C0 5F 00 04 */ lfs f2, 4(r31) /* 8018F678 0018C5D8 C0 0D 8F 00 */ lfs f0, lbl_805A7AC0@sda21(r13) /* 8018F67C 0018C5DC EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 8018F680 0018C5E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8018F684 0018C5E4 D0 21 00 24 */ stfs f1, 0x24(r1) /* 8018F688 0018C5E8 40 80 00 0C */ bge lbl_8018F694 /* 8018F68C 0018C5EC 38 61 00 24 */ addi r3, r1, 0x24 /* 8018F690 0018C5F0 48 00 00 08 */ b lbl_8018F698 lbl_8018F694: /* 8018F694 0018C5F4 38 6D 8F 00 */ addi r3, r13, lbl_805A7AC0@sda21 lbl_8018F698: /* 8018F698 0018C5F8 C0 03 00 00 */ lfs f0, 0(r3) /* 8018F69C 0018C5FC D0 1F 00 04 */ stfs f0, 4(r31) /* 8018F6A0 0018C600 C0 1F 00 04 */ lfs f0, 4(r31) /* 8018F6A4 0018C604 EF C0 07 F2 */ fmuls f30, f0, f31 /* 8018F6A8 0018C608 48 1B A9 05 */ bl White__6CColorFv /* 8018F6AC 0018C60C C0 02 A4 9C */ lfs f0, lbl_805AC1BC@sda21(r2) /* 8018F6B0 0018C610 EF A0 07 B2 */ fmuls f29, f0, f30 /* 8018F6B4 0018C614 F3 A1 A0 09 */ psq_st f29, 9(r1), 1, qr2 /* 8018F6B8 0018C618 38 81 00 20 */ addi r4, r1, 0x20 /* 8018F6BC 0018C61C 80 63 00 00 */ lwz r3, 0(r3) /* 8018F6C0 0018C620 88 01 00 09 */ lbz r0, 9(r1) /* 8018F6C4 0018C624 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 8018F6C8 0018C628 90 01 00 20 */ stw r0, 0x20(r1) /* 8018F6CC 0018C62C 80 7F 00 28 */ lwz r3, 0x28(r31) /* 8018F6D0 0018C630 48 13 B1 9D */ bl SetColor__10CGuiWidgetFRC6CColor /* 8018F6D4 0018C634 48 00 00 68 */ b lbl_8018F73C lbl_8018F6D8: /* 8018F6D8 0018C638 C0 62 A4 B0 */ lfs f3, lbl_805AC1D0@sda21(r2) /* 8018F6DC 0018C63C C0 5F 00 04 */ lfs f2, 4(r31) /* 8018F6E0 0018C640 C0 0D 8F 04 */ lfs f0, lbl_805A7AC4@sda21(r13) /* 8018F6E4 0018C644 EC 23 10 7C */ fnmsubs f1, f3, f1, f2 /* 8018F6E8 0018C648 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8018F6EC 0018C64C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8018F6F0 0018C650 40 80 00 0C */ bge lbl_8018F6FC /* 8018F6F4 0018C654 38 61 00 1C */ addi r3, r1, 0x1c /* 8018F6F8 0018C658 48 00 00 08 */ b lbl_8018F700 lbl_8018F6FC: /* 8018F6FC 0018C65C 38 6D 8F 04 */ addi r3, r13, lbl_805A7AC4@sda21 lbl_8018F700: /* 8018F700 0018C660 C0 03 00 00 */ lfs f0, 0(r3) /* 8018F704 0018C664 D0 1F 00 04 */ stfs f0, 4(r31) /* 8018F708 0018C668 C0 1F 00 04 */ lfs f0, 4(r31) /* 8018F70C 0018C66C EF C0 07 F2 */ fmuls f30, f0, f31 /* 8018F710 0018C670 48 1B A8 9D */ bl White__6CColorFv /* 8018F714 0018C674 C0 02 A4 9C */ lfs f0, lbl_805AC1BC@sda21(r2) /* 8018F718 0018C678 EF A0 07 B2 */ fmuls f29, f0, f30 /* 8018F71C 0018C67C F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 /* 8018F720 0018C680 38 81 00 18 */ addi r4, r1, 0x18 /* 8018F724 0018C684 80 63 00 00 */ lwz r3, 0(r3) /* 8018F728 0018C688 88 01 00 08 */ lbz r0, 8(r1) /* 8018F72C 0018C68C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 8018F730 0018C690 90 01 00 18 */ stw r0, 0x18(r1) /* 8018F734 0018C694 80 7F 00 28 */ lwz r3, 0x28(r31) /* 8018F738 0018C698 48 13 B1 35 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_8018F73C: /* 8018F73C 0018C69C 80 7F 00 28 */ lwz r3, 0x28(r31) /* 8018F740 0018C6A0 88 03 00 AB */ lbz r0, 0xab(r3) /* 8018F744 0018C6A4 28 00 00 00 */ cmplwi r0, 0 /* 8018F748 0018C6A8 41 82 00 10 */ beq lbl_8018F758 /* 8018F74C 0018C6AC 38 80 00 01 */ li r4, 1 /* 8018F750 0018C6B0 48 13 AE DD */ bl SetIsVisible__10CGuiWidgetFb /* 8018F754 0018C6B4 48 00 00 0C */ b lbl_8018F760 lbl_8018F758: /* 8018F758 0018C6B8 38 80 00 00 */ li r4, 0 /* 8018F75C 0018C6BC 48 13 AE D1 */ bl SetIsVisible__10CGuiWidgetFb lbl_8018F760: /* 8018F760 0018C6C0 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8018F764 0018C6C4 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8018F768 0018C6C8 C3 A3 00 F8 */ lfs f29, 0xf8(r3) /* 8018F76C 0018C6CC FC 1D 00 00 */ fcmpu cr0, f29, f0 /* 8018F770 0018C6D0 40 82 00 10 */ bne lbl_8018F780 /* 8018F774 0018C6D4 88 1F 00 1C */ lbz r0, 0x1c(r31) /* 8018F778 0018C6D8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8018F77C 0018C6DC 41 82 00 80 */ beq lbl_8018F7FC lbl_8018F780: /* 8018F780 0018C6E0 88 1F 00 1C */ lbz r0, 0x1c(r31) /* 8018F784 0018C6E4 38 60 00 00 */ li r3, 0 /* 8018F788 0018C6E8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8018F78C 0018C6EC 98 1F 00 1C */ stb r0, 0x1c(r31) /* 8018F790 0018C6F0 D3 BF 00 18 */ stfs f29, 0x18(r31) /* 8018F794 0018C6F4 4B F0 20 91 */ bl GetEnergyTankCapacity__12CPlayerStateFv /* 8018F798 0018C6F8 FC 40 08 90 */ fmr f2, f1 /* 8018F79C 0018C6FC FC 20 E8 90 */ fmr f1, f29 /* 8018F7A0 0018C700 48 20 55 0D */ bl fmod /* 8018F7A4 0018C704 FC 00 08 18 */ frsp f0, f1 /* 8018F7A8 0018C708 3C 60 80 3D */ lis r3, lbl_803D0A30@ha /* 8018F7AC 0018C70C 38 83 0A 30 */ addi r4, r3, lbl_803D0A30@l /* 8018F7B0 0018C710 38 61 00 4C */ addi r3, r1, 0x4c /* 8018F7B4 0018C714 38 84 00 0E */ addi r4, r4, 0xe /* 8018F7B8 0018C718 FC 00 00 1E */ fctiwz f0, f0 /* 8018F7BC 0018C71C D8 01 00 60 */ stfd f0, 0x60(r1) /* 8018F7C0 0018C720 80 A1 00 64 */ lwz r5, 0x64(r1) /* 8018F7C4 0018C724 4C C6 31 82 */ crclr 6 /* 8018F7C8 0018C728 48 1F E5 15 */ bl sprintf /* 8018F7CC 0018C72C 38 61 00 50 */ addi r3, r1, 0x50 /* 8018F7D0 0018C730 38 81 00 4C */ addi r4, r1, 0x4c /* 8018F7D4 0018C734 38 C1 00 0C */ addi r6, r1, 0xc /* 8018F7D8 0018C738 38 A0 FF FF */ li r5, -1 /* 8018F7DC 0018C73C 48 1A E9 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8018F7E0 0018C740 80 7F 00 20 */ lwz r3, 0x20(r31) /* 8018F7E4 0018C744 38 81 00 50 */ addi r4, r1, 0x50 /* 8018F7E8 0018C748 38 A0 00 00 */ li r5, 0 /* 8018F7EC 0018C74C 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018F7F0 0018C750 48 13 A3 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018F7F4 0018C754 38 61 00 50 */ addi r3, r1, 0x50 /* 8018F7F8 0018C758 48 1A E2 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018F7FC: /* 8018F7FC 0018C75C 80 1F 00 00 */ lwz r0, 0(r31) /* 8018F800 0018C760 38 61 00 48 */ addi r3, r1, 0x48 /* 8018F804 0018C764 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 8018F808 0018C768 1C 00 00 1C */ mulli r0, r0, 0x1c /* 8018F80C 0018C76C 7C 85 02 14 */ add r4, r5, r0 /* 8018F810 0018C770 80 04 01 CC */ lwz r0, 0x1cc(r4) /* 8018F814 0018C774 90 01 00 48 */ stw r0, 0x48(r1) /* 8018F818 0018C778 80 04 01 C8 */ lwz r0, 0x1c8(r4) /* 8018F81C 0018C77C 90 01 00 44 */ stw r0, 0x44(r1) /* 8018F820 0018C780 80 04 01 D0 */ lwz r0, 0x1d0(r4) /* 8018F824 0018C784 90 01 00 40 */ stw r0, 0x40(r1) /* 8018F828 0018C788 80 05 00 3C */ lwz r0, 0x3c(r5) /* 8018F82C 0018C78C 90 01 00 3C */ stw r0, 0x3c(r1) /* 8018F830 0018C790 80 05 00 34 */ lwz r0, 0x34(r5) /* 8018F834 0018C794 90 01 00 38 */ stw r0, 0x38(r1) /* 8018F838 0018C798 80 05 00 38 */ lwz r0, 0x38(r5) /* 8018F83C 0018C79C 90 01 00 34 */ stw r0, 0x34(r1) /* 8018F840 0018C7A0 88 1F 00 1C */ lbz r0, 0x1c(r31) /* 8018F844 0018C7A4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8018F848 0018C7A8 41 82 00 08 */ beq lbl_8018F850 /* 8018F84C 0018C7AC 38 61 00 3C */ addi r3, r1, 0x3c lbl_8018F850: /* 8018F850 0018C7B0 28 00 00 00 */ cmplwi r0, 0 /* 8018F854 0018C7B4 83 C3 00 00 */ lwz r30, 0(r3) /* 8018F858 0018C7B8 38 61 00 44 */ addi r3, r1, 0x44 /* 8018F85C 0018C7BC 41 82 00 08 */ beq lbl_8018F864 /* 8018F860 0018C7C0 38 61 00 38 */ addi r3, r1, 0x38 lbl_8018F864: /* 8018F864 0018C7C4 80 03 00 00 */ lwz r0, 0(r3) /* 8018F868 0018C7C8 38 61 00 40 */ addi r3, r1, 0x40 /* 8018F86C 0018C7CC 90 01 00 30 */ stw r0, 0x30(r1) /* 8018F870 0018C7D0 88 1F 00 1C */ lbz r0, 0x1c(r31) /* 8018F874 0018C7D4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8018F878 0018C7D8 41 82 00 08 */ beq lbl_8018F880 /* 8018F87C 0018C7DC 38 61 00 34 */ addi r3, r1, 0x34 lbl_8018F880: /* 8018F880 0018C7E0 83 A3 00 00 */ lwz r29, 0(r3) /* 8018F884 0018C7E4 38 61 00 14 */ addi r3, r1, 0x14 /* 8018F888 0018C7E8 C0 3F 00 08 */ lfs f1, 8(r31) /* 8018F88C 0018C7EC 38 81 00 30 */ addi r4, r1, 0x30 /* 8018F890 0018C7F0 38 A5 00 E8 */ addi r5, r5, 0xe8 /* 8018F894 0018C7F4 48 1D 3A 19 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8018F898 0018C7F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8018F89C 0018C7FC 90 01 00 2C */ stw r0, 0x2c(r1) /* 8018F8A0 0018C800 88 1F 00 1C */ lbz r0, 0x1c(r31) /* 8018F8A4 0018C804 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8018F8A8 0018C808 41 82 00 38 */ beq lbl_8018F8E0 /* 8018F8AC 0018C80C C0 22 A4 A8 */ lfs f1, lbl_805AC1C8@sda21(r2) /* 8018F8B0 0018C810 38 61 00 28 */ addi r3, r1, 0x28 /* 8018F8B4 0018C814 C0 42 A4 B4 */ lfs f2, lbl_805AC1D4@sda21(r2) /* 8018F8B8 0018C818 FC 80 08 90 */ fmr f4, f1 /* 8018F8BC 0018C81C C0 62 A4 B8 */ lfs f3, lbl_805AC1D8@sda21(r2) /* 8018F8C0 0018C820 48 1D 3B 2D */ bl __ct__6CColorFffff /* 8018F8C4 0018C824 FC 20 F8 90 */ fmr f1, f31 /* 8018F8C8 0018C828 38 61 00 10 */ addi r3, r1, 0x10 /* 8018F8CC 0018C82C 38 81 00 2C */ addi r4, r1, 0x2c /* 8018F8D0 0018C830 38 A1 00 28 */ addi r5, r1, 0x28 /* 8018F8D4 0018C834 48 1D 39 D9 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8018F8D8 0018C838 80 01 00 10 */ lwz r0, 0x10(r1) /* 8018F8DC 0018C83C 90 01 00 2C */ stw r0, 0x2c(r1) lbl_8018F8E0: /* 8018F8E0 0018C840 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8018F8E4 0018C844 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8018F8E8 0018C848 90 03 00 D0 */ stw r0, 0xd0(r3) /* 8018F8EC 0018C84C 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8018F8F0 0018C850 93 A3 00 D4 */ stw r29, 0xd4(r3) /* 8018F8F4 0018C854 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8018F8F8 0018C858 93 C3 00 CC */ stw r30, 0xcc(r3) /* 8018F8FC 0018C85C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 8018F900 0018C860 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 8018F904 0018C864 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 8018F908 0018C868 CB C1 00 90 */ lfd f30, 0x90(r1) /* 8018F90C 0018C86C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 8018F910 0018C870 CB A1 00 80 */ lfd f29, 0x80(r1) /* 8018F914 0018C874 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 8018F918 0018C878 83 C1 00 78 */ lwz r30, 0x78(r1) /* 8018F91C 0018C87C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8018F920 0018C880 83 A1 00 74 */ lwz r29, 0x74(r1) /* 8018F924 0018C884 7C 08 03 A6 */ mtlr r0 /* 8018F928 0018C888 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8018F92C 0018C88C 4E 80 00 20 */ blr .global SetEnergyLow__19CHudEnergyInterfaceFb SetEnergyLow__19CHudEnergyInterfaceFb: /* 8018F930 0018C890 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8018F934 0018C894 7C 08 02 A6 */ mflr r0 /* 8018F938 0018C898 90 01 00 54 */ stw r0, 0x54(r1) /* 8018F93C 0018C89C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8018F940 0018C8A0 7C 9F 23 78 */ mr r31, r4 /* 8018F944 0018C8A4 93 C1 00 48 */ stw r30, 0x48(r1) /* 8018F948 0018C8A8 7C 7E 1B 78 */ mr r30, r3 /* 8018F94C 0018C8AC 93 A1 00 44 */ stw r29, 0x44(r1) /* 8018F950 0018C8B0 93 81 00 40 */ stw r28, 0x40(r1) /* 8018F954 0018C8B4 88 03 00 1C */ lbz r0, 0x1c(r3) /* 8018F958 0018C8B8 54 83 06 3E */ clrlwi r3, r4, 0x18 /* 8018F95C 0018C8BC 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f /* 8018F960 0018C8C0 7C 03 00 40 */ cmplw r3, r0 /* 8018F964 0018C8C4 41 82 00 D0 */ beq lbl_8018FA34 /* 8018F968 0018C8C8 28 03 00 00 */ cmplwi r3, 0 /* 8018F96C 0018C8CC 3B A0 00 00 */ li r29, 0 /* 8018F970 0018C8D0 3B 80 00 00 */ li r28, 0 /* 8018F974 0018C8D4 41 82 00 28 */ beq lbl_8018F99C /* 8018F978 0018C8D8 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 8018F97C 0018C8DC 38 80 00 09 */ li r4, 9 /* 8018F980 0018C8E0 48 1C 6D 7D */ bl GetString__12CStringTableCFi /* 8018F984 0018C8E4 7C 64 1B 78 */ mr r4, r3 /* 8018F988 0018C8E8 38 61 00 1C */ addi r3, r1, 0x1c /* 8018F98C 0018C8EC 4B E8 60 65 */ bl wstring_l__4rstlFPCw /* 8018F990 0018C8F0 38 81 00 1C */ addi r4, r1, 0x1c /* 8018F994 0018C8F4 3B A0 00 01 */ li r29, 1 /* 8018F998 0018C8F8 48 00 00 18 */ b lbl_8018F9B0 lbl_8018F99C: /* 8018F99C 0018C8FC 38 61 00 0C */ addi r3, r1, 0xc /* 8018F9A0 0018C900 38 8D 8F 10 */ addi r4, r13, lbl_805A7AD0@sda21 /* 8018F9A4 0018C904 4B E8 60 4D */ bl wstring_l__4rstlFPCw /* 8018F9A8 0018C908 3B 80 00 01 */ li r28, 1 /* 8018F9AC 0018C90C 38 81 00 0C */ addi r4, r1, 0xc lbl_8018F9B0: /* 8018F9B0 0018C910 38 61 00 2C */ addi r3, r1, 0x2c /* 8018F9B4 0018C914 48 1A DD D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018F9B8 0018C918 7F 80 07 75 */ extsb. r0, r28 /* 8018F9BC 0018C91C 41 82 00 0C */ beq lbl_8018F9C8 /* 8018F9C0 0018C920 38 61 00 0C */ addi r3, r1, 0xc /* 8018F9C4 0018C924 48 1A D7 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018F9C8: /* 8018F9C8 0018C928 7F A0 07 75 */ extsb. r0, r29 /* 8018F9CC 0018C92C 41 82 00 0C */ beq lbl_8018F9D8 /* 8018F9D0 0018C930 38 61 00 1C */ addi r3, r1, 0x1c /* 8018F9D4 0018C934 48 1A D7 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018F9D8: /* 8018F9D8 0018C938 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8018F9DC 0018C93C 28 03 00 00 */ cmplwi r3, 0 /* 8018F9E0 0018C940 41 82 00 14 */ beq lbl_8018F9F4 /* 8018F9E4 0018C944 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018F9E8 0018C948 38 81 00 2C */ addi r4, r1, 0x2c /* 8018F9EC 0018C94C 38 A0 00 00 */ li r5, 0 /* 8018F9F0 0018C950 48 13 9E 95 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" lbl_8018F9F4: /* 8018F9F4 0018C954 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8018F9F8 0018C958 41 82 00 28 */ beq lbl_8018FA20 /* 8018F9FC 0018C95C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8018FA00 0018C960 38 61 00 08 */ addi r3, r1, 8 /* 8018FA04 0018C964 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8018FA08 0018C968 38 80 05 7D */ li r4, 0x57d /* 8018FA0C 0018C96C 38 A0 00 7F */ li r5, 0x7f /* 8018FA10 0018C970 38 C0 00 40 */ li r6, 0x40 /* 8018FA14 0018C974 38 E0 00 00 */ li r7, 0 /* 8018FA18 0018C978 39 20 00 00 */ li r9, 0 /* 8018FA1C 0018C97C 48 15 A3 59 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8018FA20: /* 8018FA20 0018C980 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8018FA24 0018C984 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b /* 8018FA28 0018C988 38 61 00 2C */ addi r3, r1, 0x2c /* 8018FA2C 0018C98C 98 1E 00 1C */ stb r0, 0x1c(r30) /* 8018FA30 0018C990 48 1A D7 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018FA34: /* 8018FA34 0018C994 80 01 00 54 */ lwz r0, 0x54(r1) /* 8018FA38 0018C998 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8018FA3C 0018C99C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8018FA40 0018C9A0 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8018FA44 0018C9A4 83 81 00 40 */ lwz r28, 0x40(r1) /* 8018FA48 0018C9A8 7C 08 03 A6 */ mtlr r0 /* 8018FA4C 0018C9AC 38 21 00 50 */ addi r1, r1, 0x50 /* 8018FA50 0018C9B0 4E 80 00 20 */ blr .global SetFlashMagnitude__19CHudEnergyInterfaceFf SetFlashMagnitude__19CHudEnergyInterfaceFf: /* 8018FA54 0018C9B4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8018FA58 0018C9B8 7C 08 02 A6 */ mflr r0 /* 8018FA5C 0018C9BC 38 AD 8E FC */ addi r5, r13, lbl_805A7ABC@sda21 /* 8018FA60 0018C9C0 90 01 00 24 */ stw r0, 0x24(r1) /* 8018FA64 0018C9C4 38 81 00 08 */ addi r4, r1, 8 /* 8018FA68 0018C9C8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8018FA6C 0018C9CC 7C 7F 1B 78 */ mr r31, r3 /* 8018FA70 0018C9D0 38 6D 8E F8 */ addi r3, r13, lbl_805A7AB8@sda21 /* 8018FA74 0018C9D4 D0 21 00 08 */ stfs f1, 8(r1) /* 8018FA78 0018C9D8 4B E7 C8 3D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8018FA7C 0018C9DC C0 03 00 00 */ lfs f0, 0(r3) /* 8018FA80 0018C9E0 D0 1F 00 08 */ stfs f0, 8(r31) /* 8018FA84 0018C9E4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8018FA88 0018C9E8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8018FA8C 0018C9EC 7C 08 03 A6 */ mtlr r0 /* 8018FA90 0018C9F0 38 21 00 20 */ addi r1, r1, 0x20 /* 8018FA94 0018C9F4 4E 80 00 20 */ blr .global SetNumFilledEnergyTanks__19CHudEnergyInterfaceFi SetNumFilledEnergyTanks__19CHudEnergyInterfaceFi: /* 8018FA98 0018C9F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8018FA9C 0018C9FC 7C 08 02 A6 */ mflr r0 /* 8018FAA0 0018CA00 90 01 00 14 */ stw r0, 0x14(r1) /* 8018FAA4 0018CA04 90 83 00 14 */ stw r4, 0x14(r3) /* 8018FAA8 0018CA08 80 63 00 24 */ lwz r3, 0x24(r3) /* 8018FAAC 0018CA0C 48 13 14 9D */ bl SetRemainder__9CAuiMeteri /* 8018FAB0 0018CA10 80 01 00 14 */ lwz r0, 0x14(r1) /* 8018FAB4 0018CA14 7C 08 03 A6 */ mtlr r0 /* 8018FAB8 0018CA18 38 21 00 10 */ addi r1, r1, 0x10 /* 8018FABC 0018CA1C 4E 80 00 20 */ blr .global SetNumTotalEnergyTanks__19CHudEnergyInterfaceFi SetNumTotalEnergyTanks__19CHudEnergyInterfaceFi: /* 8018FAC0 0018CA20 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8018FAC4 0018CA24 7C 08 02 A6 */ mflr r0 /* 8018FAC8 0018CA28 90 01 00 14 */ stw r0, 0x14(r1) /* 8018FACC 0018CA2C 90 83 00 10 */ stw r4, 0x10(r3) /* 8018FAD0 0018CA30 80 63 00 24 */ lwz r3, 0x24(r3) /* 8018FAD4 0018CA34 48 13 14 C1 */ bl SetCapacity__9CAuiMeterFi /* 8018FAD8 0018CA38 80 01 00 14 */ lwz r0, 0x14(r1) /* 8018FADC 0018CA3C 7C 08 03 A6 */ mtlr r0 /* 8018FAE0 0018CA40 38 21 00 10 */ addi r1, r1, 0x10 /* 8018FAE4 0018CA44 4E 80 00 20 */ blr .global SetCurrEnergy__19CHudEnergyInterfaceFf SetCurrEnergy__19CHudEnergyInterfaceFf: /* 8018FAE8 0018CA48 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8018FAEC 0018CA4C 7C 08 02 A6 */ mflr r0 /* 8018FAF0 0018CA50 C0 02 A4 98 */ lfs f0, lbl_805AC1B8@sda21(r2) /* 8018FAF4 0018CA54 90 01 00 14 */ stw r0, 0x14(r1) /* 8018FAF8 0018CA58 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 8018FAFC 0018CA5C D0 23 00 0C */ stfs f1, 0xc(r3) /* 8018FB00 0018CA60 80 63 00 2C */ lwz r3, 0x2c(r3) /* 8018FB04 0018CA64 40 82 00 0C */ bne lbl_8018FB10 /* 8018FB08 0018CA68 38 80 00 02 */ li r4, 2 /* 8018FB0C 0018CA6C 48 00 00 14 */ b lbl_8018FB20 lbl_8018FB10: /* 8018FB10 0018CA70 54 84 06 3E */ clrlwi r4, r4, 0x18 /* 8018FB14 0018CA74 7C 04 00 D0 */ neg r0, r4 /* 8018FB18 0018CA78 7C 00 23 78 */ or r0, r0, r4 /* 8018FB1C 0018CA7C 54 04 0F FE */ srwi r4, r0, 0x1f lbl_8018FB20: /* 8018FB20 0018CA80 48 13 BD A9 */ bl SetCurrEnergy__16CAuiEnergyBarT01Ffb /* 8018FB24 0018CA84 80 01 00 14 */ lwz r0, 0x14(r1) /* 8018FB28 0018CA88 7C 08 03 A6 */ mtlr r0 /* 8018FB2C 0018CA8C 38 21 00 10 */ addi r1, r1, 0x10 /* 8018FB30 0018CA90 4E 80 00 20 */ blr .global __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi __ct__19CHudEnergyInterfaceFR9CGuiFramefiibi: /* 8018FB34 0018CA94 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8018FB38 0018CA98 7C 08 02 A6 */ mflr r0 /* 8018FB3C 0018CA9C C0 02 A4 98 */ lfs f0, lbl_805AC1B8@sda21(r2) /* 8018FB40 0018CAA0 90 01 00 94 */ stw r0, 0x94(r1) /* 8018FB44 0018CAA4 BF 41 00 78 */ stmw r26, 0x78(r1) /* 8018FB48 0018CAA8 7C 7E 1B 78 */ mr r30, r3 /* 8018FB4C 0018CAAC 3C 60 80 3D */ lis r3, lbl_803D0948@ha /* 8018FB50 0018CAB0 7C 9A 23 78 */ mr r26, r4 /* 8018FB54 0018CAB4 3B E3 09 48 */ addi r31, r3, lbl_803D0948@l /* 8018FB58 0018CAB8 38 61 00 58 */ addi r3, r1, 0x58 /* 8018FB5C 0018CABC 38 9F 00 18 */ addi r4, r31, 0x18 /* 8018FB60 0018CAC0 91 1E 00 00 */ stw r8, 0(r30) /* 8018FB64 0018CAC4 39 00 00 01 */ li r8, 1 /* 8018FB68 0018CAC8 D0 1E 00 04 */ stfs f0, 4(r30) /* 8018FB6C 0018CACC D0 1E 00 08 */ stfs f0, 8(r30) /* 8018FB70 0018CAD0 D0 3E 00 0C */ stfs f1, 0xc(r30) /* 8018FB74 0018CAD4 90 BE 00 10 */ stw r5, 0x10(r30) /* 8018FB78 0018CAD8 90 DE 00 14 */ stw r6, 0x14(r30) /* 8018FB7C 0018CADC D0 1E 00 18 */ stfs f0, 0x18(r30) /* 8018FB80 0018CAE0 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8018FB84 0018CAE4 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 /* 8018FB88 0018CAE8 98 1E 00 1C */ stb r0, 0x1c(r30) /* 8018FB8C 0018CAEC 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8018FB90 0018CAF0 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 /* 8018FB94 0018CAF4 98 1E 00 1C */ stb r0, 0x1c(r30) /* 8018FB98 0018CAF8 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8018FB9C 0018CAFC 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a /* 8018FBA0 0018CB00 98 1E 00 1C */ stb r0, 0x1c(r30) /* 8018FBA4 0018CB04 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8018FBA8 0018CB08 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b /* 8018FBAC 0018CB0C 98 1E 00 1C */ stb r0, 0x1c(r30) /* 8018FBB0 0018CB10 4B E7 51 09 */ bl string_l__4rstlFPCc /* 8018FBB4 0018CB14 7F 43 D3 78 */ mr r3, r26 /* 8018FBB8 0018CB18 38 81 00 58 */ addi r4, r1, 0x58 /* 8018FBBC 0018CB1C 48 13 26 19 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018FBC0 0018CB20 90 7E 00 20 */ stw r3, 0x20(r30) /* 8018FBC4 0018CB24 38 61 00 58 */ addi r3, r1, 0x58 /* 8018FBC8 0018CB28 48 1A DF 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8018FBCC 0018CB2C 38 61 00 48 */ addi r3, r1, 0x48 /* 8018FBD0 0018CB30 38 9F 00 30 */ addi r4, r31, 0x30 /* 8018FBD4 0018CB34 4B E7 50 E5 */ bl string_l__4rstlFPCc /* 8018FBD8 0018CB38 7F 43 D3 78 */ mr r3, r26 /* 8018FBDC 0018CB3C 38 81 00 48 */ addi r4, r1, 0x48 /* 8018FBE0 0018CB40 48 13 25 F5 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018FBE4 0018CB44 90 7E 00 24 */ stw r3, 0x24(r30) /* 8018FBE8 0018CB48 38 61 00 48 */ addi r3, r1, 0x48 /* 8018FBEC 0018CB4C 48 1A DE F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8018FBF0 0018CB50 38 61 00 38 */ addi r3, r1, 0x38 /* 8018FBF4 0018CB54 38 9F 00 44 */ addi r4, r31, 0x44 /* 8018FBF8 0018CB58 4B E7 50 C1 */ bl string_l__4rstlFPCc /* 8018FBFC 0018CB5C 7F 43 D3 78 */ mr r3, r26 /* 8018FC00 0018CB60 38 81 00 38 */ addi r4, r1, 0x38 /* 8018FC04 0018CB64 48 13 25 D1 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018FC08 0018CB68 90 7E 00 28 */ stw r3, 0x28(r30) /* 8018FC0C 0018CB6C 38 61 00 38 */ addi r3, r1, 0x38 /* 8018FC10 0018CB70 48 1A DE D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8018FC14 0018CB74 38 61 00 28 */ addi r3, r1, 0x28 /* 8018FC18 0018CB78 38 9F 00 5C */ addi r4, r31, 0x5c /* 8018FC1C 0018CB7C 4B E7 50 9D */ bl string_l__4rstlFPCc /* 8018FC20 0018CB80 7F 43 D3 78 */ mr r3, r26 /* 8018FC24 0018CB84 38 81 00 28 */ addi r4, r1, 0x28 /* 8018FC28 0018CB88 48 13 25 AD */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018FC2C 0018CB8C 90 7E 00 2C */ stw r3, 0x2c(r30) /* 8018FC30 0018CB90 38 61 00 28 */ addi r3, r1, 0x28 /* 8018FC34 0018CB94 48 1A DE AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8018FC38 0018CB98 80 FE 00 00 */ lwz r7, 0(r30) /* 8018FC3C 0018CB9C 38 9F 00 C0 */ addi r4, r31, 0xc0 /* 8018FC40 0018CBA0 80 CD A1 3C */ lwz r6, gpTweakGuiColors@sda21(r13) /* 8018FC44 0018CBA4 38 BF 00 D4 */ addi r5, r31, 0xd4 /* 8018FC48 0018CBA8 54 E0 10 3A */ slwi r0, r7, 2 /* 8018FC4C 0018CBAC 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FC50 0018CBB0 7C 04 00 2E */ lwzx r0, r4, r0 /* 8018FC54 0018CBB4 1C 87 00 1C */ mulli r4, r7, 0x1c /* 8018FC58 0018CBB8 90 03 00 D8 */ stw r0, 0xd8(r3) /* 8018FC5C 0018CBBC 7F E6 22 14 */ add r31, r6, r4 /* 8018FC60 0018CBC0 80 1E 00 00 */ lwz r0, 0(r30) /* 8018FC64 0018CBC4 38 9F 01 DC */ addi r4, r31, 0x1dc /* 8018FC68 0018CBC8 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FC6C 0018CBCC 54 00 10 3A */ slwi r0, r0, 2 /* 8018FC70 0018CBD0 7C 05 04 2E */ lfsx f0, r5, r0 /* 8018FC74 0018CBD4 D0 03 00 DC */ stfs f0, 0xdc(r3) /* 8018FC78 0018CBD8 80 7E 00 20 */ lwz r3, 0x20(r30) /* 8018FC7C 0018CBDC 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018FC80 0018CBE0 48 13 99 E9 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 8018FC84 0018CBE4 80 7E 00 20 */ lwz r3, 0x20(r30) /* 8018FC88 0018CBE8 38 9F 01 E0 */ addi r4, r31, 0x1e0 /* 8018FC8C 0018CBEC 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018FC90 0018CBF0 48 13 99 89 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor /* 8018FC94 0018CBF4 4B F0 1B 99 */ bl GetBaseHealthCapacity__12CPlayerStateFv /* 8018FC98 0018CBF8 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FC9C 0018CBFC 48 13 BC CD */ bl SetMaxEnergy__16CAuiEnergyBarT01Ff /* 8018FCA0 0018CC00 80 1F 01 C8 */ lwz r0, 0x1c8(r31) /* 8018FCA4 0018CC04 38 80 00 0E */ li r4, 0xe /* 8018FCA8 0018CC08 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FCAC 0018CC0C 90 03 00 D0 */ stw r0, 0xd0(r3) /* 8018FCB0 0018CC10 80 1F 01 D0 */ lwz r0, 0x1d0(r31) /* 8018FCB4 0018CC14 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FCB8 0018CC18 90 03 00 D4 */ stw r0, 0xd4(r3) /* 8018FCBC 0018CC1C 80 1F 01 CC */ lwz r0, 0x1cc(r31) /* 8018FCC0 0018CC20 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FCC4 0018CC24 90 03 00 CC */ stw r0, 0xcc(r3) /* 8018FCC8 0018CC28 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 8018FCCC 0018CC2C 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FCD0 0018CC30 C0 05 00 34 */ lfs f0, 0x34(r5) /* 8018FCD4 0018CC34 D0 03 00 E4 */ stfs f0, 0xe4(r3) /* 8018FCD8 0018CC38 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 8018FCDC 0018CC3C 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FCE0 0018CC40 C0 05 00 38 */ lfs f0, 0x38(r5) /* 8018FCE4 0018CC44 D0 03 00 E8 */ stfs f0, 0xe8(r3) /* 8018FCE8 0018CC48 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 8018FCEC 0018CC4C 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FCF0 0018CC50 C0 05 00 3C */ lfs f0, 0x3c(r5) /* 8018FCF4 0018CC54 D0 03 00 EC */ stfs f0, 0xec(r3) /* 8018FCF8 0018CC58 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 8018FCFC 0018CC5C 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8018FD00 0018CC60 88 05 00 40 */ lbz r0, 0x40(r5) /* 8018FD04 0018CC64 98 03 00 F0 */ stb r0, 0xf0(r3) /* 8018FD08 0018CC68 80 7E 00 24 */ lwz r3, 0x24(r30) /* 8018FD0C 0018CC6C 48 13 12 F9 */ bl SetMaxCapacity__9CAuiMeterFi /* 8018FD10 0018CC70 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8018FD14 0018CC74 28 03 00 00 */ cmplwi r3, 0 /* 8018FD18 0018CC78 41 82 00 B8 */ beq lbl_8018FDD0 /* 8018FD1C 0018CC7C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8018FD20 0018CC80 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018FD24 0018CC84 38 84 00 5C */ addi r4, r4, 0x5c /* 8018FD28 0018CC88 48 13 99 41 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 8018FD2C 0018CC8C 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8018FD30 0018CC90 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8018FD34 0018CC94 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018FD38 0018CC98 38 84 00 B4 */ addi r4, r4, 0xb4 /* 8018FD3C 0018CC9C 48 13 98 DD */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor /* 8018FD40 0018CCA0 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8018FD44 0018CCA4 3B 40 00 00 */ li r26, 0 /* 8018FD48 0018CCA8 3B 60 00 00 */ li r27, 0 /* 8018FD4C 0018CCAC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8018FD50 0018CCB0 41 82 00 28 */ beq lbl_8018FD78 /* 8018FD54 0018CCB4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 8018FD58 0018CCB8 38 80 00 09 */ li r4, 9 /* 8018FD5C 0018CCBC 48 1C 69 A1 */ bl GetString__12CStringTableCFi /* 8018FD60 0018CCC0 7C 64 1B 78 */ mr r4, r3 /* 8018FD64 0018CCC4 38 61 00 18 */ addi r3, r1, 0x18 /* 8018FD68 0018CCC8 4B E8 5C 89 */ bl wstring_l__4rstlFPCw /* 8018FD6C 0018CCCC 38 81 00 18 */ addi r4, r1, 0x18 /* 8018FD70 0018CCD0 3B 40 00 01 */ li r26, 1 /* 8018FD74 0018CCD4 48 00 00 18 */ b lbl_8018FD8C lbl_8018FD78: /* 8018FD78 0018CCD8 38 61 00 08 */ addi r3, r1, 8 /* 8018FD7C 0018CCDC 38 8D 8F 10 */ addi r4, r13, lbl_805A7AD0@sda21 /* 8018FD80 0018CCE0 4B E8 5C 71 */ bl wstring_l__4rstlFPCw /* 8018FD84 0018CCE4 3B 60 00 01 */ li r27, 1 /* 8018FD88 0018CCE8 38 81 00 08 */ addi r4, r1, 8 lbl_8018FD8C: /* 8018FD8C 0018CCEC 38 61 00 68 */ addi r3, r1, 0x68 /* 8018FD90 0018CCF0 48 1A D9 F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018FD94 0018CCF4 7F 60 07 75 */ extsb. r0, r27 /* 8018FD98 0018CCF8 41 82 00 0C */ beq lbl_8018FDA4 /* 8018FD9C 0018CCFC 38 61 00 08 */ addi r3, r1, 8 /* 8018FDA0 0018CD00 48 1A D3 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018FDA4: /* 8018FDA4 0018CD04 7F 40 07 75 */ extsb. r0, r26 /* 8018FDA8 0018CD08 41 82 00 0C */ beq lbl_8018FDB4 /* 8018FDAC 0018CD0C 38 61 00 18 */ addi r3, r1, 0x18 /* 8018FDB0 0018CD10 48 1A D3 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018FDB4: /* 8018FDB4 0018CD14 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8018FDB8 0018CD18 38 81 00 68 */ addi r4, r1, 0x68 /* 8018FDBC 0018CD1C 38 A0 00 00 */ li r5, 0 /* 8018FDC0 0018CD20 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8018FDC4 0018CD24 48 13 9A C1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8018FDC8 0018CD28 38 61 00 68 */ addi r3, r1, 0x68 /* 8018FDCC 0018CD2C 48 1A D3 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8018FDD0: /* 8018FDD0 0018CD30 3B 9F 01 D4 */ addi r28, r31, 0x1d4 /* 8018FDD4 0018CD34 3B 7F 01 D8 */ addi r27, r31, 0x1d8 /* 8018FDD8 0018CD38 3B 40 00 00 */ li r26, 0 lbl_8018FDDC: /* 8018FDDC 0018CD3C 80 7E 00 24 */ lwz r3, 0x24(r30) /* 8018FDE0 0018CD40 7F 44 D3 78 */ mr r4, r26 /* 8018FDE4 0018CD44 81 83 00 00 */ lwz r12, 0(r3) /* 8018FDE8 0018CD48 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 8018FDEC 0018CD4C 7D 89 03 A6 */ mtctr r12 /* 8018FDF0 0018CD50 4E 80 04 21 */ bctrl /* 8018FDF4 0018CD54 81 83 00 00 */ lwz r12, 0(r3) /* 8018FDF8 0018CD58 7C 60 1B 78 */ mr r0, r3 /* 8018FDFC 0018CD5C 38 80 00 00 */ li r4, 0 /* 8018FE00 0018CD60 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 8018FE04 0018CD64 7C 1D 03 78 */ mr r29, r0 /* 8018FE08 0018CD68 7D 89 03 A6 */ mtctr r12 /* 8018FE0C 0018CD6C 4E 80 04 21 */ bctrl /* 8018FE10 0018CD70 81 9D 00 00 */ lwz r12, 0(r29) /* 8018FE14 0018CD74 7C 7F 1B 78 */ mr r31, r3 /* 8018FE18 0018CD78 7F A3 EB 78 */ mr r3, r29 /* 8018FE1C 0018CD7C 38 80 00 01 */ li r4, 1 /* 8018FE20 0018CD80 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 8018FE24 0018CD84 7D 89 03 A6 */ mtctr r12 /* 8018FE28 0018CD88 4E 80 04 21 */ bctrl /* 8018FE2C 0018CD8C 28 1F 00 00 */ cmplwi r31, 0 /* 8018FE30 0018CD90 7C 7D 1B 78 */ mr r29, r3 /* 8018FE34 0018CD94 41 82 00 10 */ beq lbl_8018FE44 /* 8018FE38 0018CD98 7F E3 FB 78 */ mr r3, r31 /* 8018FE3C 0018CD9C 7F 84 E3 78 */ mr r4, r28 /* 8018FE40 0018CDA0 48 13 AA 2D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_8018FE44: /* 8018FE44 0018CDA4 28 1D 00 00 */ cmplwi r29, 0 /* 8018FE48 0018CDA8 41 82 00 10 */ beq lbl_8018FE58 /* 8018FE4C 0018CDAC 7F A3 EB 78 */ mr r3, r29 /* 8018FE50 0018CDB0 7F 64 DB 78 */ mr r4, r27 /* 8018FE54 0018CDB4 48 13 AA 19 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_8018FE58: /* 8018FE58 0018CDB8 3B 5A 00 01 */ addi r26, r26, 1 /* 8018FE5C 0018CDBC 2C 1A 00 0E */ cmpwi r26, 0xe /* 8018FE60 0018CDC0 41 80 FF 7C */ blt lbl_8018FDDC /* 8018FE64 0018CDC4 7F C3 F3 78 */ mr r3, r30 /* 8018FE68 0018CDC8 BB 41 00 78 */ lmw r26, 0x78(r1) /* 8018FE6C 0018CDCC 80 01 00 94 */ lwz r0, 0x94(r1) /* 8018FE70 0018CDD0 7C 08 03 A6 */ mtlr r0 /* 8018FE74 0018CDD4 38 21 00 90 */ addi r1, r1, 0x90 /* 8018FE78 0018CDD8 4E 80 00 20 */ blr .global XRayEnergyCoordFunc__19CHudEnergyInterfaceFf XRayEnergyCoordFunc__19CHudEnergyInterfaceFf: /* 8018FE7C 0018CDDC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8018FE80 0018CDE0 7C 08 02 A6 */ mflr r0 /* 8018FE84 0018CDE4 90 01 00 34 */ stw r0, 0x34(r1) /* 8018FE88 0018CDE8 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8018FE8C 0018CDEC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8018FE90 0018CDF0 DB C1 00 10 */ stfd f30, 0x10(r1) /* 8018FE94 0018CDF4 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 /* 8018FE98 0018CDF8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8018FE9C 0018CDFC C0 42 A4 C0 */ lfs f2, lbl_805AC1E0@sda21(r2) /* 8018FEA0 0018CE00 7C 7F 1B 78 */ mr r31, r3 /* 8018FEA4 0018CE04 C0 02 A4 BC */ lfs f0, lbl_805AC1DC@sda21(r2) /* 8018FEA8 0018CE08 EF C2 00 7C */ fnmsubs f30, f2, f1, f0 /* 8018FEAC 0018CE0C FC 20 F0 90 */ fmr f1, f30 /* 8018FEB0 0018CE10 48 18 4E 95 */ bl FastCosR__5CMathFf /* 8018FEB4 0018CE14 FF E0 08 90 */ fmr f31, f1 /* 8018FEB8 0018CE18 FC 20 F0 90 */ fmr f1, f30 /* 8018FEBC 0018CE1C 48 18 4F 35 */ bl FastSinR__5CMathFf /* 8018FEC0 0018CE20 C0 42 A4 C4 */ lfs f2, lbl_805AC1E4@sda21(r2) /* 8018FEC4 0018CE24 C0 82 A4 98 */ lfs f4, lbl_805AC1B8@sda21(r2) /* 8018FEC8 0018CE28 EC A2 07 F2 */ fmuls f5, f2, f31 /* 8018FECC 0018CE2C C0 02 A4 C8 */ lfs f0, lbl_805AC1E8@sda21(r2) /* 8018FED0 0018CE30 EC 62 00 72 */ fmuls f3, f2, f1 /* 8018FED4 0018CE34 EC 40 07 F2 */ fmuls f2, f0, f31 /* 8018FED8 0018CE38 D0 BF 00 00 */ stfs f5, 0(r31) /* 8018FEDC 0018CE3C EC 00 00 72 */ fmuls f0, f0, f1 /* 8018FEE0 0018CE40 D0 9F 00 04 */ stfs f4, 4(r31) /* 8018FEE4 0018CE44 D0 7F 00 08 */ stfs f3, 8(r31) /* 8018FEE8 0018CE48 D0 5F 00 0C */ stfs f2, 0xc(r31) /* 8018FEEC 0018CE4C D0 9F 00 10 */ stfs f4, 0x10(r31) /* 8018FEF0 0018CE50 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 8018FEF4 0018CE54 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8018FEF8 0018CE58 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8018FEFC 0018CE5C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 /* 8018FF00 0018CE60 CB C1 00 10 */ lfd f30, 0x10(r1) /* 8018FF04 0018CE64 80 01 00 34 */ lwz r0, 0x34(r1) /* 8018FF08 0018CE68 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8018FF0C 0018CE6C 7C 08 03 A6 */ mtlr r0 /* 8018FF10 0018CE70 38 21 00 30 */ addi r1, r1, 0x30 /* 8018FF14 0018CE74 4E 80 00 20 */ blr .global ThermalEnergyCoordFunc__19CHudEnergyInterfaceFf ThermalEnergyCoordFunc__19CHudEnergyInterfaceFf: /* 8018FF18 0018CE78 C0 02 A4 CC */ lfs f0, lbl_805AC1EC@sda21(r2) /* 8018FF1C 0018CE7C C0 42 A4 98 */ lfs f2, lbl_805AC1B8@sda21(r2) /* 8018FF20 0018CE80 EC 20 00 72 */ fmuls f1, f0, f1 /* 8018FF24 0018CE84 C0 02 A4 D0 */ lfs f0, lbl_805AC1F0@sda21(r2) /* 8018FF28 0018CE88 D0 23 00 00 */ stfs f1, 0(r3) /* 8018FF2C 0018CE8C D0 43 00 04 */ stfs f2, 4(r3) /* 8018FF30 0018CE90 D0 43 00 08 */ stfs f2, 8(r3) /* 8018FF34 0018CE94 D0 23 00 0C */ stfs f1, 0xc(r3) /* 8018FF38 0018CE98 D0 43 00 10 */ stfs f2, 0x10(r3) /* 8018FF3C 0018CE9C D0 03 00 14 */ stfs f0, 0x14(r3) /* 8018FF40 0018CEA0 4E 80 00 20 */ blr .global BallEnergyCoordFunc__19CHudEnergyInterfaceFf BallEnergyCoordFunc__19CHudEnergyInterfaceFf: /* 8018FF44 0018CEA4 C0 02 A4 D4 */ lfs f0, lbl_805AC1F4@sda21(r2) /* 8018FF48 0018CEA8 C0 42 A4 98 */ lfs f2, lbl_805AC1B8@sda21(r2) /* 8018FF4C 0018CEAC EC 20 00 72 */ fmuls f1, f0, f1 /* 8018FF50 0018CEB0 C0 02 A4 D8 */ lfs f0, lbl_805AC1F8@sda21(r2) /* 8018FF54 0018CEB4 D0 23 00 00 */ stfs f1, 0(r3) /* 8018FF58 0018CEB8 D0 43 00 04 */ stfs f2, 4(r3) /* 8018FF5C 0018CEBC D0 43 00 08 */ stfs f2, 8(r3) /* 8018FF60 0018CEC0 D0 23 00 0C */ stfs f1, 0xc(r3) /* 8018FF64 0018CEC4 D0 43 00 10 */ stfs f2, 0x10(r3) /* 8018FF68 0018CEC8 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8018FF6C 0018CECC 4E 80 00 20 */ blr .global BossEnergyCoordFunc__23CHudBossEnergyInterfaceFf BossEnergyCoordFunc__23CHudBossEnergyInterfaceFf: /* 8018FF70 0018CED0 C0 62 A4 DC */ lfs f3, lbl_805AC1FC@sda21(r2) /* 8018FF74 0018CED4 C0 02 A4 E0 */ lfs f0, lbl_805AC200@sda21(r2) /* 8018FF78 0018CED8 C0 42 A4 98 */ lfs f2, lbl_805AC1B8@sda21(r2) /* 8018FF7C 0018CEDC EC 23 00 78 */ fmsubs f1, f3, f1, f0 /* 8018FF80 0018CEE0 C0 02 A4 B8 */ lfs f0, lbl_805AC1D8@sda21(r2) /* 8018FF84 0018CEE4 D0 23 00 00 */ stfs f1, 0(r3) /* 8018FF88 0018CEE8 D0 43 00 04 */ stfs f2, 4(r3) /* 8018FF8C 0018CEEC D0 43 00 08 */ stfs f2, 8(r3) /* 8018FF90 0018CEF0 D0 23 00 0C */ stfs f1, 0xc(r3) /* 8018FF94 0018CEF4 D0 43 00 10 */ stfs f2, 0x10(r3) /* 8018FF98 0018CEF8 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8018FF9C 0018CEFC 4E 80 00 20 */ blr .global CombatEnergyCoordFunc__19CHudEnergyInterfaceFf CombatEnergyCoordFunc__19CHudEnergyInterfaceFf: /* 8018FFA0 0018CF00 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8018FFA4 0018CF04 7C 08 02 A6 */ mflr r0 /* 8018FFA8 0018CF08 90 01 00 34 */ stw r0, 0x34(r1) /* 8018FFAC 0018CF0C DB E1 00 20 */ stfd f31, 0x20(r1) /* 8018FFB0 0018CF10 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8018FFB4 0018CF14 DB C1 00 10 */ stfd f30, 0x10(r1) /* 8018FFB8 0018CF18 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 /* 8018FFBC 0018CF1C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8018FFC0 0018CF20 C0 42 A4 E8 */ lfs f2, lbl_805AC208@sda21(r2) /* 8018FFC4 0018CF24 7C 7F 1B 78 */ mr r31, r3 /* 8018FFC8 0018CF28 C0 02 A4 E4 */ lfs f0, lbl_805AC204@sda21(r2) /* 8018FFCC 0018CF2C EF E2 00 7A */ fmadds f31, f2, f1, f0 /* 8018FFD0 0018CF30 FC 20 F8 90 */ fmr f1, f31 /* 8018FFD4 0018CF34 48 18 4E 1D */ bl FastSinR__5CMathFf /* 8018FFD8 0018CF38 C0 02 A4 EC */ lfs f0, lbl_805AC20C@sda21(r2) /* 8018FFDC 0018CF3C EF C0 00 72 */ fmuls f30, f0, f1 /* 8018FFE0 0018CF40 FC 20 F8 90 */ fmr f1, f31 /* 8018FFE4 0018CF44 48 18 4D 61 */ bl FastCosR__5CMathFf /* 8018FFE8 0018CF48 C0 42 A4 EC */ lfs f2, lbl_805AC20C@sda21(r2) /* 8018FFEC 0018CF4C C0 02 A4 F0 */ lfs f0, lbl_805AC210@sda21(r2) /* 8018FFF0 0018CF50 D3 DF 00 00 */ stfs f30, 0(r31) /* 8018FFF4 0018CF54 EC 42 00 7A */ fmadds f2, f2, f1, f0 /* 8018FFF8 0018CF58 C0 22 A4 B8 */ lfs f1, lbl_805AC1D8@sda21(r2) /* 8018FFFC 0018CF5C C0 02 A4 98 */ lfs f0, lbl_805AC1B8@sda21(r2) /* 80190000 0018CF60 D0 5F 00 04 */ stfs f2, 4(r31) /* 80190004 0018CF64 D0 3F 00 08 */ stfs f1, 8(r31) /* 80190008 0018CF68 D3 DF 00 0C */ stfs f30, 0xc(r31) /* 8019000C 0018CF6C D0 5F 00 10 */ stfs f2, 0x10(r31) /* 80190010 0018CF70 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80190014 0018CF74 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80190018 0018CF78 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8019001C 0018CF7C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 /* 80190020 0018CF80 CB C1 00 10 */ lfd f30, 0x10(r1) /* 80190024 0018CF84 80 01 00 34 */ lwz r0, 0x34(r1) /* 80190028 0018CF88 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8019002C 0018CF8C 7C 08 03 A6 */ mtlr r0 /* 80190030 0018CF90 38 21 00 30 */ addi r1, r1, 0x30 .global sub_80190034 sub_80190034: /* 80190034 0018CF94 4E 80 00 20 */ blr .global __dt__21CHudFreeLookInterfaceFv __dt__21CHudFreeLookInterfaceFv: /* 80190038 0018CF98 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019003C 0018CF9C 7C 08 02 A6 */ mflr r0 /* 80190040 0018CFA0 90 01 00 14 */ stw r0, 0x14(r1) /* 80190044 0018CFA4 93 E1 00 0C */ stw r31, 0xc(r1) /* 80190048 0018CFA8 7C 7F 1B 79 */ or. r31, r3, r3 /* 8019004C 0018CFAC 41 82 00 30 */ beq lbl_8019007C /* 80190050 0018CFB0 3C 60 80 3E */ lis r3, lbl_803E4470@ha /* 80190054 0018CFB4 38 03 44 70 */ addi r0, r3, lbl_803E4470@l /* 80190058 0018CFB8 90 1F 00 00 */ stw r0, 0(r31) /* 8019005C 0018CFBC 41 82 00 10 */ beq lbl_8019006C /* 80190060 0018CFC0 3C 60 80 3E */ lis r3, lbl_803DA2E8@ha /* 80190064 0018CFC4 38 03 A2 E8 */ addi r0, r3, lbl_803DA2E8@l /* 80190068 0018CFC8 90 1F 00 00 */ stw r0, 0(r31) lbl_8019006C: /* 8019006C 0018CFCC 7C 80 07 35 */ extsh. r0, r4 /* 80190070 0018CFD0 40 81 00 0C */ ble lbl_8019007C /* 80190074 0018CFD4 7F E3 FB 78 */ mr r3, r31 /* 80190078 0018CFD8 48 18 58 B9 */ bl Free__7CMemoryFPCv lbl_8019007C: /* 8019007C 0018CFDC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190080 0018CFE0 7F E3 FB 78 */ mr r3, r31 /* 80190084 0018CFE4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80190088 0018CFE8 7C 08 03 A6 */ mtlr r0 /* 8019008C 0018CFEC 38 21 00 10 */ addi r1, r1, 0x10 .global sub_80190090 sub_80190090: /* 80190090 0018CFF0 4E 80 00 20 */ blr .global Update__21CHudFreeLookInterfaceFf Update__21CHudFreeLookInterfaceFf: /* 80190094 0018CFF4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80190098 0018CFF8 88 03 00 70 */ lbz r0, 0x70(r3) /* 8019009C 0018CFFC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801900A0 0018D000 41 82 00 40 */ beq lbl_801900E0 /* 801900A4 0018D004 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 801900A8 0018D008 C0 63 00 68 */ lfs f3, 0x68(r3) /* 801900AC 0018D00C C0 44 01 18 */ lfs f2, 0x118(r4) /* 801900B0 0018D010 C0 0D 8F 20 */ lfs f0, lbl_805A7AE0@sda21(r13) /* 801900B4 0018D014 EC 41 10 24 */ fdivs f2, f1, f2 /* 801900B8 0018D018 EC 43 10 2A */ fadds f2, f3, f2 /* 801900BC 0018D01C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801900C0 0018D020 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801900C4 0018D024 40 80 00 0C */ bge lbl_801900D0 /* 801900C8 0018D028 38 81 00 14 */ addi r4, r1, 0x14 /* 801900CC 0018D02C 48 00 00 08 */ b lbl_801900D4 lbl_801900D0: /* 801900D0 0018D030 38 8D 8F 20 */ addi r4, r13, lbl_805A7AE0@sda21 lbl_801900D4: /* 801900D4 0018D034 C0 04 00 00 */ lfs f0, 0(r4) /* 801900D8 0018D038 D0 03 00 68 */ stfs f0, 0x68(r3) /* 801900DC 0018D03C 48 00 00 3C */ b lbl_80190118 lbl_801900E0: /* 801900E0 0018D040 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 801900E4 0018D044 C0 63 00 68 */ lfs f3, 0x68(r3) /* 801900E8 0018D048 C0 44 01 18 */ lfs f2, 0x118(r4) /* 801900EC 0018D04C C0 0D 8F 24 */ lfs f0, lbl_805A7AE4@sda21(r13) /* 801900F0 0018D050 EC 41 10 24 */ fdivs f2, f1, f2 /* 801900F4 0018D054 EC 43 10 28 */ fsubs f2, f3, f2 /* 801900F8 0018D058 FC 00 10 40 */ fcmpo cr0, f0, f2 /* 801900FC 0018D05C D0 41 00 10 */ stfs f2, 0x10(r1) /* 80190100 0018D060 40 80 00 0C */ bge lbl_8019010C /* 80190104 0018D064 38 81 00 10 */ addi r4, r1, 0x10 /* 80190108 0018D068 48 00 00 08 */ b lbl_80190110 lbl_8019010C: /* 8019010C 0018D06C 38 8D 8F 24 */ addi r4, r13, lbl_805A7AE4@sda21 lbl_80190110: /* 80190110 0018D070 C0 04 00 00 */ lfs f0, 0(r4) /* 80190114 0018D074 D0 03 00 68 */ stfs f0, 0x68(r3) lbl_80190118: /* 80190118 0018D078 88 03 00 70 */ lbz r0, 0x70(r3) /* 8019011C 0018D07C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80190120 0018D080 41 82 00 44 */ beq lbl_80190164 /* 80190124 0018D084 80 03 00 04 */ lwz r0, 4(r3) /* 80190128 0018D088 2C 00 00 01 */ cmpwi r0, 1 /* 8019012C 0018D08C 40 82 00 38 */ bne lbl_80190164 /* 80190130 0018D090 C0 62 A4 F8 */ lfs f3, lbl_805AC218@sda21(r2) /* 80190134 0018D094 C0 43 00 6C */ lfs f2, 0x6c(r3) /* 80190138 0018D098 C0 0D 8F 28 */ lfs f0, lbl_805A7AE8@sda21(r13) /* 8019013C 0018D09C EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 80190140 0018D0A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80190144 0018D0A4 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80190148 0018D0A8 40 80 00 0C */ bge lbl_80190154 /* 8019014C 0018D0AC 38 81 00 0C */ addi r4, r1, 0xc /* 80190150 0018D0B0 48 00 00 08 */ b lbl_80190158 lbl_80190154: /* 80190154 0018D0B4 38 8D 8F 28 */ addi r4, r13, lbl_805A7AE8@sda21 lbl_80190158: /* 80190158 0018D0B8 C0 04 00 00 */ lfs f0, 0(r4) /* 8019015C 0018D0BC D0 03 00 6C */ stfs f0, 0x6c(r3) /* 80190160 0018D0C0 48 00 00 34 */ b lbl_80190194 lbl_80190164: /* 80190164 0018D0C4 C0 62 A4 F8 */ lfs f3, lbl_805AC218@sda21(r2) /* 80190168 0018D0C8 C0 43 00 6C */ lfs f2, 0x6c(r3) /* 8019016C 0018D0CC C0 0D 8F 2C */ lfs f0, lbl_805A7AEC@sda21(r13) /* 80190170 0018D0D0 EC 23 10 7C */ fnmsubs f1, f3, f1, f2 /* 80190174 0018D0D4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80190178 0018D0D8 D0 21 00 08 */ stfs f1, 8(r1) /* 8019017C 0018D0DC 40 80 00 0C */ bge lbl_80190188 /* 80190180 0018D0E0 38 81 00 08 */ addi r4, r1, 8 /* 80190184 0018D0E4 48 00 00 08 */ b lbl_8019018C lbl_80190188: /* 80190188 0018D0E8 38 8D 8F 2C */ addi r4, r13, lbl_805A7AEC@sda21 lbl_8019018C: /* 8019018C 0018D0EC C0 04 00 00 */ lfs f0, 0(r4) /* 80190190 0018D0F0 D0 03 00 6C */ stfs f0, 0x6c(r3) lbl_80190194: /* 80190194 0018D0F4 38 21 00 20 */ addi r1, r1, 0x20 .global sub_80190198 sub_80190198: /* 80190198 0018D0F8 4E 80 00 20 */ blr .global UpdateVisibility__21CHudFreeLookInterfaceFv UpdateVisibility__21CHudFreeLookInterfaceFv: /* 8019019C 0018D0FC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801901A0 0018D100 7C 08 02 A6 */ mflr r0 /* 801901A4 0018D104 90 01 00 24 */ stw r0, 0x24(r1) /* 801901A8 0018D108 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801901AC 0018D10C 3B E0 00 00 */ li r31, 0 /* 801901B0 0018D110 93 C1 00 18 */ stw r30, 0x18(r1) /* 801901B4 0018D114 93 A1 00 14 */ stw r29, 0x14(r1) /* 801901B8 0018D118 7C 7D 1B 78 */ mr r29, r3 /* 801901BC 0018D11C 88 63 00 70 */ lbz r3, 0x70(r3) /* 801901C0 0018D120 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801901C4 0018D124 41 82 00 10 */ beq lbl_801901D4 /* 801901C8 0018D128 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801901CC 0018D12C 41 82 00 08 */ beq lbl_801901D4 /* 801901D0 0018D130 3B E0 00 01 */ li r31, 1 lbl_801901D4: /* 801901D4 0018D134 57 FE 06 3E */ clrlwi r30, r31, 0x18 /* 801901D8 0018D138 80 7D 00 74 */ lwz r3, 0x74(r29) /* 801901DC 0018D13C 7F C4 F3 78 */ mr r4, r30 /* 801901E0 0018D140 38 A0 00 01 */ li r5, 1 /* 801901E4 0018D144 48 13 A5 05 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801901E8 0018D148 80 7D 00 80 */ lwz r3, 0x80(r29) /* 801901EC 0018D14C 7F C4 F3 78 */ mr r4, r30 /* 801901F0 0018D150 38 A0 00 01 */ li r5, 1 /* 801901F4 0018D154 48 13 A4 F5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801901F8 0018D158 7F C0 F3 79 */ or. r0, r30, r30 /* 801901FC 0018D15C 41 82 00 1C */ beq lbl_80190218 /* 80190200 0018D160 7F A3 EB 78 */ mr r3, r29 /* 80190204 0018D164 C0 22 A4 FC */ lfs f1, lbl_805AC21C@sda21(r2) /* 80190208 0018D168 81 9D 00 00 */ lwz r12, 0(r29) /* 8019020C 0018D16C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80190210 0018D170 7D 89 03 A6 */ mtctr r12 /* 80190214 0018D174 4E 80 04 21 */ bctrl lbl_80190218: /* 80190218 0018D178 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019021C 0018D17C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80190220 0018D180 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80190224 0018D184 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80190228 0018D188 7C 08 03 A6 */ mtlr r0 /* 8019022C 0018D18C 38 21 00 20 */ addi r1, r1, 0x20 /* 80190230 0018D190 4E 80 00 20 */ blr .global SetIsVisibleGame__21CHudFreeLookInterfaceFb SetIsVisibleGame__21CHudFreeLookInterfaceFb: /* 80190234 0018D194 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190238 0018D198 7C 08 02 A6 */ mflr r0 /* 8019023C 0018D19C 90 01 00 14 */ stw r0, 0x14(r1) /* 80190240 0018D1A0 88 03 00 70 */ lbz r0, 0x70(r3) /* 80190244 0018D1A4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 80190248 0018D1A8 98 03 00 70 */ stb r0, 0x70(r3) /* 8019024C 0018D1AC 4B FF FF 51 */ bl UpdateVisibility__21CHudFreeLookInterfaceFv /* 80190250 0018D1B0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190254 0018D1B4 7C 08 03 A6 */ mtlr r0 /* 80190258 0018D1B8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019025C 0018D1BC 4E 80 00 20 */ blr .global SetIsVisibleDebug__21CHudFreeLookInterfaceFb SetIsVisibleDebug__21CHudFreeLookInterfaceFb: /* 80190260 0018D1C0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190264 0018D1C4 7C 08 02 A6 */ mflr r0 /* 80190268 0018D1C8 90 01 00 14 */ stw r0, 0x14(r1) /* 8019026C 0018D1CC 88 03 00 70 */ lbz r0, 0x70(r3) /* 80190270 0018D1D0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80190274 0018D1D4 98 03 00 70 */ stb r0, 0x70(r3) /* 80190278 0018D1D8 4B FF FF 25 */ bl UpdateVisibility__21CHudFreeLookInterfaceFv /* 8019027C 0018D1DC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190280 0018D1E0 7C 08 03 A6 */ mtlr r0 /* 80190284 0018D1E4 38 21 00 10 */ addi r1, r1, 0x10 /* 80190288 0018D1E8 4E 80 00 20 */ blr .global SetFreeLookState__21CHudFreeLookInterfaceFbbbf SetFreeLookState__21CHudFreeLookInterfaceFbbbf: /* 8019028C 0018D1EC 94 21 FE E0 */ stwu r1, -0x120(r1) /* 80190290 0018D1F0 7C 08 02 A6 */ mflr r0 /* 80190294 0018D1F4 90 01 01 24 */ stw r0, 0x124(r1) /* 80190298 0018D1F8 DB E1 01 10 */ stfd f31, 0x110(r1) /* 8019029C 0018D1FC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 801902A0 0018D200 DB C1 01 00 */ stfd f30, 0x100(r1) /* 801902A4 0018D204 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 801902A8 0018D208 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 801902AC 0018D20C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 801902B0 0018D210 DB 81 00 E0 */ stfd f28, 0xe0(r1) /* 801902B4 0018D214 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 /* 801902B8 0018D218 93 E1 00 DC */ stw r31, 0xdc(r1) /* 801902BC 0018D21C 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 801902C0 0018D220 88 03 00 70 */ lbz r0, 0x70(r3) /* 801902C4 0018D224 7C 7F 1B 78 */ mr r31, r3 /* 801902C8 0018D228 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801902CC 0018D22C C0 02 A5 00 */ lfs f0, lbl_805AC220@sda21(r2) /* 801902D0 0018D230 98 1F 00 70 */ stb r0, 0x70(r31) /* 801902D4 0018D234 38 61 00 78 */ addi r3, r1, 0x78 /* 801902D8 0018D238 EF 80 00 72 */ fmuls f28, f0, f1 /* 801902DC 0018D23C C0 22 A4 FC */ lfs f1, lbl_805AC21C@sda21(r2) /* 801902E0 0018D240 88 1F 00 70 */ lbz r0, 0x70(r31) /* 801902E4 0018D244 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801902E8 0018D248 FC 40 08 90 */ fmr f2, f1 /* 801902EC 0018D24C 98 1F 00 70 */ stb r0, 0x70(r31) /* 801902F0 0018D250 FC 60 E0 90 */ fmr f3, f28 /* 801902F4 0018D254 88 1F 00 70 */ lbz r0, 0x70(r31) /* 801902F8 0018D258 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 801902FC 0018D25C 98 1F 00 70 */ stb r0, 0x70(r31) /* 80190300 0018D260 48 18 2E 89 */ bl Translate__12CTransform4fFfff /* 80190304 0018D264 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80190308 0018D268 38 9F 00 08 */ addi r4, r31, 8 /* 8019030C 0018D26C 38 A1 00 78 */ addi r5, r1, 0x78 /* 80190310 0018D270 48 18 26 41 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80190314 0018D274 83 DF 00 7C */ lwz r30, 0x7c(r31) /* 80190318 0018D278 38 81 00 A8 */ addi r4, r1, 0xa8 /* 8019031C 0018D27C 38 7E 00 04 */ addi r3, r30, 4 /* 80190320 0018D280 48 18 28 21 */ bl __as__12CTransform4fFRC12CTransform4f /* 80190324 0018D284 7F C3 F3 78 */ mr r3, r30 /* 80190328 0018D288 48 13 44 C1 */ bl RecalculateTransforms__10CGuiObjectFv /* 8019032C 0018D28C C0 22 A4 FC */ lfs f1, lbl_805AC21C@sda21(r2) /* 80190330 0018D290 FC 60 E0 90 */ fmr f3, f28 /* 80190334 0018D294 38 61 00 18 */ addi r3, r1, 0x18 /* 80190338 0018D298 FC 40 08 90 */ fmr f2, f1 /* 8019033C 0018D29C 48 18 2E 4D */ bl Translate__12CTransform4fFfff /* 80190340 0018D2A0 38 61 00 48 */ addi r3, r1, 0x48 /* 80190344 0018D2A4 38 9F 00 38 */ addi r4, r31, 0x38 /* 80190348 0018D2A8 38 A1 00 18 */ addi r5, r1, 0x18 /* 8019034C 0018D2AC 48 18 26 05 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80190350 0018D2B0 83 DF 00 88 */ lwz r30, 0x88(r31) /* 80190354 0018D2B4 38 81 00 48 */ addi r4, r1, 0x48 /* 80190358 0018D2B8 38 7E 00 04 */ addi r3, r30, 4 /* 8019035C 0018D2BC 48 18 27 E5 */ bl __as__12CTransform4fFRC12CTransform4f /* 80190360 0018D2C0 7F C3 F3 78 */ mr r3, r30 /* 80190364 0018D2C4 48 13 44 85 */ bl RecalculateTransforms__10CGuiObjectFv /* 80190368 0018D2C8 C0 22 A5 04 */ lfs f1, lbl_805AC224@sda21(r2) /* 8019036C 0018D2CC C0 1F 00 6C */ lfs f0, 0x6c(r31) /* 80190370 0018D2D0 C0 5F 00 68 */ lfs f2, 0x68(r31) /* 80190374 0018D2D4 EC 01 00 28 */ fsubs f0, f1, f0 /* 80190378 0018D2D8 EF 82 00 32 */ fmuls f28, f2, f0 /* 8019037C 0018D2DC 48 1B 9C 31 */ bl White__6CColorFv /* 80190380 0018D2E0 C0 02 A5 08 */ lfs f0, lbl_805AC228@sda21(r2) /* 80190384 0018D2E4 EF A0 07 32 */ fmuls f29, f0, f28 /* 80190388 0018D2E8 FF E0 E8 90 */ fmr f31, f29 /* 8019038C 0018D2EC F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 /* 80190390 0018D2F0 38 81 00 14 */ addi r4, r1, 0x14 /* 80190394 0018D2F4 80 63 00 00 */ lwz r3, 0(r3) /* 80190398 0018D2F8 88 01 00 0A */ lbz r0, 0xa(r1) /* 8019039C 0018D2FC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801903A0 0018D300 90 01 00 14 */ stw r0, 0x14(r1) /* 801903A4 0018D304 80 7F 00 74 */ lwz r3, 0x74(r31) /* 801903A8 0018D308 48 13 A4 C5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801903AC 0018D30C 48 1B 9C 01 */ bl White__6CColorFv /* 801903B0 0018D310 F3 A1 A0 09 */ psq_st f29, 9(r1), 1, qr2 /* 801903B4 0018D314 38 81 00 10 */ addi r4, r1, 0x10 /* 801903B8 0018D318 80 63 00 00 */ lwz r3, 0(r3) /* 801903BC 0018D31C 88 01 00 09 */ lbz r0, 9(r1) /* 801903C0 0018D320 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801903C4 0018D324 90 01 00 10 */ stw r0, 0x10(r1) /* 801903C8 0018D328 80 7F 00 80 */ lwz r3, 0x80(r31) /* 801903CC 0018D32C 48 13 A4 A1 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801903D0 0018D330 80 1F 00 8C */ lwz r0, 0x8c(r31) /* 801903D4 0018D334 28 00 00 00 */ cmplwi r0, 0 /* 801903D8 0018D338 41 82 00 3C */ beq lbl_80190414 /* 801903DC 0018D33C 48 1B 9B D1 */ bl White__6CColorFv /* 801903E0 0018D340 C0 22 A5 10 */ lfs f1, lbl_805AC230@sda21(r2) /* 801903E4 0018D344 C0 02 A5 0C */ lfs f0, lbl_805AC22C@sda21(r2) /* 801903E8 0018D348 C0 42 A5 08 */ lfs f2, lbl_805AC228@sda21(r2) /* 801903EC 0018D34C EC 01 07 3A */ fmadds f0, f1, f28, f0 /* 801903F0 0018D350 EF C2 00 32 */ fmuls f30, f2, f0 /* 801903F4 0018D354 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 801903F8 0018D358 38 81 00 0C */ addi r4, r1, 0xc /* 801903FC 0018D35C 80 63 00 00 */ lwz r3, 0(r3) /* 80190400 0018D360 88 01 00 08 */ lbz r0, 8(r1) /* 80190404 0018D364 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80190408 0018D368 90 01 00 0C */ stw r0, 0xc(r1) /* 8019040C 0018D36C 80 7F 00 8C */ lwz r3, 0x8c(r31) /* 80190410 0018D370 48 13 A4 5D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80190414: /* 80190414 0018D374 C0 02 A4 FC */ lfs f0, lbl_805AC21C@sda21(r2) /* 80190418 0018D378 FC 00 E0 00 */ fcmpu cr0, f0, f28 /* 8019041C 0018D37C 40 82 00 28 */ bne lbl_80190444 /* 80190420 0018D380 80 7F 00 74 */ lwz r3, 0x74(r31) /* 80190424 0018D384 38 80 00 00 */ li r4, 0 /* 80190428 0018D388 38 A0 00 01 */ li r5, 1 /* 8019042C 0018D38C 48 13 A2 BD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80190430 0018D390 80 7F 00 80 */ lwz r3, 0x80(r31) /* 80190434 0018D394 38 80 00 00 */ li r4, 0 /* 80190438 0018D398 38 A0 00 01 */ li r5, 1 /* 8019043C 0018D39C 48 13 A2 AD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80190440 0018D3A0 48 00 00 24 */ b lbl_80190464 lbl_80190444: /* 80190444 0018D3A4 80 7F 00 74 */ lwz r3, 0x74(r31) /* 80190448 0018D3A8 38 80 00 01 */ li r4, 1 /* 8019044C 0018D3AC 38 A0 00 01 */ li r5, 1 /* 80190450 0018D3B0 48 13 A2 99 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80190454 0018D3B4 80 7F 00 80 */ lwz r3, 0x80(r31) /* 80190458 0018D3B8 38 80 00 01 */ li r4, 1 /* 8019045C 0018D3BC 38 A0 00 01 */ li r5, 1 /* 80190460 0018D3C0 48 13 A2 89 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode lbl_80190464: /* 80190464 0018D3C4 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 80190468 0018D3C8 CB E1 01 10 */ lfd f31, 0x110(r1) /* 8019046C 0018D3CC E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 80190470 0018D3D0 CB C1 01 00 */ lfd f30, 0x100(r1) /* 80190474 0018D3D4 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 80190478 0018D3D8 CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 8019047C 0018D3DC E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 /* 80190480 0018D3E0 CB 81 00 E0 */ lfd f28, 0xe0(r1) /* 80190484 0018D3E4 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 80190488 0018D3E8 80 01 01 24 */ lwz r0, 0x124(r1) /* 8019048C 0018D3EC 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 80190490 0018D3F0 7C 08 03 A6 */ mtlr r0 /* 80190494 0018D3F4 38 21 01 20 */ addi r1, r1, 0x120 /* 80190498 0018D3F8 4E 80 00 20 */ blr .global __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb __ct__21CHudFreeLookInterfaceFR9CGuiFrame8EHudTypebbb: /* 8019049C 0018D3FC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801904A0 0018D400 7C 08 02 A6 */ mflr r0 /* 801904A4 0018D404 3D 20 80 3E */ lis r9, lbl_803DA2E8@ha /* 801904A8 0018D408 90 01 00 34 */ stw r0, 0x34(r1) /* 801904AC 0018D40C 38 09 A2 E8 */ addi r0, r9, lbl_803DA2E8@l /* 801904B0 0018D410 3D 20 80 3D */ lis r9, lbl_803D0A48@ha /* 801904B4 0018D414 BF 21 00 14 */ stmw r25, 0x14(r1) /* 801904B8 0018D418 7C 7E 1B 78 */ mr r30, r3 /* 801904BC 0018D41C 3C 60 80 3E */ lis r3, lbl_803E4470@ha /* 801904C0 0018D420 7C B9 2B 78 */ mr r25, r5 /* 801904C4 0018D424 7C 9F 23 78 */ mr r31, r4 /* 801904C8 0018D428 7C DA 33 78 */ mr r26, r6 /* 801904CC 0018D42C 7C FB 3B 78 */ mr r27, r7 /* 801904D0 0018D430 7D 1C 43 78 */ mr r28, r8 /* 801904D4 0018D434 3B A9 0A 48 */ addi r29, r9, lbl_803D0A48@l /* 801904D8 0018D438 90 1E 00 00 */ stw r0, 0(r30) /* 801904DC 0018D43C 38 03 44 70 */ addi r0, r3, lbl_803E4470@l /* 801904E0 0018D440 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801904E4 0018D444 90 1E 00 00 */ stw r0, 0(r30) /* 801904E8 0018D448 38 03 66 70 */ addi r0, r3, skIdentity4f@l /* 801904EC 0018D44C 7C 04 03 78 */ mr r4, r0 /* 801904F0 0018D450 38 7E 00 08 */ addi r3, r30, 8 /* 801904F4 0018D454 93 3E 00 04 */ stw r25, 4(r30) /* 801904F8 0018D458 48 18 26 7D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801904FC 0018D45C 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 80190500 0018D460 38 7E 00 38 */ addi r3, r30, 0x38 /* 80190504 0018D464 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 80190508 0018D468 48 18 26 6D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8019050C 0018D46C C0 02 A4 FC */ lfs f0, lbl_805AC21C@sda21(r2) /* 80190510 0018D470 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 80190514 0018D474 38 00 00 00 */ li r0, 0 /* 80190518 0018D478 D0 1E 00 68 */ stfs f0, 0x68(r30) /* 8019051C 0018D47C 41 82 00 10 */ beq lbl_8019052C /* 80190520 0018D480 2C 19 00 01 */ cmpwi r25, 1 /* 80190524 0018D484 40 82 00 08 */ bne lbl_8019052C /* 80190528 0018D488 38 00 00 01 */ li r0, 1 lbl_8019052C: /* 8019052C 0018D48C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80190530 0018D490 41 82 00 0C */ beq lbl_8019053C /* 80190534 0018D494 C0 02 A4 FC */ lfs f0, lbl_805AC21C@sda21(r2) /* 80190538 0018D498 48 00 00 08 */ b lbl_80190540 lbl_8019053C: /* 8019053C 0018D49C C0 02 A5 04 */ lfs f0, lbl_805AC224@sda21(r2) lbl_80190540: /* 80190540 0018D4A0 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 80190544 0018D4A4 38 A0 00 01 */ li r5, 1 /* 80190548 0018D4A8 7F E3 FB 78 */ mr r3, r31 /* 8019054C 0018D4AC 38 9D 00 3C */ addi r4, r29, 0x3c /* 80190550 0018D4B0 88 1E 00 70 */ lbz r0, 0x70(r30) /* 80190554 0018D4B4 53 40 3E 30 */ rlwimi r0, r26, 7, 0x18, 0x18 /* 80190558 0018D4B8 98 1E 00 70 */ stb r0, 0x70(r30) /* 8019055C 0018D4BC 88 1E 00 70 */ lbz r0, 0x70(r30) /* 80190560 0018D4C0 53 60 36 72 */ rlwimi r0, r27, 6, 0x19, 0x19 /* 80190564 0018D4C4 98 1E 00 70 */ stb r0, 0x70(r30) /* 80190568 0018D4C8 88 1E 00 70 */ lbz r0, 0x70(r30) /* 8019056C 0018D4CC 53 80 2E B4 */ rlwimi r0, r28, 5, 0x1a, 0x1a /* 80190570 0018D4D0 98 1E 00 70 */ stb r0, 0x70(r30) /* 80190574 0018D4D4 88 1E 00 70 */ lbz r0, 0x70(r30) /* 80190578 0018D4D8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 8019057C 0018D4DC 98 1E 00 70 */ stb r0, 0x70(r30) /* 80190580 0018D4E0 88 1E 00 70 */ lbz r0, 0x70(r30) /* 80190584 0018D4E4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80190588 0018D4E8 98 1E 00 70 */ stb r0, 0x70(r30) /* 8019058C 0018D4EC 48 13 1B C9 */ bl FindWidget__9CGuiFrameCFPCc /* 80190590 0018D4F0 90 7E 00 74 */ stw r3, 0x74(r30) /* 80190594 0018D4F4 7F E3 FB 78 */ mr r3, r31 /* 80190598 0018D4F8 38 9D 00 54 */ addi r4, r29, 0x54 /* 8019059C 0018D4FC 48 13 1B B9 */ bl FindWidget__9CGuiFrameCFPCc /* 801905A0 0018D500 90 7E 00 78 */ stw r3, 0x78(r30) /* 801905A4 0018D504 7F E3 FB 78 */ mr r3, r31 /* 801905A8 0018D508 38 9D 00 14 */ addi r4, r29, 0x14 /* 801905AC 0018D50C 48 13 1B A9 */ bl FindWidget__9CGuiFrameCFPCc /* 801905B0 0018D510 90 7E 00 7C */ stw r3, 0x7c(r30) /* 801905B4 0018D514 7F E3 FB 78 */ mr r3, r31 /* 801905B8 0018D518 38 9D 00 CC */ addi r4, r29, 0xcc /* 801905BC 0018D51C 48 13 1B 99 */ bl FindWidget__9CGuiFrameCFPCc /* 801905C0 0018D520 90 7E 00 80 */ stw r3, 0x80(r30) /* 801905C4 0018D524 7F E3 FB 78 */ mr r3, r31 /* 801905C8 0018D528 38 9D 00 E8 */ addi r4, r29, 0xe8 /* 801905CC 0018D52C 48 13 1B 89 */ bl FindWidget__9CGuiFrameCFPCc /* 801905D0 0018D530 90 7E 00 84 */ stw r3, 0x84(r30) /* 801905D4 0018D534 7F E3 FB 78 */ mr r3, r31 /* 801905D8 0018D538 38 9D 00 28 */ addi r4, r29, 0x28 /* 801905DC 0018D53C 48 13 1B 79 */ bl FindWidget__9CGuiFrameCFPCc /* 801905E0 0018D540 3C 80 80 3D */ lis r4, lbl_803D0BB4@ha /* 801905E4 0018D544 90 7E 00 88 */ stw r3, 0x88(r30) /* 801905E8 0018D548 38 84 0B B4 */ addi r4, r4, lbl_803D0BB4@l /* 801905EC 0018D54C 7F E3 FB 78 */ mr r3, r31 /* 801905F0 0018D550 48 13 1B 65 */ bl FindWidget__9CGuiFrameCFPCc /* 801905F4 0018D554 90 7E 00 8C */ stw r3, 0x8c(r30) /* 801905F8 0018D558 38 7E 00 08 */ addi r3, r30, 8 /* 801905FC 0018D55C 80 9E 00 7C */ lwz r4, 0x7c(r30) /* 80190600 0018D560 38 84 00 74 */ addi r4, r4, 0x74 /* 80190604 0018D564 48 18 25 3D */ bl __as__12CTransform4fFRC12CTransform4f /* 80190608 0018D568 80 9E 00 88 */ lwz r4, 0x88(r30) /* 8019060C 0018D56C 38 7E 00 38 */ addi r3, r30, 0x38 /* 80190610 0018D570 38 84 00 74 */ addi r4, r4, 0x74 /* 80190614 0018D574 48 18 25 2D */ bl __as__12CTransform4fFRC12CTransform4f /* 80190618 0018D578 80 9E 00 78 */ lwz r4, 0x78(r30) /* 8019061C 0018D57C 38 A0 00 01 */ li r5, 1 /* 80190620 0018D580 7F C3 F3 78 */ mr r3, r30 /* 80190624 0018D584 88 04 00 B7 */ lbz r0, 0xb7(r4) /* 80190628 0018D588 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8019062C 0018D58C 98 04 00 B7 */ stb r0, 0xb7(r4) /* 80190630 0018D590 80 9E 00 84 */ lwz r4, 0x84(r30) /* 80190634 0018D594 88 04 00 B7 */ lbz r0, 0xb7(r4) /* 80190638 0018D598 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8019063C 0018D59C 98 04 00 B7 */ stb r0, 0xb7(r4) /* 80190640 0018D5A0 BB 21 00 14 */ lmw r25, 0x14(r1) /* 80190644 0018D5A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80190648 0018D5A8 7C 08 03 A6 */ mtlr r0 /* 8019064C 0018D5AC 38 21 00 30 */ addi r1, r1, 0x30 /* 80190650 0018D5B0 4E 80 00 20 */ blr .global Update__25CHudFreeLookInterfaceXRayFf Update__25CHudFreeLookInterfaceXRayFf: /* 80190654 0018D5B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190658 0018D5B8 88 03 00 20 */ lbz r0, 0x20(r3) /* 8019065C 0018D5BC 28 00 00 00 */ cmplwi r0, 0 /* 80190660 0018D5C0 41 82 00 40 */ beq lbl_801906A0 /* 80190664 0018D5C4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 80190668 0018D5C8 C0 63 00 1C */ lfs f3, 0x1c(r3) /* 8019066C 0018D5CC C0 44 01 18 */ lfs f2, 0x118(r4) /* 80190670 0018D5D0 C0 0D 8F 18 */ lfs f0, lbl_805A7AD8@sda21(r13) /* 80190674 0018D5D4 EC 21 10 24 */ fdivs f1, f1, f2 /* 80190678 0018D5D8 EC 23 08 2A */ fadds f1, f3, f1 /* 8019067C 0018D5DC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80190680 0018D5E0 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80190684 0018D5E4 40 80 00 0C */ bge lbl_80190690 /* 80190688 0018D5E8 38 81 00 0C */ addi r4, r1, 0xc /* 8019068C 0018D5EC 48 00 00 08 */ b lbl_80190694 lbl_80190690: /* 80190690 0018D5F0 38 8D 8F 18 */ addi r4, r13, lbl_805A7AD8@sda21 lbl_80190694: /* 80190694 0018D5F4 C0 04 00 00 */ lfs f0, 0(r4) /* 80190698 0018D5F8 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 8019069C 0018D5FC 48 00 00 3C */ b lbl_801906D8 lbl_801906A0: /* 801906A0 0018D600 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 801906A4 0018D604 C0 63 00 1C */ lfs f3, 0x1c(r3) /* 801906A8 0018D608 C0 44 01 18 */ lfs f2, 0x118(r4) /* 801906AC 0018D60C C0 0D 8F 1C */ lfs f0, lbl_805A7ADC@sda21(r13) /* 801906B0 0018D610 EC 21 10 24 */ fdivs f1, f1, f2 /* 801906B4 0018D614 EC 23 08 28 */ fsubs f1, f3, f1 /* 801906B8 0018D618 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801906BC 0018D61C D0 21 00 08 */ stfs f1, 8(r1) /* 801906C0 0018D620 40 80 00 0C */ bge lbl_801906CC /* 801906C4 0018D624 38 81 00 08 */ addi r4, r1, 8 /* 801906C8 0018D628 48 00 00 08 */ b lbl_801906D0 lbl_801906CC: /* 801906CC 0018D62C 38 8D 8F 1C */ addi r4, r13, lbl_805A7ADC@sda21 lbl_801906D0: /* 801906D0 0018D630 C0 04 00 00 */ lfs f0, 0(r4) /* 801906D4 0018D634 D0 03 00 1C */ stfs f0, 0x1c(r3) lbl_801906D8: /* 801906D8 0018D638 38 21 00 10 */ addi r1, r1, 0x10 /* 801906DC 0018D63C 4E 80 00 20 */ blr .global UpdateVisibility__25CHudFreeLookInterfaceXRayFv UpdateVisibility__25CHudFreeLookInterfaceXRayFv: /* 801906E0 0018D640 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801906E4 0018D644 7C 08 02 A6 */ mflr r0 /* 801906E8 0018D648 90 01 00 24 */ stw r0, 0x24(r1) /* 801906EC 0018D64C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801906F0 0018D650 3B E0 00 00 */ li r31, 0 /* 801906F4 0018D654 93 C1 00 18 */ stw r30, 0x18(r1) /* 801906F8 0018D658 93 A1 00 14 */ stw r29, 0x14(r1) /* 801906FC 0018D65C 7C 7D 1B 78 */ mr r29, r3 /* 80190700 0018D660 88 63 00 22 */ lbz r3, 0x22(r3) /* 80190704 0018D664 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 80190708 0018D668 41 82 00 10 */ beq lbl_80190718 /* 8019070C 0018D66C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 80190710 0018D670 41 82 00 08 */ beq lbl_80190718 /* 80190714 0018D674 3B E0 00 01 */ li r31, 1 lbl_80190718: /* 80190718 0018D678 57 FE 06 3E */ clrlwi r30, r31, 0x18 /* 8019071C 0018D67C 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 80190720 0018D680 7F C4 F3 78 */ mr r4, r30 /* 80190724 0018D684 38 A0 00 01 */ li r5, 1 /* 80190728 0018D688 48 13 9F C1 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 8019072C 0018D68C 80 7D 00 30 */ lwz r3, 0x30(r29) /* 80190730 0018D690 7F C4 F3 78 */ mr r4, r30 /* 80190734 0018D694 38 A0 00 01 */ li r5, 1 /* 80190738 0018D698 48 13 9F B1 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 8019073C 0018D69C 7F C0 F3 79 */ or. r0, r30, r30 /* 80190740 0018D6A0 41 82 00 1C */ beq lbl_8019075C /* 80190744 0018D6A4 7F A3 EB 78 */ mr r3, r29 /* 80190748 0018D6A8 C0 22 A4 FC */ lfs f1, lbl_805AC21C@sda21(r2) /* 8019074C 0018D6AC 81 9D 00 00 */ lwz r12, 0(r29) /* 80190750 0018D6B0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80190754 0018D6B4 7D 89 03 A6 */ mtctr r12 /* 80190758 0018D6B8 4E 80 04 21 */ bctrl lbl_8019075C: /* 8019075C 0018D6BC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80190760 0018D6C0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80190764 0018D6C4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80190768 0018D6C8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8019076C 0018D6CC 7C 08 03 A6 */ mtlr r0 /* 80190770 0018D6D0 38 21 00 20 */ addi r1, r1, 0x20 /* 80190774 0018D6D4 4E 80 00 20 */ blr .global SetIsVisibleGame__25CHudFreeLookInterfaceXRayFb SetIsVisibleGame__25CHudFreeLookInterfaceXRayFb: /* 80190778 0018D6D8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019077C 0018D6DC 7C 08 02 A6 */ mflr r0 /* 80190780 0018D6E0 90 01 00 14 */ stw r0, 0x14(r1) /* 80190784 0018D6E4 88 03 00 22 */ lbz r0, 0x22(r3) /* 80190788 0018D6E8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8019078C 0018D6EC 98 03 00 22 */ stb r0, 0x22(r3) /* 80190790 0018D6F0 4B FF FF 51 */ bl UpdateVisibility__25CHudFreeLookInterfaceXRayFv /* 80190794 0018D6F4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190798 0018D6F8 7C 08 03 A6 */ mtlr r0 /* 8019079C 0018D6FC 38 21 00 10 */ addi r1, r1, 0x10 /* 801907A0 0018D700 4E 80 00 20 */ blr .global SetIsVisibleDebug__25CHudFreeLookInterfaceXRayFb SetIsVisibleDebug__25CHudFreeLookInterfaceXRayFb: /* 801907A4 0018D704 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801907A8 0018D708 7C 08 02 A6 */ mflr r0 /* 801907AC 0018D70C 90 01 00 14 */ stw r0, 0x14(r1) /* 801907B0 0018D710 88 03 00 22 */ lbz r0, 0x22(r3) /* 801907B4 0018D714 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801907B8 0018D718 98 03 00 22 */ stb r0, 0x22(r3) /* 801907BC 0018D71C 4B FF FF 25 */ bl UpdateVisibility__25CHudFreeLookInterfaceXRayFv /* 801907C0 0018D720 80 01 00 14 */ lwz r0, 0x14(r1) /* 801907C4 0018D724 7C 08 03 A6 */ mtlr r0 /* 801907C8 0018D728 38 21 00 10 */ addi r1, r1, 0x10 /* 801907CC 0018D72C 4E 80 00 20 */ blr .global SetFreeLookState__25CHudFreeLookInterfaceXRayFbbbf SetFreeLookState__25CHudFreeLookInterfaceXRayFbbbf: /* 801907D0 0018D730 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801907D4 0018D734 7C 08 02 A6 */ mflr r0 /* 801907D8 0018D738 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801907DC 0018D73C DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 801907E0 0018D740 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 801907E4 0018D744 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 801907E8 0018D748 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 801907EC 0018D74C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 801907F0 0018D750 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 801907F4 0018D754 98 83 00 20 */ stb r4, 0x20(r3) /* 801907F8 0018D758 7C 7E 1B 78 */ mr r30, r3 /* 801907FC 0018D75C FF C0 08 90 */ fmr f30, f1 /* 80190800 0018D760 38 61 00 6C */ addi r3, r1, 0x6c /* 80190804 0018D764 98 BE 00 21 */ stb r5, 0x21(r30) /* 80190808 0018D768 38 81 00 14 */ addi r4, r1, 0x14 /* 8019080C 0018D76C D3 C1 00 14 */ stfs f30, 0x14(r1) /* 80190810 0018D770 48 17 FC 85 */ bl RotateY__9CMatrix3fFRC9CRelAngle /* 80190814 0018D774 38 61 00 90 */ addi r3, r1, 0x90 /* 80190818 0018D778 38 81 00 6C */ addi r4, r1, 0x6c /* 8019081C 0018D77C 38 BE 00 04 */ addi r5, r30, 4 /* 80190820 0018D780 48 18 2A 59 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80190824 0018D784 83 FE 00 2C */ lwz r31, 0x2c(r30) /* 80190828 0018D788 38 81 00 90 */ addi r4, r1, 0x90 /* 8019082C 0018D78C 38 7F 00 04 */ addi r3, r31, 4 /* 80190830 0018D790 48 18 23 11 */ bl __as__12CTransform4fFRC12CTransform4f /* 80190834 0018D794 7F E3 FB 78 */ mr r3, r31 /* 80190838 0018D798 48 13 3F B1 */ bl RecalculateTransforms__10CGuiObjectFv /* 8019083C 0018D79C FC 00 F0 50 */ fneg f0, f30 /* 80190840 0018D7A0 38 61 00 18 */ addi r3, r1, 0x18 /* 80190844 0018D7A4 38 81 00 10 */ addi r4, r1, 0x10 /* 80190848 0018D7A8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8019084C 0018D7AC 48 17 FC 49 */ bl RotateY__9CMatrix3fFRC9CRelAngle /* 80190850 0018D7B0 38 61 00 3C */ addi r3, r1, 0x3c /* 80190854 0018D7B4 38 81 00 18 */ addi r4, r1, 0x18 /* 80190858 0018D7B8 38 BE 00 10 */ addi r5, r30, 0x10 /* 8019085C 0018D7BC 48 18 2A 1D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80190860 0018D7C0 83 FE 00 30 */ lwz r31, 0x30(r30) /* 80190864 0018D7C4 38 81 00 3C */ addi r4, r1, 0x3c /* 80190868 0018D7C8 38 7F 00 04 */ addi r3, r31, 4 /* 8019086C 0018D7CC 48 18 22 D5 */ bl __as__12CTransform4fFRC12CTransform4f /* 80190870 0018D7D0 7F E3 FB 78 */ mr r3, r31 /* 80190874 0018D7D4 48 13 3F 75 */ bl RecalculateTransforms__10CGuiObjectFv /* 80190878 0018D7D8 C3 DE 00 1C */ lfs f30, 0x1c(r30) /* 8019087C 0018D7DC 48 1B 97 31 */ bl White__6CColorFv /* 80190880 0018D7E0 C0 02 A5 08 */ lfs f0, lbl_805AC228@sda21(r2) /* 80190884 0018D7E4 EF E0 07 B2 */ fmuls f31, f0, f30 /* 80190888 0018D7E8 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 8019088C 0018D7EC 38 81 00 0C */ addi r4, r1, 0xc /* 80190890 0018D7F0 80 63 00 00 */ lwz r3, 0(r3) /* 80190894 0018D7F4 88 01 00 08 */ lbz r0, 8(r1) /* 80190898 0018D7F8 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 8019089C 0018D7FC 90 01 00 0C */ stw r0, 0xc(r1) /* 801908A0 0018D800 80 7E 00 24 */ lwz r3, 0x24(r30) /* 801908A4 0018D804 48 13 9F C9 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801908A8 0018D808 C0 02 A4 FC */ lfs f0, lbl_805AC21C@sda21(r2) /* 801908AC 0018D80C FC 00 F0 00 */ fcmpu cr0, f0, f30 /* 801908B0 0018D810 40 82 00 18 */ bne lbl_801908C8 /* 801908B4 0018D814 80 7E 00 24 */ lwz r3, 0x24(r30) /* 801908B8 0018D818 38 80 00 00 */ li r4, 0 /* 801908BC 0018D81C 38 A0 00 01 */ li r5, 1 /* 801908C0 0018D820 48 13 9E 29 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801908C4 0018D824 48 00 00 14 */ b lbl_801908D8 lbl_801908C8: /* 801908C8 0018D828 80 7E 00 24 */ lwz r3, 0x24(r30) /* 801908CC 0018D82C 38 80 00 01 */ li r4, 1 /* 801908D0 0018D830 38 A0 00 01 */ li r5, 1 /* 801908D4 0018D834 48 13 9E 15 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode lbl_801908D8: /* 801908D8 0018D838 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 801908DC 0018D83C CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 801908E0 0018D840 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 801908E4 0018D844 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 801908E8 0018D848 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 801908EC 0018D84C 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801908F0 0018D850 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 801908F4 0018D854 7C 08 03 A6 */ mtlr r0 /* 801908F8 0018D858 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801908FC 0018D85C 4E 80 00 20 */ blr .global __ct__25CHudFreeLookInterfaceXRayFR9CGuiFramebbUi __ct__25CHudFreeLookInterfaceXRayFR9CGuiFramebbUi: /* 80190900 0018D860 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80190904 0018D864 7C 08 02 A6 */ mflr r0 /* 80190908 0018D868 3D 00 80 3E */ lis r8, lbl_803DA2E8@ha /* 8019090C 0018D86C 3C E0 80 3E */ lis r7, lbl_803E448C@ha /* 80190910 0018D870 90 01 00 34 */ stw r0, 0x34(r1) /* 80190914 0018D874 38 08 A2 E8 */ addi r0, r8, lbl_803DA2E8@l /* 80190918 0018D878 3D 00 80 3D */ lis r8, lbl_803D0A48@ha /* 8019091C 0018D87C C0 02 A4 FC */ lfs f0, lbl_805AC21C@sda21(r2) /* 80190920 0018D880 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80190924 0018D884 3B E8 0A 48 */ addi r31, r8, lbl_803D0A48@l /* 80190928 0018D888 93 C1 00 28 */ stw r30, 0x28(r1) /* 8019092C 0018D88C 7C 9E 23 78 */ mr r30, r4 /* 80190930 0018D890 38 9F 00 00 */ addi r4, r31, 0 /* 80190934 0018D894 93 A1 00 24 */ stw r29, 0x24(r1) /* 80190938 0018D898 7C 7D 1B 78 */ mr r29, r3 /* 8019093C 0018D89C 3C 60 80 5A */ lis r3, skZero3f@ha /* 80190940 0018D8A0 90 1D 00 00 */ stw r0, 0(r29) /* 80190944 0018D8A4 38 07 44 8C */ addi r0, r7, lbl_803E448C@l /* 80190948 0018D8A8 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 8019094C 0018D8AC 38 E0 00 01 */ li r7, 1 /* 80190950 0018D8B0 90 1D 00 00 */ stw r0, 0(r29) /* 80190954 0018D8B4 7F C3 F3 78 */ mr r3, r30 /* 80190958 0018D8B8 C0 28 00 00 */ lfs f1, 0(r8) /* 8019095C 0018D8BC D0 3D 00 04 */ stfs f1, 4(r29) /* 80190960 0018D8C0 C0 28 00 04 */ lfs f1, 4(r8) /* 80190964 0018D8C4 D0 3D 00 08 */ stfs f1, 8(r29) /* 80190968 0018D8C8 C0 28 00 08 */ lfs f1, 8(r8) /* 8019096C 0018D8CC D0 3D 00 0C */ stfs f1, 0xc(r29) /* 80190970 0018D8D0 C0 28 00 00 */ lfs f1, 0(r8) /* 80190974 0018D8D4 D0 3D 00 10 */ stfs f1, 0x10(r29) /* 80190978 0018D8D8 C0 28 00 04 */ lfs f1, 4(r8) /* 8019097C 0018D8DC D0 3D 00 14 */ stfs f1, 0x14(r29) /* 80190980 0018D8E0 C0 28 00 08 */ lfs f1, 8(r8) /* 80190984 0018D8E4 D0 3D 00 18 */ stfs f1, 0x18(r29) /* 80190988 0018D8E8 D0 1D 00 1C */ stfs f0, 0x1c(r29) /* 8019098C 0018D8EC 98 BD 00 20 */ stb r5, 0x20(r29) /* 80190990 0018D8F0 98 DD 00 21 */ stb r6, 0x21(r29) /* 80190994 0018D8F4 88 1D 00 22 */ lbz r0, 0x22(r29) /* 80190998 0018D8F8 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 8019099C 0018D8FC 98 1D 00 22 */ stb r0, 0x22(r29) /* 801909A0 0018D900 88 1D 00 22 */ lbz r0, 0x22(r29) /* 801909A4 0018D904 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 /* 801909A8 0018D908 98 1D 00 22 */ stb r0, 0x22(r29) /* 801909AC 0018D90C 48 13 17 A9 */ bl FindWidget__9CGuiFrameCFPCc /* 801909B0 0018D910 90 7D 00 24 */ stw r3, 0x24(r29) /* 801909B4 0018D914 7F C3 F3 78 */ mr r3, r30 /* 801909B8 0018D918 38 9F 00 14 */ addi r4, r31, 0x14 /* 801909BC 0018D91C 48 13 17 99 */ bl FindWidget__9CGuiFrameCFPCc /* 801909C0 0018D920 90 7D 00 2C */ stw r3, 0x2c(r29) /* 801909C4 0018D924 7F C3 F3 78 */ mr r3, r30 /* 801909C8 0018D928 38 9F 00 28 */ addi r4, r31, 0x28 /* 801909CC 0018D92C 48 13 17 89 */ bl FindWidget__9CGuiFrameCFPCc /* 801909D0 0018D930 3C 80 80 3D */ lis r4, lbl_803D0BB4@ha /* 801909D4 0018D934 90 7D 00 30 */ stw r3, 0x30(r29) /* 801909D8 0018D938 38 84 0B B4 */ addi r4, r4, lbl_803D0BB4@l /* 801909DC 0018D93C 7F C3 F3 78 */ mr r3, r30 /* 801909E0 0018D940 38 84 00 15 */ addi r4, r4, 0x15 /* 801909E4 0018D944 48 13 17 71 */ bl FindWidget__9CGuiFrameCFPCc /* 801909E8 0018D948 90 7D 00 28 */ stw r3, 0x28(r29) /* 801909EC 0018D94C 38 61 00 14 */ addi r3, r1, 0x14 /* 801909F0 0018D950 80 9D 00 2C */ lwz r4, 0x2c(r29) /* 801909F4 0018D954 48 13 48 29 */ bl GetLocalPosition__10CGuiObjectCFv /* 801909F8 0018D958 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801909FC 0018D95C 38 61 00 08 */ addi r3, r1, 8 /* 80190A00 0018D960 D0 1D 00 04 */ stfs f0, 4(r29) /* 80190A04 0018D964 C0 01 00 18 */ lfs f0, 0x18(r1) /* 80190A08 0018D968 D0 1D 00 08 */ stfs f0, 8(r29) /* 80190A0C 0018D96C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80190A10 0018D970 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 80190A14 0018D974 80 9D 00 30 */ lwz r4, 0x30(r29) /* 80190A18 0018D978 48 13 48 05 */ bl GetLocalPosition__10CGuiObjectCFv /* 80190A1C 0018D97C C0 01 00 08 */ lfs f0, 8(r1) /* 80190A20 0018D980 38 A0 00 01 */ li r5, 1 /* 80190A24 0018D984 7F A3 EB 78 */ mr r3, r29 /* 80190A28 0018D988 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 80190A2C 0018D98C C0 01 00 0C */ lfs f0, 0xc(r1) /* 80190A30 0018D990 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 80190A34 0018D994 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80190A38 0018D998 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 80190A3C 0018D99C 80 9D 00 28 */ lwz r4, 0x28(r29) /* 80190A40 0018D9A0 88 04 00 B7 */ lbz r0, 0xb7(r4) /* 80190A44 0018D9A4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80190A48 0018D9A8 98 04 00 B7 */ stb r0, 0xb7(r4) /* 80190A4C 0018D9AC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80190A50 0018D9B0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80190A54 0018D9B4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80190A58 0018D9B8 80 01 00 34 */ lwz r0, 0x34(r1) /* 80190A5C 0018D9BC 7C 08 03 A6 */ mtlr r0 /* 80190A60 0018D9C0 38 21 00 30 */ addi r1, r1, 0x30 /* 80190A64 0018D9C4 4E 80 00 20 */ blr .global __dt__25CHudFreeLookInterfaceXRayFv __dt__25CHudFreeLookInterfaceXRayFv: /* 80190A68 0018D9C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190A6C 0018D9CC 7C 08 02 A6 */ mflr r0 /* 80190A70 0018D9D0 90 01 00 14 */ stw r0, 0x14(r1) /* 80190A74 0018D9D4 93 E1 00 0C */ stw r31, 0xc(r1) /* 80190A78 0018D9D8 7C 7F 1B 79 */ or. r31, r3, r3 /* 80190A7C 0018D9DC 41 82 00 30 */ beq lbl_80190AAC /* 80190A80 0018D9E0 3C 60 80 3E */ lis r3, lbl_803E448C@ha /* 80190A84 0018D9E4 38 03 44 8C */ addi r0, r3, lbl_803E448C@l /* 80190A88 0018D9E8 90 1F 00 00 */ stw r0, 0(r31) /* 80190A8C 0018D9EC 41 82 00 10 */ beq lbl_80190A9C /* 80190A90 0018D9F0 3C 60 80 3E */ lis r3, lbl_803DA2E8@ha /* 80190A94 0018D9F4 38 03 A2 E8 */ addi r0, r3, lbl_803DA2E8@l /* 80190A98 0018D9F8 90 1F 00 00 */ stw r0, 0(r31) lbl_80190A9C: /* 80190A9C 0018D9FC 7C 80 07 35 */ extsh. r0, r4 /* 80190AA0 0018DA00 40 81 00 0C */ ble lbl_80190AAC /* 80190AA4 0018DA04 7F E3 FB 78 */ mr r3, r31 /* 80190AA8 0018DA08 48 18 4E 89 */ bl Free__7CMemoryFPCv lbl_80190AAC: /* 80190AAC 0018DA0C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190AB0 0018DA10 7F E3 FB 78 */ mr r3, r31 /* 80190AB4 0018DA14 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80190AB8 0018DA18 7C 08 03 A6 */ mtlr r0 /* 80190ABC 0018DA1C 38 21 00 10 */ addi r1, r1, 0x10 /* 80190AC0 0018DA20 4E 80 00 20 */ blr .global Update__19CHudHelmetInterfaceFf Update__19CHudHelmetInterfaceFf: /* 80190AC4 0018DA24 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80190AC8 0018DA28 7C 08 02 A6 */ mflr r0 /* 80190ACC 0018DA2C 90 01 00 54 */ stw r0, 0x54(r1) /* 80190AD0 0018DA30 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80190AD4 0018DA34 7C 7F 1B 78 */ mr r31, r3 /* 80190AD8 0018DA38 88 63 00 3C */ lbz r3, 0x3c(r3) /* 80190ADC 0018DA3C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 80190AE0 0018DA40 41 82 00 68 */ beq lbl_80190B48 /* 80190AE4 0018DA44 38 00 00 00 */ li r0, 0 /* 80190AE8 0018DA48 7F E4 FB 78 */ mr r4, r31 /* 80190AEC 0018DA4C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c /* 80190AF0 0018DA50 38 A1 00 08 */ addi r5, r1, 8 /* 80190AF4 0018DA54 98 7F 00 3C */ stb r3, 0x3c(r31) /* 80190AF8 0018DA58 38 61 00 14 */ addi r3, r1, 0x14 /* 80190AFC 0018DA5C C0 3F 00 28 */ lfs f1, 0x28(r31) /* 80190B00 0018DA60 C0 1F 00 34 */ lfs f0, 0x34(r31) /* 80190B04 0018DA64 C0 7F 00 2C */ lfs f3, 0x2c(r31) /* 80190B08 0018DA68 EC 81 00 2A */ fadds f4, f1, f0 /* 80190B0C 0018DA6C C0 5F 00 38 */ lfs f2, 0x38(r31) /* 80190B10 0018DA70 C0 3F 00 24 */ lfs f1, 0x24(r31) /* 80190B14 0018DA74 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 80190B18 0018DA78 EC 43 10 2A */ fadds f2, f3, f2 /* 80190B1C 0018DA7C EC 01 00 2A */ fadds f0, f1, f0 /* 80190B20 0018DA80 D0 81 00 0C */ stfs f4, 0xc(r1) /* 80190B24 0018DA84 D0 41 00 10 */ stfs f2, 0x10(r1) /* 80190B28 0018DA88 D0 01 00 08 */ stfs f0, 8(r1) /* 80190B2C 0018DA8C 48 18 27 4D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80190B30 0018DA90 83 FF 00 44 */ lwz r31, 0x44(r31) /* 80190B34 0018DA94 38 81 00 14 */ addi r4, r1, 0x14 /* 80190B38 0018DA98 38 7F 00 74 */ addi r3, r31, 0x74 /* 80190B3C 0018DA9C 48 18 20 05 */ bl __as__12CTransform4fFRC12CTransform4f /* 80190B40 0018DAA0 7F E3 FB 78 */ mr r3, r31 /* 80190B44 0018DAA4 48 13 9B 21 */ bl ReapplyXform__10CGuiWidgetFv lbl_80190B48: /* 80190B48 0018DAA8 80 01 00 54 */ lwz r0, 0x54(r1) /* 80190B4C 0018DAAC 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80190B50 0018DAB0 7C 08 03 A6 */ mtlr r0 /* 80190B54 0018DAB4 38 21 00 50 */ addi r1, r1, 0x50 /* 80190B58 0018DAB8 4E 80 00 20 */ blr .global SetHudLagOffset__19CHudHelmetInterfaceFRC9CVector3f SetHudLagOffset__19CHudHelmetInterfaceFRC9CVector3f: /* 80190B5C 0018DABC C0 04 00 00 */ lfs f0, 0(r4) /* 80190B60 0018DAC0 38 A0 00 01 */ li r5, 1 /* 80190B64 0018DAC4 D0 03 00 30 */ stfs f0, 0x30(r3) /* 80190B68 0018DAC8 C0 04 00 04 */ lfs f0, 4(r4) /* 80190B6C 0018DACC D0 03 00 34 */ stfs f0, 0x34(r3) /* 80190B70 0018DAD0 C0 04 00 08 */ lfs f0, 8(r4) /* 80190B74 0018DAD4 D0 03 00 38 */ stfs f0, 0x38(r3) /* 80190B78 0018DAD8 88 03 00 3C */ lbz r0, 0x3c(r3) /* 80190B7C 0018DADC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80190B80 0018DAE0 98 03 00 3C */ stb r0, 0x3c(r3) /* 80190B84 0018DAE4 4E 80 00 20 */ blr .global SetHudLagRotation__19CHudHelmetInterfaceFRC9CMatrix3f SetHudLagRotation__19CHudHelmetInterfaceFRC9CMatrix3f: /* 80190B88 0018DAE8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190B8C 0018DAEC 7C 08 02 A6 */ mflr r0 /* 80190B90 0018DAF0 90 01 00 14 */ stw r0, 0x14(r1) /* 80190B94 0018DAF4 93 E1 00 0C */ stw r31, 0xc(r1) /* 80190B98 0018DAF8 7C 7F 1B 78 */ mr r31, r3 /* 80190B9C 0018DAFC 48 17 F4 5D */ bl __as__9CMatrix3fFRC9CMatrix3f /* 80190BA0 0018DB00 88 1F 00 3C */ lbz r0, 0x3c(r31) /* 80190BA4 0018DB04 38 60 00 01 */ li r3, 1 /* 80190BA8 0018DB08 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80190BAC 0018DB0C 98 1F 00 3C */ stb r0, 0x3c(r31) /* 80190BB0 0018DB10 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80190BB4 0018DB14 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190BB8 0018DB18 7C 08 03 A6 */ mtlr r0 /* 80190BBC 0018DB1C 38 21 00 10 */ addi r1, r1, 0x10 /* 80190BC0 0018DB20 4E 80 00 20 */ blr .global AddHelmetLightValue__19CHudHelmetInterfaceFf AddHelmetLightValue__19CHudHelmetInterfaceFf: /* 80190BC4 0018DB24 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80190BC8 0018DB28 7C 08 02 A6 */ mflr r0 /* 80190BCC 0018DB2C FC 40 08 90 */ fmr f2, f1 /* 80190BD0 0018DB30 90 01 00 24 */ stw r0, 0x24(r1) /* 80190BD4 0018DB34 FC 60 08 90 */ fmr f3, f1 /* 80190BD8 0018DB38 FC 80 08 90 */ fmr f4, f1 /* 80190BDC 0018DB3C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80190BE0 0018DB40 7C 7F 1B 78 */ mr r31, r3 /* 80190BE4 0018DB44 38 61 00 0C */ addi r3, r1, 0xc /* 80190BE8 0018DB48 48 1D 28 05 */ bl __ct__6CColorFffff /* 80190BEC 0018DB4C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80190BF0 0018DB50 38 61 00 08 */ addi r3, r1, 8 /* 80190BF4 0018DB54 38 A1 00 0C */ addi r5, r1, 0xc /* 80190BF8 0018DB58 38 84 00 8C */ addi r4, r4, 0x8c /* 80190BFC 0018DB5C 48 1D 24 B5 */ bl Add__6CColorFRC6CColorRC6CColor /* 80190C00 0018DB60 80 7F 00 50 */ lwz r3, 0x50(r31) /* 80190C04 0018DB64 38 81 00 08 */ addi r4, r1, 8 /* 80190C08 0018DB68 48 13 9C 65 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80190C0C 0018DB6C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80190C10 0018DB70 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80190C14 0018DB74 7C 08 03 A6 */ mtlr r0 /* 80190C18 0018DB78 38 21 00 20 */ addi r1, r1, 0x20 /* 80190C1C 0018DB7C 4E 80 00 20 */ blr .global UpdateCameraDebugSettings__19CHudHelmetInterfaceFfff UpdateCameraDebugSettings__19CHudHelmetInterfaceFfff: /* 80190C20 0018DB80 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80190C24 0018DB84 7C 08 02 A6 */ mflr r0 /* 80190C28 0018DB88 C0 02 A5 18 */ lfs f0, lbl_805AC238@sda21(r2) /* 80190C2C 0018DB8C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80190C30 0018DB90 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80190C34 0018DB94 7C 7F 1B 78 */ mr r31, r3 /* 80190C38 0018DB98 81 43 00 40 */ lwz r10, 0x40(r3) /* 80190C3C 0018DB9C 38 61 00 44 */ addi r3, r1, 0x44 /* 80190C40 0018DBA0 80 8A 00 BC */ lwz r4, 0xbc(r10) /* 80190C44 0018DBA4 81 2A 00 C0 */ lwz r9, 0xc0(r10) /* 80190C48 0018DBA8 90 81 00 2C */ stw r4, 0x2c(r1) /* 80190C4C 0018DBAC 81 0A 00 C4 */ lwz r8, 0xc4(r10) /* 80190C50 0018DBB0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80190C54 0018DBB4 80 EA 00 C8 */ lwz r7, 0xc8(r10) /* 80190C58 0018DBB8 80 CA 00 CC */ lwz r6, 0xcc(r10) /* 80190C5C 0018DBBC 80 AA 00 D0 */ lwz r5, 0xd0(r10) /* 80190C60 0018DBC0 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80190C64 0018DBC4 90 81 00 14 */ stw r4, 0x14(r1) /* 80190C68 0018DBC8 90 0A 00 BC */ stw r0, 0xbc(r10) /* 80190C6C 0018DBCC 91 2A 00 C0 */ stw r9, 0xc0(r10) /* 80190C70 0018DBD0 91 0A 00 C4 */ stw r8, 0xc4(r10) /* 80190C74 0018DBD4 90 EA 00 C8 */ stw r7, 0xc8(r10) /* 80190C78 0018DBD8 90 CA 00 CC */ stw r6, 0xcc(r10) /* 80190C7C 0018DBDC 90 AA 00 D0 */ stw r5, 0xd0(r10) /* 80190C80 0018DBE0 D0 01 00 08 */ stfs f0, 8(r1) /* 80190C84 0018DBE4 D0 41 00 0C */ stfs f2, 0xc(r1) /* 80190C88 0018DBE8 D0 61 00 10 */ stfs f3, 0x10(r1) /* 80190C8C 0018DBEC 80 9F 00 40 */ lwz r4, 0x40(r31) /* 80190C90 0018DBF0 91 21 00 18 */ stw r9, 0x18(r1) /* 80190C94 0018DBF4 38 84 00 74 */ addi r4, r4, 0x74 /* 80190C98 0018DBF8 91 01 00 1C */ stw r8, 0x1c(r1) /* 80190C9C 0018DBFC 90 E1 00 20 */ stw r7, 0x20(r1) /* 80190CA0 0018DC00 90 C1 00 24 */ stw r6, 0x24(r1) /* 80190CA4 0018DC04 90 A1 00 28 */ stw r5, 0x28(r1) /* 80190CA8 0018DC08 91 21 00 30 */ stw r9, 0x30(r1) /* 80190CAC 0018DC0C 91 01 00 34 */ stw r8, 0x34(r1) /* 80190CB0 0018DC10 90 E1 00 38 */ stw r7, 0x38(r1) /* 80190CB4 0018DC14 90 C1 00 3C */ stw r6, 0x3c(r1) /* 80190CB8 0018DC18 90 A1 00 40 */ stw r5, 0x40(r1) /* 80190CBC 0018DC1C 48 18 24 39 */ bl BuildMatrix3f__12CTransform4fCFv /* 80190CC0 0018DC20 38 61 00 68 */ addi r3, r1, 0x68 /* 80190CC4 0018DC24 38 81 00 44 */ addi r4, r1, 0x44 /* 80190CC8 0018DC28 38 A1 00 08 */ addi r5, r1, 8 /* 80190CCC 0018DC2C 48 18 25 AD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80190CD0 0018DC30 83 FF 00 40 */ lwz r31, 0x40(r31) /* 80190CD4 0018DC34 38 81 00 68 */ addi r4, r1, 0x68 /* 80190CD8 0018DC38 38 7F 00 74 */ addi r3, r31, 0x74 /* 80190CDC 0018DC3C 48 18 1E 65 */ bl __as__12CTransform4fFRC12CTransform4f /* 80190CE0 0018DC40 7F E3 FB 78 */ mr r3, r31 /* 80190CE4 0018DC44 48 13 99 81 */ bl ReapplyXform__10CGuiWidgetFv /* 80190CE8 0018DC48 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80190CEC 0018DC4C 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 80190CF0 0018DC50 7C 08 03 A6 */ mtlr r0 /* 80190CF4 0018DC54 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80190CF8 0018DC58 4E 80 00 20 */ blr .global UpdateVisibility__19CHudHelmetInterfaceFv UpdateVisibility__19CHudHelmetInterfaceFv: /* 80190CFC 0018DC5C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190D00 0018DC60 7C 08 02 A6 */ mflr r0 /* 80190D04 0018DC64 38 80 00 00 */ li r4, 0 /* 80190D08 0018DC68 90 01 00 14 */ stw r0, 0x14(r1) /* 80190D0C 0018DC6C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80190D10 0018DC70 93 C1 00 08 */ stw r30, 8(r1) /* 80190D14 0018DC74 7C 7E 1B 78 */ mr r30, r3 /* 80190D18 0018DC78 88 63 00 3C */ lbz r3, 0x3c(r3) /* 80190D1C 0018DC7C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 80190D20 0018DC80 41 82 00 10 */ beq lbl_80190D30 /* 80190D24 0018DC84 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 80190D28 0018DC88 41 82 00 08 */ beq lbl_80190D30 /* 80190D2C 0018DC8C 38 80 00 01 */ li r4, 1 lbl_80190D30: /* 80190D30 0018DC90 88 7E 00 3C */ lbz r3, 0x3c(r30) /* 80190D34 0018DC94 3B E0 00 00 */ li r31, 0 /* 80190D38 0018DC98 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 80190D3C 0018DC9C 41 82 00 10 */ beq lbl_80190D4C /* 80190D40 0018DCA0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 80190D44 0018DCA4 41 82 00 08 */ beq lbl_80190D4C /* 80190D48 0018DCA8 3B E0 00 01 */ li r31, 1 lbl_80190D4C: /* 80190D4C 0018DCAC 80 7E 00 48 */ lwz r3, 0x48(r30) /* 80190D50 0018DCB0 54 84 06 3E */ clrlwi r4, r4, 0x18 /* 80190D54 0018DCB4 38 A0 00 01 */ li r5, 1 /* 80190D58 0018DCB8 48 13 99 91 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80190D5C 0018DCBC 80 7E 00 4C */ lwz r3, 0x4c(r30) /* 80190D60 0018DCC0 57 E4 06 3E */ clrlwi r4, r31, 0x18 /* 80190D64 0018DCC4 38 A0 00 01 */ li r5, 1 /* 80190D68 0018DCC8 48 13 99 81 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80190D6C 0018DCCC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190D70 0018DCD0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80190D74 0018DCD4 83 C1 00 08 */ lwz r30, 8(r1) /* 80190D78 0018DCD8 7C 08 03 A6 */ mtlr r0 /* 80190D7C 0018DCDC 38 21 00 10 */ addi r1, r1, 0x10 /* 80190D80 0018DCE0 4E 80 00 20 */ blr .global UpdateHelmetAlpha__19CHudHelmetInterfaceFv UpdateHelmetAlpha__19CHudHelmetInterfaceFv: /* 80190D84 0018DCE4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80190D88 0018DCE8 7C 08 02 A6 */ mflr r0 /* 80190D8C 0018DCEC 90 01 00 44 */ stw r0, 0x44(r1) /* 80190D90 0018DCF0 DB E1 00 30 */ stfd f31, 0x30(r1) /* 80190D94 0018DCF4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 80190D98 0018DCF8 DB C1 00 20 */ stfd f30, 0x20(r1) /* 80190D9C 0018DCFC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 80190DA0 0018DD00 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80190DA4 0018DD04 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 80190DA8 0018DD08 7C 7F 1B 78 */ mr r31, r3 /* 80190DAC 0018DD0C 38 64 01 7C */ addi r3, r4, 0x17c /* 80190DB0 0018DD10 48 07 DF 91 */ bl GetHelmetAlpha__12CGameOptionsCFv /* 80190DB4 0018DD14 FF E0 08 90 */ fmr f31, f1 /* 80190DB8 0018DD18 48 1B 91 F5 */ bl White__6CColorFv /* 80190DBC 0018DD1C C0 02 A5 1C */ lfs f0, lbl_805AC23C@sda21(r2) /* 80190DC0 0018DD20 EF C0 07 F2 */ fmuls f30, f0, f31 /* 80190DC4 0018DD24 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 80190DC8 0018DD28 38 81 00 0C */ addi r4, r1, 0xc /* 80190DCC 0018DD2C 80 63 00 00 */ lwz r3, 0(r3) /* 80190DD0 0018DD30 88 01 00 08 */ lbz r0, 8(r1) /* 80190DD4 0018DD34 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80190DD8 0018DD38 90 01 00 0C */ stw r0, 0xc(r1) /* 80190DDC 0018DD3C 80 7F 00 44 */ lwz r3, 0x44(r31) /* 80190DE0 0018DD40 48 13 9A 8D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80190DE4 0018DD44 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80190DE8 0018DD48 CB E1 00 30 */ lfd f31, 0x30(r1) /* 80190DEC 0018DD4C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 80190DF0 0018DD50 CB C1 00 20 */ lfd f30, 0x20(r1) /* 80190DF4 0018DD54 80 01 00 44 */ lwz r0, 0x44(r1) /* 80190DF8 0018DD58 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80190DFC 0018DD5C 7C 08 03 A6 */ mtlr r0 /* 80190E00 0018DD60 38 21 00 40 */ addi r1, r1, 0x40 /* 80190E04 0018DD64 4E 80 00 20 */ blr .global SetIsVisibleDebug__19CHudHelmetInterfaceFbb SetIsVisibleDebug__19CHudHelmetInterfaceFbb: /* 80190E08 0018DD68 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80190E0C 0018DD6C 7C 08 02 A6 */ mflr r0 /* 80190E10 0018DD70 90 01 00 14 */ stw r0, 0x14(r1) /* 80190E14 0018DD74 88 03 00 3C */ lbz r0, 0x3c(r3) /* 80190E18 0018DD78 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80190E1C 0018DD7C 98 03 00 3C */ stb r0, 0x3c(r3) /* 80190E20 0018DD80 88 03 00 3C */ lbz r0, 0x3c(r3) /* 80190E24 0018DD84 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80190E28 0018DD88 98 03 00 3C */ stb r0, 0x3c(r3) /* 80190E2C 0018DD8C 4B FF FE D1 */ bl UpdateVisibility__19CHudHelmetInterfaceFv /* 80190E30 0018DD90 80 01 00 14 */ lwz r0, 0x14(r1) /* 80190E34 0018DD94 7C 08 03 A6 */ mtlr r0 /* 80190E38 0018DD98 38 21 00 10 */ addi r1, r1, 0x10 /* 80190E3C 0018DD9C 4E 80 00 20 */ blr .global __ct__19CHudHelmetInterfaceFR9CGuiFrame __ct__19CHudHelmetInterfaceFR9CGuiFrame: /* 80190E40 0018DDA0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80190E44 0018DDA4 7C 08 02 A6 */ mflr r0 /* 80190E48 0018DDA8 3C A0 80 5A */ lis r5, lbl_805A65FC@ha /* 80190E4C 0018DDAC 3C C0 80 3D */ lis r6, lbl_803D0BD8@ha /* 80190E50 0018DDB0 90 01 00 64 */ stw r0, 0x64(r1) /* 80190E54 0018DDB4 38 05 65 FC */ addi r0, r5, lbl_805A65FC@l /* 80190E58 0018DDB8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80190E5C 0018DDBC 3B E6 0B D8 */ addi r31, r6, lbl_803D0BD8@l /* 80190E60 0018DDC0 93 C1 00 58 */ stw r30, 0x58(r1) /* 80190E64 0018DDC4 7C 9E 23 78 */ mr r30, r4 /* 80190E68 0018DDC8 7C 04 03 78 */ mr r4, r0 /* 80190E6C 0018DDCC 93 A1 00 54 */ stw r29, 0x54(r1) /* 80190E70 0018DDD0 7C 7D 1B 78 */ mr r29, r3 /* 80190E74 0018DDD4 48 17 F1 B1 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 80190E78 0018DDD8 3C 60 80 5A */ lis r3, skZero3f@ha /* 80190E7C 0018DDDC 38 C0 00 01 */ li r6, 1 /* 80190E80 0018DDE0 38 E3 66 A0 */ addi r7, r3, skZero3f@l /* 80190E84 0018DDE4 38 A0 00 00 */ li r5, 0 /* 80190E88 0018DDE8 C0 07 00 00 */ lfs f0, 0(r7) /* 80190E8C 0018DDEC 38 61 00 38 */ addi r3, r1, 0x38 /* 80190E90 0018DDF0 38 9F 00 00 */ addi r4, r31, 0 /* 80190E94 0018DDF4 D0 1D 00 24 */ stfs f0, 0x24(r29) /* 80190E98 0018DDF8 C0 07 00 04 */ lfs f0, 4(r7) /* 80190E9C 0018DDFC D0 1D 00 28 */ stfs f0, 0x28(r29) /* 80190EA0 0018DE00 C0 07 00 08 */ lfs f0, 8(r7) /* 80190EA4 0018DE04 D0 1D 00 2C */ stfs f0, 0x2c(r29) /* 80190EA8 0018DE08 C0 07 00 00 */ lfs f0, 0(r7) /* 80190EAC 0018DE0C D0 1D 00 30 */ stfs f0, 0x30(r29) /* 80190EB0 0018DE10 C0 07 00 04 */ lfs f0, 4(r7) /* 80190EB4 0018DE14 D0 1D 00 34 */ stfs f0, 0x34(r29) /* 80190EB8 0018DE18 C0 07 00 08 */ lfs f0, 8(r7) /* 80190EBC 0018DE1C D0 1D 00 38 */ stfs f0, 0x38(r29) /* 80190EC0 0018DE20 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 80190EC4 0018DE24 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 80190EC8 0018DE28 98 1D 00 3C */ stb r0, 0x3c(r29) /* 80190ECC 0018DE2C 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 80190ED0 0018DE30 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 80190ED4 0018DE34 98 1D 00 3C */ stb r0, 0x3c(r29) /* 80190ED8 0018DE38 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 80190EDC 0018DE3C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 80190EE0 0018DE40 98 1D 00 3C */ stb r0, 0x3c(r29) /* 80190EE4 0018DE44 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 80190EE8 0018DE48 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 80190EEC 0018DE4C 98 1D 00 3C */ stb r0, 0x3c(r29) /* 80190EF0 0018DE50 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 80190EF4 0018DE54 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80190EF8 0018DE58 98 1D 00 3C */ stb r0, 0x3c(r29) /* 80190EFC 0018DE5C 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80190F00 0018DE60 90 1D 00 40 */ stw r0, 0x40(r29) /* 80190F04 0018DE64 4B E7 3D B5 */ bl string_l__4rstlFPCc /* 80190F08 0018DE68 7F C3 F3 78 */ mr r3, r30 /* 80190F0C 0018DE6C 38 81 00 38 */ addi r4, r1, 0x38 /* 80190F10 0018DE70 48 13 12 C5 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80190F14 0018DE74 90 7D 00 44 */ stw r3, 0x44(r29) /* 80190F18 0018DE78 38 61 00 38 */ addi r3, r1, 0x38 /* 80190F1C 0018DE7C 48 1A CB C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80190F20 0018DE80 38 61 00 28 */ addi r3, r1, 0x28 /* 80190F24 0018DE84 38 9F 00 14 */ addi r4, r31, 0x14 /* 80190F28 0018DE88 4B E7 3D 91 */ bl string_l__4rstlFPCc /* 80190F2C 0018DE8C 7F C3 F3 78 */ mr r3, r30 /* 80190F30 0018DE90 38 81 00 28 */ addi r4, r1, 0x28 /* 80190F34 0018DE94 48 13 12 A1 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80190F38 0018DE98 90 7D 00 48 */ stw r3, 0x48(r29) /* 80190F3C 0018DE9C 38 61 00 28 */ addi r3, r1, 0x28 /* 80190F40 0018DEA0 48 1A CB A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80190F44 0018DEA4 38 61 00 18 */ addi r3, r1, 0x18 /* 80190F48 0018DEA8 38 9F 00 28 */ addi r4, r31, 0x28 /* 80190F4C 0018DEAC 4B E7 3D 6D */ bl string_l__4rstlFPCc /* 80190F50 0018DEB0 7F C3 F3 78 */ mr r3, r30 /* 80190F54 0018DEB4 38 81 00 18 */ addi r4, r1, 0x18 /* 80190F58 0018DEB8 48 13 12 7D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80190F5C 0018DEBC 90 7D 00 4C */ stw r3, 0x4c(r29) /* 80190F60 0018DEC0 38 61 00 18 */ addi r3, r1, 0x18 /* 80190F64 0018DEC4 48 1A CB 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80190F68 0018DEC8 38 61 00 08 */ addi r3, r1, 8 /* 80190F6C 0018DECC 38 9F 00 38 */ addi r4, r31, 0x38 /* 80190F70 0018DED0 4B E7 3D 49 */ bl string_l__4rstlFPCc /* 80190F74 0018DED4 7F C3 F3 78 */ mr r3, r30 /* 80190F78 0018DED8 38 81 00 08 */ addi r4, r1, 8 /* 80190F7C 0018DEDC 48 13 12 59 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80190F80 0018DEE0 90 7D 00 50 */ stw r3, 0x50(r29) /* 80190F84 0018DEE4 38 61 00 08 */ addi r3, r1, 8 /* 80190F88 0018DEE8 48 1A CB 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80190F8C 0018DEEC 80 7D 00 44 */ lwz r3, 0x44(r29) /* 80190F90 0018DEF0 C0 43 00 A0 */ lfs f2, 0xa0(r3) /* 80190F94 0018DEF4 C0 23 00 90 */ lfs f1, 0x90(r3) /* 80190F98 0018DEF8 C0 03 00 80 */ lfs f0, 0x80(r3) /* 80190F9C 0018DEFC D0 1D 00 24 */ stfs f0, 0x24(r29) /* 80190FA0 0018DF00 D0 3D 00 28 */ stfs f1, 0x28(r29) /* 80190FA4 0018DF04 D0 5D 00 2C */ stfs f2, 0x2c(r29) /* 80190FA8 0018DF08 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80190FAC 0018DF0C 80 7D 00 50 */ lwz r3, 0x50(r29) /* 80190FB0 0018DF10 38 84 00 8C */ addi r4, r4, 0x8c /* 80190FB4 0018DF14 48 13 98 B9 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80190FB8 0018DF18 80 01 00 64 */ lwz r0, 0x64(r1) /* 80190FBC 0018DF1C 7F A3 EB 78 */ mr r3, r29 /* 80190FC0 0018DF20 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80190FC4 0018DF24 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80190FC8 0018DF28 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80190FCC 0018DF2C 7C 08 03 A6 */ mtlr r0 /* 80190FD0 0018DF30 38 21 00 60 */ addi r1, r1, 0x60 /* 80190FD4 0018DF34 4E 80 00 20 */ blr .global Update__20CHudMissileInterfaceFfRC13CStateManager Update__20CHudMissileInterfaceFfRC13CStateManager: /* 80190FD8 0018DF38 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 80190FDC 0018DF3C 7C 08 02 A6 */ mflr r0 /* 80190FE0 0018DF40 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 80190FE4 0018DF44 DB E1 01 90 */ stfd f31, 0x190(r1) /* 80190FE8 0018DF48 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 80190FEC 0018DF4C DB C1 01 80 */ stfd f30, 0x180(r1) /* 80190FF0 0018DF50 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 80190FF4 0018DF54 DB A1 01 70 */ stfd f29, 0x170(r1) /* 80190FF8 0018DF58 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 80190FFC 0018DF5C DB 81 01 60 */ stfd f28, 0x160(r1) /* 80191000 0018DF60 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 /* 80191004 0018DF64 BF 61 01 4C */ stmw r27, 0x14c(r1) /* 80191008 0018DF68 7C 7F 1B 78 */ mr r31, r3 /* 8019100C 0018DF6C 80 64 08 B8 */ lwz r3, 0x8b8(r4) /* 80191010 0018DF70 80 1F 00 04 */ lwz r0, 4(r31) /* 80191014 0018DF74 FF A0 08 90 */ fmr f29, f1 /* 80191018 0018DF78 83 C3 00 00 */ lwz r30, 0(r3) /* 8019101C 0018DF7C 2C 00 00 01 */ cmpwi r0, 1 /* 80191020 0018DF80 40 80 00 14 */ bge lbl_80191034 /* 80191024 0018DF84 80 7F 00 5C */ lwz r3, 0x5c(r31) /* 80191028 0018DF88 38 80 00 00 */ li r4, 0 /* 8019102C 0018DF8C 48 13 96 01 */ bl SetIsVisible__10CGuiWidgetFb /* 80191030 0018DF90 48 00 00 10 */ b lbl_80191040 lbl_80191034: /* 80191034 0018DF94 80 7F 00 5C */ lwz r3, 0x5c(r31) /* 80191038 0018DF98 38 80 00 01 */ li r4, 1 /* 8019103C 0018DF9C 48 13 95 F1 */ bl SetIsVisible__10CGuiWidgetFb lbl_80191040: /* 80191040 0018DFA0 C0 5F 00 54 */ lfs f2, 0x54(r31) /* 80191044 0018DFA4 C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 80191048 0018DFA8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019104C 0018DFAC 40 80 00 30 */ bge lbl_8019107C /* 80191050 0018DFB0 C0 22 A5 24 */ lfs f1, lbl_805AC244@sda21(r2) /* 80191054 0018DFB4 C0 02 A5 28 */ lfs f0, lbl_805AC248@sda21(r2) /* 80191058 0018DFB8 EC 21 17 7C */ fnmsubs f1, f1, f29, f2 /* 8019105C 0018DFBC D0 3F 00 54 */ stfs f1, 0x54(r31) /* 80191060 0018DFC0 C0 3F 00 54 */ lfs f1, 0x54(r31) /* 80191064 0018DFC4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80191068 0018DFC8 4C 40 13 82 */ cror 2, 0, 2 /* 8019106C 0018DFCC 40 82 00 3C */ bne lbl_801910A8 /* 80191070 0018DFD0 C0 02 A5 2C */ lfs f0, lbl_805AC24C@sda21(r2) /* 80191074 0018DFD4 D0 1F 00 54 */ stfs f0, 0x54(r31) /* 80191078 0018DFD8 48 00 00 30 */ b lbl_801910A8 lbl_8019107C: /* 8019107C 0018DFDC 40 81 00 2C */ ble lbl_801910A8 /* 80191080 0018DFE0 EC 22 E8 28 */ fsubs f1, f2, f29 /* 80191084 0018DFE4 C0 0D 8F 38 */ lfs f0, lbl_805A7AF8@sda21(r13) /* 80191088 0018DFE8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8019108C 0018DFEC D0 21 00 60 */ stfs f1, 0x60(r1) /* 80191090 0018DFF0 40 80 00 0C */ bge lbl_8019109C /* 80191094 0018DFF4 38 61 00 60 */ addi r3, r1, 0x60 /* 80191098 0018DFF8 48 00 00 08 */ b lbl_801910A0 lbl_8019109C: /* 8019109C 0018DFFC 38 6D 8F 38 */ addi r3, r13, lbl_805A7AF8@sda21 lbl_801910A0: /* 801910A0 0018E000 C0 03 00 00 */ lfs f0, 0(r3) /* 801910A4 0018E004 D0 1F 00 54 */ stfs f0, 0x54(r31) lbl_801910A8: /* 801910A8 0018E008 C0 1F 00 54 */ lfs f0, 0x54(r31) /* 801910AC 0018E00C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 801910B0 0018E010 FC 00 02 10 */ fabs f0, f0 /* 801910B4 0018E014 C0 22 A5 30 */ lfs f1, lbl_805AC250@sda21(r2) /* 801910B8 0018E018 3B A5 00 94 */ addi r29, r5, 0x94 /* 801910BC 0018E01C FC 00 00 18 */ frsp f0, f0 /* 801910C0 0018E020 EF 81 00 32 */ fmuls f28, f1, f0 /* 801910C4 0018E024 F3 81 A0 0B */ psq_st f28, 11(r1), 1, qr2 /* 801910C8 0018E028 38 61 00 5C */ addi r3, r1, 0x5c /* 801910CC 0018E02C 38 81 00 7C */ addi r4, r1, 0x7c /* 801910D0 0018E030 38 A5 00 28 */ addi r5, r5, 0x28 /* 801910D4 0018E034 88 01 00 0B */ lbz r0, 0xb(r1) /* 801910D8 0018E038 98 01 00 7C */ stb r0, 0x7c(r1) /* 801910DC 0018E03C 98 01 00 7D */ stb r0, 0x7d(r1) /* 801910E0 0018E040 98 01 00 7E */ stb r0, 0x7e(r1) /* 801910E4 0018E044 98 01 00 7F */ stb r0, 0x7f(r1) /* 801910E8 0018E048 48 1D 20 91 */ bl Modulate__6CColorFRC6CColorRC6CColor /* 801910EC 0018E04C 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801910F0 0018E050 C0 42 A5 20 */ lfs f2, lbl_805AC240@sda21(r2) /* 801910F4 0018E054 90 01 00 78 */ stw r0, 0x78(r1) /* 801910F8 0018E058 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801910FC 0018E05C FC 01 10 40 */ fcmpo cr0, f1, f2 /* 80191100 0018E060 40 81 00 48 */ ble lbl_80191148 /* 80191104 0018E064 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80191108 0018E068 7F A4 EB 78 */ mr r4, r29 /* 8019110C 0018E06C 38 61 00 58 */ addi r3, r1, 0x58 /* 80191110 0018E070 38 A5 00 A0 */ addi r5, r5, 0xa0 /* 80191114 0018E074 48 1D 21 99 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80191118 0018E078 80 01 00 58 */ lwz r0, 0x58(r1) /* 8019111C 0018E07C 38 61 00 54 */ addi r3, r1, 0x54 /* 80191120 0018E080 38 81 00 74 */ addi r4, r1, 0x74 /* 80191124 0018E084 38 A1 00 78 */ addi r5, r1, 0x78 /* 80191128 0018E088 90 01 00 74 */ stw r0, 0x74(r1) /* 8019112C 0018E08C 48 1D 1F 85 */ bl Add__6CColorFRC6CColorRC6CColor /* 80191130 0018E090 80 01 00 54 */ lwz r0, 0x54(r1) /* 80191134 0018E094 38 81 00 74 */ addi r4, r1, 0x74 /* 80191138 0018E098 90 01 00 74 */ stw r0, 0x74(r1) /* 8019113C 0018E09C 80 7F 00 74 */ lwz r3, 0x74(r31) /* 80191140 0018E0A0 48 13 97 2D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80191144 0018E0A4 48 00 01 40 */ b lbl_80191284 lbl_80191148: /* 80191148 0018E0A8 C0 1F 00 4C */ lfs f0, 0x4c(r31) /* 8019114C 0018E0AC FC 00 10 40 */ fcmpo cr0, f0, f2 /* 80191150 0018E0B0 40 81 00 D4 */ ble lbl_80191224 /* 80191154 0018E0B4 4B F0 00 A9 */ bl GetMissileComboChargeFactor__12CPlayerStateFv /* 80191158 0018E0B8 C0 5F 00 4C */ lfs f2, 0x4c(r31) /* 8019115C 0018E0BC C0 0D 8F 3C */ lfs f0, lbl_805A7AFC@sda21(r13) /* 80191160 0018E0C0 EC 22 08 24 */ fdivs f1, f2, f1 /* 80191164 0018E0C4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80191168 0018E0C8 D0 21 00 50 */ stfs f1, 0x50(r1) /* 8019116C 0018E0CC 40 80 00 0C */ bge lbl_80191178 /* 80191170 0018E0D0 38 61 00 50 */ addi r3, r1, 0x50 /* 80191174 0018E0D4 48 00 00 08 */ b lbl_8019117C lbl_80191178: /* 80191178 0018E0D8 38 6D 8F 3C */ addi r3, r13, lbl_805A7AFC@sda21 lbl_8019117C: /* 8019117C 0018E0DC C3 83 00 00 */ lfs f28, 0(r3) /* 80191180 0018E0E0 7F C3 F3 78 */ mr r3, r30 /* 80191184 0018E0E4 4B F0 00 99 */ bl GetMissileCostForAltAttack__12CPlayerStateCFv /* 80191188 0018E0E8 80 1F 00 08 */ lwz r0, 8(r31) /* 8019118C 0018E0EC 7C 00 18 00 */ cmpw r0, r3 /* 80191190 0018E0F0 41 80 00 4C */ blt lbl_801911DC /* 80191194 0018E0F4 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80191198 0018E0F8 FC 20 E0 90 */ fmr f1, f28 /* 8019119C 0018E0FC 7F A4 EB 78 */ mr r4, r29 /* 801911A0 0018E100 38 61 00 4C */ addi r3, r1, 0x4c /* 801911A4 0018E104 38 A5 00 98 */ addi r5, r5, 0x98 /* 801911A8 0018E108 48 1D 21 05 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801911AC 0018E10C 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801911B0 0018E110 38 61 00 48 */ addi r3, r1, 0x48 /* 801911B4 0018E114 38 81 00 70 */ addi r4, r1, 0x70 /* 801911B8 0018E118 38 A1 00 78 */ addi r5, r1, 0x78 /* 801911BC 0018E11C 90 01 00 70 */ stw r0, 0x70(r1) /* 801911C0 0018E120 48 1D 1E F1 */ bl Add__6CColorFRC6CColorRC6CColor /* 801911C4 0018E124 80 01 00 48 */ lwz r0, 0x48(r1) /* 801911C8 0018E128 38 81 00 70 */ addi r4, r1, 0x70 /* 801911CC 0018E12C 90 01 00 70 */ stw r0, 0x70(r1) /* 801911D0 0018E130 80 7F 00 74 */ lwz r3, 0x74(r31) /* 801911D4 0018E134 48 13 96 99 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801911D8 0018E138 48 00 00 AC */ b lbl_80191284 lbl_801911DC: /* 801911DC 0018E13C 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 801911E0 0018E140 FC 20 E0 90 */ fmr f1, f28 /* 801911E4 0018E144 7F A4 EB 78 */ mr r4, r29 /* 801911E8 0018E148 38 61 00 44 */ addi r3, r1, 0x44 /* 801911EC 0018E14C 38 A5 00 9C */ addi r5, r5, 0x9c /* 801911F0 0018E150 48 1D 20 BD */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801911F4 0018E154 80 01 00 44 */ lwz r0, 0x44(r1) /* 801911F8 0018E158 38 61 00 40 */ addi r3, r1, 0x40 /* 801911FC 0018E15C 38 81 00 6C */ addi r4, r1, 0x6c /* 80191200 0018E160 38 A1 00 78 */ addi r5, r1, 0x78 /* 80191204 0018E164 90 01 00 6C */ stw r0, 0x6c(r1) /* 80191208 0018E168 48 1D 1E A9 */ bl Add__6CColorFRC6CColorRC6CColor /* 8019120C 0018E16C 80 01 00 40 */ lwz r0, 0x40(r1) /* 80191210 0018E170 38 81 00 6C */ addi r4, r1, 0x6c /* 80191214 0018E174 90 01 00 6C */ stw r0, 0x6c(r1) /* 80191218 0018E178 80 7F 00 74 */ lwz r3, 0x74(r31) /* 8019121C 0018E17C 48 13 96 51 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80191220 0018E180 48 00 00 64 */ b lbl_80191284 lbl_80191224: /* 80191224 0018E184 88 1F 00 58 */ lbz r0, 0x58(r31) /* 80191228 0018E188 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8019122C 0018E18C 41 82 00 30 */ beq lbl_8019125C /* 80191230 0018E190 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191234 0018E194 38 61 00 3C */ addi r3, r1, 0x3c /* 80191238 0018E198 38 A1 00 78 */ addi r5, r1, 0x78 /* 8019123C 0018E19C 38 84 00 28 */ addi r4, r4, 0x28 /* 80191240 0018E1A0 48 1D 1E 71 */ bl Add__6CColorFRC6CColorRC6CColor /* 80191244 0018E1A4 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80191248 0018E1A8 38 81 00 68 */ addi r4, r1, 0x68 /* 8019124C 0018E1AC 90 01 00 68 */ stw r0, 0x68(r1) /* 80191250 0018E1B0 80 7F 00 74 */ lwz r3, 0x74(r31) /* 80191254 0018E1B4 48 13 96 19 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80191258 0018E1B8 48 00 00 2C */ b lbl_80191284 lbl_8019125C: /* 8019125C 0018E1BC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191260 0018E1C0 38 61 00 38 */ addi r3, r1, 0x38 /* 80191264 0018E1C4 38 A1 00 78 */ addi r5, r1, 0x78 /* 80191268 0018E1C8 38 84 00 94 */ addi r4, r4, 0x94 /* 8019126C 0018E1CC 48 1D 1E 45 */ bl Add__6CColorFRC6CColorRC6CColor /* 80191270 0018E1D0 80 01 00 38 */ lwz r0, 0x38(r1) /* 80191274 0018E1D4 38 81 00 64 */ addi r4, r1, 0x64 /* 80191278 0018E1D8 90 01 00 64 */ stw r0, 0x64(r1) /* 8019127C 0018E1DC 80 7F 00 74 */ lwz r3, 0x74(r31) /* 80191280 0018E1E0 48 13 95 ED */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80191284: /* 80191284 0018E1E4 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80191288 0018E1E8 C0 0D 8F 40 */ lfs f0, lbl_805A7B00@sda21(r13) /* 8019128C 0018E1EC EC 21 E8 28 */ fsubs f1, f1, f29 /* 80191290 0018E1F0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80191294 0018E1F4 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80191298 0018E1F8 40 80 00 0C */ bge lbl_801912A4 /* 8019129C 0018E1FC 38 61 00 34 */ addi r3, r1, 0x34 /* 801912A0 0018E200 48 00 00 08 */ b lbl_801912A8 lbl_801912A4: /* 801912A4 0018E204 38 6D 8F 40 */ addi r3, r13, lbl_805A7B00@sda21 lbl_801912A8: /* 801912A8 0018E208 C0 03 00 00 */ lfs f0, 0(r3) /* 801912AC 0018E20C 3C 00 43 30 */ lis r0, 0x4330 /* 801912B0 0018E210 90 01 01 30 */ stw r0, 0x130(r1) /* 801912B4 0018E214 C8 22 A5 48 */ lfd f1, lbl_805AC268@sda21(r2) /* 801912B8 0018E218 D0 1F 00 50 */ stfs f0, 0x50(r31) /* 801912BC 0018E21C 80 1F 00 04 */ lwz r0, 4(r31) /* 801912C0 0018E220 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801912C4 0018E224 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 801912C8 0018E228 90 01 01 34 */ stw r0, 0x134(r1) /* 801912CC 0018E22C C8 01 01 30 */ lfd f0, 0x130(r1) /* 801912D0 0018E230 EC 20 08 28 */ fsubs f1, f0, f1 /* 801912D4 0018E234 48 13 A6 95 */ bl SetMaxEnergy__16CAuiEnergyBarT01Ff /* 801912D8 0018E238 80 7F 00 08 */ lwz r3, 8(r31) /* 801912DC 0018E23C 3C 00 43 30 */ lis r0, 0x4330 /* 801912E0 0018E240 90 01 01 38 */ stw r0, 0x138(r1) /* 801912E4 0018E244 38 80 00 00 */ li r4, 0 /* 801912E8 0018E248 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 801912EC 0018E24C C8 22 A5 48 */ lfd f1, lbl_805AC268@sda21(r2) /* 801912F0 0018E250 90 01 01 3C */ stw r0, 0x13c(r1) /* 801912F4 0018E254 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801912F8 0018E258 C8 01 01 38 */ lfd f0, 0x138(r1) /* 801912FC 0018E25C EC 20 08 28 */ fsubs f1, f0, f1 /* 80191300 0018E260 48 13 A5 C9 */ bl SetCurrEnergy__16CAuiEnergyBarT01Ffb /* 80191304 0018E264 88 1F 00 58 */ lbz r0, 0x58(r31) /* 80191308 0018E268 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8019130C 0018E26C 41 82 00 9C */ beq lbl_801913A8 /* 80191310 0018E270 80 9F 00 08 */ lwz r4, 8(r31) /* 80191314 0018E274 3C E0 43 30 */ lis r7, 0x4330 /* 80191318 0018E278 80 1F 00 04 */ lwz r0, 4(r31) /* 8019131C 0018E27C 3C 60 80 3D */ lis r3, lbl_803D0D08@ha /* 80191320 0018E280 6C 85 80 00 */ xoris r5, r4, 0x8000 /* 80191324 0018E284 80 9F 00 00 */ lwz r4, 0(r31) /* 80191328 0018E288 90 A1 01 3C */ stw r5, 0x13c(r1) /* 8019132C 0018E28C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80191330 0018E290 C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 80191334 0018E294 54 86 10 3A */ slwi r6, r4, 2 /* 80191338 0018E298 90 E1 01 38 */ stw r7, 0x138(r1) /* 8019133C 0018E29C 38 A3 0D 08 */ addi r5, r3, lbl_803D0D08@l /* 80191340 0018E2A0 C8 82 A5 48 */ lfd f4, lbl_805AC268@sda21(r2) /* 80191344 0018E2A4 38 61 00 CC */ addi r3, r1, 0xcc /* 80191348 0018E2A8 C8 21 01 38 */ lfd f1, 0x138(r1) /* 8019134C 0018E2AC 38 81 00 B0 */ addi r4, r1, 0xb0 /* 80191350 0018E2B0 90 01 01 34 */ stw r0, 0x134(r1) /* 80191354 0018E2B4 EC 61 20 28 */ fsubs f3, f1, f4 /* 80191358 0018E2B8 7C 45 34 2E */ lfsx f2, r5, r6 /* 8019135C 0018E2BC 90 E1 01 30 */ stw r7, 0x130(r1) /* 80191360 0018E2C0 C8 21 01 30 */ lfd f1, 0x130(r1) /* 80191364 0018E2C4 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80191368 0018E2C8 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 8019136C 0018E2CC EC 21 20 28 */ fsubs f1, f1, f4 /* 80191370 0018E2D0 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 80191374 0018E2D4 EC 02 08 24 */ fdivs f0, f2, f1 /* 80191378 0018E2D8 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8019137C 0018E2DC 48 18 1D C5 */ bl Translate__12CTransform4fFRC9CVector3f /* 80191380 0018E2E0 38 61 00 FC */ addi r3, r1, 0xfc /* 80191384 0018E2E4 38 9F 00 10 */ addi r4, r31, 0x10 /* 80191388 0018E2E8 38 A1 00 CC */ addi r5, r1, 0xcc /* 8019138C 0018E2EC 48 18 15 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80191390 0018E2F0 83 DF 00 74 */ lwz r30, 0x74(r31) /* 80191394 0018E2F4 38 81 00 FC */ addi r4, r1, 0xfc /* 80191398 0018E2F8 38 7E 00 04 */ addi r3, r30, 4 /* 8019139C 0018E2FC 48 18 17 A5 */ bl __as__12CTransform4fFRC12CTransform4f /* 801913A0 0018E300 7F C3 F3 78 */ mr r3, r30 /* 801913A4 0018E304 48 13 34 45 */ bl RecalculateTransforms__10CGuiObjectFv lbl_801913A8: /* 801913A8 0018E308 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801913AC 0018E30C 83 CD A1 3C */ lwz r30, gpTweakGuiColors@sda21(r13) /* 801913B0 0018E310 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801913B4 0018E314 41 82 01 5C */ beq lbl_80191510 /* 801913B8 0018E318 C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801913BC 0018E31C C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 801913C0 0018E320 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801913C4 0018E324 40 81 00 98 */ ble lbl_8019145C /* 801913C8 0018E328 EC 21 E8 28 */ fsubs f1, f1, f29 /* 801913CC 0018E32C C0 0D 8F 44 */ lfs f0, lbl_805A7B04@sda21(r13) /* 801913D0 0018E330 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801913D4 0018E334 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801913D8 0018E338 40 80 00 0C */ bge lbl_801913E4 /* 801913DC 0018E33C 38 61 00 30 */ addi r3, r1, 0x30 /* 801913E0 0018E340 48 00 00 08 */ b lbl_801913E8 lbl_801913E4: /* 801913E4 0018E344 38 6D 8F 44 */ addi r3, r13, lbl_805A7B04@sda21 lbl_801913E8: /* 801913E8 0018E348 C0 03 00 00 */ lfs f0, 0(r3) /* 801913EC 0018E34C 38 80 00 01 */ li r4, 1 /* 801913F0 0018E350 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801913F4 0018E354 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 801913F8 0018E358 C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801913FC 0018E35C C0 03 00 F4 */ lfs f0, 0xf4(r3) /* 80191400 0018E360 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80191404 0018E364 EF 81 00 24 */ fdivs f28, f1, f0 /* 80191408 0018E368 48 13 92 25 */ bl SetIsVisible__10CGuiWidgetFb /* 8019140C 0018E36C 88 7E 00 2B */ lbz r3, 0x2b(r30) /* 80191410 0018E370 3C 00 43 30 */ lis r0, 0x4330 /* 80191414 0018E374 90 01 01 38 */ stw r0, 0x138(r1) /* 80191418 0018E378 C8 22 A5 50 */ lfd f1, lbl_805AC270@sda21(r2) /* 8019141C 0018E37C 90 61 01 3C */ stw r3, 0x13c(r1) /* 80191420 0018E380 C8 01 01 38 */ lfd f0, 0x138(r1) /* 80191424 0018E384 EC 00 08 28 */ fsubs f0, f0, f1 /* 80191428 0018E388 EF FC 00 32 */ fmuls f31, f28, f0 /* 8019142C 0018E38C F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 /* 80191430 0018E390 38 81 00 2C */ addi r4, r1, 0x2c /* 80191434 0018E394 80 7E 00 28 */ lwz r3, 0x28(r30) /* 80191438 0018E398 88 01 00 0A */ lbz r0, 0xa(r1) /* 8019143C 0018E39C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80191440 0018E3A0 90 01 00 2C */ stw r0, 0x2c(r1) /* 80191444 0018E3A4 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80191448 0018E3A8 48 13 94 25 */ bl SetColor__10CGuiWidgetFRC6CColor /* 8019144C 0018E3AC 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80191450 0018E3B0 38 80 00 00 */ li r4, 0 /* 80191454 0018E3B4 48 13 91 D9 */ bl SetIsVisible__10CGuiWidgetFb /* 80191458 0018E3B8 48 00 00 B8 */ b lbl_80191510 lbl_8019145C: /* 8019145C 0018E3BC 40 80 00 9C */ bge lbl_801914F8 /* 80191460 0018E3C0 EC 21 E8 2A */ fadds f1, f1, f29 /* 80191464 0018E3C4 C0 0D 8F 48 */ lfs f0, lbl_805A7B08@sda21(r13) /* 80191468 0018E3C8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019146C 0018E3CC D0 21 00 28 */ stfs f1, 0x28(r1) /* 80191470 0018E3D0 40 80 00 0C */ bge lbl_8019147C /* 80191474 0018E3D4 38 61 00 28 */ addi r3, r1, 0x28 /* 80191478 0018E3D8 48 00 00 08 */ b lbl_80191480 lbl_8019147C: /* 8019147C 0018E3DC 38 6D 8F 48 */ addi r3, r13, lbl_805A7B08@sda21 lbl_80191480: /* 80191480 0018E3E0 C0 03 00 00 */ lfs f0, 0(r3) /* 80191484 0018E3E4 38 80 00 01 */ li r4, 1 /* 80191488 0018E3E8 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8019148C 0018E3EC C0 1F 00 0C */ lfs f0, 0xc(r31) /* 80191490 0018E3F0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 80191494 0018E3F4 FC 20 00 50 */ fneg f1, f0 /* 80191498 0018E3F8 80 7F 00 70 */ lwz r3, 0x70(r31) /* 8019149C 0018E3FC C0 05 00 F4 */ lfs f0, 0xf4(r5) /* 801914A0 0018E400 EF 81 00 24 */ fdivs f28, f1, f0 /* 801914A4 0018E404 48 13 91 89 */ bl SetIsVisible__10CGuiWidgetFb /* 801914A8 0018E408 88 7E 00 2B */ lbz r3, 0x2b(r30) /* 801914AC 0018E40C 3C 00 43 30 */ lis r0, 0x4330 /* 801914B0 0018E410 90 01 01 38 */ stw r0, 0x138(r1) /* 801914B4 0018E414 C8 22 A5 50 */ lfd f1, lbl_805AC270@sda21(r2) /* 801914B8 0018E418 90 61 01 3C */ stw r3, 0x13c(r1) /* 801914BC 0018E41C C8 01 01 38 */ lfd f0, 0x138(r1) /* 801914C0 0018E420 EC 00 08 28 */ fsubs f0, f0, f1 /* 801914C4 0018E424 EF FC 00 32 */ fmuls f31, f28, f0 /* 801914C8 0018E428 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 /* 801914CC 0018E42C 38 81 00 24 */ addi r4, r1, 0x24 /* 801914D0 0018E430 80 7E 00 28 */ lwz r3, 0x28(r30) /* 801914D4 0018E434 88 01 00 09 */ lbz r0, 9(r1) /* 801914D8 0018E438 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801914DC 0018E43C 90 01 00 24 */ stw r0, 0x24(r1) /* 801914E0 0018E440 80 7F 00 70 */ lwz r3, 0x70(r31) /* 801914E4 0018E444 48 13 93 89 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801914E8 0018E448 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 801914EC 0018E44C 38 80 00 00 */ li r4, 0 /* 801914F0 0018E450 48 13 91 3D */ bl SetIsVisible__10CGuiWidgetFb /* 801914F4 0018E454 48 00 00 1C */ b lbl_80191510 lbl_801914F8: /* 801914F8 0018E458 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 801914FC 0018E45C 38 80 00 00 */ li r4, 0 /* 80191500 0018E460 48 13 91 2D */ bl SetIsVisible__10CGuiWidgetFb /* 80191504 0018E464 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80191508 0018E468 38 80 00 00 */ li r4, 0 /* 8019150C 0018E46C 48 13 91 21 */ bl SetIsVisible__10CGuiWidgetFb lbl_80191510: /* 80191510 0018E470 80 1F 00 68 */ lwz r0, 0x68(r31) /* 80191514 0018E474 28 00 00 00 */ cmplwi r0, 0 /* 80191518 0018E478 41 82 02 BC */ beq lbl_801917D4 /* 8019151C 0018E47C 7F E3 FB 78 */ mr r3, r31 /* 80191520 0018E480 48 00 08 21 */ bl GetMissileInventoryStatus__20CHudMissileInterfaceFv /* 80191524 0018E484 80 1F 00 44 */ lwz r0, 0x44(r31) /* 80191528 0018E488 7C 7E 1B 78 */ mr r30, r3 /* 8019152C 0018E48C 7C 1E 00 00 */ cmpw r30, r0 /* 80191530 0018E490 41 82 01 54 */ beq lbl_80191684 /* 80191534 0018E494 2C 1E 00 01 */ cmpwi r30, 1 /* 80191538 0018E498 3B A0 00 00 */ li r29, 0 /* 8019153C 0018E49C 3B 80 00 00 */ li r28, 0 /* 80191540 0018E4A0 3B 60 00 00 */ li r27, 0 /* 80191544 0018E4A4 40 82 00 28 */ bne lbl_8019156C /* 80191548 0018E4A8 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 8019154C 0018E4AC 38 80 00 0C */ li r4, 0xc /* 80191550 0018E4B0 48 1C 51 AD */ bl GetString__12CStringTableCFi /* 80191554 0018E4B4 7C 64 1B 78 */ mr r4, r3 /* 80191558 0018E4B8 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8019155C 0018E4BC 4B E8 44 95 */ bl wstring_l__4rstlFPCw /* 80191560 0018E4C0 38 81 00 A0 */ addi r4, r1, 0xa0 /* 80191564 0018E4C4 3B A0 00 01 */ li r29, 1 /* 80191568 0018E4C8 48 00 00 44 */ b lbl_801915AC lbl_8019156C: /* 8019156C 0018E4CC 2C 1E 00 02 */ cmpwi r30, 2 /* 80191570 0018E4D0 40 82 00 28 */ bne lbl_80191598 /* 80191574 0018E4D4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80191578 0018E4D8 38 80 00 0D */ li r4, 0xd /* 8019157C 0018E4DC 48 1C 51 81 */ bl GetString__12CStringTableCFi /* 80191580 0018E4E0 7C 64 1B 78 */ mr r4, r3 /* 80191584 0018E4E4 38 61 00 90 */ addi r3, r1, 0x90 /* 80191588 0018E4E8 4B E8 44 69 */ bl wstring_l__4rstlFPCw /* 8019158C 0018E4EC 38 81 00 90 */ addi r4, r1, 0x90 /* 80191590 0018E4F0 3B 80 00 01 */ li r28, 1 /* 80191594 0018E4F4 48 00 00 18 */ b lbl_801915AC lbl_80191598: /* 80191598 0018E4F8 38 61 00 80 */ addi r3, r1, 0x80 /* 8019159C 0018E4FC 38 8D 8F 5C */ addi r4, r13, lbl_805A7B1C@sda21 /* 801915A0 0018E500 4B E8 44 51 */ bl wstring_l__4rstlFPCw /* 801915A4 0018E504 3B 60 00 01 */ li r27, 1 /* 801915A8 0018E508 38 81 00 80 */ addi r4, r1, 0x80 lbl_801915AC: /* 801915AC 0018E50C 38 61 00 BC */ addi r3, r1, 0xbc /* 801915B0 0018E510 48 1A C1 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801915B4 0018E514 7F 60 07 75 */ extsb. r0, r27 /* 801915B8 0018E518 41 82 00 0C */ beq lbl_801915C4 /* 801915BC 0018E51C 38 61 00 80 */ addi r3, r1, 0x80 /* 801915C0 0018E520 48 1A BB 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801915C4: /* 801915C4 0018E524 7F 80 07 75 */ extsb. r0, r28 /* 801915C8 0018E528 41 82 00 0C */ beq lbl_801915D4 /* 801915CC 0018E52C 38 61 00 90 */ addi r3, r1, 0x90 /* 801915D0 0018E530 48 1A BB 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801915D4: /* 801915D4 0018E534 7F A0 07 75 */ extsb. r0, r29 /* 801915D8 0018E538 41 82 00 0C */ beq lbl_801915E4 /* 801915DC 0018E53C 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801915E0 0018E540 48 1A BB 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801915E4: /* 801915E4 0018E544 80 7F 00 68 */ lwz r3, 0x68(r31) /* 801915E8 0018E548 38 81 00 BC */ addi r4, r1, 0xbc /* 801915EC 0018E54C 38 A0 00 00 */ li r5, 0 /* 801915F0 0018E550 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801915F4 0018E554 48 13 82 91 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801915F8 0018E558 80 1F 00 44 */ lwz r0, 0x44(r31) /* 801915FC 0018E55C 2C 00 00 00 */ cmpwi r0, 0 /* 80191600 0018E560 40 82 00 40 */ bne lbl_80191640 /* 80191604 0018E564 2C 1E 00 01 */ cmpwi r30, 1 /* 80191608 0018E568 40 82 00 38 */ bne lbl_80191640 /* 8019160C 0018E56C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80191610 0018E570 38 61 00 20 */ addi r3, r1, 0x20 /* 80191614 0018E574 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80191618 0018E578 38 80 05 75 */ li r4, 0x575 /* 8019161C 0018E57C 38 A0 00 7F */ li r5, 0x7f /* 80191620 0018E580 38 C0 00 40 */ li r6, 0x40 /* 80191624 0018E584 38 E0 00 00 */ li r7, 0 /* 80191628 0018E588 39 20 00 00 */ li r9, 0 /* 8019162C 0018E58C 48 15 87 49 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80191630 0018E590 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80191634 0018E594 C0 03 01 A0 */ lfs f0, 0x1a0(r3) /* 80191638 0018E598 D0 1F 00 48 */ stfs f0, 0x48(r31) /* 8019163C 0018E59C 48 00 00 3C */ b lbl_80191678 lbl_80191640: /* 80191640 0018E5A0 2C 1E 00 02 */ cmpwi r30, 2 /* 80191644 0018E5A4 40 82 00 34 */ bne lbl_80191678 /* 80191648 0018E5A8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8019164C 0018E5AC 38 61 00 1C */ addi r3, r1, 0x1c /* 80191650 0018E5B0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80191654 0018E5B4 38 80 05 75 */ li r4, 0x575 /* 80191658 0018E5B8 38 A0 00 7F */ li r5, 0x7f /* 8019165C 0018E5BC 38 C0 00 40 */ li r6, 0x40 /* 80191660 0018E5C0 38 E0 00 00 */ li r7, 0 /* 80191664 0018E5C4 39 20 00 00 */ li r9, 0 /* 80191668 0018E5C8 48 15 87 0D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8019166C 0018E5CC 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80191670 0018E5D0 C0 03 01 A0 */ lfs f0, 0x1a0(r3) /* 80191674 0018E5D4 D0 1F 00 48 */ stfs f0, 0x48(r31) lbl_80191678: /* 80191678 0018E5D8 93 DF 00 44 */ stw r30, 0x44(r31) /* 8019167C 0018E5DC 38 61 00 BC */ addi r3, r1, 0xbc /* 80191680 0018E5E0 48 1A BA B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80191684: /* 80191684 0018E5E4 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80191688 0018E5E8 C0 0D 8F 4C */ lfs f0, lbl_805A7B0C@sda21(r13) /* 8019168C 0018E5EC EC 21 E8 28 */ fsubs f1, f1, f29 /* 80191690 0018E5F0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80191694 0018E5F4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80191698 0018E5F8 40 80 00 0C */ bge lbl_801916A4 /* 8019169C 0018E5FC 38 61 00 18 */ addi r3, r1, 0x18 /* 801916A0 0018E600 48 00 00 08 */ b lbl_801916A8 lbl_801916A4: /* 801916A4 0018E604 38 6D 8F 4C */ addi r3, r13, lbl_805A7B0C@sda21 lbl_801916A8: /* 801916A8 0018E608 C0 03 00 00 */ lfs f0, 0(r3) /* 801916AC 0018E60C D0 1F 00 48 */ stfs f0, 0x48(r31) /* 801916B0 0018E610 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801916B4 0018E614 C0 0D 8F 50 */ lfs f0, lbl_805A7B10@sda21(r13) /* 801916B8 0018E618 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801916BC 0018E61C 40 80 00 0C */ bge lbl_801916C8 /* 801916C0 0018E620 38 7F 00 48 */ addi r3, r31, 0x48 /* 801916C4 0018E624 48 00 00 08 */ b lbl_801916CC lbl_801916C8: /* 801916C8 0018E628 38 6D 8F 50 */ addi r3, r13, lbl_805A7B10@sda21 lbl_801916CC: /* 801916CC 0018E62C 80 1F 00 44 */ lwz r0, 0x44(r31) /* 801916D0 0018E630 C3 E3 00 00 */ lfs f31, 0(r3) /* 801916D4 0018E634 2C 00 00 00 */ cmpwi r0, 0 /* 801916D8 0018E638 41 82 00 38 */ beq lbl_80191710 /* 801916DC 0018E63C C0 42 A5 34 */ lfs f2, lbl_805AC254@sda21(r2) /* 801916E0 0018E640 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801916E4 0018E644 C0 0D 8F 54 */ lfs f0, lbl_805A7B14@sda21(r13) /* 801916E8 0018E648 EC 22 0F 7A */ fmadds f1, f2, f29, f1 /* 801916EC 0018E64C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801916F0 0018E650 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801916F4 0018E654 40 80 00 0C */ bge lbl_80191700 /* 801916F8 0018E658 38 61 00 14 */ addi r3, r1, 0x14 /* 801916FC 0018E65C 48 00 00 08 */ b lbl_80191704 lbl_80191700: /* 80191700 0018E660 38 6D 8F 54 */ addi r3, r13, lbl_805A7B14@sda21 lbl_80191704: /* 80191704 0018E664 C0 03 00 00 */ lfs f0, 0(r3) /* 80191708 0018E668 D0 1F 00 40 */ stfs f0, 0x40(r31) /* 8019170C 0018E66C 48 00 00 34 */ b lbl_80191740 lbl_80191710: /* 80191710 0018E670 C0 42 A5 34 */ lfs f2, lbl_805AC254@sda21(r2) /* 80191714 0018E674 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 80191718 0018E678 C0 0D 8F 58 */ lfs f0, lbl_805A7B18@sda21(r13) /* 8019171C 0018E67C EC 22 0F 7C */ fnmsubs f1, f2, f29, f1 /* 80191720 0018E680 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80191724 0018E684 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80191728 0018E688 40 80 00 0C */ bge lbl_80191734 /* 8019172C 0018E68C 38 61 00 10 */ addi r3, r1, 0x10 /* 80191730 0018E690 48 00 00 08 */ b lbl_80191738 lbl_80191734: /* 80191734 0018E694 38 6D 8F 58 */ addi r3, r13, lbl_805A7B18@sda21 lbl_80191738: /* 80191738 0018E698 C0 03 00 00 */ lfs f0, 0(r3) /* 8019173C 0018E69C D0 1F 00 40 */ stfs f0, 0x40(r31) lbl_80191740: /* 80191740 0018E6A0 48 17 87 A1 */ bl GetSecondsMod900__9CGraphicsFv /* 80191744 0018E6A4 C8 42 A5 38 */ lfd f2, lbl_805AC258@sda21(r2) /* 80191748 0018E6A8 48 20 35 65 */ bl fmod /* 8019174C 0018E6AC FC 00 08 18 */ frsp f0, f1 /* 80191750 0018E6B0 C0 22 A5 40 */ lfs f1, lbl_805AC260@sda21(r2) /* 80191754 0018E6B4 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 80191758 0018E6B8 FC 00 02 10 */ fabs f0, f0 /* 8019175C 0018E6BC FC 60 00 18 */ frsp f3, f0 /* 80191760 0018E6C0 FC 03 08 40 */ fcmpo cr0, f3, f1 /* 80191764 0018E6C4 40 80 00 0C */ bge lbl_80191770 /* 80191768 0018E6C8 EC 03 08 24 */ fdivs f0, f3, f1 /* 8019176C 0018E6CC 48 00 00 10 */ b lbl_8019177C lbl_80191770: /* 80191770 0018E6D0 C0 02 A5 44 */ lfs f0, lbl_805AC264@sda21(r2) /* 80191774 0018E6D4 EC 00 18 28 */ fsubs f0, f0, f3 /* 80191778 0018E6D8 EC 00 08 24 */ fdivs f0, f0, f1 lbl_8019177C: /* 8019177C 0018E6DC EC 02 00 32 */ fmuls f0, f2, f0 /* 80191780 0018E6E0 EF 9F 00 32 */ fmuls f28, f31, f0 /* 80191784 0018E6E4 48 1B 88 29 */ bl White__6CColorFv /* 80191788 0018E6E8 C0 02 A5 30 */ lfs f0, lbl_805AC250@sda21(r2) /* 8019178C 0018E6EC EF C0 07 32 */ fmuls f30, f0, f28 /* 80191790 0018E6F0 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 80191794 0018E6F4 38 81 00 0C */ addi r4, r1, 0xc /* 80191798 0018E6F8 80 63 00 00 */ lwz r3, 0(r3) /* 8019179C 0018E6FC 88 01 00 08 */ lbz r0, 8(r1) /* 801917A0 0018E700 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801917A4 0018E704 90 01 00 0C */ stw r0, 0xc(r1) /* 801917A8 0018E708 80 7F 00 68 */ lwz r3, 0x68(r31) /* 801917AC 0018E70C 48 13 90 C1 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801917B0 0018E710 80 7F 00 68 */ lwz r3, 0x68(r31) /* 801917B4 0018E714 88 03 00 AB */ lbz r0, 0xab(r3) /* 801917B8 0018E718 28 00 00 00 */ cmplwi r0, 0 /* 801917BC 0018E71C 41 82 00 10 */ beq lbl_801917CC /* 801917C0 0018E720 38 80 00 01 */ li r4, 1 /* 801917C4 0018E724 48 13 8E 69 */ bl SetIsVisible__10CGuiWidgetFb /* 801917C8 0018E728 48 00 00 0C */ b lbl_801917D4 lbl_801917CC: /* 801917CC 0018E72C 38 80 00 00 */ li r4, 0 /* 801917D0 0018E730 48 13 8E 5D */ bl SetIsVisible__10CGuiWidgetFb lbl_801917D4: /* 801917D4 0018E734 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 801917D8 0018E738 CB E1 01 90 */ lfd f31, 0x190(r1) /* 801917DC 0018E73C E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 801917E0 0018E740 CB C1 01 80 */ lfd f30, 0x180(r1) /* 801917E4 0018E744 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 801917E8 0018E748 CB A1 01 70 */ lfd f29, 0x170(r1) /* 801917EC 0018E74C E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 /* 801917F0 0018E750 CB 81 01 60 */ lfd f28, 0x160(r1) /* 801917F4 0018E754 BB 61 01 4C */ lmw r27, 0x14c(r1) /* 801917F8 0018E758 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 801917FC 0018E75C 7C 08 03 A6 */ mtlr r0 /* 80191800 0018E760 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 80191804 0018E764 4E 80 00 20 */ blr .global UpdateVisibility__20CHudMissileInterfaceFRC13CStateManager UpdateVisibility__20CHudMissileInterfaceFRC13CStateManager: /* 80191808 0018E768 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8019180C 0018E76C 7C 08 02 A6 */ mflr r0 /* 80191810 0018E770 90 01 00 24 */ stw r0, 0x24(r1) /* 80191814 0018E774 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80191818 0018E778 3B E0 00 00 */ li r31, 0 /* 8019181C 0018E77C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80191820 0018E780 93 A1 00 14 */ stw r29, 0x14(r1) /* 80191824 0018E784 7C 9D 23 78 */ mr r29, r4 /* 80191828 0018E788 93 81 00 10 */ stw r28, 0x10(r1) /* 8019182C 0018E78C 7C 7C 1B 78 */ mr r28, r3 /* 80191830 0018E790 88 63 00 58 */ lbz r3, 0x58(r3) /* 80191834 0018E794 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 80191838 0018E798 41 82 00 10 */ beq lbl_80191848 /* 8019183C 0018E79C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 80191840 0018E7A0 41 82 00 08 */ beq lbl_80191848 /* 80191844 0018E7A4 3B E0 00 01 */ li r31, 1 lbl_80191848: /* 80191848 0018E7A8 57 FE 06 3E */ clrlwi r30, r31, 0x18 /* 8019184C 0018E7AC 80 7C 00 5C */ lwz r3, 0x5c(r28) /* 80191850 0018E7B0 7F C4 F3 78 */ mr r4, r30 /* 80191854 0018E7B4 38 A0 00 01 */ li r5, 1 /* 80191858 0018E7B8 48 13 8E 91 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 8019185C 0018E7BC 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191860 0018E7C0 7F C4 F3 78 */ mr r4, r30 /* 80191864 0018E7C4 38 A0 00 01 */ li r5, 1 /* 80191868 0018E7C8 48 13 8E 81 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 8019186C 0018E7CC 7F C0 F3 79 */ or. r0, r30, r30 /* 80191870 0018E7D0 41 82 00 14 */ beq lbl_80191884 /* 80191874 0018E7D4 C0 22 A5 20 */ lfs f1, lbl_805AC240@sda21(r2) /* 80191878 0018E7D8 7F 83 E3 78 */ mr r3, r28 /* 8019187C 0018E7DC 7F A4 EB 78 */ mr r4, r29 /* 80191880 0018E7E0 4B FF F7 59 */ bl Update__20CHudMissileInterfaceFfRC13CStateManager lbl_80191884: /* 80191884 0018E7E4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80191888 0018E7E8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019188C 0018E7EC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80191890 0018E7F0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80191894 0018E7F4 83 81 00 10 */ lwz r28, 0x10(r1) /* 80191898 0018E7F8 7C 08 03 A6 */ mtlr r0 /* 8019189C 0018E7FC 38 21 00 20 */ addi r1, r1, 0x20 /* 801918A0 0018E800 4E 80 00 20 */ blr .global SetIsVisibleGame__20CHudMissileInterfaceFbRC13CStateManager SetIsVisibleGame__20CHudMissileInterfaceFbRC13CStateManager: /* 801918A4 0018E804 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801918A8 0018E808 7C 08 02 A6 */ mflr r0 /* 801918AC 0018E80C 90 01 00 14 */ stw r0, 0x14(r1) /* 801918B0 0018E810 88 03 00 58 */ lbz r0, 0x58(r3) /* 801918B4 0018E814 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801918B8 0018E818 7C A4 2B 78 */ mr r4, r5 /* 801918BC 0018E81C 98 03 00 58 */ stb r0, 0x58(r3) /* 801918C0 0018E820 4B FF FF 49 */ bl UpdateVisibility__20CHudMissileInterfaceFRC13CStateManager /* 801918C4 0018E824 80 01 00 14 */ lwz r0, 0x14(r1) /* 801918C8 0018E828 7C 08 03 A6 */ mtlr r0 /* 801918CC 0018E82C 38 21 00 10 */ addi r1, r1, 0x10 /* 801918D0 0018E830 4E 80 00 20 */ blr .global SetIsMissilesActive__20CHudMissileInterfaceFb SetIsMissilesActive__20CHudMissileInterfaceFb: /* 801918D4 0018E834 88 03 00 58 */ lbz r0, 0x58(r3) /* 801918D8 0018E838 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801918DC 0018E83C 98 03 00 58 */ stb r0, 0x58(r3) /* 801918E0 0018E840 4E 80 00 20 */ blr .global SetChargeBeamFactor__20CHudMissileInterfaceFf SetChargeBeamFactor__20CHudMissileInterfaceFf: /* 801918E4 0018E844 D0 23 00 4C */ stfs f1, 0x4c(r3) /* 801918E8 0018E848 4E 80 00 20 */ blr .global SetNumMissiles__20CHudMissileInterfaceFiRC13CStateManager SetNumMissiles__20CHudMissileInterfaceFiRC13CStateManager: /* 801918EC 0018E84C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801918F0 0018E850 7C 08 02 A6 */ mflr r0 /* 801918F4 0018E854 90 01 00 34 */ stw r0, 0x34(r1) /* 801918F8 0018E858 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801918FC 0018E85C 7C BF 2B 78 */ mr r31, r5 /* 80191900 0018E860 38 AD 8F 34 */ addi r5, r13, lbl_805A7AF4@sda21 /* 80191904 0018E864 93 C1 00 28 */ stw r30, 0x28(r1) /* 80191908 0018E868 7C 7E 1B 78 */ mr r30, r3 /* 8019190C 0018E86C 38 6D 8F 30 */ addi r3, r13, lbl_805A7AF0@sda21 /* 80191910 0018E870 90 81 00 08 */ stw r4, 8(r1) /* 80191914 0018E874 38 81 00 08 */ addi r4, r1, 8 /* 80191918 0018E878 4B EC 87 4D */ bl "Clamp__5CMathFRCiRCiRCi" /* 8019191C 0018E87C 3C 80 80 3D */ lis r4, lbl_803D0D30@ha /* 80191920 0018E880 80 A3 00 00 */ lwz r5, 0(r3) /* 80191924 0018E884 38 84 0D 30 */ addi r4, r4, lbl_803D0D30@l /* 80191928 0018E888 38 61 00 10 */ addi r3, r1, 0x10 /* 8019192C 0018E88C 4C C6 31 82 */ crclr 6 /* 80191930 0018E890 48 1F C3 AD */ bl sprintf /* 80191934 0018E894 38 61 00 14 */ addi r3, r1, 0x14 /* 80191938 0018E898 38 81 00 10 */ addi r4, r1, 0x10 /* 8019193C 0018E89C 38 C1 00 0C */ addi r6, r1, 0xc /* 80191940 0018E8A0 38 A0 FF FF */ li r5, -1 /* 80191944 0018E8A4 48 1A C8 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 80191948 0018E8A8 80 7E 00 60 */ lwz r3, 0x60(r30) /* 8019194C 0018E8AC 38 81 00 14 */ addi r4, r1, 0x14 /* 80191950 0018E8B0 38 A0 00 00 */ li r5, 0 /* 80191954 0018E8B4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80191958 0018E8B8 48 13 81 B1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019195C 0018E8BC 38 61 00 14 */ addi r3, r1, 0x14 /* 80191960 0018E8C0 48 1A C1 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191964 0018E8C4 80 7E 00 08 */ lwz r3, 8(r30) /* 80191968 0018E8C8 80 01 00 08 */ lwz r0, 8(r1) /* 8019196C 0018E8CC 7C 03 00 00 */ cmpw r3, r0 /* 80191970 0018E8D0 40 80 00 1C */ bge lbl_8019198C /* 80191974 0018E8D4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80191978 0018E8D8 C0 02 A5 58 */ lfs f0, lbl_805AC278@sda21(r2) /* 8019197C 0018E8DC C0 23 00 F4 */ lfs f1, 0xf4(r3) /* 80191980 0018E8E0 D0 3E 00 0C */ stfs f1, 0xc(r30) /* 80191984 0018E8E4 D0 1E 00 54 */ stfs f0, 0x54(r30) /* 80191988 0018E8E8 48 00 00 1C */ b lbl_801919A4 lbl_8019198C: /* 8019198C 0018E8EC 40 81 00 18 */ ble lbl_801919A4 /* 80191990 0018E8F0 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80191994 0018E8F4 C0 22 A5 28 */ lfs f1, lbl_805AC248@sda21(r2) /* 80191998 0018E8F8 C0 03 00 F4 */ lfs f0, 0xf4(r3) /* 8019199C 0018E8FC EC 01 00 32 */ fmuls f0, f1, f0 /* 801919A0 0018E900 D0 1E 00 0C */ stfs f0, 0xc(r30) lbl_801919A4: /* 801919A4 0018E904 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801919A8 0018E908 80 63 00 00 */ lwz r3, 0(r3) /* 801919AC 0018E90C 4B EF F8 71 */ bl GetMissileCostForAltAttack__12CPlayerStateCFv /* 801919B0 0018E910 80 81 00 08 */ lwz r4, 8(r1) /* 801919B4 0018E914 80 1E 00 08 */ lwz r0, 8(r30) /* 801919B8 0018E918 7C 64 1A 14 */ add r3, r4, r3 /* 801919BC 0018E91C 7C 03 00 00 */ cmpw r3, r0 /* 801919C0 0018E920 41 81 00 0C */ bgt lbl_801919CC /* 801919C4 0018E924 C0 02 A5 2C */ lfs f0, lbl_805AC24C@sda21(r2) /* 801919C8 0018E928 D0 1E 00 50 */ stfs f0, 0x50(r30) lbl_801919CC: /* 801919CC 0018E92C 80 01 00 08 */ lwz r0, 8(r1) /* 801919D0 0018E930 90 1E 00 08 */ stw r0, 8(r30) /* 801919D4 0018E934 80 01 00 34 */ lwz r0, 0x34(r1) /* 801919D8 0018E938 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801919DC 0018E93C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801919E0 0018E940 7C 08 03 A6 */ mtlr r0 /* 801919E4 0018E944 38 21 00 30 */ addi r1, r1, 0x30 /* 801919E8 0018E948 4E 80 00 20 */ blr .global SetMissileCapacity__20CHudMissileInterfaceFf SetMissileCapacity__20CHudMissileInterfaceFf: /* 801919EC 0018E94C 90 83 00 04 */ stw r4, 4(r3) /* 801919F0 0018E950 4E 80 00 20 */ blr .global __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager __ct__20CHudMissileInterfaceFR9CGuiFrameiifbUiRC13CStateManager: /* 801919F4 0018E954 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801919F8 0018E958 7C 08 02 A6 */ mflr r0 /* 801919FC 0018E95C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80191A00 0018E960 DB E1 00 90 */ stfd f31, 0x90(r1) /* 80191A04 0018E964 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 80191A08 0018E968 BF 41 00 78 */ stmw r26, 0x78(r1) /* 80191A0C 0018E96C 7C 7C 1B 78 */ mr r28, r3 /* 80191A10 0018E970 7D 1D 43 78 */ mr r29, r8 /* 80191A14 0018E974 93 A3 00 00 */ stw r29, 0(r3) /* 80191A18 0018E978 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80191A1C 0018E97C 3D 00 80 3D */ lis r8, lbl_803D0C28@ha /* 80191A20 0018E980 C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 80191A24 0018E984 90 BC 00 04 */ stw r5, 4(r28) /* 80191A28 0018E988 FF E0 08 90 */ fmr f31, f1 /* 80191A2C 0018E98C 38 03 66 70 */ addi r0, r3, skIdentity4f@l /* 80191A30 0018E990 7C 9A 23 78 */ mr r26, r4 /* 80191A34 0018E994 90 DC 00 08 */ stw r6, 8(r28) /* 80191A38 0018E998 7C FB 3B 78 */ mr r27, r7 /* 80191A3C 0018E99C 7D 3E 4B 78 */ mr r30, r9 /* 80191A40 0018E9A0 D0 1C 00 0C */ stfs f0, 0xc(r28) /* 80191A44 0018E9A4 7C 04 03 78 */ mr r4, r0 /* 80191A48 0018E9A8 3B E8 0C 28 */ addi r31, r8, lbl_803D0C28@l /* 80191A4C 0018E9AC 38 7C 00 10 */ addi r3, r28, 0x10 /* 80191A50 0018E9B0 48 18 11 25 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80191A54 0018E9B4 C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 80191A58 0018E9B8 38 00 00 00 */ li r0, 0 /* 80191A5C 0018E9BC 38 A0 00 01 */ li r5, 1 /* 80191A60 0018E9C0 38 61 00 68 */ addi r3, r1, 0x68 /* 80191A64 0018E9C4 D0 1C 00 40 */ stfs f0, 0x40(r28) /* 80191A68 0018E9C8 38 9F 00 00 */ addi r4, r31, 0 /* 80191A6C 0018E9CC 90 1C 00 44 */ stw r0, 0x44(r28) /* 80191A70 0018E9D0 D0 1C 00 48 */ stfs f0, 0x48(r28) /* 80191A74 0018E9D4 D3 FC 00 4C */ stfs f31, 0x4c(r28) /* 80191A78 0018E9D8 D0 1C 00 50 */ stfs f0, 0x50(r28) /* 80191A7C 0018E9DC D0 1C 00 54 */ stfs f0, 0x54(r28) /* 80191A80 0018E9E0 88 1C 00 58 */ lbz r0, 0x58(r28) /* 80191A84 0018E9E4 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18 /* 80191A88 0018E9E8 98 1C 00 58 */ stb r0, 0x58(r28) /* 80191A8C 0018E9EC 88 1C 00 58 */ lbz r0, 0x58(r28) /* 80191A90 0018E9F0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80191A94 0018E9F4 98 1C 00 58 */ stb r0, 0x58(r28) /* 80191A98 0018E9F8 88 1C 00 58 */ lbz r0, 0x58(r28) /* 80191A9C 0018E9FC 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80191AA0 0018EA00 98 1C 00 58 */ stb r0, 0x58(r28) /* 80191AA4 0018EA04 4B E7 32 15 */ bl string_l__4rstlFPCc /* 80191AA8 0018EA08 7F 43 D3 78 */ mr r3, r26 /* 80191AAC 0018EA0C 38 81 00 68 */ addi r4, r1, 0x68 /* 80191AB0 0018EA10 48 13 07 25 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191AB4 0018EA14 90 7C 00 5C */ stw r3, 0x5c(r28) /* 80191AB8 0018EA18 38 61 00 68 */ addi r3, r1, 0x68 /* 80191ABC 0018EA1C 48 1A C0 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191AC0 0018EA20 38 61 00 58 */ addi r3, r1, 0x58 /* 80191AC4 0018EA24 38 9F 00 18 */ addi r4, r31, 0x18 /* 80191AC8 0018EA28 4B E7 31 F1 */ bl string_l__4rstlFPCc /* 80191ACC 0018EA2C 7F 43 D3 78 */ mr r3, r26 /* 80191AD0 0018EA30 38 81 00 58 */ addi r4, r1, 0x58 /* 80191AD4 0018EA34 48 13 07 01 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191AD8 0018EA38 90 7C 00 60 */ stw r3, 0x60(r28) /* 80191ADC 0018EA3C 38 61 00 58 */ addi r3, r1, 0x58 /* 80191AE0 0018EA40 48 1A C0 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191AE4 0018EA44 38 61 00 48 */ addi r3, r1, 0x48 /* 80191AE8 0018EA48 38 9F 00 30 */ addi r4, r31, 0x30 /* 80191AEC 0018EA4C 4B E7 31 CD */ bl string_l__4rstlFPCc /* 80191AF0 0018EA50 7F 43 D3 78 */ mr r3, r26 /* 80191AF4 0018EA54 38 81 00 48 */ addi r4, r1, 0x48 /* 80191AF8 0018EA58 48 13 06 DD */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191AFC 0018EA5C 90 7C 00 64 */ stw r3, 0x64(r28) /* 80191B00 0018EA60 38 61 00 48 */ addi r3, r1, 0x48 /* 80191B04 0018EA64 48 1A BF DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191B08 0018EA68 38 61 00 38 */ addi r3, r1, 0x38 /* 80191B0C 0018EA6C 38 9F 00 48 */ addi r4, r31, 0x48 /* 80191B10 0018EA70 4B E7 31 A9 */ bl string_l__4rstlFPCc /* 80191B14 0018EA74 7F 43 D3 78 */ mr r3, r26 /* 80191B18 0018EA78 38 81 00 38 */ addi r4, r1, 0x38 /* 80191B1C 0018EA7C 48 13 06 B9 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191B20 0018EA80 90 7C 00 68 */ stw r3, 0x68(r28) /* 80191B24 0018EA84 38 61 00 38 */ addi r3, r1, 0x38 /* 80191B28 0018EA88 48 1A BF B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191B2C 0018EA8C 38 61 00 28 */ addi r3, r1, 0x28 /* 80191B30 0018EA90 38 9F 00 60 */ addi r4, r31, 0x60 /* 80191B34 0018EA94 4B E7 31 85 */ bl string_l__4rstlFPCc /* 80191B38 0018EA98 7F 43 D3 78 */ mr r3, r26 /* 80191B3C 0018EA9C 38 81 00 28 */ addi r4, r1, 0x28 /* 80191B40 0018EAA0 48 13 06 95 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191B44 0018EAA4 90 7C 00 6C */ stw r3, 0x6c(r28) /* 80191B48 0018EAA8 38 61 00 28 */ addi r3, r1, 0x28 /* 80191B4C 0018EAAC 48 1A BF 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191B50 0018EAB0 38 61 00 18 */ addi r3, r1, 0x18 /* 80191B54 0018EAB4 38 9F 00 78 */ addi r4, r31, 0x78 /* 80191B58 0018EAB8 4B E7 31 61 */ bl string_l__4rstlFPCc /* 80191B5C 0018EABC 7F 43 D3 78 */ mr r3, r26 /* 80191B60 0018EAC0 38 81 00 18 */ addi r4, r1, 0x18 /* 80191B64 0018EAC4 48 13 06 71 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191B68 0018EAC8 90 7C 00 70 */ stw r3, 0x70(r28) /* 80191B6C 0018EACC 38 61 00 18 */ addi r3, r1, 0x18 /* 80191B70 0018EAD0 48 1A BF 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191B74 0018EAD4 38 61 00 08 */ addi r3, r1, 8 /* 80191B78 0018EAD8 38 9F 00 90 */ addi r4, r31, 0x90 /* 80191B7C 0018EADC 4B E7 31 3D */ bl string_l__4rstlFPCc /* 80191B80 0018EAE0 7F 43 D3 78 */ mr r3, r26 /* 80191B84 0018EAE4 38 81 00 08 */ addi r4, r1, 8 /* 80191B88 0018EAE8 48 13 06 4D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80191B8C 0018EAEC 90 7C 00 74 */ stw r3, 0x74(r28) /* 80191B90 0018EAF0 38 61 00 08 */ addi r3, r1, 8 /* 80191B94 0018EAF4 48 1A BF 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80191B98 0018EAF8 80 1C 00 6C */ lwz r0, 0x6c(r28) /* 80191B9C 0018EAFC 38 60 00 00 */ li r3, 0 /* 80191BA0 0018EB00 28 00 00 00 */ cmplwi r0, 0 /* 80191BA4 0018EB04 41 82 00 14 */ beq lbl_80191BB8 /* 80191BA8 0018EB08 80 1C 00 70 */ lwz r0, 0x70(r28) /* 80191BAC 0018EB0C 28 00 00 00 */ cmplwi r0, 0 /* 80191BB0 0018EB10 41 82 00 08 */ beq lbl_80191BB8 /* 80191BB4 0018EB14 38 60 00 01 */ li r3, 1 lbl_80191BB8: /* 80191BB8 0018EB18 88 9C 00 58 */ lbz r4, 0x58(r28) /* 80191BBC 0018EB1C 50 64 26 F6 */ rlwimi r4, r3, 4, 0x1b, 0x1b /* 80191BC0 0018EB20 20 7D 00 02 */ subfic r3, r29, 2 /* 80191BC4 0018EB24 38 1D FF FE */ addi r0, r29, -2 /* 80191BC8 0018EB28 98 9C 00 58 */ stb r4, 0x58(r28) /* 80191BCC 0018EB2C 7C 60 03 78 */ or r0, r3, r0 /* 80191BD0 0018EB30 54 04 0F FE */ srwi r4, r0, 0x1f /* 80191BD4 0018EB34 38 7C 00 10 */ addi r3, r28, 0x10 /* 80191BD8 0018EB38 88 1C 00 58 */ lbz r0, 0x58(r28) /* 80191BDC 0018EB3C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 80191BE0 0018EB40 98 1C 00 58 */ stb r0, 0x58(r28) /* 80191BE4 0018EB44 80 9C 00 74 */ lwz r4, 0x74(r28) /* 80191BE8 0018EB48 38 84 00 04 */ addi r4, r4, 4 /* 80191BEC 0018EB4C 48 18 0F 55 */ bl __as__12CTransform4fFRC12CTransform4f /* 80191BF0 0018EB50 80 7C 00 60 */ lwz r3, 0x60(r28) /* 80191BF4 0018EB54 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191BF8 0018EB58 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80191BFC 0018EB5C 38 84 01 A4 */ addi r4, r4, 0x1a4 /* 80191C00 0018EB60 48 13 7A 69 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80191C04 0018EB64 80 7C 00 60 */ lwz r3, 0x60(r28) /* 80191C08 0018EB68 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191C0C 0018EB6C 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80191C10 0018EB70 38 84 01 A8 */ addi r4, r4, 0x1a8 /* 80191C14 0018EB74 48 13 7A 05 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor /* 80191C18 0018EB78 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191C1C 0018EB7C 80 7C 00 74 */ lwz r3, 0x74(r28) /* 80191C20 0018EB80 38 84 00 94 */ addi r4, r4, 0x94 /* 80191C24 0018EB84 48 13 8C 49 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80191C28 0018EB88 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80191C2C 0018EB8C 38 9F 00 F4 */ addi r4, r31, 0xf4 /* 80191C30 0018EB90 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191C34 0018EB94 2C 1D 00 00 */ cmpwi r29, 0 /* 80191C38 0018EB98 80 05 00 7C */ lwz r0, 0x7c(r5) /* 80191C3C 0018EB9C 90 03 00 CC */ stw r0, 0xcc(r3) /* 80191C40 0018EBA0 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80191C44 0018EBA4 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191C48 0018EBA8 80 05 00 74 */ lwz r0, 0x74(r5) /* 80191C4C 0018EBAC 90 03 00 D0 */ stw r0, 0xd0(r3) /* 80191C50 0018EBB0 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80191C54 0018EBB4 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191C58 0018EBB8 80 05 00 78 */ lwz r0, 0x78(r5) /* 80191C5C 0018EBBC 90 03 00 D4 */ stw r0, 0xd4(r3) /* 80191C60 0018EBC0 80 1C 00 00 */ lwz r0, 0(r28) /* 80191C64 0018EBC4 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191C68 0018EBC8 54 00 10 3A */ slwi r0, r0, 2 /* 80191C6C 0018EBCC 7C 04 00 2E */ lwzx r0, r4, r0 /* 80191C70 0018EBD0 90 03 00 D8 */ stw r0, 0xd8(r3) /* 80191C74 0018EBD4 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191C78 0018EBD8 40 82 00 0C */ bne lbl_80191C84 /* 80191C7C 0018EBDC C0 02 A5 2C */ lfs f0, lbl_805AC24C@sda21(r2) /* 80191C80 0018EBE0 48 00 00 08 */ b lbl_80191C88 lbl_80191C84: /* 80191C84 0018EBE4 C0 02 A5 5C */ lfs f0, lbl_805AC27C@sda21(r2) lbl_80191C88: /* 80191C88 0018EBE8 D0 03 00 DC */ stfs f0, 0xdc(r3) /* 80191C8C 0018EBEC C0 22 A5 60 */ lfs f1, lbl_805AC280@sda21(r2) /* 80191C90 0018EBF0 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191C94 0018EBF4 48 13 9C D5 */ bl SetMaxEnergy__16CAuiEnergyBarT01Ff /* 80191C98 0018EBF8 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 80191C9C 0018EBFC 38 00 00 01 */ li r0, 1 /* 80191CA0 0018EC00 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191CA4 0018EC04 C0 04 00 34 */ lfs f0, 0x34(r4) /* 80191CA8 0018EC08 D0 03 00 E4 */ stfs f0, 0xe4(r3) /* 80191CAC 0018EC0C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 80191CB0 0018EC10 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191CB4 0018EC14 C0 04 00 38 */ lfs f0, 0x38(r4) /* 80191CB8 0018EC18 D0 03 00 E8 */ stfs f0, 0xe8(r3) /* 80191CBC 0018EC1C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 80191CC0 0018EC20 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191CC4 0018EC24 C0 04 00 3C */ lfs f0, 0x3c(r4) /* 80191CC8 0018EC28 D0 03 00 EC */ stfs f0, 0xec(r3) /* 80191CCC 0018EC2C 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80191CD0 0018EC30 98 03 00 F0 */ stb r0, 0xf0(r3) /* 80191CD4 0018EC34 80 7C 00 68 */ lwz r3, 0x68(r28) /* 80191CD8 0018EC38 28 03 00 00 */ cmplwi r3, 0 /* 80191CDC 0018EC3C 41 82 00 28 */ beq lbl_80191D04 /* 80191CE0 0018EC40 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191CE4 0018EC44 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80191CE8 0018EC48 38 84 00 64 */ addi r4, r4, 0x64 /* 80191CEC 0018EC4C 48 13 79 7D */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80191CF0 0018EC50 80 7C 00 68 */ lwz r3, 0x68(r28) /* 80191CF4 0018EC54 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80191CF8 0018EC58 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80191CFC 0018EC5C 38 84 00 BC */ addi r4, r4, 0xbc /* 80191D00 0018EC60 48 13 79 19 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor lbl_80191D04: /* 80191D04 0018EC64 80 9C 00 08 */ lwz r4, 8(r28) /* 80191D08 0018EC68 7F 83 E3 78 */ mr r3, r28 /* 80191D0C 0018EC6C 7F C5 F3 78 */ mr r5, r30 /* 80191D10 0018EC70 4B FF FB DD */ bl SetNumMissiles__20CHudMissileInterfaceFiRC13CStateManager /* 80191D14 0018EC74 7F 83 E3 78 */ mr r3, r28 /* 80191D18 0018EC78 48 00 00 29 */ bl GetMissileInventoryStatus__20CHudMissileInterfaceFv /* 80191D1C 0018EC7C 90 7C 00 44 */ stw r3, 0x44(r28) /* 80191D20 0018EC80 7F 83 E3 78 */ mr r3, r28 /* 80191D24 0018EC84 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 80191D28 0018EC88 CB E1 00 90 */ lfd f31, 0x90(r1) /* 80191D2C 0018EC8C BB 41 00 78 */ lmw r26, 0x78(r1) /* 80191D30 0018EC90 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80191D34 0018EC94 7C 08 03 A6 */ mtlr r0 /* 80191D38 0018EC98 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80191D3C 0018EC9C 4E 80 00 20 */ blr .global GetMissileInventoryStatus__20CHudMissileInterfaceFv GetMissileInventoryStatus__20CHudMissileInterfaceFv: /* 80191D40 0018ECA0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80191D44 0018ECA4 7C 08 02 A6 */ mflr r0 /* 80191D48 0018ECA8 C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 80191D4C 0018ECAC 90 01 00 14 */ stw r0, 0x14(r1) /* 80191D50 0018ECB0 80 63 00 64 */ lwz r3, 0x64(r3) /* 80191D54 0018ECB4 C0 23 00 F4 */ lfs f1, 0xf4(r3) /* 80191D58 0018ECB8 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 80191D5C 0018ECBC 40 82 00 0C */ bne lbl_80191D68 /* 80191D60 0018ECC0 38 60 00 02 */ li r3, 2 /* 80191D64 0018ECC4 48 00 00 24 */ b lbl_80191D88 lbl_80191D68: /* 80191D68 0018ECC8 48 13 94 75 */ bl GetActualFraction__16CAuiEnergyBarT01CFv /* 80191D6C 0018ECCC 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80191D70 0018ECD0 C0 03 01 14 */ lfs f0, 0x114(r3) /* 80191D74 0018ECD4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80191D78 0018ECD8 40 80 00 0C */ bge lbl_80191D84 /* 80191D7C 0018ECDC 38 60 00 01 */ li r3, 1 /* 80191D80 0018ECE0 48 00 00 08 */ b lbl_80191D88 lbl_80191D84: /* 80191D84 0018ECE4 38 60 00 00 */ li r3, 0 lbl_80191D88: /* 80191D88 0018ECE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80191D8C 0018ECEC 7C 08 03 A6 */ mtlr r0 /* 80191D90 0018ECF0 38 21 00 10 */ addi r1, r1, 0x10 /* 80191D94 0018ECF4 4E 80 00 20 */ blr .global XRayMissileBarCoordFunc__20CHudMissileInterfaceFf XRayMissileBarCoordFunc__20CHudMissileInterfaceFf: /* 80191D98 0018ECF8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80191D9C 0018ECFC 7C 08 02 A6 */ mflr r0 /* 80191DA0 0018ED00 90 01 00 34 */ stw r0, 0x34(r1) /* 80191DA4 0018ED04 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80191DA8 0018ED08 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80191DAC 0018ED0C DB C1 00 10 */ stfd f30, 0x10(r1) /* 80191DB0 0018ED10 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 /* 80191DB4 0018ED14 93 E1 00 0C */ stw r31, 0xc(r1) /* 80191DB8 0018ED18 C0 02 A5 44 */ lfs f0, lbl_805AC264@sda21(r2) /* 80191DBC 0018ED1C 7C 7F 1B 78 */ mr r31, r3 /* 80191DC0 0018ED20 C0 42 A5 64 */ lfs f2, lbl_805AC284@sda21(r2) /* 80191DC4 0018ED24 EC 01 00 28 */ fsubs f0, f1, f0 /* 80191DC8 0018ED28 EF E2 00 32 */ fmuls f31, f2, f0 /* 80191DCC 0018ED2C FC 20 F8 90 */ fmr f1, f31 /* 80191DD0 0018ED30 48 18 2F 75 */ bl FastCosR__5CMathFf /* 80191DD4 0018ED34 C0 02 A5 68 */ lfs f0, lbl_805AC288@sda21(r2) /* 80191DD8 0018ED38 EF C0 00 72 */ fmuls f30, f0, f1 /* 80191DDC 0018ED3C FC 20 F8 90 */ fmr f1, f31 /* 80191DE0 0018ED40 48 18 30 11 */ bl FastSinR__5CMathFf /* 80191DE4 0018ED44 C0 02 A5 6C */ lfs f0, lbl_805AC28C@sda21(r2) /* 80191DE8 0018ED48 C0 62 A5 68 */ lfs f3, lbl_805AC288@sda21(r2) /* 80191DEC 0018ED4C EC 5E 00 28 */ fsubs f2, f30, f0 /* 80191DF0 0018ED50 C0 02 A5 20 */ lfs f0, lbl_805AC240@sda21(r2) /* 80191DF4 0018ED54 EC 23 00 72 */ fmuls f1, f3, f1 /* 80191DF8 0018ED58 D0 5F 00 00 */ stfs f2, 0(r31) /* 80191DFC 0018ED5C D0 1F 00 04 */ stfs f0, 4(r31) /* 80191E00 0018ED60 D0 3F 00 08 */ stfs f1, 8(r31) /* 80191E04 0018ED64 D3 DF 00 0C */ stfs f30, 0xc(r31) /* 80191E08 0018ED68 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 80191E0C 0018ED6C D0 3F 00 14 */ stfs f1, 0x14(r31) /* 80191E10 0018ED70 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80191E14 0018ED74 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80191E18 0018ED78 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 /* 80191E1C 0018ED7C CB C1 00 10 */ lfd f30, 0x10(r1) /* 80191E20 0018ED80 80 01 00 34 */ lwz r0, 0x34(r1) /* 80191E24 0018ED84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80191E28 0018ED88 7C 08 03 A6 */ mtlr r0 /* 80191E2C 0018ED8C 38 21 00 30 */ addi r1, r1, 0x30 /* 80191E30 0018ED90 4E 80 00 20 */ blr .global ThermalMissileBarCoordFunc__20CHudMissileInterfaceFf ThermalMissileBarCoordFunc__20CHudMissileInterfaceFf: /* 80191E34 0018ED94 3C 80 80 3D */ lis r4, lbl_803D0D08@ha /* 80191E38 0018ED98 C0 02 A5 70 */ lfs f0, lbl_805AC290@sda21(r2) /* 80191E3C 0018ED9C 38 84 0D 08 */ addi r4, r4, lbl_803D0D08@l /* 80191E40 0018EDA0 C0 44 00 0C */ lfs f2, 0xc(r4) /* 80191E44 0018EDA4 EC 60 00 B2 */ fmuls f3, f0, f2 /* 80191E48 0018EDA8 EC 81 00 B2 */ fmuls f4, f1, f2 /* 80191E4C 0018EDAC FC 04 18 40 */ fcmpo cr0, f4, f3 /* 80191E50 0018EDB0 40 80 00 0C */ bge lbl_80191E5C /* 80191E54 0018EDB4 EC 64 18 24 */ fdivs f3, f4, f3 /* 80191E58 0018EDB8 48 00 00 28 */ b lbl_80191E80 lbl_80191E5C: /* 80191E5C 0018EDBC EC 02 18 28 */ fsubs f0, f2, f3 /* 80191E60 0018EDC0 FC 04 00 40 */ fcmpo cr0, f4, f0 /* 80191E64 0018EDC4 40 80 00 0C */ bge lbl_80191E70 /* 80191E68 0018EDC8 C0 62 A5 2C */ lfs f3, lbl_805AC24C@sda21(r2) /* 80191E6C 0018EDCC 48 00 00 14 */ b lbl_80191E80 lbl_80191E70: /* 80191E70 0018EDD0 EC 04 00 28 */ fsubs f0, f4, f0 /* 80191E74 0018EDD4 C0 22 A5 2C */ lfs f1, lbl_805AC24C@sda21(r2) /* 80191E78 0018EDD8 EC 00 18 24 */ fdivs f0, f0, f3 /* 80191E7C 0018EDDC EC 61 00 28 */ fsubs f3, f1, f0 lbl_80191E80: /* 80191E80 0018EDE0 C0 42 A5 74 */ lfs f2, lbl_805AC294@sda21(r2) /* 80191E84 0018EDE4 C0 02 A5 5C */ lfs f0, lbl_805AC27C@sda21(r2) /* 80191E88 0018EDE8 C0 22 A5 20 */ lfs f1, lbl_805AC240@sda21(r2) /* 80191E8C 0018EDEC EC 42 00 F8 */ fmsubs f2, f2, f3, f0 /* 80191E90 0018EDF0 C0 02 A5 78 */ lfs f0, lbl_805AC298@sda21(r2) /* 80191E94 0018EDF4 D0 43 00 00 */ stfs f2, 0(r3) /* 80191E98 0018EDF8 D0 23 00 04 */ stfs f1, 4(r3) /* 80191E9C 0018EDFC D0 83 00 08 */ stfs f4, 8(r3) /* 80191EA0 0018EE00 D0 03 00 0C */ stfs f0, 0xc(r3) /* 80191EA4 0018EE04 D0 23 00 10 */ stfs f1, 0x10(r3) /* 80191EA8 0018EE08 D0 83 00 14 */ stfs f4, 0x14(r3) /* 80191EAC 0018EE0C 4E 80 00 20 */ blr .global CombatMissileBarCoordFunc__20CHudMissileInterfaceFf CombatMissileBarCoordFunc__20CHudMissileInterfaceFf: /* 80191EB0 0018EE10 3C 80 80 3D */ lis r4, lbl_803D0D08@ha /* 80191EB4 0018EE14 C0 42 A5 20 */ lfs f2, lbl_805AC240@sda21(r2) /* 80191EB8 0018EE18 C0 64 0D 08 */ lfs f3, lbl_803D0D08@l(r4) /* 80191EBC 0018EE1C D0 43 00 00 */ stfs f2, 0(r3) /* 80191EC0 0018EE20 EC 21 00 F2 */ fmuls f1, f1, f3 /* 80191EC4 0018EE24 C0 02 A5 7C */ lfs f0, lbl_805AC29C@sda21(r2) /* 80191EC8 0018EE28 D0 43 00 04 */ stfs f2, 4(r3) /* 80191ECC 0018EE2C D0 23 00 08 */ stfs f1, 8(r3) /* 80191ED0 0018EE30 D0 03 00 0C */ stfs f0, 0xc(r3) /* 80191ED4 0018EE34 D0 43 00 10 */ stfs f2, 0x10(r3) /* 80191ED8 0018EE38 D0 23 00 14 */ stfs f1, 0x14(r3) /* 80191EDC 0018EE3C 4E 80 00 20 */ blr .global DoDrawRadarPaint__18CHudRadarInterfaceCFf DoDrawRadarPaint__18CHudRadarInterfaceCFf: /* 80191EE0 0018EE40 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80191EE4 0018EE44 7C 08 02 A6 */ mflr r0 /* 80191EE8 0018EE48 90 01 00 64 */ stw r0, 0x64(r1) /* 80191EEC 0018EE4C DB E1 00 50 */ stfd f31, 0x50(r1) /* 80191EF0 0018EE50 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80191EF4 0018EE54 DB C1 00 40 */ stfd f30, 0x40(r1) /* 80191EF8 0018EE58 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 80191EFC 0018EE5C C0 02 A5 80 */ lfs f0, lbl_805AC2A0@sda21(r2) /* 80191F00 0018EE60 38 60 00 98 */ li r3, 0x98 /* 80191F04 0018EE64 EF C0 00 72 */ fmuls f30, f0, f1 /* 80191F08 0018EE68 48 17 97 61 */ bl StreamBegin__9CGraphicsF13ERglPrimitive /* 80191F0C 0018EE6C C0 22 A5 84 */ lfs f1, lbl_805AC2A4@sda21(r2) /* 80191F10 0018EE70 C0 42 A5 88 */ lfs f2, lbl_805AC2A8@sda21(r2) /* 80191F14 0018EE74 48 17 95 51 */ bl StreamTexcoord__9CGraphicsFff /* 80191F18 0018EE78 FF E0 F0 50 */ fneg f31, f30 /* 80191F1C 0018EE7C C0 02 A5 84 */ lfs f0, lbl_805AC2A4@sda21(r2) /* 80191F20 0018EE80 D3 C1 00 34 */ stfs f30, 0x34(r1) /* 80191F24 0018EE84 38 61 00 2C */ addi r3, r1, 0x2c /* 80191F28 0018EE88 D3 E1 00 2C */ stfs f31, 0x2c(r1) /* 80191F2C 0018EE8C D0 01 00 30 */ stfs f0, 0x30(r1) /* 80191F30 0018EE90 48 17 96 91 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80191F34 0018EE94 C0 22 A5 84 */ lfs f1, lbl_805AC2A4@sda21(r2) /* 80191F38 0018EE98 FC 40 08 90 */ fmr f2, f1 /* 80191F3C 0018EE9C 48 17 95 29 */ bl StreamTexcoord__9CGraphicsFff /* 80191F40 0018EEA0 C0 02 A5 84 */ lfs f0, lbl_805AC2A4@sda21(r2) /* 80191F44 0018EEA4 38 61 00 20 */ addi r3, r1, 0x20 /* 80191F48 0018EEA8 D3 E1 00 20 */ stfs f31, 0x20(r1) /* 80191F4C 0018EEAC D0 01 00 24 */ stfs f0, 0x24(r1) /* 80191F50 0018EEB0 D3 E1 00 28 */ stfs f31, 0x28(r1) /* 80191F54 0018EEB4 48 17 96 6D */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80191F58 0018EEB8 C0 22 A5 88 */ lfs f1, lbl_805AC2A8@sda21(r2) /* 80191F5C 0018EEBC FC 40 08 90 */ fmr f2, f1 /* 80191F60 0018EEC0 48 17 95 05 */ bl StreamTexcoord__9CGraphicsFff /* 80191F64 0018EEC4 C0 02 A5 84 */ lfs f0, lbl_805AC2A4@sda21(r2) /* 80191F68 0018EEC8 38 61 00 14 */ addi r3, r1, 0x14 /* 80191F6C 0018EECC D3 C1 00 14 */ stfs f30, 0x14(r1) /* 80191F70 0018EED0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80191F74 0018EED4 D3 C1 00 1C */ stfs f30, 0x1c(r1) /* 80191F78 0018EED8 48 17 96 49 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80191F7C 0018EEDC C0 22 A5 88 */ lfs f1, lbl_805AC2A8@sda21(r2) /* 80191F80 0018EEE0 C0 42 A5 84 */ lfs f2, lbl_805AC2A4@sda21(r2) /* 80191F84 0018EEE4 48 17 94 E1 */ bl StreamTexcoord__9CGraphicsFff /* 80191F88 0018EEE8 C0 02 A5 84 */ lfs f0, lbl_805AC2A4@sda21(r2) /* 80191F8C 0018EEEC 38 61 00 08 */ addi r3, r1, 8 /* 80191F90 0018EEF0 D3 C1 00 08 */ stfs f30, 8(r1) /* 80191F94 0018EEF4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80191F98 0018EEF8 D3 E1 00 10 */ stfs f31, 0x10(r1) /* 80191F9C 0018EEFC 48 17 96 25 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 80191FA0 0018EF00 48 17 94 71 */ bl StreamEnd__9CGraphicsFv /* 80191FA4 0018EF04 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80191FA8 0018EF08 CB E1 00 50 */ lfd f31, 0x50(r1) /* 80191FAC 0018EF0C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 80191FB0 0018EF10 80 01 00 64 */ lwz r0, 0x64(r1) /* 80191FB4 0018EF14 CB C1 00 40 */ lfd f30, 0x40(r1) /* 80191FB8 0018EF18 7C 08 03 A6 */ mtlr r0 /* 80191FBC 0018EF1C 38 21 00 60 */ addi r1, r1, 0x60 /* 80191FC0 0018EF20 4E 80 00 20 */ blr .global DrawRadarPaint__18CHudRadarInterfaceCFRC9CVector3fffRCQ218CHudRadarInterface20SRadarPaintDrawParms DrawRadarPaint__18CHudRadarInterfaceCFRC9CVector3fffRCQ218CHudRadarInterface20SRadarPaintDrawParms: /* 80191FC4 0018EF24 94 21 FE E0 */ stwu r1, -0x120(r1) /* 80191FC8 0018EF28 7C 08 02 A6 */ mflr r0 /* 80191FCC 0018EF2C 90 01 01 24 */ stw r0, 0x124(r1) /* 80191FD0 0018EF30 DB E1 01 10 */ stfd f31, 0x110(r1) /* 80191FD4 0018EF34 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 80191FD8 0018EF38 DB C1 01 00 */ stfd f30, 0x100(r1) /* 80191FDC 0018EF3C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 80191FE0 0018EF40 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 80191FE4 0018EF44 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 80191FE8 0018EF48 DB 81 00 E0 */ stfd f28, 0xe0(r1) /* 80191FEC 0018EF4C F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 /* 80191FF0 0018EF50 93 E1 00 DC */ stw r31, 0xdc(r1) /* 80191FF4 0018EF54 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 80191FF8 0018EF58 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 80191FFC 0018EF5C FF A0 08 90 */ fmr f29, f1 /* 80192000 0018EF60 7C BF 2B 78 */ mr r31, r5 /* 80192004 0018EF64 FF C0 10 90 */ fmr f30, f2 /* 80192008 0018EF68 C0 25 00 00 */ lfs f1, 0(r5) /* 8019200C 0018EF6C 7C 7D 1B 78 */ mr r29, r3 /* 80192010 0018EF70 C0 45 00 04 */ lfs f2, 4(r5) /* 80192014 0018EF74 7C 9E 23 78 */ mr r30, r4 /* 80192018 0018EF78 38 61 00 30 */ addi r3, r1, 0x30 /* 8019201C 0018EF7C 48 18 21 E5 */ bl __ct__9CVector2fFff /* 80192020 0018EF80 C0 7E 00 00 */ lfs f3, 0(r30) /* 80192024 0018EF84 38 61 00 28 */ addi r3, r1, 0x28 /* 80192028 0018EF88 C0 3F 00 00 */ lfs f1, 0(r31) /* 8019202C 0018EF8C C0 5E 00 04 */ lfs f2, 4(r30) /* 80192030 0018EF90 C0 1F 00 04 */ lfs f0, 4(r31) /* 80192034 0018EF94 EC 23 08 28 */ fsubs f1, f3, f1 /* 80192038 0018EF98 EC 42 00 28 */ fsubs f2, f2, f0 /* 8019203C 0018EF9C 48 18 21 C5 */ bl __ct__9CVector2fFff /* 80192040 0018EFA0 C0 3E 00 08 */ lfs f1, 8(r30) /* 80192044 0018EFA4 38 61 00 28 */ addi r3, r1, 0x28 /* 80192048 0018EFA8 C0 1F 00 08 */ lfs f0, 8(r31) /* 8019204C 0018EFAC EC 01 00 28 */ fsubs f0, f1, f0 /* 80192050 0018EFB0 FC 00 02 10 */ fabs f0, f0 /* 80192054 0018EFB4 FF 80 00 18 */ frsp f28, f0 /* 80192058 0018EFB8 48 18 20 9D */ bl Magnitude__9CVector2fCFv /* 8019205C 0018EFBC C0 1F 00 78 */ lfs f0, 0x78(r31) /* 80192060 0018EFC0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192064 0018EFC4 4C 40 13 82 */ cror 2, 0, 2 /* 80192068 0018EFC8 40 82 01 30 */ bne lbl_80192198 /* 8019206C 0018EFCC C0 1F 00 7C */ lfs f0, 0x7c(r31) /* 80192070 0018EFD0 FC 1C 00 40 */ fcmpo cr0, f28, f0 /* 80192074 0018EFD4 4C 40 13 82 */ cror 2, 0, 2 /* 80192078 0018EFD8 40 82 01 20 */ bne lbl_80192198 /* 8019207C 0018EFDC C0 7F 00 80 */ lfs f3, 0x80(r31) /* 80192080 0018EFE0 FC 1C 18 40 */ fcmpo cr0, f28, f3 /* 80192084 0018EFE4 40 81 00 1C */ ble lbl_801920A0 /* 80192088 0018EFE8 EC 3C 18 28 */ fsubs f1, f28, f3 /* 8019208C 0018EFEC C0 42 A5 88 */ lfs f2, lbl_805AC2A8@sda21(r2) /* 80192090 0018EFF0 EC 00 18 28 */ fsubs f0, f0, f3 /* 80192094 0018EFF4 EC 01 00 24 */ fdivs f0, f1, f0 /* 80192098 0018EFF8 EC 02 00 28 */ fsubs f0, f2, f0 /* 8019209C 0018EFFC EF DE 00 32 */ fmuls f30, f30, f0 lbl_801920A0: /* 801920A0 0018F000 C0 3E 00 00 */ lfs f1, 0(r30) /* 801920A4 0018F004 38 61 00 20 */ addi r3, r1, 0x20 /* 801920A8 0018F008 C0 5E 00 04 */ lfs f2, 4(r30) /* 801920AC 0018F00C 48 18 21 55 */ bl __ct__9CVector2fFff /* 801920B0 0018F010 38 61 00 10 */ addi r3, r1, 0x10 /* 801920B4 0018F014 38 81 00 20 */ addi r4, r1, 0x20 /* 801920B8 0018F018 38 A1 00 30 */ addi r5, r1, 0x30 /* 801920BC 0018F01C 48 18 1E 7D */ bl __mi__FRC9CVector2fRC9CVector2f /* 801920C0 0018F020 38 61 00 18 */ addi r3, r1, 0x18 /* 801920C4 0018F024 38 81 00 10 */ addi r4, r1, 0x10 /* 801920C8 0018F028 38 BF 00 70 */ addi r5, r31, 0x70 /* 801920CC 0018F02C 48 18 1E 09 */ bl __ml__FRC9CVector2fRCf /* 801920D0 0018F030 C0 41 00 18 */ lfs f2, 0x18(r1) /* 801920D4 0018F034 38 61 00 44 */ addi r3, r1, 0x44 /* 801920D8 0018F038 C0 22 A5 84 */ lfs f1, lbl_805AC2A4@sda21(r2) /* 801920DC 0018F03C 38 9F 00 0C */ addi r4, r31, 0xc /* 801920E0 0018F040 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801920E4 0018F044 38 A1 00 38 */ addi r5, r1, 0x38 /* 801920E8 0018F048 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801920EC 0018F04C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801920F0 0018F050 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801920F4 0018F054 48 18 09 F5 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801920F8 0018F058 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801920FC 0018F05C 38 61 00 5C */ addi r3, r1, 0x5c /* 80192100 0018F060 C0 21 00 48 */ lfs f1, 0x48(r1) /* 80192104 0018F064 38 81 00 50 */ addi r4, r1, 0x50 /* 80192108 0018F068 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 8019210C 0018F06C D0 41 00 50 */ stfs f2, 0x50(r1) /* 80192110 0018F070 D0 21 00 54 */ stfs f1, 0x54(r1) /* 80192114 0018F074 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80192118 0018F078 48 18 10 29 */ bl Translate__12CTransform4fFRC9CVector3f /* 8019211C 0018F07C 38 61 00 8C */ addi r3, r1, 0x8c /* 80192120 0018F080 38 9F 00 3C */ addi r4, r31, 0x3c /* 80192124 0018F084 38 A1 00 5C */ addi r5, r1, 0x5c /* 80192128 0018F088 48 18 08 29 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8019212C 0018F08C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80192130 0018F090 38 81 00 8C */ addi r4, r1, 0x8c /* 80192134 0018F094 81 83 00 00 */ lwz r12, 0(r3) /* 80192138 0018F098 81 8C 00 30 */ lwz r12, 0x30(r12) /* 8019213C 0018F09C 7D 89 03 A6 */ mtctr r12 /* 80192140 0018F0A0 4E 80 04 21 */ bctrl /* 80192144 0018F0A4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80192148 0018F0A8 3C 00 43 30 */ lis r0, 0x4330 /* 8019214C 0018F0AC C0 1F 00 74 */ lfs f0, 0x74(r31) /* 80192150 0018F0B0 88 64 00 13 */ lbz r3, 0x13(r4) /* 80192154 0018F0B4 90 01 00 C0 */ stw r0, 0xc0(r1) /* 80192158 0018F0B8 EC 5E 00 32 */ fmuls f2, f30, f0 /* 8019215C 0018F0BC C8 22 A5 90 */ lfd f1, lbl_805AC2B0@sda21(r2) /* 80192160 0018F0C0 90 61 00 C4 */ stw r3, 0xc4(r1) /* 80192164 0018F0C4 C8 01 00 C0 */ lfd f0, 0xc0(r1) /* 80192168 0018F0C8 EC 00 08 28 */ fsubs f0, f0, f1 /* 8019216C 0018F0CC EF E2 00 32 */ fmuls f31, f2, f0 /* 80192170 0018F0D0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 80192174 0018F0D4 38 61 00 0C */ addi r3, r1, 0xc /* 80192178 0018F0D8 80 84 00 10 */ lwz r4, 0x10(r4) /* 8019217C 0018F0DC 88 01 00 08 */ lbz r0, 8(r1) /* 80192180 0018F0E0 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 /* 80192184 0018F0E4 90 01 00 0C */ stw r0, 0xc(r1) /* 80192188 0018F0E8 48 17 93 C1 */ bl StreamColor__9CGraphicsFRC6CColor /* 8019218C 0018F0EC FC 20 E8 90 */ fmr f1, f29 /* 80192190 0018F0F0 7F A3 EB 78 */ mr r3, r29 /* 80192194 0018F0F4 4B FF FD 4D */ bl DoDrawRadarPaint__18CHudRadarInterfaceCFf lbl_80192198: /* 80192198 0018F0F8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 8019219C 0018F0FC CB E1 01 10 */ lfd f31, 0x110(r1) /* 801921A0 0018F100 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 801921A4 0018F104 CB C1 01 00 */ lfd f30, 0x100(r1) /* 801921A8 0018F108 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 801921AC 0018F10C CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 801921B0 0018F110 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 /* 801921B4 0018F114 CB 81 00 E0 */ lfd f28, 0xe0(r1) /* 801921B8 0018F118 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 801921BC 0018F11C 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 801921C0 0018F120 80 01 01 24 */ lwz r0, 0x124(r1) /* 801921C4 0018F124 83 A1 00 D4 */ lwz r29, 0xd4(r1) /* 801921C8 0018F128 7C 08 03 A6 */ mtlr r0 /* 801921CC 0018F12C 38 21 01 20 */ addi r1, r1, 0x120 /* 801921D0 0018F130 4E 80 00 20 */ blr .global Draw__18CHudRadarInterfaceCFRC13CStateManagerf Draw__18CHudRadarInterfaceCFRC13CStateManagerf: /* 801921D4 0018F134 94 21 F5 10 */ stwu r1, -0xaf0(r1) /* 801921D8 0018F138 7C 08 02 A6 */ mflr r0 /* 801921DC 0018F13C 90 01 0A F4 */ stw r0, 0xaf4(r1) /* 801921E0 0018F140 DB E1 0A E0 */ stfd f31, 0xae0(r1) /* 801921E4 0018F144 F3 E1 0A E8 */ psq_st f31, -1304(r1), 0, qr0 /* 801921E8 0018F148 DB C1 0A D0 */ stfd f30, 0xad0(r1) /* 801921EC 0018F14C F3 C1 0A D8 */ psq_st f30, -1320(r1), 0, qr0 /* 801921F0 0018F150 DB A1 0A C0 */ stfd f29, 0xac0(r1) /* 801921F4 0018F154 F3 A1 0A C8 */ psq_st f29, -1336(r1), 0, qr0 /* 801921F8 0018F158 DB 81 0A B0 */ stfd f28, 0xab0(r1) /* 801921FC 0018F15C F3 81 0A B8 */ psq_st f28, -1352(r1), 0, qr0 /* 80192200 0018F160 DB 61 0A A0 */ stfd f27, 0xaa0(r1) /* 80192204 0018F164 F3 61 0A A8 */ psq_st f27, -1368(r1), 0, qr0 /* 80192208 0018F168 DB 41 0A 90 */ stfd f26, 0xa90(r1) /* 8019220C 0018F16C F3 41 0A 98 */ psq_st f26, -1384(r1), 0, qr0 /* 80192210 0018F170 DB 21 0A 80 */ stfd f25, 0xa80(r1) /* 80192214 0018F174 F3 21 0A 88 */ psq_st f25, -1400(r1), 0, qr0 /* 80192218 0018F178 DB 01 0A 70 */ stfd f24, 0xa70(r1) /* 8019221C 0018F17C F3 01 0A 78 */ psq_st f24, -1416(r1), 0, qr0 /* 80192220 0018F180 DA E1 0A 60 */ stfd f23, 0xa60(r1) /* 80192224 0018F184 F2 E1 0A 68 */ psq_st f23, -1432(r1), 0, qr0 /* 80192228 0018F188 DA C1 0A 50 */ stfd f22, 0xa50(r1) /* 8019222C 0018F18C F2 C1 0A 58 */ psq_st f22, -1448(r1), 0, qr0 /* 80192230 0018F190 DA A1 0A 40 */ stfd f21, 0xa40(r1) /* 80192234 0018F194 F2 A1 0A 48 */ psq_st f21, -1464(r1), 0, qr0 /* 80192238 0018F198 DA 81 0A 30 */ stfd f20, 0xa30(r1) /* 8019223C 0018F19C F2 81 0A 38 */ psq_st f20, -1480(r1), 0, qr0 /* 80192240 0018F1A0 BE E1 0A 0C */ stmw r23, 0xa0c(r1) /* 80192244 0018F1A4 FE 80 08 90 */ fmr f20, f1 /* 80192248 0018F1A8 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 8019224C 0018F1AC 7C 78 1B 78 */ mr r24, r3 /* 80192250 0018F1B0 7C 99 23 78 */ mr r25, r4 /* 80192254 0018F1B4 38 65 01 7C */ addi r3, r5, 0x17c /* 80192258 0018F1B8 48 07 CB 1D */ bl GetHudAlpha__12CGameOptionsCFv /* 8019225C 0018F1BC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 80192260 0018F1C0 EF 14 00 72 */ fmuls f24, f20, f1 /* 80192264 0018F1C4 80 05 00 F8 */ lwz r0, 0xf8(r5) /* 80192268 0018F1C8 2C 00 00 00 */ cmpwi r0, 0 /* 8019226C 0018F1CC 41 82 05 40 */ beq lbl_801927AC /* 80192270 0018F1D0 88 18 00 3C */ lbz r0, 0x3c(r24) /* 80192274 0018F1D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80192278 0018F1D8 40 82 00 08 */ bne lbl_80192280 /* 8019227C 0018F1DC 48 00 05 30 */ b lbl_801927AC lbl_80192280: /* 80192280 0018F1E0 83 D8 00 08 */ lwz r30, 8(r24) /* 80192284 0018F1E4 28 1E 00 00 */ cmplwi r30, 0 /* 80192288 0018F1E8 41 82 05 24 */ beq lbl_801927AC /* 8019228C 0018F1EC 80 79 08 4C */ lwz r3, 0x84c(r25) /* 80192290 0018F1F0 88 03 09 C6 */ lbz r0, 0x9c6(r3) /* 80192294 0018F1F4 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 80192298 0018F1F8 41 82 00 0C */ beq lbl_801922A4 /* 8019229C 0018F1FC C3 63 0A 20 */ lfs f27, 0xa20(r3) /* 801922A0 0018F200 48 00 00 08 */ b lbl_801922A8 lbl_801922A4: /* 801922A4 0018F204 C3 65 00 10 */ lfs f27, 0x10(r5) lbl_801922A8: /* 801922A8 0018F208 88 03 09 C6 */ lbz r0, 0x9c6(r3) /* 801922AC 0018F20C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801922B0 0018F210 41 82 00 0C */ beq lbl_801922BC /* 801922B4 0018F214 C3 43 0A 24 */ lfs f26, 0xa24(r3) /* 801922B8 0018F218 48 00 00 08 */ b lbl_801922C0 lbl_801922BC: /* 801922BC 0018F21C C3 45 00 24 */ lfs f26, 0x24(r5) lbl_801922C0: /* 801922C0 0018F220 28 00 00 00 */ cmplwi r0, 0 /* 801922C4 0018F224 41 82 00 10 */ beq lbl_801922D4 /* 801922C8 0018F228 C0 02 A5 98 */ lfs f0, lbl_805AC2B8@sda21(r2) /* 801922CC 0018F22C EF 20 06 B2 */ fmuls f25, f0, f26 /* 801922D0 0018F230 48 00 00 08 */ b lbl_801922D8 lbl_801922D4: /* 801922D4 0018F234 C3 25 00 28 */ lfs f25, 0x28(r5) lbl_801922D8: /* 801922D8 0018F238 C2 E5 00 E8 */ lfs f23, 0xe8(r5) /* 801922DC 0018F23C 7F 24 CB 78 */ mr r4, r25 /* 801922E0 0018F240 C2 A5 00 EC */ lfs f21, 0xec(r5) /* 801922E4 0018F244 EE D7 D8 24 */ fdivs f22, f23, f27 /* 801922E8 0018F248 C2 85 00 F0 */ lfs f20, 0xf0(r5) /* 801922EC 0018F24C 80 79 08 70 */ lwz r3, 0x870(r25) /* 801922F0 0018F250 4B E7 98 29 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 801922F4 0018F254 7C 64 1B 78 */ mr r4, r3 /* 801922F8 0018F258 38 61 00 5C */ addi r3, r1, 0x5c /* 801922FC 0018F25C 38 84 00 34 */ addi r4, r4, 0x34 /* 80192300 0018F260 48 17 FE 29 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 80192304 0018F264 38 61 00 6C */ addi r3, r1, 0x6c /* 80192308 0018F268 38 81 00 5C */ addi r4, r1, 0x5c /* 8019230C 0018F26C 4B E8 92 B9 */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion /* 80192310 0018F270 C0 81 00 74 */ lfs f4, 0x74(r1) /* 80192314 0018F274 3C 00 43 30 */ lis r0, 0x4330 /* 80192318 0018F278 C0 02 A5 9C */ lfs f0, lbl_805AC2BC@sda21(r2) /* 8019231C 0018F27C 90 01 09 F8 */ stw r0, 0x9f8(r1) /* 80192320 0018F280 EC 44 00 32 */ fmuls f2, f4, f0 /* 80192324 0018F284 C8 62 A5 A8 */ lfd f3, lbl_805AC2C8@sda21(r2) /* 80192328 0018F288 C0 22 A5 A0 */ lfs f1, lbl_805AC2C0@sda21(r2) /* 8019232C 0018F28C C0 02 A5 84 */ lfs f0, lbl_805AC2A4@sda21(r2) /* 80192330 0018F290 FC 40 10 1E */ fctiwz f2, f2 /* 80192334 0018F294 D8 41 09 F0 */ stfd f2, 0x9f0(r1) /* 80192338 0018F298 80 01 09 F4 */ lwz r0, 0x9f4(r1) /* 8019233C 0018F29C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80192340 0018F2A0 90 01 09 FC */ stw r0, 0x9fc(r1) /* 80192344 0018F2A4 C8 41 09 F8 */ lfd f2, 0x9f8(r1) /* 80192348 0018F2A8 EC 42 18 28 */ fsubs f2, f2, f3 /* 8019234C 0018F2AC EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 80192350 0018F2B0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80192354 0018F2B4 40 80 00 08 */ bge lbl_8019235C /* 80192358 0018F2B8 EC 42 08 2A */ fadds f2, f2, f1 lbl_8019235C: /* 8019235C 0018F2BC C0 02 A5 84 */ lfs f0, lbl_805AC2A4@sda21(r2) /* 80192360 0018F2C0 38 61 00 D0 */ addi r3, r1, 0xd0 /* 80192364 0018F2C4 38 81 00 14 */ addi r4, r1, 0x14 /* 80192368 0018F2C8 EC 02 00 28 */ fsubs f0, f2, f0 /* 8019236C 0018F2CC D0 01 00 14 */ stfs f0, 0x14(r1) /* 80192370 0018F2D0 48 18 15 39 */ bl RotateY__12CTransform4fFRC9CRelAngle /* 80192374 0018F2D4 38 61 01 30 */ addi r3, r1, 0x130 /* 80192378 0018F2D8 38 81 00 D0 */ addi r4, r1, 0xd0 /* 8019237C 0018F2DC 48 18 07 F9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80192380 0018F2E0 80 B9 08 4C */ lwz r5, 0x84c(r25) /* 80192384 0018F2E4 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80192388 0018F2E8 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 8019238C 0018F2EC C3 85 00 60 */ lfs f28, 0x60(r5) /* 80192390 0018F2F0 38 61 01 00 */ addi r3, r1, 0x100 /* 80192394 0018F2F4 C3 A5 00 50 */ lfs f29, 0x50(r5) /* 80192398 0018F2F8 C3 C5 00 40 */ lfs f30, 0x40(r5) /* 8019239C 0018F2FC 48 18 07 D9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801923A0 0018F300 3C 60 80 5A */ lis r3, skZero3f@ha /* 801923A4 0018F304 C0 62 A5 84 */ lfs f3, lbl_805AC2A4@sda21(r2) /* 801923A8 0018F308 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801923AC 0018F30C 80 78 00 44 */ lwz r3, 0x44(r24) /* 801923B0 0018F310 C0 45 00 00 */ lfs f2, 0(r5) /* 801923B4 0018F314 38 81 00 4C */ addi r4, r1, 0x4c /* 801923B8 0018F318 C0 25 00 04 */ lfs f1, 4(r5) /* 801923BC 0018F31C C0 05 00 08 */ lfs f0, 8(r5) /* 801923C0 0018F320 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801923C4 0018F324 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801923C8 0018F328 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801923CC 0018F32C D0 01 00 58 */ stfs f0, 0x58(r1) /* 801923D0 0018F330 81 83 00 00 */ lwz r12, 0(r3) /* 801923D4 0018F334 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801923D8 0018F338 7D 89 03 A6 */ mtctr r12 /* 801923DC 0018F33C 4E 80 04 21 */ bctrl /* 801923E0 0018F340 80 98 00 40 */ lwz r4, 0x40(r24) /* 801923E4 0018F344 38 61 01 00 */ addi r3, r1, 0x100 /* 801923E8 0018F348 38 84 00 34 */ addi r4, r4, 0x34 /* 801923EC 0018F34C 48 18 07 55 */ bl __as__12CTransform4fFRC12CTransform4f /* 801923F0 0018F350 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801923F4 0018F354 38 81 01 00 */ addi r4, r1, 0x100 /* 801923F8 0018F358 81 83 00 00 */ lwz r12, 0(r3) /* 801923FC 0018F35C 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80192400 0018F360 7D 89 03 A6 */ mtctr r12 /* 80192404 0018F364 4E 80 04 21 */ bctrl /* 80192408 0018F368 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8019240C 0018F36C 81 83 00 00 */ lwz r12, 0(r3) /* 80192410 0018F370 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80192414 0018F374 7D 89 03 A6 */ mtctr r12 /* 80192418 0018F378 4E 80 04 21 */ bctrl /* 8019241C 0018F37C 7F C3 F3 78 */ mr r3, r30 /* 80192420 0018F380 38 80 00 00 */ li r4, 0 /* 80192424 0018F384 38 A0 00 01 */ li r5, 1 /* 80192428 0018F388 48 17 D3 15 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019242C 0018F38C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha /* 80192430 0018F390 38 60 00 00 */ li r3, 0 /* 80192434 0018F394 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l /* 80192438 0018F398 48 17 7E 81 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 8019243C 0018F39C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80192440 0018F3A0 38 80 00 00 */ li r4, 0 /* 80192444 0018F3A4 38 A0 00 00 */ li r5, 0 /* 80192448 0018F3A8 81 83 00 00 */ lwz r12, 0(r3) /* 8019244C 0018F3AC 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80192450 0018F3B0 7D 89 03 A6 */ mtctr r12 /* 80192454 0018F3B4 4E 80 04 21 */ bctrl /* 80192458 0018F3B8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8019245C 0018F3BC 3C 00 43 30 */ lis r0, 0x4330 /* 80192460 0018F3C0 90 01 0A 00 */ stw r0, 0xa00(r1) /* 80192464 0018F3C4 88 04 00 0F */ lbz r0, 0xf(r4) /* 80192468 0018F3C8 C8 22 A5 90 */ lfd f1, lbl_805AC2B0@sda21(r2) /* 8019246C 0018F3CC 90 01 0A 04 */ stw r0, 0xa04(r1) /* 80192470 0018F3D0 C8 01 0A 00 */ lfd f0, 0xa00(r1) /* 80192474 0018F3D4 EC 00 08 28 */ fsubs f0, f0, f1 /* 80192478 0018F3D8 EF F8 00 32 */ fmuls f31, f24, f0 /* 8019247C 0018F3DC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 80192480 0018F3E0 38 61 00 10 */ addi r3, r1, 0x10 /* 80192484 0018F3E4 80 84 00 0C */ lwz r4, 0xc(r4) /* 80192488 0018F3E8 88 01 00 08 */ lbz r0, 8(r1) /* 8019248C 0018F3EC 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 /* 80192490 0018F3F0 90 01 00 10 */ stw r0, 0x10(r1) /* 80192494 0018F3F4 48 17 90 B5 */ bl StreamColor__9CGraphicsFRC6CColor /* 80192498 0018F3F8 FC 20 A8 90 */ fmr f1, f21 /* 8019249C 0018F3FC 7F 03 C3 78 */ mr r3, r24 /* 801924A0 0018F400 4B FF FA 41 */ bl DoDrawRadarPaint__18CHudRadarInterfaceCFf /* 801924A4 0018F404 80 AD 8F 68 */ lwz r5, lbl_805A7B28@sda21(r13) /* 801924A8 0018F408 38 60 00 00 */ li r3, 0 /* 801924AC 0018F40C 38 80 00 01 */ li r4, 1 /* 801924B0 0018F410 48 1F 7A 45 */ bl __shl2i /* 801924B4 0018F414 80 AD 8F 60 */ lwz r5, lbl_805A7B20@sda21(r13) /* 801924B8 0018F418 7C 9A 23 78 */ mr r26, r4 /* 801924BC 0018F41C 7C 77 1B 78 */ mr r23, r3 /* 801924C0 0018F420 38 60 00 00 */ li r3, 0 /* 801924C4 0018F424 38 80 00 01 */ li r4, 1 /* 801924C8 0018F428 48 1F 7A 2D */ bl __shl2i /* 801924CC 0018F42C 80 AD 8F 64 */ lwz r5, lbl_805A7B24@sda21(r13) /* 801924D0 0018F430 7C 9C 23 78 */ mr r28, r4 /* 801924D4 0018F434 7C 7B 1B 78 */ mr r27, r3 /* 801924D8 0018F438 38 60 00 00 */ li r3, 0 /* 801924DC 0018F43C 38 80 00 01 */ li r4, 1 /* 801924E0 0018F440 48 1F 7A 15 */ bl __shl2i /* 801924E4 0018F444 FC 20 D8 50 */ fneg f1, f27 /* 801924E8 0018F448 7F 9C 23 78 */ or r28, r28, r4 /* 801924EC 0018F44C FC 00 D0 50 */ fneg f0, f26 /* 801924F0 0018F450 7F 7B 1B 78 */ or r27, r27, r3 /* 801924F4 0018F454 3C 60 80 5A */ lis r3, lbl_805A6754@ha /* 801924F8 0018F458 38 00 00 03 */ li r0, 3 /* 801924FC 0018F45C 38 83 67 54 */ addi r4, r3, lbl_805A6754@l /* 80192500 0018F460 EC 5E 08 2A */ fadds f2, f30, f1 /* 80192504 0018F464 EC 3D 08 2A */ fadds f1, f29, f1 /* 80192508 0018F468 C1 04 00 00 */ lfs f8, 0(r4) /* 8019250C 0018F46C EC 1C 00 2A */ fadds f0, f28, f0 /* 80192510 0018F470 C0 E4 00 04 */ lfs f7, 4(r4) /* 80192514 0018F474 C0 C4 00 08 */ lfs f6, 8(r4) /* 80192518 0018F478 C0 A4 00 0C */ lfs f5, 0xc(r4) /* 8019251C 0018F47C C0 84 00 10 */ lfs f4, 0x10(r4) /* 80192520 0018F480 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80192524 0018F484 C0 64 00 14 */ lfs f3, 0x14(r4) /* 80192528 0018F488 38 81 00 40 */ addi r4, r1, 0x40 /* 8019252C 0018F48C 90 01 00 98 */ stw r0, 0x98(r1) /* 80192530 0018F490 93 81 00 BC */ stw r28, 0xbc(r1) /* 80192534 0018F494 93 61 00 B8 */ stw r27, 0xb8(r1) /* 80192538 0018F498 93 41 00 C4 */ stw r26, 0xc4(r1) /* 8019253C 0018F49C 92 E1 00 C0 */ stw r23, 0xc0(r1) /* 80192540 0018F4A0 90 01 00 C8 */ stw r0, 0xc8(r1) /* 80192544 0018F4A4 D1 01 00 A0 */ stfs f8, 0xa0(r1) /* 80192548 0018F4A8 D0 E1 00 A4 */ stfs f7, 0xa4(r1) /* 8019254C 0018F4AC D0 C1 00 A8 */ stfs f6, 0xa8(r1) /* 80192550 0018F4B0 D0 A1 00 AC */ stfs f5, 0xac(r1) /* 80192554 0018F4B4 D0 81 00 B0 */ stfs f4, 0xb0(r1) /* 80192558 0018F4B8 D0 61 00 B4 */ stfs f3, 0xb4(r1) /* 8019255C 0018F4BC D0 41 00 40 */ stfs f2, 0x40(r1) /* 80192560 0018F4C0 D0 21 00 44 */ stfs f1, 0x44(r1) /* 80192564 0018F4C4 D0 01 00 48 */ stfs f0, 0x48(r1) /* 80192568 0018F4C8 48 1A 55 A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8019256C 0018F4CC EC 5E D8 2A */ fadds f2, f30, f27 /* 80192570 0018F4D0 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80192574 0018F4D4 EC 3D D8 2A */ fadds f1, f29, f27 /* 80192578 0018F4D8 38 81 00 34 */ addi r4, r1, 0x34 /* 8019257C 0018F4DC EC 1C D0 2A */ fadds f0, f28, f26 /* 80192580 0018F4E0 D0 41 00 34 */ stfs f2, 0x34(r1) /* 80192584 0018F4E4 D0 21 00 38 */ stfs f1, 0x38(r1) /* 80192588 0018F4E8 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 8019258C 0018F4EC 48 1A 55 7D */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 80192590 0018F4F0 38 00 00 00 */ li r0, 0 /* 80192594 0018F4F4 7F 23 CB 78 */ mr r3, r25 /* 80192598 0018F4F8 90 01 01 E8 */ stw r0, 0x1e8(r1) /* 8019259C 0018F4FC 38 81 01 E8 */ addi r4, r1, 0x1e8 /* 801925A0 0018F500 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 801925A4 0018F504 38 C1 00 B8 */ addi r6, r1, 0xb8 /* 801925A8 0018F508 38 E0 00 00 */ li r7, 0 /* 801925AC 0018F50C 4B EB A1 75 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801925B0 0018F510 D3 C1 01 60 */ stfs f30, 0x160(r1) /* 801925B4 0018F514 38 61 01 6C */ addi r3, r1, 0x16c /* 801925B8 0018F518 38 81 01 30 */ addi r4, r1, 0x130 /* 801925BC 0018F51C D3 A1 01 64 */ stfs f29, 0x164(r1) /* 801925C0 0018F520 D3 81 01 68 */ stfs f28, 0x168(r1) /* 801925C4 0018F524 48 18 05 B1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801925C8 0018F528 38 61 01 9C */ addi r3, r1, 0x19c /* 801925CC 0018F52C 38 81 01 00 */ addi r4, r1, 0x100 /* 801925D0 0018F530 48 18 05 A5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801925D4 0018F534 3B C1 01 EC */ addi r30, r1, 0x1ec /* 801925D8 0018F538 D2 E1 01 CC */ stfs f23, 0x1cc(r1) /* 801925DC 0018F53C 7F DC F3 78 */ mr r28, r30 /* 801925E0 0018F540 3B A0 00 00 */ li r29, 0 /* 801925E4 0018F544 D2 C1 01 D0 */ stfs f22, 0x1d0(r1) /* 801925E8 0018F548 D3 01 01 D4 */ stfs f24, 0x1d4(r1) /* 801925EC 0018F54C D3 61 01 D8 */ stfs f27, 0x1d8(r1) /* 801925F0 0018F550 D3 41 01 DC */ stfs f26, 0x1dc(r1) /* 801925F4 0018F554 D3 21 01 E0 */ stfs f25, 0x1e0(r1) /* 801925F8 0018F558 48 00 01 30 */ b lbl_80192728 lbl_801925FC: /* 801925FC 0018F55C A0 1C 00 00 */ lhz r0, 0(r28) /* 80192600 0018F560 7F 23 CB 78 */ mr r3, r25 /* 80192604 0018F564 38 81 00 0C */ addi r4, r1, 0xc /* 80192608 0018F568 B0 01 00 0C */ sth r0, 0xc(r1) /* 8019260C 0018F56C 4B EB 9F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80192610 0018F570 7C 64 1B 78 */ mr r4, r3 /* 80192614 0018F574 38 61 00 20 */ addi r3, r1, 0x20 /* 80192618 0018F578 4B F1 D6 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 8019261C 0018F57C 82 E3 00 04 */ lwz r23, 4(r3) /* 80192620 0018F580 28 17 00 00 */ cmplwi r23, 0 /* 80192624 0018F584 41 82 01 00 */ beq lbl_80192724 /* 80192628 0018F588 88 17 00 30 */ lbz r0, 0x30(r23) /* 8019262C 0018F58C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80192630 0018F590 41 82 00 F4 */ beq lbl_80192724 /* 80192634 0018F594 7E E4 BB 78 */ mr r4, r23 /* 80192638 0018F598 38 61 00 18 */ addi r3, r1, 0x18 /* 8019263C 0018F59C 4B F1 35 D5 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" /* 80192640 0018F5A0 83 63 00 04 */ lwz r27, 4(r3) /* 80192644 0018F5A4 28 1B 00 00 */ cmplwi r27, 0 /* 80192648 0018F5A8 41 82 00 A0 */ beq lbl_801926E8 /* 8019264C 0018F5AC C0 02 A5 A4 */ lfs f0, lbl_805AC2C4@sda21(r2) /* 80192650 0018F5B0 3B 40 00 00 */ li r26, 0 /* 80192654 0018F5B4 82 FB 01 0C */ lwz r23, 0x10c(r27) /* 80192658 0018F5B8 3B E0 00 00 */ li r31, 0 /* 8019265C 0018F5BC EE B4 00 32 */ fmuls f21, f20, f0 /* 80192660 0018F5C0 48 00 00 7C */ b lbl_801926DC lbl_80192664: /* 80192664 0018F5C4 2C 1A FF FF */ cmpwi r26, -1 /* 80192668 0018F5C8 38 80 00 00 */ li r4, 0 /* 8019266C 0018F5CC 40 81 00 28 */ ble lbl_80192694 /* 80192670 0018F5D0 80 1B 01 0C */ lwz r0, 0x10c(r27) /* 80192674 0018F5D4 7C 1A 00 00 */ cmpw r26, r0 /* 80192678 0018F5D8 40 80 00 1C */ bge lbl_80192694 /* 8019267C 0018F5DC 80 7B 01 14 */ lwz r3, 0x114(r27) /* 80192680 0018F5E0 38 1F 00 80 */ addi r0, r31, 0x80 /* 80192684 0018F5E4 7C 03 00 AE */ lbzx r0, r3, r0 /* 80192688 0018F5E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8019268C 0018F5EC 41 82 00 08 */ beq lbl_80192694 /* 80192690 0018F5F0 38 80 00 01 */ li r4, 1 lbl_80192694: /* 80192694 0018F5F4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80192698 0018F5F8 41 82 00 3C */ beq lbl_801926D4 /* 8019269C 0018F5FC 80 1B 01 14 */ lwz r0, 0x114(r27) /* 801926A0 0018F600 FC 20 A8 90 */ fmr f1, f21 /* 801926A4 0018F604 C0 42 A5 A4 */ lfs f2, lbl_805AC2C4@sda21(r2) /* 801926A8 0018F608 7F 03 C3 78 */ mr r3, r24 /* 801926AC 0018F60C 7C C0 FA 14 */ add r6, r0, r31 /* 801926B0 0018F610 38 81 00 78 */ addi r4, r1, 0x78 /* 801926B4 0018F614 C0 86 00 2C */ lfs f4, 0x2c(r6) /* 801926B8 0018F618 C0 66 00 1C */ lfs f3, 0x1c(r6) /* 801926BC 0018F61C 38 A1 01 60 */ addi r5, r1, 0x160 /* 801926C0 0018F620 C0 06 00 0C */ lfs f0, 0xc(r6) /* 801926C4 0018F624 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801926C8 0018F628 D0 61 00 7C */ stfs f3, 0x7c(r1) /* 801926CC 0018F62C D0 81 00 80 */ stfs f4, 0x80(r1) /* 801926D0 0018F630 4B FF F8 F5 */ bl DrawRadarPaint__18CHudRadarInterfaceCFRC9CVector3fffRCQ218CHudRadarInterface20SRadarPaintDrawParms lbl_801926D4: /* 801926D4 0018F634 3B FF 00 84 */ addi r31, r31, 0x84 /* 801926D8 0018F638 3B 5A 00 01 */ addi r26, r26, 1 lbl_801926DC: /* 801926DC 0018F63C 7C 1A B8 00 */ cmpw r26, r23 /* 801926E0 0018F640 41 80 FF 84 */ blt lbl_80192664 /* 801926E4 0018F644 48 00 00 34 */ b lbl_80192718 lbl_801926E8: /* 801926E8 0018F648 C0 97 00 60 */ lfs f4, 0x60(r23) /* 801926EC 0018F64C FC 20 A0 90 */ fmr f1, f20 /* 801926F0 0018F650 C0 77 00 50 */ lfs f3, 0x50(r23) /* 801926F4 0018F654 7F 03 C3 78 */ mr r3, r24 /* 801926F8 0018F658 C0 17 00 40 */ lfs f0, 0x40(r23) /* 801926FC 0018F65C 38 81 00 28 */ addi r4, r1, 0x28 /* 80192700 0018F660 C0 42 A5 88 */ lfs f2, lbl_805AC2A8@sda21(r2) /* 80192704 0018F664 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80192708 0018F668 38 A1 01 60 */ addi r5, r1, 0x160 /* 8019270C 0018F66C D0 61 00 2C */ stfs f3, 0x2c(r1) /* 80192710 0018F670 D0 81 00 30 */ stfs f4, 0x30(r1) /* 80192714 0018F674 4B FF F8 B1 */ bl DrawRadarPaint__18CHudRadarInterfaceCFRC9CVector3fffRCQ218CHudRadarInterface20SRadarPaintDrawParms lbl_80192718: /* 80192718 0018F678 3B BD 00 01 */ addi r29, r29, 1 /* 8019271C 0018F67C 2C 1D 00 80 */ cmpwi r29, 0x80 /* 80192720 0018F680 40 80 00 1C */ bge lbl_8019273C lbl_80192724: /* 80192724 0018F684 3B 9C 00 02 */ addi r28, r28, 2 lbl_80192728: /* 80192728 0018F688 80 01 01 E8 */ lwz r0, 0x1e8(r1) /* 8019272C 0018F68C 54 00 08 3C */ slwi r0, r0, 1 /* 80192730 0018F690 7C 1E 02 14 */ add r0, r30, r0 /* 80192734 0018F694 7C 1C 00 40 */ cmplw r28, r0 /* 80192738 0018F698 40 82 FE C4 */ bne lbl_801925FC lbl_8019273C: /* 8019273C 0018F69C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80192740 0018F6A0 38 80 00 01 */ li r4, 1 /* 80192744 0018F6A4 38 A0 00 01 */ li r5, 1 /* 80192748 0018F6A8 81 83 00 00 */ lwz r12, 0(r3) /* 8019274C 0018F6AC 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80192750 0018F6B0 7D 89 03 A6 */ mtctr r12 /* 80192754 0018F6B4 4E 80 04 21 */ bctrl /* 80192758 0018F6B8 80 A1 01 E8 */ lwz r5, 0x1e8(r1) /* 8019275C 0018F6BC 38 60 00 00 */ li r3, 0 /* 80192760 0018F6C0 2C 05 00 00 */ cmpwi r5, 0 /* 80192764 0018F6C4 40 81 00 40 */ ble lbl_801927A4 /* 80192768 0018F6C8 2C 05 00 08 */ cmpwi r5, 8 /* 8019276C 0018F6CC 38 85 FF F8 */ addi r4, r5, -8 /* 80192770 0018F6D0 40 81 00 20 */ ble lbl_80192790 /* 80192774 0018F6D4 38 04 00 07 */ addi r0, r4, 7 /* 80192778 0018F6D8 54 00 E8 FE */ srwi r0, r0, 3 /* 8019277C 0018F6DC 7C 09 03 A6 */ mtctr r0 /* 80192780 0018F6E0 2C 04 00 00 */ cmpwi r4, 0 /* 80192784 0018F6E4 40 81 00 0C */ ble lbl_80192790 lbl_80192788: /* 80192788 0018F6E8 38 63 00 08 */ addi r3, r3, 8 /* 8019278C 0018F6EC 42 00 FF FC */ bdnz lbl_80192788 lbl_80192790: /* 80192790 0018F6F0 7C 03 28 50 */ subf r0, r3, r5 /* 80192794 0018F6F4 7C 09 03 A6 */ mtctr r0 /* 80192798 0018F6F8 7C 03 28 00 */ cmpw r3, r5 /* 8019279C 0018F6FC 40 80 00 08 */ bge lbl_801927A4 lbl_801927A0: /* 801927A0 0018F700 42 00 00 00 */ bdnz lbl_801927A0 lbl_801927A4: /* 801927A4 0018F704 38 00 00 00 */ li r0, 0 /* 801927A8 0018F708 90 01 01 E8 */ stw r0, 0x1e8(r1) lbl_801927AC: /* 801927AC 0018F70C E3 E1 0A E8 */ psq_l f31, -1304(r1), 0, qr0 /* 801927B0 0018F710 CB E1 0A E0 */ lfd f31, 0xae0(r1) /* 801927B4 0018F714 E3 C1 0A D8 */ psq_l f30, -1320(r1), 0, qr0 /* 801927B8 0018F718 CB C1 0A D0 */ lfd f30, 0xad0(r1) /* 801927BC 0018F71C E3 A1 0A C8 */ psq_l f29, -1336(r1), 0, qr0 /* 801927C0 0018F720 CB A1 0A C0 */ lfd f29, 0xac0(r1) /* 801927C4 0018F724 E3 81 0A B8 */ psq_l f28, -1352(r1), 0, qr0 /* 801927C8 0018F728 CB 81 0A B0 */ lfd f28, 0xab0(r1) /* 801927CC 0018F72C E3 61 0A A8 */ psq_l f27, -1368(r1), 0, qr0 /* 801927D0 0018F730 CB 61 0A A0 */ lfd f27, 0xaa0(r1) /* 801927D4 0018F734 E3 41 0A 98 */ psq_l f26, -1384(r1), 0, qr0 /* 801927D8 0018F738 CB 41 0A 90 */ lfd f26, 0xa90(r1) /* 801927DC 0018F73C E3 21 0A 88 */ psq_l f25, -1400(r1), 0, qr0 /* 801927E0 0018F740 CB 21 0A 80 */ lfd f25, 0xa80(r1) /* 801927E4 0018F744 E3 01 0A 78 */ psq_l f24, -1416(r1), 0, qr0 /* 801927E8 0018F748 CB 01 0A 70 */ lfd f24, 0xa70(r1) /* 801927EC 0018F74C E2 E1 0A 68 */ psq_l f23, -1432(r1), 0, qr0 /* 801927F0 0018F750 CA E1 0A 60 */ lfd f23, 0xa60(r1) /* 801927F4 0018F754 E2 C1 0A 58 */ psq_l f22, -1448(r1), 0, qr0 /* 801927F8 0018F758 CA C1 0A 50 */ lfd f22, 0xa50(r1) /* 801927FC 0018F75C E2 A1 0A 48 */ psq_l f21, -1464(r1), 0, qr0 /* 80192800 0018F760 CA A1 0A 40 */ lfd f21, 0xa40(r1) /* 80192804 0018F764 E2 81 0A 38 */ psq_l f20, -1480(r1), 0, qr0 /* 80192808 0018F768 CA 81 0A 30 */ lfd f20, 0xa30(r1) /* 8019280C 0018F76C BA E1 0A 0C */ lmw r23, 0xa0c(r1) /* 80192810 0018F770 80 01 0A F4 */ lwz r0, 0xaf4(r1) /* 80192814 0018F774 7C 08 03 A6 */ mtlr r0 /* 80192818 0018F778 38 21 0A F0 */ addi r1, r1, 0xaf0 /* 8019281C 0018F77C 4E 80 00 20 */ blr .global Update__18CHudRadarInterfaceFfRC13CStateManager Update__18CHudRadarInterfaceFfRC13CStateManager: /* 80192820 0018F780 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80192824 0018F784 7C 08 02 A6 */ mflr r0 /* 80192828 0018F788 90 01 00 44 */ stw r0, 0x44(r1) /* 8019282C 0018F78C DB E1 00 30 */ stfd f31, 0x30(r1) /* 80192830 0018F790 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 80192834 0018F794 DB C1 00 20 */ stfd f30, 0x20(r1) /* 80192838 0018F798 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 8019283C 0018F79C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80192840 0018F7A0 80 84 08 B8 */ lwz r4, 0x8b8(r4) /* 80192844 0018F7A4 7C 7F 1B 78 */ mr r31, r3 /* 80192848 0018F7A8 80 64 00 00 */ lwz r3, 0(r4) /* 8019284C 0018F7AC 80 03 00 14 */ lwz r0, 0x14(r3) /* 80192850 0018F7B0 2C 00 00 00 */ cmpwi r0, 0 /* 80192854 0018F7B4 40 82 00 10 */ bne lbl_80192864 /* 80192858 0018F7B8 4B EF F0 0D */ bl GetVisorTransitionFactor__12CPlayerStateCFv /* 8019285C 0018F7BC FF E0 08 90 */ fmr f31, f1 /* 80192860 0018F7C0 48 00 00 08 */ b lbl_80192868 lbl_80192864: /* 80192864 0018F7C4 C3 E2 A5 84 */ lfs f31, lbl_805AC2A4@sda21(r2) lbl_80192868: /* 80192868 0018F7C8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8019286C 0018F7CC 38 63 01 7C */ addi r3, r3, 0x17c /* 80192870 0018F7D0 48 07 C5 05 */ bl GetHudAlpha__12CGameOptionsCFv /* 80192874 0018F7D4 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 80192878 0018F7D8 3C 00 43 30 */ lis r0, 0x4330 /* 8019287C 0018F7DC 90 01 00 10 */ stw r0, 0x10(r1) /* 80192880 0018F7E0 EC 5F 00 72 */ fmuls f2, f31, f1 /* 80192884 0018F7E4 88 03 00 0B */ lbz r0, 0xb(r3) /* 80192888 0018F7E8 C8 22 A5 90 */ lfd f1, lbl_805AC2B0@sda21(r2) /* 8019288C 0018F7EC 90 01 00 14 */ stw r0, 0x14(r1) /* 80192890 0018F7F0 C8 01 00 10 */ lfd f0, 0x10(r1) /* 80192894 0018F7F4 EC 00 08 28 */ fsubs f0, f0, f1 /* 80192898 0018F7F8 EF C2 00 32 */ fmuls f30, f2, f0 /* 8019289C 0018F7FC F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 801928A0 0018F800 38 81 00 0C */ addi r4, r1, 0xc /* 801928A4 0018F804 80 63 00 08 */ lwz r3, 8(r3) /* 801928A8 0018F808 88 01 00 08 */ lbz r0, 8(r1) /* 801928AC 0018F80C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801928B0 0018F810 90 01 00 0C */ stw r0, 0xc(r1) /* 801928B4 0018F814 80 7F 00 40 */ lwz r3, 0x40(r31) /* 801928B8 0018F818 48 13 7F B5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801928BC 0018F81C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 801928C0 0018F820 38 80 00 01 */ li r4, 1 /* 801928C4 0018F824 80 63 00 F8 */ lwz r3, 0xf8(r3) /* 801928C8 0018F828 38 63 FF FD */ addi r3, r3, -3 /* 801928CC 0018F82C 20 03 00 01 */ subfic r0, r3, 1 /* 801928D0 0018F830 7C 83 1B 38 */ orc r3, r4, r3 /* 801928D4 0018F834 54 00 F8 7E */ srwi r0, r0, 1 /* 801928D8 0018F838 7C 00 18 50 */ subf r0, r0, r3 /* 801928DC 0018F83C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f /* 801928E0 0018F840 40 82 00 08 */ bne lbl_801928E8 /* 801928E4 0018F844 38 80 00 00 */ li r4, 0 lbl_801928E8: /* 801928E8 0018F848 88 7F 00 3C */ lbz r3, 0x3c(r31) /* 801928EC 0018F84C 54 80 06 3E */ clrlwi r0, r4, 0x18 /* 801928F0 0018F850 54 64 D7 FE */ rlwinm r4, r3, 0x1a, 0x1f, 0x1f /* 801928F4 0018F854 7C 04 00 40 */ cmplw r4, r0 /* 801928F8 0018F858 41 82 00 38 */ beq lbl_80192930 /* 801928FC 0018F85C 7C 80 00 34 */ cntlzw r0, r4 /* 80192900 0018F860 38 80 00 00 */ li r4, 0 /* 80192904 0018F864 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 /* 80192908 0018F868 98 7F 00 3C */ stb r3, 0x3c(r31) /* 8019290C 0018F86C 88 BF 00 3C */ lbz r5, 0x3c(r31) /* 80192910 0018F870 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80192914 0018F874 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f /* 80192918 0018F878 41 82 00 10 */ beq lbl_80192928 /* 8019291C 0018F87C 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f /* 80192920 0018F880 41 82 00 08 */ beq lbl_80192928 /* 80192924 0018F884 38 80 00 01 */ li r4, 1 lbl_80192928: /* 80192928 0018F888 38 A0 00 01 */ li r5, 1 /* 8019292C 0018F88C 48 13 7D BD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode lbl_80192930: /* 80192930 0018F890 80 1F 00 08 */ lwz r0, 8(r31) /* 80192934 0018F894 28 00 00 00 */ cmplwi r0, 0 /* 80192938 0018F898 40 82 00 30 */ bne lbl_80192968 /* 8019293C 0018F89C 88 1F 00 04 */ lbz r0, 4(r31) /* 80192940 0018F8A0 28 00 00 00 */ cmplwi r0, 0 /* 80192944 0018F8A4 41 82 00 24 */ beq lbl_80192968 /* 80192948 0018F8A8 80 7F 00 00 */ lwz r3, 0(r31) /* 8019294C 0018F8AC 80 03 00 10 */ lwz r0, 0x10(r3) /* 80192950 0018F8B0 28 00 00 00 */ cmplwi r0, 0 /* 80192954 0018F8B4 41 82 00 14 */ beq lbl_80192968 /* 80192958 0018F8B8 7F E3 FB 78 */ mr r3, r31 /* 8019295C 0018F8BC 48 1A E4 B1 */ bl GetObj__6CTokenFv /* 80192960 0018F8C0 80 03 00 04 */ lwz r0, 4(r3) /* 80192964 0018F8C4 90 1F 00 08 */ stw r0, 8(r31) lbl_80192968: /* 80192968 0018F8C8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8019296C 0018F8CC CB E1 00 30 */ lfd f31, 0x30(r1) /* 80192970 0018F8D0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 80192974 0018F8D4 CB C1 00 20 */ lfd f30, 0x20(r1) /* 80192978 0018F8D8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8019297C 0018F8DC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80192980 0018F8E0 7C 08 03 A6 */ mtlr r0 /* 80192984 0018F8E4 38 21 00 40 */ addi r1, r1, 0x40 /* 80192988 0018F8E8 4E 80 00 20 */ blr .global SetIsVisibleGame__18CHudRadarInterfaceFb SetIsVisibleGame__18CHudRadarInterfaceFb: /* 8019298C 0018F8EC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80192990 0018F8F0 7C 08 02 A6 */ mflr r0 /* 80192994 0018F8F4 90 01 00 14 */ stw r0, 0x14(r1) /* 80192998 0018F8F8 88 03 00 3C */ lbz r0, 0x3c(r3) /* 8019299C 0018F8FC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801929A0 0018F900 38 80 00 00 */ li r4, 0 /* 801929A4 0018F904 98 03 00 3C */ stb r0, 0x3c(r3) /* 801929A8 0018F908 88 A3 00 3C */ lbz r5, 0x3c(r3) /* 801929AC 0018F90C 80 63 00 40 */ lwz r3, 0x40(r3) /* 801929B0 0018F910 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f /* 801929B4 0018F914 41 82 00 10 */ beq lbl_801929C4 /* 801929B8 0018F918 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f /* 801929BC 0018F91C 41 82 00 08 */ beq lbl_801929C4 /* 801929C0 0018F920 38 80 00 01 */ li r4, 1 lbl_801929C4: /* 801929C4 0018F924 38 A0 00 01 */ li r5, 1 /* 801929C8 0018F928 48 13 7D 21 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801929CC 0018F92C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801929D0 0018F930 7C 08 03 A6 */ mtlr r0 /* 801929D4 0018F934 38 21 00 10 */ addi r1, r1, 0x10 /* 801929D8 0018F938 4E 80 00 20 */ blr .global __ct__18CHudRadarInterfaceFR9CGuiFrameRC13CStateManager __ct__18CHudRadarInterfaceFR9CGuiFrameRC13CStateManager: /* 801929DC 0018F93C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801929E0 0018F940 7C 08 02 A6 */ mflr r0 /* 801929E4 0018F944 3C A0 80 3D */ lis r5, lbl_803D0D50@ha /* 801929E8 0018F948 90 01 00 34 */ stw r0, 0x34(r1) /* 801929EC 0018F94C 38 A5 0D 50 */ addi r5, r5, lbl_803D0D50@l /* 801929F0 0018F950 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801929F4 0018F954 7C 9F 23 78 */ mr r31, r4 /* 801929F8 0018F958 93 C1 00 28 */ stw r30, 0x28(r1) /* 801929FC 0018F95C 7C 7E 1B 78 */ mr r30, r3 /* 80192A00 0018F960 38 61 00 08 */ addi r3, r1, 8 /* 80192A04 0018F964 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80192A08 0018F968 81 84 00 00 */ lwz r12, 0(r4) /* 80192A0C 0018F96C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80192A10 0018F970 7D 89 03 A6 */ mtctr r12 /* 80192A14 0018F974 4E 80 04 21 */ bctrl /* 80192A18 0018F978 7F C3 F3 78 */ mr r3, r30 /* 80192A1C 0018F97C 38 81 00 08 */ addi r4, r1, 8 /* 80192A20 0018F980 48 1A E4 89 */ bl __ct__6CTokenFRC6CToken /* 80192A24 0018F984 38 00 00 00 */ li r0, 0 /* 80192A28 0018F988 38 61 00 08 */ addi r3, r1, 8 /* 80192A2C 0018F98C 90 1E 00 08 */ stw r0, 8(r30) /* 80192A30 0018F990 38 80 FF FF */ li r4, -1 /* 80192A34 0018F994 48 1A E4 0D */ bl __dt__6CTokenFv /* 80192A38 0018F998 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 80192A3C 0018F99C 38 7E 00 0C */ addi r3, r30, 0xc /* 80192A40 0018F9A0 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 80192A44 0018F9A4 48 18 01 31 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80192A48 0018F9A8 88 1E 00 3C */ lbz r0, 0x3c(r30) /* 80192A4C 0018F9AC 38 A0 00 01 */ li r5, 1 /* 80192A50 0018F9B0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80192A54 0018F9B4 3C 60 80 3D */ lis r3, lbl_803D0D38@ha /* 80192A58 0018F9B8 98 1E 00 3C */ stb r0, 0x3c(r30) /* 80192A5C 0018F9BC 38 83 0D 38 */ addi r4, r3, lbl_803D0D38@l /* 80192A60 0018F9C0 38 61 00 10 */ addi r3, r1, 0x10 /* 80192A64 0018F9C4 88 1E 00 3C */ lbz r0, 0x3c(r30) /* 80192A68 0018F9C8 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80192A6C 0018F9CC 98 1E 00 3C */ stb r0, 0x3c(r30) /* 80192A70 0018F9D0 4B E7 22 49 */ bl string_l__4rstlFPCc /* 80192A74 0018F9D4 7F E3 FB 78 */ mr r3, r31 /* 80192A78 0018F9D8 38 81 00 10 */ addi r4, r1, 0x10 /* 80192A7C 0018F9DC 48 12 F7 59 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80192A80 0018F9E0 90 7E 00 40 */ stw r3, 0x40(r30) /* 80192A84 0018F9E4 38 61 00 10 */ addi r3, r1, 0x10 /* 80192A88 0018F9E8 48 1A B0 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80192A8C 0018F9EC 80 1F 00 14 */ lwz r0, 0x14(r31) /* 80192A90 0018F9F0 38 7E 00 0C */ addi r3, r30, 0xc /* 80192A94 0018F9F4 90 1E 00 44 */ stw r0, 0x44(r30) /* 80192A98 0018F9F8 80 9E 00 40 */ lwz r4, 0x40(r30) /* 80192A9C 0018F9FC 38 84 00 04 */ addi r4, r4, 4 /* 80192AA0 0018FA00 48 18 00 A1 */ bl __as__12CTransform4fFRC12CTransform4f /* 80192AA4 0018FA04 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80192AA8 0018FA08 80 7E 00 40 */ lwz r3, 0x40(r30) /* 80192AAC 0018FA0C 38 84 00 08 */ addi r4, r4, 8 /* 80192AB0 0018FA10 48 13 7D BD */ bl SetColor__10CGuiWidgetFRC6CColor /* 80192AB4 0018FA14 7F C3 F3 78 */ mr r3, r30 /* 80192AB8 0018FA18 48 1A E2 CD */ bl Lock__6CTokenFv /* 80192ABC 0018FA1C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80192AC0 0018FA20 7F C3 F3 78 */ mr r3, r30 /* 80192AC4 0018FA24 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80192AC8 0018FA28 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80192ACC 0018FA2C 7C 08 03 A6 */ mtlr r0 /* 80192AD0 0018FA30 38 21 00 30 */ addi r1, r1, 0x30 /* 80192AD4 0018FA34 4E 80 00 20 */ blr .global __dt__19CHudThreatInterfaceFv __dt__19CHudThreatInterfaceFv: /* 80192AD8 0018FA38 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80192ADC 0018FA3C 7C 08 02 A6 */ mflr r0 /* 80192AE0 0018FA40 90 01 00 14 */ stw r0, 0x14(r1) /* 80192AE4 0018FA44 93 E1 00 0C */ stw r31, 0xc(r1) /* 80192AE8 0018FA48 7C 7F 1B 79 */ or. r31, r3, r3 /* 80192AEC 0018FA4C 41 82 00 30 */ beq lbl_80192B1C /* 80192AF0 0018FA50 3C 60 80 3E */ lis r3, lbl_803E44A8@ha /* 80192AF4 0018FA54 38 03 44 A8 */ addi r0, r3, lbl_803E44A8@l /* 80192AF8 0018FA58 90 1F 00 00 */ stw r0, 0(r31) /* 80192AFC 0018FA5C 41 82 00 10 */ beq lbl_80192B0C /* 80192B00 0018FA60 3C 60 80 3E */ lis r3, lbl_803DA304@ha /* 80192B04 0018FA64 38 03 A3 04 */ addi r0, r3, lbl_803DA304@l /* 80192B08 0018FA68 90 1F 00 00 */ stw r0, 0(r31) lbl_80192B0C: /* 80192B0C 0018FA6C 7C 80 07 35 */ extsh. r0, r4 /* 80192B10 0018FA70 40 81 00 0C */ ble lbl_80192B1C /* 80192B14 0018FA74 7F E3 FB 78 */ mr r3, r31 /* 80192B18 0018FA78 48 18 2E 19 */ bl Free__7CMemoryFPCv lbl_80192B1C: /* 80192B1C 0018FA7C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80192B20 0018FA80 7F E3 FB 78 */ mr r3, r31 /* 80192B24 0018FA84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80192B28 0018FA88 7C 08 03 A6 */ mtlr r0 /* 80192B2C 0018FA8C 38 21 00 10 */ addi r1, r1, 0x10 /* 80192B30 0018FA90 4E 80 00 20 */ blr .global Update__19CHudThreatInterfaceFf Update__19CHudThreatInterfaceFf: /* 80192B34 0018FA94 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 80192B38 0018FA98 7C 08 02 A6 */ mflr r0 /* 80192B3C 0018FA9C 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 80192B40 0018FAA0 DB E1 01 90 */ stfd f31, 0x190(r1) /* 80192B44 0018FAA4 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 80192B48 0018FAA8 DB C1 01 80 */ stfd f30, 0x180(r1) /* 80192B4C 0018FAAC F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 80192B50 0018FAB0 DB A1 01 70 */ stfd f29, 0x170(r1) /* 80192B54 0018FAB4 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 80192B58 0018FAB8 DB 81 01 60 */ stfd f28, 0x160(r1) /* 80192B5C 0018FABC F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 /* 80192B60 0018FAC0 DB 61 01 50 */ stfd f27, 0x150(r1) /* 80192B64 0018FAC4 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 /* 80192B68 0018FAC8 DB 41 01 40 */ stfd f26, 0x140(r1) /* 80192B6C 0018FACC F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 /* 80192B70 0018FAD0 BF 61 01 2C */ stmw r27, 0x12c(r1) /* 80192B74 0018FAD4 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80192B78 0018FAD8 7C 7F 1B 78 */ mr r31, r3 /* 80192B7C 0018FADC FF 60 08 90 */ fmr f27, f1 /* 80192B80 0018FAE0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 80192B84 0018FAE4 38 61 00 48 */ addi r3, r1, 0x48 /* 80192B88 0018FAE8 38 85 00 80 */ addi r4, r5, 0x80 /* 80192B8C 0018FAEC 38 A5 01 7C */ addi r5, r5, 0x17c /* 80192B90 0018FAF0 48 1D 07 1D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80192B94 0018FAF4 80 01 00 48 */ lwz r0, 0x48(r1) /* 80192B98 0018FAF8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 80192B9C 0018FAFC 90 01 00 4C */ stw r0, 0x4c(r1) /* 80192BA0 0018FB00 80 9F 00 6C */ lwz r4, 0x6c(r31) /* 80192BA4 0018FB04 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80192BA8 0018FB08 C3 A5 00 E4 */ lfs f29, 0xe4(r5) /* 80192BAC 0018FB0C C0 04 00 F4 */ lfs f0, 0xf4(r4) /* 80192BB0 0018FB10 28 03 00 00 */ cmplwi r3, 0 /* 80192BB4 0018FB14 EF 9D 00 28 */ fsubs f28, f29, f0 /* 80192BB8 0018FB18 41 82 00 88 */ beq lbl_80192C40 /* 80192BBC 0018FB1C C0 1F 00 10 */ lfs f0, 0x10(r31) /* 80192BC0 0018FB20 FC 00 E8 40 */ fcmpo cr0, f0, f29 /* 80192BC4 0018FB24 40 80 00 74 */ bge lbl_80192C38 /* 80192BC8 0018FB28 38 80 00 01 */ li r4, 1 /* 80192BCC 0018FB2C 48 13 7A 61 */ bl SetIsVisible__10CGuiWidgetFb /* 80192BD0 0018FB30 C0 2D 8F 70 */ lfs f1, lbl_805A7B30@sda21(r13) /* 80192BD4 0018FB34 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 80192BD8 0018FB38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192BDC 0018FB3C 40 80 00 0C */ bge lbl_80192BE8 /* 80192BE0 0018FB40 38 9F 00 10 */ addi r4, r31, 0x10 /* 80192BE4 0018FB44 48 00 00 08 */ b lbl_80192BEC lbl_80192BE8: /* 80192BE8 0018FB48 38 8D 8F 70 */ addi r4, r13, lbl_805A7B30@sda21 lbl_80192BEC: /* 80192BEC 0018FB4C 3C 60 80 3D */ lis r3, lbl_803D0E2C@ha /* 80192BF0 0018FB50 C0 24 00 00 */ lfs f1, 0(r4) /* 80192BF4 0018FB54 38 83 0E 2C */ addi r4, r3, lbl_803D0E2C@l /* 80192BF8 0018FB58 38 61 00 50 */ addi r3, r1, 0x50 /* 80192BFC 0018FB5C 4C C6 32 42 */ crset 6 /* 80192C00 0018FB60 48 1F B0 DD */ bl sprintf /* 80192C04 0018FB64 38 61 00 94 */ addi r3, r1, 0x94 /* 80192C08 0018FB68 38 81 00 50 */ addi r4, r1, 0x50 /* 80192C0C 0018FB6C 38 C1 00 0C */ addi r6, r1, 0xc /* 80192C10 0018FB70 38 A0 FF FF */ li r5, -1 /* 80192C14 0018FB74 48 1A B5 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 80192C18 0018FB78 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80192C1C 0018FB7C 38 81 00 94 */ addi r4, r1, 0x94 /* 80192C20 0018FB80 38 A0 00 00 */ li r5, 0 /* 80192C24 0018FB84 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80192C28 0018FB88 48 13 6E E1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80192C2C 0018FB8C 38 61 00 94 */ addi r3, r1, 0x94 /* 80192C30 0018FB90 48 1A AE B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80192C34 0018FB94 48 00 00 0C */ b lbl_80192C40 lbl_80192C38: /* 80192C38 0018FB98 38 80 00 00 */ li r4, 0 /* 80192C3C 0018FB9C 48 13 79 F1 */ bl SetIsVisible__10CGuiWidgetFb lbl_80192C40: /* 80192C40 0018FBA0 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80192C44 0018FBA4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80192C48 0018FBA8 41 82 01 5C */ beq lbl_80192DA4 /* 80192C4C 0018FBAC C0 3F 00 14 */ lfs f1, 0x14(r31) /* 80192C50 0018FBB0 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 80192C54 0018FBB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192C58 0018FBB8 40 81 00 98 */ ble lbl_80192CF0 /* 80192C5C 0018FBBC EC 21 D8 28 */ fsubs f1, f1, f27 /* 80192C60 0018FBC0 C0 0D 8F 74 */ lfs f0, lbl_805A7B34@sda21(r13) /* 80192C64 0018FBC4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80192C68 0018FBC8 D0 21 00 44 */ stfs f1, 0x44(r1) /* 80192C6C 0018FBCC 40 80 00 0C */ bge lbl_80192C78 /* 80192C70 0018FBD0 38 61 00 44 */ addi r3, r1, 0x44 /* 80192C74 0018FBD4 48 00 00 08 */ b lbl_80192C7C lbl_80192C78: /* 80192C78 0018FBD8 38 6D 8F 74 */ addi r3, r13, lbl_805A7B34@sda21 lbl_80192C7C: /* 80192C7C 0018FBDC C0 03 00 00 */ lfs f0, 0(r3) /* 80192C80 0018FBE0 38 80 00 01 */ li r4, 1 /* 80192C84 0018FBE4 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80192C88 0018FBE8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80192C8C 0018FBEC C0 3F 00 14 */ lfs f1, 0x14(r31) /* 80192C90 0018FBF0 C0 03 00 F4 */ lfs f0, 0xf4(r3) /* 80192C94 0018FBF4 80 7F 00 60 */ lwz r3, 0x60(r31) /* 80192C98 0018FBF8 EF 41 00 24 */ fdivs f26, f1, f0 /* 80192C9C 0018FBFC 48 13 79 91 */ bl SetIsVisible__10CGuiWidgetFb /* 80192CA0 0018FC00 88 61 00 4F */ lbz r3, 0x4f(r1) /* 80192CA4 0018FC04 3C 00 43 30 */ lis r0, 0x4330 /* 80192CA8 0018FC08 90 01 01 18 */ stw r0, 0x118(r1) /* 80192CAC 0018FC0C C8 22 A5 D8 */ lfd f1, lbl_805AC2F8@sda21(r2) /* 80192CB0 0018FC10 90 61 01 1C */ stw r3, 0x11c(r1) /* 80192CB4 0018FC14 C8 01 01 18 */ lfd f0, 0x118(r1) /* 80192CB8 0018FC18 EC 00 08 28 */ fsubs f0, f0, f1 /* 80192CBC 0018FC1C EF FA 00 32 */ fmuls f31, f26, f0 /* 80192CC0 0018FC20 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 /* 80192CC4 0018FC24 38 81 00 40 */ addi r4, r1, 0x40 /* 80192CC8 0018FC28 80 61 00 4C */ lwz r3, 0x4c(r1) /* 80192CCC 0018FC2C 88 01 00 0B */ lbz r0, 0xb(r1) /* 80192CD0 0018FC30 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80192CD4 0018FC34 90 01 00 40 */ stw r0, 0x40(r1) /* 80192CD8 0018FC38 80 7F 00 60 */ lwz r3, 0x60(r31) /* 80192CDC 0018FC3C 48 13 7B 91 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80192CE0 0018FC40 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80192CE4 0018FC44 38 80 00 00 */ li r4, 0 /* 80192CE8 0018FC48 48 13 79 45 */ bl SetIsVisible__10CGuiWidgetFb /* 80192CEC 0018FC4C 48 00 00 B8 */ b lbl_80192DA4 lbl_80192CF0: /* 80192CF0 0018FC50 40 80 00 9C */ bge lbl_80192D8C /* 80192CF4 0018FC54 EC 21 D8 2A */ fadds f1, f1, f27 /* 80192CF8 0018FC58 C0 0D 8F 78 */ lfs f0, lbl_805A7B38@sda21(r13) /* 80192CFC 0018FC5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192D00 0018FC60 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80192D04 0018FC64 40 80 00 0C */ bge lbl_80192D10 /* 80192D08 0018FC68 38 61 00 3C */ addi r3, r1, 0x3c /* 80192D0C 0018FC6C 48 00 00 08 */ b lbl_80192D14 lbl_80192D10: /* 80192D10 0018FC70 38 6D 8F 78 */ addi r3, r13, lbl_805A7B38@sda21 lbl_80192D14: /* 80192D14 0018FC74 C0 03 00 00 */ lfs f0, 0(r3) /* 80192D18 0018FC78 38 80 00 01 */ li r4, 1 /* 80192D1C 0018FC7C D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80192D20 0018FC80 C0 1F 00 14 */ lfs f0, 0x14(r31) /* 80192D24 0018FC84 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 80192D28 0018FC88 FC 20 00 50 */ fneg f1, f0 /* 80192D2C 0018FC8C 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80192D30 0018FC90 C0 05 00 F4 */ lfs f0, 0xf4(r5) /* 80192D34 0018FC94 EF 41 00 24 */ fdivs f26, f1, f0 /* 80192D38 0018FC98 48 13 78 F5 */ bl SetIsVisible__10CGuiWidgetFb /* 80192D3C 0018FC9C 88 61 00 4F */ lbz r3, 0x4f(r1) /* 80192D40 0018FCA0 3C 00 43 30 */ lis r0, 0x4330 /* 80192D44 0018FCA4 90 01 01 18 */ stw r0, 0x118(r1) /* 80192D48 0018FCA8 C8 22 A5 D8 */ lfd f1, lbl_805AC2F8@sda21(r2) /* 80192D4C 0018FCAC 90 61 01 1C */ stw r3, 0x11c(r1) /* 80192D50 0018FCB0 C8 01 01 18 */ lfd f0, 0x118(r1) /* 80192D54 0018FCB4 EC 00 08 28 */ fsubs f0, f0, f1 /* 80192D58 0018FCB8 EF FA 00 32 */ fmuls f31, f26, f0 /* 80192D5C 0018FCBC F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 /* 80192D60 0018FCC0 38 81 00 38 */ addi r4, r1, 0x38 /* 80192D64 0018FCC4 80 61 00 4C */ lwz r3, 0x4c(r1) /* 80192D68 0018FCC8 88 01 00 0A */ lbz r0, 0xa(r1) /* 80192D6C 0018FCCC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80192D70 0018FCD0 90 01 00 38 */ stw r0, 0x38(r1) /* 80192D74 0018FCD4 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80192D78 0018FCD8 48 13 7A F5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80192D7C 0018FCDC 80 7F 00 60 */ lwz r3, 0x60(r31) /* 80192D80 0018FCE0 38 80 00 00 */ li r4, 0 /* 80192D84 0018FCE4 48 13 78 A9 */ bl SetIsVisible__10CGuiWidgetFb /* 80192D88 0018FCE8 48 00 00 1C */ b lbl_80192DA4 lbl_80192D8C: /* 80192D8C 0018FCEC 80 7F 00 60 */ lwz r3, 0x60(r31) /* 80192D90 0018FCF0 38 80 00 00 */ li r4, 0 /* 80192D94 0018FCF4 48 13 78 99 */ bl SetIsVisible__10CGuiWidgetFb /* 80192D98 0018FCF8 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80192D9C 0018FCFC 38 80 00 00 */ li r4, 0 /* 80192DA0 0018FD00 48 13 78 8D */ bl SetIsVisible__10CGuiWidgetFb lbl_80192DA4: /* 80192DA4 0018FD04 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 80192DA8 0018FD08 FC 00 E8 40 */ fcmpo cr0, f0, f29 /* 80192DAC 0018FD0C 4C 40 13 82 */ cror 2, 0, 2 /* 80192DB0 0018FD10 40 82 00 48 */ bne lbl_80192DF8 /* 80192DB4 0018FD14 EC 20 E0 28 */ fsubs f1, f0, f28 /* 80192DB8 0018FD18 C0 02 A5 B4 */ lfs f0, lbl_805AC2D4@sda21(r2) /* 80192DBC 0018FD1C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192DC0 0018FD20 40 80 00 14 */ bge lbl_80192DD4 /* 80192DC4 0018FD24 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80192DC8 0018FD28 C0 03 00 F4 */ lfs f0, 0xf4(r3) /* 80192DCC 0018FD2C D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80192DD0 0018FD30 48 00 00 30 */ b lbl_80192E00 lbl_80192DD4: /* 80192DD4 0018FD34 C0 02 A5 B8 */ lfs f0, lbl_805AC2D8@sda21(r2) /* 80192DD8 0018FD38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192DDC 0018FD3C 40 81 00 24 */ ble lbl_80192E00 /* 80192DE0 0018FD40 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80192DE4 0018FD44 C0 22 A5 BC */ lfs f1, lbl_805AC2DC@sda21(r2) /* 80192DE8 0018FD48 C0 03 00 F4 */ lfs f0, 0xf4(r3) /* 80192DEC 0018FD4C EC 01 00 32 */ fmuls f0, f1, f0 /* 80192DF0 0018FD50 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80192DF4 0018FD54 48 00 00 0C */ b lbl_80192E00 lbl_80192DF8: /* 80192DF8 0018FD58 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 80192DFC 0018FD5C D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_80192E00: /* 80192E00 0018FD60 C0 3F 00 10 */ lfs f1, 0x10(r31) /* 80192E04 0018FD64 FC 01 E8 40 */ fcmpo cr0, f1, f29 /* 80192E08 0018FD68 4C 40 13 82 */ cror 2, 0, 2 /* 80192E0C 0018FD6C 40 82 00 28 */ bne lbl_80192E34 /* 80192E10 0018FD70 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80192E14 0018FD74 38 80 00 00 */ li r4, 0 /* 80192E18 0018FD78 C0 03 00 E0 */ lfs f0, 0xe0(r3) /* 80192E1C 0018FD7C EC 20 08 28 */ fsubs f1, f0, f1 /* 80192E20 0018FD80 48 13 8A A9 */ bl SetCurrEnergy__16CAuiEnergyBarT01Ffb /* 80192E24 0018FD84 80 7F 00 5C */ lwz r3, 0x5c(r31) /* 80192E28 0018FD88 38 81 00 4C */ addi r4, r1, 0x4c /* 80192E2C 0018FD8C 48 13 7A 41 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80192E30 0018FD90 48 00 00 24 */ b lbl_80192E54 lbl_80192E34: /* 80192E34 0018FD94 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80192E38 0018FD98 38 80 00 00 */ li r4, 0 /* 80192E3C 0018FD9C C0 22 A5 B0 */ lfs f1, lbl_805AC2D0@sda21(r2) /* 80192E40 0018FDA0 48 13 8A 89 */ bl SetCurrEnergy__16CAuiEnergyBarT01Ffb /* 80192E44 0018FDA4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80192E48 0018FDA8 80 7F 00 5C */ lwz r3, 0x5c(r31) /* 80192E4C 0018FDAC 38 84 00 90 */ addi r4, r4, 0x90 /* 80192E50 0018FDB0 48 13 7A 1D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80192E54: /* 80192E54 0018FDB4 80 01 00 4C */ lwz r0, 0x4c(r1) /* 80192E58 0018FDB8 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80192E5C 0018FDBC 90 03 00 D0 */ stw r0, 0xd0(r3) /* 80192E60 0018FDC0 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80192E64 0018FDC4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80192E68 0018FDC8 41 82 00 8C */ beq lbl_80192EF4 /* 80192E6C 0018FDCC C0 3F 00 10 */ lfs f1, 0x10(r31) /* 80192E70 0018FDD0 C0 0D 8F 7C */ lfs f0, lbl_805A7B3C@sda21(r13) /* 80192E74 0018FDD4 EC 3D 08 28 */ fsubs f1, f29, f1 /* 80192E78 0018FDD8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80192E7C 0018FDDC D0 21 00 34 */ stfs f1, 0x34(r1) /* 80192E80 0018FDE0 40 80 00 0C */ bge lbl_80192E8C /* 80192E84 0018FDE4 38 81 00 34 */ addi r4, r1, 0x34 /* 80192E88 0018FDE8 48 00 00 08 */ b lbl_80192E90 lbl_80192E8C: /* 80192E8C 0018FDEC 38 8D 8F 7C */ addi r4, r13, lbl_805A7B3C@sda21 lbl_80192E90: /* 80192E90 0018FDF0 80 1F 00 04 */ lwz r0, 4(r31) /* 80192E94 0018FDF4 3C 60 80 3D */ lis r3, lbl_803D0E04@ha /* 80192E98 0018FDF8 38 63 0E 04 */ addi r3, r3, lbl_803D0E04@l /* 80192E9C 0018FDFC C0 24 00 00 */ lfs f1, 0(r4) /* 80192EA0 0018FE00 54 00 10 3A */ slwi r0, r0, 2 /* 80192EA4 0018FE04 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 80192EA8 0018FE08 7C 43 04 2E */ lfsx f2, r3, r0 /* 80192EAC 0018FE0C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80192EB0 0018FE10 D0 01 00 88 */ stfs f0, 0x88(r1) /* 80192EB4 0018FE14 38 81 00 88 */ addi r4, r1, 0x88 /* 80192EB8 0018FE18 EC 22 00 72 */ fmuls f1, f2, f1 /* 80192EBC 0018FE1C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 80192EC0 0018FE20 EC 01 E8 24 */ fdivs f0, f1, f29 /* 80192EC4 0018FE24 D0 01 00 90 */ stfs f0, 0x90(r1) /* 80192EC8 0018FE28 48 18 02 79 */ bl Translate__12CTransform4fFRC9CVector3f /* 80192ECC 0018FE2C 38 61 00 E4 */ addi r3, r1, 0xe4 /* 80192ED0 0018FE30 38 9F 00 18 */ addi r4, r31, 0x18 /* 80192ED4 0018FE34 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 80192ED8 0018FE38 48 17 FA 79 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80192EDC 0018FE3C 83 DF 00 5C */ lwz r30, 0x5c(r31) /* 80192EE0 0018FE40 38 81 00 E4 */ addi r4, r1, 0xe4 /* 80192EE4 0018FE44 38 7E 00 04 */ addi r3, r30, 4 /* 80192EE8 0018FE48 48 17 FC 59 */ bl __as__12CTransform4fFRC12CTransform4f /* 80192EEC 0018FE4C 7F C3 F3 78 */ mr r3, r30 /* 80192EF0 0018FE50 48 13 18 F9 */ bl RecalculateTransforms__10CGuiObjectFv lbl_80192EF4: /* 80192EF4 0018FE54 80 1F 00 68 */ lwz r0, 0x68(r31) /* 80192EF8 0018FE58 28 00 00 00 */ cmplwi r0, 0 /* 80192EFC 0018FE5C 41 82 01 B4 */ beq lbl_801930B0 /* 80192F00 0018FE60 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80192F04 0018FE64 48 13 82 D9 */ bl GetActualFraction__16CAuiEnergyBarT01CFv /* 80192F08 0018FE68 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80192F0C 0018FE6C C0 03 01 10 */ lfs f0, 0x110(r3) /* 80192F10 0018FE70 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192F14 0018FE74 40 81 00 14 */ ble lbl_80192F28 /* 80192F18 0018FE78 80 7F 00 68 */ lwz r3, 0x68(r31) /* 80192F1C 0018FE7C 38 80 00 01 */ li r4, 1 /* 80192F20 0018FE80 48 13 77 0D */ bl SetIsVisible__10CGuiWidgetFb /* 80192F24 0018FE84 48 00 00 10 */ b lbl_80192F34 lbl_80192F28: /* 80192F28 0018FE88 80 7F 00 68 */ lwz r3, 0x68(r31) /* 80192F2C 0018FE8C 38 80 00 00 */ li r4, 0 /* 80192F30 0018FE90 48 13 76 FD */ bl SetIsVisible__10CGuiWidgetFb lbl_80192F34: /* 80192F34 0018FE94 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80192F38 0018FE98 C0 03 00 F4 */ lfs f0, 0xf4(r3) /* 80192F3C 0018FE9C FC 1D 00 00 */ fcmpu cr0, f29, f0 /* 80192F40 0018FEA0 40 82 00 0C */ bne lbl_80192F4C /* 80192F44 0018FEA4 3B C0 00 02 */ li r30, 2 /* 80192F48 0018FEA8 48 00 00 24 */ b lbl_80192F6C lbl_80192F4C: /* 80192F4C 0018FEAC 48 13 82 91 */ bl GetActualFraction__16CAuiEnergyBarT01CFv /* 80192F50 0018FEB0 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80192F54 0018FEB4 C0 03 01 10 */ lfs f0, 0x110(r3) /* 80192F58 0018FEB8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80192F5C 0018FEBC 40 81 00 0C */ ble lbl_80192F68 /* 80192F60 0018FEC0 3B C0 00 01 */ li r30, 1 /* 80192F64 0018FEC4 48 00 00 08 */ b lbl_80192F6C lbl_80192F68: /* 80192F68 0018FEC8 3B C0 00 00 */ li r30, 0 lbl_80192F6C: /* 80192F6C 0018FECC 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 80192F70 0018FED0 7C 1E 00 00 */ cmpw r30, r0 /* 80192F74 0018FED4 41 82 01 3C */ beq lbl_801930B0 /* 80192F78 0018FED8 2C 1E 00 01 */ cmpwi r30, 1 /* 80192F7C 0018FEDC 3B A0 00 00 */ li r29, 0 /* 80192F80 0018FEE0 3B 80 00 00 */ li r28, 0 /* 80192F84 0018FEE4 3B 60 00 00 */ li r27, 0 /* 80192F88 0018FEE8 40 82 00 28 */ bne lbl_80192FB0 /* 80192F8C 0018FEEC 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80192F90 0018FEF0 38 80 00 0A */ li r4, 0xa /* 80192F94 0018FEF4 48 1C 37 69 */ bl GetString__12CStringTableCFi /* 80192F98 0018FEF8 7C 64 1B 78 */ mr r4, r3 /* 80192F9C 0018FEFC 38 61 00 78 */ addi r3, r1, 0x78 /* 80192FA0 0018FF00 4B E8 2A 51 */ bl wstring_l__4rstlFPCw /* 80192FA4 0018FF04 38 81 00 78 */ addi r4, r1, 0x78 /* 80192FA8 0018FF08 3B A0 00 01 */ li r29, 1 /* 80192FAC 0018FF0C 48 00 00 44 */ b lbl_80192FF0 lbl_80192FB0: /* 80192FB0 0018FF10 2C 1E 00 02 */ cmpwi r30, 2 /* 80192FB4 0018FF14 40 82 00 28 */ bne lbl_80192FDC /* 80192FB8 0018FF18 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80192FBC 0018FF1C 38 80 00 0B */ li r4, 0xb /* 80192FC0 0018FF20 48 1C 37 3D */ bl GetString__12CStringTableCFi /* 80192FC4 0018FF24 7C 64 1B 78 */ mr r4, r3 /* 80192FC8 0018FF28 38 61 00 68 */ addi r3, r1, 0x68 /* 80192FCC 0018FF2C 4B E8 2A 25 */ bl wstring_l__4rstlFPCw /* 80192FD0 0018FF30 38 81 00 68 */ addi r4, r1, 0x68 /* 80192FD4 0018FF34 3B 80 00 01 */ li r28, 1 /* 80192FD8 0018FF38 48 00 00 18 */ b lbl_80192FF0 lbl_80192FDC: /* 80192FDC 0018FF3C 38 61 00 58 */ addi r3, r1, 0x58 /* 80192FE0 0018FF40 38 8D 8F 90 */ addi r4, r13, lbl_805A7B50@sda21 /* 80192FE4 0018FF44 4B E8 2A 0D */ bl wstring_l__4rstlFPCw /* 80192FE8 0018FF48 3B 60 00 01 */ li r27, 1 /* 80192FEC 0018FF4C 38 81 00 58 */ addi r4, r1, 0x58 lbl_80192FF0: /* 80192FF0 0018FF50 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80192FF4 0018FF54 48 1A A7 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80192FF8 0018FF58 7F 60 07 75 */ extsb. r0, r27 /* 80192FFC 0018FF5C 41 82 00 0C */ beq lbl_80193008 /* 80193000 0018FF60 38 61 00 58 */ addi r3, r1, 0x58 /* 80193004 0018FF64 48 1A A1 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80193008: /* 80193008 0018FF68 7F 80 07 75 */ extsb. r0, r28 /* 8019300C 0018FF6C 41 82 00 0C */ beq lbl_80193018 /* 80193010 0018FF70 38 61 00 68 */ addi r3, r1, 0x68 /* 80193014 0018FF74 48 1A A1 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80193018: /* 80193018 0018FF78 7F A0 07 75 */ extsb. r0, r29 /* 8019301C 0018FF7C 41 82 00 0C */ beq lbl_80193028 /* 80193020 0018FF80 38 61 00 78 */ addi r3, r1, 0x78 /* 80193024 0018FF84 48 1A A1 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80193028: /* 80193028 0018FF88 80 7F 00 68 */ lwz r3, 0x68(r31) /* 8019302C 0018FF8C 38 81 00 A4 */ addi r4, r1, 0xa4 /* 80193030 0018FF90 38 A0 00 00 */ li r5, 0 /* 80193034 0018FF94 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80193038 0018FF98 48 13 68 4D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019303C 0018FF9C 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 80193040 0018FFA0 2C 00 00 00 */ cmpwi r0, 0 /* 80193044 0018FFA4 40 82 00 34 */ bne lbl_80193078 /* 80193048 0018FFA8 2C 1E 00 01 */ cmpwi r30, 1 /* 8019304C 0018FFAC 40 82 00 2C */ bne lbl_80193078 /* 80193050 0018FFB0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80193054 0018FFB4 38 61 00 30 */ addi r3, r1, 0x30 /* 80193058 0018FFB8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8019305C 0018FFBC 38 80 05 74 */ li r4, 0x574 /* 80193060 0018FFC0 38 A0 00 7F */ li r5, 0x7f /* 80193064 0018FFC4 38 C0 00 40 */ li r6, 0x40 /* 80193068 0018FFC8 38 E0 00 00 */ li r7, 0 /* 8019306C 0018FFCC 39 20 00 00 */ li r9, 0 /* 80193070 0018FFD0 48 15 6D 05 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80193074 0018FFD4 48 00 00 30 */ b lbl_801930A4 lbl_80193078: /* 80193078 0018FFD8 2C 1E 00 02 */ cmpwi r30, 2 /* 8019307C 0018FFDC 40 82 00 28 */ bne lbl_801930A4 /* 80193080 0018FFE0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80193084 0018FFE4 38 61 00 2C */ addi r3, r1, 0x2c /* 80193088 0018FFE8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8019308C 0018FFEC 38 80 05 77 */ li r4, 0x577 /* 80193090 0018FFF0 38 A0 00 7F */ li r5, 0x7f /* 80193094 0018FFF4 38 C0 00 40 */ li r6, 0x40 /* 80193098 0018FFF8 38 E0 00 00 */ li r7, 0 /* 8019309C 0018FFFC 39 20 00 00 */ li r9, 0 /* 801930A0 00190000 48 15 6C D5 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_801930A4: /* 801930A4 00190004 93 DF 00 4C */ stw r30, 0x4c(r31) /* 801930A8 00190008 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801930AC 0019000C 48 1A A0 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801930B0: /* 801930B0 00190010 C3 9F 00 08 */ lfs f28, 8(r31) /* 801930B4 00190014 C8 42 A5 C0 */ lfd f2, lbl_805AC2E0@sda21(r2) /* 801930B8 00190018 EC 3C D8 2A */ fadds f1, f28, f27 /* 801930BC 0019001C 48 20 1B F1 */ bl fmod /* 801930C0 00190020 FC 00 08 18 */ frsp f0, f1 /* 801930C4 00190024 C0 22 A5 C8 */ lfs f1, lbl_805AC2E8@sda21(r2) /* 801930C8 00190028 D0 1F 00 08 */ stfs f0, 8(r31) /* 801930CC 0019002C C0 5F 00 08 */ lfs f2, 8(r31) /* 801930D0 00190030 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801930D4 00190034 40 80 00 0C */ bge lbl_801930E0 /* 801930D8 00190038 EC 02 08 24 */ fdivs f0, f2, f1 /* 801930DC 0019003C 48 00 00 10 */ b lbl_801930EC lbl_801930E0: /* 801930E0 00190040 C0 02 A5 CC */ lfs f0, lbl_805AC2EC@sda21(r2) /* 801930E4 00190044 EC 00 10 28 */ fsubs f0, f0, f2 /* 801930E8 00190048 EC 00 08 24 */ fdivs f0, f0, f1 lbl_801930EC: /* 801930EC 0019004C D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801930F0 00190050 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 801930F4 00190054 2C 00 00 02 */ cmpwi r0, 2 /* 801930F8 00190058 40 82 00 34 */ bne lbl_8019312C /* 801930FC 0019005C C0 1F 00 08 */ lfs f0, 8(r31) /* 80193100 00190060 FC 00 E0 40 */ fcmpo cr0, f0, f28 /* 80193104 00190064 40 80 00 28 */ bge lbl_8019312C /* 80193108 00190068 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8019310C 0019006C 38 61 00 28 */ addi r3, r1, 0x28 /* 80193110 00190070 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80193114 00190074 38 80 05 77 */ li r4, 0x577 /* 80193118 00190078 38 A0 00 7F */ li r5, 0x7f /* 8019311C 0019007C 38 C0 00 40 */ li r6, 0x40 /* 80193120 00190080 38 E0 00 00 */ li r7, 0 /* 80193124 00190084 39 20 00 00 */ li r9, 0 /* 80193128 00190088 48 15 6C 4D */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8019312C: /* 8019312C 0019008C 80 1F 00 68 */ lwz r0, 0x68(r31) /* 80193130 00190090 28 00 00 00 */ cmplwi r0, 0 /* 80193134 00190094 41 82 01 08 */ beq lbl_8019323C /* 80193138 00190098 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 8019313C 0019009C 2C 00 00 00 */ cmpwi r0, 0 /* 80193140 001900A0 41 82 00 70 */ beq lbl_801931B0 /* 80193144 001900A4 C0 42 A5 D0 */ lfs f2, lbl_805AC2F0@sda21(r2) /* 80193148 001900A8 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8019314C 001900AC C0 0D 8F 80 */ lfs f0, lbl_805A7B40@sda21(r13) /* 80193150 001900B0 EC 22 0E FA */ fmadds f1, f2, f27, f1 /* 80193154 001900B4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80193158 001900B8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 8019315C 001900BC 40 80 00 0C */ bge lbl_80193168 /* 80193160 001900C0 38 61 00 24 */ addi r3, r1, 0x24 /* 80193164 001900C4 48 00 00 08 */ b lbl_8019316C lbl_80193168: /* 80193168 001900C8 38 6D 8F 80 */ addi r3, r13, lbl_805A7B40@sda21 lbl_8019316C: /* 8019316C 001900CC C0 03 00 00 */ lfs f0, 0(r3) /* 80193170 001900D0 D0 1F 00 48 */ stfs f0, 0x48(r31) /* 80193174 001900D4 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80193178 001900D8 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 8019317C 001900DC EF 81 00 32 */ fmuls f28, f1, f0 /* 80193180 001900E0 48 1B 6E 2D */ bl White__6CColorFv /* 80193184 001900E4 C0 02 A5 D4 */ lfs f0, lbl_805AC2F4@sda21(r2) /* 80193188 001900E8 EF C0 07 32 */ fmuls f30, f0, f28 /* 8019318C 001900EC F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 /* 80193190 001900F0 38 81 00 20 */ addi r4, r1, 0x20 /* 80193194 001900F4 80 63 00 00 */ lwz r3, 0(r3) /* 80193198 001900F8 88 01 00 09 */ lbz r0, 9(r1) /* 8019319C 001900FC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801931A0 00190100 90 01 00 20 */ stw r0, 0x20(r1) /* 801931A4 00190104 80 7F 00 68 */ lwz r3, 0x68(r31) /* 801931A8 00190108 48 13 76 C5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801931AC 0019010C 48 00 00 6C */ b lbl_80193218 lbl_801931B0: /* 801931B0 00190110 C0 42 A5 D0 */ lfs f2, lbl_805AC2F0@sda21(r2) /* 801931B4 00190114 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801931B8 00190118 C0 0D 8F 84 */ lfs f0, lbl_805A7B44@sda21(r13) /* 801931BC 0019011C EC 22 0E FC */ fnmsubs f1, f2, f27, f1 /* 801931C0 00190120 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801931C4 00190124 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801931C8 00190128 40 80 00 0C */ bge lbl_801931D4 /* 801931CC 0019012C 38 61 00 1C */ addi r3, r1, 0x1c /* 801931D0 00190130 48 00 00 08 */ b lbl_801931D8 lbl_801931D4: /* 801931D4 00190134 38 6D 8F 84 */ addi r3, r13, lbl_805A7B44@sda21 lbl_801931D8: /* 801931D8 00190138 C0 03 00 00 */ lfs f0, 0(r3) /* 801931DC 0019013C D0 1F 00 48 */ stfs f0, 0x48(r31) /* 801931E0 00190140 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801931E4 00190144 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801931E8 00190148 EF 81 00 32 */ fmuls f28, f1, f0 /* 801931EC 0019014C 48 1B 6D C1 */ bl White__6CColorFv /* 801931F0 00190150 C0 02 A5 D4 */ lfs f0, lbl_805AC2F4@sda21(r2) /* 801931F4 00190154 EF C0 07 32 */ fmuls f30, f0, f28 /* 801931F8 00190158 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 801931FC 0019015C 38 81 00 18 */ addi r4, r1, 0x18 /* 80193200 00190160 80 63 00 00 */ lwz r3, 0(r3) /* 80193204 00190164 88 01 00 08 */ lbz r0, 8(r1) /* 80193208 00190168 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 8019320C 0019016C 90 01 00 18 */ stw r0, 0x18(r1) /* 80193210 00190170 80 7F 00 68 */ lwz r3, 0x68(r31) /* 80193214 00190174 48 13 76 59 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80193218: /* 80193218 00190178 80 7F 00 68 */ lwz r3, 0x68(r31) /* 8019321C 0019017C 88 03 00 AB */ lbz r0, 0xab(r3) /* 80193220 00190180 28 00 00 00 */ cmplwi r0, 0 /* 80193224 00190184 41 82 00 10 */ beq lbl_80193234 /* 80193228 00190188 38 80 00 01 */ li r4, 1 /* 8019322C 0019018C 48 13 74 01 */ bl SetIsVisible__10CGuiWidgetFb /* 80193230 00190190 48 00 00 0C */ b lbl_8019323C lbl_80193234: /* 80193234 00190194 38 80 00 00 */ li r4, 0 /* 80193238 00190198 48 13 73 F5 */ bl SetIsVisible__10CGuiWidgetFb lbl_8019323C: /* 8019323C 0019019C 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 80193240 001901A0 2C 00 00 02 */ cmpwi r0, 2 /* 80193244 001901A4 40 82 00 38 */ bne lbl_8019327C /* 80193248 001901A8 C0 42 A5 D0 */ lfs f2, lbl_805AC2F0@sda21(r2) /* 8019324C 001901AC C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80193250 001901B0 C0 0D 8F 88 */ lfs f0, lbl_805A7B48@sda21(r13) /* 80193254 001901B4 EC 22 0E FA */ fmadds f1, f2, f27, f1 /* 80193258 001901B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019325C 001901BC D0 21 00 14 */ stfs f1, 0x14(r1) /* 80193260 001901C0 40 80 00 0C */ bge lbl_8019326C /* 80193264 001901C4 38 61 00 14 */ addi r3, r1, 0x14 /* 80193268 001901C8 48 00 00 08 */ b lbl_80193270 lbl_8019326C: /* 8019326C 001901CC 38 6D 8F 88 */ addi r3, r13, lbl_805A7B48@sda21 lbl_80193270: /* 80193270 001901D0 C0 03 00 00 */ lfs f0, 0(r3) /* 80193274 001901D4 D0 1F 00 50 */ stfs f0, 0x50(r31) /* 80193278 001901D8 48 00 00 34 */ b lbl_801932AC lbl_8019327C: /* 8019327C 001901DC C0 42 A5 D0 */ lfs f2, lbl_805AC2F0@sda21(r2) /* 80193280 001901E0 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80193284 001901E4 C0 0D 8F 8C */ lfs f0, lbl_805A7B4C@sda21(r13) /* 80193288 001901E8 EC 22 0E FC */ fnmsubs f1, f2, f27, f1 /* 8019328C 001901EC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80193290 001901F0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80193294 001901F4 40 80 00 0C */ bge lbl_801932A0 /* 80193298 001901F8 38 61 00 10 */ addi r3, r1, 0x10 /* 8019329C 001901FC 48 00 00 08 */ b lbl_801932A4 lbl_801932A0: /* 801932A0 00190200 38 6D 8F 8C */ addi r3, r13, lbl_805A7B4C@sda21 lbl_801932A4: /* 801932A4 00190204 C0 03 00 00 */ lfs f0, 0(r3) /* 801932A8 00190208 D0 1F 00 50 */ stfs f0, 0x50(r31) lbl_801932AC: /* 801932AC 0019020C E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 801932B0 00190210 CB E1 01 90 */ lfd f31, 0x190(r1) /* 801932B4 00190214 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 801932B8 00190218 CB C1 01 80 */ lfd f30, 0x180(r1) /* 801932BC 0019021C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 801932C0 00190220 CB A1 01 70 */ lfd f29, 0x170(r1) /* 801932C4 00190224 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 /* 801932C8 00190228 CB 81 01 60 */ lfd f28, 0x160(r1) /* 801932CC 0019022C E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 /* 801932D0 00190230 CB 61 01 50 */ lfd f27, 0x150(r1) /* 801932D4 00190234 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 /* 801932D8 00190238 CB 41 01 40 */ lfd f26, 0x140(r1) /* 801932DC 0019023C BB 61 01 2C */ lmw r27, 0x12c(r1) /* 801932E0 00190240 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 801932E4 00190244 7C 08 03 A6 */ mtlr r0 /* 801932E8 00190248 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 801932EC 0019024C 4E 80 00 20 */ blr .global UpdateVisibility__19CHudThreatInterfaceFv UpdateVisibility__19CHudThreatInterfaceFv: /* 801932F0 00190250 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801932F4 00190254 7C 08 02 A6 */ mflr r0 /* 801932F8 00190258 90 01 00 14 */ stw r0, 0x14(r1) /* 801932FC 0019025C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80193300 00190260 3B E0 00 00 */ li r31, 0 /* 80193304 00190264 93 C1 00 08 */ stw r30, 8(r1) /* 80193308 00190268 7C 7E 1B 78 */ mr r30, r3 /* 8019330C 0019026C 88 63 00 54 */ lbz r3, 0x54(r3) /* 80193310 00190270 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 80193314 00190274 41 82 00 10 */ beq lbl_80193324 /* 80193318 00190278 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 8019331C 0019027C 41 82 00 08 */ beq lbl_80193324 /* 80193320 00190280 3B E0 00 01 */ li r31, 1 lbl_80193324: /* 80193324 00190284 80 7E 00 58 */ lwz r3, 0x58(r30) /* 80193328 00190288 57 E4 06 3E */ clrlwi r4, r31, 0x18 /* 8019332C 0019028C 38 A0 00 01 */ li r5, 1 /* 80193330 00190290 48 13 73 B9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80193334 00190294 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80193338 00190298 41 82 00 1C */ beq lbl_80193354 /* 8019333C 0019029C 7F C3 F3 78 */ mr r3, r30 /* 80193340 001902A0 C0 22 A5 B0 */ lfs f1, lbl_805AC2D0@sda21(r2) /* 80193344 001902A4 81 9E 00 00 */ lwz r12, 0(r30) /* 80193348 001902A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019334C 001902AC 7D 89 03 A6 */ mtctr r12 /* 80193350 001902B0 4E 80 04 21 */ bctrl lbl_80193354: /* 80193354 001902B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80193358 001902B8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8019335C 001902BC 83 C1 00 08 */ lwz r30, 8(r1) /* 80193360 001902C0 7C 08 03 A6 */ mtlr r0 /* 80193364 001902C4 38 21 00 10 */ addi r1, r1, 0x10 /* 80193368 001902C8 4E 80 00 20 */ blr .global SetIsVisibleGame__19CHudThreatInterfaceFb SetIsVisibleGame__19CHudThreatInterfaceFb: /* 8019336C 001902CC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80193370 001902D0 7C 08 02 A6 */ mflr r0 /* 80193374 001902D4 90 01 00 14 */ stw r0, 0x14(r1) /* 80193378 001902D8 88 03 00 54 */ lbz r0, 0x54(r3) /* 8019337C 001902DC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80193380 001902E0 98 03 00 54 */ stb r0, 0x54(r3) /* 80193384 001902E4 4B FF FF 6D */ bl UpdateVisibility__19CHudThreatInterfaceFv /* 80193388 001902E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019338C 001902EC 7C 08 03 A6 */ mtlr r0 /* 80193390 001902F0 38 21 00 10 */ addi r1, r1, 0x10 /* 80193394 001902F4 4E 80 00 20 */ blr .global SetIsVisibleDebug__19CHudThreatInterfaceFb SetIsVisibleDebug__19CHudThreatInterfaceFb: /* 80193398 001902F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019339C 001902FC 7C 08 02 A6 */ mflr r0 /* 801933A0 00190300 90 01 00 14 */ stw r0, 0x14(r1) /* 801933A4 00190304 88 03 00 54 */ lbz r0, 0x54(r3) /* 801933A8 00190308 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801933AC 0019030C 98 03 00 54 */ stb r0, 0x54(r3) /* 801933B0 00190310 4B FF FF 41 */ bl UpdateVisibility__19CHudThreatInterfaceFv /* 801933B4 00190314 80 01 00 14 */ lwz r0, 0x14(r1) /* 801933B8 00190318 7C 08 03 A6 */ mtlr r0 /* 801933BC 0019031C 38 21 00 10 */ addi r1, r1, 0x10 /* 801933C0 00190320 4E 80 00 20 */ blr .global SetThreatDistance__19CHudThreatInterfaceFf SetThreatDistance__19CHudThreatInterfaceFf: /* 801933C4 00190324 D0 23 00 10 */ stfs f1, 0x10(r3) /* 801933C8 00190328 4E 80 00 20 */ blr .global __ct__19CHudThreatInterfaceFR9CGuiFramef __ct__19CHudThreatInterfaceFR9CGuiFramef: /* 801933CC 0019032C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801933D0 00190330 7C 08 02 A6 */ mflr r0 /* 801933D4 00190334 3C C0 80 3E */ lis r6, lbl_803DA304@ha /* 801933D8 00190338 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 801933DC 0019033C 90 01 00 34 */ stw r0, 0x34(r1) /* 801933E0 00190340 38 06 A3 04 */ addi r0, r6, lbl_803DA304@l /* 801933E4 00190344 3C C0 80 3D */ lis r6, lbl_803D0D60@ha /* 801933E8 00190348 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801933EC 0019034C 3B E6 0D 60 */ addi r31, r6, lbl_803D0D60@l /* 801933F0 00190350 93 C1 00 28 */ stw r30, 0x28(r1) /* 801933F4 00190354 7C BE 2B 78 */ mr r30, r5 /* 801933F8 00190358 93 A1 00 24 */ stw r29, 0x24(r1) /* 801933FC 0019035C 7C 7D 1B 78 */ mr r29, r3 /* 80193400 00190360 3C 60 80 3E */ lis r3, lbl_803E44A8@ha /* 80193404 00190364 93 81 00 20 */ stw r28, 0x20(r1) /* 80193408 00190368 7C 9C 23 78 */ mr r28, r4 /* 8019340C 0019036C 90 1D 00 00 */ stw r0, 0(r29) /* 80193410 00190370 38 03 44 A8 */ addi r0, r3, lbl_803E44A8@l /* 80193414 00190374 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80193418 00190378 90 1D 00 00 */ stw r0, 0(r29) /* 8019341C 0019037C 38 03 66 70 */ addi r0, r3, skIdentity4f@l /* 80193420 00190380 7C 04 03 78 */ mr r4, r0 /* 80193424 00190384 38 7D 00 18 */ addi r3, r29, 0x18 /* 80193428 00190388 93 DD 00 04 */ stw r30, 4(r29) /* 8019342C 0019038C D0 1D 00 08 */ stfs f0, 8(r29) /* 80193430 00190390 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 80193434 00190394 D0 3D 00 10 */ stfs f1, 0x10(r29) /* 80193438 00190398 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 8019343C 0019039C 48 17 F7 39 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80193440 001903A0 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 80193444 001903A4 38 00 00 00 */ li r0, 0 /* 80193448 001903A8 38 A0 00 01 */ li r5, 1 /* 8019344C 001903AC 7F 83 E3 78 */ mr r3, r28 /* 80193450 001903B0 D0 1D 00 48 */ stfs f0, 0x48(r29) /* 80193454 001903B4 38 9F 00 00 */ addi r4, r31, 0 /* 80193458 001903B8 90 1D 00 4C */ stw r0, 0x4c(r29) /* 8019345C 001903BC D0 1D 00 50 */ stfs f0, 0x50(r29) /* 80193460 001903C0 88 1D 00 54 */ lbz r0, 0x54(r29) /* 80193464 001903C4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80193468 001903C8 98 1D 00 54 */ stb r0, 0x54(r29) /* 8019346C 001903CC 88 1D 00 54 */ lbz r0, 0x54(r29) /* 80193470 001903D0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80193474 001903D4 98 1D 00 54 */ stb r0, 0x54(r29) /* 80193478 001903D8 48 12 EC DD */ bl FindWidget__9CGuiFrameCFPCc /* 8019347C 001903DC 90 7D 00 58 */ stw r3, 0x58(r29) /* 80193480 001903E0 7F 83 E3 78 */ mr r3, r28 /* 80193484 001903E4 38 9F 00 18 */ addi r4, r31, 0x18 /* 80193488 001903E8 48 12 EC CD */ bl FindWidget__9CGuiFrameCFPCc /* 8019348C 001903EC 90 7D 00 5C */ stw r3, 0x5c(r29) /* 80193490 001903F0 7F 83 E3 78 */ mr r3, r28 /* 80193494 001903F4 38 9F 00 30 */ addi r4, r31, 0x30 /* 80193498 001903F8 48 12 EC BD */ bl FindWidget__9CGuiFrameCFPCc /* 8019349C 001903FC 90 7D 00 60 */ stw r3, 0x60(r29) /* 801934A0 00190400 7F 83 E3 78 */ mr r3, r28 /* 801934A4 00190404 38 9F 00 44 */ addi r4, r31, 0x44 /* 801934A8 00190408 48 12 EC AD */ bl FindWidget__9CGuiFrameCFPCc /* 801934AC 0019040C 90 7D 00 64 */ stw r3, 0x64(r29) /* 801934B0 00190410 7F 83 E3 78 */ mr r3, r28 /* 801934B4 00190414 38 9F 00 5C */ addi r4, r31, 0x5c /* 801934B8 00190418 48 12 EC 9D */ bl FindWidget__9CGuiFrameCFPCc /* 801934BC 0019041C 90 7D 00 68 */ stw r3, 0x68(r29) /* 801934C0 00190420 7F 83 E3 78 */ mr r3, r28 /* 801934C4 00190424 38 9F 00 74 */ addi r4, r31, 0x74 /* 801934C8 00190428 48 12 EC 8D */ bl FindWidget__9CGuiFrameCFPCc /* 801934CC 0019042C 90 7D 00 6C */ stw r3, 0x6c(r29) /* 801934D0 00190430 38 61 00 08 */ addi r3, r1, 8 /* 801934D4 00190434 38 9F 00 8C */ addi r4, r31, 0x8c /* 801934D8 00190438 4B E7 17 E1 */ bl string_l__4rstlFPCc /* 801934DC 0019043C 7F 83 E3 78 */ mr r3, r28 /* 801934E0 00190440 38 81 00 08 */ addi r4, r1, 8 /* 801934E4 00190444 48 12 EC F1 */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801934E8 00190448 90 7D 00 70 */ stw r3, 0x70(r29) /* 801934EC 0019044C 38 61 00 08 */ addi r3, r1, 8 /* 801934F0 00190450 48 1A A5 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801934F4 00190454 80 7D 00 70 */ lwz r3, 0x70(r29) /* 801934F8 00190458 28 03 00 00 */ cmplwi r3, 0 /* 801934FC 0019045C 41 82 00 28 */ beq lbl_80193524 /* 80193500 00190460 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80193504 00190464 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80193508 00190468 38 84 01 9C */ addi r4, r4, 0x19c /* 8019350C 0019046C 48 13 61 5D */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80193510 00190470 80 7D 00 70 */ lwz r3, 0x70(r29) /* 80193514 00190474 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80193518 00190478 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8019351C 0019047C 38 84 01 A0 */ addi r4, r4, 0x1a0 /* 80193520 00190480 48 13 60 F9 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor lbl_80193524: /* 80193524 00190484 80 1D 00 60 */ lwz r0, 0x60(r29) /* 80193528 00190488 38 60 00 00 */ li r3, 0 /* 8019352C 0019048C 28 00 00 00 */ cmplwi r0, 0 /* 80193530 00190490 41 82 00 14 */ beq lbl_80193544 /* 80193534 00190494 80 1D 00 64 */ lwz r0, 0x64(r29) /* 80193538 00190498 28 00 00 00 */ cmplwi r0, 0 /* 8019353C 0019049C 41 82 00 08 */ beq lbl_80193544 /* 80193540 001904A0 38 60 00 01 */ li r3, 1 lbl_80193544: /* 80193544 001904A4 88 9D 00 54 */ lbz r4, 0x54(r29) /* 80193548 001904A8 50 64 2E B4 */ rlwimi r4, r3, 5, 0x1a, 0x1a /* 8019354C 001904AC 20 7E 00 02 */ subfic r3, r30, 2 /* 80193550 001904B0 38 1E FF FE */ addi r0, r30, -2 /* 80193554 001904B4 98 9D 00 54 */ stb r4, 0x54(r29) /* 80193558 001904B8 7C 60 03 78 */ or r0, r3, r0 /* 8019355C 001904BC 54 03 0F FE */ srwi r3, r0, 0x1f /* 80193560 001904C0 88 1D 00 54 */ lbz r0, 0x54(r29) /* 80193564 001904C4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80193568 001904C8 98 1D 00 54 */ stb r0, 0x54(r29) /* 8019356C 001904CC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80193570 001904D0 80 7D 00 5C */ lwz r3, 0x5c(r29) /* 80193574 001904D4 38 84 00 80 */ addi r4, r4, 0x80 /* 80193578 001904D8 48 13 72 F5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 8019357C 001904DC 80 9D 00 5C */ lwz r4, 0x5c(r29) /* 80193580 001904E0 38 7D 00 18 */ addi r3, r29, 0x18 /* 80193584 001904E4 38 84 00 04 */ addi r4, r4, 4 /* 80193588 001904E8 48 17 F5 B9 */ bl __as__12CTransform4fFRC12CTransform4f /* 8019358C 001904EC 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) /* 80193590 001904F0 57 C0 10 3A */ slwi r0, r30, 2 /* 80193594 001904F4 38 7F 00 B8 */ addi r3, r31, 0xb8 /* 80193598 001904F8 80 9D 00 6C */ lwz r4, 0x6c(r29) /* 8019359C 001904FC 80 A5 00 68 */ lwz r5, 0x68(r5) /* 801935A0 00190500 2C 1E 00 00 */ cmpwi r30, 0 /* 801935A4 00190504 7C 03 00 2E */ lwzx r0, r3, r0 /* 801935A8 00190508 90 A4 00 D0 */ stw r5, 0xd0(r4) /* 801935AC 0019050C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801935B0 00190510 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 801935B4 00190514 80 84 00 70 */ lwz r4, 0x70(r4) /* 801935B8 00190518 90 83 00 CC */ stw r4, 0xcc(r3) /* 801935BC 0019051C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801935C0 00190520 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 801935C4 00190524 80 84 00 6C */ lwz r4, 0x6c(r4) /* 801935C8 00190528 90 83 00 D4 */ stw r4, 0xd4(r3) /* 801935CC 0019052C 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 801935D0 00190530 90 03 00 D8 */ stw r0, 0xd8(r3) /* 801935D4 00190534 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 801935D8 00190538 40 82 00 0C */ bne lbl_801935E4 /* 801935DC 0019053C C0 02 A5 E0 */ lfs f0, lbl_805AC300@sda21(r2) /* 801935E0 00190540 48 00 00 08 */ b lbl_801935E8 lbl_801935E4: /* 801935E4 00190544 C0 02 A5 E4 */ lfs f0, lbl_805AC304@sda21(r2) lbl_801935E8: /* 801935E8 00190548 D0 03 00 DC */ stfs f0, 0xdc(r3) /* 801935EC 0019054C 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 801935F0 00190550 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 801935F4 00190554 C0 24 00 E4 */ lfs f1, 0xe4(r4) /* 801935F8 00190558 48 13 83 71 */ bl SetMaxEnergy__16CAuiEnergyBarT01Ff /* 801935FC 0019055C C0 22 A5 E8 */ lfs f1, lbl_805AC308@sda21(r2) /* 80193600 00190560 38 00 00 00 */ li r0, 0 /* 80193604 00190564 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 80193608 00190568 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 8019360C 0019056C D0 23 00 E4 */ stfs f1, 0xe4(r3) /* 80193610 00190570 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 80193614 00190574 D0 23 00 E8 */ stfs f1, 0xe8(r3) /* 80193618 00190578 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 8019361C 0019057C D0 03 00 EC */ stfs f0, 0xec(r3) /* 80193620 00190580 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 80193624 00190584 98 03 00 F0 */ stb r0, 0xf0(r3) /* 80193628 00190588 80 7D 00 68 */ lwz r3, 0x68(r29) /* 8019362C 0019058C 28 03 00 00 */ cmplwi r3, 0 /* 80193630 00190590 41 82 00 28 */ beq lbl_80193658 /* 80193634 00190594 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80193638 00190598 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8019363C 0019059C 38 84 00 60 */ addi r4, r4, 0x60 /* 80193640 001905A0 48 13 60 29 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80193644 001905A4 80 7D 00 68 */ lwz r3, 0x68(r29) /* 80193648 001905A8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8019364C 001905AC 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80193650 001905B0 38 84 00 B8 */ addi r4, r4, 0xb8 /* 80193654 001905B4 48 13 5F C5 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor lbl_80193658: /* 80193658 001905B8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019365C 001905BC 7F A3 EB 78 */ mr r3, r29 /* 80193660 001905C0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80193664 001905C4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80193668 001905C8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8019366C 001905CC 83 81 00 20 */ lwz r28, 0x20(r1) /* 80193670 001905D0 7C 08 03 A6 */ mtlr r0 /* 80193674 001905D4 38 21 00 30 */ addi r1, r1, 0x30 /* 80193678 001905D8 4E 80 00 20 */ blr .global XRayThreatBarCoordFunc__19CHudThreatInterfaceFf XRayThreatBarCoordFunc__19CHudThreatInterfaceFf: /* 8019367C 001905DC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80193680 001905E0 7C 08 02 A6 */ mflr r0 /* 80193684 001905E4 90 01 00 24 */ stw r0, 0x24(r1) /* 80193688 001905E8 DB E1 00 10 */ stfd f31, 0x10(r1) /* 8019368C 001905EC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 80193690 001905F0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80193694 001905F4 C0 02 A5 CC */ lfs f0, lbl_805AC2EC@sda21(r2) /* 80193698 001905F8 7C 7F 1B 78 */ mr r31, r3 /* 8019369C 001905FC C0 42 A5 EC */ lfs f2, lbl_805AC30C@sda21(r2) /* 801936A0 00190600 EC 01 00 28 */ fsubs f0, f1, f0 /* 801936A4 00190604 EF E2 00 32 */ fmuls f31, f2, f0 /* 801936A8 00190608 FC 20 F8 90 */ fmr f1, f31 /* 801936AC 0019060C 48 18 16 99 */ bl FastCosR__5CMathFf /* 801936B0 00190610 C0 42 A5 F0 */ lfs f2, lbl_805AC310@sda21(r2) /* 801936B4 00190614 C0 02 A5 BC */ lfs f0, lbl_805AC2DC@sda21(r2) /* 801936B8 00190618 EC 42 00 72 */ fmuls f2, f2, f1 /* 801936BC 0019061C FC 20 F8 90 */ fmr f1, f31 /* 801936C0 00190620 EF E0 00 B2 */ fmuls f31, f0, f2 /* 801936C4 00190624 48 18 17 2D */ bl FastSinR__5CMathFf /* 801936C8 00190628 C0 02 A5 F4 */ lfs f0, lbl_805AC314@sda21(r2) /* 801936CC 0019062C C0 62 A5 F0 */ lfs f3, lbl_805AC310@sda21(r2) /* 801936D0 00190630 EC 40 F8 2A */ fadds f2, f0, f31 /* 801936D4 00190634 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 801936D8 00190638 EC 23 00 72 */ fmuls f1, f3, f1 /* 801936DC 0019063C D0 5F 00 00 */ stfs f2, 0(r31) /* 801936E0 00190640 D0 1F 00 04 */ stfs f0, 4(r31) /* 801936E4 00190644 D0 3F 00 08 */ stfs f1, 8(r31) /* 801936E8 00190648 D3 FF 00 0C */ stfs f31, 0xc(r31) /* 801936EC 0019064C D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801936F0 00190650 D0 3F 00 14 */ stfs f1, 0x14(r31) /* 801936F4 00190654 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 801936F8 00190658 80 01 00 24 */ lwz r0, 0x24(r1) /* 801936FC 0019065C CB E1 00 10 */ lfd f31, 0x10(r1) /* 80193700 00190660 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80193704 00190664 7C 08 03 A6 */ mtlr r0 /* 80193708 00190668 38 21 00 20 */ addi r1, r1, 0x20 /* 8019370C 0019066C 4E 80 00 20 */ blr .global ThermalThreatBarCoordFunc__19CHudThreatInterfaceFf ThermalThreatBarCoordFunc__19CHudThreatInterfaceFf: /* 80193710 00190670 3C 80 80 3D */ lis r4, lbl_803D0E04@ha /* 80193714 00190674 C0 02 A5 F8 */ lfs f0, lbl_805AC318@sda21(r2) /* 80193718 00190678 38 84 0E 04 */ addi r4, r4, lbl_803D0E04@l /* 8019371C 0019067C C0 44 00 0C */ lfs f2, 0xc(r4) /* 80193720 00190680 EC 60 00 B2 */ fmuls f3, f0, f2 /* 80193724 00190684 EC 81 00 B2 */ fmuls f4, f1, f2 /* 80193728 00190688 FC 04 18 40 */ fcmpo cr0, f4, f3 /* 8019372C 0019068C 40 80 00 0C */ bge lbl_80193738 /* 80193730 00190690 EC 64 18 24 */ fdivs f3, f4, f3 /* 80193734 00190694 48 00 00 28 */ b lbl_8019375C lbl_80193738: /* 80193738 00190698 EC 02 18 28 */ fsubs f0, f2, f3 /* 8019373C 0019069C FC 04 00 40 */ fcmpo cr0, f4, f0 /* 80193740 001906A0 40 80 00 0C */ bge lbl_8019374C /* 80193744 001906A4 C0 62 A5 E0 */ lfs f3, lbl_805AC300@sda21(r2) /* 80193748 001906A8 48 00 00 14 */ b lbl_8019375C lbl_8019374C: /* 8019374C 001906AC EC 04 00 28 */ fsubs f0, f4, f0 /* 80193750 001906B0 C0 22 A5 E0 */ lfs f1, lbl_805AC300@sda21(r2) /* 80193754 001906B4 EC 00 18 24 */ fdivs f0, f0, f3 /* 80193758 001906B8 EC 61 00 28 */ fsubs f3, f1, f0 lbl_8019375C: /* 8019375C 001906BC C0 42 A5 E4 */ lfs f2, lbl_805AC304@sda21(r2) /* 80193760 001906C0 C0 02 A5 CC */ lfs f0, lbl_805AC2EC@sda21(r2) /* 80193764 001906C4 D0 43 00 00 */ stfs f2, 0(r3) /* 80193768 001906C8 C0 22 A5 B0 */ lfs f1, lbl_805AC2D0@sda21(r2) /* 8019376C 001906CC EC 00 10 FA */ fmadds f0, f0, f3, f2 /* 80193770 001906D0 D0 23 00 04 */ stfs f1, 4(r3) /* 80193774 001906D4 D0 83 00 08 */ stfs f4, 8(r3) /* 80193778 001906D8 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8019377C 001906DC D0 23 00 10 */ stfs f1, 0x10(r3) /* 80193780 001906E0 D0 83 00 14 */ stfs f4, 0x14(r3) /* 80193784 001906E4 4E 80 00 20 */ blr .global CombatThreatBarCoordFunc__19CHudThreatInterfaceFf CombatThreatBarCoordFunc__19CHudThreatInterfaceFf: /* 80193788 001906E8 3C 80 80 3D */ lis r4, lbl_803D0E04@ha /* 8019378C 001906EC C0 42 A5 FC */ lfs f2, lbl_805AC31C@sda21(r2) /* 80193790 001906F0 C0 64 0E 04 */ lfs f3, lbl_803D0E04@l(r4) /* 80193794 001906F4 C0 02 A5 B0 */ lfs f0, lbl_805AC2D0@sda21(r2) /* 80193798 001906F8 D0 43 00 00 */ stfs f2, 0(r3) /* 8019379C 001906FC EC 21 00 F2 */ fmuls f1, f1, f3 /* 801937A0 00190700 D0 03 00 04 */ stfs f0, 4(r3) /* 801937A4 00190704 D0 23 00 08 */ stfs f1, 8(r3) /* 801937A8 00190708 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801937AC 0019070C D0 03 00 10 */ stfs f0, 0x10(r3) /* 801937B0 00190710 D0 23 00 14 */ stfs f1, 0x14(r3) /* 801937B4 00190714 4E 80 00 20 */ blr .global UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf: /* 801937B8 00190718 94 21 FC E0 */ stwu r1, -0x320(r1) /* 801937BC 0019071C 7C 08 02 A6 */ mflr r0 /* 801937C0 00190720 90 01 03 24 */ stw r0, 0x324(r1) /* 801937C4 00190724 DB E1 03 10 */ stfd f31, 0x310(r1) /* 801937C8 00190728 F3 E1 03 18 */ psq_st f31, 792(r1), 0, qr0 /* 801937CC 0019072C 93 E1 03 0C */ stw r31, 0x30c(r1) /* 801937D0 00190730 93 C1 03 08 */ stw r30, 0x308(r1) /* 801937D4 00190734 FC 00 0A 10 */ fabs f0, f1 /* 801937D8 00190738 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) /* 801937DC 0019073C 80 03 00 04 */ lwz r0, 4(r3) /* 801937E0 00190740 7C BE 2B 78 */ mr r30, r5 /* 801937E4 00190744 C0 22 A6 40 */ lfs f1, lbl_805AC360@sda21(r2) /* 801937E8 00190748 FC 60 00 18 */ frsp f3, f0 /* 801937EC 0019074C C0 86 00 CC */ lfs f4, 0xcc(r6) /* 801937F0 00190750 2C 00 00 00 */ cmpwi r0, 0 /* 801937F4 00190754 C0 06 00 C4 */ lfs f0, 0xc4(r6) /* 801937F8 00190758 EC 21 18 28 */ fsubs f1, f1, f3 /* 801937FC 0019075C C0 46 00 C8 */ lfs f2, 0xc8(r6) /* 80193800 00190760 EF E3 01 32 */ fmuls f31, f3, f4 /* 80193804 00190764 EC 01 00 32 */ fmuls f0, f1, f0 /* 80193808 00190768 EC 23 00 BA */ fmadds f1, f3, f2, f0 /* 8019380C 0019076C 40 82 00 24 */ bne lbl_80193830 /* 80193810 00190770 2C 04 00 02 */ cmpwi r4, 2 /* 80193814 00190774 40 82 00 0C */ bne lbl_80193820 /* 80193818 00190778 38 80 00 03 */ li r4, 3 /* 8019381C 0019077C 48 00 00 30 */ b lbl_8019384C lbl_80193820: /* 80193820 00190780 2C 04 00 03 */ cmpwi r4, 3 /* 80193824 00190784 40 82 00 28 */ bne lbl_8019384C /* 80193828 00190788 38 80 00 02 */ li r4, 2 /* 8019382C 0019078C 48 00 00 20 */ b lbl_8019384C lbl_80193830: /* 80193830 00190790 2C 04 00 01 */ cmpwi r4, 1 /* 80193834 00190794 40 82 00 0C */ bne lbl_80193840 /* 80193838 00190798 38 80 00 02 */ li r4, 2 /* 8019383C 0019079C 48 00 00 10 */ b lbl_8019384C lbl_80193840: /* 80193840 001907A0 2C 04 00 02 */ cmpwi r4, 2 /* 80193844 001907A4 40 82 00 08 */ bne lbl_8019384C /* 80193848 001907A8 38 80 00 01 */ li r4, 1 lbl_8019384C: /* 8019384C 001907AC 2C 04 00 02 */ cmpwi r4, 2 /* 80193850 001907B0 41 82 00 CC */ beq lbl_8019391C /* 80193854 001907B4 40 80 00 14 */ bge lbl_80193868 /* 80193858 001907B8 2C 04 00 00 */ cmpwi r4, 0 /* 8019385C 001907BC 41 82 00 18 */ beq lbl_80193874 /* 80193860 001907C0 40 80 00 68 */ bge lbl_801938C8 /* 80193864 001907C4 48 00 01 5C */ b lbl_801939C0 lbl_80193868: /* 80193868 001907C8 2C 04 00 04 */ cmpwi r4, 4 /* 8019386C 001907CC 40 80 01 54 */ bge lbl_801939C0 /* 80193870 001907D0 48 00 01 00 */ b lbl_80193970 lbl_80193874: /* 80193874 001907D4 80 83 00 18 */ lwz r4, 0x18(r3) /* 80193878 001907D8 38 61 02 48 */ addi r3, r1, 0x248 /* 8019387C 001907DC 3B E4 00 34 */ addi r31, r4, 0x34 /* 80193880 001907E0 48 17 F9 C1 */ bl Scale__12CTransform4fFf /* 80193884 001907E4 C0 22 A6 44 */ lfs f1, lbl_805AC364@sda21(r2) /* 80193888 001907E8 FC 60 F8 90 */ fmr f3, f31 /* 8019388C 001907EC 38 61 02 78 */ addi r3, r1, 0x278 /* 80193890 001907F0 FC 40 08 90 */ fmr f2, f1 /* 80193894 001907F4 48 17 F8 F5 */ bl Translate__12CTransform4fFfff /* 80193898 001907F8 7F E4 FB 78 */ mr r4, r31 /* 8019389C 001907FC 38 61 02 A8 */ addi r3, r1, 0x2a8 /* 801938A0 00190800 38 A1 02 78 */ addi r5, r1, 0x278 /* 801938A4 00190804 48 17 F0 AD */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801938A8 00190808 38 61 02 D8 */ addi r3, r1, 0x2d8 /* 801938AC 0019080C 38 81 02 A8 */ addi r4, r1, 0x2a8 /* 801938B0 00190810 38 A1 02 48 */ addi r5, r1, 0x248 /* 801938B4 00190814 48 17 F0 9D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801938B8 00190818 7F C3 F3 78 */ mr r3, r30 /* 801938BC 0019081C 38 81 02 D8 */ addi r4, r1, 0x2d8 /* 801938C0 00190820 48 13 0E 79 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 801938C4 00190824 48 00 00 FC */ b lbl_801939C0 lbl_801938C8: /* 801938C8 00190828 80 83 00 18 */ lwz r4, 0x18(r3) /* 801938CC 0019082C 38 61 01 88 */ addi r3, r1, 0x188 /* 801938D0 00190830 3B E4 00 34 */ addi r31, r4, 0x34 /* 801938D4 00190834 48 17 F9 6D */ bl Scale__12CTransform4fFf /* 801938D8 00190838 C0 42 A6 44 */ lfs f2, lbl_805AC364@sda21(r2) /* 801938DC 0019083C FC 20 F8 90 */ fmr f1, f31 /* 801938E0 00190840 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 801938E4 00190844 FC 60 10 90 */ fmr f3, f2 /* 801938E8 00190848 48 17 F8 A1 */ bl Translate__12CTransform4fFfff /* 801938EC 0019084C 7F E4 FB 78 */ mr r4, r31 /* 801938F0 00190850 38 61 01 E8 */ addi r3, r1, 0x1e8 /* 801938F4 00190854 38 A1 01 B8 */ addi r5, r1, 0x1b8 /* 801938F8 00190858 48 17 F0 59 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801938FC 0019085C 38 61 02 18 */ addi r3, r1, 0x218 /* 80193900 00190860 38 81 01 E8 */ addi r4, r1, 0x1e8 /* 80193904 00190864 38 A1 01 88 */ addi r5, r1, 0x188 /* 80193908 00190868 48 17 F0 49 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8019390C 0019086C 7F C3 F3 78 */ mr r3, r30 /* 80193910 00190870 38 81 02 18 */ addi r4, r1, 0x218 /* 80193914 00190874 48 13 0E 25 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 80193918 00190878 48 00 00 A8 */ b lbl_801939C0 lbl_8019391C: /* 8019391C 0019087C 80 83 00 18 */ lwz r4, 0x18(r3) /* 80193920 00190880 38 61 00 C8 */ addi r3, r1, 0xc8 /* 80193924 00190884 3B E4 00 34 */ addi r31, r4, 0x34 /* 80193928 00190888 48 17 F9 19 */ bl Scale__12CTransform4fFf /* 8019392C 0019088C C0 22 A6 44 */ lfs f1, lbl_805AC364@sda21(r2) /* 80193930 00190890 FC 60 F8 50 */ fneg f3, f31 /* 80193934 00190894 38 61 00 F8 */ addi r3, r1, 0xf8 /* 80193938 00190898 FC 40 08 90 */ fmr f2, f1 /* 8019393C 0019089C 48 17 F8 4D */ bl Translate__12CTransform4fFfff /* 80193940 001908A0 7F E4 FB 78 */ mr r4, r31 /* 80193944 001908A4 38 61 01 28 */ addi r3, r1, 0x128 /* 80193948 001908A8 38 A1 00 F8 */ addi r5, r1, 0xf8 /* 8019394C 001908AC 48 17 F0 05 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80193950 001908B0 38 61 01 58 */ addi r3, r1, 0x158 /* 80193954 001908B4 38 81 01 28 */ addi r4, r1, 0x128 /* 80193958 001908B8 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 8019395C 001908BC 48 17 EF F5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80193960 001908C0 7F C3 F3 78 */ mr r3, r30 /* 80193964 001908C4 38 81 01 58 */ addi r4, r1, 0x158 /* 80193968 001908C8 48 13 0D D1 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 8019396C 001908CC 48 00 00 54 */ b lbl_801939C0 lbl_80193970: /* 80193970 001908D0 80 83 00 18 */ lwz r4, 0x18(r3) /* 80193974 001908D4 38 61 00 08 */ addi r3, r1, 8 /* 80193978 001908D8 3B E4 00 34 */ addi r31, r4, 0x34 /* 8019397C 001908DC 48 17 F8 C5 */ bl Scale__12CTransform4fFf /* 80193980 001908E0 C0 42 A6 44 */ lfs f2, lbl_805AC364@sda21(r2) /* 80193984 001908E4 FC 20 F8 50 */ fneg f1, f31 /* 80193988 001908E8 38 61 00 38 */ addi r3, r1, 0x38 /* 8019398C 001908EC FC 60 10 90 */ fmr f3, f2 /* 80193990 001908F0 48 17 F7 F9 */ bl Translate__12CTransform4fFfff /* 80193994 001908F4 7F E4 FB 78 */ mr r4, r31 /* 80193998 001908F8 38 61 00 68 */ addi r3, r1, 0x68 /* 8019399C 001908FC 38 A1 00 38 */ addi r5, r1, 0x38 /* 801939A0 00190900 48 17 EF B1 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801939A4 00190904 38 61 00 98 */ addi r3, r1, 0x98 /* 801939A8 00190908 38 81 00 68 */ addi r4, r1, 0x68 /* 801939AC 0019090C 38 A1 00 08 */ addi r5, r1, 8 /* 801939B0 00190910 48 17 EF A1 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801939B4 00190914 7F C3 F3 78 */ mr r3, r30 /* 801939B8 00190918 38 81 00 98 */ addi r4, r1, 0x98 /* 801939BC 0019091C 48 13 0D 7D */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f lbl_801939C0: /* 801939C0 00190920 E3 E1 03 18 */ psq_l f31, 792(r1), 0, qr0 /* 801939C4 00190924 80 01 03 24 */ lwz r0, 0x324(r1) /* 801939C8 00190928 CB E1 03 10 */ lfd f31, 0x310(r1) /* 801939CC 0019092C 83 E1 03 0C */ lwz r31, 0x30c(r1) /* 801939D0 00190930 83 C1 03 08 */ lwz r30, 0x308(r1) /* 801939D4 00190934 7C 08 03 A6 */ mtlr r0 /* 801939D8 00190938 38 21 03 20 */ addi r1, r1, 0x320 /* 801939DC 0019093C 4E 80 00 20 */ blr .global SetIsVisibleGame__17CHudVisorBeamMenuFb SetIsVisibleGame__17CHudVisorBeamMenuFb: /* 801939E0 00190940 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801939E4 00190944 7C 08 02 A6 */ mflr r0 /* 801939E8 00190948 90 01 00 14 */ stw r0, 0x14(r1) /* 801939EC 0019094C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801939F0 00190950 3B E0 00 00 */ li r31, 0 /* 801939F4 00190954 93 C1 00 08 */ stw r30, 8(r1) /* 801939F8 00190958 7C 7E 1B 78 */ mr r30, r3 /* 801939FC 0019095C 88 03 00 14 */ lbz r0, 0x14(r3) /* 80193A00 00190960 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80193A04 00190964 98 1E 00 14 */ stb r0, 0x14(r30) /* 80193A08 00190968 88 7E 00 14 */ lbz r3, 0x14(r30) /* 80193A0C 0019096C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 80193A10 00190970 41 82 00 10 */ beq lbl_80193A20 /* 80193A14 00190974 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 80193A18 00190978 41 82 00 08 */ beq lbl_80193A20 /* 80193A1C 0019097C 3B E0 00 01 */ li r31, 1 lbl_80193A20: /* 80193A20 00190980 80 7E 00 18 */ lwz r3, 0x18(r30) /* 80193A24 00190984 57 E4 06 3E */ clrlwi r4, r31, 0x18 /* 80193A28 00190988 38 A0 00 01 */ li r5, 1 /* 80193A2C 0019098C 48 13 6C BD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80193A30 00190990 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80193A34 00190994 41 82 00 14 */ beq lbl_80193A48 /* 80193A38 00190998 C0 22 A6 44 */ lfs f1, lbl_805AC364@sda21(r2) /* 80193A3C 0019099C 7F C3 F3 78 */ mr r3, r30 /* 80193A40 001909A0 38 80 00 01 */ li r4, 1 /* 80193A44 001909A4 48 00 00 1D */ bl Update__17CHudVisorBeamMenuFfb lbl_80193A48: /* 80193A48 001909A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80193A4C 001909AC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80193A50 001909B0 83 C1 00 08 */ lwz r30, 8(r1) /* 80193A54 001909B4 7C 08 03 A6 */ mtlr r0 /* 80193A58 001909B8 38 21 00 10 */ addi r1, r1, 0x10 /* 80193A5C 001909BC 4E 80 00 20 */ blr .global Update__17CHudVisorBeamMenuFfb Update__17CHudVisorBeamMenuFfb: /* 80193A60 001909C0 94 21 FF 00 */ stwu r1, -0x100(r1) /* 80193A64 001909C4 7C 08 02 A6 */ mflr r0 /* 80193A68 001909C8 90 01 01 04 */ stw r0, 0x104(r1) /* 80193A6C 001909CC DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 80193A70 001909D0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 80193A74 001909D4 DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 80193A78 001909D8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 /* 80193A7C 001909DC DB A1 00 D0 */ stfd f29, 0xd0(r1) /* 80193A80 001909E0 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 /* 80193A84 001909E4 DB 81 00 C0 */ stfd f28, 0xc0(r1) /* 80193A88 001909E8 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 /* 80193A8C 001909EC BE C1 00 98 */ stmw r22, 0x98(r1) /* 80193A90 001909F0 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 80193A94 001909F4 7C 7E 1B 78 */ mr r30, r3 /* 80193A98 001909F8 88 63 00 80 */ lbz r3, 0x80(r3) /* 80193A9C 001909FC FF C0 08 90 */ fmr f30, f1 /* 80193AA0 00190A00 88 A5 01 E4 */ lbz r5, 0x1e4(r5) /* 80193AA4 00190A04 7C 9F 23 78 */ mr r31, r4 /* 80193AA8 00190A08 54 60 CF FE */ rlwinm r0, r3, 0x19, 0x1f, 0x1f /* 80193AAC 00190A0C 54 A4 E7 FE */ rlwinm r4, r5, 0x1c, 0x1f, 0x1f /* 80193AB0 00190A10 7C 04 00 40 */ cmplw r4, r0 /* 80193AB4 00190A14 41 82 01 30 */ beq lbl_80193BE4 /* 80193AB8 00190A18 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 /* 80193ABC 00190A1C 98 7E 00 80 */ stb r3, 0x80(r30) /* 80193AC0 00190A20 88 1E 00 80 */ lbz r0, 0x80(r30) /* 80193AC4 00190A24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80193AC8 00190A28 41 82 00 10 */ beq lbl_80193AD8 /* 80193ACC 00190A2C 80 1E 00 04 */ lwz r0, 4(r30) /* 80193AD0 00190A30 20 00 00 01 */ subfic r0, r0, 1 /* 80193AD4 00190A34 48 00 00 08 */ b lbl_80193ADC lbl_80193AD8: /* 80193AD8 00190A38 80 1E 00 04 */ lwz r0, 4(r30) lbl_80193ADC: /* 80193ADC 00190A3C 54 00 10 3A */ slwi r0, r0, 2 /* 80193AE0 00190A40 38 82 A6 00 */ addi r4, r2, lbl_805AC320@sda21 /* 80193AE4 00190A44 80 7E 00 00 */ lwz r3, 0(r30) /* 80193AE8 00190A48 7C 84 00 2E */ lwzx r4, r4, r0 /* 80193AEC 00190A4C 48 12 E6 69 */ bl FindWidget__9CGuiFrameCFPCc /* 80193AF0 00190A50 90 7E 00 18 */ stw r3, 0x18(r30) /* 80193AF4 00190A54 38 61 00 6C */ addi r3, r1, 0x6c /* 80193AF8 00190A58 38 8D 8F A0 */ addi r4, r13, lbl_805A7B60@sda21 /* 80193AFC 00190A5C 4B E8 1E F5 */ bl wstring_l__4rstlFPCw /* 80193B00 00190A60 80 7E 00 20 */ lwz r3, 0x20(r30) /* 80193B04 00190A64 38 81 00 6C */ addi r4, r1, 0x6c /* 80193B08 00190A68 38 A0 00 00 */ li r5, 0 /* 80193B0C 00190A6C 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80193B10 00190A70 48 13 5D 75 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80193B14 00190A74 38 61 00 6C */ addi r3, r1, 0x6c /* 80193B18 00190A78 48 1A 96 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80193B1C 00190A7C 88 1E 00 80 */ lbz r0, 0x80(r30) /* 80193B20 00190A80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80193B24 00190A84 41 82 00 10 */ beq lbl_80193B34 /* 80193B28 00190A88 80 1E 00 04 */ lwz r0, 4(r30) /* 80193B2C 00190A8C 20 00 00 01 */ subfic r0, r0, 1 /* 80193B30 00190A90 48 00 00 08 */ b lbl_80193B38 lbl_80193B34: /* 80193B34 00190A94 80 1E 00 04 */ lwz r0, 4(r30) lbl_80193B38: /* 80193B38 00190A98 54 00 10 3A */ slwi r0, r0, 2 /* 80193B3C 00190A9C 38 82 A6 08 */ addi r4, r2, lbl_805AC328@sda21 /* 80193B40 00190AA0 80 7E 00 00 */ lwz r3, 0(r30) /* 80193B44 00190AA4 7C 84 00 2E */ lwzx r4, r4, r0 /* 80193B48 00190AA8 48 12 E6 0D */ bl FindWidget__9CGuiFrameCFPCc /* 80193B4C 00190AAC 90 7E 00 20 */ stw r3, 0x20(r30) /* 80193B50 00190AB0 88 1E 00 80 */ lbz r0, 0x80(r30) /* 80193B54 00190AB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80193B58 00190AB8 41 82 00 10 */ beq lbl_80193B68 /* 80193B5C 00190ABC 80 1E 00 04 */ lwz r0, 4(r30) /* 80193B60 00190AC0 20 00 00 01 */ subfic r0, r0, 1 /* 80193B64 00190AC4 48 00 00 08 */ b lbl_80193B6C lbl_80193B68: /* 80193B68 00190AC8 80 1E 00 04 */ lwz r0, 4(r30) lbl_80193B6C: /* 80193B6C 00190ACC 54 00 10 3A */ slwi r0, r0, 2 /* 80193B70 00190AD0 38 82 A6 10 */ addi r4, r2, lbl_805AC330@sda21 /* 80193B74 00190AD4 80 7E 00 00 */ lwz r3, 0(r30) /* 80193B78 00190AD8 7C 84 00 2E */ lwzx r4, r4, r0 /* 80193B7C 00190ADC 48 12 E5 D9 */ bl FindWidget__9CGuiFrameCFPCc /* 80193B80 00190AE0 3A FE 00 2C */ addi r23, r30, 0x2c /* 80193B84 00190AE4 90 7E 00 1C */ stw r3, 0x1c(r30) /* 80193B88 00190AE8 7E F6 BB 78 */ mr r22, r23 /* 80193B8C 00190AEC 3B 00 00 00 */ li r24, 0 lbl_80193B90: /* 80193B90 00190AF0 80 B6 00 04 */ lwz r5, 4(r22) /* 80193B94 00190AF4 7F C3 F3 78 */ mr r3, r30 /* 80193B98 00190AF8 C0 36 00 08 */ lfs f1, 8(r22) /* 80193B9C 00190AFC 7F 04 C3 78 */ mr r4, r24 /* 80193BA0 00190B00 4B FF FC 19 */ bl UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf /* 80193BA4 00190B04 80 B6 00 00 */ lwz r5, 0(r22) /* 80193BA8 00190B08 7F C3 F3 78 */ mr r3, r30 /* 80193BAC 00190B0C C0 22 A6 40 */ lfs f1, lbl_805AC360@sda21(r2) /* 80193BB0 00190B10 7F 04 C3 78 */ mr r4, r24 /* 80193BB4 00190B14 4B FF FC 05 */ bl UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf /* 80193BB8 00190B18 3B 18 00 01 */ addi r24, r24, 1 /* 80193BBC 00190B1C 3A D6 00 10 */ addi r22, r22, 0x10 /* 80193BC0 00190B20 2C 18 00 04 */ cmpwi r24, 4 /* 80193BC4 00190B24 41 80 FF CC */ blt lbl_80193B90 /* 80193BC8 00190B28 80 9E 00 08 */ lwz r4, 8(r30) /* 80193BCC 00190B2C 7F C3 F3 78 */ mr r3, r30 /* 80193BD0 00190B30 80 BE 00 24 */ lwz r5, 0x24(r30) /* 80193BD4 00190B34 54 80 20 36 */ slwi r0, r4, 4 /* 80193BD8 00190B38 7C D7 02 14 */ add r6, r23, r0 /* 80193BDC 00190B3C C0 26 00 08 */ lfs f1, 8(r6) /* 80193BE0 00190B40 4B FF FB D9 */ bl UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf lbl_80193BE4: /* 80193BE4 00190B44 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 80193BE8 00190B48 38 00 00 00 */ li r0, 0 /* 80193BEC 00190B4C 3B 7E 00 2C */ addi r27, r30, 0x2c /* 80193BF0 00190B50 90 01 00 7C */ stw r0, 0x7c(r1) /* 80193BF4 00190B54 C3 A2 A6 44 */ lfs f29, lbl_805AC364@sda21(r2) /* 80193BF8 00190B58 7F 7D DB 78 */ mr r29, r27 /* 80193BFC 00190B5C 3B 43 00 2C */ addi r26, r3, 0x2c /* 80193C00 00190B60 3B 23 00 30 */ addi r25, r3, 0x30 /* 80193C04 00190B64 3B 03 00 B0 */ addi r24, r3, 0xb0 /* 80193C08 00190B68 3B 81 00 80 */ addi r28, r1, 0x80 /* 80193C0C 00190B6C 3A E0 00 00 */ li r23, 0 lbl_80193C10: /* 80193C10 00190B70 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80193C14 00190B74 FC 00 E8 40 */ fcmpo cr0, f0, f29 /* 80193C18 00190B78 40 81 00 2C */ ble lbl_80193C44 /* 80193C1C 00190B7C EC 20 F0 2A */ fadds f1, f0, f30 /* 80193C20 00190B80 C0 0D 8F 98 */ lfs f0, lbl_805A7B58@sda21(r13) /* 80193C24 00190B84 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80193C28 00190B88 D0 21 00 48 */ stfs f1, 0x48(r1) /* 80193C2C 00190B8C 40 80 00 0C */ bge lbl_80193C38 /* 80193C30 00190B90 38 61 00 48 */ addi r3, r1, 0x48 /* 80193C34 00190B94 48 00 00 08 */ b lbl_80193C3C lbl_80193C38: /* 80193C38 00190B98 38 6D 8F 98 */ addi r3, r13, lbl_805A7B58@sda21 lbl_80193C3C: /* 80193C3C 00190B9C C0 03 00 00 */ lfs f0, 0(r3) /* 80193C40 00190BA0 D0 1D 00 0C */ stfs f0, 0xc(r29) lbl_80193C44: /* 80193C44 00190BA4 38 00 00 00 */ li r0, 0 /* 80193C48 00190BA8 7F 44 D3 78 */ mr r4, r26 /* 80193C4C 00190BAC 90 01 00 40 */ stw r0, 0x40(r1) /* 80193C50 00190BB0 38 61 00 44 */ addi r3, r1, 0x44 /* 80193C54 00190BB4 38 A1 00 40 */ addi r5, r1, 0x40 /* 80193C58 00190BB8 C0 3D 00 0C */ lfs f1, 0xc(r29) /* 80193C5C 00190BBC 48 1C F6 51 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80193C60 00190BC0 80 01 00 7C */ lwz r0, 0x7c(r1) /* 80193C64 00190BC4 54 00 10 3A */ slwi r0, r0, 2 /* 80193C68 00190BC8 7C 7C 02 15 */ add. r3, r28, r0 /* 80193C6C 00190BCC 41 82 00 0C */ beq lbl_80193C78 /* 80193C70 00190BD0 80 01 00 44 */ lwz r0, 0x44(r1) /* 80193C74 00190BD4 90 03 00 00 */ stw r0, 0(r3) lbl_80193C78: /* 80193C78 00190BD8 80 61 00 7C */ lwz r3, 0x7c(r1) /* 80193C7C 00190BDC 3A F7 00 01 */ addi r23, r23, 1 /* 80193C80 00190BE0 2C 17 00 04 */ cmpwi r23, 4 /* 80193C84 00190BE4 3B BD 00 10 */ addi r29, r29, 0x10 /* 80193C88 00190BE8 38 03 00 01 */ addi r0, r3, 1 /* 80193C8C 00190BEC 90 01 00 7C */ stw r0, 0x7c(r1) /* 80193C90 00190BF0 41 80 FF 80 */ blt lbl_80193C10 /* 80193C94 00190BF4 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80193C98 00190BF8 2C 00 00 02 */ cmpwi r0, 2 /* 80193C9C 00190BFC 41 82 01 20 */ beq lbl_80193DBC /* 80193CA0 00190C00 40 80 00 14 */ bge lbl_80193CB4 /* 80193CA4 00190C04 2C 00 00 00 */ cmpwi r0, 0 /* 80193CA8 00190C08 41 82 03 EC */ beq lbl_80194094 /* 80193CAC 00190C0C 40 80 00 14 */ bge lbl_80193CC0 /* 80193CB0 00190C10 48 00 03 E4 */ b lbl_80194094 lbl_80193CB4: /* 80193CB4 00190C14 2C 00 00 04 */ cmpwi r0, 4 /* 80193CB8 00190C18 40 80 03 DC */ bge lbl_80194094 /* 80193CBC 00190C1C 48 00 02 C4 */ b lbl_80193F80 lbl_80193CC0: /* 80193CC0 00190C20 80 19 00 00 */ lwz r0, 0(r25) /* 80193CC4 00190C24 7F 7D DB 78 */ mr r29, r27 /* 80193CC8 00190C28 C3 A2 A6 44 */ lfs f29, lbl_805AC364@sda21(r2) /* 80193CCC 00190C2C 3A E0 00 00 */ li r23, 0 /* 80193CD0 00190C30 90 01 00 68 */ stw r0, 0x68(r1) lbl_80193CD4: /* 80193CD4 00190C34 80 1E 00 08 */ lwz r0, 8(r30) /* 80193CD8 00190C38 7C 17 00 00 */ cmpw r23, r0 /* 80193CDC 00190C3C 40 82 00 0C */ bne lbl_80193CE8 /* 80193CE0 00190C40 7F 44 D3 78 */ mr r4, r26 /* 80193CE4 00190C44 48 00 00 08 */ b lbl_80193CEC lbl_80193CE8: /* 80193CE8 00190C48 38 81 00 68 */ addi r4, r1, 0x68 lbl_80193CEC: /* 80193CEC 00190C4C 7C 17 00 00 */ cmpw r23, r0 /* 80193CF0 00190C50 40 82 00 0C */ bne lbl_80193CFC /* 80193CF4 00190C54 7F 16 C3 78 */ mr r22, r24 /* 80193CF8 00190C58 48 00 00 08 */ b lbl_80193D00 lbl_80193CFC: /* 80193CFC 00190C5C 7F 36 CB 78 */ mr r22, r25 lbl_80193D00: /* 80193D00 00190C60 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80193D04 00190C64 FC 1D 00 00 */ fcmpu cr0, f29, f0 /* 80193D08 00190C68 40 82 00 14 */ bne lbl_80193D1C /* 80193D0C 00190C6C 38 00 00 00 */ li r0, 0 /* 80193D10 00190C70 38 61 00 3C */ addi r3, r1, 0x3c /* 80193D14 00190C74 90 01 00 3C */ stw r0, 0x3c(r1) /* 80193D18 00190C78 48 00 00 14 */ b lbl_80193D2C lbl_80193D1C: /* 80193D1C 00190C7C 7F 85 E3 78 */ mr r5, r28 /* 80193D20 00190C80 38 61 00 38 */ addi r3, r1, 0x38 /* 80193D24 00190C84 48 1C F3 8D */ bl Add__6CColorFRC6CColorRC6CColor /* 80193D28 00190C88 38 61 00 38 */ addi r3, r1, 0x38 lbl_80193D2C: /* 80193D2C 00190C8C 80 03 00 00 */ lwz r0, 0(r3) /* 80193D30 00190C90 90 01 00 64 */ stw r0, 0x64(r1) /* 80193D34 00190C94 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80193D38 00190C98 FC 1D 00 00 */ fcmpu cr0, f29, f0 /* 80193D3C 00190C9C 40 82 00 0C */ bne lbl_80193D48 /* 80193D40 00190CA0 7F 03 C3 78 */ mr r3, r24 /* 80193D44 00190CA4 48 00 00 18 */ b lbl_80193D5C lbl_80193D48: /* 80193D48 00190CA8 7E C4 B3 78 */ mr r4, r22 /* 80193D4C 00190CAC 7F 85 E3 78 */ mr r5, r28 /* 80193D50 00190CB0 38 61 00 34 */ addi r3, r1, 0x34 /* 80193D54 00190CB4 48 1C F3 5D */ bl Add__6CColorFRC6CColorRC6CColor /* 80193D58 00190CB8 38 61 00 34 */ addi r3, r1, 0x34 lbl_80193D5C: /* 80193D5C 00190CBC 80 03 00 00 */ lwz r0, 0(r3) /* 80193D60 00190CC0 38 81 00 64 */ addi r4, r1, 0x64 /* 80193D64 00190CC4 90 01 00 60 */ stw r0, 0x60(r1) /* 80193D68 00190CC8 80 7D 00 04 */ lwz r3, 4(r29) /* 80193D6C 00190CCC 48 13 6B 01 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193D70 00190CD0 80 7D 00 00 */ lwz r3, 0(r29) /* 80193D74 00190CD4 38 81 00 60 */ addi r4, r1, 0x60 /* 80193D78 00190CD8 48 13 6A F5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193D7C 00190CDC 80 1E 00 08 */ lwz r0, 8(r30) /* 80193D80 00190CE0 7C 17 00 00 */ cmpw r23, r0 /* 80193D84 00190CE4 40 82 00 0C */ bne lbl_80193D90 /* 80193D88 00190CE8 C0 02 A6 44 */ lfs f0, lbl_805AC364@sda21(r2) /* 80193D8C 00190CEC 48 00 00 08 */ b lbl_80193D94 lbl_80193D90: /* 80193D90 00190CF0 C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) lbl_80193D94: /* 80193D94 00190CF4 3A F7 00 01 */ addi r23, r23, 1 /* 80193D98 00190CF8 D0 1D 00 08 */ stfs f0, 8(r29) /* 80193D9C 00190CFC 2C 17 00 04 */ cmpwi r23, 4 /* 80193DA0 00190D00 3B BD 00 10 */ addi r29, r29, 0x10 /* 80193DA4 00190D04 3B 9C 00 04 */ addi r28, r28, 4 /* 80193DA8 00190D08 41 80 FF 2C */ blt lbl_80193CD4 /* 80193DAC 00190D0C 80 7E 00 24 */ lwz r3, 0x24(r30) /* 80193DB0 00190D10 7F 44 D3 78 */ mr r4, r26 /* 80193DB4 00190D14 48 13 6A B9 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193DB8 00190D18 48 00 02 DC */ b lbl_80194094 lbl_80193DBC: /* 80193DBC 00190D1C 48 1B 61 F1 */ bl White__6CColorFv /* 80193DC0 00190D20 C3 82 A6 44 */ lfs f28, lbl_805AC364@sda21(r2) /* 80193DC4 00190D24 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 /* 80193DC8 00190D28 38 81 00 30 */ addi r4, r1, 0x30 /* 80193DCC 00190D2C 80 63 00 00 */ lwz r3, 0(r3) /* 80193DD0 00190D30 88 01 00 09 */ lbz r0, 9(r1) /* 80193DD4 00190D34 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80193DD8 00190D38 90 01 00 30 */ stw r0, 0x30(r1) /* 80193DDC 00190D3C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80193DE0 00190D40 48 13 6A 8D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193DE4 00190D44 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 80193DE8 00190D48 C8 42 A6 48 */ lfd f2, lbl_805AC368@sda21(r2) /* 80193DEC 00190D4C 48 20 0E C1 */ bl fmod /* 80193DF0 00190D50 FC 20 08 18 */ frsp f1, f1 /* 80193DF4 00190D54 C0 02 A6 50 */ lfs f0, lbl_805AC370@sda21(r2) /* 80193DF8 00190D58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80193DFC 00190D5C 40 81 00 0C */ ble lbl_80193E08 /* 80193E00 00190D60 7F 44 D3 78 */ mr r4, r26 /* 80193E04 00190D64 48 00 00 08 */ b lbl_80193E0C lbl_80193E08: /* 80193E08 00190D68 7F 24 CB 78 */ mr r4, r25 lbl_80193E0C: /* 80193E0C 00190D6C 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80193E10 00190D70 38 61 00 2C */ addi r3, r1, 0x2c /* 80193E14 00190D74 54 00 10 3A */ slwi r0, r0, 2 /* 80193E18 00190D78 7C BC 02 14 */ add r5, r28, r0 /* 80193E1C 00190D7C 48 1C F2 95 */ bl Add__6CColorFRC6CColorRC6CColor /* 80193E20 00190D80 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80193E24 00190D84 38 81 00 5C */ addi r4, r1, 0x5c /* 80193E28 00190D88 90 01 00 5C */ stw r0, 0x5c(r1) /* 80193E2C 00190D8C 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80193E30 00190D90 54 03 20 36 */ slwi r3, r0, 4 /* 80193E34 00190D94 38 03 00 04 */ addi r0, r3, 4 /* 80193E38 00190D98 7C 7B 00 2E */ lwzx r3, r27, r0 /* 80193E3C 00190D9C 48 13 6A 31 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193E40 00190DA0 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80193E44 00190DA4 38 81 00 5C */ addi r4, r1, 0x5c /* 80193E48 00190DA8 54 00 20 36 */ slwi r0, r0, 4 /* 80193E4C 00190DAC 7C 7B 00 2E */ lwzx r3, r27, r0 /* 80193E50 00190DB0 48 13 6A 1D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193E54 00190DB4 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 80193E58 00190DB8 7F 24 CB 78 */ mr r4, r25 /* 80193E5C 00190DBC 7F 45 D3 78 */ mr r5, r26 /* 80193E60 00190DC0 38 61 00 28 */ addi r3, r1, 0x28 /* 80193E64 00190DC4 48 1C F4 49 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80193E68 00190DC8 80 01 00 28 */ lwz r0, 0x28(r1) /* 80193E6C 00190DCC 38 61 00 24 */ addi r3, r1, 0x24 /* 80193E70 00190DD0 38 81 00 58 */ addi r4, r1, 0x58 /* 80193E74 00190DD4 90 01 00 58 */ stw r0, 0x58(r1) /* 80193E78 00190DD8 80 1E 00 08 */ lwz r0, 8(r30) /* 80193E7C 00190DDC 54 00 10 3A */ slwi r0, r0, 2 /* 80193E80 00190DE0 7C BC 02 14 */ add r5, r28, r0 /* 80193E84 00190DE4 48 1C F2 2D */ bl Add__6CColorFRC6CColorRC6CColor /* 80193E88 00190DE8 80 01 00 24 */ lwz r0, 0x24(r1) /* 80193E8C 00190DEC 38 81 00 54 */ addi r4, r1, 0x54 /* 80193E90 00190DF0 90 01 00 54 */ stw r0, 0x54(r1) /* 80193E94 00190DF4 80 1E 00 08 */ lwz r0, 8(r30) /* 80193E98 00190DF8 54 03 20 36 */ slwi r3, r0, 4 /* 80193E9C 00190DFC 38 03 00 04 */ addi r0, r3, 4 /* 80193EA0 00190E00 7C 7B 00 2E */ lwzx r3, r27, r0 /* 80193EA4 00190E04 48 13 69 C9 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193EA8 00190E08 80 1E 00 08 */ lwz r0, 8(r30) /* 80193EAC 00190E0C 7F 04 C3 78 */ mr r4, r24 /* 80193EB0 00190E10 54 00 20 36 */ slwi r0, r0, 4 /* 80193EB4 00190E14 7C 7B 00 2E */ lwzx r3, r27, r0 /* 80193EB8 00190E18 48 13 69 B5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193EBC 00190E1C 80 1E 00 08 */ lwz r0, 8(r30) /* 80193EC0 00190E20 38 60 00 00 */ li r3, 0 /* 80193EC4 00190E24 C0 22 A6 40 */ lfs f1, lbl_805AC360@sda21(r2) /* 80193EC8 00190E28 7C 03 00 00 */ cmpw r3, r0 /* 80193ECC 00190E2C 40 82 00 10 */ bne lbl_80193EDC /* 80193ED0 00190E30 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 80193ED4 00190E34 EC 01 00 28 */ fsubs f0, f1, f0 /* 80193ED8 00190E38 48 00 00 08 */ b lbl_80193EE0 lbl_80193EDC: /* 80193EDC 00190E3C FC 00 08 90 */ fmr f0, f1 lbl_80193EE0: /* 80193EE0 00190E40 D0 1B 00 08 */ stfs f0, 8(r27) /* 80193EE4 00190E44 38 60 00 01 */ li r3, 1 /* 80193EE8 00190E48 80 1E 00 08 */ lwz r0, 8(r30) /* 80193EEC 00190E4C 7C 03 00 00 */ cmpw r3, r0 /* 80193EF0 00190E50 40 82 00 10 */ bne lbl_80193F00 /* 80193EF4 00190E54 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 80193EF8 00190E58 EC 01 00 28 */ fsubs f0, f1, f0 /* 80193EFC 00190E5C 48 00 00 08 */ b lbl_80193F04 lbl_80193F00: /* 80193F00 00190E60 C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) lbl_80193F04: /* 80193F04 00190E64 D0 1B 00 18 */ stfs f0, 0x18(r27) /* 80193F08 00190E68 38 60 00 02 */ li r3, 2 /* 80193F0C 00190E6C 80 1E 00 08 */ lwz r0, 8(r30) /* 80193F10 00190E70 7C 03 00 00 */ cmpw r3, r0 /* 80193F14 00190E74 40 82 00 10 */ bne lbl_80193F24 /* 80193F18 00190E78 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 80193F1C 00190E7C EC 01 00 28 */ fsubs f0, f1, f0 /* 80193F20 00190E80 48 00 00 08 */ b lbl_80193F28 lbl_80193F24: /* 80193F24 00190E84 C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) lbl_80193F28: /* 80193F28 00190E88 D0 1B 00 28 */ stfs f0, 0x28(r27) /* 80193F2C 00190E8C 38 60 00 03 */ li r3, 3 /* 80193F30 00190E90 80 1E 00 08 */ lwz r0, 8(r30) /* 80193F34 00190E94 7C 03 00 00 */ cmpw r3, r0 /* 80193F38 00190E98 40 82 00 10 */ bne lbl_80193F48 /* 80193F3C 00190E9C C0 1E 00 10 */ lfs f0, 0x10(r30) /* 80193F40 00190EA0 EC 01 00 28 */ fsubs f0, f1, f0 /* 80193F44 00190EA4 48 00 00 08 */ b lbl_80193F4C lbl_80193F48: /* 80193F48 00190EA8 C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) lbl_80193F4C: /* 80193F4C 00190EAC D0 1B 00 38 */ stfs f0, 0x38(r27) /* 80193F50 00190EB0 7F 44 D3 78 */ mr r4, r26 /* 80193F54 00190EB4 7F 25 CB 78 */ mr r5, r25 /* 80193F58 00190EB8 38 61 00 20 */ addi r3, r1, 0x20 /* 80193F5C 00190EBC 80 1E 00 08 */ lwz r0, 8(r30) /* 80193F60 00190EC0 54 06 20 36 */ slwi r6, r0, 4 /* 80193F64 00190EC4 38 06 00 08 */ addi r0, r6, 8 /* 80193F68 00190EC8 7C 3B 04 2E */ lfsx f1, r27, r0 /* 80193F6C 00190ECC 48 1C F3 41 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80193F70 00190ED0 80 7E 00 24 */ lwz r3, 0x24(r30) /* 80193F74 00190ED4 38 81 00 20 */ addi r4, r1, 0x20 /* 80193F78 00190ED8 48 13 68 F5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193F7C 00190EDC 48 00 01 18 */ b lbl_80194094 lbl_80193F80: /* 80193F80 00190EE0 C3 A2 A6 44 */ lfs f29, lbl_805AC364@sda21(r2) /* 80193F84 00190EE4 7F 7D DB 78 */ mr r29, r27 /* 80193F88 00190EE8 3A E0 00 00 */ li r23, 0 lbl_80193F8C: /* 80193F8C 00190EEC 80 1E 00 08 */ lwz r0, 8(r30) /* 80193F90 00190EF0 7C 17 00 00 */ cmpw r23, r0 /* 80193F94 00190EF4 40 82 00 0C */ bne lbl_80193FA0 /* 80193F98 00190EF8 7F 44 D3 78 */ mr r4, r26 /* 80193F9C 00190EFC 48 00 00 08 */ b lbl_80193FA4 lbl_80193FA0: /* 80193FA0 00190F00 7F 24 CB 78 */ mr r4, r25 lbl_80193FA4: /* 80193FA4 00190F04 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80193FA8 00190F08 82 DD 00 04 */ lwz r22, 4(r29) /* 80193FAC 00190F0C FC 1D 00 00 */ fcmpu cr0, f29, f0 /* 80193FB0 00190F10 40 82 00 14 */ bne lbl_80193FC4 /* 80193FB4 00190F14 38 00 00 00 */ li r0, 0 /* 80193FB8 00190F18 38 61 00 1C */ addi r3, r1, 0x1c /* 80193FBC 00190F1C 90 01 00 1C */ stw r0, 0x1c(r1) /* 80193FC0 00190F20 48 00 00 14 */ b lbl_80193FD4 lbl_80193FC4: /* 80193FC4 00190F24 7F 85 E3 78 */ mr r5, r28 /* 80193FC8 00190F28 38 61 00 18 */ addi r3, r1, 0x18 /* 80193FCC 00190F2C 48 1C F0 E5 */ bl Add__6CColorFRC6CColorRC6CColor /* 80193FD0 00190F30 38 61 00 18 */ addi r3, r1, 0x18 lbl_80193FD4: /* 80193FD4 00190F34 80 03 00 00 */ lwz r0, 0(r3) /* 80193FD8 00190F38 7E C3 B3 78 */ mr r3, r22 /* 80193FDC 00190F3C 38 81 00 50 */ addi r4, r1, 0x50 /* 80193FE0 00190F40 90 01 00 50 */ stw r0, 0x50(r1) /* 80193FE4 00190F44 48 13 68 89 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80193FE8 00190F48 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80193FEC 00190F4C 38 60 00 00 */ li r3, 0 /* 80193FF0 00190F50 FC 1D 00 00 */ fcmpu cr0, f29, f0 /* 80193FF4 00190F54 41 82 00 10 */ beq lbl_80194004 /* 80193FF8 00190F58 80 1E 00 08 */ lwz r0, 8(r30) /* 80193FFC 00190F5C 7C 17 00 00 */ cmpw r23, r0 /* 80194000 00190F60 40 82 00 08 */ bne lbl_80194008 lbl_80194004: /* 80194004 00190F64 38 60 00 01 */ li r3, 1 lbl_80194008: /* 80194008 00190F68 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8019400C 00190F6C 41 82 00 0C */ beq lbl_80194018 /* 80194010 00190F70 7F 03 C3 78 */ mr r3, r24 /* 80194014 00190F74 48 00 00 08 */ b lbl_8019401C lbl_80194018: /* 80194018 00190F78 7F 23 CB 78 */ mr r3, r25 lbl_8019401C: /* 8019401C 00190F7C 80 03 00 00 */ lwz r0, 0(r3) /* 80194020 00190F80 38 81 00 4C */ addi r4, r1, 0x4c /* 80194024 00190F84 90 01 00 4C */ stw r0, 0x4c(r1) /* 80194028 00190F88 80 7D 00 00 */ lwz r3, 0(r29) /* 8019402C 00190F8C 48 13 68 41 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80194030 00190F90 80 1E 00 08 */ lwz r0, 8(r30) /* 80194034 00190F94 7C 17 00 00 */ cmpw r23, r0 /* 80194038 00190F98 40 82 00 14 */ bne lbl_8019404C /* 8019403C 00190F9C C0 22 A6 40 */ lfs f1, lbl_805AC360@sda21(r2) /* 80194040 00190FA0 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 80194044 00190FA4 EC 01 00 28 */ fsubs f0, f1, f0 /* 80194048 00190FA8 48 00 00 08 */ b lbl_80194050 lbl_8019404C: /* 8019404C 00190FAC C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) lbl_80194050: /* 80194050 00190FB0 3A F7 00 01 */ addi r23, r23, 1 /* 80194054 00190FB4 D0 1D 00 08 */ stfs f0, 8(r29) /* 80194058 00190FB8 2C 17 00 04 */ cmpwi r23, 4 /* 8019405C 00190FBC 3B BD 00 10 */ addi r29, r29, 0x10 /* 80194060 00190FC0 3B 9C 00 04 */ addi r28, r28, 4 /* 80194064 00190FC4 41 80 FF 28 */ blt lbl_80193F8C /* 80194068 00190FC8 80 1E 00 08 */ lwz r0, 8(r30) /* 8019406C 00190FCC 7F 44 D3 78 */ mr r4, r26 /* 80194070 00190FD0 7F 25 CB 78 */ mr r5, r25 /* 80194074 00190FD4 38 61 00 14 */ addi r3, r1, 0x14 /* 80194078 00190FD8 54 06 20 36 */ slwi r6, r0, 4 /* 8019407C 00190FDC 38 06 00 08 */ addi r0, r6, 8 /* 80194080 00190FE0 7C 3B 04 2E */ lfsx f1, r27, r0 /* 80194084 00190FE4 48 1C F2 29 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80194088 00190FE8 80 7E 00 24 */ lwz r3, 0x24(r30) /* 8019408C 00190FEC 38 81 00 14 */ addi r4, r1, 0x14 /* 80194090 00190FF0 48 13 67 DD */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80194094: /* 80194094 00190FF4 C0 3E 00 78 */ lfs f1, 0x78(r30) /* 80194098 00190FF8 C0 02 A6 44 */ lfs f0, lbl_805AC364@sda21(r2) /* 8019409C 00190FFC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801940A0 00191000 40 81 00 64 */ ble lbl_80194104 /* 801940A4 00191004 EC 21 F0 28 */ fsubs f1, f1, f30 /* 801940A8 00191008 C0 0D 8F 9C */ lfs f0, lbl_805A7B5C@sda21(r13) /* 801940AC 0019100C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801940B0 00191010 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801940B4 00191014 40 80 00 0C */ bge lbl_801940C0 /* 801940B8 00191018 38 61 00 10 */ addi r3, r1, 0x10 /* 801940BC 0019101C 48 00 00 08 */ b lbl_801940C4 lbl_801940C0: /* 801940C0 00191020 38 6D 8F 9C */ addi r3, r13, lbl_805A7B5C@sda21 lbl_801940C4: /* 801940C4 00191024 C0 03 00 00 */ lfs f0, 0(r3) /* 801940C8 00191028 D0 1E 00 78 */ stfs f0, 0x78(r30) /* 801940CC 0019102C C0 3E 00 78 */ lfs f1, 0x78(r30) /* 801940D0 00191030 C0 1E 00 7C */ lfs f0, 0x7c(r30) /* 801940D4 00191034 EF 81 00 24 */ fdivs f28, f1, f0 /* 801940D8 00191038 48 1B 5E D5 */ bl White__6CColorFv /* 801940DC 0019103C C0 02 A6 54 */ lfs f0, lbl_805AC374@sda21(r2) /* 801940E0 00191040 EF E0 07 32 */ fmuls f31, f0, f28 /* 801940E4 00191044 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 801940E8 00191048 38 81 00 0C */ addi r4, r1, 0xc /* 801940EC 0019104C 80 63 00 00 */ lwz r3, 0(r3) /* 801940F0 00191050 88 01 00 08 */ lbz r0, 8(r1) /* 801940F4 00191054 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801940F8 00191058 90 01 00 0C */ stw r0, 0xc(r1) /* 801940FC 0019105C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80194100 00191060 48 13 67 6D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80194104: /* 80194104 00191064 88 1E 00 14 */ lbz r0, 0x14(r30) /* 80194108 00191068 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8019410C 0019106C 40 82 00 0C */ bne lbl_80194118 /* 80194110 00191070 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80194114 00191074 41 82 00 5C */ beq lbl_80194170 lbl_80194118: /* 80194118 00191078 88 1E 00 14 */ lbz r0, 0x14(r30) /* 8019411C 0019107C 38 60 00 00 */ li r3, 0 /* 80194120 00191080 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80194124 00191084 7F 76 DB 78 */ mr r22, r27 /* 80194128 00191088 98 1E 00 14 */ stb r0, 0x14(r30) /* 8019412C 0019108C 3A E0 00 00 */ li r23, 0 lbl_80194130: /* 80194130 00191090 80 B6 00 04 */ lwz r5, 4(r22) /* 80194134 00191094 7F C3 F3 78 */ mr r3, r30 /* 80194138 00191098 C0 36 00 08 */ lfs f1, 8(r22) /* 8019413C 0019109C 7E E4 BB 78 */ mr r4, r23 /* 80194140 001910A0 4B FF F6 79 */ bl UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf /* 80194144 001910A4 3A F7 00 01 */ addi r23, r23, 1 /* 80194148 001910A8 3A D6 00 10 */ addi r22, r22, 0x10 /* 8019414C 001910AC 2C 17 00 04 */ cmpwi r23, 4 /* 80194150 001910B0 41 80 FF E0 */ blt lbl_80194130 /* 80194154 001910B4 80 9E 00 08 */ lwz r4, 8(r30) /* 80194158 001910B8 7F C3 F3 78 */ mr r3, r30 /* 8019415C 001910BC 80 BE 00 24 */ lwz r5, 0x24(r30) /* 80194160 001910C0 54 80 20 36 */ slwi r0, r4, 4 /* 80194164 001910C4 7C DB 02 14 */ add r6, r27, r0 /* 80194168 001910C8 C0 26 00 08 */ lfs f1, 8(r6) /* 8019416C 001910CC 4B FF F6 4D */ bl UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf lbl_80194170: /* 80194170 001910D0 88 7E 00 14 */ lbz r3, 0x14(r30) /* 80194174 001910D4 38 80 00 00 */ li r4, 0 /* 80194178 001910D8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 8019417C 001910DC 41 82 00 10 */ beq lbl_8019418C /* 80194180 001910E0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 80194184 001910E4 41 82 00 08 */ beq lbl_8019418C /* 80194188 001910E8 38 80 00 01 */ li r4, 1 lbl_8019418C: /* 8019418C 001910EC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80194190 001910F0 40 82 00 5C */ bne lbl_801941EC /* 80194194 001910F4 80 A1 00 7C */ lwz r5, 0x7c(r1) /* 80194198 001910F8 38 60 00 00 */ li r3, 0 /* 8019419C 001910FC 2C 05 00 00 */ cmpwi r5, 0 /* 801941A0 00191100 40 81 00 40 */ ble lbl_801941E0 /* 801941A4 00191104 2C 05 00 08 */ cmpwi r5, 8 /* 801941A8 00191108 38 85 FF F8 */ addi r4, r5, -8 /* 801941AC 0019110C 40 81 00 20 */ ble lbl_801941CC /* 801941B0 00191110 38 04 00 07 */ addi r0, r4, 7 /* 801941B4 00191114 54 00 E8 FE */ srwi r0, r0, 3 /* 801941B8 00191118 7C 09 03 A6 */ mtctr r0 /* 801941BC 0019111C 2C 04 00 00 */ cmpwi r4, 0 /* 801941C0 00191120 40 81 00 0C */ ble lbl_801941CC lbl_801941C4: /* 801941C4 00191124 38 63 00 08 */ addi r3, r3, 8 /* 801941C8 00191128 42 00 FF FC */ bdnz lbl_801941C4 lbl_801941CC: /* 801941CC 0019112C 7C 03 28 50 */ subf r0, r3, r5 /* 801941D0 00191130 7C 09 03 A6 */ mtctr r0 /* 801941D4 00191134 7C 03 28 00 */ cmpw r3, r5 /* 801941D8 00191138 40 80 00 08 */ bge lbl_801941E0 lbl_801941DC: /* 801941DC 0019113C 42 00 00 00 */ bdnz lbl_801941DC lbl_801941E0: /* 801941E0 00191140 38 00 00 00 */ li r0, 0 /* 801941E4 00191144 90 01 00 7C */ stw r0, 0x7c(r1) /* 801941E8 00191148 48 00 00 BC */ b lbl_801942A4 lbl_801941EC: /* 801941EC 0019114C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 801941F0 00191150 88 03 00 AB */ lbz r0, 0xab(r3) /* 801941F4 00191154 28 00 00 00 */ cmplwi r0, 0 /* 801941F8 00191158 41 82 00 14 */ beq lbl_8019420C /* 801941FC 0019115C 38 80 00 01 */ li r4, 1 /* 80194200 00191160 38 A0 00 01 */ li r5, 1 /* 80194204 00191164 48 13 64 E5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80194208 00191168 48 00 00 10 */ b lbl_80194218 lbl_8019420C: /* 8019420C 0019116C 38 80 00 00 */ li r4, 0 /* 80194210 00191170 38 A0 00 01 */ li r5, 1 /* 80194214 00191174 48 13 64 D5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode lbl_80194218: /* 80194218 00191178 3A C0 00 00 */ li r22, 0 lbl_8019421C: /* 8019421C 0019117C 80 7B 00 04 */ lwz r3, 4(r27) /* 80194220 00191180 88 03 00 AB */ lbz r0, 0xab(r3) /* 80194224 00191184 28 00 00 00 */ cmplwi r0, 0 /* 80194228 00191188 41 82 00 10 */ beq lbl_80194238 /* 8019422C 0019118C 38 80 00 01 */ li r4, 1 /* 80194230 00191190 48 13 63 FD */ bl SetIsVisible__10CGuiWidgetFb /* 80194234 00191194 48 00 00 0C */ b lbl_80194240 lbl_80194238: /* 80194238 00191198 38 80 00 00 */ li r4, 0 /* 8019423C 0019119C 48 13 63 F1 */ bl SetIsVisible__10CGuiWidgetFb lbl_80194240: /* 80194240 001911A0 3A D6 00 01 */ addi r22, r22, 1 /* 80194244 001911A4 3B 7B 00 10 */ addi r27, r27, 0x10 /* 80194248 001911A8 2C 16 00 04 */ cmpwi r22, 4 /* 8019424C 001911AC 41 80 FF D0 */ blt lbl_8019421C /* 80194250 001911B0 80 A1 00 7C */ lwz r5, 0x7c(r1) /* 80194254 001911B4 38 60 00 00 */ li r3, 0 /* 80194258 001911B8 2C 05 00 00 */ cmpwi r5, 0 /* 8019425C 001911BC 40 81 00 40 */ ble lbl_8019429C /* 80194260 001911C0 2C 05 00 08 */ cmpwi r5, 8 /* 80194264 001911C4 38 85 FF F8 */ addi r4, r5, -8 /* 80194268 001911C8 40 81 00 20 */ ble lbl_80194288 /* 8019426C 001911CC 38 04 00 07 */ addi r0, r4, 7 /* 80194270 001911D0 54 00 E8 FE */ srwi r0, r0, 3 /* 80194274 001911D4 7C 09 03 A6 */ mtctr r0 /* 80194278 001911D8 2C 04 00 00 */ cmpwi r4, 0 /* 8019427C 001911DC 40 81 00 0C */ ble lbl_80194288 lbl_80194280: /* 80194280 001911E0 38 63 00 08 */ addi r3, r3, 8 /* 80194284 001911E4 42 00 FF FC */ bdnz lbl_80194280 lbl_80194288: /* 80194288 001911E8 7C 03 28 50 */ subf r0, r3, r5 /* 8019428C 001911EC 7C 09 03 A6 */ mtctr r0 /* 80194290 001911F0 7C 03 28 00 */ cmpw r3, r5 /* 80194294 001911F4 40 80 00 08 */ bge lbl_8019429C lbl_80194298: /* 80194298 001911F8 42 00 00 00 */ bdnz lbl_80194298 lbl_8019429C: /* 8019429C 001911FC 38 00 00 00 */ li r0, 0 /* 801942A0 00191200 90 01 00 7C */ stw r0, 0x7c(r1) lbl_801942A4: /* 801942A4 00191204 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 801942A8 00191208 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 801942AC 0019120C E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 /* 801942B0 00191210 CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 801942B4 00191214 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 /* 801942B8 00191218 CB A1 00 D0 */ lfd f29, 0xd0(r1) /* 801942BC 0019121C E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 /* 801942C0 00191220 CB 81 00 C0 */ lfd f28, 0xc0(r1) /* 801942C4 00191224 BA C1 00 98 */ lmw r22, 0x98(r1) /* 801942C8 00191228 80 01 01 04 */ lwz r0, 0x104(r1) /* 801942CC 0019122C 7C 08 03 A6 */ mtlr r0 /* 801942D0 00191230 38 21 01 00 */ addi r1, r1, 0x100 /* 801942D4 00191234 4E 80 00 20 */ blr .global UpdateHudAlpha__17CHudVisorBeamMenuFf UpdateHudAlpha__17CHudVisorBeamMenuFf: /* 801942D8 00191238 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801942DC 0019123C 7C 08 02 A6 */ mflr r0 /* 801942E0 00191240 90 01 00 54 */ stw r0, 0x54(r1) /* 801942E4 00191244 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801942E8 00191248 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801942EC 0019124C DB C1 00 30 */ stfd f30, 0x30(r1) /* 801942F0 00191250 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801942F4 00191254 DB A1 00 20 */ stfd f29, 0x20(r1) /* 801942F8 00191258 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 /* 801942FC 0019125C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80194300 00191260 FF A0 08 90 */ fmr f29, f1 /* 80194304 00191264 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 80194308 00191268 7C 7F 1B 78 */ mr r31, r3 /* 8019430C 0019126C 38 64 01 7C */ addi r3, r4, 0x17c /* 80194310 00191270 48 07 AA 65 */ bl GetHudAlpha__12CGameOptionsCFv /* 80194314 00191274 FF E0 08 90 */ fmr f31, f1 /* 80194318 00191278 48 1B 5C 95 */ bl White__6CColorFv /* 8019431C 0019127C EC 1D 07 F2 */ fmuls f0, f29, f31 /* 80194320 00191280 C0 22 A6 54 */ lfs f1, lbl_805AC374@sda21(r2) /* 80194324 00191284 EF C1 00 32 */ fmuls f30, f1, f0 /* 80194328 00191288 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 8019432C 0019128C 38 81 00 0C */ addi r4, r1, 0xc /* 80194330 00191290 80 63 00 00 */ lwz r3, 0(r3) /* 80194334 00191294 88 01 00 08 */ lbz r0, 8(r1) /* 80194338 00191298 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 8019433C 0019129C 90 01 00 0C */ stw r0, 0xc(r1) /* 80194340 001912A0 80 7F 00 18 */ lwz r3, 0x18(r31) /* 80194344 001912A4 48 13 65 29 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80194348 001912A8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8019434C 001912AC CB E1 00 40 */ lfd f31, 0x40(r1) /* 80194350 001912B0 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 80194354 001912B4 CB C1 00 30 */ lfd f30, 0x30(r1) /* 80194358 001912B8 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 /* 8019435C 001912BC CB A1 00 20 */ lfd f29, 0x20(r1) /* 80194360 001912C0 80 01 00 54 */ lwz r0, 0x54(r1) /* 80194364 001912C4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80194368 001912C8 7C 08 03 A6 */ mtlr r0 /* 8019436C 001912CC 38 21 00 50 */ addi r1, r1, 0x50 /* 80194370 001912D0 4E 80 00 20 */ blr .global "SetPlayerHas__17CHudVisorBeamMenuFRCQ24rstl20reserved_vector" "SetPlayerHas__17CHudVisorBeamMenuFRCQ24rstl20reserved_vector": /* 80194374 001912D4 C0 42 A6 44 */ lfs f2, lbl_805AC364@sda21(r2) /* 80194378 001912D8 C0 23 00 38 */ lfs f1, 0x38(r3) /* 8019437C 001912DC C0 02 A6 58 */ lfs f0, lbl_805AC378@sda21(r2) /* 80194380 001912E0 FC 02 08 00 */ fcmpu cr0, f2, f1 /* 80194384 001912E4 40 82 00 14 */ bne lbl_80194398 /* 80194388 001912E8 88 04 00 04 */ lbz r0, 4(r4) /* 8019438C 001912EC 28 00 00 00 */ cmplwi r0, 0 /* 80194390 001912F0 41 82 00 08 */ beq lbl_80194398 /* 80194394 001912F4 D0 03 00 38 */ stfs f0, 0x38(r3) lbl_80194398: /* 80194398 001912F8 C0 23 00 48 */ lfs f1, 0x48(r3) /* 8019439C 001912FC FC 02 08 00 */ fcmpu cr0, f2, f1 /* 801943A0 00191300 40 82 00 14 */ bne lbl_801943B4 /* 801943A4 00191304 88 04 00 05 */ lbz r0, 5(r4) /* 801943A8 00191308 28 00 00 00 */ cmplwi r0, 0 /* 801943AC 0019130C 41 82 00 08 */ beq lbl_801943B4 /* 801943B0 00191310 D0 03 00 48 */ stfs f0, 0x48(r3) lbl_801943B4: /* 801943B4 00191314 C0 23 00 58 */ lfs f1, 0x58(r3) /* 801943B8 00191318 FC 02 08 00 */ fcmpu cr0, f2, f1 /* 801943BC 0019131C 40 82 00 14 */ bne lbl_801943D0 /* 801943C0 00191320 88 04 00 06 */ lbz r0, 6(r4) /* 801943C4 00191324 28 00 00 00 */ cmplwi r0, 0 /* 801943C8 00191328 41 82 00 08 */ beq lbl_801943D0 /* 801943CC 0019132C D0 03 00 58 */ stfs f0, 0x58(r3) lbl_801943D0: /* 801943D0 00191330 C0 23 00 68 */ lfs f1, 0x68(r3) /* 801943D4 00191334 FC 02 08 00 */ fcmpu cr0, f2, f1 /* 801943D8 00191338 4C 82 00 20 */ bnelr /* 801943DC 0019133C 88 04 00 07 */ lbz r0, 7(r4) /* 801943E0 00191340 28 00 00 00 */ cmplwi r0, 0 /* 801943E4 00191344 4D 82 00 20 */ beqlr /* 801943E8 00191348 D0 03 00 68 */ stfs f0, 0x68(r3) /* 801943EC 0019134C 4E 80 00 20 */ blr .global SetSelection__17CHudVisorBeamMenuFiif SetSelection__17CHudVisorBeamMenuFiif: /* 801943F0 00191350 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801943F4 00191354 7C 08 02 A6 */ mflr r0 /* 801943F8 00191358 90 01 00 44 */ stw r0, 0x44(r1) /* 801943FC 0019135C DB E1 00 30 */ stfd f31, 0x30(r1) /* 80194400 00191360 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 80194404 00191364 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80194408 00191368 93 C1 00 28 */ stw r30, 0x28(r1) /* 8019440C 0019136C 93 A1 00 24 */ stw r29, 0x24(r1) /* 80194410 00191370 7C 7D 1B 78 */ mr r29, r3 /* 80194414 00191374 7C 9E 23 78 */ mr r30, r4 /* 80194418 00191378 80 03 00 08 */ lwz r0, 8(r3) /* 8019441C 0019137C FF E0 08 90 */ fmr f31, f1 /* 80194420 00191380 7C BF 2B 78 */ mr r31, r5 /* 80194424 00191384 7C 00 F0 00 */ cmpw r0, r30 /* 80194428 00191388 40 82 00 1C */ bne lbl_80194444 /* 8019442C 0019138C 80 1D 00 0C */ lwz r0, 0xc(r29) /* 80194430 00191390 7C 00 F8 00 */ cmpw r0, r31 /* 80194434 00191394 40 82 00 10 */ bne lbl_80194444 /* 80194438 00191398 C0 1D 00 10 */ lfs f0, 0x10(r29) /* 8019443C 0019139C FC 1F 00 00 */ fcmpu cr0, f31, f0 /* 80194440 001913A0 41 82 01 0C */ beq lbl_8019454C lbl_80194444: /* 80194444 001913A4 7C 1F F0 00 */ cmpw r31, r30 /* 80194448 001913A8 41 82 00 4C */ beq lbl_80194494 /* 8019444C 001913AC 80 1D 00 6C */ lwz r0, 0x6c(r29) /* 80194450 001913B0 2C 00 00 02 */ cmpwi r0, 2 /* 80194454 001913B4 41 82 00 34 */ beq lbl_80194488 /* 80194458 001913B8 80 1D 00 04 */ lwz r0, 4(r29) /* 8019445C 001913BC 38 82 A6 3C */ addi r4, r2, lbl_805AC35C@sda21 /* 80194460 001913C0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80194464 001913C4 38 61 00 08 */ addi r3, r1, 8 /* 80194468 001913C8 54 00 08 3C */ slwi r0, r0, 1 /* 8019446C 001913CC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80194470 001913D0 7C 84 02 2E */ lhzx r4, r4, r0 /* 80194474 001913D4 38 A0 00 7F */ li r5, 0x7f /* 80194478 001913D8 38 C0 00 40 */ li r6, 0x40 /* 8019447C 001913DC 38 E0 00 00 */ li r7, 0 /* 80194480 001913E0 39 20 00 00 */ li r9, 0 /* 80194484 001913E4 48 15 58 F1 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_80194488: /* 80194488 001913E8 38 00 00 02 */ li r0, 2 /* 8019448C 001913EC 90 1D 00 6C */ stw r0, 0x6c(r29) /* 80194490 001913F0 48 00 00 A0 */ b lbl_80194530 lbl_80194494: /* 80194494 001913F4 C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) /* 80194498 001913F8 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8019449C 001913FC 40 80 00 78 */ bge lbl_80194514 /* 801944A0 00191400 38 00 00 03 */ li r0, 3 /* 801944A4 00191404 3C 60 80 3D */ lis r3, lbl_803D0E38@ha /* 801944A8 00191408 90 1D 00 6C */ stw r0, 0x6c(r29) /* 801944AC 0019140C 38 83 0E 38 */ addi r4, r3, lbl_803D0E38@l /* 801944B0 00191410 80 7D 00 04 */ lwz r3, 4(r29) /* 801944B4 00191414 80 1D 00 08 */ lwz r0, 8(r29) /* 801944B8 00191418 54 65 20 36 */ slwi r5, r3, 4 /* 801944BC 0019141C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 801944C0 00191420 7C 84 2A 14 */ add r4, r4, r5 /* 801944C4 00191424 54 00 10 3A */ slwi r0, r0, 2 /* 801944C8 00191428 7C 84 00 2E */ lwzx r4, r4, r0 /* 801944CC 0019142C 48 1C 22 31 */ bl GetString__12CStringTableCFi /* 801944D0 00191430 7C 64 1B 78 */ mr r4, r3 /* 801944D4 00191434 38 61 00 0C */ addi r3, r1, 0xc /* 801944D8 00191438 4B E8 15 19 */ bl wstring_l__4rstlFPCw /* 801944DC 0019143C 80 7D 00 20 */ lwz r3, 0x20(r29) /* 801944E0 00191440 38 81 00 0C */ addi r4, r1, 0xc /* 801944E4 00191444 38 A0 00 00 */ li r5, 0 /* 801944E8 00191448 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801944EC 0019144C 48 13 53 99 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801944F0 00191450 38 61 00 0C */ addi r3, r1, 0xc /* 801944F4 00191454 48 1A 8C 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801944F8 00191458 80 7D 00 20 */ lwz r3, 0x20(r29) /* 801944FC 0019145C 38 80 00 01 */ li r4, 1 /* 80194500 00191460 C0 22 A6 5C */ lfs f1, lbl_805AC37C@sda21(r2) /* 80194504 00191464 C0 42 A6 60 */ lfs f2, lbl_805AC380@sda21(r2) /* 80194508 00191468 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8019450C 0019146C 48 13 3C 0D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 80194510 00191470 48 00 00 20 */ b lbl_80194530 lbl_80194514: /* 80194514 00191474 80 1D 00 6C */ lwz r0, 0x6c(r29) /* 80194518 00191478 2C 00 00 01 */ cmpwi r0, 1 /* 8019451C 0019147C 41 82 00 0C */ beq lbl_80194528 /* 80194520 00191480 C0 1D 00 7C */ lfs f0, 0x7c(r29) /* 80194524 00191484 D0 1D 00 78 */ stfs f0, 0x78(r29) lbl_80194528: /* 80194528 00191488 38 00 00 01 */ li r0, 1 /* 8019452C 0019148C 90 1D 00 6C */ stw r0, 0x6c(r29) lbl_80194530: /* 80194530 00191490 88 1D 00 14 */ lbz r0, 0x14(r29) /* 80194534 00191494 38 60 00 01 */ li r3, 1 /* 80194538 00191498 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8019453C 0019149C 98 1D 00 14 */ stb r0, 0x14(r29) /* 80194540 001914A0 93 DD 00 08 */ stw r30, 8(r29) /* 80194544 001914A4 93 FD 00 0C */ stw r31, 0xc(r29) /* 80194548 001914A8 D3 FD 00 10 */ stfs f31, 0x10(r29) lbl_8019454C: /* 8019454C 001914AC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80194550 001914B0 80 01 00 44 */ lwz r0, 0x44(r1) /* 80194554 001914B4 CB E1 00 30 */ lfd f31, 0x30(r1) /* 80194558 001914B8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8019455C 001914BC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80194560 001914C0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80194564 001914C4 7C 08 03 A6 */ mtlr r0 /* 80194568 001914C8 38 21 00 40 */ addi r1, r1, 0x40 /* 8019456C 001914CC 4E 80 00 20 */ blr .global "__ct__17CHudVisorBeamMenuFR9CGuiFrameQ217CHudVisorBeamMenu14EVisorBeamMenuRCQ24rstl20reserved_vector" "__ct__17CHudVisorBeamMenuFR9CGuiFrameQ217CHudVisorBeamMenu14EVisorBeamMenuRCQ24rstl20reserved_vector": /* 80194570 001914D0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80194574 001914D4 7C 08 02 A6 */ mflr r0 /* 80194578 001914D8 90 01 00 64 */ stw r0, 0x64(r1) /* 8019457C 001914DC DB E1 00 50 */ stfd f31, 0x50(r1) /* 80194580 001914E0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80194584 001914E4 BE E1 00 2C */ stmw r23, 0x2c(r1) /* 80194588 001914E8 7C 9D 23 78 */ mr r29, r4 /* 8019458C 001914EC 7C 7C 1B 78 */ mr r28, r3 /* 80194590 001914F0 93 A3 00 00 */ stw r29, 0(r3) /* 80194594 001914F4 38 E0 00 00 */ li r7, 0 /* 80194598 001914F8 C0 22 A6 40 */ lfs f1, lbl_805AC360@sda21(r2) /* 8019459C 001914FC 38 80 00 01 */ li r4, 1 /* 801945A0 00191500 90 A3 00 04 */ stw r5, 4(r3) /* 801945A4 00191504 35 1C 00 2C */ addic. r8, r28, 0x2c /* 801945A8 00191508 38 00 00 04 */ li r0, 4 /* 801945AC 0019150C C0 02 A6 44 */ lfs f0, lbl_805AC364@sda21(r2) /* 801945B0 00191510 90 E3 00 08 */ stw r7, 8(r3) /* 801945B4 00191514 7C DE 33 78 */ mr r30, r6 /* 801945B8 00191518 90 E3 00 0C */ stw r7, 0xc(r3) /* 801945BC 0019151C D0 23 00 10 */ stfs f1, 0x10(r3) /* 801945C0 00191520 88 63 00 14 */ lbz r3, 0x14(r3) /* 801945C4 00191524 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 /* 801945C8 00191528 98 7C 00 14 */ stb r3, 0x14(r28) /* 801945CC 0019152C 88 7C 00 14 */ lbz r3, 0x14(r28) /* 801945D0 00191530 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 /* 801945D4 00191534 98 7C 00 14 */ stb r3, 0x14(r28) /* 801945D8 00191538 88 7C 00 14 */ lbz r3, 0x14(r28) /* 801945DC 0019153C 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a /* 801945E0 00191540 98 7C 00 14 */ stb r3, 0x14(r28) /* 801945E4 00191544 90 1C 00 28 */ stw r0, 0x28(r28) /* 801945E8 00191548 41 82 00 14 */ beq lbl_801945FC /* 801945EC 0019154C 90 E8 00 00 */ stw r7, 0(r8) /* 801945F0 00191550 90 E8 00 04 */ stw r7, 4(r8) /* 801945F4 00191554 D0 08 00 08 */ stfs f0, 8(r8) /* 801945F8 00191558 D0 08 00 0C */ stfs f0, 0xc(r8) lbl_801945FC: /* 801945FC 0019155C 35 08 00 10 */ addic. r8, r8, 0x10 /* 80194600 00191560 41 82 00 14 */ beq lbl_80194614 /* 80194604 00191564 90 E8 00 00 */ stw r7, 0(r8) /* 80194608 00191568 90 E8 00 04 */ stw r7, 4(r8) /* 8019460C 0019156C D0 08 00 08 */ stfs f0, 8(r8) /* 80194610 00191570 D0 08 00 0C */ stfs f0, 0xc(r8) lbl_80194614: /* 80194614 00191574 35 08 00 10 */ addic. r8, r8, 0x10 /* 80194618 00191578 41 82 00 14 */ beq lbl_8019462C /* 8019461C 0019157C 90 E8 00 00 */ stw r7, 0(r8) /* 80194620 00191580 90 E8 00 04 */ stw r7, 4(r8) /* 80194624 00191584 D0 08 00 08 */ stfs f0, 8(r8) /* 80194628 00191588 D0 08 00 0C */ stfs f0, 0xc(r8) lbl_8019462C: /* 8019462C 0019158C 35 08 00 10 */ addic. r8, r8, 0x10 /* 80194630 00191590 41 82 00 14 */ beq lbl_80194644 /* 80194634 00191594 90 E8 00 00 */ stw r7, 0(r8) /* 80194638 00191598 90 E8 00 04 */ stw r7, 4(r8) /* 8019463C 0019159C D0 08 00 08 */ stfs f0, 8(r8) /* 80194640 001915A0 D0 08 00 0C */ stfs f0, 0xc(r8) lbl_80194644: /* 80194644 001915A4 38 00 00 01 */ li r0, 1 /* 80194648 001915A8 C0 22 A6 58 */ lfs f1, lbl_805AC378@sda21(r2) /* 8019464C 001915AC 90 1C 00 6C */ stw r0, 0x6c(r28) /* 80194650 001915B0 C0 02 A6 44 */ lfs f0, lbl_805AC364@sda21(r2) /* 80194654 001915B4 D0 3C 00 70 */ stfs f1, 0x70(r28) /* 80194658 001915B8 D0 3C 00 74 */ stfs f1, 0x74(r28) /* 8019465C 001915BC D0 1C 00 78 */ stfs f0, 0x78(r28) /* 80194660 001915C0 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80194664 001915C4 C0 03 00 C0 */ lfs f0, 0xc0(r3) /* 80194668 001915C8 D0 1C 00 7C */ stfs f0, 0x7c(r28) /* 8019466C 001915CC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80194670 001915D0 88 1C 00 80 */ lbz r0, 0x80(r28) /* 80194674 001915D4 88 63 01 E4 */ lbz r3, 0x1e4(r3) /* 80194678 001915D8 50 60 1E 30 */ rlwimi r0, r3, 3, 0x18, 0x18 /* 8019467C 001915DC 98 1C 00 80 */ stb r0, 0x80(r28) /* 80194680 001915E0 88 1C 00 80 */ lbz r0, 0x80(r28) /* 80194684 001915E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80194688 001915E8 41 82 00 10 */ beq lbl_80194698 /* 8019468C 001915EC 80 1C 00 04 */ lwz r0, 4(r28) /* 80194690 001915F0 20 00 00 01 */ subfic r0, r0, 1 /* 80194694 001915F4 48 00 00 08 */ b lbl_8019469C lbl_80194698: /* 80194698 001915F8 80 1C 00 04 */ lwz r0, 4(r28) lbl_8019469C: /* 8019469C 001915FC 54 00 10 3A */ slwi r0, r0, 2 /* 801946A0 00191600 38 62 A6 08 */ addi r3, r2, lbl_805AC328@sda21 /* 801946A4 00191604 7C 83 00 2E */ lwzx r4, r3, r0 /* 801946A8 00191608 7F A3 EB 78 */ mr r3, r29 /* 801946AC 0019160C 48 12 DA A9 */ bl FindWidget__9CGuiFrameCFPCc /* 801946B0 00191610 90 7C 00 20 */ stw r3, 0x20(r28) /* 801946B4 00191614 88 1C 00 80 */ lbz r0, 0x80(r28) /* 801946B8 00191618 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801946BC 0019161C 41 82 00 10 */ beq lbl_801946CC /* 801946C0 00191620 80 1C 00 04 */ lwz r0, 4(r28) /* 801946C4 00191624 20 00 00 01 */ subfic r0, r0, 1 /* 801946C8 00191628 48 00 00 08 */ b lbl_801946D0 lbl_801946CC: /* 801946CC 0019162C 80 1C 00 04 */ lwz r0, 4(r28) lbl_801946D0: /* 801946D0 00191630 54 00 10 3A */ slwi r0, r0, 2 /* 801946D4 00191634 38 62 A6 10 */ addi r3, r2, lbl_805AC330@sda21 /* 801946D8 00191638 7C 83 00 2E */ lwzx r4, r3, r0 /* 801946DC 0019163C 7F A3 EB 78 */ mr r3, r29 /* 801946E0 00191640 48 12 DA 75 */ bl FindWidget__9CGuiFrameCFPCc /* 801946E4 00191644 90 7C 00 1C */ stw r3, 0x1c(r28) /* 801946E8 00191648 88 1C 00 80 */ lbz r0, 0x80(r28) /* 801946EC 0019164C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801946F0 00191650 41 82 00 10 */ beq lbl_80194700 /* 801946F4 00191654 80 1C 00 04 */ lwz r0, 4(r28) /* 801946F8 00191658 20 00 00 01 */ subfic r0, r0, 1 /* 801946FC 0019165C 48 00 00 08 */ b lbl_80194704 lbl_80194700: /* 80194700 00191660 80 1C 00 04 */ lwz r0, 4(r28) lbl_80194704: /* 80194704 00191664 54 00 10 3A */ slwi r0, r0, 2 /* 80194708 00191668 38 62 A6 00 */ addi r3, r2, lbl_805AC320@sda21 /* 8019470C 0019166C 7C 83 00 2E */ lwzx r4, r3, r0 /* 80194710 00191670 7F A3 EB 78 */ mr r3, r29 /* 80194714 00191674 48 12 DA 41 */ bl FindWidget__9CGuiFrameCFPCc /* 80194718 00191678 90 7C 00 18 */ stw r3, 0x18(r28) /* 8019471C 0019167C 3C 60 80 3D */ lis r3, lbl_803D0E58@ha /* 80194720 00191680 38 63 0E 58 */ addi r3, r3, lbl_803D0E58@l /* 80194724 00191684 80 1C 00 04 */ lwz r0, 4(r28) /* 80194728 00191688 38 63 00 A7 */ addi r3, r3, 0xa7 /* 8019472C 0019168C 2C 00 00 00 */ cmpwi r0, 0 /* 80194730 00191690 40 82 00 0C */ bne lbl_8019473C /* 80194734 00191694 80 82 A6 18 */ lwz r4, lbl_805AC338@sda21(r2) /* 80194738 00191698 48 00 00 08 */ b lbl_80194740 lbl_8019473C: /* 8019473C 0019169C 80 82 A6 1C */ lwz r4, lbl_805AC33C@sda21(r2) lbl_80194740: /* 80194740 001916A0 80 A2 A6 28 */ lwz r5, lbl_805AC348@sda21(r2) /* 80194744 001916A4 4C C6 31 82 */ crclr 6 /* 80194748 001916A8 48 14 1A 69 */ bl Stringize__7CBasicsFPCce /* 8019474C 001916AC 7C 60 1B 78 */ mr r0, r3 /* 80194750 001916B0 7F A3 EB 78 */ mr r3, r29 /* 80194754 001916B4 7C 04 03 78 */ mr r4, r0 /* 80194758 001916B8 48 12 D9 FD */ bl FindWidget__9CGuiFrameCFPCc /* 8019475C 001916BC 3C 80 80 3D */ lis r4, lbl_803D0E58@ha /* 80194760 001916C0 90 7C 00 24 */ stw r3, 0x24(r28) /* 80194764 001916C4 3B 44 0E 58 */ addi r26, r4, lbl_803D0E58@l /* 80194768 001916C8 3B E0 00 00 */ li r31, 0 /* 8019476C 001916CC 3A E0 00 00 */ li r23, 0 lbl_80194770: /* 80194770 001916D0 80 1C 00 04 */ lwz r0, 4(r28) /* 80194774 001916D4 2C 00 00 00 */ cmpwi r0, 0 /* 80194778 001916D8 40 82 00 0C */ bne lbl_80194784 /* 8019477C 001916DC 83 22 A6 18 */ lwz r25, lbl_805AC338@sda21(r2) /* 80194780 001916E0 48 00 00 08 */ b lbl_80194788 lbl_80194784: /* 80194784 001916E4 83 22 A6 1C */ lwz r25, lbl_805AC33C@sda21(r2) lbl_80194788: /* 80194788 001916E8 2C 00 00 00 */ cmpwi r0, 0 /* 8019478C 001916EC 80 A2 A6 20 */ lwz r5, lbl_805AC340@sda21(r2) /* 80194790 001916F0 7F 24 CB 78 */ mr r4, r25 /* 80194794 001916F4 38 7A 00 AC */ addi r3, r26, 0xac /* 80194798 001916F8 3B 62 A6 34 */ addi r27, r2, lbl_805AC354@sda21 /* 8019479C 001916FC 40 82 00 08 */ bne lbl_801947A4 /* 801947A0 00191700 3B 62 A6 2C */ addi r27, r2, lbl_805AC34C@sda21 lbl_801947A4: /* 801947A4 00191704 7C DB F8 AE */ lbzx r6, r27, r31 /* 801947A8 00191708 7C C6 07 74 */ extsb r6, r6 /* 801947AC 0019170C 4C C6 31 82 */ crclr 6 /* 801947B0 00191710 48 14 1A 01 */ bl Stringize__7CBasicsFPCce /* 801947B4 00191714 7C 60 1B 78 */ mr r0, r3 /* 801947B8 00191718 7F A3 EB 78 */ mr r3, r29 /* 801947BC 0019171C 7C 04 03 78 */ mr r4, r0 /* 801947C0 00191720 7F 1C BA 14 */ add r24, r28, r23 /* 801947C4 00191724 48 12 D9 91 */ bl FindWidget__9CGuiFrameCFPCc /* 801947C8 00191728 90 78 00 2C */ stw r3, 0x2c(r24) /* 801947CC 0019172C 7F 24 CB 78 */ mr r4, r25 /* 801947D0 00191730 80 A2 A6 24 */ lwz r5, lbl_805AC344@sda21(r2) /* 801947D4 00191734 38 7A 00 AC */ addi r3, r26, 0xac /* 801947D8 00191738 7C DB F8 AE */ lbzx r6, r27, r31 /* 801947DC 0019173C 7C C6 07 74 */ extsb r6, r6 /* 801947E0 00191740 4C C6 31 82 */ crclr 6 /* 801947E4 00191744 48 14 19 CD */ bl Stringize__7CBasicsFPCce /* 801947E8 00191748 7C 60 1B 78 */ mr r0, r3 /* 801947EC 0019174C 7F A3 EB 78 */ mr r3, r29 /* 801947F0 00191750 7C 04 03 78 */ mr r4, r0 /* 801947F4 00191754 48 12 D9 61 */ bl FindWidget__9CGuiFrameCFPCc /* 801947F8 00191758 90 78 00 30 */ stw r3, 0x30(r24) /* 801947FC 0019175C 7C 7E FA 14 */ add r3, r30, r31 /* 80194800 00191760 88 03 00 04 */ lbz r0, 4(r3) /* 80194804 00191764 28 00 00 00 */ cmplwi r0, 0 /* 80194808 00191768 41 82 00 0C */ beq lbl_80194814 /* 8019480C 0019176C C0 02 A6 40 */ lfs f0, lbl_805AC360@sda21(r2) /* 80194810 00191770 48 00 00 08 */ b lbl_80194818 lbl_80194814: /* 80194814 00191774 C0 02 A6 44 */ lfs f0, lbl_805AC364@sda21(r2) lbl_80194818: /* 80194818 00191778 3B FF 00 01 */ addi r31, r31, 1 /* 8019481C 0019177C 7C 7C BA 14 */ add r3, r28, r23 /* 80194820 00191780 2C 1F 00 04 */ cmpwi r31, 4 /* 80194824 00191784 D0 03 00 38 */ stfs f0, 0x38(r3) /* 80194828 00191788 3A F7 00 10 */ addi r23, r23, 0x10 /* 8019482C 0019178C 41 80 FF 44 */ blt lbl_80194770 /* 80194830 00191790 80 1C 00 04 */ lwz r0, 4(r28) /* 80194834 00191794 2C 00 00 00 */ cmpwi r0, 0 /* 80194838 00191798 40 82 00 30 */ bne lbl_80194868 /* 8019483C 0019179C 80 7C 00 20 */ lwz r3, 0x20(r28) /* 80194840 001917A0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194844 001917A4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80194848 001917A8 38 84 00 4C */ addi r4, r4, 0x4c /* 8019484C 001917AC 48 13 4E 1D */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80194850 001917B0 80 7C 00 20 */ lwz r3, 0x20(r28) /* 80194854 001917B4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194858 001917B8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8019485C 001917BC 38 84 00 50 */ addi r4, r4, 0x50 /* 80194860 001917C0 48 13 4D B9 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor /* 80194864 001917C4 48 00 00 2C */ b lbl_80194890 lbl_80194868: /* 80194868 001917C8 80 7C 00 20 */ lwz r3, 0x20(r28) /* 8019486C 001917CC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194870 001917D0 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80194874 001917D4 38 84 00 54 */ addi r4, r4, 0x54 /* 80194878 001917D8 48 13 4D F1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 8019487C 001917DC 80 7C 00 20 */ lwz r3, 0x20(r28) /* 80194880 001917E0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194884 001917E4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80194888 001917E8 38 84 00 58 */ addi r4, r4, 0x58 /* 8019488C 001917EC 48 13 4D 8D */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor lbl_80194890: /* 80194890 001917F0 48 1B 57 1D */ bl White__6CColorFv /* 80194894 001917F4 C3 E2 A6 44 */ lfs f31, lbl_805AC364@sda21(r2) /* 80194898 001917F8 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 8019489C 001917FC 38 81 00 0C */ addi r4, r1, 0xc /* 801948A0 00191800 80 63 00 00 */ lwz r3, 0(r3) /* 801948A4 00191804 88 01 00 08 */ lbz r0, 8(r1) /* 801948A8 00191808 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801948AC 0019180C 90 01 00 0C */ stw r0, 0xc(r1) /* 801948B0 00191810 80 7C 00 1C */ lwz r3, 0x1c(r28) /* 801948B4 00191814 48 13 5F B9 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801948B8 00191818 80 BC 00 04 */ lwz r5, 4(r28) /* 801948BC 0019181C 3C 60 80 3D */ lis r3, lbl_803D0E38@ha /* 801948C0 00191820 80 1C 00 08 */ lwz r0, 8(r28) /* 801948C4 00191824 38 83 0E 38 */ addi r4, r3, lbl_803D0E38@l /* 801948C8 00191828 54 A5 20 36 */ slwi r5, r5, 4 /* 801948CC 0019182C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 801948D0 00191830 7C 84 2A 14 */ add r4, r4, r5 /* 801948D4 00191834 54 00 10 3A */ slwi r0, r0, 2 /* 801948D8 00191838 7C 84 00 2E */ lwzx r4, r4, r0 /* 801948DC 0019183C 48 1C 1E 21 */ bl GetString__12CStringTableCFi /* 801948E0 00191840 7C 64 1B 78 */ mr r4, r3 /* 801948E4 00191844 38 61 00 10 */ addi r3, r1, 0x10 /* 801948E8 00191848 4B E8 11 09 */ bl wstring_l__4rstlFPCw /* 801948EC 0019184C 80 7C 00 20 */ lwz r3, 0x20(r28) /* 801948F0 00191850 38 81 00 10 */ addi r4, r1, 0x10 /* 801948F4 00191854 38 A0 00 00 */ li r5, 0 /* 801948F8 00191858 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801948FC 0019185C 48 13 4F 89 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80194900 00191860 38 61 00 10 */ addi r3, r1, 0x10 /* 80194904 00191864 48 1A 88 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80194908 00191868 3B 00 00 00 */ li r24, 0 /* 8019490C 0019186C 3A E0 00 00 */ li r23, 0 lbl_80194910: /* 80194910 00191870 7C 7C BA 14 */ add r3, r28, r23 /* 80194914 00191874 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194918 00191878 80 63 00 2C */ lwz r3, 0x2c(r3) /* 8019491C 0019187C 38 84 00 B0 */ addi r4, r4, 0xb0 /* 80194920 00191880 48 13 5F 4D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80194924 00191884 7C 7C BA 14 */ add r3, r28, r23 /* 80194928 00191888 C0 22 A6 40 */ lfs f1, lbl_805AC360@sda21(r2) /* 8019492C 0019188C 80 A3 00 2C */ lwz r5, 0x2c(r3) /* 80194930 00191890 7F 83 E3 78 */ mr r3, r28 /* 80194934 00191894 7F 04 C3 78 */ mr r4, r24 /* 80194938 00191898 4B FF EE 81 */ bl UpdateMenuWidgetTransform__17CHudVisorBeamMenuFiR10CGuiWidgetf /* 8019493C 0019189C 3B 18 00 01 */ addi r24, r24, 1 /* 80194940 001918A0 3A F7 00 10 */ addi r23, r23, 0x10 /* 80194944 001918A4 2C 18 00 04 */ cmpwi r24, 4 /* 80194948 001918A8 41 80 FF C8 */ blt lbl_80194910 /* 8019494C 001918AC C0 22 A6 44 */ lfs f1, lbl_805AC364@sda21(r2) /* 80194950 001918B0 7F 83 E3 78 */ mr r3, r28 /* 80194954 001918B4 38 80 00 01 */ li r4, 1 /* 80194958 001918B8 4B FF F1 09 */ bl Update__17CHudVisorBeamMenuFfb /* 8019495C 001918BC 7F 83 E3 78 */ mr r3, r28 /* 80194960 001918C0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80194964 001918C4 CB E1 00 50 */ lfd f31, 0x50(r1) /* 80194968 001918C8 BA E1 00 2C */ lmw r23, 0x2c(r1) /* 8019496C 001918CC 80 01 00 64 */ lwz r0, 0x64(r1) /* 80194970 001918D0 7C 08 03 A6 */ mtlr r0 /* 80194974 001918D4 38 21 00 60 */ addi r1, r1, 0x60 /* 80194978 001918D8 4E 80 00 20 */ blr .global __dt__24CHudDecoInterfaceThermalFv __dt__24CHudDecoInterfaceThermalFv: /* 8019497C 001918DC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80194980 001918E0 7C 08 02 A6 */ mflr r0 /* 80194984 001918E4 90 01 00 24 */ stw r0, 0x24(r1) /* 80194988 001918E8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8019498C 001918EC 7C 9F 23 78 */ mr r31, r4 /* 80194990 001918F0 93 C1 00 18 */ stw r30, 0x18(r1) /* 80194994 001918F4 7C 7E 1B 79 */ or. r30, r3, r3 /* 80194998 001918F8 41 82 00 7C */ beq lbl_80194A14 /* 8019499C 001918FC 3C 60 80 3E */ lis r3, lbl_803E44C8@ha /* 801949A0 00191900 34 1E 00 84 */ addic. r0, r30, 0x84 /* 801949A4 00191904 38 03 44 C8 */ addi r0, r3, lbl_803E44C8@l /* 801949A8 00191908 90 1E 00 00 */ stw r0, 0(r30) /* 801949AC 0019190C 41 82 00 44 */ beq lbl_801949F0 /* 801949B0 00191910 80 1E 00 88 */ lwz r0, 0x88(r30) /* 801949B4 00191914 80 7E 00 90 */ lwz r3, 0x90(r30) /* 801949B8 00191918 1C 00 00 34 */ mulli r0, r0, 0x34 /* 801949BC 0019191C 90 61 00 0C */ stw r3, 0xc(r1) /* 801949C0 00191920 7C 64 1B 78 */ mr r4, r3 /* 801949C4 00191924 7C 03 02 14 */ add r0, r3, r0 /* 801949C8 00191928 90 61 00 08 */ stw r3, 8(r1) /* 801949CC 0019192C 90 01 00 14 */ stw r0, 0x14(r1) /* 801949D0 00191930 90 01 00 10 */ stw r0, 0x10(r1) /* 801949D4 00191934 48 00 00 08 */ b lbl_801949DC lbl_801949D8: /* 801949D8 00191938 38 84 00 34 */ addi r4, r4, 0x34 lbl_801949DC: /* 801949DC 0019193C 7C 04 00 40 */ cmplw r4, r0 /* 801949E0 00191940 40 82 FF F8 */ bne lbl_801949D8 /* 801949E4 00191944 28 03 00 00 */ cmplwi r3, 0 /* 801949E8 00191948 41 82 00 08 */ beq lbl_801949F0 /* 801949EC 0019194C 48 18 0F 45 */ bl Free__7CMemoryFPCv lbl_801949F0: /* 801949F0 00191950 28 1E 00 00 */ cmplwi r30, 0 /* 801949F4 00191954 41 82 00 10 */ beq lbl_80194A04 /* 801949F8 00191958 3C 60 80 3E */ lis r3, lbl_803DA2A4@ha /* 801949FC 0019195C 38 03 A2 A4 */ addi r0, r3, lbl_803DA2A4@l /* 80194A00 00191960 90 1E 00 00 */ stw r0, 0(r30) lbl_80194A04: /* 80194A04 00191964 7F E0 07 35 */ extsh. r0, r31 /* 80194A08 00191968 40 81 00 0C */ ble lbl_80194A14 /* 80194A0C 0019196C 7F C3 F3 78 */ mr r3, r30 /* 80194A10 00191970 48 18 0F 21 */ bl Free__7CMemoryFPCv lbl_80194A14: /* 80194A14 00191974 80 01 00 24 */ lwz r0, 0x24(r1) /* 80194A18 00191978 7F C3 F3 78 */ mr r3, r30 /* 80194A1C 0019197C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80194A20 00191980 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80194A24 00191984 7C 08 03 A6 */ mtlr r0 /* 80194A28 00191988 38 21 00 20 */ addi r1, r1, 0x20 /* 80194A2C 0019198C 4E 80 00 20 */ blr .global UpdateCameraDebugSettings__24CHudDecoInterfaceThermalFfff UpdateCameraDebugSettings__24CHudDecoInterfaceThermalFfff: /* 80194A30 00191990 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80194A34 00191994 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80194A38 00191998 81 43 00 74 */ lwz r10, 0x74(r3) /* 80194A3C 0019199C 81 2A 00 BC */ lwz r9, 0xbc(r10) /* 80194A40 001919A0 81 0A 00 C0 */ lwz r8, 0xc0(r10) /* 80194A44 001919A4 91 21 00 20 */ stw r9, 0x20(r1) /* 80194A48 001919A8 80 EA 00 C4 */ lwz r7, 0xc4(r10) /* 80194A4C 001919AC D0 21 00 20 */ stfs f1, 0x20(r1) /* 80194A50 001919B0 80 CA 00 C8 */ lwz r6, 0xc8(r10) /* 80194A54 001919B4 80 AA 00 CC */ lwz r5, 0xcc(r10) /* 80194A58 001919B8 80 8A 00 D0 */ lwz r4, 0xd0(r10) /* 80194A5C 001919BC 80 01 00 20 */ lwz r0, 0x20(r1) /* 80194A60 001919C0 91 21 00 08 */ stw r9, 8(r1) /* 80194A64 001919C4 90 0A 00 BC */ stw r0, 0xbc(r10) /* 80194A68 001919C8 91 0A 00 C0 */ stw r8, 0xc0(r10) /* 80194A6C 001919CC 90 EA 00 C4 */ stw r7, 0xc4(r10) /* 80194A70 001919D0 90 CA 00 C8 */ stw r6, 0xc8(r10) /* 80194A74 001919D4 90 AA 00 CC */ stw r5, 0xcc(r10) /* 80194A78 001919D8 90 8A 00 D0 */ stw r4, 0xd0(r10) /* 80194A7C 001919DC D0 03 00 2C */ stfs f0, 0x2c(r3) /* 80194A80 001919E0 D0 43 00 30 */ stfs f2, 0x30(r3) /* 80194A84 001919E4 91 01 00 0C */ stw r8, 0xc(r1) /* 80194A88 001919E8 90 E1 00 10 */ stw r7, 0x10(r1) /* 80194A8C 001919EC 90 C1 00 14 */ stw r6, 0x14(r1) /* 80194A90 001919F0 90 A1 00 18 */ stw r5, 0x18(r1) /* 80194A94 001919F4 90 81 00 1C */ stw r4, 0x1c(r1) /* 80194A98 001919F8 91 01 00 24 */ stw r8, 0x24(r1) /* 80194A9C 001919FC 90 E1 00 28 */ stw r7, 0x28(r1) /* 80194AA0 00191A00 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80194AA4 00191A04 90 A1 00 30 */ stw r5, 0x30(r1) /* 80194AA8 00191A08 90 81 00 34 */ stw r4, 0x34(r1) /* 80194AAC 00191A0C D0 63 00 34 */ stfs f3, 0x34(r3) /* 80194AB0 00191A10 38 21 00 40 */ addi r1, r1, 0x40 /* 80194AB4 00191A14 4E 80 00 20 */ blr .global Update__24CHudDecoInterfaceThermalFfRC13CStateManager Update__24CHudDecoInterfaceThermalFfRC13CStateManager: /* 80194AB8 00191A18 94 21 FE E0 */ stwu r1, -0x120(r1) /* 80194ABC 00191A1C 7C 08 02 A6 */ mflr r0 /* 80194AC0 00191A20 90 01 01 24 */ stw r0, 0x124(r1) /* 80194AC4 00191A24 DB E1 01 10 */ stfd f31, 0x110(r1) /* 80194AC8 00191A28 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 80194ACC 00191A2C DB C1 01 00 */ stfd f30, 0x100(r1) /* 80194AD0 00191A30 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 80194AD4 00191A34 93 E1 00 FC */ stw r31, 0xfc(r1) /* 80194AD8 00191A38 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 80194ADC 00191A3C 93 A1 00 F4 */ stw r29, 0xf4(r1) /* 80194AE0 00191A40 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80194AE4 00191A44 7C 7D 1B 78 */ mr r29, r3 /* 80194AE8 00191A48 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80194AEC 00191A4C FF C0 08 90 */ fmr f30, f1 /* 80194AF0 00191A50 A0 64 03 10 */ lhz r3, 0x310(r4) /* 80194AF4 00191A54 C0 5D 00 68 */ lfs f2, 0x68(r29) /* 80194AF8 00191A58 7C 03 00 40 */ cmplw r3, r0 /* 80194AFC 00191A5C 41 82 00 34 */ beq lbl_80194B30 /* 80194B00 00191A60 C0 22 A6 74 */ lfs f1, lbl_805AC394@sda21(r2) /* 80194B04 00191A64 C0 0D 8F C8 */ lfs f0, lbl_805A7B88@sda21(r13) /* 80194B08 00191A68 EC 21 17 BC */ fnmsubs f1, f1, f30, f2 /* 80194B0C 00191A6C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80194B10 00191A70 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80194B14 00191A74 40 80 00 0C */ bge lbl_80194B20 /* 80194B18 00191A78 38 61 00 14 */ addi r3, r1, 0x14 /* 80194B1C 00191A7C 48 00 00 08 */ b lbl_80194B24 lbl_80194B20: /* 80194B20 00191A80 38 6D 8F C8 */ addi r3, r13, lbl_805A7B88@sda21 lbl_80194B24: /* 80194B24 00191A84 C0 03 00 00 */ lfs f0, 0(r3) /* 80194B28 00191A88 D0 1D 00 68 */ stfs f0, 0x68(r29) /* 80194B2C 00191A8C 48 00 00 30 */ b lbl_80194B5C lbl_80194B30: /* 80194B30 00191A90 C0 22 A6 74 */ lfs f1, lbl_805AC394@sda21(r2) /* 80194B34 00191A94 C0 02 A6 70 */ lfs f0, lbl_805AC390@sda21(r2) /* 80194B38 00191A98 EC 21 17 BA */ fmadds f1, f1, f30, f2 /* 80194B3C 00191A9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80194B40 00191AA0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80194B44 00191AA4 40 80 00 0C */ bge lbl_80194B50 /* 80194B48 00191AA8 38 61 00 10 */ addi r3, r1, 0x10 /* 80194B4C 00191AAC 48 00 00 08 */ b lbl_80194B54 lbl_80194B50: /* 80194B50 00191AB0 38 62 A6 70 */ addi r3, r2, lbl_805AC390@sda21 lbl_80194B54: /* 80194B54 00191AB4 C0 03 00 00 */ lfs f0, 0(r3) /* 80194B58 00191AB8 D0 1D 00 68 */ stfs f0, 0x68(r29) lbl_80194B5C: /* 80194B5C 00191ABC C0 1D 00 68 */ lfs f0, 0x68(r29) /* 80194B60 00191AC0 FC 02 00 00 */ fcmpu cr0, f2, f0 /* 80194B64 00191AC4 41 82 00 5C */ beq lbl_80194BC0 /* 80194B68 00191AC8 83 DD 00 90 */ lwz r30, 0x90(r29) /* 80194B6C 00191ACC 48 00 00 3C */ b lbl_80194BA8 lbl_80194B70: /* 80194B70 00191AD0 C0 3D 00 68 */ lfs f1, 0x68(r29) /* 80194B74 00191AD4 38 61 00 84 */ addi r3, r1, 0x84 /* 80194B78 00191AD8 48 17 E6 C9 */ bl Scale__12CTransform4fFf /* 80194B7C 00191ADC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80194B80 00191AE0 38 9E 00 04 */ addi r4, r30, 4 /* 80194B84 00191AE4 38 A1 00 84 */ addi r5, r1, 0x84 /* 80194B88 00191AE8 48 17 DD C9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80194B8C 00191AEC 83 FE 00 00 */ lwz r31, 0(r30) /* 80194B90 00191AF0 38 81 00 B4 */ addi r4, r1, 0xb4 /* 80194B94 00191AF4 38 7F 00 04 */ addi r3, r31, 4 /* 80194B98 00191AF8 48 17 DF A9 */ bl __as__12CTransform4fFRC12CTransform4f /* 80194B9C 00191AFC 7F E3 FB 78 */ mr r3, r31 /* 80194BA0 00191B00 48 12 FC 49 */ bl RecalculateTransforms__10CGuiObjectFv /* 80194BA4 00191B04 3B DE 00 34 */ addi r30, r30, 0x34 lbl_80194BA8: /* 80194BA8 00191B08 80 1D 00 88 */ lwz r0, 0x88(r29) /* 80194BAC 00191B0C 80 7D 00 90 */ lwz r3, 0x90(r29) /* 80194BB0 00191B10 1C 00 00 34 */ mulli r0, r0, 0x34 /* 80194BB4 00191B14 7C 03 02 14 */ add r0, r3, r0 /* 80194BB8 00191B18 7C 1E 00 40 */ cmplw r30, r0 /* 80194BBC 00191B1C 40 82 FF B4 */ bne lbl_80194B70 lbl_80194BC0: /* 80194BC0 00191B20 C0 3D 00 6C */ lfs f1, 0x6c(r29) /* 80194BC4 00191B24 C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 80194BC8 00191B28 EC 21 F0 2A */ fadds f1, f1, f30 /* 80194BCC 00191B2C D0 3D 00 6C */ stfs f1, 0x6c(r29) /* 80194BD0 00191B30 C0 3D 00 6C */ lfs f1, 0x6c(r29) /* 80194BD4 00191B34 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80194BD8 00191B38 40 81 00 10 */ ble lbl_80194BE8 /* 80194BDC 00191B3C C0 02 A6 78 */ lfs f0, lbl_805AC398@sda21(r2) /* 80194BE0 00191B40 EC 01 00 28 */ fsubs f0, f1, f0 /* 80194BE4 00191B44 D0 1D 00 6C */ stfs f0, 0x6c(r29) lbl_80194BE8: /* 80194BE8 00191B48 C0 1D 00 6C */ lfs f0, 0x6c(r29) /* 80194BEC 00191B4C FF C0 02 10 */ fabs f30, f0 /* 80194BF0 00191B50 48 1B 53 BD */ bl White__6CColorFv /* 80194BF4 00191B54 FC 00 F0 18 */ frsp f0, f30 /* 80194BF8 00191B58 C0 22 A6 80 */ lfs f1, lbl_805AC3A0@sda21(r2) /* 80194BFC 00191B5C C0 42 A6 7C */ lfs f2, lbl_805AC39C@sda21(r2) /* 80194C00 00191B60 EC 01 08 3A */ fmadds f0, f1, f0, f1 /* 80194C04 00191B64 EF E2 00 32 */ fmuls f31, f2, f0 /* 80194C08 00191B68 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 80194C0C 00191B6C 38 81 00 0C */ addi r4, r1, 0xc /* 80194C10 00191B70 80 63 00 00 */ lwz r3, 0(r3) /* 80194C14 00191B74 88 01 00 08 */ lbz r0, 8(r1) /* 80194C18 00191B78 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80194C1C 00191B7C 90 01 00 0C */ stw r0, 0xc(r1) /* 80194C20 00191B80 80 7D 00 80 */ lwz r3, 0x80(r29) /* 80194C24 00191B84 48 13 5C 49 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80194C28 00191B88 C0 3D 00 18 */ lfs f1, 0x18(r29) /* 80194C2C 00191B8C 38 61 00 54 */ addi r3, r1, 0x54 /* 80194C30 00191B90 C0 1D 00 24 */ lfs f0, 0x24(r29) /* 80194C34 00191B94 38 9D 00 04 */ addi r4, r29, 4 /* 80194C38 00191B98 C0 7D 00 1C */ lfs f3, 0x1c(r29) /* 80194C3C 00191B9C 38 A1 00 18 */ addi r5, r1, 0x18 /* 80194C40 00191BA0 C0 5D 00 28 */ lfs f2, 0x28(r29) /* 80194C44 00191BA4 EC 81 00 2A */ fadds f4, f1, f0 /* 80194C48 00191BA8 C0 3D 00 14 */ lfs f1, 0x14(r29) /* 80194C4C 00191BAC 38 DD 00 2C */ addi r6, r29, 0x2c /* 80194C50 00191BB0 C0 1D 00 20 */ lfs f0, 0x20(r29) /* 80194C54 00191BB4 EC 43 10 2A */ fadds f2, f3, f2 /* 80194C58 00191BB8 EC 01 00 2A */ fadds f0, f1, f0 /* 80194C5C 00191BBC D0 81 00 1C */ stfs f4, 0x1c(r1) /* 80194C60 00191BC0 D0 41 00 20 */ stfs f2, 0x20(r1) /* 80194C64 00191BC4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80194C68 00191BC8 4B ED 89 39 */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f /* 80194C6C 00191BCC 80 7D 00 74 */ lwz r3, 0x74(r29) /* 80194C70 00191BD0 38 81 00 54 */ addi r4, r1, 0x54 /* 80194C74 00191BD4 48 12 FA C5 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 80194C78 00191BD8 38 61 00 24 */ addi r3, r1, 0x24 /* 80194C7C 00191BDC 38 9D 00 38 */ addi r4, r29, 0x38 /* 80194C80 00191BE0 38 BD 00 5C */ addi r5, r29, 0x5c /* 80194C84 00191BE4 48 17 E5 F5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80194C88 00191BE8 83 FD 00 7C */ lwz r31, 0x7c(r29) /* 80194C8C 00191BEC 38 81 00 24 */ addi r4, r1, 0x24 /* 80194C90 00191BF0 38 7F 00 04 */ addi r3, r31, 4 /* 80194C94 00191BF4 48 17 DE AD */ bl __as__12CTransform4fFRC12CTransform4f /* 80194C98 00191BF8 7F E3 FB 78 */ mr r3, r31 /* 80194C9C 00191BFC 48 12 FB 4D */ bl RecalculateTransforms__10CGuiObjectFv /* 80194CA0 00191C00 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 80194CA4 00191C04 CB E1 01 10 */ lfd f31, 0x110(r1) /* 80194CA8 00191C08 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 80194CAC 00191C0C CB C1 01 00 */ lfd f30, 0x100(r1) /* 80194CB0 00191C10 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 80194CB4 00191C14 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 80194CB8 00191C18 80 01 01 24 */ lwz r0, 0x124(r1) /* 80194CBC 00191C1C 83 A1 00 F4 */ lwz r29, 0xf4(r1) /* 80194CC0 00191C20 7C 08 03 A6 */ mtlr r0 /* 80194CC4 00191C24 38 21 01 20 */ addi r1, r1, 0x120 /* 80194CC8 00191C28 4E 80 00 20 */ blr .global SetDamageTransform__24CHudDecoInterfaceThermalFRC9CMatrix3fRC9CVector3f SetDamageTransform__24CHudDecoInterfaceThermalFRC9CMatrix3fRC9CVector3f: /* 80194CCC 00191C2C 4E 80 00 20 */ blr .global SetHudOffset__24CHudDecoInterfaceThermalFRC9CVector3f SetHudOffset__24CHudDecoInterfaceThermalFRC9CVector3f: /* 80194CD0 00191C30 C0 04 00 00 */ lfs f0, 0(r4) /* 80194CD4 00191C34 D0 03 00 20 */ stfs f0, 0x20(r3) /* 80194CD8 00191C38 C0 04 00 04 */ lfs f0, 4(r4) /* 80194CDC 00191C3C D0 03 00 24 */ stfs f0, 0x24(r3) /* 80194CE0 00191C40 C0 04 00 08 */ lfs f0, 8(r4) /* 80194CE4 00191C44 D0 03 00 28 */ stfs f0, 0x28(r3) /* 80194CE8 00191C48 4E 80 00 20 */ blr .global SetReticuleTransform__24CHudDecoInterfaceThermalFRC9CMatrix3f SetReticuleTransform__24CHudDecoInterfaceThermalFRC9CMatrix3f: /* 80194CEC 00191C4C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80194CF0 00191C50 7C 08 02 A6 */ mflr r0 /* 80194CF4 00191C54 38 63 00 38 */ addi r3, r3, 0x38 /* 80194CF8 00191C58 90 01 00 14 */ stw r0, 0x14(r1) /* 80194CFC 00191C5C 48 17 B2 FD */ bl __as__9CMatrix3fFRC9CMatrix3f /* 80194D00 00191C60 80 01 00 14 */ lwz r0, 0x14(r1) /* 80194D04 00191C64 7C 08 03 A6 */ mtlr r0 /* 80194D08 00191C68 38 21 00 10 */ addi r1, r1, 0x10 /* 80194D0C 00191C6C 4E 80 00 20 */ blr .global SetHudRotation__24CHudDecoInterfaceThermalFRC11CQuaternion SetHudRotation__24CHudDecoInterfaceThermalFRC11CQuaternion: /* 80194D10 00191C70 C0 04 00 00 */ lfs f0, 0(r4) /* 80194D14 00191C74 D0 03 00 04 */ stfs f0, 4(r3) /* 80194D18 00191C78 80 A4 00 04 */ lwz r5, 4(r4) /* 80194D1C 00191C7C 80 04 00 08 */ lwz r0, 8(r4) /* 80194D20 00191C80 90 A3 00 08 */ stw r5, 8(r3) /* 80194D24 00191C84 90 03 00 0C */ stw r0, 0xc(r3) /* 80194D28 00191C88 80 04 00 0C */ lwz r0, 0xc(r4) /* 80194D2C 00191C8C 90 03 00 10 */ stw r0, 0x10(r3) /* 80194D30 00191C90 4E 80 00 20 */ blr .global UpdateVisibility__24CHudDecoInterfaceThermalFv UpdateVisibility__24CHudDecoInterfaceThermalFv: /* 80194D34 00191C94 4E 80 00 20 */ blr .global UpdateHudAlpha__24CHudDecoInterfaceThermalFv UpdateHudAlpha__24CHudDecoInterfaceThermalFv: /* 80194D38 00191C98 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80194D3C 00191C9C 7C 08 02 A6 */ mflr r0 /* 80194D40 00191CA0 90 01 00 14 */ stw r0, 0x14(r1) /* 80194D44 00191CA4 38 00 00 FF */ li r0, 0xff /* 80194D48 00191CA8 38 81 00 08 */ addi r4, r1, 8 /* 80194D4C 00191CAC 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 80194D50 00191CB0 80 A5 01 DC */ lwz r5, 0x1dc(r5) /* 80194D54 00191CB4 98 01 00 08 */ stb r0, 8(r1) /* 80194D58 00191CB8 98 01 00 09 */ stb r0, 9(r1) /* 80194D5C 00191CBC 98 01 00 0A */ stb r0, 0xa(r1) /* 80194D60 00191CC0 98 A1 00 0B */ stb r5, 0xb(r1) /* 80194D64 00191CC4 80 63 00 78 */ lwz r3, 0x78(r3) /* 80194D68 00191CC8 48 13 5B 05 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80194D6C 00191CCC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80194D70 00191CD0 7C 08 03 A6 */ mtlr r0 /* 80194D74 00191CD4 38 21 00 10 */ addi r1, r1, 0x10 /* 80194D78 00191CD8 4E 80 00 20 */ blr .global SetIsVisibleGame__24CHudDecoInterfaceThermalFb SetIsVisibleGame__24CHudDecoInterfaceThermalFb: /* 80194D7C 00191CDC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80194D80 00191CE0 7C 08 02 A6 */ mflr r0 /* 80194D84 00191CE4 90 01 00 14 */ stw r0, 0x14(r1) /* 80194D88 00191CE8 88 03 00 70 */ lbz r0, 0x70(r3) /* 80194D8C 00191CEC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80194D90 00191CF0 98 03 00 70 */ stb r0, 0x70(r3) /* 80194D94 00191CF4 4B FF FF A1 */ bl UpdateVisibility__24CHudDecoInterfaceThermalFv /* 80194D98 00191CF8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80194D9C 00191CFC 7C 08 03 A6 */ mtlr r0 /* 80194DA0 00191D00 38 21 00 10 */ addi r1, r1, 0x10 /* 80194DA4 00191D04 4E 80 00 20 */ blr .global SetIsVisibleDebug__24CHudDecoInterfaceThermalFb SetIsVisibleDebug__24CHudDecoInterfaceThermalFb: /* 80194DA8 00191D08 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80194DAC 00191D0C 7C 08 02 A6 */ mflr r0 /* 80194DB0 00191D10 90 01 00 14 */ stw r0, 0x14(r1) /* 80194DB4 00191D14 88 03 00 70 */ lbz r0, 0x70(r3) /* 80194DB8 00191D18 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80194DBC 00191D1C 98 03 00 70 */ stb r0, 0x70(r3) /* 80194DC0 00191D20 4B FF FF 75 */ bl UpdateVisibility__24CHudDecoInterfaceThermalFv /* 80194DC4 00191D24 80 01 00 14 */ lwz r0, 0x14(r1) /* 80194DC8 00191D28 7C 08 03 A6 */ mtlr r0 /* 80194DCC 00191D2C 38 21 00 10 */ addi r1, r1, 0x10 /* 80194DD0 00191D30 4E 80 00 20 */ blr .global __ct__24CHudDecoInterfaceThermalFR9CGuiFrame __ct__24CHudDecoInterfaceThermalFR9CGuiFrame: /* 80194DD4 00191D34 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 80194DD8 00191D38 7C 08 02 A6 */ mflr r0 /* 80194DDC 00191D3C 3C A0 80 3E */ lis r5, lbl_803DA2A4@ha /* 80194DE0 00191D40 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80194DE4 00191D44 38 05 A2 A4 */ addi r0, r5, lbl_803DA2A4@l /* 80194DE8 00191D48 3C A0 80 5A */ lis r5, skZero3f@ha /* 80194DEC 00191D4C BF 61 00 AC */ stmw r27, 0xac(r1) /* 80194DF0 00191D50 7C 7D 1B 78 */ mr r29, r3 /* 80194DF4 00191D54 3C 60 80 3E */ lis r3, lbl_803E44C8@ha /* 80194DF8 00191D58 3B E5 66 A0 */ addi r31, r5, skZero3f@l /* 80194DFC 00191D5C 7C 9E 23 78 */ mr r30, r4 /* 80194E00 00191D60 90 1D 00 00 */ stw r0, 0(r29) /* 80194E04 00191D64 38 03 44 C8 */ addi r0, r3, lbl_803E44C8@l /* 80194E08 00191D68 3C 60 80 5A */ lis r3, lbl_805A6660@ha /* 80194E0C 00191D6C 90 1D 00 00 */ stw r0, 0(r29) /* 80194E10 00191D70 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l /* 80194E14 00191D74 3C 60 80 5A */ lis r3, lbl_805A65FC@ha /* 80194E18 00191D78 C0 06 00 00 */ lfs f0, 0(r6) /* 80194E1C 00191D7C 38 03 65 FC */ addi r0, r3, lbl_805A65FC@l /* 80194E20 00191D80 38 7D 00 38 */ addi r3, r29, 0x38 /* 80194E24 00191D84 D0 1D 00 04 */ stfs f0, 4(r29) /* 80194E28 00191D88 7C 04 03 78 */ mr r4, r0 /* 80194E2C 00191D8C C0 06 00 04 */ lfs f0, 4(r6) /* 80194E30 00191D90 D0 1D 00 08 */ stfs f0, 8(r29) /* 80194E34 00191D94 C0 06 00 08 */ lfs f0, 8(r6) /* 80194E38 00191D98 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 80194E3C 00191D9C C0 06 00 0C */ lfs f0, 0xc(r6) /* 80194E40 00191DA0 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 80194E44 00191DA4 C0 1F 00 00 */ lfs f0, 0(r31) /* 80194E48 00191DA8 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 80194E4C 00191DAC C0 1F 00 04 */ lfs f0, 4(r31) /* 80194E50 00191DB0 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 80194E54 00191DB4 C0 1F 00 08 */ lfs f0, 8(r31) /* 80194E58 00191DB8 D0 1D 00 1C */ stfs f0, 0x1c(r29) /* 80194E5C 00191DBC C0 1F 00 00 */ lfs f0, 0(r31) /* 80194E60 00191DC0 D0 1D 00 20 */ stfs f0, 0x20(r29) /* 80194E64 00191DC4 C0 1F 00 04 */ lfs f0, 4(r31) /* 80194E68 00191DC8 D0 1D 00 24 */ stfs f0, 0x24(r29) /* 80194E6C 00191DCC C0 1F 00 08 */ lfs f0, 8(r31) /* 80194E70 00191DD0 D0 1D 00 28 */ stfs f0, 0x28(r29) /* 80194E74 00191DD4 C0 1F 00 00 */ lfs f0, 0(r31) /* 80194E78 00191DD8 D0 1D 00 2C */ stfs f0, 0x2c(r29) /* 80194E7C 00191DDC C0 1F 00 04 */ lfs f0, 4(r31) /* 80194E80 00191DE0 D0 1D 00 30 */ stfs f0, 0x30(r29) /* 80194E84 00191DE4 C0 1F 00 08 */ lfs f0, 8(r31) /* 80194E88 00191DE8 D0 1D 00 34 */ stfs f0, 0x34(r29) /* 80194E8C 00191DEC 48 17 B1 99 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 80194E90 00191DF0 3C 60 80 5A */ lis r3, skZero3f@ha /* 80194E94 00191DF4 C0 22 A6 84 */ lfs f1, lbl_805AC3A4@sda21(r2) /* 80194E98 00191DF8 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) /* 80194E9C 00191DFC 38 A0 00 01 */ li r5, 1 /* 80194EA0 00191E00 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80194EA4 00191E04 38 00 00 00 */ li r0, 0 /* 80194EA8 00191E08 D0 5D 00 5C */ stfs f2, 0x5c(r29) /* 80194EAC 00191E0C 38 61 00 08 */ addi r3, r1, 8 /* 80194EB0 00191E10 C0 5F 00 04 */ lfs f2, 4(r31) /* 80194EB4 00191E14 D0 5D 00 60 */ stfs f2, 0x60(r29) /* 80194EB8 00191E18 C0 5F 00 08 */ lfs f2, 8(r31) /* 80194EBC 00191E1C D0 5D 00 64 */ stfs f2, 0x64(r29) /* 80194EC0 00191E20 D0 3D 00 68 */ stfs f1, 0x68(r29) /* 80194EC4 00191E24 D0 1D 00 6C */ stfs f0, 0x6c(r29) /* 80194EC8 00191E28 88 9D 00 70 */ lbz r4, 0x70(r29) /* 80194ECC 00191E2C 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 /* 80194ED0 00191E30 98 9D 00 70 */ stb r4, 0x70(r29) /* 80194ED4 00191E34 88 9D 00 70 */ lbz r4, 0x70(r29) /* 80194ED8 00191E38 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 /* 80194EDC 00191E3C 98 9D 00 70 */ stb r4, 0x70(r29) /* 80194EE0 00191E40 90 1D 00 88 */ stw r0, 0x88(r29) /* 80194EE4 00191E44 90 1D 00 8C */ stw r0, 0x8c(r29) /* 80194EE8 00191E48 90 1D 00 90 */ stw r0, 0x90(r29) /* 80194EEC 00191E4C 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80194EF0 00191E50 90 1D 00 74 */ stw r0, 0x74(r29) /* 80194EF4 00191E54 80 9D 00 74 */ lwz r4, 0x74(r29) /* 80194EF8 00191E58 48 13 03 25 */ bl GetLocalPosition__10CGuiObjectCFv /* 80194EFC 00191E5C C0 01 00 08 */ lfs f0, 8(r1) /* 80194F00 00191E60 3C 60 80 3D */ lis r3, lbl_803D0F38@ha /* 80194F04 00191E64 38 83 0F 38 */ addi r4, r3, lbl_803D0F38@l /* 80194F08 00191E68 D0 1D 00 2C */ stfs f0, 0x2c(r29) /* 80194F0C 00191E6C 7F C3 F3 78 */ mr r3, r30 /* 80194F10 00191E70 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80194F14 00191E74 D0 1D 00 30 */ stfs f0, 0x30(r29) /* 80194F18 00191E78 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80194F1C 00191E7C D0 1D 00 34 */ stfs f0, 0x34(r29) /* 80194F20 00191E80 48 12 D2 35 */ bl FindWidget__9CGuiFrameCFPCc /* 80194F24 00191E84 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80194F28 00191E88 90 7D 00 78 */ stw r3, 0x78(r29) /* 80194F2C 00191E8C 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80194F30 00191E90 7F C3 F3 78 */ mr r3, r30 /* 80194F34 00191E94 7C 9C 23 78 */ mr r28, r4 /* 80194F38 00191E98 48 12 D2 1D */ bl FindWidget__9CGuiFrameCFPCc /* 80194F3C 00191E9C 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80194F40 00191EA0 90 7D 00 7C */ stw r3, 0x7c(r29) /* 80194F44 00191EA4 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80194F48 00191EA8 7F C3 F3 78 */ mr r3, r30 /* 80194F4C 00191EAC 38 84 00 13 */ addi r4, r4, 0x13 /* 80194F50 00191EB0 48 12 D2 05 */ bl FindWidget__9CGuiFrameCFPCc /* 80194F54 00191EB4 90 7D 00 80 */ stw r3, 0x80(r29) /* 80194F58 00191EB8 3C 60 80 3D */ lis r3, lbl_803D10E4@ha /* 80194F5C 00191EBC 38 83 10 E4 */ addi r4, r3, lbl_803D10E4@l /* 80194F60 00191EC0 7F C3 F3 78 */ mr r3, r30 /* 80194F64 00191EC4 80 BD 00 78 */ lwz r5, 0x78(r29) /* 80194F68 00191EC8 3B E4 00 22 */ addi r31, r4, 0x22 /* 80194F6C 00191ECC 3B 64 00 32 */ addi r27, r4, 0x32 /* 80194F70 00191ED0 38 84 00 44 */ addi r4, r4, 0x44 /* 80194F74 00191ED4 C0 45 00 A0 */ lfs f2, 0xa0(r5) /* 80194F78 00191ED8 C0 25 00 90 */ lfs f1, 0x90(r5) /* 80194F7C 00191EDC C0 05 00 80 */ lfs f0, 0x80(r5) /* 80194F80 00191EE0 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 80194F84 00191EE4 D0 3D 00 18 */ stfs f1, 0x18(r29) /* 80194F88 00191EE8 D0 5D 00 1C */ stfs f2, 0x1c(r29) /* 80194F8C 00191EEC 80 BD 00 7C */ lwz r5, 0x7c(r29) /* 80194F90 00191EF0 C0 45 00 A0 */ lfs f2, 0xa0(r5) /* 80194F94 00191EF4 C0 25 00 90 */ lfs f1, 0x90(r5) /* 80194F98 00191EF8 C0 05 00 80 */ lfs f0, 0x80(r5) /* 80194F9C 00191EFC D0 1D 00 5C */ stfs f0, 0x5c(r29) /* 80194FA0 00191F00 D0 3D 00 60 */ stfs f1, 0x60(r29) /* 80194FA4 00191F04 D0 5D 00 64 */ stfs f2, 0x64(r29) /* 80194FA8 00191F08 48 12 D1 AD */ bl FindWidget__9CGuiFrameCFPCc /* 80194FAC 00191F0C 28 03 00 00 */ cmplwi r3, 0 /* 80194FB0 00191F10 41 82 00 10 */ beq lbl_80194FC0 /* 80194FB4 00191F14 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194FB8 00191F18 38 84 01 AC */ addi r4, r4, 0x1ac /* 80194FBC 00191F1C 48 13 58 B1 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80194FC0: /* 80194FC0 00191F20 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80194FC4 00191F24 7F C3 F3 78 */ mr r3, r30 /* 80194FC8 00191F28 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80194FCC 00191F2C 38 84 00 54 */ addi r4, r4, 0x54 /* 80194FD0 00191F30 48 12 D1 85 */ bl FindWidget__9CGuiFrameCFPCc /* 80194FD4 00191F34 28 03 00 00 */ cmplwi r3, 0 /* 80194FD8 00191F38 41 82 00 10 */ beq lbl_80194FE8 /* 80194FDC 00191F3C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80194FE0 00191F40 38 84 01 B0 */ addi r4, r4, 0x1b0 /* 80194FE4 00191F44 48 13 58 89 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80194FE8: /* 80194FE8 00191F48 7F C3 F3 78 */ mr r3, r30 /* 80194FEC 00191F4C 7F E4 FB 78 */ mr r4, r31 /* 80194FF0 00191F50 48 12 D1 65 */ bl FindWidget__9CGuiFrameCFPCc /* 80194FF4 00191F54 28 03 00 00 */ cmplwi r3, 0 /* 80194FF8 00191F58 41 82 00 10 */ beq lbl_80195008 /* 80194FFC 00191F5C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195000 00191F60 38 84 01 B8 */ addi r4, r4, 0x1b8 /* 80195004 00191F64 48 13 58 69 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80195008: /* 80195008 00191F68 7F C3 F3 78 */ mr r3, r30 /* 8019500C 00191F6C 7F 84 E3 78 */ mr r4, r28 /* 80195010 00191F70 48 12 D1 45 */ bl FindWidget__9CGuiFrameCFPCc /* 80195014 00191F74 28 03 00 00 */ cmplwi r3, 0 /* 80195018 00191F78 41 82 00 10 */ beq lbl_80195028 /* 8019501C 00191F7C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195020 00191F80 38 84 01 B0 */ addi r4, r4, 0x1b0 /* 80195024 00191F84 48 13 58 49 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80195028: /* 80195028 00191F88 7F C3 F3 78 */ mr r3, r30 /* 8019502C 00191F8C 7F 64 DB 78 */ mr r4, r27 /* 80195030 00191F90 48 12 D1 25 */ bl FindWidget__9CGuiFrameCFPCc /* 80195034 00191F94 28 03 00 00 */ cmplwi r3, 0 /* 80195038 00191F98 41 82 00 10 */ beq lbl_80195048 /* 8019503C 00191F9C 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195040 00191FA0 38 84 01 B0 */ addi r4, r4, 0x1b0 /* 80195044 00191FA4 48 13 58 29 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80195048: /* 80195048 00191FA8 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 8019504C 00191FAC 7F C3 F3 78 */ mr r3, r30 /* 80195050 00191FB0 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80195054 00191FB4 38 84 00 6A */ addi r4, r4, 0x6a /* 80195058 00191FB8 48 12 D0 FD */ bl FindWidget__9CGuiFrameCFPCc /* 8019505C 00191FBC 28 03 00 00 */ cmplwi r3, 0 /* 80195060 00191FC0 41 82 00 10 */ beq lbl_80195070 /* 80195064 00191FC4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195068 00191FC8 38 84 01 B0 */ addi r4, r4, 0x1b0 /* 8019506C 00191FCC 48 13 58 01 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80195070: /* 80195070 00191FD0 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80195074 00191FD4 7F C3 F3 78 */ mr r3, r30 /* 80195078 00191FD8 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 8019507C 00191FDC 38 84 00 7B */ addi r4, r4, 0x7b /* 80195080 00191FE0 48 12 D0 D5 */ bl FindWidget__9CGuiFrameCFPCc /* 80195084 00191FE4 28 03 00 00 */ cmplwi r3, 0 /* 80195088 00191FE8 41 82 00 10 */ beq lbl_80195098 /* 8019508C 00191FEC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195090 00191FF0 38 84 01 B0 */ addi r4, r4, 0x1b0 /* 80195094 00191FF4 48 13 57 D9 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80195098: /* 80195098 00191FF8 7F C3 F3 78 */ mr r3, r30 /* 8019509C 00191FFC 7F E4 FB 78 */ mr r4, r31 /* 801950A0 00192000 48 12 D0 B5 */ bl FindWidget__9CGuiFrameCFPCc /* 801950A4 00192004 28 03 00 00 */ cmplwi r3, 0 /* 801950A8 00192008 41 82 00 D0 */ beq lbl_80195178 /* 801950AC 0019200C 48 12 FC 85 */ bl GetChildObject__10CGuiObjectFv /* 801950B0 00192010 3B C1 00 78 */ addi r30, r1, 0x78 /* 801950B4 00192014 7C 7B 1B 78 */ mr r27, r3 /* 801950B8 00192018 48 00 00 B8 */ b lbl_80195170 lbl_801950BC: /* 801950BC 0019201C 80 9D 00 88 */ lwz r4, 0x88(r29) /* 801950C0 00192020 38 7D 00 84 */ addi r3, r29, 0x84 /* 801950C4 00192024 38 84 00 01 */ addi r4, r4, 1 /* 801950C8 00192028 48 00 23 05 */ bl sub_801973cc /* 801950CC 0019202C 7F 64 DB 78 */ mr r4, r27 /* 801950D0 00192030 38 61 00 74 */ addi r3, r1, 0x74 /* 801950D4 00192034 48 00 00 ED */ bl sub_801951c0 /* 801950D8 00192038 80 1D 00 88 */ lwz r0, 0x88(r29) /* 801950DC 0019203C 80 BD 00 8C */ lwz r5, 0x8c(r29) /* 801950E0 00192040 7C 00 28 00 */ cmpw r0, r5 /* 801950E4 00192044 41 80 00 1C */ blt lbl_80195100 /* 801950E8 00192048 2C 05 00 00 */ cmpwi r5, 0 /* 801950EC 0019204C 38 7D 00 84 */ addi r3, r29, 0x84 /* 801950F0 00192050 38 80 00 04 */ li r4, 4 /* 801950F4 00192054 41 82 00 08 */ beq lbl_801950FC /* 801950F8 00192058 54 A4 08 3C */ slwi r4, r5, 1 lbl_801950FC: /* 801950FC 0019205C 48 00 22 D1 */ bl sub_801973cc lbl_80195100: /* 80195100 00192060 80 1D 00 88 */ lwz r0, 0x88(r29) /* 80195104 00192064 80 7D 00 90 */ lwz r3, 0x90(r29) /* 80195108 00192068 1C 00 00 34 */ mulli r0, r0, 0x34 /* 8019510C 0019206C 7C A3 02 15 */ add. r5, r3, r0 /* 80195110 00192070 41 82 00 18 */ beq lbl_80195128 /* 80195114 00192074 80 01 00 74 */ lwz r0, 0x74(r1) /* 80195118 00192078 7F C4 F3 78 */ mr r4, r30 /* 8019511C 0019207C 38 65 00 04 */ addi r3, r5, 4 /* 80195120 00192080 90 05 00 00 */ stw r0, 0(r5) /* 80195124 00192084 48 17 DA 51 */ bl __ct__12CTransform4fFRC12CTransform4f lbl_80195128: /* 80195128 00192088 80 9D 00 88 */ lwz r4, 0x88(r29) /* 8019512C 0019208C 38 61 00 14 */ addi r3, r1, 0x14 /* 80195130 00192090 38 04 00 01 */ addi r0, r4, 1 /* 80195134 00192094 90 1D 00 88 */ stw r0, 0x88(r29) /* 80195138 00192098 C0 3D 00 68 */ lfs f1, 0x68(r29) /* 8019513C 0019209C 48 17 E1 05 */ bl Scale__12CTransform4fFf /* 80195140 001920A0 38 61 00 44 */ addi r3, r1, 0x44 /* 80195144 001920A4 38 9B 00 04 */ addi r4, r27, 4 /* 80195148 001920A8 38 A1 00 14 */ addi r5, r1, 0x14 /* 8019514C 001920AC 48 17 D8 05 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80195150 001920B0 38 7B 00 04 */ addi r3, r27, 4 /* 80195154 001920B4 38 81 00 44 */ addi r4, r1, 0x44 /* 80195158 001920B8 48 17 D9 E9 */ bl __as__12CTransform4fFRC12CTransform4f /* 8019515C 001920BC 7F 63 DB 78 */ mr r3, r27 /* 80195160 001920C0 48 12 F6 89 */ bl RecalculateTransforms__10CGuiObjectFv /* 80195164 001920C4 7F 63 DB 78 */ mr r3, r27 /* 80195168 001920C8 48 12 FB B9 */ bl GetNextSibling__10CGuiObjectFv /* 8019516C 001920CC 7C 7B 1B 78 */ mr r27, r3 lbl_80195170: /* 80195170 001920D0 28 1B 00 00 */ cmplwi r27, 0 /* 80195174 001920D4 40 82 FF 48 */ bne lbl_801950BC lbl_80195178: /* 80195178 001920D8 80 9D 00 78 */ lwz r4, 0x78(r29) /* 8019517C 001920DC 7F A3 EB 78 */ mr r3, r29 /* 80195180 001920E0 C0 44 00 A0 */ lfs f2, 0xa0(r4) /* 80195184 001920E4 C0 24 00 90 */ lfs f1, 0x90(r4) /* 80195188 001920E8 C0 04 00 80 */ lfs f0, 0x80(r4) /* 8019518C 001920EC D0 1D 00 14 */ stfs f0, 0x14(r29) /* 80195190 001920F0 D0 3D 00 18 */ stfs f1, 0x18(r29) /* 80195194 001920F4 D0 5D 00 1C */ stfs f2, 0x1c(r29) /* 80195198 001920F8 81 9D 00 00 */ lwz r12, 0(r29) /* 8019519C 001920FC 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801951A0 00192100 7D 89 03 A6 */ mtctr r12 /* 801951A4 00192104 4E 80 04 21 */ bctrl /* 801951A8 00192108 7F A3 EB 78 */ mr r3, r29 /* 801951AC 0019210C BB 61 00 AC */ lmw r27, 0xac(r1) /* 801951B0 00192110 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801951B4 00192114 7C 08 03 A6 */ mtlr r0 /* 801951B8 00192118 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801951BC 0019211C 4E 80 00 20 */ blr .global sub_801951c0 sub_801951c0: /* 801951C0 00192120 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801951C4 00192124 7C 08 02 A6 */ mflr r0 /* 801951C8 00192128 90 01 00 14 */ stw r0, 0x14(r1) /* 801951CC 0019212C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801951D0 00192130 7C 7F 1B 78 */ mr r31, r3 /* 801951D4 00192134 90 83 00 00 */ stw r4, 0(r3) /* 801951D8 00192138 38 7F 00 04 */ addi r3, r31, 4 /* 801951DC 0019213C 38 84 00 04 */ addi r4, r4, 4 /* 801951E0 00192140 48 17 D9 95 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801951E4 00192144 80 01 00 14 */ lwz r0, 0x14(r1) /* 801951E8 00192148 7F E3 FB 78 */ mr r3, r31 /* 801951EC 0019214C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801951F0 00192150 7C 08 03 A6 */ mtlr r0 /* 801951F4 00192154 38 21 00 10 */ addi r1, r1, 0x10 /* 801951F8 00192158 4E 80 00 20 */ blr .global GetMessageTextAlpha__21CHudDecoInterfaceScanCFv GetMessageTextAlpha__21CHudDecoInterfaceScanCFv: /* 801951FC 0019215C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80195200 00192160 C0 23 02 38 */ lfs f1, 0x238(r3) /* 80195204 00192164 C0 0D 8F C4 */ lfs f0, lbl_805A7B84@sda21(r13) /* 80195208 00192168 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019520C 0019216C 40 80 00 0C */ bge lbl_80195218 /* 80195210 00192170 38 83 02 38 */ addi r4, r3, 0x238 /* 80195214 00192174 48 00 00 08 */ b lbl_8019521C lbl_80195218: /* 80195218 00192178 38 8D 8F C4 */ addi r4, r13, lbl_805A7B84@sda21 lbl_8019521C: /* 8019521C 0019217C C0 04 00 00 */ lfs f0, 0(r4) /* 80195220 00192180 C0 23 01 C0 */ lfs f1, 0x1c0(r3) /* 80195224 00192184 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80195228 00192188 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8019522C 0019218C D0 21 00 08 */ stfs f1, 8(r1) /* 80195230 00192190 40 80 00 0C */ bge lbl_8019523C /* 80195234 00192194 38 61 00 08 */ addi r3, r1, 8 /* 80195238 00192198 48 00 00 08 */ b lbl_80195240 lbl_8019523C: /* 8019523C 0019219C 38 61 00 0C */ addi r3, r1, 0xc lbl_80195240: /* 80195240 001921A0 C0 22 A6 68 */ lfs f1, lbl_805AC388@sda21(r2) /* 80195244 001921A4 C0 03 00 00 */ lfs f0, 0(r3) /* 80195248 001921A8 EC 21 00 28 */ fsubs f1, f1, f0 /* 8019524C 001921AC 38 21 00 10 */ addi r1, r1, 0x10 /* 80195250 001921B0 4E 80 00 20 */ blr .global GetCurrScanInfo__21CHudDecoInterfaceScanCFRC13CStateManager GetCurrScanInfo__21CHudDecoInterfaceScanCFRC13CStateManager: /* 80195254 001921B4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80195258 001921B8 7C 08 02 A6 */ mflr r0 /* 8019525C 001921BC 90 01 00 24 */ stw r0, 0x24(r1) /* 80195260 001921C0 80 03 01 D4 */ lwz r0, 0x1d4(r3) /* 80195264 001921C4 2C 00 00 00 */ cmpwi r0, 0 /* 80195268 001921C8 40 82 00 0C */ bne lbl_80195274 /* 8019526C 001921CC 38 60 00 00 */ li r3, 0 /* 80195270 001921D0 48 00 00 3C */ b lbl_801952AC lbl_80195274: /* 80195274 001921D4 A0 03 01 D2 */ lhz r0, 0x1d2(r3) /* 80195278 001921D8 7C 83 23 78 */ mr r3, r4 /* 8019527C 001921DC 38 81 00 08 */ addi r4, r1, 8 /* 80195280 001921E0 B0 01 00 08 */ sth r0, 8(r1) /* 80195284 001921E4 4B EB 73 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80195288 001921E8 7C 64 1B 78 */ mr r4, r3 /* 8019528C 001921EC 38 61 00 0C */ addi r3, r1, 0xc /* 80195290 001921F0 4B F1 AA 01 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80195294 001921F4 80 63 00 04 */ lwz r3, 4(r3) /* 80195298 001921F8 28 03 00 00 */ cmplwi r3, 0 /* 8019529C 001921FC 41 82 00 0C */ beq lbl_801952A8 /* 801952A0 00192200 4B EB E2 29 */ bl GetScannableObjectInfo__6CActorCFv /* 801952A4 00192204 48 00 00 08 */ b lbl_801952AC lbl_801952A8: /* 801952A8 00192208 38 60 00 00 */ li r3, 0 lbl_801952AC: /* 801952AC 0019220C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801952B0 00192210 7C 08 03 A6 */ mtlr r0 /* 801952B4 00192214 38 21 00 20 */ addi r1, r1, 0x20 /* 801952B8 00192218 4E 80 00 20 */ blr .global UpdateScanDisplay__21CHudDecoInterfaceScanFRC13CStateManagerf UpdateScanDisplay__21CHudDecoInterfaceScanFRC13CStateManagerf: /* 801952BC 0019221C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801952C0 00192220 7C 08 02 A6 */ mflr r0 /* 801952C4 00192224 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801952C8 00192228 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801952CC 0019222C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801952D0 00192230 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801952D4 00192234 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801952D8 00192238 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801952DC 0019223C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801952E0 00192240 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 801952E4 00192244 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 801952E8 00192248 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801952EC 0019224C 93 C1 00 98 */ stw r30, 0x98(r1) /* 801952F0 00192250 93 A1 00 94 */ stw r29, 0x94(r1) /* 801952F4 00192254 93 81 00 90 */ stw r28, 0x90(r1) /* 801952F8 00192258 7C 9F 23 78 */ mr r31, r4 /* 801952FC 0019225C 7C 7E 1B 78 */ mr r30, r3 /* 80195300 00192260 80 64 08 4C */ lwz r3, 0x84c(r4) /* 80195304 00192264 FF C0 08 90 */ fmr f30, f1 /* 80195308 00192268 80 9E 01 D4 */ lwz r4, 0x1d4(r30) /* 8019530C 0019226C 83 A3 03 A8 */ lwz r29, 0x3a8(r3) /* 80195310 00192270 A0 03 03 10 */ lhz r0, 0x310(r3) /* 80195314 00192274 7C 1D 20 00 */ cmpw r29, r4 /* 80195318 00192278 A3 83 03 B4 */ lhz r28, 0x3b4(r3) /* 8019531C 0019227C B0 01 00 24 */ sth r0, 0x24(r1) /* 80195320 00192280 C3 A3 03 AC */ lfs f29, 0x3ac(r3) /* 80195324 00192284 41 82 00 D8 */ beq lbl_801953FC /* 80195328 00192288 88 03 09 C6 */ lbz r0, 0x9c6(r3) /* 8019532C 0019228C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 80195330 00192290 41 82 00 C8 */ beq lbl_801953F8 /* 80195334 00192294 2C 1D 00 02 */ cmpwi r29, 2 /* 80195338 00192298 40 82 00 64 */ bne lbl_8019539C /* 8019533C 0019229C 2C 04 00 01 */ cmpwi r4, 1 /* 80195340 001922A0 40 82 00 B8 */ bne lbl_801953F8 /* 80195344 001922A4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80195348 001922A8 38 80 00 0F */ li r4, 0xf /* 8019534C 001922AC 48 1C 13 B1 */ bl GetString__12CStringTableCFi /* 80195350 001922B0 7C 64 1B 78 */ mr r4, r3 /* 80195354 001922B4 38 61 00 74 */ addi r3, r1, 0x74 /* 80195358 001922B8 4B E8 06 99 */ bl wstring_l__4rstlFPCw /* 8019535C 001922BC 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195360 001922C0 38 81 00 74 */ addi r4, r1, 0x74 /* 80195364 001922C4 38 A0 00 00 */ li r5, 0 /* 80195368 001922C8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8019536C 001922CC 48 13 45 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80195370 001922D0 38 61 00 74 */ addi r3, r1, 0x74 /* 80195374 001922D4 48 1A 7D C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80195378 001922D8 80 7E 02 54 */ lwz r3, 0x254(r30) /* 8019537C 001922DC 38 80 00 00 */ li r4, 0 /* 80195380 001922E0 C0 22 A6 6C */ lfs f1, lbl_805AC38C@sda21(r2) /* 80195384 001922E4 C0 42 A6 88 */ lfs f2, lbl_805AC3A8@sda21(r2) /* 80195388 001922E8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8019538C 001922EC 48 13 2D 8D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 80195390 001922F0 C0 02 A6 78 */ lfs f0, lbl_805AC398@sda21(r2) /* 80195394 001922F4 D0 1E 02 38 */ stfs f0, 0x238(r30) /* 80195398 001922F8 48 00 00 60 */ b lbl_801953F8 lbl_8019539C: /* 8019539C 001922FC 2C 1D 00 01 */ cmpwi r29, 1 /* 801953A0 00192300 40 82 00 58 */ bne lbl_801953F8 /* 801953A4 00192304 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 801953A8 00192308 38 80 00 0E */ li r4, 0xe /* 801953AC 0019230C 48 1C 13 51 */ bl GetString__12CStringTableCFi /* 801953B0 00192310 7C 64 1B 78 */ mr r4, r3 /* 801953B4 00192314 38 61 00 64 */ addi r3, r1, 0x64 /* 801953B8 00192318 4B E8 06 39 */ bl wstring_l__4rstlFPCw /* 801953BC 0019231C 80 7E 02 54 */ lwz r3, 0x254(r30) /* 801953C0 00192320 38 81 00 64 */ addi r4, r1, 0x64 /* 801953C4 00192324 38 A0 00 00 */ li r5, 0 /* 801953C8 00192328 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801953CC 0019232C 48 13 44 B9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801953D0 00192330 38 61 00 64 */ addi r3, r1, 0x64 /* 801953D4 00192334 48 1A 7D 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801953D8 00192338 80 7E 02 54 */ lwz r3, 0x254(r30) /* 801953DC 0019233C 38 80 00 00 */ li r4, 0 /* 801953E0 00192340 C0 22 A6 6C */ lfs f1, lbl_805AC38C@sda21(r2) /* 801953E4 00192344 C0 42 A6 88 */ lfs f2, lbl_805AC3A8@sda21(r2) /* 801953E8 00192348 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801953EC 0019234C 48 13 2D 2D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 801953F0 00192350 C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 801953F4 00192354 D0 1E 02 38 */ stfs f0, 0x238(r30) lbl_801953F8: /* 801953F8 00192358 93 BE 01 D4 */ stw r29, 0x1d4(r30) lbl_801953FC: /* 801953FC 0019235C A0 1E 01 D2 */ lhz r0, 0x1d2(r30) /* 80195400 00192360 7C 1C 00 40 */ cmplw r28, r0 /* 80195404 00192364 41 82 00 08 */ beq lbl_8019540C /* 80195408 00192368 B3 9E 01 D2 */ sth r28, 0x1d2(r30) lbl_8019540C: /* 8019540C 0019236C A0 61 00 24 */ lhz r3, 0x24(r1) /* 80195410 00192370 A0 1E 01 D0 */ lhz r0, 0x1d0(r30) /* 80195414 00192374 7C 03 00 40 */ cmplw r3, r0 /* 80195418 00192378 41 82 00 AC */ beq lbl_801954C4 /* 8019541C 0019237C B0 7E 01 D0 */ sth r3, 0x1d0(r30) /* 80195420 00192380 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80195424 00192384 7C 03 00 40 */ cmplw r3, r0 /* 80195428 00192388 41 82 00 9C */ beq lbl_801954C4 /* 8019542C 0019238C B0 61 00 20 */ sth r3, 0x20(r1) /* 80195430 00192390 7F E5 FB 78 */ mr r5, r31 /* 80195434 00192394 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 80195438 00192398 38 81 00 20 */ addi r4, r1, 0x20 /* 8019543C 0019239C 4B E7 CB 65 */ bl ObjectInScanningRange__7CPlayerF9TUniqueIdRC13CStateManager /* 80195440 001923A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80195444 001923A4 40 82 00 80 */ bne lbl_801954C4 /* 80195448 001923A8 38 61 00 54 */ addi r3, r1, 0x54 /* 8019544C 001923AC 38 8D 8F CC */ addi r4, r13, lbl_805A7B8C@sda21 /* 80195450 001923B0 4B E8 05 A1 */ bl wstring_l__4rstlFPCw /* 80195454 001923B4 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195458 001923B8 38 81 00 54 */ addi r4, r1, 0x54 /* 8019545C 001923BC 38 A0 00 00 */ li r5, 0 /* 80195460 001923C0 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80195464 001923C4 48 13 44 21 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80195468 001923C8 38 61 00 54 */ addi r3, r1, 0x54 /* 8019546C 001923CC 48 1A 7C C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80195470 001923D0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80195474 001923D4 38 80 00 10 */ li r4, 0x10 /* 80195478 001923D8 48 1C 12 85 */ bl GetString__12CStringTableCFi /* 8019547C 001923DC 7C 64 1B 78 */ mr r4, r3 /* 80195480 001923E0 38 61 00 44 */ addi r3, r1, 0x44 /* 80195484 001923E4 4B E8 05 6D */ bl wstring_l__4rstlFPCw /* 80195488 001923E8 80 7E 02 54 */ lwz r3, 0x254(r30) /* 8019548C 001923EC 38 81 00 44 */ addi r4, r1, 0x44 /* 80195490 001923F0 38 A0 00 00 */ li r5, 0 /* 80195494 001923F4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80195498 001923F8 48 13 43 ED */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019549C 001923FC 38 61 00 44 */ addi r3, r1, 0x44 /* 801954A0 00192400 48 1A 7C 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801954A4 00192404 80 7E 02 54 */ lwz r3, 0x254(r30) /* 801954A8 00192408 38 80 00 01 */ li r4, 1 /* 801954AC 0019240C C0 22 A6 6C */ lfs f1, lbl_805AC38C@sda21(r2) /* 801954B0 00192410 C0 42 A6 88 */ lfs f2, lbl_805AC3A8@sda21(r2) /* 801954B4 00192414 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801954B8 00192418 48 13 2C 61 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 801954BC 0019241C C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 801954C0 00192420 D0 1E 02 38 */ stfs f0, 0x238(r30) lbl_801954C4: /* 801954C4 00192424 7F C3 F3 78 */ mr r3, r30 /* 801954C8 00192428 7F E4 FB 78 */ mr r4, r31 /* 801954CC 0019242C 4B FF FD 89 */ bl GetCurrScanInfo__21CHudDecoInterfaceScanCFRC13CStateManager /* 801954D0 00192430 A0 9E 01 D2 */ lhz r4, 0x1d2(r30) /* 801954D4 00192434 7C 7C 1B 78 */ mr r28, r3 /* 801954D8 00192438 A0 1E 00 28 */ lhz r0, 0x28(r30) /* 801954DC 0019243C 7C 04 00 40 */ cmplw r4, r0 /* 801954E0 00192440 40 82 00 0C */ bne lbl_801954EC /* 801954E4 00192444 28 1C 00 00 */ cmplwi r28, 0 /* 801954E8 00192448 40 82 00 58 */ bne lbl_80195540 lbl_801954EC: /* 801954EC 0019244C 38 7E 00 18 */ addi r3, r30, 0x18 /* 801954F0 00192450 4B FD EB AD */ bl StopScan__12CScanDisplayFv /* 801954F4 00192454 80 1E 00 24 */ lwz r0, 0x24(r30) /* 801954F8 00192458 2C 00 00 00 */ cmpwi r0, 0 /* 801954FC 0019245C 40 82 00 44 */ bne lbl_80195540 /* 80195500 00192460 28 1C 00 00 */ cmplwi r28, 0 /* 80195504 00192464 41 82 00 3C */ beq lbl_80195540 /* 80195508 00192468 A0 1E 01 D2 */ lhz r0, 0x1d2(r30) /* 8019550C 0019246C FC 20 E8 90 */ fmr f1, f29 /* 80195510 00192470 7F 85 E3 78 */ mr r5, r28 /* 80195514 00192474 38 7E 00 18 */ addi r3, r30, 0x18 /* 80195518 00192478 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8019551C 0019247C 38 81 00 1C */ addi r4, r1, 0x1c /* 80195520 00192480 80 1E 02 74 */ lwz r0, 0x274(r30) /* 80195524 00192484 90 01 00 08 */ stw r0, 8(r1) /* 80195528 00192488 80 DE 02 64 */ lwz r6, 0x264(r30) /* 8019552C 0019248C 80 FE 02 68 */ lwz r7, 0x268(r30) /* 80195530 00192490 81 1E 02 60 */ lwz r8, 0x260(r30) /* 80195534 00192494 81 3E 02 6C */ lwz r9, 0x26c(r30) /* 80195538 00192498 81 5E 02 70 */ lwz r10, 0x270(r30) /* 8019553C 0019249C 4B FD EB A5 */ bl StartScan__12CScanDisplayF9TUniqueIdRC20CScannableObjectInfoP12CGuiTextPaneP10CGuiWidgetf lbl_80195540: /* 80195540 001924A0 FC 20 F0 90 */ fmr f1, f30 /* 80195544 001924A4 38 7E 00 18 */ addi r3, r30, 0x18 /* 80195548 001924A8 FC 40 E8 90 */ fmr f2, f29 /* 8019554C 001924AC 4B FD DC 09 */ bl Update__12CScanDisplayFff /* 80195550 001924B0 A0 7E 01 D2 */ lhz r3, 0x1d2(r30) /* 80195554 001924B4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80195558 001924B8 7C 03 00 40 */ cmplw r3, r0 /* 8019555C 001924BC 41 82 00 68 */ beq lbl_801955C4 /* 80195560 001924C0 7F C3 F3 78 */ mr r3, r30 /* 80195564 001924C4 7F E4 FB 78 */ mr r4, r31 /* 80195568 001924C8 4B FF FC ED */ bl GetCurrScanInfo__21CHudDecoInterfaceScanCFRC13CStateManager /* 8019556C 001924CC 28 03 00 00 */ cmplwi r3, 0 /* 80195570 001924D0 41 82 00 54 */ beq lbl_801955C4 /* 80195574 001924D4 A0 1E 01 D2 */ lhz r0, 0x1d2(r30) /* 80195578 001924D8 7F E3 FB 78 */ mr r3, r31 /* 8019557C 001924DC 38 81 00 18 */ addi r4, r1, 0x18 /* 80195580 001924E0 B0 01 00 18 */ sth r0, 0x18(r1) /* 80195584 001924E4 4B EB 70 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80195588 001924E8 7C 64 1B 78 */ mr r4, r3 /* 8019558C 001924EC 38 61 00 3C */ addi r3, r1, 0x3c /* 80195590 001924F0 4B F1 A7 01 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80195594 001924F4 80 63 00 04 */ lwz r3, 4(r3) /* 80195598 001924F8 28 03 00 00 */ cmplwi r3, 0 /* 8019559C 001924FC 41 82 00 28 */ beq lbl_801955C4 /* 801955A0 00192500 4B EB DF 29 */ bl GetScannableObjectInfo__6CActorCFv /* 801955A4 00192504 28 03 00 00 */ cmplwi r3, 0 /* 801955A8 00192508 41 82 00 1C */ beq lbl_801955C4 /* 801955AC 0019250C C0 3E 01 D8 */ lfs f1, 0x1d8(r30) /* 801955B0 00192510 38 80 00 00 */ li r4, 0 /* 801955B4 00192514 C0 03 00 08 */ lfs f0, 8(r3) /* 801955B8 00192518 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 801955BC 0019251C EC 21 00 24 */ fdivs f1, f1, f0 /* 801955C0 00192520 48 13 63 09 */ bl SetCurrEnergy__16CAuiEnergyBarT01Ffb lbl_801955C4: /* 801955C4 00192524 80 1E 01 D4 */ lwz r0, 0x1d4(r30) /* 801955C8 00192528 2C 00 00 01 */ cmpwi r0, 1 /* 801955CC 0019252C 41 82 00 60 */ beq lbl_8019562C /* 801955D0 00192530 A0 7E 01 D0 */ lhz r3, 0x1d0(r30) /* 801955D4 00192534 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801955D8 00192538 7C 03 00 40 */ cmplw r3, r0 /* 801955DC 0019253C 41 82 00 24 */ beq lbl_80195600 /* 801955E0 00192540 A0 1E 01 D0 */ lhz r0, 0x1d0(r30) /* 801955E4 00192544 7F E5 FB 78 */ mr r5, r31 /* 801955E8 00192548 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801955EC 0019254C 38 81 00 14 */ addi r4, r1, 0x14 /* 801955F0 00192550 B0 01 00 14 */ sth r0, 0x14(r1) /* 801955F4 00192554 4B E7 C9 AD */ bl ObjectInScanningRange__7CPlayerF9TUniqueIdRC13CStateManager /* 801955F8 00192558 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801955FC 0019255C 41 82 00 30 */ beq lbl_8019562C lbl_80195600: /* 80195600 00192560 C0 3E 02 38 */ lfs f1, 0x238(r30) /* 80195604 00192564 C0 0D 8F B0 */ lfs f0, lbl_805A7B70@sda21(r13) /* 80195608 00192568 EC 21 F0 28 */ fsubs f1, f1, f30 /* 8019560C 0019256C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80195610 00192570 D0 21 00 38 */ stfs f1, 0x38(r1) /* 80195614 00192574 40 80 00 0C */ bge lbl_80195620 /* 80195618 00192578 38 61 00 38 */ addi r3, r1, 0x38 /* 8019561C 0019257C 48 00 00 08 */ b lbl_80195624 lbl_80195620: /* 80195620 00192580 38 6D 8F B0 */ addi r3, r13, lbl_805A7B70@sda21 lbl_80195624: /* 80195624 00192584 C0 03 00 00 */ lfs f0, 0(r3) /* 80195628 00192588 D0 1E 02 38 */ stfs f0, 0x238(r30) lbl_8019562C: /* 8019562C 0019258C C0 3E 02 38 */ lfs f1, 0x238(r30) /* 80195630 00192590 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80195634 00192594 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80195638 00192598 40 81 00 5C */ ble lbl_80195694 /* 8019563C 0019259C C0 0D 8F B4 */ lfs f0, lbl_805A7B74@sda21(r13) /* 80195640 001925A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80195644 001925A4 40 80 00 0C */ bge lbl_80195650 /* 80195648 001925A8 38 7E 02 38 */ addi r3, r30, 0x238 /* 8019564C 001925AC 48 00 00 08 */ b lbl_80195654 lbl_80195650: /* 80195650 001925B0 38 6D 8F B4 */ addi r3, r13, lbl_805A7B74@sda21 lbl_80195654: /* 80195654 001925B4 C3 A3 00 00 */ lfs f29, 0(r3) /* 80195658 001925B8 48 1B 49 55 */ bl White__6CColorFv /* 8019565C 001925BC C0 02 A6 7C */ lfs f0, lbl_805AC39C@sda21(r2) /* 80195660 001925C0 EF 80 07 72 */ fmuls f28, f0, f29 /* 80195664 001925C4 F3 81 A0 11 */ psq_st f28, 17(r1), 1, qr2 /* 80195668 001925C8 38 81 00 34 */ addi r4, r1, 0x34 /* 8019566C 001925CC 80 63 00 00 */ lwz r3, 0(r3) /* 80195670 001925D0 88 01 00 11 */ lbz r0, 0x11(r1) /* 80195674 001925D4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80195678 001925D8 90 01 00 34 */ stw r0, 0x34(r1) /* 8019567C 001925DC 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195680 001925E0 48 13 51 ED */ bl SetColor__10CGuiWidgetFRC6CColor /* 80195684 001925E4 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195688 001925E8 38 80 00 01 */ li r4, 1 /* 8019568C 001925EC 48 13 4F A1 */ bl SetIsVisible__10CGuiWidgetFb /* 80195690 001925F0 48 00 00 10 */ b lbl_801956A0 lbl_80195694: /* 80195694 001925F4 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195698 001925F8 38 80 00 00 */ li r4, 0 /* 8019569C 001925FC 48 13 4F 91 */ bl SetIsVisible__10CGuiWidgetFb lbl_801956A0: /* 801956A0 00192600 7F C3 F3 78 */ mr r3, r30 /* 801956A4 00192604 7F E4 FB 78 */ mr r4, r31 /* 801956A8 00192608 4B FF FB AD */ bl GetCurrScanInfo__21CHudDecoInterfaceScanCFRC13CStateManager /* 801956AC 0019260C 28 03 00 00 */ cmplwi r3, 0 /* 801956B0 00192610 41 82 00 38 */ beq lbl_801956E8 /* 801956B4 00192614 C0 42 A6 78 */ lfs f2, lbl_805AC398@sda21(r2) /* 801956B8 00192618 C0 3E 02 3C */ lfs f1, 0x23c(r30) /* 801956BC 0019261C C0 0D 8F B8 */ lfs f0, lbl_805A7B78@sda21(r13) /* 801956C0 00192620 EC 22 0F BA */ fmadds f1, f2, f30, f1 /* 801956C4 00192624 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801956C8 00192628 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801956CC 0019262C 40 80 00 0C */ bge lbl_801956D8 /* 801956D0 00192630 38 61 00 30 */ addi r3, r1, 0x30 /* 801956D4 00192634 48 00 00 08 */ b lbl_801956DC lbl_801956D8: /* 801956D8 00192638 38 6D 8F B8 */ addi r3, r13, lbl_805A7B78@sda21 lbl_801956DC: /* 801956DC 0019263C C0 03 00 00 */ lfs f0, 0(r3) /* 801956E0 00192640 D0 1E 02 3C */ stfs f0, 0x23c(r30) /* 801956E4 00192644 48 00 00 34 */ b lbl_80195718 lbl_801956E8: /* 801956E8 00192648 C0 42 A6 78 */ lfs f2, lbl_805AC398@sda21(r2) /* 801956EC 0019264C C0 3E 02 3C */ lfs f1, 0x23c(r30) /* 801956F0 00192650 C0 0D 8F BC */ lfs f0, lbl_805A7B7C@sda21(r13) /* 801956F4 00192654 EC 22 0F BC */ fnmsubs f1, f2, f30, f1 /* 801956F8 00192658 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801956FC 0019265C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80195700 00192660 40 80 00 0C */ bge lbl_8019570C /* 80195704 00192664 38 61 00 2C */ addi r3, r1, 0x2c /* 80195708 00192668 48 00 00 08 */ b lbl_80195710 lbl_8019570C: /* 8019570C 0019266C 38 6D 8F BC */ addi r3, r13, lbl_805A7B7C@sda21 lbl_80195710: /* 80195710 00192670 C0 03 00 00 */ lfs f0, 0(r3) /* 80195714 00192674 D0 1E 02 3C */ stfs f0, 0x23c(r30) lbl_80195718: /* 80195718 00192678 C0 3E 02 3C */ lfs f1, 0x23c(r30) /* 8019571C 0019267C C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80195720 00192680 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80195724 00192684 40 81 00 60 */ ble lbl_80195784 /* 80195728 00192688 C0 0D 8F C0 */ lfs f0, lbl_805A7B80@sda21(r13) /* 8019572C 0019268C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80195730 00192690 40 80 00 0C */ bge lbl_8019573C /* 80195734 00192694 38 7E 02 3C */ addi r3, r30, 0x23c /* 80195738 00192698 48 00 00 08 */ b lbl_80195740 lbl_8019573C: /* 8019573C 0019269C 38 6D 8F C0 */ addi r3, r13, lbl_805A7B80@sda21 lbl_80195740: /* 80195740 001926A0 C3 A3 00 00 */ lfs f29, 0(r3) /* 80195744 001926A4 48 1B 48 69 */ bl White__6CColorFv /* 80195748 001926A8 C0 02 A6 7C */ lfs f0, lbl_805AC39C@sda21(r2) /* 8019574C 001926AC EF E0 07 72 */ fmuls f31, f0, f29 /* 80195750 001926B0 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 /* 80195754 001926B4 38 81 00 28 */ addi r4, r1, 0x28 /* 80195758 001926B8 80 63 00 00 */ lwz r3, 0(r3) /* 8019575C 001926BC 88 01 00 10 */ lbz r0, 0x10(r1) /* 80195760 001926C0 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80195764 001926C4 90 01 00 28 */ stw r0, 0x28(r1) /* 80195768 001926C8 80 7E 02 58 */ lwz r3, 0x258(r30) /* 8019576C 001926CC 48 13 51 01 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80195770 001926D0 80 7E 02 58 */ lwz r3, 0x258(r30) /* 80195774 001926D4 38 80 00 01 */ li r4, 1 /* 80195778 001926D8 38 A0 00 01 */ li r5, 1 /* 8019577C 001926DC 48 13 4F 6D */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80195780 001926E0 48 00 00 14 */ b lbl_80195794 lbl_80195784: /* 80195784 001926E4 80 7E 02 58 */ lwz r3, 0x258(r30) /* 80195788 001926E8 38 80 00 00 */ li r4, 0 /* 8019578C 001926EC 38 A0 00 01 */ li r5, 1 /* 80195790 001926F0 48 13 4F 59 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode lbl_80195794: /* 80195794 001926F4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 80195798 001926F8 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 8019579C 001926FC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801957A0 00192700 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801957A4 00192704 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801957A8 00192708 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801957AC 0019270C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 801957B0 00192710 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 801957B4 00192714 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801957B8 00192718 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801957BC 0019271C 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801957C0 00192720 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801957C4 00192724 83 81 00 90 */ lwz r28, 0x90(r1) /* 801957C8 00192728 7C 08 03 A6 */ mtlr r0 /* 801957CC 0019272C 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801957D0 00192730 4E 80 00 20 */ blr .global UpdateCameraDebugSettings__21CHudDecoInterfaceScanFfff UpdateCameraDebugSettings__21CHudDecoInterfaceScanFfff: /* 801957D4 00192734 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801957D8 00192738 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 801957DC 0019273C 81 43 02 44 */ lwz r10, 0x244(r3) /* 801957E0 00192740 81 2A 00 BC */ lwz r9, 0xbc(r10) /* 801957E4 00192744 81 0A 00 C0 */ lwz r8, 0xc0(r10) /* 801957E8 00192748 91 21 00 20 */ stw r9, 0x20(r1) /* 801957EC 0019274C 80 EA 00 C4 */ lwz r7, 0xc4(r10) /* 801957F0 00192750 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801957F4 00192754 80 CA 00 C8 */ lwz r6, 0xc8(r10) /* 801957F8 00192758 80 AA 00 CC */ lwz r5, 0xcc(r10) /* 801957FC 0019275C 80 8A 00 D0 */ lwz r4, 0xd0(r10) /* 80195800 00192760 80 01 00 20 */ lwz r0, 0x20(r1) /* 80195804 00192764 91 21 00 08 */ stw r9, 8(r1) /* 80195808 00192768 90 0A 00 BC */ stw r0, 0xbc(r10) /* 8019580C 0019276C 91 0A 00 C0 */ stw r8, 0xc0(r10) /* 80195810 00192770 90 EA 00 C4 */ stw r7, 0xc4(r10) /* 80195814 00192774 90 CA 00 C8 */ stw r6, 0xc8(r10) /* 80195818 00192778 90 AA 00 CC */ stw r5, 0xcc(r10) /* 8019581C 0019277C 90 8A 00 D0 */ stw r4, 0xd0(r10) /* 80195820 00192780 D0 03 02 0C */ stfs f0, 0x20c(r3) /* 80195824 00192784 D0 43 02 10 */ stfs f2, 0x210(r3) /* 80195828 00192788 91 01 00 0C */ stw r8, 0xc(r1) /* 8019582C 0019278C 90 E1 00 10 */ stw r7, 0x10(r1) /* 80195830 00192790 90 C1 00 14 */ stw r6, 0x14(r1) /* 80195834 00192794 90 A1 00 18 */ stw r5, 0x18(r1) /* 80195838 00192798 90 81 00 1C */ stw r4, 0x1c(r1) /* 8019583C 0019279C 91 01 00 24 */ stw r8, 0x24(r1) /* 80195840 001927A0 90 E1 00 28 */ stw r7, 0x28(r1) /* 80195844 001927A4 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80195848 001927A8 90 A1 00 30 */ stw r5, 0x30(r1) /* 8019584C 001927AC 90 81 00 34 */ stw r4, 0x34(r1) /* 80195850 001927B0 D0 63 02 14 */ stfs f3, 0x214(r3) /* 80195854 001927B4 38 21 00 40 */ addi r1, r1, 0x40 /* 80195858 001927B8 4E 80 00 20 */ blr .global ProcessInput__21CHudDecoInterfaceScanFRC11CFinalInput ProcessInput__21CHudDecoInterfaceScanFRC11CFinalInput: /* 8019585C 001927BC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80195860 001927C0 7C 08 02 A6 */ mflr r0 /* 80195864 001927C4 38 63 00 18 */ addi r3, r3, 0x18 /* 80195868 001927C8 90 01 00 14 */ stw r0, 0x14(r1) /* 8019586C 001927CC 4B FD D4 D9 */ bl ProcessInput__12CScanDisplayFRC11CFinalInput /* 80195870 001927D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80195874 001927D4 7C 08 03 A6 */ mtlr r0 /* 80195878 001927D8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019587C 001927DC 4E 80 00 20 */ blr .global Draw__21CHudDecoInterfaceScanCFv Draw__21CHudDecoInterfaceScanCFv: /* 80195880 001927E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80195884 001927E4 7C 08 02 A6 */ mflr r0 /* 80195888 001927E8 90 01 00 14 */ stw r0, 0x14(r1) /* 8019588C 001927EC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80195890 001927F0 7C 7F 1B 78 */ mr r31, r3 /* 80195894 001927F4 38 7F 00 18 */ addi r3, r31, 0x18 /* 80195898 001927F8 4B FD D3 A9 */ bl Draw__12CScanDisplayCFv /* 8019589C 001927FC 80 7F 00 10 */ lwz r3, 0x10(r31) /* 801958A0 00192800 28 03 00 00 */ cmplwi r3, 0 /* 801958A4 00192804 41 82 00 10 */ beq lbl_801958B4 /* 801958A8 00192808 3C 80 80 5A */ lis r4, lbl_8059FD08@ha /* 801958AC 0019280C 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l /* 801958B0 00192810 48 12 CE 85 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms lbl_801958B4: /* 801958B4 00192814 80 01 00 14 */ lwz r0, 0x14(r1) /* 801958B8 00192818 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801958BC 0019281C 7C 08 03 A6 */ mtlr r0 /* 801958C0 00192820 38 21 00 10 */ addi r1, r1, 0x10 /* 801958C4 00192824 4E 80 00 20 */ blr .global Update__21CHudDecoInterfaceScanFfRC13CStateManager Update__21CHudDecoInterfaceScanFfRC13CStateManager: /* 801958C8 00192828 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801958CC 0019282C 7C 08 02 A6 */ mflr r0 /* 801958D0 00192830 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801958D4 00192834 DB E1 00 90 */ stfd f31, 0x90(r1) /* 801958D8 00192838 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801958DC 0019283C 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801958E0 00192840 93 C1 00 88 */ stw r30, 0x88(r1) /* 801958E4 00192844 7C 9F 23 78 */ mr r31, r4 /* 801958E8 00192848 FF E0 08 90 */ fmr f31, f1 /* 801958EC 0019284C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801958F0 00192850 7C 7E 1B 78 */ mr r30, r3 /* 801958F4 00192854 80 04 03 A8 */ lwz r0, 0x3a8(r4) /* 801958F8 00192858 2C 00 00 00 */ cmpwi r0, 0 /* 801958FC 0019285C 41 82 00 0C */ beq lbl_80195908 /* 80195900 00192860 C0 04 03 AC */ lfs f0, 0x3ac(r4) /* 80195904 00192864 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) lbl_80195908: /* 80195908 00192868 2C 00 00 01 */ cmpwi r0, 1 /* 8019590C 0019286C 41 82 00 0C */ beq lbl_80195918 /* 80195910 00192870 2C 00 00 02 */ cmpwi r0, 2 /* 80195914 00192874 40 82 00 30 */ bne lbl_80195944 lbl_80195918: /* 80195918 00192878 C0 1E 02 30 */ lfs f0, 0x230(r30) /* 8019591C 0019287C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80195920 00192880 EC 20 F8 2A */ fadds f1, f0, f31 /* 80195924 00192884 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80195928 00192888 C4 03 02 28 */ lfsu f0, 0x228(r3) /* 8019592C 0019288C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80195930 00192890 40 80 00 08 */ bge lbl_80195938 /* 80195934 00192894 38 61 00 0C */ addi r3, r1, 0xc lbl_80195938: /* 80195938 00192898 C0 03 00 00 */ lfs f0, 0(r3) /* 8019593C 0019289C D0 1E 02 30 */ stfs f0, 0x230(r30) /* 80195940 001928A0 48 00 00 30 */ b lbl_80195970 lbl_80195944: /* 80195944 001928A4 C0 3E 02 30 */ lfs f1, 0x230(r30) /* 80195948 001928A8 C0 0D 8F AC */ lfs f0, lbl_805A7B6C@sda21(r13) /* 8019594C 001928AC EC 21 F8 28 */ fsubs f1, f1, f31 /* 80195950 001928B0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80195954 001928B4 D0 21 00 08 */ stfs f1, 8(r1) /* 80195958 001928B8 40 80 00 0C */ bge lbl_80195964 /* 8019595C 001928BC 38 61 00 08 */ addi r3, r1, 8 /* 80195960 001928C0 48 00 00 08 */ b lbl_80195968 lbl_80195964: /* 80195964 001928C4 38 6D 8F AC */ addi r3, r13, lbl_805A7B6C@sda21 lbl_80195968: /* 80195968 001928C8 C0 03 00 00 */ lfs f0, 0(r3) /* 8019596C 001928CC D0 1E 02 30 */ stfs f0, 0x230(r30) lbl_80195970: /* 80195970 001928D0 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80195974 001928D4 C0 1E 02 30 */ lfs f0, 0x230(r30) /* 80195978 001928D8 C0 23 02 24 */ lfs f1, 0x224(r3) /* 8019597C 001928DC C0 9E 02 34 */ lfs f4, 0x234(r30) /* 80195980 001928E0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80195984 001928E4 C0 43 02 20 */ lfs f2, 0x220(r3) /* 80195988 001928E8 40 80 00 0C */ bge lbl_80195994 /* 8019598C 001928EC C0 62 A6 6C */ lfs f3, lbl_805AC38C@sda21(r2) /* 80195990 001928F0 48 00 00 0C */ b lbl_8019599C lbl_80195994: /* 80195994 001928F4 EC 00 08 28 */ fsubs f0, f0, f1 /* 80195998 001928F8 EC 60 10 24 */ fdivs f3, f0, f2 lbl_8019599C: /* 8019599C 001928FC C0 22 A6 68 */ lfs f1, lbl_805AC388@sda21(r2) /* 801959A0 00192900 C0 03 02 18 */ lfs f0, 0x218(r3) /* 801959A4 00192904 EC 41 18 28 */ fsubs f2, f1, f3 /* 801959A8 00192908 C0 23 02 70 */ lfs f1, 0x270(r3) /* 801959AC 0019290C EC 03 00 32 */ fmuls f0, f3, f0 /* 801959B0 00192910 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801959B4 00192914 D0 1E 02 34 */ stfs f0, 0x234(r30) /* 801959B8 00192918 C0 3E 02 34 */ lfs f1, 0x234(r30) /* 801959BC 0019291C FC 04 08 00 */ fcmpu cr0, f4, f1 /* 801959C0 00192920 41 82 00 AC */ beq lbl_80195A6C /* 801959C4 00192924 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 801959C8 00192928 38 61 00 34 */ addi r3, r1, 0x34 /* 801959CC 0019292C D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801959D0 00192930 38 A1 00 4C */ addi r5, r1, 0x4c /* 801959D4 00192934 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801959D8 00192938 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801959DC 0019293C 80 9E 02 4C */ lwz r4, 0x24c(r30) /* 801959E0 00192940 48 12 F7 15 */ bl RotateO2P__10CGuiObjectCFRC9CVector3f /* 801959E4 00192944 C0 3E 02 1C */ lfs f1, 0x21c(r30) /* 801959E8 00192948 38 81 00 40 */ addi r4, r1, 0x40 /* 801959EC 0019294C C0 01 00 38 */ lfs f0, 0x38(r1) /* 801959F0 00192950 C0 7E 02 20 */ lfs f3, 0x220(r30) /* 801959F4 00192954 C0 41 00 3C */ lfs f2, 0x3c(r1) /* 801959F8 00192958 EC 81 00 2A */ fadds f4, f1, f0 /* 801959FC 0019295C C0 3E 02 18 */ lfs f1, 0x218(r30) /* 80195A00 00192960 C0 01 00 34 */ lfs f0, 0x34(r1) /* 80195A04 00192964 EC 43 10 2A */ fadds f2, f3, f2 /* 80195A08 00192968 D0 81 00 44 */ stfs f4, 0x44(r1) /* 80195A0C 0019296C EC 01 00 2A */ fadds f0, f1, f0 /* 80195A10 00192970 D0 41 00 48 */ stfs f2, 0x48(r1) /* 80195A14 00192974 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80195A18 00192978 80 7E 02 4C */ lwz r3, 0x24c(r30) /* 80195A1C 0019297C 48 12 F7 AD */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f /* 80195A20 00192980 80 9E 02 50 */ lwz r4, 0x250(r30) /* 80195A24 00192984 38 61 00 1C */ addi r3, r1, 0x1c /* 80195A28 00192988 38 A1 00 4C */ addi r5, r1, 0x4c /* 80195A2C 0019298C 48 12 F6 C9 */ bl RotateO2P__10CGuiObjectCFRC9CVector3f /* 80195A30 00192990 C0 3E 02 28 */ lfs f1, 0x228(r30) /* 80195A34 00192994 38 81 00 28 */ addi r4, r1, 0x28 /* 80195A38 00192998 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80195A3C 0019299C C0 7E 02 2C */ lfs f3, 0x22c(r30) /* 80195A40 001929A0 C0 41 00 24 */ lfs f2, 0x24(r1) /* 80195A44 001929A4 EC 81 00 28 */ fsubs f4, f1, f0 /* 80195A48 001929A8 C0 3E 02 24 */ lfs f1, 0x224(r30) /* 80195A4C 001929AC C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80195A50 001929B0 EC 43 10 28 */ fsubs f2, f3, f2 /* 80195A54 001929B4 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 80195A58 001929B8 EC 01 00 28 */ fsubs f0, f1, f0 /* 80195A5C 001929BC D0 41 00 30 */ stfs f2, 0x30(r1) /* 80195A60 001929C0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80195A64 001929C4 80 7E 02 50 */ lwz r3, 0x250(r30) /* 80195A68 001929C8 48 12 F7 61 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f lbl_80195A6C: /* 80195A6C 001929CC C0 3E 01 F8 */ lfs f1, 0x1f8(r30) /* 80195A70 001929D0 38 61 00 58 */ addi r3, r1, 0x58 /* 80195A74 001929D4 C0 1E 02 04 */ lfs f0, 0x204(r30) /* 80195A78 001929D8 38 9E 01 E4 */ addi r4, r30, 0x1e4 /* 80195A7C 001929DC C0 7E 01 FC */ lfs f3, 0x1fc(r30) /* 80195A80 001929E0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80195A84 001929E4 C0 5E 02 08 */ lfs f2, 0x208(r30) /* 80195A88 001929E8 EC 81 00 2A */ fadds f4, f1, f0 /* 80195A8C 001929EC C0 3E 01 F4 */ lfs f1, 0x1f4(r30) /* 80195A90 001929F0 38 DE 02 0C */ addi r6, r30, 0x20c /* 80195A94 001929F4 C0 1E 02 00 */ lfs f0, 0x200(r30) /* 80195A98 001929F8 EC 43 10 2A */ fadds f2, f3, f2 /* 80195A9C 001929FC EC 01 00 2A */ fadds f0, f1, f0 /* 80195AA0 00192A00 D0 81 00 14 */ stfs f4, 0x14(r1) /* 80195AA4 00192A04 D0 41 00 18 */ stfs f2, 0x18(r1) /* 80195AA8 00192A08 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80195AAC 00192A0C 4B ED 7A F5 */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f /* 80195AB0 00192A10 80 7E 02 44 */ lwz r3, 0x244(r30) /* 80195AB4 00192A14 38 81 00 58 */ addi r4, r1, 0x58 /* 80195AB8 00192A18 48 12 EC 81 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 80195ABC 00192A1C 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80195AC0 00192A20 28 00 00 00 */ cmplwi r0, 0 /* 80195AC4 00192A24 40 82 00 78 */ bne lbl_80195B3C /* 80195AC8 00192A28 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80195ACC 00192A2C 28 00 00 00 */ cmplwi r0, 0 /* 80195AD0 00192A30 41 82 00 0C */ beq lbl_80195ADC /* 80195AD4 00192A34 38 60 00 01 */ li r3, 1 /* 80195AD8 00192A38 48 00 00 3C */ b lbl_80195B14 lbl_80195ADC: /* 80195ADC 00192A3C 88 1E 00 08 */ lbz r0, 8(r30) /* 80195AE0 00192A40 28 00 00 00 */ cmplwi r0, 0 /* 80195AE4 00192A44 41 82 00 2C */ beq lbl_80195B10 /* 80195AE8 00192A48 80 7E 00 04 */ lwz r3, 4(r30) /* 80195AEC 00192A4C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80195AF0 00192A50 28 00 00 00 */ cmplwi r0, 0 /* 80195AF4 00192A54 41 82 00 1C */ beq lbl_80195B10 /* 80195AF8 00192A58 38 7E 00 04 */ addi r3, r30, 4 /* 80195AFC 00192A5C 48 1A B3 11 */ bl GetObj__6CTokenFv /* 80195B00 00192A60 80 03 00 04 */ lwz r0, 4(r3) /* 80195B04 00192A64 38 60 00 01 */ li r3, 1 /* 80195B08 00192A68 90 1E 00 0C */ stw r0, 0xc(r30) /* 80195B0C 00192A6C 48 00 00 08 */ b lbl_80195B14 lbl_80195B10: /* 80195B10 00192A70 38 60 00 00 */ li r3, 0 lbl_80195B14: /* 80195B14 00192A74 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80195B18 00192A78 41 82 00 40 */ beq lbl_80195B58 /* 80195B1C 00192A7C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80195B20 00192A80 48 12 CA 31 */ bl GetIsFinishedLoading__9CGuiFrameCFv /* 80195B24 00192A84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80195B28 00192A88 41 82 00 30 */ beq lbl_80195B58 /* 80195B2C 00192A8C 7F C3 F3 78 */ mr r3, r30 /* 80195B30 00192A90 48 00 00 49 */ bl InitializeFlatFrame__21CHudDecoInterfaceScanFv /* 80195B34 00192A94 48 00 00 08 */ b lbl_80195B3C /* 80195B38 00192A98 48 00 00 20 */ b lbl_80195B58 lbl_80195B3C: /* 80195B3C 00192A9C FC 20 F8 90 */ fmr f1, f31 /* 80195B40 00192AA0 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195B44 00192AA4 48 12 CB C1 */ bl Update__9CGuiFrameFf /* 80195B48 00192AA8 FC 20 F8 90 */ fmr f1, f31 /* 80195B4C 00192AAC 7F C3 F3 78 */ mr r3, r30 /* 80195B50 00192AB0 7F E4 FB 78 */ mr r4, r31 /* 80195B54 00192AB4 4B FF F7 69 */ bl UpdateScanDisplay__21CHudDecoInterfaceScanFRC13CStateManagerf lbl_80195B58: /* 80195B58 00192AB8 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 80195B5C 00192ABC 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80195B60 00192AC0 CB E1 00 90 */ lfd f31, 0x90(r1) /* 80195B64 00192AC4 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 80195B68 00192AC8 83 C1 00 88 */ lwz r30, 0x88(r1) /* 80195B6C 00192ACC 7C 08 03 A6 */ mtlr r0 /* 80195B70 00192AD0 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80195B74 00192AD4 4E 80 00 20 */ blr .global InitializeFlatFrame__21CHudDecoInterfaceScanFv InitializeFlatFrame__21CHudDecoInterfaceScanFv: /* 80195B78 00192AD8 94 21 FF 70 */ stwu r1, -0x90(r1) /* 80195B7C 00192ADC 7C 08 02 A6 */ mflr r0 /* 80195B80 00192AE0 90 01 00 94 */ stw r0, 0x94(r1) /* 80195B84 00192AE4 BF 61 00 7C */ stmw r27, 0x7c(r1) /* 80195B88 00192AE8 7C 7E 1B 78 */ mr r30, r3 /* 80195B8C 00192AEC 3C 60 80 3D */ lis r3, lbl_803D0F10@ha /* 80195B90 00192AF0 3B E3 0F 10 */ addi r31, r3, lbl_803D0F10@l /* 80195B94 00192AF4 38 9E 02 0C */ addi r4, r30, 0x20c /* 80195B98 00192AF8 38 61 00 3C */ addi r3, r1, 0x3c /* 80195B9C 00192AFC 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80195BA0 00192B00 90 1E 00 10 */ stw r0, 0x10(r30) /* 80195BA4 00192B04 80 BE 02 44 */ lwz r5, 0x244(r30) /* 80195BA8 00192B08 80 DE 00 10 */ lwz r6, 0x10(r30) /* 80195BAC 00192B0C 80 05 00 BC */ lwz r0, 0xbc(r5) /* 80195BB0 00192B10 83 66 00 14 */ lwz r27, 0x14(r6) /* 80195BB4 00192B14 90 01 00 0C */ stw r0, 0xc(r1) /* 80195BB8 00192B18 80 1B 00 BC */ lwz r0, 0xbc(r27) /* 80195BBC 00192B1C C0 01 00 0C */ lfs f0, 0xc(r1) /* 80195BC0 00192B20 90 01 00 24 */ stw r0, 0x24(r1) /* 80195BC4 00192B24 83 9B 00 C0 */ lwz r28, 0xc0(r27) /* 80195BC8 00192B28 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80195BCC 00192B2C 83 BB 00 C4 */ lwz r29, 0xc4(r27) /* 80195BD0 00192B30 81 9B 00 C8 */ lwz r12, 0xc8(r27) /* 80195BD4 00192B34 81 7B 00 CC */ lwz r11, 0xcc(r27) /* 80195BD8 00192B38 81 5B 00 D0 */ lwz r10, 0xd0(r27) /* 80195BDC 00192B3C 81 25 00 C0 */ lwz r9, 0xc0(r5) /* 80195BE0 00192B40 81 05 00 C4 */ lwz r8, 0xc4(r5) /* 80195BE4 00192B44 80 E5 00 C8 */ lwz r7, 0xc8(r5) /* 80195BE8 00192B48 80 C5 00 CC */ lwz r6, 0xcc(r5) /* 80195BEC 00192B4C 80 A5 00 D0 */ lwz r5, 0xd0(r5) /* 80195BF0 00192B50 80 01 00 24 */ lwz r0, 0x24(r1) /* 80195BF4 00192B54 93 81 00 28 */ stw r28, 0x28(r1) /* 80195BF8 00192B58 90 1B 00 BC */ stw r0, 0xbc(r27) /* 80195BFC 00192B5C 93 9B 00 C0 */ stw r28, 0xc0(r27) /* 80195C00 00192B60 93 BB 00 C4 */ stw r29, 0xc4(r27) /* 80195C04 00192B64 91 9B 00 C8 */ stw r12, 0xc8(r27) /* 80195C08 00192B68 91 7B 00 CC */ stw r11, 0xcc(r27) /* 80195C0C 00192B6C 93 A1 00 2C */ stw r29, 0x2c(r1) /* 80195C10 00192B70 91 81 00 30 */ stw r12, 0x30(r1) /* 80195C14 00192B74 91 61 00 34 */ stw r11, 0x34(r1) /* 80195C18 00192B78 91 41 00 38 */ stw r10, 0x38(r1) /* 80195C1C 00192B7C 91 21 00 10 */ stw r9, 0x10(r1) /* 80195C20 00192B80 91 01 00 14 */ stw r8, 0x14(r1) /* 80195C24 00192B84 90 E1 00 18 */ stw r7, 0x18(r1) /* 80195C28 00192B88 90 C1 00 1C */ stw r6, 0x1c(r1) /* 80195C2C 00192B8C 90 A1 00 20 */ stw r5, 0x20(r1) /* 80195C30 00192B90 91 5B 00 D0 */ stw r10, 0xd0(r27) /* 80195C34 00192B94 48 17 D5 0D */ bl Translate__12CTransform4fFRC9CVector3f /* 80195C38 00192B98 7F 63 DB 78 */ mr r3, r27 /* 80195C3C 00192B9C 38 81 00 3C */ addi r4, r1, 0x3c /* 80195C40 00192BA0 48 12 EA F9 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 80195C44 00192BA4 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195C48 00192BA8 38 9F 01 50 */ addi r4, r31, 0x150 /* 80195C4C 00192BAC 48 12 C5 09 */ bl FindWidget__9CGuiFrameCFPCc /* 80195C50 00192BB0 90 7E 02 58 */ stw r3, 0x258(r30) /* 80195C54 00192BB4 38 80 00 00 */ li r4, 0 /* 80195C58 00192BB8 38 A0 00 01 */ li r5, 1 /* 80195C5C 00192BBC 80 7E 02 58 */ lwz r3, 0x258(r30) /* 80195C60 00192BC0 48 13 4A 89 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80195C64 00192BC4 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195C68 00192BC8 38 9F 01 24 */ addi r4, r31, 0x124 /* 80195C6C 00192BCC 48 12 C4 E9 */ bl FindWidget__9CGuiFrameCFPCc /* 80195C70 00192BD0 90 7E 02 54 */ stw r3, 0x254(r30) /* 80195C74 00192BD4 38 9F 01 38 */ addi r4, r31, 0x138 /* 80195C78 00192BD8 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195C7C 00192BDC 48 12 C4 D9 */ bl FindWidget__9CGuiFrameCFPCc /* 80195C80 00192BE0 90 7E 02 5C */ stw r3, 0x25c(r30) /* 80195C84 00192BE4 38 9F 01 80 */ addi r4, r31, 0x180 /* 80195C88 00192BE8 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195C8C 00192BEC 48 12 C4 C9 */ bl FindWidget__9CGuiFrameCFPCc /* 80195C90 00192BF0 90 7E 02 64 */ stw r3, 0x264(r30) /* 80195C94 00192BF4 38 9F 01 94 */ addi r4, r31, 0x194 /* 80195C98 00192BF8 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195C9C 00192BFC 48 12 C4 B9 */ bl FindWidget__9CGuiFrameCFPCc /* 80195CA0 00192C00 90 7E 02 68 */ stw r3, 0x268(r30) /* 80195CA4 00192C04 38 9F 01 68 */ addi r4, r31, 0x168 /* 80195CA8 00192C08 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195CAC 00192C0C 48 12 C4 A9 */ bl FindWidget__9CGuiFrameCFPCc /* 80195CB0 00192C10 90 7E 02 60 */ stw r3, 0x260(r30) /* 80195CB4 00192C14 38 9F 01 AC */ addi r4, r31, 0x1ac /* 80195CB8 00192C18 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195CBC 00192C1C 48 12 C4 99 */ bl FindWidget__9CGuiFrameCFPCc /* 80195CC0 00192C20 90 7E 02 6C */ stw r3, 0x26c(r30) /* 80195CC4 00192C24 38 9F 01 B8 */ addi r4, r31, 0x1b8 /* 80195CC8 00192C28 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195CCC 00192C2C 48 12 C4 89 */ bl FindWidget__9CGuiFrameCFPCc /* 80195CD0 00192C30 90 7E 02 70 */ stw r3, 0x270(r30) /* 80195CD4 00192C34 38 9F 01 C8 */ addi r4, r31, 0x1c8 /* 80195CD8 00192C38 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80195CDC 00192C3C 48 12 C4 79 */ bl FindWidget__9CGuiFrameCFPCc /* 80195CE0 00192C40 90 7E 02 74 */ stw r3, 0x274(r30) /* 80195CE4 00192C44 38 80 00 00 */ li r4, 0 /* 80195CE8 00192C48 38 A0 00 01 */ li r5, 1 /* 80195CEC 00192C4C 80 7E 02 60 */ lwz r3, 0x260(r30) /* 80195CF0 00192C50 48 13 49 F9 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80195CF4 00192C54 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195CF8 00192C58 38 80 00 00 */ li r4, 0 /* 80195CFC 00192C5C 48 13 49 31 */ bl SetIsVisible__10CGuiWidgetFb /* 80195D00 00192C60 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195D04 00192C64 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195D08 00192C68 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80195D0C 00192C6C 38 84 00 14 */ addi r4, r4, 0x14 /* 80195D10 00192C70 48 13 39 59 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80195D14 00192C74 80 7E 02 54 */ lwz r3, 0x254(r30) /* 80195D18 00192C78 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80195D1C 00192C7C 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80195D20 00192C80 38 84 00 18 */ addi r4, r4, 0x18 /* 80195D24 00192C84 48 13 38 F5 */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor /* 80195D28 00192C88 3C 80 80 2D */ lis r4, DownloadBarCoordFunc__16CAuiEnergyBarT01Ff@ha /* 80195D2C 00192C8C 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195D30 00192C90 38 04 B6 30 */ addi r0, r4, DownloadBarCoordFunc__16CAuiEnergyBarT01Ff@l /* 80195D34 00192C94 C0 22 A6 68 */ lfs f1, lbl_805AC388@sda21(r2) /* 80195D38 00192C98 90 03 00 D8 */ stw r0, 0xd8(r3) /* 80195D3C 00192C9C 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195D40 00192CA0 D0 23 00 DC */ stfs f1, 0xdc(r3) /* 80195D44 00192CA4 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195D48 00192CA8 48 13 5C 21 */ bl SetMaxEnergy__16CAuiEnergyBarT01Ff /* 80195D4C 00192CAC 38 00 00 67 */ li r0, 0x67 /* 80195D50 00192CB0 38 A0 00 AE */ li r5, 0xae /* 80195D54 00192CB4 38 E0 00 E1 */ li r7, 0xe1 /* 80195D58 00192CB8 38 C0 00 FF */ li r6, 0xff /* 80195D5C 00192CBC 98 01 00 08 */ stb r0, 8(r1) /* 80195D60 00192CC0 38 00 00 00 */ li r0, 0 /* 80195D64 00192CC4 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195D68 00192CC8 38 80 00 00 */ li r4, 0 /* 80195D6C 00192CCC 98 A1 00 09 */ stb r5, 9(r1) /* 80195D70 00192CD0 38 A0 00 01 */ li r5, 1 /* 80195D74 00192CD4 C0 22 A6 8C */ lfs f1, lbl_805AC3AC@sda21(r2) /* 80195D78 00192CD8 98 E1 00 0A */ stb r7, 0xa(r1) /* 80195D7C 00192CDC C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80195D80 00192CE0 98 C1 00 0B */ stb r6, 0xb(r1) /* 80195D84 00192CE4 80 C1 00 08 */ lwz r6, 8(r1) /* 80195D88 00192CE8 90 C3 00 D0 */ stw r6, 0xd0(r3) /* 80195D8C 00192CEC 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195D90 00192CF0 90 03 00 D4 */ stw r0, 0xd4(r3) /* 80195D94 00192CF4 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195D98 00192CF8 90 03 00 CC */ stw r0, 0xcc(r3) /* 80195D9C 00192CFC 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195DA0 00192D00 D0 23 00 E4 */ stfs f1, 0xe4(r3) /* 80195DA4 00192D04 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195DA8 00192D08 D0 23 00 E8 */ stfs f1, 0xe8(r3) /* 80195DAC 00192D0C 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195DB0 00192D10 D0 03 00 EC */ stfs f0, 0xec(r3) /* 80195DB4 00192D14 80 7E 02 5C */ lwz r3, 0x25c(r30) /* 80195DB8 00192D18 98 03 00 F0 */ stb r0, 0xf0(r3) /* 80195DBC 00192D1C 80 7E 02 6C */ lwz r3, 0x26c(r30) /* 80195DC0 00192D20 48 13 49 29 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80195DC4 00192D24 80 7E 02 70 */ lwz r3, 0x270(r30) /* 80195DC8 00192D28 38 80 00 00 */ li r4, 0 /* 80195DCC 00192D2C 38 A0 00 01 */ li r5, 1 /* 80195DD0 00192D30 48 13 49 19 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80195DD4 00192D34 80 7E 02 74 */ lwz r3, 0x274(r30) /* 80195DD8 00192D38 38 80 00 00 */ li r4, 0 /* 80195DDC 00192D3C 38 A0 00 01 */ li r5, 1 /* 80195DE0 00192D40 48 13 49 09 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80195DE4 00192D44 BB 61 00 7C */ lmw r27, 0x7c(r1) /* 80195DE8 00192D48 80 01 00 94 */ lwz r0, 0x94(r1) /* 80195DEC 00192D4C 7C 08 03 A6 */ mtlr r0 /* 80195DF0 00192D50 38 21 00 90 */ addi r1, r1, 0x90 /* 80195DF4 00192D54 4E 80 00 20 */ blr .global SetFrameColorValue__21CHudDecoInterfaceScanFf SetFrameColorValue__21CHudDecoInterfaceScanFf: /* 80195DF8 00192D58 4E 80 00 20 */ blr .global SetDamageTransform__21CHudDecoInterfaceScanFRC9CMatrix3fRC9CVector3f SetDamageTransform__21CHudDecoInterfaceScanFRC9CMatrix3fRC9CVector3f: /* 80195DFC 00192D5C 4E 80 00 20 */ blr .global SetHudOffset__21CHudDecoInterfaceScanFRC9CVector3f SetHudOffset__21CHudDecoInterfaceScanFRC9CVector3f: /* 80195E00 00192D60 C0 04 00 00 */ lfs f0, 0(r4) /* 80195E04 00192D64 D0 03 02 00 */ stfs f0, 0x200(r3) /* 80195E08 00192D68 C0 04 00 04 */ lfs f0, 4(r4) /* 80195E0C 00192D6C D0 03 02 04 */ stfs f0, 0x204(r3) /* 80195E10 00192D70 C0 04 00 08 */ lfs f0, 8(r4) /* 80195E14 00192D74 D0 03 02 08 */ stfs f0, 0x208(r3) /* 80195E18 00192D78 4E 80 00 20 */ blr .global SetReticuleTransform__21CHudDecoInterfaceScanFRC9CMatrix3f SetReticuleTransform__21CHudDecoInterfaceScanFRC9CMatrix3f: /* 80195E1C 00192D7C 4E 80 00 20 */ blr .global SetHudRotation__21CHudDecoInterfaceScanFRC11CQuaternion SetHudRotation__21CHudDecoInterfaceScanFRC11CQuaternion: /* 80195E20 00192D80 C0 04 00 00 */ lfs f0, 0(r4) /* 80195E24 00192D84 D0 03 01 E4 */ stfs f0, 0x1e4(r3) /* 80195E28 00192D88 80 A4 00 04 */ lwz r5, 4(r4) /* 80195E2C 00192D8C 80 04 00 08 */ lwz r0, 8(r4) /* 80195E30 00192D90 90 A3 01 E8 */ stw r5, 0x1e8(r3) /* 80195E34 00192D94 90 03 01 EC */ stw r0, 0x1ec(r3) /* 80195E38 00192D98 80 04 00 0C */ lwz r0, 0xc(r4) /* 80195E3C 00192D9C 90 03 01 F0 */ stw r0, 0x1f0(r3) /* 80195E40 00192DA0 4E 80 00 20 */ blr .global UpdateVisibility__21CHudDecoInterfaceScanFv UpdateVisibility__21CHudDecoInterfaceScanFv: /* 80195E44 00192DA4 4E 80 00 20 */ blr .global SetIsVisibleGame__21CHudDecoInterfaceScanFb SetIsVisibleGame__21CHudDecoInterfaceScanFb: /* 80195E48 00192DA8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80195E4C 00192DAC 7C 08 02 A6 */ mflr r0 /* 80195E50 00192DB0 90 01 00 14 */ stw r0, 0x14(r1) /* 80195E54 00192DB4 88 03 02 40 */ lbz r0, 0x240(r3) /* 80195E58 00192DB8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80195E5C 00192DBC 98 03 02 40 */ stb r0, 0x240(r3) /* 80195E60 00192DC0 4B FF FF E5 */ bl UpdateVisibility__21CHudDecoInterfaceScanFv /* 80195E64 00192DC4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80195E68 00192DC8 7C 08 03 A6 */ mtlr r0 /* 80195E6C 00192DCC 38 21 00 10 */ addi r1, r1, 0x10 /* 80195E70 00192DD0 4E 80 00 20 */ blr .global SetIsVisibleDebug__21CHudDecoInterfaceScanFb SetIsVisibleDebug__21CHudDecoInterfaceScanFb: /* 80195E74 00192DD4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80195E78 00192DD8 7C 08 02 A6 */ mflr r0 /* 80195E7C 00192DDC 90 01 00 14 */ stw r0, 0x14(r1) /* 80195E80 00192DE0 88 03 02 40 */ lbz r0, 0x240(r3) /* 80195E84 00192DE4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80195E88 00192DE8 98 03 02 40 */ stb r0, 0x240(r3) /* 80195E8C 00192DEC 4B FF FF B9 */ bl UpdateVisibility__21CHudDecoInterfaceScanFv /* 80195E90 00192DF0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80195E94 00192DF4 7C 08 03 A6 */ mtlr r0 /* 80195E98 00192DF8 38 21 00 10 */ addi r1, r1, 0x10 /* 80195E9C 00192DFC 4E 80 00 20 */ blr .global UpdateHudAlpha__21CHudDecoInterfaceScanFv UpdateHudAlpha__21CHudDecoInterfaceScanFv: /* 80195EA0 00192E00 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80195EA4 00192E04 7C 08 02 A6 */ mflr r0 /* 80195EA8 00192E08 90 01 00 44 */ stw r0, 0x44(r1) /* 80195EAC 00192E0C DB E1 00 30 */ stfd f31, 0x30(r1) /* 80195EB0 00192E10 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 80195EB4 00192E14 DB C1 00 20 */ stfd f30, 0x20(r1) /* 80195EB8 00192E18 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 80195EBC 00192E1C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80195EC0 00192E20 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 80195EC4 00192E24 7C 7F 1B 78 */ mr r31, r3 /* 80195EC8 00192E28 38 64 01 7C */ addi r3, r4, 0x17c /* 80195ECC 00192E2C 48 07 8E A9 */ bl GetHudAlpha__12CGameOptionsCFv /* 80195ED0 00192E30 FF E0 08 90 */ fmr f31, f1 /* 80195ED4 00192E34 48 1B 40 D9 */ bl White__6CColorFv /* 80195ED8 00192E38 C0 02 A6 7C */ lfs f0, lbl_805AC39C@sda21(r2) /* 80195EDC 00192E3C EF C0 07 F2 */ fmuls f30, f0, f31 /* 80195EE0 00192E40 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 80195EE4 00192E44 38 81 00 0C */ addi r4, r1, 0xc /* 80195EE8 00192E48 80 63 00 00 */ lwz r3, 0(r3) /* 80195EEC 00192E4C 88 01 00 08 */ lbz r0, 8(r1) /* 80195EF0 00192E50 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80195EF4 00192E54 90 01 00 0C */ stw r0, 0xc(r1) /* 80195EF8 00192E58 80 7F 02 48 */ lwz r3, 0x248(r31) /* 80195EFC 00192E5C 48 13 49 71 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80195F00 00192E60 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80195F04 00192E64 CB E1 00 30 */ lfd f31, 0x30(r1) /* 80195F08 00192E68 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 80195F0C 00192E6C CB C1 00 20 */ lfd f30, 0x20(r1) /* 80195F10 00192E70 80 01 00 44 */ lwz r0, 0x44(r1) /* 80195F14 00192E74 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80195F18 00192E78 7C 08 03 A6 */ mtlr r0 /* 80195F1C 00192E7C 38 21 00 40 */ addi r1, r1, 0x40 /* 80195F20 00192E80 4E 80 00 20 */ blr .global __ct__21CHudDecoInterfaceScanFR9CGuiFrame __ct__21CHudDecoInterfaceScanFR9CGuiFrame: /* 80195F24 00192E84 94 21 FD 60 */ stwu r1, -0x2a0(r1) /* 80195F28 00192E88 7C 08 02 A6 */ mflr r0 /* 80195F2C 00192E8C 3C A0 80 3E */ lis r5, lbl_803DA2A4@ha /* 80195F30 00192E90 3C C0 80 3D */ lis r6, lbl_803D0F10@ha /* 80195F34 00192E94 90 01 02 A4 */ stw r0, 0x2a4(r1) /* 80195F38 00192E98 38 05 A2 A4 */ addi r0, r5, lbl_803DA2A4@l /* 80195F3C 00192E9C 93 E1 02 9C */ stw r31, 0x29c(r1) /* 80195F40 00192EA0 3B E6 0F 10 */ addi r31, r6, lbl_803D0F10@l /* 80195F44 00192EA4 93 C1 02 98 */ stw r30, 0x298(r1) /* 80195F48 00192EA8 7C 9E 23 78 */ mr r30, r4 /* 80195F4C 00192EAC 93 A1 02 94 */ stw r29, 0x294(r1) /* 80195F50 00192EB0 7C 7D 1B 78 */ mr r29, r3 /* 80195F54 00192EB4 3C 60 80 3E */ lis r3, lbl_803E450C@ha /* 80195F58 00192EB8 93 81 02 90 */ stw r28, 0x290(r1) /* 80195F5C 00192EBC 90 1D 00 00 */ stw r0, 0(r29) /* 80195F60 00192EC0 38 03 45 0C */ addi r0, r3, lbl_803E450C@l /* 80195F64 00192EC4 3C 60 80 3D */ lis r3, lbl_803D10E4@ha /* 80195F68 00192EC8 90 1D 00 00 */ stw r0, 0(r29) /* 80195F6C 00192ECC 38 A3 10 E4 */ addi r5, r3, lbl_803D10E4@l /* 80195F70 00192ED0 38 61 00 18 */ addi r3, r1, 0x18 /* 80195F74 00192ED4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80195F78 00192ED8 38 A5 00 8D */ addi r5, r5, 0x8d /* 80195F7C 00192EDC 81 84 00 00 */ lwz r12, 0(r4) /* 80195F80 00192EE0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80195F84 00192EE4 7D 89 03 A6 */ mtctr r12 /* 80195F88 00192EE8 4E 80 04 21 */ bctrl /* 80195F8C 00192EEC 3B 9D 00 04 */ addi r28, r29, 4 /* 80195F90 00192EF0 38 81 00 18 */ addi r4, r1, 0x18 /* 80195F94 00192EF4 7F 83 E3 78 */ mr r3, r28 /* 80195F98 00192EF8 48 1A AF 11 */ bl __ct__6CTokenFRC6CToken /* 80195F9C 00192EFC 38 00 00 00 */ li r0, 0 /* 80195FA0 00192F00 38 61 00 18 */ addi r3, r1, 0x18 /* 80195FA4 00192F04 90 1C 00 08 */ stw r0, 8(r28) /* 80195FA8 00192F08 38 80 FF FF */ li r4, -1 /* 80195FAC 00192F0C 48 1A AE 95 */ bl __dt__6CTokenFv /* 80195FB0 00192F10 38 00 00 00 */ li r0, 0 /* 80195FB4 00192F14 7F C4 F3 78 */ mr r4, r30 /* 80195FB8 00192F18 90 1D 00 10 */ stw r0, 0x10(r29) /* 80195FBC 00192F1C 38 7D 00 18 */ addi r3, r29, 0x18 /* 80195FC0 00192F20 93 DD 00 14 */ stw r30, 0x14(r29) /* 80195FC4 00192F24 4B FD E5 81 */ bl __ct__12CScanDisplayFv /* 80195FC8 00192F28 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) /* 80195FCC 00192F2C 3C 80 80 5A */ lis r4, lbl_805A6660@ha /* 80195FD0 00192F30 38 C4 66 60 */ addi r6, r4, lbl_805A6660@l /* 80195FD4 00192F34 38 00 00 00 */ li r0, 0 /* 80195FD8 00192F38 B0 BD 01 D0 */ sth r5, 0x1d0(r29) /* 80195FDC 00192F3C 3C 60 80 5A */ lis r3, skZero3f@ha /* 80195FE0 00192F40 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80195FE4 00192F44 C0 22 A6 6C */ lfs f1, lbl_805AC38C@sda21(r2) /* 80195FE8 00192F48 A0 ED A3 8C */ lhz r7, lbl_805A8F4C@sda21(r13) /* 80195FEC 00192F4C 38 80 00 01 */ li r4, 1 /* 80195FF0 00192F50 C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 80195FF4 00192F54 7F 83 E3 78 */ mr r3, r28 /* 80195FF8 00192F58 B0 FD 01 D2 */ sth r7, 0x1d2(r29) /* 80195FFC 00192F5C 90 1D 01 D4 */ stw r0, 0x1d4(r29) /* 80196000 00192F60 D0 3D 01 D8 */ stfs f1, 0x1d8(r29) /* 80196004 00192F64 D0 3D 01 DC */ stfs f1, 0x1dc(r29) /* 80196008 00192F68 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) /* 8019600C 00192F6C C0 06 00 00 */ lfs f0, 0(r6) /* 80196010 00192F70 D0 1D 01 E4 */ stfs f0, 0x1e4(r29) /* 80196014 00192F74 C0 06 00 04 */ lfs f0, 4(r6) /* 80196018 00192F78 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) /* 8019601C 00192F7C C0 06 00 08 */ lfs f0, 8(r6) /* 80196020 00192F80 D0 1D 01 EC */ stfs f0, 0x1ec(r29) /* 80196024 00192F84 C0 06 00 0C */ lfs f0, 0xc(r6) /* 80196028 00192F88 D0 1D 01 F0 */ stfs f0, 0x1f0(r29) /* 8019602C 00192F8C C0 05 00 00 */ lfs f0, 0(r5) /* 80196030 00192F90 D0 1D 01 F4 */ stfs f0, 0x1f4(r29) /* 80196034 00192F94 C0 05 00 04 */ lfs f0, 4(r5) /* 80196038 00192F98 D0 1D 01 F8 */ stfs f0, 0x1f8(r29) /* 8019603C 00192F9C C0 05 00 08 */ lfs f0, 8(r5) /* 80196040 00192FA0 D0 1D 01 FC */ stfs f0, 0x1fc(r29) /* 80196044 00192FA4 C0 05 00 00 */ lfs f0, 0(r5) /* 80196048 00192FA8 D0 1D 02 00 */ stfs f0, 0x200(r29) /* 8019604C 00192FAC C0 05 00 04 */ lfs f0, 4(r5) /* 80196050 00192FB0 D0 1D 02 04 */ stfs f0, 0x204(r29) /* 80196054 00192FB4 C0 05 00 08 */ lfs f0, 8(r5) /* 80196058 00192FB8 D0 1D 02 08 */ stfs f0, 0x208(r29) /* 8019605C 00192FBC C0 05 00 00 */ lfs f0, 0(r5) /* 80196060 00192FC0 D0 1D 02 0C */ stfs f0, 0x20c(r29) /* 80196064 00192FC4 C0 05 00 04 */ lfs f0, 4(r5) /* 80196068 00192FC8 D0 1D 02 10 */ stfs f0, 0x210(r29) /* 8019606C 00192FCC C0 05 00 08 */ lfs f0, 8(r5) /* 80196070 00192FD0 D0 1D 02 14 */ stfs f0, 0x214(r29) /* 80196074 00192FD4 C0 05 00 00 */ lfs f0, 0(r5) /* 80196078 00192FD8 D0 1D 02 18 */ stfs f0, 0x218(r29) /* 8019607C 00192FDC C0 05 00 04 */ lfs f0, 4(r5) /* 80196080 00192FE0 D0 1D 02 1C */ stfs f0, 0x21c(r29) /* 80196084 00192FE4 C0 05 00 08 */ lfs f0, 8(r5) /* 80196088 00192FE8 D0 1D 02 20 */ stfs f0, 0x220(r29) /* 8019608C 00192FEC C0 05 00 00 */ lfs f0, 0(r5) /* 80196090 00192FF0 D0 1D 02 24 */ stfs f0, 0x224(r29) /* 80196094 00192FF4 C0 05 00 04 */ lfs f0, 4(r5) /* 80196098 00192FF8 D0 1D 02 28 */ stfs f0, 0x228(r29) /* 8019609C 00192FFC C0 05 00 08 */ lfs f0, 8(r5) /* 801960A0 00193000 D0 1D 02 2C */ stfs f0, 0x22c(r29) /* 801960A4 00193004 D0 3D 02 30 */ stfs f1, 0x230(r29) /* 801960A8 00193008 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 801960AC 0019300C C0 05 02 70 */ lfs f0, 0x270(r5) /* 801960B0 00193010 D0 1D 02 34 */ stfs f0, 0x234(r29) /* 801960B4 00193014 D0 3D 02 38 */ stfs f1, 0x238(r29) /* 801960B8 00193018 D0 3D 02 3C */ stfs f1, 0x23c(r29) /* 801960BC 0019301C 88 1D 02 40 */ lbz r0, 0x240(r29) /* 801960C0 00193020 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801960C4 00193024 98 1D 02 40 */ stb r0, 0x240(r29) /* 801960C8 00193028 88 1D 02 40 */ lbz r0, 0x240(r29) /* 801960CC 0019302C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801960D0 00193030 98 1D 02 40 */ stb r0, 0x240(r29) /* 801960D4 00193034 48 1A AC B1 */ bl Lock__6CTokenFv /* 801960D8 00193038 80 1E 00 14 */ lwz r0, 0x14(r30) /* 801960DC 0019303C 38 61 00 50 */ addi r3, r1, 0x50 /* 801960E0 00193040 90 1D 02 44 */ stw r0, 0x244(r29) /* 801960E4 00193044 80 9D 02 44 */ lwz r4, 0x244(r29) /* 801960E8 00193048 48 12 F1 35 */ bl GetLocalPosition__10CGuiObjectCFv /* 801960EC 0019304C C0 01 00 50 */ lfs f0, 0x50(r1) /* 801960F0 00193050 7F C3 F3 78 */ mr r3, r30 /* 801960F4 00193054 38 9F 00 28 */ addi r4, r31, 0x28 /* 801960F8 00193058 D0 1D 02 0C */ stfs f0, 0x20c(r29) /* 801960FC 0019305C C0 01 00 54 */ lfs f0, 0x54(r1) /* 80196100 00193060 D0 1D 02 10 */ stfs f0, 0x210(r29) /* 80196104 00193064 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80196108 00193068 D0 1D 02 14 */ stfs f0, 0x214(r29) /* 8019610C 0019306C 48 12 C0 49 */ bl FindWidget__9CGuiFrameCFPCc /* 80196110 00193070 90 7D 02 48 */ stw r3, 0x248(r29) /* 80196114 00193074 7F C3 F3 78 */ mr r3, r30 /* 80196118 00193078 38 9F 00 64 */ addi r4, r31, 0x64 /* 8019611C 0019307C 48 12 C0 39 */ bl FindWidget__9CGuiFrameCFPCc /* 80196120 00193080 90 7D 02 4C */ stw r3, 0x24c(r29) /* 80196124 00193084 7F C3 F3 78 */ mr r3, r30 /* 80196128 00193088 38 9F 00 A8 */ addi r4, r31, 0xa8 /* 8019612C 0019308C 48 12 C0 29 */ bl FindWidget__9CGuiFrameCFPCc /* 80196130 00193090 90 7D 02 50 */ stw r3, 0x250(r29) /* 80196134 00193094 3C 60 80 3D */ lis r3, lbl_803D10E4@ha /* 80196138 00193098 38 83 10 E4 */ addi r4, r3, lbl_803D10E4@l /* 8019613C 0019309C 7F C3 F3 78 */ mr r3, r30 /* 80196140 001930A0 80 BD 02 48 */ lwz r5, 0x248(r29) /* 80196144 001930A4 38 84 00 44 */ addi r4, r4, 0x44 /* 80196148 001930A8 C0 45 00 A0 */ lfs f2, 0xa0(r5) /* 8019614C 001930AC C0 25 00 90 */ lfs f1, 0x90(r5) /* 80196150 001930B0 C0 05 00 80 */ lfs f0, 0x80(r5) /* 80196154 001930B4 D0 1D 01 F4 */ stfs f0, 0x1f4(r29) /* 80196158 001930B8 D0 3D 01 F8 */ stfs f1, 0x1f8(r29) /* 8019615C 001930BC D0 5D 01 FC */ stfs f2, 0x1fc(r29) /* 80196160 001930C0 48 12 BF F5 */ bl FindWidget__9CGuiFrameCFPCc /* 80196164 001930C4 28 03 00 00 */ cmplwi r3, 0 /* 80196168 001930C8 41 82 00 10 */ beq lbl_80196178 /* 8019616C 001930CC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80196170 001930D0 38 84 00 1C */ addi r4, r4, 0x1c /* 80196174 001930D4 48 13 46 F9 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80196178: /* 80196178 001930D8 80 BD 02 4C */ lwz r5, 0x24c(r29) /* 8019617C 001930DC 38 61 02 3C */ addi r3, r1, 0x23c /* 80196180 001930E0 38 81 00 14 */ addi r4, r1, 0x14 /* 80196184 001930E4 C0 45 00 30 */ lfs f2, 0x30(r5) /* 80196188 001930E8 C0 25 00 20 */ lfs f1, 0x20(r5) /* 8019618C 001930EC C0 05 00 10 */ lfs f0, 0x10(r5) /* 80196190 001930F0 D0 1D 02 18 */ stfs f0, 0x218(r29) /* 80196194 001930F4 D0 3D 02 1C */ stfs f1, 0x21c(r29) /* 80196198 001930F8 D0 5D 02 20 */ stfs f2, 0x220(r29) /* 8019619C 001930FC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 801961A0 00193100 C0 05 02 10 */ lfs f0, 0x210(r5) /* 801961A4 00193104 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801961A8 00193108 48 17 A2 61 */ bl RotateZ__9CMatrix3fFRC9CRelAngle /* 801961AC 0019310C 38 61 02 60 */ addi r3, r1, 0x260 /* 801961B0 00193110 38 81 02 3C */ addi r4, r1, 0x23c /* 801961B4 00193114 38 BD 02 18 */ addi r5, r29, 0x218 /* 801961B8 00193118 48 17 D0 C1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 801961BC 0019311C 83 9D 02 4C */ lwz r28, 0x24c(r29) /* 801961C0 00193120 38 81 02 60 */ addi r4, r1, 0x260 /* 801961C4 00193124 38 7C 00 04 */ addi r3, r28, 4 /* 801961C8 00193128 48 17 C9 79 */ bl __as__12CTransform4fFRC12CTransform4f /* 801961CC 0019312C 7F 83 E3 78 */ mr r3, r28 /* 801961D0 00193130 48 12 E6 19 */ bl RecalculateTransforms__10CGuiObjectFv /* 801961D4 00193134 7F C3 F3 78 */ mr r3, r30 /* 801961D8 00193138 38 9F 00 90 */ addi r4, r31, 0x90 /* 801961DC 0019313C 48 12 BF 79 */ bl FindWidget__9CGuiFrameCFPCc /* 801961E0 00193140 7C 7C 1B 79 */ or. r28, r3, r3 /* 801961E4 00193144 41 82 00 60 */ beq lbl_80196244 /* 801961E8 00193148 C0 7C 00 30 */ lfs f3, 0x30(r28) /* 801961EC 0019314C 38 61 01 E8 */ addi r3, r1, 0x1e8 /* 801961F0 00193150 C0 5C 00 20 */ lfs f2, 0x20(r28) /* 801961F4 00193154 38 81 00 10 */ addi r4, r1, 0x10 /* 801961F8 00193158 C0 1C 00 10 */ lfs f0, 0x10(r28) /* 801961FC 0019315C 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 80196200 00193160 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 80196204 00193164 C0 22 A6 90 */ lfs f1, lbl_805AC3B0@sda21(r2) /* 80196208 00193168 D0 41 00 90 */ stfs f2, 0x90(r1) /* 8019620C 0019316C D0 61 00 94 */ stfs f3, 0x94(r1) /* 80196210 00193170 C0 05 02 10 */ lfs f0, 0x210(r5) /* 80196214 00193174 EC 01 00 32 */ fmuls f0, f1, f0 /* 80196218 00193178 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8019621C 0019317C 48 17 A1 ED */ bl RotateZ__9CMatrix3fFRC9CRelAngle /* 80196220 00193180 38 61 02 0C */ addi r3, r1, 0x20c /* 80196224 00193184 38 81 01 E8 */ addi r4, r1, 0x1e8 /* 80196228 00193188 38 A1 00 8C */ addi r5, r1, 0x8c /* 8019622C 0019318C 48 17 D0 4D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196230 00193190 38 7C 00 04 */ addi r3, r28, 4 /* 80196234 00193194 38 81 02 0C */ addi r4, r1, 0x20c /* 80196238 00193198 48 17 C9 09 */ bl __as__12CTransform4fFRC12CTransform4f /* 8019623C 0019319C 7F 83 E3 78 */ mr r3, r28 /* 80196240 001931A0 48 12 E5 A9 */ bl RecalculateTransforms__10CGuiObjectFv lbl_80196244: /* 80196244 001931A4 7F C3 F3 78 */ mr r3, r30 /* 80196248 001931A8 38 9F 00 78 */ addi r4, r31, 0x78 /* 8019624C 001931AC 48 12 BF 09 */ bl FindWidget__9CGuiFrameCFPCc /* 80196250 001931B0 7C 7C 1B 79 */ or. r28, r3, r3 /* 80196254 001931B4 41 82 00 74 */ beq lbl_801962C8 /* 80196258 001931B8 C0 7C 00 30 */ lfs f3, 0x30(r28) /* 8019625C 001931BC 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 80196260 001931C0 C0 5C 00 20 */ lfs f2, 0x20(r28) /* 80196264 001931C4 38 81 01 94 */ addi r4, r1, 0x194 /* 80196268 001931C8 C0 1C 00 10 */ lfs f0, 0x10(r28) /* 8019626C 001931CC 38 A1 00 80 */ addi r5, r1, 0x80 /* 80196270 001931D0 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) /* 80196274 001931D4 D0 01 00 80 */ stfs f0, 0x80(r1) /* 80196278 001931D8 C0 22 A6 6C */ lfs f1, lbl_805AC38C@sda21(r2) /* 8019627C 001931DC D0 41 00 84 */ stfs f2, 0x84(r1) /* 80196280 001931E0 C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 80196284 001931E4 D0 61 00 88 */ stfs f3, 0x88(r1) /* 80196288 001931E8 C0 46 02 14 */ lfs f2, 0x214(r6) /* 8019628C 001931EC D0 41 01 94 */ stfs f2, 0x194(r1) /* 80196290 001931F0 D0 21 01 98 */ stfs f1, 0x198(r1) /* 80196294 001931F4 D0 21 01 9C */ stfs f1, 0x19c(r1) /* 80196298 001931F8 D0 21 01 A0 */ stfs f1, 0x1a0(r1) /* 8019629C 001931FC D0 01 01 A4 */ stfs f0, 0x1a4(r1) /* 801962A0 00193200 D0 21 01 A8 */ stfs f1, 0x1a8(r1) /* 801962A4 00193204 D0 21 01 AC */ stfs f1, 0x1ac(r1) /* 801962A8 00193208 D0 21 01 B0 */ stfs f1, 0x1b0(r1) /* 801962AC 0019320C D0 01 01 B4 */ stfs f0, 0x1b4(r1) /* 801962B0 00193210 48 17 CF C9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 801962B4 00193214 38 7C 00 04 */ addi r3, r28, 4 /* 801962B8 00193218 38 81 01 B8 */ addi r4, r1, 0x1b8 /* 801962BC 0019321C 48 17 C8 85 */ bl __as__12CTransform4fFRC12CTransform4f /* 801962C0 00193220 7F 83 E3 78 */ mr r3, r28 /* 801962C4 00193224 48 12 E5 25 */ bl RecalculateTransforms__10CGuiObjectFv lbl_801962C8: /* 801962C8 00193228 80 BD 02 50 */ lwz r5, 0x250(r29) /* 801962CC 0019322C 38 61 01 40 */ addi r3, r1, 0x140 /* 801962D0 00193230 C0 22 A6 90 */ lfs f1, lbl_805AC3B0@sda21(r2) /* 801962D4 00193234 38 81 00 0C */ addi r4, r1, 0xc /* 801962D8 00193238 C0 65 00 30 */ lfs f3, 0x30(r5) /* 801962DC 0019323C C0 45 00 20 */ lfs f2, 0x20(r5) /* 801962E0 00193240 C0 05 00 10 */ lfs f0, 0x10(r5) /* 801962E4 00193244 D0 1D 02 24 */ stfs f0, 0x224(r29) /* 801962E8 00193248 D0 5D 02 28 */ stfs f2, 0x228(r29) /* 801962EC 0019324C D0 7D 02 2C */ stfs f3, 0x22c(r29) /* 801962F0 00193250 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 801962F4 00193254 C0 05 02 10 */ lfs f0, 0x210(r5) /* 801962F8 00193258 EC 01 00 32 */ fmuls f0, f1, f0 /* 801962FC 0019325C D0 01 00 0C */ stfs f0, 0xc(r1) /* 80196300 00193260 48 17 A1 09 */ bl RotateZ__9CMatrix3fFRC9CRelAngle /* 80196304 00193264 38 61 01 64 */ addi r3, r1, 0x164 /* 80196308 00193268 38 81 01 40 */ addi r4, r1, 0x140 /* 8019630C 0019326C 38 BD 02 24 */ addi r5, r29, 0x224 /* 80196310 00193270 48 17 CF 69 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196314 00193274 83 9D 02 50 */ lwz r28, 0x250(r29) /* 80196318 00193278 38 81 01 64 */ addi r4, r1, 0x164 /* 8019631C 0019327C 38 7C 00 04 */ addi r3, r28, 4 /* 80196320 00193280 48 17 C8 21 */ bl __as__12CTransform4fFRC12CTransform4f /* 80196324 00193284 7F 83 E3 78 */ mr r3, r28 /* 80196328 00193288 48 12 E4 C1 */ bl RecalculateTransforms__10CGuiObjectFv /* 8019632C 0019328C 7F C3 F3 78 */ mr r3, r30 /* 80196330 00193290 38 9F 00 D8 */ addi r4, r31, 0xd8 /* 80196334 00193294 48 12 BE 21 */ bl FindWidget__9CGuiFrameCFPCc /* 80196338 00193298 7C 7C 1B 79 */ or. r28, r3, r3 /* 8019633C 0019329C 41 82 00 58 */ beq lbl_80196394 /* 80196340 001932A0 C0 5C 00 30 */ lfs f2, 0x30(r28) /* 80196344 001932A4 38 61 00 EC */ addi r3, r1, 0xec /* 80196348 001932A8 C0 3C 00 20 */ lfs f1, 0x20(r28) /* 8019634C 001932AC 38 81 00 08 */ addi r4, r1, 8 /* 80196350 001932B0 C0 1C 00 10 */ lfs f0, 0x10(r28) /* 80196354 001932B4 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) /* 80196358 001932B8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 8019635C 001932BC D0 21 00 78 */ stfs f1, 0x78(r1) /* 80196360 001932C0 D0 41 00 7C */ stfs f2, 0x7c(r1) /* 80196364 001932C4 C0 05 02 10 */ lfs f0, 0x210(r5) /* 80196368 001932C8 D0 01 00 08 */ stfs f0, 8(r1) /* 8019636C 001932CC 48 17 A0 9D */ bl RotateZ__9CMatrix3fFRC9CRelAngle /* 80196370 001932D0 38 61 01 10 */ addi r3, r1, 0x110 /* 80196374 001932D4 38 81 00 EC */ addi r4, r1, 0xec /* 80196378 001932D8 38 A1 00 74 */ addi r5, r1, 0x74 /* 8019637C 001932DC 48 17 CE FD */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196380 001932E0 38 7C 00 04 */ addi r3, r28, 4 /* 80196384 001932E4 38 81 01 10 */ addi r4, r1, 0x110 /* 80196388 001932E8 48 17 C7 B9 */ bl __as__12CTransform4fFRC12CTransform4f /* 8019638C 001932EC 7F 83 E3 78 */ mr r3, r28 /* 80196390 001932F0 48 12 E4 59 */ bl RecalculateTransforms__10CGuiObjectFv lbl_80196394: /* 80196394 001932F4 7F C3 F3 78 */ mr r3, r30 /* 80196398 001932F8 38 9F 00 C0 */ addi r4, r31, 0xc0 /* 8019639C 001932FC 48 12 BD B9 */ bl FindWidget__9CGuiFrameCFPCc /* 801963A0 00193300 7C 7C 1B 79 */ or. r28, r3, r3 /* 801963A4 00193304 41 82 00 74 */ beq lbl_80196418 /* 801963A8 00193308 C0 7C 00 30 */ lfs f3, 0x30(r28) /* 801963AC 0019330C 38 61 00 BC */ addi r3, r1, 0xbc /* 801963B0 00193310 C0 5C 00 20 */ lfs f2, 0x20(r28) /* 801963B4 00193314 38 81 00 98 */ addi r4, r1, 0x98 /* 801963B8 00193318 C0 1C 00 10 */ lfs f0, 0x10(r28) /* 801963BC 0019331C 38 A1 00 68 */ addi r5, r1, 0x68 /* 801963C0 00193320 80 CD A1 38 */ lwz r6, gpTweakGui@sda21(r13) /* 801963C4 00193324 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801963C8 00193328 C0 22 A6 6C */ lfs f1, lbl_805AC38C@sda21(r2) /* 801963CC 0019332C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801963D0 00193330 C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 801963D4 00193334 D0 61 00 70 */ stfs f3, 0x70(r1) /* 801963D8 00193338 C0 46 02 14 */ lfs f2, 0x214(r6) /* 801963DC 0019333C D0 41 00 98 */ stfs f2, 0x98(r1) /* 801963E0 00193340 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801963E4 00193344 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 801963E8 00193348 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801963EC 0019334C D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801963F0 00193350 D0 21 00 AC */ stfs f1, 0xac(r1) /* 801963F4 00193354 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801963F8 00193358 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801963FC 0019335C D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 80196400 00193360 48 17 CE 79 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196404 00193364 38 7C 00 04 */ addi r3, r28, 4 /* 80196408 00193368 38 81 00 BC */ addi r4, r1, 0xbc /* 8019640C 0019336C 48 17 C7 35 */ bl __as__12CTransform4fFRC12CTransform4f /* 80196410 00193370 7F 83 E3 78 */ mr r3, r28 /* 80196414 00193374 48 12 E3 D5 */ bl RecalculateTransforms__10CGuiObjectFv lbl_80196418: /* 80196418 00193378 C0 3D 02 34 */ lfs f1, 0x234(r29) /* 8019641C 0019337C 38 61 00 38 */ addi r3, r1, 0x38 /* 80196420 00193380 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80196424 00193384 38 A1 00 5C */ addi r5, r1, 0x5c /* 80196428 00193388 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8019642C 0019338C D0 01 00 60 */ stfs f0, 0x60(r1) /* 80196430 00193390 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80196434 00193394 80 9D 02 4C */ lwz r4, 0x24c(r29) /* 80196438 00193398 48 12 EC BD */ bl RotateO2P__10CGuiObjectCFRC9CVector3f /* 8019643C 0019339C C0 3D 02 18 */ lfs f1, 0x218(r29) /* 80196440 001933A0 38 81 00 44 */ addi r4, r1, 0x44 /* 80196444 001933A4 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80196448 001933A8 C0 7D 02 1C */ lfs f3, 0x21c(r29) /* 8019644C 001933AC C0 41 00 3C */ lfs f2, 0x3c(r1) /* 80196450 001933B0 EC 81 00 2A */ fadds f4, f1, f0 /* 80196454 001933B4 C0 3D 02 20 */ lfs f1, 0x220(r29) /* 80196458 001933B8 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8019645C 001933BC EC 43 10 2A */ fadds f2, f3, f2 /* 80196460 001933C0 D0 81 00 44 */ stfs f4, 0x44(r1) /* 80196464 001933C4 EC 01 00 2A */ fadds f0, f1, f0 /* 80196468 001933C8 D0 41 00 48 */ stfs f2, 0x48(r1) /* 8019646C 001933CC D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80196470 001933D0 80 7D 02 4C */ lwz r3, 0x24c(r29) /* 80196474 001933D4 48 12 ED 55 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f /* 80196478 001933D8 80 9D 02 50 */ lwz r4, 0x250(r29) /* 8019647C 001933DC 38 61 00 20 */ addi r3, r1, 0x20 /* 80196480 001933E0 38 A1 00 5C */ addi r5, r1, 0x5c /* 80196484 001933E4 48 12 EC 71 */ bl RotateO2P__10CGuiObjectCFRC9CVector3f /* 80196488 001933E8 C0 3D 02 24 */ lfs f1, 0x224(r29) /* 8019648C 001933EC 38 81 00 2C */ addi r4, r1, 0x2c /* 80196490 001933F0 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80196494 001933F4 C0 7D 02 28 */ lfs f3, 0x228(r29) /* 80196498 001933F8 C0 41 00 24 */ lfs f2, 0x24(r1) /* 8019649C 001933FC EC 81 00 28 */ fsubs f4, f1, f0 /* 801964A0 00193400 C0 3D 02 2C */ lfs f1, 0x22c(r29) /* 801964A4 00193404 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801964A8 00193408 EC 43 10 28 */ fsubs f2, f3, f2 /* 801964AC 0019340C D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801964B0 00193410 EC 01 00 28 */ fsubs f0, f1, f0 /* 801964B4 00193414 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801964B8 00193418 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801964BC 0019341C 80 7D 02 50 */ lwz r3, 0x250(r29) /* 801964C0 00193420 48 12 ED 09 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f /* 801964C4 00193424 7F A3 EB 78 */ mr r3, r29 /* 801964C8 00193428 81 9D 00 00 */ lwz r12, 0(r29) /* 801964CC 0019342C 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801964D0 00193430 7D 89 03 A6 */ mtctr r12 /* 801964D4 00193434 4E 80 04 21 */ bctrl /* 801964D8 00193438 80 01 02 A4 */ lwz r0, 0x2a4(r1) /* 801964DC 0019343C 7F A3 EB 78 */ mr r3, r29 /* 801964E0 00193440 83 E1 02 9C */ lwz r31, 0x29c(r1) /* 801964E4 00193444 83 C1 02 98 */ lwz r30, 0x298(r1) /* 801964E8 00193448 83 A1 02 94 */ lwz r29, 0x294(r1) /* 801964EC 0019344C 83 81 02 90 */ lwz r28, 0x290(r1) /* 801964F0 00193450 7C 08 03 A6 */ mtlr r0 /* 801964F4 00193454 38 21 02 A0 */ addi r1, r1, 0x2a0 /* 801964F8 00193458 4E 80 00 20 */ blr .global __dt__12CScanDisplayFv __dt__12CScanDisplayFv: /* 801964FC 0019345C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80196500 00193460 7C 08 02 A6 */ mflr r0 /* 80196504 00193464 90 01 00 14 */ stw r0, 0x14(r1) /* 80196508 00193468 93 E1 00 0C */ stw r31, 0xc(r1) /* 8019650C 0019346C 7C 9F 23 78 */ mr r31, r4 /* 80196510 00193470 93 C1 00 08 */ stw r30, 8(r1) /* 80196514 00193474 7C 7E 1B 79 */ or. r30, r3, r3 /* 80196518 00193478 41 82 01 98 */ beq lbl_801966B0 /* 8019651C 0019347C 34 1E 01 94 */ addic. r0, r30, 0x194 /* 80196520 00193480 41 82 00 30 */ beq lbl_80196550 /* 80196524 00193484 88 1E 01 A0 */ lbz r0, 0x1a0(r30) /* 80196528 00193488 28 00 00 00 */ cmplwi r0, 0 /* 8019652C 0019348C 41 82 00 1C */ beq lbl_80196548 /* 80196530 00193490 34 7E 01 94 */ addic. r3, r30, 0x194 /* 80196534 00193494 41 82 00 14 */ beq lbl_80196548 /* 80196538 00193498 28 03 00 00 */ cmplwi r3, 0 /* 8019653C 0019349C 41 82 00 0C */ beq lbl_80196548 /* 80196540 001934A0 38 80 00 00 */ li r4, 0 /* 80196544 001934A4 48 1A A8 FD */ bl __dt__6CTokenFv lbl_80196548: /* 80196548 001934A8 38 00 00 00 */ li r0, 0 /* 8019654C 001934AC 98 1E 01 A0 */ stb r0, 0x1a0(r30) lbl_80196550: /* 80196550 001934B0 34 1E 01 70 */ addic. r0, r30, 0x170 /* 80196554 001934B4 41 82 00 58 */ beq lbl_801965AC /* 80196558 001934B8 80 BE 01 70 */ lwz r5, 0x170(r30) /* 8019655C 001934BC 38 60 00 00 */ li r3, 0 /* 80196560 001934C0 2C 05 00 00 */ cmpwi r5, 0 /* 80196564 001934C4 40 81 00 40 */ ble lbl_801965A4 /* 80196568 001934C8 2C 05 00 08 */ cmpwi r5, 8 /* 8019656C 001934CC 38 85 FF F8 */ addi r4, r5, -8 /* 80196570 001934D0 40 81 00 20 */ ble lbl_80196590 /* 80196574 001934D4 38 04 00 07 */ addi r0, r4, 7 /* 80196578 001934D8 54 00 E8 FE */ srwi r0, r0, 3 /* 8019657C 001934DC 7C 09 03 A6 */ mtctr r0 /* 80196580 001934E0 2C 04 00 00 */ cmpwi r4, 0 /* 80196584 001934E4 40 81 00 0C */ ble lbl_80196590 lbl_80196588: /* 80196588 001934E8 38 63 00 08 */ addi r3, r3, 8 /* 8019658C 001934EC 42 00 FF FC */ bdnz lbl_80196588 lbl_80196590: /* 80196590 001934F0 7C 03 28 50 */ subf r0, r3, r5 /* 80196594 001934F4 7C 09 03 A6 */ mtctr r0 /* 80196598 001934F8 7C 03 28 00 */ cmpw r3, r5 /* 8019659C 001934FC 40 80 00 08 */ bge lbl_801965A4 lbl_801965A0: /* 801965A0 00193500 42 00 00 00 */ bdnz lbl_801965A0 lbl_801965A4: /* 801965A4 00193504 38 00 00 00 */ li r0, 0 /* 801965A8 00193508 90 1E 01 70 */ stw r0, 0x170(r30) lbl_801965AC: /* 801965AC 0019350C 34 1E 00 BC */ addic. r0, r30, 0xbc /* 801965B0 00193510 41 82 00 58 */ beq lbl_80196608 /* 801965B4 00193514 80 BE 00 BC */ lwz r5, 0xbc(r30) /* 801965B8 00193518 38 60 00 00 */ li r3, 0 /* 801965BC 0019351C 2C 05 00 00 */ cmpwi r5, 0 /* 801965C0 00193520 40 81 00 40 */ ble lbl_80196600 /* 801965C4 00193524 2C 05 00 08 */ cmpwi r5, 8 /* 801965C8 00193528 38 85 FF F8 */ addi r4, r5, -8 /* 801965CC 0019352C 40 81 00 20 */ ble lbl_801965EC /* 801965D0 00193530 38 04 00 07 */ addi r0, r4, 7 /* 801965D4 00193534 54 00 E8 FE */ srwi r0, r0, 3 /* 801965D8 00193538 7C 09 03 A6 */ mtctr r0 /* 801965DC 0019353C 2C 04 00 00 */ cmpwi r4, 0 /* 801965E0 00193540 40 81 00 0C */ ble lbl_801965EC lbl_801965E4: /* 801965E4 00193544 38 63 00 08 */ addi r3, r3, 8 /* 801965E8 00193548 42 00 FF FC */ bdnz lbl_801965E4 lbl_801965EC: /* 801965EC 0019354C 7C 03 28 50 */ subf r0, r3, r5 /* 801965F0 00193550 7C 09 03 A6 */ mtctr r0 /* 801965F4 00193554 7C 03 28 00 */ cmpw r3, r5 /* 801965F8 00193558 40 80 00 08 */ bge lbl_80196600 lbl_801965FC: /* 801965FC 0019355C 42 00 00 00 */ bdnz lbl_801965FC lbl_80196600: /* 80196600 00193560 38 00 00 00 */ li r0, 0 /* 80196604 00193564 90 1E 00 BC */ stw r0, 0xbc(r30) lbl_80196608: /* 80196608 00193568 34 1E 00 14 */ addic. r0, r30, 0x14 /* 8019660C 0019356C 41 82 00 7C */ beq lbl_80196688 /* 80196610 00193570 88 1E 00 9C */ lbz r0, 0x9c(r30) /* 80196614 00193574 28 00 00 00 */ cmplwi r0, 0 /* 80196618 00193578 41 82 00 68 */ beq lbl_80196680 /* 8019661C 0019357C 34 9E 00 14 */ addic. r4, r30, 0x14 /* 80196620 00193580 41 82 00 60 */ beq lbl_80196680 /* 80196624 00193584 34 04 00 14 */ addic. r0, r4, 0x14 /* 80196628 00193588 41 82 00 58 */ beq lbl_80196680 /* 8019662C 0019358C 80 C4 00 14 */ lwz r6, 0x14(r4) /* 80196630 00193590 38 60 00 00 */ li r3, 0 /* 80196634 00193594 2C 06 00 00 */ cmpwi r6, 0 /* 80196638 00193598 40 81 00 40 */ ble lbl_80196678 /* 8019663C 0019359C 2C 06 00 08 */ cmpwi r6, 8 /* 80196640 001935A0 38 A6 FF F8 */ addi r5, r6, -8 /* 80196644 001935A4 40 81 00 20 */ ble lbl_80196664 /* 80196648 001935A8 38 05 00 07 */ addi r0, r5, 7 /* 8019664C 001935AC 54 00 E8 FE */ srwi r0, r0, 3 /* 80196650 001935B0 7C 09 03 A6 */ mtctr r0 /* 80196654 001935B4 2C 05 00 00 */ cmpwi r5, 0 /* 80196658 001935B8 40 81 00 0C */ ble lbl_80196664 lbl_8019665C: /* 8019665C 001935BC 38 63 00 08 */ addi r3, r3, 8 /* 80196660 001935C0 42 00 FF FC */ bdnz lbl_8019665C lbl_80196664: /* 80196664 001935C4 7C 03 30 50 */ subf r0, r3, r6 /* 80196668 001935C8 7C 09 03 A6 */ mtctr r0 /* 8019666C 001935CC 7C 03 30 00 */ cmpw r3, r6 /* 80196670 001935D0 40 80 00 08 */ bge lbl_80196678 lbl_80196674: /* 80196674 001935D4 42 00 00 00 */ bdnz lbl_80196674 lbl_80196678: /* 80196678 001935D8 38 00 00 00 */ li r0, 0 /* 8019667C 001935DC 90 04 00 14 */ stw r0, 0x14(r4) lbl_80196680: /* 80196680 001935E0 38 00 00 00 */ li r0, 0 /* 80196684 001935E4 98 1E 00 9C */ stb r0, 0x9c(r30) lbl_80196688: /* 80196688 001935E8 28 1E 00 00 */ cmplwi r30, 0 /* 8019668C 001935EC 41 82 00 14 */ beq lbl_801966A0 /* 80196690 001935F0 41 82 00 10 */ beq lbl_801966A0 /* 80196694 001935F4 7F C3 F3 78 */ mr r3, r30 /* 80196698 001935F8 38 80 00 00 */ li r4, 0 /* 8019669C 001935FC 48 1A A7 A5 */ bl __dt__6CTokenFv lbl_801966A0: /* 801966A0 00193600 7F E0 07 35 */ extsh. r0, r31 /* 801966A4 00193604 40 81 00 0C */ ble lbl_801966B0 /* 801966A8 00193608 7F C3 F3 78 */ mr r3, r30 /* 801966AC 0019360C 48 17 F2 85 */ bl Free__7CMemoryFPCv lbl_801966B0: /* 801966B0 00193610 80 01 00 14 */ lwz r0, 0x14(r1) /* 801966B4 00193614 7F C3 F3 78 */ mr r3, r30 /* 801966B8 00193618 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801966BC 0019361C 83 C1 00 08 */ lwz r30, 8(r1) /* 801966C0 00193620 7C 08 03 A6 */ mtlr r0 /* 801966C4 00193624 38 21 00 10 */ addi r1, r1, 0x10 /* 801966C8 00193628 4E 80 00 20 */ blr .global UpdateCameraDebugSettings__21CHudDecoInterfaceXrayFfff UpdateCameraDebugSettings__21CHudDecoInterfaceXrayFfff: /* 801966CC 0019362C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801966D0 00193630 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 801966D4 00193634 81 43 00 A0 */ lwz r10, 0xa0(r3) /* 801966D8 00193638 81 2A 00 BC */ lwz r9, 0xbc(r10) /* 801966DC 0019363C 81 0A 00 C0 */ lwz r8, 0xc0(r10) /* 801966E0 00193640 91 21 00 20 */ stw r9, 0x20(r1) /* 801966E4 00193644 80 EA 00 C4 */ lwz r7, 0xc4(r10) /* 801966E8 00193648 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801966EC 0019364C 80 CA 00 C8 */ lwz r6, 0xc8(r10) /* 801966F0 00193650 80 AA 00 CC */ lwz r5, 0xcc(r10) /* 801966F4 00193654 80 8A 00 D0 */ lwz r4, 0xd0(r10) /* 801966F8 00193658 80 01 00 20 */ lwz r0, 0x20(r1) /* 801966FC 0019365C 91 21 00 08 */ stw r9, 8(r1) /* 80196700 00193660 90 0A 00 BC */ stw r0, 0xbc(r10) /* 80196704 00193664 91 0A 00 C0 */ stw r8, 0xc0(r10) /* 80196708 00193668 90 EA 00 C4 */ stw r7, 0xc4(r10) /* 8019670C 0019366C 90 CA 00 C8 */ stw r6, 0xc8(r10) /* 80196710 00193670 90 AA 00 CC */ stw r5, 0xcc(r10) /* 80196714 00193674 90 8A 00 D0 */ stw r4, 0xd0(r10) /* 80196718 00193678 D0 03 00 30 */ stfs f0, 0x30(r3) /* 8019671C 0019367C D0 43 00 34 */ stfs f2, 0x34(r3) /* 80196720 00193680 91 01 00 0C */ stw r8, 0xc(r1) /* 80196724 00193684 90 E1 00 10 */ stw r7, 0x10(r1) /* 80196728 00193688 90 C1 00 14 */ stw r6, 0x14(r1) /* 8019672C 0019368C 90 A1 00 18 */ stw r5, 0x18(r1) /* 80196730 00193690 90 81 00 1C */ stw r4, 0x1c(r1) /* 80196734 00193694 91 01 00 24 */ stw r8, 0x24(r1) /* 80196738 00193698 90 E1 00 28 */ stw r7, 0x28(r1) /* 8019673C 0019369C 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80196740 001936A0 90 A1 00 30 */ stw r5, 0x30(r1) /* 80196744 001936A4 90 81 00 34 */ stw r4, 0x34(r1) /* 80196748 001936A8 D0 63 00 38 */ stfs f3, 0x38(r3) /* 8019674C 001936AC 38 21 00 40 */ addi r1, r1, 0x40 /* 80196750 001936B0 4E 80 00 20 */ blr .global Update__21CHudDecoInterfaceXrayFfRC13CStateManager Update__21CHudDecoInterfaceXrayFfRC13CStateManager: /* 80196754 001936B4 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 80196758 001936B8 7C 08 02 A6 */ mflr r0 /* 8019675C 001936BC 90 01 00 D4 */ stw r0, 0xd4(r1) /* 80196760 001936C0 93 E1 00 CC */ stw r31, 0xcc(r1) /* 80196764 001936C4 7C 7F 1B 78 */ mr r31, r3 /* 80196768 001936C8 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8019676C 001936CC 80 04 03 04 */ lwz r0, 0x304(r4) /* 80196770 001936D0 2C 00 00 01 */ cmpwi r0, 1 /* 80196774 001936D4 40 82 00 38 */ bne lbl_801967AC /* 80196778 001936D8 C0 62 A6 98 */ lfs f3, lbl_805AC3B8@sda21(r2) /* 8019677C 001936DC C0 5F 00 04 */ lfs f2, 4(r31) /* 80196780 001936E0 C0 02 A6 94 */ lfs f0, lbl_805AC3B4@sda21(r2) /* 80196784 001936E4 EC 23 10 7C */ fnmsubs f1, f3, f1, f2 /* 80196788 001936E8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8019678C 001936EC D0 21 00 0C */ stfs f1, 0xc(r1) /* 80196790 001936F0 40 80 00 0C */ bge lbl_8019679C /* 80196794 001936F4 38 61 00 0C */ addi r3, r1, 0xc /* 80196798 001936F8 48 00 00 08 */ b lbl_801967A0 lbl_8019679C: /* 8019679C 001936FC 38 62 A6 94 */ addi r3, r2, lbl_805AC3B4@sda21 lbl_801967A0: /* 801967A0 00193700 C0 03 00 00 */ lfs f0, 0(r3) /* 801967A4 00193704 D0 1F 00 04 */ stfs f0, 4(r31) /* 801967A8 00193708 48 00 00 34 */ b lbl_801967DC lbl_801967AC: /* 801967AC 0019370C C0 62 A6 98 */ lfs f3, lbl_805AC3B8@sda21(r2) /* 801967B0 00193710 C0 5F 00 04 */ lfs f2, 4(r31) /* 801967B4 00193714 C0 0D 8F A8 */ lfs f0, lbl_805A7B68@sda21(r13) /* 801967B8 00193718 EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 801967BC 0019371C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801967C0 00193720 D0 21 00 08 */ stfs f1, 8(r1) /* 801967C4 00193724 40 80 00 0C */ bge lbl_801967D0 /* 801967C8 00193728 38 61 00 08 */ addi r3, r1, 8 /* 801967CC 0019372C 48 00 00 08 */ b lbl_801967D4 lbl_801967D0: /* 801967D0 00193730 38 6D 8F A8 */ addi r3, r13, lbl_805A7B68@sda21 lbl_801967D4: /* 801967D4 00193734 C0 03 00 00 */ lfs f0, 0(r3) /* 801967D8 00193738 D0 1F 00 04 */ stfs f0, 4(r31) lbl_801967DC: /* 801967DC 0019373C C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 801967E0 00193740 38 61 00 94 */ addi r3, r1, 0x94 /* 801967E4 00193744 C0 1F 00 28 */ lfs f0, 0x28(r31) /* 801967E8 00193748 38 9F 00 08 */ addi r4, r31, 8 /* 801967EC 0019374C C0 7F 00 20 */ lfs f3, 0x20(r31) /* 801967F0 00193750 38 A1 00 10 */ addi r5, r1, 0x10 /* 801967F4 00193754 C0 5F 00 2C */ lfs f2, 0x2c(r31) /* 801967F8 00193758 EC 81 00 2A */ fadds f4, f1, f0 /* 801967FC 0019375C C0 3F 00 18 */ lfs f1, 0x18(r31) /* 80196800 00193760 38 DF 00 30 */ addi r6, r31, 0x30 /* 80196804 00193764 C0 1F 00 24 */ lfs f0, 0x24(r31) /* 80196808 00193768 EC 43 10 2A */ fadds f2, f3, f2 /* 8019680C 0019376C EC 01 00 2A */ fadds f0, f1, f0 /* 80196810 00193770 D0 81 00 14 */ stfs f4, 0x14(r1) /* 80196814 00193774 D0 41 00 18 */ stfs f2, 0x18(r1) /* 80196818 00193778 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8019681C 0019377C 4B ED 6D 85 */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f /* 80196820 00193780 80 7F 00 A0 */ lwz r3, 0xa0(r31) /* 80196824 00193784 38 81 00 94 */ addi r4, r1, 0x94 /* 80196828 00193788 48 12 DF 11 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 8019682C 0019378C C0 3F 00 04 */ lfs f1, 4(r31) /* 80196830 00193790 38 61 00 40 */ addi r3, r1, 0x40 /* 80196834 00193794 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80196838 00193798 38 81 00 1C */ addi r4, r1, 0x1c /* 8019683C 0019379C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 80196840 001937A0 38 BF 00 3C */ addi r5, r31, 0x3c /* 80196844 001937A4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80196848 001937A8 D0 01 00 24 */ stfs f0, 0x24(r1) /* 8019684C 001937AC D0 01 00 28 */ stfs f0, 0x28(r1) /* 80196850 001937B0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80196854 001937B4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80196858 001937B8 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8019685C 001937BC D0 01 00 38 */ stfs f0, 0x38(r1) /* 80196860 001937C0 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80196864 001937C4 48 17 98 CD */ bl __ml__9CMatrix3fCFRC9CMatrix3f /* 80196868 001937C8 38 61 00 64 */ addi r3, r1, 0x64 /* 8019686C 001937CC 38 81 00 40 */ addi r4, r1, 0x40 /* 80196870 001937D0 38 BF 00 60 */ addi r5, r31, 0x60 /* 80196874 001937D4 48 17 CA 05 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196878 001937D8 83 FF 00 A8 */ lwz r31, 0xa8(r31) /* 8019687C 001937DC 38 81 00 64 */ addi r4, r1, 0x64 /* 80196880 001937E0 38 7F 00 04 */ addi r3, r31, 4 /* 80196884 001937E4 48 17 C2 BD */ bl __as__12CTransform4fFRC12CTransform4f /* 80196888 001937E8 7F E3 FB 78 */ mr r3, r31 /* 8019688C 001937EC 48 12 DF 5D */ bl RecalculateTransforms__10CGuiObjectFv /* 80196890 001937F0 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 80196894 001937F4 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80196898 001937F8 7C 08 03 A6 */ mtlr r0 /* 8019689C 001937FC 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801968A0 00193800 4E 80 00 20 */ blr .global SetFrameColorValue__21CHudDecoInterfaceXrayFf SetFrameColorValue__21CHudDecoInterfaceXrayFf: /* 801968A4 00193804 4E 80 00 20 */ blr .global SetDamageTransform__21CHudDecoInterfaceXrayFRC9CMatrix3fRC9CVector3f SetDamageTransform__21CHudDecoInterfaceXrayFRC9CMatrix3fRC9CVector3f: /* 801968A8 00193808 4E 80 00 20 */ blr .global SetHudOffset__21CHudDecoInterfaceXrayFRC9CVector3f SetHudOffset__21CHudDecoInterfaceXrayFRC9CVector3f: /* 801968AC 0019380C C0 04 00 00 */ lfs f0, 0(r4) /* 801968B0 00193810 D0 03 00 24 */ stfs f0, 0x24(r3) /* 801968B4 00193814 C0 04 00 04 */ lfs f0, 4(r4) /* 801968B8 00193818 D0 03 00 28 */ stfs f0, 0x28(r3) /* 801968BC 0019381C C0 04 00 08 */ lfs f0, 8(r4) /* 801968C0 00193820 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 801968C4 00193824 4E 80 00 20 */ blr .global SetDecoRotation__21CHudDecoInterfaceXrayFf SetDecoRotation__21CHudDecoInterfaceXrayFf: /* 801968C8 00193828 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801968CC 0019382C 7C 08 02 A6 */ mflr r0 /* 801968D0 00193830 90 01 00 84 */ stw r0, 0x84(r1) /* 801968D4 00193834 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801968D8 00193838 7C 7F 1B 78 */ mr r31, r3 /* 801968DC 0019383C 38 61 00 0C */ addi r3, r1, 0xc /* 801968E0 00193840 D0 21 00 08 */ stfs f1, 8(r1) /* 801968E4 00193844 80 9F 00 AC */ lwz r4, 0xac(r31) /* 801968E8 00193848 48 12 E9 35 */ bl GetLocalPosition__10CGuiObjectCFv /* 801968EC 0019384C 38 61 00 18 */ addi r3, r1, 0x18 /* 801968F0 00193850 38 81 00 08 */ addi r4, r1, 8 /* 801968F4 00193854 48 17 9B A1 */ bl RotateY__9CMatrix3fFRC9CRelAngle /* 801968F8 00193858 38 61 00 3C */ addi r3, r1, 0x3c /* 801968FC 0019385C 38 81 00 18 */ addi r4, r1, 0x18 /* 80196900 00193860 38 A1 00 0C */ addi r5, r1, 0xc /* 80196904 00193864 48 17 C9 75 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196908 00193868 83 FF 00 AC */ lwz r31, 0xac(r31) /* 8019690C 0019386C 38 81 00 3C */ addi r4, r1, 0x3c /* 80196910 00193870 38 7F 00 04 */ addi r3, r31, 4 /* 80196914 00193874 48 17 C2 2D */ bl __as__12CTransform4fFRC12CTransform4f /* 80196918 00193878 7F E3 FB 78 */ mr r3, r31 /* 8019691C 0019387C 48 12 DE CD */ bl RecalculateTransforms__10CGuiObjectFv /* 80196920 00193880 80 01 00 84 */ lwz r0, 0x84(r1) /* 80196924 00193884 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80196928 00193888 7C 08 03 A6 */ mtlr r0 /* 8019692C 0019388C 38 21 00 80 */ addi r1, r1, 0x80 /* 80196930 00193890 4E 80 00 20 */ blr .global SetReticuleTransform__21CHudDecoInterfaceXrayFRC9CMatrix3f SetReticuleTransform__21CHudDecoInterfaceXrayFRC9CMatrix3f: /* 80196934 00193894 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80196938 00193898 7C 08 02 A6 */ mflr r0 /* 8019693C 0019389C 38 63 00 3C */ addi r3, r3, 0x3c /* 80196940 001938A0 90 01 00 14 */ stw r0, 0x14(r1) /* 80196944 001938A4 48 17 96 B5 */ bl __as__9CMatrix3fFRC9CMatrix3f /* 80196948 001938A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019694C 001938AC 7C 08 03 A6 */ mtlr r0 /* 80196950 001938B0 38 21 00 10 */ addi r1, r1, 0x10 /* 80196954 001938B4 4E 80 00 20 */ blr .global SetHudRotation__21CHudDecoInterfaceXrayFRC11CQuaternion SetHudRotation__21CHudDecoInterfaceXrayFRC11CQuaternion: /* 80196958 001938B8 C0 04 00 00 */ lfs f0, 0(r4) /* 8019695C 001938BC D0 03 00 08 */ stfs f0, 8(r3) /* 80196960 001938C0 80 A4 00 04 */ lwz r5, 4(r4) /* 80196964 001938C4 80 04 00 08 */ lwz r0, 8(r4) /* 80196968 001938C8 90 A3 00 0C */ stw r5, 0xc(r3) /* 8019696C 001938CC 90 03 00 10 */ stw r0, 0x10(r3) /* 80196970 001938D0 80 04 00 0C */ lwz r0, 0xc(r4) /* 80196974 001938D4 90 03 00 14 */ stw r0, 0x14(r3) /* 80196978 001938D8 4E 80 00 20 */ blr .global UpdateVisibility__21CHudDecoInterfaceXrayFv UpdateVisibility__21CHudDecoInterfaceXrayFv: /* 8019697C 001938DC 4E 80 00 20 */ blr .global SetIsVisibleGame__21CHudDecoInterfaceXrayFb SetIsVisibleGame__21CHudDecoInterfaceXrayFb: /* 80196980 001938E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80196984 001938E4 7C 08 02 A6 */ mflr r0 /* 80196988 001938E8 90 01 00 14 */ stw r0, 0x14(r1) /* 8019698C 001938EC 88 03 00 9C */ lbz r0, 0x9c(r3) /* 80196990 001938F0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80196994 001938F4 98 03 00 9C */ stb r0, 0x9c(r3) /* 80196998 001938F8 4B FF FF E5 */ bl UpdateVisibility__21CHudDecoInterfaceXrayFv /* 8019699C 001938FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801969A0 00193900 7C 08 03 A6 */ mtlr r0 /* 801969A4 00193904 38 21 00 10 */ addi r1, r1, 0x10 /* 801969A8 00193908 4E 80 00 20 */ blr .global SetIsVisibleDebug__21CHudDecoInterfaceXrayFb SetIsVisibleDebug__21CHudDecoInterfaceXrayFb: /* 801969AC 0019390C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801969B0 00193910 7C 08 02 A6 */ mflr r0 /* 801969B4 00193914 90 01 00 14 */ stw r0, 0x14(r1) /* 801969B8 00193918 88 03 00 9C */ lbz r0, 0x9c(r3) /* 801969BC 0019391C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801969C0 00193920 98 03 00 9C */ stb r0, 0x9c(r3) /* 801969C4 00193924 4B FF FF B9 */ bl UpdateVisibility__21CHudDecoInterfaceXrayFv /* 801969C8 00193928 80 01 00 14 */ lwz r0, 0x14(r1) /* 801969CC 0019392C 7C 08 03 A6 */ mtlr r0 /* 801969D0 00193930 38 21 00 10 */ addi r1, r1, 0x10 /* 801969D4 00193934 4E 80 00 20 */ blr .global UpdateHudAlpha__21CHudDecoInterfaceXrayFv UpdateHudAlpha__21CHudDecoInterfaceXrayFv: /* 801969D8 00193938 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801969DC 0019393C 7C 08 02 A6 */ mflr r0 /* 801969E0 00193940 90 01 00 14 */ stw r0, 0x14(r1) /* 801969E4 00193944 38 00 00 FF */ li r0, 0xff /* 801969E8 00193948 38 81 00 08 */ addi r4, r1, 8 /* 801969EC 0019394C 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 801969F0 00193950 80 A5 01 DC */ lwz r5, 0x1dc(r5) /* 801969F4 00193954 98 01 00 08 */ stb r0, 8(r1) /* 801969F8 00193958 98 01 00 09 */ stb r0, 9(r1) /* 801969FC 0019395C 98 01 00 0A */ stb r0, 0xa(r1) /* 80196A00 00193960 98 A1 00 0B */ stb r5, 0xb(r1) /* 80196A04 00193964 80 63 00 A4 */ lwz r3, 0xa4(r3) /* 80196A08 00193968 48 13 3E 65 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80196A0C 0019396C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80196A10 00193970 7C 08 03 A6 */ mtlr r0 /* 80196A14 00193974 38 21 00 10 */ addi r1, r1, 0x10 /* 80196A18 00193978 4E 80 00 20 */ blr .global __ct__21CHudDecoInterfaceXRayFR9CGuiFrame __ct__21CHudDecoInterfaceXRayFR9CGuiFrame: /* 80196A1C 0019397C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80196A20 00193980 7C 08 02 A6 */ mflr r0 /* 80196A24 00193984 3C A0 80 3E */ lis r5, lbl_803DA2A4@ha /* 80196A28 00193988 C0 02 A6 68 */ lfs f0, lbl_805AC388@sda21(r2) /* 80196A2C 0019398C 90 01 00 34 */ stw r0, 0x34(r1) /* 80196A30 00193990 38 05 A2 A4 */ addi r0, r5, lbl_803DA2A4@l /* 80196A34 00193994 3C C0 80 5A */ lis r6, lbl_805A6660@ha /* 80196A38 00193998 3C A0 80 5A */ lis r5, skZero3f@ha /* 80196A3C 0019399C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80196A40 001939A0 7C 9F 23 78 */ mr r31, r4 /* 80196A44 001939A4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80196A48 001939A8 7C 7E 1B 78 */ mr r30, r3 /* 80196A4C 001939AC 3C 60 80 3E */ lis r3, lbl_803E4550@ha /* 80196A50 001939B0 93 A1 00 24 */ stw r29, 0x24(r1) /* 80196A54 001939B4 3B A5 66 A0 */ addi r29, r5, skZero3f@l /* 80196A58 001939B8 90 1E 00 00 */ stw r0, 0(r30) /* 80196A5C 001939BC 38 03 45 50 */ addi r0, r3, lbl_803E4550@l /* 80196A60 001939C0 3C 60 80 5A */ lis r3, lbl_805A65FC@ha /* 80196A64 001939C4 90 1E 00 00 */ stw r0, 0(r30) /* 80196A68 001939C8 38 03 65 FC */ addi r0, r3, lbl_805A65FC@l /* 80196A6C 001939CC 7C 04 03 78 */ mr r4, r0 /* 80196A70 001939D0 38 7E 00 3C */ addi r3, r30, 0x3c /* 80196A74 001939D4 D0 1E 00 04 */ stfs f0, 4(r30) /* 80196A78 001939D8 C4 06 66 60 */ lfsu f0, lbl_805A6660@l(r6) /* 80196A7C 001939DC D0 1E 00 08 */ stfs f0, 8(r30) /* 80196A80 001939E0 C0 06 00 04 */ lfs f0, 4(r6) /* 80196A84 001939E4 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 80196A88 001939E8 C0 06 00 08 */ lfs f0, 8(r6) /* 80196A8C 001939EC D0 1E 00 10 */ stfs f0, 0x10(r30) /* 80196A90 001939F0 C0 06 00 0C */ lfs f0, 0xc(r6) /* 80196A94 001939F4 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 80196A98 001939F8 C0 1D 00 00 */ lfs f0, 0(r29) /* 80196A9C 001939FC D0 1E 00 18 */ stfs f0, 0x18(r30) /* 80196AA0 00193A00 C0 1D 00 04 */ lfs f0, 4(r29) /* 80196AA4 00193A04 D0 1E 00 1C */ stfs f0, 0x1c(r30) /* 80196AA8 00193A08 C0 1D 00 08 */ lfs f0, 8(r29) /* 80196AAC 00193A0C D0 1E 00 20 */ stfs f0, 0x20(r30) /* 80196AB0 00193A10 C0 1D 00 00 */ lfs f0, 0(r29) /* 80196AB4 00193A14 D0 1E 00 24 */ stfs f0, 0x24(r30) /* 80196AB8 00193A18 C0 1D 00 04 */ lfs f0, 4(r29) /* 80196ABC 00193A1C D0 1E 00 28 */ stfs f0, 0x28(r30) /* 80196AC0 00193A20 C0 1D 00 08 */ lfs f0, 8(r29) /* 80196AC4 00193A24 D0 1E 00 2C */ stfs f0, 0x2c(r30) /* 80196AC8 00193A28 C0 1D 00 00 */ lfs f0, 0(r29) /* 80196ACC 00193A2C D0 1E 00 30 */ stfs f0, 0x30(r30) /* 80196AD0 00193A30 C0 1D 00 04 */ lfs f0, 4(r29) /* 80196AD4 00193A34 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 80196AD8 00193A38 C0 1D 00 08 */ lfs f0, 8(r29) /* 80196ADC 00193A3C D0 1E 00 38 */ stfs f0, 0x38(r30) /* 80196AE0 00193A40 48 17 95 45 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 80196AE4 00193A44 3C 60 80 5A */ lis r3, skZero3f@ha /* 80196AE8 00193A48 3C 80 80 5A */ lis r4, lbl_805A65FC@ha /* 80196AEC 00193A4C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80196AF0 00193A50 C0 05 00 00 */ lfs f0, 0(r5) /* 80196AF4 00193A54 38 7E 00 78 */ addi r3, r30, 0x78 /* 80196AF8 00193A58 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l /* 80196AFC 00193A5C D0 1E 00 60 */ stfs f0, 0x60(r30) /* 80196B00 00193A60 C0 1D 00 04 */ lfs f0, 4(r29) /* 80196B04 00193A64 D0 1E 00 64 */ stfs f0, 0x64(r30) /* 80196B08 00193A68 C0 1D 00 08 */ lfs f0, 8(r29) /* 80196B0C 00193A6C D0 1E 00 68 */ stfs f0, 0x68(r30) /* 80196B10 00193A70 C0 05 00 00 */ lfs f0, 0(r5) /* 80196B14 00193A74 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 80196B18 00193A78 C0 1D 00 04 */ lfs f0, 4(r29) /* 80196B1C 00193A7C D0 1E 00 70 */ stfs f0, 0x70(r30) /* 80196B20 00193A80 C0 1D 00 08 */ lfs f0, 8(r29) /* 80196B24 00193A84 D0 1E 00 74 */ stfs f0, 0x74(r30) /* 80196B28 00193A88 48 17 94 FD */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 80196B2C 00193A8C 88 1E 00 9C */ lbz r0, 0x9c(r30) /* 80196B30 00193A90 38 80 00 01 */ li r4, 1 /* 80196B34 00193A94 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196B38 00193A98 38 61 00 08 */ addi r3, r1, 8 /* 80196B3C 00193A9C 98 1E 00 9C */ stb r0, 0x9c(r30) /* 80196B40 00193AA0 88 1E 00 9C */ lbz r0, 0x9c(r30) /* 80196B44 00193AA4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80196B48 00193AA8 98 1E 00 9C */ stb r0, 0x9c(r30) /* 80196B4C 00193AAC 80 1F 00 14 */ lwz r0, 0x14(r31) /* 80196B50 00193AB0 90 1E 00 A0 */ stw r0, 0xa0(r30) /* 80196B54 00193AB4 80 9E 00 A0 */ lwz r4, 0xa0(r30) /* 80196B58 00193AB8 48 12 E6 C5 */ bl GetLocalPosition__10CGuiObjectCFv /* 80196B5C 00193ABC C0 01 00 08 */ lfs f0, 8(r1) /* 80196B60 00193AC0 3C 60 80 3D */ lis r3, lbl_803D0F38@ha /* 80196B64 00193AC4 38 83 0F 38 */ addi r4, r3, lbl_803D0F38@l /* 80196B68 00193AC8 D0 1E 00 30 */ stfs f0, 0x30(r30) /* 80196B6C 00193ACC 7F E3 FB 78 */ mr r3, r31 /* 80196B70 00193AD0 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80196B74 00193AD4 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 80196B78 00193AD8 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80196B7C 00193ADC D0 1E 00 38 */ stfs f0, 0x38(r30) /* 80196B80 00193AE0 48 12 B5 D5 */ bl FindWidget__9CGuiFrameCFPCc /* 80196B84 00193AE4 3C 80 80 3D */ lis r4, lbl_803D0F60@ha /* 80196B88 00193AE8 90 7E 00 A4 */ stw r3, 0xa4(r30) /* 80196B8C 00193AEC 38 84 0F 60 */ addi r4, r4, lbl_803D0F60@l /* 80196B90 00193AF0 7F E3 FB 78 */ mr r3, r31 /* 80196B94 00193AF4 48 12 B5 C1 */ bl FindWidget__9CGuiFrameCFPCc /* 80196B98 00193AF8 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196B9C 00193AFC 90 7E 00 A8 */ stw r3, 0xa8(r30) /* 80196BA0 00193B00 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196BA4 00193B04 7F E3 FB 78 */ mr r3, r31 /* 80196BA8 00193B08 38 84 00 9E */ addi r4, r4, 0x9e /* 80196BAC 00193B0C 48 12 B5 A9 */ bl FindWidget__9CGuiFrameCFPCc /* 80196BB0 00193B10 90 7E 00 AC */ stw r3, 0xac(r30) /* 80196BB4 00193B14 3C 60 80 3D */ lis r3, lbl_803D10E4@ha /* 80196BB8 00193B18 38 83 10 E4 */ addi r4, r3, lbl_803D10E4@l /* 80196BBC 00193B1C 7F E3 FB 78 */ mr r3, r31 /* 80196BC0 00193B20 80 BE 00 A4 */ lwz r5, 0xa4(r30) /* 80196BC4 00193B24 38 84 00 B0 */ addi r4, r4, 0xb0 /* 80196BC8 00193B28 C0 45 00 A0 */ lfs f2, 0xa0(r5) /* 80196BCC 00193B2C C0 25 00 90 */ lfs f1, 0x90(r5) /* 80196BD0 00193B30 C0 05 00 80 */ lfs f0, 0x80(r5) /* 80196BD4 00193B34 D0 1E 00 18 */ stfs f0, 0x18(r30) /* 80196BD8 00193B38 D0 3E 00 1C */ stfs f1, 0x1c(r30) /* 80196BDC 00193B3C D0 5E 00 20 */ stfs f2, 0x20(r30) /* 80196BE0 00193B40 80 BE 00 A8 */ lwz r5, 0xa8(r30) /* 80196BE4 00193B44 C0 45 00 A0 */ lfs f2, 0xa0(r5) /* 80196BE8 00193B48 C0 25 00 90 */ lfs f1, 0x90(r5) /* 80196BEC 00193B4C C0 05 00 80 */ lfs f0, 0x80(r5) /* 80196BF0 00193B50 D0 1E 00 60 */ stfs f0, 0x60(r30) /* 80196BF4 00193B54 D0 3E 00 64 */ stfs f1, 0x64(r30) /* 80196BF8 00193B58 D0 5E 00 68 */ stfs f2, 0x68(r30) /* 80196BFC 00193B5C 48 12 B5 59 */ bl FindWidget__9CGuiFrameCFPCc /* 80196C00 00193B60 28 03 00 00 */ cmplwi r3, 0 /* 80196C04 00193B64 41 82 00 10 */ beq lbl_80196C14 /* 80196C08 00193B68 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80196C0C 00193B6C 38 84 01 00 */ addi r4, r4, 0x100 /* 80196C10 00193B70 48 13 3C 5D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80196C14: /* 80196C14 00193B74 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196C18 00193B78 7F E3 FB 78 */ mr r3, r31 /* 80196C1C 00193B7C 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196C20 00193B80 38 84 00 C6 */ addi r4, r4, 0xc6 /* 80196C24 00193B84 48 12 B5 31 */ bl FindWidget__9CGuiFrameCFPCc /* 80196C28 00193B88 28 03 00 00 */ cmplwi r3, 0 /* 80196C2C 00193B8C 41 82 00 14 */ beq lbl_80196C40 /* 80196C30 00193B90 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 80196C34 00193B94 38 80 00 01 */ li r4, 1 /* 80196C38 00193B98 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196C3C 00193B9C 98 03 00 B7 */ stb r0, 0xb7(r3) lbl_80196C40: /* 80196C40 00193BA0 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196C44 00193BA4 7F E3 FB 78 */ mr r3, r31 /* 80196C48 00193BA8 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196C4C 00193BAC 38 84 00 D2 */ addi r4, r4, 0xd2 /* 80196C50 00193BB0 48 12 B5 05 */ bl FindWidget__9CGuiFrameCFPCc /* 80196C54 00193BB4 28 03 00 00 */ cmplwi r3, 0 /* 80196C58 00193BB8 41 82 00 14 */ beq lbl_80196C6C /* 80196C5C 00193BBC 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 80196C60 00193BC0 38 80 00 01 */ li r4, 1 /* 80196C64 00193BC4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196C68 00193BC8 98 03 00 B7 */ stb r0, 0xb7(r3) lbl_80196C6C: /* 80196C6C 00193BCC 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196C70 00193BD0 7F E3 FB 78 */ mr r3, r31 /* 80196C74 00193BD4 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196C78 00193BD8 38 84 00 DF */ addi r4, r4, 0xdf /* 80196C7C 00193BDC 48 12 B4 D9 */ bl FindWidget__9CGuiFrameCFPCc /* 80196C80 00193BE0 28 03 00 00 */ cmplwi r3, 0 /* 80196C84 00193BE4 41 82 00 14 */ beq lbl_80196C98 /* 80196C88 00193BE8 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 80196C8C 00193BEC 38 80 00 01 */ li r4, 1 /* 80196C90 00193BF0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196C94 00193BF4 98 03 00 B7 */ stb r0, 0xb7(r3) lbl_80196C98: /* 80196C98 00193BF8 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196C9C 00193BFC 7F E3 FB 78 */ mr r3, r31 /* 80196CA0 00193C00 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196CA4 00193C04 38 84 00 EC */ addi r4, r4, 0xec /* 80196CA8 00193C08 48 12 B4 AD */ bl FindWidget__9CGuiFrameCFPCc /* 80196CAC 00193C0C 28 03 00 00 */ cmplwi r3, 0 /* 80196CB0 00193C10 41 82 00 14 */ beq lbl_80196CC4 /* 80196CB4 00193C14 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 80196CB8 00193C18 38 80 00 01 */ li r4, 1 /* 80196CBC 00193C1C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196CC0 00193C20 98 03 00 B7 */ stb r0, 0xb7(r3) lbl_80196CC4: /* 80196CC4 00193C24 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196CC8 00193C28 7F E3 FB 78 */ mr r3, r31 /* 80196CCC 00193C2C 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196CD0 00193C30 38 84 00 F9 */ addi r4, r4, 0xf9 /* 80196CD4 00193C34 48 12 B4 81 */ bl FindWidget__9CGuiFrameCFPCc /* 80196CD8 00193C38 28 03 00 00 */ cmplwi r3, 0 /* 80196CDC 00193C3C 41 82 00 14 */ beq lbl_80196CF0 /* 80196CE0 00193C40 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 80196CE4 00193C44 38 80 00 01 */ li r4, 1 /* 80196CE8 00193C48 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196CEC 00193C4C 98 03 00 B7 */ stb r0, 0xb7(r3) lbl_80196CF0: /* 80196CF0 00193C50 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80196CF4 00193C54 7F E3 FB 78 */ mr r3, r31 /* 80196CF8 00193C58 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80196CFC 00193C5C 38 84 01 0D */ addi r4, r4, 0x10d /* 80196D00 00193C60 48 12 B4 55 */ bl FindWidget__9CGuiFrameCFPCc /* 80196D04 00193C64 28 03 00 00 */ cmplwi r3, 0 /* 80196D08 00193C68 41 82 00 14 */ beq lbl_80196D1C /* 80196D0C 00193C6C 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 80196D10 00193C70 38 80 00 01 */ li r4, 1 /* 80196D14 00193C74 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80196D18 00193C78 98 03 00 B7 */ stb r0, 0xb7(r3) lbl_80196D1C: /* 80196D1C 00193C7C 7F C3 F3 78 */ mr r3, r30 /* 80196D20 00193C80 81 9E 00 00 */ lwz r12, 0(r30) /* 80196D24 00193C84 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80196D28 00193C88 7D 89 03 A6 */ mtctr r12 /* 80196D2C 00193C8C 4E 80 04 21 */ bctrl /* 80196D30 00193C90 80 01 00 34 */ lwz r0, 0x34(r1) /* 80196D34 00193C94 7F C3 F3 78 */ mr r3, r30 /* 80196D38 00193C98 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80196D3C 00193C9C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80196D40 00193CA0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80196D44 00193CA4 7C 08 03 A6 */ mtlr r0 /* 80196D48 00193CA8 38 21 00 30 */ addi r1, r1, 0x30 /* 80196D4C 00193CAC 4E 80 00 20 */ blr .global UpdateCameraDebugSettings__23CHudDecoInterfaceCombatFfff UpdateCameraDebugSettings__23CHudDecoInterfaceCombatFfff: /* 80196D50 00193CB0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80196D54 00193CB4 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80196D58 00193CB8 81 43 00 6C */ lwz r10, 0x6c(r3) /* 80196D5C 00193CBC 81 2A 00 BC */ lwz r9, 0xbc(r10) /* 80196D60 00193CC0 81 0A 00 C0 */ lwz r8, 0xc0(r10) /* 80196D64 00193CC4 91 21 00 20 */ stw r9, 0x20(r1) /* 80196D68 00193CC8 80 EA 00 C4 */ lwz r7, 0xc4(r10) /* 80196D6C 00193CCC D0 21 00 20 */ stfs f1, 0x20(r1) /* 80196D70 00193CD0 80 CA 00 C8 */ lwz r6, 0xc8(r10) /* 80196D74 00193CD4 80 AA 00 CC */ lwz r5, 0xcc(r10) /* 80196D78 00193CD8 80 8A 00 D0 */ lwz r4, 0xd0(r10) /* 80196D7C 00193CDC 80 01 00 20 */ lwz r0, 0x20(r1) /* 80196D80 00193CE0 91 21 00 08 */ stw r9, 8(r1) /* 80196D84 00193CE4 90 0A 00 BC */ stw r0, 0xbc(r10) /* 80196D88 00193CE8 91 0A 00 C0 */ stw r8, 0xc0(r10) /* 80196D8C 00193CEC 90 EA 00 C4 */ stw r7, 0xc4(r10) /* 80196D90 00193CF0 90 CA 00 C8 */ stw r6, 0xc8(r10) /* 80196D94 00193CF4 90 AA 00 CC */ stw r5, 0xcc(r10) /* 80196D98 00193CF8 90 8A 00 D0 */ stw r4, 0xd0(r10) /* 80196D9C 00193CFC D0 03 00 2C */ stfs f0, 0x2c(r3) /* 80196DA0 00193D00 D0 43 00 30 */ stfs f2, 0x30(r3) /* 80196DA4 00193D04 91 01 00 0C */ stw r8, 0xc(r1) /* 80196DA8 00193D08 90 E1 00 10 */ stw r7, 0x10(r1) /* 80196DAC 00193D0C 90 C1 00 14 */ stw r6, 0x14(r1) /* 80196DB0 00193D10 90 A1 00 18 */ stw r5, 0x18(r1) /* 80196DB4 00193D14 90 81 00 1C */ stw r4, 0x1c(r1) /* 80196DB8 00193D18 91 01 00 24 */ stw r8, 0x24(r1) /* 80196DBC 00193D1C 90 E1 00 28 */ stw r7, 0x28(r1) /* 80196DC0 00193D20 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80196DC4 00193D24 90 A1 00 30 */ stw r5, 0x30(r1) /* 80196DC8 00193D28 90 81 00 34 */ stw r4, 0x34(r1) /* 80196DCC 00193D2C D0 63 00 34 */ stfs f3, 0x34(r3) /* 80196DD0 00193D30 38 21 00 40 */ addi r1, r1, 0x40 /* 80196DD4 00193D34 4E 80 00 20 */ blr .global Update__23CHudDecoInterfaceCombatFfRC13CStateManager Update__23CHudDecoInterfaceCombatFfRC13CStateManager: /* 80196DD8 00193D38 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80196DDC 00193D3C 7C 08 02 A6 */ mflr r0 /* 80196DE0 00193D40 90 01 00 54 */ stw r0, 0x54(r1) /* 80196DE4 00193D44 38 A1 00 08 */ addi r5, r1, 8 /* 80196DE8 00193D48 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80196DEC 00193D4C 7C 7F 1B 78 */ mr r31, r3 /* 80196DF0 00193D50 38 61 00 14 */ addi r3, r1, 0x14 /* 80196DF4 00193D54 C0 3F 00 18 */ lfs f1, 0x18(r31) /* 80196DF8 00193D58 38 9F 00 04 */ addi r4, r31, 4 /* 80196DFC 00193D5C C0 1F 00 24 */ lfs f0, 0x24(r31) /* 80196E00 00193D60 38 DF 00 2C */ addi r6, r31, 0x2c /* 80196E04 00193D64 C0 7F 00 1C */ lfs f3, 0x1c(r31) /* 80196E08 00193D68 EC 81 00 2A */ fadds f4, f1, f0 /* 80196E0C 00193D6C C0 5F 00 28 */ lfs f2, 0x28(r31) /* 80196E10 00193D70 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 80196E14 00193D74 C0 1F 00 20 */ lfs f0, 0x20(r31) /* 80196E18 00193D78 EC 43 10 2A */ fadds f2, f3, f2 /* 80196E1C 00193D7C EC 01 00 2A */ fadds f0, f1, f0 /* 80196E20 00193D80 D0 81 00 0C */ stfs f4, 0xc(r1) /* 80196E24 00193D84 D0 41 00 10 */ stfs f2, 0x10(r1) /* 80196E28 00193D88 D0 01 00 08 */ stfs f0, 8(r1) /* 80196E2C 00193D8C 4B ED 67 75 */ bl BuildFinalCameraTransform__9CSamusHudFRC11CQuaternionRC9CVector3fRC9CVector3f /* 80196E30 00193D90 80 7F 00 6C */ lwz r3, 0x6c(r31) /* 80196E34 00193D94 38 81 00 14 */ addi r4, r1, 0x14 /* 80196E38 00193D98 48 12 D9 01 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f /* 80196E3C 00193D9C 80 01 00 54 */ lwz r0, 0x54(r1) /* 80196E40 00193DA0 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80196E44 00193DA4 7C 08 03 A6 */ mtlr r0 /* 80196E48 00193DA8 38 21 00 50 */ addi r1, r1, 0x50 /* 80196E4C 00193DAC 4E 80 00 20 */ blr .global SetFrameColorValue__23CHudDecoInterfaceCombatFf SetFrameColorValue__23CHudDecoInterfaceCombatFf: /* 80196E50 00193DB0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80196E54 00193DB4 7C 08 02 A6 */ mflr r0 /* 80196E58 00193DB8 C0 02 A6 6C */ lfs f0, lbl_805AC38C@sda21(r2) /* 80196E5C 00193DBC 90 01 00 24 */ stw r0, 0x24(r1) /* 80196E60 00193DC0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80196E64 00193DC4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80196E68 00193DC8 7C 7F 1B 78 */ mr r31, r3 /* 80196E6C 00193DCC 40 81 00 0C */ ble lbl_80196E78 /* 80196E70 00193DD0 48 1B 31 3D */ bl White__6CColorFv /* 80196E74 00193DD4 48 00 00 0C */ b lbl_80196E80 lbl_80196E78: /* 80196E78 00193DD8 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 80196E7C 00193DDC 38 63 00 1C */ addi r3, r3, 0x1c lbl_80196E80: /* 80196E80 00193DE0 80 03 00 00 */ lwz r0, 0(r3) /* 80196E84 00193DE4 38 81 00 08 */ addi r4, r1, 8 /* 80196E88 00193DE8 90 01 00 08 */ stw r0, 8(r1) /* 80196E8C 00193DEC 80 7F 00 7C */ lwz r3, 0x7c(r31) /* 80196E90 00193DF0 48 13 39 DD */ bl SetColor__10CGuiWidgetFRC6CColor /* 80196E94 00193DF4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80196E98 00193DF8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80196E9C 00193DFC 7C 08 03 A6 */ mtlr r0 /* 80196EA0 00193E00 38 21 00 20 */ addi r1, r1, 0x20 /* 80196EA4 00193E04 4E 80 00 20 */ blr .global SetDamageTransform__23CHudDecoInterfaceCombatFRC9CMatrix3fRC9CVector3f SetDamageTransform__23CHudDecoInterfaceCombatFRC9CMatrix3fRC9CVector3f: /* 80196EA8 00193E08 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80196EAC 00193E0C 7C 08 02 A6 */ mflr r0 /* 80196EB0 00193E10 90 01 00 74 */ stw r0, 0x74(r1) /* 80196EB4 00193E14 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80196EB8 00193E18 7C 7F 1B 78 */ mr r31, r3 /* 80196EBC 00193E1C C0 23 00 3C */ lfs f1, 0x3c(r3) /* 80196EC0 00193E20 38 61 00 14 */ addi r3, r1, 0x14 /* 80196EC4 00193E24 C0 05 00 04 */ lfs f0, 4(r5) /* 80196EC8 00193E28 C0 7F 00 40 */ lfs f3, 0x40(r31) /* 80196ECC 00193E2C EC 81 00 2A */ fadds f4, f1, f0 /* 80196ED0 00193E30 C0 45 00 08 */ lfs f2, 8(r5) /* 80196ED4 00193E34 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80196ED8 00193E38 C0 05 00 00 */ lfs f0, 0(r5) /* 80196EDC 00193E3C EC 43 10 2A */ fadds f2, f3, f2 /* 80196EE0 00193E40 D0 81 00 0C */ stfs f4, 0xc(r1) /* 80196EE4 00193E44 EC 01 00 2A */ fadds f0, f1, f0 /* 80196EE8 00193E48 38 BF 00 44 */ addi r5, r31, 0x44 /* 80196EEC 00193E4C D0 41 00 10 */ stfs f2, 0x10(r1) /* 80196EF0 00193E50 D0 01 00 08 */ stfs f0, 8(r1) /* 80196EF4 00193E54 48 17 92 3D */ bl __ml__9CMatrix3fCFRC9CMatrix3f /* 80196EF8 00193E58 38 61 00 38 */ addi r3, r1, 0x38 /* 80196EFC 00193E5C 38 81 00 14 */ addi r4, r1, 0x14 /* 80196F00 00193E60 38 A1 00 08 */ addi r5, r1, 8 /* 80196F04 00193E64 48 17 C3 75 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 80196F08 00193E68 83 FF 00 7C */ lwz r31, 0x7c(r31) /* 80196F0C 00193E6C 38 81 00 38 */ addi r4, r1, 0x38 /* 80196F10 00193E70 38 7F 00 04 */ addi r3, r31, 4 /* 80196F14 00193E74 48 17 BC 2D */ bl __as__12CTransform4fFRC12CTransform4f /* 80196F18 00193E78 7F E3 FB 78 */ mr r3, r31 /* 80196F1C 00193E7C 48 12 D8 CD */ bl RecalculateTransforms__10CGuiObjectFv /* 80196F20 00193E80 80 01 00 74 */ lwz r0, 0x74(r1) /* 80196F24 00193E84 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80196F28 00193E88 7C 08 03 A6 */ mtlr r0 /* 80196F2C 00193E8C 38 21 00 70 */ addi r1, r1, 0x70 /* 80196F30 00193E90 4E 80 00 20 */ blr .global SetHudOffset__23CHudDecoInterfaceCombatFRC9CVector3f SetHudOffset__23CHudDecoInterfaceCombatFRC9CVector3f: /* 80196F34 00193E94 C0 04 00 00 */ lfs f0, 0(r4) /* 80196F38 00193E98 D0 03 00 20 */ stfs f0, 0x20(r3) /* 80196F3C 00193E9C C0 04 00 04 */ lfs f0, 4(r4) /* 80196F40 00193EA0 D0 03 00 24 */ stfs f0, 0x24(r3) /* 80196F44 00193EA4 C0 04 00 08 */ lfs f0, 8(r4) /* 80196F48 00193EA8 D0 03 00 28 */ stfs f0, 0x28(r3) /* 80196F4C 00193EAC 4E 80 00 20 */ blr .global SetHudRotation__23CHudDecoInterfaceCombatFRC11CQuaternion SetHudRotation__23CHudDecoInterfaceCombatFRC11CQuaternion: /* 80196F50 00193EB0 C0 04 00 00 */ lfs f0, 0(r4) /* 80196F54 00193EB4 D0 03 00 04 */ stfs f0, 4(r3) /* 80196F58 00193EB8 80 A4 00 04 */ lwz r5, 4(r4) /* 80196F5C 00193EBC 80 04 00 08 */ lwz r0, 8(r4) /* 80196F60 00193EC0 90 A3 00 08 */ stw r5, 8(r3) /* 80196F64 00193EC4 90 03 00 0C */ stw r0, 0xc(r3) /* 80196F68 00193EC8 80 04 00 0C */ lwz r0, 0xc(r4) /* 80196F6C 00193ECC 90 03 00 10 */ stw r0, 0x10(r3) /* 80196F70 00193ED0 4E 80 00 20 */ blr .global UpdateVisibility__23CHudDecoInterfaceCombatFv UpdateVisibility__23CHudDecoInterfaceCombatFv: /* 80196F74 00193ED4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80196F78 00193ED8 7C 08 02 A6 */ mflr r0 /* 80196F7C 00193EDC 38 A0 00 00 */ li r5, 0 /* 80196F80 00193EE0 90 01 00 14 */ stw r0, 0x14(r1) /* 80196F84 00193EE4 93 E1 00 0C */ stw r31, 0xc(r1) /* 80196F88 00193EE8 93 C1 00 08 */ stw r30, 8(r1) /* 80196F8C 00193EEC 7C 7E 1B 78 */ mr r30, r3 /* 80196F90 00193EF0 88 83 00 68 */ lbz r4, 0x68(r3) /* 80196F94 00193EF4 80 63 00 74 */ lwz r3, 0x74(r3) /* 80196F98 00193EF8 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f /* 80196F9C 00193EFC 41 82 00 10 */ beq lbl_80196FAC /* 80196FA0 00193F00 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f /* 80196FA4 00193F04 41 82 00 08 */ beq lbl_80196FAC /* 80196FA8 00193F08 38 A0 00 01 */ li r5, 1 lbl_80196FAC: /* 80196FAC 00193F0C 54 BF 06 3E */ clrlwi r31, r5, 0x18 /* 80196FB0 00193F10 38 A0 00 01 */ li r5, 1 /* 80196FB4 00193F14 7F E4 FB 78 */ mr r4, r31 /* 80196FB8 00193F18 48 13 37 31 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80196FBC 00193F1C 80 7E 00 78 */ lwz r3, 0x78(r30) /* 80196FC0 00193F20 7F E4 FB 78 */ mr r4, r31 /* 80196FC4 00193F24 38 A0 00 01 */ li r5, 1 /* 80196FC8 00193F28 48 13 37 21 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80196FCC 00193F2C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80196FD0 00193F30 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80196FD4 00193F34 83 C1 00 08 */ lwz r30, 8(r1) /* 80196FD8 00193F38 7C 08 03 A6 */ mtlr r0 /* 80196FDC 00193F3C 38 21 00 10 */ addi r1, r1, 0x10 /* 80196FE0 00193F40 4E 80 00 20 */ blr .global UpdateHudAlpha__23CHudDecoInterfaceCombatFv UpdateHudAlpha__23CHudDecoInterfaceCombatFv: /* 80196FE4 00193F44 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80196FE8 00193F48 7C 08 02 A6 */ mflr r0 /* 80196FEC 00193F4C 90 01 00 14 */ stw r0, 0x14(r1) /* 80196FF0 00193F50 38 00 00 FF */ li r0, 0xff /* 80196FF4 00193F54 38 81 00 08 */ addi r4, r1, 8 /* 80196FF8 00193F58 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 80196FFC 00193F5C 80 A5 01 DC */ lwz r5, 0x1dc(r5) /* 80197000 00193F60 98 01 00 08 */ stb r0, 8(r1) /* 80197004 00193F64 98 01 00 09 */ stb r0, 9(r1) /* 80197008 00193F68 98 01 00 0A */ stb r0, 0xa(r1) /* 8019700C 00193F6C 98 A1 00 0B */ stb r5, 0xb(r1) /* 80197010 00193F70 80 63 00 70 */ lwz r3, 0x70(r3) /* 80197014 00193F74 48 13 38 59 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80197018 00193F78 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019701C 00193F7C 7C 08 03 A6 */ mtlr r0 /* 80197020 00193F80 38 21 00 10 */ addi r1, r1, 0x10 /* 80197024 00193F84 4E 80 00 20 */ blr .global SetIsVisibleGame__23CHudDecoInterfaceCombatFb SetIsVisibleGame__23CHudDecoInterfaceCombatFb: /* 80197028 00193F88 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019702C 00193F8C 7C 08 02 A6 */ mflr r0 /* 80197030 00193F90 90 01 00 14 */ stw r0, 0x14(r1) /* 80197034 00193F94 88 03 00 68 */ lbz r0, 0x68(r3) /* 80197038 00193F98 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8019703C 00193F9C 98 03 00 68 */ stb r0, 0x68(r3) /* 80197040 00193FA0 4B FF FF 35 */ bl UpdateVisibility__23CHudDecoInterfaceCombatFv /* 80197044 00193FA4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80197048 00193FA8 7C 08 03 A6 */ mtlr r0 /* 8019704C 00193FAC 38 21 00 10 */ addi r1, r1, 0x10 /* 80197050 00193FB0 4E 80 00 20 */ blr .global SetIsVisibleDebug__23CHudDecoInterfaceCombatFb SetIsVisibleDebug__23CHudDecoInterfaceCombatFb: /* 80197054 00193FB4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80197058 00193FB8 7C 08 02 A6 */ mflr r0 /* 8019705C 00193FBC 90 01 00 14 */ stw r0, 0x14(r1) /* 80197060 00193FC0 88 03 00 68 */ lbz r0, 0x68(r3) /* 80197064 00193FC4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80197068 00193FC8 98 03 00 68 */ stb r0, 0x68(r3) /* 8019706C 00193FCC 4B FF FF 09 */ bl UpdateVisibility__23CHudDecoInterfaceCombatFv /* 80197070 00193FD0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80197074 00193FD4 7C 08 03 A6 */ mtlr r0 /* 80197078 00193FD8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019707C 00193FDC 4E 80 00 20 */ blr .global __ct__23CHudDecoInterfaceCombatFR9CGuiFrame __ct__23CHudDecoInterfaceCombatFR9CGuiFrame: /* 80197080 00193FE0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80197084 00193FE4 7C 08 02 A6 */ mflr r0 /* 80197088 00193FE8 3C A0 80 3E */ lis r5, lbl_803DA2A4@ha /* 8019708C 00193FEC 3C E0 80 3D */ lis r7, lbl_803D0F10@ha /* 80197090 00193FF0 90 01 00 54 */ stw r0, 0x54(r1) /* 80197094 00193FF4 38 05 A2 A4 */ addi r0, r5, lbl_803DA2A4@l /* 80197098 00193FF8 3C A0 80 5A */ lis r5, skZero3f@ha /* 8019709C 00193FFC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801970A0 00194000 7C 7F 1B 78 */ mr r31, r3 /* 801970A4 00194004 3C 60 80 3E */ lis r3, lbl_803E4594@ha /* 801970A8 00194008 93 C1 00 48 */ stw r30, 0x48(r1) /* 801970AC 0019400C 3B C7 0F 10 */ addi r30, r7, lbl_803D0F10@l /* 801970B0 00194010 93 A1 00 44 */ stw r29, 0x44(r1) /* 801970B4 00194014 7C 9D 23 78 */ mr r29, r4 /* 801970B8 00194018 90 1F 00 00 */ stw r0, 0(r31) /* 801970BC 0019401C 38 03 45 94 */ addi r0, r3, lbl_803E4594@l /* 801970C0 00194020 3C 60 80 5A */ lis r3, lbl_805A6660@ha /* 801970C4 00194024 90 1F 00 00 */ stw r0, 0(r31) /* 801970C8 00194028 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l /* 801970CC 0019402C 3C 60 80 5A */ lis r3, lbl_805A65FC@ha /* 801970D0 00194030 C0 06 00 00 */ lfs f0, 0(r6) /* 801970D4 00194034 38 03 65 FC */ addi r0, r3, lbl_805A65FC@l /* 801970D8 00194038 7C 04 03 78 */ mr r4, r0 /* 801970DC 0019403C 38 7F 00 44 */ addi r3, r31, 0x44 /* 801970E0 00194040 D0 1F 00 04 */ stfs f0, 4(r31) /* 801970E4 00194044 C0 06 00 04 */ lfs f0, 4(r6) /* 801970E8 00194048 D0 1F 00 08 */ stfs f0, 8(r31) /* 801970EC 0019404C C0 06 00 08 */ lfs f0, 8(r6) /* 801970F0 00194050 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801970F4 00194054 C0 06 00 0C */ lfs f0, 0xc(r6) /* 801970F8 00194058 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801970FC 0019405C C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) /* 80197100 00194060 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80197104 00194064 C0 05 00 04 */ lfs f0, 4(r5) /* 80197108 00194068 D0 1F 00 18 */ stfs f0, 0x18(r31) /* 8019710C 0019406C C0 05 00 08 */ lfs f0, 8(r5) /* 80197110 00194070 D0 1F 00 1C */ stfs f0, 0x1c(r31) /* 80197114 00194074 C0 05 00 00 */ lfs f0, 0(r5) /* 80197118 00194078 D0 1F 00 20 */ stfs f0, 0x20(r31) /* 8019711C 0019407C C0 05 00 04 */ lfs f0, 4(r5) /* 80197120 00194080 D0 1F 00 24 */ stfs f0, 0x24(r31) /* 80197124 00194084 C0 05 00 08 */ lfs f0, 8(r5) /* 80197128 00194088 D0 1F 00 28 */ stfs f0, 0x28(r31) /* 8019712C 0019408C C0 05 00 00 */ lfs f0, 0(r5) /* 80197130 00194090 D0 1F 00 2C */ stfs f0, 0x2c(r31) /* 80197134 00194094 C0 05 00 04 */ lfs f0, 4(r5) /* 80197138 00194098 D0 1F 00 30 */ stfs f0, 0x30(r31) /* 8019713C 0019409C C0 05 00 08 */ lfs f0, 8(r5) /* 80197140 001940A0 D0 1F 00 34 */ stfs f0, 0x34(r31) /* 80197144 001940A4 C0 05 00 00 */ lfs f0, 0(r5) /* 80197148 001940A8 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 8019714C 001940AC C0 05 00 04 */ lfs f0, 4(r5) /* 80197150 001940B0 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80197154 001940B4 C0 05 00 08 */ lfs f0, 8(r5) /* 80197158 001940B8 D0 1F 00 40 */ stfs f0, 0x40(r31) /* 8019715C 001940BC 48 17 8E C9 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 80197160 001940C0 88 1F 00 68 */ lbz r0, 0x68(r31) /* 80197164 001940C4 38 80 00 01 */ li r4, 1 /* 80197168 001940C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8019716C 001940CC 38 61 00 08 */ addi r3, r1, 8 /* 80197170 001940D0 98 1F 00 68 */ stb r0, 0x68(r31) /* 80197174 001940D4 88 1F 00 68 */ lbz r0, 0x68(r31) /* 80197178 001940D8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8019717C 001940DC 98 1F 00 68 */ stb r0, 0x68(r31) /* 80197180 001940E0 80 1D 00 14 */ lwz r0, 0x14(r29) /* 80197184 001940E4 90 1F 00 6C */ stw r0, 0x6c(r31) /* 80197188 001940E8 80 9F 00 6C */ lwz r4, 0x6c(r31) /* 8019718C 001940EC 48 12 E0 91 */ bl GetLocalPosition__10CGuiObjectCFv /* 80197190 001940F0 C0 01 00 08 */ lfs f0, 8(r1) /* 80197194 001940F4 7F A3 EB 78 */ mr r3, r29 /* 80197198 001940F8 38 9E 00 28 */ addi r4, r30, 0x28 /* 8019719C 001940FC D0 1F 00 2C */ stfs f0, 0x2c(r31) /* 801971A0 00194100 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801971A4 00194104 D0 1F 00 30 */ stfs f0, 0x30(r31) /* 801971A8 00194108 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801971AC 0019410C D0 1F 00 34 */ stfs f0, 0x34(r31) /* 801971B0 00194110 48 12 AF A5 */ bl FindWidget__9CGuiFrameCFPCc /* 801971B4 00194114 90 7F 00 70 */ stw r3, 0x70(r31) /* 801971B8 00194118 7F A3 EB 78 */ mr r3, r29 /* 801971BC 0019411C 38 9E 00 00 */ addi r4, r30, 0 /* 801971C0 00194120 48 12 AF 95 */ bl FindWidget__9CGuiFrameCFPCc /* 801971C4 00194124 90 7F 00 74 */ stw r3, 0x74(r31) /* 801971C8 00194128 7F A3 EB 78 */ mr r3, r29 /* 801971CC 0019412C 38 9E 00 10 */ addi r4, r30, 0x10 /* 801971D0 00194130 48 12 AF 85 */ bl FindWidget__9CGuiFrameCFPCc /* 801971D4 00194134 90 7F 00 78 */ stw r3, 0x78(r31) /* 801971D8 00194138 7F A3 EB 78 */ mr r3, r29 /* 801971DC 0019413C 38 9E 00 3C */ addi r4, r30, 0x3c /* 801971E0 00194140 48 12 AF 75 */ bl FindWidget__9CGuiFrameCFPCc /* 801971E4 00194144 90 7F 00 7C */ stw r3, 0x7c(r31) /* 801971E8 00194148 80 7F 00 70 */ lwz r3, 0x70(r31) /* 801971EC 0019414C C0 43 00 A0 */ lfs f2, 0xa0(r3) /* 801971F0 00194150 C0 23 00 90 */ lfs f1, 0x90(r3) /* 801971F4 00194154 C0 03 00 80 */ lfs f0, 0x80(r3) /* 801971F8 00194158 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 801971FC 0019415C D0 3F 00 18 */ stfs f1, 0x18(r31) /* 80197200 00194160 D0 5F 00 1C */ stfs f2, 0x1c(r31) /* 80197204 00194164 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80197208 00194168 80 7F 00 78 */ lwz r3, 0x78(r31) /* 8019720C 0019416C 38 84 00 88 */ addi r4, r4, 0x88 /* 80197210 00194170 48 13 36 5D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80197214 00194174 80 9F 00 7C */ lwz r4, 0x7c(r31) /* 80197218 00194178 38 61 00 14 */ addi r3, r1, 0x14 /* 8019721C 0019417C C0 44 00 30 */ lfs f2, 0x30(r4) /* 80197220 00194180 C0 24 00 20 */ lfs f1, 0x20(r4) /* 80197224 00194184 C0 04 00 10 */ lfs f0, 0x10(r4) /* 80197228 00194188 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 8019722C 0019418C D0 3F 00 3C */ stfs f1, 0x3c(r31) /* 80197230 00194190 D0 5F 00 40 */ stfs f2, 0x40(r31) /* 80197234 00194194 80 9F 00 7C */ lwz r4, 0x7c(r31) /* 80197238 00194198 38 84 00 04 */ addi r4, r4, 4 /* 8019723C 0019419C 48 17 BE B9 */ bl BuildMatrix3f__12CTransform4fCFv /* 80197240 001941A0 38 7F 00 44 */ addi r3, r31, 0x44 /* 80197244 001941A4 38 81 00 14 */ addi r4, r1, 0x14 /* 80197248 001941A8 48 17 8D B1 */ bl __as__9CMatrix3fFRC9CMatrix3f /* 8019724C 001941AC 7F E3 FB 78 */ mr r3, r31 /* 80197250 001941B0 81 9F 00 00 */ lwz r12, 0(r31) /* 80197254 001941B4 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80197258 001941B8 7D 89 03 A6 */ mtctr r12 /* 8019725C 001941BC 4E 80 04 21 */ bctrl /* 80197260 001941C0 80 01 00 54 */ lwz r0, 0x54(r1) /* 80197264 001941C4 7F E3 FB 78 */ mr r3, r31 /* 80197268 001941C8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8019726C 001941CC 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80197270 001941D0 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80197274 001941D4 7C 08 03 A6 */ mtlr r0 /* 80197278 001941D8 38 21 00 50 */ addi r1, r1, 0x50 /* 8019727C 001941DC 4E 80 00 20 */ blr .global __dt__21CHudDecoInterfaceScanFv __dt__21CHudDecoInterfaceScanFv: /* 80197280 001941E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80197284 001941E4 7C 08 02 A6 */ mflr r0 /* 80197288 001941E8 90 01 00 14 */ stw r0, 0x14(r1) /* 8019728C 001941EC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80197290 001941F0 7C 9F 23 78 */ mr r31, r4 /* 80197294 001941F4 93 C1 00 08 */ stw r30, 8(r1) /* 80197298 001941F8 7C 7E 1B 79 */ or. r30, r3, r3 /* 8019729C 001941FC 41 82 00 5C */ beq lbl_801972F8 /* 801972A0 00194200 3C 80 80 3E */ lis r4, lbl_803E450C@ha /* 801972A4 00194204 38 7E 00 18 */ addi r3, r30, 0x18 /* 801972A8 00194208 38 04 45 0C */ addi r0, r4, lbl_803E450C@l /* 801972AC 0019420C 38 80 FF FF */ li r4, -1 /* 801972B0 00194210 90 1E 00 00 */ stw r0, 0(r30) /* 801972B4 00194214 4B FF F2 49 */ bl __dt__12CScanDisplayFv /* 801972B8 00194218 34 1E 00 04 */ addic. r0, r30, 4 /* 801972BC 0019421C 41 82 00 18 */ beq lbl_801972D4 /* 801972C0 00194220 34 1E 00 04 */ addic. r0, r30, 4 /* 801972C4 00194224 41 82 00 10 */ beq lbl_801972D4 /* 801972C8 00194228 38 7E 00 04 */ addi r3, r30, 4 /* 801972CC 0019422C 38 80 00 00 */ li r4, 0 /* 801972D0 00194230 48 1A 9B 71 */ bl __dt__6CTokenFv lbl_801972D4: /* 801972D4 00194234 28 1E 00 00 */ cmplwi r30, 0 /* 801972D8 00194238 41 82 00 10 */ beq lbl_801972E8 /* 801972DC 0019423C 3C 60 80 3E */ lis r3, lbl_803DA2A4@ha /* 801972E0 00194240 38 03 A2 A4 */ addi r0, r3, lbl_803DA2A4@l /* 801972E4 00194244 90 1E 00 00 */ stw r0, 0(r30) lbl_801972E8: /* 801972E8 00194248 7F E0 07 35 */ extsh. r0, r31 /* 801972EC 0019424C 40 81 00 0C */ ble lbl_801972F8 /* 801972F0 00194250 7F C3 F3 78 */ mr r3, r30 /* 801972F4 00194254 48 17 E6 3D */ bl Free__7CMemoryFPCv lbl_801972F8: /* 801972F8 00194258 80 01 00 14 */ lwz r0, 0x14(r1) /* 801972FC 0019425C 7F C3 F3 78 */ mr r3, r30 /* 80197300 00194260 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80197304 00194264 83 C1 00 08 */ lwz r30, 8(r1) /* 80197308 00194268 7C 08 03 A6 */ mtlr r0 /* 8019730C 0019426C 38 21 00 10 */ addi r1, r1, 0x10 /* 80197310 00194270 4E 80 00 20 */ blr .global __dt__21CHudDecoInterfaceXrayFv __dt__21CHudDecoInterfaceXrayFv: /* 80197314 00194274 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80197318 00194278 7C 08 02 A6 */ mflr r0 /* 8019731C 0019427C 90 01 00 14 */ stw r0, 0x14(r1) /* 80197320 00194280 93 E1 00 0C */ stw r31, 0xc(r1) /* 80197324 00194284 7C 7F 1B 79 */ or. r31, r3, r3 /* 80197328 00194288 41 82 00 30 */ beq lbl_80197358 /* 8019732C 0019428C 3C 60 80 3E */ lis r3, lbl_803E4550@ha /* 80197330 00194290 38 03 45 50 */ addi r0, r3, lbl_803E4550@l /* 80197334 00194294 90 1F 00 00 */ stw r0, 0(r31) /* 80197338 00194298 41 82 00 10 */ beq lbl_80197348 /* 8019733C 0019429C 3C 60 80 3E */ lis r3, lbl_803DA2A4@ha /* 80197340 001942A0 38 03 A2 A4 */ addi r0, r3, lbl_803DA2A4@l /* 80197344 001942A4 90 1F 00 00 */ stw r0, 0(r31) lbl_80197348: /* 80197348 001942A8 7C 80 07 35 */ extsh. r0, r4 /* 8019734C 001942AC 40 81 00 0C */ ble lbl_80197358 /* 80197350 001942B0 7F E3 FB 78 */ mr r3, r31 /* 80197354 001942B4 48 17 E5 DD */ bl Free__7CMemoryFPCv lbl_80197358: /* 80197358 001942B8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019735C 001942BC 7F E3 FB 78 */ mr r3, r31 /* 80197360 001942C0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80197364 001942C4 7C 08 03 A6 */ mtlr r0 /* 80197368 001942C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019736C 001942CC 4E 80 00 20 */ blr .global __dt__23CHudDecoInterfaceCombatFv __dt__23CHudDecoInterfaceCombatFv: /* 80197370 001942D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80197374 001942D4 7C 08 02 A6 */ mflr r0 /* 80197378 001942D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8019737C 001942DC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80197380 001942E0 7C 7F 1B 79 */ or. r31, r3, r3 /* 80197384 001942E4 41 82 00 30 */ beq lbl_801973B4 /* 80197388 001942E8 3C 60 80 3E */ lis r3, lbl_803E4594@ha /* 8019738C 001942EC 38 03 45 94 */ addi r0, r3, lbl_803E4594@l /* 80197390 001942F0 90 1F 00 00 */ stw r0, 0(r31) /* 80197394 001942F4 41 82 00 10 */ beq lbl_801973A4 /* 80197398 001942F8 3C 60 80 3E */ lis r3, lbl_803DA2A4@ha /* 8019739C 001942FC 38 03 A2 A4 */ addi r0, r3, lbl_803DA2A4@l /* 801973A0 00194300 90 1F 00 00 */ stw r0, 0(r31) lbl_801973A4: /* 801973A4 00194304 7C 80 07 35 */ extsh. r0, r4 /* 801973A8 00194308 40 81 00 0C */ ble lbl_801973B4 /* 801973AC 0019430C 7F E3 FB 78 */ mr r3, r31 /* 801973B0 00194310 48 17 E5 81 */ bl Free__7CMemoryFPCv lbl_801973B4: /* 801973B4 00194314 80 01 00 14 */ lwz r0, 0x14(r1) /* 801973B8 00194318 7F E3 FB 78 */ mr r3, r31 /* 801973BC 0019431C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801973C0 00194320 7C 08 03 A6 */ mtlr r0 /* 801973C4 00194324 38 21 00 10 */ addi r1, r1, 0x10 /* 801973C8 00194328 4E 80 00 20 */ blr .global sub_801973cc sub_801973cc: /* 801973CC 0019432C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801973D0 00194330 7C 08 02 A6 */ mflr r0 /* 801973D4 00194334 90 01 00 34 */ stw r0, 0x34(r1) /* 801973D8 00194338 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801973DC 0019433C 7C 9F 23 78 */ mr r31, r4 /* 801973E0 00194340 7C 7E 1B 78 */ mr r30, r3 /* 801973E4 00194344 80 03 00 08 */ lwz r0, 8(r3) /* 801973E8 00194348 7C 1F 00 00 */ cmpw r31, r0 /* 801973EC 0019434C 40 81 00 BC */ ble lbl_801974A8 /* 801973F0 00194350 1C 7F 00 34 */ mulli r3, r31, 0x34 /* 801973F4 00194354 2C 03 00 00 */ cmpwi r3, 0 /* 801973F8 00194358 40 82 00 0C */ bne lbl_80197404 /* 801973FC 0019435C 3B 80 00 00 */ li r28, 0 /* 80197400 00194360 48 00 00 1C */ b lbl_8019741C lbl_80197404: /* 80197404 00194364 3C 80 80 3D */ lis r4, lbl_803D10E4@ha /* 80197408 00194368 38 A0 00 00 */ li r5, 0 /* 8019740C 0019436C 38 84 10 E4 */ addi r4, r4, lbl_803D10E4@l /* 80197410 00194370 38 84 01 20 */ addi r4, r4, 0x120 /* 80197414 00194374 48 17 E4 05 */ bl __nwa__FUlPCcPCc /* 80197418 00194378 7C 7C 1B 78 */ mr r28, r3 lbl_8019741C: /* 8019741C 0019437C 80 1E 00 04 */ lwz r0, 4(r30) /* 80197420 00194380 7F 9B E3 78 */ mr r27, r28 /* 80197424 00194384 83 5E 00 0C */ lwz r26, 0xc(r30) /* 80197428 00194388 1C 00 00 34 */ mulli r0, r0, 0x34 /* 8019742C 0019438C 93 41 00 10 */ stw r26, 0x10(r1) /* 80197430 00194390 7F BA 02 14 */ add r29, r26, r0 /* 80197434 00194394 93 41 00 14 */ stw r26, 0x14(r1) /* 80197438 00194398 93 A1 00 08 */ stw r29, 8(r1) /* 8019743C 0019439C 93 A1 00 0C */ stw r29, 0xc(r1) /* 80197440 001943A0 48 00 00 28 */ b lbl_80197468 lbl_80197444: /* 80197444 001943A4 28 1B 00 00 */ cmplwi r27, 0 /* 80197448 001943A8 41 82 00 18 */ beq lbl_80197460 /* 8019744C 001943AC 80 1A 00 00 */ lwz r0, 0(r26) /* 80197450 001943B0 38 7B 00 04 */ addi r3, r27, 4 /* 80197454 001943B4 38 9A 00 04 */ addi r4, r26, 4 /* 80197458 001943B8 90 1B 00 00 */ stw r0, 0(r27) /* 8019745C 001943BC 48 17 B7 19 */ bl __ct__12CTransform4fFRC12CTransform4f lbl_80197460: /* 80197460 001943C0 3B 7B 00 34 */ addi r27, r27, 0x34 /* 80197464 001943C4 3B 5A 00 34 */ addi r26, r26, 0x34 lbl_80197468: /* 80197468 001943C8 7C 1A E8 40 */ cmplw r26, r29 /* 8019746C 001943CC 40 82 FF D8 */ bne lbl_80197444 /* 80197470 001943D0 80 1E 00 04 */ lwz r0, 4(r30) /* 80197474 001943D4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80197478 001943D8 1C 00 00 34 */ mulli r0, r0, 0x34 /* 8019747C 001943DC 7C 64 1B 78 */ mr r4, r3 /* 80197480 001943E0 7C 03 02 14 */ add r0, r3, r0 /* 80197484 001943E4 48 00 00 08 */ b lbl_8019748C lbl_80197488: /* 80197488 001943E8 38 84 00 34 */ addi r4, r4, 0x34 lbl_8019748C: /* 8019748C 001943EC 7C 04 00 40 */ cmplw r4, r0 /* 80197490 001943F0 40 82 FF F8 */ bne lbl_80197488 /* 80197494 001943F4 28 03 00 00 */ cmplwi r3, 0 /* 80197498 001943F8 41 82 00 08 */ beq lbl_801974A0 /* 8019749C 001943FC 48 17 E4 95 */ bl Free__7CMemoryFPCv lbl_801974A0: /* 801974A0 00194400 93 9E 00 0C */ stw r28, 0xc(r30) /* 801974A4 00194404 93 FE 00 08 */ stw r31, 8(r30) lbl_801974A8: /* 801974A8 00194408 BB 41 00 18 */ lmw r26, 0x18(r1) /* 801974AC 0019440C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801974B0 00194410 7C 08 03 A6 */ mtlr r0 /* 801974B4 00194414 38 21 00 30 */ addi r1, r1, 0x30 /* 801974B8 00194418 4E 80 00 20 */ blr .global __dt__13CFlameThrowerFv __dt__13CFlameThrowerFv: /* 801974BC 0019441C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801974C0 00194420 7C 08 02 A6 */ mflr r0 /* 801974C4 00194424 90 01 00 14 */ stw r0, 0x14(r1) /* 801974C8 00194428 93 E1 00 0C */ stw r31, 0xc(r1) /* 801974CC 0019442C 7C 9F 23 78 */ mr r31, r4 /* 801974D0 00194430 93 C1 00 08 */ stw r30, 8(r1) /* 801974D4 00194434 7C 7E 1B 79 */ or. r30, r3, r3 /* 801974D8 00194438 41 82 00 7C */ beq lbl_80197554 /* 801974DC 0019443C 3C 80 80 3E */ lis r4, lbl_803E45D8@ha /* 801974E0 00194440 38 7E 03 4C */ addi r3, r30, 0x34c /* 801974E4 00194444 38 04 45 D8 */ addi r0, r4, lbl_803E45D8@l /* 801974E8 00194448 38 80 FF FF */ li r4, -1 /* 801974EC 0019444C 90 1E 00 00 */ stw r0, 0(r30) /* 801974F0 00194450 48 01 E1 79 */ bl __dt__10CFlameWarpFv /* 801974F4 00194454 34 1E 03 48 */ addic. r0, r30, 0x348 /* 801974F8 00194458 41 82 00 24 */ beq lbl_8019751C /* 801974FC 0019445C 80 7E 03 48 */ lwz r3, 0x348(r30) /* 80197500 00194460 28 03 00 00 */ cmplwi r3, 0 /* 80197504 00194464 41 82 00 18 */ beq lbl_8019751C /* 80197508 00194468 81 83 00 00 */ lwz r12, 0(r3) /* 8019750C 0019446C 38 80 00 01 */ li r4, 1 /* 80197510 00194470 81 8C 00 08 */ lwz r12, 8(r12) /* 80197514 00194474 7D 89 03 A6 */ mtctr r12 /* 80197518 00194478 4E 80 04 21 */ bctrl lbl_8019751C: /* 8019751C 0019447C 34 1E 03 3C */ addic. r0, r30, 0x33c /* 80197520 00194480 41 82 00 18 */ beq lbl_80197538 /* 80197524 00194484 34 1E 03 3C */ addic. r0, r30, 0x33c /* 80197528 00194488 41 82 00 10 */ beq lbl_80197538 /* 8019752C 0019448C 38 7E 03 3C */ addi r3, r30, 0x33c /* 80197530 00194490 38 80 00 00 */ li r4, 0 /* 80197534 00194494 48 1A 99 0D */ bl __dt__6CTokenFv lbl_80197538: /* 80197538 00194498 7F C3 F3 78 */ mr r3, r30 /* 8019753C 0019449C 38 80 00 00 */ li r4, 0 /* 80197540 001944A0 4B E9 FE C1 */ bl __dt__15CGameProjectileFv /* 80197544 001944A4 7F E0 07 35 */ extsh. r0, r31 /* 80197548 001944A8 40 81 00 0C */ ble lbl_80197554 /* 8019754C 001944AC 7F C3 F3 78 */ mr r3, r30 /* 80197550 001944B0 48 17 E3 E1 */ bl Free__7CMemoryFPCv lbl_80197554: /* 80197554 001944B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80197558 001944B8 7F C3 F3 78 */ mr r3, r30 /* 8019755C 001944BC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80197560 001944C0 83 C1 00 08 */ lwz r30, 8(r1) /* 80197564 001944C4 7C 08 03 A6 */ mtlr r0 /* 80197568 001944C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019756C 001944CC 4E 80 00 20 */ blr .global sub_80197570 sub_80197570: /* 80197570 001944D0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80197574 001944D4 7C 08 02 A6 */ mflr r0 /* 80197578 001944D8 90 01 00 44 */ stw r0, 0x44(r1) /* 8019757C 001944DC DB E1 00 38 */ stfd f31, 0x38(r1) /* 80197580 001944E0 FF E0 08 90 */ fmr f31, f1 /* 80197584 001944E4 93 E1 00 34 */ stw r31, 0x34(r1) /* 80197588 001944E8 7C 9F 23 78 */ mr r31, r4 /* 8019758C 001944EC 93 C1 00 30 */ stw r30, 0x30(r1) /* 80197590 001944F0 7C 7E 1B 78 */ mr r30, r3 /* 80197594 001944F4 81 04 08 4C */ lwz r8, 0x84c(r4) /* 80197598 001944F8 A0 A5 00 00 */ lhz r5, 0(r5) /* 8019759C 001944FC A0 08 00 08 */ lhz r0, 8(r8) /* 801975A0 00194500 7C 05 00 40 */ cmplw r5, r0 /* 801975A4 00194504 40 82 00 30 */ bne lbl_801975D4 /* 801975A8 00194508 80 BE 03 F4 */ lwz r5, 0x3f4(r30) /* 801975AC 0019450C 3C 05 00 01 */ addis r0, r5, 1 /* 801975B0 00194510 28 00 FF FF */ cmplwi r0, 0xffff /* 801975B4 00194514 41 82 00 20 */ beq lbl_801975D4 /* 801975B8 00194518 80 FE 03 FC */ lwz r7, 0x3fc(r30) /* 801975BC 0019451C 3C 07 00 01 */ addis r0, r7, 1 /* 801975C0 00194520 28 00 FF FF */ cmplwi r0, 0xffff /* 801975C4 00194524 41 82 00 10 */ beq lbl_801975D4 /* 801975C8 00194528 A0 DE 03 F8 */ lhz r6, 0x3f8(r30) /* 801975CC 0019452C 7D 03 43 78 */ mr r3, r8 /* 801975D0 00194530 4B E7 E7 45 */ bl Freeze__7CPlayerFR13CStateManagerUiUsUi lbl_801975D4: /* 801975D4 00194534 FC 20 F8 90 */ fmr f1, f31 /* 801975D8 00194538 38 61 00 08 */ addi r3, r1, 8 /* 801975DC 0019453C 38 9E 01 2C */ addi r4, r30, 0x12c /* 801975E0 00194540 4B F2 BE 69 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 801975E4 00194544 7F C3 F3 78 */ mr r3, r30 /* 801975E8 00194548 7F E4 FB 78 */ mr r4, r31 /* 801975EC 0019454C 38 A1 00 08 */ addi r5, r1, 8 /* 801975F0 00194550 4B EA 0C 85 */ bl ApplyDamageToActors__15CGameProjectileFR13CStateManager /* 801975F4 00194554 80 01 00 44 */ lwz r0, 0x44(r1) /* 801975F8 00194558 CB E1 00 38 */ lfd f31, 0x38(r1) /* 801975FC 0019455C 83 E1 00 34 */ lwz r31, 0x34(r1) /* 80197600 00194560 83 C1 00 30 */ lwz r30, 0x30(r1) /* 80197604 00194564 7C 08 03 A6 */ mtlr r0 /* 80197608 00194568 38 21 00 40 */ addi r1, r1, 0x40 /* 8019760C 0019456C 4E 80 00 20 */ blr .global SetFlameLightActive__13CFlameThrowerFbR13CStateManager SetFlameLightActive__13CFlameThrowerFbR13CStateManager: /* 80197610 00194570 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80197614 00194574 7C 08 02 A6 */ mflr r0 /* 80197618 00194578 90 01 00 24 */ stw r0, 0x24(r1) /* 8019761C 0019457C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80197620 00194580 7C 9F 23 78 */ mr r31, r4 /* 80197624 00194584 A0 C3 02 C8 */ lhz r6, 0x2c8(r3) /* 80197628 00194588 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8019762C 0019458C 7C 06 00 40 */ cmplw r6, r0 /* 80197630 00194590 41 82 00 44 */ beq lbl_80197674 /* 80197634 00194594 B0 C1 00 08 */ sth r6, 8(r1) /* 80197638 00194598 7C A3 2B 78 */ mr r3, r5 /* 8019763C 0019459C 38 81 00 0C */ addi r4, r1, 0xc /* 80197640 001945A0 B0 C1 00 0C */ sth r6, 0xc(r1) /* 80197644 001945A4 4B EB 4F 31 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80197648 001945A8 7C 64 1B 78 */ mr r4, r3 /* 8019764C 001945AC 38 61 00 10 */ addi r3, r1, 0x10 /* 80197650 001945B0 4B F1 64 35 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 80197654 001945B4 80 63 00 04 */ lwz r3, 4(r3) /* 80197658 001945B8 28 03 00 00 */ cmplwi r3, 0 /* 8019765C 001945BC 41 82 00 18 */ beq lbl_80197674 /* 80197660 001945C0 81 83 00 00 */ lwz r12, 0(r3) /* 80197664 001945C4 57 E4 06 3E */ clrlwi r4, r31, 0x18 /* 80197668 001945C8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8019766C 001945CC 7D 89 03 A6 */ mtctr r12 /* 80197670 001945D0 4E 80 04 21 */ bctrl lbl_80197674: /* 80197674 001945D4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80197678 001945D8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019767C 001945DC 7C 08 03 A6 */ mtlr r0 /* 80197680 001945E0 38 21 00 20 */ addi r1, r1, 0x20 /* 80197684 001945E4 4E 80 00 20 */ blr .global DoCollisionCheck__13CFlameThrowerFR9TUniqueIdRC6CAABoxR13CStateManager DoCollisionCheck__13CFlameThrowerFR9TUniqueIdRC6CAABoxR13CStateManager: /* 80197688 001945E8 94 21 F4 50 */ stwu r1, -0xbb0(r1) /* 8019768C 001945EC 7C 08 02 A6 */ mflr r0 /* 80197690 001945F0 90 01 0B B4 */ stw r0, 0xbb4(r1) /* 80197694 001945F4 DB E1 0B A0 */ stfd f31, 0xba0(r1) /* 80197698 001945F8 F3 E1 0B A8 */ psq_st f31, -1112(r1), 0, qr0 /* 8019769C 001945FC DB C1 0B 90 */ stfd f30, 0xb90(r1) /* 801976A0 00194600 F3 C1 0B 98 */ psq_st f30, -1128(r1), 0, qr0 /* 801976A4 00194604 DB A1 0B 80 */ stfd f29, 0xb80(r1) /* 801976A8 00194608 F3 A1 0B 88 */ psq_st f29, -1144(r1), 0, qr0 /* 801976AC 0019460C DB 81 0B 70 */ stfd f28, 0xb70(r1) /* 801976B0 00194610 F3 81 0B 78 */ psq_st f28, -1160(r1), 0, qr0 /* 801976B4 00194614 DB 61 0B 60 */ stfd f27, 0xb60(r1) /* 801976B8 00194618 F3 61 0B 68 */ psq_st f27, -1176(r1), 0, qr0 /* 801976BC 0019461C DB 41 0B 50 */ stfd f26, 0xb50(r1) /* 801976C0 00194620 F3 41 0B 58 */ psq_st f26, -1192(r1), 0, qr0 /* 801976C4 00194624 BE 61 0B 1C */ stmw r19, 0xb1c(r1) /* 801976C8 00194628 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2) /* 801976CC 0019462C 7C 7E 1B 78 */ mr r30, r3 /* 801976D0 00194630 C0 22 A6 A0 */ lfs f1, lbl_805AC3C0@sda21(r2) /* 801976D4 00194634 7C 9F 23 78 */ mr r31, r4 /* 801976D8 00194638 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801976DC 0019463C 7C B4 2B 78 */ mr r20, r5 /* 801976E0 00194640 7C D5 33 78 */ mr r21, r6 /* 801976E4 00194644 7C F3 3B 78 */ mr r19, r7 /* 801976E8 00194648 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801976EC 0019464C 38 61 00 0C */ addi r3, r1, 0xc /* 801976F0 00194650 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801976F4 00194654 48 17 D2 05 */ bl Normalize__9CVector3fFv /* 801976F8 00194658 C0 62 A6 A4 */ lfs f3, lbl_805AC3C4@sda21(r2) /* 801976FC 0019465C 38 00 00 00 */ li r0, 0 /* 80197700 00194660 C0 41 00 0C */ lfs f2, 0xc(r1) /* 80197704 00194664 3C 60 80 5A */ lis r3, lbl_8059FD18@ha /* 80197708 00194668 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8019770C 0019466C 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l /* 80197710 00194670 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80197714 00194674 7E 63 9B 78 */ mr r3, r19 /* 80197718 00194678 D0 61 02 68 */ stfs f3, 0x268(r1) /* 8019771C 0019467C 7E A5 AB 78 */ mr r5, r21 /* 80197720 00194680 7F E7 FB 78 */ mr r7, r31 /* 80197724 00194684 38 81 03 08 */ addi r4, r1, 0x308 /* 80197728 00194688 D0 61 02 6C */ stfs f3, 0x26c(r1) /* 8019772C 0019468C D0 61 02 70 */ stfs f3, 0x270(r1) /* 80197730 00194690 D0 61 02 74 */ stfs f3, 0x274(r1) /* 80197734 00194694 D0 41 02 78 */ stfs f2, 0x278(r1) /* 80197738 00194698 D0 21 02 7C */ stfs f1, 0x27c(r1) /* 8019773C 0019469C D0 01 02 80 */ stfs f0, 0x280(r1) /* 80197740 001946A0 D0 61 02 84 */ stfs f3, 0x284(r1) /* 80197744 001946A4 98 01 02 88 */ stb r0, 0x288(r1) /* 80197748 001946A8 90 01 02 94 */ stw r0, 0x294(r1) /* 8019774C 001946AC 90 01 02 90 */ stw r0, 0x290(r1) /* 80197750 001946B0 90 01 03 08 */ stw r0, 0x308(r1) /* 80197754 001946B4 4B EB 4F CD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 80197758 001946B8 88 1F 04 00 */ lbz r0, 0x400(r31) /* 8019775C 001946BC 3B 9F 03 50 */ addi r28, r31, 0x350 /* 80197760 001946C0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80197764 001946C4 41 82 05 9C */ beq lbl_80197D00 /* 80197768 001946C8 80 1C 00 00 */ lwz r0, 0(r28) /* 8019776C 001946CC 2C 00 00 00 */ cmpwi r0, 0 /* 80197770 001946D0 40 81 05 90 */ ble lbl_80197D00 /* 80197774 001946D4 6C 03 80 00 */ xoris r3, r0, 0x8000 /* 80197778 001946D8 3C 00 43 30 */ lis r0, 0x4330 /* 8019777C 001946DC 90 61 0B 14 */ stw r3, 0xb14(r1) /* 80197780 001946E0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80197784 001946E4 C0 7F 03 E0 */ lfs f3, 0x3e0(r31) /* 80197788 001946E8 3B 01 02 D4 */ addi r24, r1, 0x2d4 /* 8019778C 001946EC 90 01 0B 10 */ stw r0, 0xb10(r1) /* 80197790 001946F0 3B 7C 00 10 */ addi r27, r28, 0x10 /* 80197794 001946F4 C0 5F 03 DC */ lfs f2, 0x3dc(r31) /* 80197798 001946F8 3B 41 03 0C */ addi r26, r1, 0x30c /* 8019779C 001946FC C8 22 A6 B0 */ lfd f1, lbl_805AC3D0@sda21(r2) /* 801977A0 00194700 3B 21 01 34 */ addi r25, r1, 0x134 /* 801977A4 00194704 C8 01 0B 10 */ lfd f0, 0xb10(r1) /* 801977A8 00194708 EC 43 10 28 */ fsubs f2, f3, f2 /* 801977AC 0019470C C3 E2 A6 A8 */ lfs f31, lbl_805AC3C8@sda21(r2) /* 801977B0 00194710 3A E1 01 C4 */ addi r23, r1, 0x1c4 /* 801977B4 00194714 EC 00 08 28 */ fsubs f0, f0, f1 /* 801977B8 00194718 3B A3 66 F4 */ addi r29, r3, lbl_805A66F4@l /* 801977BC 0019471C 3A C0 00 01 */ li r22, 1 /* 801977C0 00194720 EC 02 00 24 */ fdivs f0, f2, f0 /* 801977C4 00194724 EF DF 00 32 */ fmuls f30, f31, f0 /* 801977C8 00194728 FF A0 F0 90 */ fmr f29, f30 /* 801977CC 0019472C 48 00 05 24 */ b lbl_80197CF0 lbl_801977D0: /* 801977D0 00194730 38 16 FF FF */ addi r0, r22, -1 /* 801977D4 00194734 C0 BB 00 04 */ lfs f5, 4(r27) /* 801977D8 00194738 1C 00 00 0C */ mulli r0, r0, 0xc /* 801977DC 0019473C C0 7B 00 08 */ lfs f3, 8(r27) /* 801977E0 00194740 C0 3B 00 00 */ lfs f1, 0(r27) /* 801977E4 00194744 7F 65 DB 78 */ mr r5, r27 /* 801977E8 00194748 7F A6 EB 78 */ mr r6, r29 /* 801977EC 0019474C 7E 9C 02 14 */ add r20, r28, r0 /* 801977F0 00194750 C0 94 00 08 */ lfs f4, 8(r20) /* 801977F4 00194754 38 61 01 68 */ addi r3, r1, 0x168 /* 801977F8 00194758 C0 54 00 0C */ lfs f2, 0xc(r20) /* 801977FC 0019475C C4 14 00 04 */ lfsu f0, 4(r20) /* 80197800 00194760 EC 85 20 28 */ fsubs f4, f5, f4 /* 80197804 00194764 EC 43 10 28 */ fsubs f2, f3, f2 /* 80197808 00194768 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019780C 0019476C 7E 84 A3 78 */ mr r4, r20 /* 80197810 00194770 D0 81 00 64 */ stfs f4, 0x64(r1) /* 80197814 00194774 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80197818 00194778 D0 41 00 68 */ stfs f2, 0x68(r1) /* 8019781C 0019477C 48 17 C2 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80197820 00194780 38 61 02 34 */ addi r3, r1, 0x234 /* 80197824 00194784 38 81 01 68 */ addi r4, r1, 0x168 /* 80197828 00194788 48 17 B3 4D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8019782C 0019478C C0 41 00 64 */ lfs f2, 0x64(r1) /* 80197830 00194790 38 61 00 60 */ addi r3, r1, 0x60 /* 80197834 00194794 C0 21 00 68 */ lfs f1, 0x68(r1) /* 80197838 00194798 C0 01 00 60 */ lfs f0, 0x60(r1) /* 8019783C 0019479C EC 9F 00 B2 */ fmuls f4, f31, f2 /* 80197840 001947A0 C0 B4 00 04 */ lfs f5, 4(r20) /* 80197844 001947A4 EC 5F 00 72 */ fmuls f2, f31, f1 /* 80197848 001947A8 C0 74 00 08 */ lfs f3, 8(r20) /* 8019784C 001947AC EC 1F 00 32 */ fmuls f0, f31, f0 /* 80197850 001947B0 C0 34 00 00 */ lfs f1, 0(r20) /* 80197854 001947B4 EC 85 20 2A */ fadds f4, f5, f4 /* 80197858 001947B8 EC 43 10 2A */ fadds f2, f3, f2 /* 8019785C 001947BC EC 01 00 2A */ fadds f0, f1, f0 /* 80197860 001947C0 D0 81 02 50 */ stfs f4, 0x250(r1) /* 80197864 001947C4 D0 01 02 40 */ stfs f0, 0x240(r1) /* 80197868 001947C8 D0 41 02 60 */ stfs f2, 0x260(r1) /* 8019786C 001947CC 48 17 D0 4D */ bl Magnitude__9CVector3fCFv /* 80197870 001947D0 EC 1F 00 72 */ fmuls f0, f31, f1 /* 80197874 001947D4 D3 A1 00 48 */ stfs f29, 0x48(r1) /* 80197878 001947D8 38 61 01 F8 */ addi r3, r1, 0x1f8 /* 8019787C 001947DC 38 81 02 34 */ addi r4, r1, 0x234 /* 80197880 001947E0 D3 A1 00 50 */ stfs f29, 0x50(r1) /* 80197884 001947E4 38 A1 00 48 */ addi r5, r1, 0x48 /* 80197888 001947E8 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 8019788C 001947EC 48 13 E7 09 */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f /* 80197890 001947F0 7F 55 D3 78 */ mr r21, r26 /* 80197894 001947F4 48 00 04 3C */ b lbl_80197CD0 lbl_80197898: /* 80197898 001947F8 A0 15 00 00 */ lhz r0, 0(r21) /* 8019789C 001947FC 7E 63 9B 78 */ mr r3, r19 /* 801978A0 00194800 38 81 00 08 */ addi r4, r1, 8 /* 801978A4 00194804 B0 01 00 08 */ sth r0, 8(r1) /* 801978A8 00194808 4B EB 4C CD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801978AC 0019480C 7C 74 1B 79 */ or. r20, r3, r3 /* 801978B0 00194810 41 82 04 1C */ beq lbl_80197CCC /* 801978B4 00194814 7F E4 FB 78 */ mr r4, r31 /* 801978B8 00194818 7E 85 A3 78 */ mr r5, r20 /* 801978BC 0019481C 7E 66 9B 78 */ mr r6, r19 /* 801978C0 00194820 38 61 01 30 */ addi r3, r1, 0x130 /* 801978C4 00194824 4B EA 17 B1 */ bl CanCollideWith__15CGameProjectileFR6CActorR13CStateManager /* 801978C8 00194828 88 01 01 64 */ lbz r0, 0x164(r1) /* 801978CC 0019482C 38 81 01 C0 */ addi r4, r1, 0x1c0 /* 801978D0 00194830 A0 61 01 30 */ lhz r3, 0x130(r1) /* 801978D4 00194834 28 00 00 00 */ cmplwi r0, 0 /* 801978D8 00194838 98 01 01 F4 */ stb r0, 0x1f4(r1) /* 801978DC 0019483C B0 61 01 C0 */ sth r3, 0x1c0(r1) /* 801978E0 00194840 41 82 00 64 */ beq lbl_80197944 /* 801978E4 00194844 34 84 00 04 */ addic. r4, r4, 4 /* 801978E8 00194848 41 82 00 5C */ beq lbl_80197944 /* 801978EC 0019484C C0 01 01 34 */ lfs f0, 0x134(r1) /* 801978F0 00194850 D0 04 00 00 */ stfs f0, 0(r4) /* 801978F4 00194854 C0 01 01 38 */ lfs f0, 0x138(r1) /* 801978F8 00194858 D0 04 00 04 */ stfs f0, 4(r4) /* 801978FC 0019485C C0 01 01 3C */ lfs f0, 0x13c(r1) /* 80197900 00194860 D0 04 00 08 */ stfs f0, 8(r4) /* 80197904 00194864 C0 01 01 40 */ lfs f0, 0x140(r1) /* 80197908 00194868 D0 04 00 0C */ stfs f0, 0xc(r4) /* 8019790C 0019486C C0 01 01 44 */ lfs f0, 0x144(r1) /* 80197910 00194870 D0 04 00 10 */ stfs f0, 0x10(r4) /* 80197914 00194874 C0 01 01 48 */ lfs f0, 0x148(r1) /* 80197918 00194878 D0 04 00 14 */ stfs f0, 0x14(r4) /* 8019791C 0019487C C0 01 01 4C */ lfs f0, 0x14c(r1) /* 80197920 00194880 D0 04 00 18 */ stfs f0, 0x18(r4) /* 80197924 00194884 C0 01 01 50 */ lfs f0, 0x150(r1) /* 80197928 00194888 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 8019792C 0019488C 88 01 01 54 */ lbz r0, 0x154(r1) /* 80197930 00194890 98 04 00 20 */ stb r0, 0x20(r4) /* 80197934 00194894 80 01 01 5C */ lwz r0, 0x15c(r1) /* 80197938 00194898 80 61 01 60 */ lwz r3, 0x160(r1) /* 8019793C 0019489C 90 64 00 2C */ stw r3, 0x2c(r4) /* 80197940 001948A0 90 04 00 28 */ stw r0, 0x28(r4) lbl_80197944: /* 80197944 001948A4 28 19 00 00 */ cmplwi r25, 0 /* 80197948 001948A8 41 82 00 0C */ beq lbl_80197954 /* 8019794C 001948AC 38 00 00 00 */ li r0, 0 /* 80197950 001948B0 98 01 01 64 */ stb r0, 0x164(r1) lbl_80197954: /* 80197954 001948B4 A0 61 01 C0 */ lhz r3, 0x1c0(r1) /* 80197958 001948B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8019795C 001948BC 7C 03 00 40 */ cmplw r3, r0 /* 80197960 001948C0 40 82 00 18 */ bne lbl_80197978 /* 80197964 001948C4 28 17 00 00 */ cmplwi r23, 0 /* 80197968 001948C8 41 82 03 64 */ beq lbl_80197CCC /* 8019796C 001948CC 38 00 00 00 */ li r0, 0 /* 80197970 001948D0 98 01 01 F4 */ stb r0, 0x1f4(r1) /* 80197974 001948D4 48 00 03 58 */ b lbl_80197CCC lbl_80197978: /* 80197978 001948D8 7E 84 A3 78 */ mr r4, r20 /* 8019797C 001948DC 38 61 00 6C */ addi r3, r1, 0x6c /* 80197980 001948E0 81 94 00 00 */ lwz r12, 0(r20) /* 80197984 001948E4 81 8C 00 40 */ lwz r12, 0x40(r12) /* 80197988 001948E8 7D 89 03 A6 */ mtctr r12 /* 8019798C 001948EC 4E 80 04 21 */ bctrl /* 80197990 001948F0 88 01 00 84 */ lbz r0, 0x84(r1) /* 80197994 001948F4 28 00 00 00 */ cmplwi r0, 0 /* 80197998 001948F8 98 01 00 A0 */ stb r0, 0xa0(r1) /* 8019799C 001948FC 41 82 00 3C */ beq lbl_801979D8 /* 801979A0 00194900 34 61 00 88 */ addic. r3, r1, 0x88 /* 801979A4 00194904 41 82 00 34 */ beq lbl_801979D8 /* 801979A8 00194908 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801979AC 0019490C D0 03 00 00 */ stfs f0, 0(r3) /* 801979B0 00194910 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801979B4 00194914 D0 03 00 04 */ stfs f0, 4(r3) /* 801979B8 00194918 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801979BC 0019491C D0 03 00 08 */ stfs f0, 8(r3) /* 801979C0 00194920 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801979C4 00194924 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801979C8 00194928 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801979CC 0019492C D0 03 00 10 */ stfs f0, 0x10(r3) /* 801979D0 00194930 C0 01 00 80 */ lfs f0, 0x80(r1) /* 801979D4 00194934 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801979D8: /* 801979D8 00194938 88 01 00 A0 */ lbz r0, 0xa0(r1) /* 801979DC 0019493C 38 60 00 00 */ li r3, 0 /* 801979E0 00194940 98 61 00 84 */ stb r3, 0x84(r1) /* 801979E4 00194944 28 00 00 00 */ cmplwi r0, 0 /* 801979E8 00194948 40 82 00 18 */ bne lbl_80197A00 /* 801979EC 0019494C 28 17 00 00 */ cmplwi r23, 0 /* 801979F0 00194950 98 61 00 A0 */ stb r3, 0xa0(r1) /* 801979F4 00194954 41 82 02 D8 */ beq lbl_80197CCC /* 801979F8 00194958 98 61 01 F4 */ stb r3, 0x1f4(r1) /* 801979FC 0019495C 48 00 02 D0 */ b lbl_80197CCC lbl_80197A00: /* 80197A00 00194960 38 61 01 F8 */ addi r3, r1, 0x1f8 /* 80197A04 00194964 38 81 00 88 */ addi r4, r1, 0x88 /* 80197A08 00194968 48 13 E1 6D */ bl AABoxIntersectsBox__6COBBoxFRC6CAABox /* 80197A0C 0019496C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80197A10 00194970 41 82 02 A8 */ beq lbl_80197CB8 /* 80197A14 00194974 38 61 01 08 */ addi r3, r1, 0x108 /* 80197A18 00194978 38 94 00 68 */ addi r4, r20, 0x68 /* 80197A1C 0019497C 48 13 7E 99 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 80197A20 00194980 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 80197A24 00194984 C0 C1 00 88 */ lfs f6, 0x88(r1) /* 80197A28 00194988 39 03 CA D0 */ addi r8, r3, lbl_803ECAD0@l /* 80197A2C 0019498C C0 A1 00 8C */ lfs f5, 0x8c(r1) /* 80197A30 00194990 91 01 01 08 */ stw r8, 0x108(r1) /* 80197A34 00194994 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 80197A38 00194998 38 E3 97 E4 */ addi r7, r3, lbl_803D97E4@l /* 80197A3C 0019499C C0 81 00 90 */ lfs f4, 0x90(r1) /* 80197A40 001949A0 C0 61 00 94 */ lfs f3, 0x94(r1) /* 80197A44 001949A4 7E 84 A3 78 */ mr r4, r20 /* 80197A48 001949A8 C0 41 00 98 */ lfs f2, 0x98(r1) /* 80197A4C 001949AC 7E 65 9B 78 */ mr r5, r19 /* 80197A50 001949B0 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 80197A54 001949B4 38 61 00 3C */ addi r3, r1, 0x3c /* 80197A58 001949B8 90 E1 01 98 */ stw r7, 0x198(r1) /* 80197A5C 001949BC 80 01 01 10 */ lwz r0, 0x110(r1) /* 80197A60 001949C0 91 01 01 08 */ stw r8, 0x108(r1) /* 80197A64 001949C4 80 C1 01 14 */ lwz r6, 0x114(r1) /* 80197A68 001949C8 D0 C1 01 18 */ stfs f6, 0x118(r1) /* 80197A6C 001949CC C0 22 A6 A4 */ lfs f1, lbl_805AC3C4@sda21(r2) /* 80197A70 001949D0 D0 A1 01 1C */ stfs f5, 0x11c(r1) /* 80197A74 001949D4 D0 81 01 20 */ stfs f4, 0x120(r1) /* 80197A78 001949D8 D0 61 01 24 */ stfs f3, 0x124(r1) /* 80197A7C 001949DC D0 41 01 28 */ stfs f2, 0x128(r1) /* 80197A80 001949E0 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 80197A84 001949E4 90 C1 01 A4 */ stw r6, 0x1a4(r1) /* 80197A88 001949E8 90 01 01 A0 */ stw r0, 0x1a0(r1) /* 80197A8C 001949EC 91 01 01 98 */ stw r8, 0x198(r1) /* 80197A90 001949F0 D0 C1 01 A8 */ stfs f6, 0x1a8(r1) /* 80197A94 001949F4 D0 A1 01 AC */ stfs f5, 0x1ac(r1) /* 80197A98 001949F8 D0 81 01 B0 */ stfs f4, 0x1b0(r1) /* 80197A9C 001949FC D0 61 01 B4 */ stfs f3, 0x1b4(r1) /* 80197AA0 00194A00 D0 41 01 B8 */ stfs f2, 0x1b8(r1) /* 80197AA4 00194A04 D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 80197AA8 00194A08 90 E1 01 08 */ stw r7, 0x108(r1) /* 80197AAC 00194A0C 81 94 00 00 */ lwz r12, 0(r20) /* 80197AB0 00194A10 C3 5F 03 14 */ lfs f26, 0x314(r31) /* 80197AB4 00194A14 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80197AB8 00194A18 C3 7F 03 04 */ lfs f27, 0x304(r31) /* 80197ABC 00194A1C C3 9F 02 F4 */ lfs f28, 0x2f4(r31) /* 80197AC0 00194A20 7D 89 03 A6 */ mtctr r12 /* 80197AC4 00194A24 4E 80 04 21 */ bctrl /* 80197AC8 00194A28 C0 41 00 40 */ lfs f2, 0x40(r1) /* 80197ACC 00194A2C 38 61 00 54 */ addi r3, r1, 0x54 /* 80197AD0 00194A30 C0 21 00 44 */ lfs f1, 0x44(r1) /* 80197AD4 00194A34 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80197AD8 00194A38 EC 42 D8 28 */ fsubs f2, f2, f27 /* 80197ADC 00194A3C EC 21 D0 28 */ fsubs f1, f1, f26 /* 80197AE0 00194A40 EC 00 E0 28 */ fsubs f0, f0, f28 /* 80197AE4 00194A44 D0 41 00 58 */ stfs f2, 0x58(r1) /* 80197AE8 00194A48 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80197AEC 00194A4C D0 21 00 5C */ stfs f1, 0x5c(r1) /* 80197AF0 00194A50 48 17 CD C9 */ bl Magnitude__9CVector3fCFv /* 80197AF4 00194A54 FF 80 08 90 */ fmr f28, f1 /* 80197AF8 00194A58 38 61 00 24 */ addi r3, r1, 0x24 /* 80197AFC 00194A5C 38 81 00 54 */ addi r4, r1, 0x54 /* 80197B00 00194A60 48 17 CD 51 */ bl AsNormalized__9CVector3fCFv /* 80197B04 00194A64 C0 7F 03 14 */ lfs f3, 0x314(r31) /* 80197B08 00194A68 FC 20 E0 90 */ fmr f1, f28 /* 80197B0C 00194A6C C0 5F 03 04 */ lfs f2, 0x304(r31) /* 80197B10 00194A70 38 61 02 98 */ addi r3, r1, 0x298 /* 80197B14 00194A74 C0 1F 02 F4 */ lfs f0, 0x2f4(r31) /* 80197B18 00194A78 38 81 00 30 */ addi r4, r1, 0x30 /* 80197B1C 00194A7C 38 A1 00 24 */ addi r5, r1, 0x24 /* 80197B20 00194A80 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80197B24 00194A84 D0 41 00 34 */ stfs f2, 0x34(r1) /* 80197B28 00194A88 D0 61 00 38 */ stfs f3, 0x38(r1) /* 80197B2C 00194A8C 48 13 E5 41 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff /* 80197B30 00194A90 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80197B34 00194A94 D3 81 02 D0 */ stfs f28, 0x2d0(r1) /* 80197B38 00194A98 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 80197B3C 00194A9C 7F 03 C3 78 */ mr r3, r24 /* 80197B40 00194AA0 48 17 B0 35 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80197B44 00194AA4 3C 60 80 5A */ lis r3, lbl_8059FD18@ha /* 80197B48 00194AA8 81 81 01 98 */ lwz r12, 0x198(r1) /* 80197B4C 00194AAC 38 03 FD 18 */ addi r0, r3, lbl_8059FD18@l /* 80197B50 00194AB0 38 61 00 D8 */ addi r3, r1, 0xd8 /* 80197B54 00194AB4 90 01 03 04 */ stw r0, 0x304(r1) /* 80197B58 00194AB8 38 81 01 98 */ addi r4, r1, 0x198 /* 80197B5C 00194ABC 38 A1 02 98 */ addi r5, r1, 0x298 /* 80197B60 00194AC0 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80197B64 00194AC4 7D 89 03 A6 */ mtctr r12 /* 80197B68 00194AC8 4E 80 04 21 */ bctrl /* 80197B6C 00194ACC 88 E1 00 F8 */ lbz r7, 0xf8(r1) /* 80197B70 00194AD0 C0 21 00 D8 */ lfs f1, 0xd8(r1) /* 80197B74 00194AD4 80 81 00 DC */ lwz r4, 0xdc(r1) /* 80197B78 00194AD8 28 07 00 00 */ cmplwi r7, 0 /* 80197B7C 00194ADC 80 61 00 E0 */ lwz r3, 0xe0(r1) /* 80197B80 00194AE0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80197B84 00194AE4 C0 A1 00 E8 */ lfs f5, 0xe8(r1) /* 80197B88 00194AE8 C0 81 00 EC */ lfs f4, 0xec(r1) /* 80197B8C 00194AEC C0 61 00 F0 */ lfs f3, 0xf0(r1) /* 80197B90 00194AF0 C0 41 00 F4 */ lfs f2, 0xf4(r1) /* 80197B94 00194AF4 C8 01 01 00 */ lfd f0, 0x100(r1) /* 80197B98 00194AF8 D0 21 02 68 */ stfs f1, 0x268(r1) /* 80197B9C 00194AFC 90 81 02 6C */ stw r4, 0x26c(r1) /* 80197BA0 00194B00 90 61 02 70 */ stw r3, 0x270(r1) /* 80197BA4 00194B04 90 01 02 74 */ stw r0, 0x274(r1) /* 80197BA8 00194B08 D0 A1 02 78 */ stfs f5, 0x278(r1) /* 80197BAC 00194B0C D0 81 02 7C */ stfs f4, 0x27c(r1) /* 80197BB0 00194B10 D0 61 02 80 */ stfs f3, 0x280(r1) /* 80197BB4 00194B14 D0 41 02 84 */ stfs f2, 0x284(r1) /* 80197BB8 00194B18 98 E1 02 88 */ stb r7, 0x288(r1) /* 80197BBC 00194B1C D8 01 02 90 */ stfd f0, 0x290(r1) /* 80197BC0 00194B20 40 82 00 34 */ bne lbl_80197BF4 /* 80197BC4 00194B24 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 80197BC8 00194B28 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 80197BCC 00194B2C 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l /* 80197BD0 00194B30 38 00 00 00 */ li r0, 0 /* 80197BD4 00194B34 90 81 01 98 */ stw r4, 0x198(r1) /* 80197BD8 00194B38 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 80197BDC 00194B3C 28 17 00 00 */ cmplwi r23, 0 /* 80197BE0 00194B40 90 61 01 98 */ stw r3, 0x198(r1) /* 80197BE4 00194B44 98 01 00 A0 */ stb r0, 0xa0(r1) /* 80197BE8 00194B48 41 82 00 E4 */ beq lbl_80197CCC /* 80197BEC 00194B4C 98 01 01 F4 */ stb r0, 0x1f4(r1) /* 80197BF0 00194B50 48 00 00 DC */ b lbl_80197CCC lbl_80197BF4: /* 80197BF4 00194B54 D0 3E 00 00 */ stfs f1, 0(r30) /* 80197BF8 00194B58 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 80197BFC 00194B5C C0 01 02 6C */ lfs f0, 0x26c(r1) /* 80197C00 00194B60 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 80197C04 00194B64 C0 21 02 70 */ lfs f1, 0x270(r1) /* 80197C08 00194B68 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l /* 80197C0C 00194B6C D0 1E 00 04 */ stfs f0, 4(r30) /* 80197C10 00194B70 28 17 00 00 */ cmplwi r23, 0 /* 80197C14 00194B74 C0 01 02 74 */ lfs f0, 0x274(r1) /* 80197C18 00194B78 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 80197C1C 00194B7C D0 3E 00 08 */ stfs f1, 8(r30) /* 80197C20 00194B80 38 00 00 00 */ li r0, 0 /* 80197C24 00194B84 80 C1 02 94 */ lwz r6, 0x294(r1) /* 80197C28 00194B88 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 80197C2C 00194B8C 80 A1 02 90 */ lwz r5, 0x290(r1) /* 80197C30 00194B90 D0 BE 00 10 */ stfs f5, 0x10(r30) /* 80197C34 00194B94 D0 9E 00 14 */ stfs f4, 0x14(r30) /* 80197C38 00194B98 D0 7E 00 18 */ stfs f3, 0x18(r30) /* 80197C3C 00194B9C D0 5E 00 1C */ stfs f2, 0x1c(r30) /* 80197C40 00194BA0 98 FE 00 20 */ stb r7, 0x20(r30) /* 80197C44 00194BA4 90 DE 00 2C */ stw r6, 0x2c(r30) /* 80197C48 00194BA8 90 BE 00 28 */ stw r5, 0x28(r30) /* 80197C4C 00194BAC 90 81 01 98 */ stw r4, 0x198(r1) /* 80197C50 00194BB0 90 61 01 98 */ stw r3, 0x198(r1) /* 80197C54 00194BB4 98 01 00 A0 */ stb r0, 0xa0(r1) /* 80197C58 00194BB8 41 82 00 08 */ beq lbl_80197C60 /* 80197C5C 00194BBC 98 01 01 F4 */ stb r0, 0x1f4(r1) lbl_80197C60: /* 80197C60 00194BC0 80 A1 03 08 */ lwz r5, 0x308(r1) /* 80197C64 00194BC4 38 60 00 00 */ li r3, 0 /* 80197C68 00194BC8 2C 05 00 00 */ cmpwi r5, 0 /* 80197C6C 00194BCC 40 81 00 40 */ ble lbl_80197CAC /* 80197C70 00194BD0 2C 05 00 08 */ cmpwi r5, 8 /* 80197C74 00194BD4 38 85 FF F8 */ addi r4, r5, -8 /* 80197C78 00194BD8 40 81 00 20 */ ble lbl_80197C98 /* 80197C7C 00194BDC 38 04 00 07 */ addi r0, r4, 7 /* 80197C80 00194BE0 54 00 E8 FE */ srwi r0, r0, 3 /* 80197C84 00194BE4 7C 09 03 A6 */ mtctr r0 /* 80197C88 00194BE8 2C 04 00 00 */ cmpwi r4, 0 /* 80197C8C 00194BEC 40 81 00 0C */ ble lbl_80197C98 lbl_80197C90: /* 80197C90 00194BF0 38 63 00 08 */ addi r3, r3, 8 /* 80197C94 00194BF4 42 00 FF FC */ bdnz lbl_80197C90 lbl_80197C98: /* 80197C98 00194BF8 7C 03 28 50 */ subf r0, r3, r5 /* 80197C9C 00194BFC 7C 09 03 A6 */ mtctr r0 /* 80197CA0 00194C00 7C 03 28 00 */ cmpw r3, r5 /* 80197CA4 00194C04 40 80 00 08 */ bge lbl_80197CAC lbl_80197CA8: /* 80197CA8 00194C08 42 00 00 00 */ bdnz lbl_80197CA8 lbl_80197CAC: /* 80197CAC 00194C0C 38 00 00 00 */ li r0, 0 /* 80197CB0 00194C10 90 01 03 08 */ stw r0, 0x308(r1) /* 80197CB4 00194C14 48 00 02 80 */ b lbl_80197F34 lbl_80197CB8: /* 80197CB8 00194C18 38 00 00 00 */ li r0, 0 /* 80197CBC 00194C1C 28 17 00 00 */ cmplwi r23, 0 /* 80197CC0 00194C20 98 01 00 A0 */ stb r0, 0xa0(r1) /* 80197CC4 00194C24 41 82 00 08 */ beq lbl_80197CCC /* 80197CC8 00194C28 98 01 01 F4 */ stb r0, 0x1f4(r1) lbl_80197CCC: /* 80197CCC 00194C2C 3A B5 00 02 */ addi r21, r21, 2 lbl_80197CD0: /* 80197CD0 00194C30 80 01 03 08 */ lwz r0, 0x308(r1) /* 80197CD4 00194C34 54 00 08 3C */ slwi r0, r0, 1 /* 80197CD8 00194C38 7C 1A 02 14 */ add r0, r26, r0 /* 80197CDC 00194C3C 7C 15 00 40 */ cmplw r21, r0 /* 80197CE0 00194C40 40 82 FB B8 */ bne lbl_80197898 /* 80197CE4 00194C44 EF BD F0 2A */ fadds f29, f29, f30 /* 80197CE8 00194C48 3B 7B 00 0C */ addi r27, r27, 0xc /* 80197CEC 00194C4C 3A D6 00 01 */ addi r22, r22, 1 lbl_80197CF0: /* 80197CF0 00194C50 80 1C 00 00 */ lwz r0, 0(r28) /* 80197CF4 00194C54 7C 16 00 00 */ cmpw r22, r0 /* 80197CF8 00194C58 41 80 FA D8 */ blt lbl_801977D0 /* 80197CFC 00194C5C 48 00 01 8C */ b lbl_80197E88 lbl_80197D00: /* 80197D00 00194C60 C3 A2 A6 A4 */ lfs f29, lbl_805AC3C4@sda21(r2) /* 80197D04 00194C64 3A BC 00 04 */ addi r21, r28, 4 /* 80197D08 00194C68 3A E0 00 00 */ li r23, 0 /* 80197D0C 00194C6C 48 00 01 6C */ b lbl_80197E78 lbl_80197D10: /* 80197D10 00194C70 38 17 00 01 */ addi r0, r23, 1 /* 80197D14 00194C74 C0 95 00 04 */ lfs f4, 4(r21) /* 80197D18 00194C78 1C 00 00 0C */ mulli r0, r0, 0xc /* 80197D1C 00194C7C C0 55 00 08 */ lfs f2, 8(r21) /* 80197D20 00194C80 C0 15 00 00 */ lfs f0, 0(r21) /* 80197D24 00194C84 38 61 00 18 */ addi r3, r1, 0x18 /* 80197D28 00194C88 7E DC 02 14 */ add r22, r28, r0 /* 80197D2C 00194C8C C0 B6 00 08 */ lfs f5, 8(r22) /* 80197D30 00194C90 C0 76 00 0C */ lfs f3, 0xc(r22) /* 80197D34 00194C94 C4 36 00 04 */ lfsu f1, 4(r22) /* 80197D38 00194C98 EC 85 20 28 */ fsubs f4, f5, f4 /* 80197D3C 00194C9C EC 43 10 28 */ fsubs f2, f3, f2 /* 80197D40 00194CA0 EC 01 00 28 */ fsubs f0, f1, f0 /* 80197D44 00194CA4 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 80197D48 00194CA8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80197D4C 00194CAC D0 41 00 20 */ stfs f2, 0x20(r1) /* 80197D50 00194CB0 48 17 CB 69 */ bl Magnitude__9CVector3fCFv /* 80197D54 00194CB4 FC 01 E8 40 */ fcmpo cr0, f1, f29 /* 80197D58 00194CB8 4C 40 13 82 */ cror 2, 0, 2 /* 80197D5C 00194CBC 41 82 01 2C */ beq lbl_80197E88 /* 80197D60 00194CC0 7F E4 FB 78 */ mr r4, r31 /* 80197D64 00194CC4 7E 85 A3 78 */ mr r5, r20 /* 80197D68 00194CC8 7E A6 AB 78 */ mr r6, r21 /* 80197D6C 00194CCC 7E C7 B3 78 */ mr r7, r22 /* 80197D70 00194CD0 7E 69 9B 78 */ mr r9, r19 /* 80197D74 00194CD4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80197D78 00194CD8 39 01 03 08 */ addi r8, r1, 0x308 /* 80197D7C 00194CDC 4B EA 09 45 */ bl "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" /* 80197D80 00194CE0 88 81 00 C8 */ lbz r4, 0xc8(r1) /* 80197D84 00194CE4 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 80197D88 00194CE8 80 A1 00 AC */ lwz r5, 0xac(r1) /* 80197D8C 00194CEC 28 04 00 00 */ cmplwi r4, 0 /* 80197D90 00194CF0 80 61 00 B0 */ lwz r3, 0xb0(r1) /* 80197D94 00194CF4 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80197D98 00194CF8 C0 A1 00 B8 */ lfs f5, 0xb8(r1) /* 80197D9C 00194CFC C0 81 00 BC */ lfs f4, 0xbc(r1) /* 80197DA0 00194D00 C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 80197DA4 00194D04 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 80197DA8 00194D08 C8 01 00 D0 */ lfd f0, 0xd0(r1) /* 80197DAC 00194D0C D0 21 02 68 */ stfs f1, 0x268(r1) /* 80197DB0 00194D10 90 A1 02 6C */ stw r5, 0x26c(r1) /* 80197DB4 00194D14 90 61 02 70 */ stw r3, 0x270(r1) /* 80197DB8 00194D18 90 01 02 74 */ stw r0, 0x274(r1) /* 80197DBC 00194D1C D0 A1 02 78 */ stfs f5, 0x278(r1) /* 80197DC0 00194D20 D0 81 02 7C */ stfs f4, 0x27c(r1) /* 80197DC4 00194D24 D0 61 02 80 */ stfs f3, 0x280(r1) /* 80197DC8 00194D28 D0 41 02 84 */ stfs f2, 0x284(r1) /* 80197DCC 00194D2C 98 81 02 88 */ stb r4, 0x288(r1) /* 80197DD0 00194D30 D8 01 02 90 */ stfd f0, 0x290(r1) /* 80197DD4 00194D34 41 82 00 9C */ beq lbl_80197E70 /* 80197DD8 00194D38 D0 3E 00 00 */ stfs f1, 0(r30) /* 80197DDC 00194D3C 38 A0 00 00 */ li r5, 0 /* 80197DE0 00194D40 C0 01 02 6C */ lfs f0, 0x26c(r1) /* 80197DE4 00194D44 C0 21 02 70 */ lfs f1, 0x270(r1) /* 80197DE8 00194D48 D0 1E 00 04 */ stfs f0, 4(r30) /* 80197DEC 00194D4C C0 01 02 74 */ lfs f0, 0x274(r1) /* 80197DF0 00194D50 D0 3E 00 08 */ stfs f1, 8(r30) /* 80197DF4 00194D54 80 61 02 94 */ lwz r3, 0x294(r1) /* 80197DF8 00194D58 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 80197DFC 00194D5C 80 01 02 90 */ lwz r0, 0x290(r1) /* 80197E00 00194D60 D0 BE 00 10 */ stfs f5, 0x10(r30) /* 80197E04 00194D64 D0 9E 00 14 */ stfs f4, 0x14(r30) /* 80197E08 00194D68 D0 7E 00 18 */ stfs f3, 0x18(r30) /* 80197E0C 00194D6C D0 5E 00 1C */ stfs f2, 0x1c(r30) /* 80197E10 00194D70 98 9E 00 20 */ stb r4, 0x20(r30) /* 80197E14 00194D74 90 7E 00 2C */ stw r3, 0x2c(r30) /* 80197E18 00194D78 90 1E 00 28 */ stw r0, 0x28(r30) /* 80197E1C 00194D7C 80 81 03 08 */ lwz r4, 0x308(r1) /* 80197E20 00194D80 2C 04 00 00 */ cmpwi r4, 0 /* 80197E24 00194D84 40 81 00 40 */ ble lbl_80197E64 /* 80197E28 00194D88 2C 04 00 08 */ cmpwi r4, 8 /* 80197E2C 00194D8C 38 64 FF F8 */ addi r3, r4, -8 /* 80197E30 00194D90 40 81 00 20 */ ble lbl_80197E50 /* 80197E34 00194D94 38 03 00 07 */ addi r0, r3, 7 /* 80197E38 00194D98 54 00 E8 FE */ srwi r0, r0, 3 /* 80197E3C 00194D9C 7C 09 03 A6 */ mtctr r0 /* 80197E40 00194DA0 2C 03 00 00 */ cmpwi r3, 0 /* 80197E44 00194DA4 40 81 00 0C */ ble lbl_80197E50 lbl_80197E48: /* 80197E48 00194DA8 38 A5 00 08 */ addi r5, r5, 8 /* 80197E4C 00194DAC 42 00 FF FC */ bdnz lbl_80197E48 lbl_80197E50: /* 80197E50 00194DB0 7C 05 20 50 */ subf r0, r5, r4 /* 80197E54 00194DB4 7C 09 03 A6 */ mtctr r0 /* 80197E58 00194DB8 7C 05 20 00 */ cmpw r5, r4 /* 80197E5C 00194DBC 40 80 00 08 */ bge lbl_80197E64 lbl_80197E60: /* 80197E60 00194DC0 42 00 00 00 */ bdnz lbl_80197E60 lbl_80197E64: /* 80197E64 00194DC4 38 00 00 00 */ li r0, 0 /* 80197E68 00194DC8 90 01 03 08 */ stw r0, 0x308(r1) /* 80197E6C 00194DCC 48 00 00 C8 */ b lbl_80197F34 lbl_80197E70: /* 80197E70 00194DD0 3A B5 00 0C */ addi r21, r21, 0xc /* 80197E74 00194DD4 3A F7 00 01 */ addi r23, r23, 1 lbl_80197E78: /* 80197E78 00194DD8 80 7C 00 00 */ lwz r3, 0(r28) /* 80197E7C 00194DDC 38 03 FF FF */ addi r0, r3, -1 /* 80197E80 00194DE0 7C 17 00 00 */ cmpw r23, r0 /* 80197E84 00194DE4 41 80 FE 8C */ blt lbl_80197D10 lbl_80197E88: /* 80197E88 00194DE8 C0 21 02 68 */ lfs f1, 0x268(r1) /* 80197E8C 00194DEC 38 80 00 00 */ li r4, 0 /* 80197E90 00194DF0 C0 01 02 6C */ lfs f0, 0x26c(r1) /* 80197E94 00194DF4 D0 3E 00 00 */ stfs f1, 0(r30) /* 80197E98 00194DF8 C0 21 02 70 */ lfs f1, 0x270(r1) /* 80197E9C 00194DFC D0 1E 00 04 */ stfs f0, 4(r30) /* 80197EA0 00194E00 C0 01 02 74 */ lfs f0, 0x274(r1) /* 80197EA4 00194E04 D0 3E 00 08 */ stfs f1, 8(r30) /* 80197EA8 00194E08 C0 21 02 78 */ lfs f1, 0x278(r1) /* 80197EAC 00194E0C D0 1E 00 0C */ stfs f0, 0xc(r30) /* 80197EB0 00194E10 C0 01 02 7C */ lfs f0, 0x27c(r1) /* 80197EB4 00194E14 D0 3E 00 10 */ stfs f1, 0x10(r30) /* 80197EB8 00194E18 C0 21 02 80 */ lfs f1, 0x280(r1) /* 80197EBC 00194E1C D0 1E 00 14 */ stfs f0, 0x14(r30) /* 80197EC0 00194E20 C0 01 02 84 */ lfs f0, 0x284(r1) /* 80197EC4 00194E24 D0 3E 00 18 */ stfs f1, 0x18(r30) /* 80197EC8 00194E28 88 01 02 88 */ lbz r0, 0x288(r1) /* 80197ECC 00194E2C D0 1E 00 1C */ stfs f0, 0x1c(r30) /* 80197ED0 00194E30 80 61 02 94 */ lwz r3, 0x294(r1) /* 80197ED4 00194E34 98 1E 00 20 */ stb r0, 0x20(r30) /* 80197ED8 00194E38 80 01 02 90 */ lwz r0, 0x290(r1) /* 80197EDC 00194E3C 90 7E 00 2C */ stw r3, 0x2c(r30) /* 80197EE0 00194E40 90 1E 00 28 */ stw r0, 0x28(r30) /* 80197EE4 00194E44 80 A1 03 08 */ lwz r5, 0x308(r1) /* 80197EE8 00194E48 2C 05 00 00 */ cmpwi r5, 0 /* 80197EEC 00194E4C 40 81 00 40 */ ble lbl_80197F2C /* 80197EF0 00194E50 2C 05 00 08 */ cmpwi r5, 8 /* 80197EF4 00194E54 38 65 FF F8 */ addi r3, r5, -8 /* 80197EF8 00194E58 40 81 00 20 */ ble lbl_80197F18 /* 80197EFC 00194E5C 38 03 00 07 */ addi r0, r3, 7 /* 80197F00 00194E60 54 00 E8 FE */ srwi r0, r0, 3 /* 80197F04 00194E64 7C 09 03 A6 */ mtctr r0 /* 80197F08 00194E68 2C 03 00 00 */ cmpwi r3, 0 /* 80197F0C 00194E6C 40 81 00 0C */ ble lbl_80197F18 lbl_80197F10: /* 80197F10 00194E70 38 84 00 08 */ addi r4, r4, 8 /* 80197F14 00194E74 42 00 FF FC */ bdnz lbl_80197F10 lbl_80197F18: /* 80197F18 00194E78 7C 04 28 50 */ subf r0, r4, r5 /* 80197F1C 00194E7C 7C 09 03 A6 */ mtctr r0 /* 80197F20 00194E80 7C 04 28 00 */ cmpw r4, r5 /* 80197F24 00194E84 40 80 00 08 */ bge lbl_80197F2C lbl_80197F28: /* 80197F28 00194E88 42 00 00 00 */ bdnz lbl_80197F28 lbl_80197F2C: /* 80197F2C 00194E8C 38 00 00 00 */ li r0, 0 /* 80197F30 00194E90 90 01 03 08 */ stw r0, 0x308(r1) lbl_80197F34: /* 80197F34 00194E94 E3 E1 0B A8 */ psq_l f31, -1112(r1), 0, qr0 /* 80197F38 00194E98 CB E1 0B A0 */ lfd f31, 0xba0(r1) /* 80197F3C 00194E9C E3 C1 0B 98 */ psq_l f30, -1128(r1), 0, qr0 /* 80197F40 00194EA0 CB C1 0B 90 */ lfd f30, 0xb90(r1) /* 80197F44 00194EA4 E3 A1 0B 88 */ psq_l f29, -1144(r1), 0, qr0 /* 80197F48 00194EA8 CB A1 0B 80 */ lfd f29, 0xb80(r1) /* 80197F4C 00194EAC E3 81 0B 78 */ psq_l f28, -1160(r1), 0, qr0 /* 80197F50 00194EB0 CB 81 0B 70 */ lfd f28, 0xb70(r1) /* 80197F54 00194EB4 E3 61 0B 68 */ psq_l f27, -1176(r1), 0, qr0 /* 80197F58 00194EB8 CB 61 0B 60 */ lfd f27, 0xb60(r1) /* 80197F5C 00194EBC E3 41 0B 58 */ psq_l f26, -1192(r1), 0, qr0 /* 80197F60 00194EC0 CB 41 0B 50 */ lfd f26, 0xb50(r1) /* 80197F64 00194EC4 BA 61 0B 1C */ lmw r19, 0xb1c(r1) /* 80197F68 00194EC8 80 01 0B B4 */ lwz r0, 0xbb4(r1) /* 80197F6C 00194ECC 7C 08 03 A6 */ mtlr r0 /* 80197F70 00194ED0 38 21 0B B0 */ addi r1, r1, 0xbb0 /* 80197F74 00194ED4 4E 80 00 20 */ blr .global AcceptScriptMsg__13CFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__13CFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80197F78 00194ED8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80197F7C 00194EDC 7C 08 02 A6 */ mflr r0 /* 80197F80 00194EE0 90 01 00 34 */ stw r0, 0x34(r1) /* 80197F84 00194EE4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80197F88 00194EE8 7C DF 33 78 */ mr r31, r6 /* 80197F8C 00194EEC 93 C1 00 28 */ stw r30, 0x28(r1) /* 80197F90 00194EF0 7C BE 2B 78 */ mr r30, r5 /* 80197F94 00194EF4 93 A1 00 24 */ stw r29, 0x24(r1) /* 80197F98 00194EF8 7C 9D 23 78 */ mr r29, r4 /* 80197F9C 00194EFC 2C 1D 00 22 */ cmpwi r29, 0x22 /* 80197FA0 00194F00 93 81 00 20 */ stw r28, 0x20(r1) /* 80197FA4 00194F04 7C 7C 1B 78 */ mr r28, r3 /* 80197FA8 00194F08 41 82 00 44 */ beq lbl_80197FEC /* 80197FAC 00194F0C 40 80 00 68 */ bge lbl_80198014 /* 80197FB0 00194F10 2C 1D 00 21 */ cmpwi r29, 0x21 /* 80197FB4 00194F14 40 80 00 08 */ bge lbl_80197FBC /* 80197FB8 00194F18 48 00 00 5C */ b lbl_80198014 lbl_80197FBC: /* 80197FBC 00194F1C 88 1C 00 E6 */ lbz r0, 0xe6(r28) /* 80197FC0 00194F20 38 60 00 02 */ li r3, 2 /* 80197FC4 00194F24 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c /* 80197FC8 00194F28 38 81 00 18 */ addi r4, r1, 0x18 /* 80197FCC 00194F2C 98 1C 00 E6 */ stb r0, 0xe6(r28) /* 80197FD0 00194F30 7F E3 FB 78 */ mr r3, r31 /* 80197FD4 00194F34 A0 1C 00 EC */ lhz r0, 0xec(r28) /* 80197FD8 00194F38 80 BC 00 F0 */ lwz r5, 0xf0(r28) /* 80197FDC 00194F3C B0 01 00 14 */ sth r0, 0x14(r1) /* 80197FE0 00194F40 B0 01 00 18 */ sth r0, 0x18(r1) /* 80197FE4 00194F44 4B EA CD 25 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType /* 80197FE8 00194F48 48 00 00 2C */ b lbl_80198014 lbl_80197FEC: /* 80197FEC 00194F4C A0 1C 00 EC */ lhz r0, 0xec(r28) /* 80197FF0 00194F50 7F E3 FB 78 */ mr r3, r31 /* 80197FF4 00194F54 80 BC 00 F0 */ lwz r5, 0xf0(r28) /* 80197FF8 00194F58 38 81 00 10 */ addi r4, r1, 0x10 /* 80197FFC 00194F5C B0 01 00 0C */ sth r0, 0xc(r1) /* 80198000 00194F60 B0 01 00 10 */ sth r0, 0x10(r1) /* 80198004 00194F64 4B EA CC D5 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType /* 80198008 00194F68 7F 83 E3 78 */ mr r3, r28 /* 8019800C 00194F6C 7F E4 FB 78 */ mr r4, r31 /* 80198010 00194F70 4B E9 F8 99 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager lbl_80198014: /* 80198014 00194F74 A0 1E 00 00 */ lhz r0, 0(r30) /* 80198018 00194F78 7F 83 E3 78 */ mr r3, r28 /* 8019801C 00194F7C 7F A4 EB 78 */ mr r4, r29 /* 80198020 00194F80 7F E6 FB 78 */ mr r6, r31 /* 80198024 00194F84 B0 01 00 08 */ sth r0, 8(r1) /* 80198028 00194F88 38 A1 00 08 */ addi r5, r1, 8 /* 8019802C 00194F8C 4B EA 05 A1 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80198030 00194F90 80 01 00 34 */ lwz r0, 0x34(r1) /* 80198034 00194F94 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80198038 00194F98 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8019803C 00194F9C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80198040 00194FA0 83 81 00 20 */ lwz r28, 0x20(r1) /* 80198044 00194FA4 7C 08 03 A6 */ mtlr r0 /* 80198048 00194FA8 38 21 00 30 */ addi r1, r1, 0x30 /* 8019804C 00194FAC 4E 80 00 20 */ blr .global CreateFlameParticles__13CFlameThrowerFR13CStateManager CreateFlameParticles__13CFlameThrowerFR13CStateManager: /* 80198050 00194FB0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80198054 00194FB4 7C 08 02 A6 */ mflr r0 /* 80198058 00194FB8 90 01 00 84 */ stw r0, 0x84(r1) /* 8019805C 00194FBC 93 E1 00 7C */ stw r31, 0x7c(r1) /* 80198060 00194FC0 7C 9F 23 78 */ mr r31, r4 /* 80198064 00194FC4 93 C1 00 78 */ stw r30, 0x78(r1) /* 80198068 00194FC8 7C 7E 1B 78 */ mr r30, r3 /* 8019806C 00194FCC 93 A1 00 74 */ stw r29, 0x74(r1) /* 80198070 00194FD0 93 81 00 70 */ stw r28, 0x70(r1) /* 80198074 00194FD4 4B E9 F8 35 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager /* 80198078 00194FD8 3C 60 80 3D */ lis r3, lbl_803D1210@ha /* 8019807C 00194FDC 3B 80 00 00 */ li r28, 0 /* 80198080 00194FE0 38 83 12 10 */ addi r4, r3, lbl_803D1210@l /* 80198084 00194FE4 38 A0 00 00 */ li r5, 0 /* 80198088 00194FE8 38 60 03 40 */ li r3, 0x340 /* 8019808C 00194FEC 48 17 D7 E1 */ bl __nw__FUlPCcPCc /* 80198090 00194FF0 7C 7D 1B 79 */ or. r29, r3, r3 /* 80198094 00194FF4 41 82 00 2C */ beq lbl_801980C0 /* 80198098 00194FF8 38 61 00 08 */ addi r3, r1, 8 /* 8019809C 00194FFC 38 9E 03 3C */ addi r4, r30, 0x33c /* 801980A0 00195000 48 1A 8E 09 */ bl __ct__6CTokenFRC6CToken /* 801980A4 00195004 7F A3 EB 78 */ mr r3, r29 /* 801980A8 00195008 38 81 00 08 */ addi r4, r1, 8 /* 801980AC 0019500C 3B 80 00 01 */ li r28, 1 /* 801980B0 00195010 38 A0 00 00 */ li r5, 0 /* 801980B4 00195014 38 C0 00 01 */ li r6, 1 /* 801980B8 00195018 48 18 73 29 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801980BC 0019501C 7C 7D 1B 78 */ mr r29, r3 lbl_801980C0: /* 801980C0 00195020 80 7E 03 48 */ lwz r3, 0x348(r30) /* 801980C4 00195024 28 03 00 00 */ cmplwi r3, 0 /* 801980C8 00195028 41 82 00 18 */ beq lbl_801980E0 /* 801980CC 0019502C 81 83 00 00 */ lwz r12, 0(r3) /* 801980D0 00195030 38 80 00 01 */ li r4, 1 /* 801980D4 00195034 81 8C 00 08 */ lwz r12, 8(r12) /* 801980D8 00195038 7D 89 03 A6 */ mtctr r12 /* 801980DC 0019503C 4E 80 04 21 */ bctrl lbl_801980E0: /* 801980E0 00195040 7F 80 07 75 */ extsb. r0, r28 /* 801980E4 00195044 93 BE 03 48 */ stw r29, 0x348(r30) /* 801980E8 00195048 41 82 00 10 */ beq lbl_801980F8 /* 801980EC 0019504C 38 61 00 08 */ addi r3, r1, 8 /* 801980F0 00195050 38 80 00 00 */ li r4, 0 /* 801980F4 00195054 48 1A 8D 4D */ bl __dt__6CTokenFv lbl_801980F8: /* 801980F8 00195058 80 BE 03 48 */ lwz r5, 0x348(r30) /* 801980FC 0019505C 28 05 00 00 */ cmplwi r5, 0 /* 80198100 00195060 41 82 00 A0 */ beq lbl_801981A0 /* 80198104 00195064 88 7E 04 00 */ lbz r3, 0x400(r30) /* 80198108 00195068 38 9E 03 4C */ addi r4, r30, 0x34c /* 8019810C 0019506C 88 05 02 6C */ lbz r0, 0x26c(r5) /* 80198110 00195070 50 60 F7 38 */ rlwimi r0, r3, 0x1e, 0x1c, 0x1c /* 80198114 00195074 98 05 02 6C */ stb r0, 0x26c(r5) /* 80198118 00195078 80 7E 03 48 */ lwz r3, 0x348(r30) /* 8019811C 0019507C 81 83 00 00 */ lwz r12, 0(r3) /* 80198120 00195080 81 8C 00 70 */ lwz r12, 0x70(r12) /* 80198124 00195084 7D 89 03 A6 */ mtctr r12 /* 80198128 00195088 4E 80 04 21 */ bctrl /* 8019812C 0019508C 80 7E 03 48 */ lwz r3, 0x348(r30) /* 80198130 00195090 81 83 00 00 */ lwz r12, 0(r3) /* 80198134 00195094 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80198138 00195098 7D 89 03 A6 */ mtctr r12 /* 8019813C 0019509C 4E 80 04 21 */ bctrl /* 80198140 001950A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80198144 001950A4 41 82 00 5C */ beq lbl_801981A0 /* 80198148 001950A8 A0 7E 02 C8 */ lhz r3, 0x2c8(r30) /* 8019814C 001950AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80198150 001950B0 7C 03 00 40 */ cmplw r3, r0 /* 80198154 001950B4 40 82 00 4C */ bne lbl_801981A0 /* 80198158 001950B8 3C 80 80 3D */ lis r4, lbl_803D1210@ha /* 8019815C 001950BC 38 61 00 10 */ addi r3, r1, 0x10 /* 80198160 001950C0 38 84 12 10 */ addi r4, r4, lbl_803D1210@l /* 80198164 001950C4 38 84 00 07 */ addi r4, r4, 7 /* 80198168 001950C8 4B E6 CB 51 */ bl string_l__4rstlFPCc /* 8019816C 001950CC 80 9E 03 48 */ lwz r4, 0x348(r30) /* 80198170 001950D0 38 61 00 20 */ addi r3, r1, 0x20 /* 80198174 001950D4 81 84 00 00 */ lwz r12, 0(r4) /* 80198178 001950D8 81 8C 00 68 */ lwz r12, 0x68(r12) /* 8019817C 001950DC 7D 89 03 A6 */ mtctr r12 /* 80198180 001950E0 4E 80 04 21 */ bctrl /* 80198184 001950E4 7F C3 F3 78 */ mr r3, r30 /* 80198188 001950E8 7F E6 FB 78 */ mr r6, r31 /* 8019818C 001950EC 38 81 00 10 */ addi r4, r1, 0x10 /* 80198190 001950F0 38 A1 00 20 */ addi r5, r1, 0x20 /* 80198194 001950F4 4B E9 F7 69 */ bl "CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager" /* 80198198 001950F8 38 61 00 10 */ addi r3, r1, 0x10 /* 8019819C 001950FC 48 1A 59 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801981A0: /* 801981A0 00195100 80 01 00 84 */ lwz r0, 0x84(r1) /* 801981A4 00195104 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801981A8 00195108 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801981AC 0019510C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801981B0 00195110 83 81 00 70 */ lwz r28, 0x70(r1) /* 801981B4 00195114 7C 08 03 A6 */ mtlr r0 /* 801981B8 00195118 38 21 00 80 */ addi r1, r1, 0x80 /* 801981BC 0019511C 4E 80 00 20 */ blr .global Reset__13CFlameThrowerFR13CStateManagerb Reset__13CFlameThrowerFR13CStateManagerb: /* 801981C0 00195120 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801981C4 00195124 7C 08 02 A6 */ mflr r0 /* 801981C8 00195128 90 01 00 24 */ stw r0, 0x24(r1) /* 801981CC 0019512C 7C 80 23 78 */ mr r0, r4 /* 801981D0 00195130 38 80 00 00 */ li r4, 0 /* 801981D4 00195134 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801981D8 00195138 7C BF 2B 78 */ mr r31, r5 /* 801981DC 0019513C 7C 05 03 78 */ mr r5, r0 /* 801981E0 00195140 93 C1 00 18 */ stw r30, 0x18(r1) /* 801981E4 00195144 7C 7E 1B 78 */ mr r30, r3 /* 801981E8 00195148 4B FF F4 29 */ bl SetFlameLightActive__13CFlameThrowerFbR13CStateManager /* 801981EC 0019514C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801981F0 00195150 41 82 00 B4 */ beq lbl_801982A4 /* 801981F4 00195154 7F C3 F3 78 */ mr r3, r30 /* 801981F8 00195158 38 80 00 00 */ li r4, 0 /* 801981FC 0019515C 81 9E 00 00 */ lwz r12, 0(r30) /* 80198200 00195160 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80198204 00195164 7D 89 03 A6 */ mtctr r12 /* 80198208 00195168 4E 80 04 21 */ bctrl /* 8019820C 0019516C 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80198210 00195170 38 C0 00 00 */ li r6, 0 /* 80198214 00195174 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 80198218 00195178 3C 60 80 5A */ lis r3, lbl_805A6784@ha /* 8019821C 0019517C 98 1E 04 00 */ stb r0, 0x400(r30) /* 80198220 00195180 38 A3 67 84 */ addi r5, r3, lbl_805A6784@l /* 80198224 00195184 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2) /* 80198228 00195188 38 80 00 00 */ li r4, 0 /* 8019822C 0019518C 90 DE 03 F0 */ stw r6, 0x3f0(r30) /* 80198230 00195190 D0 1E 03 30 */ stfs f0, 0x330(r30) /* 80198234 00195194 D0 1E 03 34 */ stfs f0, 0x334(r30) /* 80198238 00195198 80 65 00 00 */ lwz r3, 0(r5) /* 8019823C 0019519C 80 05 00 04 */ lwz r0, 4(r5) /* 80198240 001951A0 90 7E 03 18 */ stw r3, 0x318(r30) /* 80198244 001951A4 90 1E 03 1C */ stw r0, 0x31c(r30) /* 80198248 001951A8 80 05 00 08 */ lwz r0, 8(r5) /* 8019824C 001951AC 90 1E 03 20 */ stw r0, 0x320(r30) /* 80198250 001951B0 80 65 00 0C */ lwz r3, 0xc(r5) /* 80198254 001951B4 80 05 00 10 */ lwz r0, 0x10(r5) /* 80198258 001951B8 90 7E 03 24 */ stw r3, 0x324(r30) /* 8019825C 001951BC 90 1E 03 28 */ stw r0, 0x328(r30) /* 80198260 001951C0 80 05 00 14 */ lwz r0, 0x14(r5) /* 80198264 001951C4 90 1E 03 2C */ stw r0, 0x32c(r30) /* 80198268 001951C8 80 7E 03 48 */ lwz r3, 0x348(r30) /* 8019826C 001951CC 81 83 00 00 */ lwz r12, 0(r3) /* 80198270 001951D0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80198274 001951D4 7D 89 03 A6 */ mtctr r12 /* 80198278 001951D8 4E 80 04 21 */ bctrl /* 8019827C 001951DC C0 5E 03 14 */ lfs f2, 0x314(r30) /* 80198280 001951E0 38 7E 03 4C */ addi r3, r30, 0x34c /* 80198284 001951E4 C0 3E 03 04 */ lfs f1, 0x304(r30) /* 80198288 001951E8 38 81 00 08 */ addi r4, r1, 8 /* 8019828C 001951EC C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 80198290 001951F0 D0 01 00 08 */ stfs f0, 8(r1) /* 80198294 001951F4 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80198298 001951F8 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8019829C 001951FC 48 01 CC D9 */ bl sub_801b4f74 /* 801982A0 00195200 48 00 00 34 */ b lbl_801982D4 lbl_801982A4: /* 801982A4 00195204 80 7E 03 48 */ lwz r3, 0x348(r30) /* 801982A8 00195208 38 80 00 00 */ li r4, 0 /* 801982AC 0019520C 81 83 00 00 */ lwz r12, 0(r3) /* 801982B0 00195210 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801982B4 00195214 7D 89 03 A6 */ mtctr r12 /* 801982B8 00195218 4E 80 04 21 */ bctrl /* 801982BC 0019521C 88 7E 04 00 */ lbz r3, 0x400(r30) /* 801982C0 00195220 38 00 00 00 */ li r0, 0 /* 801982C4 00195224 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 /* 801982C8 00195228 38 00 00 03 */ li r0, 3 /* 801982CC 0019522C 98 7E 04 00 */ stb r3, 0x400(r30) /* 801982D0 00195230 90 1E 03 F0 */ stw r0, 0x3f0(r30) lbl_801982D4: /* 801982D4 00195234 80 01 00 24 */ lwz r0, 0x24(r1) /* 801982D8 00195238 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801982DC 0019523C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801982E0 00195240 7C 08 03 A6 */ mtlr r0 /* 801982E4 00195244 38 21 00 20 */ addi r1, r1, 0x20 /* 801982E8 00195248 4E 80 00 20 */ blr .global Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb: /* 801982EC 0019524C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801982F0 00195250 7C 08 02 A6 */ mflr r0 /* 801982F4 00195254 38 80 00 01 */ li r4, 1 /* 801982F8 00195258 90 01 00 14 */ stw r0, 0x14(r1) /* 801982FC 0019525C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80198300 00195260 7C BF 2B 78 */ mr r31, r5 /* 80198304 00195264 93 C1 00 08 */ stw r30, 8(r1) /* 80198308 00195268 7C 7E 1B 78 */ mr r30, r3 /* 8019830C 0019526C 81 83 00 00 */ lwz r12, 0(r3) /* 80198310 00195270 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80198314 00195274 7D 89 03 A6 */ mtctr r12 /* 80198318 00195278 4E 80 04 21 */ bctrl /* 8019831C 0019527C 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80198320 00195280 38 A0 00 01 */ li r5, 1 /* 80198324 00195284 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80198328 00195288 7F C3 F3 78 */ mr r3, r30 /* 8019832C 0019528C 98 1E 04 00 */ stb r0, 0x400(r30) /* 80198330 00195290 7F E4 FB 78 */ mr r4, r31 /* 80198334 00195294 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80198338 00195298 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8019833C 0019529C 98 1E 04 00 */ stb r0, 0x400(r30) /* 80198340 001952A0 90 BE 03 F0 */ stw r5, 0x3f0(r30) /* 80198344 001952A4 4B FF FD 0D */ bl CreateFlameParticles__13CFlameThrowerFR13CStateManager /* 80198348 001952A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019834C 001952AC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80198350 001952B0 83 C1 00 08 */ lwz r30, 8(r1) /* 80198354 001952B4 7C 08 03 A6 */ mtlr r0 /* 80198358 001952B8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019835C 001952BC 4E 80 00 20 */ blr .global Render__13CFlameThrowerCFRC13CStateManager Render__13CFlameThrowerCFRC13CStateManager: /* 80198360 001952C0 88 03 00 30 */ lbz r0, 0x30(r3) /* 80198364 001952C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80198368 001952C8 4E 80 00 20 */ blr .global AddToRenderer__13CFlameThrowerCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__13CFlameThrowerCFRC14CFrustumPlanesRC13CStateManager: /* 8019836C 001952CC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80198370 001952D0 7C 08 02 A6 */ mflr r0 /* 80198374 001952D4 90 01 00 44 */ stw r0, 0x44(r1) /* 80198378 001952D8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8019837C 001952DC 7C BF 2B 78 */ mr r31, r5 /* 80198380 001952E0 93 C1 00 38 */ stw r30, 0x38(r1) /* 80198384 001952E4 7C 7E 1B 78 */ mr r30, r3 /* 80198388 001952E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8019838C 001952EC 80 9E 03 48 */ lwz r4, 0x348(r30) /* 80198390 001952F0 81 83 00 00 */ lwz r12, 0(r3) /* 80198394 001952F4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80198398 001952F8 7D 89 03 A6 */ mtctr r12 /* 8019839C 001952FC 4E 80 04 21 */ bctrl /* 801983A0 00195300 C0 5E 03 14 */ lfs f2, 0x314(r30) /* 801983A4 00195304 7F C4 F3 78 */ mr r4, r30 /* 801983A8 00195308 C0 3E 03 04 */ lfs f1, 0x304(r30) /* 801983AC 0019530C 7F E5 FB 78 */ mr r5, r31 /* 801983B0 00195310 C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 801983B4 00195314 38 61 00 14 */ addi r3, r1, 0x14 /* 801983B8 00195318 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801983BC 0019531C D0 01 00 08 */ stfs f0, 8(r1) /* 801983C0 00195320 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801983C4 00195324 81 9E 00 00 */ lwz r12, 0(r30) /* 801983C8 00195328 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801983CC 0019532C 7D 89 03 A6 */ mtctr r12 /* 801983D0 00195330 4E 80 04 21 */ bctrl /* 801983D4 00195334 7F C3 F3 78 */ mr r3, r30 /* 801983D8 00195338 7F E4 FB 78 */ mr r4, r31 /* 801983DC 0019533C 38 A1 00 08 */ addi r5, r1, 8 /* 801983E0 00195340 38 C1 00 14 */ addi r6, r1, 0x14 /* 801983E4 00195344 4B EB C6 C5 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f /* 801983E8 00195348 80 01 00 44 */ lwz r0, 0x44(r1) /* 801983EC 0019534C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801983F0 00195350 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801983F4 00195354 7C 08 03 A6 */ mtlr r0 /* 801983F8 00195358 38 21 00 40 */ addi r1, r1, 0x40 /* 801983FC 0019535C 4E 80 00 20 */ blr .global SetTransform__13CFlameThrowerFRC12CTransform4f SetTransform__13CFlameThrowerFRC12CTransform4f: /* 80198400 00195360 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80198404 00195364 7C 08 02 A6 */ mflr r0 /* 80198408 00195368 38 63 02 E8 */ addi r3, r3, 0x2e8 /* 8019840C 0019536C 90 01 00 14 */ stw r0, 0x14(r1) /* 80198410 00195370 48 17 A7 31 */ bl __as__12CTransform4fFRC12CTransform4f /* 80198414 00195374 80 01 00 14 */ lwz r0, 0x14(r1) /* 80198418 00195378 7C 08 03 A6 */ mtlr r0 /* 8019841C 0019537C 38 21 00 10 */ addi r1, r1, 0x10 /* 80198420 00195380 4E 80 00 20 */ blr .global UpdateFlameState__13CFlameThrowerFfR13CStateManager UpdateFlameState__13CFlameThrowerFfR13CStateManager: /* 80198424 00195384 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80198428 00195388 7C 08 02 A6 */ mflr r0 /* 8019842C 0019538C 90 01 00 14 */ stw r0, 0x14(r1) /* 80198430 00195390 93 E1 00 0C */ stw r31, 0xc(r1) /* 80198434 00195394 7C 9F 23 78 */ mr r31, r4 /* 80198438 00195398 93 C1 00 08 */ stw r30, 8(r1) /* 8019843C 0019539C 7C 7E 1B 78 */ mr r30, r3 /* 80198440 001953A0 80 03 03 F0 */ lwz r0, 0x3f0(r3) /* 80198444 001953A4 2C 00 00 03 */ cmpwi r0, 3 /* 80198448 001953A8 41 82 00 2C */ beq lbl_80198474 /* 8019844C 001953AC 40 80 00 10 */ bge lbl_8019845C /* 80198450 001953B0 2C 00 00 01 */ cmpwi r0, 1 /* 80198454 001953B4 41 82 00 14 */ beq lbl_80198468 /* 80198458 001953B8 48 00 00 A8 */ b lbl_80198500 lbl_8019845C: /* 8019845C 001953BC 2C 00 00 05 */ cmpwi r0, 5 /* 80198460 001953C0 40 80 00 A0 */ bge lbl_80198500 /* 80198464 001953C4 48 00 00 50 */ b lbl_801984B4 lbl_80198468: /* 80198468 001953C8 38 00 00 02 */ li r0, 2 /* 8019846C 001953CC 90 1E 03 F0 */ stw r0, 0x3f0(r30) /* 80198470 001953D0 48 00 00 90 */ b lbl_80198500 lbl_80198474: /* 80198474 001953D4 C0 62 A6 B8 */ lfs f3, lbl_805AC3D8@sda21(r2) /* 80198478 001953D8 C0 5E 03 34 */ lfs f2, 0x334(r30) /* 8019847C 001953DC C0 02 A6 A0 */ lfs f0, lbl_805AC3C0@sda21(r2) /* 80198480 001953E0 EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 80198484 001953E4 D0 3E 03 34 */ stfs f1, 0x334(r30) /* 80198488 001953E8 C0 3E 03 34 */ lfs f1, 0x334(r30) /* 8019848C 001953EC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80198490 001953F0 40 81 00 70 */ ble lbl_80198500 /* 80198494 001953F4 D0 1E 03 34 */ stfs f0, 0x334(r30) /* 80198498 001953F8 38 00 00 04 */ li r0, 4 /* 8019849C 001953FC 38 60 00 00 */ li r3, 0 /* 801984A0 00195400 90 1E 03 F0 */ stw r0, 0x3f0(r30) /* 801984A4 00195404 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801984A8 00195408 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801984AC 0019540C 98 1E 04 00 */ stb r0, 0x400(r30) /* 801984B0 00195410 48 00 00 50 */ b lbl_80198500 lbl_801984B4: /* 801984B4 00195414 C0 5E 03 30 */ lfs f2, 0x330(r30) /* 801984B8 00195418 C0 02 A6 BC */ lfs f0, lbl_805AC3DC@sda21(r2) /* 801984BC 0019541C EC 22 08 2A */ fadds f1, f2, f1 /* 801984C0 00195420 D0 3E 03 30 */ stfs f1, 0x330(r30) /* 801984C4 00195424 C0 3E 03 30 */ lfs f1, 0x330(r30) /* 801984C8 00195428 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801984CC 0019542C 40 81 00 34 */ ble lbl_80198500 /* 801984D0 00195430 80 7E 03 48 */ lwz r3, 0x348(r30) /* 801984D4 00195434 28 03 00 00 */ cmplwi r3, 0 /* 801984D8 00195438 41 82 00 28 */ beq lbl_80198500 /* 801984DC 0019543C 48 17 FA 11 */ bl GetParticleCountAll__11CElementGenCFv /* 801984E0 00195440 2C 03 00 00 */ cmpwi r3, 0 /* 801984E4 00195444 40 82 00 1C */ bne lbl_80198500 /* 801984E8 00195448 38 00 00 00 */ li r0, 0 /* 801984EC 0019544C 7F C3 F3 78 */ mr r3, r30 /* 801984F0 00195450 90 1E 03 F0 */ stw r0, 0x3f0(r30) /* 801984F4 00195454 7F E4 FB 78 */ mr r4, r31 /* 801984F8 00195458 38 A0 00 01 */ li r5, 1 /* 801984FC 0019545C 4B FF FC C5 */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_80198500: /* 80198500 00195460 80 01 00 14 */ lwz r0, 0x14(r1) /* 80198504 00195464 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80198508 00195468 C0 22 A6 A4 */ lfs f1, lbl_805AC3C4@sda21(r2) /* 8019850C 0019546C 83 C1 00 08 */ lwz r30, 8(r1) /* 80198510 00195470 7C 08 03 A6 */ mtlr r0 /* 80198514 00195474 38 21 00 10 */ addi r1, r1, 0x10 /* 80198518 00195478 4E 80 00 20 */ blr .global Think__13CFlameThrowerFfR13CStateManager Think__13CFlameThrowerFfR13CStateManager: /* 8019851C 0019547C 94 21 FE 10 */ stwu r1, -0x1f0(r1) /* 80198520 00195480 7C 08 02 A6 */ mflr r0 /* 80198524 00195484 90 01 01 F4 */ stw r0, 0x1f4(r1) /* 80198528 00195488 DB E1 01 E0 */ stfd f31, 0x1e0(r1) /* 8019852C 0019548C F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 /* 80198530 00195490 BF 61 01 CC */ stmw r27, 0x1cc(r1) /* 80198534 00195494 FF E0 08 90 */ fmr f31, f1 /* 80198538 00195498 7C 7D 1B 78 */ mr r29, r3 /* 8019853C 0019549C 7C 9E 23 78 */ mr r30, r4 /* 80198540 001954A0 4B F6 9B 99 */ bl Think__7CWeaponFfR13CStateManager /* 80198544 001954A4 88 1D 00 30 */ lbz r0, 0x30(r29) /* 80198548 001954A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8019854C 001954AC 41 82 04 9C */ beq lbl_801989E8 /* 80198550 001954B0 FC 20 F8 90 */ fmr f1, f31 /* 80198554 001954B4 7F A3 EB 78 */ mr r3, r29 /* 80198558 001954B8 7F C4 F3 78 */ mr r4, r30 /* 8019855C 001954BC 3B FD 02 E8 */ addi r31, r29, 0x2e8 /* 80198560 001954C0 4B FF FE C5 */ bl UpdateFlameState__13CFlameThrowerFfR13CStateManager /* 80198564 001954C4 C0 5F 00 2C */ lfs f2, 0x2c(r31) /* 80198568 001954C8 3B 80 00 01 */ li r28, 1 /* 8019856C 001954CC C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 80198570 001954D0 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 80198574 001954D4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80198578 001954D8 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8019857C 001954DC D0 41 00 60 */ stfs f2, 0x60(r1) /* 80198580 001954E0 80 1D 03 F0 */ lwz r0, 0x3f0(r29) /* 80198584 001954E4 2C 00 00 02 */ cmpwi r0, 2 /* 80198588 001954E8 41 82 00 10 */ beq lbl_80198598 /* 8019858C 001954EC 2C 00 00 03 */ cmpwi r0, 3 /* 80198590 001954F0 41 82 00 08 */ beq lbl_80198598 /* 80198594 001954F4 3B 80 00 00 */ li r28, 0 lbl_80198598: /* 80198598 001954F8 2C 00 00 04 */ cmpwi r0, 4 /* 8019859C 001954FC 40 80 00 88 */ bge lbl_80198624 /* 801985A0 00195500 2C 00 00 02 */ cmpwi r0, 2 /* 801985A4 00195504 40 80 00 08 */ bge lbl_801985AC /* 801985A8 00195508 48 00 00 7C */ b lbl_80198624 lbl_801985AC: /* 801985AC 0019550C 38 7D 03 4C */ addi r3, r29, 0x34c /* 801985B0 00195510 38 80 00 01 */ li r4, 1 /* 801985B4 00195514 81 9D 03 4C */ lwz r12, 0x34c(r29) /* 801985B8 00195518 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801985BC 0019551C 7D 89 03 A6 */ mtctr r12 /* 801985C0 00195520 4E 80 04 21 */ bctrl /* 801985C4 00195524 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801985C8 00195528 38 81 00 58 */ addi r4, r1, 0x58 /* 801985CC 0019552C D0 1D 03 C0 */ stfs f0, 0x3c0(r29) /* 801985D0 00195530 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801985D4 00195534 D0 1D 03 C4 */ stfs f0, 0x3c4(r29) /* 801985D8 00195538 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801985DC 0019553C D0 1D 03 C8 */ stfs f0, 0x3c8(r29) /* 801985E0 00195540 93 DD 03 E8 */ stw r30, 0x3e8(r29) /* 801985E4 00195544 80 7D 03 48 */ lwz r3, 0x348(r29) /* 801985E8 00195548 81 83 00 00 */ lwz r12, 0(r3) /* 801985EC 0019554C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801985F0 00195550 7D 89 03 A6 */ mtctr r12 /* 801985F4 00195554 4E 80 04 21 */ bctrl /* 801985F8 00195558 83 7D 03 48 */ lwz r27, 0x348(r29) /* 801985FC 0019555C 7F E4 FB 78 */ mr r4, r31 /* 80198600 00195560 38 61 01 18 */ addi r3, r1, 0x118 /* 80198604 00195564 48 17 A6 3D */ bl GetRotation__12CTransform4fCFv /* 80198608 00195568 7F 63 DB 78 */ mr r3, r27 /* 8019860C 0019556C 38 81 01 18 */ addi r4, r1, 0x118 /* 80198610 00195570 81 9B 00 00 */ lwz r12, 0(r27) /* 80198614 00195574 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80198618 00195578 7D 89 03 A6 */ mtctr r12 /* 8019861C 0019557C 4E 80 04 21 */ bctrl /* 80198620 00195580 48 00 00 1C */ b lbl_8019863C lbl_80198624: /* 80198624 00195584 38 7D 03 4C */ addi r3, r29, 0x34c /* 80198628 00195588 38 80 00 00 */ li r4, 0 /* 8019862C 0019558C 81 9D 03 4C */ lwz r12, 0x34c(r29) /* 80198630 00195590 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80198634 00195594 7D 89 03 A6 */ mtctr r12 /* 80198638 00195598 4E 80 04 21 */ bctrl lbl_8019863C: /* 8019863C 0019559C 80 7D 03 48 */ lwz r3, 0x348(r29) /* 80198640 001955A0 FC 20 F8 90 */ fmr f1, f31 /* 80198644 001955A4 81 83 00 00 */ lwz r12, 0(r3) /* 80198648 001955A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019864C 001955AC 7D 89 03 A6 */ mtctr r12 /* 80198650 001955B0 4E 80 04 21 */ bctrl /* 80198654 001955B4 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2) /* 80198658 001955B8 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 8019865C 001955BC D0 1D 03 D8 */ stfs f0, 0x3d8(r29) /* 80198660 001955C0 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80198664 001955C4 D0 1D 03 CC */ stfs f0, 0x3cc(r29) /* 80198668 001955C8 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 8019866C 001955CC D0 1D 03 D0 */ stfs f0, 0x3d0(r29) /* 80198670 001955D0 C0 01 00 60 */ lfs f0, 0x60(r1) /* 80198674 001955D4 D0 1D 03 D4 */ stfs f0, 0x3d4(r29) /* 80198678 001955D8 41 82 02 48 */ beq lbl_801988C0 /* 8019867C 001955DC 88 1D 03 EC */ lbz r0, 0x3ec(r29) /* 80198680 001955E0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80198684 001955E4 41 82 02 3C */ beq lbl_801988C0 /* 80198688 001955E8 38 9D 03 50 */ addi r4, r29, 0x350 /* 8019868C 001955EC C0 5D 03 54 */ lfs f2, 0x354(r29) /* 80198690 001955F0 38 A4 00 10 */ addi r5, r4, 0x10 /* 80198694 001955F4 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80198698 001955F8 C0 3D 03 58 */ lfs f1, 0x358(r29) /* 8019869C 001955FC D0 21 00 50 */ stfs f1, 0x50(r1) /* 801986A0 00195600 C0 1D 03 5C */ lfs f0, 0x35c(r29) /* 801986A4 00195604 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801986A8 00195608 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801986AC 0019560C D0 21 00 44 */ stfs f1, 0x44(r1) /* 801986B0 00195610 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801986B4 00195614 48 00 00 80 */ b lbl_80198734 lbl_801986B8: /* 801986B8 00195618 C0 25 00 00 */ lfs f1, 0(r5) /* 801986BC 0019561C C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801986C0 00195620 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801986C4 00195624 40 80 00 08 */ bge lbl_801986CC /* 801986C8 00195628 D0 21 00 4C */ stfs f1, 0x4c(r1) lbl_801986CC: /* 801986CC 0019562C C0 25 00 04 */ lfs f1, 4(r5) /* 801986D0 00195630 C0 01 00 50 */ lfs f0, 0x50(r1) /* 801986D4 00195634 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801986D8 00195638 40 80 00 08 */ bge lbl_801986E0 /* 801986DC 0019563C D0 21 00 50 */ stfs f1, 0x50(r1) lbl_801986E0: /* 801986E0 00195640 C0 25 00 08 */ lfs f1, 8(r5) /* 801986E4 00195644 C0 01 00 54 */ lfs f0, 0x54(r1) /* 801986E8 00195648 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801986EC 0019564C 40 80 00 08 */ bge lbl_801986F4 /* 801986F0 00195650 D0 21 00 54 */ stfs f1, 0x54(r1) lbl_801986F4: /* 801986F4 00195654 C0 25 00 00 */ lfs f1, 0(r5) /* 801986F8 00195658 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801986FC 0019565C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80198700 00195660 40 81 00 08 */ ble lbl_80198708 /* 80198704 00195664 D0 21 00 40 */ stfs f1, 0x40(r1) lbl_80198708: /* 80198708 00195668 C0 25 00 04 */ lfs f1, 4(r5) /* 8019870C 0019566C C0 01 00 44 */ lfs f0, 0x44(r1) /* 80198710 00195670 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80198714 00195674 40 81 00 08 */ ble lbl_8019871C /* 80198718 00195678 D0 21 00 44 */ stfs f1, 0x44(r1) lbl_8019871C: /* 8019871C 0019567C C0 25 00 08 */ lfs f1, 8(r5) /* 80198720 00195680 C0 01 00 48 */ lfs f0, 0x48(r1) /* 80198724 00195684 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80198728 00195688 40 81 00 08 */ ble lbl_80198730 /* 8019872C 0019568C D0 21 00 48 */ stfs f1, 0x48(r1) lbl_80198730: /* 80198730 00195690 38 A5 00 0C */ addi r5, r5, 0xc lbl_80198734: /* 80198734 00195694 80 04 00 00 */ lwz r0, 0(r4) /* 80198738 00195698 1C 00 00 0C */ mulli r0, r0, 0xc /* 8019873C 0019569C 7C 64 02 14 */ add r3, r4, r0 /* 80198740 001956A0 38 03 00 04 */ addi r0, r3, 4 /* 80198744 001956A4 7C 05 00 40 */ cmplw r5, r0 /* 80198748 001956A8 40 82 FF 70 */ bne lbl_801986B8 /* 8019874C 001956AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80198750 001956B0 38 61 00 9C */ addi r3, r1, 0x9c /* 80198754 001956B4 38 81 00 4C */ addi r4, r1, 0x4c /* 80198758 001956B8 38 A1 00 40 */ addi r5, r1, 0x40 /* 8019875C 001956BC B0 01 00 20 */ sth r0, 0x20(r1) /* 80198760 001956C0 48 19 FD A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 80198764 001956C4 80 C1 00 9C */ lwz r6, 0x9c(r1) /* 80198768 001956C8 7F A4 EB 78 */ mr r4, r29 /* 8019876C 001956CC 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 80198770 001956D0 7F C7 F3 78 */ mr r7, r30 /* 80198774 001956D4 38 61 00 E8 */ addi r3, r1, 0xe8 /* 80198778 001956D8 38 A1 00 20 */ addi r5, r1, 0x20 /* 8019877C 001956DC 90 DD 03 18 */ stw r6, 0x318(r29) /* 80198780 001956E0 38 DD 03 18 */ addi r6, r29, 0x318 /* 80198784 001956E4 90 1D 03 1C */ stw r0, 0x31c(r29) /* 80198788 001956E8 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8019878C 001956EC 90 1D 03 20 */ stw r0, 0x320(r29) /* 80198790 001956F0 81 01 00 A8 */ lwz r8, 0xa8(r1) /* 80198794 001956F4 80 01 00 AC */ lwz r0, 0xac(r1) /* 80198798 001956F8 91 1D 03 24 */ stw r8, 0x324(r29) /* 8019879C 001956FC 90 1D 03 28 */ stw r0, 0x328(r29) /* 801987A0 00195700 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 801987A4 00195704 90 1D 03 2C */ stw r0, 0x32c(r29) /* 801987A8 00195708 4B FF EE E1 */ bl DoCollisionCheck__13CFlameThrowerFR9TUniqueIdRC6CAABoxR13CStateManager /* 801987AC 0019570C C0 E1 00 E8 */ lfs f7, 0xe8(r1) /* 801987B0 00195710 7F C3 F3 78 */ mr r3, r30 /* 801987B4 00195714 C0 C1 00 EC */ lfs f6, 0xec(r1) /* 801987B8 00195718 3B 61 01 4C */ addi r27, r1, 0x14c /* 801987BC 0019571C C0 A1 00 F0 */ lfs f5, 0xf0(r1) /* 801987C0 00195720 38 81 00 1C */ addi r4, r1, 0x1c /* 801987C4 00195724 C0 81 00 F4 */ lfs f4, 0xf4(r1) /* 801987C8 00195728 C0 61 00 F8 */ lfs f3, 0xf8(r1) /* 801987CC 0019572C C0 41 00 FC */ lfs f2, 0xfc(r1) /* 801987D0 00195730 C0 21 01 00 */ lfs f1, 0x100(r1) /* 801987D4 00195734 C0 01 01 04 */ lfs f0, 0x104(r1) /* 801987D8 00195738 88 E1 01 08 */ lbz r7, 0x108(r1) /* 801987DC 0019573C 80 A1 01 10 */ lwz r5, 0x110(r1) /* 801987E0 00195740 80 C1 01 14 */ lwz r6, 0x114(r1) /* 801987E4 00195744 A0 01 00 20 */ lhz r0, 0x20(r1) /* 801987E8 00195748 D0 E1 01 48 */ stfs f7, 0x148(r1) /* 801987EC 0019574C D0 C1 01 4C */ stfs f6, 0x14c(r1) /* 801987F0 00195750 D0 A1 01 50 */ stfs f5, 0x150(r1) /* 801987F4 00195754 D0 81 01 54 */ stfs f4, 0x154(r1) /* 801987F8 00195758 D0 61 01 58 */ stfs f3, 0x158(r1) /* 801987FC 0019575C D0 41 01 5C */ stfs f2, 0x15c(r1) /* 80198800 00195760 D0 21 01 60 */ stfs f1, 0x160(r1) /* 80198804 00195764 D0 01 01 64 */ stfs f0, 0x164(r1) /* 80198808 00195768 98 E1 01 68 */ stb r7, 0x168(r1) /* 8019880C 0019576C 90 C1 01 74 */ stw r6, 0x174(r1) /* 80198810 00195770 90 A1 01 70 */ stw r5, 0x170(r1) /* 80198814 00195774 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80198818 00195778 4B EB 3D 5D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019881C 0019577C 7C 64 1B 78 */ mr r4, r3 /* 80198820 00195780 38 61 00 2C */ addi r3, r1, 0x2c /* 80198824 00195784 4B F1 74 6D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80198828 00195788 80 03 00 04 */ lwz r0, 4(r3) /* 8019882C 0019578C 28 00 00 00 */ cmplwi r0, 0 /* 80198830 00195790 41 82 00 24 */ beq lbl_80198854 /* 80198834 00195794 A0 01 00 20 */ lhz r0, 0x20(r1) /* 80198838 00195798 FC 20 F8 90 */ fmr f1, f31 /* 8019883C 0019579C 7F A3 EB 78 */ mr r3, r29 /* 80198840 001957A0 7F C4 F3 78 */ mr r4, r30 /* 80198844 001957A4 B0 01 00 18 */ sth r0, 0x18(r1) /* 80198848 001957A8 38 A1 00 18 */ addi r5, r1, 0x18 /* 8019884C 001957AC 4B FF ED 25 */ bl sub_80197570 /* 80198850 001957B0 48 00 00 70 */ b lbl_801988C0 lbl_80198854: /* 80198854 001957B4 88 01 01 68 */ lbz r0, 0x168(r1) /* 80198858 001957B8 28 00 00 00 */ cmplwi r0, 0 /* 8019885C 001957BC 41 82 00 64 */ beq lbl_801988C0 /* 80198860 001957C0 80 1D 00 F8 */ lwz r0, 0xf8(r29) /* 80198864 001957C4 FC 20 F8 90 */ fmr f1, f31 /* 80198868 001957C8 80 BD 00 FC */ lwz r5, 0xfc(r29) /* 8019886C 001957CC 38 61 00 80 */ addi r3, r1, 0x80 /* 80198870 001957D0 38 9D 01 2C */ addi r4, r29, 0x12c /* 80198874 001957D4 90 A1 00 6C */ stw r5, 0x6c(r1) /* 80198878 001957D8 90 01 00 68 */ stw r0, 0x68(r1) /* 8019887C 001957DC 80 1D 01 00 */ lwz r0, 0x100(r29) /* 80198880 001957E0 80 BD 01 04 */ lwz r5, 0x104(r29) /* 80198884 001957E4 90 A1 00 74 */ stw r5, 0x74(r1) /* 80198888 001957E8 90 01 00 70 */ stw r0, 0x70(r1) /* 8019888C 001957EC 80 1D 01 08 */ lwz r0, 0x108(r29) /* 80198890 001957F0 90 01 00 78 */ stw r0, 0x78(r1) /* 80198894 001957F4 4B F2 AB B5 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 80198898 001957F8 A0 1D 00 EC */ lhz r0, 0xec(r29) /* 8019889C 001957FC 7F C3 F3 78 */ mr r3, r30 /* 801988A0 00195800 7F A5 EB 78 */ mr r5, r29 /* 801988A4 00195804 7F 66 DB 78 */ mr r6, r27 /* 801988A8 00195808 B0 01 00 10 */ sth r0, 0x10(r1) /* 801988AC 0019580C 38 81 00 14 */ addi r4, r1, 0x14 /* 801988B0 00195810 38 E1 00 80 */ addi r7, r1, 0x80 /* 801988B4 00195814 39 01 00 68 */ addi r8, r1, 0x68 /* 801988B8 00195818 B0 01 00 14 */ sth r0, 0x14(r1) /* 801988BC 0019581C 4B EB 03 F1 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter lbl_801988C0: /* 801988C0 00195820 7F E4 FB 78 */ mr r4, r31 /* 801988C4 00195824 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801988C8 00195828 48 17 A3 79 */ bl GetRotation__12CTransform4fCFv /* 801988CC 0019582C 38 7D 00 34 */ addi r3, r29, 0x34 /* 801988D0 00195830 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801988D4 00195834 48 17 A2 6D */ bl __as__12CTransform4fFRC12CTransform4f /* 801988D8 00195838 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801988DC 0019583C 38 A0 00 01 */ li r5, 1 /* 801988E0 00195840 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801988E4 00195844 7F A3 EB 78 */ mr r3, r29 /* 801988E8 00195848 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801988EC 0019584C 38 81 00 34 */ addi r4, r1, 0x34 /* 801988F0 00195850 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801988F4 00195854 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801988F8 00195858 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801988FC 0019585C 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 80198900 00195860 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80198904 00195864 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 80198908 00195868 C0 5F 00 2C */ lfs f2, 0x2c(r31) /* 8019890C 0019586C C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 80198910 00195870 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 80198914 00195874 D0 01 00 34 */ stfs f0, 0x34(r1) /* 80198918 00195878 D0 21 00 38 */ stfs f1, 0x38(r1) /* 8019891C 0019587C D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80198920 00195880 4B EB A5 6D */ bl SetTranslation__6CActorFRC9CVector3f /* 80198924 00195884 A0 BD 02 C8 */ lhz r5, 0x2c8(r29) /* 80198928 00195888 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8019892C 0019588C 7C 05 00 40 */ cmplw r5, r0 /* 80198930 00195890 41 82 00 B8 */ beq lbl_801989E8 /* 80198934 00195894 B0 A1 00 08 */ sth r5, 8(r1) /* 80198938 00195898 7F C3 F3 78 */ mr r3, r30 /* 8019893C 0019589C 38 81 00 0C */ addi r4, r1, 0xc /* 80198940 001958A0 B0 A1 00 0C */ sth r5, 0xc(r1) /* 80198944 001958A4 4B EB 3C 31 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80198948 001958A8 7C 64 1B 78 */ mr r4, r3 /* 8019894C 001958AC 38 61 00 24 */ addi r3, r1, 0x24 /* 80198950 001958B0 4B F1 51 35 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 80198954 001958B4 83 63 00 04 */ lwz r27, 4(r3) /* 80198958 001958B8 28 1B 00 00 */ cmplwi r27, 0 /* 8019895C 001958BC 41 82 00 8C */ beq lbl_801989E8 /* 80198960 001958C0 38 7B 00 34 */ addi r3, r27, 0x34 /* 80198964 001958C4 38 9D 00 34 */ addi r4, r29, 0x34 /* 80198968 001958C8 48 17 A1 D9 */ bl __as__12CTransform4fFRC12CTransform4f /* 8019896C 001958CC 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 80198970 001958D0 38 A0 00 01 */ li r5, 1 /* 80198974 001958D4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80198978 001958D8 7F 63 DB 78 */ mr r3, r27 /* 8019897C 001958DC 98 1B 00 E4 */ stb r0, 0xe4(r27) /* 80198980 001958E0 38 9D 03 CC */ addi r4, r29, 0x3cc /* 80198984 001958E4 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 80198988 001958E8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 8019898C 001958EC 98 1B 00 E4 */ stb r0, 0xe4(r27) /* 80198990 001958F0 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 80198994 001958F4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80198998 001958F8 98 1B 00 E4 */ stb r0, 0xe4(r27) /* 8019899C 001958FC 4B EB A4 F1 */ bl SetTranslation__6CActorFRC9CVector3f /* 801989A0 00195900 80 7D 03 48 */ lwz r3, 0x348(r29) /* 801989A4 00195904 28 03 00 00 */ cmplwi r3, 0 /* 801989A8 00195908 41 82 00 40 */ beq lbl_801989E8 /* 801989AC 0019590C 81 83 00 00 */ lwz r12, 0(r3) /* 801989B0 00195910 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801989B4 00195914 7D 89 03 A6 */ mtctr r12 /* 801989B8 00195918 4E 80 04 21 */ bctrl /* 801989BC 0019591C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801989C0 00195920 41 82 00 28 */ beq lbl_801989E8 /* 801989C4 00195924 80 9D 03 48 */ lwz r4, 0x348(r29) /* 801989C8 00195928 38 61 01 78 */ addi r3, r1, 0x178 /* 801989CC 0019592C 81 84 00 00 */ lwz r12, 0(r4) /* 801989D0 00195930 81 8C 00 68 */ lwz r12, 0x68(r12) /* 801989D4 00195934 7D 89 03 A6 */ mtctr r12 /* 801989D8 00195938 4E 80 04 21 */ bctrl /* 801989DC 0019593C 7F 63 DB 78 */ mr r3, r27 /* 801989E0 00195940 38 81 01 78 */ addi r4, r1, 0x178 /* 801989E4 00195944 4B F1 CD 61 */ bl SetLight__10CGameLightFRC6CLight lbl_801989E8: /* 801989E8 00195948 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 /* 801989EC 0019594C CB E1 01 E0 */ lfd f31, 0x1e0(r1) /* 801989F0 00195950 BB 61 01 CC */ lmw r27, 0x1cc(r1) /* 801989F4 00195954 80 01 01 F4 */ lwz r0, 0x1f4(r1) /* 801989F8 00195958 7C 08 03 A6 */ mtlr r0 /* 801989FC 0019595C 38 21 01 F0 */ addi r1, r1, 0x1f0 /* 80198A00 00195960 4E 80 00 20 */ blr .global Activate__10CFlameWarpFb Activate__10CFlameWarpFb: /* 80198A04 00195964 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 80198A08 00195968 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80198A0C 0019596C 98 03 00 A0 */ stb r0, 0xa0(r3) /* 80198A10 00195970 4E 80 00 20 */ blr .global nullsub_141 nullsub_141: /* 80198A14 00195974 4E 80 00 20 */ blr .global Accept__13CFlameThrowerFR8IVisitor Accept__13CFlameThrowerFR8IVisitor: /* 80198A18 00195978 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80198A1C 0019597C 7C 08 02 A6 */ mflr r0 /* 80198A20 00195980 90 01 00 14 */ stw r0, 0x14(r1) /* 80198A24 00195984 7C 60 1B 78 */ mr r0, r3 /* 80198A28 00195988 7C 83 23 78 */ mr r3, r4 /* 80198A2C 0019598C 81 84 00 00 */ lwz r12, 0(r4) /* 80198A30 00195990 7C 04 03 78 */ mr r4, r0 /* 80198A34 00195994 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80198A38 00195998 7D 89 03 A6 */ mtctr r12 /* 80198A3C 0019599C 4E 80 04 21 */ bctrl /* 80198A40 001959A0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80198A44 001959A4 7C 08 03 A6 */ mtlr r0 /* 80198A48 001959A8 38 21 00 10 */ addi r1, r1, 0x10 /* 80198A4C 001959AC 4E 80 00 20 */ blr .global GetTouchBounds__13CFlameThrowerCFv GetTouchBounds__13CFlameThrowerCFv: /* 80198A50 001959B0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80198A54 001959B4 88 04 00 30 */ lbz r0, 0x30(r4) /* 80198A58 001959B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80198A5C 001959BC 41 82 00 18 */ beq lbl_80198A74 /* 80198A60 001959C0 80 04 03 F0 */ lwz r0, 0x3f0(r4) /* 80198A64 001959C4 2C 00 00 02 */ cmpwi r0, 2 /* 80198A68 001959C8 40 82 00 0C */ bne lbl_80198A74 /* 80198A6C 001959CC 2C 00 00 03 */ cmpwi r0, 3 /* 80198A70 001959D0 41 82 00 10 */ beq lbl_80198A80 lbl_80198A74: /* 80198A74 001959D4 38 00 00 00 */ li r0, 0 /* 80198A78 001959D8 98 03 00 18 */ stb r0, 0x18(r3) /* 80198A7C 001959DC 48 00 00 6C */ b lbl_80198AE8 lbl_80198A80: /* 80198A80 001959E0 C0 C4 00 60 */ lfs f6, 0x60(r4) /* 80198A84 001959E4 28 03 00 00 */ cmplwi r3, 0 /* 80198A88 001959E8 C0 E2 84 00 */ lfs f7, lbl_805AA120@sda21(r2) /* 80198A8C 001959EC 38 00 00 01 */ li r0, 1 /* 80198A90 001959F0 C0 24 00 50 */ lfs f1, 0x50(r4) /* 80198A94 001959F4 C0 04 00 40 */ lfs f0, 0x40(r4) /* 80198A98 001959F8 EC 66 38 28 */ fsubs f3, f6, f7 /* 80198A9C 001959FC EC 81 38 28 */ fsubs f4, f1, f7 /* 80198AA0 00195A00 EC A0 38 28 */ fsubs f5, f0, f7 /* 80198AA4 00195A04 98 03 00 18 */ stb r0, 0x18(r3) /* 80198AA8 00195A08 EC 47 00 2A */ fadds f2, f7, f0 /* 80198AAC 00195A0C EC 27 08 2A */ fadds f1, f7, f1 /* 80198AB0 00195A10 D0 81 00 0C */ stfs f4, 0xc(r1) /* 80198AB4 00195A14 EC 07 30 2A */ fadds f0, f7, f6 /* 80198AB8 00195A18 D0 A1 00 08 */ stfs f5, 8(r1) /* 80198ABC 00195A1C D0 61 00 10 */ stfs f3, 0x10(r1) /* 80198AC0 00195A20 D0 41 00 14 */ stfs f2, 0x14(r1) /* 80198AC4 00195A24 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80198AC8 00195A28 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80198ACC 00195A2C 41 82 00 1C */ beq lbl_80198AE8 /* 80198AD0 00195A30 D0 A3 00 00 */ stfs f5, 0(r3) /* 80198AD4 00195A34 D0 83 00 04 */ stfs f4, 4(r3) /* 80198AD8 00195A38 D0 63 00 08 */ stfs f3, 8(r3) /* 80198ADC 00195A3C D0 43 00 0C */ stfs f2, 0xc(r3) /* 80198AE0 00195A40 D0 23 00 10 */ stfs f1, 0x10(r3) /* 80198AE4 00195A44 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_80198AE8: /* 80198AE8 00195A48 38 21 00 20 */ addi r1, r1, 0x20 /* 80198AEC 00195A4C 4E 80 00 20 */ blr .global "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi" "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi": /* 80198AF0 00195A50 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 80198AF4 00195A54 7C 08 02 A6 */ mflr r0 /* 80198AF8 00195A58 C0 02 A6 A0 */ lfs f0, lbl_805AC3C0@sda21(r2) /* 80198AFC 00195A5C 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80198B00 00195A60 39 81 00 74 */ addi r12, r1, 0x74 /* 80198B04 00195A64 39 61 00 64 */ addi r11, r1, 0x64 /* 80198B08 00195A68 BE 41 00 88 */ stmw r18, 0x88(r1) /* 80198B0C 00195A6C 3A A0 00 00 */ li r21, 0 /* 80198B10 00195A70 7C BE 2B 78 */ mr r30, r5 /* 80198B14 00195A74 80 A1 00 D0 */ lwz r5, 0xd0(r1) /* 80198B18 00195A78 7C D2 33 78 */ mr r18, r6 /* 80198B1C 00195A7C 7C FB 3B 78 */ mr r27, r7 /* 80198B20 00195A80 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80198B24 00195A84 7E 47 93 78 */ mr r7, r18 /* 80198B28 00195A88 82 61 00 C8 */ lwz r19, 0xc8(r1) /* 80198B2C 00195A8C 3A C1 00 38 */ addi r22, r1, 0x38 /* 80198B30 00195A90 3A E1 00 3C */ addi r23, r1, 0x3c /* 80198B34 00195A94 3B 01 00 34 */ addi r24, r1, 0x34 /* 80198B38 00195A98 3B 21 00 30 */ addi r25, r1, 0x30 /* 80198B3C 00195A9C 82 81 00 D4 */ lwz r20, 0xd4(r1) /* 80198B40 00195AA0 83 A1 00 D8 */ lwz r29, 0xd8(r1) /* 80198B44 00195AA4 7C 7A 1B 78 */ mr r26, r3 /* 80198B48 00195AA8 7D 1C 43 78 */ mr r28, r8 /* 80198B4C 00195AAC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80198B50 00195AB0 9A A1 00 70 */ stb r21, 0x70(r1) /* 80198B54 00195AB4 B0 01 00 30 */ sth r0, 0x30(r1) /* 80198B58 00195AB8 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 80198B5C 00195ABC D0 01 00 74 */ stfs f0, 0x74(r1) /* 80198B60 00195AC0 D0 01 00 78 */ stfs f0, 0x78(r1) /* 80198B64 00195AC4 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80198B68 00195AC8 A0 C5 00 00 */ lhz r6, 0(r5) /* 80198B6C 00195ACC 7C 85 23 78 */ mr r5, r4 /* 80198B70 00195AD0 38 80 00 00 */ li r4, 0 /* 80198B74 00195AD4 B0 C1 00 34 */ sth r6, 0x34(r1) /* 80198B78 00195AD8 7F C6 F3 78 */ mr r6, r30 /* 80198B7C 00195ADC A3 C1 00 DE */ lhz r30, 0xde(r1) /* 80198B80 00195AE0 82 5F 00 00 */ lwz r18, 0(r31) /* 80198B84 00195AE4 83 E1 00 E0 */ lwz r31, 0xe0(r1) /* 80198B88 00195AE8 92 41 00 3C */ stw r18, 0x3c(r1) /* 80198B8C 00195AEC A2 53 00 00 */ lhz r18, 0(r19) /* 80198B90 00195AF0 B2 41 00 38 */ sth r18, 0x38(r1) /* 80198B94 00195AF4 92 C1 00 08 */ stw r22, 8(r1) /* 80198B98 00195AF8 92 E1 00 0C */ stw r23, 0xc(r1) /* 80198B9C 00195AFC 93 01 00 10 */ stw r24, 0x10(r1) /* 80198BA0 00195B00 93 21 00 14 */ stw r25, 0x14(r1) /* 80198BA4 00195B04 92 81 00 18 */ stw r20, 0x18(r1) /* 80198BA8 00195B08 92 A1 00 1C */ stw r21, 0x1c(r1) /* 80198BAC 00195B0C 91 81 00 20 */ stw r12, 0x20(r1) /* 80198BB0 00195B10 91 61 00 24 */ stw r11, 0x24(r1) /* 80198BB4 00195B14 90 01 00 28 */ stw r0, 0x28(r1) /* 80198BB8 00195B18 92 A1 00 2C */ stw r21, 0x2c(r1) /* 80198BBC 00195B1C 4B EA 18 C9 */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 80198BC0 00195B20 88 01 00 70 */ lbz r0, 0x70(r1) /* 80198BC4 00195B24 28 00 00 00 */ cmplwi r0, 0 /* 80198BC8 00195B28 41 82 00 1C */ beq lbl_80198BE4 /* 80198BCC 00195B2C 34 61 00 64 */ addic. r3, r1, 0x64 /* 80198BD0 00195B30 41 82 00 14 */ beq lbl_80198BE4 /* 80198BD4 00195B34 28 03 00 00 */ cmplwi r3, 0 /* 80198BD8 00195B38 41 82 00 0C */ beq lbl_80198BE4 /* 80198BDC 00195B3C 38 80 00 00 */ li r4, 0 /* 80198BE0 00195B40 48 1A 82 61 */ bl __dt__6CTokenFv lbl_80198BE4: /* 80198BE4 00195B44 38 00 00 00 */ li r0, 0 /* 80198BE8 00195B48 3C 60 80 3E */ lis r3, lbl_803E45D8@ha /* 80198BEC 00195B4C 98 01 00 70 */ stb r0, 0x70(r1) /* 80198BF0 00195B50 38 03 45 D8 */ addi r0, r3, lbl_803E45D8@l /* 80198BF4 00195B54 7F 84 E3 78 */ mr r4, r28 /* 80198BF8 00195B58 38 7A 02 E8 */ addi r3, r26, 0x2e8 /* 80198BFC 00195B5C 90 1A 00 00 */ stw r0, 0(r26) /* 80198C00 00195B60 48 17 9F 75 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80198C04 00195B64 3C 80 80 5A */ lis r4, lbl_805A6784@ha /* 80198C08 00195B68 C4 24 67 84 */ lfsu f1, lbl_805A6784@l(r4) /* 80198C0C 00195B6C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 80198C10 00195B70 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2) /* 80198C14 00195B74 D0 3A 03 18 */ stfs f1, 0x318(r26) /* 80198C18 00195B78 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 80198C1C 00195B7C 38 61 00 48 */ addi r3, r1, 0x48 /* 80198C20 00195B80 38 A1 00 50 */ addi r5, r1, 0x50 /* 80198C24 00195B84 C0 24 00 04 */ lfs f1, 4(r4) /* 80198C28 00195B88 D0 3A 03 1C */ stfs f1, 0x31c(r26) /* 80198C2C 00195B8C C0 24 00 08 */ lfs f1, 8(r4) /* 80198C30 00195B90 D0 3A 03 20 */ stfs f1, 0x320(r26) /* 80198C34 00195B94 C0 24 00 0C */ lfs f1, 0xc(r4) /* 80198C38 00195B98 D0 3A 03 24 */ stfs f1, 0x324(r26) /* 80198C3C 00195B9C C0 24 00 10 */ lfs f1, 0x10(r4) /* 80198C40 00195BA0 D0 3A 03 28 */ stfs f1, 0x328(r26) /* 80198C44 00195BA4 C0 24 00 14 */ lfs f1, 0x14(r4) /* 80198C48 00195BA8 D0 3A 03 2C */ stfs f1, 0x32c(r26) /* 80198C4C 00195BAC D0 1A 03 30 */ stfs f0, 0x330(r26) /* 80198C50 00195BB0 D0 1A 03 34 */ stfs f0, 0x334(r26) /* 80198C54 00195BB4 C0 1B 00 10 */ lfs f0, 0x10(r27) /* 80198C58 00195BB8 D0 1A 03 38 */ stfs f0, 0x338(r26) /* 80198C5C 00195BBC 80 DB 00 08 */ lwz r6, 8(r27) /* 80198C60 00195BC0 90 01 00 50 */ stw r0, 0x50(r1) /* 80198C64 00195BC4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80198C68 00195BC8 90 C1 00 54 */ stw r6, 0x54(r1) /* 80198C6C 00195BCC 81 84 00 00 */ lwz r12, 0(r4) /* 80198C70 00195BD0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80198C74 00195BD4 7D 89 03 A6 */ mtctr r12 /* 80198C78 00195BD8 4E 80 04 21 */ bctrl /* 80198C7C 00195BDC 3A 5A 03 3C */ addi r18, r26, 0x33c /* 80198C80 00195BE0 38 81 00 48 */ addi r4, r1, 0x48 /* 80198C84 00195BE4 7E 43 93 78 */ mr r3, r18 /* 80198C88 00195BE8 48 1A 82 21 */ bl __ct__6CTokenFRC6CToken /* 80198C8C 00195BEC 7E 43 93 78 */ mr r3, r18 /* 80198C90 00195BF0 48 1A 81 7D */ bl GetObj__6CTokenFv /* 80198C94 00195BF4 80 03 00 04 */ lwz r0, 4(r3) /* 80198C98 00195BF8 38 61 00 48 */ addi r3, r1, 0x48 /* 80198C9C 00195BFC 38 80 FF FF */ li r4, -1 /* 80198CA0 00195C00 90 12 00 08 */ stw r0, 8(r18) /* 80198CA4 00195C04 48 1A 81 9D */ bl __dt__6CTokenFv /* 80198CA8 00195C08 3C 60 80 3D */ lis r3, lbl_803D1210@ha /* 80198CAC 00195C0C 3A 60 00 00 */ li r19, 0 /* 80198CB0 00195C10 38 83 12 10 */ addi r4, r3, lbl_803D1210@l /* 80198CB4 00195C14 38 A0 00 00 */ li r5, 0 /* 80198CB8 00195C18 38 60 03 40 */ li r3, 0x340 /* 80198CBC 00195C1C 48 17 CB B1 */ bl __nw__FUlPCcPCc /* 80198CC0 00195C20 7C 72 1B 79 */ or. r18, r3, r3 /* 80198CC4 00195C24 41 82 00 2C */ beq lbl_80198CF0 /* 80198CC8 00195C28 38 61 00 40 */ addi r3, r1, 0x40 /* 80198CCC 00195C2C 38 9A 03 3C */ addi r4, r26, 0x33c /* 80198CD0 00195C30 48 1A 81 D9 */ bl __ct__6CTokenFRC6CToken /* 80198CD4 00195C34 7E 43 93 78 */ mr r3, r18 /* 80198CD8 00195C38 38 81 00 40 */ addi r4, r1, 0x40 /* 80198CDC 00195C3C 3A 60 00 01 */ li r19, 1 /* 80198CE0 00195C40 38 A0 00 00 */ li r5, 0 /* 80198CE4 00195C44 38 C0 00 01 */ li r6, 1 /* 80198CE8 00195C48 48 18 66 F9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 80198CEC 00195C4C 7C 72 1B 78 */ mr r18, r3 lbl_80198CF0: /* 80198CF0 00195C50 7E 60 07 75 */ extsb. r0, r19 /* 80198CF4 00195C54 92 5A 03 48 */ stw r18, 0x348(r26) /* 80198CF8 00195C58 41 82 00 10 */ beq lbl_80198D08 /* 80198CFC 00195C5C 38 61 00 40 */ addi r3, r1, 0x40 /* 80198D00 00195C60 38 80 00 00 */ li r4, 0 /* 80198D04 00195C64 48 1A 81 3D */ bl __dt__6CTokenFv lbl_80198D08: /* 80198D08 00195C68 80 9B 00 0C */ lwz r4, 0xc(r27) /* 80198D0C 00195C6C 3C 00 43 30 */ lis r0, 0x4330 /* 80198D10 00195C70 C0 9C 00 2C */ lfs f4, 0x2c(r28) /* 80198D14 00195C74 38 7A 03 4C */ addi r3, r26, 0x34c /* 80198D18 00195C78 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 80198D1C 00195C7C C0 7C 00 1C */ lfs f3, 0x1c(r28) /* 80198D20 00195C80 90 81 00 84 */ stw r4, 0x84(r1) /* 80198D24 00195C84 38 81 00 58 */ addi r4, r1, 0x58 /* 80198D28 00195C88 C0 5C 00 0C */ lfs f2, 0xc(r28) /* 80198D2C 00195C8C 90 01 00 80 */ stw r0, 0x80(r1) /* 80198D30 00195C90 C8 22 A6 B0 */ lfd f1, lbl_805AC3D0@sda21(r2) /* 80198D34 00195C94 C8 01 00 80 */ lfd f0, 0x80(r1) /* 80198D38 00195C98 80 BB 00 04 */ lwz r5, 4(r27) /* 80198D3C 00195C9C EC 20 08 28 */ fsubs f1, f0, f1 /* 80198D40 00195CA0 D0 41 00 58 */ stfs f2, 0x58(r1) /* 80198D44 00195CA4 54 A5 F7 FE */ rlwinm r5, r5, 0x1e, 0x1f, 0x1f /* 80198D48 00195CA8 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 80198D4C 00195CAC D0 81 00 60 */ stfs f4, 0x60(r1) /* 80198D50 00195CB0 48 01 C9 D9 */ bl __ct__10CFlameWarpFfRC9CVector3fb /* 80198D54 00195CB4 38 80 00 00 */ li r4, 0 /* 80198D58 00195CB8 7F 43 D3 78 */ mr r3, r26 /* 80198D5C 00195CBC 90 9A 03 F0 */ stw r4, 0x3f0(r26) /* 80198D60 00195CC0 93 BA 03 F4 */ stw r29, 0x3f4(r26) /* 80198D64 00195CC4 B3 DA 03 F8 */ sth r30, 0x3f8(r26) /* 80198D68 00195CC8 93 FA 03 FC */ stw r31, 0x3fc(r26) /* 80198D6C 00195CCC 88 1A 04 00 */ lbz r0, 0x400(r26) /* 80198D70 00195CD0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80198D74 00195CD4 98 1A 04 00 */ stb r0, 0x400(r26) /* 80198D78 00195CD8 88 1A 04 00 */ lbz r0, 0x400(r26) /* 80198D7C 00195CDC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80198D80 00195CE0 98 1A 04 00 */ stb r0, 0x400(r26) /* 80198D84 00195CE4 80 9B 00 04 */ lwz r4, 4(r27) /* 80198D88 00195CE8 88 1A 04 00 */ lbz r0, 0x400(r26) /* 80198D8C 00195CEC 54 84 07 FE */ clrlwi r4, r4, 0x1f /* 80198D90 00195CF0 68 84 00 01 */ xori r4, r4, 1 /* 80198D94 00195CF4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 80198D98 00195CF8 98 1A 04 00 */ stb r0, 0x400(r26) /* 80198D9C 00195CFC 80 9B 00 04 */ lwz r4, 4(r27) /* 80198DA0 00195D00 88 1A 04 00 */ lbz r0, 0x400(r26) /* 80198DA4 00195D04 50 80 1E F6 */ rlwimi r0, r4, 3, 0x1b, 0x1b /* 80198DA8 00195D08 98 1A 04 00 */ stb r0, 0x400(r26) /* 80198DAC 00195D0C BA 41 00 88 */ lmw r18, 0x88(r1) /* 80198DB0 00195D10 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80198DB4 00195D14 7C 08 03 A6 */ mtlr r0 /* 80198DB8 00195D18 38 21 00 C0 */ addi r1, r1, 0xc0 /* 80198DBC 00195D1C 4E 80 00 20 */ blr .global __sinit_CFlameThrower_cpp __sinit_CFlameThrower_cpp: /* 80198DC0 00195D20 C0 42 A6 A4 */ lfs f2, lbl_805AC3C4@sda21(r2) /* 80198DC4 00195D24 3C 60 80 57 */ lis r3, lbl_8057200C@ha /* 80198DC8 00195D28 C0 22 A6 C0 */ lfs f1, lbl_805AC3E0@sda21(r2) /* 80198DCC 00195D2C D4 43 20 0C */ stfsu f2, lbl_8057200C@l(r3) /* 80198DD0 00195D30 C0 02 A6 C4 */ lfs f0, lbl_805AC3E4@sda21(r2) /* 80198DD4 00195D34 D0 23 00 04 */ stfs f1, 4(r3) /* 80198DD8 00195D38 D0 03 00 08 */ stfs f0, 8(r3) /* 80198DDC 00195D3C 4E 80 00 20 */ blr .global UpdateFx__15CBeamProjectileFRC12CTransform4ffR13CStateManager UpdateFx__15CBeamProjectileFRC12CTransform4ffR13CStateManager: /* 80198DE0 00195D40 94 21 F6 10 */ stwu r1, -0x9f0(r1) /* 80198DE4 00195D44 7C 08 02 A6 */ mflr r0 /* 80198DE8 00195D48 90 01 09 F4 */ stw r0, 0x9f4(r1) /* 80198DEC 00195D4C DB E1 09 E0 */ stfd f31, 0x9e0(r1) /* 80198DF0 00195D50 F3 E1 09 E8 */ psq_st f31, -1560(r1), 0, qr0 /* 80198DF4 00195D54 93 E1 09 DC */ stw r31, 0x9dc(r1) /* 80198DF8 00195D58 93 C1 09 D8 */ stw r30, 0x9d8(r1) /* 80198DFC 00195D5C 93 A1 09 D4 */ stw r29, 0x9d4(r1) /* 80198E00 00195D60 93 81 09 D0 */ stw r28, 0x9d0(r1) /* 80198E04 00195D64 88 03 00 30 */ lbz r0, 0x30(r3) /* 80198E08 00195D68 FF E0 08 90 */ fmr f31, f1 /* 80198E0C 00195D6C 7C 7C 1B 78 */ mr r28, r3 /* 80198E10 00195D70 7C 9D 23 78 */ mr r29, r4 /* 80198E14 00195D74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80198E18 00195D78 7C BE 2B 78 */ mr r30, r5 /* 80198E1C 00195D7C 41 82 04 7C */ beq lbl_80199298 /* 80198E20 00195D80 38 61 01 68 */ addi r3, r1, 0x168 /* 80198E24 00195D84 48 17 9E 1D */ bl GetRotation__12CTransform4fCFv /* 80198E28 00195D88 38 7C 00 34 */ addi r3, r28, 0x34 /* 80198E2C 00195D8C 38 81 01 68 */ addi r4, r1, 0x168 /* 80198E30 00195D90 48 17 9D 11 */ bl __as__12CTransform4fFRC12CTransform4f /* 80198E34 00195D94 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80198E38 00195D98 38 60 00 01 */ li r3, 1 /* 80198E3C 00195D9C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80198E40 00195DA0 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80198E44 00195DA4 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80198E48 00195DA8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80198E4C 00195DAC 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80198E50 00195DB0 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80198E54 00195DB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80198E58 00195DB8 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80198E5C 00195DBC 88 1C 04 64 */ lbz r0, 0x464(r28) /* 80198E60 00195DC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80198E64 00195DC4 41 82 00 28 */ beq lbl_80198E8C /* 80198E68 00195DC8 C0 3C 03 08 */ lfs f1, 0x308(r28) /* 80198E6C 00195DCC C0 1C 03 00 */ lfs f0, 0x300(r28) /* 80198E70 00195DD0 EC 01 07 FA */ fmadds f0, f1, f31, f0 /* 80198E74 00195DD4 D0 1C 03 00 */ stfs f0, 0x300(r28) /* 80198E78 00195DD8 C0 1C 03 00 */ lfs f0, 0x300(r28) /* 80198E7C 00195DDC C0 3C 02 EC */ lfs f1, 0x2ec(r28) /* 80198E80 00195DE0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80198E84 00195DE4 40 81 00 08 */ ble lbl_80198E8C /* 80198E88 00195DE8 D0 3C 03 00 */ stfs f1, 0x300(r28) lbl_80198E8C: /* 80198E8C 00195DEC C0 1C 03 00 */ lfs f0, 0x300(r28) /* 80198E90 00195DF0 38 00 00 00 */ li r0, 0 /* 80198E94 00195DF4 38 61 00 64 */ addi r3, r1, 0x64 /* 80198E98 00195DF8 38 81 00 58 */ addi r4, r1, 0x58 /* 80198E9C 00195DFC D0 1C 03 04 */ stfs f0, 0x304(r28) /* 80198EA0 00195E00 90 1C 02 F8 */ stw r0, 0x2f8(r28) /* 80198EA4 00195E04 C0 7D 00 2C */ lfs f3, 0x2c(r29) /* 80198EA8 00195E08 C0 5D 00 1C */ lfs f2, 0x1c(r29) /* 80198EAC 00195E0C C0 3D 00 0C */ lfs f1, 0xc(r29) /* 80198EB0 00195E10 C0 BD 00 24 */ lfs f5, 0x24(r29) /* 80198EB4 00195E14 C0 9D 00 14 */ lfs f4, 0x14(r29) /* 80198EB8 00195E18 C0 1D 00 04 */ lfs f0, 4(r29) /* 80198EBC 00195E1C D0 21 00 7C */ stfs f1, 0x7c(r1) /* 80198EC0 00195E20 D0 41 00 80 */ stfs f2, 0x80(r1) /* 80198EC4 00195E24 D0 61 00 84 */ stfs f3, 0x84(r1) /* 80198EC8 00195E28 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80198ECC 00195E2C D0 81 00 5C */ stfs f4, 0x5c(r1) /* 80198ED0 00195E30 D0 A1 00 60 */ stfs f5, 0x60(r1) /* 80198ED4 00195E34 48 17 B9 7D */ bl AsNormalized__9CVector3fCFv /* 80198ED8 00195E38 C0 FC 03 00 */ lfs f7, 0x300(r28) /* 80198EDC 00195E3C 7F 83 E3 78 */ mr r3, r28 /* 80198EE0 00195E40 C0 41 00 68 */ lfs f2, 0x68(r1) /* 80198EE4 00195E44 38 81 00 70 */ addi r4, r1, 0x70 /* 80198EE8 00195E48 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 80198EEC 00195E4C C0 01 00 64 */ lfs f0, 0x64(r1) /* 80198EF0 00195E50 EC A7 00 B2 */ fmuls f5, f7, f2 /* 80198EF4 00195E54 C0 DD 00 1C */ lfs f6, 0x1c(r29) /* 80198EF8 00195E58 EC 67 00 72 */ fmuls f3, f7, f1 /* 80198EFC 00195E5C C0 9D 00 2C */ lfs f4, 0x2c(r29) /* 80198F00 00195E60 EC 27 00 32 */ fmuls f1, f7, f0 /* 80198F04 00195E64 C0 5D 00 0C */ lfs f2, 0xc(r29) /* 80198F08 00195E68 EC A6 28 2A */ fadds f5, f6, f5 /* 80198F0C 00195E6C C0 01 00 7C */ lfs f0, 0x7c(r1) /* 80198F10 00195E70 EC 64 18 2A */ fadds f3, f4, f3 /* 80198F14 00195E74 EC 22 08 2A */ fadds f1, f2, f1 /* 80198F18 00195E78 D0 A1 00 74 */ stfs f5, 0x74(r1) /* 80198F1C 00195E7C D0 21 00 70 */ stfs f1, 0x70(r1) /* 80198F20 00195E80 D0 61 00 78 */ stfs f3, 0x78(r1) /* 80198F24 00195E84 D0 1C 02 98 */ stfs f0, 0x298(r28) /* 80198F28 00195E88 C0 01 00 80 */ lfs f0, 0x80(r1) /* 80198F2C 00195E8C D0 1C 02 9C */ stfs f0, 0x29c(r28) /* 80198F30 00195E90 C0 01 00 84 */ lfs f0, 0x84(r1) /* 80198F34 00195E94 D0 1C 02 A0 */ stfs f0, 0x2a0(r28) /* 80198F38 00195E98 4B EB 9F 55 */ bl SetTranslation__6CActorFRC9CVector3f /* 80198F3C 00195E9C C0 7C 02 F4 */ lfs f3, 0x2f4(r28) /* 80198F40 00195EA0 38 61 00 F0 */ addi r3, r1, 0xf0 /* 80198F44 00195EA4 C0 22 A6 C8 */ lfs f1, lbl_805AC3E8@sda21(r2) /* 80198F48 00195EA8 38 81 00 4C */ addi r4, r1, 0x4c /* 80198F4C 00195EAC FC 40 18 50 */ fneg f2, f3 /* 80198F50 00195EB0 C0 1C 03 04 */ lfs f0, 0x304(r28) /* 80198F54 00195EB4 D0 21 01 24 */ stfs f1, 0x124(r1) /* 80198F58 00195EB8 38 A1 00 40 */ addi r5, r1, 0x40 /* 80198F5C 00195EBC D0 41 01 20 */ stfs f2, 0x120(r1) /* 80198F60 00195EC0 80 01 01 24 */ lwz r0, 0x124(r1) /* 80198F64 00195EC4 80 C1 01 20 */ lwz r6, 0x120(r1) /* 80198F68 00195EC8 D0 41 01 28 */ stfs f2, 0x128(r1) /* 80198F6C 00195ECC 90 DC 03 54 */ stw r6, 0x354(r28) /* 80198F70 00195ED0 80 C1 01 28 */ lwz r6, 0x128(r1) /* 80198F74 00195ED4 D0 61 01 2C */ stfs f3, 0x12c(r1) /* 80198F78 00195ED8 90 1C 03 58 */ stw r0, 0x358(r28) /* 80198F7C 00195EDC 80 01 01 2C */ lwz r0, 0x12c(r1) /* 80198F80 00195EE0 D0 01 01 30 */ stfs f0, 0x130(r1) /* 80198F84 00195EE4 90 DC 03 5C */ stw r6, 0x35c(r28) /* 80198F88 00195EE8 80 C1 01 30 */ lwz r6, 0x130(r1) /* 80198F8C 00195EEC D0 61 01 34 */ stfs f3, 0x134(r1) /* 80198F90 00195EF0 90 1C 03 60 */ stw r0, 0x360(r28) /* 80198F94 00195EF4 80 01 01 34 */ lwz r0, 0x134(r1) /* 80198F98 00195EF8 90 DC 03 64 */ stw r6, 0x364(r28) /* 80198F9C 00195EFC 90 1C 03 68 */ stw r0, 0x368(r28) /* 80198FA0 00195F00 C0 5C 02 F4 */ lfs f2, 0x2f4(r28) /* 80198FA4 00195F04 C0 1C 03 00 */ lfs f0, 0x300(r28) /* 80198FA8 00195F08 FC 60 10 50 */ fneg f3, f2 /* 80198FAC 00195F0C D0 41 00 40 */ stfs f2, 0x40(r1) /* 80198FB0 00195F10 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80198FB4 00195F14 D0 41 00 48 */ stfs f2, 0x48(r1) /* 80198FB8 00195F18 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 80198FBC 00195F1C D0 21 00 50 */ stfs f1, 0x50(r1) /* 80198FC0 00195F20 D0 61 00 54 */ stfs f3, 0x54(r1) /* 80198FC4 00195F24 48 19 F5 45 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 80198FC8 00195F28 7C 64 1B 78 */ mr r4, r3 /* 80198FCC 00195F2C 7F A5 EB 78 */ mr r5, r29 /* 80198FD0 00195F30 38 61 01 08 */ addi r3, r1, 0x108 /* 80198FD4 00195F34 48 19 E9 29 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 80198FD8 00195F38 80 C1 01 08 */ lwz r6, 0x108(r1) /* 80198FDC 00195F3C 38 00 00 00 */ li r0, 0 /* 80198FE0 00195F40 80 A1 01 0C */ lwz r5, 0x10c(r1) /* 80198FE4 00195F44 38 60 00 00 */ li r3, 0 /* 80198FE8 00195F48 38 80 00 01 */ li r4, 1 /* 80198FEC 00195F4C 90 DC 03 6C */ stw r6, 0x36c(r28) /* 80198FF0 00195F50 90 BC 03 70 */ stw r5, 0x370(r28) /* 80198FF4 00195F54 80 A1 01 10 */ lwz r5, 0x110(r1) /* 80198FF8 00195F58 90 BC 03 74 */ stw r5, 0x374(r28) /* 80198FFC 00195F5C 80 C1 01 14 */ lwz r6, 0x114(r1) /* 80199000 00195F60 80 A1 01 18 */ lwz r5, 0x118(r1) /* 80199004 00195F64 90 DC 03 78 */ stw r6, 0x378(r28) /* 80199008 00195F68 90 BC 03 7C */ stw r5, 0x37c(r28) /* 8019900C 00195F6C 80 A1 01 1C */ lwz r5, 0x11c(r1) /* 80199010 00195F70 90 BC 03 80 */ stw r5, 0x380(r28) /* 80199014 00195F74 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 80199018 00195F78 80 AD 8F D0 */ lwz r5, lbl_805A7B90@sda21(r13) /* 8019901C 00195F7C B0 C1 00 1C */ sth r6, 0x1c(r1) /* 80199020 00195F80 90 01 01 C8 */ stw r0, 0x1c8(r1) /* 80199024 00195F84 48 1F 0E D1 */ bl __shl2i /* 80199028 00195F88 39 20 FF FF */ li r9, -1 /* 8019902C 00195F8C 39 00 00 00 */ li r8, 0 /* 80199030 00195F90 38 00 00 02 */ li r0, 2 /* 80199034 00195F94 90 81 00 E4 */ stw r4, 0xe4(r1) /* 80199038 00195F98 7F 87 E3 78 */ mr r7, r28 /* 8019903C 00195F9C 38 81 01 C8 */ addi r4, r1, 0x1c8 /* 80199040 00195FA0 90 61 00 E0 */ stw r3, 0xe0(r1) /* 80199044 00195FA4 7F C3 F3 78 */ mr r3, r30 /* 80199048 00195FA8 38 BC 03 6C */ addi r5, r28, 0x36c /* 8019904C 00195FAC 38 C1 00 D8 */ addi r6, r1, 0xd8 /* 80199050 00195FB0 91 21 00 DC */ stw r9, 0xdc(r1) /* 80199054 00195FB4 91 01 00 D8 */ stw r8, 0xd8(r1) /* 80199058 00195FB8 90 01 00 E8 */ stw r0, 0xe8(r1) /* 8019905C 00195FBC 4B EB 36 C5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 80199060 00195FC0 C0 3C 03 00 */ lfs f1, 0x300(r28) /* 80199064 00195FC4 7F 84 E3 78 */ mr r4, r28 /* 80199068 00195FC8 7F C9 F3 78 */ mr r9, r30 /* 8019906C 00195FCC 38 61 01 38 */ addi r3, r1, 0x138 /* 80199070 00195FD0 38 A1 00 1C */ addi r5, r1, 0x1c /* 80199074 00195FD4 38 C1 00 7C */ addi r6, r1, 0x7c /* 80199078 00195FD8 38 E1 00 70 */ addi r7, r1, 0x70 /* 8019907C 00195FDC 39 01 01 C8 */ addi r8, r1, 0x1c8 /* 80199080 00195FE0 4B E9 F6 41 */ bl "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" /* 80199084 00195FE4 C0 E1 01 38 */ lfs f7, 0x138(r1) /* 80199088 00195FE8 7F C3 F3 78 */ mr r3, r30 /* 8019908C 00195FEC C0 C1 01 3C */ lfs f6, 0x13c(r1) /* 80199090 00195FF0 3B E1 01 9C */ addi r31, r1, 0x19c /* 80199094 00195FF4 C0 A1 01 40 */ lfs f5, 0x140(r1) /* 80199098 00195FF8 38 81 00 18 */ addi r4, r1, 0x18 /* 8019909C 00195FFC C0 81 01 44 */ lfs f4, 0x144(r1) /* 801990A0 00196000 C0 61 01 48 */ lfs f3, 0x148(r1) /* 801990A4 00196004 C0 41 01 4C */ lfs f2, 0x14c(r1) /* 801990A8 00196008 C0 21 01 50 */ lfs f1, 0x150(r1) /* 801990AC 0019600C C0 01 01 54 */ lfs f0, 0x154(r1) /* 801990B0 00196010 88 E1 01 58 */ lbz r7, 0x158(r1) /* 801990B4 00196014 80 A1 01 60 */ lwz r5, 0x160(r1) /* 801990B8 00196018 80 C1 01 64 */ lwz r6, 0x164(r1) /* 801990BC 0019601C A0 01 00 1C */ lhz r0, 0x1c(r1) /* 801990C0 00196020 D0 E1 01 98 */ stfs f7, 0x198(r1) /* 801990C4 00196024 D0 C1 01 9C */ stfs f6, 0x19c(r1) /* 801990C8 00196028 D0 A1 01 A0 */ stfs f5, 0x1a0(r1) /* 801990CC 0019602C D0 81 01 A4 */ stfs f4, 0x1a4(r1) /* 801990D0 00196030 D0 61 01 A8 */ stfs f3, 0x1a8(r1) /* 801990D4 00196034 D0 41 01 AC */ stfs f2, 0x1ac(r1) /* 801990D8 00196038 D0 21 01 B0 */ stfs f1, 0x1b0(r1) /* 801990DC 0019603C D0 01 01 B4 */ stfs f0, 0x1b4(r1) /* 801990E0 00196040 98 E1 01 B8 */ stb r7, 0x1b8(r1) /* 801990E4 00196044 90 C1 01 C4 */ stw r6, 0x1c4(r1) /* 801990E8 00196048 90 A1 01 C0 */ stw r5, 0x1c0(r1) /* 801990EC 0019604C B0 01 00 18 */ sth r0, 0x18(r1) /* 801990F0 00196050 4B EB 34 85 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801990F4 00196054 7C 64 1B 78 */ mr r4, r3 /* 801990F8 00196058 38 61 00 20 */ addi r3, r1, 0x20 /* 801990FC 0019605C 4B F1 6B 95 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80199100 00196060 80 03 00 04 */ lwz r0, 4(r3) /* 80199104 00196064 28 00 00 00 */ cmplwi r0, 0 /* 80199108 00196068 41 82 00 50 */ beq lbl_80199158 /* 8019910C 0019606C A0 01 00 1C */ lhz r0, 0x1c(r1) /* 80199110 00196070 7F 83 E3 78 */ mr r3, r28 /* 80199114 00196074 38 A1 01 98 */ addi r5, r1, 0x198 /* 80199118 00196078 38 C1 00 14 */ addi r6, r1, 0x14 /* 8019911C 0019607C B0 01 00 14 */ sth r0, 0x14(r1) /* 80199120 00196080 38 80 00 01 */ li r4, 1 /* 80199124 00196084 48 00 01 9D */ bl SetCollisionResultData__15CBeamProjectileFQ215CBeamProjectile11EDamageTypeRC14CRayCastResult /* 80199128 00196088 88 1C 04 64 */ lbz r0, 0x464(r28) /* 8019912C 0019608C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80199130 00196090 41 82 01 08 */ beq lbl_80199238 /* 80199134 00196094 FC 20 F8 90 */ fmr f1, f31 /* 80199138 00196098 38 61 00 BC */ addi r3, r1, 0xbc /* 8019913C 0019609C 38 9C 01 2C */ addi r4, r28, 0x12c /* 80199140 001960A0 4B F2 A3 09 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 80199144 001960A4 7F 83 E3 78 */ mr r3, r28 /* 80199148 001960A8 7F C4 F3 78 */ mr r4, r30 /* 8019914C 001960AC 38 A1 00 BC */ addi r5, r1, 0xbc /* 80199150 001960B0 4B E9 F1 25 */ bl ApplyDamageToActors__15CGameProjectileFR13CStateManager /* 80199154 001960B4 48 00 00 E4 */ b lbl_80199238 lbl_80199158: /* 80199158 001960B8 88 01 01 B8 */ lbz r0, 0x1b8(r1) /* 8019915C 001960BC 28 00 00 00 */ cmplwi r0, 0 /* 80199160 001960C0 41 82 00 90 */ beq lbl_801991F0 /* 80199164 001960C4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80199168 001960C8 7F 83 E3 78 */ mr r3, r28 /* 8019916C 001960CC 38 A1 01 98 */ addi r5, r1, 0x198 /* 80199170 001960D0 38 C1 00 10 */ addi r6, r1, 0x10 /* 80199174 001960D4 B0 01 00 10 */ sth r0, 0x10(r1) /* 80199178 001960D8 38 80 00 02 */ li r4, 2 /* 8019917C 001960DC 48 00 01 45 */ bl SetCollisionResultData__15CBeamProjectileFQ215CBeamProjectile11EDamageTypeRC14CRayCastResult /* 80199180 001960E0 88 1C 04 64 */ lbz r0, 0x464(r28) /* 80199184 001960E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80199188 001960E8 41 82 00 B0 */ beq lbl_80199238 /* 8019918C 001960EC 80 1C 00 F8 */ lwz r0, 0xf8(r28) /* 80199190 001960F0 FC 20 F8 90 */ fmr f1, f31 /* 80199194 001960F4 80 BC 00 FC */ lwz r5, 0xfc(r28) /* 80199198 001960F8 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8019919C 001960FC 38 9C 01 2C */ addi r4, r28, 0x12c /* 801991A0 00196100 90 A1 00 8C */ stw r5, 0x8c(r1) /* 801991A4 00196104 90 01 00 88 */ stw r0, 0x88(r1) /* 801991A8 00196108 80 1C 01 00 */ lwz r0, 0x100(r28) /* 801991AC 0019610C 80 BC 01 04 */ lwz r5, 0x104(r28) /* 801991B0 00196110 90 A1 00 94 */ stw r5, 0x94(r1) /* 801991B4 00196114 90 01 00 90 */ stw r0, 0x90(r1) /* 801991B8 00196118 80 1C 01 08 */ lwz r0, 0x108(r28) /* 801991BC 0019611C 90 01 00 98 */ stw r0, 0x98(r1) /* 801991C0 00196120 4B F2 A2 89 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 801991C4 00196124 A0 1C 00 EC */ lhz r0, 0xec(r28) /* 801991C8 00196128 7F C3 F3 78 */ mr r3, r30 /* 801991CC 0019612C 7F 85 E3 78 */ mr r5, r28 /* 801991D0 00196130 7F E6 FB 78 */ mr r6, r31 /* 801991D4 00196134 B0 01 00 08 */ sth r0, 8(r1) /* 801991D8 00196138 38 81 00 0C */ addi r4, r1, 0xc /* 801991DC 0019613C 38 E1 00 A0 */ addi r7, r1, 0xa0 /* 801991E0 00196140 39 01 00 88 */ addi r8, r1, 0x88 /* 801991E4 00196144 B0 01 00 0C */ sth r0, 0xc(r1) /* 801991E8 00196148 4B EA FA C5 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter /* 801991EC 0019614C 48 00 00 4C */ b lbl_80199238 lbl_801991F0: /* 801991F0 00196150 C0 3C 02 F4 */ lfs f1, 0x2f4(r28) /* 801991F4 00196154 7F A4 EB 78 */ mr r4, r29 /* 801991F8 00196158 C0 1C 03 04 */ lfs f0, 0x304(r28) /* 801991FC 0019615C 38 61 00 34 */ addi r3, r1, 0x34 /* 80199200 00196160 38 A1 00 28 */ addi r5, r1, 0x28 /* 80199204 00196164 D0 21 00 28 */ stfs f1, 0x28(r1) /* 80199208 00196168 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8019920C 0019616C D0 21 00 30 */ stfs f1, 0x30(r1) /* 80199210 00196170 48 17 98 D9 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80199214 00196174 C0 01 00 34 */ lfs f0, 0x34(r1) /* 80199218 00196178 7F 83 E3 78 */ mr r3, r28 /* 8019921C 0019617C 38 9C 03 18 */ addi r4, r28, 0x318 /* 80199220 00196180 D0 1C 03 18 */ stfs f0, 0x318(r28) /* 80199224 00196184 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80199228 00196188 D0 1C 03 1C */ stfs f0, 0x31c(r28) /* 8019922C 0019618C C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80199230 00196190 D0 1C 03 20 */ stfs f0, 0x320(r28) /* 80199234 00196194 4B EB 9C 59 */ bl SetTranslation__6CActorFRC9CVector3f lbl_80199238: /* 80199238 00196198 7F A4 EB 78 */ mr r4, r29 /* 8019923C 0019619C 38 7C 03 24 */ addi r3, r28, 0x324 /* 80199240 001961A0 48 17 99 01 */ bl __as__12CTransform4fFRC12CTransform4f /* 80199244 001961A4 80 A1 01 C8 */ lwz r5, 0x1c8(r1) /* 80199248 001961A8 38 60 00 00 */ li r3, 0 /* 8019924C 001961AC 2C 05 00 00 */ cmpwi r5, 0 /* 80199250 001961B0 40 81 00 40 */ ble lbl_80199290 /* 80199254 001961B4 2C 05 00 08 */ cmpwi r5, 8 /* 80199258 001961B8 38 85 FF F8 */ addi r4, r5, -8 /* 8019925C 001961BC 40 81 00 20 */ ble lbl_8019927C /* 80199260 001961C0 38 04 00 07 */ addi r0, r4, 7 /* 80199264 001961C4 54 00 E8 FE */ srwi r0, r0, 3 /* 80199268 001961C8 7C 09 03 A6 */ mtctr r0 /* 8019926C 001961CC 2C 04 00 00 */ cmpwi r4, 0 /* 80199270 001961D0 40 81 00 0C */ ble lbl_8019927C lbl_80199274: /* 80199274 001961D4 38 63 00 08 */ addi r3, r3, 8 /* 80199278 001961D8 42 00 FF FC */ bdnz lbl_80199274 lbl_8019927C: /* 8019927C 001961DC 7C 03 28 50 */ subf r0, r3, r5 /* 80199280 001961E0 7C 09 03 A6 */ mtctr r0 /* 80199284 001961E4 7C 03 28 00 */ cmpw r3, r5 /* 80199288 001961E8 40 80 00 08 */ bge lbl_80199290 lbl_8019928C: /* 8019928C 001961EC 42 00 00 00 */ bdnz lbl_8019928C lbl_80199290: /* 80199290 001961F0 38 00 00 00 */ li r0, 0 /* 80199294 001961F4 90 01 01 C8 */ stw r0, 0x1c8(r1) lbl_80199298: /* 80199298 001961F8 E3 E1 09 E8 */ psq_l f31, -1560(r1), 0, qr0 /* 8019929C 001961FC 80 01 09 F4 */ lwz r0, 0x9f4(r1) /* 801992A0 00196200 CB E1 09 E0 */ lfd f31, 0x9e0(r1) /* 801992A4 00196204 83 E1 09 DC */ lwz r31, 0x9dc(r1) /* 801992A8 00196208 83 C1 09 D8 */ lwz r30, 0x9d8(r1) /* 801992AC 0019620C 83 A1 09 D4 */ lwz r29, 0x9d4(r1) /* 801992B0 00196210 83 81 09 D0 */ lwz r28, 0x9d0(r1) /* 801992B4 00196214 7C 08 03 A6 */ mtlr r0 /* 801992B8 00196218 38 21 09 F0 */ addi r1, r1, 0x9f0 /* 801992BC 0019621C 4E 80 00 20 */ blr .global SetCollisionResultData__15CBeamProjectileFQ215CBeamProjectile11EDamageTypeRC14CRayCastResult SetCollisionResultData__15CBeamProjectileFQ215CBeamProjectile11EDamageTypeRC14CRayCastResult: /* 801992C0 00196220 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801992C4 00196224 7C 08 02 A6 */ mflr r0 /* 801992C8 00196228 2C 04 00 01 */ cmpwi r4, 1 /* 801992CC 0019622C 90 01 00 14 */ stw r0, 0x14(r1) /* 801992D0 00196230 90 83 02 F8 */ stw r4, 0x2f8(r3) /* 801992D4 00196234 C0 05 00 00 */ lfs f0, 0(r5) /* 801992D8 00196238 D0 03 03 04 */ stfs f0, 0x304(r3) /* 801992DC 0019623C C0 05 00 04 */ lfs f0, 4(r5) /* 801992E0 00196240 D0 03 03 18 */ stfs f0, 0x318(r3) /* 801992E4 00196244 C0 05 00 08 */ lfs f0, 8(r5) /* 801992E8 00196248 D0 03 03 1C */ stfs f0, 0x31c(r3) /* 801992EC 0019624C C0 05 00 0C */ lfs f0, 0xc(r5) /* 801992F0 00196250 D0 03 03 20 */ stfs f0, 0x320(r3) /* 801992F4 00196254 C0 05 00 10 */ lfs f0, 0x10(r5) /* 801992F8 00196258 D0 03 03 0C */ stfs f0, 0x30c(r3) /* 801992FC 0019625C C0 05 00 14 */ lfs f0, 0x14(r5) /* 80199300 00196260 D0 03 03 10 */ stfs f0, 0x310(r3) /* 80199304 00196264 C0 05 00 18 */ lfs f0, 0x18(r5) /* 80199308 00196268 D0 03 03 14 */ stfs f0, 0x314(r3) /* 8019930C 0019626C 40 82 00 08 */ bne lbl_80199314 /* 80199310 00196270 48 00 00 08 */ b lbl_80199318 lbl_80199314: /* 80199314 00196274 38 CD A3 8C */ addi r6, r13, lbl_805A8F4C@sda21 lbl_80199318: /* 80199318 00196278 A0 06 00 00 */ lhz r0, 0(r6) /* 8019931C 0019627C 38 85 00 04 */ addi r4, r5, 4 /* 80199320 00196280 B0 03 02 FE */ sth r0, 0x2fe(r3) /* 80199324 00196284 4B EB 9B 69 */ bl SetTranslation__6CActorFRC9CVector3f /* 80199328 00196288 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019932C 0019628C 7C 08 03 A6 */ mtlr r0 /* 80199330 00196290 38 21 00 10 */ addi r1, r1, 0x10 /* 80199334 00196294 4E 80 00 20 */ blr .global ResetBeam__15CBeamProjectileFR13CStateManagerb ResetBeam__15CBeamProjectileFR13CStateManagerb: /* 80199338 00196298 88 03 04 64 */ lbz r0, 0x464(r3) /* 8019933C 0019629C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80199340 001962A0 4D 82 00 20 */ beqlr /* 80199344 001962A4 C0 02 A6 C8 */ lfs f0, lbl_805AC3E8@sda21(r2) /* 80199348 001962A8 D0 03 03 00 */ stfs f0, 0x300(r3) /* 8019934C 001962AC 4E 80 00 20 */ blr .global nullsub_142 nullsub_142: /* 80199350 001962B0 4E 80 00 20 */ blr .global Accept__15CBeamProjectileFR8IVisitor Accept__15CBeamProjectileFR8IVisitor: /* 80199354 001962B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80199358 001962B8 7C 08 02 A6 */ mflr r0 /* 8019935C 001962BC 90 01 00 14 */ stw r0, 0x14(r1) /* 80199360 001962C0 7C 60 1B 78 */ mr r0, r3 /* 80199364 001962C4 7C 83 23 78 */ mr r3, r4 /* 80199368 001962C8 81 84 00 00 */ lwz r12, 0(r4) /* 8019936C 001962CC 7C 04 03 78 */ mr r4, r0 /* 80199370 001962D0 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80199374 001962D4 7D 89 03 A6 */ mtctr r12 /* 80199378 001962D8 4E 80 04 21 */ bctrl /* 8019937C 001962DC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80199380 001962E0 7C 08 03 A6 */ mtlr r0 /* 80199384 001962E4 38 21 00 10 */ addi r1, r1, 0x10 /* 80199388 001962E8 4E 80 00 20 */ blr .global CalculateRenderBounds__15CBeamProjectileFv CalculateRenderBounds__15CBeamProjectileFv: /* 8019938C 001962EC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80199390 001962F0 7C 08 02 A6 */ mflr r0 /* 80199394 001962F4 90 01 00 34 */ stw r0, 0x34(r1) /* 80199398 001962F8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8019939C 001962FC 7C 7F 1B 78 */ mr r31, r3 /* 801993A0 00196300 38 61 00 08 */ addi r3, r1, 8 /* 801993A4 00196304 38 9F 03 54 */ addi r4, r31, 0x354 /* 801993A8 00196308 38 BF 03 24 */ addi r5, r31, 0x324 /* 801993AC 0019630C 48 19 E5 51 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 801993B0 00196310 80 61 00 08 */ lwz r3, 8(r1) /* 801993B4 00196314 80 01 00 0C */ lwz r0, 0xc(r1) /* 801993B8 00196318 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801993BC 0019631C 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 801993C0 00196320 80 01 00 10 */ lwz r0, 0x10(r1) /* 801993C4 00196324 90 1F 00 A4 */ stw r0, 0xa4(r31) /* 801993C8 00196328 80 61 00 14 */ lwz r3, 0x14(r1) /* 801993CC 0019632C 80 01 00 18 */ lwz r0, 0x18(r1) /* 801993D0 00196330 90 7F 00 A8 */ stw r3, 0xa8(r31) /* 801993D4 00196334 90 1F 00 AC */ stw r0, 0xac(r31) /* 801993D8 00196338 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801993DC 0019633C 90 1F 00 B0 */ stw r0, 0xb0(r31) /* 801993E0 00196340 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801993E4 00196344 80 01 00 34 */ lwz r0, 0x34(r1) /* 801993E8 00196348 7C 08 03 A6 */ mtlr r0 /* 801993EC 0019634C 38 21 00 30 */ addi r1, r1, 0x30 /* 801993F0 00196350 4E 80 00 20 */ blr .global GetTouchBounds__15CBeamProjectileCFv GetTouchBounds__15CBeamProjectileCFv: /* 801993F4 00196354 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801993F8 00196358 88 04 00 30 */ lbz r0, 0x30(r4) /* 801993FC 0019635C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80199400 00196360 41 82 00 10 */ beq lbl_80199410 /* 80199404 00196364 88 04 04 64 */ lbz r0, 0x464(r4) /* 80199408 00196368 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8019940C 0019636C 40 82 00 10 */ bne lbl_8019941C lbl_80199410: /* 80199410 00196370 38 00 00 00 */ li r0, 0 /* 80199414 00196374 98 03 00 18 */ stb r0, 0x18(r3) /* 80199418 00196378 48 00 00 6C */ b lbl_80199484 lbl_8019941C: /* 8019941C 0019637C C0 C4 00 60 */ lfs f6, 0x60(r4) /* 80199420 00196380 28 03 00 00 */ cmplwi r3, 0 /* 80199424 00196384 C0 E2 84 00 */ lfs f7, lbl_805AA120@sda21(r2) /* 80199428 00196388 38 00 00 01 */ li r0, 1 /* 8019942C 0019638C C0 24 00 50 */ lfs f1, 0x50(r4) /* 80199430 00196390 C0 04 00 40 */ lfs f0, 0x40(r4) /* 80199434 00196394 EC 66 38 28 */ fsubs f3, f6, f7 /* 80199438 00196398 EC 81 38 28 */ fsubs f4, f1, f7 /* 8019943C 0019639C EC A0 38 28 */ fsubs f5, f0, f7 /* 80199440 001963A0 98 03 00 18 */ stb r0, 0x18(r3) /* 80199444 001963A4 EC 47 00 2A */ fadds f2, f7, f0 /* 80199448 001963A8 EC 27 08 2A */ fadds f1, f7, f1 /* 8019944C 001963AC D0 81 00 0C */ stfs f4, 0xc(r1) /* 80199450 001963B0 EC 07 30 2A */ fadds f0, f7, f6 /* 80199454 001963B4 D0 A1 00 08 */ stfs f5, 8(r1) /* 80199458 001963B8 D0 61 00 10 */ stfs f3, 0x10(r1) /* 8019945C 001963BC D0 41 00 14 */ stfs f2, 0x14(r1) /* 80199460 001963C0 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80199464 001963C4 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80199468 001963C8 41 82 00 1C */ beq lbl_80199484 /* 8019946C 001963CC D0 A3 00 00 */ stfs f5, 0(r3) /* 80199470 001963D0 D0 83 00 04 */ stfs f4, 4(r3) /* 80199474 001963D4 D0 63 00 08 */ stfs f3, 8(r3) /* 80199478 001963D8 D0 43 00 0C */ stfs f2, 0xc(r3) /* 8019947C 001963DC D0 23 00 10 */ stfs f1, 0x10(r3) /* 80199480 001963E0 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_80199484: /* 80199484 001963E4 38 21 00 20 */ addi r1, r1, 0x20 /* 80199488 001963E8 4E 80 00 20 */ blr .global "__ct__15CBeamProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4fiff14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUib" "__ct__15CBeamProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4fiff14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUib": /* 8019948C 001963EC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 80199490 001963F0 7C 08 02 A6 */ mflr r0 /* 80199494 001963F4 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80199498 001963F8 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 8019949C 001963FC F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801994A0 00196400 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801994A4 00196404 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801994A8 00196408 BE 61 00 6C */ stmw r19, 0x6c(r1) /* 801994AC 0019640C C0 02 A6 CC */ lfs f0, lbl_805AC3EC@sda21(r2) /* 801994B0 00196410 38 00 00 00 */ li r0, 0 /* 801994B4 00196414 A2 ED A3 8C */ lhz r23, lbl_805A8F4C@sda21(r13) /* 801994B8 00196418 7C BB 2B 78 */ mr r27, r5 /* 801994BC 0019641C 98 01 00 4C */ stb r0, 0x4c(r1) /* 801994C0 00196420 7C DC 33 78 */ mr r28, r6 /* 801994C4 00196424 80 A1 00 D0 */ lwz r5, 0xd0(r1) /* 801994C8 00196428 7C FD 3B 78 */ mr r29, r7 /* 801994CC 0019642C B2 E1 00 30 */ sth r23, 0x30(r1) /* 801994D0 00196430 7D 1E 43 78 */ mr r30, r8 /* 801994D4 00196434 80 C1 00 CC */ lwz r6, 0xcc(r1) /* 801994D8 00196438 3A 61 00 38 */ addi r19, r1, 0x38 /* 801994DC 0019643C D0 01 00 50 */ stfs f0, 0x50(r1) /* 801994E0 00196440 3A 81 00 3C */ addi r20, r1, 0x3c /* 801994E4 00196444 81 81 00 C8 */ lwz r12, 0xc8(r1) /* 801994E8 00196448 3A A1 00 34 */ addi r21, r1, 0x34 /* 801994EC 0019644C D0 01 00 54 */ stfs f0, 0x54(r1) /* 801994F0 00196450 3A C1 00 30 */ addi r22, r1, 0x30 /* 801994F4 00196454 81 61 00 D4 */ lwz r11, 0xd4(r1) /* 801994F8 00196458 3A E1 00 50 */ addi r23, r1, 0x50 /* 801994FC 0019645C D0 01 00 58 */ stfs f0, 0x58(r1) /* 80199500 00196460 3B 01 00 40 */ addi r24, r1, 0x40 /* 80199504 00196464 A3 22 C5 FC */ lhz r25, lbl_805AE31C@sda21(r2) /* 80199508 00196468 FF C0 08 90 */ fmr f30, f1 /* 8019950C 0019646C A0 A5 00 00 */ lhz r5, 0(r5) /* 80199510 00196470 FF E0 10 90 */ fmr f31, f2 /* 80199514 00196474 8B E1 00 DB */ lbz r31, 0xdb(r1) /* 80199518 00196478 7C 7A 1B 78 */ mr r26, r3 /* 8019951C 0019647C B0 A1 00 34 */ sth r5, 0x34(r1) /* 80199520 00196480 7C 85 23 78 */ mr r5, r4 /* 80199524 00196484 7F 87 E3 78 */ mr r7, r28 /* 80199528 00196488 80 86 00 00 */ lwz r4, 0(r6) /* 8019952C 0019648C 7F 66 DB 78 */ mr r6, r27 /* 80199530 00196490 7F A8 EB 78 */ mr r8, r29 /* 80199534 00196494 90 81 00 3C */ stw r4, 0x3c(r1) /* 80199538 00196498 38 80 00 00 */ li r4, 0 /* 8019953C 0019649C A1 8C 00 00 */ lhz r12, 0(r12) /* 80199540 001964A0 B1 81 00 38 */ sth r12, 0x38(r1) /* 80199544 001964A4 92 61 00 08 */ stw r19, 8(r1) /* 80199548 001964A8 92 81 00 0C */ stw r20, 0xc(r1) /* 8019954C 001964AC 92 A1 00 10 */ stw r21, 0x10(r1) /* 80199550 001964B0 92 C1 00 14 */ stw r22, 0x14(r1) /* 80199554 001964B4 91 61 00 18 */ stw r11, 0x18(r1) /* 80199558 001964B8 90 01 00 1C */ stw r0, 0x1c(r1) /* 8019955C 001964BC 92 E1 00 20 */ stw r23, 0x20(r1) /* 80199560 001964C0 93 01 00 24 */ stw r24, 0x24(r1) /* 80199564 001964C4 93 21 00 28 */ stw r25, 0x28(r1) /* 80199568 001964C8 90 01 00 2C */ stw r0, 0x2c(r1) /* 8019956C 001964CC 4B EA 0F 19 */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 80199570 001964D0 88 01 00 4C */ lbz r0, 0x4c(r1) /* 80199574 001964D4 28 00 00 00 */ cmplwi r0, 0 /* 80199578 001964D8 41 82 00 1C */ beq lbl_80199594 /* 8019957C 001964DC 34 61 00 40 */ addic. r3, r1, 0x40 /* 80199580 001964E0 41 82 00 14 */ beq lbl_80199594 /* 80199584 001964E4 28 03 00 00 */ cmplwi r3, 0 /* 80199588 001964E8 41 82 00 0C */ beq lbl_80199594 /* 8019958C 001964EC 38 80 00 00 */ li r4, 0 /* 80199590 001964F0 48 1A 78 B1 */ bl __dt__6CTokenFv lbl_80199594: /* 80199594 001964F4 38 00 00 00 */ li r0, 0 /* 80199598 001964F8 3C 60 80 3E */ lis r3, lbl_803E4648@ha /* 8019959C 001964FC 98 01 00 4C */ stb r0, 0x4c(r1) /* 801995A0 00196500 38 03 46 48 */ addi r0, r3, lbl_803E4648@l /* 801995A4 00196504 7F C3 F3 78 */ mr r3, r30 /* 801995A8 00196508 90 1A 00 00 */ stw r0, 0(r26) /* 801995AC 0019650C 48 1F 38 71 */ bl abs /* 801995B0 00196510 90 7A 02 E8 */ stw r3, 0x2e8(r26) /* 801995B4 00196514 3C 60 43 30 */ lis r3, 0x4330 /* 801995B8 00196518 C8 42 A6 D0 */ lfd f2, lbl_805AC3F0@sda21(r2) /* 801995BC 0019651C 38 00 00 00 */ li r0, 0 /* 801995C0 00196520 80 9A 02 E8 */ lwz r4, 0x2e8(r26) /* 801995C4 00196524 28 1F 00 00 */ cmplwi r31, 0 /* 801995C8 00196528 90 61 00 60 */ stw r3, 0x60(r1) /* 801995CC 0019652C 6C 83 80 00 */ xoris r3, r4, 0x8000 /* 801995D0 00196530 C0 22 A6 CC */ lfs f1, lbl_805AC3EC@sda21(r2) /* 801995D4 00196534 90 61 00 64 */ stw r3, 0x64(r1) /* 801995D8 00196538 C8 01 00 60 */ lfd f0, 0x60(r1) /* 801995DC 0019653C EC 00 10 28 */ fsubs f0, f0, f2 /* 801995E0 00196540 D0 1A 02 EC */ stfs f0, 0x2ec(r26) /* 801995E4 00196544 C0 1A 02 EC */ lfs f0, 0x2ec(r26) /* 801995E8 00196548 EC 01 00 24 */ fdivs f0, f1, f0 /* 801995EC 0019654C D0 1A 02 F0 */ stfs f0, 0x2f0(r26) /* 801995F0 00196550 D3 DA 02 F4 */ stfs f30, 0x2f4(r26) /* 801995F4 00196554 90 1A 02 F8 */ stw r0, 0x2f8(r26) /* 801995F8 00196558 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801995FC 0019655C B0 1A 02 FC */ sth r0, 0x2fc(r26) /* 80199600 00196560 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80199604 00196564 B0 1A 02 FE */ sth r0, 0x2fe(r26) /* 80199608 00196568 41 82 00 0C */ beq lbl_80199614 /* 8019960C 0019656C C0 02 A6 C8 */ lfs f0, lbl_805AC3E8@sda21(r2) /* 80199610 00196570 48 00 00 08 */ b lbl_80199618 lbl_80199614: /* 80199614 00196574 C0 1A 02 EC */ lfs f0, 0x2ec(r26) lbl_80199618: /* 80199618 00196578 D0 1A 03 00 */ stfs f0, 0x300(r26) /* 8019961C 0019657C 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80199620 00196580 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 80199624 00196584 3C C0 80 5A */ lis r6, lbl_805A66F4@ha /* 80199628 00196588 C0 1A 02 EC */ lfs f0, 0x2ec(r26) /* 8019962C 0019658C 3C A0 80 5A */ lis r5, skZero3f@ha /* 80199630 00196590 38 7A 03 24 */ addi r3, r26, 0x324 /* 80199634 00196594 D0 1A 03 04 */ stfs f0, 0x304(r26) /* 80199638 00196598 D3 FA 03 08 */ stfs f31, 0x308(r26) /* 8019963C 0019659C C4 06 66 F4 */ lfsu f0, lbl_805A66F4@l(r6) /* 80199640 001965A0 D0 1A 03 0C */ stfs f0, 0x30c(r26) /* 80199644 001965A4 C0 06 00 04 */ lfs f0, 4(r6) /* 80199648 001965A8 D0 1A 03 10 */ stfs f0, 0x310(r26) /* 8019964C 001965AC C0 06 00 08 */ lfs f0, 8(r6) /* 80199650 001965B0 D0 1A 03 14 */ stfs f0, 0x314(r26) /* 80199654 001965B4 C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) /* 80199658 001965B8 D0 1A 03 18 */ stfs f0, 0x318(r26) /* 8019965C 001965BC C0 05 00 04 */ lfs f0, 4(r5) /* 80199660 001965C0 D0 1A 03 1C */ stfs f0, 0x31c(r26) /* 80199664 001965C4 C0 05 00 08 */ lfs f0, 8(r5) /* 80199668 001965C8 D0 1A 03 20 */ stfs f0, 0x320(r26) /* 8019966C 001965CC 48 17 95 09 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80199670 001965D0 3C 60 80 5A */ lis r3, lbl_805A6784@ha /* 80199674 001965D4 3C 80 80 5A */ lis r4, skZero3f@ha /* 80199678 001965D8 38 A3 67 84 */ addi r5, r3, lbl_805A6784@l /* 8019967C 001965DC 38 60 00 0A */ li r3, 0xa /* 80199680 001965E0 C0 05 00 00 */ lfs f0, 0(r5) /* 80199684 001965E4 38 00 00 02 */ li r0, 2 /* 80199688 001965E8 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 8019968C 001965EC 38 FA 03 88 */ addi r7, r26, 0x388 /* 80199690 001965F0 D0 1A 03 54 */ stfs f0, 0x354(r26) /* 80199694 001965F4 38 C0 00 00 */ li r6, 0 /* 80199698 001965F8 C0 05 00 04 */ lfs f0, 4(r5) /* 8019969C 001965FC D0 1A 03 58 */ stfs f0, 0x358(r26) /* 801996A0 00196600 C0 05 00 08 */ lfs f0, 8(r5) /* 801996A4 00196604 D0 1A 03 5C */ stfs f0, 0x35c(r26) /* 801996A8 00196608 C0 05 00 0C */ lfs f0, 0xc(r5) /* 801996AC 0019660C D0 1A 03 60 */ stfs f0, 0x360(r26) /* 801996B0 00196610 C0 05 00 10 */ lfs f0, 0x10(r5) /* 801996B4 00196614 D0 1A 03 64 */ stfs f0, 0x364(r26) /* 801996B8 00196618 C0 05 00 14 */ lfs f0, 0x14(r5) /* 801996BC 0019661C D0 1A 03 68 */ stfs f0, 0x368(r26) /* 801996C0 00196620 C0 05 00 00 */ lfs f0, 0(r5) /* 801996C4 00196624 D0 1A 03 6C */ stfs f0, 0x36c(r26) /* 801996C8 00196628 C0 05 00 04 */ lfs f0, 4(r5) /* 801996CC 0019662C D0 1A 03 70 */ stfs f0, 0x370(r26) /* 801996D0 00196630 C0 05 00 08 */ lfs f0, 8(r5) /* 801996D4 00196634 D0 1A 03 74 */ stfs f0, 0x374(r26) /* 801996D8 00196638 C0 05 00 0C */ lfs f0, 0xc(r5) /* 801996DC 0019663C D0 1A 03 78 */ stfs f0, 0x378(r26) /* 801996E0 00196640 C0 05 00 10 */ lfs f0, 0x10(r5) /* 801996E4 00196644 D0 1A 03 7C */ stfs f0, 0x37c(r26) /* 801996E8 00196648 C0 05 00 14 */ lfs f0, 0x14(r5) /* 801996EC 0019664C D0 1A 03 80 */ stfs f0, 0x380(r26) /* 801996F0 00196650 90 7A 03 84 */ stw r3, 0x384(r26) /* 801996F4 00196654 7C 09 03 A6 */ mtctr r0 lbl_801996F8: /* 801996F8 00196658 28 07 00 00 */ cmplwi r7, 0 /* 801996FC 0019665C 41 82 00 1C */ beq lbl_80199718 /* 80199700 00196660 C0 04 00 00 */ lfs f0, 0(r4) /* 80199704 00196664 D0 07 00 00 */ stfs f0, 0(r7) /* 80199708 00196668 C0 04 00 04 */ lfs f0, 4(r4) /* 8019970C 0019666C D0 07 00 04 */ stfs f0, 4(r7) /* 80199710 00196670 C0 04 00 08 */ lfs f0, 8(r4) /* 80199714 00196674 D0 07 00 08 */ stfs f0, 8(r7) lbl_80199718: /* 80199718 00196678 34 E7 00 0C */ addic. r7, r7, 0xc /* 8019971C 0019667C 41 82 00 1C */ beq lbl_80199738 /* 80199720 00196680 C0 04 00 00 */ lfs f0, 0(r4) /* 80199724 00196684 D0 07 00 00 */ stfs f0, 0(r7) /* 80199728 00196688 C0 04 00 04 */ lfs f0, 4(r4) /* 8019972C 0019668C D0 07 00 04 */ stfs f0, 4(r7) /* 80199730 00196690 C0 04 00 08 */ lfs f0, 8(r4) /* 80199734 00196694 D0 07 00 08 */ stfs f0, 8(r7) lbl_80199738: /* 80199738 00196698 34 E7 00 0C */ addic. r7, r7, 0xc /* 8019973C 0019669C 41 82 00 1C */ beq lbl_80199758 /* 80199740 001966A0 C0 04 00 00 */ lfs f0, 0(r4) /* 80199744 001966A4 D0 07 00 00 */ stfs f0, 0(r7) /* 80199748 001966A8 C0 04 00 04 */ lfs f0, 4(r4) /* 8019974C 001966AC D0 07 00 04 */ stfs f0, 4(r7) /* 80199750 001966B0 C0 04 00 08 */ lfs f0, 8(r4) /* 80199754 001966B4 D0 07 00 08 */ stfs f0, 8(r7) lbl_80199758: /* 80199758 001966B8 34 E7 00 0C */ addic. r7, r7, 0xc /* 8019975C 001966BC 41 82 00 1C */ beq lbl_80199778 /* 80199760 001966C0 C0 04 00 00 */ lfs f0, 0(r4) /* 80199764 001966C4 D0 07 00 00 */ stfs f0, 0(r7) /* 80199768 001966C8 C0 04 00 04 */ lfs f0, 4(r4) /* 8019976C 001966CC D0 07 00 04 */ stfs f0, 4(r7) /* 80199770 001966D0 C0 04 00 08 */ lfs f0, 8(r4) /* 80199774 001966D4 D0 07 00 08 */ stfs f0, 8(r7) lbl_80199778: /* 80199778 001966D8 34 E7 00 0C */ addic. r7, r7, 0xc /* 8019977C 001966DC 41 82 00 1C */ beq lbl_80199798 /* 80199780 001966E0 C0 04 00 00 */ lfs f0, 0(r4) /* 80199784 001966E4 D0 07 00 00 */ stfs f0, 0(r7) /* 80199788 001966E8 C0 04 00 04 */ lfs f0, 4(r4) /* 8019978C 001966EC D0 07 00 04 */ stfs f0, 4(r7) /* 80199790 001966F0 C0 04 00 08 */ lfs f0, 8(r4) /* 80199794 001966F4 D0 07 00 08 */ stfs f0, 8(r7) lbl_80199798: /* 80199798 001966F8 38 C6 00 04 */ addi r6, r6, 4 /* 8019979C 001966FC 38 E7 00 0C */ addi r7, r7, 0xc /* 801997A0 00196700 42 00 FF 58 */ bdnz lbl_801996F8 /* 801997A4 00196704 3C 80 80 5A */ lis r4, skZero3f@ha /* 801997A8 00196708 38 60 00 08 */ li r3, 8 /* 801997AC 0019670C 38 00 00 02 */ li r0, 2 /* 801997B0 00196710 90 7A 04 00 */ stw r3, 0x400(r26) /* 801997B4 00196714 38 64 66 A0 */ addi r3, r4, skZero3f@l /* 801997B8 00196718 38 BA 04 04 */ addi r5, r26, 0x404 /* 801997BC 0019671C 38 80 00 00 */ li r4, 0 /* 801997C0 00196720 7C 09 03 A6 */ mtctr r0 lbl_801997C4: /* 801997C4 00196724 28 05 00 00 */ cmplwi r5, 0 /* 801997C8 00196728 41 82 00 1C */ beq lbl_801997E4 /* 801997CC 0019672C C0 03 00 00 */ lfs f0, 0(r3) /* 801997D0 00196730 D0 05 00 00 */ stfs f0, 0(r5) /* 801997D4 00196734 C0 03 00 04 */ lfs f0, 4(r3) /* 801997D8 00196738 D0 05 00 04 */ stfs f0, 4(r5) /* 801997DC 0019673C C0 03 00 08 */ lfs f0, 8(r3) /* 801997E0 00196740 D0 05 00 08 */ stfs f0, 8(r5) lbl_801997E4: /* 801997E4 00196744 34 A5 00 0C */ addic. r5, r5, 0xc /* 801997E8 00196748 41 82 00 1C */ beq lbl_80199804 /* 801997EC 0019674C C0 03 00 00 */ lfs f0, 0(r3) /* 801997F0 00196750 D0 05 00 00 */ stfs f0, 0(r5) /* 801997F4 00196754 C0 03 00 04 */ lfs f0, 4(r3) /* 801997F8 00196758 D0 05 00 04 */ stfs f0, 4(r5) /* 801997FC 0019675C C0 03 00 08 */ lfs f0, 8(r3) /* 80199800 00196760 D0 05 00 08 */ stfs f0, 8(r5) lbl_80199804: /* 80199804 00196764 34 A5 00 0C */ addic. r5, r5, 0xc /* 80199808 00196768 41 82 00 1C */ beq lbl_80199824 /* 8019980C 0019676C C0 03 00 00 */ lfs f0, 0(r3) /* 80199810 00196770 D0 05 00 00 */ stfs f0, 0(r5) /* 80199814 00196774 C0 03 00 04 */ lfs f0, 4(r3) /* 80199818 00196778 D0 05 00 04 */ stfs f0, 4(r5) /* 8019981C 0019677C C0 03 00 08 */ lfs f0, 8(r3) /* 80199820 00196780 D0 05 00 08 */ stfs f0, 8(r5) lbl_80199824: /* 80199824 00196784 34 A5 00 0C */ addic. r5, r5, 0xc /* 80199828 00196788 41 82 00 1C */ beq lbl_80199844 /* 8019982C 0019678C C0 03 00 00 */ lfs f0, 0(r3) /* 80199830 00196790 D0 05 00 00 */ stfs f0, 0(r5) /* 80199834 00196794 C0 03 00 04 */ lfs f0, 4(r3) /* 80199838 00196798 D0 05 00 04 */ stfs f0, 4(r5) /* 8019983C 0019679C C0 03 00 08 */ lfs f0, 8(r3) /* 80199840 001967A0 D0 05 00 08 */ stfs f0, 8(r5) lbl_80199844: /* 80199844 001967A4 38 84 00 03 */ addi r4, r4, 3 /* 80199848 001967A8 38 A5 00 0C */ addi r5, r5, 0xc /* 8019984C 001967AC 42 00 FF 78 */ bdnz lbl_801997C4 /* 80199850 001967B0 88 1A 04 64 */ lbz r0, 0x464(r26) /* 80199854 001967B4 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 /* 80199858 001967B8 38 80 00 00 */ li r4, 0 /* 8019985C 001967BC 7F 43 D3 78 */ mr r3, r26 /* 80199860 001967C0 98 1A 04 64 */ stb r0, 0x464(r26) /* 80199864 001967C4 88 1A 04 64 */ lbz r0, 0x464(r26) /* 80199868 001967C8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8019986C 001967CC 98 1A 04 64 */ stb r0, 0x464(r26) /* 80199870 001967D0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 80199874 001967D4 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 80199878 001967D8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 8019987C 001967DC CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 80199880 001967E0 BA 61 00 6C */ lmw r19, 0x6c(r1) /* 80199884 001967E4 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80199888 001967E8 7C 08 03 A6 */ mtlr r0 /* 8019988C 001967EC 38 21 00 C0 */ addi r1, r1, 0xc0 /* 80199890 001967F0 4E 80 00 20 */ blr .global RenderCleanup__14CFluidPlaneCPUCFv RenderCleanup__14CFluidPlaneCPUCFv: /* 80199894 001967F4 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 80199898 001967F8 7C 08 02 A6 */ mflr r0 /* 8019989C 001967FC 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801998A0 00196800 88 02 98 E8 */ lbz r0, lbl_805AB608@sda21(r2) /* 801998A4 00196804 28 00 00 00 */ cmplwi r0, 0 /* 801998A8 00196808 41 82 01 B0 */ beq lbl_80199A58 /* 801998AC 0019680C 38 60 00 00 */ li r3, 0 /* 801998B0 00196810 48 1E 56 15 */ bl LCQueueWait /* 801998B4 00196814 38 60 00 00 */ li r3, 0 /* 801998B8 00196818 38 80 00 00 */ li r4, 0 /* 801998BC 0019681C 38 A0 00 04 */ li r5, 4 /* 801998C0 00196820 38 C0 00 3C */ li r6, 0x3c /* 801998C4 00196824 38 E0 00 00 */ li r7, 0 /* 801998C8 00196828 39 00 00 7D */ li r8, 0x7d /* 801998CC 0019682C 48 16 EE 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 801998D0 00196830 38 60 00 01 */ li r3, 1 /* 801998D4 00196834 38 80 00 00 */ li r4, 0 /* 801998D8 00196838 38 A0 00 05 */ li r5, 5 /* 801998DC 0019683C 38 C0 00 3C */ li r6, 0x3c /* 801998E0 00196840 38 E0 00 00 */ li r7, 0 /* 801998E4 00196844 39 00 00 7D */ li r8, 0x7d /* 801998E8 00196848 48 16 ED E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 801998EC 0019684C 38 60 00 02 */ li r3, 2 /* 801998F0 00196850 38 80 00 00 */ li r4, 0 /* 801998F4 00196854 38 A0 00 06 */ li r5, 6 /* 801998F8 00196858 38 C0 00 3C */ li r6, 0x3c /* 801998FC 0019685C 38 E0 00 00 */ li r7, 0 /* 80199900 00196860 39 00 00 7D */ li r8, 0x7d /* 80199904 00196864 48 16 ED C9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80199908 00196868 38 60 00 03 */ li r3, 3 /* 8019990C 0019686C 38 80 00 00 */ li r4, 0 /* 80199910 00196870 38 A0 00 07 */ li r5, 7 /* 80199914 00196874 38 C0 00 3C */ li r6, 0x3c /* 80199918 00196878 38 E0 00 00 */ li r7, 0 /* 8019991C 0019687C 39 00 00 7D */ li r8, 0x7d /* 80199920 00196880 48 16 ED AD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80199924 00196884 38 60 00 04 */ li r3, 4 /* 80199928 00196888 38 80 00 00 */ li r4, 0 /* 8019992C 0019688C 38 A0 00 08 */ li r5, 8 /* 80199930 00196890 38 C0 00 3C */ li r6, 0x3c /* 80199934 00196894 38 E0 00 00 */ li r7, 0 /* 80199938 00196898 39 00 00 7D */ li r8, 0x7d /* 8019993C 0019689C 48 16 ED 91 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80199940 001968A0 38 60 00 05 */ li r3, 5 /* 80199944 001968A4 38 80 00 00 */ li r4, 0 /* 80199948 001968A8 38 A0 00 09 */ li r5, 9 /* 8019994C 001968AC 38 C0 00 3C */ li r6, 0x3c /* 80199950 001968B0 38 E0 00 00 */ li r7, 0 /* 80199954 001968B4 39 00 00 7D */ li r8, 0x7d /* 80199958 001968B8 48 16 ED 75 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019995C 001968BC 38 60 00 06 */ li r3, 6 /* 80199960 001968C0 38 80 00 00 */ li r4, 0 /* 80199964 001968C4 38 A0 00 0A */ li r5, 0xa /* 80199968 001968C8 38 C0 00 3C */ li r6, 0x3c /* 8019996C 001968CC 38 E0 00 00 */ li r7, 0 /* 80199970 001968D0 39 00 00 7D */ li r8, 0x7d /* 80199974 001968D4 48 16 ED 59 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80199978 001968D8 38 60 00 03 */ li r3, 3 /* 8019997C 001968DC 48 16 ED C9 */ bl SetTevDirect__3CGXF13_GXTevStageID /* 80199980 001968E0 38 60 00 06 */ li r3, 6 /* 80199984 001968E4 48 16 ED C1 */ bl SetTevDirect__3CGXF13_GXTevStageID /* 80199988 001968E8 38 60 00 00 */ li r3, 0 /* 8019998C 001968EC 48 16 ED 05 */ bl SetNumIndStages__3CGXFUc /* 80199990 001968F0 48 16 E4 ED */ bl SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv /* 80199994 001968F4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha /* 80199998 001968F8 38 61 00 08 */ addi r3, r1, 8 /* 8019999C 001968FC 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l /* 801999A0 00196900 48 17 92 A1 */ bl GetRotation__12CTransform4fCFv /* 801999A4 00196904 38 61 00 38 */ addi r3, r1, 0x38 /* 801999A8 00196908 38 81 00 08 */ addi r4, r1, 8 /* 801999AC 0019690C 48 17 92 F1 */ bl GetQuickInverse__12CTransform4fCFv /* 801999B0 00196910 38 61 00 68 */ addi r3, r1, 0x68 /* 801999B4 00196914 38 81 00 38 */ addi r4, r1, 0x38 /* 801999B8 00196918 48 17 91 BD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801999BC 0019691C C1 61 00 68 */ lfs f11, 0x68(r1) /* 801999C0 00196920 38 61 00 98 */ addi r3, r1, 0x98 /* 801999C4 00196924 C1 41 00 6C */ lfs f10, 0x6c(r1) /* 801999C8 00196928 38 80 00 00 */ li r4, 0 /* 801999CC 0019692C C1 21 00 70 */ lfs f9, 0x70(r1) /* 801999D0 00196930 C1 01 00 74 */ lfs f8, 0x74(r1) /* 801999D4 00196934 C0 E1 00 78 */ lfs f7, 0x78(r1) /* 801999D8 00196938 C0 C1 00 7C */ lfs f6, 0x7c(r1) /* 801999DC 0019693C C0 A1 00 80 */ lfs f5, 0x80(r1) /* 801999E0 00196940 C0 81 00 84 */ lfs f4, 0x84(r1) /* 801999E4 00196944 C0 61 00 88 */ lfs f3, 0x88(r1) /* 801999E8 00196948 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 801999EC 0019694C C0 21 00 90 */ lfs f1, 0x90(r1) /* 801999F0 00196950 C0 01 00 94 */ lfs f0, 0x94(r1) /* 801999F4 00196954 D1 61 00 98 */ stfs f11, 0x98(r1) /* 801999F8 00196958 D1 41 00 9C */ stfs f10, 0x9c(r1) /* 801999FC 0019695C D1 21 00 A0 */ stfs f9, 0xa0(r1) /* 80199A00 00196960 D1 01 00 A4 */ stfs f8, 0xa4(r1) /* 80199A04 00196964 D0 E1 00 A8 */ stfs f7, 0xa8(r1) /* 80199A08 00196968 D0 C1 00 AC */ stfs f6, 0xac(r1) /* 80199A0C 0019696C D0 A1 00 B0 */ stfs f5, 0xb0(r1) /* 80199A10 00196970 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 80199A14 00196974 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 80199A18 00196978 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 80199A1C 0019697C D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 80199A20 00196980 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 80199A24 00196984 48 1E 29 E5 */ bl GXLoadNrmMtxImm /* 80199A28 00196988 38 60 00 01 */ li r3, 1 /* 80199A2C 0019698C 38 80 00 00 */ li r4, 0 /* 80199A30 00196990 38 A0 00 00 */ li r5, 0 /* 80199A34 00196994 38 C0 00 00 */ li r6, 0 /* 80199A38 00196998 38 E0 00 00 */ li r7, 0 /* 80199A3C 0019699C 39 00 00 02 */ li r8, 2 /* 80199A40 001969A0 39 20 00 01 */ li r9, 1 /* 80199A44 001969A4 48 16 F2 89 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 80199A48 001969A8 38 60 00 01 */ li r3, 1 /* 80199A4C 001969AC 48 16 F4 05 */ bl SetNumChans__3CGXFUc /* 80199A50 001969B0 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) /* 80199A54 001969B4 48 17 2E 7D */ bl SetLightState__9CGraphicsFUc lbl_80199A58: /* 80199A58 001969B8 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 80199A5C 001969BC 7C 08 03 A6 */ mtlr r0 /* 80199A60 001969C0 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80199A64 001969C4 4E 80 00 20 */ blr .global "Render__14CFluidPlaneCPUCFRC13CStateManagerRC6CAABoxRC12CTransform4fRC12CTransform4fbRC14CFrustumPlanesRCQ24rstl33optional_object<14CRippleManager>9TUniqueIdPCbiiRC9CVector3f" "Render__14CFluidPlaneCPUCFRC13CStateManagerRC6CAABoxRC12CTransform4fRC12CTransform4fbRC14CFrustumPlanesRCQ24rstl33optional_object<14CRippleManager>9TUniqueIdPCbiiRC9CVector3f": /* 80199A68 001969C8 94 21 FD 70 */ stwu r1, -0x290(r1) /* 80199A6C 001969CC 7C 08 02 A6 */ mflr r0 /* 80199A70 001969D0 90 01 02 94 */ stw r0, 0x294(r1) /* 80199A74 001969D4 DB E1 02 80 */ stfd f31, 0x280(r1) /* 80199A78 001969D8 F3 E1 02 88 */ psq_st f31, 648(r1), 0, qr0 /* 80199A7C 001969DC DB C1 02 70 */ stfd f30, 0x270(r1) /* 80199A80 001969E0 F3 C1 02 78 */ psq_st f30, 632(r1), 0, qr0 /* 80199A84 001969E4 DB A1 02 60 */ stfd f29, 0x260(r1) /* 80199A88 001969E8 F3 A1 02 68 */ psq_st f29, 616(r1), 0, qr0 /* 80199A8C 001969EC DB 81 02 50 */ stfd f28, 0x250(r1) /* 80199A90 001969F0 F3 81 02 58 */ psq_st f28, 600(r1), 0, qr0 /* 80199A94 001969F4 DB 61 02 40 */ stfd f27, 0x240(r1) /* 80199A98 001969F8 F3 61 02 48 */ psq_st f27, 584(r1), 0, qr0 /* 80199A9C 001969FC DB 41 02 30 */ stfd f26, 0x230(r1) /* 80199AA0 00196A00 F3 41 02 38 */ psq_st f26, 568(r1), 0, qr0 /* 80199AA4 00196A04 DB 21 02 20 */ stfd f25, 0x220(r1) /* 80199AA8 00196A08 F3 21 02 28 */ psq_st f25, 552(r1), 0, qr0 /* 80199AAC 00196A0C DB 01 02 10 */ stfd f24, 0x210(r1) /* 80199AB0 00196A10 F3 01 02 18 */ psq_st f24, 536(r1), 0, qr0 /* 80199AB4 00196A14 DA E1 02 00 */ stfd f23, 0x200(r1) /* 80199AB8 00196A18 F2 E1 02 08 */ psq_st f23, 520(r1), 0, qr0 /* 80199ABC 00196A1C DA C1 01 F0 */ stfd f22, 0x1f0(r1) /* 80199AC0 00196A20 F2 C1 01 F8 */ psq_st f22, 504(r1), 0, qr0 /* 80199AC4 00196A24 DA A1 01 E0 */ stfd f21, 0x1e0(r1) /* 80199AC8 00196A28 F2 A1 01 E8 */ psq_st f21, 488(r1), 0, qr0 /* 80199ACC 00196A2C DA 81 01 D0 */ stfd f20, 0x1d0(r1) /* 80199AD0 00196A30 F2 81 01 D8 */ psq_st f20, 472(r1), 0, qr0 /* 80199AD4 00196A34 DA 61 01 C0 */ stfd f19, 0x1c0(r1) /* 80199AD8 00196A38 F2 61 01 C8 */ psq_st f19, 456(r1), 0, qr0 /* 80199ADC 00196A3C DA 41 01 B0 */ stfd f18, 0x1b0(r1) /* 80199AE0 00196A40 F2 41 01 B8 */ psq_st f18, 440(r1), 0, qr0 /* 80199AE4 00196A44 DA 21 01 A0 */ stfd f17, 0x1a0(r1) /* 80199AE8 00196A48 F2 21 01 A8 */ psq_st f17, 424(r1), 0, qr0 /* 80199AEC 00196A4C BD C1 01 58 */ stmw r14, 0x158(r1) /* 80199AF0 00196A50 88 02 98 E8 */ lbz r0, lbl_805AB608@sda21(r2) /* 80199AF4 00196A54 FE 20 08 90 */ fmr f17, f1 /* 80199AF8 00196A58 81 61 02 98 */ lwz r11, 0x298(r1) /* 80199AFC 00196A5C 7C 6F 1B 78 */ mr r15, r3 /* 80199B00 00196A60 28 00 00 00 */ cmplwi r0, 0 /* 80199B04 00196A64 82 61 02 A0 */ lwz r19, 0x2a0(r1) /* 80199B08 00196A68 82 81 02 A4 */ lwz r20, 0x2a4(r1) /* 80199B0C 00196A6C 82 A1 02 A8 */ lwz r21, 0x2a8(r1) /* 80199B10 00196A70 7C 98 23 78 */ mr r24, r4 /* 80199B14 00196A74 7C AE 2B 78 */ mr r14, r5 /* 80199B18 00196A78 7C D0 33 78 */ mr r16, r6 /* 80199B1C 00196A7C 7C F7 3B 78 */ mr r23, r7 /* 80199B20 00196A80 7D 16 43 78 */ mr r22, r8 /* 80199B24 00196A84 7D 31 4B 78 */ mr r17, r9 /* 80199B28 00196A88 7D 52 53 78 */ mr r18, r10 /* 80199B2C 00196A8C 41 82 06 F0 */ beq lbl_8019A21C /* 80199B30 00196A90 A0 0B 00 00 */ lhz r0, 0(r11) /* 80199B34 00196A94 7F 03 C3 78 */ mr r3, r24 /* 80199B38 00196A98 38 81 00 2C */ addi r4, r1, 0x2c /* 80199B3C 00196A9C B0 01 00 2C */ sth r0, 0x2c(r1) /* 80199B40 00196AA0 4B EB 2A 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80199B44 00196AA4 7C 64 1B 78 */ mr r4, r3 /* 80199B48 00196AA8 38 61 00 38 */ addi r3, r1, 0x38 /* 80199B4C 00196AAC 4B F0 CD 15 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 80199B50 00196AB0 83 43 00 04 */ lwz r26, 4(r3) /* 80199B54 00196AB4 FC 20 88 90 */ fmr f1, f17 /* 80199B58 00196AB8 7D E3 7B 78 */ mr r3, r15 /* 80199B5C 00196ABC 7F 04 C3 78 */ mr r4, r24 /* 80199B60 00196AC0 7E 05 83 78 */ mr r5, r16 /* 80199B64 00196AC4 7E E6 BB 78 */ mr r6, r23 /* 80199B68 00196AC8 7D C7 73 78 */ mr r7, r14 /* 80199B6C 00196ACC 7F 48 D3 78 */ mr r8, r26 /* 80199B70 00196AD0 48 00 08 C1 */ bl RenderSetup__14CFluidPlaneCPUCFRC13CStateManagerfRC12CTransform4fRC12CTransform4fRC6CAABoxP12CScriptWater /* 80199B74 00196AD4 80 78 08 7C */ lwz r3, 0x87c(r24) /* 80199B78 00196AD8 C3 63 01 1C */ lfs f27, 0x11c(r3) /* 80199B7C 00196ADC 48 16 E3 01 */ bl SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv /* 80199B80 00196AE0 88 0F 00 BC */ lbz r0, 0xbc(r15) /* 80199B84 00196AE4 28 00 00 00 */ cmplwi r0, 0 /* 80199B88 00196AE8 41 82 00 18 */ beq lbl_80199BA0 /* 80199B8C 00196AEC 88 02 98 EA */ lbz r0, lbl_805AB60A@sda21(r2) /* 80199B90 00196AF0 28 00 00 00 */ cmplwi r0, 0 /* 80199B94 00196AF4 41 82 00 0C */ beq lbl_80199BA0 /* 80199B98 00196AF8 3B 20 00 03 */ li r25, 3 /* 80199B9C 00196AFC 48 00 00 18 */ b lbl_80199BB4 lbl_80199BA0: /* 80199BA0 00196B00 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 80199BA4 00196B04 40 82 00 0C */ bne lbl_80199BB0 /* 80199BA8 00196B08 3B 20 00 02 */ li r25, 2 /* 80199BAC 00196B0C 48 00 00 08 */ b lbl_80199BB4 lbl_80199BB0: /* 80199BB0 00196B10 3B 20 00 01 */ li r25, 1 lbl_80199BB4: /* 80199BB4 00196B14 38 60 00 09 */ li r3, 9 /* 80199BB8 00196B18 38 80 00 01 */ li r4, 1 /* 80199BBC 00196B1C 48 16 E2 E9 */ bl SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType /* 80199BC0 00196B20 38 60 00 0B */ li r3, 0xb /* 80199BC4 00196B24 38 80 00 01 */ li r4, 1 /* 80199BC8 00196B28 48 16 E2 DD */ bl SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType /* 80199BCC 00196B2C 2C 19 00 03 */ cmpwi r25, 3 /* 80199BD0 00196B30 41 82 00 14 */ beq lbl_80199BE4 /* 80199BD4 00196B34 40 80 00 5C */ bge lbl_80199C30 /* 80199BD8 00196B38 2C 19 00 02 */ cmpwi r25, 2 /* 80199BDC 00196B3C 40 80 00 30 */ bge lbl_80199C0C /* 80199BE0 00196B40 48 00 00 50 */ b lbl_80199C30 lbl_80199BE4: /* 80199BE4 00196B44 38 60 00 00 */ li r3, 0 /* 80199BE8 00196B48 38 80 00 19 */ li r4, 0x19 /* 80199BEC 00196B4C 38 A0 00 01 */ li r5, 1 /* 80199BF0 00196B50 38 C0 00 01 */ li r6, 1 /* 80199BF4 00196B54 38 E0 00 06 */ li r7, 6 /* 80199BF8 00196B58 48 1D DB 95 */ bl GXSetVtxAttrFmt /* 80199BFC 00196B5C 38 60 00 19 */ li r3, 0x19 /* 80199C00 00196B60 38 80 00 01 */ li r4, 1 /* 80199C04 00196B64 48 1D D3 15 */ bl GXSetVtxDesc /* 80199C08 00196B68 48 00 00 28 */ b lbl_80199C30 lbl_80199C0C: /* 80199C0C 00196B6C 38 60 00 00 */ li r3, 0 /* 80199C10 00196B70 38 80 00 0A */ li r4, 0xa /* 80199C14 00196B74 38 A0 00 00 */ li r5, 0 /* 80199C18 00196B78 38 C0 00 01 */ li r6, 1 /* 80199C1C 00196B7C 38 E0 00 06 */ li r7, 6 /* 80199C20 00196B80 48 1D DB 6D */ bl GXSetVtxAttrFmt /* 80199C24 00196B84 38 60 00 0A */ li r3, 0xa /* 80199C28 00196B88 38 80 00 01 */ li r4, 1 /* 80199C2C 00196B8C 48 16 E2 79 */ bl SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType lbl_80199C30: /* 80199C30 00196B90 80 CF 01 04 */ lwz r6, 0x104(r15) /* 80199C34 00196B94 38 00 00 2A */ li r0, 0x2a /* 80199C38 00196B98 C3 4F 01 08 */ lfs f26, 0x108(r15) /* 80199C3C 00196B9C 38 61 00 34 */ addi r3, r1, 0x34 /* 80199C40 00196BA0 7C 80 33 D6 */ divw r4, r0, r6 /* 80199C44 00196BA4 C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 80199C48 00196BA8 80 0D 8F E8 */ lwz r0, lbl_805A7BA8@sda21(r13) /* 80199C4C 00196BAC EE 40 D0 24 */ fdivs f18, f0, f26 /* 80199C50 00196BB0 90 CD A5 74 */ stw r6, lbl_805A9134@sda21(r13) /* 80199C54 00196BB4 7C 00 20 00 */ cmpw r0, r4 /* 80199C58 00196BB8 90 81 00 34 */ stw r4, 0x34(r1) /* 80199C5C 00196BBC 40 80 00 08 */ bge lbl_80199C64 /* 80199C60 00196BC0 38 6D 8F E8 */ addi r3, r13, lbl_805A7BA8@sda21 lbl_80199C64: /* 80199C64 00196BC4 80 A3 00 00 */ lwz r5, 0(r3) /* 80199C68 00196BC8 7D C4 73 78 */ mr r4, r14 /* 80199C6C 00196BCC 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80199C70 00196BD0 7C 05 31 D6 */ mullw r0, r5, r6 /* 80199C74 00196BD4 90 AD A5 70 */ stw r5, lbl_805A9130@sda21(r13) /* 80199C78 00196BD8 90 0D A5 78 */ stw r0, lbl_805A9138@sda21(r13) /* 80199C7C 00196BDC 48 19 D9 91 */ bl GetCenterPoint__6CAABoxCFv /* 80199C80 00196BE0 C2 21 00 AC */ lfs f17, 0xac(r1) /* 80199C84 00196BE4 7D C4 73 78 */ mr r4, r14 /* 80199C88 00196BE8 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80199C8C 00196BEC 48 19 D9 81 */ bl GetCenterPoint__6CAABoxCFv /* 80199C90 00196BF0 FC 40 88 90 */ fmr f2, f17 /* 80199C94 00196BF4 C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 80199C98 00196BF8 38 61 00 48 */ addi r3, r1, 0x48 /* 80199C9C 00196BFC 48 17 A5 65 */ bl __ct__9CVector2fFff /* 80199CA0 00196C00 80 8D A5 78 */ lwz r4, lbl_805A9138@sda21(r13) /* 80199CA4 00196C04 3C 00 43 30 */ lis r0, 0x4330 /* 80199CA8 00196C08 90 01 01 38 */ stw r0, 0x138(r1) /* 80199CAC 00196C0C 38 61 00 40 */ addi r3, r1, 0x40 /* 80199CB0 00196C10 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 80199CB4 00196C14 C8 22 A6 F0 */ lfd f1, lbl_805AC410@sda21(r2) /* 80199CB8 00196C18 90 81 01 3C */ stw r4, 0x13c(r1) /* 80199CBC 00196C1C C3 2E 00 00 */ lfs f25, 0(r14) /* 80199CC0 00196C20 C8 01 01 38 */ lfd f0, 0x138(r1) /* 80199CC4 00196C24 90 81 01 44 */ stw r4, 0x144(r1) /* 80199CC8 00196C28 EC 40 08 28 */ fsubs f2, f0, f1 /* 80199CCC 00196C2C C3 0E 00 04 */ lfs f24, 4(r14) /* 80199CD0 00196C30 90 01 01 40 */ stw r0, 0x140(r1) /* 80199CD4 00196C34 C2 EE 00 08 */ lfs f23, 8(r14) /* 80199CD8 00196C38 C8 01 01 40 */ lfd f0, 0x140(r1) /* 80199CDC 00196C3C EC 5A 00 B2 */ fmuls f2, f26, f2 /* 80199CE0 00196C40 C2 CE 00 0C */ lfs f22, 0xc(r14) /* 80199CE4 00196C44 EC 00 08 28 */ fsubs f0, f0, f1 /* 80199CE8 00196C48 C2 AE 00 10 */ lfs f21, 0x10(r14) /* 80199CEC 00196C4C C2 8E 00 14 */ lfs f20, 0x14(r14) /* 80199CF0 00196C50 EC 3A 00 32 */ fmuls f1, f26, f0 /* 80199CF4 00196C54 48 17 A5 0D */ bl __ct__9CVector2fFff /* 80199CF8 00196C58 80 0F 00 44 */ lwz r0, 0x44(r15) /* 80199CFC 00196C5C 39 C0 00 00 */ li r14, 0 /* 80199D00 00196C60 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13) /* 80199D04 00196C64 3A C0 00 00 */ li r22, 0 /* 80199D08 00196C68 2C 00 00 02 */ cmpwi r0, 2 /* 80199D0C 00196C6C 3A E0 00 00 */ li r23, 0 /* 80199D10 00196C70 C2 23 00 34 */ lfs f17, 0x34(r3) /* 80199D14 00196C74 41 82 00 30 */ beq lbl_80199D44 /* 80199D18 00196C78 40 80 00 10 */ bge lbl_80199D28 /* 80199D1C 00196C7C 2C 00 00 01 */ cmpwi r0, 1 /* 80199D20 00196C80 40 80 00 14 */ bge lbl_80199D34 /* 80199D24 00196C84 48 00 00 2C */ b lbl_80199D50 lbl_80199D28: /* 80199D28 00196C88 2C 00 00 05 */ cmpwi r0, 5 /* 80199D2C 00196C8C 41 82 00 18 */ beq lbl_80199D44 /* 80199D30 00196C90 48 00 00 20 */ b lbl_80199D50 lbl_80199D34: /* 80199D34 00196C94 C2 23 00 38 */ lfs f17, 0x38(r3) /* 80199D38 00196C98 39 C0 00 01 */ li r14, 1 /* 80199D3C 00196C9C 3A E0 00 01 */ li r23, 1 /* 80199D40 00196CA0 48 00 00 10 */ b lbl_80199D50 lbl_80199D44: /* 80199D44 00196CA4 C2 23 00 3C */ lfs f17, 0x3c(r3) /* 80199D48 00196CA8 3A E0 00 08 */ li r23, 8 /* 80199D4C 00196CAC 3A C0 00 08 */ li r22, 8 lbl_80199D50: /* 80199D50 00196CB0 28 1A 00 00 */ cmplwi r26, 0 /* 80199D54 00196CB4 41 82 00 B4 */ beq lbl_80199E08 /* 80199D58 00196CB8 80 78 08 70 */ lwz r3, 0x870(r24) /* 80199D5C 00196CBC 7F 04 C3 78 */ mr r4, r24 /* 80199D60 00196CC0 4B E7 1D B9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 80199D64 00196CC4 C3 83 00 60 */ lfs f28, 0x60(r3) /* 80199D68 00196CC8 C3 A3 00 50 */ lfs f29, 0x50(r3) /* 80199D6C 00196CCC C3 C3 00 40 */ lfs f30, 0x40(r3) /* 80199D70 00196CD0 38 61 00 50 */ addi r3, r1, 0x50 /* 80199D74 00196CD4 C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 80199D78 00196CD8 C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 80199D7C 00196CDC D0 21 00 50 */ stfs f1, 0x50(r1) /* 80199D80 00196CE0 D0 21 00 54 */ stfs f1, 0x54(r1) /* 80199D84 00196CE4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80199D88 00196CE8 48 17 AB 71 */ bl Normalize__9CVector3fFv /* 80199D8C 00196CEC 7F 44 D3 78 */ mr r4, r26 /* 80199D90 00196CF0 38 61 00 CC */ addi r3, r1, 0xcc /* 80199D94 00196CF4 4B ED C9 39 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv /* 80199D98 00196CF8 C0 61 00 54 */ lfs f3, 0x54(r1) /* 80199D9C 00196CFC 38 00 00 00 */ li r0, 0 /* 80199DA0 00196D00 C0 81 00 50 */ lfs f4, 0x50(r1) /* 80199DA4 00196D04 EC 23 07 72 */ fmuls f1, f3, f29 /* 80199DA8 00196D08 C0 41 00 58 */ lfs f2, 0x58(r1) /* 80199DAC 00196D0C C0 A1 00 E0 */ lfs f5, 0xe0(r1) /* 80199DB0 00196D10 C0 02 A6 E8 */ lfs f0, lbl_805AC408@sda21(r2) /* 80199DB4 00196D14 EC 24 0F BA */ fmadds f1, f4, f30, f1 /* 80199DB8 00196D18 D0 81 00 98 */ stfs f4, 0x98(r1) /* 80199DBC 00196D1C D0 61 00 9C */ stfs f3, 0x9c(r1) /* 80199DC0 00196D20 EC 22 0F 3A */ fmadds f1, f2, f28, f1 /* 80199DC4 00196D24 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 80199DC8 00196D28 EC 21 28 28 */ fsubs f1, f1, f5 /* 80199DCC 00196D2C D0 A1 00 A4 */ stfs f5, 0xa4(r1) /* 80199DD0 00196D30 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80199DD4 00196D34 4C 41 13 82 */ cror 2, 1, 2 /* 80199DD8 00196D38 41 82 00 10 */ beq lbl_80199DE8 /* 80199DDC 00196D3C C0 02 A6 E0 */ lfs f0, lbl_805AC400@sda21(r2) /* 80199DE0 00196D40 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80199DE4 00196D44 40 80 00 08 */ bge lbl_80199DEC lbl_80199DE8: /* 80199DE8 00196D48 38 00 00 01 */ li r0, 1 lbl_80199DEC: /* 80199DEC 00196D4C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80199DF0 00196D50 41 82 00 0C */ beq lbl_80199DFC /* 80199DF4 00196D54 C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 80199DF8 00196D58 48 00 00 0C */ b lbl_80199E04 lbl_80199DFC: /* 80199DFC 00196D5C C0 02 A6 E4 */ lfs f0, lbl_805AC404@sda21(r2) /* 80199E00 00196D60 EC 00 00 72 */ fmuls f0, f0, f1 lbl_80199E04: /* 80199E04 00196D64 EE 31 00 32 */ fmuls f17, f17, f0 lbl_80199E08: /* 80199E08 00196D68 28 1A 00 00 */ cmplwi r26, 0 /* 80199E0C 00196D6C 38 60 00 00 */ li r3, 0 /* 80199E10 00196D70 41 82 00 14 */ beq lbl_80199E24 /* 80199E14 00196D74 80 1A 02 D0 */ lwz r0, 0x2d0(r26) /* 80199E18 00196D78 2C 00 00 00 */ cmpwi r0, 0 /* 80199E1C 00196D7C 41 82 00 08 */ beq lbl_80199E24 /* 80199E20 00196D80 38 60 00 01 */ li r3, 1 lbl_80199E24: /* 80199E24 00196D84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80199E28 00196D88 41 82 00 0C */ beq lbl_80199E34 /* 80199E2C 00196D8C 83 DA 02 D0 */ lwz r30, 0x2d0(r26) /* 80199E30 00196D90 48 00 00 08 */ b lbl_80199E38 lbl_80199E34: /* 80199E34 00196D94 3B C0 00 80 */ li r30, 0x80 lbl_80199E38: /* 80199E38 00196D98 28 1A 00 00 */ cmplwi r26, 0 /* 80199E3C 00196D9C 38 60 00 00 */ li r3, 0 /* 80199E40 00196DA0 41 82 00 14 */ beq lbl_80199E54 /* 80199E44 00196DA4 80 1A 02 D4 */ lwz r0, 0x2d4(r26) /* 80199E48 00196DA8 2C 00 00 00 */ cmpwi r0, 0 /* 80199E4C 00196DAC 41 82 00 08 */ beq lbl_80199E54 /* 80199E50 00196DB0 38 60 00 01 */ li r3, 1 lbl_80199E54: /* 80199E54 00196DB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80199E58 00196DB8 41 82 00 10 */ beq lbl_80199E68 /* 80199E5C 00196DBC 80 1A 02 D4 */ lwz r0, 0x2d4(r26) /* 80199E60 00196DC0 90 01 01 48 */ stw r0, 0x148(r1) /* 80199E64 00196DC4 48 00 00 0C */ b lbl_80199E70 lbl_80199E68: /* 80199E68 00196DC8 38 00 00 80 */ li r0, 0x80 /* 80199E6C 00196DCC 90 01 01 48 */ stw r0, 0x148(r1) lbl_80199E70: /* 80199E70 00196DD0 55 DB 06 3E */ clrlwi r27, r14, 0x18 /* 80199E74 00196DD4 56 DC 06 3E */ clrlwi r28, r22, 0x18 /* 80199E78 00196DD8 56 EE 06 3E */ clrlwi r14, r23, 0x18 /* 80199E7C 00196DDC 3B 00 00 00 */ li r24, 0 /* 80199E80 00196DE0 3B A0 00 00 */ li r29, 0 /* 80199E84 00196DE4 48 00 03 38 */ b lbl_8019A1BC lbl_80199E88: /* 80199E88 00196DE8 EC 15 C0 28 */ fsubs f0, f21, f24 /* 80199E8C 00196DEC 3A E0 00 00 */ li r23, 0 /* 80199E90 00196DF0 FF 80 C8 90 */ fmr f28, f25 /* 80199E94 00196DF4 3A C0 00 00 */ li r22, 0 /* 80199E98 00196DF8 EE 72 00 32 */ fmuls f19, f18, f0 /* 80199E9C 00196DFC 48 00 02 FC */ b lbl_8019A198 lbl_80199EA0: /* 80199EA0 00196E00 7F 43 D3 78 */ mr r3, r26 /* 80199EA4 00196E04 7E C4 B3 78 */ mr r4, r22 /* 80199EA8 00196E08 7F A5 EB 78 */ mr r5, r29 /* 80199EAC 00196E0C 4B F6 4D E9 */ bl GetPatchRenderFlags__12CScriptWaterCFii /* 80199EB0 00196E10 7C 7F 1B 79 */ or. r31, r3, r3 /* 80199EB4 00196E14 41 82 02 D0 */ beq lbl_8019A184 /* 80199EB8 00196E18 EC 16 E0 28 */ fsubs f0, f22, f28 /* 80199EBC 00196E1C EF F2 00 32 */ fmuls f31, f18, f0 /* 80199EC0 00196E20 F3 E1 D0 22 */ psq_st f31, 34(r1), 1, qr5 /* 80199EC4 00196E24 38 61 00 2A */ addi r3, r1, 0x2a /* 80199EC8 00196E28 80 8D A5 78 */ lwz r4, lbl_805A9138@sda21(r13) /* 80199ECC 00196E2C A8 A1 00 22 */ lha r5, 0x22(r1) /* 80199ED0 00196E30 7C 80 07 34 */ extsh r0, r4 /* 80199ED4 00196E34 B0 81 00 2A */ sth r4, 0x2a(r1) /* 80199ED8 00196E38 7C 05 00 00 */ cmpw r5, r0 /* 80199EDC 00196E3C B0 A1 00 28 */ sth r5, 0x28(r1) /* 80199EE0 00196E40 40 80 00 08 */ bge lbl_80199EE8 /* 80199EE4 00196E44 38 61 00 28 */ addi r3, r1, 0x28 lbl_80199EE8: /* 80199EE8 00196E48 A8 03 00 00 */ lha r0, 0(r3) /* 80199EEC 00196E4C B0 01 00 32 */ sth r0, 0x32(r1) /* 80199EF0 00196E50 F2 61 D0 20 */ psq_st f19, 32(r1), 1, qr5 /* 80199EF4 00196E54 38 61 00 26 */ addi r3, r1, 0x26 /* 80199EF8 00196E58 80 8D A5 78 */ lwz r4, lbl_805A9138@sda21(r13) /* 80199EFC 00196E5C A8 A1 00 20 */ lha r5, 0x20(r1) /* 80199F00 00196E60 7C 80 07 34 */ extsh r0, r4 /* 80199F04 00196E64 B0 81 00 26 */ sth r4, 0x26(r1) /* 80199F08 00196E68 7C 05 00 00 */ cmpw r5, r0 /* 80199F0C 00196E6C B0 A1 00 24 */ sth r5, 0x24(r1) /* 80199F10 00196E70 40 80 00 08 */ bge lbl_80199F18 /* 80199F14 00196E74 38 61 00 24 */ addi r3, r1, 0x24 lbl_80199F18: /* 80199F18 00196E78 A8 03 00 00 */ lha r0, 0(r3) /* 80199F1C 00196E7C B0 01 00 30 */ sth r0, 0x30(r1) /* 80199F20 00196E80 E0 01 D0 30 */ psq_l f0, 48(r1), 1, qr5 /* 80199F24 00196E84 E0 41 D0 32 */ psq_l f2, 50(r1), 1, qr5 /* 80199F28 00196E88 FC 20 C0 18 */ frsp f1, f24 /* 80199F2C 00196E8C EC DA C0 3A */ fmadds f6, f26, f0, f24 /* 80199F30 00196E90 C0 B0 00 1C */ lfs f5, 0x1c(r16) /* 80199F34 00196E94 C0 90 00 2C */ lfs f4, 0x2c(r16) /* 80199F38 00196E98 EC 5A E0 BA */ fmadds f2, f26, f2, f28 /* 80199F3C 00196E9C C0 70 00 0C */ lfs f3, 0xc(r16) /* 80199F40 00196EA0 FC 00 E0 18 */ frsp f0, f28 /* 80199F44 00196EA4 ED 06 28 2A */ fadds f8, f6, f5 /* 80199F48 00196EA8 D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 80199F4C 00196EAC EC F4 20 2A */ fadds f7, f20, f4 /* 80199F50 00196EB0 38 61 00 E4 */ addi r3, r1, 0xe4 /* 80199F54 00196EB4 EC 42 18 2A */ fadds f2, f2, f3 /* 80199F58 00196EB8 EC A1 28 2A */ fadds f5, f1, f5 /* 80199F5C 00196EBC EC 37 20 2A */ fadds f1, f23, f4 /* 80199F60 00196EC0 D0 C1 00 C4 */ stfs f6, 0xc4(r1) /* 80199F64 00196EC4 EC 00 18 2A */ fadds f0, f0, f3 /* 80199F68 00196EC8 38 81 00 8C */ addi r4, r1, 0x8c /* 80199F6C 00196ECC D2 81 00 C8 */ stfs f20, 0xc8(r1) /* 80199F70 00196ED0 38 A1 00 74 */ addi r5, r1, 0x74 /* 80199F74 00196ED4 D0 41 00 74 */ stfs f2, 0x74(r1) /* 80199F78 00196ED8 D1 01 00 78 */ stfs f8, 0x78(r1) /* 80199F7C 00196EDC D0 E1 00 7C */ stfs f7, 0x7c(r1) /* 80199F80 00196EE0 D3 81 00 80 */ stfs f28, 0x80(r1) /* 80199F84 00196EE4 D3 01 00 84 */ stfs f24, 0x84(r1) /* 80199F88 00196EE8 D2 E1 00 88 */ stfs f23, 0x88(r1) /* 80199F8C 00196EEC D0 01 00 8C */ stfs f0, 0x8c(r1) /* 80199F90 00196EF0 D0 A1 00 90 */ stfs f5, 0x90(r1) /* 80199F94 00196EF4 D0 21 00 94 */ stfs f1, 0x94(r1) /* 80199F98 00196EF8 48 19 E5 71 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 80199F9C 00196EFC 7E 23 8B 78 */ mr r3, r17 /* 80199FA0 00196F00 38 81 00 E4 */ addi r4, r1, 0xe4 /* 80199FA4 00196F04 48 1A B2 2D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox /* 80199FA8 00196F08 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80199FAC 00196F0C 41 82 01 D8 */ beq lbl_8019A184 /* 80199FB0 00196F10 C0 B0 00 2C */ lfs f5, 0x2c(r16) /* 80199FB4 00196F14 FC 20 D0 90 */ fmr f1, f26 /* 80199FB8 00196F18 C0 90 00 1C */ lfs f4, 0x1c(r16) /* 80199FBC 00196F1C FC 60 88 90 */ fmr f3, f17 /* 80199FC0 00196F20 C0 10 00 0C */ lfs f0, 0xc(r16) /* 80199FC4 00196F24 7F 28 CB 78 */ mr r8, r25 /* 80199FC8 00196F28 C0 4F 01 00 */ lfs f2, 0x100(r15) /* 80199FCC 00196F2C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 80199FD0 00196F30 7F 69 DB 78 */ mr r9, r27 /* 80199FD4 00196F34 80 01 02 9C */ lwz r0, 0x29c(r1) /* 80199FD8 00196F38 7F 8A E3 78 */ mr r10, r28 /* 80199FDC 00196F3C D0 81 00 60 */ stfs f4, 0x60(r1) /* 80199FE0 00196F40 38 61 00 FC */ addi r3, r1, 0xfc /* 80199FE4 00196F44 38 81 00 68 */ addi r4, r1, 0x68 /* 80199FE8 00196F48 38 A1 00 C0 */ addi r5, r1, 0xc0 /* 80199FEC 00196F4C D0 A1 00 64 */ stfs f5, 0x64(r1) /* 80199FF0 00196F50 38 C1 00 5C */ addi r6, r1, 0x5c /* 80199FF4 00196F54 D3 81 00 68 */ stfs f28, 0x68(r1) /* 80199FF8 00196F58 D3 01 00 6C */ stfs f24, 0x6c(r1) /* 80199FFC 00196F5C D2 E1 00 70 */ stfs f23, 0x70(r1) /* 8019A000 00196F60 91 C1 00 08 */ stw r14, 8(r1) /* 8019A004 00196F64 92 E1 00 0C */ stw r23, 0xc(r1) /* 8019A008 00196F68 92 61 00 10 */ stw r19, 0x10(r1) /* 8019A00C 00196F6C 92 81 00 14 */ stw r20, 0x14(r1) /* 8019A010 00196F70 93 01 00 18 */ stw r24, 0x18(r1) /* 8019A014 00196F74 90 01 00 1C */ stw r0, 0x1c(r1) /* 8019A018 00196F78 80 ED A5 78 */ lwz r7, lbl_805A9138@sda21(r13) /* 8019A01C 00196F7C 48 00 02 8D */ bl __ct__Q220CFluidPlaneCPURender10SPatchInfoFRC9CVector3fRC9CVector3fRC9CVector3fffb /* 8019A020 00196F80 88 A1 00 FC */ lbz r5, 0xfc(r1) /* 8019A024 00196F84 3C 60 E0 00 */ lis r3, 0xE0000000@ha /* 8019A028 00196F88 7C 97 00 D0 */ neg r4, r23 /* 8019A02C 00196F8C 38 13 FF FF */ addi r0, r19, -1 /* 8019A030 00196F90 98 A3 00 00 */ stb r5, 0xE0000000@l(r3) /* 8019A034 00196F94 7C 84 BB 78 */ or r4, r4, r23 /* 8019A038 00196F98 7C 17 00 00 */ cmpw r23, r0 /* 8019A03C 00196F9C 88 01 00 FD */ lbz r0, 0xfd(r1) /* 8019A040 00196FA0 7C 85 FE 70 */ srawi r5, r4, 0x1f /* 8019A044 00196FA4 98 03 00 01 */ stb r0, 1(r3) /* 8019A048 00196FA8 C0 01 01 00 */ lfs f0, 0x100(r1) /* 8019A04C 00196FAC D0 03 00 04 */ stfs f0, 4(r3) /* 8019A050 00196FB0 C0 01 01 04 */ lfs f0, 0x104(r1) /* 8019A054 00196FB4 D0 03 00 08 */ stfs f0, 8(r3) /* 8019A058 00196FB8 C0 01 01 08 */ lfs f0, 0x108(r1) /* 8019A05C 00196FBC D0 03 00 0C */ stfs f0, 0xc(r3) /* 8019A060 00196FC0 C0 01 01 0C */ lfs f0, 0x10c(r1) /* 8019A064 00196FC4 D0 03 00 10 */ stfs f0, 0x10(r3) /* 8019A068 00196FC8 C0 01 01 10 */ lfs f0, 0x110(r1) /* 8019A06C 00196FCC D0 03 00 14 */ stfs f0, 0x14(r3) /* 8019A070 00196FD0 C0 01 01 14 */ lfs f0, 0x114(r1) /* 8019A074 00196FD4 D0 03 00 18 */ stfs f0, 0x18(r3) /* 8019A078 00196FD8 C0 01 01 18 */ lfs f0, 0x118(r1) /* 8019A07C 00196FDC D0 03 00 1C */ stfs f0, 0x1c(r3) /* 8019A080 00196FE0 C0 01 01 1C */ lfs f0, 0x11c(r1) /* 8019A084 00196FE4 D0 03 00 20 */ stfs f0, 0x20(r3) /* 8019A088 00196FE8 C0 01 01 20 */ lfs f0, 0x120(r1) /* 8019A08C 00196FEC D0 03 00 24 */ stfs f0, 0x24(r3) /* 8019A090 00196FF0 A8 01 01 24 */ lha r0, 0x124(r1) /* 8019A094 00196FF4 B0 03 00 28 */ sth r0, 0x28(r3) /* 8019A098 00196FF8 A8 01 01 26 */ lha r0, 0x126(r1) /* 8019A09C 00196FFC B0 03 00 2A */ sth r0, 0x2a(r3) /* 8019A0A0 00197000 A8 01 01 28 */ lha r0, 0x128(r1) /* 8019A0A4 00197004 B0 03 00 2C */ sth r0, 0x2c(r3) /* 8019A0A8 00197008 A8 01 01 2A */ lha r0, 0x12a(r1) /* 8019A0AC 0019700C B0 03 00 2E */ sth r0, 0x2e(r3) /* 8019A0B0 00197010 80 01 01 2C */ lwz r0, 0x12c(r1) /* 8019A0B4 00197014 90 03 00 30 */ stw r0, 0x30(r3) /* 8019A0B8 00197018 88 01 01 30 */ lbz r0, 0x130(r1) /* 8019A0BC 0019701C 98 03 00 34 */ stb r0, 0x34(r3) /* 8019A0C0 00197020 88 01 01 31 */ lbz r0, 0x131(r1) /* 8019A0C4 00197024 98 03 00 35 */ stb r0, 0x35(r3) /* 8019A0C8 00197028 88 01 01 32 */ lbz r0, 0x132(r1) /* 8019A0CC 0019702C 98 03 00 36 */ stb r0, 0x36(r3) /* 8019A0D0 00197030 88 01 01 33 */ lbz r0, 0x133(r1) /* 8019A0D4 00197034 98 03 00 37 */ stb r0, 0x37(r3) /* 8019A0D8 00197038 C0 01 01 34 */ lfs f0, 0x134(r1) /* 8019A0DC 0019703C D0 03 00 38 */ stfs f0, 0x38(r3) /* 8019A0E0 00197040 80 8D A5 74 */ lwz r4, lbl_805A9134@sda21(r13) /* 8019A0E4 00197044 20 04 00 02 */ subfic r0, r4, 2 /* 8019A0E8 00197048 7C 07 28 38 */ and r7, r0, r5 /* 8019A0EC 0019704C 41 82 00 18 */ beq lbl_8019A104 /* 8019A0F0 00197050 88 03 00 00 */ lbz r0, 0(r3) /* 8019A0F4 00197054 39 04 FF FE */ addi r8, r4, -2 /* 8019A0F8 00197058 7C 00 07 74 */ extsb r0, r0 /* 8019A0FC 0019705C 7D 00 42 14 */ add r8, r0, r8 /* 8019A100 00197060 48 00 00 0C */ b lbl_8019A10C lbl_8019A104: /* 8019A104 00197064 89 03 00 00 */ lbz r8, 0(r3) /* 8019A108 00197068 7D 08 07 74 */ extsb r8, r8 lbl_8019A10C: /* 8019A10C 0019706C 7C 78 00 D0 */ neg r3, r24 /* 8019A110 00197070 38 14 FF FF */ addi r0, r20, -1 /* 8019A114 00197074 7C 63 C3 78 */ or r3, r3, r24 /* 8019A118 00197078 81 4D A5 74 */ lwz r10, lbl_805A9134@sda21(r13) /* 8019A11C 0019707C 7C 64 FE 70 */ srawi r4, r3, 0x1f /* 8019A120 00197080 FC 20 D8 90 */ fmr f1, f27 /* 8019A124 00197084 20 6A 00 02 */ subfic r3, r10, 2 /* 8019A128 00197088 7C 18 00 00 */ cmpw r24, r0 /* 8019A12C 0019708C 7C 69 20 38 */ and r9, r3, r4 /* 8019A130 00197090 7D E4 7B 78 */ mr r4, r15 /* 8019A134 00197094 7E A5 AB 78 */ mr r5, r21 /* 8019A138 00197098 7E 46 93 78 */ mr r6, r18 /* 8019A13C 0019709C 3C 60 E0 00 */ lis r3, 0xe000 /* 8019A140 001970A0 41 82 00 1C */ beq lbl_8019A15C /* 8019A144 001970A4 3D 60 E0 00 */ lis r11, 0xE0000001@ha /* 8019A148 001970A8 39 4A FF FE */ addi r10, r10, -2 /* 8019A14C 001970AC 88 0B 00 01 */ lbz r0, 0xE0000001@l(r11) /* 8019A150 001970B0 7C 00 07 74 */ extsb r0, r0 /* 8019A154 001970B4 7D 40 52 14 */ add r10, r0, r10 /* 8019A158 001970B8 48 00 00 10 */ b lbl_8019A168 lbl_8019A15C: /* 8019A15C 001970BC 3D 40 E0 00 */ lis r10, 0xE0000001@ha /* 8019A160 001970C0 89 4A 00 01 */ lbz r10, 0xE0000001@l(r10) /* 8019A164 001970C4 7D 4A 07 74 */ extsb r10, r10 lbl_8019A168: /* 8019A168 001970C8 48 00 1C 41 */ bl UpdatePatch__FfRQ220CFluidPlaneCPURender10SPatchInfoRC14CFluidPlaneCPURC9CVector3fRC14CRippleManageriiii /* 8019A16C 001970CC 20 1F 00 01 */ subfic r0, r31, 1 /* 8019A170 001970D0 7C 64 1B 78 */ mr r4, r3 /* 8019A174 001970D4 7C 00 00 34 */ cntlzw r0, r0 /* 8019A178 001970D8 3C 60 E0 00 */ lis r3, 0xe000 /* 8019A17C 001970DC 54 05 D9 7E */ srwi r5, r0, 5 /* 8019A180 001970E0 48 0D 1A 71 */ bl RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob lbl_8019A184: /* 8019A184 001970E4 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8019A188 001970E8 3A D6 00 01 */ addi r22, r22, 1 /* 8019A18C 001970EC 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) /* 8019A190 001970F0 EF 9C 00 2A */ fadds f28, f28, f0 /* 8019A194 001970F4 7E F7 02 14 */ add r23, r23, r0 lbl_8019A198: /* 8019A198 001970F8 FC 1C B0 40 */ fcmpo cr0, f28, f22 /* 8019A19C 001970FC 40 80 00 0C */ bge lbl_8019A1A8 /* 8019A1A0 00197100 7C 16 F0 00 */ cmpw r22, r30 /* 8019A1A4 00197104 41 80 FC FC */ blt lbl_80199EA0 lbl_8019A1A8: /* 8019A1A8 00197108 C0 01 00 44 */ lfs f0, 0x44(r1) /* 8019A1AC 0019710C 3B BD 00 01 */ addi r29, r29, 1 /* 8019A1B0 00197110 80 0D A5 70 */ lwz r0, lbl_805A9130@sda21(r13) /* 8019A1B4 00197114 EF 18 00 2A */ fadds f24, f24, f0 /* 8019A1B8 00197118 7F 18 02 14 */ add r24, r24, r0 lbl_8019A1BC: /* 8019A1BC 0019711C FC 18 A8 40 */ fcmpo cr0, f24, f21 /* 8019A1C0 00197120 40 80 00 10 */ bge lbl_8019A1D0 /* 8019A1C4 00197124 80 01 01 48 */ lwz r0, 0x148(r1) /* 8019A1C8 00197128 7C 1D 00 00 */ cmpw r29, r0 /* 8019A1CC 0019712C 41 80 FC BC */ blt lbl_80199E88 lbl_8019A1D0: /* 8019A1D0 00197130 38 60 00 00 */ li r3, 0 /* 8019A1D4 00197134 38 80 00 19 */ li r4, 0x19 /* 8019A1D8 00197138 38 A0 00 01 */ li r5, 1 /* 8019A1DC 0019713C 38 C0 00 04 */ li r6, 4 /* 8019A1E0 00197140 38 E0 00 06 */ li r7, 6 /* 8019A1E4 00197144 48 1D D5 A9 */ bl GXSetVtxAttrFmt /* 8019A1E8 00197148 38 60 00 00 */ li r3, 0 /* 8019A1EC 0019714C 38 80 00 0A */ li r4, 0xa /* 8019A1F0 00197150 38 A0 00 00 */ li r5, 0 /* 8019A1F4 00197154 38 C0 00 04 */ li r6, 4 /* 8019A1F8 00197158 38 E0 00 06 */ li r7, 6 /* 8019A1FC 0019715C 48 1D D5 91 */ bl GXSetVtxAttrFmt /* 8019A200 00197160 38 60 00 19 */ li r3, 0x19 /* 8019A204 00197164 38 80 00 00 */ li r4, 0 /* 8019A208 00197168 48 1D CD 11 */ bl GXSetVtxDesc /* 8019A20C 0019716C 38 60 00 01 */ li r3, 1 /* 8019A210 00197170 48 1D E9 49 */ bl GXSetCullMode /* 8019A214 00197174 7D E3 7B 78 */ mr r3, r15 /* 8019A218 00197178 4B FF F6 7D */ bl RenderCleanup__14CFluidPlaneCPUCFv lbl_8019A21C: /* 8019A21C 0019717C E3 E1 02 88 */ psq_l f31, 648(r1), 0, qr0 /* 8019A220 00197180 CB E1 02 80 */ lfd f31, 0x280(r1) /* 8019A224 00197184 E3 C1 02 78 */ psq_l f30, 632(r1), 0, qr0 /* 8019A228 00197188 CB C1 02 70 */ lfd f30, 0x270(r1) /* 8019A22C 0019718C E3 A1 02 68 */ psq_l f29, 616(r1), 0, qr0 /* 8019A230 00197190 CB A1 02 60 */ lfd f29, 0x260(r1) /* 8019A234 00197194 E3 81 02 58 */ psq_l f28, 600(r1), 0, qr0 /* 8019A238 00197198 CB 81 02 50 */ lfd f28, 0x250(r1) /* 8019A23C 0019719C E3 61 02 48 */ psq_l f27, 584(r1), 0, qr0 /* 8019A240 001971A0 CB 61 02 40 */ lfd f27, 0x240(r1) /* 8019A244 001971A4 E3 41 02 38 */ psq_l f26, 568(r1), 0, qr0 /* 8019A248 001971A8 CB 41 02 30 */ lfd f26, 0x230(r1) /* 8019A24C 001971AC E3 21 02 28 */ psq_l f25, 552(r1), 0, qr0 /* 8019A250 001971B0 CB 21 02 20 */ lfd f25, 0x220(r1) /* 8019A254 001971B4 E3 01 02 18 */ psq_l f24, 536(r1), 0, qr0 /* 8019A258 001971B8 CB 01 02 10 */ lfd f24, 0x210(r1) /* 8019A25C 001971BC E2 E1 02 08 */ psq_l f23, 520(r1), 0, qr0 /* 8019A260 001971C0 CA E1 02 00 */ lfd f23, 0x200(r1) /* 8019A264 001971C4 E2 C1 01 F8 */ psq_l f22, 504(r1), 0, qr0 /* 8019A268 001971C8 CA C1 01 F0 */ lfd f22, 0x1f0(r1) /* 8019A26C 001971CC E2 A1 01 E8 */ psq_l f21, 488(r1), 0, qr0 /* 8019A270 001971D0 CA A1 01 E0 */ lfd f21, 0x1e0(r1) /* 8019A274 001971D4 E2 81 01 D8 */ psq_l f20, 472(r1), 0, qr0 /* 8019A278 001971D8 CA 81 01 D0 */ lfd f20, 0x1d0(r1) /* 8019A27C 001971DC E2 61 01 C8 */ psq_l f19, 456(r1), 0, qr0 /* 8019A280 001971E0 CA 61 01 C0 */ lfd f19, 0x1c0(r1) /* 8019A284 001971E4 E2 41 01 B8 */ psq_l f18, 440(r1), 0, qr0 /* 8019A288 001971E8 CA 41 01 B0 */ lfd f18, 0x1b0(r1) /* 8019A28C 001971EC E2 21 01 A8 */ psq_l f17, 424(r1), 0, qr0 /* 8019A290 001971F0 CA 21 01 A0 */ lfd f17, 0x1a0(r1) /* 8019A294 001971F4 B9 C1 01 58 */ lmw r14, 0x158(r1) /* 8019A298 001971F8 80 01 02 94 */ lwz r0, 0x294(r1) /* 8019A29C 001971FC 7C 08 03 A6 */ mtlr r0 /* 8019A2A0 00197200 38 21 02 90 */ addi r1, r1, 0x290 /* 8019A2A4 00197204 4E 80 00 20 */ blr .global __ct__Q220CFluidPlaneCPURender10SPatchInfoFRC9CVector3fRC9CVector3fRC9CVector3fffb __ct__Q220CFluidPlaneCPURender10SPatchInfoFRC9CVector3fRC9CVector3fRC9CVector3fffb: /* 8019A2A8 00197208 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8019A2AC 0019720C C0 A2 A6 DC */ lfs f5, lbl_805AC3FC@sda21(r2) /* 8019A2B0 00197210 BF 21 00 24 */ stmw r25, 0x24(r1) /* 8019A2B4 00197214 8B A1 00 4B */ lbz r29, 0x4b(r1) /* 8019A2B8 00197218 83 C1 00 4C */ lwz r30, 0x4c(r1) /* 8019A2BC 0019721C 83 E1 00 50 */ lwz r31, 0x50(r1) /* 8019A2C0 00197220 81 81 00 54 */ lwz r12, 0x54(r1) /* 8019A2C4 00197224 81 61 00 58 */ lwz r11, 0x58(r1) /* 8019A2C8 00197228 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8019A2CC 0019722C C0 85 00 00 */ lfs f4, 0(r5) /* 8019A2D0 00197230 C0 04 00 00 */ lfs f0, 0(r4) /* 8019A2D4 00197234 EC 84 00 28 */ fsubs f4, f4, f0 /* 8019A2D8 00197238 C0 02 A6 F8 */ lfs f0, lbl_805AC418@sda21(r2) /* 8019A2DC 0019723C EC 84 08 24 */ fdivs f4, f4, f1 /* 8019A2E0 00197240 EC 85 20 2A */ fadds f4, f5, f4 /* 8019A2E4 00197244 EC C4 00 28 */ fsubs f6, f4, f0 /* 8019A2E8 00197248 F0 C1 D0 0A */ psq_st f6, 10(r1), 1, qr5 /* 8019A2EC 0019724C 3B 47 00 02 */ addi r26, r7, 2 /* 8019A2F0 00197250 7F 5C 07 34 */ extsh r28, r26 /* 8019A2F4 00197254 3B 61 00 12 */ addi r27, r1, 0x12 /* 8019A2F8 00197258 AB 21 00 0A */ lha r25, 0xa(r1) /* 8019A2FC 0019725C B3 41 00 12 */ sth r26, 0x12(r1) /* 8019A300 00197260 3B 39 00 02 */ addi r25, r25, 2 /* 8019A304 00197264 7F 3A 07 34 */ extsh r26, r25 /* 8019A308 00197268 B3 21 00 10 */ sth r25, 0x10(r1) /* 8019A30C 0019726C 7C 1A E0 00 */ cmpw r26, r28 /* 8019A310 00197270 40 80 00 08 */ bge lbl_8019A318 /* 8019A314 00197274 3B 61 00 10 */ addi r27, r1, 0x10 lbl_8019A318: /* 8019A318 00197278 AB 7B 00 00 */ lha r27, 0(r27) /* 8019A31C 0019727C C0 C2 A6 DC */ lfs f6, lbl_805AC3FC@sda21(r2) /* 8019A320 00197280 9B 63 00 00 */ stb r27, 0(r3) /* 8019A324 00197284 C0 02 A6 F8 */ lfs f0, lbl_805AC418@sda21(r2) /* 8019A328 00197288 C0 A5 00 04 */ lfs f5, 4(r5) /* 8019A32C 0019728C C0 84 00 04 */ lfs f4, 4(r4) /* 8019A330 00197290 EC 85 20 28 */ fsubs f4, f5, f4 /* 8019A334 00197294 EC 84 08 24 */ fdivs f4, f4, f1 /* 8019A338 00197298 EC 86 20 2A */ fadds f4, f6, f4 /* 8019A33C 0019729C EC E4 00 28 */ fsubs f7, f4, f0 /* 8019A340 001972A0 F0 E1 D0 08 */ psq_st f7, 8(r1), 1, qr5 /* 8019A344 001972A4 3B 87 00 02 */ addi r28, r7, 2 /* 8019A348 001972A8 7F 87 07 34 */ extsh r7, r28 /* 8019A34C 001972AC 38 A1 00 0E */ addi r5, r1, 0xe /* 8019A350 001972B0 AB 61 00 08 */ lha r27, 8(r1) /* 8019A354 001972B4 B3 81 00 0E */ sth r28, 0xe(r1) /* 8019A358 001972B8 3B 7B 00 02 */ addi r27, r27, 2 /* 8019A35C 001972BC 7F 7C 07 34 */ extsh r28, r27 /* 8019A360 001972C0 B3 61 00 0C */ sth r27, 0xc(r1) /* 8019A364 001972C4 7C 1C 38 00 */ cmpw r28, r7 /* 8019A368 001972C8 40 80 00 08 */ bge lbl_8019A370 /* 8019A36C 001972CC 38 A1 00 0C */ addi r5, r1, 0xc lbl_8019A370: /* 8019A370 001972D0 A8 A5 00 00 */ lha r5, 0(r5) /* 8019A374 001972D4 EC 02 00 B2 */ fmuls f0, f2, f2 /* 8019A378 001972D8 C0 A2 A6 FC */ lfs f5, lbl_805AC41C@sda21(r2) /* 8019A37C 001972DC 98 A3 00 01 */ stb r5, 1(r3) /* 8019A380 001972E0 EC 80 00 2A */ fadds f4, f0, f0 /* 8019A384 001972E4 C0 02 A6 E0 */ lfs f0, lbl_805AC400@sda21(r2) /* 8019A388 001972E8 C0 C4 00 00 */ lfs f6, 0(r4) /* 8019A38C 001972EC D0 C3 00 04 */ stfs f6, 4(r3) /* 8019A390 001972F0 ED 05 01 32 */ fmuls f8, f5, f4 /* 8019A394 001972F4 C0 84 00 04 */ lfs f4, 4(r4) /* 8019A398 001972F8 FC 00 40 00 */ fcmpu cr0, f0, f8 /* 8019A39C 001972FC D0 83 00 08 */ stfs f4, 8(r3) /* 8019A3A0 00197300 C0 83 00 04 */ lfs f4, 4(r3) /* 8019A3A4 00197304 C0 06 00 00 */ lfs f0, 0(r6) /* 8019A3A8 00197308 EC 04 00 2A */ fadds f0, f4, f0 /* 8019A3AC 0019730C D0 03 00 0C */ stfs f0, 0xc(r3) /* 8019A3B0 00197310 C0 83 00 08 */ lfs f4, 8(r3) /* 8019A3B4 00197314 C0 06 00 04 */ lfs f0, 4(r6) /* 8019A3B8 00197318 EC 04 00 2A */ fadds f0, f4, f0 /* 8019A3BC 0019731C D0 03 00 10 */ stfs f0, 0x10(r3) /* 8019A3C0 00197320 D0 43 00 14 */ stfs f2, 0x14(r3) /* 8019A3C4 00197324 D0 23 00 18 */ stfs f1, 0x18(r3) /* 8019A3C8 00197328 40 82 00 08 */ bne lbl_8019A3D0 /* 8019A3CC 0019732C 48 00 00 10 */ b lbl_8019A3DC lbl_8019A3D0: /* 8019A3D0 00197330 10 00 40 34 */ ps_rsqrte f0, f8 /* 8019A3D4 00197334 10 00 02 32 */ ps_mul f0, f0, f8 /* 8019A3D8 00197338 FD 00 00 90 */ fmr f8, f0 lbl_8019A3DC: /* 8019A3DC 0019733C D1 03 00 1C */ stfs f8, 0x1c(r3) /* 8019A3E0 00197340 C0 22 A6 DC */ lfs f1, lbl_805AC3FC@sda21(r2) /* 8019A3E4 00197344 C0 03 00 14 */ lfs f0, 0x14(r3) /* 8019A3E8 00197348 EC 01 00 24 */ fdivs f0, f1, f0 /* 8019A3EC 0019734C D0 03 00 20 */ stfs f0, 0x20(r3) /* 8019A3F0 00197350 C0 03 00 18 */ lfs f0, 0x18(r3) /* 8019A3F4 00197354 EC 01 00 24 */ fdivs f0, f1, f0 /* 8019A3F8 00197358 D0 03 00 24 */ stfs f0, 0x24(r3) /* 8019A3FC 0019735C B3 C3 00 28 */ sth r30, 0x28(r3) /* 8019A400 00197360 B3 E3 00 2A */ sth r31, 0x2a(r3) /* 8019A404 00197364 B1 83 00 2C */ sth r12, 0x2c(r3) /* 8019A408 00197368 B1 63 00 2E */ sth r11, 0x2e(r3) /* 8019A40C 0019736C 90 03 00 30 */ stw r0, 0x30(r3) /* 8019A410 00197370 99 23 00 34 */ stb r9, 0x34(r3) /* 8019A414 00197374 99 43 00 35 */ stb r10, 0x35(r3) /* 8019A418 00197378 9B A3 00 36 */ stb r29, 0x36(r3) /* 8019A41C 0019737C 99 03 00 37 */ stb r8, 0x37(r3) /* 8019A420 00197380 D0 63 00 38 */ stfs f3, 0x38(r3) /* 8019A424 00197384 BB 21 00 24 */ lmw r25, 0x24(r1) /* 8019A428 00197388 38 21 00 40 */ addi r1, r1, 0x40 /* 8019A42C 0019738C 4E 80 00 20 */ blr .global RenderSetup__14CFluidPlaneCPUCFRC13CStateManagerfRC12CTransform4fRC12CTransform4fRC6CAABoxP12CScriptWater RenderSetup__14CFluidPlaneCPUCFRC13CStateManagerfRC12CTransform4fRC12CTransform4fRC6CAABoxP12CScriptWater: /* 8019A430 00197390 94 21 FB C0 */ stwu r1, -0x440(r1) /* 8019A434 00197394 7C 08 02 A6 */ mflr r0 /* 8019A438 00197398 90 01 04 44 */ stw r0, 0x444(r1) /* 8019A43C 0019739C DB E1 04 30 */ stfd f31, 0x430(r1) /* 8019A440 001973A0 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 /* 8019A444 001973A4 DB C1 04 20 */ stfd f30, 0x420(r1) /* 8019A448 001973A8 F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 /* 8019A44C 001973AC DB A1 04 10 */ stfd f29, 0x410(r1) /* 8019A450 001973B0 F3 A1 04 18 */ psq_st f29, 1048(r1), 0, qr0 /* 8019A454 001973B4 DB 81 04 00 */ stfd f28, 0x400(r1) /* 8019A458 001973B8 F3 81 04 08 */ psq_st f28, 1032(r1), 0, qr0 /* 8019A45C 001973BC BD C1 03 B8 */ stmw r14, 0x3b8(r1) /* 8019A460 001973C0 88 02 98 E8 */ lbz r0, lbl_805AB608@sda21(r2) /* 8019A464 001973C4 3D 20 80 3D */ lis r9, lbl_803D1230@ha /* 8019A468 001973C8 FF E0 08 90 */ fmr f31, f1 /* 8019A46C 001973CC 7C 72 1B 78 */ mr r18, r3 /* 8019A470 001973D0 28 00 00 00 */ cmplwi r0, 0 /* 8019A474 001973D4 7C 93 23 78 */ mr r19, r4 /* 8019A478 001973D8 7C B4 2B 78 */ mr r20, r5 /* 8019A47C 001973DC 7C D5 33 78 */ mr r21, r6 /* 8019A480 001973E0 7C F6 3B 78 */ mr r22, r7 /* 8019A484 001973E4 7D 17 43 78 */ mr r23, r8 /* 8019A488 001973E8 3B E9 12 30 */ addi r31, r9, lbl_803D1230@l /* 8019A48C 001973EC 41 82 15 40 */ beq lbl_8019B9CC /* 8019A490 001973F0 88 12 00 BC */ lbz r0, 0xbc(r18) /* 8019A494 001973F4 3B C0 00 00 */ li r30, 0 /* 8019A498 001973F8 80 73 08 7C */ lwz r3, 0x87c(r19) /* 8019A49C 001973FC 28 00 00 00 */ cmplwi r0, 0 /* 8019A4A0 00197400 C3 C3 01 1C */ lfs f30, 0x11c(r3) /* 8019A4A4 00197404 41 82 00 14 */ beq lbl_8019A4B8 /* 8019A4A8 00197408 88 02 98 EA */ lbz r0, lbl_805AB60A@sda21(r2) /* 8019A4AC 0019740C 28 00 00 00 */ cmplwi r0, 0 /* 8019A4B0 00197410 41 82 00 08 */ beq lbl_8019A4B8 /* 8019A4B4 00197414 3B C0 00 01 */ li r30, 1 lbl_8019A4B8: /* 8019A4B8 00197418 80 73 08 70 */ lwz r3, 0x870(r19) /* 8019A4BC 0019741C 3B 40 00 00 */ li r26, 0 /* 8019A4C0 00197420 8B B2 00 EC */ lbz r29, 0xec(r18) /* 8019A4C4 00197424 80 03 00 74 */ lwz r0, 0x74(r3) /* 8019A4C8 00197428 2C 00 00 00 */ cmpwi r0, 0 /* 8019A4CC 0019742C 41 82 00 0C */ beq lbl_8019A4D8 /* 8019A4D0 00197430 3B 80 00 00 */ li r28, 0 /* 8019A4D4 00197434 48 00 00 1C */ b lbl_8019A4F0 lbl_8019A4D8: /* 8019A4D8 00197438 88 92 00 CC */ lbz r4, 0xcc(r18) /* 8019A4DC 0019743C 80 02 98 EC */ lwz r0, lbl_805AB60C@sda21(r2) /* 8019A4E0 00197440 7C 64 00 D0 */ neg r3, r4 /* 8019A4E4 00197444 7C 63 23 78 */ or r3, r3, r4 /* 8019A4E8 00197448 7C 63 FE 70 */ srawi r3, r3, 0x1f /* 8019A4EC 0019744C 7C 1C 18 38 */ and r28, r0, r3 lbl_8019A4F0: /* 8019A4F0 00197450 8B 72 00 DC */ lbz r27, 0xdc(r18) /* 8019A4F4 00197454 48 0D 55 81 */ bl InitializeSineWave__Fv /* 8019A4F8 00197458 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8019A4FC 0019745C 7E 84 A3 78 */ mr r4, r20 /* 8019A500 00197460 81 83 00 00 */ lwz r12, 0(r3) /* 8019A504 00197464 81 8C 00 30 */ lwz r12, 0x30(r12) /* 8019A508 00197468 7D 89 03 A6 */ mtctr r12 /* 8019A50C 0019746C 4E 80 04 21 */ bctrl /* 8019A510 00197470 80 82 D7 40 */ lwz r4, lbl_805AF460@sda21(r2) /* 8019A514 00197474 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8019A518 00197478 80 62 A6 D8 */ lwz r3, lbl_805AC3F8@sda21(r2) /* 8019A51C 0019747C 90 81 00 38 */ stw r4, 0x38(r1) /* 8019A520 00197480 90 61 00 34 */ stw r3, 0x34(r1) /* 8019A524 00197484 41 82 00 D0 */ beq lbl_8019A5F4 /* 8019A528 00197488 C0 22 A6 E8 */ lfs f1, lbl_805AC408@sda21(r2) /* 8019A52C 0019748C 38 61 00 30 */ addi r3, r1, 0x30 /* 8019A530 00197490 C0 82 A6 DC */ lfs f4, lbl_805AC3FC@sda21(r2) /* 8019A534 00197494 FC 40 08 90 */ fmr f2, f1 /* 8019A538 00197498 FC 60 08 90 */ fmr f3, f1 /* 8019A53C 0019749C 48 1C 8E B1 */ bl __ct__6CColorFffff /* 8019A540 001974A0 7C 6E 1B 78 */ mr r14, r3 /* 8019A544 001974A4 38 61 00 84 */ addi r3, r1, 0x84 /* 8019A548 001974A8 38 92 00 F0 */ addi r4, r18, 0xf0 /* 8019A54C 001974AC 48 17 A3 05 */ bl AsNormalized__9CVector3fCFv /* 8019A550 001974B0 7D C5 73 78 */ mr r5, r14 /* 8019A554 001974B4 38 61 02 E0 */ addi r3, r1, 0x2e0 /* 8019A558 001974B8 38 81 00 84 */ addi r4, r1, 0x84 /* 8019A55C 001974BC 48 16 BF 11 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor /* 8019A560 001974C0 38 61 03 30 */ addi r3, r1, 0x330 /* 8019A564 001974C4 38 81 02 E0 */ addi r4, r1, 0x2e0 /* 8019A568 001974C8 4B EA 10 09 */ bl __ct__6CLightFCR6CLight /* 8019A56C 001974CC 38 81 03 30 */ addi r4, r1, 0x330 /* 8019A570 001974D0 38 60 00 03 */ li r3, 3 /* 8019A574 001974D4 48 17 24 51 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight /* 8019A578 001974D8 38 60 00 02 */ li r3, 2 /* 8019A57C 001974DC 48 16 E8 D5 */ bl SetNumChans__3CGXFUc /* 8019A580 001974E0 38 60 00 01 */ li r3, 1 /* 8019A584 001974E4 38 80 00 01 */ li r4, 1 /* 8019A588 001974E8 38 A0 00 00 */ li r5, 0 /* 8019A58C 001974EC 38 C0 00 00 */ li r6, 0 /* 8019A590 001974F0 38 E0 00 08 */ li r7, 8 /* 8019A594 001974F4 39 00 00 02 */ li r8, 2 /* 8019A598 001974F8 39 20 00 01 */ li r9, 1 /* 8019A59C 001974FC 48 16 E7 31 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 8019A5A0 00197500 38 81 00 34 */ addi r4, r1, 0x34 /* 8019A5A4 00197504 38 60 00 01 */ li r3, 1 /* 8019A5A8 00197508 48 16 E7 B5 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019A5AC 0019750C 38 81 00 38 */ addi r4, r1, 0x38 /* 8019A5B0 00197510 38 60 00 01 */ li r3, 1 /* 8019A5B4 00197514 48 16 E8 11 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019A5B8 00197518 38 60 00 00 */ li r3, 0 /* 8019A5BC 0019751C 38 80 00 01 */ li r4, 1 /* 8019A5C0 00197520 38 A0 00 00 */ li r5, 0 /* 8019A5C4 00197524 38 C0 00 01 */ li r6, 1 /* 8019A5C8 00197528 38 E0 00 00 */ li r7, 0 /* 8019A5CC 0019752C 39 00 00 02 */ li r8, 2 /* 8019A5D0 00197530 39 20 00 01 */ li r9, 1 /* 8019A5D4 00197534 48 16 E6 F9 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 8019A5D8 00197538 38 81 00 34 */ addi r4, r1, 0x34 /* 8019A5DC 0019753C 38 60 00 00 */ li r3, 0 /* 8019A5E0 00197540 48 16 E7 7D */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019A5E4 00197544 38 81 00 38 */ addi r4, r1, 0x38 /* 8019A5E8 00197548 38 60 00 00 */ li r3, 0 /* 8019A5EC 0019754C 48 16 E7 D9 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019A5F0 00197550 48 00 00 94 */ b lbl_8019A684 lbl_8019A5F4: /* 8019A5F4 00197554 38 60 00 02 */ li r3, 2 /* 8019A5F8 00197558 48 16 E8 59 */ bl SetNumChans__3CGXFUc /* 8019A5FC 0019755C 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) /* 8019A600 00197560 38 60 00 01 */ li r3, 1 /* 8019A604 00197564 38 80 00 01 */ li r4, 1 /* 8019A608 00197568 38 A0 00 00 */ li r5, 0 /* 8019A60C 0019756C 38 C0 00 00 */ li r6, 0 /* 8019A610 00197570 39 00 00 02 */ li r8, 2 /* 8019A614 00197574 39 20 00 01 */ li r9, 1 /* 8019A618 00197578 48 16 E6 B5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 8019A61C 0019757C 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) /* 8019A620 00197580 38 81 00 38 */ addi r4, r1, 0x38 /* 8019A624 00197584 38 60 00 01 */ li r3, 1 /* 8019A628 00197588 28 00 00 00 */ cmplwi r0, 0 /* 8019A62C 0019758C 41 82 00 08 */ beq lbl_8019A634 /* 8019A630 00197590 38 81 00 34 */ addi r4, r1, 0x34 lbl_8019A634: /* 8019A634 00197594 48 16 E7 29 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019A638 00197598 28 1D 00 00 */ cmplwi r29, 0 /* 8019A63C 0019759C 41 82 00 10 */ beq lbl_8019A64C /* 8019A640 001975A0 38 81 00 38 */ addi r4, r1, 0x38 /* 8019A644 001975A4 38 60 00 01 */ li r3, 1 /* 8019A648 001975A8 48 16 E7 7D */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor lbl_8019A64C: /* 8019A64C 001975AC 38 60 00 00 */ li r3, 0 /* 8019A650 001975B0 38 80 00 01 */ li r4, 1 /* 8019A654 001975B4 38 A0 00 00 */ li r5, 0 /* 8019A658 001975B8 38 C0 00 01 */ li r6, 1 /* 8019A65C 001975BC 38 E0 00 00 */ li r7, 0 /* 8019A660 001975C0 39 00 00 02 */ li r8, 2 /* 8019A664 001975C4 39 20 00 01 */ li r9, 1 /* 8019A668 001975C8 48 16 E6 65 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 8019A66C 001975CC 38 81 00 34 */ addi r4, r1, 0x34 /* 8019A670 001975D0 38 60 00 00 */ li r3, 0 /* 8019A674 001975D4 48 16 E6 E9 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019A678 001975D8 38 81 00 38 */ addi r4, r1, 0x38 /* 8019A67C 001975DC 38 60 00 00 */ li r3, 0 /* 8019A680 001975E0 48 16 E7 45 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor lbl_8019A684: /* 8019A684 001975E4 88 12 00 1C */ lbz r0, 0x1c(r18) /* 8019A688 001975E8 3B 20 00 00 */ li r25, 0 /* 8019A68C 001975EC 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) /* 8019A690 001975F0 3B 00 00 00 */ li r24, 0 /* 8019A694 001975F4 28 00 00 00 */ cmplwi r0, 0 /* 8019A698 001975F8 39 C3 00 E4 */ addi r14, r3, 0xe4 /* 8019A69C 001975FC 41 82 00 18 */ beq lbl_8019A6B4 /* 8019A6A0 00197600 80 72 00 18 */ lwz r3, 0x18(r18) /* 8019A6A4 00197604 38 80 00 00 */ li r4, 0 /* 8019A6A8 00197608 38 A0 00 01 */ li r5, 1 /* 8019A6AC 0019760C 48 17 50 91 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019A6B0 00197610 48 00 00 14 */ b lbl_8019A6C4 lbl_8019A6B4: /* 8019A6B4 00197614 7D C3 73 78 */ mr r3, r14 /* 8019A6B8 00197618 38 80 00 00 */ li r4, 0 /* 8019A6BC 0019761C 38 A0 00 01 */ li r5, 1 /* 8019A6C0 00197620 48 17 50 7D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019A6C4: /* 8019A6C4 00197624 88 12 00 2C */ lbz r0, 0x2c(r18) /* 8019A6C8 00197628 93 21 01 40 */ stw r25, 0x140(r1) /* 8019A6CC 0019762C 3B 20 00 01 */ li r25, 1 /* 8019A6D0 00197630 28 00 00 00 */ cmplwi r0, 0 /* 8019A6D4 00197634 41 82 00 18 */ beq lbl_8019A6EC /* 8019A6D8 00197638 80 72 00 28 */ lwz r3, 0x28(r18) /* 8019A6DC 0019763C 38 80 00 01 */ li r4, 1 /* 8019A6E0 00197640 38 A0 00 01 */ li r5, 1 /* 8019A6E4 00197644 48 17 50 59 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019A6E8 00197648 48 00 00 14 */ b lbl_8019A6FC lbl_8019A6EC: /* 8019A6EC 0019764C 7D C3 73 78 */ mr r3, r14 /* 8019A6F0 00197650 38 80 00 01 */ li r4, 1 /* 8019A6F4 00197654 38 A0 00 01 */ li r5, 1 /* 8019A6F8 00197658 48 17 50 45 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019A6FC: /* 8019A6FC 0019765C 88 12 00 3C */ lbz r0, 0x3c(r18) /* 8019A700 00197660 93 21 01 44 */ stw r25, 0x144(r1) /* 8019A704 00197664 3B 20 00 02 */ li r25, 2 /* 8019A708 00197668 28 00 00 00 */ cmplwi r0, 0 /* 8019A70C 0019766C 41 82 00 18 */ beq lbl_8019A724 /* 8019A710 00197670 80 72 00 38 */ lwz r3, 0x38(r18) /* 8019A714 00197674 38 80 00 02 */ li r4, 2 /* 8019A718 00197678 38 A0 00 01 */ li r5, 1 /* 8019A71C 0019767C 48 17 50 21 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019A720 00197680 48 00 00 14 */ b lbl_8019A734 lbl_8019A724: /* 8019A724 00197684 7D C3 73 78 */ mr r3, r14 /* 8019A728 00197688 38 80 00 02 */ li r4, 2 /* 8019A72C 0019768C 38 A0 00 01 */ li r5, 1 /* 8019A730 00197690 48 17 50 0D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019A734: /* 8019A734 00197694 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8019A738 00197698 93 21 01 48 */ stw r25, 0x148(r1) /* 8019A73C 0019769C 3B 20 00 03 */ li r25, 3 /* 8019A740 001976A0 41 82 00 1C */ beq lbl_8019A75C /* 8019A744 001976A4 93 21 01 4C */ stw r25, 0x14c(r1) /* 8019A748 001976A8 38 80 00 03 */ li r4, 3 /* 8019A74C 001976AC 80 72 00 B8 */ lwz r3, 0xb8(r18) /* 8019A750 001976B0 38 A0 00 01 */ li r5, 1 /* 8019A754 001976B4 3B 20 00 04 */ li r25, 4 /* 8019A758 001976B8 48 17 4F E5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019A75C: /* 8019A75C 001976BC 2C 1C 00 00 */ cmpwi r28, 0 /* 8019A760 001976C0 41 82 00 1C */ beq lbl_8019A77C /* 8019A764 001976C4 93 21 01 50 */ stw r25, 0x150(r1) /* 8019A768 001976C8 7F 24 CB 78 */ mr r4, r25 /* 8019A76C 001976CC 80 72 00 C8 */ lwz r3, 0xc8(r18) /* 8019A770 001976D0 38 A0 00 01 */ li r5, 1 /* 8019A774 001976D4 3B 39 00 01 */ addi r25, r25, 1 /* 8019A778 001976D8 48 17 4F C5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019A77C: /* 8019A77C 001976DC 28 1B 00 00 */ cmplwi r27, 0 /* 8019A780 001976E0 41 82 00 1C */ beq lbl_8019A79C /* 8019A784 001976E4 93 21 01 54 */ stw r25, 0x154(r1) /* 8019A788 001976E8 7F 24 CB 78 */ mr r4, r25 /* 8019A78C 001976EC 80 72 00 D8 */ lwz r3, 0xd8(r18) /* 8019A790 001976F0 38 A0 00 01 */ li r5, 1 /* 8019A794 001976F4 3B 39 00 01 */ addi r25, r25, 1 /* 8019A798 001976F8 48 17 4F A5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019A79C: /* 8019A79C 001976FC FC 20 F0 90 */ fmr f1, f30 /* 8019A7A0 00197700 38 72 00 4C */ addi r3, r18, 0x4c /* 8019A7A4 00197704 38 81 01 08 */ addi r4, r1, 0x108 /* 8019A7A8 00197708 4B F8 23 3D */ bl CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f /* 8019A7AC 0019770C 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 8019A7B0 00197710 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8019A7B4 00197714 80 DF 00 40 */ lwz r6, 0x40(r31) /* 8019A7B8 00197718 38 80 00 1E */ li r4, 0x1e /* 8019A7BC 0019771C 90 01 03 B0 */ stw r0, 0x3b0(r1) /* 8019A7C0 00197720 38 A0 00 01 */ li r5, 1 /* 8019A7C4 00197724 80 1F 00 54 */ lwz r0, 0x54(r31) /* 8019A7C8 00197728 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 8019A7CC 0019772C 80 C1 03 B0 */ lwz r6, 0x3b0(r1) /* 8019A7D0 00197730 90 01 03 84 */ stw r0, 0x384(r1) /* 8019A7D4 00197734 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 8019A7D8 00197738 81 FF 00 50 */ lwz r15, 0x50(r31) /* 8019A7DC 0019773C 90 01 03 8C */ stw r0, 0x38c(r1) /* 8019A7E0 00197740 80 1F 00 60 */ lwz r0, 0x60(r31) /* 8019A7E4 00197744 90 C1 00 D4 */ stw r6, 0xd4(r1) /* 8019A7E8 00197748 80 C1 03 84 */ lwz r6, 0x384(r1) /* 8019A7EC 0019774C 90 01 03 90 */ stw r0, 0x390(r1) /* 8019A7F0 00197750 80 1F 00 6C */ lwz r0, 0x6c(r31) /* 8019A7F4 00197754 91 E1 03 80 */ stw r15, 0x380(r1) /* 8019A7F8 00197758 81 FF 00 58 */ lwz r15, 0x58(r31) /* 8019A7FC 0019775C 90 01 03 9C */ stw r0, 0x39c(r1) /* 8019A800 00197760 80 1F 00 74 */ lwz r0, 0x74(r31) /* 8019A804 00197764 90 C1 00 DC */ stw r6, 0xdc(r1) /* 8019A808 00197768 80 C1 03 8C */ lwz r6, 0x38c(r1) /* 8019A80C 0019776C 90 01 03 A4 */ stw r0, 0x3a4(r1) /* 8019A810 00197770 80 1F 00 7C */ lwz r0, 0x7c(r31) /* 8019A814 00197774 91 E1 03 88 */ stw r15, 0x388(r1) /* 8019A818 00197778 81 FF 00 64 */ lwz r15, 0x64(r31) /* 8019A81C 0019777C C0 F2 00 94 */ lfs f7, 0x94(r18) /* 8019A820 00197780 90 01 03 AC */ stw r0, 0x3ac(r1) /* 8019A824 00197784 80 1F 00 44 */ lwz r0, 0x44(r31) /* 8019A828 00197788 90 C1 00 E4 */ stw r6, 0xe4(r1) /* 8019A82C 0019778C 80 C1 03 90 */ lwz r6, 0x390(r1) /* 8019A830 00197790 90 01 00 CC */ stw r0, 0xcc(r1) /* 8019A834 00197794 80 01 03 80 */ lwz r0, 0x380(r1) /* 8019A838 00197798 91 E1 03 94 */ stw r15, 0x394(r1) /* 8019A83C 0019779C 81 FF 00 68 */ lwz r15, 0x68(r31) /* 8019A840 001977A0 90 01 00 D8 */ stw r0, 0xd8(r1) /* 8019A844 001977A4 80 01 03 88 */ lwz r0, 0x388(r1) /* 8019A848 001977A8 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 8019A84C 001977AC 80 C1 03 9C */ lwz r6, 0x39c(r1) /* 8019A850 001977B0 91 E1 03 98 */ stw r15, 0x398(r1) /* 8019A854 001977B4 81 FF 00 70 */ lwz r15, 0x70(r31) /* 8019A858 001977B8 90 01 00 E0 */ stw r0, 0xe0(r1) /* 8019A85C 001977BC 80 01 03 94 */ lwz r0, 0x394(r1) /* 8019A860 001977C0 90 C1 00 B4 */ stw r6, 0xb4(r1) /* 8019A864 001977C4 80 C1 03 A4 */ lwz r6, 0x3a4(r1) /* 8019A868 001977C8 91 E1 03 A0 */ stw r15, 0x3a0(r1) /* 8019A86C 001977CC 82 1F 00 20 */ lwz r16, 0x20(r31) /* 8019A870 001977D0 90 01 00 AC */ stw r0, 0xac(r1) /* 8019A874 001977D4 80 01 03 98 */ lwz r0, 0x398(r1) /* 8019A878 001977D8 81 7F 00 2C */ lwz r11, 0x2c(r31) /* 8019A87C 001977DC 81 3F 00 34 */ lwz r9, 0x34(r31) /* 8019A880 001977E0 80 FF 00 3C */ lwz r7, 0x3c(r31) /* 8019A884 001977E4 90 C1 00 BC */ stw r6, 0xbc(r1) /* 8019A888 001977E8 C0 D2 00 64 */ lfs f6, 0x64(r18) /* 8019A88C 001977EC 80 C1 03 AC */ lwz r6, 0x3ac(r1) /* 8019A890 001977F0 81 FF 00 78 */ lwz r15, 0x78(r31) /* 8019A894 001977F4 90 01 00 B0 */ stw r0, 0xb0(r1) /* 8019A898 001977F8 80 01 03 A0 */ lwz r0, 0x3a0(r1) /* 8019A89C 001977FC 82 3F 00 24 */ lwz r17, 0x24(r31) /* 8019A8A0 00197800 81 9F 00 28 */ lwz r12, 0x28(r31) /* 8019A8A4 00197804 81 5F 00 30 */ lwz r10, 0x30(r31) /* 8019A8A8 00197808 81 1F 00 38 */ lwz r8, 0x38(r31) /* 8019A8AC 0019780C 81 DF 00 48 */ lwz r14, 0x48(r31) /* 8019A8B0 00197810 C0 61 01 18 */ lfs f3, 0x118(r1) /* 8019A8B4 00197814 C0 41 01 1C */ lfs f2, 0x11c(r1) /* 8019A8B8 00197818 C0 21 01 08 */ lfs f1, 0x108(r1) /* 8019A8BC 0019781C 90 01 00 B8 */ stw r0, 0xb8(r1) /* 8019A8C0 00197820 7D E0 7B 78 */ mr r0, r15 /* 8019A8C4 00197824 C1 12 00 7C */ lfs f8, 0x7c(r18) /* 8019A8C8 00197828 92 01 00 E8 */ stw r16, 0xe8(r1) /* 8019A8CC 0019782C C0 A1 01 10 */ lfs f5, 0x110(r1) /* 8019A8D0 00197830 91 21 00 FC */ stw r9, 0xfc(r1) /* 8019A8D4 00197834 C0 81 01 14 */ lfs f4, 0x114(r1) /* 8019A8D8 00197838 91 61 00 F4 */ stw r11, 0xf4(r1) /* 8019A8DC 0019783C C0 01 01 0C */ lfs f0, 0x10c(r1) /* 8019A8E0 00197840 90 E1 01 04 */ stw r7, 0x104(r1) /* 8019A8E4 00197844 90 C1 00 C4 */ stw r6, 0xc4(r1) /* 8019A8E8 00197848 91 E1 03 A8 */ stw r15, 0x3a8(r1) /* 8019A8EC 0019784C 92 21 00 EC */ stw r17, 0xec(r1) /* 8019A8F0 00197850 91 81 00 F0 */ stw r12, 0xf0(r1) /* 8019A8F4 00197854 91 41 00 F8 */ stw r10, 0xf8(r1) /* 8019A8F8 00197858 91 01 01 00 */ stw r8, 0x100(r1) /* 8019A8FC 0019785C D1 01 00 E8 */ stfs f8, 0xe8(r1) /* 8019A900 00197860 D0 A1 00 F4 */ stfs f5, 0xf4(r1) /* 8019A904 00197864 D1 01 00 FC */ stfs f8, 0xfc(r1) /* 8019A908 00197868 D0 81 01 04 */ stfs f4, 0x104(r1) /* 8019A90C 0019786C 91 C1 00 D0 */ stw r14, 0xd0(r1) /* 8019A910 00197870 D0 E1 00 C8 */ stfs f7, 0xc8(r1) /* 8019A914 00197874 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 8019A918 00197878 D0 E1 00 DC */ stfs f7, 0xdc(r1) /* 8019A91C 0019787C D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 8019A920 00197880 90 01 00 C0 */ stw r0, 0xc0(r1) /* 8019A924 00197884 D0 C1 00 A8 */ stfs f6, 0xa8(r1) /* 8019A928 00197888 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 8019A92C 0019788C D0 C1 00 BC */ stfs f6, 0xbc(r1) /* 8019A930 00197890 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 8019A934 00197894 48 1E 1B 5D */ bl GXLoadTexMtxImm /* 8019A938 00197898 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8019A93C 0019789C 38 80 00 21 */ li r4, 0x21 /* 8019A940 001978A0 38 A0 00 01 */ li r5, 1 /* 8019A944 001978A4 48 1E 1B 4D */ bl GXLoadTexMtxImm /* 8019A948 001978A8 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8019A94C 001978AC 38 80 00 24 */ li r4, 0x24 /* 8019A950 001978B0 38 A0 00 01 */ li r5, 1 /* 8019A954 001978B4 48 1E 1B 3D */ bl GXLoadTexMtxImm /* 8019A958 001978B8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8019A95C 001978BC 39 E0 00 27 */ li r15, 0x27 /* 8019A960 001978C0 41 82 00 B4 */ beq lbl_8019AA14 /* 8019A964 001978C4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha /* 8019A968 001978C8 C3 B2 00 FC */ lfs f29, 0xfc(r18) /* 8019A96C 001978CC 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l /* 8019A970 001978D0 38 61 01 90 */ addi r3, r1, 0x190 /* 8019A974 001978D4 48 17 82 CD */ bl GetRotation__12CTransform4fCFv /* 8019A978 001978D8 38 61 01 C0 */ addi r3, r1, 0x1c0 /* 8019A97C 001978DC 38 81 01 90 */ addi r4, r1, 0x190 /* 8019A980 001978E0 48 17 83 1D */ bl GetQuickInverse__12CTransform4fCFv /* 8019A984 001978E4 38 61 02 80 */ addi r3, r1, 0x280 /* 8019A988 001978E8 38 81 01 C0 */ addi r4, r1, 0x1c0 /* 8019A98C 001978EC 48 17 81 E9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8019A990 001978F0 C3 C1 02 80 */ lfs f30, 0x280(r1) /* 8019A994 001978F4 38 61 02 B0 */ addi r3, r1, 0x2b0 /* 8019A998 001978F8 C1 A1 02 84 */ lfs f13, 0x284(r1) /* 8019A99C 001978FC FC 20 E8 90 */ fmr f1, f29 /* 8019A9A0 00197900 C1 81 02 88 */ lfs f12, 0x288(r1) /* 8019A9A4 00197904 FC 40 E8 90 */ fmr f2, f29 /* 8019A9A8 00197908 C1 61 02 8C */ lfs f11, 0x28c(r1) /* 8019A9AC 0019790C FC 60 E8 90 */ fmr f3, f29 /* 8019A9B0 00197910 C1 41 02 90 */ lfs f10, 0x290(r1) /* 8019A9B4 00197914 C1 21 02 94 */ lfs f9, 0x294(r1) /* 8019A9B8 00197918 7C 64 1B 78 */ mr r4, r3 /* 8019A9BC 0019791C C1 01 02 98 */ lfs f8, 0x298(r1) /* 8019A9C0 00197920 C0 E1 02 9C */ lfs f7, 0x29c(r1) /* 8019A9C4 00197924 C0 C1 02 A0 */ lfs f6, 0x2a0(r1) /* 8019A9C8 00197928 C0 A1 02 A4 */ lfs f5, 0x2a4(r1) /* 8019A9CC 0019792C C0 81 02 A8 */ lfs f4, 0x2a8(r1) /* 8019A9D0 00197930 C0 01 02 AC */ lfs f0, 0x2ac(r1) /* 8019A9D4 00197934 D3 C1 02 B0 */ stfs f30, 0x2b0(r1) /* 8019A9D8 00197938 D1 A1 02 B4 */ stfs f13, 0x2b4(r1) /* 8019A9DC 0019793C D1 81 02 B8 */ stfs f12, 0x2b8(r1) /* 8019A9E0 00197940 D1 61 02 BC */ stfs f11, 0x2bc(r1) /* 8019A9E4 00197944 D1 41 02 C0 */ stfs f10, 0x2c0(r1) /* 8019A9E8 00197948 D1 21 02 C4 */ stfs f9, 0x2c4(r1) /* 8019A9EC 0019794C D1 01 02 C8 */ stfs f8, 0x2c8(r1) /* 8019A9F0 00197950 D0 E1 02 CC */ stfs f7, 0x2cc(r1) /* 8019A9F4 00197954 D0 C1 02 D0 */ stfs f6, 0x2d0(r1) /* 8019A9F8 00197958 D0 A1 02 D4 */ stfs f5, 0x2d4(r1) /* 8019A9FC 0019795C D0 81 02 D8 */ stfs f4, 0x2d8(r1) /* 8019AA00 00197960 D0 01 02 DC */ stfs f0, 0x2dc(r1) /* 8019AA04 00197964 48 1E 28 8D */ bl PSMTXScaleApply /* 8019AA08 00197968 38 61 02 B0 */ addi r3, r1, 0x2b0 /* 8019AA0C 0019796C 38 80 00 00 */ li r4, 0 /* 8019AA10 00197970 48 1E 19 F9 */ bl GXLoadNrmMtxImm lbl_8019AA14: /* 8019AA14 00197974 93 01 01 20 */ stw r24, 0x120(r1) /* 8019AA18 00197978 38 60 00 00 */ li r3, 0 /* 8019AA1C 0019797C 38 80 00 01 */ li r4, 1 /* 8019AA20 00197980 38 A0 00 00 */ li r5, 0 /* 8019AA24 00197984 38 C0 00 1E */ li r6, 0x1e /* 8019AA28 00197988 38 E0 00 00 */ li r7, 0 /* 8019AA2C 0019798C 39 00 00 7D */ li r8, 0x7d /* 8019AA30 00197990 3B 00 00 01 */ li r24, 1 /* 8019AA34 00197994 48 16 DC 99 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AA38 00197998 93 01 01 24 */ stw r24, 0x124(r1) /* 8019AA3C 0019799C 38 60 00 01 */ li r3, 1 /* 8019AA40 001979A0 38 80 00 01 */ li r4, 1 /* 8019AA44 001979A4 38 A0 00 00 */ li r5, 0 /* 8019AA48 001979A8 38 C0 00 21 */ li r6, 0x21 /* 8019AA4C 001979AC 38 E0 00 00 */ li r7, 0 /* 8019AA50 001979B0 39 00 00 7D */ li r8, 0x7d /* 8019AA54 001979B4 3B 00 00 02 */ li r24, 2 /* 8019AA58 001979B8 48 16 DC 75 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AA5C 001979BC 93 01 01 28 */ stw r24, 0x128(r1) /* 8019AA60 001979C0 38 60 00 02 */ li r3, 2 /* 8019AA64 001979C4 38 80 00 01 */ li r4, 1 /* 8019AA68 001979C8 38 A0 00 00 */ li r5, 0 /* 8019AA6C 001979CC 38 C0 00 24 */ li r6, 0x24 /* 8019AA70 001979D0 38 E0 00 00 */ li r7, 0 /* 8019AA74 001979D4 39 00 00 7D */ li r8, 0x7d /* 8019AA78 001979D8 3B 00 00 03 */ li r24, 3 /* 8019AA7C 001979DC 48 16 DC 51 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AA80 001979E0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8019AA84 001979E4 41 82 00 44 */ beq lbl_8019AAC8 /* 8019AA88 001979E8 93 01 01 2C */ stw r24, 0x12c(r1) /* 8019AA8C 001979EC 38 60 00 03 */ li r3, 3 /* 8019AA90 001979F0 38 80 00 01 */ li r4, 1 /* 8019AA94 001979F4 38 A0 00 00 */ li r5, 0 /* 8019AA98 001979F8 38 C0 00 1E */ li r6, 0x1e /* 8019AA9C 001979FC 38 E0 00 00 */ li r7, 0 /* 8019AAA0 00197A00 39 00 00 7D */ li r8, 0x7d /* 8019AAA4 00197A04 48 16 DC 29 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AAA8 00197A08 38 60 00 04 */ li r3, 4 /* 8019AAAC 00197A0C 38 80 00 05 */ li r4, 5 /* 8019AAB0 00197A10 38 A0 00 0F */ li r5, 0xf /* 8019AAB4 00197A14 38 C0 00 3C */ li r6, 0x3c /* 8019AAB8 00197A18 38 E0 00 00 */ li r7, 0 /* 8019AABC 00197A1C 39 00 00 7D */ li r8, 0x7d /* 8019AAC0 00197A20 48 16 DC 0D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AAC4 00197A24 3B 00 00 05 */ li r24, 5 lbl_8019AAC8: /* 8019AAC8 00197A28 28 1B 00 00 */ cmplwi r27, 0 /* 8019AACC 00197A2C 41 82 01 4C */ beq lbl_8019AC18 /* 8019AAD0 00197A30 2C 1C 00 00 */ cmpwi r28, 0 /* 8019AAD4 00197A34 41 82 00 1C */ beq lbl_8019AAF0 /* 8019AAD8 00197A38 C0 22 A6 DC */ lfs f1, lbl_805AC3FC@sda21(r2) /* 8019AADC 00197A3C C0 12 01 18 */ lfs f0, 0x118(r18) /* 8019AAE0 00197A40 C0 42 A6 E8 */ lfs f2, lbl_805AC408@sda21(r2) /* 8019AAE4 00197A44 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019AAE8 00197A48 EF A2 00 32 */ fmuls f29, f2, f0 /* 8019AAEC 00197A4C 48 00 00 14 */ b lbl_8019AB00 lbl_8019AAF0: /* 8019AAF0 00197A50 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13) /* 8019AAF4 00197A54 C0 12 00 64 */ lfs f0, 0x64(r18) /* 8019AAF8 00197A58 C0 23 00 4C */ lfs f1, 0x4c(r3) /* 8019AAFC 00197A5C EF A1 00 32 */ fmuls f29, f1, f0 lbl_8019AB00: /* 8019AB00 00197A60 2C 1C 00 00 */ cmpwi r28, 0 /* 8019AB04 00197A64 40 82 00 10 */ bne lbl_8019AB14 /* 8019AB08 00197A68 38 61 02 50 */ addi r3, r1, 0x250 /* 8019AB0C 00197A6C 48 1E 25 35 */ bl PSMTXIdentity /* 8019AB10 00197A70 48 00 00 0C */ b lbl_8019AB1C lbl_8019AB14: /* 8019AB14 00197A74 38 61 02 50 */ addi r3, r1, 0x250 /* 8019AB18 00197A78 48 1E 25 29 */ bl PSMTXIdentity lbl_8019AB1C: /* 8019AB1C 00197A7C 38 61 02 50 */ addi r3, r1, 0x250 /* 8019AB20 00197A80 38 80 00 27 */ li r4, 0x27 /* 8019AB24 00197A84 38 A0 00 01 */ li r5, 1 /* 8019AB28 00197A88 48 1E 19 69 */ bl GXLoadTexMtxImm /* 8019AB2C 00197A8C FC 20 E8 90 */ fmr f1, f29 /* 8019AB30 00197A90 C0 62 A6 DC */ lfs f3, lbl_805AC3FC@sda21(r2) /* 8019AB34 00197A94 FC 40 E8 50 */ fneg f2, f29 /* 8019AB38 00197A98 38 61 02 20 */ addi r3, r1, 0x220 /* 8019AB3C 00197A9C 48 1E 27 2D */ bl PSMTXScale /* 8019AB40 00197AA0 C0 02 A6 E8 */ lfs f0, lbl_805AC408@sda21(r2) /* 8019AB44 00197AA4 38 61 02 20 */ addi r3, r1, 0x220 /* 8019AB48 00197AA8 38 80 00 40 */ li r4, 0x40 /* 8019AB4C 00197AAC 38 A0 00 00 */ li r5, 0 /* 8019AB50 00197AB0 D0 01 02 2C */ stfs f0, 0x22c(r1) /* 8019AB54 00197AB4 D0 01 02 3C */ stfs f0, 0x23c(r1) /* 8019AB58 00197AB8 48 1E 19 39 */ bl GXLoadTexMtxImm /* 8019AB5C 00197ABC 93 01 01 34 */ stw r24, 0x134(r1) /* 8019AB60 00197AC0 7F 0E C3 78 */ mr r14, r24 /* 8019AB64 00197AC4 7F 03 C3 78 */ mr r3, r24 /* 8019AB68 00197AC8 38 80 00 01 */ li r4, 1 /* 8019AB6C 00197ACC 38 A0 00 01 */ li r5, 1 /* 8019AB70 00197AD0 38 C0 00 27 */ li r6, 0x27 /* 8019AB74 00197AD4 38 E0 00 01 */ li r7, 1 /* 8019AB78 00197AD8 39 00 00 40 */ li r8, 0x40 /* 8019AB7C 00197ADC 3B 18 00 01 */ addi r24, r24, 1 /* 8019AB80 00197AE0 48 16 DB 4D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AB84 00197AE4 2C 1C 00 00 */ cmpwi r28, 0 /* 8019AB88 00197AE8 C0 22 A6 E8 */ lfs f1, lbl_805AC408@sda21(r2) /* 8019AB8C 00197AEC 39 E0 00 2A */ li r15, 0x2a /* 8019AB90 00197AF0 41 82 00 0C */ beq lbl_8019AB9C /* 8019AB94 00197AF4 C0 12 01 18 */ lfs f0, 0x118(r18) /* 8019AB98 00197AF8 48 00 00 08 */ b lbl_8019ABA0 lbl_8019AB9C: /* 8019AB9C 00197AFC C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) lbl_8019ABA0: /* 8019ABA0 00197B00 EC 21 00 32 */ fmuls f1, f1, f0 /* 8019ABA4 00197B04 80 7F 00 80 */ lwz r3, 0x80(r31) /* 8019ABA8 00197B08 80 1F 00 90 */ lwz r0, 0x90(r31) /* 8019ABAC 00197B0C 38 81 00 90 */ addi r4, r1, 0x90 /* 8019ABB0 00197B10 90 61 00 90 */ stw r3, 0x90(r1) /* 8019ABB4 00197B14 38 60 00 01 */ li r3, 1 /* 8019ABB8 00197B18 81 1F 00 84 */ lwz r8, 0x84(r31) /* 8019ABBC 00197B1C FC 00 08 50 */ fneg f0, f1 /* 8019ABC0 00197B20 90 01 00 A0 */ stw r0, 0xa0(r1) /* 8019ABC4 00197B24 38 A0 00 01 */ li r5, 1 /* 8019ABC8 00197B28 80 FF 00 88 */ lwz r7, 0x88(r31) /* 8019ABCC 00197B2C 80 DF 00 8C */ lwz r6, 0x8c(r31) /* 8019ABD0 00197B30 80 1F 00 94 */ lwz r0, 0x94(r31) /* 8019ABD4 00197B34 91 01 00 94 */ stw r8, 0x94(r1) /* 8019ABD8 00197B38 90 E1 00 98 */ stw r7, 0x98(r1) /* 8019ABDC 00197B3C 90 C1 00 9C */ stw r6, 0x9c(r1) /* 8019ABE0 00197B40 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8019ABE4 00197B44 D0 21 00 90 */ stfs f1, 0x90(r1) /* 8019ABE8 00197B48 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8019ABEC 00197B4C 48 1E 02 DD */ bl GXSetIndTexMtx /* 8019ABF0 00197B50 38 60 00 00 */ li r3, 0 /* 8019ABF4 00197B54 38 80 00 00 */ li r4, 0 /* 8019ABF8 00197B58 38 A0 00 00 */ li r5, 0 /* 8019ABFC 00197B5C 48 1E 04 2D */ bl GXSetIndTexCoordScale /* 8019AC00 00197B60 80 A1 01 54 */ lwz r5, 0x154(r1) /* 8019AC04 00197B64 7D C4 73 78 */ mr r4, r14 /* 8019AC08 00197B68 38 60 00 00 */ li r3, 0 /* 8019AC0C 00197B6C 48 1E 05 99 */ bl GXSetIndTexOrder /* 8019AC10 00197B70 38 60 00 01 */ li r3, 1 /* 8019AC14 00197B74 48 16 DA 7D */ bl SetNumIndStages__3CGXFUc lbl_8019AC18: /* 8019AC18 00197B78 2C 1C 00 00 */ cmpwi r28, 0 /* 8019AC1C 00197B7C 41 82 01 2C */ beq lbl_8019AD48 /* 8019AC20 00197B80 C0 76 00 10 */ lfs f3, 0x10(r22) /* 8019AC24 00197B84 C0 56 00 04 */ lfs f2, 4(r22) /* 8019AC28 00197B88 C0 36 00 0C */ lfs f1, 0xc(r22) /* 8019AC2C 00197B8C C0 16 00 00 */ lfs f0, 0(r22) /* 8019AC30 00197B90 EC 43 10 28 */ fsubs f2, f3, f2 /* 8019AC34 00197B94 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019AC38 00197B98 D0 41 00 28 */ stfs f2, 0x28(r1) /* 8019AC3C 00197B9C FC 00 10 40 */ fcmpo cr0, f0, f2 /* 8019AC40 00197BA0 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8019AC44 00197BA4 40 80 00 0C */ bge lbl_8019AC50 /* 8019AC48 00197BA8 38 61 00 28 */ addi r3, r1, 0x28 /* 8019AC4C 00197BAC 48 00 00 08 */ b lbl_8019AC54 lbl_8019AC50: /* 8019AC50 00197BB0 38 61 00 2C */ addi r3, r1, 0x2c lbl_8019AC54: /* 8019AC54 00197BB4 C3 A3 00 00 */ lfs f29, 0(r3) /* 8019AC58 00197BB8 7E C4 B3 78 */ mr r4, r22 /* 8019AC5C 00197BBC C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 8019AC60 00197BC0 38 61 00 78 */ addi r3, r1, 0x78 /* 8019AC64 00197BC4 80 1F 00 98 */ lwz r0, 0x98(r31) /* 8019AC68 00197BC8 EF 80 E8 24 */ fdivs f28, f0, f29 /* 8019AC6C 00197BCC 82 1F 00 9C */ lwz r16, 0x9c(r31) /* 8019AC70 00197BD0 90 01 01 F0 */ stw r0, 0x1f0(r1) /* 8019AC74 00197BD4 81 DF 00 A0 */ lwz r14, 0xa0(r31) /* 8019AC78 00197BD8 81 9F 00 A4 */ lwz r12, 0xa4(r31) /* 8019AC7C 00197BDC 81 7F 00 A8 */ lwz r11, 0xa8(r31) /* 8019AC80 00197BE0 81 5F 00 AC */ lwz r10, 0xac(r31) /* 8019AC84 00197BE4 81 3F 00 B0 */ lwz r9, 0xb0(r31) /* 8019AC88 00197BE8 81 1F 00 B4 */ lwz r8, 0xb4(r31) /* 8019AC8C 00197BEC 80 FF 00 B8 */ lwz r7, 0xb8(r31) /* 8019AC90 00197BF0 80 DF 00 BC */ lwz r6, 0xbc(r31) /* 8019AC94 00197BF4 80 BF 00 C0 */ lwz r5, 0xc0(r31) /* 8019AC98 00197BF8 80 1F 00 C4 */ lwz r0, 0xc4(r31) /* 8019AC9C 00197BFC 92 01 01 F4 */ stw r16, 0x1f4(r1) /* 8019ACA0 00197C00 91 C1 01 F8 */ stw r14, 0x1f8(r1) /* 8019ACA4 00197C04 91 81 01 FC */ stw r12, 0x1fc(r1) /* 8019ACA8 00197C08 91 61 02 00 */ stw r11, 0x200(r1) /* 8019ACAC 00197C0C 91 41 02 04 */ stw r10, 0x204(r1) /* 8019ACB0 00197C10 91 21 02 08 */ stw r9, 0x208(r1) /* 8019ACB4 00197C14 91 01 02 0C */ stw r8, 0x20c(r1) /* 8019ACB8 00197C18 90 E1 02 10 */ stw r7, 0x210(r1) /* 8019ACBC 00197C1C 90 C1 02 14 */ stw r6, 0x214(r1) /* 8019ACC0 00197C20 90 A1 02 18 */ stw r5, 0x218(r1) /* 8019ACC4 00197C24 90 01 02 1C */ stw r0, 0x21c(r1) /* 8019ACC8 00197C28 D3 81 01 F0 */ stfs f28, 0x1f0(r1) /* 8019ACCC 00197C2C 48 19 C9 41 */ bl GetCenterPoint__6CAABoxCFv /* 8019ACD0 00197C30 C0 01 00 78 */ lfs f0, 0x78(r1) /* 8019ACD4 00197C34 7E C4 B3 78 */ mr r4, r22 /* 8019ACD8 00197C38 C0 22 A6 E8 */ lfs f1, lbl_805AC408@sda21(r2) /* 8019ACDC 00197C3C 38 61 00 6C */ addi r3, r1, 0x6c /* 8019ACE0 00197C40 FC 00 00 50 */ fneg f0, f0 /* 8019ACE4 00197C44 D3 81 02 04 */ stfs f28, 0x204(r1) /* 8019ACE8 00197C48 EC 00 E8 24 */ fdivs f0, f0, f29 /* 8019ACEC 00197C4C EC 01 00 2A */ fadds f0, f1, f0 /* 8019ACF0 00197C50 D0 01 01 FC */ stfs f0, 0x1fc(r1) /* 8019ACF4 00197C54 48 19 C9 19 */ bl GetCenterPoint__6CAABoxCFv /* 8019ACF8 00197C58 C0 01 00 70 */ lfs f0, 0x70(r1) /* 8019ACFC 00197C5C 7D E4 7B 78 */ mr r4, r15 /* 8019AD00 00197C60 C0 22 A6 E8 */ lfs f1, lbl_805AC408@sda21(r2) /* 8019AD04 00197C64 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 8019AD08 00197C68 FC 00 00 50 */ fneg f0, f0 /* 8019AD0C 00197C6C 38 A0 00 01 */ li r5, 1 /* 8019AD10 00197C70 EC 00 E8 24 */ fdivs f0, f0, f29 /* 8019AD14 00197C74 EC 01 00 2A */ fadds f0, f1, f0 /* 8019AD18 00197C78 D0 01 02 0C */ stfs f0, 0x20c(r1) /* 8019AD1C 00197C7C 48 1E 17 75 */ bl GXLoadTexMtxImm /* 8019AD20 00197C80 93 01 01 30 */ stw r24, 0x130(r1) /* 8019AD24 00197C84 7F 03 C3 78 */ mr r3, r24 /* 8019AD28 00197C88 7D E6 7B 78 */ mr r6, r15 /* 8019AD2C 00197C8C 38 80 00 01 */ li r4, 1 /* 8019AD30 00197C90 38 A0 00 00 */ li r5, 0 /* 8019AD34 00197C94 38 E0 00 00 */ li r7, 0 /* 8019AD38 00197C98 39 00 00 7D */ li r8, 0x7d /* 8019AD3C 00197C9C 3B 18 00 01 */ addi r24, r24, 1 /* 8019AD40 00197CA0 48 16 D9 8D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AD44 00197CA4 39 EF 00 03 */ addi r15, r15, 3 lbl_8019AD48: /* 8019AD48 00197CA8 28 1D 00 00 */ cmplwi r29, 0 /* 8019AD4C 00197CAC 41 82 02 5C */ beq lbl_8019AFA8 /* 8019AD50 00197CB0 80 F3 08 CC */ lwz r7, 0x8cc(r19) /* 8019AD54 00197CB4 7E E3 BB 78 */ mr r3, r23 /* 8019AD58 00197CB8 80 D3 08 50 */ lwz r6, 0x850(r19) /* 8019AD5C 00197CBC 7E 64 9B 78 */ mr r4, r19 /* 8019AD60 00197CC0 54 E5 18 38 */ slwi r5, r7, 3 /* 8019AD64 00197CC4 90 E1 00 20 */ stw r7, 0x20(r1) /* 8019AD68 00197CC8 80 C6 00 20 */ lwz r6, 0x20(r6) /* 8019AD6C 00197CCC 38 05 00 04 */ addi r0, r5, 4 /* 8019AD70 00197CD0 90 E1 00 24 */ stw r7, 0x24(r1) /* 8019AD74 00197CD4 7C A6 00 2E */ lwzx r5, r6, r0 /* 8019AD78 00197CD8 C3 82 A6 DC */ lfs f28, lbl_805AC3FC@sda21(r2) /* 8019AD7C 00197CDC 80 A5 01 2C */ lwz r5, 0x12c(r5) /* 8019AD80 00197CE0 C3 A5 11 28 */ lfs f29, 0x1128(r5) /* 8019AD84 00197CE4 4B F6 5B E9 */ bl GetNextConnectedWater__12CScriptWaterFR13CStateManager /* 8019AD88 00197CE8 C0 57 01 F8 */ lfs f2, 0x1f8(r23) /* 8019AD8C 00197CEC 7C 6E 1B 78 */ mr r14, r3 /* 8019AD90 00197CF0 C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 8019AD94 00197CF4 C0 02 A7 00 */ lfs f0, lbl_805AC420@sda21(r2) /* 8019AD98 00197CF8 EC 22 08 28 */ fsubs f1, f2, f1 /* 8019AD9C 00197CFC FC 20 0A 10 */ fabs f1, f1 /* 8019ADA0 00197D00 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019ADA4 00197D04 41 80 00 20 */ blt lbl_8019ADC4 /* 8019ADA8 00197D08 28 0E 00 00 */ cmplwi r14, 0 /* 8019ADAC 00197D0C 41 82 00 18 */ beq lbl_8019ADC4 /* 8019ADB0 00197D10 41 82 00 68 */ beq lbl_8019AE18 /* 8019ADB4 00197D14 80 6E 01 B4 */ lwz r3, 0x1b4(r14) /* 8019ADB8 00197D18 88 03 00 EC */ lbz r0, 0xec(r3) /* 8019ADBC 00197D1C 28 00 00 00 */ cmplwi r0, 0 /* 8019ADC0 00197D20 40 82 00 58 */ bne lbl_8019AE18 lbl_8019ADC4: /* 8019ADC4 00197D24 93 21 01 58 */ stw r25, 0x158(r1) /* 8019ADC8 00197D28 7F 24 CB 78 */ mr r4, r25 /* 8019ADCC 00197D2C 80 72 00 E8 */ lwz r3, 0xe8(r18) /* 8019ADD0 00197D30 38 A0 00 01 */ li r5, 1 /* 8019ADD4 00197D34 48 17 49 69 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019ADD8 00197D38 7E 43 93 78 */ mr r3, r18 /* 8019ADDC 00197D3C 7E A4 AB 78 */ mr r4, r21 /* 8019ADE0 00197D40 7E 85 A3 78 */ mr r5, r20 /* 8019ADE4 00197D44 7E C6 B3 78 */ mr r6, r22 /* 8019ADE8 00197D48 7D E7 7B 78 */ mr r7, r15 /* 8019ADEC 00197D4C 48 00 0C 15 */ bl CalculateLightmapMtx__14CFluidPlaneCPUFRC12CTransform4fRC12CTransform4fRC6CAABoxi /* 8019ADF0 00197D50 93 01 01 38 */ stw r24, 0x138(r1) /* 8019ADF4 00197D54 7F 03 C3 78 */ mr r3, r24 /* 8019ADF8 00197D58 7D E6 7B 78 */ mr r6, r15 /* 8019ADFC 00197D5C 38 80 00 01 */ li r4, 1 /* 8019AE00 00197D60 38 A0 00 00 */ li r5, 0 /* 8019AE04 00197D64 38 E0 00 00 */ li r7, 0 /* 8019AE08 00197D68 39 00 00 7D */ li r8, 0x7d /* 8019AE0C 00197D6C 3B 18 00 01 */ addi r24, r24, 1 /* 8019AE10 00197D70 48 16 D8 BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AE14 00197D74 48 00 01 6C */ b lbl_8019AF80 lbl_8019AE18: /* 8019AE18 00197D78 28 0E 00 00 */ cmplwi r14, 0 /* 8019AE1C 00197D7C 41 82 01 64 */ beq lbl_8019AF80 /* 8019AE20 00197D80 80 6E 01 B4 */ lwz r3, 0x1b4(r14) /* 8019AE24 00197D84 88 03 00 EC */ lbz r0, 0xec(r3) /* 8019AE28 00197D88 28 00 00 00 */ cmplwi r0, 0 /* 8019AE2C 00197D8C 41 82 01 54 */ beq lbl_8019AF80 /* 8019AE30 00197D90 C0 57 01 F8 */ lfs f2, 0x1f8(r23) /* 8019AE34 00197D94 C0 22 A6 DC */ lfs f1, lbl_805AC3FC@sda21(r2) /* 8019AE38 00197D98 C0 02 A7 00 */ lfs f0, lbl_805AC420@sda21(r2) /* 8019AE3C 00197D9C EC 22 08 28 */ fsubs f1, f2, f1 /* 8019AE40 00197DA0 FC 20 0A 10 */ fabs f1, f1 /* 8019AE44 00197DA4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019AE48 00197DA8 40 80 00 58 */ bge lbl_8019AEA0 /* 8019AE4C 00197DAC 93 21 01 58 */ stw r25, 0x158(r1) /* 8019AE50 00197DB0 7F 24 CB 78 */ mr r4, r25 /* 8019AE54 00197DB4 80 63 00 E8 */ lwz r3, 0xe8(r3) /* 8019AE58 00197DB8 38 A0 00 01 */ li r5, 1 /* 8019AE5C 00197DBC 48 17 48 E1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019AE60 00197DC0 80 6E 01 B4 */ lwz r3, 0x1b4(r14) /* 8019AE64 00197DC4 7E A4 AB 78 */ mr r4, r21 /* 8019AE68 00197DC8 7E 85 A3 78 */ mr r5, r20 /* 8019AE6C 00197DCC 7E C6 B3 78 */ mr r6, r22 /* 8019AE70 00197DD0 7D E7 7B 78 */ mr r7, r15 /* 8019AE74 00197DD4 48 00 0B 8D */ bl CalculateLightmapMtx__14CFluidPlaneCPUFRC12CTransform4fRC12CTransform4fRC6CAABoxi /* 8019AE78 00197DD8 93 01 01 38 */ stw r24, 0x138(r1) /* 8019AE7C 00197DDC 7F 03 C3 78 */ mr r3, r24 /* 8019AE80 00197DE0 7D E6 7B 78 */ mr r6, r15 /* 8019AE84 00197DE4 38 80 00 01 */ li r4, 1 /* 8019AE88 00197DE8 38 A0 00 00 */ li r5, 0 /* 8019AE8C 00197DEC 38 E0 00 00 */ li r7, 0 /* 8019AE90 00197DF0 39 00 00 7D */ li r8, 0x7d /* 8019AE94 00197DF4 3B 18 00 01 */ addi r24, r24, 1 /* 8019AE98 00197DF8 48 16 D8 35 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AE9C 00197DFC 48 00 00 E4 */ b lbl_8019AF80 lbl_8019AEA0: /* 8019AEA0 00197E00 93 21 01 58 */ stw r25, 0x158(r1) /* 8019AEA4 00197E04 7F 24 CB 78 */ mr r4, r25 /* 8019AEA8 00197E08 80 72 00 E8 */ lwz r3, 0xe8(r18) /* 8019AEAC 00197E0C 38 A0 00 01 */ li r5, 1 /* 8019AEB0 00197E10 3B 39 00 01 */ addi r25, r25, 1 /* 8019AEB4 00197E14 48 17 48 89 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019AEB8 00197E18 7E 43 93 78 */ mr r3, r18 /* 8019AEBC 00197E1C 7E A4 AB 78 */ mr r4, r21 /* 8019AEC0 00197E20 7E 85 A3 78 */ mr r5, r20 /* 8019AEC4 00197E24 7E C6 B3 78 */ mr r6, r22 /* 8019AEC8 00197E28 7D E7 7B 78 */ mr r7, r15 /* 8019AECC 00197E2C 48 00 0B 35 */ bl CalculateLightmapMtx__14CFluidPlaneCPUFRC12CTransform4fRC12CTransform4fRC6CAABoxi /* 8019AED0 00197E30 93 01 01 38 */ stw r24, 0x138(r1) /* 8019AED4 00197E34 7F 03 C3 78 */ mr r3, r24 /* 8019AED8 00197E38 7D E6 7B 78 */ mr r6, r15 /* 8019AEDC 00197E3C 38 80 00 01 */ li r4, 1 /* 8019AEE0 00197E40 38 A0 00 00 */ li r5, 0 /* 8019AEE4 00197E44 38 E0 00 00 */ li r7, 0 /* 8019AEE8 00197E48 39 00 00 7D */ li r8, 0x7d /* 8019AEEC 00197E4C 3B 18 00 01 */ addi r24, r24, 1 /* 8019AEF0 00197E50 48 16 D7 DD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AEF4 00197E54 80 6E 01 B4 */ lwz r3, 0x1b4(r14) /* 8019AEF8 00197E58 7F 24 CB 78 */ mr r4, r25 /* 8019AEFC 00197E5C 93 21 01 5C */ stw r25, 0x15c(r1) /* 8019AF00 00197E60 38 A0 00 01 */ li r5, 1 /* 8019AF04 00197E64 80 63 00 E8 */ lwz r3, 0xe8(r3) /* 8019AF08 00197E68 48 17 48 35 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8019AF0C 00197E6C 80 6E 01 B4 */ lwz r3, 0x1b4(r14) /* 8019AF10 00197E70 7E A4 AB 78 */ mr r4, r21 /* 8019AF14 00197E74 7E 85 A3 78 */ mr r5, r20 /* 8019AF18 00197E78 7E C6 B3 78 */ mr r6, r22 /* 8019AF1C 00197E7C 38 EF 00 03 */ addi r7, r15, 3 /* 8019AF20 00197E80 48 00 0A E1 */ bl CalculateLightmapMtx__14CFluidPlaneCPUFRC12CTransform4fRC12CTransform4fRC6CAABoxi /* 8019AF24 00197E84 93 01 01 3C */ stw r24, 0x13c(r1) /* 8019AF28 00197E88 7F 03 C3 78 */ mr r3, r24 /* 8019AF2C 00197E8C 38 CF 00 03 */ addi r6, r15, 3 /* 8019AF30 00197E90 38 80 00 01 */ li r4, 1 /* 8019AF34 00197E94 38 A0 00 00 */ li r5, 0 /* 8019AF38 00197E98 38 E0 00 00 */ li r7, 0 /* 8019AF3C 00197E9C 39 00 00 7D */ li r8, 0x7d /* 8019AF40 00197EA0 3B 18 00 01 */ addi r24, r24, 1 /* 8019AF44 00197EA4 48 16 D7 89 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019AF48 00197EA8 C0 17 01 F8 */ lfs f0, 0x1f8(r23) /* 8019AF4C 00197EAC 38 61 00 1C */ addi r3, r1, 0x1c /* 8019AF50 00197EB0 C0 82 A6 DC */ lfs f4, lbl_805AC3FC@sda21(r2) /* 8019AF54 00197EB4 EC 3D 00 32 */ fmuls f1, f29, f0 /* 8019AF58 00197EB8 EC 64 00 28 */ fsubs f3, f4, f0 /* 8019AF5C 00197EBC EC 04 08 28 */ fsubs f0, f4, f1 /* 8019AF60 00197EC0 FC 40 08 90 */ fmr f2, f1 /* 8019AF64 00197EC4 EF 83 00 24 */ fdivs f28, f3, f0 /* 8019AF68 00197EC8 FC 60 08 90 */ fmr f3, f1 /* 8019AF6C 00197ECC 48 1C 84 81 */ bl __ct__6CColorFffff /* 8019AF70 00197ED0 7C 64 1B 78 */ mr r4, r3 /* 8019AF74 00197ED4 38 60 00 03 */ li r3, 3 /* 8019AF78 00197ED8 48 16 DC CD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 8019AF7C 00197EDC 3B 40 00 01 */ li r26, 1 lbl_8019AF80: /* 8019AF80 00197EE0 EF 9C 07 72 */ fmuls f28, f28, f29 /* 8019AF84 00197EE4 C0 82 A6 DC */ lfs f4, lbl_805AC3FC@sda21(r2) /* 8019AF88 00197EE8 38 61 00 18 */ addi r3, r1, 0x18 /* 8019AF8C 00197EEC FC 20 E0 90 */ fmr f1, f28 /* 8019AF90 00197EF0 FC 40 E0 90 */ fmr f2, f28 /* 8019AF94 00197EF4 FC 60 E0 90 */ fmr f3, f28 /* 8019AF98 00197EF8 48 1C 84 55 */ bl __ct__6CColorFffff /* 8019AF9C 00197EFC 7C 64 1B 78 */ mr r4, r3 /* 8019AFA0 00197F00 38 60 00 02 */ li r3, 2 /* 8019AFA4 00197F04 48 16 DC A1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor lbl_8019AFA8: /* 8019AFA8 00197F08 C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 8019AFAC 00197F0C 7E 84 A3 78 */ mr r4, r20 /* 8019AFB0 00197F10 C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 8019AFB4 00197F14 38 61 00 60 */ addi r3, r1, 0x60 /* 8019AFB8 00197F18 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8019AFBC 00197F1C 38 A1 00 54 */ addi r5, r1, 0x54 /* 8019AFC0 00197F20 D0 21 00 58 */ stfs f1, 0x58(r1) /* 8019AFC4 00197F24 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 8019AFC8 00197F28 48 17 7A 5D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8019AFCC 00197F2C C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 8019AFD0 00197F30 3C 60 80 5A */ lis r3, lbl_805A61D4@ha /* 8019AFD4 00197F34 C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 8019AFD8 00197F38 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l /* 8019AFDC 00197F3C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8019AFE0 00197F40 38 61 01 60 */ addi r3, r1, 0x160 /* 8019AFE4 00197F44 C3 A1 00 60 */ lfs f29, 0x60(r1) /* 8019AFE8 00197F48 D0 01 00 40 */ stfs f0, 0x40(r1) /* 8019AFEC 00197F4C C3 C1 00 64 */ lfs f30, 0x64(r1) /* 8019AFF0 00197F50 D0 21 00 44 */ stfs f1, 0x44(r1) /* 8019AFF4 00197F54 C3 81 00 68 */ lfs f28, 0x68(r1) /* 8019AFF8 00197F58 48 17 7C A5 */ bl GetQuickInverse__12CTransform4fCFv /* 8019AFFC 00197F5C 38 61 00 48 */ addi r3, r1, 0x48 /* 8019B000 00197F60 38 81 01 60 */ addi r4, r1, 0x160 /* 8019B004 00197F64 38 A1 00 3C */ addi r5, r1, 0x3c /* 8019B008 00197F68 48 17 7A 1D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8019B00C 00197F6C C0 01 00 4C */ lfs f0, 0x4c(r1) /* 8019B010 00197F70 C0 41 00 48 */ lfs f2, 0x48(r1) /* 8019B014 00197F74 EC 3E 00 32 */ fmuls f1, f30, f0 /* 8019B018 00197F78 C0 61 00 50 */ lfs f3, 0x50(r1) /* 8019B01C 00197F7C C0 02 A6 E0 */ lfs f0, lbl_805AC400@sda21(r2) /* 8019B020 00197F80 EC 3D 08 BA */ fmadds f1, f29, f2, f1 /* 8019B024 00197F84 EC 3C 08 FA */ fmadds f1, f28, f3, f1 /* 8019B028 00197F88 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019B02C 00197F8C 40 80 00 08 */ bge lbl_8019B034 /* 8019B030 00197F90 FC 20 08 50 */ fneg f1, f1 lbl_8019B034: /* 8019B034 00197F94 C0 82 A6 DC */ lfs f4, lbl_805AC3FC@sda21(r2) /* 8019B038 00197F98 2C 1C 00 02 */ cmpwi r28, 2 /* 8019B03C 00197F9C C0 52 01 0C */ lfs f2, 0x10c(r18) /* 8019B040 00197FA0 38 61 00 14 */ addi r3, r1, 0x14 /* 8019B044 00197FA4 C0 12 01 10 */ lfs f0, 0x110(r18) /* 8019B048 00197FA8 EC 24 08 28 */ fsubs f1, f4, f1 /* 8019B04C 00197FAC EC 00 10 28 */ fsubs f0, f0, f2 /* 8019B050 00197FB0 EC 21 10 3A */ fmadds f1, f1, f0, f2 /* 8019B054 00197FB4 FC 40 08 90 */ fmr f2, f1 /* 8019B058 00197FB8 FC 60 08 90 */ fmr f3, f1 /* 8019B05C 00197FBC 40 82 00 08 */ bne lbl_8019B064 /* 8019B060 00197FC0 48 00 00 08 */ b lbl_8019B068 lbl_8019B064: /* 8019B064 00197FC4 FC 80 F8 90 */ fmr f4, f31 lbl_8019B068: /* 8019B068 00197FC8 48 1C 83 85 */ bl __ct__6CColorFffff /* 8019B06C 00197FCC 7C 64 1B 78 */ mr r4, r3 /* 8019B070 00197FD0 38 60 00 00 */ li r3, 0 /* 8019B074 00197FD4 48 16 DB D1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 8019B078 00197FD8 C0 32 01 14 */ lfs f1, 0x114(r18) /* 8019B07C 00197FDC 38 61 00 10 */ addi r3, r1, 0x10 /* 8019B080 00197FE0 C0 82 A6 DC */ lfs f4, lbl_805AC3FC@sda21(r2) /* 8019B084 00197FE4 FC 40 08 90 */ fmr f2, f1 /* 8019B088 00197FE8 FC 60 08 90 */ fmr f3, f1 /* 8019B08C 00197FEC 48 1C 83 61 */ bl __ct__6CColorFffff /* 8019B090 00197FF0 7C 64 1B 78 */ mr r4, r3 /* 8019B094 00197FF4 38 60 00 01 */ li r3, 1 /* 8019B098 00197FF8 48 16 DB AD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 8019B09C 00197FFC 57 03 06 3E */ clrlwi r3, r24, 0x18 /* 8019B0A0 00198000 48 16 DD 75 */ bl SetNumTexGens__3CGXFUc /* 8019B0A4 00198004 80 12 00 44 */ lwz r0, 0x44(r18) /* 8019B0A8 00198008 39 C0 00 00 */ li r14, 0 /* 8019B0AC 0019800C 2C 00 00 02 */ cmpwi r0, 2 /* 8019B0B0 00198010 41 82 05 0C */ beq lbl_8019B5BC /* 8019B0B4 00198014 40 80 00 14 */ bge lbl_8019B0C8 /* 8019B0B8 00198018 2C 00 00 00 */ cmpwi r0, 0 /* 8019B0BC 0019801C 41 82 00 18 */ beq lbl_8019B0D4 /* 8019B0C0 00198020 40 80 02 EC */ bge lbl_8019B3AC /* 8019B0C4 00198024 48 00 08 10 */ b lbl_8019B8D4 lbl_8019B0C8: /* 8019B0C8 00198028 2C 00 00 05 */ cmpwi r0, 5 /* 8019B0CC 0019802C 41 82 06 C8 */ beq lbl_8019B794 /* 8019B0D0 00198030 40 80 08 04 */ bge lbl_8019B8D4 lbl_8019B0D4: /* 8019B0D4 00198034 28 1D 00 00 */ cmplwi r29, 0 /* 8019B0D8 00198038 41 82 00 D4 */ beq lbl_8019B1AC /* 8019B0DC 0019803C 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8019B0E0 00198040 80 81 01 38 */ lwz r4, 0x138(r1) /* 8019B0E4 00198044 80 A1 01 58 */ lwz r5, 0x158(r1) /* 8019B0E8 00198048 38 60 00 00 */ li r3, 0 /* 8019B0EC 0019804C 38 C0 00 05 */ li r6, 5 /* 8019B0F0 00198050 41 82 00 08 */ beq lbl_8019B0F8 /* 8019B0F4 00198054 38 C0 00 FF */ li r6, 0xff lbl_8019B0F8: /* 8019B0F8 00198058 48 16 D8 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B0FC 0019805C 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8019B100 00198060 38 60 00 00 */ li r3, 0 /* 8019B104 00198064 38 80 00 0F */ li r4, 0xf /* 8019B108 00198068 38 A0 00 08 */ li r5, 8 /* 8019B10C 0019806C 38 C0 00 0E */ li r6, 0xe /* 8019B110 00198070 38 E0 00 0A */ li r7, 0xa /* 8019B114 00198074 41 82 00 08 */ beq lbl_8019B11C /* 8019B118 00198078 38 E0 00 0F */ li r7, 0xf lbl_8019B11C: /* 8019B11C 0019807C 48 16 DA D1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B120 00198080 38 60 00 00 */ li r3, 0 /* 8019B124 00198084 38 80 00 00 */ li r4, 0 /* 8019B128 00198088 38 A0 00 00 */ li r5, 0 /* 8019B12C 0019808C 38 C0 00 00 */ li r6, 0 /* 8019B130 00198090 38 E0 00 01 */ li r7, 1 /* 8019B134 00198094 39 00 00 03 */ li r8, 3 /* 8019B138 00198098 48 16 DA 01 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B13C 0019809C 38 60 00 00 */ li r3, 0 /* 8019B140 001980A0 38 80 00 0E */ li r4, 0xe /* 8019B144 001980A4 48 16 D8 9D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B148 001980A8 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8019B14C 001980AC 39 C0 00 01 */ li r14, 1 /* 8019B150 001980B0 41 82 00 5C */ beq lbl_8019B1AC /* 8019B154 001980B4 80 81 01 3C */ lwz r4, 0x13c(r1) /* 8019B158 001980B8 38 60 00 01 */ li r3, 1 /* 8019B15C 001980BC 80 A1 01 5C */ lwz r5, 0x15c(r1) /* 8019B160 001980C0 38 C0 00 05 */ li r6, 5 /* 8019B164 001980C4 48 16 D7 E9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B168 001980C8 38 60 00 01 */ li r3, 1 /* 8019B16C 001980CC 38 80 00 06 */ li r4, 6 /* 8019B170 001980D0 38 A0 00 08 */ li r5, 8 /* 8019B174 001980D4 38 C0 00 0E */ li r6, 0xe /* 8019B178 001980D8 38 E0 00 0A */ li r7, 0xa /* 8019B17C 001980DC 48 16 DA 71 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B180 001980E0 38 60 00 01 */ li r3, 1 /* 8019B184 001980E4 38 80 00 00 */ li r4, 0 /* 8019B188 001980E8 38 A0 00 00 */ li r5, 0 /* 8019B18C 001980EC 38 C0 00 00 */ li r6, 0 /* 8019B190 001980F0 38 E0 00 01 */ li r7, 1 /* 8019B194 001980F4 39 00 00 03 */ li r8, 3 /* 8019B198 001980F8 48 16 D9 A1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B19C 001980FC 38 60 00 01 */ li r3, 1 /* 8019B1A0 00198100 38 80 00 0F */ li r4, 0xf /* 8019B1A4 00198104 48 16 D8 3D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B1A8 00198108 39 C0 00 02 */ li r14, 2 lbl_8019B1AC: /* 8019B1AC 0019810C 80 81 01 20 */ lwz r4, 0x120(r1) /* 8019B1B0 00198110 7D C3 73 78 */ mr r3, r14 /* 8019B1B4 00198114 80 A1 01 40 */ lwz r5, 0x140(r1) /* 8019B1B8 00198118 38 C0 00 05 */ li r6, 5 /* 8019B1BC 0019811C 48 16 D7 91 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B1C0 00198120 7D C3 73 78 */ mr r3, r14 /* 8019B1C4 00198124 38 80 00 0F */ li r4, 0xf /* 8019B1C8 00198128 38 A0 00 08 */ li r5, 8 /* 8019B1CC 0019812C 38 C0 00 0E */ li r6, 0xe /* 8019B1D0 00198130 38 E0 00 0A */ li r7, 0xa /* 8019B1D4 00198134 48 16 DA 19 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B1D8 00198138 7D C3 73 78 */ mr r3, r14 /* 8019B1DC 0019813C 38 80 00 00 */ li r4, 0 /* 8019B1E0 00198140 38 A0 00 00 */ li r5, 0 /* 8019B1E4 00198144 38 C0 00 00 */ li r6, 0 /* 8019B1E8 00198148 38 E0 00 01 */ li r7, 1 /* 8019B1EC 0019814C 39 00 00 00 */ li r8, 0 /* 8019B1F0 00198150 48 16 D9 49 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B1F4 00198154 7D C3 73 78 */ mr r3, r14 /* 8019B1F8 00198158 38 80 00 0C */ li r4, 0xc /* 8019B1FC 0019815C 48 16 D7 E5 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B200 00198160 39 CE 00 01 */ addi r14, r14, 1 /* 8019B204 00198164 80 81 01 24 */ lwz r4, 0x124(r1) /* 8019B208 00198168 80 A1 01 44 */ lwz r5, 0x144(r1) /* 8019B20C 0019816C 7D C3 73 78 */ mr r3, r14 /* 8019B210 00198170 38 C0 00 04 */ li r6, 4 /* 8019B214 00198174 48 16 D7 39 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B218 00198178 7D C3 73 78 */ mr r3, r14 /* 8019B21C 0019817C 38 80 00 0F */ li r4, 0xf /* 8019B220 00198180 38 A0 00 08 */ li r5, 8 /* 8019B224 00198184 38 C0 00 00 */ li r6, 0 /* 8019B228 00198188 38 E0 00 0A */ li r7, 0xa /* 8019B22C 0019818C 48 16 D9 C1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B230 00198190 7D C3 73 78 */ mr r3, r14 /* 8019B234 00198194 38 80 00 00 */ li r4, 0 /* 8019B238 00198198 38 A0 00 00 */ li r5, 0 /* 8019B23C 0019819C 38 C0 00 00 */ li r6, 0 /* 8019B240 001981A0 38 E0 00 01 */ li r7, 1 /* 8019B244 001981A4 39 00 00 00 */ li r8, 0 /* 8019B248 001981A8 48 16 D8 F1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B24C 001981AC 39 CE 00 01 */ addi r14, r14, 1 /* 8019B250 001981B0 80 81 01 28 */ lwz r4, 0x128(r1) /* 8019B254 001981B4 80 A1 01 48 */ lwz r5, 0x148(r1) /* 8019B258 001981B8 7D C3 73 78 */ mr r3, r14 /* 8019B25C 001981BC 38 C0 00 05 */ li r6, 5 /* 8019B260 001981C0 48 16 D6 ED */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B264 001981C4 28 1D 00 00 */ cmplwi r29, 0 /* 8019B268 001981C8 7D C3 73 78 */ mr r3, r14 /* 8019B26C 001981CC 38 80 00 0F */ li r4, 0xf /* 8019B270 001981D0 38 A0 00 08 */ li r5, 8 /* 8019B274 001981D4 38 C0 00 0A */ li r6, 0xa /* 8019B278 001981D8 41 82 00 08 */ beq lbl_8019B280 /* 8019B27C 001981DC 38 C0 00 06 */ li r6, 6 lbl_8019B280: /* 8019B280 001981E0 38 E0 00 00 */ li r7, 0 /* 8019B284 001981E4 48 16 D9 69 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B288 001981E8 7D C3 73 78 */ mr r3, r14 /* 8019B28C 001981EC 38 80 00 00 */ li r4, 0 /* 8019B290 001981F0 38 A0 00 00 */ li r5, 0 /* 8019B294 001981F4 38 C0 00 00 */ li r6, 0 /* 8019B298 001981F8 38 E0 00 01 */ li r7, 1 /* 8019B29C 001981FC 39 00 00 00 */ li r8, 0 /* 8019B2A0 00198200 48 16 D8 99 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B2A4 00198204 2C 1C 00 00 */ cmpwi r28, 0 /* 8019B2A8 00198208 40 82 00 3C */ bne lbl_8019B2E4 /* 8019B2AC 0019820C 28 1B 00 00 */ cmplwi r27, 0 /* 8019B2B0 00198210 41 82 00 34 */ beq lbl_8019B2E4 /* 8019B2B4 00198214 38 00 00 00 */ li r0, 0 /* 8019B2B8 00198218 7D C3 73 78 */ mr r3, r14 /* 8019B2BC 0019821C 90 01 00 08 */ stw r0, 8(r1) /* 8019B2C0 00198220 38 80 00 00 */ li r4, 0 /* 8019B2C4 00198224 38 A0 00 00 */ li r5, 0 /* 8019B2C8 00198228 38 C0 00 07 */ li r6, 7 /* 8019B2CC 0019822C 90 01 00 0C */ stw r0, 0xc(r1) /* 8019B2D0 00198230 38 E0 00 01 */ li r7, 1 /* 8019B2D4 00198234 39 00 00 00 */ li r8, 0 /* 8019B2D8 00198238 39 20 00 00 */ li r9, 0 /* 8019B2DC 0019823C 39 40 00 00 */ li r10, 0 /* 8019B2E0 00198240 48 16 D4 AD */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel lbl_8019B2E4: /* 8019B2E4 00198244 2C 1C 00 00 */ cmpwi r28, 0 /* 8019B2E8 00198248 39 CE 00 01 */ addi r14, r14, 1 /* 8019B2EC 0019824C 40 81 06 18 */ ble lbl_8019B904 /* 8019B2F0 00198250 80 81 01 30 */ lwz r4, 0x130(r1) /* 8019B2F4 00198254 7D C3 73 78 */ mr r3, r14 /* 8019B2F8 00198258 80 A1 01 50 */ lwz r5, 0x150(r1) /* 8019B2FC 0019825C 38 C0 00 FF */ li r6, 0xff /* 8019B300 00198260 48 16 D6 4D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B304 00198264 2C 1C 00 01 */ cmpwi r28, 1 /* 8019B308 00198268 38 E0 00 08 */ li r7, 8 /* 8019B30C 0019826C 40 82 00 08 */ bne lbl_8019B314 /* 8019B310 00198270 38 E0 00 0F */ li r7, 0xf lbl_8019B314: /* 8019B314 00198274 2C 1C 00 01 */ cmpwi r28, 1 /* 8019B318 00198278 38 C0 00 0F */ li r6, 0xf /* 8019B31C 0019827C 40 82 00 08 */ bne lbl_8019B324 /* 8019B320 00198280 38 C0 00 0E */ li r6, 0xe lbl_8019B324: /* 8019B324 00198284 2C 1C 00 01 */ cmpwi r28, 1 /* 8019B328 00198288 38 A0 00 0F */ li r5, 0xf /* 8019B32C 0019828C 40 82 00 08 */ bne lbl_8019B334 /* 8019B330 00198290 38 A0 00 08 */ li r5, 8 lbl_8019B334: /* 8019B334 00198294 2C 1C 00 01 */ cmpwi r28, 1 /* 8019B338 00198298 7D C3 73 78 */ mr r3, r14 /* 8019B33C 0019829C 38 80 00 0F */ li r4, 0xf /* 8019B340 001982A0 40 82 00 08 */ bne lbl_8019B348 /* 8019B344 001982A4 38 80 00 00 */ li r4, 0 lbl_8019B348: /* 8019B348 001982A8 48 16 D8 A5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B34C 001982AC 7D C3 73 78 */ mr r3, r14 /* 8019B350 001982B0 38 80 00 00 */ li r4, 0 /* 8019B354 001982B4 38 A0 00 00 */ li r5, 0 /* 8019B358 001982B8 38 C0 00 00 */ li r6, 0 /* 8019B35C 001982BC 38 E0 00 01 */ li r7, 1 /* 8019B360 001982C0 39 00 00 00 */ li r8, 0 /* 8019B364 001982C4 48 16 D7 D5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B368 001982C8 7D C3 73 78 */ mr r3, r14 /* 8019B36C 001982CC 38 80 00 0D */ li r4, 0xd /* 8019B370 001982D0 48 16 D6 71 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B374 001982D4 38 00 00 00 */ li r0, 0 /* 8019B378 001982D8 7D C3 73 78 */ mr r3, r14 /* 8019B37C 001982DC 90 01 00 08 */ stw r0, 8(r1) /* 8019B380 001982E0 38 80 00 00 */ li r4, 0 /* 8019B384 001982E4 38 A0 00 00 */ li r5, 0 /* 8019B388 001982E8 38 C0 00 07 */ li r6, 7 /* 8019B38C 001982EC 90 01 00 0C */ stw r0, 0xc(r1) /* 8019B390 001982F0 38 E0 00 01 */ li r7, 1 /* 8019B394 001982F4 39 00 00 00 */ li r8, 0 /* 8019B398 001982F8 39 20 00 00 */ li r9, 0 /* 8019B39C 001982FC 39 40 00 00 */ li r10, 0 /* 8019B3A0 00198300 48 16 D3 ED */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel /* 8019B3A4 00198304 39 CE 00 01 */ addi r14, r14, 1 /* 8019B3A8 00198308 48 00 05 5C */ b lbl_8019B904 lbl_8019B3AC: /* 8019B3AC 0019830C 28 1D 00 00 */ cmplwi r29, 0 /* 8019B3B0 00198310 41 82 00 D4 */ beq lbl_8019B484 /* 8019B3B4 00198314 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8019B3B8 00198318 80 81 01 38 */ lwz r4, 0x138(r1) /* 8019B3BC 0019831C 80 A1 01 58 */ lwz r5, 0x158(r1) /* 8019B3C0 00198320 38 60 00 00 */ li r3, 0 /* 8019B3C4 00198324 38 C0 00 05 */ li r6, 5 /* 8019B3C8 00198328 41 82 00 08 */ beq lbl_8019B3D0 /* 8019B3CC 0019832C 38 C0 00 FF */ li r6, 0xff lbl_8019B3D0: /* 8019B3D0 00198330 48 16 D5 7D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B3D4 00198334 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8019B3D8 00198338 38 60 00 00 */ li r3, 0 /* 8019B3DC 0019833C 38 80 00 0F */ li r4, 0xf /* 8019B3E0 00198340 38 A0 00 08 */ li r5, 8 /* 8019B3E4 00198344 38 C0 00 0E */ li r6, 0xe /* 8019B3E8 00198348 38 E0 00 0A */ li r7, 0xa /* 8019B3EC 0019834C 41 82 00 08 */ beq lbl_8019B3F4 /* 8019B3F0 00198350 38 E0 00 0F */ li r7, 0xf lbl_8019B3F4: /* 8019B3F4 00198354 48 16 D7 F9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B3F8 00198358 38 60 00 00 */ li r3, 0 /* 8019B3FC 0019835C 38 80 00 00 */ li r4, 0 /* 8019B400 00198360 38 A0 00 00 */ li r5, 0 /* 8019B404 00198364 38 C0 00 00 */ li r6, 0 /* 8019B408 00198368 38 E0 00 01 */ li r7, 1 /* 8019B40C 0019836C 39 00 00 03 */ li r8, 3 /* 8019B410 00198370 48 16 D7 29 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B414 00198374 38 60 00 00 */ li r3, 0 /* 8019B418 00198378 38 80 00 0E */ li r4, 0xe /* 8019B41C 0019837C 48 16 D5 C5 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B420 00198380 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8019B424 00198384 39 C0 00 01 */ li r14, 1 /* 8019B428 00198388 41 82 00 5C */ beq lbl_8019B484 /* 8019B42C 0019838C 80 81 01 3C */ lwz r4, 0x13c(r1) /* 8019B430 00198390 38 60 00 01 */ li r3, 1 /* 8019B434 00198394 80 A1 01 5C */ lwz r5, 0x15c(r1) /* 8019B438 00198398 38 C0 00 05 */ li r6, 5 /* 8019B43C 0019839C 48 16 D5 11 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B440 001983A0 38 60 00 01 */ li r3, 1 /* 8019B444 001983A4 38 80 00 06 */ li r4, 6 /* 8019B448 001983A8 38 A0 00 08 */ li r5, 8 /* 8019B44C 001983AC 38 C0 00 0E */ li r6, 0xe /* 8019B450 001983B0 38 E0 00 0A */ li r7, 0xa /* 8019B454 001983B4 48 16 D7 99 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B458 001983B8 38 60 00 01 */ li r3, 1 /* 8019B45C 001983BC 38 80 00 00 */ li r4, 0 /* 8019B460 001983C0 38 A0 00 00 */ li r5, 0 /* 8019B464 001983C4 38 C0 00 00 */ li r6, 0 /* 8019B468 001983C8 38 E0 00 01 */ li r7, 1 /* 8019B46C 001983CC 39 00 00 03 */ li r8, 3 /* 8019B470 001983D0 48 16 D6 C9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B474 001983D4 38 60 00 01 */ li r3, 1 /* 8019B478 001983D8 38 80 00 0F */ li r4, 0xf /* 8019B47C 001983DC 48 16 D5 65 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B480 001983E0 39 C0 00 02 */ li r14, 2 lbl_8019B484: /* 8019B484 001983E4 80 81 01 20 */ lwz r4, 0x120(r1) /* 8019B488 001983E8 7D C3 73 78 */ mr r3, r14 /* 8019B48C 001983EC 80 A1 01 40 */ lwz r5, 0x140(r1) /* 8019B490 001983F0 38 C0 00 05 */ li r6, 5 /* 8019B494 001983F4 48 16 D4 B9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B498 001983F8 7D C3 73 78 */ mr r3, r14 /* 8019B49C 001983FC 38 80 00 0F */ li r4, 0xf /* 8019B4A0 00198400 38 A0 00 08 */ li r5, 8 /* 8019B4A4 00198404 38 C0 00 0E */ li r6, 0xe /* 8019B4A8 00198408 38 E0 00 0A */ li r7, 0xa /* 8019B4AC 0019840C 48 16 D7 41 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B4B0 00198410 7D C3 73 78 */ mr r3, r14 /* 8019B4B4 00198414 38 80 00 00 */ li r4, 0 /* 8019B4B8 00198418 38 A0 00 00 */ li r5, 0 /* 8019B4BC 0019841C 38 C0 00 00 */ li r6, 0 /* 8019B4C0 00198420 38 E0 00 01 */ li r7, 1 /* 8019B4C4 00198424 39 00 00 00 */ li r8, 0 /* 8019B4C8 00198428 48 16 D6 71 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B4CC 0019842C 7D C3 73 78 */ mr r3, r14 /* 8019B4D0 00198430 38 80 00 0C */ li r4, 0xc /* 8019B4D4 00198434 48 16 D5 0D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B4D8 00198438 39 CE 00 01 */ addi r14, r14, 1 /* 8019B4DC 0019843C 80 81 01 24 */ lwz r4, 0x124(r1) /* 8019B4E0 00198440 80 A1 01 44 */ lwz r5, 0x144(r1) /* 8019B4E4 00198444 7D C3 73 78 */ mr r3, r14 /* 8019B4E8 00198448 38 C0 00 04 */ li r6, 4 /* 8019B4EC 0019844C 48 16 D4 61 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B4F0 00198450 7D C3 73 78 */ mr r3, r14 /* 8019B4F4 00198454 38 80 00 0F */ li r4, 0xf /* 8019B4F8 00198458 38 A0 00 08 */ li r5, 8 /* 8019B4FC 0019845C 38 C0 00 00 */ li r6, 0 /* 8019B500 00198460 38 E0 00 0A */ li r7, 0xa /* 8019B504 00198464 48 16 D6 E9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B508 00198468 7D C3 73 78 */ mr r3, r14 /* 8019B50C 0019846C 38 80 00 00 */ li r4, 0 /* 8019B510 00198470 38 A0 00 00 */ li r5, 0 /* 8019B514 00198474 38 C0 00 00 */ li r6, 0 /* 8019B518 00198478 38 E0 00 01 */ li r7, 1 /* 8019B51C 0019847C 39 00 00 00 */ li r8, 0 /* 8019B520 00198480 48 16 D6 19 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B524 00198484 39 CE 00 01 */ addi r14, r14, 1 /* 8019B528 00198488 80 81 01 28 */ lwz r4, 0x128(r1) /* 8019B52C 0019848C 80 A1 01 48 */ lwz r5, 0x148(r1) /* 8019B530 00198490 7D C3 73 78 */ mr r3, r14 /* 8019B534 00198494 38 C0 00 05 */ li r6, 5 /* 8019B538 00198498 48 16 D4 15 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B53C 0019849C 28 1D 00 00 */ cmplwi r29, 0 /* 8019B540 001984A0 7D C3 73 78 */ mr r3, r14 /* 8019B544 001984A4 38 80 00 0F */ li r4, 0xf /* 8019B548 001984A8 38 A0 00 08 */ li r5, 8 /* 8019B54C 001984AC 38 C0 00 0A */ li r6, 0xa /* 8019B550 001984B0 41 82 00 08 */ beq lbl_8019B558 /* 8019B554 001984B4 38 C0 00 06 */ li r6, 6 lbl_8019B558: /* 8019B558 001984B8 38 E0 00 00 */ li r7, 0 /* 8019B55C 001984BC 48 16 D6 91 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B560 001984C0 7D C3 73 78 */ mr r3, r14 /* 8019B564 001984C4 38 80 00 00 */ li r4, 0 /* 8019B568 001984C8 38 A0 00 00 */ li r5, 0 /* 8019B56C 001984CC 38 C0 00 00 */ li r6, 0 /* 8019B570 001984D0 38 E0 00 01 */ li r7, 1 /* 8019B574 001984D4 39 00 00 00 */ li r8, 0 /* 8019B578 001984D8 48 16 D5 C1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B57C 001984DC 28 1B 00 00 */ cmplwi r27, 0 /* 8019B580 001984E0 41 82 00 34 */ beq lbl_8019B5B4 /* 8019B584 001984E4 38 00 00 00 */ li r0, 0 /* 8019B588 001984E8 7D C3 73 78 */ mr r3, r14 /* 8019B58C 001984EC 90 01 00 08 */ stw r0, 8(r1) /* 8019B590 001984F0 38 80 00 00 */ li r4, 0 /* 8019B594 001984F4 38 A0 00 00 */ li r5, 0 /* 8019B598 001984F8 38 C0 00 07 */ li r6, 7 /* 8019B59C 001984FC 90 01 00 0C */ stw r0, 0xc(r1) /* 8019B5A0 00198500 38 E0 00 01 */ li r7, 1 /* 8019B5A4 00198504 39 00 00 00 */ li r8, 0 /* 8019B5A8 00198508 39 20 00 00 */ li r9, 0 /* 8019B5AC 0019850C 39 40 00 00 */ li r10, 0 /* 8019B5B0 00198510 48 16 D1 DD */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel lbl_8019B5B4: /* 8019B5B4 00198514 39 CE 00 01 */ addi r14, r14, 1 /* 8019B5B8 00198518 48 00 03 4C */ b lbl_8019B904 lbl_8019B5BC: /* 8019B5BC 0019851C 80 81 01 20 */ lwz r4, 0x120(r1) /* 8019B5C0 00198520 38 60 00 00 */ li r3, 0 /* 8019B5C4 00198524 80 A1 01 40 */ lwz r5, 0x140(r1) /* 8019B5C8 00198528 38 C0 00 04 */ li r6, 4 /* 8019B5CC 0019852C 48 16 D3 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B5D0 00198530 38 60 00 00 */ li r3, 0 /* 8019B5D4 00198534 38 80 00 0F */ li r4, 0xf /* 8019B5D8 00198538 38 A0 00 08 */ li r5, 8 /* 8019B5DC 0019853C 38 C0 00 0E */ li r6, 0xe /* 8019B5E0 00198540 38 E0 00 0A */ li r7, 0xa /* 8019B5E4 00198544 48 16 D6 09 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B5E8 00198548 38 60 00 00 */ li r3, 0 /* 8019B5EC 0019854C 38 80 00 00 */ li r4, 0 /* 8019B5F0 00198550 38 A0 00 00 */ li r5, 0 /* 8019B5F4 00198554 38 C0 00 00 */ li r6, 0 /* 8019B5F8 00198558 38 E0 00 01 */ li r7, 1 /* 8019B5FC 0019855C 39 00 00 00 */ li r8, 0 /* 8019B600 00198560 48 16 D5 39 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B604 00198564 38 60 00 00 */ li r3, 0 /* 8019B608 00198568 38 80 00 0C */ li r4, 0xc /* 8019B60C 0019856C 48 16 D3 D5 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B610 00198570 80 81 01 24 */ lwz r4, 0x124(r1) /* 8019B614 00198574 38 60 00 01 */ li r3, 1 /* 8019B618 00198578 80 A1 01 44 */ lwz r5, 0x144(r1) /* 8019B61C 0019857C 38 C0 00 04 */ li r6, 4 /* 8019B620 00198580 48 16 D3 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B624 00198584 38 60 00 01 */ li r3, 1 /* 8019B628 00198588 38 80 00 0F */ li r4, 0xf /* 8019B62C 0019858C 38 A0 00 08 */ li r5, 8 /* 8019B630 00198590 38 C0 00 00 */ li r6, 0 /* 8019B634 00198594 38 E0 00 0A */ li r7, 0xa /* 8019B638 00198598 48 16 D5 B5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B63C 0019859C 38 60 00 01 */ li r3, 1 /* 8019B640 001985A0 38 80 00 00 */ li r4, 0 /* 8019B644 001985A4 38 A0 00 00 */ li r5, 0 /* 8019B648 001985A8 38 C0 00 00 */ li r6, 0 /* 8019B64C 001985AC 38 E0 00 01 */ li r7, 1 /* 8019B650 001985B0 39 00 00 00 */ li r8, 0 /* 8019B654 001985B4 48 16 D4 E5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B658 001985B8 80 81 01 28 */ lwz r4, 0x128(r1) /* 8019B65C 001985BC 38 60 00 02 */ li r3, 2 /* 8019B660 001985C0 80 A1 01 48 */ lwz r5, 0x148(r1) /* 8019B664 001985C4 38 C0 00 FF */ li r6, 0xff /* 8019B668 001985C8 48 16 D2 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B66C 001985CC 38 60 00 02 */ li r3, 2 /* 8019B670 001985D0 38 80 00 0F */ li r4, 0xf /* 8019B674 001985D4 38 A0 00 08 */ li r5, 8 /* 8019B678 001985D8 38 C0 00 0C */ li r6, 0xc /* 8019B67C 001985DC 38 E0 00 00 */ li r7, 0 /* 8019B680 001985E0 48 16 D5 6D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B684 001985E4 38 60 00 02 */ li r3, 2 /* 8019B688 001985E8 38 80 00 00 */ li r4, 0 /* 8019B68C 001985EC 38 A0 00 00 */ li r5, 0 /* 8019B690 001985F0 38 C0 00 00 */ li r6, 0 /* 8019B694 001985F4 38 E0 00 01 */ li r7, 1 /* 8019B698 001985F8 39 00 00 00 */ li r8, 0 /* 8019B69C 001985FC 48 16 D4 9D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B6A0 00198600 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8019B6A4 00198604 39 C0 00 03 */ li r14, 3 /* 8019B6A8 00198608 41 82 02 5C */ beq lbl_8019B904 /* 8019B6AC 0019860C 81 C1 01 4C */ lwz r14, 0x14c(r1) /* 8019B6B0 00198610 38 60 00 03 */ li r3, 3 /* 8019B6B4 00198614 80 81 01 2C */ lwz r4, 0x12c(r1) /* 8019B6B8 00198618 38 C0 00 FF */ li r6, 0xff /* 8019B6BC 0019861C 7D C5 73 78 */ mr r5, r14 /* 8019B6C0 00198620 48 16 D2 8D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B6C4 00198624 38 60 00 03 */ li r3, 3 /* 8019B6C8 00198628 38 80 00 0F */ li r4, 0xf /* 8019B6CC 0019862C 38 A0 00 08 */ li r5, 8 /* 8019B6D0 00198630 38 C0 00 0C */ li r6, 0xc /* 8019B6D4 00198634 38 E0 00 0D */ li r7, 0xd /* 8019B6D8 00198638 48 16 D5 15 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B6DC 0019863C 38 60 00 03 */ li r3, 3 /* 8019B6E0 00198640 38 80 00 00 */ li r4, 0 /* 8019B6E4 00198644 38 A0 00 00 */ li r5, 0 /* 8019B6E8 00198648 38 C0 00 00 */ li r6, 0 /* 8019B6EC 0019864C 38 E0 00 00 */ li r7, 0 /* 8019B6F0 00198650 39 00 00 01 */ li r8, 1 /* 8019B6F4 00198654 48 16 D4 45 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B6F8 00198658 80 81 01 2C */ lwz r4, 0x12c(r1) /* 8019B6FC 0019865C 7D C5 73 78 */ mr r5, r14 /* 8019B700 00198660 38 60 00 04 */ li r3, 4 /* 8019B704 00198664 38 C0 00 FF */ li r6, 0xff /* 8019B708 00198668 38 84 00 01 */ addi r4, r4, 1 /* 8019B70C 0019866C 48 16 D2 41 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B710 00198670 38 60 00 04 */ li r3, 4 /* 8019B714 00198674 38 80 00 0F */ li r4, 0xf /* 8019B718 00198678 38 A0 00 08 */ li r5, 8 /* 8019B71C 0019867C 38 C0 00 0C */ li r6, 0xc /* 8019B720 00198680 38 E0 00 02 */ li r7, 2 /* 8019B724 00198684 48 16 D4 C9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B728 00198688 38 60 00 04 */ li r3, 4 /* 8019B72C 0019868C 38 80 00 01 */ li r4, 1 /* 8019B730 00198690 38 A0 00 00 */ li r5, 0 /* 8019B734 00198694 38 C0 00 00 */ li r6, 0 /* 8019B738 00198698 38 E0 00 01 */ li r7, 1 /* 8019B73C 0019869C 39 00 00 01 */ li r8, 1 /* 8019B740 001986A0 48 16 D3 F9 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B744 001986A4 38 60 00 05 */ li r3, 5 /* 8019B748 001986A8 38 80 00 FF */ li r4, 0xff /* 8019B74C 001986AC 38 A0 00 FF */ li r5, 0xff /* 8019B750 001986B0 38 C0 00 FF */ li r6, 0xff /* 8019B754 001986B4 48 16 D1 F9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B758 001986B8 38 60 00 05 */ li r3, 5 /* 8019B75C 001986BC 38 80 00 0F */ li r4, 0xf /* 8019B760 001986C0 38 A0 00 00 */ li r5, 0 /* 8019B764 001986C4 38 C0 00 02 */ li r6, 2 /* 8019B768 001986C8 38 E0 00 0F */ li r7, 0xf /* 8019B76C 001986CC 48 16 D4 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B770 001986D0 38 60 00 05 */ li r3, 5 /* 8019B774 001986D4 38 80 00 00 */ li r4, 0 /* 8019B778 001986D8 38 A0 00 00 */ li r5, 0 /* 8019B77C 001986DC 38 C0 00 01 */ li r6, 1 /* 8019B780 001986E0 38 E0 00 01 */ li r7, 1 /* 8019B784 001986E4 39 00 00 00 */ li r8, 0 /* 8019B788 001986E8 48 16 D3 B1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B78C 001986EC 39 C0 00 06 */ li r14, 6 /* 8019B790 001986F0 48 00 01 74 */ b lbl_8019B904 lbl_8019B794: /* 8019B794 001986F4 80 81 01 20 */ lwz r4, 0x120(r1) /* 8019B798 001986F8 38 60 00 00 */ li r3, 0 /* 8019B79C 001986FC 80 A1 01 40 */ lwz r5, 0x140(r1) /* 8019B7A0 00198700 38 C0 00 04 */ li r6, 4 /* 8019B7A4 00198704 48 16 D1 A9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B7A8 00198708 38 60 00 00 */ li r3, 0 /* 8019B7AC 0019870C 38 80 00 0F */ li r4, 0xf /* 8019B7B0 00198710 38 A0 00 08 */ li r5, 8 /* 8019B7B4 00198714 38 C0 00 0E */ li r6, 0xe /* 8019B7B8 00198718 38 E0 00 0A */ li r7, 0xa /* 8019B7BC 0019871C 48 16 D4 31 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B7C0 00198720 38 60 00 00 */ li r3, 0 /* 8019B7C4 00198724 38 80 00 00 */ li r4, 0 /* 8019B7C8 00198728 38 A0 00 00 */ li r5, 0 /* 8019B7CC 0019872C 38 C0 00 00 */ li r6, 0 /* 8019B7D0 00198730 38 E0 00 01 */ li r7, 1 /* 8019B7D4 00198734 39 00 00 00 */ li r8, 0 /* 8019B7D8 00198738 48 16 D3 61 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B7DC 0019873C 38 60 00 00 */ li r3, 0 /* 8019B7E0 00198740 38 80 00 0C */ li r4, 0xc /* 8019B7E4 00198744 48 16 D1 FD */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019B7E8 00198748 80 81 01 24 */ lwz r4, 0x124(r1) /* 8019B7EC 0019874C 38 60 00 01 */ li r3, 1 /* 8019B7F0 00198750 80 A1 01 44 */ lwz r5, 0x144(r1) /* 8019B7F4 00198754 38 C0 00 04 */ li r6, 4 /* 8019B7F8 00198758 48 16 D1 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B7FC 0019875C 38 60 00 01 */ li r3, 1 /* 8019B800 00198760 38 80 00 0F */ li r4, 0xf /* 8019B804 00198764 38 A0 00 08 */ li r5, 8 /* 8019B808 00198768 38 C0 00 00 */ li r6, 0 /* 8019B80C 0019876C 38 E0 00 0A */ li r7, 0xa /* 8019B810 00198770 48 16 D3 DD */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B814 00198774 38 60 00 01 */ li r3, 1 /* 8019B818 00198778 38 80 00 00 */ li r4, 0 /* 8019B81C 0019877C 38 A0 00 00 */ li r5, 0 /* 8019B820 00198780 38 C0 00 00 */ li r6, 0 /* 8019B824 00198784 38 E0 00 01 */ li r7, 1 /* 8019B828 00198788 39 00 00 00 */ li r8, 0 /* 8019B82C 0019878C 48 16 D3 0D */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B830 00198790 80 81 01 28 */ lwz r4, 0x128(r1) /* 8019B834 00198794 38 60 00 02 */ li r3, 2 /* 8019B838 00198798 80 A1 01 48 */ lwz r5, 0x148(r1) /* 8019B83C 0019879C 38 C0 00 FF */ li r6, 0xff /* 8019B840 001987A0 48 16 D1 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B844 001987A4 38 60 00 02 */ li r3, 2 /* 8019B848 001987A8 38 80 00 0F */ li r4, 0xf /* 8019B84C 001987AC 38 A0 00 08 */ li r5, 8 /* 8019B850 001987B0 38 C0 00 0C */ li r6, 0xc /* 8019B854 001987B4 38 E0 00 00 */ li r7, 0 /* 8019B858 001987B8 48 16 D3 95 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B85C 001987BC 38 60 00 02 */ li r3, 2 /* 8019B860 001987C0 38 80 00 00 */ li r4, 0 /* 8019B864 001987C4 38 A0 00 00 */ li r5, 0 /* 8019B868 001987C8 38 C0 00 00 */ li r6, 0 /* 8019B86C 001987CC 38 E0 00 01 */ li r7, 1 /* 8019B870 001987D0 39 00 00 00 */ li r8, 0 /* 8019B874 001987D4 48 16 D2 C5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B878 001987D8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8019B87C 001987DC 39 C0 00 03 */ li r14, 3 /* 8019B880 001987E0 41 82 00 84 */ beq lbl_8019B904 /* 8019B884 001987E4 80 81 01 2C */ lwz r4, 0x12c(r1) /* 8019B888 001987E8 38 60 00 03 */ li r3, 3 /* 8019B88C 001987EC 80 A1 01 4C */ lwz r5, 0x14c(r1) /* 8019B890 001987F0 38 C0 00 FF */ li r6, 0xff /* 8019B894 001987F4 48 16 D0 B9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019B898 001987F8 38 60 00 03 */ li r3, 3 /* 8019B89C 001987FC 38 80 00 0F */ li r4, 0xf /* 8019B8A0 00198800 38 A0 00 08 */ li r5, 8 /* 8019B8A4 00198804 38 C0 00 00 */ li r6, 0 /* 8019B8A8 00198808 38 E0 00 0F */ li r7, 0xf /* 8019B8AC 0019880C 48 16 D3 41 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019B8B0 00198810 38 60 00 03 */ li r3, 3 /* 8019B8B4 00198814 38 80 00 00 */ li r4, 0 /* 8019B8B8 00198818 38 A0 00 00 */ li r5, 0 /* 8019B8BC 0019881C 38 C0 00 01 */ li r6, 1 /* 8019B8C0 00198820 38 E0 00 01 */ li r7, 1 /* 8019B8C4 00198824 39 00 00 00 */ li r8, 0 /* 8019B8C8 00198828 48 16 D2 71 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B8CC 0019882C 39 C0 00 04 */ li r14, 4 /* 8019B8D0 00198830 48 00 00 34 */ b lbl_8019B904 lbl_8019B8D4: /* 8019B8D4 00198834 88 0D A4 81 */ lbz r0, lbl_805A9041@sda21(r13) /* 8019B8D8 00198838 7C 00 07 75 */ extsb. r0, r0 /* 8019B8DC 0019883C 40 82 00 14 */ bne lbl_8019B8F0 /* 8019B8E0 00198840 38 60 00 00 */ li r3, 0 /* 8019B8E4 00198844 38 00 00 01 */ li r0, 1 /* 8019B8E8 00198848 98 6D A4 80 */ stb r3, lbl_805A9040@sda21(r13) /* 8019B8EC 0019884C 98 0D A4 81 */ stb r0, lbl_805A9041@sda21(r13) lbl_8019B8F0: /* 8019B8F0 00198850 88 0D A4 80 */ lbz r0, lbl_805A9040@sda21(r13) /* 8019B8F4 00198854 28 00 00 00 */ cmplwi r0, 0 /* 8019B8F8 00198858 40 82 00 0C */ bne lbl_8019B904 /* 8019B8FC 0019885C 38 00 00 01 */ li r0, 1 /* 8019B900 00198860 98 0D A4 80 */ stb r0, lbl_805A9040@sda21(r13) lbl_8019B904: /* 8019B904 00198864 55 C3 06 3E */ clrlwi r3, r14, 0x18 /* 8019B908 00198868 48 16 D3 89 */ bl SetNumTevStages__3CGXFUc /* 8019B90C 0019886C 39 CE FF FF */ addi r14, r14, -1 /* 8019B910 00198870 38 80 00 07 */ li r4, 7 /* 8019B914 00198874 7D C3 73 78 */ mr r3, r14 /* 8019B918 00198878 38 A0 00 07 */ li r5, 7 /* 8019B91C 0019887C 38 C0 00 07 */ li r6, 7 /* 8019B920 00198880 38 E0 00 06 */ li r7, 6 /* 8019B924 00198884 48 16 D2 71 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 8019B928 00198888 7D C3 73 78 */ mr r3, r14 /* 8019B92C 0019888C 38 80 00 00 */ li r4, 0 /* 8019B930 00198890 38 A0 00 00 */ li r5, 0 /* 8019B934 00198894 38 C0 00 00 */ li r6, 0 /* 8019B938 00198898 38 E0 00 01 */ li r7, 1 /* 8019B93C 0019889C 39 00 00 00 */ li r8, 0 /* 8019B940 001988A0 48 16 D1 41 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID /* 8019B944 001988A4 7D C3 73 78 */ mr r3, r14 /* 8019B948 001988A8 38 80 00 1C */ li r4, 0x1c /* 8019B94C 001988AC 48 16 D0 51 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 8019B950 001988B0 80 13 0F 34 */ lwz r0, 0xf34(r19) /* 8019B954 001988B4 2C 00 00 00 */ cmpwi r0, 0 /* 8019B958 001988B8 40 82 00 1C */ bne lbl_8019B974 /* 8019B95C 001988BC 38 60 00 01 */ li r3, 1 /* 8019B960 001988C0 38 80 00 01 */ li r4, 1 /* 8019B964 001988C4 38 A0 00 01 */ li r5, 1 /* 8019B968 001988C8 38 C0 00 00 */ li r6, 0 /* 8019B96C 001988CC 48 16 CF 65 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 8019B970 001988D0 48 00 00 2C */ b lbl_8019B99C lbl_8019B974: /* 8019B974 001988D4 C0 02 A6 DC */ lfs f0, lbl_805AC3FC@sda21(r2) /* 8019B978 001988D8 FC 00 F8 00 */ fcmpu cr0, f0, f31 /* 8019B97C 001988DC 40 82 00 0C */ bne lbl_8019B988 /* 8019B980 001988E0 38 60 00 00 */ li r3, 0 /* 8019B984 001988E4 48 00 00 08 */ b lbl_8019B98C lbl_8019B988: /* 8019B988 001988E8 38 60 00 01 */ li r3, 1 lbl_8019B98C: /* 8019B98C 001988EC 38 80 00 04 */ li r4, 4 /* 8019B990 001988F0 38 A0 00 05 */ li r5, 5 /* 8019B994 001988F4 38 C0 00 00 */ li r6, 0 /* 8019B998 001988F8 48 16 CF 39 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp lbl_8019B99C: /* 8019B99C 001988FC 38 60 00 01 */ li r3, 1 /* 8019B9A0 00198900 38 80 00 03 */ li r4, 3 /* 8019B9A4 00198904 38 A0 00 00 */ li r5, 0 /* 8019B9A8 00198908 48 16 CE D5 */ bl SetZMode__3CGXFb10_GXCompareb /* 8019B9AC 0019890C 38 60 00 07 */ li r3, 7 /* 8019B9B0 00198910 38 80 00 00 */ li r4, 0 /* 8019B9B4 00198914 38 A0 00 00 */ li r5, 0 /* 8019B9B8 00198918 38 C0 00 07 */ li r6, 7 /* 8019B9BC 0019891C 38 E0 00 00 */ li r7, 0 /* 8019B9C0 00198920 48 16 CE 55 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc /* 8019B9C4 00198924 38 60 00 00 */ li r3, 0 /* 8019B9C8 00198928 48 1D D1 91 */ bl GXSetCullMode lbl_8019B9CC: /* 8019B9CC 0019892C E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 /* 8019B9D0 00198930 CB E1 04 30 */ lfd f31, 0x430(r1) /* 8019B9D4 00198934 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 /* 8019B9D8 00198938 CB C1 04 20 */ lfd f30, 0x420(r1) /* 8019B9DC 0019893C E3 A1 04 18 */ psq_l f29, 1048(r1), 0, qr0 /* 8019B9E0 00198940 CB A1 04 10 */ lfd f29, 0x410(r1) /* 8019B9E4 00198944 E3 81 04 08 */ psq_l f28, 1032(r1), 0, qr0 /* 8019B9E8 00198948 CB 81 04 00 */ lfd f28, 0x400(r1) /* 8019B9EC 0019894C B9 C1 03 B8 */ lmw r14, 0x3b8(r1) /* 8019B9F0 00198950 80 01 04 44 */ lwz r0, 0x444(r1) /* 8019B9F4 00198954 7C 08 03 A6 */ mtlr r0 /* 8019B9F8 00198958 38 21 04 40 */ addi r1, r1, 0x440 /* 8019B9FC 0019895C 4E 80 00 20 */ blr .global CalculateLightmapMtx__14CFluidPlaneCPUFRC12CTransform4fRC12CTransform4fRC6CAABoxi CalculateLightmapMtx__14CFluidPlaneCPUFRC12CTransform4fRC12CTransform4fRC6CAABoxi: /* 8019BA00 00198960 94 21 FD 90 */ stwu r1, -0x270(r1) /* 8019BA04 00198964 7C 08 02 A6 */ mflr r0 /* 8019BA08 00198968 90 01 02 74 */ stw r0, 0x274(r1) /* 8019BA0C 0019896C DB E1 02 60 */ stfd f31, 0x260(r1) /* 8019BA10 00198970 F3 E1 02 68 */ psq_st f31, 616(r1), 0, qr0 /* 8019BA14 00198974 DB C1 02 50 */ stfd f30, 0x250(r1) /* 8019BA18 00198978 F3 C1 02 58 */ psq_st f30, 600(r1), 0, qr0 /* 8019BA1C 0019897C DB A1 02 40 */ stfd f29, 0x240(r1) /* 8019BA20 00198980 F3 A1 02 48 */ psq_st f29, 584(r1), 0, qr0 /* 8019BA24 00198984 DB 81 02 30 */ stfd f28, 0x230(r1) /* 8019BA28 00198988 F3 81 02 38 */ psq_st f28, 568(r1), 0, qr0 /* 8019BA2C 0019898C DB 61 02 20 */ stfd f27, 0x220(r1) /* 8019BA30 00198990 F3 61 02 28 */ psq_st f27, 552(r1), 0, qr0 /* 8019BA34 00198994 DB 41 02 10 */ stfd f26, 0x210(r1) /* 8019BA38 00198998 F3 41 02 18 */ psq_st f26, 536(r1), 0, qr0 /* 8019BA3C 0019899C DB 21 02 00 */ stfd f25, 0x200(r1) /* 8019BA40 001989A0 F3 21 02 08 */ psq_st f25, 520(r1), 0, qr0 /* 8019BA44 001989A4 DB 01 01 F0 */ stfd f24, 0x1f0(r1) /* 8019BA48 001989A8 F3 01 01 F8 */ psq_st f24, 504(r1), 0, qr0 /* 8019BA4C 001989AC DA E1 01 E0 */ stfd f23, 0x1e0(r1) /* 8019BA50 001989B0 F2 E1 01 E8 */ psq_st f23, 488(r1), 0, qr0 /* 8019BA54 001989B4 BF 21 01 C4 */ stmw r25, 0x1c4(r1) /* 8019BA58 001989B8 7C 79 1B 78 */ mr r25, r3 /* 8019BA5C 001989BC 7C 9A 23 78 */ mr r26, r4 /* 8019BA60 001989C0 80 83 00 E8 */ lwz r4, 0xe8(r3) /* 8019BA64 001989C4 7C BB 2B 78 */ mr r27, r5 /* 8019BA68 001989C8 7C DC 33 78 */ mr r28, r6 /* 8019BA6C 001989CC 7C FF 3B 78 */ mr r31, r7 /* 8019BA70 001989D0 AB C4 00 04 */ lha r30, 4(r4) /* 8019BA74 001989D4 38 61 00 20 */ addi r3, r1, 0x20 /* 8019BA78 001989D8 AB A4 00 06 */ lha r29, 6(r4) /* 8019BA7C 001989DC 38 9A 00 20 */ addi r4, r26, 0x20 /* 8019BA80 001989E0 48 17 8D D1 */ bl AsNormalized__9CVector3fCFv /* 8019BA84 001989E4 7F 44 D3 78 */ mr r4, r26 /* 8019BA88 001989E8 38 61 00 94 */ addi r3, r1, 0x94 /* 8019BA8C 001989EC 48 17 71 B5 */ bl GetRotation__12CTransform4fCFv /* 8019BA90 001989F0 38 61 00 C4 */ addi r3, r1, 0xc4 /* 8019BA94 001989F4 38 81 00 94 */ addi r4, r1, 0x94 /* 8019BA98 001989F8 48 17 72 05 */ bl GetQuickInverse__12CTransform4fCFv /* 8019BA9C 001989FC 38 61 01 54 */ addi r3, r1, 0x154 /* 8019BAA0 00198A00 38 81 00 C4 */ addi r4, r1, 0xc4 /* 8019BAA4 00198A04 48 17 70 D1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8019BAA8 00198A08 7F 84 E3 78 */ mr r4, r28 /* 8019BAAC 00198A0C 38 61 00 2C */ addi r3, r1, 0x2c /* 8019BAB0 00198A10 38 A1 01 54 */ addi r5, r1, 0x154 /* 8019BAB4 00198A14 48 19 BE 49 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 8019BAB8 00198A18 3C 60 43 30 */ lis r3, 0x4330 /* 8019BABC 00198A1C 6F C4 80 00 */ xoris r4, r30, 0x8000 /* 8019BAC0 00198A20 90 81 01 8C */ stw r4, 0x18c(r1) /* 8019BAC4 00198A24 6F A0 80 00 */ xoris r0, r29, 0x8000 /* 8019BAC8 00198A28 C8 62 A6 F0 */ lfd f3, lbl_805AC410@sda21(r2) /* 8019BACC 00198A2C 90 61 01 88 */ stw r3, 0x188(r1) /* 8019BAD0 00198A30 C0 59 01 1C */ lfs f2, 0x11c(r25) /* 8019BAD4 00198A34 C8 01 01 88 */ lfd f0, 0x188(r1) /* 8019BAD8 00198A38 90 01 01 94 */ stw r0, 0x194(r1) /* 8019BADC 00198A3C EC 20 18 28 */ fsubs f1, f0, f3 /* 8019BAE0 00198A40 C3 81 00 2C */ lfs f28, 0x2c(r1) /* 8019BAE4 00198A44 90 61 01 90 */ stw r3, 0x190(r1) /* 8019BAE8 00198A48 C3 C1 00 38 */ lfs f30, 0x38(r1) /* 8019BAEC 00198A4C C8 01 01 90 */ lfd f0, 0x190(r1) /* 8019BAF0 00198A50 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8019BAF4 00198A54 EC 9E E0 28 */ fsubs f4, f30, f28 /* 8019BAF8 00198A58 C3 E1 00 30 */ lfs f31, 0x30(r1) /* 8019BAFC 00198A5C EC 00 18 28 */ fsubs f0, f0, f3 /* 8019BB00 00198A60 C3 A1 00 3C */ lfs f29, 0x3c(r1) /* 8019BB04 00198A64 C0 7B 00 0C */ lfs f3, 0xc(r27) /* 8019BB08 00198A68 EF 44 08 24 */ fdivs f26, f4, f1 /* 8019BB0C 00198A6C EF 7D F8 28 */ fsubs f27, f29, f31 /* 8019BB10 00198A70 EC 00 00 B2 */ fmuls f0, f0, f2 /* 8019BB14 00198A74 EC 3C 18 2A */ fadds f1, f28, f3 /* 8019BB18 00198A78 EF 3B 00 24 */ fdivs f25, f27, f0 /* 8019BB1C 00198A7C 48 1F 91 91 */ bl fmod /* 8019BB20 00198A80 6F C3 80 00 */ xoris r3, r30, 0x8000 /* 8019BB24 00198A84 3C 00 43 30 */ lis r0, 0x4330 /* 8019BB28 00198A88 90 61 01 9C */ stw r3, 0x19c(r1) /* 8019BB2C 00198A8C C8 02 A7 08 */ lfd f0, lbl_805AC428@sda21(r2) /* 8019BB30 00198A90 90 01 01 98 */ stw r0, 0x198(r1) /* 8019BB34 00198A94 C8 42 A6 F0 */ lfd f2, lbl_805AC410@sda21(r2) /* 8019BB38 00198A98 FC 60 08 2A */ fadd f3, f0, f1 /* 8019BB3C 00198A9C C8 01 01 98 */ lfd f0, 0x198(r1) /* 8019BB40 00198AA0 C0 3B 00 0C */ lfs f1, 0xc(r27) /* 8019BB44 00198AA4 FC 00 10 28 */ fsub f0, f0, f2 /* 8019BB48 00198AA8 C0 59 01 1C */ lfs f2, 0x11c(r25) /* 8019BB4C 00198AAC EC 3E 08 2A */ fadds f1, f30, f1 /* 8019BB50 00198AB0 FF 03 00 24 */ fdiv f24, f3, f0 /* 8019BB54 00198AB4 FF 00 C0 18 */ frsp f24, f24 /* 8019BB58 00198AB8 48 1F 91 55 */ bl fmod /* 8019BB5C 00198ABC 6F C3 80 00 */ xoris r3, r30, 0x8000 /* 8019BB60 00198AC0 3C 00 43 30 */ lis r0, 0x4330 /* 8019BB64 00198AC4 C8 02 A7 10 */ lfd f0, lbl_805AC430@sda21(r2) /* 8019BB68 00198AC8 90 61 01 A4 */ stw r3, 0x1a4(r1) /* 8019BB6C 00198ACC C8 42 A6 F0 */ lfd f2, lbl_805AC410@sda21(r2) /* 8019BB70 00198AD0 FC 80 08 28 */ fsub f4, f0, f1 /* 8019BB74 00198AD4 90 01 01 A0 */ stw r0, 0x1a0(r1) /* 8019BB78 00198AD8 C0 BB 00 1C */ lfs f5, 0x1c(r27) /* 8019BB7C 00198ADC C8 01 01 A0 */ lfd f0, 0x1a0(r1) /* 8019BB80 00198AE0 C0 DB 00 2C */ lfs f6, 0x2c(r27) /* 8019BB84 00198AE4 EC 3F 28 2A */ fadds f1, f31, f5 /* 8019BB88 00198AE8 FC 60 10 28 */ fsub f3, f0, f2 /* 8019BB8C 00198AEC C0 1B 00 0C */ lfs f0, 0xc(r27) /* 8019BB90 00198AF0 C0 59 01 1C */ lfs f2, 0x11c(r25) /* 8019BB94 00198AF4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8019BB98 00198AF8 FE E4 18 24 */ fdiv f23, f4, f3 /* 8019BB9C 00198AFC D0 A1 00 18 */ stfs f5, 0x18(r1) /* 8019BBA0 00198B00 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 8019BBA4 00198B04 FE E0 B8 18 */ frsp f23, f23 /* 8019BBA8 00198B08 48 1F 91 05 */ bl fmod /* 8019BBAC 00198B0C 6F A3 80 00 */ xoris r3, r29, 0x8000 /* 8019BBB0 00198B10 3C 00 43 30 */ lis r0, 0x4330 /* 8019BBB4 00198B14 C8 02 A7 08 */ lfd f0, lbl_805AC428@sda21(r2) /* 8019BBB8 00198B18 90 61 01 AC */ stw r3, 0x1ac(r1) /* 8019BBBC 00198B1C C8 42 A6 F0 */ lfd f2, lbl_805AC410@sda21(r2) /* 8019BBC0 00198B20 FC 80 08 2A */ fadd f4, f0, f1 /* 8019BBC4 00198B24 90 01 01 A8 */ stw r0, 0x1a8(r1) /* 8019BBC8 00198B28 C0 BB 00 1C */ lfs f5, 0x1c(r27) /* 8019BBCC 00198B2C C8 01 01 A8 */ lfd f0, 0x1a8(r1) /* 8019BBD0 00198B30 C0 DB 00 2C */ lfs f6, 0x2c(r27) /* 8019BBD4 00198B34 EC 3D 28 2A */ fadds f1, f29, f5 /* 8019BBD8 00198B38 FC 60 10 28 */ fsub f3, f0, f2 /* 8019BBDC 00198B3C C0 1B 00 0C */ lfs f0, 0xc(r27) /* 8019BBE0 00198B40 C0 59 01 1C */ lfs f2, 0x11c(r25) /* 8019BBE4 00198B44 D0 01 00 08 */ stfs f0, 8(r1) /* 8019BBE8 00198B48 FF A4 18 24 */ fdiv f29, f4, f3 /* 8019BBEC 00198B4C D0 A1 00 0C */ stfs f5, 0xc(r1) /* 8019BBF0 00198B50 D0 C1 00 10 */ stfs f6, 0x10(r1) /* 8019BBF4 00198B54 FF A0 E8 18 */ frsp f29, f29 /* 8019BBF8 00198B58 48 1F 90 B5 */ bl fmod /* 8019BBFC 00198B5C 6F A3 80 00 */ xoris r3, r29, 0x8000 /* 8019BC00 00198B60 3C 00 43 30 */ lis r0, 0x4330 /* 8019BC04 00198B64 90 61 01 B4 */ stw r3, 0x1b4(r1) /* 8019BC08 00198B68 FC 60 E0 50 */ fneg f3, f28 /* 8019BC0C 00198B6C C0 82 A6 E0 */ lfs f4, lbl_805AC400@sda21(r2) /* 8019BC10 00198B70 EC BA C0 28 */ fsubs f5, f26, f24 /* 8019BC14 00198B74 90 01 01 B0 */ stw r0, 0x1b0(r1) /* 8019BC18 00198B78 EC 19 07 F2 */ fmuls f0, f25, f31 /* 8019BC1C 00198B7C C9 02 A7 10 */ lfd f8, lbl_805AC430@sda21(r2) /* 8019BC20 00198B80 C8 E2 A6 F0 */ lfd f7, lbl_805AC410@sda21(r2) /* 8019BC24 00198B84 EC 59 E8 28 */ fsubs f2, f25, f29 /* 8019BC28 00198B88 C8 C1 01 B0 */ lfd f6, 0x1b0(r1) /* 8019BC2C 00198B8C FD 08 08 28 */ fsub f8, f8, f1 /* 8019BC30 00198B90 ED 3E E0 28 */ fsubs f9, f30, f28 /* 8019BC34 00198B94 D0 81 01 28 */ stfs f4, 0x128(r1) /* 8019BC38 00198B98 FC C6 38 28 */ fsub f6, f6, f7 /* 8019BC3C 00198B9C EC 3A 00 F2 */ fmuls f1, f26, f3 /* 8019BC40 00198BA0 D0 81 01 2C */ stfs f4, 0x12c(r1) /* 8019BC44 00198BA4 EC A5 B8 28 */ fsubs f5, f5, f23 /* 8019BC48 00198BA8 FC C8 30 24 */ fdiv f6, f8, f6 /* 8019BC4C 00198BAC D0 81 01 34 */ stfs f4, 0x134(r1) /* 8019BC50 00198BB0 38 61 00 64 */ addi r3, r1, 0x64 /* 8019BC54 00198BB4 D0 81 01 3C */ stfs f4, 0x13c(r1) /* 8019BC58 00198BB8 38 81 01 24 */ addi r4, r1, 0x124 /* 8019BC5C 00198BBC 38 A1 01 54 */ addi r5, r1, 0x154 /* 8019BC60 00198BC0 FC C0 30 18 */ frsp f6, f6 /* 8019BC64 00198BC4 D0 81 01 44 */ stfs f4, 0x144(r1) /* 8019BC68 00198BC8 EC 61 48 24 */ fdivs f3, f1, f9 /* 8019BC6C 00198BCC D0 81 01 48 */ stfs f4, 0x148(r1) /* 8019BC70 00198BD0 D0 81 01 4C */ stfs f4, 0x14c(r1) /* 8019BC74 00198BD4 D0 81 01 50 */ stfs f4, 0x150(r1) /* 8019BC78 00198BD8 EC 22 30 28 */ fsubs f1, f2, f6 /* 8019BC7C 00198BDC EC 00 D8 24 */ fdivs f0, f0, f27 /* 8019BC80 00198BE0 FC 20 08 50 */ fneg f1, f1 /* 8019BC84 00198BE4 EC 45 48 24 */ fdivs f2, f5, f9 /* 8019BC88 00198BE8 EC 21 D8 24 */ fdivs f1, f1, f27 /* 8019BC8C 00198BEC D0 41 01 24 */ stfs f2, 0x124(r1) /* 8019BC90 00198BF0 EC 58 18 2A */ fadds f2, f24, f3 /* 8019BC94 00198BF4 D0 21 01 38 */ stfs f1, 0x138(r1) /* 8019BC98 00198BF8 EC 00 30 28 */ fsubs f0, f0, f6 /* 8019BC9C 00198BFC D0 41 01 30 */ stfs f2, 0x130(r1) /* 8019BCA0 00198C00 D0 01 01 40 */ stfs f0, 0x140(r1) /* 8019BCA4 00198C04 48 17 6C AD */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8019BCA8 00198C08 38 61 00 F4 */ addi r3, r1, 0xf4 /* 8019BCAC 00198C0C 38 81 00 64 */ addi r4, r1, 0x64 /* 8019BCB0 00198C10 48 17 6E C5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8019BCB4 00198C14 3C 60 80 3D */ lis r3, lbl_803D1230@ha /* 8019BCB8 00198C18 C0 E1 00 F4 */ lfs f7, 0xf4(r1) /* 8019BCBC 00198C1C 3B C3 12 30 */ addi r30, r3, lbl_803D1230@l /* 8019BCC0 00198C20 C0 C1 00 F8 */ lfs f6, 0xf8(r1) /* 8019BCC4 00198C24 81 9E 00 00 */ lwz r12, 0(r30) /* 8019BCC8 00198C28 7F E4 FB 78 */ mr r4, r31 /* 8019BCCC 00198C2C 81 7E 00 04 */ lwz r11, 4(r30) /* 8019BCD0 00198C30 38 61 00 44 */ addi r3, r1, 0x44 /* 8019BCD4 00198C34 81 5E 00 08 */ lwz r10, 8(r30) /* 8019BCD8 00198C38 38 A0 00 01 */ li r5, 1 /* 8019BCDC 00198C3C 81 3E 00 0C */ lwz r9, 0xc(r30) /* 8019BCE0 00198C40 81 1E 00 10 */ lwz r8, 0x10(r30) /* 8019BCE4 00198C44 80 FE 00 14 */ lwz r7, 0x14(r30) /* 8019BCE8 00198C48 80 DE 00 18 */ lwz r6, 0x18(r30) /* 8019BCEC 00198C4C 80 1E 00 1C */ lwz r0, 0x1c(r30) /* 8019BCF0 00198C50 91 81 00 44 */ stw r12, 0x44(r1) /* 8019BCF4 00198C54 C0 A1 00 FC */ lfs f5, 0xfc(r1) /* 8019BCF8 00198C58 91 61 00 48 */ stw r11, 0x48(r1) /* 8019BCFC 00198C5C C0 81 01 00 */ lfs f4, 0x100(r1) /* 8019BD00 00198C60 91 41 00 4C */ stw r10, 0x4c(r1) /* 8019BD04 00198C64 C0 61 01 04 */ lfs f3, 0x104(r1) /* 8019BD08 00198C68 91 21 00 50 */ stw r9, 0x50(r1) /* 8019BD0C 00198C6C C0 41 01 08 */ lfs f2, 0x108(r1) /* 8019BD10 00198C70 91 01 00 54 */ stw r8, 0x54(r1) /* 8019BD14 00198C74 C0 21 01 0C */ lfs f1, 0x10c(r1) /* 8019BD18 00198C78 90 E1 00 58 */ stw r7, 0x58(r1) /* 8019BD1C 00198C7C C0 01 01 10 */ lfs f0, 0x110(r1) /* 8019BD20 00198C80 90 C1 00 5C */ stw r6, 0x5c(r1) /* 8019BD24 00198C84 90 01 00 60 */ stw r0, 0x60(r1) /* 8019BD28 00198C88 D0 E1 00 44 */ stfs f7, 0x44(r1) /* 8019BD2C 00198C8C D0 C1 00 48 */ stfs f6, 0x48(r1) /* 8019BD30 00198C90 D0 A1 00 4C */ stfs f5, 0x4c(r1) /* 8019BD34 00198C94 D0 81 00 50 */ stfs f4, 0x50(r1) /* 8019BD38 00198C98 D0 61 00 54 */ stfs f3, 0x54(r1) /* 8019BD3C 00198C9C D0 41 00 58 */ stfs f2, 0x58(r1) /* 8019BD40 00198CA0 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8019BD44 00198CA4 D0 01 00 60 */ stfs f0, 0x60(r1) /* 8019BD48 00198CA8 48 1E 07 49 */ bl GXLoadTexMtxImm /* 8019BD4C 00198CAC E3 E1 02 68 */ psq_l f31, 616(r1), 0, qr0 /* 8019BD50 00198CB0 CB E1 02 60 */ lfd f31, 0x260(r1) /* 8019BD54 00198CB4 E3 C1 02 58 */ psq_l f30, 600(r1), 0, qr0 /* 8019BD58 00198CB8 CB C1 02 50 */ lfd f30, 0x250(r1) /* 8019BD5C 00198CBC E3 A1 02 48 */ psq_l f29, 584(r1), 0, qr0 /* 8019BD60 00198CC0 CB A1 02 40 */ lfd f29, 0x240(r1) /* 8019BD64 00198CC4 E3 81 02 38 */ psq_l f28, 568(r1), 0, qr0 /* 8019BD68 00198CC8 CB 81 02 30 */ lfd f28, 0x230(r1) /* 8019BD6C 00198CCC E3 61 02 28 */ psq_l f27, 552(r1), 0, qr0 /* 8019BD70 00198CD0 CB 61 02 20 */ lfd f27, 0x220(r1) /* 8019BD74 00198CD4 E3 41 02 18 */ psq_l f26, 536(r1), 0, qr0 /* 8019BD78 00198CD8 CB 41 02 10 */ lfd f26, 0x210(r1) /* 8019BD7C 00198CDC E3 21 02 08 */ psq_l f25, 520(r1), 0, qr0 /* 8019BD80 00198CE0 CB 21 02 00 */ lfd f25, 0x200(r1) /* 8019BD84 00198CE4 E3 01 01 F8 */ psq_l f24, 504(r1), 0, qr0 /* 8019BD88 00198CE8 CB 01 01 F0 */ lfd f24, 0x1f0(r1) /* 8019BD8C 00198CEC E2 E1 01 E8 */ psq_l f23, 488(r1), 0, qr0 /* 8019BD90 00198CF0 CA E1 01 E0 */ lfd f23, 0x1e0(r1) /* 8019BD94 00198CF4 BB 21 01 C4 */ lmw r25, 0x1c4(r1) /* 8019BD98 00198CF8 80 01 02 74 */ lwz r0, 0x274(r1) /* 8019BD9C 00198CFC 7C 08 03 A6 */ mtlr r0 /* 8019BDA0 00198D00 38 21 02 70 */ addi r1, r1, 0x270 /* 8019BDA4 00198D04 4E 80 00 20 */ blr .global UpdatePatch__FfRQ220CFluidPlaneCPURender10SPatchInfoRC14CFluidPlaneCPURC9CVector3fRC14CRippleManageriiii UpdatePatch__FfRQ220CFluidPlaneCPURender10SPatchInfoRC14CFluidPlaneCPURC9CVector3fRC14CRippleManageriiii: /* 8019BDA8 00198D08 94 21 FB 10 */ stwu r1, -0x4f0(r1) /* 8019BDAC 00198D0C 7C 08 02 A6 */ mflr r0 /* 8019BDB0 00198D10 90 01 04 F4 */ stw r0, 0x4f4(r1) /* 8019BDB4 00198D14 DB E1 04 E0 */ stfd f31, 0x4e0(r1) /* 8019BDB8 00198D18 F3 E1 04 E8 */ psq_st f31, 1256(r1), 0, qr0 /* 8019BDBC 00198D1C BE 81 04 B0 */ stmw r20, 0x4b0(r1) /* 8019BDC0 00198D20 FF E0 08 90 */ fmr f31, f1 /* 8019BDC4 00198D24 7C 74 1B 78 */ mr r20, r3 /* 8019BDC8 00198D28 7C 95 23 78 */ mr r21, r4 /* 8019BDCC 00198D2C 7C B6 2B 78 */ mr r22, r5 /* 8019BDD0 00198D30 7C D7 33 78 */ mr r23, r6 /* 8019BDD4 00198D34 7C F8 3B 78 */ mr r24, r7 /* 8019BDD8 00198D38 7D 19 43 78 */ mr r25, r8 /* 8019BDDC 00198D3C 7D 3A 4B 78 */ mr r26, r9 /* 8019BDE0 00198D40 7D 5B 53 78 */ mr r27, r10 /* 8019BDE4 00198D44 48 0D 3C 85 */ bl GetGlobalSineWave__Fv /* 8019BDE8 00198D48 3C A0 E0 00 */ lis r5, 0xE0000040@ha /* 8019BDEC 00198D4C 7C 7D 1B 78 */ mr r29, r3 /* 8019BDF0 00198D50 38 80 00 51 */ li r4, 0x51 /* 8019BDF4 00198D54 38 65 00 40 */ addi r3, r5, 0xE0000040@l /* 8019BDF8 00198D58 48 1E 2D 71 */ bl DCZeroRange /* 8019BDFC 00198D5C 88 17 00 18 */ lbz r0, 0x18(r23) /* 8019BE00 00198D60 38 60 00 00 */ li r3, 0 /* 8019BE04 00198D64 90 61 00 2C */ stw r3, 0x2c(r1) /* 8019BE08 00198D68 3B 80 00 01 */ li r28, 1 /* 8019BE0C 00198D6C 28 00 00 00 */ cmplwi r0, 0 /* 8019BE10 00198D70 41 82 00 E0 */ beq lbl_8019BEF0 /* 8019BE14 00198D74 83 F7 00 10 */ lwz r31, 0x10(r23) /* 8019BE18 00198D78 3B C1 00 30 */ addi r30, r1, 0x30 /* 8019BE1C 00198D7C 48 00 00 AC */ b lbl_8019BEC8 lbl_8019BE20: /* 8019BE20 00198D80 C0 3F 00 04 */ lfs f1, 4(r31) /* 8019BE24 00198D84 C0 1F 00 14 */ lfs f0, 0x14(r31) /* 8019BE28 00198D88 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019BE2C 00198D8C 4C 41 13 82 */ cror 2, 1, 2 /* 8019BE30 00198D90 41 82 00 94 */ beq lbl_8019BEC4 /* 8019BE34 00198D94 93 E1 00 08 */ stw r31, 8(r1) /* 8019BE38 00198D98 7F E3 FB 78 */ mr r3, r31 /* 8019BE3C 00198D9C 7E 84 A3 78 */ mr r4, r20 /* 8019BE40 00198DA0 38 A1 00 08 */ addi r5, r1, 8 /* 8019BE44 00198DA4 93 01 00 1C */ stw r24, 0x1c(r1) /* 8019BE48 00198DA8 93 21 00 20 */ stw r25, 0x20(r1) /* 8019BE4C 00198DAC 93 41 00 24 */ stw r26, 0x24(r1) /* 8019BE50 00198DB0 93 61 00 28 */ stw r27, 0x28(r1) /* 8019BE54 00198DB4 48 0D 39 B1 */ bl PrepareRipple__FRC7CRippleRCQ220CFluidPlaneCPURender10SPatchInfoRQ220CFluidPlaneCPURender11SRippleInfo /* 8019BE58 00198DB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8019BE5C 00198DBC 41 82 00 68 */ beq lbl_8019BEC4 /* 8019BE60 00198DC0 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8019BE64 00198DC4 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8019BE68 00198DC8 7C 9E 02 15 */ add. r4, r30, r0 /* 8019BE6C 00198DCC 41 82 00 4C */ beq lbl_8019BEB8 /* 8019BE70 00198DD0 80 01 00 08 */ lwz r0, 8(r1) /* 8019BE74 00198DD4 80 61 00 0C */ lwz r3, 0xc(r1) /* 8019BE78 00198DD8 90 04 00 00 */ stw r0, 0(r4) /* 8019BE7C 00198DDC 80 01 00 10 */ lwz r0, 0x10(r1) /* 8019BE80 00198DE0 90 64 00 04 */ stw r3, 4(r4) /* 8019BE84 00198DE4 80 61 00 14 */ lwz r3, 0x14(r1) /* 8019BE88 00198DE8 90 04 00 08 */ stw r0, 8(r4) /* 8019BE8C 00198DEC 80 01 00 18 */ lwz r0, 0x18(r1) /* 8019BE90 00198DF0 90 64 00 0C */ stw r3, 0xc(r4) /* 8019BE94 00198DF4 80 61 00 1C */ lwz r3, 0x1c(r1) /* 8019BE98 00198DF8 90 04 00 10 */ stw r0, 0x10(r4) /* 8019BE9C 00198DFC 80 01 00 20 */ lwz r0, 0x20(r1) /* 8019BEA0 00198E00 90 64 00 14 */ stw r3, 0x14(r4) /* 8019BEA4 00198E04 80 61 00 24 */ lwz r3, 0x24(r1) /* 8019BEA8 00198E08 90 04 00 18 */ stw r0, 0x18(r4) /* 8019BEAC 00198E0C 80 01 00 28 */ lwz r0, 0x28(r1) /* 8019BEB0 00198E10 90 64 00 1C */ stw r3, 0x1c(r4) /* 8019BEB4 00198E14 90 04 00 20 */ stw r0, 0x20(r4) lbl_8019BEB8: /* 8019BEB8 00198E18 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8019BEBC 00198E1C 38 03 00 01 */ addi r0, r3, 1 /* 8019BEC0 00198E20 90 01 00 2C */ stw r0, 0x2c(r1) lbl_8019BEC4: /* 8019BEC4 00198E24 3B FF 00 40 */ addi r31, r31, 0x40 lbl_8019BEC8: /* 8019BEC8 00198E28 80 17 00 08 */ lwz r0, 8(r23) /* 8019BECC 00198E2C 80 77 00 10 */ lwz r3, 0x10(r23) /* 8019BED0 00198E30 54 00 30 32 */ slwi r0, r0, 6 /* 8019BED4 00198E34 7C 03 02 14 */ add r0, r3, r0 /* 8019BED8 00198E38 7C 1F 00 40 */ cmplw r31, r0 /* 8019BEDC 00198E3C 40 82 FF 44 */ bne lbl_8019BE20 /* 8019BEE0 00198E40 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8019BEE4 00198E44 2C 00 00 00 */ cmpwi r0, 0 /* 8019BEE8 00198E48 41 82 00 08 */ beq lbl_8019BEF0 /* 8019BEEC 00198E4C 3B 80 00 00 */ li r28, 0 lbl_8019BEF0: /* 8019BEF0 00198E50 57 83 06 3F */ clrlwi. r3, r28, 0x18 /* 8019BEF4 00198E54 41 82 00 5C */ beq lbl_8019BF50 /* 8019BEF8 00198E58 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 8019BEFC 00198E5C 38 80 00 00 */ li r4, 0 /* 8019BF00 00198E60 2C 06 00 00 */ cmpwi r6, 0 /* 8019BF04 00198E64 40 81 00 40 */ ble lbl_8019BF44 /* 8019BF08 00198E68 2C 06 00 08 */ cmpwi r6, 8 /* 8019BF0C 00198E6C 38 A6 FF F8 */ addi r5, r6, -8 /* 8019BF10 00198E70 40 81 00 20 */ ble lbl_8019BF30 /* 8019BF14 00198E74 38 05 00 07 */ addi r0, r5, 7 /* 8019BF18 00198E78 54 00 E8 FE */ srwi r0, r0, 3 /* 8019BF1C 00198E7C 7C 09 03 A6 */ mtctr r0 /* 8019BF20 00198E80 2C 05 00 00 */ cmpwi r5, 0 /* 8019BF24 00198E84 40 81 00 0C */ ble lbl_8019BF30 lbl_8019BF28: /* 8019BF28 00198E88 38 84 00 08 */ addi r4, r4, 8 /* 8019BF2C 00198E8C 42 00 FF FC */ bdnz lbl_8019BF28 lbl_8019BF30: /* 8019BF30 00198E90 7C 04 30 50 */ subf r0, r4, r6 /* 8019BF34 00198E94 7C 09 03 A6 */ mtctr r0 /* 8019BF38 00198E98 7C 04 30 00 */ cmpw r4, r6 /* 8019BF3C 00198E9C 40 80 00 08 */ bge lbl_8019BF44 lbl_8019BF40: /* 8019BF40 00198EA0 42 00 00 00 */ bdnz lbl_8019BF40 lbl_8019BF44: /* 8019BF44 00198EA4 38 00 00 00 */ li r0, 0 /* 8019BF48 00198EA8 90 01 00 2C */ stw r0, 0x2c(r1) /* 8019BF4C 00198EAC 48 00 00 D4 */ b lbl_8019C020 lbl_8019BF50: /* 8019BF50 00198EB0 FC 20 F8 90 */ fmr f1, f31 /* 8019BF54 00198EB4 3C 80 E0 00 */ lis r4, 0xE00000A0@ha /* 8019BF58 00198EB8 7F A5 EB 78 */ mr r5, r29 /* 8019BF5C 00198EBC 7E 86 A3 78 */ mr r6, r20 /* 8019BF60 00198EC0 7E A7 AB 78 */ mr r7, r21 /* 8019BF64 00198EC4 7E C8 B3 78 */ mr r8, r22 /* 8019BF68 00198EC8 38 64 00 A0 */ addi r3, r4, 0xE00000A0@l /* 8019BF6C 00198ECC 38 84 00 40 */ addi r4, r4, 0x40 /* 8019BF70 00198ED0 48 00 00 CD */ bl ApplyTurbulence__FfRA45_A45_Q220CFluidPlaneCPURender13SHFieldSamplePCUcRA256_CfRCQ220CFluidPlaneCPURender10SPatchInfoRC14CFluidPlaneCPURC9CVector3f /* 8019BF74 00198ED4 3C A0 E0 00 */ lis r5, 0xE00000A0@ha /* 8019BF78 00198ED8 7F A6 EB 78 */ mr r6, r29 /* 8019BF7C 00198EDC 7E 87 A3 78 */ mr r7, r20 /* 8019BF80 00198EE0 38 61 00 2C */ addi r3, r1, 0x2c /* 8019BF84 00198EE4 38 85 00 A0 */ addi r4, r5, 0xE00000A0@l /* 8019BF88 00198EE8 38 A5 00 40 */ addi r5, r5, 0x40 /* 8019BF8C 00198EEC 48 0D 09 FD */ bl ApplyRipples__FRC14CRippleManagerRA43_A43_Q220CFluidPlaneCPURender13SHFieldSampleRA22_A22_UcRA256_CfRQ220CFluidPlaneCPURender10SPatchInfo /* 8019BF90 00198EF0 88 14 00 37 */ lbz r0, 0x37(r20) /* 8019BF94 00198EF4 2C 00 00 01 */ cmpwi r0, 1 /* 8019BF98 00198EF8 40 82 00 1C */ bne lbl_8019BFB4 /* 8019BF9C 00198EFC 3C 80 E0 00 */ lis r4, 0xE00000A0@ha /* 8019BFA0 00198F00 7E 85 A3 78 */ mr r5, r20 /* 8019BFA4 00198F04 38 64 00 A0 */ addi r3, r4, 0xE00000A0@l /* 8019BFA8 00198F08 38 84 00 40 */ addi r4, r4, 0x40 /* 8019BFAC 00198F0C 48 00 01 F5 */ bl UpdatePatchNoNormals__FPCUcPCUcQ220CFluidPlaneCPURender10SPatchInfo /* 8019BFB0 00198F10 48 00 00 18 */ b lbl_8019BFC8 lbl_8019BFB4: /* 8019BFB4 00198F14 3C 80 E0 00 */ lis r4, 0xE00000A0@ha /* 8019BFB8 00198F18 7E 85 A3 78 */ mr r5, r20 /* 8019BFBC 00198F1C 38 64 00 A0 */ addi r3, r4, 0xE00000A0@l /* 8019BFC0 00198F20 38 84 00 40 */ addi r4, r4, 0x40 /* 8019BFC4 00198F24 48 00 05 05 */ bl UpdatePatchWithNormals__FPCUcPCUcQ220CFluidPlaneCPURender10SPatchInfo lbl_8019BFC8: /* 8019BFC8 00198F28 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 8019BFCC 00198F2C 57 83 06 3E */ clrlwi r3, r28, 0x18 /* 8019BFD0 00198F30 38 80 00 00 */ li r4, 0 /* 8019BFD4 00198F34 2C 06 00 00 */ cmpwi r6, 0 /* 8019BFD8 00198F38 40 81 00 40 */ ble lbl_8019C018 /* 8019BFDC 00198F3C 2C 06 00 08 */ cmpwi r6, 8 /* 8019BFE0 00198F40 38 A6 FF F8 */ addi r5, r6, -8 /* 8019BFE4 00198F44 40 81 00 20 */ ble lbl_8019C004 /* 8019BFE8 00198F48 38 05 00 07 */ addi r0, r5, 7 /* 8019BFEC 00198F4C 54 00 E8 FE */ srwi r0, r0, 3 /* 8019BFF0 00198F50 7C 09 03 A6 */ mtctr r0 /* 8019BFF4 00198F54 2C 05 00 00 */ cmpwi r5, 0 /* 8019BFF8 00198F58 40 81 00 0C */ ble lbl_8019C004 lbl_8019BFFC: /* 8019BFFC 00198F5C 38 84 00 08 */ addi r4, r4, 8 /* 8019C000 00198F60 42 00 FF FC */ bdnz lbl_8019BFFC lbl_8019C004: /* 8019C004 00198F64 7C 04 30 50 */ subf r0, r4, r6 /* 8019C008 00198F68 7C 09 03 A6 */ mtctr r0 /* 8019C00C 00198F6C 7C 04 30 00 */ cmpw r4, r6 /* 8019C010 00198F70 40 80 00 08 */ bge lbl_8019C018 lbl_8019C014: /* 8019C014 00198F74 42 00 00 00 */ bdnz lbl_8019C014 lbl_8019C018: /* 8019C018 00198F78 38 00 00 00 */ li r0, 0 /* 8019C01C 00198F7C 90 01 00 2C */ stw r0, 0x2c(r1) lbl_8019C020: /* 8019C020 00198F80 E3 E1 04 E8 */ psq_l f31, 1256(r1), 0, qr0 /* 8019C024 00198F84 CB E1 04 E0 */ lfd f31, 0x4e0(r1) /* 8019C028 00198F88 BA 81 04 B0 */ lmw r20, 0x4b0(r1) /* 8019C02C 00198F8C 80 01 04 F4 */ lwz r0, 0x4f4(r1) /* 8019C030 00198F90 7C 08 03 A6 */ mtlr r0 /* 8019C034 00198F94 38 21 04 F0 */ addi r1, r1, 0x4f0 /* 8019C038 00198F98 4E 80 00 20 */ blr .global ApplyTurbulence__FfRA45_A45_Q220CFluidPlaneCPURender13SHFieldSamplePCUcRA256_CfRCQ220CFluidPlaneCPURender10SPatchInfoRC14CFluidPlaneCPURC9CVector3f ApplyTurbulence__FfRA45_A45_Q220CFluidPlaneCPURender13SHFieldSamplePCUcRA256_CfRCQ220CFluidPlaneCPURender10SPatchInfoRC14CFluidPlaneCPURC9CVector3f: /* 8019C03C 00198F9C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8019C040 00198FA0 7C 08 02 A6 */ mflr r0 /* 8019C044 00198FA4 90 01 00 24 */ stw r0, 0x24(r1) /* 8019C048 00198FA8 88 02 98 E9 */ lbz r0, lbl_805AB609@sda21(r2) /* 8019C04C 00198FAC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8019C050 00198FB0 28 00 00 00 */ cmplwi r0, 0 /* 8019C054 00198FB4 41 82 00 0C */ beq lbl_8019C060 /* 8019C058 00198FB8 88 07 01 54 */ lbz r0, 0x154(r7) /* 8019C05C 00198FBC 48 00 00 08 */ b lbl_8019C064 lbl_8019C060: /* 8019C060 00198FC0 38 00 00 00 */ li r0, 0 lbl_8019C064: /* 8019C064 00198FC4 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8019C068 00198FC8 40 82 00 10 */ bne lbl_8019C078 /* 8019C06C 00198FCC 38 80 3F 48 */ li r4, 0x3f48 /* 8019C070 00198FD0 48 1E 2A F9 */ bl DCZeroRange /* 8019C074 00198FD4 48 00 01 18 */ b lbl_8019C18C lbl_8019C078: /* 8019C078 00198FD8 88 A6 00 00 */ lbz r5, 0(r6) /* 8019C07C 00198FDC 38 80 00 00 */ li r4, 0 /* 8019C080 00198FE0 88 06 00 01 */ lbz r0, 1(r6) /* 8019C084 00198FE4 81 4D A5 74 */ lwz r10, lbl_805A9134@sda21(r13) /* 8019C088 00198FE8 7C A5 07 74 */ extsb r5, r5 /* 8019C08C 00198FEC 7C 00 07 74 */ extsb r0, r0 /* 8019C090 00198FF0 C0 07 01 4C */ lfs f0, 0x14c(r7) /* 8019C094 00198FF4 7C A5 52 14 */ add r5, r5, r10 /* 8019C098 00198FF8 C0 86 00 18 */ lfs f4, 0x18(r6) /* 8019C09C 00198FFC 39 25 FF FC */ addi r9, r5, -4 /* 8019C0A0 00199000 C0 62 A6 DC */ lfs f3, lbl_805AC3FC@sda21(r2) /* 8019C0A4 00199004 7C A0 52 14 */ add r5, r0, r10 /* 8019C0A8 00199008 C0 46 00 08 */ lfs f2, 8(r6) /* 8019C0AC 0019900C 7D 29 53 D6 */ divw r9, r9, r10 /* 8019C0B0 00199010 EC E4 00 F2 */ fmuls f7, f4, f3 /* 8019C0B4 00199014 38 05 FF FC */ addi r0, r5, -4 /* 8019C0B8 00199018 C0 68 00 04 */ lfs f3, 4(r8) /* 8019C0BC 0019901C ED 01 00 32 */ fmuls f8, f1, f0 /* 8019C0C0 00199020 C0 C7 01 50 */ lfs f6, 0x150(r7) /* 8019C0C4 00199024 EC 82 38 28 */ fsubs f4, f2, f7 /* 8019C0C8 00199028 7C 00 53 D6 */ divw r0, r0, r10 /* 8019C0CC 0019902C C0 42 A6 E0 */ lfs f2, lbl_805AC400@sda21(r2) /* 8019C0D0 00199030 EC 64 18 28 */ fsubs f3, f4, f3 /* 8019C0D4 00199034 7D 2A 49 D6 */ mullw r9, r10, r9 /* 8019C0D8 00199038 7C AA 01 D6 */ mullw r5, r10, r0 /* 8019C0DC 0019903C 39 89 00 02 */ addi r12, r9, 2 /* 8019C0E0 00199040 38 0C 00 01 */ addi r0, r12, 1 /* 8019C0E4 00199044 3B E5 00 02 */ addi r31, r5, 2 /* 8019C0E8 00199048 48 00 00 9C */ b lbl_8019C184 lbl_8019C0EC: /* 8019C0EC 0019904C C0 26 00 04 */ lfs f1, 4(r6) /* 8019C0F0 00199050 7C 6B 1B 78 */ mr r11, r3 /* 8019C0F4 00199054 C0 08 00 00 */ lfs f0, 0(r8) /* 8019C0F8 00199058 EC 83 00 F2 */ fmuls f4, f3, f3 /* 8019C0FC 0019905C EC 21 38 28 */ fsubs f1, f1, f7 /* 8019C100 00199060 ED 21 00 28 */ fsubs f9, f1, f0 /* 8019C104 00199064 7C 09 03 A6 */ mtctr r0 /* 8019C108 00199068 2C 0C 00 00 */ cmpwi r12, 0 /* 8019C10C 0019906C 41 80 00 68 */ blt lbl_8019C174 lbl_8019C110: /* 8019C110 00199070 EC A9 22 7A */ fmadds f5, f9, f9, f4 /* 8019C114 00199074 FC 02 28 00 */ fcmpu cr0, f2, f5 /* 8019C118 00199078 40 82 00 0C */ bne lbl_8019C124 /* 8019C11C 0019907C FC 00 28 90 */ fmr f0, f5 /* 8019C120 00199080 48 00 00 0C */ b lbl_8019C12C lbl_8019C124: /* 8019C124 00199084 10 00 28 34 */ ps_rsqrte f0, f5 /* 8019C128 00199088 10 00 01 72 */ ps_mul f0, f0, f5 lbl_8019C12C: /* 8019C12C 0019908C EC 26 00 32 */ fmuls f1, f6, f0 /* 8019C130 00199090 80 A7 01 44 */ lwz r5, 0x144(r7) /* 8019C134 00199094 C0 07 01 48 */ lfs f0, 0x148(r7) /* 8019C138 00199098 39 25 FF FF */ addi r9, r5, -1 /* 8019C13C 0019909C 81 47 01 40 */ lwz r10, 0x140(r7) /* 8019C140 001990A0 EC 21 40 2A */ fadds f1, f1, f8 /* 8019C144 001990A4 EC 01 00 32 */ fmuls f0, f1, f0 /* 8019C148 001990A8 FC 00 00 1E */ fctiwz f0, f0 /* 8019C14C 001990AC D8 01 00 08 */ stfd f0, 8(r1) /* 8019C150 001990B0 80 A1 00 0C */ lwz r5, 0xc(r1) /* 8019C154 001990B4 7D 25 28 38 */ and r5, r9, r5 /* 8019C158 001990B8 54 A5 10 3A */ slwi r5, r5, 2 /* 8019C15C 001990BC 7C 0A 2C 2E */ lfsx f0, r10, r5 /* 8019C160 001990C0 D0 0B 00 00 */ stfs f0, 0(r11) /* 8019C164 001990C4 39 6B 00 08 */ addi r11, r11, 8 /* 8019C168 001990C8 C0 06 00 18 */ lfs f0, 0x18(r6) /* 8019C16C 001990CC ED 29 00 2A */ fadds f9, f9, f0 /* 8019C170 001990D0 42 00 FF A0 */ bdnz lbl_8019C110 lbl_8019C174: /* 8019C174 001990D4 C0 06 00 18 */ lfs f0, 0x18(r6) /* 8019C178 001990D8 38 63 01 68 */ addi r3, r3, 0x168 /* 8019C17C 001990DC 38 84 00 01 */ addi r4, r4, 1 /* 8019C180 001990E0 EC 63 00 2A */ fadds f3, f3, f0 lbl_8019C184: /* 8019C184 001990E4 7C 04 F8 00 */ cmpw r4, r31 /* 8019C188 001990E8 40 81 FF 64 */ ble lbl_8019C0EC lbl_8019C18C: /* 8019C18C 001990EC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C190 001990F0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019C194 001990F4 7C 08 03 A6 */ mtlr r0 /* 8019C198 001990F8 38 21 00 20 */ addi r1, r1, 0x20 /* 8019C19C 001990FC 4E 80 00 20 */ blr .global UpdatePatchNoNormals__FPCUcPCUcQ220CFluidPlaneCPURender10SPatchInfo UpdatePatchNoNormals__FPCUcPCUcQ220CFluidPlaneCPURender10SPatchInfo: /* 8019C1A0 00199100 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8019C1A4 00199104 38 C4 00 09 */ addi r6, r4, 9 /* 8019C1A8 00199108 39 00 00 01 */ li r8, 1 /* 8019C1AC 0019910C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8019C1B0 00199110 93 C1 00 38 */ stw r30, 0x38(r1) /* 8019C1B4 00199114 93 A1 00 34 */ stw r29, 0x34(r1) /* 8019C1B8 00199118 93 81 00 30 */ stw r28, 0x30(r1) /* 8019C1BC 0019911C 48 00 02 D4 */ b lbl_8019C490 lbl_8019C1C0: /* 8019C1C0 00199120 7C 88 49 D6 */ mullw r4, r8, r9 /* 8019C1C4 00199124 80 0D 8F E0 */ lwz r0, lbl_805A7BA0@sda21(r13) /* 8019C1C8 00199128 38 ED 8F E0 */ addi r7, r13, lbl_805A7BA0@sda21 /* 8019C1CC 0019912C 39 44 00 01 */ addi r10, r4, 1 /* 8019C1D0 00199130 7C 89 50 50 */ subf r4, r9, r10 /* 8019C1D4 00199134 91 41 00 1C */ stw r10, 0x1c(r1) /* 8019C1D8 00199138 7C 00 20 00 */ cmpw r0, r4 /* 8019C1DC 0019913C 90 81 00 14 */ stw r4, 0x14(r1) /* 8019C1E0 00199140 40 80 00 08 */ bge lbl_8019C1E8 /* 8019C1E4 00199144 38 E1 00 14 */ addi r7, r1, 0x14 lbl_8019C1E8: /* 8019C1E8 00199148 88 05 00 01 */ lbz r0, 1(r5) /* 8019C1EC 0019914C 38 81 00 10 */ addi r4, r1, 0x10 /* 8019C1F0 00199150 81 27 00 00 */ lwz r9, 0(r7) /* 8019C1F4 00199154 7C 07 07 74 */ extsb r7, r0 /* 8019C1F8 00199158 38 07 00 01 */ addi r0, r7, 1 /* 8019C1FC 0019915C 7C 0A 00 00 */ cmpw r10, r0 /* 8019C200 00199160 90 01 00 10 */ stw r0, 0x10(r1) /* 8019C204 00199164 40 80 00 08 */ bge lbl_8019C20C /* 8019C208 00199168 38 81 00 1C */ addi r4, r1, 0x1c lbl_8019C20C: /* 8019C20C 0019916C 1C 09 01 68 */ mulli r0, r9, 0x168 /* 8019C210 00199170 80 E4 00 00 */ lwz r7, 0(r4) /* 8019C214 00199174 38 86 00 01 */ addi r4, r6, 1 /* 8019C218 00199178 90 E1 00 1C */ stw r7, 0x1c(r1) /* 8019C21C 0019917C 39 40 00 01 */ li r10, 1 /* 8019C220 00199180 7C E3 02 14 */ add r7, r3, r0 /* 8019C224 00199184 48 00 02 44 */ b lbl_8019C468 lbl_8019C228: /* 8019C228 00199188 7D 8A 01 D6 */ mullw r12, r10, r0 /* 8019C22C 0019918C 81 6D 8F E4 */ lwz r11, lbl_805A7BA4@sda21(r13) /* 8019C230 00199190 3B CD 8F E4 */ addi r30, r13, lbl_805A7BA4@sda21 /* 8019C234 00199194 3B AC 00 01 */ addi r29, r12, 1 /* 8019C238 00199198 7D 80 E8 50 */ subf r12, r0, r29 /* 8019C23C 0019919C 93 A1 00 18 */ stw r29, 0x18(r1) /* 8019C240 001991A0 7C 0B 60 00 */ cmpw r11, r12 /* 8019C244 001991A4 91 81 00 0C */ stw r12, 0xc(r1) /* 8019C248 001991A8 40 80 00 08 */ bge lbl_8019C250 /* 8019C24C 001991AC 3B C1 00 0C */ addi r30, r1, 0xc lbl_8019C250: /* 8019C250 001991B0 89 85 00 00 */ lbz r12, 0(r5) /* 8019C254 001991B4 3B E1 00 08 */ addi r31, r1, 8 /* 8019C258 001991B8 81 7E 00 00 */ lwz r11, 0(r30) /* 8019C25C 001991BC 7D 8C 07 74 */ extsb r12, r12 /* 8019C260 001991C0 39 8C 00 01 */ addi r12, r12, 1 /* 8019C264 001991C4 7C 1D 60 00 */ cmpw r29, r12 /* 8019C268 001991C8 91 81 00 08 */ stw r12, 8(r1) /* 8019C26C 001991CC 40 80 00 08 */ bge lbl_8019C274 /* 8019C270 001991D0 3B E1 00 18 */ addi r31, r1, 0x18 lbl_8019C274: /* 8019C274 001991D4 89 84 00 00 */ lbz r12, 0(r4) /* 8019C278 001991D8 83 FF 00 00 */ lwz r31, 0(r31) /* 8019C27C 001991DC 55 8C 06 FE */ clrlwi r12, r12, 0x1b /* 8019C280 001991E0 2C 0C 00 1F */ cmpwi r12, 0x1f /* 8019C284 001991E4 93 E1 00 18 */ stw r31, 0x18(r1) /* 8019C288 001991E8 40 82 00 84 */ bne lbl_8019C30C /* 8019C28C 001991EC C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 8019C290 001991F0 7D 3F 4B 78 */ mr r31, r9 /* 8019C294 001991F4 7C FE 3B 78 */ mr r30, r7 /* 8019C298 001991F8 55 6C 18 38 */ slwi r12, r11, 3 /* 8019C29C 001991FC 48 00 00 60 */ b lbl_8019C2FC lbl_8019C2A0: /* 8019C2A0 00199200 7D 7C 5B 78 */ mr r28, r11 /* 8019C2A4 00199204 7F BE 62 14 */ add r29, r30, r12 /* 8019C2A8 00199208 48 00 00 40 */ b lbl_8019C2E8 lbl_8019C2AC: /* 8019C2AC 0019920C C0 5D 00 00 */ lfs f2, 0(r29) /* 8019C2B0 00199210 38 00 00 00 */ li r0, 0 /* 8019C2B4 00199214 C0 05 00 38 */ lfs f0, 0x38(r5) /* 8019C2B8 00199218 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8019C2BC 0019921C 40 81 00 20 */ ble lbl_8019C2DC /* 8019C2C0 00199220 EC 00 00 B2 */ fmuls f0, f0, f2 /* 8019C2C4 00199224 FC 00 00 1E */ fctiwz f0, f0 /* 8019C2C8 00199228 D8 01 00 20 */ stfd f0, 0x20(r1) /* 8019C2CC 0019922C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C2D0 00199230 2C 00 00 FF */ cmpwi r0, 0xff /* 8019C2D4 00199234 40 81 00 08 */ ble lbl_8019C2DC /* 8019C2D8 00199238 38 00 00 FF */ li r0, 0xff lbl_8019C2DC: /* 8019C2DC 0019923C 98 1D 00 07 */ stb r0, 7(r29) /* 8019C2E0 00199240 3B BD 00 08 */ addi r29, r29, 8 /* 8019C2E4 00199244 3B 9C 00 01 */ addi r28, r28, 1 lbl_8019C2E8: /* 8019C2E8 00199248 80 01 00 18 */ lwz r0, 0x18(r1) /* 8019C2EC 0019924C 7C 1C 00 00 */ cmpw r28, r0 /* 8019C2F0 00199250 41 80 FF BC */ blt lbl_8019C2AC /* 8019C2F4 00199254 3B DE 01 68 */ addi r30, r30, 0x168 /* 8019C2F8 00199258 3B FF 00 01 */ addi r31, r31, 1 lbl_8019C2FC: /* 8019C2FC 0019925C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8019C300 00199260 7C 1F 00 00 */ cmpw r31, r0 /* 8019C304 00199264 41 80 FF 9C */ blt lbl_8019C2A0 /* 8019C308 00199268 48 00 01 58 */ b lbl_8019C460 lbl_8019C30C: /* 8019C30C 0019926C 2C 08 00 00 */ cmpwi r8, 0 /* 8019C310 00199270 40 81 00 80 */ ble lbl_8019C390 /* 8019C314 00199274 81 8D A5 70 */ lwz r12, lbl_805A9130@sda21(r13) /* 8019C318 00199278 39 8C 00 01 */ addi r12, r12, 1 /* 8019C31C 0019927C 7C 08 60 00 */ cmpw r8, r12 /* 8019C320 00199280 40 80 00 70 */ bge lbl_8019C390 /* 8019C324 00199284 2C 0A 00 00 */ cmpwi r10, 0 /* 8019C328 00199288 40 81 00 68 */ ble lbl_8019C390 /* 8019C32C 0019928C 7C 0A 60 00 */ cmpw r10, r12 /* 8019C330 00199290 40 80 00 60 */ bge lbl_8019C390 /* 8019C334 00199294 54 0C 0F FE */ srwi r12, r0, 0x1f /* 8019C338 00199298 C0 02 A6 E0 */ lfs f0, lbl_805AC400@sda21(r2) /* 8019C33C 0019929C 7C 0C 02 14 */ add r0, r12, r0 /* 8019C340 001992A0 C0 25 00 38 */ lfs f1, 0x38(r5) /* 8019C344 001992A4 7C 1E 0E 70 */ srawi r30, r0, 1 /* 8019C348 001992A8 3B A0 00 00 */ li r29, 0 /* 8019C34C 001992AC 7C 09 F2 14 */ add r0, r9, r30 /* 8019C350 001992B0 1D 80 01 68 */ mulli r12, r0, 0x168 /* 8019C354 001992B4 7C 0B F2 14 */ add r0, r11, r30 /* 8019C358 001992B8 54 00 18 38 */ slwi r0, r0, 3 /* 8019C35C 001992BC 7D 8C 02 14 */ add r12, r12, r0 /* 8019C360 001992C0 7D 83 62 14 */ add r12, r3, r12 /* 8019C364 001992C4 C0 4C 00 00 */ lfs f2, 0(r12) /* 8019C368 001992C8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019C36C 001992CC 40 81 00 20 */ ble lbl_8019C38C /* 8019C370 001992D0 EC 01 00 B2 */ fmuls f0, f1, f2 /* 8019C374 001992D4 FC 00 00 1E */ fctiwz f0, f0 /* 8019C378 001992D8 D8 01 00 20 */ stfd f0, 0x20(r1) /* 8019C37C 001992DC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8019C380 001992E0 2C 1D 00 FF */ cmpwi r29, 0xff /* 8019C384 001992E4 40 81 00 08 */ ble lbl_8019C38C /* 8019C388 001992E8 3B A0 00 FF */ li r29, 0xff lbl_8019C38C: /* 8019C38C 001992EC 9B AC 00 07 */ stb r29, 7(r12) lbl_8019C390: /* 8019C390 001992F0 2C 08 00 00 */ cmpwi r8, 0 /* 8019C394 001992F4 41 82 00 60 */ beq lbl_8019C3F4 /* 8019C398 001992F8 55 60 18 38 */ slwi r0, r11, 3 /* 8019C39C 001992FC C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 8019C3A0 00199300 7D 7C 5B 78 */ mr r28, r11 /* 8019C3A4 00199304 7D 87 02 14 */ add r12, r7, r0 /* 8019C3A8 00199308 48 00 00 40 */ b lbl_8019C3E8 lbl_8019C3AC: /* 8019C3AC 0019930C C0 4C 00 00 */ lfs f2, 0(r12) /* 8019C3B0 00199310 38 00 00 00 */ li r0, 0 /* 8019C3B4 00199314 C0 05 00 38 */ lfs f0, 0x38(r5) /* 8019C3B8 00199318 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8019C3BC 0019931C 40 81 00 20 */ ble lbl_8019C3DC /* 8019C3C0 00199320 EC 00 00 B2 */ fmuls f0, f0, f2 /* 8019C3C4 00199324 FC 00 00 1E */ fctiwz f0, f0 /* 8019C3C8 00199328 D8 01 00 20 */ stfd f0, 0x20(r1) /* 8019C3CC 0019932C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C3D0 00199330 2C 00 00 FF */ cmpwi r0, 0xff /* 8019C3D4 00199334 40 81 00 08 */ ble lbl_8019C3DC /* 8019C3D8 00199338 38 00 00 FF */ li r0, 0xff lbl_8019C3DC: /* 8019C3DC 0019933C 98 0C 00 07 */ stb r0, 7(r12) /* 8019C3E0 00199340 39 8C 00 08 */ addi r12, r12, 8 /* 8019C3E4 00199344 3B 9C 00 01 */ addi r28, r28, 1 lbl_8019C3E8: /* 8019C3E8 00199348 80 01 00 18 */ lwz r0, 0x18(r1) /* 8019C3EC 0019934C 7C 1C 00 00 */ cmpw r28, r0 /* 8019C3F0 00199350 41 80 FF BC */ blt lbl_8019C3AC lbl_8019C3F4: /* 8019C3F4 00199354 2C 0A 00 00 */ cmpwi r10, 0 /* 8019C3F8 00199358 41 82 00 68 */ beq lbl_8019C460 /* 8019C3FC 0019935C 39 89 00 01 */ addi r12, r9, 1 /* 8019C400 00199360 55 6B 18 38 */ slwi r11, r11, 3 /* 8019C404 00199364 1C 0C 01 68 */ mulli r0, r12, 0x168 /* 8019C408 00199368 C0 22 A6 E0 */ lfs f1, lbl_805AC400@sda21(r2) /* 8019C40C 0019936C 7D 6B 02 14 */ add r11, r11, r0 /* 8019C410 00199370 7D 63 5A 14 */ add r11, r3, r11 /* 8019C414 00199374 48 00 00 40 */ b lbl_8019C454 lbl_8019C418: /* 8019C418 00199378 C0 4B 00 00 */ lfs f2, 0(r11) /* 8019C41C 0019937C 38 00 00 00 */ li r0, 0 /* 8019C420 00199380 C0 05 00 38 */ lfs f0, 0x38(r5) /* 8019C424 00199384 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8019C428 00199388 40 81 00 20 */ ble lbl_8019C448 /* 8019C42C 0019938C EC 00 00 B2 */ fmuls f0, f0, f2 /* 8019C430 00199390 FC 00 00 1E */ fctiwz f0, f0 /* 8019C434 00199394 D8 01 00 20 */ stfd f0, 0x20(r1) /* 8019C438 00199398 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C43C 0019939C 2C 00 00 FF */ cmpwi r0, 0xff /* 8019C440 001993A0 40 81 00 08 */ ble lbl_8019C448 /* 8019C444 001993A4 38 00 00 FF */ li r0, 0xff lbl_8019C448: /* 8019C448 001993A8 98 0B 00 07 */ stb r0, 7(r11) /* 8019C44C 001993AC 39 6B 01 68 */ addi r11, r11, 0x168 /* 8019C450 001993B0 39 8C 00 01 */ addi r12, r12, 1 lbl_8019C454: /* 8019C454 001993B4 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8019C458 001993B8 7C 0C 00 00 */ cmpw r12, r0 /* 8019C45C 001993BC 41 80 FF BC */ blt lbl_8019C418 lbl_8019C460: /* 8019C460 001993C0 38 84 00 01 */ addi r4, r4, 1 /* 8019C464 001993C4 39 4A 00 01 */ addi r10, r10, 1 lbl_8019C468: /* 8019C468 001993C8 89 65 00 00 */ lbz r11, 0(r5) /* 8019C46C 001993CC 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) /* 8019C470 001993D0 7D 6B 07 74 */ extsb r11, r11 /* 8019C474 001993D4 7D 6B 02 14 */ add r11, r11, r0 /* 8019C478 001993D8 39 6B FF FE */ addi r11, r11, -2 /* 8019C47C 001993DC 7D 6B 03 D6 */ divw r11, r11, r0 /* 8019C480 001993E0 7C 0A 58 00 */ cmpw r10, r11 /* 8019C484 001993E4 40 81 FD A4 */ ble lbl_8019C228 /* 8019C488 001993E8 38 C6 00 09 */ addi r6, r6, 9 /* 8019C48C 001993EC 39 08 00 01 */ addi r8, r8, 1 lbl_8019C490: /* 8019C490 001993F0 88 05 00 01 */ lbz r0, 1(r5) /* 8019C494 001993F4 81 2D A5 74 */ lwz r9, lbl_805A9134@sda21(r13) /* 8019C498 001993F8 7C 00 07 74 */ extsb r0, r0 /* 8019C49C 001993FC 7C 80 4A 14 */ add r4, r0, r9 /* 8019C4A0 00199400 38 04 FF FE */ addi r0, r4, -2 /* 8019C4A4 00199404 7C 00 4B D6 */ divw r0, r0, r9 /* 8019C4A8 00199408 7C 08 00 00 */ cmpw r8, r0 /* 8019C4AC 0019940C 40 81 FD 14 */ ble lbl_8019C1C0 /* 8019C4B0 00199410 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8019C4B4 00199414 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8019C4B8 00199418 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8019C4BC 0019941C 83 81 00 30 */ lwz r28, 0x30(r1) /* 8019C4C0 00199420 38 21 00 40 */ addi r1, r1, 0x40 /* 8019C4C4 00199424 4E 80 00 20 */ blr .global UpdatePatchWithNormals__FPCUcPCUcQ220CFluidPlaneCPURender10SPatchInfo UpdatePatchWithNormals__FPCUcPCUcQ220CFluidPlaneCPURender10SPatchInfo: /* 8019C4C8 00199428 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8019C4CC 0019942C 38 E3 01 70 */ addi r7, r3, 0x170 /* 8019C4D0 00199430 C0 E2 A6 E4 */ lfs f7, lbl_805AC404@sda21(r2) /* 8019C4D4 00199434 38 84 00 09 */ addi r4, r4, 9 /* 8019C4D8 00199438 BF 41 00 38 */ stmw r26, 0x38(r1) /* 8019C4DC 0019943C 39 00 00 01 */ li r8, 1 /* 8019C4E0 00199440 C0 C2 A6 FC */ lfs f6, lbl_805AC41C@sda21(r2) /* 8019C4E4 00199444 A8 C5 00 2E */ lha r6, 0x2e(r5) /* 8019C4E8 00199448 A8 05 00 2A */ lha r0, 0x2a(r5) /* 8019C4EC 0019944C C0 A5 00 18 */ lfs f5, 0x18(r5) /* 8019C4F0 00199450 7C 66 01 D6 */ mullw r3, r6, r0 /* 8019C4F4 00199454 A8 05 00 28 */ lha r0, 0x28(r5) /* 8019C4F8 00199458 EC E7 01 72 */ fmuls f7, f7, f5 /* 8019C4FC 0019945C FC A0 38 50 */ fneg f5, f7 /* 8019C500 00199460 38 C3 FF FF */ addi r6, r3, -1 /* 8019C504 00199464 EC C6 01 F2 */ fmuls f6, f6, f7 /* 8019C508 00199468 7C C0 32 14 */ add r6, r0, r6 /* 8019C50C 0019946C 48 00 05 FC */ b lbl_8019CB08 lbl_8019C510: /* 8019C510 00199470 7C 68 51 D6 */ mullw r3, r8, r10 /* 8019C514 00199474 80 0D 8F DC */ lwz r0, lbl_805A7B9C@sda21(r13) /* 8019C518 00199478 39 2D 8F DC */ addi r9, r13, lbl_805A7B9C@sda21 /* 8019C51C 0019947C 39 63 00 01 */ addi r11, r3, 1 /* 8019C520 00199480 7C 6A 58 50 */ subf r3, r10, r11 /* 8019C524 00199484 91 61 00 18 */ stw r11, 0x18(r1) /* 8019C528 00199488 7C 00 18 00 */ cmpw r0, r3 /* 8019C52C 0019948C 90 61 00 10 */ stw r3, 0x10(r1) /* 8019C530 00199490 40 80 00 08 */ bge lbl_8019C538 /* 8019C534 00199494 39 21 00 10 */ addi r9, r1, 0x10 lbl_8019C538: /* 8019C538 00199498 88 05 00 01 */ lbz r0, 1(r5) /* 8019C53C 0019949C 38 61 00 0C */ addi r3, r1, 0xc /* 8019C540 001994A0 81 29 00 00 */ lwz r9, 0(r9) /* 8019C544 001994A4 7C 0A 07 74 */ extsb r10, r0 /* 8019C548 001994A8 38 0A 00 01 */ addi r0, r10, 1 /* 8019C54C 001994AC 7C 0B 00 00 */ cmpw r11, r0 /* 8019C550 001994B0 90 01 00 0C */ stw r0, 0xc(r1) /* 8019C554 001994B4 40 80 00 08 */ bge lbl_8019C55C /* 8019C558 001994B8 38 61 00 18 */ addi r3, r1, 0x18 lbl_8019C55C: /* 8019C55C 001994BC 80 03 00 00 */ lwz r0, 0(r3) /* 8019C560 001994C0 7C EA 3B 78 */ mr r10, r7 /* 8019C564 001994C4 38 64 00 01 */ addi r3, r4, 1 /* 8019C568 001994C8 39 60 00 01 */ li r11, 1 /* 8019C56C 001994CC 90 01 00 18 */ stw r0, 0x18(r1) /* 8019C570 001994D0 48 00 05 60 */ b lbl_8019CAD0 lbl_8019C574: /* 8019C574 001994D4 7F AB 01 D6 */ mullw r29, r11, r0 /* 8019C578 001994D8 89 85 00 00 */ lbz r12, 0(r5) /* 8019C57C 001994DC 3B E1 00 08 */ addi r31, r1, 8 /* 8019C580 001994E0 7D 8C 07 74 */ extsb r12, r12 /* 8019C584 001994E4 3B CC 00 01 */ addi r30, r12, 1 /* 8019C588 001994E8 39 9D 00 01 */ addi r12, r29, 1 /* 8019C58C 001994EC 7C 0C F0 00 */ cmpw r12, r30 /* 8019C590 001994F0 91 81 00 14 */ stw r12, 0x14(r1) /* 8019C594 001994F4 7D 80 60 50 */ subf r12, r0, r12 /* 8019C598 001994F8 93 C1 00 08 */ stw r30, 8(r1) /* 8019C59C 001994FC 40 80 00 08 */ bge lbl_8019C5A4 /* 8019C5A0 00199500 3B E1 00 14 */ addi r31, r1, 0x14 lbl_8019C5A4: /* 8019C5A4 00199504 8B C3 00 00 */ lbz r30, 0(r3) /* 8019C5A8 00199508 83 FF 00 00 */ lwz r31, 0(r31) /* 8019C5AC 0019950C 57 DE 06 FE */ clrlwi r30, r30, 0x1b /* 8019C5B0 00199510 2C 1E 00 1F */ cmpwi r30, 0x1f /* 8019C5B4 00199514 93 E1 00 14 */ stw r31, 0x14(r1) /* 8019C5B8 00199518 40 82 01 08 */ bne lbl_8019C6C0 /* 8019C5BC 0019951C C1 62 A6 E0 */ lfs f11, lbl_805AC400@sda21(r2) /* 8019C5C0 00199520 7D 5F 53 78 */ mr r31, r10 /* 8019C5C4 00199524 C1 42 A7 18 */ lfs f10, lbl_805AC438@sda21(r2) /* 8019C5C8 00199528 7D 3C 4B 78 */ mr r28, r9 /* 8019C5CC 0019952C 48 00 00 E4 */ b lbl_8019C6B0 lbl_8019C5D0: /* 8019C5D0 00199530 7F FB FB 78 */ mr r27, r31 /* 8019C5D4 00199534 7D 9A 63 78 */ mr r26, r12 /* 8019C5D8 00199538 48 00 00 C4 */ b lbl_8019C69C lbl_8019C5DC: /* 8019C5DC 0019953C C1 1B 01 68 */ lfs f8, 0x168(r27) /* 8019C5E0 00199540 C0 FB FE 98 */ lfs f7, -0x168(r27) /* 8019C5E4 00199544 C1 3B 00 08 */ lfs f9, 8(r27) /* 8019C5E8 00199548 EC E8 38 28 */ fsubs f7, f8, f7 /* 8019C5EC 0019954C C1 1B FF F8 */ lfs f8, -8(r27) /* 8019C5F0 00199550 ED 09 40 28 */ fsubs f8, f9, f8 /* 8019C5F4 00199554 ED 85 01 F2 */ fmuls f12, f5, f7 /* 8019C5F8 00199558 ED 05 02 32 */ fmuls f8, f5, f8 /* 8019C5FC 0019955C EC EC 03 32 */ fmuls f7, f12, f12 /* 8019C600 00199560 EC E8 3A 3A */ fmadds f7, f8, f8, f7 /* 8019C604 00199564 EC 06 39 BA */ fmadds f0, f6, f6, f7 /* 8019C608 00199568 FC 0B 00 00 */ fcmpu cr0, f11, f0 /* 8019C60C 0019956C 40 82 00 0C */ bne lbl_8019C618 /* 8019C610 00199570 FC E0 00 90 */ fmr f7, f0 /* 8019C614 00199574 48 00 00 0C */ b lbl_8019C620 lbl_8019C618: /* 8019C618 00199578 10 E0 00 34 */ ps_rsqrte f7, f0 /* 8019C61C 0019957C 10 E7 00 32 */ ps_mul f7, f7, f0 lbl_8019C620: /* 8019C620 00199580 EC EA 38 24 */ fdivs f7, f10, f7 /* 8019C624 00199584 3B A0 00 00 */ li r29, 0 /* 8019C628 00199588 ED 27 02 32 */ fmuls f9, f7, f8 /* 8019C62C 0019958C ED 07 03 32 */ fmuls f8, f7, f12 /* 8019C630 00199590 EC E7 01 B2 */ fmuls f7, f7, f6 /* 8019C634 00199594 FD 20 48 1E */ fctiwz f9, f9 /* 8019C638 00199598 FD 00 40 1E */ fctiwz f8, f8 /* 8019C63C 0019959C FC E0 38 1E */ fctiwz f7, f7 /* 8019C640 001995A0 D9 21 00 20 */ stfd f9, 0x20(r1) /* 8019C644 001995A4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C648 001995A8 D9 01 00 28 */ stfd f8, 0x28(r1) /* 8019C64C 001995AC D8 E1 00 30 */ stfd f7, 0x30(r1) /* 8019C650 001995B0 83 C1 00 2C */ lwz r30, 0x2c(r1) /* 8019C654 001995B4 98 1B 00 04 */ stb r0, 4(r27) /* 8019C658 001995B8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019C65C 001995BC 9B DB 00 05 */ stb r30, 5(r27) /* 8019C660 001995C0 98 1B 00 06 */ stb r0, 6(r27) /* 8019C664 001995C4 C1 1B 00 00 */ lfs f8, 0(r27) /* 8019C668 001995C8 C0 E5 00 38 */ lfs f7, 0x38(r5) /* 8019C66C 001995CC FC 08 58 40 */ fcmpo cr0, f8, f11 /* 8019C670 001995D0 40 81 00 20 */ ble lbl_8019C690 /* 8019C674 001995D4 EC E8 01 F2 */ fmuls f7, f8, f7 /* 8019C678 001995D8 FC E0 38 1E */ fctiwz f7, f7 /* 8019C67C 001995DC D8 E1 00 30 */ stfd f7, 0x30(r1) /* 8019C680 001995E0 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8019C684 001995E4 2C 1D 00 FF */ cmpwi r29, 0xff /* 8019C688 001995E8 40 81 00 08 */ ble lbl_8019C690 /* 8019C68C 001995EC 3B A0 00 FF */ li r29, 0xff lbl_8019C690: /* 8019C690 001995F0 9B BB 00 07 */ stb r29, 7(r27) /* 8019C694 001995F4 3B 5A 00 01 */ addi r26, r26, 1 /* 8019C698 001995F8 3B 7B 00 08 */ addi r27, r27, 8 lbl_8019C69C: /* 8019C69C 001995FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019C6A0 00199600 7C 1A 00 00 */ cmpw r26, r0 /* 8019C6A4 00199604 41 80 FF 38 */ blt lbl_8019C5DC /* 8019C6A8 00199608 3B 9C 00 01 */ addi r28, r28, 1 /* 8019C6AC 0019960C 3B FF 01 68 */ addi r31, r31, 0x168 lbl_8019C6B0: /* 8019C6B0 00199610 80 01 00 18 */ lwz r0, 0x18(r1) /* 8019C6B4 00199614 7C 1C 00 00 */ cmpw r28, r0 /* 8019C6B8 00199618 41 80 FF 18 */ blt lbl_8019C5D0 /* 8019C6BC 0019961C 48 00 04 00 */ b lbl_8019CABC lbl_8019C6C0: /* 8019C6C0 00199620 83 A5 00 30 */ lwz r29, 0x30(r5) /* 8019C6C4 00199624 28 1D 00 00 */ cmplwi r29, 0 /* 8019C6C8 00199628 41 82 00 18 */ beq lbl_8019C6E0 /* 8019C6CC 0019962C 41 82 01 2C */ beq lbl_8019C7F8 /* 8019C6D0 00199630 7F DD 5A 14 */ add r30, r29, r11 /* 8019C6D4 00199634 7F C6 F0 AE */ lbzx r30, r6, r30 /* 8019C6D8 00199638 7F DE 07 75 */ extsb. r30, r30 /* 8019C6DC 0019963C 41 82 01 1C */ beq lbl_8019C7F8 lbl_8019C6E0: /* 8019C6E0 00199640 2C 08 00 00 */ cmpwi r8, 0 /* 8019C6E4 00199644 40 81 01 14 */ ble lbl_8019C7F8 /* 8019C6E8 00199648 83 CD A5 70 */ lwz r30, lbl_805A9130@sda21(r13) /* 8019C6EC 0019964C 3B BE 00 01 */ addi r29, r30, 1 /* 8019C6F0 00199650 7C 08 E8 00 */ cmpw r8, r29 /* 8019C6F4 00199654 40 80 01 04 */ bge lbl_8019C7F8 /* 8019C6F8 00199658 2C 0B 00 00 */ cmpwi r11, 0 /* 8019C6FC 0019965C 40 81 00 FC */ ble lbl_8019C7F8 /* 8019C700 00199660 7C 0B E8 00 */ cmpw r11, r29 /* 8019C704 00199664 40 80 00 F4 */ bge lbl_8019C7F8 /* 8019C708 00199668 1F C0 00 2D */ mulli r30, r0, 0x2d /* 8019C70C 0019966C 54 1F 0F FE */ srwi r31, r0, 0x1f /* 8019C710 00199670 C0 E2 A6 E0 */ lfs f7, lbl_805AC400@sda21(r2) /* 8019C714 00199674 7C 1F 02 14 */ add r0, r31, r0 /* 8019C718 00199678 57 DF 0F FE */ srwi r31, r30, 0x1f /* 8019C71C 0019967C 7F FF F2 14 */ add r31, r31, r30 /* 8019C720 00199680 7F FF 0E 70 */ srawi r31, r31, 1 /* 8019C724 00199684 7C 00 0E 70 */ srawi r0, r0, 1 /* 8019C728 00199688 57 FF 18 38 */ slwi r31, r31, 3 /* 8019C72C 0019968C 54 00 18 38 */ slwi r0, r0, 3 /* 8019C730 00199690 7F 5F 02 14 */ add r26, r31, r0 /* 8019C734 00199694 7F 4A D2 14 */ add r26, r10, r26 /* 8019C738 00199698 C1 3A 01 68 */ lfs f9, 0x168(r26) /* 8019C73C 0019969C C1 1A FE 98 */ lfs f8, -0x168(r26) /* 8019C740 001996A0 C1 5A 00 08 */ lfs f10, 8(r26) /* 8019C744 001996A4 ED 09 40 28 */ fsubs f8, f9, f8 /* 8019C748 001996A8 C1 3A FF F8 */ lfs f9, -8(r26) /* 8019C74C 001996AC ED 2A 48 28 */ fsubs f9, f10, f9 /* 8019C750 001996B0 ED 65 02 32 */ fmuls f11, f5, f8 /* 8019C754 001996B4 ED 45 02 72 */ fmuls f10, f5, f9 /* 8019C758 001996B8 ED 0B 02 F2 */ fmuls f8, f11, f11 /* 8019C75C 001996BC ED 0A 42 BA */ fmadds f8, f10, f10, f8 /* 8019C760 001996C0 EC 26 41 BA */ fmadds f1, f6, f6, f8 /* 8019C764 001996C4 FC 07 08 00 */ fcmpu cr0, f7, f1 /* 8019C768 001996C8 40 82 00 0C */ bne lbl_8019C774 /* 8019C76C 001996CC FD 20 08 90 */ fmr f9, f1 /* 8019C770 001996D0 48 00 00 0C */ b lbl_8019C77C lbl_8019C774: /* 8019C774 001996D4 11 20 08 34 */ ps_rsqrte f9, f1 /* 8019C778 001996D8 11 29 00 72 */ ps_mul f9, f9, f1 lbl_8019C77C: /* 8019C77C 001996DC C1 02 A7 18 */ lfs f8, lbl_805AC438@sda21(r2) /* 8019C780 001996E0 3B A0 00 00 */ li r29, 0 /* 8019C784 001996E4 C0 E2 A6 E0 */ lfs f7, lbl_805AC400@sda21(r2) /* 8019C788 001996E8 ED 08 48 24 */ fdivs f8, f8, f9 /* 8019C78C 001996EC ED 48 02 B2 */ fmuls f10, f8, f10 /* 8019C790 001996F0 ED 28 02 F2 */ fmuls f9, f8, f11 /* 8019C794 001996F4 ED 08 01 B2 */ fmuls f8, f8, f6 /* 8019C798 001996F8 FD 40 50 1E */ fctiwz f10, f10 /* 8019C79C 001996FC FD 20 48 1E */ fctiwz f9, f9 /* 8019C7A0 00199700 FD 00 40 1E */ fctiwz f8, f8 /* 8019C7A4 00199704 D9 41 00 30 */ stfd f10, 0x30(r1) /* 8019C7A8 00199708 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019C7AC 0019970C D9 21 00 28 */ stfd f9, 0x28(r1) /* 8019C7B0 00199710 D9 01 00 20 */ stfd f8, 0x20(r1) /* 8019C7B4 00199714 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8019C7B8 00199718 98 1A 00 04 */ stb r0, 4(r26) /* 8019C7BC 0019971C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C7C0 00199720 9B FA 00 05 */ stb r31, 5(r26) /* 8019C7C4 00199724 98 1A 00 06 */ stb r0, 6(r26) /* 8019C7C8 00199728 C1 3A 00 00 */ lfs f9, 0(r26) /* 8019C7CC 0019972C C1 05 00 38 */ lfs f8, 0x38(r5) /* 8019C7D0 00199730 FC 09 38 40 */ fcmpo cr0, f9, f7 /* 8019C7D4 00199734 40 81 00 20 */ ble lbl_8019C7F4 /* 8019C7D8 00199738 EC E9 02 32 */ fmuls f7, f9, f8 /* 8019C7DC 0019973C FC E0 38 1E */ fctiwz f7, f7 /* 8019C7E0 00199740 D8 E1 00 30 */ stfd f7, 0x30(r1) /* 8019C7E4 00199744 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8019C7E8 00199748 2C 1D 00 FF */ cmpwi r29, 0xff /* 8019C7EC 0019974C 40 81 00 08 */ ble lbl_8019C7F4 /* 8019C7F0 00199750 3B A0 00 FF */ li r29, 0xff lbl_8019C7F4: /* 8019C7F4 00199754 9B BA 00 07 */ stb r29, 7(r26) lbl_8019C7F8: /* 8019C7F8 00199758 2C 0B 00 00 */ cmpwi r11, 0 /* 8019C7FC 0019975C 41 82 02 C0 */ beq lbl_8019CABC /* 8019C800 00199760 2C 08 00 00 */ cmpwi r8, 0 /* 8019C804 00199764 41 82 02 B8 */ beq lbl_8019CABC /* 8019C808 00199768 8B A3 00 00 */ lbz r29, 0(r3) /* 8019C80C 0019976C 57 A0 07 BD */ rlwinm. r0, r29, 0, 0x1e, 0x1e /* 8019C810 00199770 40 82 00 24 */ bne lbl_8019C834 /* 8019C814 00199774 88 03 FF F7 */ lbz r0, -9(r3) /* 8019C818 00199778 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 8019C81C 0019977C 40 82 00 18 */ bne lbl_8019C834 /* 8019C820 00199780 57 A0 07 7B */ rlwinm. r0, r29, 0, 0x1d, 0x1d /* 8019C824 00199784 40 82 00 10 */ bne lbl_8019C834 /* 8019C828 00199788 88 03 FF FF */ lbz r0, -1(r3) /* 8019C82C 0019978C 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 8019C830 00199790 41 82 01 C8 */ beq lbl_8019C9F8 lbl_8019C834: /* 8019C834 00199794 C1 62 A6 E0 */ lfs f11, lbl_805AC400@sda21(r2) /* 8019C838 00199798 7D 5A 53 78 */ mr r26, r10 /* 8019C83C 0019979C C1 42 A7 18 */ lfs f10, lbl_805AC438@sda21(r2) /* 8019C840 001997A0 7D 9B 63 78 */ mr r27, r12 /* 8019C844 001997A4 48 00 00 C4 */ b lbl_8019C908 lbl_8019C848: /* 8019C848 001997A8 C1 1A 01 68 */ lfs f8, 0x168(r26) /* 8019C84C 001997AC C0 FA FE 98 */ lfs f7, -0x168(r26) /* 8019C850 001997B0 C1 3A 00 08 */ lfs f9, 8(r26) /* 8019C854 001997B4 EC E8 38 28 */ fsubs f7, f8, f7 /* 8019C858 001997B8 C1 1A FF F8 */ lfs f8, -8(r26) /* 8019C85C 001997BC ED 09 40 28 */ fsubs f8, f9, f8 /* 8019C860 001997C0 ED 85 01 F2 */ fmuls f12, f5, f7 /* 8019C864 001997C4 ED 05 02 32 */ fmuls f8, f5, f8 /* 8019C868 001997C8 EC EC 03 32 */ fmuls f7, f12, f12 /* 8019C86C 001997CC EC E8 3A 3A */ fmadds f7, f8, f8, f7 /* 8019C870 001997D0 EC 46 39 BA */ fmadds f2, f6, f6, f7 /* 8019C874 001997D4 FC 0B 10 00 */ fcmpu cr0, f11, f2 /* 8019C878 001997D8 40 82 00 0C */ bne lbl_8019C884 /* 8019C87C 001997DC FC E0 10 90 */ fmr f7, f2 /* 8019C880 001997E0 48 00 00 0C */ b lbl_8019C88C lbl_8019C884: /* 8019C884 001997E4 10 E0 10 34 */ ps_rsqrte f7, f2 /* 8019C888 001997E8 10 E7 00 B2 */ ps_mul f7, f7, f2 lbl_8019C88C: /* 8019C88C 001997EC EC EA 38 24 */ fdivs f7, f10, f7 /* 8019C890 001997F0 3B A0 00 00 */ li r29, 0 /* 8019C894 001997F4 ED 27 02 32 */ fmuls f9, f7, f8 /* 8019C898 001997F8 ED 07 03 32 */ fmuls f8, f7, f12 /* 8019C89C 001997FC EC E7 01 B2 */ fmuls f7, f7, f6 /* 8019C8A0 00199800 FD 20 48 1E */ fctiwz f9, f9 /* 8019C8A4 00199804 FD 00 40 1E */ fctiwz f8, f8 /* 8019C8A8 00199808 FC E0 38 1E */ fctiwz f7, f7 /* 8019C8AC 0019980C D9 21 00 30 */ stfd f9, 0x30(r1) /* 8019C8B0 00199810 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019C8B4 00199814 D9 01 00 28 */ stfd f8, 0x28(r1) /* 8019C8B8 00199818 D8 E1 00 20 */ stfd f7, 0x20(r1) /* 8019C8BC 0019981C 81 81 00 2C */ lwz r12, 0x2c(r1) /* 8019C8C0 00199820 98 1A 00 04 */ stb r0, 4(r26) /* 8019C8C4 00199824 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C8C8 00199828 99 9A 00 05 */ stb r12, 5(r26) /* 8019C8CC 0019982C 98 1A 00 06 */ stb r0, 6(r26) /* 8019C8D0 00199830 C1 1A 00 00 */ lfs f8, 0(r26) /* 8019C8D4 00199834 C0 E5 00 38 */ lfs f7, 0x38(r5) /* 8019C8D8 00199838 FC 08 58 40 */ fcmpo cr0, f8, f11 /* 8019C8DC 0019983C 40 81 00 20 */ ble lbl_8019C8FC /* 8019C8E0 00199840 EC E8 01 F2 */ fmuls f7, f8, f7 /* 8019C8E4 00199844 FC E0 38 1E */ fctiwz f7, f7 /* 8019C8E8 00199848 D8 E1 00 30 */ stfd f7, 0x30(r1) /* 8019C8EC 0019984C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8019C8F0 00199850 2C 1D 00 FF */ cmpwi r29, 0xff /* 8019C8F4 00199854 40 81 00 08 */ ble lbl_8019C8FC /* 8019C8F8 00199858 3B A0 00 FF */ li r29, 0xff lbl_8019C8FC: /* 8019C8FC 0019985C 9B BA 00 07 */ stb r29, 7(r26) /* 8019C900 00199860 3B 7B 00 01 */ addi r27, r27, 1 /* 8019C904 00199864 3B 5A 00 08 */ addi r26, r26, 8 lbl_8019C908: /* 8019C908 00199868 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019C90C 0019986C 7C 1B 00 00 */ cmpw r27, r0 /* 8019C910 00199870 41 80 FF 38 */ blt lbl_8019C848 /* 8019C914 00199874 C1 62 A6 E0 */ lfs f11, lbl_805AC400@sda21(r2) /* 8019C918 00199878 3B 4A 01 68 */ addi r26, r10, 0x168 /* 8019C91C 0019987C C1 42 A7 18 */ lfs f10, lbl_805AC438@sda21(r2) /* 8019C920 00199880 3B 69 00 01 */ addi r27, r9, 1 /* 8019C924 00199884 48 00 00 C4 */ b lbl_8019C9E8 lbl_8019C928: /* 8019C928 00199888 C1 1A 01 68 */ lfs f8, 0x168(r26) /* 8019C92C 0019988C C0 FA FE 98 */ lfs f7, -0x168(r26) /* 8019C930 00199890 C1 3A 00 08 */ lfs f9, 8(r26) /* 8019C934 00199894 EC E8 38 28 */ fsubs f7, f8, f7 /* 8019C938 00199898 C1 1A FF F8 */ lfs f8, -8(r26) /* 8019C93C 0019989C ED 09 40 28 */ fsubs f8, f9, f8 /* 8019C940 001998A0 ED 85 01 F2 */ fmuls f12, f5, f7 /* 8019C944 001998A4 ED 05 02 32 */ fmuls f8, f5, f8 /* 8019C948 001998A8 EC EC 03 32 */ fmuls f7, f12, f12 /* 8019C94C 001998AC EC E8 3A 3A */ fmadds f7, f8, f8, f7 /* 8019C950 001998B0 EC 66 39 BA */ fmadds f3, f6, f6, f7 /* 8019C954 001998B4 FC 0B 18 00 */ fcmpu cr0, f11, f3 /* 8019C958 001998B8 40 82 00 0C */ bne lbl_8019C964 /* 8019C95C 001998BC FC E0 18 90 */ fmr f7, f3 /* 8019C960 001998C0 48 00 00 0C */ b lbl_8019C96C lbl_8019C964: /* 8019C964 001998C4 10 E0 18 34 */ ps_rsqrte f7, f3 /* 8019C968 001998C8 10 E7 00 F2 */ ps_mul f7, f7, f3 lbl_8019C96C: /* 8019C96C 001998CC EC EA 38 24 */ fdivs f7, f10, f7 /* 8019C970 001998D0 3B A0 00 00 */ li r29, 0 /* 8019C974 001998D4 ED 27 02 32 */ fmuls f9, f7, f8 /* 8019C978 001998D8 ED 07 03 32 */ fmuls f8, f7, f12 /* 8019C97C 001998DC EC E7 01 B2 */ fmuls f7, f7, f6 /* 8019C980 001998E0 FD 20 48 1E */ fctiwz f9, f9 /* 8019C984 001998E4 FD 00 40 1E */ fctiwz f8, f8 /* 8019C988 001998E8 FC E0 38 1E */ fctiwz f7, f7 /* 8019C98C 001998EC D9 21 00 30 */ stfd f9, 0x30(r1) /* 8019C990 001998F0 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019C994 001998F4 D9 01 00 28 */ stfd f8, 0x28(r1) /* 8019C998 001998F8 D8 E1 00 20 */ stfd f7, 0x20(r1) /* 8019C99C 001998FC 81 81 00 2C */ lwz r12, 0x2c(r1) /* 8019C9A0 00199900 98 1A 00 04 */ stb r0, 4(r26) /* 8019C9A4 00199904 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019C9A8 00199908 99 9A 00 05 */ stb r12, 5(r26) /* 8019C9AC 0019990C 98 1A 00 06 */ stb r0, 6(r26) /* 8019C9B0 00199910 C1 1A 00 00 */ lfs f8, 0(r26) /* 8019C9B4 00199914 C0 E5 00 38 */ lfs f7, 0x38(r5) /* 8019C9B8 00199918 FC 08 58 40 */ fcmpo cr0, f8, f11 /* 8019C9BC 0019991C 40 81 00 20 */ ble lbl_8019C9DC /* 8019C9C0 00199920 EC E8 01 F2 */ fmuls f7, f8, f7 /* 8019C9C4 00199924 FC E0 38 1E */ fctiwz f7, f7 /* 8019C9C8 00199928 D8 E1 00 30 */ stfd f7, 0x30(r1) /* 8019C9CC 0019992C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8019C9D0 00199930 2C 1D 00 FF */ cmpwi r29, 0xff /* 8019C9D4 00199934 40 81 00 08 */ ble lbl_8019C9DC /* 8019C9D8 00199938 3B A0 00 FF */ li r29, 0xff lbl_8019C9DC: /* 8019C9DC 0019993C 9B BA 00 07 */ stb r29, 7(r26) /* 8019C9E0 00199940 3B 7B 00 01 */ addi r27, r27, 1 /* 8019C9E4 00199944 3B 5A 01 68 */ addi r26, r26, 0x168 lbl_8019C9E8: /* 8019C9E8 00199948 80 01 00 18 */ lwz r0, 0x18(r1) /* 8019C9EC 0019994C 7C 1B 00 00 */ cmpw r27, r0 /* 8019C9F0 00199950 41 80 FF 38 */ blt lbl_8019C928 /* 8019C9F4 00199954 48 00 00 C8 */ b lbl_8019CABC lbl_8019C9F8: /* 8019C9F8 00199958 C1 0A 01 68 */ lfs f8, 0x168(r10) /* 8019C9FC 0019995C C0 EA FE 98 */ lfs f7, -0x168(r10) /* 8019CA00 00199960 C1 4A 00 08 */ lfs f10, 8(r10) /* 8019CA04 00199964 ED 08 38 28 */ fsubs f8, f8, f7 /* 8019CA08 00199968 C1 2A FF F8 */ lfs f9, -8(r10) /* 8019CA0C 0019996C C0 E2 A6 E0 */ lfs f7, lbl_805AC400@sda21(r2) /* 8019CA10 00199970 ED 2A 48 28 */ fsubs f9, f10, f9 /* 8019CA14 00199974 ED 65 02 32 */ fmuls f11, f5, f8 /* 8019CA18 00199978 ED 45 02 72 */ fmuls f10, f5, f9 /* 8019CA1C 0019997C ED 0B 02 F2 */ fmuls f8, f11, f11 /* 8019CA20 00199980 ED 0A 42 BA */ fmadds f8, f10, f10, f8 /* 8019CA24 00199984 EC 86 41 BA */ fmadds f4, f6, f6, f8 /* 8019CA28 00199988 FC 07 20 00 */ fcmpu cr0, f7, f4 /* 8019CA2C 0019998C 40 82 00 0C */ bne lbl_8019CA38 /* 8019CA30 00199990 FD 20 20 90 */ fmr f9, f4 /* 8019CA34 00199994 48 00 00 0C */ b lbl_8019CA40 lbl_8019CA38: /* 8019CA38 00199998 11 20 20 34 */ ps_rsqrte f9, f4 /* 8019CA3C 0019999C 11 29 01 32 */ ps_mul f9, f9, f4 lbl_8019CA40: /* 8019CA40 001999A0 C1 02 A7 18 */ lfs f8, lbl_805AC438@sda21(r2) /* 8019CA44 001999A4 3B A0 00 00 */ li r29, 0 /* 8019CA48 001999A8 C0 E2 A6 E0 */ lfs f7, lbl_805AC400@sda21(r2) /* 8019CA4C 001999AC ED 08 48 24 */ fdivs f8, f8, f9 /* 8019CA50 001999B0 ED 48 02 B2 */ fmuls f10, f8, f10 /* 8019CA54 001999B4 ED 28 02 F2 */ fmuls f9, f8, f11 /* 8019CA58 001999B8 ED 08 01 B2 */ fmuls f8, f8, f6 /* 8019CA5C 001999BC FD 40 50 1E */ fctiwz f10, f10 /* 8019CA60 001999C0 FD 20 48 1E */ fctiwz f9, f9 /* 8019CA64 001999C4 FD 00 40 1E */ fctiwz f8, f8 /* 8019CA68 001999C8 D9 41 00 30 */ stfd f10, 0x30(r1) /* 8019CA6C 001999CC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019CA70 001999D0 D9 21 00 28 */ stfd f9, 0x28(r1) /* 8019CA74 001999D4 D9 01 00 20 */ stfd f8, 0x20(r1) /* 8019CA78 001999D8 81 81 00 2C */ lwz r12, 0x2c(r1) /* 8019CA7C 001999DC 98 0A 00 04 */ stb r0, 4(r10) /* 8019CA80 001999E0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019CA84 001999E4 99 8A 00 05 */ stb r12, 5(r10) /* 8019CA88 001999E8 98 0A 00 06 */ stb r0, 6(r10) /* 8019CA8C 001999EC C1 2A 00 00 */ lfs f9, 0(r10) /* 8019CA90 001999F0 C1 05 00 38 */ lfs f8, 0x38(r5) /* 8019CA94 001999F4 FC 09 38 40 */ fcmpo cr0, f9, f7 /* 8019CA98 001999F8 40 81 00 20 */ ble lbl_8019CAB8 /* 8019CA9C 001999FC EC E9 02 32 */ fmuls f7, f9, f8 /* 8019CAA0 00199A00 FC E0 38 1E */ fctiwz f7, f7 /* 8019CAA4 00199A04 D8 E1 00 30 */ stfd f7, 0x30(r1) /* 8019CAA8 00199A08 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8019CAAC 00199A0C 2C 1D 00 FF */ cmpwi r29, 0xff /* 8019CAB0 00199A10 40 81 00 08 */ ble lbl_8019CAB8 /* 8019CAB4 00199A14 3B A0 00 FF */ li r29, 0xff lbl_8019CAB8: /* 8019CAB8 00199A18 9B AA 00 07 */ stb r29, 7(r10) lbl_8019CABC: /* 8019CABC 00199A1C 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) /* 8019CAC0 00199A20 38 63 00 01 */ addi r3, r3, 1 /* 8019CAC4 00199A24 39 6B 00 01 */ addi r11, r11, 1 /* 8019CAC8 00199A28 54 00 18 38 */ slwi r0, r0, 3 /* 8019CACC 00199A2C 7D 4A 02 14 */ add r10, r10, r0 lbl_8019CAD0: /* 8019CAD0 00199A30 89 85 00 00 */ lbz r12, 0(r5) /* 8019CAD4 00199A34 80 0D A5 74 */ lwz r0, lbl_805A9134@sda21(r13) /* 8019CAD8 00199A38 7D 8C 07 74 */ extsb r12, r12 /* 8019CADC 00199A3C 7D 8C 02 14 */ add r12, r12, r0 /* 8019CAE0 00199A40 39 8C FF FE */ addi r12, r12, -2 /* 8019CAE4 00199A44 7D 8C 03 D6 */ divw r12, r12, r0 /* 8019CAE8 00199A48 7C 0B 60 00 */ cmpw r11, r12 /* 8019CAEC 00199A4C 40 81 FA 88 */ ble lbl_8019C574 /* 8019CAF0 00199A50 1C 00 01 68 */ mulli r0, r0, 0x168 /* 8019CAF4 00199A54 A8 65 00 2A */ lha r3, 0x2a(r5) /* 8019CAF8 00199A58 39 08 00 01 */ addi r8, r8, 1 /* 8019CAFC 00199A5C 7C C6 1A 14 */ add r6, r6, r3 /* 8019CB00 00199A60 7C E7 02 14 */ add r7, r7, r0 /* 8019CB04 00199A64 38 84 00 09 */ addi r4, r4, 9 lbl_8019CB08: /* 8019CB08 00199A68 88 05 00 01 */ lbz r0, 1(r5) /* 8019CB0C 00199A6C 81 4D A5 74 */ lwz r10, lbl_805A9134@sda21(r13) /* 8019CB10 00199A70 7C 00 07 74 */ extsb r0, r0 /* 8019CB14 00199A74 7C 60 52 14 */ add r3, r0, r10 /* 8019CB18 00199A78 38 03 FF FE */ addi r0, r3, -2 /* 8019CB1C 00199A7C 7C 00 53 D6 */ divw r0, r0, r10 /* 8019CB20 00199A80 7C 08 00 00 */ cmpw r8, r0 /* 8019CB24 00199A84 40 81 F9 EC */ ble lbl_8019C510 /* 8019CB28 00199A88 BB 41 00 38 */ lmw r26, 0x38(r1) /* 8019CB2C 00199A8C 38 21 00 50 */ addi r1, r1, 0x50 /* 8019CB30 00199A90 4E 80 00 20 */ blr .global __dt__11CTurbulenceFv __dt__11CTurbulenceFv: /* 8019CB34 00199A94 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019CB38 00199A98 7C 08 02 A6 */ mflr r0 /* 8019CB3C 00199A9C 90 01 00 14 */ stw r0, 0x14(r1) /* 8019CB40 00199AA0 93 E1 00 0C */ stw r31, 0xc(r1) /* 8019CB44 00199AA4 7C 9F 23 78 */ mr r31, r4 /* 8019CB48 00199AA8 93 C1 00 08 */ stw r30, 8(r1) /* 8019CB4C 00199AAC 7C 7E 1B 79 */ or. r30, r3, r3 /* 8019CB50 00199AB0 41 82 00 1C */ beq lbl_8019CB6C /* 8019CB54 00199AB4 80 7E 00 20 */ lwz r3, 0x20(r30) /* 8019CB58 00199AB8 48 17 8D D9 */ bl Free__7CMemoryFPCv /* 8019CB5C 00199ABC 7F E0 07 35 */ extsh. r0, r31 /* 8019CB60 00199AC0 40 81 00 0C */ ble lbl_8019CB6C /* 8019CB64 00199AC4 7F C3 F3 78 */ mr r3, r30 /* 8019CB68 00199AC8 48 17 8D C9 */ bl Free__7CMemoryFPCv lbl_8019CB6C: /* 8019CB6C 00199ACC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019CB70 00199AD0 7F C3 F3 78 */ mr r3, r30 /* 8019CB74 00199AD4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8019CB78 00199AD8 83 C1 00 08 */ lwz r30, 8(r1) /* 8019CB7C 00199ADC 7C 08 03 A6 */ mtlr r0 /* 8019CB80 00199AE0 38 21 00 10 */ addi r1, r1, 0x10 /* 8019CB84 00199AE4 4E 80 00 20 */ blr .global __ct__Q214CFluidPlaneCPU11CTurbulenceFffffffff __ct__Q214CFluidPlaneCPU11CTurbulenceFffffffff: /* 8019CB88 00199AE8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8019CB8C 00199AEC 7C 08 02 A6 */ mflr r0 /* 8019CB90 00199AF0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8019CB94 00199AF4 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 8019CB98 00199AF8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 8019CB9C 00199AFC DB C1 00 90 */ stfd f30, 0x90(r1) /* 8019CBA0 00199B00 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 8019CBA4 00199B04 DB A1 00 80 */ stfd f29, 0x80(r1) /* 8019CBA8 00199B08 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 8019CBAC 00199B0C DB 81 00 70 */ stfd f28, 0x70(r1) /* 8019CBB0 00199B10 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 /* 8019CBB4 00199B14 DB 61 00 60 */ stfd f27, 0x60(r1) /* 8019CBB8 00199B18 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 /* 8019CBBC 00199B1C DB 41 00 50 */ stfd f26, 0x50(r1) /* 8019CBC0 00199B20 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 /* 8019CBC4 00199B24 DB 21 00 40 */ stfd f25, 0x40(r1) /* 8019CBC8 00199B28 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 /* 8019CBCC 00199B2C DB 01 00 30 */ stfd f24, 0x30(r1) /* 8019CBD0 00199B30 F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 /* 8019CBD4 00199B34 DA E1 00 20 */ stfd f23, 0x20(r1) /* 8019CBD8 00199B38 F2 E1 00 28 */ psq_st f23, 40(r1), 0, qr0 /* 8019CBDC 00199B3C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8019CBE0 00199B40 93 C1 00 18 */ stw r30, 0x18(r1) /* 8019CBE4 00199B44 93 A1 00 14 */ stw r29, 0x14(r1) /* 8019CBE8 00199B48 7C 7D 1B 78 */ mr r29, r3 /* 8019CBEC 00199B4C 38 00 00 00 */ li r0, 0 /* 8019CBF0 00199B50 D0 23 00 00 */ stfs f1, 0(r3) /* 8019CBF4 00199B54 C1 22 A6 E0 */ lfs f9, lbl_805AC400@sda21(r2) /* 8019CBF8 00199B58 D0 43 00 04 */ stfs f2, 4(r3) /* 8019CBFC 00199B5C C0 22 A6 DC */ lfs f1, lbl_805AC3FC@sda21(r2) /* 8019CC00 00199B60 D0 63 00 08 */ stfs f3, 8(r3) /* 8019CC04 00199B64 D0 83 00 0C */ stfs f4, 0xc(r3) /* 8019CC08 00199B68 D0 A3 00 10 */ stfs f5, 0x10(r3) /* 8019CC0C 00199B6C D0 C3 00 14 */ stfs f6, 0x14(r3) /* 8019CC10 00199B70 D0 E3 00 18 */ stfs f7, 0x18(r3) /* 8019CC14 00199B74 D1 03 00 1C */ stfs f8, 0x1c(r3) /* 8019CC18 00199B78 90 03 00 20 */ stw r0, 0x20(r3) /* 8019CC1C 00199B7C 90 03 00 24 */ stw r0, 0x24(r3) /* 8019CC20 00199B80 D1 23 00 28 */ stfs f9, 0x28(r3) /* 8019CC24 00199B84 C0 03 00 00 */ lfs f0, 0(r3) /* 8019CC28 00199B88 EC 01 00 24 */ fdivs f0, f1, f0 /* 8019CC2C 00199B8C D0 03 00 2C */ stfs f0, 0x2c(r3) /* 8019CC30 00199B90 C0 03 00 04 */ lfs f0, 4(r3) /* 8019CC34 00199B94 EC 01 00 24 */ fdivs f0, f1, f0 /* 8019CC38 00199B98 D0 03 00 30 */ stfs f0, 0x30(r3) /* 8019CC3C 00199B9C 98 03 00 34 */ stb r0, 0x34(r3) /* 8019CC40 00199BA0 C0 03 00 18 */ lfs f0, 0x18(r3) /* 8019CC44 00199BA4 FC 09 00 00 */ fcmpu cr0, f9, f0 /* 8019CC48 00199BA8 40 82 00 14 */ bne lbl_8019CC5C /* 8019CC4C 00199BAC C0 1D 00 1C */ lfs f0, 0x1c(r29) /* 8019CC50 00199BB0 FC 09 00 00 */ fcmpu cr0, f9, f0 /* 8019CC54 00199BB4 40 82 00 08 */ bne lbl_8019CC5C /* 8019CC58 00199BB8 48 00 01 04 */ b lbl_8019CD5C lbl_8019CC5C: /* 8019CC5C 00199BBC 80 AD 8F D8 */ lwz r5, lbl_805A7B98@sda21(r13) /* 8019CC60 00199BC0 3C 00 43 30 */ lis r0, 0x4330 /* 8019CC64 00199BC4 3C 60 80 3D */ lis r3, lbl_803D12F8@ha /* 8019CC68 00199BC8 90 01 00 08 */ stw r0, 8(r1) /* 8019CC6C 00199BCC C8 22 A6 F0 */ lfd f1, lbl_805AC410@sda21(r2) /* 8019CC70 00199BD0 38 83 12 F8 */ addi r4, r3, lbl_803D12F8@l /* 8019CC74 00199BD4 90 BD 00 24 */ stw r5, 0x24(r29) /* 8019CC78 00199BD8 38 A0 00 00 */ li r5, 0 /* 8019CC7C 00199BDC 80 1D 00 24 */ lwz r0, 0x24(r29) /* 8019CC80 00199BE0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8019CC84 00199BE4 90 01 00 0C */ stw r0, 0xc(r1) /* 8019CC88 00199BE8 C8 01 00 08 */ lfd f0, 8(r1) /* 8019CC8C 00199BEC EC 00 08 28 */ fsubs f0, f0, f1 /* 8019CC90 00199BF0 D0 1D 00 28 */ stfs f0, 0x28(r29) /* 8019CC94 00199BF4 80 1D 00 24 */ lwz r0, 0x24(r29) /* 8019CC98 00199BF8 54 03 10 3A */ slwi r3, r0, 2 /* 8019CC9C 00199BFC 48 17 8B 7D */ bl __nwa__FUlPCcPCc /* 8019CCA0 00199C00 90 7D 00 20 */ stw r3, 0x20(r29) /* 8019CCA4 00199C04 3B C0 00 00 */ li r30, 0 /* 8019CCA8 00199C08 C0 22 A7 1C */ lfs f1, lbl_805AC43C@sda21(r2) /* 8019CCAC 00199C0C 3B E0 00 00 */ li r31, 0 /* 8019CCB0 00199C10 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 8019CCB4 00199C14 C0 5D 00 08 */ lfs f2, 8(r29) /* 8019CCB8 00199C18 EF C1 00 24 */ fdivs f30, f1, f0 /* 8019CCBC 00199C1C C0 1D 00 0C */ lfs f0, 0xc(r29) /* 8019CCC0 00199C20 C0 FD 00 10 */ lfs f7, 0x10(r29) /* 8019CCC4 00199C24 C0 3D 00 14 */ lfs f1, 0x14(r29) /* 8019CCC8 00199C28 C1 3D 00 18 */ lfs f9, 0x18(r29) /* 8019CCCC 00199C2C C1 1D 00 1C */ lfs f8, 0x1c(r29) /* 8019CCD0 00199C30 EC A2 00 2A */ fadds f5, f2, f0 /* 8019CCD4 00199C34 C0 C2 A6 E8 */ lfs f6, lbl_805AC408@sda21(r2) /* 8019CCD8 00199C38 EC 82 00 28 */ fsubs f4, f2, f0 /* 8019CCDC 00199C3C C3 E2 A6 E0 */ lfs f31, lbl_805AC400@sda21(r2) /* 8019CCE0 00199C40 EC 67 08 2A */ fadds f3, f7, f1 /* 8019CCE4 00199C44 EC 47 08 28 */ fsubs f2, f7, f1 /* 8019CCE8 00199C48 EC 29 40 2A */ fadds f1, f9, f8 /* 8019CCEC 00199C4C EC 09 40 28 */ fsubs f0, f9, f8 /* 8019CCF0 00199C50 EF 86 01 72 */ fmuls f28, f6, f5 /* 8019CCF4 00199C54 EF 66 01 32 */ fmuls f27, f6, f4 /* 8019CCF8 00199C58 EF 46 00 F2 */ fmuls f26, f6, f3 /* 8019CCFC 00199C5C EF 26 00 B2 */ fmuls f25, f6, f2 /* 8019CD00 00199C60 EF 06 00 72 */ fmuls f24, f6, f1 /* 8019CD04 00199C64 EE E6 00 32 */ fmuls f23, f6, f0 /* 8019CD08 00199C68 48 00 00 3C */ b lbl_8019CD44 lbl_8019CD0C: /* 8019CD0C 00199C6C FC 20 F8 90 */ fmr f1, f31 /* 8019CD10 00199C70 48 17 80 35 */ bl FastCosR__5CMathFf /* 8019CD14 00199C74 FF A0 08 90 */ fmr f29, f1 /* 8019CD18 00199C78 EC 3B E7 7A */ fmadds f1, f27, f29, f28 /* 8019CD1C 00199C7C EC 19 D7 7A */ fmadds f0, f25, f29, f26 /* 8019CD20 00199C80 EC 21 07 FA */ fmadds f1, f1, f31, f0 /* 8019CD24 00199C84 48 17 80 CD */ bl FastSinR__5CMathFf /* 8019CD28 00199C88 EC 17 C7 7A */ fmadds f0, f23, f29, f24 /* 8019CD2C 00199C8C 80 7D 00 20 */ lwz r3, 0x20(r29) /* 8019CD30 00199C90 EF FF F0 2A */ fadds f31, f31, f30 /* 8019CD34 00199C94 3B DE 00 01 */ addi r30, r30, 1 /* 8019CD38 00199C98 EC 00 00 72 */ fmuls f0, f0, f1 /* 8019CD3C 00199C9C 7C 03 FD 2E */ stfsx f0, r3, r31 /* 8019CD40 00199CA0 3B FF 00 04 */ addi r31, r31, 4 lbl_8019CD44: /* 8019CD44 00199CA4 80 1D 00 24 */ lwz r0, 0x24(r29) /* 8019CD48 00199CA8 7C 1E 00 00 */ cmpw r30, r0 /* 8019CD4C 00199CAC 41 80 FF C0 */ blt lbl_8019CD0C /* 8019CD50 00199CB0 38 00 00 01 */ li r0, 1 /* 8019CD54 00199CB4 7F A3 EB 78 */ mr r3, r29 /* 8019CD58 00199CB8 98 1D 00 34 */ stb r0, 0x34(r29) lbl_8019CD5C: /* 8019CD5C 00199CBC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 8019CD60 00199CC0 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 8019CD64 00199CC4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 8019CD68 00199CC8 CB C1 00 90 */ lfd f30, 0x90(r1) /* 8019CD6C 00199CCC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 8019CD70 00199CD0 CB A1 00 80 */ lfd f29, 0x80(r1) /* 8019CD74 00199CD4 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 /* 8019CD78 00199CD8 CB 81 00 70 */ lfd f28, 0x70(r1) /* 8019CD7C 00199CDC E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 /* 8019CD80 00199CE0 CB 61 00 60 */ lfd f27, 0x60(r1) /* 8019CD84 00199CE4 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 /* 8019CD88 00199CE8 CB 41 00 50 */ lfd f26, 0x50(r1) /* 8019CD8C 00199CEC E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 /* 8019CD90 00199CF0 CB 21 00 40 */ lfd f25, 0x40(r1) /* 8019CD94 00199CF4 E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 /* 8019CD98 00199CF8 CB 01 00 30 */ lfd f24, 0x30(r1) /* 8019CD9C 00199CFC E2 E1 00 28 */ psq_l f23, 40(r1), 0, qr0 /* 8019CDA0 00199D00 CA E1 00 20 */ lfd f23, 0x20(r1) /* 8019CDA4 00199D04 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019CDA8 00199D08 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8019CDAC 00199D0C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8019CDB0 00199D10 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8019CDB4 00199D14 7C 08 03 A6 */ mtlr r0 /* 8019CDB8 00199D18 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8019CDBC 00199D1C 4E 80 00 20 */ blr .global __ct__14CFluidPlaneCPUFUiUiUiUiUiUifUiQ211CFluidPlane10EFluidTypefRC9CVector3ffRC14CFluidUVMotionfffffffffffff __ct__14CFluidPlaneCPUFUiUiUiUiUiUifUiQ211CFluidPlane10EFluidTypefRC9CVector3ffRC14CFluidUVMotionfffffffffffff: /* 8019CDC0 00199D20 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 8019CDC4 00199D24 7C 08 02 A6 */ mflr r0 /* 8019CDC8 00199D28 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 8019CDCC 00199D2C DB E1 01 90 */ stfd f31, 0x190(r1) /* 8019CDD0 00199D30 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 8019CDD4 00199D34 DB C1 01 80 */ stfd f30, 0x180(r1) /* 8019CDD8 00199D38 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 8019CDDC 00199D3C DB A1 01 70 */ stfd f29, 0x170(r1) /* 8019CDE0 00199D40 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 8019CDE4 00199D44 DB 81 01 60 */ stfd f28, 0x160(r1) /* 8019CDE8 00199D48 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 /* 8019CDEC 00199D4C DB 61 01 50 */ stfd f27, 0x150(r1) /* 8019CDF0 00199D50 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 /* 8019CDF4 00199D54 DB 41 01 40 */ stfd f26, 0x140(r1) /* 8019CDF8 00199D58 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 /* 8019CDFC 00199D5C DB 21 01 30 */ stfd f25, 0x130(r1) /* 8019CE00 00199D60 F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0 /* 8019CE04 00199D64 DB 01 01 20 */ stfd f24, 0x120(r1) /* 8019CE08 00199D68 F3 01 01 28 */ psq_st f24, 296(r1), 0, qr0 /* 8019CE0C 00199D6C DA E1 01 10 */ stfd f23, 0x110(r1) /* 8019CE10 00199D70 F2 E1 01 18 */ psq_st f23, 280(r1), 0, qr0 /* 8019CE14 00199D74 DA C1 01 00 */ stfd f22, 0x100(r1) /* 8019CE18 00199D78 F2 C1 01 08 */ psq_st f22, 264(r1), 0, qr0 /* 8019CE1C 00199D7C DA A1 00 F0 */ stfd f21, 0xf0(r1) /* 8019CE20 00199D80 F2 A1 00 F8 */ psq_st f21, 248(r1), 0, qr0 /* 8019CE24 00199D84 DA 81 00 E0 */ stfd f20, 0xe0(r1) /* 8019CE28 00199D88 F2 81 00 E8 */ psq_st f20, 232(r1), 0, qr0 /* 8019CE2C 00199D8C DA 61 00 D0 */ stfd f19, 0xd0(r1) /* 8019CE30 00199D90 F2 61 00 D8 */ psq_st f19, 216(r1), 0, qr0 /* 8019CE34 00199D94 DA 41 00 C0 */ stfd f18, 0xc0(r1) /* 8019CE38 00199D98 F2 41 00 C8 */ psq_st f18, 200(r1), 0, qr0 /* 8019CE3C 00199D9C DA 21 00 B0 */ stfd f17, 0xb0(r1) /* 8019CE40 00199DA0 F2 21 00 B8 */ psq_st f17, 184(r1), 0, qr0 /* 8019CE44 00199DA4 BF 01 00 90 */ stmw r24, 0x90(r1) /* 8019CE48 00199DA8 C0 01 01 D8 */ lfs f0, 0x1d8(r1) /* 8019CE4C 00199DAC FE 20 08 90 */ fmr f17, f1 /* 8019CE50 00199DB0 FE 40 10 90 */ fmr f18, f2 /* 8019CE54 00199DB4 83 E1 01 AC */ lwz r31, 0x1ac(r1) /* 8019CE58 00199DB8 FE 60 20 90 */ fmr f19, f4 /* 8019CE5C 00199DBC 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 8019CE60 00199DC0 FE 80 28 90 */ fmr f20, f5 /* 8019CE64 00199DC4 7C F8 3B 78 */ mr r24, r7 /* 8019CE68 00199DC8 7D 19 43 78 */ mr r25, r8 /* 8019CE6C 00199DCC FE A0 30 90 */ fmr f21, f6 /* 8019CE70 00199DD0 FE C0 38 90 */ fmr f22, f7 /* 8019CE74 00199DD4 83 81 01 A8 */ lwz r28, 0x1a8(r1) /* 8019CE78 00199DD8 FE E0 40 90 */ fmr f23, f8 /* 8019CE7C 00199DDC 83 A1 01 B0 */ lwz r29, 0x1b0(r1) /* 8019CE80 00199DE0 FC 20 18 90 */ fmr f1, f3 /* 8019CE84 00199DE4 FC 40 00 90 */ fmr f2, f0 /* 8019CE88 00199DE8 C3 01 01 B8 */ lfs f24, 0x1b8(r1) /* 8019CE8C 00199DEC 7C 7E 1B 78 */ mr r30, r3 /* 8019CE90 00199DF0 C3 21 01 BC */ lfs f25, 0x1bc(r1) /* 8019CE94 00199DF4 7D 3A 4B 78 */ mr r26, r9 /* 8019CE98 00199DF8 C3 41 01 C0 */ lfs f26, 0x1c0(r1) /* 8019CE9C 00199DFC C3 61 01 C4 */ lfs f27, 0x1c4(r1) /* 8019CEA0 00199E00 7D 5B 53 78 */ mr r27, r10 /* 8019CEA4 00199E04 C3 81 01 C8 */ lfs f28, 0x1c8(r1) /* 8019CEA8 00199E08 7F E7 FB 78 */ mr r7, r31 /* 8019CEAC 00199E0C C3 A1 01 CC */ lfs f29, 0x1cc(r1) /* 8019CEB0 00199E10 7C 08 03 78 */ mr r8, r0 /* 8019CEB4 00199E14 C3 C1 01 D0 */ lfs f30, 0x1d0(r1) /* 8019CEB8 00199E18 C3 E1 01 D4 */ lfs f31, 0x1d4(r1) /* 8019CEBC 00199E1C 4B F9 1E 79 */ bl __ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion /* 8019CEC0 00199E20 3C 60 80 3E */ lis r3, lbl_803E46C8@ha /* 8019CEC4 00199E24 38 00 00 00 */ li r0, 0 /* 8019CEC8 00199E28 38 63 46 C8 */ addi r3, r3, lbl_803E46C8@l /* 8019CECC 00199E2C 7F A4 EB 78 */ mr r4, r29 /* 8019CED0 00199E30 90 7E 00 00 */ stw r3, 0(r30) /* 8019CED4 00199E34 38 61 00 78 */ addi r3, r1, 0x78 /* 8019CED8 00199E38 93 1E 00 A0 */ stw r24, 0xa0(r30) /* 8019CEDC 00199E3C 93 3E 00 A4 */ stw r25, 0xa4(r30) /* 8019CEE0 00199E40 93 5E 00 A8 */ stw r26, 0xa8(r30) /* 8019CEE4 00199E44 93 7E 00 AC */ stw r27, 0xac(r30) /* 8019CEE8 00199E48 98 1E 00 BC */ stb r0, 0xbc(r30) /* 8019CEEC 00199E4C 98 1E 00 CC */ stb r0, 0xcc(r30) /* 8019CEF0 00199E50 98 1E 00 DC */ stb r0, 0xdc(r30) /* 8019CEF4 00199E54 98 1E 00 EC */ stb r0, 0xec(r30) /* 8019CEF8 00199E58 48 17 79 59 */ bl AsNormalized__9CVector3fCFv /* 8019CEFC 00199E5C C0 01 00 78 */ lfs f0, 0x78(r1) /* 8019CF00 00199E60 3C 00 43 30 */ lis r0, 0x4330 /* 8019CF04 00199E64 57 84 00 3C */ rlwinm r4, r28, 0, 0, 0x1e /* 8019CF08 00199E68 90 01 00 88 */ stw r0, 0x88(r1) /* 8019CF0C 00199E6C C9 22 A6 F0 */ lfd f9, lbl_805AC410@sda21(r2) /* 8019CF10 00199E70 FC 20 A0 90 */ fmr f1, f20 /* 8019CF14 00199E74 D0 1E 00 F0 */ stfs f0, 0xf0(r30) /* 8019CF18 00199E78 FC 40 A8 90 */ fmr f2, f21 /* 8019CF1C 00199E7C FC 60 B0 90 */ fmr f3, f22 /* 8019CF20 00199E80 38 7E 01 20 */ addi r3, r30, 0x120 /* 8019CF24 00199E84 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 8019CF28 00199E88 FC 80 B8 90 */ fmr f4, f23 /* 8019CF2C 00199E8C D0 1E 00 F4 */ stfs f0, 0xf4(r30) /* 8019CF30 00199E90 FC A0 C0 90 */ fmr f5, f24 /* 8019CF34 00199E94 FC C0 C8 90 */ fmr f6, f25 /* 8019CF38 00199E98 C0 01 00 80 */ lfs f0, 0x80(r1) /* 8019CF3C 00199E9C FC E0 D0 90 */ fmr f7, f26 /* 8019CF40 00199EA0 FD 00 D8 90 */ fmr f8, f27 /* 8019CF44 00199EA4 D0 1E 00 F8 */ stfs f0, 0xf8(r30) /* 8019CF48 00199EA8 D2 7E 00 FC */ stfs f19, 0xfc(r30) /* 8019CF4C 00199EAC D2 5E 01 00 */ stfs f18, 0x100(r30) /* 8019CF50 00199EB0 90 9E 01 04 */ stw r4, 0x104(r30) /* 8019CF54 00199EB4 80 1E 01 04 */ lwz r0, 0x104(r30) /* 8019CF58 00199EB8 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8019CF5C 00199EBC 90 01 00 8C */ stw r0, 0x8c(r1) /* 8019CF60 00199EC0 C8 01 00 88 */ lfd f0, 0x88(r1) /* 8019CF64 00199EC4 EC 00 48 28 */ fsubs f0, f0, f9 /* 8019CF68 00199EC8 EC 12 00 24 */ fdivs f0, f18, f0 /* 8019CF6C 00199ECC D0 1E 01 08 */ stfs f0, 0x108(r30) /* 8019CF70 00199ED0 D3 9E 01 0C */ stfs f28, 0x10c(r30) /* 8019CF74 00199ED4 D3 BE 01 10 */ stfs f29, 0x110(r30) /* 8019CF78 00199ED8 D3 DE 01 14 */ stfs f30, 0x114(r30) /* 8019CF7C 00199EDC D3 FE 01 18 */ stfs f31, 0x118(r30) /* 8019CF80 00199EE0 D2 3E 01 1C */ stfs f17, 0x11c(r30) /* 8019CF84 00199EE4 4B FF FC 05 */ bl __ct__Q214CFluidPlaneCPU11CTurbulenceFffffffff /* 8019CF88 00199EE8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 8019CF8C 00199EEC 80 9E 00 A0 */ lwz r4, 0xa0(r30) /* 8019CF90 00199EF0 38 63 00 04 */ addi r3, r3, 4 /* 8019CF94 00199EF4 48 19 ED 39 */ bl GetResourceTypeById__10CResLoaderCFUi /* 8019CF98 00199EF8 3C 03 AB A8 */ addis r0, r3, 0xaba8 /* 8019CF9C 00199EFC 28 00 54 52 */ cmplwi r0, 0x5452 /* 8019CFA0 00199F00 40 82 00 D0 */ bne lbl_8019D070 /* 8019CFA4 00199F04 2C 1F 00 02 */ cmpwi r31, 2 /* 8019CFA8 00199F08 41 82 00 0C */ beq lbl_8019CFB4 /* 8019CFAC 00199F0C 2C 1F 00 05 */ cmpwi r31, 5 /* 8019CFB0 00199F10 40 82 00 C0 */ bne lbl_8019D070 lbl_8019CFB4: /* 8019CFB4 00199F14 80 DE 00 A0 */ lwz r6, 0xa0(r30) /* 8019CFB8 00199F18 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8019CFBC 00199F1C 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8019CFC0 00199F20 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8019CFC4 00199F24 90 01 00 40 */ stw r0, 0x40(r1) /* 8019CFC8 00199F28 38 61 00 38 */ addi r3, r1, 0x38 /* 8019CFCC 00199F2C 38 A1 00 40 */ addi r5, r1, 0x40 /* 8019CFD0 00199F30 90 C1 00 44 */ stw r6, 0x44(r1) /* 8019CFD4 00199F34 81 84 00 00 */ lwz r12, 0(r4) /* 8019CFD8 00199F38 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019CFDC 00199F3C 7D 89 03 A6 */ mtctr r12 /* 8019CFE0 00199F40 4E 80 04 21 */ bctrl /* 8019CFE4 00199F44 3B 01 00 6C */ addi r24, r1, 0x6c /* 8019CFE8 00199F48 38 81 00 38 */ addi r4, r1, 0x38 /* 8019CFEC 00199F4C 7F 03 C3 78 */ mr r3, r24 /* 8019CFF0 00199F50 48 1A 3E B9 */ bl __ct__6CTokenFRC6CToken /* 8019CFF4 00199F54 7F 03 C3 78 */ mr r3, r24 /* 8019CFF8 00199F58 48 1A 3E 15 */ bl GetObj__6CTokenFv /* 8019CFFC 00199F5C 80 03 00 04 */ lwz r0, 4(r3) /* 8019D000 00199F60 90 01 00 74 */ stw r0, 0x74(r1) /* 8019D004 00199F64 88 1E 00 BC */ lbz r0, 0xbc(r30) /* 8019D008 00199F68 28 00 00 00 */ cmplwi r0, 0 /* 8019D00C 00199F6C 40 82 00 34 */ bne lbl_8019D040 /* 8019D010 00199F70 37 BE 00 B0 */ addic. r29, r30, 0xb0 /* 8019D014 00199F74 41 82 00 20 */ beq lbl_8019D034 /* 8019D018 00199F78 7F A3 EB 78 */ mr r3, r29 /* 8019D01C 00199F7C 7F 04 C3 78 */ mr r4, r24 /* 8019D020 00199F80 48 1A 3E 89 */ bl __ct__6CTokenFRC6CToken /* 8019D024 00199F84 80 01 00 74 */ lwz r0, 0x74(r1) /* 8019D028 00199F88 7F A3 EB 78 */ mr r3, r29 /* 8019D02C 00199F8C 90 1D 00 08 */ stw r0, 8(r29) /* 8019D030 00199F90 48 1A 3D 55 */ bl Lock__6CTokenFv lbl_8019D034: /* 8019D034 00199F94 38 00 00 01 */ li r0, 1 /* 8019D038 00199F98 98 1E 00 BC */ stb r0, 0xbc(r30) /* 8019D03C 00199F9C 48 00 00 1C */ b lbl_8019D058 lbl_8019D040: /* 8019D040 00199FA0 3B BE 00 B0 */ addi r29, r30, 0xb0 /* 8019D044 00199FA4 7F 04 C3 78 */ mr r4, r24 /* 8019D048 00199FA8 7F A3 EB 78 */ mr r3, r29 /* 8019D04C 00199FAC 48 1A 3C 79 */ bl __as__6CTokenFRC6CToken /* 8019D050 00199FB0 80 01 00 74 */ lwz r0, 0x74(r1) /* 8019D054 00199FB4 90 1D 00 08 */ stw r0, 8(r29) lbl_8019D058: /* 8019D058 00199FB8 38 61 00 6C */ addi r3, r1, 0x6c /* 8019D05C 00199FBC 38 80 00 00 */ li r4, 0 /* 8019D060 00199FC0 48 1A 3D E1 */ bl __dt__6CTokenFv /* 8019D064 00199FC4 38 61 00 38 */ addi r3, r1, 0x38 /* 8019D068 00199FC8 38 80 FF FF */ li r4, -1 /* 8019D06C 00199FCC 48 1A 3D D5 */ bl __dt__6CTokenFv lbl_8019D070: /* 8019D070 00199FD0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 8019D074 00199FD4 80 9E 00 A4 */ lwz r4, 0xa4(r30) /* 8019D078 00199FD8 38 63 00 04 */ addi r3, r3, 4 /* 8019D07C 00199FDC 48 19 EC 51 */ bl GetResourceTypeById__10CResLoaderCFUi /* 8019D080 00199FE0 3C 03 AB A8 */ addis r0, r3, 0xaba8 /* 8019D084 00199FE4 28 00 54 52 */ cmplwi r0, 0x5452 /* 8019D088 00199FE8 40 82 00 C8 */ bne lbl_8019D150 /* 8019D08C 00199FEC 2C 1F 00 00 */ cmpwi r31, 0 /* 8019D090 00199FF0 40 82 00 C0 */ bne lbl_8019D150 /* 8019D094 00199FF4 80 DE 00 A4 */ lwz r6, 0xa4(r30) /* 8019D098 00199FF8 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8019D09C 00199FFC 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8019D0A0 0019A000 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8019D0A4 0019A004 90 01 00 30 */ stw r0, 0x30(r1) /* 8019D0A8 0019A008 38 61 00 28 */ addi r3, r1, 0x28 /* 8019D0AC 0019A00C 38 A1 00 30 */ addi r5, r1, 0x30 /* 8019D0B0 0019A010 90 C1 00 34 */ stw r6, 0x34(r1) /* 8019D0B4 0019A014 81 84 00 00 */ lwz r12, 0(r4) /* 8019D0B8 0019A018 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019D0BC 0019A01C 7D 89 03 A6 */ mtctr r12 /* 8019D0C0 0019A020 4E 80 04 21 */ bctrl /* 8019D0C4 0019A024 3B 01 00 60 */ addi r24, r1, 0x60 /* 8019D0C8 0019A028 38 81 00 28 */ addi r4, r1, 0x28 /* 8019D0CC 0019A02C 7F 03 C3 78 */ mr r3, r24 /* 8019D0D0 0019A030 48 1A 3D D9 */ bl __ct__6CTokenFRC6CToken /* 8019D0D4 0019A034 7F 03 C3 78 */ mr r3, r24 /* 8019D0D8 0019A038 48 1A 3D 35 */ bl GetObj__6CTokenFv /* 8019D0DC 0019A03C 80 03 00 04 */ lwz r0, 4(r3) /* 8019D0E0 0019A040 90 01 00 68 */ stw r0, 0x68(r1) /* 8019D0E4 0019A044 88 1E 00 CC */ lbz r0, 0xcc(r30) /* 8019D0E8 0019A048 28 00 00 00 */ cmplwi r0, 0 /* 8019D0EC 0019A04C 40 82 00 34 */ bne lbl_8019D120 /* 8019D0F0 0019A050 37 BE 00 C0 */ addic. r29, r30, 0xc0 /* 8019D0F4 0019A054 41 82 00 20 */ beq lbl_8019D114 /* 8019D0F8 0019A058 7F A3 EB 78 */ mr r3, r29 /* 8019D0FC 0019A05C 7F 04 C3 78 */ mr r4, r24 /* 8019D100 0019A060 48 1A 3D A9 */ bl __ct__6CTokenFRC6CToken /* 8019D104 0019A064 80 01 00 68 */ lwz r0, 0x68(r1) /* 8019D108 0019A068 7F A3 EB 78 */ mr r3, r29 /* 8019D10C 0019A06C 90 1D 00 08 */ stw r0, 8(r29) /* 8019D110 0019A070 48 1A 3C 75 */ bl Lock__6CTokenFv lbl_8019D114: /* 8019D114 0019A074 38 00 00 01 */ li r0, 1 /* 8019D118 0019A078 98 1E 00 CC */ stb r0, 0xcc(r30) /* 8019D11C 0019A07C 48 00 00 1C */ b lbl_8019D138 lbl_8019D120: /* 8019D120 0019A080 3B BE 00 C0 */ addi r29, r30, 0xc0 /* 8019D124 0019A084 7F 04 C3 78 */ mr r4, r24 /* 8019D128 0019A088 7F A3 EB 78 */ mr r3, r29 /* 8019D12C 0019A08C 48 1A 3B 99 */ bl __as__6CTokenFRC6CToken /* 8019D130 0019A090 80 01 00 68 */ lwz r0, 0x68(r1) /* 8019D134 0019A094 90 1D 00 08 */ stw r0, 8(r29) lbl_8019D138: /* 8019D138 0019A098 38 61 00 60 */ addi r3, r1, 0x60 /* 8019D13C 0019A09C 38 80 00 00 */ li r4, 0 /* 8019D140 0019A0A0 48 1A 3D 01 */ bl __dt__6CTokenFv /* 8019D144 0019A0A4 38 61 00 28 */ addi r3, r1, 0x28 /* 8019D148 0019A0A8 38 80 FF FF */ li r4, -1 /* 8019D14C 0019A0AC 48 1A 3C F5 */ bl __dt__6CTokenFv lbl_8019D150: /* 8019D150 0019A0B0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 8019D154 0019A0B4 80 9E 00 A8 */ lwz r4, 0xa8(r30) /* 8019D158 0019A0B8 38 63 00 04 */ addi r3, r3, 4 /* 8019D15C 0019A0BC 48 19 EB 71 */ bl GetResourceTypeById__10CResLoaderCFUi /* 8019D160 0019A0C0 3C 03 AB A8 */ addis r0, r3, 0xaba8 /* 8019D164 0019A0C4 28 00 54 52 */ cmplwi r0, 0x5452 /* 8019D168 0019A0C8 40 82 00 C0 */ bne lbl_8019D228 /* 8019D16C 0019A0CC 80 DE 00 A8 */ lwz r6, 0xa8(r30) /* 8019D170 0019A0D0 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8019D174 0019A0D4 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8019D178 0019A0D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8019D17C 0019A0DC 90 01 00 20 */ stw r0, 0x20(r1) /* 8019D180 0019A0E0 38 61 00 18 */ addi r3, r1, 0x18 /* 8019D184 0019A0E4 38 A1 00 20 */ addi r5, r1, 0x20 /* 8019D188 0019A0E8 90 C1 00 24 */ stw r6, 0x24(r1) /* 8019D18C 0019A0EC 81 84 00 00 */ lwz r12, 0(r4) /* 8019D190 0019A0F0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019D194 0019A0F4 7D 89 03 A6 */ mtctr r12 /* 8019D198 0019A0F8 4E 80 04 21 */ bctrl /* 8019D19C 0019A0FC 3B 01 00 54 */ addi r24, r1, 0x54 /* 8019D1A0 0019A100 38 81 00 18 */ addi r4, r1, 0x18 /* 8019D1A4 0019A104 7F 03 C3 78 */ mr r3, r24 /* 8019D1A8 0019A108 48 1A 3D 01 */ bl __ct__6CTokenFRC6CToken /* 8019D1AC 0019A10C 7F 03 C3 78 */ mr r3, r24 /* 8019D1B0 0019A110 48 1A 3C 5D */ bl GetObj__6CTokenFv /* 8019D1B4 0019A114 80 03 00 04 */ lwz r0, 4(r3) /* 8019D1B8 0019A118 90 01 00 5C */ stw r0, 0x5c(r1) /* 8019D1BC 0019A11C 88 1E 00 DC */ lbz r0, 0xdc(r30) /* 8019D1C0 0019A120 28 00 00 00 */ cmplwi r0, 0 /* 8019D1C4 0019A124 40 82 00 34 */ bne lbl_8019D1F8 /* 8019D1C8 0019A128 37 BE 00 D0 */ addic. r29, r30, 0xd0 /* 8019D1CC 0019A12C 41 82 00 20 */ beq lbl_8019D1EC /* 8019D1D0 0019A130 7F A3 EB 78 */ mr r3, r29 /* 8019D1D4 0019A134 7F 04 C3 78 */ mr r4, r24 /* 8019D1D8 0019A138 48 1A 3C D1 */ bl __ct__6CTokenFRC6CToken /* 8019D1DC 0019A13C 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8019D1E0 0019A140 7F A3 EB 78 */ mr r3, r29 /* 8019D1E4 0019A144 90 1D 00 08 */ stw r0, 8(r29) /* 8019D1E8 0019A148 48 1A 3B 9D */ bl Lock__6CTokenFv lbl_8019D1EC: /* 8019D1EC 0019A14C 38 00 00 01 */ li r0, 1 /* 8019D1F0 0019A150 98 1E 00 DC */ stb r0, 0xdc(r30) /* 8019D1F4 0019A154 48 00 00 1C */ b lbl_8019D210 lbl_8019D1F8: /* 8019D1F8 0019A158 3B BE 00 D0 */ addi r29, r30, 0xd0 /* 8019D1FC 0019A15C 7F 04 C3 78 */ mr r4, r24 /* 8019D200 0019A160 7F A3 EB 78 */ mr r3, r29 /* 8019D204 0019A164 48 1A 3A C1 */ bl __as__6CTokenFRC6CToken /* 8019D208 0019A168 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8019D20C 0019A16C 90 1D 00 08 */ stw r0, 8(r29) lbl_8019D210: /* 8019D210 0019A170 38 61 00 54 */ addi r3, r1, 0x54 /* 8019D214 0019A174 38 80 00 00 */ li r4, 0 /* 8019D218 0019A178 48 1A 3C 29 */ bl __dt__6CTokenFv /* 8019D21C 0019A17C 38 61 00 18 */ addi r3, r1, 0x18 /* 8019D220 0019A180 38 80 FF FF */ li r4, -1 /* 8019D224 0019A184 48 1A 3C 1D */ bl __dt__6CTokenFv lbl_8019D228: /* 8019D228 0019A188 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 8019D22C 0019A18C 80 9E 00 AC */ lwz r4, 0xac(r30) /* 8019D230 0019A190 38 63 00 04 */ addi r3, r3, 4 /* 8019D234 0019A194 48 19 EA 99 */ bl GetResourceTypeById__10CResLoaderCFUi /* 8019D238 0019A198 3C 03 AB A8 */ addis r0, r3, 0xaba8 /* 8019D23C 0019A19C 28 00 54 52 */ cmplwi r0, 0x5452 /* 8019D240 0019A1A0 40 82 00 D0 */ bne lbl_8019D310 /* 8019D244 0019A1A4 2C 1F 00 02 */ cmpwi r31, 2 /* 8019D248 0019A1A8 41 82 00 C8 */ beq lbl_8019D310 /* 8019D24C 0019A1AC 2C 1F 00 05 */ cmpwi r31, 5 /* 8019D250 0019A1B0 41 82 00 C0 */ beq lbl_8019D310 /* 8019D254 0019A1B4 80 DE 00 AC */ lwz r6, 0xac(r30) /* 8019D258 0019A1B8 3C 60 54 58 */ lis r3, 0x54585452@ha /* 8019D25C 0019A1BC 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 8019D260 0019A1C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8019D264 0019A1C4 90 01 00 10 */ stw r0, 0x10(r1) /* 8019D268 0019A1C8 38 61 00 08 */ addi r3, r1, 8 /* 8019D26C 0019A1CC 38 A1 00 10 */ addi r5, r1, 0x10 /* 8019D270 0019A1D0 90 C1 00 14 */ stw r6, 0x14(r1) /* 8019D274 0019A1D4 81 84 00 00 */ lwz r12, 0(r4) /* 8019D278 0019A1D8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019D27C 0019A1DC 7D 89 03 A6 */ mtctr r12 /* 8019D280 0019A1E0 4E 80 04 21 */ bctrl /* 8019D284 0019A1E4 3B 01 00 48 */ addi r24, r1, 0x48 /* 8019D288 0019A1E8 38 81 00 08 */ addi r4, r1, 8 /* 8019D28C 0019A1EC 7F 03 C3 78 */ mr r3, r24 /* 8019D290 0019A1F0 48 1A 3C 19 */ bl __ct__6CTokenFRC6CToken /* 8019D294 0019A1F4 7F 03 C3 78 */ mr r3, r24 /* 8019D298 0019A1F8 48 1A 3B 75 */ bl GetObj__6CTokenFv /* 8019D29C 0019A1FC 80 03 00 04 */ lwz r0, 4(r3) /* 8019D2A0 0019A200 90 01 00 50 */ stw r0, 0x50(r1) /* 8019D2A4 0019A204 88 1E 00 EC */ lbz r0, 0xec(r30) /* 8019D2A8 0019A208 28 00 00 00 */ cmplwi r0, 0 /* 8019D2AC 0019A20C 40 82 00 34 */ bne lbl_8019D2E0 /* 8019D2B0 0019A210 37 BE 00 E0 */ addic. r29, r30, 0xe0 /* 8019D2B4 0019A214 41 82 00 20 */ beq lbl_8019D2D4 /* 8019D2B8 0019A218 7F A3 EB 78 */ mr r3, r29 /* 8019D2BC 0019A21C 7F 04 C3 78 */ mr r4, r24 /* 8019D2C0 0019A220 48 1A 3B E9 */ bl __ct__6CTokenFRC6CToken /* 8019D2C4 0019A224 80 01 00 50 */ lwz r0, 0x50(r1) /* 8019D2C8 0019A228 7F A3 EB 78 */ mr r3, r29 /* 8019D2CC 0019A22C 90 1D 00 08 */ stw r0, 8(r29) /* 8019D2D0 0019A230 48 1A 3A B5 */ bl Lock__6CTokenFv lbl_8019D2D4: /* 8019D2D4 0019A234 38 00 00 01 */ li r0, 1 /* 8019D2D8 0019A238 98 1E 00 EC */ stb r0, 0xec(r30) /* 8019D2DC 0019A23C 48 00 00 1C */ b lbl_8019D2F8 lbl_8019D2E0: /* 8019D2E0 0019A240 3B BE 00 E0 */ addi r29, r30, 0xe0 /* 8019D2E4 0019A244 7F 04 C3 78 */ mr r4, r24 /* 8019D2E8 0019A248 7F A3 EB 78 */ mr r3, r29 /* 8019D2EC 0019A24C 48 1A 39 D9 */ bl __as__6CTokenFRC6CToken /* 8019D2F0 0019A250 80 01 00 50 */ lwz r0, 0x50(r1) /* 8019D2F4 0019A254 90 1D 00 08 */ stw r0, 8(r29) lbl_8019D2F8: /* 8019D2F8 0019A258 38 61 00 48 */ addi r3, r1, 0x48 /* 8019D2FC 0019A25C 38 80 00 00 */ li r4, 0 /* 8019D300 0019A260 48 1A 3B 41 */ bl __dt__6CTokenFv /* 8019D304 0019A264 38 61 00 08 */ addi r3, r1, 8 /* 8019D308 0019A268 38 80 FF FF */ li r4, -1 /* 8019D30C 0019A26C 48 1A 3B 35 */ bl __dt__6CTokenFv lbl_8019D310: /* 8019D310 0019A270 7F C3 F3 78 */ mr r3, r30 /* 8019D314 0019A274 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 8019D318 0019A278 CB E1 01 90 */ lfd f31, 0x190(r1) /* 8019D31C 0019A27C E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 8019D320 0019A280 CB C1 01 80 */ lfd f30, 0x180(r1) /* 8019D324 0019A284 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 8019D328 0019A288 CB A1 01 70 */ lfd f29, 0x170(r1) /* 8019D32C 0019A28C E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 /* 8019D330 0019A290 CB 81 01 60 */ lfd f28, 0x160(r1) /* 8019D334 0019A294 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 /* 8019D338 0019A298 CB 61 01 50 */ lfd f27, 0x150(r1) /* 8019D33C 0019A29C E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 /* 8019D340 0019A2A0 CB 41 01 40 */ lfd f26, 0x140(r1) /* 8019D344 0019A2A4 E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0 /* 8019D348 0019A2A8 CB 21 01 30 */ lfd f25, 0x130(r1) /* 8019D34C 0019A2AC E3 01 01 28 */ psq_l f24, 296(r1), 0, qr0 /* 8019D350 0019A2B0 CB 01 01 20 */ lfd f24, 0x120(r1) /* 8019D354 0019A2B4 E2 E1 01 18 */ psq_l f23, 280(r1), 0, qr0 /* 8019D358 0019A2B8 CA E1 01 10 */ lfd f23, 0x110(r1) /* 8019D35C 0019A2BC E2 C1 01 08 */ psq_l f22, 264(r1), 0, qr0 /* 8019D360 0019A2C0 CA C1 01 00 */ lfd f22, 0x100(r1) /* 8019D364 0019A2C4 E2 A1 00 F8 */ psq_l f21, 248(r1), 0, qr0 /* 8019D368 0019A2C8 CA A1 00 F0 */ lfd f21, 0xf0(r1) /* 8019D36C 0019A2CC E2 81 00 E8 */ psq_l f20, 232(r1), 0, qr0 /* 8019D370 0019A2D0 CA 81 00 E0 */ lfd f20, 0xe0(r1) /* 8019D374 0019A2D4 E2 61 00 D8 */ psq_l f19, 216(r1), 0, qr0 /* 8019D378 0019A2D8 CA 61 00 D0 */ lfd f19, 0xd0(r1) /* 8019D37C 0019A2DC E2 41 00 C8 */ psq_l f18, 200(r1), 0, qr0 /* 8019D380 0019A2E0 CA 41 00 C0 */ lfd f18, 0xc0(r1) /* 8019D384 0019A2E4 E2 21 00 B8 */ psq_l f17, 184(r1), 0, qr0 /* 8019D388 0019A2E8 CA 21 00 B0 */ lfd f17, 0xb0(r1) /* 8019D38C 0019A2EC BB 01 00 90 */ lmw r24, 0x90(r1) /* 8019D390 0019A2F0 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 8019D394 0019A2F4 7C 08 03 A6 */ mtlr r0 /* 8019D398 0019A2F8 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 8019D39C 0019A2FC 4E 80 00 20 */ blr .global nullsub_143 nullsub_143: /* 8019D3A0 0019A300 4E 80 00 20 */ blr .global nullsub_144 nullsub_144: /* 8019D3A4 0019A304 4E 80 00 20 */ blr .global nullsub_145 nullsub_145: /* 8019D3A8 0019A308 4E 80 00 20 */ blr .global RenderCleanup__15CFluidPlaneDoorCFv RenderCleanup__15CFluidPlaneDoorCFv: /* 8019D3AC 0019A30C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019D3B0 0019A310 7C 08 02 A6 */ mflr r0 /* 8019D3B4 0019A314 38 60 00 00 */ li r3, 0 /* 8019D3B8 0019A318 90 01 00 14 */ stw r0, 0x14(r1) /* 8019D3BC 0019A31C 48 1E 1B 09 */ bl LCQueueWait /* 8019D3C0 0019A320 38 60 00 00 */ li r3, 0 /* 8019D3C4 0019A324 38 80 00 00 */ li r4, 0 /* 8019D3C8 0019A328 38 A0 00 04 */ li r5, 4 /* 8019D3CC 0019A32C 38 C0 00 3C */ li r6, 0x3c /* 8019D3D0 0019A330 38 E0 00 00 */ li r7, 0 /* 8019D3D4 0019A334 39 00 00 7D */ li r8, 0x7d /* 8019D3D8 0019A338 48 16 B2 F5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019D3DC 0019A33C 38 60 00 01 */ li r3, 1 /* 8019D3E0 0019A340 38 80 00 00 */ li r4, 0 /* 8019D3E4 0019A344 38 A0 00 05 */ li r5, 5 /* 8019D3E8 0019A348 38 C0 00 3C */ li r6, 0x3c /* 8019D3EC 0019A34C 38 E0 00 00 */ li r7, 0 /* 8019D3F0 0019A350 39 00 00 7D */ li r8, 0x7d /* 8019D3F4 0019A354 48 16 B2 D9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019D3F8 0019A358 38 60 00 02 */ li r3, 2 /* 8019D3FC 0019A35C 38 80 00 00 */ li r4, 0 /* 8019D400 0019A360 38 A0 00 06 */ li r5, 6 /* 8019D404 0019A364 38 C0 00 3C */ li r6, 0x3c /* 8019D408 0019A368 38 E0 00 00 */ li r7, 0 /* 8019D40C 0019A36C 39 00 00 7D */ li r8, 0x7d /* 8019D410 0019A370 48 16 B2 BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019D414 0019A374 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019D418 0019A378 7C 08 03 A6 */ mtlr r0 /* 8019D41C 0019A37C 38 21 00 10 */ addi r1, r1, 0x10 /* 8019D420 0019A380 4E 80 00 20 */ blr .global Render__15CFluidPlaneDoorCFRC13CStateManagerRC6CAABoxRC14CFrustumPlanesRC14CRippleManagerRC9CVector3f Render__15CFluidPlaneDoorCFRC13CStateManagerRC6CAABoxRC14CFrustumPlanesRC14CRippleManagerRC9CVector3f: /* 8019D424 0019A384 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 8019D428 0019A388 7C 08 02 A6 */ mflr r0 /* 8019D42C 0019A38C 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 8019D430 0019A390 DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 8019D434 0019A394 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 8019D438 0019A398 DB C1 01 90 */ stfd f30, 0x190(r1) /* 8019D43C 0019A39C F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 8019D440 0019A3A0 DB A1 01 80 */ stfd f29, 0x180(r1) /* 8019D444 0019A3A4 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 8019D448 0019A3A8 DB 81 01 70 */ stfd f28, 0x170(r1) /* 8019D44C 0019A3AC F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 8019D450 0019A3B0 DB 61 01 60 */ stfd f27, 0x160(r1) /* 8019D454 0019A3B4 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 8019D458 0019A3B8 DB 41 01 50 */ stfd f26, 0x150(r1) /* 8019D45C 0019A3BC F3 41 01 58 */ psq_st f26, 344(r1), 0, qr0 /* 8019D460 0019A3C0 DB 21 01 40 */ stfd f25, 0x140(r1) /* 8019D464 0019A3C4 F3 21 01 48 */ psq_st f25, 328(r1), 0, qr0 /* 8019D468 0019A3C8 DB 01 01 30 */ stfd f24, 0x130(r1) /* 8019D46C 0019A3CC F3 01 01 38 */ psq_st f24, 312(r1), 0, qr0 /* 8019D470 0019A3D0 DA E1 01 20 */ stfd f23, 0x120(r1) /* 8019D474 0019A3D4 F2 E1 01 28 */ psq_st f23, 296(r1), 0, qr0 /* 8019D478 0019A3D8 93 E1 01 1C */ stw r31, 0x11c(r1) /* 8019D47C 0019A3DC 93 C1 01 18 */ stw r30, 0x118(r1) /* 8019D480 0019A3E0 93 A1 01 14 */ stw r29, 0x114(r1) /* 8019D484 0019A3E4 93 81 01 10 */ stw r28, 0x110(r1) /* 8019D488 0019A3E8 88 02 98 E8 */ lbz r0, lbl_805AB608@sda21(r2) /* 8019D48C 0019A3EC 7C 7D 1B 78 */ mr r29, r3 /* 8019D490 0019A3F0 7C BC 2B 78 */ mr r28, r5 /* 8019D494 0019A3F4 7C DE 33 78 */ mr r30, r6 /* 8019D498 0019A3F8 28 00 00 00 */ cmplwi r0, 0 /* 8019D49C 0019A3FC 7D 3F 4B 78 */ mr r31, r9 /* 8019D4A0 0019A400 41 82 03 04 */ beq lbl_8019D7A4 /* 8019D4A4 0019A404 7F C5 F3 78 */ mr r5, r30 /* 8019D4A8 0019A408 7F 86 E3 78 */ mr r6, r28 /* 8019D4AC 0019A40C 7D 07 43 78 */ mr r7, r8 /* 8019D4B0 0019A410 48 00 03 5D */ bl RenderSetup__15CFluidPlaneDoorCFRC13CStateManagerfRC12CTransform4fRC6CAABox /* 8019D4B4 0019A414 48 16 A9 C9 */ bl SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv /* 8019D4B8 0019A418 38 60 00 09 */ li r3, 9 /* 8019D4BC 0019A41C 38 80 00 01 */ li r4, 1 /* 8019D4C0 0019A420 48 16 A9 E5 */ bl SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType /* 8019D4C4 0019A424 80 DD 00 A4 */ lwz r6, 0xa4(r29) /* 8019D4C8 0019A428 38 00 00 2A */ li r0, 0x2a /* 8019D4CC 0019A42C C3 DD 00 A8 */ lfs f30, 0xa8(r29) /* 8019D4D0 0019A430 7F 84 E3 78 */ mr r4, r28 /* 8019D4D4 0019A434 7C A0 33 D6 */ divw r5, r0, r6 /* 8019D4D8 0019A438 C0 02 A7 20 */ lfs f0, lbl_805AC440@sda21(r2) /* 8019D4DC 0019A43C 90 CD A5 74 */ stw r6, lbl_805A9134@sda21(r13) /* 8019D4E0 0019A440 38 61 00 58 */ addi r3, r1, 0x58 /* 8019D4E4 0019A444 EF 20 F0 24 */ fdivs f25, f0, f30 /* 8019D4E8 0019A448 7C 05 31 D6 */ mullw r0, r5, r6 /* 8019D4EC 0019A44C 90 AD A5 70 */ stw r5, lbl_805A9130@sda21(r13) /* 8019D4F0 0019A450 90 0D A5 78 */ stw r0, lbl_805A9138@sda21(r13) /* 8019D4F4 0019A454 48 19 A1 19 */ bl GetCenterPoint__6CAABoxCFv /* 8019D4F8 0019A458 C2 E1 00 5C */ lfs f23, 0x5c(r1) /* 8019D4FC 0019A45C 7F 84 E3 78 */ mr r4, r28 /* 8019D500 0019A460 38 61 00 64 */ addi r3, r1, 0x64 /* 8019D504 0019A464 48 19 A1 09 */ bl GetCenterPoint__6CAABoxCFv /* 8019D508 0019A468 FC 40 B8 90 */ fmr f2, f23 /* 8019D50C 0019A46C C0 21 00 64 */ lfs f1, 0x64(r1) /* 8019D510 0019A470 38 61 00 38 */ addi r3, r1, 0x38 /* 8019D514 0019A474 48 17 6C ED */ bl __ct__9CVector2fFff /* 8019D518 0019A478 80 8D A5 78 */ lwz r4, lbl_805A9138@sda21(r13) /* 8019D51C 0019A47C 3C 00 43 30 */ lis r0, 0x4330 /* 8019D520 0019A480 C0 BC 00 00 */ lfs f5, 0(r28) /* 8019D524 0019A484 38 61 00 30 */ addi r3, r1, 0x30 /* 8019D528 0019A488 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 8019D52C 0019A48C C0 9C 00 04 */ lfs f4, 4(r28) /* 8019D530 0019A490 90 81 00 FC */ stw r4, 0xfc(r1) /* 8019D534 0019A494 C0 7C 00 08 */ lfs f3, 8(r28) /* 8019D538 0019A498 90 01 00 F8 */ stw r0, 0xf8(r1) /* 8019D53C 0019A49C C8 22 A7 28 */ lfd f1, lbl_805AC448@sda21(r2) /* 8019D540 0019A4A0 C8 01 00 F8 */ lfd f0, 0xf8(r1) /* 8019D544 0019A4A4 90 81 01 04 */ stw r4, 0x104(r1) /* 8019D548 0019A4A8 EC 40 08 28 */ fsubs f2, f0, f1 /* 8019D54C 0019A4AC C3 BC 00 0C */ lfs f29, 0xc(r28) /* 8019D550 0019A4B0 90 01 01 00 */ stw r0, 0x100(r1) /* 8019D554 0019A4B4 C3 9C 00 10 */ lfs f28, 0x10(r28) /* 8019D558 0019A4B8 C8 01 01 00 */ lfd f0, 0x100(r1) /* 8019D55C 0019A4BC EC 5E 00 B2 */ fmuls f2, f30, f2 /* 8019D560 0019A4C0 D0 A1 00 7C */ stfs f5, 0x7c(r1) /* 8019D564 0019A4C4 EC 00 08 28 */ fsubs f0, f0, f1 /* 8019D568 0019A4C8 C3 7C 00 14 */ lfs f27, 0x14(r28) /* 8019D56C 0019A4CC D0 81 00 80 */ stfs f4, 0x80(r1) /* 8019D570 0019A4D0 EC 3E 00 32 */ fmuls f1, f30, f0 /* 8019D574 0019A4D4 D0 61 00 84 */ stfs f3, 0x84(r1) /* 8019D578 0019A4D8 48 17 6C 89 */ bl __ct__9CVector2fFff /* 8019D57C 0019A4DC C3 01 00 7C */ lfs f24, 0x7c(r1) /* 8019D580 0019A4E0 48 00 02 14 */ b lbl_8019D794 lbl_8019D584: /* 8019D584 0019A4E4 EC 1D C0 28 */ fsubs f0, f29, f24 /* 8019D588 0019A4E8 C2 E1 00 80 */ lfs f23, 0x80(r1) /* 8019D58C 0019A4EC EF 59 00 32 */ fmuls f26, f25, f0 /* 8019D590 0019A4F0 48 00 01 F4 */ b lbl_8019D784 lbl_8019D594: /* 8019D594 0019A4F4 F3 41 D0 22 */ psq_st f26, 34(r1), 1, qr5 /* 8019D598 0019A4F8 38 61 00 2A */ addi r3, r1, 0x2a /* 8019D59C 0019A4FC 80 8D A5 78 */ lwz r4, lbl_805A9138@sda21(r13) /* 8019D5A0 0019A500 A8 A1 00 22 */ lha r5, 0x22(r1) /* 8019D5A4 0019A504 7C 80 07 34 */ extsh r0, r4 /* 8019D5A8 0019A508 B0 81 00 2A */ sth r4, 0x2a(r1) /* 8019D5AC 0019A50C 7C 05 00 00 */ cmpw r5, r0 /* 8019D5B0 0019A510 B0 A1 00 28 */ sth r5, 0x28(r1) /* 8019D5B4 0019A514 40 80 00 08 */ bge lbl_8019D5BC /* 8019D5B8 0019A518 38 61 00 28 */ addi r3, r1, 0x28 lbl_8019D5BC: /* 8019D5BC 0019A51C EC 1C B8 28 */ fsubs f0, f28, f23 /* 8019D5C0 0019A520 A8 03 00 00 */ lha r0, 0(r3) /* 8019D5C4 0019A524 B0 01 00 2E */ sth r0, 0x2e(r1) /* 8019D5C8 0019A528 EF F9 00 32 */ fmuls f31, f25, f0 /* 8019D5CC 0019A52C F3 E1 D0 20 */ psq_st f31, 32(r1), 1, qr5 /* 8019D5D0 0019A530 38 61 00 26 */ addi r3, r1, 0x26 /* 8019D5D4 0019A534 80 8D A5 78 */ lwz r4, lbl_805A9138@sda21(r13) /* 8019D5D8 0019A538 A8 A1 00 20 */ lha r5, 0x20(r1) /* 8019D5DC 0019A53C 7C 80 07 34 */ extsh r0, r4 /* 8019D5E0 0019A540 B0 81 00 26 */ sth r4, 0x26(r1) /* 8019D5E4 0019A544 7C 05 00 00 */ cmpw r5, r0 /* 8019D5E8 0019A548 B0 A1 00 24 */ sth r5, 0x24(r1) /* 8019D5EC 0019A54C 40 80 00 08 */ bge lbl_8019D5F4 /* 8019D5F0 0019A550 38 61 00 24 */ addi r3, r1, 0x24 lbl_8019D5F4: /* 8019D5F4 0019A554 A8 03 00 00 */ lha r0, 0(r3) /* 8019D5F8 0019A558 B0 01 00 2C */ sth r0, 0x2c(r1) /* 8019D5FC 0019A55C E0 01 D0 2C */ psq_l f0, 44(r1), 1, qr5 /* 8019D600 0019A560 E0 21 D0 2E */ psq_l f1, 46(r1), 1, qr5 /* 8019D604 0019A564 38 61 00 88 */ addi r3, r1, 0x88 /* 8019D608 0019A568 EC 1E B8 3A */ fmadds f0, f30, f0, f23 /* 8019D60C 0019A56C D3 61 00 78 */ stfs f27, 0x78(r1) /* 8019D610 0019A570 EC 3E C0 7A */ fmadds f1, f30, f1, f24 /* 8019D614 0019A574 38 81 00 7C */ addi r4, r1, 0x7c /* 8019D618 0019A578 38 A1 00 70 */ addi r5, r1, 0x70 /* 8019D61C 0019A57C D0 01 00 74 */ stfs f0, 0x74(r1) /* 8019D620 0019A580 D0 21 00 70 */ stfs f1, 0x70(r1) /* 8019D624 0019A584 48 19 AE E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8019D628 0019A588 7C 64 1B 78 */ mr r4, r3 /* 8019D62C 0019A58C 7F C5 F3 78 */ mr r5, r30 /* 8019D630 0019A590 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8019D634 0019A594 48 19 A2 C9 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 8019D638 0019A598 7F E3 FB 78 */ mr r3, r31 /* 8019D63C 0019A59C 38 81 00 A0 */ addi r4, r1, 0xa0 /* 8019D640 0019A5A0 48 1A 7B 91 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox /* 8019D644 0019A5A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8019D648 0019A5A8 41 82 01 34 */ beq lbl_8019D77C /* 8019D64C 0019A5AC C0 BE 00 2C */ lfs f5, 0x2c(r30) /* 8019D650 0019A5B0 38 00 00 00 */ li r0, 0 /* 8019D654 0019A5B4 C0 9E 00 1C */ lfs f4, 0x1c(r30) /* 8019D658 0019A5B8 FC 20 F0 90 */ fmr f1, f30 /* 8019D65C 0019A5BC C0 1E 00 0C */ lfs f0, 0xc(r30) /* 8019D660 0019A5C0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8019D664 0019A5C4 C0 C1 00 84 */ lfs f6, 0x84(r1) /* 8019D668 0019A5C8 38 81 00 4C */ addi r4, r1, 0x4c /* 8019D66C 0019A5CC C0 5D 00 A0 */ lfs f2, 0xa0(r29) /* 8019D670 0019A5D0 D0 01 00 40 */ stfs f0, 0x40(r1) /* 8019D674 0019A5D4 38 A1 00 70 */ addi r5, r1, 0x70 /* 8019D678 0019A5D8 C0 62 A7 24 */ lfs f3, lbl_805AC444@sda21(r2) /* 8019D67C 0019A5DC 38 C1 00 40 */ addi r6, r1, 0x40 /* 8019D680 0019A5E0 D0 81 00 44 */ stfs f4, 0x44(r1) /* 8019D684 0019A5E4 39 00 00 00 */ li r8, 0 /* 8019D688 0019A5E8 39 20 00 00 */ li r9, 0 /* 8019D68C 0019A5EC 39 40 00 00 */ li r10, 0 /* 8019D690 0019A5F0 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 8019D694 0019A5F4 D3 01 00 4C */ stfs f24, 0x4c(r1) /* 8019D698 0019A5F8 D2 E1 00 50 */ stfs f23, 0x50(r1) /* 8019D69C 0019A5FC D0 C1 00 54 */ stfs f6, 0x54(r1) /* 8019D6A0 0019A600 90 01 00 08 */ stw r0, 8(r1) /* 8019D6A4 0019A604 90 01 00 0C */ stw r0, 0xc(r1) /* 8019D6A8 0019A608 90 01 00 10 */ stw r0, 0x10(r1) /* 8019D6AC 0019A60C 90 01 00 14 */ stw r0, 0x14(r1) /* 8019D6B0 0019A610 90 01 00 18 */ stw r0, 0x18(r1) /* 8019D6B4 0019A614 90 01 00 1C */ stw r0, 0x1c(r1) /* 8019D6B8 0019A618 80 ED A5 78 */ lwz r7, lbl_805A9138@sda21(r13) /* 8019D6BC 0019A61C 4B FF CB ED */ bl __ct__Q220CFluidPlaneCPURender10SPatchInfoFRC9CVector3fRC9CVector3fRC9CVector3fffb /* 8019D6C0 0019A620 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 8019D6C4 0019A624 3C C0 E0 00 */ lis r6, 0xE0000000@ha /* 8019D6C8 0019A628 3C 60 E0 00 */ lis r3, 0xe000 /* 8019D6CC 0019A62C 38 80 00 01 */ li r4, 1 /* 8019D6D0 0019A630 98 06 00 00 */ stb r0, 0xE0000000@l(r6) /* 8019D6D4 0019A634 38 A0 00 01 */ li r5, 1 /* 8019D6D8 0019A638 88 01 00 B9 */ lbz r0, 0xb9(r1) /* 8019D6DC 0019A63C 98 06 00 01 */ stb r0, 1(r6) /* 8019D6E0 0019A640 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 8019D6E4 0019A644 D0 06 00 04 */ stfs f0, 4(r6) /* 8019D6E8 0019A648 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 8019D6EC 0019A64C D0 06 00 08 */ stfs f0, 8(r6) /* 8019D6F0 0019A650 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 8019D6F4 0019A654 D0 06 00 0C */ stfs f0, 0xc(r6) /* 8019D6F8 0019A658 C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 8019D6FC 0019A65C D0 06 00 10 */ stfs f0, 0x10(r6) /* 8019D700 0019A660 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 8019D704 0019A664 D0 06 00 14 */ stfs f0, 0x14(r6) /* 8019D708 0019A668 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 8019D70C 0019A66C D0 06 00 18 */ stfs f0, 0x18(r6) /* 8019D710 0019A670 C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 8019D714 0019A674 D0 06 00 1C */ stfs f0, 0x1c(r6) /* 8019D718 0019A678 C0 01 00 D8 */ lfs f0, 0xd8(r1) /* 8019D71C 0019A67C D0 06 00 20 */ stfs f0, 0x20(r6) /* 8019D720 0019A680 C0 01 00 DC */ lfs f0, 0xdc(r1) /* 8019D724 0019A684 D0 06 00 24 */ stfs f0, 0x24(r6) /* 8019D728 0019A688 A8 01 00 E0 */ lha r0, 0xe0(r1) /* 8019D72C 0019A68C B0 06 00 28 */ sth r0, 0x28(r6) /* 8019D730 0019A690 A8 01 00 E2 */ lha r0, 0xe2(r1) /* 8019D734 0019A694 B0 06 00 2A */ sth r0, 0x2a(r6) /* 8019D738 0019A698 A8 01 00 E4 */ lha r0, 0xe4(r1) /* 8019D73C 0019A69C B0 06 00 2C */ sth r0, 0x2c(r6) /* 8019D740 0019A6A0 A8 01 00 E6 */ lha r0, 0xe6(r1) /* 8019D744 0019A6A4 B0 06 00 2E */ sth r0, 0x2e(r6) /* 8019D748 0019A6A8 80 01 00 E8 */ lwz r0, 0xe8(r1) /* 8019D74C 0019A6AC 90 06 00 30 */ stw r0, 0x30(r6) /* 8019D750 0019A6B0 88 01 00 EC */ lbz r0, 0xec(r1) /* 8019D754 0019A6B4 98 06 00 34 */ stb r0, 0x34(r6) /* 8019D758 0019A6B8 88 01 00 ED */ lbz r0, 0xed(r1) /* 8019D75C 0019A6BC 98 06 00 35 */ stb r0, 0x35(r6) /* 8019D760 0019A6C0 88 01 00 EE */ lbz r0, 0xee(r1) /* 8019D764 0019A6C4 98 06 00 36 */ stb r0, 0x36(r6) /* 8019D768 0019A6C8 88 01 00 EF */ lbz r0, 0xef(r1) /* 8019D76C 0019A6CC 98 06 00 37 */ stb r0, 0x37(r6) /* 8019D770 0019A6D0 C0 01 00 F0 */ lfs f0, 0xf0(r1) /* 8019D774 0019A6D4 D0 06 00 38 */ stfs f0, 0x38(r6) /* 8019D778 0019A6D8 48 0C E4 79 */ bl RenderPatch__FRCQ220CFluidPlaneCPURender10SPatchInfob lbl_8019D77C: /* 8019D77C 0019A6DC C0 01 00 34 */ lfs f0, 0x34(r1) /* 8019D780 0019A6E0 EE F7 00 2A */ fadds f23, f23, f0 lbl_8019D784: /* 8019D784 0019A6E4 FC 17 E0 40 */ fcmpo cr0, f23, f28 /* 8019D788 0019A6E8 41 80 FE 0C */ blt lbl_8019D594 /* 8019D78C 0019A6EC C0 01 00 30 */ lfs f0, 0x30(r1) /* 8019D790 0019A6F0 EF 18 00 2A */ fadds f24, f24, f0 lbl_8019D794: /* 8019D794 0019A6F4 FC 18 E8 40 */ fcmpo cr0, f24, f29 /* 8019D798 0019A6F8 41 80 FD EC */ blt lbl_8019D584 /* 8019D79C 0019A6FC 7F A3 EB 78 */ mr r3, r29 /* 8019D7A0 0019A700 4B FF FC 0D */ bl RenderCleanup__15CFluidPlaneDoorCFv lbl_8019D7A4: /* 8019D7A4 0019A704 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 8019D7A8 0019A708 CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 8019D7AC 0019A70C E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 8019D7B0 0019A710 CB C1 01 90 */ lfd f30, 0x190(r1) /* 8019D7B4 0019A714 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 8019D7B8 0019A718 CB A1 01 80 */ lfd f29, 0x180(r1) /* 8019D7BC 0019A71C E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 8019D7C0 0019A720 CB 81 01 70 */ lfd f28, 0x170(r1) /* 8019D7C4 0019A724 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 8019D7C8 0019A728 CB 61 01 60 */ lfd f27, 0x160(r1) /* 8019D7CC 0019A72C E3 41 01 58 */ psq_l f26, 344(r1), 0, qr0 /* 8019D7D0 0019A730 CB 41 01 50 */ lfd f26, 0x150(r1) /* 8019D7D4 0019A734 E3 21 01 48 */ psq_l f25, 328(r1), 0, qr0 /* 8019D7D8 0019A738 CB 21 01 40 */ lfd f25, 0x140(r1) /* 8019D7DC 0019A73C E3 01 01 38 */ psq_l f24, 312(r1), 0, qr0 /* 8019D7E0 0019A740 CB 01 01 30 */ lfd f24, 0x130(r1) /* 8019D7E4 0019A744 E2 E1 01 28 */ psq_l f23, 296(r1), 0, qr0 /* 8019D7E8 0019A748 CA E1 01 20 */ lfd f23, 0x120(r1) /* 8019D7EC 0019A74C 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 8019D7F0 0019A750 83 C1 01 18 */ lwz r30, 0x118(r1) /* 8019D7F4 0019A754 83 A1 01 14 */ lwz r29, 0x114(r1) /* 8019D7F8 0019A758 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 8019D7FC 0019A75C 83 81 01 10 */ lwz r28, 0x110(r1) /* 8019D800 0019A760 7C 08 03 A6 */ mtlr r0 /* 8019D804 0019A764 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 8019D808 0019A768 4E 80 00 20 */ blr .global RenderSetup__15CFluidPlaneDoorCFRC13CStateManagerfRC12CTransform4fRC6CAABox RenderSetup__15CFluidPlaneDoorCFRC13CStateManagerfRC12CTransform4fRC6CAABox: /* 8019D80C 0019A76C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8019D810 0019A770 7C 08 02 A6 */ mflr r0 /* 8019D814 0019A774 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8019D818 0019A778 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 8019D81C 0019A77C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 8019D820 0019A780 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 8019D824 0019A784 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 8019D828 0019A788 BD E1 00 8C */ stmw r15, 0x8c(r1) /* 8019D82C 0019A78C 7C 7E 1B 78 */ mr r30, r3 /* 8019D830 0019A790 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8019D834 0019A794 80 C4 08 7C */ lwz r6, 0x87c(r4) /* 8019D838 0019A798 3C E0 80 3D */ lis r7, lbl_803D1300@ha /* 8019D83C 0019A79C 81 83 00 00 */ lwz r12, 0(r3) /* 8019D840 0019A7A0 FF C0 08 90 */ fmr f30, f1 /* 8019D844 0019A7A4 7C A4 2B 78 */ mr r4, r5 /* 8019D848 0019A7A8 3B E7 13 00 */ addi r31, r7, lbl_803D1300@l /* 8019D84C 0019A7AC 81 8C 00 30 */ lwz r12, 0x30(r12) /* 8019D850 0019A7B0 C3 E6 01 1C */ lfs f31, 0x11c(r6) /* 8019D854 0019A7B4 7D 89 03 A6 */ mtctr r12 /* 8019D858 0019A7B8 4E 80 04 21 */ bctrl /* 8019D85C 0019A7BC 38 60 00 00 */ li r3, 0 /* 8019D860 0019A7C0 38 8D 8F F0 */ addi r4, r13, lbl_805A7BB0@sda21 /* 8019D864 0019A7C4 48 16 B4 F9 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor /* 8019D868 0019A7C8 38 60 00 00 */ li r3, 0 /* 8019D86C 0019A7CC 38 80 00 00 */ li r4, 0 /* 8019D870 0019A7D0 38 A0 00 00 */ li r5, 0 /* 8019D874 0019A7D4 38 C0 00 00 */ li r6, 0 /* 8019D878 0019A7D8 38 E0 00 00 */ li r7, 0 /* 8019D87C 0019A7DC 39 00 00 00 */ li r8, 0 /* 8019D880 0019A7E0 39 20 00 02 */ li r9, 2 /* 8019D884 0019A7E4 48 16 B4 49 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 8019D888 0019A7E8 38 60 00 00 */ li r3, 0 /* 8019D88C 0019A7EC 48 16 B5 C5 */ bl SetNumChans__3CGXFUc /* 8019D890 0019A7F0 88 1E 00 1C */ lbz r0, 0x1c(r30) /* 8019D894 0019A7F4 28 00 00 00 */ cmplwi r0, 0 /* 8019D898 0019A7F8 41 82 00 14 */ beq lbl_8019D8AC /* 8019D89C 0019A7FC 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8019D8A0 0019A800 38 80 00 00 */ li r4, 0 /* 8019D8A4 0019A804 38 A0 00 01 */ li r5, 1 /* 8019D8A8 0019A808 48 17 1E 95 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019D8AC: /* 8019D8AC 0019A80C 88 1E 00 2C */ lbz r0, 0x2c(r30) /* 8019D8B0 0019A810 28 00 00 00 */ cmplwi r0, 0 /* 8019D8B4 0019A814 41 82 00 14 */ beq lbl_8019D8C8 /* 8019D8B8 0019A818 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8019D8BC 0019A81C 38 80 00 01 */ li r4, 1 /* 8019D8C0 0019A820 38 A0 00 01 */ li r5, 1 /* 8019D8C4 0019A824 48 17 1E 79 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019D8C8: /* 8019D8C8 0019A828 88 1E 00 3C */ lbz r0, 0x3c(r30) /* 8019D8CC 0019A82C 28 00 00 00 */ cmplwi r0, 0 /* 8019D8D0 0019A830 41 82 00 14 */ beq lbl_8019D8E4 /* 8019D8D4 0019A834 80 7E 00 38 */ lwz r3, 0x38(r30) /* 8019D8D8 0019A838 38 80 00 02 */ li r4, 2 /* 8019D8DC 0019A83C 38 A0 00 01 */ li r5, 1 /* 8019D8E0 0019A840 48 17 1E 5D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode lbl_8019D8E4: /* 8019D8E4 0019A844 38 60 00 03 */ li r3, 3 /* 8019D8E8 0019A848 48 16 B5 2D */ bl SetNumTexGens__3CGXFUc /* 8019D8EC 0019A84C FC 20 F8 90 */ fmr f1, f31 /* 8019D8F0 0019A850 38 7E 00 4C */ addi r3, r30, 0x4c /* 8019D8F4 0019A854 38 81 00 6C */ addi r4, r1, 0x6c /* 8019D8F8 0019A858 4B F7 F1 ED */ bl CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f /* 8019D8FC 0019A85C 82 1F 00 00 */ lwz r16, 0(r31) /* 8019D900 0019A860 38 61 00 4C */ addi r3, r1, 0x4c /* 8019D904 0019A864 82 7F 00 0C */ lwz r19, 0xc(r31) /* 8019D908 0019A868 38 80 00 2D */ li r4, 0x2d /* 8019D90C 0019A86C 82 BF 00 14 */ lwz r21, 0x14(r31) /* 8019D910 0019A870 38 A0 00 01 */ li r5, 1 /* 8019D914 0019A874 82 FF 00 1C */ lwz r23, 0x1c(r31) /* 8019D918 0019A878 83 1F 00 20 */ lwz r24, 0x20(r31) /* 8019D91C 0019A87C 83 7F 00 2C */ lwz r27, 0x2c(r31) /* 8019D920 0019A880 83 BF 00 34 */ lwz r29, 0x34(r31) /* 8019D924 0019A884 81 7F 00 3C */ lwz r11, 0x3c(r31) /* 8019D928 0019A888 81 5F 00 40 */ lwz r10, 0x40(r31) /* 8019D92C 0019A88C 80 FF 00 4C */ lwz r7, 0x4c(r31) /* 8019D930 0019A890 80 1F 00 54 */ lwz r0, 0x54(r31) /* 8019D934 0019A894 81 FF 00 5C */ lwz r15, 0x5c(r31) /* 8019D938 0019A898 82 3F 00 04 */ lwz r17, 4(r31) /* 8019D93C 0019A89C 82 5F 00 08 */ lwz r18, 8(r31) /* 8019D940 0019A8A0 82 9F 00 10 */ lwz r20, 0x10(r31) /* 8019D944 0019A8A4 82 DF 00 18 */ lwz r22, 0x18(r31) /* 8019D948 0019A8A8 83 3F 00 24 */ lwz r25, 0x24(r31) /* 8019D94C 0019A8AC 83 5F 00 28 */ lwz r26, 0x28(r31) /* 8019D950 0019A8B0 83 9F 00 30 */ lwz r28, 0x30(r31) /* 8019D954 0019A8B4 81 9F 00 38 */ lwz r12, 0x38(r31) /* 8019D958 0019A8B8 81 3F 00 44 */ lwz r9, 0x44(r31) /* 8019D95C 0019A8BC 81 1F 00 48 */ lwz r8, 0x48(r31) /* 8019D960 0019A8C0 80 DF 00 50 */ lwz r6, 0x50(r31) /* 8019D964 0019A8C4 83 FF 00 58 */ lwz r31, 0x58(r31) /* 8019D968 0019A8C8 92 01 00 4C */ stw r16, 0x4c(r1) /* 8019D96C 0019A8CC C0 DE 00 7C */ lfs f6, 0x7c(r30) /* 8019D970 0019A8D0 92 A1 00 60 */ stw r21, 0x60(r1) /* 8019D974 0019A8D4 C1 01 00 74 */ lfs f8, 0x74(r1) /* 8019D978 0019A8D8 92 61 00 58 */ stw r19, 0x58(r1) /* 8019D97C 0019A8DC C0 E1 00 78 */ lfs f7, 0x78(r1) /* 8019D980 0019A8E0 92 E1 00 68 */ stw r23, 0x68(r1) /* 8019D984 0019A8E4 C0 A1 00 7C */ lfs f5, 0x7c(r1) /* 8019D988 0019A8E8 93 61 00 38 */ stw r27, 0x38(r1) /* 8019D98C 0019A8EC C0 81 00 80 */ lfs f4, 0x80(r1) /* 8019D990 0019A8F0 91 61 00 48 */ stw r11, 0x48(r1) /* 8019D994 0019A8F4 C0 7E 00 94 */ lfs f3, 0x94(r30) /* 8019D998 0019A8F8 93 01 00 2C */ stw r24, 0x2c(r1) /* 8019D99C 0019A8FC C0 41 00 6C */ lfs f2, 0x6c(r1) /* 8019D9A0 0019A900 93 A1 00 40 */ stw r29, 0x40(r1) /* 8019D9A4 0019A904 C0 21 00 70 */ lfs f1, 0x70(r1) /* 8019D9A8 0019A908 90 E1 00 18 */ stw r7, 0x18(r1) /* 8019D9AC 0019A90C C0 1E 00 64 */ lfs f0, 0x64(r30) /* 8019D9B0 0019A910 91 41 00 0C */ stw r10, 0xc(r1) /* 8019D9B4 0019A914 90 01 00 20 */ stw r0, 0x20(r1) /* 8019D9B8 0019A918 91 E1 00 28 */ stw r15, 0x28(r1) /* 8019D9BC 0019A91C 92 21 00 50 */ stw r17, 0x50(r1) /* 8019D9C0 0019A920 92 41 00 54 */ stw r18, 0x54(r1) /* 8019D9C4 0019A924 92 81 00 5C */ stw r20, 0x5c(r1) /* 8019D9C8 0019A928 92 C1 00 64 */ stw r22, 0x64(r1) /* 8019D9CC 0019A92C D1 01 00 58 */ stfs f8, 0x58(r1) /* 8019D9D0 0019A930 D0 E1 00 68 */ stfs f7, 0x68(r1) /* 8019D9D4 0019A934 D0 C1 00 60 */ stfs f6, 0x60(r1) /* 8019D9D8 0019A938 D0 C1 00 4C */ stfs f6, 0x4c(r1) /* 8019D9DC 0019A93C 93 21 00 30 */ stw r25, 0x30(r1) /* 8019D9E0 0019A940 93 41 00 34 */ stw r26, 0x34(r1) /* 8019D9E4 0019A944 93 81 00 3C */ stw r28, 0x3c(r1) /* 8019D9E8 0019A948 91 81 00 44 */ stw r12, 0x44(r1) /* 8019D9EC 0019A94C D0 A1 00 38 */ stfs f5, 0x38(r1) /* 8019D9F0 0019A950 D0 81 00 48 */ stfs f4, 0x48(r1) /* 8019D9F4 0019A954 D0 61 00 40 */ stfs f3, 0x40(r1) /* 8019D9F8 0019A958 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 8019D9FC 0019A95C 91 21 00 10 */ stw r9, 0x10(r1) /* 8019DA00 0019A960 91 01 00 14 */ stw r8, 0x14(r1) /* 8019DA04 0019A964 90 C1 00 1C */ stw r6, 0x1c(r1) /* 8019DA08 0019A968 93 E1 00 24 */ stw r31, 0x24(r1) /* 8019DA0C 0019A96C D0 41 00 18 */ stfs f2, 0x18(r1) /* 8019DA10 0019A970 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8019DA14 0019A974 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8019DA18 0019A978 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8019DA1C 0019A97C 48 1D EA 75 */ bl GXLoadTexMtxImm /* 8019DA20 0019A980 38 61 00 2C */ addi r3, r1, 0x2c /* 8019DA24 0019A984 38 80 00 30 */ li r4, 0x30 /* 8019DA28 0019A988 38 A0 00 01 */ li r5, 1 /* 8019DA2C 0019A98C 48 1D EA 65 */ bl GXLoadTexMtxImm /* 8019DA30 0019A990 38 61 00 0C */ addi r3, r1, 0xc /* 8019DA34 0019A994 38 80 00 33 */ li r4, 0x33 /* 8019DA38 0019A998 38 A0 00 01 */ li r5, 1 /* 8019DA3C 0019A99C 48 1D EA 55 */ bl GXLoadTexMtxImm /* 8019DA40 0019A9A0 38 60 00 00 */ li r3, 0 /* 8019DA44 0019A9A4 38 80 00 01 */ li r4, 1 /* 8019DA48 0019A9A8 38 A0 00 00 */ li r5, 0 /* 8019DA4C 0019A9AC 38 C0 00 2D */ li r6, 0x2d /* 8019DA50 0019A9B0 38 E0 00 00 */ li r7, 0 /* 8019DA54 0019A9B4 39 00 00 7D */ li r8, 0x7d /* 8019DA58 0019A9B8 48 16 AC 75 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019DA5C 0019A9BC 38 60 00 01 */ li r3, 1 /* 8019DA60 0019A9C0 38 80 00 01 */ li r4, 1 /* 8019DA64 0019A9C4 38 A0 00 00 */ li r5, 0 /* 8019DA68 0019A9C8 38 C0 00 30 */ li r6, 0x30 /* 8019DA6C 0019A9CC 38 E0 00 00 */ li r7, 0 /* 8019DA70 0019A9D0 39 00 00 7D */ li r8, 0x7d /* 8019DA74 0019A9D4 48 16 AC 59 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019DA78 0019A9D8 38 60 00 02 */ li r3, 2 /* 8019DA7C 0019A9DC 38 80 00 01 */ li r4, 1 /* 8019DA80 0019A9E0 38 A0 00 00 */ li r5, 0 /* 8019DA84 0019A9E4 38 C0 00 33 */ li r6, 0x33 /* 8019DA88 0019A9E8 38 E0 00 00 */ li r7, 0 /* 8019DA8C 0019A9EC 39 00 00 7D */ li r8, 0x7d /* 8019DA90 0019A9F0 48 16 AC 3D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 8019DA94 0019A9F4 38 60 00 00 */ li r3, 0 /* 8019DA98 0019A9F8 38 80 00 00 */ li r4, 0 /* 8019DA9C 0019A9FC 38 A0 00 00 */ li r5, 0 /* 8019DAA0 0019AA00 38 C0 00 FF */ li r6, 0xff /* 8019DAA4 0019AA04 48 16 AE A9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019DAA8 0019AA08 38 60 00 01 */ li r3, 1 /* 8019DAAC 0019AA0C 38 80 00 01 */ li r4, 1 /* 8019DAB0 0019AA10 38 A0 00 01 */ li r5, 1 /* 8019DAB4 0019AA14 38 C0 00 FF */ li r6, 0xff /* 8019DAB8 0019AA18 48 16 AE 95 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019DABC 0019AA1C 38 60 00 02 */ li r3, 2 /* 8019DAC0 0019AA20 38 80 00 02 */ li r4, 2 /* 8019DAC4 0019AA24 38 A0 00 02 */ li r5, 2 /* 8019DAC8 0019AA28 38 C0 00 FF */ li r6, 0xff /* 8019DACC 0019AA2C 48 16 AE 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8019DAD0 0019AA30 38 60 00 03 */ li r3, 3 /* 8019DAD4 0019AA34 48 16 B1 BD */ bl SetNumTevStages__3CGXFUc /* 8019DAD8 0019AA38 38 60 00 00 */ li r3, 0 /* 8019DADC 0019AA3C 38 80 00 0F */ li r4, 0xf /* 8019DAE0 0019AA40 38 A0 00 08 */ li r5, 8 /* 8019DAE4 0019AA44 38 C0 00 0E */ li r6, 0xe /* 8019DAE8 0019AA48 38 E0 00 0F */ li r7, 0xf /* 8019DAEC 0019AA4C 48 16 B1 01 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019DAF0 0019AA50 38 60 00 01 */ li r3, 1 /* 8019DAF4 0019AA54 38 80 00 0F */ li r4, 0xf /* 8019DAF8 0019AA58 38 A0 00 08 */ li r5, 8 /* 8019DAFC 0019AA5C 38 C0 00 00 */ li r6, 0 /* 8019DB00 0019AA60 38 E0 00 0F */ li r7, 0xf /* 8019DB04 0019AA64 48 16 B0 E9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019DB08 0019AA68 38 60 00 02 */ li r3, 2 /* 8019DB0C 0019AA6C 38 80 00 0F */ li r4, 0xf /* 8019DB10 0019AA70 38 A0 00 08 */ li r5, 8 /* 8019DB14 0019AA74 38 C0 00 0C */ li r6, 0xc /* 8019DB18 0019AA78 38 E0 00 00 */ li r7, 0 /* 8019DB1C 0019AA7C 48 16 B0 D1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8019DB20 0019AA80 38 60 00 02 */ li r3, 2 /* 8019DB24 0019AA84 38 80 00 07 */ li r4, 7 /* 8019DB28 0019AA88 38 A0 00 07 */ li r5, 7 /* 8019DB2C 0019AA8C 38 C0 00 07 */ li r6, 7 /* 8019DB30 0019AA90 38 E0 00 06 */ li r7, 6 /* 8019DB34 0019AA94 48 16 B0 61 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 8019DB38 0019AA98 C0 22 A7 20 */ lfs f1, lbl_805AC440@sda21(r2) /* 8019DB3C 0019AA9C FC 80 F0 90 */ fmr f4, f30 /* 8019DB40 0019AAA0 38 61 00 08 */ addi r3, r1, 8 /* 8019DB44 0019AAA4 FC 40 08 90 */ fmr f2, f1 /* 8019DB48 0019AAA8 FC 60 08 90 */ fmr f3, f1 /* 8019DB4C 0019AAAC 48 1C 58 A1 */ bl __ct__6CColorFffff /* 8019DB50 0019AAB0 7C 64 1B 78 */ mr r4, r3 /* 8019DB54 0019AAB4 38 60 00 00 */ li r3, 0 /* 8019DB58 0019AAB8 48 16 B0 ED */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 8019DB5C 0019AABC 38 60 00 00 */ li r3, 0 /* 8019DB60 0019AAC0 38 80 00 0C */ li r4, 0xc /* 8019DB64 0019AAC4 48 16 AE 7D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 8019DB68 0019AAC8 38 60 00 02 */ li r3, 2 /* 8019DB6C 0019AACC 38 80 00 1C */ li r4, 0x1c /* 8019DB70 0019AAD0 48 16 AE 2D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 8019DB74 0019AAD4 38 60 00 00 */ li r3, 0 /* 8019DB78 0019AAD8 48 16 A0 D9 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 8019DB7C 0019AADC 38 60 00 01 */ li r3, 1 /* 8019DB80 0019AAE0 48 16 A0 D1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 8019DB84 0019AAE4 38 60 00 02 */ li r3, 2 /* 8019DB88 0019AAE8 48 16 A0 C9 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 8019DB8C 0019AAEC C0 02 A7 20 */ lfs f0, lbl_805AC440@sda21(r2) /* 8019DB90 0019AAF0 FC 00 F0 00 */ fcmpu cr0, f0, f30 /* 8019DB94 0019AAF4 40 82 00 0C */ bne lbl_8019DBA0 /* 8019DB98 0019AAF8 38 60 00 00 */ li r3, 0 /* 8019DB9C 0019AAFC 48 00 00 08 */ b lbl_8019DBA4 lbl_8019DBA0: /* 8019DBA0 0019AB00 38 60 00 01 */ li r3, 1 lbl_8019DBA4: /* 8019DBA4 0019AB04 38 80 00 04 */ li r4, 4 /* 8019DBA8 0019AB08 38 A0 00 05 */ li r5, 5 /* 8019DBAC 0019AB0C 38 C0 00 00 */ li r6, 0 /* 8019DBB0 0019AB10 48 16 AD 21 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 8019DBB4 0019AB14 38 60 00 01 */ li r3, 1 /* 8019DBB8 0019AB18 38 80 00 03 */ li r4, 3 /* 8019DBBC 0019AB1C 38 A0 00 00 */ li r5, 0 /* 8019DBC0 0019AB20 48 16 AC BD */ bl SetZMode__3CGXFb10_GXCompareb /* 8019DBC4 0019AB24 38 60 00 07 */ li r3, 7 /* 8019DBC8 0019AB28 38 80 00 00 */ li r4, 0 /* 8019DBCC 0019AB2C 38 A0 00 00 */ li r5, 0 /* 8019DBD0 0019AB30 38 C0 00 07 */ li r6, 7 /* 8019DBD4 0019AB34 38 E0 00 00 */ li r7, 0 /* 8019DBD8 0019AB38 48 16 AC 3D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc /* 8019DBDC 0019AB3C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 8019DBE0 0019AB40 CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 8019DBE4 0019AB44 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 8019DBE8 0019AB48 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 8019DBEC 0019AB4C B9 E1 00 8C */ lmw r15, 0x8c(r1) /* 8019DBF0 0019AB50 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8019DBF4 0019AB54 7C 08 03 A6 */ mtlr r0 /* 8019DBF8 0019AB58 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8019DBFC 0019AB5C 4E 80 00 20 */ blr .global __dt__15CFluidPlaneDoorFv __dt__15CFluidPlaneDoorFv: /* 8019DC00 0019AB60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019DC04 0019AB64 7C 08 02 A6 */ mflr r0 /* 8019DC08 0019AB68 90 01 00 14 */ stw r0, 0x14(r1) /* 8019DC0C 0019AB6C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8019DC10 0019AB70 7C 9F 23 78 */ mr r31, r4 /* 8019DC14 0019AB74 93 C1 00 08 */ stw r30, 8(r1) /* 8019DC18 0019AB78 7C 7E 1B 79 */ or. r30, r3, r3 /* 8019DC1C 0019AB7C 41 82 00 28 */ beq lbl_8019DC44 /* 8019DC20 0019AB80 3C A0 80 3E */ lis r5, lbl_803E46E8@ha /* 8019DC24 0019AB84 38 80 00 00 */ li r4, 0 /* 8019DC28 0019AB88 38 05 46 E8 */ addi r0, r5, lbl_803E46E8@l /* 8019DC2C 0019AB8C 90 1E 00 00 */ stw r0, 0(r30) /* 8019DC30 0019AB90 4B F9 0F AD */ bl __dt__11CFluidPlaneFv /* 8019DC34 0019AB94 7F E0 07 35 */ extsh. r0, r31 /* 8019DC38 0019AB98 40 81 00 0C */ ble lbl_8019DC44 /* 8019DC3C 0019AB9C 7F C3 F3 78 */ mr r3, r30 /* 8019DC40 0019ABA0 48 17 7C F1 */ bl Free__7CMemoryFPCv lbl_8019DC44: /* 8019DC44 0019ABA4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019DC48 0019ABA8 7F C3 F3 78 */ mr r3, r30 /* 8019DC4C 0019ABAC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8019DC50 0019ABB0 83 C1 00 08 */ lwz r30, 8(r1) /* 8019DC54 0019ABB4 7C 08 03 A6 */ mtlr r0 /* 8019DC58 0019ABB8 38 21 00 10 */ addi r1, r1, 0x10 /* 8019DC5C 0019ABBC 4E 80 00 20 */ blr .global __ct__15CFluidPlaneDoorFUiUiUifUiQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion __ct__15CFluidPlaneDoorFUiUiUifUiQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion: /* 8019DC60 0019ABC0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8019DC64 0019ABC4 7C 08 02 A6 */ mflr r0 /* 8019DC68 0019ABC8 90 01 00 34 */ stw r0, 0x34(r1) /* 8019DC6C 0019ABCC DB E1 00 20 */ stfd f31, 0x20(r1) /* 8019DC70 0019ABD0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8019DC74 0019ABD4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8019DC78 0019ABD8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8019DC7C 0019ABDC FC 00 10 90 */ fmr f0, f2 /* 8019DC80 0019ABE0 7C FF 3B 78 */ mr r31, r7 /* 8019DC84 0019ABE4 FF E0 08 90 */ fmr f31, f1 /* 8019DC88 0019ABE8 7D 07 43 78 */ mr r7, r8 /* 8019DC8C 0019ABEC C0 42 A7 30 */ lfs f2, lbl_805AC450@sda21(r2) /* 8019DC90 0019ABF0 7C 7E 1B 78 */ mr r30, r3 /* 8019DC94 0019ABF4 FC 20 00 90 */ fmr f1, f0 /* 8019DC98 0019ABF8 7D 28 4B 78 */ mr r8, r9 /* 8019DC9C 0019ABFC 4B F9 10 99 */ bl __ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion /* 8019DCA0 0019AC00 3C 60 80 3E */ lis r3, lbl_803E46E8@ha /* 8019DCA4 0019AC04 3C 00 43 30 */ lis r0, 0x4330 /* 8019DCA8 0019AC08 38 63 46 E8 */ addi r3, r3, lbl_803E46E8@l /* 8019DCAC 0019AC0C 57 E4 00 3C */ rlwinm r4, r31, 0, 0, 0x1e /* 8019DCB0 0019AC10 90 7E 00 00 */ stw r3, 0(r30) /* 8019DCB4 0019AC14 7F C3 F3 78 */ mr r3, r30 /* 8019DCB8 0019AC18 C8 22 A7 28 */ lfd f1, lbl_805AC448@sda21(r2) /* 8019DCBC 0019AC1C D3 FE 00 A0 */ stfs f31, 0xa0(r30) /* 8019DCC0 0019AC20 90 9E 00 A4 */ stw r4, 0xa4(r30) /* 8019DCC4 0019AC24 80 9E 00 A4 */ lwz r4, 0xa4(r30) /* 8019DCC8 0019AC28 90 01 00 08 */ stw r0, 8(r1) /* 8019DCCC 0019AC2C 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 8019DCD0 0019AC30 90 01 00 0C */ stw r0, 0xc(r1) /* 8019DCD4 0019AC34 C8 01 00 08 */ lfd f0, 8(r1) /* 8019DCD8 0019AC38 EC 00 08 28 */ fsubs f0, f0, f1 /* 8019DCDC 0019AC3C EC 1F 00 24 */ fdivs f0, f31, f0 /* 8019DCE0 0019AC40 D0 1E 00 A8 */ stfs f0, 0xa8(r30) /* 8019DCE4 0019AC44 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8019DCE8 0019AC48 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019DCEC 0019AC4C CB E1 00 20 */ lfd f31, 0x20(r1) /* 8019DCF0 0019AC50 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019DCF4 0019AC54 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8019DCF8 0019AC58 7C 08 03 A6 */ mtlr r0 /* 8019DCFC 0019AC5C 38 21 00 30 */ addi r1, r1, 0x30 /* 8019DD00 0019AC60 4E 80 00 20 */ blr .global __dt__20CScriptRoomAcousticsFv __dt__20CScriptRoomAcousticsFv: /* 8019DD04 0019AC64 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019DD08 0019AC68 7C 08 02 A6 */ mflr r0 /* 8019DD0C 0019AC6C 90 01 00 14 */ stw r0, 0x14(r1) /* 8019DD10 0019AC70 93 E1 00 0C */ stw r31, 0xc(r1) /* 8019DD14 0019AC74 7C 9F 23 78 */ mr r31, r4 /* 8019DD18 0019AC78 93 C1 00 08 */ stw r30, 8(r1) /* 8019DD1C 0019AC7C 7C 7E 1B 79 */ or. r30, r3, r3 /* 8019DD20 0019AC80 41 82 00 28 */ beq lbl_8019DD48 /* 8019DD24 0019AC84 3C A0 80 3E */ lis r5, lbl_803E4708@ha /* 8019DD28 0019AC88 38 80 00 00 */ li r4, 0 /* 8019DD2C 0019AC8C 38 05 47 08 */ addi r0, r5, lbl_803E4708@l /* 8019DD30 0019AC90 90 1E 00 00 */ stw r0, 0(r30) /* 8019DD34 0019AC94 4B EB 35 41 */ bl __dt__7CEntityFv /* 8019DD38 0019AC98 7F E0 07 35 */ extsh. r0, r31 /* 8019DD3C 0019AC9C 40 81 00 0C */ ble lbl_8019DD48 /* 8019DD40 0019ACA0 7F C3 F3 78 */ mr r3, r30 /* 8019DD44 0019ACA4 48 17 7B ED */ bl Free__7CMemoryFPCv lbl_8019DD48: /* 8019DD48 0019ACA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019DD4C 0019ACAC 7F C3 F3 78 */ mr r3, r30 /* 8019DD50 0019ACB0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8019DD54 0019ACB4 83 C1 00 08 */ lwz r30, 8(r1) /* 8019DD58 0019ACB8 7C 08 03 A6 */ mtlr r0 /* 8019DD5C 0019ACBC 38 21 00 10 */ addi r1, r1, 0x10 /* 8019DD60 0019ACC0 4E 80 00 20 */ blr .global DisableAuxCallbacks__20CScriptRoomAcousticsFv DisableAuxCallbacks__20CScriptRoomAcousticsFv: /* 8019DD64 0019ACC4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019DD68 0019ACC8 7C 08 02 A6 */ mflr r0 /* 8019DD6C 0019ACCC 90 01 00 14 */ stw r0, 0x14(r1) /* 8019DD70 0019ACD0 48 14 A6 C9 */ bl DisableAuxProcessing__11CSfxManagerFv /* 8019DD74 0019ACD4 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 8019DD78 0019ACD8 90 0D A4 88 */ stw r0, lbl_805A9048@sda21(r13) /* 8019DD7C 0019ACDC 48 1A CA 81 */ bl GetDefaultVolumeScale__9CAudioSysFv /* 8019DD80 0019ACE0 48 1A CA 8D */ bl SetVolumeScale__9CAudioSysFs /* 8019DD84 0019ACE4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019DD88 0019ACE8 7C 08 03 A6 */ mtlr r0 /* 8019DD8C 0019ACEC 38 21 00 10 */ addi r1, r1, 0x10 /* 8019DD90 0019ACF0 4E 80 00 20 */ blr .global EnableAuxCallbacks__20CScriptRoomAcousticsFv EnableAuxCallbacks__20CScriptRoomAcousticsFv: /* 8019DD94 0019ACF4 94 21 FB C0 */ stwu r1, -0x440(r1) /* 8019DD98 0019ACF8 7C 08 02 A6 */ mflr r0 /* 8019DD9C 0019ACFC 90 01 04 44 */ stw r0, 0x444(r1) /* 8019DDA0 0019AD00 93 E1 04 3C */ stw r31, 0x43c(r1) /* 8019DDA4 0019AD04 7C 7F 1B 78 */ mr r31, r3 /* 8019DDA8 0019AD08 93 C1 04 38 */ stw r30, 0x438(r1) /* 8019DDAC 0019AD0C 88 03 00 30 */ lbz r0, 0x30(r3) /* 8019DDB0 0019AD10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8019DDB4 0019AD14 41 82 01 70 */ beq lbl_8019DF24 /* 8019DDB8 0019AD18 88 1F 00 38 */ lbz r0, 0x38(r31) /* 8019DDBC 0019AD1C 3B C0 00 00 */ li r30, 0 /* 8019DDC0 0019AD20 28 00 00 00 */ cmplwi r0, 0 /* 8019DDC4 0019AD24 41 82 00 48 */ beq lbl_8019DE0C /* 8019DDC8 0019AD28 88 1F 00 39 */ lbz r0, 0x39(r31) /* 8019DDCC 0019AD2C 38 61 02 58 */ addi r3, r1, 0x258 /* 8019DDD0 0019AD30 3B C0 00 01 */ li r30, 1 /* 8019DDD4 0019AD34 98 01 04 1C */ stb r0, 0x41c(r1) /* 8019DDD8 0019AD38 C0 1F 00 3C */ lfs f0, 0x3c(r31) /* 8019DDDC 0019AD3C D0 01 04 28 */ stfs f0, 0x428(r1) /* 8019DDE0 0019AD40 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8019DDE4 0019AD44 D0 01 04 30 */ stfs f0, 0x430(r1) /* 8019DDE8 0019AD48 C0 1F 00 44 */ lfs f0, 0x44(r31) /* 8019DDEC 0019AD4C D0 01 04 2C */ stfs f0, 0x42c(r1) /* 8019DDF0 0019AD50 C0 1F 00 48 */ lfs f0, 0x48(r31) /* 8019DDF4 0019AD54 D0 01 04 20 */ stfs f0, 0x420(r1) /* 8019DDF8 0019AD58 C0 1F 00 4C */ lfs f0, 0x4c(r31) /* 8019DDFC 0019AD5C D0 01 04 34 */ stfs f0, 0x434(r1) /* 8019DE00 0019AD60 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 8019DE04 0019AD64 D0 01 04 24 */ stfs f0, 0x424(r1) /* 8019DE08 0019AD68 48 14 A4 B5 */ bl PrepareReverbHiCallback__11CSfxManagerFRC16SND_AUX_REVERBHI lbl_8019DE0C: /* 8019DE0C 0019AD6C 88 1F 00 54 */ lbz r0, 0x54(r31) /* 8019DE10 0019AD70 28 00 00 00 */ cmplwi r0, 0 /* 8019DE14 0019AD74 41 82 00 3C */ beq lbl_8019DE50 /* 8019DE18 0019AD78 2C 1E 00 01 */ cmpwi r30, 1 /* 8019DE1C 0019AD7C 40 80 00 34 */ bge lbl_8019DE50 /* 8019DE20 0019AD80 C0 3F 00 58 */ lfs f1, 0x58(r31) /* 8019DE24 0019AD84 48 1E BB 31 */ bl __cvt_fp2unsigned /* 8019DE28 0019AD88 90 61 00 F8 */ stw r3, 0xf8(r1) /* 8019DE2C 0019AD8C C0 3F 00 5C */ lfs f1, 0x5c(r31) /* 8019DE30 0019AD90 48 1E BB 25 */ bl __cvt_fp2unsigned /* 8019DE34 0019AD94 90 61 00 FC */ stw r3, 0xfc(r1) /* 8019DE38 0019AD98 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 8019DE3C 0019AD9C 48 1E BB 19 */ bl __cvt_fp2unsigned /* 8019DE40 0019ADA0 90 61 01 00 */ stw r3, 0x100(r1) /* 8019DE44 0019ADA4 3B DE 00 01 */ addi r30, r30, 1 /* 8019DE48 0019ADA8 38 61 00 68 */ addi r3, r1, 0x68 /* 8019DE4C 0019ADAC 48 14 A3 DD */ bl PrepareChorusCallback__11CSfxManagerFRC14SND_AUX_CHORUS lbl_8019DE50: /* 8019DE50 0019ADB0 88 1F 00 64 */ lbz r0, 0x64(r31) /* 8019DE54 0019ADB4 28 00 00 00 */ cmplwi r0, 0 /* 8019DE58 0019ADB8 41 82 00 48 */ beq lbl_8019DEA0 /* 8019DE5C 0019ADBC 2C 1E 00 01 */ cmpwi r30, 1 /* 8019DE60 0019ADC0 40 80 00 40 */ bge lbl_8019DEA0 /* 8019DE64 0019ADC4 88 1F 00 65 */ lbz r0, 0x65(r31) /* 8019DE68 0019ADC8 38 61 01 04 */ addi r3, r1, 0x104 /* 8019DE6C 0019ADCC 3B DE 00 01 */ addi r30, r30, 1 /* 8019DE70 0019ADD0 98 01 02 40 */ stb r0, 0x240(r1) /* 8019DE74 0019ADD4 C0 1F 00 68 */ lfs f0, 0x68(r31) /* 8019DE78 0019ADD8 D0 01 02 4C */ stfs f0, 0x24c(r1) /* 8019DE7C 0019ADDC C0 1F 00 6C */ lfs f0, 0x6c(r31) /* 8019DE80 0019ADE0 D0 01 02 54 */ stfs f0, 0x254(r1) /* 8019DE84 0019ADE4 C0 1F 00 70 */ lfs f0, 0x70(r31) /* 8019DE88 0019ADE8 D0 01 02 50 */ stfs f0, 0x250(r1) /* 8019DE8C 0019ADEC C0 1F 00 74 */ lfs f0, 0x74(r31) /* 8019DE90 0019ADF0 D0 01 02 44 */ stfs f0, 0x244(r1) /* 8019DE94 0019ADF4 C0 1F 00 78 */ lfs f0, 0x78(r31) /* 8019DE98 0019ADF8 D0 01 02 48 */ stfs f0, 0x248(r1) /* 8019DE9C 0019ADFC 48 14 A2 D9 */ bl PrepareReverbStdCallback__11CSfxManagerFRC17SND_AUX_REVERBSTD lbl_8019DEA0: /* 8019DEA0 0019AE00 88 1F 00 7C */ lbz r0, 0x7c(r31) /* 8019DEA4 0019AE04 28 00 00 00 */ cmplwi r0, 0 /* 8019DEA8 0019AE08 41 82 00 60 */ beq lbl_8019DF08 /* 8019DEAC 0019AE0C 2C 1E 00 01 */ cmpwi r30, 1 /* 8019DEB0 0019AE10 40 80 00 58 */ bge lbl_8019DF08 /* 8019DEB4 0019AE14 80 1F 00 80 */ lwz r0, 0x80(r31) /* 8019DEB8 0019AE18 38 61 00 08 */ addi r3, r1, 8 /* 8019DEBC 0019AE1C 3B DE 00 01 */ addi r30, r30, 1 /* 8019DEC0 0019AE20 90 01 00 44 */ stw r0, 0x44(r1) /* 8019DEC4 0019AE24 80 1F 00 84 */ lwz r0, 0x84(r31) /* 8019DEC8 0019AE28 90 01 00 48 */ stw r0, 0x48(r1) /* 8019DECC 0019AE2C 80 1F 00 88 */ lwz r0, 0x88(r31) /* 8019DED0 0019AE30 90 01 00 4C */ stw r0, 0x4c(r1) /* 8019DED4 0019AE34 80 1F 00 8C */ lwz r0, 0x8c(r31) /* 8019DED8 0019AE38 90 01 00 50 */ stw r0, 0x50(r1) /* 8019DEDC 0019AE3C 80 1F 00 90 */ lwz r0, 0x90(r31) /* 8019DEE0 0019AE40 90 01 00 54 */ stw r0, 0x54(r1) /* 8019DEE4 0019AE44 80 1F 00 94 */ lwz r0, 0x94(r31) /* 8019DEE8 0019AE48 90 01 00 58 */ stw r0, 0x58(r1) /* 8019DEEC 0019AE4C 80 1F 00 98 */ lwz r0, 0x98(r31) /* 8019DEF0 0019AE50 90 01 00 5C */ stw r0, 0x5c(r1) /* 8019DEF4 0019AE54 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 8019DEF8 0019AE58 90 01 00 60 */ stw r0, 0x60(r1) /* 8019DEFC 0019AE5C 80 1F 00 A0 */ lwz r0, 0xa0(r31) /* 8019DF00 0019AE60 90 01 00 64 */ stw r0, 0x64(r1) /* 8019DF04 0019AE64 48 14 A1 61 */ bl PrepareDelayCallback__11CSfxManagerFRC13SND_AUX_DELAY lbl_8019DF08: /* 8019DF08 0019AE68 2C 1E 00 00 */ cmpwi r30, 0 /* 8019DF0C 0019AE6C 40 81 00 10 */ ble lbl_8019DF1C /* 8019DF10 0019AE70 80 1F 00 34 */ lwz r0, 0x34(r31) /* 8019DF14 0019AE74 7C 03 07 34 */ extsh r3, r0 /* 8019DF18 0019AE78 48 1A C8 F5 */ bl SetVolumeScale__9CAudioSysFs lbl_8019DF1C: /* 8019DF1C 0019AE7C 80 1F 00 04 */ lwz r0, 4(r31) /* 8019DF20 0019AE80 90 0D A4 88 */ stw r0, lbl_805A9048@sda21(r13) lbl_8019DF24: /* 8019DF24 0019AE84 80 01 04 44 */ lwz r0, 0x444(r1) /* 8019DF28 0019AE88 83 E1 04 3C */ lwz r31, 0x43c(r1) /* 8019DF2C 0019AE8C 83 C1 04 38 */ lwz r30, 0x438(r1) /* 8019DF30 0019AE90 7C 08 03 A6 */ mtlr r0 /* 8019DF34 0019AE94 38 21 04 40 */ addi r1, r1, 0x440 /* 8019DF38 0019AE98 4E 80 00 20 */ blr .global Think__20CScriptRoomAcousticsFfR13CStateManager Think__20CScriptRoomAcousticsFfR13CStateManager: /* 8019DF3C 0019AE9C 88 03 00 30 */ lbz r0, 0x30(r3) /* 8019DF40 0019AEA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8019DF44 0019AEA4 4E 80 00 20 */ blr .global AcceptScriptMsg__20CScriptRoomAcousticsF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__20CScriptRoomAcousticsF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8019DF48 0019AEA8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8019DF4C 0019AEAC 7C 08 02 A6 */ mflr r0 /* 8019DF50 0019AEB0 90 01 00 24 */ stw r0, 0x24(r1) /* 8019DF54 0019AEB4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8019DF58 0019AEB8 7C 9F 23 78 */ mr r31, r4 /* 8019DF5C 0019AEBC 93 C1 00 18 */ stw r30, 0x18(r1) /* 8019DF60 0019AEC0 7C 7E 1B 78 */ mr r30, r3 /* 8019DF64 0019AEC4 A0 05 00 00 */ lhz r0, 0(r5) /* 8019DF68 0019AEC8 38 A1 00 08 */ addi r5, r1, 8 /* 8019DF6C 0019AECC B0 01 00 08 */ sth r0, 8(r1) /* 8019DF70 0019AED0 4B EB 31 ED */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8019DF74 0019AED4 2C 1F 00 04 */ cmpwi r31, 4 /* 8019DF78 0019AED8 41 82 00 20 */ beq lbl_8019DF98 /* 8019DF7C 0019AEDC 40 80 00 40 */ bge lbl_8019DFBC /* 8019DF80 0019AEE0 2C 1F 00 01 */ cmpwi r31, 1 /* 8019DF84 0019AEE4 41 82 00 08 */ beq lbl_8019DF8C /* 8019DF88 0019AEE8 48 00 00 34 */ b lbl_8019DFBC lbl_8019DF8C: /* 8019DF8C 0019AEEC 7F C3 F3 78 */ mr r3, r30 /* 8019DF90 0019AEF0 4B FF FE 05 */ bl EnableAuxCallbacks__20CScriptRoomAcousticsFv /* 8019DF94 0019AEF4 48 00 00 28 */ b lbl_8019DFBC lbl_8019DF98: /* 8019DF98 0019AEF8 80 6D A4 88 */ lwz r3, lbl_805A9048@sda21(r13) /* 8019DF9C 0019AEFC 80 1E 00 04 */ lwz r0, 4(r30) /* 8019DFA0 0019AF00 7C 03 00 00 */ cmpw r3, r0 /* 8019DFA4 0019AF04 40 82 00 18 */ bne lbl_8019DFBC /* 8019DFA8 0019AF08 48 14 A4 91 */ bl DisableAuxProcessing__11CSfxManagerFv /* 8019DFAC 0019AF0C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 8019DFB0 0019AF10 90 0D A4 88 */ stw r0, lbl_805A9048@sda21(r13) /* 8019DFB4 0019AF14 48 1A C8 49 */ bl GetDefaultVolumeScale__9CAudioSysFv /* 8019DFB8 0019AF18 48 1A C8 55 */ bl SetVolumeScale__9CAudioSysFs lbl_8019DFBC: /* 8019DFBC 0019AF1C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019DFC0 0019AF20 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019DFC4 0019AF24 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8019DFC8 0019AF28 7C 08 03 A6 */ mtlr r0 /* 8019DFCC 0019AF2C 38 21 00 20 */ addi r1, r1, 0x20 /* 8019DFD0 0019AF30 4E 80 00 20 */ blr .global Accept__20CScriptRoomAcousticsFR8IVisitor Accept__20CScriptRoomAcousticsFR8IVisitor: /* 8019DFD4 0019AF34 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019DFD8 0019AF38 7C 08 02 A6 */ mflr r0 /* 8019DFDC 0019AF3C 90 01 00 14 */ stw r0, 0x14(r1) /* 8019DFE0 0019AF40 7C 60 1B 78 */ mr r0, r3 /* 8019DFE4 0019AF44 7C 83 23 78 */ mr r3, r4 /* 8019DFE8 0019AF48 81 84 00 00 */ lwz r12, 0(r4) /* 8019DFEC 0019AF4C 7C 04 03 78 */ mr r4, r0 /* 8019DFF0 0019AF50 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 8019DFF4 0019AF54 7D 89 03 A6 */ mtctr r12 /* 8019DFF8 0019AF58 4E 80 04 21 */ bctrl /* 8019DFFC 0019AF5C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019E000 0019AF60 7C 08 03 A6 */ mtlr r0 /* 8019E004 0019AF64 38 21 00 10 */ addi r1, r1, 0x10 /* 8019E008 0019AF68 4E 80 00 20 */ blr .global "__ct__20CScriptRoomAcousticsF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbbfffffffbfffbbfffffbiiiiiiiii" "__ct__20CScriptRoomAcousticsF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbbfffffffbfffbbfffffbiiiiiiiii": /* 8019E00C 0019AF6C 94 21 FE C0 */ stwu r1, -0x140(r1) /* 8019E010 0019AF70 7C 08 02 A6 */ mflr r0 /* 8019E014 0019AF74 90 01 01 44 */ stw r0, 0x144(r1) /* 8019E018 0019AF78 DB E1 01 30 */ stfd f31, 0x130(r1) /* 8019E01C 0019AF7C F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 8019E020 0019AF80 DB C1 01 20 */ stfd f30, 0x120(r1) /* 8019E024 0019AF84 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 /* 8019E028 0019AF88 DB A1 01 10 */ stfd f29, 0x110(r1) /* 8019E02C 0019AF8C F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 /* 8019E030 0019AF90 DB 81 01 00 */ stfd f28, 0x100(r1) /* 8019E034 0019AF94 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 /* 8019E038 0019AF98 DB 61 00 F0 */ stfd f27, 0xf0(r1) /* 8019E03C 0019AF9C F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 /* 8019E040 0019AFA0 DB 41 00 E0 */ stfd f26, 0xe0(r1) /* 8019E044 0019AFA4 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 /* 8019E048 0019AFA8 DB 21 00 D0 */ stfd f25, 0xd0(r1) /* 8019E04C 0019AFAC F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 /* 8019E050 0019AFB0 DB 01 00 C0 */ stfd f24, 0xc0(r1) /* 8019E054 0019AFB4 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 /* 8019E058 0019AFB8 DA E1 00 B0 */ stfd f23, 0xb0(r1) /* 8019E05C 0019AFBC F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0 /* 8019E060 0019AFC0 DA C1 00 A0 */ stfd f22, 0xa0(r1) /* 8019E064 0019AFC4 F2 C1 00 A8 */ psq_st f22, 168(r1), 0, qr0 /* 8019E068 0019AFC8 DA A1 00 90 */ stfd f21, 0x90(r1) /* 8019E06C 0019AFCC F2 A1 00 98 */ psq_st f21, 152(r1), 0, qr0 /* 8019E070 0019AFD0 DA 81 00 80 */ stfd f20, 0x80(r1) /* 8019E074 0019AFD4 F2 81 00 88 */ psq_st f20, 136(r1), 0, qr0 /* 8019E078 0019AFD8 DA 61 00 70 */ stfd f19, 0x70(r1) /* 8019E07C 0019AFDC F2 61 00 78 */ psq_st f19, 120(r1), 0, qr0 /* 8019E080 0019AFE0 DA 41 00 60 */ stfd f18, 0x60(r1) /* 8019E084 0019AFE4 F2 41 00 68 */ psq_st f18, 104(r1), 0, qr0 /* 8019E088 0019AFE8 BD E1 00 1C */ stmw r15, 0x1c(r1) /* 8019E08C 0019AFEC A0 04 00 00 */ lhz r0, 0(r4) /* 8019E090 0019AFF0 7C A4 2B 78 */ mr r4, r5 /* 8019E094 0019AFF4 FE 40 08 90 */ fmr f18, f1 /* 8019E098 0019AFF8 7C C5 33 78 */ mr r5, r6 /* 8019E09C 0019AFFC FE 60 10 90 */ fmr f19, f2 /* 8019E0A0 0019B000 B0 01 00 08 */ sth r0, 8(r1) /* 8019E0A4 0019B004 7C E6 3B 78 */ mr r6, r7 /* 8019E0A8 0019B008 7C 87 23 78 */ mr r7, r4 /* 8019E0AC 0019B00C FE 80 18 90 */ fmr f20, f3 /* 8019E0B0 0019B010 8B A1 01 4B */ lbz r29, 0x14b(r1) /* 8019E0B4 0019B014 FE A0 20 90 */ fmr f21, f4 /* 8019E0B8 0019B018 C3 41 01 4C */ lfs f26, 0x14c(r1) /* 8019E0BC 0019B01C FE C0 28 90 */ fmr f22, f5 /* 8019E0C0 0019B020 8B C1 01 53 */ lbz r30, 0x153(r1) /* 8019E0C4 0019B024 FE E0 30 90 */ fmr f23, f6 /* 8019E0C8 0019B028 8B E1 01 57 */ lbz r31, 0x157(r1) /* 8019E0CC 0019B02C FF 00 38 90 */ fmr f24, f7 /* 8019E0D0 0019B030 C3 61 01 58 */ lfs f27, 0x158(r1) /* 8019E0D4 0019B034 FF 20 40 90 */ fmr f25, f8 /* 8019E0D8 0019B038 C3 81 01 5C */ lfs f28, 0x15c(r1) /* 8019E0DC 0019B03C C3 A1 01 60 */ lfs f29, 0x160(r1) /* 8019E0E0 0019B040 7C 79 1B 78 */ mr r25, r3 /* 8019E0E4 0019B044 C3 C1 01 64 */ lfs f30, 0x164(r1) /* 8019E0E8 0019B048 7D 1A 43 78 */ mr r26, r8 /* 8019E0EC 0019B04C C3 E1 01 68 */ lfs f31, 0x168(r1) /* 8019E0F0 0019B050 7D 3B 4B 78 */ mr r27, r9 /* 8019E0F4 0019B054 8A 01 01 6F */ lbz r16, 0x16f(r1) /* 8019E0F8 0019B058 7D 5C 53 78 */ mr r28, r10 /* 8019E0FC 0019B05C 82 21 01 70 */ lwz r17, 0x170(r1) /* 8019E100 0019B060 38 81 00 08 */ addi r4, r1, 8 /* 8019E104 0019B064 82 41 01 74 */ lwz r18, 0x174(r1) /* 8019E108 0019B068 82 61 01 78 */ lwz r19, 0x178(r1) /* 8019E10C 0019B06C 82 81 01 7C */ lwz r20, 0x17c(r1) /* 8019E110 0019B070 82 A1 01 80 */ lwz r21, 0x180(r1) /* 8019E114 0019B074 82 C1 01 84 */ lwz r22, 0x184(r1) /* 8019E118 0019B078 82 E1 01 88 */ lwz r23, 0x188(r1) /* 8019E11C 0019B07C 83 01 01 8C */ lwz r24, 0x18c(r1) /* 8019E120 0019B080 81 E1 01 90 */ lwz r15, 0x190(r1) /* 8019E124 0019B084 4B EB 32 01 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019E128 0019B088 3C 80 80 3E */ lis r4, lbl_803E4708@ha /* 8019E12C 0019B08C 7F 23 CB 78 */ mr r3, r25 /* 8019E130 0019B090 38 04 47 08 */ addi r0, r4, lbl_803E4708@l /* 8019E134 0019B094 90 19 00 00 */ stw r0, 0(r25) /* 8019E138 0019B098 93 59 00 34 */ stw r26, 0x34(r25) /* 8019E13C 0019B09C 9B 79 00 38 */ stb r27, 0x38(r25) /* 8019E140 0019B0A0 9B 99 00 39 */ stb r28, 0x39(r25) /* 8019E144 0019B0A4 D2 59 00 3C */ stfs f18, 0x3c(r25) /* 8019E148 0019B0A8 D2 79 00 40 */ stfs f19, 0x40(r25) /* 8019E14C 0019B0AC D2 99 00 44 */ stfs f20, 0x44(r25) /* 8019E150 0019B0B0 D2 B9 00 48 */ stfs f21, 0x48(r25) /* 8019E154 0019B0B4 D2 D9 00 4C */ stfs f22, 0x4c(r25) /* 8019E158 0019B0B8 D2 F9 00 50 */ stfs f23, 0x50(r25) /* 8019E15C 0019B0BC 9B B9 00 54 */ stb r29, 0x54(r25) /* 8019E160 0019B0C0 D3 19 00 58 */ stfs f24, 0x58(r25) /* 8019E164 0019B0C4 D3 39 00 5C */ stfs f25, 0x5c(r25) /* 8019E168 0019B0C8 D3 59 00 60 */ stfs f26, 0x60(r25) /* 8019E16C 0019B0CC 9B D9 00 64 */ stb r30, 0x64(r25) /* 8019E170 0019B0D0 9B F9 00 65 */ stb r31, 0x65(r25) /* 8019E174 0019B0D4 D3 79 00 68 */ stfs f27, 0x68(r25) /* 8019E178 0019B0D8 D3 99 00 6C */ stfs f28, 0x6c(r25) /* 8019E17C 0019B0DC D3 B9 00 70 */ stfs f29, 0x70(r25) /* 8019E180 0019B0E0 D3 D9 00 74 */ stfs f30, 0x74(r25) /* 8019E184 0019B0E4 D3 F9 00 78 */ stfs f31, 0x78(r25) /* 8019E188 0019B0E8 9A 19 00 7C */ stb r16, 0x7c(r25) /* 8019E18C 0019B0EC 92 39 00 80 */ stw r17, 0x80(r25) /* 8019E190 0019B0F0 92 59 00 84 */ stw r18, 0x84(r25) /* 8019E194 0019B0F4 92 79 00 88 */ stw r19, 0x88(r25) /* 8019E198 0019B0F8 92 99 00 8C */ stw r20, 0x8c(r25) /* 8019E19C 0019B0FC 92 B9 00 90 */ stw r21, 0x90(r25) /* 8019E1A0 0019B100 92 D9 00 94 */ stw r22, 0x94(r25) /* 8019E1A4 0019B104 92 F9 00 98 */ stw r23, 0x98(r25) /* 8019E1A8 0019B108 93 19 00 9C */ stw r24, 0x9c(r25) /* 8019E1AC 0019B10C 91 F9 00 A0 */ stw r15, 0xa0(r25) /* 8019E1B0 0019B110 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 8019E1B4 0019B114 CB E1 01 30 */ lfd f31, 0x130(r1) /* 8019E1B8 0019B118 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 /* 8019E1BC 0019B11C CB C1 01 20 */ lfd f30, 0x120(r1) /* 8019E1C0 0019B120 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 /* 8019E1C4 0019B124 CB A1 01 10 */ lfd f29, 0x110(r1) /* 8019E1C8 0019B128 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 /* 8019E1CC 0019B12C CB 81 01 00 */ lfd f28, 0x100(r1) /* 8019E1D0 0019B130 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 /* 8019E1D4 0019B134 CB 61 00 F0 */ lfd f27, 0xf0(r1) /* 8019E1D8 0019B138 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 /* 8019E1DC 0019B13C CB 41 00 E0 */ lfd f26, 0xe0(r1) /* 8019E1E0 0019B140 E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 /* 8019E1E4 0019B144 CB 21 00 D0 */ lfd f25, 0xd0(r1) /* 8019E1E8 0019B148 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 /* 8019E1EC 0019B14C CB 01 00 C0 */ lfd f24, 0xc0(r1) /* 8019E1F0 0019B150 E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0 /* 8019E1F4 0019B154 CA E1 00 B0 */ lfd f23, 0xb0(r1) /* 8019E1F8 0019B158 E2 C1 00 A8 */ psq_l f22, 168(r1), 0, qr0 /* 8019E1FC 0019B15C CA C1 00 A0 */ lfd f22, 0xa0(r1) /* 8019E200 0019B160 E2 A1 00 98 */ psq_l f21, 152(r1), 0, qr0 /* 8019E204 0019B164 CA A1 00 90 */ lfd f21, 0x90(r1) /* 8019E208 0019B168 E2 81 00 88 */ psq_l f20, 136(r1), 0, qr0 /* 8019E20C 0019B16C CA 81 00 80 */ lfd f20, 0x80(r1) /* 8019E210 0019B170 E2 61 00 78 */ psq_l f19, 120(r1), 0, qr0 /* 8019E214 0019B174 CA 61 00 70 */ lfd f19, 0x70(r1) /* 8019E218 0019B178 E2 41 00 68 */ psq_l f18, 104(r1), 0, qr0 /* 8019E21C 0019B17C CA 41 00 60 */ lfd f18, 0x60(r1) /* 8019E220 0019B180 B9 E1 00 1C */ lmw r15, 0x1c(r1) /* 8019E224 0019B184 80 01 01 44 */ lwz r0, 0x144(r1) /* 8019E228 0019B188 7C 08 03 A6 */ mtlr r0 /* 8019E22C 0019B18C 38 21 01 40 */ addi r1, r1, 0x140 /* 8019E230 0019B190 4E 80 00 20 */ blr .global __sinit_CScriptRoomAcoustics_cpp __sinit_CScriptRoomAcoustics_cpp: /* 8019E234 0019B194 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 8019E238 0019B198 90 0D A4 88 */ stw r0, lbl_805A9048@sda21(r13) /* 8019E23C 0019B19C 4E 80 00 20 */ blr .global GetSearchPath__12CIceSheegothFv GetSearchPath__12CIceSheegothFv: /* 8019E240 0019B1A0 80 03 09 28 */ lwz r0, 0x928(r3) /* 8019E244 0019B1A4 2C 00 00 00 */ cmpwi r0, 0 /* 8019E248 0019B1A8 40 82 00 0C */ bne lbl_8019E254 /* 8019E24C 0019B1AC 38 63 07 60 */ addi r3, r3, 0x760 /* 8019E250 0019B1B0 4E 80 00 20 */ blr lbl_8019E254: /* 8019E254 0019B1B4 38 63 08 44 */ addi r3, r3, 0x844 /* 8019E258 0019B1B8 4E 80 00 20 */ blr .global GetCollisionPrimitive__12CIceSheegothCFv GetCollisionPrimitive__12CIceSheegothCFv: /* 8019E25C 0019B1BC 38 63 0A 30 */ addi r3, r3, 0xa30 /* 8019E260 0019B1C0 4E 80 00 20 */ blr .global GetGravityConstant__12CIceSheegothCFv GetGravityConstant__12CIceSheegothCFv: /* 8019E264 0019B1C4 C0 22 A7 50 */ lfs f1, lbl_805AC470@sda21(r2) /* 8019E268 0019B1C8 C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) /* 8019E26C 0019B1CC EC 21 00 32 */ fmuls f1, f1, f0 /* 8019E270 0019B1D0 4E 80 00 20 */ blr .global GetSortingBounds__12CIceSheegothCFRC12CTransform4f GetSortingBounds__12CIceSheegothCFRC12CTransform4f: /* 8019E274 0019B1D4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8019E278 0019B1D8 7C 08 02 A6 */ mflr r0 /* 8019E27C 0019B1DC 90 01 00 74 */ stw r0, 0x74(r1) /* 8019E280 0019B1E0 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8019E284 0019B1E4 7C 7F 1B 78 */ mr r31, r3 /* 8019E288 0019B1E8 38 61 00 2C */ addi r3, r1, 0x2c /* 8019E28C 0019B1EC 4B EB 53 55 */ bl GetSortingBounds__6CActorCFRC12CTransform4f /* 8019E290 0019B1F0 C0 A1 00 2C */ lfs f5, 0x2c(r1) /* 8019E294 0019B1F4 38 61 00 20 */ addi r3, r1, 0x20 /* 8019E298 0019B1F8 C0 81 00 30 */ lfs f4, 0x30(r1) /* 8019E29C 0019B1FC 38 81 00 44 */ addi r4, r1, 0x44 /* 8019E2A0 0019B200 C0 61 00 34 */ lfs f3, 0x34(r1) /* 8019E2A4 0019B204 C0 41 00 38 */ lfs f2, 0x38(r1) /* 8019E2A8 0019B208 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 8019E2AC 0019B20C C0 01 00 40 */ lfs f0, 0x40(r1) /* 8019E2B0 0019B210 D0 A1 00 44 */ stfs f5, 0x44(r1) /* 8019E2B4 0019B214 D0 81 00 48 */ stfs f4, 0x48(r1) /* 8019E2B8 0019B218 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 8019E2BC 0019B21C D0 41 00 50 */ stfs f2, 0x50(r1) /* 8019E2C0 0019B220 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8019E2C4 0019B224 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8019E2C8 0019B228 48 19 93 45 */ bl GetCenterPoint__6CAABoxCFv /* 8019E2CC 0019B22C C0 61 00 50 */ lfs f3, 0x50(r1) /* 8019E2D0 0019B230 7F E3 FB 78 */ mr r3, r31 /* 8019E2D4 0019B234 C0 41 00 44 */ lfs f2, 0x44(r1) /* 8019E2D8 0019B238 38 81 00 14 */ addi r4, r1, 0x14 /* 8019E2DC 0019B23C C0 21 00 54 */ lfs f1, 0x54(r1) /* 8019E2E0 0019B240 38 A1 00 08 */ addi r5, r1, 8 /* 8019E2E4 0019B244 C0 01 00 48 */ lfs f0, 0x48(r1) /* 8019E2E8 0019B248 EC 63 10 28 */ fsubs f3, f3, f2 /* 8019E2EC 0019B24C C0 82 A7 54 */ lfs f4, lbl_805AC474@sda21(r2) /* 8019E2F0 0019B250 EC 41 00 28 */ fsubs f2, f1, f0 /* 8019E2F4 0019B254 C0 21 00 58 */ lfs f1, 0x58(r1) /* 8019E2F8 0019B258 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 8019E2FC 0019B25C EC 64 00 F2 */ fmuls f3, f4, f3 /* 8019E300 0019B260 C1 01 00 20 */ lfs f8, 0x20(r1) /* 8019E304 0019B264 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019E308 0019B268 EC 28 18 2A */ fadds f1, f8, f3 /* 8019E30C 0019B26C C0 C1 00 24 */ lfs f6, 0x24(r1) /* 8019E310 0019B270 EC A4 00 B2 */ fmuls f5, f4, f2 /* 8019E314 0019B274 C0 E1 00 28 */ lfs f7, 0x28(r1) /* 8019E318 0019B278 EC 84 00 32 */ fmuls f4, f4, f0 /* 8019E31C 0019B27C EC 08 18 28 */ fsubs f0, f8, f3 /* 8019E320 0019B280 EC 66 28 2A */ fadds f3, f6, f5 /* 8019E324 0019B284 D0 21 00 08 */ stfs f1, 8(r1) /* 8019E328 0019B288 EC 47 20 2A */ fadds f2, f7, f4 /* 8019E32C 0019B28C EC 26 28 28 */ fsubs f1, f6, f5 /* 8019E330 0019B290 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8019E334 0019B294 EC 07 20 28 */ fsubs f0, f7, f4 /* 8019E338 0019B298 D0 61 00 0C */ stfs f3, 0xc(r1) /* 8019E33C 0019B29C D0 41 00 10 */ stfs f2, 0x10(r1) /* 8019E340 0019B2A0 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8019E344 0019B2A4 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8019E348 0019B2A8 48 19 A1 C1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8019E34C 0019B2AC 80 01 00 74 */ lwz r0, 0x74(r1) /* 8019E350 0019B2B0 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8019E354 0019B2B4 7C 08 03 A6 */ mtlr r0 /* 8019E358 0019B2B8 38 21 00 70 */ addi r1, r1, 0x70 /* 8019E35C 0019B2BC 4E 80 00 20 */ blr .global sub_8019e360 sub_8019e360: /* 8019E360 0019B2C0 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 8019E364 0019B2C4 7C 08 02 A6 */ mflr r0 /* 8019E368 0019B2C8 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 8019E36C 0019B2CC DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 8019E370 0019B2D0 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 8019E374 0019B2D4 DB C1 01 90 */ stfd f30, 0x190(r1) /* 8019E378 0019B2D8 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 8019E37C 0019B2DC DB A1 01 80 */ stfd f29, 0x180(r1) /* 8019E380 0019B2E0 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 8019E384 0019B2E4 DB 81 01 70 */ stfd f28, 0x170(r1) /* 8019E388 0019B2E8 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 8019E38C 0019B2EC DB 61 01 60 */ stfd f27, 0x160(r1) /* 8019E390 0019B2F0 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 8019E394 0019B2F4 DB 41 01 50 */ stfd f26, 0x150(r1) /* 8019E398 0019B2F8 F3 41 01 58 */ psq_st f26, 344(r1), 0, qr0 /* 8019E39C 0019B2FC BF 61 01 3C */ stmw r27, 0x13c(r1) /* 8019E3A0 0019B300 7C 7E 1B 78 */ mr r30, r3 /* 8019E3A4 0019B304 FF 40 08 90 */ fmr f26, f1 /* 8019E3A8 0019B308 80 A3 04 50 */ lwz r5, 0x450(r3) /* 8019E3AC 0019B30C 7C 9F 23 78 */ mr r31, r4 /* 8019E3B0 0019B310 80 05 02 EC */ lwz r0, 0x2ec(r5) /* 8019E3B4 0019B314 2C 00 00 00 */ cmpwi r0, 0 /* 8019E3B8 0019B318 41 82 02 F4 */ beq lbl_8019E6AC /* 8019E3BC 0019B31C 81 83 00 00 */ lwz r12, 0(r3) /* 8019E3C0 0019B320 81 8C 02 B8 */ lwz r12, 0x2b8(r12) /* 8019E3C4 0019B324 7D 89 03 A6 */ mtctr r12 /* 8019E3C8 0019B328 4E 80 04 21 */ bctrl /* 8019E3CC 0019B32C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8019E3D0 0019B330 41 82 02 DC */ beq lbl_8019E6AC /* 8019E3D4 0019B334 83 BF 08 4C */ lwz r29, 0x84c(r31) /* 8019E3D8 0019B338 80 1D 02 F8 */ lwz r0, 0x2f8(r29) /* 8019E3DC 0019B33C 2C 00 00 01 */ cmpwi r0, 1 /* 8019E3E0 0019B340 41 82 02 CC */ beq lbl_8019E6AC /* 8019E3E4 0019B344 80 9E 00 64 */ lwz r4, 0x64(r30) /* 8019E3E8 0019B348 38 61 00 BC */ addi r3, r1, 0xbc /* 8019E3EC 0019B34C 38 BE 00 34 */ addi r5, r30, 0x34 /* 8019E3F0 0019B350 4B F7 73 C5 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 8019E3F4 0019B354 C0 A1 00 BC */ lfs f5, 0xbc(r1) /* 8019E3F8 0019B358 7F A4 EB 78 */ mr r4, r29 /* 8019E3FC 0019B35C C0 81 00 C0 */ lfs f4, 0xc0(r1) /* 8019E400 0019B360 38 61 00 A4 */ addi r3, r1, 0xa4 /* 8019E404 0019B364 C0 61 00 C4 */ lfs f3, 0xc4(r1) /* 8019E408 0019B368 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 8019E40C 0019B36C C0 21 00 CC */ lfs f1, 0xcc(r1) /* 8019E410 0019B370 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 8019E414 0019B374 D0 A1 00 EC */ stfs f5, 0xec(r1) /* 8019E418 0019B378 D0 81 00 F0 */ stfs f4, 0xf0(r1) /* 8019E41C 0019B37C D0 61 00 F4 */ stfs f3, 0xf4(r1) /* 8019E420 0019B380 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 8019E424 0019B384 D0 21 00 FC */ stfs f1, 0xfc(r1) /* 8019E428 0019B388 D0 01 01 00 */ stfs f0, 0x100(r1) /* 8019E42C 0019B38C 4B F7 C5 01 */ bl GetBoundingBox__13CPhysicsActorCFv /* 8019E430 0019B390 C0 A1 00 A4 */ lfs f5, 0xa4(r1) /* 8019E434 0019B394 38 61 00 EC */ addi r3, r1, 0xec /* 8019E438 0019B398 C0 81 00 A8 */ lfs f4, 0xa8(r1) /* 8019E43C 0019B39C 38 81 00 D4 */ addi r4, r1, 0xd4 /* 8019E440 0019B3A0 C0 61 00 AC */ lfs f3, 0xac(r1) /* 8019E444 0019B3A4 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 8019E448 0019B3A8 C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 8019E44C 0019B3AC C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 8019E450 0019B3B0 D0 A1 00 D4 */ stfs f5, 0xd4(r1) /* 8019E454 0019B3B4 D0 81 00 D8 */ stfs f4, 0xd8(r1) /* 8019E458 0019B3B8 D0 61 00 DC */ stfs f3, 0xdc(r1) /* 8019E45C 0019B3BC D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 8019E460 0019B3C0 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 8019E464 0019B3C4 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 8019E468 0019B3C8 48 19 97 1D */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 8019E46C 0019B3CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8019E470 0019B3D0 41 82 02 3C */ beq lbl_8019E6AC /* 8019E474 0019B3D4 80 DE 00 64 */ lwz r6, 0x64(r30) /* 8019E478 0019B3D8 3C 60 80 5A */ lis r3, skZero3f@ha /* 8019E47C 0019B3DC 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8019E480 0019B3E0 C0 02 A7 58 */ lfs f0, lbl_805AC478@sda21(r2) /* 8019E484 0019B3E4 C0 A6 00 04 */ lfs f5, 4(r6) /* 8019E488 0019B3E8 FC 20 D0 90 */ fmr f1, f26 /* 8019E48C 0019B3EC C0 C6 00 00 */ lfs f6, 0(r6) /* 8019E490 0019B3F0 7F C4 F3 78 */ mr r4, r30 /* 8019E494 0019B3F4 C0 86 00 08 */ lfs f4, 8(r6) /* 8019E498 0019B3F8 EF 80 01 72 */ fmuls f28, f0, f5 /* 8019E49C 0019B3FC C0 65 00 00 */ lfs f3, 0(r5) /* 8019E4A0 0019B400 C0 45 00 04 */ lfs f2, 4(r5) /* 8019E4A4 0019B404 38 61 01 04 */ addi r3, r1, 0x104 /* 8019E4A8 0019B408 C0 05 00 08 */ lfs f0, 8(r5) /* 8019E4AC 0019B40C D0 C1 00 4C */ stfs f6, 0x4c(r1) /* 8019E4B0 0019B410 C3 62 A7 5C */ lfs f27, lbl_805AC47C@sda21(r2) /* 8019E4B4 0019B414 D0 A1 00 50 */ stfs f5, 0x50(r1) /* 8019E4B8 0019B418 D0 81 00 54 */ stfs f4, 0x54(r1) /* 8019E4BC 0019B41C D0 61 00 98 */ stfs f3, 0x98(r1) /* 8019E4C0 0019B420 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 8019E4C4 0019B424 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8019E4C8 0019B428 4B F7 D7 E9 */ bl PredictMotion__13CPhysicsActorCFf /* 8019E4CC 0019B42C 3B 9E 0B 20 */ addi r28, r30, 0xb20 /* 8019E4D0 0019B430 C3 E1 01 04 */ lfs f31, 0x104(r1) /* 8019E4D4 0019B434 C3 C1 01 08 */ lfs f30, 0x108(r1) /* 8019E4D8 0019B438 7F 9B E3 78 */ mr r27, r28 /* 8019E4DC 0019B43C C3 A1 01 0C */ lfs f29, 0x10c(r1) /* 8019E4E0 0019B440 48 00 00 C0 */ b lbl_8019E5A0 lbl_8019E4E4: /* 8019E4E4 0019B444 88 1B 00 00 */ lbz r0, 0(r27) /* 8019E4E8 0019B448 7F E5 FB 78 */ mr r5, r31 /* 8019E4EC 0019B44C 38 61 00 3C */ addi r3, r1, 0x3c /* 8019E4F0 0019B450 38 C1 00 08 */ addi r6, r1, 8 /* 8019E4F4 0019B454 98 01 00 08 */ stb r0, 8(r1) /* 8019E4F8 0019B458 80 9E 0A 2C */ lwz r4, 0xa2c(r30) /* 8019E4FC 0019B45C 48 00 8B 99 */ bl sub_801a7094 /* 8019E500 0019B460 88 01 00 48 */ lbz r0, 0x48(r1) /* 8019E504 0019B464 28 00 00 00 */ cmplwi r0, 0 /* 8019E508 0019B468 98 01 00 94 */ stb r0, 0x94(r1) /* 8019E50C 0019B46C 41 82 00 24 */ beq lbl_8019E530 /* 8019E510 0019B470 34 61 00 88 */ addic. r3, r1, 0x88 /* 8019E514 0019B474 41 82 00 1C */ beq lbl_8019E530 /* 8019E518 0019B478 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 8019E51C 0019B47C D0 03 00 00 */ stfs f0, 0(r3) /* 8019E520 0019B480 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8019E524 0019B484 D0 03 00 04 */ stfs f0, 4(r3) /* 8019E528 0019B488 C0 01 00 44 */ lfs f0, 0x44(r1) /* 8019E52C 0019B48C D0 03 00 08 */ stfs f0, 8(r3) lbl_8019E530: /* 8019E530 0019B490 88 01 00 94 */ lbz r0, 0x94(r1) /* 8019E534 0019B494 38 60 00 00 */ li r3, 0 /* 8019E538 0019B498 98 61 00 48 */ stb r3, 0x48(r1) /* 8019E53C 0019B49C 28 00 00 00 */ cmplwi r0, 0 /* 8019E540 0019B4A0 41 82 00 54 */ beq lbl_8019E594 /* 8019E544 0019B4A4 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 8019E548 0019B4A8 38 61 00 7C */ addi r3, r1, 0x7c /* 8019E54C 0019B4AC C0 21 00 90 */ lfs f1, 0x90(r1) /* 8019E550 0019B4B0 C0 01 00 88 */ lfs f0, 0x88(r1) /* 8019E554 0019B4B4 EC 42 F0 2A */ fadds f2, f2, f30 /* 8019E558 0019B4B8 EC 21 E8 2A */ fadds f1, f1, f29 /* 8019E55C 0019B4BC EC 00 F8 2A */ fadds f0, f0, f31 /* 8019E560 0019B4C0 D0 41 00 80 */ stfs f2, 0x80(r1) /* 8019E564 0019B4C4 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 8019E568 0019B4C8 D0 21 00 84 */ stfs f1, 0x84(r1) /* 8019E56C 0019B4CC 48 17 63 4D */ bl Magnitude__9CVector3fCFv /* 8019E570 0019B4D0 FC 01 D8 40 */ fcmpo cr0, f1, f27 /* 8019E574 0019B4D4 40 81 00 20 */ ble lbl_8019E594 /* 8019E578 0019B4D8 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 8019E57C 0019B4DC FF 60 08 90 */ fmr f27, f1 /* 8019E580 0019B4E0 C0 21 00 80 */ lfs f1, 0x80(r1) /* 8019E584 0019B4E4 C0 01 00 84 */ lfs f0, 0x84(r1) /* 8019E588 0019B4E8 D0 41 00 98 */ stfs f2, 0x98(r1) /* 8019E58C 0019B4EC D0 21 00 9C */ stfs f1, 0x9c(r1) /* 8019E590 0019B4F0 D0 01 00 A0 */ stfs f0, 0xa0(r1) lbl_8019E594: /* 8019E594 0019B4F4 38 00 00 00 */ li r0, 0 /* 8019E598 0019B4F8 3B 7B 00 01 */ addi r27, r27, 1 /* 8019E59C 0019B4FC 98 01 00 94 */ stb r0, 0x94(r1) lbl_8019E5A0: /* 8019E5A0 0019B500 80 1E 0B 1C */ lwz r0, 0xb1c(r30) /* 8019E5A4 0019B504 7C 1C 02 14 */ add r0, r28, r0 /* 8019E5A8 0019B508 7C 1B 00 40 */ cmplw r27, r0 /* 8019E5AC 0019B50C 40 82 FF 38 */ bne lbl_8019E4E4 /* 8019E5B0 0019B510 FC 1B E0 40 */ fcmpo cr0, f27, f28 /* 8019E5B4 0019B514 40 81 00 F8 */ ble lbl_8019E6AC /* 8019E5B8 0019B518 C0 9E 00 40 */ lfs f4, 0x40(r30) /* 8019E5BC 0019B51C EF BB E0 28 */ fsubs f29, f27, f28 /* 8019E5C0 0019B520 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 8019E5C4 0019B524 38 61 00 24 */ addi r3, r1, 0x24 /* 8019E5C8 0019B528 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 8019E5CC 0019B52C 38 81 00 98 */ addi r4, r1, 0x98 /* 8019E5D0 0019B530 C0 5D 00 50 */ lfs f2, 0x50(r29) /* 8019E5D4 0019B534 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 8019E5D8 0019B538 EF E4 00 28 */ fsubs f31, f4, f0 /* 8019E5DC 0019B53C C0 1D 00 60 */ lfs f0, 0x60(r29) /* 8019E5E0 0019B540 EF 83 10 28 */ fsubs f28, f3, f2 /* 8019E5E4 0019B544 EF 61 00 28 */ fsubs f27, f1, f0 /* 8019E5E8 0019B548 48 17 62 69 */ bl AsNormalized__9CVector3fCFv /* 8019E5EC 0019B54C C0 21 00 28 */ lfs f1, 0x28(r1) /* 8019E5F0 0019B550 EC 1C 07 32 */ fmuls f0, f28, f28 /* 8019E5F4 0019B554 C0 61 00 24 */ lfs f3, 0x24(r1) /* 8019E5F8 0019B558 38 61 00 18 */ addi r3, r1, 0x18 /* 8019E5FC 0019B55C EC 5D 00 72 */ fmuls f2, f29, f1 /* 8019E600 0019B560 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 8019E604 0019B564 EC 7D 00 F2 */ fmuls f3, f29, f3 /* 8019E608 0019B568 EC 9D 00 72 */ fmuls f4, f29, f1 /* 8019E60C 0019B56C 38 9E 00 34 */ addi r4, r30, 0x34 /* 8019E610 0019B570 EC 3C 00 B2 */ fmuls f1, f28, f2 /* 8019E614 0019B574 EC 1F 07 FA */ fmadds f0, f31, f31, f0 /* 8019E618 0019B578 D0 61 00 30 */ stfs f3, 0x30(r1) /* 8019E61C 0019B57C 38 A1 00 70 */ addi r5, r1, 0x70 /* 8019E620 0019B580 EC 3F 08 FA */ fmadds f1, f31, f3, f1 /* 8019E624 0019B584 D0 41 00 34 */ stfs f2, 0x34(r1) /* 8019E628 0019B588 EC 1B 06 FA */ fmadds f0, f27, f27, f0 /* 8019E62C 0019B58C D0 81 00 38 */ stfs f4, 0x38(r1) /* 8019E630 0019B590 EC 3B 09 3A */ fmadds f1, f27, f4, f1 /* 8019E634 0019B594 EC 01 00 24 */ fdivs f0, f1, f0 /* 8019E638 0019B598 EC 40 07 F2 */ fmuls f2, f0, f31 /* 8019E63C 0019B59C EC 20 07 32 */ fmuls f1, f0, f28 /* 8019E640 0019B5A0 EC 00 06 F2 */ fmuls f0, f0, f27 /* 8019E644 0019B5A4 D0 41 00 70 */ stfs f2, 0x70(r1) /* 8019E648 0019B5A8 D0 21 00 74 */ stfs f1, 0x74(r1) /* 8019E64C 0019B5AC D0 01 00 78 */ stfs f0, 0x78(r1) /* 8019E650 0019B5B0 48 17 43 D5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8019E654 0019B5B4 C0 61 00 18 */ lfs f3, 0x18(r1) /* 8019E658 0019B5B8 FC 20 D0 90 */ fmr f1, f26 /* 8019E65C 0019B5BC C0 41 00 1C */ lfs f2, 0x1c(r1) /* 8019E660 0019B5C0 7F C4 F3 78 */ mr r4, r30 /* 8019E664 0019B5C4 C0 01 00 20 */ lfs f0, 0x20(r1) /* 8019E668 0019B5C8 38 61 00 0C */ addi r3, r1, 0xc /* 8019E66C 0019B5CC D0 61 00 64 */ stfs f3, 0x64(r1) /* 8019E670 0019B5D0 38 A1 00 64 */ addi r5, r1, 0x64 /* 8019E674 0019B5D4 D0 41 00 68 */ stfs f2, 0x68(r1) /* 8019E678 0019B5D8 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8019E67C 0019B5DC 4B F7 C9 8D */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff /* 8019E680 0019B5E0 C0 41 00 0C */ lfs f2, 0xc(r1) /* 8019E684 0019B5E4 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8019E688 0019B5E8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8019E68C 0019B5EC D0 41 00 58 */ stfs f2, 0x58(r1) /* 8019E690 0019B5F0 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8019E694 0019B5F4 D0 01 00 60 */ stfs f0, 0x60(r1) /* 8019E698 0019B5F8 4B E7 CE 9D */ bl Identity__10CAxisAngleFv /* 8019E69C 0019B5FC 7C 65 1B 78 */ mr r5, r3 /* 8019E6A0 0019B600 7F C3 F3 78 */ mr r3, r30 /* 8019E6A4 0019B604 38 81 00 58 */ addi r4, r1, 0x58 /* 8019E6A8 0019B608 4B F7 DC F1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle lbl_8019E6AC: /* 8019E6AC 0019B60C E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 8019E6B0 0019B610 CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 8019E6B4 0019B614 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 8019E6B8 0019B618 CB C1 01 90 */ lfd f30, 0x190(r1) /* 8019E6BC 0019B61C E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 8019E6C0 0019B620 CB A1 01 80 */ lfd f29, 0x180(r1) /* 8019E6C4 0019B624 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 8019E6C8 0019B628 CB 81 01 70 */ lfd f28, 0x170(r1) /* 8019E6CC 0019B62C E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 8019E6D0 0019B630 CB 61 01 60 */ lfd f27, 0x160(r1) /* 8019E6D4 0019B634 E3 41 01 58 */ psq_l f26, 344(r1), 0, qr0 /* 8019E6D8 0019B638 CB 41 01 50 */ lfd f26, 0x150(r1) /* 8019E6DC 0019B63C BB 61 01 3C */ lmw r27, 0x13c(r1) /* 8019E6E0 0019B640 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 8019E6E4 0019B644 7C 08 03 A6 */ mtlr r0 /* 8019E6E8 0019B648 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 8019E6EC 0019B64C 4E 80 00 20 */ blr .global sub_8019e6f0 sub_8019e6f0: /* 8019E6F0 0019B650 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019E6F4 0019B654 7C 08 02 A6 */ mflr r0 /* 8019E6F8 0019B658 90 01 00 14 */ stw r0, 0x14(r1) /* 8019E6FC 0019B65C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8019E700 0019B660 7C 9F 23 78 */ mr r31, r4 /* 8019E704 0019B664 93 C1 00 08 */ stw r30, 8(r1) /* 8019E708 0019B668 7C 7E 1B 78 */ mr r30, r3 /* 8019E70C 0019B66C 88 03 0B 29 */ lbz r0, 0xb29(r3) /* 8019E710 0019B670 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 8019E714 0019B674 40 82 00 48 */ bne lbl_8019E75C /* 8019E718 0019B678 4B EB 4D B1 */ bl GetScannableObjectInfo__6CActorCFv /* 8019E71C 0019B67C 28 03 00 00 */ cmplwi r3, 0 /* 8019E720 0019B680 41 82 00 3C */ beq lbl_8019E75C /* 8019E724 0019B684 80 BF 08 B8 */ lwz r5, 0x8b8(r31) /* 8019E728 0019B688 80 83 00 00 */ lwz r4, 0(r3) /* 8019E72C 0019B68C 80 65 00 00 */ lwz r3, 0(r5) /* 8019E730 0019B690 4B EF 2F 61 */ bl GetScanTime__12CPlayerStateCFUi /* 8019E734 0019B694 C0 42 A7 60 */ lfs f2, lbl_805AC480@sda21(r2) /* 8019E738 0019B698 C0 02 A7 64 */ lfs f0, lbl_805AC484@sda21(r2) /* 8019E73C 0019B69C EC 22 08 28 */ fsubs f1, f2, f1 /* 8019E740 0019B6A0 FC 20 0A 10 */ fabs f1, f1 /* 8019E744 0019B6A4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019E748 0019B6A8 40 80 00 14 */ bge lbl_8019E75C /* 8019E74C 0019B6AC 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 8019E750 0019B6B0 38 60 00 01 */ li r3, 1 /* 8019E754 0019B6B4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8019E758 0019B6B8 98 1E 0B 29 */ stb r0, 0xb29(r30) lbl_8019E75C: /* 8019E75C 0019B6BC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019E760 0019B6C0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8019E764 0019B6C4 83 C1 00 08 */ lwz r30, 8(r1) /* 8019E768 0019B6C8 7C 08 03 A6 */ mtlr r0 /* 8019E76C 0019B6CC 38 21 00 10 */ addi r1, r1, 0x10 /* 8019E770 0019B6D0 4E 80 00 20 */ blr .global sub_8019e774 sub_8019e774: /* 8019E774 0019B6D4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8019E778 0019B6D8 7C 08 02 A6 */ mflr r0 /* 8019E77C 0019B6DC 90 01 00 74 */ stw r0, 0x74(r1) /* 8019E780 0019B6E0 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8019E784 0019B6E4 93 C1 00 68 */ stw r30, 0x68(r1) /* 8019E788 0019B6E8 7C BE 2B 78 */ mr r30, r5 /* 8019E78C 0019B6EC 93 A1 00 64 */ stw r29, 0x64(r1) /* 8019E790 0019B6F0 7C 9D 23 78 */ mr r29, r4 /* 8019E794 0019B6F4 38 81 00 18 */ addi r4, r1, 0x18 /* 8019E798 0019B6F8 93 81 00 60 */ stw r28, 0x60(r1) /* 8019E79C 0019B6FC 7C 7C 1B 78 */ mr r28, r3 /* 8019E7A0 0019B700 7F A3 EB 78 */ mr r3, r29 /* 8019E7A4 0019B704 A0 05 00 00 */ lhz r0, 0(r5) /* 8019E7A8 0019B708 B0 01 00 18 */ sth r0, 0x18(r1) /* 8019E7AC 0019B70C 4B EA DD F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8019E7B0 0019B710 7C 64 1B 78 */ mr r4, r3 /* 8019E7B4 0019B714 38 61 00 1C */ addi r3, r1, 0x1c /* 8019E7B8 0019B718 4B F0 70 E1 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 8019E7BC 0019B71C 83 E3 00 04 */ lwz r31, 4(r3) /* 8019E7C0 0019B720 28 1F 00 00 */ cmplwi r31, 0 /* 8019E7C4 0019B724 41 82 00 B0 */ beq lbl_8019E874 /* 8019E7C8 0019B728 80 1F 01 2C */ lwz r0, 0x12c(r31) /* 8019E7CC 0019B72C 38 60 00 00 */ li r3, 0 /* 8019E7D0 0019B730 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 8019E7D4 0019B734 38 80 00 01 */ li r4, 1 /* 8019E7D8 0019B738 90 01 00 40 */ stw r0, 0x40(r1) /* 8019E7DC 0019B73C 80 AD 8F F8 */ lwz r5, lbl_805A7BB8@sda21(r13) /* 8019E7E0 0019B740 88 1F 01 30 */ lbz r0, 0x130(r31) /* 8019E7E4 0019B744 98 01 00 44 */ stb r0, 0x44(r1) /* 8019E7E8 0019B748 C0 3F 01 34 */ lfs f1, 0x134(r31) /* 8019E7EC 0019B74C D0 21 00 48 */ stfs f1, 0x48(r1) /* 8019E7F0 0019B750 C0 3F 01 38 */ lfs f1, 0x138(r31) /* 8019E7F4 0019B754 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 8019E7F8 0019B758 C0 3F 01 3C */ lfs f1, 0x13c(r31) /* 8019E7FC 0019B75C D0 21 00 50 */ stfs f1, 0x50(r1) /* 8019E800 0019B760 C0 3F 01 40 */ lfs f1, 0x140(r31) /* 8019E804 0019B764 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8019E808 0019B768 88 1F 01 44 */ lbz r0, 0x144(r31) /* 8019E80C 0019B76C 98 01 00 58 */ stb r0, 0x58(r1) /* 8019E810 0019B770 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8019E814 0019B774 48 1E B6 E1 */ bl __shl2i /* 8019E818 0019B778 39 00 00 00 */ li r8, 0 /* 8019E81C 0019B77C 39 40 00 03 */ li r10, 3 /* 8019E820 0019B780 90 81 00 2C */ stw r4, 0x2c(r1) /* 8019E824 0019B784 3C 80 80 5A */ lis r4, skZero3f@ha /* 8019E828 0019B788 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8019E82C 0019B78C A0 1E 00 00 */ lhz r0, 0(r30) /* 8019E830 0019B790 90 61 00 28 */ stw r3, 0x28(r1) /* 8019E834 0019B794 7F A3 EB 78 */ mr r3, r29 /* 8019E838 0019B798 38 81 00 14 */ addi r4, r1, 0x14 /* 8019E83C 0019B79C 38 A1 00 10 */ addi r5, r1, 0x10 /* 8019E840 0019B7A0 91 01 00 34 */ stw r8, 0x34(r1) /* 8019E844 0019B7A4 38 C1 00 0C */ addi r6, r1, 0xc /* 8019E848 0019B7A8 38 E1 00 40 */ addi r7, r1, 0x40 /* 8019E84C 0019B7AC 91 01 00 30 */ stw r8, 0x30(r1) /* 8019E850 0019B7B0 39 01 00 28 */ addi r8, r1, 0x28 /* 8019E854 0019B7B4 91 41 00 38 */ stw r10, 0x38(r1) /* 8019E858 0019B7B8 A1 7F 00 EC */ lhz r11, 0xec(r31) /* 8019E85C 0019B7BC B1 61 00 0C */ sth r11, 0xc(r1) /* 8019E860 0019B7C0 A1 5C 0A F8 */ lhz r10, 0xaf8(r28) /* 8019E864 0019B7C4 B1 61 00 08 */ sth r11, 8(r1) /* 8019E868 0019B7C8 B1 41 00 10 */ sth r10, 0x10(r1) /* 8019E86C 0019B7CC B0 01 00 14 */ sth r0, 0x14(r1) /* 8019E870 0019B7D0 4B EA B8 31 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_8019E874: /* 8019E874 0019B7D4 80 01 00 74 */ lwz r0, 0x74(r1) /* 8019E878 0019B7D8 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8019E87C 0019B7DC 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8019E880 0019B7E0 83 A1 00 64 */ lwz r29, 0x64(r1) /* 8019E884 0019B7E4 83 81 00 60 */ lwz r28, 0x60(r1) /* 8019E888 0019B7E8 7C 08 03 A6 */ mtlr r0 /* 8019E88C 0019B7EC 38 21 00 70 */ addi r1, r1, 0x70 /* 8019E890 0019B7F0 4E 80 00 20 */ blr .global sub_8019e894 sub_8019e894: /* 8019E894 0019B7F4 94 21 FF 80 */ stwu r1, -0x80(r1) /* 8019E898 0019B7F8 7C 08 02 A6 */ mflr r0 /* 8019E89C 0019B7FC 54 A5 06 3F */ clrlwi. r5, r5, 0x18 /* 8019E8A0 0019B800 90 01 00 84 */ stw r0, 0x84(r1) /* 8019E8A4 0019B804 7C 80 23 78 */ mr r0, r4 /* 8019E8A8 0019B808 41 82 00 0C */ beq lbl_8019E8B4 /* 8019E8AC 0019B80C 38 A3 06 54 */ addi r5, r3, 0x654 /* 8019E8B0 0019B810 48 00 00 08 */ b lbl_8019E8B8 lbl_8019E8B4: /* 8019E8B4 0019B814 38 A3 09 8C */ addi r5, r3, 0x98c lbl_8019E8B8: /* 8019E8B8 0019B818 80 E5 00 00 */ lwz r7, 0(r5) /* 8019E8BC 0019B81C 38 81 00 08 */ addi r4, r1, 8 /* 8019E8C0 0019B820 80 C5 00 04 */ lwz r6, 4(r5) /* 8019E8C4 0019B824 90 E1 00 14 */ stw r7, 0x14(r1) /* 8019E8C8 0019B828 90 C1 00 18 */ stw r6, 0x18(r1) /* 8019E8CC 0019B82C 80 E5 00 08 */ lwz r7, 8(r5) /* 8019E8D0 0019B830 80 C5 00 0C */ lwz r6, 0xc(r5) /* 8019E8D4 0019B834 90 E1 00 1C */ stw r7, 0x1c(r1) /* 8019E8D8 0019B838 90 C1 00 20 */ stw r6, 0x20(r1) /* 8019E8DC 0019B83C 80 E5 00 10 */ lwz r7, 0x10(r5) /* 8019E8E0 0019B840 80 C5 00 14 */ lwz r6, 0x14(r5) /* 8019E8E4 0019B844 90 E1 00 24 */ stw r7, 0x24(r1) /* 8019E8E8 0019B848 90 C1 00 28 */ stw r6, 0x28(r1) /* 8019E8EC 0019B84C 80 E5 00 18 */ lwz r7, 0x18(r5) /* 8019E8F0 0019B850 80 C5 00 1C */ lwz r6, 0x1c(r5) /* 8019E8F4 0019B854 90 E1 00 2C */ stw r7, 0x2c(r1) /* 8019E8F8 0019B858 90 C1 00 30 */ stw r6, 0x30(r1) /* 8019E8FC 0019B85C 80 E5 00 20 */ lwz r7, 0x20(r5) /* 8019E900 0019B860 80 C5 00 24 */ lwz r6, 0x24(r5) /* 8019E904 0019B864 90 E1 00 34 */ stw r7, 0x34(r1) /* 8019E908 0019B868 90 C1 00 38 */ stw r6, 0x38(r1) /* 8019E90C 0019B86C 80 E5 00 28 */ lwz r7, 0x28(r5) /* 8019E910 0019B870 80 C5 00 2C */ lwz r6, 0x2c(r5) /* 8019E914 0019B874 90 E1 00 3C */ stw r7, 0x3c(r1) /* 8019E918 0019B878 90 C1 00 40 */ stw r6, 0x40(r1) /* 8019E91C 0019B87C 80 E5 00 30 */ lwz r7, 0x30(r5) /* 8019E920 0019B880 80 C5 00 34 */ lwz r6, 0x34(r5) /* 8019E924 0019B884 90 E1 00 44 */ stw r7, 0x44(r1) /* 8019E928 0019B888 90 C1 00 48 */ stw r6, 0x48(r1) /* 8019E92C 0019B88C 80 C5 00 38 */ lwz r6, 0x38(r5) /* 8019E930 0019B890 90 C1 00 4C */ stw r6, 0x4c(r1) /* 8019E934 0019B894 80 E5 00 3C */ lwz r7, 0x3c(r5) /* 8019E938 0019B898 80 C5 00 40 */ lwz r6, 0x40(r5) /* 8019E93C 0019B89C 90 E1 00 50 */ stw r7, 0x50(r1) /* 8019E940 0019B8A0 90 C1 00 54 */ stw r6, 0x54(r1) /* 8019E944 0019B8A4 80 E5 00 44 */ lwz r7, 0x44(r5) /* 8019E948 0019B8A8 80 C5 00 48 */ lwz r6, 0x48(r5) /* 8019E94C 0019B8AC 90 E1 00 58 */ stw r7, 0x58(r1) /* 8019E950 0019B8B0 90 C1 00 5C */ stw r6, 0x5c(r1) /* 8019E954 0019B8B4 80 E5 00 4C */ lwz r7, 0x4c(r5) /* 8019E958 0019B8B8 80 C5 00 50 */ lwz r6, 0x50(r5) /* 8019E95C 0019B8BC 90 E1 00 60 */ stw r7, 0x60(r1) /* 8019E960 0019B8C0 90 C1 00 64 */ stw r6, 0x64(r1) /* 8019E964 0019B8C4 80 E5 00 54 */ lwz r7, 0x54(r5) /* 8019E968 0019B8C8 80 C5 00 58 */ lwz r6, 0x58(r5) /* 8019E96C 0019B8CC 90 E1 00 68 */ stw r7, 0x68(r1) /* 8019E970 0019B8D0 90 C1 00 6C */ stw r6, 0x6c(r1) /* 8019E974 0019B8D4 80 C5 00 5C */ lwz r6, 0x5c(r5) /* 8019E978 0019B8D8 90 C1 00 70 */ stw r6, 0x70(r1) /* 8019E97C 0019B8DC 80 C5 00 60 */ lwz r6, 0x60(r5) /* 8019E980 0019B8E0 90 C1 00 74 */ stw r6, 0x74(r1) /* 8019E984 0019B8E4 80 A5 00 64 */ lwz r5, 0x64(r5) /* 8019E988 0019B8E8 90 A1 00 78 */ stw r5, 0x78(r1) /* 8019E98C 0019B8EC A0 A3 0A F8 */ lhz r5, 0xaf8(r3) /* 8019E990 0019B8F0 7C 03 03 78 */ mr r3, r0 /* 8019E994 0019B8F4 B0 A1 00 08 */ sth r5, 8(r1) /* 8019E998 0019B8F8 4B EA DB DD */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019E99C 0019B8FC 7C 64 1B 78 */ mr r4, r3 /* 8019E9A0 0019B900 38 61 00 0C */ addi r3, r1, 0xc /* 8019E9A4 0019B904 4B F1 09 A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019E9A8 0019B908 80 63 00 04 */ lwz r3, 4(r3) /* 8019E9AC 0019B90C 28 03 00 00 */ cmplwi r3, 0 /* 8019E9B0 0019B910 41 82 00 0C */ beq lbl_8019E9BC /* 8019E9B4 0019B914 38 81 00 14 */ addi r4, r1, 0x14 /* 8019E9B8 0019B918 48 00 A1 E1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8019E9BC: /* 8019E9BC 0019B91C 80 01 00 84 */ lwz r0, 0x84(r1) /* 8019E9C0 0019B920 7C 08 03 A6 */ mtlr r0 /* 8019E9C4 0019B924 38 21 00 80 */ addi r1, r1, 0x80 /* 8019E9C8 0019B928 4E 80 00 20 */ blr .global sub_8019e9cc sub_8019e9cc: /* 8019E9CC 0019B92C 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8019E9D0 0019B930 7C 08 02 A6 */ mflr r0 /* 8019E9D4 0019B934 90 01 00 94 */ stw r0, 0x94(r1) /* 8019E9D8 0019B938 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 8019E9DC 0019B93C 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8019E9E0 0019B940 93 C1 00 88 */ stw r30, 0x88(r1) /* 8019E9E4 0019B944 93 A1 00 84 */ stw r29, 0x84(r1) /* 8019E9E8 0019B948 7C 9D 23 78 */ mr r29, r4 /* 8019E9EC 0019B94C 93 81 00 80 */ stw r28, 0x80(r1) /* 8019E9F0 0019B950 7C 7C 1B 78 */ mr r28, r3 /* 8019E9F4 0019B954 41 82 00 0C */ beq lbl_8019EA00 /* 8019E9F8 0019B958 38 7C 05 84 */ addi r3, r28, 0x584 /* 8019E9FC 0019B95C 48 00 00 0C */ b lbl_8019EA08 lbl_8019EA00: /* 8019EA00 0019B960 3C 60 80 57 */ lis r3, lbl_8056D718@ha /* 8019EA04 0019B964 38 63 D7 18 */ addi r3, r3, lbl_8056D718@l lbl_8019EA08: /* 8019EA08 0019B968 80 83 00 00 */ lwz r4, 0(r3) /* 8019EA0C 0019B96C 3B FC 0B 00 */ addi r31, r28, 0xb00 /* 8019EA10 0019B970 80 03 00 04 */ lwz r0, 4(r3) /* 8019EA14 0019B974 7F FE FB 78 */ mr r30, r31 /* 8019EA18 0019B978 90 81 00 14 */ stw r4, 0x14(r1) /* 8019EA1C 0019B97C 90 01 00 18 */ stw r0, 0x18(r1) /* 8019EA20 0019B980 80 83 00 08 */ lwz r4, 8(r3) /* 8019EA24 0019B984 80 03 00 0C */ lwz r0, 0xc(r3) /* 8019EA28 0019B988 90 81 00 1C */ stw r4, 0x1c(r1) /* 8019EA2C 0019B98C 90 01 00 20 */ stw r0, 0x20(r1) /* 8019EA30 0019B990 80 83 00 10 */ lwz r4, 0x10(r3) /* 8019EA34 0019B994 80 03 00 14 */ lwz r0, 0x14(r3) /* 8019EA38 0019B998 90 81 00 24 */ stw r4, 0x24(r1) /* 8019EA3C 0019B99C 90 01 00 28 */ stw r0, 0x28(r1) /* 8019EA40 0019B9A0 80 83 00 18 */ lwz r4, 0x18(r3) /* 8019EA44 0019B9A4 80 03 00 1C */ lwz r0, 0x1c(r3) /* 8019EA48 0019B9A8 90 81 00 2C */ stw r4, 0x2c(r1) /* 8019EA4C 0019B9AC 90 01 00 30 */ stw r0, 0x30(r1) /* 8019EA50 0019B9B0 80 83 00 20 */ lwz r4, 0x20(r3) /* 8019EA54 0019B9B4 80 03 00 24 */ lwz r0, 0x24(r3) /* 8019EA58 0019B9B8 90 81 00 34 */ stw r4, 0x34(r1) /* 8019EA5C 0019B9BC 90 01 00 38 */ stw r0, 0x38(r1) /* 8019EA60 0019B9C0 80 83 00 28 */ lwz r4, 0x28(r3) /* 8019EA64 0019B9C4 80 03 00 2C */ lwz r0, 0x2c(r3) /* 8019EA68 0019B9C8 90 81 00 3C */ stw r4, 0x3c(r1) /* 8019EA6C 0019B9CC 90 01 00 40 */ stw r0, 0x40(r1) /* 8019EA70 0019B9D0 80 83 00 30 */ lwz r4, 0x30(r3) /* 8019EA74 0019B9D4 80 03 00 34 */ lwz r0, 0x34(r3) /* 8019EA78 0019B9D8 90 81 00 44 */ stw r4, 0x44(r1) /* 8019EA7C 0019B9DC 90 01 00 48 */ stw r0, 0x48(r1) /* 8019EA80 0019B9E0 80 03 00 38 */ lwz r0, 0x38(r3) /* 8019EA84 0019B9E4 90 01 00 4C */ stw r0, 0x4c(r1) /* 8019EA88 0019B9E8 80 83 00 3C */ lwz r4, 0x3c(r3) /* 8019EA8C 0019B9EC 80 03 00 40 */ lwz r0, 0x40(r3) /* 8019EA90 0019B9F0 90 81 00 50 */ stw r4, 0x50(r1) /* 8019EA94 0019B9F4 90 01 00 54 */ stw r0, 0x54(r1) /* 8019EA98 0019B9F8 80 83 00 44 */ lwz r4, 0x44(r3) /* 8019EA9C 0019B9FC 80 03 00 48 */ lwz r0, 0x48(r3) /* 8019EAA0 0019BA00 90 81 00 58 */ stw r4, 0x58(r1) /* 8019EAA4 0019BA04 90 01 00 5C */ stw r0, 0x5c(r1) /* 8019EAA8 0019BA08 80 83 00 4C */ lwz r4, 0x4c(r3) /* 8019EAAC 0019BA0C 80 03 00 50 */ lwz r0, 0x50(r3) /* 8019EAB0 0019BA10 90 81 00 60 */ stw r4, 0x60(r1) /* 8019EAB4 0019BA14 90 01 00 64 */ stw r0, 0x64(r1) /* 8019EAB8 0019BA18 80 83 00 54 */ lwz r4, 0x54(r3) /* 8019EABC 0019BA1C 80 03 00 58 */ lwz r0, 0x58(r3) /* 8019EAC0 0019BA20 90 81 00 68 */ stw r4, 0x68(r1) /* 8019EAC4 0019BA24 90 01 00 6C */ stw r0, 0x6c(r1) /* 8019EAC8 0019BA28 80 03 00 5C */ lwz r0, 0x5c(r3) /* 8019EACC 0019BA2C 90 01 00 70 */ stw r0, 0x70(r1) /* 8019EAD0 0019BA30 80 03 00 60 */ lwz r0, 0x60(r3) /* 8019EAD4 0019BA34 90 01 00 74 */ stw r0, 0x74(r1) /* 8019EAD8 0019BA38 80 03 00 64 */ lwz r0, 0x64(r3) /* 8019EADC 0019BA3C 90 01 00 78 */ stw r0, 0x78(r1) /* 8019EAE0 0019BA40 48 00 00 3C */ b lbl_8019EB1C lbl_8019EAE4: /* 8019EAE4 0019BA44 A0 1E 00 00 */ lhz r0, 0(r30) /* 8019EAE8 0019BA48 7F A3 EB 78 */ mr r3, r29 /* 8019EAEC 0019BA4C 38 81 00 08 */ addi r4, r1, 8 /* 8019EAF0 0019BA50 B0 01 00 08 */ sth r0, 8(r1) /* 8019EAF4 0019BA54 4B EA DA 81 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019EAF8 0019BA58 7C 64 1B 78 */ mr r4, r3 /* 8019EAFC 0019BA5C 38 61 00 0C */ addi r3, r1, 0xc /* 8019EB00 0019BA60 4B F1 08 4D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019EB04 0019BA64 80 63 00 04 */ lwz r3, 4(r3) /* 8019EB08 0019BA68 28 03 00 00 */ cmplwi r3, 0 /* 8019EB0C 0019BA6C 41 82 00 0C */ beq lbl_8019EB18 /* 8019EB10 0019BA70 38 81 00 14 */ addi r4, r1, 0x14 /* 8019EB14 0019BA74 48 00 A0 85 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8019EB18: /* 8019EB18 0019BA78 3B DE 00 02 */ addi r30, r30, 2 lbl_8019EB1C: /* 8019EB1C 0019BA7C 80 1C 0A FC */ lwz r0, 0xafc(r28) /* 8019EB20 0019BA80 54 00 08 3C */ slwi r0, r0, 1 /* 8019EB24 0019BA84 7C 1F 02 14 */ add r0, r31, r0 /* 8019EB28 0019BA88 7C 1E 00 40 */ cmplw r30, r0 /* 8019EB2C 0019BA8C 40 82 FF B8 */ bne lbl_8019EAE4 /* 8019EB30 0019BA90 80 01 00 94 */ lwz r0, 0x94(r1) /* 8019EB34 0019BA94 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8019EB38 0019BA98 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8019EB3C 0019BA9C 83 A1 00 84 */ lwz r29, 0x84(r1) /* 8019EB40 0019BAA0 83 81 00 80 */ lwz r28, 0x80(r1) /* 8019EB44 0019BAA4 7C 08 03 A6 */ mtlr r0 /* 8019EB48 0019BAA8 38 21 00 90 */ addi r1, r1, 0x90 /* 8019EB4C 0019BAAC 4E 80 00 20 */ blr .global sub_8019eb50 sub_8019eb50: /* 8019EB50 0019BAB0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8019EB54 0019BAB4 7C 08 02 A6 */ mflr r0 /* 8019EB58 0019BAB8 90 01 00 34 */ stw r0, 0x34(r1) /* 8019EB5C 0019BABC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8019EB60 0019BAC0 3B E0 00 00 */ li r31, 0 /* 8019EB64 0019BAC4 93 C1 00 28 */ stw r30, 0x28(r1) /* 8019EB68 0019BAC8 7C 9E 23 78 */ mr r30, r4 /* 8019EB6C 0019BACC 93 A1 00 24 */ stw r29, 0x24(r1) /* 8019EB70 0019BAD0 7C 7D 1B 78 */ mr r29, r3 /* 8019EB74 0019BAD4 48 00 00 50 */ b lbl_8019EBC4 lbl_8019EB78: /* 8019EB78 0019BAD8 80 7D 0A 2C */ lwz r3, 0xa2c(r29) /* 8019EB7C 0019BADC 7F E4 FB 78 */ mr r4, r31 /* 8019EB80 0019BAE0 48 00 86 B9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8019EB84 0019BAE4 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8019EB88 0019BAE8 7F C3 F3 78 */ mr r3, r30 /* 8019EB8C 0019BAEC 38 81 00 08 */ addi r4, r1, 8 /* 8019EB90 0019BAF0 B0 01 00 0C */ sth r0, 0xc(r1) /* 8019EB94 0019BAF4 B0 01 00 08 */ sth r0, 8(r1) /* 8019EB98 0019BAF8 4B EA D9 DD */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019EB9C 0019BAFC 7C 64 1B 78 */ mr r4, r3 /* 8019EBA0 0019BB00 38 61 00 10 */ addi r3, r1, 0x10 /* 8019EBA4 0019BB04 4B F1 07 A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019EBA8 0019BB08 80 63 00 04 */ lwz r3, 4(r3) /* 8019EBAC 0019BB0C 28 03 00 00 */ cmplwi r3, 0 /* 8019EBB0 0019BB10 41 82 00 10 */ beq lbl_8019EBC0 /* 8019EBB4 0019BB14 7F C5 F3 78 */ mr r5, r30 /* 8019EBB8 0019BB18 38 80 00 12 */ li r4, 0x12 /* 8019EBBC 0019BB1C 4B EB 57 95 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_8019EBC0: /* 8019EBC0 0019BB20 3B FF 00 01 */ addi r31, r31, 1 lbl_8019EBC4: /* 8019EBC4 0019BB24 80 7D 0A 2C */ lwz r3, 0xa2c(r29) /* 8019EBC8 0019BB28 48 00 86 81 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8019EBCC 0019BB2C 7C 1F 18 40 */ cmplw r31, r3 /* 8019EBD0 0019BB30 41 80 FF A8 */ blt lbl_8019EB78 /* 8019EBD4 0019BB34 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019EBD8 0019BB38 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8019EBDC 0019BB3C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8019EBE0 0019BB40 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8019EBE4 0019BB44 7C 08 03 A6 */ mtlr r0 /* 8019EBE8 0019BB48 38 21 00 30 */ addi r1, r1, 0x30 /* 8019EBEC 0019BB4C 4E 80 00 20 */ blr .global sub_8019ebf0 sub_8019ebf0: /* 8019EBF0 0019BB50 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8019EBF4 0019BB54 7C 08 02 A6 */ mflr r0 /* 8019EBF8 0019BB58 90 01 00 34 */ stw r0, 0x34(r1) /* 8019EBFC 0019BB5C DB E1 00 20 */ stfd f31, 0x20(r1) /* 8019EC00 0019BB60 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8019EC04 0019BB64 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8019EC08 0019BB68 93 C1 00 18 */ stw r30, 0x18(r1) /* 8019EC0C 0019BB6C 7C 7E 1B 78 */ mr r30, r3 /* 8019EC10 0019BB70 7C 9F 23 78 */ mr r31, r4 /* 8019EC14 0019BB74 C0 03 06 DC */ lfs f0, 0x6dc(r3) /* 8019EC18 0019BB78 38 81 00 0C */ addi r4, r1, 0xc /* 8019EC1C 0019BB7C 38 A1 00 08 */ addi r5, r1, 8 /* 8019EC20 0019BB80 38 6D 90 28 */ addi r3, r13, lbl_805A7BE8@sda21 /* 8019EC24 0019BB84 D0 01 00 08 */ stfs f0, 8(r1) /* 8019EC28 0019BB88 C0 1E 09 74 */ lfs f0, 0x974(r30) /* 8019EC2C 0019BB8C EC 00 08 2A */ fadds f0, f0, f1 /* 8019EC30 0019BB90 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8019EC34 0019BB94 4B E6 D6 81 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8019EC38 0019BB98 C0 03 00 00 */ lfs f0, 0(r3) /* 8019EC3C 0019BB9C C0 42 A7 68 */ lfs f2, lbl_805AC488@sda21(r2) /* 8019EC40 0019BBA0 D0 1E 09 74 */ stfs f0, 0x974(r30) /* 8019EC44 0019BBA4 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 8019EC48 0019BBA8 C0 3E 06 DC */ lfs f1, 0x6dc(r30) /* 8019EC4C 0019BBAC EC 42 00 72 */ fmuls f2, f2, f1 /* 8019EC50 0019BBB0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019EC54 0019BBB4 40 81 00 38 */ ble lbl_8019EC8C /* 8019EC58 0019BBB8 C0 02 A7 6C */ lfs f0, lbl_805AC48C@sda21(r2) /* 8019EC5C 0019BBBC C0 3E 09 74 */ lfs f1, 0x974(r30) /* 8019EC60 0019BBC0 EC 00 00 B2 */ fmuls f0, f0, f2 /* 8019EC64 0019BBC4 80 7F 09 00 */ lwz r3, 0x900(r31) /* 8019EC68 0019BBC8 EF E1 00 24 */ fdivs f31, f1, f0 /* 8019EC6C 0019BBCC 48 17 38 71 */ bl Float__9CRandom16Fv /* 8019EC70 0019BBD0 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 8019EC74 0019BBD4 4C 40 13 82 */ cror 2, 0, 2 /* 8019EC78 0019BBD8 7C 60 00 26 */ mfcr r3 /* 8019EC7C 0019BBDC 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 8019EC80 0019BBE0 50 60 46 B4 */ rlwimi r0, r3, 8, 0x1a, 0x1a /* 8019EC84 0019BBE4 98 1E 0B 29 */ stb r0, 0xb29(r30) /* 8019EC88 0019BBE8 48 00 00 14 */ b lbl_8019EC9C lbl_8019EC8C: /* 8019EC8C 0019BBEC 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 8019EC90 0019BBF0 38 60 00 01 */ li r3, 1 /* 8019EC94 0019BBF4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8019EC98 0019BBF8 98 1E 0B 29 */ stb r0, 0xb29(r30) lbl_8019EC9C: /* 8019EC9C 0019BBFC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8019ECA0 0019BC00 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019ECA4 0019BC04 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8019ECA8 0019BC08 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8019ECAC 0019BC0C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8019ECB0 0019BC10 7C 08 03 A6 */ mtlr r0 /* 8019ECB4 0019BC14 38 21 00 30 */ addi r1, r1, 0x30 /* 8019ECB8 0019BC18 4E 80 00 20 */ blr .global sub_8019ecbc sub_8019ecbc: /* 8019ECBC 0019BC1C 88 03 0B 28 */ lbz r0, 0xb28(r3) /* 8019ECC0 0019BC20 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8019ECC4 0019BC24 41 82 00 0C */ beq lbl_8019ECD0 /* 8019ECC8 0019BC28 38 60 00 01 */ li r3, 1 /* 8019ECCC 0019BC2C 4E 80 00 20 */ blr lbl_8019ECD0: /* 8019ECD0 0019BC30 88 03 0B 29 */ lbz r0, 0xb29(r3) /* 8019ECD4 0019BC34 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f /* 8019ECD8 0019BC38 4E 80 00 20 */ blr .global sub_8019ecdc sub_8019ecdc: /* 8019ECDC 0019BC3C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8019ECE0 0019BC40 7C 08 02 A6 */ mflr r0 /* 8019ECE4 0019BC44 90 01 00 74 */ stw r0, 0x74(r1) /* 8019ECE8 0019BC48 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8019ECEC 0019BC4C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8019ECF0 0019BC50 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8019ECF4 0019BC54 7C 7F 1B 78 */ mr r31, r3 /* 8019ECF8 0019BC58 80 63 00 64 */ lwz r3, 0x64(r3) /* 8019ECFC 0019BC5C FF E0 08 90 */ fmr f31, f1 /* 8019ED00 0019BC60 7C 85 23 78 */ mr r5, r4 /* 8019ED04 0019BC64 80 C3 00 10 */ lwz r6, 0x10(r3) /* 8019ED08 0019BC68 38 61 00 40 */ addi r3, r1, 0x40 /* 8019ED0C 0019BC6C C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 8019ED10 0019BC70 C0 46 02 00 */ lfs f2, 0x200(r6) /* 8019ED14 0019BC74 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8019ED18 0019BC78 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8019ED1C 0019BC7C 40 81 00 0C */ ble lbl_8019ED28 /* 8019ED20 0019BC80 C0 02 A7 70 */ lfs f0, lbl_805AC490@sda21(r2) /* 8019ED24 0019BC84 EC 20 10 24 */ fdivs f1, f0, f2 lbl_8019ED28: /* 8019ED28 0019BC88 81 84 00 00 */ lwz r12, 0(r4) /* 8019ED2C 0019BC8C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8019ED30 0019BC90 7D 89 03 A6 */ mtctr r12 /* 8019ED34 0019BC94 4E 80 04 21 */ bctrl /* 8019ED38 0019BC98 C0 41 00 44 */ lfs f2, 0x44(r1) /* 8019ED3C 0019BC9C 38 61 00 10 */ addi r3, r1, 0x10 /* 8019ED40 0019BCA0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 8019ED44 0019BCA4 C0 21 00 40 */ lfs f1, 0x40(r1) /* 8019ED48 0019BCA8 EC 42 00 28 */ fsubs f2, f2, f0 /* 8019ED4C 0019BCAC C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8019ED50 0019BCB0 C0 61 00 48 */ lfs f3, 0x48(r1) /* 8019ED54 0019BCB4 EC 21 00 28 */ fsubs f1, f1, f0 /* 8019ED58 0019BCB8 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 8019ED5C 0019BCBC D0 41 00 38 */ stfs f2, 0x38(r1) /* 8019ED60 0019BCC0 EC 03 00 28 */ fsubs f0, f3, f0 /* 8019ED64 0019BCC4 D0 21 00 34 */ stfs f1, 0x34(r1) /* 8019ED68 0019BCC8 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 8019ED6C 0019BCCC 48 17 54 95 */ bl __ct__9CVector2fFff /* 8019ED70 0019BCD0 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 8019ED74 0019BCD4 38 61 00 08 */ addi r3, r1, 8 /* 8019ED78 0019BCD8 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 8019ED7C 0019BCDC C0 61 00 10 */ lfs f3, 0x10(r1) /* 8019ED80 0019BCE0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8019ED84 0019BCE4 C0 9F 00 58 */ lfs f4, 0x58(r31) /* 8019ED88 0019BCE8 D0 61 00 20 */ stfs f3, 0x20(r1) /* 8019ED8C 0019BCEC D0 01 00 24 */ stfs f0, 0x24(r1) /* 8019ED90 0019BCF0 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8019ED94 0019BCF4 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8019ED98 0019BCF8 D0 81 00 30 */ stfs f4, 0x30(r1) /* 8019ED9C 0019BCFC 48 17 54 65 */ bl __ct__9CVector2fFff /* 8019EDA0 0019BD00 C0 21 00 08 */ lfs f1, 8(r1) /* 8019EDA4 0019BD04 38 61 00 18 */ addi r3, r1, 0x18 /* 8019EDA8 0019BD08 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8019EDAC 0019BD0C 38 81 00 20 */ addi r4, r1, 0x20 /* 8019EDB0 0019BD10 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8019EDB4 0019BD14 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8019EDB8 0019BD18 48 17 52 0D */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 8019EDBC 0019BD1C FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 8019EDC0 0019BD20 7C 00 00 26 */ mfcr r0 /* 8019EDC4 0019BD24 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 8019EDC8 0019BD28 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8019EDCC 0019BD2C 80 01 00 74 */ lwz r0, 0x74(r1) /* 8019EDD0 0019BD30 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8019EDD4 0019BD34 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8019EDD8 0019BD38 7C 08 03 A6 */ mtlr r0 /* 8019EDDC 0019BD3C 38 21 00 70 */ addi r1, r1, 0x70 /* 8019EDE0 0019BD40 4E 80 00 20 */ blr .global GetCollisionResponseType__12CIceSheegothCFRC9CVector3fRC9CVector3fRC11CWeaponModei GetCollisionResponseType__12CIceSheegothCFRC9CVector3fRC9CVector3fRC11CWeaponModei: /* 8019EDE4 0019BD44 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8019EDE8 0019BD48 7C 08 02 A6 */ mflr r0 /* 8019EDEC 0019BD4C 90 01 00 14 */ stw r0, 0x14(r1) /* 8019EDF0 0019BD50 80 06 00 00 */ lwz r0, 0(r6) /* 8019EDF4 0019BD54 2C 00 00 01 */ cmpwi r0, 1 /* 8019EDF8 0019BD58 40 82 00 0C */ bne lbl_8019EE04 /* 8019EDFC 0019BD5C 38 60 00 00 */ li r3, 0 /* 8019EE00 0019BD60 48 00 00 08 */ b lbl_8019EE08 lbl_8019EE04: /* 8019EE04 0019BD64 4B ED 8B B1 */ bl GetCollisionResponseType__10CPatternedCFRC9CVector3fRC9CVector3fRC11CWeaponModei lbl_8019EE08: /* 8019EE08 0019BD68 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019EE0C 0019BD6C 7C 08 03 A6 */ mtlr r0 /* 8019EE10 0019BD70 38 21 00 10 */ addi r1, r1, 0x10 /* 8019EE14 0019BD74 4E 80 00 20 */ blr .global sub_8019ee18 sub_8019ee18: /* 8019EE18 0019BD78 90 83 09 28 */ stw r4, 0x928(r3) /* 8019EE1C 0019BD7C 4E 80 00 20 */ blr .global sub_8019ee20 sub_8019ee20: /* 8019EE20 0019BD80 94 21 FE 00 */ stwu r1, -0x200(r1) /* 8019EE24 0019BD84 7C 08 02 A6 */ mflr r0 /* 8019EE28 0019BD88 90 01 02 04 */ stw r0, 0x204(r1) /* 8019EE2C 0019BD8C DB E1 01 F0 */ stfd f31, 0x1f0(r1) /* 8019EE30 0019BD90 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 /* 8019EE34 0019BD94 93 E1 01 EC */ stw r31, 0x1ec(r1) /* 8019EE38 0019BD98 93 C1 01 E8 */ stw r30, 0x1e8(r1) /* 8019EE3C 0019BD9C 93 A1 01 E4 */ stw r29, 0x1e4(r1) /* 8019EE40 0019BDA0 7C 7F 1B 78 */ mr r31, r3 /* 8019EE44 0019BDA4 7C 9E 23 78 */ mr r30, r4 /* 8019EE48 0019BDA8 A0 03 0A 80 */ lhz r0, 0xa80(r3) /* 8019EE4C 0019BDAC FF E0 08 90 */ fmr f31, f1 /* 8019EE50 0019BDB0 7F C3 F3 78 */ mr r3, r30 /* 8019EE54 0019BDB4 38 81 00 0C */ addi r4, r1, 0xc /* 8019EE58 0019BDB8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8019EE5C 0019BDBC 4B EA D7 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019EE60 0019BDC0 7C 7D 1B 79 */ or. r29, r3, r3 /* 8019EE64 0019BDC4 41 82 00 5C */ beq lbl_8019EEC0 /* 8019EE68 0019BDC8 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8019EE6C 0019BDCC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8019EE70 0019BDD0 41 82 00 50 */ beq lbl_8019EEC0 /* 8019EE74 0019BDD4 3C 80 80 3D */ lis r4, lbl_803D13D8@ha /* 8019EE78 0019BDD8 38 61 00 74 */ addi r3, r1, 0x74 /* 8019EE7C 0019BDDC 38 84 13 D8 */ addi r4, r4, lbl_803D13D8@l /* 8019EE80 0019BDE0 38 84 00 4E */ addi r4, r4, 0x4e /* 8019EE84 0019BDE4 4B E6 5E 35 */ bl string_l__4rstlFPCc /* 8019EE88 0019BDE8 7F E4 FB 78 */ mr r4, r31 /* 8019EE8C 0019BDEC 38 61 01 74 */ addi r3, r1, 0x174 /* 8019EE90 0019BDF0 38 A1 00 74 */ addi r5, r1, 0x74 /* 8019EE94 0019BDF4 4B ED 9A E5 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019EE98 0019BDF8 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 8019EE9C 0019BDFC 38 81 01 74 */ addi r4, r1, 0x174 /* 8019EEA0 0019BE00 48 17 3C D5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8019EEA4 0019BE04 38 61 00 74 */ addi r3, r1, 0x74 /* 8019EEA8 0019BE08 48 19 EC 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8019EEAC 0019BE0C FC 20 F8 90 */ fmr f1, f31 /* 8019EEB0 0019BE10 7F A3 EB 78 */ mr r3, r29 /* 8019EEB4 0019BE14 7F C5 F3 78 */ mr r5, r30 /* 8019EEB8 0019BE18 38 81 01 A4 */ addi r4, r1, 0x1a4 /* 8019EEBC 0019BE1C 4B FF 95 45 */ bl SetTransform__13CFlameThrowerFRC12CTransform4f lbl_8019EEC0: /* 8019EEC0 0019BE20 A0 1F 0A F6 */ lhz r0, 0xaf6(r31) /* 8019EEC4 0019BE24 7F C3 F3 78 */ mr r3, r30 /* 8019EEC8 0019BE28 38 81 00 08 */ addi r4, r1, 8 /* 8019EECC 0019BE2C B0 01 00 08 */ sth r0, 8(r1) /* 8019EED0 0019BE30 4B EA D6 D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8019EED4 0019BE34 7C 64 1B 78 */ mr r4, r3 /* 8019EED8 0019BE38 38 61 00 18 */ addi r3, r1, 0x18 /* 8019EEDC 0019BE3C 4B F1 04 71 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019EEE0 0019BE40 83 C3 00 04 */ lwz r30, 4(r3) /* 8019EEE4 0019BE44 28 1E 00 00 */ cmplwi r30, 0 /* 8019EEE8 0019BE48 41 82 03 FC */ beq lbl_8019F2E4 /* 8019EEEC 0019BE4C C0 22 A7 68 */ lfs f1, lbl_805AC488@sda21(r2) /* 8019EEF0 0019BE50 C0 1F 06 DC */ lfs f0, 0x6dc(r31) /* 8019EEF4 0019BE54 C0 42 A7 6C */ lfs f2, lbl_805AC48C@sda21(r2) /* 8019EEF8 0019BE58 EC 21 00 32 */ fmuls f1, f1, f0 /* 8019EEFC 0019BE5C C0 7F 09 74 */ lfs f3, 0x974(r31) /* 8019EF00 0019BE60 EC 02 00 72 */ fmuls f0, f2, f1 /* 8019EF04 0019BE64 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 8019EF08 0019BE68 4C 41 13 82 */ cror 2, 1, 2 /* 8019EF0C 0019BE6C 40 82 00 68 */ bne lbl_8019EF74 /* 8019EF10 0019BE70 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019EF14 0019BE74 38 80 00 00 */ li r4, 0 /* 8019EF18 0019BE78 81 83 00 00 */ lwz r12, 0(r3) /* 8019EF1C 0019BE7C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EF20 0019BE80 7D 89 03 A6 */ mtctr r12 /* 8019EF24 0019BE84 4E 80 04 21 */ bctrl /* 8019EF28 0019BE88 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019EF2C 0019BE8C 38 80 00 00 */ li r4, 0 /* 8019EF30 0019BE90 81 83 00 00 */ lwz r12, 0(r3) /* 8019EF34 0019BE94 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EF38 0019BE98 7D 89 03 A6 */ mtctr r12 /* 8019EF3C 0019BE9C 4E 80 04 21 */ bctrl /* 8019EF40 0019BEA0 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019EF44 0019BEA4 38 80 00 01 */ li r4, 1 /* 8019EF48 0019BEA8 81 83 00 00 */ lwz r12, 0(r3) /* 8019EF4C 0019BEAC 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EF50 0019BEB0 7D 89 03 A6 */ mtctr r12 /* 8019EF54 0019BEB4 4E 80 04 21 */ bctrl /* 8019EF58 0019BEB8 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019EF5C 0019BEBC 38 80 00 01 */ li r4, 1 /* 8019EF60 0019BEC0 81 83 00 00 */ lwz r12, 0(r3) /* 8019EF64 0019BEC4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EF68 0019BEC8 7D 89 03 A6 */ mtctr r12 /* 8019EF6C 0019BECC 4E 80 04 21 */ bctrl /* 8019EF70 0019BED0 48 00 01 4C */ b lbl_8019F0BC lbl_8019EF74: /* 8019EF74 0019BED4 C0 02 A7 74 */ lfs f0, lbl_805AC494@sda21(r2) /* 8019EF78 0019BED8 EC 00 00 72 */ fmuls f0, f0, f1 /* 8019EF7C 0019BEDC FC 03 00 40 */ fcmpo cr0, f3, f0 /* 8019EF80 0019BEE0 4C 41 13 82 */ cror 2, 1, 2 /* 8019EF84 0019BEE4 40 82 00 68 */ bne lbl_8019EFEC /* 8019EF88 0019BEE8 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019EF8C 0019BEEC 38 80 00 00 */ li r4, 0 /* 8019EF90 0019BEF0 81 83 00 00 */ lwz r12, 0(r3) /* 8019EF94 0019BEF4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EF98 0019BEF8 7D 89 03 A6 */ mtctr r12 /* 8019EF9C 0019BEFC 4E 80 04 21 */ bctrl /* 8019EFA0 0019BF00 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019EFA4 0019BF04 38 80 00 01 */ li r4, 1 /* 8019EFA8 0019BF08 81 83 00 00 */ lwz r12, 0(r3) /* 8019EFAC 0019BF0C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EFB0 0019BF10 7D 89 03 A6 */ mtctr r12 /* 8019EFB4 0019BF14 4E 80 04 21 */ bctrl /* 8019EFB8 0019BF18 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019EFBC 0019BF1C 38 80 00 00 */ li r4, 0 /* 8019EFC0 0019BF20 81 83 00 00 */ lwz r12, 0(r3) /* 8019EFC4 0019BF24 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EFC8 0019BF28 7D 89 03 A6 */ mtctr r12 /* 8019EFCC 0019BF2C 4E 80 04 21 */ bctrl /* 8019EFD0 0019BF30 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019EFD4 0019BF34 38 80 00 00 */ li r4, 0 /* 8019EFD8 0019BF38 81 83 00 00 */ lwz r12, 0(r3) /* 8019EFDC 0019BF3C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019EFE0 0019BF40 7D 89 03 A6 */ mtctr r12 /* 8019EFE4 0019BF44 4E 80 04 21 */ bctrl /* 8019EFE8 0019BF48 48 00 00 D4 */ b lbl_8019F0BC lbl_8019EFEC: /* 8019EFEC 0019BF4C C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 8019EFF0 0019BF50 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 8019EFF4 0019BF54 40 81 00 68 */ ble lbl_8019F05C /* 8019EFF8 0019BF58 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019EFFC 0019BF5C 38 80 00 01 */ li r4, 1 /* 8019F000 0019BF60 81 83 00 00 */ lwz r12, 0(r3) /* 8019F004 0019BF64 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F008 0019BF68 7D 89 03 A6 */ mtctr r12 /* 8019F00C 0019BF6C 4E 80 04 21 */ bctrl /* 8019F010 0019BF70 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019F014 0019BF74 38 80 00 00 */ li r4, 0 /* 8019F018 0019BF78 81 83 00 00 */ lwz r12, 0(r3) /* 8019F01C 0019BF7C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F020 0019BF80 7D 89 03 A6 */ mtctr r12 /* 8019F024 0019BF84 4E 80 04 21 */ bctrl /* 8019F028 0019BF88 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019F02C 0019BF8C 38 80 00 00 */ li r4, 0 /* 8019F030 0019BF90 81 83 00 00 */ lwz r12, 0(r3) /* 8019F034 0019BF94 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F038 0019BF98 7D 89 03 A6 */ mtctr r12 /* 8019F03C 0019BF9C 4E 80 04 21 */ bctrl /* 8019F040 0019BFA0 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019F044 0019BFA4 38 80 00 00 */ li r4, 0 /* 8019F048 0019BFA8 81 83 00 00 */ lwz r12, 0(r3) /* 8019F04C 0019BFAC 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F050 0019BFB0 7D 89 03 A6 */ mtctr r12 /* 8019F054 0019BFB4 4E 80 04 21 */ bctrl /* 8019F058 0019BFB8 48 00 00 64 */ b lbl_8019F0BC lbl_8019F05C: /* 8019F05C 0019BFBC 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019F060 0019BFC0 38 80 00 00 */ li r4, 0 /* 8019F064 0019BFC4 81 83 00 00 */ lwz r12, 0(r3) /* 8019F068 0019BFC8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F06C 0019BFCC 7D 89 03 A6 */ mtctr r12 /* 8019F070 0019BFD0 4E 80 04 21 */ bctrl /* 8019F074 0019BFD4 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019F078 0019BFD8 38 80 00 00 */ li r4, 0 /* 8019F07C 0019BFDC 81 83 00 00 */ lwz r12, 0(r3) /* 8019F080 0019BFE0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F084 0019BFE4 7D 89 03 A6 */ mtctr r12 /* 8019F088 0019BFE8 4E 80 04 21 */ bctrl /* 8019F08C 0019BFEC 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019F090 0019BFF0 38 80 00 00 */ li r4, 0 /* 8019F094 0019BFF4 81 83 00 00 */ lwz r12, 0(r3) /* 8019F098 0019BFF8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F09C 0019BFFC 7D 89 03 A6 */ mtctr r12 /* 8019F0A0 0019C000 4E 80 04 21 */ bctrl /* 8019F0A4 0019C004 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019F0A8 0019C008 38 80 00 00 */ li r4, 0 /* 8019F0AC 0019C00C 81 83 00 00 */ lwz r12, 0(r3) /* 8019F0B0 0019C010 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F0B4 0019C014 7D 89 03 A6 */ mtctr r12 /* 8019F0B8 0019C018 4E 80 04 21 */ bctrl lbl_8019F0BC: /* 8019F0BC 0019C01C 83 BF 0A 9C */ lwz r29, 0xa9c(r31) /* 8019F0C0 0019C020 38 61 01 44 */ addi r3, r1, 0x144 /* 8019F0C4 0019C024 38 9F 00 34 */ addi r4, r31, 0x34 /* 8019F0C8 0019C028 48 17 3B 79 */ bl GetRotation__12CTransform4fCFv /* 8019F0CC 0019C02C 7F A3 EB 78 */ mr r3, r29 /* 8019F0D0 0019C030 38 81 01 44 */ addi r4, r1, 0x144 /* 8019F0D4 0019C034 81 9D 00 00 */ lwz r12, 0(r29) /* 8019F0D8 0019C038 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8019F0DC 0019C03C 7D 89 03 A6 */ mtctr r12 /* 8019F0E0 0019C040 4E 80 04 21 */ bctrl /* 8019F0E4 0019C044 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8019F0E8 0019C048 38 81 00 68 */ addi r4, r1, 0x68 /* 8019F0EC 0019C04C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8019F0F0 0019C050 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8019F0F4 0019C054 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8019F0F8 0019C058 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 8019F0FC 0019C05C D0 41 00 70 */ stfs f2, 0x70(r1) /* 8019F100 0019C060 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019F104 0019C064 81 83 00 00 */ lwz r12, 0(r3) /* 8019F108 0019C068 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8019F10C 0019C06C 7D 89 03 A6 */ mtctr r12 /* 8019F110 0019C070 4E 80 04 21 */ bctrl /* 8019F114 0019C074 83 BF 0A B0 */ lwz r29, 0xab0(r31) /* 8019F118 0019C078 38 61 01 14 */ addi r3, r1, 0x114 /* 8019F11C 0019C07C 38 9F 00 34 */ addi r4, r31, 0x34 /* 8019F120 0019C080 48 17 3B 21 */ bl GetRotation__12CTransform4fCFv /* 8019F124 0019C084 7F A3 EB 78 */ mr r3, r29 /* 8019F128 0019C088 38 81 01 14 */ addi r4, r1, 0x114 /* 8019F12C 0019C08C 81 9D 00 00 */ lwz r12, 0(r29) /* 8019F130 0019C090 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8019F134 0019C094 7D 89 03 A6 */ mtctr r12 /* 8019F138 0019C098 4E 80 04 21 */ bctrl /* 8019F13C 0019C09C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8019F140 0019C0A0 38 81 00 5C */ addi r4, r1, 0x5c /* 8019F144 0019C0A4 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8019F148 0019C0A8 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8019F14C 0019C0AC D0 01 00 5C */ stfs f0, 0x5c(r1) /* 8019F150 0019C0B0 D0 21 00 60 */ stfs f1, 0x60(r1) /* 8019F154 0019C0B4 D0 41 00 64 */ stfs f2, 0x64(r1) /* 8019F158 0019C0B8 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019F15C 0019C0BC 81 83 00 00 */ lwz r12, 0(r3) /* 8019F160 0019C0C0 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8019F164 0019C0C4 7D 89 03 A6 */ mtctr r12 /* 8019F168 0019C0C8 4E 80 04 21 */ bctrl /* 8019F16C 0019C0CC 83 BF 0A C4 */ lwz r29, 0xac4(r31) /* 8019F170 0019C0D0 38 61 00 E4 */ addi r3, r1, 0xe4 /* 8019F174 0019C0D4 38 9F 00 34 */ addi r4, r31, 0x34 /* 8019F178 0019C0D8 48 17 3A C9 */ bl GetRotation__12CTransform4fCFv /* 8019F17C 0019C0DC 7F A3 EB 78 */ mr r3, r29 /* 8019F180 0019C0E0 38 81 00 E4 */ addi r4, r1, 0xe4 /* 8019F184 0019C0E4 81 9D 00 00 */ lwz r12, 0(r29) /* 8019F188 0019C0E8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8019F18C 0019C0EC 7D 89 03 A6 */ mtctr r12 /* 8019F190 0019C0F0 4E 80 04 21 */ bctrl /* 8019F194 0019C0F4 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8019F198 0019C0F8 38 81 00 50 */ addi r4, r1, 0x50 /* 8019F19C 0019C0FC C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8019F1A0 0019C100 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8019F1A4 0019C104 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8019F1A8 0019C108 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8019F1AC 0019C10C D0 41 00 58 */ stfs f2, 0x58(r1) /* 8019F1B0 0019C110 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019F1B4 0019C114 81 83 00 00 */ lwz r12, 0(r3) /* 8019F1B8 0019C118 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8019F1BC 0019C11C 7D 89 03 A6 */ mtctr r12 /* 8019F1C0 0019C120 4E 80 04 21 */ bctrl /* 8019F1C4 0019C124 83 BF 0A D8 */ lwz r29, 0xad8(r31) /* 8019F1C8 0019C128 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8019F1CC 0019C12C 38 9F 00 34 */ addi r4, r31, 0x34 /* 8019F1D0 0019C130 48 17 3A 71 */ bl GetRotation__12CTransform4fCFv /* 8019F1D4 0019C134 7F A3 EB 78 */ mr r3, r29 /* 8019F1D8 0019C138 38 81 00 B4 */ addi r4, r1, 0xb4 /* 8019F1DC 0019C13C 81 9D 00 00 */ lwz r12, 0(r29) /* 8019F1E0 0019C140 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8019F1E4 0019C144 7D 89 03 A6 */ mtctr r12 /* 8019F1E8 0019C148 4E 80 04 21 */ bctrl /* 8019F1EC 0019C14C C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8019F1F0 0019C150 38 81 00 44 */ addi r4, r1, 0x44 /* 8019F1F4 0019C154 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 8019F1F8 0019C158 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8019F1FC 0019C15C D0 01 00 44 */ stfs f0, 0x44(r1) /* 8019F200 0019C160 D0 21 00 48 */ stfs f1, 0x48(r1) /* 8019F204 0019C164 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 8019F208 0019C168 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019F20C 0019C16C 81 83 00 00 */ lwz r12, 0(r3) /* 8019F210 0019C170 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8019F214 0019C174 7D 89 03 A6 */ mtctr r12 /* 8019F218 0019C178 4E 80 04 21 */ bctrl /* 8019F21C 0019C17C 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 8019F220 0019C180 28 03 00 00 */ cmplwi r3, 0 /* 8019F224 0019C184 41 82 01 20 */ beq lbl_8019F344 /* 8019F228 0019C188 81 83 00 00 */ lwz r12, 0(r3) /* 8019F22C 0019C18C 38 80 00 01 */ li r4, 1 /* 8019F230 0019C190 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F234 0019C194 7D 89 03 A6 */ mtctr r12 /* 8019F238 0019C198 4E 80 04 21 */ bctrl /* 8019F23C 0019C19C 83 BF 0A EC */ lwz r29, 0xaec(r31) /* 8019F240 0019C1A0 38 61 00 84 */ addi r3, r1, 0x84 /* 8019F244 0019C1A4 38 9F 00 34 */ addi r4, r31, 0x34 /* 8019F248 0019C1A8 48 17 39 F9 */ bl GetRotation__12CTransform4fCFv /* 8019F24C 0019C1AC 7F A3 EB 78 */ mr r3, r29 /* 8019F250 0019C1B0 38 81 00 84 */ addi r4, r1, 0x84 /* 8019F254 0019C1B4 81 9D 00 00 */ lwz r12, 0(r29) /* 8019F258 0019C1B8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8019F25C 0019C1BC 7D 89 03 A6 */ mtctr r12 /* 8019F260 0019C1C0 4E 80 04 21 */ bctrl /* 8019F264 0019C1C4 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8019F268 0019C1C8 38 81 00 38 */ addi r4, r1, 0x38 /* 8019F26C 0019C1CC C0 3F 00 50 */ lfs f1, 0x50(r31) /* 8019F270 0019C1D0 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8019F274 0019C1D4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 8019F278 0019C1D8 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8019F27C 0019C1DC D0 41 00 40 */ stfs f2, 0x40(r1) /* 8019F280 0019C1E0 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 8019F284 0019C1E4 81 83 00 00 */ lwz r12, 0(r3) /* 8019F288 0019C1E8 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8019F28C 0019C1EC 7D 89 03 A6 */ mtctr r12 /* 8019F290 0019C1F0 4E 80 04 21 */ bctrl /* 8019F294 0019C1F4 80 7F 00 64 */ lwz r3, 0x64(r31) /* 8019F298 0019C1F8 38 81 00 2C */ addi r4, r1, 0x2c /* 8019F29C 0019C1FC C0 03 00 00 */ lfs f0, 0(r3) /* 8019F2A0 0019C200 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8019F2A4 0019C204 C0 03 00 04 */ lfs f0, 4(r3) /* 8019F2A8 0019C208 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8019F2AC 0019C20C C0 03 00 08 */ lfs f0, 8(r3) /* 8019F2B0 0019C210 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8019F2B4 0019C214 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 8019F2B8 0019C218 81 83 00 00 */ lwz r12, 0(r3) /* 8019F2BC 0019C21C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8019F2C0 0019C220 7D 89 03 A6 */ mtctr r12 /* 8019F2C4 0019C224 4E 80 04 21 */ bctrl /* 8019F2C8 0019C228 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 8019F2CC 0019C22C FC 20 F8 90 */ fmr f1, f31 /* 8019F2D0 0019C230 81 83 00 00 */ lwz r12, 0(r3) /* 8019F2D4 0019C234 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019F2D8 0019C238 7D 89 03 A6 */ mtctr r12 /* 8019F2DC 0019C23C 4E 80 04 21 */ bctrl /* 8019F2E0 0019C240 48 00 00 64 */ b lbl_8019F344 lbl_8019F2E4: /* 8019F2E4 0019C244 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019F2E8 0019C248 38 80 00 00 */ li r4, 0 /* 8019F2EC 0019C24C 81 83 00 00 */ lwz r12, 0(r3) /* 8019F2F0 0019C250 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F2F4 0019C254 7D 89 03 A6 */ mtctr r12 /* 8019F2F8 0019C258 4E 80 04 21 */ bctrl /* 8019F2FC 0019C25C 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019F300 0019C260 38 80 00 00 */ li r4, 0 /* 8019F304 0019C264 81 83 00 00 */ lwz r12, 0(r3) /* 8019F308 0019C268 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F30C 0019C26C 7D 89 03 A6 */ mtctr r12 /* 8019F310 0019C270 4E 80 04 21 */ bctrl /* 8019F314 0019C274 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019F318 0019C278 38 80 00 00 */ li r4, 0 /* 8019F31C 0019C27C 81 83 00 00 */ lwz r12, 0(r3) /* 8019F320 0019C280 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F324 0019C284 7D 89 03 A6 */ mtctr r12 /* 8019F328 0019C288 4E 80 04 21 */ bctrl /* 8019F32C 0019C28C 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019F330 0019C290 38 80 00 00 */ li r4, 0 /* 8019F334 0019C294 81 83 00 00 */ lwz r12, 0(r3) /* 8019F338 0019C298 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8019F33C 0019C29C 7D 89 03 A6 */ mtctr r12 /* 8019F340 0019C2A0 4E 80 04 21 */ bctrl lbl_8019F344: /* 8019F344 0019C2A4 80 7F 0A 9C */ lwz r3, 0xa9c(r31) /* 8019F348 0019C2A8 FC 20 F8 90 */ fmr f1, f31 /* 8019F34C 0019C2AC 81 83 00 00 */ lwz r12, 0(r3) /* 8019F350 0019C2B0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019F354 0019C2B4 7D 89 03 A6 */ mtctr r12 /* 8019F358 0019C2B8 4E 80 04 21 */ bctrl /* 8019F35C 0019C2BC 80 7F 0A B0 */ lwz r3, 0xab0(r31) /* 8019F360 0019C2C0 FC 20 F8 90 */ fmr f1, f31 /* 8019F364 0019C2C4 81 83 00 00 */ lwz r12, 0(r3) /* 8019F368 0019C2C8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019F36C 0019C2CC 7D 89 03 A6 */ mtctr r12 /* 8019F370 0019C2D0 4E 80 04 21 */ bctrl /* 8019F374 0019C2D4 80 7F 0A C4 */ lwz r3, 0xac4(r31) /* 8019F378 0019C2D8 FC 20 F8 90 */ fmr f1, f31 /* 8019F37C 0019C2DC 81 83 00 00 */ lwz r12, 0(r3) /* 8019F380 0019C2E0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019F384 0019C2E4 7D 89 03 A6 */ mtctr r12 /* 8019F388 0019C2E8 4E 80 04 21 */ bctrl /* 8019F38C 0019C2EC 80 7F 0A D8 */ lwz r3, 0xad8(r31) /* 8019F390 0019C2F0 FC 20 F8 90 */ fmr f1, f31 /* 8019F394 0019C2F4 81 83 00 00 */ lwz r12, 0(r3) /* 8019F398 0019C2F8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8019F39C 0019C2FC 7D 89 03 A6 */ mtctr r12 /* 8019F3A0 0019C300 4E 80 04 21 */ bctrl /* 8019F3A4 0019C304 C0 22 A7 68 */ lfs f1, lbl_805AC488@sda21(r2) /* 8019F3A8 0019C308 C0 1F 06 DC */ lfs f0, 0x6dc(r31) /* 8019F3AC 0019C30C C0 42 A7 74 */ lfs f2, lbl_805AC494@sda21(r2) /* 8019F3B0 0019C310 EC 01 00 32 */ fmuls f0, f1, f0 /* 8019F3B4 0019C314 C0 3F 09 74 */ lfs f1, 0x974(r31) /* 8019F3B8 0019C318 EC 02 00 32 */ fmuls f0, f2, f0 /* 8019F3BC 0019C31C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019F3C0 0019C320 4C 41 13 82 */ cror 2, 1, 2 /* 8019F3C4 0019C324 40 82 00 5C */ bne lbl_8019F420 /* 8019F3C8 0019C328 80 1F 0A F0 */ lwz r0, 0xaf0(r31) /* 8019F3CC 0019C32C 28 00 00 00 */ cmplwi r0, 0 /* 8019F3D0 0019C330 40 82 00 74 */ bne lbl_8019F444 /* 8019F3D4 0019C334 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8019F3D8 0019C338 3C 60 80 5A */ lis r3, skZero3f@ha /* 8019F3DC 0019C33C C0 3F 00 50 */ lfs f1, 0x50(r31) /* 8019F3E0 0019C340 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 8019F3E4 0019C344 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8019F3E8 0019C348 38 61 00 14 */ addi r3, r1, 0x14 /* 8019F3EC 0019C34C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8019F3F0 0019C350 38 A1 00 20 */ addi r5, r1, 0x20 /* 8019F3F4 0019C354 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8019F3F8 0019C358 38 E0 00 00 */ li r7, 0 /* 8019F3FC 0019C35C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8019F400 0019C360 39 00 00 01 */ li r8, 1 /* 8019F404 0019C364 D0 21 00 24 */ stfs f1, 0x24(r1) /* 8019F408 0019C368 D0 41 00 28 */ stfs f2, 0x28(r1) /* 8019F40C 0019C36C A0 9F 07 40 */ lhz r4, 0x740(r31) /* 8019F410 0019C370 48 14 AE A1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8019F414 0019C374 80 01 00 14 */ lwz r0, 0x14(r1) /* 8019F418 0019C378 90 1F 0A F0 */ stw r0, 0xaf0(r31) /* 8019F41C 0019C37C 48 00 00 28 */ b lbl_8019F444 lbl_8019F420: /* 8019F420 0019C380 80 1F 0A F0 */ lwz r0, 0xaf0(r31) /* 8019F424 0019C384 28 00 00 00 */ cmplwi r0, 0 /* 8019F428 0019C388 41 82 00 1C */ beq lbl_8019F444 /* 8019F42C 0019C38C 80 1F 0A F0 */ lwz r0, 0xaf0(r31) /* 8019F430 0019C390 38 61 00 10 */ addi r3, r1, 0x10 /* 8019F434 0019C394 90 01 00 10 */ stw r0, 0x10(r1) /* 8019F438 0019C398 48 14 AA 4D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 8019F43C 0019C39C 38 00 00 00 */ li r0, 0 /* 8019F440 0019C3A0 90 1F 0A F0 */ stw r0, 0xaf0(r31) lbl_8019F444: /* 8019F444 0019C3A4 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 /* 8019F448 0019C3A8 80 01 02 04 */ lwz r0, 0x204(r1) /* 8019F44C 0019C3AC CB E1 01 F0 */ lfd f31, 0x1f0(r1) /* 8019F450 0019C3B0 83 E1 01 EC */ lwz r31, 0x1ec(r1) /* 8019F454 0019C3B4 83 C1 01 E8 */ lwz r30, 0x1e8(r1) /* 8019F458 0019C3B8 83 A1 01 E4 */ lwz r29, 0x1e4(r1) /* 8019F45C 0019C3BC 7C 08 03 A6 */ mtlr r0 /* 8019F460 0019C3C0 38 21 02 00 */ addi r1, r1, 0x200 /* 8019F464 0019C3C4 4E 80 00 20 */ blr .global CreateFlameThrower__12CIceSheegothFR13CStateManager CreateFlameThrower__12CIceSheegothFR13CStateManager: /* 8019F468 0019C3C8 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8019F46C 0019C3CC 7C 08 02 A6 */ mflr r0 /* 8019F470 0019C3D0 90 01 00 94 */ stw r0, 0x94(r1) /* 8019F474 0019C3D4 BF 21 00 74 */ stmw r25, 0x74(r1) /* 8019F478 0019C3D8 7C 7E 1B 78 */ mr r30, r3 /* 8019F47C 0019C3DC 7C 9F 23 78 */ mr r31, r4 /* 8019F480 0019C3E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8019F484 0019C3E4 A0 63 0A 80 */ lhz r3, 0xa80(r3) /* 8019F488 0019C3E8 7C 03 00 40 */ cmplw r3, r0 /* 8019F48C 0019C3EC 40 82 01 2C */ bne lbl_8019F5B8 /* 8019F490 0019C3F0 80 FE 06 E8 */ lwz r7, 0x6e8(r30) /* 8019F494 0019C3F4 38 C0 00 06 */ li r6, 6 /* 8019F498 0019C3F8 C0 42 A7 78 */ lfs f2, lbl_805AC498@sda21(r2) /* 8019F49C 0019C3FC 38 A0 00 04 */ li r5, 4 /* 8019F4A0 0019C400 C0 22 A7 7C */ lfs f1, lbl_805AC49C@sda21(r2) /* 8019F4A4 0019C404 38 00 00 0F */ li r0, 0xf /* 8019F4A8 0019C408 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 8019F4AC 0019C40C 38 61 00 34 */ addi r3, r1, 0x34 /* 8019F4B0 0019C410 90 C1 00 50 */ stw r6, 0x50(r1) /* 8019F4B4 0019C414 90 A1 00 54 */ stw r5, 0x54(r1) /* 8019F4B8 0019C418 90 E1 00 58 */ stw r7, 0x58(r1) /* 8019F4BC 0019C41C 90 01 00 5C */ stw r0, 0x5c(r1) /* 8019F4C0 0019C420 D0 41 00 60 */ stfs f2, 0x60(r1) /* 8019F4C4 0019C424 D0 21 00 68 */ stfs f1, 0x68(r1) /* 8019F4C8 0019C428 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8019F4CC 0019C42C 4B EA DC 11 */ bl AllocateUniqueId__13CStateManagerFv /* 8019F4D0 0019C430 A0 01 00 34 */ lhz r0, 0x34(r1) /* 8019F4D4 0019C434 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 8019F4D8 0019C438 38 63 13 D8 */ addi r3, r3, lbl_803D13D8@l /* 8019F4DC 0019C43C 3B 20 00 00 */ li r25, 0 /* 8019F4E0 0019C440 B0 1E 0A 80 */ sth r0, 0xa80(r30) /* 8019F4E4 0019C444 38 83 00 8C */ addi r4, r3, 0x8c /* 8019F4E8 0019C448 38 60 04 08 */ li r3, 0x408 /* 8019F4EC 0019C44C 38 A0 00 00 */ li r5, 0 /* 8019F4F0 0019C450 48 17 63 7D */ bl __nw__FUlPCcPCc /* 8019F4F4 0019C454 7C 7D 1B 79 */ or. r29, r3, r3 /* 8019F4F8 0019C458 41 82 00 A0 */ beq lbl_8019F598 /* 8019F4FC 0019C45C A0 1E 00 08 */ lhz r0, 8(r30) /* 8019F500 0019C460 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 8019F504 0019C464 83 9E 07 58 */ lwz r28, 0x758(r30) /* 8019F508 0019C468 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 8019F50C 0019C46C A3 7E 07 54 */ lhz r27, 0x754(r30) /* 8019F510 0019C470 38 61 00 40 */ addi r3, r1, 0x40 /* 8019F514 0019C474 83 5E 07 50 */ lwz r26, 0x750(r30) /* 8019F518 0019C478 38 84 00 93 */ addi r4, r4, 0x93 /* 8019F51C 0019C47C B0 01 00 2C */ sth r0, 0x2c(r1) /* 8019F520 0019C480 B0 01 00 30 */ sth r0, 0x30(r1) /* 8019F524 0019C484 80 BE 00 04 */ lwz r5, 4(r30) /* 8019F528 0019C488 90 A1 00 3C */ stw r5, 0x3c(r1) /* 8019F52C 0019C48C A0 1E 0A 80 */ lhz r0, 0xa80(r30) /* 8019F530 0019C490 90 A1 00 38 */ stw r5, 0x38(r1) /* 8019F534 0019C494 B0 01 00 28 */ sth r0, 0x28(r1) /* 8019F538 0019C498 4B E6 57 81 */ bl string_l__4rstlFPCc /* 8019F53C 0019C49C 38 01 00 28 */ addi r0, r1, 0x28 /* 8019F540 0019C4A0 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8019F544 0019C4A4 90 01 00 08 */ stw r0, 8(r1) /* 8019F548 0019C4A8 38 01 00 3C */ addi r0, r1, 0x3c /* 8019F54C 0019C4AC 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 8019F550 0019C4B0 38 81 00 30 */ addi r4, r1, 0x30 /* 8019F554 0019C4B4 90 01 00 0C */ stw r0, 0xc(r1) /* 8019F558 0019C4B8 38 00 00 00 */ li r0, 0 /* 8019F55C 0019C4BC 7F A3 EB 78 */ mr r3, r29 /* 8019F560 0019C4C0 38 A1 00 40 */ addi r5, r1, 0x40 /* 8019F564 0019C4C4 90 81 00 10 */ stw r4, 0x10(r1) /* 8019F568 0019C4C8 38 9E 0A 84 */ addi r4, r30, 0xa84 /* 8019F56C 0019C4CC 38 E1 00 50 */ addi r7, r1, 0x50 /* 8019F570 0019C4D0 39 5E 06 EC */ addi r10, r30, 0x6ec /* 8019F574 0019C4D4 90 01 00 14 */ stw r0, 0x14(r1) /* 8019F578 0019C4D8 3B 20 00 01 */ li r25, 1 /* 8019F57C 0019C4DC 38 C0 00 03 */ li r6, 3 /* 8019F580 0019C4E0 39 20 00 2F */ li r9, 0x2f /* 8019F584 0019C4E4 93 41 00 18 */ stw r26, 0x18(r1) /* 8019F588 0019C4E8 93 61 00 1C */ stw r27, 0x1c(r1) /* 8019F58C 0019C4EC 93 81 00 20 */ stw r28, 0x20(r1) /* 8019F590 0019C4F0 4B FF 95 61 */ bl "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi" /* 8019F594 0019C4F4 7C 7D 1B 78 */ mr r29, r3 lbl_8019F598: /* 8019F598 0019C4F8 7F 20 07 75 */ extsb. r0, r25 /* 8019F59C 0019C4FC 7F BA EB 78 */ mr r26, r29 /* 8019F5A0 0019C500 41 82 00 0C */ beq lbl_8019F5AC /* 8019F5A4 0019C504 38 61 00 40 */ addi r3, r1, 0x40 /* 8019F5A8 0019C508 48 19 E5 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8019F5AC: /* 8019F5AC 0019C50C 7F E3 FB 78 */ mr r3, r31 /* 8019F5B0 0019C510 7F 44 D3 78 */ mr r4, r26 /* 8019F5B4 0019C514 4B EA D5 61 */ bl AddObject__13CStateManagerFR7CEntity lbl_8019F5B8: /* 8019F5B8 0019C518 BB 21 00 74 */ lmw r25, 0x74(r1) /* 8019F5BC 0019C51C 80 01 00 94 */ lwz r0, 0x94(r1) /* 8019F5C0 0019C520 7C 08 03 A6 */ mtlr r0 /* 8019F5C4 0019C524 38 21 00 90 */ addi r1, r1, 0x90 /* 8019F5C8 0019C528 4E 80 00 20 */ blr .global sub_8019f5cc sub_8019f5cc: /* 8019F5CC 0019C52C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8019F5D0 0019C530 7C 08 02 A6 */ mflr r0 /* 8019F5D4 0019C534 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 8019F5D8 0019C538 90 01 00 24 */ stw r0, 0x24(r1) /* 8019F5DC 0019C53C C0 43 09 5C */ lfs f2, 0x95c(r3) /* 8019F5E0 0019C540 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019F5E4 0019C544 40 81 00 0C */ ble lbl_8019F5F0 /* 8019F5E8 0019C548 C0 42 A7 60 */ lfs f2, lbl_805AC480@sda21(r2) /* 8019F5EC 0019C54C 48 00 00 08 */ b lbl_8019F5F4 lbl_8019F5F0: /* 8019F5F0 0019C550 C0 43 09 44 */ lfs f2, 0x944(r3) lbl_8019F5F4: /* 8019F5F4 0019C554 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8019F5F8 0019C558 C0 63 09 48 */ lfs f3, 0x948(r3) /* 8019F5FC 0019C55C FC 02 18 40 */ fcmpo cr0, f2, f3 /* 8019F600 0019C560 40 81 00 30 */ ble lbl_8019F630 /* 8019F604 0019C564 C0 02 A7 74 */ lfs f0, lbl_805AC494@sda21(r2) /* 8019F608 0019C568 EC 00 18 7A */ fmadds f0, f0, f1, f3 /* 8019F60C 0019C56C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019F610 0019C570 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8019F614 0019C574 40 80 00 0C */ bge lbl_8019F620 /* 8019F618 0019C578 38 81 00 10 */ addi r4, r1, 0x10 /* 8019F61C 0019C57C 48 00 00 08 */ b lbl_8019F624 lbl_8019F620: /* 8019F620 0019C580 38 81 00 0C */ addi r4, r1, 0xc lbl_8019F624: /* 8019F624 0019C584 C0 04 00 00 */ lfs f0, 0(r4) /* 8019F628 0019C588 D0 03 09 48 */ stfs f0, 0x948(r3) /* 8019F62C 0019C58C 48 00 00 30 */ b lbl_8019F65C lbl_8019F630: /* 8019F630 0019C590 40 80 00 2C */ bge lbl_8019F65C /* 8019F634 0019C594 C0 02 A7 74 */ lfs f0, lbl_805AC494@sda21(r2) /* 8019F638 0019C598 EC 00 18 7C */ fnmsubs f0, f0, f1, f3 /* 8019F63C 0019C59C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019F640 0019C5A0 D0 01 00 08 */ stfs f0, 8(r1) /* 8019F644 0019C5A4 40 80 00 0C */ bge lbl_8019F650 /* 8019F648 0019C5A8 38 81 00 08 */ addi r4, r1, 8 /* 8019F64C 0019C5AC 48 00 00 08 */ b lbl_8019F654 lbl_8019F650: /* 8019F650 0019C5B0 38 81 00 10 */ addi r4, r1, 0x10 lbl_8019F654: /* 8019F654 0019C5B4 C0 04 00 00 */ lfs f0, 0(r4) /* 8019F658 0019C5B8 D0 03 09 48 */ stfs f0, 0x948(r3) lbl_8019F65C: /* 8019F65C 0019C5BC C0 23 09 48 */ lfs f1, 0x948(r3) /* 8019F660 0019C5C0 80 63 04 50 */ lwz r3, 0x450(r3) /* 8019F664 0019C5C4 FC 40 08 90 */ fmr f2, f1 /* 8019F668 0019C5C8 38 63 00 04 */ addi r3, r3, 4 /* 8019F66C 0019C5CC 4B F9 21 7D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff /* 8019F670 0019C5D0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019F674 0019C5D4 7C 08 03 A6 */ mtlr r0 /* 8019F678 0019C5D8 38 21 00 20 */ addi r1, r1, 0x20 /* 8019F67C 0019C5DC 4E 80 00 20 */ blr .global sub_8019f680 sub_8019f680: /* 8019F680 0019C5E0 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8019F684 0019C5E4 7C 08 02 A6 */ mflr r0 /* 8019F688 0019C5E8 90 01 00 94 */ stw r0, 0x94(r1) /* 8019F68C 0019C5EC DB E1 00 80 */ stfd f31, 0x80(r1) /* 8019F690 0019C5F0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 8019F694 0019C5F4 BF 61 00 6C */ stmw r27, 0x6c(r1) /* 8019F698 0019C5F8 88 03 04 00 */ lbz r0, 0x400(r3) /* 8019F69C 0019C5FC 7C 7C 1B 78 */ mr r28, r3 /* 8019F6A0 0019C600 7C 9D 23 78 */ mr r29, r4 /* 8019F6A4 0019C604 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8019F6A8 0019C608 41 82 03 44 */ beq lbl_8019F9EC /* 8019F6AC 0019C60C C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 8019F6B0 0019C610 7F A3 EB 78 */ mr r3, r29 /* 8019F6B4 0019C614 38 81 00 1C */ addi r4, r1, 0x1c /* 8019F6B8 0019C618 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8019F6BC 0019C61C A0 1C 0A F8 */ lhz r0, 0xaf8(r28) /* 8019F6C0 0019C620 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8019F6C4 0019C624 4B EA CE B1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019F6C8 0019C628 7C 64 1B 78 */ mr r4, r3 /* 8019F6CC 0019C62C 38 61 00 58 */ addi r3, r1, 0x58 /* 8019F6D0 0019C630 4B F0 FC 7D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019F6D4 0019C634 80 63 00 04 */ lwz r3, 4(r3) /* 8019F6D8 0019C638 28 03 00 00 */ cmplwi r3, 0 /* 8019F6DC 0019C63C 41 82 00 3C */ beq lbl_8019F718 /* 8019F6E0 0019C640 81 83 00 00 */ lwz r12, 0(r3) /* 8019F6E4 0019C644 7F A4 EB 78 */ mr r4, r29 /* 8019F6E8 0019C648 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F6EC 0019C64C 7D 89 03 A6 */ mtctr r12 /* 8019F6F0 0019C650 4E 80 04 21 */ bctrl /* 8019F6F4 0019C654 C0 03 00 00 */ lfs f0, 0(r3) /* 8019F6F8 0019C658 38 61 00 2C */ addi r3, r1, 0x2c /* 8019F6FC 0019C65C C0 3C 09 70 */ lfs f1, 0x970(r28) /* 8019F700 0019C660 38 81 00 28 */ addi r4, r1, 0x28 /* 8019F704 0019C664 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019F708 0019C668 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8019F70C 0019C66C 4B EB 00 25 */ bl "Max__5CMathFRCfRCf" /* 8019F710 0019C670 C0 03 00 00 */ lfs f0, 0(r3) /* 8019F714 0019C674 D0 01 00 2C */ stfs f0, 0x2c(r1) lbl_8019F718: /* 8019F718 0019C678 3B FC 0B 00 */ addi r31, r28, 0xb00 /* 8019F71C 0019C67C 7F FE FB 78 */ mr r30, r31 /* 8019F720 0019C680 48 00 00 74 */ b lbl_8019F794 lbl_8019F724: /* 8019F724 0019C684 A0 1E 00 00 */ lhz r0, 0(r30) /* 8019F728 0019C688 7F A3 EB 78 */ mr r3, r29 /* 8019F72C 0019C68C 38 81 00 18 */ addi r4, r1, 0x18 /* 8019F730 0019C690 B0 01 00 18 */ sth r0, 0x18(r1) /* 8019F734 0019C694 4B EA CE 41 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019F738 0019C698 7C 64 1B 78 */ mr r4, r3 /* 8019F73C 0019C69C 38 61 00 50 */ addi r3, r1, 0x50 /* 8019F740 0019C6A0 4B F0 FC 0D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019F744 0019C6A4 80 63 00 04 */ lwz r3, 4(r3) /* 8019F748 0019C6A8 28 03 00 00 */ cmplwi r3, 0 /* 8019F74C 0019C6AC 41 82 00 44 */ beq lbl_8019F790 /* 8019F750 0019C6B0 81 83 00 00 */ lwz r12, 0(r3) /* 8019F754 0019C6B4 7F A4 EB 78 */ mr r4, r29 /* 8019F758 0019C6B8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F75C 0019C6BC 7D 89 03 A6 */ mtctr r12 /* 8019F760 0019C6C0 4E 80 04 21 */ bctrl /* 8019F764 0019C6C4 C0 03 00 00 */ lfs f0, 0(r3) /* 8019F768 0019C6C8 38 61 00 2C */ addi r3, r1, 0x2c /* 8019F76C 0019C6CC C0 3C 09 70 */ lfs f1, 0x970(r28) /* 8019F770 0019C6D0 38 81 00 24 */ addi r4, r1, 0x24 /* 8019F774 0019C6D4 C0 42 A7 80 */ lfs f2, lbl_805AC4A0@sda21(r2) /* 8019F778 0019C6D8 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019F77C 0019C6DC EC 02 00 32 */ fmuls f0, f2, f0 /* 8019F780 0019C6E0 D0 01 00 24 */ stfs f0, 0x24(r1) /* 8019F784 0019C6E4 4B EA FF AD */ bl "Max__5CMathFRCfRCf" /* 8019F788 0019C6E8 C0 03 00 00 */ lfs f0, 0(r3) /* 8019F78C 0019C6EC D0 01 00 2C */ stfs f0, 0x2c(r1) lbl_8019F790: /* 8019F790 0019C6F0 3B DE 00 02 */ addi r30, r30, 2 lbl_8019F794: /* 8019F794 0019C6F4 80 1C 0A FC */ lwz r0, 0xafc(r28) /* 8019F798 0019C6F8 54 00 08 3C */ slwi r0, r0, 1 /* 8019F79C 0019C6FC 7C 1F 02 14 */ add r0, r31, r0 /* 8019F7A0 0019C700 7C 1E 00 40 */ cmplw r30, r0 /* 8019F7A4 0019C704 40 82 FF 80 */ bne lbl_8019F724 /* 8019F7A8 0019C708 3B DC 0B 08 */ addi r30, r28, 0xb08 /* 8019F7AC 0019C70C 7F DB F3 78 */ mr r27, r30 /* 8019F7B0 0019C710 48 00 00 6C */ b lbl_8019F81C lbl_8019F7B4: /* 8019F7B4 0019C714 A0 1B 00 00 */ lhz r0, 0(r27) /* 8019F7B8 0019C718 7F A3 EB 78 */ mr r3, r29 /* 8019F7BC 0019C71C 38 81 00 14 */ addi r4, r1, 0x14 /* 8019F7C0 0019C720 B0 01 00 14 */ sth r0, 0x14(r1) /* 8019F7C4 0019C724 4B EA CD B1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019F7C8 0019C728 7C 64 1B 78 */ mr r4, r3 /* 8019F7CC 0019C72C 38 61 00 48 */ addi r3, r1, 0x48 /* 8019F7D0 0019C730 4B F0 FB 7D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019F7D4 0019C734 80 63 00 04 */ lwz r3, 4(r3) /* 8019F7D8 0019C738 28 03 00 00 */ cmplwi r3, 0 /* 8019F7DC 0019C73C 41 82 00 3C */ beq lbl_8019F818 /* 8019F7E0 0019C740 81 83 00 00 */ lwz r12, 0(r3) /* 8019F7E4 0019C744 7F A4 EB 78 */ mr r4, r29 /* 8019F7E8 0019C748 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F7EC 0019C74C 7D 89 03 A6 */ mtctr r12 /* 8019F7F0 0019C750 4E 80 04 21 */ bctrl /* 8019F7F4 0019C754 C0 03 00 00 */ lfs f0, 0(r3) /* 8019F7F8 0019C758 38 61 00 2C */ addi r3, r1, 0x2c /* 8019F7FC 0019C75C C0 3C 09 70 */ lfs f1, 0x970(r28) /* 8019F800 0019C760 38 81 00 20 */ addi r4, r1, 0x20 /* 8019F804 0019C764 EC 01 00 28 */ fsubs f0, f1, f0 /* 8019F808 0019C768 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8019F80C 0019C76C 4B EA FF 25 */ bl "Max__5CMathFRCfRCf" /* 8019F810 0019C770 C0 03 00 00 */ lfs f0, 0(r3) /* 8019F814 0019C774 D0 01 00 2C */ stfs f0, 0x2c(r1) lbl_8019F818: /* 8019F818 0019C778 3B 7B 00 02 */ addi r27, r27, 2 lbl_8019F81C: /* 8019F81C 0019C77C 80 1C 0B 04 */ lwz r0, 0xb04(r28) /* 8019F820 0019C780 54 00 08 3C */ slwi r0, r0, 1 /* 8019F824 0019C784 7C 1E 02 14 */ add r0, r30, r0 /* 8019F828 0019C788 7C 1B 00 40 */ cmplw r27, r0 /* 8019F82C 0019C78C 40 82 FF 88 */ bne lbl_8019F7B4 /* 8019F830 0019C790 7F 83 E3 78 */ mr r3, r28 /* 8019F834 0019C794 7F A4 EB 78 */ mr r4, r29 /* 8019F838 0019C798 81 9C 00 00 */ lwz r12, 0(r28) /* 8019F83C 0019C79C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F840 0019C7A0 7D 89 03 A6 */ mtctr r12 /* 8019F844 0019C7A4 4E 80 04 21 */ bctrl /* 8019F848 0019C7A8 C0 23 00 00 */ lfs f1, 0(r3) /* 8019F84C 0019C7AC 7F 83 E3 78 */ mr r3, r28 /* 8019F850 0019C7B0 81 9C 00 00 */ lwz r12, 0(r28) /* 8019F854 0019C7B4 7F A4 EB 78 */ mr r4, r29 /* 8019F858 0019C7B8 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 8019F85C 0019C7BC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F860 0019C7C0 EF E1 00 28 */ fsubs f31, f1, f0 /* 8019F864 0019C7C4 7D 89 03 A6 */ mtctr r12 /* 8019F868 0019C7C8 4E 80 04 21 */ bctrl /* 8019F86C 0019C7CC D3 E3 00 00 */ stfs f31, 0(r3) /* 8019F870 0019C7D0 7F 83 E3 78 */ mr r3, r28 /* 8019F874 0019C7D4 7F A4 EB 78 */ mr r4, r29 /* 8019F878 0019C7D8 81 9C 00 00 */ lwz r12, 0(r28) /* 8019F87C 0019C7DC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F880 0019C7E0 7D 89 03 A6 */ mtctr r12 /* 8019F884 0019C7E4 4E 80 04 21 */ bctrl /* 8019F888 0019C7E8 C0 23 00 00 */ lfs f1, 0(r3) /* 8019F88C 0019C7EC C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 8019F890 0019C7F0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8019F894 0019C7F4 4C 40 13 82 */ cror 2, 0, 2 /* 8019F898 0019C7F8 40 82 00 3C */ bne lbl_8019F8D4 /* 8019F89C 0019C7FC 81 9C 00 00 */ lwz r12, 0(r28) /* 8019F8A0 0019C800 3C 80 80 5A */ lis r4, skZero3f@ha /* 8019F8A4 0019C804 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 8019F8A8 0019C808 7F 83 E3 78 */ mr r3, r28 /* 8019F8AC 0019C80C 81 8C 00 84 */ lwz r12, 0x84(r12) /* 8019F8B0 0019C810 7F A4 EB 78 */ mr r4, r29 /* 8019F8B4 0019C814 38 C0 00 14 */ li r6, 0x14 /* 8019F8B8 0019C818 7D 89 03 A6 */ mtctr r12 /* 8019F8BC 0019C81C 4E 80 04 21 */ bctrl /* 8019F8C0 0019C820 88 1C 0B 28 */ lbz r0, 0xb28(r28) /* 8019F8C4 0019C824 38 60 00 01 */ li r3, 1 /* 8019F8C8 0019C828 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8019F8CC 0019C82C 98 1C 0B 28 */ stb r0, 0xb28(r28) /* 8019F8D0 0019C830 48 00 01 1C */ b lbl_8019F9EC lbl_8019F8D4: /* 8019F8D4 0019C834 A0 1C 0A F8 */ lhz r0, 0xaf8(r28) /* 8019F8D8 0019C838 7F A3 EB 78 */ mr r3, r29 /* 8019F8DC 0019C83C 38 81 00 10 */ addi r4, r1, 0x10 /* 8019F8E0 0019C840 B0 01 00 10 */ sth r0, 0x10(r1) /* 8019F8E4 0019C844 4B EA CC 91 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019F8E8 0019C848 7C 64 1B 78 */ mr r4, r3 /* 8019F8EC 0019C84C 38 61 00 40 */ addi r3, r1, 0x40 /* 8019F8F0 0019C850 4B F0 FA 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019F8F4 0019C854 80 63 00 04 */ lwz r3, 4(r3) /* 8019F8F8 0019C858 28 03 00 00 */ cmplwi r3, 0 /* 8019F8FC 0019C85C 41 82 00 20 */ beq lbl_8019F91C /* 8019F900 0019C860 81 83 00 00 */ lwz r12, 0(r3) /* 8019F904 0019C864 7F A4 EB 78 */ mr r4, r29 /* 8019F908 0019C868 C3 FC 09 70 */ lfs f31, 0x970(r28) /* 8019F90C 0019C86C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F910 0019C870 7D 89 03 A6 */ mtctr r12 /* 8019F914 0019C874 4E 80 04 21 */ bctrl /* 8019F918 0019C878 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8019F91C: /* 8019F91C 0019C87C 7F FB FB 78 */ mr r27, r31 /* 8019F920 0019C880 48 00 00 50 */ b lbl_8019F970 lbl_8019F924: /* 8019F924 0019C884 A0 1B 00 00 */ lhz r0, 0(r27) /* 8019F928 0019C888 7F A3 EB 78 */ mr r3, r29 /* 8019F92C 0019C88C 38 81 00 0C */ addi r4, r1, 0xc /* 8019F930 0019C890 B0 01 00 0C */ sth r0, 0xc(r1) /* 8019F934 0019C894 4B EA CC 41 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019F938 0019C898 7C 64 1B 78 */ mr r4, r3 /* 8019F93C 0019C89C 38 61 00 38 */ addi r3, r1, 0x38 /* 8019F940 0019C8A0 4B F0 FA 0D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019F944 0019C8A4 80 63 00 04 */ lwz r3, 4(r3) /* 8019F948 0019C8A8 28 03 00 00 */ cmplwi r3, 0 /* 8019F94C 0019C8AC 41 82 00 20 */ beq lbl_8019F96C /* 8019F950 0019C8B0 81 83 00 00 */ lwz r12, 0(r3) /* 8019F954 0019C8B4 7F A4 EB 78 */ mr r4, r29 /* 8019F958 0019C8B8 C3 FC 09 70 */ lfs f31, 0x970(r28) /* 8019F95C 0019C8BC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F960 0019C8C0 7D 89 03 A6 */ mtctr r12 /* 8019F964 0019C8C4 4E 80 04 21 */ bctrl /* 8019F968 0019C8C8 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8019F96C: /* 8019F96C 0019C8CC 3B 7B 00 02 */ addi r27, r27, 2 lbl_8019F970: /* 8019F970 0019C8D0 80 1C 0A FC */ lwz r0, 0xafc(r28) /* 8019F974 0019C8D4 54 00 08 3C */ slwi r0, r0, 1 /* 8019F978 0019C8D8 7C 1F 02 14 */ add r0, r31, r0 /* 8019F97C 0019C8DC 7C 1B 00 40 */ cmplw r27, r0 /* 8019F980 0019C8E0 40 82 FF A4 */ bne lbl_8019F924 /* 8019F984 0019C8E4 7F DB F3 78 */ mr r27, r30 /* 8019F988 0019C8E8 48 00 00 50 */ b lbl_8019F9D8 lbl_8019F98C: /* 8019F98C 0019C8EC A0 1B 00 00 */ lhz r0, 0(r27) /* 8019F990 0019C8F0 7F A3 EB 78 */ mr r3, r29 /* 8019F994 0019C8F4 38 81 00 08 */ addi r4, r1, 8 /* 8019F998 0019C8F8 B0 01 00 08 */ sth r0, 8(r1) /* 8019F99C 0019C8FC 4B EA CB D9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019F9A0 0019C900 7C 64 1B 78 */ mr r4, r3 /* 8019F9A4 0019C904 38 61 00 30 */ addi r3, r1, 0x30 /* 8019F9A8 0019C908 4B F0 F9 A5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019F9AC 0019C90C 80 63 00 04 */ lwz r3, 4(r3) /* 8019F9B0 0019C910 28 03 00 00 */ cmplwi r3, 0 /* 8019F9B4 0019C914 41 82 00 20 */ beq lbl_8019F9D4 /* 8019F9B8 0019C918 81 83 00 00 */ lwz r12, 0(r3) /* 8019F9BC 0019C91C 7F A4 EB 78 */ mr r4, r29 /* 8019F9C0 0019C920 C3 FC 09 70 */ lfs f31, 0x970(r28) /* 8019F9C4 0019C924 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019F9C8 0019C928 7D 89 03 A6 */ mtctr r12 /* 8019F9CC 0019C92C 4E 80 04 21 */ bctrl /* 8019F9D0 0019C930 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8019F9D4: /* 8019F9D4 0019C934 3B 7B 00 02 */ addi r27, r27, 2 lbl_8019F9D8: /* 8019F9D8 0019C938 80 1C 0B 04 */ lwz r0, 0xb04(r28) /* 8019F9DC 0019C93C 54 00 08 3C */ slwi r0, r0, 1 /* 8019F9E0 0019C940 7C 1E 02 14 */ add r0, r30, r0 /* 8019F9E4 0019C944 7C 1B 00 40 */ cmplw r27, r0 /* 8019F9E8 0019C948 40 82 FF A4 */ bne lbl_8019F98C lbl_8019F9EC: /* 8019F9EC 0019C94C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 8019F9F0 0019C950 CB E1 00 80 */ lfd f31, 0x80(r1) /* 8019F9F4 0019C954 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 8019F9F8 0019C958 80 01 00 94 */ lwz r0, 0x94(r1) /* 8019F9FC 0019C95C 7C 08 03 A6 */ mtlr r0 /* 8019FA00 0019C960 38 21 00 90 */ addi r1, r1, 0x90 /* 8019FA04 0019C964 4E 80 00 20 */ blr .global sub_8019fa08 sub_8019fa08: /* 8019FA08 0019C968 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8019FA0C 0019C96C 7C 08 02 A6 */ mflr r0 /* 8019FA10 0019C970 90 01 00 54 */ stw r0, 0x54(r1) /* 8019FA14 0019C974 BF 61 00 3C */ stmw r27, 0x3c(r1) /* 8019FA18 0019C978 7C 7D 1B 78 */ mr r29, r3 /* 8019FA1C 0019C97C 7C 9E 23 78 */ mr r30, r4 /* 8019FA20 0019C980 81 83 00 00 */ lwz r12, 0(r3) /* 8019FA24 0019C984 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019FA28 0019C988 7D 89 03 A6 */ mtctr r12 /* 8019FA2C 0019C98C 4E 80 04 21 */ bctrl /* 8019FA30 0019C990 7C 7F 1B 78 */ mr r31, r3 /* 8019FA34 0019C994 3B 9D 0B 00 */ addi r28, r29, 0xb00 /* 8019FA38 0019C998 C0 03 00 00 */ lfs f0, 0(r3) /* 8019FA3C 0019C99C 7F 9B E3 78 */ mr r27, r28 /* 8019FA40 0019C9A0 D0 1D 09 70 */ stfs f0, 0x970(r29) /* 8019FA44 0019C9A4 48 00 00 58 */ b lbl_8019FA9C lbl_8019FA48: /* 8019FA48 0019C9A8 A0 1B 00 00 */ lhz r0, 0(r27) /* 8019FA4C 0019C9AC 7F C3 F3 78 */ mr r3, r30 /* 8019FA50 0019C9B0 38 81 00 10 */ addi r4, r1, 0x10 /* 8019FA54 0019C9B4 B0 01 00 10 */ sth r0, 0x10(r1) /* 8019FA58 0019C9B8 4B EA CB 1D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019FA5C 0019C9BC 7C 64 1B 78 */ mr r4, r3 /* 8019FA60 0019C9C0 38 61 00 24 */ addi r3, r1, 0x24 /* 8019FA64 0019C9C4 4B F0 F8 E9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019FA68 0019C9C8 80 63 00 04 */ lwz r3, 4(r3) /* 8019FA6C 0019C9CC 28 03 00 00 */ cmplwi r3, 0 /* 8019FA70 0019C9D0 41 82 00 28 */ beq lbl_8019FA98 /* 8019FA74 0019C9D4 81 83 00 00 */ lwz r12, 0(r3) /* 8019FA78 0019C9D8 7F C4 F3 78 */ mr r4, r30 /* 8019FA7C 0019C9DC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019FA80 0019C9E0 7D 89 03 A6 */ mtctr r12 /* 8019FA84 0019C9E4 4E 80 04 21 */ bctrl /* 8019FA88 0019C9E8 C0 1F 00 00 */ lfs f0, 0(r31) /* 8019FA8C 0019C9EC D0 03 00 00 */ stfs f0, 0(r3) /* 8019FA90 0019C9F0 C0 1F 00 04 */ lfs f0, 4(r31) /* 8019FA94 0019C9F4 D0 03 00 04 */ stfs f0, 4(r3) lbl_8019FA98: /* 8019FA98 0019C9F8 3B 7B 00 02 */ addi r27, r27, 2 lbl_8019FA9C: /* 8019FA9C 0019C9FC 80 1D 0A FC */ lwz r0, 0xafc(r29) /* 8019FAA0 0019CA00 54 00 08 3C */ slwi r0, r0, 1 /* 8019FAA4 0019CA04 7C 1C 02 14 */ add r0, r28, r0 /* 8019FAA8 0019CA08 7C 1B 00 40 */ cmplw r27, r0 /* 8019FAAC 0019CA0C 40 82 FF 9C */ bne lbl_8019FA48 /* 8019FAB0 0019CA10 A0 1D 0A F8 */ lhz r0, 0xaf8(r29) /* 8019FAB4 0019CA14 7F C3 F3 78 */ mr r3, r30 /* 8019FAB8 0019CA18 38 81 00 0C */ addi r4, r1, 0xc /* 8019FABC 0019CA1C B0 01 00 0C */ sth r0, 0xc(r1) /* 8019FAC0 0019CA20 4B EA CA B5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019FAC4 0019CA24 7C 64 1B 78 */ mr r4, r3 /* 8019FAC8 0019CA28 38 61 00 1C */ addi r3, r1, 0x1c /* 8019FACC 0019CA2C 4B F0 F8 81 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019FAD0 0019CA30 80 63 00 04 */ lwz r3, 4(r3) /* 8019FAD4 0019CA34 28 03 00 00 */ cmplwi r3, 0 /* 8019FAD8 0019CA38 41 82 00 28 */ beq lbl_8019FB00 /* 8019FADC 0019CA3C 81 83 00 00 */ lwz r12, 0(r3) /* 8019FAE0 0019CA40 7F C4 F3 78 */ mr r4, r30 /* 8019FAE4 0019CA44 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019FAE8 0019CA48 7D 89 03 A6 */ mtctr r12 /* 8019FAEC 0019CA4C 4E 80 04 21 */ bctrl /* 8019FAF0 0019CA50 C0 1F 00 00 */ lfs f0, 0(r31) /* 8019FAF4 0019CA54 D0 03 00 00 */ stfs f0, 0(r3) /* 8019FAF8 0019CA58 C0 1F 00 04 */ lfs f0, 4(r31) /* 8019FAFC 0019CA5C D0 03 00 04 */ stfs f0, 4(r3) lbl_8019FB00: /* 8019FB00 0019CA60 3B 9D 0B 08 */ addi r28, r29, 0xb08 /* 8019FB04 0019CA64 7F 9B E3 78 */ mr r27, r28 /* 8019FB08 0019CA68 48 00 00 58 */ b lbl_8019FB60 lbl_8019FB0C: /* 8019FB0C 0019CA6C A0 1B 00 00 */ lhz r0, 0(r27) /* 8019FB10 0019CA70 7F C3 F3 78 */ mr r3, r30 /* 8019FB14 0019CA74 38 81 00 08 */ addi r4, r1, 8 /* 8019FB18 0019CA78 B0 01 00 08 */ sth r0, 8(r1) /* 8019FB1C 0019CA7C 4B EA CA 59 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019FB20 0019CA80 7C 64 1B 78 */ mr r4, r3 /* 8019FB24 0019CA84 38 61 00 14 */ addi r3, r1, 0x14 /* 8019FB28 0019CA88 4B F0 F8 25 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019FB2C 0019CA8C 80 63 00 04 */ lwz r3, 4(r3) /* 8019FB30 0019CA90 28 03 00 00 */ cmplwi r3, 0 /* 8019FB34 0019CA94 41 82 00 28 */ beq lbl_8019FB5C /* 8019FB38 0019CA98 81 83 00 00 */ lwz r12, 0(r3) /* 8019FB3C 0019CA9C 7F C4 F3 78 */ mr r4, r30 /* 8019FB40 0019CAA0 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8019FB44 0019CAA4 7D 89 03 A6 */ mtctr r12 /* 8019FB48 0019CAA8 4E 80 04 21 */ bctrl /* 8019FB4C 0019CAAC C0 1F 00 00 */ lfs f0, 0(r31) /* 8019FB50 0019CAB0 D0 03 00 00 */ stfs f0, 0(r3) /* 8019FB54 0019CAB4 C0 1F 00 04 */ lfs f0, 4(r31) /* 8019FB58 0019CAB8 D0 03 00 04 */ stfs f0, 4(r3) lbl_8019FB5C: /* 8019FB5C 0019CABC 3B 7B 00 02 */ addi r27, r27, 2 lbl_8019FB60: /* 8019FB60 0019CAC0 80 1D 0B 04 */ lwz r0, 0xb04(r29) /* 8019FB64 0019CAC4 54 00 08 3C */ slwi r0, r0, 1 /* 8019FB68 0019CAC8 7C 1C 02 14 */ add r0, r28, r0 /* 8019FB6C 0019CACC 7C 1B 00 40 */ cmplw r27, r0 /* 8019FB70 0019CAD0 40 82 FF 9C */ bne lbl_8019FB0C /* 8019FB74 0019CAD4 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 8019FB78 0019CAD8 80 01 00 54 */ lwz r0, 0x54(r1) /* 8019FB7C 0019CADC 7C 08 03 A6 */ mtlr r0 /* 8019FB80 0019CAE0 38 21 00 50 */ addi r1, r1, 0x50 /* 8019FB84 0019CAE4 4E 80 00 20 */ blr .global sub_8019fb88 sub_8019fb88: /* 8019FB88 0019CAE8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8019FB8C 0019CAEC 7C 08 02 A6 */ mflr r0 /* 8019FB90 0019CAF0 90 01 00 34 */ stw r0, 0x34(r1) /* 8019FB94 0019CAF4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8019FB98 0019CAF8 3B E0 00 00 */ li r31, 0 /* 8019FB9C 0019CAFC 93 C1 00 28 */ stw r30, 0x28(r1) /* 8019FBA0 0019CB00 7C BE 2B 78 */ mr r30, r5 /* 8019FBA4 0019CB04 93 A1 00 24 */ stw r29, 0x24(r1) /* 8019FBA8 0019CB08 7C 9D 23 78 */ mr r29, r4 /* 8019FBAC 0019CB0C 93 81 00 20 */ stw r28, 0x20(r1) /* 8019FBB0 0019CB10 7C 7C 1B 78 */ mr r28, r3 /* 8019FBB4 0019CB14 48 00 00 5C */ b lbl_8019FC10 lbl_8019FBB8: /* 8019FBB8 0019CB18 80 7C 0A 2C */ lwz r3, 0xa2c(r28) /* 8019FBBC 0019CB1C 7F E4 FB 78 */ mr r4, r31 /* 8019FBC0 0019CB20 48 00 76 79 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8019FBC4 0019CB24 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8019FBC8 0019CB28 7F A3 EB 78 */ mr r3, r29 /* 8019FBCC 0019CB2C 38 81 00 08 */ addi r4, r1, 8 /* 8019FBD0 0019CB30 B0 01 00 0C */ sth r0, 0xc(r1) /* 8019FBD4 0019CB34 B0 01 00 08 */ sth r0, 8(r1) /* 8019FBD8 0019CB38 4B EA C9 9D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8019FBDC 0019CB3C 7C 64 1B 78 */ mr r4, r3 /* 8019FBE0 0019CB40 38 61 00 10 */ addi r3, r1, 0x10 /* 8019FBE4 0019CB44 4B F0 F7 69 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8019FBE8 0019CB48 80 63 00 04 */ lwz r3, 4(r3) /* 8019FBEC 0019CB4C 28 03 00 00 */ cmplwi r3, 0 /* 8019FBF0 0019CB50 41 82 00 1C */ beq lbl_8019FC0C /* 8019FBF4 0019CB54 C0 1E 00 00 */ lfs f0, 0(r30) /* 8019FBF8 0019CB58 D0 03 03 04 */ stfs f0, 0x304(r3) /* 8019FBFC 0019CB5C C0 1E 00 04 */ lfs f0, 4(r30) /* 8019FC00 0019CB60 D0 03 03 08 */ stfs f0, 0x308(r3) /* 8019FC04 0019CB64 C0 1E 00 08 */ lfs f0, 8(r30) /* 8019FC08 0019CB68 D0 03 03 0C */ stfs f0, 0x30c(r3) lbl_8019FC0C: /* 8019FC0C 0019CB6C 3B FF 00 01 */ addi r31, r31, 1 lbl_8019FC10: /* 8019FC10 0019CB70 80 7C 0A 2C */ lwz r3, 0xa2c(r28) /* 8019FC14 0019CB74 48 00 76 35 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8019FC18 0019CB78 7C 1F 18 40 */ cmplw r31, r3 /* 8019FC1C 0019CB7C 41 80 FF 9C */ blt lbl_8019FBB8 /* 8019FC20 0019CB80 80 01 00 34 */ lwz r0, 0x34(r1) /* 8019FC24 0019CB84 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8019FC28 0019CB88 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8019FC2C 0019CB8C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8019FC30 0019CB90 83 81 00 20 */ lwz r28, 0x20(r1) /* 8019FC34 0019CB94 7C 08 03 A6 */ mtlr r0 /* 8019FC38 0019CB98 38 21 00 30 */ addi r1, r1, 0x30 /* 8019FC3C 0019CB9C 4E 80 00 20 */ blr .global sub_8019fc40 sub_8019fc40: /* 8019FC40 0019CBA0 80 03 0A FC */ lwz r0, 0xafc(r3) /* 8019FC44 0019CBA4 38 63 0B 00 */ addi r3, r3, 0xb00 /* 8019FC48 0019CBA8 7C 66 1B 78 */ mr r6, r3 /* 8019FC4C 0019CBAC 54 00 08 3C */ slwi r0, r0, 1 /* 8019FC50 0019CBB0 7C A3 02 14 */ add r5, r3, r0 /* 8019FC54 0019CBB4 48 00 00 20 */ b lbl_8019FC74 lbl_8019FC58: /* 8019FC58 0019CBB8 A0 66 00 00 */ lhz r3, 0(r6) /* 8019FC5C 0019CBBC A0 04 00 08 */ lhz r0, 8(r4) /* 8019FC60 0019CBC0 7C 03 00 40 */ cmplw r3, r0 /* 8019FC64 0019CBC4 40 82 00 0C */ bne lbl_8019FC70 /* 8019FC68 0019CBC8 38 60 00 01 */ li r3, 1 /* 8019FC6C 0019CBCC 4E 80 00 20 */ blr lbl_8019FC70: /* 8019FC70 0019CBD0 38 C6 00 02 */ addi r6, r6, 2 lbl_8019FC74: /* 8019FC74 0019CBD4 7C 06 28 40 */ cmplw r6, r5 /* 8019FC78 0019CBD8 40 82 FF E0 */ bne lbl_8019FC58 /* 8019FC7C 0019CBDC 38 60 00 00 */ li r3, 0 /* 8019FC80 0019CBE0 4E 80 00 20 */ blr .global sub_8019fc84 sub_8019fc84: /* 8019FC84 0019CBE4 A0 84 00 08 */ lhz r4, 8(r4) /* 8019FC88 0019CBE8 A0 03 0A F8 */ lhz r0, 0xaf8(r3) /* 8019FC8C 0019CBEC 7C 04 00 50 */ subf r0, r4, r0 /* 8019FC90 0019CBF0 7C 00 00 34 */ cntlzw r0, r0 /* 8019FC94 0019CBF4 54 03 D9 7E */ srwi r3, r0, 5 /* 8019FC98 0019CBF8 4E 80 00 20 */ blr .global sub_8019fc9c sub_8019fc9c: /* 8019FC9C 0019CBFC 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8019FCA0 0019CC00 7C 08 02 A6 */ mflr r0 /* 8019FCA4 0019CC04 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8019FCA8 0019CC08 BE E1 00 CC */ stmw r23, 0xcc(r1) /* 8019FCAC 0019CC0C 7C 77 1B 78 */ mr r23, r3 /* 8019FCB0 0019CC10 7C B8 2B 78 */ mr r24, r5 /* 8019FCB4 0019CC14 7C D9 33 78 */ mr r25, r6 /* 8019FCB8 0019CC18 7C 9E 23 78 */ mr r30, r4 /* 8019FCBC 0019CC1C 3B A1 00 60 */ addi r29, r1, 0x60 /* 8019FCC0 0019CC20 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 8019FCC4 0019CC24 3B 77 0B 20 */ addi r27, r23, 0xb20 /* 8019FCC8 0019CC28 3B 40 00 00 */ li r26, 0 /* 8019FCCC 0019CC2C 80 63 00 64 */ lwz r3, 0x64(r3) /* 8019FCD0 0019CC30 83 E3 00 10 */ lwz r31, 0x10(r3) /* 8019FCD4 0019CC34 48 00 01 40 */ b lbl_8019FE14 lbl_8019FCD8: /* 8019FCD8 0019CC38 80 9E 00 00 */ lwz r4, 0(r30) /* 8019FCDC 0019CC3C 38 61 00 24 */ addi r3, r1, 0x24 /* 8019FCE0 0019CC40 4B E6 4F D9 */ bl string_l__4rstlFPCc /* 8019FCE4 0019CC44 7F E4 FB 78 */ mr r4, r31 /* 8019FCE8 0019CC48 38 61 00 0C */ addi r3, r1, 0xc /* 8019FCEC 0019CC4C 38 A1 00 24 */ addi r5, r1, 0x24 /* 8019FCF0 0019CC50 4B E8 EB 49 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019FCF4 0019CC54 88 01 00 0C */ lbz r0, 0xc(r1) /* 8019FCF8 0019CC58 38 61 00 24 */ addi r3, r1, 0x24 /* 8019FCFC 0019CC5C 98 01 00 10 */ stb r0, 0x10(r1) /* 8019FD00 0019CC60 48 19 DD E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8019FD04 0019CC64 88 01 00 10 */ lbz r0, 0x10(r1) /* 8019FD08 0019CC68 28 00 00 FF */ cmplwi r0, 0xff /* 8019FD0C 0019CC6C 41 82 01 00 */ beq lbl_8019FE0C /* 8019FD10 0019CC70 80 9E 00 00 */ lwz r4, 0(r30) /* 8019FD14 0019CC74 38 61 00 14 */ addi r3, r1, 0x14 /* 8019FD18 0019CC78 4B E6 4F A1 */ bl string_l__4rstlFPCc /* 8019FD1C 0019CC7C 88 01 00 10 */ lbz r0, 0x10(r1) /* 8019FD20 0019CC80 38 61 00 34 */ addi r3, r1, 0x34 /* 8019FD24 0019CC84 C0 3E 00 04 */ lfs f1, 4(r30) /* 8019FD28 0019CC88 38 81 00 08 */ addi r4, r1, 8 /* 8019FD2C 0019CC8C 98 01 00 08 */ stb r0, 8(r1) /* 8019FD30 0019CC90 38 A1 00 14 */ addi r5, r1, 0x14 /* 8019FD34 0019CC94 C0 42 A7 84 */ lfs f2, lbl_805AC4A4@sda21(r2) /* 8019FD38 0019CC98 48 00 8A D5 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 8019FD3C 0019CC9C 80 E1 00 34 */ lwz r7, 0x34(r1) /* 8019FD40 0019CCA0 7F 83 E3 78 */ mr r3, r28 /* 8019FD44 0019CCA4 80 C1 00 38 */ lwz r6, 0x38(r1) /* 8019FD48 0019CCA8 7F A4 EB 78 */ mr r4, r29 /* 8019FD4C 0019CCAC 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 8019FD50 0019CCB0 88 01 00 3D */ lbz r0, 0x3d(r1) /* 8019FD54 0019CCB4 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 8019FD58 0019CCB8 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 8019FD5C 0019CCBC C0 A1 00 48 */ lfs f5, 0x48(r1) /* 8019FD60 0019CCC0 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 8019FD64 0019CCC4 C0 61 00 50 */ lfs f3, 0x50(r1) /* 8019FD68 0019CCC8 C0 41 00 54 */ lfs f2, 0x54(r1) /* 8019FD6C 0019CCCC C0 21 00 58 */ lfs f1, 0x58(r1) /* 8019FD70 0019CCD0 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 8019FD74 0019CCD4 90 E1 00 78 */ stw r7, 0x78(r1) /* 8019FD78 0019CCD8 90 C1 00 7C */ stw r6, 0x7c(r1) /* 8019FD7C 0019CCDC 98 A1 00 80 */ stb r5, 0x80(r1) /* 8019FD80 0019CCE0 98 01 00 81 */ stb r0, 0x81(r1) /* 8019FD84 0019CCE4 D0 E1 00 84 */ stfs f7, 0x84(r1) /* 8019FD88 0019CCE8 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 8019FD8C 0019CCEC D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 8019FD90 0019CCF0 D0 81 00 90 */ stfs f4, 0x90(r1) /* 8019FD94 0019CCF4 D0 61 00 94 */ stfs f3, 0x94(r1) /* 8019FD98 0019CCF8 D0 41 00 98 */ stfs f2, 0x98(r1) /* 8019FD9C 0019CCFC D0 21 00 9C */ stfs f1, 0x9c(r1) /* 8019FDA0 0019CD00 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8019FDA4 0019CD04 48 19 E3 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019FDA8 0019CD08 A0 01 00 70 */ lhz r0, 0x70(r1) /* 8019FDAC 0019CD0C 28 1D 00 00 */ cmplwi r29, 0 /* 8019FDB0 0019CD10 C0 01 00 74 */ lfs f0, 0x74(r1) /* 8019FDB4 0019CD14 B0 01 00 B4 */ sth r0, 0xb4(r1) /* 8019FDB8 0019CD18 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8019FDBC 0019CD1C 41 82 00 0C */ beq lbl_8019FDC8 /* 8019FDC0 0019CD20 7F A3 EB 78 */ mr r3, r29 /* 8019FDC4 0019CD24 48 19 DD 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8019FDC8: /* 8019FDC8 0019CD28 38 61 00 14 */ addi r3, r1, 0x14 /* 8019FDCC 0019CD2C 48 19 DD 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8019FDD0 0019CD30 7F 23 CB 78 */ mr r3, r25 /* 8019FDD4 0019CD34 38 81 00 78 */ addi r4, r1, 0x78 /* 8019FDD8 0019CD38 4B FB 64 59 */ bl sub_80156230 /* 8019FDDC 0019CD3C 80 17 0B 1C */ lwz r0, 0xb1c(r23) /* 8019FDE0 0019CD40 7C 7B 02 15 */ add. r3, r27, r0 /* 8019FDE4 0019CD44 41 82 00 0C */ beq lbl_8019FDF0 /* 8019FDE8 0019CD48 88 01 00 10 */ lbz r0, 0x10(r1) /* 8019FDEC 0019CD4C 98 03 00 00 */ stb r0, 0(r3) lbl_8019FDF0: /* 8019FDF0 0019CD50 80 77 0B 1C */ lwz r3, 0xb1c(r23) /* 8019FDF4 0019CD54 28 1C 00 00 */ cmplwi r28, 0 /* 8019FDF8 0019CD58 38 03 00 01 */ addi r0, r3, 1 /* 8019FDFC 0019CD5C 90 17 0B 1C */ stw r0, 0xb1c(r23) /* 8019FE00 0019CD60 41 82 00 0C */ beq lbl_8019FE0C /* 8019FE04 0019CD64 7F 83 E3 78 */ mr r3, r28 /* 8019FE08 0019CD68 48 19 DC D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8019FE0C: /* 8019FE0C 0019CD6C 3B DE 00 08 */ addi r30, r30, 8 /* 8019FE10 0019CD70 3B 5A 00 01 */ addi r26, r26, 1 lbl_8019FE14: /* 8019FE14 0019CD74 7C 1A C0 00 */ cmpw r26, r24 /* 8019FE18 0019CD78 41 80 FE C0 */ blt lbl_8019FCD8 /* 8019FE1C 0019CD7C BA E1 00 CC */ lmw r23, 0xcc(r1) /* 8019FE20 0019CD80 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8019FE24 0019CD84 7C 08 03 A6 */ mtlr r0 /* 8019FE28 0019CD88 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8019FE2C 0019CD8C 4E 80 00 20 */ blr .global sub_8019fe30 sub_8019fe30: /* 8019FE30 0019CD90 94 21 FF 00 */ stwu r1, -0x100(r1) /* 8019FE34 0019CD94 7C 08 02 A6 */ mflr r0 /* 8019FE38 0019CD98 90 01 01 04 */ stw r0, 0x104(r1) /* 8019FE3C 0019CD9C BF 21 00 E4 */ stmw r25, 0xe4(r1) /* 8019FE40 0019CDA0 7C B9 2B 78 */ mr r25, r5 /* 8019FE44 0019CDA4 7C DA 33 78 */ mr r26, r6 /* 8019FE48 0019CDA8 7C 9E 23 78 */ mr r30, r4 /* 8019FE4C 0019CDAC 3B A1 00 7C */ addi r29, r1, 0x7c /* 8019FE50 0019CDB0 3B 81 00 C0 */ addi r28, r1, 0xc0 /* 8019FE54 0019CDB4 3B 60 00 00 */ li r27, 0 /* 8019FE58 0019CDB8 80 63 00 64 */ lwz r3, 0x64(r3) /* 8019FE5C 0019CDBC 83 E3 00 10 */ lwz r31, 0x10(r3) /* 8019FE60 0019CDC0 48 00 01 6C */ b lbl_8019FFCC lbl_8019FE64: /* 8019FE64 0019CDC4 80 9E 00 00 */ lwz r4, 0(r30) /* 8019FE68 0019CDC8 38 61 00 40 */ addi r3, r1, 0x40 /* 8019FE6C 0019CDCC 4B E6 4E 4D */ bl string_l__4rstlFPCc /* 8019FE70 0019CDD0 7F E4 FB 78 */ mr r4, r31 /* 8019FE74 0019CDD4 38 61 00 14 */ addi r3, r1, 0x14 /* 8019FE78 0019CDD8 38 A1 00 40 */ addi r5, r1, 0x40 /* 8019FE7C 0019CDDC 4B E8 E9 BD */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019FE80 0019CDE0 88 01 00 14 */ lbz r0, 0x14(r1) /* 8019FE84 0019CDE4 38 61 00 40 */ addi r3, r1, 0x40 /* 8019FE88 0019CDE8 98 01 00 1C */ stb r0, 0x1c(r1) /* 8019FE8C 0019CDEC 48 19 DC 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8019FE90 0019CDF0 80 9E 00 04 */ lwz r4, 4(r30) /* 8019FE94 0019CDF4 38 61 00 30 */ addi r3, r1, 0x30 /* 8019FE98 0019CDF8 4B E6 4E 21 */ bl string_l__4rstlFPCc /* 8019FE9C 0019CDFC 7F E4 FB 78 */ mr r4, r31 /* 8019FEA0 0019CE00 38 61 00 10 */ addi r3, r1, 0x10 /* 8019FEA4 0019CE04 38 A1 00 30 */ addi r5, r1, 0x30 /* 8019FEA8 0019CE08 4B E8 E9 91 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019FEAC 0019CE0C 88 01 00 10 */ lbz r0, 0x10(r1) /* 8019FEB0 0019CE10 38 61 00 30 */ addi r3, r1, 0x30 /* 8019FEB4 0019CE14 98 01 00 18 */ stb r0, 0x18(r1) /* 8019FEB8 0019CE18 48 19 DC 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8019FEBC 0019CE1C 88 01 00 1C */ lbz r0, 0x1c(r1) /* 8019FEC0 0019CE20 28 00 00 FF */ cmplwi r0, 0xff /* 8019FEC4 0019CE24 41 82 01 00 */ beq lbl_8019FFC4 /* 8019FEC8 0019CE28 88 01 00 18 */ lbz r0, 0x18(r1) /* 8019FECC 0019CE2C 28 00 00 FF */ cmplwi r0, 0xff /* 8019FED0 0019CE30 41 82 00 F4 */ beq lbl_8019FFC4 /* 8019FED4 0019CE34 80 9E 00 00 */ lwz r4, 0(r30) /* 8019FED8 0019CE38 38 61 00 20 */ addi r3, r1, 0x20 /* 8019FEDC 0019CE3C 4B E6 4D DD */ bl string_l__4rstlFPCc /* 8019FEE0 0019CE40 88 A1 00 18 */ lbz r5, 0x18(r1) /* 8019FEE4 0019CE44 38 61 00 50 */ addi r3, r1, 0x50 /* 8019FEE8 0019CE48 88 01 00 1C */ lbz r0, 0x1c(r1) /* 8019FEEC 0019CE4C 38 81 00 0C */ addi r4, r1, 0xc /* 8019FEF0 0019CE50 98 A1 00 08 */ stb r5, 8(r1) /* 8019FEF4 0019CE54 38 A1 00 08 */ addi r5, r1, 8 /* 8019FEF8 0019CE58 C0 3E 00 08 */ lfs f1, 8(r30) /* 8019FEFC 0019CE5C 38 E1 00 20 */ addi r7, r1, 0x20 /* 8019FF00 0019CE60 98 01 00 0C */ stb r0, 0xc(r1) /* 8019FF04 0019CE64 38 C0 00 01 */ li r6, 1 /* 8019FF08 0019CE68 C0 5E 00 0C */ lfs f2, 0xc(r30) /* 8019FF0C 0019CE6C C0 62 A7 84 */ lfs f3, lbl_805AC4A4@sda21(r2) /* 8019FF10 0019CE70 48 00 88 45 */ bl "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 8019FF14 0019CE74 80 E1 00 50 */ lwz r7, 0x50(r1) /* 8019FF18 0019CE78 7F 83 E3 78 */ mr r3, r28 /* 8019FF1C 0019CE7C 80 C1 00 54 */ lwz r6, 0x54(r1) /* 8019FF20 0019CE80 7F A4 EB 78 */ mr r4, r29 /* 8019FF24 0019CE84 88 A1 00 58 */ lbz r5, 0x58(r1) /* 8019FF28 0019CE88 88 01 00 59 */ lbz r0, 0x59(r1) /* 8019FF2C 0019CE8C C0 E1 00 5C */ lfs f7, 0x5c(r1) /* 8019FF30 0019CE90 C0 C1 00 60 */ lfs f6, 0x60(r1) /* 8019FF34 0019CE94 C0 A1 00 64 */ lfs f5, 0x64(r1) /* 8019FF38 0019CE98 C0 81 00 68 */ lfs f4, 0x68(r1) /* 8019FF3C 0019CE9C C0 61 00 6C */ lfs f3, 0x6c(r1) /* 8019FF40 0019CEA0 C0 41 00 70 */ lfs f2, 0x70(r1) /* 8019FF44 0019CEA4 C0 21 00 74 */ lfs f1, 0x74(r1) /* 8019FF48 0019CEA8 C0 01 00 78 */ lfs f0, 0x78(r1) /* 8019FF4C 0019CEAC 90 E1 00 94 */ stw r7, 0x94(r1) /* 8019FF50 0019CEB0 90 C1 00 98 */ stw r6, 0x98(r1) /* 8019FF54 0019CEB4 98 A1 00 9C */ stb r5, 0x9c(r1) /* 8019FF58 0019CEB8 98 01 00 9D */ stb r0, 0x9d(r1) /* 8019FF5C 0019CEBC D0 E1 00 A0 */ stfs f7, 0xa0(r1) /* 8019FF60 0019CEC0 D0 C1 00 A4 */ stfs f6, 0xa4(r1) /* 8019FF64 0019CEC4 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 8019FF68 0019CEC8 D0 81 00 AC */ stfs f4, 0xac(r1) /* 8019FF6C 0019CECC D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 8019FF70 0019CED0 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 8019FF74 0019CED4 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 8019FF78 0019CED8 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 8019FF7C 0019CEDC 48 19 E1 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8019FF80 0019CEE0 A0 01 00 8C */ lhz r0, 0x8c(r1) /* 8019FF84 0019CEE4 28 1D 00 00 */ cmplwi r29, 0 /* 8019FF88 0019CEE8 C0 01 00 90 */ lfs f0, 0x90(r1) /* 8019FF8C 0019CEEC B0 01 00 D0 */ sth r0, 0xd0(r1) /* 8019FF90 0019CEF0 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 8019FF94 0019CEF4 41 82 00 0C */ beq lbl_8019FFA0 /* 8019FF98 0019CEF8 7F A3 EB 78 */ mr r3, r29 /* 8019FF9C 0019CEFC 48 19 DB 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8019FFA0: /* 8019FFA0 0019CF00 38 61 00 20 */ addi r3, r1, 0x20 /* 8019FFA4 0019CF04 48 19 DB 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8019FFA8 0019CF08 7F 43 D3 78 */ mr r3, r26 /* 8019FFAC 0019CF0C 38 81 00 94 */ addi r4, r1, 0x94 /* 8019FFB0 0019CF10 4B FB 62 81 */ bl sub_80156230 /* 8019FFB4 0019CF14 28 1C 00 00 */ cmplwi r28, 0 /* 8019FFB8 0019CF18 41 82 00 0C */ beq lbl_8019FFC4 /* 8019FFBC 0019CF1C 7F 83 E3 78 */ mr r3, r28 /* 8019FFC0 0019CF20 48 19 DB 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8019FFC4: /* 8019FFC4 0019CF24 3B DE 00 10 */ addi r30, r30, 0x10 /* 8019FFC8 0019CF28 3B 7B 00 01 */ addi r27, r27, 1 lbl_8019FFCC: /* 8019FFCC 0019CF2C 7C 1B C8 00 */ cmpw r27, r25 /* 8019FFD0 0019CF30 41 80 FE 94 */ blt lbl_8019FE64 /* 8019FFD4 0019CF34 BB 21 00 E4 */ lmw r25, 0xe4(r1) /* 8019FFD8 0019CF38 80 01 01 04 */ lwz r0, 0x104(r1) /* 8019FFDC 0019CF3C 7C 08 03 A6 */ mtlr r0 /* 8019FFE0 0019CF40 38 21 01 00 */ addi r1, r1, 0x100 /* 8019FFE4 0019CF44 4E 80 00 20 */ blr .global sub_8019ffe8 sub_8019ffe8: /* 8019FFE8 0019CF48 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8019FFEC 0019CF4C 7C 08 02 A6 */ mflr r0 /* 8019FFF0 0019CF50 3C A0 80 3D */ lis r5, lbl_803D1360@ha /* 8019FFF4 0019CF54 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8019FFF8 0019CF58 38 00 00 00 */ li r0, 0 /* 8019FFFC 0019CF5C BE E1 00 BC */ stmw r23, 0xbc(r1) /* 801A0000 0019CF60 7C 7E 1B 78 */ mr r30, r3 /* 801A0004 0019CF64 7C 9F 23 78 */ mr r31, r4 /* 801A0008 0019CF68 3A E5 13 60 */ addi r23, r5, lbl_803D1360@l /* 801A000C 0019CF6C 38 61 00 88 */ addi r3, r1, 0x88 /* 801A0010 0019CF70 38 80 00 0B */ li r4, 0xb /* 801A0014 0019CF74 90 01 00 8C */ stw r0, 0x8c(r1) /* 801A0018 0019CF78 90 01 00 90 */ stw r0, 0x90(r1) /* 801A001C 0019CF7C 90 01 00 94 */ stw r0, 0x94(r1) /* 801A0020 0019CF80 4B FB 67 99 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801A0024 0019CF84 7F C3 F3 78 */ mr r3, r30 /* 801A0028 0019CF88 38 97 00 40 */ addi r4, r23, 0x40 /* 801A002C 0019CF8C 38 C1 00 88 */ addi r6, r1, 0x88 /* 801A0030 0019CF90 38 A0 00 07 */ li r5, 7 /* 801A0034 0019CF94 4B FF FC 69 */ bl sub_8019fc9c /* 801A0038 0019CF98 7F C3 F3 78 */ mr r3, r30 /* 801A003C 0019CF9C 38 97 00 00 */ addi r4, r23, 0 /* 801A0040 0019CFA0 38 C1 00 88 */ addi r6, r1, 0x88 /* 801A0044 0019CFA4 38 A0 00 02 */ li r5, 2 /* 801A0048 0019CFA8 4B FF FD E9 */ bl sub_8019fe30 /* 801A004C 0019CFAC 7F C3 F3 78 */ mr r3, r30 /* 801A0050 0019CFB0 38 97 00 20 */ addi r4, r23, 0x20 /* 801A0054 0019CFB4 38 C1 00 88 */ addi r6, r1, 0x88 /* 801A0058 0019CFB8 38 A0 00 02 */ li r5, 2 /* 801A005C 0019CFBC 4B FF FD D5 */ bl sub_8019fe30 /* 801A0060 0019CFC0 3C 80 80 3D */ lis r4, lbl_803D13D8@ha /* 801A0064 0019CFC4 38 60 00 18 */ li r3, 0x18 /* 801A0068 0019CFC8 38 84 13 D8 */ addi r4, r4, lbl_803D13D8@l /* 801A006C 0019CFCC 38 A0 00 00 */ li r5, 0 /* 801A0070 0019CFD0 38 84 00 8C */ addi r4, r4, 0x8c /* 801A0074 0019CFD4 48 17 57 F9 */ bl __nw__FUlPCcPCc /* 801A0078 0019CFD8 7C 77 1B 79 */ or. r23, r3, r3 /* 801A007C 0019CFDC 41 82 00 38 */ beq lbl_801A00B4 /* 801A0080 0019CFE0 81 3E 00 04 */ lwz r9, 4(r30) /* 801A0084 0019CFE4 7F E4 FB 78 */ mr r4, r31 /* 801A0088 0019CFE8 38 A1 00 10 */ addi r5, r1, 0x10 /* 801A008C 0019CFEC 38 C1 00 1C */ addi r6, r1, 0x1c /* 801A0090 0019CFF0 91 21 00 1C */ stw r9, 0x1c(r1) /* 801A0094 0019CFF4 38 E1 00 88 */ addi r7, r1, 0x88 /* 801A0098 0019CFF8 39 00 00 01 */ li r8, 1 /* 801A009C 0019CFFC A0 1E 00 08 */ lhz r0, 8(r30) /* 801A00A0 0019D000 91 21 00 18 */ stw r9, 0x18(r1) /* 801A00A4 0019D004 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A00A8 0019D008 B0 01 00 10 */ sth r0, 0x10(r1) /* 801A00AC 0019D00C 48 00 78 85 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801A00B0 0019D010 7C 77 1B 78 */ mr r23, r3 lbl_801A00B4: /* 801A00B4 0019D014 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A00B8 0019D018 38 80 00 01 */ li r4, 1 /* 801A00BC 0019D01C 48 00 78 21 */ bl sub_801a78dc /* 801A00C0 0019D020 92 FE 0A 2C */ stw r23, 0xa2c(r30) /* 801A00C4 0019D024 7F E4 FB 78 */ mr r4, r31 /* 801A00C8 0019D028 88 1E 00 30 */ lbz r0, 0x30(r30) /* 801A00CC 0019D02C 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A00D0 0019D030 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f /* 801A00D4 0019D034 48 00 72 25 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801A00D8 0019D038 38 00 00 00 */ li r0, 0 /* 801A00DC 0019D03C 80 AD 90 0C */ lwz r5, lbl_805A7BCC@sda21(r13) /* 801A00E0 0019D040 90 01 00 34 */ stw r0, 0x34(r1) /* 801A00E4 0019D044 38 60 00 00 */ li r3, 0 /* 801A00E8 0019D048 38 80 00 01 */ li r4, 1 /* 801A00EC 0019D04C 90 01 00 30 */ stw r0, 0x30(r1) /* 801A00F0 0019D050 48 1E 9E 05 */ bl __shl2i /* 801A00F4 0019D054 80 01 00 30 */ lwz r0, 0x30(r1) /* 801A00F8 0019D058 38 A1 00 30 */ addi r5, r1, 0x30 /* 801A00FC 0019D05C 80 C1 00 34 */ lwz r6, 0x34(r1) /* 801A0100 0019D060 7C 00 1B 78 */ or r0, r0, r3 /* 801A0104 0019D064 7C C3 23 78 */ or r3, r6, r4 /* 801A0108 0019D068 90 01 00 30 */ stw r0, 0x30(r1) /* 801A010C 0019D06C 7F E4 FB 78 */ mr r4, r31 /* 801A0110 0019D070 90 61 00 34 */ stw r3, 0x34(r1) /* 801A0114 0019D074 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A0118 0019D078 48 00 71 39 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 801A011C 0019D07C 80 BE 0B 04 */ lwz r5, 0xb04(r30) /* 801A0120 0019D080 3B 5E 0B 08 */ addi r26, r30, 0xb08 /* 801A0124 0019D084 38 60 00 00 */ li r3, 0 /* 801A0128 0019D088 2C 05 00 00 */ cmpwi r5, 0 /* 801A012C 0019D08C 40 81 00 40 */ ble lbl_801A016C /* 801A0130 0019D090 2C 05 00 08 */ cmpwi r5, 8 /* 801A0134 0019D094 38 85 FF F8 */ addi r4, r5, -8 /* 801A0138 0019D098 40 81 00 20 */ ble lbl_801A0158 /* 801A013C 0019D09C 38 04 00 07 */ addi r0, r4, 7 /* 801A0140 0019D0A0 54 00 E8 FE */ srwi r0, r0, 3 /* 801A0144 0019D0A4 7C 09 03 A6 */ mtctr r0 /* 801A0148 0019D0A8 2C 04 00 00 */ cmpwi r4, 0 /* 801A014C 0019D0AC 40 81 00 0C */ ble lbl_801A0158 lbl_801A0150: /* 801A0150 0019D0B0 38 63 00 08 */ addi r3, r3, 8 /* 801A0154 0019D0B4 42 00 FF FC */ bdnz lbl_801A0150 lbl_801A0158: /* 801A0158 0019D0B8 7C 03 28 50 */ subf r0, r3, r5 /* 801A015C 0019D0BC 7C 09 03 A6 */ mtctr r0 /* 801A0160 0019D0C0 7C 03 28 00 */ cmpw r3, r5 /* 801A0164 0019D0C4 40 80 00 08 */ bge lbl_801A016C lbl_801A0168: /* 801A0168 0019D0C8 42 00 00 00 */ bdnz lbl_801A0168 lbl_801A016C: /* 801A016C 0019D0CC 38 60 00 00 */ li r3, 0 /* 801A0170 0019D0D0 3B 7E 0B 00 */ addi r27, r30, 0xb00 /* 801A0174 0019D0D4 90 7E 0B 04 */ stw r3, 0xb04(r30) /* 801A0178 0019D0D8 80 BE 0A FC */ lwz r5, 0xafc(r30) /* 801A017C 0019D0DC 2C 05 00 00 */ cmpwi r5, 0 /* 801A0180 0019D0E0 40 81 00 40 */ ble lbl_801A01C0 /* 801A0184 0019D0E4 2C 05 00 08 */ cmpwi r5, 8 /* 801A0188 0019D0E8 38 85 FF F8 */ addi r4, r5, -8 /* 801A018C 0019D0EC 40 81 00 20 */ ble lbl_801A01AC /* 801A0190 0019D0F0 38 04 00 07 */ addi r0, r4, 7 /* 801A0194 0019D0F4 54 00 E8 FE */ srwi r0, r0, 3 /* 801A0198 0019D0F8 7C 09 03 A6 */ mtctr r0 /* 801A019C 0019D0FC 2C 04 00 00 */ cmpwi r4, 0 /* 801A01A0 0019D100 40 81 00 0C */ ble lbl_801A01AC lbl_801A01A4: /* 801A01A4 0019D104 38 63 00 08 */ addi r3, r3, 8 /* 801A01A8 0019D108 42 00 FF FC */ bdnz lbl_801A01A4 lbl_801A01AC: /* 801A01AC 0019D10C 7C 03 28 50 */ subf r0, r3, r5 /* 801A01B0 0019D110 7C 09 03 A6 */ mtctr r0 /* 801A01B4 0019D114 7C 03 28 00 */ cmpw r3, r5 /* 801A01B8 0019D118 40 80 00 08 */ bge lbl_801A01C0 lbl_801A01BC: /* 801A01BC 0019D11C 42 00 00 00 */ bdnz lbl_801A01BC lbl_801A01C0: /* 801A01C0 0019D120 38 00 00 00 */ li r0, 0 /* 801A01C4 0019D124 3B 9E 05 EC */ addi r28, r30, 0x5ec /* 801A01C8 0019D128 90 1E 0A FC */ stw r0, 0xafc(r30) /* 801A01CC 0019D12C 3B 20 00 00 */ li r25, 0 /* 801A01D0 0019D130 48 00 01 CC */ b lbl_801A039C lbl_801A01D4: /* 801A01D4 0019D134 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A01D8 0019D138 7F 24 CB 78 */ mr r4, r25 /* 801A01DC 0019D13C 48 00 70 5D */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801A01E0 0019D140 7C 7D 1B 78 */ mr r29, r3 /* 801A01E4 0019D144 7F E3 FB 78 */ mr r3, r31 /* 801A01E8 0019D148 A0 1D 00 3C */ lhz r0, 0x3c(r29) /* 801A01EC 0019D14C 38 81 00 08 */ addi r4, r1, 8 /* 801A01F0 0019D150 B0 01 00 14 */ sth r0, 0x14(r1) /* 801A01F4 0019D154 B0 01 00 08 */ sth r0, 8(r1) /* 801A01F8 0019D158 4B EA C3 7D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A01FC 0019D15C 7C 64 1B 78 */ mr r4, r3 /* 801A0200 0019D160 38 61 00 28 */ addi r3, r1, 0x28 /* 801A0204 0019D164 4B F0 F1 49 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A0208 0019D168 83 03 00 04 */ lwz r24, 4(r3) /* 801A020C 0019D16C 28 18 00 00 */ cmplwi r24, 0 /* 801A0210 0019D170 41 82 01 88 */ beq lbl_801A0398 /* 801A0214 0019D174 3C 80 80 57 */ lis r4, lbl_8056D718@ha /* 801A0218 0019D178 7F 03 C3 78 */ mr r3, r24 /* 801A021C 0019D17C 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l /* 801A0220 0019D180 48 00 89 79 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801A0224 0019D184 80 82 A7 40 */ lwz r4, lbl_805AC460@sda21(r2) /* 801A0228 0019D188 38 61 00 78 */ addi r3, r1, 0x78 /* 801A022C 0019D18C 4B E6 4A 8D */ bl string_l__4rstlFPCc /* 801A0230 0019D190 38 7D 00 2C */ addi r3, r29, 0x2c /* 801A0234 0019D194 38 81 00 78 */ addi r4, r1, 0x78 /* 801A0238 0019D198 4B EB 23 A9 */ 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" /* 801A023C 0019D19C 7C 77 1B 78 */ mr r23, r3 /* 801A0240 0019D1A0 38 61 00 78 */ addi r3, r1, 0x78 /* 801A0244 0019D1A4 48 19 D8 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A0248 0019D1A8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 801A024C 0019D1AC 41 82 00 1C */ beq lbl_801A0268 /* 801A0250 0019D1B0 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801A0254 0019D1B4 7F 03 C3 78 */ mr r3, r24 /* 801A0258 0019D1B8 38 9E 09 8C */ addi r4, r30, 0x98c /* 801A025C 0019D1BC B0 1E 0A F8 */ sth r0, 0xaf8(r30) /* 801A0260 0019D1C0 48 00 89 39 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801A0264 0019D1C4 48 00 01 34 */ b lbl_801A0398 lbl_801A0268: /* 801A0268 0019D1C8 80 82 A7 44 */ lwz r4, lbl_805AC464@sda21(r2) /* 801A026C 0019D1CC 38 61 00 68 */ addi r3, r1, 0x68 /* 801A0270 0019D1D0 4B E6 4A 49 */ bl string_l__4rstlFPCc /* 801A0274 0019D1D4 38 7D 00 2C */ addi r3, r29, 0x2c /* 801A0278 0019D1D8 38 81 00 68 */ addi r4, r1, 0x68 /* 801A027C 0019D1DC 4B EB 23 65 */ 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" /* 801A0280 0019D1E0 7C 77 1B 78 */ mr r23, r3 /* 801A0284 0019D1E4 38 61 00 68 */ addi r3, r1, 0x68 /* 801A0288 0019D1E8 48 19 D8 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A028C 0019D1EC 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 801A0290 0019D1F0 41 82 00 18 */ beq lbl_801A02A8 /* 801A0294 0019D1F4 3C 80 80 57 */ lis r4, lbl_8056D7E8@ha /* 801A0298 0019D1F8 7F 03 C3 78 */ mr r3, r24 /* 801A029C 0019D1FC 38 84 D7 E8 */ addi r4, r4, lbl_8056D7E8@l /* 801A02A0 0019D200 48 00 88 F9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801A02A4 0019D204 48 00 00 F4 */ b lbl_801A0398 lbl_801A02A8: /* 801A02A8 0019D208 80 82 A7 3C */ lwz r4, lbl_805AC45C@sda21(r2) /* 801A02AC 0019D20C 38 61 00 58 */ addi r3, r1, 0x58 /* 801A02B0 0019D210 4B E6 4A 09 */ bl string_l__4rstlFPCc /* 801A02B4 0019D214 38 7D 00 2C */ addi r3, r29, 0x2c /* 801A02B8 0019D218 38 81 00 58 */ addi r4, r1, 0x58 /* 801A02BC 0019D21C 4B EB 23 25 */ 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" /* 801A02C0 0019D220 7C 77 1B 78 */ mr r23, r3 /* 801A02C4 0019D224 38 61 00 58 */ addi r3, r1, 0x58 /* 801A02C8 0019D228 48 19 D8 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A02CC 0019D22C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 801A02D0 0019D230 41 82 00 18 */ beq lbl_801A02E8 /* 801A02D4 0019D234 A0 61 00 14 */ lhz r3, 0x14(r1) /* 801A02D8 0019D238 38 00 00 00 */ li r0, 0 /* 801A02DC 0019D23C B0 7E 0A F6 */ sth r3, 0xaf6(r30) /* 801A02E0 0019D240 90 18 03 00 */ stw r0, 0x300(r24) /* 801A02E4 0019D244 48 00 00 B4 */ b lbl_801A0398 lbl_801A02E8: /* 801A02E8 0019D248 80 82 A7 48 */ lwz r4, lbl_805AC468@sda21(r2) /* 801A02EC 0019D24C 38 61 00 48 */ addi r3, r1, 0x48 /* 801A02F0 0019D250 4B E6 49 C9 */ bl string_l__4rstlFPCc /* 801A02F4 0019D254 38 7D 00 2C */ addi r3, r29, 0x2c /* 801A02F8 0019D258 38 81 00 48 */ addi r4, r1, 0x48 /* 801A02FC 0019D25C 4B EB 22 E5 */ 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" /* 801A0300 0019D260 7C 77 1B 78 */ mr r23, r3 /* 801A0304 0019D264 38 61 00 48 */ addi r3, r1, 0x48 /* 801A0308 0019D268 48 19 D7 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A030C 0019D26C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 801A0310 0019D270 40 82 00 30 */ bne lbl_801A0340 /* 801A0314 0019D274 80 82 A7 4C */ lwz r4, lbl_805AC46C@sda21(r2) /* 801A0318 0019D278 38 61 00 38 */ addi r3, r1, 0x38 /* 801A031C 0019D27C 4B E6 49 9D */ bl string_l__4rstlFPCc /* 801A0320 0019D280 38 7D 00 2C */ addi r3, r29, 0x2c /* 801A0324 0019D284 38 81 00 38 */ addi r4, r1, 0x38 /* 801A0328 0019D288 4B EB 22 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" /* 801A032C 0019D28C 7C 7D 1B 78 */ mr r29, r3 /* 801A0330 0019D290 38 61 00 38 */ addi r3, r1, 0x38 /* 801A0334 0019D294 48 19 D7 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A0338 0019D298 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801A033C 0019D29C 41 82 00 2C */ beq lbl_801A0368 lbl_801A0340: /* 801A0340 0019D2A0 80 1E 0A FC */ lwz r0, 0xafc(r30) /* 801A0344 0019D2A4 54 00 08 3C */ slwi r0, r0, 1 /* 801A0348 0019D2A8 7C 7B 02 15 */ add. r3, r27, r0 /* 801A034C 0019D2AC 41 82 00 0C */ beq lbl_801A0358 /* 801A0350 0019D2B0 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801A0354 0019D2B4 B0 03 00 00 */ sth r0, 0(r3) lbl_801A0358: /* 801A0358 0019D2B8 80 7E 0A FC */ lwz r3, 0xafc(r30) /* 801A035C 0019D2BC 38 03 00 01 */ addi r0, r3, 1 /* 801A0360 0019D2C0 90 1E 0A FC */ stw r0, 0xafc(r30) /* 801A0364 0019D2C4 48 00 00 34 */ b lbl_801A0398 lbl_801A0368: /* 801A0368 0019D2C8 80 1E 0B 04 */ lwz r0, 0xb04(r30) /* 801A036C 0019D2CC 54 00 08 3C */ slwi r0, r0, 1 /* 801A0370 0019D2D0 7C 7A 02 15 */ add. r3, r26, r0 /* 801A0374 0019D2D4 41 82 00 0C */ beq lbl_801A0380 /* 801A0378 0019D2D8 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801A037C 0019D2DC B0 03 00 00 */ sth r0, 0(r3) lbl_801A0380: /* 801A0380 0019D2E0 80 BE 0B 04 */ lwz r5, 0xb04(r30) /* 801A0384 0019D2E4 7F 03 C3 78 */ mr r3, r24 /* 801A0388 0019D2E8 7F 84 E3 78 */ mr r4, r28 /* 801A038C 0019D2EC 38 05 00 01 */ addi r0, r5, 1 /* 801A0390 0019D2F0 90 1E 0B 04 */ stw r0, 0xb04(r30) /* 801A0394 0019D2F4 48 00 88 05 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_801A0398: /* 801A0398 0019D2F8 3B 39 00 01 */ addi r25, r25, 1 lbl_801A039C: /* 801A039C 0019D2FC 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A03A0 0019D300 48 00 6E A9 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801A03A4 0019D304 7C 19 18 40 */ cmplw r25, r3 /* 801A03A8 0019D308 41 80 FE 2C */ blt lbl_801A01D4 /* 801A03AC 0019D30C 7F C3 F3 78 */ mr r3, r30 /* 801A03B0 0019D310 7F E4 FB 78 */ mr r4, r31 /* 801A03B4 0019D314 4B FF F6 55 */ bl sub_8019fa08 /* 801A03B8 0019D318 80 AD 90 14 */ lwz r5, lbl_805A7BD4@sda21(r13) /* 801A03BC 0019D31C 38 60 00 00 */ li r3, 0 /* 801A03C0 0019D320 38 80 00 01 */ li r4, 1 /* 801A03C4 0019D324 48 1E 9B 31 */ bl __shl2i /* 801A03C8 0019D328 80 AD 90 18 */ lwz r5, lbl_805A7BD8@sda21(r13) /* 801A03CC 0019D32C 7C 98 23 78 */ mr r24, r4 /* 801A03D0 0019D330 7C 77 1B 78 */ mr r23, r3 /* 801A03D4 0019D334 38 60 00 00 */ li r3, 0 /* 801A03D8 0019D338 38 80 00 01 */ li r4, 1 /* 801A03DC 0019D33C 48 1E 9B 19 */ bl __shl2i /* 801A03E0 0019D340 80 AD 90 1C */ lwz r5, lbl_805A7BDC@sda21(r13) /* 801A03E4 0019D344 7F 18 23 78 */ or r24, r24, r4 /* 801A03E8 0019D348 7E F7 1B 78 */ or r23, r23, r3 /* 801A03EC 0019D34C 38 60 00 00 */ li r3, 0 /* 801A03F0 0019D350 38 80 00 01 */ li r4, 1 /* 801A03F4 0019D354 48 1E 9B 01 */ bl __shl2i /* 801A03F8 0019D358 80 AD 90 10 */ lwz r5, lbl_805A7BD0@sda21(r13) /* 801A03FC 0019D35C 7F 18 23 78 */ or r24, r24, r4 /* 801A0400 0019D360 7E F7 1B 78 */ or r23, r23, r3 /* 801A0404 0019D364 38 60 00 00 */ li r3, 0 /* 801A0408 0019D368 38 80 00 01 */ li r4, 1 /* 801A040C 0019D36C 48 1E 9A E9 */ bl __shl2i /* 801A0410 0019D370 38 00 00 03 */ li r0, 3 /* 801A0414 0019D374 90 81 00 9C */ stw r4, 0x9c(r1) /* 801A0418 0019D378 38 81 00 98 */ addi r4, r1, 0x98 /* 801A041C 0019D37C 90 61 00 98 */ stw r3, 0x98(r1) /* 801A0420 0019D380 7F C3 F3 78 */ mr r3, r30 /* 801A0424 0019D384 93 01 00 A4 */ stw r24, 0xa4(r1) /* 801A0428 0019D388 92 E1 00 A0 */ stw r23, 0xa0(r1) /* 801A042C 0019D38C 90 01 00 A8 */ stw r0, 0xa8(r1) /* 801A0430 0019D390 4B EB 34 71 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801A0434 0019D394 7F C3 F3 78 */ mr r3, r30 /* 801A0438 0019D398 7F E5 FB 78 */ mr r5, r31 /* 801A043C 0019D39C 38 80 00 12 */ li r4, 0x12 /* 801A0440 0019D3A0 4B EB 3F 11 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801A0444 0019D3A4 38 00 00 00 */ li r0, 0 /* 801A0448 0019D3A8 80 AD 90 20 */ lwz r5, lbl_805A7BE0@sda21(r13) /* 801A044C 0019D3AC 90 01 00 24 */ stw r0, 0x24(r1) /* 801A0450 0019D3B0 38 60 00 00 */ li r3, 0 /* 801A0454 0019D3B4 38 80 00 01 */ li r4, 1 /* 801A0458 0019D3B8 90 01 00 20 */ stw r0, 0x20(r1) /* 801A045C 0019D3BC 48 1E 9A 99 */ bl __shl2i /* 801A0460 0019D3C0 80 01 00 20 */ lwz r0, 0x20(r1) /* 801A0464 0019D3C4 80 C1 00 24 */ lwz r6, 0x24(r1) /* 801A0468 0019D3C8 7C 00 1B 78 */ or r0, r0, r3 /* 801A046C 0019D3CC 80 AD 90 24 */ lwz r5, lbl_805A7BE4@sda21(r13) /* 801A0470 0019D3D0 7C C4 23 78 */ or r4, r6, r4 /* 801A0474 0019D3D4 90 01 00 20 */ stw r0, 0x20(r1) /* 801A0478 0019D3D8 38 60 00 00 */ li r3, 0 /* 801A047C 0019D3DC 90 81 00 24 */ stw r4, 0x24(r1) /* 801A0480 0019D3E0 38 80 00 01 */ li r4, 1 /* 801A0484 0019D3E4 48 1E 9A 71 */ bl __shl2i /* 801A0488 0019D3E8 80 01 00 20 */ lwz r0, 0x20(r1) /* 801A048C 0019D3EC 38 A1 00 20 */ addi r5, r1, 0x20 /* 801A0490 0019D3F0 80 C1 00 24 */ lwz r6, 0x24(r1) /* 801A0494 0019D3F4 7C 00 1B 78 */ or r0, r0, r3 /* 801A0498 0019D3F8 7C C3 23 78 */ or r3, r6, r4 /* 801A049C 0019D3FC 90 01 00 20 */ stw r0, 0x20(r1) /* 801A04A0 0019D400 7F E4 FB 78 */ mr r4, r31 /* 801A04A4 0019D404 90 61 00 24 */ stw r3, 0x24(r1) /* 801A04A8 0019D408 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A04AC 0019D40C 48 00 6D A5 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 801A04B0 0019D410 38 61 00 88 */ addi r3, r1, 0x88 /* 801A04B4 0019D414 38 80 FF FF */ li r4, -1 /* 801A04B8 0019D418 4B FB 5E 75 */ bl sub_8015632c /* 801A04BC 0019D41C BA E1 00 BC */ lmw r23, 0xbc(r1) /* 801A04C0 0019D420 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801A04C4 0019D424 7C 08 03 A6 */ mtlr r0 /* 801A04C8 0019D428 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801A04CC 0019D42C 4E 80 00 20 */ blr .global sub_801a04d0 sub_801a04d0: /* 801A04D0 0019D430 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801A04D4 0019D434 7C 08 02 A6 */ mflr r0 /* 801A04D8 0019D438 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801A04DC 0019D43C 93 E1 00 AC */ stw r31, 0xac(r1) /* 801A04E0 0019D440 7C BF 2B 78 */ mr r31, r5 /* 801A04E4 0019D444 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801A04E8 0019D448 7C 7E 1B 78 */ mr r30, r3 /* 801A04EC 0019D44C 7F E3 FB 78 */ mr r3, r31 /* 801A04F0 0019D450 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 801A04F4 0019D454 93 81 00 A0 */ stw r28, 0xa0(r1) /* 801A04F8 0019D458 A0 04 00 00 */ lhz r0, 0(r4) /* 801A04FC 0019D45C 38 81 00 3C */ addi r4, r1, 0x3c /* 801A0500 0019D460 B0 01 00 3C */ sth r0, 0x3c(r1) /* 801A0504 0019D464 4B EA C0 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A0508 0019D468 7C 64 1B 78 */ mr r4, r3 /* 801A050C 0019D46C 38 61 00 40 */ addi r3, r1, 0x40 /* 801A0510 0019D470 4B F0 EE 3D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A0514 0019D474 83 A3 00 04 */ lwz r29, 4(r3) /* 801A0518 0019D478 28 1D 00 00 */ cmplwi r29, 0 /* 801A051C 0019D47C 41 82 01 CC */ beq lbl_801A06E8 /* 801A0520 0019D480 7F C3 F3 78 */ mr r3, r30 /* 801A0524 0019D484 7F E4 FB 78 */ mr r4, r31 /* 801A0528 0019D488 81 9E 00 00 */ lwz r12, 0(r30) /* 801A052C 0019D48C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A0530 0019D490 7D 89 03 A6 */ mtctr r12 /* 801A0534 0019D494 4E 80 04 21 */ bctrl /* 801A0538 0019D498 C0 23 00 00 */ lfs f1, 0(r3) /* 801A053C 0019D49C C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0540 0019D4A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A0544 0019D4A4 40 81 01 A4 */ ble lbl_801A06E8 /* 801A0548 0019D4A8 88 7E 0B 28 */ lbz r3, 0xb28(r30) /* 801A054C 0019D4AC 3B 80 00 00 */ li r28, 0 /* 801A0550 0019D4B0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801A0554 0019D4B4 41 82 00 2C */ beq lbl_801A0580 /* 801A0558 0019D4B8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801A055C 0019D4BC 41 82 00 18 */ beq lbl_801A0574 /* 801A0560 0019D4C0 7F C3 F3 78 */ mr r3, r30 /* 801A0564 0019D4C4 7F A4 EB 78 */ mr r4, r29 /* 801A0568 0019D4C8 4B FF F7 1D */ bl sub_8019fc84 /* 801A056C 0019D4CC 7C 7C 1B 78 */ mr r28, r3 /* 801A0570 0019D4D0 48 00 00 10 */ b lbl_801A0580 lbl_801A0574: /* 801A0574 0019D4D4 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801A0578 0019D4D8 41 82 00 08 */ beq lbl_801A0580 /* 801A057C 0019D4DC 3B 80 00 01 */ li r28, 1 lbl_801A0580: /* 801A0580 0019D4E0 7F A4 EB 78 */ mr r4, r29 /* 801A0584 0019D4E4 38 61 00 38 */ addi r3, r1, 0x38 /* 801A0588 0019D4E8 48 00 86 05 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801A058C 0019D4EC 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801A0590 0019D4F0 A0 81 00 38 */ lhz r4, 0x38(r1) /* 801A0594 0019D4F4 A0 03 00 08 */ lhz r0, 8(r3) /* 801A0598 0019D4F8 7C 04 00 40 */ cmplw r4, r0 /* 801A059C 0019D4FC 40 82 01 4C */ bne lbl_801A06E8 /* 801A05A0 0019D500 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801A05A4 0019D504 41 82 00 98 */ beq lbl_801A063C /* 801A05A8 0019D508 80 AD 8F F8 */ lwz r5, lbl_805A7BB8@sda21(r13) /* 801A05AC 0019D50C 38 60 00 00 */ li r3, 0 /* 801A05B0 0019D510 38 80 00 01 */ li r4, 1 /* 801A05B4 0019D514 48 1E 99 41 */ bl __shl2i /* 801A05B8 0019D518 39 40 00 00 */ li r10, 0 /* 801A05BC 0019D51C 38 00 00 03 */ li r0, 3 /* 801A05C0 0019D520 90 81 00 84 */ stw r4, 0x84(r1) /* 801A05C4 0019D524 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A05C8 0019D528 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801A05CC 0019D52C 38 A1 00 2C */ addi r5, r1, 0x2c /* 801A05D0 0019D530 90 61 00 80 */ stw r3, 0x80(r1) /* 801A05D4 0019D534 38 81 00 34 */ addi r4, r1, 0x34 /* 801A05D8 0019D538 7F E3 FB 78 */ mr r3, r31 /* 801A05DC 0019D53C 38 C1 00 24 */ addi r6, r1, 0x24 /* 801A05E0 0019D540 91 41 00 8C */ stw r10, 0x8c(r1) /* 801A05E4 0019D544 38 FE 07 24 */ addi r7, r30, 0x724 /* 801A05E8 0019D548 39 01 00 80 */ addi r8, r1, 0x80 /* 801A05EC 0019D54C 91 41 00 88 */ stw r10, 0x88(r1) /* 801A05F0 0019D550 90 01 00 90 */ stw r0, 0x90(r1) /* 801A05F4 0019D554 A0 1E 00 08 */ lhz r0, 8(r30) /* 801A05F8 0019D558 B0 01 00 24 */ sth r0, 0x24(r1) /* 801A05FC 0019D55C 81 5F 08 4C */ lwz r10, 0x84c(r31) /* 801A0600 0019D560 B0 01 00 20 */ sth r0, 0x20(r1) /* 801A0604 0019D564 A1 4A 00 08 */ lhz r10, 8(r10) /* 801A0608 0019D568 B1 41 00 2C */ sth r10, 0x2c(r1) /* 801A060C 0019D56C A0 1E 00 08 */ lhz r0, 8(r30) /* 801A0610 0019D570 B1 41 00 28 */ sth r10, 0x28(r1) /* 801A0614 0019D574 B0 01 00 30 */ sth r0, 0x30(r1) /* 801A0618 0019D578 B0 01 00 34 */ sth r0, 0x34(r1) /* 801A061C 0019D57C 4B EA 9A 85 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801A0620 0019D580 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A0624 0019D584 38 60 00 00 */ li r3, 0 /* 801A0628 0019D588 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A062C 0019D58C 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A0630 0019D590 C0 1E 04 24 */ lfs f0, 0x424(r30) /* 801A0634 0019D594 D0 1E 04 20 */ stfs f0, 0x420(r30) /* 801A0638 0019D598 48 00 00 B0 */ b lbl_801A06E8 lbl_801A063C: /* 801A063C 0019D59C C0 3E 04 20 */ lfs f1, 0x420(r30) /* 801A0640 0019D5A0 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0644 0019D5A4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A0648 0019D5A8 4C 40 13 82 */ cror 2, 0, 2 /* 801A064C 0019D5AC 40 82 00 9C */ bne lbl_801A06E8 /* 801A0650 0019D5B0 80 AD 8F F8 */ lwz r5, lbl_805A7BB8@sda21(r13) /* 801A0654 0019D5B4 38 60 00 00 */ li r3, 0 /* 801A0658 0019D5B8 38 80 00 01 */ li r4, 1 /* 801A065C 0019D5BC 48 1E 98 99 */ bl __shl2i /* 801A0660 0019D5C0 38 A0 00 00 */ li r5, 0 /* 801A0664 0019D5C4 38 00 00 03 */ li r0, 3 /* 801A0668 0019D5C8 90 81 00 4C */ stw r4, 0x4c(r1) /* 801A066C 0019D5CC 7F C4 F3 78 */ mr r4, r30 /* 801A0670 0019D5D0 90 61 00 48 */ stw r3, 0x48(r1) /* 801A0674 0019D5D4 38 61 00 60 */ addi r3, r1, 0x60 /* 801A0678 0019D5D8 90 A1 00 54 */ stw r5, 0x54(r1) /* 801A067C 0019D5DC 90 A1 00 50 */ stw r5, 0x50(r1) /* 801A0680 0019D5E0 90 01 00 58 */ stw r0, 0x58(r1) /* 801A0684 0019D5E4 A0 1E 00 08 */ lhz r0, 8(r30) /* 801A0688 0019D5E8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A068C 0019D5EC 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801A0690 0019D5F0 B0 01 00 08 */ sth r0, 8(r1) /* 801A0694 0019D5F4 A0 A5 00 08 */ lhz r5, 8(r5) /* 801A0698 0019D5F8 B0 A1 00 14 */ sth r5, 0x14(r1) /* 801A069C 0019D5FC A0 1E 00 08 */ lhz r0, 8(r30) /* 801A06A0 0019D600 B0 A1 00 10 */ sth r5, 0x10(r1) /* 801A06A4 0019D604 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801A06A8 0019D608 81 9E 00 00 */ lwz r12, 0(r30) /* 801A06AC 0019D60C B0 01 00 18 */ sth r0, 0x18(r1) /* 801A06B0 0019D610 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801A06B4 0019D614 7D 89 03 A6 */ mtctr r12 /* 801A06B8 0019D618 4E 80 04 21 */ bctrl /* 801A06BC 0019D61C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A06C0 0019D620 7F E3 FB 78 */ mr r3, r31 /* 801A06C4 0019D624 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801A06C8 0019D628 38 A1 00 14 */ addi r5, r1, 0x14 /* 801A06CC 0019D62C 38 81 00 1C */ addi r4, r1, 0x1c /* 801A06D0 0019D630 38 C1 00 0C */ addi r6, r1, 0xc /* 801A06D4 0019D634 38 E1 00 60 */ addi r7, r1, 0x60 /* 801A06D8 0019D638 39 01 00 48 */ addi r8, r1, 0x48 /* 801A06DC 0019D63C 4B EA 99 C5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801A06E0 0019D640 C0 1E 04 24 */ lfs f0, 0x424(r30) /* 801A06E4 0019D644 D0 1E 04 20 */ stfs f0, 0x420(r30) lbl_801A06E8: /* 801A06E8 0019D648 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801A06EC 0019D64C 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801A06F0 0019D650 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801A06F4 0019D654 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 801A06F8 0019D658 83 81 00 A0 */ lwz r28, 0xa0(r1) /* 801A06FC 0019D65C 7C 08 03 A6 */ mtlr r0 /* 801A0700 0019D660 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801A0704 0019D664 4E 80 00 20 */ blr .global sub_801a0708 sub_801a0708: /* 801A0708 0019D668 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 801A070C 0019D66C 7C 08 02 A6 */ mflr r0 /* 801A0710 0019D670 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 801A0714 0019D674 DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 801A0718 0019D678 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 801A071C 0019D67C DB C1 01 90 */ stfd f30, 0x190(r1) /* 801A0720 0019D680 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 801A0724 0019D684 DB A1 01 80 */ stfd f29, 0x180(r1) /* 801A0728 0019D688 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 801A072C 0019D68C DB 81 01 70 */ stfd f28, 0x170(r1) /* 801A0730 0019D690 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 801A0734 0019D694 DB 61 01 60 */ stfd f27, 0x160(r1) /* 801A0738 0019D698 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 801A073C 0019D69C DB 41 01 50 */ stfd f26, 0x150(r1) /* 801A0740 0019D6A0 F3 41 01 58 */ psq_st f26, 344(r1), 0, qr0 /* 801A0744 0019D6A4 DB 21 01 40 */ stfd f25, 0x140(r1) /* 801A0748 0019D6A8 F3 21 01 48 */ psq_st f25, 328(r1), 0, qr0 /* 801A074C 0019D6AC 93 E1 01 3C */ stw r31, 0x13c(r1) /* 801A0750 0019D6B0 93 C1 01 38 */ stw r30, 0x138(r1) /* 801A0754 0019D6B4 93 A1 01 34 */ stw r29, 0x134(r1) /* 801A0758 0019D6B8 93 81 01 30 */ stw r28, 0x130(r1) /* 801A075C 0019D6BC 7C 9E 23 78 */ mr r30, r4 /* 801A0760 0019D6C0 7C 7D 1B 78 */ mr r29, r3 /* 801A0764 0019D6C4 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 801A0768 0019D6C8 38 61 00 50 */ addi r3, r1, 0x50 /* 801A076C 0019D6CC C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801A0770 0019D6D0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801A0774 0019D6D4 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 801A0778 0019D6D8 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801A077C 0019D6DC EC 81 00 28 */ fsubs f4, f1, f0 /* 801A0780 0019D6E0 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 801A0784 0019D6E4 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A0788 0019D6E8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A078C 0019D6EC EC 01 00 28 */ fsubs f0, f1, f0 /* 801A0790 0019D6F0 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801A0794 0019D6F4 D0 41 00 58 */ stfs f2, 0x58(r1) /* 801A0798 0019D6F8 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801A079C 0019D6FC 48 17 41 1D */ bl Magnitude__9CVector3fCFv /* 801A07A0 0019D700 FF C0 08 90 */ fmr f30, f1 /* 801A07A4 0019D704 C0 42 A7 8C */ lfs f2, lbl_805AC4AC@sda21(r2) /* 801A07A8 0019D708 C0 22 A7 88 */ lfs f1, lbl_805AC4A8@sda21(r2) /* 801A07AC 0019D70C C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A07B0 0019D710 EF E2 0F BC */ fnmsubs f31, f2, f30, f1 /* 801A07B4 0019D714 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801A07B8 0019D718 40 81 02 28 */ ble lbl_801A09E0 /* 801A07BC 0019D71C 80 1F 02 B0 */ lwz r0, 0x2b0(r31) /* 801A07C0 0019D720 2C 00 00 02 */ cmpwi r0, 2 /* 801A07C4 0019D724 40 82 00 0C */ bne lbl_801A07D0 /* 801A07C8 0019D728 80 1F 02 AC */ lwz r0, 0x2ac(r31) /* 801A07CC 0019D72C 48 00 00 08 */ b lbl_801A07D4 lbl_801A07D0: /* 801A07D0 0019D730 38 00 00 04 */ li r0, 4 lbl_801A07D4: /* 801A07D4 0019D734 2C 00 00 01 */ cmpwi r0, 1 /* 801A07D8 0019D738 41 82 02 08 */ beq lbl_801A09E0 /* 801A07DC 0019D73C 88 1F 09 C4 */ lbz r0, 0x9c4(r31) /* 801A07E0 0019D740 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801A07E4 0019D744 40 82 01 FC */ bne lbl_801A09E0 /* 801A07E8 0019D748 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 801A07EC 0019D74C 38 60 00 01 */ li r3, 1 /* 801A07F0 0019D750 2C 00 00 01 */ cmpwi r0, 1 /* 801A07F4 0019D754 41 82 00 C0 */ beq lbl_801A08B4 /* 801A07F8 0019D758 80 9E 08 70 */ lwz r4, 0x870(r30) /* 801A07FC 0019D75C 38 61 00 08 */ addi r3, r1, 8 /* 801A0800 0019D760 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 801A0804 0019D764 A3 85 00 08 */ lhz r28, 8(r5) /* 801A0808 0019D768 4B E6 B3 D1 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 801A080C 0019D76C A0 01 00 08 */ lhz r0, 8(r1) /* 801A0810 0019D770 7C 00 E0 40 */ cmplw r0, r28 /* 801A0814 0019D774 40 82 00 98 */ bne lbl_801A08AC /* 801A0818 0019D778 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 801A081C 0019D77C FC 40 F8 90 */ fmr f2, f31 /* 801A0820 0019D780 C0 7D 00 50 */ lfs f3, 0x50(r29) /* 801A0824 0019D784 38 61 00 5C */ addi r3, r1, 0x5c /* 801A0828 0019D788 C0 1D 00 60 */ lfs f0, 0x60(r29) /* 801A082C 0019D78C 38 81 00 38 */ addi r4, r1, 0x38 /* 801A0830 0019D790 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801A0834 0019D794 C0 22 A7 88 */ lfs f1, lbl_805AC4A8@sda21(r2) /* 801A0838 0019D798 D0 61 00 30 */ stfs f3, 0x30(r1) /* 801A083C 0019D79C 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 801A0840 0019D7A0 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801A0844 0019D7A4 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801A0848 0019D7A8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A084C 0019D7AC 90 C1 00 38 */ stw r6, 0x38(r1) /* 801A0850 0019D7B0 C0 62 A7 90 */ lfs f3, lbl_805AC4B0@sda21(r2) /* 801A0854 0019D7B4 90 A1 00 3C */ stw r5, 0x3c(r1) /* 801A0858 0019D7B8 90 01 00 40 */ stw r0, 0x40(r1) /* 801A085C 0019D7BC 4B FB CD 69 */ bl BuildPatternedExplodeShakeData__16CCameraShakeDataFRC9CVector3ffff /* 801A0860 0019D7C0 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801A0864 0019D7C4 38 81 00 5C */ addi r4, r1, 0x5c /* 801A0868 0019D7C8 38 A0 00 01 */ li r5, 1 /* 801A086C 0019D7CC 4B E6 A1 B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801A0870 0019D7D0 34 81 00 DC */ addic. r4, r1, 0xdc /* 801A0874 0019D7D4 41 82 00 10 */ beq lbl_801A0884 /* 801A0878 0019D7D8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801A087C 0019D7DC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801A0880 0019D7E0 90 04 00 00 */ stw r0, 0(r4) lbl_801A0884: /* 801A0884 0019D7E4 34 81 00 A0 */ addic. r4, r1, 0xa0 /* 801A0888 0019D7E8 41 82 00 10 */ beq lbl_801A0898 /* 801A088C 0019D7EC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801A0890 0019D7F0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801A0894 0019D7F4 90 04 00 00 */ stw r0, 0(r4) lbl_801A0898: /* 801A0898 0019D7F8 34 81 00 64 */ addic. r4, r1, 0x64 /* 801A089C 0019D7FC 41 82 00 10 */ beq lbl_801A08AC /* 801A08A0 0019D800 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801A08A4 0019D804 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801A08A8 0019D808 90 04 00 00 */ stw r0, 0(r4) lbl_801A08AC: /* 801A08AC 0019D80C 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A08B0 0019D810 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f lbl_801A08B4: /* 801A08B4 0019D814 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A08B8 0019D818 41 82 01 28 */ beq lbl_801A09E0 /* 801A08BC 0019D81C 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A08C0 0019D820 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801A08C4 0019D824 41 82 00 0C */ beq lbl_801A08D0 /* 801A08C8 0019D828 C0 62 A7 94 */ lfs f3, lbl_805AC4B4@sda21(r2) /* 801A08CC 0019D82C 48 00 00 08 */ b lbl_801A08D4 lbl_801A08D0: /* 801A08D0 0019D830 C0 62 A7 98 */ lfs f3, lbl_805AC4B8@sda21(r2) lbl_801A08D4: /* 801A08D4 0019D834 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801A08D8 0019D838 C0 1D 09 78 */ lfs f0, 0x978(r29) /* 801A08DC 0019D83C 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l /* 801A08E0 0019D840 C0 44 00 00 */ lfs f2, 0(r4) /* 801A08E4 0019D844 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801A08E8 0019D848 C0 24 00 04 */ lfs f1, 4(r4) /* 801A08EC 0019D84C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A08F0 0019D850 C0 04 00 08 */ lfs f0, 8(r4) /* 801A08F4 0019D854 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801A08F8 0019D858 EC 23 00 72 */ fmuls f1, f3, f1 /* 801A08FC 0019D85C C7 63 66 A0 */ lfsu f27, skZero3f@l(r3) /* 801A0900 0019D860 EC 03 00 32 */ fmuls f0, f3, f0 /* 801A0904 0019D864 EF 9F 00 B2 */ fmuls f28, f31, f2 /* 801A0908 0019D868 EF BF 00 72 */ fmuls f29, f31, f1 /* 801A090C 0019D86C C3 43 00 04 */ lfs f26, 4(r3) /* 801A0910 0019D870 EF DF 00 32 */ fmuls f30, f31, f0 /* 801A0914 0019D874 C3 23 00 08 */ lfs f25, 8(r3) /* 801A0918 0019D878 40 81 00 7C */ ble lbl_801A0994 /* 801A091C 0019D87C C0 21 00 50 */ lfs f1, 0x50(r1) /* 801A0920 0019D880 38 61 00 0C */ addi r3, r1, 0xc /* 801A0924 0019D884 C0 41 00 54 */ lfs f2, 0x54(r1) /* 801A0928 0019D888 48 17 38 D9 */ bl __ct__9CVector2fFff /* 801A092C 0019D88C C0 41 00 0C */ lfs f2, 0xc(r1) /* 801A0930 0019D890 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801A0934 0019D894 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0938 0019D898 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801A093C 0019D89C D0 21 00 48 */ stfs f1, 0x48(r1) /* 801A0940 0019D8A0 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801A0944 0019D8A4 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A0948 0019D8A8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801A094C 0019D8AC 41 82 00 48 */ beq lbl_801A0994 /* 801A0950 0019D8B0 38 61 00 44 */ addi r3, r1, 0x44 /* 801A0954 0019D8B4 48 17 3D A5 */ bl CanBeNormalized__9CVector3fCFv /* 801A0958 0019D8B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A095C 0019D8BC 41 82 00 38 */ beq lbl_801A0994 /* 801A0960 0019D8C0 38 61 00 20 */ addi r3, r1, 0x20 /* 801A0964 0019D8C4 38 81 00 44 */ addi r4, r1, 0x44 /* 801A0968 0019D8C8 48 17 3E E9 */ bl AsNormalized__9CVector3fCFv /* 801A096C 0019D8CC C0 62 A7 9C */ lfs f3, lbl_805AC4BC@sda21(r2) /* 801A0970 0019D8D0 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801A0974 0019D8D4 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801A0978 0019D8D8 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801A097C 0019D8DC EC 43 00 B2 */ fmuls f2, f3, f2 /* 801A0980 0019D8E0 EC 23 00 72 */ fmuls f1, f3, f1 /* 801A0984 0019D8E4 EC 03 00 32 */ fmuls f0, f3, f0 /* 801A0988 0019D8E8 EF 7F 00 B2 */ fmuls f27, f31, f2 /* 801A098C 0019D8EC EF 5F 00 72 */ fmuls f26, f31, f1 /* 801A0990 0019D8F0 EF 3F 00 32 */ fmuls f25, f31, f0 lbl_801A0994: /* 801A0994 0019D8F4 EC 5C D8 2A */ fadds f2, f28, f27 /* 801A0998 0019D8F8 C0 7F 00 E8 */ lfs f3, 0xe8(r31) /* 801A099C 0019D8FC EC 3D D0 2A */ fadds f1, f29, f26 /* 801A09A0 0019D900 EC 1E C8 2A */ fadds f0, f30, f25 /* 801A09A4 0019D904 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801A09A8 0019D908 EC 23 00 72 */ fmuls f1, f3, f1 /* 801A09AC 0019D90C EC 03 00 32 */ fmuls f0, f3, f0 /* 801A09B0 0019D910 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801A09B4 0019D914 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A09B8 0019D918 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A09BC 0019D91C 4B E7 AB 79 */ bl Identity__10CAxisAngleFv /* 801A09C0 0019D920 7C 65 1B 78 */ mr r5, r3 /* 801A09C4 0019D924 7F E3 FB 78 */ mr r3, r31 /* 801A09C8 0019D928 38 81 00 14 */ addi r4, r1, 0x14 /* 801A09CC 0019D92C 4B F7 B9 CD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 801A09D0 0019D930 7F E3 FB 78 */ mr r3, r31 /* 801A09D4 0019D934 7F C5 F3 78 */ mr r5, r30 /* 801A09D8 0019D938 38 80 00 02 */ li r4, 2 /* 801A09DC 0019D93C 48 0E 5A 11 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager lbl_801A09E0: /* 801A09E0 0019D940 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A09E4 0019D944 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801A09E8 0019D948 41 82 00 1C */ beq lbl_801A0A04 /* 801A09EC 0019D94C C0 22 A7 A0 */ lfs f1, lbl_805AC4C0@sda21(r2) /* 801A09F0 0019D950 7F A3 EB 78 */ mr r3, r29 /* 801A09F4 0019D954 C0 1D 06 DC */ lfs f0, 0x6dc(r29) /* 801A09F8 0019D958 7F C4 F3 78 */ mr r4, r30 /* 801A09FC 0019D95C EC 21 00 32 */ fmuls f1, f1, f0 /* 801A0A00 0019D960 4B FF E1 F1 */ bl sub_8019ebf0 lbl_801A0A04: /* 801A0A04 0019D964 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 801A0A08 0019D968 CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 801A0A0C 0019D96C E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 801A0A10 0019D970 CB C1 01 90 */ lfd f30, 0x190(r1) /* 801A0A14 0019D974 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 801A0A18 0019D978 CB A1 01 80 */ lfd f29, 0x180(r1) /* 801A0A1C 0019D97C E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 801A0A20 0019D980 CB 81 01 70 */ lfd f28, 0x170(r1) /* 801A0A24 0019D984 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 801A0A28 0019D988 CB 61 01 60 */ lfd f27, 0x160(r1) /* 801A0A2C 0019D98C E3 41 01 58 */ psq_l f26, 344(r1), 0, qr0 /* 801A0A30 0019D990 CB 41 01 50 */ lfd f26, 0x150(r1) /* 801A0A34 0019D994 E3 21 01 48 */ psq_l f25, 328(r1), 0, qr0 /* 801A0A38 0019D998 CB 21 01 40 */ lfd f25, 0x140(r1) /* 801A0A3C 0019D99C 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 801A0A40 0019D9A0 83 C1 01 38 */ lwz r30, 0x138(r1) /* 801A0A44 0019D9A4 83 A1 01 34 */ lwz r29, 0x134(r1) /* 801A0A48 0019D9A8 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 801A0A4C 0019D9AC 83 81 01 30 */ lwz r28, 0x130(r1) /* 801A0A50 0019D9B0 7C 08 03 A6 */ mtlr r0 /* 801A0A54 0019D9B4 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 801A0A58 0019D9B8 4E 80 00 20 */ blr .global sub_801a0a5c sub_801a0a5c: /* 801A0A5C 0019D9BC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801A0A60 0019D9C0 7C 08 02 A6 */ mflr r0 /* 801A0A64 0019D9C4 90 01 00 54 */ stw r0, 0x54(r1) /* 801A0A68 0019D9C8 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801A0A6C 0019D9CC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801A0A70 0019D9D0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801A0A74 0019D9D4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801A0A78 0019D9D8 7C 7E 1B 78 */ mr r30, r3 /* 801A0A7C 0019D9DC 7C BF 2B 78 */ mr r31, r5 /* 801A0A80 0019D9E0 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801A0A84 0019D9E4 7C 85 23 78 */ mr r5, r4 /* 801A0A88 0019D9E8 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801A0A8C 0019D9EC C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A0A90 0019D9F0 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A0A94 0019D9F4 D0 1F 00 00 */ stfs f0, 0(r31) /* 801A0A98 0019D9F8 D0 5F 00 04 */ stfs f2, 4(r31) /* 801A0A9C 0019D9FC D0 7F 00 08 */ stfs f3, 8(r31) /* 801A0AA0 0019DA00 C0 03 09 54 */ lfs f0, 0x954(r3) /* 801A0AA4 0019DA04 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801A0AA8 0019DA08 4C 40 13 82 */ cror 2, 0, 2 /* 801A0AAC 0019DA0C 40 82 00 C0 */ bne lbl_801A0B6C /* 801A0AB0 0019DA10 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801A0AB4 0019DA14 38 61 00 14 */ addi r3, r1, 0x14 /* 801A0AB8 0019DA18 81 84 00 00 */ lwz r12, 0(r4) /* 801A0ABC 0019DA1C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A0AC0 0019DA20 7D 89 03 A6 */ mtctr r12 /* 801A0AC4 0019DA24 4E 80 04 21 */ bctrl /* 801A0AC8 0019DA28 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801A0ACC 0019DA2C 38 61 00 20 */ addi r3, r1, 0x20 /* 801A0AD0 0019DA30 D0 1F 00 00 */ stfs f0, 0(r31) /* 801A0AD4 0019DA34 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801A0AD8 0019DA38 D0 1F 00 04 */ stfs f0, 4(r31) /* 801A0ADC 0019DA3C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801A0AE0 0019DA40 D0 1F 00 08 */ stfs f0, 8(r31) /* 801A0AE4 0019DA44 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801A0AE8 0019DA48 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A0AEC 0019DA4C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801A0AF0 0019DA50 C0 5F 00 08 */ lfs f2, 8(r31) /* 801A0AF4 0019DA54 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A0AF8 0019DA58 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801A0AFC 0019DA5C C0 1F 00 00 */ lfs f0, 0(r31) /* 801A0B00 0019DA60 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A0B04 0019DA64 EC 01 00 28 */ fsubs f0, f1, f0 /* 801A0B08 0019DA68 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801A0B0C 0019DA6C D0 41 00 28 */ stfs f2, 0x28(r1) /* 801A0B10 0019DA70 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801A0B14 0019DA74 48 17 3B E5 */ bl CanBeNormalized__9CVector3fCFv /* 801A0B18 0019DA78 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A0B1C 0019DA7C 41 82 00 50 */ beq lbl_801A0B6C /* 801A0B20 0019DA80 C3 FE 02 FC */ lfs f31, 0x2fc(r30) /* 801A0B24 0019DA84 38 61 00 08 */ addi r3, r1, 8 /* 801A0B28 0019DA88 38 81 00 20 */ addi r4, r1, 0x20 /* 801A0B2C 0019DA8C 48 17 3D 25 */ bl AsNormalized__9CVector3fCFv /* 801A0B30 0019DA90 C0 01 00 08 */ lfs f0, 8(r1) /* 801A0B34 0019DA94 C0 61 00 0C */ lfs f3, 0xc(r1) /* 801A0B38 0019DA98 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801A0B3C 0019DA9C C0 3F 00 00 */ lfs f1, 0(r31) /* 801A0B40 0019DAA0 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801A0B44 0019DAA4 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801A0B48 0019DAA8 EC 01 00 2A */ fadds f0, f1, f0 /* 801A0B4C 0019DAAC EC 3F 00 B2 */ fmuls f1, f31, f2 /* 801A0B50 0019DAB0 D0 1F 00 00 */ stfs f0, 0(r31) /* 801A0B54 0019DAB4 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A0B58 0019DAB8 EC 00 18 2A */ fadds f0, f0, f3 /* 801A0B5C 0019DABC D0 1F 00 04 */ stfs f0, 4(r31) /* 801A0B60 0019DAC0 C0 1F 00 08 */ lfs f0, 8(r31) /* 801A0B64 0019DAC4 EC 00 08 2A */ fadds f0, f0, f1 /* 801A0B68 0019DAC8 D0 1F 00 08 */ stfs f0, 8(r31) lbl_801A0B6C: /* 801A0B6C 0019DACC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801A0B70 0019DAD0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801A0B74 0019DAD4 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801A0B78 0019DAD8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801A0B7C 0019DADC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801A0B80 0019DAE0 7C 08 03 A6 */ mtlr r0 /* 801A0B84 0019DAE4 38 21 00 50 */ addi r1, r1, 0x50 /* 801A0B88 0019DAE8 4E 80 00 20 */ blr .global sub_801a0b8c sub_801a0b8c: /* 801A0B8C 0019DAEC 88 03 0B 29 */ lbz r0, 0xb29(r3) /* 801A0B90 0019DAF0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801A0B94 0019DAF4 41 82 00 0C */ beq lbl_801A0BA0 /* 801A0B98 0019DAF8 C0 62 A7 74 */ lfs f3, lbl_805AC494@sda21(r2) /* 801A0B9C 0019DAFC 48 00 00 08 */ b lbl_801A0BA4 lbl_801A0BA0: /* 801A0BA0 0019DB00 C0 62 A7 60 */ lfs f3, lbl_805AC480@sda21(r2) lbl_801A0BA4: /* 801A0BA4 0019DB04 C0 43 09 54 */ lfs f2, 0x954(r3) /* 801A0BA8 0019DB08 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0BAC 0019DB0C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A0BB0 0019DB10 40 81 00 0C */ ble lbl_801A0BBC /* 801A0BB4 0019DB14 EC 03 10 7C */ fnmsubs f0, f3, f1, f2 /* 801A0BB8 0019DB18 D0 03 09 54 */ stfs f0, 0x954(r3) lbl_801A0BBC: /* 801A0BBC 0019DB1C C0 43 09 60 */ lfs f2, 0x960(r3) /* 801A0BC0 0019DB20 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0BC4 0019DB24 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A0BC8 0019DB28 40 81 00 0C */ ble lbl_801A0BD4 /* 801A0BCC 0019DB2C EC 02 08 28 */ fsubs f0, f2, f1 /* 801A0BD0 0019DB30 D0 03 09 60 */ stfs f0, 0x960(r3) lbl_801A0BD4: /* 801A0BD4 0019DB34 C0 43 09 7C */ lfs f2, 0x97c(r3) /* 801A0BD8 0019DB38 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0BDC 0019DB3C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A0BE0 0019DB40 40 81 00 0C */ ble lbl_801A0BEC /* 801A0BE4 0019DB44 EC 02 08 28 */ fsubs f0, f2, f1 /* 801A0BE8 0019DB48 D0 03 09 7C */ stfs f0, 0x97c(r3) lbl_801A0BEC: /* 801A0BEC 0019DB4C C0 43 09 58 */ lfs f2, 0x958(r3) /* 801A0BF0 0019DB50 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0BF4 0019DB54 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A0BF8 0019DB58 40 81 00 0C */ ble lbl_801A0C04 /* 801A0BFC 0019DB5C EC 02 08 28 */ fsubs f0, f2, f1 /* 801A0C00 0019DB60 D0 03 09 58 */ stfs f0, 0x958(r3) lbl_801A0C04: /* 801A0C04 0019DB64 C0 43 09 68 */ lfs f2, 0x968(r3) /* 801A0C08 0019DB68 C0 03 07 4C */ lfs f0, 0x74c(r3) /* 801A0C0C 0019DB6C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A0C10 0019DB70 4C 80 00 20 */ bgelr /* 801A0C14 0019DB74 EC 02 08 2A */ fadds f0, f2, f1 /* 801A0C18 0019DB78 D0 03 09 68 */ stfs f0, 0x968(r3) /* 801A0C1C 0019DB7C 4E 80 00 20 */ blr .global sub_801a0c20 sub_801a0c20: /* 801A0C20 0019DB80 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801A0C24 0019DB84 7C 08 02 A6 */ mflr r0 /* 801A0C28 0019DB88 C0 02 A7 A4 */ lfs f0, lbl_805AC4C4@sda21(r2) /* 801A0C2C 0019DB8C 90 01 00 54 */ stw r0, 0x54(r1) /* 801A0C30 0019DB90 38 81 00 14 */ addi r4, r1, 0x14 /* 801A0C34 0019DB94 C0 22 A7 74 */ lfs f1, lbl_805AC494@sda21(r2) /* 801A0C38 0019DB98 38 A1 00 08 */ addi r5, r1, 8 /* 801A0C3C 0019DB9C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801A0C40 0019DBA0 7C 7F 1B 78 */ mr r31, r3 /* 801A0C44 0019DBA4 80 C3 00 64 */ lwz r6, 0x64(r3) /* 801A0C48 0019DBA8 38 61 00 2C */ addi r3, r1, 0x2c /* 801A0C4C 0019DBAC C0 86 00 04 */ lfs f4, 4(r6) /* 801A0C50 0019DBB0 C0 A6 00 00 */ lfs f5, 0(r6) /* 801A0C54 0019DBB4 EC 40 01 32 */ fmuls f2, f0, f4 /* 801A0C58 0019DBB8 C0 66 00 08 */ lfs f3, 8(r6) /* 801A0C5C 0019DBBC D0 81 00 24 */ stfs f4, 0x24(r1) /* 801A0C60 0019DBC0 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A0C64 0019DBC4 D0 5F 09 78 */ stfs f2, 0x978(r31) /* 801A0C68 0019DBC8 C0 5F 09 78 */ lfs f2, 0x978(r31) /* 801A0C6C 0019DBCC D0 A1 00 20 */ stfs f5, 0x20(r1) /* 801A0C70 0019DBD0 FC 80 10 50 */ fneg f4, f2 /* 801A0C74 0019DBD4 EC 21 00 B2 */ fmuls f1, f1, f2 /* 801A0C78 0019DBD8 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801A0C7C 0019DBDC D0 41 00 08 */ stfs f2, 8(r1) /* 801A0C80 0019DBE0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801A0C84 0019DBE4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801A0C88 0019DBE8 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801A0C8C 0019DBEC D0 81 00 18 */ stfs f4, 0x18(r1) /* 801A0C90 0019DBF0 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A0C94 0019DBF4 48 19 78 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801A0C98 0019DBF8 7F E3 FB 78 */ mr r3, r31 /* 801A0C9C 0019DBFC 38 81 00 2C */ addi r4, r1, 0x2c /* 801A0CA0 0019DC00 4B F7 99 B9 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox /* 801A0CA4 0019DC04 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801A0CA8 0019DC08 80 01 00 30 */ lwz r0, 0x30(r1) /* 801A0CAC 0019DC0C C0 22 A7 7C */ lfs f1, lbl_805AC49C@sda21(r2) /* 801A0CB0 0019DC10 90 7F 0A 40 */ stw r3, 0xa40(r31) /* 801A0CB4 0019DC14 90 1F 0A 44 */ stw r0, 0xa44(r31) /* 801A0CB8 0019DC18 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A0CBC 0019DC1C 90 1F 0A 48 */ stw r0, 0xa48(r31) /* 801A0CC0 0019DC20 80 61 00 38 */ lwz r3, 0x38(r1) /* 801A0CC4 0019DC24 80 01 00 3C */ lwz r0, 0x3c(r1) /* 801A0CC8 0019DC28 90 7F 0A 4C */ stw r3, 0xa4c(r31) /* 801A0CCC 0019DC2C 90 1F 0A 50 */ stw r0, 0xa50(r31) /* 801A0CD0 0019DC30 80 01 00 40 */ lwz r0, 0x40(r1) /* 801A0CD4 0019DC34 90 1F 0A 54 */ stw r0, 0xa54(r31) /* 801A0CD8 0019DC38 C0 1F 09 78 */ lfs f0, 0x978(r31) /* 801A0CDC 0019DC3C D0 1F 08 34 */ stfs f0, 0x834(r31) /* 801A0CE0 0019DC40 C0 1F 09 78 */ lfs f0, 0x978(r31) /* 801A0CE4 0019DC44 D0 1F 08 30 */ stfs f0, 0x830(r31) /* 801A0CE8 0019DC48 D0 3F 08 38 */ stfs f1, 0x838(r31) /* 801A0CEC 0019DC4C C0 1F 09 78 */ lfs f0, 0x978(r31) /* 801A0CF0 0019DC50 D0 1F 09 18 */ stfs f0, 0x918(r31) /* 801A0CF4 0019DC54 C0 1F 09 78 */ lfs f0, 0x978(r31) /* 801A0CF8 0019DC58 D0 1F 09 14 */ stfs f0, 0x914(r31) /* 801A0CFC 0019DC5C D0 3F 09 1C */ stfs f1, 0x91c(r31) /* 801A0D00 0019DC60 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801A0D04 0019DC64 80 01 00 54 */ lwz r0, 0x54(r1) /* 801A0D08 0019DC68 7C 08 03 A6 */ mtlr r0 /* 801A0D0C 0019DC6C 38 21 00 50 */ addi r1, r1, 0x50 /* 801A0D10 0019DC70 4E 80 00 20 */ blr .global sub_801a0d14 sub_801a0d14: /* 801A0D14 0019DC74 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A0D18 0019DC78 7C 08 02 A6 */ mflr r0 /* 801A0D1C 0019DC7C 90 01 00 24 */ stw r0, 0x24(r1) /* 801A0D20 0019DC80 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A0D24 0019DC84 7C 9F 23 78 */ mr r31, r4 /* 801A0D28 0019DC88 93 C1 00 18 */ stw r30, 0x18(r1) /* 801A0D2C 0019DC8C 7C 7E 1B 78 */ mr r30, r3 /* 801A0D30 0019DC90 7C A3 2B 78 */ mr r3, r5 /* 801A0D34 0019DC94 A0 04 0A F6 */ lhz r0, 0xaf6(r4) /* 801A0D38 0019DC98 38 81 00 08 */ addi r4, r1, 8 /* 801A0D3C 0019DC9C B0 01 00 08 */ sth r0, 8(r1) /* 801A0D40 0019DCA0 4B EA B8 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A0D44 0019DCA4 7C 64 1B 78 */ mr r4, r3 /* 801A0D48 0019DCA8 38 61 00 0C */ addi r3, r1, 0xc /* 801A0D4C 0019DCAC 4B F0 E6 01 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A0D50 0019DCB0 80 63 00 04 */ lwz r3, 4(r3) /* 801A0D54 0019DCB4 28 03 00 00 */ cmplwi r3, 0 /* 801A0D58 0019DCB8 41 82 00 20 */ beq lbl_801A0D78 /* 801A0D5C 0019DCBC C0 43 00 60 */ lfs f2, 0x60(r3) /* 801A0D60 0019DCC0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A0D64 0019DCC4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A0D68 0019DCC8 D0 1E 00 00 */ stfs f0, 0(r30) /* 801A0D6C 0019DCCC D0 3E 00 04 */ stfs f1, 4(r30) /* 801A0D70 0019DCD0 D0 5E 00 08 */ stfs f2, 8(r30) /* 801A0D74 0019DCD4 48 00 00 1C */ b lbl_801A0D90 lbl_801A0D78: /* 801A0D78 0019DCD8 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801A0D7C 0019DCDC C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801A0D80 0019DCE0 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A0D84 0019DCE4 D0 1E 00 00 */ stfs f0, 0(r30) /* 801A0D88 0019DCE8 D0 3E 00 04 */ stfs f1, 4(r30) /* 801A0D8C 0019DCEC D0 5E 00 08 */ stfs f2, 8(r30) lbl_801A0D90: /* 801A0D90 0019DCF0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A0D94 0019DCF4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A0D98 0019DCF8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801A0D9C 0019DCFC 7C 08 03 A6 */ mtlr r0 /* 801A0DA0 0019DD00 38 21 00 20 */ addi r1, r1, 0x20 /* 801A0DA4 0019DD04 4E 80 00 20 */ blr .global sub_801a0da8 sub_801a0da8: /* 801A0DA8 0019DD08 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801A0DAC 0019DD0C 7C 08 02 A6 */ mflr r0 /* 801A0DB0 0019DD10 90 01 00 74 */ stw r0, 0x74(r1) /* 801A0DB4 0019DD14 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801A0DB8 0019DD18 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801A0DBC 0019DD1C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801A0DC0 0019DD20 93 C1 00 58 */ stw r30, 0x58(r1) /* 801A0DC4 0019DD24 93 A1 00 54 */ stw r29, 0x54(r1) /* 801A0DC8 0019DD28 93 81 00 50 */ stw r28, 0x50(r1) /* 801A0DCC 0019DD2C 83 C4 00 F0 */ lwz r30, 0xf0(r4) /* 801A0DD0 0019DD30 7C 9D 23 78 */ mr r29, r4 /* 801A0DD4 0019DD34 7C 7C 1B 78 */ mr r28, r3 /* 801A0DD8 0019DD38 3B E0 00 00 */ li r31, 0 /* 801A0DDC 0019DD3C 2C 1E 00 06 */ cmpwi r30, 6 /* 801A0DE0 0019DD40 41 82 00 24 */ beq lbl_801A0E04 /* 801A0DE4 0019DD44 2C 1E 00 03 */ cmpwi r30, 3 /* 801A0DE8 0019DD48 41 82 00 1C */ beq lbl_801A0E04 /* 801A0DEC 0019DD4C 88 1D 01 30 */ lbz r0, 0x130(r29) /* 801A0DF0 0019DD50 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A0DF4 0019DD54 41 82 00 0C */ beq lbl_801A0E00 /* 801A0DF8 0019DD58 2C 1E 00 00 */ cmpwi r30, 0 /* 801A0DFC 0019DD5C 41 82 00 08 */ beq lbl_801A0E04 lbl_801A0E00: /* 801A0E00 0019DD60 3B E0 00 01 */ li r31, 1 lbl_801A0E04: /* 801A0E04 0019DD64 A0 1D 00 EC */ lhz r0, 0xec(r29) /* 801A0E08 0019DD68 7C A3 2B 78 */ mr r3, r5 /* 801A0E0C 0019DD6C 38 81 00 0C */ addi r4, r1, 0xc /* 801A0E10 0019DD70 B0 01 00 08 */ sth r0, 8(r1) /* 801A0E14 0019DD74 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A0E18 0019DD78 4B EA B7 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A0E1C 0019DD7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801A0E20 0019DD80 7C 7F 1B 78 */ mr r31, r3 /* 801A0E24 0019DD84 41 82 01 58 */ beq lbl_801A0F7C /* 801A0E28 0019DD88 28 1F 00 00 */ cmplwi r31, 0 /* 801A0E2C 0019DD8C 41 82 01 50 */ beq lbl_801A0F7C /* 801A0E30 0019DD90 7F E4 FB 78 */ mr r4, r31 /* 801A0E34 0019DD94 38 61 00 10 */ addi r3, r1, 0x10 /* 801A0E38 0019DD98 4B F0 47 05 */ bl sub_800a553c /* 801A0E3C 0019DD9C 4B F0 46 D5 */ bl "CastTo<12CIceSheegoth>__10CPatternedFP7CEntity" /* 801A0E40 0019DDA0 28 03 00 00 */ cmplwi r3, 0 /* 801A0E44 0019DDA4 40 82 01 38 */ bne lbl_801A0F7C /* 801A0E48 0019DDA8 80 7D 00 04 */ lwz r3, 4(r29) /* 801A0E4C 0019DDAC 80 1C 00 04 */ lwz r0, 4(r28) /* 801A0E50 0019DDB0 7C 03 00 00 */ cmpw r3, r0 /* 801A0E54 0019DDB4 40 82 01 28 */ bne lbl_801A0F7C /* 801A0E58 0019DDB8 38 61 00 28 */ addi r3, r1, 0x28 /* 801A0E5C 0019DDBC 38 9C 00 34 */ addi r4, r28, 0x34 /* 801A0E60 0019DDC0 38 BC 05 74 */ addi r5, r28, 0x574 /* 801A0E64 0019DDC4 48 17 1C 1D */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801A0E68 0019DDC8 C0 7C 00 40 */ lfs f3, 0x40(r28) /* 801A0E6C 0019DDCC 2C 1E 00 02 */ cmpwi r30, 2 /* 801A0E70 0019DDD0 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801A0E74 0019DDD4 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 801A0E78 0019DDD8 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801A0E7C 0019DDDC EC 83 00 2A */ fadds f4, f3, f0 /* 801A0E80 0019DDE0 C0 FD 00 50 */ lfs f7, 0x50(r29) /* 801A0E84 0019DDE4 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801A0E88 0019DDE8 EC 62 08 2A */ fadds f3, f2, f1 /* 801A0E8C 0019DDEC C1 1D 00 40 */ lfs f8, 0x40(r29) /* 801A0E90 0019DDF0 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 801A0E94 0019DDF4 EC A7 00 28 */ fsubs f5, f7, f0 /* 801A0E98 0019DDF8 C0 3D 00 60 */ lfs f1, 0x60(r29) /* 801A0E9C 0019DDFC C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801A0EA0 0019DE00 EC C8 10 28 */ fsubs f6, f8, f2 /* 801A0EA4 0019DE04 EC 41 00 28 */ fsubs f2, f1, f0 /* 801A0EA8 0019DE08 40 82 00 38 */ bne lbl_801A0EE0 /* 801A0EAC 0019DE0C 88 7D 01 30 */ lbz r3, 0x130(r29) /* 801A0EB0 0019DE10 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801A0EB4 0019DE14 40 82 00 2C */ bne lbl_801A0EE0 /* 801A0EB8 0019DE18 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801A0EBC 0019DE1C 40 82 00 24 */ bne lbl_801A0EE0 /* 801A0EC0 0019DE20 EC 25 01 72 */ fmuls f1, f5, f5 /* 801A0EC4 0019DE24 C0 02 A7 A8 */ lfs f0, lbl_805AC4C8@sda21(r2) /* 801A0EC8 0019DE28 EC 26 09 BA */ fmadds f1, f6, f6, f1 /* 801A0ECC 0019DE2C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801A0ED0 0019DE30 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A0ED4 0019DE34 40 80 00 0C */ bge lbl_801A0EE0 /* 801A0ED8 0019DE38 38 60 00 00 */ li r3, 0 /* 801A0EDC 0019DE3C 48 00 00 A4 */ b lbl_801A0F80 lbl_801A0EE0: /* 801A0EE0 0019DE40 EC 28 20 28 */ fsubs f1, f8, f4 /* 801A0EE4 0019DE44 38 61 00 14 */ addi r3, r1, 0x14 /* 801A0EE8 0019DE48 EC 47 18 28 */ fsubs f2, f7, f3 /* 801A0EEC 0019DE4C 48 17 33 15 */ bl __ct__9CVector2fFff /* 801A0EF0 0019DE50 C0 61 00 14 */ lfs f3, 0x14(r1) /* 801A0EF4 0019DE54 38 61 00 34 */ addi r3, r1, 0x34 /* 801A0EF8 0019DE58 C0 41 00 18 */ lfs f2, 0x18(r1) /* 801A0EFC 0019DE5C 38 81 00 40 */ addi r4, r1, 0x40 /* 801A0F00 0019DE60 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A0F04 0019DE64 C0 BC 00 58 */ lfs f5, 0x58(r28) /* 801A0F08 0019DE68 C0 9C 00 48 */ lfs f4, 0x48(r28) /* 801A0F0C 0019DE6C C0 1C 00 38 */ lfs f0, 0x38(r28) /* 801A0F10 0019DE70 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801A0F14 0019DE74 C3 FC 05 70 */ lfs f31, 0x570(r28) /* 801A0F18 0019DE78 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801A0F1C 0019DE7C D0 21 00 48 */ stfs f1, 0x48(r1) /* 801A0F20 0019DE80 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801A0F24 0019DE84 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801A0F28 0019DE88 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801A0F2C 0019DE8C 48 17 37 05 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801A0F30 0019DE90 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801A0F34 0019DE94 41 80 00 40 */ blt lbl_801A0F74 /* 801A0F38 0019DE98 C0 41 00 34 */ lfs f2, 0x34(r1) /* 801A0F3C 0019DE9C 38 61 00 1C */ addi r3, r1, 0x1c /* 801A0F40 0019DEA0 C0 21 00 38 */ lfs f1, 0x38(r1) /* 801A0F44 0019DEA4 38 81 00 40 */ addi r4, r1, 0x40 /* 801A0F48 0019DEA8 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801A0F4C 0019DEAC FC 40 10 50 */ fneg f2, f2 /* 801A0F50 0019DEB0 FC 20 08 50 */ fneg f1, f1 /* 801A0F54 0019DEB4 C3 FC 05 6C */ lfs f31, 0x56c(r28) /* 801A0F58 0019DEB8 FC 00 00 50 */ fneg f0, f0 /* 801A0F5C 0019DEBC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801A0F60 0019DEC0 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801A0F64 0019DEC4 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801A0F68 0019DEC8 48 17 36 C9 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801A0F6C 0019DECC FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801A0F70 0019DED0 40 80 00 0C */ bge lbl_801A0F7C lbl_801A0F74: /* 801A0F74 0019DED4 38 60 00 01 */ li r3, 1 /* 801A0F78 0019DED8 48 00 00 08 */ b lbl_801A0F80 lbl_801A0F7C: /* 801A0F7C 0019DEDC 38 60 00 00 */ li r3, 0 lbl_801A0F80: /* 801A0F80 0019DEE0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801A0F84 0019DEE4 80 01 00 74 */ lwz r0, 0x74(r1) /* 801A0F88 0019DEE8 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801A0F8C 0019DEEC 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801A0F90 0019DEF0 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801A0F94 0019DEF4 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801A0F98 0019DEF8 83 81 00 50 */ lwz r28, 0x50(r1) /* 801A0F9C 0019DEFC 7C 08 03 A6 */ mtlr r0 /* 801A0FA0 0019DF00 38 21 00 70 */ addi r1, r1, 0x70 /* 801A0FA4 0019DF04 4E 80 00 20 */ blr .global sub_801a0fa8 sub_801a0fa8: /* 801A0FA8 0019DF08 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801A0FAC 0019DF0C 7C 08 02 A6 */ mflr r0 /* 801A0FB0 0019DF10 90 01 00 44 */ stw r0, 0x44(r1) /* 801A0FB4 0019DF14 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801A0FB8 0019DF18 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801A0FBC 0019DF1C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801A0FC0 0019DF20 7C 7B 1B 78 */ mr r27, r3 /* 801A0FC4 0019DF24 7C DE 33 78 */ mr r30, r6 /* 801A0FC8 0019DF28 C0 26 00 04 */ lfs f1, 4(r6) /* 801A0FCC 0019DF2C 7C BD 2B 78 */ mr r29, r5 /* 801A0FD0 0019DF30 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801A0FD4 0019DF34 7C 9C 23 78 */ mr r28, r4 /* 801A0FD8 0019DF38 C0 66 00 00 */ lfs f3, 0(r6) /* 801A0FDC 0019DF3C 3B FD 00 04 */ addi r31, r29, 4 /* 801A0FE0 0019DF40 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A0FE4 0019DF44 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A0FE8 0019DF48 C0 46 00 08 */ lfs f2, 8(r6) /* 801A0FEC 0019DF4C EC 63 00 28 */ fsubs f3, f3, f0 /* 801A0FF0 0019DF50 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801A0FF4 0019DF54 EC 04 01 32 */ fmuls f0, f4, f4 /* 801A0FF8 0019DF58 EC 22 08 28 */ fsubs f1, f2, f1 /* 801A0FFC 0019DF5C EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 801A1000 0019DF60 EF E1 00 7A */ fmadds f31, f1, f1, f0 /* 801A1004 0019DF64 48 00 00 84 */ b lbl_801A1088 lbl_801A1008: /* 801A1008 0019DF68 A0 1F 00 00 */ lhz r0, 0(r31) /* 801A100C 0019DF6C 7F 83 E3 78 */ mr r3, r28 /* 801A1010 0019DF70 38 81 00 08 */ addi r4, r1, 8 /* 801A1014 0019DF74 B0 01 00 08 */ sth r0, 8(r1) /* 801A1018 0019DF78 4B EA B5 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A101C 0019DF7C 7C 64 1B 78 */ mr r4, r3 /* 801A1020 0019DF80 38 61 00 0C */ addi r3, r1, 0xc /* 801A1024 0019DF84 4B F0 45 19 */ bl sub_800a553c /* 801A1028 0019DF88 4B F0 44 E9 */ bl "CastTo<12CIceSheegoth>__10CPatternedFP7CEntity" /* 801A102C 0019DF8C 28 03 00 00 */ cmplwi r3, 0 /* 801A1030 0019DF90 41 82 00 54 */ beq lbl_801A1084 /* 801A1034 0019DF94 A0 83 00 08 */ lhz r4, 8(r3) /* 801A1038 0019DF98 A0 1B 00 08 */ lhz r0, 8(r27) /* 801A103C 0019DF9C 7C 04 00 40 */ cmplw r4, r0 /* 801A1040 0019DFA0 41 82 00 44 */ beq lbl_801A1084 /* 801A1044 0019DFA4 C0 3E 00 04 */ lfs f1, 4(r30) /* 801A1048 0019DFA8 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801A104C 0019DFAC C0 7E 00 00 */ lfs f3, 0(r30) /* 801A1050 0019DFB0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A1054 0019DFB4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A1058 0019DFB8 C0 5E 00 08 */ lfs f2, 8(r30) /* 801A105C 0019DFBC EC 63 00 28 */ fsubs f3, f3, f0 /* 801A1060 0019DFC0 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801A1064 0019DFC4 EC 04 01 32 */ fmuls f0, f4, f4 /* 801A1068 0019DFC8 EC 22 08 28 */ fsubs f1, f2, f1 /* 801A106C 0019DFCC EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 801A1070 0019DFD0 EC 01 00 7A */ fmadds f0, f1, f1, f0 /* 801A1074 0019DFD4 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801A1078 0019DFD8 40 80 00 0C */ bge lbl_801A1084 /* 801A107C 0019DFDC 38 60 00 00 */ li r3, 0 /* 801A1080 0019DFE0 48 00 00 24 */ b lbl_801A10A4 lbl_801A1084: /* 801A1084 0019DFE4 3B FF 00 02 */ addi r31, r31, 2 lbl_801A1088: /* 801A1088 0019DFE8 80 1D 00 00 */ lwz r0, 0(r29) /* 801A108C 0019DFEC 54 00 08 3C */ slwi r0, r0, 1 /* 801A1090 0019DFF0 7C 7D 02 14 */ add r3, r29, r0 /* 801A1094 0019DFF4 38 03 00 04 */ addi r0, r3, 4 /* 801A1098 0019DFF8 7C 1F 00 40 */ cmplw r31, r0 /* 801A109C 0019DFFC 40 82 FF 6C */ bne lbl_801A1008 /* 801A10A0 0019E000 38 60 00 01 */ li r3, 1 lbl_801A10A4: /* 801A10A4 0019E004 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801A10A8 0019E008 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801A10AC 0019E00C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801A10B0 0019E010 80 01 00 44 */ lwz r0, 0x44(r1) /* 801A10B4 0019E014 7C 08 03 A6 */ mtlr r0 /* 801A10B8 0019E018 38 21 00 40 */ addi r1, r1, 0x40 /* 801A10BC 0019E01C 4E 80 00 20 */ blr .global sub_801a10c0 sub_801a10c0: /* 801A10C0 0019E020 94 21 ED 40 */ stwu r1, -0x12c0(r1) /* 801A10C4 0019E024 7C 08 02 A6 */ mflr r0 /* 801A10C8 0019E028 90 01 12 C4 */ stw r0, 0x12c4(r1) /* 801A10CC 0019E02C 38 00 12 B8 */ li r0, 0x12b8 /* 801A10D0 0019E030 DB E1 12 B0 */ stfd f31, 0x12b0(r1) /* 801A10D4 0019E034 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 801A10D8 0019E038 38 00 12 A8 */ li r0, 0x12a8 /* 801A10DC 0019E03C DB C1 12 A0 */ stfd f30, 0x12a0(r1) /* 801A10E0 0019E040 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 /* 801A10E4 0019E044 38 00 12 98 */ li r0, 0x1298 /* 801A10E8 0019E048 DB A1 12 90 */ stfd f29, 0x1290(r1) /* 801A10EC 0019E04C 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 /* 801A10F0 0019E050 38 00 12 88 */ li r0, 0x1288 /* 801A10F4 0019E054 DB 81 12 80 */ stfd f28, 0x1280(r1) /* 801A10F8 0019E058 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 /* 801A10FC 0019E05C 38 00 12 78 */ li r0, 0x1278 /* 801A1100 0019E060 DB 61 12 70 */ stfd f27, 0x1270(r1) /* 801A1104 0019E064 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 /* 801A1108 0019E068 38 00 12 68 */ li r0, 0x1268 /* 801A110C 0019E06C DB 41 12 60 */ stfd f26, 0x1260(r1) /* 801A1110 0019E070 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 /* 801A1114 0019E074 BF 41 12 48 */ stmw r26, 0x1248(r1) /* 801A1118 0019E078 88 03 04 00 */ lbz r0, 0x400(r3) /* 801A111C 0019E07C 7C 7C 1B 78 */ mr r28, r3 /* 801A1120 0019E080 7C 9D 23 78 */ mr r29, r4 /* 801A1124 0019E084 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A1128 0019E088 41 82 06 10 */ beq lbl_801A1738 /* 801A112C 0019E08C C0 7C 05 80 */ lfs f3, 0x580(r28) /* 801A1130 0019E090 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 801A1134 0019E094 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801A1138 0019E098 38 81 00 F8 */ addi r4, r1, 0xf8 /* 801A113C 0019E09C C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801A1140 0019E0A0 38 A1 00 EC */ addi r5, r1, 0xec /* 801A1144 0019E0A4 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801A1148 0019E0A8 EF E2 18 2A */ fadds f31, f2, f3 /* 801A114C 0019E0AC EF C1 18 2A */ fadds f30, f1, f3 /* 801A1150 0019E0B0 EF A0 18 2A */ fadds f29, f0, f3 /* 801A1154 0019E0B4 EF 80 18 28 */ fsubs f28, f0, f3 /* 801A1158 0019E0B8 D3 E1 00 F4 */ stfs f31, 0xf4(r1) /* 801A115C 0019E0BC EF 61 18 28 */ fsubs f27, f1, f3 /* 801A1160 0019E0C0 EF 42 18 28 */ fsubs f26, f2, f3 /* 801A1164 0019E0C4 D3 A1 00 EC */ stfs f29, 0xec(r1) /* 801A1168 0019E0C8 D3 C1 00 F0 */ stfs f30, 0xf0(r1) /* 801A116C 0019E0CC D3 81 00 F8 */ stfs f28, 0xf8(r1) /* 801A1170 0019E0D0 D3 61 00 FC */ stfs f27, 0xfc(r1) /* 801A1174 0019E0D4 D3 41 01 00 */ stfs f26, 0x100(r1) /* 801A1178 0019E0D8 48 19 73 91 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801A117C 0019E0DC 80 AD 90 04 */ lwz r5, lbl_805A7BC4@sda21(r13) /* 801A1180 0019E0E0 38 60 00 00 */ li r3, 0 /* 801A1184 0019E0E4 38 80 00 01 */ li r4, 1 /* 801A1188 0019E0E8 48 1E 8D 6D */ bl __shl2i /* 801A118C 0019E0EC 38 00 00 00 */ li r0, 0 /* 801A1190 0019E0F0 39 00 00 01 */ li r8, 1 /* 801A1194 0019E0F4 90 81 01 B4 */ stw r4, 0x1b4(r1) /* 801A1198 0019E0F8 38 81 0A 44 */ addi r4, r1, 0xa44 /* 801A119C 0019E0FC 38 A1 01 C8 */ addi r5, r1, 0x1c8 /* 801A11A0 0019E100 38 C1 01 B0 */ addi r6, r1, 0x1b0 /* 801A11A4 0019E104 90 61 01 B0 */ stw r3, 0x1b0(r1) /* 801A11A8 0019E108 7F A3 EB 78 */ mr r3, r29 /* 801A11AC 0019E10C 38 E0 00 00 */ li r7, 0 /* 801A11B0 0019E110 91 01 01 78 */ stw r8, 0x178(r1) /* 801A11B4 0019E114 90 01 01 BC */ stw r0, 0x1bc(r1) /* 801A11B8 0019E118 90 01 01 B8 */ stw r0, 0x1b8(r1) /* 801A11BC 0019E11C 91 01 01 C0 */ stw r8, 0x1c0(r1) /* 801A11C0 0019E120 90 01 0A 44 */ stw r0, 0xa44(r1) /* 801A11C4 0019E124 4B EA B5 5D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801A11C8 0019E128 80 01 0A 44 */ lwz r0, 0xa44(r1) /* 801A11CC 0019E12C 2C 00 00 00 */ cmpwi r0, 0 /* 801A11D0 0019E130 41 82 05 14 */ beq lbl_801A16E4 /* 801A11D4 0019E134 7F 84 E3 78 */ mr r4, r28 /* 801A11D8 0019E138 7F A5 EB 78 */ mr r5, r29 /* 801A11DC 0019E13C 38 61 00 E0 */ addi r3, r1, 0xe0 /* 801A11E0 0019E140 4B FF FB 35 */ bl sub_801a0d14 /* 801A11E4 0019E144 C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 801A11E8 0019E148 38 61 01 98 */ addi r3, r1, 0x198 /* 801A11EC 0019E14C C0 21 00 E4 */ lfs f1, 0xe4(r1) /* 801A11F0 0019E150 38 81 00 D4 */ addi r4, r1, 0xd4 /* 801A11F4 0019E154 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 801A11F8 0019E158 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 801A11FC 0019E15C D0 41 01 40 */ stfs f2, 0x140(r1) /* 801A1200 0019E160 D0 21 01 44 */ stfs f1, 0x144(r1) /* 801A1204 0019E164 D0 01 01 48 */ stfs f0, 0x148(r1) /* 801A1208 0019E168 D3 A1 00 C8 */ stfs f29, 0xc8(r1) /* 801A120C 0019E16C D3 C1 00 CC */ stfs f30, 0xcc(r1) /* 801A1210 0019E170 D3 E1 00 D0 */ stfs f31, 0xd0(r1) /* 801A1214 0019E174 D3 81 00 D4 */ stfs f28, 0xd4(r1) /* 801A1218 0019E178 D3 61 00 D8 */ stfs f27, 0xd8(r1) /* 801A121C 0019E17C D3 41 00 DC */ stfs f26, 0xdc(r1) /* 801A1220 0019E180 48 19 72 E9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801A1224 0019E184 80 AD 90 08 */ lwz r5, lbl_805A7BC8@sda21(r13) /* 801A1228 0019E188 38 60 00 00 */ li r3, 0 /* 801A122C 0019E18C 38 80 00 01 */ li r4, 1 /* 801A1230 0019E190 48 1E 8C C5 */ bl __shl2i /* 801A1234 0019E194 38 00 00 00 */ li r0, 0 /* 801A1238 0019E198 39 00 00 01 */ li r8, 1 /* 801A123C 0019E19C 90 81 01 84 */ stw r4, 0x184(r1) /* 801A1240 0019E1A0 38 81 02 40 */ addi r4, r1, 0x240 /* 801A1244 0019E1A4 38 A1 01 98 */ addi r5, r1, 0x198 /* 801A1248 0019E1A8 38 C1 01 80 */ addi r6, r1, 0x180 /* 801A124C 0019E1AC 90 61 01 80 */ stw r3, 0x180(r1) /* 801A1250 0019E1B0 7F A3 EB 78 */ mr r3, r29 /* 801A1254 0019E1B4 38 E0 00 00 */ li r7, 0 /* 801A1258 0019E1B8 91 01 01 60 */ stw r8, 0x160(r1) /* 801A125C 0019E1BC 90 01 01 8C */ stw r0, 0x18c(r1) /* 801A1260 0019E1C0 90 01 01 88 */ stw r0, 0x188(r1) /* 801A1264 0019E1C4 91 01 01 90 */ stw r8, 0x190(r1) /* 801A1268 0019E1C8 90 01 02 40 */ stw r0, 0x240(r1) /* 801A126C 0019E1CC 4B EA B4 B5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801A1270 0019E1D0 3B E1 0A 48 */ addi r31, r1, 0xa48 /* 801A1274 0019E1D4 7F FE FB 78 */ mr r30, r31 /* 801A1278 0019E1D8 48 00 04 04 */ b lbl_801A167C lbl_801A127C: /* 801A127C 0019E1DC A0 1E 00 00 */ lhz r0, 0(r30) /* 801A1280 0019E1E0 7F A3 EB 78 */ mr r3, r29 /* 801A1284 0019E1E4 38 81 00 08 */ addi r4, r1, 8 /* 801A1288 0019E1E8 B0 01 00 08 */ sth r0, 8(r1) /* 801A128C 0019E1EC 4B EA B2 E9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A1290 0019E1F0 7C 64 1B 78 */ mr r4, r3 /* 801A1294 0019E1F4 38 61 00 0C */ addi r3, r1, 0xc /* 801A1298 0019E1F8 4B F0 C4 75 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 801A129C 0019E1FC 83 43 00 04 */ lwz r26, 4(r3) /* 801A12A0 0019E200 28 1A 00 00 */ cmplwi r26, 0 /* 801A12A4 0019E204 41 82 03 D4 */ beq lbl_801A1678 /* 801A12A8 0019E208 7F 83 E3 78 */ mr r3, r28 /* 801A12AC 0019E20C 7F 44 D3 78 */ mr r4, r26 /* 801A12B0 0019E210 7F A5 EB 78 */ mr r5, r29 /* 801A12B4 0019E214 4B FF FA F5 */ bl sub_801a0da8 /* 801A12B8 0019E218 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A12BC 0019E21C 41 82 03 BC */ beq lbl_801A1678 /* 801A12C0 0019E220 C0 01 01 44 */ lfs f0, 0x144(r1) /* 801A12C4 0019E224 38 61 00 BC */ addi r3, r1, 0xbc /* 801A12C8 0019E228 C0 BA 00 50 */ lfs f5, 0x50(r26) /* 801A12CC 0019E22C C0 21 01 48 */ lfs f1, 0x148(r1) /* 801A12D0 0019E230 C0 9A 00 60 */ lfs f4, 0x60(r26) /* 801A12D4 0019E234 EC 40 28 28 */ fsubs f2, f0, f5 /* 801A12D8 0019E238 C0 7A 00 40 */ lfs f3, 0x40(r26) /* 801A12DC 0019E23C C0 01 01 40 */ lfs f0, 0x140(r1) /* 801A12E0 0019E240 EC 21 20 28 */ fsubs f1, f1, f4 /* 801A12E4 0019E244 D0 41 01 38 */ stfs f2, 0x138(r1) /* 801A12E8 0019E248 EC 00 18 28 */ fsubs f0, f0, f3 /* 801A12EC 0019E24C D0 21 01 3C */ stfs f1, 0x13c(r1) /* 801A12F0 0019E250 D0 01 01 34 */ stfs f0, 0x134(r1) /* 801A12F4 0019E254 C0 5A 02 9C */ lfs f2, 0x29c(r26) /* 801A12F8 0019E258 C0 3A 02 A0 */ lfs f1, 0x2a0(r26) /* 801A12FC 0019E25C C0 1A 02 98 */ lfs f0, 0x298(r26) /* 801A1300 0019E260 EC 45 10 28 */ fsubs f2, f5, f2 /* 801A1304 0019E264 EC 24 08 28 */ fsubs f1, f4, f1 /* 801A1308 0019E268 EC 03 00 28 */ fsubs f0, f3, f0 /* 801A130C 0019E26C D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 801A1310 0019E270 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801A1314 0019E274 D0 21 00 C4 */ stfs f1, 0xc4(r1) /* 801A1318 0019E278 48 17 33 E1 */ bl CanBeNormalized__9CVector3fCFv /* 801A131C 0019E27C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A1320 0019E280 41 82 03 58 */ beq lbl_801A1678 /* 801A1324 0019E284 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801A1328 0019E288 7F 83 E3 78 */ mr r3, r28 /* 801A132C 0019E28C C0 3A 00 50 */ lfs f1, 0x50(r26) /* 801A1330 0019E290 7F A4 EB 78 */ mr r4, r29 /* 801A1334 0019E294 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801A1338 0019E298 38 A1 02 40 */ addi r5, r1, 0x240 /* 801A133C 0019E29C 38 C1 00 B0 */ addi r6, r1, 0xb0 /* 801A1340 0019E2A0 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801A1344 0019E2A4 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801A1348 0019E2A8 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 801A134C 0019E2AC 4B FF FC 5D */ bl sub_801a0fa8 /* 801A1350 0019E2B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A1354 0019E2B4 41 82 03 24 */ beq lbl_801A1678 /* 801A1358 0019E2B8 38 61 01 34 */ addi r3, r1, 0x134 /* 801A135C 0019E2BC 48 17 35 5D */ bl Magnitude__9CVector3fCFv /* 801A1360 0019E2C0 C0 9A 00 50 */ lfs f4, 0x50(r26) /* 801A1364 0019E2C4 FF E0 08 90 */ fmr f31, f1 /* 801A1368 0019E2C8 C0 1A 02 9C */ lfs f0, 0x29c(r26) /* 801A136C 0019E2CC 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801A1370 0019E2D0 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 801A1374 0019E2D4 38 81 00 98 */ addi r4, r1, 0x98 /* 801A1378 0019E2D8 C0 5A 02 A0 */ lfs f2, 0x2a0(r26) /* 801A137C 0019E2DC C0 3A 00 40 */ lfs f1, 0x40(r26) /* 801A1380 0019E2E0 EC 84 00 28 */ fsubs f4, f4, f0 /* 801A1384 0019E2E4 C0 1A 02 98 */ lfs f0, 0x298(r26) /* 801A1388 0019E2E8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A138C 0019E2EC EC 01 00 28 */ fsubs f0, f1, f0 /* 801A1390 0019E2F0 D0 81 00 9C */ stfs f4, 0x9c(r1) /* 801A1394 0019E2F4 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 801A1398 0019E2F8 D0 01 00 98 */ stfs f0, 0x98(r1) /* 801A139C 0019E2FC 48 17 34 B5 */ bl AsNormalized__9CVector3fCFv /* 801A13A0 0019E300 C0 02 A7 88 */ lfs f0, lbl_805AC4A8@sda21(r2) /* 801A13A4 0019E304 3B 7A 01 70 */ addi r27, r26, 0x170 /* 801A13A8 0019E308 C0 42 A7 AC */ lfs f2, lbl_805AC4CC@sda21(r2) /* 801A13AC 0019E30C 38 61 00 8C */ addi r3, r1, 0x8c /* 801A13B0 0019E310 ED 20 07 F2 */ fmuls f9, f0, f31 /* 801A13B4 0019E314 C0 81 00 A4 */ lfs f4, 0xa4(r1) /* 801A13B8 0019E318 EC 22 07 F2 */ fmuls f1, f2, f31 /* 801A13BC 0019E31C C0 61 00 A8 */ lfs f3, 0xa8(r1) /* 801A13C0 0019E320 C0 01 00 AC */ lfs f0, 0xac(r1) /* 801A13C4 0019E324 38 81 00 80 */ addi r4, r1, 0x80 /* 801A13C8 0019E328 EC A9 01 32 */ fmuls f5, f9, f4 /* 801A13CC 0019E32C C0 DA 00 40 */ lfs f6, 0x40(r26) /* 801A13D0 0019E330 EC 69 00 F2 */ fmuls f3, f9, f3 /* 801A13D4 0019E334 C1 1A 00 50 */ lfs f8, 0x50(r26) /* 801A13D8 0019E338 C0 FA 00 60 */ lfs f7, 0x60(r26) /* 801A13DC 0019E33C EC 09 00 32 */ fmuls f0, f9, f0 /* 801A13E0 0019E340 ED 48 18 2A */ fadds f10, f8, f3 /* 801A13E4 0019E344 C0 61 01 44 */ lfs f3, 0x144(r1) /* 801A13E8 0019E348 C0 82 A7 5C */ lfs f4, lbl_805AC47C@sda21(r2) /* 801A13EC 0019E34C ED 27 00 2A */ fadds f9, f7, f0 /* 801A13F0 0019E350 C0 01 01 40 */ lfs f0, 0x140(r1) /* 801A13F4 0019E354 EC A6 28 2A */ fadds f5, f6, f5 /* 801A13F8 0019E358 ED 63 20 2A */ fadds f11, f3, f4 /* 801A13FC 0019E35C C0 61 01 48 */ lfs f3, 0x148(r1) /* 801A1400 0019E360 EC 42 00 72 */ fmuls f2, f2, f1 /* 801A1404 0019E364 D0 A1 01 28 */ stfs f5, 0x128(r1) /* 801A1408 0019E368 EC 00 20 2A */ fadds f0, f0, f4 /* 801A140C 0019E36C C0 22 A7 B0 */ lfs f1, lbl_805AC4D0@sda21(r2) /* 801A1410 0019E370 EC 43 10 2A */ fadds f2, f3, f2 /* 801A1414 0019E374 D1 41 01 2C */ stfs f10, 0x12c(r1) /* 801A1418 0019E378 38 A1 01 28 */ addi r5, r1, 0x128 /* 801A141C 0019E37C 38 C1 01 1C */ addi r6, r1, 0x11c /* 801A1420 0019E380 D1 21 01 30 */ stfs f9, 0x130(r1) /* 801A1424 0019E384 38 E1 01 40 */ addi r7, r1, 0x140 /* 801A1428 0019E388 D0 01 01 1C */ stfs f0, 0x11c(r1) /* 801A142C 0019E38C D1 61 01 20 */ stfs f11, 0x120(r1) /* 801A1430 0019E390 D0 41 01 24 */ stfs f2, 0x124(r1) /* 801A1434 0019E394 D0 C1 00 80 */ stfs f6, 0x80(r1) /* 801A1438 0019E398 D1 01 00 84 */ stfs f8, 0x84(r1) /* 801A143C 0019E39C D0 E1 00 88 */ stfs f7, 0x88(r1) /* 801A1440 0019E3A0 48 17 3A D9 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 801A1444 0019E3A4 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801A1448 0019E3A8 38 61 00 74 */ addi r3, r1, 0x74 /* 801A144C 0019E3AC C0 3A 00 50 */ lfs f1, 0x50(r26) /* 801A1450 0019E3B0 38 81 00 68 */ addi r4, r1, 0x68 /* 801A1454 0019E3B4 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801A1458 0019E3B8 38 A1 01 28 */ addi r5, r1, 0x128 /* 801A145C 0019E3BC C3 E1 00 8C */ lfs f31, 0x8c(r1) /* 801A1460 0019E3C0 38 C1 01 1C */ addi r6, r1, 0x11c /* 801A1464 0019E3C4 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801A1468 0019E3C8 38 E1 01 40 */ addi r7, r1, 0x140 /* 801A146C 0019E3CC C3 A1 00 90 */ lfs f29, 0x90(r1) /* 801A1470 0019E3D0 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801A1474 0019E3D4 C3 C1 00 94 */ lfs f30, 0x94(r1) /* 801A1478 0019E3D8 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801A147C 0019E3DC C0 22 A7 B4 */ lfs f1, lbl_805AC4D4@sda21(r2) /* 801A1480 0019E3E0 48 17 3A 99 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 801A1484 0019E3E4 C0 C1 00 78 */ lfs f6, 0x78(r1) /* 801A1488 0019E3E8 38 61 00 44 */ addi r3, r1, 0x44 /* 801A148C 0019E3EC C0 E1 00 7C */ lfs f7, 0x7c(r1) /* 801A1490 0019E3F0 C0 A1 00 74 */ lfs f5, 0x74(r1) /* 801A1494 0019E3F4 EC 06 E8 28 */ fsubs f0, f6, f29 /* 801A1498 0019E3F8 EC 67 F0 28 */ fsubs f3, f7, f30 /* 801A149C 0019E3FC C0 41 01 44 */ lfs f2, 0x144(r1) /* 801A14A0 0019E400 EC 85 F8 28 */ fsubs f4, f5, f31 /* 801A14A4 0019E404 C0 21 01 48 */ lfs f1, 0x148(r1) /* 801A14A8 0019E408 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801A14AC 0019E40C C0 01 01 40 */ lfs f0, 0x140(r1) /* 801A14B0 0019E410 D0 81 00 44 */ stfs f4, 0x44(r1) /* 801A14B4 0019E414 EC C2 30 28 */ fsubs f6, f2, f6 /* 801A14B8 0019E418 EC 81 38 28 */ fsubs f4, f1, f7 /* 801A14BC 0019E41C D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801A14C0 0019E420 EC 00 28 28 */ fsubs f0, f0, f5 /* 801A14C4 0019E424 C0 7A 00 50 */ lfs f3, 0x50(r26) /* 801A14C8 0019E428 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801A14CC 0019E42C C0 3A 00 40 */ lfs f1, 0x40(r26) /* 801A14D0 0019E430 EC 7D 18 28 */ fsubs f3, f29, f3 /* 801A14D4 0019E434 EC 5E 10 28 */ fsubs f2, f30, f2 /* 801A14D8 0019E438 EC 3F 08 28 */ fsubs f1, f31, f1 /* 801A14DC 0019E43C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801A14E0 0019E440 D0 61 00 54 */ stfs f3, 0x54(r1) /* 801A14E4 0019E444 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801A14E8 0019E448 D0 41 00 58 */ stfs f2, 0x58(r1) /* 801A14EC 0019E44C D0 C1 00 60 */ stfs f6, 0x60(r1) /* 801A14F0 0019E450 D0 81 00 64 */ stfs f4, 0x64(r1) /* 801A14F4 0019E454 48 17 33 C5 */ bl Magnitude__9CVector3fCFv /* 801A14F8 0019E458 FF E0 08 90 */ fmr f31, f1 /* 801A14FC 0019E45C 38 61 00 50 */ addi r3, r1, 0x50 /* 801A1500 0019E460 48 17 33 B9 */ bl Magnitude__9CVector3fCFv /* 801A1504 0019E464 EF E1 F8 2A */ fadds f31, f1, f31 /* 801A1508 0019E468 38 61 00 5C */ addi r3, r1, 0x5c /* 801A150C 0019E46C 48 17 33 AD */ bl Magnitude__9CVector3fCFv /* 801A1510 0019E470 C0 9A 00 50 */ lfs f4, 0x50(r26) /* 801A1514 0019E474 EF 41 F8 2A */ fadds f26, f1, f31 /* 801A1518 0019E478 C0 1A 02 9C */ lfs f0, 0x29c(r26) /* 801A151C 0019E47C 38 61 00 38 */ addi r3, r1, 0x38 /* 801A1520 0019E480 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 801A1524 0019E484 C0 5A 02 A0 */ lfs f2, 0x2a0(r26) /* 801A1528 0019E488 EC 84 00 28 */ fsubs f4, f4, f0 /* 801A152C 0019E48C C0 3A 00 40 */ lfs f1, 0x40(r26) /* 801A1530 0019E490 C0 1A 02 98 */ lfs f0, 0x298(r26) /* 801A1534 0019E494 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A1538 0019E498 EC 01 00 28 */ fsubs f0, f1, f0 /* 801A153C 0019E49C D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801A1540 0019E4A0 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801A1544 0019E4A4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801A1548 0019E4A8 48 17 33 71 */ bl Magnitude__9CVector3fCFv /* 801A154C 0019E4AC EC 21 D0 24 */ fdivs f1, f1, f26 /* 801A1550 0019E4B0 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 801A1554 0019E4B4 C0 5A 00 50 */ lfs f2, 0x50(r26) /* 801A1558 0019E4B8 38 61 00 2C */ addi r3, r1, 0x2c /* 801A155C 0019E4BC C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801A1560 0019E4C0 38 81 00 20 */ addi r4, r1, 0x20 /* 801A1564 0019E4C4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801A1568 0019E4C8 38 A1 01 28 */ addi r5, r1, 0x128 /* 801A156C 0019E4CC 38 C1 01 1C */ addi r6, r1, 0x11c /* 801A1570 0019E4D0 38 E1 01 40 */ addi r7, r1, 0x140 /* 801A1574 0019E4D4 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801A1578 0019E4D8 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801A157C 0019E4DC 48 17 39 9D */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 801A1580 0019E4E0 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801A1584 0019E4E4 38 61 01 10 */ addi r3, r1, 0x110 /* 801A1588 0019E4E8 C0 1A 00 50 */ lfs f0, 0x50(r26) /* 801A158C 0019E4EC C0 61 00 34 */ lfs f3, 0x34(r1) /* 801A1590 0019E4F0 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801A1594 0019E4F4 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A1598 0019E4F8 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801A159C 0019E4FC C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801A15A0 0019E500 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A15A4 0019E504 D0 81 01 14 */ stfs f4, 0x114(r1) /* 801A15A8 0019E508 EC 01 00 28 */ fsubs f0, f1, f0 /* 801A15AC 0019E50C D0 41 01 18 */ stfs f2, 0x118(r1) /* 801A15B0 0019E510 D0 01 01 10 */ stfs f0, 0x110(r1) /* 801A15B4 0019E514 48 17 31 45 */ bl CanBeNormalized__9CVector3fCFv /* 801A15B8 0019E518 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A15BC 0019E51C 41 82 00 BC */ beq lbl_801A1678 /* 801A15C0 0019E520 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A15C4 0019E524 3C A0 80 5A */ lis r5, lbl_805A66F4@ha /* 801A15C8 0019E528 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801A15CC 0019E52C 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l /* 801A15D0 0019E530 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 801A15D4 0019E534 38 A1 01 10 */ addi r5, r1, 0x110 /* 801A15D8 0019E538 48 17 25 39 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801A15DC 0019E53C 38 61 02 10 */ addi r3, r1, 0x210 /* 801A15E0 0019E540 38 81 01 E0 */ addi r4, r1, 0x1e0 /* 801A15E4 0019E544 48 17 15 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A15E8 0019E548 38 61 02 10 */ addi r3, r1, 0x210 /* 801A15EC 0019E54C 48 17 1D B9 */ bl Orthonormalize__12CTransform4fFv /* 801A15F0 0019E550 7F 63 DB 78 */ mr r3, r27 /* 801A15F4 0019E554 38 81 02 10 */ addi r4, r1, 0x210 /* 801A15F8 0019E558 48 10 EE AD */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f /* 801A15FC 0019E55C 7F 63 DB 78 */ mr r3, r27 /* 801A1600 0019E560 48 10 DB 35 */ bl GetVelocity__17CProjectileWeaponCFv /* 801A1604 0019E564 7C 64 1B 78 */ mr r4, r3 /* 801A1608 0019E568 38 61 00 14 */ addi r3, r1, 0x14 /* 801A160C 0019E56C 48 17 32 45 */ bl AsNormalized__9CVector3fCFv /* 801A1610 0019E570 C0 62 A7 B8 */ lfs f3, lbl_805AC4D8@sda21(r2) /* 801A1614 0019E574 7F 63 DB 78 */ mr r3, r27 /* 801A1618 0019E578 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801A161C 0019E57C C0 21 00 18 */ lfs f1, 0x18(r1) /* 801A1620 0019E580 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801A1624 0019E584 EF A3 00 B2 */ fmuls f29, f3, f2 /* 801A1628 0019E588 EF C3 00 72 */ fmuls f30, f3, f1 /* 801A162C 0019E58C EF E3 00 32 */ fmuls f31, f3, f0 /* 801A1630 0019E590 48 10 DB 05 */ bl GetVelocity__17CProjectileWeaponCFv /* 801A1634 0019E594 C0 02 A7 58 */ lfs f0, lbl_805AC478@sda21(r2) /* 801A1638 0019E598 38 81 01 04 */ addi r4, r1, 0x104 /* 801A163C 0019E59C C0 C3 00 04 */ lfs f6, 4(r3) /* 801A1640 0019E5A0 EC 9E 00 32 */ fmuls f4, f30, f0 /* 801A1644 0019E5A4 C0 A2 A7 BC */ lfs f5, lbl_805AC4DC@sda21(r2) /* 801A1648 0019E5A8 EC 5F 00 32 */ fmuls f2, f31, f0 /* 801A164C 0019E5AC C0 63 00 08 */ lfs f3, 8(r3) /* 801A1650 0019E5B0 C0 23 00 00 */ lfs f1, 0(r3) /* 801A1654 0019E5B4 EC 1D 00 32 */ fmuls f0, f29, f0 /* 801A1658 0019E5B8 EC 86 21 7A */ fmadds f4, f6, f5, f4 /* 801A165C 0019E5BC 7F 63 DB 78 */ mr r3, r27 /* 801A1660 0019E5C0 EC 43 11 7A */ fmadds f2, f3, f5, f2 /* 801A1664 0019E5C4 EC 01 01 7A */ fmadds f0, f1, f5, f0 /* 801A1668 0019E5C8 D0 81 01 08 */ stfs f4, 0x108(r1) /* 801A166C 0019E5CC D0 01 01 04 */ stfs f0, 0x104(r1) /* 801A1670 0019E5D0 D0 41 01 0C */ stfs f2, 0x10c(r1) /* 801A1674 0019E5D4 48 10 DA C9 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f lbl_801A1678: /* 801A1678 0019E5D8 3B DE 00 02 */ addi r30, r30, 2 lbl_801A167C: /* 801A167C 0019E5DC 80 01 0A 44 */ lwz r0, 0xa44(r1) /* 801A1680 0019E5E0 54 00 08 3C */ slwi r0, r0, 1 /* 801A1684 0019E5E4 7C 1F 02 14 */ add r0, r31, r0 /* 801A1688 0019E5E8 7C 1E 00 40 */ cmplw r30, r0 /* 801A168C 0019E5EC 40 82 FB F0 */ bne lbl_801A127C /* 801A1690 0019E5F0 80 A1 02 40 */ lwz r5, 0x240(r1) /* 801A1694 0019E5F4 38 60 00 00 */ li r3, 0 /* 801A1698 0019E5F8 2C 05 00 00 */ cmpwi r5, 0 /* 801A169C 0019E5FC 40 81 00 40 */ ble lbl_801A16DC /* 801A16A0 0019E600 2C 05 00 08 */ cmpwi r5, 8 /* 801A16A4 0019E604 38 85 FF F8 */ addi r4, r5, -8 /* 801A16A8 0019E608 40 81 00 20 */ ble lbl_801A16C8 /* 801A16AC 0019E60C 38 04 00 07 */ addi r0, r4, 7 /* 801A16B0 0019E610 54 00 E8 FE */ srwi r0, r0, 3 /* 801A16B4 0019E614 7C 09 03 A6 */ mtctr r0 /* 801A16B8 0019E618 2C 04 00 00 */ cmpwi r4, 0 /* 801A16BC 0019E61C 40 81 00 0C */ ble lbl_801A16C8 lbl_801A16C0: /* 801A16C0 0019E620 38 63 00 08 */ addi r3, r3, 8 /* 801A16C4 0019E624 42 00 FF FC */ bdnz lbl_801A16C0 lbl_801A16C8: /* 801A16C8 0019E628 7C 03 28 50 */ subf r0, r3, r5 /* 801A16CC 0019E62C 7C 09 03 A6 */ mtctr r0 /* 801A16D0 0019E630 7C 03 28 00 */ cmpw r3, r5 /* 801A16D4 0019E634 40 80 00 08 */ bge lbl_801A16DC lbl_801A16D8: /* 801A16D8 0019E638 42 00 00 00 */ bdnz lbl_801A16D8 lbl_801A16DC: /* 801A16DC 0019E63C 38 00 00 00 */ li r0, 0 /* 801A16E0 0019E640 90 01 02 40 */ stw r0, 0x240(r1) lbl_801A16E4: /* 801A16E4 0019E644 80 A1 0A 44 */ lwz r5, 0xa44(r1) /* 801A16E8 0019E648 38 60 00 00 */ li r3, 0 /* 801A16EC 0019E64C 2C 05 00 00 */ cmpwi r5, 0 /* 801A16F0 0019E650 40 81 00 40 */ ble lbl_801A1730 /* 801A16F4 0019E654 2C 05 00 08 */ cmpwi r5, 8 /* 801A16F8 0019E658 38 85 FF F8 */ addi r4, r5, -8 /* 801A16FC 0019E65C 40 81 00 20 */ ble lbl_801A171C /* 801A1700 0019E660 38 04 00 07 */ addi r0, r4, 7 /* 801A1704 0019E664 54 00 E8 FE */ srwi r0, r0, 3 /* 801A1708 0019E668 7C 09 03 A6 */ mtctr r0 /* 801A170C 0019E66C 2C 04 00 00 */ cmpwi r4, 0 /* 801A1710 0019E670 40 81 00 0C */ ble lbl_801A171C lbl_801A1714: /* 801A1714 0019E674 38 63 00 08 */ addi r3, r3, 8 /* 801A1718 0019E678 42 00 FF FC */ bdnz lbl_801A1714 lbl_801A171C: /* 801A171C 0019E67C 7C 03 28 50 */ subf r0, r3, r5 /* 801A1720 0019E680 7C 09 03 A6 */ mtctr r0 /* 801A1724 0019E684 7C 03 28 00 */ cmpw r3, r5 /* 801A1728 0019E688 40 80 00 08 */ bge lbl_801A1730 lbl_801A172C: /* 801A172C 0019E68C 42 00 00 00 */ bdnz lbl_801A172C lbl_801A1730: /* 801A1730 0019E690 38 00 00 00 */ li r0, 0 /* 801A1734 0019E694 90 01 0A 44 */ stw r0, 0xa44(r1) lbl_801A1738: /* 801A1738 0019E698 38 00 12 B8 */ li r0, 0x12b8 /* 801A173C 0019E69C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 801A1740 0019E6A0 CB E1 12 B0 */ lfd f31, 0x12b0(r1) /* 801A1744 0019E6A4 38 00 12 A8 */ li r0, 0x12a8 /* 801A1748 0019E6A8 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 /* 801A174C 0019E6AC CB C1 12 A0 */ lfd f30, 0x12a0(r1) /* 801A1750 0019E6B0 38 00 12 98 */ li r0, 0x1298 /* 801A1754 0019E6B4 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 /* 801A1758 0019E6B8 CB A1 12 90 */ lfd f29, 0x1290(r1) /* 801A175C 0019E6BC 38 00 12 88 */ li r0, 0x1288 /* 801A1760 0019E6C0 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 /* 801A1764 0019E6C4 CB 81 12 80 */ lfd f28, 0x1280(r1) /* 801A1768 0019E6C8 38 00 12 78 */ li r0, 0x1278 /* 801A176C 0019E6CC 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 /* 801A1770 0019E6D0 CB 61 12 70 */ lfd f27, 0x1270(r1) /* 801A1774 0019E6D4 38 00 12 68 */ li r0, 0x1268 /* 801A1778 0019E6D8 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 /* 801A177C 0019E6DC CB 41 12 60 */ lfd f26, 0x1260(r1) /* 801A1780 0019E6E0 BB 41 12 48 */ lmw r26, 0x1248(r1) /* 801A1784 0019E6E4 80 01 12 C4 */ lwz r0, 0x12c4(r1) /* 801A1788 0019E6E8 7C 08 03 A6 */ mtlr r0 /* 801A178C 0019E6EC 38 21 12 C0 */ addi r1, r1, 0x12c0 /* 801A1790 0019E6F0 4E 80 00 20 */ blr .global sub_801a1794 sub_801a1794: /* 801A1794 0019E6F4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A1798 0019E6F8 7C 08 02 A6 */ mflr r0 /* 801A179C 0019E6FC 90 01 00 14 */ stw r0, 0x14(r1) /* 801A17A0 0019E700 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A17A4 0019E704 7C 7F 1B 78 */ mr r31, r3 /* 801A17A8 0019E708 81 83 00 00 */ lwz r12, 0(r3) /* 801A17AC 0019E70C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A17B0 0019E710 7D 89 03 A6 */ mtctr r12 /* 801A17B4 0019E714 4E 80 04 21 */ bctrl /* 801A17B8 0019E718 28 03 00 00 */ cmplwi r3, 0 /* 801A17BC 0019E71C 41 82 00 24 */ beq lbl_801A17E0 /* 801A17C0 0019E720 C0 22 A7 C0 */ lfs f1, lbl_805AC4E0@sda21(r2) /* 801A17C4 0019E724 C0 1F 09 70 */ lfs f0, 0x970(r31) /* 801A17C8 0019E728 C0 43 00 00 */ lfs f2, 0(r3) /* 801A17CC 0019E72C EC 01 00 32 */ fmuls f0, f1, f0 /* 801A17D0 0019E730 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A17D4 0019E734 7C 00 00 26 */ mfcr r0 /* 801A17D8 0019E738 54 03 0F FE */ srwi r3, r0, 0x1f /* 801A17DC 0019E73C 48 00 00 08 */ b lbl_801A17E4 lbl_801A17E0: /* 801A17E0 0019E740 38 60 00 00 */ li r3, 0 lbl_801A17E4: /* 801A17E4 0019E744 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A17E8 0019E748 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A17EC 0019E74C 7C 08 03 A6 */ mtlr r0 /* 801A17F0 0019E750 38 21 00 10 */ addi r1, r1, 0x10 /* 801A17F4 0019E754 4E 80 00 20 */ blr .global Flinch__12CIceSheegothR13CStateManager9EStateMsgf Flinch__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A17F8 0019E758 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A17FC 0019E75C 7C 08 02 A6 */ mflr r0 /* 801A1800 0019E760 2C 05 00 01 */ cmpwi r5, 1 /* 801A1804 0019E764 90 01 00 34 */ stw r0, 0x34(r1) /* 801A1808 0019E768 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A180C 0019E76C 7C 9F 23 78 */ mr r31, r4 /* 801A1810 0019E770 93 C1 00 28 */ stw r30, 0x28(r1) /* 801A1814 0019E774 7C 7E 1B 78 */ mr r30, r3 /* 801A1818 0019E778 41 82 00 54 */ beq lbl_801A186C /* 801A181C 0019E77C 40 80 00 10 */ bge lbl_801A182C /* 801A1820 0019E780 2C 05 00 00 */ cmpwi r5, 0 /* 801A1824 0019E784 40 80 00 14 */ bge lbl_801A1838 /* 801A1828 0019E788 48 00 01 54 */ b lbl_801A197C lbl_801A182C: /* 801A182C 0019E78C 2C 05 00 03 */ cmpwi r5, 3 /* 801A1830 0019E790 40 80 01 4C */ bge lbl_801A197C /* 801A1834 0019E794 48 00 01 20 */ b lbl_801A1954 lbl_801A1838: /* 801A1838 0019E798 38 00 00 00 */ li r0, 0 /* 801A183C 0019E79C 38 C0 00 01 */ li r6, 1 /* 801A1840 0019E7A0 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A1844 0019E7A4 38 A0 00 01 */ li r5, 1 /* 801A1848 0019E7A8 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A184C 0019E7AC 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801A1850 0019E7B0 98 1E 0B 29 */ stb r0, 0xb29(r30) /* 801A1854 0019E7B4 4B FF D1 79 */ bl sub_8019e9cc /* 801A1858 0019E7B8 7F C3 F3 78 */ mr r3, r30 /* 801A185C 0019E7BC 7F E4 FB 78 */ mr r4, r31 /* 801A1860 0019E7C0 38 A0 00 01 */ li r5, 1 /* 801A1864 0019E7C4 4B FF D0 31 */ bl sub_8019e894 /* 801A1868 0019E7C8 48 00 01 14 */ b lbl_801A197C lbl_801A186C: /* 801A186C 0019E7CC 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801A1870 0019E7D0 2C 00 00 03 */ cmpwi r0, 3 /* 801A1874 0019E7D4 41 82 00 C4 */ beq lbl_801A1938 /* 801A1878 0019E7D8 40 80 01 04 */ bge lbl_801A197C /* 801A187C 0019E7DC 2C 00 00 00 */ cmpwi r0, 0 /* 801A1880 0019E7E0 41 82 00 08 */ beq lbl_801A1888 /* 801A1884 0019E7E4 48 00 00 F8 */ b lbl_801A197C lbl_801A1888: /* 801A1888 0019E7E8 80 BE 04 50 */ lwz r5, 0x450(r30) /* 801A188C 0019E7EC 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801A1890 0019E7F0 2C 00 00 06 */ cmpwi r0, 6 /* 801A1894 0019E7F4 40 82 00 10 */ bne lbl_801A18A4 /* 801A1898 0019E7F8 38 00 00 03 */ li r0, 3 /* 801A189C 0019E7FC 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A18A0 0019E800 48 00 00 DC */ b lbl_801A197C lbl_801A18A4: /* 801A18A4 0019E804 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A18A8 0019E808 C0 5E 09 80 */ lfs f2, 0x980(r30) /* 801A18AC 0019E80C 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l /* 801A18B0 0019E810 C0 3E 09 84 */ lfs f1, 0x984(r30) /* 801A18B4 0019E814 C0 1E 09 88 */ lfs f0, 0x988(r30) /* 801A18B8 0019E818 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 801A18BC 0019E81C 38 C0 00 04 */ li r6, 4 /* 801A18C0 0019E820 38 00 00 01 */ li r0, 1 /* 801A18C4 0019E824 3B E5 00 04 */ addi r31, r5, 4 /* 801A18C8 0019E828 90 81 00 08 */ stw r4, 8(r1) /* 801A18CC 0019E82C 38 A3 AA 44 */ addi r5, r3, lbl_803DAA44@l /* 801A18D0 0019E830 38 80 00 04 */ li r4, 4 /* 801A18D4 0019E834 90 C1 00 0C */ stw r6, 0xc(r1) /* 801A18D8 0019E838 7F E3 FB 78 */ mr r3, r31 /* 801A18DC 0019E83C 90 A1 00 08 */ stw r5, 8(r1) /* 801A18E0 0019E840 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801A18E4 0019E844 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801A18E8 0019E848 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801A18EC 0019E84C 90 01 00 1C */ stw r0, 0x1c(r1) /* 801A18F0 0019E850 4B F8 FB 49 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A18F4 0019E854 80 01 00 0C */ lwz r0, 0xc(r1) /* 801A18F8 0019E858 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 801A18FC 0019E85C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 801A1900 0019E860 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A1904 0019E864 90 1F 00 F8 */ stw r0, 0xf8(r31) /* 801A1908 0019E868 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A190C 0019E86C 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801A1910 0019E870 80 61 00 14 */ lwz r3, 0x14(r1) /* 801A1914 0019E874 90 BF 00 FC */ stw r5, 0xfc(r31) /* 801A1918 0019E878 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801A191C 0019E87C 90 7F 01 00 */ stw r3, 0x100(r31) /* 801A1920 0019E880 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801A1924 0019E884 90 BF 01 04 */ stw r5, 0x104(r31) /* 801A1928 0019E888 90 81 00 08 */ stw r4, 8(r1) /* 801A192C 0019E88C 90 7F 01 08 */ stw r3, 0x108(r31) /* 801A1930 0019E890 90 01 00 08 */ stw r0, 8(r1) /* 801A1934 0019E894 48 00 00 48 */ b lbl_801A197C lbl_801A1938: /* 801A1938 0019E898 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A193C 0019E89C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A1940 0019E8A0 2C 00 00 06 */ cmpwi r0, 6 /* 801A1944 0019E8A4 41 82 00 38 */ beq lbl_801A197C /* 801A1948 0019E8A8 38 00 00 04 */ li r0, 4 /* 801A194C 0019E8AC 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A1950 0019E8B0 48 00 00 2C */ b lbl_801A197C lbl_801A1954: /* 801A1954 0019E8B4 38 A0 00 01 */ li r5, 1 /* 801A1958 0019E8B8 4B FF D0 75 */ bl sub_8019e9cc /* 801A195C 0019E8BC 7F C3 F3 78 */ mr r3, r30 /* 801A1960 0019E8C0 7F E4 FB 78 */ mr r4, r31 /* 801A1964 0019E8C4 38 A0 00 01 */ li r5, 1 /* 801A1968 0019E8C8 4B FF CF 2D */ bl sub_8019e894 /* 801A196C 0019E8CC 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A1970 0019E8D0 38 60 00 00 */ li r3, 0 /* 801A1974 0019E8D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801A1978 0019E8D8 98 1E 0B 29 */ stb r0, 0xb29(r30) lbl_801A197C: /* 801A197C 0019E8DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A1980 0019E8E0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A1984 0019E8E4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801A1988 0019E8E8 7C 08 03 A6 */ mtlr r0 /* 801A198C 0019E8EC 38 21 00 30 */ addi r1, r1, 0x30 /* 801A1990 0019E8F0 4E 80 00 20 */ blr .global TurnAround__12CIceSheegothR13CStateManager9EStateMsgf TurnAround__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A1994 0019E8F4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801A1998 0019E8F8 7C 08 02 A6 */ mflr r0 /* 801A199C 0019E8FC 90 01 00 74 */ stw r0, 0x74(r1) /* 801A19A0 0019E900 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801A19A4 0019E904 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801A19A8 0019E908 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801A19AC 0019E90C 93 C1 00 58 */ stw r30, 0x58(r1) /* 801A19B0 0019E910 FF E0 08 90 */ fmr f31, f1 /* 801A19B4 0019E914 2C 05 00 01 */ cmpwi r5, 1 /* 801A19B8 0019E918 7C 7E 1B 78 */ mr r30, r3 /* 801A19BC 0019E91C 7C 9F 23 78 */ mr r31, r4 /* 801A19C0 0019E920 41 82 00 88 */ beq lbl_801A1A48 /* 801A19C4 0019E924 40 80 00 10 */ bge lbl_801A19D4 /* 801A19C8 0019E928 2C 05 00 00 */ cmpwi r5, 0 /* 801A19CC 0019E92C 40 80 00 14 */ bge lbl_801A19E0 /* 801A19D0 0019E930 48 00 01 A4 */ b lbl_801A1B74 lbl_801A19D4: /* 801A19D4 0019E934 2C 05 00 03 */ cmpwi r5, 3 /* 801A19D8 0019E938 40 80 01 9C */ bge lbl_801A1B74 /* 801A19DC 0019E93C 48 00 01 84 */ b lbl_801A1B60 lbl_801A19E0: /* 801A19E0 0019E940 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801A19E4 0019E944 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A19E8 0019E948 38 81 00 0C */ addi r4, r1, 0xc /* 801A19EC 0019E94C A0 05 00 08 */ lhz r0, 8(r5) /* 801A19F0 0019E950 B0 01 00 08 */ sth r0, 8(r1) /* 801A19F4 0019E954 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A19F8 0019E958 4B FD 38 21 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801A19FC 0019E95C 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A1A00 0019E960 38 80 00 01 */ li r4, 1 /* 801A1A04 0019E964 4B FD 38 21 */ bl SetActive__13CBoneTrackingFb /* 801A1A08 0019E968 7F C3 F3 78 */ mr r3, r30 /* 801A1A0C 0019E96C 7F E4 FB 78 */ mr r4, r31 /* 801A1A10 0019E970 38 BE 02 E0 */ addi r5, r30, 0x2e0 /* 801A1A14 0019E974 4B FF F0 49 */ bl sub_801a0a5c /* 801A1A18 0019E978 7F C3 F3 78 */ mr r3, r30 /* 801A1A1C 0019E97C 38 80 00 00 */ li r4, 0 /* 801A1A20 0019E980 4B FF D3 F9 */ bl sub_8019ee18 /* 801A1A24 0019E984 FC 20 F8 90 */ fmr f1, f31 /* 801A1A28 0019E988 7F C3 F3 78 */ mr r3, r30 /* 801A1A2C 0019E98C 7F E4 FB 78 */ mr r4, r31 /* 801A1A30 0019E990 38 A0 00 00 */ li r5, 0 /* 801A1A34 0019E994 48 05 4C 99 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A1A38 0019E998 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A1A3C 0019E99C 38 63 00 04 */ addi r3, r3, 4 /* 801A1A40 0019E9A0 4B F8 FA 69 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 801A1A44 0019E9A4 48 00 01 30 */ b lbl_801A1B74 lbl_801A1A48: /* 801A1A48 0019E9A8 C0 22 A7 C4 */ lfs f1, lbl_805AC4E4@sda21(r2) /* 801A1A4C 0019E9AC 4B FF D2 91 */ bl sub_8019ecdc /* 801A1A50 0019E9B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A1A54 0019E9B4 41 82 00 E0 */ beq lbl_801A1B34 /* 801A1A58 0019E9B8 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801A1A5C 0019E9BC 7F E5 FB 78 */ mr r5, r31 /* 801A1A60 0019E9C0 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A1A64 0019E9C4 38 61 00 1C */ addi r3, r1, 0x1c /* 801A1A68 0019E9C8 80 C4 00 10 */ lwz r6, 0x10(r4) /* 801A1A6C 0019E9CC 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801A1A70 0019E9D0 C0 46 02 00 */ lfs f2, 0x200(r6) /* 801A1A74 0019E9D4 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801A1A78 0019E9D8 40 81 00 0C */ ble lbl_801A1A84 /* 801A1A7C 0019E9DC C0 02 A7 70 */ lfs f0, lbl_805AC490@sda21(r2) /* 801A1A80 0019E9E0 EC 20 10 24 */ fdivs f1, f0, f2 lbl_801A1A84: /* 801A1A84 0019E9E4 81 84 00 00 */ lwz r12, 0(r4) /* 801A1A88 0019E9E8 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A1A8C 0019E9EC 7D 89 03 A6 */ mtctr r12 /* 801A1A90 0019E9F0 4E 80 04 21 */ bctrl /* 801A1A94 0019E9F4 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801A1A98 0019E9F8 38 61 00 28 */ addi r3, r1, 0x28 /* 801A1A9C 0019E9FC C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801A1AA0 0019EA00 C0 61 00 20 */ lfs f3, 0x20(r1) /* 801A1AA4 0019EA04 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801A1AA8 0019EA08 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A1AAC 0019EA0C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801A1AB0 0019EA10 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801A1AB4 0019EA14 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A1AB8 0019EA18 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801A1ABC 0019EA1C EC 21 00 28 */ fsubs f1, f1, f0 /* 801A1AC0 0019EA20 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A1AC4 0019EA24 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801A1AC8 0019EA28 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801A1ACC 0019EA2C D0 01 00 30 */ stfs f0, 0x30(r1) /* 801A1AD0 0019EA30 48 17 2C 29 */ bl CanBeNormalized__9CVector3fCFv /* 801A1AD4 0019EA34 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A1AD8 0019EA38 41 82 00 5C */ beq lbl_801A1B34 /* 801A1ADC 0019EA3C 38 61 00 10 */ addi r3, r1, 0x10 /* 801A1AE0 0019EA40 38 81 00 28 */ addi r4, r1, 0x28 /* 801A1AE4 0019EA44 48 17 2D 6D */ bl AsNormalized__9CVector3fCFv /* 801A1AE8 0019EA48 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A1AEC 0019EA4C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801A1AF0 0019EA50 C0 61 00 10 */ lfs f3, 0x10(r1) /* 801A1AF4 0019EA54 38 81 00 34 */ addi r4, r1, 0x34 /* 801A1AF8 0019EA58 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801A1AFC 0019EA5C C0 A3 00 04 */ lfs f5, 4(r3) /* 801A1B00 0019EA60 C0 83 00 08 */ lfs f4, 8(r3) /* 801A1B04 0019EA64 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801A1B08 0019EA68 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A1B0C 0019EA6C D0 C1 00 34 */ stfs f6, 0x34(r1) /* 801A1B10 0019EA70 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801A1B14 0019EA74 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801A1B18 0019EA78 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801A1B1C 0019EA7C D0 41 00 44 */ stfs f2, 0x44(r1) /* 801A1B20 0019EA80 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801A1B24 0019EA84 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801A1B28 0019EA88 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A1B2C 0019EA8C 38 63 00 04 */ addi r3, r3, 4 /* 801A1B30 0019EA90 4B F8 FB E9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801A1B34: /* 801A1B34 0019EA94 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A1B38 0019EA98 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A1B3C 0019EA9C 2C 00 00 08 */ cmpwi r0, 8 /* 801A1B40 0019EAA0 40 82 00 0C */ bne lbl_801A1B4C /* 801A1B44 0019EAA4 C0 22 A7 74 */ lfs f1, lbl_805AC494@sda21(r2) /* 801A1B48 0019EAA8 48 00 00 08 */ b lbl_801A1B50 lbl_801A1B4C: /* 801A1B4C 0019EAAC C0 22 A7 60 */ lfs f1, lbl_805AC480@sda21(r2) lbl_801A1B50: /* 801A1B50 0019EAB0 C0 1E 09 4C */ lfs f0, 0x94c(r30) /* 801A1B54 0019EAB4 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A1B58 0019EAB8 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 801A1B5C 0019EABC 48 00 00 18 */ b lbl_801A1B74 lbl_801A1B60: /* 801A1B60 0019EAC0 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A1B64 0019EAC4 38 80 00 00 */ li r4, 0 /* 801A1B68 0019EAC8 4B FD 36 BD */ bl SetActive__13CBoneTrackingFb /* 801A1B6C 0019EACC C0 1E 09 4C */ lfs f0, 0x94c(r30) /* 801A1B70 0019EAD0 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) lbl_801A1B74: /* 801A1B74 0019EAD4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801A1B78 0019EAD8 80 01 00 74 */ lwz r0, 0x74(r1) /* 801A1B7C 0019EADC CB E1 00 60 */ lfd f31, 0x60(r1) /* 801A1B80 0019EAE0 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801A1B84 0019EAE4 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801A1B88 0019EAE8 7C 08 03 A6 */ mtlr r0 /* 801A1B8C 0019EAEC 38 21 00 70 */ addi r1, r1, 0x70 /* 801A1B90 0019EAF0 4E 80 00 20 */ blr .global Enraged__12CIceSheegothR13CStateManager9EStateMsgf Enraged__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A1B94 0019EAF4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A1B98 0019EAF8 7C 08 02 A6 */ mflr r0 /* 801A1B9C 0019EAFC 2C 05 00 01 */ cmpwi r5, 1 /* 801A1BA0 0019EB00 90 01 00 34 */ stw r0, 0x34(r1) /* 801A1BA4 0019EB04 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A1BA8 0019EB08 41 82 00 30 */ beq lbl_801A1BD8 /* 801A1BAC 0019EB0C 40 80 01 4C */ bge lbl_801A1CF8 /* 801A1BB0 0019EB10 2C 05 00 00 */ cmpwi r5, 0 /* 801A1BB4 0019EB14 40 80 00 08 */ bge lbl_801A1BBC /* 801A1BB8 0019EB18 48 00 01 40 */ b lbl_801A1CF8 lbl_801A1BBC: /* 801A1BBC 0019EB1C 38 00 00 00 */ li r0, 0 /* 801A1BC0 0019EB20 38 80 00 01 */ li r4, 1 /* 801A1BC4 0019EB24 90 03 05 68 */ stw r0, 0x568(r3) /* 801A1BC8 0019EB28 88 03 0B 28 */ lbz r0, 0xb28(r3) /* 801A1BCC 0019EB2C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801A1BD0 0019EB30 98 03 0B 28 */ stb r0, 0xb28(r3) /* 801A1BD4 0019EB34 48 00 01 24 */ b lbl_801A1CF8 lbl_801A1BD8: /* 801A1BD8 0019EB38 80 03 05 68 */ lwz r0, 0x568(r3) /* 801A1BDC 0019EB3C 2C 00 00 03 */ cmpwi r0, 3 /* 801A1BE0 0019EB40 41 82 01 00 */ beq lbl_801A1CE0 /* 801A1BE4 0019EB44 40 80 01 14 */ bge lbl_801A1CF8 /* 801A1BE8 0019EB48 2C 00 00 00 */ cmpwi r0, 0 /* 801A1BEC 0019EB4C 41 82 00 08 */ beq lbl_801A1BF4 /* 801A1BF0 0019EB50 48 00 01 08 */ b lbl_801A1CF8 lbl_801A1BF4: /* 801A1BF4 0019EB54 81 43 04 50 */ lwz r10, 0x450(r3) /* 801A1BF8 0019EB58 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 801A1BFC 0019EB5C 2C 00 00 0C */ cmpwi r0, 0xc /* 801A1C00 0019EB60 40 82 00 10 */ bne lbl_801A1C10 /* 801A1C04 0019EB64 38 00 00 03 */ li r0, 3 /* 801A1C08 0019EB68 90 03 05 68 */ stw r0, 0x568(r3) /* 801A1C0C 0019EB6C 48 00 00 EC */ b lbl_801A1CF8 lbl_801A1C10: /* 801A1C10 0019EB70 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801A1C14 0019EB74 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A1C18 0019EB78 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A1C1C 0019EB7C 80 81 00 24 */ lwz r4, 0x24(r1) /* 801A1C20 0019EB80 38 60 00 00 */ li r3, 0 /* 801A1C24 0019EB84 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 801A1C28 0019EB88 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 801A1C2C 0019EB8C C0 45 00 00 */ lfs f2, 0(r5) /* 801A1C30 0019EB90 C0 25 00 04 */ lfs f1, 4(r5) /* 801A1C34 0019EB94 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 801A1C38 0019EB98 C0 05 00 08 */ lfs f0, 8(r5) /* 801A1C3C 0019EB9C 7C 80 23 78 */ mr r0, r4 /* 801A1C40 0019EBA0 39 00 00 0E */ li r8, 0xe /* 801A1C44 0019EBA4 38 C0 00 03 */ li r6, 3 /* 801A1C48 0019EBA8 38 A0 FF FF */ li r5, -1 /* 801A1C4C 0019EBAC 3B EA 00 04 */ addi r31, r10, 4 /* 801A1C50 0019EBB0 91 21 00 08 */ stw r9, 8(r1) /* 801A1C54 0019EBB4 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 801A1C58 0019EBB8 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 801A1C5C 0019EBBC 7F E3 FB 78 */ mr r3, r31 /* 801A1C60 0019EBC0 90 81 00 24 */ stw r4, 0x24(r1) /* 801A1C64 0019EBC4 38 80 00 0E */ li r4, 0xe /* 801A1C68 0019EBC8 91 01 00 0C */ stw r8, 0xc(r1) /* 801A1C6C 0019EBCC 90 E1 00 08 */ stw r7, 8(r1) /* 801A1C70 0019EBD0 90 C1 00 10 */ stw r6, 0x10(r1) /* 801A1C74 0019EBD4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801A1C78 0019EBD8 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A1C7C 0019EBDC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A1C80 0019EBE0 90 A1 00 20 */ stw r5, 0x20(r1) /* 801A1C84 0019EBE4 90 01 00 24 */ stw r0, 0x24(r1) /* 801A1C88 0019EBE8 4B F8 F7 B1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A1C8C 0019EBEC 80 01 00 0C */ lwz r0, 0xc(r1) /* 801A1C90 0019EBF0 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801A1C94 0019EBF4 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801A1C98 0019EBF8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A1C9C 0019EBFC 90 1F 01 90 */ stw r0, 0x190(r31) /* 801A1CA0 0019EC00 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A1CA4 0019EC04 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801A1CA8 0019EC08 80 61 00 14 */ lwz r3, 0x14(r1) /* 801A1CAC 0019EC0C 90 BF 01 94 */ stw r5, 0x194(r31) /* 801A1CB0 0019EC10 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801A1CB4 0019EC14 90 7F 01 98 */ stw r3, 0x198(r31) /* 801A1CB8 0019EC18 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801A1CBC 0019EC1C 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801A1CC0 0019EC20 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801A1CC4 0019EC24 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801A1CC8 0019EC28 80 61 00 24 */ lwz r3, 0x24(r1) /* 801A1CCC 0019EC2C 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801A1CD0 0019EC30 90 81 00 08 */ stw r4, 8(r1) /* 801A1CD4 0019EC34 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801A1CD8 0019EC38 90 01 00 08 */ stw r0, 8(r1) /* 801A1CDC 0019EC3C 48 00 00 1C */ b lbl_801A1CF8 lbl_801A1CE0: /* 801A1CE0 0019EC40 80 83 04 50 */ lwz r4, 0x450(r3) /* 801A1CE4 0019EC44 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801A1CE8 0019EC48 2C 00 00 0C */ cmpwi r0, 0xc /* 801A1CEC 0019EC4C 41 82 00 0C */ beq lbl_801A1CF8 /* 801A1CF0 0019EC50 38 00 00 04 */ li r0, 4 /* 801A1CF4 0019EC54 90 03 05 68 */ stw r0, 0x568(r3) lbl_801A1CF8: /* 801A1CF8 0019EC58 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A1CFC 0019EC5C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A1D00 0019EC60 7C 08 03 A6 */ mtlr r0 /* 801A1D04 0019EC64 38 21 00 30 */ addi r1, r1, 0x30 /* 801A1D08 0019EC68 4E 80 00 20 */ blr .global Taunt__12CIceSheegothR13CStateManager9EStateMsgf Taunt__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A1D0C 0019EC6C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A1D10 0019EC70 7C 08 02 A6 */ mflr r0 /* 801A1D14 0019EC74 2C 05 00 01 */ cmpwi r5, 1 /* 801A1D18 0019EC78 90 01 00 24 */ stw r0, 0x24(r1) /* 801A1D1C 0019EC7C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A1D20 0019EC80 7C 7F 1B 78 */ mr r31, r3 /* 801A1D24 0019EC84 41 82 00 44 */ beq lbl_801A1D68 /* 801A1D28 0019EC88 40 80 00 10 */ bge lbl_801A1D38 /* 801A1D2C 0019EC8C 2C 05 00 00 */ cmpwi r5, 0 /* 801A1D30 0019EC90 40 80 00 14 */ bge lbl_801A1D44 /* 801A1D34 0019EC94 48 00 01 04 */ b lbl_801A1E38 lbl_801A1D38: /* 801A1D38 0019EC98 2C 05 00 03 */ cmpwi r5, 3 /* 801A1D3C 0019EC9C 40 80 00 FC */ bge lbl_801A1E38 /* 801A1D40 0019ECA0 48 00 00 E0 */ b lbl_801A1E20 lbl_801A1D44: /* 801A1D44 0019ECA4 38 00 00 00 */ li r0, 0 /* 801A1D48 0019ECA8 38 C0 00 01 */ li r6, 1 /* 801A1D4C 0019ECAC 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A1D50 0019ECB0 38 A0 00 01 */ li r5, 1 /* 801A1D54 0019ECB4 88 1F 0B 29 */ lbz r0, 0xb29(r31) /* 801A1D58 0019ECB8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801A1D5C 0019ECBC 98 1F 0B 29 */ stb r0, 0xb29(r31) /* 801A1D60 0019ECC0 4B FF CB 35 */ bl sub_8019e894 /* 801A1D64 0019ECC4 48 00 00 D4 */ b lbl_801A1E38 lbl_801A1D68: /* 801A1D68 0019ECC8 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801A1D6C 0019ECCC 2C 00 00 03 */ cmpwi r0, 3 /* 801A1D70 0019ECD0 41 82 00 94 */ beq lbl_801A1E04 /* 801A1D74 0019ECD4 40 80 00 C4 */ bge lbl_801A1E38 /* 801A1D78 0019ECD8 2C 00 00 00 */ cmpwi r0, 0 /* 801A1D7C 0019ECDC 41 82 00 08 */ beq lbl_801A1D84 /* 801A1D80 0019ECE0 48 00 00 B8 */ b lbl_801A1E38 lbl_801A1D84: /* 801A1D84 0019ECE4 80 DF 04 50 */ lwz r6, 0x450(r31) /* 801A1D88 0019ECE8 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801A1D8C 0019ECEC 2C 00 00 10 */ cmpwi r0, 0x10 /* 801A1D90 0019ECF0 40 82 00 10 */ bne lbl_801A1DA0 /* 801A1D94 0019ECF4 38 00 00 03 */ li r0, 3 /* 801A1D98 0019ECF8 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A1D9C 0019ECFC 48 00 00 9C */ b lbl_801A1E38 lbl_801A1DA0: /* 801A1DA0 0019ED00 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801A1DA4 0019ED04 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801A1DA8 0019ED08 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801A1DAC 0019ED0C 38 80 00 12 */ li r4, 0x12 /* 801A1DB0 0019ED10 90 01 00 08 */ stw r0, 8(r1) /* 801A1DB4 0019ED14 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l /* 801A1DB8 0019ED18 38 00 00 00 */ li r0, 0 /* 801A1DBC 0019ED1C 3B E6 00 04 */ addi r31, r6, 4 /* 801A1DC0 0019ED20 90 81 00 0C */ stw r4, 0xc(r1) /* 801A1DC4 0019ED24 7F E3 FB 78 */ mr r3, r31 /* 801A1DC8 0019ED28 38 80 00 12 */ li r4, 0x12 /* 801A1DCC 0019ED2C 90 A1 00 08 */ stw r5, 8(r1) /* 801A1DD0 0019ED30 90 01 00 10 */ stw r0, 0x10(r1) /* 801A1DD4 0019ED34 4B F8 F6 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A1DD8 0019ED38 80 01 00 0C */ lwz r0, 0xc(r1) /* 801A1DDC 0019ED3C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801A1DE0 0019ED40 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 801A1DE4 0019ED44 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A1DE8 0019ED48 90 1F 02 14 */ stw r0, 0x214(r31) /* 801A1DEC 0019ED4C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A1DF0 0019ED50 80 61 00 10 */ lwz r3, 0x10(r1) /* 801A1DF4 0019ED54 90 81 00 08 */ stw r4, 8(r1) /* 801A1DF8 0019ED58 90 7F 02 18 */ stw r3, 0x218(r31) /* 801A1DFC 0019ED5C 90 01 00 08 */ stw r0, 8(r1) /* 801A1E00 0019ED60 48 00 00 38 */ b lbl_801A1E38 lbl_801A1E04: /* 801A1E04 0019ED64 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A1E08 0019ED68 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A1E0C 0019ED6C 2C 00 00 10 */ cmpwi r0, 0x10 /* 801A1E10 0019ED70 41 82 00 28 */ beq lbl_801A1E38 /* 801A1E14 0019ED74 38 00 00 04 */ li r0, 4 /* 801A1E18 0019ED78 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A1E1C 0019ED7C 48 00 00 1C */ b lbl_801A1E38 lbl_801A1E20: /* 801A1E20 0019ED80 38 A0 00 00 */ li r5, 0 /* 801A1E24 0019ED84 4B FF CA 71 */ bl sub_8019e894 /* 801A1E28 0019ED88 88 1F 0B 29 */ lbz r0, 0xb29(r31) /* 801A1E2C 0019ED8C 38 60 00 00 */ li r3, 0 /* 801A1E30 0019ED90 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801A1E34 0019ED94 98 1F 0B 29 */ stb r0, 0xb29(r31) lbl_801A1E38: /* 801A1E38 0019ED98 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A1E3C 0019ED9C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A1E40 0019EDA0 7C 08 03 A6 */ mtlr r0 /* 801A1E44 0019EDA4 38 21 00 20 */ addi r1, r1, 0x20 /* 801A1E48 0019EDA8 4E 80 00 20 */ blr .global Crouch__12CIceSheegothR13CStateManager9EStateMsgf Crouch__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A1E4C 0019EDAC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A1E50 0019EDB0 7C 08 02 A6 */ mflr r0 /* 801A1E54 0019EDB4 2C 05 00 01 */ cmpwi r5, 1 /* 801A1E58 0019EDB8 90 01 00 24 */ stw r0, 0x24(r1) /* 801A1E5C 0019EDBC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A1E60 0019EDC0 7C 9F 23 78 */ mr r31, r4 /* 801A1E64 0019EDC4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801A1E68 0019EDC8 7C 7E 1B 78 */ mr r30, r3 /* 801A1E6C 0019EDCC 41 82 00 88 */ beq lbl_801A1EF4 /* 801A1E70 0019EDD0 40 80 00 10 */ bge lbl_801A1E80 /* 801A1E74 0019EDD4 2C 05 00 00 */ cmpwi r5, 0 /* 801A1E78 0019EDD8 40 80 00 14 */ bge lbl_801A1E8C /* 801A1E7C 0019EDDC 48 00 00 78 */ b lbl_801A1EF4 lbl_801A1E80: /* 801A1E80 0019EDE0 2C 05 00 03 */ cmpwi r5, 3 /* 801A1E84 0019EDE4 40 80 00 70 */ bge lbl_801A1EF4 /* 801A1E88 0019EDE8 48 00 00 5C */ b lbl_801A1EE4 lbl_801A1E8C: /* 801A1E8C 0019EDEC 7F E6 FB 78 */ mr r6, r31 /* 801A1E90 0019EDF0 38 80 00 29 */ li r4, 0x29 /* 801A1E94 0019EDF4 38 A0 00 28 */ li r5, 0x28 /* 801A1E98 0019EDF8 4B EB 20 3D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 801A1E9C 0019EDFC A0 1E 00 08 */ lhz r0, 8(r30) /* 801A1EA0 0019EE00 7F E6 FB 78 */ mr r6, r31 /* 801A1EA4 0019EE04 38 81 00 0C */ addi r4, r1, 0xc /* 801A1EA8 0019EE08 38 A0 00 08 */ li r5, 8 /* 801A1EAC 0019EE0C B0 01 00 0C */ sth r0, 0xc(r1) /* 801A1EB0 0019EE10 B0 01 00 08 */ sth r0, 8(r1) /* 801A1EB4 0019EE14 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801A1EB8 0019EE18 4B FD 93 9D */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager /* 801A1EBC 0019EE1C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A1EC0 0019EE20 38 80 00 00 */ li r4, 0 /* 801A1EC4 0019EE24 4B F9 8B 15 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801A1EC8 0019EE28 C0 1E 07 4C */ lfs f0, 0x74c(r30) /* 801A1ECC 0019EE2C 38 60 00 00 */ li r3, 0 /* 801A1ED0 0019EE30 D0 1E 09 68 */ stfs f0, 0x968(r30) /* 801A1ED4 0019EE34 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801A1ED8 0019EE38 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A1EDC 0019EE3C 98 1E 04 00 */ stb r0, 0x400(r30) /* 801A1EE0 0019EE40 48 00 00 14 */ b lbl_801A1EF4 lbl_801A1EE4: /* 801A1EE4 0019EE44 7F E6 FB 78 */ mr r6, r31 /* 801A1EE8 0019EE48 38 80 00 29 */ li r4, 0x29 /* 801A1EEC 0019EE4C 38 A0 00 28 */ li r5, 0x28 /* 801A1EF0 0019EE50 4B EB 23 C5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager lbl_801A1EF4: /* 801A1EF4 0019EE54 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A1EF8 0019EE58 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A1EFC 0019EE5C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801A1F00 0019EE60 7C 08 03 A6 */ mtlr r0 /* 801A1F04 0019EE64 38 21 00 20 */ addi r1, r1, 0x20 /* 801A1F08 0019EE68 4E 80 00 20 */ blr .global Deactivate__12CIceSheegothR13CStateManager9EStateMsgf Deactivate__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A1F0C 0019EE6C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801A1F10 0019EE70 7C 08 02 A6 */ mflr r0 /* 801A1F14 0019EE74 2C 05 00 01 */ cmpwi r5, 1 /* 801A1F18 0019EE78 90 01 00 84 */ stw r0, 0x84(r1) /* 801A1F1C 0019EE7C 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801A1F20 0019EE80 7C 7F 1B 78 */ mr r31, r3 /* 801A1F24 0019EE84 41 82 00 20 */ beq lbl_801A1F44 /* 801A1F28 0019EE88 40 80 02 98 */ bge lbl_801A21C0 /* 801A1F2C 0019EE8C 2C 05 00 00 */ cmpwi r5, 0 /* 801A1F30 0019EE90 40 80 00 08 */ bge lbl_801A1F38 /* 801A1F34 0019EE94 48 00 02 8C */ b lbl_801A21C0 lbl_801A1F38: /* 801A1F38 0019EE98 38 00 00 01 */ li r0, 1 /* 801A1F3C 0019EE9C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A1F40 0019EEA0 48 00 02 80 */ b lbl_801A21C0 lbl_801A1F44: /* 801A1F44 0019EEA4 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801A1F48 0019EEA8 2C 00 00 02 */ cmpwi r0, 2 /* 801A1F4C 0019EEAC 41 82 00 D8 */ beq lbl_801A2024 /* 801A1F50 0019EEB0 40 80 00 14 */ bge lbl_801A1F64 /* 801A1F54 0019EEB4 2C 00 00 00 */ cmpwi r0, 0 /* 801A1F58 0019EEB8 41 82 01 58 */ beq lbl_801A20B0 /* 801A1F5C 0019EEBC 40 80 00 14 */ bge lbl_801A1F70 /* 801A1F60 0019EEC0 48 00 02 60 */ b lbl_801A21C0 lbl_801A1F64: /* 801A1F64 0019EEC4 2C 00 00 04 */ cmpwi r0, 4 /* 801A1F68 0019EEC8 40 80 02 58 */ bge lbl_801A21C0 /* 801A1F6C 0019EECC 48 00 02 3C */ b lbl_801A21A8 lbl_801A1F70: /* 801A1F70 0019EED0 38 DF 03 A0 */ addi r6, r31, 0x3a0 /* 801A1F74 0019EED4 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801A1F78 0019EED8 C0 3F 03 A4 */ lfs f1, 0x3a4(r31) /* 801A1F7C 0019EEDC C0 7F 03 A0 */ lfs f3, 0x3a0(r31) /* 801A1F80 0019EEE0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A1F84 0019EEE4 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801A1F88 0019EEE8 C0 5F 03 A8 */ lfs f2, 0x3a8(r31) /* 801A1F8C 0019EEEC C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801A1F90 0019EEF0 EC 63 08 28 */ fsubs f3, f3, f1 /* 801A1F94 0019EEF4 EC 24 01 32 */ fmuls f1, f4, f4 /* 801A1F98 0019EEF8 EC 42 00 28 */ fsubs f2, f2, f0 /* 801A1F9C 0019EEFC C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A1FA0 0019EF00 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801A1FA4 0019EF04 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801A1FA8 0019EF08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A1FAC 0019EF0C 4C 40 13 82 */ cror 2, 0, 2 /* 801A1FB0 0019EF10 40 82 00 10 */ bne lbl_801A1FC0 /* 801A1FB4 0019EF14 38 00 00 02 */ li r0, 2 /* 801A1FB8 0019EF18 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A1FBC 0019EF1C 48 00 02 04 */ b lbl_801A21C0 lbl_801A1FC0: /* 801A1FC0 0019EF20 C0 22 A7 C8 */ lfs f1, lbl_805AC4E8@sda21(r2) /* 801A1FC4 0019EF24 7F E5 FB 78 */ mr r5, r31 /* 801A1FC8 0019EF28 38 61 00 08 */ addi r3, r1, 8 /* 801A1FCC 0019EF2C 38 9F 04 5C */ addi r4, r31, 0x45c /* 801A1FD0 0019EF30 4B F9 CB 4D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801A1FD4 0019EF34 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A1FD8 0019EF38 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801A1FDC 0019EF3C C0 C1 00 08 */ lfs f6, 8(r1) /* 801A1FE0 0019EF40 38 81 00 5C */ addi r4, r1, 0x5c /* 801A1FE4 0019EF44 C0 A1 00 0C */ lfs f5, 0xc(r1) /* 801A1FE8 0019EF48 C0 81 00 10 */ lfs f4, 0x10(r1) /* 801A1FEC 0019EF4C C0 43 00 04 */ lfs f2, 4(r3) /* 801A1FF0 0019EF50 C0 23 00 08 */ lfs f1, 8(r3) /* 801A1FF4 0019EF54 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A1FF8 0019EF58 D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 801A1FFC 0019EF5C D0 A1 00 60 */ stfs f5, 0x60(r1) /* 801A2000 0019EF60 D0 81 00 64 */ stfs f4, 0x64(r1) /* 801A2004 0019EF64 D0 61 00 68 */ stfs f3, 0x68(r1) /* 801A2008 0019EF68 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801A200C 0019EF6C D0 21 00 70 */ stfs f1, 0x70(r1) /* 801A2010 0019EF70 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801A2014 0019EF74 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2018 0019EF78 38 63 00 04 */ addi r3, r3, 4 /* 801A201C 0019EF7C 4B F8 F6 FD */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801A2020 0019EF80 48 00 01 A0 */ b lbl_801A21C0 lbl_801A2024: /* 801A2024 0019EF84 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 801A2028 0019EF88 38 61 00 14 */ addi r3, r1, 0x14 /* 801A202C 0019EF8C C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801A2030 0019EF90 38 9F 09 38 */ addi r4, r31, 0x938 /* 801A2034 0019EF94 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801A2038 0019EF98 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801A203C 0019EF9C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A2040 0019EFA0 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801A2044 0019EFA4 48 17 25 ED */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801A2048 0019EFA8 C0 02 A7 CC */ lfs f0, lbl_805AC4EC@sda21(r2) /* 801A204C 0019EFAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A2050 0019EFB0 40 81 00 54 */ ble lbl_801A20A4 /* 801A2054 0019EFB4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2058 0019EFB8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801A205C 0019EFBC C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A2060 0019EFC0 38 81 00 40 */ addi r4, r1, 0x40 /* 801A2064 0019EFC4 C0 43 00 04 */ lfs f2, 4(r3) /* 801A2068 0019EFC8 C0 23 00 08 */ lfs f1, 8(r3) /* 801A206C 0019EFCC D0 61 00 40 */ stfs f3, 0x40(r1) /* 801A2070 0019EFD0 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801A2074 0019EFD4 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801A2078 0019EFD8 C0 3F 09 38 */ lfs f1, 0x938(r31) /* 801A207C 0019EFDC D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801A2080 0019EFE0 C0 3F 09 3C */ lfs f1, 0x93c(r31) /* 801A2084 0019EFE4 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801A2088 0019EFE8 C0 3F 09 40 */ lfs f1, 0x940(r31) /* 801A208C 0019EFEC D0 21 00 54 */ stfs f1, 0x54(r1) /* 801A2090 0019EFF0 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801A2094 0019EFF4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2098 0019EFF8 38 63 00 04 */ addi r3, r3, 4 /* 801A209C 0019EFFC 4B F8 F6 7D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801A20A0 0019F000 48 00 01 20 */ b lbl_801A21C0 lbl_801A20A4: /* 801A20A4 0019F004 38 00 00 00 */ li r0, 0 /* 801A20A8 0019F008 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A20AC 0019F00C 48 00 01 14 */ b lbl_801A21C0 lbl_801A20B0: /* 801A20B0 0019F010 81 5F 04 50 */ lwz r10, 0x450(r31) /* 801A20B4 0019F014 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 801A20B8 0019F018 2C 00 00 0C */ cmpwi r0, 0xc /* 801A20BC 0019F01C 40 82 00 1C */ bne lbl_801A20D8 /* 801A20C0 0019F020 38 00 00 03 */ li r0, 3 /* 801A20C4 0019F024 38 80 00 00 */ li r4, 0 /* 801A20C8 0019F028 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A20CC 0019F02C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A20D0 0019F030 4B F9 89 09 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801A20D4 0019F034 48 00 00 EC */ b lbl_801A21C0 lbl_801A20D8: /* 801A20D8 0019F038 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801A20DC 0019F03C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A20E0 0019F040 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A20E4 0019F044 80 81 00 3C */ lwz r4, 0x3c(r1) /* 801A20E8 0019F048 38 60 00 00 */ li r3, 0 /* 801A20EC 0019F04C 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 801A20F0 0019F050 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 801A20F4 0019F054 C0 45 00 00 */ lfs f2, 0(r5) /* 801A20F8 0019F058 C0 25 00 04 */ lfs f1, 4(r5) /* 801A20FC 0019F05C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 801A2100 0019F060 C0 05 00 08 */ lfs f0, 8(r5) /* 801A2104 0019F064 7C 80 23 78 */ mr r0, r4 /* 801A2108 0019F068 39 00 00 0E */ li r8, 0xe /* 801A210C 0019F06C 38 C0 00 01 */ li r6, 1 /* 801A2110 0019F070 38 A0 FF FF */ li r5, -1 /* 801A2114 0019F074 3B EA 00 04 */ addi r31, r10, 4 /* 801A2118 0019F078 91 21 00 20 */ stw r9, 0x20(r1) /* 801A211C 0019F07C 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 801A2120 0019F080 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 801A2124 0019F084 7F E3 FB 78 */ mr r3, r31 /* 801A2128 0019F088 90 81 00 3C */ stw r4, 0x3c(r1) /* 801A212C 0019F08C 38 80 00 0E */ li r4, 0xe /* 801A2130 0019F090 91 01 00 24 */ stw r8, 0x24(r1) /* 801A2134 0019F094 90 E1 00 20 */ stw r7, 0x20(r1) /* 801A2138 0019F098 90 C1 00 28 */ stw r6, 0x28(r1) /* 801A213C 0019F09C D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801A2140 0019F0A0 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801A2144 0019F0A4 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801A2148 0019F0A8 90 A1 00 38 */ stw r5, 0x38(r1) /* 801A214C 0019F0AC 90 01 00 3C */ stw r0, 0x3c(r1) /* 801A2150 0019F0B0 4B F8 F2 E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A2154 0019F0B4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A2158 0019F0B8 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801A215C 0019F0BC 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801A2160 0019F0C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A2164 0019F0C4 90 1F 01 90 */ stw r0, 0x190(r31) /* 801A2168 0019F0C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A216C 0019F0CC 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801A2170 0019F0D0 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801A2174 0019F0D4 90 BF 01 94 */ stw r5, 0x194(r31) /* 801A2178 0019F0D8 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801A217C 0019F0DC 90 7F 01 98 */ stw r3, 0x198(r31) /* 801A2180 0019F0E0 80 61 00 34 */ lwz r3, 0x34(r1) /* 801A2184 0019F0E4 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801A2188 0019F0E8 80 A1 00 38 */ lwz r5, 0x38(r1) /* 801A218C 0019F0EC 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801A2190 0019F0F0 80 61 00 3C */ lwz r3, 0x3c(r1) /* 801A2194 0019F0F4 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801A2198 0019F0F8 90 81 00 20 */ stw r4, 0x20(r1) /* 801A219C 0019F0FC 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801A21A0 0019F100 90 01 00 20 */ stw r0, 0x20(r1) /* 801A21A4 0019F104 48 00 00 1C */ b lbl_801A21C0 lbl_801A21A8: /* 801A21A8 0019F108 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A21AC 0019F10C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A21B0 0019F110 2C 00 00 0C */ cmpwi r0, 0xc /* 801A21B4 0019F114 41 82 00 0C */ beq lbl_801A21C0 /* 801A21B8 0019F118 38 00 00 04 */ li r0, 4 /* 801A21BC 0019F11C 90 1F 05 68 */ stw r0, 0x568(r31) lbl_801A21C0: /* 801A21C0 0019F120 80 01 00 84 */ lwz r0, 0x84(r1) /* 801A21C4 0019F124 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801A21C8 0019F128 7C 08 03 A6 */ mtlr r0 /* 801A21CC 0019F12C 38 21 00 80 */ addi r1, r1, 0x80 /* 801A21D0 0019F130 4E 80 00 20 */ blr .global Generate__12CIceSheegothR13CStateManager9EStateMsgf Generate__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A21D4 0019F134 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A21D8 0019F138 7C 08 02 A6 */ mflr r0 /* 801A21DC 0019F13C 2C 05 00 01 */ cmpwi r5, 1 /* 801A21E0 0019F140 90 01 00 34 */ stw r0, 0x34(r1) /* 801A21E4 0019F144 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A21E8 0019F148 7C 9F 23 78 */ mr r31, r4 /* 801A21EC 0019F14C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801A21F0 0019F150 7C 7E 1B 78 */ mr r30, r3 /* 801A21F4 0019F154 41 82 00 38 */ beq lbl_801A222C /* 801A21F8 0019F158 40 80 01 7C */ bge lbl_801A2374 /* 801A21FC 0019F15C 2C 05 00 00 */ cmpwi r5, 0 /* 801A2200 0019F160 40 80 00 08 */ bge lbl_801A2208 /* 801A2204 0019F164 48 00 01 70 */ b lbl_801A2374 lbl_801A2208: /* 801A2208 0019F168 38 00 00 00 */ li r0, 0 /* 801A220C 0019F16C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A2210 0019F170 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801A2214 0019F174 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801A2218 0019F178 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801A221C 0019F17C D0 1E 09 38 */ stfs f0, 0x938(r30) /* 801A2220 0019F180 D0 3E 09 3C */ stfs f1, 0x93c(r30) /* 801A2224 0019F184 D0 5E 09 40 */ stfs f2, 0x940(r30) /* 801A2228 0019F188 48 00 01 4C */ b lbl_801A2374 lbl_801A222C: /* 801A222C 0019F18C 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801A2230 0019F190 2C 00 00 03 */ cmpwi r0, 3 /* 801A2234 0019F194 41 82 01 28 */ beq lbl_801A235C /* 801A2238 0019F198 40 80 01 3C */ bge lbl_801A2374 /* 801A223C 0019F19C 2C 00 00 00 */ cmpwi r0, 0 /* 801A2240 0019F1A0 41 82 00 08 */ beq lbl_801A2248 /* 801A2244 0019F1A4 48 00 01 30 */ b lbl_801A2374 lbl_801A2248: /* 801A2248 0019F1A8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A224C 0019F1AC 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A2250 0019F1B0 2C 00 00 0C */ cmpwi r0, 0xc /* 801A2254 0019F1B4 40 82 00 2C */ bne lbl_801A2280 /* 801A2258 0019F1B8 38 80 00 01 */ li r4, 1 /* 801A225C 0019F1BC 4B F9 87 7D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801A2260 0019F1C0 38 00 00 03 */ li r0, 3 /* 801A2264 0019F1C4 7F C3 F3 78 */ mr r3, r30 /* 801A2268 0019F1C8 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A226C 0019F1CC 7F E5 FB 78 */ mr r5, r31 /* 801A2270 0019F1D0 38 80 00 0A */ li r4, 0xa /* 801A2274 0019F1D4 38 C0 FF FF */ li r6, -1 /* 801A2278 0019F1D8 4B EA EE 49 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801A227C 0019F1DC 48 00 00 F8 */ b lbl_801A2374 lbl_801A2280: /* 801A2280 0019F1E0 88 1E 07 5C */ lbz r0, 0x75c(r30) /* 801A2284 0019F1E4 39 20 00 00 */ li r9, 0 /* 801A2288 0019F1E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A228C 0019F1EC 41 82 00 08 */ beq lbl_801A2294 /* 801A2290 0019F1F0 39 20 00 08 */ li r9, 8 lbl_801A2294: /* 801A2294 0019F1F4 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801A2298 0019F1F8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A229C 0019F1FC C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801A22A0 0019F200 39 05 AA 68 */ addi r8, r5, lbl_803DAA68@l /* 801A22A4 0019F204 3C C0 80 3E */ lis r6, lbl_803DA9F0@ha /* 801A22A8 0019F208 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A22AC 0019F20C 38 80 00 00 */ li r4, 0 /* 801A22B0 0019F210 C0 23 00 04 */ lfs f1, 4(r3) /* 801A22B4 0019F214 C0 03 00 08 */ lfs f0, 8(r3) /* 801A22B8 0019F218 50 80 F8 00 */ rlwimi r0, r4, 0x1f, 0, 0 /* 801A22BC 0019F21C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A22C0 0019F220 38 E0 00 0E */ li r7, 0xe /* 801A22C4 0019F224 90 01 00 24 */ stw r0, 0x24(r1) /* 801A22C8 0019F228 50 80 F0 42 */ rlwimi r0, r4, 0x1e, 1, 1 /* 801A22CC 0019F22C 38 A0 FF FF */ li r5, -1 /* 801A22D0 0019F230 3B E3 00 04 */ addi r31, r3, 4 /* 801A22D4 0019F234 91 01 00 08 */ stw r8, 8(r1) /* 801A22D8 0019F238 38 C6 A9 F0 */ addi r6, r6, lbl_803DA9F0@l /* 801A22DC 0019F23C 7F E3 FB 78 */ mr r3, r31 /* 801A22E0 0019F240 38 80 00 0E */ li r4, 0xe /* 801A22E4 0019F244 90 E1 00 0C */ stw r7, 0xc(r1) /* 801A22E8 0019F248 90 C1 00 08 */ stw r6, 8(r1) /* 801A22EC 0019F24C 91 21 00 10 */ stw r9, 0x10(r1) /* 801A22F0 0019F250 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801A22F4 0019F254 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A22F8 0019F258 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A22FC 0019F25C 90 A1 00 20 */ stw r5, 0x20(r1) /* 801A2300 0019F260 90 01 00 24 */ stw r0, 0x24(r1) /* 801A2304 0019F264 4B F8 F1 35 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A2308 0019F268 80 01 00 0C */ lwz r0, 0xc(r1) /* 801A230C 0019F26C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801A2310 0019F270 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801A2314 0019F274 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A2318 0019F278 90 1F 01 90 */ stw r0, 0x190(r31) /* 801A231C 0019F27C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A2320 0019F280 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801A2324 0019F284 80 61 00 14 */ lwz r3, 0x14(r1) /* 801A2328 0019F288 90 BF 01 94 */ stw r5, 0x194(r31) /* 801A232C 0019F28C 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801A2330 0019F290 90 7F 01 98 */ stw r3, 0x198(r31) /* 801A2334 0019F294 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801A2338 0019F298 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801A233C 0019F29C 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801A2340 0019F2A0 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801A2344 0019F2A4 80 61 00 24 */ lwz r3, 0x24(r1) /* 801A2348 0019F2A8 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801A234C 0019F2AC 90 81 00 08 */ stw r4, 8(r1) /* 801A2350 0019F2B0 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801A2354 0019F2B4 90 01 00 08 */ stw r0, 8(r1) /* 801A2358 0019F2B8 48 00 00 1C */ b lbl_801A2374 lbl_801A235C: /* 801A235C 0019F2BC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A2360 0019F2C0 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A2364 0019F2C4 2C 00 00 0C */ cmpwi r0, 0xc /* 801A2368 0019F2C8 41 82 00 0C */ beq lbl_801A2374 /* 801A236C 0019F2CC 38 00 00 04 */ li r0, 4 /* 801A2370 0019F2D0 90 1E 05 68 */ stw r0, 0x568(r30) lbl_801A2374: /* 801A2374 0019F2D4 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A2378 0019F2D8 D0 1E 09 68 */ stfs f0, 0x968(r30) /* 801A237C 0019F2DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A2380 0019F2E0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A2384 0019F2E4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801A2388 0019F2E8 7C 08 03 A6 */ mtlr r0 /* 801A238C 0019F2EC 38 21 00 30 */ addi r1, r1, 0x30 /* 801A2390 0019F2F0 4E 80 00 20 */ blr .global TargetPatrol__12CIceSheegothR13CStateManager9EStateMsgf TargetPatrol__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A2394 0019F2F4 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801A2398 0019F2F8 7C 08 02 A6 */ mflr r0 /* 801A239C 0019F2FC 90 01 01 14 */ stw r0, 0x114(r1) /* 801A23A0 0019F300 DB E1 01 00 */ stfd f31, 0x100(r1) /* 801A23A4 0019F304 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801A23A8 0019F308 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801A23AC 0019F30C 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 801A23B0 0019F310 93 A1 00 F4 */ stw r29, 0xf4(r1) /* 801A23B4 0019F314 7C BE 2B 78 */ mr r30, r5 /* 801A23B8 0019F318 FF E0 08 90 */ fmr f31, f1 /* 801A23BC 0019F31C 2C 1E 00 01 */ cmpwi r30, 1 /* 801A23C0 0019F320 7C 7F 1B 78 */ mr r31, r3 /* 801A23C4 0019F324 7C 9D 23 78 */ mr r29, r4 /* 801A23C8 0019F328 41 82 02 10 */ beq lbl_801A25D8 /* 801A23CC 0019F32C 40 80 03 A0 */ bge lbl_801A276C /* 801A23D0 0019F330 2C 1E 00 00 */ cmpwi r30, 0 /* 801A23D4 0019F334 40 80 00 08 */ bge lbl_801A23DC /* 801A23D8 0019F338 48 00 03 94 */ b lbl_801A276C lbl_801A23DC: /* 801A23DC 0019F33C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A23E0 0019F340 38 80 00 01 */ li r4, 1 /* 801A23E4 0019F344 4B F9 85 F5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801A23E8 0019F348 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801A23EC 0019F34C 38 60 00 00 */ li r3, 0 /* 801A23F0 0019F350 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A23F4 0019F354 7F E3 FB 78 */ mr r3, r31 /* 801A23F8 0019F358 98 1F 04 00 */ stb r0, 0x400(r31) /* 801A23FC 0019F35C 7F A4 EB 78 */ mr r4, r29 /* 801A2400 0019F360 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A2404 0019F364 81 9F 00 00 */ lwz r12, 0(r31) /* 801A2408 0019F368 81 8C 01 C0 */ lwz r12, 0x1c0(r12) /* 801A240C 0019F36C 7D 89 03 A6 */ mtctr r12 /* 801A2410 0019F370 4E 80 04 21 */ bctrl /* 801A2414 0019F374 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2418 0019F378 41 82 00 28 */ beq lbl_801A2440 /* 801A241C 0019F37C FC 20 F8 90 */ fmr f1, f31 /* 801A2420 0019F380 7F E3 FB 78 */ mr r3, r31 /* 801A2424 0019F384 7F A4 EB 78 */ mr r4, r29 /* 801A2428 0019F388 7F C5 F3 78 */ mr r5, r30 /* 801A242C 0019F38C 48 05 4A 49 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 801A2430 0019F390 7F E3 FB 78 */ mr r3, r31 /* 801A2434 0019F394 7F A4 EB 78 */ mr r4, r29 /* 801A2438 0019F398 48 05 2E 59 */ bl UpdateDest__10CPatternedFR13CStateManager /* 801A243C 0019F39C 48 00 00 10 */ b lbl_801A244C lbl_801A2440: /* 801A2440 0019F3A0 7F E3 FB 78 */ mr r3, r31 /* 801A2444 0019F3A4 38 9F 03 A0 */ addi r4, r31, 0x3a0 /* 801A2448 0019F3A8 4B ED A7 15 */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_801A244C: /* 801A244C 0019F3AC C0 1F 02 E0 */ lfs f0, 0x2e0(r31) /* 801A2450 0019F3B0 7F E5 FB 78 */ mr r5, r31 /* 801A2454 0019F3B4 C0 22 A7 C8 */ lfs f1, lbl_805AC4E8@sda21(r2) /* 801A2458 0019F3B8 38 61 00 44 */ addi r3, r1, 0x44 /* 801A245C 0019F3BC D0 1F 09 2C */ stfs f0, 0x92c(r31) /* 801A2460 0019F3C0 38 9F 04 5C */ addi r4, r31, 0x45c /* 801A2464 0019F3C4 38 DF 09 2C */ addi r6, r31, 0x92c /* 801A2468 0019F3C8 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) /* 801A246C 0019F3CC D0 1F 09 30 */ stfs f0, 0x930(r31) /* 801A2470 0019F3D0 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) /* 801A2474 0019F3D4 D0 1F 09 34 */ stfs f0, 0x934(r31) /* 801A2478 0019F3D8 4B F9 C6 A5 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801A247C 0019F3DC C0 41 00 44 */ lfs f2, 0x44(r1) /* 801A2480 0019F3E0 7F E3 FB 78 */ mr r3, r31 /* 801A2484 0019F3E4 C0 21 00 48 */ lfs f1, 0x48(r1) /* 801A2488 0019F3E8 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801A248C 0019F3EC D0 41 00 74 */ stfs f2, 0x74(r1) /* 801A2490 0019F3F0 D0 21 00 78 */ stfs f1, 0x78(r1) /* 801A2494 0019F3F4 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801A2498 0019F3F8 81 9F 00 00 */ lwz r12, 0(r31) /* 801A249C 0019F3FC 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801A24A0 0019F400 7D 89 03 A6 */ mtctr r12 /* 801A24A4 0019F404 4E 80 04 21 */ bctrl /* 801A24A8 0019F408 28 03 00 00 */ cmplwi r3, 0 /* 801A24AC 0019F40C 41 82 00 DC */ beq lbl_801A2588 /* 801A24B0 0019F410 7F E3 FB 78 */ mr r3, r31 /* 801A24B4 0019F414 38 80 00 00 */ li r4, 0 /* 801A24B8 0019F418 4B FF C9 61 */ bl sub_8019ee18 /* 801A24BC 0019F41C FC 20 F8 90 */ fmr f1, f31 /* 801A24C0 0019F420 7F E3 FB 78 */ mr r3, r31 /* 801A24C4 0019F424 7F A4 EB 78 */ mr r4, r29 /* 801A24C8 0019F428 7F C5 F3 78 */ mr r5, r30 /* 801A24CC 0019F42C 48 05 42 01 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A24D0 0019F430 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801A24D4 0019F434 38 61 00 68 */ addi r3, r1, 0x68 /* 801A24D8 0019F438 C0 04 00 04 */ lfs f0, 4(r4) /* 801A24DC 0019F43C D0 01 00 68 */ stfs f0, 0x68(r1) /* 801A24E0 0019F440 C0 04 00 08 */ lfs f0, 8(r4) /* 801A24E4 0019F444 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801A24E8 0019F448 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801A24EC 0019F44C D0 01 00 70 */ stfs f0, 0x70(r1) /* 801A24F0 0019F450 48 17 22 09 */ bl CanBeNormalized__9CVector3fCFv /* 801A24F4 0019F454 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A24F8 0019F458 41 82 02 74 */ beq lbl_801A276C /* 801A24FC 0019F45C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2500 0019F460 38 63 00 04 */ addi r3, r3, 4 /* 801A2504 0019F464 4B F8 EF A5 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 801A2508 0019F468 38 61 00 74 */ addi r3, r1, 0x74 /* 801A250C 0019F46C 48 17 23 AD */ bl Magnitude__9CVector3fCFv /* 801A2510 0019F470 FF E0 08 90 */ fmr f31, f1 /* 801A2514 0019F474 38 61 00 2C */ addi r3, r1, 0x2c /* 801A2518 0019F478 38 81 00 68 */ addi r4, r1, 0x68 /* 801A251C 0019F47C 48 17 23 35 */ bl AsNormalized__9CVector3fCFv /* 801A2520 0019F480 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801A2524 0019F484 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2528 0019F488 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801A252C 0019F48C 38 81 00 D4 */ addi r4, r1, 0xd4 /* 801A2530 0019F490 EC DF 00 32 */ fmuls f6, f31, f0 /* 801A2534 0019F494 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801A2538 0019F498 C0 01 00 30 */ lfs f0, 0x30(r1) /* 801A253C 0019F49C EC BF 00 72 */ fmuls f5, f31, f1 /* 801A2540 0019F4A0 C0 43 00 04 */ lfs f2, 4(r3) /* 801A2544 0019F4A4 EC 9F 00 32 */ fmuls f4, f31, f0 /* 801A2548 0019F4A8 C0 23 00 08 */ lfs f1, 8(r3) /* 801A254C 0019F4AC C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A2550 0019F4B0 D0 A1 00 D4 */ stfs f5, 0xd4(r1) /* 801A2554 0019F4B4 D0 81 00 D8 */ stfs f4, 0xd8(r1) /* 801A2558 0019F4B8 D0 C1 00 DC */ stfs f6, 0xdc(r1) /* 801A255C 0019F4BC D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 801A2560 0019F4C0 D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 801A2564 0019F4C4 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 801A2568 0019F4C8 D0 01 00 EC */ stfs f0, 0xec(r1) /* 801A256C 0019F4CC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2570 0019F4D0 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801A2574 0019F4D4 38 63 00 04 */ addi r3, r3, 4 /* 801A2578 0019F4D8 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801A257C 0019F4DC D0 C1 00 40 */ stfs f6, 0x40(r1) /* 801A2580 0019F4E0 4B F8 F1 99 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801A2584 0019F4E4 48 00 01 E8 */ b lbl_801A276C lbl_801A2588: /* 801A2588 0019F4E8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A258C 0019F4EC C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801A2590 0019F4F0 C0 C1 00 74 */ lfs f6, 0x74(r1) /* 801A2594 0019F4F4 38 81 00 B8 */ addi r4, r1, 0xb8 /* 801A2598 0019F4F8 C0 A1 00 78 */ lfs f5, 0x78(r1) /* 801A259C 0019F4FC C0 81 00 7C */ lfs f4, 0x7c(r1) /* 801A25A0 0019F500 C0 43 00 04 */ lfs f2, 4(r3) /* 801A25A4 0019F504 C0 23 00 08 */ lfs f1, 8(r3) /* 801A25A8 0019F508 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A25AC 0019F50C D0 C1 00 B8 */ stfs f6, 0xb8(r1) /* 801A25B0 0019F510 D0 A1 00 BC */ stfs f5, 0xbc(r1) /* 801A25B4 0019F514 D0 81 00 C0 */ stfs f4, 0xc0(r1) /* 801A25B8 0019F518 D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 801A25BC 0019F51C D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 801A25C0 0019F520 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 801A25C4 0019F524 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 801A25C8 0019F528 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A25CC 0019F52C 38 63 00 04 */ addi r3, r3, 4 /* 801A25D0 0019F530 4B F8 F1 49 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801A25D4 0019F534 48 00 01 98 */ b lbl_801A276C lbl_801A25D8: /* 801A25D8 0019F538 C0 22 A7 C8 */ lfs f1, lbl_805AC4E8@sda21(r2) /* 801A25DC 0019F53C 7F E5 FB 78 */ mr r5, r31 /* 801A25E0 0019F540 38 61 00 20 */ addi r3, r1, 0x20 /* 801A25E4 0019F544 38 9F 04 5C */ addi r4, r31, 0x45c /* 801A25E8 0019F548 38 DF 09 2C */ addi r6, r31, 0x92c /* 801A25EC 0019F54C 4B F9 C5 31 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801A25F0 0019F550 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801A25F4 0019F554 7F E3 FB 78 */ mr r3, r31 /* 801A25F8 0019F558 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801A25FC 0019F55C C0 01 00 28 */ lfs f0, 0x28(r1) /* 801A2600 0019F560 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801A2604 0019F564 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801A2608 0019F568 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801A260C 0019F56C 81 9F 00 00 */ lwz r12, 0(r31) /* 801A2610 0019F570 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801A2614 0019F574 7D 89 03 A6 */ mtctr r12 /* 801A2618 0019F578 4E 80 04 21 */ bctrl /* 801A261C 0019F57C 28 03 00 00 */ cmplwi r3, 0 /* 801A2620 0019F580 41 82 01 00 */ beq lbl_801A2720 /* 801A2624 0019F584 7F E3 FB 78 */ mr r3, r31 /* 801A2628 0019F588 7F A4 EB 78 */ mr r4, r29 /* 801A262C 0019F58C 81 9F 00 00 */ lwz r12, 0(r31) /* 801A2630 0019F590 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A2634 0019F594 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801A2638 0019F598 7D 89 03 A6 */ mtctr r12 /* 801A263C 0019F59C 4E 80 04 21 */ bctrl /* 801A2640 0019F5A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2644 0019F5A4 40 82 00 DC */ bne lbl_801A2720 /* 801A2648 0019F5A8 7F E3 FB 78 */ mr r3, r31 /* 801A264C 0019F5AC 38 80 00 00 */ li r4, 0 /* 801A2650 0019F5B0 4B FF C7 C9 */ bl sub_8019ee18 /* 801A2654 0019F5B4 FC 20 F8 90 */ fmr f1, f31 /* 801A2658 0019F5B8 7F E3 FB 78 */ mr r3, r31 /* 801A265C 0019F5BC 7F A4 EB 78 */ mr r4, r29 /* 801A2660 0019F5C0 7F C5 F3 78 */ mr r5, r30 /* 801A2664 0019F5C4 48 05 40 69 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A2668 0019F5C8 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801A266C 0019F5CC 38 61 00 50 */ addi r3, r1, 0x50 /* 801A2670 0019F5D0 C0 04 00 04 */ lfs f0, 4(r4) /* 801A2674 0019F5D4 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801A2678 0019F5D8 C0 04 00 08 */ lfs f0, 8(r4) /* 801A267C 0019F5DC D0 01 00 54 */ stfs f0, 0x54(r1) /* 801A2680 0019F5E0 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801A2684 0019F5E4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801A2688 0019F5E8 48 17 20 71 */ bl CanBeNormalized__9CVector3fCFv /* 801A268C 0019F5EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2690 0019F5F0 41 82 00 DC */ beq lbl_801A276C /* 801A2694 0019F5F4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2698 0019F5F8 38 63 00 04 */ addi r3, r3, 4 /* 801A269C 0019F5FC 4B F8 EE 0D */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 801A26A0 0019F600 38 61 00 5C */ addi r3, r1, 0x5c /* 801A26A4 0019F604 48 17 22 15 */ bl Magnitude__9CVector3fCFv /* 801A26A8 0019F608 FF E0 08 90 */ fmr f31, f1 /* 801A26AC 0019F60C 38 61 00 08 */ addi r3, r1, 8 /* 801A26B0 0019F610 38 81 00 50 */ addi r4, r1, 0x50 /* 801A26B4 0019F614 48 17 21 9D */ bl AsNormalized__9CVector3fCFv /* 801A26B8 0019F618 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801A26BC 0019F61C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A26C0 0019F620 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801A26C4 0019F624 38 81 00 9C */ addi r4, r1, 0x9c /* 801A26C8 0019F628 EC DF 00 32 */ fmuls f6, f31, f0 /* 801A26CC 0019F62C C0 21 00 08 */ lfs f1, 8(r1) /* 801A26D0 0019F630 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801A26D4 0019F634 EC BF 00 72 */ fmuls f5, f31, f1 /* 801A26D8 0019F638 C0 43 00 04 */ lfs f2, 4(r3) /* 801A26DC 0019F63C EC 9F 00 32 */ fmuls f4, f31, f0 /* 801A26E0 0019F640 C0 23 00 08 */ lfs f1, 8(r3) /* 801A26E4 0019F644 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A26E8 0019F648 D0 A1 00 9C */ stfs f5, 0x9c(r1) /* 801A26EC 0019F64C D0 81 00 A0 */ stfs f4, 0xa0(r1) /* 801A26F0 0019F650 D0 C1 00 A4 */ stfs f6, 0xa4(r1) /* 801A26F4 0019F654 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 801A26F8 0019F658 D0 41 00 AC */ stfs f2, 0xac(r1) /* 801A26FC 0019F65C D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801A2700 0019F660 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801A2704 0019F664 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2708 0019F668 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 801A270C 0019F66C 38 63 00 04 */ addi r3, r3, 4 /* 801A2710 0019F670 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801A2714 0019F674 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 801A2718 0019F678 4B F8 F0 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801A271C 0019F67C 48 00 00 50 */ b lbl_801A276C lbl_801A2720: /* 801A2720 0019F680 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2724 0019F684 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801A2728 0019F688 C0 C1 00 5C */ lfs f6, 0x5c(r1) /* 801A272C 0019F68C 38 81 00 80 */ addi r4, r1, 0x80 /* 801A2730 0019F690 C0 A1 00 60 */ lfs f5, 0x60(r1) /* 801A2734 0019F694 C0 81 00 64 */ lfs f4, 0x64(r1) /* 801A2738 0019F698 C0 43 00 04 */ lfs f2, 4(r3) /* 801A273C 0019F69C C0 23 00 08 */ lfs f1, 8(r3) /* 801A2740 0019F6A0 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A2744 0019F6A4 D0 C1 00 80 */ stfs f6, 0x80(r1) /* 801A2748 0019F6A8 D0 A1 00 84 */ stfs f5, 0x84(r1) /* 801A274C 0019F6AC D0 81 00 88 */ stfs f4, 0x88(r1) /* 801A2750 0019F6B0 D0 61 00 8C */ stfs f3, 0x8c(r1) /* 801A2754 0019F6B4 D0 41 00 90 */ stfs f2, 0x90(r1) /* 801A2758 0019F6B8 D0 21 00 94 */ stfs f1, 0x94(r1) /* 801A275C 0019F6BC D0 01 00 98 */ stfs f0, 0x98(r1) /* 801A2760 0019F6C0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2764 0019F6C4 38 63 00 04 */ addi r3, r3, 4 /* 801A2768 0019F6C8 4B F8 EF B1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801A276C: /* 801A276C 0019F6CC E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801A2770 0019F6D0 80 01 01 14 */ lwz r0, 0x114(r1) /* 801A2774 0019F6D4 CB E1 01 00 */ lfd f31, 0x100(r1) /* 801A2778 0019F6D8 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801A277C 0019F6DC 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 801A2780 0019F6E0 83 A1 00 F4 */ lwz r29, 0xf4(r1) /* 801A2784 0019F6E4 7C 08 03 A6 */ mtlr r0 /* 801A2788 0019F6E8 38 21 01 10 */ addi r1, r1, 0x110 /* 801A278C 0019F6EC 4E 80 00 20 */ blr .global Approach__12CIceSheegothR13CStateManager9EStateMsgf Approach__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A2790 0019F6F0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801A2794 0019F6F4 7C 08 02 A6 */ mflr r0 /* 801A2798 0019F6F8 90 01 00 84 */ stw r0, 0x84(r1) /* 801A279C 0019F6FC DB E1 00 70 */ stfd f31, 0x70(r1) /* 801A27A0 0019F700 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801A27A4 0019F704 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801A27A8 0019F708 93 C1 00 68 */ stw r30, 0x68(r1) /* 801A27AC 0019F70C 93 A1 00 64 */ stw r29, 0x64(r1) /* 801A27B0 0019F710 7C BD 2B 78 */ mr r29, r5 /* 801A27B4 0019F714 FF E0 08 90 */ fmr f31, f1 /* 801A27B8 0019F718 2C 1D 00 01 */ cmpwi r29, 1 /* 801A27BC 0019F71C 7C 7E 1B 78 */ mr r30, r3 /* 801A27C0 0019F720 7C 9F 23 78 */ mr r31, r4 /* 801A27C4 0019F724 41 82 01 00 */ beq lbl_801A28C4 /* 801A27C8 0019F728 40 80 00 10 */ bge lbl_801A27D8 /* 801A27CC 0019F72C 2C 1D 00 00 */ cmpwi r29, 0 /* 801A27D0 0019F730 40 80 00 14 */ bge lbl_801A27E4 /* 801A27D4 0019F734 48 00 03 70 */ b lbl_801A2B44 lbl_801A27D8: /* 801A27D8 0019F738 2C 1D 00 03 */ cmpwi r29, 3 /* 801A27DC 0019F73C 40 80 03 68 */ bge lbl_801A2B44 /* 801A27E0 0019F740 48 00 03 44 */ b lbl_801A2B24 lbl_801A27E4: /* 801A27E4 0019F744 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A27E8 0019F748 38 80 00 01 */ li r4, 1 /* 801A27EC 0019F74C 4B F9 81 ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801A27F0 0019F750 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801A27F4 0019F754 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A27F8 0019F758 38 81 00 0C */ addi r4, r1, 0xc /* 801A27FC 0019F75C A0 05 00 08 */ lhz r0, 8(r5) /* 801A2800 0019F760 B0 01 00 08 */ sth r0, 8(r1) /* 801A2804 0019F764 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A2808 0019F768 4B FD 2A 11 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801A280C 0019F76C 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A2810 0019F770 38 80 00 01 */ li r4, 1 /* 801A2814 0019F774 4B FD 2A 11 */ bl SetActive__13CBoneTrackingFb /* 801A2818 0019F778 7F C3 F3 78 */ mr r3, r30 /* 801A281C 0019F77C 7F E4 FB 78 */ mr r4, r31 /* 801A2820 0019F780 38 BE 02 E0 */ addi r5, r30, 0x2e0 /* 801A2824 0019F784 4B FF E2 39 */ bl sub_801a0a5c /* 801A2828 0019F788 7F C3 F3 78 */ mr r3, r30 /* 801A282C 0019F78C 38 80 00 00 */ li r4, 0 /* 801A2830 0019F790 4B FF C5 E9 */ bl sub_8019ee18 /* 801A2834 0019F794 FC 20 F8 90 */ fmr f1, f31 /* 801A2838 0019F798 7F C3 F3 78 */ mr r3, r30 /* 801A283C 0019F79C 7F E4 FB 78 */ mr r4, r31 /* 801A2840 0019F7A0 38 A0 00 00 */ li r5, 0 /* 801A2844 0019F7A4 48 05 3E 89 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A2848 0019F7A8 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A284C 0019F7AC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801A2850 0019F7B0 40 82 00 10 */ bne lbl_801A2860 /* 801A2854 0019F7B4 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A2858 0019F7B8 38 63 00 04 */ addi r3, r3, 4 /* 801A285C 0019F7BC 4B F8 EC 4D */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv lbl_801A2860: /* 801A2860 0019F7C0 88 9E 07 5C */ lbz r4, 0x75c(r30) /* 801A2864 0019F7C4 38 60 00 01 */ li r3, 1 /* 801A2868 0019F7C8 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A286C 0019F7CC 54 84 CF FE */ rlwinm r4, r4, 0x19, 0x1f, 0x1f /* 801A2870 0019F7D0 7C 84 00 34 */ cntlzw r4, r4 /* 801A2874 0019F7D4 50 80 16 30 */ rlwimi r0, r4, 2, 0x18, 0x18 /* 801A2878 0019F7D8 98 1E 0B 29 */ stb r0, 0xb29(r30) /* 801A287C 0019F7DC 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A2880 0019F7E0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A2884 0019F7E4 98 1E 0B 29 */ stb r0, 0xb29(r30) /* 801A2888 0019F7E8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801A288C 0019F7EC C0 43 00 60 */ lfs f2, 0x60(r3) /* 801A2890 0019F7F0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A2894 0019F7F4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A2898 0019F7F8 D0 1E 09 2C */ stfs f0, 0x92c(r30) /* 801A289C 0019F7FC D0 3E 09 30 */ stfs f1, 0x930(r30) /* 801A28A0 0019F800 D0 5E 09 34 */ stfs f2, 0x934(r30) /* 801A28A4 0019F804 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801A28A8 0019F808 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801A28AC 0019F80C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801A28B0 0019F810 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801A28B4 0019F814 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801A28B8 0019F818 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801A28BC 0019F81C D0 5E 09 34 */ stfs f2, 0x934(r30) /* 801A28C0 0019F820 48 00 02 84 */ b lbl_801A2B44 lbl_801A28C4: /* 801A28C4 0019F824 38 80 00 01 */ li r4, 1 /* 801A28C8 0019F828 4B FF C5 51 */ bl sub_8019ee18 /* 801A28CC 0019F82C 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A28D0 0019F830 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A28D4 0019F834 41 82 00 E8 */ beq lbl_801A29BC /* 801A28D8 0019F838 C0 1E 09 2C */ lfs f0, 0x92c(r30) /* 801A28DC 0019F83C 38 7E 08 44 */ addi r3, r30, 0x844 /* 801A28E0 0019F840 38 81 00 1C */ addi r4, r1, 0x1c /* 801A28E4 0019F844 38 BE 02 E0 */ addi r5, r30, 0x2e0 /* 801A28E8 0019F848 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 801A28EC 0019F84C C0 1E 09 30 */ lfs f0, 0x930(r30) /* 801A28F0 0019F850 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 801A28F4 0019F854 C0 1E 09 34 */ lfs f0, 0x934(r30) /* 801A28F8 0019F858 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) /* 801A28FC 0019F85C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801A2900 0019F860 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801A2904 0019F864 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801A2908 0019F868 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A290C 0019F86C D0 21 00 20 */ stfs f1, 0x20(r1) /* 801A2910 0019F870 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801A2914 0019F874 48 02 47 E9 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f /* 801A2918 0019F878 2C 03 00 00 */ cmpwi r3, 0 /* 801A291C 0019F87C 40 82 00 90 */ bne lbl_801A29AC /* 801A2920 0019F880 C0 BE 00 50 */ lfs f5, 0x50(r30) /* 801A2924 0019F884 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801A2928 0019F888 C0 DE 00 40 */ lfs f6, 0x40(r30) /* 801A292C 0019F88C EC 20 28 28 */ fsubs f1, f0, f5 /* 801A2930 0019F890 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801A2934 0019F894 C0 9E 00 60 */ lfs f4, 0x60(r30) /* 801A2938 0019F898 EC 60 30 28 */ fsubs f3, f0, f6 /* 801A293C 0019F89C C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801A2940 0019F8A0 EC 21 00 72 */ fmuls f1, f1, f1 /* 801A2944 0019F8A4 EC 40 20 28 */ fsubs f2, f0, f4 /* 801A2948 0019F8A8 C0 02 A7 D0 */ lfs f0, lbl_805AC4F0@sda21(r2) /* 801A294C 0019F8AC EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801A2950 0019F8B0 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801A2954 0019F8B4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A2958 0019F8B8 40 80 00 10 */ bge lbl_801A2968 /* 801A295C 0019F8BC D0 DE 02 E0 */ stfs f6, 0x2e0(r30) /* 801A2960 0019F8C0 D0 BE 02 E4 */ stfs f5, 0x2e4(r30) /* 801A2964 0019F8C4 D0 9E 02 E8 */ stfs f4, 0x2e8(r30) lbl_801A2968: /* 801A2968 0019F8C8 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801A296C 0019F8CC FC 20 F8 90 */ fmr f1, f31 /* 801A2970 0019F8D0 7F C3 F3 78 */ mr r3, r30 /* 801A2974 0019F8D4 7F E4 FB 78 */ mr r4, r31 /* 801A2978 0019F8D8 D0 1E 09 2C */ stfs f0, 0x92c(r30) /* 801A297C 0019F8DC 38 A0 00 00 */ li r5, 0 /* 801A2980 0019F8E0 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801A2984 0019F8E4 D0 1E 09 30 */ stfs f0, 0x930(r30) /* 801A2988 0019F8E8 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801A298C 0019F8EC D0 1E 09 34 */ stfs f0, 0x934(r30) /* 801A2990 0019F8F0 48 05 3D 3D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A2994 0019F8F4 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A2998 0019F8F8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801A299C 0019F8FC 40 82 00 10 */ bne lbl_801A29AC /* 801A29A0 0019F900 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A29A4 0019F904 38 63 00 04 */ addi r3, r3, 4 /* 801A29A8 0019F908 4B F8 EB 01 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv lbl_801A29AC: /* 801A29AC 0019F90C 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A29B0 0019F910 38 60 00 00 */ li r3, 0 /* 801A29B4 0019F914 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A29B8 0019F918 98 1E 0B 29 */ stb r0, 0xb29(r30) lbl_801A29BC: /* 801A29BC 0019F91C 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A29C0 0019F920 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801A29C4 0019F924 41 82 00 70 */ beq lbl_801A2A34 /* 801A29C8 0019F928 7F C3 F3 78 */ mr r3, r30 /* 801A29CC 0019F92C 81 9E 00 00 */ lwz r12, 0(r30) /* 801A29D0 0019F930 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801A29D4 0019F934 7D 89 03 A6 */ mtctr r12 /* 801A29D8 0019F938 4E 80 04 21 */ bctrl /* 801A29DC 0019F93C 28 03 00 00 */ cmplwi r3, 0 /* 801A29E0 0019F940 41 82 00 54 */ beq lbl_801A2A34 /* 801A29E4 0019F944 7F C3 F3 78 */ mr r3, r30 /* 801A29E8 0019F948 7F E4 FB 78 */ mr r4, r31 /* 801A29EC 0019F94C 81 9E 00 00 */ lwz r12, 0(r30) /* 801A29F0 0019F950 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A29F4 0019F954 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801A29F8 0019F958 7D 89 03 A6 */ mtctr r12 /* 801A29FC 0019F95C 4E 80 04 21 */ bctrl /* 801A2A00 0019F960 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2A04 0019F964 40 82 00 30 */ bne lbl_801A2A34 /* 801A2A08 0019F968 80 7E 08 48 */ lwz r3, 0x848(r30) /* 801A2A0C 0019F96C 80 9E 09 0C */ lwz r4, 0x90c(r30) /* 801A2A10 0019F970 38 03 FF FF */ addi r0, r3, -1 /* 801A2A14 0019F974 7C 04 00 00 */ cmpw r4, r0 /* 801A2A18 0019F978 40 80 00 1C */ bge lbl_801A2A34 /* 801A2A1C 0019F97C FC 20 F8 90 */ fmr f1, f31 /* 801A2A20 0019F980 7F C3 F3 78 */ mr r3, r30 /* 801A2A24 0019F984 7F E4 FB 78 */ mr r4, r31 /* 801A2A28 0019F988 7F A5 EB 78 */ mr r5, r29 /* 801A2A2C 0019F98C 48 05 3C A1 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A2A30 0019F990 48 00 00 B8 */ b lbl_801A2AE8 lbl_801A2A34: /* 801A2A34 0019F994 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801A2A38 0019F998 7F C3 F3 78 */ mr r3, r30 /* 801A2A3C 0019F99C C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801A2A40 0019F9A0 7F E4 FB 78 */ mr r4, r31 /* 801A2A44 0019F9A4 C0 45 00 50 */ lfs f2, 0x50(r5) /* 801A2A48 0019F9A8 C0 65 00 60 */ lfs f3, 0x60(r5) /* 801A2A4C 0019F9AC C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801A2A50 0019F9B0 EC 82 00 28 */ fsubs f4, f2, f0 /* 801A2A54 0019F9B4 C0 45 00 40 */ lfs f2, 0x40(r5) /* 801A2A58 0019F9B8 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801A2A5C 0019F9BC EC 63 08 28 */ fsubs f3, f3, f1 /* 801A2A60 0019F9C0 C0 22 A7 C4 */ lfs f1, lbl_805AC4E4@sda21(r2) /* 801A2A64 0019F9C4 EC 02 00 28 */ fsubs f0, f2, f0 /* 801A2A68 0019F9C8 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801A2A6C 0019F9CC D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801A2A70 0019F9D0 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801A2A74 0019F9D4 4B FF C2 69 */ bl sub_8019ecdc /* 801A2A78 0019F9D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2A7C 0019F9DC 41 82 00 6C */ beq lbl_801A2AE8 /* 801A2A80 0019F9E0 38 61 00 34 */ addi r3, r1, 0x34 /* 801A2A84 0019F9E4 48 17 1C 75 */ bl CanBeNormalized__9CVector3fCFv /* 801A2A88 0019F9E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2A8C 0019F9EC 41 82 00 5C */ beq lbl_801A2AE8 /* 801A2A90 0019F9F0 38 61 00 10 */ addi r3, r1, 0x10 /* 801A2A94 0019F9F4 38 81 00 34 */ addi r4, r1, 0x34 /* 801A2A98 0019F9F8 48 17 1D B9 */ bl AsNormalized__9CVector3fCFv /* 801A2A9C 0019F9FC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2AA0 0019FA00 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801A2AA4 0019FA04 C0 61 00 10 */ lfs f3, 0x10(r1) /* 801A2AA8 0019FA08 38 81 00 40 */ addi r4, r1, 0x40 /* 801A2AAC 0019FA0C C0 41 00 14 */ lfs f2, 0x14(r1) /* 801A2AB0 0019FA10 C0 A3 00 04 */ lfs f5, 4(r3) /* 801A2AB4 0019FA14 C0 83 00 08 */ lfs f4, 8(r3) /* 801A2AB8 0019FA18 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801A2ABC 0019FA1C C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A2AC0 0019FA20 D0 C1 00 40 */ stfs f6, 0x40(r1) /* 801A2AC4 0019FA24 D0 A1 00 44 */ stfs f5, 0x44(r1) /* 801A2AC8 0019FA28 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801A2ACC 0019FA2C D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801A2AD0 0019FA30 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801A2AD4 0019FA34 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801A2AD8 0019FA38 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801A2ADC 0019FA3C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A2AE0 0019FA40 38 63 00 04 */ addi r3, r3, 4 /* 801A2AE4 0019FA44 4B F8 EC 35 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801A2AE8: /* 801A2AE8 0019FA48 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A2AEC 0019FA4C 38 60 00 01 */ li r3, 1 /* 801A2AF0 0019FA50 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A2AF4 0019FA54 98 1E 0B 29 */ stb r0, 0xb29(r30) /* 801A2AF8 0019FA58 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A2AFC 0019FA5C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A2B00 0019FA60 2C 00 00 08 */ cmpwi r0, 8 /* 801A2B04 0019FA64 40 82 00 0C */ bne lbl_801A2B10 /* 801A2B08 0019FA68 C0 22 A7 74 */ lfs f1, lbl_805AC494@sda21(r2) /* 801A2B0C 0019FA6C 48 00 00 08 */ b lbl_801A2B14 lbl_801A2B10: /* 801A2B10 0019FA70 C0 22 A7 60 */ lfs f1, lbl_805AC480@sda21(r2) lbl_801A2B14: /* 801A2B14 0019FA74 C0 1E 09 4C */ lfs f0, 0x94c(r30) /* 801A2B18 0019FA78 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A2B1C 0019FA7C D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 801A2B20 0019FA80 48 00 00 24 */ b lbl_801A2B44 lbl_801A2B24: /* 801A2B24 0019FA84 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A2B28 0019FA88 38 80 00 00 */ li r4, 0 /* 801A2B2C 0019FA8C 4B FD 26 F9 */ bl SetActive__13CBoneTrackingFb /* 801A2B30 0019FA90 7F C3 F3 78 */ mr r3, r30 /* 801A2B34 0019FA94 38 80 00 00 */ li r4, 0 /* 801A2B38 0019FA98 4B FF C2 E1 */ bl sub_8019ee18 /* 801A2B3C 0019FA9C C0 1E 09 4C */ lfs f0, 0x94c(r30) /* 801A2B40 0019FAA0 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) lbl_801A2B44: /* 801A2B44 0019FAA4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801A2B48 0019FAA8 80 01 00 84 */ lwz r0, 0x84(r1) /* 801A2B4C 0019FAAC CB E1 00 70 */ lfd f31, 0x70(r1) /* 801A2B50 0019FAB0 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801A2B54 0019FAB4 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801A2B58 0019FAB8 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801A2B5C 0019FABC 7C 08 03 A6 */ mtlr r0 /* 801A2B60 0019FAC0 38 21 00 80 */ addi r1, r1, 0x80 /* 801A2B64 0019FAC4 4E 80 00 20 */ blr .global PathFind__12CIceSheegothR13CStateManager9EStateMsgf PathFind__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A2B68 0019FAC8 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801A2B6C 0019FACC 7C 08 02 A6 */ mflr r0 /* 801A2B70 0019FAD0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801A2B74 0019FAD4 DB E1 00 90 */ stfd f31, 0x90(r1) /* 801A2B78 0019FAD8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801A2B7C 0019FADC 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801A2B80 0019FAE0 93 C1 00 88 */ stw r30, 0x88(r1) /* 801A2B84 0019FAE4 93 A1 00 84 */ stw r29, 0x84(r1) /* 801A2B88 0019FAE8 7C BE 2B 78 */ mr r30, r5 /* 801A2B8C 0019FAEC FF E0 08 90 */ fmr f31, f1 /* 801A2B90 0019FAF0 2C 1E 00 01 */ cmpwi r30, 1 /* 801A2B94 0019FAF4 7C 7F 1B 78 */ mr r31, r3 /* 801A2B98 0019FAF8 7C 9D 23 78 */ mr r29, r4 /* 801A2B9C 0019FAFC 41 82 00 B8 */ beq lbl_801A2C54 /* 801A2BA0 0019FB00 40 80 00 10 */ bge lbl_801A2BB0 /* 801A2BA4 0019FB04 2C 1E 00 00 */ cmpwi r30, 0 /* 801A2BA8 0019FB08 40 80 00 14 */ bge lbl_801A2BBC /* 801A2BAC 0019FB0C 48 00 02 D4 */ b lbl_801A2E80 lbl_801A2BB0: /* 801A2BB0 0019FB10 2C 1E 00 03 */ cmpwi r30, 3 /* 801A2BB4 0019FB14 40 80 02 CC */ bge lbl_801A2E80 /* 801A2BB8 0019FB18 48 00 02 B4 */ b lbl_801A2E6C lbl_801A2BBC: /* 801A2BBC 0019FB1C 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A2BC0 0019FB20 38 60 00 00 */ li r3, 0 /* 801A2BC4 0019FB24 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A2BC8 0019FB28 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A2BCC 0019FB2C 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A2BD0 0019FB30 38 80 00 01 */ li r4, 1 /* 801A2BD4 0019FB34 88 1F 0B 29 */ lbz r0, 0xb29(r31) /* 801A2BD8 0019FB38 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A2BDC 0019FB3C 98 1F 0B 29 */ stb r0, 0xb29(r31) /* 801A2BE0 0019FB40 D0 1F 09 68 */ stfs f0, 0x968(r31) /* 801A2BE4 0019FB44 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2BE8 0019FB48 4B F9 7D F1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801A2BEC 0019FB4C 80 BD 08 4C */ lwz r5, 0x84c(r29) /* 801A2BF0 0019FB50 38 7F 09 F4 */ addi r3, r31, 0x9f4 /* 801A2BF4 0019FB54 38 81 00 0C */ addi r4, r1, 0xc /* 801A2BF8 0019FB58 A0 05 00 08 */ lhz r0, 8(r5) /* 801A2BFC 0019FB5C B0 01 00 08 */ sth r0, 8(r1) /* 801A2C00 0019FB60 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A2C04 0019FB64 4B FD 26 15 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801A2C08 0019FB68 38 7F 09 F4 */ addi r3, r31, 0x9f4 /* 801A2C0C 0019FB6C 38 80 00 01 */ li r4, 1 /* 801A2C10 0019FB70 4B FD 26 15 */ bl SetActive__13CBoneTrackingFb /* 801A2C14 0019FB74 7F E3 FB 78 */ mr r3, r31 /* 801A2C18 0019FB78 7F A4 EB 78 */ mr r4, r29 /* 801A2C1C 0019FB7C 38 BF 02 E0 */ addi r5, r31, 0x2e0 /* 801A2C20 0019FB80 4B FF DE 3D */ bl sub_801a0a5c /* 801A2C24 0019FB84 7F E3 FB 78 */ mr r3, r31 /* 801A2C28 0019FB88 38 80 00 00 */ li r4, 0 /* 801A2C2C 0019FB8C 4B FF C1 ED */ bl sub_8019ee18 /* 801A2C30 0019FB90 88 1F 07 5C */ lbz r0, 0x75c(r31) /* 801A2C34 0019FB94 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A2C38 0019FB98 40 82 02 48 */ bne lbl_801A2E80 /* 801A2C3C 0019FB9C FC 20 F8 90 */ fmr f1, f31 /* 801A2C40 0019FBA0 7F E3 FB 78 */ mr r3, r31 /* 801A2C44 0019FBA4 7F A4 EB 78 */ mr r4, r29 /* 801A2C48 0019FBA8 7F C5 F3 78 */ mr r5, r30 /* 801A2C4C 0019FBAC 48 05 3A 81 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A2C50 0019FBB0 48 00 02 30 */ b lbl_801A2E80 lbl_801A2C54: /* 801A2C54 0019FBB4 38 80 00 00 */ li r4, 0 /* 801A2C58 0019FBB8 4B FF C1 C1 */ bl sub_8019ee18 /* 801A2C5C 0019FBBC 88 1F 07 5C */ lbz r0, 0x75c(r31) /* 801A2C60 0019FBC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A2C64 0019FBC4 40 82 01 28 */ bne lbl_801A2D8C /* 801A2C68 0019FBC8 7F E3 FB 78 */ mr r3, r31 /* 801A2C6C 0019FBCC 81 9F 00 00 */ lwz r12, 0(r31) /* 801A2C70 0019FBD0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801A2C74 0019FBD4 7D 89 03 A6 */ mtctr r12 /* 801A2C78 0019FBD8 4E 80 04 21 */ bctrl /* 801A2C7C 0019FBDC 28 03 00 00 */ cmplwi r3, 0 /* 801A2C80 0019FBE0 41 82 01 0C */ beq lbl_801A2D8C /* 801A2C84 0019FBE4 7F E3 FB 78 */ mr r3, r31 /* 801A2C88 0019FBE8 7F A4 EB 78 */ mr r4, r29 /* 801A2C8C 0019FBEC 81 9F 00 00 */ lwz r12, 0(r31) /* 801A2C90 0019FBF0 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A2C94 0019FBF4 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801A2C98 0019FBF8 7D 89 03 A6 */ mtctr r12 /* 801A2C9C 0019FBFC 4E 80 04 21 */ bctrl /* 801A2CA0 0019FC00 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2CA4 0019FC04 40 82 00 E8 */ bne lbl_801A2D8C /* 801A2CA8 0019FC08 80 7F 07 64 */ lwz r3, 0x764(r31) /* 801A2CAC 0019FC0C 80 9F 08 28 */ lwz r4, 0x828(r31) /* 801A2CB0 0019FC10 38 03 FF FF */ addi r0, r3, -1 /* 801A2CB4 0019FC14 7C 04 00 00 */ cmpw r4, r0 /* 801A2CB8 0019FC18 40 80 00 D4 */ bge lbl_801A2D8C /* 801A2CBC 0019FC1C FC 20 F8 90 */ fmr f1, f31 /* 801A2CC0 0019FC20 7F E3 FB 78 */ mr r3, r31 /* 801A2CC4 0019FC24 7F A4 EB 78 */ mr r4, r29 /* 801A2CC8 0019FC28 7F C5 F3 78 */ mr r5, r30 /* 801A2CCC 0019FC2C 48 05 3A 01 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A2CD0 0019FC30 C0 62 A7 5C */ lfs f3, lbl_805AC47C@sda21(r2) /* 801A2CD4 0019FC34 D0 7F 09 68 */ stfs f3, 0x968(r31) /* 801A2CD8 0019FC38 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2CDC 0019FC3C C0 BF 00 58 */ lfs f5, 0x58(r31) /* 801A2CE0 0019FC40 C0 1F 00 48 */ lfs f0, 0x48(r31) /* 801A2CE4 0019FC44 C0 9F 00 38 */ lfs f4, 0x38(r31) /* 801A2CE8 0019FC48 C0 43 00 04 */ lfs f2, 4(r3) /* 801A2CEC 0019FC4C D0 41 00 34 */ stfs f2, 0x34(r1) /* 801A2CF0 0019FC50 C0 23 00 08 */ lfs f1, 8(r3) /* 801A2CF4 0019FC54 EC 00 00 72 */ fmuls f0, f0, f1 /* 801A2CF8 0019FC58 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801A2CFC 0019FC5C C0 23 00 0C */ lfs f1, 0xc(r3) /* 801A2D00 0019FC60 EC 04 00 BA */ fmadds f0, f4, f2, f0 /* 801A2D04 0019FC64 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801A2D08 0019FC68 EC 05 00 7A */ fmadds f0, f5, f1, f0 /* 801A2D0C 0019FC6C FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801A2D10 0019FC70 40 80 01 30 */ bge lbl_801A2E40 /* 801A2D14 0019FC74 38 61 00 34 */ addi r3, r1, 0x34 /* 801A2D18 0019FC78 48 17 19 E1 */ bl CanBeNormalized__9CVector3fCFv /* 801A2D1C 0019FC7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2D20 0019FC80 41 82 01 20 */ beq lbl_801A2E40 /* 801A2D24 0019FC84 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2D28 0019FC88 38 63 00 04 */ addi r3, r3, 4 /* 801A2D2C 0019FC8C 4B F8 E7 7D */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 801A2D30 0019FC90 38 61 00 1C */ addi r3, r1, 0x1c /* 801A2D34 0019FC94 38 81 00 34 */ addi r4, r1, 0x34 /* 801A2D38 0019FC98 48 17 1B 19 */ bl AsNormalized__9CVector3fCFv /* 801A2D3C 0019FC9C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2D40 0019FCA0 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801A2D44 0019FCA4 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 801A2D48 0019FCA8 38 81 00 5C */ addi r4, r1, 0x5c /* 801A2D4C 0019FCAC C0 41 00 20 */ lfs f2, 0x20(r1) /* 801A2D50 0019FCB0 C0 A3 00 04 */ lfs f5, 4(r3) /* 801A2D54 0019FCB4 C0 83 00 08 */ lfs f4, 8(r3) /* 801A2D58 0019FCB8 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801A2D5C 0019FCBC C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A2D60 0019FCC0 D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 801A2D64 0019FCC4 D0 A1 00 60 */ stfs f5, 0x60(r1) /* 801A2D68 0019FCC8 D0 81 00 64 */ stfs f4, 0x64(r1) /* 801A2D6C 0019FCCC D0 61 00 68 */ stfs f3, 0x68(r1) /* 801A2D70 0019FCD0 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801A2D74 0019FCD4 D0 21 00 70 */ stfs f1, 0x70(r1) /* 801A2D78 0019FCD8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801A2D7C 0019FCDC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2D80 0019FCE0 38 63 00 04 */ addi r3, r3, 4 /* 801A2D84 0019FCE4 4B F8 E9 95 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801A2D88 0019FCE8 48 00 00 B8 */ b lbl_801A2E40 lbl_801A2D8C: /* 801A2D8C 0019FCEC 80 BD 08 4C */ lwz r5, 0x84c(r29) /* 801A2D90 0019FCF0 7F E3 FB 78 */ mr r3, r31 /* 801A2D94 0019FCF4 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801A2D98 0019FCF8 7F A4 EB 78 */ mr r4, r29 /* 801A2D9C 0019FCFC C0 45 00 50 */ lfs f2, 0x50(r5) /* 801A2DA0 0019FD00 C0 65 00 60 */ lfs f3, 0x60(r5) /* 801A2DA4 0019FD04 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801A2DA8 0019FD08 EC 82 00 28 */ fsubs f4, f2, f0 /* 801A2DAC 0019FD0C C0 45 00 40 */ lfs f2, 0x40(r5) /* 801A2DB0 0019FD10 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A2DB4 0019FD14 EC 63 08 28 */ fsubs f3, f3, f1 /* 801A2DB8 0019FD18 C0 22 A7 C4 */ lfs f1, lbl_805AC4E4@sda21(r2) /* 801A2DBC 0019FD1C EC 02 00 28 */ fsubs f0, f2, f0 /* 801A2DC0 0019FD20 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801A2DC4 0019FD24 D0 61 00 30 */ stfs f3, 0x30(r1) /* 801A2DC8 0019FD28 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801A2DCC 0019FD2C 4B FF BF 11 */ bl sub_8019ecdc /* 801A2DD0 0019FD30 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2DD4 0019FD34 41 82 00 6C */ beq lbl_801A2E40 /* 801A2DD8 0019FD38 38 61 00 28 */ addi r3, r1, 0x28 /* 801A2DDC 0019FD3C 48 17 19 1D */ bl CanBeNormalized__9CVector3fCFv /* 801A2DE0 0019FD40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2DE4 0019FD44 41 82 00 5C */ beq lbl_801A2E40 /* 801A2DE8 0019FD48 38 61 00 10 */ addi r3, r1, 0x10 /* 801A2DEC 0019FD4C 38 81 00 28 */ addi r4, r1, 0x28 /* 801A2DF0 0019FD50 48 17 1A 61 */ bl AsNormalized__9CVector3fCFv /* 801A2DF4 0019FD54 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2DF8 0019FD58 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801A2DFC 0019FD5C C0 61 00 10 */ lfs f3, 0x10(r1) /* 801A2E00 0019FD60 38 81 00 40 */ addi r4, r1, 0x40 /* 801A2E04 0019FD64 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801A2E08 0019FD68 C0 A3 00 04 */ lfs f5, 4(r3) /* 801A2E0C 0019FD6C C0 83 00 08 */ lfs f4, 8(r3) /* 801A2E10 0019FD70 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801A2E14 0019FD74 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A2E18 0019FD78 D0 C1 00 40 */ stfs f6, 0x40(r1) /* 801A2E1C 0019FD7C D0 A1 00 44 */ stfs f5, 0x44(r1) /* 801A2E20 0019FD80 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801A2E24 0019FD84 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801A2E28 0019FD88 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801A2E2C 0019FD8C D0 21 00 54 */ stfs f1, 0x54(r1) /* 801A2E30 0019FD90 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801A2E34 0019FD94 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2E38 0019FD98 38 63 00 04 */ addi r3, r3, 4 /* 801A2E3C 0019FD9C 4B F8 E8 DD */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801A2E40: /* 801A2E40 0019FDA0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2E44 0019FDA4 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A2E48 0019FDA8 2C 00 00 08 */ cmpwi r0, 8 /* 801A2E4C 0019FDAC 40 82 00 0C */ bne lbl_801A2E58 /* 801A2E50 0019FDB0 C0 22 A7 74 */ lfs f1, lbl_805AC494@sda21(r2) /* 801A2E54 0019FDB4 48 00 00 08 */ b lbl_801A2E5C lbl_801A2E58: /* 801A2E58 0019FDB8 C0 22 A7 60 */ lfs f1, lbl_805AC480@sda21(r2) lbl_801A2E5C: /* 801A2E5C 0019FDBC C0 1F 09 4C */ lfs f0, 0x94c(r31) /* 801A2E60 0019FDC0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A2E64 0019FDC4 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) /* 801A2E68 0019FDC8 48 00 00 18 */ b lbl_801A2E80 lbl_801A2E6C: /* 801A2E6C 0019FDCC 38 7F 09 F4 */ addi r3, r31, 0x9f4 /* 801A2E70 0019FDD0 38 80 00 00 */ li r4, 0 /* 801A2E74 0019FDD4 4B FD 23 B1 */ bl SetActive__13CBoneTrackingFb /* 801A2E78 0019FDD8 C0 1F 09 4C */ lfs f0, 0x94c(r31) /* 801A2E7C 0019FDDC D0 1F 03 B4 */ stfs f0, 0x3b4(r31) lbl_801A2E80: /* 801A2E80 0019FDE0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801A2E84 0019FDE4 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801A2E88 0019FDE8 CB E1 00 90 */ lfd f31, 0x90(r1) /* 801A2E8C 0019FDEC 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801A2E90 0019FDF0 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801A2E94 0019FDF4 83 A1 00 84 */ lwz r29, 0x84(r1) /* 801A2E98 0019FDF8 7C 08 03 A6 */ mtlr r0 /* 801A2E9C 0019FDFC 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801A2EA0 0019FE00 4E 80 00 20 */ blr .global DoubleSnap__12CIceSheegothR13CStateManager9EStateMsgf DoubleSnap__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A2EA4 0019FE04 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A2EA8 0019FE08 7C 08 02 A6 */ mflr r0 /* 801A2EAC 0019FE0C 2C 05 00 01 */ cmpwi r5, 1 /* 801A2EB0 0019FE10 90 01 00 34 */ stw r0, 0x34(r1) /* 801A2EB4 0019FE14 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A2EB8 0019FE18 7C 7F 1B 78 */ mr r31, r3 /* 801A2EBC 0019FE1C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801A2EC0 0019FE20 7C 9E 23 78 */ mr r30, r4 /* 801A2EC4 0019FE24 41 82 00 4C */ beq lbl_801A2F10 /* 801A2EC8 0019FE28 40 80 00 10 */ bge lbl_801A2ED8 /* 801A2ECC 0019FE2C 2C 05 00 00 */ cmpwi r5, 0 /* 801A2ED0 0019FE30 40 80 00 14 */ bge lbl_801A2EE4 /* 801A2ED4 0019FE34 48 00 01 B8 */ b lbl_801A308C lbl_801A2ED8: /* 801A2ED8 0019FE38 2C 05 00 03 */ cmpwi r5, 3 /* 801A2EDC 0019FE3C 40 80 01 B0 */ bge lbl_801A308C /* 801A2EE0 0019FE40 48 00 01 44 */ b lbl_801A3024 lbl_801A2EE4: /* 801A2EE4 0019FE44 38 00 00 00 */ li r0, 0 /* 801A2EE8 0019FE48 38 60 00 01 */ li r3, 1 /* 801A2EEC 0019FE4C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A2EF0 0019FE50 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A2EF4 0019FE54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A2EF8 0019FE58 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A2EFC 0019FE5C 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 801A2F00 0019FE60 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A2F04 0019FE64 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A2F08 0019FE68 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A2F0C 0019FE6C 48 00 01 80 */ b lbl_801A308C lbl_801A2F10: /* 801A2F10 0019FE70 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801A2F14 0019FE74 2C 00 00 03 */ cmpwi r0, 3 /* 801A2F18 0019FE78 41 82 00 F0 */ beq lbl_801A3008 /* 801A2F1C 0019FE7C 40 80 01 70 */ bge lbl_801A308C /* 801A2F20 0019FE80 2C 00 00 00 */ cmpwi r0, 0 /* 801A2F24 0019FE84 41 82 00 08 */ beq lbl_801A2F2C /* 801A2F28 0019FE88 48 00 01 64 */ b lbl_801A308C lbl_801A2F2C: /* 801A2F2C 0019FE8C 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801A2F30 0019FE90 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801A2F34 0019FE94 2C 00 00 07 */ cmpwi r0, 7 /* 801A2F38 0019FE98 40 82 00 10 */ bne lbl_801A2F48 /* 801A2F3C 0019FE9C 38 00 00 03 */ li r0, 3 /* 801A2F40 0019FEA0 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A2F44 0019FEA4 48 00 01 48 */ b lbl_801A308C lbl_801A2F48: /* 801A2F48 0019FEA8 81 83 00 00 */ lwz r12, 0(r3) /* 801A2F4C 0019FEAC 81 8C 02 B8 */ lwz r12, 0x2b8(r12) /* 801A2F50 0019FEB0 7D 89 03 A6 */ mtctr r12 /* 801A2F54 0019FEB4 4E 80 04 21 */ bctrl /* 801A2F58 0019FEB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A2F5C 0019FEBC 41 82 01 30 */ beq lbl_801A308C /* 801A2F60 0019FEC0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801A2F64 0019FEC4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A2F68 0019FEC8 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801A2F6C 0019FECC 38 E4 AA 68 */ addi r7, r4, lbl_803DAA68@l /* 801A2F70 0019FED0 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 801A2F74 0019FED4 90 E1 00 08 */ stw r7, 8(r1) /* 801A2F78 0019FED8 38 00 00 00 */ li r0, 0 /* 801A2F7C 0019FEDC C0 23 00 04 */ lfs f1, 4(r3) /* 801A2F80 0019FEE0 C0 03 00 08 */ lfs f0, 8(r3) /* 801A2F84 0019FEE4 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l /* 801A2F88 0019FEE8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A2F8C 0019FEEC 38 C0 00 05 */ li r6, 5 /* 801A2F90 0019FEF0 90 C1 00 0C */ stw r6, 0xc(r1) /* 801A2F94 0019FEF4 38 80 00 05 */ li r4, 5 /* 801A2F98 0019FEF8 3B E3 00 04 */ addi r31, r3, 4 /* 801A2F9C 0019FEFC 90 A1 00 08 */ stw r5, 8(r1) /* 801A2FA0 0019FF00 7F E3 FB 78 */ mr r3, r31 /* 801A2FA4 0019FF04 90 01 00 10 */ stw r0, 0x10(r1) /* 801A2FA8 0019FF08 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801A2FAC 0019FF0C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A2FB0 0019FF10 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A2FB4 0019FF14 98 01 00 20 */ stb r0, 0x20(r1) /* 801A2FB8 0019FF18 4B F8 E4 81 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A2FBC 0019FF1C 80 01 00 0C */ lwz r0, 0xc(r1) /* 801A2FC0 0019FF20 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801A2FC4 0019FF24 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801A2FC8 0019FF28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A2FCC 0019FF2C 90 1F 01 10 */ stw r0, 0x110(r31) /* 801A2FD0 0019FF30 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A2FD4 0019FF34 80 61 00 10 */ lwz r3, 0x10(r1) /* 801A2FD8 0019FF38 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801A2FDC 0019FF3C 90 7F 01 14 */ stw r3, 0x114(r31) /* 801A2FE0 0019FF40 80 61 00 18 */ lwz r3, 0x18(r1) /* 801A2FE4 0019FF44 90 BF 01 18 */ stw r5, 0x118(r31) /* 801A2FE8 0019FF48 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801A2FEC 0019FF4C 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801A2FF0 0019FF50 88 61 00 20 */ lbz r3, 0x20(r1) /* 801A2FF4 0019FF54 90 BF 01 20 */ stw r5, 0x120(r31) /* 801A2FF8 0019FF58 90 81 00 08 */ stw r4, 8(r1) /* 801A2FFC 0019FF5C 98 7F 01 24 */ stb r3, 0x124(r31) /* 801A3000 0019FF60 90 01 00 08 */ stw r0, 8(r1) /* 801A3004 0019FF64 48 00 00 88 */ b lbl_801A308C lbl_801A3008: /* 801A3008 0019FF68 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A300C 0019FF6C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A3010 0019FF70 2C 00 00 07 */ cmpwi r0, 7 /* 801A3014 0019FF74 41 82 00 78 */ beq lbl_801A308C /* 801A3018 0019FF78 38 00 00 04 */ li r0, 4 /* 801A301C 0019FF7C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A3020 0019FF80 48 00 00 6C */ b lbl_801A308C lbl_801A3024: /* 801A3024 0019FF84 4B FF E7 71 */ bl sub_801a1794 /* 801A3028 0019FF88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A302C 0019FF8C 41 82 00 28 */ beq lbl_801A3054 /* 801A3030 0019FF90 7F E3 FB 78 */ mr r3, r31 /* 801A3034 0019FF94 7F C4 F3 78 */ mr r4, r30 /* 801A3038 0019FF98 81 9F 00 00 */ lwz r12, 0(r31) /* 801A303C 0019FF9C C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A3040 0019FFA0 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 801A3044 0019FFA4 7D 89 03 A6 */ mtctr r12 /* 801A3048 0019FFA8 4E 80 04 21 */ bctrl /* 801A304C 0019FFAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3050 0019FFB0 40 82 00 1C */ bne lbl_801A306C lbl_801A3054: /* 801A3054 0019FFB4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801A3058 0019FFB8 48 16 F4 85 */ bl Float__9CRandom16Fv /* 801A305C 0019FFBC C0 5F 03 08 */ lfs f2, 0x308(r31) /* 801A3060 0019FFC0 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801A3064 0019FFC4 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801A3068 0019FFC8 D0 1F 09 58 */ stfs f0, 0x958(r31) lbl_801A306C: /* 801A306C 0019FFCC 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A3070 0019FFD0 38 60 00 00 */ li r3, 0 /* 801A3074 0019FFD4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A3078 0019FFD8 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A307C 0019FFDC 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 801A3080 0019FFE0 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A3084 0019FFE4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A3088 0019FFE8 98 1F 0B 28 */ stb r0, 0xb28(r31) lbl_801A308C: /* 801A308C 0019FFEC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A3090 0019FFF0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A3094 0019FFF4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801A3098 0019FFF8 7C 08 03 A6 */ mtlr r0 /* 801A309C 0019FFFC 38 21 00 30 */ addi r1, r1, 0x30 /* 801A30A0 001A0000 4E 80 00 20 */ blr .global SpecialAttack__12CIceSheegothR13CStateManager9EStateMsgf SpecialAttack__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A30A4 001A0004 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A30A8 001A0008 7C 08 02 A6 */ mflr r0 /* 801A30AC 001A000C 2C 05 00 01 */ cmpwi r5, 1 /* 801A30B0 001A0010 90 01 00 24 */ stw r0, 0x24(r1) /* 801A30B4 001A0014 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A30B8 001A0018 7C 9F 23 78 */ mr r31, r4 /* 801A30BC 001A001C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801A30C0 001A0020 7C 7E 1B 78 */ mr r30, r3 /* 801A30C4 001A0024 41 82 00 50 */ beq lbl_801A3114 /* 801A30C8 001A0028 40 80 00 10 */ bge lbl_801A30D8 /* 801A30CC 001A002C 2C 05 00 00 */ cmpwi r5, 0 /* 801A30D0 001A0030 40 80 00 14 */ bge lbl_801A30E4 /* 801A30D4 001A0034 48 00 01 54 */ b lbl_801A3228 lbl_801A30D8: /* 801A30D8 001A0038 2C 05 00 03 */ cmpwi r5, 3 /* 801A30DC 001A003C 40 80 01 4C */ bge lbl_801A3228 /* 801A30E0 001A0040 48 00 01 0C */ b lbl_801A31EC lbl_801A30E4: /* 801A30E4 001A0044 38 80 00 00 */ li r4, 0 /* 801A30E8 001A0048 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A30EC 001A004C 90 9E 05 68 */ stw r4, 0x568(r30) /* 801A30F0 001A0050 38 60 00 01 */ li r3, 1 /* 801A30F4 001A0054 D0 1E 09 68 */ stfs f0, 0x968(r30) /* 801A30F8 001A0058 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A30FC 001A005C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A3100 001A0060 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A3104 001A0064 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A3108 001A0068 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801A310C 001A006C 98 1E 0B 29 */ stb r0, 0xb29(r30) /* 801A3110 001A0070 48 00 01 18 */ b lbl_801A3228 lbl_801A3114: /* 801A3114 001A0074 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801A3118 001A0078 2C 00 00 03 */ cmpwi r0, 3 /* 801A311C 001A007C 41 82 00 B4 */ beq lbl_801A31D0 /* 801A3120 001A0080 40 80 01 08 */ bge lbl_801A3228 /* 801A3124 001A0084 2C 00 00 00 */ cmpwi r0, 0 /* 801A3128 001A0088 41 82 00 08 */ beq lbl_801A3130 /* 801A312C 001A008C 48 00 00 FC */ b lbl_801A3228 lbl_801A3130: /* 801A3130 001A0090 80 FE 04 50 */ lwz r7, 0x450(r30) /* 801A3134 001A0094 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 801A3138 001A0098 2C 00 00 09 */ cmpwi r0, 9 /* 801A313C 001A009C 40 82 00 20 */ bne lbl_801A315C /* 801A3140 001A00A0 38 00 00 03 */ li r0, 3 /* 801A3144 001A00A4 C0 22 A7 74 */ lfs f1, lbl_805AC494@sda21(r2) /* 801A3148 001A00A8 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A314C 001A00AC C0 1E 09 4C */ lfs f0, 0x94c(r30) /* 801A3150 001A00B0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A3154 001A00B4 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 801A3158 001A00B8 48 00 00 D0 */ b lbl_801A3228 lbl_801A315C: /* 801A315C 001A00BC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801A3160 001A00C0 3C 60 80 3E */ lis r3, lbl_803E10B0@ha /* 801A3164 001A00C4 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801A3168 001A00C8 38 80 00 07 */ li r4, 7 /* 801A316C 001A00CC 90 01 00 08 */ stw r0, 8(r1) /* 801A3170 001A00D0 38 C3 10 B0 */ addi r6, r3, lbl_803E10B0@l /* 801A3174 001A00D4 38 A0 00 00 */ li r5, 0 /* 801A3178 001A00D8 38 00 00 01 */ li r0, 1 /* 801A317C 001A00DC 3B E7 00 04 */ addi r31, r7, 4 /* 801A3180 001A00E0 90 81 00 0C */ stw r4, 0xc(r1) /* 801A3184 001A00E4 7F E3 FB 78 */ mr r3, r31 /* 801A3188 001A00E8 38 80 00 07 */ li r4, 7 /* 801A318C 001A00EC 90 C1 00 08 */ stw r6, 8(r1) /* 801A3190 001A00F0 90 A1 00 10 */ stw r5, 0x10(r1) /* 801A3194 001A00F4 90 01 00 14 */ stw r0, 0x14(r1) /* 801A3198 001A00F8 4B F8 E2 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A319C 001A00FC 80 01 00 0C */ lwz r0, 0xc(r1) /* 801A31A0 001A0100 3C 60 80 3E */ lis r3, lbl_803E10B0@ha /* 801A31A4 001A0104 38 83 10 B0 */ addi r4, r3, lbl_803E10B0@l /* 801A31A8 001A0108 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A31AC 001A010C 90 1F 01 48 */ stw r0, 0x148(r31) /* 801A31B0 001A0110 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A31B4 001A0114 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801A31B8 001A0118 90 81 00 08 */ stw r4, 8(r1) /* 801A31BC 001A011C 80 61 00 14 */ lwz r3, 0x14(r1) /* 801A31C0 001A0120 90 BF 01 4C */ stw r5, 0x14c(r31) /* 801A31C4 001A0124 90 7F 01 50 */ stw r3, 0x150(r31) /* 801A31C8 001A0128 90 01 00 08 */ stw r0, 8(r1) /* 801A31CC 001A012C 48 00 00 5C */ b lbl_801A3228 lbl_801A31D0: /* 801A31D0 001A0130 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A31D4 001A0134 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A31D8 001A0138 2C 00 00 09 */ cmpwi r0, 9 /* 801A31DC 001A013C 41 82 00 4C */ beq lbl_801A3228 /* 801A31E0 001A0140 38 00 00 04 */ li r0, 4 /* 801A31E4 001A0144 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A31E8 001A0148 48 00 00 40 */ b lbl_801A3228 lbl_801A31EC: /* 801A31EC 001A014C 4B FF E5 A9 */ bl sub_801a1794 /* 801A31F0 001A0150 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A31F4 001A0154 40 82 00 1C */ bne lbl_801A3210 /* 801A31F8 001A0158 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801A31FC 001A015C 48 16 F2 E1 */ bl Float__9CRandom16Fv /* 801A3200 001A0160 C0 5E 03 08 */ lfs f2, 0x308(r30) /* 801A3204 001A0164 C0 1E 03 04 */ lfs f0, 0x304(r30) /* 801A3208 001A0168 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801A320C 001A016C D0 1E 09 54 */ stfs f0, 0x954(r30) lbl_801A3210: /* 801A3210 001A0170 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A3214 001A0174 38 60 00 00 */ li r3, 0 /* 801A3218 001A0178 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A321C 001A017C 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A3220 001A0180 C0 1E 09 4C */ lfs f0, 0x94c(r30) /* 801A3224 001A0184 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) lbl_801A3228: /* 801A3228 001A0188 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A322C 001A018C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A3230 001A0190 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801A3234 001A0194 7C 08 03 A6 */ mtlr r0 /* 801A3238 001A0198 38 21 00 20 */ addi r1, r1, 0x20 /* 801A323C 001A019C 4E 80 00 20 */ blr .global Attack__12CIceSheegothR13CStateManager9EStateMsgf Attack__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A3240 001A01A0 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801A3244 001A01A4 7C 08 02 A6 */ mflr r0 /* 801A3248 001A01A8 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801A324C 001A01AC DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801A3250 001A01B0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801A3254 001A01B4 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801A3258 001A01B8 93 C1 00 98 */ stw r30, 0x98(r1) /* 801A325C 001A01BC 93 A1 00 94 */ stw r29, 0x94(r1) /* 801A3260 001A01C0 7C BD 2B 78 */ mr r29, r5 /* 801A3264 001A01C4 FF E0 08 90 */ fmr f31, f1 /* 801A3268 001A01C8 2C 1D 00 01 */ cmpwi r29, 1 /* 801A326C 001A01CC 7C 7E 1B 78 */ mr r30, r3 /* 801A3270 001A01D0 7C 9F 23 78 */ mr r31, r4 /* 801A3274 001A01D4 41 82 00 C0 */ beq lbl_801A3334 /* 801A3278 001A01D8 40 80 00 10 */ bge lbl_801A3288 /* 801A327C 001A01DC 2C 1D 00 00 */ cmpwi r29, 0 /* 801A3280 001A01E0 40 80 00 14 */ bge lbl_801A3294 /* 801A3284 001A01E4 48 00 03 40 */ b lbl_801A35C4 lbl_801A3288: /* 801A3288 001A01E8 2C 1D 00 03 */ cmpwi r29, 3 /* 801A328C 001A01EC 40 80 03 38 */ bge lbl_801A35C4 /* 801A3290 001A01F0 48 00 02 CC */ b lbl_801A355C lbl_801A3294: /* 801A3294 001A01F4 38 00 00 00 */ li r0, 0 /* 801A3298 001A01F8 38 80 00 01 */ li r4, 1 /* 801A329C 001A01FC 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A32A0 001A0200 7F E5 FB 78 */ mr r5, r31 /* 801A32A4 001A0204 38 61 00 08 */ addi r3, r1, 8 /* 801A32A8 001A0208 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A32AC 001A020C 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A32B0 001A0210 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801A32B4 001A0214 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A32B8 001A0218 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f /* 801A32BC 001A021C 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A32C0 001A0220 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801A32C4 001A0224 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A32C8 001A0228 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801A32CC 001A022C 81 84 00 00 */ lwz r12, 0(r4) /* 801A32D0 001A0230 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A32D4 001A0234 7D 89 03 A6 */ mtctr r12 /* 801A32D8 001A0238 4E 80 04 21 */ bctrl /* 801A32DC 001A023C C0 01 00 08 */ lfs f0, 8(r1) /* 801A32E0 001A0240 7F C3 F3 78 */ mr r3, r30 /* 801A32E4 001A0244 38 80 00 00 */ li r4, 0 /* 801A32E8 001A0248 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 801A32EC 001A024C C0 01 00 0C */ lfs f0, 0xc(r1) /* 801A32F0 001A0250 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 801A32F4 001A0254 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801A32F8 001A0258 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) /* 801A32FC 001A025C 4B FF BB 1D */ bl sub_8019ee18 /* 801A3300 001A0260 FC 20 F8 90 */ fmr f1, f31 /* 801A3304 001A0264 7F C3 F3 78 */ mr r3, r30 /* 801A3308 001A0268 7F E4 FB 78 */ mr r4, r31 /* 801A330C 001A026C 7F A5 EB 78 */ mr r5, r29 /* 801A3310 001A0270 48 05 33 BD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A3314 001A0274 3C 80 80 57 */ lis r4, lbl_80572018@ha /* 801A3318 001A0278 7F C3 F3 78 */ mr r3, r30 /* 801A331C 001A027C 38 A4 20 18 */ addi r5, r4, lbl_80572018@l /* 801A3320 001A0280 7F E4 FB 78 */ mr r4, r31 /* 801A3324 001A0284 4B FF C8 65 */ bl sub_8019fb88 /* 801A3328 001A0288 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A332C 001A028C D0 1E 09 5C */ stfs f0, 0x95c(r30) /* 801A3330 001A0290 48 00 02 94 */ b lbl_801A35C4 lbl_801A3334: /* 801A3334 001A0294 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801A3338 001A0298 2C 00 00 03 */ cmpwi r0, 3 /* 801A333C 001A029C 41 82 02 04 */ beq lbl_801A3540 /* 801A3340 001A02A0 40 80 02 84 */ bge lbl_801A35C4 /* 801A3344 001A02A4 2C 00 00 00 */ cmpwi r0, 0 /* 801A3348 001A02A8 41 82 00 08 */ beq lbl_801A3350 /* 801A334C 001A02AC 48 00 02 78 */ b lbl_801A35C4 lbl_801A3350: /* 801A3350 001A02B0 C0 1E 09 5C */ lfs f0, 0x95c(r30) /* 801A3354 001A02B4 EC 00 F8 2A */ fadds f0, f0, f31 /* 801A3358 001A02B8 D0 1E 09 5C */ stfs f0, 0x95c(r30) /* 801A335C 001A02BC C0 3E 09 5C */ lfs f1, 0x95c(r30) /* 801A3360 001A02C0 C0 1E 07 44 */ lfs f0, 0x744(r30) /* 801A3364 001A02C4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3368 001A02C8 40 80 01 CC */ bge lbl_801A3534 /* 801A336C 001A02CC 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A3370 001A02D0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801A3374 001A02D4 40 82 00 DC */ bne lbl_801A3450 /* 801A3378 001A02D8 38 00 00 03 */ li r0, 3 /* 801A337C 001A02DC 39 00 00 01 */ li r8, 1 /* 801A3380 001A02E0 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A3384 001A02E4 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A3388 001A02E8 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d /* 801A338C 001A02EC 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A3390 001A02F0 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801A3394 001A02F4 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 801A3398 001A02F8 2C 00 00 01 */ cmpwi r0, 1 /* 801A339C 001A02FC 40 82 00 08 */ bne lbl_801A33A4 /* 801A33A0 001A0300 39 00 00 02 */ li r8, 2 lbl_801A33A4: /* 801A33A4 001A0304 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801A33A8 001A0308 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A33AC 001A030C 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801A33B0 001A0310 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A33B4 001A0314 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l /* 801A33B8 001A0318 C0 44 00 00 */ lfs f2, 0(r4) /* 801A33BC 001A031C C0 24 00 04 */ lfs f1, 4(r4) /* 801A33C0 001A0320 3C A0 80 3E */ lis r5, lbl_803DA9D8@ha /* 801A33C4 001A0324 C0 04 00 08 */ lfs f0, 8(r4) /* 801A33C8 001A0328 38 C0 00 05 */ li r6, 5 /* 801A33CC 001A032C 38 00 00 00 */ li r0, 0 /* 801A33D0 001A0330 3B E3 00 04 */ addi r31, r3, 4 /* 801A33D4 001A0334 90 E1 00 14 */ stw r7, 0x14(r1) /* 801A33D8 001A0338 38 A5 A9 D8 */ addi r5, r5, lbl_803DA9D8@l /* 801A33DC 001A033C 7F E3 FB 78 */ mr r3, r31 /* 801A33E0 001A0340 38 80 00 05 */ li r4, 5 /* 801A33E4 001A0344 90 C1 00 18 */ stw r6, 0x18(r1) /* 801A33E8 001A0348 90 A1 00 14 */ stw r5, 0x14(r1) /* 801A33EC 001A034C 91 01 00 1C */ stw r8, 0x1c(r1) /* 801A33F0 001A0350 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801A33F4 001A0354 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801A33F8 001A0358 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801A33FC 001A035C 98 01 00 2C */ stb r0, 0x2c(r1) /* 801A3400 001A0360 4B F8 E0 39 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A3404 001A0364 80 01 00 18 */ lwz r0, 0x18(r1) /* 801A3408 001A0368 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801A340C 001A036C 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801A3410 001A0370 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A3414 001A0374 90 1F 01 10 */ stw r0, 0x110(r31) /* 801A3418 001A0378 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A341C 001A037C 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801A3420 001A0380 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801A3424 001A0384 90 7F 01 14 */ stw r3, 0x114(r31) /* 801A3428 001A0388 80 61 00 24 */ lwz r3, 0x24(r1) /* 801A342C 001A038C 90 BF 01 18 */ stw r5, 0x118(r31) /* 801A3430 001A0390 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801A3434 001A0394 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801A3438 001A0398 88 61 00 2C */ lbz r3, 0x2c(r1) /* 801A343C 001A039C 90 BF 01 20 */ stw r5, 0x120(r31) /* 801A3440 001A03A0 90 81 00 14 */ stw r4, 0x14(r1) /* 801A3444 001A03A4 98 7F 01 24 */ stb r3, 0x124(r31) /* 801A3448 001A03A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801A344C 001A03AC 48 00 01 78 */ b lbl_801A35C4 lbl_801A3450: /* 801A3450 001A03B0 7F C4 F3 78 */ mr r4, r30 /* 801A3454 001A03B4 38 61 00 30 */ addi r3, r1, 0x30 /* 801A3458 001A03B8 38 BE 0A F4 */ addi r5, r30, 0xaf4 /* 801A345C 001A03BC 4B ED 54 5D */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801A3460 001A03C0 38 61 00 60 */ addi r3, r1, 0x60 /* 801A3464 001A03C4 38 81 00 30 */ addi r4, r1, 0x30 /* 801A3468 001A03C8 48 16 F7 0D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A346C 001A03CC 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801A3470 001A03D0 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801A3474 001A03D4 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A3478 001A03D8 C0 63 00 40 */ lfs f3, 0x40(r3) /* 801A347C 001A03DC EC 01 00 28 */ fsubs f0, f1, f0 /* 801A3480 001A03E0 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 801A3484 001A03E4 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801A3488 001A03E8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A348C 001A03EC C0 83 00 60 */ lfs f4, 0x60(r3) /* 801A3490 001A03F0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A3494 001A03F4 C0 61 00 8C */ lfs f3, 0x8c(r1) /* 801A3498 001A03F8 C0 3E 00 38 */ lfs f1, 0x38(r30) /* 801A349C 001A03FC EC 64 18 28 */ fsubs f3, f4, f3 /* 801A34A0 001A0400 C0 9E 00 58 */ lfs f4, 0x58(r30) /* 801A34A4 001A0404 EC 21 00 BA */ fmadds f1, f1, f2, f0 /* 801A34A8 001A0408 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A34AC 001A040C EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801A34B0 001A0410 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A34B4 001A0414 40 81 00 74 */ ble lbl_801A3528 /* 801A34B8 001A0418 7F C3 F3 78 */ mr r3, r30 /* 801A34BC 001A041C 38 80 00 00 */ li r4, 0 /* 801A34C0 001A0420 4B FF B9 59 */ bl sub_8019ee18 /* 801A34C4 001A0424 7F C3 F3 78 */ mr r3, r30 /* 801A34C8 001A0428 81 9E 00 00 */ lwz r12, 0(r30) /* 801A34CC 001A042C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801A34D0 001A0430 7D 89 03 A6 */ mtctr r12 /* 801A34D4 001A0434 4E 80 04 21 */ bctrl /* 801A34D8 001A0438 28 03 00 00 */ cmplwi r3, 0 /* 801A34DC 001A043C 41 82 00 40 */ beq lbl_801A351C /* 801A34E0 001A0440 7F C3 F3 78 */ mr r3, r30 /* 801A34E4 001A0444 7F E4 FB 78 */ mr r4, r31 /* 801A34E8 001A0448 81 9E 00 00 */ lwz r12, 0(r30) /* 801A34EC 001A044C C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A34F0 001A0450 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801A34F4 001A0454 7D 89 03 A6 */ mtctr r12 /* 801A34F8 001A0458 4E 80 04 21 */ bctrl /* 801A34FC 001A045C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3500 001A0460 40 82 00 1C */ bne lbl_801A351C /* 801A3504 001A0464 FC 20 F8 90 */ fmr f1, f31 /* 801A3508 001A0468 7F C3 F3 78 */ mr r3, r30 /* 801A350C 001A046C 7F E4 FB 78 */ mr r4, r31 /* 801A3510 001A0470 7F A5 EB 78 */ mr r5, r29 /* 801A3514 001A0474 48 05 31 B9 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801A3518 001A0478 48 00 00 AC */ b lbl_801A35C4 lbl_801A351C: /* 801A351C 001A047C 38 00 00 04 */ li r0, 4 /* 801A3520 001A0480 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A3524 001A0484 48 00 00 A0 */ b lbl_801A35C4 lbl_801A3528: /* 801A3528 001A0488 38 00 00 04 */ li r0, 4 /* 801A352C 001A048C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A3530 001A0490 48 00 00 94 */ b lbl_801A35C4 lbl_801A3534: /* 801A3534 001A0494 38 00 00 04 */ li r0, 4 /* 801A3538 001A0498 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A353C 001A049C 48 00 00 88 */ b lbl_801A35C4 lbl_801A3540: /* 801A3540 001A04A0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A3544 001A04A4 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A3548 001A04A8 2C 00 00 07 */ cmpwi r0, 7 /* 801A354C 001A04AC 41 82 00 78 */ beq lbl_801A35C4 /* 801A3550 001A04B0 38 00 00 04 */ li r0, 4 /* 801A3554 001A04B4 90 1E 05 68 */ stw r0, 0x568(r30) /* 801A3558 001A04B8 48 00 00 6C */ b lbl_801A35C4 lbl_801A355C: /* 801A355C 001A04BC 4B FF E2 39 */ bl sub_801a1794 /* 801A3560 001A04C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3564 001A04C4 40 82 00 1C */ bne lbl_801A3580 /* 801A3568 001A04C8 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801A356C 001A04CC 48 16 EF 71 */ bl Float__9CRandom16Fv /* 801A3570 001A04D0 C0 5E 03 08 */ lfs f2, 0x308(r30) /* 801A3574 001A04D4 C0 1E 03 04 */ lfs f0, 0x304(r30) /* 801A3578 001A04D8 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801A357C 001A04DC D0 1E 09 54 */ stfs f0, 0x954(r30) lbl_801A3580: /* 801A3580 001A04E0 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A3584 001A04E4 7F C3 F3 78 */ mr r3, r30 /* 801A3588 001A04E8 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801A358C 001A04EC 7F E4 FB 78 */ mr r4, r31 /* 801A3590 001A04F0 4B FF C5 F9 */ bl sub_8019fb88 /* 801A3594 001A04F4 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A3598 001A04F8 38 60 00 00 */ li r3, 0 /* 801A359C 001A04FC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A35A0 001A0500 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A35A4 001A0504 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A35A8 001A0508 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 801A35AC 001A050C 88 1E 0B 28 */ lbz r0, 0xb28(r30) /* 801A35B0 001A0510 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801A35B4 001A0514 98 1E 0B 28 */ stb r0, 0xb28(r30) /* 801A35B8 001A0518 C0 3E 07 48 */ lfs f1, 0x748(r30) /* 801A35BC 001A051C D0 3E 09 60 */ stfs f1, 0x960(r30) /* 801A35C0 001A0520 D0 1E 09 5C */ stfs f0, 0x95c(r30) lbl_801A35C4: /* 801A35C4 001A0524 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A35C8 001A0528 D0 1E 09 68 */ stfs f0, 0x968(r30) /* 801A35CC 001A052C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801A35D0 001A0530 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801A35D4 001A0534 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801A35D8 001A0538 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801A35DC 001A053C 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801A35E0 001A0540 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801A35E4 001A0544 7C 08 03 A6 */ mtlr r0 /* 801A35E8 001A0548 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801A35EC 001A054C 4E 80 00 20 */ blr .global ProjectileAttack__12CIceSheegothR13CStateManager9EStateMsgf ProjectileAttack__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A35F0 001A0550 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801A35F4 001A0554 7C 08 02 A6 */ mflr r0 /* 801A35F8 001A0558 2C 05 00 01 */ cmpwi r5, 1 /* 801A35FC 001A055C 90 01 00 44 */ stw r0, 0x44(r1) /* 801A3600 001A0560 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801A3604 001A0564 7C 7F 1B 78 */ mr r31, r3 /* 801A3608 001A0568 93 C1 00 38 */ stw r30, 0x38(r1) /* 801A360C 001A056C 7C 9E 23 78 */ mr r30, r4 /* 801A3610 001A0570 41 82 00 64 */ beq lbl_801A3674 /* 801A3614 001A0574 40 80 00 10 */ bge lbl_801A3624 /* 801A3618 001A0578 2C 05 00 00 */ cmpwi r5, 0 /* 801A361C 001A057C 40 80 00 14 */ bge lbl_801A3630 /* 801A3620 001A0580 48 00 02 1C */ b lbl_801A383C lbl_801A3624: /* 801A3624 001A0584 2C 05 00 03 */ cmpwi r5, 3 /* 801A3628 001A0588 40 80 02 14 */ bge lbl_801A383C /* 801A362C 001A058C 48 00 01 54 */ b lbl_801A3780 lbl_801A3630: /* 801A3630 001A0590 38 E0 00 00 */ li r7, 0 /* 801A3634 001A0594 38 C0 00 01 */ li r6, 1 /* 801A3638 001A0598 90 FF 05 68 */ stw r7, 0x568(r31) /* 801A363C 001A059C 38 A0 00 01 */ li r5, 1 /* 801A3640 001A05A0 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3644 001A05A4 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A3648 001A05A8 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 801A364C 001A05AC 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A3650 001A05B0 88 1F 0B 29 */ lbz r0, 0xb29(r31) /* 801A3654 001A05B4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801A3658 001A05B8 98 1F 0B 29 */ stb r0, 0xb29(r31) /* 801A365C 001A05BC 88 1F 0B 29 */ lbz r0, 0xb29(r31) /* 801A3660 001A05C0 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b /* 801A3664 001A05C4 98 1F 0B 29 */ stb r0, 0xb29(r31) /* 801A3668 001A05C8 D0 1F 09 68 */ stfs f0, 0x968(r31) /* 801A366C 001A05CC 4B FF B3 61 */ bl sub_8019e9cc /* 801A3670 001A05D0 48 00 01 CC */ b lbl_801A383C lbl_801A3674: /* 801A3674 001A05D4 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801A3678 001A05D8 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801A367C 001A05DC 2C 00 00 03 */ cmpwi r0, 3 /* 801A3680 001A05E0 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801A3684 001A05E4 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A3688 001A05E8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A368C 001A05EC 41 82 00 D8 */ beq lbl_801A3764 /* 801A3690 001A05F0 40 80 01 AC */ bge lbl_801A383C /* 801A3694 001A05F4 2C 00 00 00 */ cmpwi r0, 0 /* 801A3698 001A05F8 41 82 00 08 */ beq lbl_801A36A0 /* 801A369C 001A05FC 48 00 01 A0 */ b lbl_801A383C lbl_801A36A0: /* 801A36A0 001A0600 80 FF 04 50 */ lwz r7, 0x450(r31) /* 801A36A4 001A0604 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 801A36A8 001A0608 2C 00 00 12 */ cmpwi r0, 0x12 /* 801A36AC 001A060C 40 82 00 20 */ bne lbl_801A36CC /* 801A36B0 001A0610 38 00 00 03 */ li r0, 3 /* 801A36B4 001A0614 C0 22 A7 74 */ lfs f1, lbl_805AC494@sda21(r2) /* 801A36B8 001A0618 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A36BC 001A061C C0 1F 09 4C */ lfs f0, 0x94c(r31) /* 801A36C0 001A0620 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A36C4 001A0624 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) /* 801A36C8 001A0628 48 00 01 74 */ b lbl_801A383C lbl_801A36CC: /* 801A36CC 001A062C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801A36D0 001A0630 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801A36D4 001A0634 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801A36D8 001A0638 38 80 00 06 */ li r4, 6 /* 801A36DC 001A063C 90 01 00 14 */ stw r0, 0x14(r1) /* 801A36E0 001A0640 38 C3 A9 CC */ addi r6, r3, lbl_803DA9CC@l /* 801A36E4 001A0644 38 A0 00 02 */ li r5, 2 /* 801A36E8 001A0648 38 00 00 00 */ li r0, 0 /* 801A36EC 001A064C 3B E7 00 04 */ addi r31, r7, 4 /* 801A36F0 001A0650 90 81 00 18 */ stw r4, 0x18(r1) /* 801A36F4 001A0654 7F E3 FB 78 */ mr r3, r31 /* 801A36F8 001A0658 38 80 00 06 */ li r4, 6 /* 801A36FC 001A065C 90 C1 00 14 */ stw r6, 0x14(r1) /* 801A3700 001A0660 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801A3704 001A0664 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801A3708 001A0668 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801A370C 001A066C D0 41 00 28 */ stfs f2, 0x28(r1) /* 801A3710 001A0670 98 01 00 2C */ stb r0, 0x2c(r1) /* 801A3714 001A0674 4B F8 DD 25 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A3718 001A0678 80 01 00 18 */ lwz r0, 0x18(r1) /* 801A371C 001A067C 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801A3720 001A0680 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 801A3724 001A0684 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A3728 001A0688 90 1F 01 2C */ stw r0, 0x12c(r31) /* 801A372C 001A068C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A3730 001A0690 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801A3734 001A0694 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801A3738 001A0698 90 7F 01 30 */ stw r3, 0x130(r31) /* 801A373C 001A069C 80 61 00 24 */ lwz r3, 0x24(r1) /* 801A3740 001A06A0 90 BF 01 34 */ stw r5, 0x134(r31) /* 801A3744 001A06A4 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801A3748 001A06A8 90 7F 01 38 */ stw r3, 0x138(r31) /* 801A374C 001A06AC 88 61 00 2C */ lbz r3, 0x2c(r1) /* 801A3750 001A06B0 90 BF 01 3C */ stw r5, 0x13c(r31) /* 801A3754 001A06B4 90 81 00 14 */ stw r4, 0x14(r1) /* 801A3758 001A06B8 98 7F 01 40 */ stb r3, 0x140(r31) /* 801A375C 001A06BC 90 01 00 14 */ stw r0, 0x14(r1) /* 801A3760 001A06C0 48 00 00 DC */ b lbl_801A383C lbl_801A3764: /* 801A3764 001A06C4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A3768 001A06C8 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801A376C 001A06CC 2C 00 00 12 */ cmpwi r0, 0x12 /* 801A3770 001A06D0 41 82 00 CC */ beq lbl_801A383C /* 801A3774 001A06D4 38 00 00 04 */ li r0, 4 /* 801A3778 001A06D8 90 1F 05 68 */ stw r0, 0x568(r31) /* 801A377C 001A06DC 48 00 00 C0 */ b lbl_801A383C lbl_801A3780: /* 801A3780 001A06E0 C0 1F 09 4C */ lfs f0, 0x94c(r31) /* 801A3784 001A06E4 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) /* 801A3788 001A06E8 4B FF E0 0D */ bl sub_801a1794 /* 801A378C 001A06EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3790 001A06F0 40 82 00 1C */ bne lbl_801A37AC /* 801A3794 001A06F4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801A3798 001A06F8 48 16 ED 45 */ bl Float__9CRandom16Fv /* 801A379C 001A06FC C0 5F 03 08 */ lfs f2, 0x308(r31) /* 801A37A0 001A0700 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801A37A4 001A0704 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801A37A8 001A0708 D0 1F 09 54 */ stfs f0, 0x954(r31) lbl_801A37AC: /* 801A37AC 001A070C A0 1F 0A 80 */ lhz r0, 0xa80(r31) /* 801A37B0 001A0710 7F C3 F3 78 */ mr r3, r30 /* 801A37B4 001A0714 38 81 00 08 */ addi r4, r1, 8 /* 801A37B8 001A0718 B0 01 00 08 */ sth r0, 8(r1) /* 801A37BC 001A071C 4B EA 8D B9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A37C0 001A0720 28 03 00 00 */ cmplwi r3, 0 /* 801A37C4 001A0724 41 82 00 10 */ beq lbl_801A37D4 /* 801A37C8 001A0728 7F C4 F3 78 */ mr r4, r30 /* 801A37CC 001A072C 38 A0 00 00 */ li r5, 0 /* 801A37D0 001A0730 4B FF 49 F1 */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_801A37D4: /* 801A37D4 001A0734 7F E3 FB 78 */ mr r3, r31 /* 801A37D8 001A0738 7F C4 F3 78 */ mr r4, r30 /* 801A37DC 001A073C 38 A0 00 00 */ li r5, 0 /* 801A37E0 001A0740 4B FF B1 ED */ bl sub_8019e9cc /* 801A37E4 001A0744 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801A37E8 001A0748 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801A37EC 001A074C 2C 00 00 12 */ cmpwi r0, 0x12 /* 801A37F0 001A0750 40 82 00 30 */ bne lbl_801A3820 /* 801A37F4 001A0754 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A37F8 001A0758 38 00 00 0C */ li r0, 0xc /* 801A37FC 001A075C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801A3800 001A0760 90 01 00 10 */ stw r0, 0x10(r1) /* 801A3804 001A0764 38 64 00 04 */ addi r3, r4, 4 /* 801A3808 001A0768 38 81 00 0C */ addi r4, r1, 0xc /* 801A380C 001A076C 90 A1 00 0C */ stw r5, 0xc(r1) /* 801A3810 001A0770 4B F8 DF A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801A3814 001A0774 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A3818 001A0778 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A381C 001A077C 90 01 00 0C */ stw r0, 0xc(r1) lbl_801A3820: /* 801A3820 001A0780 88 1F 0B 29 */ lbz r0, 0xb29(r31) /* 801A3824 001A0784 38 60 00 00 */ li r3, 0 /* 801A3828 001A0788 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801A382C 001A078C 98 1F 0B 29 */ stb r0, 0xb29(r31) /* 801A3830 001A0790 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A3834 001A0794 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801A3838 001A0798 98 1F 0B 28 */ stb r0, 0xb28(r31) lbl_801A383C: /* 801A383C 001A079C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801A3840 001A07A0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801A3844 001A07A4 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801A3848 001A07A8 7C 08 03 A6 */ mtlr r0 /* 801A384C 001A07AC 38 21 00 40 */ addi r1, r1, 0x40 /* 801A3850 001A07B0 4E 80 00 20 */ blr .global Patrol__12CIceSheegothR13CStateManager9EStateMsgf Patrol__12CIceSheegothR13CStateManager9EStateMsgf: /* 801A3854 001A07B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A3858 001A07B8 7C 08 02 A6 */ mflr r0 /* 801A385C 001A07BC 90 01 00 14 */ stw r0, 0x14(r1) /* 801A3860 001A07C0 48 05 36 15 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 801A3864 001A07C4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A3868 001A07C8 7C 08 03 A6 */ mtlr r0 /* 801A386C 001A07CC 38 21 00 10 */ addi r1, r1, 0x10 /* 801A3870 001A07D0 4E 80 00 20 */ blr .global sub_801a3874 sub_801a3874: /* 801A3874 001A07D4 80 03 05 68 */ lwz r0, 0x568(r3) /* 801A3878 001A07D8 20 00 00 04 */ subfic r0, r0, 4 /* 801A387C 001A07DC 7C 00 00 34 */ cntlzw r0, r0 /* 801A3880 001A07E0 54 03 D9 7E */ srwi r3, r0, 5 /* 801A3884 001A07E4 4E 80 00 20 */ blr .global SpotPlayer__12CIceSheegothR13CStateManagerf SpotPlayer__12CIceSheegothR13CStateManagerf: /* 801A3888 001A07E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A388C 001A07EC 7C 08 02 A6 */ mflr r0 /* 801A3890 001A07F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801A3894 001A07F4 88 03 0B 28 */ lbz r0, 0xb28(r3) /* 801A3898 001A07F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A389C 001A07FC 41 82 00 08 */ beq lbl_801A38A4 /* 801A38A0 001A0800 48 00 00 0C */ b lbl_801A38AC lbl_801A38A4: /* 801A38A4 001A0804 48 05 29 59 */ bl SpotPlayer__10CPatternedFR13CStateManagerf /* 801A38A8 001A0808 7C 60 1B 78 */ mr r0, r3 lbl_801A38AC: /* 801A38AC 001A080C 7C 03 03 78 */ mr r3, r0 /* 801A38B0 001A0810 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A38B4 001A0814 7C 08 03 A6 */ mtlr r0 /* 801A38B8 001A0818 38 21 00 10 */ addi r1, r1, 0x10 /* 801A38BC 001A081C 4E 80 00 20 */ blr .global InDetectionRange__12CIceSheegothR13CStateManagerf InDetectionRange__12CIceSheegothR13CStateManagerf: /* 801A38C0 001A0820 88 03 0B 28 */ lbz r0, 0xb28(r3) /* 801A38C4 001A0824 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A38C8 001A0828 40 82 00 90 */ bne lbl_801A3958 /* 801A38CC 001A082C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801A38D0 001A0830 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A38D4 001A0834 C0 A4 00 40 */ lfs f5, 0x40(r4) /* 801A38D8 001A0838 C0 43 00 40 */ lfs f2, 0x40(r3) /* 801A38DC 001A083C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A38E0 001A0840 C0 84 00 50 */ lfs f4, 0x50(r4) /* 801A38E4 001A0844 C0 63 00 50 */ lfs f3, 0x50(r3) /* 801A38E8 001A0848 EC A5 10 28 */ fsubs f5, f5, f2 /* 801A38EC 001A084C C0 44 00 60 */ lfs f2, 0x60(r4) /* 801A38F0 001A0850 C0 03 00 60 */ lfs f0, 0x60(r3) /* 801A38F4 001A0854 EC 84 18 28 */ fsubs f4, f4, f3 /* 801A38F8 001A0858 EC 62 00 28 */ fsubs f3, f2, f0 /* 801A38FC 001A085C 40 81 00 08 */ ble lbl_801A3904 /* 801A3900 001A0860 48 00 00 08 */ b lbl_801A3908 lbl_801A3904: /* 801A3904 001A0864 C0 22 A7 60 */ lfs f1, lbl_805AC480@sda21(r2) lbl_801A3908: /* 801A3908 001A0868 EC 04 01 32 */ fmuls f0, f4, f4 /* 801A390C 001A086C C0 43 03 BC */ lfs f2, 0x3bc(r3) /* 801A3910 001A0870 EC 63 00 F2 */ fmuls f3, f3, f3 /* 801A3914 001A0874 EC 41 00 B2 */ fmuls f2, f1, f2 /* 801A3918 001A0878 EC 25 01 7A */ fmadds f1, f5, f5, f0 /* 801A391C 001A087C EC 02 00 B2 */ fmuls f0, f2, f2 /* 801A3920 001A0880 EC 23 08 2A */ fadds f1, f3, f1 /* 801A3924 001A0884 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3928 001A0888 40 80 00 30 */ bge lbl_801A3958 /* 801A392C 001A088C C0 23 03 C0 */ lfs f1, 0x3c0(r3) /* 801A3930 001A0890 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3934 001A0894 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3938 001A0898 40 81 00 18 */ ble lbl_801A3950 /* 801A393C 001A089C EC 01 00 72 */ fmuls f0, f1, f1 /* 801A3940 001A08A0 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801A3944 001A08A4 7C 00 00 26 */ mfcr r0 /* 801A3948 001A08A8 54 03 0F FE */ srwi r3, r0, 0x1f /* 801A394C 001A08AC 4E 80 00 20 */ blr lbl_801A3950: /* 801A3950 001A08B0 38 60 00 01 */ li r3, 1 /* 801A3954 001A08B4 4E 80 00 20 */ blr lbl_801A3958: /* 801A3958 001A08B8 7C 03 03 78 */ mr r3, r0 /* 801A395C 001A08BC 4E 80 00 20 */ blr .global InPosition__12CIceSheegothR13CStateManagerf InPosition__12CIceSheegothR13CStateManagerf: /* 801A3960 001A08C0 C0 23 09 30 */ lfs f1, 0x930(r3) /* 801A3964 001A08C4 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801A3968 001A08C8 C0 63 09 2C */ lfs f3, 0x92c(r3) /* 801A396C 001A08CC EC 21 00 28 */ fsubs f1, f1, f0 /* 801A3970 001A08D0 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A3974 001A08D4 C0 43 09 34 */ lfs f2, 0x934(r3) /* 801A3978 001A08D8 EC 63 00 28 */ fsubs f3, f3, f0 /* 801A397C 001A08DC C0 03 00 60 */ lfs f0, 0x60(r3) /* 801A3980 001A08E0 EC 21 00 72 */ fmuls f1, f1, f1 /* 801A3984 001A08E4 EC 42 00 28 */ fsubs f2, f2, f0 /* 801A3988 001A08E8 C0 02 A7 D0 */ lfs f0, lbl_805AC4F0@sda21(r2) /* 801A398C 001A08EC EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801A3990 001A08F0 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801A3994 001A08F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3998 001A08F8 7C 00 00 26 */ mfcr r0 /* 801A399C 001A08FC 54 03 0F FE */ srwi r3, r0, 0x1f /* 801A39A0 001A0900 4E 80 00 20 */ blr .global AggressionCheck__12CIceSheegothR13CStateManagerf AggressionCheck__12CIceSheegothR13CStateManagerf: /* 801A39A4 001A0904 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A39A8 001A0908 7C 08 02 A6 */ mflr r0 /* 801A39AC 001A090C 90 01 00 14 */ stw r0, 0x14(r1) /* 801A39B0 001A0910 88 03 04 00 */ lbz r0, 0x400(r3) /* 801A39B4 001A0914 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A39B8 001A0918 41 82 00 24 */ beq lbl_801A39DC /* 801A39BC 001A091C 88 03 0B 28 */ lbz r0, 0xb28(r3) /* 801A39C0 001A0920 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801A39C4 001A0924 40 82 00 18 */ bne lbl_801A39DC /* 801A39C8 001A0928 4B FF DD CD */ bl sub_801a1794 /* 801A39CC 001A092C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A39D0 001A0930 41 82 00 0C */ beq lbl_801A39DC /* 801A39D4 001A0934 38 60 00 01 */ li r3, 1 /* 801A39D8 001A0938 48 00 00 08 */ b lbl_801A39E0 lbl_801A39DC: /* 801A39DC 001A093C 38 60 00 00 */ li r3, 0 lbl_801A39E0: /* 801A39E0 001A0940 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A39E4 001A0944 7C 08 03 A6 */ mtlr r0 /* 801A39E8 001A0948 38 21 00 10 */ addi r1, r1, 0x10 /* 801A39EC 001A094C 4E 80 00 20 */ blr .global ShouldFlinch__12CIceSheegothR13CStateManagerf ShouldFlinch__12CIceSheegothR13CStateManagerf: /* 801A39F0 001A0950 88 03 0B 29 */ lbz r0, 0xb29(r3) /* 801A39F4 001A0954 38 80 00 00 */ li r4, 0 /* 801A39F8 001A0958 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A39FC 001A095C 41 82 00 18 */ beq lbl_801A3A14 /* 801A3A00 001A0960 C0 23 09 7C */ lfs f1, 0x97c(r3) /* 801A3A04 001A0964 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3A08 001A0968 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3A0C 001A096C 40 81 00 08 */ ble lbl_801A3A14 /* 801A3A10 001A0970 38 80 00 01 */ li r4, 1 lbl_801A3A14: /* 801A3A14 001A0974 7C 83 23 78 */ mr r3, r4 /* 801A3A18 001A0978 4E 80 00 20 */ blr .global ShouldTurn__12CIceSheegothR13CStateManagerf ShouldTurn__12CIceSheegothR13CStateManagerf: /* 801A3A1C 001A097C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801A3A20 001A0980 7C 08 02 A6 */ mflr r0 /* 801A3A24 001A0984 90 01 00 74 */ stw r0, 0x74(r1) /* 801A3A28 001A0988 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801A3A2C 001A098C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801A3A30 001A0990 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801A3A34 001A0994 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3A38 001A0998 7C 7F 1B 78 */ mr r31, r3 /* 801A3A3C 001A099C 7C 85 23 78 */ mr r5, r4 /* 801A3A40 001A09A0 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801A3A44 001A09A4 40 82 00 0C */ bne lbl_801A3A50 /* 801A3A48 001A09A8 C3 E2 A7 D4 */ lfs f31, lbl_805AC4F4@sda21(r2) /* 801A3A4C 001A09AC 48 00 00 08 */ b lbl_801A3A54 lbl_801A3A50: /* 801A3A50 001A09B0 FF E0 08 90 */ fmr f31, f1 lbl_801A3A54: /* 801A3A54 001A09B4 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801A3A58 001A09B8 38 61 00 40 */ addi r3, r1, 0x40 /* 801A3A5C 001A09BC C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A3A60 001A09C0 81 84 00 00 */ lwz r12, 0(r4) /* 801A3A64 001A09C4 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A3A68 001A09C8 7D 89 03 A6 */ mtctr r12 /* 801A3A6C 001A09CC 4E 80 04 21 */ bctrl /* 801A3A70 001A09D0 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801A3A74 001A09D4 38 61 00 10 */ addi r3, r1, 0x10 /* 801A3A78 001A09D8 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801A3A7C 001A09DC C0 21 00 40 */ lfs f1, 0x40(r1) /* 801A3A80 001A09E0 EC 42 00 28 */ fsubs f2, f2, f0 /* 801A3A84 001A09E4 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A3A88 001A09E8 C0 61 00 48 */ lfs f3, 0x48(r1) /* 801A3A8C 001A09EC EC 21 00 28 */ fsubs f1, f1, f0 /* 801A3A90 001A09F0 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801A3A94 001A09F4 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801A3A98 001A09F8 EC 03 00 28 */ fsubs f0, f3, f0 /* 801A3A9C 001A09FC D0 21 00 34 */ stfs f1, 0x34(r1) /* 801A3AA0 001A0A00 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801A3AA4 001A0A04 48 17 07 5D */ bl __ct__9CVector2fFff /* 801A3AA8 001A0A08 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801A3AAC 001A0A0C 38 61 00 08 */ addi r3, r1, 8 /* 801A3AB0 001A0A10 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801A3AB4 001A0A14 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801A3AB8 001A0A18 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801A3ABC 001A0A1C C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801A3AC0 001A0A20 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801A3AC4 001A0A24 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801A3AC8 001A0A28 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801A3ACC 001A0A2C D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801A3AD0 001A0A30 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801A3AD4 001A0A34 48 17 07 2D */ bl __ct__9CVector2fFff /* 801A3AD8 001A0A38 C0 21 00 08 */ lfs f1, 8(r1) /* 801A3ADC 001A0A3C 38 61 00 18 */ addi r3, r1, 0x18 /* 801A3AE0 001A0A40 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801A3AE4 001A0A44 38 81 00 20 */ addi r4, r1, 0x20 /* 801A3AE8 001A0A48 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A3AEC 001A0A4C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A3AF0 001A0A50 48 17 04 D5 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801A3AF4 001A0A54 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801A3AF8 001A0A58 7C 00 00 26 */ mfcr r0 /* 801A3AFC 001A0A5C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801A3B00 001A0A60 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801A3B04 001A0A64 80 01 00 74 */ lwz r0, 0x74(r1) /* 801A3B08 001A0A68 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801A3B0C 001A0A6C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801A3B10 001A0A70 7C 08 03 A6 */ mtlr r0 /* 801A3B14 001A0A74 38 21 00 70 */ addi r1, r1, 0x70 /* 801A3B18 001A0A78 4E 80 00 20 */ blr .global ShouldFire__12CIceSheegothR13CStateManagerf ShouldFire__12CIceSheegothR13CStateManagerf: /* 801A3B1C 001A0A7C 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801A3B20 001A0A80 7C 08 02 A6 */ mflr r0 /* 801A3B24 001A0A84 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801A3B28 001A0A88 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801A3B2C 001A0A8C 7C 9F 23 78 */ mr r31, r4 /* 801A3B30 001A0A90 93 C1 00 98 */ stw r30, 0x98(r1) /* 801A3B34 001A0A94 7C 7E 1B 78 */ mr r30, r3 /* 801A3B38 001A0A98 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 801A3B3C 001A0A9C 80 63 00 04 */ lwz r3, 4(r3) /* 801A3B40 001A0AA0 80 05 00 04 */ lwz r0, 4(r5) /* 801A3B44 001A0AA4 7C 03 00 00 */ cmpw r3, r0 /* 801A3B48 001A0AA8 40 82 01 14 */ bne lbl_801A3C5C /* 801A3B4C 001A0AAC C0 3E 09 54 */ lfs f1, 0x954(r30) /* 801A3B50 001A0AB0 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3B54 001A0AB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3B58 001A0AB8 4C 40 13 82 */ cror 2, 0, 2 /* 801A3B5C 001A0ABC 40 82 01 00 */ bne lbl_801A3C5C /* 801A3B60 001A0AC0 C0 45 00 60 */ lfs f2, 0x60(r5) /* 801A3B64 001A0AC4 7F C4 F3 78 */ mr r4, r30 /* 801A3B68 001A0AC8 C0 25 00 50 */ lfs f1, 0x50(r5) /* 801A3B6C 001A0ACC 38 61 00 2C */ addi r3, r1, 0x2c /* 801A3B70 001A0AD0 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801A3B74 001A0AD4 38 BE 0A F4 */ addi r5, r30, 0xaf4 /* 801A3B78 001A0AD8 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801A3B7C 001A0ADC D0 21 00 24 */ stfs f1, 0x24(r1) /* 801A3B80 001A0AE0 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801A3B84 001A0AE4 4B ED 4D 35 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801A3B88 001A0AE8 38 61 00 5C */ addi r3, r1, 0x5c /* 801A3B8C 001A0AEC 38 81 00 2C */ addi r4, r1, 0x2c /* 801A3B90 001A0AF0 48 16 EF E5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A3B94 001A0AF4 C0 21 00 78 */ lfs f1, 0x78(r1) /* 801A3B98 001A0AF8 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801A3B9C 001A0AFC C0 41 00 68 */ lfs f2, 0x68(r1) /* 801A3BA0 001A0B00 EC 60 08 28 */ fsubs f3, f0, f1 /* 801A3BA4 001A0B04 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801A3BA8 001A0B08 C0 A1 00 88 */ lfs f5, 0x88(r1) /* 801A3BAC 001A0B0C EC 80 10 28 */ fsubs f4, f0, f2 /* 801A3BB0 001A0B10 C0 C1 00 28 */ lfs f6, 0x28(r1) /* 801A3BB4 001A0B14 EC 03 00 F2 */ fmuls f0, f3, f3 /* 801A3BB8 001A0B18 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801A3BBC 001A0B1C EC 46 28 28 */ fsubs f2, f6, f5 /* 801A3BC0 001A0B20 EC 04 01 3A */ fmadds f0, f4, f4, f0 /* 801A3BC4 001A0B24 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A3BC8 001A0B28 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801A3BCC 001A0B2C EC 22 00 BA */ fmadds f1, f2, f2, f0 /* 801A3BD0 001A0B30 C0 9E 00 60 */ lfs f4, 0x60(r30) /* 801A3BD4 001A0B34 C0 1E 03 00 */ lfs f0, 0x300(r30) /* 801A3BD8 001A0B38 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801A3BDC 001A0B3C EC C6 20 28 */ fsubs f6, f6, f4 /* 801A3BE0 001A0B40 EC 00 00 32 */ fmuls f0, f0, f0 /* 801A3BE4 001A0B44 C0 5E 00 40 */ lfs f2, 0x40(r30) /* 801A3BE8 001A0B48 EC A5 20 28 */ fsubs f5, f5, f4 /* 801A3BEC 001A0B4C D0 61 00 0C */ stfs f3, 0xc(r1) /* 801A3BF0 001A0B50 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3BF4 001A0B54 D0 41 00 08 */ stfs f2, 8(r1) /* 801A3BF8 001A0B58 D0 81 00 10 */ stfs f4, 0x10(r1) /* 801A3BFC 001A0B5C 4C 40 13 82 */ cror 2, 0, 2 /* 801A3C00 001A0B60 40 82 00 5C */ bne lbl_801A3C5C /* 801A3C04 001A0B64 FC 00 32 10 */ fabs f0, f6 /* 801A3C08 001A0B68 FC 00 00 18 */ frsp f0, f0 /* 801A3C0C 001A0B6C FC 00 28 40 */ fcmpo cr0, f0, f5 /* 801A3C10 001A0B70 40 80 00 4C */ bge lbl_801A3C5C /* 801A3C14 001A0B74 7F C3 F3 78 */ mr r3, r30 /* 801A3C18 001A0B78 7F E4 FB 78 */ mr r4, r31 /* 801A3C1C 001A0B7C 81 9E 00 00 */ lwz r12, 0(r30) /* 801A3C20 001A0B80 C0 22 A7 C4 */ lfs f1, lbl_805AC4E4@sda21(r2) /* 801A3C24 001A0B84 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801A3C28 001A0B88 7D 89 03 A6 */ mtctr r12 /* 801A3C2C 001A0B8C 4E 80 04 21 */ bctrl /* 801A3C30 001A0B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3C34 001A0B94 40 82 00 28 */ bne lbl_801A3C5C /* 801A3C38 001A0B98 7F C3 F3 78 */ mr r3, r30 /* 801A3C3C 001A0B9C 7F E4 FB 78 */ mr r4, r31 /* 801A3C40 001A0BA0 38 A1 00 14 */ addi r5, r1, 0x14 /* 801A3C44 001A0BA4 38 C1 00 20 */ addi r6, r1, 0x20 /* 801A3C48 001A0BA8 48 05 11 89 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801A3C4C 001A0BAC 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801A3C50 001A0BB0 7C 00 00 34 */ cntlzw r0, r0 /* 801A3C54 001A0BB4 54 03 D9 7E */ srwi r3, r0, 5 /* 801A3C58 001A0BB8 48 00 00 08 */ b lbl_801A3C60 lbl_801A3C5C: /* 801A3C5C 001A0BBC 38 60 00 00 */ li r3, 0 lbl_801A3C60: /* 801A3C60 001A0BC0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801A3C64 001A0BC4 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801A3C68 001A0BC8 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801A3C6C 001A0BCC 7C 08 03 A6 */ mtlr r0 /* 801A3C70 001A0BD0 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801A3C74 001A0BD4 4E 80 00 20 */ blr .global ShouldDoubleSnap__12CIceSheegothR13CStateManagerf ShouldDoubleSnap__12CIceSheegothR13CStateManagerf: /* 801A3C78 001A0BD8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801A3C7C 001A0BDC 7C 08 02 A6 */ mflr r0 /* 801A3C80 001A0BE0 90 01 00 44 */ stw r0, 0x44(r1) /* 801A3C84 001A0BE4 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801A3C88 001A0BE8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801A3C8C 001A0BEC DB C1 00 20 */ stfd f30, 0x20(r1) /* 801A3C90 001A0BF0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 801A3C94 001A0BF4 DB A1 00 10 */ stfd f29, 0x10(r1) /* 801A3C98 001A0BF8 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 /* 801A3C9C 001A0BFC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A3CA0 001A0C00 93 C1 00 08 */ stw r30, 8(r1) /* 801A3CA4 001A0C04 7C 9F 23 78 */ mr r31, r4 /* 801A3CA8 001A0C08 7C 7E 1B 78 */ mr r30, r3 /* 801A3CAC 001A0C0C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801A3CB0 001A0C10 80 A3 00 04 */ lwz r5, 4(r3) /* 801A3CB4 001A0C14 80 04 00 04 */ lwz r0, 4(r4) /* 801A3CB8 001A0C18 7C 05 00 00 */ cmpw r5, r0 /* 801A3CBC 001A0C1C 40 82 00 A4 */ bne lbl_801A3D60 /* 801A3CC0 001A0C20 C0 3E 09 58 */ lfs f1, 0x958(r30) /* 801A3CC4 001A0C24 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3CC8 001A0C28 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3CCC 001A0C2C 4C 40 13 82 */ cror 2, 0, 2 /* 801A3CD0 001A0C30 40 82 00 90 */ bne lbl_801A3D60 /* 801A3CD4 001A0C34 38 80 00 01 */ li r4, 1 /* 801A3CD8 001A0C38 4B FF B1 41 */ bl sub_8019ee18 /* 801A3CDC 001A0C3C 7F C3 F3 78 */ mr r3, r30 /* 801A3CE0 001A0C40 C0 3E 09 2C */ lfs f1, 0x92c(r30) /* 801A3CE4 001A0C44 81 9E 00 00 */ lwz r12, 0(r30) /* 801A3CE8 001A0C48 7F E4 FB 78 */ mr r4, r31 /* 801A3CEC 001A0C4C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801A3CF0 001A0C50 3B E0 00 00 */ li r31, 0 /* 801A3CF4 001A0C54 C0 7E 09 30 */ lfs f3, 0x930(r30) /* 801A3CF8 001A0C58 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801A3CFC 001A0C5C EF A1 00 28 */ fsubs f29, f1, f0 /* 801A3D00 001A0C60 C0 3E 09 34 */ lfs f1, 0x934(r30) /* 801A3D04 001A0C64 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801A3D08 001A0C68 EF C3 10 28 */ fsubs f30, f3, f2 /* 801A3D0C 001A0C6C 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801A3D10 001A0C70 EF E1 00 28 */ fsubs f31, f1, f0 /* 801A3D14 001A0C74 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A3D18 001A0C78 7D 89 03 A6 */ mtctr r12 /* 801A3D1C 001A0C7C 4E 80 04 21 */ bctrl /* 801A3D20 001A0C80 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3D24 001A0C84 40 82 00 30 */ bne lbl_801A3D54 /* 801A3D28 001A0C88 80 7E 08 48 */ lwz r3, 0x848(r30) /* 801A3D2C 001A0C8C 80 9E 09 0C */ lwz r4, 0x90c(r30) /* 801A3D30 001A0C90 38 03 FF FF */ addi r0, r3, -1 /* 801A3D34 001A0C94 7C 04 00 00 */ cmpw r4, r0 /* 801A3D38 001A0C98 40 80 00 1C */ bge lbl_801A3D54 /* 801A3D3C 001A0C9C EC 3E 07 B2 */ fmuls f1, f30, f30 /* 801A3D40 001A0CA0 C0 02 A7 D0 */ lfs f0, lbl_805AC4F0@sda21(r2) /* 801A3D44 001A0CA4 EC 3D 0F 7A */ fmadds f1, f29, f29, f1 /* 801A3D48 001A0CA8 EC 3F 0F FA */ fmadds f1, f31, f31, f1 /* 801A3D4C 001A0CAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3D50 001A0CB0 40 80 00 08 */ bge lbl_801A3D58 lbl_801A3D54: /* 801A3D54 001A0CB4 3B E0 00 01 */ li r31, 1 lbl_801A3D58: /* 801A3D58 001A0CB8 7F E3 FB 78 */ mr r3, r31 /* 801A3D5C 001A0CBC 48 00 00 08 */ b lbl_801A3D64 lbl_801A3D60: /* 801A3D60 001A0CC0 38 60 00 00 */ li r3, 0 lbl_801A3D64: /* 801A3D64 001A0CC4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801A3D68 001A0CC8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801A3D6C 001A0CCC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 801A3D70 001A0CD0 CB C1 00 20 */ lfd f30, 0x20(r1) /* 801A3D74 001A0CD4 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 /* 801A3D78 001A0CD8 CB A1 00 10 */ lfd f29, 0x10(r1) /* 801A3D7C 001A0CDC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A3D80 001A0CE0 80 01 00 44 */ lwz r0, 0x44(r1) /* 801A3D84 001A0CE4 83 C1 00 08 */ lwz r30, 8(r1) /* 801A3D88 001A0CE8 7C 08 03 A6 */ mtlr r0 /* 801A3D8C 001A0CEC 38 21 00 40 */ addi r1, r1, 0x40 /* 801A3D90 001A0CF0 4E 80 00 20 */ blr .global ShouldSpecialAttack__12CIceSheegothR13CStateManagerf ShouldSpecialAttack__12CIceSheegothR13CStateManagerf: /* 801A3D94 001A0CF4 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801A3D98 001A0CF8 7C 08 02 A6 */ mflr r0 /* 801A3D9C 001A0CFC 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801A3DA0 001A0D00 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801A3DA4 001A0D04 7C 9F 23 78 */ mr r31, r4 /* 801A3DA8 001A0D08 93 C1 00 98 */ stw r30, 0x98(r1) /* 801A3DAC 001A0D0C 7C 7E 1B 78 */ mr r30, r3 /* 801A3DB0 001A0D10 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801A3DB4 001A0D14 80 A3 00 04 */ lwz r5, 4(r3) /* 801A3DB8 001A0D18 80 04 00 04 */ lwz r0, 4(r4) /* 801A3DBC 001A0D1C 7C 05 00 00 */ cmpw r5, r0 /* 801A3DC0 001A0D20 40 82 01 2C */ bne lbl_801A3EEC /* 801A3DC4 001A0D24 C0 3E 09 54 */ lfs f1, 0x954(r30) /* 801A3DC8 001A0D28 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A3DCC 001A0D2C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3DD0 001A0D30 4C 40 13 82 */ cror 2, 0, 2 /* 801A3DD4 001A0D34 40 82 01 18 */ bne lbl_801A3EEC /* 801A3DD8 001A0D38 C0 22 A7 68 */ lfs f1, lbl_805AC488@sda21(r2) /* 801A3DDC 001A0D3C C0 1E 06 DC */ lfs f0, 0x6dc(r30) /* 801A3DE0 001A0D40 C0 5E 09 74 */ lfs f2, 0x974(r30) /* 801A3DE4 001A0D44 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A3DE8 001A0D48 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801A3DEC 001A0D4C 4C 41 13 82 */ cror 2, 1, 2 /* 801A3DF0 001A0D50 40 82 00 FC */ bne lbl_801A3EEC /* 801A3DF4 001A0D54 4B FF AE C9 */ bl sub_8019ecbc /* 801A3DF8 001A0D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3DFC 001A0D5C 41 82 00 F0 */ beq lbl_801A3EEC /* 801A3E00 001A0D60 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801A3E04 001A0D64 7F E5 FB 78 */ mr r5, r31 /* 801A3E08 001A0D68 38 61 00 08 */ addi r3, r1, 8 /* 801A3E0C 001A0D6C C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A3E10 001A0D70 81 84 00 00 */ lwz r12, 0(r4) /* 801A3E14 001A0D74 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A3E18 001A0D78 7D 89 03 A6 */ mtctr r12 /* 801A3E1C 001A0D7C 4E 80 04 21 */ bctrl /* 801A3E20 001A0D80 C0 41 00 08 */ lfs f2, 8(r1) /* 801A3E24 001A0D84 7F C4 F3 78 */ mr r4, r30 /* 801A3E28 001A0D88 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801A3E2C 001A0D8C 38 61 00 2C */ addi r3, r1, 0x2c /* 801A3E30 001A0D90 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801A3E34 001A0D94 38 BE 0A F4 */ addi r5, r30, 0xaf4 /* 801A3E38 001A0D98 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801A3E3C 001A0D9C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801A3E40 001A0DA0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801A3E44 001A0DA4 4B ED 4A 75 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801A3E48 001A0DA8 38 61 00 5C */ addi r3, r1, 0x5c /* 801A3E4C 001A0DAC 38 81 00 2C */ addi r4, r1, 0x2c /* 801A3E50 001A0DB0 48 16 ED 25 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A3E54 001A0DB4 C0 41 00 78 */ lfs f2, 0x78(r1) /* 801A3E58 001A0DB8 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801A3E5C 001A0DBC C0 61 00 68 */ lfs f3, 0x68(r1) /* 801A3E60 001A0DC0 EC 80 10 28 */ fsubs f4, f0, f2 /* 801A3E64 001A0DC4 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801A3E68 001A0DC8 C0 C1 00 88 */ lfs f6, 0x88(r1) /* 801A3E6C 001A0DCC EC A0 18 28 */ fsubs f5, f0, f3 /* 801A3E70 001A0DD0 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801A3E74 001A0DD4 EC 04 01 32 */ fmuls f0, f4, f4 /* 801A3E78 001A0DD8 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801A3E7C 001A0DDC EC 21 30 28 */ fsubs f1, f1, f6 /* 801A3E80 001A0DE0 EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 801A3E84 001A0DE4 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801A3E88 001A0DE8 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 801A3E8C 001A0DEC EC 21 00 7A */ fmadds f1, f1, f1, f0 /* 801A3E90 001A0DF0 C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 801A3E94 001A0DF4 EC 00 00 32 */ fmuls f0, f0, f0 /* 801A3E98 001A0DF8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A3E9C 001A0DFC 4C 41 13 82 */ cror 2, 1, 2 /* 801A3EA0 001A0E00 40 82 00 4C */ bne lbl_801A3EEC /* 801A3EA4 001A0E04 7F C3 F3 78 */ mr r3, r30 /* 801A3EA8 001A0E08 7F E4 FB 78 */ mr r4, r31 /* 801A3EAC 001A0E0C 81 9E 00 00 */ lwz r12, 0(r30) /* 801A3EB0 001A0E10 C0 22 A7 C4 */ lfs f1, lbl_805AC4E4@sda21(r2) /* 801A3EB4 001A0E14 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801A3EB8 001A0E18 7D 89 03 A6 */ mtctr r12 /* 801A3EBC 001A0E1C 4E 80 04 21 */ bctrl /* 801A3EC0 001A0E20 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3EC4 001A0E24 40 82 00 28 */ bne lbl_801A3EEC /* 801A3EC8 001A0E28 7F C3 F3 78 */ mr r3, r30 /* 801A3ECC 001A0E2C 7F E4 FB 78 */ mr r4, r31 /* 801A3ED0 001A0E30 38 A1 00 14 */ addi r5, r1, 0x14 /* 801A3ED4 001A0E34 38 C1 00 20 */ addi r6, r1, 0x20 /* 801A3ED8 001A0E38 48 05 0E F9 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801A3EDC 001A0E3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3EE0 001A0E40 40 82 00 0C */ bne lbl_801A3EEC /* 801A3EE4 001A0E44 38 60 00 01 */ li r3, 1 /* 801A3EE8 001A0E48 48 00 00 08 */ b lbl_801A3EF0 lbl_801A3EEC: /* 801A3EEC 001A0E4C 38 60 00 00 */ li r3, 0 lbl_801A3EF0: /* 801A3EF0 001A0E50 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801A3EF4 001A0E54 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801A3EF8 001A0E58 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801A3EFC 001A0E5C 7C 08 03 A6 */ mtlr r0 /* 801A3F00 001A0E60 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801A3F04 001A0E64 4E 80 00 20 */ blr .global ShouldAttack__12CIceSheegothR13CStateManagerf ShouldAttack__12CIceSheegothR13CStateManagerf: /* 801A3F08 001A0E68 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801A3F0C 001A0E6C 7C 08 02 A6 */ mflr r0 /* 801A3F10 001A0E70 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801A3F14 001A0E74 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 801A3F18 001A0E78 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801A3F1C 001A0E7C DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801A3F20 001A0E80 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801A3F24 001A0E84 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801A3F28 001A0E88 93 C1 00 98 */ stw r30, 0x98(r1) /* 801A3F2C 001A0E8C 93 A1 00 94 */ stw r29, 0x94(r1) /* 801A3F30 001A0E90 7C 9E 23 78 */ mr r30, r4 /* 801A3F34 001A0E94 7C 7D 1B 78 */ mr r29, r3 /* 801A3F38 001A0E98 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 801A3F3C 001A0E9C 80 63 00 04 */ lwz r3, 4(r3) /* 801A3F40 001A0EA0 80 1F 00 04 */ lwz r0, 4(r31) /* 801A3F44 001A0EA4 7C 03 00 00 */ cmpw r3, r0 /* 801A3F48 001A0EA8 40 82 01 50 */ bne lbl_801A4098 /* 801A3F4C 001A0EAC 88 1D 07 5C */ lbz r0, 0x75c(r29) /* 801A3F50 001A0EB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A3F54 001A0EB4 40 82 01 44 */ bne lbl_801A4098 /* 801A3F58 001A0EB8 7F E3 FB 78 */ mr r3, r31 /* 801A3F5C 001A0EBC 4B E7 1D A1 */ bl GetFrozenState__7CPlayerCFv /* 801A3F60 001A0EC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A3F64 001A0EC4 40 82 01 34 */ bne lbl_801A4098 /* 801A3F68 001A0EC8 7F E4 FB 78 */ mr r4, r31 /* 801A3F6C 001A0ECC 7F C5 F3 78 */ mr r5, r30 /* 801A3F70 001A0ED0 81 9F 00 00 */ lwz r12, 0(r31) /* 801A3F74 001A0ED4 38 61 00 08 */ addi r3, r1, 8 /* 801A3F78 001A0ED8 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A3F7C 001A0EDC 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A3F80 001A0EE0 7D 89 03 A6 */ mtctr r12 /* 801A3F84 001A0EE4 4E 80 04 21 */ bctrl /* 801A3F88 001A0EE8 C0 A1 00 08 */ lfs f5, 8(r1) /* 801A3F8C 001A0EEC C0 41 00 0C */ lfs f2, 0xc(r1) /* 801A3F90 001A0EF0 C0 81 00 10 */ lfs f4, 0x10(r1) /* 801A3F94 001A0EF4 D0 A1 00 20 */ stfs f5, 0x20(r1) /* 801A3F98 001A0EF8 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A3F9C 001A0EFC D0 41 00 24 */ stfs f2, 0x24(r1) /* 801A3FA0 001A0F00 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801A3FA4 001A0F04 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 801A3FA8 001A0F08 C0 7D 00 40 */ lfs f3, 0x40(r29) /* 801A3FAC 001A0F0C EC C2 00 28 */ fsubs f6, f2, f0 /* 801A3FB0 001A0F10 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801A3FB4 001A0F14 C0 1D 09 54 */ lfs f0, 0x954(r29) /* 801A3FB8 001A0F18 EC A5 18 28 */ fsubs f5, f5, f3 /* 801A3FBC 001A0F1C EC 64 10 28 */ fsubs f3, f4, f2 /* 801A3FC0 001A0F20 EC 46 01 B2 */ fmuls f2, f6, f6 /* 801A3FC4 001A0F24 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801A3FC8 001A0F28 EC 05 11 7A */ fmadds f0, f5, f5, f2 /* 801A3FCC 001A0F2C EF E3 00 FA */ fmadds f31, f3, f3, f0 /* 801A3FD0 001A0F30 4C 40 13 82 */ cror 2, 0, 2 /* 801A3FD4 001A0F34 40 82 00 14 */ bne lbl_801A3FE8 /* 801A3FD8 001A0F38 C0 1D 09 60 */ lfs f0, 0x960(r29) /* 801A3FDC 001A0F3C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801A3FE0 001A0F40 4C 40 13 82 */ cror 2, 0, 2 /* 801A3FE4 001A0F44 41 82 00 18 */ beq lbl_801A3FFC lbl_801A3FE8: /* 801A3FE8 001A0F48 C0 1D 02 FC */ lfs f0, 0x2fc(r29) /* 801A3FEC 001A0F4C EC 00 00 32 */ fmuls f0, f0, f0 /* 801A3FF0 001A0F50 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801A3FF4 001A0F54 4C 40 13 82 */ cror 2, 0, 2 /* 801A3FF8 001A0F58 40 82 00 A0 */ bne lbl_801A4098 lbl_801A3FFC: /* 801A3FFC 001A0F5C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801A4000 001A0F60 C3 DD 07 44 */ lfs f30, 0x744(r29) /* 801A4004 001A0F64 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801A4008 001A0F68 4B F8 FE A5 */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 801A400C 001A0F6C EC 01 07 B2 */ fmuls f0, f1, f30 /* 801A4010 001A0F70 EC 00 00 32 */ fmuls f0, f0, f0 /* 801A4014 001A0F74 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801A4018 001A0F78 40 81 00 80 */ ble lbl_801A4098 /* 801A401C 001A0F7C 7F A3 EB 78 */ mr r3, r29 /* 801A4020 001A0F80 7F C4 F3 78 */ mr r4, r30 /* 801A4024 001A0F84 81 9D 00 00 */ lwz r12, 0(r29) /* 801A4028 001A0F88 C0 22 A7 C4 */ lfs f1, lbl_805AC4E4@sda21(r2) /* 801A402C 001A0F8C 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801A4030 001A0F90 7D 89 03 A6 */ mtctr r12 /* 801A4034 001A0F94 4E 80 04 21 */ bctrl /* 801A4038 001A0F98 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A403C 001A0F9C 40 82 00 5C */ bne lbl_801A4098 /* 801A4040 001A0FA0 7F A4 EB 78 */ mr r4, r29 /* 801A4044 001A0FA4 38 61 00 2C */ addi r3, r1, 0x2c /* 801A4048 001A0FA8 38 BD 0A F4 */ addi r5, r29, 0xaf4 /* 801A404C 001A0FAC 4B ED 48 6D */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801A4050 001A0FB0 38 61 00 5C */ addi r3, r1, 0x5c /* 801A4054 001A0FB4 38 81 00 2C */ addi r4, r1, 0x2c /* 801A4058 001A0FB8 48 16 EB 1D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A405C 001A0FBC C0 41 00 68 */ lfs f2, 0x68(r1) /* 801A4060 001A0FC0 7F A3 EB 78 */ mr r3, r29 /* 801A4064 001A0FC4 C0 21 00 78 */ lfs f1, 0x78(r1) /* 801A4068 001A0FC8 7F C4 F3 78 */ mr r4, r30 /* 801A406C 001A0FCC C0 01 00 88 */ lfs f0, 0x88(r1) /* 801A4070 001A0FD0 38 A1 00 14 */ addi r5, r1, 0x14 /* 801A4074 001A0FD4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801A4078 001A0FD8 38 C1 00 20 */ addi r6, r1, 0x20 /* 801A407C 001A0FDC D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A4080 001A0FE0 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A4084 001A0FE4 48 05 0D 4D */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801A4088 001A0FE8 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801A408C 001A0FEC 7C 00 00 34 */ cntlzw r0, r0 /* 801A4090 001A0FF0 54 03 D9 7E */ srwi r3, r0, 5 /* 801A4094 001A0FF4 48 00 00 08 */ b lbl_801A409C lbl_801A4098: /* 801A4098 001A0FF8 38 60 00 00 */ li r3, 0 lbl_801A409C: /* 801A409C 001A0FFC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 801A40A0 001A1000 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 801A40A4 001A1004 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 801A40A8 001A1008 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 801A40AC 001A100C 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801A40B0 001A1010 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801A40B4 001A1014 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801A40B8 001A1018 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801A40BC 001A101C 7C 08 03 A6 */ mtlr r0 /* 801A40C0 001A1020 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801A40C4 001A1024 4E 80 00 20 */ blr .global Leash__12CIceSheegothR13CStateManagerf Leash__12CIceSheegothR13CStateManagerf: /* 801A40C8 001A1028 C0 C3 00 50 */ lfs f6, 0x50(r3) /* 801A40CC 001A102C C0 03 03 A4 */ lfs f0, 0x3a4(r3) /* 801A40D0 001A1030 C0 43 03 C8 */ lfs f2, 0x3c8(r3) /* 801A40D4 001A1034 EC 60 30 28 */ fsubs f3, f0, f6 /* 801A40D8 001A1038 C0 E3 00 40 */ lfs f7, 0x40(r3) /* 801A40DC 001A103C C0 23 03 A0 */ lfs f1, 0x3a0(r3) /* 801A40E0 001A1040 EC 02 00 B2 */ fmuls f0, f2, f2 /* 801A40E4 001A1044 C0 A3 00 60 */ lfs f5, 0x60(r3) /* 801A40E8 001A1048 C0 43 03 A8 */ lfs f2, 0x3a8(r3) /* 801A40EC 001A104C EC 81 38 28 */ fsubs f4, f1, f7 /* 801A40F0 001A1050 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801A40F4 001A1054 EC 42 28 28 */ fsubs f2, f2, f5 /* 801A40F8 001A1058 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801A40FC 001A105C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801A4100 001A1060 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A4104 001A1064 40 81 00 5C */ ble lbl_801A4160 /* 801A4108 001A1068 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801A410C 001A106C 38 00 00 00 */ li r0, 0 /* 801A4110 001A1070 C0 03 03 CC */ lfs f0, 0x3cc(r3) /* 801A4114 001A1074 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801A4118 001A1078 C0 44 00 40 */ lfs f2, 0x40(r4) /* 801A411C 001A107C EC 00 00 32 */ fmuls f0, f0, f0 /* 801A4120 001A1080 EC 61 30 28 */ fsubs f3, f1, f6 /* 801A4124 001A1084 C0 24 00 60 */ lfs f1, 0x60(r4) /* 801A4128 001A1088 EC 82 38 28 */ fsubs f4, f2, f7 /* 801A412C 001A108C EC 41 28 28 */ fsubs f2, f1, f5 /* 801A4130 001A1090 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801A4134 001A1094 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801A4138 001A1098 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801A413C 001A109C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A4140 001A10A0 40 81 00 18 */ ble lbl_801A4158 /* 801A4144 001A10A4 C0 23 03 D4 */ lfs f1, 0x3d4(r3) /* 801A4148 001A10A8 C0 03 03 D0 */ lfs f0, 0x3d0(r3) /* 801A414C 001A10AC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A4150 001A10B0 40 81 00 08 */ ble lbl_801A4158 /* 801A4154 001A10B4 38 00 00 01 */ li r0, 1 lbl_801A4158: /* 801A4158 001A10B8 7C 03 03 78 */ mr r3, r0 /* 801A415C 001A10BC 4E 80 00 20 */ blr lbl_801A4160: /* 801A4160 001A10C0 38 60 00 00 */ li r3, 0 /* 801A4164 001A10C4 4E 80 00 20 */ blr .global LostInterest__12CIceSheegothR13CStateManagerf LostInterest__12CIceSheegothR13CStateManagerf: /* 801A4168 001A10C8 C0 23 09 68 */ lfs f1, 0x968(r3) /* 801A416C 001A10CC C0 03 07 4C */ lfs f0, 0x74c(r3) /* 801A4170 001A10D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A4174 001A10D4 4C 41 13 82 */ cror 2, 1, 2 /* 801A4178 001A10D8 7C 00 00 26 */ mfcr r0 /* 801A417C 001A10DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 801A4180 001A10E0 4E 80 00 20 */ blr .global OffLine__12CIceSheegothR13CStateManagerf OffLine__12CIceSheegothR13CStateManagerf: /* 801A4184 001A10E4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A4188 001A10E8 7C 08 02 A6 */ mflr r0 /* 801A418C 001A10EC 90 01 00 14 */ stw r0, 0x14(r1) /* 801A4190 001A10F0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A4194 001A10F4 7C 9F 23 78 */ mr r31, r4 /* 801A4198 001A10F8 38 80 00 00 */ li r4, 0 /* 801A419C 001A10FC 93 C1 00 08 */ stw r30, 8(r1) /* 801A41A0 001A1100 7C 7E 1B 78 */ mr r30, r3 /* 801A41A4 001A1104 4B FF AC 75 */ bl sub_8019ee18 /* 801A41A8 001A1108 7F C3 F3 78 */ mr r3, r30 /* 801A41AC 001A110C 7F E4 FB 78 */ mr r4, r31 /* 801A41B0 001A1110 81 9E 00 00 */ lwz r12, 0(r30) /* 801A41B4 001A1114 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A41B8 001A1118 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801A41BC 001A111C 7D 89 03 A6 */ mtctr r12 /* 801A41C0 001A1120 4E 80 04 21 */ bctrl /* 801A41C4 001A1124 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A41C8 001A1128 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A41CC 001A112C 83 C1 00 08 */ lwz r30, 8(r1) /* 801A41D0 001A1130 7C 08 03 A6 */ mtlr r0 /* 801A41D4 001A1134 38 21 00 10 */ addi r1, r1, 0x10 /* 801A41D8 001A1138 4E 80 00 20 */ blr .global TooClose__12CIceSheegothR13CStateManagerf TooClose__12CIceSheegothR13CStateManagerf: /* 801A41DC 001A113C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801A41E0 001A1140 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801A41E4 001A1144 2C 00 00 01 */ cmpwi r0, 1 /* 801A41E8 001A1148 40 82 00 5C */ bne lbl_801A4244 /* 801A41EC 001A114C C0 24 00 60 */ lfs f1, 0x60(r4) /* 801A41F0 001A1150 38 00 00 00 */ li r0, 0 /* 801A41F4 001A1154 C0 03 00 60 */ lfs f0, 0x60(r3) /* 801A41F8 001A1158 C0 84 00 40 */ lfs f4, 0x40(r4) /* 801A41FC 001A115C C0 63 00 40 */ lfs f3, 0x40(r3) /* 801A4200 001A1160 EC A1 00 28 */ fsubs f5, f1, f0 /* 801A4204 001A1164 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A4208 001A1168 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801A420C 001A116C EC 64 18 28 */ fsubs f3, f4, f3 /* 801A4210 001A1170 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A4214 001A1174 FC 05 00 40 */ fcmpo cr0, f5, f0 /* 801A4218 001A1178 EC 02 08 28 */ fsubs f0, f2, f1 /* 801A421C 001A117C 40 80 00 20 */ bge lbl_801A423C /* 801A4220 001A1180 EC 20 00 32 */ fmuls f1, f0, f0 /* 801A4224 001A1184 C0 03 09 78 */ lfs f0, 0x978(r3) /* 801A4228 001A1188 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801A422C 001A118C EC 25 09 7A */ fmadds f1, f5, f5, f1 /* 801A4230 001A1190 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A4234 001A1194 40 80 00 08 */ bge lbl_801A423C /* 801A4238 001A1198 38 00 00 01 */ li r0, 1 lbl_801A423C: /* 801A423C 001A119C 7C 03 03 78 */ mr r3, r0 /* 801A4240 001A11A0 4E 80 00 20 */ blr lbl_801A4244: /* 801A4244 001A11A4 38 60 00 00 */ li r3, 0 /* 801A4248 001A11A8 4E 80 00 20 */ blr .global ShotAt__12CIceSheegothR13CStateManagerf ShotAt__12CIceSheegothR13CStateManagerf: /* 801A424C 001A11AC 88 03 04 00 */ lbz r0, 0x400(r3) /* 801A4250 001A11B0 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801A4254 001A11B4 7C 03 00 D0 */ neg r0, r3 /* 801A4258 001A11B8 7C 00 1B 78 */ or r0, r0, r3 /* 801A425C 001A11BC 54 03 0F FE */ srwi r3, r0, 0x1f /* 801A4260 001A11C0 4E 80 00 20 */ blr .global InMaxRange__12CIceSheegothR13CStateManagerf InMaxRange__12CIceSheegothR13CStateManagerf: /* 801A4264 001A11C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A4268 001A11C8 7C 08 02 A6 */ mflr r0 /* 801A426C 001A11CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801A4270 001A11D0 88 03 07 5C */ lbz r0, 0x75c(r3) /* 801A4274 001A11D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A4278 001A11D8 41 82 00 0C */ beq lbl_801A4284 /* 801A427C 001A11DC 38 60 00 01 */ li r3, 1 /* 801A4280 001A11E0 48 00 00 08 */ b lbl_801A4288 lbl_801A4284: /* 801A4284 001A11E4 48 05 21 61 */ bl InMaxRange__10CPatternedFR13CStateManagerf lbl_801A4288: /* 801A4288 001A11E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A428C 001A11EC 7C 08 03 A6 */ mtlr r0 /* 801A4290 001A11F0 38 21 00 10 */ addi r1, r1, 0x10 /* 801A4294 001A11F4 4E 80 00 20 */ blr .global GetDamageVulnerability__12CIceSheegothCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__12CIceSheegothCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 801A4298 001A11F8 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha /* 801A429C 001A11FC 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l /* 801A42A0 001A1200 4E 80 00 20 */ blr .global GetDamageVulnerability__12CIceSheegothCFv GetDamageVulnerability__12CIceSheegothCFv: /* 801A42A4 001A1204 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha /* 801A42A8 001A1208 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l /* 801A42AC 001A120C 4E 80 00 20 */ blr .global GetAimPosition__12CIceSheegothCFRC13CStateManagerf GetAimPosition__12CIceSheegothCFRC13CStateManagerf: /* 801A42B0 001A1210 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801A42B4 001A1214 7C 08 02 A6 */ mflr r0 /* 801A42B8 001A1218 90 01 00 94 */ stw r0, 0x94(r1) /* 801A42BC 001A121C DB E1 00 80 */ stfd f31, 0x80(r1) /* 801A42C0 001A1220 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801A42C4 001A1224 DB C1 00 70 */ stfd f30, 0x70(r1) /* 801A42C8 001A1228 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 801A42CC 001A122C DB A1 00 60 */ stfd f29, 0x60(r1) /* 801A42D0 001A1230 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 801A42D4 001A1234 DB 81 00 50 */ stfd f28, 0x50(r1) /* 801A42D8 001A1238 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 /* 801A42DC 001A123C BF 61 00 3C */ stmw r27, 0x3c(r1) /* 801A42E0 001A1240 7C 9E 23 78 */ mr r30, r4 /* 801A42E4 001A1244 FF 80 08 90 */ fmr f28, f1 /* 801A42E8 001A1248 80 84 04 50 */ lwz r4, 0x450(r4) /* 801A42EC 001A124C 7C 7D 1B 78 */ mr r29, r3 /* 801A42F0 001A1250 7C BF 2B 78 */ mr r31, r5 /* 801A42F4 001A1254 80 04 02 EC */ lwz r0, 0x2ec(r4) /* 801A42F8 001A1258 2C 00 00 00 */ cmpwi r0, 0 /* 801A42FC 001A125C 41 82 01 B4 */ beq lbl_801A44B0 /* 801A4300 001A1260 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801A4304 001A1264 7F E4 FB 78 */ mr r4, r31 /* 801A4308 001A1268 80 63 00 00 */ lwz r3, 0(r3) /* 801A430C 001A126C 4B EE D2 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801A4310 001A1270 2C 03 00 03 */ cmpwi r3, 3 /* 801A4314 001A1274 40 82 00 E8 */ bne lbl_801A43FC /* 801A4318 001A1278 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A431C 001A127C C7 E3 66 A0 */ lfsu f31, skZero3f@l(r3) /* 801A4320 001A1280 3B 9E 0B 00 */ addi r28, r30, 0xb00 /* 801A4324 001A1284 C3 C3 00 04 */ lfs f30, 4(r3) /* 801A4328 001A1288 7F 9B E3 78 */ mr r27, r28 /* 801A432C 001A128C C3 A3 00 08 */ lfs f29, 8(r3) /* 801A4330 001A1290 48 00 00 4C */ b lbl_801A437C lbl_801A4334: /* 801A4334 001A1294 A0 1B 00 00 */ lhz r0, 0(r27) /* 801A4338 001A1298 7F E3 FB 78 */ mr r3, r31 /* 801A433C 001A129C 38 81 00 10 */ addi r4, r1, 0x10 /* 801A4340 001A12A0 B0 01 00 10 */ sth r0, 0x10(r1) /* 801A4344 001A12A4 4B EA 82 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A4348 001A12A8 7C 64 1B 78 */ mr r4, r3 /* 801A434C 001A12AC 38 61 00 24 */ addi r3, r1, 0x24 /* 801A4350 001A12B0 4B F0 AF FD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A4354 001A12B4 80 63 00 04 */ lwz r3, 4(r3) /* 801A4358 001A12B8 28 03 00 00 */ cmplwi r3, 0 /* 801A435C 001A12BC 41 82 00 1C */ beq lbl_801A4378 /* 801A4360 001A12C0 C0 43 00 40 */ lfs f2, 0x40(r3) /* 801A4364 001A12C4 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A4368 001A12C8 C0 03 00 60 */ lfs f0, 0x60(r3) /* 801A436C 001A12CC EF FF 10 2A */ fadds f31, f31, f2 /* 801A4370 001A12D0 EF DE 08 2A */ fadds f30, f30, f1 /* 801A4374 001A12D4 EF BD 00 2A */ fadds f29, f29, f0 lbl_801A4378: /* 801A4378 001A12D8 3B 7B 00 02 */ addi r27, r27, 2 lbl_801A437C: /* 801A437C 001A12DC 80 7E 0A FC */ lwz r3, 0xafc(r30) /* 801A4380 001A12E0 54 60 08 3C */ slwi r0, r3, 1 /* 801A4384 001A12E4 7C 1C 02 14 */ add r0, r28, r0 /* 801A4388 001A12E8 7C 1B 00 40 */ cmplw r27, r0 /* 801A438C 001A12EC 40 82 FF A8 */ bne lbl_801A4334 /* 801A4390 001A12F0 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A4394 001A12F4 38 00 00 00 */ li r0, 0 /* 801A4398 001A12F8 FC 00 F8 00 */ fcmpu cr0, f0, f31 /* 801A439C 001A12FC 40 82 00 14 */ bne lbl_801A43B0 /* 801A43A0 001A1300 FC 00 F0 00 */ fcmpu cr0, f0, f30 /* 801A43A4 001A1304 40 82 00 0C */ bne lbl_801A43B0 /* 801A43A8 001A1308 FC 00 E8 00 */ fcmpu cr0, f0, f29 /* 801A43AC 001A130C 41 82 00 08 */ beq lbl_801A43B4 lbl_801A43B0: /* 801A43B0 001A1310 38 00 00 01 */ li r0, 1 lbl_801A43B4: /* 801A43B4 001A1314 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801A43B8 001A1318 41 82 00 F8 */ beq lbl_801A44B0 /* 801A43BC 001A131C 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 801A43C0 001A1320 3C 00 43 30 */ lis r0, 0x4330 /* 801A43C4 001A1324 90 61 00 34 */ stw r3, 0x34(r1) /* 801A43C8 001A1328 C8 22 A7 D8 */ lfd f1, lbl_805AC4F8@sda21(r2) /* 801A43CC 001A132C 90 01 00 30 */ stw r0, 0x30(r1) /* 801A43D0 001A1330 C0 42 A7 60 */ lfs f2, lbl_805AC480@sda21(r2) /* 801A43D4 001A1334 C8 01 00 30 */ lfd f0, 0x30(r1) /* 801A43D8 001A1338 EC 00 08 28 */ fsubs f0, f0, f1 /* 801A43DC 001A133C EC 02 00 24 */ fdivs f0, f2, f0 /* 801A43E0 001A1340 EF FF 00 32 */ fmuls f31, f31, f0 /* 801A43E4 001A1344 EF DE 00 32 */ fmuls f30, f30, f0 /* 801A43E8 001A1348 EF BD 00 32 */ fmuls f29, f29, f0 /* 801A43EC 001A134C D3 FD 00 00 */ stfs f31, 0(r29) /* 801A43F0 001A1350 D3 DD 00 04 */ stfs f30, 4(r29) /* 801A43F4 001A1354 D3 BD 00 08 */ stfs f29, 8(r29) /* 801A43F8 001A1358 48 00 00 CC */ b lbl_801A44C4 lbl_801A43FC: /* 801A43FC 001A135C 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A4400 001A1360 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801A4404 001A1364 40 82 00 1C */ bne lbl_801A4420 /* 801A4408 001A1368 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801A440C 001A136C 7F E4 FB 78 */ mr r4, r31 /* 801A4410 001A1370 80 63 00 00 */ lwz r3, 0(r3) /* 801A4414 001A1374 4B EE D1 45 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801A4418 001A1378 2C 03 00 02 */ cmpwi r3, 2 /* 801A441C 001A137C 40 82 00 4C */ bne lbl_801A4468 lbl_801A4420: /* 801A4420 001A1380 A0 1E 0A F8 */ lhz r0, 0xaf8(r30) /* 801A4424 001A1384 7F E3 FB 78 */ mr r3, r31 /* 801A4428 001A1388 38 81 00 0C */ addi r4, r1, 0xc /* 801A442C 001A138C B0 01 00 0C */ sth r0, 0xc(r1) /* 801A4430 001A1390 4B EA 81 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A4434 001A1394 7C 64 1B 78 */ mr r4, r3 /* 801A4438 001A1398 38 61 00 1C */ addi r3, r1, 0x1c /* 801A443C 001A139C 4B F0 AF 11 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A4440 001A13A0 80 63 00 04 */ lwz r3, 4(r3) /* 801A4444 001A13A4 28 03 00 00 */ cmplwi r3, 0 /* 801A4448 001A13A8 41 82 00 68 */ beq lbl_801A44B0 /* 801A444C 001A13AC C0 43 00 60 */ lfs f2, 0x60(r3) /* 801A4450 001A13B0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A4454 001A13B4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A4458 001A13B8 D0 1D 00 00 */ stfs f0, 0(r29) /* 801A445C 001A13BC D0 3D 00 04 */ stfs f1, 4(r29) /* 801A4460 001A13C0 D0 5D 00 08 */ stfs f2, 8(r29) /* 801A4464 001A13C4 48 00 00 60 */ b lbl_801A44C4 lbl_801A4468: /* 801A4468 001A13C8 A0 1E 0A F6 */ lhz r0, 0xaf6(r30) /* 801A446C 001A13CC 7F E3 FB 78 */ mr r3, r31 /* 801A4470 001A13D0 38 81 00 08 */ addi r4, r1, 8 /* 801A4474 001A13D4 B0 01 00 08 */ sth r0, 8(r1) /* 801A4478 001A13D8 4B EA 81 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A447C 001A13DC 7C 64 1B 78 */ mr r4, r3 /* 801A4480 001A13E0 38 61 00 14 */ addi r3, r1, 0x14 /* 801A4484 001A13E4 4B F0 AE C9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A4488 001A13E8 80 63 00 04 */ lwz r3, 4(r3) /* 801A448C 001A13EC 28 03 00 00 */ cmplwi r3, 0 /* 801A4490 001A13F0 41 82 00 20 */ beq lbl_801A44B0 /* 801A4494 001A13F4 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801A4498 001A13F8 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801A449C 001A13FC C0 03 00 40 */ lfs f0, 0x40(r3) /* 801A44A0 001A1400 D0 1D 00 00 */ stfs f0, 0(r29) /* 801A44A4 001A1404 D0 3D 00 04 */ stfs f1, 4(r29) /* 801A44A8 001A1408 D0 5D 00 08 */ stfs f2, 8(r29) /* 801A44AC 001A140C 48 00 00 18 */ b lbl_801A44C4 lbl_801A44B0: /* 801A44B0 001A1410 FC 20 E0 90 */ fmr f1, f28 /* 801A44B4 001A1414 7F A3 EB 78 */ mr r3, r29 /* 801A44B8 001A1418 7F C4 F3 78 */ mr r4, r30 /* 801A44BC 001A141C 7F E5 FB 78 */ mr r5, r31 /* 801A44C0 001A1420 4B ED 41 29 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf lbl_801A44C4: /* 801A44C4 001A1424 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801A44C8 001A1428 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801A44CC 001A142C E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 801A44D0 001A1430 CB C1 00 70 */ lfd f30, 0x70(r1) /* 801A44D4 001A1434 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 801A44D8 001A1438 CB A1 00 60 */ lfd f29, 0x60(r1) /* 801A44DC 001A143C E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 /* 801A44E0 001A1440 CB 81 00 50 */ lfd f28, 0x50(r1) /* 801A44E4 001A1444 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 801A44E8 001A1448 80 01 00 94 */ lwz r0, 0x94(r1) /* 801A44EC 001A144C 7C 08 03 A6 */ mtlr r0 /* 801A44F0 001A1450 38 21 00 90 */ addi r1, r1, 0x90 /* 801A44F4 001A1454 4E 80 00 20 */ blr .global DoUserAnimEvent__12CIceSheegothFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__12CIceSheegothFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 801A44F8 001A1458 94 21 FE 20 */ stwu r1, -0x1e0(r1) /* 801A44FC 001A145C 7C 08 02 A6 */ mflr r0 /* 801A4500 001A1460 90 01 01 E4 */ stw r0, 0x1e4(r1) /* 801A4504 001A1464 DB E1 01 D0 */ stfd f31, 0x1d0(r1) /* 801A4508 001A1468 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 /* 801A450C 001A146C DB C1 01 C0 */ stfd f30, 0x1c0(r1) /* 801A4510 001A1470 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 /* 801A4514 001A1474 DB A1 01 B0 */ stfd f29, 0x1b0(r1) /* 801A4518 001A1478 F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 /* 801A451C 001A147C DB 81 01 A0 */ stfd f28, 0x1a0(r1) /* 801A4520 001A1480 F3 81 01 A8 */ psq_st f28, 424(r1), 0, qr0 /* 801A4524 001A1484 BF 61 01 8C */ stmw r27, 0x18c(r1) /* 801A4528 001A1488 7C DF 33 78 */ mr r31, r6 /* 801A452C 001A148C FF E0 08 90 */ fmr f31, f1 /* 801A4530 001A1490 28 1F 00 17 */ cmplwi r31, 0x17 /* 801A4534 001A1494 7C 7C 1B 78 */ mr r28, r3 /* 801A4538 001A1498 7C 9D 23 78 */ mr r29, r4 /* 801A453C 001A149C 7C BE 2B 78 */ mr r30, r5 /* 801A4540 001A14A0 3B 60 00 00 */ li r27, 0 /* 801A4544 001A14A4 41 81 03 C8 */ bgt lbl_801A490C /* 801A4548 001A14A8 3C A0 80 3E */ lis r5, lbl_803E49F4@ha /* 801A454C 001A14AC 57 E0 10 3A */ slwi r0, r31, 2 /* 801A4550 001A14B0 38 A5 49 F4 */ addi r5, r5, lbl_803E49F4@l /* 801A4554 001A14B4 7C 05 00 2E */ lwzx r0, r5, r0 /* 801A4558 001A14B8 7C 09 03 A6 */ mtctr r0 /* 801A455C 001A14BC 4E 80 04 20 */ bctr /* 801A4560 001A14C0 7F 84 E3 78 */ mr r4, r28 /* 801A4564 001A14C4 38 61 00 EC */ addi r3, r1, 0xec /* 801A4568 001A14C8 38 BE 00 3C */ addi r5, r30, 0x3c /* 801A456C 001A14CC 4B ED 44 0D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A4570 001A14D0 38 61 01 4C */ addi r3, r1, 0x14c /* 801A4574 001A14D4 38 81 00 EC */ addi r4, r1, 0xec /* 801A4578 001A14D8 48 16 E5 FD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A457C 001A14DC 80 9D 08 4C */ lwz r4, 0x84c(r29) /* 801A4580 001A14E0 7F A5 EB 78 */ mr r5, r29 /* 801A4584 001A14E4 38 61 00 80 */ addi r3, r1, 0x80 /* 801A4588 001A14E8 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A458C 001A14EC 81 84 00 00 */ lwz r12, 0(r4) /* 801A4590 001A14F0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A4594 001A14F4 7D 89 03 A6 */ mtctr r12 /* 801A4598 001A14F8 4E 80 04 21 */ bctrl /* 801A459C 001A14FC C0 41 00 80 */ lfs f2, 0x80(r1) /* 801A45A0 001A1500 7F 83 E3 78 */ mr r3, r28 /* 801A45A4 001A1504 C0 21 00 84 */ lfs f1, 0x84(r1) /* 801A45A8 001A1508 C0 01 00 88 */ lfs f0, 0x88(r1) /* 801A45AC 001A150C D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801A45B0 001A1510 C0 41 01 58 */ lfs f2, 0x158(r1) /* 801A45B4 001A1514 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801A45B8 001A1518 C0 21 01 68 */ lfs f1, 0x168(r1) /* 801A45BC 001A151C D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801A45C0 001A1520 C0 01 01 78 */ lfs f0, 0x178(r1) /* 801A45C4 001A1524 83 7D 08 4C */ lwz r27, 0x84c(r29) /* 801A45C8 001A1528 D0 41 00 68 */ stfs f2, 0x68(r1) /* 801A45CC 001A152C D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801A45D0 001A1530 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801A45D4 001A1534 81 9C 00 00 */ lwz r12, 0(r28) /* 801A45D8 001A1538 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801A45DC 001A153C 7D 89 03 A6 */ mtctr r12 /* 801A45E0 001A1540 4E 80 04 21 */ bctrl /* 801A45E4 001A1544 FC 20 F8 90 */ fmr f1, f31 /* 801A45E8 001A1548 7C 64 1B 78 */ mr r4, r3 /* 801A45EC 001A154C 7F 67 DB 78 */ mr r7, r27 /* 801A45F0 001A1550 38 61 00 74 */ addi r3, r1, 0x74 /* 801A45F4 001A1554 38 A1 00 68 */ addi r5, r1, 0x68 /* 801A45F8 001A1558 38 C1 00 B0 */ addi r6, r1, 0xb0 /* 801A45FC 001A155C 39 00 00 01 */ li r8, 1 /* 801A4600 001A1560 48 07 78 ED */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf /* 801A4604 001A1564 C0 A1 00 74 */ lfs f5, 0x74(r1) /* 801A4608 001A1568 38 61 00 98 */ addi r3, r1, 0x98 /* 801A460C 001A156C C0 81 00 78 */ lfs f4, 0x78(r1) /* 801A4610 001A1570 38 81 00 8C */ addi r4, r1, 0x8c /* 801A4614 001A1574 C0 61 00 7C */ lfs f3, 0x7c(r1) /* 801A4618 001A1578 C0 41 01 68 */ lfs f2, 0x168(r1) /* 801A461C 001A157C C0 21 01 78 */ lfs f1, 0x178(r1) /* 801A4620 001A1580 C0 01 01 58 */ lfs f0, 0x158(r1) /* 801A4624 001A1584 EC C4 10 28 */ fsubs f6, f4, f2 /* 801A4628 001A1588 D0 A1 00 A4 */ stfs f5, 0xa4(r1) /* 801A462C 001A158C EC 43 08 28 */ fsubs f2, f3, f1 /* 801A4630 001A1590 EC 05 00 28 */ fsubs f0, f5, f0 /* 801A4634 001A1594 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 801A4638 001A1598 D0 61 00 AC */ stfs f3, 0xac(r1) /* 801A463C 001A159C C0 9C 00 58 */ lfs f4, 0x58(r28) /* 801A4640 001A15A0 C0 7C 00 48 */ lfs f3, 0x48(r28) /* 801A4644 001A15A4 C0 3C 00 38 */ lfs f1, 0x38(r28) /* 801A4648 001A15A8 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801A464C 001A15AC D0 61 00 9C */ stfs f3, 0x9c(r1) /* 801A4650 001A15B0 D0 81 00 A0 */ stfs f4, 0xa0(r1) /* 801A4654 001A15B4 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801A4658 001A15B8 D0 C1 00 90 */ stfs f6, 0x90(r1) /* 801A465C 001A15BC D0 41 00 94 */ stfs f2, 0x94(r1) /* 801A4660 001A15C0 48 16 FF D1 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801A4664 001A15C4 C0 02 A7 E0 */ lfs f0, lbl_805AC500@sda21(r2) /* 801A4668 001A15C8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A466C 001A15CC 40 81 00 C8 */ ble lbl_801A4734 /* 801A4670 001A15D0 38 61 00 8C */ addi r3, r1, 0x8c /* 801A4674 001A15D4 48 17 00 85 */ bl CanBeNormalized__9CVector3fCFv /* 801A4678 001A15D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A467C 001A15DC 41 82 00 74 */ beq lbl_801A46F0 /* 801A4680 001A15E0 C0 02 A7 E0 */ lfs f0, lbl_805AC500@sda21(r2) /* 801A4684 001A15E4 38 61 00 50 */ addi r3, r1, 0x50 /* 801A4688 001A15E8 38 81 00 8C */ addi r4, r1, 0x8c /* 801A468C 001A15EC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A4690 001A15F0 48 17 01 C1 */ bl AsNormalized__9CVector3fCFv /* 801A4694 001A15F4 38 61 00 5C */ addi r3, r1, 0x5c /* 801A4698 001A15F8 38 81 00 98 */ addi r4, r1, 0x98 /* 801A469C 001A15FC 38 A1 00 50 */ addi r5, r1, 0x50 /* 801A46A0 001A1600 38 C1 00 1C */ addi r6, r1, 0x1c /* 801A46A4 001A1604 48 17 02 B1 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 801A46A8 001A1608 C3 C1 00 5C */ lfs f30, 0x5c(r1) /* 801A46AC 001A160C 38 61 00 8C */ addi r3, r1, 0x8c /* 801A46B0 001A1610 C3 A1 00 60 */ lfs f29, 0x60(r1) /* 801A46B4 001A1614 C3 81 00 64 */ lfs f28, 0x64(r1) /* 801A46B8 001A1618 48 17 02 01 */ bl Magnitude__9CVector3fCFv /* 801A46BC 001A161C EC 81 07 72 */ fmuls f4, f1, f29 /* 801A46C0 001A1620 C0 A1 01 68 */ lfs f5, 0x168(r1) /* 801A46C4 001A1624 EC 41 07 32 */ fmuls f2, f1, f28 /* 801A46C8 001A1628 C0 61 01 78 */ lfs f3, 0x178(r1) /* 801A46CC 001A162C EC 01 07 B2 */ fmuls f0, f1, f30 /* 801A46D0 001A1630 C0 21 01 58 */ lfs f1, 0x158(r1) /* 801A46D4 001A1634 EC 85 20 2A */ fadds f4, f5, f4 /* 801A46D8 001A1638 EC 43 10 2A */ fadds f2, f3, f2 /* 801A46DC 001A163C EC 01 00 2A */ fadds f0, f1, f0 /* 801A46E0 001A1640 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 801A46E4 001A1644 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801A46E8 001A1648 D0 41 00 AC */ stfs f2, 0xac(r1) /* 801A46EC 001A164C 48 00 00 48 */ b lbl_801A4734 lbl_801A46F0: /* 801A46F0 001A1650 38 61 00 8C */ addi r3, r1, 0x8c /* 801A46F4 001A1654 48 17 01 C5 */ bl Magnitude__9CVector3fCFv /* 801A46F8 001A1658 C0 61 01 60 */ lfs f3, 0x160(r1) /* 801A46FC 001A165C C0 41 01 70 */ lfs f2, 0x170(r1) /* 801A4700 001A1660 C0 01 01 50 */ lfs f0, 0x150(r1) /* 801A4704 001A1664 EC 81 00 F2 */ fmuls f4, f1, f3 /* 801A4708 001A1668 C0 A1 01 68 */ lfs f5, 0x168(r1) /* 801A470C 001A166C EC 41 00 B2 */ fmuls f2, f1, f2 /* 801A4710 001A1670 C0 61 01 78 */ lfs f3, 0x178(r1) /* 801A4714 001A1674 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A4718 001A1678 C0 21 01 58 */ lfs f1, 0x158(r1) /* 801A471C 001A167C EC 85 20 2A */ fadds f4, f5, f4 /* 801A4720 001A1680 EC 43 10 2A */ fadds f2, f3, f2 /* 801A4724 001A1684 EC 01 00 2A */ fadds f0, f1, f0 /* 801A4728 001A1688 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 801A472C 001A168C D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801A4730 001A1690 D0 41 00 AC */ stfs f2, 0xac(r1) lbl_801A4734: /* 801A4734 001A1694 C0 41 01 58 */ lfs f2, 0x158(r1) /* 801A4738 001A1698 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801A473C 001A169C C0 21 01 68 */ lfs f1, 0x168(r1) /* 801A4740 001A16A0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801A4744 001A16A4 C0 01 01 78 */ lfs f0, 0x178(r1) /* 801A4748 001A16A8 38 61 00 BC */ addi r3, r1, 0xbc /* 801A474C 001A16AC D0 41 00 44 */ stfs f2, 0x44(r1) /* 801A4750 001A16B0 38 81 00 44 */ addi r4, r1, 0x44 /* 801A4754 001A16B4 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 801A4758 001A16B8 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801A475C 001A16BC D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801A4760 001A16C0 48 16 F3 B1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801A4764 001A16C4 38 61 01 1C */ addi r3, r1, 0x11c /* 801A4768 001A16C8 38 81 00 BC */ addi r4, r1, 0xbc /* 801A476C 001A16CC 48 16 E4 09 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A4770 001A16D0 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A4774 001A16D4 39 60 00 00 */ li r11, 0 /* 801A4778 001A16D8 99 61 00 40 */ stb r11, 0x40(r1) /* 801A477C 001A16DC 38 01 00 28 */ addi r0, r1, 0x28 /* 801A4780 001A16E0 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) /* 801A4784 001A16E4 7F 83 E3 78 */ mr r3, r28 /* 801A4788 001A16E8 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801A478C 001A16EC 7F A5 EB 78 */ mr r5, r29 /* 801A4790 001A16F0 38 81 01 1C */ addi r4, r1, 0x11c /* 801A4794 001A16F4 39 21 00 34 */ addi r9, r1, 0x34 /* 801A4798 001A16F8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801A479C 001A16FC 38 C0 00 04 */ li r6, 4 /* 801A47A0 001A1700 38 E0 00 00 */ li r7, 0 /* 801A47A4 001A1704 39 00 00 00 */ li r8, 0 /* 801A47A8 001A1708 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801A47AC 001A170C 91 61 00 08 */ stw r11, 8(r1) /* 801A47B0 001A1710 90 01 00 0C */ stw r0, 0xc(r1) /* 801A47B4 001A1714 4B ED 32 45 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" /* 801A47B8 001A1718 88 01 00 40 */ lbz r0, 0x40(r1) /* 801A47BC 001A171C 28 00 00 00 */ cmplwi r0, 0 /* 801A47C0 001A1720 41 82 00 1C */ beq lbl_801A47DC /* 801A47C4 001A1724 34 61 00 34 */ addic. r3, r1, 0x34 /* 801A47C8 001A1728 41 82 00 14 */ beq lbl_801A47DC /* 801A47CC 001A172C 28 03 00 00 */ cmplwi r3, 0 /* 801A47D0 001A1730 41 82 00 0C */ beq lbl_801A47DC /* 801A47D4 001A1734 38 80 00 00 */ li r4, 0 /* 801A47D8 001A1738 48 19 C6 69 */ bl __dt__6CTokenFv lbl_801A47DC: /* 801A47DC 001A173C 38 00 00 00 */ li r0, 0 /* 801A47E0 001A1740 C0 42 A7 68 */ lfs f2, lbl_805AC488@sda21(r2) /* 801A47E4 001A1744 98 01 00 40 */ stb r0, 0x40(r1) /* 801A47E8 001A1748 C0 0D 90 00 */ lfs f0, lbl_805A7BC0@sda21(r13) /* 801A47EC 001A174C C0 3C 06 DC */ lfs f1, 0x6dc(r28) /* 801A47F0 001A1750 C0 7C 09 74 */ lfs f3, 0x974(r28) /* 801A47F4 001A1754 EC 22 00 72 */ fmuls f1, f2, f1 /* 801A47F8 001A1758 EC 23 08 28 */ fsubs f1, f3, f1 /* 801A47FC 001A175C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801A4800 001A1760 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801A4804 001A1764 40 80 00 0C */ bge lbl_801A4810 /* 801A4808 001A1768 38 61 00 18 */ addi r3, r1, 0x18 /* 801A480C 001A176C 48 00 00 08 */ b lbl_801A4814 lbl_801A4810: /* 801A4810 001A1770 38 6D 90 00 */ addi r3, r13, lbl_805A7BC0@sda21 lbl_801A4814: /* 801A4814 001A1774 C0 03 00 00 */ lfs f0, 0(r3) /* 801A4818 001A1778 D0 1C 09 74 */ stfs f0, 0x974(r28) /* 801A481C 001A177C 88 1C 0B 28 */ lbz r0, 0xb28(r28) /* 801A4820 001A1780 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801A4824 001A1784 41 82 00 58 */ beq lbl_801A487C /* 801A4828 001A1788 7F 83 E3 78 */ mr r3, r28 /* 801A482C 001A178C 7F A4 EB 78 */ mr r4, r29 /* 801A4830 001A1790 81 9C 00 00 */ lwz r12, 0(r28) /* 801A4834 001A1794 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A4838 001A1798 81 8C 02 70 */ lwz r12, 0x270(r12) /* 801A483C 001A179C 7D 89 03 A6 */ mtctr r12 /* 801A4840 001A17A0 4E 80 04 21 */ bctrl /* 801A4844 001A17A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A4848 001A17A8 40 82 00 34 */ bne lbl_801A487C /* 801A484C 001A17AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A4850 001A17B0 38 00 00 0A */ li r0, 0xa /* 801A4854 001A17B4 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801A4858 001A17B8 90 01 00 24 */ stw r0, 0x24(r1) /* 801A485C 001A17BC 38 81 00 20 */ addi r4, r1, 0x20 /* 801A4860 001A17C0 90 61 00 20 */ stw r3, 0x20(r1) /* 801A4864 001A17C4 80 7C 04 50 */ lwz r3, 0x450(r28) /* 801A4868 001A17C8 38 63 00 04 */ addi r3, r3, 4 /* 801A486C 001A17CC 4B F8 CF 4D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801A4870 001A17D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A4874 001A17D4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A4878 001A17D8 90 01 00 20 */ stw r0, 0x20(r1) lbl_801A487C: /* 801A487C 001A17DC 3B 60 00 01 */ li r27, 1 /* 801A4880 001A17E0 48 00 00 8C */ b lbl_801A490C /* 801A4884 001A17E4 4B FF BE 85 */ bl sub_801a0708 /* 801A4888 001A17E8 3B 60 00 01 */ li r27, 1 /* 801A488C 001A17EC 48 00 00 80 */ b lbl_801A490C /* 801A4890 001A17F0 4B FF A2 C1 */ bl sub_8019eb50 /* 801A4894 001A17F4 3B 60 00 01 */ li r27, 1 /* 801A4898 001A17F8 48 00 00 74 */ b lbl_801A490C /* 801A489C 001A17FC 88 1C 0B 28 */ lbz r0, 0xb28(r28) /* 801A48A0 001A1800 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801A48A4 001A1804 41 82 00 68 */ beq lbl_801A490C /* 801A48A8 001A1808 A0 1C 0A 80 */ lhz r0, 0xa80(r28) /* 801A48AC 001A180C 7F A3 EB 78 */ mr r3, r29 /* 801A48B0 001A1810 38 81 00 14 */ addi r4, r1, 0x14 /* 801A48B4 001A1814 B0 01 00 14 */ sth r0, 0x14(r1) /* 801A48B8 001A1818 4B EA 7C BD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A48BC 001A181C 28 03 00 00 */ cmplwi r3, 0 /* 801A48C0 001A1820 41 82 00 4C */ beq lbl_801A490C /* 801A48C4 001A1824 7F A5 EB 78 */ mr r5, r29 /* 801A48C8 001A1828 38 9C 00 34 */ addi r4, r28, 0x34 /* 801A48CC 001A182C 38 C0 00 00 */ li r6, 0 /* 801A48D0 001A1830 4B FF 3A 1D */ bl Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb /* 801A48D4 001A1834 48 00 00 38 */ b lbl_801A490C /* 801A48D8 001A1838 88 1C 0B 28 */ lbz r0, 0xb28(r28) /* 801A48DC 001A183C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801A48E0 001A1840 41 82 00 2C */ beq lbl_801A490C /* 801A48E4 001A1844 A0 1C 0A 80 */ lhz r0, 0xa80(r28) /* 801A48E8 001A1848 7F A3 EB 78 */ mr r3, r29 /* 801A48EC 001A184C 38 81 00 10 */ addi r4, r1, 0x10 /* 801A48F0 001A1850 B0 01 00 10 */ sth r0, 0x10(r1) /* 801A48F4 001A1854 4B EA 7C 81 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A48F8 001A1858 28 03 00 00 */ cmplwi r3, 0 /* 801A48FC 001A185C 41 82 00 10 */ beq lbl_801A490C /* 801A4900 001A1860 7F A4 EB 78 */ mr r4, r29 /* 801A4904 001A1864 38 A0 00 00 */ li r5, 0 /* 801A4908 001A1868 4B FF 38 B9 */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_801A490C: /* 801A490C 001A186C 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801A4910 001A1870 40 82 00 1C */ bne lbl_801A492C /* 801A4914 001A1874 FC 20 F8 90 */ fmr f1, f31 /* 801A4918 001A1878 7F 83 E3 78 */ mr r3, r28 /* 801A491C 001A187C 7F A4 EB 78 */ mr r4, r29 /* 801A4920 001A1880 7F C5 F3 78 */ mr r5, r30 /* 801A4924 001A1884 7F E6 FB 78 */ mr r6, r31 /* 801A4928 001A1888 4B ED 45 89 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_801A492C: /* 801A492C 001A188C E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 /* 801A4930 001A1890 CB E1 01 D0 */ lfd f31, 0x1d0(r1) /* 801A4934 001A1894 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 /* 801A4938 001A1898 CB C1 01 C0 */ lfd f30, 0x1c0(r1) /* 801A493C 001A189C E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 /* 801A4940 001A18A0 CB A1 01 B0 */ lfd f29, 0x1b0(r1) /* 801A4944 001A18A4 E3 81 01 A8 */ psq_l f28, 424(r1), 0, qr0 /* 801A4948 001A18A8 CB 81 01 A0 */ lfd f28, 0x1a0(r1) /* 801A494C 001A18AC BB 61 01 8C */ lmw r27, 0x18c(r1) /* 801A4950 001A18B0 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 801A4954 001A18B4 7C 08 03 A6 */ mtlr r0 /* 801A4958 001A18B8 38 21 01 E0 */ addi r1, r1, 0x1e0 /* 801A495C 001A18BC 4E 80 00 20 */ blr .global ProjectileInfo__12CIceSheegothFv ProjectileInfo__12CIceSheegothFv: /* 801A4960 001A18C0 38 63 0A 58 */ addi r3, r3, 0xa58 /* 801A4964 001A18C4 4E 80 00 20 */ blr .global AddToRenderer__12CIceSheegothCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__12CIceSheegothCFRC14CFrustumPlanesRC13CStateManager: /* 801A4968 001A18C8 94 21 FD D0 */ stwu r1, -0x230(r1) /* 801A496C 001A18CC 7C 08 02 A6 */ mflr r0 /* 801A4970 001A18D0 90 01 02 34 */ stw r0, 0x234(r1) /* 801A4974 001A18D4 93 E1 02 2C */ stw r31, 0x22c(r1) /* 801A4978 001A18D8 7C 9F 23 78 */ mr r31, r4 /* 801A497C 001A18DC 93 C1 02 28 */ stw r30, 0x228(r1) /* 801A4980 001A18E0 7C 7E 1B 78 */ mr r30, r3 /* 801A4984 001A18E4 93 A1 02 24 */ stw r29, 0x224(r1) /* 801A4988 001A18E8 7C BD 2B 78 */ mr r29, r5 /* 801A498C 001A18EC 4B ED 2F 2D */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager /* 801A4990 001A18F0 80 1D 0F 34 */ lwz r0, 0xf34(r29) /* 801A4994 001A18F4 2C 00 00 00 */ cmpwi r0, 0 /* 801A4998 001A18F8 41 82 00 14 */ beq lbl_801A49AC /* 801A499C 001A18FC 41 80 06 48 */ blt lbl_801A4FE4 /* 801A49A0 001A1900 2C 00 00 03 */ cmpwi r0, 3 /* 801A49A4 001A1904 40 80 06 40 */ bge lbl_801A4FE4 /* 801A49A8 001A1908 48 00 00 60 */ b lbl_801A4A08 lbl_801A49AC: /* 801A49AC 001A190C C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A49B0 001A1910 C0 1E 04 28 */ lfs f0, 0x428(r30) /* 801A49B4 001A1914 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801A49B8 001A1918 40 82 06 2C */ bne lbl_801A4FE4 /* 801A49BC 001A191C 88 1E 0B 29 */ lbz r0, 0xb29(r30) /* 801A49C0 001A1920 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A49C4 001A1924 41 82 06 20 */ beq lbl_801A4FE4 /* 801A49C8 001A1928 80 7E 00 64 */ lwz r3, 0x64(r30) /* 801A49CC 001A192C 38 80 00 00 */ li r4, 0 /* 801A49D0 001A1930 28 03 00 00 */ cmplwi r3, 0 /* 801A49D4 001A1934 41 82 00 20 */ beq lbl_801A49F4 /* 801A49D8 001A1938 80 03 00 10 */ lwz r0, 0x10(r3) /* 801A49DC 001A193C 28 00 00 00 */ cmplwi r0, 0 /* 801A49E0 001A1940 40 82 00 10 */ bne lbl_801A49F0 /* 801A49E4 001A1944 88 03 00 28 */ lbz r0, 0x28(r3) /* 801A49E8 001A1948 28 00 00 00 */ cmplwi r0, 0 /* 801A49EC 001A194C 41 82 00 08 */ beq lbl_801A49F4 lbl_801A49F0: /* 801A49F0 001A1950 38 80 00 01 */ li r4, 1 lbl_801A49F4: /* 801A49F4 001A1954 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801A49F8 001A1958 41 82 05 EC */ beq lbl_801A4FE4 /* 801A49FC 001A195C 7F E4 FB 78 */ mr r4, r31 /* 801A4A00 001A1960 4B F7 12 81 */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes /* 801A4A04 001A1964 48 00 05 E0 */ b lbl_801A4FE4 lbl_801A4A08: /* 801A4A08 001A1968 80 9E 0A EC */ lwz r4, 0xaec(r30) /* 801A4A0C 001A196C 38 A0 00 00 */ li r5, 0 /* 801A4A10 001A1970 3B A0 00 00 */ li r29, 0 /* 801A4A14 001A1974 28 04 00 00 */ cmplwi r4, 0 /* 801A4A18 001A1978 41 82 00 24 */ beq lbl_801A4A3C /* 801A4A1C 001A197C 81 84 00 00 */ lwz r12, 0(r4) /* 801A4A20 001A1980 38 61 01 3C */ addi r3, r1, 0x13c /* 801A4A24 001A1984 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801A4A28 001A1988 7D 89 03 A6 */ mtctr r12 /* 801A4A2C 001A198C 4E 80 04 21 */ bctrl /* 801A4A30 001A1990 38 61 01 3C */ addi r3, r1, 0x13c /* 801A4A34 001A1994 38 A0 00 01 */ li r5, 1 /* 801A4A38 001A1998 48 00 00 14 */ b lbl_801A4A4C lbl_801A4A3C: /* 801A4A3C 001A199C 38 00 00 00 */ li r0, 0 /* 801A4A40 001A19A0 38 61 01 20 */ addi r3, r1, 0x120 /* 801A4A44 001A19A4 98 01 01 38 */ stb r0, 0x138(r1) /* 801A4A48 001A19A8 3B A0 00 01 */ li r29, 1 lbl_801A4A4C: /* 801A4A4C 001A19AC 88 03 00 18 */ lbz r0, 0x18(r3) /* 801A4A50 001A19B0 28 00 00 00 */ cmplwi r0, 0 /* 801A4A54 001A19B4 98 01 02 14 */ stb r0, 0x214(r1) /* 801A4A58 001A19B8 41 82 00 3C */ beq lbl_801A4A94 /* 801A4A5C 001A19BC 34 81 01 FC */ addic. r4, r1, 0x1fc /* 801A4A60 001A19C0 41 82 00 34 */ beq lbl_801A4A94 /* 801A4A64 001A19C4 C0 03 00 00 */ lfs f0, 0(r3) /* 801A4A68 001A19C8 D0 04 00 00 */ stfs f0, 0(r4) /* 801A4A6C 001A19CC C0 03 00 04 */ lfs f0, 4(r3) /* 801A4A70 001A19D0 D0 04 00 04 */ stfs f0, 4(r4) /* 801A4A74 001A19D4 C0 03 00 08 */ lfs f0, 8(r3) /* 801A4A78 001A19D8 D0 04 00 08 */ stfs f0, 8(r4) /* 801A4A7C 001A19DC C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A4A80 001A19E0 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801A4A84 001A19E4 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801A4A88 001A19E8 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801A4A8C 001A19EC C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4A90 001A19F0 D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801A4A94: /* 801A4A94 001A19F4 7F A0 07 75 */ extsb. r0, r29 /* 801A4A98 001A19F8 41 82 00 0C */ beq lbl_801A4AA4 /* 801A4A9C 001A19FC 38 00 00 00 */ li r0, 0 /* 801A4AA0 001A1A00 98 01 01 38 */ stb r0, 0x138(r1) lbl_801A4AA4: /* 801A4AA4 001A1A04 7C A0 07 75 */ extsb. r0, r5 /* 801A4AA8 001A1A08 41 82 00 0C */ beq lbl_801A4AB4 /* 801A4AAC 001A1A0C 38 00 00 00 */ li r0, 0 /* 801A4AB0 001A1A10 98 01 01 54 */ stb r0, 0x154(r1) lbl_801A4AB4: /* 801A4AB4 001A1A14 80 9E 0A 9C */ lwz r4, 0xa9c(r30) /* 801A4AB8 001A1A18 38 A0 00 00 */ li r5, 0 /* 801A4ABC 001A1A1C 3B A0 00 00 */ li r29, 0 /* 801A4AC0 001A1A20 28 04 00 00 */ cmplwi r4, 0 /* 801A4AC4 001A1A24 41 82 00 24 */ beq lbl_801A4AE8 /* 801A4AC8 001A1A28 81 84 00 00 */ lwz r12, 0(r4) /* 801A4ACC 001A1A2C 38 61 01 04 */ addi r3, r1, 0x104 /* 801A4AD0 001A1A30 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801A4AD4 001A1A34 7D 89 03 A6 */ mtctr r12 /* 801A4AD8 001A1A38 4E 80 04 21 */ bctrl /* 801A4ADC 001A1A3C 38 61 01 04 */ addi r3, r1, 0x104 /* 801A4AE0 001A1A40 38 A0 00 01 */ li r5, 1 /* 801A4AE4 001A1A44 48 00 00 14 */ b lbl_801A4AF8 lbl_801A4AE8: /* 801A4AE8 001A1A48 38 00 00 00 */ li r0, 0 /* 801A4AEC 001A1A4C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 801A4AF0 001A1A50 98 01 01 00 */ stb r0, 0x100(r1) /* 801A4AF4 001A1A54 3B A0 00 01 */ li r29, 1 lbl_801A4AF8: /* 801A4AF8 001A1A58 88 03 00 18 */ lbz r0, 0x18(r3) /* 801A4AFC 001A1A5C 28 00 00 00 */ cmplwi r0, 0 /* 801A4B00 001A1A60 98 01 01 F8 */ stb r0, 0x1f8(r1) /* 801A4B04 001A1A64 41 82 00 3C */ beq lbl_801A4B40 /* 801A4B08 001A1A68 34 81 01 E0 */ addic. r4, r1, 0x1e0 /* 801A4B0C 001A1A6C 41 82 00 34 */ beq lbl_801A4B40 /* 801A4B10 001A1A70 C0 03 00 00 */ lfs f0, 0(r3) /* 801A4B14 001A1A74 D0 04 00 00 */ stfs f0, 0(r4) /* 801A4B18 001A1A78 C0 03 00 04 */ lfs f0, 4(r3) /* 801A4B1C 001A1A7C D0 04 00 04 */ stfs f0, 4(r4) /* 801A4B20 001A1A80 C0 03 00 08 */ lfs f0, 8(r3) /* 801A4B24 001A1A84 D0 04 00 08 */ stfs f0, 8(r4) /* 801A4B28 001A1A88 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A4B2C 001A1A8C D0 04 00 0C */ stfs f0, 0xc(r4) /* 801A4B30 001A1A90 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801A4B34 001A1A94 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801A4B38 001A1A98 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4B3C 001A1A9C D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801A4B40: /* 801A4B40 001A1AA0 7F A0 07 75 */ extsb. r0, r29 /* 801A4B44 001A1AA4 41 82 00 0C */ beq lbl_801A4B50 /* 801A4B48 001A1AA8 38 00 00 00 */ li r0, 0 /* 801A4B4C 001A1AAC 98 01 01 00 */ stb r0, 0x100(r1) lbl_801A4B50: /* 801A4B50 001A1AB0 7C A0 07 75 */ extsb. r0, r5 /* 801A4B54 001A1AB4 41 82 00 0C */ beq lbl_801A4B60 /* 801A4B58 001A1AB8 38 00 00 00 */ li r0, 0 /* 801A4B5C 001A1ABC 98 01 01 1C */ stb r0, 0x11c(r1) lbl_801A4B60: /* 801A4B60 001A1AC0 80 9E 0A B0 */ lwz r4, 0xab0(r30) /* 801A4B64 001A1AC4 38 A0 00 00 */ li r5, 0 /* 801A4B68 001A1AC8 3B A0 00 00 */ li r29, 0 /* 801A4B6C 001A1ACC 28 04 00 00 */ cmplwi r4, 0 /* 801A4B70 001A1AD0 41 82 00 24 */ beq lbl_801A4B94 /* 801A4B74 001A1AD4 81 84 00 00 */ lwz r12, 0(r4) /* 801A4B78 001A1AD8 38 61 00 CC */ addi r3, r1, 0xcc /* 801A4B7C 001A1ADC 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801A4B80 001A1AE0 7D 89 03 A6 */ mtctr r12 /* 801A4B84 001A1AE4 4E 80 04 21 */ bctrl /* 801A4B88 001A1AE8 38 61 00 CC */ addi r3, r1, 0xcc /* 801A4B8C 001A1AEC 38 A0 00 01 */ li r5, 1 /* 801A4B90 001A1AF0 48 00 00 14 */ b lbl_801A4BA4 lbl_801A4B94: /* 801A4B94 001A1AF4 38 00 00 00 */ li r0, 0 /* 801A4B98 001A1AF8 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801A4B9C 001A1AFC 98 01 00 C8 */ stb r0, 0xc8(r1) /* 801A4BA0 001A1B00 3B A0 00 01 */ li r29, 1 lbl_801A4BA4: /* 801A4BA4 001A1B04 88 03 00 18 */ lbz r0, 0x18(r3) /* 801A4BA8 001A1B08 28 00 00 00 */ cmplwi r0, 0 /* 801A4BAC 001A1B0C 98 01 01 DC */ stb r0, 0x1dc(r1) /* 801A4BB0 001A1B10 41 82 00 3C */ beq lbl_801A4BEC /* 801A4BB4 001A1B14 34 81 01 C4 */ addic. r4, r1, 0x1c4 /* 801A4BB8 001A1B18 41 82 00 34 */ beq lbl_801A4BEC /* 801A4BBC 001A1B1C C0 03 00 00 */ lfs f0, 0(r3) /* 801A4BC0 001A1B20 D0 04 00 00 */ stfs f0, 0(r4) /* 801A4BC4 001A1B24 C0 03 00 04 */ lfs f0, 4(r3) /* 801A4BC8 001A1B28 D0 04 00 04 */ stfs f0, 4(r4) /* 801A4BCC 001A1B2C C0 03 00 08 */ lfs f0, 8(r3) /* 801A4BD0 001A1B30 D0 04 00 08 */ stfs f0, 8(r4) /* 801A4BD4 001A1B34 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A4BD8 001A1B38 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801A4BDC 001A1B3C C0 03 00 10 */ lfs f0, 0x10(r3) /* 801A4BE0 001A1B40 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801A4BE4 001A1B44 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4BE8 001A1B48 D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801A4BEC: /* 801A4BEC 001A1B4C 7F A0 07 75 */ extsb. r0, r29 /* 801A4BF0 001A1B50 41 82 00 0C */ beq lbl_801A4BFC /* 801A4BF4 001A1B54 38 00 00 00 */ li r0, 0 /* 801A4BF8 001A1B58 98 01 00 C8 */ stb r0, 0xc8(r1) lbl_801A4BFC: /* 801A4BFC 001A1B5C 7C A0 07 75 */ extsb. r0, r5 /* 801A4C00 001A1B60 41 82 00 0C */ beq lbl_801A4C0C /* 801A4C04 001A1B64 38 00 00 00 */ li r0, 0 /* 801A4C08 001A1B68 98 01 00 E4 */ stb r0, 0xe4(r1) lbl_801A4C0C: /* 801A4C0C 001A1B6C 80 9E 0A C4 */ lwz r4, 0xac4(r30) /* 801A4C10 001A1B70 38 A0 00 00 */ li r5, 0 /* 801A4C14 001A1B74 3B A0 00 00 */ li r29, 0 /* 801A4C18 001A1B78 28 04 00 00 */ cmplwi r4, 0 /* 801A4C1C 001A1B7C 41 82 00 24 */ beq lbl_801A4C40 /* 801A4C20 001A1B80 81 84 00 00 */ lwz r12, 0(r4) /* 801A4C24 001A1B84 38 61 00 94 */ addi r3, r1, 0x94 /* 801A4C28 001A1B88 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801A4C2C 001A1B8C 7D 89 03 A6 */ mtctr r12 /* 801A4C30 001A1B90 4E 80 04 21 */ bctrl /* 801A4C34 001A1B94 38 61 00 94 */ addi r3, r1, 0x94 /* 801A4C38 001A1B98 38 A0 00 01 */ li r5, 1 /* 801A4C3C 001A1B9C 48 00 00 14 */ b lbl_801A4C50 lbl_801A4C40: /* 801A4C40 001A1BA0 38 00 00 00 */ li r0, 0 /* 801A4C44 001A1BA4 38 61 00 78 */ addi r3, r1, 0x78 /* 801A4C48 001A1BA8 98 01 00 90 */ stb r0, 0x90(r1) /* 801A4C4C 001A1BAC 3B A0 00 01 */ li r29, 1 lbl_801A4C50: /* 801A4C50 001A1BB0 88 03 00 18 */ lbz r0, 0x18(r3) /* 801A4C54 001A1BB4 28 00 00 00 */ cmplwi r0, 0 /* 801A4C58 001A1BB8 98 01 01 C0 */ stb r0, 0x1c0(r1) /* 801A4C5C 001A1BBC 41 82 00 3C */ beq lbl_801A4C98 /* 801A4C60 001A1BC0 34 81 01 A8 */ addic. r4, r1, 0x1a8 /* 801A4C64 001A1BC4 41 82 00 34 */ beq lbl_801A4C98 /* 801A4C68 001A1BC8 C0 03 00 00 */ lfs f0, 0(r3) /* 801A4C6C 001A1BCC D0 04 00 00 */ stfs f0, 0(r4) /* 801A4C70 001A1BD0 C0 03 00 04 */ lfs f0, 4(r3) /* 801A4C74 001A1BD4 D0 04 00 04 */ stfs f0, 4(r4) /* 801A4C78 001A1BD8 C0 03 00 08 */ lfs f0, 8(r3) /* 801A4C7C 001A1BDC D0 04 00 08 */ stfs f0, 8(r4) /* 801A4C80 001A1BE0 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A4C84 001A1BE4 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801A4C88 001A1BE8 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801A4C8C 001A1BEC D0 04 00 10 */ stfs f0, 0x10(r4) /* 801A4C90 001A1BF0 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4C94 001A1BF4 D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801A4C98: /* 801A4C98 001A1BF8 7F A0 07 75 */ extsb. r0, r29 /* 801A4C9C 001A1BFC 41 82 00 0C */ beq lbl_801A4CA8 /* 801A4CA0 001A1C00 38 00 00 00 */ li r0, 0 /* 801A4CA4 001A1C04 98 01 00 90 */ stb r0, 0x90(r1) lbl_801A4CA8: /* 801A4CA8 001A1C08 7C A0 07 75 */ extsb. r0, r5 /* 801A4CAC 001A1C0C 41 82 00 0C */ beq lbl_801A4CB8 /* 801A4CB0 001A1C10 38 00 00 00 */ li r0, 0 /* 801A4CB4 001A1C14 98 01 00 AC */ stb r0, 0xac(r1) lbl_801A4CB8: /* 801A4CB8 001A1C18 80 9E 0A D8 */ lwz r4, 0xad8(r30) /* 801A4CBC 001A1C1C 38 A0 00 00 */ li r5, 0 /* 801A4CC0 001A1C20 3B A0 00 00 */ li r29, 0 /* 801A4CC4 001A1C24 28 04 00 00 */ cmplwi r4, 0 /* 801A4CC8 001A1C28 41 82 00 24 */ beq lbl_801A4CEC /* 801A4CCC 001A1C2C 81 84 00 00 */ lwz r12, 0(r4) /* 801A4CD0 001A1C30 38 61 00 5C */ addi r3, r1, 0x5c /* 801A4CD4 001A1C34 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801A4CD8 001A1C38 7D 89 03 A6 */ mtctr r12 /* 801A4CDC 001A1C3C 4E 80 04 21 */ bctrl /* 801A4CE0 001A1C40 38 61 00 5C */ addi r3, r1, 0x5c /* 801A4CE4 001A1C44 38 A0 00 01 */ li r5, 1 /* 801A4CE8 001A1C48 48 00 00 14 */ b lbl_801A4CFC lbl_801A4CEC: /* 801A4CEC 001A1C4C 38 00 00 00 */ li r0, 0 /* 801A4CF0 001A1C50 38 61 00 40 */ addi r3, r1, 0x40 /* 801A4CF4 001A1C54 98 01 00 58 */ stb r0, 0x58(r1) /* 801A4CF8 001A1C58 3B A0 00 01 */ li r29, 1 lbl_801A4CFC: /* 801A4CFC 001A1C5C 88 03 00 18 */ lbz r0, 0x18(r3) /* 801A4D00 001A1C60 28 00 00 00 */ cmplwi r0, 0 /* 801A4D04 001A1C64 98 01 01 A4 */ stb r0, 0x1a4(r1) /* 801A4D08 001A1C68 41 82 00 3C */ beq lbl_801A4D44 /* 801A4D0C 001A1C6C 34 81 01 8C */ addic. r4, r1, 0x18c /* 801A4D10 001A1C70 41 82 00 34 */ beq lbl_801A4D44 /* 801A4D14 001A1C74 C0 03 00 00 */ lfs f0, 0(r3) /* 801A4D18 001A1C78 D0 04 00 00 */ stfs f0, 0(r4) /* 801A4D1C 001A1C7C C0 03 00 04 */ lfs f0, 4(r3) /* 801A4D20 001A1C80 D0 04 00 04 */ stfs f0, 4(r4) /* 801A4D24 001A1C84 C0 03 00 08 */ lfs f0, 8(r3) /* 801A4D28 001A1C88 D0 04 00 08 */ stfs f0, 8(r4) /* 801A4D2C 001A1C8C C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A4D30 001A1C90 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801A4D34 001A1C94 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801A4D38 001A1C98 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801A4D3C 001A1C9C C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4D40 001A1CA0 D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801A4D44: /* 801A4D44 001A1CA4 7F A0 07 75 */ extsb. r0, r29 /* 801A4D48 001A1CA8 41 82 00 0C */ beq lbl_801A4D54 /* 801A4D4C 001A1CAC 38 00 00 00 */ li r0, 0 /* 801A4D50 001A1CB0 98 01 00 58 */ stb r0, 0x58(r1) lbl_801A4D54: /* 801A4D54 001A1CB4 7C A0 07 75 */ extsb. r0, r5 /* 801A4D58 001A1CB8 41 82 00 0C */ beq lbl_801A4D64 /* 801A4D5C 001A1CBC 38 00 00 00 */ li r0, 0 /* 801A4D60 001A1CC0 98 01 00 74 */ stb r0, 0x74(r1) lbl_801A4D64: /* 801A4D64 001A1CC4 80 9E 0A D8 */ lwz r4, 0xad8(r30) /* 801A4D68 001A1CC8 38 A0 00 00 */ li r5, 0 /* 801A4D6C 001A1CCC 3B A0 00 00 */ li r29, 0 /* 801A4D70 001A1CD0 28 04 00 00 */ cmplwi r4, 0 /* 801A4D74 001A1CD4 41 82 00 24 */ beq lbl_801A4D98 /* 801A4D78 001A1CD8 81 84 00 00 */ lwz r12, 0(r4) /* 801A4D7C 001A1CDC 38 61 00 24 */ addi r3, r1, 0x24 /* 801A4D80 001A1CE0 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801A4D84 001A1CE4 7D 89 03 A6 */ mtctr r12 /* 801A4D88 001A1CE8 4E 80 04 21 */ bctrl /* 801A4D8C 001A1CEC 38 61 00 24 */ addi r3, r1, 0x24 /* 801A4D90 001A1CF0 38 A0 00 01 */ li r5, 1 /* 801A4D94 001A1CF4 48 00 00 14 */ b lbl_801A4DA8 lbl_801A4D98: /* 801A4D98 001A1CF8 38 00 00 00 */ li r0, 0 /* 801A4D9C 001A1CFC 38 61 00 08 */ addi r3, r1, 8 /* 801A4DA0 001A1D00 98 01 00 20 */ stb r0, 0x20(r1) /* 801A4DA4 001A1D04 3B A0 00 01 */ li r29, 1 lbl_801A4DA8: /* 801A4DA8 001A1D08 88 03 00 18 */ lbz r0, 0x18(r3) /* 801A4DAC 001A1D0C 28 00 00 00 */ cmplwi r0, 0 /* 801A4DB0 001A1D10 98 01 01 88 */ stb r0, 0x188(r1) /* 801A4DB4 001A1D14 41 82 00 3C */ beq lbl_801A4DF0 /* 801A4DB8 001A1D18 34 81 01 70 */ addic. r4, r1, 0x170 /* 801A4DBC 001A1D1C 41 82 00 34 */ beq lbl_801A4DF0 /* 801A4DC0 001A1D20 C0 03 00 00 */ lfs f0, 0(r3) /* 801A4DC4 001A1D24 D0 04 00 00 */ stfs f0, 0(r4) /* 801A4DC8 001A1D28 C0 03 00 04 */ lfs f0, 4(r3) /* 801A4DCC 001A1D2C D0 04 00 04 */ stfs f0, 4(r4) /* 801A4DD0 001A1D30 C0 03 00 08 */ lfs f0, 8(r3) /* 801A4DD4 001A1D34 D0 04 00 08 */ stfs f0, 8(r4) /* 801A4DD8 001A1D38 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A4DDC 001A1D3C D0 04 00 0C */ stfs f0, 0xc(r4) /* 801A4DE0 001A1D40 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801A4DE4 001A1D44 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801A4DE8 001A1D48 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4DEC 001A1D4C D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801A4DF0: /* 801A4DF0 001A1D50 7F A0 07 75 */ extsb. r0, r29 /* 801A4DF4 001A1D54 41 82 00 0C */ beq lbl_801A4E00 /* 801A4DF8 001A1D58 38 00 00 00 */ li r0, 0 /* 801A4DFC 001A1D5C 98 01 00 20 */ stb r0, 0x20(r1) lbl_801A4E00: /* 801A4E00 001A1D60 7C A0 07 75 */ extsb. r0, r5 /* 801A4E04 001A1D64 41 82 00 0C */ beq lbl_801A4E10 /* 801A4E08 001A1D68 38 00 00 00 */ li r0, 0 /* 801A4E0C 001A1D6C 98 01 00 3C */ stb r0, 0x3c(r1) lbl_801A4E10: /* 801A4E10 001A1D70 3C 60 80 5A */ lis r3, lbl_805A6754@ha /* 801A4E14 001A1D74 C4 A3 67 54 */ lfsu f5, lbl_805A6754@l(r3) /* 801A4E18 001A1D78 88 01 02 14 */ lbz r0, 0x214(r1) /* 801A4E1C 001A1D7C C0 83 00 04 */ lfs f4, 4(r3) /* 801A4E20 001A1D80 C0 63 00 08 */ lfs f3, 8(r3) /* 801A4E24 001A1D84 28 00 00 00 */ cmplwi r0, 0 /* 801A4E28 001A1D88 C0 43 00 0C */ lfs f2, 0xc(r3) /* 801A4E2C 001A1D8C C0 23 00 10 */ lfs f1, 0x10(r3) /* 801A4E30 001A1D90 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801A4E34 001A1D94 D0 A1 01 58 */ stfs f5, 0x158(r1) /* 801A4E38 001A1D98 D0 81 01 5C */ stfs f4, 0x15c(r1) /* 801A4E3C 001A1D9C D0 61 01 60 */ stfs f3, 0x160(r1) /* 801A4E40 001A1DA0 D0 41 01 64 */ stfs f2, 0x164(r1) /* 801A4E44 001A1DA4 D0 21 01 68 */ stfs f1, 0x168(r1) /* 801A4E48 001A1DA8 D0 01 01 6C */ stfs f0, 0x16c(r1) /* 801A4E4C 001A1DAC 41 82 00 20 */ beq lbl_801A4E6C /* 801A4E50 001A1DB0 3B A1 01 FC */ addi r29, r1, 0x1fc /* 801A4E54 001A1DB4 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4E58 001A1DB8 7F A4 EB 78 */ mr r4, r29 /* 801A4E5C 001A1DBC 48 19 2C AD */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A4E60 001A1DC0 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4E64 001A1DC4 38 9D 00 0C */ addi r4, r29, 0xc /* 801A4E68 001A1DC8 48 19 2C A1 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801A4E6C: /* 801A4E6C 001A1DCC 88 01 01 88 */ lbz r0, 0x188(r1) /* 801A4E70 001A1DD0 28 00 00 00 */ cmplwi r0, 0 /* 801A4E74 001A1DD4 41 82 00 20 */ beq lbl_801A4E94 /* 801A4E78 001A1DD8 3B A1 01 70 */ addi r29, r1, 0x170 /* 801A4E7C 001A1DDC 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4E80 001A1DE0 7F A4 EB 78 */ mr r4, r29 /* 801A4E84 001A1DE4 48 19 2C 85 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A4E88 001A1DE8 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4E8C 001A1DEC 38 9D 00 0C */ addi r4, r29, 0xc /* 801A4E90 001A1DF0 48 19 2C 79 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801A4E94: /* 801A4E94 001A1DF4 88 01 01 F8 */ lbz r0, 0x1f8(r1) /* 801A4E98 001A1DF8 28 00 00 00 */ cmplwi r0, 0 /* 801A4E9C 001A1DFC 41 82 00 20 */ beq lbl_801A4EBC /* 801A4EA0 001A1E00 3B A1 01 E0 */ addi r29, r1, 0x1e0 /* 801A4EA4 001A1E04 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4EA8 001A1E08 7F A4 EB 78 */ mr r4, r29 /* 801A4EAC 001A1E0C 48 19 2C 5D */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A4EB0 001A1E10 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4EB4 001A1E14 38 9D 00 0C */ addi r4, r29, 0xc /* 801A4EB8 001A1E18 48 19 2C 51 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801A4EBC: /* 801A4EBC 001A1E1C 88 01 01 DC */ lbz r0, 0x1dc(r1) /* 801A4EC0 001A1E20 28 00 00 00 */ cmplwi r0, 0 /* 801A4EC4 001A1E24 41 82 00 20 */ beq lbl_801A4EE4 /* 801A4EC8 001A1E28 3B A1 01 C4 */ addi r29, r1, 0x1c4 /* 801A4ECC 001A1E2C 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4ED0 001A1E30 7F A4 EB 78 */ mr r4, r29 /* 801A4ED4 001A1E34 48 19 2C 35 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A4ED8 001A1E38 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4EDC 001A1E3C 38 9D 00 0C */ addi r4, r29, 0xc /* 801A4EE0 001A1E40 48 19 2C 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801A4EE4: /* 801A4EE4 001A1E44 88 01 01 C0 */ lbz r0, 0x1c0(r1) /* 801A4EE8 001A1E48 28 00 00 00 */ cmplwi r0, 0 /* 801A4EEC 001A1E4C 41 82 00 20 */ beq lbl_801A4F0C /* 801A4EF0 001A1E50 3B A1 01 A8 */ addi r29, r1, 0x1a8 /* 801A4EF4 001A1E54 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4EF8 001A1E58 7F A4 EB 78 */ mr r4, r29 /* 801A4EFC 001A1E5C 48 19 2C 0D */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A4F00 001A1E60 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4F04 001A1E64 38 9D 00 0C */ addi r4, r29, 0xc /* 801A4F08 001A1E68 48 19 2C 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801A4F0C: /* 801A4F0C 001A1E6C 88 01 01 A4 */ lbz r0, 0x1a4(r1) /* 801A4F10 001A1E70 28 00 00 00 */ cmplwi r0, 0 /* 801A4F14 001A1E74 41 82 00 20 */ beq lbl_801A4F34 /* 801A4F18 001A1E78 3B A1 01 8C */ addi r29, r1, 0x18c /* 801A4F1C 001A1E7C 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4F20 001A1E80 7F A4 EB 78 */ mr r4, r29 /* 801A4F24 001A1E84 48 19 2B E5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A4F28 001A1E88 38 61 01 58 */ addi r3, r1, 0x158 /* 801A4F2C 001A1E8C 38 9D 00 0C */ addi r4, r29, 0xc /* 801A4F30 001A1E90 48 19 2B D9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801A4F34: /* 801A4F34 001A1E94 7F E3 FB 78 */ mr r3, r31 /* 801A4F38 001A1E98 38 81 01 58 */ addi r4, r1, 0x158 /* 801A4F3C 001A1E9C 48 1A 02 95 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox /* 801A4F40 001A1EA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A4F44 001A1EA4 41 82 00 84 */ beq lbl_801A4FC8 /* 801A4F48 001A1EA8 80 9E 0A EC */ lwz r4, 0xaec(r30) /* 801A4F4C 001A1EAC 28 04 00 00 */ cmplwi r4, 0 /* 801A4F50 001A1EB0 41 82 00 18 */ beq lbl_801A4F68 /* 801A4F54 001A1EB4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801A4F58 001A1EB8 81 83 00 00 */ lwz r12, 0(r3) /* 801A4F5C 001A1EBC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A4F60 001A1EC0 7D 89 03 A6 */ mtctr r12 /* 801A4F64 001A1EC4 4E 80 04 21 */ bctrl lbl_801A4F68: /* 801A4F68 001A1EC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801A4F6C 001A1ECC 80 9E 0A 9C */ lwz r4, 0xa9c(r30) /* 801A4F70 001A1ED0 81 83 00 00 */ lwz r12, 0(r3) /* 801A4F74 001A1ED4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A4F78 001A1ED8 7D 89 03 A6 */ mtctr r12 /* 801A4F7C 001A1EDC 4E 80 04 21 */ bctrl /* 801A4F80 001A1EE0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801A4F84 001A1EE4 80 9E 0A B0 */ lwz r4, 0xab0(r30) /* 801A4F88 001A1EE8 81 83 00 00 */ lwz r12, 0(r3) /* 801A4F8C 001A1EEC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A4F90 001A1EF0 7D 89 03 A6 */ mtctr r12 /* 801A4F94 001A1EF4 4E 80 04 21 */ bctrl /* 801A4F98 001A1EF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801A4F9C 001A1EFC 80 9E 0A C4 */ lwz r4, 0xac4(r30) /* 801A4FA0 001A1F00 81 83 00 00 */ lwz r12, 0(r3) /* 801A4FA4 001A1F04 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A4FA8 001A1F08 7D 89 03 A6 */ mtctr r12 /* 801A4FAC 001A1F0C 4E 80 04 21 */ bctrl /* 801A4FB0 001A1F10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801A4FB4 001A1F14 80 9E 0A D8 */ lwz r4, 0xad8(r30) /* 801A4FB8 001A1F18 81 83 00 00 */ lwz r12, 0(r3) /* 801A4FBC 001A1F1C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801A4FC0 001A1F20 7D 89 03 A6 */ mtctr r12 /* 801A4FC4 001A1F24 4E 80 04 21 */ bctrl lbl_801A4FC8: /* 801A4FC8 001A1F28 38 00 00 00 */ li r0, 0 /* 801A4FCC 001A1F2C 98 01 01 88 */ stb r0, 0x188(r1) /* 801A4FD0 001A1F30 98 01 01 A4 */ stb r0, 0x1a4(r1) /* 801A4FD4 001A1F34 98 01 01 C0 */ stb r0, 0x1c0(r1) /* 801A4FD8 001A1F38 98 01 01 DC */ stb r0, 0x1dc(r1) /* 801A4FDC 001A1F3C 98 01 01 F8 */ stb r0, 0x1f8(r1) /* 801A4FE0 001A1F40 98 01 02 14 */ stb r0, 0x214(r1) lbl_801A4FE4: /* 801A4FE4 001A1F44 80 01 02 34 */ lwz r0, 0x234(r1) /* 801A4FE8 001A1F48 83 E1 02 2C */ lwz r31, 0x22c(r1) /* 801A4FEC 001A1F4C 83 C1 02 28 */ lwz r30, 0x228(r1) /* 801A4FF0 001A1F50 83 A1 02 24 */ lwz r29, 0x224(r1) /* 801A4FF4 001A1F54 7C 08 03 A6 */ mtlr r0 /* 801A4FF8 001A1F58 38 21 02 30 */ addi r1, r1, 0x230 /* 801A4FFC 001A1F5C 4E 80 00 20 */ blr .global Render__12CIceSheegothCFRC13CStateManager Render__12CIceSheegothCFRC13CStateManager: /* 801A5000 001A1F60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A5004 001A1F64 7C 08 02 A6 */ mflr r0 /* 801A5008 001A1F68 90 01 00 14 */ stw r0, 0x14(r1) /* 801A500C 001A1F6C 4B ED 30 21 */ bl Render__10CPatternedCFRC13CStateManager /* 801A5010 001A1F70 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A5014 001A1F74 7C 08 03 A6 */ mtlr r0 /* 801A5018 001A1F78 38 21 00 10 */ addi r1, r1, 0x10 /* 801A501C 001A1F7C 4E 80 00 20 */ blr .global AcceptScriptMsg__12CIceSheegothF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__12CIceSheegothF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801A5020 001A1F80 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801A5024 001A1F84 7C 08 02 A6 */ mflr r0 /* 801A5028 001A1F88 90 01 01 04 */ stw r0, 0x104(r1) /* 801A502C 001A1F8C DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 801A5030 001A1F90 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 801A5034 001A1F94 BF 41 00 D8 */ stmw r26, 0xd8(r1) /* 801A5038 001A1F98 7C 9C 23 78 */ mr r28, r4 /* 801A503C 001A1F9C 7C 7F 1B 78 */ mr r31, r3 /* 801A5040 001A1FA0 28 1C 00 30 */ cmplwi r28, 0x30 /* 801A5044 001A1FA4 7C BD 2B 78 */ mr r29, r5 /* 801A5048 001A1FA8 7C DE 33 78 */ mr r30, r6 /* 801A504C 001A1FAC 41 81 06 C0 */ bgt lbl_801A570C /* 801A5050 001A1FB0 3C 80 80 3E */ lis r4, lbl_803E4A54@ha /* 801A5054 001A1FB4 57 80 10 3A */ slwi r0, r28, 2 /* 801A5058 001A1FB8 38 84 4A 54 */ addi r4, r4, lbl_803E4A54@l /* 801A505C 001A1FBC 7C 04 00 2E */ lwzx r0, r4, r0 /* 801A5060 001A1FC0 7C 09 03 A6 */ mtctr r0 /* 801A5064 001A1FC4 4E 80 04 20 */ bctr /* 801A5068 001A1FC8 81 83 00 00 */ lwz r12, 0(r3) /* 801A506C 001A1FCC 7F C4 F3 78 */ mr r4, r30 /* 801A5070 001A1FD0 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A5074 001A1FD4 81 8C 01 C0 */ lwz r12, 0x1c0(r12) /* 801A5078 001A1FD8 7D 89 03 A6 */ mtctr r12 /* 801A507C 001A1FDC 4E 80 04 21 */ bctrl /* 801A5080 001A1FE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A5084 001A1FE4 40 82 00 10 */ bne lbl_801A5094 /* 801A5088 001A1FE8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A508C 001A1FEC 38 80 00 00 */ li r4, 0 /* 801A5090 001A1FF0 4B F9 59 49 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType lbl_801A5094: /* 801A5094 001A1FF4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A5098 001A1FF8 7F C4 F3 78 */ mr r4, r30 /* 801A509C 001A1FFC 4B F9 5C 55 */ bl Activate__15CBodyControllerFR13CStateManager /* 801A50A0 001A2000 7F E3 FB 78 */ mr r3, r31 /* 801A50A4 001A2004 7F C4 F3 78 */ mr r4, r30 /* 801A50A8 001A2008 4B FF AF 41 */ bl sub_8019ffe8 /* 801A50AC 001A200C 7F E3 FB 78 */ mr r3, r31 /* 801A50B0 001A2010 7F C4 F3 78 */ mr r4, r30 /* 801A50B4 001A2014 4B FF A3 B5 */ bl CreateFlameThrower__12CIceSheegothFR13CStateManager /* 801A50B8 001A2018 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A50BC 001A201C 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801A50C0 001A2020 4B F8 ED ED */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 801A50C4 001A2024 FF E0 08 90 */ fmr f31, f1 /* 801A50C8 001A2028 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A50CC 001A202C FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801A50D0 001A2030 40 81 00 28 */ ble lbl_801A50F8 /* 801A50D4 001A2034 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801A50D8 001A2038 38 80 00 01 */ li r4, 1 /* 801A50DC 001A203C 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801A50E0 001A2040 4B F8 EC F5 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim /* 801A50E4 001A2044 C0 02 A7 E4 */ lfs f0, lbl_805AC504@sda21(r2) /* 801A50E8 001A2048 EC 00 00 72 */ fmuls f0, f0, f1 /* 801A50EC 001A204C EC 00 F8 24 */ fdivs f0, f0, f31 /* 801A50F0 001A2050 D0 1F 09 48 */ stfs f0, 0x948(r31) /* 801A50F4 001A2054 D0 1F 09 44 */ stfs f0, 0x944(r31) lbl_801A50F8: /* 801A50F8 001A2058 80 BF 04 50 */ lwz r5, 0x450(r31) /* 801A50FC 001A205C 38 00 00 01 */ li r0, 1 /* 801A5100 001A2060 80 82 A7 40 */ lwz r4, lbl_805AC460@sda21(r2) /* 801A5104 001A2064 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801A5108 001A2068 90 05 00 34 */ stw r0, 0x34(r5) /* 801A510C 001A206C 4B E5 FB AD */ bl string_l__4rstlFPCc /* 801A5110 001A2070 80 9F 00 64 */ lwz r4, 0x64(r31) /* 801A5114 001A2074 38 61 00 08 */ addi r3, r1, 8 /* 801A5118 001A2078 38 A1 00 C0 */ addi r5, r1, 0xc0 /* 801A511C 001A207C 80 84 00 10 */ lwz r4, 0x10(r4) /* 801A5120 001A2080 4B E8 97 19 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A5124 001A2084 88 01 00 08 */ lbz r0, 8(r1) /* 801A5128 001A2088 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801A512C 001A208C 98 1F 0A F4 */ stb r0, 0xaf4(r31) /* 801A5130 001A2090 48 19 89 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A5134 001A2094 48 00 05 D8 */ b lbl_801A570C /* 801A5138 001A2098 80 7F 0A 2C */ lwz r3, 0xa2c(r31) /* 801A513C 001A209C 7F C4 F3 78 */ mr r4, r30 /* 801A5140 001A20A0 38 A0 00 01 */ li r5, 1 /* 801A5144 001A20A4 48 00 21 B5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801A5148 001A20A8 48 00 05 C4 */ b lbl_801A570C /* 801A514C 001A20AC 80 7F 0A 2C */ lwz r3, 0xa2c(r31) /* 801A5150 001A20B0 7F C4 F3 78 */ mr r4, r30 /* 801A5154 001A20B4 38 A0 00 00 */ li r5, 0 /* 801A5158 001A20B8 48 00 21 A1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801A515C 001A20BC 48 00 05 B0 */ b lbl_801A570C /* 801A5160 001A20C0 80 7F 0A 2C */ lwz r3, 0xa2c(r31) /* 801A5164 001A20C4 7F C4 F3 78 */ mr r4, r30 /* 801A5168 001A20C8 48 00 22 5D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801A516C 001A20CC A0 7F 0A 80 */ lhz r3, 0xa80(r31) /* 801A5170 001A20D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A5174 001A20D4 7C 03 00 40 */ cmplw r3, r0 /* 801A5178 001A20D8 41 82 00 20 */ beq lbl_801A5198 /* 801A517C 001A20DC A0 1F 0A 80 */ lhz r0, 0xa80(r31) /* 801A5180 001A20E0 7F C3 F3 78 */ mr r3, r30 /* 801A5184 001A20E4 38 81 00 3C */ addi r4, r1, 0x3c /* 801A5188 001A20E8 B0 01 00 3C */ sth r0, 0x3c(r1) /* 801A518C 001A20EC 4B EA 70 E1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801A5190 001A20F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A5194 001A20F4 B0 1F 0A 80 */ sth r0, 0xa80(r31) lbl_801A5198: /* 801A5198 001A20F8 80 1F 0A F0 */ lwz r0, 0xaf0(r31) /* 801A519C 001A20FC 28 00 00 00 */ cmplwi r0, 0 /* 801A51A0 001A2100 41 82 05 6C */ beq lbl_801A570C /* 801A51A4 001A2104 80 1F 0A F0 */ lwz r0, 0xaf0(r31) /* 801A51A8 001A2108 38 61 00 50 */ addi r3, r1, 0x50 /* 801A51AC 001A210C 90 01 00 50 */ stw r0, 0x50(r1) /* 801A51B0 001A2110 48 14 4C D5 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 801A51B4 001A2114 48 00 05 58 */ b lbl_801A570C /* 801A51B8 001A2118 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A51BC 001A211C 38 60 00 01 */ li r3, 1 /* 801A51C0 001A2120 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A51C4 001A2124 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A51C8 001A2128 48 00 05 44 */ b lbl_801A570C /* 801A51CC 001A212C 80 BF 00 04 */ lwz r5, 4(r31) /* 801A51D0 001A2130 80 9E 08 50 */ lwz r4, 0x850(r30) /* 801A51D4 001A2134 54 A3 18 38 */ slwi r3, r5, 3 /* 801A51D8 001A2138 90 A1 00 54 */ stw r5, 0x54(r1) /* 801A51DC 001A213C 80 84 00 20 */ lwz r4, 0x20(r4) /* 801A51E0 001A2140 38 03 00 04 */ addi r0, r3, 4 /* 801A51E4 001A2144 90 A1 00 4C */ stw r5, 0x4c(r1) /* 801A51E8 001A2148 7C 84 00 2E */ lwzx r4, r4, r0 /* 801A51EC 001A214C 80 64 01 2C */ lwz r3, 0x12c(r4) /* 801A51F0 001A2150 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 801A51F4 001A2154 90 1F 07 60 */ stw r0, 0x760(r31) /* 801A51F8 001A2158 80 64 01 2C */ lwz r3, 0x12c(r4) /* 801A51FC 001A215C 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 801A5200 001A2160 90 1F 08 44 */ stw r0, 0x844(r31) /* 801A5204 001A2164 48 00 05 08 */ b lbl_801A570C /* 801A5208 001A2168 A0 1D 00 00 */ lhz r0, 0(r29) /* 801A520C 001A216C 7F C5 F3 78 */ mr r5, r30 /* 801A5210 001A2170 38 81 00 38 */ addi r4, r1, 0x38 /* 801A5214 001A2174 B0 01 00 38 */ sth r0, 0x38(r1) /* 801A5218 001A2178 4B FF B2 B9 */ bl sub_801a04d0 /* 801A521C 001A217C A0 1D 00 00 */ lhz r0, 0(r29) /* 801A5220 001A2180 7F C3 F3 78 */ mr r3, r30 /* 801A5224 001A2184 38 81 00 34 */ addi r4, r1, 0x34 /* 801A5228 001A2188 B0 01 00 34 */ sth r0, 0x34(r1) /* 801A522C 001A218C 4B EA 73 49 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A5230 001A2190 7C 64 1B 78 */ mr r4, r3 /* 801A5234 001A2194 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801A5238 001A2198 4B F0 A1 15 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A523C 001A219C 80 83 00 04 */ lwz r4, 4(r3) /* 801A5240 001A21A0 28 04 00 00 */ cmplwi r4, 0 /* 801A5244 001A21A4 41 82 04 C8 */ beq lbl_801A570C /* 801A5248 001A21A8 38 61 00 30 */ addi r3, r1, 0x30 /* 801A524C 001A21AC 48 00 39 41 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801A5250 001A21B0 A0 01 00 30 */ lhz r0, 0x30(r1) /* 801A5254 001A21B4 7F C3 F3 78 */ mr r3, r30 /* 801A5258 001A21B8 38 81 00 2C */ addi r4, r1, 0x2c /* 801A525C 001A21BC B0 01 00 48 */ sth r0, 0x48(r1) /* 801A5260 001A21C0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801A5264 001A21C4 4B EA 73 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A5268 001A21C8 7C 64 1B 78 */ mr r4, r3 /* 801A526C 001A21CC 38 61 00 68 */ addi r3, r1, 0x68 /* 801A5270 001A21D0 4B F0 06 29 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 801A5274 001A21D4 80 83 00 04 */ lwz r4, 4(r3) /* 801A5278 001A21D8 28 04 00 00 */ cmplwi r4, 0 /* 801A527C 001A21DC 41 82 04 90 */ beq lbl_801A570C /* 801A5280 001A21E0 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801A5284 001A21E4 A0 84 00 EC */ lhz r4, 0xec(r4) /* 801A5288 001A21E8 A0 03 00 08 */ lhz r0, 8(r3) /* 801A528C 001A21EC 7C 04 00 40 */ cmplw r4, r0 /* 801A5290 001A21F0 40 82 04 7C */ bne lbl_801A570C /* 801A5294 001A21F4 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A5298 001A21F8 38 60 00 01 */ li r3, 1 /* 801A529C 001A21FC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A52A0 001A2200 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A52A4 001A2204 48 00 04 68 */ b lbl_801A570C /* 801A52A8 001A2208 A0 1D 00 00 */ lhz r0, 0(r29) /* 801A52AC 001A220C 7F C3 F3 78 */ mr r3, r30 /* 801A52B0 001A2210 38 81 00 28 */ addi r4, r1, 0x28 /* 801A52B4 001A2214 B0 01 00 28 */ sth r0, 0x28(r1) /* 801A52B8 001A2218 4B EA 72 BD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A52BC 001A221C 7C 64 1B 78 */ mr r4, r3 /* 801A52C0 001A2220 38 61 00 98 */ addi r3, r1, 0x98 /* 801A52C4 001A2224 4B F0 A0 89 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A52C8 001A2228 83 43 00 04 */ lwz r26, 4(r3) /* 801A52CC 001A222C 28 1A 00 00 */ cmplwi r26, 0 /* 801A52D0 001A2230 41 82 02 20 */ beq lbl_801A54F0 /* 801A52D4 001A2234 7F 44 D3 78 */ mr r4, r26 /* 801A52D8 001A2238 38 61 00 24 */ addi r3, r1, 0x24 /* 801A52DC 001A223C 48 00 38 B1 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801A52E0 001A2240 A0 01 00 24 */ lhz r0, 0x24(r1) /* 801A52E4 001A2244 7F C3 F3 78 */ mr r3, r30 /* 801A52E8 001A2248 38 81 00 20 */ addi r4, r1, 0x20 /* 801A52EC 001A224C B0 01 00 44 */ sth r0, 0x44(r1) /* 801A52F0 001A2250 B0 01 00 20 */ sth r0, 0x20(r1) /* 801A52F4 001A2254 4B EA 72 B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A52F8 001A2258 7C 64 1B 78 */ mr r4, r3 /* 801A52FC 001A225C 38 61 00 60 */ addi r3, r1, 0x60 /* 801A5300 001A2260 4B F0 05 99 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 801A5304 001A2264 83 63 00 04 */ lwz r27, 4(r3) /* 801A5308 001A2268 28 1B 00 00 */ cmplwi r27, 0 /* 801A530C 001A226C 41 82 01 A0 */ beq lbl_801A54AC /* 801A5310 001A2270 A0 7D 00 00 */ lhz r3, 0(r29) /* 801A5314 001A2274 A0 1F 0A F6 */ lhz r0, 0xaf6(r31) /* 801A5318 001A2278 7C 03 00 40 */ cmplw r3, r0 /* 801A531C 001A227C 40 82 01 3C */ bne lbl_801A5458 /* 801A5320 001A2280 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A5324 001A2284 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801A5328 001A2288 40 82 01 30 */ bne lbl_801A5458 /* 801A532C 001A228C C0 3B 01 34 */ lfs f1, 0x134(r27) /* 801A5330 001A2290 7F E3 FB 78 */ mr r3, r31 /* 801A5334 001A2294 7F C4 F3 78 */ mr r4, r30 /* 801A5338 001A2298 4B FF 98 B9 */ bl sub_8019ebf0 /* 801A533C 001A229C 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 801A5340 001A22A0 28 03 00 00 */ cmplwi r3, 0 /* 801A5344 001A22A4 41 82 00 1C */ beq lbl_801A5360 /* 801A5348 001A22A8 81 83 00 00 */ lwz r12, 0(r3) /* 801A534C 001A22AC 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801A5350 001A22B0 7D 89 03 A6 */ mtctr r12 /* 801A5354 001A22B4 4E 80 04 21 */ bctrl /* 801A5358 001A22B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A535C 001A22BC 41 82 01 50 */ beq lbl_801A54AC lbl_801A5360: /* 801A5360 001A22C0 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A5364 001A22C4 3B 60 00 00 */ li r27, 0 /* 801A5368 001A22C8 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A536C 001A22CC 38 60 03 40 */ li r3, 0x340 /* 801A5370 001A22D0 38 84 00 8C */ addi r4, r4, 0x8c /* 801A5374 001A22D4 38 A0 00 00 */ li r5, 0 /* 801A5378 001A22D8 48 17 04 F5 */ bl __nw__FUlPCcPCc /* 801A537C 001A22DC 7C 7A 1B 79 */ or. r26, r3, r3 /* 801A5380 001A22E0 41 82 00 2C */ beq lbl_801A53AC /* 801A5384 001A22E4 38 61 00 90 */ addi r3, r1, 0x90 /* 801A5388 001A22E8 38 9F 0A DC */ addi r4, r31, 0xadc /* 801A538C 001A22EC 48 19 BB 1D */ bl __ct__6CTokenFRC6CToken /* 801A5390 001A22F0 7F 43 D3 78 */ mr r3, r26 /* 801A5394 001A22F4 38 81 00 90 */ addi r4, r1, 0x90 /* 801A5398 001A22F8 3B 60 00 01 */ li r27, 1 /* 801A539C 001A22FC 38 A0 00 00 */ li r5, 0 /* 801A53A0 001A2300 38 C0 00 01 */ li r6, 1 /* 801A53A4 001A2304 48 17 A0 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801A53A8 001A2308 7C 7A 1B 78 */ mr r26, r3 lbl_801A53AC: /* 801A53AC 001A230C 7C 1A 00 D0 */ neg r0, r26 /* 801A53B0 001A2310 38 61 00 88 */ addi r3, r1, 0x88 /* 801A53B4 001A2314 7C 04 D3 78 */ or r4, r0, r26 /* 801A53B8 001A2318 38 1F 0A E8 */ addi r0, r31, 0xae8 /* 801A53BC 001A231C 54 84 0F FE */ srwi r4, r4, 0x1f /* 801A53C0 001A2320 93 41 00 8C */ stw r26, 0x8c(r1) /* 801A53C4 001A2324 7C 03 00 40 */ cmplw r3, r0 /* 801A53C8 001A2328 98 81 00 88 */ stb r4, 0x88(r1) /* 801A53CC 001A232C 41 82 00 48 */ beq lbl_801A5414 /* 801A53D0 001A2330 88 1F 0A E8 */ lbz r0, 0xae8(r31) /* 801A53D4 001A2334 28 00 00 00 */ cmplwi r0, 0 /* 801A53D8 001A2338 41 82 00 24 */ beq lbl_801A53FC /* 801A53DC 001A233C 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 801A53E0 001A2340 28 03 00 00 */ cmplwi r3, 0 /* 801A53E4 001A2344 41 82 00 18 */ beq lbl_801A53FC /* 801A53E8 001A2348 81 83 00 00 */ lwz r12, 0(r3) /* 801A53EC 001A234C 38 80 00 01 */ li r4, 1 /* 801A53F0 001A2350 81 8C 00 08 */ lwz r12, 8(r12) /* 801A53F4 001A2354 7D 89 03 A6 */ mtctr r12 /* 801A53F8 001A2358 4E 80 04 21 */ bctrl lbl_801A53FC: /* 801A53FC 001A235C 88 61 00 88 */ lbz r3, 0x88(r1) /* 801A5400 001A2360 38 00 00 00 */ li r0, 0 /* 801A5404 001A2364 98 7F 0A E8 */ stb r3, 0xae8(r31) /* 801A5408 001A2368 80 61 00 8C */ lwz r3, 0x8c(r1) /* 801A540C 001A236C 90 7F 0A EC */ stw r3, 0xaec(r31) /* 801A5410 001A2370 98 01 00 88 */ stb r0, 0x88(r1) lbl_801A5414: /* 801A5414 001A2374 88 01 00 88 */ lbz r0, 0x88(r1) /* 801A5418 001A2378 28 00 00 00 */ cmplwi r0, 0 /* 801A541C 001A237C 41 82 00 24 */ beq lbl_801A5440 /* 801A5420 001A2380 80 61 00 8C */ lwz r3, 0x8c(r1) /* 801A5424 001A2384 28 03 00 00 */ cmplwi r3, 0 /* 801A5428 001A2388 41 82 00 18 */ beq lbl_801A5440 /* 801A542C 001A238C 81 83 00 00 */ lwz r12, 0(r3) /* 801A5430 001A2390 38 80 00 01 */ li r4, 1 /* 801A5434 001A2394 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5438 001A2398 7D 89 03 A6 */ mtctr r12 /* 801A543C 001A239C 4E 80 04 21 */ bctrl lbl_801A5440: /* 801A5440 001A23A0 7F 60 07 75 */ extsb. r0, r27 /* 801A5444 001A23A4 41 82 00 68 */ beq lbl_801A54AC /* 801A5448 001A23A8 38 61 00 90 */ addi r3, r1, 0x90 /* 801A544C 001A23AC 38 80 00 00 */ li r4, 0 /* 801A5450 001A23B0 48 19 B9 F1 */ bl __dt__6CTokenFv /* 801A5454 001A23B4 48 00 00 58 */ b lbl_801A54AC lbl_801A5458: /* 801A5458 001A23B8 81 9F 00 00 */ lwz r12, 0(r31) /* 801A545C 001A23BC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A5460 001A23C0 7F E3 FB 78 */ mr r3, r31 /* 801A5464 001A23C4 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A5468 001A23C8 81 8C 00 90 */ lwz r12, 0x90(r12) /* 801A546C 001A23CC 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801A5470 001A23D0 7D 89 03 A6 */ mtctr r12 /* 801A5474 001A23D4 4E 80 04 21 */ bctrl /* 801A5478 001A23D8 7F E3 FB 78 */ mr r3, r31 /* 801A547C 001A23DC 7F 44 D3 78 */ mr r4, r26 /* 801A5480 001A23E0 4B FF A7 C1 */ bl sub_8019fc40 /* 801A5484 001A23E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A5488 001A23E8 41 82 00 24 */ beq lbl_801A54AC /* 801A548C 001A23EC C0 02 A7 E8 */ lfs f0, lbl_805AC508@sda21(r2) /* 801A5490 001A23F0 D0 1F 09 7C */ stfs f0, 0x97c(r31) /* 801A5494 001A23F4 C0 5B 00 58 */ lfs f2, 0x58(r27) /* 801A5498 001A23F8 C0 3B 00 48 */ lfs f1, 0x48(r27) /* 801A549C 001A23FC C0 1B 00 38 */ lfs f0, 0x38(r27) /* 801A54A0 001A2400 D0 1F 09 80 */ stfs f0, 0x980(r31) /* 801A54A4 001A2404 D0 3F 09 84 */ stfs f1, 0x984(r31) /* 801A54A8 001A2408 D0 5F 09 88 */ stfs f2, 0x988(r31) lbl_801A54AC: /* 801A54AC 001A240C 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A54B0 001A2410 38 60 00 01 */ li r3, 1 /* 801A54B4 001A2414 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A54B8 001A2418 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A54BC 001A241C 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A54C0 001A2420 7F C3 F3 78 */ mr r3, r30 /* 801A54C4 001A2424 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801A54C8 001A2428 38 A0 00 00 */ li r5, 0 /* 801A54CC 001A242C D0 1F 09 68 */ stfs f0, 0x968(r31) /* 801A54D0 001A2430 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801A54D4 001A2434 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801A54D8 001A2438 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A54DC 001A243C D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801A54E0 001A2440 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 801A54E4 001A2444 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801A54E8 001A2448 4B EA 32 9D */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType /* 801A54EC 001A244C 48 00 02 20 */ b lbl_801A570C lbl_801A54F0: /* 801A54F0 001A2450 A0 1D 00 00 */ lhz r0, 0(r29) /* 801A54F4 001A2454 7F E3 FB 78 */ mr r3, r31 /* 801A54F8 001A2458 7F C4 F3 78 */ mr r4, r30 /* 801A54FC 001A245C 38 A1 00 1C */ addi r5, r1, 0x1c /* 801A5500 001A2460 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801A5504 001A2464 4B FF 92 71 */ bl sub_8019e774 /* 801A5508 001A2468 48 00 02 04 */ b lbl_801A570C /* 801A550C 001A246C A0 7D 00 00 */ lhz r3, 0(r29) /* 801A5510 001A2470 A0 1F 0A F6 */ lhz r0, 0xaf6(r31) /* 801A5514 001A2474 7C 03 00 40 */ cmplw r3, r0 /* 801A5518 001A2478 40 82 01 98 */ bne lbl_801A56B0 /* 801A551C 001A247C 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A5520 001A2480 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801A5524 001A2484 40 82 01 8C */ bne lbl_801A56B0 /* 801A5528 001A2488 B0 61 00 18 */ sth r3, 0x18(r1) /* 801A552C 001A248C 7F C3 F3 78 */ mr r3, r30 /* 801A5530 001A2490 38 81 00 18 */ addi r4, r1, 0x18 /* 801A5534 001A2494 4B EA 70 41 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A5538 001A2498 7C 64 1B 78 */ mr r4, r3 /* 801A553C 001A249C 38 61 00 80 */ addi r3, r1, 0x80 /* 801A5540 001A24A0 4B F0 9E 0D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A5544 001A24A4 80 83 00 04 */ lwz r4, 4(r3) /* 801A5548 001A24A8 28 04 00 00 */ cmplwi r4, 0 /* 801A554C 001A24AC 41 82 01 64 */ beq lbl_801A56B0 /* 801A5550 001A24B0 38 61 00 14 */ addi r3, r1, 0x14 /* 801A5554 001A24B4 48 00 36 39 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801A5558 001A24B8 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801A555C 001A24BC 7F C3 F3 78 */ mr r3, r30 /* 801A5560 001A24C0 38 81 00 10 */ addi r4, r1, 0x10 /* 801A5564 001A24C4 B0 01 00 40 */ sth r0, 0x40(r1) /* 801A5568 001A24C8 B0 01 00 10 */ sth r0, 0x10(r1) /* 801A556C 001A24CC 4B EA 70 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A5570 001A24D0 7C 64 1B 78 */ mr r4, r3 /* 801A5574 001A24D4 38 61 00 58 */ addi r3, r1, 0x58 /* 801A5578 001A24D8 4B F0 03 21 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 801A557C 001A24DC 80 63 00 04 */ lwz r3, 4(r3) /* 801A5580 001A24E0 28 03 00 00 */ cmplwi r3, 0 /* 801A5584 001A24E4 41 82 01 2C */ beq lbl_801A56B0 /* 801A5588 001A24E8 C0 23 01 34 */ lfs f1, 0x134(r3) /* 801A558C 001A24EC 7F E3 FB 78 */ mr r3, r31 /* 801A5590 001A24F0 7F C4 F3 78 */ mr r4, r30 /* 801A5594 001A24F4 4B FF 96 5D */ bl sub_8019ebf0 /* 801A5598 001A24F8 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 801A559C 001A24FC 28 03 00 00 */ cmplwi r3, 0 /* 801A55A0 001A2500 41 82 00 1C */ beq lbl_801A55BC /* 801A55A4 001A2504 81 83 00 00 */ lwz r12, 0(r3) /* 801A55A8 001A2508 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801A55AC 001A250C 7D 89 03 A6 */ mtctr r12 /* 801A55B0 001A2510 4E 80 04 21 */ bctrl /* 801A55B4 001A2514 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A55B8 001A2518 41 82 00 F8 */ beq lbl_801A56B0 lbl_801A55BC: /* 801A55BC 001A251C 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A55C0 001A2520 3B 60 00 00 */ li r27, 0 /* 801A55C4 001A2524 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A55C8 001A2528 38 60 03 40 */ li r3, 0x340 /* 801A55CC 001A252C 38 84 00 8C */ addi r4, r4, 0x8c /* 801A55D0 001A2530 38 A0 00 00 */ li r5, 0 /* 801A55D4 001A2534 48 17 02 99 */ bl __nw__FUlPCcPCc /* 801A55D8 001A2538 7C 7A 1B 79 */ or. r26, r3, r3 /* 801A55DC 001A253C 41 82 00 2C */ beq lbl_801A5608 /* 801A55E0 001A2540 38 61 00 78 */ addi r3, r1, 0x78 /* 801A55E4 001A2544 38 9F 0A DC */ addi r4, r31, 0xadc /* 801A55E8 001A2548 48 19 B8 C1 */ bl __ct__6CTokenFRC6CToken /* 801A55EC 001A254C 7F 43 D3 78 */ mr r3, r26 /* 801A55F0 001A2550 38 81 00 78 */ addi r4, r1, 0x78 /* 801A55F4 001A2554 3B 60 00 01 */ li r27, 1 /* 801A55F8 001A2558 38 A0 00 00 */ li r5, 0 /* 801A55FC 001A255C 38 C0 00 01 */ li r6, 1 /* 801A5600 001A2560 48 17 9D E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801A5604 001A2564 7C 7A 1B 78 */ mr r26, r3 lbl_801A5608: /* 801A5608 001A2568 7C 1A 00 D0 */ neg r0, r26 /* 801A560C 001A256C 38 61 00 70 */ addi r3, r1, 0x70 /* 801A5610 001A2570 7C 04 D3 78 */ or r4, r0, r26 /* 801A5614 001A2574 38 1F 0A E8 */ addi r0, r31, 0xae8 /* 801A5618 001A2578 54 84 0F FE */ srwi r4, r4, 0x1f /* 801A561C 001A257C 93 41 00 74 */ stw r26, 0x74(r1) /* 801A5620 001A2580 7C 03 00 40 */ cmplw r3, r0 /* 801A5624 001A2584 98 81 00 70 */ stb r4, 0x70(r1) /* 801A5628 001A2588 41 82 00 48 */ beq lbl_801A5670 /* 801A562C 001A258C 88 1F 0A E8 */ lbz r0, 0xae8(r31) /* 801A5630 001A2590 28 00 00 00 */ cmplwi r0, 0 /* 801A5634 001A2594 41 82 00 24 */ beq lbl_801A5658 /* 801A5638 001A2598 80 7F 0A EC */ lwz r3, 0xaec(r31) /* 801A563C 001A259C 28 03 00 00 */ cmplwi r3, 0 /* 801A5640 001A25A0 41 82 00 18 */ beq lbl_801A5658 /* 801A5644 001A25A4 81 83 00 00 */ lwz r12, 0(r3) /* 801A5648 001A25A8 38 80 00 01 */ li r4, 1 /* 801A564C 001A25AC 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5650 001A25B0 7D 89 03 A6 */ mtctr r12 /* 801A5654 001A25B4 4E 80 04 21 */ bctrl lbl_801A5658: /* 801A5658 001A25B8 88 61 00 70 */ lbz r3, 0x70(r1) /* 801A565C 001A25BC 38 00 00 00 */ li r0, 0 /* 801A5660 001A25C0 98 7F 0A E8 */ stb r3, 0xae8(r31) /* 801A5664 001A25C4 80 61 00 74 */ lwz r3, 0x74(r1) /* 801A5668 001A25C8 90 7F 0A EC */ stw r3, 0xaec(r31) /* 801A566C 001A25CC 98 01 00 70 */ stb r0, 0x70(r1) lbl_801A5670: /* 801A5670 001A25D0 88 01 00 70 */ lbz r0, 0x70(r1) /* 801A5674 001A25D4 28 00 00 00 */ cmplwi r0, 0 /* 801A5678 001A25D8 41 82 00 24 */ beq lbl_801A569C /* 801A567C 001A25DC 80 61 00 74 */ lwz r3, 0x74(r1) /* 801A5680 001A25E0 28 03 00 00 */ cmplwi r3, 0 /* 801A5684 001A25E4 41 82 00 18 */ beq lbl_801A569C /* 801A5688 001A25E8 81 83 00 00 */ lwz r12, 0(r3) /* 801A568C 001A25EC 38 80 00 01 */ li r4, 1 /* 801A5690 001A25F0 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5694 001A25F4 7D 89 03 A6 */ mtctr r12 /* 801A5698 001A25F8 4E 80 04 21 */ bctrl lbl_801A569C: /* 801A569C 001A25FC 7F 60 07 75 */ extsb. r0, r27 /* 801A56A0 001A2600 41 82 00 10 */ beq lbl_801A56B0 /* 801A56A4 001A2604 38 61 00 78 */ addi r3, r1, 0x78 /* 801A56A8 001A2608 38 80 00 00 */ li r4, 0 /* 801A56AC 001A260C 48 19 B7 95 */ bl __dt__6CTokenFv lbl_801A56B0: /* 801A56B0 001A2610 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801A56B4 001A2614 7F C3 F3 78 */ mr r3, r30 /* 801A56B8 001A2618 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801A56BC 001A261C 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801A56C0 001A2620 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A56C4 001A2624 38 A0 00 00 */ li r5, 0 /* 801A56C8 001A2628 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801A56CC 001A262C D0 21 00 AC */ stfs f1, 0xac(r1) /* 801A56D0 001A2630 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801A56D4 001A2634 4B EA 30 B1 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType /* 801A56D8 001A2638 88 1F 0B 28 */ lbz r0, 0xb28(r31) /* 801A56DC 001A263C 38 60 00 01 */ li r3, 1 /* 801A56E0 001A2640 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A56E4 001A2644 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A56E8 001A2648 98 1F 0B 28 */ stb r0, 0xb28(r31) /* 801A56EC 001A264C D0 1F 09 68 */ stfs f0, 0x968(r31) /* 801A56F0 001A2650 48 00 00 1C */ b lbl_801A570C /* 801A56F4 001A2654 80 7F 0A 2C */ lwz r3, 0xa2c(r31) /* 801A56F8 001A2658 28 03 00 00 */ cmplwi r3, 0 /* 801A56FC 001A265C 41 82 00 10 */ beq lbl_801A570C /* 801A5700 001A2660 7F C4 F3 78 */ mr r4, r30 /* 801A5704 001A2664 38 A0 00 00 */ li r5, 0 /* 801A5708 001A2668 48 00 17 B9 */ bl SetMovable__22CCollisionActorManagerFb lbl_801A570C: /* 801A570C 001A266C A0 1D 00 00 */ lhz r0, 0(r29) /* 801A5710 001A2670 7F E3 FB 78 */ mr r3, r31 /* 801A5714 001A2674 7F 84 E3 78 */ mr r4, r28 /* 801A5718 001A2678 7F C6 F3 78 */ mr r6, r30 /* 801A571C 001A267C B0 01 00 0C */ sth r0, 0xc(r1) /* 801A5720 001A2680 38 A1 00 0C */ addi r5, r1, 0xc /* 801A5724 001A2684 4B ED 74 55 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801A5728 001A2688 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 801A572C 001A268C CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 801A5730 001A2690 BB 41 00 D8 */ lmw r26, 0xd8(r1) /* 801A5734 001A2694 80 01 01 04 */ lwz r0, 0x104(r1) /* 801A5738 001A2698 7C 08 03 A6 */ mtlr r0 /* 801A573C 001A269C 38 21 01 00 */ addi r1, r1, 0x100 /* 801A5740 001A26A0 4E 80 00 20 */ blr .global Think__12CIceSheegothFfR13CStateManager Think__12CIceSheegothFfR13CStateManager: /* 801A5744 001A26A4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801A5748 001A26A8 7C 08 02 A6 */ mflr r0 /* 801A574C 001A26AC 90 01 00 54 */ stw r0, 0x54(r1) /* 801A5750 001A26B0 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801A5754 001A26B4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801A5758 001A26B8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801A575C 001A26BC 93 C1 00 38 */ stw r30, 0x38(r1) /* 801A5760 001A26C0 93 A1 00 34 */ stw r29, 0x34(r1) /* 801A5764 001A26C4 88 03 00 30 */ lbz r0, 0x30(r3) /* 801A5768 001A26C8 FF E0 08 90 */ fmr f31, f1 /* 801A576C 001A26CC 7C 7E 1B 78 */ mr r30, r3 /* 801A5770 001A26D0 7C 9F 23 78 */ mr r31, r4 /* 801A5774 001A26D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801A5778 001A26D8 41 82 02 0C */ beq lbl_801A5984 /* 801A577C 001A26DC 4B ED 43 9D */ bl Think__10CPatternedFfR13CStateManager /* 801A5780 001A26E0 7F C3 F3 78 */ mr r3, r30 /* 801A5784 001A26E4 7F E4 FB 78 */ mr r4, r31 /* 801A5788 001A26E8 4B FF B9 39 */ bl sub_801a10c0 /* 801A578C 001A26EC FC 20 F8 90 */ fmr f1, f31 /* 801A5790 001A26F0 7F C3 F3 78 */ mr r3, r30 /* 801A5794 001A26F4 4B FF B3 F9 */ bl sub_801a0b8c /* 801A5798 001A26F8 7F C3 F3 78 */ mr r3, r30 /* 801A579C 001A26FC 7F E4 FB 78 */ mr r4, r31 /* 801A57A0 001A2700 4B FF 8F 51 */ bl sub_8019e6f0 /* 801A57A4 001A2704 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801A57A8 001A2708 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801A57AC 001A270C 40 82 00 64 */ bne lbl_801A5810 /* 801A57B0 001A2710 C0 5E 06 DC */ lfs f2, 0x6dc(r30) /* 801A57B4 001A2714 C0 3E 09 74 */ lfs f1, 0x974(r30) /* 801A57B8 001A2718 C0 0D 8F FC */ lfs f0, lbl_805A7BBC@sda21(r13) /* 801A57BC 001A271C EC 3F 08 BC */ fnmsubs f1, f31, f2, f1 /* 801A57C0 001A2720 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801A57C4 001A2724 D0 21 00 08 */ stfs f1, 8(r1) /* 801A57C8 001A2728 40 80 00 0C */ bge lbl_801A57D4 /* 801A57CC 001A272C 38 61 00 08 */ addi r3, r1, 8 /* 801A57D0 001A2730 48 00 00 08 */ b lbl_801A57D8 lbl_801A57D4: /* 801A57D4 001A2734 38 6D 8F FC */ addi r3, r13, lbl_805A7BBC@sda21 lbl_801A57D8: /* 801A57D8 001A2738 C0 03 00 00 */ lfs f0, 0(r3) /* 801A57DC 001A273C D0 1E 09 74 */ stfs f0, 0x974(r30) /* 801A57E0 001A2740 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A57E4 001A2744 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801A57E8 001A2748 4B F8 E8 91 */ bl GetCurrentState__14CBodyStateInfoCFv /* 801A57EC 001A274C 81 83 00 00 */ lwz r12, 0(r3) /* 801A57F0 001A2750 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801A57F4 001A2754 7D 89 03 A6 */ mtctr r12 /* 801A57F8 001A2758 4E 80 04 21 */ bctrl /* 801A57FC 001A275C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801A5800 001A2760 41 82 00 10 */ beq lbl_801A5810 /* 801A5804 001A2764 7F C3 F3 78 */ mr r3, r30 /* 801A5808 001A2768 7F E4 FB 78 */ mr r4, r31 /* 801A580C 001A276C 4B FF 93 45 */ bl sub_8019eb50 lbl_801A5810: /* 801A5810 001A2770 C0 3E 09 6C */ lfs f1, 0x96c(r30) /* 801A5814 001A2774 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A5818 001A2778 EC 21 F8 28 */ fsubs f1, f1, f31 /* 801A581C 001A277C D0 3E 09 6C */ stfs f1, 0x96c(r30) /* 801A5820 001A2780 C0 3E 09 6C */ lfs f1, 0x96c(r30) /* 801A5824 001A2784 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A5828 001A2788 40 80 00 A0 */ bge lbl_801A58C8 /* 801A582C 001A278C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A5830 001A2790 C0 02 A7 60 */ lfs f0, lbl_805AC480@sda21(r2) /* 801A5834 001A2794 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A5838 001A2798 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801A583C 001A279C 3C 80 80 3E */ lis r4, lbl_803E10C8@ha /* 801A5840 001A27A0 90 01 00 18 */ stw r0, 0x18(r1) /* 801A5844 001A27A4 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l /* 801A5848 001A27A8 38 80 00 1A */ li r4, 0x1a /* 801A584C 001A27AC 38 A0 00 04 */ li r5, 4 /* 801A5850 001A27B0 38 00 00 00 */ li r0, 0 /* 801A5854 001A27B4 3B A3 00 04 */ addi r29, r3, 4 /* 801A5858 001A27B8 90 81 00 1C */ stw r4, 0x1c(r1) /* 801A585C 001A27BC 7F A3 EB 78 */ mr r3, r29 /* 801A5860 001A27C0 38 80 00 1A */ li r4, 0x1a /* 801A5864 001A27C4 90 C1 00 18 */ stw r6, 0x18(r1) /* 801A5868 001A27C8 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801A586C 001A27CC 90 A1 00 24 */ stw r5, 0x24(r1) /* 801A5870 001A27D0 98 01 00 28 */ stb r0, 0x28(r1) /* 801A5874 001A27D4 4B F8 BB C5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801A5878 001A27D8 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801A587C 001A27DC 3C 60 80 3E */ lis r3, lbl_803E10C8@ha /* 801A5880 001A27E0 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l /* 801A5884 001A27E4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801A5888 001A27E8 90 1D 02 88 */ stw r0, 0x288(r29) /* 801A588C 001A27EC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801A5890 001A27F0 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801A5894 001A27F4 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801A5898 001A27F8 D0 1D 02 8C */ stfs f0, 0x28c(r29) /* 801A589C 001A27FC 88 61 00 28 */ lbz r3, 0x28(r1) /* 801A58A0 001A2800 90 BD 02 90 */ stw r5, 0x290(r29) /* 801A58A4 001A2804 98 7D 02 94 */ stb r3, 0x294(r29) /* 801A58A8 001A2808 90 81 00 18 */ stw r4, 0x18(r1) /* 801A58AC 001A280C 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801A58B0 001A2810 90 01 00 18 */ stw r0, 0x18(r1) /* 801A58B4 001A2814 48 16 CC 29 */ bl Float__9CRandom16Fv /* 801A58B8 001A2818 C0 42 A7 6C */ lfs f2, lbl_805AC48C@sda21(r2) /* 801A58BC 001A281C C0 02 A7 74 */ lfs f0, lbl_805AC494@sda21(r2) /* 801A58C0 001A2820 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801A58C4 001A2824 D0 1E 09 6C */ stfs f0, 0x96c(r30) lbl_801A58C8: /* 801A58C8 001A2828 80 7E 00 64 */ lwz r3, 0x64(r30) /* 801A58CC 001A282C 80 63 00 10 */ lwz r3, 0x10(r3) /* 801A58D0 001A2830 4B E8 71 35 */ bl PreRender__9CAnimDataFv /* 801A58D4 001A2834 FC 20 F8 90 */ fmr f1, f31 /* 801A58D8 001A2838 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A58DC 001A283C 4B FD 00 CD */ bl Update__13CBoneTrackingFf /* 801A58E0 001A2840 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801A58E4 001A2844 7F E4 FB 78 */ mr r4, r31 /* 801A58E8 001A2848 81 1E 04 50 */ lwz r8, 0x450(r30) /* 801A58EC 001A284C 38 7E 09 F4 */ addi r3, r30, 0x9f4 /* 801A58F0 001A2850 C0 05 00 00 */ lfs f0, 0(r5) /* 801A58F4 001A2854 38 DE 00 34 */ addi r6, r30, 0x34 /* 801A58F8 001A2858 38 E1 00 0C */ addi r7, r1, 0xc /* 801A58FC 001A285C D0 01 00 0C */ stfs f0, 0xc(r1) /* 801A5900 001A2860 C0 05 00 04 */ lfs f0, 4(r5) /* 801A5904 001A2864 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801A5908 001A2868 C0 05 00 08 */ lfs f0, 8(r5) /* 801A590C 001A286C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801A5910 001A2870 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801A5914 001A2874 80 A5 00 10 */ lwz r5, 0x10(r5) /* 801A5918 001A2878 4B FC FF F9 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 801A591C 001A287C FC 20 F8 90 */ fmr f1, f31 /* 801A5920 001A2880 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A5924 001A2884 7F E4 FB 78 */ mr r4, r31 /* 801A5928 001A2888 38 A0 00 00 */ li r5, 0 /* 801A592C 001A288C 48 00 1B 25 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801A5930 001A2890 FC 20 F8 90 */ fmr f1, f31 /* 801A5934 001A2894 7F C3 F3 78 */ mr r3, r30 /* 801A5938 001A2898 7F E4 FB 78 */ mr r4, r31 /* 801A593C 001A289C 4B FF 8A 25 */ bl sub_8019e360 /* 801A5940 001A28A0 7F C3 F3 78 */ mr r3, r30 /* 801A5944 001A28A4 7F E4 FB 78 */ mr r4, r31 /* 801A5948 001A28A8 4B FF 9D 39 */ bl sub_8019f680 /* 801A594C 001A28AC FC 20 F8 90 */ fmr f1, f31 /* 801A5950 001A28B0 7F C3 F3 78 */ mr r3, r30 /* 801A5954 001A28B4 4B FF 9C 79 */ bl sub_8019f5cc /* 801A5958 001A28B8 FC 20 F8 90 */ fmr f1, f31 /* 801A595C 001A28BC 7F C3 F3 78 */ mr r3, r30 /* 801A5960 001A28C0 7F E4 FB 78 */ mr r4, r31 /* 801A5964 001A28C4 4B FF 94 BD */ bl sub_8019ee20 /* 801A5968 001A28C8 C0 3E 04 28 */ lfs f1, 0x428(r30) /* 801A596C 001A28CC 7F C3 F3 78 */ mr r3, r30 /* 801A5970 001A28D0 C0 02 A7 5C */ lfs f0, lbl_805AC47C@sda21(r2) /* 801A5974 001A28D4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A5978 001A28D8 7C 00 00 26 */ mfcr r0 /* 801A597C 001A28DC 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f /* 801A5980 001A28E0 4B ED 1E D5 */ bl UpdateThermalFrozenState__10CPatternedFb lbl_801A5984: /* 801A5984 001A28E4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801A5988 001A28E8 80 01 00 54 */ lwz r0, 0x54(r1) /* 801A598C 001A28EC CB E1 00 40 */ lfd f31, 0x40(r1) /* 801A5990 001A28F0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801A5994 001A28F4 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801A5998 001A28F8 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801A599C 001A28FC 7C 08 03 A6 */ mtlr r0 /* 801A59A0 001A2900 38 21 00 50 */ addi r1, r1, 0x50 /* 801A59A4 001A2904 4E 80 00 20 */ blr .global Accept__12CIceSheegothFR8IVisitor Accept__12CIceSheegothFR8IVisitor: /* 801A59A8 001A2908 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A59AC 001A290C 7C 08 02 A6 */ mflr r0 /* 801A59B0 001A2910 90 01 00 14 */ stw r0, 0x14(r1) /* 801A59B4 001A2914 7C 60 1B 78 */ mr r0, r3 /* 801A59B8 001A2918 7C 83 23 78 */ mr r3, r4 /* 801A59BC 001A291C 81 84 00 00 */ lwz r12, 0(r4) /* 801A59C0 001A2920 7C 04 03 78 */ mr r4, r0 /* 801A59C4 001A2924 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801A59C8 001A2928 7D 89 03 A6 */ mtctr r12 /* 801A59CC 001A292C 4E 80 04 21 */ bctrl /* 801A59D0 001A2930 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A59D4 001A2934 7C 08 03 A6 */ mtlr r0 /* 801A59D8 001A2938 38 21 00 10 */ addi r1, r1, 0x10 /* 801A59DC 001A293C 4E 80 00 20 */ blr .global __dt__12CIceSheegothFv __dt__12CIceSheegothFv: /* 801A59E0 001A2940 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A59E4 001A2944 7C 08 02 A6 */ mflr r0 /* 801A59E8 001A2948 90 01 00 14 */ stw r0, 0x14(r1) /* 801A59EC 001A294C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A59F0 001A2950 7C 9F 23 78 */ mr r31, r4 /* 801A59F4 001A2954 93 C1 00 08 */ stw r30, 8(r1) /* 801A59F8 001A2958 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A59FC 001A295C 41 82 04 24 */ beq lbl_801A5E20 /* 801A5A00 001A2960 3C 60 80 3E */ lis r3, lbl_803E4728@ha /* 801A5A04 001A2964 34 1E 0B 1C */ addic. r0, r30, 0xb1c /* 801A5A08 001A2968 38 03 47 28 */ addi r0, r3, lbl_803E4728@l /* 801A5A0C 001A296C 90 1E 00 00 */ stw r0, 0(r30) /* 801A5A10 001A2970 41 82 00 58 */ beq lbl_801A5A68 /* 801A5A14 001A2974 80 BE 0B 1C */ lwz r5, 0xb1c(r30) /* 801A5A18 001A2978 38 60 00 00 */ li r3, 0 /* 801A5A1C 001A297C 2C 05 00 00 */ cmpwi r5, 0 /* 801A5A20 001A2980 40 81 00 40 */ ble lbl_801A5A60 /* 801A5A24 001A2984 2C 05 00 08 */ cmpwi r5, 8 /* 801A5A28 001A2988 38 85 FF F8 */ addi r4, r5, -8 /* 801A5A2C 001A298C 40 81 00 20 */ ble lbl_801A5A4C /* 801A5A30 001A2990 38 04 00 07 */ addi r0, r4, 7 /* 801A5A34 001A2994 54 00 E8 FE */ srwi r0, r0, 3 /* 801A5A38 001A2998 7C 09 03 A6 */ mtctr r0 /* 801A5A3C 001A299C 2C 04 00 00 */ cmpwi r4, 0 /* 801A5A40 001A29A0 40 81 00 0C */ ble lbl_801A5A4C lbl_801A5A44: /* 801A5A44 001A29A4 38 63 00 08 */ addi r3, r3, 8 /* 801A5A48 001A29A8 42 00 FF FC */ bdnz lbl_801A5A44 lbl_801A5A4C: /* 801A5A4C 001A29AC 7C 03 28 50 */ subf r0, r3, r5 /* 801A5A50 001A29B0 7C 09 03 A6 */ mtctr r0 /* 801A5A54 001A29B4 7C 03 28 00 */ cmpw r3, r5 /* 801A5A58 001A29B8 40 80 00 08 */ bge lbl_801A5A60 lbl_801A5A5C: /* 801A5A5C 001A29BC 42 00 00 00 */ bdnz lbl_801A5A5C lbl_801A5A60: /* 801A5A60 001A29C0 38 00 00 00 */ li r0, 0 /* 801A5A64 001A29C4 90 1E 0B 1C */ stw r0, 0xb1c(r30) lbl_801A5A68: /* 801A5A68 001A29C8 34 1E 0B 04 */ addic. r0, r30, 0xb04 /* 801A5A6C 001A29CC 41 82 00 58 */ beq lbl_801A5AC4 /* 801A5A70 001A29D0 80 BE 0B 04 */ lwz r5, 0xb04(r30) /* 801A5A74 001A29D4 38 60 00 00 */ li r3, 0 /* 801A5A78 001A29D8 2C 05 00 00 */ cmpwi r5, 0 /* 801A5A7C 001A29DC 40 81 00 40 */ ble lbl_801A5ABC /* 801A5A80 001A29E0 2C 05 00 08 */ cmpwi r5, 8 /* 801A5A84 001A29E4 38 85 FF F8 */ addi r4, r5, -8 /* 801A5A88 001A29E8 40 81 00 20 */ ble lbl_801A5AA8 /* 801A5A8C 001A29EC 38 04 00 07 */ addi r0, r4, 7 /* 801A5A90 001A29F0 54 00 E8 FE */ srwi r0, r0, 3 /* 801A5A94 001A29F4 7C 09 03 A6 */ mtctr r0 /* 801A5A98 001A29F8 2C 04 00 00 */ cmpwi r4, 0 /* 801A5A9C 001A29FC 40 81 00 0C */ ble lbl_801A5AA8 lbl_801A5AA0: /* 801A5AA0 001A2A00 38 63 00 08 */ addi r3, r3, 8 /* 801A5AA4 001A2A04 42 00 FF FC */ bdnz lbl_801A5AA0 lbl_801A5AA8: /* 801A5AA8 001A2A08 7C 03 28 50 */ subf r0, r3, r5 /* 801A5AAC 001A2A0C 7C 09 03 A6 */ mtctr r0 /* 801A5AB0 001A2A10 7C 03 28 00 */ cmpw r3, r5 /* 801A5AB4 001A2A14 40 80 00 08 */ bge lbl_801A5ABC lbl_801A5AB8: /* 801A5AB8 001A2A18 42 00 00 00 */ bdnz lbl_801A5AB8 lbl_801A5ABC: /* 801A5ABC 001A2A1C 38 00 00 00 */ li r0, 0 /* 801A5AC0 001A2A20 90 1E 0B 04 */ stw r0, 0xb04(r30) lbl_801A5AC4: /* 801A5AC4 001A2A24 34 1E 0A FC */ addic. r0, r30, 0xafc /* 801A5AC8 001A2A28 41 82 00 58 */ beq lbl_801A5B20 /* 801A5ACC 001A2A2C 80 BE 0A FC */ lwz r5, 0xafc(r30) /* 801A5AD0 001A2A30 38 60 00 00 */ li r3, 0 /* 801A5AD4 001A2A34 2C 05 00 00 */ cmpwi r5, 0 /* 801A5AD8 001A2A38 40 81 00 40 */ ble lbl_801A5B18 /* 801A5ADC 001A2A3C 2C 05 00 08 */ cmpwi r5, 8 /* 801A5AE0 001A2A40 38 85 FF F8 */ addi r4, r5, -8 /* 801A5AE4 001A2A44 40 81 00 20 */ ble lbl_801A5B04 /* 801A5AE8 001A2A48 38 04 00 07 */ addi r0, r4, 7 /* 801A5AEC 001A2A4C 54 00 E8 FE */ srwi r0, r0, 3 /* 801A5AF0 001A2A50 7C 09 03 A6 */ mtctr r0 /* 801A5AF4 001A2A54 2C 04 00 00 */ cmpwi r4, 0 /* 801A5AF8 001A2A58 40 81 00 0C */ ble lbl_801A5B04 lbl_801A5AFC: /* 801A5AFC 001A2A5C 38 63 00 08 */ addi r3, r3, 8 /* 801A5B00 001A2A60 42 00 FF FC */ bdnz lbl_801A5AFC lbl_801A5B04: /* 801A5B04 001A2A64 7C 03 28 50 */ subf r0, r3, r5 /* 801A5B08 001A2A68 7C 09 03 A6 */ mtctr r0 /* 801A5B0C 001A2A6C 7C 03 28 00 */ cmpw r3, r5 /* 801A5B10 001A2A70 40 80 00 08 */ bge lbl_801A5B18 lbl_801A5B14: /* 801A5B14 001A2A74 42 00 00 00 */ bdnz lbl_801A5B14 lbl_801A5B18: /* 801A5B18 001A2A78 38 00 00 00 */ li r0, 0 /* 801A5B1C 001A2A7C 90 1E 0A FC */ stw r0, 0xafc(r30) lbl_801A5B20: /* 801A5B20 001A2A80 34 1E 0A E8 */ addic. r0, r30, 0xae8 /* 801A5B24 001A2A84 41 82 00 30 */ beq lbl_801A5B54 /* 801A5B28 001A2A88 88 1E 0A E8 */ lbz r0, 0xae8(r30) /* 801A5B2C 001A2A8C 28 00 00 00 */ cmplwi r0, 0 /* 801A5B30 001A2A90 41 82 00 24 */ beq lbl_801A5B54 /* 801A5B34 001A2A94 80 7E 0A EC */ lwz r3, 0xaec(r30) /* 801A5B38 001A2A98 28 03 00 00 */ cmplwi r3, 0 /* 801A5B3C 001A2A9C 41 82 00 18 */ beq lbl_801A5B54 /* 801A5B40 001A2AA0 81 83 00 00 */ lwz r12, 0(r3) /* 801A5B44 001A2AA4 38 80 00 01 */ li r4, 1 /* 801A5B48 001A2AA8 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5B4C 001A2AAC 7D 89 03 A6 */ mtctr r12 /* 801A5B50 001A2AB0 4E 80 04 21 */ bctrl lbl_801A5B54: /* 801A5B54 001A2AB4 34 1E 0A DC */ addic. r0, r30, 0xadc /* 801A5B58 001A2AB8 41 82 00 18 */ beq lbl_801A5B70 /* 801A5B5C 001A2ABC 34 1E 0A DC */ addic. r0, r30, 0xadc /* 801A5B60 001A2AC0 41 82 00 10 */ beq lbl_801A5B70 /* 801A5B64 001A2AC4 38 7E 0A DC */ addi r3, r30, 0xadc /* 801A5B68 001A2AC8 38 80 00 00 */ li r4, 0 /* 801A5B6C 001A2ACC 48 19 B2 D5 */ bl __dt__6CTokenFv lbl_801A5B70: /* 801A5B70 001A2AD0 34 1E 0A D4 */ addic. r0, r30, 0xad4 /* 801A5B74 001A2AD4 41 82 00 30 */ beq lbl_801A5BA4 /* 801A5B78 001A2AD8 88 1E 0A D4 */ lbz r0, 0xad4(r30) /* 801A5B7C 001A2ADC 28 00 00 00 */ cmplwi r0, 0 /* 801A5B80 001A2AE0 41 82 00 24 */ beq lbl_801A5BA4 /* 801A5B84 001A2AE4 80 7E 0A D8 */ lwz r3, 0xad8(r30) /* 801A5B88 001A2AE8 28 03 00 00 */ cmplwi r3, 0 /* 801A5B8C 001A2AEC 41 82 00 18 */ beq lbl_801A5BA4 /* 801A5B90 001A2AF0 81 83 00 00 */ lwz r12, 0(r3) /* 801A5B94 001A2AF4 38 80 00 01 */ li r4, 1 /* 801A5B98 001A2AF8 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5B9C 001A2AFC 7D 89 03 A6 */ mtctr r12 /* 801A5BA0 001A2B00 4E 80 04 21 */ bctrl lbl_801A5BA4: /* 801A5BA4 001A2B04 34 1E 0A C8 */ addic. r0, r30, 0xac8 /* 801A5BA8 001A2B08 41 82 00 18 */ beq lbl_801A5BC0 /* 801A5BAC 001A2B0C 34 1E 0A C8 */ addic. r0, r30, 0xac8 /* 801A5BB0 001A2B10 41 82 00 10 */ beq lbl_801A5BC0 /* 801A5BB4 001A2B14 38 7E 0A C8 */ addi r3, r30, 0xac8 /* 801A5BB8 001A2B18 38 80 00 00 */ li r4, 0 /* 801A5BBC 001A2B1C 48 19 B2 85 */ bl __dt__6CTokenFv lbl_801A5BC0: /* 801A5BC0 001A2B20 34 1E 0A C0 */ addic. r0, r30, 0xac0 /* 801A5BC4 001A2B24 41 82 00 30 */ beq lbl_801A5BF4 /* 801A5BC8 001A2B28 88 1E 0A C0 */ lbz r0, 0xac0(r30) /* 801A5BCC 001A2B2C 28 00 00 00 */ cmplwi r0, 0 /* 801A5BD0 001A2B30 41 82 00 24 */ beq lbl_801A5BF4 /* 801A5BD4 001A2B34 80 7E 0A C4 */ lwz r3, 0xac4(r30) /* 801A5BD8 001A2B38 28 03 00 00 */ cmplwi r3, 0 /* 801A5BDC 001A2B3C 41 82 00 18 */ beq lbl_801A5BF4 /* 801A5BE0 001A2B40 81 83 00 00 */ lwz r12, 0(r3) /* 801A5BE4 001A2B44 38 80 00 01 */ li r4, 1 /* 801A5BE8 001A2B48 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5BEC 001A2B4C 7D 89 03 A6 */ mtctr r12 /* 801A5BF0 001A2B50 4E 80 04 21 */ bctrl lbl_801A5BF4: /* 801A5BF4 001A2B54 34 1E 0A B4 */ addic. r0, r30, 0xab4 /* 801A5BF8 001A2B58 41 82 00 18 */ beq lbl_801A5C10 /* 801A5BFC 001A2B5C 34 1E 0A B4 */ addic. r0, r30, 0xab4 /* 801A5C00 001A2B60 41 82 00 10 */ beq lbl_801A5C10 /* 801A5C04 001A2B64 38 7E 0A B4 */ addi r3, r30, 0xab4 /* 801A5C08 001A2B68 38 80 00 00 */ li r4, 0 /* 801A5C0C 001A2B6C 48 19 B2 35 */ bl __dt__6CTokenFv lbl_801A5C10: /* 801A5C10 001A2B70 34 1E 0A AC */ addic. r0, r30, 0xaac /* 801A5C14 001A2B74 41 82 00 30 */ beq lbl_801A5C44 /* 801A5C18 001A2B78 88 1E 0A AC */ lbz r0, 0xaac(r30) /* 801A5C1C 001A2B7C 28 00 00 00 */ cmplwi r0, 0 /* 801A5C20 001A2B80 41 82 00 24 */ beq lbl_801A5C44 /* 801A5C24 001A2B84 80 7E 0A B0 */ lwz r3, 0xab0(r30) /* 801A5C28 001A2B88 28 03 00 00 */ cmplwi r3, 0 /* 801A5C2C 001A2B8C 41 82 00 18 */ beq lbl_801A5C44 /* 801A5C30 001A2B90 81 83 00 00 */ lwz r12, 0(r3) /* 801A5C34 001A2B94 38 80 00 01 */ li r4, 1 /* 801A5C38 001A2B98 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5C3C 001A2B9C 7D 89 03 A6 */ mtctr r12 /* 801A5C40 001A2BA0 4E 80 04 21 */ bctrl lbl_801A5C44: /* 801A5C44 001A2BA4 34 1E 0A A0 */ addic. r0, r30, 0xaa0 /* 801A5C48 001A2BA8 41 82 00 18 */ beq lbl_801A5C60 /* 801A5C4C 001A2BAC 34 1E 0A A0 */ addic. r0, r30, 0xaa0 /* 801A5C50 001A2BB0 41 82 00 10 */ beq lbl_801A5C60 /* 801A5C54 001A2BB4 38 7E 0A A0 */ addi r3, r30, 0xaa0 /* 801A5C58 001A2BB8 38 80 00 00 */ li r4, 0 /* 801A5C5C 001A2BBC 48 19 B1 E5 */ bl __dt__6CTokenFv lbl_801A5C60: /* 801A5C60 001A2BC0 34 1E 0A 98 */ addic. r0, r30, 0xa98 /* 801A5C64 001A2BC4 41 82 00 30 */ beq lbl_801A5C94 /* 801A5C68 001A2BC8 88 1E 0A 98 */ lbz r0, 0xa98(r30) /* 801A5C6C 001A2BCC 28 00 00 00 */ cmplwi r0, 0 /* 801A5C70 001A2BD0 41 82 00 24 */ beq lbl_801A5C94 /* 801A5C74 001A2BD4 80 7E 0A 9C */ lwz r3, 0xa9c(r30) /* 801A5C78 001A2BD8 28 03 00 00 */ cmplwi r3, 0 /* 801A5C7C 001A2BDC 41 82 00 18 */ beq lbl_801A5C94 /* 801A5C80 001A2BE0 81 83 00 00 */ lwz r12, 0(r3) /* 801A5C84 001A2BE4 38 80 00 01 */ li r4, 1 /* 801A5C88 001A2BE8 81 8C 00 08 */ lwz r12, 8(r12) /* 801A5C8C 001A2BEC 7D 89 03 A6 */ mtctr r12 /* 801A5C90 001A2BF0 4E 80 04 21 */ bctrl lbl_801A5C94: /* 801A5C94 001A2BF4 34 1E 0A 8C */ addic. r0, r30, 0xa8c /* 801A5C98 001A2BF8 41 82 00 18 */ beq lbl_801A5CB0 /* 801A5C9C 001A2BFC 34 1E 0A 8C */ addic. r0, r30, 0xa8c /* 801A5CA0 001A2C00 41 82 00 10 */ beq lbl_801A5CB0 /* 801A5CA4 001A2C04 38 7E 0A 8C */ addi r3, r30, 0xa8c /* 801A5CA8 001A2C08 38 80 00 00 */ li r4, 0 /* 801A5CAC 001A2C0C 48 19 B1 95 */ bl __dt__6CTokenFv lbl_801A5CB0: /* 801A5CB0 001A2C10 34 1E 0A 84 */ addic. r0, r30, 0xa84 /* 801A5CB4 001A2C14 41 82 00 10 */ beq lbl_801A5CC4 /* 801A5CB8 001A2C18 38 7E 0A 84 */ addi r3, r30, 0xa84 /* 801A5CBC 001A2C1C 38 80 00 00 */ li r4, 0 /* 801A5CC0 001A2C20 48 19 B1 81 */ bl __dt__6CTokenFv lbl_801A5CC4: /* 801A5CC4 001A2C24 34 1E 0A 58 */ addic. r0, r30, 0xa58 /* 801A5CC8 001A2C28 41 82 00 20 */ beq lbl_801A5CE8 /* 801A5CCC 001A2C2C 34 1E 0A 58 */ addic. r0, r30, 0xa58 /* 801A5CD0 001A2C30 41 82 00 18 */ beq lbl_801A5CE8 /* 801A5CD4 001A2C34 34 1E 0A 58 */ addic. r0, r30, 0xa58 /* 801A5CD8 001A2C38 41 82 00 10 */ beq lbl_801A5CE8 /* 801A5CDC 001A2C3C 38 7E 0A 58 */ addi r3, r30, 0xa58 /* 801A5CE0 001A2C40 38 80 00 00 */ li r4, 0 /* 801A5CE4 001A2C44 48 19 B1 5D */ bl __dt__6CTokenFv lbl_801A5CE8: /* 801A5CE8 001A2C48 34 1E 0A 30 */ addic. r0, r30, 0xa30 /* 801A5CEC 001A2C4C 41 82 00 24 */ beq lbl_801A5D10 /* 801A5CF0 001A2C50 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 801A5CF4 001A2C54 34 1E 0A 30 */ addic. r0, r30, 0xa30 /* 801A5CF8 001A2C58 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 801A5CFC 001A2C5C 90 1E 0A 30 */ stw r0, 0xa30(r30) /* 801A5D00 001A2C60 41 82 00 10 */ beq lbl_801A5D10 /* 801A5D04 001A2C64 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 801A5D08 001A2C68 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l /* 801A5D0C 001A2C6C 90 1E 0A 30 */ stw r0, 0xa30(r30) lbl_801A5D10: /* 801A5D10 001A2C70 34 1E 0A 2C */ addic. r0, r30, 0xa2c /* 801A5D14 001A2C74 41 82 00 10 */ beq lbl_801A5D24 /* 801A5D18 001A2C78 80 7E 0A 2C */ lwz r3, 0xa2c(r30) /* 801A5D1C 001A2C7C 38 80 00 01 */ li r4, 1 /* 801A5D20 001A2C80 48 00 1B BD */ bl sub_801a78dc lbl_801A5D24: /* 801A5D24 001A2C84 34 1E 09 F4 */ addic. r0, r30, 0x9f4 /* 801A5D28 001A2C88 41 82 00 14 */ beq lbl_801A5D3C /* 801A5D2C 001A2C8C 34 1E 0A 18 */ addic. r0, r30, 0xa18 /* 801A5D30 001A2C90 41 82 00 0C */ beq lbl_801A5D3C /* 801A5D34 001A2C94 38 00 00 00 */ li r0, 0 /* 801A5D38 001A2C98 98 1E 0A 24 */ stb r0, 0xa24(r30) lbl_801A5D3C: /* 801A5D3C 001A2C9C 34 1E 08 44 */ addic. r0, r30, 0x844 /* 801A5D40 001A2CA0 41 82 00 60 */ beq lbl_801A5DA0 /* 801A5D44 001A2CA4 34 1E 08 48 */ addic. r0, r30, 0x848 /* 801A5D48 001A2CA8 41 82 00 58 */ beq lbl_801A5DA0 /* 801A5D4C 001A2CAC 80 BE 08 48 */ lwz r5, 0x848(r30) /* 801A5D50 001A2CB0 38 60 00 00 */ li r3, 0 /* 801A5D54 001A2CB4 2C 05 00 00 */ cmpwi r5, 0 /* 801A5D58 001A2CB8 40 81 00 40 */ ble lbl_801A5D98 /* 801A5D5C 001A2CBC 2C 05 00 08 */ cmpwi r5, 8 /* 801A5D60 001A2CC0 38 85 FF F8 */ addi r4, r5, -8 /* 801A5D64 001A2CC4 40 81 00 20 */ ble lbl_801A5D84 /* 801A5D68 001A2CC8 38 04 00 07 */ addi r0, r4, 7 /* 801A5D6C 001A2CCC 54 00 E8 FE */ srwi r0, r0, 3 /* 801A5D70 001A2CD0 7C 09 03 A6 */ mtctr r0 /* 801A5D74 001A2CD4 2C 04 00 00 */ cmpwi r4, 0 /* 801A5D78 001A2CD8 40 81 00 0C */ ble lbl_801A5D84 lbl_801A5D7C: /* 801A5D7C 001A2CDC 38 63 00 08 */ addi r3, r3, 8 /* 801A5D80 001A2CE0 42 00 FF FC */ bdnz lbl_801A5D7C lbl_801A5D84: /* 801A5D84 001A2CE4 7C 03 28 50 */ subf r0, r3, r5 /* 801A5D88 001A2CE8 7C 09 03 A6 */ mtctr r0 /* 801A5D8C 001A2CEC 7C 03 28 00 */ cmpw r3, r5 /* 801A5D90 001A2CF0 40 80 00 08 */ bge lbl_801A5D98 lbl_801A5D94: /* 801A5D94 001A2CF4 42 00 00 00 */ bdnz lbl_801A5D94 lbl_801A5D98: /* 801A5D98 001A2CF8 38 00 00 00 */ li r0, 0 /* 801A5D9C 001A2CFC 90 1E 08 48 */ stw r0, 0x848(r30) lbl_801A5DA0: /* 801A5DA0 001A2D00 34 1E 07 60 */ addic. r0, r30, 0x760 /* 801A5DA4 001A2D04 41 82 00 60 */ beq lbl_801A5E04 /* 801A5DA8 001A2D08 34 1E 07 64 */ addic. r0, r30, 0x764 /* 801A5DAC 001A2D0C 41 82 00 58 */ beq lbl_801A5E04 /* 801A5DB0 001A2D10 80 BE 07 64 */ lwz r5, 0x764(r30) /* 801A5DB4 001A2D14 38 60 00 00 */ li r3, 0 /* 801A5DB8 001A2D18 2C 05 00 00 */ cmpwi r5, 0 /* 801A5DBC 001A2D1C 40 81 00 40 */ ble lbl_801A5DFC /* 801A5DC0 001A2D20 2C 05 00 08 */ cmpwi r5, 8 /* 801A5DC4 001A2D24 38 85 FF F8 */ addi r4, r5, -8 /* 801A5DC8 001A2D28 40 81 00 20 */ ble lbl_801A5DE8 /* 801A5DCC 001A2D2C 38 04 00 07 */ addi r0, r4, 7 /* 801A5DD0 001A2D30 54 00 E8 FE */ srwi r0, r0, 3 /* 801A5DD4 001A2D34 7C 09 03 A6 */ mtctr r0 /* 801A5DD8 001A2D38 2C 04 00 00 */ cmpwi r4, 0 /* 801A5DDC 001A2D3C 40 81 00 0C */ ble lbl_801A5DE8 lbl_801A5DE0: /* 801A5DE0 001A2D40 38 63 00 08 */ addi r3, r3, 8 /* 801A5DE4 001A2D44 42 00 FF FC */ bdnz lbl_801A5DE0 lbl_801A5DE8: /* 801A5DE8 001A2D48 7C 03 28 50 */ subf r0, r3, r5 /* 801A5DEC 001A2D4C 7C 09 03 A6 */ mtctr r0 /* 801A5DF0 001A2D50 7C 03 28 00 */ cmpw r3, r5 /* 801A5DF4 001A2D54 40 80 00 08 */ bge lbl_801A5DFC lbl_801A5DF8: /* 801A5DF8 001A2D58 42 00 00 00 */ bdnz lbl_801A5DF8 lbl_801A5DFC: /* 801A5DFC 001A2D5C 38 00 00 00 */ li r0, 0 /* 801A5E00 001A2D60 90 1E 07 64 */ stw r0, 0x764(r30) lbl_801A5E04: /* 801A5E04 001A2D64 7F C3 F3 78 */ mr r3, r30 /* 801A5E08 001A2D68 38 80 00 00 */ li r4, 0 /* 801A5E0C 001A2D6C 4B ED 17 65 */ bl __dt__10CPatternedFv /* 801A5E10 001A2D70 7F E0 07 35 */ extsh. r0, r31 /* 801A5E14 001A2D74 40 81 00 0C */ ble lbl_801A5E20 /* 801A5E18 001A2D78 7F C3 F3 78 */ mr r3, r30 /* 801A5E1C 001A2D7C 48 16 FB 15 */ bl Free__7CMemoryFPCv lbl_801A5E20: /* 801A5E20 001A2D80 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A5E24 001A2D84 7F C3 F3 78 */ mr r3, r30 /* 801A5E28 001A2D88 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A5E2C 001A2D8C 83 C1 00 08 */ lwz r30, 8(r1) /* 801A5E30 001A2D90 7C 08 03 A6 */ mtlr r0 /* 801A5E34 001A2D94 38 21 00 10 */ addi r1, r1, 0x10 /* 801A5E38 001A2D98 4E 80 00 20 */ blr .global "__ct__12CIceSheegothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CIceSheegothData" "__ct__12CIceSheegothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CIceSheegothData": /* 801A5E3C 001A2D9C 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 801A5E40 001A2DA0 7C 08 02 A6 */ mflr r0 /* 801A5E44 001A2DA4 39 60 00 01 */ li r11, 1 /* 801A5E48 001A2DA8 7D 0C 43 78 */ mr r12, r8 /* 801A5E4C 001A2DAC 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 801A5E50 001A2DB0 93 E1 01 AC */ stw r31, 0x1ac(r1) /* 801A5E54 001A2DB4 83 E1 01 B8 */ lwz r31, 0x1b8(r1) /* 801A5E58 001A2DB8 93 C1 01 A8 */ stw r30, 0x1a8(r1) /* 801A5E5C 001A2DBC 7D 3E 4B 78 */ mr r30, r9 /* 801A5E60 001A2DC0 7C E9 3B 78 */ mr r9, r7 /* 801A5E64 001A2DC4 38 E0 00 00 */ li r7, 0 /* 801A5E68 001A2DC8 93 A1 01 A4 */ stw r29, 0x1a4(r1) /* 801A5E6C 001A2DCC 7C 7D 1B 78 */ mr r29, r3 /* 801A5E70 001A2DD0 93 81 01 A0 */ stw r28, 0x1a0(r1) /* 801A5E74 001A2DD4 7C DC 33 78 */ mr r28, r6 /* 801A5E78 001A2DD8 7C A6 2B 78 */ mr r6, r5 /* 801A5E7C 001A2DDC 38 A1 00 20 */ addi r5, r1, 0x20 /* 801A5E80 001A2DE0 A0 04 00 00 */ lhz r0, 0(r4) /* 801A5E84 001A2DE4 38 80 00 00 */ li r4, 0 /* 801A5E88 001A2DE8 7F 88 E3 78 */ mr r8, r28 /* 801A5E8C 001A2DEC B0 01 00 20 */ sth r0, 0x20(r1) /* 801A5E90 001A2DF0 38 00 00 02 */ li r0, 2 /* 801A5E94 001A2DF4 93 C1 00 08 */ stw r30, 8(r1) /* 801A5E98 001A2DF8 90 81 00 0C */ stw r4, 0xc(r1) /* 801A5E9C 001A2DFC 38 80 00 0F */ li r4, 0xf /* 801A5EA0 001A2E00 91 61 00 10 */ stw r11, 0x10(r1) /* 801A5EA4 001A2E04 91 61 00 14 */ stw r11, 0x14(r1) /* 801A5EA8 001A2E08 91 41 00 18 */ stw r10, 0x18(r1) /* 801A5EAC 001A2E0C 7D 8A 63 78 */ mr r10, r12 /* 801A5EB0 001A2E10 90 01 00 1C */ stw r0, 0x1c(r1) /* 801A5EB4 001A2E14 4B ED 75 9D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801A5EB8 001A2E18 3C 60 80 3E */ lis r3, lbl_803E4728@ha /* 801A5EBC 001A2E1C 38 00 FF FF */ li r0, -1 /* 801A5EC0 001A2E20 38 63 47 28 */ addi r3, r3, lbl_803E4728@l /* 801A5EC4 001A2E24 7F E4 FB 78 */ mr r4, r31 /* 801A5EC8 001A2E28 90 7D 00 00 */ stw r3, 0(r29) /* 801A5ECC 001A2E2C 38 7D 05 6C */ addi r3, r29, 0x56c /* 801A5ED0 001A2E30 90 1D 05 68 */ stw r0, 0x568(r29) /* 801A5ED4 001A2E34 48 00 09 F5 */ bl __ct__16CIceSheegothDataFR16CIceSheegothData /* 801A5ED8 001A2E38 C0 22 A7 60 */ lfs f1, lbl_805AC480@sda21(r2) /* 801A5EDC 001A2E3C 38 7D 07 60 */ addi r3, r29, 0x760 /* 801A5EE0 001A2E40 80 DE 01 0C */ lwz r6, 0x10c(r30) /* 801A5EE4 001A2E44 38 80 00 00 */ li r4, 0 /* 801A5EE8 001A2E48 FC 40 08 90 */ fmr f2, f1 /* 801A5EEC 001A2E4C 38 A0 00 01 */ li r5, 1 /* 801A5EF0 001A2E50 48 02 2E A5 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 801A5EF4 001A2E54 C0 22 A7 60 */ lfs f1, lbl_805AC480@sda21(r2) /* 801A5EF8 001A2E58 38 7D 08 44 */ addi r3, r29, 0x844 /* 801A5EFC 001A2E5C 80 DE 01 0C */ lwz r6, 0x10c(r30) /* 801A5F00 001A2E60 38 80 00 00 */ li r4, 0 /* 801A5F04 001A2E64 FC 40 08 90 */ fmr f2, f1 /* 801A5F08 001A2E68 38 A0 00 01 */ li r5, 1 /* 801A5F0C 001A2E6C 48 02 2E 89 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 801A5F10 001A2E70 38 00 00 00 */ li r0, 0 /* 801A5F14 001A2E74 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A5F18 001A2E78 90 1D 09 28 */ stw r0, 0x928(r29) /* 801A5F1C 001A2E7C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A5F20 001A2E80 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A5F24 001A2E84 C0 42 A7 60 */ lfs f2, lbl_805AC480@sda21(r2) /* 801A5F28 001A2E88 C0 05 00 00 */ lfs f0, 0(r5) /* 801A5F2C 001A2E8C 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A5F30 001A2E90 C0 22 A7 5C */ lfs f1, lbl_805AC47C@sda21(r2) /* 801A5F34 001A2E94 38 61 01 28 */ addi r3, r1, 0x128 /* 801A5F38 001A2E98 D0 1D 09 2C */ stfs f0, 0x92c(r29) /* 801A5F3C 001A2E9C 38 84 00 A5 */ addi r4, r4, 0xa5 /* 801A5F40 001A2EA0 C0 02 A7 74 */ lfs f0, lbl_805AC494@sda21(r2) /* 801A5F44 001A2EA4 C0 65 00 04 */ lfs f3, 4(r5) /* 801A5F48 001A2EA8 D0 7D 09 30 */ stfs f3, 0x930(r29) /* 801A5F4C 001A2EAC C0 65 00 08 */ lfs f3, 8(r5) /* 801A5F50 001A2EB0 D0 7D 09 34 */ stfs f3, 0x934(r29) /* 801A5F54 001A2EB4 C0 65 00 00 */ lfs f3, 0(r5) /* 801A5F58 001A2EB8 D0 7D 09 38 */ stfs f3, 0x938(r29) /* 801A5F5C 001A2EBC C0 65 00 04 */ lfs f3, 4(r5) /* 801A5F60 001A2EC0 D0 7D 09 3C */ stfs f3, 0x93c(r29) /* 801A5F64 001A2EC4 C0 65 00 08 */ lfs f3, 8(r5) /* 801A5F68 001A2EC8 D0 7D 09 40 */ stfs f3, 0x940(r29) /* 801A5F6C 001A2ECC D0 5D 09 44 */ stfs f2, 0x944(r29) /* 801A5F70 001A2ED0 D0 5D 09 48 */ stfs f2, 0x948(r29) /* 801A5F74 001A2ED4 C0 5D 03 B4 */ lfs f2, 0x3b4(r29) /* 801A5F78 001A2ED8 D0 5D 09 4C */ stfs f2, 0x94c(r29) /* 801A5F7C 001A2EDC D0 3D 09 50 */ stfs f1, 0x950(r29) /* 801A5F80 001A2EE0 D0 3D 09 54 */ stfs f1, 0x954(r29) /* 801A5F84 001A2EE4 D0 3D 09 58 */ stfs f1, 0x958(r29) /* 801A5F88 001A2EE8 D0 3D 09 5C */ stfs f1, 0x95c(r29) /* 801A5F8C 001A2EEC D0 3D 09 60 */ stfs f1, 0x960(r29) /* 801A5F90 001A2EF0 D0 3D 09 68 */ stfs f1, 0x968(r29) /* 801A5F94 001A2EF4 D0 1D 09 6C */ stfs f0, 0x96c(r29) /* 801A5F98 001A2EF8 D0 3D 09 70 */ stfs f1, 0x970(r29) /* 801A5F9C 001A2EFC C0 1F 01 74 */ lfs f0, 0x174(r31) /* 801A5FA0 001A2F00 D0 1D 09 74 */ stfs f0, 0x974(r29) /* 801A5FA4 001A2F04 D0 3D 09 78 */ stfs f1, 0x978(r29) /* 801A5FA8 001A2F08 D0 3D 09 7C */ stfs f1, 0x97c(r29) /* 801A5FAC 001A2F0C C0 05 00 00 */ lfs f0, 0(r5) /* 801A5FB0 001A2F10 D0 1D 09 80 */ stfs f0, 0x980(r29) /* 801A5FB4 001A2F14 C0 05 00 04 */ lfs f0, 4(r5) /* 801A5FB8 001A2F18 D0 1D 09 84 */ stfs f0, 0x984(r29) /* 801A5FBC 001A2F1C C0 05 00 08 */ lfs f0, 8(r5) /* 801A5FC0 001A2F20 D0 1D 09 88 */ stfs f0, 0x988(r29) /* 801A5FC4 001A2F24 80 BE 00 5C */ lwz r5, 0x5c(r30) /* 801A5FC8 001A2F28 80 1E 00 60 */ lwz r0, 0x60(r30) /* 801A5FCC 001A2F2C 90 BD 09 8C */ stw r5, 0x98c(r29) /* 801A5FD0 001A2F30 90 1D 09 90 */ stw r0, 0x990(r29) /* 801A5FD4 001A2F34 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801A5FD8 001A2F38 80 1E 00 68 */ lwz r0, 0x68(r30) /* 801A5FDC 001A2F3C 90 BD 09 94 */ stw r5, 0x994(r29) /* 801A5FE0 001A2F40 90 1D 09 98 */ stw r0, 0x998(r29) /* 801A5FE4 001A2F44 80 BE 00 6C */ lwz r5, 0x6c(r30) /* 801A5FE8 001A2F48 80 1E 00 70 */ lwz r0, 0x70(r30) /* 801A5FEC 001A2F4C 90 BD 09 9C */ stw r5, 0x99c(r29) /* 801A5FF0 001A2F50 90 1D 09 A0 */ stw r0, 0x9a0(r29) /* 801A5FF4 001A2F54 80 BE 00 74 */ lwz r5, 0x74(r30) /* 801A5FF8 001A2F58 80 1E 00 78 */ lwz r0, 0x78(r30) /* 801A5FFC 001A2F5C 90 BD 09 A4 */ stw r5, 0x9a4(r29) /* 801A6000 001A2F60 90 1D 09 A8 */ stw r0, 0x9a8(r29) /* 801A6004 001A2F64 80 BE 00 7C */ lwz r5, 0x7c(r30) /* 801A6008 001A2F68 80 1E 00 80 */ lwz r0, 0x80(r30) /* 801A600C 001A2F6C 90 BD 09 AC */ stw r5, 0x9ac(r29) /* 801A6010 001A2F70 90 1D 09 B0 */ stw r0, 0x9b0(r29) /* 801A6014 001A2F74 80 BE 00 84 */ lwz r5, 0x84(r30) /* 801A6018 001A2F78 80 1E 00 88 */ lwz r0, 0x88(r30) /* 801A601C 001A2F7C 90 BD 09 B4 */ stw r5, 0x9b4(r29) /* 801A6020 001A2F80 90 1D 09 B8 */ stw r0, 0x9b8(r29) /* 801A6024 001A2F84 80 BE 00 8C */ lwz r5, 0x8c(r30) /* 801A6028 001A2F88 80 1E 00 90 */ lwz r0, 0x90(r30) /* 801A602C 001A2F8C 90 BD 09 BC */ stw r5, 0x9bc(r29) /* 801A6030 001A2F90 90 1D 09 C0 */ stw r0, 0x9c0(r29) /* 801A6034 001A2F94 80 1E 00 94 */ lwz r0, 0x94(r30) /* 801A6038 001A2F98 90 1D 09 C4 */ stw r0, 0x9c4(r29) /* 801A603C 001A2F9C 80 BE 00 98 */ lwz r5, 0x98(r30) /* 801A6040 001A2FA0 80 1E 00 9C */ lwz r0, 0x9c(r30) /* 801A6044 001A2FA4 90 BD 09 C8 */ stw r5, 0x9c8(r29) /* 801A6048 001A2FA8 90 1D 09 CC */ stw r0, 0x9cc(r29) /* 801A604C 001A2FAC 80 BE 00 A0 */ lwz r5, 0xa0(r30) /* 801A6050 001A2FB0 80 1E 00 A4 */ lwz r0, 0xa4(r30) /* 801A6054 001A2FB4 90 BD 09 D0 */ stw r5, 0x9d0(r29) /* 801A6058 001A2FB8 90 1D 09 D4 */ stw r0, 0x9d4(r29) /* 801A605C 001A2FBC 80 BE 00 A8 */ lwz r5, 0xa8(r30) /* 801A6060 001A2FC0 80 1E 00 AC */ lwz r0, 0xac(r30) /* 801A6064 001A2FC4 90 BD 09 D8 */ stw r5, 0x9d8(r29) /* 801A6068 001A2FC8 90 1D 09 DC */ stw r0, 0x9dc(r29) /* 801A606C 001A2FCC 80 BE 00 B0 */ lwz r5, 0xb0(r30) /* 801A6070 001A2FD0 80 1E 00 B4 */ lwz r0, 0xb4(r30) /* 801A6074 001A2FD4 90 BD 09 E0 */ stw r5, 0x9e0(r29) /* 801A6078 001A2FD8 90 1D 09 E4 */ stw r0, 0x9e4(r29) /* 801A607C 001A2FDC 80 1E 00 B8 */ lwz r0, 0xb8(r30) /* 801A6080 001A2FE0 90 1D 09 E8 */ stw r0, 0x9e8(r29) /* 801A6084 001A2FE4 80 1E 00 BC */ lwz r0, 0xbc(r30) /* 801A6088 001A2FE8 90 1D 09 EC */ stw r0, 0x9ec(r29) /* 801A608C 001A2FEC 80 1E 00 C0 */ lwz r0, 0xc0(r30) /* 801A6090 001A2FF0 90 1D 09 F0 */ stw r0, 0x9f0(r29) /* 801A6094 001A2FF4 4B E5 EC 25 */ bl string_l__4rstlFPCc /* 801A6098 001A2FF8 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801A609C 001A2FFC 38 7D 09 F4 */ addi r3, r29, 0x9f4 /* 801A60A0 001A3000 C0 22 A7 EC */ lfs f1, lbl_805AC50C@sda21(r2) /* 801A60A4 001A3004 38 A1 01 28 */ addi r5, r1, 0x128 /* 801A60A8 001A3008 80 84 00 10 */ lwz r4, 0x10(r4) /* 801A60AC 001A300C 38 C0 00 00 */ li r6, 0 /* 801A60B0 001A3010 C0 42 A7 F0 */ lfs f2, lbl_805AC510@sda21(r2) /* 801A60B4 001A3014 4B FC F9 05 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 801A60B8 001A3018 38 61 01 28 */ addi r3, r1, 0x128 /* 801A60BC 001A301C 48 19 7A 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A60C0 001A3020 38 00 00 00 */ li r0, 0 /* 801A60C4 001A3024 7F A4 EB 78 */ mr r4, r29 /* 801A60C8 001A3028 90 1D 0A 2C */ stw r0, 0xa2c(r29) /* 801A60CC 001A302C 3B DD 00 68 */ addi r30, r29, 0x68 /* 801A60D0 001A3030 38 61 01 38 */ addi r3, r1, 0x138 /* 801A60D4 001A3034 4B F7 48 59 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801A60D8 001A3038 3B 9D 0A 30 */ addi r28, r29, 0xa30 /* 801A60DC 001A303C 7F C4 F3 78 */ mr r4, r30 /* 801A60E0 001A3040 7F 83 E3 78 */ mr r3, r28 /* 801A60E4 001A3044 48 12 97 D1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 801A60E8 001A3048 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 801A60EC 001A304C 38 7D 0A 58 */ addi r3, r29, 0xa58 /* 801A60F0 001A3050 38 04 CA D0 */ addi r0, r4, lbl_803ECAD0@l /* 801A60F4 001A3054 38 BF 01 54 */ addi r5, r31, 0x154 /* 801A60F8 001A3058 90 1C 00 00 */ stw r0, 0(r28) /* 801A60FC 001A305C C0 01 01 38 */ lfs f0, 0x138(r1) /* 801A6100 001A3060 D0 1C 00 10 */ stfs f0, 0x10(r28) /* 801A6104 001A3064 C0 01 01 3C */ lfs f0, 0x13c(r1) /* 801A6108 001A3068 D0 1C 00 14 */ stfs f0, 0x14(r28) /* 801A610C 001A306C C0 01 01 40 */ lfs f0, 0x140(r1) /* 801A6110 001A3070 D0 1C 00 18 */ stfs f0, 0x18(r28) /* 801A6114 001A3074 C0 01 01 44 */ lfs f0, 0x144(r1) /* 801A6118 001A3078 D0 1C 00 1C */ stfs f0, 0x1c(r28) /* 801A611C 001A307C C0 01 01 48 */ lfs f0, 0x148(r1) /* 801A6120 001A3080 D0 1C 00 20 */ stfs f0, 0x20(r28) /* 801A6124 001A3084 C0 01 01 4C */ lfs f0, 0x14c(r1) /* 801A6128 001A3088 D0 1C 00 24 */ stfs f0, 0x24(r28) /* 801A612C 001A308C 80 9F 01 50 */ lwz r4, 0x150(r31) /* 801A6130 001A3090 48 07 5F 79 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 801A6134 001A3094 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A6138 001A3098 3B 80 00 00 */ li r28, 0 /* 801A613C 001A309C 3B C0 00 00 */ li r30, 0 /* 801A6140 001A30A0 B0 1D 0A 80 */ sth r0, 0xa80(r29) /* 801A6144 001A30A4 80 9F 01 78 */ lwz r4, 0x178(r31) /* 801A6148 001A30A8 3C 04 00 01 */ addis r0, r4, 1 /* 801A614C 001A30AC 28 00 FF FF */ cmplwi r0, 0xffff /* 801A6150 001A30B0 41 82 00 3C */ beq lbl_801A618C /* 801A6154 001A30B4 3C 60 57 50 */ lis r3, 0x57505343@ha /* 801A6158 001A30B8 90 81 00 E8 */ stw r4, 0xe8(r1) /* 801A615C 001A30BC 38 03 53 43 */ addi r0, r3, 0x57505343@l /* 801A6160 001A30C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A6164 001A30C4 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801A6168 001A30C8 38 61 00 DC */ addi r3, r1, 0xdc /* 801A616C 001A30CC 38 A1 00 E4 */ addi r5, r1, 0xe4 /* 801A6170 001A30D0 81 84 00 00 */ lwz r12, 0(r4) /* 801A6174 001A30D4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801A6178 001A30D8 7D 89 03 A6 */ mtctr r12 /* 801A617C 001A30DC 4E 80 04 21 */ bctrl /* 801A6180 001A30E0 38 81 00 DC */ addi r4, r1, 0xdc /* 801A6184 001A30E4 3B 80 00 01 */ li r28, 1 /* 801A6188 001A30E8 48 00 00 30 */ b lbl_801A61B8 lbl_801A618C: /* 801A618C 001A30EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A6190 001A30F0 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A6194 001A30F4 38 A3 13 D8 */ addi r5, r3, lbl_803D13D8@l /* 801A6198 001A30F8 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801A619C 001A30FC 81 84 00 00 */ lwz r12, 0(r4) /* 801A61A0 001A3100 38 A5 00 AC */ addi r5, r5, 0xac /* 801A61A4 001A3104 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801A61A8 001A3108 7D 89 03 A6 */ mtctr r12 /* 801A61AC 001A310C 4E 80 04 21 */ bctrl /* 801A61B0 001A3110 3B C0 00 01 */ li r30, 1 /* 801A61B4 001A3114 38 81 00 D4 */ addi r4, r1, 0xd4 lbl_801A61B8: /* 801A61B8 001A3118 38 7D 0A 84 */ addi r3, r29, 0xa84 /* 801A61BC 001A311C 48 19 AC ED */ bl __ct__6CTokenFRC6CToken /* 801A61C0 001A3120 7F C0 07 75 */ extsb. r0, r30 /* 801A61C4 001A3124 41 82 00 10 */ beq lbl_801A61D4 /* 801A61C8 001A3128 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801A61CC 001A312C 38 80 FF FF */ li r4, -1 /* 801A61D0 001A3130 48 19 AC 71 */ bl __dt__6CTokenFv lbl_801A61D4: /* 801A61D4 001A3134 7F 80 07 75 */ extsb. r0, r28 /* 801A61D8 001A3138 41 82 00 10 */ beq lbl_801A61E8 /* 801A61DC 001A313C 38 61 00 DC */ addi r3, r1, 0xdc /* 801A61E0 001A3140 38 80 FF FF */ li r4, -1 /* 801A61E4 001A3144 48 19 AC 5D */ bl __dt__6CTokenFv lbl_801A61E8: /* 801A61E8 001A3148 80 DF 01 A0 */ lwz r6, 0x1a0(r31) /* 801A61EC 001A314C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801A61F0 001A3150 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801A61F4 001A3154 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A61F8 001A3158 90 01 00 CC */ stw r0, 0xcc(r1) /* 801A61FC 001A315C 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801A6200 001A3160 38 A1 00 CC */ addi r5, r1, 0xcc /* 801A6204 001A3164 90 C1 00 D0 */ stw r6, 0xd0(r1) /* 801A6208 001A3168 81 84 00 00 */ lwz r12, 0(r4) /* 801A620C 001A316C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801A6210 001A3170 7D 89 03 A6 */ mtctr r12 /* 801A6214 001A3174 4E 80 04 21 */ bctrl /* 801A6218 001A3178 3B 9D 0A 8C */ addi r28, r29, 0xa8c /* 801A621C 001A317C 38 81 00 C4 */ addi r4, r1, 0xc4 /* 801A6220 001A3180 7F 83 E3 78 */ mr r3, r28 /* 801A6224 001A3184 48 19 AC 85 */ bl __ct__6CTokenFRC6CToken /* 801A6228 001A3188 7F 83 E3 78 */ mr r3, r28 /* 801A622C 001A318C 48 19 AB E1 */ bl GetObj__6CTokenFv /* 801A6230 001A3190 80 03 00 04 */ lwz r0, 4(r3) /* 801A6234 001A3194 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801A6238 001A3198 38 80 FF FF */ li r4, -1 /* 801A623C 001A319C 90 1C 00 08 */ stw r0, 8(r28) /* 801A6240 001A31A0 48 19 AC 01 */ bl __dt__6CTokenFv /* 801A6244 001A31A4 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A6248 001A31A8 3B 80 00 00 */ li r28, 0 /* 801A624C 001A31AC 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A6250 001A31B0 38 60 03 40 */ li r3, 0x340 /* 801A6254 001A31B4 38 84 00 8C */ addi r4, r4, 0x8c /* 801A6258 001A31B8 38 A0 00 00 */ li r5, 0 /* 801A625C 001A31BC 48 16 F6 11 */ bl __nw__FUlPCcPCc /* 801A6260 001A31C0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A6264 001A31C4 41 82 00 2C */ beq lbl_801A6290 /* 801A6268 001A31C8 38 61 00 BC */ addi r3, r1, 0xbc /* 801A626C 001A31CC 38 9D 0A 8C */ addi r4, r29, 0xa8c /* 801A6270 001A31D0 48 19 AC 39 */ bl __ct__6CTokenFRC6CToken /* 801A6274 001A31D4 7F C3 F3 78 */ mr r3, r30 /* 801A6278 001A31D8 38 81 00 BC */ addi r4, r1, 0xbc /* 801A627C 001A31DC 3B 80 00 01 */ li r28, 1 /* 801A6280 001A31E0 38 A0 00 00 */ li r5, 0 /* 801A6284 001A31E4 38 C0 00 01 */ li r6, 1 /* 801A6288 001A31E8 48 17 91 59 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801A628C 001A31EC 7C 7E 1B 78 */ mr r30, r3 lbl_801A6290: /* 801A6290 001A31F0 7C 7E 00 D0 */ neg r3, r30 /* 801A6294 001A31F4 7F 80 07 75 */ extsb. r0, r28 /* 801A6298 001A31F8 7C 60 F3 78 */ or r0, r3, r30 /* 801A629C 001A31FC 54 00 0F FE */ srwi r0, r0, 0x1f /* 801A62A0 001A3200 98 1D 0A 98 */ stb r0, 0xa98(r29) /* 801A62A4 001A3204 93 DD 0A 9C */ stw r30, 0xa9c(r29) /* 801A62A8 001A3208 41 82 00 10 */ beq lbl_801A62B8 /* 801A62AC 001A320C 38 61 00 BC */ addi r3, r1, 0xbc /* 801A62B0 001A3210 38 80 00 00 */ li r4, 0 /* 801A62B4 001A3214 48 19 AB 8D */ bl __dt__6CTokenFv lbl_801A62B8: /* 801A62B8 001A3218 80 DF 01 A4 */ lwz r6, 0x1a4(r31) /* 801A62BC 001A321C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801A62C0 001A3220 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801A62C4 001A3224 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A62C8 001A3228 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801A62CC 001A322C 38 61 00 AC */ addi r3, r1, 0xac /* 801A62D0 001A3230 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 801A62D4 001A3234 90 C1 00 B8 */ stw r6, 0xb8(r1) /* 801A62D8 001A3238 81 84 00 00 */ lwz r12, 0(r4) /* 801A62DC 001A323C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801A62E0 001A3240 7D 89 03 A6 */ mtctr r12 /* 801A62E4 001A3244 4E 80 04 21 */ bctrl /* 801A62E8 001A3248 3B 9D 0A A0 */ addi r28, r29, 0xaa0 /* 801A62EC 001A324C 38 81 00 AC */ addi r4, r1, 0xac /* 801A62F0 001A3250 7F 83 E3 78 */ mr r3, r28 /* 801A62F4 001A3254 48 19 AB B5 */ bl __ct__6CTokenFRC6CToken /* 801A62F8 001A3258 7F 83 E3 78 */ mr r3, r28 /* 801A62FC 001A325C 48 19 AB 11 */ bl GetObj__6CTokenFv /* 801A6300 001A3260 80 03 00 04 */ lwz r0, 4(r3) /* 801A6304 001A3264 38 61 00 AC */ addi r3, r1, 0xac /* 801A6308 001A3268 38 80 FF FF */ li r4, -1 /* 801A630C 001A326C 90 1C 00 08 */ stw r0, 8(r28) /* 801A6310 001A3270 48 19 AB 31 */ bl __dt__6CTokenFv /* 801A6314 001A3274 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A6318 001A3278 3B 80 00 00 */ li r28, 0 /* 801A631C 001A327C 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A6320 001A3280 38 60 03 40 */ li r3, 0x340 /* 801A6324 001A3284 38 84 00 8C */ addi r4, r4, 0x8c /* 801A6328 001A3288 38 A0 00 00 */ li r5, 0 /* 801A632C 001A328C 48 16 F5 41 */ bl __nw__FUlPCcPCc /* 801A6330 001A3290 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A6334 001A3294 41 82 00 2C */ beq lbl_801A6360 /* 801A6338 001A3298 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801A633C 001A329C 38 9D 0A A0 */ addi r4, r29, 0xaa0 /* 801A6340 001A32A0 48 19 AB 69 */ bl __ct__6CTokenFRC6CToken /* 801A6344 001A32A4 7F C3 F3 78 */ mr r3, r30 /* 801A6348 001A32A8 38 81 00 A4 */ addi r4, r1, 0xa4 /* 801A634C 001A32AC 3B 80 00 01 */ li r28, 1 /* 801A6350 001A32B0 38 A0 00 00 */ li r5, 0 /* 801A6354 001A32B4 38 C0 00 01 */ li r6, 1 /* 801A6358 001A32B8 48 17 90 89 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801A635C 001A32BC 7C 7E 1B 78 */ mr r30, r3 lbl_801A6360: /* 801A6360 001A32C0 7C 7E 00 D0 */ neg r3, r30 /* 801A6364 001A32C4 7F 80 07 75 */ extsb. r0, r28 /* 801A6368 001A32C8 7C 60 F3 78 */ or r0, r3, r30 /* 801A636C 001A32CC 54 00 0F FE */ srwi r0, r0, 0x1f /* 801A6370 001A32D0 98 1D 0A AC */ stb r0, 0xaac(r29) /* 801A6374 001A32D4 93 DD 0A B0 */ stw r30, 0xab0(r29) /* 801A6378 001A32D8 41 82 00 10 */ beq lbl_801A6388 /* 801A637C 001A32DC 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801A6380 001A32E0 38 80 00 00 */ li r4, 0 /* 801A6384 001A32E4 48 19 AA BD */ bl __dt__6CTokenFv lbl_801A6388: /* 801A6388 001A32E8 80 DF 01 A8 */ lwz r6, 0x1a8(r31) /* 801A638C 001A32EC 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801A6390 001A32F0 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801A6394 001A32F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A6398 001A32F8 90 01 00 9C */ stw r0, 0x9c(r1) /* 801A639C 001A32FC 38 61 00 94 */ addi r3, r1, 0x94 /* 801A63A0 001A3300 38 A1 00 9C */ addi r5, r1, 0x9c /* 801A63A4 001A3304 90 C1 00 A0 */ stw r6, 0xa0(r1) /* 801A63A8 001A3308 81 84 00 00 */ lwz r12, 0(r4) /* 801A63AC 001A330C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801A63B0 001A3310 7D 89 03 A6 */ mtctr r12 /* 801A63B4 001A3314 4E 80 04 21 */ bctrl /* 801A63B8 001A3318 3B 9D 0A B4 */ addi r28, r29, 0xab4 /* 801A63BC 001A331C 38 81 00 94 */ addi r4, r1, 0x94 /* 801A63C0 001A3320 7F 83 E3 78 */ mr r3, r28 /* 801A63C4 001A3324 48 19 AA E5 */ bl __ct__6CTokenFRC6CToken /* 801A63C8 001A3328 7F 83 E3 78 */ mr r3, r28 /* 801A63CC 001A332C 48 19 AA 41 */ bl GetObj__6CTokenFv /* 801A63D0 001A3330 80 03 00 04 */ lwz r0, 4(r3) /* 801A63D4 001A3334 38 61 00 94 */ addi r3, r1, 0x94 /* 801A63D8 001A3338 38 80 FF FF */ li r4, -1 /* 801A63DC 001A333C 90 1C 00 08 */ stw r0, 8(r28) /* 801A63E0 001A3340 48 19 AA 61 */ bl __dt__6CTokenFv /* 801A63E4 001A3344 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A63E8 001A3348 3B 80 00 00 */ li r28, 0 /* 801A63EC 001A334C 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A63F0 001A3350 38 60 03 40 */ li r3, 0x340 /* 801A63F4 001A3354 38 84 00 8C */ addi r4, r4, 0x8c /* 801A63F8 001A3358 38 A0 00 00 */ li r5, 0 /* 801A63FC 001A335C 48 16 F4 71 */ bl __nw__FUlPCcPCc /* 801A6400 001A3360 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A6404 001A3364 41 82 00 2C */ beq lbl_801A6430 /* 801A6408 001A3368 38 61 00 8C */ addi r3, r1, 0x8c /* 801A640C 001A336C 38 9D 0A B4 */ addi r4, r29, 0xab4 /* 801A6410 001A3370 48 19 AA 99 */ bl __ct__6CTokenFRC6CToken /* 801A6414 001A3374 7F C3 F3 78 */ mr r3, r30 /* 801A6418 001A3378 38 81 00 8C */ addi r4, r1, 0x8c /* 801A641C 001A337C 3B 80 00 01 */ li r28, 1 /* 801A6420 001A3380 38 A0 00 00 */ li r5, 0 /* 801A6424 001A3384 38 C0 00 01 */ li r6, 1 /* 801A6428 001A3388 48 17 8F B9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801A642C 001A338C 7C 7E 1B 78 */ mr r30, r3 lbl_801A6430: /* 801A6430 001A3390 7C 7E 00 D0 */ neg r3, r30 /* 801A6434 001A3394 7F 80 07 75 */ extsb. r0, r28 /* 801A6438 001A3398 7C 60 F3 78 */ or r0, r3, r30 /* 801A643C 001A339C 54 00 0F FE */ srwi r0, r0, 0x1f /* 801A6440 001A33A0 98 1D 0A C0 */ stb r0, 0xac0(r29) /* 801A6444 001A33A4 93 DD 0A C4 */ stw r30, 0xac4(r29) /* 801A6448 001A33A8 41 82 00 10 */ beq lbl_801A6458 /* 801A644C 001A33AC 38 61 00 8C */ addi r3, r1, 0x8c /* 801A6450 001A33B0 38 80 00 00 */ li r4, 0 /* 801A6454 001A33B4 48 19 A9 ED */ bl __dt__6CTokenFv lbl_801A6458: /* 801A6458 001A33B8 80 DF 01 AC */ lwz r6, 0x1ac(r31) /* 801A645C 001A33BC 3C 60 45 4C */ lis r3, 0x454C5343@ha /* 801A6460 001A33C0 38 03 53 43 */ addi r0, r3, 0x454C5343@l /* 801A6464 001A33C4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A6468 001A33C8 90 01 00 84 */ stw r0, 0x84(r1) /* 801A646C 001A33CC 38 61 00 7C */ addi r3, r1, 0x7c /* 801A6470 001A33D0 38 A1 00 84 */ addi r5, r1, 0x84 /* 801A6474 001A33D4 90 C1 00 88 */ stw r6, 0x88(r1) /* 801A6478 001A33D8 81 84 00 00 */ lwz r12, 0(r4) /* 801A647C 001A33DC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801A6480 001A33E0 7D 89 03 A6 */ mtctr r12 /* 801A6484 001A33E4 4E 80 04 21 */ bctrl /* 801A6488 001A33E8 3B 9D 0A C8 */ addi r28, r29, 0xac8 /* 801A648C 001A33EC 38 81 00 7C */ addi r4, r1, 0x7c /* 801A6490 001A33F0 7F 83 E3 78 */ mr r3, r28 /* 801A6494 001A33F4 48 19 AA 15 */ bl __ct__6CTokenFRC6CToken /* 801A6498 001A33F8 7F 83 E3 78 */ mr r3, r28 /* 801A649C 001A33FC 48 19 A9 71 */ bl GetObj__6CTokenFv /* 801A64A0 001A3400 80 03 00 04 */ lwz r0, 4(r3) /* 801A64A4 001A3404 38 61 00 7C */ addi r3, r1, 0x7c /* 801A64A8 001A3408 38 80 FF FF */ li r4, -1 /* 801A64AC 001A340C 90 1C 00 08 */ stw r0, 8(r28) /* 801A64B0 001A3410 48 19 A9 91 */ bl __dt__6CTokenFv /* 801A64B4 001A3414 3C 60 80 3D */ lis r3, lbl_803D13D8@ha /* 801A64B8 001A3418 3B 80 00 00 */ li r28, 0 /* 801A64BC 001A341C 38 83 13 D8 */ addi r4, r3, lbl_803D13D8@l /* 801A64C0 001A3420 38 60 04 58 */ li r3, 0x458 /* 801A64C4 001A3424 38 84 00 8C */ addi r4, r4, 0x8c /* 801A64C8 001A3428 38 A0 00 00 */ li r5, 0 /* 801A64CC 001A342C 48 16 F3 A1 */ bl __nw__FUlPCcPCc /* 801A64D0 001A3430 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A64D4 001A3434 41 82 00 24 */ beq lbl_801A64F8 /* 801A64D8 001A3438 38 61 00 74 */ addi r3, r1, 0x74 /* 801A64DC 001A343C 38 9D 0A C8 */ addi r4, r29, 0xac8 /* 801A64E0 001A3440 48 19 A9 C9 */ bl __ct__6CTokenFRC6CToken /* 801A64E4 001A3444 7F C3 F3 78 */ mr r3, r30 /* 801A64E8 001A3448 38 81 00 74 */ addi r4, r1, 0x74 /* 801A64EC 001A344C 3B 80 00 01 */ li r28, 1 /* 801A64F0 001A3450 48 1B BC 81 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" /* 801A64F4 001A3454 7C 7E 1B 78 */ mr r30, r3 lbl_801A64F8: /* 801A64F8 001A3458 7C 7E 00 D0 */ neg r3, r30 /* 801A64FC 001A345C 7F 80 07 75 */ extsb. r0, r28 /* 801A6500 001A3460 7C 60 F3 78 */ or r0, r3, r30 /* 801A6504 001A3464 54 00 0F FE */ srwi r0, r0, 0x1f /* 801A6508 001A3468 98 1D 0A D4 */ stb r0, 0xad4(r29) /* 801A650C 001A346C 93 DD 0A D8 */ stw r30, 0xad8(r29) /* 801A6510 001A3470 41 82 00 10 */ beq lbl_801A6520 /* 801A6514 001A3474 38 61 00 74 */ addi r3, r1, 0x74 /* 801A6518 001A3478 38 80 00 00 */ li r4, 0 /* 801A651C 001A347C 48 19 A9 25 */ bl __dt__6CTokenFv lbl_801A6520: /* 801A6520 001A3480 80 DF 01 9C */ lwz r6, 0x19c(r31) /* 801A6524 001A3484 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801A6528 001A3488 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801A652C 001A348C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801A6530 001A3490 90 01 00 6C */ stw r0, 0x6c(r1) /* 801A6534 001A3494 38 61 00 64 */ addi r3, r1, 0x64 /* 801A6538 001A3498 38 A1 00 6C */ addi r5, r1, 0x6c /* 801A653C 001A349C 90 C1 00 70 */ stw r6, 0x70(r1) /* 801A6540 001A34A0 81 84 00 00 */ lwz r12, 0(r4) /* 801A6544 001A34A4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801A6548 001A34A8 7D 89 03 A6 */ mtctr r12 /* 801A654C 001A34AC 4E 80 04 21 */ bctrl /* 801A6550 001A34B0 3B 9D 0A DC */ addi r28, r29, 0xadc /* 801A6554 001A34B4 38 81 00 64 */ addi r4, r1, 0x64 /* 801A6558 001A34B8 7F 83 E3 78 */ mr r3, r28 /* 801A655C 001A34BC 48 19 A9 4D */ bl __ct__6CTokenFRC6CToken /* 801A6560 001A34C0 7F 83 E3 78 */ mr r3, r28 /* 801A6564 001A34C4 48 19 A8 A9 */ bl GetObj__6CTokenFv /* 801A6568 001A34C8 80 03 00 04 */ lwz r0, 4(r3) /* 801A656C 001A34CC 38 61 00 64 */ addi r3, r1, 0x64 /* 801A6570 001A34D0 38 80 FF FF */ li r4, -1 /* 801A6574 001A34D4 90 1C 00 08 */ stw r0, 8(r28) /* 801A6578 001A34D8 48 19 A8 C9 */ bl __dt__6CTokenFv /* 801A657C 001A34DC 38 80 00 00 */ li r4, 0 /* 801A6580 001A34E0 38 00 00 FF */ li r0, 0xff /* 801A6584 001A34E4 98 9D 0A E8 */ stb r4, 0xae8(r29) /* 801A6588 001A34E8 38 7D 0A 58 */ addi r3, r29, 0xa58 /* 801A658C 001A34EC 90 9D 0A EC */ stw r4, 0xaec(r29) /* 801A6590 001A34F0 90 9D 0A F0 */ stw r4, 0xaf0(r29) /* 801A6594 001A34F4 98 1D 0A F4 */ stb r0, 0xaf4(r29) /* 801A6598 001A34F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A659C 001A34FC B0 1D 0A F6 */ sth r0, 0xaf6(r29) /* 801A65A0 001A3500 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A65A4 001A3504 B0 1D 0A F8 */ sth r0, 0xaf8(r29) /* 801A65A8 001A3508 90 9D 0A FC */ stw r4, 0xafc(r29) /* 801A65AC 001A350C 90 9D 0B 04 */ stw r4, 0xb04(r29) /* 801A65B0 001A3510 90 9D 0B 1C */ stw r4, 0xb1c(r29) /* 801A65B4 001A3514 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A65B8 001A3518 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801A65BC 001A351C 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A65C0 001A3520 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A65C4 001A3524 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801A65C8 001A3528 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A65CC 001A352C 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A65D0 001A3530 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801A65D4 001A3534 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A65D8 001A3538 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A65DC 001A353C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801A65E0 001A3540 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A65E4 001A3544 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A65E8 001A3548 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801A65EC 001A354C 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A65F0 001A3550 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A65F4 001A3554 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801A65F8 001A3558 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A65FC 001A355C 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A6600 001A3560 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801A6604 001A3564 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A6608 001A3568 88 1D 0B 28 */ lbz r0, 0xb28(r29) /* 801A660C 001A356C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 801A6610 001A3570 98 1D 0B 28 */ stb r0, 0xb28(r29) /* 801A6614 001A3574 88 1D 0B 29 */ lbz r0, 0xb29(r29) /* 801A6618 001A3578 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801A661C 001A357C 98 1D 0B 29 */ stb r0, 0xb29(r29) /* 801A6620 001A3580 88 1D 0B 29 */ lbz r0, 0xb29(r29) /* 801A6624 001A3584 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801A6628 001A3588 98 1D 0B 29 */ stb r0, 0xb29(r29) /* 801A662C 001A358C 88 1D 0B 29 */ lbz r0, 0xb29(r29) /* 801A6630 001A3590 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801A6634 001A3594 98 1D 0B 29 */ stb r0, 0xb29(r29) /* 801A6638 001A3598 88 1D 0B 29 */ lbz r0, 0xb29(r29) /* 801A663C 001A359C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801A6640 001A35A0 98 1D 0B 29 */ stb r0, 0xb29(r29) /* 801A6644 001A35A4 88 1D 0B 29 */ lbz r0, 0xb29(r29) /* 801A6648 001A35A8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801A664C 001A35AC 98 1D 0B 29 */ stb r0, 0xb29(r29) /* 801A6650 001A35B0 88 1D 0B 29 */ lbz r0, 0xb29(r29) /* 801A6654 001A35B4 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801A6658 001A35B8 98 1D 0B 29 */ stb r0, 0xb29(r29) /* 801A665C 001A35BC 48 19 A7 29 */ bl Lock__6CTokenFv /* 801A6660 001A35C0 7F A3 EB 78 */ mr r3, r29 /* 801A6664 001A35C4 4B FF A5 BD */ bl sub_801a0c20 /* 801A6668 001A35C8 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 801A666C 001A35CC 38 80 00 00 */ li r4, 0 /* 801A6670 001A35D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801A6674 001A35D4 38 61 00 24 */ addi r3, r1, 0x24 /* 801A6678 001A35D8 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 801A667C 001A35DC 88 1D 04 E2 */ lbz r0, 0x4e2(r29) /* 801A6680 001A35E0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801A6684 001A35E4 98 1D 04 E2 */ stb r0, 0x4e2(r29) /* 801A6688 001A35E8 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 801A668C 001A35EC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801A6690 001A35F0 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 801A6694 001A35F4 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 801A6698 001A35F8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801A669C 001A35FC 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 801A66A0 001A3600 48 13 C9 DD */ bl NoParameter__12CPASAnimParmFv /* 801A66A4 001A3604 38 61 00 2C */ addi r3, r1, 0x2c /* 801A66A8 001A3608 48 13 C9 D5 */ bl NoParameter__12CPASAnimParmFv /* 801A66AC 001A360C 38 61 00 34 */ addi r3, r1, 0x34 /* 801A66B0 001A3610 48 13 C9 CD */ bl NoParameter__12CPASAnimParmFv /* 801A66B4 001A3614 38 61 00 3C */ addi r3, r1, 0x3c /* 801A66B8 001A3618 48 13 C9 C5 */ bl NoParameter__12CPASAnimParmFv /* 801A66BC 001A361C 38 61 00 44 */ addi r3, r1, 0x44 /* 801A66C0 001A3620 48 13 C9 BD */ bl NoParameter__12CPASAnimParmFv /* 801A66C4 001A3624 38 61 00 4C */ addi r3, r1, 0x4c /* 801A66C8 001A3628 48 13 C9 B5 */ bl NoParameter__12CPASAnimParmFv /* 801A66CC 001A362C 38 61 00 54 */ addi r3, r1, 0x54 /* 801A66D0 001A3630 38 80 00 00 */ li r4, 0 /* 801A66D4 001A3634 48 13 C8 B1 */ bl FromEnum__12CPASAnimParmFi /* 801A66D8 001A3638 38 61 00 5C */ addi r3, r1, 0x5c /* 801A66DC 001A363C 38 80 00 01 */ li r4, 1 /* 801A66E0 001A3640 48 13 C8 A5 */ bl FromEnum__12CPASAnimParmFi /* 801A66E4 001A3644 38 61 00 2C */ addi r3, r1, 0x2c /* 801A66E8 001A3648 38 01 00 24 */ addi r0, r1, 0x24 /* 801A66EC 001A364C 90 61 00 08 */ stw r3, 8(r1) /* 801A66F0 001A3650 38 61 01 50 */ addi r3, r1, 0x150 /* 801A66F4 001A3654 38 A1 00 5C */ addi r5, r1, 0x5c /* 801A66F8 001A3658 38 C1 00 54 */ addi r6, r1, 0x54 /* 801A66FC 001A365C 90 01 00 0C */ stw r0, 0xc(r1) /* 801A6700 001A3660 38 E1 00 4C */ addi r7, r1, 0x4c /* 801A6704 001A3664 39 01 00 44 */ addi r8, r1, 0x44 /* 801A6708 001A3668 39 21 00 3C */ addi r9, r1, 0x3c /* 801A670C 001A366C 39 41 00 34 */ addi r10, r1, 0x34 /* 801A6710 001A3670 38 80 00 03 */ li r4, 3 /* 801A6714 001A3674 4B ED 6B B1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801A6718 001A3678 80 BD 00 64 */ lwz r5, 0x64(r29) /* 801A671C 001A367C 7F A3 EB 78 */ mr r3, r29 /* 801A6720 001A3680 38 81 01 50 */ addi r4, r1, 0x150 /* 801A6724 001A3684 C0 45 00 00 */ lfs f2, 0(r5) /* 801A6728 001A3688 C0 25 00 04 */ lfs f1, 4(r5) /* 801A672C 001A368C C0 05 00 08 */ lfs f0, 8(r5) /* 801A6730 001A3690 D0 41 01 1C */ stfs f2, 0x11c(r1) /* 801A6734 001A3694 D0 21 01 20 */ stfs f1, 0x120(r1) /* 801A6738 001A3698 D0 01 01 24 */ stfs f0, 0x124(r1) /* 801A673C 001A369C 4B ED 62 C5 */ bl func_8007CA00 /* 801A6740 001A36A0 C0 01 01 20 */ lfs f0, 0x120(r1) /* 801A6744 001A36A4 38 81 01 10 */ addi r4, r1, 0x110 /* 801A6748 001A36A8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A674C 001A36AC D0 1D 09 50 */ stfs f0, 0x950(r29) /* 801A6750 001A36B0 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801A6754 001A36B4 C0 03 00 00 */ lfs f0, 0(r3) /* 801A6758 001A36B8 D0 01 01 10 */ stfs f0, 0x110(r1) /* 801A675C 001A36BC C0 03 00 04 */ lfs f0, 4(r3) /* 801A6760 001A36C0 D0 01 01 14 */ stfs f0, 0x114(r1) /* 801A6764 001A36C4 C0 03 00 08 */ lfs f0, 8(r3) /* 801A6768 001A36C8 D0 01 01 18 */ stfs f0, 0x118(r1) /* 801A676C 001A36CC 80 7D 0A 9C */ lwz r3, 0xa9c(r29) /* 801A6770 001A36D0 81 83 00 00 */ lwz r12, 0(r3) /* 801A6774 001A36D4 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801A6778 001A36D8 7D 89 03 A6 */ mtctr r12 /* 801A677C 001A36DC 4E 80 04 21 */ bctrl /* 801A6780 001A36E0 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801A6784 001A36E4 38 81 01 04 */ addi r4, r1, 0x104 /* 801A6788 001A36E8 C0 03 00 00 */ lfs f0, 0(r3) /* 801A678C 001A36EC D0 01 01 04 */ stfs f0, 0x104(r1) /* 801A6790 001A36F0 C0 03 00 04 */ lfs f0, 4(r3) /* 801A6794 001A36F4 D0 01 01 08 */ stfs f0, 0x108(r1) /* 801A6798 001A36F8 C0 03 00 08 */ lfs f0, 8(r3) /* 801A679C 001A36FC D0 01 01 0C */ stfs f0, 0x10c(r1) /* 801A67A0 001A3700 80 7D 0A B0 */ lwz r3, 0xab0(r29) /* 801A67A4 001A3704 81 83 00 00 */ lwz r12, 0(r3) /* 801A67A8 001A3708 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801A67AC 001A370C 7D 89 03 A6 */ mtctr r12 /* 801A67B0 001A3710 4E 80 04 21 */ bctrl /* 801A67B4 001A3714 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801A67B8 001A3718 38 81 00 F8 */ addi r4, r1, 0xf8 /* 801A67BC 001A371C C0 03 00 00 */ lfs f0, 0(r3) /* 801A67C0 001A3720 D0 01 00 F8 */ stfs f0, 0xf8(r1) /* 801A67C4 001A3724 C0 03 00 04 */ lfs f0, 4(r3) /* 801A67C8 001A3728 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 801A67CC 001A372C C0 03 00 08 */ lfs f0, 8(r3) /* 801A67D0 001A3730 D0 01 01 00 */ stfs f0, 0x100(r1) /* 801A67D4 001A3734 80 7D 0A C4 */ lwz r3, 0xac4(r29) /* 801A67D8 001A3738 81 83 00 00 */ lwz r12, 0(r3) /* 801A67DC 001A373C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801A67E0 001A3740 7D 89 03 A6 */ mtctr r12 /* 801A67E4 001A3744 4E 80 04 21 */ bctrl /* 801A67E8 001A3748 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801A67EC 001A374C 38 81 00 EC */ addi r4, r1, 0xec /* 801A67F0 001A3750 C0 03 00 00 */ lfs f0, 0(r3) /* 801A67F4 001A3754 D0 01 00 EC */ stfs f0, 0xec(r1) /* 801A67F8 001A3758 C0 03 00 04 */ lfs f0, 4(r3) /* 801A67FC 001A375C D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 801A6800 001A3760 C0 03 00 08 */ lfs f0, 8(r3) /* 801A6804 001A3764 D0 01 00 F4 */ stfs f0, 0xf4(r1) /* 801A6808 001A3768 80 7D 0A D8 */ lwz r3, 0xad8(r29) /* 801A680C 001A376C 81 83 00 00 */ lwz r12, 0(r3) /* 801A6810 001A3770 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801A6814 001A3774 7D 89 03 A6 */ mtctr r12 /* 801A6818 001A3778 4E 80 04 21 */ bctrl /* 801A681C 001A377C 80 9D 04 50 */ lwz r4, 0x450(r29) /* 801A6820 001A3780 38 A0 00 01 */ li r5, 1 /* 801A6824 001A3784 7F A3 EB 78 */ mr r3, r29 /* 801A6828 001A3788 88 04 02 D8 */ lbz r0, 0x2d8(r4) /* 801A682C 001A378C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801A6830 001A3790 98 04 02 D8 */ stb r0, 0x2d8(r4) /* 801A6834 001A3794 4B ED 10 61 */ bl MakeThermalColdAndHot__10CPatternedFv /* 801A6838 001A3798 88 1D 03 28 */ lbz r0, 0x328(r29) /* 801A683C 001A379C 38 60 00 01 */ li r3, 1 /* 801A6840 001A37A0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801A6844 001A37A4 34 A1 01 54 */ addic. r5, r1, 0x154 /* 801A6848 001A37A8 98 1D 03 28 */ stb r0, 0x328(r29) /* 801A684C 001A37AC 41 82 00 58 */ beq lbl_801A68A4 /* 801A6850 001A37B0 80 C5 00 00 */ lwz r6, 0(r5) /* 801A6854 001A37B4 38 60 00 00 */ li r3, 0 /* 801A6858 001A37B8 2C 06 00 00 */ cmpwi r6, 0 /* 801A685C 001A37BC 40 81 00 40 */ ble lbl_801A689C /* 801A6860 001A37C0 2C 06 00 08 */ cmpwi r6, 8 /* 801A6864 001A37C4 38 86 FF F8 */ addi r4, r6, -8 /* 801A6868 001A37C8 40 81 00 20 */ ble lbl_801A6888 /* 801A686C 001A37CC 38 04 00 07 */ addi r0, r4, 7 /* 801A6870 001A37D0 54 00 E8 FE */ srwi r0, r0, 3 /* 801A6874 001A37D4 7C 09 03 A6 */ mtctr r0 /* 801A6878 001A37D8 2C 04 00 00 */ cmpwi r4, 0 /* 801A687C 001A37DC 40 81 00 0C */ ble lbl_801A6888 lbl_801A6880: /* 801A6880 001A37E0 38 63 00 08 */ addi r3, r3, 8 /* 801A6884 001A37E4 42 00 FF FC */ bdnz lbl_801A6880 lbl_801A6888: /* 801A6888 001A37E8 7C 03 30 50 */ subf r0, r3, r6 /* 801A688C 001A37EC 7C 09 03 A6 */ mtctr r0 /* 801A6890 001A37F0 7C 03 30 00 */ cmpw r3, r6 /* 801A6894 001A37F4 40 80 00 08 */ bge lbl_801A689C lbl_801A6898: /* 801A6898 001A37F8 42 00 00 00 */ bdnz lbl_801A6898 lbl_801A689C: /* 801A689C 001A37FC 38 00 00 00 */ li r0, 0 /* 801A68A0 001A3800 90 05 00 00 */ stw r0, 0(r5) lbl_801A68A4: /* 801A68A4 001A3804 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 801A68A8 001A3808 7F A3 EB 78 */ mr r3, r29 /* 801A68AC 001A380C 83 E1 01 AC */ lwz r31, 0x1ac(r1) /* 801A68B0 001A3810 83 C1 01 A8 */ lwz r30, 0x1a8(r1) /* 801A68B4 001A3814 83 A1 01 A4 */ lwz r29, 0x1a4(r1) /* 801A68B8 001A3818 83 81 01 A0 */ lwz r28, 0x1a0(r1) /* 801A68BC 001A381C 7C 08 03 A6 */ mtlr r0 /* 801A68C0 001A3820 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 801A68C4 001A3824 4E 80 00 20 */ blr .global __ct__16CIceSheegothDataFR16CIceSheegothData __ct__16CIceSheegothDataFR16CIceSheegothData: /* 801A68C8 001A3828 C0 04 00 00 */ lfs f0, 0(r4) /* 801A68CC 001A382C D0 03 00 00 */ stfs f0, 0(r3) /* 801A68D0 001A3830 C0 04 00 04 */ lfs f0, 4(r4) /* 801A68D4 001A3834 D0 03 00 04 */ stfs f0, 4(r3) /* 801A68D8 001A3838 C0 04 00 08 */ lfs f0, 8(r4) /* 801A68DC 001A383C D0 03 00 08 */ stfs f0, 8(r3) /* 801A68E0 001A3840 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801A68E4 001A3844 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801A68E8 001A3848 C0 04 00 10 */ lfs f0, 0x10(r4) /* 801A68EC 001A384C D0 03 00 10 */ stfs f0, 0x10(r3) /* 801A68F0 001A3850 C0 04 00 14 */ lfs f0, 0x14(r4) /* 801A68F4 001A3854 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801A68F8 001A3858 80 A4 00 18 */ lwz r5, 0x18(r4) /* 801A68FC 001A385C 80 04 00 1C */ lwz r0, 0x1c(r4) /* 801A6900 001A3860 90 A3 00 18 */ stw r5, 0x18(r3) /* 801A6904 001A3864 90 03 00 1C */ stw r0, 0x1c(r3) /* 801A6908 001A3868 80 A4 00 20 */ lwz r5, 0x20(r4) /* 801A690C 001A386C 80 04 00 24 */ lwz r0, 0x24(r4) /* 801A6910 001A3870 90 A3 00 20 */ stw r5, 0x20(r3) /* 801A6914 001A3874 90 03 00 24 */ stw r0, 0x24(r3) /* 801A6918 001A3878 80 A4 00 28 */ lwz r5, 0x28(r4) /* 801A691C 001A387C 80 04 00 2C */ lwz r0, 0x2c(r4) /* 801A6920 001A3880 90 A3 00 28 */ stw r5, 0x28(r3) /* 801A6924 001A3884 90 03 00 2C */ stw r0, 0x2c(r3) /* 801A6928 001A3888 80 A4 00 30 */ lwz r5, 0x30(r4) /* 801A692C 001A388C 80 04 00 34 */ lwz r0, 0x34(r4) /* 801A6930 001A3890 90 A3 00 30 */ stw r5, 0x30(r3) /* 801A6934 001A3894 90 03 00 34 */ stw r0, 0x34(r3) /* 801A6938 001A3898 80 A4 00 38 */ lwz r5, 0x38(r4) /* 801A693C 001A389C 80 04 00 3C */ lwz r0, 0x3c(r4) /* 801A6940 001A38A0 90 A3 00 38 */ stw r5, 0x38(r3) /* 801A6944 001A38A4 90 03 00 3C */ stw r0, 0x3c(r3) /* 801A6948 001A38A8 80 A4 00 40 */ lwz r5, 0x40(r4) /* 801A694C 001A38AC 80 04 00 44 */ lwz r0, 0x44(r4) /* 801A6950 001A38B0 90 A3 00 40 */ stw r5, 0x40(r3) /* 801A6954 001A38B4 90 03 00 44 */ stw r0, 0x44(r3) /* 801A6958 001A38B8 80 A4 00 48 */ lwz r5, 0x48(r4) /* 801A695C 001A38BC 80 04 00 4C */ lwz r0, 0x4c(r4) /* 801A6960 001A38C0 90 A3 00 48 */ stw r5, 0x48(r3) /* 801A6964 001A38C4 90 03 00 4C */ stw r0, 0x4c(r3) /* 801A6968 001A38C8 80 04 00 50 */ lwz r0, 0x50(r4) /* 801A696C 001A38CC 90 03 00 50 */ stw r0, 0x50(r3) /* 801A6970 001A38D0 80 A4 00 54 */ lwz r5, 0x54(r4) /* 801A6974 001A38D4 80 04 00 58 */ lwz r0, 0x58(r4) /* 801A6978 001A38D8 90 A3 00 54 */ stw r5, 0x54(r3) /* 801A697C 001A38DC 90 03 00 58 */ stw r0, 0x58(r3) /* 801A6980 001A38E0 80 A4 00 5C */ lwz r5, 0x5c(r4) /* 801A6984 001A38E4 80 04 00 60 */ lwz r0, 0x60(r4) /* 801A6988 001A38E8 90 A3 00 5C */ stw r5, 0x5c(r3) /* 801A698C 001A38EC 90 03 00 60 */ stw r0, 0x60(r3) /* 801A6990 001A38F0 80 A4 00 64 */ lwz r5, 0x64(r4) /* 801A6994 001A38F4 80 04 00 68 */ lwz r0, 0x68(r4) /* 801A6998 001A38F8 90 A3 00 64 */ stw r5, 0x64(r3) /* 801A699C 001A38FC 90 03 00 68 */ stw r0, 0x68(r3) /* 801A69A0 001A3900 80 A4 00 6C */ lwz r5, 0x6c(r4) /* 801A69A4 001A3904 80 04 00 70 */ lwz r0, 0x70(r4) /* 801A69A8 001A3908 90 A3 00 6C */ stw r5, 0x6c(r3) /* 801A69AC 001A390C 90 03 00 70 */ stw r0, 0x70(r3) /* 801A69B0 001A3910 80 04 00 74 */ lwz r0, 0x74(r4) /* 801A69B4 001A3914 90 03 00 74 */ stw r0, 0x74(r3) /* 801A69B8 001A3918 80 04 00 78 */ lwz r0, 0x78(r4) /* 801A69BC 001A391C 90 03 00 78 */ stw r0, 0x78(r3) /* 801A69C0 001A3920 80 04 00 7C */ lwz r0, 0x7c(r4) /* 801A69C4 001A3924 90 03 00 7C */ stw r0, 0x7c(r3) /* 801A69C8 001A3928 80 A4 00 80 */ lwz r5, 0x80(r4) /* 801A69CC 001A392C 80 04 00 84 */ lwz r0, 0x84(r4) /* 801A69D0 001A3930 90 A3 00 80 */ stw r5, 0x80(r3) /* 801A69D4 001A3934 90 03 00 84 */ stw r0, 0x84(r3) /* 801A69D8 001A3938 80 A4 00 88 */ lwz r5, 0x88(r4) /* 801A69DC 001A393C 80 04 00 8C */ lwz r0, 0x8c(r4) /* 801A69E0 001A3940 90 A3 00 88 */ stw r5, 0x88(r3) /* 801A69E4 001A3944 90 03 00 8C */ stw r0, 0x8c(r3) /* 801A69E8 001A3948 80 A4 00 90 */ lwz r5, 0x90(r4) /* 801A69EC 001A394C 80 04 00 94 */ lwz r0, 0x94(r4) /* 801A69F0 001A3950 90 A3 00 90 */ stw r5, 0x90(r3) /* 801A69F4 001A3954 90 03 00 94 */ stw r0, 0x94(r3) /* 801A69F8 001A3958 80 A4 00 98 */ lwz r5, 0x98(r4) /* 801A69FC 001A395C 80 04 00 9C */ lwz r0, 0x9c(r4) /* 801A6A00 001A3960 90 A3 00 98 */ stw r5, 0x98(r3) /* 801A6A04 001A3964 90 03 00 9C */ stw r0, 0x9c(r3) /* 801A6A08 001A3968 80 A4 00 A0 */ lwz r5, 0xa0(r4) /* 801A6A0C 001A396C 80 04 00 A4 */ lwz r0, 0xa4(r4) /* 801A6A10 001A3970 90 A3 00 A0 */ stw r5, 0xa0(r3) /* 801A6A14 001A3974 90 03 00 A4 */ stw r0, 0xa4(r3) /* 801A6A18 001A3978 80 A4 00 A8 */ lwz r5, 0xa8(r4) /* 801A6A1C 001A397C 80 04 00 AC */ lwz r0, 0xac(r4) /* 801A6A20 001A3980 90 A3 00 A8 */ stw r5, 0xa8(r3) /* 801A6A24 001A3984 90 03 00 AC */ stw r0, 0xac(r3) /* 801A6A28 001A3988 80 A4 00 B0 */ lwz r5, 0xb0(r4) /* 801A6A2C 001A398C 80 04 00 B4 */ lwz r0, 0xb4(r4) /* 801A6A30 001A3990 90 A3 00 B0 */ stw r5, 0xb0(r3) /* 801A6A34 001A3994 90 03 00 B4 */ stw r0, 0xb4(r3) /* 801A6A38 001A3998 80 04 00 B8 */ lwz r0, 0xb8(r4) /* 801A6A3C 001A399C 90 03 00 B8 */ stw r0, 0xb8(r3) /* 801A6A40 001A39A0 80 A4 00 BC */ lwz r5, 0xbc(r4) /* 801A6A44 001A39A4 80 04 00 C0 */ lwz r0, 0xc0(r4) /* 801A6A48 001A39A8 90 A3 00 BC */ stw r5, 0xbc(r3) /* 801A6A4C 001A39AC 90 03 00 C0 */ stw r0, 0xc0(r3) /* 801A6A50 001A39B0 80 A4 00 C4 */ lwz r5, 0xc4(r4) /* 801A6A54 001A39B4 80 04 00 C8 */ lwz r0, 0xc8(r4) /* 801A6A58 001A39B8 90 A3 00 C4 */ stw r5, 0xc4(r3) /* 801A6A5C 001A39BC 90 03 00 C8 */ stw r0, 0xc8(r3) /* 801A6A60 001A39C0 80 A4 00 CC */ lwz r5, 0xcc(r4) /* 801A6A64 001A39C4 80 04 00 D0 */ lwz r0, 0xd0(r4) /* 801A6A68 001A39C8 90 A3 00 CC */ stw r5, 0xcc(r3) /* 801A6A6C 001A39CC 90 03 00 D0 */ stw r0, 0xd0(r3) /* 801A6A70 001A39D0 80 A4 00 D4 */ lwz r5, 0xd4(r4) /* 801A6A74 001A39D4 80 04 00 D8 */ lwz r0, 0xd8(r4) /* 801A6A78 001A39D8 90 A3 00 D4 */ stw r5, 0xd4(r3) /* 801A6A7C 001A39DC 90 03 00 D8 */ stw r0, 0xd8(r3) /* 801A6A80 001A39E0 80 04 00 DC */ lwz r0, 0xdc(r4) /* 801A6A84 001A39E4 90 03 00 DC */ stw r0, 0xdc(r3) /* 801A6A88 001A39E8 80 04 00 E0 */ lwz r0, 0xe0(r4) /* 801A6A8C 001A39EC 90 03 00 E0 */ stw r0, 0xe0(r3) /* 801A6A90 001A39F0 80 04 00 E4 */ lwz r0, 0xe4(r4) /* 801A6A94 001A39F4 90 03 00 E4 */ stw r0, 0xe4(r3) /* 801A6A98 001A39F8 80 A4 00 E8 */ lwz r5, 0xe8(r4) /* 801A6A9C 001A39FC 80 04 00 EC */ lwz r0, 0xec(r4) /* 801A6AA0 001A3A00 90 A3 00 E8 */ stw r5, 0xe8(r3) /* 801A6AA4 001A3A04 90 03 00 EC */ stw r0, 0xec(r3) /* 801A6AA8 001A3A08 80 A4 00 F0 */ lwz r5, 0xf0(r4) /* 801A6AAC 001A3A0C 80 04 00 F4 */ lwz r0, 0xf4(r4) /* 801A6AB0 001A3A10 90 A3 00 F0 */ stw r5, 0xf0(r3) /* 801A6AB4 001A3A14 90 03 00 F4 */ stw r0, 0xf4(r3) /* 801A6AB8 001A3A18 80 A4 00 F8 */ lwz r5, 0xf8(r4) /* 801A6ABC 001A3A1C 80 04 00 FC */ lwz r0, 0xfc(r4) /* 801A6AC0 001A3A20 90 A3 00 F8 */ stw r5, 0xf8(r3) /* 801A6AC4 001A3A24 90 03 00 FC */ stw r0, 0xfc(r3) /* 801A6AC8 001A3A28 80 A4 01 00 */ lwz r5, 0x100(r4) /* 801A6ACC 001A3A2C 80 04 01 04 */ lwz r0, 0x104(r4) /* 801A6AD0 001A3A30 90 A3 01 00 */ stw r5, 0x100(r3) /* 801A6AD4 001A3A34 90 03 01 04 */ stw r0, 0x104(r3) /* 801A6AD8 001A3A38 80 A4 01 08 */ lwz r5, 0x108(r4) /* 801A6ADC 001A3A3C 80 04 01 0C */ lwz r0, 0x10c(r4) /* 801A6AE0 001A3A40 90 A3 01 08 */ stw r5, 0x108(r3) /* 801A6AE4 001A3A44 90 03 01 0C */ stw r0, 0x10c(r3) /* 801A6AE8 001A3A48 80 A4 01 10 */ lwz r5, 0x110(r4) /* 801A6AEC 001A3A4C 80 04 01 14 */ lwz r0, 0x114(r4) /* 801A6AF0 001A3A50 90 A3 01 10 */ stw r5, 0x110(r3) /* 801A6AF4 001A3A54 90 03 01 14 */ stw r0, 0x114(r3) /* 801A6AF8 001A3A58 80 A4 01 18 */ lwz r5, 0x118(r4) /* 801A6AFC 001A3A5C 80 04 01 1C */ lwz r0, 0x11c(r4) /* 801A6B00 001A3A60 90 A3 01 18 */ stw r5, 0x118(r3) /* 801A6B04 001A3A64 90 03 01 1C */ stw r0, 0x11c(r3) /* 801A6B08 001A3A68 80 04 01 20 */ lwz r0, 0x120(r4) /* 801A6B0C 001A3A6C 90 03 01 20 */ stw r0, 0x120(r3) /* 801A6B10 001A3A70 80 A4 01 24 */ lwz r5, 0x124(r4) /* 801A6B14 001A3A74 80 04 01 28 */ lwz r0, 0x128(r4) /* 801A6B18 001A3A78 90 A3 01 24 */ stw r5, 0x124(r3) /* 801A6B1C 001A3A7C 90 03 01 28 */ stw r0, 0x128(r3) /* 801A6B20 001A3A80 80 A4 01 2C */ lwz r5, 0x12c(r4) /* 801A6B24 001A3A84 80 04 01 30 */ lwz r0, 0x130(r4) /* 801A6B28 001A3A88 90 A3 01 2C */ stw r5, 0x12c(r3) /* 801A6B2C 001A3A8C 90 03 01 30 */ stw r0, 0x130(r3) /* 801A6B30 001A3A90 80 A4 01 34 */ lwz r5, 0x134(r4) /* 801A6B34 001A3A94 80 04 01 38 */ lwz r0, 0x138(r4) /* 801A6B38 001A3A98 90 A3 01 34 */ stw r5, 0x134(r3) /* 801A6B3C 001A3A9C 90 03 01 38 */ stw r0, 0x138(r3) /* 801A6B40 001A3AA0 80 A4 01 3C */ lwz r5, 0x13c(r4) /* 801A6B44 001A3AA4 80 04 01 40 */ lwz r0, 0x140(r4) /* 801A6B48 001A3AA8 90 A3 01 3C */ stw r5, 0x13c(r3) /* 801A6B4C 001A3AAC 90 03 01 40 */ stw r0, 0x140(r3) /* 801A6B50 001A3AB0 80 04 01 44 */ lwz r0, 0x144(r4) /* 801A6B54 001A3AB4 90 03 01 44 */ stw r0, 0x144(r3) /* 801A6B58 001A3AB8 80 04 01 48 */ lwz r0, 0x148(r4) /* 801A6B5C 001A3ABC 90 03 01 48 */ stw r0, 0x148(r3) /* 801A6B60 001A3AC0 80 04 01 4C */ lwz r0, 0x14c(r4) /* 801A6B64 001A3AC4 90 03 01 4C */ stw r0, 0x14c(r3) /* 801A6B68 001A3AC8 80 04 01 50 */ lwz r0, 0x150(r4) /* 801A6B6C 001A3ACC 90 03 01 50 */ stw r0, 0x150(r3) /* 801A6B70 001A3AD0 80 04 01 54 */ lwz r0, 0x154(r4) /* 801A6B74 001A3AD4 90 03 01 54 */ stw r0, 0x154(r3) /* 801A6B78 001A3AD8 88 04 01 58 */ lbz r0, 0x158(r4) /* 801A6B7C 001A3ADC 98 03 01 58 */ stb r0, 0x158(r3) /* 801A6B80 001A3AE0 C0 04 01 5C */ lfs f0, 0x15c(r4) /* 801A6B84 001A3AE4 D0 03 01 5C */ stfs f0, 0x15c(r3) /* 801A6B88 001A3AE8 C0 04 01 60 */ lfs f0, 0x160(r4) /* 801A6B8C 001A3AEC D0 03 01 60 */ stfs f0, 0x160(r3) /* 801A6B90 001A3AF0 C0 04 01 64 */ lfs f0, 0x164(r4) /* 801A6B94 001A3AF4 D0 03 01 64 */ stfs f0, 0x164(r3) /* 801A6B98 001A3AF8 C0 04 01 68 */ lfs f0, 0x168(r4) /* 801A6B9C 001A3AFC D0 03 01 68 */ stfs f0, 0x168(r3) /* 801A6BA0 001A3B00 88 04 01 6C */ lbz r0, 0x16c(r4) /* 801A6BA4 001A3B04 98 03 01 6C */ stb r0, 0x16c(r3) /* 801A6BA8 001A3B08 C0 04 01 70 */ lfs f0, 0x170(r4) /* 801A6BAC 001A3B0C D0 03 01 70 */ stfs f0, 0x170(r3) /* 801A6BB0 001A3B10 C0 04 01 74 */ lfs f0, 0x174(r4) /* 801A6BB4 001A3B14 D0 03 01 74 */ stfs f0, 0x174(r3) /* 801A6BB8 001A3B18 80 04 01 78 */ lwz r0, 0x178(r4) /* 801A6BBC 001A3B1C 90 03 01 78 */ stw r0, 0x178(r3) /* 801A6BC0 001A3B20 80 04 01 7C */ lwz r0, 0x17c(r4) /* 801A6BC4 001A3B24 90 03 01 7C */ stw r0, 0x17c(r3) /* 801A6BC8 001A3B28 80 04 01 80 */ lwz r0, 0x180(r4) /* 801A6BCC 001A3B2C 90 03 01 80 */ stw r0, 0x180(r3) /* 801A6BD0 001A3B30 88 04 01 84 */ lbz r0, 0x184(r4) /* 801A6BD4 001A3B34 98 03 01 84 */ stb r0, 0x184(r3) /* 801A6BD8 001A3B38 C0 04 01 88 */ lfs f0, 0x188(r4) /* 801A6BDC 001A3B3C D0 03 01 88 */ stfs f0, 0x188(r3) /* 801A6BE0 001A3B40 C0 04 01 8C */ lfs f0, 0x18c(r4) /* 801A6BE4 001A3B44 D0 03 01 8C */ stfs f0, 0x18c(r3) /* 801A6BE8 001A3B48 C0 04 01 90 */ lfs f0, 0x190(r4) /* 801A6BEC 001A3B4C D0 03 01 90 */ stfs f0, 0x190(r3) /* 801A6BF0 001A3B50 C0 04 01 94 */ lfs f0, 0x194(r4) /* 801A6BF4 001A3B54 D0 03 01 94 */ stfs f0, 0x194(r3) /* 801A6BF8 001A3B58 88 04 01 98 */ lbz r0, 0x198(r4) /* 801A6BFC 001A3B5C 98 03 01 98 */ stb r0, 0x198(r3) /* 801A6C00 001A3B60 80 04 01 9C */ lwz r0, 0x19c(r4) /* 801A6C04 001A3B64 90 03 01 9C */ stw r0, 0x19c(r3) /* 801A6C08 001A3B68 80 04 01 A0 */ lwz r0, 0x1a0(r4) /* 801A6C0C 001A3B6C 90 03 01 A0 */ stw r0, 0x1a0(r3) /* 801A6C10 001A3B70 80 04 01 A4 */ lwz r0, 0x1a4(r4) /* 801A6C14 001A3B74 90 03 01 A4 */ stw r0, 0x1a4(r3) /* 801A6C18 001A3B78 80 04 01 A8 */ lwz r0, 0x1a8(r4) /* 801A6C1C 001A3B7C 90 03 01 A8 */ stw r0, 0x1a8(r3) /* 801A6C20 001A3B80 80 04 01 AC */ lwz r0, 0x1ac(r4) /* 801A6C24 001A3B84 90 03 01 AC */ stw r0, 0x1ac(r3) /* 801A6C28 001A3B88 C0 04 01 B0 */ lfs f0, 0x1b0(r4) /* 801A6C2C 001A3B8C D0 03 01 B0 */ stfs f0, 0x1b0(r3) /* 801A6C30 001A3B90 C0 04 01 B4 */ lfs f0, 0x1b4(r4) /* 801A6C34 001A3B94 D0 03 01 B4 */ stfs f0, 0x1b4(r3) /* 801A6C38 001A3B98 80 04 01 B8 */ lwz r0, 0x1b8(r4) /* 801A6C3C 001A3B9C 90 03 01 B8 */ stw r0, 0x1b8(r3) /* 801A6C40 001A3BA0 88 04 01 BC */ lbz r0, 0x1bc(r4) /* 801A6C44 001A3BA4 98 03 01 BC */ stb r0, 0x1bc(r3) /* 801A6C48 001A3BA8 C0 04 01 C0 */ lfs f0, 0x1c0(r4) /* 801A6C4C 001A3BAC D0 03 01 C0 */ stfs f0, 0x1c0(r3) /* 801A6C50 001A3BB0 C0 04 01 C4 */ lfs f0, 0x1c4(r4) /* 801A6C54 001A3BB4 D0 03 01 C4 */ stfs f0, 0x1c4(r3) /* 801A6C58 001A3BB8 C0 04 01 C8 */ lfs f0, 0x1c8(r4) /* 801A6C5C 001A3BBC D0 03 01 C8 */ stfs f0, 0x1c8(r3) /* 801A6C60 001A3BC0 C0 04 01 CC */ lfs f0, 0x1cc(r4) /* 801A6C64 001A3BC4 D0 03 01 CC */ stfs f0, 0x1cc(r3) /* 801A6C68 001A3BC8 88 04 01 D0 */ lbz r0, 0x1d0(r4) /* 801A6C6C 001A3BCC 98 03 01 D0 */ stb r0, 0x1d0(r3) /* 801A6C70 001A3BD0 A0 04 01 D4 */ lhz r0, 0x1d4(r4) /* 801A6C74 001A3BD4 B0 03 01 D4 */ sth r0, 0x1d4(r3) /* 801A6C78 001A3BD8 C0 04 01 D8 */ lfs f0, 0x1d8(r4) /* 801A6C7C 001A3BDC D0 03 01 D8 */ stfs f0, 0x1d8(r3) /* 801A6C80 001A3BE0 C0 04 01 DC */ lfs f0, 0x1dc(r4) /* 801A6C84 001A3BE4 D0 03 01 DC */ stfs f0, 0x1dc(r3) /* 801A6C88 001A3BE8 C0 04 01 E0 */ lfs f0, 0x1e0(r4) /* 801A6C8C 001A3BEC D0 03 01 E0 */ stfs f0, 0x1e0(r3) /* 801A6C90 001A3BF0 80 04 01 E4 */ lwz r0, 0x1e4(r4) /* 801A6C94 001A3BF4 90 03 01 E4 */ stw r0, 0x1e4(r3) /* 801A6C98 001A3BF8 A0 04 01 E8 */ lhz r0, 0x1e8(r4) /* 801A6C9C 001A3BFC B0 03 01 E8 */ sth r0, 0x1e8(r3) /* 801A6CA0 001A3C00 80 04 01 EC */ lwz r0, 0x1ec(r4) /* 801A6CA4 001A3C04 90 03 01 EC */ stw r0, 0x1ec(r3) /* 801A6CA8 001A3C08 88 04 01 F0 */ lbz r0, 0x1f0(r4) /* 801A6CAC 001A3C0C 98 03 01 F0 */ stb r0, 0x1f0(r3) /* 801A6CB0 001A3C10 4E 80 00 20 */ blr .global __ct__16CIceSheegothDataFR12CInputStreami __ct__16CIceSheegothDataFR12CInputStreami: /* 801A6CB4 001A3C14 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A6CB8 001A3C18 7C 08 02 A6 */ mflr r0 /* 801A6CBC 001A3C1C 90 01 00 24 */ stw r0, 0x24(r1) /* 801A6CC0 001A3C20 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A6CC4 001A3C24 7C 9F 23 78 */ mr r31, r4 /* 801A6CC8 001A3C28 93 C1 00 18 */ stw r30, 0x18(r1) /* 801A6CCC 001A3C2C 7C 7E 1B 78 */ mr r30, r3 /* 801A6CD0 001A3C30 7F E3 FB 78 */ mr r3, r31 /* 801A6CD4 001A3C34 48 19 7F 55 */ bl ReadFloat__12CInputStreamFv /* 801A6CD8 001A3C38 C0 02 A7 F4 */ lfs f0, lbl_805AC514@sda21(r2) /* 801A6CDC 001A3C3C 7F E3 FB 78 */ mr r3, r31 /* 801A6CE0 001A3C40 EC 00 00 72 */ fmuls f0, f0, f1 /* 801A6CE4 001A3C44 D0 1E 00 00 */ stfs f0, 0(r30) /* 801A6CE8 001A3C48 48 19 7F 41 */ bl ReadFloat__12CInputStreamFv /* 801A6CEC 001A3C4C C0 02 A7 F4 */ lfs f0, lbl_805AC514@sda21(r2) /* 801A6CF0 001A3C50 7F E4 FB 78 */ mr r4, r31 /* 801A6CF4 001A3C54 38 61 00 08 */ addi r3, r1, 8 /* 801A6CF8 001A3C58 EC 00 00 72 */ fmuls f0, f0, f1 /* 801A6CFC 001A3C5C D0 1E 00 04 */ stfs f0, 4(r30) /* 801A6D00 001A3C60 48 16 DE 8D */ bl __ct__9CVector3fFR12CInputStream /* 801A6D04 001A3C64 C0 01 00 08 */ lfs f0, 8(r1) /* 801A6D08 001A3C68 7F E3 FB 78 */ mr r3, r31 /* 801A6D0C 001A3C6C D0 1E 00 08 */ stfs f0, 8(r30) /* 801A6D10 001A3C70 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801A6D14 001A3C74 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 801A6D18 001A3C78 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801A6D1C 001A3C7C D0 1E 00 10 */ stfs f0, 0x10(r30) /* 801A6D20 001A3C80 48 19 7F 09 */ bl ReadFloat__12CInputStreamFv /* 801A6D24 001A3C84 D0 3E 00 14 */ stfs f1, 0x14(r30) /* 801A6D28 001A3C88 7F E4 FB 78 */ mr r4, r31 /* 801A6D2C 001A3C8C 38 7E 00 18 */ addi r3, r30, 0x18 /* 801A6D30 001A3C90 4B F5 BE 29 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 801A6D34 001A3C94 7F E4 FB 78 */ mr r4, r31 /* 801A6D38 001A3C98 38 7E 00 80 */ addi r3, r30, 0x80 /* 801A6D3C 001A3C9C 4B F5 BE 1D */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 801A6D40 001A3CA0 7F E4 FB 78 */ mr r4, r31 /* 801A6D44 001A3CA4 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801A6D48 001A3CA8 4B F5 BE 11 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 801A6D4C 001A3CAC 7F E3 FB 78 */ mr r3, r31 /* 801A6D50 001A3CB0 48 19 7F 35 */ bl ReadLong__12CInputStreamFv /* 801A6D54 001A3CB4 90 7E 01 50 */ stw r3, 0x150(r30) /* 801A6D58 001A3CB8 7F E4 FB 78 */ mr r4, r31 /* 801A6D5C 001A3CBC 38 7E 01 54 */ addi r3, r30, 0x154 /* 801A6D60 001A3CC0 4B F1 C8 01 */ bl __ct__11CDamageInfoFR12CInputStream /* 801A6D64 001A3CC4 7F E3 FB 78 */ mr r3, r31 /* 801A6D68 001A3CC8 48 19 7E C1 */ bl ReadFloat__12CInputStreamFv /* 801A6D6C 001A3CCC D0 3E 01 70 */ stfs f1, 0x170(r30) /* 801A6D70 001A3CD0 7F E3 FB 78 */ mr r3, r31 /* 801A6D74 001A3CD4 48 19 7E B5 */ bl ReadFloat__12CInputStreamFv /* 801A6D78 001A3CD8 D0 3E 01 74 */ stfs f1, 0x174(r30) /* 801A6D7C 001A3CDC 7F E3 FB 78 */ mr r3, r31 /* 801A6D80 001A3CE0 48 19 7F 05 */ bl ReadLong__12CInputStreamFv /* 801A6D84 001A3CE4 90 7E 01 78 */ stw r3, 0x178(r30) /* 801A6D88 001A3CE8 7F E3 FB 78 */ mr r3, r31 /* 801A6D8C 001A3CEC 48 19 7E F9 */ bl ReadLong__12CInputStreamFv /* 801A6D90 001A3CF0 90 7E 01 7C */ stw r3, 0x17c(r30) /* 801A6D94 001A3CF4 7F E4 FB 78 */ mr r4, r31 /* 801A6D98 001A3CF8 38 7E 01 80 */ addi r3, r30, 0x180 /* 801A6D9C 001A3CFC 4B F1 C7 C5 */ bl __ct__11CDamageInfoFR12CInputStream /* 801A6DA0 001A3D00 7F E3 FB 78 */ mr r3, r31 /* 801A6DA4 001A3D04 48 19 7E E1 */ bl ReadLong__12CInputStreamFv /* 801A6DA8 001A3D08 90 7E 01 9C */ stw r3, 0x19c(r30) /* 801A6DAC 001A3D0C 7F E3 FB 78 */ mr r3, r31 /* 801A6DB0 001A3D10 48 19 7E D5 */ bl ReadLong__12CInputStreamFv /* 801A6DB4 001A3D14 90 7E 01 A0 */ stw r3, 0x1a0(r30) /* 801A6DB8 001A3D18 7F E3 FB 78 */ mr r3, r31 /* 801A6DBC 001A3D1C 48 19 7E C9 */ bl ReadLong__12CInputStreamFv /* 801A6DC0 001A3D20 90 7E 01 A4 */ stw r3, 0x1a4(r30) /* 801A6DC4 001A3D24 7F E3 FB 78 */ mr r3, r31 /* 801A6DC8 001A3D28 48 19 7E BD */ bl ReadLong__12CInputStreamFv /* 801A6DCC 001A3D2C 90 7E 01 A8 */ stw r3, 0x1a8(r30) /* 801A6DD0 001A3D30 7F E3 FB 78 */ mr r3, r31 /* 801A6DD4 001A3D34 48 19 7E B1 */ bl ReadLong__12CInputStreamFv /* 801A6DD8 001A3D38 90 7E 01 AC */ stw r3, 0x1ac(r30) /* 801A6DDC 001A3D3C 7F E3 FB 78 */ mr r3, r31 /* 801A6DE0 001A3D40 48 19 7E 49 */ bl ReadFloat__12CInputStreamFv /* 801A6DE4 001A3D44 D0 3E 01 B0 */ stfs f1, 0x1b0(r30) /* 801A6DE8 001A3D48 7F E3 FB 78 */ mr r3, r31 /* 801A6DEC 001A3D4C 48 19 7E 3D */ bl ReadFloat__12CInputStreamFv /* 801A6DF0 001A3D50 D0 3E 01 B4 */ stfs f1, 0x1b4(r30) /* 801A6DF4 001A3D54 7F E4 FB 78 */ mr r4, r31 /* 801A6DF8 001A3D58 38 7E 01 B8 */ addi r3, r30, 0x1b8 /* 801A6DFC 001A3D5C 4B F1 C7 65 */ bl __ct__11CDamageInfoFR12CInputStream /* 801A6E00 001A3D60 7F E3 FB 78 */ mr r3, r31 /* 801A6E04 001A3D64 48 19 7E 81 */ bl ReadLong__12CInputStreamFv /* 801A6E08 001A3D68 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801A6E0C 001A3D6C 48 14 1B A5 */ bl TranslateSFXID__11CSfxManagerFUs /* 801A6E10 001A3D70 B0 7E 01 D4 */ sth r3, 0x1d4(r30) /* 801A6E14 001A3D74 7F E3 FB 78 */ mr r3, r31 /* 801A6E18 001A3D78 48 19 7E 11 */ bl ReadFloat__12CInputStreamFv /* 801A6E1C 001A3D7C D0 3E 01 D8 */ stfs f1, 0x1d8(r30) /* 801A6E20 001A3D80 7F E3 FB 78 */ mr r3, r31 /* 801A6E24 001A3D84 48 19 7E 05 */ bl ReadFloat__12CInputStreamFv /* 801A6E28 001A3D88 D0 3E 01 DC */ stfs f1, 0x1dc(r30) /* 801A6E2C 001A3D8C 7F E3 FB 78 */ mr r3, r31 /* 801A6E30 001A3D90 48 19 7D F9 */ bl ReadFloat__12CInputStreamFv /* 801A6E34 001A3D94 D0 3E 01 E0 */ stfs f1, 0x1e0(r30) /* 801A6E38 001A3D98 7F E3 FB 78 */ mr r3, r31 /* 801A6E3C 001A3D9C 48 19 7E 49 */ bl ReadLong__12CInputStreamFv /* 801A6E40 001A3DA0 90 7E 01 E4 */ stw r3, 0x1e4(r30) /* 801A6E44 001A3DA4 7F E3 FB 78 */ mr r3, r31 /* 801A6E48 001A3DA8 48 19 7E 3D */ bl ReadLong__12CInputStreamFv /* 801A6E4C 001A3DAC 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801A6E50 001A3DB0 48 14 1B 61 */ bl TranslateSFXID__11CSfxManagerFUs /* 801A6E54 001A3DB4 B0 7E 01 E8 */ sth r3, 0x1e8(r30) /* 801A6E58 001A3DB8 7F E3 FB 78 */ mr r3, r31 /* 801A6E5C 001A3DBC 48 19 7E 29 */ bl ReadLong__12CInputStreamFv /* 801A6E60 001A3DC0 90 7E 01 EC */ stw r3, 0x1ec(r30) /* 801A6E64 001A3DC4 7F E3 FB 78 */ mr r3, r31 /* 801A6E68 001A3DC8 48 19 7E 75 */ bl ReadBool__12CInputStreamFv /* 801A6E6C 001A3DCC 88 1E 01 F0 */ lbz r0, 0x1f0(r30) /* 801A6E70 001A3DD0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801A6E74 001A3DD4 7F E3 FB 78 */ mr r3, r31 /* 801A6E78 001A3DD8 98 1E 01 F0 */ stb r0, 0x1f0(r30) /* 801A6E7C 001A3DDC 48 19 7E 61 */ bl ReadBool__12CInputStreamFv /* 801A6E80 001A3DE0 88 1E 01 F0 */ lbz r0, 0x1f0(r30) /* 801A6E84 001A3DE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801A6E88 001A3DE8 7F C3 F3 78 */ mr r3, r30 /* 801A6E8C 001A3DEC 98 1E 01 F0 */ stb r0, 0x1f0(r30) /* 801A6E90 001A3DF0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A6E94 001A3DF4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801A6E98 001A3DF8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A6E9C 001A3DFC 7C 08 03 A6 */ mtlr r0 /* 801A6EA0 001A3E00 38 21 00 20 */ addi r1, r1, 0x20 /* 801A6EA4 001A3E04 4E 80 00 20 */ blr .global __sinit_CIceSheegoth_cpp __sinit_CIceSheegoth_cpp: /* 801A6EA8 001A3E08 C0 02 A7 74 */ lfs f0, lbl_805AC494@sda21(r2) /* 801A6EAC 001A3E0C 3C 60 80 57 */ lis r3, lbl_80572018@ha /* 801A6EB0 001A3E10 D4 03 20 18 */ stfsu f0, lbl_80572018@l(r3) /* 801A6EB4 001A3E14 D0 03 00 04 */ stfs f0, 4(r3) /* 801A6EB8 001A3E18 D0 03 00 08 */ stfs f0, 8(r3) /* 801A6EBC 001A3E1C 4E 80 00 20 */ blr .global SetMovable__22CCollisionActorManagerFb SetMovable__22CCollisionActorManagerFb: /* 801A6EC0 001A3E20 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A6EC4 001A3E24 7C 08 02 A6 */ mflr r0 /* 801A6EC8 001A3E28 90 01 00 34 */ stw r0, 0x34(r1) /* 801A6ECC 001A3E2C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A6ED0 001A3E30 93 C1 00 28 */ stw r30, 0x28(r1) /* 801A6ED4 001A3E34 93 A1 00 24 */ stw r29, 0x24(r1) /* 801A6ED8 001A3E38 7C 9D 23 78 */ mr r29, r4 /* 801A6EDC 001A3E3C 93 81 00 20 */ stw r28, 0x20(r1) /* 801A6EE0 001A3E40 7C 7C 1B 78 */ mr r28, r3 /* 801A6EE4 001A3E44 54 A3 06 3E */ clrlwi r3, r5, 0x18 /* 801A6EE8 001A3E48 88 1C 00 14 */ lbz r0, 0x14(r28) /* 801A6EEC 001A3E4C 7C 03 00 40 */ cmplw r3, r0 /* 801A6EF0 001A3E50 41 82 00 78 */ beq lbl_801A6F68 /* 801A6EF4 001A3E54 98 BC 00 14 */ stb r5, 0x14(r28) /* 801A6EF8 001A3E58 3B C0 00 00 */ li r30, 0 /* 801A6EFC 001A3E5C 3B E0 00 00 */ li r31, 0 /* 801A6F00 001A3E60 48 00 00 5C */ b lbl_801A6F5C lbl_801A6F04: /* 801A6F04 001A3E64 80 BC 00 0C */ lwz r5, 0xc(r28) /* 801A6F08 001A3E68 38 1F 00 3C */ addi r0, r31, 0x3c /* 801A6F0C 001A3E6C 7F A3 EB 78 */ mr r3, r29 /* 801A6F10 001A3E70 38 81 00 0C */ addi r4, r1, 0xc /* 801A6F14 001A3E74 7C 05 02 2E */ lhzx r0, r5, r0 /* 801A6F18 001A3E78 B0 01 00 08 */ sth r0, 8(r1) /* 801A6F1C 001A3E7C B0 01 00 0C */ sth r0, 0xc(r1) /* 801A6F20 001A3E80 4B EA 56 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A6F24 001A3E84 7C 64 1B 78 */ mr r4, r3 /* 801A6F28 001A3E88 38 61 00 10 */ addi r3, r1, 0x10 /* 801A6F2C 001A3E8C 4B F0 84 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A6F30 001A3E90 80 63 00 04 */ lwz r3, 4(r3) /* 801A6F34 001A3E94 28 03 00 00 */ cmplwi r3, 0 /* 801A6F38 001A3E98 41 82 00 1C */ beq lbl_801A6F54 /* 801A6F3C 001A3E9C 88 9C 00 14 */ lbz r4, 0x14(r28) /* 801A6F40 001A3EA0 88 03 00 F8 */ lbz r0, 0xf8(r3) /* 801A6F44 001A3EA4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801A6F48 001A3EA8 98 03 00 F8 */ stb r0, 0xf8(r3) /* 801A6F4C 001A3EAC 88 9C 00 14 */ lbz r4, 0x14(r28) /* 801A6F50 001A3EB0 4B EA D4 91 */ bl SetUseInSortedLists__6CActorFb lbl_801A6F54: /* 801A6F54 001A3EB4 3B FF 00 44 */ addi r31, r31, 0x44 /* 801A6F58 001A3EB8 3B DE 00 01 */ addi r30, r30, 1 lbl_801A6F5C: /* 801A6F5C 001A3EBC 80 1C 00 04 */ lwz r0, 4(r28) /* 801A6F60 001A3EC0 7C 1E 00 00 */ cmpw r30, r0 /* 801A6F64 001A3EC4 41 80 FF A0 */ blt lbl_801A6F04 lbl_801A6F68: /* 801A6F68 001A3EC8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A6F6C 001A3ECC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A6F70 001A3ED0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801A6F74 001A3ED4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801A6F78 001A3ED8 83 81 00 20 */ lwz r28, 0x20(r1) /* 801A6F7C 001A3EDC 7C 08 03 A6 */ mtlr r0 /* 801A6F80 001A3EE0 38 21 00 30 */ addi r1, r1, 0x30 /* 801A6F84 001A3EE4 4E 80 00 20 */ blr .global GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f: /* 801A6F88 001A3EE8 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801A6F8C 001A3EEC 7C 08 02 A6 */ mflr r0 /* 801A6F90 001A3EF0 90 01 01 04 */ stw r0, 0x104(r1) /* 801A6F94 001A3EF4 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 801A6F98 001A3EF8 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 801A6F9C 001A3EFC DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 801A6FA0 001A3F00 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 /* 801A6FA4 001A3F04 DB A1 00 D0 */ stfd f29, 0xd0(r1) /* 801A6FA8 001A3F08 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 /* 801A6FAC 001A3F0C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 801A6FB0 001A3F10 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 801A6FB4 001A3F14 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 801A6FB8 001A3F18 88 05 00 00 */ lbz r0, 0(r5) /* 801A6FBC 001A3F1C 7C 7D 1B 78 */ mr r29, r3 /* 801A6FC0 001A3F20 7C DE 33 78 */ mr r30, r6 /* 801A6FC4 001A3F24 7C FF 3B 78 */ mr r31, r7 /* 801A6FC8 001A3F28 98 01 00 08 */ stb r0, 8(r1) /* 801A6FCC 001A3F2C 38 61 00 60 */ addi r3, r1, 0x60 /* 801A6FD0 001A3F30 38 A1 00 08 */ addi r5, r1, 8 /* 801A6FD4 001A3F34 38 C0 00 00 */ li r6, 0 /* 801A6FD8 001A3F38 4B E8 52 9D */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime /* 801A6FDC 001A3F3C 38 61 00 90 */ addi r3, r1, 0x90 /* 801A6FE0 001A3F40 38 81 00 60 */ addi r4, r1, 0x60 /* 801A6FE4 001A3F44 48 16 BB 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A6FE8 001A3F48 C0 41 00 9C */ lfs f2, 0x9c(r1) /* 801A6FEC 001A3F4C 7F E4 FB 78 */ mr r4, r31 /* 801A6FF0 001A3F50 C0 21 00 AC */ lfs f1, 0xac(r1) /* 801A6FF4 001A3F54 38 61 00 18 */ addi r3, r1, 0x18 /* 801A6FF8 001A3F58 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801A6FFC 001A3F5C 38 A1 00 0C */ addi r5, r1, 0xc /* 801A7000 001A3F60 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801A7004 001A3F64 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801A7008 001A3F68 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801A700C 001A3F6C 48 16 BA DD */ bl __ml__12CTransform4fCFRC9CVector3f /* 801A7010 001A3F70 7F C4 F3 78 */ mr r4, r30 /* 801A7014 001A3F74 38 61 00 24 */ addi r3, r1, 0x24 /* 801A7018 001A3F78 38 A1 00 18 */ addi r5, r1, 0x18 /* 801A701C 001A3F7C 48 16 BA CD */ bl __ml__12CTransform4fCFRC9CVector3f /* 801A7020 001A3F80 C3 E1 00 24 */ lfs f31, 0x24(r1) /* 801A7024 001A3F84 7F C4 F3 78 */ mr r4, r30 /* 801A7028 001A3F88 C3 C1 00 28 */ lfs f30, 0x28(r1) /* 801A702C 001A3F8C 38 61 00 30 */ addi r3, r1, 0x30 /* 801A7030 001A3F90 C3 A1 00 2C */ lfs f29, 0x2c(r1) /* 801A7034 001A3F94 38 A1 00 90 */ addi r5, r1, 0x90 /* 801A7038 001A3F98 48 16 BE F9 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801A703C 001A3F9C 38 61 00 90 */ addi r3, r1, 0x90 /* 801A7040 001A3FA0 38 81 00 30 */ addi r4, r1, 0x30 /* 801A7044 001A3FA4 48 16 BA FD */ bl __as__12CTransform4fFRC12CTransform4f /* 801A7048 001A3FA8 D3 E1 00 9C */ stfs f31, 0x9c(r1) /* 801A704C 001A3FAC 7F A3 EB 78 */ mr r3, r29 /* 801A7050 001A3FB0 38 81 00 90 */ addi r4, r1, 0x90 /* 801A7054 001A3FB4 D3 C1 00 AC */ stfs f30, 0xac(r1) /* 801A7058 001A3FB8 D3 A1 00 BC */ stfs f29, 0xbc(r1) /* 801A705C 001A3FBC 48 16 BB 19 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7060 001A3FC0 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 801A7064 001A3FC4 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 801A7068 001A3FC8 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 /* 801A706C 001A3FCC CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 801A7070 001A3FD0 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 /* 801A7074 001A3FD4 CB A1 00 D0 */ lfd f29, 0xd0(r1) /* 801A7078 001A3FD8 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 801A707C 001A3FDC 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 801A7080 001A3FE0 80 01 01 04 */ lwz r0, 0x104(r1) /* 801A7084 001A3FE4 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 801A7088 001A3FE8 7C 08 03 A6 */ mtlr r0 /* 801A708C 001A3FEC 38 21 01 00 */ addi r1, r1, 0x100 /* 801A7090 001A3FF0 4E 80 00 20 */ blr .global sub_801a7094 sub_801a7094: /* 801A7094 001A3FF4 94 21 FE 90 */ stwu r1, -0x170(r1) /* 801A7098 001A3FF8 7C 08 02 A6 */ mflr r0 /* 801A709C 001A3FFC 90 01 01 74 */ stw r0, 0x174(r1) /* 801A70A0 001A4000 BE E1 01 4C */ stmw r23, 0x14c(r1) /* 801A70A4 001A4004 7C 7C 1B 78 */ mr r28, r3 /* 801A70A8 001A4008 7C 9D 23 78 */ mr r29, r4 /* 801A70AC 001A400C 7C BE 2B 78 */ mr r30, r5 /* 801A70B0 001A4010 7C DF 33 78 */ mr r31, r6 /* 801A70B4 001A4014 3B 20 00 00 */ li r25, 0 /* 801A70B8 001A4018 3B 40 00 00 */ li r26, 0 /* 801A70BC 001A401C 48 00 01 54 */ b lbl_801A7210 lbl_801A70C0: /* 801A70C0 001A4020 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801A70C4 001A4024 88 1F 00 00 */ lbz r0, 0(r31) /* 801A70C8 001A4028 7F 63 D2 14 */ add r27, r3, r26 /* 801A70CC 001A402C 88 7B 00 08 */ lbz r3, 8(r27) /* 801A70D0 001A4030 7C 03 00 40 */ cmplw r3, r0 /* 801A70D4 001A4034 40 82 01 34 */ bne lbl_801A7208 /* 801A70D8 001A4038 A0 1D 00 10 */ lhz r0, 0x10(r29) /* 801A70DC 001A403C 7F C3 F3 78 */ mr r3, r30 /* 801A70E0 001A4040 38 81 00 18 */ addi r4, r1, 0x18 /* 801A70E4 001A4044 B0 01 00 18 */ sth r0, 0x18(r1) /* 801A70E8 001A4048 4B EA 54 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A70EC 001A404C 7C 64 1B 78 */ mr r4, r3 /* 801A70F0 001A4050 38 61 00 24 */ addi r3, r1, 0x24 /* 801A70F4 001A4054 4B F0 8B 9D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801A70F8 001A4058 83 03 00 04 */ lwz r24, 4(r3) /* 801A70FC 001A405C 28 18 00 00 */ cmplwi r24, 0 /* 801A7100 001A4060 41 82 01 08 */ beq lbl_801A7208 /* 801A7104 001A4064 A0 1B 00 3C */ lhz r0, 0x3c(r27) /* 801A7108 001A4068 7F C3 F3 78 */ mr r3, r30 /* 801A710C 001A406C 38 81 00 14 */ addi r4, r1, 0x14 /* 801A7110 001A4070 B0 01 00 10 */ sth r0, 0x10(r1) /* 801A7114 001A4074 B0 01 00 14 */ sth r0, 0x14(r1) /* 801A7118 001A4078 4B EA 54 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A711C 001A407C 7C 64 1B 78 */ mr r4, r3 /* 801A7120 001A4080 38 61 00 1C */ addi r3, r1, 0x1c /* 801A7124 001A4084 4B F0 82 29 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A7128 001A4088 82 E3 00 04 */ lwz r23, 4(r3) /* 801A712C 001A408C 28 17 00 00 */ cmplwi r23, 0 /* 801A7130 001A4090 41 82 00 D8 */ beq lbl_801A7208 /* 801A7134 001A4094 80 B8 00 64 */ lwz r5, 0x64(r24) /* 801A7138 001A4098 38 61 01 10 */ addi r3, r1, 0x110 /* 801A713C 001A409C 38 98 00 34 */ addi r4, r24, 0x34 /* 801A7140 001A40A0 83 A5 00 10 */ lwz r29, 0x10(r5) /* 801A7144 001A40A4 48 16 BA 31 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7148 001A40A8 80 B8 00 64 */ lwz r5, 0x64(r24) /* 801A714C 001A40AC 38 61 00 80 */ addi r3, r1, 0x80 /* 801A7150 001A40B0 38 81 00 44 */ addi r4, r1, 0x44 /* 801A7154 001A40B4 C0 05 00 00 */ lfs f0, 0(r5) /* 801A7158 001A40B8 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801A715C 001A40BC C0 05 00 04 */ lfs f0, 4(r5) /* 801A7160 001A40C0 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801A7164 001A40C4 C0 05 00 08 */ lfs f0, 8(r5) /* 801A7168 001A40C8 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801A716C 001A40CC 48 16 C0 59 */ bl Scale__12CTransform4fFRC9CVector3f /* 801A7170 001A40D0 38 61 00 E0 */ addi r3, r1, 0xe0 /* 801A7174 001A40D4 38 81 00 80 */ addi r4, r1, 0x80 /* 801A7178 001A40D8 48 16 B9 FD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A717C 001A40DC 88 1B 00 08 */ lbz r0, 8(r27) /* 801A7180 001A40E0 7F A4 EB 78 */ mr r4, r29 /* 801A7184 001A40E4 38 61 00 50 */ addi r3, r1, 0x50 /* 801A7188 001A40E8 38 A1 00 0C */ addi r5, r1, 0xc /* 801A718C 001A40EC 98 01 00 08 */ stb r0, 8(r1) /* 801A7190 001A40F0 38 C1 01 10 */ addi r6, r1, 0x110 /* 801A7194 001A40F4 38 E1 00 E0 */ addi r7, r1, 0xe0 /* 801A7198 001A40F8 98 01 00 0C */ stb r0, 0xc(r1) /* 801A719C 001A40FC 4B FF FD ED */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f /* 801A71A0 001A4100 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801A71A4 001A4104 38 81 00 50 */ addi r4, r1, 0x50 /* 801A71A8 001A4108 48 16 B9 CD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A71AC 001A410C C0 B7 00 60 */ lfs f5, 0x60(r23) /* 801A71B0 001A4110 28 1C 00 00 */ cmplwi r28, 0 /* 801A71B4 001A4114 C0 01 00 DC */ lfs f0, 0xdc(r1) /* 801A71B8 001A4118 38 00 00 01 */ li r0, 1 /* 801A71BC 001A411C C0 97 00 50 */ lfs f4, 0x50(r23) /* 801A71C0 001A4120 C0 41 00 CC */ lfs f2, 0xcc(r1) /* 801A71C4 001A4124 EC 25 00 28 */ fsubs f1, f5, f0 /* 801A71C8 001A4128 C0 17 00 40 */ lfs f0, 0x40(r23) /* 801A71CC 001A412C C0 61 00 BC */ lfs f3, 0xbc(r1) /* 801A71D0 001A4130 EC 44 10 28 */ fsubs f2, f4, f2 /* 801A71D4 001A4134 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801A71D8 001A4138 EC 00 18 28 */ fsubs f0, f0, f3 /* 801A71DC 001A413C D0 81 00 30 */ stfs f4, 0x30(r1) /* 801A71E0 001A4140 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 801A71E4 001A4144 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801A71E8 001A4148 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801A71EC 001A414C D0 21 00 40 */ stfs f1, 0x40(r1) /* 801A71F0 001A4150 98 1C 00 0C */ stb r0, 0xc(r28) /* 801A71F4 001A4154 41 82 00 30 */ beq lbl_801A7224 /* 801A71F8 001A4158 D0 1C 00 00 */ stfs f0, 0(r28) /* 801A71FC 001A415C D0 5C 00 04 */ stfs f2, 4(r28) /* 801A7200 001A4160 D0 3C 00 08 */ stfs f1, 8(r28) /* 801A7204 001A4164 48 00 00 20 */ b lbl_801A7224 lbl_801A7208: /* 801A7208 001A4168 3B 5A 00 44 */ addi r26, r26, 0x44 /* 801A720C 001A416C 3B 39 00 01 */ addi r25, r25, 1 lbl_801A7210: /* 801A7210 001A4170 80 1D 00 04 */ lwz r0, 4(r29) /* 801A7214 001A4174 7C 19 00 00 */ cmpw r25, r0 /* 801A7218 001A4178 41 80 FE A8 */ blt lbl_801A70C0 /* 801A721C 001A417C 38 00 00 00 */ li r0, 0 /* 801A7220 001A4180 98 1C 00 0C */ stb r0, 0xc(r28) lbl_801A7224: /* 801A7224 001A4184 BA E1 01 4C */ lmw r23, 0x14c(r1) /* 801A7228 001A4188 80 01 01 74 */ lwz r0, 0x174(r1) /* 801A722C 001A418C 7C 08 03 A6 */ mtlr r0 /* 801A7230 001A4190 38 21 01 70 */ addi r1, r1, 0x170 /* 801A7234 001A4194 4E 80 00 20 */ blr .global GetCollisionDescFromIndex__22CCollisionActorManagerCFUi GetCollisionDescFromIndex__22CCollisionActorManagerCFUi: /* 801A7238 001A4198 1C 04 00 44 */ mulli r0, r4, 0x44 /* 801A723C 001A419C 80 63 00 0C */ lwz r3, 0xc(r3) /* 801A7240 001A41A0 7C 63 02 14 */ add r3, r3, r0 /* 801A7244 001A41A4 4E 80 00 20 */ blr .global GetNumCollisionActors__22CCollisionActorManagerCFv GetNumCollisionActors__22CCollisionActorManagerCFv: /* 801A7248 001A41A8 80 63 00 04 */ lwz r3, 4(r3) /* 801A724C 001A41AC 4E 80 00 20 */ blr .global AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList: /* 801A7250 001A41B0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A7254 001A41B4 7C 08 02 A6 */ mflr r0 /* 801A7258 001A41B8 90 01 00 34 */ stw r0, 0x34(r1) /* 801A725C 001A41BC BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801A7260 001A41C0 7C 7B 1B 78 */ mr r27, r3 /* 801A7264 001A41C4 7C 9C 23 78 */ mr r28, r4 /* 801A7268 001A41C8 7C BD 2B 78 */ mr r29, r5 /* 801A726C 001A41CC 3B C0 00 00 */ li r30, 0 /* 801A7270 001A41D0 3B E0 00 00 */ li r31, 0 /* 801A7274 001A41D4 48 00 00 64 */ b lbl_801A72D8 lbl_801A7278: /* 801A7278 001A41D8 80 BB 00 0C */ lwz r5, 0xc(r27) /* 801A727C 001A41DC 38 1F 00 3C */ addi r0, r31, 0x3c /* 801A7280 001A41E0 7F 83 E3 78 */ mr r3, r28 /* 801A7284 001A41E4 38 81 00 0C */ addi r4, r1, 0xc /* 801A7288 001A41E8 7C 05 02 2E */ lhzx r0, r5, r0 /* 801A728C 001A41EC B0 01 00 08 */ sth r0, 8(r1) /* 801A7290 001A41F0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A7294 001A41F4 4B EA 52 E1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A7298 001A41F8 7C 64 1B 78 */ mr r4, r3 /* 801A729C 001A41FC 38 61 00 10 */ addi r3, r1, 0x10 /* 801A72A0 001A4200 4B F0 89 F1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801A72A4 001A4204 80 C3 00 04 */ lwz r6, 4(r3) /* 801A72A8 001A4208 28 06 00 00 */ cmplwi r6, 0 /* 801A72AC 001A420C 41 82 00 24 */ beq lbl_801A72D0 /* 801A72B0 001A4210 80 A6 00 6C */ lwz r5, 0x6c(r6) /* 801A72B4 001A4214 80 1D 00 04 */ lwz r0, 4(r29) /* 801A72B8 001A4218 80 86 00 68 */ lwz r4, 0x68(r6) /* 801A72BC 001A421C 80 7D 00 00 */ lwz r3, 0(r29) /* 801A72C0 001A4220 7C A0 03 78 */ or r0, r5, r0 /* 801A72C4 001A4224 90 06 00 6C */ stw r0, 0x6c(r6) /* 801A72C8 001A4228 7C 80 1B 78 */ or r0, r4, r3 /* 801A72CC 001A422C 90 06 00 68 */ stw r0, 0x68(r6) lbl_801A72D0: /* 801A72D0 001A4230 3B FF 00 44 */ addi r31, r31, 0x44 /* 801A72D4 001A4234 3B DE 00 01 */ addi r30, r30, 1 lbl_801A72D8: /* 801A72D8 001A4238 80 1B 00 04 */ lwz r0, 4(r27) /* 801A72DC 001A423C 7C 1E 00 00 */ cmpw r30, r0 /* 801A72E0 001A4240 41 80 FF 98 */ blt lbl_801A7278 /* 801A72E4 001A4244 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801A72E8 001A4248 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A72EC 001A424C 7C 08 03 A6 */ mtlr r0 /* 801A72F0 001A4250 38 21 00 30 */ addi r1, r1, 0x30 /* 801A72F4 001A4254 4E 80 00 20 */ blr .global SetActive__22CCollisionActorManagerFR13CStateManagerb SetActive__22CCollisionActorManagerFR13CStateManagerb: /* 801A72F8 001A4258 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A72FC 001A425C 7C 08 02 A6 */ mflr r0 /* 801A7300 001A4260 90 01 00 34 */ stw r0, 0x34(r1) /* 801A7304 001A4264 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801A7308 001A4268 7C BC 2B 78 */ mr r28, r5 /* 801A730C 001A426C 7C 7A 1B 78 */ mr r26, r3 /* 801A7310 001A4270 54 BE 06 3E */ clrlwi r30, r5, 0x18 /* 801A7314 001A4274 7C 9B 23 78 */ mr r27, r4 /* 801A7318 001A4278 3B A0 00 00 */ li r29, 0 /* 801A731C 001A427C 3B E0 00 00 */ li r31, 0 /* 801A7320 001A4280 9B 83 00 12 */ stb r28, 0x12(r3) /* 801A7324 001A4284 48 00 00 78 */ b lbl_801A739C lbl_801A7328: /* 801A7328 001A4288 80 BA 00 0C */ lwz r5, 0xc(r26) /* 801A732C 001A428C 38 1F 00 3C */ addi r0, r31, 0x3c /* 801A7330 001A4290 7F 63 DB 78 */ mr r3, r27 /* 801A7334 001A4294 38 81 00 0C */ addi r4, r1, 0xc /* 801A7338 001A4298 7C 05 02 2E */ lhzx r0, r5, r0 /* 801A733C 001A429C B0 01 00 08 */ sth r0, 8(r1) /* 801A7340 001A42A0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801A7344 001A42A4 4B EA 52 31 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A7348 001A42A8 28 03 00 00 */ cmplwi r3, 0 /* 801A734C 001A42AC 41 82 00 48 */ beq lbl_801A7394 /* 801A7350 001A42B0 88 03 00 30 */ lbz r0, 0x30(r3) /* 801A7354 001A42B4 57 84 06 3E */ clrlwi r4, r28, 0x18 /* 801A7358 001A42B8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f /* 801A735C 001A42BC 7C 04 00 40 */ cmplw r4, r0 /* 801A7360 001A42C0 41 82 00 34 */ beq lbl_801A7394 /* 801A7364 001A42C4 81 83 00 00 */ lwz r12, 0(r3) /* 801A7368 001A42C8 7F C4 F3 78 */ mr r4, r30 /* 801A736C 001A42CC 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801A7370 001A42D0 7D 89 03 A6 */ mtctr r12 /* 801A7374 001A42D4 4E 80 04 21 */ bctrl /* 801A7378 001A42D8 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801A737C 001A42DC 41 82 00 18 */ beq lbl_801A7394 /* 801A7380 001A42E0 C0 22 A7 F8 */ lfs f1, lbl_805AC518@sda21(r2) /* 801A7384 001A42E4 7F 43 D3 78 */ mr r3, r26 /* 801A7388 001A42E8 7F 64 DB 78 */ mr r4, r27 /* 801A738C 001A42EC 38 A0 00 01 */ li r5, 1 /* 801A7390 001A42F0 48 00 00 C1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions lbl_801A7394: /* 801A7394 001A42F4 3B FF 00 44 */ addi r31, r31, 0x44 /* 801A7398 001A42F8 3B BD 00 01 */ addi r29, r29, 1 lbl_801A739C: /* 801A739C 001A42FC 80 1A 00 04 */ lwz r0, 4(r26) /* 801A73A0 001A4300 7C 1D 00 00 */ cmpw r29, r0 /* 801A73A4 001A4304 41 80 FF 84 */ blt lbl_801A7328 /* 801A73A8 001A4308 BB 41 00 18 */ lmw r26, 0x18(r1) /* 801A73AC 001A430C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A73B0 001A4310 7C 08 03 A6 */ mtlr r0 /* 801A73B4 001A4314 38 21 00 30 */ addi r1, r1, 0x30 /* 801A73B8 001A4318 4E 80 00 20 */ blr .global GetActive__22CCollisionActorManagerCFv GetActive__22CCollisionActorManagerCFv: /* 801A73BC 001A431C 88 63 00 12 */ lbz r3, 0x12(r3) /* 801A73C0 001A4320 4E 80 00 20 */ blr .global Destroy__22CCollisionActorManagerCFR13CStateManager Destroy__22CCollisionActorManagerCFR13CStateManager: /* 801A73C4 001A4324 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A73C8 001A4328 7C 08 02 A6 */ mflr r0 /* 801A73CC 001A432C 90 01 00 24 */ stw r0, 0x24(r1) /* 801A73D0 001A4330 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A73D4 001A4334 3B E0 00 00 */ li r31, 0 /* 801A73D8 001A4338 93 C1 00 18 */ stw r30, 0x18(r1) /* 801A73DC 001A433C 3B C0 00 00 */ li r30, 0 /* 801A73E0 001A4340 93 A1 00 14 */ stw r29, 0x14(r1) /* 801A73E4 001A4344 7C 9D 23 78 */ mr r29, r4 /* 801A73E8 001A4348 93 81 00 10 */ stw r28, 0x10(r1) /* 801A73EC 001A434C 7C 7C 1B 78 */ mr r28, r3 /* 801A73F0 001A4350 48 00 00 2C */ b lbl_801A741C lbl_801A73F4: /* 801A73F4 001A4354 80 BC 00 0C */ lwz r5, 0xc(r28) /* 801A73F8 001A4358 38 1F 00 3C */ addi r0, r31, 0x3c /* 801A73FC 001A435C 7F A3 EB 78 */ mr r3, r29 /* 801A7400 001A4360 38 81 00 0C */ addi r4, r1, 0xc /* 801A7404 001A4364 7C 05 02 2E */ lhzx r0, r5, r0 /* 801A7408 001A4368 B0 01 00 08 */ sth r0, 8(r1) /* 801A740C 001A436C B0 01 00 0C */ sth r0, 0xc(r1) /* 801A7410 001A4370 4B EA 4E 5D */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801A7414 001A4374 3B FF 00 44 */ addi r31, r31, 0x44 /* 801A7418 001A4378 3B DE 00 01 */ addi r30, r30, 1 lbl_801A741C: /* 801A741C 001A437C 80 1C 00 04 */ lwz r0, 4(r28) /* 801A7420 001A4380 7C 1E 00 00 */ cmpw r30, r0 /* 801A7424 001A4384 41 80 FF D0 */ blt lbl_801A73F4 /* 801A7428 001A4388 38 00 00 01 */ li r0, 1 /* 801A742C 001A438C 98 1C 00 13 */ stb r0, 0x13(r28) /* 801A7430 001A4390 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A7434 001A4394 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A7438 001A4398 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801A743C 001A439C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801A7440 001A43A0 83 81 00 10 */ lwz r28, 0x10(r1) /* 801A7444 001A43A4 7C 08 03 A6 */ mtlr r0 /* 801A7448 001A43A8 38 21 00 20 */ addi r1, r1, 0x20 /* 801A744C 001A43AC 4E 80 00 20 */ blr .global Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions: /* 801A7450 001A43B0 94 21 FC 60 */ stwu r1, -0x3a0(r1) /* 801A7454 001A43B4 7C 08 02 A6 */ mflr r0 /* 801A7458 001A43B8 90 01 03 A4 */ stw r0, 0x3a4(r1) /* 801A745C 001A43BC DB E1 03 90 */ stfd f31, 0x390(r1) /* 801A7460 001A43C0 F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 /* 801A7464 001A43C4 DB C1 03 80 */ stfd f30, 0x380(r1) /* 801A7468 001A43C8 F3 C1 03 88 */ psq_st f30, 904(r1), 0, qr0 /* 801A746C 001A43CC BF 01 03 60 */ stmw r24, 0x360(r1) /* 801A7470 001A43D0 7C 79 1B 78 */ mr r25, r3 /* 801A7474 001A43D4 FF E0 08 90 */ fmr f31, f1 /* 801A7478 001A43D8 88 03 00 14 */ lbz r0, 0x14(r3) /* 801A747C 001A43DC 7C 9A 23 78 */ mr r26, r4 /* 801A7480 001A43E0 7C BB 2B 78 */ mr r27, r5 /* 801A7484 001A43E4 28 00 00 00 */ cmplwi r0, 0 /* 801A7488 001A43E8 40 82 00 0C */ bne lbl_801A7494 /* 801A748C 001A43EC 38 A0 00 01 */ li r5, 1 /* 801A7490 001A43F0 4B FF FA 31 */ bl SetMovable__22CCollisionActorManagerFb lbl_801A7494: /* 801A7494 001A43F4 88 19 00 12 */ lbz r0, 0x12(r25) /* 801A7498 001A43F8 28 00 00 00 */ cmplwi r0, 0 /* 801A749C 001A43FC 41 82 04 1C */ beq lbl_801A78B8 /* 801A74A0 001A4400 A0 19 00 10 */ lhz r0, 0x10(r25) /* 801A74A4 001A4404 7F 43 D3 78 */ mr r3, r26 /* 801A74A8 001A4408 38 81 00 28 */ addi r4, r1, 0x28 /* 801A74AC 001A440C B0 01 00 28 */ sth r0, 0x28(r1) /* 801A74B0 001A4410 4B EA 50 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A74B4 001A4414 7C 64 1B 78 */ mr r4, r3 /* 801A74B8 001A4418 38 61 00 2C */ addi r3, r1, 0x2c /* 801A74BC 001A441C 4B F0 87 D5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801A74C0 001A4420 83 03 00 04 */ lwz r24, 4(r3) /* 801A74C4 001A4424 28 18 00 00 */ cmplwi r24, 0 /* 801A74C8 001A4428 41 82 03 F0 */ beq lbl_801A78B8 /* 801A74CC 001A442C 80 B8 00 64 */ lwz r5, 0x64(r24) /* 801A74D0 001A4430 38 61 03 2C */ addi r3, r1, 0x32c /* 801A74D4 001A4434 38 98 00 34 */ addi r4, r24, 0x34 /* 801A74D8 001A4438 83 E5 00 10 */ lwz r31, 0x10(r5) /* 801A74DC 001A443C 48 16 B6 99 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A74E0 001A4440 80 B8 00 64 */ lwz r5, 0x64(r24) /* 801A74E4 001A4444 38 61 02 3C */ addi r3, r1, 0x23c /* 801A74E8 001A4448 38 81 00 C8 */ addi r4, r1, 0xc8 /* 801A74EC 001A444C C0 05 00 00 */ lfs f0, 0(r5) /* 801A74F0 001A4450 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 801A74F4 001A4454 C0 05 00 04 */ lfs f0, 4(r5) /* 801A74F8 001A4458 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801A74FC 001A445C C0 05 00 08 */ lfs f0, 8(r5) /* 801A7500 001A4460 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 801A7504 001A4464 48 16 BC C1 */ bl Scale__12CTransform4fFRC9CVector3f /* 801A7508 001A4468 38 61 02 FC */ addi r3, r1, 0x2fc /* 801A750C 001A446C 38 81 02 3C */ addi r4, r1, 0x23c /* 801A7510 001A4470 48 16 B6 65 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7514 001A4474 3B A0 00 00 */ li r29, 0 /* 801A7518 001A4478 3B C0 00 00 */ li r30, 0 /* 801A751C 001A447C 48 00 03 90 */ b lbl_801A78AC lbl_801A7520: /* 801A7520 001A4480 80 19 00 0C */ lwz r0, 0xc(r25) /* 801A7524 001A4484 7F 43 D3 78 */ mr r3, r26 /* 801A7528 001A4488 38 81 00 24 */ addi r4, r1, 0x24 /* 801A752C 001A448C 7F 00 F2 14 */ add r24, r0, r30 /* 801A7530 001A4490 A0 18 00 3C */ lhz r0, 0x3c(r24) /* 801A7534 001A4494 B0 01 00 20 */ sth r0, 0x20(r1) /* 801A7538 001A4498 B0 01 00 24 */ sth r0, 0x24(r1) /* 801A753C 001A449C 4B EA 50 39 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A7540 001A44A0 7C 64 1B 78 */ mr r4, r3 /* 801A7544 001A44A4 38 61 00 34 */ addi r3, r1, 0x34 /* 801A7548 001A44A8 4B F0 7E 05 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801A754C 001A44AC 83 83 00 04 */ lwz r28, 4(r3) /* 801A7550 001A44B0 28 1C 00 00 */ cmplwi r28, 0 /* 801A7554 001A44B4 41 82 03 50 */ beq lbl_801A78A4 /* 801A7558 001A44B8 88 18 00 08 */ lbz r0, 8(r24) /* 801A755C 001A44BC 7F E4 FB 78 */ mr r4, r31 /* 801A7560 001A44C0 38 61 02 0C */ addi r3, r1, 0x20c /* 801A7564 001A44C4 38 A1 00 1C */ addi r5, r1, 0x1c /* 801A7568 001A44C8 98 01 00 18 */ stb r0, 0x18(r1) /* 801A756C 001A44CC 38 C1 03 2C */ addi r6, r1, 0x32c /* 801A7570 001A44D0 38 E1 02 FC */ addi r7, r1, 0x2fc /* 801A7574 001A44D4 98 01 00 1C */ stb r0, 0x1c(r1) /* 801A7578 001A44D8 4B FF FA 11 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f /* 801A757C 001A44DC 38 61 02 CC */ addi r3, r1, 0x2cc /* 801A7580 001A44E0 38 81 02 0C */ addi r4, r1, 0x20c /* 801A7584 001A44E4 48 16 B5 F1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7588 001A44E8 C0 E1 02 F8 */ lfs f7, 0x2f8(r1) /* 801A758C 001A44EC C0 C1 02 E8 */ lfs f6, 0x2e8(r1) /* 801A7590 001A44F0 C0 61 02 D8 */ lfs f3, 0x2d8(r1) /* 801A7594 001A44F4 D0 C1 00 E4 */ stfs f6, 0xe4(r1) /* 801A7598 001A44F8 D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 801A759C 001A44FC D0 E1 00 E8 */ stfs f7, 0xe8(r1) /* 801A75A0 001A4500 80 18 00 00 */ lwz r0, 0(r24) /* 801A75A4 001A4504 2C 00 00 04 */ cmpwi r0, 4 /* 801A75A8 001A4508 41 82 00 0C */ beq lbl_801A75B4 /* 801A75AC 001A450C 2C 00 00 03 */ cmpwi r0, 3 /* 801A75B0 001A4510 40 82 01 74 */ bne lbl_801A7724 lbl_801A75B4: /* 801A75B4 001A4514 80 18 00 04 */ lwz r0, 4(r24) /* 801A75B8 001A4518 2C 00 00 00 */ cmpwi r0, 0 /* 801A75BC 001A451C 40 82 00 70 */ bne lbl_801A762C /* 801A75C0 001A4520 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801A75C4 001A4524 38 81 02 CC */ addi r4, r1, 0x2cc /* 801A75C8 001A4528 48 16 AB 61 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 801A75CC 001A452C C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801A75D0 001A4530 38 61 01 1C */ addi r3, r1, 0x11c /* 801A75D4 001A4534 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801A75D8 001A4538 38 81 00 B8 */ addi r4, r1, 0xb8 /* 801A75DC 001A453C C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801A75E0 001A4540 38 A1 00 54 */ addi r5, r1, 0x54 /* 801A75E4 001A4544 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801A75E8 001A4548 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801A75EC 001A454C D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801A75F0 001A4550 48 16 A8 CD */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f /* 801A75F4 001A4554 38 7C 00 34 */ addi r3, r28, 0x34 /* 801A75F8 001A4558 38 81 01 1C */ addi r4, r1, 0x11c /* 801A75FC 001A455C 48 16 B5 45 */ bl __as__12CTransform4fFRC12CTransform4f /* 801A7600 001A4560 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 801A7604 001A4564 38 60 00 01 */ li r3, 1 /* 801A7608 001A4568 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A760C 001A456C 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 801A7610 001A4570 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 801A7614 001A4574 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A7618 001A4578 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 801A761C 001A457C 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 801A7620 001A4580 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A7624 001A4584 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 801A7628 001A4588 48 00 01 FC */ b lbl_801A7824 lbl_801A762C: /* 801A762C 001A458C 88 18 00 09 */ lbz r0, 9(r24) /* 801A7630 001A4590 7F E4 FB 78 */ mr r4, r31 /* 801A7634 001A4594 38 61 01 DC */ addi r3, r1, 0x1dc /* 801A7638 001A4598 38 A1 00 14 */ addi r5, r1, 0x14 /* 801A763C 001A459C 98 01 00 10 */ stb r0, 0x10(r1) /* 801A7640 001A45A0 38 C1 03 2C */ addi r6, r1, 0x32c /* 801A7644 001A45A4 38 E1 02 FC */ addi r7, r1, 0x2fc /* 801A7648 001A45A8 98 01 00 14 */ stb r0, 0x14(r1) /* 801A764C 001A45AC 4B FF F9 3D */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f /* 801A7650 001A45B0 38 61 02 9C */ addi r3, r1, 0x29c /* 801A7654 001A45B4 38 81 01 DC */ addi r4, r1, 0x1dc /* 801A7658 001A45B8 48 16 B5 1D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A765C 001A45BC C1 01 02 D4 */ lfs f8, 0x2d4(r1) /* 801A7660 001A45C0 38 61 01 AC */ addi r3, r1, 0x1ac /* 801A7664 001A45C4 C0 E1 02 E4 */ lfs f7, 0x2e4(r1) /* 801A7668 001A45C8 38 81 00 9C */ addi r4, r1, 0x9c /* 801A766C 001A45CC C0 C1 02 F4 */ lfs f6, 0x2f4(r1) /* 801A7670 001A45D0 38 A1 00 90 */ addi r5, r1, 0x90 /* 801A7674 001A45D4 C0 A1 02 A8 */ lfs f5, 0x2a8(r1) /* 801A7678 001A45D8 38 C1 00 84 */ addi r6, r1, 0x84 /* 801A767C 001A45DC C0 81 02 B8 */ lfs f4, 0x2b8(r1) /* 801A7680 001A45E0 C0 61 02 C8 */ lfs f3, 0x2c8(r1) /* 801A7684 001A45E4 C0 41 02 D8 */ lfs f2, 0x2d8(r1) /* 801A7688 001A45E8 C0 21 02 E8 */ lfs f1, 0x2e8(r1) /* 801A768C 001A45EC C0 01 02 F8 */ lfs f0, 0x2f8(r1) /* 801A7690 001A45F0 D1 01 00 84 */ stfs f8, 0x84(r1) /* 801A7694 001A45F4 D0 E1 00 88 */ stfs f7, 0x88(r1) /* 801A7698 001A45F8 D0 C1 00 8C */ stfs f6, 0x8c(r1) /* 801A769C 001A45FC D0 A1 00 90 */ stfs f5, 0x90(r1) /* 801A76A0 001A4600 D0 81 00 94 */ stfs f4, 0x94(r1) /* 801A76A4 001A4604 D0 61 00 98 */ stfs f3, 0x98(r1) /* 801A76A8 001A4608 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 801A76AC 001A460C D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 801A76B0 001A4610 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801A76B4 001A4614 48 16 C4 5D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801A76B8 001A4618 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801A76BC 001A461C 38 81 01 AC */ addi r4, r1, 0x1ac /* 801A76C0 001A4620 48 16 AA 69 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 801A76C4 001A4624 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801A76C8 001A4628 38 61 00 EC */ addi r3, r1, 0xec /* 801A76CC 001A462C C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801A76D0 001A4630 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801A76D4 001A4634 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801A76D8 001A4638 38 A1 00 48 */ addi r5, r1, 0x48 /* 801A76DC 001A463C D0 01 00 48 */ stfs f0, 0x48(r1) /* 801A76E0 001A4640 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801A76E4 001A4644 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801A76E8 001A4648 48 16 A7 D5 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f /* 801A76EC 001A464C 38 7C 00 34 */ addi r3, r28, 0x34 /* 801A76F0 001A4650 38 81 00 EC */ addi r4, r1, 0xec /* 801A76F4 001A4654 48 16 B4 4D */ bl __as__12CTransform4fFRC12CTransform4f /* 801A76F8 001A4658 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 801A76FC 001A465C 38 60 00 01 */ li r3, 1 /* 801A7700 001A4660 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A7704 001A4664 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 801A7708 001A4668 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 801A770C 001A466C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A7710 001A4670 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 801A7714 001A4674 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 801A7718 001A4678 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A771C 001A467C 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 801A7720 001A4680 48 00 01 04 */ b lbl_801A7824 lbl_801A7724: /* 801A7724 001A4684 2C 00 00 01 */ cmpwi r0, 1 /* 801A7728 001A4688 40 82 00 FC */ bne lbl_801A7824 /* 801A772C 001A468C 80 18 00 04 */ lwz r0, 4(r24) /* 801A7730 001A4690 2C 00 00 00 */ cmpwi r0, 0 /* 801A7734 001A4694 40 82 00 3C */ bne lbl_801A7770 /* 801A7738 001A4698 C1 18 00 28 */ lfs f8, 0x28(r24) /* 801A773C 001A469C C0 41 02 E0 */ lfs f2, 0x2e0(r1) /* 801A7740 001A46A0 C0 21 02 F0 */ lfs f1, 0x2f0(r1) /* 801A7744 001A46A4 C0 01 02 D0 */ lfs f0, 0x2d0(r1) /* 801A7748 001A46A8 EC A8 00 B2 */ fmuls f5, f8, f2 /* 801A774C 001A46AC EC 88 00 72 */ fmuls f4, f8, f1 /* 801A7750 001A46B0 EC 48 00 32 */ fmuls f2, f8, f0 /* 801A7754 001A46B4 EC 26 28 2A */ fadds f1, f6, f5 /* 801A7758 001A46B8 EC 07 20 2A */ fadds f0, f7, f4 /* 801A775C 001A46BC EC 43 10 2A */ fadds f2, f3, f2 /* 801A7760 001A46C0 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 801A7764 001A46C4 D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 801A7768 001A46C8 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 801A776C 001A46CC 48 00 00 B8 */ b lbl_801A7824 lbl_801A7770: /* 801A7770 001A46D0 88 18 00 09 */ lbz r0, 9(r24) /* 801A7774 001A46D4 7F E4 FB 78 */ mr r4, r31 /* 801A7778 001A46D8 38 61 01 7C */ addi r3, r1, 0x17c /* 801A777C 001A46DC 38 A1 00 0C */ addi r5, r1, 0xc /* 801A7780 001A46E0 98 01 00 08 */ stb r0, 8(r1) /* 801A7784 001A46E4 38 C1 03 2C */ addi r6, r1, 0x32c /* 801A7788 001A46E8 38 E1 02 FC */ addi r7, r1, 0x2fc /* 801A778C 001A46EC 98 01 00 0C */ stb r0, 0xc(r1) /* 801A7790 001A46F0 4B FF F7 F9 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f /* 801A7794 001A46F4 38 61 02 6C */ addi r3, r1, 0x26c /* 801A7798 001A46F8 38 81 01 7C */ addi r4, r1, 0x17c /* 801A779C 001A46FC 48 16 B3 D9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A77A0 001A4700 C3 D8 00 28 */ lfs f30, 0x28(r24) /* 801A77A4 001A4704 38 61 01 4C */ addi r3, r1, 0x14c /* 801A77A8 001A4708 C0 A1 02 D4 */ lfs f5, 0x2d4(r1) /* 801A77AC 001A470C 38 81 00 E0 */ addi r4, r1, 0xe0 /* 801A77B0 001A4710 C0 81 02 E4 */ lfs f4, 0x2e4(r1) /* 801A77B4 001A4714 38 A1 00 78 */ addi r5, r1, 0x78 /* 801A77B8 001A4718 C0 61 02 F4 */ lfs f3, 0x2f4(r1) /* 801A77BC 001A471C 38 C1 00 6C */ addi r6, r1, 0x6c /* 801A77C0 001A4720 C0 41 02 78 */ lfs f2, 0x278(r1) /* 801A77C4 001A4724 C0 21 02 88 */ lfs f1, 0x288(r1) /* 801A77C8 001A4728 C0 01 02 98 */ lfs f0, 0x298(r1) /* 801A77CC 001A472C D0 A1 00 6C */ stfs f5, 0x6c(r1) /* 801A77D0 001A4730 D0 81 00 70 */ stfs f4, 0x70(r1) /* 801A77D4 001A4734 D0 61 00 74 */ stfs f3, 0x74(r1) /* 801A77D8 001A4738 D0 41 00 78 */ stfs f2, 0x78(r1) /* 801A77DC 001A473C D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801A77E0 001A4740 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801A77E4 001A4744 48 16 C3 2D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801A77E8 001A4748 C0 21 01 60 */ lfs f1, 0x160(r1) /* 801A77EC 001A474C C0 01 01 70 */ lfs f0, 0x170(r1) /* 801A77F0 001A4750 C0 41 01 50 */ lfs f2, 0x150(r1) /* 801A77F4 001A4754 EC BE 00 72 */ fmuls f5, f30, f1 /* 801A77F8 001A4758 C0 21 00 E4 */ lfs f1, 0xe4(r1) /* 801A77FC 001A475C EC 9E 00 32 */ fmuls f4, f30, f0 /* 801A7800 001A4760 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 801A7804 001A4764 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801A7808 001A4768 C0 61 00 E0 */ lfs f3, 0xe0(r1) /* 801A780C 001A476C EC 21 28 2A */ fadds f1, f1, f5 /* 801A7810 001A4770 EC 43 10 2A */ fadds f2, f3, f2 /* 801A7814 001A4774 EC 00 20 2A */ fadds f0, f0, f4 /* 801A7818 001A4778 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 801A781C 001A477C D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 801A7820 001A4780 D0 01 00 E8 */ stfs f0, 0xe8(r1) lbl_801A7824: /* 801A7824 001A4784 2C 1B 00 00 */ cmpwi r27, 0 /* 801A7828 001A4788 40 82 00 70 */ bne lbl_801A7898 /* 801A782C 001A478C C0 21 00 E8 */ lfs f1, 0xe8(r1) /* 801A7830 001A4790 38 9C 00 34 */ addi r4, r28, 0x34 /* 801A7834 001A4794 C0 1C 00 60 */ lfs f0, 0x60(r28) /* 801A7838 001A4798 38 61 00 60 */ addi r3, r1, 0x60 /* 801A783C 001A479C C0 61 00 E4 */ lfs f3, 0xe4(r1) /* 801A7840 001A47A0 38 A1 00 3C */ addi r5, r1, 0x3c /* 801A7844 001A47A4 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A7848 001A47A8 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 801A784C 001A47AC C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801A7850 001A47B0 C0 21 00 E0 */ lfs f1, 0xe0(r1) /* 801A7854 001A47B4 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A7858 001A47B8 D0 81 00 44 */ stfs f4, 0x44(r1) /* 801A785C 001A47BC EC 01 00 28 */ fsubs f0, f1, f0 /* 801A7860 001A47C0 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801A7864 001A47C4 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801A7868 001A47C8 48 16 B1 BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801A786C 001A47CC C0 61 00 60 */ lfs f3, 0x60(r1) /* 801A7870 001A47D0 FC 20 F8 90 */ fmr f1, f31 /* 801A7874 001A47D4 C0 41 00 64 */ lfs f2, 0x64(r1) /* 801A7878 001A47D8 7F 83 E3 78 */ mr r3, r28 /* 801A787C 001A47DC C0 01 00 68 */ lfs f0, 0x68(r1) /* 801A7880 001A47E0 38 81 00 D4 */ addi r4, r1, 0xd4 /* 801A7884 001A47E4 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 801A7888 001A47E8 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801A788C 001A47EC D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801A7890 001A47F0 4B F7 35 E9 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff /* 801A7894 001A47F4 48 00 00 10 */ b lbl_801A78A4 lbl_801A7898: /* 801A7898 001A47F8 7F 83 E3 78 */ mr r3, r28 /* 801A789C 001A47FC 38 81 00 E0 */ addi r4, r1, 0xe0 /* 801A78A0 001A4800 4B EA B5 ED */ bl SetTranslation__6CActorFRC9CVector3f lbl_801A78A4: /* 801A78A4 001A4804 3B DE 00 44 */ addi r30, r30, 0x44 /* 801A78A8 001A4808 3B BD 00 01 */ addi r29, r29, 1 lbl_801A78AC: /* 801A78AC 001A480C 80 19 00 04 */ lwz r0, 4(r25) /* 801A78B0 001A4810 7C 1D 00 00 */ cmpw r29, r0 /* 801A78B4 001A4814 41 80 FC 6C */ blt lbl_801A7520 lbl_801A78B8: /* 801A78B8 001A4818 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 /* 801A78BC 001A481C CB E1 03 90 */ lfd f31, 0x390(r1) /* 801A78C0 001A4820 E3 C1 03 88 */ psq_l f30, 904(r1), 0, qr0 /* 801A78C4 001A4824 CB C1 03 80 */ lfd f30, 0x380(r1) /* 801A78C8 001A4828 BB 01 03 60 */ lmw r24, 0x360(r1) /* 801A78CC 001A482C 80 01 03 A4 */ lwz r0, 0x3a4(r1) /* 801A78D0 001A4830 7C 08 03 A6 */ mtlr r0 /* 801A78D4 001A4834 38 21 03 A0 */ addi r1, r1, 0x3a0 /* 801A78D8 001A4838 4E 80 00 20 */ blr .global sub_801a78dc sub_801a78dc: /* 801A78DC 001A483C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A78E0 001A4840 7C 08 02 A6 */ mflr r0 /* 801A78E4 001A4844 90 01 00 14 */ stw r0, 0x14(r1) /* 801A78E8 001A4848 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A78EC 001A484C 7C 9F 23 78 */ mr r31, r4 /* 801A78F0 001A4850 93 C1 00 08 */ stw r30, 8(r1) /* 801A78F4 001A4854 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A78F8 001A4858 41 82 00 1C */ beq lbl_801A7914 /* 801A78FC 001A485C 38 80 FF FF */ li r4, -1 /* 801A7900 001A4860 4B FA EA 2D */ bl sub_8015632c /* 801A7904 001A4864 7F E0 07 35 */ extsh. r0, r31 /* 801A7908 001A4868 40 81 00 0C */ ble lbl_801A7914 /* 801A790C 001A486C 7F C3 F3 78 */ mr r3, r30 /* 801A7910 001A4870 48 16 E0 21 */ bl Free__7CMemoryFPCv lbl_801A7914: /* 801A7914 001A4874 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A7918 001A4878 7F C3 F3 78 */ mr r3, r30 /* 801A791C 001A487C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A7920 001A4880 83 C1 00 08 */ lwz r30, 8(r1) /* 801A7924 001A4884 7C 08 03 A6 */ mtlr r0 /* 801A7928 001A4888 38 21 00 10 */ addi r1, r1, 0x10 /* 801A792C 001A488C 4E 80 00 20 */ blr .global "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b": /* 801A7930 001A4890 94 21 FA 40 */ stwu r1, -0x5c0(r1) /* 801A7934 001A4894 7C 08 02 A6 */ mflr r0 /* 801A7938 001A4898 90 01 05 C4 */ stw r0, 0x5c4(r1) /* 801A793C 001A489C DB E1 05 B0 */ stfd f31, 0x5b0(r1) /* 801A7940 001A48A0 F3 E1 05 B8 */ psq_st f31, 1464(r1), 0, qr0 /* 801A7944 001A48A4 DB C1 05 A0 */ stfd f30, 0x5a0(r1) /* 801A7948 001A48A8 F3 C1 05 A8 */ psq_st f30, 1448(r1), 0, qr0 /* 801A794C 001A48AC DB A1 05 90 */ stfd f29, 0x590(r1) /* 801A7950 001A48B0 F3 A1 05 98 */ psq_st f29, 1432(r1), 0, qr0 /* 801A7954 001A48B4 BD E1 05 4C */ stmw r15, 0x54c(r1) /* 801A7958 001A48B8 39 20 00 00 */ li r9, 0 /* 801A795C 001A48BC 7C 9E 23 78 */ mr r30, r4 /* 801A7960 001A48C0 91 23 00 04 */ stw r9, 4(r3) /* 801A7964 001A48C4 7C 7F 1B 78 */ mr r31, r3 /* 801A7968 001A48C8 7D 1C 43 78 */ mr r28, r8 /* 801A796C 001A48CC 38 00 00 01 */ li r0, 1 /* 801A7970 001A48D0 91 23 00 08 */ stw r9, 8(r3) /* 801A7974 001A48D4 7C DB 33 78 */ mr r27, r6 /* 801A7978 001A48D8 7C F4 3B 78 */ mr r20, r7 /* 801A797C 001A48DC 7F C3 F3 78 */ mr r3, r30 /* 801A7980 001A48E0 91 3F 00 0C */ stw r9, 0xc(r31) /* 801A7984 001A48E4 38 81 00 80 */ addi r4, r1, 0x80 /* 801A7988 001A48E8 A0 A5 00 00 */ lhz r5, 0(r5) /* 801A798C 001A48EC B0 BF 00 10 */ sth r5, 0x10(r31) /* 801A7990 001A48F0 9B 9F 00 12 */ stb r28, 0x12(r31) /* 801A7994 001A48F4 99 3F 00 13 */ stb r9, 0x13(r31) /* 801A7998 001A48F8 98 1F 00 14 */ stb r0, 0x14(r31) /* 801A799C 001A48FC A0 1F 00 10 */ lhz r0, 0x10(r31) /* 801A79A0 001A4900 B0 01 00 80 */ sth r0, 0x80(r1) /* 801A79A4 001A4904 4B EA 4C 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801A79A8 001A4908 7C 64 1B 78 */ mr r4, r3 /* 801A79AC 001A490C 38 61 00 AC */ addi r3, r1, 0xac /* 801A79B0 001A4910 4B F0 82 E1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801A79B4 001A4914 81 E3 00 04 */ lwz r15, 4(r3) /* 801A79B8 001A4918 28 0F 00 00 */ cmplwi r15, 0 /* 801A79BC 001A491C 41 82 0A A8 */ beq lbl_801A8464 /* 801A79C0 001A4920 80 AF 00 64 */ lwz r5, 0x64(r15) /* 801A79C4 001A4924 38 61 04 38 */ addi r3, r1, 0x438 /* 801A79C8 001A4928 38 8F 00 34 */ addi r4, r15, 0x34 /* 801A79CC 001A492C 82 45 00 10 */ lwz r18, 0x10(r5) /* 801A79D0 001A4930 48 16 B1 A5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A79D4 001A4934 80 AF 00 64 */ lwz r5, 0x64(r15) /* 801A79D8 001A4938 38 61 02 E8 */ addi r3, r1, 0x2e8 /* 801A79DC 001A493C 38 81 01 BC */ addi r4, r1, 0x1bc /* 801A79E0 001A4940 C0 25 00 04 */ lfs f1, 4(r5) /* 801A79E4 001A4944 C0 45 00 08 */ lfs f2, 8(r5) /* 801A79E8 001A4948 C0 05 00 00 */ lfs f0, 0(r5) /* 801A79EC 001A494C D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 801A79F0 001A4950 D0 21 01 C0 */ stfs f1, 0x1c0(r1) /* 801A79F4 001A4954 D0 41 01 C4 */ stfs f2, 0x1c4(r1) /* 801A79F8 001A4958 48 16 B7 CD */ bl Scale__12CTransform4fFRC9CVector3f /* 801A79FC 001A495C 38 61 04 08 */ addi r3, r1, 0x408 /* 801A7A00 001A4960 38 81 02 E8 */ addi r4, r1, 0x2e8 /* 801A7A04 001A4964 48 16 B1 71 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7A08 001A4968 80 94 00 04 */ lwz r4, 4(r20) /* 801A7A0C 001A496C 7F E3 FB 78 */ mr r3, r31 /* 801A7A10 001A4970 4B FA ED A9 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801A7A14 001A4974 83 B4 00 0C */ lwz r29, 0xc(r20) /* 801A7A18 001A4978 3A 21 04 FC */ addi r17, r1, 0x4fc /* 801A7A1C 001A497C 39 E1 05 08 */ addi r15, r1, 0x508 /* 801A7A20 001A4980 3B 21 05 1C */ addi r25, r1, 0x51c /* 801A7A24 001A4984 3A 01 04 D8 */ addi r16, r1, 0x4d8 /* 801A7A28 001A4988 3B 41 04 94 */ addi r26, r1, 0x494 /* 801A7A2C 001A498C 48 00 0A 20 */ b lbl_801A844C lbl_801A7A30: /* 801A7A30 001A4990 80 1D 00 00 */ lwz r0, 0(r29) /* 801A7A34 001A4994 7F 23 CB 78 */ mr r3, r25 /* 801A7A38 001A4998 38 9D 00 2C */ addi r4, r29, 0x2c /* 801A7A3C 001A499C 90 01 04 F0 */ stw r0, 0x4f0(r1) /* 801A7A40 001A49A0 80 1D 00 04 */ lwz r0, 4(r29) /* 801A7A44 001A49A4 90 01 04 F4 */ stw r0, 0x4f4(r1) /* 801A7A48 001A49A8 88 1D 00 08 */ lbz r0, 8(r29) /* 801A7A4C 001A49AC 98 01 04 F8 */ stb r0, 0x4f8(r1) /* 801A7A50 001A49B0 88 1D 00 09 */ lbz r0, 9(r29) /* 801A7A54 001A49B4 98 01 04 F9 */ stb r0, 0x4f9(r1) /* 801A7A58 001A49B8 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 801A7A5C 001A49BC D0 11 00 00 */ stfs f0, 0(r17) /* 801A7A60 001A49C0 C0 1D 00 10 */ lfs f0, 0x10(r29) /* 801A7A64 001A49C4 D0 01 05 00 */ stfs f0, 0x500(r1) /* 801A7A68 001A49C8 C0 1D 00 14 */ lfs f0, 0x14(r29) /* 801A7A6C 001A49CC D0 01 05 04 */ stfs f0, 0x504(r1) /* 801A7A70 001A49D0 C0 1D 00 18 */ lfs f0, 0x18(r29) /* 801A7A74 001A49D4 D0 01 05 08 */ stfs f0, 0x508(r1) /* 801A7A78 001A49D8 C0 1D 00 1C */ lfs f0, 0x1c(r29) /* 801A7A7C 001A49DC D0 01 05 0C */ stfs f0, 0x50c(r1) /* 801A7A80 001A49E0 C0 1D 00 20 */ lfs f0, 0x20(r29) /* 801A7A84 001A49E4 D0 01 05 10 */ stfs f0, 0x510(r1) /* 801A7A88 001A49E8 C0 1D 00 24 */ lfs f0, 0x24(r29) /* 801A7A8C 001A49EC D0 01 05 14 */ stfs f0, 0x514(r1) /* 801A7A90 001A49F0 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 801A7A94 001A49F4 D0 01 05 18 */ stfs f0, 0x518(r1) /* 801A7A98 001A49F8 48 19 66 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A7A9C 001A49FC A0 1D 00 3C */ lhz r0, 0x3c(r29) /* 801A7AA0 001A4A00 38 61 04 F0 */ addi r3, r1, 0x4f0 /* 801A7AA4 001A4A04 38 81 01 BC */ addi r4, r1, 0x1bc /* 801A7AA8 001A4A08 B0 01 05 2C */ sth r0, 0x52c(r1) /* 801A7AAC 001A4A0C C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801A7AB0 001A4A10 D0 01 05 30 */ stfs f0, 0x530(r1) /* 801A7AB4 001A4A14 48 00 09 E1 */ bl ScaleAllBounds__26CJointCollisionDescriptionFRC9CVector3f /* 801A7AB8 001A4A18 88 01 04 F8 */ lbz r0, 0x4f8(r1) /* 801A7ABC 001A4A1C 7E 44 93 78 */ mr r4, r18 /* 801A7AC0 001A4A20 38 61 02 B8 */ addi r3, r1, 0x2b8 /* 801A7AC4 001A4A24 38 A1 00 2C */ addi r5, r1, 0x2c /* 801A7AC8 001A4A28 98 01 00 28 */ stb r0, 0x28(r1) /* 801A7ACC 001A4A2C 38 C1 04 38 */ addi r6, r1, 0x438 /* 801A7AD0 001A4A30 38 E1 04 08 */ addi r7, r1, 0x408 /* 801A7AD4 001A4A34 98 01 00 2C */ stb r0, 0x2c(r1) /* 801A7AD8 001A4A38 4B FF F4 B1 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f /* 801A7ADC 001A4A3C 38 61 03 D8 */ addi r3, r1, 0x3d8 /* 801A7AE0 001A4A40 38 81 02 B8 */ addi r4, r1, 0x2b8 /* 801A7AE4 001A4A44 48 16 B0 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7AE8 001A4A48 88 01 04 F9 */ lbz r0, 0x4f9(r1) /* 801A7AEC 001A4A4C 28 00 00 FF */ cmplwi r0, 0xff /* 801A7AF0 001A4A50 41 82 07 A4 */ beq lbl_801A8294 /* 801A7AF4 001A4A54 98 01 00 20 */ stb r0, 0x20(r1) /* 801A7AF8 001A4A58 7E 44 93 78 */ mr r4, r18 /* 801A7AFC 001A4A5C 38 61 02 88 */ addi r3, r1, 0x288 /* 801A7B00 001A4A60 38 A1 00 24 */ addi r5, r1, 0x24 /* 801A7B04 001A4A64 98 01 00 24 */ stb r0, 0x24(r1) /* 801A7B08 001A4A68 38 C1 04 38 */ addi r6, r1, 0x438 /* 801A7B0C 001A4A6C 38 E1 04 08 */ addi r7, r1, 0x408 /* 801A7B10 001A4A70 4B FF F4 79 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f /* 801A7B14 001A4A74 38 61 03 A8 */ addi r3, r1, 0x3a8 /* 801A7B18 001A4A78 38 81 02 88 */ addi r4, r1, 0x288 /* 801A7B1C 001A4A7C 48 16 B0 59 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7B20 001A4A80 C0 61 03 B4 */ lfs f3, 0x3b4(r1) /* 801A7B24 001A4A84 38 61 01 80 */ addi r3, r1, 0x180 /* 801A7B28 001A4A88 C0 01 03 E4 */ lfs f0, 0x3e4(r1) /* 801A7B2C 001A4A8C C0 41 03 C4 */ lfs f2, 0x3c4(r1) /* 801A7B30 001A4A90 C0 81 03 F4 */ lfs f4, 0x3f4(r1) /* 801A7B34 001A4A94 EC 03 00 28 */ fsubs f0, f3, f0 /* 801A7B38 001A4A98 C0 21 03 D4 */ lfs f1, 0x3d4(r1) /* 801A7B3C 001A4A9C C0 A1 04 04 */ lfs f5, 0x404(r1) /* 801A7B40 001A4AA0 EC 82 20 28 */ fsubs f4, f2, f4 /* 801A7B44 001A4AA4 D0 61 01 74 */ stfs f3, 0x174(r1) /* 801A7B48 001A4AA8 EC 61 28 28 */ fsubs f3, f1, f5 /* 801A7B4C 001A4AAC D0 41 01 78 */ stfs f2, 0x178(r1) /* 801A7B50 001A4AB0 D0 21 01 7C */ stfs f1, 0x17c(r1) /* 801A7B54 001A4AB4 D0 01 01 80 */ stfs f0, 0x180(r1) /* 801A7B58 001A4AB8 D0 81 01 84 */ stfs f4, 0x184(r1) /* 801A7B5C 001A4ABC D0 61 01 88 */ stfs f3, 0x188(r1) /* 801A7B60 001A4AC0 48 16 CD 59 */ bl Magnitude__9CVector3fCFv /* 801A7B64 001A4AC4 80 01 04 F0 */ lwz r0, 0x4f0(r1) /* 801A7B68 001A4AC8 FF A0 08 90 */ fmr f29, f1 /* 801A7B6C 001A4ACC 2C 00 00 03 */ cmpwi r0, 3 /* 801A7B70 001A4AD0 40 82 02 84 */ bne lbl_801A7DF4 /* 801A7B74 001A4AD4 C0 02 A7 FC */ lfs f0, lbl_805AC51C@sda21(r2) /* 801A7B78 001A4AD8 FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 801A7B7C 001A4ADC 4C 40 13 82 */ cror 2, 0, 2 /* 801A7B80 001A4AE0 40 82 00 18 */ bne lbl_801A7B98 /* 801A7B84 001A4AE4 28 19 00 00 */ cmplwi r25, 0 /* 801A7B88 001A4AE8 41 82 08 C0 */ beq lbl_801A8448 /* 801A7B8C 001A4AEC 7F 23 CB 78 */ mr r3, r25 /* 801A7B90 001A4AF0 48 19 5F 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A7B94 001A4AF4 48 00 08 B4 */ b lbl_801A8448 lbl_801A7B98: /* 801A7B98 001A4AF8 C0 01 05 00 */ lfs f0, 0x500(r1) /* 801A7B9C 001A4AFC 7F C4 F3 78 */ mr r4, r30 /* 801A7BA0 001A4B00 C0 51 00 00 */ lfs f2, 0(r17) /* 801A7BA4 001A4B04 38 61 00 7C */ addi r3, r1, 0x7c /* 801A7BA8 001A4B08 EC 3D 00 2A */ fadds f1, f29, f0 /* 801A7BAC 001A4B0C C0 01 05 04 */ lfs f0, 0x504(r1) /* 801A7BB0 001A4B10 D0 41 01 B0 */ stfs f2, 0x1b0(r1) /* 801A7BB4 001A4B14 D0 21 01 B4 */ stfs f1, 0x1b4(r1) /* 801A7BB8 001A4B18 D0 01 01 B8 */ stfs f0, 0x1b8(r1) /* 801A7BBC 001A4B1C 4B EA 55 21 */ bl AllocateUniqueId__13CStateManagerFv /* 801A7BC0 001A4B20 A0 01 00 7C */ lhz r0, 0x7c(r1) /* 801A7BC4 001A4B24 3C 60 80 3D */ lis r3, lbl_803D1498@ha /* 801A7BC8 001A4B28 38 83 14 98 */ addi r4, r3, lbl_803D1498@l /* 801A7BCC 001A4B2C 38 A0 00 00 */ li r5, 0 /* 801A7BD0 001A4B30 B0 01 00 90 */ sth r0, 0x90(r1) /* 801A7BD4 001A4B34 38 60 03 10 */ li r3, 0x310 /* 801A7BD8 001A4B38 48 16 DC 95 */ bl __nw__FUlPCcPCc /* 801A7BDC 001A4B3C 7C 73 1B 79 */ or. r19, r3, r3 /* 801A7BE0 001A4B40 41 82 00 58 */ beq lbl_801A7C38 /* 801A7BE4 001A4B44 C0 02 A8 00 */ lfs f0, lbl_805AC520@sda21(r2) /* 801A7BE8 001A4B48 7F 89 E3 78 */ mr r9, r28 /* 801A7BEC 001A4B4C C0 42 A7 F8 */ lfs f2, lbl_805AC518@sda21(r2) /* 801A7BF0 001A4B50 38 81 00 74 */ addi r4, r1, 0x74 /* 801A7BF4 001A4B54 EC 00 07 72 */ fmuls f0, f0, f29 /* 801A7BF8 001A4B58 81 5B 00 00 */ lwz r10, 0(r27) /* 801A7BFC 001A4B5C D0 41 01 68 */ stfs f2, 0x168(r1) /* 801A7C00 001A4B60 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 801A7C04 001A4B64 A0 01 00 90 */ lhz r0, 0x90(r1) /* 801A7C08 001A4B68 38 C1 00 78 */ addi r6, r1, 0x78 /* 801A7C0C 001A4B6C D0 01 01 6C */ stfs f0, 0x16c(r1) /* 801A7C10 001A4B70 38 E1 01 B0 */ addi r7, r1, 0x1b0 /* 801A7C14 001A4B74 C0 21 05 30 */ lfs f1, 0x530(r1) /* 801A7C18 001A4B78 39 01 01 68 */ addi r8, r1, 0x168 /* 801A7C1C 001A4B7C D0 41 01 70 */ stfs f2, 0x170(r1) /* 801A7C20 001A4B80 A1 7F 00 10 */ lhz r11, 0x10(r31) /* 801A7C24 001A4B84 B1 61 00 78 */ sth r11, 0x78(r1) /* 801A7C28 001A4B88 91 41 00 A8 */ stw r10, 0xa8(r1) /* 801A7C2C 001A4B8C B0 01 00 74 */ sth r0, 0x74(r1) /* 801A7C30 001A4B90 48 00 21 79 */ bl __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf /* 801A7C34 001A4B94 7C 73 1B 78 */ mr r19, r3 lbl_801A7C38: /* 801A7C38 001A4B98 80 01 04 F4 */ lwz r0, 0x4f4(r1) /* 801A7C3C 001A4B9C 2C 00 00 00 */ cmpwi r0, 0 /* 801A7C40 001A4BA0 40 82 00 3C */ bne lbl_801A7C7C /* 801A7C44 001A4BA4 38 73 00 34 */ addi r3, r19, 0x34 /* 801A7C48 001A4BA8 38 81 03 D8 */ addi r4, r1, 0x3d8 /* 801A7C4C 001A4BAC 48 16 AE F5 */ bl __as__12CTransform4fFRC12CTransform4f /* 801A7C50 001A4BB0 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7C54 001A4BB4 38 60 00 01 */ li r3, 1 /* 801A7C58 001A4BB8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A7C5C 001A4BBC 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7C60 001A4BC0 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7C64 001A4BC4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A7C68 001A4BC8 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7C6C 001A4BCC 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7C70 001A4BD0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A7C74 001A4BD4 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7C78 001A4BD8 48 00 01 44 */ b lbl_801A7DBC lbl_801A7C7C: /* 801A7C7C 001A4BDC C0 61 03 B4 */ lfs f3, 0x3b4(r1) /* 801A7C80 001A4BE0 38 61 01 5C */ addi r3, r1, 0x15c /* 801A7C84 001A4BE4 C0 01 03 E4 */ lfs f0, 0x3e4(r1) /* 801A7C88 001A4BE8 38 81 01 50 */ addi r4, r1, 0x150 /* 801A7C8C 001A4BEC C0 41 03 C4 */ lfs f2, 0x3c4(r1) /* 801A7C90 001A4BF0 C0 81 03 F4 */ lfs f4, 0x3f4(r1) /* 801A7C94 001A4BF4 EC 03 00 28 */ fsubs f0, f3, f0 /* 801A7C98 001A4BF8 C0 21 03 D4 */ lfs f1, 0x3d4(r1) /* 801A7C9C 001A4BFC C0 A1 04 04 */ lfs f5, 0x404(r1) /* 801A7CA0 001A4C00 EC C2 20 28 */ fsubs f6, f2, f4 /* 801A7CA4 001A4C04 C1 01 04 00 */ lfs f8, 0x400(r1) /* 801A7CA8 001A4C08 EC A1 28 28 */ fsubs f5, f1, f5 /* 801A7CAC 001A4C0C C0 E1 03 F0 */ lfs f7, 0x3f0(r1) /* 801A7CB0 001A4C10 C0 81 03 E0 */ lfs f4, 0x3e0(r1) /* 801A7CB4 001A4C14 D0 E1 01 A8 */ stfs f7, 0x1a8(r1) /* 801A7CB8 001A4C18 D0 81 01 A4 */ stfs f4, 0x1a4(r1) /* 801A7CBC 001A4C1C D1 01 01 AC */ stfs f8, 0x1ac(r1) /* 801A7CC0 001A4C20 D0 61 01 44 */ stfs f3, 0x144(r1) /* 801A7CC4 001A4C24 D0 41 01 48 */ stfs f2, 0x148(r1) /* 801A7CC8 001A4C28 D0 21 01 4C */ stfs f1, 0x14c(r1) /* 801A7CCC 001A4C2C D0 01 01 50 */ stfs f0, 0x150(r1) /* 801A7CD0 001A4C30 D0 C1 01 54 */ stfs f6, 0x154(r1) /* 801A7CD4 001A4C34 D0 A1 01 58 */ stfs f5, 0x158(r1) /* 801A7CD8 001A4C38 48 16 CB 79 */ bl AsNormalized__9CVector3fCFv /* 801A7CDC 001A4C3C C0 81 01 60 */ lfs f4, 0x160(r1) /* 801A7CE0 001A4C40 C0 01 01 A8 */ lfs f0, 0x1a8(r1) /* 801A7CE4 001A4C44 C0 C1 01 5C */ lfs f6, 0x15c(r1) /* 801A7CE8 001A4C48 EC 04 00 32 */ fmuls f0, f4, f0 /* 801A7CEC 001A4C4C C0 21 01 A4 */ lfs f1, 0x1a4(r1) /* 801A7CF0 001A4C50 C0 A1 01 64 */ lfs f5, 0x164(r1) /* 801A7CF4 001A4C54 C0 61 01 AC */ lfs f3, 0x1ac(r1) /* 801A7CF8 001A4C58 EC 26 00 7A */ fmadds f1, f6, f1, f0 /* 801A7CFC 001A4C5C C0 42 A8 04 */ lfs f2, lbl_805AC524@sda21(r2) /* 801A7D00 001A4C60 C8 02 A8 08 */ lfd f0, lbl_805AC528@sda21(r2) /* 801A7D04 001A4C64 EC 25 08 FA */ fmadds f1, f5, f3, f1 /* 801A7D08 001A4C68 FC 20 0A 10 */ fabs f1, f1 /* 801A7D0C 001A4C6C FC 20 08 18 */ frsp f1, f1 /* 801A7D10 001A4C70 EC 22 08 28 */ fsubs f1, f2, f1 /* 801A7D14 001A4C74 FC 20 0A 10 */ fabs f1, f1 /* 801A7D18 001A4C78 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A7D1C 001A4C7C 40 80 00 1C */ bge lbl_801A7D38 /* 801A7D20 001A4C80 C0 41 03 FC */ lfs f2, 0x3fc(r1) /* 801A7D24 001A4C84 C0 21 03 EC */ lfs f1, 0x3ec(r1) /* 801A7D28 001A4C88 C0 01 03 DC */ lfs f0, 0x3dc(r1) /* 801A7D2C 001A4C8C D0 21 01 A8 */ stfs f1, 0x1a8(r1) /* 801A7D30 001A4C90 D0 01 01 A4 */ stfs f0, 0x1a4(r1) /* 801A7D34 001A4C94 D0 41 01 AC */ stfs f2, 0x1ac(r1) lbl_801A7D38: /* 801A7D38 001A4C98 C0 01 03 F4 */ lfs f0, 0x3f4(r1) /* 801A7D3C 001A4C9C 38 61 02 58 */ addi r3, r1, 0x258 /* 801A7D40 001A4CA0 C0 41 04 04 */ lfs f2, 0x404(r1) /* 801A7D44 001A4CA4 38 81 01 38 */ addi r4, r1, 0x138 /* 801A7D48 001A4CA8 C0 21 03 E4 */ lfs f1, 0x3e4(r1) /* 801A7D4C 001A4CAC EC 80 20 2A */ fadds f4, f0, f4 /* 801A7D50 001A4CB0 EC 62 28 2A */ fadds f3, f2, f5 /* 801A7D54 001A4CB4 D0 01 01 3C */ stfs f0, 0x13c(r1) /* 801A7D58 001A4CB8 EC 01 30 2A */ fadds f0, f1, f6 /* 801A7D5C 001A4CBC 38 A1 01 2C */ addi r5, r1, 0x12c /* 801A7D60 001A4CC0 D0 81 01 30 */ stfs f4, 0x130(r1) /* 801A7D64 001A4CC4 38 C1 01 A4 */ addi r6, r1, 0x1a4 /* 801A7D68 001A4CC8 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 801A7D6C 001A4CCC D0 61 01 34 */ stfs f3, 0x134(r1) /* 801A7D70 001A4CD0 D0 21 01 38 */ stfs f1, 0x138(r1) /* 801A7D74 001A4CD4 D0 41 01 40 */ stfs f2, 0x140(r1) /* 801A7D78 001A4CD8 48 16 BD 99 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801A7D7C 001A4CDC 38 61 03 78 */ addi r3, r1, 0x378 /* 801A7D80 001A4CE0 38 81 02 58 */ addi r4, r1, 0x258 /* 801A7D84 001A4CE4 48 16 AD F1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A7D88 001A4CE8 38 73 00 34 */ addi r3, r19, 0x34 /* 801A7D8C 001A4CEC 38 81 03 78 */ addi r4, r1, 0x378 /* 801A7D90 001A4CF0 48 16 AD B1 */ bl __as__12CTransform4fFRC12CTransform4f /* 801A7D94 001A4CF4 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7D98 001A4CF8 38 60 00 01 */ li r3, 1 /* 801A7D9C 001A4CFC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A7DA0 001A4D00 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7DA4 001A4D04 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7DA8 001A4D08 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A7DAC 001A4D0C 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7DB0 001A4D10 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7DB4 001A4D14 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A7DB8 001A4D18 98 13 00 E4 */ stb r0, 0xe4(r19) lbl_801A7DBC: /* 801A7DBC 001A4D1C 7F C3 F3 78 */ mr r3, r30 /* 801A7DC0 001A4D20 7E 64 9B 78 */ mr r4, r19 /* 801A7DC4 001A4D24 4B EA 4D 51 */ bl AddObject__13CStateManagerFR7CEntity /* 801A7DC8 001A4D28 7F E3 FB 78 */ mr r3, r31 /* 801A7DCC 001A4D2C 7F A4 EB 78 */ mr r4, r29 /* 801A7DD0 001A4D30 4B FA E4 61 */ bl sub_80156230 /* 801A7DD4 001A4D34 80 1F 00 04 */ lwz r0, 4(r31) /* 801A7DD8 001A4D38 A0 81 00 90 */ lhz r4, 0x90(r1) /* 801A7DDC 001A4D3C 1C 00 00 44 */ mulli r0, r0, 0x44 /* 801A7DE0 001A4D40 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801A7DE4 001A4D44 B0 81 00 70 */ sth r4, 0x70(r1) /* 801A7DE8 001A4D48 7C 63 02 14 */ add r3, r3, r0 /* 801A7DEC 001A4D4C B0 83 FF F8 */ sth r4, -8(r3) /* 801A7DF0 001A4D50 48 00 06 48 */ b lbl_801A8438 lbl_801A7DF4: /* 801A7DF4 001A4D54 7F C4 F3 78 */ mr r4, r30 /* 801A7DF8 001A4D58 38 61 00 6C */ addi r3, r1, 0x6c /* 801A7DFC 001A4D5C 4B EA 52 E1 */ bl AllocateUniqueId__13CStateManagerFv /* 801A7E00 001A4D60 A0 01 00 6C */ lhz r0, 0x6c(r1) /* 801A7E04 001A4D64 3C 60 80 3D */ lis r3, lbl_803D1498@ha /* 801A7E08 001A4D68 38 83 14 98 */ addi r4, r3, lbl_803D1498@l /* 801A7E0C 001A4D6C 38 A0 00 00 */ li r5, 0 /* 801A7E10 001A4D70 B0 01 00 8C */ sth r0, 0x8c(r1) /* 801A7E14 001A4D74 38 60 03 10 */ li r3, 0x310 /* 801A7E18 001A4D78 48 16 DA 55 */ bl __nw__FUlPCcPCc /* 801A7E1C 001A4D7C 7C 73 1B 79 */ or. r19, r3, r3 /* 801A7E20 001A4D80 41 82 00 3C */ beq lbl_801A7E5C /* 801A7E24 001A4D84 A0 DF 00 10 */ lhz r6, 0x10(r31) /* 801A7E28 001A4D88 7F 87 E3 78 */ mr r7, r28 /* 801A7E2C 001A4D8C 81 1B 00 00 */ lwz r8, 0(r27) /* 801A7E30 001A4D90 38 81 00 64 */ addi r4, r1, 0x64 /* 801A7E34 001A4D94 A0 01 00 8C */ lhz r0, 0x8c(r1) /* 801A7E38 001A4D98 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 801A7E3C 001A4D9C B0 C1 00 68 */ sth r6, 0x68(r1) /* 801A7E40 001A4DA0 38 C1 00 68 */ addi r6, r1, 0x68 /* 801A7E44 001A4DA4 C0 21 05 14 */ lfs f1, 0x514(r1) /* 801A7E48 001A4DA8 91 01 00 A4 */ stw r8, 0xa4(r1) /* 801A7E4C 001A4DAC C0 41 05 30 */ lfs f2, 0x530(r1) /* 801A7E50 001A4DB0 B0 01 00 64 */ sth r0, 0x64(r1) /* 801A7E54 001A4DB4 48 00 15 E1 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff /* 801A7E58 001A4DB8 7C 73 1B 78 */ mr r19, r3 lbl_801A7E5C: /* 801A7E5C 001A4DBC 38 73 00 34 */ addi r3, r19, 0x34 /* 801A7E60 001A4DC0 38 81 03 D8 */ addi r4, r1, 0x3d8 /* 801A7E64 001A4DC4 48 16 AC DD */ bl __as__12CTransform4fFRC12CTransform4f /* 801A7E68 001A4DC8 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7E6C 001A4DCC 38 A0 00 01 */ li r5, 1 /* 801A7E70 001A4DD0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801A7E74 001A4DD4 7F C3 F3 78 */ mr r3, r30 /* 801A7E78 001A4DD8 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7E7C 001A4DDC 7E 64 9B 78 */ mr r4, r19 /* 801A7E80 001A4DE0 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7E84 001A4DE4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801A7E88 001A4DE8 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7E8C 001A4DEC 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A7E90 001A4DF0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801A7E94 001A4DF4 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A7E98 001A4DF8 4B EA 4C 7D */ bl AddObject__13CStateManagerFR7CEntity /* 801A7E9C 001A4DFC 88 01 04 F8 */ lbz r0, 0x4f8(r1) /* 801A7EA0 001A4E00 7F 25 CB 78 */ mr r5, r25 /* 801A7EA4 001A4E04 C0 21 05 14 */ lfs f1, 0x514(r1) /* 801A7EA8 001A4E08 38 61 04 AC */ addi r3, r1, 0x4ac /* 801A7EAC 001A4E0C 98 01 00 18 */ stb r0, 0x18(r1) /* 801A7EB0 001A4E10 38 81 00 1C */ addi r4, r1, 0x1c /* 801A7EB4 001A4E14 C0 42 A8 10 */ lfs f2, lbl_805AC530@sda21(r2) /* 801A7EB8 001A4E18 98 01 00 1C */ stb r0, 0x1c(r1) /* 801A7EBC 001A4E1C 48 00 09 51 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801A7EC0 001A4E20 7F E3 FB 78 */ mr r3, r31 /* 801A7EC4 001A4E24 38 81 04 AC */ addi r4, r1, 0x4ac /* 801A7EC8 001A4E28 4B FA E3 69 */ bl sub_80156230 /* 801A7ECC 001A4E2C 28 10 00 00 */ cmplwi r16, 0 /* 801A7ED0 001A4E30 41 82 00 0C */ beq lbl_801A7EDC /* 801A7ED4 001A4E34 7E 03 83 78 */ mr r3, r16 /* 801A7ED8 001A4E38 48 19 5C 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801A7EDC: /* 801A7EDC 001A4E3C 80 1F 00 04 */ lwz r0, 4(r31) /* 801A7EE0 001A4E40 A0 81 00 8C */ lhz r4, 0x8c(r1) /* 801A7EE4 001A4E44 1C 00 00 44 */ mulli r0, r0, 0x44 /* 801A7EE8 001A4E48 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801A7EEC 001A4E4C B0 81 00 60 */ sth r4, 0x60(r1) /* 801A7EF0 001A4E50 7C 63 02 14 */ add r3, r3, r0 /* 801A7EF4 001A4E54 B0 83 FF F8 */ sth r4, -8(r3) /* 801A7EF8 001A4E58 C0 01 05 18 */ lfs f0, 0x518(r1) /* 801A7EFC 001A4E5C EC 3D 00 24 */ fdivs f1, f29, f0 /* 801A7F00 001A4E60 48 1E 1A 55 */ bl __cvt_fp2unsigned /* 801A7F04 001A4E64 7C 76 1B 79 */ or. r22, r3, r3 /* 801A7F08 001A4E68 41 82 05 30 */ beq lbl_801A8438 /* 801A7F0C 001A4E6C 80 1F 00 08 */ lwz r0, 8(r31) /* 801A7F10 001A4E70 7F E3 FB 78 */ mr r3, r31 /* 801A7F14 001A4E74 7C 96 02 14 */ add r4, r22, r0 /* 801A7F18 001A4E78 4B FA E8 A1 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801A7F1C 001A4E7C 38 16 00 01 */ addi r0, r22, 1 /* 801A7F20 001A4E80 3E E0 43 30 */ lis r23, 0x4330 /* 801A7F24 001A4E84 90 01 05 3C */ stw r0, 0x53c(r1) /* 801A7F28 001A4E88 3C 60 80 3D */ lis r3, lbl_803D1498@ha /* 801A7F2C 001A4E8C CB E2 A8 18 */ lfd f31, lbl_805AC538@sda21(r2) /* 801A7F30 001A4E90 3B 03 14 98 */ addi r24, r3, lbl_803D1498@l /* 801A7F34 001A4E94 92 E1 05 38 */ stw r23, 0x538(r1) /* 801A7F38 001A4E98 3A A0 00 00 */ li r21, 0 /* 801A7F3C 001A4E9C C8 01 05 38 */ lfd f0, 0x538(r1) /* 801A7F40 001A4EA0 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801A7F44 001A4EA4 EF DD 00 24 */ fdivs f30, f29, f0 /* 801A7F48 001A4EA8 48 00 03 40 */ b lbl_801A8288 lbl_801A7F4C: /* 801A7F4C 001A4EAC 38 15 00 01 */ addi r0, r21, 1 /* 801A7F50 001A4EB0 89 01 04 F9 */ lbz r8, 0x4f9(r1) /* 801A7F54 001A4EB4 90 01 05 3C */ stw r0, 0x53c(r1) /* 801A7F58 001A4EB8 7F 27 CB 78 */ mr r7, r25 /* 801A7F5C 001A4EBC 88 01 04 F8 */ lbz r0, 0x4f8(r1) /* 801A7F60 001A4EC0 38 61 04 68 */ addi r3, r1, 0x468 /* 801A7F64 001A4EC4 92 E1 05 38 */ stw r23, 0x538(r1) /* 801A7F68 001A4EC8 38 81 00 14 */ addi r4, r1, 0x14 /* 801A7F6C 001A4ECC C0 21 05 14 */ lfs f1, 0x514(r1) /* 801A7F70 001A4ED0 38 A1 00 0C */ addi r5, r1, 0xc /* 801A7F74 001A4ED4 C8 01 05 38 */ lfd f0, 0x538(r1) /* 801A7F78 001A4ED8 38 C0 00 01 */ li r6, 1 /* 801A7F7C 001A4EDC 99 01 00 08 */ stb r8, 8(r1) /* 801A7F80 001A4EE0 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801A7F84 001A4EE4 C0 62 A8 10 */ lfs f3, lbl_805AC530@sda21(r2) /* 801A7F88 001A4EE8 99 01 00 0C */ stb r8, 0xc(r1) /* 801A7F8C 001A4EEC EF BE 00 32 */ fmuls f29, f30, f0 /* 801A7F90 001A4EF0 98 01 00 10 */ stb r0, 0x10(r1) /* 801A7F94 001A4EF4 98 01 00 14 */ stb r0, 0x14(r1) /* 801A7F98 001A4EF8 FC 40 E8 90 */ fmr f2, f29 /* 801A7F9C 001A4EFC 48 00 07 B9 */ bl "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801A7FA0 001A4F00 7F E3 FB 78 */ mr r3, r31 /* 801A7FA4 001A4F04 38 81 04 68 */ addi r4, r1, 0x468 /* 801A7FA8 001A4F08 4B FA E2 89 */ bl sub_80156230 /* 801A7FAC 001A4F0C 28 1A 00 00 */ cmplwi r26, 0 /* 801A7FB0 001A4F10 41 82 00 0C */ beq lbl_801A7FBC /* 801A7FB4 001A4F14 7F 43 D3 78 */ mr r3, r26 /* 801A7FB8 001A4F18 48 19 5B 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801A7FBC: /* 801A7FBC 001A4F1C 7F C4 F3 78 */ mr r4, r30 /* 801A7FC0 001A4F20 38 61 00 5C */ addi r3, r1, 0x5c /* 801A7FC4 001A4F24 4B EA 51 19 */ bl AllocateUniqueId__13CStateManagerFv /* 801A7FC8 001A4F28 A0 01 00 5C */ lhz r0, 0x5c(r1) /* 801A7FCC 001A4F2C 7F 04 C3 78 */ mr r4, r24 /* 801A7FD0 001A4F30 38 60 03 10 */ li r3, 0x310 /* 801A7FD4 001A4F34 38 A0 00 00 */ li r5, 0 /* 801A7FD8 001A4F38 B0 01 00 88 */ sth r0, 0x88(r1) /* 801A7FDC 001A4F3C 48 16 D8 91 */ bl __nw__FUlPCcPCc /* 801A7FE0 001A4F40 7C 73 1B 79 */ or. r19, r3, r3 /* 801A7FE4 001A4F44 41 82 00 3C */ beq lbl_801A8020 /* 801A7FE8 001A4F48 A0 DF 00 10 */ lhz r6, 0x10(r31) /* 801A7FEC 001A4F4C 7F 87 E3 78 */ mr r7, r28 /* 801A7FF0 001A4F50 81 1B 00 00 */ lwz r8, 0(r27) /* 801A7FF4 001A4F54 38 81 00 54 */ addi r4, r1, 0x54 /* 801A7FF8 001A4F58 A0 01 00 88 */ lhz r0, 0x88(r1) /* 801A7FFC 001A4F5C 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 801A8000 001A4F60 B0 C1 00 58 */ sth r6, 0x58(r1) /* 801A8004 001A4F64 38 C1 00 58 */ addi r6, r1, 0x58 /* 801A8008 001A4F68 C0 21 05 14 */ lfs f1, 0x514(r1) /* 801A800C 001A4F6C 91 01 00 A0 */ stw r8, 0xa0(r1) /* 801A8010 001A4F70 C0 41 05 30 */ lfs f2, 0x530(r1) /* 801A8014 001A4F74 B0 01 00 54 */ sth r0, 0x54(r1) /* 801A8018 001A4F78 48 00 14 1D */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff /* 801A801C 001A4F7C 7C 73 1B 78 */ mr r19, r3 lbl_801A8020: /* 801A8020 001A4F80 80 01 04 F4 */ lwz r0, 0x4f4(r1) /* 801A8024 001A4F84 2C 00 00 00 */ cmpwi r0, 0 /* 801A8028 001A4F88 40 82 00 A8 */ bne lbl_801A80D0 /* 801A802C 001A4F8C C0 41 03 EC */ lfs f2, 0x3ec(r1) /* 801A8030 001A4F90 38 61 02 28 */ addi r3, r1, 0x228 /* 801A8034 001A4F94 C0 21 03 FC */ lfs f1, 0x3fc(r1) /* 801A8038 001A4F98 38 81 01 20 */ addi r4, r1, 0x120 /* 801A803C 001A4F9C C0 01 03 DC */ lfs f0, 0x3dc(r1) /* 801A8040 001A4FA0 EC DD 00 B2 */ fmuls f6, f29, f2 /* 801A8044 001A4FA4 C0 41 03 F4 */ lfs f2, 0x3f4(r1) /* 801A8048 001A4FA8 EC BD 00 72 */ fmuls f5, f29, f1 /* 801A804C 001A4FAC C0 21 04 04 */ lfs f1, 0x404(r1) /* 801A8050 001A4FB0 EC 9D 00 32 */ fmuls f4, f29, f0 /* 801A8054 001A4FB4 C0 61 03 E4 */ lfs f3, 0x3e4(r1) /* 801A8058 001A4FB8 EC E2 30 2A */ fadds f7, f2, f6 /* 801A805C 001A4FBC D0 C1 01 0C */ stfs f6, 0x10c(r1) /* 801A8060 001A4FC0 EC C1 28 2A */ fadds f6, f1, f5 /* 801A8064 001A4FC4 EC 03 20 2A */ fadds f0, f3, f4 /* 801A8068 001A4FC8 D0 81 01 08 */ stfs f4, 0x108(r1) /* 801A806C 001A4FCC D0 A1 01 10 */ stfs f5, 0x110(r1) /* 801A8070 001A4FD0 D0 61 01 14 */ stfs f3, 0x114(r1) /* 801A8074 001A4FD4 D0 41 01 18 */ stfs f2, 0x118(r1) /* 801A8078 001A4FD8 D0 21 01 1C */ stfs f1, 0x11c(r1) /* 801A807C 001A4FDC D0 01 01 20 */ stfs f0, 0x120(r1) /* 801A8080 001A4FE0 D0 E1 01 24 */ stfs f7, 0x124(r1) /* 801A8084 001A4FE4 D0 C1 01 28 */ stfs f6, 0x128(r1) /* 801A8088 001A4FE8 48 16 B0 B9 */ bl Translate__12CTransform4fFRC9CVector3f /* 801A808C 001A4FEC 38 61 03 48 */ addi r3, r1, 0x348 /* 801A8090 001A4FF0 38 81 02 28 */ addi r4, r1, 0x228 /* 801A8094 001A4FF4 48 16 AA E1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A8098 001A4FF8 38 73 00 34 */ addi r3, r19, 0x34 /* 801A809C 001A4FFC 38 81 03 48 */ addi r4, r1, 0x348 /* 801A80A0 001A5000 48 16 AA A1 */ bl __as__12CTransform4fFRC12CTransform4f /* 801A80A4 001A5004 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A80A8 001A5008 38 60 00 01 */ li r3, 1 /* 801A80AC 001A500C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A80B0 001A5010 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A80B4 001A5014 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A80B8 001A5018 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A80BC 001A501C 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A80C0 001A5020 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A80C4 001A5024 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A80C8 001A5028 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A80CC 001A502C 48 00 01 90 */ b lbl_801A825C lbl_801A80D0: /* 801A80D0 001A5030 C0 61 03 B4 */ lfs f3, 0x3b4(r1) /* 801A80D4 001A5034 38 61 00 FC */ addi r3, r1, 0xfc /* 801A80D8 001A5038 C0 01 03 E4 */ lfs f0, 0x3e4(r1) /* 801A80DC 001A503C 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801A80E0 001A5040 C0 41 03 C4 */ lfs f2, 0x3c4(r1) /* 801A80E4 001A5044 C0 81 03 F4 */ lfs f4, 0x3f4(r1) /* 801A80E8 001A5048 EC 03 00 28 */ fsubs f0, f3, f0 /* 801A80EC 001A504C C0 21 03 D4 */ lfs f1, 0x3d4(r1) /* 801A80F0 001A5050 C0 A1 04 04 */ lfs f5, 0x404(r1) /* 801A80F4 001A5054 EC C2 20 28 */ fsubs f6, f2, f4 /* 801A80F8 001A5058 C1 01 04 00 */ lfs f8, 0x400(r1) /* 801A80FC 001A505C EC A1 28 28 */ fsubs f5, f1, f5 /* 801A8100 001A5060 C0 E1 03 F0 */ lfs f7, 0x3f0(r1) /* 801A8104 001A5064 C0 81 03 E0 */ lfs f4, 0x3e0(r1) /* 801A8108 001A5068 D0 E1 01 9C */ stfs f7, 0x19c(r1) /* 801A810C 001A506C D0 81 01 98 */ stfs f4, 0x198(r1) /* 801A8110 001A5070 D1 01 01 A0 */ stfs f8, 0x1a0(r1) /* 801A8114 001A5074 D0 61 00 E4 */ stfs f3, 0xe4(r1) /* 801A8118 001A5078 D0 41 00 E8 */ stfs f2, 0xe8(r1) /* 801A811C 001A507C D0 21 00 EC */ stfs f1, 0xec(r1) /* 801A8120 001A5080 D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 801A8124 001A5084 D0 C1 00 F4 */ stfs f6, 0xf4(r1) /* 801A8128 001A5088 D0 A1 00 F8 */ stfs f5, 0xf8(r1) /* 801A812C 001A508C 48 16 C7 25 */ bl AsNormalized__9CVector3fCFv /* 801A8130 001A5090 C0 A1 01 00 */ lfs f5, 0x100(r1) /* 801A8134 001A5094 C0 01 01 9C */ lfs f0, 0x19c(r1) /* 801A8138 001A5098 C0 C1 00 FC */ lfs f6, 0xfc(r1) /* 801A813C 001A509C EC 05 00 32 */ fmuls f0, f5, f0 /* 801A8140 001A50A0 C0 21 01 98 */ lfs f1, 0x198(r1) /* 801A8144 001A50A4 C0 81 01 04 */ lfs f4, 0x104(r1) /* 801A8148 001A50A8 C0 61 01 A0 */ lfs f3, 0x1a0(r1) /* 801A814C 001A50AC EC 26 00 7A */ fmadds f1, f6, f1, f0 /* 801A8150 001A50B0 C0 42 A8 04 */ lfs f2, lbl_805AC524@sda21(r2) /* 801A8154 001A50B4 C8 02 A8 08 */ lfd f0, lbl_805AC528@sda21(r2) /* 801A8158 001A50B8 D0 C1 01 8C */ stfs f6, 0x18c(r1) /* 801A815C 001A50BC EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801A8160 001A50C0 D0 A1 01 90 */ stfs f5, 0x190(r1) /* 801A8164 001A50C4 FC 20 0A 10 */ fabs f1, f1 /* 801A8168 001A50C8 D0 81 01 94 */ stfs f4, 0x194(r1) /* 801A816C 001A50CC FC 20 08 18 */ frsp f1, f1 /* 801A8170 001A50D0 EC 22 08 28 */ fsubs f1, f2, f1 /* 801A8174 001A50D4 FC 20 0A 10 */ fabs f1, f1 /* 801A8178 001A50D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801A817C 001A50DC 40 80 00 1C */ bge lbl_801A8198 /* 801A8180 001A50E0 C0 41 03 FC */ lfs f2, 0x3fc(r1) /* 801A8184 001A50E4 C0 21 03 EC */ lfs f1, 0x3ec(r1) /* 801A8188 001A50E8 C0 01 03 DC */ lfs f0, 0x3dc(r1) /* 801A818C 001A50EC D0 21 01 9C */ stfs f1, 0x19c(r1) /* 801A8190 001A50F0 D0 01 01 98 */ stfs f0, 0x198(r1) /* 801A8194 001A50F4 D0 41 01 A0 */ stfs f2, 0x1a0(r1) lbl_801A8198: /* 801A8198 001A50F8 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A819C 001A50FC 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 801A81A0 001A5100 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801A81A4 001A5104 38 A1 01 8C */ addi r5, r1, 0x18c /* 801A81A8 001A5108 38 C1 01 98 */ addi r6, r1, 0x198 /* 801A81AC 001A510C 48 16 B9 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801A81B0 001A5110 C1 41 01 EC */ lfs f10, 0x1ec(r1) /* 801A81B4 001A5114 38 61 01 F8 */ addi r3, r1, 0x1f8 /* 801A81B8 001A5118 C1 21 01 DC */ lfs f9, 0x1dc(r1) /* 801A81BC 001A511C 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801A81C0 001A5120 C0 01 01 CC */ lfs f0, 0x1cc(r1) /* 801A81C4 001A5124 EC BD 02 B2 */ fmuls f5, f29, f10 /* 801A81C8 001A5128 C0 21 04 04 */ lfs f1, 0x404(r1) /* 801A81CC 001A512C EC DD 02 72 */ fmuls f6, f29, f9 /* 801A81D0 001A5130 C0 41 03 F4 */ lfs f2, 0x3f4(r1) /* 801A81D4 001A5134 EC 9D 00 32 */ fmuls f4, f29, f0 /* 801A81D8 001A5138 C0 61 03 E4 */ lfs f3, 0x3e4(r1) /* 801A81DC 001A513C ED 02 30 2A */ fadds f8, f2, f6 /* 801A81E0 001A5140 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801A81E4 001A5144 EC E1 28 2A */ fadds f7, f1, f5 /* 801A81E8 001A5148 EC 03 20 2A */ fadds f0, f3, f4 /* 801A81EC 001A514C D1 21 00 B8 */ stfs f9, 0xb8(r1) /* 801A81F0 001A5150 D1 41 00 BC */ stfs f10, 0xbc(r1) /* 801A81F4 001A5154 D0 81 00 C0 */ stfs f4, 0xc0(r1) /* 801A81F8 001A5158 D0 C1 00 C4 */ stfs f6, 0xc4(r1) /* 801A81FC 001A515C D0 A1 00 C8 */ stfs f5, 0xc8(r1) /* 801A8200 001A5160 D0 61 00 CC */ stfs f3, 0xcc(r1) /* 801A8204 001A5164 D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 801A8208 001A5168 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801A820C 001A516C D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 801A8210 001A5170 D1 01 00 DC */ stfs f8, 0xdc(r1) /* 801A8214 001A5174 D0 E1 00 E0 */ stfs f7, 0xe0(r1) /* 801A8218 001A5178 48 16 AF 29 */ bl Translate__12CTransform4fFRC9CVector3f /* 801A821C 001A517C 38 61 03 18 */ addi r3, r1, 0x318 /* 801A8220 001A5180 38 81 01 F8 */ addi r4, r1, 0x1f8 /* 801A8224 001A5184 48 16 A9 51 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A8228 001A5188 38 73 00 34 */ addi r3, r19, 0x34 /* 801A822C 001A518C 38 81 03 18 */ addi r4, r1, 0x318 /* 801A8230 001A5190 48 16 A9 11 */ bl __as__12CTransform4fFRC12CTransform4f /* 801A8234 001A5194 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A8238 001A5198 38 60 00 01 */ li r3, 1 /* 801A823C 001A519C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801A8240 001A51A0 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A8244 001A51A4 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A8248 001A51A8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801A824C 001A51AC 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A8250 001A51B0 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A8254 001A51B4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801A8258 001A51B8 98 13 00 E4 */ stb r0, 0xe4(r19) lbl_801A825C: /* 801A825C 001A51BC 7F C3 F3 78 */ mr r3, r30 /* 801A8260 001A51C0 7E 64 9B 78 */ mr r4, r19 /* 801A8264 001A51C4 4B EA 48 B1 */ bl AddObject__13CStateManagerFR7CEntity /* 801A8268 001A51C8 80 1F 00 04 */ lwz r0, 4(r31) /* 801A826C 001A51CC 3A B5 00 01 */ addi r21, r21, 1 /* 801A8270 001A51D0 A0 81 00 88 */ lhz r4, 0x88(r1) /* 801A8274 001A51D4 1C 00 00 44 */ mulli r0, r0, 0x44 /* 801A8278 001A51D8 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801A827C 001A51DC B0 81 00 50 */ sth r4, 0x50(r1) /* 801A8280 001A51E0 7C 63 02 14 */ add r3, r3, r0 /* 801A8284 001A51E4 B0 83 FF F8 */ sth r4, -8(r3) lbl_801A8288: /* 801A8288 001A51E8 7C 15 B0 40 */ cmplw r21, r22 /* 801A828C 001A51EC 41 80 FC C0 */ blt lbl_801A7F4C /* 801A8290 001A51F0 48 00 01 A8 */ b lbl_801A8438 lbl_801A8294: /* 801A8294 001A51F4 7F C4 F3 78 */ mr r4, r30 /* 801A8298 001A51F8 38 61 00 4C */ addi r3, r1, 0x4c /* 801A829C 001A51FC 4B EA 4E 41 */ bl AllocateUniqueId__13CStateManagerFv /* 801A82A0 001A5200 80 61 04 F0 */ lwz r3, 0x4f0(r1) /* 801A82A4 001A5204 A0 01 00 4C */ lhz r0, 0x4c(r1) /* 801A82A8 001A5208 2C 03 00 00 */ cmpwi r3, 0 /* 801A82AC 001A520C B0 01 00 84 */ sth r0, 0x84(r1) /* 801A82B0 001A5210 40 82 00 60 */ bne lbl_801A8310 /* 801A82B4 001A5214 3C 80 80 3D */ lis r4, lbl_803D1498@ha /* 801A82B8 001A5218 38 60 03 10 */ li r3, 0x310 /* 801A82BC 001A521C 38 84 14 98 */ addi r4, r4, lbl_803D1498@l /* 801A82C0 001A5220 38 A0 00 00 */ li r5, 0 /* 801A82C4 001A5224 48 16 D5 A9 */ bl __nw__FUlPCcPCc /* 801A82C8 001A5228 7C 60 1B 79 */ or. r0, r3, r3 /* 801A82CC 001A522C 41 82 00 3C */ beq lbl_801A8308 /* 801A82D0 001A5230 A0 DF 00 10 */ lhz r6, 0x10(r31) /* 801A82D4 001A5234 7F 87 E3 78 */ mr r7, r28 /* 801A82D8 001A5238 81 1B 00 00 */ lwz r8, 0(r27) /* 801A82DC 001A523C 38 81 00 44 */ addi r4, r1, 0x44 /* 801A82E0 001A5240 A0 01 00 84 */ lhz r0, 0x84(r1) /* 801A82E4 001A5244 38 A1 00 9C */ addi r5, r1, 0x9c /* 801A82E8 001A5248 B0 C1 00 48 */ sth r6, 0x48(r1) /* 801A82EC 001A524C 38 C1 00 48 */ addi r6, r1, 0x48 /* 801A82F0 001A5250 C0 21 05 14 */ lfs f1, 0x514(r1) /* 801A82F4 001A5254 91 01 00 9C */ stw r8, 0x9c(r1) /* 801A82F8 001A5258 C0 41 05 30 */ lfs f2, 0x530(r1) /* 801A82FC 001A525C B0 01 00 44 */ sth r0, 0x44(r1) /* 801A8300 001A5260 48 00 11 35 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff /* 801A8304 001A5264 7C 60 1B 78 */ mr r0, r3 lbl_801A8308: /* 801A8308 001A5268 7C 13 03 78 */ mr r19, r0 /* 801A830C 001A526C 48 00 00 C4 */ b lbl_801A83D0 lbl_801A8310: /* 801A8310 001A5270 2C 03 00 04 */ cmpwi r3, 4 /* 801A8314 001A5274 40 82 00 64 */ bne lbl_801A8378 /* 801A8318 001A5278 3C 80 80 3D */ lis r4, lbl_803D1498@ha /* 801A831C 001A527C 38 60 03 10 */ li r3, 0x310 /* 801A8320 001A5280 38 84 14 98 */ addi r4, r4, lbl_803D1498@l /* 801A8324 001A5284 38 A0 00 00 */ li r5, 0 /* 801A8328 001A5288 48 16 D5 45 */ bl __nw__FUlPCcPCc /* 801A832C 001A528C 7C 60 1B 79 */ or. r0, r3, r3 /* 801A8330 001A5290 41 82 00 40 */ beq lbl_801A8370 /* 801A8334 001A5294 A0 9F 00 10 */ lhz r4, 0x10(r31) /* 801A8338 001A5298 7E 27 8B 78 */ mr r7, r17 /* 801A833C 001A529C 80 DB 00 00 */ lwz r6, 0(r27) /* 801A8340 001A52A0 7D E8 7B 78 */ mr r8, r15 /* 801A8344 001A52A4 A0 01 00 84 */ lhz r0, 0x84(r1) /* 801A8348 001A52A8 7F 89 E3 78 */ mr r9, r28 /* 801A834C 001A52AC B0 81 00 40 */ sth r4, 0x40(r1) /* 801A8350 001A52B0 38 81 00 3C */ addi r4, r1, 0x3c /* 801A8354 001A52B4 C0 21 05 30 */ lfs f1, 0x530(r1) /* 801A8358 001A52B8 38 A1 00 98 */ addi r5, r1, 0x98 /* 801A835C 001A52BC 90 C1 00 98 */ stw r6, 0x98(r1) /* 801A8360 001A52C0 38 C1 00 40 */ addi r6, r1, 0x40 /* 801A8364 001A52C4 B0 01 00 3C */ sth r0, 0x3c(r1) /* 801A8368 001A52C8 48 00 1A 41 */ bl __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf /* 801A836C 001A52CC 7C 60 1B 78 */ mr r0, r3 lbl_801A8370: /* 801A8370 001A52D0 7C 13 03 78 */ mr r19, r0 /* 801A8374 001A52D4 48 00 00 5C */ b lbl_801A83D0 lbl_801A8378: /* 801A8378 001A52D8 3C 80 80 3D */ lis r4, lbl_803D1498@ha /* 801A837C 001A52DC 38 60 03 10 */ li r3, 0x310 /* 801A8380 001A52E0 38 84 14 98 */ addi r4, r4, lbl_803D1498@l /* 801A8384 001A52E4 38 A0 00 00 */ li r5, 0 /* 801A8388 001A52E8 48 16 D4 E5 */ bl __nw__FUlPCcPCc /* 801A838C 001A52EC 7C 60 1B 79 */ or. r0, r3, r3 /* 801A8390 001A52F0 41 82 00 3C */ beq lbl_801A83CC /* 801A8394 001A52F4 A0 BF 00 10 */ lhz r5, 0x10(r31) /* 801A8398 001A52F8 7E 27 8B 78 */ mr r7, r17 /* 801A839C 001A52FC 81 3B 00 00 */ lwz r9, 0(r27) /* 801A83A0 001A5300 7F 88 E3 78 */ mr r8, r28 /* 801A83A4 001A5304 A0 01 00 84 */ lhz r0, 0x84(r1) /* 801A83A8 001A5308 38 81 00 34 */ addi r4, r1, 0x34 /* 801A83AC 001A530C B0 A1 00 38 */ sth r5, 0x38(r1) /* 801A83B0 001A5310 38 A1 00 94 */ addi r5, r1, 0x94 /* 801A83B4 001A5314 C0 21 05 30 */ lfs f1, 0x530(r1) /* 801A83B8 001A5318 38 C1 00 38 */ addi r6, r1, 0x38 /* 801A83BC 001A531C 91 21 00 94 */ stw r9, 0x94(r1) /* 801A83C0 001A5320 B0 01 00 34 */ sth r0, 0x34(r1) /* 801A83C4 001A5324 48 00 15 11 */ bl __ct__15CCollisionActorF9TUniqueId9TUniqueIdRC9CVector3fRC9CVector3fbf /* 801A83C8 001A5328 7C 60 1B 78 */ mr r0, r3 lbl_801A83CC: /* 801A83CC 001A532C 7C 13 03 78 */ mr r19, r0 lbl_801A83D0: /* 801A83D0 001A5330 38 73 00 34 */ addi r3, r19, 0x34 /* 801A83D4 001A5334 38 81 03 D8 */ addi r4, r1, 0x3d8 /* 801A83D8 001A5338 48 16 A7 69 */ bl __as__12CTransform4fFRC12CTransform4f /* 801A83DC 001A533C 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A83E0 001A5340 38 A0 00 01 */ li r5, 1 /* 801A83E4 001A5344 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801A83E8 001A5348 7F C3 F3 78 */ mr r3, r30 /* 801A83EC 001A534C 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A83F0 001A5350 7E 64 9B 78 */ mr r4, r19 /* 801A83F4 001A5354 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A83F8 001A5358 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801A83FC 001A535C 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A8400 001A5360 88 13 00 E4 */ lbz r0, 0xe4(r19) /* 801A8404 001A5364 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801A8408 001A5368 98 13 00 E4 */ stb r0, 0xe4(r19) /* 801A840C 001A536C 4B EA 47 09 */ bl AddObject__13CStateManagerFR7CEntity /* 801A8410 001A5370 7F E3 FB 78 */ mr r3, r31 /* 801A8414 001A5374 7F A4 EB 78 */ mr r4, r29 /* 801A8418 001A5378 4B FA DE 19 */ bl sub_80156230 /* 801A841C 001A537C 80 1F 00 04 */ lwz r0, 4(r31) /* 801A8420 001A5380 A0 81 00 84 */ lhz r4, 0x84(r1) /* 801A8424 001A5384 1C 00 00 44 */ mulli r0, r0, 0x44 /* 801A8428 001A5388 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801A842C 001A538C B0 81 00 30 */ sth r4, 0x30(r1) /* 801A8430 001A5390 7C 63 02 14 */ add r3, r3, r0 /* 801A8434 001A5394 B0 83 FF F8 */ sth r4, -8(r3) lbl_801A8438: /* 801A8438 001A5398 28 19 00 00 */ cmplwi r25, 0 /* 801A843C 001A539C 41 82 00 0C */ beq lbl_801A8448 /* 801A8440 001A53A0 7F 23 CB 78 */ mr r3, r25 /* 801A8444 001A53A4 48 19 56 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801A8448: /* 801A8448 001A53A8 3B BD 00 44 */ addi r29, r29, 0x44 lbl_801A844C: /* 801A844C 001A53AC 80 14 00 04 */ lwz r0, 4(r20) /* 801A8450 001A53B0 80 74 00 0C */ lwz r3, 0xc(r20) /* 801A8454 001A53B4 1C 00 00 44 */ mulli r0, r0, 0x44 /* 801A8458 001A53B8 7C 03 02 14 */ add r0, r3, r0 /* 801A845C 001A53BC 7C 1D 00 40 */ cmplw r29, r0 /* 801A8460 001A53C0 40 82 F5 D0 */ bne lbl_801A7A30 lbl_801A8464: /* 801A8464 001A53C4 7F E3 FB 78 */ mr r3, r31 /* 801A8468 001A53C8 E3 E1 05 B8 */ psq_l f31, 1464(r1), 0, qr0 /* 801A846C 001A53CC CB E1 05 B0 */ lfd f31, 0x5b0(r1) /* 801A8470 001A53D0 E3 C1 05 A8 */ psq_l f30, 1448(r1), 0, qr0 /* 801A8474 001A53D4 CB C1 05 A0 */ lfd f30, 0x5a0(r1) /* 801A8478 001A53D8 E3 A1 05 98 */ psq_l f29, 1432(r1), 0, qr0 /* 801A847C 001A53DC CB A1 05 90 */ lfd f29, 0x590(r1) /* 801A8480 001A53E0 B9 E1 05 4C */ lmw r15, 0x54c(r1) /* 801A8484 001A53E4 80 01 05 C4 */ lwz r0, 0x5c4(r1) /* 801A8488 001A53E8 7C 08 03 A6 */ mtlr r0 /* 801A848C 001A53EC 38 21 05 C0 */ addi r1, r1, 0x5c0 /* 801A8490 001A53F0 4E 80 00 20 */ blr .global ScaleAllBounds__26CJointCollisionDescriptionFRC9CVector3f ScaleAllBounds__26CJointCollisionDescriptionFRC9CVector3f: /* 801A8494 001A53F4 C0 24 00 00 */ lfs f1, 0(r4) /* 801A8498 001A53F8 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801A849C 001A53FC C0 64 00 04 */ lfs f3, 4(r4) /* 801A84A0 001A5400 C0 43 00 10 */ lfs f2, 0x10(r3) /* 801A84A4 001A5404 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A84A8 001A5408 C0 84 00 08 */ lfs f4, 8(r4) /* 801A84AC 001A540C C0 23 00 14 */ lfs f1, 0x14(r3) /* 801A84B0 001A5410 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801A84B4 001A5414 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801A84B8 001A5418 EC 04 00 72 */ fmuls f0, f4, f1 /* 801A84BC 001A541C D0 43 00 10 */ stfs f2, 0x10(r3) /* 801A84C0 001A5420 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801A84C4 001A5424 C0 23 00 24 */ lfs f1, 0x24(r3) /* 801A84C8 001A5428 C0 04 00 00 */ lfs f0, 0(r4) /* 801A84CC 001A542C EC 01 00 32 */ fmuls f0, f1, f0 /* 801A84D0 001A5430 D0 03 00 24 */ stfs f0, 0x24(r3) /* 801A84D4 001A5434 C0 23 00 28 */ lfs f1, 0x28(r3) /* 801A84D8 001A5438 C0 04 00 00 */ lfs f0, 0(r4) /* 801A84DC 001A543C EC 01 00 32 */ fmuls f0, f1, f0 /* 801A84E0 001A5440 D0 03 00 28 */ stfs f0, 0x28(r3) /* 801A84E4 001A5444 C0 24 00 00 */ lfs f1, 0(r4) /* 801A84E8 001A5448 C0 03 00 18 */ lfs f0, 0x18(r3) /* 801A84EC 001A544C C0 64 00 04 */ lfs f3, 4(r4) /* 801A84F0 001A5450 C0 43 00 1C */ lfs f2, 0x1c(r3) /* 801A84F4 001A5454 EC 01 00 32 */ fmuls f0, f1, f0 /* 801A84F8 001A5458 C0 84 00 08 */ lfs f4, 8(r4) /* 801A84FC 001A545C C0 23 00 20 */ lfs f1, 0x20(r3) /* 801A8500 001A5460 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801A8504 001A5464 D0 03 00 18 */ stfs f0, 0x18(r3) /* 801A8508 001A5468 EC 04 00 72 */ fmuls f0, f4, f1 /* 801A850C 001A546C D0 43 00 1C */ stfs f2, 0x1c(r3) /* 801A8510 001A5470 D0 03 00 20 */ stfs f0, 0x20(r3) /* 801A8514 001A5474 4E 80 00 20 */ blr .global "OBBCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRC9CVector3fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" "OBBCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRC9CVector3fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": /* 801A8518 001A5478 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A851C 001A547C 7C 08 02 A6 */ mflr r0 /* 801A8520 001A5480 90 01 00 34 */ stw r0, 0x34(r1) /* 801A8524 001A5484 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801A8528 001A5488 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801A852C 001A548C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A8530 001A5490 89 04 00 00 */ lbz r8, 0(r4) /* 801A8534 001A5494 39 20 00 FF */ li r9, 0xff /* 801A8538 001A5498 38 00 00 04 */ li r0, 4 /* 801A853C 001A549C 7C 7F 1B 78 */ mr r31, r3 /* 801A8540 001A54A0 90 03 00 00 */ stw r0, 0(r3) /* 801A8544 001A54A4 38 00 00 00 */ li r0, 0 /* 801A8548 001A54A8 FF E0 08 90 */ fmr f31, f1 /* 801A854C 001A54AC C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2) /* 801A8550 001A54B0 90 03 00 04 */ stw r0, 4(r3) /* 801A8554 001A54B4 7C E4 3B 78 */ mr r4, r7 /* 801A8558 001A54B8 38 7F 00 2C */ addi r3, r31, 0x2c /* 801A855C 001A54BC 99 1F 00 08 */ stb r8, 8(r31) /* 801A8560 001A54C0 99 3F 00 09 */ stb r9, 9(r31) /* 801A8564 001A54C4 C0 25 00 00 */ lfs f1, 0(r5) /* 801A8568 001A54C8 99 21 00 08 */ stb r9, 8(r1) /* 801A856C 001A54CC D0 3F 00 0C */ stfs f1, 0xc(r31) /* 801A8570 001A54D0 C0 25 00 04 */ lfs f1, 4(r5) /* 801A8574 001A54D4 99 21 00 0C */ stb r9, 0xc(r1) /* 801A8578 001A54D8 D0 3F 00 10 */ stfs f1, 0x10(r31) /* 801A857C 001A54DC C0 25 00 08 */ lfs f1, 8(r5) /* 801A8580 001A54E0 99 01 00 10 */ stb r8, 0x10(r1) /* 801A8584 001A54E4 D0 3F 00 14 */ stfs f1, 0x14(r31) /* 801A8588 001A54E8 C0 26 00 00 */ lfs f1, 0(r6) /* 801A858C 001A54EC D0 3F 00 18 */ stfs f1, 0x18(r31) /* 801A8590 001A54F0 C0 26 00 04 */ lfs f1, 4(r6) /* 801A8594 001A54F4 D0 3F 00 1C */ stfs f1, 0x1c(r31) /* 801A8598 001A54F8 C0 26 00 08 */ lfs f1, 8(r6) /* 801A859C 001A54FC D0 3F 00 20 */ stfs f1, 0x20(r31) /* 801A85A0 001A5500 D0 1F 00 24 */ stfs f0, 0x24(r31) /* 801A85A4 001A5504 D0 1F 00 28 */ stfs f0, 0x28(r31) /* 801A85A8 001A5508 48 19 5B B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A85AC 001A550C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A85B0 001A5510 B0 1F 00 3C */ sth r0, 0x3c(r31) /* 801A85B4 001A5514 D3 FF 00 40 */ stfs f31, 0x40(r31) /* 801A85B8 001A5518 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801A85BC 001A551C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A85C0 001A5520 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801A85C4 001A5524 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A85C8 001A5528 7C 08 03 A6 */ mtlr r0 /* 801A85CC 001A552C 38 21 00 30 */ addi r1, r1, 0x30 /* 801A85D0 001A5530 4E 80 00 20 */ blr .global "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": /* 801A85D4 001A5534 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A85D8 001A5538 7C 08 02 A6 */ mflr r0 /* 801A85DC 001A553C 90 01 00 34 */ stw r0, 0x34(r1) /* 801A85E0 001A5540 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801A85E4 001A5544 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801A85E8 001A5548 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A85EC 001A554C 89 24 00 00 */ lbz r9, 0(r4) /* 801A85F0 001A5550 7C 7F 1B 78 */ mr r31, r3 /* 801A85F4 001A5554 89 45 00 00 */ lbz r10, 0(r5) /* 801A85F8 001A5558 38 00 00 03 */ li r0, 3 /* 801A85FC 001A555C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A8600 001A5560 FF E0 08 90 */ fmr f31, f1 /* 801A8604 001A5564 90 1F 00 00 */ stw r0, 0(r31) /* 801A8608 001A5568 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A860C 001A556C C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2) /* 801A8610 001A5570 7D 04 43 78 */ mr r4, r8 /* 801A8614 001A5574 90 FF 00 04 */ stw r7, 4(r31) /* 801A8618 001A5578 38 7F 00 2C */ addi r3, r31, 0x2c /* 801A861C 001A557C 99 3F 00 08 */ stb r9, 8(r31) /* 801A8620 001A5580 99 5F 00 09 */ stb r10, 9(r31) /* 801A8624 001A5584 C0 26 00 00 */ lfs f1, 0(r6) /* 801A8628 001A5588 99 41 00 08 */ stb r10, 8(r1) /* 801A862C 001A558C D0 3F 00 0C */ stfs f1, 0xc(r31) /* 801A8630 001A5590 C0 26 00 04 */ lfs f1, 4(r6) /* 801A8634 001A5594 99 21 00 0C */ stb r9, 0xc(r1) /* 801A8638 001A5598 D0 3F 00 10 */ stfs f1, 0x10(r31) /* 801A863C 001A559C C0 26 00 08 */ lfs f1, 8(r6) /* 801A8640 001A55A0 D0 3F 00 14 */ stfs f1, 0x14(r31) /* 801A8644 001A55A4 C0 25 00 00 */ lfs f1, 0(r5) /* 801A8648 001A55A8 D0 3F 00 18 */ stfs f1, 0x18(r31) /* 801A864C 001A55AC C0 25 00 04 */ lfs f1, 4(r5) /* 801A8650 001A55B0 D0 3F 00 1C */ stfs f1, 0x1c(r31) /* 801A8654 001A55B4 C0 25 00 08 */ lfs f1, 8(r5) /* 801A8658 001A55B8 D0 3F 00 20 */ stfs f1, 0x20(r31) /* 801A865C 001A55BC D0 1F 00 24 */ stfs f0, 0x24(r31) /* 801A8660 001A55C0 D0 1F 00 28 */ stfs f0, 0x28(r31) /* 801A8664 001A55C4 48 19 5A FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A8668 001A55C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A866C 001A55CC B0 1F 00 3C */ sth r0, 0x3c(r31) /* 801A8670 001A55D0 D3 FF 00 40 */ stfs f31, 0x40(r31) /* 801A8674 001A55D4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801A8678 001A55D8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A867C 001A55DC CB E1 00 20 */ lfd f31, 0x20(r1) /* 801A8680 001A55E0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A8684 001A55E4 7C 08 03 A6 */ mtlr r0 /* 801A8688 001A55E8 38 21 00 30 */ addi r1, r1, 0x30 /* 801A868C 001A55EC 4E 80 00 20 */ blr .global "AABoxCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" "AABoxCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": /* 801A8690 001A55F0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A8694 001A55F4 7C 08 02 A6 */ mflr r0 /* 801A8698 001A55F8 90 01 00 34 */ stw r0, 0x34(r1) /* 801A869C 001A55FC DB E1 00 20 */ stfd f31, 0x20(r1) /* 801A86A0 001A5600 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801A86A4 001A5604 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A86A8 001A5608 89 04 00 00 */ lbz r8, 0(r4) /* 801A86AC 001A560C 39 20 00 FF */ li r9, 0xff /* 801A86B0 001A5610 38 00 00 02 */ li r0, 2 /* 801A86B4 001A5614 7C 7F 1B 78 */ mr r31, r3 /* 801A86B8 001A5618 90 03 00 00 */ stw r0, 0(r3) /* 801A86BC 001A561C 38 00 00 00 */ li r0, 0 /* 801A86C0 001A5620 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A86C4 001A5624 FF E0 08 90 */ fmr f31, f1 /* 801A86C8 001A5628 90 1F 00 04 */ stw r0, 4(r31) /* 801A86CC 001A562C 38 E3 66 A0 */ addi r7, r3, skZero3f@l /* 801A86D0 001A5630 C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2) /* 801A86D4 001A5634 7C C4 33 78 */ mr r4, r6 /* 801A86D8 001A5638 99 1F 00 08 */ stb r8, 8(r31) /* 801A86DC 001A563C 38 7F 00 2C */ addi r3, r31, 0x2c /* 801A86E0 001A5640 99 3F 00 09 */ stb r9, 9(r31) /* 801A86E4 001A5644 C0 25 00 00 */ lfs f1, 0(r5) /* 801A86E8 001A5648 99 21 00 08 */ stb r9, 8(r1) /* 801A86EC 001A564C D0 3F 00 0C */ stfs f1, 0xc(r31) /* 801A86F0 001A5650 C0 25 00 04 */ lfs f1, 4(r5) /* 801A86F4 001A5654 99 21 00 0C */ stb r9, 0xc(r1) /* 801A86F8 001A5658 D0 3F 00 10 */ stfs f1, 0x10(r31) /* 801A86FC 001A565C C0 25 00 08 */ lfs f1, 8(r5) /* 801A8700 001A5660 99 01 00 10 */ stb r8, 0x10(r1) /* 801A8704 001A5664 D0 3F 00 14 */ stfs f1, 0x14(r31) /* 801A8708 001A5668 C0 27 00 00 */ lfs f1, 0(r7) /* 801A870C 001A566C D0 3F 00 18 */ stfs f1, 0x18(r31) /* 801A8710 001A5670 C0 27 00 04 */ lfs f1, 4(r7) /* 801A8714 001A5674 D0 3F 00 1C */ stfs f1, 0x1c(r31) /* 801A8718 001A5678 C0 27 00 08 */ lfs f1, 8(r7) /* 801A871C 001A567C D0 3F 00 20 */ stfs f1, 0x20(r31) /* 801A8720 001A5680 D0 1F 00 24 */ stfs f0, 0x24(r31) /* 801A8724 001A5684 D0 1F 00 28 */ stfs f0, 0x28(r31) /* 801A8728 001A5688 48 19 5A 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A872C 001A568C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A8730 001A5690 B0 1F 00 3C */ sth r0, 0x3c(r31) /* 801A8734 001A5694 D3 FF 00 40 */ stfs f31, 0x40(r31) /* 801A8738 001A5698 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801A873C 001A569C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A8740 001A56A0 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801A8744 001A56A4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A8748 001A56A8 7C 08 03 A6 */ mtlr r0 /* 801A874C 001A56AC 38 21 00 30 */ addi r1, r1, 0x30 /* 801A8750 001A56B0 4E 80 00 20 */ blr .global "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": /* 801A8754 001A56B4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A8758 001A56B8 7C 08 02 A6 */ mflr r0 /* 801A875C 001A56BC 90 01 00 34 */ stw r0, 0x34(r1) /* 801A8760 001A56C0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801A8764 001A56C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801A8768 001A56C8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A876C 001A56CC 89 04 00 00 */ lbz r8, 0(r4) /* 801A8770 001A56D0 7C 7F 1B 78 */ mr r31, r3 /* 801A8774 001A56D4 89 25 00 00 */ lbz r9, 0(r5) /* 801A8778 001A56D8 38 00 00 01 */ li r0, 1 /* 801A877C 001A56DC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A8780 001A56E0 FF E0 18 90 */ fmr f31, f3 /* 801A8784 001A56E4 90 1F 00 00 */ stw r0, 0(r31) /* 801A8788 001A56E8 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A878C 001A56EC 7C E4 3B 78 */ mr r4, r7 /* 801A8790 001A56F0 38 7F 00 2C */ addi r3, r31, 0x2c /* 801A8794 001A56F4 90 DF 00 04 */ stw r6, 4(r31) /* 801A8798 001A56F8 99 1F 00 08 */ stb r8, 8(r31) /* 801A879C 001A56FC 99 3F 00 09 */ stb r9, 9(r31) /* 801A87A0 001A5700 C0 05 00 00 */ lfs f0, 0(r5) /* 801A87A4 001A5704 99 21 00 08 */ stb r9, 8(r1) /* 801A87A8 001A5708 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801A87AC 001A570C C0 05 00 04 */ lfs f0, 4(r5) /* 801A87B0 001A5710 99 01 00 0C */ stb r8, 0xc(r1) /* 801A87B4 001A5714 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801A87B8 001A5718 C0 05 00 08 */ lfs f0, 8(r5) /* 801A87BC 001A571C D0 1F 00 14 */ stfs f0, 0x14(r31) /* 801A87C0 001A5720 C0 05 00 00 */ lfs f0, 0(r5) /* 801A87C4 001A5724 D0 1F 00 18 */ stfs f0, 0x18(r31) /* 801A87C8 001A5728 C0 05 00 04 */ lfs f0, 4(r5) /* 801A87CC 001A572C D0 1F 00 1C */ stfs f0, 0x1c(r31) /* 801A87D0 001A5730 C0 05 00 08 */ lfs f0, 8(r5) /* 801A87D4 001A5734 D0 1F 00 20 */ stfs f0, 0x20(r31) /* 801A87D8 001A5738 D0 3F 00 24 */ stfs f1, 0x24(r31) /* 801A87DC 001A573C D0 5F 00 28 */ stfs f2, 0x28(r31) /* 801A87E0 001A5740 48 19 59 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A87E4 001A5744 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A87E8 001A5748 B0 1F 00 3C */ sth r0, 0x3c(r31) /* 801A87EC 001A574C D3 FF 00 40 */ stfs f31, 0x40(r31) /* 801A87F0 001A5750 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801A87F4 001A5754 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A87F8 001A5758 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801A87FC 001A575C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A8800 001A5760 7C 08 03 A6 */ mtlr r0 /* 801A8804 001A5764 38 21 00 30 */ addi r1, r1, 0x30 /* 801A8808 001A5768 4E 80 00 20 */ blr .global "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": /* 801A880C 001A576C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A8810 001A5770 7C 08 02 A6 */ mflr r0 /* 801A8814 001A5774 90 01 00 34 */ stw r0, 0x34(r1) /* 801A8818 001A5778 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801A881C 001A577C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801A8820 001A5780 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801A8824 001A5784 88 E4 00 00 */ lbz r7, 0(r4) /* 801A8828 001A5788 39 00 00 FF */ li r8, 0xff /* 801A882C 001A578C 38 00 00 00 */ li r0, 0 /* 801A8830 001A5790 7C 7F 1B 78 */ mr r31, r3 /* 801A8834 001A5794 90 03 00 00 */ stw r0, 0(r3) /* 801A8838 001A5798 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A883C 001A579C 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801A8840 001A57A0 FF E0 10 90 */ fmr f31, f2 /* 801A8844 001A57A4 90 1F 00 04 */ stw r0, 4(r31) /* 801A8848 001A57A8 7C A4 2B 78 */ mr r4, r5 /* 801A884C 001A57AC C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2) /* 801A8850 001A57B0 38 7F 00 2C */ addi r3, r31, 0x2c /* 801A8854 001A57B4 98 FF 00 08 */ stb r7, 8(r31) /* 801A8858 001A57B8 99 1F 00 09 */ stb r8, 9(r31) /* 801A885C 001A57BC C0 46 00 00 */ lfs f2, 0(r6) /* 801A8860 001A57C0 99 01 00 08 */ stb r8, 8(r1) /* 801A8864 001A57C4 D0 5F 00 0C */ stfs f2, 0xc(r31) /* 801A8868 001A57C8 C0 46 00 04 */ lfs f2, 4(r6) /* 801A886C 001A57CC 99 01 00 0C */ stb r8, 0xc(r1) /* 801A8870 001A57D0 D0 5F 00 10 */ stfs f2, 0x10(r31) /* 801A8874 001A57D4 C0 46 00 08 */ lfs f2, 8(r6) /* 801A8878 001A57D8 98 E1 00 10 */ stb r7, 0x10(r1) /* 801A887C 001A57DC D0 5F 00 14 */ stfs f2, 0x14(r31) /* 801A8880 001A57E0 C0 46 00 00 */ lfs f2, 0(r6) /* 801A8884 001A57E4 D0 5F 00 18 */ stfs f2, 0x18(r31) /* 801A8888 001A57E8 C0 46 00 04 */ lfs f2, 4(r6) /* 801A888C 001A57EC D0 5F 00 1C */ stfs f2, 0x1c(r31) /* 801A8890 001A57F0 C0 46 00 08 */ lfs f2, 8(r6) /* 801A8894 001A57F4 D0 5F 00 20 */ stfs f2, 0x20(r31) /* 801A8898 001A57F8 D0 3F 00 24 */ stfs f1, 0x24(r31) /* 801A889C 001A57FC D0 1F 00 28 */ stfs f0, 0x28(r31) /* 801A88A0 001A5800 48 19 58 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801A88A4 001A5804 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801A88A8 001A5808 B0 1F 00 3C */ sth r0, 0x3c(r31) /* 801A88AC 001A580C D3 FF 00 40 */ stfs f31, 0x40(r31) /* 801A88B0 001A5810 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801A88B4 001A5814 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A88B8 001A5818 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801A88BC 001A581C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801A88C0 001A5820 7C 08 03 A6 */ mtlr r0 /* 801A88C4 001A5824 38 21 00 30 */ addi r1, r1, 0x30 /* 801A88C8 001A5828 4E 80 00 20 */ blr .global __dt__15CCollisionActorFv __dt__15CCollisionActorFv: /* 801A88CC 001A582C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A88D0 001A5830 7C 08 02 A6 */ mflr r0 /* 801A88D4 001A5834 90 01 00 14 */ stw r0, 0x14(r1) /* 801A88D8 001A5838 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A88DC 001A583C 7C 9F 23 78 */ mr r31, r4 /* 801A88E0 001A5840 93 C1 00 08 */ stw r30, 8(r1) /* 801A88E4 001A5844 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A88E8 001A5848 41 82 00 B0 */ beq lbl_801A8998 /* 801A88EC 001A584C 3C 60 80 3E */ lis r3, lbl_803E4B18@ha /* 801A88F0 001A5850 34 1E 02 84 */ addic. r0, r30, 0x284 /* 801A88F4 001A5854 38 03 4B 18 */ addi r0, r3, lbl_803E4B18@l /* 801A88F8 001A5858 90 1E 00 00 */ stw r0, 0(r30) /* 801A88FC 001A585C 41 82 00 24 */ beq lbl_801A8920 /* 801A8900 001A5860 80 7E 02 84 */ lwz r3, 0x284(r30) /* 801A8904 001A5864 28 03 00 00 */ cmplwi r3, 0 /* 801A8908 001A5868 41 82 00 18 */ beq lbl_801A8920 /* 801A890C 001A586C 81 83 00 00 */ lwz r12, 0(r3) /* 801A8910 001A5870 38 80 00 01 */ li r4, 1 /* 801A8914 001A5874 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801A8918 001A5878 7D 89 03 A6 */ mtctr r12 /* 801A891C 001A587C 4E 80 04 21 */ bctrl lbl_801A8920: /* 801A8920 001A5880 34 1E 02 80 */ addic. r0, r30, 0x280 /* 801A8924 001A5884 41 82 00 24 */ beq lbl_801A8948 /* 801A8928 001A5888 80 7E 02 80 */ lwz r3, 0x280(r30) /* 801A892C 001A588C 28 03 00 00 */ cmplwi r3, 0 /* 801A8930 001A5890 41 82 00 18 */ beq lbl_801A8948 /* 801A8934 001A5894 81 83 00 00 */ lwz r12, 0(r3) /* 801A8938 001A5898 38 80 00 01 */ li r4, 1 /* 801A893C 001A589C 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801A8940 001A58A0 7D 89 03 A6 */ mtctr r12 /* 801A8944 001A58A4 4E 80 04 21 */ bctrl lbl_801A8948: /* 801A8948 001A58A8 34 1E 02 7C */ addic. r0, r30, 0x27c /* 801A894C 001A58AC 41 82 00 24 */ beq lbl_801A8970 /* 801A8950 001A58B0 80 7E 02 7C */ lwz r3, 0x27c(r30) /* 801A8954 001A58B4 28 03 00 00 */ cmplwi r3, 0 /* 801A8958 001A58B8 41 82 00 18 */ beq lbl_801A8970 /* 801A895C 001A58BC 81 83 00 00 */ lwz r12, 0(r3) /* 801A8960 001A58C0 38 80 00 01 */ li r4, 1 /* 801A8964 001A58C4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801A8968 001A58C8 7D 89 03 A6 */ mtctr r12 /* 801A896C 001A58CC 4E 80 04 21 */ bctrl lbl_801A8970: /* 801A8970 001A58D0 38 7E 02 78 */ addi r3, r30, 0x278 /* 801A8974 001A58D4 38 80 FF FF */ li r4, -1 /* 801A8978 001A58D8 48 00 00 3D */ bl sub_801a89b4 /* 801A897C 001A58DC 7F C3 F3 78 */ mr r3, r30 /* 801A8980 001A58E0 38 80 00 00 */ li r4, 0 /* 801A8984 001A58E4 4B F7 3A 91 */ bl __dt__13CPhysicsActorFv /* 801A8988 001A58E8 7F E0 07 35 */ extsh. r0, r31 /* 801A898C 001A58EC 40 81 00 0C */ ble lbl_801A8998 /* 801A8990 001A58F0 7F C3 F3 78 */ mr r3, r30 /* 801A8994 001A58F4 48 16 CF 9D */ bl Free__7CMemoryFPCv lbl_801A8998: /* 801A8998 001A58F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A899C 001A58FC 7F C3 F3 78 */ mr r3, r30 /* 801A89A0 001A5900 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A89A4 001A5904 83 C1 00 08 */ lwz r30, 8(r1) /* 801A89A8 001A5908 7C 08 03 A6 */ mtlr r0 /* 801A89AC 001A590C 38 21 00 10 */ addi r1, r1, 0x10 /* 801A89B0 001A5910 4E 80 00 20 */ blr .global sub_801a89b4 sub_801a89b4: /* 801A89B4 001A5914 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A89B8 001A5918 7C 08 02 A6 */ mflr r0 /* 801A89BC 001A591C 90 01 00 14 */ stw r0, 0x14(r1) /* 801A89C0 001A5920 93 E1 00 0C */ stw r31, 0xc(r1) /* 801A89C4 001A5924 7C 9F 23 78 */ mr r31, r4 /* 801A89C8 001A5928 93 C1 00 08 */ stw r30, 8(r1) /* 801A89CC 001A592C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A89D0 001A5930 41 82 00 20 */ beq lbl_801A89F0 /* 801A89D4 001A5934 80 7E 00 00 */ lwz r3, 0(r30) /* 801A89D8 001A5938 38 80 00 01 */ li r4, 1 /* 801A89DC 001A593C 48 00 00 31 */ bl sub_801a8a0c /* 801A89E0 001A5940 7F E0 07 35 */ extsh. r0, r31 /* 801A89E4 001A5944 40 81 00 0C */ ble lbl_801A89F0 /* 801A89E8 001A5948 7F C3 F3 78 */ mr r3, r30 /* 801A89EC 001A594C 48 16 CF 45 */ bl Free__7CMemoryFPCv lbl_801A89F0: /* 801A89F0 001A5950 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A89F4 001A5954 7F C3 F3 78 */ mr r3, r30 /* 801A89F8 001A5958 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801A89FC 001A595C 83 C1 00 08 */ lwz r30, 8(r1) /* 801A8A00 001A5960 7C 08 03 A6 */ mtlr r0 /* 801A8A04 001A5964 38 21 00 10 */ addi r1, r1, 0x10 /* 801A8A08 001A5968 4E 80 00 20 */ blr .global sub_801a8a0c sub_801a8a0c: /* 801A8A0C 001A596C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801A8A10 001A5970 7C 08 02 A6 */ mflr r0 /* 801A8A14 001A5974 90 01 00 44 */ stw r0, 0x44(r1) /* 801A8A18 001A5978 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801A8A1C 001A597C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801A8A20 001A5980 93 A1 00 34 */ stw r29, 0x34(r1) /* 801A8A24 001A5984 7C 9D 23 78 */ mr r29, r4 /* 801A8A28 001A5988 93 81 00 30 */ stw r28, 0x30(r1) /* 801A8A2C 001A598C 7C 7C 1B 79 */ or. r28, r3, r3 /* 801A8A30 001A5990 41 82 00 C4 */ beq lbl_801A8AF4 /* 801A8A34 001A5994 34 1C 00 10 */ addic. r0, r28, 0x10 /* 801A8A38 001A5998 41 82 00 44 */ beq lbl_801A8A7C /* 801A8A3C 001A599C 80 1C 00 14 */ lwz r0, 0x14(r28) /* 801A8A40 001A59A0 80 7C 00 1C */ lwz r3, 0x1c(r28) /* 801A8A44 001A59A4 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801A8A48 001A59A8 90 61 00 1C */ stw r3, 0x1c(r1) /* 801A8A4C 001A59AC 7C 64 1B 78 */ mr r4, r3 /* 801A8A50 001A59B0 7C 03 02 14 */ add r0, r3, r0 /* 801A8A54 001A59B4 90 61 00 18 */ stw r3, 0x18(r1) /* 801A8A58 001A59B8 90 01 00 24 */ stw r0, 0x24(r1) /* 801A8A5C 001A59BC 90 01 00 20 */ stw r0, 0x20(r1) /* 801A8A60 001A59C0 48 00 00 08 */ b lbl_801A8A68 lbl_801A8A64: /* 801A8A64 001A59C4 38 84 00 18 */ addi r4, r4, 0x18 lbl_801A8A68: /* 801A8A68 001A59C8 7C 04 00 40 */ cmplw r4, r0 /* 801A8A6C 001A59CC 40 82 FF F8 */ bne lbl_801A8A64 /* 801A8A70 001A59D0 28 03 00 00 */ cmplwi r3, 0 /* 801A8A74 001A59D4 41 82 00 08 */ beq lbl_801A8A7C /* 801A8A78 001A59D8 48 16 CE B9 */ bl Free__7CMemoryFPCv lbl_801A8A7C: /* 801A8A7C 001A59DC 28 1C 00 00 */ cmplwi r28, 0 /* 801A8A80 001A59E0 41 82 00 64 */ beq lbl_801A8AE4 /* 801A8A84 001A59E4 80 1C 00 04 */ lwz r0, 4(r28) /* 801A8A88 001A59E8 83 DC 00 0C */ lwz r30, 0xc(r28) /* 801A8A8C 001A59EC 54 00 18 38 */ slwi r0, r0, 3 /* 801A8A90 001A59F0 7F FE 02 14 */ add r31, r30, r0 /* 801A8A94 001A59F4 93 C1 00 0C */ stw r30, 0xc(r1) /* 801A8A98 001A59F8 93 E1 00 14 */ stw r31, 0x14(r1) /* 801A8A9C 001A59FC 93 E1 00 10 */ stw r31, 0x10(r1) /* 801A8AA0 001A5A00 93 C1 00 08 */ stw r30, 8(r1) /* 801A8AA4 001A5A04 48 00 00 28 */ b lbl_801A8ACC lbl_801A8AA8: /* 801A8AA8 001A5A08 28 1E 00 00 */ cmplwi r30, 0 /* 801A8AAC 001A5A0C 41 82 00 1C */ beq lbl_801A8AC8 /* 801A8AB0 001A5A10 88 1E 00 00 */ lbz r0, 0(r30) /* 801A8AB4 001A5A14 28 00 00 00 */ cmplwi r0, 0 /* 801A8AB8 001A5A18 41 82 00 10 */ beq lbl_801A8AC8 /* 801A8ABC 001A5A1C 80 7E 00 04 */ lwz r3, 4(r30) /* 801A8AC0 001A5A20 38 80 00 01 */ li r4, 1 /* 801A8AC4 001A5A24 48 10 02 4D */ bl __dt__8COBBTreeFv lbl_801A8AC8: /* 801A8AC8 001A5A28 3B DE 00 08 */ addi r30, r30, 8 lbl_801A8ACC: /* 801A8ACC 001A5A2C 7C 1E F8 40 */ cmplw r30, r31 /* 801A8AD0 001A5A30 40 82 FF D8 */ bne lbl_801A8AA8 /* 801A8AD4 001A5A34 80 7C 00 0C */ lwz r3, 0xc(r28) /* 801A8AD8 001A5A38 28 03 00 00 */ cmplwi r3, 0 /* 801A8ADC 001A5A3C 41 82 00 08 */ beq lbl_801A8AE4 /* 801A8AE0 001A5A40 48 16 CE 51 */ bl Free__7CMemoryFPCv lbl_801A8AE4: /* 801A8AE4 001A5A44 7F A0 07 35 */ extsh. r0, r29 /* 801A8AE8 001A5A48 40 81 00 0C */ ble lbl_801A8AF4 /* 801A8AEC 001A5A4C 7F 83 E3 78 */ mr r3, r28 /* 801A8AF0 001A5A50 48 16 CE 41 */ bl Free__7CMemoryFPCv lbl_801A8AF4: /* 801A8AF4 001A5A54 80 01 00 44 */ lwz r0, 0x44(r1) /* 801A8AF8 001A5A58 7F 83 E3 78 */ mr r3, r28 /* 801A8AFC 001A5A5C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801A8B00 001A5A60 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801A8B04 001A5A64 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801A8B08 001A5A68 83 81 00 30 */ lwz r28, 0x30(r1) /* 801A8B0C 001A5A6C 7C 08 03 A6 */ mtlr r0 /* 801A8B10 001A5A70 38 21 00 40 */ addi r1, r1, 0x40 /* 801A8B14 001A5A74 4E 80 00 20 */ blr .global GetCollisionResponseType__15CCollisionActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei GetCollisionResponseType__15CCollisionActorCFRC9CVector3fRC9CVector3fRC11CWeaponModei: /* 801A8B18 001A5A78 80 63 03 00 */ lwz r3, 0x300(r3) /* 801A8B1C 001A5A7C 4E 80 00 20 */ blr .global sub_801a8b20 sub_801a8b20: /* 801A8B20 001A5A80 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A8B24 001A5A84 80 03 02 58 */ lwz r0, 0x258(r3) /* 801A8B28 001A5A88 2C 00 00 02 */ cmpwi r0, 2 /* 801A8B2C 001A5A8C 40 82 00 48 */ bne lbl_801A8B74 /* 801A8B30 001A5A90 D0 23 02 88 */ stfs f1, 0x288(r3) /* 801A8B34 001A5A94 FC 00 08 18 */ frsp f0, f1 /* 801A8B38 001A5A98 80 83 02 84 */ lwz r4, 0x284(r3) /* 801A8B3C 001A5A9C D0 21 00 14 */ stfs f1, 0x14(r1) /* 801A8B40 001A5AA0 C0 24 00 10 */ lfs f1, 0x10(r4) /* 801A8B44 001A5AA4 C0 44 00 14 */ lfs f2, 0x14(r4) /* 801A8B48 001A5AA8 D0 21 00 08 */ stfs f1, 8(r1) /* 801A8B4C 001A5AAC C0 24 00 18 */ lfs f1, 0x18(r4) /* 801A8B50 001A5AB0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801A8B54 001A5AB4 80 01 00 08 */ lwz r0, 8(r1) /* 801A8B58 001A5AB8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801A8B5C 001A5ABC 80 61 00 0C */ lwz r3, 0xc(r1) /* 801A8B60 001A5AC0 90 04 00 10 */ stw r0, 0x10(r4) /* 801A8B64 001A5AC4 80 01 00 10 */ lwz r0, 0x10(r1) /* 801A8B68 001A5AC8 90 64 00 14 */ stw r3, 0x14(r4) /* 801A8B6C 001A5ACC 90 04 00 18 */ stw r0, 0x18(r4) /* 801A8B70 001A5AD0 D0 04 00 1C */ stfs f0, 0x1c(r4) lbl_801A8B74: /* 801A8B74 001A5AD4 38 21 00 20 */ addi r1, r1, 0x20 /* 801A8B78 001A5AD8 4E 80 00 20 */ blr .global GetSphereRadius__15CCollisionActorCFv GetSphereRadius__15CCollisionActorCFv: /* 801A8B7C 001A5ADC C0 23 02 88 */ lfs f1, 0x288(r3) /* 801A8B80 001A5AE0 4E 80 00 20 */ blr .global GetBoxSize__15CCollisionActorCFv GetBoxSize__15CCollisionActorCFv: /* 801A8B84 001A5AE4 38 63 02 60 */ addi r3, r3, 0x260 /* 801A8B88 001A5AE8 4E 80 00 20 */ blr .global GetLastTouchedObject__15CCollisionActorCFv GetLastTouchedObject__15CCollisionActorCFv: /* 801A8B8C 001A5AEC A0 04 02 FC */ lhz r0, 0x2fc(r4) /* 801A8B90 001A5AF0 B0 03 00 00 */ sth r0, 0(r3) /* 801A8B94 001A5AF4 4E 80 00 20 */ blr .global SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability: /* 801A8B98 001A5AF8 80 A4 00 00 */ lwz r5, 0(r4) /* 801A8B9C 001A5AFC 80 04 00 04 */ lwz r0, 4(r4) /* 801A8BA0 001A5B00 90 A3 02 94 */ stw r5, 0x294(r3) /* 801A8BA4 001A5B04 90 03 02 98 */ stw r0, 0x298(r3) /* 801A8BA8 001A5B08 80 A4 00 08 */ lwz r5, 8(r4) /* 801A8BAC 001A5B0C 80 04 00 0C */ lwz r0, 0xc(r4) /* 801A8BB0 001A5B10 90 A3 02 9C */ stw r5, 0x29c(r3) /* 801A8BB4 001A5B14 90 03 02 A0 */ stw r0, 0x2a0(r3) /* 801A8BB8 001A5B18 80 A4 00 10 */ lwz r5, 0x10(r4) /* 801A8BBC 001A5B1C 80 04 00 14 */ lwz r0, 0x14(r4) /* 801A8BC0 001A5B20 90 A3 02 A4 */ stw r5, 0x2a4(r3) /* 801A8BC4 001A5B24 90 03 02 A8 */ stw r0, 0x2a8(r3) /* 801A8BC8 001A5B28 80 A4 00 18 */ lwz r5, 0x18(r4) /* 801A8BCC 001A5B2C 80 04 00 1C */ lwz r0, 0x1c(r4) /* 801A8BD0 001A5B30 90 A3 02 AC */ stw r5, 0x2ac(r3) /* 801A8BD4 001A5B34 90 03 02 B0 */ stw r0, 0x2b0(r3) /* 801A8BD8 001A5B38 80 A4 00 20 */ lwz r5, 0x20(r4) /* 801A8BDC 001A5B3C 80 04 00 24 */ lwz r0, 0x24(r4) /* 801A8BE0 001A5B40 90 A3 02 B4 */ stw r5, 0x2b4(r3) /* 801A8BE4 001A5B44 90 03 02 B8 */ stw r0, 0x2b8(r3) /* 801A8BE8 001A5B48 80 A4 00 28 */ lwz r5, 0x28(r4) /* 801A8BEC 001A5B4C 80 04 00 2C */ lwz r0, 0x2c(r4) /* 801A8BF0 001A5B50 90 A3 02 BC */ stw r5, 0x2bc(r3) /* 801A8BF4 001A5B54 90 03 02 C0 */ stw r0, 0x2c0(r3) /* 801A8BF8 001A5B58 80 A4 00 30 */ lwz r5, 0x30(r4) /* 801A8BFC 001A5B5C 80 04 00 34 */ lwz r0, 0x34(r4) /* 801A8C00 001A5B60 90 A3 02 C4 */ stw r5, 0x2c4(r3) /* 801A8C04 001A5B64 90 03 02 C8 */ stw r0, 0x2c8(r3) /* 801A8C08 001A5B68 80 04 00 38 */ lwz r0, 0x38(r4) /* 801A8C0C 001A5B6C 90 03 02 CC */ stw r0, 0x2cc(r3) /* 801A8C10 001A5B70 80 A4 00 3C */ lwz r5, 0x3c(r4) /* 801A8C14 001A5B74 80 04 00 40 */ lwz r0, 0x40(r4) /* 801A8C18 001A5B78 90 A3 02 D0 */ stw r5, 0x2d0(r3) /* 801A8C1C 001A5B7C 90 03 02 D4 */ stw r0, 0x2d4(r3) /* 801A8C20 001A5B80 80 A4 00 44 */ lwz r5, 0x44(r4) /* 801A8C24 001A5B84 80 04 00 48 */ lwz r0, 0x48(r4) /* 801A8C28 001A5B88 90 A3 02 D8 */ stw r5, 0x2d8(r3) /* 801A8C2C 001A5B8C 90 03 02 DC */ stw r0, 0x2dc(r3) /* 801A8C30 001A5B90 80 A4 00 4C */ lwz r5, 0x4c(r4) /* 801A8C34 001A5B94 80 04 00 50 */ lwz r0, 0x50(r4) /* 801A8C38 001A5B98 90 A3 02 E0 */ stw r5, 0x2e0(r3) /* 801A8C3C 001A5B9C 90 03 02 E4 */ stw r0, 0x2e4(r3) /* 801A8C40 001A5BA0 80 A4 00 54 */ lwz r5, 0x54(r4) /* 801A8C44 001A5BA4 80 04 00 58 */ lwz r0, 0x58(r4) /* 801A8C48 001A5BA8 90 A3 02 E8 */ stw r5, 0x2e8(r3) /* 801A8C4C 001A5BAC 90 03 02 EC */ stw r0, 0x2ec(r3) /* 801A8C50 001A5BB0 80 04 00 5C */ lwz r0, 0x5c(r4) /* 801A8C54 001A5BB4 90 03 02 F0 */ stw r0, 0x2f0(r3) /* 801A8C58 001A5BB8 80 04 00 60 */ lwz r0, 0x60(r4) /* 801A8C5C 001A5BBC 90 03 02 F4 */ stw r0, 0x2f4(r3) /* 801A8C60 001A5BC0 80 04 00 64 */ lwz r0, 0x64(r4) /* 801A8C64 001A5BC4 90 03 02 F8 */ stw r0, 0x2f8(r3) /* 801A8C68 001A5BC8 4E 80 00 20 */ blr .global GetDamageVulnerability__15CCollisionActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__15CCollisionActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 801A8C6C 001A5BCC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A8C70 001A5BD0 7C 08 02 A6 */ mflr r0 /* 801A8C74 001A5BD4 90 01 00 14 */ stw r0, 0x14(r1) /* 801A8C78 001A5BD8 81 83 00 00 */ lwz r12, 0(r3) /* 801A8C7C 001A5BDC 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801A8C80 001A5BE0 7D 89 03 A6 */ mtctr r12 /* 801A8C84 001A5BE4 4E 80 04 21 */ bctrl /* 801A8C88 001A5BE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A8C8C 001A5BEC 7C 08 03 A6 */ mtlr r0 /* 801A8C90 001A5BF0 38 21 00 10 */ addi r1, r1, 0x10 /* 801A8C94 001A5BF4 4E 80 00 20 */ blr .global GetDamageVulnerability__15CCollisionActorCFv GetDamageVulnerability__15CCollisionActorCFv: /* 801A8C98 001A5BF8 38 63 02 94 */ addi r3, r3, 0x294 /* 801A8C9C 001A5BFC 4E 80 00 20 */ blr .global HealthInfo__15CCollisionActorFR13CStateManager HealthInfo__15CCollisionActorFR13CStateManager: /* 801A8CA0 001A5C00 38 63 02 8C */ addi r3, r3, 0x28c /* 801A8CA4 001A5C04 4E 80 00 20 */ blr .global OnScanStateChange__15CCollisionActorFQ26CActor10EScanStateR13CStateManager OnScanStateChange__15CCollisionActorFQ26CActor10EScanStateR13CStateManager: /* 801A8CA8 001A5C08 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A8CAC 001A5C0C 7C 08 02 A6 */ mflr r0 /* 801A8CB0 001A5C10 90 01 00 34 */ stw r0, 0x34(r1) /* 801A8CB4 001A5C14 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A8CB8 001A5C18 7C BF 2B 78 */ mr r31, r5 /* 801A8CBC 001A5C1C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801A8CC0 001A5C20 7C 9E 23 78 */ mr r30, r4 /* 801A8CC4 001A5C24 38 81 00 08 */ addi r4, r1, 8 /* 801A8CC8 001A5C28 93 A1 00 24 */ stw r29, 0x24(r1) /* 801A8CCC 001A5C2C 7C 7D 1B 78 */ mr r29, r3 /* 801A8CD0 001A5C30 A0 03 02 5C */ lhz r0, 0x25c(r3) /* 801A8CD4 001A5C34 7F E3 FB 78 */ mr r3, r31 /* 801A8CD8 001A5C38 B0 01 00 08 */ sth r0, 8(r1) /* 801A8CDC 001A5C3C 4B EA 38 99 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A8CE0 001A5C40 7C 64 1B 78 */ mr r4, r3 /* 801A8CE4 001A5C44 38 61 00 0C */ addi r3, r1, 0xc /* 801A8CE8 001A5C48 4B F0 6F A9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801A8CEC 001A5C4C 80 63 00 04 */ lwz r3, 4(r3) /* 801A8CF0 001A5C50 28 03 00 00 */ cmplwi r3, 0 /* 801A8CF4 001A5C54 41 82 00 1C */ beq lbl_801A8D10 /* 801A8CF8 001A5C58 81 83 00 00 */ lwz r12, 0(r3) /* 801A8CFC 001A5C5C 7F C4 F3 78 */ mr r4, r30 /* 801A8D00 001A5C60 7F E5 FB 78 */ mr r5, r31 /* 801A8D04 001A5C64 81 8C 00 60 */ lwz r12, 0x60(r12) /* 801A8D08 001A5C68 7D 89 03 A6 */ mtctr r12 /* 801A8D0C 001A5C6C 4E 80 04 21 */ bctrl lbl_801A8D10: /* 801A8D10 001A5C70 7F A3 EB 78 */ mr r3, r29 /* 801A8D14 001A5C74 7F C4 F3 78 */ mr r4, r30 /* 801A8D18 001A5C78 7F E5 FB 78 */ mr r5, r31 /* 801A8D1C 001A5C7C 4B EA A8 55 */ bl OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager /* 801A8D20 001A5C80 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A8D24 001A5C84 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A8D28 001A5C88 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801A8D2C 001A5C8C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801A8D30 001A5C90 7C 08 03 A6 */ mtlr r0 /* 801A8D34 001A5C94 38 21 00 30 */ addi r1, r1, 0x30 /* 801A8D38 001A5C98 4E 80 00 20 */ blr .global AcceptScriptMsg__15CCollisionActorF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__15CCollisionActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801A8D3C 001A5C9C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801A8D40 001A5CA0 7C 08 02 A6 */ mflr r0 /* 801A8D44 001A5CA4 90 01 00 44 */ stw r0, 0x44(r1) /* 801A8D48 001A5CA8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801A8D4C 001A5CAC 7C DF 33 78 */ mr r31, r6 /* 801A8D50 001A5CB0 93 C1 00 38 */ stw r30, 0x38(r1) /* 801A8D54 001A5CB4 7C BE 2B 78 */ mr r30, r5 /* 801A8D58 001A5CB8 93 A1 00 34 */ stw r29, 0x34(r1) /* 801A8D5C 001A5CBC 7C 9D 23 78 */ mr r29, r4 /* 801A8D60 001A5CC0 38 1D FF E6 */ addi r0, r29, -26 /* 801A8D64 001A5CC4 28 00 00 10 */ cmplwi r0, 0x10 /* 801A8D68 001A5CC8 93 81 00 30 */ stw r28, 0x30(r1) /* 801A8D6C 001A5CCC 7C 7C 1B 78 */ mr r28, r3 /* 801A8D70 001A5CD0 41 81 00 60 */ bgt lbl_801A8DD0 /* 801A8D74 001A5CD4 3C 60 80 3E */ lis r3, lbl_803E4B9C@ha /* 801A8D78 001A5CD8 54 00 10 3A */ slwi r0, r0, 2 /* 801A8D7C 001A5CDC 38 63 4B 9C */ addi r3, r3, lbl_803E4B9C@l /* 801A8D80 001A5CE0 7C 03 00 2E */ lwzx r0, r3, r0 /* 801A8D84 001A5CE4 7C 09 03 A6 */ mtctr r0 /* 801A8D88 001A5CE8 4E 80 04 20 */ bctr /* 801A8D8C 001A5CEC A0 1C 02 5C */ lhz r0, 0x25c(r28) /* 801A8D90 001A5CF0 7F E3 FB 78 */ mr r3, r31 /* 801A8D94 001A5CF4 38 81 00 20 */ addi r4, r1, 0x20 /* 801A8D98 001A5CF8 B0 01 00 20 */ sth r0, 0x20(r1) /* 801A8D9C 001A5CFC 4B EA 37 D9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801A8DA0 001A5D00 7C 64 1B 79 */ or. r4, r3, r3 /* 801A8DA4 001A5D04 41 82 00 54 */ beq lbl_801A8DF8 /* 801A8DA8 001A5D08 A0 1E 00 00 */ lhz r0, 0(r30) /* 801A8DAC 001A5D0C 7F E3 FB 78 */ mr r3, r31 /* 801A8DB0 001A5D10 7F A6 EB 78 */ mr r6, r29 /* 801A8DB4 001A5D14 38 A1 00 1C */ addi r5, r1, 0x1c /* 801A8DB8 001A5D18 B0 1C 02 FC */ sth r0, 0x2fc(r28) /* 801A8DBC 001A5D1C A0 1C 00 08 */ lhz r0, 8(r28) /* 801A8DC0 001A5D20 B0 01 00 18 */ sth r0, 0x18(r1) /* 801A8DC4 001A5D24 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801A8DC8 001A5D28 4B E9 B1 09 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage /* 801A8DCC 001A5D2C 48 00 00 2C */ b lbl_801A8DF8 lbl_801A8DD0: /* 801A8DD0 001A5D30 A0 FC 00 08 */ lhz r7, 8(r28) /* 801A8DD4 001A5D34 7F E3 FB 78 */ mr r3, r31 /* 801A8DD8 001A5D38 7F A6 EB 78 */ mr r6, r29 /* 801A8DDC 001A5D3C 38 81 00 14 */ addi r4, r1, 0x14 /* 801A8DE0 001A5D40 B0 E1 00 10 */ sth r7, 0x10(r1) /* 801A8DE4 001A5D44 38 A1 00 10 */ addi r5, r1, 0x10 /* 801A8DE8 001A5D48 A0 1C 02 5C */ lhz r0, 0x25c(r28) /* 801A8DEC 001A5D4C B0 E1 00 0C */ sth r7, 0xc(r1) /* 801A8DF0 001A5D50 B0 01 00 14 */ sth r0, 0x14(r1) /* 801A8DF4 001A5D54 4B E9 B0 61 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId lbl_801A8DF8: /* 801A8DF8 001A5D58 A0 1E 00 00 */ lhz r0, 0(r30) /* 801A8DFC 001A5D5C 7F 83 E3 78 */ mr r3, r28 /* 801A8E00 001A5D60 7F A4 EB 78 */ mr r4, r29 /* 801A8E04 001A5D64 7F E6 FB 78 */ mr r6, r31 /* 801A8E08 001A5D68 B0 01 00 08 */ sth r0, 8(r1) /* 801A8E0C 001A5D6C 38 A1 00 08 */ addi r5, r1, 8 /* 801A8E10 001A5D70 4B EA A8 05 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801A8E14 001A5D74 80 01 00 44 */ lwz r0, 0x44(r1) /* 801A8E18 001A5D78 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801A8E1C 001A5D7C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801A8E20 001A5D80 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801A8E24 001A5D84 83 81 00 30 */ lwz r28, 0x30(r1) /* 801A8E28 001A5D88 7C 08 03 A6 */ mtlr r0 /* 801A8E2C 001A5D8C 38 21 00 40 */ addi r1, r1, 0x40 /* 801A8E30 001A5D90 4E 80 00 20 */ blr .global GetPrimitiveTransform__15CCollisionActorCFv GetPrimitiveTransform__15CCollisionActorCFv: /* 801A8E34 001A5D94 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801A8E38 001A5D98 7C 08 02 A6 */ mflr r0 /* 801A8E3C 001A5D9C 90 01 00 74 */ stw r0, 0x74(r1) /* 801A8E40 001A5DA0 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801A8E44 001A5DA4 7C 9F 23 78 */ mr r31, r4 /* 801A8E48 001A5DA8 38 9F 00 34 */ addi r4, r31, 0x34 /* 801A8E4C 001A5DAC 93 C1 00 68 */ stw r30, 0x68(r1) /* 801A8E50 001A5DB0 7C 7E 1B 78 */ mr r30, r3 /* 801A8E54 001A5DB4 38 61 00 38 */ addi r3, r1, 0x38 /* 801A8E58 001A5DB8 48 16 9D 1D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A8E5C 001A5DBC 7F E4 FB 78 */ mr r4, r31 /* 801A8E60 001A5DC0 38 61 00 08 */ addi r3, r1, 8 /* 801A8E64 001A5DC4 4B F7 1B 69 */ bl GetPrimitiveTransform__13CPhysicsActorCFv /* 801A8E68 001A5DC8 C0 41 00 34 */ lfs f2, 0x34(r1) /* 801A8E6C 001A5DCC 7F C3 F3 78 */ mr r3, r30 /* 801A8E70 001A5DD0 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801A8E74 001A5DD4 38 81 00 38 */ addi r4, r1, 0x38 /* 801A8E78 001A5DD8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801A8E7C 001A5DDC D0 21 00 54 */ stfs f1, 0x54(r1) /* 801A8E80 001A5DE0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801A8E84 001A5DE4 D0 41 00 64 */ stfs f2, 0x64(r1) /* 801A8E88 001A5DE8 48 16 9C ED */ bl __ct__12CTransform4fFRC12CTransform4f /* 801A8E8C 001A5DEC 80 01 00 74 */ lwz r0, 0x74(r1) /* 801A8E90 001A5DF0 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801A8E94 001A5DF4 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801A8E98 001A5DF8 7C 08 03 A6 */ mtlr r0 /* 801A8E9C 001A5DFC 38 21 00 70 */ addi r1, r1, 0x70 /* 801A8EA0 001A5E00 4E 80 00 20 */ blr .global sub_801a8ea4 sub_801a8ea4: /* 801A8EA4 001A5E04 80 03 02 58 */ lwz r0, 0x258(r3) /* 801A8EA8 001A5E08 2C 00 00 00 */ cmpwi r0, 0 /* 801A8EAC 001A5E0C 40 82 00 0C */ bne lbl_801A8EB8 /* 801A8EB0 001A5E10 80 63 02 7C */ lwz r3, 0x27c(r3) /* 801A8EB4 001A5E14 4E 80 00 20 */ blr lbl_801A8EB8: /* 801A8EB8 001A5E18 2C 00 00 01 */ cmpwi r0, 1 /* 801A8EBC 001A5E1C 40 82 00 0C */ bne lbl_801A8EC8 /* 801A8EC0 001A5E20 80 63 02 80 */ lwz r3, 0x280(r3) /* 801A8EC4 001A5E24 4E 80 00 20 */ blr lbl_801A8EC8: /* 801A8EC8 001A5E28 80 63 02 84 */ lwz r3, 0x284(r3) /* 801A8ECC 001A5E2C 4E 80 00 20 */ blr .global Touch__15CCollisionActorFR6CActorR13CStateManager Touch__15CCollisionActorFR6CActorR13CStateManager: /* 801A8ED0 001A5E30 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801A8ED4 001A5E34 7C 08 02 A6 */ mflr r0 /* 801A8ED8 001A5E38 7C A8 2B 78 */ mr r8, r5 /* 801A8EDC 001A5E3C 38 C0 00 1E */ li r6, 0x1e /* 801A8EE0 001A5E40 90 01 00 24 */ stw r0, 0x24(r1) /* 801A8EE4 001A5E44 38 A1 00 0C */ addi r5, r1, 0xc /* 801A8EE8 001A5E48 A0 04 00 08 */ lhz r0, 8(r4) /* 801A8EEC 001A5E4C 38 81 00 10 */ addi r4, r1, 0x10 /* 801A8EF0 001A5E50 B0 03 02 FC */ sth r0, 0x2fc(r3) /* 801A8EF4 001A5E54 A0 E3 00 08 */ lhz r7, 8(r3) /* 801A8EF8 001A5E58 B0 E1 00 0C */ sth r7, 0xc(r1) /* 801A8EFC 001A5E5C A0 03 02 5C */ lhz r0, 0x25c(r3) /* 801A8F00 001A5E60 7D 03 43 78 */ mr r3, r8 /* 801A8F04 001A5E64 B0 E1 00 08 */ sth r7, 8(r1) /* 801A8F08 001A5E68 B0 01 00 10 */ sth r0, 0x10(r1) /* 801A8F0C 001A5E6C 4B E9 AF 49 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId /* 801A8F10 001A5E70 80 01 00 24 */ lwz r0, 0x24(r1) /* 801A8F14 001A5E74 7C 08 03 A6 */ mtlr r0 /* 801A8F18 001A5E78 38 21 00 20 */ addi r1, r1, 0x20 /* 801A8F1C 001A5E7C 4E 80 00 20 */ blr .global GetScanObjectIndicatorPosition__15CCollisionActorCFRC13CStateManager GetScanObjectIndicatorPosition__15CCollisionActorCFRC13CStateManager: /* 801A8F20 001A5E80 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801A8F24 001A5E84 7C 08 02 A6 */ mflr r0 /* 801A8F28 001A5E88 90 01 00 94 */ stw r0, 0x94(r1) /* 801A8F2C 001A5E8C DB E1 00 80 */ stfd f31, 0x80(r1) /* 801A8F30 001A5E90 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801A8F34 001A5E94 DB C1 00 70 */ stfd f30, 0x70(r1) /* 801A8F38 001A5E98 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 801A8F3C 001A5E9C DB A1 00 60 */ stfd f29, 0x60(r1) /* 801A8F40 001A5EA0 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 801A8F44 001A5EA4 DB 81 00 50 */ stfd f28, 0x50(r1) /* 801A8F48 001A5EA8 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 /* 801A8F4C 001A5EAC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801A8F50 001A5EB0 93 C1 00 48 */ stw r30, 0x48(r1) /* 801A8F54 001A5EB4 93 A1 00 44 */ stw r29, 0x44(r1) /* 801A8F58 001A5EB8 93 81 00 40 */ stw r28, 0x40(r1) /* 801A8F5C 001A5EBC 7C BE 2B 78 */ mr r30, r5 /* 801A8F60 001A5EC0 7C 7C 1B 78 */ mr r28, r3 /* 801A8F64 001A5EC4 80 65 08 70 */ lwz r3, 0x870(r5) /* 801A8F68 001A5EC8 7C 9D 23 78 */ mr r29, r4 /* 801A8F6C 001A5ECC 7F C4 F3 78 */ mr r4, r30 /* 801A8F70 001A5ED0 4B E6 2B A9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 801A8F74 001A5ED4 80 1D 02 58 */ lwz r0, 0x258(r29) /* 801A8F78 001A5ED8 7C 7F 1B 78 */ mr r31, r3 /* 801A8F7C 001A5EDC 2C 00 00 02 */ cmpwi r0, 2 /* 801A8F80 001A5EE0 40 82 00 14 */ bne lbl_801A8F94 /* 801A8F84 001A5EE4 7F A3 EB 78 */ mr r3, r29 /* 801A8F88 001A5EE8 4B FF FB F5 */ bl GetSphereRadius__15CCollisionActorCFv /* 801A8F8C 001A5EEC FF 80 08 90 */ fmr f28, f1 /* 801A8F90 001A5EF0 48 00 00 54 */ b lbl_801A8FE4 lbl_801A8F94: /* 801A8F94 001A5EF4 7F A3 EB 78 */ mr r3, r29 /* 801A8F98 001A5EF8 4B FF FB ED */ bl GetBoxSize__15CCollisionActorCFv /* 801A8F9C 001A5EFC C0 03 00 00 */ lfs f0, 0(r3) /* 801A8FA0 001A5F00 C0 23 00 04 */ lfs f1, 4(r3) /* 801A8FA4 001A5F04 C0 43 00 08 */ lfs f2, 8(r3) /* 801A8FA8 001A5F08 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801A8FAC 001A5F0C D0 41 00 08 */ stfs f2, 8(r1) /* 801A8FB0 001A5F10 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801A8FB4 001A5F14 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801A8FB8 001A5F18 40 80 00 0C */ bge lbl_801A8FC4 /* 801A8FBC 001A5F1C 38 61 00 0C */ addi r3, r1, 0xc /* 801A8FC0 001A5F20 48 00 00 08 */ b lbl_801A8FC8 lbl_801A8FC4: /* 801A8FC4 001A5F24 38 61 00 10 */ addi r3, r1, 0x10 lbl_801A8FC8: /* 801A8FC8 001A5F28 C0 03 00 00 */ lfs f0, 0(r3) /* 801A8FCC 001A5F2C FC 00 10 40 */ fcmpo cr0, f0, f2 /* 801A8FD0 001A5F30 40 80 00 08 */ bge lbl_801A8FD8 /* 801A8FD4 001A5F34 38 61 00 08 */ addi r3, r1, 8 lbl_801A8FD8: /* 801A8FD8 001A5F38 C0 22 A8 20 */ lfs f1, lbl_805AC540@sda21(r2) /* 801A8FDC 001A5F3C C0 03 00 00 */ lfs f0, 0(r3) /* 801A8FE0 001A5F40 EF 81 00 32 */ fmuls f28, f1, f0 lbl_801A8FE4: /* 801A8FE4 001A5F44 7F A4 EB 78 */ mr r4, r29 /* 801A8FE8 001A5F48 C0 02 A8 24 */ lfs f0, lbl_805AC544@sda21(r2) /* 801A8FEC 001A5F4C 81 9D 00 00 */ lwz r12, 0(r29) /* 801A8FF0 001A5F50 7F C5 F3 78 */ mr r5, r30 /* 801A8FF4 001A5F54 EF 9C 00 32 */ fmuls f28, f28, f0 /* 801A8FF8 001A5F58 38 61 00 2C */ addi r3, r1, 0x2c /* 801A8FFC 001A5F5C 81 8C 00 48 */ lwz r12, 0x48(r12) /* 801A9000 001A5F60 7D 89 03 A6 */ mtctr r12 /* 801A9004 001A5F64 4E 80 04 21 */ bctrl /* 801A9008 001A5F68 C3 A1 00 2C */ lfs f29, 0x2c(r1) /* 801A900C 001A5F6C 38 61 00 20 */ addi r3, r1, 0x20 /* 801A9010 001A5F70 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801A9014 001A5F74 38 81 00 14 */ addi r4, r1, 0x14 /* 801A9018 001A5F78 C3 E1 00 30 */ lfs f31, 0x30(r1) /* 801A901C 001A5F7C C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801A9020 001A5F80 EC 1D 00 28 */ fsubs f0, f29, f0 /* 801A9024 001A5F84 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801A9028 001A5F88 C3 C1 00 34 */ lfs f30, 0x34(r1) /* 801A902C 001A5F8C EC 5F 10 28 */ fsubs f2, f31, f2 /* 801A9030 001A5F90 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801A9034 001A5F94 EC 1E 08 28 */ fsubs f0, f30, f1 /* 801A9038 001A5F98 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801A903C 001A5F9C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801A9040 001A5FA0 48 16 B8 11 */ bl AsNormalized__9CVector3fCFv /* 801A9044 001A5FA4 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801A9048 001A5FA8 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801A904C 001A5FAC EC 1C 00 32 */ fmuls f0, f28, f0 /* 801A9050 001A5FB0 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801A9054 001A5FB4 EC 5C 00 B2 */ fmuls f2, f28, f2 /* 801A9058 001A5FB8 EC 3C 00 72 */ fmuls f1, f28, f1 /* 801A905C 001A5FBC EC 1D 00 28 */ fsubs f0, f29, f0 /* 801A9060 001A5FC0 EC 5F 10 28 */ fsubs f2, f31, f2 /* 801A9064 001A5FC4 EC 3E 08 28 */ fsubs f1, f30, f1 /* 801A9068 001A5FC8 D0 1C 00 00 */ stfs f0, 0(r28) /* 801A906C 001A5FCC D0 5C 00 04 */ stfs f2, 4(r28) /* 801A9070 001A5FD0 D0 3C 00 08 */ stfs f1, 8(r28) /* 801A9074 001A5FD4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801A9078 001A5FD8 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801A907C 001A5FDC E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 801A9080 001A5FE0 CB C1 00 70 */ lfd f30, 0x70(r1) /* 801A9084 001A5FE4 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 801A9088 001A5FE8 CB A1 00 60 */ lfd f29, 0x60(r1) /* 801A908C 001A5FEC E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 /* 801A9090 001A5FF0 CB 81 00 50 */ lfd f28, 0x50(r1) /* 801A9094 001A5FF4 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801A9098 001A5FF8 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801A909C 001A5FFC 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801A90A0 001A6000 80 01 00 94 */ lwz r0, 0x94(r1) /* 801A90A4 001A6004 83 81 00 40 */ lwz r28, 0x40(r1) /* 801A90A8 001A6008 7C 08 03 A6 */ mtlr r0 /* 801A90AC 001A600C 38 21 00 90 */ addi r1, r1, 0x90 /* 801A90B0 001A6010 4E 80 00 20 */ blr .global GetOrbitPosition__15CCollisionActorCFRC13CStateManager GetOrbitPosition__15CCollisionActorCFRC13CStateManager: /* 801A90B4 001A6014 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801A90B8 001A6018 7C 08 02 A6 */ mflr r0 /* 801A90BC 001A601C 90 01 00 34 */ stw r0, 0x34(r1) /* 801A90C0 001A6020 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801A90C4 001A6024 7C 7F 1B 78 */ mr r31, r3 /* 801A90C8 001A6028 38 61 00 08 */ addi r3, r1, 8 /* 801A90CC 001A602C 81 84 00 00 */ lwz r12, 0(r4) /* 801A90D0 001A6030 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801A90D4 001A6034 7D 89 03 A6 */ mtctr r12 /* 801A90D8 001A6038 4E 80 04 21 */ bctrl /* 801A90DC 001A603C 7F E3 FB 78 */ mr r3, r31 /* 801A90E0 001A6040 38 81 00 08 */ addi r4, r1, 8 /* 801A90E4 001A6044 48 18 E5 29 */ bl GetCenterPoint__6CAABoxCFv /* 801A90E8 001A6048 38 00 00 00 */ li r0, 0 /* 801A90EC 001A604C 98 01 00 20 */ stb r0, 0x20(r1) /* 801A90F0 001A6050 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A90F4 001A6054 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801A90F8 001A6058 7C 08 03 A6 */ mtlr r0 /* 801A90FC 001A605C 38 21 00 30 */ addi r1, r1, 0x30 /* 801A9100 001A6060 4E 80 00 20 */ blr .global GetTouchBounds__15CCollisionActorCFv GetTouchBounds__15CCollisionActorCFv: /* 801A9104 001A6064 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801A9108 001A6068 7C 08 02 A6 */ mflr r0 /* 801A910C 001A606C 90 01 00 94 */ stw r0, 0x94(r1) /* 801A9110 001A6070 38 00 00 00 */ li r0, 0 /* 801A9114 001A6074 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801A9118 001A6078 7C 9F 23 78 */ mr r31, r4 /* 801A911C 001A607C 93 C1 00 88 */ stw r30, 0x88(r1) /* 801A9120 001A6080 7C 7E 1B 78 */ mr r30, r3 /* 801A9124 001A6084 80 84 02 58 */ lwz r4, 0x258(r4) /* 801A9128 001A6088 98 01 00 80 */ stb r0, 0x80(r1) /* 801A912C 001A608C 2C 04 00 00 */ cmpwi r4, 0 /* 801A9130 001A6090 40 82 00 A4 */ bne lbl_801A91D4 /* 801A9134 001A6094 80 9F 02 7C */ lwz r4, 0x27c(r31) /* 801A9138 001A6098 38 61 00 50 */ addi r3, r1, 0x50 /* 801A913C 001A609C 38 BF 00 34 */ addi r5, r31, 0x34 /* 801A9140 001A60A0 81 84 00 00 */ lwz r12, 0(r4) /* 801A9144 001A60A4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801A9148 001A60A8 7D 89 03 A6 */ mtctr r12 /* 801A914C 001A60AC 4E 80 04 21 */ bctrl /* 801A9150 001A60B0 88 01 00 80 */ lbz r0, 0x80(r1) /* 801A9154 001A60B4 28 00 00 00 */ cmplwi r0, 0 /* 801A9158 001A60B8 40 82 00 48 */ bne lbl_801A91A0 /* 801A915C 001A60BC 34 61 00 68 */ addic. r3, r1, 0x68 /* 801A9160 001A60C0 41 82 00 34 */ beq lbl_801A9194 /* 801A9164 001A60C4 C0 01 00 50 */ lfs f0, 0x50(r1) /* 801A9168 001A60C8 D0 03 00 00 */ stfs f0, 0(r3) /* 801A916C 001A60CC C0 01 00 54 */ lfs f0, 0x54(r1) /* 801A9170 001A60D0 D0 03 00 04 */ stfs f0, 4(r3) /* 801A9174 001A60D4 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801A9178 001A60D8 D0 03 00 08 */ stfs f0, 8(r3) /* 801A917C 001A60DC C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801A9180 001A60E0 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801A9184 001A60E4 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801A9188 001A60E8 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801A918C 001A60EC C0 01 00 64 */ lfs f0, 0x64(r1) /* 801A9190 001A60F0 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801A9194: /* 801A9194 001A60F4 38 00 00 01 */ li r0, 1 /* 801A9198 001A60F8 98 01 00 80 */ stb r0, 0x80(r1) /* 801A919C 001A60FC 48 00 01 7C */ b lbl_801A9318 lbl_801A91A0: /* 801A91A0 001A6100 80 E1 00 50 */ lwz r7, 0x50(r1) /* 801A91A4 001A6104 80 C1 00 54 */ lwz r6, 0x54(r1) /* 801A91A8 001A6108 80 A1 00 58 */ lwz r5, 0x58(r1) /* 801A91AC 001A610C 80 81 00 5C */ lwz r4, 0x5c(r1) /* 801A91B0 001A6110 80 61 00 60 */ lwz r3, 0x60(r1) /* 801A91B4 001A6114 80 01 00 64 */ lwz r0, 0x64(r1) /* 801A91B8 001A6118 90 E1 00 68 */ stw r7, 0x68(r1) /* 801A91BC 001A611C 90 C1 00 6C */ stw r6, 0x6c(r1) /* 801A91C0 001A6120 90 A1 00 70 */ stw r5, 0x70(r1) /* 801A91C4 001A6124 90 81 00 74 */ stw r4, 0x74(r1) /* 801A91C8 001A6128 90 61 00 78 */ stw r3, 0x78(r1) /* 801A91CC 001A612C 90 01 00 7C */ stw r0, 0x7c(r1) /* 801A91D0 001A6130 48 00 01 48 */ b lbl_801A9318 lbl_801A91D4: /* 801A91D4 001A6134 2C 04 00 01 */ cmpwi r4, 1 /* 801A91D8 001A6138 40 82 00 A4 */ bne lbl_801A927C /* 801A91DC 001A613C 80 9F 02 80 */ lwz r4, 0x280(r31) /* 801A91E0 001A6140 38 61 00 38 */ addi r3, r1, 0x38 /* 801A91E4 001A6144 38 BF 00 34 */ addi r5, r31, 0x34 /* 801A91E8 001A6148 81 84 00 00 */ lwz r12, 0(r4) /* 801A91EC 001A614C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801A91F0 001A6150 7D 89 03 A6 */ mtctr r12 /* 801A91F4 001A6154 4E 80 04 21 */ bctrl /* 801A91F8 001A6158 88 01 00 80 */ lbz r0, 0x80(r1) /* 801A91FC 001A615C 28 00 00 00 */ cmplwi r0, 0 /* 801A9200 001A6160 40 82 00 48 */ bne lbl_801A9248 /* 801A9204 001A6164 34 61 00 68 */ addic. r3, r1, 0x68 /* 801A9208 001A6168 41 82 00 34 */ beq lbl_801A923C /* 801A920C 001A616C C0 01 00 38 */ lfs f0, 0x38(r1) /* 801A9210 001A6170 D0 03 00 00 */ stfs f0, 0(r3) /* 801A9214 001A6174 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801A9218 001A6178 D0 03 00 04 */ stfs f0, 4(r3) /* 801A921C 001A617C C0 01 00 40 */ lfs f0, 0x40(r1) /* 801A9220 001A6180 D0 03 00 08 */ stfs f0, 8(r3) /* 801A9224 001A6184 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801A9228 001A6188 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801A922C 001A618C C0 01 00 48 */ lfs f0, 0x48(r1) /* 801A9230 001A6190 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801A9234 001A6194 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801A9238 001A6198 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801A923C: /* 801A923C 001A619C 38 00 00 01 */ li r0, 1 /* 801A9240 001A61A0 98 01 00 80 */ stb r0, 0x80(r1) /* 801A9244 001A61A4 48 00 00 D4 */ b lbl_801A9318 lbl_801A9248: /* 801A9248 001A61A8 80 E1 00 38 */ lwz r7, 0x38(r1) /* 801A924C 001A61AC 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801A9250 001A61B0 80 A1 00 40 */ lwz r5, 0x40(r1) /* 801A9254 001A61B4 80 81 00 44 */ lwz r4, 0x44(r1) /* 801A9258 001A61B8 80 61 00 48 */ lwz r3, 0x48(r1) /* 801A925C 001A61BC 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801A9260 001A61C0 90 E1 00 68 */ stw r7, 0x68(r1) /* 801A9264 001A61C4 90 C1 00 6C */ stw r6, 0x6c(r1) /* 801A9268 001A61C8 90 A1 00 70 */ stw r5, 0x70(r1) /* 801A926C 001A61CC 90 81 00 74 */ stw r4, 0x74(r1) /* 801A9270 001A61D0 90 61 00 78 */ stw r3, 0x78(r1) /* 801A9274 001A61D4 90 01 00 7C */ stw r0, 0x7c(r1) /* 801A9278 001A61D8 48 00 00 A0 */ b lbl_801A9318 lbl_801A927C: /* 801A927C 001A61DC 80 9F 02 84 */ lwz r4, 0x284(r31) /* 801A9280 001A61E0 38 61 00 20 */ addi r3, r1, 0x20 /* 801A9284 001A61E4 38 BF 00 34 */ addi r5, r31, 0x34 /* 801A9288 001A61E8 81 84 00 00 */ lwz r12, 0(r4) /* 801A928C 001A61EC 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801A9290 001A61F0 7D 89 03 A6 */ mtctr r12 /* 801A9294 001A61F4 4E 80 04 21 */ bctrl /* 801A9298 001A61F8 88 01 00 80 */ lbz r0, 0x80(r1) /* 801A929C 001A61FC 28 00 00 00 */ cmplwi r0, 0 /* 801A92A0 001A6200 40 82 00 48 */ bne lbl_801A92E8 /* 801A92A4 001A6204 34 61 00 68 */ addic. r3, r1, 0x68 /* 801A92A8 001A6208 41 82 00 34 */ beq lbl_801A92DC /* 801A92AC 001A620C C0 01 00 20 */ lfs f0, 0x20(r1) /* 801A92B0 001A6210 D0 03 00 00 */ stfs f0, 0(r3) /* 801A92B4 001A6214 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801A92B8 001A6218 D0 03 00 04 */ stfs f0, 4(r3) /* 801A92BC 001A621C C0 01 00 28 */ lfs f0, 0x28(r1) /* 801A92C0 001A6220 D0 03 00 08 */ stfs f0, 8(r3) /* 801A92C4 001A6224 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801A92C8 001A6228 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801A92CC 001A622C C0 01 00 30 */ lfs f0, 0x30(r1) /* 801A92D0 001A6230 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801A92D4 001A6234 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801A92D8 001A6238 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801A92DC: /* 801A92DC 001A623C 38 00 00 01 */ li r0, 1 /* 801A92E0 001A6240 98 01 00 80 */ stb r0, 0x80(r1) /* 801A92E4 001A6244 48 00 00 34 */ b lbl_801A9318 lbl_801A92E8: /* 801A92E8 001A6248 80 E1 00 20 */ lwz r7, 0x20(r1) /* 801A92EC 001A624C 80 C1 00 24 */ lwz r6, 0x24(r1) /* 801A92F0 001A6250 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801A92F4 001A6254 80 81 00 2C */ lwz r4, 0x2c(r1) /* 801A92F8 001A6258 80 61 00 30 */ lwz r3, 0x30(r1) /* 801A92FC 001A625C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801A9300 001A6260 90 E1 00 68 */ stw r7, 0x68(r1) /* 801A9304 001A6264 90 C1 00 6C */ stw r6, 0x6c(r1) /* 801A9308 001A6268 90 A1 00 70 */ stw r5, 0x70(r1) /* 801A930C 001A626C 90 81 00 74 */ stw r4, 0x74(r1) /* 801A9310 001A6270 90 61 00 78 */ stw r3, 0x78(r1) /* 801A9314 001A6274 90 01 00 7C */ stw r0, 0x7c(r1) lbl_801A9318: /* 801A9318 001A6278 C0 21 00 78 */ lfs f1, 0x78(r1) /* 801A931C 001A627C 38 61 00 68 */ addi r3, r1, 0x68 /* 801A9320 001A6280 C0 1F 03 08 */ lfs f0, 0x308(r31) /* 801A9324 001A6284 38 81 00 14 */ addi r4, r1, 0x14 /* 801A9328 001A6288 C0 61 00 7C */ lfs f3, 0x7c(r1) /* 801A932C 001A628C C0 5F 03 0C */ lfs f2, 0x30c(r31) /* 801A9330 001A6290 EC 81 00 2A */ fadds f4, f1, f0 /* 801A9334 001A6294 C0 21 00 74 */ lfs f1, 0x74(r1) /* 801A9338 001A6298 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801A933C 001A629C EC 43 10 2A */ fadds f2, f3, f2 /* 801A9340 001A62A0 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801A9344 001A62A4 EC 01 00 2A */ fadds f0, f1, f0 /* 801A9348 001A62A8 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801A934C 001A62AC D0 01 00 14 */ stfs f0, 0x14(r1) /* 801A9350 001A62B0 48 18 E7 B9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A9354 001A62B4 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 801A9358 001A62B8 38 61 00 68 */ addi r3, r1, 0x68 /* 801A935C 001A62BC C0 1F 03 08 */ lfs f0, 0x308(r31) /* 801A9360 001A62C0 38 81 00 08 */ addi r4, r1, 8 /* 801A9364 001A62C4 C0 61 00 70 */ lfs f3, 0x70(r1) /* 801A9368 001A62C8 EC 81 00 28 */ fsubs f4, f1, f0 /* 801A936C 001A62CC C0 5F 03 0C */ lfs f2, 0x30c(r31) /* 801A9370 001A62D0 C0 21 00 68 */ lfs f1, 0x68(r1) /* 801A9374 001A62D4 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801A9378 001A62D8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801A937C 001A62DC D0 81 00 0C */ stfs f4, 0xc(r1) /* 801A9380 001A62E0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801A9384 001A62E4 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801A9388 001A62E8 D0 01 00 08 */ stfs f0, 8(r1) /* 801A938C 001A62EC 48 18 E7 7D */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801A9390 001A62F0 88 01 00 80 */ lbz r0, 0x80(r1) /* 801A9394 001A62F4 98 1E 00 18 */ stb r0, 0x18(r30) /* 801A9398 001A62F8 88 01 00 80 */ lbz r0, 0x80(r1) /* 801A939C 001A62FC 28 00 00 00 */ cmplwi r0, 0 /* 801A93A0 001A6300 41 82 00 3C */ beq lbl_801A93DC /* 801A93A4 001A6304 28 1E 00 00 */ cmplwi r30, 0 /* 801A93A8 001A6308 41 82 00 34 */ beq lbl_801A93DC /* 801A93AC 001A630C C0 01 00 68 */ lfs f0, 0x68(r1) /* 801A93B0 001A6310 D0 1E 00 00 */ stfs f0, 0(r30) /* 801A93B4 001A6314 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801A93B8 001A6318 D0 1E 00 04 */ stfs f0, 4(r30) /* 801A93BC 001A631C C0 01 00 70 */ lfs f0, 0x70(r1) /* 801A93C0 001A6320 D0 1E 00 08 */ stfs f0, 8(r30) /* 801A93C4 001A6324 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801A93C8 001A6328 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 801A93CC 001A632C C0 01 00 78 */ lfs f0, 0x78(r1) /* 801A93D0 001A6330 D0 1E 00 10 */ stfs f0, 0x10(r30) /* 801A93D4 001A6334 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801A93D8 001A6338 D0 1E 00 14 */ stfs f0, 0x14(r30) lbl_801A93DC: /* 801A93DC 001A633C 38 00 00 00 */ li r0, 0 /* 801A93E0 001A6340 98 01 00 80 */ stb r0, 0x80(r1) /* 801A93E4 001A6344 80 01 00 94 */ lwz r0, 0x94(r1) /* 801A93E8 001A6348 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801A93EC 001A634C 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801A93F0 001A6350 7C 08 03 A6 */ mtlr r0 /* 801A93F4 001A6354 38 21 00 90 */ addi r1, r1, 0x90 /* 801A93F8 001A6358 4E 80 00 20 */ blr .global Accept__15CCollisionActorFR8IVisitor Accept__15CCollisionActorFR8IVisitor: /* 801A93FC 001A635C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801A9400 001A6360 7C 08 02 A6 */ mflr r0 /* 801A9404 001A6364 90 01 00 14 */ stw r0, 0x14(r1) /* 801A9408 001A6368 7C 60 1B 78 */ mr r0, r3 /* 801A940C 001A636C 7C 83 23 78 */ mr r3, r4 /* 801A9410 001A6370 81 84 00 00 */ lwz r12, 0(r4) /* 801A9414 001A6374 7C 04 03 78 */ mr r4, r0 /* 801A9418 001A6378 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801A941C 001A637C 7D 89 03 A6 */ mtctr r12 /* 801A9420 001A6380 4E 80 04 21 */ bctrl /* 801A9424 001A6384 80 01 00 14 */ lwz r0, 0x14(r1) /* 801A9428 001A6388 7C 08 03 A6 */ mtlr r0 /* 801A942C 001A638C 38 21 00 10 */ addi r1, r1, 0x10 /* 801A9430 001A6390 4E 80 00 20 */ blr .global __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff: /* 801A9434 001A6394 94 21 FE 40 */ stwu r1, -0x1c0(r1) /* 801A9438 001A6398 7C 08 02 A6 */ mflr r0 /* 801A943C 001A639C 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 801A9440 001A63A0 DB E1 01 B0 */ stfd f31, 0x1b0(r1) /* 801A9444 001A63A4 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 /* 801A9448 001A63A8 DB C1 01 A0 */ stfd f30, 0x1a0(r1) /* 801A944C 001A63AC F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 /* 801A9450 001A63B0 DB A1 01 90 */ stfd f29, 0x190(r1) /* 801A9454 001A63B4 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 /* 801A9458 001A63B8 DB 81 01 80 */ stfd f28, 0x180(r1) /* 801A945C 001A63BC F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 /* 801A9460 001A63C0 BF 41 01 68 */ stmw r26, 0x168(r1) /* 801A9464 001A63C4 3D 00 80 3D */ lis r8, lbl_803D14A0@ha /* 801A9468 001A63C8 FF E0 08 90 */ fmr f31, f1 /* 801A946C 001A63CC FF 80 10 90 */ fmr f28, f2 /* 801A9470 001A63D0 38 08 14 A0 */ addi r0, r8, lbl_803D14A0@l /* 801A9474 001A63D4 7C 7B 1B 78 */ mr r27, r3 /* 801A9478 001A63D8 7C 9C 23 78 */ mr r28, r4 /* 801A947C 001A63DC 7C BA 2B 78 */ mr r26, r5 /* 801A9480 001A63E0 7C DD 33 78 */ mr r29, r6 /* 801A9484 001A63E4 7C FE 3B 78 */ mr r30, r7 /* 801A9488 001A63E8 7C 04 03 78 */ mr r4, r0 /* 801A948C 001A63EC 38 61 00 40 */ addi r3, r1, 0x40 /* 801A9490 001A63F0 4B E5 B8 29 */ bl string_l__4rstlFPCc /* 801A9494 001A63F4 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 801A9498 001A63F8 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801A949C 001A63FC 80 1A 00 00 */ lwz r0, 0(r26) /* 801A94A0 001A6400 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801A94A4 001A6404 90 81 00 2C */ stw r4, 0x2c(r1) /* 801A94A8 001A6408 38 61 00 68 */ addi r3, r1, 0x68 /* 801A94AC 001A640C 38 81 00 30 */ addi r4, r1, 0x30 /* 801A94B0 001A6410 38 C1 00 2C */ addi r6, r1, 0x2c /* 801A94B4 001A6414 90 01 00 30 */ stw r0, 0x30(r1) /* 801A94B8 001A6418 4B EA 7F CD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801A94BC 001A641C 38 61 01 1C */ addi r3, r1, 0x11c /* 801A94C0 001A6420 4B E9 12 E5 */ bl CModelDataNull__10CModelDataFv /* 801A94C4 001A6424 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801A94C8 001A6428 4B E7 19 71 */ bl None__16CActorParametersFv /* 801A94CC 001A642C 4B E7 20 69 */ bl Identity__10CAxisAngleFv /* 801A94D0 001A6430 7C 7A 1B 78 */ mr r26, r3 /* 801A94D4 001A6434 4B E7 20 61 */ bl Identity__10CAxisAngleFv /* 801A94D8 001A6438 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A94DC 001A643C 3C A0 80 5A */ lis r5, lbl_805A6784@ha /* 801A94E0 001A6440 3B E4 66 A0 */ addi r31, r4, skZero3f@l /* 801A94E4 001A6444 A3 9C 00 00 */ lhz r28, 0(r28) /* 801A94E8 001A6448 C0 7F 00 00 */ lfs f3, 0(r31) /* 801A94EC 001A644C 39 85 67 84 */ addi r12, r5, lbl_805A6784@l /* 801A94F0 001A6450 C0 9F 00 04 */ lfs f4, 4(r31) /* 801A94F4 001A6454 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801A94F8 001A6458 C0 BF 00 08 */ lfs f5, 8(r31) /* 801A94FC 001A645C 39 04 66 70 */ addi r8, r4, skIdentity4f@l /* 801A9500 001A6460 D0 61 00 80 */ stfs f3, 0x80(r1) /* 801A9504 001A6464 39 61 00 80 */ addi r11, r1, 0x80 /* 801A9508 001A6468 38 01 00 B4 */ addi r0, r1, 0xb4 /* 801A950C 001A646C C0 22 A8 28 */ lfs f1, lbl_805AC548@sda21(r2) /* 801A9510 001A6470 D0 81 00 84 */ stfs f4, 0x84(r1) /* 801A9514 001A6474 7F C5 F3 78 */ mr r5, r30 /* 801A9518 001A6478 C0 42 A8 2C */ lfs f2, lbl_805AC54C@sda21(r2) /* 801A951C 001A647C 38 81 00 18 */ addi r4, r1, 0x18 /* 801A9520 001A6480 D0 A1 00 88 */ stfs f5, 0x88(r1) /* 801A9524 001A6484 38 C1 00 40 */ addi r6, r1, 0x40 /* 801A9528 001A6488 38 E1 00 68 */ addi r7, r1, 0x68 /* 801A952C 001A648C 39 21 01 1C */ addi r9, r1, 0x11c /* 801A9530 001A6490 C0 03 00 00 */ lfs f0, 0(r3) /* 801A9534 001A6494 39 4D A4 90 */ addi r10, r13, lbl_805A9050@sda21 /* 801A9538 001A6498 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801A953C 001A649C C0 03 00 04 */ lfs f0, 4(r3) /* 801A9540 001A64A0 D0 01 00 90 */ stfs f0, 0x90(r1) /* 801A9544 001A64A4 C0 03 00 08 */ lfs f0, 8(r3) /* 801A9548 001A64A8 7F 63 DB 78 */ mr r3, r27 /* 801A954C 001A64AC D0 01 00 94 */ stfs f0, 0x94(r1) /* 801A9550 001A64B0 D0 61 00 98 */ stfs f3, 0x98(r1) /* 801A9554 001A64B4 D0 81 00 9C */ stfs f4, 0x9c(r1) /* 801A9558 001A64B8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 801A955C 001A64BC C0 1A 00 00 */ lfs f0, 0(r26) /* 801A9560 001A64C0 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801A9564 001A64C4 C0 1A 00 04 */ lfs f0, 4(r26) /* 801A9568 001A64C8 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801A956C 001A64CC C0 1A 00 08 */ lfs f0, 8(r26) /* 801A9570 001A64D0 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801A9574 001A64D4 D3 81 00 B0 */ stfs f28, 0xb0(r1) /* 801A9578 001A64D8 B3 81 00 18 */ sth r28, 0x18(r1) /* 801A957C 001A64DC 91 81 00 08 */ stw r12, 8(r1) /* 801A9580 001A64E0 91 61 00 0C */ stw r11, 0xc(r1) /* 801A9584 001A64E4 90 01 00 10 */ stw r0, 0x10(r1) /* 801A9588 001A64E8 4B F7 2F 29 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 801A958C 001A64EC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801A9590 001A64F0 38 80 FF FF */ li r4, -1 /* 801A9594 001A64F4 4B F5 D0 75 */ bl __dt__16CActorParametersFv /* 801A9598 001A64F8 38 61 01 1C */ addi r3, r1, 0x11c /* 801A959C 001A64FC 38 80 FF FF */ li r4, -1 /* 801A95A0 001A6500 4B F6 D4 AD */ bl __dt__10CModelDataFv /* 801A95A4 001A6504 80 01 00 70 */ lwz r0, 0x70(r1) /* 801A95A8 001A6508 80 61 00 78 */ lwz r3, 0x78(r1) /* 801A95AC 001A650C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801A95B0 001A6510 90 61 00 20 */ stw r3, 0x20(r1) /* 801A95B4 001A6514 7C 64 1B 78 */ mr r4, r3 /* 801A95B8 001A6518 7C 03 02 14 */ add r0, r3, r0 /* 801A95BC 001A651C 90 61 00 1C */ stw r3, 0x1c(r1) /* 801A95C0 001A6520 90 01 00 28 */ stw r0, 0x28(r1) /* 801A95C4 001A6524 90 01 00 24 */ stw r0, 0x24(r1) /* 801A95C8 001A6528 48 00 00 08 */ b lbl_801A95D0 lbl_801A95CC: /* 801A95CC 001A652C 38 84 00 0C */ addi r4, r4, 0xc lbl_801A95D0: /* 801A95D0 001A6530 7C 04 00 40 */ cmplw r4, r0 /* 801A95D4 001A6534 40 82 FF F8 */ bne lbl_801A95CC /* 801A95D8 001A6538 28 03 00 00 */ cmplwi r3, 0 /* 801A95DC 001A653C 41 82 00 08 */ beq lbl_801A95E4 /* 801A95E0 001A6540 48 16 C3 51 */ bl Free__7CMemoryFPCv lbl_801A95E4: /* 801A95E4 001A6544 38 61 00 40 */ addi r3, r1, 0x40 /* 801A95E8 001A6548 48 19 44 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A95EC 001A654C 3C 60 80 3E */ lis r3, lbl_803E4B18@ha /* 801A95F0 001A6550 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A95F4 001A6554 38 03 4B 18 */ addi r0, r3, lbl_803E4B18@l /* 801A95F8 001A6558 3C 60 80 3D */ lis r3, lbl_803D14A0@ha /* 801A95FC 001A655C 90 1B 00 00 */ stw r0, 0(r27) /* 801A9600 001A6560 38 00 00 02 */ li r0, 2 /* 801A9604 001A6564 38 63 14 A0 */ addi r3, r3, lbl_803D14A0@l /* 801A9608 001A6568 38 C4 66 A0 */ addi r6, r4, skZero3f@l /* 801A960C 001A656C 90 1B 02 58 */ stw r0, 0x258(r27) /* 801A9610 001A6570 38 00 00 00 */ li r0, 0 /* 801A9614 001A6574 38 83 00 0F */ addi r4, r3, 0xf /* 801A9618 001A6578 38 60 00 20 */ li r3, 0x20 /* 801A961C 001A657C A0 FD 00 00 */ lhz r7, 0(r29) /* 801A9620 001A6580 38 A0 00 00 */ li r5, 0 /* 801A9624 001A6584 B0 FB 02 5C */ sth r7, 0x25c(r27) /* 801A9628 001A6588 C0 06 00 00 */ lfs f0, 0(r6) /* 801A962C 001A658C D0 1B 02 60 */ stfs f0, 0x260(r27) /* 801A9630 001A6590 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A9634 001A6594 D0 1B 02 64 */ stfs f0, 0x264(r27) /* 801A9638 001A6598 C0 1F 00 08 */ lfs f0, 8(r31) /* 801A963C 001A659C D0 1B 02 68 */ stfs f0, 0x268(r27) /* 801A9640 001A65A0 C0 06 00 00 */ lfs f0, 0(r6) /* 801A9644 001A65A4 D0 1B 02 6C */ stfs f0, 0x26c(r27) /* 801A9648 001A65A8 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A964C 001A65AC D0 1B 02 70 */ stfs f0, 0x270(r27) /* 801A9650 001A65B0 C0 1F 00 08 */ lfs f0, 8(r31) /* 801A9654 001A65B4 D0 1B 02 74 */ stfs f0, 0x274(r27) /* 801A9658 001A65B8 90 1B 02 78 */ stw r0, 0x278(r27) /* 801A965C 001A65BC 90 1B 02 7C */ stw r0, 0x27c(r27) /* 801A9660 001A65C0 90 1B 02 80 */ stw r0, 0x280(r27) /* 801A9664 001A65C4 48 16 C2 09 */ bl __nw__FUlPCcPCc /* 801A9668 001A65C8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801A966C 001A65CC 41 82 00 9C */ beq lbl_801A9708 /* 801A9670 001A65D0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A9674 001A65D4 38 00 00 00 */ li r0, 0 /* 801A9678 001A65D8 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801A967C 001A65DC 80 AD 90 60 */ lwz r5, lbl_805A7C20@sda21(r13) /* 801A9680 001A65E0 C3 C4 00 00 */ lfs f30, 0(r4) /* 801A9684 001A65E4 38 60 00 00 */ li r3, 0 /* 801A9688 001A65E8 90 01 00 3C */ stw r0, 0x3c(r1) /* 801A968C 001A65EC 38 80 00 01 */ li r4, 1 /* 801A9690 001A65F0 C3 BF 00 04 */ lfs f29, 4(r31) /* 801A9694 001A65F4 90 01 00 38 */ stw r0, 0x38(r1) /* 801A9698 001A65F8 C3 9F 00 08 */ lfs f28, 8(r31) /* 801A969C 001A65FC 48 1E 08 59 */ bl __shl2i /* 801A96A0 001A6600 80 01 00 38 */ lwz r0, 0x38(r1) /* 801A96A4 001A6604 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801A96A8 001A6608 7C 00 1B 78 */ or r0, r0, r3 /* 801A96AC 001A660C 80 AD 90 64 */ lwz r5, lbl_805A7C24@sda21(r13) /* 801A96B0 001A6610 7C C4 23 78 */ or r4, r6, r4 /* 801A96B4 001A6614 90 01 00 38 */ stw r0, 0x38(r1) /* 801A96B8 001A6618 38 60 00 00 */ li r3, 0 /* 801A96BC 001A661C 90 81 00 3C */ stw r4, 0x3c(r1) /* 801A96C0 001A6620 38 80 00 01 */ li r4, 1 /* 801A96C4 001A6624 48 1E 08 31 */ bl __shl2i /* 801A96C8 001A6628 80 01 00 38 */ lwz r0, 0x38(r1) /* 801A96CC 001A662C 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 801A96D0 001A6630 7C 00 1B 78 */ or r0, r0, r3 /* 801A96D4 001A6634 7F C3 F3 78 */ mr r3, r30 /* 801A96D8 001A6638 7C A5 23 78 */ or r5, r5, r4 /* 801A96DC 001A663C 90 01 00 38 */ stw r0, 0x38(r1) /* 801A96E0 001A6640 38 81 00 38 */ addi r4, r1, 0x38 /* 801A96E4 001A6644 90 A1 00 3C */ stw r5, 0x3c(r1) /* 801A96E8 001A6648 48 12 61 CD */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 801A96EC 001A664C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha /* 801A96F0 001A6650 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l /* 801A96F4 001A6654 90 1E 00 00 */ stw r0, 0(r30) /* 801A96F8 001A6658 D3 DE 00 10 */ stfs f30, 0x10(r30) /* 801A96FC 001A665C D3 BE 00 14 */ stfs f29, 0x14(r30) /* 801A9700 001A6660 D3 9E 00 18 */ stfs f28, 0x18(r30) /* 801A9704 001A6664 D3 FE 00 1C */ stfs f31, 0x1c(r30) lbl_801A9708: /* 801A9708 001A6668 93 DB 02 84 */ stw r30, 0x284(r27) /* 801A970C 001A666C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A9710 001A6670 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A9714 001A6674 C0 02 A8 30 */ lfs f0, lbl_805AC550@sda21(r2) /* 801A9718 001A6678 D3 FB 02 88 */ stfs f31, 0x288(r27) /* 801A971C 001A667C 3C 80 80 57 */ lis r4, lbl_80570004@ha /* 801A9720 001A6680 38 00 00 10 */ li r0, 0x10 /* 801A9724 001A6684 C0 22 A8 20 */ lfs f1, lbl_805AC540@sda21(r2) /* 801A9728 001A6688 D0 1B 02 8C */ stfs f0, 0x28c(r27) /* 801A972C 001A668C 7F 63 DB 78 */ mr r3, r27 /* 801A9730 001A6690 D0 1B 02 90 */ stfs f0, 0x290(r27) /* 801A9734 001A6694 84 E4 D5 78 */ lwzu r7, -0x2a88(r4) /* 801A9738 001A6698 80 C4 00 04 */ lwz r6, lbl_80570004@l(r4) /* 801A973C 001A669C 90 FB 02 94 */ stw r7, 0x294(r27) /* 801A9740 001A66A0 90 DB 02 98 */ stw r6, 0x298(r27) /* 801A9744 001A66A4 80 E4 00 08 */ lwz r7, 8(r4) /* 801A9748 001A66A8 80 C4 00 0C */ lwz r6, 0xc(r4) /* 801A974C 001A66AC 90 FB 02 9C */ stw r7, 0x29c(r27) /* 801A9750 001A66B0 90 DB 02 A0 */ stw r6, 0x2a0(r27) /* 801A9754 001A66B4 80 E4 00 10 */ lwz r7, 0x10(r4) /* 801A9758 001A66B8 80 C4 00 14 */ lwz r6, 0x14(r4) /* 801A975C 001A66BC 90 FB 02 A4 */ stw r7, 0x2a4(r27) /* 801A9760 001A66C0 90 DB 02 A8 */ stw r6, 0x2a8(r27) /* 801A9764 001A66C4 80 E4 00 18 */ lwz r7, 0x18(r4) /* 801A9768 001A66C8 80 C4 00 1C */ lwz r6, 0x1c(r4) /* 801A976C 001A66CC 90 FB 02 AC */ stw r7, 0x2ac(r27) /* 801A9770 001A66D0 90 DB 02 B0 */ stw r6, 0x2b0(r27) /* 801A9774 001A66D4 80 E4 00 20 */ lwz r7, 0x20(r4) /* 801A9778 001A66D8 80 C4 00 24 */ lwz r6, 0x24(r4) /* 801A977C 001A66DC 90 FB 02 B4 */ stw r7, 0x2b4(r27) /* 801A9780 001A66E0 90 DB 02 B8 */ stw r6, 0x2b8(r27) /* 801A9784 001A66E4 80 E4 00 28 */ lwz r7, 0x28(r4) /* 801A9788 001A66E8 80 C4 00 2C */ lwz r6, 0x2c(r4) /* 801A978C 001A66EC 90 FB 02 BC */ stw r7, 0x2bc(r27) /* 801A9790 001A66F0 90 DB 02 C0 */ stw r6, 0x2c0(r27) /* 801A9794 001A66F4 80 E4 00 30 */ lwz r7, 0x30(r4) /* 801A9798 001A66F8 80 C4 00 34 */ lwz r6, 0x34(r4) /* 801A979C 001A66FC 90 FB 02 C4 */ stw r7, 0x2c4(r27) /* 801A97A0 001A6700 90 DB 02 C8 */ stw r6, 0x2c8(r27) /* 801A97A4 001A6704 80 C4 00 38 */ lwz r6, 0x38(r4) /* 801A97A8 001A6708 90 DB 02 CC */ stw r6, 0x2cc(r27) /* 801A97AC 001A670C 80 E4 00 3C */ lwz r7, 0x3c(r4) /* 801A97B0 001A6710 80 C4 00 40 */ lwz r6, 0x40(r4) /* 801A97B4 001A6714 90 FB 02 D0 */ stw r7, 0x2d0(r27) /* 801A97B8 001A6718 90 DB 02 D4 */ stw r6, 0x2d4(r27) /* 801A97BC 001A671C 80 E4 00 44 */ lwz r7, 0x44(r4) /* 801A97C0 001A6720 80 C4 00 48 */ lwz r6, 0x48(r4) /* 801A97C4 001A6724 90 FB 02 D8 */ stw r7, 0x2d8(r27) /* 801A97C8 001A6728 90 DB 02 DC */ stw r6, 0x2dc(r27) /* 801A97CC 001A672C 80 E4 00 4C */ lwz r7, 0x4c(r4) /* 801A97D0 001A6730 80 C4 00 50 */ lwz r6, 0x50(r4) /* 801A97D4 001A6734 90 FB 02 E0 */ stw r7, 0x2e0(r27) /* 801A97D8 001A6738 90 DB 02 E4 */ stw r6, 0x2e4(r27) /* 801A97DC 001A673C 80 E4 00 54 */ lwz r7, 0x54(r4) /* 801A97E0 001A6740 80 C4 00 58 */ lwz r6, 0x58(r4) /* 801A97E4 001A6744 90 FB 02 E8 */ stw r7, 0x2e8(r27) /* 801A97E8 001A6748 90 DB 02 EC */ stw r6, 0x2ec(r27) /* 801A97EC 001A674C 80 C4 00 5C */ lwz r6, 0x5c(r4) /* 801A97F0 001A6750 90 DB 02 F0 */ stw r6, 0x2f0(r27) /* 801A97F4 001A6754 80 C4 00 60 */ lwz r6, 0x60(r4) /* 801A97F8 001A6758 90 DB 02 F4 */ stw r6, 0x2f4(r27) /* 801A97FC 001A675C 80 84 00 64 */ lwz r4, 0x64(r4) /* 801A9800 001A6760 90 9B 02 F8 */ stw r4, 0x2f8(r27) /* 801A9804 001A6764 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801A9808 001A6768 B0 9B 02 FC */ sth r4, 0x2fc(r27) /* 801A980C 001A676C 90 1B 03 00 */ stw r0, 0x300(r27) /* 801A9810 001A6770 C0 05 00 00 */ lfs f0, 0(r5) /* 801A9814 001A6774 D0 1B 03 04 */ stfs f0, 0x304(r27) /* 801A9818 001A6778 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A981C 001A677C D0 1B 03 08 */ stfs f0, 0x308(r27) /* 801A9820 001A6780 C0 1F 00 08 */ lfs f0, 8(r31) /* 801A9824 001A6784 D0 1B 03 0C */ stfs f0, 0x30c(r27) /* 801A9828 001A6788 4B F7 0C B9 */ bl SetCoefficientOfRestitutionModifier__13CPhysicsActorFf /* 801A982C 001A678C 7F 63 DB 78 */ mr r3, r27 /* 801A9830 001A6790 38 80 00 00 */ li r4, 0 /* 801A9834 001A6794 4B EA AB 85 */ bl SetCallTouch__6CActorFb /* 801A9838 001A6798 80 AD 90 6C */ lwz r5, lbl_805A7C2C@sda21(r13) /* 801A983C 001A679C 38 60 00 00 */ li r3, 0 /* 801A9840 001A67A0 38 80 00 01 */ li r4, 1 /* 801A9844 001A67A4 48 1E 06 B1 */ bl __shl2i /* 801A9848 001A67A8 80 AD 90 70 */ lwz r5, lbl_805A7C30@sda21(r13) /* 801A984C 001A67AC 7C 9C 23 78 */ mr r28, r4 /* 801A9850 001A67B0 7C 7A 1B 78 */ mr r26, r3 /* 801A9854 001A67B4 38 60 00 00 */ li r3, 0 /* 801A9858 001A67B8 38 80 00 01 */ li r4, 1 /* 801A985C 001A67BC 48 1E 06 99 */ bl __shl2i /* 801A9860 001A67C0 80 AD 90 68 */ lwz r5, lbl_805A7C28@sda21(r13) /* 801A9864 001A67C4 7F 9C 23 78 */ or r28, r28, r4 /* 801A9868 001A67C8 7F 5A 1B 78 */ or r26, r26, r3 /* 801A986C 001A67CC 38 60 00 00 */ li r3, 0 /* 801A9870 001A67D0 38 80 00 01 */ li r4, 1 /* 801A9874 001A67D4 48 1E 06 81 */ bl __shl2i /* 801A9878 001A67D8 38 00 00 03 */ li r0, 3 /* 801A987C 001A67DC 90 81 00 54 */ stw r4, 0x54(r1) /* 801A9880 001A67E0 38 81 00 50 */ addi r4, r1, 0x50 /* 801A9884 001A67E4 90 61 00 50 */ stw r3, 0x50(r1) /* 801A9888 001A67E8 7F 63 DB 78 */ mr r3, r27 /* 801A988C 001A67EC 93 81 00 5C */ stw r28, 0x5c(r1) /* 801A9890 001A67F0 93 41 00 58 */ stw r26, 0x58(r1) /* 801A9894 001A67F4 90 01 00 60 */ stw r0, 0x60(r1) /* 801A9898 001A67F8 4B EA A0 09 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801A989C 001A67FC 7F 63 DB 78 */ mr r3, r27 /* 801A98A0 001A6800 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 /* 801A98A4 001A6804 CB E1 01 B0 */ lfd f31, 0x1b0(r1) /* 801A98A8 001A6808 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 /* 801A98AC 001A680C CB C1 01 A0 */ lfd f30, 0x1a0(r1) /* 801A98B0 001A6810 E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 /* 801A98B4 001A6814 CB A1 01 90 */ lfd f29, 0x190(r1) /* 801A98B8 001A6818 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 /* 801A98BC 001A681C CB 81 01 80 */ lfd f28, 0x180(r1) /* 801A98C0 001A6820 BB 41 01 68 */ lmw r26, 0x168(r1) /* 801A98C4 001A6824 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 801A98C8 001A6828 7C 08 03 A6 */ mtlr r0 /* 801A98CC 001A682C 38 21 01 C0 */ addi r1, r1, 0x1c0 /* 801A98D0 001A6830 4E 80 00 20 */ blr .global __ct__15CCollisionActorF9TUniqueId9TUniqueIdRC9CVector3fRC9CVector3fbf __ct__15CCollisionActorF9TUniqueId9TUniqueIdRC9CVector3fRC9CVector3fbf: /* 801A98D4 001A6834 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 801A98D8 001A6838 7C 08 02 A6 */ mflr r0 /* 801A98DC 001A683C 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 801A98E0 001A6840 DB E1 01 C0 */ stfd f31, 0x1c0(r1) /* 801A98E4 001A6844 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 /* 801A98E8 001A6848 BF 21 01 A4 */ stmw r25, 0x1a4(r1) /* 801A98EC 001A684C 3D 20 80 3D */ lis r9, lbl_803D14A0@ha /* 801A98F0 001A6850 FF E0 08 90 */ fmr f31, f1 /* 801A98F4 001A6854 38 09 14 A0 */ addi r0, r9, lbl_803D14A0@l /* 801A98F8 001A6858 7C 7A 1B 78 */ mr r26, r3 /* 801A98FC 001A685C 7C 9B 23 78 */ mr r27, r4 /* 801A9900 001A6860 7C B9 2B 78 */ mr r25, r5 /* 801A9904 001A6864 7C DC 33 78 */ mr r28, r6 /* 801A9908 001A6868 7C FD 3B 78 */ mr r29, r7 /* 801A990C 001A686C 7D 1E 43 78 */ mr r30, r8 /* 801A9910 001A6870 7C 04 03 78 */ mr r4, r0 /* 801A9914 001A6874 38 61 00 58 */ addi r3, r1, 0x58 /* 801A9918 001A6878 4B E5 B3 A1 */ bl string_l__4rstlFPCc /* 801A991C 001A687C 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 801A9920 001A6880 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801A9924 001A6884 80 19 00 00 */ lwz r0, 0(r25) /* 801A9928 001A6888 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801A992C 001A688C 90 81 00 2C */ stw r4, 0x2c(r1) /* 801A9930 001A6890 38 61 00 98 */ addi r3, r1, 0x98 /* 801A9934 001A6894 38 81 00 30 */ addi r4, r1, 0x30 /* 801A9938 001A6898 38 C1 00 2C */ addi r6, r1, 0x2c /* 801A993C 001A689C 90 01 00 30 */ stw r0, 0x30(r1) /* 801A9940 001A68A0 4B EA 7B 45 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801A9944 001A68A4 38 61 01 4C */ addi r3, r1, 0x14c /* 801A9948 001A68A8 4B E9 0E 5D */ bl CModelDataNull__10CModelDataFv /* 801A994C 001A68AC 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801A9950 001A68B0 4B E7 14 E9 */ bl None__16CActorParametersFv /* 801A9954 001A68B4 4B E7 1B E1 */ bl Identity__10CAxisAngleFv /* 801A9958 001A68B8 7C 79 1B 78 */ mr r25, r3 /* 801A995C 001A68BC 4B E7 1B D9 */ bl Identity__10CAxisAngleFv /* 801A9960 001A68C0 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A9964 001A68C4 3C A0 80 5A */ lis r5, lbl_805A6784@ha /* 801A9968 001A68C8 3B E4 66 A0 */ addi r31, r4, skZero3f@l /* 801A996C 001A68CC A3 7B 00 00 */ lhz r27, 0(r27) /* 801A9970 001A68D0 C0 7F 00 00 */ lfs f3, 0(r31) /* 801A9974 001A68D4 39 85 67 84 */ addi r12, r5, lbl_805A6784@l /* 801A9978 001A68D8 C0 9F 00 04 */ lfs f4, 4(r31) /* 801A997C 001A68DC 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801A9980 001A68E0 C0 BF 00 08 */ lfs f5, 8(r31) /* 801A9984 001A68E4 39 04 66 70 */ addi r8, r4, skIdentity4f@l /* 801A9988 001A68E8 D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 801A998C 001A68EC 39 61 00 B0 */ addi r11, r1, 0xb0 /* 801A9990 001A68F0 38 01 00 E4 */ addi r0, r1, 0xe4 /* 801A9994 001A68F4 C0 22 A8 28 */ lfs f1, lbl_805AC548@sda21(r2) /* 801A9998 001A68F8 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801A999C 001A68FC 7F C5 F3 78 */ mr r5, r30 /* 801A99A0 001A6900 C0 42 A8 2C */ lfs f2, lbl_805AC54C@sda21(r2) /* 801A99A4 001A6904 38 81 00 18 */ addi r4, r1, 0x18 /* 801A99A8 001A6908 D0 A1 00 B8 */ stfs f5, 0xb8(r1) /* 801A99AC 001A690C 38 C1 00 58 */ addi r6, r1, 0x58 /* 801A99B0 001A6910 38 E1 00 98 */ addi r7, r1, 0x98 /* 801A99B4 001A6914 39 21 01 4C */ addi r9, r1, 0x14c /* 801A99B8 001A6918 C0 03 00 00 */ lfs f0, 0(r3) /* 801A99BC 001A691C 39 4D A4 90 */ addi r10, r13, lbl_805A9050@sda21 /* 801A99C0 001A6920 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801A99C4 001A6924 C0 03 00 04 */ lfs f0, 4(r3) /* 801A99C8 001A6928 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801A99CC 001A692C C0 03 00 08 */ lfs f0, 8(r3) /* 801A99D0 001A6930 7F 43 D3 78 */ mr r3, r26 /* 801A99D4 001A6934 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801A99D8 001A6938 D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 801A99DC 001A693C D0 81 00 CC */ stfs f4, 0xcc(r1) /* 801A99E0 001A6940 D0 A1 00 D0 */ stfs f5, 0xd0(r1) /* 801A99E4 001A6944 C0 19 00 00 */ lfs f0, 0(r25) /* 801A99E8 001A6948 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 801A99EC 001A694C C0 19 00 04 */ lfs f0, 4(r25) /* 801A99F0 001A6950 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 801A99F4 001A6954 C0 19 00 08 */ lfs f0, 8(r25) /* 801A99F8 001A6958 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801A99FC 001A695C D3 E1 00 E0 */ stfs f31, 0xe0(r1) /* 801A9A00 001A6960 B3 61 00 18 */ sth r27, 0x18(r1) /* 801A9A04 001A6964 91 81 00 08 */ stw r12, 8(r1) /* 801A9A08 001A6968 91 61 00 0C */ stw r11, 0xc(r1) /* 801A9A0C 001A696C 90 01 00 10 */ stw r0, 0x10(r1) /* 801A9A10 001A6970 4B F7 2A A1 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 801A9A14 001A6974 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801A9A18 001A6978 38 80 FF FF */ li r4, -1 /* 801A9A1C 001A697C 4B F5 CB ED */ bl __dt__16CActorParametersFv /* 801A9A20 001A6980 38 61 01 4C */ addi r3, r1, 0x14c /* 801A9A24 001A6984 38 80 FF FF */ li r4, -1 /* 801A9A28 001A6988 4B F6 D0 25 */ bl __dt__10CModelDataFv /* 801A9A2C 001A698C 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801A9A30 001A6990 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801A9A34 001A6994 1C 00 00 0C */ mulli r0, r0, 0xc /* 801A9A38 001A6998 90 61 00 20 */ stw r3, 0x20(r1) /* 801A9A3C 001A699C 7C 64 1B 78 */ mr r4, r3 /* 801A9A40 001A69A0 7C 03 02 14 */ add r0, r3, r0 /* 801A9A44 001A69A4 90 61 00 1C */ stw r3, 0x1c(r1) /* 801A9A48 001A69A8 90 01 00 28 */ stw r0, 0x28(r1) /* 801A9A4C 001A69AC 90 01 00 24 */ stw r0, 0x24(r1) /* 801A9A50 001A69B0 48 00 00 08 */ b lbl_801A9A58 lbl_801A9A54: /* 801A9A54 001A69B4 38 84 00 0C */ addi r4, r4, 0xc lbl_801A9A58: /* 801A9A58 001A69B8 7C 04 00 40 */ cmplw r4, r0 /* 801A9A5C 001A69BC 40 82 FF F8 */ bne lbl_801A9A54 /* 801A9A60 001A69C0 28 03 00 00 */ cmplwi r3, 0 /* 801A9A64 001A69C4 41 82 00 08 */ beq lbl_801A9A6C /* 801A9A68 001A69C8 48 16 BE C9 */ bl Free__7CMemoryFPCv lbl_801A9A6C: /* 801A9A6C 001A69CC 38 61 00 58 */ addi r3, r1, 0x58 /* 801A9A70 001A69D0 48 19 40 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A9A74 001A69D4 3C 60 80 3E */ lis r3, lbl_803E4B18@ha /* 801A9A78 001A69D8 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A9A7C 001A69DC 38 03 4B 18 */ addi r0, r3, lbl_803E4B18@l /* 801A9A80 001A69E0 3C 60 80 3D */ lis r3, lbl_803D14A0@ha /* 801A9A84 001A69E4 90 1A 00 00 */ stw r0, 0(r26) /* 801A9A88 001A69E8 38 00 00 01 */ li r0, 1 /* 801A9A8C 001A69EC 38 63 14 A0 */ addi r3, r3, lbl_803D14A0@l /* 801A9A90 001A69F0 38 C4 66 A0 */ addi r6, r4, skZero3f@l /* 801A9A94 001A69F4 90 1A 02 58 */ stw r0, 0x258(r26) /* 801A9A98 001A69F8 38 00 00 00 */ li r0, 0 /* 801A9A9C 001A69FC 38 83 00 0F */ addi r4, r3, 0xf /* 801A9AA0 001A6A00 38 60 00 28 */ li r3, 0x28 /* 801A9AA4 001A6A04 A0 FC 00 00 */ lhz r7, 0(r28) /* 801A9AA8 001A6A08 38 A0 00 00 */ li r5, 0 /* 801A9AAC 001A6A0C B0 FA 02 5C */ sth r7, 0x25c(r26) /* 801A9AB0 001A6A10 C0 1D 00 00 */ lfs f0, 0(r29) /* 801A9AB4 001A6A14 D0 1A 02 60 */ stfs f0, 0x260(r26) /* 801A9AB8 001A6A18 C0 1D 00 04 */ lfs f0, 4(r29) /* 801A9ABC 001A6A1C D0 1A 02 64 */ stfs f0, 0x264(r26) /* 801A9AC0 001A6A20 C0 1D 00 08 */ lfs f0, 8(r29) /* 801A9AC4 001A6A24 D0 1A 02 68 */ stfs f0, 0x268(r26) /* 801A9AC8 001A6A28 C0 06 00 00 */ lfs f0, 0(r6) /* 801A9ACC 001A6A2C D0 1A 02 6C */ stfs f0, 0x26c(r26) /* 801A9AD0 001A6A30 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A9AD4 001A6A34 D0 1A 02 70 */ stfs f0, 0x270(r26) /* 801A9AD8 001A6A38 C0 1F 00 08 */ lfs f0, 8(r31) /* 801A9ADC 001A6A3C D0 1A 02 74 */ stfs f0, 0x274(r26) /* 801A9AE0 001A6A40 90 1A 02 78 */ stw r0, 0x278(r26) /* 801A9AE4 001A6A44 90 1A 02 7C */ stw r0, 0x27c(r26) /* 801A9AE8 001A6A48 48 16 BD 85 */ bl __nw__FUlPCcPCc /* 801A9AEC 001A6A4C 7C 79 1B 79 */ or. r25, r3, r3 /* 801A9AF0 001A6A50 41 82 00 FC */ beq lbl_801A9BEC /* 801A9AF4 001A6A54 C0 82 A8 34 */ lfs f4, lbl_805AC554@sda21(r2) /* 801A9AF8 001A6A58 38 00 00 00 */ li r0, 0 /* 801A9AFC 001A6A5C C0 7A 02 60 */ lfs f3, 0x260(r26) /* 801A9B00 001A6A60 38 60 00 00 */ li r3, 0 /* 801A9B04 001A6A64 C0 5A 02 64 */ lfs f2, 0x264(r26) /* 801A9B08 001A6A68 38 80 00 01 */ li r4, 1 /* 801A9B0C 001A6A6C C0 3A 02 68 */ lfs f1, 0x268(r26) /* 801A9B10 001A6A70 EC C4 00 F2 */ fmuls f6, f4, f3 /* 801A9B14 001A6A74 EC A4 00 B2 */ fmuls f5, f4, f2 /* 801A9B18 001A6A78 C0 02 A8 20 */ lfs f0, lbl_805AC540@sda21(r2) /* 801A9B1C 001A6A7C EC 84 00 72 */ fmuls f4, f4, f1 /* 801A9B20 001A6A80 80 AD 90 4C */ lwz r5, lbl_805A7C0C@sda21(r13) /* 801A9B24 001A6A84 EC 40 00 B2 */ fmuls f2, f0, f2 /* 801A9B28 001A6A88 EC 20 00 72 */ fmuls f1, f0, f1 /* 801A9B2C 001A6A8C EC 00 00 F2 */ fmuls f0, f0, f3 /* 801A9B30 001A6A90 D0 C1 00 40 */ stfs f6, 0x40(r1) /* 801A9B34 001A6A94 D0 A1 00 44 */ stfs f5, 0x44(r1) /* 801A9B38 001A6A98 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801A9B3C 001A6A9C D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801A9B40 001A6AA0 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801A9B44 001A6AA4 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801A9B48 001A6AA8 90 01 00 3C */ stw r0, 0x3c(r1) /* 801A9B4C 001A6AAC 90 01 00 38 */ stw r0, 0x38(r1) /* 801A9B50 001A6AB0 48 1E 03 A5 */ bl __shl2i /* 801A9B54 001A6AB4 80 01 00 38 */ lwz r0, 0x38(r1) /* 801A9B58 001A6AB8 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801A9B5C 001A6ABC 7C 00 1B 78 */ or r0, r0, r3 /* 801A9B60 001A6AC0 80 AD 90 50 */ lwz r5, lbl_805A7C10@sda21(r13) /* 801A9B64 001A6AC4 7C C4 23 78 */ or r4, r6, r4 /* 801A9B68 001A6AC8 90 01 00 38 */ stw r0, 0x38(r1) /* 801A9B6C 001A6ACC 38 60 00 00 */ li r3, 0 /* 801A9B70 001A6AD0 90 81 00 3C */ stw r4, 0x3c(r1) /* 801A9B74 001A6AD4 38 80 00 01 */ li r4, 1 /* 801A9B78 001A6AD8 48 1E 03 7D */ bl __shl2i /* 801A9B7C 001A6ADC 80 01 00 38 */ lwz r0, 0x38(r1) /* 801A9B80 001A6AE0 38 A1 00 4C */ addi r5, r1, 0x4c /* 801A9B84 001A6AE4 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801A9B88 001A6AE8 7C 00 1B 78 */ or r0, r0, r3 /* 801A9B8C 001A6AEC 38 61 00 80 */ addi r3, r1, 0x80 /* 801A9B90 001A6AF0 7C C6 23 78 */ or r6, r6, r4 /* 801A9B94 001A6AF4 90 01 00 38 */ stw r0, 0x38(r1) /* 801A9B98 001A6AF8 38 81 00 40 */ addi r4, r1, 0x40 /* 801A9B9C 001A6AFC 90 C1 00 3C */ stw r6, 0x3c(r1) /* 801A9BA0 001A6B00 48 18 E9 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801A9BA4 001A6B04 7F 23 CB 78 */ mr r3, r25 /* 801A9BA8 001A6B08 38 81 00 38 */ addi r4, r1, 0x38 /* 801A9BAC 001A6B0C 48 12 5D 09 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 801A9BB0 001A6B10 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 801A9BB4 001A6B14 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 801A9BB8 001A6B18 90 19 00 00 */ stw r0, 0(r25) /* 801A9BBC 001A6B1C C0 01 00 80 */ lfs f0, 0x80(r1) /* 801A9BC0 001A6B20 D0 19 00 10 */ stfs f0, 0x10(r25) /* 801A9BC4 001A6B24 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801A9BC8 001A6B28 D0 19 00 14 */ stfs f0, 0x14(r25) /* 801A9BCC 001A6B2C C0 01 00 88 */ lfs f0, 0x88(r1) /* 801A9BD0 001A6B30 D0 19 00 18 */ stfs f0, 0x18(r25) /* 801A9BD4 001A6B34 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 801A9BD8 001A6B38 D0 19 00 1C */ stfs f0, 0x1c(r25) /* 801A9BDC 001A6B3C C0 01 00 90 */ lfs f0, 0x90(r1) /* 801A9BE0 001A6B40 D0 19 00 20 */ stfs f0, 0x20(r25) /* 801A9BE4 001A6B44 C0 01 00 94 */ lfs f0, 0x94(r1) /* 801A9BE8 001A6B48 D0 19 00 24 */ stfs f0, 0x24(r25) lbl_801A9BEC: /* 801A9BEC 001A6B4C 93 3A 02 80 */ stw r25, 0x280(r26) /* 801A9BF0 001A6B50 38 00 00 00 */ li r0, 0 /* 801A9BF4 001A6B54 3C 60 80 5A */ lis r3, skZero3f@ha /* 801A9BF8 001A6B58 C0 02 A8 30 */ lfs f0, lbl_805AC550@sda21(r2) /* 801A9BFC 001A6B5C 90 1A 02 84 */ stw r0, 0x284(r26) /* 801A9C00 001A6B60 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801A9C04 001A6B64 3C 80 80 57 */ lis r4, lbl_80570004@ha /* 801A9C08 001A6B68 38 00 00 10 */ li r0, 0x10 /* 801A9C0C 001A6B6C D0 1A 02 88 */ stfs f0, 0x288(r26) /* 801A9C10 001A6B70 7F 43 D3 78 */ mr r3, r26 /* 801A9C14 001A6B74 C0 22 A8 20 */ lfs f1, lbl_805AC540@sda21(r2) /* 801A9C18 001A6B78 D0 1A 02 8C */ stfs f0, 0x28c(r26) /* 801A9C1C 001A6B7C D0 1A 02 90 */ stfs f0, 0x290(r26) /* 801A9C20 001A6B80 84 E4 D5 78 */ lwzu r7, -0x2a88(r4) /* 801A9C24 001A6B84 80 C4 00 04 */ lwz r6, lbl_80570004@l(r4) /* 801A9C28 001A6B88 90 FA 02 94 */ stw r7, 0x294(r26) /* 801A9C2C 001A6B8C 90 DA 02 98 */ stw r6, 0x298(r26) /* 801A9C30 001A6B90 80 E4 00 08 */ lwz r7, 8(r4) /* 801A9C34 001A6B94 80 C4 00 0C */ lwz r6, 0xc(r4) /* 801A9C38 001A6B98 90 FA 02 9C */ stw r7, 0x29c(r26) /* 801A9C3C 001A6B9C 90 DA 02 A0 */ stw r6, 0x2a0(r26) /* 801A9C40 001A6BA0 80 E4 00 10 */ lwz r7, 0x10(r4) /* 801A9C44 001A6BA4 80 C4 00 14 */ lwz r6, 0x14(r4) /* 801A9C48 001A6BA8 90 FA 02 A4 */ stw r7, 0x2a4(r26) /* 801A9C4C 001A6BAC 90 DA 02 A8 */ stw r6, 0x2a8(r26) /* 801A9C50 001A6BB0 80 E4 00 18 */ lwz r7, 0x18(r4) /* 801A9C54 001A6BB4 80 C4 00 1C */ lwz r6, 0x1c(r4) /* 801A9C58 001A6BB8 90 FA 02 AC */ stw r7, 0x2ac(r26) /* 801A9C5C 001A6BBC 90 DA 02 B0 */ stw r6, 0x2b0(r26) /* 801A9C60 001A6BC0 80 E4 00 20 */ lwz r7, 0x20(r4) /* 801A9C64 001A6BC4 80 C4 00 24 */ lwz r6, 0x24(r4) /* 801A9C68 001A6BC8 90 FA 02 B4 */ stw r7, 0x2b4(r26) /* 801A9C6C 001A6BCC 90 DA 02 B8 */ stw r6, 0x2b8(r26) /* 801A9C70 001A6BD0 80 E4 00 28 */ lwz r7, 0x28(r4) /* 801A9C74 001A6BD4 80 C4 00 2C */ lwz r6, 0x2c(r4) /* 801A9C78 001A6BD8 90 FA 02 BC */ stw r7, 0x2bc(r26) /* 801A9C7C 001A6BDC 90 DA 02 C0 */ stw r6, 0x2c0(r26) /* 801A9C80 001A6BE0 80 E4 00 30 */ lwz r7, 0x30(r4) /* 801A9C84 001A6BE4 80 C4 00 34 */ lwz r6, 0x34(r4) /* 801A9C88 001A6BE8 90 FA 02 C4 */ stw r7, 0x2c4(r26) /* 801A9C8C 001A6BEC 90 DA 02 C8 */ stw r6, 0x2c8(r26) /* 801A9C90 001A6BF0 80 C4 00 38 */ lwz r6, 0x38(r4) /* 801A9C94 001A6BF4 90 DA 02 CC */ stw r6, 0x2cc(r26) /* 801A9C98 001A6BF8 80 E4 00 3C */ lwz r7, 0x3c(r4) /* 801A9C9C 001A6BFC 80 C4 00 40 */ lwz r6, 0x40(r4) /* 801A9CA0 001A6C00 90 FA 02 D0 */ stw r7, 0x2d0(r26) /* 801A9CA4 001A6C04 90 DA 02 D4 */ stw r6, 0x2d4(r26) /* 801A9CA8 001A6C08 80 E4 00 44 */ lwz r7, 0x44(r4) /* 801A9CAC 001A6C0C 80 C4 00 48 */ lwz r6, 0x48(r4) /* 801A9CB0 001A6C10 90 FA 02 D8 */ stw r7, 0x2d8(r26) /* 801A9CB4 001A6C14 90 DA 02 DC */ stw r6, 0x2dc(r26) /* 801A9CB8 001A6C18 80 E4 00 4C */ lwz r7, 0x4c(r4) /* 801A9CBC 001A6C1C 80 C4 00 50 */ lwz r6, 0x50(r4) /* 801A9CC0 001A6C20 90 FA 02 E0 */ stw r7, 0x2e0(r26) /* 801A9CC4 001A6C24 90 DA 02 E4 */ stw r6, 0x2e4(r26) /* 801A9CC8 001A6C28 80 E4 00 54 */ lwz r7, 0x54(r4) /* 801A9CCC 001A6C2C 80 C4 00 58 */ lwz r6, 0x58(r4) /* 801A9CD0 001A6C30 90 FA 02 E8 */ stw r7, 0x2e8(r26) /* 801A9CD4 001A6C34 90 DA 02 EC */ stw r6, 0x2ec(r26) /* 801A9CD8 001A6C38 80 C4 00 5C */ lwz r6, 0x5c(r4) /* 801A9CDC 001A6C3C 90 DA 02 F0 */ stw r6, 0x2f0(r26) /* 801A9CE0 001A6C40 80 C4 00 60 */ lwz r6, 0x60(r4) /* 801A9CE4 001A6C44 90 DA 02 F4 */ stw r6, 0x2f4(r26) /* 801A9CE8 001A6C48 80 84 00 64 */ lwz r4, 0x64(r4) /* 801A9CEC 001A6C4C 90 9A 02 F8 */ stw r4, 0x2f8(r26) /* 801A9CF0 001A6C50 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801A9CF4 001A6C54 B0 9A 02 FC */ sth r4, 0x2fc(r26) /* 801A9CF8 001A6C58 90 1A 03 00 */ stw r0, 0x300(r26) /* 801A9CFC 001A6C5C C0 05 00 00 */ lfs f0, 0(r5) /* 801A9D00 001A6C60 D0 1A 03 04 */ stfs f0, 0x304(r26) /* 801A9D04 001A6C64 C0 1F 00 04 */ lfs f0, 4(r31) /* 801A9D08 001A6C68 D0 1A 03 08 */ stfs f0, 0x308(r26) /* 801A9D0C 001A6C6C C0 1F 00 08 */ lfs f0, 8(r31) /* 801A9D10 001A6C70 D0 1A 03 0C */ stfs f0, 0x30c(r26) /* 801A9D14 001A6C74 4B F7 07 CD */ bl SetCoefficientOfRestitutionModifier__13CPhysicsActorFf /* 801A9D18 001A6C78 7F 43 D3 78 */ mr r3, r26 /* 801A9D1C 001A6C7C 38 80 00 00 */ li r4, 0 /* 801A9D20 001A6C80 4B EA A6 99 */ bl SetCallTouch__6CActorFb /* 801A9D24 001A6C84 80 AD 90 58 */ lwz r5, lbl_805A7C18@sda21(r13) /* 801A9D28 001A6C88 38 60 00 00 */ li r3, 0 /* 801A9D2C 001A6C8C 38 80 00 01 */ li r4, 1 /* 801A9D30 001A6C90 48 1E 01 C5 */ bl __shl2i /* 801A9D34 001A6C94 80 AD 90 5C */ lwz r5, lbl_805A7C1C@sda21(r13) /* 801A9D38 001A6C98 7C 9B 23 78 */ mr r27, r4 /* 801A9D3C 001A6C9C 7C 79 1B 78 */ mr r25, r3 /* 801A9D40 001A6CA0 38 60 00 00 */ li r3, 0 /* 801A9D44 001A6CA4 38 80 00 01 */ li r4, 1 /* 801A9D48 001A6CA8 48 1E 01 AD */ bl __shl2i /* 801A9D4C 001A6CAC 80 AD 90 54 */ lwz r5, lbl_805A7C14@sda21(r13) /* 801A9D50 001A6CB0 7F 7B 23 78 */ or r27, r27, r4 /* 801A9D54 001A6CB4 7F 39 1B 78 */ or r25, r25, r3 /* 801A9D58 001A6CB8 38 60 00 00 */ li r3, 0 /* 801A9D5C 001A6CBC 38 80 00 01 */ li r4, 1 /* 801A9D60 001A6CC0 48 1E 01 95 */ bl __shl2i /* 801A9D64 001A6CC4 38 00 00 03 */ li r0, 3 /* 801A9D68 001A6CC8 90 81 00 6C */ stw r4, 0x6c(r1) /* 801A9D6C 001A6CCC 38 81 00 68 */ addi r4, r1, 0x68 /* 801A9D70 001A6CD0 90 61 00 68 */ stw r3, 0x68(r1) /* 801A9D74 001A6CD4 7F 43 D3 78 */ mr r3, r26 /* 801A9D78 001A6CD8 93 61 00 74 */ stw r27, 0x74(r1) /* 801A9D7C 001A6CDC 93 21 00 70 */ stw r25, 0x70(r1) /* 801A9D80 001A6CE0 90 01 00 78 */ stw r0, 0x78(r1) /* 801A9D84 001A6CE4 4B EA 9B 1D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801A9D88 001A6CE8 7F 43 D3 78 */ mr r3, r26 /* 801A9D8C 001A6CEC E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 /* 801A9D90 001A6CF0 CB E1 01 C0 */ lfd f31, 0x1c0(r1) /* 801A9D94 001A6CF4 BB 21 01 A4 */ lmw r25, 0x1a4(r1) /* 801A9D98 001A6CF8 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 801A9D9C 001A6CFC 7C 08 03 A6 */ mtlr r0 /* 801A9DA0 001A6D00 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 801A9DA4 001A6D04 4E 80 00 20 */ blr .global __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf: /* 801A9DA8 001A6D08 94 21 FE 70 */ stwu r1, -0x190(r1) /* 801A9DAC 001A6D0C 7C 08 02 A6 */ mflr r0 /* 801A9DB0 001A6D10 90 01 01 94 */ stw r0, 0x194(r1) /* 801A9DB4 001A6D14 DB E1 01 80 */ stfd f31, 0x180(r1) /* 801A9DB8 001A6D18 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 /* 801A9DBC 001A6D1C BF 01 01 60 */ stmw r24, 0x160(r1) /* 801A9DC0 001A6D20 3D 40 80 3D */ lis r10, lbl_803D14A0@ha /* 801A9DC4 001A6D24 FF E0 08 90 */ fmr f31, f1 /* 801A9DC8 001A6D28 38 0A 14 A0 */ addi r0, r10, lbl_803D14A0@l /* 801A9DCC 001A6D2C 7C 7F 1B 78 */ mr r31, r3 /* 801A9DD0 001A6D30 7C 99 23 78 */ mr r25, r4 /* 801A9DD4 001A6D34 7C B8 2B 78 */ mr r24, r5 /* 801A9DD8 001A6D38 7C DA 33 78 */ mr r26, r6 /* 801A9DDC 001A6D3C 7C FB 3B 78 */ mr r27, r7 /* 801A9DE0 001A6D40 7D 1C 43 78 */ mr r28, r8 /* 801A9DE4 001A6D44 7D 3D 4B 78 */ mr r29, r9 /* 801A9DE8 001A6D48 7C 04 03 78 */ mr r4, r0 /* 801A9DEC 001A6D4C 38 61 00 34 */ addi r3, r1, 0x34 /* 801A9DF0 001A6D50 4B E5 AE C9 */ bl string_l__4rstlFPCc /* 801A9DF4 001A6D54 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 801A9DF8 001A6D58 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801A9DFC 001A6D5C 80 18 00 00 */ lwz r0, 0(r24) /* 801A9E00 001A6D60 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801A9E04 001A6D64 90 81 00 2C */ stw r4, 0x2c(r1) /* 801A9E08 001A6D68 38 61 00 60 */ addi r3, r1, 0x60 /* 801A9E0C 001A6D6C 38 81 00 30 */ addi r4, r1, 0x30 /* 801A9E10 001A6D70 38 C1 00 2C */ addi r6, r1, 0x2c /* 801A9E14 001A6D74 90 01 00 30 */ stw r0, 0x30(r1) /* 801A9E18 001A6D78 4B EA 76 6D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801A9E1C 001A6D7C 38 61 01 14 */ addi r3, r1, 0x114 /* 801A9E20 001A6D80 4B E9 09 85 */ bl CModelDataNull__10CModelDataFv /* 801A9E24 001A6D84 38 61 00 AC */ addi r3, r1, 0xac /* 801A9E28 001A6D88 4B E7 10 11 */ bl None__16CActorParametersFv /* 801A9E2C 001A6D8C 4B E7 17 09 */ bl Identity__10CAxisAngleFv /* 801A9E30 001A6D90 7C 78 1B 78 */ mr r24, r3 /* 801A9E34 001A6D94 4B E7 17 01 */ bl Identity__10CAxisAngleFv /* 801A9E38 001A6D98 3C 80 80 5A */ lis r4, skZero3f@ha /* 801A9E3C 001A6D9C 3C A0 80 5A */ lis r5, lbl_805A6784@ha /* 801A9E40 001A6DA0 3B C4 66 A0 */ addi r30, r4, skZero3f@l /* 801A9E44 001A6DA4 A3 39 00 00 */ lhz r25, 0(r25) /* 801A9E48 001A6DA8 C0 7E 00 00 */ lfs f3, 0(r30) /* 801A9E4C 001A6DAC 39 85 67 84 */ addi r12, r5, lbl_805A6784@l /* 801A9E50 001A6DB0 C0 9E 00 04 */ lfs f4, 4(r30) /* 801A9E54 001A6DB4 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801A9E58 001A6DB8 C0 BE 00 08 */ lfs f5, 8(r30) /* 801A9E5C 001A6DBC 39 04 66 70 */ addi r8, r4, skIdentity4f@l /* 801A9E60 001A6DC0 D0 61 00 78 */ stfs f3, 0x78(r1) /* 801A9E64 001A6DC4 39 61 00 78 */ addi r11, r1, 0x78 /* 801A9E68 001A6DC8 38 01 00 AC */ addi r0, r1, 0xac /* 801A9E6C 001A6DCC C0 22 A8 28 */ lfs f1, lbl_805AC548@sda21(r2) /* 801A9E70 001A6DD0 D0 81 00 7C */ stfs f4, 0x7c(r1) /* 801A9E74 001A6DD4 7F A5 EB 78 */ mr r5, r29 /* 801A9E78 001A6DD8 C0 42 A8 2C */ lfs f2, lbl_805AC54C@sda21(r2) /* 801A9E7C 001A6DDC 38 81 00 18 */ addi r4, r1, 0x18 /* 801A9E80 001A6DE0 D0 A1 00 80 */ stfs f5, 0x80(r1) /* 801A9E84 001A6DE4 38 C1 00 34 */ addi r6, r1, 0x34 /* 801A9E88 001A6DE8 38 E1 00 60 */ addi r7, r1, 0x60 /* 801A9E8C 001A6DEC 39 21 01 14 */ addi r9, r1, 0x114 /* 801A9E90 001A6DF0 C0 03 00 00 */ lfs f0, 0(r3) /* 801A9E94 001A6DF4 39 4D A4 90 */ addi r10, r13, lbl_805A9050@sda21 /* 801A9E98 001A6DF8 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801A9E9C 001A6DFC C0 03 00 04 */ lfs f0, 4(r3) /* 801A9EA0 001A6E00 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801A9EA4 001A6E04 C0 03 00 08 */ lfs f0, 8(r3) /* 801A9EA8 001A6E08 7F E3 FB 78 */ mr r3, r31 /* 801A9EAC 001A6E0C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801A9EB0 001A6E10 D0 61 00 90 */ stfs f3, 0x90(r1) /* 801A9EB4 001A6E14 D0 81 00 94 */ stfs f4, 0x94(r1) /* 801A9EB8 001A6E18 D0 A1 00 98 */ stfs f5, 0x98(r1) /* 801A9EBC 001A6E1C C0 18 00 00 */ lfs f0, 0(r24) /* 801A9EC0 001A6E20 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801A9EC4 001A6E24 C0 18 00 04 */ lfs f0, 4(r24) /* 801A9EC8 001A6E28 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801A9ECC 001A6E2C C0 18 00 08 */ lfs f0, 8(r24) /* 801A9ED0 001A6E30 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801A9ED4 001A6E34 D3 E1 00 A8 */ stfs f31, 0xa8(r1) /* 801A9ED8 001A6E38 B3 21 00 18 */ sth r25, 0x18(r1) /* 801A9EDC 001A6E3C 91 81 00 08 */ stw r12, 8(r1) /* 801A9EE0 001A6E40 91 61 00 0C */ stw r11, 0xc(r1) /* 801A9EE4 001A6E44 90 01 00 10 */ stw r0, 0x10(r1) /* 801A9EE8 001A6E48 4B F7 25 C9 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 801A9EEC 001A6E4C 38 61 00 AC */ addi r3, r1, 0xac /* 801A9EF0 001A6E50 38 80 FF FF */ li r4, -1 /* 801A9EF4 001A6E54 4B F5 C7 15 */ bl __dt__16CActorParametersFv /* 801A9EF8 001A6E58 38 61 01 14 */ addi r3, r1, 0x114 /* 801A9EFC 001A6E5C 38 80 FF FF */ li r4, -1 /* 801A9F00 001A6E60 4B F6 CB 4D */ bl __dt__10CModelDataFv /* 801A9F04 001A6E64 80 01 00 68 */ lwz r0, 0x68(r1) /* 801A9F08 001A6E68 80 61 00 70 */ lwz r3, 0x70(r1) /* 801A9F0C 001A6E6C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801A9F10 001A6E70 90 61 00 20 */ stw r3, 0x20(r1) /* 801A9F14 001A6E74 7C 64 1B 78 */ mr r4, r3 /* 801A9F18 001A6E78 7C 03 02 14 */ add r0, r3, r0 /* 801A9F1C 001A6E7C 90 61 00 1C */ stw r3, 0x1c(r1) /* 801A9F20 001A6E80 90 01 00 28 */ stw r0, 0x28(r1) /* 801A9F24 001A6E84 90 01 00 24 */ stw r0, 0x24(r1) /* 801A9F28 001A6E88 48 00 00 08 */ b lbl_801A9F30 lbl_801A9F2C: /* 801A9F2C 001A6E8C 38 84 00 0C */ addi r4, r4, 0xc lbl_801A9F30: /* 801A9F30 001A6E90 7C 04 00 40 */ cmplw r4, r0 /* 801A9F34 001A6E94 40 82 FF F8 */ bne lbl_801A9F2C /* 801A9F38 001A6E98 28 03 00 00 */ cmplwi r3, 0 /* 801A9F3C 001A6E9C 41 82 00 08 */ beq lbl_801A9F44 /* 801A9F40 001A6EA0 48 16 B9 F1 */ bl Free__7CMemoryFPCv lbl_801A9F44: /* 801A9F44 001A6EA4 38 61 00 34 */ addi r3, r1, 0x34 /* 801A9F48 001A6EA8 48 19 3B 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801A9F4C 001A6EAC 3C 80 80 3E */ lis r4, lbl_803E4B18@ha /* 801A9F50 001A6EB0 3C 60 80 3D */ lis r3, lbl_803D14A0@ha /* 801A9F54 001A6EB4 38 84 4B 18 */ addi r4, r4, lbl_803E4B18@l /* 801A9F58 001A6EB8 38 00 00 00 */ li r0, 0 /* 801A9F5C 001A6EBC 90 9F 00 00 */ stw r4, 0(r31) /* 801A9F60 001A6EC0 38 63 14 A0 */ addi r3, r3, lbl_803D14A0@l /* 801A9F64 001A6EC4 38 83 00 0F */ addi r4, r3, 0xf /* 801A9F68 001A6EC8 38 60 00 38 */ li r3, 0x38 /* 801A9F6C 001A6ECC 90 1F 02 58 */ stw r0, 0x258(r31) /* 801A9F70 001A6ED0 38 A0 00 00 */ li r5, 0 /* 801A9F74 001A6ED4 A0 1A 00 00 */ lhz r0, 0(r26) /* 801A9F78 001A6ED8 B0 1F 02 5C */ sth r0, 0x25c(r31) /* 801A9F7C 001A6EDC C0 1B 00 00 */ lfs f0, 0(r27) /* 801A9F80 001A6EE0 D0 1F 02 60 */ stfs f0, 0x260(r31) /* 801A9F84 001A6EE4 C0 1B 00 04 */ lfs f0, 4(r27) /* 801A9F88 001A6EE8 D0 1F 02 64 */ stfs f0, 0x264(r31) /* 801A9F8C 001A6EEC C0 1B 00 08 */ lfs f0, 8(r27) /* 801A9F90 001A6EF0 D0 1F 02 68 */ stfs f0, 0x268(r31) /* 801A9F94 001A6EF4 C0 1C 00 00 */ lfs f0, 0(r28) /* 801A9F98 001A6EF8 D0 1F 02 6C */ stfs f0, 0x26c(r31) /* 801A9F9C 001A6EFC C0 1C 00 04 */ lfs f0, 4(r28) /* 801A9FA0 001A6F00 D0 1F 02 70 */ stfs f0, 0x270(r31) /* 801A9FA4 001A6F04 C0 1C 00 08 */ lfs f0, 8(r28) /* 801A9FA8 001A6F08 D0 1F 02 74 */ stfs f0, 0x274(r31) /* 801A9FAC 001A6F0C 48 16 B8 C1 */ bl __nw__FUlPCcPCc /* 801A9FB0 001A6F10 7C 60 1B 79 */ or. r0, r3, r3 /* 801A9FB4 001A6F14 41 82 00 14 */ beq lbl_801A9FC8 /* 801A9FB8 001A6F18 7F 64 DB 78 */ mr r4, r27 /* 801A9FBC 001A6F1C 7F 85 E3 78 */ mr r5, r28 /* 801A9FC0 001A6F20 48 10 3A 19 */ bl __ct__23CCollidableOBBTreeGroupFRC9CVector3fRC9CVector3f /* 801A9FC4 001A6F24 7C 60 1B 78 */ mr r0, r3 lbl_801A9FC8: /* 801A9FC8 001A6F28 3C 60 80 3D */ lis r3, lbl_803D14A0@ha /* 801A9FCC 001A6F2C 90 1F 02 78 */ stw r0, 0x278(r31) /* 801A9FD0 001A6F30 38 83 14 A0 */ addi r4, r3, lbl_803D14A0@l /* 801A9FD4 001A6F34 38 60 00 18 */ li r3, 0x18 /* 801A9FD8 001A6F38 38 84 00 0F */ addi r4, r4, 0xf /* 801A9FDC 001A6F3C 38 A0 00 00 */ li r5, 0 /* 801A9FE0 001A6F40 48 16 B8 8D */ bl __nw__FUlPCcPCc /* 801A9FE4 001A6F44 7C 60 1B 79 */ or. r0, r3, r3 /* 801A9FE8 001A6F48 41 82 00 14 */ beq lbl_801A9FFC /* 801A9FEC 001A6F4C 80 9F 02 78 */ lwz r4, 0x278(r31) /* 801A9FF0 001A6F50 38 BF 00 68 */ addi r5, r31, 0x68 /* 801A9FF4 001A6F54 48 10 39 71 */ bl "__ct__23CCollidableOBBTreeGroupFRCQ24rstl42vector<6CAABox,Q24rstl17rmemory_allocator>R14CCMaterialList" /* 801A9FF8 001A6F58 7C 60 1B 78 */ mr r0, r3 lbl_801A9FFC: /* 801A9FFC 001A6F5C 90 1F 02 7C */ stw r0, 0x27c(r31) /* 801AA000 001A6F60 38 A0 00 00 */ li r5, 0 /* 801AA004 001A6F64 C0 02 A8 30 */ lfs f0, lbl_805AC550@sda21(r2) /* 801AA008 001A6F68 3C 80 80 57 */ lis r4, lbl_80570004@ha /* 801AA00C 001A6F6C 90 BF 02 80 */ stw r5, 0x280(r31) /* 801AA010 001A6F70 38 00 00 10 */ li r0, 0x10 /* 801AA014 001A6F74 3C 60 80 5A */ lis r3, skZero3f@ha /* 801AA018 001A6F78 C0 22 A8 20 */ lfs f1, lbl_805AC540@sda21(r2) /* 801AA01C 001A6F7C 90 BF 02 84 */ stw r5, 0x284(r31) /* 801AA020 001A6F80 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801AA024 001A6F84 7F E3 FB 78 */ mr r3, r31 /* 801AA028 001A6F88 D0 1F 02 88 */ stfs f0, 0x288(r31) /* 801AA02C 001A6F8C D0 1F 02 8C */ stfs f0, 0x28c(r31) /* 801AA030 001A6F90 D0 1F 02 90 */ stfs f0, 0x290(r31) /* 801AA034 001A6F94 84 E4 D5 78 */ lwzu r7, -0x2a88(r4) /* 801AA038 001A6F98 80 C4 00 04 */ lwz r6, lbl_80570004@l(r4) /* 801AA03C 001A6F9C 90 FF 02 94 */ stw r7, 0x294(r31) /* 801AA040 001A6FA0 90 DF 02 98 */ stw r6, 0x298(r31) /* 801AA044 001A6FA4 80 E4 00 08 */ lwz r7, 8(r4) /* 801AA048 001A6FA8 80 C4 00 0C */ lwz r6, 0xc(r4) /* 801AA04C 001A6FAC 90 FF 02 9C */ stw r7, 0x29c(r31) /* 801AA050 001A6FB0 90 DF 02 A0 */ stw r6, 0x2a0(r31) /* 801AA054 001A6FB4 80 E4 00 10 */ lwz r7, 0x10(r4) /* 801AA058 001A6FB8 80 C4 00 14 */ lwz r6, 0x14(r4) /* 801AA05C 001A6FBC 90 FF 02 A4 */ stw r7, 0x2a4(r31) /* 801AA060 001A6FC0 90 DF 02 A8 */ stw r6, 0x2a8(r31) /* 801AA064 001A6FC4 80 E4 00 18 */ lwz r7, 0x18(r4) /* 801AA068 001A6FC8 80 C4 00 1C */ lwz r6, 0x1c(r4) /* 801AA06C 001A6FCC 90 FF 02 AC */ stw r7, 0x2ac(r31) /* 801AA070 001A6FD0 90 DF 02 B0 */ stw r6, 0x2b0(r31) /* 801AA074 001A6FD4 80 E4 00 20 */ lwz r7, 0x20(r4) /* 801AA078 001A6FD8 80 C4 00 24 */ lwz r6, 0x24(r4) /* 801AA07C 001A6FDC 90 FF 02 B4 */ stw r7, 0x2b4(r31) /* 801AA080 001A6FE0 90 DF 02 B8 */ stw r6, 0x2b8(r31) /* 801AA084 001A6FE4 80 E4 00 28 */ lwz r7, 0x28(r4) /* 801AA088 001A6FE8 80 C4 00 2C */ lwz r6, 0x2c(r4) /* 801AA08C 001A6FEC 90 FF 02 BC */ stw r7, 0x2bc(r31) /* 801AA090 001A6FF0 90 DF 02 C0 */ stw r6, 0x2c0(r31) /* 801AA094 001A6FF4 80 E4 00 30 */ lwz r7, 0x30(r4) /* 801AA098 001A6FF8 80 C4 00 34 */ lwz r6, 0x34(r4) /* 801AA09C 001A6FFC 90 FF 02 C4 */ stw r7, 0x2c4(r31) /* 801AA0A0 001A7000 90 DF 02 C8 */ stw r6, 0x2c8(r31) /* 801AA0A4 001A7004 80 C4 00 38 */ lwz r6, 0x38(r4) /* 801AA0A8 001A7008 90 DF 02 CC */ stw r6, 0x2cc(r31) /* 801AA0AC 001A700C 80 E4 00 3C */ lwz r7, 0x3c(r4) /* 801AA0B0 001A7010 80 C4 00 40 */ lwz r6, 0x40(r4) /* 801AA0B4 001A7014 90 FF 02 D0 */ stw r7, 0x2d0(r31) /* 801AA0B8 001A7018 90 DF 02 D4 */ stw r6, 0x2d4(r31) /* 801AA0BC 001A701C 80 E4 00 44 */ lwz r7, 0x44(r4) /* 801AA0C0 001A7020 80 C4 00 48 */ lwz r6, 0x48(r4) /* 801AA0C4 001A7024 90 FF 02 D8 */ stw r7, 0x2d8(r31) /* 801AA0C8 001A7028 90 DF 02 DC */ stw r6, 0x2dc(r31) /* 801AA0CC 001A702C 80 E4 00 4C */ lwz r7, 0x4c(r4) /* 801AA0D0 001A7030 80 C4 00 50 */ lwz r6, 0x50(r4) /* 801AA0D4 001A7034 90 FF 02 E0 */ stw r7, 0x2e0(r31) /* 801AA0D8 001A7038 90 DF 02 E4 */ stw r6, 0x2e4(r31) /* 801AA0DC 001A703C 80 E4 00 54 */ lwz r7, 0x54(r4) /* 801AA0E0 001A7040 80 C4 00 58 */ lwz r6, 0x58(r4) /* 801AA0E4 001A7044 90 FF 02 E8 */ stw r7, 0x2e8(r31) /* 801AA0E8 001A7048 90 DF 02 EC */ stw r6, 0x2ec(r31) /* 801AA0EC 001A704C 80 C4 00 5C */ lwz r6, 0x5c(r4) /* 801AA0F0 001A7050 90 DF 02 F0 */ stw r6, 0x2f0(r31) /* 801AA0F4 001A7054 80 C4 00 60 */ lwz r6, 0x60(r4) /* 801AA0F8 001A7058 90 DF 02 F4 */ stw r6, 0x2f4(r31) /* 801AA0FC 001A705C 80 84 00 64 */ lwz r4, 0x64(r4) /* 801AA100 001A7060 90 9F 02 F8 */ stw r4, 0x2f8(r31) /* 801AA104 001A7064 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801AA108 001A7068 B0 9F 02 FC */ sth r4, 0x2fc(r31) /* 801AA10C 001A706C 90 1F 03 00 */ stw r0, 0x300(r31) /* 801AA110 001A7070 C0 05 00 00 */ lfs f0, 0(r5) /* 801AA114 001A7074 D0 1F 03 04 */ stfs f0, 0x304(r31) /* 801AA118 001A7078 C0 1E 00 04 */ lfs f0, 4(r30) /* 801AA11C 001A707C D0 1F 03 08 */ stfs f0, 0x308(r31) /* 801AA120 001A7080 C0 1E 00 08 */ lfs f0, 8(r30) /* 801AA124 001A7084 D0 1F 03 0C */ stfs f0, 0x30c(r31) /* 801AA128 001A7088 4B F7 03 B9 */ bl SetCoefficientOfRestitutionModifier__13CPhysicsActorFf /* 801AA12C 001A708C 7F E3 FB 78 */ mr r3, r31 /* 801AA130 001A7090 38 80 00 00 */ li r4, 0 /* 801AA134 001A7094 4B EA A2 85 */ bl SetCallTouch__6CActorFb /* 801AA138 001A7098 80 AD 90 44 */ lwz r5, lbl_805A7C04@sda21(r13) /* 801AA13C 001A709C 38 60 00 00 */ li r3, 0 /* 801AA140 001A70A0 38 80 00 01 */ li r4, 1 /* 801AA144 001A70A4 48 1D FD B1 */ bl __shl2i /* 801AA148 001A70A8 80 AD 90 48 */ lwz r5, lbl_805A7C08@sda21(r13) /* 801AA14C 001A70AC 7C 99 23 78 */ mr r25, r4 /* 801AA150 001A70B0 7C 78 1B 78 */ mr r24, r3 /* 801AA154 001A70B4 38 60 00 00 */ li r3, 0 /* 801AA158 001A70B8 38 80 00 01 */ li r4, 1 /* 801AA15C 001A70BC 48 1D FD 99 */ bl __shl2i /* 801AA160 001A70C0 80 AD 90 40 */ lwz r5, lbl_805A7C00@sda21(r13) /* 801AA164 001A70C4 7F 39 23 78 */ or r25, r25, r4 /* 801AA168 001A70C8 7F 18 1B 78 */ or r24, r24, r3 /* 801AA16C 001A70CC 38 60 00 00 */ li r3, 0 /* 801AA170 001A70D0 38 80 00 01 */ li r4, 1 /* 801AA174 001A70D4 48 1D FD 81 */ bl __shl2i /* 801AA178 001A70D8 38 00 00 03 */ li r0, 3 /* 801AA17C 001A70DC 90 81 00 4C */ stw r4, 0x4c(r1) /* 801AA180 001A70E0 38 81 00 48 */ addi r4, r1, 0x48 /* 801AA184 001A70E4 90 61 00 48 */ stw r3, 0x48(r1) /* 801AA188 001A70E8 7F E3 FB 78 */ mr r3, r31 /* 801AA18C 001A70EC 93 21 00 54 */ stw r25, 0x54(r1) /* 801AA190 001A70F0 93 01 00 50 */ stw r24, 0x50(r1) /* 801AA194 001A70F4 90 01 00 58 */ stw r0, 0x58(r1) /* 801AA198 001A70F8 4B EA 97 09 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801AA19C 001A70FC 7F E3 FB 78 */ mr r3, r31 /* 801AA1A0 001A7100 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 /* 801AA1A4 001A7104 CB E1 01 80 */ lfd f31, 0x180(r1) /* 801AA1A8 001A7108 BB 01 01 60 */ lmw r24, 0x160(r1) /* 801AA1AC 001A710C 80 01 01 94 */ lwz r0, 0x194(r1) /* 801AA1B0 001A7110 7C 08 03 A6 */ mtlr r0 /* 801AA1B4 001A7114 38 21 01 90 */ addi r1, r1, 0x190 /* 801AA1B8 001A7118 4E 80 00 20 */ blr .global __sinit_CCollisionActor_cpp __sinit_CCollisionActor_cpp: /* 801AA1BC 001A711C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA1C0 001A7120 7C 08 02 A6 */ mflr r0 /* 801AA1C4 001A7124 38 60 00 00 */ li r3, 0 /* 801AA1C8 001A7128 38 80 00 01 */ li r4, 1 /* 801AA1CC 001A712C 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA1D0 001A7130 38 00 00 00 */ li r0, 0 /* 801AA1D4 001A7134 80 AD 90 30 */ lwz r5, lbl_805A7BF0@sda21(r13) /* 801AA1D8 001A7138 90 0D A4 94 */ stw r0, lbl_805A9054@sda21(r13) /* 801AA1DC 001A713C 90 0D A4 90 */ stw r0, lbl_805A9050@sda21(r13) /* 801AA1E0 001A7140 48 1D FD 15 */ bl __shl2i /* 801AA1E4 001A7144 80 0D A4 90 */ lwz r0, lbl_805A9050@sda21(r13) /* 801AA1E8 001A7148 80 CD A4 94 */ lwz r6, lbl_805A9054@sda21(r13) /* 801AA1EC 001A714C 7C 00 1B 78 */ or r0, r0, r3 /* 801AA1F0 001A7150 80 AD 90 34 */ lwz r5, lbl_805A7BF4@sda21(r13) /* 801AA1F4 001A7154 7C C4 23 78 */ or r4, r6, r4 /* 801AA1F8 001A7158 90 0D A4 90 */ stw r0, lbl_805A9050@sda21(r13) /* 801AA1FC 001A715C 38 60 00 00 */ li r3, 0 /* 801AA200 001A7160 90 8D A4 94 */ stw r4, lbl_805A9054@sda21(r13) /* 801AA204 001A7164 38 80 00 01 */ li r4, 1 /* 801AA208 001A7168 48 1D FC ED */ bl __shl2i /* 801AA20C 001A716C 80 0D A4 90 */ lwz r0, lbl_805A9050@sda21(r13) /* 801AA210 001A7170 80 CD A4 94 */ lwz r6, lbl_805A9054@sda21(r13) /* 801AA214 001A7174 7C 00 1B 78 */ or r0, r0, r3 /* 801AA218 001A7178 80 AD 90 38 */ lwz r5, lbl_805A7BF8@sda21(r13) /* 801AA21C 001A717C 7C C4 23 78 */ or r4, r6, r4 /* 801AA220 001A7180 90 0D A4 90 */ stw r0, lbl_805A9050@sda21(r13) /* 801AA224 001A7184 38 60 00 00 */ li r3, 0 /* 801AA228 001A7188 90 8D A4 94 */ stw r4, lbl_805A9054@sda21(r13) /* 801AA22C 001A718C 38 80 00 01 */ li r4, 1 /* 801AA230 001A7190 48 1D FC C5 */ bl __shl2i /* 801AA234 001A7194 80 0D A4 90 */ lwz r0, lbl_805A9050@sda21(r13) /* 801AA238 001A7198 80 CD A4 94 */ lwz r6, lbl_805A9054@sda21(r13) /* 801AA23C 001A719C 7C 00 1B 78 */ or r0, r0, r3 /* 801AA240 001A71A0 80 AD 90 3C */ lwz r5, lbl_805A7BFC@sda21(r13) /* 801AA244 001A71A4 7C C4 23 78 */ or r4, r6, r4 /* 801AA248 001A71A8 90 0D A4 90 */ stw r0, lbl_805A9050@sda21(r13) /* 801AA24C 001A71AC 38 60 00 00 */ li r3, 0 /* 801AA250 001A71B0 90 8D A4 94 */ stw r4, lbl_805A9054@sda21(r13) /* 801AA254 001A71B4 38 80 00 01 */ li r4, 1 /* 801AA258 001A71B8 48 1D FC 9D */ bl __shl2i /* 801AA25C 001A71BC 80 0D A4 90 */ lwz r0, lbl_805A9050@sda21(r13) /* 801AA260 001A71C0 80 AD A4 94 */ lwz r5, lbl_805A9054@sda21(r13) /* 801AA264 001A71C4 7C 00 1B 78 */ or r0, r0, r3 /* 801AA268 001A71C8 7C A3 23 78 */ or r3, r5, r4 /* 801AA26C 001A71CC 90 0D A4 90 */ stw r0, lbl_805A9050@sda21(r13) /* 801AA270 001A71D0 90 6D A4 94 */ stw r3, lbl_805A9054@sda21(r13) /* 801AA274 001A71D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA278 001A71D8 7C 08 03 A6 */ mtlr r0 /* 801AA27C 001A71DC 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA280 001A71E0 4E 80 00 20 */ blr .global __dt__18CScriptPlayerActorFv __dt__18CScriptPlayerActorFv: /* 801AA284 001A71E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AA288 001A71E8 7C 08 02 A6 */ mflr r0 /* 801AA28C 001A71EC 90 01 00 24 */ stw r0, 0x24(r1) /* 801AA290 001A71F0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AA294 001A71F4 7C 9F 23 78 */ mr r31, r4 /* 801AA298 001A71F8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AA29C 001A71FC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AA2A0 001A7200 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AA2A4 001A7204 41 82 01 38 */ beq lbl_801AA3DC /* 801AA2A8 001A7208 3C 60 80 3E */ lis r3, lbl_803E4BE0@ha /* 801AA2AC 001A720C 34 1E 03 38 */ addic. r0, r30, 0x338 /* 801AA2B0 001A7210 38 03 4B E0 */ addi r0, r3, lbl_803E4BE0@l /* 801AA2B4 001A7214 90 1E 00 00 */ stw r0, 0(r30) /* 801AA2B8 001A7218 41 82 00 30 */ beq lbl_801AA2E8 /* 801AA2BC 001A721C 88 1E 03 44 */ lbz r0, 0x344(r30) /* 801AA2C0 001A7220 28 00 00 00 */ cmplwi r0, 0 /* 801AA2C4 001A7224 41 82 00 1C */ beq lbl_801AA2E0 /* 801AA2C8 001A7228 34 7E 03 38 */ addic. r3, r30, 0x338 /* 801AA2CC 001A722C 41 82 00 14 */ beq lbl_801AA2E0 /* 801AA2D0 001A7230 28 03 00 00 */ cmplwi r3, 0 /* 801AA2D4 001A7234 41 82 00 0C */ beq lbl_801AA2E0 /* 801AA2D8 001A7238 38 80 00 00 */ li r4, 0 /* 801AA2DC 001A723C 48 19 6B 65 */ bl __dt__6CTokenFv lbl_801AA2E0: /* 801AA2E0 001A7240 38 00 00 00 */ li r0, 0 /* 801AA2E4 001A7244 98 1E 03 44 */ stb r0, 0x344(r30) lbl_801AA2E8: /* 801AA2E8 001A7248 34 1E 03 28 */ addic. r0, r30, 0x328 /* 801AA2EC 001A724C 41 82 00 30 */ beq lbl_801AA31C /* 801AA2F0 001A7250 88 1E 03 34 */ lbz r0, 0x334(r30) /* 801AA2F4 001A7254 28 00 00 00 */ cmplwi r0, 0 /* 801AA2F8 001A7258 41 82 00 1C */ beq lbl_801AA314 /* 801AA2FC 001A725C 34 7E 03 28 */ addic. r3, r30, 0x328 /* 801AA300 001A7260 41 82 00 14 */ beq lbl_801AA314 /* 801AA304 001A7264 28 03 00 00 */ cmplwi r3, 0 /* 801AA308 001A7268 41 82 00 0C */ beq lbl_801AA314 /* 801AA30C 001A726C 38 80 00 00 */ li r4, 0 /* 801AA310 001A7270 48 19 6B 31 */ bl __dt__6CTokenFv lbl_801AA314: /* 801AA314 001A7274 38 00 00 00 */ li r0, 0 /* 801AA318 001A7278 98 1E 03 34 */ stb r0, 0x334(r30) lbl_801AA31C: /* 801AA31C 001A727C 34 1E 03 24 */ addic. r0, r30, 0x324 /* 801AA320 001A7280 41 82 00 24 */ beq lbl_801AA344 /* 801AA324 001A7284 83 BE 03 24 */ lwz r29, 0x324(r30) /* 801AA328 001A7288 28 1D 00 00 */ cmplwi r29, 0 /* 801AA32C 001A728C 41 82 00 18 */ beq lbl_801AA344 /* 801AA330 001A7290 7F A3 EB 78 */ mr r3, r29 /* 801AA334 001A7294 38 80 00 00 */ li r4, 0 /* 801AA338 001A7298 48 19 6B 09 */ bl __dt__6CTokenFv /* 801AA33C 001A729C 7F A3 EB 78 */ mr r3, r29 /* 801AA340 001A72A0 48 16 B5 F1 */ bl Free__7CMemoryFPCv lbl_801AA344: /* 801AA344 001A72A4 34 1E 03 20 */ addic. r0, r30, 0x320 /* 801AA348 001A72A8 41 82 00 28 */ beq lbl_801AA370 /* 801AA34C 001A72AC 83 BE 03 20 */ lwz r29, 0x320(r30) /* 801AA350 001A72B0 28 1D 00 00 */ cmplwi r29, 0 /* 801AA354 001A72B4 41 82 00 1C */ beq lbl_801AA370 /* 801AA358 001A72B8 41 82 00 10 */ beq lbl_801AA368 /* 801AA35C 001A72BC 7F A3 EB 78 */ mr r3, r29 /* 801AA360 001A72C0 38 80 00 00 */ li r4, 0 /* 801AA364 001A72C4 48 19 6A DD */ bl __dt__6CTokenFv lbl_801AA368: /* 801AA368 001A72C8 7F A3 EB 78 */ mr r3, r29 /* 801AA36C 001A72CC 48 16 B5 C5 */ bl Free__7CMemoryFPCv lbl_801AA370: /* 801AA370 001A72D0 34 1E 03 1C */ addic. r0, r30, 0x31c /* 801AA374 001A72D4 41 82 00 24 */ beq lbl_801AA398 /* 801AA378 001A72D8 83 BE 03 1C */ lwz r29, 0x31c(r30) /* 801AA37C 001A72DC 28 1D 00 00 */ cmplwi r29, 0 /* 801AA380 001A72E0 41 82 00 18 */ beq lbl_801AA398 /* 801AA384 001A72E4 7F A3 EB 78 */ mr r3, r29 /* 801AA388 001A72E8 38 80 00 00 */ li r4, 0 /* 801AA38C 001A72EC 48 19 6A B5 */ bl __dt__6CTokenFv /* 801AA390 001A72F0 7F A3 EB 78 */ mr r3, r29 /* 801AA394 001A72F4 48 16 B5 9D */ bl Free__7CMemoryFPCv lbl_801AA398: /* 801AA398 001A72F8 34 1E 03 18 */ addic. r0, r30, 0x318 /* 801AA39C 001A72FC 41 82 00 10 */ beq lbl_801AA3AC /* 801AA3A0 001A7300 80 7E 03 18 */ lwz r3, 0x318(r30) /* 801AA3A4 001A7304 38 80 00 01 */ li r4, 1 /* 801AA3A8 001A7308 4B F6 C6 A5 */ bl __dt__10CModelDataFv lbl_801AA3AC: /* 801AA3AC 001A730C 34 1E 03 14 */ addic. r0, r30, 0x314 /* 801AA3B0 001A7310 41 82 00 10 */ beq lbl_801AA3C0 /* 801AA3B4 001A7314 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AA3B8 001A7318 38 80 00 01 */ li r4, 1 /* 801AA3BC 001A731C 4B F6 C6 91 */ bl __dt__10CModelDataFv lbl_801AA3C0: /* 801AA3C0 001A7320 7F C3 F3 78 */ mr r3, r30 /* 801AA3C4 001A7324 38 80 00 00 */ li r4, 0 /* 801AA3C8 001A7328 4B EC B4 85 */ bl __dt__12CScriptActorFv /* 801AA3CC 001A732C 7F E0 07 35 */ extsh. r0, r31 /* 801AA3D0 001A7330 40 81 00 0C */ ble lbl_801AA3DC /* 801AA3D4 001A7334 7F C3 F3 78 */ mr r3, r30 /* 801AA3D8 001A7338 48 16 B5 59 */ bl Free__7CMemoryFPCv lbl_801AA3DC: /* 801AA3DC 001A733C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AA3E0 001A7340 7F C3 F3 78 */ mr r3, r30 /* 801AA3E4 001A7344 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AA3E8 001A7348 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AA3EC 001A734C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AA3F0 001A7350 7C 08 03 A6 */ mtlr r0 /* 801AA3F4 001A7354 38 21 00 20 */ addi r1, r1, 0x20 /* 801AA3F8 001A7358 4E 80 00 20 */ blr .global SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb: /* 801AA3FC 001A735C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801AA400 001A7360 7C 08 02 A6 */ mflr r0 /* 801AA404 001A7364 90 01 00 64 */ stw r0, 0x64(r1) /* 801AA408 001A7368 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801AA40C 001A736C BF 61 00 4C */ stmw r27, 0x4c(r1) /* 801AA410 001A7370 7C 7D 1B 78 */ mr r29, r3 /* 801AA414 001A7374 7C BF 2B 78 */ mr r31, r5 /* 801AA418 001A7378 7C 9E 23 78 */ mr r30, r4 /* 801AA41C 001A737C A0 63 00 08 */ lhz r3, 8(r3) /* 801AA420 001A7380 B0 61 00 30 */ sth r3, 0x30(r1) /* 801AA424 001A7384 40 82 00 30 */ bne lbl_801AA454 /* 801AA428 001A7388 A0 1E 0F 6C */ lhz r0, 0xf6c(r30) /* 801AA42C 001A738C 7C 00 18 40 */ cmplw r0, r3 /* 801AA430 001A7390 40 82 00 24 */ bne lbl_801AA454 /* 801AA434 001A7394 A0 7D 03 56 */ lhz r3, 0x356(r29) /* 801AA438 001A7398 B0 7E 0F 6C */ sth r3, 0xf6c(r30) /* 801AA43C 001A739C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA440 001A73A0 B0 61 00 24 */ sth r3, 0x24(r1) /* 801AA444 001A73A4 B0 61 00 28 */ sth r3, 0x28(r1) /* 801AA448 001A73A8 B0 01 00 20 */ sth r0, 0x20(r1) /* 801AA44C 001A73AC B0 1D 03 56 */ sth r0, 0x356(r29) /* 801AA450 001A73B0 48 00 00 D8 */ b lbl_801AA528 lbl_801AA454: /* 801AA454 001A73B4 A0 1E 0F 6C */ lhz r0, 0xf6c(r30) /* 801AA458 001A73B8 3B 60 00 00 */ li r27, 0 /* 801AA45C 001A73BC A3 81 00 30 */ lhz r28, 0x30(r1) /* 801AA460 001A73C0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801AA464 001A73C4 48 00 00 98 */ b lbl_801AA4FC lbl_801AA468: /* 801AA468 001A73C8 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 801AA46C 001A73CC 7C 00 E0 40 */ cmplw r0, r28 /* 801AA470 001A73D0 40 82 00 34 */ bne lbl_801AA4A4 /* 801AA474 001A73D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AA478 001A73D8 40 82 00 B0 */ bne lbl_801AA528 /* 801AA47C 001A73DC 28 1B 00 00 */ cmplwi r27, 0 /* 801AA480 001A73E0 41 82 00 A8 */ beq lbl_801AA528 /* 801AA484 001A73E4 A0 7D 03 56 */ lhz r3, 0x356(r29) /* 801AA488 001A73E8 B0 7B 03 56 */ sth r3, 0x356(r27) /* 801AA48C 001A73EC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA490 001A73F0 B0 61 00 18 */ sth r3, 0x18(r1) /* 801AA494 001A73F4 B0 61 00 1C */ sth r3, 0x1c(r1) /* 801AA498 001A73F8 B0 01 00 14 */ sth r0, 0x14(r1) /* 801AA49C 001A73FC B0 1D 03 56 */ sth r0, 0x356(r29) /* 801AA4A0 001A7400 48 00 00 88 */ b lbl_801AA528 lbl_801AA4A4: /* 801AA4A4 001A7404 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 801AA4A8 001A7408 7F C3 F3 78 */ mr r3, r30 /* 801AA4AC 001A740C 38 81 00 10 */ addi r4, r1, 0x10 /* 801AA4B0 001A7410 B0 01 00 10 */ sth r0, 0x10(r1) /* 801AA4B4 001A7414 4B EA 20 C1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AA4B8 001A7418 7C 64 1B 78 */ mr r4, r3 /* 801AA4BC 001A741C 38 61 00 34 */ addi r3, r1, 0x34 /* 801AA4C0 001A7420 4B F0 18 AD */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" /* 801AA4C4 001A7424 80 63 00 04 */ lwz r3, 4(r3) /* 801AA4C8 001A7428 28 03 00 00 */ cmplwi r3, 0 /* 801AA4CC 001A742C 41 82 00 20 */ beq lbl_801AA4EC /* 801AA4D0 001A7430 88 03 02 E3 */ lbz r0, 0x2e3(r3) /* 801AA4D4 001A7434 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AA4D8 001A7438 41 82 00 14 */ beq lbl_801AA4EC /* 801AA4DC 001A743C A0 03 03 56 */ lhz r0, 0x356(r3) /* 801AA4E0 001A7440 7C 7B 1B 78 */ mr r27, r3 /* 801AA4E4 001A7444 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801AA4E8 001A7448 48 00 00 14 */ b lbl_801AA4FC lbl_801AA4EC: /* 801AA4EC 001A744C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA4F0 001A7450 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801AA4F4 001A7454 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AA4F8 001A7458 B0 1D 03 56 */ sth r0, 0x356(r29) lbl_801AA4FC: /* 801AA4FC 001A745C A0 61 00 2C */ lhz r3, 0x2c(r1) /* 801AA500 001A7460 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AA504 001A7464 7C 03 00 40 */ cmplw r3, r0 /* 801AA508 001A7468 40 82 FF 60 */ bne lbl_801AA468 /* 801AA50C 001A746C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AA510 001A7470 41 82 00 18 */ beq lbl_801AA528 /* 801AA514 001A7474 A0 7E 0F 6C */ lhz r3, 0xf6c(r30) /* 801AA518 001A7478 A0 01 00 30 */ lhz r0, 0x30(r1) /* 801AA51C 001A747C B0 7D 03 56 */ sth r3, 0x356(r29) /* 801AA520 001A7480 B0 01 00 08 */ sth r0, 8(r1) /* 801AA524 001A7484 B0 1E 0F 6C */ sth r0, 0xf6c(r30) lbl_801AA528: /* 801AA528 001A7488 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 801AA52C 001A748C 80 01 00 64 */ lwz r0, 0x64(r1) /* 801AA530 001A7490 7C 08 03 A6 */ mtlr r0 /* 801AA534 001A7494 38 21 00 60 */ addi r1, r1, 0x60 /* 801AA538 001A7498 4E 80 00 20 */ blr .global SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb: /* 801AA53C 001A749C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA540 001A74A0 7C 08 02 A6 */ mflr r0 /* 801AA544 001A74A4 7C 67 1B 78 */ mr r7, r3 /* 801AA548 001A74A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA54C 001A74AC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801AA550 001A74B0 7C 85 23 78 */ mr r5, r4 /* 801AA554 001A74B4 41 82 00 78 */ beq lbl_801AA5CC /* 801AA558 001A74B8 80 65 08 50 */ lwz r3, 0x850(r5) /* 801AA55C 001A74BC 80 85 08 80 */ lwz r4, 0x880(r5) /* 801AA560 001A74C0 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 801AA564 001A74C4 2C 00 00 02 */ cmpwi r0, 2 /* 801AA568 001A74C8 40 82 00 70 */ bne lbl_801AA5D8 /* 801AA56C 001A74CC 80 C7 00 64 */ lwz r6, 0x64(r7) /* 801AA570 001A74D0 38 60 00 00 */ li r3, 0 /* 801AA574 001A74D4 28 06 00 00 */ cmplwi r6, 0 /* 801AA578 001A74D8 41 82 00 20 */ beq lbl_801AA598 /* 801AA57C 001A74DC 80 06 00 10 */ lwz r0, 0x10(r6) /* 801AA580 001A74E0 28 00 00 00 */ cmplwi r0, 0 /* 801AA584 001A74E4 40 82 00 10 */ bne lbl_801AA594 /* 801AA588 001A74E8 88 06 00 28 */ lbz r0, 0x28(r6) /* 801AA58C 001A74EC 28 00 00 00 */ cmplwi r0, 0 /* 801AA590 001A74F0 41 82 00 08 */ beq lbl_801AA598 lbl_801AA594: /* 801AA594 001A74F4 38 60 00 01 */ li r3, 1 lbl_801AA598: /* 801AA598 001A74F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AA59C 001A74FC 41 82 00 3C */ beq lbl_801AA5D8 /* 801AA5A0 001A7500 C0 24 00 30 */ lfs f1, 0x30(r4) /* 801AA5A4 001A7504 C0 02 A8 3C */ lfs f0, lbl_805AC55C@sda21(r2) /* 801AA5A8 001A7508 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801AA5AC 001A750C 41 82 00 2C */ beq lbl_801AA5D8 /* 801AA5B0 001A7510 80 65 08 84 */ lwz r3, 0x884(r5) /* 801AA5B4 001A7514 7C E4 3B 78 */ mr r4, r7 /* 801AA5B8 001A7518 C0 22 A8 40 */ lfs f1, lbl_805AC560@sda21(r2) /* 801AA5BC 001A751C 38 C0 00 FA */ li r6, 0xfa /* 801AA5C0 001A7520 38 E0 00 0A */ li r7, 0xa /* 801AA5C4 001A7524 48 03 A9 4D */ bl AddRainSplashGenerator__20CActorModelParticlesFR6CActorR13CStateManageriif /* 801AA5C8 001A7528 48 00 00 10 */ b lbl_801AA5D8 lbl_801AA5CC: /* 801AA5CC 001A752C 80 65 08 84 */ lwz r3, 0x884(r5) /* 801AA5D0 001A7530 7C E4 3B 78 */ mr r4, r7 /* 801AA5D4 001A7534 48 03 A8 6D */ bl RemoveRainSplashGenerator__20CActorModelParticlesFR6CActor lbl_801AA5D8: /* 801AA5D8 001A7538 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA5DC 001A753C 7C 08 03 A6 */ mtlr r0 /* 801AA5E0 001A7540 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA5E4 001A7544 4E 80 00 20 */ blr .global SetActive__18CScriptPlayerActorFb SetActive__18CScriptPlayerActorFb: /* 801AA5E8 001A7548 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA5EC 001A754C 7C 08 02 A6 */ mflr r0 /* 801AA5F0 001A7550 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA5F4 001A7554 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AA5F8 001A7558 7C 7F 1B 78 */ mr r31, r3 /* 801AA5FC 001A755C 4B EA 92 51 */ bl SetActive__6CActorFb /* 801AA600 001A7560 88 1F 00 E7 */ lbz r0, 0xe7(r31) /* 801AA604 001A7564 38 60 00 01 */ li r3, 1 /* 801AA608 001A7568 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AA60C 001A756C 98 1F 00 E7 */ stb r0, 0xe7(r31) /* 801AA610 001A7570 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AA614 001A7574 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA618 001A7578 7C 08 03 A6 */ mtlr r0 /* 801AA61C 001A757C 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA620 001A7580 4E 80 00 20 */ blr .global PreRender__18CScriptPlayerActorFR13CStateManagerRC14CFrustumPlanes PreRender__18CScriptPlayerActorFR13CStateManagerRC14CFrustumPlanes: /* 801AA624 001A7584 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AA628 001A7588 7C 08 02 A6 */ mflr r0 /* 801AA62C 001A758C 90 01 00 34 */ stw r0, 0x34(r1) /* 801AA630 001A7590 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801AA634 001A7594 7C BF 2B 78 */ mr r31, r5 /* 801AA638 001A7598 93 C1 00 28 */ stw r30, 0x28(r1) /* 801AA63C 001A759C 7C 9E 23 78 */ mr r30, r4 /* 801AA640 001A75A0 93 A1 00 24 */ stw r29, 0x24(r1) /* 801AA644 001A75A4 7C 7D 1B 78 */ mr r29, r3 /* 801AA648 001A75A8 93 81 00 20 */ stw r28, 0x20(r1) /* 801AA64C 001A75AC 88 03 03 34 */ lbz r0, 0x334(r3) /* 801AA650 001A75B0 28 00 00 00 */ cmplwi r0, 0 /* 801AA654 001A75B4 41 82 00 E0 */ beq lbl_801AA734 /* 801AA658 001A75B8 80 7D 03 48 */ lwz r3, 0x348(r29) /* 801AA65C 001A75BC 2C 03 00 00 */ cmpwi r3, 0 /* 801AA660 001A75C0 40 82 00 CC */ bne lbl_801AA72C /* 801AA664 001A75C4 3B 9D 03 28 */ addi r28, r29, 0x328 /* 801AA668 001A75C8 38 81 00 08 */ addi r4, r1, 8 /* 801AA66C 001A75CC 38 00 00 00 */ li r0, 0 /* 801AA670 001A75D0 7C 1C 20 40 */ cmplw r28, r4 /* 801AA674 001A75D4 98 01 00 14 */ stb r0, 0x14(r1) /* 801AA678 001A75D8 41 82 00 84 */ beq lbl_801AA6FC /* 801AA67C 001A75DC 28 00 00 00 */ cmplwi r0, 0 /* 801AA680 001A75E0 41 82 00 50 */ beq lbl_801AA6D0 /* 801AA684 001A75E4 88 1D 03 34 */ lbz r0, 0x334(r29) /* 801AA688 001A75E8 28 00 00 00 */ cmplwi r0, 0 /* 801AA68C 001A75EC 40 82 00 30 */ bne lbl_801AA6BC /* 801AA690 001A75F0 37 9D 03 28 */ addic. r28, r29, 0x328 /* 801AA694 001A75F4 41 82 00 1C */ beq lbl_801AA6B0 /* 801AA698 001A75F8 7F 83 E3 78 */ mr r3, r28 /* 801AA69C 001A75FC 48 19 68 0D */ bl __ct__6CTokenFRC6CToken /* 801AA6A0 001A7600 80 01 00 10 */ lwz r0, 0x10(r1) /* 801AA6A4 001A7604 7F 83 E3 78 */ mr r3, r28 /* 801AA6A8 001A7608 90 1C 00 08 */ stw r0, 8(r28) /* 801AA6AC 001A760C 48 19 66 D9 */ bl Lock__6CTokenFv lbl_801AA6B0: /* 801AA6B0 001A7610 38 00 00 01 */ li r0, 1 /* 801AA6B4 001A7614 98 1D 03 34 */ stb r0, 0x334(r29) /* 801AA6B8 001A7618 48 00 00 44 */ b lbl_801AA6FC lbl_801AA6BC: /* 801AA6BC 001A761C 7F 83 E3 78 */ mr r3, r28 /* 801AA6C0 001A7620 48 19 66 05 */ bl __as__6CTokenFRC6CToken /* 801AA6C4 001A7624 80 01 00 10 */ lwz r0, 0x10(r1) /* 801AA6C8 001A7628 90 1C 00 08 */ stw r0, 8(r28) /* 801AA6CC 001A762C 48 00 00 30 */ b lbl_801AA6FC lbl_801AA6D0: /* 801AA6D0 001A7630 88 1D 03 34 */ lbz r0, 0x334(r29) /* 801AA6D4 001A7634 28 00 00 00 */ cmplwi r0, 0 /* 801AA6D8 001A7638 41 82 00 1C */ beq lbl_801AA6F4 /* 801AA6DC 001A763C 34 7D 03 28 */ addic. r3, r29, 0x328 /* 801AA6E0 001A7640 41 82 00 14 */ beq lbl_801AA6F4 /* 801AA6E4 001A7644 28 03 00 00 */ cmplwi r3, 0 /* 801AA6E8 001A7648 41 82 00 0C */ beq lbl_801AA6F4 /* 801AA6EC 001A764C 38 80 00 00 */ li r4, 0 /* 801AA6F0 001A7650 48 19 67 51 */ bl __dt__6CTokenFv lbl_801AA6F4: /* 801AA6F4 001A7654 38 00 00 00 */ li r0, 0 /* 801AA6F8 001A7658 98 1D 03 34 */ stb r0, 0x334(r29) lbl_801AA6FC: /* 801AA6FC 001A765C 88 01 00 14 */ lbz r0, 0x14(r1) /* 801AA700 001A7660 28 00 00 00 */ cmplwi r0, 0 /* 801AA704 001A7664 41 82 00 1C */ beq lbl_801AA720 /* 801AA708 001A7668 34 61 00 08 */ addic. r3, r1, 8 /* 801AA70C 001A766C 41 82 00 14 */ beq lbl_801AA720 /* 801AA710 001A7670 28 03 00 00 */ cmplwi r3, 0 /* 801AA714 001A7674 41 82 00 0C */ beq lbl_801AA720 /* 801AA718 001A7678 38 80 00 00 */ li r4, 0 /* 801AA71C 001A767C 48 19 67 25 */ bl __dt__6CTokenFv lbl_801AA720: /* 801AA720 001A7680 38 00 00 00 */ li r0, 0 /* 801AA724 001A7684 98 01 00 14 */ stb r0, 0x14(r1) /* 801AA728 001A7688 48 00 00 0C */ b lbl_801AA734 lbl_801AA72C: /* 801AA72C 001A768C 38 03 FF FF */ addi r0, r3, -1 /* 801AA730 001A7690 90 1D 03 48 */ stw r0, 0x348(r29) lbl_801AA734: /* 801AA734 001A7694 80 1D 02 EC */ lwz r0, 0x2ec(r29) /* 801AA738 001A7698 2C 00 00 03 */ cmpwi r0, 3 /* 801AA73C 001A769C 40 82 00 0C */ bne lbl_801AA748 /* 801AA740 001A76A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801AA744 001A76A4 48 10 B8 2D */ bl AllocatePhazonSuitMaskTexture__13CCubeRendererFv lbl_801AA748: /* 801AA748 001A76A8 7F A3 EB 78 */ mr r3, r29 /* 801AA74C 001A76AC 7F C4 F3 78 */ mr r4, r30 /* 801AA750 001A76B0 7F E5 FB 78 */ mr r5, r31 /* 801AA754 001A76B4 4B EC A9 69 */ bl PreRender__12CScriptActorFR13CStateManagerRC14CFrustumPlanes /* 801AA758 001A76B8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AA75C 001A76BC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801AA760 001A76C0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801AA764 001A76C4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801AA768 001A76C8 83 81 00 20 */ lwz r28, 0x20(r1) /* 801AA76C 001A76CC 7C 08 03 A6 */ mtlr r0 /* 801AA770 001A76D0 38 21 00 30 */ addi r1, r1, 0x30 /* 801AA774 001A76D4 4E 80 00 20 */ blr .global GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit: /* 801AA778 001A76D8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA77C 001A76DC 7C 08 02 A6 */ mflr r0 /* 801AA780 001A76E0 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA784 001A76E4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AA788 001A76E8 7C BF 2B 78 */ mr r31, r5 /* 801AA78C 001A76EC 80 64 08 B8 */ lwz r3, 0x8b8(r4) /* 801AA790 001A76F0 80 63 00 00 */ lwz r3, 0(r3) /* 801AA794 001A76F4 4B EE 6D 31 */ bl GetIsFusionEnabled__12CPlayerStateFv /* 801AA798 001A76F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AA79C 001A76FC 41 82 00 48 */ beq lbl_801AA7E4 /* 801AA7A0 001A7700 2C 1F 00 02 */ cmpwi r31, 2 /* 801AA7A4 001A7704 41 82 00 2C */ beq lbl_801AA7D0 /* 801AA7A8 001A7708 40 80 00 14 */ bge lbl_801AA7BC /* 801AA7AC 001A770C 2C 1F 00 00 */ cmpwi r31, 0 /* 801AA7B0 001A7710 41 82 00 18 */ beq lbl_801AA7C8 /* 801AA7B4 001A7714 40 80 00 24 */ bge lbl_801AA7D8 /* 801AA7B8 001A7718 48 00 00 2C */ b lbl_801AA7E4 lbl_801AA7BC: /* 801AA7BC 001A771C 2C 1F 00 04 */ cmpwi r31, 4 /* 801AA7C0 001A7720 40 80 00 24 */ bge lbl_801AA7E4 /* 801AA7C4 001A7724 48 00 00 1C */ b lbl_801AA7E0 lbl_801AA7C8: /* 801AA7C8 001A7728 3B E0 00 04 */ li r31, 4 /* 801AA7CC 001A772C 48 00 00 18 */ b lbl_801AA7E4 lbl_801AA7D0: /* 801AA7D0 001A7730 3B E0 00 07 */ li r31, 7 /* 801AA7D4 001A7734 48 00 00 10 */ b lbl_801AA7E4 lbl_801AA7D8: /* 801AA7D8 001A7738 3B E0 00 06 */ li r31, 6 /* 801AA7DC 001A773C 48 00 00 08 */ b lbl_801AA7E4 lbl_801AA7E0: /* 801AA7E0 001A7740 3B E0 00 08 */ li r31, 8 lbl_801AA7E4: /* 801AA7E4 001A7744 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA7E8 001A7748 7F E3 FB 78 */ mr r3, r31 /* 801AA7EC 001A774C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AA7F0 001A7750 7C 08 03 A6 */ mtlr r0 /* 801AA7F4 001A7754 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA7F8 001A7758 4E 80 00 20 */ blr .global GetNextSuitCharIdx__18CScriptPlayerActorFRC13CStateManager GetNextSuitCharIdx__18CScriptPlayerActorFRC13CStateManager: /* 801AA7FC 001A775C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA800 001A7760 7C 08 02 A6 */ mflr r0 /* 801AA804 001A7764 38 A0 00 03 */ li r5, 3 /* 801AA808 001A7768 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA80C 001A776C 80 03 03 50 */ lwz r0, 0x350(r3) /* 801AA810 001A7770 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 801AA814 001A7774 41 82 00 44 */ beq lbl_801AA858 /* 801AA818 001A7778 80 03 03 08 */ lwz r0, 0x308(r3) /* 801AA81C 001A777C 2C 00 00 02 */ cmpwi r0, 2 /* 801AA820 001A7780 41 82 00 30 */ beq lbl_801AA850 /* 801AA824 001A7784 40 80 00 10 */ bge lbl_801AA834 /* 801AA828 001A7788 2C 00 00 01 */ cmpwi r0, 1 /* 801AA82C 001A778C 40 80 00 14 */ bge lbl_801AA840 /* 801AA830 001A7790 48 00 00 20 */ b lbl_801AA850 lbl_801AA834: /* 801AA834 001A7794 2C 00 00 04 */ cmpwi r0, 4 /* 801AA838 001A7798 40 80 00 18 */ bge lbl_801AA850 /* 801AA83C 001A779C 48 00 00 0C */ b lbl_801AA848 lbl_801AA840: /* 801AA840 001A77A0 38 A0 00 02 */ li r5, 2 /* 801AA844 001A77A4 48 00 00 50 */ b lbl_801AA894 lbl_801AA848: /* 801AA848 001A77A8 38 A0 00 01 */ li r5, 1 /* 801AA84C 001A77AC 48 00 00 48 */ b lbl_801AA894 lbl_801AA850: /* 801AA850 001A77B0 38 A0 00 00 */ li r5, 0 /* 801AA854 001A77B4 48 00 00 40 */ b lbl_801AA894 lbl_801AA858: /* 801AA858 001A77B8 80 03 03 08 */ lwz r0, 0x308(r3) /* 801AA85C 001A77BC 2C 00 00 01 */ cmpwi r0, 1 /* 801AA860 001A77C0 41 82 00 30 */ beq lbl_801AA890 /* 801AA864 001A77C4 40 80 00 10 */ bge lbl_801AA874 /* 801AA868 001A77C8 2C 00 00 00 */ cmpwi r0, 0 /* 801AA86C 001A77CC 40 80 00 14 */ bge lbl_801AA880 /* 801AA870 001A77D0 48 00 00 24 */ b lbl_801AA894 lbl_801AA874: /* 801AA874 001A77D4 2C 00 00 03 */ cmpwi r0, 3 /* 801AA878 001A77D8 40 80 00 1C */ bge lbl_801AA894 /* 801AA87C 001A77DC 48 00 00 0C */ b lbl_801AA888 lbl_801AA880: /* 801AA880 001A77E0 38 A0 00 02 */ li r5, 2 /* 801AA884 001A77E4 48 00 00 10 */ b lbl_801AA894 lbl_801AA888: /* 801AA888 001A77E8 38 A0 00 01 */ li r5, 1 /* 801AA88C 001A77EC 48 00 00 08 */ b lbl_801AA894 lbl_801AA890: /* 801AA890 001A77F0 38 A0 00 03 */ li r5, 3 lbl_801AA894: /* 801AA894 001A77F4 4B FF FE E5 */ bl GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit /* 801AA898 001A77F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA89C 001A77FC 7C 08 03 A6 */ mtlr r0 /* 801AA8A0 001A7800 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA8A4 001A7804 4E 80 00 20 */ blr .global PumpBeamModel__18CScriptPlayerActorFRC13CStateManager PumpBeamModel__18CScriptPlayerActorFRC13CStateManager: /* 801AA8A8 001A7808 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AA8AC 001A780C 7C 08 02 A6 */ mflr r0 /* 801AA8B0 001A7810 90 01 00 14 */ stw r0, 0x14(r1) /* 801AA8B4 001A7814 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AA8B8 001A7818 7C 9F 23 78 */ mr r31, r4 /* 801AA8BC 001A781C 93 C1 00 08 */ stw r30, 8(r1) /* 801AA8C0 001A7820 7C 7E 1B 78 */ mr r30, r3 /* 801AA8C4 001A7824 80 83 03 1C */ lwz r4, 0x31c(r3) /* 801AA8C8 001A7828 28 04 00 00 */ cmplwi r4, 0 /* 801AA8CC 001A782C 41 82 00 64 */ beq lbl_801AA930 /* 801AA8D0 001A7830 80 84 00 00 */ lwz r4, 0(r4) /* 801AA8D4 001A7834 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AA8D8 001A7838 28 00 00 00 */ cmplwi r0, 0 /* 801AA8DC 001A783C 41 82 00 54 */ beq lbl_801AA930 /* 801AA8E0 001A7840 48 00 07 F1 */ bl BuildBeamModelData__18CScriptPlayerActorFv /* 801AA8E4 001A7844 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AA8E8 001A7848 7F E4 FB 78 */ mr r4, r31 /* 801AA8EC 001A784C 38 A0 00 00 */ li r5, 0 /* 801AA8F0 001A7850 4B F6 B4 21 */ bl Touch__10CModelDataCFRC13CStateManageri /* 801AA8F4 001A7854 80 7F 08 50 */ lwz r3, 0x850(r31) /* 801AA8F8 001A7858 4B EA B4 69 */ bl CyclePauseState__6CWorldFv /* 801AA8FC 001A785C 83 FE 03 1C */ lwz r31, 0x31c(r30) /* 801AA900 001A7860 28 1F 00 00 */ cmplwi r31, 0 /* 801AA904 001A7864 41 82 00 18 */ beq lbl_801AA91C /* 801AA908 001A7868 7F E3 FB 78 */ mr r3, r31 /* 801AA90C 001A786C 38 80 00 00 */ li r4, 0 /* 801AA910 001A7870 48 19 65 31 */ bl __dt__6CTokenFv /* 801AA914 001A7874 7F E3 FB 78 */ mr r3, r31 /* 801AA918 001A7878 48 16 B0 19 */ bl Free__7CMemoryFPCv lbl_801AA91C: /* 801AA91C 001A787C 38 60 00 00 */ li r3, 0 /* 801AA920 001A7880 90 7E 03 1C */ stw r3, 0x31c(r30) /* 801AA924 001A7884 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AA928 001A7888 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801AA92C 001A788C 98 1E 03 54 */ stb r0, 0x354(r30) lbl_801AA930: /* 801AA930 001A7890 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AA934 001A7894 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AA938 001A7898 83 C1 00 08 */ lwz r30, 8(r1) /* 801AA93C 001A789C 7C 08 03 A6 */ mtlr r0 /* 801AA940 001A78A0 38 21 00 10 */ addi r1, r1, 0x10 /* 801AA944 001A78A4 4E 80 00 20 */ blr .global PumpSuitModel__18CScriptPlayerActorFRC13CStateManager PumpSuitModel__18CScriptPlayerActorFRC13CStateManager: /* 801AA948 001A78A8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AA94C 001A78AC 7C 08 02 A6 */ mflr r0 /* 801AA950 001A78B0 90 01 00 24 */ stw r0, 0x24(r1) /* 801AA954 001A78B4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AA958 001A78B8 7C 9F 23 78 */ mr r31, r4 /* 801AA95C 001A78BC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AA960 001A78C0 7C 7E 1B 78 */ mr r30, r3 /* 801AA964 001A78C4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AA968 001A78C8 83 A3 03 20 */ lwz r29, 0x320(r3) /* 801AA96C 001A78CC 28 1D 00 00 */ cmplwi r29, 0 /* 801AA970 001A78D0 41 82 01 68 */ beq lbl_801AAAD8 /* 801AA974 001A78D4 80 1D 00 08 */ lwz r0, 8(r29) /* 801AA978 001A78D8 28 00 00 00 */ cmplwi r0, 0 /* 801AA97C 001A78DC 41 82 00 0C */ beq lbl_801AA988 /* 801AA980 001A78E0 38 60 00 01 */ li r3, 1 /* 801AA984 001A78E4 48 00 00 3C */ b lbl_801AA9C0 lbl_801AA988: /* 801AA988 001A78E8 88 1D 00 04 */ lbz r0, 4(r29) /* 801AA98C 001A78EC 28 00 00 00 */ cmplwi r0, 0 /* 801AA990 001A78F0 41 82 00 2C */ beq lbl_801AA9BC /* 801AA994 001A78F4 80 7D 00 00 */ lwz r3, 0(r29) /* 801AA998 001A78F8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AA99C 001A78FC 28 00 00 00 */ cmplwi r0, 0 /* 801AA9A0 001A7900 41 82 00 1C */ beq lbl_801AA9BC /* 801AA9A4 001A7904 7F A3 EB 78 */ mr r3, r29 /* 801AA9A8 001A7908 48 19 64 65 */ bl GetObj__6CTokenFv /* 801AA9AC 001A790C 80 03 00 04 */ lwz r0, 4(r3) /* 801AA9B0 001A7910 38 60 00 01 */ li r3, 1 /* 801AA9B4 001A7914 90 1D 00 08 */ stw r0, 8(r29) /* 801AA9B8 001A7918 48 00 00 08 */ b lbl_801AA9C0 lbl_801AA9BC: /* 801AA9BC 001A791C 38 60 00 00 */ li r3, 0 lbl_801AA9C0: /* 801AA9C0 001A7920 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AA9C4 001A7924 41 82 01 14 */ beq lbl_801AAAD8 /* 801AA9C8 001A7928 80 7E 03 24 */ lwz r3, 0x324(r30) /* 801AA9CC 001A792C 80 63 00 00 */ lwz r3, 0(r3) /* 801AA9D0 001A7930 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AA9D4 001A7934 28 00 00 00 */ cmplwi r0, 0 /* 801AA9D8 001A7938 41 82 01 00 */ beq lbl_801AAAD8 /* 801AA9DC 001A793C 80 BE 03 20 */ lwz r5, 0x320(r30) /* 801AA9E0 001A7940 38 80 00 00 */ li r4, 0 /* 801AA9E4 001A7944 80 05 00 08 */ lwz r0, 8(r5) /* 801AA9E8 001A7948 28 00 00 00 */ cmplwi r0, 0 /* 801AA9EC 001A794C 40 82 00 14 */ bne lbl_801AAA00 /* 801AA9F0 001A7950 80 65 00 00 */ lwz r3, 0(r5) /* 801AA9F4 001A7954 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AA9F8 001A7958 28 00 00 00 */ cmplwi r0, 0 /* 801AA9FC 001A795C 41 82 00 08 */ beq lbl_801AAA04 lbl_801AAA00: /* 801AAA00 001A7960 38 80 00 01 */ li r4, 1 lbl_801AAA04: /* 801AAA04 001A7964 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AAA08 001A7968 41 82 00 D0 */ beq lbl_801AAAD8 /* 801AAA0C 001A796C 80 65 00 08 */ lwz r3, 8(r5) /* 801AAA10 001A7970 38 80 00 00 */ li r4, 0 /* 801AAA14 001A7974 48 1A AC 21 */ bl Touch__6CModelCFi /* 801AAA18 001A7978 80 7F 08 50 */ lwz r3, 0x850(r31) /* 801AAA1C 001A797C 4B EA B3 45 */ bl CyclePauseState__6CWorldFv /* 801AAA20 001A7980 88 9E 03 54 */ lbz r4, 0x354(r30) /* 801AAA24 001A7984 3B A0 00 00 */ li r29, 0 /* 801AAA28 001A7988 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f /* 801AAA2C 001A798C 41 82 00 20 */ beq lbl_801AAA4C /* 801AAA30 001A7990 38 00 00 00 */ li r0, 0 /* 801AAA34 001A7994 7F C3 F3 78 */ mr r3, r30 /* 801AAA38 001A7998 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a /* 801AAA3C 001A799C 3B A0 00 01 */ li r29, 1 /* 801AAA40 001A79A0 98 9E 03 54 */ stb r4, 0x354(r30) /* 801AAA44 001A79A4 48 00 03 A1 */ bl SetupOfflineModelData__18CScriptPlayerActorFv /* 801AAA48 001A79A8 48 00 00 24 */ b lbl_801AAA6C lbl_801AAA4C: /* 801AAA4C 001A79AC 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f /* 801AAA50 001A79B0 41 82 00 1C */ beq lbl_801AAA6C /* 801AAA54 001A79B4 38 00 00 00 */ li r0, 0 /* 801AAA58 001A79B8 7F C3 F3 78 */ mr r3, r30 /* 801AAA5C 001A79BC 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 /* 801AAA60 001A79C0 3B A0 00 01 */ li r29, 1 /* 801AAA64 001A79C4 98 9E 03 54 */ stb r4, 0x354(r30) /* 801AAA68 001A79C8 48 00 04 E1 */ bl SetupOnlineModelData__18CScriptPlayerActorFv lbl_801AAA6C: /* 801AAA6C 001A79CC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801AAA70 001A79D0 41 82 00 68 */ beq lbl_801AAAD8 /* 801AAA74 001A79D4 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AAA78 001A79D8 38 60 00 00 */ li r3, 0 /* 801AAA7C 001A79DC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801AAA80 001A79E0 98 1E 03 54 */ stb r0, 0x354(r30) /* 801AAA84 001A79E4 83 FE 03 20 */ lwz r31, 0x320(r30) /* 801AAA88 001A79E8 28 1F 00 00 */ cmplwi r31, 0 /* 801AAA8C 001A79EC 41 82 00 1C */ beq lbl_801AAAA8 /* 801AAA90 001A79F0 41 82 00 10 */ beq lbl_801AAAA0 /* 801AAA94 001A79F4 7F E3 FB 78 */ mr r3, r31 /* 801AAA98 001A79F8 38 80 00 00 */ li r4, 0 /* 801AAA9C 001A79FC 48 19 63 A5 */ bl __dt__6CTokenFv lbl_801AAAA0: /* 801AAAA0 001A7A00 7F E3 FB 78 */ mr r3, r31 /* 801AAAA4 001A7A04 48 16 AE 8D */ bl Free__7CMemoryFPCv lbl_801AAAA8: /* 801AAAA8 001A7A08 38 00 00 00 */ li r0, 0 /* 801AAAAC 001A7A0C 90 1E 03 20 */ stw r0, 0x320(r30) /* 801AAAB0 001A7A10 83 FE 03 24 */ lwz r31, 0x324(r30) /* 801AAAB4 001A7A14 28 1F 00 00 */ cmplwi r31, 0 /* 801AAAB8 001A7A18 41 82 00 18 */ beq lbl_801AAAD0 /* 801AAABC 001A7A1C 7F E3 FB 78 */ mr r3, r31 /* 801AAAC0 001A7A20 38 80 00 00 */ li r4, 0 /* 801AAAC4 001A7A24 48 19 63 7D */ bl __dt__6CTokenFv /* 801AAAC8 001A7A28 7F E3 FB 78 */ mr r3, r31 /* 801AAACC 001A7A2C 48 16 AE 65 */ bl Free__7CMemoryFPCv lbl_801AAAD0: /* 801AAAD0 001A7A30 38 00 00 00 */ li r0, 0 /* 801AAAD4 001A7A34 90 1E 03 24 */ stw r0, 0x324(r30) lbl_801AAAD8: /* 801AAAD8 001A7A38 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AAADC 001A7A3C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AAAE0 001A7A40 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AAAE4 001A7A44 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AAAE8 001A7A48 7C 08 03 A6 */ mtlr r0 /* 801AAAEC 001A7A4C 38 21 00 20 */ addi r1, r1, 0x20 /* 801AAAF0 001A7A50 4E 80 00 20 */ blr .global LoadBeam__18CScriptPlayerActorF7EBeamId LoadBeam__18CScriptPlayerActorF7EBeamId: /* 801AAAF4 001A7A54 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AAAF8 001A7A58 7C 08 02 A6 */ mflr r0 /* 801AAAFC 001A7A5C 90 01 00 34 */ stw r0, 0x34(r1) /* 801AAB00 001A7A60 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801AAB04 001A7A64 7C 9D 23 78 */ mr r29, r4 /* 801AAB08 001A7A68 7C 7C 1B 78 */ mr r28, r3 /* 801AAB0C 001A7A6C 80 03 03 0C */ lwz r0, 0x30c(r3) /* 801AAB10 001A7A70 7C 1D 00 00 */ cmpw r29, r0 /* 801AAB14 001A7A74 41 82 00 C4 */ beq lbl_801AABD8 /* 801AAB18 001A7A78 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 801AAB1C 001A7A7C 48 00 16 F5 */ bl GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId /* 801AAB20 001A7A80 3C 80 80 3D */ lis r4, lbl_803D14B8@ha /* 801AAB24 001A7A84 7C 7F 1B 78 */ mr r31, r3 /* 801AAB28 001A7A88 38 64 14 B8 */ addi r3, r4, lbl_803D14B8@l /* 801AAB2C 001A7A8C 3B 60 00 00 */ li r27, 0 /* 801AAB30 001A7A90 38 83 00 09 */ addi r4, r3, 9 /* 801AAB34 001A7A94 38 60 00 08 */ li r3, 8 /* 801AAB38 001A7A98 38 A0 00 00 */ li r5, 0 /* 801AAB3C 001A7A9C 48 16 AD 31 */ bl __nw__FUlPCcPCc /* 801AAB40 001A7AA0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AAB44 001A7AA4 41 82 00 40 */ beq lbl_801AAB84 /* 801AAB48 001A7AA8 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 801AAB4C 001A7AAC 93 E1 00 14 */ stw r31, 0x14(r1) /* 801AAB50 001A7AB0 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 801AAB54 001A7AB4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AAB58 001A7AB8 90 01 00 10 */ stw r0, 0x10(r1) /* 801AAB5C 001A7ABC 38 61 00 08 */ addi r3, r1, 8 /* 801AAB60 001A7AC0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AAB64 001A7AC4 81 84 00 00 */ lwz r12, 0(r4) /* 801AAB68 001A7AC8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AAB6C 001A7ACC 7D 89 03 A6 */ mtctr r12 /* 801AAB70 001A7AD0 4E 80 04 21 */ bctrl /* 801AAB74 001A7AD4 7F C3 F3 78 */ mr r3, r30 /* 801AAB78 001A7AD8 38 81 00 08 */ addi r4, r1, 8 /* 801AAB7C 001A7ADC 3B 60 00 01 */ li r27, 1 /* 801AAB80 001A7AE0 48 19 63 29 */ bl __ct__6CTokenFRC6CToken lbl_801AAB84: /* 801AAB84 001A7AE4 83 FC 03 1C */ lwz r31, 0x31c(r28) /* 801AAB88 001A7AE8 28 1F 00 00 */ cmplwi r31, 0 /* 801AAB8C 001A7AEC 41 82 00 18 */ beq lbl_801AABA4 /* 801AAB90 001A7AF0 7F E3 FB 78 */ mr r3, r31 /* 801AAB94 001A7AF4 38 80 00 00 */ li r4, 0 /* 801AAB98 001A7AF8 48 19 62 A9 */ bl __dt__6CTokenFv /* 801AAB9C 001A7AFC 7F E3 FB 78 */ mr r3, r31 /* 801AABA0 001A7B00 48 16 AD 91 */ bl Free__7CMemoryFPCv lbl_801AABA4: /* 801AABA4 001A7B04 7F 60 07 75 */ extsb. r0, r27 /* 801AABA8 001A7B08 93 DC 03 1C */ stw r30, 0x31c(r28) /* 801AABAC 001A7B0C 41 82 00 10 */ beq lbl_801AABBC /* 801AABB0 001A7B10 38 61 00 08 */ addi r3, r1, 8 /* 801AABB4 001A7B14 38 80 FF FF */ li r4, -1 /* 801AABB8 001A7B18 48 19 62 89 */ bl __dt__6CTokenFv lbl_801AABBC: /* 801AABBC 001A7B1C 80 7C 03 1C */ lwz r3, 0x31c(r28) /* 801AABC0 001A7B20 48 19 61 C5 */ bl Lock__6CTokenFv /* 801AABC4 001A7B24 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AABC8 001A7B28 38 60 00 01 */ li r3, 1 /* 801AABCC 001A7B2C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801AABD0 001A7B30 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AABD4 001A7B34 93 BC 03 0C */ stw r29, 0x30c(r28) lbl_801AABD8: /* 801AABD8 001A7B38 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801AABDC 001A7B3C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AABE0 001A7B40 7C 08 03 A6 */ mtlr r0 /* 801AABE4 001A7B44 38 21 00 30 */ addi r1, r1, 0x30 /* 801AABE8 001A7B48 4E 80 00 20 */ blr .global LoadSuit__18CScriptPlayerActorFUi LoadSuit__18CScriptPlayerActorFUi: /* 801AABEC 001A7B4C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801AABF0 001A7B50 7C 08 02 A6 */ mflr r0 /* 801AABF4 001A7B54 90 01 00 64 */ stw r0, 0x64(r1) /* 801AABF8 001A7B58 BF 41 00 48 */ stmw r26, 0x48(r1) /* 801AABFC 001A7B5C 7C 9F 23 78 */ mr r31, r4 /* 801AAC00 001A7B60 7C 7E 1B 78 */ mr r30, r3 /* 801AAC04 001A7B64 80 03 03 10 */ lwz r0, 0x310(r3) /* 801AAC08 001A7B68 7C 1F 00 00 */ cmpw r31, r0 /* 801AAC0C 001A7B6C 41 82 01 C4 */ beq lbl_801AADD0 /* 801AAC10 001A7B70 80 8D A0 6C */ lwz r4, gpCharacterFactoryBuilder@sda21(r13) /* 801AAC14 001A7B74 38 61 00 28 */ addi r3, r1, 0x28 /* 801AAC18 001A7B78 38 BE 02 E8 */ addi r5, r30, 0x2e8 /* 801AAC1C 001A7B7C 4B E8 9C 9D */ bl GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes /* 801AAC20 001A7B80 3B 61 00 30 */ addi r27, r1, 0x30 /* 801AAC24 001A7B84 38 81 00 28 */ addi r4, r1, 0x28 /* 801AAC28 001A7B88 7F 63 DB 78 */ mr r3, r27 /* 801AAC2C 001A7B8C 48 19 62 7D */ bl __ct__6CTokenFRC6CToken /* 801AAC30 001A7B90 7F 63 DB 78 */ mr r3, r27 /* 801AAC34 001A7B94 48 19 61 D9 */ bl GetObj__6CTokenFv /* 801AAC38 001A7B98 80 03 00 04 */ lwz r0, 4(r3) /* 801AAC3C 001A7B9C 38 61 00 28 */ addi r3, r1, 0x28 /* 801AAC40 001A7BA0 38 80 00 00 */ li r4, 0 /* 801AAC44 001A7BA4 90 01 00 38 */ stw r0, 0x38(r1) /* 801AAC48 001A7BA8 48 19 61 F9 */ bl __dt__6CTokenFv /* 801AAC4C 001A7BAC 80 61 00 38 */ lwz r3, 0x38(r1) /* 801AAC50 001A7BB0 7F E4 FB 78 */ mr r4, r31 /* 801AAC54 001A7BB4 4B E8 76 F1 */ bl sub_80032344 /* 801AAC58 001A7BB8 3C 80 80 3D */ lis r4, lbl_803D14B8@ha /* 801AAC5C 001A7BBC 7C 7D 1B 78 */ mr r29, r3 /* 801AAC60 001A7BC0 38 64 14 B8 */ addi r3, r4, lbl_803D14B8@l /* 801AAC64 001A7BC4 3B 40 00 00 */ li r26, 0 /* 801AAC68 001A7BC8 38 83 00 09 */ addi r4, r3, 9 /* 801AAC6C 001A7BCC 38 60 00 0C */ li r3, 0xc /* 801AAC70 001A7BD0 38 A0 00 00 */ li r5, 0 /* 801AAC74 001A7BD4 48 16 AB F9 */ bl __nw__FUlPCcPCc /* 801AAC78 001A7BD8 7C 7C 1B 79 */ or. r28, r3, r3 /* 801AAC7C 001A7BDC 41 82 00 4C */ beq lbl_801AACC8 /* 801AAC80 001A7BE0 80 DD 00 14 */ lwz r6, 0x14(r29) /* 801AAC84 001A7BE4 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 801AAC88 001A7BE8 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 801AAC8C 001A7BEC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AAC90 001A7BF0 90 01 00 20 */ stw r0, 0x20(r1) /* 801AAC94 001A7BF4 38 61 00 18 */ addi r3, r1, 0x18 /* 801AAC98 001A7BF8 38 A1 00 20 */ addi r5, r1, 0x20 /* 801AAC9C 001A7BFC 90 C1 00 24 */ stw r6, 0x24(r1) /* 801AACA0 001A7C00 81 84 00 00 */ lwz r12, 0(r4) /* 801AACA4 001A7C04 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AACA8 001A7C08 7D 89 03 A6 */ mtctr r12 /* 801AACAC 001A7C0C 4E 80 04 21 */ bctrl /* 801AACB0 001A7C10 7F 83 E3 78 */ mr r3, r28 /* 801AACB4 001A7C14 38 81 00 18 */ addi r4, r1, 0x18 /* 801AACB8 001A7C18 3B 40 00 01 */ li r26, 1 /* 801AACBC 001A7C1C 48 19 61 ED */ bl __ct__6CTokenFRC6CToken /* 801AACC0 001A7C20 38 00 00 00 */ li r0, 0 /* 801AACC4 001A7C24 90 1C 00 08 */ stw r0, 8(r28) lbl_801AACC8: /* 801AACC8 001A7C28 83 7E 03 20 */ lwz r27, 0x320(r30) /* 801AACCC 001A7C2C 28 1B 00 00 */ cmplwi r27, 0 /* 801AACD0 001A7C30 41 82 00 1C */ beq lbl_801AACEC /* 801AACD4 001A7C34 41 82 00 10 */ beq lbl_801AACE4 /* 801AACD8 001A7C38 7F 63 DB 78 */ mr r3, r27 /* 801AACDC 001A7C3C 38 80 00 00 */ li r4, 0 /* 801AACE0 001A7C40 48 19 61 61 */ bl __dt__6CTokenFv lbl_801AACE4: /* 801AACE4 001A7C44 7F 63 DB 78 */ mr r3, r27 /* 801AACE8 001A7C48 48 16 AC 49 */ bl Free__7CMemoryFPCv lbl_801AACEC: /* 801AACEC 001A7C4C 7F 40 07 75 */ extsb. r0, r26 /* 801AACF0 001A7C50 93 9E 03 20 */ stw r28, 0x320(r30) /* 801AACF4 001A7C54 41 82 00 10 */ beq lbl_801AAD04 /* 801AACF8 001A7C58 38 61 00 18 */ addi r3, r1, 0x18 /* 801AACFC 001A7C5C 38 80 FF FF */ li r4, -1 /* 801AAD00 001A7C60 48 19 61 41 */ bl __dt__6CTokenFv lbl_801AAD04: /* 801AAD04 001A7C64 80 7E 03 20 */ lwz r3, 0x320(r30) /* 801AAD08 001A7C68 48 19 60 7D */ bl Lock__6CTokenFv /* 801AAD0C 001A7C6C 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AAD10 001A7C70 3B 40 00 00 */ li r26, 0 /* 801AAD14 001A7C74 38 83 14 B8 */ addi r4, r3, lbl_803D14B8@l /* 801AAD18 001A7C78 38 60 00 08 */ li r3, 8 /* 801AAD1C 001A7C7C 38 84 00 09 */ addi r4, r4, 9 /* 801AAD20 001A7C80 38 A0 00 00 */ li r5, 0 /* 801AAD24 001A7C84 48 16 AB 49 */ bl __nw__FUlPCcPCc /* 801AAD28 001A7C88 7C 7B 1B 79 */ or. r27, r3, r3 /* 801AAD2C 001A7C8C 41 82 00 44 */ beq lbl_801AAD70 /* 801AAD30 001A7C90 80 DD 00 18 */ lwz r6, 0x18(r29) /* 801AAD34 001A7C94 3C 60 43 53 */ lis r3, 0x43534B52@ha /* 801AAD38 001A7C98 38 03 4B 52 */ addi r0, r3, 0x43534B52@l /* 801AAD3C 001A7C9C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AAD40 001A7CA0 90 01 00 10 */ stw r0, 0x10(r1) /* 801AAD44 001A7CA4 38 61 00 08 */ addi r3, r1, 8 /* 801AAD48 001A7CA8 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AAD4C 001A7CAC 90 C1 00 14 */ stw r6, 0x14(r1) /* 801AAD50 001A7CB0 81 84 00 00 */ lwz r12, 0(r4) /* 801AAD54 001A7CB4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AAD58 001A7CB8 7D 89 03 A6 */ mtctr r12 /* 801AAD5C 001A7CBC 4E 80 04 21 */ bctrl /* 801AAD60 001A7CC0 7F 63 DB 78 */ mr r3, r27 /* 801AAD64 001A7CC4 38 81 00 08 */ addi r4, r1, 8 /* 801AAD68 001A7CC8 3B 40 00 01 */ li r26, 1 /* 801AAD6C 001A7CCC 48 19 61 3D */ bl __ct__6CTokenFRC6CToken lbl_801AAD70: /* 801AAD70 001A7CD0 83 9E 03 24 */ lwz r28, 0x324(r30) /* 801AAD74 001A7CD4 28 1C 00 00 */ cmplwi r28, 0 /* 801AAD78 001A7CD8 41 82 00 18 */ beq lbl_801AAD90 /* 801AAD7C 001A7CDC 7F 83 E3 78 */ mr r3, r28 /* 801AAD80 001A7CE0 38 80 00 00 */ li r4, 0 /* 801AAD84 001A7CE4 48 19 60 BD */ bl __dt__6CTokenFv /* 801AAD88 001A7CE8 7F 83 E3 78 */ mr r3, r28 /* 801AAD8C 001A7CEC 48 16 AB A5 */ bl Free__7CMemoryFPCv lbl_801AAD90: /* 801AAD90 001A7CF0 7F 40 07 75 */ extsb. r0, r26 /* 801AAD94 001A7CF4 93 7E 03 24 */ stw r27, 0x324(r30) /* 801AAD98 001A7CF8 41 82 00 10 */ beq lbl_801AADA8 /* 801AAD9C 001A7CFC 38 61 00 08 */ addi r3, r1, 8 /* 801AADA0 001A7D00 38 80 FF FF */ li r4, -1 /* 801AADA4 001A7D04 48 19 60 9D */ bl __dt__6CTokenFv lbl_801AADA8: /* 801AADA8 001A7D08 80 7E 03 24 */ lwz r3, 0x324(r30) /* 801AADAC 001A7D0C 48 19 5F D9 */ bl Lock__6CTokenFv /* 801AADB0 001A7D10 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AADB4 001A7D14 38 60 00 01 */ li r3, 1 /* 801AADB8 001A7D18 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801AADBC 001A7D1C 38 61 00 30 */ addi r3, r1, 0x30 /* 801AADC0 001A7D20 98 1E 03 54 */ stb r0, 0x354(r30) /* 801AADC4 001A7D24 38 80 00 00 */ li r4, 0 /* 801AADC8 001A7D28 93 FE 03 10 */ stw r31, 0x310(r30) /* 801AADCC 001A7D2C 48 19 60 75 */ bl __dt__6CTokenFv lbl_801AADD0: /* 801AADD0 001A7D30 BB 41 00 48 */ lmw r26, 0x48(r1) /* 801AADD4 001A7D34 80 01 00 64 */ lwz r0, 0x64(r1) /* 801AADD8 001A7D38 7C 08 03 A6 */ mtlr r0 /* 801AADDC 001A7D3C 38 21 00 60 */ addi r1, r1, 0x60 /* 801AADE0 001A7D40 4E 80 00 20 */ blr .global SetupOfflineModelData__18CScriptPlayerActorFv SetupOfflineModelData__18CScriptPlayerActorFv: /* 801AADE4 001A7D44 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801AADE8 001A7D48 7C 08 02 A6 */ mflr r0 /* 801AADEC 001A7D4C 38 A0 00 00 */ li r5, 0 /* 801AADF0 001A7D50 90 01 00 44 */ stw r0, 0x44(r1) /* 801AADF4 001A7D54 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801AADF8 001A7D58 7C 7F 1B 78 */ mr r31, r3 /* 801AADFC 001A7D5C 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AAE00 001A7D60 93 C1 00 38 */ stw r30, 0x38(r1) /* 801AAE04 001A7D64 38 63 14 B8 */ addi r3, r3, lbl_803D14B8@l /* 801AAE08 001A7D68 38 83 00 09 */ addi r4, r3, 9 /* 801AAE0C 001A7D6C 93 A1 00 34 */ stw r29, 0x34(r1) /* 801AAE10 001A7D70 38 60 00 4C */ li r3, 0x4c /* 801AAE14 001A7D74 89 3F 02 FC */ lbz r9, 0x2fc(r31) /* 801AAE18 001A7D78 81 5F 03 00 */ lwz r10, 0x300(r31) /* 801AAE1C 001A7D7C 81 1F 02 E8 */ lwz r8, 0x2e8(r31) /* 801AAE20 001A7D80 80 FF 03 10 */ lwz r7, 0x310(r31) /* 801AAE24 001A7D84 C0 5F 02 F0 */ lfs f2, 0x2f0(r31) /* 801AAE28 001A7D88 C0 3F 02 F4 */ lfs f1, 0x2f4(r31) /* 801AAE2C 001A7D8C C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 801AAE30 001A7D90 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801AAE34 001A7D94 91 1F 02 E8 */ stw r8, 0x2e8(r31) /* 801AAE38 001A7D98 80 01 00 10 */ lwz r0, 0x10(r1) /* 801AAE3C 001A7D9C D0 21 00 14 */ stfs f1, 0x14(r1) /* 801AAE40 001A7DA0 90 FF 02 EC */ stw r7, 0x2ec(r31) /* 801AAE44 001A7DA4 80 C1 00 14 */ lwz r6, 0x14(r1) /* 801AAE48 001A7DA8 90 1F 02 F0 */ stw r0, 0x2f0(r31) /* 801AAE4C 001A7DAC D0 01 00 18 */ stfs f0, 0x18(r1) /* 801AAE50 001A7DB0 80 01 00 18 */ lwz r0, 0x18(r1) /* 801AAE54 001A7DB4 90 DF 02 F4 */ stw r6, 0x2f4(r31) /* 801AAE58 001A7DB8 90 1F 02 F8 */ stw r0, 0x2f8(r31) /* 801AAE5C 001A7DBC 99 3F 02 FC */ stb r9, 0x2fc(r31) /* 801AAE60 001A7DC0 91 01 00 08 */ stw r8, 8(r1) /* 801AAE64 001A7DC4 90 E1 00 0C */ stw r7, 0xc(r1) /* 801AAE68 001A7DC8 99 21 00 1C */ stb r9, 0x1c(r1) /* 801AAE6C 001A7DCC 91 41 00 20 */ stw r10, 0x20(r1) /* 801AAE70 001A7DD0 91 5F 03 00 */ stw r10, 0x300(r31) /* 801AAE74 001A7DD4 48 16 A9 F9 */ bl __nw__FUlPCcPCc /* 801AAE78 001A7DD8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AAE7C 001A7DDC 41 82 00 10 */ beq lbl_801AAE8C /* 801AAE80 001A7DE0 38 9F 02 E8 */ addi r4, r31, 0x2e8 /* 801AAE84 001A7DE4 4B F6 BC D1 */ bl __ct__10CModelDataFRC8CAnimRes /* 801AAE88 001A7DE8 7C 7E 1B 78 */ mr r30, r3 lbl_801AAE8C: /* 801AAE8C 001A7DEC 80 7F 03 18 */ lwz r3, 0x318(r31) /* 801AAE90 001A7DF0 38 80 00 01 */ li r4, 1 /* 801AAE94 001A7DF4 4B F6 BB B9 */ bl __dt__10CModelDataFv /* 801AAE98 001A7DF8 93 DF 03 18 */ stw r30, 0x318(r31) /* 801AAE9C 001A7DFC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 801AAEA0 001A7E00 88 03 01 60 */ lbz r0, 0x160(r3) /* 801AAEA4 001A7E04 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801AAEA8 001A7E08 40 82 00 6C */ bne lbl_801AAF14 /* 801AAEAC 001A7E0C 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801AAEB0 001A7E10 88 1F 03 34 */ lbz r0, 0x334(r31) /* 801AAEB4 001A7E14 80 63 00 10 */ lwz r3, 0x10(r3) /* 801AAEB8 001A7E18 28 00 00 00 */ cmplwi r0, 0 /* 801AAEBC 001A7E1C 3B A3 00 D8 */ addi r29, r3, 0xd8 /* 801AAEC0 001A7E20 40 82 00 34 */ bne lbl_801AAEF4 /* 801AAEC4 001A7E24 37 DF 03 28 */ addic. r30, r31, 0x328 /* 801AAEC8 001A7E28 41 82 00 20 */ beq lbl_801AAEE8 /* 801AAECC 001A7E2C 7F C3 F3 78 */ mr r3, r30 /* 801AAED0 001A7E30 7F A4 EB 78 */ mr r4, r29 /* 801AAED4 001A7E34 48 19 5F D5 */ bl __ct__6CTokenFRC6CToken /* 801AAED8 001A7E38 80 1D 00 08 */ lwz r0, 8(r29) /* 801AAEDC 001A7E3C 7F C3 F3 78 */ mr r3, r30 /* 801AAEE0 001A7E40 90 1E 00 08 */ stw r0, 8(r30) /* 801AAEE4 001A7E44 48 19 5E A1 */ bl Lock__6CTokenFv lbl_801AAEE8: /* 801AAEE8 001A7E48 38 00 00 01 */ li r0, 1 /* 801AAEEC 001A7E4C 98 1F 03 34 */ stb r0, 0x334(r31) /* 801AAEF0 001A7E50 48 00 00 1C */ b lbl_801AAF0C lbl_801AAEF4: /* 801AAEF4 001A7E54 3B DF 03 28 */ addi r30, r31, 0x328 /* 801AAEF8 001A7E58 7F A4 EB 78 */ mr r4, r29 /* 801AAEFC 001A7E5C 7F C3 F3 78 */ mr r3, r30 /* 801AAF00 001A7E60 48 19 5D C5 */ bl __as__6CTokenFRC6CToken /* 801AAF04 001A7E64 80 1D 00 08 */ lwz r0, 8(r29) /* 801AAF08 001A7E68 90 1E 00 08 */ stw r0, 8(r30) lbl_801AAF0C: /* 801AAF0C 001A7E6C 38 00 00 02 */ li r0, 2 /* 801AAF10 001A7E70 90 1F 03 48 */ stw r0, 0x348(r31) lbl_801AAF14: /* 801AAF14 001A7E74 80 7F 03 18 */ lwz r3, 0x318(r31) /* 801AAF18 001A7E78 80 BF 00 64 */ lwz r5, 0x64(r31) /* 801AAF1C 001A7E7C 80 83 00 10 */ lwz r4, 0x10(r3) /* 801AAF20 001A7E80 80 65 00 10 */ lwz r3, 0x10(r5) /* 801AAF24 001A7E84 38 84 00 D8 */ addi r4, r4, 0xd8 /* 801AAF28 001A7E88 4B E8 31 75 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" /* 801AAF2C 001A7E8C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801AAF30 001A7E90 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801AAF34 001A7E94 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801AAF38 001A7E98 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801AAF3C 001A7E9C 7C 08 03 A6 */ mtlr r0 /* 801AAF40 001A7EA0 38 21 00 40 */ addi r1, r1, 0x40 /* 801AAF44 001A7EA4 4E 80 00 20 */ blr .global SetupOnlineModelData__18CScriptPlayerActorFv SetupOnlineModelData__18CScriptPlayerActorFv: /* 801AAF48 001A7EA8 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801AAF4C 001A7EAC 7C 08 02 A6 */ mflr r0 /* 801AAF50 001A7EB0 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801AAF54 001A7EB4 93 E1 00 EC */ stw r31, 0xec(r1) /* 801AAF58 001A7EB8 7C 7F 1B 78 */ mr r31, r3 /* 801AAF5C 001A7EBC 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801AAF60 001A7EC0 81 23 03 10 */ lwz r9, 0x310(r3) /* 801AAF64 001A7EC4 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 801AAF68 001A7EC8 7C 09 00 00 */ cmpw r9, r0 /* 801AAF6C 001A7ECC 40 82 00 44 */ bne lbl_801AAFB0 /* 801AAF70 001A7ED0 80 9F 00 64 */ lwz r4, 0x64(r31) /* 801AAF74 001A7ED4 38 60 00 00 */ li r3, 0 /* 801AAF78 001A7ED8 28 04 00 00 */ cmplwi r4, 0 /* 801AAF7C 001A7EDC 41 82 00 20 */ beq lbl_801AAF9C /* 801AAF80 001A7EE0 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AAF84 001A7EE4 28 00 00 00 */ cmplwi r0, 0 /* 801AAF88 001A7EE8 40 82 00 10 */ bne lbl_801AAF98 /* 801AAF8C 001A7EEC 88 04 00 28 */ lbz r0, 0x28(r4) /* 801AAF90 001A7EF0 28 00 00 00 */ cmplwi r0, 0 /* 801AAF94 001A7EF4 41 82 00 08 */ beq lbl_801AAF9C lbl_801AAF98: /* 801AAF98 001A7EF8 38 60 00 01 */ li r3, 1 lbl_801AAF9C: /* 801AAF9C 001A7EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AAFA0 001A7F00 41 82 00 10 */ beq lbl_801AAFB0 /* 801AAFA4 001A7F04 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AAFA8 001A7F08 28 00 00 00 */ cmplwi r0, 0 /* 801AAFAC 001A7F0C 40 82 01 0C */ bne lbl_801AB0B8 lbl_801AAFB0: /* 801AAFB0 001A7F10 88 FF 02 FC */ lbz r7, 0x2fc(r31) /* 801AAFB4 001A7F14 38 61 00 94 */ addi r3, r1, 0x94 /* 801AAFB8 001A7F18 81 1F 03 00 */ lwz r8, 0x300(r31) /* 801AAFBC 001A7F1C 38 9F 02 E8 */ addi r4, r31, 0x2e8 /* 801AAFC0 001A7F20 80 DF 02 E8 */ lwz r6, 0x2e8(r31) /* 801AAFC4 001A7F24 C0 5F 02 F0 */ lfs f2, 0x2f0(r31) /* 801AAFC8 001A7F28 C0 3F 02 F4 */ lfs f1, 0x2f4(r31) /* 801AAFCC 001A7F2C C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 801AAFD0 001A7F30 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801AAFD4 001A7F34 90 DF 02 E8 */ stw r6, 0x2e8(r31) /* 801AAFD8 001A7F38 80 01 00 28 */ lwz r0, 0x28(r1) /* 801AAFDC 001A7F3C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801AAFE0 001A7F40 91 3F 02 EC */ stw r9, 0x2ec(r31) /* 801AAFE4 001A7F44 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801AAFE8 001A7F48 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801AAFEC 001A7F4C 90 1F 02 F0 */ stw r0, 0x2f0(r31) /* 801AAFF0 001A7F50 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AAFF4 001A7F54 90 BF 02 F4 */ stw r5, 0x2f4(r31) /* 801AAFF8 001A7F58 90 1F 02 F8 */ stw r0, 0x2f8(r31) /* 801AAFFC 001A7F5C 98 FF 02 FC */ stb r7, 0x2fc(r31) /* 801AB000 001A7F60 90 C1 00 20 */ stw r6, 0x20(r1) /* 801AB004 001A7F64 91 21 00 24 */ stw r9, 0x24(r1) /* 801AB008 001A7F68 98 E1 00 34 */ stb r7, 0x34(r1) /* 801AB00C 001A7F6C 91 01 00 38 */ stw r8, 0x38(r1) /* 801AB010 001A7F70 91 1F 03 00 */ stw r8, 0x300(r31) /* 801AB014 001A7F74 4B F6 BB 41 */ bl __ct__10CModelDataFRC8CAnimRes /* 801AB018 001A7F78 7F E3 FB 78 */ mr r3, r31 /* 801AB01C 001A7F7C 38 81 00 94 */ addi r4, r1, 0x94 /* 801AB020 001A7F80 4B EA A0 11 */ bl SetModelData__6CActorFRC10CModelData /* 801AB024 001A7F84 80 9F 03 00 */ lwz r4, 0x300(r31) /* 801AB028 001A7F88 38 00 00 00 */ li r0, 0 /* 801AB02C 001A7F8C C0 02 A8 44 */ lfs f0, lbl_805AC564@sda21(r2) /* 801AB030 001A7F90 38 C0 FF FF */ li r6, -1 /* 801AB034 001A7F94 38 60 00 01 */ li r3, 1 /* 801AB038 001A7F98 90 81 00 6C */ stw r4, 0x6c(r1) /* 801AB03C 001A7F9C 38 81 00 6C */ addi r4, r1, 0x6c /* 801AB040 001A7FA0 38 A0 00 00 */ li r5, 0 /* 801AB044 001A7FA4 90 C1 00 70 */ stw r6, 0x70(r1) /* 801AB048 001A7FA8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801AB04C 001A7FAC 98 61 00 78 */ stb r3, 0x78(r1) /* 801AB050 001A7FB0 90 01 00 7C */ stw r0, 0x7c(r1) /* 801AB054 001A7FB4 90 01 00 80 */ stw r0, 0x80(r1) /* 801AB058 001A7FB8 98 01 00 84 */ stb r0, 0x84(r1) /* 801AB05C 001A7FBC 90 01 00 88 */ stw r0, 0x88(r1) /* 801AB060 001A7FC0 90 01 00 8C */ stw r0, 0x8c(r1) /* 801AB064 001A7FC4 90 01 00 90 */ stw r0, 0x90(r1) /* 801AB068 001A7FC8 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801AB06C 001A7FCC 80 63 00 10 */ lwz r3, 0x10(r3) /* 801AB070 001A7FD0 4B E8 1D 0D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801AB074 001A7FD4 88 1F 03 54 */ lbz r0, 0x354(r31) /* 801AB078 001A7FD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB07C 001A7FDC 41 82 00 30 */ beq lbl_801AB0AC /* 801AB080 001A7FE0 83 DF 00 64 */ lwz r30, 0x64(r31) /* 801AB084 001A7FE4 38 61 00 3C */ addi r3, r1, 0x3c /* 801AB088 001A7FE8 38 9F 00 34 */ addi r4, r31, 0x34 /* 801AB08C 001A7FEC 48 16 7B B5 */ bl GetRotation__12CTransform4fCFv /* 801AB090 001A7FF0 7F C4 F3 78 */ mr r4, r30 /* 801AB094 001A7FF4 38 61 00 08 */ addi r3, r1, 8 /* 801AB098 001A7FF8 38 A1 00 3C */ addi r5, r1, 0x3c /* 801AB09C 001A7FFC 4B F6 A7 19 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 801AB0A0 001A8000 7F E3 FB 78 */ mr r3, r31 /* 801AB0A4 001A8004 38 81 00 08 */ addi r4, r1, 8 /* 801AB0A8 001A8008 4B F6 F5 B1 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox lbl_801AB0AC: /* 801AB0AC 001A800C 38 61 00 94 */ addi r3, r1, 0x94 /* 801AB0B0 001A8010 38 80 FF FF */ li r4, -1 /* 801AB0B4 001A8014 4B F6 B9 99 */ bl __dt__10CModelDataFv lbl_801AB0B8: /* 801AB0B8 001A8018 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801AB0BC 001A801C 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801AB0C0 001A8020 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801AB0C4 001A8024 7C 08 03 A6 */ mtlr r0 /* 801AB0C8 001A8028 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801AB0CC 001A802C 4E 80 00 20 */ blr .global BuildBeamModelData__18CScriptPlayerActorFv BuildBeamModelData__18CScriptPlayerActorFv: /* 801AB0D0 001A8030 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AB0D4 001A8034 7C 08 02 A6 */ mflr r0 /* 801AB0D8 001A8038 90 01 00 24 */ stw r0, 0x24(r1) /* 801AB0DC 001A803C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AB0E0 001A8040 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AB0E4 001A8044 7C 7E 1B 78 */ mr r30, r3 /* 801AB0E8 001A8048 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 801AB0EC 001A804C 80 9E 03 0C */ lwz r4, 0x30c(r30) /* 801AB0F0 001A8050 48 00 11 21 */ bl GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId /* 801AB0F4 001A8054 90 61 00 08 */ stw r3, 8(r1) /* 801AB0F8 001A8058 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AB0FC 001A805C 38 83 14 B8 */ addi r4, r3, lbl_803D14B8@l /* 801AB100 001A8060 38 60 00 4C */ li r3, 0x4c /* 801AB104 001A8064 C0 1E 02 F0 */ lfs f0, 0x2f0(r30) /* 801AB108 001A8068 38 84 00 09 */ addi r4, r4, 9 /* 801AB10C 001A806C 38 A0 00 00 */ li r5, 0 /* 801AB110 001A8070 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801AB114 001A8074 C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 801AB118 001A8078 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801AB11C 001A807C C0 1E 02 F8 */ lfs f0, 0x2f8(r30) /* 801AB120 001A8080 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801AB124 001A8084 48 16 A7 49 */ bl __nw__FUlPCcPCc /* 801AB128 001A8088 7C 7F 1B 79 */ or. r31, r3, r3 /* 801AB12C 001A808C 41 82 00 10 */ beq lbl_801AB13C /* 801AB130 001A8090 38 81 00 08 */ addi r4, r1, 8 /* 801AB134 001A8094 4B F6 BC 29 */ bl __ct__10CModelDataFRC10CStaticRes /* 801AB138 001A8098 7C 7F 1B 78 */ mr r31, r3 lbl_801AB13C: /* 801AB13C 001A809C 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AB140 001A80A0 38 80 00 01 */ li r4, 1 /* 801AB144 001A80A4 4B F6 B9 09 */ bl __dt__10CModelDataFv /* 801AB148 001A80A8 93 FE 03 14 */ stw r31, 0x314(r30) /* 801AB14C 001A80AC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AB150 001A80B0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AB154 001A80B4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AB158 001A80B8 7C 08 03 A6 */ mtlr r0 /* 801AB15C 001A80BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801AB160 001A80C0 4E 80 00 20 */ blr .global AddToRenderer__18CScriptPlayerActorCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__18CScriptPlayerActorCFRC14CFrustumPlanesRC13CStateManager: /* 801AB164 001A80C4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AB168 001A80C8 7C 08 02 A6 */ mflr r0 /* 801AB16C 001A80CC 90 01 00 24 */ stw r0, 0x24(r1) /* 801AB170 001A80D0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AB174 001A80D4 7C BF 2B 78 */ mr r31, r5 /* 801AB178 001A80D8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AB17C 001A80DC 7C 9E 23 78 */ mr r30, r4 /* 801AB180 001A80E0 7F E4 FB 78 */ mr r4, r31 /* 801AB184 001A80E4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AB188 001A80E8 7C 7D 1B 78 */ mr r29, r3 /* 801AB18C 001A80EC 48 00 00 3D */ bl TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager /* 801AB190 001A80F0 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801AB194 001A80F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB198 001A80F8 41 82 00 14 */ beq lbl_801AB1AC /* 801AB19C 001A80FC 7F A3 EB 78 */ mr r3, r29 /* 801AB1A0 001A8100 7F C4 F3 78 */ mr r4, r30 /* 801AB1A4 001A8104 7F E5 FB 78 */ mr r5, r31 /* 801AB1A8 001A8108 4B EA 99 91 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager lbl_801AB1AC: /* 801AB1AC 001A810C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AB1B0 001A8110 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AB1B4 001A8114 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AB1B8 001A8118 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AB1BC 001A811C 7C 08 03 A6 */ mtlr r0 /* 801AB1C0 001A8120 38 21 00 20 */ addi r1, r1, 0x20 /* 801AB1C4 001A8124 4E 80 00 20 */ blr .global TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager: /* 801AB1C8 001A8128 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AB1CC 001A812C 7C 08 02 A6 */ mflr r0 /* 801AB1D0 001A8130 90 01 00 14 */ stw r0, 0x14(r1) /* 801AB1D4 001A8134 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AB1D8 001A8138 7C 9F 23 78 */ mr r31, r4 /* 801AB1DC 001A813C 38 80 00 00 */ li r4, 0 /* 801AB1E0 001A8140 93 C1 00 08 */ stw r30, 8(r1) /* 801AB1E4 001A8144 7C 7E 1B 78 */ mr r30, r3 /* 801AB1E8 001A8148 80 63 00 64 */ lwz r3, 0x64(r3) /* 801AB1EC 001A814C 28 03 00 00 */ cmplwi r3, 0 /* 801AB1F0 001A8150 41 82 00 20 */ beq lbl_801AB210 /* 801AB1F4 001A8154 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB1F8 001A8158 28 00 00 00 */ cmplwi r0, 0 /* 801AB1FC 001A815C 40 82 00 10 */ bne lbl_801AB20C /* 801AB200 001A8160 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB204 001A8164 28 00 00 00 */ cmplwi r0, 0 /* 801AB208 001A8168 41 82 00 08 */ beq lbl_801AB210 lbl_801AB20C: /* 801AB20C 001A816C 38 80 00 01 */ li r4, 1 lbl_801AB210: /* 801AB210 001A8170 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB214 001A8174 41 82 00 10 */ beq lbl_801AB224 /* 801AB218 001A8178 7F E4 FB 78 */ mr r4, r31 /* 801AB21C 001A817C 38 A0 00 00 */ li r5, 0 /* 801AB220 001A8180 4B F6 AA F1 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801AB224: /* 801AB224 001A8184 80 7E 03 18 */ lwz r3, 0x318(r30) /* 801AB228 001A8188 38 80 00 00 */ li r4, 0 /* 801AB22C 001A818C 28 03 00 00 */ cmplwi r3, 0 /* 801AB230 001A8190 41 82 00 20 */ beq lbl_801AB250 /* 801AB234 001A8194 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB238 001A8198 28 00 00 00 */ cmplwi r0, 0 /* 801AB23C 001A819C 40 82 00 10 */ bne lbl_801AB24C /* 801AB240 001A81A0 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB244 001A81A4 28 00 00 00 */ cmplwi r0, 0 /* 801AB248 001A81A8 41 82 00 08 */ beq lbl_801AB250 lbl_801AB24C: /* 801AB24C 001A81AC 38 80 00 01 */ li r4, 1 lbl_801AB250: /* 801AB250 001A81B0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB254 001A81B4 41 82 00 10 */ beq lbl_801AB264 /* 801AB258 001A81B8 7F E4 FB 78 */ mr r4, r31 /* 801AB25C 001A81BC 38 A0 00 00 */ li r5, 0 /* 801AB260 001A81C0 4B F6 AA B1 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801AB264: /* 801AB264 001A81C4 88 1E 03 54 */ lbz r0, 0x354(r30) /* 801AB268 001A81C8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801AB26C 001A81CC 40 82 00 44 */ bne lbl_801AB2B0 /* 801AB270 001A81D0 80 7E 03 14 */ lwz r3, 0x314(r30) /* 801AB274 001A81D4 38 80 00 00 */ li r4, 0 /* 801AB278 001A81D8 28 03 00 00 */ cmplwi r3, 0 /* 801AB27C 001A81DC 41 82 00 20 */ beq lbl_801AB29C /* 801AB280 001A81E0 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB284 001A81E4 28 00 00 00 */ cmplwi r0, 0 /* 801AB288 001A81E8 40 82 00 10 */ bne lbl_801AB298 /* 801AB28C 001A81EC 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB290 001A81F0 28 00 00 00 */ cmplwi r0, 0 /* 801AB294 001A81F4 41 82 00 08 */ beq lbl_801AB29C lbl_801AB298: /* 801AB298 001A81F8 38 80 00 01 */ li r4, 1 lbl_801AB29C: /* 801AB29C 001A81FC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB2A0 001A8200 41 82 00 10 */ beq lbl_801AB2B0 /* 801AB2A4 001A8204 7F E4 FB 78 */ mr r4, r31 /* 801AB2A8 001A8208 38 A0 00 00 */ li r5, 0 /* 801AB2AC 001A820C 4B F6 AA 65 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801AB2B0: /* 801AB2B0 001A8210 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AB2B4 001A8214 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AB2B8 001A8218 83 C1 00 08 */ lwz r30, 8(r1) /* 801AB2BC 001A821C 7C 08 03 A6 */ mtlr r0 /* 801AB2C0 001A8220 38 21 00 10 */ addi r1, r1, 0x10 /* 801AB2C4 001A8224 4E 80 00 20 */ blr .global TouchModels__18CScriptPlayerActorFRC13CStateManager TouchModels__18CScriptPlayerActorFRC13CStateManager: /* 801AB2C8 001A8228 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AB2CC 001A822C 7C 08 02 A6 */ mflr r0 /* 801AB2D0 001A8230 90 01 00 24 */ stw r0, 0x24(r1) /* 801AB2D4 001A8234 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AB2D8 001A8238 7C 7F 1B 78 */ mr r31, r3 /* 801AB2DC 001A823C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AB2E0 001A8240 7C 9E 23 78 */ mr r30, r4 /* 801AB2E4 001A8244 4B FF FE E5 */ bl TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager /* 801AB2E8 001A8248 A0 1F 03 56 */ lhz r0, 0x356(r31) /* 801AB2EC 001A824C B0 01 00 0C */ sth r0, 0xc(r1) /* 801AB2F0 001A8250 48 00 00 5C */ b lbl_801AB34C lbl_801AB2F4: /* 801AB2F4 001A8254 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801AB2F8 001A8258 7F C3 F3 78 */ mr r3, r30 /* 801AB2FC 001A825C 38 81 00 08 */ addi r4, r1, 8 /* 801AB300 001A8260 B0 01 00 08 */ sth r0, 8(r1) /* 801AB304 001A8264 4B EA 12 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AB308 001A8268 7C 64 1B 78 */ mr r4, r3 /* 801AB30C 001A826C 38 61 00 10 */ addi r3, r1, 0x10 /* 801AB310 001A8270 4B F0 0A 5D */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" /* 801AB314 001A8274 83 E3 00 04 */ lwz r31, 4(r3) /* 801AB318 001A8278 28 1F 00 00 */ cmplwi r31, 0 /* 801AB31C 001A827C 41 82 00 28 */ beq lbl_801AB344 /* 801AB320 001A8280 88 1F 02 E3 */ lbz r0, 0x2e3(r31) /* 801AB324 001A8284 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB328 001A8288 41 82 00 1C */ beq lbl_801AB344 /* 801AB32C 001A828C 7F E3 FB 78 */ mr r3, r31 /* 801AB330 001A8290 7F C4 F3 78 */ mr r4, r30 /* 801AB334 001A8294 4B FF FE 95 */ bl TouchModels_Internal__18CScriptPlayerActorFRC13CStateManager /* 801AB338 001A8298 A0 1F 03 56 */ lhz r0, 0x356(r31) /* 801AB33C 001A829C B0 01 00 0C */ sth r0, 0xc(r1) /* 801AB340 001A82A0 48 00 00 0C */ b lbl_801AB34C lbl_801AB344: /* 801AB344 001A82A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AB348 001A82A8 B0 01 00 0C */ sth r0, 0xc(r1) lbl_801AB34C: /* 801AB34C 001A82AC A0 61 00 0C */ lhz r3, 0xc(r1) /* 801AB350 001A82B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AB354 001A82B4 7C 03 00 40 */ cmplw r3, r0 /* 801AB358 001A82B8 40 82 FF 9C */ bne lbl_801AB2F4 /* 801AB35C 001A82BC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AB360 001A82C0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AB364 001A82C4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AB368 001A82C8 7C 08 03 A6 */ mtlr r0 /* 801AB36C 001A82CC 38 21 00 20 */ addi r1, r1, 0x20 /* 801AB370 001A82D0 4E 80 00 20 */ blr .global Render__18CScriptPlayerActorCFRC13CStateManager Render__18CScriptPlayerActorCFRC13CStateManager: /* 801AB374 001A82D4 94 21 FE 80 */ stwu r1, -0x180(r1) /* 801AB378 001A82D8 7C 08 02 A6 */ mflr r0 /* 801AB37C 001A82DC 90 01 01 84 */ stw r0, 0x184(r1) /* 801AB380 001A82E0 DB E1 01 70 */ stfd f31, 0x170(r1) /* 801AB384 001A82E4 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 /* 801AB388 001A82E8 DB C1 01 60 */ stfd f30, 0x160(r1) /* 801AB38C 001A82EC F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 /* 801AB390 001A82F0 DB A1 01 50 */ stfd f29, 0x150(r1) /* 801AB394 001A82F4 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 /* 801AB398 001A82F8 BF 61 01 3C */ stmw r27, 0x13c(r1) /* 801AB39C 001A82FC 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 801AB3A0 001A8300 7C 7D 1B 78 */ mr r29, r3 /* 801AB3A4 001A8304 7C 9E 23 78 */ mr r30, r4 /* 801AB3A8 001A8308 20 00 00 03 */ subfic r0, r0, 3 /* 801AB3AC 001A830C 7C 03 00 34 */ cntlzw r3, r0 /* 801AB3B0 001A8310 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f /* 801AB3B4 001A8314 54 7F D9 7E */ srwi r31, r3, 5 /* 801AB3B8 001A8318 41 82 00 10 */ beq lbl_801AB3C8 /* 801AB3BC 001A831C 38 60 00 01 */ li r3, 1 /* 801AB3C0 001A8320 38 80 00 FF */ li r4, 0xff /* 801AB3C4 001A8324 48 1D 0D 1D */ bl GXSetDstAlpha lbl_801AB3C8: /* 801AB3C8 001A8328 7F A3 EB 78 */ mr r3, r29 /* 801AB3CC 001A832C 7F C4 F3 78 */ mr r4, r30 /* 801AB3D0 001A8330 4B F6 F1 19 */ bl Render__13CPhysicsActorCFRC13CStateManager /* 801AB3D4 001A8334 80 9D 03 14 */ lwz r4, 0x314(r29) /* 801AB3D8 001A8338 38 60 00 00 */ li r3, 0 /* 801AB3DC 001A833C 28 04 00 00 */ cmplwi r4, 0 /* 801AB3E0 001A8340 41 82 00 20 */ beq lbl_801AB400 /* 801AB3E4 001A8344 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AB3E8 001A8348 28 00 00 00 */ cmplwi r0, 0 /* 801AB3EC 001A834C 40 82 00 10 */ bne lbl_801AB3FC /* 801AB3F0 001A8350 88 04 00 28 */ lbz r0, 0x28(r4) /* 801AB3F4 001A8354 28 00 00 00 */ cmplwi r0, 0 /* 801AB3F8 001A8358 41 82 00 08 */ beq lbl_801AB400 lbl_801AB3FC: /* 801AB3FC 001A835C 38 60 00 01 */ li r3, 1 lbl_801AB400: /* 801AB400 001A8360 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB404 001A8364 41 82 01 04 */ beq lbl_801AB508 /* 801AB408 001A8368 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801AB40C 001A836C 38 60 00 00 */ li r3, 0 /* 801AB410 001A8370 28 04 00 00 */ cmplwi r4, 0 /* 801AB414 001A8374 41 82 00 20 */ beq lbl_801AB434 /* 801AB418 001A8378 80 04 00 10 */ lwz r0, 0x10(r4) /* 801AB41C 001A837C 28 00 00 00 */ cmplwi r0, 0 /* 801AB420 001A8380 40 82 00 10 */ bne lbl_801AB430 /* 801AB424 001A8384 88 04 00 28 */ lbz r0, 0x28(r4) /* 801AB428 001A8388 28 00 00 00 */ cmplwi r0, 0 /* 801AB42C 001A838C 41 82 00 08 */ beq lbl_801AB434 lbl_801AB430: /* 801AB430 001A8390 38 60 00 01 */ li r3, 1 lbl_801AB434: /* 801AB434 001A8394 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB438 001A8398 41 82 00 D0 */ beq lbl_801AB508 /* 801AB43C 001A839C 80 82 A8 38 */ lwz r4, lbl_805AC558@sda21(r2) /* 801AB440 001A83A0 38 61 00 44 */ addi r3, r1, 0x44 /* 801AB444 001A83A4 4B E5 98 75 */ bl string_l__4rstlFPCc /* 801AB448 001A83A8 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801AB44C 001A83AC 38 61 00 9C */ addi r3, r1, 0x9c /* 801AB450 001A83B0 38 A1 00 44 */ addi r5, r1, 0x44 /* 801AB454 001A83B4 4B F6 A5 4D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AB458 001A83B8 38 61 00 FC */ addi r3, r1, 0xfc /* 801AB45C 001A83BC 38 81 00 9C */ addi r4, r1, 0x9c /* 801AB460 001A83C0 48 16 77 15 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801AB464 001A83C4 38 61 00 44 */ addi r3, r1, 0x44 /* 801AB468 001A83C8 48 19 26 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AB46C 001A83CC 38 61 00 6C */ addi r3, r1, 0x6c /* 801AB470 001A83D0 38 9D 00 34 */ addi r4, r29, 0x34 /* 801AB474 001A83D4 38 A1 00 FC */ addi r5, r1, 0xfc /* 801AB478 001A83D8 48 16 74 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801AB47C 001A83DC 38 61 00 CC */ addi r3, r1, 0xcc /* 801AB480 001A83E0 38 81 00 6C */ addi r4, r1, 0x6c /* 801AB484 001A83E4 48 16 76 F1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801AB488 001A83E8 83 9D 03 14 */ lwz r28, 0x314(r29) /* 801AB48C 001A83EC 83 7D 00 90 */ lwz r27, 0x90(r29) /* 801AB490 001A83F0 E0 9D A0 BB */ psq_l f4, 187(r29), 1, qr2 /* 801AB494 001A83F4 38 A0 00 05 */ li r5, 5 /* 801AB498 001A83F8 C0 22 A8 44 */ lfs f1, lbl_805AC564@sda21(r2) /* 801AB49C 001A83FC 38 80 00 00 */ li r4, 0 /* 801AB4A0 001A8400 C0 02 A8 48 */ lfs f0, lbl_805AC568@sda21(r2) /* 801AB4A4 001A8404 38 00 00 03 */ li r0, 3 /* 801AB4A8 001A8408 FC 40 08 90 */ fmr f2, f1 /* 801AB4AC 001A840C 98 A1 00 10 */ stb r5, 0x10(r1) /* 801AB4B0 001A8410 FC 60 08 90 */ fmr f3, f1 /* 801AB4B4 001A8414 38 61 00 14 */ addi r3, r1, 0x14 /* 801AB4B8 001A8418 EC 80 01 32 */ fmuls f4, f0, f4 /* 801AB4BC 001A841C 98 81 00 11 */ stb r4, 0x11(r1) /* 801AB4C0 001A8420 B0 01 00 12 */ sth r0, 0x12(r1) /* 801AB4C4 001A8424 48 1B 7F 29 */ bl __ct__6CColorFffff /* 801AB4C8 001A8428 A0 01 00 12 */ lhz r0, 0x12(r1) /* 801AB4CC 001A842C 7F 83 E3 78 */ mr r3, r28 /* 801AB4D0 001A8430 88 A1 00 10 */ lbz r5, 0x10(r1) /* 801AB4D4 001A8434 7F C4 F3 78 */ mr r4, r30 /* 801AB4D8 001A8438 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d /* 801AB4DC 001A843C 88 E1 00 11 */ lbz r7, 0x11(r1) /* 801AB4E0 001A8440 60 08 00 03 */ ori r8, r0, 3 /* 801AB4E4 001A8444 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AB4E8 001A8448 98 A1 00 18 */ stb r5, 0x18(r1) /* 801AB4EC 001A844C 7F 66 DB 78 */ mr r6, r27 /* 801AB4F0 001A8450 38 A1 00 CC */ addi r5, r1, 0xcc /* 801AB4F4 001A8454 98 E1 00 19 */ stb r7, 0x19(r1) /* 801AB4F8 001A8458 38 E1 00 18 */ addi r7, r1, 0x18 /* 801AB4FC 001A845C B1 01 00 1A */ sth r8, 0x1a(r1) /* 801AB500 001A8460 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AB504 001A8464 4B F6 98 B9 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_801AB508: /* 801AB508 001A8468 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AB50C 001A846C 41 82 01 1C */ beq lbl_801AB628 /* 801AB510 001A8470 83 6D A0 68 */ lwz r27, gpRender@sda21(r13) /* 801AB514 001A8474 38 80 00 01 */ li r4, 1 /* 801AB518 001A8478 80 CD A8 28 */ lwz r6, lbl_805A93E8@sda21(r13) /* 801AB51C 001A847C 38 A0 00 01 */ li r5, 1 /* 801AB520 001A8480 7F 63 DB 78 */ mr r3, r27 /* 801AB524 001A8484 38 E0 00 04 */ li r7, 4 /* 801AB528 001A8488 39 00 00 00 */ li r8, 0 /* 801AB52C 001A848C 48 10 BE 21 */ bl CopyTex__13CCubeRendererFibPv8GXTexFmtb /* 801AB530 001A8490 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801AB534 001A8494 7F C4 F3 78 */ mr r4, r30 /* 801AB538 001A8498 4B E6 05 E1 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 801AB53C 001A849C C0 43 00 60 */ lfs f2, 0x60(r3) /* 801AB540 001A84A0 7F A4 EB 78 */ mr r4, r29 /* 801AB544 001A84A4 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801AB548 001A84A8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801AB54C 001A84AC 38 61 00 54 */ addi r3, r1, 0x54 /* 801AB550 001A84B0 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801AB554 001A84B4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801AB558 001A84B8 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801AB55C 001A84BC 4B F6 F3 D1 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801AB560 001A84C0 38 61 00 2C */ addi r3, r1, 0x2c /* 801AB564 001A84C4 38 81 00 54 */ addi r4, r1, 0x54 /* 801AB568 001A84C8 48 18 C0 A5 */ bl GetCenterPoint__6CAABoxCFv /* 801AB56C 001A84CC C0 21 00 30 */ lfs f1, 0x30(r1) /* 801AB570 001A84D0 38 61 00 38 */ addi r3, r1, 0x38 /* 801AB574 001A84D4 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801AB578 001A84D8 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801AB57C 001A84DC C0 41 00 28 */ lfs f2, 0x28(r1) /* 801AB580 001A84E0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801AB584 001A84E4 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801AB588 001A84E8 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801AB58C 001A84EC EC 43 10 28 */ fsubs f2, f3, f2 /* 801AB590 001A84F0 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801AB594 001A84F4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801AB598 001A84F8 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801AB59C 001A84FC D0 01 00 38 */ stfs f0, 0x38(r1) /* 801AB5A0 001A8500 48 16 93 19 */ bl Magnitude__9CVector3fCFv /* 801AB5A4 001A8504 C0 42 A8 4C */ lfs f2, lbl_805AC56C@sda21(r2) /* 801AB5A8 001A8508 38 81 00 0C */ addi r4, r1, 0xc /* 801AB5AC 001A850C 38 6D 90 78 */ addi r3, r13, lbl_805A7C38@sda21 /* 801AB5B0 001A8510 38 AD 90 7C */ addi r5, r13, lbl_805A7C3C@sda21 /* 801AB5B4 001A8514 EC 02 08 28 */ fsubs f0, f2, f1 /* 801AB5B8 001A8518 EC 00 10 24 */ fdivs f0, f0, f2 /* 801AB5BC 001A851C D0 01 00 0C */ stfs f0, 0xc(r1) /* 801AB5C0 001A8520 4B E6 0C F5 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801AB5C4 001A8524 C3 A3 00 00 */ lfs f29, 0(r3) /* 801AB5C8 001A8528 48 19 E9 E5 */ bl White__6CColorFv /* 801AB5CC 001A852C C0 3D 03 4C */ lfs f1, 0x34c(r29) /* 801AB5D0 001A8530 7C 7E 1B 78 */ mr r30, r3 /* 801AB5D4 001A8534 48 16 98 1D */ bl FastSinR__5CMathFf /* 801AB5D8 001A8538 C0 02 A8 58 */ lfs f0, lbl_805AC578@sda21(r2) /* 801AB5DC 001A853C EF C0 00 72 */ fmuls f30, f0, f1 /* 801AB5E0 001A8540 C0 3D 03 4C */ lfs f1, 0x34c(r29) /* 801AB5E4 001A8544 48 16 98 0D */ bl FastSinR__5CMathFf /* 801AB5E8 001A8548 FF E0 08 90 */ fmr f31, f1 /* 801AB5EC 001A854C C0 22 A8 50 */ lfs f1, lbl_805AC570@sda21(r2) /* 801AB5F0 001A8550 C0 82 A8 44 */ lfs f4, lbl_805AC564@sda21(r2) /* 801AB5F4 001A8554 38 61 00 08 */ addi r3, r1, 8 /* 801AB5F8 001A8558 FC 40 08 90 */ fmr f2, f1 /* 801AB5FC 001A855C FC 60 08 90 */ fmr f3, f1 /* 801AB600 001A8560 48 1B 7D ED */ bl __ct__6CColorFffff /* 801AB604 001A8564 FC 20 E8 90 */ fmr f1, f29 /* 801AB608 001A8568 7C 64 1B 78 */ mr r4, r3 /* 801AB60C 001A856C FC 60 F8 90 */ fmr f3, f31 /* 801AB610 001A8570 C0 42 A8 54 */ lfs f2, lbl_805AC574@sda21(r2) /* 801AB614 001A8574 FC 80 F0 90 */ fmr f4, f30 /* 801AB618 001A8578 7F 63 DB 78 */ mr r3, r27 /* 801AB61C 001A857C 7F C6 F3 78 */ mr r6, r30 /* 801AB620 001A8580 38 BD 03 38 */ addi r5, r29, 0x338 /* 801AB624 001A8584 48 10 A9 FD */ bl "DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff" lbl_801AB628: /* 801AB628 001A8588 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 /* 801AB62C 001A858C CB E1 01 70 */ lfd f31, 0x170(r1) /* 801AB630 001A8590 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 /* 801AB634 001A8594 CB C1 01 60 */ lfd f30, 0x160(r1) /* 801AB638 001A8598 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 /* 801AB63C 001A859C CB A1 01 50 */ lfd f29, 0x150(r1) /* 801AB640 001A85A0 BB 61 01 3C */ lmw r27, 0x13c(r1) /* 801AB644 001A85A4 80 01 01 84 */ lwz r0, 0x184(r1) /* 801AB648 001A85A8 7C 08 03 A6 */ mtlr r0 /* 801AB64C 001A85AC 38 21 01 80 */ addi r1, r1, 0x180 /* 801AB650 001A85B0 4E 80 00 20 */ blr .global Think__18CScriptPlayerActorFfR13CStateManager Think__18CScriptPlayerActorFfR13CStateManager: /* 801AB654 001A85B4 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801AB658 001A85B8 7C 08 02 A6 */ mflr r0 /* 801AB65C 001A85BC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801AB660 001A85C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801AB664 001A85C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801AB668 001A85C8 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801AB66C 001A85CC 93 C1 00 98 */ stw r30, 0x98(r1) /* 801AB670 001A85D0 93 A1 00 94 */ stw r29, 0x94(r1) /* 801AB674 001A85D4 93 81 00 90 */ stw r28, 0x90(r1) /* 801AB678 001A85D8 88 C3 03 54 */ lbz r6, 0x354(r3) /* 801AB67C 001A85DC FF E0 08 90 */ fmr f31, f1 /* 801AB680 001A85E0 80 A4 08 B8 */ lwz r5, 0x8b8(r4) /* 801AB684 001A85E4 7C 7D 1B 78 */ mr r29, r3 /* 801AB688 001A85E8 54 C0 07 FF */ clrlwi. r0, r6, 0x1f /* 801AB68C 001A85EC 7C 9E 23 78 */ mr r30, r4 /* 801AB690 001A85F0 83 E5 00 00 */ lwz r31, 0(r5) /* 801AB694 001A85F4 41 82 00 3C */ beq lbl_801AB6D0 /* 801AB698 001A85F8 38 00 00 01 */ li r0, 1 /* 801AB69C 001A85FC 38 A0 00 00 */ li r5, 0 /* 801AB6A0 001A8600 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 /* 801AB6A4 001A8604 98 DD 03 54 */ stb r6, 0x354(r29) /* 801AB6A8 001A8608 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB6AC 001A860C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 801AB6B0 001A8610 98 1D 03 54 */ stb r0, 0x354(r29) /* 801AB6B4 001A8614 80 1F 00 20 */ lwz r0, 0x20(r31) /* 801AB6B8 001A8618 90 1D 03 08 */ stw r0, 0x308(r29) /* 801AB6BC 001A861C 80 BD 03 08 */ lwz r5, 0x308(r29) /* 801AB6C0 001A8620 4B FF F0 B9 */ bl GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit /* 801AB6C4 001A8624 7C 64 1B 78 */ mr r4, r3 /* 801AB6C8 001A8628 7F A3 EB 78 */ mr r3, r29 /* 801AB6CC 001A862C 4B FF F5 21 */ bl LoadSuit__18CScriptPlayerActorFUi lbl_801AB6D0: /* 801AB6D0 001A8630 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB6D4 001A8634 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801AB6D8 001A8638 41 82 01 F8 */ beq lbl_801AB8D0 /* 801AB6DC 001A863C 80 1D 03 50 */ lwz r0, 0x350(r29) /* 801AB6E0 001A8640 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801AB6E4 001A8644 40 82 00 60 */ bne lbl_801AB744 /* 801AB6E8 001A8648 80 BF 00 20 */ lwz r5, 0x20(r31) /* 801AB6EC 001A864C 7F A3 EB 78 */ mr r3, r29 /* 801AB6F0 001A8650 7F C4 F3 78 */ mr r4, r30 /* 801AB6F4 001A8654 4B FF F0 85 */ bl GetSuitCharIdx__18CScriptPlayerActorCFRC13CStateManager11EPlayerSuit /* 801AB6F8 001A8658 80 1D 03 10 */ lwz r0, 0x310(r29) /* 801AB6FC 001A865C 7C 7C 1B 78 */ mr r28, r3 /* 801AB700 001A8660 7C 1C 00 00 */ cmpw r28, r0 /* 801AB704 001A8664 41 82 00 40 */ beq lbl_801AB744 /* 801AB708 001A8668 38 61 00 34 */ addi r3, r1, 0x34 /* 801AB70C 001A866C 4B E8 F0 99 */ bl CModelDataNull__10CModelDataFv /* 801AB710 001A8670 7F A3 EB 78 */ mr r3, r29 /* 801AB714 001A8674 38 81 00 34 */ addi r4, r1, 0x34 /* 801AB718 001A8678 4B EA 99 19 */ bl SetModelData__6CActorFRC10CModelData /* 801AB71C 001A867C 38 61 00 34 */ addi r3, r1, 0x34 /* 801AB720 001A8680 38 80 FF FF */ li r4, -1 /* 801AB724 001A8684 4B F6 B3 29 */ bl __dt__10CModelDataFv /* 801AB728 001A8688 7F A3 EB 78 */ mr r3, r29 /* 801AB72C 001A868C 7F 84 E3 78 */ mr r4, r28 /* 801AB730 001A8690 4B FF F4 BD */ bl LoadSuit__18CScriptPlayerActorFUi /* 801AB734 001A8694 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB738 001A8698 38 60 00 01 */ li r3, 1 /* 801AB73C 001A869C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801AB740 001A86A0 98 1D 03 54 */ stb r0, 0x354(r29) lbl_801AB744: /* 801AB744 001A86A4 80 9D 03 04 */ lwz r4, 0x304(r29) /* 801AB748 001A86A8 7F A3 EB 78 */ mr r3, r29 /* 801AB74C 001A86AC 2C 04 FF FF */ cmpwi r4, -1 /* 801AB750 001A86B0 41 82 00 08 */ beq lbl_801AB758 /* 801AB754 001A86B4 48 00 00 08 */ b lbl_801AB75C lbl_801AB758: /* 801AB758 001A86B8 80 9F 00 08 */ lwz r4, 8(r31) lbl_801AB75C: /* 801AB75C 001A86BC 4B FF F3 99 */ bl LoadBeam__18CScriptPlayerActorF7EBeamId /* 801AB760 001A86C0 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB764 001A86C4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801AB768 001A86C8 41 82 00 10 */ beq lbl_801AB778 /* 801AB76C 001A86CC 7F A3 EB 78 */ mr r3, r29 /* 801AB770 001A86D0 7F C4 F3 78 */ mr r4, r30 /* 801AB774 001A86D4 4B FF F1 35 */ bl PumpBeamModel__18CScriptPlayerActorFRC13CStateManager lbl_801AB778: /* 801AB778 001A86D8 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB77C 001A86DC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801AB780 001A86E0 41 82 00 10 */ beq lbl_801AB790 /* 801AB784 001A86E4 7F A3 EB 78 */ mr r3, r29 /* 801AB788 001A86E8 7F C4 F3 78 */ mr r4, r30 /* 801AB78C 001A86EC 4B FF F1 BD */ bl PumpSuitModel__18CScriptPlayerActorFRC13CStateManager lbl_801AB790: /* 801AB790 001A86F0 88 7D 03 54 */ lbz r3, 0x354(r29) /* 801AB794 001A86F4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801AB798 001A86F8 40 82 00 68 */ bne lbl_801AB800 /* 801AB79C 001A86FC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801AB7A0 001A8700 40 82 00 50 */ bne lbl_801AB7F0 /* 801AB7A4 001A8704 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801AB7A8 001A8708 40 82 00 48 */ bne lbl_801AB7F0 /* 801AB7AC 001A870C 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801AB7B0 001A8710 38 80 00 00 */ li r4, 0 /* 801AB7B4 001A8714 28 03 00 00 */ cmplwi r3, 0 /* 801AB7B8 001A8718 41 82 00 20 */ beq lbl_801AB7D8 /* 801AB7BC 001A871C 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB7C0 001A8720 28 00 00 00 */ cmplwi r0, 0 /* 801AB7C4 001A8724 40 82 00 10 */ bne lbl_801AB7D4 /* 801AB7C8 001A8728 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB7CC 001A872C 28 00 00 00 */ cmplwi r0, 0 /* 801AB7D0 001A8730 41 82 00 08 */ beq lbl_801AB7D8 lbl_801AB7D4: /* 801AB7D4 001A8734 38 80 00 01 */ li r4, 1 lbl_801AB7D8: /* 801AB7D8 001A8738 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB7DC 001A873C 41 82 00 14 */ beq lbl_801AB7F0 /* 801AB7E0 001A8740 38 80 00 00 */ li r4, 0 /* 801AB7E4 001A8744 4B F6 94 A1 */ bl IsLoaded__10CModelDataCFi /* 801AB7E8 001A8748 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB7EC 001A874C 40 82 00 14 */ bne lbl_801AB800 lbl_801AB7F0: /* 801AB7F0 001A8750 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB7F4 001A8754 38 60 00 01 */ li r3, 1 /* 801AB7F8 001A8758 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AB7FC 001A875C 98 1D 03 54 */ stb r0, 0x354(r29) lbl_801AB800: /* 801AB800 001A8760 88 7D 03 54 */ lbz r3, 0x354(r29) /* 801AB804 001A8764 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801AB808 001A8768 41 82 00 C8 */ beq lbl_801AB8D0 /* 801AB80C 001A876C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801AB810 001A8770 40 82 00 C0 */ bne lbl_801AB8D0 /* 801AB814 001A8774 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801AB818 001A8778 40 82 00 B8 */ bne lbl_801AB8D0 /* 801AB81C 001A877C 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801AB820 001A8780 38 80 00 00 */ li r4, 0 /* 801AB824 001A8784 28 03 00 00 */ cmplwi r3, 0 /* 801AB828 001A8788 41 82 00 20 */ beq lbl_801AB848 /* 801AB82C 001A878C 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AB830 001A8790 28 00 00 00 */ cmplwi r0, 0 /* 801AB834 001A8794 40 82 00 10 */ bne lbl_801AB844 /* 801AB838 001A8798 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AB83C 001A879C 28 00 00 00 */ cmplwi r0, 0 /* 801AB840 001A87A0 41 82 00 08 */ beq lbl_801AB848 lbl_801AB844: /* 801AB844 001A87A4 38 80 00 01 */ li r4, 1 lbl_801AB848: /* 801AB848 001A87A8 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AB84C 001A87AC 41 82 00 84 */ beq lbl_801AB8D0 /* 801AB850 001A87B0 38 80 00 00 */ li r4, 0 /* 801AB854 001A87B4 4B F6 94 31 */ bl IsLoaded__10CModelDataCFi /* 801AB858 001A87B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AB85C 001A87BC 41 82 00 74 */ beq lbl_801AB8D0 /* 801AB860 001A87C0 88 1D 03 55 */ lbz r0, 0x355(r29) /* 801AB864 001A87C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AB868 001A87C8 41 82 00 44 */ beq lbl_801AB8AC /* 801AB86C 001A87CC 80 DD 00 04 */ lwz r6, 4(r29) /* 801AB870 001A87D0 38 60 00 00 */ li r3, 0 /* 801AB874 001A87D4 80 BE 08 50 */ lwz r5, 0x850(r30) /* 801AB878 001A87D8 54 C4 18 38 */ slwi r4, r6, 3 /* 801AB87C 001A87DC 90 C1 00 0C */ stw r6, 0xc(r1) /* 801AB880 001A87E0 80 A5 00 20 */ lwz r5, 0x20(r5) /* 801AB884 001A87E4 38 04 00 04 */ addi r0, r4, 4 /* 801AB888 001A87E8 90 C1 00 08 */ stw r6, 8(r1) /* 801AB88C 001A87EC 7C 85 00 2E */ lwzx r4, r5, r0 /* 801AB890 001A87F0 80 A4 01 2C */ lwz r5, 0x12c(r4) /* 801AB894 001A87F4 80 85 11 3C */ lwz r4, 0x113c(r5) /* 801AB898 001A87F8 38 04 FF FF */ addi r0, r4, -1 /* 801AB89C 001A87FC 90 05 11 3C */ stw r0, 0x113c(r5) /* 801AB8A0 001A8800 88 1D 03 55 */ lbz r0, 0x355(r29) /* 801AB8A4 001A8804 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801AB8A8 001A8808 98 1D 03 55 */ stb r0, 0x355(r29) lbl_801AB8AC: /* 801AB8AC 001A880C 88 1D 03 54 */ lbz r0, 0x354(r29) /* 801AB8B0 001A8810 38 60 00 00 */ li r3, 0 /* 801AB8B4 001A8814 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AB8B8 001A8818 7F A3 EB 78 */ mr r3, r29 /* 801AB8BC 001A881C 98 1D 03 54 */ stb r0, 0x354(r29) /* 801AB8C0 001A8820 7F C5 F3 78 */ mr r5, r30 /* 801AB8C4 001A8824 38 80 00 01 */ li r4, 1 /* 801AB8C8 001A8828 38 C0 FF FF */ li r6, -1 /* 801AB8CC 001A882C 4B EA 57 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801AB8D0: /* 801AB8D0 001A8830 80 1D 02 EC */ lwz r0, 0x2ec(r29) /* 801AB8D4 001A8834 2C 00 00 03 */ cmpwi r0, 3 /* 801AB8D8 001A8838 40 82 00 B8 */ bne lbl_801AB990 /* 801AB8DC 001A883C 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB8E0 001A8840 28 00 00 00 */ cmplwi r0, 0 /* 801AB8E4 001A8844 40 82 01 74 */ bne lbl_801ABA58 /* 801AB8E8 001A8848 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AB8EC 001A884C 3C 60 80 3D */ lis r3, lbl_803D14B8@ha /* 801AB8F0 001A8850 38 A3 14 B8 */ addi r5, r3, lbl_803D14B8@l /* 801AB8F4 001A8854 38 61 00 10 */ addi r3, r1, 0x10 /* 801AB8F8 001A8858 81 84 00 00 */ lwz r12, 0(r4) /* 801AB8FC 001A885C 38 A5 00 10 */ addi r5, r5, 0x10 /* 801AB900 001A8860 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801AB904 001A8864 7D 89 03 A6 */ mtctr r12 /* 801AB908 001A8868 4E 80 04 21 */ bctrl /* 801AB90C 001A886C 38 61 00 28 */ addi r3, r1, 0x28 /* 801AB910 001A8870 38 81 00 10 */ addi r4, r1, 0x10 /* 801AB914 001A8874 48 19 55 95 */ bl __ct__6CTokenFRC6CToken /* 801AB918 001A8878 38 00 00 00 */ li r0, 0 /* 801AB91C 001A887C 90 01 00 30 */ stw r0, 0x30(r1) /* 801AB920 001A8880 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB924 001A8884 28 00 00 00 */ cmplwi r0, 0 /* 801AB928 001A8888 40 82 00 2C */ bne lbl_801AB954 /* 801AB92C 001A888C 37 FD 03 38 */ addic. r31, r29, 0x338 /* 801AB930 001A8890 41 82 00 18 */ beq lbl_801AB948 /* 801AB934 001A8894 7F E3 FB 78 */ mr r3, r31 /* 801AB938 001A8898 38 81 00 28 */ addi r4, r1, 0x28 /* 801AB93C 001A889C 48 19 55 6D */ bl __ct__6CTokenFRC6CToken /* 801AB940 001A88A0 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AB944 001A88A4 90 1F 00 08 */ stw r0, 8(r31) lbl_801AB948: /* 801AB948 001A88A8 38 00 00 01 */ li r0, 1 /* 801AB94C 001A88AC 98 1D 03 44 */ stb r0, 0x344(r29) /* 801AB950 001A88B0 48 00 00 1C */ b lbl_801AB96C lbl_801AB954: /* 801AB954 001A88B4 3B FD 03 38 */ addi r31, r29, 0x338 /* 801AB958 001A88B8 38 81 00 28 */ addi r4, r1, 0x28 /* 801AB95C 001A88BC 7F E3 FB 78 */ mr r3, r31 /* 801AB960 001A88C0 48 19 53 65 */ bl __as__6CTokenFRC6CToken /* 801AB964 001A88C4 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AB968 001A88C8 90 1F 00 08 */ stw r0, 8(r31) lbl_801AB96C: /* 801AB96C 001A88CC 38 61 00 28 */ addi r3, r1, 0x28 /* 801AB970 001A88D0 38 80 00 00 */ li r4, 0 /* 801AB974 001A88D4 48 19 54 CD */ bl __dt__6CTokenFv /* 801AB978 001A88D8 38 61 00 10 */ addi r3, r1, 0x10 /* 801AB97C 001A88DC 38 80 FF FF */ li r4, -1 /* 801AB980 001A88E0 48 19 54 C1 */ bl __dt__6CTokenFv /* 801AB984 001A88E4 38 7D 03 38 */ addi r3, r29, 0x338 /* 801AB988 001A88E8 48 19 53 FD */ bl Lock__6CTokenFv /* 801AB98C 001A88EC 48 00 00 CC */ b lbl_801ABA58 lbl_801AB990: /* 801AB990 001A88F0 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB994 001A88F4 28 00 00 00 */ cmplwi r0, 0 /* 801AB998 001A88F8 41 82 00 C0 */ beq lbl_801ABA58 /* 801AB99C 001A88FC 3B FD 03 38 */ addi r31, r29, 0x338 /* 801AB9A0 001A8900 38 81 00 18 */ addi r4, r1, 0x18 /* 801AB9A4 001A8904 38 00 00 00 */ li r0, 0 /* 801AB9A8 001A8908 7C 1F 20 40 */ cmplw r31, r4 /* 801AB9AC 001A890C 98 01 00 24 */ stb r0, 0x24(r1) /* 801AB9B0 001A8910 41 82 00 7C */ beq lbl_801ABA2C /* 801AB9B4 001A8914 28 00 00 00 */ cmplwi r0, 0 /* 801AB9B8 001A8918 41 82 00 48 */ beq lbl_801ABA00 /* 801AB9BC 001A891C 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801AB9C0 001A8920 28 00 00 00 */ cmplwi r0, 0 /* 801AB9C4 001A8924 40 82 00 28 */ bne lbl_801AB9EC /* 801AB9C8 001A8928 37 FD 03 38 */ addic. r31, r29, 0x338 /* 801AB9CC 001A892C 41 82 00 14 */ beq lbl_801AB9E0 /* 801AB9D0 001A8930 7F E3 FB 78 */ mr r3, r31 /* 801AB9D4 001A8934 48 19 54 D5 */ bl __ct__6CTokenFRC6CToken /* 801AB9D8 001A8938 80 01 00 20 */ lwz r0, 0x20(r1) /* 801AB9DC 001A893C 90 1F 00 08 */ stw r0, 8(r31) lbl_801AB9E0: /* 801AB9E0 001A8940 38 00 00 01 */ li r0, 1 /* 801AB9E4 001A8944 98 1D 03 44 */ stb r0, 0x344(r29) /* 801AB9E8 001A8948 48 00 00 44 */ b lbl_801ABA2C lbl_801AB9EC: /* 801AB9EC 001A894C 7F E3 FB 78 */ mr r3, r31 /* 801AB9F0 001A8950 48 19 52 D5 */ bl __as__6CTokenFRC6CToken /* 801AB9F4 001A8954 80 01 00 20 */ lwz r0, 0x20(r1) /* 801AB9F8 001A8958 90 1F 00 08 */ stw r0, 8(r31) /* 801AB9FC 001A895C 48 00 00 30 */ b lbl_801ABA2C lbl_801ABA00: /* 801ABA00 001A8960 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801ABA04 001A8964 28 00 00 00 */ cmplwi r0, 0 /* 801ABA08 001A8968 41 82 00 1C */ beq lbl_801ABA24 /* 801ABA0C 001A896C 34 7D 03 38 */ addic. r3, r29, 0x338 /* 801ABA10 001A8970 41 82 00 14 */ beq lbl_801ABA24 /* 801ABA14 001A8974 28 03 00 00 */ cmplwi r3, 0 /* 801ABA18 001A8978 41 82 00 0C */ beq lbl_801ABA24 /* 801ABA1C 001A897C 38 80 00 00 */ li r4, 0 /* 801ABA20 001A8980 48 19 54 21 */ bl __dt__6CTokenFv lbl_801ABA24: /* 801ABA24 001A8984 38 00 00 00 */ li r0, 0 /* 801ABA28 001A8988 98 1D 03 44 */ stb r0, 0x344(r29) lbl_801ABA2C: /* 801ABA2C 001A898C 88 01 00 24 */ lbz r0, 0x24(r1) /* 801ABA30 001A8990 28 00 00 00 */ cmplwi r0, 0 /* 801ABA34 001A8994 41 82 00 1C */ beq lbl_801ABA50 /* 801ABA38 001A8998 34 61 00 18 */ addic. r3, r1, 0x18 /* 801ABA3C 001A899C 41 82 00 14 */ beq lbl_801ABA50 /* 801ABA40 001A89A0 28 03 00 00 */ cmplwi r3, 0 /* 801ABA44 001A89A4 41 82 00 0C */ beq lbl_801ABA50 /* 801ABA48 001A89A8 38 80 00 00 */ li r4, 0 /* 801ABA4C 001A89AC 48 19 53 F5 */ bl __dt__6CTokenFv lbl_801ABA50: /* 801ABA50 001A89B0 38 00 00 00 */ li r0, 0 /* 801ABA54 001A89B4 98 01 00 24 */ stb r0, 0x24(r1) lbl_801ABA58: /* 801ABA58 001A89B8 88 1D 03 44 */ lbz r0, 0x344(r29) /* 801ABA5C 001A89BC 28 00 00 00 */ cmplwi r0, 0 /* 801ABA60 001A89C0 41 82 00 A0 */ beq lbl_801ABB00 /* 801ABA64 001A89C4 3B FD 03 38 */ addi r31, r29, 0x338 /* 801ABA68 001A89C8 80 1D 03 40 */ lwz r0, 0x340(r29) /* 801ABA6C 001A89CC 28 00 00 00 */ cmplwi r0, 0 /* 801ABA70 001A89D0 40 82 00 30 */ bne lbl_801ABAA0 /* 801ABA74 001A89D4 88 1F 00 04 */ lbz r0, 4(r31) /* 801ABA78 001A89D8 28 00 00 00 */ cmplwi r0, 0 /* 801ABA7C 001A89DC 41 82 00 24 */ beq lbl_801ABAA0 /* 801ABA80 001A89E0 80 7F 00 00 */ lwz r3, 0(r31) /* 801ABA84 001A89E4 80 03 00 10 */ lwz r0, 0x10(r3) /* 801ABA88 001A89E8 28 00 00 00 */ cmplwi r0, 0 /* 801ABA8C 001A89EC 41 82 00 14 */ beq lbl_801ABAA0 /* 801ABA90 001A89F0 7F E3 FB 78 */ mr r3, r31 /* 801ABA94 001A89F4 48 19 53 79 */ bl GetObj__6CTokenFv /* 801ABA98 001A89F8 80 03 00 04 */ lwz r0, 4(r3) /* 801ABA9C 001A89FC 90 1F 00 08 */ stw r0, 8(r31) lbl_801ABAA0: /* 801ABAA0 001A8A00 C0 3D 03 4C */ lfs f1, 0x34c(r29) /* 801ABAA4 001A8A04 3C 00 43 30 */ lis r0, 0x4330 /* 801ABAA8 001A8A08 C0 02 A8 5C */ lfs f0, lbl_805AC57C@sda21(r2) /* 801ABAAC 001A8A0C C0 42 A8 60 */ lfs f2, lbl_805AC580@sda21(r2) /* 801ABAB0 001A8A10 EC 01 00 2A */ fadds f0, f1, f0 /* 801ABAB4 001A8A14 90 01 00 88 */ stw r0, 0x88(r1) /* 801ABAB8 001A8A18 C8 62 A8 68 */ lfd f3, lbl_805AC588@sda21(r2) /* 801ABABC 001A8A1C C0 22 A8 64 */ lfs f1, lbl_805AC584@sda21(r2) /* 801ABAC0 001A8A20 D0 1D 03 4C */ stfs f0, 0x34c(r29) /* 801ABAC4 001A8A24 C0 02 A8 3C */ lfs f0, lbl_805AC55C@sda21(r2) /* 801ABAC8 001A8A28 C0 9D 03 4C */ lfs f4, 0x34c(r29) /* 801ABACC 001A8A2C EC 44 00 B2 */ fmuls f2, f4, f2 /* 801ABAD0 001A8A30 FC 40 10 1E */ fctiwz f2, f2 /* 801ABAD4 001A8A34 D8 41 00 80 */ stfd f2, 0x80(r1) /* 801ABAD8 001A8A38 80 01 00 84 */ lwz r0, 0x84(r1) /* 801ABADC 001A8A3C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 801ABAE0 001A8A40 90 01 00 8C */ stw r0, 0x8c(r1) /* 801ABAE4 001A8A44 C8 41 00 88 */ lfd f2, 0x88(r1) /* 801ABAE8 001A8A48 EC 42 18 28 */ fsubs f2, f2, f3 /* 801ABAEC 001A8A4C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 801ABAF0 001A8A50 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801ABAF4 001A8A54 40 80 00 08 */ bge lbl_801ABAFC /* 801ABAF8 001A8A58 EC 42 08 2A */ fadds f2, f2, f1 lbl_801ABAFC: /* 801ABAFC 001A8A5C D0 5D 03 4C */ stfs f2, 0x34c(r29) lbl_801ABB00: /* 801ABB00 001A8A60 FC 20 F8 90 */ fmr f1, f31 /* 801ABB04 001A8A64 7F A3 EB 78 */ mr r3, r29 /* 801ABB08 001A8A68 7F C4 F3 78 */ mr r4, r30 /* 801ABB0C 001A8A6C 4B EC 9A 01 */ bl Think__12CScriptActorFfR13CStateManager /* 801ABB10 001A8A70 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801ABB14 001A8A74 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801ABB18 001A8A78 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801ABB1C 001A8A7C 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801ABB20 001A8A80 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801ABB24 001A8A84 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801ABB28 001A8A88 83 81 00 90 */ lwz r28, 0x90(r1) /* 801ABB2C 001A8A8C 7C 08 03 A6 */ mtlr r0 /* 801ABB30 001A8A90 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801ABB34 001A8A94 4E 80 00 20 */ blr .global AcceptScriptMsg__18CScriptPlayerActorF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__18CScriptPlayerActorF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801ABB38 001A8A98 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801ABB3C 001A8A9C 7C 08 02 A6 */ mflr r0 /* 801ABB40 001A8AA0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801ABB44 001A8AA4 BF 61 00 8C */ stmw r27, 0x8c(r1) /* 801ABB48 001A8AA8 7C 9D 23 78 */ mr r29, r4 /* 801ABB4C 001A8AAC 28 1D 00 23 */ cmplwi r29, 0x23 /* 801ABB50 001A8AB0 7C 7C 1B 78 */ mr r28, r3 /* 801ABB54 001A8AB4 7C BE 2B 78 */ mr r30, r5 /* 801ABB58 001A8AB8 7C DF 33 78 */ mr r31, r6 /* 801ABB5C 001A8ABC 41 81 04 50 */ bgt lbl_801ABFAC /* 801ABB60 001A8AC0 3C 80 80 3E */ lis r4, lbl_803E4C64@ha /* 801ABB64 001A8AC4 57 A0 10 3A */ slwi r0, r29, 2 /* 801ABB68 001A8AC8 38 84 4C 64 */ addi r4, r4, lbl_803E4C64@l /* 801ABB6C 001A8ACC 7C 04 00 2E */ lwzx r0, r4, r0 /* 801ABB70 001A8AD0 7C 09 03 A6 */ mtctr r0 /* 801ABB74 001A8AD4 4E 80 04 20 */ bctr /* 801ABB78 001A8AD8 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABB7C 001A8ADC 38 C0 00 01 */ li r6, 1 /* 801ABB80 001A8AE0 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f /* 801ABB84 001A8AE4 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABB88 001A8AE8 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABB8C 001A8AEC 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 801ABB90 001A8AF0 41 82 00 40 */ beq lbl_801ABBD0 /* 801ABB94 001A8AF4 80 BC 00 04 */ lwz r5, 4(r28) /* 801ABB98 001A8AF8 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801ABB9C 001A8AFC 54 A3 18 38 */ slwi r3, r5, 3 /* 801ABBA0 001A8B00 90 A1 00 10 */ stw r5, 0x10(r1) /* 801ABBA4 001A8B04 80 84 00 20 */ lwz r4, 0x20(r4) /* 801ABBA8 001A8B08 38 03 00 04 */ addi r0, r3, 4 /* 801ABBAC 001A8B0C 90 A1 00 0C */ stw r5, 0xc(r1) /* 801ABBB0 001A8B10 7C 64 00 2E */ lwzx r3, r4, r0 /* 801ABBB4 001A8B14 80 83 01 2C */ lwz r4, 0x12c(r3) /* 801ABBB8 001A8B18 80 64 11 3C */ lwz r3, 0x113c(r4) /* 801ABBBC 001A8B1C 38 03 00 01 */ addi r0, r3, 1 /* 801ABBC0 001A8B20 90 04 11 3C */ stw r0, 0x113c(r4) /* 801ABBC4 001A8B24 88 1C 03 55 */ lbz r0, 0x355(r28) /* 801ABBC8 001A8B28 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801ABBCC 001A8B2C 98 1C 03 55 */ stb r0, 0x355(r28) lbl_801ABBD0: /* 801ABBD0 001A8B30 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABBD4 001A8B34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABBD8 001A8B38 41 82 03 D4 */ beq lbl_801ABFAC /* 801ABBDC 001A8B3C 7F 83 E3 78 */ mr r3, r28 /* 801ABBE0 001A8B40 7F E4 FB 78 */ mr r4, r31 /* 801ABBE4 001A8B44 38 A0 00 01 */ li r5, 1 /* 801ABBE8 001A8B48 4B FF E9 55 */ bl SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb /* 801ABBEC 001A8B4C 7F 83 E3 78 */ mr r3, r28 /* 801ABBF0 001A8B50 7F E4 FB 78 */ mr r4, r31 /* 801ABBF4 001A8B54 38 A0 00 01 */ li r5, 1 /* 801ABBF8 001A8B58 4B FF E8 05 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb /* 801ABBFC 001A8B5C 48 00 03 B0 */ b lbl_801ABFAC /* 801ABC00 001A8B60 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABC04 001A8B64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABC08 001A8B68 40 82 03 A4 */ bne lbl_801ABFAC /* 801ABC0C 001A8B6C 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABC10 001A8B70 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801ABC14 001A8B74 41 82 00 18 */ beq lbl_801ABC2C /* 801ABC18 001A8B78 7F E4 FB 78 */ mr r4, r31 /* 801ABC1C 001A8B7C 4B FF EB E1 */ bl GetNextSuitCharIdx__18CScriptPlayerActorFRC13CStateManager /* 801ABC20 001A8B80 7C 64 1B 78 */ mr r4, r3 /* 801ABC24 001A8B84 7F 83 E3 78 */ mr r3, r28 /* 801ABC28 001A8B88 4B FF EF C5 */ bl LoadSuit__18CScriptPlayerActorFUi lbl_801ABC2C: /* 801ABC2C 001A8B8C 7F 83 E3 78 */ mr r3, r28 /* 801ABC30 001A8B90 7F E4 FB 78 */ mr r4, r31 /* 801ABC34 001A8B94 38 A0 00 01 */ li r5, 1 /* 801ABC38 001A8B98 4B FF E7 C5 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb /* 801ABC3C 001A8B9C 7F 83 E3 78 */ mr r3, r28 /* 801ABC40 001A8BA0 7F E4 FB 78 */ mr r4, r31 /* 801ABC44 001A8BA4 38 A0 00 01 */ li r5, 1 /* 801ABC48 001A8BA8 4B FF E8 F5 */ bl SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb /* 801ABC4C 001A8BAC 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABC50 001A8BB0 38 60 00 01 */ li r3, 1 /* 801ABC54 001A8BB4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801ABC58 001A8BB8 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABC5C 001A8BBC 48 00 03 50 */ b lbl_801ABFAC /* 801ABC60 001A8BC0 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABC64 001A8BC4 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801ABC68 001A8BC8 41 82 03 44 */ beq lbl_801ABFAC /* 801ABC6C 001A8BCC 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABC70 001A8BD0 38 60 00 00 */ li r3, 0 /* 801ABC74 001A8BD4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801ABC78 001A8BD8 38 60 00 01 */ li r3, 1 /* 801ABC7C 001A8BDC 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABC80 001A8BE0 7F E4 FB 78 */ mr r4, r31 /* 801ABC84 001A8BE4 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABC88 001A8BE8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801ABC8C 001A8BEC 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABC90 001A8BF0 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801ABC94 001A8BF4 4B E6 5E 99 */ bl AsyncLoadSuit__7CPlayerFR13CStateManager /* 801ABC98 001A8BF8 48 00 03 14 */ b lbl_801ABFAC /* 801ABC9C 001A8BFC 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABCA0 001A8C00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABCA4 001A8C04 41 82 00 2C */ beq lbl_801ABCD0 /* 801ABCA8 001A8C08 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABCAC 001A8C0C 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b /* 801ABCB0 001A8C10 40 82 00 10 */ bne lbl_801ABCC0 /* 801ABCB4 001A8C14 7F E4 FB 78 */ mr r4, r31 /* 801ABCB8 001A8C18 38 A0 00 00 */ li r5, 0 /* 801ABCBC 001A8C1C 4B FF E7 41 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb lbl_801ABCC0: /* 801ABCC0 001A8C20 7F 83 E3 78 */ mr r3, r28 /* 801ABCC4 001A8C24 7F E4 FB 78 */ mr r4, r31 /* 801ABCC8 001A8C28 38 A0 00 00 */ li r5, 0 /* 801ABCCC 001A8C2C 4B FF E8 71 */ bl SetupEnvFx__18CScriptPlayerActorFRC13CStateManagerb lbl_801ABCD0: /* 801ABCD0 001A8C30 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABCD4 001A8C34 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d /* 801ABCD8 001A8C38 41 82 02 D4 */ beq lbl_801ABFAC /* 801ABCDC 001A8C3C 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801ABCE0 001A8C40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ABCE4 001A8C44 40 82 00 0C */ bne lbl_801ABCF0 /* 801ABCE8 001A8C48 2C 1D 00 0A */ cmpwi r29, 0xa /* 801ABCEC 001A8C4C 40 82 02 C0 */ bne lbl_801ABFAC lbl_801ABCF0: /* 801ABCF0 001A8C50 38 00 FF FF */ li r0, -1 /* 801ABCF4 001A8C54 38 80 00 01 */ li r4, 1 /* 801ABCF8 001A8C58 90 1C 03 0C */ stw r0, 0x30c(r28) /* 801ABCFC 001A8C5C 90 1C 03 10 */ stw r0, 0x310(r28) /* 801ABD00 001A8C60 80 7C 03 14 */ lwz r3, 0x314(r28) /* 801ABD04 001A8C64 4B F6 AD 49 */ bl __dt__10CModelDataFv /* 801ABD08 001A8C68 38 00 00 00 */ li r0, 0 /* 801ABD0C 001A8C6C 38 80 00 01 */ li r4, 1 /* 801ABD10 001A8C70 90 1C 03 14 */ stw r0, 0x314(r28) /* 801ABD14 001A8C74 80 7C 03 18 */ lwz r3, 0x318(r28) /* 801ABD18 001A8C78 4B F6 AD 35 */ bl __dt__10CModelDataFv /* 801ABD1C 001A8C7C 38 00 00 00 */ li r0, 0 /* 801ABD20 001A8C80 90 1C 03 18 */ stw r0, 0x318(r28) /* 801ABD24 001A8C84 83 7C 03 1C */ lwz r27, 0x31c(r28) /* 801ABD28 001A8C88 28 1B 00 00 */ cmplwi r27, 0 /* 801ABD2C 001A8C8C 41 82 00 18 */ beq lbl_801ABD44 /* 801ABD30 001A8C90 7F 63 DB 78 */ mr r3, r27 /* 801ABD34 001A8C94 38 80 00 00 */ li r4, 0 /* 801ABD38 001A8C98 48 19 51 09 */ bl __dt__6CTokenFv /* 801ABD3C 001A8C9C 7F 63 DB 78 */ mr r3, r27 /* 801ABD40 001A8CA0 48 16 9B F1 */ bl Free__7CMemoryFPCv lbl_801ABD44: /* 801ABD44 001A8CA4 38 00 00 00 */ li r0, 0 /* 801ABD48 001A8CA8 90 1C 03 1C */ stw r0, 0x31c(r28) /* 801ABD4C 001A8CAC 83 7C 03 20 */ lwz r27, 0x320(r28) /* 801ABD50 001A8CB0 28 1B 00 00 */ cmplwi r27, 0 /* 801ABD54 001A8CB4 41 82 00 1C */ beq lbl_801ABD70 /* 801ABD58 001A8CB8 41 82 00 10 */ beq lbl_801ABD68 /* 801ABD5C 001A8CBC 7F 63 DB 78 */ mr r3, r27 /* 801ABD60 001A8CC0 38 80 00 00 */ li r4, 0 /* 801ABD64 001A8CC4 48 19 50 DD */ bl __dt__6CTokenFv lbl_801ABD68: /* 801ABD68 001A8CC8 7F 63 DB 78 */ mr r3, r27 /* 801ABD6C 001A8CCC 48 16 9B C5 */ bl Free__7CMemoryFPCv lbl_801ABD70: /* 801ABD70 001A8CD0 38 00 00 00 */ li r0, 0 /* 801ABD74 001A8CD4 90 1C 03 20 */ stw r0, 0x320(r28) /* 801ABD78 001A8CD8 83 7C 03 24 */ lwz r27, 0x324(r28) /* 801ABD7C 001A8CDC 28 1B 00 00 */ cmplwi r27, 0 /* 801ABD80 001A8CE0 41 82 00 18 */ beq lbl_801ABD98 /* 801ABD84 001A8CE4 7F 63 DB 78 */ mr r3, r27 /* 801ABD88 001A8CE8 38 80 00 00 */ li r4, 0 /* 801ABD8C 001A8CEC 48 19 50 B5 */ bl __dt__6CTokenFv /* 801ABD90 001A8CF0 7F 63 DB 78 */ mr r3, r27 /* 801ABD94 001A8CF4 48 16 9B 9D */ bl Free__7CMemoryFPCv lbl_801ABD98: /* 801ABD98 001A8CF8 38 00 00 00 */ li r0, 0 /* 801ABD9C 001A8CFC 3B 7C 03 28 */ addi r27, r28, 0x328 /* 801ABDA0 001A8D00 90 1C 03 24 */ stw r0, 0x324(r28) /* 801ABDA4 001A8D04 38 81 00 24 */ addi r4, r1, 0x24 /* 801ABDA8 001A8D08 7C 1B 20 40 */ cmplw r27, r4 /* 801ABDAC 001A8D0C 98 01 00 30 */ stb r0, 0x30(r1) /* 801ABDB0 001A8D10 41 82 00 84 */ beq lbl_801ABE34 /* 801ABDB4 001A8D14 28 00 00 00 */ cmplwi r0, 0 /* 801ABDB8 001A8D18 41 82 00 50 */ beq lbl_801ABE08 /* 801ABDBC 001A8D1C 88 1C 03 34 */ lbz r0, 0x334(r28) /* 801ABDC0 001A8D20 28 00 00 00 */ cmplwi r0, 0 /* 801ABDC4 001A8D24 40 82 00 30 */ bne lbl_801ABDF4 /* 801ABDC8 001A8D28 37 7C 03 28 */ addic. r27, r28, 0x328 /* 801ABDCC 001A8D2C 41 82 00 1C */ beq lbl_801ABDE8 /* 801ABDD0 001A8D30 7F 63 DB 78 */ mr r3, r27 /* 801ABDD4 001A8D34 48 19 50 D5 */ bl __ct__6CTokenFRC6CToken /* 801ABDD8 001A8D38 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801ABDDC 001A8D3C 7F 63 DB 78 */ mr r3, r27 /* 801ABDE0 001A8D40 90 1B 00 08 */ stw r0, 8(r27) /* 801ABDE4 001A8D44 48 19 4F A1 */ bl Lock__6CTokenFv lbl_801ABDE8: /* 801ABDE8 001A8D48 38 00 00 01 */ li r0, 1 /* 801ABDEC 001A8D4C 98 1C 03 34 */ stb r0, 0x334(r28) /* 801ABDF0 001A8D50 48 00 00 44 */ b lbl_801ABE34 lbl_801ABDF4: /* 801ABDF4 001A8D54 7F 63 DB 78 */ mr r3, r27 /* 801ABDF8 001A8D58 48 19 4E CD */ bl __as__6CTokenFRC6CToken /* 801ABDFC 001A8D5C 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801ABE00 001A8D60 90 1B 00 08 */ stw r0, 8(r27) /* 801ABE04 001A8D64 48 00 00 30 */ b lbl_801ABE34 lbl_801ABE08: /* 801ABE08 001A8D68 88 1C 03 34 */ lbz r0, 0x334(r28) /* 801ABE0C 001A8D6C 28 00 00 00 */ cmplwi r0, 0 /* 801ABE10 001A8D70 41 82 00 1C */ beq lbl_801ABE2C /* 801ABE14 001A8D74 34 7C 03 28 */ addic. r3, r28, 0x328 /* 801ABE18 001A8D78 41 82 00 14 */ beq lbl_801ABE2C /* 801ABE1C 001A8D7C 28 03 00 00 */ cmplwi r3, 0 /* 801ABE20 001A8D80 41 82 00 0C */ beq lbl_801ABE2C /* 801ABE24 001A8D84 38 80 00 00 */ li r4, 0 /* 801ABE28 001A8D88 48 19 50 19 */ bl __dt__6CTokenFv lbl_801ABE2C: /* 801ABE2C 001A8D8C 38 00 00 00 */ li r0, 0 /* 801ABE30 001A8D90 98 1C 03 34 */ stb r0, 0x334(r28) lbl_801ABE34: /* 801ABE34 001A8D94 88 01 00 30 */ lbz r0, 0x30(r1) /* 801ABE38 001A8D98 28 00 00 00 */ cmplwi r0, 0 /* 801ABE3C 001A8D9C 41 82 00 1C */ beq lbl_801ABE58 /* 801ABE40 001A8DA0 34 61 00 24 */ addic. r3, r1, 0x24 /* 801ABE44 001A8DA4 41 82 00 14 */ beq lbl_801ABE58 /* 801ABE48 001A8DA8 28 03 00 00 */ cmplwi r3, 0 /* 801ABE4C 001A8DAC 41 82 00 0C */ beq lbl_801ABE58 /* 801ABE50 001A8DB0 38 80 00 00 */ li r4, 0 /* 801ABE54 001A8DB4 48 19 4F ED */ bl __dt__6CTokenFv lbl_801ABE58: /* 801ABE58 001A8DB8 3B 7C 03 38 */ addi r27, r28, 0x338 /* 801ABE5C 001A8DBC 38 81 00 14 */ addi r4, r1, 0x14 /* 801ABE60 001A8DC0 38 00 00 00 */ li r0, 0 /* 801ABE64 001A8DC4 7C 1B 20 40 */ cmplw r27, r4 /* 801ABE68 001A8DC8 98 01 00 30 */ stb r0, 0x30(r1) /* 801ABE6C 001A8DCC 98 01 00 20 */ stb r0, 0x20(r1) /* 801ABE70 001A8DD0 41 82 00 7C */ beq lbl_801ABEEC /* 801ABE74 001A8DD4 28 00 00 00 */ cmplwi r0, 0 /* 801ABE78 001A8DD8 41 82 00 48 */ beq lbl_801ABEC0 /* 801ABE7C 001A8DDC 88 1C 03 44 */ lbz r0, 0x344(r28) /* 801ABE80 001A8DE0 28 00 00 00 */ cmplwi r0, 0 /* 801ABE84 001A8DE4 40 82 00 28 */ bne lbl_801ABEAC /* 801ABE88 001A8DE8 37 7C 03 38 */ addic. r27, r28, 0x338 /* 801ABE8C 001A8DEC 41 82 00 14 */ beq lbl_801ABEA0 /* 801ABE90 001A8DF0 7F 63 DB 78 */ mr r3, r27 /* 801ABE94 001A8DF4 48 19 50 15 */ bl __ct__6CTokenFRC6CToken /* 801ABE98 001A8DF8 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ABE9C 001A8DFC 90 1B 00 08 */ stw r0, 8(r27) lbl_801ABEA0: /* 801ABEA0 001A8E00 38 00 00 01 */ li r0, 1 /* 801ABEA4 001A8E04 98 1C 03 44 */ stb r0, 0x344(r28) /* 801ABEA8 001A8E08 48 00 00 44 */ b lbl_801ABEEC lbl_801ABEAC: /* 801ABEAC 001A8E0C 7F 63 DB 78 */ mr r3, r27 /* 801ABEB0 001A8E10 48 19 4E 15 */ bl __as__6CTokenFRC6CToken /* 801ABEB4 001A8E14 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ABEB8 001A8E18 90 1B 00 08 */ stw r0, 8(r27) /* 801ABEBC 001A8E1C 48 00 00 30 */ b lbl_801ABEEC lbl_801ABEC0: /* 801ABEC0 001A8E20 88 1C 03 44 */ lbz r0, 0x344(r28) /* 801ABEC4 001A8E24 28 00 00 00 */ cmplwi r0, 0 /* 801ABEC8 001A8E28 41 82 00 1C */ beq lbl_801ABEE4 /* 801ABECC 001A8E2C 34 7C 03 38 */ addic. r3, r28, 0x338 /* 801ABED0 001A8E30 41 82 00 14 */ beq lbl_801ABEE4 /* 801ABED4 001A8E34 28 03 00 00 */ cmplwi r3, 0 /* 801ABED8 001A8E38 41 82 00 0C */ beq lbl_801ABEE4 /* 801ABEDC 001A8E3C 38 80 00 00 */ li r4, 0 /* 801ABEE0 001A8E40 48 19 4F 61 */ bl __dt__6CTokenFv lbl_801ABEE4: /* 801ABEE4 001A8E44 38 00 00 00 */ li r0, 0 /* 801ABEE8 001A8E48 98 1C 03 44 */ stb r0, 0x344(r28) lbl_801ABEEC: /* 801ABEEC 001A8E4C 88 01 00 20 */ lbz r0, 0x20(r1) /* 801ABEF0 001A8E50 28 00 00 00 */ cmplwi r0, 0 /* 801ABEF4 001A8E54 41 82 00 1C */ beq lbl_801ABF10 /* 801ABEF8 001A8E58 34 61 00 14 */ addic. r3, r1, 0x14 /* 801ABEFC 001A8E5C 41 82 00 14 */ beq lbl_801ABF10 /* 801ABF00 001A8E60 28 03 00 00 */ cmplwi r3, 0 /* 801ABF04 001A8E64 41 82 00 0C */ beq lbl_801ABF10 /* 801ABF08 001A8E68 38 80 00 00 */ li r4, 0 /* 801ABF0C 001A8E6C 48 19 4F 35 */ bl __dt__6CTokenFv lbl_801ABF10: /* 801ABF10 001A8E70 38 80 00 00 */ li r4, 0 /* 801ABF14 001A8E74 38 61 00 34 */ addi r3, r1, 0x34 /* 801ABF18 001A8E78 98 81 00 20 */ stb r4, 0x20(r1) /* 801ABF1C 001A8E7C 90 9C 03 48 */ stw r4, 0x348(r28) /* 801ABF20 001A8E80 80 1C 03 50 */ lwz r0, 0x350(r28) /* 801ABF24 001A8E84 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e /* 801ABF28 001A8E88 90 1C 03 50 */ stw r0, 0x350(r28) /* 801ABF2C 001A8E8C 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF30 001A8E90 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801ABF34 001A8E94 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF38 001A8E98 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF3C 001A8E9C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801ABF40 001A8EA0 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF44 001A8EA4 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF48 001A8EA8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801ABF4C 001A8EAC 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF50 001A8EB0 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF54 001A8EB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801ABF58 001A8EB8 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF5C 001A8EBC 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801ABF60 001A8EC0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801ABF64 001A8EC4 98 1C 03 54 */ stb r0, 0x354(r28) /* 801ABF68 001A8EC8 4B E8 E8 3D */ bl CModelDataNull__10CModelDataFv /* 801ABF6C 001A8ECC 7F 83 E3 78 */ mr r3, r28 /* 801ABF70 001A8ED0 38 81 00 34 */ addi r4, r1, 0x34 /* 801ABF74 001A8ED4 4B EA 90 BD */ bl SetModelData__6CActorFRC10CModelData /* 801ABF78 001A8ED8 38 61 00 34 */ addi r3, r1, 0x34 /* 801ABF7C 001A8EDC 38 80 FF FF */ li r4, -1 /* 801ABF80 001A8EE0 4B F6 AA CD */ bl __dt__10CModelDataFv /* 801ABF84 001A8EE4 7F 83 E3 78 */ mr r3, r28 /* 801ABF88 001A8EE8 38 80 00 00 */ li r4, 0 /* 801ABF8C 001A8EEC 81 9C 00 00 */ lwz r12, 0(r28) /* 801ABF90 001A8EF0 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801ABF94 001A8EF4 7D 89 03 A6 */ mtctr r12 /* 801ABF98 001A8EF8 4E 80 04 21 */ bctrl /* 801ABF9C 001A8EFC 48 00 00 10 */ b lbl_801ABFAC /* 801ABFA0 001A8F00 7F E4 FB 78 */ mr r4, r31 /* 801ABFA4 001A8F04 38 A0 00 00 */ li r5, 0 /* 801ABFA8 001A8F08 4B FF E4 55 */ bl SetIntoStateManager__18CScriptPlayerActorFR13CStateManagerb lbl_801ABFAC: /* 801ABFAC 001A8F0C A0 1E 00 00 */ lhz r0, 0(r30) /* 801ABFB0 001A8F10 7F 83 E3 78 */ mr r3, r28 /* 801ABFB4 001A8F14 7F A4 EB 78 */ mr r4, r29 /* 801ABFB8 001A8F18 7F E6 FB 78 */ mr r6, r31 /* 801ABFBC 001A8F1C B0 01 00 08 */ sth r0, 8(r1) /* 801ABFC0 001A8F20 38 A1 00 08 */ addi r5, r1, 8 /* 801ABFC4 001A8F24 4B EC 93 3D */ bl AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801ABFC8 001A8F28 BB 61 00 8C */ lmw r27, 0x8c(r1) /* 801ABFCC 001A8F2C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801ABFD0 001A8F30 7C 08 03 A6 */ mtlr r0 /* 801ABFD4 001A8F34 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801ABFD8 001A8F38 4E 80 00 20 */ blr .global "__ct__18CScriptPlayerActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC8CAnimResRC10CModelDataRC6CAABoxbRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbb" "__ct__18CScriptPlayerActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC8CAnimResRC10CModelDataRC6CAABoxbRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbb": /* 801ABFDC 001A8F3C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801ABFE0 001A8F40 7C 08 02 A6 */ mflr r0 /* 801ABFE4 001A8F44 C0 62 A8 44 */ lfs f3, lbl_805AC564@sda21(r2) /* 801ABFE8 001A8F48 90 01 00 74 */ stw r0, 0x74(r1) /* 801ABFEC 001A8F4C 38 00 00 00 */ li r0, 0 /* 801ABFF0 001A8F50 81 61 00 80 */ lwz r11, 0x80(r1) /* 801ABFF4 001A8F54 BF 41 00 58 */ stmw r26, 0x58(r1) /* 801ABFF8 001A8F58 7D 1D 43 78 */ mr r29, r8 /* 801ABFFC 001A8F5C 7D 28 4B 78 */ mr r8, r9 /* 801AC000 001A8F60 81 81 00 7C */ lwz r12, 0x7c(r1) /* 801AC004 001A8F64 7D 49 53 78 */ mr r9, r10 /* 801AC008 001A8F68 83 E1 00 88 */ lwz r31, 0x88(r1) /* 801AC00C 001A8F6C 7D 8A 63 78 */ mr r10, r12 /* 801AC010 001A8F70 89 81 00 8F */ lbz r12, 0x8f(r1) /* 801AC014 001A8F74 8B C1 00 7B */ lbz r30, 0x7b(r1) /* 801AC018 001A8F78 7C 7C 1B 78 */ mr r28, r3 /* 801AC01C 001A8F7C 83 41 00 94 */ lwz r26, 0x94(r1) /* 801AC020 001A8F80 83 61 00 98 */ lwz r27, 0x98(r1) /* 801AC024 001A8F84 A0 84 00 00 */ lhz r4, 0(r4) /* 801AC028 001A8F88 B0 81 00 30 */ sth r4, 0x30(r1) /* 801AC02C 001A8F8C 80 81 00 84 */ lwz r4, 0x84(r1) /* 801AC030 001A8F90 91 61 00 08 */ stw r11, 8(r1) /* 801AC034 001A8F94 89 61 00 93 */ lbz r11, 0x93(r1) /* 801AC038 001A8F98 90 81 00 0C */ stw r4, 0xc(r1) /* 801AC03C 001A8F9C 38 81 00 30 */ addi r4, r1, 0x30 /* 801AC040 001A8FA0 93 E1 00 10 */ stw r31, 0x10(r1) /* 801AC044 001A8FA4 91 81 00 14 */ stw r12, 0x14(r1) /* 801AC048 001A8FA8 91 61 00 18 */ stw r11, 0x18(r1) /* 801AC04C 001A8FAC 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AC050 001A8FB0 90 01 00 20 */ stw r0, 0x20(r1) /* 801AC054 001A8FB4 90 01 00 24 */ stw r0, 0x24(r1) /* 801AC058 001A8FB8 90 01 00 28 */ stw r0, 0x28(r1) /* 801AC05C 001A8FBC 90 01 00 2C */ stw r0, 0x2c(r1) /* 801AC060 001A8FC0 4B EC 98 4D */ bl "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" /* 801AC064 001A8FC4 3C 60 80 3E */ lis r3, lbl_803E4BE0@ha /* 801AC068 001A8FC8 38 00 FF FF */ li r0, -1 /* 801AC06C 001A8FCC 38 63 4B E0 */ addi r3, r3, lbl_803E4BE0@l /* 801AC070 001A8FD0 38 A0 00 00 */ li r5, 0 /* 801AC074 001A8FD4 90 7C 00 00 */ stw r3, 0(r28) /* 801AC078 001A8FD8 38 80 00 01 */ li r4, 1 /* 801AC07C 001A8FDC C0 02 A8 3C */ lfs f0, lbl_805AC55C@sda21(r2) /* 801AC080 001A8FE0 7F 83 E3 78 */ mr r3, r28 /* 801AC084 001A8FE4 80 DD 00 00 */ lwz r6, 0(r29) /* 801AC088 001A8FE8 90 DC 02 E8 */ stw r6, 0x2e8(r28) /* 801AC08C 001A8FEC 80 DD 00 04 */ lwz r6, 4(r29) /* 801AC090 001A8FF0 90 DC 02 EC */ stw r6, 0x2ec(r28) /* 801AC094 001A8FF4 C0 3D 00 08 */ lfs f1, 8(r29) /* 801AC098 001A8FF8 D0 3C 02 F0 */ stfs f1, 0x2f0(r28) /* 801AC09C 001A8FFC C0 3D 00 0C */ lfs f1, 0xc(r29) /* 801AC0A0 001A9000 D0 3C 02 F4 */ stfs f1, 0x2f4(r28) /* 801AC0A4 001A9004 C0 3D 00 10 */ lfs f1, 0x10(r29) /* 801AC0A8 001A9008 D0 3C 02 F8 */ stfs f1, 0x2f8(r28) /* 801AC0AC 001A900C 88 DD 00 14 */ lbz r6, 0x14(r29) /* 801AC0B0 001A9010 98 DC 02 FC */ stb r6, 0x2fc(r28) /* 801AC0B4 001A9014 80 DD 00 18 */ lwz r6, 0x18(r29) /* 801AC0B8 001A9018 90 DC 03 00 */ stw r6, 0x300(r28) /* 801AC0BC 001A901C 93 7C 03 04 */ stw r27, 0x304(r28) /* 801AC0C0 001A9020 90 1C 03 08 */ stw r0, 0x308(r28) /* 801AC0C4 001A9024 90 1C 03 0C */ stw r0, 0x30c(r28) /* 801AC0C8 001A9028 90 1C 03 10 */ stw r0, 0x310(r28) /* 801AC0CC 001A902C 90 BC 03 14 */ stw r5, 0x314(r28) /* 801AC0D0 001A9030 90 BC 03 18 */ stw r5, 0x318(r28) /* 801AC0D4 001A9034 90 BC 03 1C */ stw r5, 0x31c(r28) /* 801AC0D8 001A9038 90 BC 03 20 */ stw r5, 0x320(r28) /* 801AC0DC 001A903C 90 BC 03 24 */ stw r5, 0x324(r28) /* 801AC0E0 001A9040 98 BC 03 34 */ stb r5, 0x334(r28) /* 801AC0E4 001A9044 98 BC 03 44 */ stb r5, 0x344(r28) /* 801AC0E8 001A9048 90 BC 03 48 */ stw r5, 0x348(r28) /* 801AC0EC 001A904C D0 1C 03 4C */ stfs f0, 0x34c(r28) /* 801AC0F0 001A9050 93 5C 03 50 */ stw r26, 0x350(r28) /* 801AC0F4 001A9054 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC0F8 001A9058 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 /* 801AC0FC 001A905C 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC100 001A9060 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC104 001A9064 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801AC108 001A9068 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC10C 001A906C 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC110 001A9070 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 801AC114 001A9074 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC118 001A9078 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC11C 001A907C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801AC120 001A9080 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC124 001A9084 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC128 001A9088 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801AC12C 001A908C 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC130 001A9090 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC134 001A9094 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801AC138 001A9098 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC13C 001A909C 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC140 001A90A0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801AC144 001A90A4 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC148 001A90A8 88 1C 03 54 */ lbz r0, 0x354(r28) /* 801AC14C 001A90AC 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 801AC150 001A90B0 98 1C 03 54 */ stb r0, 0x354(r28) /* 801AC154 001A90B4 88 1C 03 55 */ lbz r0, 0x355(r28) /* 801AC158 001A90B8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801AC15C 001A90BC 98 1C 03 55 */ stb r0, 0x355(r28) /* 801AC160 001A90C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AC164 001A90C4 B0 1C 03 56 */ sth r0, 0x356(r28) /* 801AC168 001A90C8 4B EA 77 55 */ bl GetMaterialFilter__6CActorCFv /* 801AC16C 001A90CC 83 A3 00 08 */ lwz r29, 8(r3) /* 801AC170 001A90D0 83 C3 00 0C */ lwz r30, 0xc(r3) /* 801AC174 001A90D4 7F 83 E3 78 */ mr r3, r28 /* 801AC178 001A90D8 4B EA 77 45 */ bl GetMaterialFilter__6CActorCFv /* 801AC17C 001A90DC 80 C3 00 00 */ lwz r6, 0(r3) /* 801AC180 001A90E0 63 A5 00 01 */ ori r5, r29, 1 /* 801AC184 001A90E4 80 E3 00 04 */ lwz r7, 4(r3) /* 801AC188 001A90E8 38 00 00 03 */ li r0, 3 /* 801AC18C 001A90EC 7F 83 E3 78 */ mr r3, r28 /* 801AC190 001A90F0 38 81 00 40 */ addi r4, r1, 0x40 /* 801AC194 001A90F4 90 E1 00 44 */ stw r7, 0x44(r1) /* 801AC198 001A90F8 90 C1 00 40 */ stw r6, 0x40(r1) /* 801AC19C 001A90FC 93 C1 00 4C */ stw r30, 0x4c(r1) /* 801AC1A0 001A9100 90 A1 00 48 */ stw r5, 0x48(r1) /* 801AC1A4 001A9104 90 01 00 50 */ stw r0, 0x50(r1) /* 801AC1A8 001A9108 4B EA 76 F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801AC1AC 001A910C 7F E4 FB 78 */ mr r4, r31 /* 801AC1B0 001A9110 38 61 00 34 */ addi r3, r1, 0x34 /* 801AC1B4 001A9114 4B F5 A2 5D */ bl MakeActorLights__16CLightParametersCFv /* 801AC1B8 001A9118 7F 83 E3 78 */ mr r3, r28 /* 801AC1BC 001A911C 38 81 00 34 */ addi r4, r1, 0x34 /* 801AC1C0 001A9120 4B EA 77 05 */ bl sub_800538c4 /* 801AC1C4 001A9124 88 01 00 34 */ lbz r0, 0x34(r1) /* 801AC1C8 001A9128 28 00 00 00 */ cmplwi r0, 0 /* 801AC1CC 001A912C 41 82 00 10 */ beq lbl_801AC1DC /* 801AC1D0 001A9130 80 61 00 38 */ lwz r3, 0x38(r1) /* 801AC1D4 001A9134 38 80 00 01 */ li r4, 1 /* 801AC1D8 001A9138 4B F5 8E FD */ bl __dt__12CActorLightsFv lbl_801AC1DC: /* 801AC1DC 001A913C 88 1C 00 E7 */ lbz r0, 0xe7(r28) /* 801AC1E0 001A9140 38 80 00 01 */ li r4, 1 /* 801AC1E4 001A9144 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801AC1E8 001A9148 7F 83 E3 78 */ mr r3, r28 /* 801AC1EC 001A914C 98 1C 00 E7 */ stb r0, 0xe7(r28) /* 801AC1F0 001A9150 88 1C 02 E3 */ lbz r0, 0x2e3(r28) /* 801AC1F4 001A9154 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801AC1F8 001A9158 98 1C 02 E3 */ stb r0, 0x2e3(r28) /* 801AC1FC 001A915C BB 41 00 58 */ lmw r26, 0x58(r1) /* 801AC200 001A9160 80 01 00 74 */ lwz r0, 0x74(r1) /* 801AC204 001A9164 7C 08 03 A6 */ mtlr r0 /* 801AC208 001A9168 38 21 00 70 */ addi r1, r1, 0x70 /* 801AC20C 001A916C 4E 80 00 20 */ blr .global GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId: /* 801AC210 001A9170 2C 04 00 00 */ cmpwi r4, 0 /* 801AC214 001A9174 41 80 00 0C */ blt lbl_801AC220 /* 801AC218 001A9178 2C 04 00 04 */ cmpwi r4, 4 /* 801AC21C 001A917C 40 81 00 0C */ ble lbl_801AC228 lbl_801AC220: /* 801AC220 001A9180 80 63 00 DC */ lwz r3, 0xdc(r3) /* 801AC224 001A9184 4E 80 00 20 */ blr lbl_801AC228: /* 801AC228 001A9188 54 80 10 3A */ slwi r0, r4, 2 /* 801AC22C 001A918C 7C 63 02 14 */ add r3, r3, r0 /* 801AC230 001A9190 80 63 00 DC */ lwz r3, 0xdc(r3) /* 801AC234 001A9194 4E 80 00 20 */ blr .global GetBallTransitionBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId GetBallTransitionBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId: /* 801AC238 001A9198 2C 04 00 00 */ cmpwi r4, 0 /* 801AC23C 001A919C 41 80 00 0C */ blt lbl_801AC248 /* 801AC240 001A91A0 2C 04 00 04 */ cmpwi r4, 4 /* 801AC244 001A91A4 40 81 00 0C */ ble lbl_801AC250 lbl_801AC248: /* 801AC248 001A91A8 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801AC24C 001A91AC 4E 80 00 20 */ blr lbl_801AC250: /* 801AC250 001A91B0 54 80 10 3A */ slwi r0, r4, 2 /* 801AC254 001A91B4 7C 63 02 14 */ add r3, r3, r0 /* 801AC258 001A91B8 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801AC25C 001A91BC 4E 80 00 20 */ blr .global __ct__15CTweakPlayerResFR12CInputStream __ct__15CTweakPlayerResFR12CInputStream: /* 801AC260 001A91C0 94 21 FE 70 */ stwu r1, -0x190(r1) /* 801AC264 001A91C4 7C 08 02 A6 */ mflr r0 /* 801AC268 001A91C8 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha /* 801AC26C 001A91CC 90 01 01 94 */ stw r0, 0x194(r1) /* 801AC270 001A91D0 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l /* 801AC274 001A91D4 38 A1 00 2C */ addi r5, r1, 0x2c /* 801AC278 001A91D8 93 E1 01 8C */ stw r31, 0x18c(r1) /* 801AC27C 001A91DC 7C 9F 23 78 */ mr r31, r4 /* 801AC280 001A91E0 93 C1 01 88 */ stw r30, 0x188(r1) /* 801AC284 001A91E4 7C 7E 1B 78 */ mr r30, r3 /* 801AC288 001A91E8 3C 60 80 3E */ lis r3, lbl_803E4CF8@ha /* 801AC28C 001A91EC 93 A1 01 84 */ stw r29, 0x184(r1) /* 801AC290 001A91F0 93 81 01 80 */ stw r28, 0x180(r1) /* 801AC294 001A91F4 90 1E 00 00 */ stw r0, 0(r30) /* 801AC298 001A91F8 38 03 4C F8 */ addi r0, r3, lbl_803E4CF8@l /* 801AC29C 001A91FC 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801AC2A0 001A9200 90 1E 00 00 */ stw r0, 0(r30) /* 801AC2A4 001A9204 48 19 20 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC2A8 001A9208 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC2AC 001A920C 80 81 00 E4 */ lwz r4, 0xe4(r1) /* 801AC2B0 001A9210 81 83 00 00 */ lwz r12, 0(r3) /* 801AC2B4 001A9214 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC2B8 001A9218 7D 89 03 A6 */ mtctr r12 /* 801AC2BC 001A921C 4E 80 04 21 */ bctrl /* 801AC2C0 001A9220 80 03 00 04 */ lwz r0, 4(r3) /* 801AC2C4 001A9224 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801AC2C8 001A9228 90 1E 00 04 */ stw r0, 4(r30) /* 801AC2CC 001A922C 48 19 18 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC2D0 001A9230 7F E4 FB 78 */ mr r4, r31 /* 801AC2D4 001A9234 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801AC2D8 001A9238 38 A1 00 28 */ addi r5, r1, 0x28 /* 801AC2DC 001A923C 48 19 20 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC2E0 001A9240 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC2E4 001A9244 80 81 00 D4 */ lwz r4, 0xd4(r1) /* 801AC2E8 001A9248 81 83 00 00 */ lwz r12, 0(r3) /* 801AC2EC 001A924C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC2F0 001A9250 7D 89 03 A6 */ mtctr r12 /* 801AC2F4 001A9254 4E 80 04 21 */ bctrl /* 801AC2F8 001A9258 80 03 00 04 */ lwz r0, 4(r3) /* 801AC2FC 001A925C 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801AC300 001A9260 90 1E 00 08 */ stw r0, 8(r30) /* 801AC304 001A9264 48 19 17 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC308 001A9268 7F E4 FB 78 */ mr r4, r31 /* 801AC30C 001A926C 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801AC310 001A9270 38 A1 00 24 */ addi r5, r1, 0x24 /* 801AC314 001A9274 48 19 1F E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC318 001A9278 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC31C 001A927C 80 81 00 C4 */ lwz r4, 0xc4(r1) /* 801AC320 001A9280 81 83 00 00 */ lwz r12, 0(r3) /* 801AC324 001A9284 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC328 001A9288 7D 89 03 A6 */ mtctr r12 /* 801AC32C 001A928C 4E 80 04 21 */ bctrl /* 801AC330 001A9290 80 03 00 04 */ lwz r0, 4(r3) /* 801AC334 001A9294 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801AC338 001A9298 90 1E 00 0C */ stw r0, 0xc(r30) /* 801AC33C 001A929C 48 19 17 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC340 001A92A0 7F E4 FB 78 */ mr r4, r31 /* 801AC344 001A92A4 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801AC348 001A92A8 38 A1 00 20 */ addi r5, r1, 0x20 /* 801AC34C 001A92AC 48 19 1F AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC350 001A92B0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC354 001A92B4 80 81 00 B4 */ lwz r4, 0xb4(r1) /* 801AC358 001A92B8 81 83 00 00 */ lwz r12, 0(r3) /* 801AC35C 001A92BC 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC360 001A92C0 7D 89 03 A6 */ mtctr r12 /* 801AC364 001A92C4 4E 80 04 21 */ bctrl /* 801AC368 001A92C8 80 03 00 04 */ lwz r0, 4(r3) /* 801AC36C 001A92CC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801AC370 001A92D0 90 1E 00 10 */ stw r0, 0x10(r30) /* 801AC374 001A92D4 48 19 17 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC378 001A92D8 7F E4 FB 78 */ mr r4, r31 /* 801AC37C 001A92DC 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801AC380 001A92E0 38 A1 00 1C */ addi r5, r1, 0x1c /* 801AC384 001A92E4 48 19 1F 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC388 001A92E8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC38C 001A92EC 80 81 00 A4 */ lwz r4, 0xa4(r1) /* 801AC390 001A92F0 81 83 00 00 */ lwz r12, 0(r3) /* 801AC394 001A92F4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC398 001A92F8 7D 89 03 A6 */ mtctr r12 /* 801AC39C 001A92FC 4E 80 04 21 */ bctrl /* 801AC3A0 001A9300 80 03 00 04 */ lwz r0, 4(r3) /* 801AC3A4 001A9304 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801AC3A8 001A9308 90 1E 00 14 */ stw r0, 0x14(r30) /* 801AC3AC 001A930C 48 19 17 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC3B0 001A9310 7F E4 FB 78 */ mr r4, r31 /* 801AC3B4 001A9314 38 61 00 94 */ addi r3, r1, 0x94 /* 801AC3B8 001A9318 38 A1 00 18 */ addi r5, r1, 0x18 /* 801AC3BC 001A931C 48 19 1F 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC3C0 001A9320 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC3C4 001A9324 80 81 00 94 */ lwz r4, 0x94(r1) /* 801AC3C8 001A9328 81 83 00 00 */ lwz r12, 0(r3) /* 801AC3CC 001A932C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC3D0 001A9330 7D 89 03 A6 */ mtctr r12 /* 801AC3D4 001A9334 4E 80 04 21 */ bctrl /* 801AC3D8 001A9338 80 03 00 04 */ lwz r0, 4(r3) /* 801AC3DC 001A933C 38 61 00 94 */ addi r3, r1, 0x94 /* 801AC3E0 001A9340 90 1E 00 18 */ stw r0, 0x18(r30) /* 801AC3E4 001A9344 48 19 16 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC3E8 001A9348 7F E4 FB 78 */ mr r4, r31 /* 801AC3EC 001A934C 38 61 00 84 */ addi r3, r1, 0x84 /* 801AC3F0 001A9350 38 A1 00 14 */ addi r5, r1, 0x14 /* 801AC3F4 001A9354 48 19 1F 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC3F8 001A9358 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC3FC 001A935C 80 81 00 84 */ lwz r4, 0x84(r1) /* 801AC400 001A9360 81 83 00 00 */ lwz r12, 0(r3) /* 801AC404 001A9364 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC408 001A9368 7D 89 03 A6 */ mtctr r12 /* 801AC40C 001A936C 4E 80 04 21 */ bctrl /* 801AC410 001A9370 80 03 00 04 */ lwz r0, 4(r3) /* 801AC414 001A9374 38 61 00 84 */ addi r3, r1, 0x84 /* 801AC418 001A9378 90 1E 00 1C */ stw r0, 0x1c(r30) /* 801AC41C 001A937C 48 19 16 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AC420 001A9380 7F E4 FB 78 */ mr r4, r31 /* 801AC424 001A9384 38 61 01 4C */ addi r3, r1, 0x14c /* 801AC428 001A9388 48 00 07 F1 */ bl sub_801acc18 /* 801AC42C 001A938C 80 01 01 4C */ lwz r0, 0x14c(r1) /* 801AC430 001A9390 38 9E 00 24 */ addi r4, r30, 0x24 /* 801AC434 001A9394 38 61 01 50 */ addi r3, r1, 0x150 /* 801AC438 001A9398 90 1E 00 20 */ stw r0, 0x20(r30) /* 801AC43C 001A939C 80 1E 00 20 */ lwz r0, 0x20(r30) /* 801AC440 001A93A0 7C 09 03 A6 */ mtctr r0 /* 801AC444 001A93A4 2C 00 00 00 */ cmpwi r0, 0 /* 801AC448 001A93A8 40 81 00 20 */ ble lbl_801AC468 lbl_801AC44C: /* 801AC44C 001A93AC 28 04 00 00 */ cmplwi r4, 0 /* 801AC450 001A93B0 41 82 00 0C */ beq lbl_801AC45C /* 801AC454 001A93B4 80 03 00 00 */ lwz r0, 0(r3) /* 801AC458 001A93B8 90 04 00 00 */ stw r0, 0(r4) lbl_801AC45C: /* 801AC45C 001A93BC 38 84 00 04 */ addi r4, r4, 4 /* 801AC460 001A93C0 38 63 00 04 */ addi r3, r3, 4 /* 801AC464 001A93C4 42 00 FF E8 */ bdnz lbl_801AC44C lbl_801AC468: /* 801AC468 001A93C8 80 A1 01 4C */ lwz r5, 0x14c(r1) /* 801AC46C 001A93CC 38 60 00 00 */ li r3, 0 /* 801AC470 001A93D0 2C 05 00 00 */ cmpwi r5, 0 /* 801AC474 001A93D4 40 81 00 40 */ ble lbl_801AC4B4 /* 801AC478 001A93D8 2C 05 00 08 */ cmpwi r5, 8 /* 801AC47C 001A93DC 38 85 FF F8 */ addi r4, r5, -8 /* 801AC480 001A93E0 40 81 00 20 */ ble lbl_801AC4A0 /* 801AC484 001A93E4 38 04 00 07 */ addi r0, r4, 7 /* 801AC488 001A93E8 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC48C 001A93EC 7C 09 03 A6 */ mtctr r0 /* 801AC490 001A93F0 2C 04 00 00 */ cmpwi r4, 0 /* 801AC494 001A93F4 40 81 00 0C */ ble lbl_801AC4A0 lbl_801AC498: /* 801AC498 001A93F8 38 63 00 08 */ addi r3, r3, 8 /* 801AC49C 001A93FC 42 00 FF FC */ bdnz lbl_801AC498 lbl_801AC4A0: /* 801AC4A0 001A9400 7C 03 28 50 */ subf r0, r3, r5 /* 801AC4A4 001A9404 7C 09 03 A6 */ mtctr r0 /* 801AC4A8 001A9408 7C 03 28 00 */ cmpw r3, r5 /* 801AC4AC 001A940C 40 80 00 08 */ bge lbl_801AC4B4 lbl_801AC4B0: /* 801AC4B0 001A9410 42 00 00 00 */ bdnz lbl_801AC4B0 lbl_801AC4B4: /* 801AC4B4 001A9414 38 00 00 00 */ li r0, 0 /* 801AC4B8 001A9418 7F E4 FB 78 */ mr r4, r31 /* 801AC4BC 001A941C 90 01 01 4C */ stw r0, 0x14c(r1) /* 801AC4C0 001A9420 38 61 01 24 */ addi r3, r1, 0x124 /* 801AC4C4 001A9424 48 00 07 55 */ bl sub_801acc18 /* 801AC4C8 001A9428 80 01 01 24 */ lwz r0, 0x124(r1) /* 801AC4CC 001A942C 38 9E 00 4C */ addi r4, r30, 0x4c /* 801AC4D0 001A9430 38 61 01 28 */ addi r3, r1, 0x128 /* 801AC4D4 001A9434 90 1E 00 48 */ stw r0, 0x48(r30) /* 801AC4D8 001A9438 80 1E 00 48 */ lwz r0, 0x48(r30) /* 801AC4DC 001A943C 7C 09 03 A6 */ mtctr r0 /* 801AC4E0 001A9440 2C 00 00 00 */ cmpwi r0, 0 /* 801AC4E4 001A9444 40 81 00 20 */ ble lbl_801AC504 lbl_801AC4E8: /* 801AC4E8 001A9448 28 04 00 00 */ cmplwi r4, 0 /* 801AC4EC 001A944C 41 82 00 0C */ beq lbl_801AC4F8 /* 801AC4F0 001A9450 80 03 00 00 */ lwz r0, 0(r3) /* 801AC4F4 001A9454 90 04 00 00 */ stw r0, 0(r4) lbl_801AC4F8: /* 801AC4F8 001A9458 38 84 00 04 */ addi r4, r4, 4 /* 801AC4FC 001A945C 38 63 00 04 */ addi r3, r3, 4 /* 801AC500 001A9460 42 00 FF E8 */ bdnz lbl_801AC4E8 lbl_801AC504: /* 801AC504 001A9464 80 A1 01 24 */ lwz r5, 0x124(r1) /* 801AC508 001A9468 38 60 00 00 */ li r3, 0 /* 801AC50C 001A946C 2C 05 00 00 */ cmpwi r5, 0 /* 801AC510 001A9470 40 81 00 40 */ ble lbl_801AC550 /* 801AC514 001A9474 2C 05 00 08 */ cmpwi r5, 8 /* 801AC518 001A9478 38 85 FF F8 */ addi r4, r5, -8 /* 801AC51C 001A947C 40 81 00 20 */ ble lbl_801AC53C /* 801AC520 001A9480 38 04 00 07 */ addi r0, r4, 7 /* 801AC524 001A9484 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC528 001A9488 7C 09 03 A6 */ mtctr r0 /* 801AC52C 001A948C 2C 04 00 00 */ cmpwi r4, 0 /* 801AC530 001A9490 40 81 00 0C */ ble lbl_801AC53C lbl_801AC534: /* 801AC534 001A9494 38 63 00 08 */ addi r3, r3, 8 /* 801AC538 001A9498 42 00 FF FC */ bdnz lbl_801AC534 lbl_801AC53C: /* 801AC53C 001A949C 7C 03 28 50 */ subf r0, r3, r5 /* 801AC540 001A94A0 7C 09 03 A6 */ mtctr r0 /* 801AC544 001A94A4 7C 03 28 00 */ cmpw r3, r5 /* 801AC548 001A94A8 40 80 00 08 */ bge lbl_801AC550 lbl_801AC54C: /* 801AC54C 001A94AC 42 00 00 00 */ bdnz lbl_801AC54C lbl_801AC550: /* 801AC550 001A94B0 38 00 00 00 */ li r0, 0 /* 801AC554 001A94B4 7F E4 FB 78 */ mr r4, r31 /* 801AC558 001A94B8 90 01 01 24 */ stw r0, 0x124(r1) /* 801AC55C 001A94BC 38 61 00 78 */ addi r3, r1, 0x78 /* 801AC560 001A94C0 48 00 05 79 */ bl sub_801acad8 /* 801AC564 001A94C4 80 01 00 78 */ lwz r0, 0x78(r1) /* 801AC568 001A94C8 38 9E 00 74 */ addi r4, r30, 0x74 /* 801AC56C 001A94CC 38 61 00 7C */ addi r3, r1, 0x7c /* 801AC570 001A94D0 90 1E 00 70 */ stw r0, 0x70(r30) /* 801AC574 001A94D4 80 1E 00 70 */ lwz r0, 0x70(r30) /* 801AC578 001A94D8 7C 09 03 A6 */ mtctr r0 /* 801AC57C 001A94DC 2C 00 00 00 */ cmpwi r0, 0 /* 801AC580 001A94E0 40 81 00 20 */ ble lbl_801AC5A0 lbl_801AC584: /* 801AC584 001A94E4 28 04 00 00 */ cmplwi r4, 0 /* 801AC588 001A94E8 41 82 00 0C */ beq lbl_801AC594 /* 801AC58C 001A94EC 80 03 00 00 */ lwz r0, 0(r3) /* 801AC590 001A94F0 90 04 00 00 */ stw r0, 0(r4) lbl_801AC594: /* 801AC594 001A94F4 38 84 00 04 */ addi r4, r4, 4 /* 801AC598 001A94F8 38 63 00 04 */ addi r3, r3, 4 /* 801AC59C 001A94FC 42 00 FF E8 */ bdnz lbl_801AC584 lbl_801AC5A0: /* 801AC5A0 001A9500 80 A1 00 78 */ lwz r5, 0x78(r1) /* 801AC5A4 001A9504 38 60 00 00 */ li r3, 0 /* 801AC5A8 001A9508 2C 05 00 00 */ cmpwi r5, 0 /* 801AC5AC 001A950C 40 81 00 40 */ ble lbl_801AC5EC /* 801AC5B0 001A9510 2C 05 00 08 */ cmpwi r5, 8 /* 801AC5B4 001A9514 38 85 FF F8 */ addi r4, r5, -8 /* 801AC5B8 001A9518 40 81 00 20 */ ble lbl_801AC5D8 /* 801AC5BC 001A951C 38 04 00 07 */ addi r0, r4, 7 /* 801AC5C0 001A9520 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC5C4 001A9524 7C 09 03 A6 */ mtctr r0 /* 801AC5C8 001A9528 2C 04 00 00 */ cmpwi r4, 0 /* 801AC5CC 001A952C 40 81 00 0C */ ble lbl_801AC5D8 lbl_801AC5D0: /* 801AC5D0 001A9530 38 63 00 08 */ addi r3, r3, 8 /* 801AC5D4 001A9534 42 00 FF FC */ bdnz lbl_801AC5D0 lbl_801AC5D8: /* 801AC5D8 001A9538 7C 03 28 50 */ subf r0, r3, r5 /* 801AC5DC 001A953C 7C 09 03 A6 */ mtctr r0 /* 801AC5E0 001A9540 7C 03 28 00 */ cmpw r3, r5 /* 801AC5E4 001A9544 40 80 00 08 */ bge lbl_801AC5EC lbl_801AC5E8: /* 801AC5E8 001A9548 42 00 00 00 */ bdnz lbl_801AC5E8 lbl_801AC5EC: /* 801AC5EC 001A954C 38 00 00 00 */ li r0, 0 /* 801AC5F0 001A9550 7F E4 FB 78 */ mr r4, r31 /* 801AC5F4 001A9554 90 01 00 78 */ stw r0, 0x78(r1) /* 801AC5F8 001A9558 38 61 00 6C */ addi r3, r1, 0x6c /* 801AC5FC 001A955C 48 00 04 DD */ bl sub_801acad8 /* 801AC600 001A9560 80 01 00 6C */ lwz r0, 0x6c(r1) /* 801AC604 001A9564 38 9E 00 80 */ addi r4, r30, 0x80 /* 801AC608 001A9568 38 61 00 70 */ addi r3, r1, 0x70 /* 801AC60C 001A956C 90 1E 00 7C */ stw r0, 0x7c(r30) /* 801AC610 001A9570 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 801AC614 001A9574 7C 09 03 A6 */ mtctr r0 /* 801AC618 001A9578 2C 00 00 00 */ cmpwi r0, 0 /* 801AC61C 001A957C 40 81 00 20 */ ble lbl_801AC63C lbl_801AC620: /* 801AC620 001A9580 28 04 00 00 */ cmplwi r4, 0 /* 801AC624 001A9584 41 82 00 0C */ beq lbl_801AC630 /* 801AC628 001A9588 80 03 00 00 */ lwz r0, 0(r3) /* 801AC62C 001A958C 90 04 00 00 */ stw r0, 0(r4) lbl_801AC630: /* 801AC630 001A9590 38 84 00 04 */ addi r4, r4, 4 /* 801AC634 001A9594 38 63 00 04 */ addi r3, r3, 4 /* 801AC638 001A9598 42 00 FF E8 */ bdnz lbl_801AC620 lbl_801AC63C: /* 801AC63C 001A959C 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 801AC640 001A95A0 38 60 00 00 */ li r3, 0 /* 801AC644 001A95A4 2C 05 00 00 */ cmpwi r5, 0 /* 801AC648 001A95A8 40 81 00 40 */ ble lbl_801AC688 /* 801AC64C 001A95AC 2C 05 00 08 */ cmpwi r5, 8 /* 801AC650 001A95B0 38 85 FF F8 */ addi r4, r5, -8 /* 801AC654 001A95B4 40 81 00 20 */ ble lbl_801AC674 /* 801AC658 001A95B8 38 04 00 07 */ addi r0, r4, 7 /* 801AC65C 001A95BC 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC660 001A95C0 7C 09 03 A6 */ mtctr r0 /* 801AC664 001A95C4 2C 04 00 00 */ cmpwi r4, 0 /* 801AC668 001A95C8 40 81 00 0C */ ble lbl_801AC674 lbl_801AC66C: /* 801AC66C 001A95CC 38 63 00 08 */ addi r3, r3, 8 /* 801AC670 001A95D0 42 00 FF FC */ bdnz lbl_801AC66C lbl_801AC674: /* 801AC674 001A95D4 7C 03 28 50 */ subf r0, r3, r5 /* 801AC678 001A95D8 7C 09 03 A6 */ mtctr r0 /* 801AC67C 001A95DC 7C 03 28 00 */ cmpw r3, r5 /* 801AC680 001A95E0 40 80 00 08 */ bge lbl_801AC688 lbl_801AC684: /* 801AC684 001A95E4 42 00 00 00 */ bdnz lbl_801AC684 lbl_801AC688: /* 801AC688 001A95E8 38 00 00 00 */ li r0, 0 /* 801AC68C 001A95EC 7F E4 FB 78 */ mr r4, r31 /* 801AC690 001A95F0 90 01 00 6C */ stw r0, 0x6c(r1) /* 801AC694 001A95F4 38 61 00 60 */ addi r3, r1, 0x60 /* 801AC698 001A95F8 48 00 04 41 */ bl sub_801acad8 /* 801AC69C 001A95FC 80 01 00 60 */ lwz r0, 0x60(r1) /* 801AC6A0 001A9600 38 9E 00 8C */ addi r4, r30, 0x8c /* 801AC6A4 001A9604 38 61 00 64 */ addi r3, r1, 0x64 /* 801AC6A8 001A9608 90 1E 00 88 */ stw r0, 0x88(r30) /* 801AC6AC 001A960C 80 1E 00 88 */ lwz r0, 0x88(r30) /* 801AC6B0 001A9610 7C 09 03 A6 */ mtctr r0 /* 801AC6B4 001A9614 2C 00 00 00 */ cmpwi r0, 0 /* 801AC6B8 001A9618 40 81 00 20 */ ble lbl_801AC6D8 lbl_801AC6BC: /* 801AC6BC 001A961C 28 04 00 00 */ cmplwi r4, 0 /* 801AC6C0 001A9620 41 82 00 0C */ beq lbl_801AC6CC /* 801AC6C4 001A9624 80 03 00 00 */ lwz r0, 0(r3) /* 801AC6C8 001A9628 90 04 00 00 */ stw r0, 0(r4) lbl_801AC6CC: /* 801AC6CC 001A962C 38 84 00 04 */ addi r4, r4, 4 /* 801AC6D0 001A9630 38 63 00 04 */ addi r3, r3, 4 /* 801AC6D4 001A9634 42 00 FF E8 */ bdnz lbl_801AC6BC lbl_801AC6D8: /* 801AC6D8 001A9638 80 A1 00 60 */ lwz r5, 0x60(r1) /* 801AC6DC 001A963C 38 60 00 00 */ li r3, 0 /* 801AC6E0 001A9640 2C 05 00 00 */ cmpwi r5, 0 /* 801AC6E4 001A9644 40 81 00 40 */ ble lbl_801AC724 /* 801AC6E8 001A9648 2C 05 00 08 */ cmpwi r5, 8 /* 801AC6EC 001A964C 38 85 FF F8 */ addi r4, r5, -8 /* 801AC6F0 001A9650 40 81 00 20 */ ble lbl_801AC710 /* 801AC6F4 001A9654 38 04 00 07 */ addi r0, r4, 7 /* 801AC6F8 001A9658 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC6FC 001A965C 7C 09 03 A6 */ mtctr r0 /* 801AC700 001A9660 2C 04 00 00 */ cmpwi r4, 0 /* 801AC704 001A9664 40 81 00 0C */ ble lbl_801AC710 lbl_801AC708: /* 801AC708 001A9668 38 63 00 08 */ addi r3, r3, 8 /* 801AC70C 001A966C 42 00 FF FC */ bdnz lbl_801AC708 lbl_801AC710: /* 801AC710 001A9670 7C 03 28 50 */ subf r0, r3, r5 /* 801AC714 001A9674 7C 09 03 A6 */ mtctr r0 /* 801AC718 001A9678 7C 03 28 00 */ cmpw r3, r5 /* 801AC71C 001A967C 40 80 00 08 */ bge lbl_801AC724 lbl_801AC720: /* 801AC720 001A9680 42 00 00 00 */ bdnz lbl_801AC720 lbl_801AC724: /* 801AC724 001A9684 38 00 00 00 */ li r0, 0 /* 801AC728 001A9688 7F E4 FB 78 */ mr r4, r31 /* 801AC72C 001A968C 90 01 00 60 */ stw r0, 0x60(r1) /* 801AC730 001A9690 38 61 00 54 */ addi r3, r1, 0x54 /* 801AC734 001A9694 48 00 03 A5 */ bl sub_801acad8 /* 801AC738 001A9698 80 01 00 54 */ lwz r0, 0x54(r1) /* 801AC73C 001A969C 38 9E 00 98 */ addi r4, r30, 0x98 /* 801AC740 001A96A0 38 61 00 58 */ addi r3, r1, 0x58 /* 801AC744 001A96A4 90 1E 00 94 */ stw r0, 0x94(r30) /* 801AC748 001A96A8 80 1E 00 94 */ lwz r0, 0x94(r30) /* 801AC74C 001A96AC 7C 09 03 A6 */ mtctr r0 /* 801AC750 001A96B0 2C 00 00 00 */ cmpwi r0, 0 /* 801AC754 001A96B4 40 81 00 20 */ ble lbl_801AC774 lbl_801AC758: /* 801AC758 001A96B8 28 04 00 00 */ cmplwi r4, 0 /* 801AC75C 001A96BC 41 82 00 0C */ beq lbl_801AC768 /* 801AC760 001A96C0 80 03 00 00 */ lwz r0, 0(r3) /* 801AC764 001A96C4 90 04 00 00 */ stw r0, 0(r4) lbl_801AC768: /* 801AC768 001A96C8 38 84 00 04 */ addi r4, r4, 4 /* 801AC76C 001A96CC 38 63 00 04 */ addi r3, r3, 4 /* 801AC770 001A96D0 42 00 FF E8 */ bdnz lbl_801AC758 lbl_801AC774: /* 801AC774 001A96D4 80 A1 00 54 */ lwz r5, 0x54(r1) /* 801AC778 001A96D8 38 60 00 00 */ li r3, 0 /* 801AC77C 001A96DC 2C 05 00 00 */ cmpwi r5, 0 /* 801AC780 001A96E0 40 81 00 40 */ ble lbl_801AC7C0 /* 801AC784 001A96E4 2C 05 00 08 */ cmpwi r5, 8 /* 801AC788 001A96E8 38 85 FF F8 */ addi r4, r5, -8 /* 801AC78C 001A96EC 40 81 00 20 */ ble lbl_801AC7AC /* 801AC790 001A96F0 38 04 00 07 */ addi r0, r4, 7 /* 801AC794 001A96F4 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC798 001A96F8 7C 09 03 A6 */ mtctr r0 /* 801AC79C 001A96FC 2C 04 00 00 */ cmpwi r4, 0 /* 801AC7A0 001A9700 40 81 00 0C */ ble lbl_801AC7AC lbl_801AC7A4: /* 801AC7A4 001A9704 38 63 00 08 */ addi r3, r3, 8 /* 801AC7A8 001A9708 42 00 FF FC */ bdnz lbl_801AC7A4 lbl_801AC7AC: /* 801AC7AC 001A970C 7C 03 28 50 */ subf r0, r3, r5 /* 801AC7B0 001A9710 7C 09 03 A6 */ mtctr r0 /* 801AC7B4 001A9714 7C 03 28 00 */ cmpw r3, r5 /* 801AC7B8 001A9718 40 80 00 08 */ bge lbl_801AC7C0 lbl_801AC7BC: /* 801AC7BC 001A971C 42 00 00 00 */ bdnz lbl_801AC7BC lbl_801AC7C0: /* 801AC7C0 001A9720 38 00 00 00 */ li r0, 0 /* 801AC7C4 001A9724 7F E4 FB 78 */ mr r4, r31 /* 801AC7C8 001A9728 90 01 00 54 */ stw r0, 0x54(r1) /* 801AC7CC 001A972C 38 61 00 48 */ addi r3, r1, 0x48 /* 801AC7D0 001A9730 48 00 03 09 */ bl sub_801acad8 /* 801AC7D4 001A9734 80 01 00 48 */ lwz r0, 0x48(r1) /* 801AC7D8 001A9738 38 9E 00 A4 */ addi r4, r30, 0xa4 /* 801AC7DC 001A973C 38 61 00 4C */ addi r3, r1, 0x4c /* 801AC7E0 001A9740 90 1E 00 A0 */ stw r0, 0xa0(r30) /* 801AC7E4 001A9744 80 1E 00 A0 */ lwz r0, 0xa0(r30) /* 801AC7E8 001A9748 7C 09 03 A6 */ mtctr r0 /* 801AC7EC 001A974C 2C 00 00 00 */ cmpwi r0, 0 /* 801AC7F0 001A9750 40 81 00 20 */ ble lbl_801AC810 lbl_801AC7F4: /* 801AC7F4 001A9754 28 04 00 00 */ cmplwi r4, 0 /* 801AC7F8 001A9758 41 82 00 0C */ beq lbl_801AC804 /* 801AC7FC 001A975C 80 03 00 00 */ lwz r0, 0(r3) /* 801AC800 001A9760 90 04 00 00 */ stw r0, 0(r4) lbl_801AC804: /* 801AC804 001A9764 38 84 00 04 */ addi r4, r4, 4 /* 801AC808 001A9768 38 63 00 04 */ addi r3, r3, 4 /* 801AC80C 001A976C 42 00 FF E8 */ bdnz lbl_801AC7F4 lbl_801AC810: /* 801AC810 001A9770 80 A1 00 48 */ lwz r5, 0x48(r1) /* 801AC814 001A9774 38 60 00 00 */ li r3, 0 /* 801AC818 001A9778 2C 05 00 00 */ cmpwi r5, 0 /* 801AC81C 001A977C 40 81 00 40 */ ble lbl_801AC85C /* 801AC820 001A9780 2C 05 00 08 */ cmpwi r5, 8 /* 801AC824 001A9784 38 85 FF F8 */ addi r4, r5, -8 /* 801AC828 001A9788 40 81 00 20 */ ble lbl_801AC848 /* 801AC82C 001A978C 38 04 00 07 */ addi r0, r4, 7 /* 801AC830 001A9790 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC834 001A9794 7C 09 03 A6 */ mtctr r0 /* 801AC838 001A9798 2C 04 00 00 */ cmpwi r4, 0 /* 801AC83C 001A979C 40 81 00 0C */ ble lbl_801AC848 lbl_801AC840: /* 801AC840 001A97A0 38 63 00 08 */ addi r3, r3, 8 /* 801AC844 001A97A4 42 00 FF FC */ bdnz lbl_801AC840 lbl_801AC848: /* 801AC848 001A97A8 7C 03 28 50 */ subf r0, r3, r5 /* 801AC84C 001A97AC 7C 09 03 A6 */ mtctr r0 /* 801AC850 001A97B0 7C 03 28 00 */ cmpw r3, r5 /* 801AC854 001A97B4 40 80 00 08 */ bge lbl_801AC85C lbl_801AC858: /* 801AC858 001A97B8 42 00 00 00 */ bdnz lbl_801AC858 lbl_801AC85C: /* 801AC85C 001A97BC 38 00 00 00 */ li r0, 0 /* 801AC860 001A97C0 7F E4 FB 78 */ mr r4, r31 /* 801AC864 001A97C4 90 01 00 48 */ stw r0, 0x48(r1) /* 801AC868 001A97C8 38 61 00 3C */ addi r3, r1, 0x3c /* 801AC86C 001A97CC 48 00 02 6D */ bl sub_801acad8 /* 801AC870 001A97D0 80 01 00 3C */ lwz r0, 0x3c(r1) /* 801AC874 001A97D4 38 9E 00 B0 */ addi r4, r30, 0xb0 /* 801AC878 001A97D8 38 61 00 40 */ addi r3, r1, 0x40 /* 801AC87C 001A97DC 90 1E 00 AC */ stw r0, 0xac(r30) /* 801AC880 001A97E0 80 1E 00 AC */ lwz r0, 0xac(r30) /* 801AC884 001A97E4 7C 09 03 A6 */ mtctr r0 /* 801AC888 001A97E8 2C 00 00 00 */ cmpwi r0, 0 /* 801AC88C 001A97EC 40 81 00 20 */ ble lbl_801AC8AC lbl_801AC890: /* 801AC890 001A97F0 28 04 00 00 */ cmplwi r4, 0 /* 801AC894 001A97F4 41 82 00 0C */ beq lbl_801AC8A0 /* 801AC898 001A97F8 80 03 00 00 */ lwz r0, 0(r3) /* 801AC89C 001A97FC 90 04 00 00 */ stw r0, 0(r4) lbl_801AC8A0: /* 801AC8A0 001A9800 38 84 00 04 */ addi r4, r4, 4 /* 801AC8A4 001A9804 38 63 00 04 */ addi r3, r3, 4 /* 801AC8A8 001A9808 42 00 FF E8 */ bdnz lbl_801AC890 lbl_801AC8AC: /* 801AC8AC 001A980C 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 801AC8B0 001A9810 38 60 00 00 */ li r3, 0 /* 801AC8B4 001A9814 2C 05 00 00 */ cmpwi r5, 0 /* 801AC8B8 001A9818 40 81 00 40 */ ble lbl_801AC8F8 /* 801AC8BC 001A981C 2C 05 00 08 */ cmpwi r5, 8 /* 801AC8C0 001A9820 38 85 FF F8 */ addi r4, r5, -8 /* 801AC8C4 001A9824 40 81 00 20 */ ble lbl_801AC8E4 /* 801AC8C8 001A9828 38 04 00 07 */ addi r0, r4, 7 /* 801AC8CC 001A982C 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC8D0 001A9830 7C 09 03 A6 */ mtctr r0 /* 801AC8D4 001A9834 2C 04 00 00 */ cmpwi r4, 0 /* 801AC8D8 001A9838 40 81 00 0C */ ble lbl_801AC8E4 lbl_801AC8DC: /* 801AC8DC 001A983C 38 63 00 08 */ addi r3, r3, 8 /* 801AC8E0 001A9840 42 00 FF FC */ bdnz lbl_801AC8DC lbl_801AC8E4: /* 801AC8E4 001A9844 7C 03 28 50 */ subf r0, r3, r5 /* 801AC8E8 001A9848 7C 09 03 A6 */ mtctr r0 /* 801AC8EC 001A984C 7C 03 28 00 */ cmpw r3, r5 /* 801AC8F0 001A9850 40 80 00 08 */ bge lbl_801AC8F8 lbl_801AC8F4: /* 801AC8F4 001A9854 42 00 00 00 */ bdnz lbl_801AC8F4 lbl_801AC8F8: /* 801AC8F8 001A9858 38 00 00 00 */ li r0, 0 /* 801AC8FC 001A985C 7F E4 FB 78 */ mr r4, r31 /* 801AC900 001A9860 90 01 00 3C */ stw r0, 0x3c(r1) /* 801AC904 001A9864 38 61 00 30 */ addi r3, r1, 0x30 /* 801AC908 001A9868 48 00 01 D1 */ bl sub_801acad8 /* 801AC90C 001A986C 80 01 00 30 */ lwz r0, 0x30(r1) /* 801AC910 001A9870 38 9E 00 BC */ addi r4, r30, 0xbc /* 801AC914 001A9874 38 61 00 34 */ addi r3, r1, 0x34 /* 801AC918 001A9878 90 1E 00 B8 */ stw r0, 0xb8(r30) /* 801AC91C 001A987C 80 1E 00 B8 */ lwz r0, 0xb8(r30) /* 801AC920 001A9880 7C 09 03 A6 */ mtctr r0 /* 801AC924 001A9884 2C 00 00 00 */ cmpwi r0, 0 /* 801AC928 001A9888 40 81 00 20 */ ble lbl_801AC948 lbl_801AC92C: /* 801AC92C 001A988C 28 04 00 00 */ cmplwi r4, 0 /* 801AC930 001A9890 41 82 00 0C */ beq lbl_801AC93C /* 801AC934 001A9894 80 03 00 00 */ lwz r0, 0(r3) /* 801AC938 001A9898 90 04 00 00 */ stw r0, 0(r4) lbl_801AC93C: /* 801AC93C 001A989C 38 84 00 04 */ addi r4, r4, 4 /* 801AC940 001A98A0 38 63 00 04 */ addi r3, r3, 4 /* 801AC944 001A98A4 42 00 FF E8 */ bdnz lbl_801AC92C lbl_801AC948: /* 801AC948 001A98A8 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801AC94C 001A98AC 38 60 00 00 */ li r3, 0 /* 801AC950 001A98B0 2C 05 00 00 */ cmpwi r5, 0 /* 801AC954 001A98B4 40 81 00 40 */ ble lbl_801AC994 /* 801AC958 001A98B8 2C 05 00 08 */ cmpwi r5, 8 /* 801AC95C 001A98BC 38 85 FF F8 */ addi r4, r5, -8 /* 801AC960 001A98C0 40 81 00 20 */ ble lbl_801AC980 /* 801AC964 001A98C4 38 04 00 07 */ addi r0, r4, 7 /* 801AC968 001A98C8 54 00 E8 FE */ srwi r0, r0, 3 /* 801AC96C 001A98CC 7C 09 03 A6 */ mtctr r0 /* 801AC970 001A98D0 2C 04 00 00 */ cmpwi r4, 0 /* 801AC974 001A98D4 40 81 00 0C */ ble lbl_801AC980 lbl_801AC978: /* 801AC978 001A98D8 38 63 00 08 */ addi r3, r3, 8 /* 801AC97C 001A98DC 42 00 FF FC */ bdnz lbl_801AC978 lbl_801AC980: /* 801AC980 001A98E0 7C 03 28 50 */ subf r0, r3, r5 /* 801AC984 001A98E4 7C 09 03 A6 */ mtctr r0 /* 801AC988 001A98E8 7C 03 28 00 */ cmpw r3, r5 /* 801AC98C 001A98EC 40 80 00 08 */ bge lbl_801AC994 lbl_801AC990: /* 801AC990 001A98F0 42 00 00 00 */ bdnz lbl_801AC990 lbl_801AC994: /* 801AC994 001A98F4 38 00 00 00 */ li r0, 0 /* 801AC998 001A98F8 C0 02 A8 70 */ lfs f0, lbl_805AC590@sda21(r2) /* 801AC99C 001A98FC 90 01 00 30 */ stw r0, 0x30(r1) /* 801AC9A0 001A9900 38 7E 00 C8 */ addi r3, r30, 0xc8 /* 801AC9A4 001A9904 38 80 00 00 */ li r4, 0 /* 801AC9A8 001A9908 38 A0 00 14 */ li r5, 0x14 /* 801AC9AC 001A990C 90 1E 00 C4 */ stw r0, 0xc4(r30) /* 801AC9B0 001A9910 D0 1E 00 F0 */ stfs f0, 0xf0(r30) /* 801AC9B4 001A9914 4B E5 69 F5 */ bl memset /* 801AC9B8 001A9918 38 7E 00 DC */ addi r3, r30, 0xdc /* 801AC9BC 001A991C 38 80 00 00 */ li r4, 0 /* 801AC9C0 001A9920 38 A0 00 14 */ li r5, 0x14 /* 801AC9C4 001A9924 4B E5 69 E5 */ bl memset /* 801AC9C8 001A9928 7F E4 FB 78 */ mr r4, r31 /* 801AC9CC 001A992C 38 61 01 14 */ addi r3, r1, 0x114 /* 801AC9D0 001A9930 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AC9D4 001A9934 48 19 19 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801AC9D8 001A9938 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801AC9DC 001A993C 80 81 01 14 */ lwz r4, 0x114(r1) /* 801AC9E0 001A9940 81 83 00 00 */ lwz r12, 0(r3) /* 801AC9E4 001A9944 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801AC9E8 001A9948 7D 89 03 A6 */ mtctr r12 /* 801AC9EC 001A994C 4E 80 04 21 */ bctrl /* 801AC9F0 001A9950 80 03 00 04 */ lwz r0, 4(r3) /* 801AC9F4 001A9954 3B 80 00 00 */ li r28, 0 /* 801AC9F8 001A9958 3B A0 00 00 */ li r29, 0 /* 801AC9FC 001A995C 90 1E 00 C4 */ stw r0, 0xc4(r30) lbl_801ACA00: /* 801ACA00 001A9960 7F E4 FB 78 */ mr r4, r31 /* 801ACA04 001A9964 38 61 01 04 */ addi r3, r1, 0x104 /* 801ACA08 001A9968 38 A1 00 0C */ addi r5, r1, 0xc /* 801ACA0C 001A996C 48 19 18 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801ACA10 001A9970 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801ACA14 001A9974 80 81 01 04 */ lwz r4, 0x104(r1) /* 801ACA18 001A9978 81 83 00 00 */ lwz r12, 0(r3) /* 801ACA1C 001A997C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801ACA20 001A9980 7D 89 03 A6 */ mtctr r12 /* 801ACA24 001A9984 4E 80 04 21 */ bctrl /* 801ACA28 001A9988 80 83 00 04 */ lwz r4, 4(r3) /* 801ACA2C 001A998C 38 1D 00 C8 */ addi r0, r29, 0xc8 /* 801ACA30 001A9990 38 61 01 04 */ addi r3, r1, 0x104 /* 801ACA34 001A9994 7C 9E 01 2E */ stwx r4, r30, r0 /* 801ACA38 001A9998 48 19 10 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801ACA3C 001A999C 3B 9C 00 01 */ addi r28, r28, 1 /* 801ACA40 001A99A0 3B BD 00 04 */ addi r29, r29, 4 /* 801ACA44 001A99A4 2C 1C 00 05 */ cmpwi r28, 5 /* 801ACA48 001A99A8 41 80 FF B8 */ blt lbl_801ACA00 /* 801ACA4C 001A99AC 3B 80 00 00 */ li r28, 0 /* 801ACA50 001A99B0 3B A0 00 00 */ li r29, 0 lbl_801ACA54: /* 801ACA54 001A99B4 7F E4 FB 78 */ mr r4, r31 /* 801ACA58 001A99B8 38 61 00 F4 */ addi r3, r1, 0xf4 /* 801ACA5C 001A99BC 38 A1 00 08 */ addi r5, r1, 8 /* 801ACA60 001A99C0 48 19 18 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801ACA64 001A99C4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801ACA68 001A99C8 80 81 00 F4 */ lwz r4, 0xf4(r1) /* 801ACA6C 001A99CC 81 83 00 00 */ lwz r12, 0(r3) /* 801ACA70 001A99D0 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801ACA74 001A99D4 7D 89 03 A6 */ mtctr r12 /* 801ACA78 001A99D8 4E 80 04 21 */ bctrl /* 801ACA7C 001A99DC 80 83 00 04 */ lwz r4, 4(r3) /* 801ACA80 001A99E0 38 1D 00 DC */ addi r0, r29, 0xdc /* 801ACA84 001A99E4 38 61 00 F4 */ addi r3, r1, 0xf4 /* 801ACA88 001A99E8 7C 9E 01 2E */ stwx r4, r30, r0 /* 801ACA8C 001A99EC 48 19 10 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801ACA90 001A99F0 3B 9C 00 01 */ addi r28, r28, 1 /* 801ACA94 001A99F4 3B BD 00 04 */ addi r29, r29, 4 /* 801ACA98 001A99F8 2C 1C 00 05 */ cmpwi r28, 5 /* 801ACA9C 001A99FC 41 80 FF B8 */ blt lbl_801ACA54 /* 801ACAA0 001A9A00 7F E3 FB 78 */ mr r3, r31 /* 801ACAA4 001A9A04 48 19 21 85 */ bl ReadFloat__12CInputStreamFv /* 801ACAA8 001A9A08 D0 3E 00 F0 */ stfs f1, 0xf0(r30) /* 801ACAAC 001A9A0C 38 61 01 14 */ addi r3, r1, 0x114 /* 801ACAB0 001A9A10 48 19 10 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801ACAB4 001A9A14 80 01 01 94 */ lwz r0, 0x194(r1) /* 801ACAB8 001A9A18 7F C3 F3 78 */ mr r3, r30 /* 801ACABC 001A9A1C 83 E1 01 8C */ lwz r31, 0x18c(r1) /* 801ACAC0 001A9A20 83 C1 01 88 */ lwz r30, 0x188(r1) /* 801ACAC4 001A9A24 83 A1 01 84 */ lwz r29, 0x184(r1) /* 801ACAC8 001A9A28 83 81 01 80 */ lwz r28, 0x180(r1) /* 801ACACC 001A9A2C 7C 08 03 A6 */ mtlr r0 /* 801ACAD0 001A9A30 38 21 01 90 */ addi r1, r1, 0x190 /* 801ACAD4 001A9A34 4E 80 00 20 */ blr .global sub_801acad8 sub_801acad8: /* 801ACAD8 001A9A38 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801ACADC 001A9A3C 7C 08 02 A6 */ mflr r0 /* 801ACAE0 001A9A40 90 01 00 44 */ stw r0, 0x44(r1) /* 801ACAE4 001A9A44 38 00 00 00 */ li r0, 0 /* 801ACAE8 001A9A48 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801ACAEC 001A9A4C 3B E1 00 20 */ addi r31, r1, 0x20 /* 801ACAF0 001A9A50 93 C1 00 38 */ stw r30, 0x38(r1) /* 801ACAF4 001A9A54 3B C0 00 00 */ li r30, 0 /* 801ACAF8 001A9A58 93 A1 00 34 */ stw r29, 0x34(r1) /* 801ACAFC 001A9A5C 7C 9D 23 78 */ mr r29, r4 /* 801ACB00 001A9A60 93 81 00 30 */ stw r28, 0x30(r1) /* 801ACB04 001A9A64 7C 7C 1B 78 */ mr r28, r3 /* 801ACB08 001A9A68 90 01 00 1C */ stw r0, 0x1c(r1) lbl_801ACB0C: /* 801ACB0C 001A9A6C 7F A4 EB 78 */ mr r4, r29 /* 801ACB10 001A9A70 38 61 00 0C */ addi r3, r1, 0xc /* 801ACB14 001A9A74 38 A1 00 08 */ addi r5, r1, 8 /* 801ACB18 001A9A78 48 19 17 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801ACB1C 001A9A7C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801ACB20 001A9A80 80 81 00 0C */ lwz r4, 0xc(r1) /* 801ACB24 001A9A84 81 83 00 00 */ lwz r12, 0(r3) /* 801ACB28 001A9A88 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801ACB2C 001A9A8C 7D 89 03 A6 */ mtctr r12 /* 801ACB30 001A9A90 4E 80 04 21 */ bctrl /* 801ACB34 001A9A94 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ACB38 001A9A98 80 63 00 04 */ lwz r3, 4(r3) /* 801ACB3C 001A9A9C 54 00 10 3A */ slwi r0, r0, 2 /* 801ACB40 001A9AA0 7C 9F 02 15 */ add. r4, r31, r0 /* 801ACB44 001A9AA4 41 82 00 08 */ beq lbl_801ACB4C /* 801ACB48 001A9AA8 90 64 00 00 */ stw r3, 0(r4) lbl_801ACB4C: /* 801ACB4C 001A9AAC 80 81 00 1C */ lwz r4, 0x1c(r1) /* 801ACB50 001A9AB0 38 61 00 0C */ addi r3, r1, 0xc /* 801ACB54 001A9AB4 38 04 00 01 */ addi r0, r4, 1 /* 801ACB58 001A9AB8 90 01 00 1C */ stw r0, 0x1c(r1) /* 801ACB5C 001A9ABC 48 19 0F 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801ACB60 001A9AC0 3B DE 00 01 */ addi r30, r30, 1 /* 801ACB64 001A9AC4 2C 1E 00 02 */ cmpwi r30, 2 /* 801ACB68 001A9AC8 41 80 FF A4 */ blt lbl_801ACB0C /* 801ACB6C 001A9ACC 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ACB70 001A9AD0 38 7C 00 04 */ addi r3, r28, 4 /* 801ACB74 001A9AD4 90 1C 00 00 */ stw r0, 0(r28) /* 801ACB78 001A9AD8 80 1C 00 00 */ lwz r0, 0(r28) /* 801ACB7C 001A9ADC 7C 09 03 A6 */ mtctr r0 /* 801ACB80 001A9AE0 2C 00 00 00 */ cmpwi r0, 0 /* 801ACB84 001A9AE4 40 81 00 20 */ ble lbl_801ACBA4 lbl_801ACB88: /* 801ACB88 001A9AE8 28 03 00 00 */ cmplwi r3, 0 /* 801ACB8C 001A9AEC 41 82 00 0C */ beq lbl_801ACB98 /* 801ACB90 001A9AF0 80 1F 00 00 */ lwz r0, 0(r31) /* 801ACB94 001A9AF4 90 03 00 00 */ stw r0, 0(r3) lbl_801ACB98: /* 801ACB98 001A9AF8 38 63 00 04 */ addi r3, r3, 4 /* 801ACB9C 001A9AFC 3B FF 00 04 */ addi r31, r31, 4 /* 801ACBA0 001A9B00 42 00 FF E8 */ bdnz lbl_801ACB88 lbl_801ACBA4: /* 801ACBA4 001A9B04 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801ACBA8 001A9B08 38 60 00 00 */ li r3, 0 /* 801ACBAC 001A9B0C 2C 05 00 00 */ cmpwi r5, 0 /* 801ACBB0 001A9B10 40 81 00 40 */ ble lbl_801ACBF0 /* 801ACBB4 001A9B14 2C 05 00 08 */ cmpwi r5, 8 /* 801ACBB8 001A9B18 38 85 FF F8 */ addi r4, r5, -8 /* 801ACBBC 001A9B1C 40 81 00 20 */ ble lbl_801ACBDC /* 801ACBC0 001A9B20 38 04 00 07 */ addi r0, r4, 7 /* 801ACBC4 001A9B24 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACBC8 001A9B28 7C 09 03 A6 */ mtctr r0 /* 801ACBCC 001A9B2C 2C 04 00 00 */ cmpwi r4, 0 /* 801ACBD0 001A9B30 40 81 00 0C */ ble lbl_801ACBDC lbl_801ACBD4: /* 801ACBD4 001A9B34 38 63 00 08 */ addi r3, r3, 8 /* 801ACBD8 001A9B38 42 00 FF FC */ bdnz lbl_801ACBD4 lbl_801ACBDC: /* 801ACBDC 001A9B3C 7C 03 28 50 */ subf r0, r3, r5 /* 801ACBE0 001A9B40 7C 09 03 A6 */ mtctr r0 /* 801ACBE4 001A9B44 7C 03 28 00 */ cmpw r3, r5 /* 801ACBE8 001A9B48 40 80 00 08 */ bge lbl_801ACBF0 lbl_801ACBEC: /* 801ACBEC 001A9B4C 42 00 00 00 */ bdnz lbl_801ACBEC lbl_801ACBF0: /* 801ACBF0 001A9B50 38 00 00 00 */ li r0, 0 /* 801ACBF4 001A9B54 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801ACBF8 001A9B58 90 01 00 1C */ stw r0, 0x1c(r1) /* 801ACBFC 001A9B5C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801ACC00 001A9B60 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801ACC04 001A9B64 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801ACC08 001A9B68 83 81 00 30 */ lwz r28, 0x30(r1) /* 801ACC0C 001A9B6C 7C 08 03 A6 */ mtlr r0 /* 801ACC10 001A9B70 38 21 00 40 */ addi r1, r1, 0x40 /* 801ACC14 001A9B74 4E 80 00 20 */ blr .global sub_801acc18 sub_801acc18: /* 801ACC18 001A9B78 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801ACC1C 001A9B7C 7C 08 02 A6 */ mflr r0 /* 801ACC20 001A9B80 90 01 00 64 */ stw r0, 0x64(r1) /* 801ACC24 001A9B84 38 00 00 00 */ li r0, 0 /* 801ACC28 001A9B88 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801ACC2C 001A9B8C 3B E1 00 20 */ addi r31, r1, 0x20 /* 801ACC30 001A9B90 93 C1 00 58 */ stw r30, 0x58(r1) /* 801ACC34 001A9B94 3B C0 00 00 */ li r30, 0 /* 801ACC38 001A9B98 93 A1 00 54 */ stw r29, 0x54(r1) /* 801ACC3C 001A9B9C 7C 9D 23 78 */ mr r29, r4 /* 801ACC40 001A9BA0 93 81 00 50 */ stw r28, 0x50(r1) /* 801ACC44 001A9BA4 7C 7C 1B 78 */ mr r28, r3 /* 801ACC48 001A9BA8 90 01 00 1C */ stw r0, 0x1c(r1) lbl_801ACC4C: /* 801ACC4C 001A9BAC 7F A4 EB 78 */ mr r4, r29 /* 801ACC50 001A9BB0 38 61 00 0C */ addi r3, r1, 0xc /* 801ACC54 001A9BB4 38 A1 00 08 */ addi r5, r1, 8 /* 801ACC58 001A9BB8 48 19 16 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 801ACC5C 001A9BBC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801ACC60 001A9BC0 80 81 00 0C */ lwz r4, 0xc(r1) /* 801ACC64 001A9BC4 81 83 00 00 */ lwz r12, 0(r3) /* 801ACC68 001A9BC8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801ACC6C 001A9BCC 7D 89 03 A6 */ mtctr r12 /* 801ACC70 001A9BD0 4E 80 04 21 */ bctrl /* 801ACC74 001A9BD4 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ACC78 001A9BD8 80 63 00 04 */ lwz r3, 4(r3) /* 801ACC7C 001A9BDC 54 00 10 3A */ slwi r0, r0, 2 /* 801ACC80 001A9BE0 7C 9F 02 15 */ add. r4, r31, r0 /* 801ACC84 001A9BE4 41 82 00 08 */ beq lbl_801ACC8C /* 801ACC88 001A9BE8 90 64 00 00 */ stw r3, 0(r4) lbl_801ACC8C: /* 801ACC8C 001A9BEC 80 81 00 1C */ lwz r4, 0x1c(r1) /* 801ACC90 001A9BF0 38 61 00 0C */ addi r3, r1, 0xc /* 801ACC94 001A9BF4 38 04 00 01 */ addi r0, r4, 1 /* 801ACC98 001A9BF8 90 01 00 1C */ stw r0, 0x1c(r1) /* 801ACC9C 001A9BFC 48 19 0E 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801ACCA0 001A9C00 3B DE 00 01 */ addi r30, r30, 1 /* 801ACCA4 001A9C04 2C 1E 00 09 */ cmpwi r30, 9 /* 801ACCA8 001A9C08 41 80 FF A4 */ blt lbl_801ACC4C /* 801ACCAC 001A9C0C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801ACCB0 001A9C10 38 7C 00 04 */ addi r3, r28, 4 /* 801ACCB4 001A9C14 90 1C 00 00 */ stw r0, 0(r28) /* 801ACCB8 001A9C18 80 1C 00 00 */ lwz r0, 0(r28) /* 801ACCBC 001A9C1C 7C 09 03 A6 */ mtctr r0 /* 801ACCC0 001A9C20 2C 00 00 00 */ cmpwi r0, 0 /* 801ACCC4 001A9C24 40 81 00 20 */ ble lbl_801ACCE4 lbl_801ACCC8: /* 801ACCC8 001A9C28 28 03 00 00 */ cmplwi r3, 0 /* 801ACCCC 001A9C2C 41 82 00 0C */ beq lbl_801ACCD8 /* 801ACCD0 001A9C30 80 1F 00 00 */ lwz r0, 0(r31) /* 801ACCD4 001A9C34 90 03 00 00 */ stw r0, 0(r3) lbl_801ACCD8: /* 801ACCD8 001A9C38 38 63 00 04 */ addi r3, r3, 4 /* 801ACCDC 001A9C3C 3B FF 00 04 */ addi r31, r31, 4 /* 801ACCE0 001A9C40 42 00 FF E8 */ bdnz lbl_801ACCC8 lbl_801ACCE4: /* 801ACCE4 001A9C44 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801ACCE8 001A9C48 38 60 00 00 */ li r3, 0 /* 801ACCEC 001A9C4C 2C 05 00 00 */ cmpwi r5, 0 /* 801ACCF0 001A9C50 40 81 00 40 */ ble lbl_801ACD30 /* 801ACCF4 001A9C54 2C 05 00 08 */ cmpwi r5, 8 /* 801ACCF8 001A9C58 38 85 FF F8 */ addi r4, r5, -8 /* 801ACCFC 001A9C5C 40 81 00 20 */ ble lbl_801ACD1C /* 801ACD00 001A9C60 38 04 00 07 */ addi r0, r4, 7 /* 801ACD04 001A9C64 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACD08 001A9C68 7C 09 03 A6 */ mtctr r0 /* 801ACD0C 001A9C6C 2C 04 00 00 */ cmpwi r4, 0 /* 801ACD10 001A9C70 40 81 00 0C */ ble lbl_801ACD1C lbl_801ACD14: /* 801ACD14 001A9C74 38 63 00 08 */ addi r3, r3, 8 /* 801ACD18 001A9C78 42 00 FF FC */ bdnz lbl_801ACD14 lbl_801ACD1C: /* 801ACD1C 001A9C7C 7C 03 28 50 */ subf r0, r3, r5 /* 801ACD20 001A9C80 7C 09 03 A6 */ mtctr r0 /* 801ACD24 001A9C84 7C 03 28 00 */ cmpw r3, r5 /* 801ACD28 001A9C88 40 80 00 08 */ bge lbl_801ACD30 lbl_801ACD2C: /* 801ACD2C 001A9C8C 42 00 00 00 */ bdnz lbl_801ACD2C lbl_801ACD30: /* 801ACD30 001A9C90 38 00 00 00 */ li r0, 0 /* 801ACD34 001A9C94 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801ACD38 001A9C98 90 01 00 1C */ stw r0, 0x1c(r1) /* 801ACD3C 001A9C9C 80 01 00 64 */ lwz r0, 0x64(r1) /* 801ACD40 001A9CA0 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801ACD44 001A9CA4 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801ACD48 001A9CA8 83 81 00 50 */ lwz r28, 0x50(r1) /* 801ACD4C 001A9CAC 7C 08 03 A6 */ mtlr r0 /* 801ACD50 001A9CB0 38 21 00 60 */ addi r1, r1, 0x60 /* 801ACD54 001A9CB4 4E 80 00 20 */ blr .global __dt__15CTweakPlayerResFv __dt__15CTweakPlayerResFv: /* 801ACD58 001A9CB8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801ACD5C 001A9CBC 7C 08 02 A6 */ mflr r0 /* 801ACD60 001A9CC0 90 01 00 14 */ stw r0, 0x14(r1) /* 801ACD64 001A9CC4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801ACD68 001A9CC8 7C 7F 1B 79 */ or. r31, r3, r3 /* 801ACD6C 001A9CCC 41 82 03 70 */ beq lbl_801AD0DC /* 801ACD70 001A9CD0 3C 60 80 3E */ lis r3, lbl_803E4CF8@ha /* 801ACD74 001A9CD4 34 1F 00 B8 */ addic. r0, r31, 0xb8 /* 801ACD78 001A9CD8 38 03 4C F8 */ addi r0, r3, lbl_803E4CF8@l /* 801ACD7C 001A9CDC 90 1F 00 00 */ stw r0, 0(r31) /* 801ACD80 001A9CE0 41 82 00 58 */ beq lbl_801ACDD8 /* 801ACD84 001A9CE4 80 DF 00 B8 */ lwz r6, 0xb8(r31) /* 801ACD88 001A9CE8 38 60 00 00 */ li r3, 0 /* 801ACD8C 001A9CEC 2C 06 00 00 */ cmpwi r6, 0 /* 801ACD90 001A9CF0 40 81 00 40 */ ble lbl_801ACDD0 /* 801ACD94 001A9CF4 2C 06 00 08 */ cmpwi r6, 8 /* 801ACD98 001A9CF8 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACD9C 001A9CFC 40 81 00 20 */ ble lbl_801ACDBC /* 801ACDA0 001A9D00 38 05 00 07 */ addi r0, r5, 7 /* 801ACDA4 001A9D04 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACDA8 001A9D08 7C 09 03 A6 */ mtctr r0 /* 801ACDAC 001A9D0C 2C 05 00 00 */ cmpwi r5, 0 /* 801ACDB0 001A9D10 40 81 00 0C */ ble lbl_801ACDBC lbl_801ACDB4: /* 801ACDB4 001A9D14 38 63 00 08 */ addi r3, r3, 8 /* 801ACDB8 001A9D18 42 00 FF FC */ bdnz lbl_801ACDB4 lbl_801ACDBC: /* 801ACDBC 001A9D1C 7C 03 30 50 */ subf r0, r3, r6 /* 801ACDC0 001A9D20 7C 09 03 A6 */ mtctr r0 /* 801ACDC4 001A9D24 7C 03 30 00 */ cmpw r3, r6 /* 801ACDC8 001A9D28 40 80 00 08 */ bge lbl_801ACDD0 lbl_801ACDCC: /* 801ACDCC 001A9D2C 42 00 00 00 */ bdnz lbl_801ACDCC lbl_801ACDD0: /* 801ACDD0 001A9D30 38 00 00 00 */ li r0, 0 /* 801ACDD4 001A9D34 90 1F 00 B8 */ stw r0, 0xb8(r31) lbl_801ACDD8: /* 801ACDD8 001A9D38 34 1F 00 AC */ addic. r0, r31, 0xac /* 801ACDDC 001A9D3C 41 82 00 58 */ beq lbl_801ACE34 /* 801ACDE0 001A9D40 80 DF 00 AC */ lwz r6, 0xac(r31) /* 801ACDE4 001A9D44 38 60 00 00 */ li r3, 0 /* 801ACDE8 001A9D48 2C 06 00 00 */ cmpwi r6, 0 /* 801ACDEC 001A9D4C 40 81 00 40 */ ble lbl_801ACE2C /* 801ACDF0 001A9D50 2C 06 00 08 */ cmpwi r6, 8 /* 801ACDF4 001A9D54 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACDF8 001A9D58 40 81 00 20 */ ble lbl_801ACE18 /* 801ACDFC 001A9D5C 38 05 00 07 */ addi r0, r5, 7 /* 801ACE00 001A9D60 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACE04 001A9D64 7C 09 03 A6 */ mtctr r0 /* 801ACE08 001A9D68 2C 05 00 00 */ cmpwi r5, 0 /* 801ACE0C 001A9D6C 40 81 00 0C */ ble lbl_801ACE18 lbl_801ACE10: /* 801ACE10 001A9D70 38 63 00 08 */ addi r3, r3, 8 /* 801ACE14 001A9D74 42 00 FF FC */ bdnz lbl_801ACE10 lbl_801ACE18: /* 801ACE18 001A9D78 7C 03 30 50 */ subf r0, r3, r6 /* 801ACE1C 001A9D7C 7C 09 03 A6 */ mtctr r0 /* 801ACE20 001A9D80 7C 03 30 00 */ cmpw r3, r6 /* 801ACE24 001A9D84 40 80 00 08 */ bge lbl_801ACE2C lbl_801ACE28: /* 801ACE28 001A9D88 42 00 00 00 */ bdnz lbl_801ACE28 lbl_801ACE2C: /* 801ACE2C 001A9D8C 38 00 00 00 */ li r0, 0 /* 801ACE30 001A9D90 90 1F 00 AC */ stw r0, 0xac(r31) lbl_801ACE34: /* 801ACE34 001A9D94 34 1F 00 A0 */ addic. r0, r31, 0xa0 /* 801ACE38 001A9D98 41 82 00 58 */ beq lbl_801ACE90 /* 801ACE3C 001A9D9C 80 DF 00 A0 */ lwz r6, 0xa0(r31) /* 801ACE40 001A9DA0 38 60 00 00 */ li r3, 0 /* 801ACE44 001A9DA4 2C 06 00 00 */ cmpwi r6, 0 /* 801ACE48 001A9DA8 40 81 00 40 */ ble lbl_801ACE88 /* 801ACE4C 001A9DAC 2C 06 00 08 */ cmpwi r6, 8 /* 801ACE50 001A9DB0 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACE54 001A9DB4 40 81 00 20 */ ble lbl_801ACE74 /* 801ACE58 001A9DB8 38 05 00 07 */ addi r0, r5, 7 /* 801ACE5C 001A9DBC 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACE60 001A9DC0 7C 09 03 A6 */ mtctr r0 /* 801ACE64 001A9DC4 2C 05 00 00 */ cmpwi r5, 0 /* 801ACE68 001A9DC8 40 81 00 0C */ ble lbl_801ACE74 lbl_801ACE6C: /* 801ACE6C 001A9DCC 38 63 00 08 */ addi r3, r3, 8 /* 801ACE70 001A9DD0 42 00 FF FC */ bdnz lbl_801ACE6C lbl_801ACE74: /* 801ACE74 001A9DD4 7C 03 30 50 */ subf r0, r3, r6 /* 801ACE78 001A9DD8 7C 09 03 A6 */ mtctr r0 /* 801ACE7C 001A9DDC 7C 03 30 00 */ cmpw r3, r6 /* 801ACE80 001A9DE0 40 80 00 08 */ bge lbl_801ACE88 lbl_801ACE84: /* 801ACE84 001A9DE4 42 00 00 00 */ bdnz lbl_801ACE84 lbl_801ACE88: /* 801ACE88 001A9DE8 38 00 00 00 */ li r0, 0 /* 801ACE8C 001A9DEC 90 1F 00 A0 */ stw r0, 0xa0(r31) lbl_801ACE90: /* 801ACE90 001A9DF0 34 1F 00 94 */ addic. r0, r31, 0x94 /* 801ACE94 001A9DF4 41 82 00 58 */ beq lbl_801ACEEC /* 801ACE98 001A9DF8 80 DF 00 94 */ lwz r6, 0x94(r31) /* 801ACE9C 001A9DFC 38 60 00 00 */ li r3, 0 /* 801ACEA0 001A9E00 2C 06 00 00 */ cmpwi r6, 0 /* 801ACEA4 001A9E04 40 81 00 40 */ ble lbl_801ACEE4 /* 801ACEA8 001A9E08 2C 06 00 08 */ cmpwi r6, 8 /* 801ACEAC 001A9E0C 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACEB0 001A9E10 40 81 00 20 */ ble lbl_801ACED0 /* 801ACEB4 001A9E14 38 05 00 07 */ addi r0, r5, 7 /* 801ACEB8 001A9E18 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACEBC 001A9E1C 7C 09 03 A6 */ mtctr r0 /* 801ACEC0 001A9E20 2C 05 00 00 */ cmpwi r5, 0 /* 801ACEC4 001A9E24 40 81 00 0C */ ble lbl_801ACED0 lbl_801ACEC8: /* 801ACEC8 001A9E28 38 63 00 08 */ addi r3, r3, 8 /* 801ACECC 001A9E2C 42 00 FF FC */ bdnz lbl_801ACEC8 lbl_801ACED0: /* 801ACED0 001A9E30 7C 03 30 50 */ subf r0, r3, r6 /* 801ACED4 001A9E34 7C 09 03 A6 */ mtctr r0 /* 801ACED8 001A9E38 7C 03 30 00 */ cmpw r3, r6 /* 801ACEDC 001A9E3C 40 80 00 08 */ bge lbl_801ACEE4 lbl_801ACEE0: /* 801ACEE0 001A9E40 42 00 00 00 */ bdnz lbl_801ACEE0 lbl_801ACEE4: /* 801ACEE4 001A9E44 38 00 00 00 */ li r0, 0 /* 801ACEE8 001A9E48 90 1F 00 94 */ stw r0, 0x94(r31) lbl_801ACEEC: /* 801ACEEC 001A9E4C 34 1F 00 88 */ addic. r0, r31, 0x88 /* 801ACEF0 001A9E50 41 82 00 58 */ beq lbl_801ACF48 /* 801ACEF4 001A9E54 80 DF 00 88 */ lwz r6, 0x88(r31) /* 801ACEF8 001A9E58 38 60 00 00 */ li r3, 0 /* 801ACEFC 001A9E5C 2C 06 00 00 */ cmpwi r6, 0 /* 801ACF00 001A9E60 40 81 00 40 */ ble lbl_801ACF40 /* 801ACF04 001A9E64 2C 06 00 08 */ cmpwi r6, 8 /* 801ACF08 001A9E68 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACF0C 001A9E6C 40 81 00 20 */ ble lbl_801ACF2C /* 801ACF10 001A9E70 38 05 00 07 */ addi r0, r5, 7 /* 801ACF14 001A9E74 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACF18 001A9E78 7C 09 03 A6 */ mtctr r0 /* 801ACF1C 001A9E7C 2C 05 00 00 */ cmpwi r5, 0 /* 801ACF20 001A9E80 40 81 00 0C */ ble lbl_801ACF2C lbl_801ACF24: /* 801ACF24 001A9E84 38 63 00 08 */ addi r3, r3, 8 /* 801ACF28 001A9E88 42 00 FF FC */ bdnz lbl_801ACF24 lbl_801ACF2C: /* 801ACF2C 001A9E8C 7C 03 30 50 */ subf r0, r3, r6 /* 801ACF30 001A9E90 7C 09 03 A6 */ mtctr r0 /* 801ACF34 001A9E94 7C 03 30 00 */ cmpw r3, r6 /* 801ACF38 001A9E98 40 80 00 08 */ bge lbl_801ACF40 lbl_801ACF3C: /* 801ACF3C 001A9E9C 42 00 00 00 */ bdnz lbl_801ACF3C lbl_801ACF40: /* 801ACF40 001A9EA0 38 00 00 00 */ li r0, 0 /* 801ACF44 001A9EA4 90 1F 00 88 */ stw r0, 0x88(r31) lbl_801ACF48: /* 801ACF48 001A9EA8 34 1F 00 7C */ addic. r0, r31, 0x7c /* 801ACF4C 001A9EAC 41 82 00 58 */ beq lbl_801ACFA4 /* 801ACF50 001A9EB0 80 DF 00 7C */ lwz r6, 0x7c(r31) /* 801ACF54 001A9EB4 38 60 00 00 */ li r3, 0 /* 801ACF58 001A9EB8 2C 06 00 00 */ cmpwi r6, 0 /* 801ACF5C 001A9EBC 40 81 00 40 */ ble lbl_801ACF9C /* 801ACF60 001A9EC0 2C 06 00 08 */ cmpwi r6, 8 /* 801ACF64 001A9EC4 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACF68 001A9EC8 40 81 00 20 */ ble lbl_801ACF88 /* 801ACF6C 001A9ECC 38 05 00 07 */ addi r0, r5, 7 /* 801ACF70 001A9ED0 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACF74 001A9ED4 7C 09 03 A6 */ mtctr r0 /* 801ACF78 001A9ED8 2C 05 00 00 */ cmpwi r5, 0 /* 801ACF7C 001A9EDC 40 81 00 0C */ ble lbl_801ACF88 lbl_801ACF80: /* 801ACF80 001A9EE0 38 63 00 08 */ addi r3, r3, 8 /* 801ACF84 001A9EE4 42 00 FF FC */ bdnz lbl_801ACF80 lbl_801ACF88: /* 801ACF88 001A9EE8 7C 03 30 50 */ subf r0, r3, r6 /* 801ACF8C 001A9EEC 7C 09 03 A6 */ mtctr r0 /* 801ACF90 001A9EF0 7C 03 30 00 */ cmpw r3, r6 /* 801ACF94 001A9EF4 40 80 00 08 */ bge lbl_801ACF9C lbl_801ACF98: /* 801ACF98 001A9EF8 42 00 00 00 */ bdnz lbl_801ACF98 lbl_801ACF9C: /* 801ACF9C 001A9EFC 38 00 00 00 */ li r0, 0 /* 801ACFA0 001A9F00 90 1F 00 7C */ stw r0, 0x7c(r31) lbl_801ACFA4: /* 801ACFA4 001A9F04 34 1F 00 70 */ addic. r0, r31, 0x70 /* 801ACFA8 001A9F08 41 82 00 58 */ beq lbl_801AD000 /* 801ACFAC 001A9F0C 80 DF 00 70 */ lwz r6, 0x70(r31) /* 801ACFB0 001A9F10 38 60 00 00 */ li r3, 0 /* 801ACFB4 001A9F14 2C 06 00 00 */ cmpwi r6, 0 /* 801ACFB8 001A9F18 40 81 00 40 */ ble lbl_801ACFF8 /* 801ACFBC 001A9F1C 2C 06 00 08 */ cmpwi r6, 8 /* 801ACFC0 001A9F20 38 A6 FF F8 */ addi r5, r6, -8 /* 801ACFC4 001A9F24 40 81 00 20 */ ble lbl_801ACFE4 /* 801ACFC8 001A9F28 38 05 00 07 */ addi r0, r5, 7 /* 801ACFCC 001A9F2C 54 00 E8 FE */ srwi r0, r0, 3 /* 801ACFD0 001A9F30 7C 09 03 A6 */ mtctr r0 /* 801ACFD4 001A9F34 2C 05 00 00 */ cmpwi r5, 0 /* 801ACFD8 001A9F38 40 81 00 0C */ ble lbl_801ACFE4 lbl_801ACFDC: /* 801ACFDC 001A9F3C 38 63 00 08 */ addi r3, r3, 8 /* 801ACFE0 001A9F40 42 00 FF FC */ bdnz lbl_801ACFDC lbl_801ACFE4: /* 801ACFE4 001A9F44 7C 03 30 50 */ subf r0, r3, r6 /* 801ACFE8 001A9F48 7C 09 03 A6 */ mtctr r0 /* 801ACFEC 001A9F4C 7C 03 30 00 */ cmpw r3, r6 /* 801ACFF0 001A9F50 40 80 00 08 */ bge lbl_801ACFF8 lbl_801ACFF4: /* 801ACFF4 001A9F54 42 00 00 00 */ bdnz lbl_801ACFF4 lbl_801ACFF8: /* 801ACFF8 001A9F58 38 00 00 00 */ li r0, 0 /* 801ACFFC 001A9F5C 90 1F 00 70 */ stw r0, 0x70(r31) lbl_801AD000: /* 801AD000 001A9F60 34 1F 00 48 */ addic. r0, r31, 0x48 /* 801AD004 001A9F64 41 82 00 58 */ beq lbl_801AD05C /* 801AD008 001A9F68 80 DF 00 48 */ lwz r6, 0x48(r31) /* 801AD00C 001A9F6C 38 60 00 00 */ li r3, 0 /* 801AD010 001A9F70 2C 06 00 00 */ cmpwi r6, 0 /* 801AD014 001A9F74 40 81 00 40 */ ble lbl_801AD054 /* 801AD018 001A9F78 2C 06 00 08 */ cmpwi r6, 8 /* 801AD01C 001A9F7C 38 A6 FF F8 */ addi r5, r6, -8 /* 801AD020 001A9F80 40 81 00 20 */ ble lbl_801AD040 /* 801AD024 001A9F84 38 05 00 07 */ addi r0, r5, 7 /* 801AD028 001A9F88 54 00 E8 FE */ srwi r0, r0, 3 /* 801AD02C 001A9F8C 7C 09 03 A6 */ mtctr r0 /* 801AD030 001A9F90 2C 05 00 00 */ cmpwi r5, 0 /* 801AD034 001A9F94 40 81 00 0C */ ble lbl_801AD040 lbl_801AD038: /* 801AD038 001A9F98 38 63 00 08 */ addi r3, r3, 8 /* 801AD03C 001A9F9C 42 00 FF FC */ bdnz lbl_801AD038 lbl_801AD040: /* 801AD040 001A9FA0 7C 03 30 50 */ subf r0, r3, r6 /* 801AD044 001A9FA4 7C 09 03 A6 */ mtctr r0 /* 801AD048 001A9FA8 7C 03 30 00 */ cmpw r3, r6 /* 801AD04C 001A9FAC 40 80 00 08 */ bge lbl_801AD054 lbl_801AD050: /* 801AD050 001A9FB0 42 00 00 00 */ bdnz lbl_801AD050 lbl_801AD054: /* 801AD054 001A9FB4 38 00 00 00 */ li r0, 0 /* 801AD058 001A9FB8 90 1F 00 48 */ stw r0, 0x48(r31) lbl_801AD05C: /* 801AD05C 001A9FBC 34 1F 00 20 */ addic. r0, r31, 0x20 /* 801AD060 001A9FC0 41 82 00 58 */ beq lbl_801AD0B8 /* 801AD064 001A9FC4 80 DF 00 20 */ lwz r6, 0x20(r31) /* 801AD068 001A9FC8 38 60 00 00 */ li r3, 0 /* 801AD06C 001A9FCC 2C 06 00 00 */ cmpwi r6, 0 /* 801AD070 001A9FD0 40 81 00 40 */ ble lbl_801AD0B0 /* 801AD074 001A9FD4 2C 06 00 08 */ cmpwi r6, 8 /* 801AD078 001A9FD8 38 A6 FF F8 */ addi r5, r6, -8 /* 801AD07C 001A9FDC 40 81 00 20 */ ble lbl_801AD09C /* 801AD080 001A9FE0 38 05 00 07 */ addi r0, r5, 7 /* 801AD084 001A9FE4 54 00 E8 FE */ srwi r0, r0, 3 /* 801AD088 001A9FE8 7C 09 03 A6 */ mtctr r0 /* 801AD08C 001A9FEC 2C 05 00 00 */ cmpwi r5, 0 /* 801AD090 001A9FF0 40 81 00 0C */ ble lbl_801AD09C lbl_801AD094: /* 801AD094 001A9FF4 38 63 00 08 */ addi r3, r3, 8 /* 801AD098 001A9FF8 42 00 FF FC */ bdnz lbl_801AD094 lbl_801AD09C: /* 801AD09C 001A9FFC 7C 03 30 50 */ subf r0, r3, r6 /* 801AD0A0 001AA000 7C 09 03 A6 */ mtctr r0 /* 801AD0A4 001AA004 7C 03 30 00 */ cmpw r3, r6 /* 801AD0A8 001AA008 40 80 00 08 */ bge lbl_801AD0B0 lbl_801AD0AC: /* 801AD0AC 001AA00C 42 00 00 00 */ bdnz lbl_801AD0AC lbl_801AD0B0: /* 801AD0B0 001AA010 38 00 00 00 */ li r0, 0 /* 801AD0B4 001AA014 90 1F 00 20 */ stw r0, 0x20(r31) lbl_801AD0B8: /* 801AD0B8 001AA018 28 1F 00 00 */ cmplwi r31, 0 /* 801AD0BC 001AA01C 41 82 00 10 */ beq lbl_801AD0CC /* 801AD0C0 001AA020 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha /* 801AD0C4 001AA024 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l /* 801AD0C8 001AA028 90 1F 00 00 */ stw r0, 0(r31) lbl_801AD0CC: /* 801AD0CC 001AA02C 7C 80 07 35 */ extsh. r0, r4 /* 801AD0D0 001AA030 40 81 00 0C */ ble lbl_801AD0DC /* 801AD0D4 001AA034 7F E3 FB 78 */ mr r3, r31 /* 801AD0D8 001AA038 48 00 00 1D */ bl "__dl__29TOneStatic<15CTweakPlayerRes>FPv" lbl_801AD0DC: /* 801AD0DC 001AA03C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AD0E0 001AA040 7F E3 FB 78 */ mr r3, r31 /* 801AD0E4 001AA044 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AD0E8 001AA048 7C 08 03 A6 */ mtlr r0 /* 801AD0EC 001AA04C 38 21 00 10 */ addi r1, r1, 0x10 /* 801AD0F0 001AA050 4E 80 00 20 */ blr .global "__dl__29TOneStatic<15CTweakPlayerRes>FPv" "__dl__29TOneStatic<15CTweakPlayerRes>FPv": /* 801AD0F4 001AA054 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AD0F8 001AA058 7C 08 02 A6 */ mflr r0 /* 801AD0FC 001AA05C 90 01 00 14 */ stw r0, 0x14(r1) /* 801AD100 001AA060 4B E8 9D 25 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv" /* 801AD104 001AA064 80 83 00 00 */ lwz r4, 0(r3) /* 801AD108 001AA068 38 04 FF FF */ addi r0, r4, -1 /* 801AD10C 001AA06C 90 03 00 00 */ stw r0, 0(r3) /* 801AD110 001AA070 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AD114 001AA074 7C 08 03 A6 */ mtlr r0 /* 801AD118 001AA078 38 21 00 10 */ addi r1, r1, 0x10 /* 801AD11C 001AA07C 4E 80 00 20 */ blr .global GetMaxZError__10CBurstFireCFv GetMaxZError__10CBurstFireCFv: /* 801AD120 001AA080 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) /* 801AD124 001AA084 C0 23 01 24 */ lfs f1, 0x124(r3) /* 801AD128 001AA088 4E 80 00 20 */ blr .global GetMaxXError__10CBurstFireCFv GetMaxXError__10CBurstFireCFv: /* 801AD12C 001AA08C 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) /* 801AD130 001AA090 C0 42 A8 7C */ lfs f2, lbl_805AC59C@sda21(r2) /* 801AD134 001AA094 C0 23 02 70 */ lfs f1, 0x270(r3) /* 801AD138 001AA098 C0 02 A8 78 */ lfs f0, lbl_805AC598@sda21(r2) /* 801AD13C 001AA09C EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 801AD140 001AA0A0 4E 80 00 20 */ blr .global GetDistanceCompensatedError__10CBurstFireCFff GetDistanceCompensatedError__10CBurstFireCFff: /* 801AD144 001AA0A4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801AD148 001AA0A8 7C 08 02 A6 */ mflr r0 /* 801AD14C 001AA0AC 90 01 00 44 */ stw r0, 0x44(r1) /* 801AD150 001AA0B0 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801AD154 001AA0B4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801AD158 001AA0B8 DB C1 00 20 */ stfd f30, 0x20(r1) /* 801AD15C 001AA0BC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 801AD160 001AA0C0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AD164 001AA0C4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AD168 001AA0C8 FF C0 08 90 */ fmr f30, f1 /* 801AD16C 001AA0CC 7C 9F 23 78 */ mr r31, r4 /* 801AD170 001AA0D0 FF E0 10 90 */ fmr f31, f2 /* 801AD174 001AA0D4 7C 7E 1B 78 */ mr r30, r3 /* 801AD178 001AA0D8 7F E3 FB 78 */ mr r3, r31 /* 801AD17C 001AA0DC 4B FF FF B1 */ bl GetMaxXError__10CBurstFireCFv /* 801AD180 001AA0E0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801AD184 001AA0E4 7F E3 FB 78 */ mr r3, r31 /* 801AD188 001AA0E8 4B FF FF 99 */ bl GetMaxZError__10CBurstFireCFv /* 801AD18C 001AA0EC EC 7E F8 24 */ fdivs f3, f30, f31 /* 801AD190 001AA0F0 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801AD194 001AA0F4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801AD198 001AA0F8 EC 03 00 B2 */ fmuls f0, f3, f2 /* 801AD19C 001AA0FC FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801AD1A0 001AA100 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801AD1A4 001AA104 40 80 00 0C */ bge lbl_801AD1B0 /* 801AD1A8 001AA108 38 61 00 14 */ addi r3, r1, 0x14 /* 801AD1AC 001AA10C 48 00 00 08 */ b lbl_801AD1B4 lbl_801AD1B0: /* 801AD1B0 001AA110 38 61 00 0C */ addi r3, r1, 0xc lbl_801AD1B4: /* 801AD1B4 001AA114 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801AD1B8 001AA118 C0 23 00 00 */ lfs f1, 0(r3) /* 801AD1BC 001AA11C EC 03 00 B2 */ fmuls f0, f3, f2 /* 801AD1C0 001AA120 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801AD1C4 001AA124 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801AD1C8 001AA128 D0 01 00 08 */ stfs f0, 8(r1) /* 801AD1CC 001AA12C 40 80 00 0C */ bge lbl_801AD1D8 /* 801AD1D0 001AA130 38 61 00 10 */ addi r3, r1, 0x10 /* 801AD1D4 001AA134 48 00 00 08 */ b lbl_801AD1DC lbl_801AD1D8: /* 801AD1D8 001AA138 38 61 00 08 */ addi r3, r1, 8 lbl_801AD1DC: /* 801AD1DC 001AA13C C0 43 00 00 */ lfs f2, 0(r3) /* 801AD1E0 001AA140 7F C3 F3 78 */ mr r3, r30 /* 801AD1E4 001AA144 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801AD1E8 001AA148 7F E4 FB 78 */ mr r4, r31 /* 801AD1EC 001AA14C D0 41 00 10 */ stfs f2, 0x10(r1) /* 801AD1F0 001AA150 48 00 00 2D */ bl GetError__10CBurstFireCFff /* 801AD1F4 001AA154 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801AD1F8 001AA158 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801AD1FC 001AA15C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 801AD200 001AA160 CB C1 00 20 */ lfd f30, 0x20(r1) /* 801AD204 001AA164 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AD208 001AA168 80 01 00 44 */ lwz r0, 0x44(r1) /* 801AD20C 001AA16C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AD210 001AA170 7C 08 03 A6 */ mtlr r0 /* 801AD214 001AA174 38 21 00 40 */ addi r1, r1, 0x40 /* 801AD218 001AA178 4E 80 00 20 */ blr .global GetError__10CBurstFireCFff GetError__10CBurstFireCFff: /* 801AD21C 001AA17C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801AD220 001AA180 7C 08 02 A6 */ mflr r0 /* 801AD224 001AA184 90 01 00 74 */ stw r0, 0x74(r1) /* 801AD228 001AA188 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801AD22C 001AA18C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801AD230 001AA190 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801AD234 001AA194 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801AD238 001AA198 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801AD23C 001AA19C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801AD240 001AA1A0 DB 81 00 30 */ stfd f28, 0x30(r1) /* 801AD244 001AA1A4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 /* 801AD248 001AA1A8 DB 61 00 20 */ stfd f27, 0x20(r1) /* 801AD24C 001AA1AC F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 /* 801AD250 001AA1B0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AD254 001AA1B4 88 A4 00 14 */ lbz r5, 0x14(r4) /* 801AD258 001AA1B8 3C C0 80 5A */ lis r6, skZero3f@ha /* 801AD25C 001AA1BC C7 E6 66 A0 */ lfsu f31, skZero3f@l(r6) /* 801AD260 001AA1C0 FF 60 08 90 */ fmr f27, f1 /* 801AD264 001AA1C4 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f /* 801AD268 001AA1C8 FF 80 10 90 */ fmr f28, f2 /* 801AD26C 001AA1CC C3 C6 00 04 */ lfs f30, 4(r6) /* 801AD270 001AA1D0 7C 7F 1B 78 */ mr r31, r3 /* 801AD274 001AA1D4 C0 06 00 08 */ lfs f0, 8(r6) /* 801AD278 001AA1D8 41 82 00 94 */ beq lbl_801AD30C /* 801AD27C 001AA1DC 80 64 00 18 */ lwz r3, 0x18(r4) /* 801AD280 001AA1E0 28 03 00 00 */ cmplwi r3, 0 /* 801AD284 001AA1E4 41 82 00 88 */ beq lbl_801AD30C /* 801AD288 001AA1E8 80 84 00 04 */ lwz r4, 4(r4) /* 801AD28C 001AA1EC 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f /* 801AD290 001AA1F0 38 63 00 04 */ addi r3, r3, 4 /* 801AD294 001AA1F4 54 80 10 3A */ slwi r0, r4, 2 /* 801AD298 001AA1F8 7C 03 00 2E */ lwzx r0, r3, r0 /* 801AD29C 001AA1FC 41 82 00 2C */ beq lbl_801AD2C8 /* 801AD2A0 001AA200 2C 00 00 04 */ cmpwi r0, 4 /* 801AD2A4 001AA204 41 82 00 0C */ beq lbl_801AD2B0 /* 801AD2A8 001AA208 2C 00 00 0C */ cmpwi r0, 0xc /* 801AD2AC 001AA20C 40 82 00 1C */ bne lbl_801AD2C8 lbl_801AD2B0: /* 801AD2B0 001AA210 2C 04 00 00 */ cmpwi r4, 0 /* 801AD2B4 001AA214 38 04 00 01 */ addi r0, r4, 1 /* 801AD2B8 001AA218 40 81 00 08 */ ble lbl_801AD2C0 /* 801AD2BC 001AA21C 38 04 FF FF */ addi r0, r4, -1 lbl_801AD2C0: /* 801AD2C0 001AA220 54 00 10 3A */ slwi r0, r0, 2 /* 801AD2C4 001AA224 7C 03 00 2E */ lwzx r0, r3, r0 lbl_801AD2C8: /* 801AD2C8 001AA228 2C 00 00 00 */ cmpwi r0, 0 /* 801AD2CC 001AA22C 40 81 00 40 */ ble lbl_801AD30C /* 801AD2D0 001AA230 6C 03 80 00 */ xoris r3, r0, 0x8000 /* 801AD2D4 001AA234 3C 00 43 30 */ lis r0, 0x4330 /* 801AD2D8 001AA238 90 61 00 0C */ stw r3, 0xc(r1) /* 801AD2DC 001AA23C C8 22 A8 88 */ lfd f1, lbl_805AC5A8@sda21(r2) /* 801AD2E0 001AA240 90 01 00 08 */ stw r0, 8(r1) /* 801AD2E4 001AA244 C0 42 A8 80 */ lfs f2, lbl_805AC5A0@sda21(r2) /* 801AD2E8 001AA248 C8 01 00 08 */ lfd f0, 8(r1) /* 801AD2EC 001AA24C EC 00 08 28 */ fsubs f0, f0, f1 /* 801AD2F0 001AA250 EF A2 00 32 */ fmuls f29, f2, f0 /* 801AD2F4 001AA254 FC 20 E8 90 */ fmr f1, f29 /* 801AD2F8 001AA258 48 16 7A 4D */ bl FastCosR__5CMathFf /* 801AD2FC 001AA25C EF FB 00 72 */ fmuls f31, f27, f1 /* 801AD300 001AA260 FC 20 E8 90 */ fmr f1, f29 /* 801AD304 001AA264 48 16 7A ED */ bl FastSinR__5CMathFf /* 801AD308 001AA268 EC 1C 00 72 */ fmuls f0, f28, f1 lbl_801AD30C: /* 801AD30C 001AA26C D3 FF 00 00 */ stfs f31, 0(r31) /* 801AD310 001AA270 D3 DF 00 04 */ stfs f30, 4(r31) /* 801AD314 001AA274 D0 1F 00 08 */ stfs f0, 8(r31) /* 801AD318 001AA278 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801AD31C 001AA27C CB E1 00 60 */ lfd f31, 0x60(r1) /* 801AD320 001AA280 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801AD324 001AA284 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801AD328 001AA288 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801AD32C 001AA28C CB A1 00 40 */ lfd f29, 0x40(r1) /* 801AD330 001AA290 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 /* 801AD334 001AA294 CB 81 00 30 */ lfd f28, 0x30(r1) /* 801AD338 001AA298 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 /* 801AD33C 001AA29C CB 61 00 20 */ lfd f27, 0x20(r1) /* 801AD340 001AA2A0 80 01 00 74 */ lwz r0, 0x74(r1) /* 801AD344 001AA2A4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AD348 001AA2A8 7C 08 03 A6 */ mtlr r0 /* 801AD34C 001AA2AC 38 21 00 70 */ addi r1, r1, 0x70 /* 801AD350 001AA2B0 4E 80 00 20 */ blr .global Update__10CBurstFireFR13CStateManagerf Update__10CBurstFireFR13CStateManagerf: /* 801AD354 001AA2B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AD358 001AA2B8 7C 08 02 A6 */ mflr r0 /* 801AD35C 001AA2BC 38 A0 00 00 */ li r5, 0 /* 801AD360 001AA2C0 90 01 00 14 */ stw r0, 0x14(r1) /* 801AD364 001AA2C4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AD368 001AA2C8 7C 7F 1B 78 */ mr r31, r3 /* 801AD36C 001AA2CC 88 03 00 14 */ lbz r0, 0x14(r3) /* 801AD370 001AA2D0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801AD374 001AA2D4 98 03 00 14 */ stb r0, 0x14(r3) /* 801AD378 001AA2D8 80 03 00 18 */ lwz r0, 0x18(r3) /* 801AD37C 001AA2DC 28 00 00 00 */ cmplwi r0, 0 /* 801AD380 001AA2E0 41 82 00 90 */ beq lbl_801AD410 /* 801AD384 001AA2E4 C0 5F 00 08 */ lfs f2, 8(r31) /* 801AD388 001AA2E8 C0 02 A8 90 */ lfs f0, lbl_805AC5B0@sda21(r2) /* 801AD38C 001AA2EC EC 22 08 28 */ fsubs f1, f2, f1 /* 801AD390 001AA2F0 D0 3F 00 08 */ stfs f1, 8(r31) /* 801AD394 001AA2F4 C0 3F 00 08 */ lfs f1, 8(r31) /* 801AD398 001AA2F8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AD39C 001AA2FC 40 80 00 74 */ bge lbl_801AD410 /* 801AD3A0 001AA300 80 7F 00 04 */ lwz r3, 4(r31) /* 801AD3A4 001AA304 38 03 00 01 */ addi r0, r3, 1 /* 801AD3A8 001AA308 90 1F 00 04 */ stw r0, 4(r31) /* 801AD3AC 001AA30C 80 1F 00 04 */ lwz r0, 4(r31) /* 801AD3B0 001AA310 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801AD3B4 001AA314 54 00 10 3A */ slwi r0, r0, 2 /* 801AD3B8 001AA318 7C 63 02 14 */ add r3, r3, r0 /* 801AD3BC 001AA31C 80 03 00 04 */ lwz r0, 4(r3) /* 801AD3C0 001AA320 2C 00 00 00 */ cmpwi r0, 0 /* 801AD3C4 001AA324 40 81 00 48 */ ble lbl_801AD40C /* 801AD3C8 001AA328 88 1F 00 14 */ lbz r0, 0x14(r31) /* 801AD3CC 001AA32C 38 60 00 01 */ li r3, 1 /* 801AD3D0 001AA330 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801AD3D4 001AA334 98 1F 00 14 */ stb r0, 0x14(r31) /* 801AD3D8 001AA338 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801AD3DC 001AA33C C0 03 00 24 */ lfs f0, 0x24(r3) /* 801AD3E0 001AA340 D0 1F 00 08 */ stfs f0, 8(r31) /* 801AD3E4 001AA344 80 64 09 00 */ lwz r3, 0x900(r4) /* 801AD3E8 001AA348 48 16 50 F5 */ bl Float__9CRandom16Fv /* 801AD3EC 001AA34C C0 02 A8 94 */ lfs f0, lbl_805AC5B4@sda21(r2) /* 801AD3F0 001AA350 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801AD3F4 001AA354 EC 41 00 28 */ fsubs f2, f1, f0 /* 801AD3F8 001AA358 C0 1F 00 08 */ lfs f0, 8(r31) /* 801AD3FC 001AA35C C0 23 00 28 */ lfs f1, 0x28(r3) /* 801AD400 001AA360 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 801AD404 001AA364 D0 1F 00 08 */ stfs f0, 8(r31) /* 801AD408 001AA368 48 00 00 08 */ b lbl_801AD410 lbl_801AD40C: /* 801AD40C 001AA36C 90 BF 00 18 */ stw r5, 0x18(r31) lbl_801AD410: /* 801AD410 001AA370 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AD414 001AA374 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AD418 001AA378 7C 08 03 A6 */ mtlr r0 /* 801AD41C 001AA37C 38 21 00 10 */ addi r1, r1, 0x10 /* 801AD420 001AA380 4E 80 00 20 */ blr .global Start__10CBurstFireFR13CStateManager Start__10CBurstFireFR13CStateManager: /* 801AD424 001AA384 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AD428 001AA388 7C 08 02 A6 */ mflr r0 /* 801AD42C 001AA38C 90 01 00 24 */ stw r0, 0x24(r1) /* 801AD430 001AA390 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AD434 001AA394 7C 7F 1B 78 */ mr r31, r3 /* 801AD438 001AA398 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AD43C 001AA39C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AD440 001AA3A0 3B A0 FF FF */ li r29, -1 /* 801AD444 001AA3A4 80 03 00 00 */ lwz r0, 0(r3) /* 801AD448 001AA3A8 80 63 00 10 */ lwz r3, 0x10(r3) /* 801AD44C 001AA3AC 54 00 10 3A */ slwi r0, r0, 2 /* 801AD450 001AA3B0 7C BF 02 14 */ add r5, r31, r0 /* 801AD454 001AA3B4 2C 03 00 00 */ cmpwi r3, 0 /* 801AD458 001AA3B8 83 C5 00 20 */ lwz r30, 0x20(r5) /* 801AD45C 001AA3BC 38 03 FF FF */ addi r0, r3, -1 /* 801AD460 001AA3C0 90 1F 00 10 */ stw r0, 0x10(r31) /* 801AD464 001AA3C4 40 81 00 1C */ ble lbl_801AD480 /* 801AD468 001AA3C8 80 9F 00 0C */ lwz r4, 0xc(r31) /* 801AD46C 001AA3CC 54 83 0F FE */ srwi r3, r4, 0x1f /* 801AD470 001AA3D0 38 03 FF FF */ addi r0, r3, -1 /* 801AD474 001AA3D4 7C 80 00 38 */ and r0, r4, r0 /* 801AD478 001AA3D8 7C 1D 03 78 */ mr r29, r0 /* 801AD47C 001AA3DC 48 00 00 40 */ b lbl_801AD4BC lbl_801AD480: /* 801AD480 001AA3E0 80 64 09 00 */ lwz r3, 0x900(r4) /* 801AD484 001AA3E4 38 80 00 00 */ li r4, 0 /* 801AD488 001AA3E8 38 A0 00 64 */ li r5, 0x64 /* 801AD48C 001AA3EC 48 16 51 09 */ bl Range__9CRandom16Fii /* 801AD490 001AA3F0 38 80 00 00 */ li r4, 0 lbl_801AD494: /* 801AD494 001AA3F4 3B BD 00 01 */ addi r29, r29, 1 /* 801AD498 001AA3F8 1C 1D 00 2C */ mulli r0, r29, 0x2c /* 801AD49C 001AA3FC 7C 1E 00 2E */ lwzx r0, r30, r0 /* 801AD4A0 001AA400 2C 00 00 00 */ cmpwi r0, 0 /* 801AD4A4 001AA404 40 82 00 0C */ bne lbl_801AD4B0 /* 801AD4A8 001AA408 38 80 00 64 */ li r4, 0x64 /* 801AD4AC 001AA40C 3B BD FF FF */ addi r29, r29, -1 lbl_801AD4B0: /* 801AD4B0 001AA410 7C 84 02 14 */ add r4, r4, r0 /* 801AD4B4 001AA414 7C 03 20 00 */ cmpw r3, r4 /* 801AD4B8 001AA418 41 81 FF DC */ bgt lbl_801AD494 lbl_801AD4BC: /* 801AD4BC 001AA41C 1C 9D 00 2C */ mulli r4, r29, 0x2c /* 801AD4C0 001AA420 38 00 FF FF */ li r0, -1 /* 801AD4C4 001AA424 C0 02 A8 90 */ lfs f0, lbl_805AC5B0@sda21(r2) /* 801AD4C8 001AA428 38 60 00 00 */ li r3, 0 /* 801AD4CC 001AA42C 7C 9E 22 14 */ add r4, r30, r4 /* 801AD4D0 001AA430 90 9F 00 18 */ stw r4, 0x18(r31) /* 801AD4D4 001AA434 90 1F 00 04 */ stw r0, 4(r31) /* 801AD4D8 001AA438 D0 1F 00 08 */ stfs f0, 8(r31) /* 801AD4DC 001AA43C 88 1F 00 14 */ lbz r0, 0x14(r31) /* 801AD4E0 001AA440 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801AD4E4 001AA444 98 1F 00 14 */ stb r0, 0x14(r31) /* 801AD4E8 001AA448 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AD4EC 001AA44C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AD4F0 001AA450 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801AD4F4 001AA454 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AD4F8 001AA458 7C 08 03 A6 */ mtlr r0 /* 801AD4FC 001AA45C 38 21 00 20 */ addi r1, r1, 0x20 /* 801AD500 001AA460 4E 80 00 20 */ blr .global __ct__10CBurstFireFPPC6SBursti __ct__10CBurstFireFPPC6SBursti: /* 801AD504 001AA464 38 00 FF FF */ li r0, -1 /* 801AD508 001AA468 C0 02 A8 90 */ lfs f0, lbl_805AC5B0@sda21(r2) /* 801AD50C 001AA46C 90 03 00 00 */ stw r0, 0(r3) /* 801AD510 001AA470 38 C0 00 00 */ li r6, 0 /* 801AD514 001AA474 38 E3 00 20 */ addi r7, r3, 0x20 /* 801AD518 001AA478 90 03 00 04 */ stw r0, 4(r3) /* 801AD51C 001AA47C D0 03 00 08 */ stfs f0, 8(r3) /* 801AD520 001AA480 90 C3 00 0C */ stw r6, 0xc(r3) /* 801AD524 001AA484 90 A3 00 10 */ stw r5, 0x10(r3) /* 801AD528 001AA488 88 03 00 14 */ lbz r0, 0x14(r3) /* 801AD52C 001AA48C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801AD530 001AA490 98 03 00 14 */ stb r0, 0x14(r3) /* 801AD534 001AA494 88 03 00 14 */ lbz r0, 0x14(r3) /* 801AD538 001AA498 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801AD53C 001AA49C 98 03 00 14 */ stb r0, 0x14(r3) /* 801AD540 001AA4A0 90 C3 00 18 */ stw r6, 0x18(r3) /* 801AD544 001AA4A4 90 C3 00 1C */ stw r6, 0x1c(r3) /* 801AD548 001AA4A8 48 00 00 28 */ b lbl_801AD570 lbl_801AD54C: /* 801AD54C 001AA4AC 80 03 00 1C */ lwz r0, 0x1c(r3) /* 801AD550 001AA4B0 54 00 10 3A */ slwi r0, r0, 2 /* 801AD554 001AA4B4 7C A7 02 15 */ add. r5, r7, r0 /* 801AD558 001AA4B8 41 82 00 08 */ beq lbl_801AD560 /* 801AD55C 001AA4BC 90 C5 00 00 */ stw r6, 0(r5) lbl_801AD560: /* 801AD560 001AA4C0 80 A3 00 1C */ lwz r5, 0x1c(r3) /* 801AD564 001AA4C4 38 84 00 04 */ addi r4, r4, 4 /* 801AD568 001AA4C8 38 05 00 01 */ addi r0, r5, 1 /* 801AD56C 001AA4CC 90 03 00 1C */ stw r0, 0x1c(r3) lbl_801AD570: /* 801AD570 001AA4D0 80 C4 00 00 */ lwz r6, 0(r4) /* 801AD574 001AA4D4 28 06 00 00 */ cmplwi r6, 0 /* 801AD578 001AA4D8 40 82 FF D4 */ bne lbl_801AD54C .global sub_801ad57c sub_801ad57c: /* 801AD57C 001AA4DC 4E 80 00 20 */ blr .global __dt__17CFlaahgraRendererFv __dt__17CFlaahgraRendererFv: /* 801AD580 001AA4E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AD584 001AA4E4 7C 08 02 A6 */ mflr r0 /* 801AD588 001AA4E8 90 01 00 14 */ stw r0, 0x14(r1) /* 801AD58C 001AA4EC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801AD590 001AA4F0 7C 9F 23 78 */ mr r31, r4 /* 801AD594 001AA4F4 93 C1 00 08 */ stw r30, 8(r1) /* 801AD598 001AA4F8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801AD59C 001AA4FC 41 82 00 28 */ beq lbl_801AD5C4 /* 801AD5A0 001AA500 3C A0 80 3E */ lis r5, lbl_803E4D08@ha /* 801AD5A4 001AA504 38 80 00 00 */ li r4, 0 /* 801AD5A8 001AA508 38 05 4D 08 */ addi r0, r5, lbl_803E4D08@l /* 801AD5AC 001AA50C 90 1E 00 00 */ stw r0, 0(r30) /* 801AD5B0 001AA510 4B EA 81 41 */ bl __dt__6CActorFv /* 801AD5B4 001AA514 7F E0 07 35 */ extsh. r0, r31 /* 801AD5B8 001AA518 40 81 00 0C */ ble lbl_801AD5C4 /* 801AD5BC 001AA51C 7F C3 F3 78 */ mr r3, r30 /* 801AD5C0 001AA520 48 16 83 71 */ bl Free__7CMemoryFPCv lbl_801AD5C4: /* 801AD5C4 001AA524 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AD5C8 001AA528 7F C3 F3 78 */ mr r3, r30 /* 801AD5CC 001AA52C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801AD5D0 001AA530 83 C1 00 08 */ lwz r30, 8(r1) /* 801AD5D4 001AA534 7C 08 03 A6 */ mtlr r0 /* 801AD5D8 001AA538 38 21 00 10 */ addi r1, r1, 0x10 /* 801AD5DC 001AA53C 4E 80 00 20 */ blr .global GetTouchBounds__17CFlaahgraRendererCFv GetTouchBounds__17CFlaahgraRendererCFv: /* 801AD5E0 001AA540 38 00 00 00 */ li r0, 0 /* 801AD5E4 001AA544 98 03 00 18 */ stb r0, 0x18(r3) /* 801AD5E8 001AA548 4E 80 00 20 */ blr .global AddToRenderer__17CFlaahgraRendererCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__17CFlaahgraRendererCFRC14CFrustumPlanesRC13CStateManager: /* 801AD5EC 001AA54C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AD5F0 001AA550 7C 08 02 A6 */ mflr r0 /* 801AD5F4 001AA554 90 01 00 24 */ stw r0, 0x24(r1) /* 801AD5F8 001AA558 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AD5FC 001AA55C 7C 9F 23 78 */ mr r31, r4 /* 801AD600 001AA560 38 81 00 08 */ addi r4, r1, 8 /* 801AD604 001AA564 A0 03 00 E8 */ lhz r0, 0xe8(r3) /* 801AD608 001AA568 7C A3 2B 78 */ mr r3, r5 /* 801AD60C 001AA56C B0 01 00 08 */ sth r0, 8(r1) /* 801AD610 001AA570 4B E9 EF 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AD614 001AA574 28 03 00 00 */ cmplwi r3, 0 /* 801AD618 001AA578 41 82 00 38 */ beq lbl_801AD650 /* 801AD61C 001AA57C 80 63 00 64 */ lwz r3, 0x64(r3) /* 801AD620 001AA580 38 80 00 00 */ li r4, 0 /* 801AD624 001AA584 80 03 00 10 */ lwz r0, 0x10(r3) /* 801AD628 001AA588 28 00 00 00 */ cmplwi r0, 0 /* 801AD62C 001AA58C 40 82 00 14 */ bne lbl_801AD640 /* 801AD630 001AA590 88 03 00 28 */ lbz r0, 0x28(r3) /* 801AD634 001AA594 28 00 00 00 */ cmplwi r0, 0 /* 801AD638 001AA598 40 82 00 08 */ bne lbl_801AD640 /* 801AD63C 001AA59C 38 80 00 01 */ li r4, 1 lbl_801AD640: /* 801AD640 001AA5A0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801AD644 001AA5A4 40 82 00 0C */ bne lbl_801AD650 /* 801AD648 001AA5A8 7F E4 FB 78 */ mr r4, r31 /* 801AD64C 001AA5AC 4B F6 86 35 */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes lbl_801AD650: /* 801AD650 001AA5B0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AD654 001AA5B4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AD658 001AA5B8 7C 08 03 A6 */ mtlr r0 /* 801AD65C 001AA5BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801AD660 001AA5C0 4E 80 00 20 */ blr .global Accept__17CFlaahgraRendererFR8IVisitor Accept__17CFlaahgraRendererFR8IVisitor: /* 801AD664 001AA5C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801AD668 001AA5C8 7C 08 02 A6 */ mflr r0 /* 801AD66C 001AA5CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801AD670 001AA5D0 7C 60 1B 78 */ mr r0, r3 /* 801AD674 001AA5D4 7C 83 23 78 */ mr r3, r4 /* 801AD678 001AA5D8 81 84 00 00 */ lwz r12, 0(r4) /* 801AD67C 001AA5DC 7C 04 03 78 */ mr r4, r0 /* 801AD680 001AA5E0 81 8C 00 08 */ lwz r12, 8(r12) /* 801AD684 001AA5E4 7D 89 03 A6 */ mtctr r12 /* 801AD688 001AA5E8 4E 80 04 21 */ bctrl /* 801AD68C 001AA5EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801AD690 001AA5F0 7C 08 03 A6 */ mtlr r0 /* 801AD694 001AA5F4 38 21 00 10 */ addi r1, r1, 0x10 /* 801AD698 001AA5F8 4E 80 00 20 */ blr .global "__ct__17CFlaahgraRendererF9TUniqueId9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4f" "__ct__17CFlaahgraRendererF9TUniqueId9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4f": /* 801AD69C 001AA5FC 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801AD6A0 001AA600 7C 08 02 A6 */ mflr r0 /* 801AD6A4 001AA604 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801AD6A8 001AA608 BF 41 00 D8 */ stmw r26, 0xd8(r1) /* 801AD6AC 001AA60C 7C 7F 1B 78 */ mr r31, r3 /* 801AD6B0 001AA610 7C 9A 23 78 */ mr r26, r4 /* 801AD6B4 001AA614 7C BB 2B 78 */ mr r27, r5 /* 801AD6B8 001AA618 7C DC 33 78 */ mr r28, r6 /* 801AD6BC 001AA61C 7C FD 3B 78 */ mr r29, r7 /* 801AD6C0 001AA620 7D 1E 43 78 */ mr r30, r8 /* 801AD6C4 001AA624 38 61 00 88 */ addi r3, r1, 0x88 /* 801AD6C8 001AA628 4B E8 D0 DD */ bl CModelDataNull__10CModelDataFv /* 801AD6CC 001AA62C 38 61 00 20 */ addi r3, r1, 0x20 /* 801AD6D0 001AA630 4B E6 D7 69 */ bl None__16CActorParametersFv /* 801AD6D4 001AA634 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801AD6D8 001AA638 38 00 00 00 */ li r0, 0 /* 801AD6DC 001AA63C 80 AD 90 CC */ lwz r5, lbl_805A7C8C@sda21(r13) /* 801AD6E0 001AA640 38 60 00 00 */ li r3, 0 /* 801AD6E4 001AA644 B0 81 00 10 */ sth r4, 0x10(r1) /* 801AD6E8 001AA648 38 80 00 01 */ li r4, 1 /* 801AD6EC 001AA64C 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AD6F0 001AA650 90 01 00 18 */ stw r0, 0x18(r1) /* 801AD6F4 001AA654 48 1D C8 01 */ bl __shl2i /* 801AD6F8 001AA658 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801AD6FC 001AA65C 39 61 00 20 */ addi r11, r1, 0x20 /* 801AD700 001AA660 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 801AD704 001AA664 38 01 00 10 */ addi r0, r1, 0x10 /* 801AD708 001AA668 7C A3 1B 78 */ or r3, r5, r3 /* 801AD70C 001AA66C A0 BA 00 00 */ lhz r5, 0(r26) /* 801AD710 001AA670 7C C4 23 78 */ or r4, r6, r4 /* 801AD714 001AA674 90 61 00 18 */ stw r3, 0x18(r1) /* 801AD718 001AA678 7F E3 FB 78 */ mr r3, r31 /* 801AD71C 001AA67C 7F 86 E3 78 */ mr r6, r28 /* 801AD720 001AA680 90 81 00 1C */ stw r4, 0x1c(r1) /* 801AD724 001AA684 7F A7 EB 78 */ mr r7, r29 /* 801AD728 001AA688 7F C8 F3 78 */ mr r8, r30 /* 801AD72C 001AA68C 38 81 00 14 */ addi r4, r1, 0x14 /* 801AD730 001AA690 B0 A1 00 14 */ sth r5, 0x14(r1) /* 801AD734 001AA694 39 21 00 88 */ addi r9, r1, 0x88 /* 801AD738 001AA698 39 41 00 18 */ addi r10, r1, 0x18 /* 801AD73C 001AA69C 38 A0 00 01 */ li r5, 1 /* 801AD740 001AA6A0 91 61 00 08 */ stw r11, 8(r1) /* 801AD744 001AA6A4 90 01 00 0C */ stw r0, 0xc(r1) /* 801AD748 001AA6A8 4B EA 80 D9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801AD74C 001AA6AC 38 61 00 20 */ addi r3, r1, 0x20 /* 801AD750 001AA6B0 38 80 FF FF */ li r4, -1 /* 801AD754 001AA6B4 4B F5 8E B5 */ bl __dt__16CActorParametersFv /* 801AD758 001AA6B8 38 61 00 88 */ addi r3, r1, 0x88 /* 801AD75C 001AA6BC 38 80 FF FF */ li r4, -1 /* 801AD760 001AA6C0 4B F6 92 ED */ bl __dt__10CModelDataFv /* 801AD764 001AA6C4 3C 80 80 3E */ lis r4, lbl_803E4D08@ha /* 801AD768 001AA6C8 7F E3 FB 78 */ mr r3, r31 /* 801AD76C 001AA6CC 38 04 4D 08 */ addi r0, r4, lbl_803E4D08@l /* 801AD770 001AA6D0 90 1F 00 00 */ stw r0, 0(r31) /* 801AD774 001AA6D4 A0 1B 00 00 */ lhz r0, 0(r27) /* 801AD778 001AA6D8 B0 1F 00 E8 */ sth r0, 0xe8(r31) /* 801AD77C 001AA6DC BB 41 00 D8 */ lmw r26, 0xd8(r1) /* 801AD780 001AA6E0 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801AD784 001AA6E4 7C 08 03 A6 */ mtlr r0 /* 801AD788 001AA6E8 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801AD78C 001AA6EC 4E 80 00 20 */ blr .global sub_801ad790 sub_801ad790: /* 801AD790 001AA6F0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801AD794 001AA6F4 7C 08 02 A6 */ mflr r0 /* 801AD798 001AA6F8 90 01 00 84 */ stw r0, 0x84(r1) /* 801AD79C 001AA6FC 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801AD7A0 001AA700 7C 7F 1B 78 */ mr r31, r3 /* 801AD7A4 001AA704 38 61 00 20 */ addi r3, r1, 0x20 /* 801AD7A8 001AA708 93 C1 00 78 */ stw r30, 0x78(r1) /* 801AD7AC 001AA70C 38 9F 08 AC */ addi r4, r31, 0x8ac /* 801AD7B0 001AA710 93 A1 00 74 */ stw r29, 0x74(r1) /* 801AD7B4 001AA714 4B F6 93 A1 */ bl __ct__10CModelDataFRC8CAnimRes /* 801AD7B8 001AA718 7F E3 FB 78 */ mr r3, r31 /* 801AD7BC 001AA71C 38 81 00 20 */ addi r4, r1, 0x20 /* 801AD7C0 001AA720 4B EA 78 71 */ bl SetModelData__6CActorFRC10CModelData /* 801AD7C4 001AA724 38 61 00 20 */ addi r3, r1, 0x20 /* 801AD7C8 001AA728 38 80 FF FF */ li r4, -1 /* 801AD7CC 001AA72C 4B F6 92 81 */ bl __dt__10CModelDataFv /* 801AD7D0 001AA730 7F E3 FB 78 */ mr r3, r31 /* 801AD7D4 001AA734 4B EA 56 09 */ bl CreateShadow__6CActorFv /* 801AD7D8 001AA738 7F E3 FB 78 */ mr r3, r31 /* 801AD7DC 001AA73C 38 80 00 01 */ li r4, 1 /* 801AD7E0 001AA740 4B EA 55 8D */ bl CreateShadow__6CActorFb /* 801AD7E4 001AA744 80 7F 00 94 */ lwz r3, 0x94(r31) /* 801AD7E8 001AA748 38 80 00 00 */ li r4, 0 /* 801AD7EC 001AA74C 4B F5 85 05 */ bl sub_80105cf0 /* 801AD7F0 001AA750 7F E3 FB 78 */ mr r3, r31 /* 801AD7F4 001AA754 38 80 00 02 */ li r4, 2 /* 801AD7F8 001AA758 4B EC F9 19 */ bl BuildBodyController__10CPatternedF9EBodyType /* 801AD7FC 001AA75C 3C 60 80 3D */ lis r3, lbl_803D1590@ha /* 801AD800 001AA760 3B C0 00 00 */ li r30, 0 /* 801AD804 001AA764 38 83 15 90 */ addi r4, r3, lbl_803D1590@l /* 801AD808 001AA768 38 60 00 38 */ li r3, 0x38 /* 801AD80C 001AA76C 38 84 00 7E */ addi r4, r4, 0x7e /* 801AD810 001AA770 38 A0 00 00 */ li r5, 0 /* 801AD814 001AA774 48 16 80 59 */ bl __nw__FUlPCcPCc /* 801AD818 001AA778 7C 7D 1B 79 */ or. r29, r3, r3 /* 801AD81C 001AA77C 41 82 00 40 */ beq lbl_801AD85C /* 801AD820 001AA780 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801AD824 001AA784 38 61 00 10 */ addi r3, r1, 0x10 /* 801AD828 001AA788 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801AD82C 001AA78C 38 84 00 58 */ addi r4, r4, 0x58 /* 801AD830 001AA790 4B E5 74 89 */ bl string_l__4rstlFPCc /* 801AD834 001AA794 80 9F 00 64 */ lwz r4, 0x64(r31) /* 801AD838 001AA798 7F A3 EB 78 */ mr r3, r29 /* 801AD83C 001AA79C C0 22 A8 AC */ lfs f1, lbl_805AC5CC@sda21(r2) /* 801AD840 001AA7A0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AD844 001AA7A4 80 84 00 10 */ lwz r4, 0x10(r4) /* 801AD848 001AA7A8 3B C0 00 01 */ li r30, 1 /* 801AD84C 001AA7AC C0 42 A8 B0 */ lfs f2, lbl_805AC5D0@sda21(r2) /* 801AD850 001AA7B0 38 C0 00 00 */ li r6, 0 /* 801AD854 001AA7B4 4B FC 81 65 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 801AD858 001AA7B8 7C 7D 1B 78 */ mr r29, r3 lbl_801AD85C: /* 801AD85C 001AA7BC 7C 1D 00 D0 */ neg r0, r29 /* 801AD860 001AA7C0 38 61 00 08 */ addi r3, r1, 8 /* 801AD864 001AA7C4 7C 04 EB 78 */ or r4, r0, r29 /* 801AD868 001AA7C8 38 1F 06 C8 */ addi r0, r31, 0x6c8 /* 801AD86C 001AA7CC 54 84 0F FE */ srwi r4, r4, 0x1f /* 801AD870 001AA7D0 93 A1 00 0C */ stw r29, 0xc(r1) /* 801AD874 001AA7D4 7C 03 00 40 */ cmplw r3, r0 /* 801AD878 001AA7D8 98 81 00 08 */ stb r4, 8(r1) /* 801AD87C 001AA7DC 41 82 00 48 */ beq lbl_801AD8C4 /* 801AD880 001AA7E0 88 1F 06 C8 */ lbz r0, 0x6c8(r31) /* 801AD884 001AA7E4 28 00 00 00 */ cmplwi r0, 0 /* 801AD888 001AA7E8 41 82 00 24 */ beq lbl_801AD8AC /* 801AD88C 001AA7EC 80 7F 06 CC */ lwz r3, 0x6cc(r31) /* 801AD890 001AA7F0 28 03 00 00 */ cmplwi r3, 0 /* 801AD894 001AA7F4 41 82 00 18 */ beq lbl_801AD8AC /* 801AD898 001AA7F8 34 03 00 24 */ addic. r0, r3, 0x24 /* 801AD89C 001AA7FC 41 82 00 0C */ beq lbl_801AD8A8 /* 801AD8A0 001AA800 38 00 00 00 */ li r0, 0 /* 801AD8A4 001AA804 98 03 00 30 */ stb r0, 0x30(r3) lbl_801AD8A8: /* 801AD8A8 001AA808 48 16 80 89 */ bl Free__7CMemoryFPCv lbl_801AD8AC: /* 801AD8AC 001AA80C 88 61 00 08 */ lbz r3, 8(r1) /* 801AD8B0 001AA810 38 00 00 00 */ li r0, 0 /* 801AD8B4 001AA814 98 7F 06 C8 */ stb r3, 0x6c8(r31) /* 801AD8B8 001AA818 80 61 00 0C */ lwz r3, 0xc(r1) /* 801AD8BC 001AA81C 90 7F 06 CC */ stw r3, 0x6cc(r31) /* 801AD8C0 001AA820 98 01 00 08 */ stb r0, 8(r1) lbl_801AD8C4: /* 801AD8C4 001AA824 88 01 00 08 */ lbz r0, 8(r1) /* 801AD8C8 001AA828 28 00 00 00 */ cmplwi r0, 0 /* 801AD8CC 001AA82C 41 82 00 24 */ beq lbl_801AD8F0 /* 801AD8D0 001AA830 80 61 00 0C */ lwz r3, 0xc(r1) /* 801AD8D4 001AA834 28 03 00 00 */ cmplwi r3, 0 /* 801AD8D8 001AA838 41 82 00 18 */ beq lbl_801AD8F0 /* 801AD8DC 001AA83C 34 03 00 24 */ addic. r0, r3, 0x24 /* 801AD8E0 001AA840 41 82 00 0C */ beq lbl_801AD8EC /* 801AD8E4 001AA844 38 00 00 00 */ li r0, 0 /* 801AD8E8 001AA848 98 03 00 30 */ stb r0, 0x30(r3) lbl_801AD8EC: /* 801AD8EC 001AA84C 48 16 80 45 */ bl Free__7CMemoryFPCv lbl_801AD8F0: /* 801AD8F0 001AA850 7F C0 07 75 */ extsb. r0, r30 /* 801AD8F4 001AA854 41 82 00 0C */ beq lbl_801AD900 /* 801AD8F8 001AA858 38 61 00 10 */ addi r3, r1, 0x10 /* 801AD8FC 001AA85C 48 19 01 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801AD900: /* 801AD900 001AA860 80 01 00 84 */ lwz r0, 0x84(r1) /* 801AD904 001AA864 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801AD908 001AA868 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801AD90C 001AA86C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801AD910 001AA870 7C 08 03 A6 */ mtlr r0 /* 801AD914 001AA874 38 21 00 80 */ addi r1, r1, 0x80 /* 801AD918 001AA878 4E 80 00 20 */ blr .global sub_801ad91c sub_801ad91c: /* 801AD91C 001AA87C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AD920 001AA880 7C 08 02 A6 */ mflr r0 /* 801AD924 001AA884 90 01 00 24 */ stw r0, 0x24(r1) /* 801AD928 001AA888 3C 04 00 01 */ addis r0, r4, 1 /* 801AD92C 001AA88C 28 00 FF FF */ cmplwi r0, 0xffff /* 801AD930 001AA890 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AD934 001AA894 7C 7F 1B 78 */ mr r31, r3 /* 801AD938 001AA898 40 82 00 1C */ bne lbl_801AD954 /* 801AD93C 001AA89C 4B FF FE 55 */ bl sub_801ad790 /* 801AD940 001AA8A0 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801AD944 001AA8A4 38 60 00 01 */ li r3, 1 /* 801AD948 001AA8A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801AD94C 001AA8AC 98 1F 08 E4 */ stb r0, 0x8e4(r31) /* 801AD950 001AA8B0 48 00 00 78 */ b lbl_801AD9C8 lbl_801AD954: /* 801AD954 001AA8B4 3C 60 44 47 */ lis r3, 0x44475250@ha /* 801AD958 001AA8B8 90 81 00 14 */ stw r4, 0x14(r1) /* 801AD95C 001AA8BC 38 03 52 50 */ addi r0, r3, 0x44475250@l /* 801AD960 001AA8C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801AD964 001AA8C4 90 01 00 10 */ stw r0, 0x10(r1) /* 801AD968 001AA8C8 38 61 00 08 */ addi r3, r1, 8 /* 801AD96C 001AA8CC 38 A1 00 10 */ addi r5, r1, 0x10 /* 801AD970 001AA8D0 81 84 00 00 */ lwz r12, 0(r4) /* 801AD974 001AA8D4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801AD978 001AA8D8 7D 89 03 A6 */ mtctr r12 /* 801AD97C 001AA8DC 4E 80 04 21 */ bctrl /* 801AD980 001AA8E0 88 1F 08 D0 */ lbz r0, 0x8d0(r31) /* 801AD984 001AA8E4 28 00 00 00 */ cmplwi r0, 0 /* 801AD988 001AA8E8 40 82 00 20 */ bne lbl_801AD9A8 /* 801AD98C 001AA8EC 34 7F 08 C8 */ addic. r3, r31, 0x8c8 /* 801AD990 001AA8F0 41 82 00 0C */ beq lbl_801AD99C /* 801AD994 001AA8F4 38 81 00 08 */ addi r4, r1, 8 /* 801AD998 001AA8F8 48 19 35 11 */ bl __ct__6CTokenFRC6CToken lbl_801AD99C: /* 801AD99C 001AA8FC 38 00 00 01 */ li r0, 1 /* 801AD9A0 001AA900 98 1F 08 D0 */ stb r0, 0x8d0(r31) /* 801AD9A4 001AA904 48 00 00 10 */ b lbl_801AD9B4 lbl_801AD9A8: /* 801AD9A8 001AA908 38 7F 08 C8 */ addi r3, r31, 0x8c8 /* 801AD9AC 001AA90C 38 81 00 08 */ addi r4, r1, 8 /* 801AD9B0 001AA910 48 19 33 15 */ bl __as__6CTokenFRC6CToken lbl_801AD9B4: /* 801AD9B4 001AA914 38 61 00 08 */ addi r3, r1, 8 /* 801AD9B8 001AA918 38 80 FF FF */ li r4, -1 /* 801AD9BC 001AA91C 48 19 34 85 */ bl __dt__6CTokenFv /* 801AD9C0 001AA920 38 7F 08 C8 */ addi r3, r31, 0x8c8 /* 801AD9C4 001AA924 48 19 33 C1 */ bl Lock__6CTokenFv lbl_801AD9C8: /* 801AD9C8 001AA928 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AD9CC 001AA92C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AD9D0 001AA930 7C 08 03 A6 */ mtlr r0 /* 801AD9D4 001AA934 38 21 00 20 */ addi r1, r1, 0x20 /* 801AD9D8 001AA938 4E 80 00 20 */ blr .global sub_801ad9dc sub_801ad9dc: /* 801AD9DC 001AA93C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AD9E0 001AA940 7C 08 02 A6 */ mflr r0 /* 801AD9E4 001AA944 90 01 00 24 */ stw r0, 0x24(r1) /* 801AD9E8 001AA948 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AD9EC 001AA94C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AD9F0 001AA950 7C 9E 23 78 */ mr r30, r4 /* 801AD9F4 001AA954 93 A1 00 14 */ stw r29, 0x14(r1) /* 801AD9F8 001AA958 7C 7D 1B 78 */ mr r29, r3 /* 801AD9FC 001AA95C 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801ADA00 001AA960 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ADA04 001AA964 40 82 00 5C */ bne lbl_801ADA60 /* 801ADA08 001AA968 38 7D 08 C8 */ addi r3, r29, 0x8c8 /* 801ADA0C 001AA96C 48 19 34 01 */ bl GetObj__6CTokenFv /* 801ADA10 001AA970 7F A3 EB 78 */ mr r3, r29 /* 801ADA14 001AA974 7F C4 F3 78 */ mr r4, r30 /* 801ADA18 001AA978 48 00 00 E1 */ bl sub_801adaf8 /* 801ADA1C 001AA97C 88 1D 08 E4 */ lbz r0, 0x8e4(r29) /* 801ADA20 001AA980 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801ADA24 001AA984 40 82 00 3C */ bne lbl_801ADA60 /* 801ADA28 001AA988 83 FD 08 E0 */ lwz r31, 0x8e0(r29) /* 801ADA2C 001AA98C 48 00 00 10 */ b lbl_801ADA3C lbl_801ADA30: /* 801ADA30 001AA990 7F E3 FB 78 */ mr r3, r31 /* 801ADA34 001AA994 48 19 33 D9 */ bl GetObj__6CTokenFv /* 801ADA38 001AA998 3B FF 00 08 */ addi r31, r31, 8 lbl_801ADA3C: /* 801ADA3C 001AA99C 80 1D 08 D8 */ lwz r0, 0x8d8(r29) /* 801ADA40 001AA9A0 80 7D 08 E0 */ lwz r3, 0x8e0(r29) /* 801ADA44 001AA9A4 54 00 18 38 */ slwi r0, r0, 3 /* 801ADA48 001AA9A8 7C 03 02 14 */ add r0, r3, r0 /* 801ADA4C 001AA9AC 7C 1F 00 40 */ cmplw r31, r0 /* 801ADA50 001AA9B0 40 82 FF E0 */ bne lbl_801ADA30 /* 801ADA54 001AA9B4 7F A3 EB 78 */ mr r3, r29 /* 801ADA58 001AA9B8 7F C4 F3 78 */ mr r4, r30 /* 801ADA5C 001AA9BC 48 00 00 21 */ bl sub_801ada7c lbl_801ADA60: /* 801ADA60 001AA9C0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801ADA64 001AA9C4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801ADA68 001AA9C8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801ADA6C 001AA9CC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801ADA70 001AA9D0 7C 08 03 A6 */ mtlr r0 /* 801ADA74 001AA9D4 38 21 00 20 */ addi r1, r1, 0x20 /* 801ADA78 001AA9D8 4E 80 00 20 */ blr .global sub_801ada7c sub_801ada7c: /* 801ADA7C 001AA9DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801ADA80 001AA9E0 7C 08 02 A6 */ mflr r0 /* 801ADA84 001AA9E4 38 A0 00 01 */ li r5, 1 /* 801ADA88 001AA9E8 90 01 00 14 */ stw r0, 0x14(r1) /* 801ADA8C 001AA9EC 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801ADA90 001AA9F0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801ADA94 001AA9F4 98 03 08 E4 */ stb r0, 0x8e4(r3) /* 801ADA98 001AA9F8 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801ADA9C 001AA9FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801ADAA0 001AAA00 41 82 00 44 */ beq lbl_801ADAE4 /* 801ADAA4 001AAA04 80 E3 00 04 */ lwz r7, 4(r3) /* 801ADAA8 001AAA08 38 A0 00 00 */ li r5, 0 /* 801ADAAC 001AAA0C 80 C4 08 50 */ lwz r6, 0x850(r4) /* 801ADAB0 001AAA10 54 E4 18 38 */ slwi r4, r7, 3 /* 801ADAB4 001AAA14 90 E1 00 0C */ stw r7, 0xc(r1) /* 801ADAB8 001AAA18 80 C6 00 20 */ lwz r6, 0x20(r6) /* 801ADABC 001AAA1C 38 04 00 04 */ addi r0, r4, 4 /* 801ADAC0 001AAA20 90 E1 00 08 */ stw r7, 8(r1) /* 801ADAC4 001AAA24 7C 86 00 2E */ lwzx r4, r6, r0 /* 801ADAC8 001AAA28 80 C4 01 2C */ lwz r6, 0x12c(r4) /* 801ADACC 001AAA2C 80 86 11 3C */ lwz r4, 0x113c(r6) /* 801ADAD0 001AAA30 38 04 FF FF */ addi r0, r4, -1 /* 801ADAD4 001AAA34 90 06 11 3C */ stw r0, 0x113c(r6) /* 801ADAD8 001AAA38 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801ADADC 001AAA3C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801ADAE0 001AAA40 98 03 08 E4 */ stb r0, 0x8e4(r3) lbl_801ADAE4: /* 801ADAE4 001AAA44 4B FF FC AD */ bl sub_801ad790 /* 801ADAE8 001AAA48 80 01 00 14 */ lwz r0, 0x14(r1) /* 801ADAEC 001AAA4C 7C 08 03 A6 */ mtlr r0 /* 801ADAF0 001AAA50 38 21 00 10 */ addi r1, r1, 0x10 /* 801ADAF4 001AAA54 4E 80 00 20 */ blr .global sub_801adaf8 sub_801adaf8: /* 801ADAF8 001AAA58 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801ADAFC 001AAA5C 7C 08 02 A6 */ mflr r0 /* 801ADB00 001AAA60 90 01 00 44 */ stw r0, 0x44(r1) /* 801ADB04 001AAA64 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801ADB08 001AAA68 7C 7F 1B 78 */ mr r31, r3 /* 801ADB0C 001AAA6C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801ADB10 001AAA70 93 A1 00 34 */ stw r29, 0x34(r1) /* 801ADB14 001AAA74 93 81 00 30 */ stw r28, 0x30(r1) /* 801ADB18 001AAA78 7C 9C 23 78 */ mr r28, r4 /* 801ADB1C 001AAA7C 80 03 08 D8 */ lwz r0, 0x8d8(r3) /* 801ADB20 001AAA80 2C 00 00 00 */ cmpwi r0, 0 /* 801ADB24 001AAA84 41 82 00 3C */ beq lbl_801ADB60 /* 801ADB28 001AAA88 80 BF 08 E0 */ lwz r5, 0x8e0(r31) /* 801ADB2C 001AAA8C 54 00 18 38 */ slwi r0, r0, 3 /* 801ADB30 001AAA90 7C 85 02 14 */ add r4, r5, r0 /* 801ADB34 001AAA94 48 00 00 18 */ b lbl_801ADB4C lbl_801ADB38: /* 801ADB38 001AAA98 80 65 00 00 */ lwz r3, 0(r5) /* 801ADB3C 001AAA9C 80 03 00 10 */ lwz r0, 0x10(r3) /* 801ADB40 001AAAA0 28 00 00 00 */ cmplwi r0, 0 /* 801ADB44 001AAAA4 41 82 01 50 */ beq lbl_801ADC94 /* 801ADB48 001AAAA8 38 A5 00 08 */ addi r5, r5, 8 lbl_801ADB4C: /* 801ADB4C 001AAAAC 7C 05 20 40 */ cmplw r5, r4 /* 801ADB50 001AAAB0 40 82 FF E8 */ bne lbl_801ADB38 /* 801ADB54 001AAAB4 7F E3 FB 78 */ mr r3, r31 /* 801ADB58 001AAAB8 7F 84 E3 78 */ mr r4, r28 /* 801ADB5C 001AAABC 4B FF FF 21 */ bl sub_801ada7c lbl_801ADB60: /* 801ADB60 001AAAC0 80 7F 08 C8 */ lwz r3, 0x8c8(r31) /* 801ADB64 001AAAC4 80 03 00 10 */ lwz r0, 0x10(r3) /* 801ADB68 001AAAC8 28 00 00 00 */ cmplwi r0, 0 /* 801ADB6C 001AAACC 41 82 01 28 */ beq lbl_801ADC94 /* 801ADB70 001AAAD0 3B A1 00 18 */ addi r29, r1, 0x18 /* 801ADB74 001AAAD4 38 9F 08 C8 */ addi r4, r31, 0x8c8 /* 801ADB78 001AAAD8 7F A3 EB 78 */ mr r3, r29 /* 801ADB7C 001AAADC 48 19 33 2D */ bl __ct__6CTokenFRC6CToken /* 801ADB80 001AAAE0 7F A3 EB 78 */ mr r3, r29 /* 801ADB84 001AAAE4 48 19 32 89 */ bl GetObj__6CTokenFv /* 801ADB88 001AAAE8 83 C3 00 04 */ lwz r30, 4(r3) /* 801ADB8C 001AAAEC 93 C1 00 20 */ stw r30, 0x20(r1) /* 801ADB90 001AAAF0 80 9E 00 04 */ lwz r4, 4(r30) /* 801ADB94 001AAAF4 2C 04 00 00 */ cmpwi r4, 0 /* 801ADB98 001AAAF8 40 82 00 20 */ bne lbl_801ADBB8 /* 801ADB9C 001AAAFC 7F E3 FB 78 */ mr r3, r31 /* 801ADBA0 001AAB00 7F 84 E3 78 */ mr r4, r28 /* 801ADBA4 001AAB04 4B FF FE D9 */ bl sub_801ada7c /* 801ADBA8 001AAB08 7F A3 EB 78 */ mr r3, r29 /* 801ADBAC 001AAB0C 38 80 00 00 */ li r4, 0 /* 801ADBB0 001AAB10 48 19 32 91 */ bl __dt__6CTokenFv /* 801ADBB4 001AAB14 48 00 00 E0 */ b lbl_801ADC94 lbl_801ADBB8: /* 801ADBB8 001AAB18 80 1F 08 D8 */ lwz r0, 0x8d8(r31) /* 801ADBBC 001AAB1C 2C 00 00 00 */ cmpwi r0, 0 /* 801ADBC0 001AAB20 40 82 00 C8 */ bne lbl_801ADC88 /* 801ADBC4 001AAB24 38 7F 08 D4 */ addi r3, r31, 0x8d4 /* 801ADBC8 001AAB28 4B E5 AD 95 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" /* 801ADBCC 001AAB2C 3B 80 00 00 */ li r28, 0 /* 801ADBD0 001AAB30 3B A0 00 00 */ li r29, 0 /* 801ADBD4 001AAB34 48 00 00 A8 */ b lbl_801ADC7C lbl_801ADBD8: /* 801ADBD8 001AAB38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801ADBDC 001AAB3C 38 61 00 08 */ addi r3, r1, 8 /* 801ADBE0 001AAB40 80 1E 00 0C */ lwz r0, 0xc(r30) /* 801ADBE4 001AAB44 81 84 00 00 */ lwz r12, 0(r4) /* 801ADBE8 001AAB48 7C A0 EA 14 */ add r5, r0, r29 /* 801ADBEC 001AAB4C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801ADBF0 001AAB50 7D 89 03 A6 */ mtctr r12 /* 801ADBF4 001AAB54 4E 80 04 21 */ bctrl /* 801ADBF8 001AAB58 38 61 00 10 */ addi r3, r1, 0x10 /* 801ADBFC 001AAB5C 38 81 00 08 */ addi r4, r1, 8 /* 801ADC00 001AAB60 48 19 32 A9 */ bl __ct__6CTokenFRC6CToken /* 801ADC04 001AAB64 38 61 00 08 */ addi r3, r1, 8 /* 801ADC08 001AAB68 38 80 FF FF */ li r4, -1 /* 801ADC0C 001AAB6C 48 19 32 35 */ bl __dt__6CTokenFv /* 801ADC10 001AAB70 38 61 00 10 */ addi r3, r1, 0x10 /* 801ADC14 001AAB74 48 19 31 71 */ bl Lock__6CTokenFv /* 801ADC18 001AAB78 80 1F 08 D8 */ lwz r0, 0x8d8(r31) /* 801ADC1C 001AAB7C 80 BF 08 DC */ lwz r5, 0x8dc(r31) /* 801ADC20 001AAB80 7C 00 28 00 */ cmpw r0, r5 /* 801ADC24 001AAB84 41 80 00 1C */ blt lbl_801ADC40 /* 801ADC28 001AAB88 2C 05 00 00 */ cmpwi r5, 0 /* 801ADC2C 001AAB8C 38 7F 08 D4 */ addi r3, r31, 0x8d4 /* 801ADC30 001AAB90 38 80 00 04 */ li r4, 4 /* 801ADC34 001AAB94 41 82 00 08 */ beq lbl_801ADC3C /* 801ADC38 001AAB98 54 A4 08 3C */ slwi r4, r5, 1 lbl_801ADC3C: /* 801ADC3C 001AAB9C 4B E5 AD 21 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" lbl_801ADC40: /* 801ADC40 001AABA0 80 1F 08 D8 */ lwz r0, 0x8d8(r31) /* 801ADC44 001AABA4 80 7F 08 E0 */ lwz r3, 0x8e0(r31) /* 801ADC48 001AABA8 54 00 18 38 */ slwi r0, r0, 3 /* 801ADC4C 001AABAC 7C 63 02 15 */ add. r3, r3, r0 /* 801ADC50 001AABB0 41 82 00 0C */ beq lbl_801ADC5C /* 801ADC54 001AABB4 38 81 00 10 */ addi r4, r1, 0x10 /* 801ADC58 001AABB8 48 19 32 51 */ bl __ct__6CTokenFRC6CToken lbl_801ADC5C: /* 801ADC5C 001AABBC 80 BF 08 D8 */ lwz r5, 0x8d8(r31) /* 801ADC60 001AABC0 38 61 00 10 */ addi r3, r1, 0x10 /* 801ADC64 001AABC4 38 80 FF FF */ li r4, -1 /* 801ADC68 001AABC8 38 05 00 01 */ addi r0, r5, 1 /* 801ADC6C 001AABCC 90 1F 08 D8 */ stw r0, 0x8d8(r31) /* 801ADC70 001AABD0 48 19 31 D1 */ bl __dt__6CTokenFv /* 801ADC74 001AABD4 3B BD 00 08 */ addi r29, r29, 8 /* 801ADC78 001AABD8 3B 9C 00 01 */ addi r28, r28, 1 lbl_801ADC7C: /* 801ADC7C 001AABDC 80 1E 00 04 */ lwz r0, 4(r30) /* 801ADC80 001AABE0 7C 1C 00 00 */ cmpw r28, r0 /* 801ADC84 001AABE4 41 80 FF 54 */ blt lbl_801ADBD8 lbl_801ADC88: /* 801ADC88 001AABE8 38 61 00 18 */ addi r3, r1, 0x18 /* 801ADC8C 001AABEC 38 80 00 00 */ li r4, 0 /* 801ADC90 001AABF0 48 19 31 B1 */ bl __dt__6CTokenFv lbl_801ADC94: /* 801ADC94 001AABF4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801ADC98 001AABF8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801ADC9C 001AABFC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801ADCA0 001AAC00 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801ADCA4 001AAC04 83 81 00 30 */ lwz r28, 0x30(r1) /* 801ADCA8 001AAC08 7C 08 03 A6 */ mtlr r0 /* 801ADCAC 001AAC0C 38 21 00 40 */ addi r1, r1, 0x40 /* 801ADCB0 001AAC10 4E 80 00 20 */ blr .global sub_801adcb4 sub_801adcb4: /* 801ADCB4 001AAC14 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801ADCB8 001AAC18 7C 08 02 A6 */ mflr r0 /* 801ADCBC 001AAC1C 90 01 00 64 */ stw r0, 0x64(r1) /* 801ADCC0 001AAC20 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 801ADCC4 001AAC24 7C 7D 1B 78 */ mr r29, r3 /* 801ADCC8 001AAC28 7C 9E 23 78 */ mr r30, r4 /* 801ADCCC 001AAC2C 7C BF 2B 78 */ mr r31, r5 /* 801ADCD0 001AAC30 3B 60 00 00 */ li r27, 0 /* 801ADCD4 001AAC34 81 83 00 00 */ lwz r12, 0(r3) /* 801ADCD8 001AAC38 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801ADCDC 001AAC3C 7D 89 03 A6 */ mtctr r12 /* 801ADCE0 001AAC40 4E 80 04 21 */ bctrl /* 801ADCE4 001AAC44 7C 7C 1B 78 */ mr r28, r3 /* 801ADCE8 001AAC48 80 03 00 08 */ lwz r0, 8(r3) /* 801ADCEC 001AAC4C 28 00 00 00 */ cmplwi r0, 0 /* 801ADCF0 001AAC50 41 82 00 0C */ beq lbl_801ADCFC /* 801ADCF4 001AAC54 38 60 00 01 */ li r3, 1 /* 801ADCF8 001AAC58 48 00 00 38 */ b lbl_801ADD30 lbl_801ADCFC: /* 801ADCFC 001AAC5C 88 1C 00 04 */ lbz r0, 4(r28) /* 801ADD00 001AAC60 28 00 00 00 */ cmplwi r0, 0 /* 801ADD04 001AAC64 41 82 00 28 */ beq lbl_801ADD2C /* 801ADD08 001AAC68 80 9C 00 00 */ lwz r4, 0(r28) /* 801ADD0C 001AAC6C 80 04 00 10 */ lwz r0, 0x10(r4) /* 801ADD10 001AAC70 28 00 00 00 */ cmplwi r0, 0 /* 801ADD14 001AAC74 41 82 00 18 */ beq lbl_801ADD2C /* 801ADD18 001AAC78 48 19 30 F5 */ bl GetObj__6CTokenFv /* 801ADD1C 001AAC7C 80 03 00 04 */ lwz r0, 4(r3) /* 801ADD20 001AAC80 38 60 00 01 */ li r3, 1 /* 801ADD24 001AAC84 90 1C 00 08 */ stw r0, 8(r28) /* 801ADD28 001AAC88 48 00 00 08 */ b lbl_801ADD30 lbl_801ADD2C: /* 801ADD2C 001AAC8C 38 60 00 00 */ li r3, 0 lbl_801ADD30: /* 801ADD30 001AAC90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801ADD34 001AAC94 41 82 01 34 */ beq lbl_801ADE68 /* 801ADD38 001AAC98 A0 1D 00 08 */ lhz r0, 8(r29) /* 801ADD3C 001AAC9C 7F E3 FB 78 */ mr r3, r31 /* 801ADD40 001AACA0 38 81 00 1C */ addi r4, r1, 0x1c /* 801ADD44 001AACA4 38 A0 00 09 */ li r5, 9 /* 801ADD48 001AACA8 B0 01 00 18 */ sth r0, 0x18(r1) /* 801ADD4C 001AACAC 38 C0 00 06 */ li r6, 6 /* 801ADD50 001AACB0 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801ADD54 001AACB4 4B E9 79 DD */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei /* 801ADD58 001AACB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801ADD5C 001AACBC 41 82 01 0C */ beq lbl_801ADE68 /* 801ADD60 001AACC0 7F A3 EB 78 */ mr r3, r29 /* 801ADD64 001AACC4 81 9D 00 00 */ lwz r12, 0(r29) /* 801ADD68 001AACC8 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801ADD6C 001AACCC 7D 89 03 A6 */ mtctr r12 /* 801ADD70 001AACD0 4E 80 04 21 */ bctrl /* 801ADD74 001AACD4 80 03 00 0C */ lwz r0, 0xc(r3) /* 801ADD78 001AACD8 90 01 00 28 */ stw r0, 0x28(r1) /* 801ADD7C 001AACDC 88 03 00 10 */ lbz r0, 0x10(r3) /* 801ADD80 001AACE0 98 01 00 2C */ stb r0, 0x2c(r1) /* 801ADD84 001AACE4 C0 23 00 14 */ lfs f1, 0x14(r3) /* 801ADD88 001AACE8 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801ADD8C 001AACEC C0 03 00 18 */ lfs f0, 0x18(r3) /* 801ADD90 001AACF0 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801ADD94 001AACF4 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801ADD98 001AACF8 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801ADD9C 001AACFC C0 03 00 20 */ lfs f0, 0x20(r3) /* 801ADDA0 001AAD00 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801ADDA4 001AAD04 88 03 00 24 */ lbz r0, 0x24(r3) /* 801ADDA8 001AAD08 98 01 00 40 */ stb r0, 0x40(r1) /* 801ADDAC 001AAD0C 80 1D 07 88 */ lwz r0, 0x788(r29) /* 801ADDB0 001AAD10 2C 00 00 02 */ cmpwi r0, 2 /* 801ADDB4 001AAD14 41 80 00 10 */ blt lbl_801ADDC4 /* 801ADDB8 001AAD18 C0 02 A8 B4 */ lfs f0, lbl_805AC5D4@sda21(r2) /* 801ADDBC 001AAD1C EC 00 00 72 */ fmuls f0, f0, f1 /* 801ADDC0 001AAD20 D0 01 00 30 */ stfs f0, 0x30(r1) lbl_801ADDC4: /* 801ADDC4 001AAD24 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801ADDC8 001AAD28 38 60 03 E0 */ li r3, 0x3e0 /* 801ADDCC 001AAD2C 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801ADDD0 001AAD30 38 A0 00 00 */ li r5, 0 /* 801ADDD4 001AAD34 38 84 00 7E */ addi r4, r4, 0x7e /* 801ADDD8 001AAD38 48 16 7A 95 */ bl __nw__FUlPCcPCc /* 801ADDDC 001AAD3C 7C 7C 1B 79 */ or. r28, r3, r3 /* 801ADDE0 001AAD40 41 82 00 70 */ beq lbl_801ADE50 /* 801ADDE4 001AAD44 A0 BD 00 08 */ lhz r5, 8(r29) /* 801ADDE8 001AAD48 7F E4 FB 78 */ mr r4, r31 /* 801ADDEC 001AAD4C 38 61 00 08 */ addi r3, r1, 8 /* 801ADDF0 001AAD50 B0 A1 00 14 */ sth r5, 0x14(r1) /* 801ADDF4 001AAD54 80 1D 00 04 */ lwz r0, 4(r29) /* 801ADDF8 001AAD58 B0 A1 00 10 */ sth r5, 0x10(r1) /* 801ADDFC 001AAD5C 90 01 00 20 */ stw r0, 0x20(r1) /* 801ADE00 001AAD60 90 01 00 24 */ stw r0, 0x24(r1) /* 801ADE04 001AAD64 4B E9 F2 D9 */ bl AllocateUniqueId__13CStateManagerFv /* 801ADE08 001AAD68 A0 01 00 08 */ lhz r0, 8(r1) /* 801ADE0C 001AAD6C 7F A3 EB 78 */ mr r3, r29 /* 801ADE10 001AAD70 B0 01 00 0C */ sth r0, 0xc(r1) /* 801ADE14 001AAD74 81 9D 00 00 */ lwz r12, 0(r29) /* 801ADE18 001AAD78 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801ADE1C 001AAD7C 7D 89 03 A6 */ mtctr r12 /* 801ADE20 001AAD80 4E 80 04 21 */ bctrl /* 801ADE24 001AAD84 88 1D 08 E4 */ lbz r0, 0x8e4(r29) /* 801ADE28 001AAD88 7C 65 1B 78 */ mr r5, r3 /* 801ADE2C 001AAD8C 7F 83 E3 78 */ mr r3, r28 /* 801ADE30 001AAD90 7F C6 F3 78 */ mr r6, r30 /* 801ADE34 001AAD94 54 04 FF FE */ rlwinm r4, r0, 0x1f, 0x1f, 0x1f /* 801ADE38 001AAD98 38 E1 00 28 */ addi r7, r1, 0x28 /* 801ADE3C 001AAD9C 39 01 00 0C */ addi r8, r1, 0xc /* 801ADE40 001AADA0 39 21 00 24 */ addi r9, r1, 0x24 /* 801ADE44 001AADA4 39 41 00 14 */ addi r10, r1, 0x14 /* 801ADE48 001AADA8 48 00 65 7D */ bl "__ct__19CFlaahgraProjectileFbRC28TToken<18CWeaponDescription>RC12CTransform4fRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId" /* 801ADE4C 001AADAC 7C 7C 1B 78 */ mr r28, r3 lbl_801ADE50: /* 801ADE50 001AADB0 28 1C 00 00 */ cmplwi r28, 0 /* 801ADE54 001AADB4 7F 9B E3 78 */ mr r27, r28 /* 801ADE58 001AADB8 41 82 00 10 */ beq lbl_801ADE68 /* 801ADE5C 001AADBC 7F E3 FB 78 */ mr r3, r31 /* 801ADE60 001AADC0 7F 84 E3 78 */ mr r4, r28 /* 801ADE64 001AADC4 4B E9 EE 91 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence lbl_801ADE68: /* 801ADE68 001AADC8 7F 63 DB 78 */ mr r3, r27 /* 801ADE6C 001AADCC BB 61 00 4C */ lmw r27, 0x4c(r1) /* 801ADE70 001AADD0 80 01 00 64 */ lwz r0, 0x64(r1) /* 801ADE74 001AADD4 7C 08 03 A6 */ mtlr r0 /* 801ADE78 001AADD8 38 21 00 60 */ addi r1, r1, 0x60 /* 801ADE7C 001AADDC 4E 80 00 20 */ blr .global sub_801ade80 sub_801ade80: /* 801ADE80 001AADE0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801ADE84 001AADE4 80 03 07 AC */ lwz r0, 0x7ac(r3) /* 801ADE88 001AADE8 C0 A3 00 38 */ lfs f5, 0x38(r3) /* 801ADE8C 001AADEC 2C 00 00 00 */ cmpwi r0, 0 /* 801ADE90 001AADF0 C0 C3 00 48 */ lfs f6, 0x48(r3) /* 801ADE94 001AADF4 C0 E3 00 58 */ lfs f7, 0x58(r3) /* 801ADE98 001AADF8 40 82 00 3C */ bne lbl_801ADED4 /* 801ADE9C 001AADFC C0 83 00 54 */ lfs f4, 0x54(r3) /* 801ADEA0 001AAE00 38 81 00 14 */ addi r4, r1, 0x14 /* 801ADEA4 001AAE04 C0 43 00 44 */ lfs f2, 0x44(r3) /* 801ADEA8 001AAE08 C0 63 00 34 */ lfs f3, 0x34(r3) /* 801ADEAC 001AAE0C FC 00 20 50 */ fneg f0, f4 /* 801ADEB0 001AAE10 FC 20 10 50 */ fneg f1, f2 /* 801ADEB4 001AAE14 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801ADEB8 001AAE18 FC 40 18 50 */ fneg f2, f3 /* 801ADEBC 001AAE1C D0 61 00 20 */ stfs f3, 0x20(r1) /* 801ADEC0 001AAE20 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801ADEC4 001AAE24 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801ADEC8 001AAE28 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801ADECC 001AAE2C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801ADED0 001AAE30 48 00 00 20 */ b lbl_801ADEF0 lbl_801ADED4: /* 801ADED4 001AAE34 C0 43 00 54 */ lfs f2, 0x54(r3) /* 801ADED8 001AAE38 38 81 00 08 */ addi r4, r1, 8 /* 801ADEDC 001AAE3C C0 23 00 44 */ lfs f1, 0x44(r3) /* 801ADEE0 001AAE40 C0 03 00 34 */ lfs f0, 0x34(r3) /* 801ADEE4 001AAE44 D0 01 00 08 */ stfs f0, 8(r1) /* 801ADEE8 001AAE48 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801ADEEC 001AAE4C D0 41 00 10 */ stfs f2, 0x10(r1) lbl_801ADEF0: /* 801ADEF0 001AAE50 C0 44 00 00 */ lfs f2, 0(r4) /* 801ADEF4 001AAE54 C0 64 00 04 */ lfs f3, 4(r4) /* 801ADEF8 001AAE58 C0 84 00 08 */ lfs f4, 8(r4) /* 801ADEFC 001AAE5C C1 62 A8 B8 */ lfs f11, lbl_805AC5D8@sda21(r2) /* 801ADF00 001AAE60 D0 43 08 94 */ stfs f2, 0x894(r3) /* 801ADF04 001AAE64 D0 63 08 98 */ stfs f3, 0x898(r3) /* 801ADF08 001AAE68 D0 83 08 9C */ stfs f4, 0x89c(r3) /* 801ADF0C 001AAE6C 80 03 07 AC */ lwz r0, 0x7ac(r3) /* 801ADF10 001AAE70 2C 00 00 00 */ cmpwi r0, 0 /* 801ADF14 001AAE74 40 82 00 0C */ bne lbl_801ADF20 /* 801ADF18 001AAE78 38 A3 08 60 */ addi r5, r3, 0x860 /* 801ADF1C 001AAE7C 48 00 00 08 */ b lbl_801ADF24 lbl_801ADF20: /* 801ADF20 001AAE80 38 A3 08 2C */ addi r5, r3, 0x82c lbl_801ADF24: /* 801ADF24 001AAE84 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801ADF28 001AAE88 38 C5 00 04 */ addi r6, r5, 4 /* 801ADF2C 001AAE8C 48 00 00 58 */ b lbl_801ADF84 lbl_801ADF30: /* 801ADF30 001AAE90 C1 06 00 04 */ lfs f8, 4(r6) /* 801ADF34 001AAE94 C1 26 00 00 */ lfs f9, 0(r6) /* 801ADF38 001AAE98 EC 03 02 32 */ fmuls f0, f3, f8 /* 801ADF3C 001AAE9C C1 46 00 08 */ lfs f10, 8(r6) /* 801ADF40 001AAEA0 EC 02 02 7A */ fmadds f0, f2, f9, f0 /* 801ADF44 001AAEA4 EC 04 02 BA */ fmadds f0, f4, f10, f0 /* 801ADF48 001AAEA8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801ADF4C 001AAEAC 4C 41 13 82 */ cror 2, 1, 2 /* 801ADF50 001AAEB0 40 82 00 30 */ bne lbl_801ADF80 /* 801ADF54 001AAEB4 EC 06 02 32 */ fmuls f0, f6, f8 /* 801ADF58 001AAEB8 EC 05 02 7A */ fmadds f0, f5, f9, f0 /* 801ADF5C 001AAEBC EC 07 02 BA */ fmadds f0, f7, f10, f0 /* 801ADF60 001AAEC0 FC 00 58 40 */ fcmpo cr0, f0, f11 /* 801ADF64 001AAEC4 40 81 00 1C */ ble lbl_801ADF80 /* 801ADF68 001AAEC8 D1 23 08 94 */ stfs f9, 0x894(r3) /* 801ADF6C 001AAECC FD 60 00 90 */ fmr f11, f0 /* 801ADF70 001AAED0 C0 06 00 04 */ lfs f0, 4(r6) /* 801ADF74 001AAED4 D0 03 08 98 */ stfs f0, 0x898(r3) /* 801ADF78 001AAED8 C0 06 00 08 */ lfs f0, 8(r6) /* 801ADF7C 001AAEDC D0 03 08 9C */ stfs f0, 0x89c(r3) lbl_801ADF80: /* 801ADF80 001AAEE0 38 C6 00 0C */ addi r6, r6, 0xc lbl_801ADF84: /* 801ADF84 001AAEE4 80 05 00 00 */ lwz r0, 0(r5) /* 801ADF88 001AAEE8 1C 00 00 0C */ mulli r0, r0, 0xc /* 801ADF8C 001AAEEC 7C 85 02 14 */ add r4, r5, r0 /* 801ADF90 001AAEF0 38 04 00 04 */ addi r0, r4, 4 /* 801ADF94 001AAEF4 7C 06 00 40 */ cmplw r6, r0 /* 801ADF98 001AAEF8 40 82 FF 98 */ bne lbl_801ADF30 /* 801ADF9C 001AAEFC 38 21 00 30 */ addi r1, r1, 0x30 /* 801ADFA0 001AAF00 4E 80 00 20 */ blr .global sub_801adfa4 sub_801adfa4: /* 801ADFA4 001AAF04 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801ADFA8 001AAF08 7C 08 02 A6 */ mflr r0 /* 801ADFAC 001AAF0C 90 01 00 74 */ stw r0, 0x74(r1) /* 801ADFB0 001AAF10 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801ADFB4 001AAF14 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801ADFB8 001AAF18 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801ADFBC 001AAF1C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801ADFC0 001AAF20 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801ADFC4 001AAF24 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801ADFC8 001AAF28 DB 81 00 30 */ stfd f28, 0x30(r1) /* 801ADFCC 001AAF2C F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 /* 801ADFD0 001AAF30 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801ADFD4 001AAF34 7C BC 2B 78 */ mr r28, r5 /* 801ADFD8 001AAF38 7C 9B 23 78 */ mr r27, r4 /* 801ADFDC 001AAF3C 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801ADFE0 001AAF40 3B DB 07 74 */ addi r30, r27, 0x774 /* 801ADFE4 001AAF44 A3 ED A3 8C */ lhz r31, lbl_805A8F4C@sda21(r13) /* 801ADFE8 001AAF48 7C 7A 1B 78 */ mr r26, r3 /* 801ADFEC 001AAF4C C3 82 A8 C0 */ lfs f28, lbl_805AC5E0@sda21(r2) /* 801ADFF0 001AAF50 7F DD F3 78 */ mr r29, r30 /* 801ADFF4 001AAF54 C3 E4 00 40 */ lfs f31, 0x40(r4) /* 801ADFF8 001AAF58 C3 C4 00 50 */ lfs f30, 0x50(r4) /* 801ADFFC 001AAF5C C3 A4 00 60 */ lfs f29, 0x60(r4) /* 801AE000 001AAF60 48 00 00 64 */ b lbl_801AE064 lbl_801AE004: /* 801AE004 001AAF64 A0 1D 00 00 */ lhz r0, 0(r29) /* 801AE008 001AAF68 7F 83 E3 78 */ mr r3, r28 /* 801AE00C 001AAF6C 38 81 00 08 */ addi r4, r1, 8 /* 801AE010 001AAF70 B0 01 00 08 */ sth r0, 8(r1) /* 801AE014 001AAF74 4B E9 E5 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AE018 001AAF78 28 03 00 00 */ cmplwi r3, 0 /* 801AE01C 001AAF7C 41 82 00 44 */ beq lbl_801AE060 /* 801AE020 001AAF80 88 03 00 30 */ lbz r0, 0x30(r3) /* 801AE024 001AAF84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801AE028 001AAF88 41 82 00 38 */ beq lbl_801AE060 /* 801AE02C 001AAF8C C0 03 00 50 */ lfs f0, 0x50(r3) /* 801AE030 001AAF90 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801AE034 001AAF94 EC 40 F0 28 */ fsubs f2, f0, f30 /* 801AE038 001AAF98 C0 03 00 60 */ lfs f0, 0x60(r3) /* 801AE03C 001AAF9C EC 61 F8 28 */ fsubs f3, f1, f31 /* 801AE040 001AAFA0 EC 20 E8 28 */ fsubs f1, f0, f29 /* 801AE044 001AAFA4 EC 02 00 B2 */ fmuls f0, f2, f2 /* 801AE048 001AAFA8 EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 801AE04C 001AAFAC EC 01 00 7A */ fmadds f0, f1, f1, f0 /* 801AE050 001AAFB0 FC 00 E0 40 */ fcmpo cr0, f0, f28 /* 801AE054 001AAFB4 40 81 00 0C */ ble lbl_801AE060 /* 801AE058 001AAFB8 A3 FD 00 00 */ lhz r31, 0(r29) /* 801AE05C 001AAFBC FF 80 00 90 */ fmr f28, f0 lbl_801AE060: /* 801AE060 001AAFC0 3B BD 00 02 */ addi r29, r29, 2 lbl_801AE064: /* 801AE064 001AAFC4 80 1B 07 70 */ lwz r0, 0x770(r27) /* 801AE068 001AAFC8 54 00 08 3C */ slwi r0, r0, 1 /* 801AE06C 001AAFCC 7C 1E 02 14 */ add r0, r30, r0 /* 801AE070 001AAFD0 7C 1D 00 40 */ cmplw r29, r0 /* 801AE074 001AAFD4 40 82 FF 90 */ bne lbl_801AE004 /* 801AE078 001AAFD8 B3 FA 00 00 */ sth r31, 0(r26) /* 801AE07C 001AAFDC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801AE080 001AAFE0 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801AE084 001AAFE4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801AE088 001AAFE8 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801AE08C 001AAFEC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801AE090 001AAFF0 CB A1 00 40 */ lfd f29, 0x40(r1) /* 801AE094 001AAFF4 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 /* 801AE098 001AAFF8 CB 81 00 30 */ lfd f28, 0x30(r1) /* 801AE09C 001AAFFC BB 41 00 18 */ lmw r26, 0x18(r1) /* 801AE0A0 001AB000 80 01 00 74 */ lwz r0, 0x74(r1) /* 801AE0A4 001AB004 7C 08 03 A6 */ mtlr r0 /* 801AE0A8 001AB008 38 21 00 70 */ addi r1, r1, 0x70 /* 801AE0AC 001AB00C 4E 80 00 20 */ blr .global sub_801ae0b0 sub_801ae0b0: /* 801AE0B0 001AB010 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AE0B4 001AB014 7C 08 02 A6 */ mflr r0 /* 801AE0B8 001AB018 90 01 00 34 */ stw r0, 0x34(r1) /* 801AE0BC 001AB01C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801AE0C0 001AB020 93 C1 00 28 */ stw r30, 0x28(r1) /* 801AE0C4 001AB024 93 A1 00 24 */ stw r29, 0x24(r1) /* 801AE0C8 001AB028 7C 9D 23 78 */ mr r29, r4 /* 801AE0CC 001AB02C 93 81 00 20 */ stw r28, 0x20(r1) /* 801AE0D0 001AB030 7C 7C 1B 78 */ mr r28, r3 /* 801AE0D4 001AB034 3B DC 07 74 */ addi r30, r28, 0x774 /* 801AE0D8 001AB038 80 A3 07 70 */ lwz r5, 0x770(r3) /* 801AE0DC 001AB03C 38 60 00 00 */ li r3, 0 /* 801AE0E0 001AB040 2C 05 00 00 */ cmpwi r5, 0 /* 801AE0E4 001AB044 40 81 00 40 */ ble lbl_801AE124 /* 801AE0E8 001AB048 2C 05 00 08 */ cmpwi r5, 8 /* 801AE0EC 001AB04C 38 85 FF F8 */ addi r4, r5, -8 /* 801AE0F0 001AB050 40 81 00 20 */ ble lbl_801AE110 /* 801AE0F4 001AB054 38 04 00 07 */ addi r0, r4, 7 /* 801AE0F8 001AB058 54 00 E8 FE */ srwi r0, r0, 3 /* 801AE0FC 001AB05C 7C 09 03 A6 */ mtctr r0 /* 801AE100 001AB060 2C 04 00 00 */ cmpwi r4, 0 /* 801AE104 001AB064 40 81 00 0C */ ble lbl_801AE110 lbl_801AE108: /* 801AE108 001AB068 38 63 00 08 */ addi r3, r3, 8 /* 801AE10C 001AB06C 42 00 FF FC */ bdnz lbl_801AE108 lbl_801AE110: /* 801AE110 001AB070 7C 03 28 50 */ subf r0, r3, r5 /* 801AE114 001AB074 7C 09 03 A6 */ mtctr r0 /* 801AE118 001AB078 7C 03 28 00 */ cmpw r3, r5 /* 801AE11C 001AB07C 40 80 00 08 */ bge lbl_801AE124 lbl_801AE120: /* 801AE120 001AB080 42 00 00 00 */ bdnz lbl_801AE120 lbl_801AE124: /* 801AE124 001AB084 38 00 00 00 */ li r0, 0 /* 801AE128 001AB088 90 1C 07 70 */ stw r0, 0x770(r28) /* 801AE12C 001AB08C 83 FC 00 2C */ lwz r31, 0x2c(r28) /* 801AE130 001AB090 48 00 00 8C */ b lbl_801AE1BC lbl_801AE134: /* 801AE134 001AB094 80 1F 00 00 */ lwz r0, 0(r31) /* 801AE138 001AB098 2C 00 00 19 */ cmpwi r0, 0x19 /* 801AE13C 001AB09C 40 82 00 7C */ bne lbl_801AE1B8 /* 801AE140 001AB0A0 80 1F 00 04 */ lwz r0, 4(r31) /* 801AE144 001AB0A4 2C 00 00 06 */ cmpwi r0, 6 /* 801AE148 001AB0A8 40 82 00 70 */ bne lbl_801AE1B8 /* 801AE14C 001AB0AC 80 1F 00 08 */ lwz r0, 8(r31) /* 801AE150 001AB0B0 7F A4 EB 78 */ mr r4, r29 /* 801AE154 001AB0B4 38 61 00 0C */ addi r3, r1, 0xc /* 801AE158 001AB0B8 38 A1 00 14 */ addi r5, r1, 0x14 /* 801AE15C 001AB0BC 90 01 00 14 */ stw r0, 0x14(r1) /* 801AE160 001AB0C0 4B E9 9D BD */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801AE164 001AB0C4 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801AE168 001AB0C8 7F A3 EB 78 */ mr r3, r29 /* 801AE16C 001AB0CC 38 81 00 08 */ addi r4, r1, 8 /* 801AE170 001AB0D0 B0 01 00 10 */ sth r0, 0x10(r1) /* 801AE174 001AB0D4 B0 01 00 08 */ sth r0, 8(r1) /* 801AE178 001AB0D8 4B E9 E4 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AE17C 001AB0DC 7C 64 1B 78 */ mr r4, r3 /* 801AE180 001AB0E0 38 61 00 18 */ addi r3, r1, 0x18 /* 801AE184 001AB0E4 4B EF 83 C9 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801AE188 001AB0E8 80 03 00 04 */ lwz r0, 4(r3) /* 801AE18C 001AB0EC 28 00 00 00 */ cmplwi r0, 0 /* 801AE190 001AB0F0 41 82 00 28 */ beq lbl_801AE1B8 /* 801AE194 001AB0F4 80 1C 07 70 */ lwz r0, 0x770(r28) /* 801AE198 001AB0F8 54 00 08 3C */ slwi r0, r0, 1 /* 801AE19C 001AB0FC 7C 7E 02 15 */ add. r3, r30, r0 /* 801AE1A0 001AB100 41 82 00 0C */ beq lbl_801AE1AC /* 801AE1A4 001AB104 A0 01 00 10 */ lhz r0, 0x10(r1) /* 801AE1A8 001AB108 B0 03 00 00 */ sth r0, 0(r3) lbl_801AE1AC: /* 801AE1AC 001AB10C 80 7C 07 70 */ lwz r3, 0x770(r28) /* 801AE1B0 001AB110 38 03 00 01 */ addi r0, r3, 1 /* 801AE1B4 001AB114 90 1C 07 70 */ stw r0, 0x770(r28) lbl_801AE1B8: /* 801AE1B8 001AB118 3B FF 00 0C */ addi r31, r31, 0xc lbl_801AE1BC: /* 801AE1BC 001AB11C 80 1C 00 24 */ lwz r0, 0x24(r28) /* 801AE1C0 001AB120 80 7C 00 2C */ lwz r3, 0x2c(r28) /* 801AE1C4 001AB124 1C 00 00 0C */ mulli r0, r0, 0xc /* 801AE1C8 001AB128 7C 03 02 14 */ add r0, r3, r0 /* 801AE1CC 001AB12C 7C 1F 00 40 */ cmplw r31, r0 /* 801AE1D0 001AB130 40 82 FF 64 */ bne lbl_801AE134 /* 801AE1D4 001AB134 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AE1D8 001AB138 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801AE1DC 001AB13C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801AE1E0 001AB140 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801AE1E4 001AB144 83 81 00 20 */ lwz r28, 0x20(r1) /* 801AE1E8 001AB148 7C 08 03 A6 */ mtlr r0 /* 801AE1EC 001AB14C 38 21 00 30 */ addi r1, r1, 0x30 /* 801AE1F0 001AB150 4E 80 00 20 */ blr .global sub_801ae1f4 sub_801ae1f4: /* 801AE1F4 001AB154 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801AE1F8 001AB158 7C 08 02 A6 */ mflr r0 /* 801AE1FC 001AB15C 90 01 01 04 */ stw r0, 0x104(r1) /* 801AE200 001AB160 38 61 00 18 */ addi r3, r1, 0x18 /* 801AE204 001AB164 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801AE208 001AB168 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 801AE20C 001AB16C 7C 9E 23 78 */ mr r30, r4 /* 801AE210 001AB170 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 801AE214 001AB174 C0 85 00 04 */ lfs f4, 4(r5) /* 801AE218 001AB178 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801AE21C 001AB17C C0 65 00 08 */ lfs f3, 8(r5) /* 801AE220 001AB180 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801AE224 001AB184 EC 84 00 28 */ fsubs f4, f4, f0 /* 801AE228 001AB188 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801AE22C 001AB18C C0 25 00 00 */ lfs f1, 0(r5) /* 801AE230 001AB190 EC 43 10 28 */ fsubs f2, f3, f2 /* 801AE234 001AB194 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801AE238 001AB198 EC 01 00 28 */ fsubs f0, f1, f0 /* 801AE23C 001AB19C D0 41 00 20 */ stfs f2, 0x20(r1) /* 801AE240 001AB1A0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801AE244 001AB1A4 48 16 66 75 */ bl Magnitude__9CVector3fCFv /* 801AE248 001AB1A8 80 1F 02 B0 */ lwz r0, 0x2b0(r31) /* 801AE24C 001AB1AC 2C 00 00 02 */ cmpwi r0, 2 /* 801AE250 001AB1B0 40 82 00 0C */ bne lbl_801AE25C /* 801AE254 001AB1B4 80 1F 02 AC */ lwz r0, 0x2ac(r31) /* 801AE258 001AB1B8 48 00 00 08 */ b lbl_801AE260 lbl_801AE25C: /* 801AE25C 001AB1BC 38 00 00 04 */ li r0, 4 lbl_801AE260: /* 801AE260 001AB1C0 2C 00 00 01 */ cmpwi r0, 1 /* 801AE264 001AB1C4 41 82 01 0C */ beq lbl_801AE370 /* 801AE268 001AB1C8 88 1F 09 C4 */ lbz r0, 0x9c4(r31) /* 801AE26C 001AB1CC 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801AE270 001AB1D0 40 82 01 00 */ bne lbl_801AE370 /* 801AE274 001AB1D4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 801AE278 001AB1D8 2C 00 00 01 */ cmpwi r0, 1 /* 801AE27C 001AB1DC 41 82 00 84 */ beq lbl_801AE300 /* 801AE280 001AB1E0 80 9E 08 70 */ lwz r4, 0x870(r30) /* 801AE284 001AB1E4 38 61 00 08 */ addi r3, r1, 8 /* 801AE288 001AB1E8 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 801AE28C 001AB1EC A3 E5 00 08 */ lhz r31, 8(r5) /* 801AE290 001AB1F0 4B E5 D9 49 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 801AE294 001AB1F4 A0 01 00 08 */ lhz r0, 8(r1) /* 801AE298 001AB1F8 7C 00 F8 40 */ cmplw r0, r31 /* 801AE29C 001AB1FC 40 82 00 D4 */ bne lbl_801AE370 /* 801AE2A0 001AB200 C0 22 A8 C4 */ lfs f1, lbl_805AC5E4@sda21(r2) /* 801AE2A4 001AB204 38 61 00 24 */ addi r3, r1, 0x24 /* 801AE2A8 001AB208 C0 42 A8 C8 */ lfs f2, lbl_805AC5E8@sda21(r2) /* 801AE2AC 001AB20C 4B FA F5 85 */ bl __ct__16CCameraShakeDataFff /* 801AE2B0 001AB210 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801AE2B4 001AB214 38 81 00 24 */ addi r4, r1, 0x24 /* 801AE2B8 001AB218 38 A0 00 01 */ li r5, 1 /* 801AE2BC 001AB21C 4B E5 C7 65 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801AE2C0 001AB220 34 81 00 A4 */ addic. r4, r1, 0xa4 /* 801AE2C4 001AB224 41 82 00 10 */ beq lbl_801AE2D4 /* 801AE2C8 001AB228 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801AE2CC 001AB22C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801AE2D0 001AB230 90 04 00 00 */ stw r0, 0(r4) lbl_801AE2D4: /* 801AE2D4 001AB234 34 81 00 68 */ addic. r4, r1, 0x68 /* 801AE2D8 001AB238 41 82 00 10 */ beq lbl_801AE2E8 /* 801AE2DC 001AB23C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801AE2E0 001AB240 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801AE2E4 001AB244 90 04 00 00 */ stw r0, 0(r4) lbl_801AE2E8: /* 801AE2E8 001AB248 34 81 00 2C */ addic. r4, r1, 0x2c /* 801AE2EC 001AB24C 41 82 00 84 */ beq lbl_801AE370 /* 801AE2F0 001AB250 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801AE2F4 001AB254 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801AE2F8 001AB258 90 04 00 00 */ stw r0, 0(r4) /* 801AE2FC 001AB25C 48 00 00 74 */ b lbl_801AE370 lbl_801AE300: /* 801AE300 001AB260 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801AE304 001AB264 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) /* 801AE308 001AB268 C0 62 A8 CC */ lfs f3, lbl_805AC5EC@sda21(r2) /* 801AE30C 001AB26C C0 23 00 04 */ lfs f1, 4(r3) /* 801AE310 001AB270 C0 03 00 08 */ lfs f0, 8(r3) /* 801AE314 001AB274 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801AE318 001AB278 EC 23 00 72 */ fmuls f1, f3, f1 /* 801AE31C 001AB27C C0 82 A8 C8 */ lfs f4, lbl_805AC5E8@sda21(r2) /* 801AE320 001AB280 EC 03 00 32 */ fmuls f0, f3, f0 /* 801AE324 001AB284 C0 BF 00 E8 */ lfs f5, 0xe8(r31) /* 801AE328 001AB288 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801AE32C 001AB28C EC 24 00 72 */ fmuls f1, f4, f1 /* 801AE330 001AB290 EC 04 00 32 */ fmuls f0, f4, f0 /* 801AE334 001AB294 EC 45 00 B2 */ fmuls f2, f5, f2 /* 801AE338 001AB298 EC 25 00 72 */ fmuls f1, f5, f1 /* 801AE33C 001AB29C EC 05 00 32 */ fmuls f0, f5, f0 /* 801AE340 001AB2A0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801AE344 001AB2A4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801AE348 001AB2A8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801AE34C 001AB2AC 4B E6 D1 E9 */ bl Identity__10CAxisAngleFv /* 801AE350 001AB2B0 7C 65 1B 78 */ mr r5, r3 /* 801AE354 001AB2B4 7F E3 FB 78 */ mr r3, r31 /* 801AE358 001AB2B8 38 81 00 0C */ addi r4, r1, 0xc /* 801AE35C 001AB2BC 4B F6 E0 3D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 801AE360 001AB2C0 7F E3 FB 78 */ mr r3, r31 /* 801AE364 001AB2C4 7F C5 F3 78 */ mr r5, r30 /* 801AE368 001AB2C8 38 80 00 02 */ li r4, 2 /* 801AE36C 001AB2CC 48 0D 80 81 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager lbl_801AE370: /* 801AE370 001AB2D0 80 01 01 04 */ lwz r0, 0x104(r1) /* 801AE374 001AB2D4 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801AE378 001AB2D8 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 801AE37C 001AB2DC 7C 08 03 A6 */ mtlr r0 /* 801AE380 001AB2E0 38 21 01 00 */ addi r1, r1, 0x100 /* 801AE384 001AB2E4 4E 80 00 20 */ blr .global sub_801ae388 sub_801ae388: /* 801AE388 001AB2E8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AE38C 001AB2EC 7C 08 02 A6 */ mflr r0 /* 801AE390 001AB2F0 90 01 00 34 */ stw r0, 0x34(r1) /* 801AE394 001AB2F4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801AE398 001AB2F8 3B E0 00 00 */ li r31, 0 /* 801AE39C 001AB2FC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801AE3A0 001AB300 7C DE 33 78 */ mr r30, r6 /* 801AE3A4 001AB304 93 A1 00 24 */ stw r29, 0x24(r1) /* 801AE3A8 001AB308 7C BD 2B 78 */ mr r29, r5 /* 801AE3AC 001AB30C 93 81 00 20 */ stw r28, 0x20(r1) /* 801AE3B0 001AB310 7C 9C 23 78 */ mr r28, r4 /* 801AE3B4 001AB314 48 00 00 5C */ b lbl_801AE410 lbl_801AE3B8: /* 801AE3B8 001AB318 80 7D 00 00 */ lwz r3, 0(r29) /* 801AE3BC 001AB31C 7F E4 FB 78 */ mr r4, r31 /* 801AE3C0 001AB320 4B FF 8E 79 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801AE3C4 001AB324 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801AE3C8 001AB328 7F 83 E3 78 */ mr r3, r28 /* 801AE3CC 001AB32C 38 81 00 08 */ addi r4, r1, 8 /* 801AE3D0 001AB330 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AE3D4 001AB334 B0 01 00 08 */ sth r0, 8(r1) /* 801AE3D8 001AB338 4B E9 E1 9D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AE3DC 001AB33C 7C 64 1B 78 */ mr r4, r3 /* 801AE3E0 001AB340 38 61 00 10 */ addi r3, r1, 0x10 /* 801AE3E4 001AB344 4B F0 0F 69 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801AE3E8 001AB348 80 63 00 04 */ lwz r3, 4(r3) /* 801AE3EC 001AB34C 28 03 00 00 */ cmplwi r3, 0 /* 801AE3F0 001AB350 41 82 00 1C */ beq lbl_801AE40C /* 801AE3F4 001AB354 C0 1E 00 00 */ lfs f0, 0(r30) /* 801AE3F8 001AB358 D0 03 03 04 */ stfs f0, 0x304(r3) /* 801AE3FC 001AB35C C0 1E 00 04 */ lfs f0, 4(r30) /* 801AE400 001AB360 D0 03 03 08 */ stfs f0, 0x308(r3) /* 801AE404 001AB364 C0 1E 00 08 */ lfs f0, 8(r30) /* 801AE408 001AB368 D0 03 03 0C */ stfs f0, 0x30c(r3) lbl_801AE40C: /* 801AE40C 001AB36C 3B FF 00 01 */ addi r31, r31, 1 lbl_801AE410: /* 801AE410 001AB370 80 7D 00 00 */ lwz r3, 0(r29) /* 801AE414 001AB374 4B FF 8E 35 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801AE418 001AB378 7C 1F 18 40 */ cmplw r31, r3 /* 801AE41C 001AB37C 41 80 FF 9C */ blt lbl_801AE3B8 /* 801AE420 001AB380 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AE424 001AB384 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801AE428 001AB388 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801AE42C 001AB38C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801AE430 001AB390 83 81 00 20 */ lwz r28, 0x20(r1) /* 801AE434 001AB394 7C 08 03 A6 */ mtlr r0 /* 801AE438 001AB398 38 21 00 30 */ addi r1, r1, 0x30 /* 801AE43C 001AB39C 4E 80 00 20 */ blr .global sub_801ae440 sub_801ae440: /* 801AE440 001AB3A0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801AE444 001AB3A4 7C 08 02 A6 */ mflr r0 /* 801AE448 001AB3A8 90 01 00 74 */ stw r0, 0x74(r1) /* 801AE44C 001AB3AC DB E1 00 60 */ stfd f31, 0x60(r1) /* 801AE450 001AB3B0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801AE454 001AB3B4 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801AE458 001AB3B8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801AE45C 001AB3BC DB A1 00 40 */ stfd f29, 0x40(r1) /* 801AE460 001AB3C0 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801AE464 001AB3C4 DB 81 00 30 */ stfd f28, 0x30(r1) /* 801AE468 001AB3C8 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 /* 801AE46C 001AB3CC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801AE470 001AB3D0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801AE474 001AB3D4 A0 03 08 0C */ lhz r0, 0x80c(r3) /* 801AE478 001AB3D8 7C 7E 1B 78 */ mr r30, r3 /* 801AE47C 001AB3DC FF E0 08 90 */ fmr f31, f1 /* 801AE480 001AB3E0 7C 83 23 78 */ mr r3, r4 /* 801AE484 001AB3E4 B0 01 00 08 */ sth r0, 8(r1) /* 801AE488 001AB3E8 38 81 00 08 */ addi r4, r1, 8 /* 801AE48C 001AB3EC 4B E9 E1 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AE490 001AB3F0 7C 64 1B 78 */ mr r4, r3 /* 801AE494 001AB3F4 38 61 00 0C */ addi r3, r1, 0xc /* 801AE498 001AB3F8 4B F0 0E B5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801AE49C 001AB3FC 83 E3 00 04 */ lwz r31, 4(r3) /* 801AE4A0 001AB400 28 1F 00 00 */ cmplwi r31, 0 /* 801AE4A4 001AB404 41 82 01 5C */ beq lbl_801AE600 /* 801AE4A8 001AB408 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801AE4AC 001AB40C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801AE4B0 001AB410 2C 00 00 0B */ cmpwi r0, 0xb /* 801AE4B4 001AB414 41 82 01 4C */ beq lbl_801AE600 /* 801AE4B8 001AB418 2C 00 00 02 */ cmpwi r0, 2 /* 801AE4BC 001AB41C 41 82 01 44 */ beq lbl_801AE600 /* 801AE4C0 001AB420 80 1E 07 80 */ lwz r0, 0x780(r30) /* 801AE4C4 001AB424 2C 00 00 00 */ cmpwi r0, 0 /* 801AE4C8 001AB428 41 82 00 30 */ beq lbl_801AE4F8 /* 801AE4CC 001AB42C 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801AE4D0 001AB430 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801AE4D4 001AB434 40 82 00 24 */ bne lbl_801AE4F8 /* 801AE4D8 001AB438 7F C3 F3 78 */ mr r3, r30 /* 801AE4DC 001AB43C 48 00 01 5D */ bl sub_801ae638 /* 801AE4E0 001AB440 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AE4E4 001AB444 40 82 00 14 */ bne lbl_801AE4F8 /* 801AE4E8 001AB448 7F C3 F3 78 */ mr r3, r30 /* 801AE4EC 001AB44C 48 00 01 65 */ bl sub_801ae650 /* 801AE4F0 001AB450 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AE4F4 001AB454 41 82 00 14 */ beq lbl_801AE508 lbl_801AE4F8: /* 801AE4F8 001AB458 C3 DF 00 40 */ lfs f30, 0x40(r31) /* 801AE4FC 001AB45C C3 BF 00 50 */ lfs f29, 0x50(r31) /* 801AE500 001AB460 C3 9F 00 60 */ lfs f28, 0x60(r31) /* 801AE504 001AB464 48 00 00 50 */ b lbl_801AE554 lbl_801AE508: /* 801AE508 001AB468 80 7E 00 64 */ lwz r3, 0x64(r30) /* 801AE50C 001AB46C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801AE510 001AB470 C0 82 A8 BC */ lfs f4, lbl_805AC5DC@sda21(r2) /* 801AE514 001AB474 C0 43 00 00 */ lfs f2, 0(r3) /* 801AE518 001AB478 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801AE51C 001AB47C EC E0 20 2A */ fadds f7, f0, f4 /* 801AE520 001AB480 C0 03 00 04 */ lfs f0, 4(r3) /* 801AE524 001AB484 EC C4 00 B2 */ fmuls f6, f4, f2 /* 801AE528 001AB488 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801AE52C 001AB48C EC A1 20 2A */ fadds f5, f1, f4 /* 801AE530 001AB490 C0 42 A8 D0 */ lfs f2, lbl_805AC5F0@sda21(r2) /* 801AE534 001AB494 EC 84 00 32 */ fmuls f4, f4, f0 /* 801AE538 001AB498 C0 22 A8 D4 */ lfs f1, lbl_805AC5F4@sda21(r2) /* 801AE53C 001AB49C C0 03 00 08 */ lfs f0, 8(r3) /* 801AE540 001AB4A0 EC 43 10 2A */ fadds f2, f3, f2 /* 801AE544 001AB4A4 EF C7 30 2A */ fadds f30, f7, f6 /* 801AE548 001AB4A8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801AE54C 001AB4AC EF A5 20 2A */ fadds f29, f5, f4 /* 801AE550 001AB4B0 EF 82 00 2A */ fadds f28, f2, f0 lbl_801AE554: /* 801AE554 001AB4B4 C0 5E 08 24 */ lfs f2, 0x824(r30) /* 801AE558 001AB4B8 38 61 00 14 */ addi r3, r1, 0x14 /* 801AE55C 001AB4BC C0 3E 08 28 */ lfs f1, 0x828(r30) /* 801AE560 001AB4C0 C0 1E 08 20 */ lfs f0, 0x820(r30) /* 801AE564 001AB4C4 EC 5D 10 28 */ fsubs f2, f29, f2 /* 801AE568 001AB4C8 EC 3C 08 28 */ fsubs f1, f28, f1 /* 801AE56C 001AB4CC EC 1E 00 28 */ fsubs f0, f30, f0 /* 801AE570 001AB4D0 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801AE574 001AB4D4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801AE578 001AB4D8 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801AE57C 001AB4DC 48 16 61 7D */ bl CanBeNormalized__9CVector3fCFv /* 801AE580 001AB4E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AE584 001AB4E4 41 82 00 7C */ beq lbl_801AE600 /* 801AE588 001AB4E8 38 61 00 14 */ addi r3, r1, 0x14 /* 801AE58C 001AB4EC 48 16 63 2D */ bl Magnitude__9CVector3fCFv /* 801AE590 001AB4F0 C0 02 A8 D8 */ lfs f0, lbl_805AC5F8@sda21(r2) /* 801AE594 001AB4F4 EC C0 07 F2 */ fmuls f6, f0, f31 /* 801AE598 001AB4F8 FC 01 30 40 */ fcmpo cr0, f1, f6 /* 801AE59C 001AB4FC 40 81 00 58 */ ble lbl_801AE5F4 /* 801AE5A0 001AB500 C0 02 A8 DC */ lfs f0, lbl_805AC5FC@sda21(r2) /* 801AE5A4 001AB504 C0 61 00 14 */ lfs f3, 0x14(r1) /* 801AE5A8 001AB508 EC A0 08 24 */ fdivs f5, f0, f1 /* 801AE5AC 001AB50C C0 41 00 18 */ lfs f2, 0x18(r1) /* 801AE5B0 001AB510 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801AE5B4 001AB514 C0 3E 08 20 */ lfs f1, 0x820(r30) /* 801AE5B8 001AB518 EC 85 00 F2 */ fmuls f4, f5, f3 /* 801AE5BC 001AB51C EC 65 00 B2 */ fmuls f3, f5, f2 /* 801AE5C0 001AB520 EC 45 00 32 */ fmuls f2, f5, f0 /* 801AE5C4 001AB524 EC 06 01 32 */ fmuls f0, f6, f4 /* 801AE5C8 001AB528 EC 66 00 F2 */ fmuls f3, f6, f3 /* 801AE5CC 001AB52C EC 46 00 B2 */ fmuls f2, f6, f2 /* 801AE5D0 001AB530 EC 01 00 2A */ fadds f0, f1, f0 /* 801AE5D4 001AB534 D0 1E 08 20 */ stfs f0, 0x820(r30) /* 801AE5D8 001AB538 C0 1E 08 24 */ lfs f0, 0x824(r30) /* 801AE5DC 001AB53C EC 00 18 2A */ fadds f0, f0, f3 /* 801AE5E0 001AB540 D0 1E 08 24 */ stfs f0, 0x824(r30) /* 801AE5E4 001AB544 C0 1E 08 28 */ lfs f0, 0x828(r30) /* 801AE5E8 001AB548 EC 00 10 2A */ fadds f0, f0, f2 /* 801AE5EC 001AB54C D0 1E 08 28 */ stfs f0, 0x828(r30) /* 801AE5F0 001AB550 48 00 00 10 */ b lbl_801AE600 lbl_801AE5F4: /* 801AE5F4 001AB554 D3 DE 08 20 */ stfs f30, 0x820(r30) /* 801AE5F8 001AB558 D3 BE 08 24 */ stfs f29, 0x824(r30) /* 801AE5FC 001AB55C D3 9E 08 28 */ stfs f28, 0x828(r30) lbl_801AE600: /* 801AE600 001AB560 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801AE604 001AB564 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801AE608 001AB568 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801AE60C 001AB56C CB C1 00 50 */ lfd f30, 0x50(r1) /* 801AE610 001AB570 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801AE614 001AB574 CB A1 00 40 */ lfd f29, 0x40(r1) /* 801AE618 001AB578 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 /* 801AE61C 001AB57C CB 81 00 30 */ lfd f28, 0x30(r1) /* 801AE620 001AB580 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801AE624 001AB584 80 01 00 74 */ lwz r0, 0x74(r1) /* 801AE628 001AB588 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801AE62C 001AB58C 7C 08 03 A6 */ mtlr r0 /* 801AE630 001AB590 38 21 00 70 */ addi r1, r1, 0x70 /* 801AE634 001AB594 4E 80 00 20 */ blr .global sub_801ae638 sub_801ae638: /* 801AE638 001AB598 80 63 04 50 */ lwz r3, 0x450(r3) /* 801AE63C 001AB59C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801AE640 001AB5A0 20 00 00 12 */ subfic r0, r0, 0x12 /* 801AE644 001AB5A4 7C 00 00 34 */ cntlzw r0, r0 /* 801AE648 001AB5A8 54 03 D9 7E */ srwi r3, r0, 5 /* 801AE64C 001AB5AC 4E 80 00 20 */ blr .global sub_801ae650 sub_801ae650: /* 801AE650 001AB5B0 80 03 07 A8 */ lwz r0, 0x7a8(r3) /* 801AE654 001AB5B4 38 60 00 00 */ li r3, 0 /* 801AE658 001AB5B8 2C 00 00 00 */ cmpwi r0, 0 /* 801AE65C 001AB5BC 41 82 00 0C */ beq lbl_801AE668 /* 801AE660 001AB5C0 2C 00 00 01 */ cmpwi r0, 1 /* 801AE664 001AB5C4 4C 82 00 20 */ bnelr lbl_801AE668: /* 801AE668 001AB5C8 38 60 00 01 */ li r3, 1 /* 801AE66C 001AB5CC 4E 80 00 20 */ blr .global sub_801ae670 sub_801ae670: /* 801AE670 001AB5D0 80 03 07 A8 */ lwz r0, 0x7a8(r3) /* 801AE674 001AB5D4 38 60 00 00 */ li r3, 0 /* 801AE678 001AB5D8 2C 00 00 02 */ cmpwi r0, 2 /* 801AE67C 001AB5DC 41 82 00 14 */ beq lbl_801AE690 /* 801AE680 001AB5E0 2C 00 00 03 */ cmpwi r0, 3 /* 801AE684 001AB5E4 41 82 00 0C */ beq lbl_801AE690 /* 801AE688 001AB5E8 2C 00 00 04 */ cmpwi r0, 4 /* 801AE68C 001AB5EC 4C 82 00 20 */ bnelr lbl_801AE690: /* 801AE690 001AB5F0 38 60 00 01 */ li r3, 1 /* 801AE694 001AB5F4 4E 80 00 20 */ blr .global sub_801ae698 sub_801ae698: /* 801AE698 001AB5F8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801AE69C 001AB5FC 7C 08 02 A6 */ mflr r0 /* 801AE6A0 001AB600 90 01 00 74 */ stw r0, 0x74(r1) /* 801AE6A4 001AB604 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801AE6A8 001AB608 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801AE6AC 001AB60C DB C1 00 50 */ stfd f30, 0x50(r1) /* 801AE6B0 001AB610 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801AE6B4 001AB614 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801AE6B8 001AB618 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801AE6BC 001AB61C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801AE6C0 001AB620 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801AE6C4 001AB624 7C 7F 1B 78 */ mr r31, r3 /* 801AE6C8 001AB628 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801AE6CC 001AB62C C3 E4 00 40 */ lfs f31, 0x40(r4) /* 801AE6D0 001AB630 2C 00 00 01 */ cmpwi r0, 1 /* 801AE6D4 001AB634 C3 C4 00 50 */ lfs f30, 0x50(r4) /* 801AE6D8 001AB638 C3 A4 00 60 */ lfs f29, 0x60(r4) /* 801AE6DC 001AB63C 41 82 00 28 */ beq lbl_801AE704 /* 801AE6E0 001AB640 7C 83 23 78 */ mr r3, r4 /* 801AE6E4 001AB644 48 0D 66 FD */ bl GetEyeHeight__7CPlayerCFv /* 801AE6E8 001AB648 C0 42 A8 E0 */ lfs f2, lbl_805AC600@sda21(r2) /* 801AE6EC 001AB64C C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AE6F0 001AB650 EC 22 08 2A */ fadds f1, f2, f1 /* 801AE6F4 001AB654 EF FF 00 2A */ fadds f31, f31, f0 /* 801AE6F8 001AB658 EF DE 00 2A */ fadds f30, f30, f0 /* 801AE6FC 001AB65C EF BD 08 2A */ fadds f29, f29, f1 /* 801AE700 001AB660 48 00 00 1C */ b lbl_801AE71C lbl_801AE704: /* 801AE704 001AB664 80 84 07 68 */ lwz r4, 0x768(r4) /* 801AE708 001AB668 38 61 00 08 */ addi r3, r1, 8 /* 801AE70C 001AB66C 4B F4 7F E9 */ bl GetBallToWorld__10CMorphBallCFv /* 801AE710 001AB670 C3 E1 00 14 */ lfs f31, 0x14(r1) /* 801AE714 001AB674 C3 C1 00 24 */ lfs f30, 0x24(r1) /* 801AE718 001AB678 C3 A1 00 34 */ lfs f29, 0x34(r1) lbl_801AE71C: /* 801AE71C 001AB67C D3 FF 00 00 */ stfs f31, 0(r31) /* 801AE720 001AB680 D3 DF 00 04 */ stfs f30, 4(r31) /* 801AE724 001AB684 D3 BF 00 08 */ stfs f29, 8(r31) /* 801AE728 001AB688 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801AE72C 001AB68C CB E1 00 60 */ lfd f31, 0x60(r1) /* 801AE730 001AB690 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801AE734 001AB694 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801AE738 001AB698 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801AE73C 001AB69C CB A1 00 40 */ lfd f29, 0x40(r1) /* 801AE740 001AB6A0 80 01 00 74 */ lwz r0, 0x74(r1) /* 801AE744 001AB6A4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801AE748 001AB6A8 7C 08 03 A6 */ mtlr r0 /* 801AE74C 001AB6AC 38 21 00 70 */ addi r1, r1, 0x70 /* 801AE750 001AB6B0 4E 80 00 20 */ blr .global sub_801ae754 sub_801ae754: /* 801AE754 001AB6B4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801AE758 001AB6B8 7C 08 02 A6 */ mflr r0 /* 801AE75C 001AB6BC 90 01 00 44 */ stw r0, 0x44(r1) /* 801AE760 001AB6C0 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801AE764 001AB6C4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801AE768 001AB6C8 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801AE76C 001AB6CC 7C BD 2B 78 */ mr r29, r5 /* 801AE770 001AB6D0 7C 9C 23 78 */ mr r28, r4 /* 801AE774 001AB6D4 83 C5 08 4C */ lwz r30, 0x84c(r5) /* 801AE778 001AB6D8 7C 7B 1B 78 */ mr r27, r3 /* 801AE77C 001AB6DC 7F 83 E3 78 */ mr r3, r28 /* 801AE780 001AB6E0 3B E0 00 00 */ li r31, 0 /* 801AE784 001AB6E4 4B FF FE CD */ bl sub_801ae650 /* 801AE788 001AB6E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AE78C 001AB6EC 41 82 00 14 */ beq lbl_801AE7A0 /* 801AE790 001AB6F0 80 1E 02 F8 */ lwz r0, 0x2f8(r30) /* 801AE794 001AB6F4 2C 00 00 01 */ cmpwi r0, 1 /* 801AE798 001AB6F8 41 82 00 08 */ beq lbl_801AE7A0 /* 801AE79C 001AB6FC 3B E0 00 01 */ li r31, 1 lbl_801AE7A0: /* 801AE7A0 001AB700 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801AE7A4 001AB704 41 82 00 0C */ beq lbl_801AE7B0 /* 801AE7A8 001AB708 C3 E2 A8 C8 */ lfs f31, lbl_805AC5E8@sda21(r2) /* 801AE7AC 001AB70C 48 00 00 08 */ b lbl_801AE7B4 lbl_801AE7B0: /* 801AE7B0 001AB710 C3 E2 A8 E4 */ lfs f31, lbl_805AC604@sda21(r2) lbl_801AE7B4: /* 801AE7B4 001AB714 80 7C 04 50 */ lwz r3, 0x450(r28) /* 801AE7B8 001AB718 4B F8 C1 01 */ bl GetAnimTimeRemaining__15CBodyControllerCFv /* 801AE7BC 001AB71C 81 9E 00 00 */ lwz r12, 0(r30) /* 801AE7C0 001AB720 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801AE7C4 001AB724 7F C4 F3 78 */ mr r4, r30 /* 801AE7C8 001AB728 7F A5 EB 78 */ mr r5, r29 /* 801AE7CC 001AB72C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801AE7D0 001AB730 38 61 00 08 */ addi r3, r1, 8 /* 801AE7D4 001AB734 7D 89 03 A6 */ mtctr r12 /* 801AE7D8 001AB738 4E 80 04 21 */ bctrl /* 801AE7DC 001AB73C C0 21 00 08 */ lfs f1, 8(r1) /* 801AE7E0 001AB740 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801AE7E4 001AB744 C0 81 00 0C */ lfs f4, 0xc(r1) /* 801AE7E8 001AB748 C0 7C 00 50 */ lfs f3, 0x50(r28) /* 801AE7EC 001AB74C EC 01 00 28 */ fsubs f0, f1, f0 /* 801AE7F0 001AB750 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801AE7F4 001AB754 C0 3C 00 60 */ lfs f1, 0x60(r28) /* 801AE7F8 001AB758 EC 64 18 28 */ fsubs f3, f4, f3 /* 801AE7FC 001AB75C D0 1B 00 00 */ stfs f0, 0(r27) /* 801AE800 001AB760 EC 02 08 28 */ fsubs f0, f2, f1 /* 801AE804 001AB764 D0 7B 00 04 */ stfs f3, 4(r27) /* 801AE808 001AB768 D0 1B 00 08 */ stfs f0, 8(r27) /* 801AE80C 001AB76C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801AE810 001AB770 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801AE814 001AB774 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801AE818 001AB778 80 01 00 44 */ lwz r0, 0x44(r1) /* 801AE81C 001AB77C 7C 08 03 A6 */ mtlr r0 /* 801AE820 001AB780 38 21 00 40 */ addi r1, r1, 0x40 /* 801AE824 001AB784 4E 80 00 20 */ blr .global sub_801ae828 sub_801ae828: /* 801AE828 001AB788 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801AE82C 001AB78C 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801AE830 001AB790 2C 00 00 01 */ cmpwi r0, 1 /* 801AE834 001AB794 41 82 00 48 */ beq lbl_801AE87C /* 801AE838 001AB798 C0 23 07 CC */ lfs f1, 0x7cc(r3) /* 801AE83C 001AB79C C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AE840 001AB7A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AE844 001AB7A4 4C 40 13 82 */ cror 2, 0, 2 /* 801AE848 001AB7A8 40 82 00 74 */ bne lbl_801AE8BC /* 801AE84C 001AB7AC C0 24 01 38 */ lfs f1, 0x138(r4) /* 801AE850 001AB7B0 C0 04 01 3C */ lfs f0, 0x13c(r4) /* 801AE854 001AB7B4 EC 41 00 72 */ fmuls f2, f1, f1 /* 801AE858 001AB7B8 C0 64 01 40 */ lfs f3, 0x140(r4) /* 801AE85C 001AB7BC EC 20 00 32 */ fmuls f1, f0, f0 /* 801AE860 001AB7C0 C0 02 A8 CC */ lfs f0, lbl_805AC5EC@sda21(r2) /* 801AE864 001AB7C4 EC 63 00 F2 */ fmuls f3, f3, f3 /* 801AE868 001AB7C8 EC 22 08 2A */ fadds f1, f2, f1 /* 801AE86C 001AB7CC EC 23 08 2A */ fadds f1, f3, f1 /* 801AE870 001AB7D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AE874 001AB7D4 4C 41 13 82 */ cror 2, 1, 2 /* 801AE878 001AB7D8 40 82 00 44 */ bne lbl_801AE8BC lbl_801AE87C: /* 801AE87C 001AB7DC C0 23 00 44 */ lfs f1, 0x44(r3) /* 801AE880 001AB7E0 C0 04 01 3C */ lfs f0, 0x13c(r4) /* 801AE884 001AB7E4 C0 43 00 34 */ lfs f2, 0x34(r3) /* 801AE888 001AB7E8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801AE88C 001AB7EC C0 24 01 38 */ lfs f1, 0x138(r4) /* 801AE890 001AB7F0 C0 83 00 54 */ lfs f4, 0x54(r3) /* 801AE894 001AB7F4 C0 64 01 40 */ lfs f3, 0x140(r4) /* 801AE898 001AB7F8 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 801AE89C 001AB7FC C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AE8A0 001AB800 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801AE8A4 001AB804 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AE8A8 001AB808 40 81 00 0C */ ble lbl_801AE8B4 /* 801AE8AC 001AB80C 38 60 00 01 */ li r3, 1 /* 801AE8B0 001AB810 4E 80 00 20 */ blr lbl_801AE8B4: /* 801AE8B4 001AB814 38 60 00 00 */ li r3, 0 /* 801AE8B8 001AB818 4E 80 00 20 */ blr lbl_801AE8BC: /* 801AE8BC 001AB81C 38 60 00 03 */ li r3, 3 /* 801AE8C0 001AB820 4E 80 00 20 */ blr .global sub_801ae8c4 sub_801ae8c4: /* 801AE8C4 001AB824 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AE8C8 001AB828 7C 08 02 A6 */ mflr r0 /* 801AE8CC 001AB82C 7C 64 1B 78 */ mr r4, r3 /* 801AE8D0 001AB830 38 A0 00 12 */ li r5, 0x12 /* 801AE8D4 001AB834 90 01 00 34 */ stw r0, 0x34(r1) /* 801AE8D8 001AB838 38 61 00 18 */ addi r3, r1, 0x18 /* 801AE8DC 001AB83C 38 C1 00 10 */ addi r6, r1, 0x10 /* 801AE8E0 001AB840 C0 0D 90 84 */ lfs f0, lbl_805A7C44@sda21(r13) /* 801AE8E4 001AB844 80 0D 90 80 */ lwz r0, lbl_805A7C40@sda21(r13) /* 801AE8E8 001AB848 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801AE8EC 001AB84C 80 84 00 64 */ lwz r4, 0x64(r4) /* 801AE8F0 001AB850 90 01 00 14 */ stw r0, 0x14(r1) /* 801AE8F4 001AB854 80 84 00 10 */ lwz r4, 0x10(r4) /* 801AE8F8 001AB858 4B E7 C6 E1 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime /* 801AE8FC 001AB85C C0 21 00 18 */ lfs f1, 0x18(r1) /* 801AE900 001AB860 38 61 00 20 */ addi r3, r1, 0x20 /* 801AE904 001AB864 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801AE908 001AB868 38 81 00 08 */ addi r4, r1, 8 /* 801AE90C 001AB86C C0 0D 90 84 */ lfs f0, lbl_805A7C44@sda21(r13) /* 801AE910 001AB870 80 0D 90 80 */ lwz r0, lbl_805A7C40@sda21(r13) /* 801AE914 001AB874 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801AE918 001AB878 90 A1 00 24 */ stw r5, 0x24(r1) /* 801AE91C 001AB87C D0 01 00 08 */ stfs f0, 8(r1) /* 801AE920 001AB880 90 01 00 0C */ stw r0, 0xc(r1) /* 801AE924 001AB884 48 19 A1 DD */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime /* 801AE928 001AB888 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AE92C 001AB88C 41 82 00 0C */ beq lbl_801AE938 /* 801AE930 001AB890 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801AE934 001AB894 48 00 00 08 */ b lbl_801AE93C lbl_801AE938: /* 801AE938 001AB898 C0 21 00 20 */ lfs f1, 0x20(r1) lbl_801AE93C: /* 801AE93C 001AB89C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AE940 001AB8A0 7C 08 03 A6 */ mtlr r0 /* 801AE944 001AB8A4 38 21 00 30 */ addi r1, r1, 0x30 /* 801AE948 001AB8A8 4E 80 00 20 */ blr .global sub_801ae94c sub_801ae94c: /* 801AE94C 001AB8AC EC 03 10 28 */ fsubs f0, f3, f2 /* 801AE950 001AB8B0 C0 62 A8 DC */ lfs f3, lbl_805AC5FC@sda21(r2) /* 801AE954 001AB8B4 80 63 00 64 */ lwz r3, 0x64(r3) /* 801AE958 001AB8B8 FC 80 18 90 */ fmr f4, f3 /* 801AE95C 001AB8BC EC 21 10 3A */ fmadds f1, f1, f0, f2 /* 801AE960 001AB8C0 FC 00 18 90 */ fmr f0, f3 /* 801AE964 001AB8C4 EC 63 00 72 */ fmuls f3, f3, f1 /* 801AE968 001AB8C8 EC 84 00 72 */ fmuls f4, f4, f1 /* 801AE96C 001AB8CC EC 00 00 72 */ fmuls f0, f0, f1 /* 801AE970 001AB8D0 D0 63 00 00 */ stfs f3, 0(r3) /* 801AE974 001AB8D4 D0 83 00 04 */ stfs f4, 4(r3) /* 801AE978 001AB8D8 D0 03 00 08 */ stfs f0, 8(r3) /* 801AE97C 001AB8DC 4E 80 00 20 */ blr .global sub_801ae980 sub_801ae980: /* 801AE980 001AB8E0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AE984 001AB8E4 7C 08 02 A6 */ mflr r0 /* 801AE988 001AB8E8 90 01 00 34 */ stw r0, 0x34(r1) /* 801AE98C 001AB8EC DB E1 00 20 */ stfd f31, 0x20(r1) /* 801AE990 001AB8F0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801AE994 001AB8F4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AE998 001AB8F8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801AE99C 001AB8FC 88 01 00 0C */ lbz r0, 0xc(r1) /* 801AE9A0 001AB900 38 A0 00 00 */ li r5, 0 /* 801AE9A4 001AB904 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801AE9A8 001AB908 81 83 00 00 */ lwz r12, 0(r3) /* 801AE9AC 001AB90C 98 01 00 0C */ stb r0, 0xc(r1) /* 801AE9B0 001AB910 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801AE9B4 001AB914 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801AE9B8 001AB918 38 C0 00 04 */ li r6, 4 /* 801AE9BC 001AB91C 98 01 00 0C */ stb r0, 0xc(r1) /* 801AE9C0 001AB920 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801AE9C4 001AB924 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 801AE9C8 001AB928 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AE9CC 001AB92C 7C 7E 1B 78 */ mr r30, r3 /* 801AE9D0 001AB930 7C 9F 23 78 */ mr r31, r4 /* 801AE9D4 001AB934 90 C1 00 08 */ stw r6, 8(r1) /* 801AE9D8 001AB938 98 01 00 0C */ stb r0, 0xc(r1) /* 801AE9DC 001AB93C 7D 89 03 A6 */ mtctr r12 /* 801AE9E0 001AB940 4E 80 04 21 */ bctrl /* 801AE9E4 001AB944 C0 23 00 00 */ lfs f1, 0(r3) /* 801AE9E8 001AB948 7F C3 F3 78 */ mr r3, r30 /* 801AE9EC 001AB94C 81 9E 00 00 */ lwz r12, 0(r30) /* 801AE9F0 001AB950 7F E4 FB 78 */ mr r4, r31 /* 801AE9F4 001AB954 C0 1E 05 74 */ lfs f0, 0x574(r30) /* 801AE9F8 001AB958 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AE9FC 001AB95C EF E1 00 28 */ fsubs f31, f1, f0 /* 801AEA00 001AB960 7D 89 03 A6 */ mtctr r12 /* 801AEA04 001AB964 4E 80 04 21 */ bctrl /* 801AEA08 001AB968 D3 E3 00 00 */ stfs f31, 0(r3) /* 801AEA0C 001AB96C 38 60 00 01 */ li r3, 1 /* 801AEA10 001AB970 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AEA14 001AB974 C0 3E 05 78 */ lfs f1, 0x578(r30) /* 801AEA18 001AB978 D0 3E 07 D4 */ stfs f1, 0x7d4(r30) /* 801AEA1C 001AB97C 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801AEA20 001AB980 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801AEA24 001AB984 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801AEA28 001AB988 D0 1E 07 D8 */ stfs f0, 0x7d8(r30) /* 801AEA2C 001AB98C 80 0D A4 9C */ lwz r0, lbl_805A905C@sda21(r13) /* 801AEA30 001AB990 90 1E 04 30 */ stw r0, 0x430(r30) /* 801AEA34 001AB994 80 7E 07 88 */ lwz r3, 0x788(r30) /* 801AEA38 001AB998 38 03 00 01 */ addi r0, r3, 1 /* 801AEA3C 001AB99C 90 1E 07 88 */ stw r0, 0x788(r30) /* 801AEA40 001AB9A0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801AEA44 001AB9A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AEA48 001AB9A8 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801AEA4C 001AB9AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AEA50 001AB9B0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801AEA54 001AB9B4 7C 08 03 A6 */ mtlr r0 /* 801AEA58 001AB9B8 38 21 00 30 */ addi r1, r1, 0x30 /* 801AEA5C 001AB9BC 4E 80 00 20 */ blr .global sub_801aea60 sub_801aea60: /* 801AEA60 001AB9C0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801AEA64 001AB9C4 7C 08 02 A6 */ mflr r0 /* 801AEA68 001AB9C8 90 01 00 44 */ stw r0, 0x44(r1) /* 801AEA6C 001AB9CC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801AEA70 001AB9D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801AEA74 001AB9D4 DB C1 00 20 */ stfd f30, 0x20(r1) /* 801AEA78 001AB9D8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 801AEA7C 001AB9DC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801AEA80 001AB9E0 7C 7F 1B 78 */ mr r31, r3 /* 801AEA84 001AB9E4 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AEA88 001AB9E8 C0 43 07 C0 */ lfs f2, 0x7c0(r3) /* 801AEA8C 001AB9EC FF E0 08 90 */ fmr f31, f1 /* 801AEA90 001AB9F0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801AEA94 001AB9F4 40 81 00 28 */ ble lbl_801AEABC /* 801AEA98 001AB9F8 80 1F 07 88 */ lwz r0, 0x788(r31) /* 801AEA9C 001AB9FC 2C 00 00 02 */ cmpwi r0, 2 /* 801AEAA0 001ABA00 40 80 00 08 */ bge lbl_801AEAA8 /* 801AEAA4 001ABA04 48 00 00 0C */ b lbl_801AEAB0 lbl_801AEAA8: /* 801AEAA8 001ABA08 C0 02 A8 E8 */ lfs f0, lbl_805AC608@sda21(r2) /* 801AEAAC 001ABA0C EC 20 07 F2 */ fmuls f1, f0, f31 lbl_801AEAB0: /* 801AEAB0 001ABA10 C0 1F 07 C0 */ lfs f0, 0x7c0(r31) /* 801AEAB4 001ABA14 EC 00 08 28 */ fsubs f0, f0, f1 /* 801AEAB8 001ABA18 D0 1F 07 C0 */ stfs f0, 0x7c0(r31) lbl_801AEABC: /* 801AEABC 001ABA1C C0 3F 07 BC */ lfs f1, 0x7bc(r31) /* 801AEAC0 001ABA20 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AEAC4 001ABA24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AEAC8 001ABA28 40 81 00 0C */ ble lbl_801AEAD4 /* 801AEACC 001ABA2C EC 01 F8 28 */ fsubs f0, f1, f31 /* 801AEAD0 001ABA30 D0 1F 07 BC */ stfs f0, 0x7bc(r31) lbl_801AEAD4: /* 801AEAD4 001ABA34 C0 3F 07 D0 */ lfs f1, 0x7d0(r31) /* 801AEAD8 001ABA38 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AEADC 001ABA3C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AEAE0 001ABA40 40 81 00 0C */ ble lbl_801AEAEC /* 801AEAE4 001ABA44 EC 01 F8 28 */ fsubs f0, f1, f31 /* 801AEAE8 001ABA48 D0 1F 07 D0 */ stfs f0, 0x7d0(r31) lbl_801AEAEC: /* 801AEAEC 001ABA4C C0 3F 07 CC */ lfs f1, 0x7cc(r31) /* 801AEAF0 001ABA50 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AEAF4 001ABA54 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AEAF8 001ABA58 40 81 00 0C */ ble lbl_801AEB04 /* 801AEAFC 001ABA5C EC 01 F8 28 */ fsubs f0, f1, f31 /* 801AEB00 001ABA60 D0 1F 07 CC */ stfs f0, 0x7cc(r31) lbl_801AEB04: /* 801AEB04 001ABA64 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801AEB08 001ABA68 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801AEB0C 001ABA6C 41 82 00 88 */ beq lbl_801AEB94 /* 801AEB10 001ABA70 C0 3F 07 D8 */ lfs f1, 0x7d8(r31) /* 801AEB14 001ABA74 C0 02 A8 EC */ lfs f0, lbl_805AC60C@sda21(r2) /* 801AEB18 001ABA78 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AEB1C 001ABA7C 4C 40 13 82 */ cror 2, 0, 2 /* 801AEB20 001ABA80 40 82 00 74 */ bne lbl_801AEB94 /* 801AEB24 001ABA84 48 16 62 21 */ bl FastCosR__5CMathFf /* 801AEB28 001ABA88 C0 02 A8 B0 */ lfs f0, lbl_805AC5D0@sda21(r2) /* 801AEB2C 001ABA8C 38 61 00 08 */ addi r3, r1, 8 /* 801AEB30 001ABA90 C0 82 A8 DC */ lfs f4, lbl_805AC5FC@sda21(r2) /* 801AEB34 001ABA94 EC 00 00 72 */ fmuls f0, f0, f1 /* 801AEB38 001ABA98 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801AEB3C 001ABA9C FC 40 08 90 */ fmr f2, f1 /* 801AEB40 001ABAA0 FC 60 08 90 */ fmr f3, f1 /* 801AEB44 001ABAA4 FF C0 02 10 */ fabs f30, f0 /* 801AEB48 001ABAA8 48 1B 48 A5 */ bl __ct__6CColorFffff /* 801AEB4C 001ABAAC FC 20 F0 18 */ frsp f1, f30 /* 801AEB50 001ABAB0 7C 64 1B 78 */ mr r4, r3 /* 801AEB54 001ABAB4 38 61 00 0C */ addi r3, r1, 0xc /* 801AEB58 001ABAB8 38 AD A4 9C */ addi r5, r13, lbl_805A905C@sda21 /* 801AEB5C 001ABABC 48 1B 47 51 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801AEB60 001ABAC0 80 01 00 0C */ lwz r0, 0xc(r1) /* 801AEB64 001ABAC4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801AEB68 001ABAC8 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801AEB6C 001ABACC C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801AEB70 001ABAD0 90 1F 04 30 */ stw r0, 0x430(r31) /* 801AEB74 001ABAD4 7F E3 FB 78 */ mr r3, r31 /* 801AEB78 001ABAD8 81 9F 00 00 */ lwz r12, 0(r31) /* 801AEB7C 001ABADC 81 8C 00 90 */ lwz r12, 0x90(r12) /* 801AEB80 001ABAE0 7D 89 03 A6 */ mtctr r12 /* 801AEB84 001ABAE4 4E 80 04 21 */ bctrl /* 801AEB88 001ABAE8 C0 1F 07 D8 */ lfs f0, 0x7d8(r31) /* 801AEB8C 001ABAEC EC 00 F8 2A */ fadds f0, f0, f31 /* 801AEB90 001ABAF0 D0 1F 07 D8 */ stfs f0, 0x7d8(r31) lbl_801AEB94: /* 801AEB94 001ABAF4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801AEB98 001ABAF8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801AEB9C 001ABAFC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 801AEBA0 001ABB00 CB C1 00 20 */ lfd f30, 0x20(r1) /* 801AEBA4 001ABB04 80 01 00 44 */ lwz r0, 0x44(r1) /* 801AEBA8 001ABB08 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801AEBAC 001ABB0C 7C 08 03 A6 */ mtlr r0 /* 801AEBB0 001ABB10 38 21 00 40 */ addi r1, r1, 0x40 /* 801AEBB4 001ABB14 4E 80 00 20 */ blr .global sub_801aebb8 sub_801aebb8: /* 801AEBB8 001ABB18 80 03 07 FC */ lwz r0, 0x7fc(r3) /* 801AEBBC 001ABB1C 38 63 08 00 */ addi r3, r3, 0x800 /* 801AEBC0 001ABB20 7C 66 1B 78 */ mr r6, r3 /* 801AEBC4 001ABB24 54 00 08 3C */ slwi r0, r0, 1 /* 801AEBC8 001ABB28 7C A3 02 14 */ add r5, r3, r0 /* 801AEBCC 001ABB2C 48 00 00 20 */ b lbl_801AEBEC lbl_801AEBD0: /* 801AEBD0 001ABB30 A0 66 00 00 */ lhz r3, 0(r6) /* 801AEBD4 001ABB34 A0 04 00 00 */ lhz r0, 0(r4) /* 801AEBD8 001ABB38 7C 03 00 40 */ cmplw r3, r0 /* 801AEBDC 001ABB3C 40 82 00 0C */ bne lbl_801AEBE8 /* 801AEBE0 001ABB40 38 60 00 01 */ li r3, 1 /* 801AEBE4 001ABB44 4E 80 00 20 */ blr lbl_801AEBE8: /* 801AEBE8 001ABB48 38 C6 00 02 */ addi r6, r6, 2 lbl_801AEBEC: /* 801AEBEC 001ABB4C 7C 06 28 40 */ cmplw r6, r5 /* 801AEBF0 001ABB50 40 82 FF E0 */ bne lbl_801AEBD0 /* 801AEBF4 001ABB54 38 60 00 00 */ li r3, 0 /* 801AEBF8 001ABB58 4E 80 00 20 */ blr .global sub_801aebfc sub_801aebfc: /* 801AEBFC 001ABB5C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801AEC00 001ABB60 7C 08 02 A6 */ mflr r0 /* 801AEC04 001ABB64 90 01 00 54 */ stw r0, 0x54(r1) /* 801AEC08 001ABB68 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801AEC0C 001ABB6C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801AEC10 001ABB70 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801AEC14 001ABB74 93 C1 00 38 */ stw r30, 0x38(r1) /* 801AEC18 001ABB78 93 A1 00 34 */ stw r29, 0x34(r1) /* 801AEC1C 001ABB7C 93 81 00 30 */ stw r28, 0x30(r1) /* 801AEC20 001ABB80 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AEC24 001ABB84 7C 7E 1B 78 */ mr r30, r3 /* 801AEC28 001ABB88 3B BE 08 00 */ addi r29, r30, 0x800 /* 801AEC2C 001ABB8C 7C 9F 23 78 */ mr r31, r4 /* 801AEC30 001ABB90 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801AEC34 001ABB94 7F BC EB 78 */ mr r28, r29 /* 801AEC38 001ABB98 48 00 00 6C */ b lbl_801AECA4 lbl_801AEC3C: /* 801AEC3C 001ABB9C A0 1C 00 00 */ lhz r0, 0(r28) /* 801AEC40 001ABBA0 7F E3 FB 78 */ mr r3, r31 /* 801AEC44 001ABBA4 38 81 00 0C */ addi r4, r1, 0xc /* 801AEC48 001ABBA8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AEC4C 001ABBAC 4B E9 D9 29 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AEC50 001ABBB0 7C 64 1B 78 */ mr r4, r3 /* 801AEC54 001ABBB4 38 61 00 20 */ addi r3, r1, 0x20 /* 801AEC58 001ABBB8 4B F0 06 F5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801AEC5C 001ABBBC 80 63 00 04 */ lwz r3, 4(r3) /* 801AEC60 001ABBC0 28 03 00 00 */ cmplwi r3, 0 /* 801AEC64 001ABBC4 41 82 00 3C */ beq lbl_801AECA0 /* 801AEC68 001ABBC8 81 83 00 00 */ lwz r12, 0(r3) /* 801AEC6C 001ABBCC 7F E4 FB 78 */ mr r4, r31 /* 801AEC70 001ABBD0 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AEC74 001ABBD4 7D 89 03 A6 */ mtctr r12 /* 801AEC78 001ABBD8 4E 80 04 21 */ bctrl /* 801AEC7C 001ABBDC C0 03 00 00 */ lfs f0, 0(r3) /* 801AEC80 001ABBE0 38 61 00 14 */ addi r3, r1, 0x14 /* 801AEC84 001ABBE4 C0 3E 08 18 */ lfs f1, 0x818(r30) /* 801AEC88 001ABBE8 38 81 00 10 */ addi r4, r1, 0x10 /* 801AEC8C 001ABBEC EC 01 00 28 */ fsubs f0, f1, f0 /* 801AEC90 001ABBF0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801AEC94 001ABBF4 4B EA 0A 9D */ bl "Max__5CMathFRCfRCf" /* 801AEC98 001ABBF8 C0 03 00 00 */ lfs f0, 0(r3) /* 801AEC9C 001ABBFC D0 01 00 14 */ stfs f0, 0x14(r1) lbl_801AECA0: /* 801AECA0 001ABC00 3B 9C 00 02 */ addi r28, r28, 2 lbl_801AECA4: /* 801AECA4 001ABC04 80 1E 07 FC */ lwz r0, 0x7fc(r30) /* 801AECA8 001ABC08 54 00 08 3C */ slwi r0, r0, 1 /* 801AECAC 001ABC0C 7C 1D 02 14 */ add r0, r29, r0 /* 801AECB0 001ABC10 7C 1C 00 40 */ cmplw r28, r0 /* 801AECB4 001ABC14 40 82 FF 88 */ bne lbl_801AEC3C /* 801AECB8 001ABC18 80 1E 07 80 */ lwz r0, 0x780(r30) /* 801AECBC 001ABC1C 2C 00 00 03 */ cmpwi r0, 3 /* 801AECC0 001ABC20 40 82 00 50 */ bne lbl_801AED10 /* 801AECC4 001ABC24 7F C3 F3 78 */ mr r3, r30 /* 801AECC8 001ABC28 7F E4 FB 78 */ mr r4, r31 /* 801AECCC 001ABC2C 81 9E 00 00 */ lwz r12, 0(r30) /* 801AECD0 001ABC30 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801AECD4 001ABC34 81 8C 02 88 */ lwz r12, 0x288(r12) /* 801AECD8 001ABC38 7D 89 03 A6 */ mtctr r12 /* 801AECDC 001ABC3C 4E 80 04 21 */ bctrl /* 801AECE0 001ABC40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AECE4 001ABC44 41 82 00 18 */ beq lbl_801AECFC /* 801AECE8 001ABC48 C0 3E 08 14 */ lfs f1, 0x814(r30) /* 801AECEC 001ABC4C C0 01 00 14 */ lfs f0, 0x14(r1) /* 801AECF0 001ABC50 EC 01 00 2A */ fadds f0, f1, f0 /* 801AECF4 001ABC54 D0 1E 08 14 */ stfs f0, 0x814(r30) /* 801AECF8 001ABC58 48 00 00 24 */ b lbl_801AED1C lbl_801AECFC: /* 801AECFC 001ABC5C C0 3E 08 10 */ lfs f1, 0x810(r30) /* 801AED00 001ABC60 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801AED04 001ABC64 EC 01 00 2A */ fadds f0, f1, f0 /* 801AED08 001ABC68 D0 1E 08 10 */ stfs f0, 0x810(r30) /* 801AED0C 001ABC6C 48 00 00 10 */ b lbl_801AED1C lbl_801AED10: /* 801AED10 001ABC70 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AED14 001ABC74 D0 1E 08 14 */ stfs f0, 0x814(r30) /* 801AED18 001ABC78 D0 1E 08 10 */ stfs f0, 0x810(r30) lbl_801AED1C: /* 801AED1C 001ABC7C 7F C3 F3 78 */ mr r3, r30 /* 801AED20 001ABC80 7F E4 FB 78 */ mr r4, r31 /* 801AED24 001ABC84 81 9E 00 00 */ lwz r12, 0(r30) /* 801AED28 001ABC88 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AED2C 001ABC8C 7D 89 03 A6 */ mtctr r12 /* 801AED30 001ABC90 4E 80 04 21 */ bctrl /* 801AED34 001ABC94 C0 23 00 00 */ lfs f1, 0(r3) /* 801AED38 001ABC98 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801AED3C 001ABC9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AED40 001ABCA0 4C 40 13 82 */ cror 2, 0, 2 /* 801AED44 001ABCA4 40 82 00 3C */ bne lbl_801AED80 /* 801AED48 001ABCA8 81 9E 00 00 */ lwz r12, 0(r30) /* 801AED4C 001ABCAC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801AED50 001ABCB0 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801AED54 001ABCB4 7F C3 F3 78 */ mr r3, r30 /* 801AED58 001ABCB8 81 8C 00 84 */ lwz r12, 0x84(r12) /* 801AED5C 001ABCBC 7F E4 FB 78 */ mr r4, r31 /* 801AED60 001ABCC0 38 C0 00 14 */ li r6, 0x14 /* 801AED64 001ABCC4 7D 89 03 A6 */ mtctr r12 /* 801AED68 001ABCC8 4E 80 04 21 */ bctrl /* 801AED6C 001ABCCC 7F C3 F3 78 */ mr r3, r30 /* 801AED70 001ABCD0 7F E5 FB 78 */ mr r5, r31 /* 801AED74 001ABCD4 38 80 00 29 */ li r4, 0x29 /* 801AED78 001ABCD8 4B EA 52 09 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801AED7C 001ABCDC 48 00 00 6C */ b lbl_801AEDE8 lbl_801AED80: /* 801AED80 001ABCE0 7F BC EB 78 */ mr r28, r29 /* 801AED84 001ABCE4 48 00 00 50 */ b lbl_801AEDD4 lbl_801AED88: /* 801AED88 001ABCE8 A0 1C 00 00 */ lhz r0, 0(r28) /* 801AED8C 001ABCEC 7F E3 FB 78 */ mr r3, r31 /* 801AED90 001ABCF0 38 81 00 08 */ addi r4, r1, 8 /* 801AED94 001ABCF4 B0 01 00 08 */ sth r0, 8(r1) /* 801AED98 001ABCF8 4B E9 D7 DD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AED9C 001ABCFC 7C 64 1B 78 */ mr r4, r3 /* 801AEDA0 001ABD00 38 61 00 18 */ addi r3, r1, 0x18 /* 801AEDA4 001ABD04 4B F0 05 A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801AEDA8 001ABD08 80 63 00 04 */ lwz r3, 4(r3) /* 801AEDAC 001ABD0C 28 03 00 00 */ cmplwi r3, 0 /* 801AEDB0 001ABD10 41 82 00 20 */ beq lbl_801AEDD0 /* 801AEDB4 001ABD14 81 83 00 00 */ lwz r12, 0(r3) /* 801AEDB8 001ABD18 7F E4 FB 78 */ mr r4, r31 /* 801AEDBC 001ABD1C C3 FE 08 18 */ lfs f31, 0x818(r30) /* 801AEDC0 001ABD20 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AEDC4 001ABD24 7D 89 03 A6 */ mtctr r12 /* 801AEDC8 001ABD28 4E 80 04 21 */ bctrl /* 801AEDCC 001ABD2C D3 E3 00 00 */ stfs f31, 0(r3) lbl_801AEDD0: /* 801AEDD0 001ABD30 3B 9C 00 02 */ addi r28, r28, 2 lbl_801AEDD4: /* 801AEDD4 001ABD34 80 1E 07 FC */ lwz r0, 0x7fc(r30) /* 801AEDD8 001ABD38 54 00 08 3C */ slwi r0, r0, 1 /* 801AEDDC 001ABD3C 7C 1D 02 14 */ add r0, r29, r0 /* 801AEDE0 001ABD40 7C 1C 00 40 */ cmplw r28, r0 /* 801AEDE4 001ABD44 40 82 FF A4 */ bne lbl_801AED88 lbl_801AEDE8: /* 801AEDE8 001ABD48 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801AEDEC 001ABD4C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801AEDF0 001ABD50 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801AEDF4 001ABD54 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801AEDF8 001ABD58 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801AEDFC 001ABD5C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801AEE00 001ABD60 83 81 00 30 */ lwz r28, 0x30(r1) /* 801AEE04 001ABD64 7C 08 03 A6 */ mtlr r0 /* 801AEE08 001ABD68 38 21 00 50 */ addi r1, r1, 0x50 /* 801AEE0C 001ABD6C 4E 80 00 20 */ blr .global sub_801aee10 sub_801aee10: /* 801AEE10 001ABD70 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801AEE14 001ABD74 7C 08 02 A6 */ mflr r0 /* 801AEE18 001ABD78 90 01 00 54 */ stw r0, 0x54(r1) /* 801AEE1C 001ABD7C BF 21 00 34 */ stmw r25, 0x34(r1) /* 801AEE20 001ABD80 7C 7C 1B 78 */ mr r28, r3 /* 801AEE24 001ABD84 7C 9D 23 78 */ mr r29, r4 /* 801AEE28 001ABD88 3B FC 08 00 */ addi r31, r28, 0x800 /* 801AEE2C 001ABD8C 80 A3 07 FC */ lwz r5, 0x7fc(r3) /* 801AEE30 001ABD90 38 60 00 00 */ li r3, 0 /* 801AEE34 001ABD94 2C 05 00 00 */ cmpwi r5, 0 /* 801AEE38 001ABD98 40 81 00 40 */ ble lbl_801AEE78 /* 801AEE3C 001ABD9C 2C 05 00 08 */ cmpwi r5, 8 /* 801AEE40 001ABDA0 38 85 FF F8 */ addi r4, r5, -8 /* 801AEE44 001ABDA4 40 81 00 20 */ ble lbl_801AEE64 /* 801AEE48 001ABDA8 38 04 00 07 */ addi r0, r4, 7 /* 801AEE4C 001ABDAC 54 00 E8 FE */ srwi r0, r0, 3 /* 801AEE50 001ABDB0 7C 09 03 A6 */ mtctr r0 /* 801AEE54 001ABDB4 2C 04 00 00 */ cmpwi r4, 0 /* 801AEE58 001ABDB8 40 81 00 0C */ ble lbl_801AEE64 lbl_801AEE5C: /* 801AEE5C 001ABDBC 38 63 00 08 */ addi r3, r3, 8 /* 801AEE60 001ABDC0 42 00 FF FC */ bdnz lbl_801AEE5C lbl_801AEE64: /* 801AEE64 001ABDC4 7C 03 28 50 */ subf r0, r3, r5 /* 801AEE68 001ABDC8 7C 09 03 A6 */ mtctr r0 /* 801AEE6C 001ABDCC 7C 03 28 00 */ cmpw r3, r5 /* 801AEE70 001ABDD0 40 80 00 08 */ bge lbl_801AEE78 lbl_801AEE74: /* 801AEE74 001ABDD4 42 00 00 00 */ bdnz lbl_801AEE74 lbl_801AEE78: /* 801AEE78 001ABDD8 38 00 00 00 */ li r0, 0 /* 801AEE7C 001ABDDC 3B C0 00 00 */ li r30, 0 /* 801AEE80 001ABDE0 90 1C 07 FC */ stw r0, 0x7fc(r28) /* 801AEE84 001ABDE4 48 00 00 EC */ b lbl_801AEF70 lbl_801AEE88: /* 801AEE88 001ABDE8 80 7C 07 A4 */ lwz r3, 0x7a4(r28) /* 801AEE8C 001ABDEC 7F C4 F3 78 */ mr r4, r30 /* 801AEE90 001ABDF0 4B FF 83 A9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801AEE94 001ABDF4 7C 7A 1B 78 */ mr r26, r3 /* 801AEE98 001ABDF8 7F A3 EB 78 */ mr r3, r29 /* 801AEE9C 001ABDFC A0 1A 00 3C */ lhz r0, 0x3c(r26) /* 801AEEA0 001ABE00 38 81 00 08 */ addi r4, r1, 8 /* 801AEEA4 001ABE04 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AEEA8 001ABE08 B0 01 00 08 */ sth r0, 8(r1) /* 801AEEAC 001ABE0C 4B E9 D6 C9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AEEB0 001ABE10 7C 64 1B 78 */ mr r4, r3 /* 801AEEB4 001ABE14 38 61 00 10 */ addi r3, r1, 0x10 /* 801AEEB8 001ABE18 4B F0 04 95 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801AEEBC 001ABE1C 83 23 00 04 */ lwz r25, 4(r3) /* 801AEEC0 001ABE20 28 19 00 00 */ cmplwi r25, 0 /* 801AEEC4 001ABE24 41 82 00 A8 */ beq lbl_801AEF6C /* 801AEEC8 001ABE28 7F 83 E3 78 */ mr r3, r28 /* 801AEECC 001ABE2C 7F A4 EB 78 */ mr r4, r29 /* 801AEED0 001ABE30 81 9C 00 00 */ lwz r12, 0(r28) /* 801AEED4 001ABE34 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AEED8 001ABE38 7D 89 03 A6 */ mtctr r12 /* 801AEEDC 001ABE3C 4E 80 04 21 */ bctrl /* 801AEEE0 001ABE40 7C 7B 1B 78 */ mr r27, r3 /* 801AEEE4 001ABE44 7F 23 CB 78 */ mr r3, r25 /* 801AEEE8 001ABE48 81 99 00 00 */ lwz r12, 0(r25) /* 801AEEEC 001ABE4C 7F A4 EB 78 */ mr r4, r29 /* 801AEEF0 001ABE50 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AEEF4 001ABE54 7D 89 03 A6 */ mtctr r12 /* 801AEEF8 001ABE58 4E 80 04 21 */ bctrl /* 801AEEFC 001ABE5C C0 1B 00 00 */ lfs f0, 0(r27) /* 801AEF00 001ABE60 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801AEF04 001ABE64 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801AEF08 001ABE68 D0 03 00 00 */ stfs f0, 0(r3) /* 801AEF0C 001ABE6C 38 84 00 58 */ addi r4, r4, 0x58 /* 801AEF10 001ABE70 C0 1B 00 04 */ lfs f0, 4(r27) /* 801AEF14 001ABE74 D0 03 00 04 */ stfs f0, 4(r3) /* 801AEF18 001ABE78 38 61 00 18 */ addi r3, r1, 0x18 /* 801AEF1C 001ABE7C 4B E5 5D 9D */ bl string_l__4rstlFPCc /* 801AEF20 001ABE80 38 7A 00 2C */ addi r3, r26, 0x2c /* 801AEF24 001ABE84 38 81 00 18 */ addi r4, r1, 0x18 /* 801AEF28 001ABE88 4B EA 36 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" /* 801AEF2C 001ABE8C 7C 7B 1B 78 */ mr r27, r3 /* 801AEF30 001ABE90 38 61 00 18 */ addi r3, r1, 0x18 /* 801AEF34 001ABE94 48 18 EB AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AEF38 001ABE98 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801AEF3C 001ABE9C 41 82 00 0C */ beq lbl_801AEF48 /* 801AEF40 001ABEA0 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801AEF44 001ABEA4 B0 1C 08 0C */ sth r0, 0x80c(r28) lbl_801AEF48: /* 801AEF48 001ABEA8 80 1C 07 FC */ lwz r0, 0x7fc(r28) /* 801AEF4C 001ABEAC 54 00 08 3C */ slwi r0, r0, 1 /* 801AEF50 001ABEB0 7C 7F 02 15 */ add. r3, r31, r0 /* 801AEF54 001ABEB4 41 82 00 0C */ beq lbl_801AEF60 /* 801AEF58 001ABEB8 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801AEF5C 001ABEBC B0 03 00 00 */ sth r0, 0(r3) lbl_801AEF60: /* 801AEF60 001ABEC0 80 7C 07 FC */ lwz r3, 0x7fc(r28) /* 801AEF64 001ABEC4 38 03 00 01 */ addi r0, r3, 1 /* 801AEF68 001ABEC8 90 1C 07 FC */ stw r0, 0x7fc(r28) lbl_801AEF6C: /* 801AEF6C 001ABECC 3B DE 00 01 */ addi r30, r30, 1 lbl_801AEF70: /* 801AEF70 001ABED0 80 7C 07 A4 */ lwz r3, 0x7a4(r28) /* 801AEF74 001ABED4 4B FF 82 D5 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801AEF78 001ABED8 7C 1E 18 40 */ cmplw r30, r3 /* 801AEF7C 001ABEDC 41 80 FF 0C */ blt lbl_801AEE88 /* 801AEF80 001ABEE0 7F 83 E3 78 */ mr r3, r28 /* 801AEF84 001ABEE4 7F A4 EB 78 */ mr r4, r29 /* 801AEF88 001ABEE8 81 9C 00 00 */ lwz r12, 0(r28) /* 801AEF8C 001ABEEC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801AEF90 001ABEF0 7D 89 03 A6 */ mtctr r12 /* 801AEF94 001ABEF4 4E 80 04 21 */ bctrl /* 801AEF98 001ABEF8 C0 03 00 00 */ lfs f0, 0(r3) /* 801AEF9C 001ABEFC D0 1C 08 18 */ stfs f0, 0x818(r28) /* 801AEFA0 001ABF00 BB 21 00 34 */ lmw r25, 0x34(r1) /* 801AEFA4 001ABF04 80 01 00 54 */ lwz r0, 0x54(r1) /* 801AEFA8 001ABF08 7C 08 03 A6 */ mtlr r0 /* 801AEFAC 001ABF0C 38 21 00 50 */ addi r1, r1, 0x50 /* 801AEFB0 001ABF10 4E 80 00 20 */ blr .global sub_801aefb4 sub_801aefb4: /* 801AEFB4 001ABF14 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801AEFB8 001ABF18 7C 08 02 A6 */ mflr r0 /* 801AEFBC 001ABF1C 90 01 00 34 */ stw r0, 0x34(r1) /* 801AEFC0 001ABF20 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801AEFC4 001ABF24 93 C1 00 28 */ stw r30, 0x28(r1) /* 801AEFC8 001ABF28 7C BE 2B 78 */ mr r30, r5 /* 801AEFCC 001ABF2C 93 A1 00 24 */ stw r29, 0x24(r1) /* 801AEFD0 001ABF30 7C 7D 1B 78 */ mr r29, r3 /* 801AEFD4 001ABF34 A0 03 08 0C */ lhz r0, 0x80c(r3) /* 801AEFD8 001ABF38 7C 83 23 78 */ mr r3, r4 /* 801AEFDC 001ABF3C 38 81 00 08 */ addi r4, r1, 8 /* 801AEFE0 001ABF40 B0 01 00 08 */ sth r0, 8(r1) /* 801AEFE4 001ABF44 4B E9 D5 91 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AEFE8 001ABF48 7C 64 1B 78 */ mr r4, r3 /* 801AEFEC 001ABF4C 38 61 00 0C */ addi r3, r1, 0xc /* 801AEFF0 001ABF50 4B F0 03 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801AEFF4 001ABF54 83 E3 00 04 */ lwz r31, 4(r3) /* 801AEFF8 001ABF58 28 1F 00 00 */ cmplwi r31, 0 /* 801AEFFC 001ABF5C 41 82 00 3C */ beq lbl_801AF038 /* 801AF000 001ABF60 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801AF004 001ABF64 41 82 00 14 */ beq lbl_801AF018 /* 801AF008 001ABF68 7F E3 FB 78 */ mr r3, r31 /* 801AF00C 001ABF6C 38 9D 05 7C */ addi r4, r29, 0x57c /* 801AF010 001ABF70 4B FF 9B 89 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801AF014 001ABF74 48 00 00 24 */ b lbl_801AF038 lbl_801AF018: /* 801AF018 001ABF78 7F A3 EB 78 */ mr r3, r29 /* 801AF01C 001ABF7C 81 9D 00 00 */ lwz r12, 0(r29) /* 801AF020 001ABF80 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801AF024 001ABF84 7D 89 03 A6 */ mtctr r12 /* 801AF028 001ABF88 4E 80 04 21 */ bctrl /* 801AF02C 001ABF8C 7C 64 1B 78 */ mr r4, r3 /* 801AF030 001ABF90 7F E3 FB 78 */ mr r3, r31 /* 801AF034 001ABF94 4B FF 9B 65 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_801AF038: /* 801AF038 001ABF98 80 01 00 34 */ lwz r0, 0x34(r1) /* 801AF03C 001ABF9C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801AF040 001ABFA0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801AF044 001ABFA4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801AF048 001ABFA8 7C 08 03 A6 */ mtlr r0 /* 801AF04C 001ABFAC 38 21 00 30 */ addi r1, r1, 0x30 /* 801AF050 001ABFB0 4E 80 00 20 */ blr .global sub_801af054 sub_801af054: /* 801AF054 001ABFB4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801AF058 001ABFB8 7C 08 02 A6 */ mflr r0 /* 801AF05C 001ABFBC 38 A0 00 00 */ li r5, 0 /* 801AF060 001ABFC0 90 01 00 24 */ stw r0, 0x24(r1) /* 801AF064 001ABFC4 DB E1 00 18 */ stfd f31, 0x18(r1) /* 801AF068 001ABFC8 FF E0 08 90 */ fmr f31, f1 /* 801AF06C 001ABFCC 93 E1 00 14 */ stw r31, 0x14(r1) /* 801AF070 001ABFD0 7C 9F 23 78 */ mr r31, r4 /* 801AF074 001ABFD4 93 C1 00 10 */ stw r30, 0x10(r1) /* 801AF078 001ABFD8 7C 7E 1B 78 */ mr r30, r3 /* 801AF07C 001ABFDC 80 63 07 A4 */ lwz r3, 0x7a4(r3) /* 801AF080 001ABFE0 4B FF 83 D1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801AF084 001ABFE4 FC 20 F8 90 */ fmr f1, f31 /* 801AF088 001ABFE8 80 7E 07 9C */ lwz r3, 0x79c(r30) /* 801AF08C 001ABFEC 7F E4 FB 78 */ mr r4, r31 /* 801AF090 001ABFF0 38 A0 00 00 */ li r5, 0 /* 801AF094 001ABFF4 4B FF 83 BD */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801AF098 001ABFF8 FC 20 F8 90 */ fmr f1, f31 /* 801AF09C 001ABFFC 80 7E 07 A0 */ lwz r3, 0x7a0(r30) /* 801AF0A0 001AC000 7F E4 FB 78 */ mr r4, r31 /* 801AF0A4 001AC004 38 A0 00 00 */ li r5, 0 /* 801AF0A8 001AC008 4B FF 83 A9 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801AF0AC 001AC00C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801AF0B0 001AC010 CB E1 00 18 */ lfd f31, 0x18(r1) /* 801AF0B4 001AC014 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801AF0B8 001AC018 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801AF0BC 001AC01C 7C 08 03 A6 */ mtlr r0 /* 801AF0C0 001AC020 38 21 00 20 */ addi r1, r1, 0x20 /* 801AF0C4 001AC024 4E 80 00 20 */ blr .global sub_801af0c8 sub_801af0c8: /* 801AF0C8 001AC028 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801AF0CC 001AC02C 7C 08 02 A6 */ mflr r0 /* 801AF0D0 001AC030 90 01 00 54 */ stw r0, 0x54(r1) /* 801AF0D4 001AC034 BF 21 00 34 */ stmw r25, 0x34(r1) /* 801AF0D8 001AC038 7C 79 1B 78 */ mr r25, r3 /* 801AF0DC 001AC03C 7C 9A 23 78 */ mr r26, r4 /* 801AF0E0 001AC040 7C BB 2B 78 */ mr r27, r5 /* 801AF0E4 001AC044 3B A0 00 00 */ li r29, 0 /* 801AF0E8 001AC048 48 00 00 FC */ b lbl_801AF1E4 lbl_801AF0EC: /* 801AF0EC 001AC04C 80 7A 00 00 */ lwz r3, 0(r26) /* 801AF0F0 001AC050 7F A4 EB 78 */ mr r4, r29 /* 801AF0F4 001AC054 4B FF 81 45 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801AF0F8 001AC058 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801AF0FC 001AC05C 7F 63 DB 78 */ mr r3, r27 /* 801AF100 001AC060 38 81 00 08 */ addi r4, r1, 8 /* 801AF104 001AC064 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AF108 001AC068 B0 01 00 08 */ sth r0, 8(r1) /* 801AF10C 001AC06C 4B E9 D4 69 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801AF110 001AC070 7C 7C 1B 79 */ or. r28, r3, r3 /* 801AF114 001AC074 41 82 00 CC */ beq lbl_801AF1E0 /* 801AF118 001AC078 80 AD 90 BC */ lwz r5, lbl_805A7C7C@sda21(r13) /* 801AF11C 001AC07C 38 60 00 00 */ li r3, 0 /* 801AF120 001AC080 38 80 00 01 */ li r4, 1 /* 801AF124 001AC084 48 1D AD D1 */ bl __shl2i /* 801AF128 001AC088 80 AD 90 C0 */ lwz r5, lbl_805A7C80@sda21(r13) /* 801AF12C 001AC08C 7C 9E 23 78 */ mr r30, r4 /* 801AF130 001AC090 7C 7F 1B 78 */ mr r31, r3 /* 801AF134 001AC094 38 60 00 00 */ li r3, 0 /* 801AF138 001AC098 38 80 00 01 */ li r4, 1 /* 801AF13C 001AC09C 48 1D AD B9 */ bl __shl2i /* 801AF140 001AC0A0 80 AD 90 C4 */ lwz r5, lbl_805A7C84@sda21(r13) /* 801AF144 001AC0A4 7F DE 23 78 */ or r30, r30, r4 /* 801AF148 001AC0A8 7F FF 1B 78 */ or r31, r31, r3 /* 801AF14C 001AC0AC 38 60 00 00 */ li r3, 0 /* 801AF150 001AC0B0 38 80 00 01 */ li r4, 1 /* 801AF154 001AC0B4 48 1D AD A1 */ bl __shl2i /* 801AF158 001AC0B8 80 AD 90 C8 */ lwz r5, lbl_805A7C88@sda21(r13) /* 801AF15C 001AC0BC 7F DE 23 78 */ or r30, r30, r4 /* 801AF160 001AC0C0 7F FF 1B 78 */ or r31, r31, r3 /* 801AF164 001AC0C4 38 60 00 00 */ li r3, 0 /* 801AF168 001AC0C8 38 80 00 01 */ li r4, 1 /* 801AF16C 001AC0CC 48 1D AD 89 */ bl __shl2i /* 801AF170 001AC0D0 80 AD 90 B8 */ lwz r5, lbl_805A7C78@sda21(r13) /* 801AF174 001AC0D4 7F DE 23 78 */ or r30, r30, r4 /* 801AF178 001AC0D8 7F FF 1B 78 */ or r31, r31, r3 /* 801AF17C 001AC0DC 38 60 00 00 */ li r3, 0 /* 801AF180 001AC0E0 38 80 00 01 */ li r4, 1 /* 801AF184 001AC0E4 48 1D AD 71 */ bl __shl2i /* 801AF188 001AC0E8 38 00 00 03 */ li r0, 3 /* 801AF18C 001AC0EC 90 81 00 14 */ stw r4, 0x14(r1) /* 801AF190 001AC0F0 38 81 00 10 */ addi r4, r1, 0x10 /* 801AF194 001AC0F4 90 61 00 10 */ stw r3, 0x10(r1) /* 801AF198 001AC0F8 7F 83 E3 78 */ mr r3, r28 /* 801AF19C 001AC0FC 93 C1 00 1C */ stw r30, 0x1c(r1) /* 801AF1A0 001AC100 93 E1 00 18 */ stw r31, 0x18(r1) /* 801AF1A4 001AC104 90 01 00 20 */ stw r0, 0x20(r1) /* 801AF1A8 001AC108 4B EA 46 F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801AF1AC 001AC10C 7F 83 E3 78 */ mr r3, r28 /* 801AF1B0 001AC110 7F 66 DB 78 */ mr r6, r27 /* 801AF1B4 001AC114 38 80 00 22 */ li r4, 0x22 /* 801AF1B8 001AC118 38 A0 00 1B */ li r5, 0x1b /* 801AF1BC 001AC11C 4B EA 50 F9 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 801AF1C0 001AC120 7F 23 CB 78 */ mr r3, r25 /* 801AF1C4 001AC124 81 99 00 00 */ lwz r12, 0(r25) /* 801AF1C8 001AC128 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801AF1CC 001AC12C 7D 89 03 A6 */ mtctr r12 /* 801AF1D0 001AC130 4E 80 04 21 */ bctrl /* 801AF1D4 001AC134 7C 64 1B 78 */ mr r4, r3 /* 801AF1D8 001AC138 7F 83 E3 78 */ mr r3, r28 /* 801AF1DC 001AC13C 4B FF 99 BD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_801AF1E0: /* 801AF1E0 001AC140 3B BD 00 01 */ addi r29, r29, 1 lbl_801AF1E4: /* 801AF1E4 001AC144 80 7A 00 00 */ lwz r3, 0(r26) /* 801AF1E8 001AC148 4B FF 80 61 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801AF1EC 001AC14C 7C 1D 18 40 */ cmplw r29, r3 /* 801AF1F0 001AC150 41 80 FE FC */ blt lbl_801AF0EC /* 801AF1F4 001AC154 BB 21 00 34 */ lmw r25, 0x34(r1) /* 801AF1F8 001AC158 80 01 00 54 */ lwz r0, 0x54(r1) /* 801AF1FC 001AC15C 7C 08 03 A6 */ mtlr r0 /* 801AF200 001AC160 38 21 00 50 */ addi r1, r1, 0x50 /* 801AF204 001AC164 4E 80 00 20 */ blr .global sub_801af208 sub_801af208: /* 801AF208 001AC168 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801AF20C 001AC16C 7C 08 02 A6 */ mflr r0 /* 801AF210 001AC170 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801AF214 001AC174 BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 801AF218 001AC178 7C B9 2B 78 */ mr r25, r5 /* 801AF21C 001AC17C 7C DA 33 78 */ mr r26, r6 /* 801AF220 001AC180 7C 9E 23 78 */ mr r30, r4 /* 801AF224 001AC184 3B A1 00 60 */ addi r29, r1, 0x60 /* 801AF228 001AC188 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 801AF22C 001AC18C 3B 60 00 00 */ li r27, 0 /* 801AF230 001AC190 80 63 00 64 */ lwz r3, 0x64(r3) /* 801AF234 001AC194 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801AF238 001AC198 48 00 01 20 */ b lbl_801AF358 lbl_801AF23C: /* 801AF23C 001AC19C 80 9E 00 00 */ lwz r4, 0(r30) /* 801AF240 001AC1A0 38 61 00 24 */ addi r3, r1, 0x24 /* 801AF244 001AC1A4 4B E5 5A 75 */ bl string_l__4rstlFPCc /* 801AF248 001AC1A8 7F E4 FB 78 */ mr r4, r31 /* 801AF24C 001AC1AC 38 61 00 0C */ addi r3, r1, 0xc /* 801AF250 001AC1B0 38 A1 00 24 */ addi r5, r1, 0x24 /* 801AF254 001AC1B4 4B E7 F5 E5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AF258 001AC1B8 88 01 00 0C */ lbz r0, 0xc(r1) /* 801AF25C 001AC1BC 38 61 00 24 */ addi r3, r1, 0x24 /* 801AF260 001AC1C0 98 01 00 10 */ stb r0, 0x10(r1) /* 801AF264 001AC1C4 48 18 E8 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AF268 001AC1C8 88 01 00 10 */ lbz r0, 0x10(r1) /* 801AF26C 001AC1CC 28 00 00 FF */ cmplwi r0, 0xff /* 801AF270 001AC1D0 41 82 00 E0 */ beq lbl_801AF350 /* 801AF274 001AC1D4 80 9E 00 00 */ lwz r4, 0(r30) /* 801AF278 001AC1D8 38 61 00 14 */ addi r3, r1, 0x14 /* 801AF27C 001AC1DC 4B E5 5A 3D */ bl string_l__4rstlFPCc /* 801AF280 001AC1E0 88 01 00 10 */ lbz r0, 0x10(r1) /* 801AF284 001AC1E4 38 61 00 34 */ addi r3, r1, 0x34 /* 801AF288 001AC1E8 C0 3E 00 04 */ lfs f1, 4(r30) /* 801AF28C 001AC1EC 38 81 00 08 */ addi r4, r1, 8 /* 801AF290 001AC1F0 98 01 00 08 */ stb r0, 8(r1) /* 801AF294 001AC1F4 38 A1 00 14 */ addi r5, r1, 0x14 /* 801AF298 001AC1F8 C0 42 A8 F0 */ lfs f2, lbl_805AC610@sda21(r2) /* 801AF29C 001AC1FC 4B FF 95 71 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801AF2A0 001AC200 80 E1 00 34 */ lwz r7, 0x34(r1) /* 801AF2A4 001AC204 7F 83 E3 78 */ mr r3, r28 /* 801AF2A8 001AC208 80 C1 00 38 */ lwz r6, 0x38(r1) /* 801AF2AC 001AC20C 7F A4 EB 78 */ mr r4, r29 /* 801AF2B0 001AC210 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 801AF2B4 001AC214 88 01 00 3D */ lbz r0, 0x3d(r1) /* 801AF2B8 001AC218 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 801AF2BC 001AC21C C0 C1 00 44 */ lfs f6, 0x44(r1) /* 801AF2C0 001AC220 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 801AF2C4 001AC224 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 801AF2C8 001AC228 C0 61 00 50 */ lfs f3, 0x50(r1) /* 801AF2CC 001AC22C C0 41 00 54 */ lfs f2, 0x54(r1) /* 801AF2D0 001AC230 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801AF2D4 001AC234 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801AF2D8 001AC238 90 E1 00 78 */ stw r7, 0x78(r1) /* 801AF2DC 001AC23C 90 C1 00 7C */ stw r6, 0x7c(r1) /* 801AF2E0 001AC240 98 A1 00 80 */ stb r5, 0x80(r1) /* 801AF2E4 001AC244 98 01 00 81 */ stb r0, 0x81(r1) /* 801AF2E8 001AC248 D0 E1 00 84 */ stfs f7, 0x84(r1) /* 801AF2EC 001AC24C D0 C1 00 88 */ stfs f6, 0x88(r1) /* 801AF2F0 001AC250 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 801AF2F4 001AC254 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801AF2F8 001AC258 D0 61 00 94 */ stfs f3, 0x94(r1) /* 801AF2FC 001AC25C D0 41 00 98 */ stfs f2, 0x98(r1) /* 801AF300 001AC260 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801AF304 001AC264 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801AF308 001AC268 48 18 EE 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AF30C 001AC26C A0 01 00 70 */ lhz r0, 0x70(r1) /* 801AF310 001AC270 28 1D 00 00 */ cmplwi r29, 0 /* 801AF314 001AC274 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801AF318 001AC278 B0 01 00 B4 */ sth r0, 0xb4(r1) /* 801AF31C 001AC27C D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801AF320 001AC280 41 82 00 0C */ beq lbl_801AF32C /* 801AF324 001AC284 7F A3 EB 78 */ mr r3, r29 /* 801AF328 001AC288 48 18 E7 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801AF32C: /* 801AF32C 001AC28C 38 61 00 14 */ addi r3, r1, 0x14 /* 801AF330 001AC290 48 18 E7 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AF334 001AC294 7F 43 D3 78 */ mr r3, r26 /* 801AF338 001AC298 38 81 00 78 */ addi r4, r1, 0x78 /* 801AF33C 001AC29C 4B FA 6E F5 */ bl sub_80156230 /* 801AF340 001AC2A0 28 1C 00 00 */ cmplwi r28, 0 /* 801AF344 001AC2A4 41 82 00 0C */ beq lbl_801AF350 /* 801AF348 001AC2A8 7F 83 E3 78 */ mr r3, r28 /* 801AF34C 001AC2AC 48 18 E7 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801AF350: /* 801AF350 001AC2B0 3B DE 00 08 */ addi r30, r30, 8 /* 801AF354 001AC2B4 3B 7B 00 01 */ addi r27, r27, 1 lbl_801AF358: /* 801AF358 001AC2B8 7C 1B C8 00 */ cmpw r27, r25 /* 801AF35C 001AC2BC 41 80 FE E0 */ blt lbl_801AF23C /* 801AF360 001AC2C0 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 801AF364 001AC2C4 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801AF368 001AC2C8 7C 08 03 A6 */ mtlr r0 /* 801AF36C 001AC2CC 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801AF370 001AC2D0 4E 80 00 20 */ blr .global sub_801af374 sub_801af374: /* 801AF374 001AC2D4 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801AF378 001AC2D8 7C 08 02 A6 */ mflr r0 /* 801AF37C 001AC2DC 90 01 01 04 */ stw r0, 0x104(r1) /* 801AF380 001AC2E0 BF 21 00 E4 */ stmw r25, 0xe4(r1) /* 801AF384 001AC2E4 7C B9 2B 78 */ mr r25, r5 /* 801AF388 001AC2E8 7C DA 33 78 */ mr r26, r6 /* 801AF38C 001AC2EC 7C 9E 23 78 */ mr r30, r4 /* 801AF390 001AC2F0 3B A1 00 7C */ addi r29, r1, 0x7c /* 801AF394 001AC2F4 3B 81 00 C0 */ addi r28, r1, 0xc0 /* 801AF398 001AC2F8 3B 60 00 00 */ li r27, 0 /* 801AF39C 001AC2FC 80 63 00 64 */ lwz r3, 0x64(r3) /* 801AF3A0 001AC300 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801AF3A4 001AC304 48 00 01 6C */ b lbl_801AF510 lbl_801AF3A8: /* 801AF3A8 001AC308 80 9E 00 00 */ lwz r4, 0(r30) /* 801AF3AC 001AC30C 38 61 00 40 */ addi r3, r1, 0x40 /* 801AF3B0 001AC310 4B E5 59 09 */ bl string_l__4rstlFPCc /* 801AF3B4 001AC314 7F E4 FB 78 */ mr r4, r31 /* 801AF3B8 001AC318 38 61 00 14 */ addi r3, r1, 0x14 /* 801AF3BC 001AC31C 38 A1 00 40 */ addi r5, r1, 0x40 /* 801AF3C0 001AC320 4B E7 F4 79 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AF3C4 001AC324 88 01 00 14 */ lbz r0, 0x14(r1) /* 801AF3C8 001AC328 38 61 00 40 */ addi r3, r1, 0x40 /* 801AF3CC 001AC32C 98 01 00 1C */ stb r0, 0x1c(r1) /* 801AF3D0 001AC330 48 18 E7 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AF3D4 001AC334 80 9E 00 04 */ lwz r4, 4(r30) /* 801AF3D8 001AC338 38 61 00 30 */ addi r3, r1, 0x30 /* 801AF3DC 001AC33C 4B E5 58 DD */ bl string_l__4rstlFPCc /* 801AF3E0 001AC340 7F E4 FB 78 */ mr r4, r31 /* 801AF3E4 001AC344 38 61 00 10 */ addi r3, r1, 0x10 /* 801AF3E8 001AC348 38 A1 00 30 */ addi r5, r1, 0x30 /* 801AF3EC 001AC34C 4B E7 F4 4D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AF3F0 001AC350 88 01 00 10 */ lbz r0, 0x10(r1) /* 801AF3F4 001AC354 38 61 00 30 */ addi r3, r1, 0x30 /* 801AF3F8 001AC358 98 01 00 18 */ stb r0, 0x18(r1) /* 801AF3FC 001AC35C 48 18 E6 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AF400 001AC360 88 01 00 1C */ lbz r0, 0x1c(r1) /* 801AF404 001AC364 28 00 00 FF */ cmplwi r0, 0xff /* 801AF408 001AC368 41 82 01 00 */ beq lbl_801AF508 /* 801AF40C 001AC36C 88 01 00 18 */ lbz r0, 0x18(r1) /* 801AF410 001AC370 28 00 00 FF */ cmplwi r0, 0xff /* 801AF414 001AC374 41 82 00 F4 */ beq lbl_801AF508 /* 801AF418 001AC378 80 9E 00 00 */ lwz r4, 0(r30) /* 801AF41C 001AC37C 38 61 00 20 */ addi r3, r1, 0x20 /* 801AF420 001AC380 4B E5 58 99 */ bl string_l__4rstlFPCc /* 801AF424 001AC384 88 A1 00 18 */ lbz r5, 0x18(r1) /* 801AF428 001AC388 38 61 00 50 */ addi r3, r1, 0x50 /* 801AF42C 001AC38C 88 01 00 1C */ lbz r0, 0x1c(r1) /* 801AF430 001AC390 38 81 00 0C */ addi r4, r1, 0xc /* 801AF434 001AC394 98 A1 00 08 */ stb r5, 8(r1) /* 801AF438 001AC398 38 A1 00 08 */ addi r5, r1, 8 /* 801AF43C 001AC39C C0 3E 00 08 */ lfs f1, 8(r30) /* 801AF440 001AC3A0 38 E1 00 20 */ addi r7, r1, 0x20 /* 801AF444 001AC3A4 98 01 00 0C */ stb r0, 0xc(r1) /* 801AF448 001AC3A8 38 C0 00 01 */ li r6, 1 /* 801AF44C 001AC3AC C0 5E 00 0C */ lfs f2, 0xc(r30) /* 801AF450 001AC3B0 C0 62 A8 F0 */ lfs f3, lbl_805AC610@sda21(r2) /* 801AF454 001AC3B4 4B FF 93 01 */ bl "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801AF458 001AC3B8 80 E1 00 50 */ lwz r7, 0x50(r1) /* 801AF45C 001AC3BC 7F 83 E3 78 */ mr r3, r28 /* 801AF460 001AC3C0 80 C1 00 54 */ lwz r6, 0x54(r1) /* 801AF464 001AC3C4 7F A4 EB 78 */ mr r4, r29 /* 801AF468 001AC3C8 88 A1 00 58 */ lbz r5, 0x58(r1) /* 801AF46C 001AC3CC 88 01 00 59 */ lbz r0, 0x59(r1) /* 801AF470 001AC3D0 C0 E1 00 5C */ lfs f7, 0x5c(r1) /* 801AF474 001AC3D4 C0 C1 00 60 */ lfs f6, 0x60(r1) /* 801AF478 001AC3D8 C0 A1 00 64 */ lfs f5, 0x64(r1) /* 801AF47C 001AC3DC C0 81 00 68 */ lfs f4, 0x68(r1) /* 801AF480 001AC3E0 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 801AF484 001AC3E4 C0 41 00 70 */ lfs f2, 0x70(r1) /* 801AF488 001AC3E8 C0 21 00 74 */ lfs f1, 0x74(r1) /* 801AF48C 001AC3EC C0 01 00 78 */ lfs f0, 0x78(r1) /* 801AF490 001AC3F0 90 E1 00 94 */ stw r7, 0x94(r1) /* 801AF494 001AC3F4 90 C1 00 98 */ stw r6, 0x98(r1) /* 801AF498 001AC3F8 98 A1 00 9C */ stb r5, 0x9c(r1) /* 801AF49C 001AC3FC 98 01 00 9D */ stb r0, 0x9d(r1) /* 801AF4A0 001AC400 D0 E1 00 A0 */ stfs f7, 0xa0(r1) /* 801AF4A4 001AC404 D0 C1 00 A4 */ stfs f6, 0xa4(r1) /* 801AF4A8 001AC408 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 801AF4AC 001AC40C D0 81 00 AC */ stfs f4, 0xac(r1) /* 801AF4B0 001AC410 D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 801AF4B4 001AC414 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 801AF4B8 001AC418 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 801AF4BC 001AC41C D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801AF4C0 001AC420 48 18 EC A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801AF4C4 001AC424 A0 01 00 8C */ lhz r0, 0x8c(r1) /* 801AF4C8 001AC428 28 1D 00 00 */ cmplwi r29, 0 /* 801AF4CC 001AC42C C0 01 00 90 */ lfs f0, 0x90(r1) /* 801AF4D0 001AC430 B0 01 00 D0 */ sth r0, 0xd0(r1) /* 801AF4D4 001AC434 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 801AF4D8 001AC438 41 82 00 0C */ beq lbl_801AF4E4 /* 801AF4DC 001AC43C 7F A3 EB 78 */ mr r3, r29 /* 801AF4E0 001AC440 48 18 E6 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801AF4E4: /* 801AF4E4 001AC444 38 61 00 20 */ addi r3, r1, 0x20 /* 801AF4E8 001AC448 48 18 E5 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801AF4EC 001AC44C 7F 43 D3 78 */ mr r3, r26 /* 801AF4F0 001AC450 38 81 00 94 */ addi r4, r1, 0x94 /* 801AF4F4 001AC454 4B FA 6D 3D */ bl sub_80156230 /* 801AF4F8 001AC458 28 1C 00 00 */ cmplwi r28, 0 /* 801AF4FC 001AC45C 41 82 00 0C */ beq lbl_801AF508 /* 801AF500 001AC460 7F 83 E3 78 */ mr r3, r28 /* 801AF504 001AC464 48 18 E5 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801AF508: /* 801AF508 001AC468 3B DE 00 10 */ addi r30, r30, 0x10 /* 801AF50C 001AC46C 3B 7B 00 01 */ addi r27, r27, 1 lbl_801AF510: /* 801AF510 001AC470 7C 1B C8 00 */ cmpw r27, r25 /* 801AF514 001AC474 41 80 FE 94 */ blt lbl_801AF3A8 /* 801AF518 001AC478 BB 21 00 E4 */ lmw r25, 0xe4(r1) /* 801AF51C 001AC47C 80 01 01 04 */ lwz r0, 0x104(r1) /* 801AF520 001AC480 7C 08 03 A6 */ mtlr r0 /* 801AF524 001AC484 38 21 01 00 */ addi r1, r1, 0x100 /* 801AF528 001AC488 4E 80 00 20 */ blr .global sub_801af52c sub_801af52c: /* 801AF52C 001AC48C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801AF530 001AC490 7C 08 02 A6 */ mflr r0 /* 801AF534 001AC494 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801AF538 001AC498 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801AF53C 001AC49C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801AF540 001AC4A0 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801AF544 001AC4A4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801AF548 001AC4A8 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801AF54C 001AC4AC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801AF550 001AC4B0 93 E1 00 AC */ stw r31, 0xac(r1) /* 801AF554 001AC4B4 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801AF558 001AC4B8 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 801AF55C 001AC4BC 93 81 00 A0 */ stw r28, 0xa0(r1) /* 801AF560 001AC4C0 7C 7F 1B 78 */ mr r31, r3 /* 801AF564 001AC4C4 3C 60 80 3D */ lis r3, lbl_803D14E0@ha /* 801AF568 001AC4C8 C0 3F 05 70 */ lfs f1, 0x570(r31) /* 801AF56C 001AC4CC 7C 9E 23 78 */ mr r30, r4 /* 801AF570 001AC4D0 80 BF 00 64 */ lwz r5, 0x64(r31) /* 801AF574 001AC4D4 38 00 00 00 */ li r0, 0 /* 801AF578 001AC4D8 C0 02 A8 DC */ lfs f0, lbl_805AC5FC@sda21(r2) /* 801AF57C 001AC4DC 3B A3 14 E0 */ addi r29, r3, lbl_803D14E0@l /* 801AF580 001AC4E0 C3 E5 00 00 */ lfs f31, 0(r5) /* 801AF584 001AC4E4 38 61 00 70 */ addi r3, r1, 0x70 /* 801AF588 001AC4E8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801AF58C 001AC4EC C3 C5 00 04 */ lfs f30, 4(r5) /* 801AF590 001AC4F0 C3 A5 00 08 */ lfs f29, 8(r5) /* 801AF594 001AC4F4 38 80 00 03 */ li r4, 3 /* 801AF598 001AC4F8 D0 05 00 00 */ stfs f0, 0(r5) /* 801AF59C 001AC4FC D0 05 00 04 */ stfs f0, 4(r5) /* 801AF5A0 001AC500 D0 05 00 08 */ stfs f0, 8(r5) /* 801AF5A4 001AC504 90 01 00 74 */ stw r0, 0x74(r1) /* 801AF5A8 001AC508 90 01 00 78 */ stw r0, 0x78(r1) /* 801AF5AC 001AC50C 90 01 00 7C */ stw r0, 0x7c(r1) /* 801AF5B0 001AC510 4B FA 72 09 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801AF5B4 001AC514 7F E3 FB 78 */ mr r3, r31 /* 801AF5B8 001AC518 38 9D 00 00 */ addi r4, r29, 0 /* 801AF5BC 001AC51C 38 C1 00 70 */ addi r6, r1, 0x70 /* 801AF5C0 001AC520 38 A0 00 03 */ li r5, 3 /* 801AF5C4 001AC524 4B FF FD B1 */ bl sub_801af374 /* 801AF5C8 001AC528 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801AF5CC 001AC52C 38 60 00 18 */ li r3, 0x18 /* 801AF5D0 001AC530 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801AF5D4 001AC534 38 A0 00 00 */ li r5, 0 /* 801AF5D8 001AC538 38 84 00 7E */ addi r4, r4, 0x7e /* 801AF5DC 001AC53C 48 16 62 91 */ bl __nw__FUlPCcPCc /* 801AF5E0 001AC540 7C 7C 1B 79 */ or. r28, r3, r3 /* 801AF5E4 001AC544 41 82 00 38 */ beq lbl_801AF61C /* 801AF5E8 001AC548 81 3F 00 04 */ lwz r9, 4(r31) /* 801AF5EC 001AC54C 7F C4 F3 78 */ mr r4, r30 /* 801AF5F0 001AC550 38 A1 00 1C */ addi r5, r1, 0x1c /* 801AF5F4 001AC554 38 C1 00 34 */ addi r6, r1, 0x34 /* 801AF5F8 001AC558 91 21 00 34 */ stw r9, 0x34(r1) /* 801AF5FC 001AC55C 38 E1 00 70 */ addi r7, r1, 0x70 /* 801AF600 001AC560 39 00 00 01 */ li r8, 1 /* 801AF604 001AC564 A0 1F 00 08 */ lhz r0, 8(r31) /* 801AF608 001AC568 91 21 00 30 */ stw r9, 0x30(r1) /* 801AF60C 001AC56C B0 01 00 18 */ sth r0, 0x18(r1) /* 801AF610 001AC570 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801AF614 001AC574 4B FF 83 1D */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801AF618 001AC578 7C 7C 1B 78 */ mr r28, r3 lbl_801AF61C: /* 801AF61C 001AC57C 80 7F 07 9C */ lwz r3, 0x79c(r31) /* 801AF620 001AC580 38 80 00 01 */ li r4, 1 /* 801AF624 001AC584 4B FF 82 B9 */ bl sub_801a78dc /* 801AF628 001AC588 93 9F 07 9C */ stw r28, 0x79c(r31) /* 801AF62C 001AC58C 7F E3 FB 78 */ mr r3, r31 /* 801AF630 001AC590 7F C5 F3 78 */ mr r5, r30 /* 801AF634 001AC594 38 9F 07 9C */ addi r4, r31, 0x79c /* 801AF638 001AC598 4B FF FA 91 */ bl sub_801af0c8 /* 801AF63C 001AC59C 38 00 00 00 */ li r0, 0 /* 801AF640 001AC5A0 38 61 00 60 */ addi r3, r1, 0x60 /* 801AF644 001AC5A4 90 01 00 64 */ stw r0, 0x64(r1) /* 801AF648 001AC5A8 38 80 00 03 */ li r4, 3 /* 801AF64C 001AC5AC 90 01 00 68 */ stw r0, 0x68(r1) /* 801AF650 001AC5B0 90 01 00 6C */ stw r0, 0x6c(r1) /* 801AF654 001AC5B4 4B FA 71 65 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801AF658 001AC5B8 7F E3 FB 78 */ mr r3, r31 /* 801AF65C 001AC5BC 38 9D 00 30 */ addi r4, r29, 0x30 /* 801AF660 001AC5C0 38 C1 00 60 */ addi r6, r1, 0x60 /* 801AF664 001AC5C4 38 A0 00 03 */ li r5, 3 /* 801AF668 001AC5C8 4B FF FD 0D */ bl sub_801af374 /* 801AF66C 001AC5CC 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801AF670 001AC5D0 38 60 00 18 */ li r3, 0x18 /* 801AF674 001AC5D4 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801AF678 001AC5D8 38 A0 00 00 */ li r5, 0 /* 801AF67C 001AC5DC 38 84 00 7E */ addi r4, r4, 0x7e /* 801AF680 001AC5E0 48 16 61 ED */ bl __nw__FUlPCcPCc /* 801AF684 001AC5E4 7C 7C 1B 79 */ or. r28, r3, r3 /* 801AF688 001AC5E8 41 82 00 38 */ beq lbl_801AF6C0 /* 801AF68C 001AC5EC 81 3F 00 04 */ lwz r9, 4(r31) /* 801AF690 001AC5F0 7F C4 F3 78 */ mr r4, r30 /* 801AF694 001AC5F4 38 A1 00 14 */ addi r5, r1, 0x14 /* 801AF698 001AC5F8 38 C1 00 2C */ addi r6, r1, 0x2c /* 801AF69C 001AC5FC 91 21 00 2C */ stw r9, 0x2c(r1) /* 801AF6A0 001AC600 38 E1 00 60 */ addi r7, r1, 0x60 /* 801AF6A4 001AC604 39 00 00 01 */ li r8, 1 /* 801AF6A8 001AC608 A0 1F 00 08 */ lhz r0, 8(r31) /* 801AF6AC 001AC60C 91 21 00 28 */ stw r9, 0x28(r1) /* 801AF6B0 001AC610 B0 01 00 10 */ sth r0, 0x10(r1) /* 801AF6B4 001AC614 B0 01 00 14 */ sth r0, 0x14(r1) /* 801AF6B8 001AC618 4B FF 82 79 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801AF6BC 001AC61C 7C 7C 1B 78 */ mr r28, r3 lbl_801AF6C0: /* 801AF6C0 001AC620 80 7F 07 A0 */ lwz r3, 0x7a0(r31) /* 801AF6C4 001AC624 38 80 00 01 */ li r4, 1 /* 801AF6C8 001AC628 4B FF 82 15 */ bl sub_801a78dc /* 801AF6CC 001AC62C 93 9F 07 A0 */ stw r28, 0x7a0(r31) /* 801AF6D0 001AC630 7F E3 FB 78 */ mr r3, r31 /* 801AF6D4 001AC634 7F C5 F3 78 */ mr r5, r30 /* 801AF6D8 001AC638 38 9F 07 A0 */ addi r4, r31, 0x7a0 /* 801AF6DC 001AC63C 4B FF F9 ED */ bl sub_801af0c8 /* 801AF6E0 001AC640 38 00 00 00 */ li r0, 0 /* 801AF6E4 001AC644 38 61 00 50 */ addi r3, r1, 0x50 /* 801AF6E8 001AC648 90 01 00 54 */ stw r0, 0x54(r1) /* 801AF6EC 001AC64C 38 80 00 05 */ li r4, 5 /* 801AF6F0 001AC650 90 01 00 58 */ stw r0, 0x58(r1) /* 801AF6F4 001AC654 90 01 00 5C */ stw r0, 0x5c(r1) /* 801AF6F8 001AC658 4B FA 70 C1 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801AF6FC 001AC65C 7F E3 FB 78 */ mr r3, r31 /* 801AF700 001AC660 38 9D 00 60 */ addi r4, r29, 0x60 /* 801AF704 001AC664 38 C1 00 50 */ addi r6, r1, 0x50 /* 801AF708 001AC668 38 A0 00 05 */ li r5, 5 /* 801AF70C 001AC66C 4B FF FA FD */ bl sub_801af208 /* 801AF710 001AC670 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801AF714 001AC674 38 60 00 18 */ li r3, 0x18 /* 801AF718 001AC678 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801AF71C 001AC67C 38 A0 00 00 */ li r5, 0 /* 801AF720 001AC680 38 84 00 7E */ addi r4, r4, 0x7e /* 801AF724 001AC684 48 16 61 49 */ bl __nw__FUlPCcPCc /* 801AF728 001AC688 7C 7C 1B 79 */ or. r28, r3, r3 /* 801AF72C 001AC68C 41 82 00 38 */ beq lbl_801AF764 /* 801AF730 001AC690 81 3F 00 04 */ lwz r9, 4(r31) /* 801AF734 001AC694 7F C4 F3 78 */ mr r4, r30 /* 801AF738 001AC698 38 A1 00 0C */ addi r5, r1, 0xc /* 801AF73C 001AC69C 38 C1 00 24 */ addi r6, r1, 0x24 /* 801AF740 001AC6A0 91 21 00 24 */ stw r9, 0x24(r1) /* 801AF744 001AC6A4 38 E1 00 50 */ addi r7, r1, 0x50 /* 801AF748 001AC6A8 39 00 00 01 */ li r8, 1 /* 801AF74C 001AC6AC A0 1F 00 08 */ lhz r0, 8(r31) /* 801AF750 001AC6B0 91 21 00 20 */ stw r9, 0x20(r1) /* 801AF754 001AC6B4 B0 01 00 08 */ sth r0, 8(r1) /* 801AF758 001AC6B8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AF75C 001AC6BC 4B FF 81 D5 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801AF760 001AC6C0 7C 7C 1B 78 */ mr r28, r3 lbl_801AF764: /* 801AF764 001AC6C4 80 7F 07 A4 */ lwz r3, 0x7a4(r31) /* 801AF768 001AC6C8 38 80 00 01 */ li r4, 1 /* 801AF76C 001AC6CC 4B FF 81 71 */ bl sub_801a78dc /* 801AF770 001AC6D0 93 9F 07 A4 */ stw r28, 0x7a4(r31) /* 801AF774 001AC6D4 7F E3 FB 78 */ mr r3, r31 /* 801AF778 001AC6D8 7F C5 F3 78 */ mr r5, r30 /* 801AF77C 001AC6DC 38 9F 07 A4 */ addi r4, r31, 0x7a4 /* 801AF780 001AC6E0 4B FF F9 49 */ bl sub_801af0c8 /* 801AF784 001AC6E4 7F E3 FB 78 */ mr r3, r31 /* 801AF788 001AC6E8 7F C4 F3 78 */ mr r4, r30 /* 801AF78C 001AC6EC 4B FF F6 85 */ bl sub_801aee10 /* 801AF790 001AC6F0 80 AD 90 94 */ lwz r5, lbl_805A7C54@sda21(r13) /* 801AF794 001AC6F4 38 60 00 00 */ li r3, 0 /* 801AF798 001AC6F8 38 80 00 01 */ li r4, 1 /* 801AF79C 001AC6FC 48 1D A7 59 */ bl __shl2i /* 801AF7A0 001AC700 80 AD 90 98 */ lwz r5, lbl_805A7C58@sda21(r13) /* 801AF7A4 001AC704 7C 9D 23 78 */ mr r29, r4 /* 801AF7A8 001AC708 7C 7C 1B 78 */ mr r28, r3 /* 801AF7AC 001AC70C 38 60 00 00 */ li r3, 0 /* 801AF7B0 001AC710 38 80 00 01 */ li r4, 1 /* 801AF7B4 001AC714 48 1D A7 41 */ bl __shl2i /* 801AF7B8 001AC718 80 AD 90 9C */ lwz r5, lbl_805A7C5C@sda21(r13) /* 801AF7BC 001AC71C 7F BD 23 78 */ or r29, r29, r4 /* 801AF7C0 001AC720 7F 9C 1B 78 */ or r28, r28, r3 /* 801AF7C4 001AC724 38 60 00 00 */ li r3, 0 /* 801AF7C8 001AC728 38 80 00 01 */ li r4, 1 /* 801AF7CC 001AC72C 48 1D A7 29 */ bl __shl2i /* 801AF7D0 001AC730 80 AD 90 90 */ lwz r5, lbl_805A7C50@sda21(r13) /* 801AF7D4 001AC734 7F BD 23 78 */ or r29, r29, r4 /* 801AF7D8 001AC738 7F 9C 1B 78 */ or r28, r28, r3 /* 801AF7DC 001AC73C 38 60 00 00 */ li r3, 0 /* 801AF7E0 001AC740 38 80 00 01 */ li r4, 1 /* 801AF7E4 001AC744 48 1D A7 11 */ bl __shl2i /* 801AF7E8 001AC748 38 00 00 03 */ li r0, 3 /* 801AF7EC 001AC74C 90 81 00 84 */ stw r4, 0x84(r1) /* 801AF7F0 001AC750 38 81 00 80 */ addi r4, r1, 0x80 /* 801AF7F4 001AC754 90 61 00 80 */ stw r3, 0x80(r1) /* 801AF7F8 001AC758 7F E3 FB 78 */ mr r3, r31 /* 801AF7FC 001AC75C 93 A1 00 8C */ stw r29, 0x8c(r1) /* 801AF800 001AC760 93 81 00 88 */ stw r28, 0x88(r1) /* 801AF804 001AC764 90 01 00 90 */ stw r0, 0x90(r1) /* 801AF808 001AC768 4B EA 40 99 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801AF80C 001AC76C 7F E3 FB 78 */ mr r3, r31 /* 801AF810 001AC770 7F C7 F3 78 */ mr r7, r30 /* 801AF814 001AC774 38 80 00 12 */ li r4, 0x12 /* 801AF818 001AC778 38 A0 00 28 */ li r5, 0x28 /* 801AF81C 001AC77C 38 C0 00 29 */ li r6, 0x29 /* 801AF820 001AC780 4B EA 49 C5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager /* 801AF824 001AC784 7F E3 FB 78 */ mr r3, r31 /* 801AF828 001AC788 7F C5 F3 78 */ mr r5, r30 /* 801AF82C 001AC78C 38 80 00 13 */ li r4, 0x13 /* 801AF830 001AC790 4B EA 47 51 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801AF834 001AC794 80 BF 00 64 */ lwz r5, 0x64(r31) /* 801AF838 001AC798 38 00 00 00 */ li r0, 0 /* 801AF83C 001AC79C 38 60 00 00 */ li r3, 0 /* 801AF840 001AC7A0 38 80 00 01 */ li r4, 1 /* 801AF844 001AC7A4 D3 E5 00 00 */ stfs f31, 0(r5) /* 801AF848 001AC7A8 D3 C5 00 04 */ stfs f30, 4(r5) /* 801AF84C 001AC7AC D3 A5 00 08 */ stfs f29, 8(r5) /* 801AF850 001AC7B0 80 AD 90 A0 */ lwz r5, lbl_805A7C60@sda21(r13) /* 801AF854 001AC7B4 90 01 00 4C */ stw r0, 0x4c(r1) /* 801AF858 001AC7B8 90 01 00 48 */ stw r0, 0x48(r1) /* 801AF85C 001AC7BC 48 1D A6 99 */ bl __shl2i /* 801AF860 001AC7C0 80 01 00 48 */ lwz r0, 0x48(r1) /* 801AF864 001AC7C4 80 C1 00 4C */ lwz r6, 0x4c(r1) /* 801AF868 001AC7C8 7C 00 1B 78 */ or r0, r0, r3 /* 801AF86C 001AC7CC 80 AD 90 A4 */ lwz r5, lbl_805A7C64@sda21(r13) /* 801AF870 001AC7D0 7C C4 23 78 */ or r4, r6, r4 /* 801AF874 001AC7D4 90 01 00 48 */ stw r0, 0x48(r1) /* 801AF878 001AC7D8 38 60 00 00 */ li r3, 0 /* 801AF87C 001AC7DC 90 81 00 4C */ stw r4, 0x4c(r1) /* 801AF880 001AC7E0 38 80 00 01 */ li r4, 1 /* 801AF884 001AC7E4 48 1D A6 71 */ bl __shl2i /* 801AF888 001AC7E8 80 01 00 48 */ lwz r0, 0x48(r1) /* 801AF88C 001AC7EC 38 A1 00 48 */ addi r5, r1, 0x48 /* 801AF890 001AC7F0 80 C1 00 4C */ lwz r6, 0x4c(r1) /* 801AF894 001AC7F4 7C 00 1B 78 */ or r0, r0, r3 /* 801AF898 001AC7F8 7C C3 23 78 */ or r3, r6, r4 /* 801AF89C 001AC7FC 90 01 00 48 */ stw r0, 0x48(r1) /* 801AF8A0 001AC800 7F C4 F3 78 */ mr r4, r30 /* 801AF8A4 001AC804 90 61 00 4C */ stw r3, 0x4c(r1) /* 801AF8A8 001AC808 80 7F 07 A4 */ lwz r3, 0x7a4(r31) /* 801AF8AC 001AC80C 4B FF 79 A5 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 801AF8B0 001AC810 38 00 00 00 */ li r0, 0 /* 801AF8B4 001AC814 80 AD 90 A8 */ lwz r5, lbl_805A7C68@sda21(r13) /* 801AF8B8 001AC818 90 01 00 44 */ stw r0, 0x44(r1) /* 801AF8BC 001AC81C 38 60 00 00 */ li r3, 0 /* 801AF8C0 001AC820 38 80 00 01 */ li r4, 1 /* 801AF8C4 001AC824 90 01 00 40 */ stw r0, 0x40(r1) /* 801AF8C8 001AC828 48 1D A6 2D */ bl __shl2i /* 801AF8CC 001AC82C 80 01 00 40 */ lwz r0, 0x40(r1) /* 801AF8D0 001AC830 80 C1 00 44 */ lwz r6, 0x44(r1) /* 801AF8D4 001AC834 7C 00 1B 78 */ or r0, r0, r3 /* 801AF8D8 001AC838 80 AD 90 AC */ lwz r5, lbl_805A7C6C@sda21(r13) /* 801AF8DC 001AC83C 7C C4 23 78 */ or r4, r6, r4 /* 801AF8E0 001AC840 90 01 00 40 */ stw r0, 0x40(r1) /* 801AF8E4 001AC844 38 60 00 00 */ li r3, 0 /* 801AF8E8 001AC848 90 81 00 44 */ stw r4, 0x44(r1) /* 801AF8EC 001AC84C 38 80 00 01 */ li r4, 1 /* 801AF8F0 001AC850 48 1D A6 05 */ bl __shl2i /* 801AF8F4 001AC854 80 01 00 40 */ lwz r0, 0x40(r1) /* 801AF8F8 001AC858 38 A1 00 40 */ addi r5, r1, 0x40 /* 801AF8FC 001AC85C 80 C1 00 44 */ lwz r6, 0x44(r1) /* 801AF900 001AC860 7C 00 1B 78 */ or r0, r0, r3 /* 801AF904 001AC864 7C C3 23 78 */ or r3, r6, r4 /* 801AF908 001AC868 90 01 00 40 */ stw r0, 0x40(r1) /* 801AF90C 001AC86C 7F C4 F3 78 */ mr r4, r30 /* 801AF910 001AC870 90 61 00 44 */ stw r3, 0x44(r1) /* 801AF914 001AC874 80 7F 07 9C */ lwz r3, 0x79c(r31) /* 801AF918 001AC878 4B FF 79 39 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 801AF91C 001AC87C 38 00 00 00 */ li r0, 0 /* 801AF920 001AC880 80 AD 90 B0 */ lwz r5, lbl_805A7C70@sda21(r13) /* 801AF924 001AC884 90 01 00 3C */ stw r0, 0x3c(r1) /* 801AF928 001AC888 38 60 00 00 */ li r3, 0 /* 801AF92C 001AC88C 38 80 00 01 */ li r4, 1 /* 801AF930 001AC890 90 01 00 38 */ stw r0, 0x38(r1) /* 801AF934 001AC894 48 1D A5 C1 */ bl __shl2i /* 801AF938 001AC898 80 01 00 38 */ lwz r0, 0x38(r1) /* 801AF93C 001AC89C 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801AF940 001AC8A0 7C 00 1B 78 */ or r0, r0, r3 /* 801AF944 001AC8A4 80 AD 90 B4 */ lwz r5, lbl_805A7C74@sda21(r13) /* 801AF948 001AC8A8 7C C4 23 78 */ or r4, r6, r4 /* 801AF94C 001AC8AC 90 01 00 38 */ stw r0, 0x38(r1) /* 801AF950 001AC8B0 38 60 00 00 */ li r3, 0 /* 801AF954 001AC8B4 90 81 00 3C */ stw r4, 0x3c(r1) /* 801AF958 001AC8B8 38 80 00 01 */ li r4, 1 /* 801AF95C 001AC8BC 48 1D A5 99 */ bl __shl2i /* 801AF960 001AC8C0 80 01 00 38 */ lwz r0, 0x38(r1) /* 801AF964 001AC8C4 38 A1 00 38 */ addi r5, r1, 0x38 /* 801AF968 001AC8C8 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801AF96C 001AC8CC 7C 00 1B 78 */ or r0, r0, r3 /* 801AF970 001AC8D0 7C C3 23 78 */ or r3, r6, r4 /* 801AF974 001AC8D4 90 01 00 38 */ stw r0, 0x38(r1) /* 801AF978 001AC8D8 7F C4 F3 78 */ mr r4, r30 /* 801AF97C 001AC8DC 90 61 00 3C */ stw r3, 0x3c(r1) /* 801AF980 001AC8E0 80 7F 07 A0 */ lwz r3, 0x7a0(r31) /* 801AF984 001AC8E4 4B FF 78 CD */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 801AF988 001AC8E8 38 61 00 50 */ addi r3, r1, 0x50 /* 801AF98C 001AC8EC 38 80 FF FF */ li r4, -1 /* 801AF990 001AC8F0 4B FA 69 9D */ bl sub_8015632c /* 801AF994 001AC8F4 38 61 00 60 */ addi r3, r1, 0x60 /* 801AF998 001AC8F8 38 80 FF FF */ li r4, -1 /* 801AF99C 001AC8FC 4B FA 69 91 */ bl sub_8015632c /* 801AF9A0 001AC900 38 61 00 70 */ addi r3, r1, 0x70 /* 801AF9A4 001AC904 38 80 FF FF */ li r4, -1 /* 801AF9A8 001AC908 4B FA 69 85 */ bl sub_8015632c /* 801AF9AC 001AC90C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801AF9B0 001AC910 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801AF9B4 001AC914 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801AF9B8 001AC918 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801AF9BC 001AC91C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801AF9C0 001AC920 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801AF9C4 001AC924 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801AF9C8 001AC928 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801AF9CC 001AC92C 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 801AF9D0 001AC930 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801AF9D4 001AC934 83 81 00 A0 */ lwz r28, 0xa0(r1) /* 801AF9D8 001AC938 7C 08 03 A6 */ mtlr r0 /* 801AF9DC 001AC93C 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801AF9E0 001AC940 4E 80 00 20 */ blr .global Dead__9CFlaahgraFR13CStateManager9EStateMsgf Dead__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801AF9E4 001AC944 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801AF9E8 001AC948 7C 08 02 A6 */ mflr r0 /* 801AF9EC 001AC94C 2C 05 00 01 */ cmpwi r5, 1 /* 801AF9F0 001AC950 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801AF9F4 001AC954 93 E1 00 BC */ stw r31, 0xbc(r1) /* 801AF9F8 001AC958 7C 9F 23 78 */ mr r31, r4 /* 801AF9FC 001AC95C 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 801AFA00 001AC960 7C 7E 1B 78 */ mr r30, r3 /* 801AFA04 001AC964 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 801AFA08 001AC968 41 82 00 68 */ beq lbl_801AFA70 /* 801AFA0C 001AC96C 40 80 02 C8 */ bge lbl_801AFCD4 /* 801AFA10 001AC970 2C 05 00 00 */ cmpwi r5, 0 /* 801AFA14 001AC974 40 80 00 08 */ bge lbl_801AFA1C /* 801AFA18 001AC978 48 00 02 BC */ b lbl_801AFCD4 lbl_801AFA1C: /* 801AFA1C 001AC97C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801AFA20 001AC980 3B A0 00 01 */ li r29, 1 /* 801AFA24 001AC984 4B F8 B1 89 */ bl GetFallState__15CBodyControllerCFv /* 801AFA28 001AC988 2C 03 00 00 */ cmpwi r3, 0 /* 801AFA2C 001AC98C 40 82 00 18 */ bne lbl_801AFA44 /* 801AFA30 001AC990 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801AFA34 001AC994 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801AFA38 001AC998 2C 00 00 00 */ cmpwi r0, 0 /* 801AFA3C 001AC99C 41 82 00 08 */ beq lbl_801AFA44 /* 801AFA40 001AC9A0 3B A0 00 00 */ li r29, 0 lbl_801AFA44: /* 801AFA44 001AC9A4 57 A4 06 3E */ clrlwi r4, r29, 0x18 /* 801AFA48 001AC9A8 7F C3 F3 78 */ mr r3, r30 /* 801AFA4C 001AC9AC 7C 04 00 D0 */ neg r0, r4 /* 801AFA50 001AC9B0 7F E5 FB 78 */ mr r5, r31 /* 801AFA54 001AC9B4 7C 00 23 78 */ or r0, r0, r4 /* 801AFA58 001AC9B8 38 80 00 0B */ li r4, 0xb /* 801AFA5C 001AC9BC 54 00 0F FE */ srwi r0, r0, 0x1f /* 801AFA60 001AC9C0 38 C0 FF FF */ li r6, -1 /* 801AFA64 001AC9C4 90 1E 05 68 */ stw r0, 0x568(r30) /* 801AFA68 001AC9C8 4B EA 16 59 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801AFA6C 001AC9CC 48 00 02 68 */ b lbl_801AFCD4 lbl_801AFA70: /* 801AFA70 001AC9D0 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801AFA74 001AC9D4 2C 00 00 01 */ cmpwi r0, 1 /* 801AFA78 001AC9D8 41 82 00 20 */ beq lbl_801AFA98 /* 801AFA7C 001AC9DC 40 80 00 10 */ bge lbl_801AFA8C /* 801AFA80 001AC9E0 2C 00 00 00 */ cmpwi r0, 0 /* 801AFA84 001AC9E4 40 80 00 94 */ bge lbl_801AFB18 /* 801AFA88 001AC9E8 48 00 02 4C */ b lbl_801AFCD4 lbl_801AFA8C: /* 801AFA8C 001AC9EC 2C 00 00 03 */ cmpwi r0, 3 /* 801AFA90 001AC9F0 40 80 02 44 */ bge lbl_801AFCD4 /* 801AFA94 001AC9F4 48 00 02 18 */ b lbl_801AFCAC lbl_801AFA98: /* 801AFA98 001AC9F8 80 DE 04 50 */ lwz r6, 0x450(r30) /* 801AFA9C 001AC9FC 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801AFAA0 001ACA00 2C 00 00 01 */ cmpwi r0, 1 /* 801AFAA4 001ACA04 40 82 00 10 */ bne lbl_801AFAB4 /* 801AFAA8 001ACA08 38 00 00 00 */ li r0, 0 /* 801AFAAC 001ACA0C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801AFAB0 001ACA10 48 00 02 24 */ b lbl_801AFCD4 lbl_801AFAB4: /* 801AFAB4 001ACA14 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801AFAB8 001ACA18 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801AFABC 001ACA1C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801AFAC0 001ACA20 38 80 00 00 */ li r4, 0 /* 801AFAC4 001ACA24 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AFAC8 001ACA28 38 A3 AA 20 */ addi r5, r3, lbl_803DAA20@l /* 801AFACC 001ACA2C 38 00 00 02 */ li r0, 2 /* 801AFAD0 001ACA30 3B A6 00 04 */ addi r29, r6, 4 /* 801AFAD4 001ACA34 90 81 00 20 */ stw r4, 0x20(r1) /* 801AFAD8 001ACA38 7F A3 EB 78 */ mr r3, r29 /* 801AFADC 001ACA3C 38 80 00 00 */ li r4, 0 /* 801AFAE0 001ACA40 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801AFAE4 001ACA44 90 01 00 24 */ stw r0, 0x24(r1) /* 801AFAE8 001ACA48 4B F8 19 51 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801AFAEC 001ACA4C 80 01 00 20 */ lwz r0, 0x20(r1) /* 801AFAF0 001ACA50 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801AFAF4 001ACA54 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 801AFAF8 001ACA58 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801AFAFC 001ACA5C 90 1D 00 BC */ stw r0, 0xbc(r29) /* 801AFB00 001ACA60 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801AFB04 001ACA64 80 61 00 24 */ lwz r3, 0x24(r1) /* 801AFB08 001ACA68 90 81 00 1C */ stw r4, 0x1c(r1) /* 801AFB0C 001ACA6C 90 7D 00 C0 */ stw r3, 0xc0(r29) /* 801AFB10 001ACA70 90 01 00 1C */ stw r0, 0x1c(r1) /* 801AFB14 001ACA74 48 00 01 C0 */ b lbl_801AFCD4 lbl_801AFB18: /* 801AFB18 001ACA78 80 BE 04 50 */ lwz r5, 0x450(r30) /* 801AFB1C 001ACA7C 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801AFB20 001ACA80 2C 00 00 01 */ cmpwi r0, 1 /* 801AFB24 001ACA84 41 82 01 B0 */ beq lbl_801AFCD4 /* 801AFB28 001ACA88 2C 00 00 00 */ cmpwi r0, 0 /* 801AFB2C 001ACA8C 41 82 00 A4 */ beq lbl_801AFBD0 /* 801AFB30 001ACA90 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801AFB34 001ACA94 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801AFB38 001ACA98 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801AFB3C 001ACA9C 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l /* 801AFB40 001ACAA0 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801AFB44 001ACAA4 FC 40 10 50 */ fneg f2, f2 /* 801AFB48 001ACAA8 FC 20 08 50 */ fneg f1, f1 /* 801AFB4C 001ACAAC 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 801AFB50 001ACAB0 FC 00 00 50 */ fneg f0, f0 /* 801AFB54 001ACAB4 38 C0 00 03 */ li r6, 3 /* 801AFB58 001ACAB8 38 00 00 02 */ li r0, 2 /* 801AFB5C 001ACABC 3B A5 00 04 */ addi r29, r5, 4 /* 801AFB60 001ACAC0 90 81 00 34 */ stw r4, 0x34(r1) /* 801AFB64 001ACAC4 38 A3 AA 50 */ addi r5, r3, lbl_803DAA50@l /* 801AFB68 001ACAC8 7F A3 EB 78 */ mr r3, r29 /* 801AFB6C 001ACACC 38 80 00 03 */ li r4, 3 /* 801AFB70 001ACAD0 90 C1 00 38 */ stw r6, 0x38(r1) /* 801AFB74 001ACAD4 90 A1 00 34 */ stw r5, 0x34(r1) /* 801AFB78 001ACAD8 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801AFB7C 001ACADC D0 21 00 40 */ stfs f1, 0x40(r1) /* 801AFB80 001ACAE0 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801AFB84 001ACAE4 90 01 00 48 */ stw r0, 0x48(r1) /* 801AFB88 001ACAE8 4B F8 18 B1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801AFB8C 001ACAEC 80 01 00 38 */ lwz r0, 0x38(r1) /* 801AFB90 001ACAF0 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 801AFB94 001ACAF4 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l /* 801AFB98 001ACAF8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801AFB9C 001ACAFC 90 1D 00 E0 */ stw r0, 0xe0(r29) /* 801AFBA0 001ACB00 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801AFBA4 001ACB04 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 801AFBA8 001ACB08 80 61 00 40 */ lwz r3, 0x40(r1) /* 801AFBAC 001ACB0C 90 BD 00 E4 */ stw r5, 0xe4(r29) /* 801AFBB0 001ACB10 80 A1 00 44 */ lwz r5, 0x44(r1) /* 801AFBB4 001ACB14 90 7D 00 E8 */ stw r3, 0xe8(r29) /* 801AFBB8 001ACB18 80 61 00 48 */ lwz r3, 0x48(r1) /* 801AFBBC 001ACB1C 90 BD 00 EC */ stw r5, 0xec(r29) /* 801AFBC0 001ACB20 90 81 00 34 */ stw r4, 0x34(r1) /* 801AFBC4 001ACB24 90 7D 00 F0 */ stw r3, 0xf0(r29) /* 801AFBC8 001ACB28 90 01 00 34 */ stw r0, 0x34(r1) /* 801AFBCC 001ACB2C 48 00 01 08 */ b lbl_801AFCD4 lbl_801AFBD0: /* 801AFBD0 001ACB30 38 00 00 02 */ li r0, 2 /* 801AFBD4 001ACB34 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801AFBD8 001ACB38 90 1E 05 68 */ stw r0, 0x568(r30) /* 801AFBDC 001ACB3C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801AFBE0 001ACB40 38 61 00 4C */ addi r3, r1, 0x4c /* 801AFBE4 001ACB44 38 81 00 10 */ addi r4, r1, 0x10 /* 801AFBE8 001ACB48 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801AFBEC 001ACB4C 38 A1 00 28 */ addi r5, r1, 0x28 /* 801AFBF0 001ACB50 C0 1E 08 A4 */ lfs f0, 0x8a4(r30) /* 801AFBF4 001ACB54 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801AFBF8 001ACB58 C0 5E 08 A8 */ lfs f2, 0x8a8(r30) /* 801AFBFC 001ACB5C EC A4 00 2A */ fadds f5, f4, f0 /* 801AFC00 001ACB60 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801AFC04 001ACB64 C0 1E 08 A0 */ lfs f0, 0x8a0(r30) /* 801AFC08 001ACB68 EC 43 10 2A */ fadds f2, f3, f2 /* 801AFC0C 001ACB6C EC 01 00 2A */ fadds f0, f1, f0 /* 801AFC10 001ACB70 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801AFC14 001ACB74 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801AFC18 001ACB78 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801AFC1C 001ACB7C D0 21 00 10 */ stfs f1, 0x10(r1) /* 801AFC20 001ACB80 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801AFC24 001ACB84 D0 61 00 18 */ stfs f3, 0x18(r1) /* 801AFC28 001ACB88 48 16 3E E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801AFC2C 001ACB8C 38 61 00 7C */ addi r3, r1, 0x7c /* 801AFC30 001ACB90 38 81 00 4C */ addi r4, r1, 0x4c /* 801AFC34 001ACB94 48 16 2F 41 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801AFC38 001ACB98 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801AFC3C 001ACB9C 38 7E 00 34 */ addi r3, r30, 0x34 /* 801AFC40 001ACBA0 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801AFC44 001ACBA4 38 81 00 7C */ addi r4, r1, 0x7c /* 801AFC48 001ACBA8 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801AFC4C 001ACBAC D0 01 00 88 */ stfs f0, 0x88(r1) /* 801AFC50 001ACBB0 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801AFC54 001ACBB4 D0 41 00 A8 */ stfs f2, 0xa8(r1) /* 801AFC58 001ACBB8 48 16 2E E9 */ bl __as__12CTransform4fFRC12CTransform4f /* 801AFC5C 001ACBBC 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801AFC60 001ACBC0 38 E0 00 01 */ li r7, 1 /* 801AFC64 001ACBC4 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b /* 801AFC68 001ACBC8 7F C3 F3 78 */ mr r3, r30 /* 801AFC6C 001ACBCC 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801AFC70 001ACBD0 7F E5 FB 78 */ mr r5, r31 /* 801AFC74 001ACBD4 38 80 00 0E */ li r4, 0xe /* 801AFC78 001ACBD8 38 C0 FF FF */ li r6, -1 /* 801AFC7C 001ACBDC 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801AFC80 001ACBE0 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c /* 801AFC84 001ACBE4 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801AFC88 001ACBE8 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801AFC8C 001ACBEC 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d /* 801AFC90 001ACBF0 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801AFC94 001ACBF4 4B EA 14 2D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801AFC98 001ACBF8 88 1E 08 E5 */ lbz r0, 0x8e5(r30) /* 801AFC9C 001ACBFC 38 60 00 01 */ li r3, 1 /* 801AFCA0 001ACC00 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801AFCA4 001ACC04 98 1E 08 E5 */ stb r0, 0x8e5(r30) /* 801AFCA8 001ACC08 48 00 00 2C */ b lbl_801AFCD4 lbl_801AFCAC: /* 801AFCAC 001ACC0C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801AFCB0 001ACC10 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801AFCB4 001ACC14 2C 00 00 00 */ cmpwi r0, 0 /* 801AFCB8 001ACC18 41 82 00 1C */ beq lbl_801AFCD4 /* 801AFCBC 001ACC1C A0 1E 00 08 */ lhz r0, 8(r30) /* 801AFCC0 001ACC20 7F E3 FB 78 */ mr r3, r31 /* 801AFCC4 001ACC24 38 81 00 0C */ addi r4, r1, 0xc /* 801AFCC8 001ACC28 B0 01 00 08 */ sth r0, 8(r1) /* 801AFCCC 001ACC2C B0 01 00 0C */ sth r0, 0xc(r1) /* 801AFCD0 001ACC30 4B E9 C5 9D */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_801AFCD4: /* 801AFCD4 001ACC34 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801AFCD8 001ACC38 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 801AFCDC 001ACC3C 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 801AFCE0 001ACC40 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 801AFCE4 001ACC44 7C 08 03 A6 */ mtlr r0 /* 801AFCE8 001ACC48 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801AFCEC 001ACC4C 4E 80 00 20 */ blr .global Cover__9CFlaahgraFR13CStateManager9EStateMsgf Cover__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801AFCF0 001ACC50 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801AFCF4 001ACC54 7C 08 02 A6 */ mflr r0 /* 801AFCF8 001ACC58 2C 05 00 01 */ cmpwi r5, 1 /* 801AFCFC 001ACC5C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801AFD00 001ACC60 93 E1 00 AC */ stw r31, 0xac(r1) /* 801AFD04 001ACC64 7C 7F 1B 78 */ mr r31, r3 /* 801AFD08 001ACC68 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801AFD0C 001ACC6C 7C 9E 23 78 */ mr r30, r4 /* 801AFD10 001ACC70 41 82 00 80 */ beq lbl_801AFD90 /* 801AFD14 001ACC74 40 80 00 10 */ bge lbl_801AFD24 /* 801AFD18 001ACC78 2C 05 00 00 */ cmpwi r5, 0 /* 801AFD1C 001ACC7C 40 80 00 14 */ bge lbl_801AFD30 /* 801AFD20 001ACC80 48 00 03 70 */ b lbl_801B0090 lbl_801AFD24: /* 801AFD24 001ACC84 2C 05 00 03 */ cmpwi r5, 3 /* 801AFD28 001ACC88 40 80 03 68 */ bge lbl_801B0090 /* 801AFD2C 001ACC8C 48 00 03 08 */ b lbl_801B0034 lbl_801AFD30: /* 801AFD30 001ACC90 7F E4 FB 78 */ mr r4, r31 /* 801AFD34 001ACC94 7F C5 F3 78 */ mr r5, r30 /* 801AFD38 001ACC98 38 61 00 18 */ addi r3, r1, 0x18 /* 801AFD3C 001ACC9C 4B FF E2 69 */ bl sub_801adfa4 /* 801AFD40 001ACCA0 A0 01 00 18 */ lhz r0, 0x18(r1) /* 801AFD44 001ACCA4 38 80 00 04 */ li r4, 4 /* 801AFD48 001ACCA8 B0 1F 07 7C */ sth r0, 0x77c(r31) /* 801AFD4C 001ACCAC A0 7F 07 7C */ lhz r3, 0x77c(r31) /* 801AFD50 001ACCB0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801AFD54 001ACCB4 7C 03 00 40 */ cmplw r3, r0 /* 801AFD58 001ACCB8 41 82 00 08 */ beq lbl_801AFD60 /* 801AFD5C 001ACCBC 38 80 00 01 */ li r4, 1 lbl_801AFD60: /* 801AFD60 001ACCC0 90 9F 05 68 */ stw r4, 0x568(r31) /* 801AFD64 001ACCC4 38 81 00 14 */ addi r4, r1, 0x14 /* 801AFD68 001ACCC8 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801AFD6C 001ACCCC A0 03 00 08 */ lhz r0, 8(r3) /* 801AFD70 001ACCD0 B0 01 00 14 */ sth r0, 0x14(r1) /* 801AFD74 001ACCD4 B0 01 00 10 */ sth r0, 0x10(r1) /* 801AFD78 001ACCD8 80 7F 06 CC */ lwz r3, 0x6cc(r31) /* 801AFD7C 001ACCDC 4B FC 54 9D */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801AFD80 001ACCE0 80 7F 06 CC */ lwz r3, 0x6cc(r31) /* 801AFD84 001ACCE4 38 80 00 01 */ li r4, 1 /* 801AFD88 001ACCE8 4B FC 54 9D */ bl SetActive__13CBoneTrackingFb /* 801AFD8C 001ACCEC 48 00 03 04 */ b lbl_801B0090 lbl_801AFD90: /* 801AFD90 001ACCF0 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801AFD94 001ACCF4 2C 00 00 01 */ cmpwi r0, 1 /* 801AFD98 001ACCF8 41 82 00 20 */ beq lbl_801AFDB8 /* 801AFD9C 001ACCFC 40 80 00 10 */ bge lbl_801AFDAC /* 801AFDA0 001ACD00 2C 00 00 00 */ cmpwi r0, 0 /* 801AFDA4 001ACD04 40 80 01 50 */ bge lbl_801AFEF4 /* 801AFDA8 001ACD08 48 00 02 E8 */ b lbl_801B0090 lbl_801AFDAC: /* 801AFDAC 001ACD0C 2C 00 00 03 */ cmpwi r0, 3 /* 801AFDB0 001ACD10 40 80 02 E0 */ bge lbl_801B0090 /* 801AFDB4 001ACD14 48 00 02 10 */ b lbl_801AFFC4 lbl_801AFDB8: /* 801AFDB8 001ACD18 A0 1F 07 7C */ lhz r0, 0x77c(r31) /* 801AFDBC 001ACD1C 7F C3 F3 78 */ mr r3, r30 /* 801AFDC0 001ACD20 38 81 00 0C */ addi r4, r1, 0xc /* 801AFDC4 001ACD24 B0 01 00 0C */ sth r0, 0xc(r1) /* 801AFDC8 001ACD28 4B E9 C7 DD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AFDCC 001ACD2C 28 03 00 00 */ cmplwi r3, 0 /* 801AFDD0 001ACD30 41 82 01 18 */ beq lbl_801AFEE8 /* 801AFDD4 001ACD34 C0 63 00 50 */ lfs f3, 0x50(r3) /* 801AFDD8 001ACD38 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801AFDDC 001ACD3C C0 23 00 40 */ lfs f1, 0x40(r3) /* 801AFDE0 001ACD40 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801AFDE4 001ACD44 EC 43 10 28 */ fsubs f2, f3, f2 /* 801AFDE8 001ACD48 C0 83 00 60 */ lfs f4, 0x60(r3) /* 801AFDEC 001ACD4C 38 61 00 2C */ addi r3, r1, 0x2c /* 801AFDF0 001ACD50 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801AFDF4 001ACD54 EC 21 00 28 */ fsubs f1, f1, f0 /* 801AFDF8 001ACD58 EC 04 18 28 */ fsubs f0, f4, f3 /* 801AFDFC 001ACD5C D0 41 00 60 */ stfs f2, 0x60(r1) /* 801AFE00 001ACD60 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801AFE04 001ACD64 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801AFE08 001ACD68 48 16 43 F9 */ bl __ct__9CVector2fFff /* 801AFE0C 001ACD6C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801AFE10 001ACD70 38 61 00 24 */ addi r3, r1, 0x24 /* 801AFE14 001ACD74 C0 01 00 30 */ lfs f0, 0x30(r1) /* 801AFE18 001ACD78 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801AFE1C 001ACD7C D0 01 00 40 */ stfs f0, 0x40(r1) /* 801AFE20 001ACD80 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801AFE24 001ACD84 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801AFE28 001ACD88 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801AFE2C 001ACD8C D0 21 00 50 */ stfs f1, 0x50(r1) /* 801AFE30 001ACD90 D0 41 00 54 */ stfs f2, 0x54(r1) /* 801AFE34 001ACD94 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801AFE38 001ACD98 48 16 43 C9 */ bl __ct__9CVector2fFff /* 801AFE3C 001ACD9C C0 21 00 24 */ lfs f1, 0x24(r1) /* 801AFE40 001ACDA0 38 61 00 34 */ addi r3, r1, 0x34 /* 801AFE44 001ACDA4 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801AFE48 001ACDA8 38 81 00 3C */ addi r4, r1, 0x3c /* 801AFE4C 001ACDAC D0 21 00 34 */ stfs f1, 0x34(r1) /* 801AFE50 001ACDB0 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801AFE54 001ACDB4 48 16 41 71 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801AFE58 001ACDB8 C0 02 A8 F4 */ lfs f0, lbl_805AC614@sda21(r2) /* 801AFE5C 001ACDBC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801AFE60 001ACDC0 40 81 00 70 */ ble lbl_801AFED0 /* 801AFE64 001ACDC4 38 61 00 5C */ addi r3, r1, 0x5c /* 801AFE68 001ACDC8 48 16 48 91 */ bl CanBeNormalized__9CVector3fCFv /* 801AFE6C 001ACDCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801AFE70 001ACDD0 41 82 00 60 */ beq lbl_801AFED0 /* 801AFE74 001ACDD4 38 61 00 44 */ addi r3, r1, 0x44 /* 801AFE78 001ACDD8 38 81 00 5C */ addi r4, r1, 0x5c /* 801AFE7C 001ACDDC 48 16 49 D5 */ bl AsNormalized__9CVector3fCFv /* 801AFE80 001ACDE0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801AFE84 001ACDE4 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801AFE88 001ACDE8 C0 61 00 44 */ lfs f3, 0x44(r1) /* 801AFE8C 001ACDEC 38 81 00 84 */ addi r4, r1, 0x84 /* 801AFE90 001ACDF0 C0 41 00 48 */ lfs f2, 0x48(r1) /* 801AFE94 001ACDF4 C0 A3 00 04 */ lfs f5, 4(r3) /* 801AFE98 001ACDF8 C0 83 00 08 */ lfs f4, 8(r3) /* 801AFE9C 001ACDFC C0 21 00 4C */ lfs f1, 0x4c(r1) /* 801AFEA0 001ACE00 C0 02 A8 DC */ lfs f0, lbl_805AC5FC@sda21(r2) /* 801AFEA4 001ACE04 D0 C1 00 84 */ stfs f6, 0x84(r1) /* 801AFEA8 001ACE08 D0 A1 00 88 */ stfs f5, 0x88(r1) /* 801AFEAC 001ACE0C D0 81 00 8C */ stfs f4, 0x8c(r1) /* 801AFEB0 001ACE10 D0 61 00 90 */ stfs f3, 0x90(r1) /* 801AFEB4 001ACE14 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801AFEB8 001ACE18 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801AFEBC 001ACE1C D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801AFEC0 001ACE20 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801AFEC4 001ACE24 38 63 00 04 */ addi r3, r3, 4 /* 801AFEC8 001ACE28 4B F8 18 51 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801AFECC 001ACE2C 48 00 01 C4 */ b lbl_801B0090 lbl_801AFED0: /* 801AFED0 001ACE30 38 00 00 00 */ li r0, 0 /* 801AFED4 001ACE34 38 80 00 00 */ li r4, 0 /* 801AFED8 001ACE38 90 1F 05 68 */ stw r0, 0x568(r31) /* 801AFEDC 001ACE3C 80 7F 06 CC */ lwz r3, 0x6cc(r31) /* 801AFEE0 001ACE40 4B FC 53 45 */ bl SetActive__13CBoneTrackingFb /* 801AFEE4 001ACE44 48 00 01 AC */ b lbl_801B0090 lbl_801AFEE8: /* 801AFEE8 001ACE48 38 00 00 04 */ li r0, 4 /* 801AFEEC 001ACE4C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801AFEF0 001ACE50 48 00 01 A0 */ b lbl_801B0090 lbl_801AFEF4: /* 801AFEF4 001ACE54 80 FF 04 50 */ lwz r7, 0x450(r31) /* 801AFEF8 001ACE58 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 801AFEFC 001ACE5C 2C 00 00 07 */ cmpwi r0, 7 /* 801AFF00 001ACE60 40 82 00 10 */ bne lbl_801AFF10 /* 801AFF04 001ACE64 38 00 00 02 */ li r0, 2 /* 801AFF08 001ACE68 90 1F 05 68 */ stw r0, 0x568(r31) /* 801AFF0C 001ACE6C 48 00 01 84 */ b lbl_801B0090 lbl_801AFF10: /* 801AFF10 001ACE70 80 1F 07 B0 */ lwz r0, 0x7b0(r31) /* 801AFF14 001ACE74 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801AFF18 001ACE78 3C 60 80 5A */ lis r3, skZero3f@ha /* 801AFF1C 001ACE7C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801AFF20 001ACE80 38 A5 AA 68 */ addi r5, r5, lbl_803DAA68@l /* 801AFF24 001ACE84 54 00 10 3A */ slwi r0, r0, 2 /* 801AFF28 001ACE88 38 C2 A8 A4 */ addi r6, r2, lbl_805AC5C4@sda21 /* 801AFF2C 001ACE8C C0 23 00 04 */ lfs f1, 4(r3) /* 801AFF30 001ACE90 7D 06 00 2E */ lwzx r8, r6, r0 /* 801AFF34 001ACE94 38 C0 00 05 */ li r6, 5 /* 801AFF38 001ACE98 C0 03 00 08 */ lfs f0, 8(r3) /* 801AFF3C 001ACE9C 38 00 00 00 */ li r0, 0 /* 801AFF40 001ACEA0 3B E7 00 04 */ addi r31, r7, 4 /* 801AFF44 001ACEA4 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 801AFF48 001ACEA8 90 A1 00 68 */ stw r5, 0x68(r1) /* 801AFF4C 001ACEAC 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l /* 801AFF50 001ACEB0 38 80 00 05 */ li r4, 5 /* 801AFF54 001ACEB4 7F E3 FB 78 */ mr r3, r31 /* 801AFF58 001ACEB8 90 C1 00 6C */ stw r6, 0x6c(r1) /* 801AFF5C 001ACEBC 90 A1 00 68 */ stw r5, 0x68(r1) /* 801AFF60 001ACEC0 91 01 00 70 */ stw r8, 0x70(r1) /* 801AFF64 001ACEC4 D0 41 00 74 */ stfs f2, 0x74(r1) /* 801AFF68 001ACEC8 D0 21 00 78 */ stfs f1, 0x78(r1) /* 801AFF6C 001ACECC D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801AFF70 001ACED0 98 01 00 80 */ stb r0, 0x80(r1) /* 801AFF74 001ACED4 4B F8 14 C5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801AFF78 001ACED8 80 01 00 6C */ lwz r0, 0x6c(r1) /* 801AFF7C 001ACEDC 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801AFF80 001ACEE0 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801AFF84 001ACEE4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801AFF88 001ACEE8 90 1F 01 10 */ stw r0, 0x110(r31) /* 801AFF8C 001ACEEC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801AFF90 001ACEF0 80 61 00 70 */ lwz r3, 0x70(r1) /* 801AFF94 001ACEF4 80 A1 00 74 */ lwz r5, 0x74(r1) /* 801AFF98 001ACEF8 90 7F 01 14 */ stw r3, 0x114(r31) /* 801AFF9C 001ACEFC 80 61 00 78 */ lwz r3, 0x78(r1) /* 801AFFA0 001ACF00 90 BF 01 18 */ stw r5, 0x118(r31) /* 801AFFA4 001ACF04 80 A1 00 7C */ lwz r5, 0x7c(r1) /* 801AFFA8 001ACF08 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801AFFAC 001ACF0C 88 61 00 80 */ lbz r3, 0x80(r1) /* 801AFFB0 001ACF10 90 BF 01 20 */ stw r5, 0x120(r31) /* 801AFFB4 001ACF14 90 81 00 68 */ stw r4, 0x68(r1) /* 801AFFB8 001ACF18 98 7F 01 24 */ stb r3, 0x124(r31) /* 801AFFBC 001ACF1C 90 01 00 68 */ stw r0, 0x68(r1) /* 801AFFC0 001ACF20 48 00 00 D0 */ b lbl_801B0090 lbl_801AFFC4: /* 801AFFC4 001ACF24 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801AFFC8 001ACF28 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801AFFCC 001ACF2C 2C 00 00 07 */ cmpwi r0, 7 /* 801AFFD0 001ACF30 41 82 00 10 */ beq lbl_801AFFE0 /* 801AFFD4 001ACF34 38 00 00 04 */ li r0, 4 /* 801AFFD8 001ACF38 90 1F 05 68 */ stw r0, 0x568(r31) /* 801AFFDC 001ACF3C 48 00 00 B4 */ b lbl_801B0090 lbl_801AFFE0: /* 801AFFE0 001ACF40 A0 1F 07 7C */ lhz r0, 0x77c(r31) /* 801AFFE4 001ACF44 7F C3 F3 78 */ mr r3, r30 /* 801AFFE8 001ACF48 38 81 00 08 */ addi r4, r1, 8 /* 801AFFEC 001ACF4C B0 01 00 08 */ sth r0, 8(r1) /* 801AFFF0 001ACF50 4B E9 C5 B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801AFFF4 001ACF54 28 03 00 00 */ cmplwi r3, 0 /* 801AFFF8 001ACF58 41 82 00 98 */ beq lbl_801B0090 /* 801AFFFC 001ACF5C C0 23 00 40 */ lfs f1, 0x40(r3) /* 801B0000 001ACF60 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801B0004 001ACF64 C0 83 00 50 */ lfs f4, 0x50(r3) /* 801B0008 001ACF68 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801B000C 001ACF6C EC 01 00 28 */ fsubs f0, f1, f0 /* 801B0010 001ACF70 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801B0014 001ACF74 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801B0018 001ACF78 EC 64 18 28 */ fsubs f3, f4, f3 /* 801B001C 001ACF7C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B0020 001ACF80 EC 22 08 28 */ fsubs f1, f2, f1 /* 801B0024 001ACF84 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801B0028 001ACF88 D0 63 00 20 */ stfs f3, 0x20(r3) /* 801B002C 001ACF8C D0 23 00 24 */ stfs f1, 0x24(r3) /* 801B0030 001ACF90 48 00 00 60 */ b lbl_801B0090 lbl_801B0034: /* 801B0034 001ACF94 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801B0038 001ACF98 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B003C 001ACF9C 2C 00 00 07 */ cmpwi r0, 7 /* 801B0040 001ACFA0 40 82 00 30 */ bne lbl_801B0070 /* 801B0044 001ACFA4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0048 001ACFA8 38 00 00 0C */ li r0, 0xc /* 801B004C 001ACFAC 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801B0050 001ACFB0 90 01 00 20 */ stw r0, 0x20(r1) /* 801B0054 001ACFB4 38 64 00 04 */ addi r3, r4, 4 /* 801B0058 001ACFB8 38 81 00 1C */ addi r4, r1, 0x1c /* 801B005C 001ACFBC 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801B0060 001ACFC0 4B F8 17 59 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B0064 001ACFC4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0068 001ACFC8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B006C 001ACFCC 90 01 00 1C */ stw r0, 0x1c(r1) lbl_801B0070: /* 801B0070 001ACFD0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B0074 001ACFD4 B0 1F 07 7C */ sth r0, 0x77c(r31) /* 801B0078 001ACFD8 C0 1F 06 B4 */ lfs f0, 0x6b4(r31) /* 801B007C 001ACFDC D0 1F 07 BC */ stfs f0, 0x7bc(r31) /* 801B0080 001ACFE0 80 1F 07 B0 */ lwz r0, 0x7b0(r31) /* 801B0084 001ACFE4 7C 00 00 34 */ cntlzw r0, r0 /* 801B0088 001ACFE8 54 00 D9 7E */ srwi r0, r0, 5 /* 801B008C 001ACFEC 90 1F 07 B0 */ stw r0, 0x7b0(r31) lbl_801B0090: /* 801B0090 001ACFF0 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801B0094 001ACFF4 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801B0098 001ACFF8 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801B009C 001ACFFC 7C 08 03 A6 */ mtlr r0 /* 801B00A0 001AD000 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801B00A4 001AD004 4E 80 00 20 */ blr .global Dizzy__9CFlaahgraFR13CStateManager9EStateMsgf Dizzy__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B00A8 001AD008 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B00AC 001AD00C 7C 08 02 A6 */ mflr r0 /* 801B00B0 001AD010 2C 05 00 01 */ cmpwi r5, 1 /* 801B00B4 001AD014 90 01 00 24 */ stw r0, 0x24(r1) /* 801B00B8 001AD018 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B00BC 001AD01C 7C 7F 1B 78 */ mr r31, r3 /* 801B00C0 001AD020 41 82 00 40 */ beq lbl_801B0100 /* 801B00C4 001AD024 40 80 00 10 */ bge lbl_801B00D4 /* 801B00C8 001AD028 2C 05 00 00 */ cmpwi r5, 0 /* 801B00CC 001AD02C 40 80 00 14 */ bge lbl_801B00E0 /* 801B00D0 001AD030 48 00 01 14 */ b lbl_801B01E4 lbl_801B00D4: /* 801B00D4 001AD034 2C 05 00 03 */ cmpwi r5, 3 /* 801B00D8 001AD038 40 80 01 0C */ bge lbl_801B01E4 /* 801B00DC 001AD03C 48 00 00 B8 */ b lbl_801B0194 lbl_801B00E0: /* 801B00E0 001AD040 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B00E4 001AD044 38 60 00 00 */ li r3, 0 /* 801B00E8 001AD048 D0 1F 07 B8 */ stfs f0, 0x7b8(r31) /* 801B00EC 001AD04C D0 1F 08 14 */ stfs f0, 0x814(r31) /* 801B00F0 001AD050 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B00F4 001AD054 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801B00F8 001AD058 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B00FC 001AD05C 48 00 00 E8 */ b lbl_801B01E4 lbl_801B0100: /* 801B0100 001AD060 C0 1F 07 B8 */ lfs f0, 0x7b8(r31) /* 801B0104 001AD064 EC 00 08 2A */ fadds f0, f0, f1 /* 801B0108 001AD068 D0 1F 07 B8 */ stfs f0, 0x7b8(r31) /* 801B010C 001AD06C 80 1F 07 88 */ lwz r0, 0x788(r31) /* 801B0110 001AD070 C0 5F 07 B8 */ lfs f2, 0x7b8(r31) /* 801B0114 001AD074 2C 00 00 02 */ cmpwi r0, 2 /* 801B0118 001AD078 40 80 00 0C */ bge lbl_801B0124 /* 801B011C 001AD07C C0 1F 06 B0 */ lfs f0, 0x6b0(r31) /* 801B0120 001AD080 48 00 00 10 */ b lbl_801B0130 lbl_801B0124: /* 801B0124 001AD084 C0 22 A8 F8 */ lfs f1, lbl_805AC618@sda21(r2) /* 801B0128 001AD088 C0 1F 06 B0 */ lfs f0, 0x6b0(r31) /* 801B012C 001AD08C EC 01 00 2A */ fadds f0, f1, f0 lbl_801B0130: /* 801B0130 001AD090 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801B0134 001AD094 4C 41 13 82 */ cror 2, 1, 2 /* 801B0138 001AD098 40 82 00 50 */ bne lbl_801B0188 /* 801B013C 001AD09C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0140 001AD0A0 38 00 00 0A */ li r0, 0xa /* 801B0144 001AD0A4 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801B0148 001AD0A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801B014C 001AD0AC 38 81 00 10 */ addi r4, r1, 0x10 /* 801B0150 001AD0B0 90 61 00 10 */ stw r3, 0x10(r1) /* 801B0154 001AD0B4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B0158 001AD0B8 38 63 00 04 */ addi r3, r3, 4 /* 801B015C 001AD0BC 4B F8 16 5D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B0160 001AD0C0 34 01 00 10 */ addic. r0, r1, 0x10 /* 801B0164 001AD0C4 41 82 00 10 */ beq lbl_801B0174 /* 801B0168 001AD0C8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B016C 001AD0CC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0170 001AD0D0 90 01 00 10 */ stw r0, 0x10(r1) lbl_801B0174: /* 801B0174 001AD0D4 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B0178 001AD0D8 38 60 00 01 */ li r3, 1 /* 801B017C 001AD0DC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801B0180 001AD0E0 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B0184 001AD0E4 48 00 00 60 */ b lbl_801B01E4 lbl_801B0188: /* 801B0188 001AD0E8 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B018C 001AD0EC D0 1F 08 14 */ stfs f0, 0x814(r31) /* 801B0190 001AD0F0 48 00 00 54 */ b lbl_801B01E4 lbl_801B0194: /* 801B0194 001AD0F4 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B0198 001AD0F8 38 60 00 00 */ li r3, 0 /* 801B019C 001AD0FC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801B01A0 001AD100 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B01A4 001AD104 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B01A8 001AD108 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801B01AC 001AD10C 38 00 00 0A */ li r0, 0xa /* 801B01B0 001AD110 38 81 00 08 */ addi r4, r1, 8 /* 801B01B4 001AD114 C0 1F 08 14 */ lfs f0, 0x814(r31) /* 801B01B8 001AD118 D0 1F 08 10 */ stfs f0, 0x810(r31) /* 801B01BC 001AD11C C0 1F 06 B4 */ lfs f0, 0x6b4(r31) /* 801B01C0 001AD120 D0 1F 07 BC */ stfs f0, 0x7bc(r31) /* 801B01C4 001AD124 90 61 00 08 */ stw r3, 8(r1) /* 801B01C8 001AD128 90 01 00 0C */ stw r0, 0xc(r1) /* 801B01CC 001AD12C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B01D0 001AD130 38 63 00 04 */ addi r3, r3, 4 /* 801B01D4 001AD134 4B F8 15 E5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B01D8 001AD138 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B01DC 001AD13C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B01E0 001AD140 90 01 00 08 */ stw r0, 8(r1) lbl_801B01E4: /* 801B01E4 001AD144 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B01E8 001AD148 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B01EC 001AD14C 7C 08 03 A6 */ mtlr r0 /* 801B01F0 001AD150 38 21 00 20 */ addi r1, r1, 0x20 .global sub_801b01f4 sub_801b01f4: /* 801B01F4 001AD154 4E 80 00 20 */ blr .global ProjectileAttack__9CFlaahgraFR13CStateManager9EStateMsgf ProjectileAttack__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B01F8 001AD158 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801B01FC 001AD15C 7C 08 02 A6 */ mflr r0 /* 801B0200 001AD160 90 01 00 54 */ stw r0, 0x54(r1) /* 801B0204 001AD164 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801B0208 001AD168 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801B020C 001AD16C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801B0210 001AD170 2C 05 00 01 */ cmpwi r5, 1 /* 801B0214 001AD174 7C 7F 1B 78 */ mr r31, r3 /* 801B0218 001AD178 41 82 00 3C */ beq lbl_801B0254 /* 801B021C 001AD17C 40 80 00 10 */ bge lbl_801B022C /* 801B0220 001AD180 2C 05 00 00 */ cmpwi r5, 0 /* 801B0224 001AD184 40 80 00 14 */ bge lbl_801B0238 /* 801B0228 001AD188 48 00 02 A0 */ b lbl_801B04C8 lbl_801B022C: /* 801B022C 001AD18C 2C 05 00 03 */ cmpwi r5, 3 /* 801B0230 001AD190 40 80 02 98 */ bge lbl_801B04C8 /* 801B0234 001AD194 48 00 02 08 */ b lbl_801B043C lbl_801B0238: /* 801B0238 001AD198 38 00 00 00 */ li r0, 0 /* 801B023C 001AD19C 7C 85 23 78 */ mr r5, r4 /* 801B0240 001AD1A0 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B0244 001AD1A4 38 80 00 0A */ li r4, 0xa /* 801B0248 001AD1A8 38 C0 FF FF */ li r6, -1 /* 801B024C 001AD1AC 4B EA 0E 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801B0250 001AD1B0 48 00 02 78 */ b lbl_801B04C8 lbl_801B0254: /* 801B0254 001AD1B4 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801B0258 001AD1B8 2C 00 00 01 */ cmpwi r0, 1 /* 801B025C 001AD1BC 41 82 02 6C */ beq lbl_801B04C8 /* 801B0260 001AD1C0 40 80 00 10 */ bge lbl_801B0270 /* 801B0264 001AD1C4 2C 00 00 00 */ cmpwi r0, 0 /* 801B0268 001AD1C8 40 80 00 14 */ bge lbl_801B027C /* 801B026C 001AD1CC 48 00 02 5C */ b lbl_801B04C8 lbl_801B0270: /* 801B0270 001AD1D0 2C 00 00 03 */ cmpwi r0, 3 /* 801B0274 001AD1D4 40 80 02 54 */ bge lbl_801B04C8 /* 801B0278 001AD1D8 48 00 01 70 */ b lbl_801B03E8 lbl_801B027C: /* 801B027C 001AD1DC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B0280 001AD1E0 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801B0284 001AD1E4 2C 00 00 12 */ cmpwi r0, 0x12 /* 801B0288 001AD1E8 40 82 00 10 */ bne lbl_801B0298 /* 801B028C 001AD1EC 38 00 00 02 */ li r0, 2 /* 801B0290 001AD1F0 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B0294 001AD1F4 48 00 02 34 */ b lbl_801B04C8 lbl_801B0298: /* 801B0298 001AD1F8 38 00 00 03 */ li r0, 3 /* 801B029C 001AD1FC 90 1F 07 B4 */ stw r0, 0x7b4(r31) /* 801B02A0 001AD200 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801B02A4 001AD204 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801B02A8 001AD208 41 82 00 14 */ beq lbl_801B02BC /* 801B02AC 001AD20C 38 00 00 02 */ li r0, 2 /* 801B02B0 001AD210 39 00 00 06 */ li r8, 6 /* 801B02B4 001AD214 90 1F 07 B4 */ stw r0, 0x7b4(r31) /* 801B02B8 001AD218 48 00 00 88 */ b lbl_801B0340 lbl_801B02BC: /* 801B02BC 001AD21C 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801B02C0 001AD220 C0 02 A8 FC */ lfs f0, lbl_805AC61C@sda21(r2) /* 801B02C4 001AD224 C0 A3 01 38 */ lfs f5, 0x138(r3) /* 801B02C8 001AD228 C0 83 01 3C */ lfs f4, 0x13c(r3) /* 801B02CC 001AD22C EC 45 01 72 */ fmuls f2, f5, f5 /* 801B02D0 001AD230 C0 C3 01 40 */ lfs f6, 0x140(r3) /* 801B02D4 001AD234 EC 24 01 32 */ fmuls f1, f4, f4 /* 801B02D8 001AD238 EC 66 01 B2 */ fmuls f3, f6, f6 /* 801B02DC 001AD23C EC 22 08 2A */ fadds f1, f2, f1 /* 801B02E0 001AD240 EC 23 08 2A */ fadds f1, f3, f1 /* 801B02E4 001AD244 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B02E8 001AD248 40 81 00 54 */ ble lbl_801B033C /* 801B02EC 001AD24C C0 1F 00 44 */ lfs f0, 0x44(r31) /* 801B02F0 001AD250 C0 5F 00 34 */ lfs f2, 0x34(r31) /* 801B02F4 001AD254 EC 20 01 32 */ fmuls f1, f0, f4 /* 801B02F8 001AD258 C0 7F 00 54 */ lfs f3, 0x54(r31) /* 801B02FC 001AD25C C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B0300 001AD260 EC 22 09 7A */ fmadds f1, f2, f5, f1 /* 801B0304 001AD264 EC 23 09 BA */ fmadds f1, f3, f6, f1 /* 801B0308 001AD268 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B030C 001AD26C 40 80 00 1C */ bge lbl_801B0328 /* 801B0310 001AD270 38 60 00 01 */ li r3, 1 /* 801B0314 001AD274 38 00 00 00 */ li r0, 0 /* 801B0318 001AD278 90 7F 07 B4 */ stw r3, 0x7b4(r31) /* 801B031C 001AD27C 39 00 00 04 */ li r8, 4 /* 801B0320 001AD280 90 1F 07 2C */ stw r0, 0x72c(r31) /* 801B0324 001AD284 48 00 00 1C */ b lbl_801B0340 lbl_801B0328: /* 801B0328 001AD288 38 00 00 00 */ li r0, 0 /* 801B032C 001AD28C 39 00 00 03 */ li r8, 3 /* 801B0330 001AD290 90 1F 07 B4 */ stw r0, 0x7b4(r31) /* 801B0334 001AD294 90 1F 07 2C */ stw r0, 0x72c(r31) /* 801B0338 001AD298 48 00 00 08 */ b lbl_801B0340 lbl_801B033C: /* 801B033C 001AD29C 39 00 00 07 */ li r8, 7 lbl_801B0340: /* 801B0340 001AD2A0 80 E4 08 4C */ lwz r7, 0x84c(r4) /* 801B0344 001AD2A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0348 001AD2A8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801B034C 001AD2AC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B0350 001AD2B0 C0 47 00 60 */ lfs f2, 0x60(r7) /* 801B0354 001AD2B4 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha /* 801B0358 001AD2B8 C0 27 00 50 */ lfs f1, 0x50(r7) /* 801B035C 001AD2BC 38 C0 00 06 */ li r6, 6 /* 801B0360 001AD2C0 C0 07 00 40 */ lfs f0, 0x40(r7) /* 801B0364 001AD2C4 38 00 00 00 */ li r0, 0 /* 801B0368 001AD2C8 3B E3 00 04 */ addi r31, r3, 4 /* 801B036C 001AD2CC 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B0370 001AD2D0 38 A4 A9 CC */ addi r5, r4, lbl_803DA9CC@l /* 801B0374 001AD2D4 38 80 00 06 */ li r4, 6 /* 801B0378 001AD2D8 90 C1 00 14 */ stw r6, 0x14(r1) /* 801B037C 001AD2DC 7F E3 FB 78 */ mr r3, r31 /* 801B0380 001AD2E0 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B0384 001AD2E4 91 01 00 18 */ stw r8, 0x18(r1) /* 801B0388 001AD2E8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801B038C 001AD2EC D0 21 00 20 */ stfs f1, 0x20(r1) /* 801B0390 001AD2F0 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801B0394 001AD2F4 98 01 00 28 */ stb r0, 0x28(r1) /* 801B0398 001AD2F8 4B F8 10 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B039C 001AD2FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B03A0 001AD300 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801B03A4 001AD304 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 801B03A8 001AD308 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B03AC 001AD30C 90 1F 01 2C */ stw r0, 0x12c(r31) /* 801B03B0 001AD310 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B03B4 001AD314 80 61 00 18 */ lwz r3, 0x18(r1) /* 801B03B8 001AD318 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801B03BC 001AD31C 90 7F 01 30 */ stw r3, 0x130(r31) /* 801B03C0 001AD320 80 61 00 20 */ lwz r3, 0x20(r1) /* 801B03C4 001AD324 90 BF 01 34 */ stw r5, 0x134(r31) /* 801B03C8 001AD328 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801B03CC 001AD32C 90 7F 01 38 */ stw r3, 0x138(r31) /* 801B03D0 001AD330 88 61 00 28 */ lbz r3, 0x28(r1) /* 801B03D4 001AD334 90 BF 01 3C */ stw r5, 0x13c(r31) /* 801B03D8 001AD338 90 81 00 10 */ stw r4, 0x10(r1) /* 801B03DC 001AD33C 98 7F 01 40 */ stb r3, 0x140(r31) /* 801B03E0 001AD340 90 01 00 10 */ stw r0, 0x10(r1) /* 801B03E4 001AD344 48 00 00 E4 */ b lbl_801B04C8 lbl_801B03E8: /* 801B03E8 001AD348 80 BF 04 50 */ lwz r5, 0x450(r31) /* 801B03EC 001AD34C 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801B03F0 001AD350 2C 00 00 12 */ cmpwi r0, 0x12 /* 801B03F4 001AD354 41 82 00 10 */ beq lbl_801B0404 /* 801B03F8 001AD358 38 00 00 04 */ li r0, 4 /* 801B03FC 001AD35C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B0400 001AD360 48 00 00 C8 */ b lbl_801B04C8 lbl_801B0404: /* 801B0404 001AD364 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801B0408 001AD368 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801B040C 001AD36C C0 23 00 40 */ lfs f1, 0x40(r3) /* 801B0410 001AD370 C0 83 00 50 */ lfs f4, 0x50(r3) /* 801B0414 001AD374 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801B0418 001AD378 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B041C 001AD37C C0 43 00 60 */ lfs f2, 0x60(r3) /* 801B0420 001AD380 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801B0424 001AD384 EC 64 18 28 */ fsubs f3, f4, f3 /* 801B0428 001AD388 D0 05 00 1C */ stfs f0, 0x1c(r5) /* 801B042C 001AD38C EC 02 08 28 */ fsubs f0, f2, f1 /* 801B0430 001AD390 D0 65 00 20 */ stfs f3, 0x20(r5) /* 801B0434 001AD394 D0 05 00 24 */ stfs f0, 0x24(r5) /* 801B0438 001AD398 48 00 00 90 */ b lbl_801B04C8 lbl_801B043C: /* 801B043C 001AD39C 80 7F 07 88 */ lwz r3, 0x788(r31) /* 801B0440 001AD3A0 3C 00 43 30 */ lis r0, 0x4330 /* 801B0444 001AD3A4 90 01 00 30 */ stw r0, 0x30(r1) /* 801B0448 001AD3A8 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 801B044C 001AD3AC C8 22 A9 00 */ lfd f1, lbl_805AC620@sda21(r2) /* 801B0450 001AD3B0 90 01 00 34 */ stw r0, 0x34(r1) /* 801B0454 001AD3B4 C0 42 A8 DC */ lfs f2, lbl_805AC5FC@sda21(r2) /* 801B0458 001AD3B8 C8 01 00 30 */ lfd f0, 0x30(r1) /* 801B045C 001AD3BC 80 64 09 00 */ lwz r3, 0x900(r4) /* 801B0460 001AD3C0 EC 00 08 28 */ fsubs f0, f0, f1 /* 801B0464 001AD3C4 EF E2 00 2A */ fadds f31, f2, f0 /* 801B0468 001AD3C8 48 16 20 75 */ bl Float__9CRandom16Fv /* 801B046C 001AD3CC C0 5F 03 08 */ lfs f2, 0x308(r31) /* 801B0470 001AD3D0 38 00 FF FF */ li r0, -1 /* 801B0474 001AD3D4 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801B0478 001AD3D8 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801B047C 001AD3DC EC 00 F8 24 */ fdivs f0, f0, f31 /* 801B0480 001AD3E0 D0 1F 07 C0 */ stfs f0, 0x7c0(r31) /* 801B0484 001AD3E4 90 1F 07 B4 */ stw r0, 0x7b4(r31) /* 801B0488 001AD3E8 90 1F 07 2C */ stw r0, 0x72c(r31) /* 801B048C 001AD3EC 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801B0490 001AD3F0 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B0494 001AD3F4 2C 00 00 12 */ cmpwi r0, 0x12 /* 801B0498 001AD3F8 40 82 00 30 */ bne lbl_801B04C8 /* 801B049C 001AD3FC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B04A0 001AD400 38 00 00 0C */ li r0, 0xc /* 801B04A4 001AD404 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801B04A8 001AD408 90 01 00 0C */ stw r0, 0xc(r1) /* 801B04AC 001AD40C 38 64 00 04 */ addi r3, r4, 4 /* 801B04B0 001AD410 38 81 00 08 */ addi r4, r1, 8 /* 801B04B4 001AD414 90 A1 00 08 */ stw r5, 8(r1) /* 801B04B8 001AD418 4B F8 13 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B04BC 001AD41C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B04C0 001AD420 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B04C4 001AD424 90 01 00 08 */ stw r0, 8(r1) lbl_801B04C8: /* 801B04C8 001AD428 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801B04CC 001AD42C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801B04D0 001AD430 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801B04D4 001AD434 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801B04D8 001AD438 7C 08 03 A6 */ mtlr r0 /* 801B04DC 001AD43C 38 21 00 50 */ addi r1, r1, 0x50 /* 801B04E0 001AD440 4E 80 00 20 */ blr .global SpecialAttack__9CFlaahgraFR13CStateManager9EStateMsgf SpecialAttack__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B04E4 001AD444 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801B04E8 001AD448 7C 08 02 A6 */ mflr r0 /* 801B04EC 001AD44C 90 01 00 54 */ stw r0, 0x54(r1) /* 801B04F0 001AD450 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801B04F4 001AD454 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801B04F8 001AD458 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801B04FC 001AD45C 2C 05 00 01 */ cmpwi r5, 1 /* 801B0500 001AD460 7C 7F 1B 78 */ mr r31, r3 /* 801B0504 001AD464 41 82 00 50 */ beq lbl_801B0554 /* 801B0508 001AD468 40 80 00 10 */ bge lbl_801B0518 /* 801B050C 001AD46C 2C 05 00 00 */ cmpwi r5, 0 /* 801B0510 001AD470 40 80 00 14 */ bge lbl_801B0524 /* 801B0514 001AD474 48 00 02 28 */ b lbl_801B073C lbl_801B0518: /* 801B0518 001AD478 2C 05 00 03 */ cmpwi r5, 3 /* 801B051C 001AD47C 40 80 02 20 */ bge lbl_801B073C /* 801B0520 001AD480 48 00 01 84 */ b lbl_801B06A4 lbl_801B0524: /* 801B0524 001AD484 39 00 00 00 */ li r8, 0 /* 801B0528 001AD488 38 00 00 03 */ li r0, 3 /* 801B052C 001AD48C 91 1F 05 68 */ stw r8, 0x568(r31) /* 801B0530 001AD490 7C 85 23 78 */ mr r5, r4 /* 801B0534 001AD494 38 80 00 0A */ li r4, 0xa /* 801B0538 001AD498 38 C0 FF FF */ li r6, -1 /* 801B053C 001AD49C 88 FF 08 E5 */ lbz r7, 0x8e5(r31) /* 801B0540 001AD4A0 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 /* 801B0544 001AD4A4 98 FF 08 E5 */ stb r7, 0x8e5(r31) /* 801B0548 001AD4A8 90 1F 07 B4 */ stw r0, 0x7b4(r31) /* 801B054C 001AD4AC 4B EA 0B 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801B0550 001AD4B0 48 00 01 EC */ b lbl_801B073C lbl_801B0554: /* 801B0554 001AD4B4 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801B0558 001AD4B8 2C 00 00 01 */ cmpwi r0, 1 /* 801B055C 001AD4BC 41 82 01 E0 */ beq lbl_801B073C /* 801B0560 001AD4C0 40 80 00 10 */ bge lbl_801B0570 /* 801B0564 001AD4C4 2C 00 00 00 */ cmpwi r0, 0 /* 801B0568 001AD4C8 40 80 00 14 */ bge lbl_801B057C /* 801B056C 001AD4CC 48 00 01 D0 */ b lbl_801B073C lbl_801B0570: /* 801B0570 001AD4D0 2C 00 00 03 */ cmpwi r0, 3 /* 801B0574 001AD4D4 40 80 01 C8 */ bge lbl_801B073C /* 801B0578 001AD4D8 48 00 00 D8 */ b lbl_801B0650 lbl_801B057C: /* 801B057C 001AD4DC 80 DF 04 50 */ lwz r6, 0x450(r31) /* 801B0580 001AD4E0 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801B0584 001AD4E4 2C 00 00 12 */ cmpwi r0, 0x12 /* 801B0588 001AD4E8 40 82 00 20 */ bne lbl_801B05A8 /* 801B058C 001AD4EC 38 00 00 02 */ li r0, 2 /* 801B0590 001AD4F0 38 60 00 01 */ li r3, 1 /* 801B0594 001AD4F4 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B0598 001AD4F8 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801B059C 001AD4FC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801B05A0 001AD500 98 1F 08 E4 */ stb r0, 0x8e4(r31) /* 801B05A4 001AD504 48 00 01 98 */ b lbl_801B073C lbl_801B05A8: /* 801B05A8 001AD508 81 04 08 4C */ lwz r8, 0x84c(r4) /* 801B05AC 001AD50C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B05B0 001AD510 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l /* 801B05B4 001AD514 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801B05B8 001AD518 C0 48 00 60 */ lfs f2, 0x60(r8) /* 801B05BC 001AD51C 38 E0 00 06 */ li r7, 6 /* 801B05C0 001AD520 C0 28 00 50 */ lfs f1, 0x50(r8) /* 801B05C4 001AD524 38 A0 00 08 */ li r5, 8 /* 801B05C8 001AD528 C0 08 00 40 */ lfs f0, 0x40(r8) /* 801B05CC 001AD52C 38 00 00 00 */ li r0, 0 /* 801B05D0 001AD530 3B E6 00 04 */ addi r31, r6, 4 /* 801B05D4 001AD534 90 81 00 10 */ stw r4, 0x10(r1) /* 801B05D8 001AD538 38 C3 A9 CC */ addi r6, r3, lbl_803DA9CC@l /* 801B05DC 001AD53C 38 80 00 06 */ li r4, 6 /* 801B05E0 001AD540 90 E1 00 14 */ stw r7, 0x14(r1) /* 801B05E4 001AD544 7F E3 FB 78 */ mr r3, r31 /* 801B05E8 001AD548 90 C1 00 10 */ stw r6, 0x10(r1) /* 801B05EC 001AD54C 90 A1 00 18 */ stw r5, 0x18(r1) /* 801B05F0 001AD550 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801B05F4 001AD554 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801B05F8 001AD558 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801B05FC 001AD55C 98 01 00 28 */ stb r0, 0x28(r1) /* 801B0600 001AD560 4B F8 0E 39 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B0604 001AD564 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B0608 001AD568 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801B060C 001AD56C 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 801B0610 001AD570 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0614 001AD574 90 1F 01 2C */ stw r0, 0x12c(r31) /* 801B0618 001AD578 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B061C 001AD57C 80 61 00 18 */ lwz r3, 0x18(r1) /* 801B0620 001AD580 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801B0624 001AD584 90 7F 01 30 */ stw r3, 0x130(r31) /* 801B0628 001AD588 80 61 00 20 */ lwz r3, 0x20(r1) /* 801B062C 001AD58C 90 BF 01 34 */ stw r5, 0x134(r31) /* 801B0630 001AD590 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801B0634 001AD594 90 7F 01 38 */ stw r3, 0x138(r31) /* 801B0638 001AD598 88 61 00 28 */ lbz r3, 0x28(r1) /* 801B063C 001AD59C 90 BF 01 3C */ stw r5, 0x13c(r31) /* 801B0640 001AD5A0 90 81 00 10 */ stw r4, 0x10(r1) /* 801B0644 001AD5A4 98 7F 01 40 */ stb r3, 0x140(r31) /* 801B0648 001AD5A8 90 01 00 10 */ stw r0, 0x10(r1) /* 801B064C 001AD5AC 48 00 00 F0 */ b lbl_801B073C lbl_801B0650: /* 801B0650 001AD5B0 80 BF 04 50 */ lwz r5, 0x450(r31) /* 801B0654 001AD5B4 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801B0658 001AD5B8 2C 00 00 12 */ cmpwi r0, 0x12 /* 801B065C 001AD5BC 41 82 00 10 */ beq lbl_801B066C /* 801B0660 001AD5C0 38 00 00 04 */ li r0, 4 /* 801B0664 001AD5C4 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B0668 001AD5C8 48 00 00 D4 */ b lbl_801B073C lbl_801B066C: /* 801B066C 001AD5CC 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801B0670 001AD5D0 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801B0674 001AD5D4 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801B0678 001AD5D8 C0 83 00 50 */ lfs f4, 0x50(r3) /* 801B067C 001AD5DC C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801B0680 001AD5E0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B0684 001AD5E4 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801B0688 001AD5E8 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801B068C 001AD5EC EC 64 18 28 */ fsubs f3, f4, f3 /* 801B0690 001AD5F0 D0 05 00 1C */ stfs f0, 0x1c(r5) /* 801B0694 001AD5F4 EC 02 08 28 */ fsubs f0, f2, f1 /* 801B0698 001AD5F8 D0 65 00 20 */ stfs f3, 0x20(r5) /* 801B069C 001AD5FC D0 05 00 24 */ stfs f0, 0x24(r5) /* 801B06A0 001AD600 48 00 00 9C */ b lbl_801B073C lbl_801B06A4: /* 801B06A4 001AD604 80 7F 07 88 */ lwz r3, 0x788(r31) /* 801B06A8 001AD608 3C 00 43 30 */ lis r0, 0x4330 /* 801B06AC 001AD60C 90 01 00 30 */ stw r0, 0x30(r1) /* 801B06B0 001AD610 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 801B06B4 001AD614 C8 22 A9 00 */ lfd f1, lbl_805AC620@sda21(r2) /* 801B06B8 001AD618 90 01 00 34 */ stw r0, 0x34(r1) /* 801B06BC 001AD61C C0 42 A8 DC */ lfs f2, lbl_805AC5FC@sda21(r2) /* 801B06C0 001AD620 C8 01 00 30 */ lfd f0, 0x30(r1) /* 801B06C4 001AD624 80 64 09 00 */ lwz r3, 0x900(r4) /* 801B06C8 001AD628 EC 00 08 28 */ fsubs f0, f0, f1 /* 801B06CC 001AD62C EF E2 00 2A */ fadds f31, f2, f0 /* 801B06D0 001AD630 48 16 1E 0D */ bl Float__9CRandom16Fv /* 801B06D4 001AD634 C0 5F 03 08 */ lfs f2, 0x308(r31) /* 801B06D8 001AD638 38 80 00 00 */ li r4, 0 /* 801B06DC 001AD63C C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801B06E0 001AD640 38 00 FF FF */ li r0, -1 /* 801B06E4 001AD644 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801B06E8 001AD648 EC 00 F8 24 */ fdivs f0, f0, f31 /* 801B06EC 001AD64C D0 1F 07 C0 */ stfs f0, 0x7c0(r31) /* 801B06F0 001AD650 88 7F 08 E4 */ lbz r3, 0x8e4(r31) /* 801B06F4 001AD654 50 83 0F BC */ rlwimi r3, r4, 1, 0x1e, 0x1e /* 801B06F8 001AD658 98 7F 08 E4 */ stb r3, 0x8e4(r31) /* 801B06FC 001AD65C 90 1F 07 B4 */ stw r0, 0x7b4(r31) /* 801B0700 001AD660 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801B0704 001AD664 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B0708 001AD668 2C 00 00 12 */ cmpwi r0, 0x12 /* 801B070C 001AD66C 40 82 00 30 */ bne lbl_801B073C /* 801B0710 001AD670 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0714 001AD674 38 00 00 0C */ li r0, 0xc /* 801B0718 001AD678 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801B071C 001AD67C 90 01 00 0C */ stw r0, 0xc(r1) /* 801B0720 001AD680 38 64 00 04 */ addi r3, r4, 4 /* 801B0724 001AD684 38 81 00 08 */ addi r4, r1, 8 /* 801B0728 001AD688 90 A1 00 08 */ stw r5, 8(r1) /* 801B072C 001AD68C 4B F8 10 8D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B0730 001AD690 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0734 001AD694 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0738 001AD698 90 01 00 08 */ stw r0, 8(r1) lbl_801B073C: /* 801B073C 001AD69C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801B0740 001AD6A0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801B0744 001AD6A4 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801B0748 001AD6A8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801B074C 001AD6AC 7C 08 03 A6 */ mtlr r0 /* 801B0750 001AD6B0 38 21 00 50 */ addi r1, r1, 0x50 /* 801B0754 001AD6B4 4E 80 00 20 */ blr .global Attack__9CFlaahgraFR13CStateManager9EStateMsgf Attack__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B0758 001AD6B8 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801B075C 001AD6BC 7C 08 02 A6 */ mflr r0 /* 801B0760 001AD6C0 90 01 00 84 */ stw r0, 0x84(r1) /* 801B0764 001AD6C4 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801B0768 001AD6C8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801B076C 001AD6CC 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801B0770 001AD6D0 93 C1 00 68 */ stw r30, 0x68(r1) /* 801B0774 001AD6D4 2C 05 00 01 */ cmpwi r5, 1 /* 801B0778 001AD6D8 7C 7E 1B 78 */ mr r30, r3 /* 801B077C 001AD6DC 7C 9F 23 78 */ mr r31, r4 /* 801B0780 001AD6E0 41 82 00 48 */ beq lbl_801B07C8 /* 801B0784 001AD6E4 40 80 00 10 */ bge lbl_801B0794 /* 801B0788 001AD6E8 2C 05 00 00 */ cmpwi r5, 0 /* 801B078C 001AD6EC 40 80 00 14 */ bge lbl_801B07A0 /* 801B0790 001AD6F0 48 00 03 F8 */ b lbl_801B0B88 lbl_801B0794: /* 801B0794 001AD6F4 2C 05 00 03 */ cmpwi r5, 3 /* 801B0798 001AD6F8 40 80 03 F0 */ bge lbl_801B0B88 /* 801B079C 001AD6FC 48 00 03 2C */ b lbl_801B0AC8 lbl_801B07A0: /* 801B07A0 001AD700 38 00 00 00 */ li r0, 0 /* 801B07A4 001AD704 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B07A8 001AD708 4B FF E0 81 */ bl sub_801ae828 /* 801B07AC 001AD70C 90 7E 07 A8 */ stw r3, 0x7a8(r30) /* 801B07B0 001AD710 7F C3 F3 78 */ mr r3, r30 /* 801B07B4 001AD714 7F E5 FB 78 */ mr r5, r31 /* 801B07B8 001AD718 38 80 00 0A */ li r4, 0xa /* 801B07BC 001AD71C 38 C0 FF FF */ li r6, -1 /* 801B07C0 001AD720 4B EA 09 01 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801B07C4 001AD724 48 00 03 C4 */ b lbl_801B0B88 lbl_801B07C8: /* 801B07C8 001AD728 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801B07CC 001AD72C 2C 00 00 01 */ cmpwi r0, 1 /* 801B07D0 001AD730 41 82 01 88 */ beq lbl_801B0958 /* 801B07D4 001AD734 40 80 00 10 */ bge lbl_801B07E4 /* 801B07D8 001AD738 2C 00 00 00 */ cmpwi r0, 0 /* 801B07DC 001AD73C 40 80 00 14 */ bge lbl_801B07F0 /* 801B07E0 001AD740 48 00 03 A8 */ b lbl_801B0B88 lbl_801B07E4: /* 801B07E4 001AD744 2C 00 00 03 */ cmpwi r0, 3 /* 801B07E8 001AD748 40 80 03 A0 */ bge lbl_801B0B88 /* 801B07EC 001AD74C 48 00 02 A4 */ b lbl_801B0A90 lbl_801B07F0: /* 801B07F0 001AD750 80 FE 04 50 */ lwz r7, 0x450(r30) /* 801B07F4 001AD754 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 801B07F8 001AD758 2C 00 00 07 */ cmpwi r0, 7 /* 801B07FC 001AD75C 40 82 00 A4 */ bne lbl_801B08A0 /* 801B0800 001AD760 80 1E 07 A8 */ lwz r0, 0x7a8(r30) /* 801B0804 001AD764 3C 60 80 3D */ lis r3, lbl_803D157C@ha /* 801B0808 001AD768 38 63 15 7C */ addi r3, r3, lbl_803D157C@l /* 801B080C 001AD76C 38 80 00 02 */ li r4, 2 /* 801B0810 001AD770 54 00 10 3A */ slwi r0, r0, 2 /* 801B0814 001AD774 7C 03 00 2E */ lwzx r0, r3, r0 /* 801B0818 001AD778 2C 00 FF FF */ cmpwi r0, -1 /* 801B081C 001AD77C 41 82 00 08 */ beq lbl_801B0824 /* 801B0820 001AD780 38 80 00 01 */ li r4, 1 lbl_801B0824: /* 801B0824 001AD784 90 9E 05 68 */ stw r4, 0x568(r30) /* 801B0828 001AD788 7F C3 F3 78 */ mr r3, r30 /* 801B082C 001AD78C 4B FF DE 45 */ bl sub_801ae670 /* 801B0830 001AD790 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B0834 001AD794 41 82 00 34 */ beq lbl_801B0868 /* 801B0838 001AD798 3C 80 80 57 */ lis r4, lbl_80572024@ha /* 801B083C 001AD79C 7F C3 F3 78 */ mr r3, r30 /* 801B0840 001AD7A0 38 C4 20 24 */ addi r6, r4, lbl_80572024@l /* 801B0844 001AD7A4 38 BE 07 9C */ addi r5, r30, 0x79c /* 801B0848 001AD7A8 7F E4 FB 78 */ mr r4, r31 /* 801B084C 001AD7AC 4B FF DB 3D */ bl sub_801ae388 /* 801B0850 001AD7B0 3C 80 80 57 */ lis r4, lbl_80572024@ha /* 801B0854 001AD7B4 7F C3 F3 78 */ mr r3, r30 /* 801B0858 001AD7B8 38 C4 20 24 */ addi r6, r4, lbl_80572024@l /* 801B085C 001AD7BC 38 BE 07 A0 */ addi r5, r30, 0x7a0 /* 801B0860 001AD7C0 7F E4 FB 78 */ mr r4, r31 /* 801B0864 001AD7C4 4B FF DB 25 */ bl sub_801ae388 lbl_801B0868: /* 801B0868 001AD7C8 7F C4 F3 78 */ mr r4, r30 /* 801B086C 001AD7CC 7F E5 FB 78 */ mr r5, r31 /* 801B0870 001AD7D0 38 61 00 10 */ addi r3, r1, 0x10 /* 801B0874 001AD7D4 4B FF DE E1 */ bl sub_801ae754 /* 801B0878 001AD7D8 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801B087C 001AD7DC D0 1E 07 8C */ stfs f0, 0x78c(r30) /* 801B0880 001AD7E0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801B0884 001AD7E4 D0 1E 07 90 */ stfs f0, 0x790(r30) /* 801B0888 001AD7E8 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801B088C 001AD7EC D0 1E 07 94 */ stfs f0, 0x794(r30) /* 801B0890 001AD7F0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B0894 001AD7F4 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 801B0898 001AD7F8 90 1E 07 98 */ stw r0, 0x798(r30) /* 801B089C 001AD7FC 48 00 02 EC */ b lbl_801B0B88 lbl_801B08A0: /* 801B08A0 001AD800 80 1E 07 A8 */ lwz r0, 0x7a8(r30) /* 801B08A4 001AD804 3C A0 80 3D */ lis r5, lbl_803D1568@ha /* 801B08A8 001AD808 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B08AC 001AD80C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801B08B0 001AD810 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801B08B4 001AD814 38 C5 15 68 */ addi r6, r5, lbl_803D1568@l /* 801B08B8 001AD818 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l /* 801B08BC 001AD81C 54 00 10 3A */ slwi r0, r0, 2 /* 801B08C0 001AD820 7D 06 00 2E */ lwzx r8, r6, r0 /* 801B08C4 001AD824 38 C0 00 05 */ li r6, 5 /* 801B08C8 001AD828 C0 23 00 04 */ lfs f1, 4(r3) /* 801B08CC 001AD82C 38 00 00 00 */ li r0, 0 /* 801B08D0 001AD830 C0 03 00 08 */ lfs f0, 8(r3) /* 801B08D4 001AD834 3B C7 00 04 */ addi r30, r7, 4 /* 801B08D8 001AD838 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 801B08DC 001AD83C 90 A1 00 38 */ stw r5, 0x38(r1) /* 801B08E0 001AD840 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l /* 801B08E4 001AD844 7F C3 F3 78 */ mr r3, r30 /* 801B08E8 001AD848 90 C1 00 3C */ stw r6, 0x3c(r1) /* 801B08EC 001AD84C 38 80 00 05 */ li r4, 5 /* 801B08F0 001AD850 90 A1 00 38 */ stw r5, 0x38(r1) /* 801B08F4 001AD854 91 01 00 40 */ stw r8, 0x40(r1) /* 801B08F8 001AD858 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801B08FC 001AD85C D0 21 00 48 */ stfs f1, 0x48(r1) /* 801B0900 001AD860 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801B0904 001AD864 98 01 00 50 */ stb r0, 0x50(r1) /* 801B0908 001AD868 4B F8 0B 31 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B090C 001AD86C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 801B0910 001AD870 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801B0914 001AD874 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801B0918 001AD878 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B091C 001AD87C 90 1E 01 10 */ stw r0, 0x110(r30) /* 801B0920 001AD880 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0924 001AD884 80 61 00 40 */ lwz r3, 0x40(r1) /* 801B0928 001AD888 80 A1 00 44 */ lwz r5, 0x44(r1) /* 801B092C 001AD88C 90 7E 01 14 */ stw r3, 0x114(r30) /* 801B0930 001AD890 80 61 00 48 */ lwz r3, 0x48(r1) /* 801B0934 001AD894 90 BE 01 18 */ stw r5, 0x118(r30) /* 801B0938 001AD898 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 801B093C 001AD89C 90 7E 01 1C */ stw r3, 0x11c(r30) /* 801B0940 001AD8A0 88 61 00 50 */ lbz r3, 0x50(r1) /* 801B0944 001AD8A4 90 BE 01 20 */ stw r5, 0x120(r30) /* 801B0948 001AD8A8 90 81 00 38 */ stw r4, 0x38(r1) /* 801B094C 001AD8AC 98 7E 01 24 */ stb r3, 0x124(r30) /* 801B0950 001AD8B0 90 01 00 38 */ stw r0, 0x38(r1) /* 801B0954 001AD8B4 48 00 02 34 */ b lbl_801B0B88 lbl_801B0958: /* 801B0958 001AD8B8 80 DE 04 50 */ lwz r6, 0x450(r30) /* 801B095C 001AD8BC 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801B0960 001AD8C0 2C 00 00 07 */ cmpwi r0, 7 /* 801B0964 001AD8C4 41 82 00 10 */ beq lbl_801B0974 /* 801B0968 001AD8C8 38 00 00 04 */ li r0, 4 /* 801B096C 001AD8CC 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B0970 001AD8D0 48 00 02 18 */ b lbl_801B0B88 lbl_801B0974: /* 801B0974 001AD8D4 80 BE 07 98 */ lwz r5, 0x798(r30) /* 801B0978 001AD8D8 80 06 02 F8 */ lwz r0, 0x2f8(r6) /* 801B097C 001AD8DC 7C 05 00 00 */ cmpw r5, r0 /* 801B0980 001AD8E0 41 82 00 10 */ beq lbl_801B0990 /* 801B0984 001AD8E4 38 00 00 02 */ li r0, 2 /* 801B0988 001AD8E8 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B098C 001AD8EC 48 00 01 FC */ b lbl_801B0B88 lbl_801B0990: /* 801B0990 001AD8F0 C0 1E 07 8C */ lfs f0, 0x78c(r30) /* 801B0994 001AD8F4 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B0998 001AD8F8 D0 06 00 1C */ stfs f0, 0x1c(r6) /* 801B099C 001AD8FC C0 1E 07 90 */ lfs f0, 0x790(r30) /* 801B09A0 001AD900 D0 06 00 20 */ stfs f0, 0x20(r6) /* 801B09A4 001AD904 C0 1E 07 94 */ lfs f0, 0x794(r30) /* 801B09A8 001AD908 D0 06 00 24 */ stfs f0, 0x24(r6) /* 801B09AC 001AD90C 81 83 00 00 */ lwz r12, 0(r3) /* 801B09B0 001AD910 81 8C 01 DC */ lwz r12, 0x1dc(r12) /* 801B09B4 001AD914 7D 89 03 A6 */ mtctr r12 /* 801B09B8 001AD918 4E 80 04 21 */ bctrl /* 801B09BC 001AD91C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B09C0 001AD920 41 82 01 C8 */ beq lbl_801B0B88 /* 801B09C4 001AD924 80 1E 07 A8 */ lwz r0, 0x7a8(r30) /* 801B09C8 001AD928 3C 60 80 3D */ lis r3, lbl_803D157C@ha /* 801B09CC 001AD92C 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801B09D0 001AD930 3C 80 80 3D */ lis r4, lbl_803D1568@ha /* 801B09D4 001AD934 54 00 10 3A */ slwi r0, r0, 2 /* 801B09D8 001AD938 38 63 15 7C */ addi r3, r3, lbl_803D157C@l /* 801B09DC 001AD93C 7C 03 00 2E */ lwzx r0, r3, r0 /* 801B09E0 001AD940 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B09E4 001AD944 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801B09E8 001AD948 39 05 AA 68 */ addi r8, r5, lbl_803DAA68@l /* 801B09EC 001AD94C 54 00 10 3A */ slwi r0, r0, 2 /* 801B09F0 001AD950 38 84 15 68 */ addi r4, r4, lbl_803D1568@l /* 801B09F4 001AD954 7C A4 00 2E */ lwzx r5, r4, r0 /* 801B09F8 001AD958 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 801B09FC 001AD95C C0 23 00 04 */ lfs f1, 4(r3) /* 801B0A00 001AD960 38 E0 00 05 */ li r7, 5 /* 801B0A04 001AD964 C0 03 00 08 */ lfs f0, 8(r3) /* 801B0A08 001AD968 38 00 00 00 */ li r0, 0 /* 801B0A0C 001AD96C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B0A10 001AD970 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l /* 801B0A14 001AD974 91 01 00 1C */ stw r8, 0x1c(r1) /* 801B0A18 001AD978 38 80 00 05 */ li r4, 5 /* 801B0A1C 001AD97C 3B C3 00 04 */ addi r30, r3, 4 /* 801B0A20 001AD980 90 E1 00 20 */ stw r7, 0x20(r1) /* 801B0A24 001AD984 7F C3 F3 78 */ mr r3, r30 /* 801B0A28 001AD988 90 C1 00 1C */ stw r6, 0x1c(r1) /* 801B0A2C 001AD98C 90 A1 00 24 */ stw r5, 0x24(r1) /* 801B0A30 001AD990 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801B0A34 001AD994 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801B0A38 001AD998 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801B0A3C 001AD99C 98 01 00 34 */ stb r0, 0x34(r1) /* 801B0A40 001AD9A0 4B F8 09 F9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B0A44 001AD9A4 80 01 00 20 */ lwz r0, 0x20(r1) /* 801B0A48 001AD9A8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801B0A4C 001AD9AC 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801B0A50 001AD9B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0A54 001AD9B4 90 1E 01 10 */ stw r0, 0x110(r30) /* 801B0A58 001AD9B8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0A5C 001AD9BC 80 61 00 24 */ lwz r3, 0x24(r1) /* 801B0A60 001AD9C0 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801B0A64 001AD9C4 90 7E 01 14 */ stw r3, 0x114(r30) /* 801B0A68 001AD9C8 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801B0A6C 001AD9CC 90 BE 01 18 */ stw r5, 0x118(r30) /* 801B0A70 001AD9D0 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801B0A74 001AD9D4 90 7E 01 1C */ stw r3, 0x11c(r30) /* 801B0A78 001AD9D8 88 61 00 34 */ lbz r3, 0x34(r1) /* 801B0A7C 001AD9DC 90 BE 01 20 */ stw r5, 0x120(r30) /* 801B0A80 001AD9E0 90 81 00 1C */ stw r4, 0x1c(r1) /* 801B0A84 001AD9E4 98 7E 01 24 */ stb r3, 0x124(r30) /* 801B0A88 001AD9E8 90 01 00 1C */ stw r0, 0x1c(r1) /* 801B0A8C 001AD9EC 48 00 00 FC */ b lbl_801B0B88 lbl_801B0A90: /* 801B0A90 001AD9F0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B0A94 001AD9F4 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801B0A98 001AD9F8 2C 00 00 07 */ cmpwi r0, 7 /* 801B0A9C 001AD9FC 41 82 00 10 */ beq lbl_801B0AAC /* 801B0AA0 001ADA00 38 00 00 04 */ li r0, 4 /* 801B0AA4 001ADA04 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B0AA8 001ADA08 48 00 00 E0 */ b lbl_801B0B88 lbl_801B0AAC: /* 801B0AAC 001ADA0C C0 1E 07 8C */ lfs f0, 0x78c(r30) /* 801B0AB0 001ADA10 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801B0AB4 001ADA14 C0 1E 07 90 */ lfs f0, 0x790(r30) /* 801B0AB8 001ADA18 D0 03 00 20 */ stfs f0, 0x20(r3) /* 801B0ABC 001ADA1C C0 1E 07 94 */ lfs f0, 0x794(r30) /* 801B0AC0 001ADA20 D0 03 00 24 */ stfs f0, 0x24(r3) /* 801B0AC4 001ADA24 48 00 00 C4 */ b lbl_801B0B88 lbl_801B0AC8: /* 801B0AC8 001ADA28 3C C0 80 5A */ lis r6, skZero3f@ha /* 801B0ACC 001ADA2C 38 BE 07 9C */ addi r5, r30, 0x79c /* 801B0AD0 001ADA30 38 C6 66 A0 */ addi r6, r6, skZero3f@l /* 801B0AD4 001ADA34 4B FF D8 B5 */ bl sub_801ae388 /* 801B0AD8 001ADA38 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B0ADC 001ADA3C 7F C3 F3 78 */ mr r3, r30 /* 801B0AE0 001ADA40 38 C4 66 A0 */ addi r6, r4, skZero3f@l /* 801B0AE4 001ADA44 38 BE 07 A0 */ addi r5, r30, 0x7a0 /* 801B0AE8 001ADA48 7F E4 FB 78 */ mr r4, r31 /* 801B0AEC 001ADA4C 4B FF D8 9D */ bl sub_801ae388 /* 801B0AF0 001ADA50 7F C3 F3 78 */ mr r3, r30 /* 801B0AF4 001ADA54 4B FF DB 7D */ bl sub_801ae670 /* 801B0AF8 001ADA58 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B0AFC 001ADA5C 41 82 00 48 */ beq lbl_801B0B44 /* 801B0B00 001ADA60 80 7E 07 88 */ lwz r3, 0x788(r30) /* 801B0B04 001ADA64 3C 00 43 30 */ lis r0, 0x4330 /* 801B0B08 001ADA68 90 01 00 58 */ stw r0, 0x58(r1) /* 801B0B0C 001ADA6C 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 801B0B10 001ADA70 C8 22 A9 00 */ lfd f1, lbl_805AC620@sda21(r2) /* 801B0B14 001ADA74 90 01 00 5C */ stw r0, 0x5c(r1) /* 801B0B18 001ADA78 C0 42 A8 DC */ lfs f2, lbl_805AC5FC@sda21(r2) /* 801B0B1C 001ADA7C C8 01 00 58 */ lfd f0, 0x58(r1) /* 801B0B20 001ADA80 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801B0B24 001ADA84 EC 00 08 28 */ fsubs f0, f0, f1 /* 801B0B28 001ADA88 EF E2 00 2A */ fadds f31, f2, f0 /* 801B0B2C 001ADA8C 48 16 19 B1 */ bl Float__9CRandom16Fv /* 801B0B30 001ADA90 C0 5E 03 08 */ lfs f2, 0x308(r30) /* 801B0B34 001ADA94 C0 1E 03 04 */ lfs f0, 0x304(r30) /* 801B0B38 001ADA98 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801B0B3C 001ADA9C EC 00 F8 24 */ fdivs f0, f0, f31 /* 801B0B40 001ADAA0 D0 1E 07 C0 */ stfs f0, 0x7c0(r30) lbl_801B0B44: /* 801B0B44 001ADAA4 38 00 FF FF */ li r0, -1 /* 801B0B48 001ADAA8 90 1E 07 A8 */ stw r0, 0x7a8(r30) /* 801B0B4C 001ADAAC 80 9E 04 50 */ lwz r4, 0x450(r30) /* 801B0B50 001ADAB0 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B0B54 001ADAB4 2C 00 00 07 */ cmpwi r0, 7 /* 801B0B58 001ADAB8 40 82 00 30 */ bne lbl_801B0B88 /* 801B0B5C 001ADABC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0B60 001ADAC0 38 00 00 0C */ li r0, 0xc /* 801B0B64 001ADAC4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801B0B68 001ADAC8 90 01 00 0C */ stw r0, 0xc(r1) /* 801B0B6C 001ADACC 38 64 00 04 */ addi r3, r4, 4 /* 801B0B70 001ADAD0 38 81 00 08 */ addi r4, r1, 8 /* 801B0B74 001ADAD4 90 A1 00 08 */ stw r5, 8(r1) /* 801B0B78 001ADAD8 4B F8 0C 41 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B0B7C 001ADADC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0B80 001ADAE0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0B84 001ADAE4 90 01 00 08 */ stw r0, 8(r1) lbl_801B0B88: /* 801B0B88 001ADAE8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801B0B8C 001ADAEC 80 01 00 84 */ lwz r0, 0x84(r1) /* 801B0B90 001ADAF0 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801B0B94 001ADAF4 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801B0B98 001ADAF8 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801B0B9C 001ADAFC 7C 08 03 A6 */ mtlr r0 /* 801B0BA0 001ADB00 38 21 00 80 */ addi r1, r1, 0x80 /* 801B0BA4 001ADB04 4E 80 00 20 */ blr .global TurnAround__9CFlaahgraFR13CStateManager9EStateMsgf TurnAround__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B0BA8 001ADB08 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801B0BAC 001ADB0C 7C 08 02 A6 */ mflr r0 /* 801B0BB0 001ADB10 2C 05 00 01 */ cmpwi r5, 1 /* 801B0BB4 001ADB14 90 01 00 64 */ stw r0, 0x64(r1) /* 801B0BB8 001ADB18 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801B0BBC 001ADB1C 7C 9F 23 78 */ mr r31, r4 /* 801B0BC0 001ADB20 93 C1 00 58 */ stw r30, 0x58(r1) /* 801B0BC4 001ADB24 7C 7E 1B 78 */ mr r30, r3 /* 801B0BC8 001ADB28 41 82 00 5C */ beq lbl_801B0C24 /* 801B0BCC 001ADB2C 40 80 00 10 */ bge lbl_801B0BDC /* 801B0BD0 001ADB30 2C 05 00 00 */ cmpwi r5, 0 /* 801B0BD4 001ADB34 40 80 00 14 */ bge lbl_801B0BE8 /* 801B0BD8 001ADB38 48 00 01 4C */ b lbl_801B0D24 lbl_801B0BDC: /* 801B0BDC 001ADB3C 2C 05 00 03 */ cmpwi r5, 3 /* 801B0BE0 001ADB40 40 80 01 44 */ bge lbl_801B0D24 /* 801B0BE4 001ADB44 48 00 01 34 */ b lbl_801B0D18 lbl_801B0BE8: /* 801B0BE8 001ADB48 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801B0BEC 001ADB4C 38 81 00 0C */ addi r4, r1, 0xc /* 801B0BF0 001ADB50 A0 03 00 08 */ lhz r0, 8(r3) /* 801B0BF4 001ADB54 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B0BF8 001ADB58 B0 01 00 08 */ sth r0, 8(r1) /* 801B0BFC 001ADB5C 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801B0C00 001ADB60 4B FC 46 19 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801B0C04 001ADB64 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801B0C08 001ADB68 38 80 00 01 */ li r4, 1 /* 801B0C0C 001ADB6C 4B FC 46 19 */ bl SetActive__13CBoneTrackingFb /* 801B0C10 001ADB70 88 1E 08 E5 */ lbz r0, 0x8e5(r30) /* 801B0C14 001ADB74 38 60 00 00 */ li r3, 0 /* 801B0C18 001ADB78 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801B0C1C 001ADB7C 98 1E 08 E5 */ stb r0, 0x8e5(r30) /* 801B0C20 001ADB80 48 00 01 04 */ b lbl_801B0D24 lbl_801B0C24: /* 801B0C24 001ADB84 81 83 00 00 */ lwz r12, 0(r3) /* 801B0C28 001ADB88 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B0C2C 001ADB8C 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801B0C30 001ADB90 7D 89 03 A6 */ mtctr r12 /* 801B0C34 001ADB94 4E 80 04 21 */ bctrl /* 801B0C38 001ADB98 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B0C3C 001ADB9C 41 82 00 E8 */ beq lbl_801B0D24 /* 801B0C40 001ADBA0 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801B0C44 001ADBA4 7F E5 FB 78 */ mr r5, r31 /* 801B0C48 001ADBA8 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B0C4C 001ADBAC 38 61 00 1C */ addi r3, r1, 0x1c /* 801B0C50 001ADBB0 80 C4 00 10 */ lwz r6, 0x10(r4) /* 801B0C54 001ADBB4 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801B0C58 001ADBB8 C0 46 02 00 */ lfs f2, 0x200(r6) /* 801B0C5C 001ADBBC FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801B0C60 001ADBC0 40 81 00 0C */ ble lbl_801B0C6C /* 801B0C64 001ADBC4 C0 02 A9 08 */ lfs f0, lbl_805AC628@sda21(r2) /* 801B0C68 001ADBC8 EC 20 10 24 */ fdivs f1, f0, f2 lbl_801B0C6C: /* 801B0C6C 001ADBCC 81 84 00 00 */ lwz r12, 0(r4) /* 801B0C70 001ADBD0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801B0C74 001ADBD4 7D 89 03 A6 */ mtctr r12 /* 801B0C78 001ADBD8 4E 80 04 21 */ bctrl /* 801B0C7C 001ADBDC C0 21 00 20 */ lfs f1, 0x20(r1) /* 801B0C80 001ADBE0 38 61 00 28 */ addi r3, r1, 0x28 /* 801B0C84 001ADBE4 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801B0C88 001ADBE8 C0 61 00 24 */ lfs f3, 0x24(r1) /* 801B0C8C 001ADBEC C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801B0C90 001ADBF0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801B0C94 001ADBF4 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801B0C98 001ADBF8 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801B0C9C 001ADBFC EC 43 10 28 */ fsubs f2, f3, f2 /* 801B0CA0 001ADC00 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801B0CA4 001ADC04 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B0CA8 001ADC08 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801B0CAC 001ADC0C D0 01 00 28 */ stfs f0, 0x28(r1) /* 801B0CB0 001ADC10 48 16 3A 49 */ bl CanBeNormalized__9CVector3fCFv /* 801B0CB4 001ADC14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B0CB8 001ADC18 41 82 00 6C */ beq lbl_801B0D24 /* 801B0CBC 001ADC1C 38 61 00 10 */ addi r3, r1, 0x10 /* 801B0CC0 001ADC20 38 81 00 28 */ addi r4, r1, 0x28 /* 801B0CC4 001ADC24 48 16 3B 8D */ bl AsNormalized__9CVector3fCFv /* 801B0CC8 001ADC28 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B0CCC 001ADC2C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801B0CD0 001ADC30 C0 61 00 10 */ lfs f3, 0x10(r1) /* 801B0CD4 001ADC34 38 81 00 34 */ addi r4, r1, 0x34 /* 801B0CD8 001ADC38 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801B0CDC 001ADC3C C0 A3 00 04 */ lfs f5, 4(r3) /* 801B0CE0 001ADC40 C0 83 00 08 */ lfs f4, 8(r3) /* 801B0CE4 001ADC44 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801B0CE8 001ADC48 C0 02 A8 DC */ lfs f0, lbl_805AC5FC@sda21(r2) /* 801B0CEC 001ADC4C D0 C1 00 34 */ stfs f6, 0x34(r1) /* 801B0CF0 001ADC50 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801B0CF4 001ADC54 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801B0CF8 001ADC58 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801B0CFC 001ADC5C D0 41 00 44 */ stfs f2, 0x44(r1) /* 801B0D00 001ADC60 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801B0D04 001ADC64 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801B0D08 001ADC68 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B0D0C 001ADC6C 38 63 00 04 */ addi r3, r3, 4 /* 801B0D10 001ADC70 4B F8 0A 09 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801B0D14 001ADC74 48 00 00 10 */ b lbl_801B0D24 lbl_801B0D18: /* 801B0D18 001ADC78 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801B0D1C 001ADC7C 38 80 00 00 */ li r4, 0 /* 801B0D20 001ADC80 4B FC 45 05 */ bl SetActive__13CBoneTrackingFb lbl_801B0D24: /* 801B0D24 001ADC84 80 01 00 64 */ lwz r0, 0x64(r1) /* 801B0D28 001ADC88 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801B0D2C 001ADC8C 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801B0D30 001ADC90 7C 08 03 A6 */ mtlr r0 /* 801B0D34 001ADC94 38 21 00 60 */ addi r1, r1, 0x60 /* 801B0D38 001ADC98 4E 80 00 20 */ blr .global Suck__9CFlaahgraFR13CStateManager9EStateMsgf Suck__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B0D3C 001ADC9C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B0D40 001ADCA0 7C 08 02 A6 */ mflr r0 /* 801B0D44 001ADCA4 2C 05 00 01 */ cmpwi r5, 1 /* 801B0D48 001ADCA8 90 01 00 44 */ stw r0, 0x44(r1) /* 801B0D4C 001ADCAC 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801B0D50 001ADCB0 7C 9F 23 78 */ mr r31, r4 /* 801B0D54 001ADCB4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801B0D58 001ADCB8 7C 7E 1B 78 */ mr r30, r3 /* 801B0D5C 001ADCBC 41 82 01 08 */ beq lbl_801B0E64 /* 801B0D60 001ADCC0 40 80 00 10 */ bge lbl_801B0D70 /* 801B0D64 001ADCC4 2C 05 00 00 */ cmpwi r5, 0 /* 801B0D68 001ADCC8 40 80 00 14 */ bge lbl_801B0D7C /* 801B0D6C 001ADCCC 48 00 02 34 */ b lbl_801B0FA0 lbl_801B0D70: /* 801B0D70 001ADCD0 2C 05 00 03 */ cmpwi r5, 3 /* 801B0D74 001ADCD4 40 80 02 2C */ bge lbl_801B0FA0 /* 801B0D78 001ADCD8 48 00 01 F4 */ b lbl_801B0F6C lbl_801B0D7C: /* 801B0D7C 001ADCDC 39 60 00 00 */ li r11, 0 /* 801B0D80 001ADCE0 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801B0D84 001ADCE4 91 7E 05 68 */ stw r11, 0x568(r30) /* 801B0D88 001ADCE8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801B0D8C 001ADCEC 39 44 AA 68 */ addi r10, r4, lbl_803DAA68@l /* 801B0D90 001ADCF0 51 65 F8 00 */ rlwimi r5, r11, 0x1f, 0, 0 /* 801B0D94 001ADCF4 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B0D98 001ADCF8 51 60 2E B4 */ rlwimi r0, r11, 5, 0x1a, 0x1a /* 801B0D9C 001ADCFC 3C 80 80 3E */ lis r4, lbl_803DA9F0@ha /* 801B0DA0 001ADD00 39 20 00 0E */ li r9, 0xe /* 801B0DA4 001ADD04 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801B0DA8 001ADD08 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B0DAC 001ADD0C 7C A0 2B 78 */ mr r0, r5 /* 801B0DB0 001ADD10 38 E0 00 02 */ li r7, 2 /* 801B0DB4 001ADD14 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801B0DB8 001ADD18 38 C0 FF FF */ li r6, -1 /* 801B0DBC 001ADD1C 39 04 A9 F0 */ addi r8, r4, lbl_803DA9F0@l /* 801B0DC0 001ADD20 91 41 00 14 */ stw r10, 0x14(r1) /* 801B0DC4 001ADD24 C0 23 00 04 */ lfs f1, 4(r3) /* 801B0DC8 001ADD28 51 60 F0 42 */ rlwimi r0, r11, 0x1e, 1, 1 /* 801B0DCC 001ADD2C C0 03 00 08 */ lfs f0, 8(r3) /* 801B0DD0 001ADD30 38 80 00 0E */ li r4, 0xe /* 801B0DD4 001ADD34 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B0DD8 001ADD38 90 A1 00 30 */ stw r5, 0x30(r1) /* 801B0DDC 001ADD3C 3B E3 00 04 */ addi r31, r3, 4 /* 801B0DE0 001ADD40 91 21 00 18 */ stw r9, 0x18(r1) /* 801B0DE4 001ADD44 7F E3 FB 78 */ mr r3, r31 /* 801B0DE8 001ADD48 91 01 00 14 */ stw r8, 0x14(r1) /* 801B0DEC 001ADD4C 90 E1 00 1C */ stw r7, 0x1c(r1) /* 801B0DF0 001ADD50 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801B0DF4 001ADD54 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801B0DF8 001ADD58 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801B0DFC 001ADD5C 90 C1 00 2C */ stw r6, 0x2c(r1) /* 801B0E00 001ADD60 90 01 00 30 */ stw r0, 0x30(r1) /* 801B0E04 001ADD64 4B F8 06 35 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B0E08 001ADD68 80 81 00 18 */ lwz r4, 0x18(r1) /* 801B0E0C 001ADD6C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801B0E10 001ADD70 38 03 A9 F0 */ addi r0, r3, lbl_803DA9F0@l /* 801B0E14 001ADD74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0E18 001ADD78 90 9F 01 90 */ stw r4, 0x190(r31) /* 801B0E1C 001ADD7C 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801B0E20 001ADD80 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801B0E24 001ADD84 80 81 00 20 */ lwz r4, 0x20(r1) /* 801B0E28 001ADD88 90 BF 01 94 */ stw r5, 0x194(r31) /* 801B0E2C 001ADD8C 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801B0E30 001ADD90 90 9F 01 98 */ stw r4, 0x198(r31) /* 801B0E34 001ADD94 80 81 00 28 */ lwz r4, 0x28(r1) /* 801B0E38 001ADD98 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801B0E3C 001ADD9C 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801B0E40 001ADDA0 90 9F 01 A0 */ stw r4, 0x1a0(r31) /* 801B0E44 001ADDA4 80 81 00 30 */ lwz r4, 0x30(r1) /* 801B0E48 001ADDA8 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801B0E4C 001ADDAC 90 9F 01 A8 */ stw r4, 0x1a8(r31) /* 801B0E50 001ADDB0 90 01 00 14 */ stw r0, 0x14(r1) /* 801B0E54 001ADDB4 80 1E 07 80 */ lwz r0, 0x780(r30) /* 801B0E58 001ADDB8 90 61 00 14 */ stw r3, 0x14(r1) /* 801B0E5C 001ADDBC 90 1E 07 84 */ stw r0, 0x784(r30) /* 801B0E60 001ADDC0 48 00 01 40 */ b lbl_801B0FA0 lbl_801B0E64: /* 801B0E64 001ADDC4 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801B0E68 001ADDC8 2C 00 00 01 */ cmpwi r0, 1 /* 801B0E6C 001ADDCC 41 82 01 34 */ beq lbl_801B0FA0 /* 801B0E70 001ADDD0 40 80 00 10 */ bge lbl_801B0E80 /* 801B0E74 001ADDD4 2C 00 00 00 */ cmpwi r0, 0 /* 801B0E78 001ADDD8 40 80 00 14 */ bge lbl_801B0E8C /* 801B0E7C 001ADDDC 48 00 01 24 */ b lbl_801B0FA0 lbl_801B0E80: /* 801B0E80 001ADDE0 2C 00 00 03 */ cmpwi r0, 3 /* 801B0E84 001ADDE4 40 80 01 1C */ bge lbl_801B0FA0 /* 801B0E88 001ADDE8 48 00 00 80 */ b lbl_801B0F08 lbl_801B0E8C: /* 801B0E8C 001ADDEC 80 9E 04 50 */ lwz r4, 0x450(r30) /* 801B0E90 001ADDF0 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B0E94 001ADDF4 2C 00 00 01 */ cmpwi r0, 1 /* 801B0E98 001ADDF8 40 82 00 10 */ bne lbl_801B0EA8 /* 801B0E9C 001ADDFC 38 00 00 02 */ li r0, 2 /* 801B0EA0 001ADE00 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B0EA4 001ADE04 48 00 00 FC */ b lbl_801B0FA0 lbl_801B0EA8: /* 801B0EA8 001ADE08 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0EAC 001ADE0C 38 A0 00 00 */ li r5, 0 /* 801B0EB0 001ADE10 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0EB4 001ADE14 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801B0EB8 001ADE18 90 01 00 08 */ stw r0, 8(r1) /* 801B0EBC 001ADE1C 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 801B0EC0 001ADE20 3B C4 00 04 */ addi r30, r4, 4 /* 801B0EC4 001ADE24 38 80 00 00 */ li r4, 0 /* 801B0EC8 001ADE28 90 A1 00 0C */ stw r5, 0xc(r1) /* 801B0ECC 001ADE2C 7F C3 F3 78 */ mr r3, r30 /* 801B0ED0 001ADE30 90 01 00 08 */ stw r0, 8(r1) /* 801B0ED4 001ADE34 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B0ED8 001ADE38 4B F8 05 61 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B0EDC 001ADE3C 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B0EE0 001ADE40 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801B0EE4 001ADE44 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 801B0EE8 001ADE48 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B0EEC 001ADE4C 90 1E 00 BC */ stw r0, 0xbc(r30) /* 801B0EF0 001ADE50 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B0EF4 001ADE54 80 61 00 10 */ lwz r3, 0x10(r1) /* 801B0EF8 001ADE58 90 81 00 08 */ stw r4, 8(r1) /* 801B0EFC 001ADE5C 90 7E 00 C0 */ stw r3, 0xc0(r30) /* 801B0F00 001ADE60 90 01 00 08 */ stw r0, 8(r1) /* 801B0F04 001ADE64 48 00 00 9C */ b lbl_801B0FA0 lbl_801B0F08: /* 801B0F08 001ADE68 80 9E 04 50 */ lwz r4, 0x450(r30) /* 801B0F0C 001ADE6C 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B0F10 001ADE70 2C 00 00 01 */ cmpwi r0, 1 /* 801B0F14 001ADE74 41 82 00 10 */ beq lbl_801B0F24 /* 801B0F18 001ADE78 38 00 00 04 */ li r0, 4 /* 801B0F1C 001ADE7C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B0F20 001ADE80 48 00 00 80 */ b lbl_801B0FA0 lbl_801B0F24: /* 801B0F24 001ADE84 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B0F28 001ADE88 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801B0F2C 001ADE8C 41 82 00 74 */ beq lbl_801B0FA0 /* 801B0F30 001ADE90 4B FF D9 95 */ bl sub_801ae8c4 /* 801B0F34 001ADE94 C0 5E 07 C4 */ lfs f2, 0x7c4(r30) /* 801B0F38 001ADE98 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B0F3C 001ADE9C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801B0F40 001ADEA0 40 81 00 14 */ ble lbl_801B0F54 /* 801B0F44 001ADEA4 EC 01 10 24 */ fdivs f0, f1, f2 /* 801B0F48 001ADEA8 C0 22 A8 DC */ lfs f1, lbl_805AC5FC@sda21(r2) /* 801B0F4C 001ADEAC EC 21 00 28 */ fsubs f1, f1, f0 /* 801B0F50 001ADEB0 48 00 00 08 */ b lbl_801B0F58 lbl_801B0F54: /* 801B0F54 001ADEB4 C0 22 A8 DC */ lfs f1, lbl_805AC5FC@sda21(r2) lbl_801B0F58: /* 801B0F58 001ADEB8 C0 5E 05 70 */ lfs f2, 0x570(r30) /* 801B0F5C 001ADEBC 7F C3 F3 78 */ mr r3, r30 /* 801B0F60 001ADEC0 C0 7E 05 6C */ lfs f3, 0x56c(r30) /* 801B0F64 001ADEC4 4B FF D9 E9 */ bl sub_801ae94c /* 801B0F68 001ADEC8 48 00 00 38 */ b lbl_801B0FA0 lbl_801B0F6C: /* 801B0F6C 001ADECC 88 7E 08 E4 */ lbz r3, 0x8e4(r30) /* 801B0F70 001ADED0 38 00 00 00 */ li r0, 0 /* 801B0F74 001ADED4 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a /* 801B0F78 001ADED8 38 00 00 02 */ li r0, 2 /* 801B0F7C 001ADEDC 98 7E 08 E4 */ stb r3, 0x8e4(r30) /* 801B0F80 001ADEE0 38 A0 00 00 */ li r5, 0 /* 801B0F84 001ADEE4 90 1E 07 80 */ stw r0, 0x780(r30) /* 801B0F88 001ADEE8 80 7E 07 9C */ lwz r3, 0x79c(r30) /* 801B0F8C 001ADEEC 4B FF 63 6D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B0F90 001ADEF0 80 7E 07 A0 */ lwz r3, 0x7a0(r30) /* 801B0F94 001ADEF4 7F E4 FB 78 */ mr r4, r31 /* 801B0F98 001ADEF8 38 A0 00 00 */ li r5, 0 /* 801B0F9C 001ADEFC 4B FF 63 5D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb lbl_801B0FA0: /* 801B0FA0 001ADF00 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B0FA4 001ADF04 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801B0FA8 001ADF08 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801B0FAC 001ADF0C 7C 08 03 A6 */ mtlr r0 /* 801B0FB0 001ADF10 38 21 00 40 */ addi r1, r1, 0x40 /* 801B0FB4 001ADF14 4E 80 00 20 */ blr .global GetUp__9CFlaahgraFR13CStateManager9EStateMsgf GetUp__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B0FB8 001ADF18 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B0FBC 001ADF1C 7C 08 02 A6 */ mflr r0 /* 801B0FC0 001ADF20 2C 05 00 01 */ cmpwi r5, 1 /* 801B0FC4 001ADF24 90 01 00 24 */ stw r0, 0x24(r1) /* 801B0FC8 001ADF28 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B0FCC 001ADF2C 7C 9F 23 78 */ mr r31, r4 /* 801B0FD0 001ADF30 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B0FD4 001ADF34 7C 7E 1B 78 */ mr r30, r3 /* 801B0FD8 001ADF38 41 82 00 44 */ beq lbl_801B101C /* 801B0FDC 001ADF3C 40 80 00 10 */ bge lbl_801B0FEC /* 801B0FE0 001ADF40 2C 05 00 00 */ cmpwi r5, 0 /* 801B0FE4 001ADF44 40 80 00 14 */ bge lbl_801B0FF8 /* 801B0FE8 001ADF48 48 00 01 C4 */ b lbl_801B11AC lbl_801B0FEC: /* 801B0FEC 001ADF4C 2C 05 00 03 */ cmpwi r5, 3 /* 801B0FF0 001ADF50 40 80 01 BC */ bge lbl_801B11AC /* 801B0FF4 001ADF54 48 00 01 40 */ b lbl_801B1134 lbl_801B0FF8: /* 801B0FF8 001ADF58 38 00 00 00 */ li r0, 0 /* 801B0FFC 001ADF5C 38 60 00 01 */ li r3, 1 /* 801B1000 001ADF60 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B1004 001ADF64 80 1E 07 80 */ lwz r0, 0x780(r30) /* 801B1008 001ADF68 90 1E 07 84 */ stw r0, 0x784(r30) /* 801B100C 001ADF6C 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1010 001ADF70 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801B1014 001ADF74 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801B1018 001ADF78 48 00 01 94 */ b lbl_801B11AC lbl_801B101C: /* 801B101C 001ADF7C 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801B1020 001ADF80 2C 00 00 01 */ cmpwi r0, 1 /* 801B1024 001ADF84 41 82 01 88 */ beq lbl_801B11AC /* 801B1028 001ADF88 40 80 00 10 */ bge lbl_801B1038 /* 801B102C 001ADF8C 2C 00 00 00 */ cmpwi r0, 0 /* 801B1030 001ADF90 40 80 00 14 */ bge lbl_801B1044 /* 801B1034 001ADF94 48 00 01 78 */ b lbl_801B11AC lbl_801B1038: /* 801B1038 001ADF98 2C 00 00 03 */ cmpwi r0, 3 /* 801B103C 001ADF9C 40 80 01 70 */ bge lbl_801B11AC /* 801B1040 001ADFA0 48 00 00 D8 */ b lbl_801B1118 lbl_801B1044: /* 801B1044 001ADFA4 80 DE 04 50 */ lwz r6, 0x450(r30) /* 801B1048 001ADFA8 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801B104C 001ADFAC 2C 00 00 01 */ cmpwi r0, 1 /* 801B1050 001ADFB0 40 82 00 58 */ bne lbl_801B10A8 /* 801B1054 001ADFB4 38 00 00 02 */ li r0, 2 /* 801B1058 001ADFB8 38 80 FF FF */ li r4, -1 /* 801B105C 001ADFBC 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B1060 001ADFC0 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1064 001ADFC4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801B1068 001ADFC8 40 82 00 08 */ bne lbl_801B1070 /* 801B106C 001ADFCC 38 80 00 04 */ li r4, 4 lbl_801B1070: /* 801B1070 001ADFD0 3C 60 80 57 */ lis r3, lbl_8057203C@ha /* 801B1074 001ADFD4 90 9E 07 A8 */ stw r4, 0x7a8(r30) /* 801B1078 001ADFD8 38 C3 20 3C */ addi r6, r3, lbl_8057203C@l /* 801B107C 001ADFDC 7F E4 FB 78 */ mr r4, r31 /* 801B1080 001ADFE0 7F C3 F3 78 */ mr r3, r30 /* 801B1084 001ADFE4 38 BE 07 9C */ addi r5, r30, 0x79c /* 801B1088 001ADFE8 4B FF D3 01 */ bl sub_801ae388 /* 801B108C 001ADFEC 3C 80 80 57 */ lis r4, lbl_8057203C@ha /* 801B1090 001ADFF0 7F C3 F3 78 */ mr r3, r30 /* 801B1094 001ADFF4 38 C4 20 3C */ addi r6, r4, lbl_8057203C@l /* 801B1098 001ADFF8 38 BE 07 A0 */ addi r5, r30, 0x7a0 /* 801B109C 001ADFFC 7F E4 FB 78 */ mr r4, r31 /* 801B10A0 001AE000 4B FF D2 E9 */ bl sub_801ae388 /* 801B10A4 001AE004 48 00 01 08 */ b lbl_801B11AC lbl_801B10A8: /* 801B10A8 001AE008 88 9E 08 E4 */ lbz r4, 0x8e4(r30) /* 801B10AC 001AE00C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B10B0 001AE010 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B10B4 001AE014 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801B10B8 001AE018 54 85 F7 FE */ rlwinm r5, r4, 0x1e, 0x1f, 0x1f /* 801B10BC 001AE01C 38 80 00 00 */ li r4, 0 /* 801B10C0 001AE020 7C A5 00 34 */ cntlzw r5, r5 /* 801B10C4 001AE024 90 01 00 08 */ stw r0, 8(r1) /* 801B10C8 001AE028 54 A5 D9 7E */ srwi r5, r5, 5 /* 801B10CC 001AE02C 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 801B10D0 001AE030 3B C6 00 04 */ addi r30, r6, 4 /* 801B10D4 001AE034 90 81 00 0C */ stw r4, 0xc(r1) /* 801B10D8 001AE038 7F C3 F3 78 */ mr r3, r30 /* 801B10DC 001AE03C 38 80 00 00 */ li r4, 0 /* 801B10E0 001AE040 90 01 00 08 */ stw r0, 8(r1) /* 801B10E4 001AE044 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B10E8 001AE048 4B F8 03 51 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B10EC 001AE04C 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B10F0 001AE050 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801B10F4 001AE054 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 801B10F8 001AE058 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B10FC 001AE05C 90 1E 00 BC */ stw r0, 0xbc(r30) /* 801B1100 001AE060 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B1104 001AE064 80 61 00 10 */ lwz r3, 0x10(r1) /* 801B1108 001AE068 90 81 00 08 */ stw r4, 8(r1) /* 801B110C 001AE06C 90 7E 00 C0 */ stw r3, 0xc0(r30) /* 801B1110 001AE070 90 01 00 08 */ stw r0, 8(r1) /* 801B1114 001AE074 48 00 00 98 */ b lbl_801B11AC lbl_801B1118: /* 801B1118 001AE078 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B111C 001AE07C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801B1120 001AE080 2C 00 00 01 */ cmpwi r0, 1 /* 801B1124 001AE084 41 82 00 88 */ beq lbl_801B11AC /* 801B1128 001AE088 38 00 00 04 */ li r0, 4 /* 801B112C 001AE08C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B1130 001AE090 48 00 00 7C */ b lbl_801B11AC lbl_801B1134: /* 801B1134 001AE094 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1138 001AE098 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801B113C 001AE09C 41 82 00 0C */ beq lbl_801B1148 /* 801B1140 001AE0A0 C0 02 A9 0C */ lfs f0, lbl_805AC62C@sda21(r2) /* 801B1144 001AE0A4 48 00 00 08 */ b lbl_801B114C lbl_801B1148: /* 801B1148 001AE0A8 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) lbl_801B114C: /* 801B114C 001AE0AC D0 1E 07 C0 */ stfs f0, 0x7c0(r30) /* 801B1150 001AE0B0 38 00 FF FF */ li r0, -1 /* 801B1154 001AE0B4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B1158 001AE0B8 38 E0 00 00 */ li r7, 0 /* 801B115C 001AE0BC 90 1E 07 A8 */ stw r0, 0x7a8(r30) /* 801B1160 001AE0C0 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801B1164 001AE0C4 7F C3 F3 78 */ mr r3, r30 /* 801B1168 001AE0C8 7F E4 FB 78 */ mr r4, r31 /* 801B116C 001AE0CC 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1170 001AE0D0 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c /* 801B1174 001AE0D4 38 BE 07 9C */ addi r5, r30, 0x79c /* 801B1178 001AE0D8 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801B117C 001AE0DC 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1180 001AE0E0 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d /* 801B1184 001AE0E4 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801B1188 001AE0E8 4B FF D2 01 */ bl sub_801ae388 /* 801B118C 001AE0EC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B1190 001AE0F0 7F C3 F3 78 */ mr r3, r30 /* 801B1194 001AE0F4 38 C4 66 A0 */ addi r6, r4, skZero3f@l /* 801B1198 001AE0F8 38 BE 07 A0 */ addi r5, r30, 0x7a0 /* 801B119C 001AE0FC 7F E4 FB 78 */ mr r4, r31 /* 801B11A0 001AE100 4B FF D1 E9 */ bl sub_801ae388 /* 801B11A4 001AE104 80 0D A4 98 */ lwz r0, lbl_805A9058@sda21(r13) /* 801B11A8 001AE108 90 1E 04 30 */ stw r0, 0x430(r30) lbl_801B11AC: /* 801B11AC 001AE10C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B11B0 001AE110 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B11B4 001AE114 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B11B8 001AE118 7C 08 03 A6 */ mtlr r0 /* 801B11BC 001AE11C 38 21 00 20 */ addi r1, r1, 0x20 /* 801B11C0 001AE120 4E 80 00 20 */ blr .global Faint__9CFlaahgraFR13CStateManager9EStateMsgf Faint__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B11C4 001AE124 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B11C8 001AE128 7C 08 02 A6 */ mflr r0 /* 801B11CC 001AE12C 2C 05 00 01 */ cmpwi r5, 1 /* 801B11D0 001AE130 90 01 00 44 */ stw r0, 0x44(r1) /* 801B11D4 001AE134 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801B11D8 001AE138 7C 7F 1B 78 */ mr r31, r3 /* 801B11DC 001AE13C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801B11E0 001AE140 7C 9E 23 78 */ mr r30, r4 /* 801B11E4 001AE144 41 82 01 14 */ beq lbl_801B12F8 /* 801B11E8 001AE148 40 80 00 10 */ bge lbl_801B11F8 /* 801B11EC 001AE14C 2C 05 00 00 */ cmpwi r5, 0 /* 801B11F0 001AE150 40 80 00 14 */ bge lbl_801B1204 /* 801B11F4 001AE154 48 00 02 80 */ b lbl_801B1474 lbl_801B11F8: /* 801B11F8 001AE158 2C 05 00 03 */ cmpwi r5, 3 /* 801B11FC 001AE15C 40 80 02 78 */ bge lbl_801B1474 /* 801B1200 001AE160 48 00 02 44 */ b lbl_801B1444 lbl_801B1204: /* 801B1204 001AE164 38 E0 00 00 */ li r7, 0 /* 801B1208 001AE168 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B120C 001AE16C 90 FF 05 68 */ stw r7, 0x568(r31) /* 801B1210 001AE170 7F C5 F3 78 */ mr r5, r30 /* 801B1214 001AE174 38 80 00 03 */ li r4, 3 /* 801B1218 001AE178 38 C0 FF FF */ li r6, -1 /* 801B121C 001AE17C D0 1F 07 D4 */ stfs f0, 0x7d4(r31) /* 801B1220 001AE180 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B1224 001AE184 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 801B1228 001AE188 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B122C 001AE18C 90 FF 07 F8 */ stw r7, 0x7f8(r31) /* 801B1230 001AE190 4B E9 FE 91 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801B1234 001AE194 7F E3 FB 78 */ mr r3, r31 /* 801B1238 001AE198 7F C5 F3 78 */ mr r5, r30 /* 801B123C 001AE19C 38 80 00 0C */ li r4, 0xc /* 801B1240 001AE1A0 38 C0 FF FF */ li r6, -1 /* 801B1244 001AE1A4 4B E9 FE 7D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801B1248 001AE1A8 80 9F 07 AC */ lwz r4, 0x7ac(r31) /* 801B124C 001AE1AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1250 001AE1B0 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 801B1254 001AE1B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B1258 001AE1B8 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801B125C 001AE1BC 54 84 10 3A */ slwi r4, r4, 2 /* 801B1260 001AE1C0 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801B1264 001AE1C4 FC 40 10 50 */ fneg f2, f2 /* 801B1268 001AE1C8 FC 20 08 50 */ fneg f1, f1 /* 801B126C 001AE1CC 38 62 A8 9C */ addi r3, r2, lbl_805AC5BC@sda21 /* 801B1270 001AE1D0 FC 00 00 50 */ fneg f0, f0 /* 801B1274 001AE1D4 7C C3 20 2E */ lwzx r6, r3, r4 /* 801B1278 001AE1D8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B127C 001AE1DC 3C 80 80 3E */ lis r4, lbl_803DAA50@ha /* 801B1280 001AE1E0 38 A0 00 03 */ li r5, 3 /* 801B1284 001AE1E4 3B E3 00 04 */ addi r31, r3, 4 /* 801B1288 001AE1E8 90 01 00 20 */ stw r0, 0x20(r1) /* 801B128C 001AE1EC 38 04 AA 50 */ addi r0, r4, lbl_803DAA50@l /* 801B1290 001AE1F0 7F E3 FB 78 */ mr r3, r31 /* 801B1294 001AE1F4 38 80 00 03 */ li r4, 3 /* 801B1298 001AE1F8 90 A1 00 24 */ stw r5, 0x24(r1) /* 801B129C 001AE1FC 90 01 00 20 */ stw r0, 0x20(r1) /* 801B12A0 001AE200 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801B12A4 001AE204 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801B12A8 001AE208 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801B12AC 001AE20C 90 C1 00 34 */ stw r6, 0x34(r1) /* 801B12B0 001AE210 4B F8 01 89 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B12B4 001AE214 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B12B8 001AE218 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 801B12BC 001AE21C 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l /* 801B12C0 001AE220 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B12C4 001AE224 90 1F 00 E0 */ stw r0, 0xe0(r31) /* 801B12C8 001AE228 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B12CC 001AE22C 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801B12D0 001AE230 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801B12D4 001AE234 90 BF 00 E4 */ stw r5, 0xe4(r31) /* 801B12D8 001AE238 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801B12DC 001AE23C 90 7F 00 E8 */ stw r3, 0xe8(r31) /* 801B12E0 001AE240 80 61 00 34 */ lwz r3, 0x34(r1) /* 801B12E4 001AE244 90 BF 00 EC */ stw r5, 0xec(r31) /* 801B12E8 001AE248 90 81 00 20 */ stw r4, 0x20(r1) /* 801B12EC 001AE24C 90 7F 00 F0 */ stw r3, 0xf0(r31) /* 801B12F0 001AE250 90 01 00 20 */ stw r0, 0x20(r1) /* 801B12F4 001AE254 48 00 01 80 */ b lbl_801B1474 lbl_801B12F8: /* 801B12F8 001AE258 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801B12FC 001AE25C 2C 00 00 01 */ cmpwi r0, 1 /* 801B1300 001AE260 41 82 01 74 */ beq lbl_801B1474 /* 801B1304 001AE264 40 80 00 10 */ bge lbl_801B1314 /* 801B1308 001AE268 2C 00 00 00 */ cmpwi r0, 0 /* 801B130C 001AE26C 40 80 00 14 */ bge lbl_801B1320 /* 801B1310 001AE270 48 00 01 64 */ b lbl_801B1474 lbl_801B1314: /* 801B1314 001AE274 2C 00 00 03 */ cmpwi r0, 3 /* 801B1318 001AE278 40 80 01 5C */ bge lbl_801B1474 /* 801B131C 001AE27C 48 00 00 E0 */ b lbl_801B13FC lbl_801B1320: /* 801B1320 001AE280 80 DF 04 50 */ lwz r6, 0x450(r31) /* 801B1324 001AE284 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801B1328 001AE288 2C 00 00 00 */ cmpwi r0, 0 /* 801B132C 001AE28C 40 82 00 24 */ bne lbl_801B1350 /* 801B1330 001AE290 38 00 00 02 */ li r0, 2 /* 801B1334 001AE294 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B1338 001AE298 4B FF CB 49 */ bl sub_801ade80 /* 801B133C 001AE29C 7F E3 FB 78 */ mr r3, r31 /* 801B1340 001AE2A0 7F C4 F3 78 */ mr r4, r30 /* 801B1344 001AE2A4 38 A0 00 01 */ li r5, 1 /* 801B1348 001AE2A8 4B FF DC 6D */ bl sub_801aefb4 /* 801B134C 001AE2AC 48 00 01 28 */ b lbl_801B1474 lbl_801B1350: /* 801B1350 001AE2B0 80 9F 07 AC */ lwz r4, 0x7ac(r31) /* 801B1354 001AE2B4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1358 001AE2B8 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 801B135C 001AE2BC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B1360 001AE2C0 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801B1364 001AE2C4 54 84 10 3A */ slwi r4, r4, 2 /* 801B1368 001AE2C8 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801B136C 001AE2CC FC 40 10 50 */ fneg f2, f2 /* 801B1370 001AE2D0 FC 20 08 50 */ fneg f1, f1 /* 801B1374 001AE2D4 38 62 A8 9C */ addi r3, r2, lbl_805AC5BC@sda21 /* 801B1378 001AE2D8 FC 00 00 50 */ fneg f0, f0 /* 801B137C 001AE2DC 7C E3 20 2E */ lwzx r7, r3, r4 /* 801B1380 001AE2E0 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 801B1384 001AE2E4 38 A0 00 03 */ li r5, 3 /* 801B1388 001AE2E8 3B E6 00 04 */ addi r31, r6, 4 /* 801B138C 001AE2EC 90 01 00 08 */ stw r0, 8(r1) /* 801B1390 001AE2F0 38 03 AA 50 */ addi r0, r3, lbl_803DAA50@l /* 801B1394 001AE2F4 38 80 00 03 */ li r4, 3 /* 801B1398 001AE2F8 90 A1 00 0C */ stw r5, 0xc(r1) /* 801B139C 001AE2FC 7F E3 FB 78 */ mr r3, r31 /* 801B13A0 001AE300 90 01 00 08 */ stw r0, 8(r1) /* 801B13A4 001AE304 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801B13A8 001AE308 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801B13AC 001AE30C D0 41 00 18 */ stfs f2, 0x18(r1) /* 801B13B0 001AE310 90 E1 00 1C */ stw r7, 0x1c(r1) /* 801B13B4 001AE314 4B F8 00 85 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B13B8 001AE318 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B13BC 001AE31C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 801B13C0 001AE320 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l /* 801B13C4 001AE324 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B13C8 001AE328 90 1F 00 E0 */ stw r0, 0xe0(r31) /* 801B13CC 001AE32C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B13D0 001AE330 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801B13D4 001AE334 80 61 00 14 */ lwz r3, 0x14(r1) /* 801B13D8 001AE338 90 BF 00 E4 */ stw r5, 0xe4(r31) /* 801B13DC 001AE33C 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801B13E0 001AE340 90 7F 00 E8 */ stw r3, 0xe8(r31) /* 801B13E4 001AE344 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801B13E8 001AE348 90 BF 00 EC */ stw r5, 0xec(r31) /* 801B13EC 001AE34C 90 81 00 08 */ stw r4, 8(r1) /* 801B13F0 001AE350 90 7F 00 F0 */ stw r3, 0xf0(r31) /* 801B13F4 001AE354 90 01 00 08 */ stw r0, 8(r1) /* 801B13F8 001AE358 48 00 00 7C */ b lbl_801B1474 lbl_801B13FC: /* 801B13FC 001AE35C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B1400 001AE360 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801B1404 001AE364 2C 00 00 02 */ cmpwi r0, 2 /* 801B1408 001AE368 40 82 00 30 */ bne lbl_801B1438 /* 801B140C 001AE36C C0 1F 07 D4 */ lfs f0, 0x7d4(r31) /* 801B1410 001AE370 EC 00 08 2A */ fadds f0, f0, f1 /* 801B1414 001AE374 D0 1F 07 D4 */ stfs f0, 0x7d4(r31) /* 801B1418 001AE378 C0 3F 07 D4 */ lfs f1, 0x7d4(r31) /* 801B141C 001AE37C C0 1F 05 78 */ lfs f0, 0x578(r31) /* 801B1420 001AE380 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1424 001AE384 4C 41 13 82 */ cror 2, 1, 2 /* 801B1428 001AE388 40 82 00 4C */ bne lbl_801B1474 /* 801B142C 001AE38C 38 00 00 04 */ li r0, 4 /* 801B1430 001AE390 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B1434 001AE394 48 00 00 40 */ b lbl_801B1474 lbl_801B1438: /* 801B1438 001AE398 38 9F 08 94 */ addi r4, r31, 0x894 /* 801B143C 001AE39C 4B F8 92 69 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff /* 801B1440 001AE3A0 48 00 00 34 */ b lbl_801B1474 lbl_801B1444: /* 801B1444 001AE3A4 88 BF 08 E4 */ lbz r5, 0x8e4(r31) /* 801B1448 001AE3A8 38 00 00 00 */ li r0, 0 /* 801B144C 001AE3AC 50 05 26 F6 */ rlwimi r5, r0, 4, 0x1b, 0x1b /* 801B1450 001AE3B0 38 00 00 03 */ li r0, 3 /* 801B1454 001AE3B4 98 BF 08 E4 */ stb r5, 0x8e4(r31) /* 801B1458 001AE3B8 38 A0 00 00 */ li r5, 0 /* 801B145C 001AE3BC 80 DF 07 AC */ lwz r6, 0x7ac(r31) /* 801B1460 001AE3C0 7C C6 00 34 */ cntlzw r6, r6 /* 801B1464 001AE3C4 54 C6 D9 7E */ srwi r6, r6, 5 /* 801B1468 001AE3C8 90 DF 07 AC */ stw r6, 0x7ac(r31) /* 801B146C 001AE3CC 90 1F 07 80 */ stw r0, 0x780(r31) /* 801B1470 001AE3D0 4B FF DB 45 */ bl sub_801aefb4 lbl_801B1474: /* 801B1474 001AE3D4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B1478 001AE3D8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801B147C 001AE3DC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801B1480 001AE3E0 7C 08 03 A6 */ mtlr r0 /* 801B1484 001AE3E4 38 21 00 40 */ addi r1, r1, 0x40 /* 801B1488 001AE3E8 4E 80 00 20 */ blr .global Growth__9CFlaahgraFR13CStateManager9EStateMsgf Growth__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B148C 001AE3EC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801B1490 001AE3F0 7C 08 02 A6 */ mflr r0 /* 801B1494 001AE3F4 2C 05 00 01 */ cmpwi r5, 1 /* 801B1498 001AE3F8 90 01 00 64 */ stw r0, 0x64(r1) /* 801B149C 001AE3FC 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801B14A0 001AE400 7C 9F 23 78 */ mr r31, r4 /* 801B14A4 001AE404 93 C1 00 58 */ stw r30, 0x58(r1) /* 801B14A8 001AE408 7C 7E 1B 78 */ mr r30, r3 /* 801B14AC 001AE40C 41 82 01 28 */ beq lbl_801B15D4 /* 801B14B0 001AE410 40 80 00 10 */ bge lbl_801B14C0 /* 801B14B4 001AE414 2C 05 00 00 */ cmpwi r5, 0 /* 801B14B8 001AE418 40 80 00 14 */ bge lbl_801B14CC /* 801B14BC 001AE41C 48 00 03 28 */ b lbl_801B17E4 lbl_801B14C0: /* 801B14C0 001AE420 2C 05 00 03 */ cmpwi r5, 3 /* 801B14C4 001AE424 40 80 03 20 */ bge lbl_801B17E4 /* 801B14C8 001AE428 48 00 02 BC */ b lbl_801B1784 lbl_801B14CC: /* 801B14CC 001AE42C 39 60 00 00 */ li r11, 0 /* 801B14D0 001AE430 80 A1 00 50 */ lwz r5, 0x50(r1) /* 801B14D4 001AE434 91 7E 05 68 */ stw r11, 0x568(r30) /* 801B14D8 001AE438 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801B14DC 001AE43C 39 44 AA 68 */ addi r10, r4, lbl_803DAA68@l /* 801B14E0 001AE440 51 65 F8 00 */ rlwimi r5, r11, 0x1f, 0, 0 /* 801B14E4 001AE444 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B14E8 001AE448 51 60 2E B4 */ rlwimi r0, r11, 5, 0x1a, 0x1a /* 801B14EC 001AE44C 3C 80 80 3E */ lis r4, lbl_803DA9F0@ha /* 801B14F0 001AE450 39 20 00 0E */ li r9, 0xe /* 801B14F4 001AE454 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801B14F8 001AE458 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B14FC 001AE45C 7C A0 2B 78 */ mr r0, r5 /* 801B1500 001AE460 38 E0 00 02 */ li r7, 2 /* 801B1504 001AE464 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801B1508 001AE468 38 C0 FF FF */ li r6, -1 /* 801B150C 001AE46C 39 04 A9 F0 */ addi r8, r4, lbl_803DA9F0@l /* 801B1510 001AE470 91 41 00 34 */ stw r10, 0x34(r1) /* 801B1514 001AE474 C0 23 00 04 */ lfs f1, 4(r3) /* 801B1518 001AE478 51 60 F0 42 */ rlwimi r0, r11, 0x1e, 1, 1 /* 801B151C 001AE47C C0 03 00 08 */ lfs f0, 8(r3) /* 801B1520 001AE480 38 80 00 0E */ li r4, 0xe /* 801B1524 001AE484 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B1528 001AE488 90 A1 00 50 */ stw r5, 0x50(r1) /* 801B152C 001AE48C 3B E3 00 04 */ addi r31, r3, 4 /* 801B1530 001AE490 91 21 00 38 */ stw r9, 0x38(r1) /* 801B1534 001AE494 7F E3 FB 78 */ mr r3, r31 /* 801B1538 001AE498 91 01 00 34 */ stw r8, 0x34(r1) /* 801B153C 001AE49C 90 E1 00 3C */ stw r7, 0x3c(r1) /* 801B1540 001AE4A0 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801B1544 001AE4A4 D0 21 00 44 */ stfs f1, 0x44(r1) /* 801B1548 001AE4A8 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801B154C 001AE4AC 90 C1 00 4C */ stw r6, 0x4c(r1) /* 801B1550 001AE4B0 90 01 00 50 */ stw r0, 0x50(r1) /* 801B1554 001AE4B4 4B F7 FE E5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B1558 001AE4B8 80 01 00 38 */ lwz r0, 0x38(r1) /* 801B155C 001AE4BC 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801B1560 001AE4C0 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801B1564 001AE4C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1568 001AE4C8 90 1F 01 90 */ stw r0, 0x190(r31) /* 801B156C 001AE4CC 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801B1570 001AE4D0 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 801B1574 001AE4D4 80 01 00 40 */ lwz r0, 0x40(r1) /* 801B1578 001AE4D8 90 BF 01 94 */ stw r5, 0x194(r31) /* 801B157C 001AE4DC 80 A1 00 44 */ lwz r5, 0x44(r1) /* 801B1580 001AE4E0 90 1F 01 98 */ stw r0, 0x198(r31) /* 801B1584 001AE4E4 80 01 00 48 */ lwz r0, 0x48(r1) /* 801B1588 001AE4E8 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801B158C 001AE4EC 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 801B1590 001AE4F0 90 1F 01 A0 */ stw r0, 0x1a0(r31) /* 801B1594 001AE4F4 80 01 00 50 */ lwz r0, 0x50(r1) /* 801B1598 001AE4F8 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801B159C 001AE4FC 90 1F 01 A8 */ stw r0, 0x1a8(r31) /* 801B15A0 001AE500 80 1E 07 80 */ lwz r0, 0x780(r30) /* 801B15A4 001AE504 90 81 00 34 */ stw r4, 0x34(r1) /* 801B15A8 001AE508 90 1E 07 84 */ stw r0, 0x784(r30) /* 801B15AC 001AE50C 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801B15B0 001AE510 90 61 00 34 */ stw r3, 0x34(r1) /* 801B15B4 001AE514 C0 44 00 00 */ lfs f2, 0(r4) /* 801B15B8 001AE518 C0 24 00 04 */ lfs f1, 4(r4) /* 801B15BC 001AE51C C0 04 00 08 */ lfs f0, 8(r4) /* 801B15C0 001AE520 D0 41 00 08 */ stfs f2, 8(r1) /* 801B15C4 001AE524 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801B15C8 001AE528 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801B15CC 001AE52C D0 1E 08 1C */ stfs f0, 0x81c(r30) /* 801B15D0 001AE530 48 00 02 14 */ b lbl_801B17E4 lbl_801B15D4: /* 801B15D4 001AE534 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801B15D8 001AE538 2C 00 00 01 */ cmpwi r0, 1 /* 801B15DC 001AE53C 41 82 02 08 */ beq lbl_801B17E4 /* 801B15E0 001AE540 40 80 00 10 */ bge lbl_801B15F0 /* 801B15E4 001AE544 2C 00 00 00 */ cmpwi r0, 0 /* 801B15E8 001AE548 40 80 00 14 */ bge lbl_801B15FC /* 801B15EC 001AE54C 48 00 01 F8 */ b lbl_801B17E4 lbl_801B15F0: /* 801B15F0 001AE550 2C 00 00 03 */ cmpwi r0, 3 /* 801B15F4 001AE554 40 80 01 F0 */ bge lbl_801B17E4 /* 801B15F8 001AE558 48 00 00 F0 */ b lbl_801B16E8 lbl_801B15FC: /* 801B15FC 001AE55C 81 5E 04 50 */ lwz r10, 0x450(r30) /* 801B1600 001AE560 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 801B1604 001AE564 2C 00 00 0C */ cmpwi r0, 0xc /* 801B1608 001AE568 40 82 00 10 */ bne lbl_801B1618 /* 801B160C 001AE56C 38 00 00 02 */ li r0, 2 /* 801B1610 001AE570 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B1614 001AE574 48 00 01 D0 */ b lbl_801B17E4 lbl_801B1618: /* 801B1618 001AE578 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801B161C 001AE57C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B1620 001AE580 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801B1624 001AE584 80 81 00 30 */ lwz r4, 0x30(r1) /* 801B1628 001AE588 38 60 00 00 */ li r3, 0 /* 801B162C 001AE58C 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 801B1630 001AE590 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 801B1634 001AE594 C0 45 00 00 */ lfs f2, 0(r5) /* 801B1638 001AE598 C0 25 00 04 */ lfs f1, 4(r5) /* 801B163C 001AE59C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 801B1640 001AE5A0 C0 05 00 08 */ lfs f0, 8(r5) /* 801B1644 001AE5A4 7C 80 23 78 */ mr r0, r4 /* 801B1648 001AE5A8 39 00 00 0E */ li r8, 0xe /* 801B164C 001AE5AC 38 C0 00 02 */ li r6, 2 /* 801B1650 001AE5B0 38 A0 FF FF */ li r5, -1 /* 801B1654 001AE5B4 3B EA 00 04 */ addi r31, r10, 4 /* 801B1658 001AE5B8 91 21 00 14 */ stw r9, 0x14(r1) /* 801B165C 001AE5BC 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 801B1660 001AE5C0 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 801B1664 001AE5C4 7F E3 FB 78 */ mr r3, r31 /* 801B1668 001AE5C8 90 81 00 30 */ stw r4, 0x30(r1) /* 801B166C 001AE5CC 38 80 00 0E */ li r4, 0xe /* 801B1670 001AE5D0 91 01 00 18 */ stw r8, 0x18(r1) /* 801B1674 001AE5D4 90 E1 00 14 */ stw r7, 0x14(r1) /* 801B1678 001AE5D8 90 C1 00 1C */ stw r6, 0x1c(r1) /* 801B167C 001AE5DC D0 41 00 20 */ stfs f2, 0x20(r1) /* 801B1680 001AE5E0 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801B1684 001AE5E4 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801B1688 001AE5E8 90 A1 00 2C */ stw r5, 0x2c(r1) /* 801B168C 001AE5EC 90 01 00 30 */ stw r0, 0x30(r1) /* 801B1690 001AE5F0 4B F7 FD A9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B1694 001AE5F4 80 01 00 18 */ lwz r0, 0x18(r1) /* 801B1698 001AE5F8 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801B169C 001AE5FC 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801B16A0 001AE600 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B16A4 001AE604 90 1F 01 90 */ stw r0, 0x190(r31) /* 801B16A8 001AE608 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B16AC 001AE60C 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801B16B0 001AE610 80 61 00 20 */ lwz r3, 0x20(r1) /* 801B16B4 001AE614 90 BF 01 94 */ stw r5, 0x194(r31) /* 801B16B8 001AE618 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801B16BC 001AE61C 90 7F 01 98 */ stw r3, 0x198(r31) /* 801B16C0 001AE620 80 61 00 28 */ lwz r3, 0x28(r1) /* 801B16C4 001AE624 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801B16C8 001AE628 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801B16CC 001AE62C 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801B16D0 001AE630 80 61 00 30 */ lwz r3, 0x30(r1) /* 801B16D4 001AE634 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801B16D8 001AE638 90 81 00 14 */ stw r4, 0x14(r1) /* 801B16DC 001AE63C 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801B16E0 001AE640 90 01 00 14 */ stw r0, 0x14(r1) /* 801B16E4 001AE644 48 00 01 00 */ b lbl_801B17E4 lbl_801B16E8: /* 801B16E8 001AE648 80 9E 04 50 */ lwz r4, 0x450(r30) /* 801B16EC 001AE64C 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B16F0 001AE650 2C 00 00 0C */ cmpwi r0, 0xc /* 801B16F4 001AE654 41 82 00 10 */ beq lbl_801B1704 /* 801B16F8 001AE658 38 00 00 04 */ li r0, 4 /* 801B16FC 001AE65C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801B1700 001AE660 48 00 00 48 */ b lbl_801B1748 lbl_801B1704: /* 801B1704 001AE664 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1708 001AE668 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801B170C 001AE66C 41 82 00 3C */ beq lbl_801B1748 /* 801B1710 001AE670 4B FF D1 B5 */ bl sub_801ae8c4 /* 801B1714 001AE674 C0 5E 07 C4 */ lfs f2, 0x7c4(r30) /* 801B1718 001AE678 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B171C 001AE67C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801B1720 001AE680 40 81 00 14 */ ble lbl_801B1734 /* 801B1724 001AE684 EC 01 10 24 */ fdivs f0, f1, f2 /* 801B1728 001AE688 C0 22 A8 DC */ lfs f1, lbl_805AC5FC@sda21(r2) /* 801B172C 001AE68C EC 21 00 28 */ fsubs f1, f1, f0 /* 801B1730 001AE690 48 00 00 08 */ b lbl_801B1738 lbl_801B1734: /* 801B1734 001AE694 C0 22 A8 DC */ lfs f1, lbl_805AC5FC@sda21(r2) lbl_801B1738: /* 801B1738 001AE698 C0 5E 08 1C */ lfs f2, 0x81c(r30) /* 801B173C 001AE69C 7F C3 F3 78 */ mr r3, r30 /* 801B1740 001AE6A0 C0 7E 05 70 */ lfs f3, 0x570(r30) /* 801B1744 001AE6A4 4B FF D2 09 */ bl sub_801ae94c lbl_801B1748: /* 801B1748 001AE6A8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801B174C 001AE6AC C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801B1750 001AE6B0 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801B1754 001AE6B4 C0 83 00 50 */ lfs f4, 0x50(r3) /* 801B1758 001AE6B8 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801B175C 001AE6BC EC 01 00 28 */ fsubs f0, f1, f0 /* 801B1760 001AE6C0 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801B1764 001AE6C4 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801B1768 001AE6C8 EC 64 18 28 */ fsubs f3, f4, f3 /* 801B176C 001AE6CC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B1770 001AE6D0 EC 22 08 28 */ fsubs f1, f2, f1 /* 801B1774 001AE6D4 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801B1778 001AE6D8 D0 63 00 20 */ stfs f3, 0x20(r3) /* 801B177C 001AE6DC D0 23 00 24 */ stfs f1, 0x24(r3) /* 801B1780 001AE6E0 48 00 00 64 */ b lbl_801B17E4 lbl_801B1784: /* 801B1784 001AE6E4 C0 22 A8 DC */ lfs f1, lbl_805AC5FC@sda21(r2) /* 801B1788 001AE6E8 C0 5E 08 1C */ lfs f2, 0x81c(r30) /* 801B178C 001AE6EC C0 7E 05 70 */ lfs f3, 0x570(r30) /* 801B1790 001AE6F0 4B FF D1 BD */ bl sub_801ae94c /* 801B1794 001AE6F4 88 7E 08 E4 */ lbz r3, 0x8e4(r30) /* 801B1798 001AE6F8 38 00 00 00 */ li r0, 0 /* 801B179C 001AE6FC 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a /* 801B17A0 001AE700 38 00 00 03 */ li r0, 3 /* 801B17A4 001AE704 98 7E 08 E4 */ stb r3, 0x8e4(r30) /* 801B17A8 001AE708 7F E4 FB 78 */ mr r4, r31 /* 801B17AC 001AE70C 38 A0 00 01 */ li r5, 1 /* 801B17B0 001AE710 90 1E 07 80 */ stw r0, 0x780(r30) /* 801B17B4 001AE714 80 7E 07 9C */ lwz r3, 0x79c(r30) /* 801B17B8 001AE718 4B FF 5B 41 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B17BC 001AE71C 80 7E 07 A0 */ lwz r3, 0x7a0(r30) /* 801B17C0 001AE720 7F E4 FB 78 */ mr r4, r31 /* 801B17C4 001AE724 38 A0 00 01 */ li r5, 1 /* 801B17C8 001AE728 4B FF 5B 31 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B17CC 001AE72C 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B17D0 001AE730 38 60 00 00 */ li r3, 0 /* 801B17D4 001AE734 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801B17D8 001AE738 98 1E 08 E4 */ stb r0, 0x8e4(r30) /* 801B17DC 001AE73C 80 0D A4 98 */ lwz r0, lbl_805A9058@sda21(r13) /* 801B17E0 001AE740 90 1E 04 30 */ stw r0, 0x430(r30) lbl_801B17E4: /* 801B17E4 001AE744 80 01 00 64 */ lwz r0, 0x64(r1) /* 801B17E8 001AE748 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801B17EC 001AE74C 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801B17F0 001AE750 7C 08 03 A6 */ mtlr r0 /* 801B17F4 001AE754 38 21 00 60 */ addi r1, r1, 0x60 /* 801B17F8 001AE758 4E 80 00 20 */ blr .global Generate__9CFlaahgraFR13CStateManager9EStateMsgf Generate__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B17FC 001AE75C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B1800 001AE760 7C 08 02 A6 */ mflr r0 /* 801B1804 001AE764 2C 05 00 01 */ cmpwi r5, 1 /* 801B1808 001AE768 90 01 00 34 */ stw r0, 0x34(r1) /* 801B180C 001AE76C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B1810 001AE770 7C 7F 1B 78 */ mr r31, r3 /* 801B1814 001AE774 41 82 00 2C */ beq lbl_801B1840 /* 801B1818 001AE778 40 80 00 10 */ bge lbl_801B1828 /* 801B181C 001AE77C 2C 05 00 00 */ cmpwi r5, 0 /* 801B1820 001AE780 40 80 00 14 */ bge lbl_801B1834 /* 801B1824 001AE784 48 00 01 64 */ b lbl_801B1988 lbl_801B1828: /* 801B1828 001AE788 2C 05 00 03 */ cmpwi r5, 3 /* 801B182C 001AE78C 40 80 01 5C */ bge lbl_801B1988 /* 801B1830 001AE790 48 00 01 44 */ b lbl_801B1974 lbl_801B1834: /* 801B1834 001AE794 38 00 00 00 */ li r0, 0 /* 801B1838 001AE798 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B183C 001AE79C 48 00 01 4C */ b lbl_801B1988 lbl_801B1840: /* 801B1840 001AE7A0 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801B1844 001AE7A4 2C 00 00 01 */ cmpwi r0, 1 /* 801B1848 001AE7A8 41 82 01 40 */ beq lbl_801B1988 /* 801B184C 001AE7AC 40 80 00 10 */ bge lbl_801B185C /* 801B1850 001AE7B0 2C 00 00 00 */ cmpwi r0, 0 /* 801B1854 001AE7B4 40 80 00 14 */ bge lbl_801B1868 /* 801B1858 001AE7B8 48 00 01 30 */ b lbl_801B1988 lbl_801B185C: /* 801B185C 001AE7BC 2C 00 00 03 */ cmpwi r0, 3 /* 801B1860 001AE7C0 40 80 01 28 */ bge lbl_801B1988 /* 801B1864 001AE7C4 48 00 00 F4 */ b lbl_801B1958 lbl_801B1868: /* 801B1868 001AE7C8 81 5F 04 50 */ lwz r10, 0x450(r31) /* 801B186C 001AE7CC 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 801B1870 001AE7D0 2C 00 00 0C */ cmpwi r0, 0xc /* 801B1874 001AE7D4 40 82 00 1C */ bne lbl_801B1890 /* 801B1878 001AE7D8 38 00 00 02 */ li r0, 2 /* 801B187C 001AE7DC 38 80 00 01 */ li r4, 1 /* 801B1880 001AE7E0 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B1884 001AE7E4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B1888 001AE7E8 4B F8 91 51 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801B188C 001AE7EC 48 00 00 FC */ b lbl_801B1988 lbl_801B1890: /* 801B1890 001AE7F0 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801B1894 001AE7F4 38 C0 00 00 */ li r6, 0 /* 801B1898 001AE7F8 39 25 AA 68 */ addi r9, r5, lbl_803DAA68@l /* 801B189C 001AE7FC 80 61 00 24 */ lwz r3, 0x24(r1) /* 801B18A0 001AE800 50 C3 F8 00 */ rlwimi r3, r6, 0x1f, 0, 0 /* 801B18A4 001AE804 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B18A8 001AE808 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 801B18AC 001AE80C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 801B18B0 001AE810 7C 60 1B 78 */ mr r0, r3 /* 801B18B4 001AE814 39 00 00 0E */ li r8, 0xe /* 801B18B8 001AE818 C0 24 00 04 */ lfs f1, 4(r4) /* 801B18BC 001AE81C 38 A0 FF FF */ li r5, -1 /* 801B18C0 001AE820 C0 04 00 08 */ lfs f0, 8(r4) /* 801B18C4 001AE824 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 801B18C8 001AE828 91 21 00 08 */ stw r9, 8(r1) /* 801B18CC 001AE82C 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 /* 801B18D0 001AE830 3B EA 00 04 */ addi r31, r10, 4 /* 801B18D4 001AE834 38 80 00 0E */ li r4, 0xe /* 801B18D8 001AE838 90 61 00 24 */ stw r3, 0x24(r1) /* 801B18DC 001AE83C 7F E3 FB 78 */ mr r3, r31 /* 801B18E0 001AE840 91 01 00 0C */ stw r8, 0xc(r1) /* 801B18E4 001AE844 90 E1 00 08 */ stw r7, 8(r1) /* 801B18E8 001AE848 90 C1 00 10 */ stw r6, 0x10(r1) /* 801B18EC 001AE84C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801B18F0 001AE850 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801B18F4 001AE854 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801B18F8 001AE858 90 A1 00 20 */ stw r5, 0x20(r1) /* 801B18FC 001AE85C 90 01 00 24 */ stw r0, 0x24(r1) /* 801B1900 001AE860 4B F7 FB 39 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B1904 001AE864 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B1908 001AE868 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801B190C 001AE86C 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801B1910 001AE870 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1914 001AE874 90 1F 01 90 */ stw r0, 0x190(r31) /* 801B1918 001AE878 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B191C 001AE87C 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801B1920 001AE880 80 61 00 14 */ lwz r3, 0x14(r1) /* 801B1924 001AE884 90 BF 01 94 */ stw r5, 0x194(r31) /* 801B1928 001AE888 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801B192C 001AE88C 90 7F 01 98 */ stw r3, 0x198(r31) /* 801B1930 001AE890 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801B1934 001AE894 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801B1938 001AE898 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801B193C 001AE89C 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801B1940 001AE8A0 80 61 00 24 */ lwz r3, 0x24(r1) /* 801B1944 001AE8A4 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801B1948 001AE8A8 90 81 00 08 */ stw r4, 8(r1) /* 801B194C 001AE8AC 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801B1950 001AE8B0 90 01 00 08 */ stw r0, 8(r1) /* 801B1954 001AE8B4 48 00 00 34 */ b lbl_801B1988 lbl_801B1958: /* 801B1958 001AE8B8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B195C 001AE8BC 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801B1960 001AE8C0 2C 00 00 0C */ cmpwi r0, 0xc /* 801B1964 001AE8C4 41 82 00 24 */ beq lbl_801B1988 /* 801B1968 001AE8C8 38 00 00 04 */ li r0, 4 /* 801B196C 001AE8CC 90 1F 05 68 */ stw r0, 0x568(r31) /* 801B1970 001AE8D0 48 00 00 18 */ b lbl_801B1988 lbl_801B1974: /* 801B1974 001AE8D4 80 7F 07 A4 */ lwz r3, 0x7a4(r31) /* 801B1978 001AE8D8 38 A0 00 01 */ li r5, 1 /* 801B197C 001AE8DC 4B FF 59 7D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B1980 001AE8E0 C0 02 A9 10 */ lfs f0, lbl_805AC630@sda21(r2) /* 801B1984 001AE8E4 D0 1F 07 C0 */ stfs f0, 0x7c0(r31) lbl_801B1988: /* 801B1988 001AE8E8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B198C 001AE8EC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B1990 001AE8F0 7C 08 03 A6 */ mtlr r0 /* 801B1994 001AE8F4 38 21 00 30 */ addi r1, r1, 0x30 /* 801B1998 001AE8F8 4E 80 00 20 */ blr .global Enraged__9CFlaahgraFR13CStateManager9EStateMsgf Enraged__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B199C 001AE8FC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B19A0 001AE900 7C 08 02 A6 */ mflr r0 /* 801B19A4 001AE904 2C 05 00 01 */ cmpwi r5, 1 /* 801B19A8 001AE908 90 01 00 24 */ stw r0, 0x24(r1) /* 801B19AC 001AE90C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B19B0 001AE910 41 82 00 2C */ beq lbl_801B19DC /* 801B19B4 001AE914 40 80 00 10 */ bge lbl_801B19C4 /* 801B19B8 001AE918 2C 05 00 00 */ cmpwi r5, 0 /* 801B19BC 001AE91C 40 80 00 14 */ bge lbl_801B19D0 /* 801B19C0 001AE920 48 00 00 E8 */ b lbl_801B1AA8 lbl_801B19C4: /* 801B19C4 001AE924 2C 05 00 03 */ cmpwi r5, 3 /* 801B19C8 001AE928 40 80 00 E0 */ bge lbl_801B1AA8 /* 801B19CC 001AE92C 48 00 00 D4 */ b lbl_801B1AA0 lbl_801B19D0: /* 801B19D0 001AE930 38 00 00 00 */ li r0, 0 /* 801B19D4 001AE934 90 03 05 68 */ stw r0, 0x568(r3) /* 801B19D8 001AE938 48 00 00 D0 */ b lbl_801B1AA8 lbl_801B19DC: /* 801B19DC 001AE93C 80 03 05 68 */ lwz r0, 0x568(r3) /* 801B19E0 001AE940 2C 00 00 01 */ cmpwi r0, 1 /* 801B19E4 001AE944 41 82 00 C4 */ beq lbl_801B1AA8 /* 801B19E8 001AE948 40 80 00 10 */ bge lbl_801B19F8 /* 801B19EC 001AE94C 2C 00 00 00 */ cmpwi r0, 0 /* 801B19F0 001AE950 40 80 00 14 */ bge lbl_801B1A04 /* 801B19F4 001AE954 48 00 00 B4 */ b lbl_801B1AA8 lbl_801B19F8: /* 801B19F8 001AE958 2C 00 00 03 */ cmpwi r0, 3 /* 801B19FC 001AE95C 40 80 00 AC */ bge lbl_801B1AA8 /* 801B1A00 001AE960 48 00 00 84 */ b lbl_801B1A84 lbl_801B1A04: /* 801B1A04 001AE964 80 C3 04 50 */ lwz r6, 0x450(r3) /* 801B1A08 001AE968 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801B1A0C 001AE96C 2C 00 00 10 */ cmpwi r0, 0x10 /* 801B1A10 001AE970 40 82 00 10 */ bne lbl_801B1A20 /* 801B1A14 001AE974 38 00 00 02 */ li r0, 2 /* 801B1A18 001AE978 90 03 05 68 */ stw r0, 0x568(r3) /* 801B1A1C 001AE97C 48 00 00 8C */ b lbl_801B1AA8 lbl_801B1A20: /* 801B1A20 001AE980 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801B1A24 001AE984 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801B1A28 001AE988 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801B1A2C 001AE98C 38 80 00 12 */ li r4, 0x12 /* 801B1A30 001AE990 90 01 00 08 */ stw r0, 8(r1) /* 801B1A34 001AE994 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l /* 801B1A38 001AE998 38 00 00 00 */ li r0, 0 /* 801B1A3C 001AE99C 3B E6 00 04 */ addi r31, r6, 4 /* 801B1A40 001AE9A0 90 81 00 0C */ stw r4, 0xc(r1) /* 801B1A44 001AE9A4 7F E3 FB 78 */ mr r3, r31 /* 801B1A48 001AE9A8 38 80 00 12 */ li r4, 0x12 /* 801B1A4C 001AE9AC 90 A1 00 08 */ stw r5, 8(r1) /* 801B1A50 001AE9B0 90 01 00 10 */ stw r0, 0x10(r1) /* 801B1A54 001AE9B4 4B F7 F9 E5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B1A58 001AE9B8 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B1A5C 001AE9BC 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801B1A60 001AE9C0 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 801B1A64 001AE9C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1A68 001AE9C8 90 1F 02 14 */ stw r0, 0x214(r31) /* 801B1A6C 001AE9CC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B1A70 001AE9D0 80 61 00 10 */ lwz r3, 0x10(r1) /* 801B1A74 001AE9D4 90 81 00 08 */ stw r4, 8(r1) /* 801B1A78 001AE9D8 90 7F 02 18 */ stw r3, 0x218(r31) /* 801B1A7C 001AE9DC 90 01 00 08 */ stw r0, 8(r1) /* 801B1A80 001AE9E0 48 00 00 28 */ b lbl_801B1AA8 lbl_801B1A84: /* 801B1A84 001AE9E4 80 83 04 50 */ lwz r4, 0x450(r3) /* 801B1A88 001AE9E8 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801B1A8C 001AE9EC 2C 00 00 10 */ cmpwi r0, 0x10 /* 801B1A90 001AE9F0 41 82 00 18 */ beq lbl_801B1AA8 /* 801B1A94 001AE9F4 38 00 00 04 */ li r0, 4 /* 801B1A98 001AE9F8 90 03 05 68 */ stw r0, 0x568(r3) /* 801B1A9C 001AE9FC 48 00 00 0C */ b lbl_801B1AA8 lbl_801B1AA0: /* 801B1AA0 001AEA00 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B1AA4 001AEA04 D0 03 07 D0 */ stfs f0, 0x7d0(r3) lbl_801B1AA8: /* 801B1AA8 001AEA08 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B1AAC 001AEA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B1AB0 001AEA10 7C 08 03 A6 */ mtlr r0 /* 801B1AB4 001AEA14 38 21 00 20 */ addi r1, r1, 0x20 /* 801B1AB8 001AEA18 4E 80 00 20 */ blr .global FadeIn__9CFlaahgraFR13CStateManager9EStateMsgf FadeIn__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B1ABC 001AEA1C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B1AC0 001AEA20 7C 08 02 A6 */ mflr r0 /* 801B1AC4 001AEA24 2C 05 00 00 */ cmpwi r5, 0 /* 801B1AC8 001AEA28 90 01 00 14 */ stw r0, 0x14(r1) /* 801B1ACC 001AEA2C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B1AD0 001AEA30 7C 9F 23 78 */ mr r31, r4 /* 801B1AD4 001AEA34 93 C1 00 08 */ stw r30, 8(r1) /* 801B1AD8 001AEA38 7C 7E 1B 78 */ mr r30, r3 /* 801B1ADC 001AEA3C 40 82 00 58 */ bne lbl_801B1B34 /* 801B1AE0 001AEA40 81 83 00 00 */ lwz r12, 0(r3) /* 801B1AE4 001AEA44 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801B1AE8 001AEA48 7D 89 03 A6 */ mtctr r12 /* 801B1AEC 001AEA4C 4E 80 04 21 */ bctrl /* 801B1AF0 001AEA50 C0 23 00 00 */ lfs f1, 0(r3) /* 801B1AF4 001AEA54 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B1AF8 001AEA58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1AFC 001AEA5C 40 81 00 18 */ ble lbl_801B1B14 /* 801B1B00 001AEA60 7F C3 F3 78 */ mr r3, r30 /* 801B1B04 001AEA64 7F E5 FB 78 */ mr r5, r31 /* 801B1B08 001AEA68 38 80 00 04 */ li r4, 4 /* 801B1B0C 001AEA6C 38 C0 FF FF */ li r6, -1 /* 801B1B10 001AEA70 4B E9 F5 B1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801B1B14: /* 801B1B14 001AEA74 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1B18 001AEA78 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801B1B1C 001AEA7C 40 82 00 18 */ bne lbl_801B1B34 /* 801B1B20 001AEA80 7F C3 F3 78 */ mr r3, r30 /* 801B1B24 001AEA84 7F E5 FB 78 */ mr r5, r31 /* 801B1B28 001AEA88 38 80 00 0B */ li r4, 0xb /* 801B1B2C 001AEA8C 38 C0 FF FF */ li r6, -1 /* 801B1B30 001AEA90 4B E9 F5 91 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801B1B34: /* 801B1B34 001AEA94 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B1B38 001AEA98 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B1B3C 001AEA9C 83 C1 00 08 */ lwz r30, 8(r1) /* 801B1B40 001AEAA0 7C 08 03 A6 */ mtlr r0 /* 801B1B44 001AEAA4 38 21 00 10 */ addi r1, r1, 0x10 /* 801B1B48 001AEAA8 4E 80 00 20 */ blr .global FadeOut__9CFlaahgraFR13CStateManager9EStateMsgf FadeOut__9CFlaahgraFR13CStateManager9EStateMsgf: /* 801B1B4C 001AEAAC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B1B50 001AEAB0 7C 08 02 A6 */ mflr r0 /* 801B1B54 001AEAB4 2C 05 00 00 */ cmpwi r5, 0 /* 801B1B58 001AEAB8 90 01 00 34 */ stw r0, 0x34(r1) /* 801B1B5C 001AEABC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B1B60 001AEAC0 7C 7F 1B 78 */ mr r31, r3 /* 801B1B64 001AEAC4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B1B68 001AEAC8 7C 9E 23 78 */ mr r30, r4 /* 801B1B6C 001AEACC 40 82 00 F4 */ bne lbl_801B1C60 /* 801B1B70 001AEAD0 80 7F 07 A4 */ lwz r3, 0x7a4(r31) /* 801B1B74 001AEAD4 38 A0 00 01 */ li r5, 1 /* 801B1B78 001AEAD8 4B FF 57 81 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B1B7C 001AEADC 80 7F 07 9C */ lwz r3, 0x79c(r31) /* 801B1B80 001AEAE0 7F C4 F3 78 */ mr r4, r30 /* 801B1B84 001AEAE4 38 A0 00 01 */ li r5, 1 /* 801B1B88 001AEAE8 4B FF 57 71 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B1B8C 001AEAEC 80 7F 07 A0 */ lwz r3, 0x7a0(r31) /* 801B1B90 001AEAF0 7F C4 F3 78 */ mr r4, r30 /* 801B1B94 001AEAF4 38 A0 00 01 */ li r5, 1 /* 801B1B98 001AEAF8 4B FF 57 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801B1B9C 001AEAFC 80 1F 07 80 */ lwz r0, 0x780(r31) /* 801B1BA0 001AEB00 7F E3 FB 78 */ mr r3, r31 /* 801B1BA4 001AEB04 C0 22 A8 DC */ lfs f1, lbl_805AC5FC@sda21(r2) /* 801B1BA8 001AEB08 90 1F 07 84 */ stw r0, 0x784(r31) /* 801B1BAC 001AEB0C 80 9F 00 64 */ lwz r4, 0x64(r31) /* 801B1BB0 001AEB10 C0 64 00 00 */ lfs f3, 0(r4) /* 801B1BB4 001AEB14 C0 44 00 04 */ lfs f2, 4(r4) /* 801B1BB8 001AEB18 C0 04 00 08 */ lfs f0, 8(r4) /* 801B1BBC 001AEB1C D0 61 00 10 */ stfs f3, 0x10(r1) /* 801B1BC0 001AEB20 D0 1F 08 1C */ stfs f0, 0x81c(r31) /* 801B1BC4 001AEB24 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801B1BC8 001AEB28 C0 5F 08 1C */ lfs f2, 0x81c(r31) /* 801B1BCC 001AEB2C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801B1BD0 001AEB30 C0 7F 05 70 */ lfs f3, 0x570(r31) /* 801B1BD4 001AEB34 4B FF CD 79 */ bl sub_801ae94c /* 801B1BD8 001AEB38 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801B1BDC 001AEB3C 38 C0 00 00 */ li r6, 0 /* 801B1BE0 001AEB40 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 801B1BE4 001AEB44 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1BE8 001AEB48 98 1F 08 E4 */ stb r0, 0x8e4(r31) /* 801B1BEC 001AEB4C 38 A0 00 03 */ li r5, 3 /* 801B1BF0 001AEB50 C0 02 A8 C4 */ lfs f0, lbl_805AC5E4@sda21(r2) /* 801B1BF4 001AEB54 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801B1BF8 001AEB58 38 00 00 0C */ li r0, 0xc /* 801B1BFC 001AEB5C 38 81 00 08 */ addi r4, r1, 8 /* 801B1C00 001AEB60 D0 1F 07 C0 */ stfs f0, 0x7c0(r31) /* 801B1C04 001AEB64 90 BF 07 80 */ stw r5, 0x780(r31) /* 801B1C08 001AEB68 88 BF 08 E4 */ lbz r5, 0x8e4(r31) /* 801B1C0C 001AEB6C 50 C5 17 7A */ rlwimi r5, r6, 2, 0x1d, 0x1d /* 801B1C10 001AEB70 98 BF 08 E4 */ stb r5, 0x8e4(r31) /* 801B1C14 001AEB74 80 AD A4 98 */ lwz r5, lbl_805A9058@sda21(r13) /* 801B1C18 001AEB78 90 BF 04 30 */ stw r5, 0x430(r31) /* 801B1C1C 001AEB7C 90 61 00 08 */ stw r3, 8(r1) /* 801B1C20 001AEB80 90 01 00 0C */ stw r0, 0xc(r1) /* 801B1C24 001AEB84 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B1C28 001AEB88 38 63 00 04 */ addi r3, r3, 4 /* 801B1C2C 001AEB8C 4B F7 FB 8D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801B1C30 001AEB90 34 01 00 08 */ addic. r0, r1, 8 /* 801B1C34 001AEB94 41 82 00 10 */ beq lbl_801B1C44 /* 801B1C38 001AEB98 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B1C3C 001AEB9C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B1C40 001AEBA0 90 01 00 08 */ stw r0, 8(r1) lbl_801B1C44: /* 801B1C44 001AEBA4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B1C48 001AEBA8 38 80 00 01 */ li r4, 1 /* 801B1C4C 001AEBAC 4B F8 8D 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801B1C50 001AEBB0 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B1C54 001AEBB4 38 60 00 00 */ li r3, 0 /* 801B1C58 001AEBB8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801B1C5C 001AEBBC 98 1F 08 E5 */ stb r0, 0x8e5(r31) lbl_801B1C60: /* 801B1C60 001AEBC0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B1C64 001AEBC4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B1C68 001AEBC8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B1C6C 001AEBCC 7C 08 03 A6 */ mtlr r0 /* 801B1C70 001AEBD0 38 21 00 30 */ addi r1, r1, 0x30 /* 801B1C74 001AEBD4 4E 80 00 20 */ blr .global sub_801b1c78 sub_801b1c78: /* 801B1C78 001AEBD8 80 03 05 68 */ lwz r0, 0x568(r3) /* 801B1C7C 001AEBDC 20 00 00 04 */ subfic r0, r0, 4 /* 801B1C80 001AEBE0 7C 00 00 34 */ cntlzw r0, r0 /* 801B1C84 001AEBE4 54 03 D9 7E */ srwi r3, r0, 5 /* 801B1C88 001AEBE8 4E 80 00 20 */ blr .global CoverCheck__9CFlaahgraFR13CStateManagerf CoverCheck__9CFlaahgraFR13CStateManagerf: /* 801B1C8C 001AEBEC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B1C90 001AEBF0 7C 08 02 A6 */ mflr r0 /* 801B1C94 001AEBF4 90 01 00 24 */ stw r0, 0x24(r1) /* 801B1C98 001AEBF8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B1C9C 001AEBFC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B1CA0 001AEC00 93 A1 00 14 */ stw r29, 0x14(r1) /* 801B1CA4 001AEC04 7C 9D 23 78 */ mr r29, r4 /* 801B1CA8 001AEC08 93 81 00 10 */ stw r28, 0x10(r1) /* 801B1CAC 001AEC0C 7C 7C 1B 78 */ mr r28, r3 /* 801B1CB0 001AEC10 80 03 07 F8 */ lwz r0, 0x7f8(r3) /* 801B1CB4 001AEC14 2C 00 00 00 */ cmpwi r0, 0 /* 801B1CB8 001AEC18 41 81 00 18 */ bgt lbl_801B1CD0 /* 801B1CBC 001AEC1C C0 3C 07 BC */ lfs f1, 0x7bc(r28) /* 801B1CC0 001AEC20 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B1CC4 001AEC24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1CC8 001AEC28 4C 40 13 82 */ cror 2, 0, 2 /* 801B1CCC 001AEC2C 40 82 00 58 */ bne lbl_801B1D24 lbl_801B1CD0: /* 801B1CD0 001AEC30 3B FC 07 74 */ addi r31, r28, 0x774 /* 801B1CD4 001AEC34 7F FE FB 78 */ mr r30, r31 /* 801B1CD8 001AEC38 48 00 00 38 */ b lbl_801B1D10 lbl_801B1CDC: /* 801B1CDC 001AEC3C A0 1E 00 00 */ lhz r0, 0(r30) /* 801B1CE0 001AEC40 7F A3 EB 78 */ mr r3, r29 /* 801B1CE4 001AEC44 38 81 00 08 */ addi r4, r1, 8 /* 801B1CE8 001AEC48 B0 01 00 08 */ sth r0, 8(r1) /* 801B1CEC 001AEC4C 4B E9 A8 B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B1CF0 001AEC50 28 03 00 00 */ cmplwi r3, 0 /* 801B1CF4 001AEC54 41 82 00 18 */ beq lbl_801B1D0C /* 801B1CF8 001AEC58 88 03 00 30 */ lbz r0, 0x30(r3) /* 801B1CFC 001AEC5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B1D00 001AEC60 41 82 00 0C */ beq lbl_801B1D0C /* 801B1D04 001AEC64 38 60 00 01 */ li r3, 1 /* 801B1D08 001AEC68 48 00 00 20 */ b lbl_801B1D28 lbl_801B1D0C: /* 801B1D0C 001AEC6C 3B DE 00 02 */ addi r30, r30, 2 lbl_801B1D10: /* 801B1D10 001AEC70 80 1C 07 70 */ lwz r0, 0x770(r28) /* 801B1D14 001AEC74 54 00 08 3C */ slwi r0, r0, 1 /* 801B1D18 001AEC78 7C 1F 02 14 */ add r0, r31, r0 /* 801B1D1C 001AEC7C 7C 1E 00 40 */ cmplw r30, r0 /* 801B1D20 001AEC80 40 82 FF BC */ bne lbl_801B1CDC lbl_801B1D24: /* 801B1D24 001AEC84 38 60 00 00 */ li r3, 0 lbl_801B1D28: /* 801B1D28 001AEC88 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B1D2C 001AEC8C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B1D30 001AEC90 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B1D34 001AEC94 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801B1D38 001AEC98 83 81 00 10 */ lwz r28, 0x10(r1) /* 801B1D3C 001AEC9C 7C 08 03 A6 */ mtlr r0 /* 801B1D40 001AECA0 38 21 00 20 */ addi r1, r1, 0x20 /* 801B1D44 001AECA4 4E 80 00 20 */ blr .global IsDizzy__9CFlaahgraFR13CStateManagerf IsDizzy__9CFlaahgraFR13CStateManagerf: /* 801B1D48 001AECA8 80 63 04 50 */ lwz r3, 0x450(r3) /* 801B1D4C 001AECAC 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801B1D50 001AECB0 20 00 00 0A */ subfic r0, r0, 0xa /* 801B1D54 001AECB4 7C 00 00 34 */ cntlzw r0, r0 /* 801B1D58 001AECB8 54 03 D9 7E */ srwi r3, r0, 5 /* 801B1D5C 001AECBC 4E 80 00 20 */ blr .global BreakAttack__9CFlaahgraFR13CStateManagerf BreakAttack__9CFlaahgraFR13CStateManagerf: /* 801B1D60 001AECC0 C0 23 07 D4 */ lfs f1, 0x7d4(r3) /* 801B1D64 001AECC4 38 80 00 00 */ li r4, 0 /* 801B1D68 001AECC8 C0 03 05 78 */ lfs f0, 0x578(r3) /* 801B1D6C 001AECCC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1D70 001AECD0 4C 41 13 82 */ cror 2, 1, 2 /* 801B1D74 001AECD4 40 82 00 14 */ bne lbl_801B1D88 /* 801B1D78 001AECD8 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801B1D7C 001AECDC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801B1D80 001AECE0 40 82 00 08 */ bne lbl_801B1D88 /* 801B1D84 001AECE4 38 80 00 01 */ li r4, 1 lbl_801B1D88: /* 801B1D88 001AECE8 7C 83 23 78 */ mr r3, r4 /* 801B1D8C 001AECEC 4E 80 00 20 */ blr .global ShouldFire__9CFlaahgraFR13CStateManagerf ShouldFire__9CFlaahgraFR13CStateManagerf: /* 801B1D90 001AECF0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B1D94 001AECF4 7C 08 02 A6 */ mflr r0 /* 801B1D98 001AECF8 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B1D9C 001AECFC 90 01 00 44 */ stw r0, 0x44(r1) /* 801B1DA0 001AED00 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801B1DA4 001AED04 7C 7F 1B 78 */ mr r31, r3 /* 801B1DA8 001AED08 C0 23 07 C0 */ lfs f1, 0x7c0(r3) /* 801B1DAC 001AED0C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1DB0 001AED10 4C 40 13 82 */ cror 2, 0, 2 /* 801B1DB4 001AED14 40 82 00 94 */ bne lbl_801B1E48 /* 801B1DB8 001AED18 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801B1DBC 001AED1C 88 04 09 C4 */ lbz r0, 0x9c4(r4) /* 801B1DC0 001AED20 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801B1DC4 001AED24 40 82 00 84 */ bne lbl_801B1E48 /* 801B1DC8 001AED28 C0 64 00 40 */ lfs f3, 0x40(r4) /* 801B1DCC 001AED2C 38 61 00 10 */ addi r3, r1, 0x10 /* 801B1DD0 001AED30 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801B1DD4 001AED34 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801B1DD8 001AED38 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801B1DDC 001AED3C EC 23 08 28 */ fsubs f1, f3, f1 /* 801B1DE0 001AED40 EC 42 00 28 */ fsubs f2, f2, f0 /* 801B1DE4 001AED44 48 16 24 1D */ bl __ct__9CVector2fFff /* 801B1DE8 001AED48 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801B1DEC 001AED4C 38 61 00 08 */ addi r3, r1, 8 /* 801B1DF0 001AED50 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801B1DF4 001AED54 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801B1DF8 001AED58 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801B1DFC 001AED5C C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801B1E00 001AED60 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801B1E04 001AED64 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801B1E08 001AED68 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801B1E0C 001AED6C D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801B1E10 001AED70 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801B1E14 001AED74 48 16 23 ED */ bl __ct__9CVector2fFff /* 801B1E18 001AED78 C0 21 00 08 */ lfs f1, 8(r1) /* 801B1E1C 001AED7C 38 61 00 18 */ addi r3, r1, 0x18 /* 801B1E20 001AED80 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801B1E24 001AED84 38 81 00 20 */ addi r4, r1, 0x20 /* 801B1E28 001AED88 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801B1E2C 001AED8C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801B1E30 001AED90 48 16 21 95 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801B1E34 001AED94 C0 02 A9 14 */ lfs f0, lbl_805AC634@sda21(r2) /* 801B1E38 001AED98 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1E3C 001AED9C 7C 00 00 26 */ mfcr r0 /* 801B1E40 001AEDA0 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B1E44 001AEDA4 48 00 00 08 */ b lbl_801B1E4C lbl_801B1E48: /* 801B1E48 001AEDA8 38 60 00 00 */ li r3, 0 lbl_801B1E4C: /* 801B1E4C 001AEDAC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B1E50 001AEDB0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801B1E54 001AEDB4 7C 08 03 A6 */ mtlr r0 /* 801B1E58 001AEDB8 38 21 00 40 */ addi r1, r1, 0x40 /* 801B1E5C 001AEDBC 4E 80 00 20 */ blr .global ShouldSpecialAttack__9CFlaahgraFR13CStateManagerf ShouldSpecialAttack__9CFlaahgraFR13CStateManagerf: /* 801B1E60 001AEDC0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B1E64 001AEDC4 7C 08 02 A6 */ mflr r0 /* 801B1E68 001AEDC8 90 01 00 14 */ stw r0, 0x14(r1) /* 801B1E6C 001AEDCC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B1E70 001AEDD0 7C 7F 1B 78 */ mr r31, r3 /* 801B1E74 001AEDD4 80 03 07 88 */ lwz r0, 0x788(r3) /* 801B1E78 001AEDD8 2C 00 00 00 */ cmpwi r0, 0 /* 801B1E7C 001AEDDC 41 80 00 3C */ blt lbl_801B1EB8 /* 801B1E80 001AEDE0 2C 00 00 03 */ cmpwi r0, 3 /* 801B1E84 001AEDE4 41 81 00 34 */ bgt lbl_801B1EB8 /* 801B1E88 001AEDE8 81 83 00 00 */ lwz r12, 0(r3) /* 801B1E8C 001AEDEC 81 8C 02 34 */ lwz r12, 0x234(r12) /* 801B1E90 001AEDF0 7D 89 03 A6 */ mtctr r12 /* 801B1E94 001AEDF4 4E 80 04 21 */ bctrl /* 801B1E98 001AEDF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B1E9C 001AEDFC 41 82 00 1C */ beq lbl_801B1EB8 /* 801B1EA0 001AEE00 80 1F 07 88 */ lwz r0, 0x788(r31) /* 801B1EA4 001AEE04 2C 00 00 02 */ cmpwi r0, 2 /* 801B1EA8 001AEE08 41 80 00 10 */ blt lbl_801B1EB8 /* 801B1EAC 001AEE0C 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B1EB0 001AEE10 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801B1EB4 001AEE14 48 00 00 08 */ b lbl_801B1EBC lbl_801B1EB8: /* 801B1EB8 001AEE18 38 60 00 00 */ li r3, 0 lbl_801B1EBC: /* 801B1EBC 001AEE1C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B1EC0 001AEE20 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B1EC4 001AEE24 7C 08 03 A6 */ mtlr r0 /* 801B1EC8 001AEE28 38 21 00 10 */ addi r1, r1, 0x10 /* 801B1ECC 001AEE2C 4E 80 00 20 */ blr .global ShouldAttack__9CFlaahgraFR13CStateManagerf ShouldAttack__9CFlaahgraFR13CStateManagerf: /* 801B1ED0 001AEE30 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801B1ED4 001AEE34 7C 08 02 A6 */ mflr r0 /* 801B1ED8 001AEE38 90 01 00 74 */ stw r0, 0x74(r1) /* 801B1EDC 001AEE3C DB E1 00 60 */ stfd f31, 0x60(r1) /* 801B1EE0 001AEE40 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801B1EE4 001AEE44 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801B1EE8 001AEE48 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801B1EEC 001AEE4C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801B1EF0 001AEE50 93 C1 00 48 */ stw r30, 0x48(r1) /* 801B1EF4 001AEE54 7C 7E 1B 78 */ mr r30, r3 /* 801B1EF8 001AEE58 80 03 07 88 */ lwz r0, 0x788(r3) /* 801B1EFC 001AEE5C 2C 00 00 00 */ cmpwi r0, 0 /* 801B1F00 001AEE60 40 81 01 64 */ ble lbl_801B2064 /* 801B1F04 001AEE64 2C 00 00 03 */ cmpwi r0, 3 /* 801B1F08 001AEE68 41 81 01 5C */ bgt lbl_801B2064 /* 801B1F0C 001AEE6C C0 3E 07 C0 */ lfs f1, 0x7c0(r30) /* 801B1F10 001AEE70 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B1F14 001AEE74 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1F18 001AEE78 4C 40 13 82 */ cror 2, 0, 2 /* 801B1F1C 001AEE7C 40 82 01 48 */ bne lbl_801B2064 /* 801B1F20 001AEE80 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 801B1F24 001AEE84 88 1F 09 C4 */ lbz r0, 0x9c4(r31) /* 801B1F28 001AEE88 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801B1F2C 001AEE8C 40 82 01 38 */ bne lbl_801B2064 /* 801B1F30 001AEE90 88 1E 08 E4 */ lbz r0, 0x8e4(r30) /* 801B1F34 001AEE94 C0 7F 00 40 */ lfs f3, 0x40(r31) /* 801B1F38 001AEE98 C0 5E 00 40 */ lfs f2, 0x40(r30) /* 801B1F3C 001AEE9C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801B1F40 001AEEA0 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801B1F44 001AEEA4 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801B1F48 001AEEA8 EF C3 10 28 */ fsubs f30, f3, f2 /* 801B1F4C 001AEEAC EF E1 00 28 */ fsubs f31, f1, f0 /* 801B1F50 001AEEB0 40 82 01 14 */ bne lbl_801B2064 /* 801B1F54 001AEEB4 FC 20 F0 90 */ fmr f1, f30 /* 801B1F58 001AEEB8 38 61 00 18 */ addi r3, r1, 0x18 /* 801B1F5C 001AEEBC FC 40 F8 90 */ fmr f2, f31 /* 801B1F60 001AEEC0 48 16 22 A1 */ bl __ct__9CVector2fFff /* 801B1F64 001AEEC4 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801B1F68 001AEEC8 38 61 00 30 */ addi r3, r1, 0x30 /* 801B1F6C 001AEECC C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801B1F70 001AEED0 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801B1F74 001AEED4 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801B1F78 001AEED8 48 16 21 65 */ bl MagSquared__9CVector2fCFv /* 801B1F7C 001AEEDC C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 801B1F80 001AEEE0 C0 5E 03 00 */ lfs f2, 0x300(r30) /* 801B1F84 001AEEE4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 801B1F88 001AEEE8 EC 00 00 32 */ fmuls f0, f0, f0 /* 801B1F8C 001AEEEC EC 42 00 B2 */ fmuls f2, f2, f2 /* 801B1F90 001AEEF0 2C 00 00 01 */ cmpwi r0, 1 /* 801B1F94 001AEEF4 41 82 00 1C */ beq lbl_801B1FB0 /* 801B1F98 001AEEF8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1F9C 001AEEFC 4C 41 13 82 */ cror 2, 1, 2 /* 801B1FA0 001AEF00 40 82 00 10 */ bne lbl_801B1FB0 /* 801B1FA4 001AEF04 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 801B1FA8 001AEF08 4C 40 13 82 */ cror 2, 0, 2 /* 801B1FAC 001AEF0C 41 82 00 48 */ beq lbl_801B1FF4 lbl_801B1FB0: /* 801B1FB0 001AEF10 C0 3E 07 CC */ lfs f1, 0x7cc(r30) /* 801B1FB4 001AEF14 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B1FB8 001AEF18 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1FBC 001AEF1C 4C 40 13 82 */ cror 2, 0, 2 /* 801B1FC0 001AEF20 40 82 00 A4 */ bne lbl_801B2064 /* 801B1FC4 001AEF24 C0 3F 01 38 */ lfs f1, 0x138(r31) /* 801B1FC8 001AEF28 C0 1F 01 3C */ lfs f0, 0x13c(r31) /* 801B1FCC 001AEF2C EC 41 00 72 */ fmuls f2, f1, f1 /* 801B1FD0 001AEF30 C0 7F 01 40 */ lfs f3, 0x140(r31) /* 801B1FD4 001AEF34 EC 20 00 32 */ fmuls f1, f0, f0 /* 801B1FD8 001AEF38 C0 02 A8 CC */ lfs f0, lbl_805AC5EC@sda21(r2) /* 801B1FDC 001AEF3C EC 63 00 F2 */ fmuls f3, f3, f3 /* 801B1FE0 001AEF40 EC 22 08 2A */ fadds f1, f2, f1 /* 801B1FE4 001AEF44 EC 23 08 2A */ fadds f1, f3, f1 /* 801B1FE8 001AEF48 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B1FEC 001AEF4C 4C 41 13 82 */ cror 2, 1, 2 /* 801B1FF0 001AEF50 40 82 00 74 */ bne lbl_801B2064 lbl_801B1FF4: /* 801B1FF4 001AEF54 FC 20 F0 90 */ fmr f1, f30 /* 801B1FF8 001AEF58 38 61 00 10 */ addi r3, r1, 0x10 /* 801B1FFC 001AEF5C FC 40 F8 90 */ fmr f2, f31 /* 801B2000 001AEF60 48 16 22 01 */ bl __ct__9CVector2fFff /* 801B2004 001AEF64 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801B2008 001AEF68 38 61 00 08 */ addi r3, r1, 8 /* 801B200C 001AEF6C C0 01 00 14 */ lfs f0, 0x14(r1) /* 801B2010 001AEF70 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801B2014 001AEF74 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801B2018 001AEF78 C0 5E 00 48 */ lfs f2, 0x48(r30) /* 801B201C 001AEF7C C0 3E 00 38 */ lfs f1, 0x38(r30) /* 801B2020 001AEF80 C0 1E 00 58 */ lfs f0, 0x58(r30) /* 801B2024 001AEF84 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801B2028 001AEF88 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801B202C 001AEF8C D0 01 00 40 */ stfs f0, 0x40(r1) /* 801B2030 001AEF90 48 16 21 D1 */ bl __ct__9CVector2fFff /* 801B2034 001AEF94 C0 21 00 08 */ lfs f1, 8(r1) /* 801B2038 001AEF98 38 61 00 20 */ addi r3, r1, 0x20 /* 801B203C 001AEF9C C0 01 00 0C */ lfs f0, 0xc(r1) /* 801B2040 001AEFA0 38 81 00 28 */ addi r4, r1, 0x28 /* 801B2044 001AEFA4 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801B2048 001AEFA8 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801B204C 001AEFAC 48 16 1F 79 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801B2050 001AEFB0 C0 02 A9 14 */ lfs f0, lbl_805AC634@sda21(r2) /* 801B2054 001AEFB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2058 001AEFB8 7C 00 00 26 */ mfcr r0 /* 801B205C 001AEFBC 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B2060 001AEFC0 48 00 00 08 */ b lbl_801B2068 lbl_801B2064: /* 801B2064 001AEFC4 38 60 00 00 */ li r3, 0 lbl_801B2068: /* 801B2068 001AEFC8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801B206C 001AEFCC CB E1 00 60 */ lfd f31, 0x60(r1) /* 801B2070 001AEFD0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801B2074 001AEFD4 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801B2078 001AEFD8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801B207C 001AEFDC 80 01 00 74 */ lwz r0, 0x74(r1) /* 801B2080 001AEFE0 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801B2084 001AEFE4 7C 08 03 A6 */ mtlr r0 /* 801B2088 001AEFE8 38 21 00 70 */ addi r1, r1, 0x70 /* 801B208C 001AEFEC 4E 80 00 20 */ blr .global ShouldTurn__9CFlaahgraFR13CStateManagerf ShouldTurn__9CFlaahgraFR13CStateManagerf: /* 801B2090 001AEFF0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801B2094 001AEFF4 7C 08 02 A6 */ mflr r0 /* 801B2098 001AEFF8 90 01 00 64 */ stw r0, 0x64(r1) /* 801B209C 001AEFFC 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801B20A0 001AF000 7C 7F 1B 78 */ mr r31, r3 /* 801B20A4 001AF004 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801B20A8 001AF008 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801B20AC 001AF00C 38 61 00 10 */ addi r3, r1, 0x10 /* 801B20B0 001AF010 C0 84 00 50 */ lfs f4, 0x50(r4) /* 801B20B4 001AF014 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801B20B8 001AF018 EC 44 08 28 */ fsubs f2, f4, f1 /* 801B20BC 001AF01C C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801B20C0 001AF020 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 801B20C4 001AF024 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801B20C8 001AF028 EC 20 08 28 */ fsubs f1, f0, f1 /* 801B20CC 001AF02C D0 01 00 34 */ stfs f0, 0x34(r1) /* 801B20D0 001AF030 EC 65 18 28 */ fsubs f3, f5, f3 /* 801B20D4 001AF034 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801B20D8 001AF038 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801B20DC 001AF03C D0 21 00 40 */ stfs f1, 0x40(r1) /* 801B20E0 001AF040 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801B20E4 001AF044 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801B20E8 001AF048 48 16 21 19 */ bl __ct__9CVector2fFff /* 801B20EC 001AF04C C0 21 00 10 */ lfs f1, 0x10(r1) /* 801B20F0 001AF050 38 61 00 08 */ addi r3, r1, 8 /* 801B20F4 001AF054 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801B20F8 001AF058 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801B20FC 001AF05C D0 01 00 24 */ stfs f0, 0x24(r1) /* 801B2100 001AF060 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801B2104 001AF064 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801B2108 001AF068 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801B210C 001AF06C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801B2110 001AF070 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801B2114 001AF074 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801B2118 001AF078 48 16 20 E9 */ bl __ct__9CVector2fFff /* 801B211C 001AF07C C0 21 00 08 */ lfs f1, 8(r1) /* 801B2120 001AF080 38 61 00 18 */ addi r3, r1, 0x18 /* 801B2124 001AF084 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801B2128 001AF088 38 81 00 20 */ addi r4, r1, 0x20 /* 801B212C 001AF08C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801B2130 001AF090 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801B2134 001AF094 48 16 1E 91 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801B2138 001AF098 C0 02 A8 F4 */ lfs f0, lbl_805AC614@sda21(r2) /* 801B213C 001AF09C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2140 001AF0A0 7C 00 00 26 */ mfcr r0 /* 801B2144 001AF0A4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801B2148 001AF0A8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801B214C 001AF0AC 80 01 00 64 */ lwz r0, 0x64(r1) /* 801B2150 001AF0B0 7C 08 03 A6 */ mtlr r0 /* 801B2154 001AF0B4 38 21 00 60 */ addi r1, r1, 0x60 /* 801B2158 001AF0B8 4E 80 00 20 */ blr .global AIStage__9CFlaahgraFR13CStateManagerf AIStage__9CFlaahgraFR13CStateManagerf: /* 801B215C 001AF0BC FC 00 08 1E */ fctiwz f0, f1 /* 801B2160 001AF0C0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B2164 001AF0C4 80 63 07 80 */ lwz r3, 0x780(r3) /* 801B2168 001AF0C8 D8 01 00 08 */ stfd f0, 8(r1) /* 801B216C 001AF0CC 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B2170 001AF0D0 7C 03 00 50 */ subf r0, r3, r0 /* 801B2174 001AF0D4 7C 00 00 34 */ cntlzw r0, r0 /* 801B2178 001AF0D8 54 03 D9 7E */ srwi r3, r0, 5 /* 801B217C 001AF0DC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B2180 001AF0E0 4E 80 00 20 */ blr .global HitSomething__9CFlaahgraFR13CStateManagerf HitSomething__9CFlaahgraFR13CStateManagerf: /* 801B2184 001AF0E4 C0 23 07 D0 */ lfs f1, 0x7d0(r3) /* 801B2188 001AF0E8 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B218C 001AF0EC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2190 001AF0F0 7C 00 00 26 */ mfcr r0 /* 801B2194 001AF0F4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801B2198 001AF0F8 4E 80 00 20 */ blr .global OffLine__9CFlaahgraFR13CStateManagerf OffLine__9CFlaahgraFR13CStateManagerf: /* 801B219C 001AF0FC 88 83 08 E5 */ lbz r4, 0x8e5(r3) /* 801B21A0 001AF100 38 60 00 00 */ li r3, 0 /* 801B21A4 001AF104 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f /* 801B21A8 001AF108 4D 82 00 20 */ beqlr /* 801B21AC 001AF10C 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f /* 801B21B0 001AF110 4D 82 00 20 */ beqlr /* 801B21B4 001AF114 38 60 00 01 */ li r3, 1 /* 801B21B8 001AF118 4E 80 00 20 */ blr .global Death__9CFlaahgraFRC9CVector3fR13CStateManager Death__9CFlaahgraFRC9CVector3fR13CStateManager: /* 801B21BC 001AF11C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B21C0 001AF120 7C 08 02 A6 */ mflr r0 /* 801B21C4 001AF124 90 01 00 24 */ stw r0, 0x24(r1) /* 801B21C8 001AF128 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B21CC 001AF12C 7C 9F 23 78 */ mr r31, r4 /* 801B21D0 001AF130 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B21D4 001AF134 7C 7E 1B 78 */ mr r30, r3 /* 801B21D8 001AF138 88 03 04 00 */ lbz r0, 0x400(r3) /* 801B21DC 001AF13C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B21E0 001AF140 41 82 00 6C */ beq lbl_801B224C /* 801B21E4 001AF144 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801B21E8 001AF148 38 61 00 08 */ addi r3, r1, 8 /* 801B21EC 001AF14C 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801B21F0 001AF150 38 84 00 85 */ addi r4, r4, 0x85 /* 801B21F4 001AF154 4B E5 2A C5 */ bl string_l__4rstlFPCc /* 801B21F8 001AF158 7F C3 F3 78 */ mr r3, r30 /* 801B21FC 001AF15C 4B EF 06 FD */ bl GetStateMachine__3CAiFv /* 801B2200 001AF160 7C 66 1B 78 */ mr r6, r3 /* 801B2204 001AF164 7F E4 FB 78 */ mr r4, r31 /* 801B2208 001AF168 7F C5 F3 78 */ mr r5, r30 /* 801B220C 001AF16C 38 7E 03 30 */ addi r3, r30, 0x330 /* 801B2210 001AF170 38 E1 00 08 */ addi r7, r1, 8 /* 801B2214 001AF174 4B EC D9 F1 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801B2218 001AF178 38 61 00 08 */ addi r3, r1, 8 /* 801B221C 001AF17C 48 18 B8 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801B2220 001AF180 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B2224 001AF184 4B F8 7E A9 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801B2228 001AF188 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B222C 001AF18C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2230 001AF190 40 81 00 0C */ ble lbl_801B223C /* 801B2234 001AF194 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801B2238 001AF198 4B F8 7F 1D */ bl UnFreeze__15CBodyControllerFv lbl_801B223C: /* 801B223C 001AF19C 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801B2240 001AF1A0 38 60 00 00 */ li r3, 0 /* 801B2244 001AF1A4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B2248 001AF1A8 98 1E 04 00 */ stb r0, 0x400(r30) lbl_801B224C: /* 801B224C 001AF1AC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B2250 001AF1B0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B2254 001AF1B4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B2258 001AF1B8 7C 08 03 A6 */ mtlr r0 /* 801B225C 001AF1BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801B2260 001AF1C0 4E 80 00 20 */ blr .global DoUserAnimEvent__9CFlaahgraFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__9CFlaahgraFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 801B2264 001AF1C4 94 21 FA C0 */ stwu r1, -0x540(r1) /* 801B2268 001AF1C8 7C 08 02 A6 */ mflr r0 /* 801B226C 001AF1CC 90 01 05 44 */ stw r0, 0x544(r1) /* 801B2270 001AF1D0 DB E1 05 30 */ stfd f31, 0x530(r1) /* 801B2274 001AF1D4 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0 /* 801B2278 001AF1D8 DB C1 05 20 */ stfd f30, 0x520(r1) /* 801B227C 001AF1DC F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0 /* 801B2280 001AF1E0 DB A1 05 10 */ stfd f29, 0x510(r1) /* 801B2284 001AF1E4 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0 /* 801B2288 001AF1E8 DB 81 05 00 */ stfd f28, 0x500(r1) /* 801B228C 001AF1EC F3 81 05 08 */ psq_st f28, 1288(r1), 0, qr0 /* 801B2290 001AF1F0 BF 21 04 E4 */ stmw r25, 0x4e4(r1) /* 801B2294 001AF1F4 7C DE 33 78 */ mr r30, r6 /* 801B2298 001AF1F8 FF C0 08 90 */ fmr f30, f1 /* 801B229C 001AF1FC 28 1E 00 1A */ cmplwi r30, 0x1a /* 801B22A0 001AF200 7C 7B 1B 78 */ mr r27, r3 /* 801B22A4 001AF204 7C 9C 23 78 */ mr r28, r4 /* 801B22A8 001AF208 7C BD 2B 78 */ mr r29, r5 /* 801B22AC 001AF20C 3B E0 00 00 */ li r31, 0 /* 801B22B0 001AF210 41 81 08 48 */ bgt lbl_801B2AF8 /* 801B22B4 001AF214 3C 80 80 3E */ lis r4, lbl_803E4D74@ha /* 801B22B8 001AF218 57 C0 10 3A */ slwi r0, r30, 2 /* 801B22BC 001AF21C 38 84 4D 74 */ addi r4, r4, lbl_803E4D74@l /* 801B22C0 001AF220 7C 04 00 2E */ lwzx r0, r4, r0 /* 801B22C4 001AF224 7C 09 03 A6 */ mtctr r0 /* 801B22C8 001AF228 4E 80 04 20 */ bctr /* 801B22CC 001AF22C 7F 64 DB 78 */ mr r4, r27 /* 801B22D0 001AF230 38 61 03 0C */ addi r3, r1, 0x30c /* 801B22D4 001AF234 38 BD 00 3C */ addi r5, r29, 0x3c /* 801B22D8 001AF238 4B EC 66 A1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801B22DC 001AF23C 38 61 04 A8 */ addi r3, r1, 0x4a8 /* 801B22E0 001AF240 38 81 03 0C */ addi r4, r1, 0x30c /* 801B22E4 001AF244 48 16 08 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B22E8 001AF248 7F 64 DB 78 */ mr r4, r27 /* 801B22EC 001AF24C 7F 85 E3 78 */ mr r5, r28 /* 801B22F0 001AF250 38 61 01 1C */ addi r3, r1, 0x11c /* 801B22F4 001AF254 4B FF C3 A5 */ bl sub_801ae698 /* 801B22F8 001AF258 C0 41 01 1C */ lfs f2, 0x11c(r1) /* 801B22FC 001AF25C C0 21 01 20 */ lfs f1, 0x120(r1) /* 801B2300 001AF260 C0 01 01 24 */ lfs f0, 0x124(r1) /* 801B2304 001AF264 D0 41 01 70 */ stfs f2, 0x170(r1) /* 801B2308 001AF268 D0 21 01 74 */ stfs f1, 0x174(r1) /* 801B230C 001AF26C D0 01 01 78 */ stfs f0, 0x178(r1) /* 801B2310 001AF270 80 1B 07 B4 */ lwz r0, 0x7b4(r27) /* 801B2314 001AF274 2C 00 00 00 */ cmpwi r0, 0 /* 801B2318 001AF278 41 82 00 0C */ beq lbl_801B2324 /* 801B231C 001AF27C 2C 00 00 01 */ cmpwi r0, 1 /* 801B2320 001AF280 40 82 02 7C */ bne lbl_801B259C lbl_801B2324: /* 801B2324 001AF284 80 1B 07 2C */ lwz r0, 0x72c(r27) /* 801B2328 001AF288 2C 00 00 00 */ cmpwi r0, 0 /* 801B232C 001AF28C 40 82 01 F4 */ bne lbl_801B2520 /* 801B2330 001AF290 80 BB 07 30 */ lwz r5, 0x730(r27) /* 801B2334 001AF294 3B FB 07 34 */ addi r31, r27, 0x734 /* 801B2338 001AF298 38 60 00 00 */ li r3, 0 /* 801B233C 001AF29C 2C 05 00 00 */ cmpwi r5, 0 /* 801B2340 001AF2A0 40 81 00 40 */ ble lbl_801B2380 /* 801B2344 001AF2A4 2C 05 00 08 */ cmpwi r5, 8 /* 801B2348 001AF2A8 38 85 FF F8 */ addi r4, r5, -8 /* 801B234C 001AF2AC 40 81 00 20 */ ble lbl_801B236C /* 801B2350 001AF2B0 38 04 00 07 */ addi r0, r4, 7 /* 801B2354 001AF2B4 54 00 E8 FE */ srwi r0, r0, 3 /* 801B2358 001AF2B8 7C 09 03 A6 */ mtctr r0 /* 801B235C 001AF2BC 2C 04 00 00 */ cmpwi r4, 0 /* 801B2360 001AF2C0 40 81 00 0C */ ble lbl_801B236C lbl_801B2364: /* 801B2364 001AF2C4 38 63 00 08 */ addi r3, r3, 8 /* 801B2368 001AF2C8 42 00 FF FC */ bdnz lbl_801B2364 lbl_801B236C: /* 801B236C 001AF2CC 7C 03 28 50 */ subf r0, r3, r5 /* 801B2370 001AF2D0 7C 09 03 A6 */ mtctr r0 /* 801B2374 001AF2D4 7C 03 28 00 */ cmpw r3, r5 /* 801B2378 001AF2D8 40 80 00 08 */ bge lbl_801B2380 lbl_801B237C: /* 801B237C 001AF2DC 42 00 00 00 */ bdnz lbl_801B237C lbl_801B2380: /* 801B2380 001AF2E0 38 00 00 00 */ li r0, 0 /* 801B2384 001AF2E4 7F 63 DB 78 */ mr r3, r27 /* 801B2388 001AF2E8 90 1B 07 30 */ stw r0, 0x730(r27) /* 801B238C 001AF2EC 83 5C 08 4C */ lwz r26, 0x84c(r28) /* 801B2390 001AF2F0 C0 41 04 B4 */ lfs f2, 0x4b4(r1) /* 801B2394 001AF2F4 C0 21 04 C4 */ lfs f1, 0x4c4(r1) /* 801B2398 001AF2F8 C0 01 04 D4 */ lfs f0, 0x4d4(r1) /* 801B239C 001AF2FC D0 41 01 04 */ stfs f2, 0x104(r1) /* 801B23A0 001AF300 D0 21 01 08 */ stfs f1, 0x108(r1) /* 801B23A4 001AF304 D0 01 01 0C */ stfs f0, 0x10c(r1) /* 801B23A8 001AF308 81 9B 00 00 */ lwz r12, 0(r27) /* 801B23AC 001AF30C 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801B23B0 001AF310 7D 89 03 A6 */ mtctr r12 /* 801B23B4 001AF314 4E 80 04 21 */ bctrl /* 801B23B8 001AF318 FC 20 F0 90 */ fmr f1, f30 /* 801B23BC 001AF31C 7C 64 1B 78 */ mr r4, r3 /* 801B23C0 001AF320 7F 47 D3 78 */ mr r7, r26 /* 801B23C4 001AF324 38 61 01 10 */ addi r3, r1, 0x110 /* 801B23C8 001AF328 38 A1 01 04 */ addi r5, r1, 0x104 /* 801B23CC 001AF32C 38 C1 01 70 */ addi r6, r1, 0x170 /* 801B23D0 001AF330 39 00 00 00 */ li r8, 0 /* 801B23D4 001AF334 48 06 9B 19 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf /* 801B23D8 001AF338 80 1B 07 30 */ lwz r0, 0x730(r27) /* 801B23DC 001AF33C C3 A1 01 10 */ lfs f29, 0x110(r1) /* 801B23E0 001AF340 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B23E4 001AF344 C3 81 01 14 */ lfs f28, 0x114(r1) /* 801B23E8 001AF348 C3 E1 01 18 */ lfs f31, 0x118(r1) /* 801B23EC 001AF34C 7C 7F 02 15 */ add. r3, r31, r0 /* 801B23F0 001AF350 41 82 00 10 */ beq lbl_801B2400 /* 801B23F4 001AF354 D3 A3 00 00 */ stfs f29, 0(r3) /* 801B23F8 001AF358 D3 83 00 04 */ stfs f28, 4(r3) /* 801B23FC 001AF35C D3 E3 00 08 */ stfs f31, 8(r3) lbl_801B2400: /* 801B2400 001AF360 80 9B 07 30 */ lwz r4, 0x730(r27) /* 801B2404 001AF364 38 61 02 E8 */ addi r3, r1, 0x2e8 /* 801B2408 001AF368 38 04 00 01 */ addi r0, r4, 1 /* 801B240C 001AF36C 38 9B 00 34 */ addi r4, r27, 0x34 /* 801B2410 001AF370 90 1B 07 30 */ stw r0, 0x730(r27) /* 801B2414 001AF374 48 16 0C E1 */ bl BuildMatrix3f__12CTransform4fCFv /* 801B2418 001AF378 38 61 04 84 */ addi r3, r1, 0x484 /* 801B241C 001AF37C 38 81 02 E8 */ addi r4, r1, 0x2e8 /* 801B2420 001AF380 48 15 DC 05 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 801B2424 001AF384 80 1B 07 B4 */ lwz r0, 0x7b4(r27) /* 801B2428 001AF388 2C 00 00 01 */ cmpwi r0, 1 /* 801B242C 001AF38C 40 82 00 0C */ bne lbl_801B2438 /* 801B2430 001AF390 C0 02 A9 18 */ lfs f0, lbl_805AC638@sda21(r2) /* 801B2434 001AF394 48 00 00 08 */ b lbl_801B243C lbl_801B2438: /* 801B2438 001AF398 C0 02 A9 1C */ lfs f0, lbl_805AC63C@sda21(r2) lbl_801B243C: /* 801B243C 001AF39C D0 01 00 40 */ stfs f0, 0x40(r1) /* 801B2440 001AF3A0 38 61 02 C4 */ addi r3, r1, 0x2c4 /* 801B2444 001AF3A4 38 81 00 40 */ addi r4, r1, 0x40 /* 801B2448 001AF3A8 48 15 DF C1 */ bl RotateZ__9CMatrix3fFRC9CRelAngle /* 801B244C 001AF3AC 38 61 04 60 */ addi r3, r1, 0x460 /* 801B2450 001AF3B0 38 81 02 C4 */ addi r4, r1, 0x2c4 /* 801B2454 001AF3B4 48 15 DB D1 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 801B2458 001AF3B8 3B 40 00 01 */ li r26, 1 lbl_801B245C: /* 801B245C 001AF3BC C0 5B 00 50 */ lfs f2, 0x50(r27) /* 801B2460 001AF3C0 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801B2464 001AF3C4 C0 3B 00 60 */ lfs f1, 0x60(r27) /* 801B2468 001AF3C8 38 9B 00 34 */ addi r4, r27, 0x34 /* 801B246C 001AF3CC C0 1B 00 40 */ lfs f0, 0x40(r27) /* 801B2470 001AF3D0 EC 5C 10 28 */ fsubs f2, f28, f2 /* 801B2474 001AF3D4 EC 3F 08 28 */ fsubs f1, f31, f1 /* 801B2478 001AF3D8 38 A1 00 EC */ addi r5, r1, 0xec /* 801B247C 001AF3DC EC 1D 00 28 */ fsubs f0, f29, f0 /* 801B2480 001AF3E0 D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 801B2484 001AF3E4 D0 01 00 EC */ stfs f0, 0xec(r1) /* 801B2488 001AF3E8 D0 21 00 F4 */ stfs f1, 0xf4(r1) /* 801B248C 001AF3EC 48 16 05 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801B2490 001AF3F0 C0 41 00 F8 */ lfs f2, 0xf8(r1) /* 801B2494 001AF3F4 38 61 02 A0 */ addi r3, r1, 0x2a0 /* 801B2498 001AF3F8 C0 21 00 FC */ lfs f1, 0xfc(r1) /* 801B249C 001AF3FC 38 81 04 84 */ addi r4, r1, 0x484 /* 801B24A0 001AF400 C0 01 01 00 */ lfs f0, 0x100(r1) /* 801B24A4 001AF404 38 A1 04 60 */ addi r5, r1, 0x460 /* 801B24A8 001AF408 D0 41 01 64 */ stfs f2, 0x164(r1) /* 801B24AC 001AF40C D0 21 01 68 */ stfs f1, 0x168(r1) /* 801B24B0 001AF410 D0 01 01 6C */ stfs f0, 0x16c(r1) /* 801B24B4 001AF414 48 15 DC 7D */ bl __ml__9CMatrix3fCFRC9CMatrix3f /* 801B24B8 001AF418 38 61 04 84 */ addi r3, r1, 0x484 /* 801B24BC 001AF41C 38 81 02 A0 */ addi r4, r1, 0x2a0 /* 801B24C0 001AF420 48 15 DB 39 */ bl __as__9CMatrix3fFRC9CMatrix3f /* 801B24C4 001AF424 38 61 00 E0 */ addi r3, r1, 0xe0 /* 801B24C8 001AF428 38 81 04 84 */ addi r4, r1, 0x484 /* 801B24CC 001AF42C 38 A1 01 64 */ addi r5, r1, 0x164 /* 801B24D0 001AF430 48 15 DD C5 */ bl __ml__9CMatrix3fCFRC9CVector3f /* 801B24D4 001AF434 80 1B 07 30 */ lwz r0, 0x730(r27) /* 801B24D8 001AF438 C0 7B 00 40 */ lfs f3, 0x40(r27) /* 801B24DC 001AF43C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B24E0 001AF440 C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 801B24E4 001AF444 C0 3B 00 50 */ lfs f1, 0x50(r27) /* 801B24E8 001AF448 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801B24EC 001AF44C EF A3 10 2A */ fadds f29, f3, f2 /* 801B24F0 001AF450 7C 7F 02 15 */ add. r3, r31, r0 /* 801B24F4 001AF454 EF 81 00 2A */ fadds f28, f1, f0 /* 801B24F8 001AF458 41 82 00 10 */ beq lbl_801B2508 /* 801B24FC 001AF45C D3 A3 00 00 */ stfs f29, 0(r3) /* 801B2500 001AF460 D3 83 00 04 */ stfs f28, 4(r3) /* 801B2504 001AF464 D3 E3 00 08 */ stfs f31, 8(r3) lbl_801B2508: /* 801B2508 001AF468 80 7B 07 30 */ lwz r3, 0x730(r27) /* 801B250C 001AF46C 3B 5A 00 01 */ addi r26, r26, 1 /* 801B2510 001AF470 2C 1A 00 05 */ cmpwi r26, 5 /* 801B2514 001AF474 38 03 00 01 */ addi r0, r3, 1 /* 801B2518 001AF478 90 1B 07 30 */ stw r0, 0x730(r27) /* 801B251C 001AF47C 41 80 FF 40 */ blt lbl_801B245C lbl_801B2520: /* 801B2520 001AF480 80 7B 07 2C */ lwz r3, 0x72c(r27) /* 801B2524 001AF484 2C 03 00 00 */ cmpwi r3, 0 /* 801B2528 001AF488 41 80 02 60 */ blt lbl_801B2788 /* 801B252C 001AF48C 80 1B 07 30 */ lwz r0, 0x730(r27) /* 801B2530 001AF490 7C 03 00 00 */ cmpw r3, r0 /* 801B2534 001AF494 40 80 02 54 */ bge lbl_801B2788 /* 801B2538 001AF498 1C 03 00 0C */ mulli r0, r3, 0xc /* 801B253C 001AF49C C0 41 04 B4 */ lfs f2, 0x4b4(r1) /* 801B2540 001AF4A0 C0 21 04 C4 */ lfs f1, 0x4c4(r1) /* 801B2544 001AF4A4 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 801B2548 001AF4A8 C0 01 04 D4 */ lfs f0, 0x4d4(r1) /* 801B254C 001AF4AC 38 61 02 70 */ addi r3, r1, 0x270 /* 801B2550 001AF4B0 7C BB 02 14 */ add r5, r27, r0 /* 801B2554 001AF4B4 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l /* 801B2558 001AF4B8 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 801B255C 001AF4BC 38 81 00 D4 */ addi r4, r1, 0xd4 /* 801B2560 001AF4C0 38 A5 07 34 */ addi r5, r5, 0x734 /* 801B2564 001AF4C4 D0 21 00 D8 */ stfs f1, 0xd8(r1) /* 801B2568 001AF4C8 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801B256C 001AF4CC 48 16 15 A5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801B2570 001AF4D0 38 61 04 30 */ addi r3, r1, 0x430 /* 801B2574 001AF4D4 38 81 02 70 */ addi r4, r1, 0x270 /* 801B2578 001AF4D8 48 16 05 FD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B257C 001AF4DC 7F 63 DB 78 */ mr r3, r27 /* 801B2580 001AF4E0 7F 85 E3 78 */ mr r5, r28 /* 801B2584 001AF4E4 38 81 04 30 */ addi r4, r1, 0x430 /* 801B2588 001AF4E8 4B FF B7 2D */ bl sub_801adcb4 /* 801B258C 001AF4EC 80 7B 07 2C */ lwz r3, 0x72c(r27) /* 801B2590 001AF4F0 38 03 00 01 */ addi r0, r3, 1 /* 801B2594 001AF4F4 90 1B 07 2C */ stw r0, 0x72c(r27) /* 801B2598 001AF4F8 48 00 01 F0 */ b lbl_801B2788 lbl_801B259C: /* 801B259C 001AF4FC 83 5C 08 4C */ lwz r26, 0x84c(r28) /* 801B25A0 001AF500 7F 63 DB 78 */ mr r3, r27 /* 801B25A4 001AF504 C0 41 04 B4 */ lfs f2, 0x4b4(r1) /* 801B25A8 001AF508 C0 21 04 C4 */ lfs f1, 0x4c4(r1) /* 801B25AC 001AF50C C0 01 04 D4 */ lfs f0, 0x4d4(r1) /* 801B25B0 001AF510 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801B25B4 001AF514 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801B25B8 001AF518 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801B25BC 001AF51C 81 9B 00 00 */ lwz r12, 0(r27) /* 801B25C0 001AF520 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801B25C4 001AF524 7D 89 03 A6 */ mtctr r12 /* 801B25C8 001AF528 4E 80 04 21 */ bctrl /* 801B25CC 001AF52C FC 20 F0 90 */ fmr f1, f30 /* 801B25D0 001AF530 7C 64 1B 78 */ mr r4, r3 /* 801B25D4 001AF534 7F 47 D3 78 */ mr r7, r26 /* 801B25D8 001AF538 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801B25DC 001AF53C 38 A1 00 BC */ addi r5, r1, 0xbc /* 801B25E0 001AF540 38 C1 01 70 */ addi r6, r1, 0x170 /* 801B25E4 001AF544 39 00 00 00 */ li r8, 0 /* 801B25E8 001AF548 48 06 99 05 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf /* 801B25EC 001AF54C C0 C1 00 C8 */ lfs f6, 0xc8(r1) /* 801B25F0 001AF550 38 61 00 54 */ addi r3, r1, 0x54 /* 801B25F4 001AF554 C0 A1 00 CC */ lfs f5, 0xcc(r1) /* 801B25F8 001AF558 C0 81 00 D0 */ lfs f4, 0xd0(r1) /* 801B25FC 001AF55C C0 21 04 C4 */ lfs f1, 0x4c4(r1) /* 801B2600 001AF560 C0 01 04 B4 */ lfs f0, 0x4b4(r1) /* 801B2604 001AF564 EC 45 08 28 */ fsubs f2, f5, f1 /* 801B2608 001AF568 C0 61 04 D4 */ lfs f3, 0x4d4(r1) /* 801B260C 001AF56C EC 26 00 28 */ fsubs f1, f6, f0 /* 801B2610 001AF570 D0 C1 01 58 */ stfs f6, 0x158(r1) /* 801B2614 001AF574 EC C4 18 28 */ fsubs f6, f4, f3 /* 801B2618 001AF578 D0 A1 01 5C */ stfs f5, 0x15c(r1) /* 801B261C 001AF57C D0 81 01 60 */ stfs f4, 0x160(r1) /* 801B2620 001AF580 C0 9B 00 58 */ lfs f4, 0x58(r27) /* 801B2624 001AF584 C0 7B 00 48 */ lfs f3, 0x48(r27) /* 801B2628 001AF588 C0 1B 00 38 */ lfs f0, 0x38(r27) /* 801B262C 001AF58C D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801B2630 001AF590 D0 01 01 4C */ stfs f0, 0x14c(r1) /* 801B2634 001AF594 D0 61 01 50 */ stfs f3, 0x150(r1) /* 801B2638 001AF598 D0 81 01 54 */ stfs f4, 0x154(r1) /* 801B263C 001AF59C D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 801B2640 001AF5A0 D0 C1 00 B8 */ stfs f6, 0xb8(r1) /* 801B2644 001AF5A4 48 16 1B BD */ bl __ct__9CVector2fFff /* 801B2648 001AF5A8 C0 41 00 54 */ lfs f2, 0x54(r1) /* 801B264C 001AF5AC 38 61 01 4C */ addi r3, r1, 0x14c /* 801B2650 001AF5B0 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801B2654 001AF5B4 38 81 01 40 */ addi r4, r1, 0x140 /* 801B2658 001AF5B8 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B265C 001AF5BC D0 41 01 40 */ stfs f2, 0x140(r1) /* 801B2660 001AF5C0 D0 21 01 44 */ stfs f1, 0x144(r1) /* 801B2664 001AF5C4 D0 01 01 48 */ stfs f0, 0x148(r1) /* 801B2668 001AF5C8 48 16 1F C9 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801B266C 001AF5CC C0 02 A9 14 */ lfs f0, lbl_805AC634@sda21(r2) /* 801B2670 001AF5D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2674 001AF5D4 40 81 00 C8 */ ble lbl_801B273C /* 801B2678 001AF5D8 38 61 01 40 */ addi r3, r1, 0x140 /* 801B267C 001AF5DC 48 16 20 7D */ bl CanBeNormalized__9CVector3fCFv /* 801B2680 001AF5E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B2684 001AF5E4 41 82 00 74 */ beq lbl_801B26F8 /* 801B2688 001AF5E8 C0 02 A9 14 */ lfs f0, lbl_805AC634@sda21(r2) /* 801B268C 001AF5EC 38 61 00 98 */ addi r3, r1, 0x98 /* 801B2690 001AF5F0 38 81 01 40 */ addi r4, r1, 0x140 /* 801B2694 001AF5F4 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801B2698 001AF5F8 48 16 21 B9 */ bl AsNormalized__9CVector3fCFv /* 801B269C 001AF5FC 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801B26A0 001AF600 38 81 01 4C */ addi r4, r1, 0x14c /* 801B26A4 001AF604 38 A1 00 98 */ addi r5, r1, 0x98 /* 801B26A8 001AF608 38 C1 00 3C */ addi r6, r1, 0x3c /* 801B26AC 001AF60C 48 16 22 A9 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 801B26B0 001AF610 C3 81 00 A4 */ lfs f28, 0xa4(r1) /* 801B26B4 001AF614 38 61 01 40 */ addi r3, r1, 0x140 /* 801B26B8 001AF618 C3 A1 00 A8 */ lfs f29, 0xa8(r1) /* 801B26BC 001AF61C C3 E1 00 AC */ lfs f31, 0xac(r1) /* 801B26C0 001AF620 48 16 21 F9 */ bl Magnitude__9CVector3fCFv /* 801B26C4 001AF624 EC 81 07 72 */ fmuls f4, f1, f29 /* 801B26C8 001AF628 C0 A1 04 C4 */ lfs f5, 0x4c4(r1) /* 801B26CC 001AF62C EC 41 07 F2 */ fmuls f2, f1, f31 /* 801B26D0 001AF630 C0 61 04 D4 */ lfs f3, 0x4d4(r1) /* 801B26D4 001AF634 EC 01 07 32 */ fmuls f0, f1, f28 /* 801B26D8 001AF638 C0 21 04 B4 */ lfs f1, 0x4b4(r1) /* 801B26DC 001AF63C EC 85 20 2A */ fadds f4, f5, f4 /* 801B26E0 001AF640 EC 43 10 2A */ fadds f2, f3, f2 /* 801B26E4 001AF644 EC 01 00 2A */ fadds f0, f1, f0 /* 801B26E8 001AF648 D0 81 01 5C */ stfs f4, 0x15c(r1) /* 801B26EC 001AF64C D0 01 01 58 */ stfs f0, 0x158(r1) /* 801B26F0 001AF650 D0 41 01 60 */ stfs f2, 0x160(r1) /* 801B26F4 001AF654 48 00 00 48 */ b lbl_801B273C lbl_801B26F8: /* 801B26F8 001AF658 38 61 01 40 */ addi r3, r1, 0x140 /* 801B26FC 001AF65C 48 16 21 BD */ bl Magnitude__9CVector3fCFv /* 801B2700 001AF660 C0 61 04 BC */ lfs f3, 0x4bc(r1) /* 801B2704 001AF664 C0 41 04 CC */ lfs f2, 0x4cc(r1) /* 801B2708 001AF668 C0 01 04 AC */ lfs f0, 0x4ac(r1) /* 801B270C 001AF66C EC 81 00 F2 */ fmuls f4, f1, f3 /* 801B2710 001AF670 C0 A1 04 C4 */ lfs f5, 0x4c4(r1) /* 801B2714 001AF674 EC 41 00 B2 */ fmuls f2, f1, f2 /* 801B2718 001AF678 C0 61 04 D4 */ lfs f3, 0x4d4(r1) /* 801B271C 001AF67C EC 01 00 32 */ fmuls f0, f1, f0 /* 801B2720 001AF680 C0 21 04 B4 */ lfs f1, 0x4b4(r1) /* 801B2724 001AF684 EC 85 20 2A */ fadds f4, f5, f4 /* 801B2728 001AF688 EC 43 10 2A */ fadds f2, f3, f2 /* 801B272C 001AF68C EC 01 00 2A */ fadds f0, f1, f0 /* 801B2730 001AF690 D0 81 01 5C */ stfs f4, 0x15c(r1) /* 801B2734 001AF694 D0 01 01 58 */ stfs f0, 0x158(r1) /* 801B2738 001AF698 D0 41 01 60 */ stfs f2, 0x160(r1) lbl_801B273C: /* 801B273C 001AF69C C0 41 04 B4 */ lfs f2, 0x4b4(r1) /* 801B2740 001AF6A0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801B2744 001AF6A4 C0 21 04 C4 */ lfs f1, 0x4c4(r1) /* 801B2748 001AF6A8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801B274C 001AF6AC C0 01 04 D4 */ lfs f0, 0x4d4(r1) /* 801B2750 001AF6B0 38 61 02 40 */ addi r3, r1, 0x240 /* 801B2754 001AF6B4 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801B2758 001AF6B8 38 81 00 8C */ addi r4, r1, 0x8c /* 801B275C 001AF6BC 38 A1 01 58 */ addi r5, r1, 0x158 /* 801B2760 001AF6C0 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801B2764 001AF6C4 D0 01 00 94 */ stfs f0, 0x94(r1) /* 801B2768 001AF6C8 48 16 13 A9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801B276C 001AF6CC 38 61 04 00 */ addi r3, r1, 0x400 /* 801B2770 001AF6D0 38 81 02 40 */ addi r4, r1, 0x240 /* 801B2774 001AF6D4 48 16 04 01 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B2778 001AF6D8 7F 63 DB 78 */ mr r3, r27 /* 801B277C 001AF6DC 7F 85 E3 78 */ mr r5, r28 /* 801B2780 001AF6E0 38 81 04 00 */ addi r4, r1, 0x400 /* 801B2784 001AF6E4 4B FF B5 31 */ bl sub_801adcb4 lbl_801B2788: /* 801B2788 001AF6E8 3B E0 00 01 */ li r31, 1 /* 801B278C 001AF6EC 48 00 03 6C */ b lbl_801B2AF8 /* 801B2790 001AF6F0 88 1B 08 E4 */ lbz r0, 0x8e4(r27) /* 801B2794 001AF6F4 38 80 00 01 */ li r4, 1 /* 801B2798 001AF6F8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801B279C 001AF6FC 98 1B 08 E4 */ stb r0, 0x8e4(r27) /* 801B27A0 001AF700 4B FF C1 25 */ bl sub_801ae8c4 /* 801B27A4 001AF704 D0 3B 07 C4 */ stfs f1, 0x7c4(r27) /* 801B27A8 001AF708 48 00 03 50 */ b lbl_801B2AF8 /* 801B27AC 001AF70C 7F 64 DB 78 */ mr r4, r27 /* 801B27B0 001AF710 38 61 02 10 */ addi r3, r1, 0x210 /* 801B27B4 001AF714 38 BD 00 3C */ addi r5, r29, 0x3c /* 801B27B8 001AF718 4B EC 61 C1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801B27BC 001AF71C 38 61 03 D0 */ addi r3, r1, 0x3d0 /* 801B27C0 001AF720 38 81 02 10 */ addi r4, r1, 0x210 /* 801B27C4 001AF724 48 16 03 B1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B27C8 001AF728 C0 41 03 DC */ lfs f2, 0x3dc(r1) /* 801B27CC 001AF72C 7F 63 DB 78 */ mr r3, r27 /* 801B27D0 001AF730 C0 21 03 EC */ lfs f1, 0x3ec(r1) /* 801B27D4 001AF734 7F 84 E3 78 */ mr r4, r28 /* 801B27D8 001AF738 C0 01 03 FC */ lfs f0, 0x3fc(r1) /* 801B27DC 001AF73C 38 A1 00 80 */ addi r5, r1, 0x80 /* 801B27E0 001AF740 D0 41 00 80 */ stfs f2, 0x80(r1) /* 801B27E4 001AF744 D0 21 00 84 */ stfs f1, 0x84(r1) /* 801B27E8 001AF748 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801B27EC 001AF74C 4B FF BA 09 */ bl sub_801ae1f4 /* 801B27F0 001AF750 3B E0 00 01 */ li r31, 1 /* 801B27F4 001AF754 48 00 03 04 */ b lbl_801B2AF8 /* 801B27F8 001AF758 A0 7B 07 7C */ lhz r3, 0x77c(r27) /* 801B27FC 001AF75C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B2800 001AF760 7C 03 00 40 */ cmplw r3, r0 /* 801B2804 001AF764 41 82 02 F4 */ beq lbl_801B2AF8 /* 801B2808 001AF768 A0 1B 07 7C */ lhz r0, 0x77c(r27) /* 801B280C 001AF76C 7F 83 E3 78 */ mr r3, r28 /* 801B2810 001AF770 38 81 00 28 */ addi r4, r1, 0x28 /* 801B2814 001AF774 B0 01 00 28 */ sth r0, 0x28(r1) /* 801B2818 001AF778 4B E9 9D 5D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B281C 001AF77C 7C 64 1B 78 */ mr r4, r3 /* 801B2820 001AF780 38 61 00 4C */ addi r3, r1, 0x4c /* 801B2824 001AF784 4B EF 3D 29 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801B2828 001AF788 80 83 00 04 */ lwz r4, 4(r3) /* 801B282C 001AF78C 28 04 00 00 */ cmplwi r4, 0 /* 801B2830 001AF790 41 82 02 C8 */ beq lbl_801B2AF8 /* 801B2834 001AF794 A0 1B 00 08 */ lhz r0, 8(r27) /* 801B2838 001AF798 7F 83 E3 78 */ mr r3, r28 /* 801B283C 001AF79C 38 A1 00 24 */ addi r5, r1, 0x24 /* 801B2840 001AF7A0 38 C0 00 02 */ li r6, 2 /* 801B2844 001AF7A4 B0 01 00 20 */ sth r0, 0x20(r1) /* 801B2848 001AF7A8 B0 01 00 24 */ sth r0, 0x24(r1) /* 801B284C 001AF7AC 4B E9 16 85 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage /* 801B2850 001AF7B0 80 7B 07 F8 */ lwz r3, 0x7f8(r27) /* 801B2854 001AF7B4 2C 03 00 00 */ cmpwi r3, 0 /* 801B2858 001AF7B8 40 81 02 A0 */ ble lbl_801B2AF8 /* 801B285C 001AF7BC 38 03 FF FF */ addi r0, r3, -1 /* 801B2860 001AF7C0 90 1B 07 F8 */ stw r0, 0x7f8(r27) /* 801B2864 001AF7C4 48 00 02 94 */ b lbl_801B2AF8 /* 801B2868 001AF7C8 7F 64 DB 78 */ mr r4, r27 /* 801B286C 001AF7CC 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 801B2870 001AF7D0 38 BD 00 3C */ addi r5, r29, 0x3c /* 801B2874 001AF7D4 4B EC 61 05 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801B2878 001AF7D8 38 61 03 A0 */ addi r3, r1, 0x3a0 /* 801B287C 001AF7DC 38 81 01 E0 */ addi r4, r1, 0x1e0 /* 801B2880 001AF7E0 48 16 02 F5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B2884 001AF7E4 80 9C 08 4C */ lwz r4, 0x84c(r28) /* 801B2888 001AF7E8 7F 85 E3 78 */ mr r5, r28 /* 801B288C 001AF7EC 38 61 00 74 */ addi r3, r1, 0x74 /* 801B2890 001AF7F0 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B2894 001AF7F4 81 84 00 00 */ lwz r12, 0(r4) /* 801B2898 001AF7F8 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801B289C 001AF7FC 7D 89 03 A6 */ mtctr r12 /* 801B28A0 001AF800 4E 80 04 21 */ bctrl /* 801B28A4 001AF804 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 801B28A8 001AF808 38 01 01 3C */ addi r0, r1, 0x13c /* 801B28AC 001AF80C C0 A1 03 CC */ lfs f5, 0x3cc(r1) /* 801B28B0 001AF810 38 61 01 30 */ addi r3, r1, 0x130 /* 801B28B4 001AF814 C0 81 00 74 */ lfs f4, 0x74(r1) /* 801B28B8 001AF818 C0 61 00 78 */ lfs f3, 0x78(r1) /* 801B28BC 001AF81C FC 02 28 40 */ fcmpo cr0, f2, f5 /* 801B28C0 001AF820 C0 21 03 AC */ lfs f1, 0x3ac(r1) /* 801B28C4 001AF824 C0 01 03 BC */ lfs f0, 0x3bc(r1) /* 801B28C8 001AF828 D0 81 01 34 */ stfs f4, 0x134(r1) /* 801B28CC 001AF82C D0 61 01 38 */ stfs f3, 0x138(r1) /* 801B28D0 001AF830 D0 41 01 3C */ stfs f2, 0x13c(r1) /* 801B28D4 001AF834 D0 21 01 28 */ stfs f1, 0x128(r1) /* 801B28D8 001AF838 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 801B28DC 001AF83C D0 A1 01 30 */ stfs f5, 0x130(r1) /* 801B28E0 001AF840 40 80 00 08 */ bge lbl_801B28E8 /* 801B28E4 001AF844 48 00 00 08 */ b lbl_801B28EC lbl_801B28E8: /* 801B28E8 001AF848 7C 03 03 78 */ mr r3, r0 lbl_801B28EC: /* 801B28EC 001AF84C C0 03 00 00 */ lfs f0, 0(r3) /* 801B28F0 001AF850 38 61 03 70 */ addi r3, r1, 0x370 /* 801B28F4 001AF854 38 9B 00 34 */ addi r4, r27, 0x34 /* 801B28F8 001AF858 D0 01 01 30 */ stfs f0, 0x130(r1) /* 801B28FC 001AF85C 48 16 02 79 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B2900 001AF860 C0 41 01 28 */ lfs f2, 0x128(r1) /* 801B2904 001AF864 38 60 00 00 */ li r3, 0 /* 801B2908 001AF868 C0 21 01 2C */ lfs f1, 0x12c(r1) /* 801B290C 001AF86C 38 80 00 01 */ li r4, 1 /* 801B2910 001AF870 C0 01 01 30 */ lfs f0, 0x130(r1) /* 801B2914 001AF874 80 AD 90 8C */ lwz r5, lbl_805A7C4C@sda21(r13) /* 801B2918 001AF878 D0 41 03 7C */ stfs f2, 0x37c(r1) /* 801B291C 001AF87C D0 21 03 8C */ stfs f1, 0x38c(r1) /* 801B2920 001AF880 D0 01 03 9C */ stfs f0, 0x39c(r1) /* 801B2924 001AF884 48 1D 75 D1 */ bl __shl2i /* 801B2928 001AF888 C0 61 03 7C */ lfs f3, 0x37c(r1) /* 801B292C 001AF88C 39 00 00 01 */ li r8, 1 /* 801B2930 001AF890 38 00 00 00 */ li r0, 0 /* 801B2934 001AF894 C0 41 03 8C */ lfs f2, 0x38c(r1) /* 801B2938 001AF898 C0 01 03 9C */ lfs f0, 0x39c(r1) /* 801B293C 001AF89C 3C A0 80 5A */ lis r5, lbl_805A6700@ha /* 801B2940 001AF8A0 90 81 01 9C */ stw r4, 0x19c(r1) /* 801B2944 001AF8A4 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l /* 801B2948 001AF8A8 C0 22 A8 FC */ lfs f1, lbl_805AC61C@sda21(r2) /* 801B294C 001AF8AC 7F 84 E3 78 */ mr r4, r28 /* 801B2950 001AF8B0 90 61 01 98 */ stw r3, 0x198(r1) /* 801B2954 001AF8B4 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 801B2958 001AF8B8 38 A1 00 68 */ addi r5, r1, 0x68 /* 801B295C 001AF8BC 38 E1 01 98 */ addi r7, r1, 0x198 /* 801B2960 001AF8C0 91 01 01 90 */ stw r8, 0x190(r1) /* 801B2964 001AF8C4 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 801B2968 001AF8C8 90 01 01 A0 */ stw r0, 0x1a0(r1) /* 801B296C 001AF8CC 91 01 01 A8 */ stw r8, 0x1a8(r1) /* 801B2970 001AF8D0 D0 61 00 68 */ stfs f3, 0x68(r1) /* 801B2974 001AF8D4 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801B2978 001AF8D8 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801B297C 001AF8DC 4B E9 A6 1D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801B2980 001AF8E0 88 81 01 D0 */ lbz r4, 0x1d0(r1) /* 801B2984 001AF8E4 C0 E1 01 B0 */ lfs f7, 0x1b0(r1) /* 801B2988 001AF8E8 C0 C1 01 B4 */ lfs f6, 0x1b4(r1) /* 801B298C 001AF8EC 28 04 00 00 */ cmplwi r4, 0 /* 801B2990 001AF8F0 C0 A1 01 B8 */ lfs f5, 0x1b8(r1) /* 801B2994 001AF8F4 C0 81 01 BC */ lfs f4, 0x1bc(r1) /* 801B2998 001AF8F8 C0 61 01 C0 */ lfs f3, 0x1c0(r1) /* 801B299C 001AF8FC C0 41 01 C4 */ lfs f2, 0x1c4(r1) /* 801B29A0 001AF900 C0 21 01 C8 */ lfs f1, 0x1c8(r1) /* 801B29A4 001AF904 C0 01 01 CC */ lfs f0, 0x1cc(r1) /* 801B29A8 001AF908 80 01 01 D8 */ lwz r0, 0x1d8(r1) /* 801B29AC 001AF90C 80 61 01 DC */ lwz r3, 0x1dc(r1) /* 801B29B0 001AF910 D0 E1 03 40 */ stfs f7, 0x340(r1) /* 801B29B4 001AF914 D0 C1 03 44 */ stfs f6, 0x344(r1) /* 801B29B8 001AF918 D0 A1 03 48 */ stfs f5, 0x348(r1) /* 801B29BC 001AF91C D0 81 03 4C */ stfs f4, 0x34c(r1) /* 801B29C0 001AF920 D0 61 03 50 */ stfs f3, 0x350(r1) /* 801B29C4 001AF924 D0 41 03 54 */ stfs f2, 0x354(r1) /* 801B29C8 001AF928 D0 21 03 58 */ stfs f1, 0x358(r1) /* 801B29CC 001AF92C D0 01 03 5C */ stfs f0, 0x35c(r1) /* 801B29D0 001AF930 98 81 03 60 */ stb r4, 0x360(r1) /* 801B29D4 001AF934 90 61 03 6C */ stw r3, 0x36c(r1) /* 801B29D8 001AF938 90 01 03 68 */ stw r0, 0x368(r1) /* 801B29DC 001AF93C 41 82 00 F8 */ beq lbl_801B2AD4 /* 801B29E0 001AF940 3C 60 80 3D */ lis r3, lbl_803D1590@ha /* 801B29E4 001AF944 D0 C1 03 7C */ stfs f6, 0x37c(r1) /* 801B29E8 001AF948 38 63 15 90 */ addi r3, r3, lbl_803D1590@l /* 801B29EC 001AF94C 3B 20 00 00 */ li r25, 0 /* 801B29F0 001AF950 D0 A1 03 8C */ stfs f5, 0x38c(r1) /* 801B29F4 001AF954 38 83 00 7E */ addi r4, r3, 0x7e /* 801B29F8 001AF958 38 60 01 70 */ li r3, 0x170 /* 801B29FC 001AF95C 38 A0 00 00 */ li r5, 0 /* 801B2A00 001AF960 D0 81 03 9C */ stfs f4, 0x39c(r1) /* 801B2A04 001AF964 48 16 2E 69 */ bl __nw__FUlPCcPCc /* 801B2A08 001AF968 7C 7A 1B 79 */ or. r26, r3, r3 /* 801B2A0C 001AF96C 41 82 00 84 */ beq lbl_801B2A90 /* 801B2A10 001AF970 38 61 00 44 */ addi r3, r1, 0x44 /* 801B2A14 001AF974 38 9B 06 D4 */ addi r4, r27, 0x6d4 /* 801B2A18 001AF978 48 18 E4 91 */ bl __ct__6CTokenFRC6CToken /* 801B2A1C 001AF97C 7F 84 E3 78 */ mr r4, r28 /* 801B2A20 001AF980 38 61 00 10 */ addi r3, r1, 0x10 /* 801B2A24 001AF984 3B 20 00 01 */ li r25, 1 /* 801B2A28 001AF988 4B E9 A6 B5 */ bl AllocateUniqueId__13CStateManagerFv /* 801B2A2C 001AF98C A0 81 00 10 */ lhz r4, 0x10(r1) /* 801B2A30 001AF990 38 01 00 5C */ addi r0, r1, 0x5c /* 801B2A34 001AF994 C0 22 A9 0C */ lfs f1, lbl_805AC62C@sda21(r2) /* 801B2A38 001AF998 7F 43 D3 78 */ mr r3, r26 /* 801B2A3C 001AF99C B0 81 00 14 */ sth r4, 0x14(r1) /* 801B2A40 001AF9A0 38 81 00 44 */ addi r4, r1, 0x44 /* 801B2A44 001AF9A4 C0 02 A8 F0 */ lfs f0, lbl_805AC610@sda21(r2) /* 801B2A48 001AF9A8 38 BB 06 44 */ addi r5, r27, 0x644 /* 801B2A4C 001AF9AC 81 9B 00 04 */ lwz r12, 4(r27) /* 801B2A50 001AF9B0 38 C1 00 14 */ addi r6, r1, 0x14 /* 801B2A54 001AF9B4 38 E1 00 38 */ addi r7, r1, 0x38 /* 801B2A58 001AF9B8 39 01 00 1C */ addi r8, r1, 0x1c /* 801B2A5C 001AF9BC 91 81 00 38 */ stw r12, 0x38(r1) /* 801B2A60 001AF9C0 39 21 03 70 */ addi r9, r1, 0x370 /* 801B2A64 001AF9C4 39 5B 06 28 */ addi r10, r27, 0x628 /* 801B2A68 001AF9C8 A1 7B 00 08 */ lhz r11, 8(r27) /* 801B2A6C 001AF9CC 91 81 00 34 */ stw r12, 0x34(r1) /* 801B2A70 001AF9D0 B1 61 00 1C */ sth r11, 0x1c(r1) /* 801B2A74 001AF9D4 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801B2A78 001AF9D8 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801B2A7C 001AF9DC D0 21 00 64 */ stfs f1, 0x64(r1) /* 801B2A80 001AF9E0 B1 61 00 18 */ sth r11, 0x18(r1) /* 801B2A84 001AF9E4 90 01 00 08 */ stw r0, 8(r1) /* 801B2A88 001AF9E8 48 05 60 4D */ bl "__ct__15CFlaahgraPlantsF25TToken<15CGenDescription>9TUniqueId9TUniqueIdRC12CTransform4fRC11CDamageInfoRC9CVector3f" /* 801B2A8C 001AF9EC 7C 7A 1B 78 */ mr r26, r3 lbl_801B2A90: /* 801B2A90 001AF9F0 7F 20 07 75 */ extsb. r0, r25 /* 801B2A94 001AF9F4 41 82 00 10 */ beq lbl_801B2AA4 /* 801B2A98 001AF9F8 38 61 00 44 */ addi r3, r1, 0x44 /* 801B2A9C 001AF9FC 38 80 00 00 */ li r4, 0 /* 801B2AA0 001AFA00 48 18 E3 A1 */ bl __dt__6CTokenFv lbl_801B2AA4: /* 801B2AA4 001AFA04 7F 83 E3 78 */ mr r3, r28 /* 801B2AA8 001AFA08 7F 44 D3 78 */ mr r4, r26 /* 801B2AAC 001AFA0C 4B E9 A2 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801B2AB0 001AFA10 80 1B 00 04 */ lwz r0, 4(r27) /* 801B2AB4 001AFA14 7F 83 E3 78 */ mr r3, r28 /* 801B2AB8 001AFA18 7F 44 D3 78 */ mr r4, r26 /* 801B2ABC 001AFA1C 38 A1 00 30 */ addi r5, r1, 0x30 /* 801B2AC0 001AFA20 90 01 00 2C */ stw r0, 0x2c(r1) /* 801B2AC4 001AFA24 90 01 00 30 */ stw r0, 0x30(r1) /* 801B2AC8 001AFA28 4B E9 27 B1 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId /* 801B2ACC 001AFA2C C0 02 A9 20 */ lfs f0, lbl_805AC640@sda21(r2) /* 801B2AD0 001AFA30 D0 1B 07 CC */ stfs f0, 0x7cc(r27) lbl_801B2AD4: /* 801B2AD4 001AFA34 88 1B 08 E4 */ lbz r0, 0x8e4(r27) /* 801B2AD8 001AFA38 38 60 00 01 */ li r3, 1 /* 801B2ADC 001AFA3C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801B2AE0 001AFA40 98 1B 08 E4 */ stb r0, 0x8e4(r27) /* 801B2AE4 001AFA44 48 00 00 14 */ b lbl_801B2AF8 /* 801B2AE8 001AFA48 7F 85 E3 78 */ mr r5, r28 /* 801B2AEC 001AFA4C 38 80 00 19 */ li r4, 0x19 /* 801B2AF0 001AFA50 38 C0 FF FF */ li r6, -1 /* 801B2AF4 001AFA54 4B E9 E5 CD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801B2AF8: /* 801B2AF8 001AFA58 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801B2AFC 001AFA5C 40 82 00 1C */ bne lbl_801B2B18 /* 801B2B00 001AFA60 FC 20 F0 90 */ fmr f1, f30 /* 801B2B04 001AFA64 7F 63 DB 78 */ mr r3, r27 /* 801B2B08 001AFA68 7F 84 E3 78 */ mr r4, r28 /* 801B2B0C 001AFA6C 7F A5 EB 78 */ mr r5, r29 /* 801B2B10 001AFA70 7F C6 F3 78 */ mr r6, r30 /* 801B2B14 001AFA74 4B EC 63 9D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_801B2B18: /* 801B2B18 001AFA78 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0 /* 801B2B1C 001AFA7C CB E1 05 30 */ lfd f31, 0x530(r1) /* 801B2B20 001AFA80 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0 /* 801B2B24 001AFA84 CB C1 05 20 */ lfd f30, 0x520(r1) /* 801B2B28 001AFA88 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0 /* 801B2B2C 001AFA8C CB A1 05 10 */ lfd f29, 0x510(r1) /* 801B2B30 001AFA90 E3 81 05 08 */ psq_l f28, 1288(r1), 0, qr0 /* 801B2B34 001AFA94 CB 81 05 00 */ lfd f28, 0x500(r1) /* 801B2B38 001AFA98 BB 21 04 E4 */ lmw r25, 0x4e4(r1) /* 801B2B3C 001AFA9C 80 01 05 44 */ lwz r0, 0x544(r1) /* 801B2B40 001AFAA0 7C 08 03 A6 */ mtlr r0 /* 801B2B44 001AFAA4 38 21 05 40 */ addi r1, r1, 0x540 /* 801B2B48 001AFAA8 4E 80 00 20 */ blr .global ProjectileInfo__9CFlaahgraFv ProjectileInfo__9CFlaahgraFv: /* 801B2B4C 001AFAAC 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801B2B50 001AFAB0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801B2B54 001AFAB4 41 82 00 0C */ beq lbl_801B2B60 /* 801B2B58 001AFAB8 38 63 07 04 */ addi r3, r3, 0x704 /* 801B2B5C 001AFABC 4E 80 00 20 */ blr lbl_801B2B60: /* 801B2B60 001AFAC0 38 63 06 DC */ addi r3, r3, 0x6dc /* 801B2B64 001AFAC4 4E 80 00 20 */ blr .global GetAimPosition__9CFlaahgraCFRC13CStateManagerf GetAimPosition__9CFlaahgraCFRC13CStateManagerf: /* 801B2B68 001AFAC8 C0 04 08 20 */ lfs f0, 0x820(r4) /* 801B2B6C 001AFACC D0 03 00 00 */ stfs f0, 0(r3) /* 801B2B70 001AFAD0 C0 04 08 24 */ lfs f0, 0x824(r4) /* 801B2B74 001AFAD4 D0 03 00 04 */ stfs f0, 4(r3) /* 801B2B78 001AFAD8 C0 04 08 28 */ lfs f0, 0x828(r4) /* 801B2B7C 001AFADC D0 03 00 08 */ stfs f0, 8(r3) /* 801B2B80 001AFAE0 4E 80 00 20 */ blr .global AddToRenderer__9CFlaahgraCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__9CFlaahgraCFRC14CFrustumPlanesRC13CStateManager: /* 801B2B84 001AFAE4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B2B88 001AFAE8 7C 08 02 A6 */ mflr r0 /* 801B2B8C 001AFAEC 90 01 00 14 */ stw r0, 0x14(r1) /* 801B2B90 001AFAF0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B2B94 001AFAF4 7C BF 2B 78 */ mr r31, r5 /* 801B2B98 001AFAF8 93 C1 00 08 */ stw r30, 8(r1) /* 801B2B9C 001AFAFC 7C 7E 1B 78 */ mr r30, r3 /* 801B2BA0 001AFB00 80 83 00 64 */ lwz r4, 0x64(r3) /* 801B2BA4 001AFB04 38 60 00 00 */ li r3, 0 /* 801B2BA8 001AFB08 80 04 00 10 */ lwz r0, 0x10(r4) /* 801B2BAC 001AFB0C 28 00 00 00 */ cmplwi r0, 0 /* 801B2BB0 001AFB10 40 82 00 14 */ bne lbl_801B2BC4 /* 801B2BB4 001AFB14 88 04 00 28 */ lbz r0, 0x28(r4) /* 801B2BB8 001AFB18 28 00 00 00 */ cmplwi r0, 0 /* 801B2BBC 001AFB1C 40 82 00 08 */ bne lbl_801B2BC4 /* 801B2BC0 001AFB20 38 60 00 01 */ li r3, 1 lbl_801B2BC4: /* 801B2BC4 001AFB24 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B2BC8 001AFB28 40 82 00 58 */ bne lbl_801B2C20 /* 801B2BCC 001AFB2C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801B2BD0 001AFB30 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801B2BD4 001AFB34 40 82 00 4C */ bne lbl_801B2C20 /* 801B2BD8 001AFB38 7F C3 F3 78 */ mr r3, r30 /* 801B2BDC 001AFB3C 7F E4 FB 78 */ mr r4, r31 /* 801B2BE0 001AFB40 81 9E 00 00 */ lwz r12, 0(r30) /* 801B2BE4 001AFB44 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801B2BE8 001AFB48 7D 89 03 A6 */ mtctr r12 /* 801B2BEC 001AFB4C 4E 80 04 21 */ bctrl /* 801B2BF0 001AFB50 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B2BF4 001AFB54 41 82 00 20 */ beq lbl_801B2C14 /* 801B2BF8 001AFB58 7F C3 F3 78 */ mr r3, r30 /* 801B2BFC 001AFB5C 7F E4 FB 78 */ mr r4, r31 /* 801B2C00 001AFB60 81 9E 00 00 */ lwz r12, 0(r30) /* 801B2C04 001AFB64 81 8C 00 28 */ lwz r12, 0x28(r12) /* 801B2C08 001AFB68 7D 89 03 A6 */ mtctr r12 /* 801B2C0C 001AFB6C 4E 80 04 21 */ bctrl /* 801B2C10 001AFB70 48 00 00 10 */ b lbl_801B2C20 lbl_801B2C14: /* 801B2C14 001AFB74 7F C3 F3 78 */ mr r3, r30 /* 801B2C18 001AFB78 7F E4 FB 78 */ mr r4, r31 /* 801B2C1C 001AFB7C 4B EA 1D B1 */ bl EnsureRendered__6CActorCFRC13CStateManager lbl_801B2C20: /* 801B2C20 001AFB80 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B2C24 001AFB84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B2C28 001AFB88 83 C1 00 08 */ lwz r30, 8(r1) /* 801B2C2C 001AFB8C 7C 08 03 A6 */ mtlr r0 /* 801B2C30 001AFB90 38 21 00 10 */ addi r1, r1, 0x10 /* 801B2C34 001AFB94 4E 80 00 20 */ blr .global CanRenderUnsorted__9CFlaahgraCFRC13CStateManager CanRenderUnsorted__9CFlaahgraCFRC13CStateManager: /* 801B2C38 001AFB98 38 60 00 01 */ li r3, 1 /* 801B2C3C 001AFB9C 4E 80 00 20 */ blr .global AcceptScriptMsg__9CFlaahgraF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__9CFlaahgraF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801B2C40 001AFBA0 94 21 FE 90 */ stwu r1, -0x170(r1) /* 801B2C44 001AFBA4 7C 08 02 A6 */ mflr r0 /* 801B2C48 001AFBA8 90 01 01 74 */ stw r0, 0x174(r1) /* 801B2C4C 001AFBAC BF 21 01 54 */ stmw r25, 0x154(r1) /* 801B2C50 001AFBB0 7C 9C 23 78 */ mr r28, r4 /* 801B2C54 001AFBB4 28 1C 00 29 */ cmplwi r28, 0x29 /* 801B2C58 001AFBB8 7C 7F 1B 78 */ mr r31, r3 /* 801B2C5C 001AFBBC 7C BD 2B 78 */ mr r29, r5 /* 801B2C60 001AFBC0 7C DE 33 78 */ mr r30, r6 /* 801B2C64 001AFBC4 41 81 07 F8 */ bgt lbl_801B345C /* 801B2C68 001AFBC8 3C 80 80 3E */ lis r4, lbl_803E4DE0@ha /* 801B2C6C 001AFBCC 57 80 10 3A */ slwi r0, r28, 2 /* 801B2C70 001AFBD0 38 84 4D E0 */ addi r4, r4, lbl_803E4DE0@l /* 801B2C74 001AFBD4 7C 04 00 2E */ lwzx r0, r4, r0 /* 801B2C78 001AFBD8 7C 09 03 A6 */ mtctr r0 /* 801B2C7C 001AFBDC 4E 80 04 20 */ bctr /* 801B2C80 001AFBE0 88 7F 08 E4 */ lbz r3, 0x8e4(r31) /* 801B2C84 001AFBE4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801B2C88 001AFBE8 40 82 00 4C */ bne lbl_801B2CD4 /* 801B2C8C 001AFBEC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801B2C90 001AFBF0 40 82 00 44 */ bne lbl_801B2CD4 /* 801B2C94 001AFBF4 80 DF 00 04 */ lwz r6, 4(r31) /* 801B2C98 001AFBF8 38 60 00 01 */ li r3, 1 /* 801B2C9C 001AFBFC 80 BE 08 50 */ lwz r5, 0x850(r30) /* 801B2CA0 001AFC00 54 C4 18 38 */ slwi r4, r6, 3 /* 801B2CA4 001AFC04 90 C1 00 78 */ stw r6, 0x78(r1) /* 801B2CA8 001AFC08 80 A5 00 20 */ lwz r5, 0x20(r5) /* 801B2CAC 001AFC0C 38 04 00 04 */ addi r0, r4, 4 /* 801B2CB0 001AFC10 90 C1 00 68 */ stw r6, 0x68(r1) /* 801B2CB4 001AFC14 7C 85 00 2E */ lwzx r4, r5, r0 /* 801B2CB8 001AFC18 80 A4 01 2C */ lwz r5, 0x12c(r4) /* 801B2CBC 001AFC1C 80 85 11 3C */ lwz r4, 0x113c(r5) /* 801B2CC0 001AFC20 38 04 00 01 */ addi r0, r4, 1 /* 801B2CC4 001AFC24 90 05 11 3C */ stw r0, 0x113c(r5) /* 801B2CC8 001AFC28 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801B2CCC 001AFC2C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B2CD0 001AFC30 98 1F 08 E4 */ stb r0, 0x8e4(r31) lbl_801B2CD4: /* 801B2CD4 001AFC34 7F E3 FB 78 */ mr r3, r31 /* 801B2CD8 001AFC38 7F C4 F3 78 */ mr r4, r30 /* 801B2CDC 001AFC3C 4B FF B3 D5 */ bl sub_801ae0b0 /* 801B2CE0 001AFC40 48 00 07 7C */ b lbl_801B345C /* 801B2CE4 001AFC44 7F C4 F3 78 */ mr r4, r30 /* 801B2CE8 001AFC48 4B FF AC F5 */ bl sub_801ad9dc /* 801B2CEC 001AFC4C 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B2CF0 001AFC50 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801B2CF4 001AFC54 40 82 07 68 */ bne lbl_801B345C /* 801B2CF8 001AFC58 7F E3 FB 78 */ mr r3, r31 /* 801B2CFC 001AFC5C 7F C4 F3 78 */ mr r4, r30 /* 801B2D00 001AFC60 4B FF C8 2D */ bl sub_801af52c /* 801B2D04 001AFC64 7F C4 F3 78 */ mr r4, r30 /* 801B2D08 001AFC68 38 61 00 50 */ addi r3, r1, 0x50 /* 801B2D0C 001AFC6C 4B E9 A3 D1 */ bl AllocateUniqueId__13CStateManagerFv /* 801B2D10 001AFC70 A0 01 00 50 */ lhz r0, 0x50(r1) /* 801B2D14 001AFC74 3C 60 80 3D */ lis r3, lbl_803D1590@ha /* 801B2D18 001AFC78 38 63 15 90 */ addi r3, r3, lbl_803D1590@l /* 801B2D1C 001AFC7C 3B 40 00 00 */ li r26, 0 /* 801B2D20 001AFC80 B0 1F 06 D0 */ sth r0, 0x6d0(r31) /* 801B2D24 001AFC84 38 83 00 7E */ addi r4, r3, 0x7e /* 801B2D28 001AFC88 3B 20 00 00 */ li r25, 0 /* 801B2D2C 001AFC8C 38 60 00 F0 */ li r3, 0xf0 /* 801B2D30 001AFC90 38 A0 00 00 */ li r5, 0 /* 801B2D34 001AFC94 48 16 2B 39 */ bl __nw__FUlPCcPCc /* 801B2D38 001AFC98 7C 7B 1B 79 */ or. r27, r3, r3 /* 801B2D3C 001AFC9C 41 82 00 80 */ beq lbl_801B2DBC /* 801B2D40 001AFCA0 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 801B2D44 001AFCA4 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801B2D48 001AFCA8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801B2D4C 001AFCAC 38 81 00 70 */ addi r4, r1, 0x70 /* 801B2D50 001AFCB0 90 01 00 74 */ stw r0, 0x74(r1) /* 801B2D54 001AFCB4 38 61 01 14 */ addi r3, r1, 0x114 /* 801B2D58 001AFCB8 38 C1 00 74 */ addi r6, r1, 0x74 /* 801B2D5C 001AFCBC 80 1F 00 04 */ lwz r0, 4(r31) /* 801B2D60 001AFCC0 90 01 00 6C */ stw r0, 0x6c(r1) /* 801B2D64 001AFCC4 90 01 00 70 */ stw r0, 0x70(r1) /* 801B2D68 001AFCC8 4B E9 E7 1D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801B2D6C 001AFCCC 3C 80 80 3D */ lis r4, lbl_803D1590@ha /* 801B2D70 001AFCD0 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801B2D74 001AFCD4 38 84 15 90 */ addi r4, r4, lbl_803D1590@l /* 801B2D78 001AFCD8 3B 40 00 01 */ li r26, 1 /* 801B2D7C 001AFCDC 38 84 00 8A */ addi r4, r4, 0x8a /* 801B2D80 001AFCE0 4B E5 1F 39 */ bl string_l__4rstlFPCc /* 801B2D84 001AFCE4 A1 3F 00 08 */ lhz r9, 8(r31) /* 801B2D88 001AFCE8 7F 63 DB 78 */ mr r3, r27 /* 801B2D8C 001AFCEC 38 81 00 44 */ addi r4, r1, 0x44 /* 801B2D90 001AFCF0 38 A1 00 4C */ addi r5, r1, 0x4c /* 801B2D94 001AFCF4 B1 21 00 4C */ sth r9, 0x4c(r1) /* 801B2D98 001AFCF8 38 C1 00 B4 */ addi r6, r1, 0xb4 /* 801B2D9C 001AFCFC 38 E1 01 14 */ addi r7, r1, 0x114 /* 801B2DA0 001AFD00 39 1F 00 34 */ addi r8, r31, 0x34 /* 801B2DA4 001AFD04 A0 1F 06 D0 */ lhz r0, 0x6d0(r31) /* 801B2DA8 001AFD08 3B 20 00 01 */ li r25, 1 /* 801B2DAC 001AFD0C B1 21 00 48 */ sth r9, 0x48(r1) /* 801B2DB0 001AFD10 B0 01 00 44 */ sth r0, 0x44(r1) /* 801B2DB4 001AFD14 4B FF A8 E9 */ bl "__ct__17CFlaahgraRendererF9TUniqueId9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4f" /* 801B2DB8 001AFD18 7C 7B 1B 78 */ mr r27, r3 lbl_801B2DBC: /* 801B2DBC 001AFD1C 7F C3 F3 78 */ mr r3, r30 /* 801B2DC0 001AFD20 7F 64 DB 78 */ mr r4, r27 /* 801B2DC4 001AFD24 4B E9 9F 31 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801B2DC8 001AFD28 7F 20 07 75 */ extsb. r0, r25 /* 801B2DCC 001AFD2C 41 82 00 0C */ beq lbl_801B2DD8 /* 801B2DD0 001AFD30 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801B2DD4 001AFD34 48 18 AD 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801B2DD8: /* 801B2DD8 001AFD38 7F 40 07 75 */ extsb. r0, r26 /* 801B2DDC 001AFD3C 41 82 00 44 */ beq lbl_801B2E20 /* 801B2DE0 001AFD40 80 01 01 1C */ lwz r0, 0x11c(r1) /* 801B2DE4 001AFD44 80 61 01 24 */ lwz r3, 0x124(r1) /* 801B2DE8 001AFD48 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B2DEC 001AFD4C 90 61 00 5C */ stw r3, 0x5c(r1) /* 801B2DF0 001AFD50 7C 64 1B 78 */ mr r4, r3 /* 801B2DF4 001AFD54 7C 03 02 14 */ add r0, r3, r0 /* 801B2DF8 001AFD58 90 61 00 58 */ stw r3, 0x58(r1) /* 801B2DFC 001AFD5C 90 01 00 64 */ stw r0, 0x64(r1) /* 801B2E00 001AFD60 90 01 00 60 */ stw r0, 0x60(r1) /* 801B2E04 001AFD64 48 00 00 08 */ b lbl_801B2E0C lbl_801B2E08: /* 801B2E08 001AFD68 38 84 00 0C */ addi r4, r4, 0xc lbl_801B2E0C: /* 801B2E0C 001AFD6C 7C 04 00 40 */ cmplw r4, r0 /* 801B2E10 001AFD70 40 82 FF F8 */ bne lbl_801B2E08 /* 801B2E14 001AFD74 28 03 00 00 */ cmplwi r3, 0 /* 801B2E18 001AFD78 41 82 00 08 */ beq lbl_801B2E20 /* 801B2E1C 001AFD7C 48 16 2B 15 */ bl Free__7CMemoryFPCv lbl_801B2E20: /* 801B2E20 001AFD80 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B2E24 001AFD84 38 80 00 00 */ li r4, 0 /* 801B2E28 001AFD88 4B F8 7B B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801B2E2C 001AFD8C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B2E30 001AFD90 7F C4 F3 78 */ mr r4, r30 /* 801B2E34 001AFD94 4B F8 7E BD */ bl Activate__15CBodyControllerFR13CStateManager /* 801B2E38 001AFD98 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B2E3C 001AFD9C 38 60 00 01 */ li r3, 1 /* 801B2E40 001AFDA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801B2E44 001AFDA4 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B2E48 001AFDA8 48 00 06 14 */ b lbl_801B345C /* 801B2E4C 001AFDAC 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B2E50 001AFDB0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801B2E54 001AFDB4 41 82 06 08 */ beq lbl_801B345C /* 801B2E58 001AFDB8 80 7F 07 9C */ lwz r3, 0x79c(r31) /* 801B2E5C 001AFDBC 7F C4 F3 78 */ mr r4, r30 /* 801B2E60 001AFDC0 4B FF 45 65 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801B2E64 001AFDC4 80 7F 07 A0 */ lwz r3, 0x7a0(r31) /* 801B2E68 001AFDC8 7F C4 F3 78 */ mr r4, r30 /* 801B2E6C 001AFDCC 4B FF 45 59 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801B2E70 001AFDD0 80 7F 07 A4 */ lwz r3, 0x7a4(r31) /* 801B2E74 001AFDD4 7F C4 F3 78 */ mr r4, r30 /* 801B2E78 001AFDD8 4B FF 45 4D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801B2E7C 001AFDDC A0 1F 06 D0 */ lhz r0, 0x6d0(r31) /* 801B2E80 001AFDE0 7F C3 F3 78 */ mr r3, r30 /* 801B2E84 001AFDE4 38 81 00 40 */ addi r4, r1, 0x40 /* 801B2E88 001AFDE8 B0 01 00 40 */ sth r0, 0x40(r1) /* 801B2E8C 001AFDEC 4B E9 93 E1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801B2E90 001AFDF0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B2E94 001AFDF4 38 60 00 00 */ li r3, 0 /* 801B2E98 001AFDF8 B0 1F 06 D0 */ sth r0, 0x6d0(r31) /* 801B2E9C 001AFDFC 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B2EA0 001AFE00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801B2EA4 001AFE04 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B2EA8 001AFE08 48 00 05 B4 */ b lbl_801B345C /* 801B2EAC 001AFE0C 81 83 00 00 */ lwz r12, 0(r3) /* 801B2EB0 001AFE10 7F C4 F3 78 */ mr r4, r30 /* 801B2EB4 001AFE14 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801B2EB8 001AFE18 7D 89 03 A6 */ mtctr r12 /* 801B2EBC 001AFE1C 4E 80 04 21 */ bctrl /* 801B2EC0 001AFE20 C0 23 00 00 */ lfs f1, 0(r3) /* 801B2EC4 001AFE24 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B2EC8 001AFE28 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2ECC 001AFE2C 40 81 05 90 */ ble lbl_801B345C /* 801B2ED0 001AFE30 A0 1D 00 00 */ lhz r0, 0(r29) /* 801B2ED4 001AFE34 7F C3 F3 78 */ mr r3, r30 /* 801B2ED8 001AFE38 38 81 00 3C */ addi r4, r1, 0x3c /* 801B2EDC 001AFE3C B0 01 00 3C */ sth r0, 0x3c(r1) /* 801B2EE0 001AFE40 4B E9 96 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B2EE4 001AFE44 7C 64 1B 78 */ mr r4, r3 /* 801B2EE8 001AFE48 38 61 00 94 */ addi r3, r1, 0x94 /* 801B2EEC 001AFE4C 4B EF C4 61 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801B2EF0 001AFE50 80 83 00 04 */ lwz r4, 4(r3) /* 801B2EF4 001AFE54 28 04 00 00 */ cmplwi r4, 0 /* 801B2EF8 001AFE58 41 82 05 64 */ beq lbl_801B345C /* 801B2EFC 001AFE5C 38 61 00 38 */ addi r3, r1, 0x38 /* 801B2F00 001AFE60 4B FF 5C 8D */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801B2F04 001AFE64 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801B2F08 001AFE68 A0 81 00 38 */ lhz r4, 0x38(r1) /* 801B2F0C 001AFE6C A0 03 00 08 */ lhz r0, 8(r3) /* 801B2F10 001AFE70 7C 04 00 40 */ cmplw r4, r0 /* 801B2F14 001AFE74 40 82 05 48 */ bne lbl_801B345C /* 801B2F18 001AFE78 C0 3F 04 20 */ lfs f1, 0x420(r31) /* 801B2F1C 001AFE7C C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B2F20 001AFE80 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B2F24 001AFE84 4C 40 13 82 */ cror 2, 0, 2 /* 801B2F28 001AFE88 40 82 05 34 */ bne lbl_801B345C /* 801B2F2C 001AFE8C 7F E4 FB 78 */ mr r4, r31 /* 801B2F30 001AFE90 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801B2F34 001AFE94 81 9F 00 00 */ lwz r12, 0(r31) /* 801B2F38 001AFE98 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801B2F3C 001AFE9C 7D 89 03 A6 */ mtctr r12 /* 801B2F40 001AFEA0 4E 80 04 21 */ bctrl /* 801B2F44 001AFEA4 80 81 00 F8 */ lwz r4, 0xf8(r1) /* 801B2F48 001AFEA8 88 61 00 FC */ lbz r3, 0xfc(r1) /* 801B2F4C 001AFEAC C0 61 01 00 */ lfs f3, 0x100(r1) /* 801B2F50 001AFEB0 C0 41 01 04 */ lfs f2, 0x104(r1) /* 801B2F54 001AFEB4 C0 21 01 08 */ lfs f1, 0x108(r1) /* 801B2F58 001AFEB8 C0 01 01 0C */ lfs f0, 0x10c(r1) /* 801B2F5C 001AFEBC 88 01 01 10 */ lbz r0, 0x110(r1) /* 801B2F60 001AFEC0 90 81 01 2C */ stw r4, 0x12c(r1) /* 801B2F64 001AFEC4 98 61 01 30 */ stb r3, 0x130(r1) /* 801B2F68 001AFEC8 D0 61 01 34 */ stfs f3, 0x134(r1) /* 801B2F6C 001AFECC D0 41 01 38 */ stfs f2, 0x138(r1) /* 801B2F70 001AFED0 D0 21 01 3C */ stfs f1, 0x13c(r1) /* 801B2F74 001AFED4 D0 01 01 40 */ stfs f0, 0x140(r1) /* 801B2F78 001AFED8 98 01 01 44 */ stb r0, 0x144(r1) /* 801B2F7C 001AFEDC 80 1F 07 A8 */ lwz r0, 0x7a8(r31) /* 801B2F80 001AFEE0 2C 00 00 04 */ cmpwi r0, 4 /* 801B2F84 001AFEE4 40 82 00 40 */ bne lbl_801B2FC4 /* 801B2F88 001AFEE8 80 7F 07 DC */ lwz r3, 0x7dc(r31) /* 801B2F8C 001AFEEC 80 1F 07 E0 */ lwz r0, 0x7e0(r31) /* 801B2F90 001AFEF0 90 61 01 2C */ stw r3, 0x12c(r1) /* 801B2F94 001AFEF4 90 01 01 30 */ stw r0, 0x130(r1) /* 801B2F98 001AFEF8 C0 1F 07 E4 */ lfs f0, 0x7e4(r31) /* 801B2F9C 001AFEFC D0 01 01 34 */ stfs f0, 0x134(r1) /* 801B2FA0 001AFF00 C0 1F 07 E8 */ lfs f0, 0x7e8(r31) /* 801B2FA4 001AFF04 D0 01 01 38 */ stfs f0, 0x138(r1) /* 801B2FA8 001AFF08 C0 1F 07 EC */ lfs f0, 0x7ec(r31) /* 801B2FAC 001AFF0C D0 01 01 3C */ stfs f0, 0x13c(r1) /* 801B2FB0 001AFF10 C0 1F 07 F0 */ lfs f0, 0x7f0(r31) /* 801B2FB4 001AFF14 D0 01 01 40 */ stfs f0, 0x140(r1) /* 801B2FB8 001AFF18 88 1F 07 F4 */ lbz r0, 0x7f4(r31) /* 801B2FBC 001AFF1C 98 01 01 44 */ stb r0, 0x144(r1) /* 801B2FC0 001AFF20 48 00 00 24 */ b lbl_801B2FE4 lbl_801B2FC4: /* 801B2FC4 001AFF24 7F E3 FB 78 */ mr r3, r31 /* 801B2FC8 001AFF28 4B FF B6 A9 */ bl sub_801ae670 /* 801B2FCC 001AFF2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B2FD0 001AFF30 40 82 00 14 */ bne lbl_801B2FE4 /* 801B2FD4 001AFF34 C0 22 A8 E4 */ lfs f1, lbl_805AC604@sda21(r2) /* 801B2FD8 001AFF38 C0 01 01 34 */ lfs f0, 0x134(r1) /* 801B2FDC 001AFF3C EC 01 00 32 */ fmuls f0, f1, f0 /* 801B2FE0 001AFF40 D0 01 01 34 */ stfs f0, 0x134(r1) lbl_801B2FE4: /* 801B2FE4 001AFF44 80 1F 07 88 */ lwz r0, 0x788(r31) /* 801B2FE8 001AFF48 2C 00 00 02 */ cmpwi r0, 2 /* 801B2FEC 001AFF4C 41 80 00 14 */ blt lbl_801B3000 /* 801B2FF0 001AFF50 C0 22 A8 B4 */ lfs f1, lbl_805AC5D4@sda21(r2) /* 801B2FF4 001AFF54 C0 01 01 34 */ lfs f0, 0x134(r1) /* 801B2FF8 001AFF58 EC 01 00 32 */ fmuls f0, f1, f0 /* 801B2FFC 001AFF5C D0 01 01 34 */ stfs f0, 0x134(r1) lbl_801B3000: /* 801B3000 001AFF60 80 AD 90 88 */ lwz r5, lbl_805A7C48@sda21(r13) /* 801B3004 001AFF64 38 60 00 00 */ li r3, 0 /* 801B3008 001AFF68 38 80 00 01 */ li r4, 1 /* 801B300C 001AFF6C 48 1D 6E E9 */ bl __shl2i /* 801B3010 001AFF70 39 40 00 00 */ li r10, 0 /* 801B3014 001AFF74 38 00 00 03 */ li r0, 3 /* 801B3018 001AFF78 90 81 00 E4 */ stw r4, 0xe4(r1) /* 801B301C 001AFF7C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B3020 001AFF80 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801B3024 001AFF84 38 A1 00 2C */ addi r5, r1, 0x2c /* 801B3028 001AFF88 90 61 00 E0 */ stw r3, 0xe0(r1) /* 801B302C 001AFF8C 38 81 00 34 */ addi r4, r1, 0x34 /* 801B3030 001AFF90 7F C3 F3 78 */ mr r3, r30 /* 801B3034 001AFF94 38 C1 00 24 */ addi r6, r1, 0x24 /* 801B3038 001AFF98 91 41 00 EC */ stw r10, 0xec(r1) /* 801B303C 001AFF9C 38 E1 01 2C */ addi r7, r1, 0x12c /* 801B3040 001AFFA0 39 01 00 E0 */ addi r8, r1, 0xe0 /* 801B3044 001AFFA4 91 41 00 E8 */ stw r10, 0xe8(r1) /* 801B3048 001AFFA8 90 01 00 F0 */ stw r0, 0xf0(r1) /* 801B304C 001AFFAC A0 1F 00 08 */ lhz r0, 8(r31) /* 801B3050 001AFFB0 B0 01 00 24 */ sth r0, 0x24(r1) /* 801B3054 001AFFB4 81 5E 08 4C */ lwz r10, 0x84c(r30) /* 801B3058 001AFFB8 B0 01 00 20 */ sth r0, 0x20(r1) /* 801B305C 001AFFBC A1 4A 00 08 */ lhz r10, 8(r10) /* 801B3060 001AFFC0 B1 41 00 2C */ sth r10, 0x2c(r1) /* 801B3064 001AFFC4 A0 1F 00 08 */ lhz r0, 8(r31) /* 801B3068 001AFFC8 B1 41 00 28 */ sth r10, 0x28(r1) /* 801B306C 001AFFCC B0 01 00 30 */ sth r0, 0x30(r1) /* 801B3070 001AFFD0 B0 01 00 34 */ sth r0, 0x34(r1) /* 801B3074 001AFFD4 4B E9 70 2D */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801B3078 001AFFD8 C0 1F 04 24 */ lfs f0, 0x424(r31) /* 801B307C 001AFFDC D0 1F 04 20 */ stfs f0, 0x420(r31) /* 801B3080 001AFFE0 48 00 03 DC */ b lbl_801B345C /* 801B3084 001AFFE4 81 83 00 00 */ lwz r12, 0(r3) /* 801B3088 001AFFE8 7F C4 F3 78 */ mr r4, r30 /* 801B308C 001AFFEC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801B3090 001AFFF0 7D 89 03 A6 */ mtctr r12 /* 801B3094 001AFFF4 4E 80 04 21 */ bctrl /* 801B3098 001AFFF8 C0 23 00 00 */ lfs f1, 0(r3) /* 801B309C 001AFFFC C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B30A0 001B0000 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B30A4 001B0004 40 81 03 B8 */ ble lbl_801B345C /* 801B30A8 001B0008 A0 1D 00 00 */ lhz r0, 0(r29) /* 801B30AC 001B000C 7F E3 FB 78 */ mr r3, r31 /* 801B30B0 001B0010 38 81 00 1C */ addi r4, r1, 0x1c /* 801B30B4 001B0014 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801B30B8 001B0018 4B FF BB 01 */ bl sub_801aebb8 /* 801B30BC 001B001C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B30C0 001B0020 41 82 03 9C */ beq lbl_801B345C /* 801B30C4 001B0024 A0 1D 00 00 */ lhz r0, 0(r29) /* 801B30C8 001B0028 7F C3 F3 78 */ mr r3, r30 /* 801B30CC 001B002C 38 81 00 18 */ addi r4, r1, 0x18 /* 801B30D0 001B0030 B0 01 00 18 */ sth r0, 0x18(r1) /* 801B30D4 001B0034 4B E9 94 D1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B30D8 001B0038 7C 64 1B 78 */ mr r4, r3 /* 801B30DC 001B003C 38 61 00 8C */ addi r3, r1, 0x8c /* 801B30E0 001B0040 4B EF C2 6D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801B30E4 001B0044 80 83 00 04 */ lwz r4, 4(r3) /* 801B30E8 001B0048 28 04 00 00 */ cmplwi r4, 0 /* 801B30EC 001B004C 41 82 03 70 */ beq lbl_801B345C /* 801B30F0 001B0050 38 61 00 14 */ addi r3, r1, 0x14 /* 801B30F4 001B0054 4B FF 5A 99 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801B30F8 001B0058 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801B30FC 001B005C 7F C3 F3 78 */ mr r3, r30 /* 801B3100 001B0060 38 81 00 10 */ addi r4, r1, 0x10 /* 801B3104 001B0064 B0 01 00 54 */ sth r0, 0x54(r1) /* 801B3108 001B0068 B0 01 00 10 */ sth r0, 0x10(r1) /* 801B310C 001B006C 4B E9 94 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B3110 001B0070 7C 64 1B 78 */ mr r4, r3 /* 801B3114 001B0074 38 61 00 84 */ addi r3, r1, 0x84 /* 801B3118 001B0078 4B EF A5 F5 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 801B311C 001B007C 83 63 00 04 */ lwz r27, 4(r3) /* 801B3120 001B0080 28 1B 00 00 */ cmplwi r27, 0 /* 801B3124 001B0084 41 82 03 38 */ beq lbl_801B345C /* 801B3128 001B0088 80 1F 07 80 */ lwz r0, 0x780(r31) /* 801B312C 001B008C 2C 00 00 03 */ cmpwi r0, 3 /* 801B3130 001B0090 41 82 00 08 */ beq lbl_801B3138 /* 801B3134 001B0094 48 00 03 28 */ b lbl_801B345C lbl_801B3138: /* 801B3138 001B0098 7F E3 FB 78 */ mr r3, r31 /* 801B313C 001B009C 7F C4 F3 78 */ mr r4, r30 /* 801B3140 001B00A0 81 9F 00 00 */ lwz r12, 0(r31) /* 801B3144 001B00A4 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B3148 001B00A8 81 8C 02 88 */ lwz r12, 0x288(r12) /* 801B314C 001B00AC 7D 89 03 A6 */ mtctr r12 /* 801B3150 001B00B0 4E 80 04 21 */ bctrl /* 801B3154 001B00B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B3158 001B00B8 40 82 01 90 */ bne lbl_801B32E8 /* 801B315C 001B00BC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B3160 001B00C0 38 80 00 0A */ li r4, 0xa /* 801B3164 001B00C4 4B F8 7A 51 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 801B3168 001B00C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B316C 001B00CC 41 82 01 7C */ beq lbl_801B32E8 /* 801B3170 001B00D0 81 9F 00 00 */ lwz r12, 0(r31) /* 801B3174 001B00D4 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B3178 001B00D8 7F E3 FB 78 */ mr r3, r31 /* 801B317C 001B00DC C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B3180 001B00E0 81 8C 00 90 */ lwz r12, 0x90(r12) /* 801B3184 001B00E4 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801B3188 001B00E8 7D 89 03 A6 */ mtctr r12 /* 801B318C 001B00EC 4E 80 04 21 */ bctrl /* 801B3190 001B00F0 C0 3F 06 AC */ lfs f1, 0x6ac(r31) /* 801B3194 001B00F4 C0 1B 01 34 */ lfs f0, 0x134(r27) /* 801B3198 001B00F8 C0 5F 08 10 */ lfs f2, 0x810(r31) /* 801B319C 001B00FC EC 01 00 28 */ fsubs f0, f1, f0 /* 801B31A0 001B0100 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801B31A4 001B0104 4C 41 13 82 */ cror 2, 1, 2 /* 801B31A8 001B0108 40 82 00 6C */ bne lbl_801B3214 /* 801B31AC 001B010C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801B31B0 001B0110 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B31B4 001B0114 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801B31B8 001B0118 3C 80 80 3E */ lis r4, lbl_803DAA38@ha /* 801B31BC 001B011C 90 01 00 A8 */ stw r0, 0xa8(r1) /* 801B31C0 001B0120 38 A4 AA 38 */ addi r5, r4, lbl_803DAA38@l /* 801B31C4 001B0124 38 80 00 09 */ li r4, 9 /* 801B31C8 001B0128 38 00 00 01 */ li r0, 1 /* 801B31CC 001B012C 3B 63 00 04 */ addi r27, r3, 4 /* 801B31D0 001B0130 90 81 00 AC */ stw r4, 0xac(r1) /* 801B31D4 001B0134 7F 63 DB 78 */ mr r3, r27 /* 801B31D8 001B0138 38 80 00 09 */ li r4, 9 /* 801B31DC 001B013C 90 A1 00 A8 */ stw r5, 0xa8(r1) /* 801B31E0 001B0140 90 01 00 B0 */ stw r0, 0xb0(r1) /* 801B31E4 001B0144 4B F7 E2 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B31E8 001B0148 80 01 00 AC */ lwz r0, 0xac(r1) /* 801B31EC 001B014C 3C 60 80 3E */ lis r3, lbl_803DAA38@ha /* 801B31F0 001B0150 38 83 AA 38 */ addi r4, r3, lbl_803DAA38@l /* 801B31F4 001B0154 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B31F8 001B0158 90 1B 01 64 */ stw r0, 0x164(r27) /* 801B31FC 001B015C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B3200 001B0160 80 61 00 B0 */ lwz r3, 0xb0(r1) /* 801B3204 001B0164 90 81 00 A8 */ stw r4, 0xa8(r1) /* 801B3208 001B0168 90 7B 01 68 */ stw r3, 0x168(r27) /* 801B320C 001B016C 90 01 00 A8 */ stw r0, 0xa8(r1) /* 801B3210 001B0170 48 00 02 4C */ b lbl_801B345C lbl_801B3214: /* 801B3214 001B0174 A0 7D 00 00 */ lhz r3, 0(r29) /* 801B3218 001B0178 A0 1F 08 0C */ lhz r0, 0x80c(r31) /* 801B321C 001B017C 7C 03 00 40 */ cmplw r3, r0 /* 801B3220 001B0180 40 82 02 3C */ bne lbl_801B345C /* 801B3224 001B0184 88 7B 01 30 */ lbz r3, 0x130(r27) /* 801B3228 001B0188 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801B322C 001B018C 40 82 00 18 */ bne lbl_801B3244 /* 801B3230 001B0190 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801B3234 001B0194 40 82 00 10 */ bne lbl_801B3244 /* 801B3238 001B0198 80 1B 01 2C */ lwz r0, 0x12c(r27) /* 801B323C 001B019C 2C 00 00 06 */ cmpwi r0, 6 /* 801B3240 001B01A0 40 82 02 1C */ bne lbl_801B345C lbl_801B3244: /* 801B3244 001B01A4 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 801B3248 001B01A8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B324C 001B01AC C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801B3250 001B01B0 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801B3254 001B01B4 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801B3258 001B01B8 FC 40 10 50 */ fneg f2, f2 /* 801B325C 001B01BC FC 20 08 50 */ fneg f1, f1 /* 801B3260 001B01C0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B3264 001B01C4 FC 00 00 50 */ fneg f0, f0 /* 801B3268 001B01C8 3C 80 80 3E */ lis r4, lbl_803DAA44@ha /* 801B326C 001B01CC 38 C0 00 04 */ li r6, 4 /* 801B3270 001B01D0 38 00 00 01 */ li r0, 1 /* 801B3274 001B01D4 3B 63 00 04 */ addi r27, r3, 4 /* 801B3278 001B01D8 90 A1 00 C4 */ stw r5, 0xc4(r1) /* 801B327C 001B01DC 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l /* 801B3280 001B01E0 38 80 00 04 */ li r4, 4 /* 801B3284 001B01E4 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 801B3288 001B01E8 7F 63 DB 78 */ mr r3, r27 /* 801B328C 001B01EC 90 A1 00 C4 */ stw r5, 0xc4(r1) /* 801B3290 001B01F0 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801B3294 001B01F4 D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 801B3298 001B01F8 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 801B329C 001B01FC 90 01 00 D8 */ stw r0, 0xd8(r1) /* 801B32A0 001B0200 4B F7 E1 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B32A4 001B0204 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 801B32A8 001B0208 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 801B32AC 001B020C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 801B32B0 001B0210 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B32B4 001B0214 90 1B 00 F8 */ stw r0, 0xf8(r27) /* 801B32B8 001B0218 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B32BC 001B021C 80 A1 00 CC */ lwz r5, 0xcc(r1) /* 801B32C0 001B0220 80 61 00 D0 */ lwz r3, 0xd0(r1) /* 801B32C4 001B0224 90 BB 00 FC */ stw r5, 0xfc(r27) /* 801B32C8 001B0228 80 A1 00 D4 */ lwz r5, 0xd4(r1) /* 801B32CC 001B022C 90 7B 01 00 */ stw r3, 0x100(r27) /* 801B32D0 001B0230 80 61 00 D8 */ lwz r3, 0xd8(r1) /* 801B32D4 001B0234 90 BB 01 04 */ stw r5, 0x104(r27) /* 801B32D8 001B0238 90 81 00 C4 */ stw r4, 0xc4(r1) /* 801B32DC 001B023C 90 7B 01 08 */ stw r3, 0x108(r27) /* 801B32E0 001B0240 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801B32E4 001B0244 48 00 01 78 */ b lbl_801B345C lbl_801B32E8: /* 801B32E8 001B0248 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B32EC 001B024C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801B32F0 001B0250 41 82 00 24 */ beq lbl_801B3314 /* 801B32F4 001B0254 81 9F 00 00 */ lwz r12, 0(r31) /* 801B32F8 001B0258 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B32FC 001B025C 7F E3 FB 78 */ mr r3, r31 /* 801B3300 001B0260 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B3304 001B0264 81 8C 00 90 */ lwz r12, 0x90(r12) /* 801B3308 001B0268 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801B330C 001B026C 7D 89 03 A6 */ mtctr r12 /* 801B3310 001B0270 4E 80 04 21 */ bctrl lbl_801B3314: /* 801B3314 001B0274 A0 7D 00 00 */ lhz r3, 0(r29) /* 801B3318 001B0278 A0 1F 08 0C */ lhz r0, 0x80c(r31) /* 801B331C 001B027C 7C 03 00 40 */ cmplw r3, r0 /* 801B3320 001B0280 40 82 01 3C */ bne lbl_801B345C /* 801B3324 001B0284 88 7B 01 30 */ lbz r3, 0x130(r27) /* 801B3328 001B0288 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801B332C 001B028C 40 82 00 18 */ bne lbl_801B3344 /* 801B3330 001B0290 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801B3334 001B0294 40 82 00 10 */ bne lbl_801B3344 /* 801B3338 001B0298 80 1B 01 2C */ lwz r0, 0x12c(r27) /* 801B333C 001B029C 2C 00 00 06 */ cmpwi r0, 6 /* 801B3340 001B02A0 40 82 01 1C */ bne lbl_801B345C lbl_801B3344: /* 801B3344 001B02A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B3348 001B02A8 C0 02 A8 DC */ lfs f0, lbl_805AC5FC@sda21(r2) /* 801B334C 001B02AC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B3350 001B02B0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801B3354 001B02B4 3C 80 80 3E */ lis r4, lbl_803E10BC@ha /* 801B3358 001B02B8 90 01 00 9C */ stw r0, 0x9c(r1) /* 801B335C 001B02BC 38 04 10 BC */ addi r0, r4, lbl_803E10BC@l /* 801B3360 001B02C0 38 80 00 19 */ li r4, 0x19 /* 801B3364 001B02C4 3B 63 00 04 */ addi r27, r3, 4 /* 801B3368 001B02C8 90 81 00 A0 */ stw r4, 0xa0(r1) /* 801B336C 001B02CC 7F 63 DB 78 */ mr r3, r27 /* 801B3370 001B02D0 38 80 00 19 */ li r4, 0x19 /* 801B3374 001B02D4 90 01 00 9C */ stw r0, 0x9c(r1) /* 801B3378 001B02D8 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801B337C 001B02DC 4B F7 E0 BD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801B3380 001B02E0 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801B3384 001B02E4 3C 60 80 3E */ lis r3, lbl_803E10BC@ha /* 801B3388 001B02E8 38 83 10 BC */ addi r4, r3, lbl_803E10BC@l /* 801B338C 001B02EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801B3390 001B02F0 90 1B 02 7C */ stw r0, 0x27c(r27) /* 801B3394 001B02F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801B3398 001B02F8 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801B339C 001B02FC 90 81 00 9C */ stw r4, 0x9c(r1) /* 801B33A0 001B0300 D0 1B 02 80 */ stfs f0, 0x280(r27) /* 801B33A4 001B0304 90 01 00 9C */ stw r0, 0x9c(r1) /* 801B33A8 001B0308 48 00 00 B4 */ b lbl_801B345C /* 801B33AC 001B030C 38 00 00 00 */ li r0, 0 /* 801B33B0 001B0310 90 1F 07 80 */ stw r0, 0x780(r31) /* 801B33B4 001B0314 48 00 00 A8 */ b lbl_801B345C /* 801B33B8 001B0318 7F C4 F3 78 */ mr r4, r30 /* 801B33BC 001B031C 4B FF B5 C5 */ bl sub_801ae980 /* 801B33C0 001B0320 48 00 00 9C */ b lbl_801B345C /* 801B33C4 001B0324 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801B33C8 001B0328 38 60 00 00 */ li r3, 0 /* 801B33CC 001B032C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801B33D0 001B0330 98 1F 08 E4 */ stb r0, 0x8e4(r31) /* 801B33D4 001B0334 48 00 00 88 */ b lbl_801B345C /* 801B33D8 001B0338 88 1F 08 E4 */ lbz r0, 0x8e4(r31) /* 801B33DC 001B033C 38 60 00 01 */ li r3, 1 /* 801B33E0 001B0340 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801B33E4 001B0344 98 1F 08 E4 */ stb r0, 0x8e4(r31) /* 801B33E8 001B0348 48 00 00 74 */ b lbl_801B345C /* 801B33EC 001B034C C0 02 A9 24 */ lfs f0, lbl_805AC644@sda21(r2) /* 801B33F0 001B0350 38 60 00 01 */ li r3, 1 /* 801B33F4 001B0354 D0 1F 07 D0 */ stfs f0, 0x7d0(r31) /* 801B33F8 001B0358 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B33FC 001B035C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801B3400 001B0360 98 1F 08 E5 */ stb r0, 0x8e5(r31) /* 801B3404 001B0364 48 00 00 58 */ b lbl_801B345C /* 801B3408 001B0368 A0 1D 00 00 */ lhz r0, 0(r29) /* 801B340C 001B036C 7F C3 F3 78 */ mr r3, r30 /* 801B3410 001B0370 38 81 00 0C */ addi r4, r1, 0xc /* 801B3414 001B0374 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B3418 001B0378 4B E9 91 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B341C 001B037C 7C 64 1B 78 */ mr r4, r3 /* 801B3420 001B0380 38 61 00 7C */ addi r3, r1, 0x7c /* 801B3424 001B0384 4B EF A2 E9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 801B3428 001B0388 80 03 00 04 */ lwz r0, 4(r3) /* 801B342C 001B038C 28 00 00 00 */ cmplwi r0, 0 /* 801B3430 001B0390 41 82 00 2C */ beq lbl_801B345C /* 801B3434 001B0394 80 1F 07 88 */ lwz r0, 0x788(r31) /* 801B3438 001B0398 90 1F 07 F8 */ stw r0, 0x7f8(r31) /* 801B343C 001B039C 48 00 00 20 */ b lbl_801B345C /* 801B3440 001B03A0 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B3444 001B03A4 D0 1F 07 D4 */ stfs f0, 0x7d4(r31) /* 801B3448 001B03A8 48 00 00 14 */ b lbl_801B345C /* 801B344C 001B03AC 88 1F 08 E5 */ lbz r0, 0x8e5(r31) /* 801B3450 001B03B0 38 60 00 01 */ li r3, 1 /* 801B3454 001B03B4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801B3458 001B03B8 98 1F 08 E5 */ stb r0, 0x8e5(r31) lbl_801B345C: /* 801B345C 001B03BC A0 1D 00 00 */ lhz r0, 0(r29) /* 801B3460 001B03C0 7F E3 FB 78 */ mr r3, r31 /* 801B3464 001B03C4 7F 84 E3 78 */ mr r4, r28 /* 801B3468 001B03C8 7F C6 F3 78 */ mr r6, r30 /* 801B346C 001B03CC B0 01 00 08 */ sth r0, 8(r1) /* 801B3470 001B03D0 38 A1 00 08 */ addi r5, r1, 8 /* 801B3474 001B03D4 4B EC 97 05 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801B3478 001B03D8 BB 21 01 54 */ lmw r25, 0x154(r1) /* 801B347C 001B03DC 80 01 01 74 */ lwz r0, 0x174(r1) /* 801B3480 001B03E0 7C 08 03 A6 */ mtlr r0 /* 801B3484 001B03E4 38 21 01 70 */ addi r1, r1, 0x170 /* 801B3488 001B03E8 4E 80 00 20 */ blr .global Accept__9CFlaahgraFR8IVisitor Accept__9CFlaahgraFR8IVisitor: /* 801B348C 001B03EC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B3490 001B03F0 7C 08 02 A6 */ mflr r0 /* 801B3494 001B03F4 90 01 00 14 */ stw r0, 0x14(r1) /* 801B3498 001B03F8 7C 60 1B 78 */ mr r0, r3 /* 801B349C 001B03FC 7C 83 23 78 */ mr r3, r4 /* 801B34A0 001B0400 81 84 00 00 */ lwz r12, 0(r4) /* 801B34A4 001B0404 7C 04 03 78 */ mr r4, r0 /* 801B34A8 001B0408 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801B34AC 001B040C 7D 89 03 A6 */ mtctr r12 /* 801B34B0 001B0410 4E 80 04 21 */ bctrl /* 801B34B4 001B0414 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B34B8 001B0418 7C 08 03 A6 */ mtlr r0 /* 801B34BC 001B041C 38 21 00 10 */ addi r1, r1, 0x10 /* 801B34C0 001B0420 4E 80 00 20 */ blr .global Think__9CFlaahgraFfR13CStateManager Think__9CFlaahgraFfR13CStateManager: /* 801B34C4 001B0424 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B34C8 001B0428 7C 08 02 A6 */ mflr r0 /* 801B34CC 001B042C 90 01 00 34 */ stw r0, 0x34(r1) /* 801B34D0 001B0430 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801B34D4 001B0434 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801B34D8 001B0438 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B34DC 001B043C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B34E0 001B0440 88 03 00 30 */ lbz r0, 0x30(r3) /* 801B34E4 001B0444 FF E0 08 90 */ fmr f31, f1 /* 801B34E8 001B0448 7C 7E 1B 78 */ mr r30, r3 /* 801B34EC 001B044C 7C 9F 23 78 */ mr r31, r4 /* 801B34F0 001B0450 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B34F4 001B0454 41 82 00 BC */ beq lbl_801B35B0 /* 801B34F8 001B0458 4B EC 66 21 */ bl Think__10CPatternedFfR13CStateManager /* 801B34FC 001B045C FC 20 F8 90 */ fmr f1, f31 /* 801B3500 001B0460 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801B3504 001B0464 4B FC 24 A5 */ bl Update__13CBoneTrackingFf /* 801B3508 001B0468 FC 20 F8 90 */ fmr f1, f31 /* 801B350C 001B046C 7F C3 F3 78 */ mr r3, r30 /* 801B3510 001B0470 7F E4 FB 78 */ mr r4, r31 /* 801B3514 001B0474 4B FF BB 41 */ bl sub_801af054 /* 801B3518 001B0478 80 7E 00 64 */ lwz r3, 0x64(r30) /* 801B351C 001B047C 7F E4 FB 78 */ mr r4, r31 /* 801B3520 001B0480 81 1E 04 50 */ lwz r8, 0x450(r30) /* 801B3524 001B0484 38 DE 00 34 */ addi r6, r30, 0x34 /* 801B3528 001B0488 C0 03 00 00 */ lfs f0, 0(r3) /* 801B352C 001B048C 38 E1 00 08 */ addi r7, r1, 8 /* 801B3530 001B0490 D0 01 00 08 */ stfs f0, 8(r1) /* 801B3534 001B0494 C0 03 00 04 */ lfs f0, 4(r3) /* 801B3538 001B0498 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801B353C 001B049C C0 03 00 08 */ lfs f0, 8(r3) /* 801B3540 001B04A0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801B3544 001B04A4 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801B3548 001B04A8 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801B354C 001B04AC 80 A5 00 10 */ lwz r5, 0x10(r5) /* 801B3550 001B04B0 4B FC 23 C1 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 801B3554 001B04B4 FC 20 F8 90 */ fmr f1, f31 /* 801B3558 001B04B8 7F C3 F3 78 */ mr r3, r30 /* 801B355C 001B04BC 4B FF B5 05 */ bl sub_801aea60 /* 801B3560 001B04C0 7F C3 F3 78 */ mr r3, r30 /* 801B3564 001B04C4 7F E4 FB 78 */ mr r4, r31 /* 801B3568 001B04C8 4B FF B6 95 */ bl sub_801aebfc /* 801B356C 001B04CC FC 20 F8 90 */ fmr f1, f31 /* 801B3570 001B04D0 7F C3 F3 78 */ mr r3, r30 /* 801B3574 001B04D4 7F E4 FB 78 */ mr r4, r31 /* 801B3578 001B04D8 4B FF AE C9 */ bl sub_801ae440 /* 801B357C 001B04DC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B3580 001B04E0 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801B3584 001B04E4 D0 1E 01 5C */ stfs f0, 0x15c(r30) /* 801B3588 001B04E8 C0 03 00 04 */ lfs f0, 4(r3) /* 801B358C 001B04EC D0 1E 01 60 */ stfs f0, 0x160(r30) /* 801B3590 001B04F0 C0 03 00 08 */ lfs f0, 8(r3) /* 801B3594 001B04F4 D0 1E 01 64 */ stfs f0, 0x164(r30) /* 801B3598 001B04F8 C0 03 00 00 */ lfs f0, 0(r3) /* 801B359C 001B04FC D0 1E 01 68 */ stfs f0, 0x168(r30) /* 801B35A0 001B0500 C0 03 00 04 */ lfs f0, 4(r3) /* 801B35A4 001B0504 D0 1E 01 6C */ stfs f0, 0x16c(r30) /* 801B35A8 001B0508 C0 03 00 08 */ lfs f0, 8(r3) /* 801B35AC 001B050C D0 1E 01 70 */ stfs f0, 0x170(r30) lbl_801B35B0: /* 801B35B0 001B0510 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801B35B4 001B0514 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B35B8 001B0518 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801B35BC 001B051C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B35C0 001B0520 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B35C4 001B0524 7C 08 03 A6 */ mtlr r0 /* 801B35C8 001B0528 38 21 00 30 */ addi r1, r1, 0x30 /* 801B35CC 001B052C 4E 80 00 20 */ blr .global PreThink__9CFlaahgraFfR13CStateManager PreThink__9CFlaahgraFfR13CStateManager: /* 801B35D0 001B0530 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B35D4 001B0534 7C 08 02 A6 */ mflr r0 /* 801B35D8 001B0538 90 01 00 24 */ stw r0, 0x24(r1) /* 801B35DC 001B053C DB E1 00 18 */ stfd f31, 0x18(r1) /* 801B35E0 001B0540 FF E0 08 90 */ fmr f31, f1 /* 801B35E4 001B0544 93 E1 00 14 */ stw r31, 0x14(r1) /* 801B35E8 001B0548 7C 9F 23 78 */ mr r31, r4 /* 801B35EC 001B054C 93 C1 00 10 */ stw r30, 0x10(r1) /* 801B35F0 001B0550 7C 7E 1B 78 */ mr r30, r3 /* 801B35F4 001B0554 88 03 08 E4 */ lbz r0, 0x8e4(r3) /* 801B35F8 001B0558 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B35FC 001B055C 40 82 00 08 */ bne lbl_801B3604 /* 801B3600 001B0560 4B FF A4 F9 */ bl sub_801adaf8 lbl_801B3604: /* 801B3604 001B0564 FC 20 F8 90 */ fmr f1, f31 /* 801B3608 001B0568 7F C3 F3 78 */ mr r3, r30 /* 801B360C 001B056C 7F E4 FB 78 */ mr r4, r31 /* 801B3610 001B0570 4B EC 43 81 */ bl PreThink__10CPatternedFfR13CStateManager /* 801B3614 001B0574 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B3618 001B0578 CB E1 00 18 */ lfd f31, 0x18(r1) /* 801B361C 001B057C 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801B3620 001B0580 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801B3624 001B0584 7C 08 03 A6 */ mtlr r0 /* 801B3628 001B0588 38 21 00 20 */ addi r1, r1, 0x20 /* 801B362C 001B058C 4E 80 00 20 */ blr .global __dt__9CFlaahgraFv __dt__9CFlaahgraFv: /* 801B3630 001B0590 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B3634 001B0594 7C 08 02 A6 */ mflr r0 /* 801B3638 001B0598 90 01 00 34 */ stw r0, 0x34(r1) /* 801B363C 001B059C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B3640 001B05A0 7C 9F 23 78 */ mr r31, r4 /* 801B3644 001B05A4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B3648 001B05A8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801B364C 001B05AC 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B3650 001B05B0 93 81 00 20 */ stw r28, 0x20(r1) /* 801B3654 001B05B4 41 82 03 58 */ beq lbl_801B39AC /* 801B3658 001B05B8 3C 60 80 3E */ lis r3, lbl_803E4E88@ha /* 801B365C 001B05BC 34 1E 08 D4 */ addic. r0, r30, 0x8d4 /* 801B3660 001B05C0 38 03 4E 88 */ addi r0, r3, lbl_803E4E88@l /* 801B3664 001B05C4 90 1E 00 00 */ stw r0, 0(r30) /* 801B3668 001B05C8 41 82 00 50 */ beq lbl_801B36B8 /* 801B366C 001B05CC 80 1E 08 D8 */ lwz r0, 0x8d8(r30) /* 801B3670 001B05D0 83 9E 08 E0 */ lwz r28, 0x8e0(r30) /* 801B3674 001B05D4 54 00 18 38 */ slwi r0, r0, 3 /* 801B3678 001B05D8 7F BC 02 14 */ add r29, r28, r0 /* 801B367C 001B05DC 93 81 00 0C */ stw r28, 0xc(r1) /* 801B3680 001B05E0 93 A1 00 14 */ stw r29, 0x14(r1) /* 801B3684 001B05E4 93 A1 00 10 */ stw r29, 0x10(r1) /* 801B3688 001B05E8 93 81 00 08 */ stw r28, 8(r1) /* 801B368C 001B05EC 48 00 00 14 */ b lbl_801B36A0 lbl_801B3690: /* 801B3690 001B05F0 7F 83 E3 78 */ mr r3, r28 /* 801B3694 001B05F4 38 80 FF FF */ li r4, -1 /* 801B3698 001B05F8 48 18 D7 A9 */ bl __dt__6CTokenFv /* 801B369C 001B05FC 3B 9C 00 08 */ addi r28, r28, 8 lbl_801B36A0: /* 801B36A0 001B0600 7C 1C E8 40 */ cmplw r28, r29 /* 801B36A4 001B0604 40 82 FF EC */ bne lbl_801B3690 /* 801B36A8 001B0608 80 7E 08 E0 */ lwz r3, 0x8e0(r30) /* 801B36AC 001B060C 28 03 00 00 */ cmplwi r3, 0 /* 801B36B0 001B0610 41 82 00 08 */ beq lbl_801B36B8 /* 801B36B4 001B0614 48 16 22 7D */ bl Free__7CMemoryFPCv lbl_801B36B8: /* 801B36B8 001B0618 34 1E 08 C8 */ addic. r0, r30, 0x8c8 /* 801B36BC 001B061C 41 82 00 24 */ beq lbl_801B36E0 /* 801B36C0 001B0620 88 1E 08 D0 */ lbz r0, 0x8d0(r30) /* 801B36C4 001B0624 28 00 00 00 */ cmplwi r0, 0 /* 801B36C8 001B0628 41 82 00 10 */ beq lbl_801B36D8 /* 801B36CC 001B062C 38 7E 08 C8 */ addi r3, r30, 0x8c8 /* 801B36D0 001B0630 38 80 FF FF */ li r4, -1 /* 801B36D4 001B0634 48 18 D7 6D */ bl __dt__6CTokenFv lbl_801B36D8: /* 801B36D8 001B0638 38 00 00 00 */ li r0, 0 /* 801B36DC 001B063C 98 1E 08 D0 */ stb r0, 0x8d0(r30) lbl_801B36E0: /* 801B36E0 001B0640 34 1E 08 60 */ addic. r0, r30, 0x860 /* 801B36E4 001B0644 41 82 00 58 */ beq lbl_801B373C /* 801B36E8 001B0648 80 BE 08 60 */ lwz r5, 0x860(r30) /* 801B36EC 001B064C 38 60 00 00 */ li r3, 0 /* 801B36F0 001B0650 2C 05 00 00 */ cmpwi r5, 0 /* 801B36F4 001B0654 40 81 00 40 */ ble lbl_801B3734 /* 801B36F8 001B0658 2C 05 00 08 */ cmpwi r5, 8 /* 801B36FC 001B065C 38 85 FF F8 */ addi r4, r5, -8 /* 801B3700 001B0660 40 81 00 20 */ ble lbl_801B3720 /* 801B3704 001B0664 38 04 00 07 */ addi r0, r4, 7 /* 801B3708 001B0668 54 00 E8 FE */ srwi r0, r0, 3 /* 801B370C 001B066C 7C 09 03 A6 */ mtctr r0 /* 801B3710 001B0670 2C 04 00 00 */ cmpwi r4, 0 /* 801B3714 001B0674 40 81 00 0C */ ble lbl_801B3720 lbl_801B3718: /* 801B3718 001B0678 38 63 00 08 */ addi r3, r3, 8 /* 801B371C 001B067C 42 00 FF FC */ bdnz lbl_801B3718 lbl_801B3720: /* 801B3720 001B0680 7C 03 28 50 */ subf r0, r3, r5 /* 801B3724 001B0684 7C 09 03 A6 */ mtctr r0 /* 801B3728 001B0688 7C 03 28 00 */ cmpw r3, r5 /* 801B372C 001B068C 40 80 00 08 */ bge lbl_801B3734 lbl_801B3730: /* 801B3730 001B0690 42 00 00 00 */ bdnz lbl_801B3730 lbl_801B3734: /* 801B3734 001B0694 38 00 00 00 */ li r0, 0 /* 801B3738 001B0698 90 1E 08 60 */ stw r0, 0x860(r30) lbl_801B373C: /* 801B373C 001B069C 34 1E 08 2C */ addic. r0, r30, 0x82c /* 801B3740 001B06A0 41 82 00 58 */ beq lbl_801B3798 /* 801B3744 001B06A4 80 BE 08 2C */ lwz r5, 0x82c(r30) /* 801B3748 001B06A8 38 60 00 00 */ li r3, 0 /* 801B374C 001B06AC 2C 05 00 00 */ cmpwi r5, 0 /* 801B3750 001B06B0 40 81 00 40 */ ble lbl_801B3790 /* 801B3754 001B06B4 2C 05 00 08 */ cmpwi r5, 8 /* 801B3758 001B06B8 38 85 FF F8 */ addi r4, r5, -8 /* 801B375C 001B06BC 40 81 00 20 */ ble lbl_801B377C /* 801B3760 001B06C0 38 04 00 07 */ addi r0, r4, 7 /* 801B3764 001B06C4 54 00 E8 FE */ srwi r0, r0, 3 /* 801B3768 001B06C8 7C 09 03 A6 */ mtctr r0 /* 801B376C 001B06CC 2C 04 00 00 */ cmpwi r4, 0 /* 801B3770 001B06D0 40 81 00 0C */ ble lbl_801B377C lbl_801B3774: /* 801B3774 001B06D4 38 63 00 08 */ addi r3, r3, 8 /* 801B3778 001B06D8 42 00 FF FC */ bdnz lbl_801B3774 lbl_801B377C: /* 801B377C 001B06DC 7C 03 28 50 */ subf r0, r3, r5 /* 801B3780 001B06E0 7C 09 03 A6 */ mtctr r0 /* 801B3784 001B06E4 7C 03 28 00 */ cmpw r3, r5 /* 801B3788 001B06E8 40 80 00 08 */ bge lbl_801B3790 lbl_801B378C: /* 801B378C 001B06EC 42 00 00 00 */ bdnz lbl_801B378C lbl_801B3790: /* 801B3790 001B06F0 38 00 00 00 */ li r0, 0 /* 801B3794 001B06F4 90 1E 08 2C */ stw r0, 0x82c(r30) lbl_801B3798: /* 801B3798 001B06F8 34 1E 07 FC */ addic. r0, r30, 0x7fc /* 801B379C 001B06FC 41 82 00 58 */ beq lbl_801B37F4 /* 801B37A0 001B0700 80 BE 07 FC */ lwz r5, 0x7fc(r30) /* 801B37A4 001B0704 38 60 00 00 */ li r3, 0 /* 801B37A8 001B0708 2C 05 00 00 */ cmpwi r5, 0 /* 801B37AC 001B070C 40 81 00 40 */ ble lbl_801B37EC /* 801B37B0 001B0710 2C 05 00 08 */ cmpwi r5, 8 /* 801B37B4 001B0714 38 85 FF F8 */ addi r4, r5, -8 /* 801B37B8 001B0718 40 81 00 20 */ ble lbl_801B37D8 /* 801B37BC 001B071C 38 04 00 07 */ addi r0, r4, 7 /* 801B37C0 001B0720 54 00 E8 FE */ srwi r0, r0, 3 /* 801B37C4 001B0724 7C 09 03 A6 */ mtctr r0 /* 801B37C8 001B0728 2C 04 00 00 */ cmpwi r4, 0 /* 801B37CC 001B072C 40 81 00 0C */ ble lbl_801B37D8 lbl_801B37D0: /* 801B37D0 001B0730 38 63 00 08 */ addi r3, r3, 8 /* 801B37D4 001B0734 42 00 FF FC */ bdnz lbl_801B37D0 lbl_801B37D8: /* 801B37D8 001B0738 7C 03 28 50 */ subf r0, r3, r5 /* 801B37DC 001B073C 7C 09 03 A6 */ mtctr r0 /* 801B37E0 001B0740 7C 03 28 00 */ cmpw r3, r5 /* 801B37E4 001B0744 40 80 00 08 */ bge lbl_801B37EC lbl_801B37E8: /* 801B37E8 001B0748 42 00 00 00 */ bdnz lbl_801B37E8 lbl_801B37EC: /* 801B37EC 001B074C 38 00 00 00 */ li r0, 0 /* 801B37F0 001B0750 90 1E 07 FC */ stw r0, 0x7fc(r30) lbl_801B37F4: /* 801B37F4 001B0754 34 1E 07 A4 */ addic. r0, r30, 0x7a4 /* 801B37F8 001B0758 41 82 00 10 */ beq lbl_801B3808 /* 801B37FC 001B075C 80 7E 07 A4 */ lwz r3, 0x7a4(r30) /* 801B3800 001B0760 38 80 00 01 */ li r4, 1 /* 801B3804 001B0764 4B FF 40 D9 */ bl sub_801a78dc lbl_801B3808: /* 801B3808 001B0768 34 1E 07 A0 */ addic. r0, r30, 0x7a0 /* 801B380C 001B076C 41 82 00 10 */ beq lbl_801B381C /* 801B3810 001B0770 80 7E 07 A0 */ lwz r3, 0x7a0(r30) /* 801B3814 001B0774 38 80 00 01 */ li r4, 1 /* 801B3818 001B0778 4B FF 40 C5 */ bl sub_801a78dc lbl_801B381C: /* 801B381C 001B077C 34 1E 07 9C */ addic. r0, r30, 0x79c /* 801B3820 001B0780 41 82 00 10 */ beq lbl_801B3830 /* 801B3824 001B0784 80 7E 07 9C */ lwz r3, 0x79c(r30) /* 801B3828 001B0788 38 80 00 01 */ li r4, 1 /* 801B382C 001B078C 4B FF 40 B1 */ bl sub_801a78dc lbl_801B3830: /* 801B3830 001B0790 34 1E 07 70 */ addic. r0, r30, 0x770 /* 801B3834 001B0794 41 82 00 58 */ beq lbl_801B388C /* 801B3838 001B0798 80 BE 07 70 */ lwz r5, 0x770(r30) /* 801B383C 001B079C 38 60 00 00 */ li r3, 0 /* 801B3840 001B07A0 2C 05 00 00 */ cmpwi r5, 0 /* 801B3844 001B07A4 40 81 00 40 */ ble lbl_801B3884 /* 801B3848 001B07A8 2C 05 00 08 */ cmpwi r5, 8 /* 801B384C 001B07AC 38 85 FF F8 */ addi r4, r5, -8 /* 801B3850 001B07B0 40 81 00 20 */ ble lbl_801B3870 /* 801B3854 001B07B4 38 04 00 07 */ addi r0, r4, 7 /* 801B3858 001B07B8 54 00 E8 FE */ srwi r0, r0, 3 /* 801B385C 001B07BC 7C 09 03 A6 */ mtctr r0 /* 801B3860 001B07C0 2C 04 00 00 */ cmpwi r4, 0 /* 801B3864 001B07C4 40 81 00 0C */ ble lbl_801B3870 lbl_801B3868: /* 801B3868 001B07C8 38 63 00 08 */ addi r3, r3, 8 /* 801B386C 001B07CC 42 00 FF FC */ bdnz lbl_801B3868 lbl_801B3870: /* 801B3870 001B07D0 7C 03 28 50 */ subf r0, r3, r5 /* 801B3874 001B07D4 7C 09 03 A6 */ mtctr r0 /* 801B3878 001B07D8 7C 03 28 00 */ cmpw r3, r5 /* 801B387C 001B07DC 40 80 00 08 */ bge lbl_801B3884 lbl_801B3880: /* 801B3880 001B07E0 42 00 00 00 */ bdnz lbl_801B3880 lbl_801B3884: /* 801B3884 001B07E4 38 00 00 00 */ li r0, 0 /* 801B3888 001B07E8 90 1E 07 70 */ stw r0, 0x770(r30) lbl_801B388C: /* 801B388C 001B07EC 34 1E 07 30 */ addic. r0, r30, 0x730 /* 801B3890 001B07F0 41 82 00 58 */ beq lbl_801B38E8 /* 801B3894 001B07F4 80 BE 07 30 */ lwz r5, 0x730(r30) /* 801B3898 001B07F8 38 60 00 00 */ li r3, 0 /* 801B389C 001B07FC 2C 05 00 00 */ cmpwi r5, 0 /* 801B38A0 001B0800 40 81 00 40 */ ble lbl_801B38E0 /* 801B38A4 001B0804 2C 05 00 08 */ cmpwi r5, 8 /* 801B38A8 001B0808 38 85 FF F8 */ addi r4, r5, -8 /* 801B38AC 001B080C 40 81 00 20 */ ble lbl_801B38CC /* 801B38B0 001B0810 38 04 00 07 */ addi r0, r4, 7 /* 801B38B4 001B0814 54 00 E8 FE */ srwi r0, r0, 3 /* 801B38B8 001B0818 7C 09 03 A6 */ mtctr r0 /* 801B38BC 001B081C 2C 04 00 00 */ cmpwi r4, 0 /* 801B38C0 001B0820 40 81 00 0C */ ble lbl_801B38CC lbl_801B38C4: /* 801B38C4 001B0824 38 63 00 08 */ addi r3, r3, 8 /* 801B38C8 001B0828 42 00 FF FC */ bdnz lbl_801B38C4 lbl_801B38CC: /* 801B38CC 001B082C 7C 03 28 50 */ subf r0, r3, r5 /* 801B38D0 001B0830 7C 09 03 A6 */ mtctr r0 /* 801B38D4 001B0834 7C 03 28 00 */ cmpw r3, r5 /* 801B38D8 001B0838 40 80 00 08 */ bge lbl_801B38E0 lbl_801B38DC: /* 801B38DC 001B083C 42 00 00 00 */ bdnz lbl_801B38DC lbl_801B38E0: /* 801B38E0 001B0840 38 00 00 00 */ li r0, 0 /* 801B38E4 001B0844 90 1E 07 30 */ stw r0, 0x730(r30) lbl_801B38E8: /* 801B38E8 001B0848 34 1E 07 04 */ addic. r0, r30, 0x704 /* 801B38EC 001B084C 41 82 00 20 */ beq lbl_801B390C /* 801B38F0 001B0850 34 1E 07 04 */ addic. r0, r30, 0x704 /* 801B38F4 001B0854 41 82 00 18 */ beq lbl_801B390C /* 801B38F8 001B0858 34 1E 07 04 */ addic. r0, r30, 0x704 /* 801B38FC 001B085C 41 82 00 10 */ beq lbl_801B390C /* 801B3900 001B0860 38 7E 07 04 */ addi r3, r30, 0x704 /* 801B3904 001B0864 38 80 00 00 */ li r4, 0 /* 801B3908 001B0868 48 18 D5 39 */ bl __dt__6CTokenFv lbl_801B390C: /* 801B390C 001B086C 34 1E 06 DC */ addic. r0, r30, 0x6dc /* 801B3910 001B0870 41 82 00 20 */ beq lbl_801B3930 /* 801B3914 001B0874 34 1E 06 DC */ addic. r0, r30, 0x6dc /* 801B3918 001B0878 41 82 00 18 */ beq lbl_801B3930 /* 801B391C 001B087C 34 1E 06 DC */ addic. r0, r30, 0x6dc /* 801B3920 001B0880 41 82 00 10 */ beq lbl_801B3930 /* 801B3924 001B0884 38 7E 06 DC */ addi r3, r30, 0x6dc /* 801B3928 001B0888 38 80 00 00 */ li r4, 0 /* 801B392C 001B088C 48 18 D5 15 */ bl __dt__6CTokenFv lbl_801B3930: /* 801B3930 001B0890 34 1E 06 D4 */ addic. r0, r30, 0x6d4 /* 801B3934 001B0894 41 82 00 10 */ beq lbl_801B3944 /* 801B3938 001B0898 38 7E 06 D4 */ addi r3, r30, 0x6d4 /* 801B393C 001B089C 38 80 00 00 */ li r4, 0 /* 801B3940 001B08A0 48 18 D5 01 */ bl __dt__6CTokenFv lbl_801B3944: /* 801B3944 001B08A4 34 1E 06 C8 */ addic. r0, r30, 0x6c8 /* 801B3948 001B08A8 41 82 00 30 */ beq lbl_801B3978 /* 801B394C 001B08AC 88 1E 06 C8 */ lbz r0, 0x6c8(r30) /* 801B3950 001B08B0 28 00 00 00 */ cmplwi r0, 0 /* 801B3954 001B08B4 41 82 00 24 */ beq lbl_801B3978 /* 801B3958 001B08B8 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801B395C 001B08BC 28 03 00 00 */ cmplwi r3, 0 /* 801B3960 001B08C0 41 82 00 18 */ beq lbl_801B3978 /* 801B3964 001B08C4 34 03 00 24 */ addic. r0, r3, 0x24 /* 801B3968 001B08C8 41 82 00 0C */ beq lbl_801B3974 /* 801B396C 001B08CC 38 00 00 00 */ li r0, 0 /* 801B3970 001B08D0 98 03 00 30 */ stb r0, 0x30(r3) lbl_801B3974: /* 801B3974 001B08D4 48 16 1F BD */ bl Free__7CMemoryFPCv lbl_801B3978: /* 801B3978 001B08D8 34 1E 05 6C */ addic. r0, r30, 0x56c /* 801B397C 001B08DC 41 82 00 14 */ beq lbl_801B3990 /* 801B3980 001B08E0 34 7E 06 44 */ addic. r3, r30, 0x644 /* 801B3984 001B08E4 41 82 00 0C */ beq lbl_801B3990 /* 801B3988 001B08E8 38 80 FF FF */ li r4, -1 /* 801B398C 001B08EC 4B F5 2C 7D */ bl __dt__16CActorParametersFv lbl_801B3990: /* 801B3990 001B08F0 7F C3 F3 78 */ mr r3, r30 /* 801B3994 001B08F4 38 80 00 00 */ li r4, 0 /* 801B3998 001B08F8 4B EC 3B D9 */ bl __dt__10CPatternedFv /* 801B399C 001B08FC 7F E0 07 35 */ extsh. r0, r31 /* 801B39A0 001B0900 40 81 00 0C */ ble lbl_801B39AC /* 801B39A4 001B0904 7F C3 F3 78 */ mr r3, r30 /* 801B39A8 001B0908 48 16 1F 89 */ bl Free__7CMemoryFPCv lbl_801B39AC: /* 801B39AC 001B090C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B39B0 001B0910 7F C3 F3 78 */ mr r3, r30 /* 801B39B4 001B0914 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B39B8 001B0918 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B39BC 001B091C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B39C0 001B0920 83 81 00 20 */ lwz r28, 0x20(r1) /* 801B39C4 001B0924 7C 08 03 A6 */ mtlr r0 /* 801B39C8 001B0928 38 21 00 30 */ addi r1, r1, 0x30 /* 801B39CC 001B092C 4E 80 00 20 */ blr .global "__ct__9CFlaahgraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CFlaahgraData" "__ct__9CFlaahgraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CFlaahgraData": /* 801B39D0 001B0930 94 21 FE 90 */ stwu r1, -0x170(r1) /* 801B39D4 001B0934 7C 08 02 A6 */ mflr r0 /* 801B39D8 001B0938 90 01 01 74 */ stw r0, 0x174(r1) /* 801B39DC 001B093C DB E1 01 60 */ stfd f31, 0x160(r1) /* 801B39E0 001B0940 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 /* 801B39E4 001B0944 DB C1 01 50 */ stfd f30, 0x150(r1) /* 801B39E8 001B0948 F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 /* 801B39EC 001B094C DB A1 01 40 */ stfd f29, 0x140(r1) /* 801B39F0 001B0950 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 /* 801B39F4 001B0954 DB 81 01 30 */ stfd f28, 0x130(r1) /* 801B39F8 001B0958 F3 81 01 38 */ psq_st f28, 312(r1), 0, qr0 /* 801B39FC 001B095C DB 61 01 20 */ stfd f27, 0x120(r1) /* 801B3A00 001B0960 F3 61 01 28 */ psq_st f27, 296(r1), 0, qr0 /* 801B3A04 001B0964 DB 41 01 10 */ stfd f26, 0x110(r1) /* 801B3A08 001B0968 F3 41 01 18 */ psq_st f26, 280(r1), 0, qr0 /* 801B3A0C 001B096C DB 21 01 00 */ stfd f25, 0x100(r1) /* 801B3A10 001B0970 F3 21 01 08 */ psq_st f25, 264(r1), 0, qr0 /* 801B3A14 001B0974 BE E1 00 DC */ stmw r23, 0xdc(r1) /* 801B3A18 001B0978 83 61 01 78 */ lwz r27, 0x178(r1) /* 801B3A1C 001B097C 7C 7C 1B 78 */ mr r28, r3 /* 801B3A20 001B0980 7C 97 23 78 */ mr r23, r4 /* 801B3A24 001B0984 7C B8 2B 78 */ mr r24, r5 /* 801B3A28 001B0988 7C D9 33 78 */ mr r25, r6 /* 801B3A2C 001B098C 7C FD 3B 78 */ mr r29, r7 /* 801B3A30 001B0990 7D 1E 43 78 */ mr r30, r8 /* 801B3A34 001B0994 7D 3A 4B 78 */ mr r26, r9 /* 801B3A38 001B0998 7D 5F 53 78 */ mr r31, r10 /* 801B3A3C 001B099C 38 61 00 88 */ addi r3, r1, 0x88 /* 801B3A40 001B09A0 4B E8 6D 65 */ bl CModelDataNull__10CModelDataFv /* 801B3A44 001B09A4 A0 97 00 00 */ lhz r4, 0(r23) /* 801B3A48 001B09A8 39 60 00 01 */ li r11, 1 /* 801B3A4C 001B09AC 38 00 00 02 */ li r0, 2 /* 801B3A50 001B09B0 7F 83 E3 78 */ mr r3, r28 /* 801B3A54 001B09B4 B0 81 00 20 */ sth r4, 0x20(r1) /* 801B3A58 001B09B8 7F 06 C3 78 */ mr r6, r24 /* 801B3A5C 001B09BC 7F 28 CB 78 */ mr r8, r25 /* 801B3A60 001B09C0 7F A9 EB 78 */ mr r9, r29 /* 801B3A64 001B09C4 93 41 00 08 */ stw r26, 8(r1) /* 801B3A68 001B09C8 38 A1 00 20 */ addi r5, r1, 0x20 /* 801B3A6C 001B09CC 39 41 00 88 */ addi r10, r1, 0x88 /* 801B3A70 001B09D0 38 80 00 0B */ li r4, 0xb /* 801B3A74 001B09D4 91 61 00 0C */ stw r11, 0xc(r1) /* 801B3A78 001B09D8 38 E0 00 00 */ li r7, 0 /* 801B3A7C 001B09DC 91 61 00 10 */ stw r11, 0x10(r1) /* 801B3A80 001B09E0 90 01 00 14 */ stw r0, 0x14(r1) /* 801B3A84 001B09E4 93 E1 00 18 */ stw r31, 0x18(r1) /* 801B3A88 001B09E8 90 01 00 1C */ stw r0, 0x1c(r1) /* 801B3A8C 001B09EC 4B EC 99 C5 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801B3A90 001B09F0 38 61 00 88 */ addi r3, r1, 0x88 /* 801B3A94 001B09F4 38 80 FF FF */ li r4, -1 /* 801B3A98 001B09F8 4B F6 2F B5 */ bl __dt__10CModelDataFv /* 801B3A9C 001B09FC 3C 60 80 3E */ lis r3, lbl_803E4E88@ha /* 801B3AA0 001B0A00 38 00 FF FF */ li r0, -1 /* 801B3AA4 001B0A04 38 63 4E 88 */ addi r3, r3, lbl_803E4E88@l /* 801B3AA8 001B0A08 7F 64 DB 78 */ mr r4, r27 /* 801B3AAC 001B0A0C 90 7C 00 00 */ stw r3, 0(r28) /* 801B3AB0 001B0A10 38 7C 05 6C */ addi r3, r28, 0x56c /* 801B3AB4 001B0A14 90 1C 05 68 */ stw r0, 0x568(r28) /* 801B3AB8 001B0A18 48 00 04 F5 */ bl __ct__13CFlaahgraDataFRC13CFlaahgraData /* 801B3ABC 001B0A1C 38 80 00 00 */ li r4, 0 /* 801B3AC0 001B0A20 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801B3AC4 001B0A24 98 9C 06 C8 */ stb r4, 0x6c8(r28) /* 801B3AC8 001B0A28 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801B3ACC 001B0A2C 38 61 00 2C */ addi r3, r1, 0x2c /* 801B3AD0 001B0A30 38 A1 00 34 */ addi r5, r1, 0x34 /* 801B3AD4 001B0A34 90 9C 06 CC */ stw r4, 0x6cc(r28) /* 801B3AD8 001B0A38 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801B3ADC 001B0A3C B0 9C 06 D0 */ sth r4, 0x6d0(r28) /* 801B3AE0 001B0A40 80 DB 00 B8 */ lwz r6, 0xb8(r27) /* 801B3AE4 001B0A44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801B3AE8 001B0A48 90 01 00 34 */ stw r0, 0x34(r1) /* 801B3AEC 001B0A4C 90 C1 00 38 */ stw r6, 0x38(r1) /* 801B3AF0 001B0A50 81 84 00 00 */ lwz r12, 0(r4) /* 801B3AF4 001B0A54 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801B3AF8 001B0A58 7D 89 03 A6 */ mtctr r12 /* 801B3AFC 001B0A5C 4E 80 04 21 */ bctrl /* 801B3B00 001B0A60 38 7C 06 D4 */ addi r3, r28, 0x6d4 /* 801B3B04 001B0A64 38 81 00 2C */ addi r4, r1, 0x2c /* 801B3B08 001B0A68 48 18 D3 A1 */ bl __ct__6CTokenFRC6CToken /* 801B3B0C 001B0A6C 38 61 00 2C */ addi r3, r1, 0x2c /* 801B3B10 001B0A70 38 80 FF FF */ li r4, -1 /* 801B3B14 001B0A74 48 18 D3 2D */ bl __dt__6CTokenFv /* 801B3B18 001B0A78 80 9B 00 78 */ lwz r4, 0x78(r27) /* 801B3B1C 001B0A7C 38 7C 06 DC */ addi r3, r28, 0x6dc /* 801B3B20 001B0A80 38 BB 00 7C */ addi r5, r27, 0x7c /* 801B3B24 001B0A84 48 06 85 85 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 801B3B28 001B0A88 80 9B 00 98 */ lwz r4, 0x98(r27) /* 801B3B2C 001B0A8C 38 7C 07 04 */ addi r3, r28, 0x704 /* 801B3B30 001B0A90 38 BB 00 9C */ addi r5, r27, 0x9c /* 801B3B34 001B0A94 48 06 85 75 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 801B3B38 001B0A98 38 E0 FF FF */ li r7, -1 /* 801B3B3C 001B0A9C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B3B40 001B0AA0 90 FC 07 2C */ stw r7, 0x72c(r28) /* 801B3B44 001B0AA4 38 C0 00 00 */ li r6, 0 /* 801B3B48 001B0AA8 38 00 00 01 */ li r0, 1 /* 801B3B4C 001B0AAC 3B 63 66 A0 */ addi r27, r3, skZero3f@l /* 801B3B50 001B0AB0 90 DC 07 30 */ stw r6, 0x730(r28) /* 801B3B54 001B0AB4 7F 84 E3 78 */ mr r4, r28 /* 801B3B58 001B0AB8 C0 22 A8 BC */ lfs f1, lbl_805AC5DC@sda21(r2) /* 801B3B5C 001B0ABC 38 61 00 6C */ addi r3, r1, 0x6c /* 801B3B60 001B0AC0 90 DC 07 70 */ stw r6, 0x770(r28) /* 801B3B64 001B0AC4 C0 02 A9 28 */ lfs f0, lbl_805AC648@sda21(r2) /* 801B3B68 001B0AC8 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) /* 801B3B6C 001B0ACC B0 BC 07 7C */ sth r5, 0x77c(r28) /* 801B3B70 001B0AD0 90 1C 07 80 */ stw r0, 0x780(r28) /* 801B3B74 001B0AD4 90 1C 07 84 */ stw r0, 0x784(r28) /* 801B3B78 001B0AD8 90 DC 07 88 */ stw r6, 0x788(r28) /* 801B3B7C 001B0ADC C0 5B 00 00 */ lfs f2, 0(r27) /* 801B3B80 001B0AE0 D0 5C 07 8C */ stfs f2, 0x78c(r28) /* 801B3B84 001B0AE4 C0 5B 00 04 */ lfs f2, 4(r27) /* 801B3B88 001B0AE8 D0 5C 07 90 */ stfs f2, 0x790(r28) /* 801B3B8C 001B0AEC C0 5B 00 08 */ lfs f2, 8(r27) /* 801B3B90 001B0AF0 D0 5C 07 94 */ stfs f2, 0x794(r28) /* 801B3B94 001B0AF4 90 FC 07 98 */ stw r7, 0x798(r28) /* 801B3B98 001B0AF8 90 DC 07 9C */ stw r6, 0x79c(r28) /* 801B3B9C 001B0AFC 90 DC 07 A0 */ stw r6, 0x7a0(r28) /* 801B3BA0 001B0B00 90 DC 07 A4 */ stw r6, 0x7a4(r28) /* 801B3BA4 001B0B04 90 FC 07 A8 */ stw r7, 0x7a8(r28) /* 801B3BA8 001B0B08 90 1C 07 AC */ stw r0, 0x7ac(r28) /* 801B3BAC 001B0B0C 90 1C 07 B0 */ stw r0, 0x7b0(r28) /* 801B3BB0 001B0B10 90 FC 07 B4 */ stw r7, 0x7b4(r28) /* 801B3BB4 001B0B14 D0 3C 07 B8 */ stfs f1, 0x7b8(r28) /* 801B3BB8 001B0B18 D0 3C 07 BC */ stfs f1, 0x7bc(r28) /* 801B3BBC 001B0B1C D0 3C 07 C0 */ stfs f1, 0x7c0(r28) /* 801B3BC0 001B0B20 D0 3C 07 C4 */ stfs f1, 0x7c4(r28) /* 801B3BC4 001B0B24 D0 1C 07 C8 */ stfs f0, 0x7c8(r28) /* 801B3BC8 001B0B28 D0 3C 07 CC */ stfs f1, 0x7cc(r28) /* 801B3BCC 001B0B2C D0 3C 07 D0 */ stfs f1, 0x7d0(r28) /* 801B3BD0 001B0B30 D0 3C 07 D4 */ stfs f1, 0x7d4(r28) /* 801B3BD4 001B0B34 D0 3C 07 D8 */ stfs f1, 0x7d8(r28) /* 801B3BD8 001B0B38 81 9C 00 00 */ lwz r12, 0(r28) /* 801B3BDC 001B0B3C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801B3BE0 001B0B40 7D 89 03 A6 */ mtctr r12 /* 801B3BE4 001B0B44 4E 80 04 21 */ bctrl /* 801B3BE8 001B0B48 80 81 00 6C */ lwz r4, 0x6c(r1) /* 801B3BEC 001B0B4C 38 00 00 00 */ li r0, 0 /* 801B3BF0 001B0B50 C0 02 A8 BC */ lfs f0, lbl_805AC5DC@sda21(r2) /* 801B3BF4 001B0B54 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B3BF8 001B0B58 90 9C 07 DC */ stw r4, 0x7dc(r28) /* 801B3BFC 001B0B5C 88 81 00 70 */ lbz r4, 0x70(r1) /* 801B3C00 001B0B60 98 9C 07 E0 */ stb r4, 0x7e0(r28) /* 801B3C04 001B0B64 C0 21 00 74 */ lfs f1, 0x74(r1) /* 801B3C08 001B0B68 D0 3C 07 E4 */ stfs f1, 0x7e4(r28) /* 801B3C0C 001B0B6C C0 21 00 78 */ lfs f1, 0x78(r1) /* 801B3C10 001B0B70 D0 3C 07 E8 */ stfs f1, 0x7e8(r28) /* 801B3C14 001B0B74 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801B3C18 001B0B78 D0 3C 07 EC */ stfs f1, 0x7ec(r28) /* 801B3C1C 001B0B7C C0 21 00 80 */ lfs f1, 0x80(r1) /* 801B3C20 001B0B80 D0 3C 07 F0 */ stfs f1, 0x7f0(r28) /* 801B3C24 001B0B84 88 81 00 84 */ lbz r4, 0x84(r1) /* 801B3C28 001B0B88 98 9C 07 F4 */ stb r4, 0x7f4(r28) /* 801B3C2C 001B0B8C 90 1C 07 F8 */ stw r0, 0x7f8(r28) /* 801B3C30 001B0B90 90 1C 07 FC */ stw r0, 0x7fc(r28) /* 801B3C34 001B0B94 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801B3C38 001B0B98 B0 9C 08 0C */ sth r4, 0x80c(r28) /* 801B3C3C 001B0B9C D0 1C 08 10 */ stfs f0, 0x810(r28) /* 801B3C40 001B0BA0 D0 1C 08 14 */ stfs f0, 0x814(r28) /* 801B3C44 001B0BA4 D0 1C 08 18 */ stfs f0, 0x818(r28) /* 801B3C48 001B0BA8 C0 5D 00 2C */ lfs f2, 0x2c(r29) /* 801B3C4C 001B0BAC C0 3D 00 1C */ lfs f1, 0x1c(r29) /* 801B3C50 001B0BB0 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 801B3C54 001B0BB4 D0 1C 08 20 */ stfs f0, 0x820(r28) /* 801B3C58 001B0BB8 D0 3C 08 24 */ stfs f1, 0x824(r28) /* 801B3C5C 001B0BBC D0 5C 08 28 */ stfs f2, 0x828(r28) /* 801B3C60 001B0BC0 90 1C 08 2C */ stw r0, 0x82c(r28) /* 801B3C64 001B0BC4 90 1C 08 60 */ stw r0, 0x860(r28) /* 801B3C68 001B0BC8 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) /* 801B3C6C 001B0BCC D0 1C 08 94 */ stfs f0, 0x894(r28) /* 801B3C70 001B0BD0 C0 1B 00 04 */ lfs f0, 4(r27) /* 801B3C74 001B0BD4 D0 1C 08 98 */ stfs f0, 0x898(r28) /* 801B3C78 001B0BD8 C0 1B 00 08 */ lfs f0, 8(r27) /* 801B3C7C 001B0BDC D0 1C 08 9C */ stfs f0, 0x89c(r28) /* 801B3C80 001B0BE0 C0 5D 00 24 */ lfs f2, 0x24(r29) /* 801B3C84 001B0BE4 C0 3D 00 14 */ lfs f1, 0x14(r29) /* 801B3C88 001B0BE8 C0 1D 00 04 */ lfs f0, 4(r29) /* 801B3C8C 001B0BEC D0 1C 08 A0 */ stfs f0, 0x8a0(r28) /* 801B3C90 001B0BF0 D0 3C 08 A4 */ stfs f1, 0x8a4(r28) /* 801B3C94 001B0BF4 D0 5C 08 A8 */ stfs f2, 0x8a8(r28) /* 801B3C98 001B0BF8 80 7E 00 00 */ lwz r3, 0(r30) /* 801B3C9C 001B0BFC 90 7C 08 AC */ stw r3, 0x8ac(r28) /* 801B3CA0 001B0C00 80 7E 00 04 */ lwz r3, 4(r30) /* 801B3CA4 001B0C04 90 7C 08 B0 */ stw r3, 0x8b0(r28) /* 801B3CA8 001B0C08 C0 1E 00 08 */ lfs f0, 8(r30) /* 801B3CAC 001B0C0C D0 1C 08 B4 */ stfs f0, 0x8b4(r28) /* 801B3CB0 001B0C10 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801B3CB4 001B0C14 D0 1C 08 B8 */ stfs f0, 0x8b8(r28) /* 801B3CB8 001B0C18 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801B3CBC 001B0C1C D0 1C 08 BC */ stfs f0, 0x8bc(r28) /* 801B3CC0 001B0C20 88 7E 00 14 */ lbz r3, 0x14(r30) /* 801B3CC4 001B0C24 98 7C 08 C0 */ stb r3, 0x8c0(r28) /* 801B3CC8 001B0C28 80 7E 00 18 */ lwz r3, 0x18(r30) /* 801B3CCC 001B0C2C 90 7C 08 C4 */ stw r3, 0x8c4(r28) /* 801B3CD0 001B0C30 98 1C 08 D0 */ stb r0, 0x8d0(r28) /* 801B3CD4 001B0C34 90 1C 08 D8 */ stw r0, 0x8d8(r28) /* 801B3CD8 001B0C38 90 1C 08 DC */ stw r0, 0x8dc(r28) /* 801B3CDC 001B0C3C 90 1C 08 E0 */ stw r0, 0x8e0(r28) /* 801B3CE0 001B0C40 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3CE4 001B0C44 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 /* 801B3CE8 001B0C48 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3CEC 001B0C4C 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3CF0 001B0C50 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 /* 801B3CF4 001B0C54 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3CF8 001B0C58 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3CFC 001B0C5C 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a /* 801B3D00 001B0C60 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3D04 001B0C64 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3D08 001B0C68 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b /* 801B3D0C 001B0C6C 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3D10 001B0C70 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3D14 001B0C74 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c /* 801B3D18 001B0C78 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3D1C 001B0C7C 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3D20 001B0C80 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d /* 801B3D24 001B0C84 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3D28 001B0C88 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3D2C 001B0C8C 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e /* 801B3D30 001B0C90 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3D34 001B0C94 88 7C 08 E4 */ lbz r3, 0x8e4(r28) /* 801B3D38 001B0C98 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f /* 801B3D3C 001B0C9C 98 7C 08 E4 */ stb r3, 0x8e4(r28) /* 801B3D40 001B0CA0 88 9C 08 E5 */ lbz r4, 0x8e5(r28) /* 801B3D44 001B0CA4 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 801B3D48 001B0CA8 38 A0 00 01 */ li r5, 1 /* 801B3D4C 001B0CAC 38 7C 06 DC */ addi r3, r28, 0x6dc /* 801B3D50 001B0CB0 98 9C 08 E5 */ stb r4, 0x8e5(r28) /* 801B3D54 001B0CB4 88 9C 08 E5 */ lbz r4, 0x8e5(r28) /* 801B3D58 001B0CB8 50 04 2E B4 */ rlwimi r4, r0, 5, 0x1a, 0x1a /* 801B3D5C 001B0CBC 98 9C 08 E5 */ stb r4, 0x8e5(r28) /* 801B3D60 001B0CC0 88 9C 08 E5 */ lbz r4, 0x8e5(r28) /* 801B3D64 001B0CC4 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b /* 801B3D68 001B0CC8 98 9C 08 E5 */ stb r4, 0x8e5(r28) /* 801B3D6C 001B0CCC 88 9C 08 E5 */ lbz r4, 0x8e5(r28) /* 801B3D70 001B0CD0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c /* 801B3D74 001B0CD4 98 9C 08 E5 */ stb r4, 0x8e5(r28) /* 801B3D78 001B0CD8 88 9C 08 E5 */ lbz r4, 0x8e5(r28) /* 801B3D7C 001B0CDC 50 A4 17 7A */ rlwimi r4, r5, 2, 0x1d, 0x1d /* 801B3D80 001B0CE0 98 9C 08 E5 */ stb r4, 0x8e5(r28) /* 801B3D84 001B0CE4 88 9C 08 E5 */ lbz r4, 0x8e5(r28) /* 801B3D88 001B0CE8 50 04 0F BC */ rlwimi r4, r0, 1, 0x1e, 0x1e /* 801B3D8C 001B0CEC 98 9C 08 E5 */ stb r4, 0x8e5(r28) /* 801B3D90 001B0CF0 88 9C 00 E7 */ lbz r4, 0xe7(r28) /* 801B3D94 001B0CF4 50 04 0F BC */ rlwimi r4, r0, 1, 0x1e, 0x1e /* 801B3D98 001B0CF8 98 9C 00 E7 */ stb r4, 0xe7(r28) /* 801B3D9C 001B0CFC 48 18 CF E9 */ bl Lock__6CTokenFv /* 801B3DA0 001B0D00 38 7C 07 04 */ addi r3, r28, 0x704 /* 801B3DA4 001B0D04 48 18 CF E1 */ bl Lock__6CTokenFv /* 801B3DA8 001B0D08 C0 22 A8 E4 */ lfs f1, lbl_805AC604@sda21(r2) /* 801B3DAC 001B0D0C 7F E4 FB 78 */ mr r4, r31 /* 801B3DB0 001B0D10 C0 1C 07 E4 */ lfs f0, 0x7e4(r28) /* 801B3DB4 001B0D14 38 61 00 24 */ addi r3, r1, 0x24 /* 801B3DB8 001B0D18 EC 01 00 32 */ fmuls f0, f1, f0 /* 801B3DBC 001B0D1C D0 1C 07 E4 */ stfs f0, 0x7e4(r28) /* 801B3DC0 001B0D20 4B F5 26 51 */ bl MakeActorLights__16CLightParametersCFv /* 801B3DC4 001B0D24 7F 83 E3 78 */ mr r3, r28 /* 801B3DC8 001B0D28 38 81 00 24 */ addi r4, r1, 0x24 /* 801B3DCC 001B0D2C 4B E9 FA F9 */ bl sub_800538c4 /* 801B3DD0 001B0D30 88 01 00 24 */ lbz r0, 0x24(r1) /* 801B3DD4 001B0D34 28 00 00 00 */ cmplwi r0, 0 /* 801B3DD8 001B0D38 41 82 00 10 */ beq lbl_801B3DE8 /* 801B3DDC 001B0D3C 80 61 00 28 */ lwz r3, 0x28(r1) /* 801B3DE0 001B0D40 38 80 00 01 */ li r4, 1 /* 801B3DE4 001B0D44 4B F5 12 F1 */ bl __dt__12CActorLightsFv lbl_801B3DE8: /* 801B3DE8 001B0D48 80 FC 00 90 */ lwz r7, 0x90(r28) /* 801B3DEC 001B0D4C 38 60 00 00 */ li r3, 0 /* 801B3DF0 001B0D50 38 A0 00 02 */ li r5, 2 /* 801B3DF4 001B0D54 38 00 00 01 */ li r0, 1 /* 801B3DF8 001B0D58 88 C7 02 98 */ lbz r6, 0x298(r7) /* 801B3DFC 001B0D5C 50 66 36 72 */ rlwimi r6, r3, 6, 0x19, 0x19 /* 801B3E00 001B0D60 38 7C 04 60 */ addi r3, r28, 0x460 /* 801B3E04 001B0D64 38 80 00 00 */ li r4, 0 /* 801B3E08 001B0D68 98 C7 02 98 */ stb r6, 0x298(r7) /* 801B3E0C 001B0D6C 81 1C 00 90 */ lwz r8, 0x90(r28) /* 801B3E10 001B0D70 90 A8 02 B8 */ stw r5, 0x2b8(r8) /* 801B3E14 001B0D74 80 E8 02 B8 */ lwz r7, 0x2b8(r8) /* 801B3E18 001B0D78 88 A8 02 98 */ lbz r5, 0x298(r8) /* 801B3E1C 001B0D7C 7C C7 00 D0 */ neg r6, r7 /* 801B3E20 001B0D80 7C C6 38 78 */ andc r6, r6, r7 /* 801B3E24 001B0D84 50 C5 36 B4 */ rlwimi r5, r6, 6, 0x1a, 0x1a /* 801B3E28 001B0D88 98 A8 02 98 */ stb r5, 0x298(r8) /* 801B3E2C 001B0D8C 80 BC 00 90 */ lwz r5, 0x90(r28) /* 801B3E30 001B0D90 90 05 02 BC */ stw r0, 0x2bc(r5) /* 801B3E34 001B0D94 48 07 FF 31 */ bl SetAutoResetImpulse__20CKnockBackControllerFb /* 801B3E38 001B0D98 88 1C 04 E1 */ lbz r0, 0x4e1(r28) /* 801B3E3C 001B0D9C 38 60 00 00 */ li r3, 0 /* 801B3E40 001B0DA0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801B3E44 001B0DA4 7F 83 E3 78 */ mr r3, r28 /* 801B3E48 001B0DA8 98 1C 04 E1 */ stb r0, 0x4e1(r28) /* 801B3E4C 001B0DAC 80 0D A4 98 */ lwz r0, lbl_805A9058@sda21(r13) /* 801B3E50 001B0DB0 90 1C 04 30 */ stw r0, 0x430(r28) /* 801B3E54 001B0DB4 80 9C 06 C4 */ lwz r4, 0x6c4(r28) /* 801B3E58 001B0DB8 4B FF 9A C5 */ bl sub_801ad91c /* 801B3E5C 001B0DBC C3 42 A9 2C */ lfs f26, lbl_805AC64C@sda21(r2) /* 801B3E60 001B0DC0 3B 7C 08 2C */ addi r27, r28, 0x82c /* 801B3E64 001B0DC4 C3 62 A8 BC */ lfs f27, lbl_805AC5DC@sda21(r2) /* 801B3E68 001B0DC8 3B BC 08 60 */ addi r29, r28, 0x860 /* 801B3E6C 001B0DCC C3 82 A9 14 */ lfs f28, lbl_805AC634@sda21(r2) /* 801B3E70 001B0DD0 C3 C2 A9 30 */ lfs f30, lbl_805AC650@sda21(r2) /* 801B3E74 001B0DD4 C3 E2 A9 34 */ lfs f31, lbl_805AC654@sda21(r2) /* 801B3E78 001B0DD8 48 00 00 DC */ b lbl_801B3F54 lbl_801B3E7C: /* 801B3E7C 001B0DDC FC 20 D0 90 */ fmr f1, f26 /* 801B3E80 001B0DE0 48 16 0F 71 */ bl FastSinR__5CMathFf /* 801B3E84 001B0DE4 FF A0 08 90 */ fmr f29, f1 /* 801B3E88 001B0DE8 FC 20 D0 90 */ fmr f1, f26 /* 801B3E8C 001B0DEC 48 16 0E B9 */ bl FastCosR__5CMathFf /* 801B3E90 001B0DF0 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801B3E94 001B0DF4 38 61 00 60 */ addi r3, r1, 0x60 /* 801B3E98 001B0DF8 38 9C 00 34 */ addi r4, r28, 0x34 /* 801B3E9C 001B0DFC 38 A1 00 54 */ addi r5, r1, 0x54 /* 801B3EA0 001B0E00 D3 A1 00 58 */ stfs f29, 0x58(r1) /* 801B3EA4 001B0E04 D3 61 00 5C */ stfs f27, 0x5c(r1) /* 801B3EA8 001B0E08 48 15 EB D9 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801B3EAC 001B0E0C 80 1B 00 00 */ lwz r0, 0(r27) /* 801B3EB0 001B0E10 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801B3EB4 001B0E14 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B3EB8 001B0E18 C0 21 00 64 */ lfs f1, 0x64(r1) /* 801B3EBC 001B0E1C C0 41 00 68 */ lfs f2, 0x68(r1) /* 801B3EC0 001B0E20 7C 7B 02 14 */ add r3, r27, r0 /* 801B3EC4 001B0E24 34 63 00 04 */ addic. r3, r3, 4 /* 801B3EC8 001B0E28 41 82 00 10 */ beq lbl_801B3ED8 /* 801B3ECC 001B0E2C D0 03 00 00 */ stfs f0, 0(r3) /* 801B3ED0 001B0E30 D0 23 00 04 */ stfs f1, 4(r3) /* 801B3ED4 001B0E34 D0 43 00 08 */ stfs f2, 8(r3) lbl_801B3ED8: /* 801B3ED8 001B0E38 EF 3C D0 2A */ fadds f25, f28, f26 /* 801B3EDC 001B0E3C 80 7C 08 2C */ lwz r3, 0x82c(r28) /* 801B3EE0 001B0E40 38 03 00 01 */ addi r0, r3, 1 /* 801B3EE4 001B0E44 FC 20 C8 90 */ fmr f1, f25 /* 801B3EE8 001B0E48 90 1C 08 2C */ stw r0, 0x82c(r28) /* 801B3EEC 001B0E4C 48 16 0F 05 */ bl FastSinR__5CMathFf /* 801B3EF0 001B0E50 FF A0 08 90 */ fmr f29, f1 /* 801B3EF4 001B0E54 FC 20 C8 90 */ fmr f1, f25 /* 801B3EF8 001B0E58 48 16 0E 4D */ bl FastCosR__5CMathFf /* 801B3EFC 001B0E5C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801B3F00 001B0E60 38 61 00 48 */ addi r3, r1, 0x48 /* 801B3F04 001B0E64 38 9C 00 34 */ addi r4, r28, 0x34 /* 801B3F08 001B0E68 38 A1 00 3C */ addi r5, r1, 0x3c /* 801B3F0C 001B0E6C D3 A1 00 40 */ stfs f29, 0x40(r1) /* 801B3F10 001B0E70 D3 61 00 44 */ stfs f27, 0x44(r1) /* 801B3F14 001B0E74 48 15 EB 6D */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801B3F18 001B0E78 80 1D 00 00 */ lwz r0, 0(r29) /* 801B3F1C 001B0E7C C0 01 00 48 */ lfs f0, 0x48(r1) /* 801B3F20 001B0E80 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B3F24 001B0E84 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 801B3F28 001B0E88 C0 41 00 50 */ lfs f2, 0x50(r1) /* 801B3F2C 001B0E8C 7C 7D 02 14 */ add r3, r29, r0 /* 801B3F30 001B0E90 34 63 00 04 */ addic. r3, r3, 4 /* 801B3F34 001B0E94 41 82 00 10 */ beq lbl_801B3F44 /* 801B3F38 001B0E98 D0 03 00 00 */ stfs f0, 0(r3) /* 801B3F3C 001B0E9C D0 23 00 04 */ stfs f1, 4(r3) /* 801B3F40 001B0EA0 D0 43 00 08 */ stfs f2, 8(r3) lbl_801B3F44: /* 801B3F44 001B0EA4 80 7C 08 60 */ lwz r3, 0x860(r28) /* 801B3F48 001B0EA8 EF 5A F0 2A */ fadds f26, f26, f30 /* 801B3F4C 001B0EAC 38 03 00 01 */ addi r0, r3, 1 /* 801B3F50 001B0EB0 90 1C 08 60 */ stw r0, 0x860(r28) lbl_801B3F54: /* 801B3F54 001B0EB4 FC 1A F8 40 */ fcmpo cr0, f26, f31 /* 801B3F58 001B0EB8 41 80 FF 24 */ blt lbl_801B3E7C /* 801B3F5C 001B0EBC 7F 83 E3 78 */ mr r3, r28 /* 801B3F60 001B0EC0 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 /* 801B3F64 001B0EC4 CB E1 01 60 */ lfd f31, 0x160(r1) /* 801B3F68 001B0EC8 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 /* 801B3F6C 001B0ECC CB C1 01 50 */ lfd f30, 0x150(r1) /* 801B3F70 001B0ED0 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 /* 801B3F74 001B0ED4 CB A1 01 40 */ lfd f29, 0x140(r1) /* 801B3F78 001B0ED8 E3 81 01 38 */ psq_l f28, 312(r1), 0, qr0 /* 801B3F7C 001B0EDC CB 81 01 30 */ lfd f28, 0x130(r1) /* 801B3F80 001B0EE0 E3 61 01 28 */ psq_l f27, 296(r1), 0, qr0 /* 801B3F84 001B0EE4 CB 61 01 20 */ lfd f27, 0x120(r1) /* 801B3F88 001B0EE8 E3 41 01 18 */ psq_l f26, 280(r1), 0, qr0 /* 801B3F8C 001B0EEC CB 41 01 10 */ lfd f26, 0x110(r1) /* 801B3F90 001B0EF0 E3 21 01 08 */ psq_l f25, 264(r1), 0, qr0 /* 801B3F94 001B0EF4 CB 21 01 00 */ lfd f25, 0x100(r1) /* 801B3F98 001B0EF8 BA E1 00 DC */ lmw r23, 0xdc(r1) /* 801B3F9C 001B0EFC 80 01 01 74 */ lwz r0, 0x174(r1) /* 801B3FA0 001B0F00 7C 08 03 A6 */ mtlr r0 /* 801B3FA4 001B0F04 38 21 01 70 */ addi r1, r1, 0x170 /* 801B3FA8 001B0F08 4E 80 00 20 */ blr .global __ct__13CFlaahgraDataFRC13CFlaahgraData __ct__13CFlaahgraDataFRC13CFlaahgraData: /* 801B3FAC 001B0F0C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B3FB0 001B0F10 7C 08 02 A6 */ mflr r0 /* 801B3FB4 001B0F14 90 01 00 14 */ stw r0, 0x14(r1) /* 801B3FB8 001B0F18 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B3FBC 001B0F1C 7C 9F 23 78 */ mr r31, r4 /* 801B3FC0 001B0F20 93 C1 00 08 */ stw r30, 8(r1) /* 801B3FC4 001B0F24 7C 7E 1B 78 */ mr r30, r3 /* 801B3FC8 001B0F28 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B3FCC 001B0F2C D0 1E 00 00 */ stfs f0, 0(r30) /* 801B3FD0 001B0F30 C0 1F 00 04 */ lfs f0, 4(r31) /* 801B3FD4 001B0F34 D0 1E 00 04 */ stfs f0, 4(r30) /* 801B3FD8 001B0F38 C0 1F 00 08 */ lfs f0, 8(r31) /* 801B3FDC 001B0F3C D0 1E 00 08 */ stfs f0, 8(r30) /* 801B3FE0 001B0F40 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B3FE4 001B0F44 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 801B3FE8 001B0F48 80 7F 00 10 */ lwz r3, 0x10(r31) /* 801B3FEC 001B0F4C 80 1F 00 14 */ lwz r0, 0x14(r31) /* 801B3FF0 001B0F50 90 7E 00 10 */ stw r3, 0x10(r30) /* 801B3FF4 001B0F54 90 1E 00 14 */ stw r0, 0x14(r30) /* 801B3FF8 001B0F58 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801B3FFC 001B0F5C 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 801B4000 001B0F60 90 7E 00 18 */ stw r3, 0x18(r30) /* 801B4004 001B0F64 90 1E 00 1C */ stw r0, 0x1c(r30) /* 801B4008 001B0F68 80 7F 00 20 */ lwz r3, 0x20(r31) /* 801B400C 001B0F6C 80 1F 00 24 */ lwz r0, 0x24(r31) /* 801B4010 001B0F70 90 7E 00 20 */ stw r3, 0x20(r30) /* 801B4014 001B0F74 90 1E 00 24 */ stw r0, 0x24(r30) /* 801B4018 001B0F78 80 7F 00 28 */ lwz r3, 0x28(r31) /* 801B401C 001B0F7C 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 801B4020 001B0F80 90 7E 00 28 */ stw r3, 0x28(r30) /* 801B4024 001B0F84 90 1E 00 2C */ stw r0, 0x2c(r30) /* 801B4028 001B0F88 80 7F 00 30 */ lwz r3, 0x30(r31) /* 801B402C 001B0F8C 80 1F 00 34 */ lwz r0, 0x34(r31) /* 801B4030 001B0F90 90 7E 00 30 */ stw r3, 0x30(r30) /* 801B4034 001B0F94 90 1E 00 34 */ stw r0, 0x34(r30) /* 801B4038 001B0F98 80 7F 00 38 */ lwz r3, 0x38(r31) /* 801B403C 001B0F9C 80 1F 00 3C */ lwz r0, 0x3c(r31) /* 801B4040 001B0FA0 90 7E 00 38 */ stw r3, 0x38(r30) /* 801B4044 001B0FA4 90 1E 00 3C */ stw r0, 0x3c(r30) /* 801B4048 001B0FA8 80 7F 00 40 */ lwz r3, 0x40(r31) /* 801B404C 001B0FAC 80 1F 00 44 */ lwz r0, 0x44(r31) /* 801B4050 001B0FB0 90 7E 00 40 */ stw r3, 0x40(r30) /* 801B4054 001B0FB4 90 1E 00 44 */ stw r0, 0x44(r30) /* 801B4058 001B0FB8 80 1F 00 48 */ lwz r0, 0x48(r31) /* 801B405C 001B0FBC 90 1E 00 48 */ stw r0, 0x48(r30) /* 801B4060 001B0FC0 80 7F 00 4C */ lwz r3, 0x4c(r31) /* 801B4064 001B0FC4 80 1F 00 50 */ lwz r0, 0x50(r31) /* 801B4068 001B0FC8 90 7E 00 4C */ stw r3, 0x4c(r30) /* 801B406C 001B0FCC 90 1E 00 50 */ stw r0, 0x50(r30) /* 801B4070 001B0FD0 80 7F 00 54 */ lwz r3, 0x54(r31) /* 801B4074 001B0FD4 80 1F 00 58 */ lwz r0, 0x58(r31) /* 801B4078 001B0FD8 90 7E 00 54 */ stw r3, 0x54(r30) /* 801B407C 001B0FDC 90 1E 00 58 */ stw r0, 0x58(r30) /* 801B4080 001B0FE0 80 7F 00 5C */ lwz r3, 0x5c(r31) /* 801B4084 001B0FE4 80 1F 00 60 */ lwz r0, 0x60(r31) /* 801B4088 001B0FE8 90 7E 00 5C */ stw r3, 0x5c(r30) /* 801B408C 001B0FEC 90 1E 00 60 */ stw r0, 0x60(r30) /* 801B4090 001B0FF0 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801B4094 001B0FF4 80 1F 00 68 */ lwz r0, 0x68(r31) /* 801B4098 001B0FF8 90 7E 00 64 */ stw r3, 0x64(r30) /* 801B409C 001B0FFC 90 1E 00 68 */ stw r0, 0x68(r30) /* 801B40A0 001B1000 80 1F 00 6C */ lwz r0, 0x6c(r31) /* 801B40A4 001B1004 90 1E 00 6C */ stw r0, 0x6c(r30) /* 801B40A8 001B1008 80 1F 00 70 */ lwz r0, 0x70(r31) /* 801B40AC 001B100C 90 1E 00 70 */ stw r0, 0x70(r30) /* 801B40B0 001B1010 80 1F 00 74 */ lwz r0, 0x74(r31) /* 801B40B4 001B1014 90 1E 00 74 */ stw r0, 0x74(r30) /* 801B40B8 001B1018 80 1F 00 78 */ lwz r0, 0x78(r31) /* 801B40BC 001B101C 90 1E 00 78 */ stw r0, 0x78(r30) /* 801B40C0 001B1020 80 1F 00 7C */ lwz r0, 0x7c(r31) /* 801B40C4 001B1024 90 1E 00 7C */ stw r0, 0x7c(r30) /* 801B40C8 001B1028 88 1F 00 80 */ lbz r0, 0x80(r31) /* 801B40CC 001B102C 98 1E 00 80 */ stb r0, 0x80(r30) /* 801B40D0 001B1030 C0 1F 00 84 */ lfs f0, 0x84(r31) /* 801B40D4 001B1034 D0 1E 00 84 */ stfs f0, 0x84(r30) /* 801B40D8 001B1038 C0 1F 00 88 */ lfs f0, 0x88(r31) /* 801B40DC 001B103C D0 1E 00 88 */ stfs f0, 0x88(r30) /* 801B40E0 001B1040 C0 1F 00 8C */ lfs f0, 0x8c(r31) /* 801B40E4 001B1044 D0 1E 00 8C */ stfs f0, 0x8c(r30) /* 801B40E8 001B1048 C0 1F 00 90 */ lfs f0, 0x90(r31) /* 801B40EC 001B104C D0 1E 00 90 */ stfs f0, 0x90(r30) /* 801B40F0 001B1050 88 1F 00 94 */ lbz r0, 0x94(r31) /* 801B40F4 001B1054 98 1E 00 94 */ stb r0, 0x94(r30) /* 801B40F8 001B1058 80 1F 00 98 */ lwz r0, 0x98(r31) /* 801B40FC 001B105C 90 1E 00 98 */ stw r0, 0x98(r30) /* 801B4100 001B1060 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 801B4104 001B1064 90 1E 00 9C */ stw r0, 0x9c(r30) /* 801B4108 001B1068 88 1F 00 A0 */ lbz r0, 0xa0(r31) /* 801B410C 001B106C 98 1E 00 A0 */ stb r0, 0xa0(r30) /* 801B4110 001B1070 C0 1F 00 A4 */ lfs f0, 0xa4(r31) /* 801B4114 001B1074 D0 1E 00 A4 */ stfs f0, 0xa4(r30) /* 801B4118 001B1078 C0 1F 00 A8 */ lfs f0, 0xa8(r31) /* 801B411C 001B107C D0 1E 00 A8 */ stfs f0, 0xa8(r30) /* 801B4120 001B1080 C0 1F 00 AC */ lfs f0, 0xac(r31) /* 801B4124 001B1084 D0 1E 00 AC */ stfs f0, 0xac(r30) /* 801B4128 001B1088 C0 1F 00 B0 */ lfs f0, 0xb0(r31) /* 801B412C 001B108C D0 1E 00 B0 */ stfs f0, 0xb0(r30) /* 801B4130 001B1090 88 1F 00 B4 */ lbz r0, 0xb4(r31) /* 801B4134 001B1094 98 1E 00 B4 */ stb r0, 0xb4(r30) /* 801B4138 001B1098 80 1F 00 B8 */ lwz r0, 0xb8(r31) /* 801B413C 001B109C 90 1E 00 B8 */ stw r0, 0xb8(r30) /* 801B4140 001B10A0 80 1F 00 BC */ lwz r0, 0xbc(r31) /* 801B4144 001B10A4 90 1E 00 BC */ stw r0, 0xbc(r30) /* 801B4148 001B10A8 88 1F 00 C0 */ lbz r0, 0xc0(r31) /* 801B414C 001B10AC 98 1E 00 C0 */ stb r0, 0xc0(r30) /* 801B4150 001B10B0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) /* 801B4154 001B10B4 D0 1E 00 C4 */ stfs f0, 0xc4(r30) /* 801B4158 001B10B8 C0 1F 00 C8 */ lfs f0, 0xc8(r31) /* 801B415C 001B10BC D0 1E 00 C8 */ stfs f0, 0xc8(r30) /* 801B4160 001B10C0 C0 1F 00 CC */ lfs f0, 0xcc(r31) /* 801B4164 001B10C4 38 7E 00 D8 */ addi r3, r30, 0xd8 /* 801B4168 001B10C8 38 9F 00 D8 */ addi r4, r31, 0xd8 /* 801B416C 001B10CC D0 1E 00 CC */ stfs f0, 0xcc(r30) /* 801B4170 001B10D0 C0 1F 00 D0 */ lfs f0, 0xd0(r31) /* 801B4174 001B10D4 D0 1E 00 D0 */ stfs f0, 0xd0(r30) /* 801B4178 001B10D8 88 1F 00 D4 */ lbz r0, 0xd4(r31) /* 801B417C 001B10DC 98 1E 00 D4 */ stb r0, 0xd4(r30) /* 801B4180 001B10E0 4B F1 14 9D */ bl __ct__16CActorParametersFRC16CActorParameters /* 801B4184 001B10E4 C0 1F 01 40 */ lfs f0, 0x140(r31) /* 801B4188 001B10E8 7F C3 F3 78 */ mr r3, r30 /* 801B418C 001B10EC D0 1E 01 40 */ stfs f0, 0x140(r30) /* 801B4190 001B10F0 C0 1F 01 44 */ lfs f0, 0x144(r31) /* 801B4194 001B10F4 D0 1E 01 44 */ stfs f0, 0x144(r30) /* 801B4198 001B10F8 C0 1F 01 48 */ lfs f0, 0x148(r31) /* 801B419C 001B10FC D0 1E 01 48 */ stfs f0, 0x148(r30) /* 801B41A0 001B1100 80 1F 01 4C */ lwz r0, 0x14c(r31) /* 801B41A4 001B1104 90 1E 01 4C */ stw r0, 0x14c(r30) /* 801B41A8 001B1108 80 1F 01 50 */ lwz r0, 0x150(r31) /* 801B41AC 001B110C 90 1E 01 50 */ stw r0, 0x150(r30) /* 801B41B0 001B1110 80 1F 01 54 */ lwz r0, 0x154(r31) /* 801B41B4 001B1114 90 1E 01 54 */ stw r0, 0x154(r30) /* 801B41B8 001B1118 80 1F 01 58 */ lwz r0, 0x158(r31) /* 801B41BC 001B111C 90 1E 01 58 */ stw r0, 0x158(r30) /* 801B41C0 001B1120 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B41C4 001B1124 83 C1 00 08 */ lwz r30, 8(r1) /* 801B41C8 001B1128 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B41CC 001B112C 7C 08 03 A6 */ mtlr r0 /* 801B41D0 001B1130 38 21 00 10 */ addi r1, r1, 0x10 /* 801B41D4 001B1134 4E 80 00 20 */ blr .global __ct__13CFlaahgraDataFR12CInputStream __ct__13CFlaahgraDataFR12CInputStream: /* 801B41D8 001B1138 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801B41DC 001B113C 7C 08 02 A6 */ mflr r0 /* 801B41E0 001B1140 90 01 00 94 */ stw r0, 0x94(r1) /* 801B41E4 001B1144 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801B41E8 001B1148 7C 9F 23 78 */ mr r31, r4 /* 801B41EC 001B114C 93 C1 00 88 */ stw r30, 0x88(r1) /* 801B41F0 001B1150 7C 7E 1B 78 */ mr r30, r3 /* 801B41F4 001B1154 7F E3 FB 78 */ mr r3, r31 /* 801B41F8 001B1158 48 18 AA 31 */ bl ReadFloat__12CInputStreamFv /* 801B41FC 001B115C D0 3E 00 00 */ stfs f1, 0(r30) /* 801B4200 001B1160 7F E3 FB 78 */ mr r3, r31 /* 801B4204 001B1164 48 18 AA 25 */ bl ReadFloat__12CInputStreamFv /* 801B4208 001B1168 D0 3E 00 04 */ stfs f1, 4(r30) /* 801B420C 001B116C 7F E3 FB 78 */ mr r3, r31 /* 801B4210 001B1170 48 18 AA 19 */ bl ReadFloat__12CInputStreamFv /* 801B4214 001B1174 D0 3E 00 08 */ stfs f1, 8(r30) /* 801B4218 001B1178 7F E3 FB 78 */ mr r3, r31 /* 801B421C 001B117C 48 18 AA 0D */ bl ReadFloat__12CInputStreamFv /* 801B4220 001B1180 D0 3E 00 0C */ stfs f1, 0xc(r30) /* 801B4224 001B1184 7F E4 FB 78 */ mr r4, r31 /* 801B4228 001B1188 38 7E 00 10 */ addi r3, r30, 0x10 /* 801B422C 001B118C 4B F4 E9 2D */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 801B4230 001B1190 7F E3 FB 78 */ mr r3, r31 /* 801B4234 001B1194 48 18 AA 51 */ bl ReadLong__12CInputStreamFv /* 801B4238 001B1198 90 7E 00 78 */ stw r3, 0x78(r30) /* 801B423C 001B119C 7F E4 FB 78 */ mr r4, r31 /* 801B4240 001B11A0 38 7E 00 7C */ addi r3, r30, 0x7c /* 801B4244 001B11A4 4B F0 F3 1D */ bl __ct__11CDamageInfoFR12CInputStream /* 801B4248 001B11A8 7F E3 FB 78 */ mr r3, r31 /* 801B424C 001B11AC 48 18 AA 39 */ bl ReadLong__12CInputStreamFv /* 801B4250 001B11B0 90 7E 00 98 */ stw r3, 0x98(r30) /* 801B4254 001B11B4 7F E4 FB 78 */ mr r4, r31 /* 801B4258 001B11B8 38 7E 00 9C */ addi r3, r30, 0x9c /* 801B425C 001B11BC 4B F0 F3 05 */ bl __ct__11CDamageInfoFR12CInputStream /* 801B4260 001B11C0 7F E3 FB 78 */ mr r3, r31 /* 801B4264 001B11C4 48 18 AA 21 */ bl ReadLong__12CInputStreamFv /* 801B4268 001B11C8 90 7E 00 B8 */ stw r3, 0xb8(r30) /* 801B426C 001B11CC 7F E4 FB 78 */ mr r4, r31 /* 801B4270 001B11D0 38 7E 00 BC */ addi r3, r30, 0xbc /* 801B4274 001B11D4 4B F0 F2 ED */ bl __ct__11CDamageInfoFR12CInputStream /* 801B4278 001B11D8 7F E4 FB 78 */ mr r4, r31 /* 801B427C 001B11DC 38 61 00 14 */ addi r3, r1, 0x14 /* 801B4280 001B11E0 4B F2 5A F5 */ bl LoadActorParameters__FR12CInputStream /* 801B4284 001B11E4 38 7E 00 D8 */ addi r3, r30, 0xd8 /* 801B4288 001B11E8 38 81 00 14 */ addi r4, r1, 0x14 /* 801B428C 001B11EC 4B F1 13 91 */ bl __ct__16CActorParametersFRC16CActorParameters /* 801B4290 001B11F0 38 61 00 14 */ addi r3, r1, 0x14 /* 801B4294 001B11F4 38 80 FF FF */ li r4, -1 /* 801B4298 001B11F8 4B F5 23 71 */ bl __dt__16CActorParametersFv /* 801B429C 001B11FC 7F E3 FB 78 */ mr r3, r31 /* 801B42A0 001B1200 48 18 A9 89 */ bl ReadFloat__12CInputStreamFv /* 801B42A4 001B1204 D0 3E 01 40 */ stfs f1, 0x140(r30) /* 801B42A8 001B1208 7F E3 FB 78 */ mr r3, r31 /* 801B42AC 001B120C 48 18 A9 7D */ bl ReadFloat__12CInputStreamFv /* 801B42B0 001B1210 D0 3E 01 44 */ stfs f1, 0x144(r30) /* 801B42B4 001B1214 7F E3 FB 78 */ mr r3, r31 /* 801B42B8 001B1218 48 18 A9 71 */ bl ReadFloat__12CInputStreamFv /* 801B42BC 001B121C D0 3E 01 48 */ stfs f1, 0x148(r30) /* 801B42C0 001B1220 7F E4 FB 78 */ mr r4, r31 /* 801B42C4 001B1224 38 61 00 08 */ addi r3, r1, 8 /* 801B42C8 001B1228 4B F2 61 45 */ bl LoadAnimationParameters__FR12CInputStream /* 801B42CC 001B122C 80 01 00 08 */ lwz r0, 8(r1) /* 801B42D0 001B1230 7F E3 FB 78 */ mr r3, r31 /* 801B42D4 001B1234 90 1E 01 4C */ stw r0, 0x14c(r30) /* 801B42D8 001B1238 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B42DC 001B123C 90 1E 01 50 */ stw r0, 0x150(r30) /* 801B42E0 001B1240 80 01 00 10 */ lwz r0, 0x10(r1) /* 801B42E4 001B1244 90 1E 01 54 */ stw r0, 0x154(r30) /* 801B42E8 001B1248 48 18 A9 9D */ bl ReadLong__12CInputStreamFv /* 801B42EC 001B124C 90 7E 01 58 */ stw r3, 0x158(r30) /* 801B42F0 001B1250 7F C3 F3 78 */ mr r3, r30 /* 801B42F4 001B1254 80 01 00 94 */ lwz r0, 0x94(r1) /* 801B42F8 001B1258 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801B42FC 001B125C 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801B4300 001B1260 7C 08 03 A6 */ mtlr r0 /* 801B4304 001B1264 38 21 00 90 */ addi r1, r1, 0x90 /* 801B4308 001B1268 4E 80 00 20 */ blr .global AcceptScriptMsg__19CFlaahgraProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__19CFlaahgraProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801B430C 001B126C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B4310 001B1270 7C 08 02 A6 */ mflr r0 /* 801B4314 001B1274 90 01 00 34 */ stw r0, 0x34(r1) /* 801B4318 001B1278 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B431C 001B127C 7C DF 33 78 */ mr r31, r6 /* 801B4320 001B1280 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B4324 001B1284 7C 9E 23 78 */ mr r30, r4 /* 801B4328 001B1288 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B432C 001B128C 7C 7D 1B 78 */ mr r29, r3 /* 801B4330 001B1290 A0 05 00 00 */ lhz r0, 0(r5) /* 801B4334 001B1294 38 A1 00 18 */ addi r5, r1, 0x18 /* 801B4338 001B1298 B0 01 00 18 */ sth r0, 0x18(r1) /* 801B433C 001B129C 48 05 FB B9 */ bl AcceptScriptMsg__17CEnergyProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801B4340 001B12A0 88 1D 03 D8 */ lbz r0, 0x3d8(r29) /* 801B4344 001B12A4 28 00 00 00 */ cmplwi r0, 0 /* 801B4348 001B12A8 41 82 00 60 */ beq lbl_801B43A8 /* 801B434C 001B12AC 2C 1E 00 22 */ cmpwi r30, 0x22 /* 801B4350 001B12B0 41 82 00 08 */ beq lbl_801B4358 /* 801B4354 001B12B4 48 00 00 54 */ b lbl_801B43A8 lbl_801B4358: /* 801B4358 001B12B8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801B435C 001B12BC A0 1D 02 C2 */ lhz r0, 0x2c2(r29) /* 801B4360 001B12C0 A0 63 00 08 */ lhz r3, 8(r3) /* 801B4364 001B12C4 7C 03 00 40 */ cmplw r3, r0 /* 801B4368 001B12C8 40 82 00 40 */ bne lbl_801B43A8 /* 801B436C 001B12CC A0 1D 00 EC */ lhz r0, 0xec(r29) /* 801B4370 001B12D0 7F E3 FB 78 */ mr r3, r31 /* 801B4374 001B12D4 38 81 00 14 */ addi r4, r1, 0x14 /* 801B4378 001B12D8 B0 01 00 10 */ sth r0, 0x10(r1) /* 801B437C 001B12DC B0 01 00 14 */ sth r0, 0x14(r1) /* 801B4380 001B12E0 4B E9 81 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B4384 001B12E4 7C 64 1B 79 */ or. r4, r3, r3 /* 801B4388 001B12E8 41 82 00 20 */ beq lbl_801B43A8 /* 801B438C 001B12EC A0 1D 00 08 */ lhz r0, 8(r29) /* 801B4390 001B12F0 7F E3 FB 78 */ mr r3, r31 /* 801B4394 001B12F4 38 A1 00 0C */ addi r5, r1, 0xc /* 801B4398 001B12F8 38 C0 00 13 */ li r6, 0x13 /* 801B439C 001B12FC B0 01 00 08 */ sth r0, 8(r1) /* 801B43A0 001B1300 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B43A4 001B1304 4B E8 FB 2D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_801B43A8: /* 801B43A8 001B1308 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B43AC 001B130C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B43B0 001B1310 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B43B4 001B1314 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B43B8 001B1318 7C 08 03 A6 */ mtlr r0 /* 801B43BC 001B131C 38 21 00 30 */ addi r1, r1, 0x30 /* 801B43C0 001B1320 4E 80 00 20 */ blr .global "__ct__19CFlaahgraProjectileFbRC28TToken<18CWeaponDescription>RC12CTransform4fRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId" "__ct__19CFlaahgraProjectileFbRC28TToken<18CWeaponDescription>RC12CTransform4fRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId": /* 801B43C4 001B1324 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801B43C8 001B1328 7C 08 02 A6 */ mflr r0 /* 801B43CC 001B132C C0 02 A8 DC */ lfs f0, lbl_805AC5FC@sda21(r2) /* 801B43D0 001B1330 90 01 00 94 */ stw r0, 0x94(r1) /* 801B43D4 001B1334 39 81 00 50 */ addi r12, r1, 0x50 /* 801B43D8 001B1338 39 61 00 40 */ addi r11, r1, 0x40 /* 801B43DC 001B133C A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 801B43E0 001B1340 BE C1 00 68 */ stmw r22, 0x68(r1) /* 801B43E4 001B1344 3A C0 00 00 */ li r22, 0 /* 801B43E8 001B1348 7C 9F 23 78 */ mr r31, r4 /* 801B43EC 001B134C 3B 41 00 3C */ addi r26, r1, 0x3c /* 801B43F0 001B1350 3B 61 00 34 */ addi r27, r1, 0x34 /* 801B43F4 001B1354 3B 81 00 30 */ addi r28, r1, 0x30 /* 801B43F8 001B1358 3B A0 04 00 */ li r29, 0x400 /* 801B43FC 001B135C 7C 7E 1B 78 */ mr r30, r3 /* 801B4400 001B1360 38 80 00 01 */ li r4, 1 /* 801B4404 001B1364 A2 EA 00 00 */ lhz r23, 0(r10) /* 801B4408 001B1368 7C EA 3B 78 */ mr r10, r7 /* 801B440C 001B136C A3 28 00 00 */ lhz r25, 0(r8) /* 801B4410 001B1370 7C C7 33 78 */ mr r7, r6 /* 801B4414 001B1374 83 09 00 00 */ lwz r24, 0(r9) /* 801B4418 001B1378 7D 49 53 78 */ mr r9, r10 /* 801B441C 001B137C A1 0D A3 8C */ lhz r8, lbl_805A8F4C@sda21(r13) /* 801B4420 001B1380 39 41 00 38 */ addi r10, r1, 0x38 /* 801B4424 001B1384 9A C1 00 4C */ stb r22, 0x4c(r1) /* 801B4428 001B1388 38 C0 00 09 */ li r6, 9 /* 801B442C 001B138C B1 01 00 30 */ sth r8, 0x30(r1) /* 801B4430 001B1390 39 00 00 21 */ li r8, 0x21 /* 801B4434 001B1394 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801B4438 001B1398 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801B443C 001B139C D0 01 00 58 */ stfs f0, 0x58(r1) /* 801B4440 001B13A0 B2 E1 00 34 */ sth r23, 0x34(r1) /* 801B4444 001B13A4 93 01 00 3C */ stw r24, 0x3c(r1) /* 801B4448 001B13A8 B3 21 00 38 */ sth r25, 0x38(r1) /* 801B444C 001B13AC 93 41 00 08 */ stw r26, 8(r1) /* 801B4450 001B13B0 93 61 00 0C */ stw r27, 0xc(r1) /* 801B4454 001B13B4 93 81 00 10 */ stw r28, 0x10(r1) /* 801B4458 001B13B8 93 A1 00 14 */ stw r29, 0x14(r1) /* 801B445C 001B13BC 92 C1 00 18 */ stw r22, 0x18(r1) /* 801B4460 001B13C0 91 81 00 1C */ stw r12, 0x1c(r1) /* 801B4464 001B13C4 91 61 00 20 */ stw r11, 0x20(r1) /* 801B4468 001B13C8 90 01 00 24 */ stw r0, 0x24(r1) /* 801B446C 001B13CC 92 C1 00 28 */ stw r22, 0x28(r1) /* 801B4470 001B13D0 48 06 12 29 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 801B4474 001B13D4 88 01 00 4C */ lbz r0, 0x4c(r1) /* 801B4478 001B13D8 28 00 00 00 */ cmplwi r0, 0 /* 801B447C 001B13DC 41 82 00 1C */ beq lbl_801B4498 /* 801B4480 001B13E0 34 61 00 40 */ addic. r3, r1, 0x40 /* 801B4484 001B13E4 41 82 00 14 */ beq lbl_801B4498 /* 801B4488 001B13E8 28 03 00 00 */ cmplwi r3, 0 /* 801B448C 001B13EC 41 82 00 0C */ beq lbl_801B4498 /* 801B4490 001B13F0 38 80 00 00 */ li r4, 0 /* 801B4494 001B13F4 48 18 C9 AD */ bl __dt__6CTokenFv lbl_801B4498: /* 801B4498 001B13F8 38 00 00 00 */ li r0, 0 /* 801B449C 001B13FC 3C 60 80 3E */ lis r3, lbl_803E5154@ha /* 801B44A0 001B1400 98 01 00 4C */ stb r0, 0x4c(r1) /* 801B44A4 001B1404 38 03 51 54 */ addi r0, r3, lbl_803E5154@l /* 801B44A8 001B1408 90 1E 00 00 */ stw r0, 0(r30) /* 801B44AC 001B140C 9B FE 03 D8 */ stb r31, 0x3d8(r30) /* 801B44B0 001B1410 88 1E 03 D8 */ lbz r0, 0x3d8(r30) /* 801B44B4 001B1414 28 00 00 00 */ cmplwi r0, 0 /* 801B44B8 001B1418 41 82 00 18 */ beq lbl_801B44D0 /* 801B44BC 001B141C 80 1E 00 E8 */ lwz r0, 0xe8(r30) /* 801B44C0 001B1420 C0 02 A8 C4 */ lfs f0, lbl_805AC5E4@sda21(r2) /* 801B44C4 001B1424 60 00 10 00 */ ori r0, r0, 0x1000 /* 801B44C8 001B1428 90 1E 00 E8 */ stw r0, 0xe8(r30) /* 801B44CC 001B142C D0 1E 01 50 */ stfs f0, 0x150(r30) lbl_801B44D0: /* 801B44D0 001B1430 7F C3 F3 78 */ mr r3, r30 /* 801B44D4 001B1434 BA C1 00 68 */ lmw r22, 0x68(r1) /* 801B44D8 001B1438 80 01 00 94 */ lwz r0, 0x94(r1) /* 801B44DC 001B143C 7C 08 03 A6 */ mtlr r0 /* 801B44E0 001B1440 38 21 00 90 */ addi r1, r1, 0x90 /* 801B44E4 001B1444 4E 80 00 20 */ blr .global GetTouchBounds__9CFlaahgraCFv GetTouchBounds__9CFlaahgraCFv: /* 801B44E8 001B1448 38 00 00 00 */ li r0, 0 /* 801B44EC 001B144C 98 03 00 18 */ stb r0, 0x18(r3) /* 801B44F0 001B1450 4E 80 00 20 */ blr .global __dt__19CFlaahgraProjectileFv __dt__19CFlaahgraProjectileFv: /* 801B44F4 001B1454 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B44F8 001B1458 7C 08 02 A6 */ mflr r0 /* 801B44FC 001B145C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B4500 001B1460 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B4504 001B1464 7C 9F 23 78 */ mr r31, r4 /* 801B4508 001B1468 93 C1 00 08 */ stw r30, 8(r1) /* 801B450C 001B146C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801B4510 001B1470 41 82 00 28 */ beq lbl_801B4538 /* 801B4514 001B1474 3C A0 80 3E */ lis r5, lbl_803E5154@ha /* 801B4518 001B1478 38 80 00 00 */ li r4, 0 /* 801B451C 001B147C 38 05 51 54 */ addi r0, r5, lbl_803E5154@l /* 801B4520 001B1480 90 1E 00 00 */ stw r0, 0(r30) /* 801B4524 001B1484 4B F8 73 D1 */ bl __dt__17CEnergyProjectileFv /* 801B4528 001B1488 7F E0 07 35 */ extsh. r0, r31 /* 801B452C 001B148C 40 81 00 0C */ ble lbl_801B4538 /* 801B4530 001B1490 7F C3 F3 78 */ mr r3, r30 /* 801B4534 001B1494 48 16 13 FD */ bl Free__7CMemoryFPCv lbl_801B4538: /* 801B4538 001B1498 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B453C 001B149C 7F C3 F3 78 */ mr r3, r30 /* 801B4540 001B14A0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B4544 001B14A4 83 C1 00 08 */ lwz r30, 8(r1) /* 801B4548 001B14A8 7C 08 03 A6 */ mtlr r0 /* 801B454C 001B14AC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B4550 001B14B0 4E 80 00 20 */ blr .global __sinit_CFlaahgra_cpp __sinit_CFlaahgra_cpp: /* 801B4554 001B14B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B4558 001B14B8 7C 08 02 A6 */ mflr r0 /* 801B455C 001B14BC C0 22 A8 E4 */ lfs f1, lbl_805AC604@sda21(r2) /* 801B4560 001B14C0 3C 60 80 57 */ lis r3, lbl_8057203C@ha /* 801B4564 001B14C4 90 01 00 14 */ stw r0, 0x14(r1) /* 801B4568 001B14C8 38 83 20 3C */ addi r4, r3, lbl_8057203C@l /* 801B456C 001B14CC C0 A2 A9 38 */ lfs f5, lbl_805AC658@sda21(r2) /* 801B4570 001B14D0 3C A0 80 57 */ lis r5, lbl_80572024@ha /* 801B4574 001B14D4 C0 62 A8 BC */ lfs f3, lbl_805AC5DC@sda21(r2) /* 801B4578 001B14D8 FC 40 08 90 */ fmr f2, f1 /* 801B457C 001B14DC D4 A5 20 24 */ stfsu f5, lbl_80572024@l(r5) /* 801B4580 001B14E0 38 6D A4 98 */ addi r3, r13, lbl_805A9058@sda21 /* 801B4584 001B14E4 C0 02 A9 3C */ lfs f0, lbl_805AC65C@sda21(r2) /* 801B4588 001B14E8 D0 24 00 00 */ stfs f1, 0(r4) /* 801B458C 001B14EC C0 82 A8 DC */ lfs f4, lbl_805AC5FC@sda21(r2) /* 801B4590 001B14F0 D0 A5 00 04 */ stfs f5, 4(r5) /* 801B4594 001B14F4 D0 A5 00 08 */ stfs f5, 8(r5) /* 801B4598 001B14F8 D0 04 00 04 */ stfs f0, 4(r4) /* 801B459C 001B14FC D0 64 00 08 */ stfs f3, 8(r4) /* 801B45A0 001B1500 48 1A EE 4D */ bl __ct__6CColorFffff /* 801B45A4 001B1504 C0 42 A8 BC */ lfs f2, lbl_805AC5DC@sda21(r2) /* 801B45A8 001B1508 38 6D A4 9C */ addi r3, r13, lbl_805A905C@sda21 /* 801B45AC 001B150C C0 22 A8 E4 */ lfs f1, lbl_805AC604@sda21(r2) /* 801B45B0 001B1510 FC 60 10 90 */ fmr f3, f2 /* 801B45B4 001B1514 C0 82 A8 DC */ lfs f4, lbl_805AC5FC@sda21(r2) /* 801B45B8 001B1518 48 1A EE 35 */ bl __ct__6CColorFffff /* 801B45BC 001B151C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B45C0 001B1520 7C 08 03 A6 */ mtlr r0 /* 801B45C4 001B1524 38 21 00 10 */ addi r1, r1, 0x10 /* 801B45C8 001B1528 4E 80 00 20 */ blr .global ProcessEnergyDrain__18CPlayerEnergyDrainFRC13CStateManagerf ProcessEnergyDrain__18CPlayerEnergyDrainFRC13CStateManagerf: /* 801B45CC 001B152C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B45D0 001B1530 7C 08 02 A6 */ mflr r0 /* 801B45D4 001B1534 90 01 00 44 */ stw r0, 0x44(r1) /* 801B45D8 001B1538 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801B45DC 001B153C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801B45E0 001B1540 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B45E4 001B1544 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B45E8 001B1548 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B45EC 001B154C 7C 7D 1B 78 */ mr r29, r3 /* 801B45F0 001B1550 FF E0 08 90 */ fmr f31, f1 /* 801B45F4 001B1554 83 E3 00 0C */ lwz r31, 0xc(r3) /* 801B45F8 001B1558 7C 9E 23 78 */ mr r30, r4 /* 801B45FC 001B155C 48 00 00 40 */ b lbl_801B463C lbl_801B4600: /* 801B4600 001B1560 A0 1F 00 00 */ lhz r0, 0(r31) /* 801B4604 001B1564 7F C3 F3 78 */ mr r3, r30 /* 801B4608 001B1568 38 81 00 14 */ addi r4, r1, 0x14 /* 801B460C 001B156C B0 01 00 10 */ sth r0, 0x10(r1) /* 801B4610 001B1570 B0 01 00 14 */ sth r0, 0x14(r1) /* 801B4614 001B1574 4B E9 7F 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B4618 001B1578 28 03 00 00 */ cmplwi r3, 0 /* 801B461C 001B157C 40 82 00 1C */ bne lbl_801B4638 /* 801B4620 001B1580 A0 1F 00 00 */ lhz r0, 0(r31) /* 801B4624 001B1584 7F A3 EB 78 */ mr r3, r29 /* 801B4628 001B1588 38 81 00 0C */ addi r4, r1, 0xc /* 801B462C 001B158C B0 01 00 08 */ sth r0, 8(r1) /* 801B4630 001B1590 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B4634 001B1594 48 00 00 91 */ bl RemoveEnergyDrainSource__18CPlayerEnergyDrainF9TUniqueId lbl_801B4638: /* 801B4638 001B1598 3B FF 00 08 */ addi r31, r31, 8 lbl_801B463C: /* 801B463C 001B159C 80 9D 00 04 */ lwz r4, 4(r29) /* 801B4640 001B15A0 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801B4644 001B15A4 54 80 18 38 */ slwi r0, r4, 3 /* 801B4648 001B15A8 7C 03 02 14 */ add r0, r3, r0 /* 801B464C 001B15AC 7C 1F 00 40 */ cmplw r31, r0 /* 801B4650 001B15B0 40 82 FF B0 */ bne lbl_801B4600 /* 801B4654 001B15B4 2C 04 00 00 */ cmpwi r4, 0 /* 801B4658 001B15B8 40 81 00 10 */ ble lbl_801B4668 /* 801B465C 001B15BC C0 1D 00 10 */ lfs f0, 0x10(r29) /* 801B4660 001B15C0 EC 00 F8 2A */ fadds f0, f0, f31 /* 801B4664 001B15C4 48 00 00 08 */ b lbl_801B466C lbl_801B4668: /* 801B4668 001B15C8 C0 02 A9 40 */ lfs f0, lbl_805AC660@sda21(r2) lbl_801B466C: /* 801B466C 001B15CC D0 1D 00 10 */ stfs f0, 0x10(r29) /* 801B4670 001B15D0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801B4674 001B15D4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B4678 001B15D8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801B467C 001B15DC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B4680 001B15E0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B4684 001B15E4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B4688 001B15E8 7C 08 03 A6 */ mtlr r0 /* 801B468C 001B15EC 38 21 00 40 */ addi r1, r1, 0x40 /* 801B4690 001B15F0 4E 80 00 20 */ blr .global GetEnergyDrainIntensity__18CPlayerEnergyDrainCFv GetEnergyDrainIntensity__18CPlayerEnergyDrainCFv: /* 801B4694 001B15F4 80 03 00 04 */ lwz r0, 4(r3) /* 801B4698 001B15F8 80 63 00 0C */ lwz r3, 0xc(r3) /* 801B469C 001B15FC 54 00 18 38 */ slwi r0, r0, 3 /* 801B46A0 001B1600 C0 22 A9 40 */ lfs f1, lbl_805AC660@sda21(r2) /* 801B46A4 001B1604 7C 03 02 14 */ add r0, r3, r0 /* 801B46A8 001B1608 48 00 00 10 */ b lbl_801B46B8 lbl_801B46AC: /* 801B46AC 001B160C C0 03 00 04 */ lfs f0, 4(r3) /* 801B46B0 001B1610 38 63 00 08 */ addi r3, r3, 8 /* 801B46B4 001B1614 EC 21 00 2A */ fadds f1, f1, f0 lbl_801B46B8: /* 801B46B8 001B1618 7C 03 00 40 */ cmplw r3, r0 /* 801B46BC 001B161C 40 82 FF F0 */ bne lbl_801B46AC /* 801B46C0 001B1620 4E 80 00 20 */ blr .global RemoveEnergyDrainSource__18CPlayerEnergyDrainF9TUniqueId RemoveEnergyDrainSource__18CPlayerEnergyDrainF9TUniqueId: /* 801B46C4 001B1624 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801B46C8 001B1628 7C 08 02 A6 */ mflr r0 /* 801B46CC 001B162C C0 02 A9 40 */ lfs f0, lbl_805AC660@sda21(r2) /* 801B46D0 001B1630 90 01 00 54 */ stw r0, 0x54(r1) /* 801B46D4 001B1634 38 A1 00 18 */ addi r5, r1, 0x18 /* 801B46D8 001B1638 38 C1 00 34 */ addi r6, r1, 0x34 /* 801B46DC 001B163C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801B46E0 001B1640 7C 7F 1B 78 */ mr r31, r3 /* 801B46E4 001B1644 38 61 00 10 */ addi r3, r1, 0x10 /* 801B46E8 001B1648 A1 04 00 00 */ lhz r8, 0(r4) /* 801B46EC 001B164C 38 81 00 14 */ addi r4, r1, 0x14 /* 801B46F0 001B1650 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801B46F4 001B1654 B1 01 00 34 */ sth r8, 0x34(r1) /* 801B46F8 001B1658 80 1F 00 04 */ lwz r0, 4(r31) /* 801B46FC 001B165C 80 FF 00 0C */ lwz r7, 0xc(r31) /* 801B4700 001B1660 54 00 18 38 */ slwi r0, r0, 3 /* 801B4704 001B1664 B1 01 00 08 */ sth r8, 8(r1) /* 801B4708 001B1668 7C E7 02 14 */ add r7, r7, r0 /* 801B470C 001B166C 90 E1 00 28 */ stw r7, 0x28(r1) /* 801B4710 001B1670 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801B4714 001B1674 90 E1 00 24 */ stw r7, 0x24(r1) /* 801B4718 001B1678 90 01 00 2C */ stw r0, 0x2c(r1) /* 801B471C 001B167C 90 E1 00 18 */ stw r7, 0x18(r1) /* 801B4720 001B1680 90 01 00 14 */ stw r0, 0x14(r1) /* 801B4724 001B1684 48 00 05 E9 */ bl "lower_bound,Q24rstl17rmemory_allocator>,18CEnergyDrainSource>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC18CEnergyDrainSource" /* 801B4728 001B1688 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801B472C 001B168C 38 80 00 00 */ li r4, 0 /* 801B4730 001B1690 80 01 00 28 */ lwz r0, 0x28(r1) /* 801B4734 001B1694 90 A1 00 0C */ stw r5, 0xc(r1) /* 801B4738 001B1698 7C 05 00 40 */ cmplw r5, r0 /* 801B473C 001B169C 41 82 00 18 */ beq lbl_801B4754 /* 801B4740 001B16A0 A0 61 00 34 */ lhz r3, 0x34(r1) /* 801B4744 001B16A4 A0 05 00 00 */ lhz r0, 0(r5) /* 801B4748 001B16A8 7C 03 00 40 */ cmplw r3, r0 /* 801B474C 001B16AC 41 80 00 08 */ blt lbl_801B4754 /* 801B4750 001B16B0 38 80 00 01 */ li r4, 1 lbl_801B4754: /* 801B4754 001B16B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801B4758 001B16B8 38 81 00 28 */ addi r4, r1, 0x28 /* 801B475C 001B16BC 41 82 00 08 */ beq lbl_801B4764 /* 801B4760 001B16C0 38 81 00 0C */ addi r4, r1, 0xc lbl_801B4764: /* 801B4764 001B16C4 80 1F 00 04 */ lwz r0, 4(r31) /* 801B4768 001B16C8 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801B476C 001B16CC 54 00 18 38 */ slwi r0, r0, 3 /* 801B4770 001B16D0 80 84 00 00 */ lwz r4, 0(r4) /* 801B4774 001B16D4 7C 03 02 14 */ add r0, r3, r0 /* 801B4778 001B16D8 7C 04 00 40 */ cmplw r4, r0 /* 801B477C 001B16DC 90 81 00 30 */ stw r4, 0x30(r1) /* 801B4780 001B16E0 41 82 00 18 */ beq lbl_801B4798 /* 801B4784 001B16E4 90 81 00 1C */ stw r4, 0x1c(r1) /* 801B4788 001B16E8 7F E4 FB 78 */ mr r4, r31 /* 801B478C 001B16EC 38 61 00 20 */ addi r3, r1, 0x20 /* 801B4790 001B16F0 38 A1 00 1C */ addi r5, r1, 0x1c /* 801B4794 001B16F4 48 00 00 19 */ bl sub_801b47ac lbl_801B4798: /* 801B4798 001B16F8 80 01 00 54 */ lwz r0, 0x54(r1) /* 801B479C 001B16FC 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801B47A0 001B1700 7C 08 03 A6 */ mtlr r0 /* 801B47A4 001B1704 38 21 00 50 */ addi r1, r1, 0x50 /* 801B47A8 001B1708 4E 80 00 20 */ blr .global sub_801b47ac sub_801b47ac: /* 801B47AC 001B170C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B47B0 001B1710 7C 08 02 A6 */ mflr r0 /* 801B47B4 001B1714 90 01 00 24 */ stw r0, 0x24(r1) /* 801B47B8 001B1718 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B47BC 001B171C 7C 7F 1B 78 */ mr r31, r3 /* 801B47C0 001B1720 80 C5 00 00 */ lwz r6, 0(r5) /* 801B47C4 001B1724 80 05 00 00 */ lwz r0, 0(r5) /* 801B47C8 001B1728 38 A1 00 10 */ addi r5, r1, 0x10 /* 801B47CC 001B172C 38 E6 00 08 */ addi r7, r6, 8 /* 801B47D0 001B1730 38 C1 00 0C */ addi r6, r1, 0xc /* 801B47D4 001B1734 90 E1 00 08 */ stw r7, 8(r1) /* 801B47D8 001B1738 90 E1 00 0C */ stw r7, 0xc(r1) /* 801B47DC 001B173C 90 01 00 10 */ stw r0, 0x10(r1) /* 801B47E0 001B1740 48 00 00 19 */ bl sub_801b47f8 /* 801B47E4 001B1744 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B47E8 001B1748 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B47EC 001B174C 7C 08 03 A6 */ mtlr r0 /* 801B47F0 001B1750 38 21 00 20 */ addi r1, r1, 0x20 /* 801B47F4 001B1754 4E 80 00 20 */ blr .global sub_801b47f8 sub_801b47f8: /* 801B47F8 001B1758 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B47FC 001B175C 80 E5 00 00 */ lwz r7, 0(r5) /* 801B4800 001B1760 80 06 00 00 */ lwz r0, 0(r6) /* 801B4804 001B1764 90 E1 00 0C */ stw r7, 0xc(r1) /* 801B4808 001B1768 90 01 00 08 */ stw r0, 8(r1) /* 801B480C 001B176C 48 00 00 08 */ b lbl_801B4814 lbl_801B4810: /* 801B4810 001B1770 38 E7 00 08 */ addi r7, r7, 8 lbl_801B4814: /* 801B4814 001B1774 7C 07 00 40 */ cmplw r7, r0 /* 801B4818 001B1778 40 82 FF F8 */ bne lbl_801B4810 /* 801B481C 001B177C 81 04 00 0C */ lwz r8, 0xc(r4) /* 801B4820 001B1780 80 05 00 00 */ lwz r0, 0(r5) /* 801B4824 001B1784 80 E6 00 00 */ lwz r7, 0(r6) /* 801B4828 001B1788 7C 08 00 50 */ subf r0, r8, r0 /* 801B482C 001B178C 7C 00 1E 70 */ srawi r0, r0, 3 /* 801B4830 001B1790 7C C0 01 94 */ addze r6, r0 /* 801B4834 001B1794 54 C0 18 38 */ slwi r0, r6, 3 /* 801B4838 001B1798 7C C9 33 78 */ mr r9, r6 /* 801B483C 001B179C 7D 08 02 14 */ add r8, r8, r0 /* 801B4840 001B17A0 48 00 00 28 */ b lbl_801B4868 lbl_801B4844: /* 801B4844 001B17A4 28 08 00 00 */ cmplwi r8, 0 /* 801B4848 001B17A8 41 82 00 14 */ beq lbl_801B485C /* 801B484C 001B17AC A0 07 00 00 */ lhz r0, 0(r7) /* 801B4850 001B17B0 B0 08 00 00 */ sth r0, 0(r8) /* 801B4854 001B17B4 C0 07 00 04 */ lfs f0, 4(r7) /* 801B4858 001B17B8 D0 08 00 04 */ stfs f0, 4(r8) lbl_801B485C: /* 801B485C 001B17BC 39 08 00 08 */ addi r8, r8, 8 /* 801B4860 001B17C0 39 29 00 01 */ addi r9, r9, 1 /* 801B4864 001B17C4 38 E7 00 08 */ addi r7, r7, 8 lbl_801B4868: /* 801B4868 001B17C8 80 04 00 04 */ lwz r0, 4(r4) /* 801B486C 001B17CC 80 C4 00 0C */ lwz r6, 0xc(r4) /* 801B4870 001B17D0 54 00 18 38 */ slwi r0, r0, 3 /* 801B4874 001B17D4 7C 06 02 14 */ add r0, r6, r0 /* 801B4878 001B17D8 7C 07 00 40 */ cmplw r7, r0 /* 801B487C 001B17DC 40 82 FF C8 */ bne lbl_801B4844 /* 801B4880 001B17E0 91 24 00 04 */ stw r9, 4(r4) /* 801B4884 001B17E4 80 05 00 00 */ lwz r0, 0(r5) /* 801B4888 001B17E8 90 03 00 00 */ stw r0, 0(r3) /* 801B488C 001B17EC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B4890 001B17F0 4E 80 00 20 */ blr .global sub_801b4894 sub_801b4894: /* 801B4894 001B17F4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801B4898 001B17F8 7C 08 02 A6 */ mflr r0 /* 801B489C 001B17FC 90 01 00 64 */ stw r0, 0x64(r1) /* 801B48A0 001B1800 38 A1 00 18 */ addi r5, r1, 0x18 /* 801B48A4 001B1804 38 C1 00 48 */ addi r6, r1, 0x48 /* 801B48A8 001B1808 DB E1 00 58 */ stfd f31, 0x58(r1) /* 801B48AC 001B180C FF E0 08 90 */ fmr f31, f1 /* 801B48B0 001B1810 93 E1 00 54 */ stw r31, 0x54(r1) /* 801B48B4 001B1814 7C 7F 1B 78 */ mr r31, r3 /* 801B48B8 001B1818 38 61 00 10 */ addi r3, r1, 0x10 /* 801B48BC 001B181C A1 04 00 00 */ lhz r8, 0(r4) /* 801B48C0 001B1820 38 81 00 14 */ addi r4, r1, 0x14 /* 801B48C4 001B1824 D3 E1 00 4C */ stfs f31, 0x4c(r1) /* 801B48C8 001B1828 B1 01 00 48 */ sth r8, 0x48(r1) /* 801B48CC 001B182C 80 1F 00 04 */ lwz r0, 4(r31) /* 801B48D0 001B1830 80 FF 00 0C */ lwz r7, 0xc(r31) /* 801B48D4 001B1834 54 00 18 38 */ slwi r0, r0, 3 /* 801B48D8 001B1838 B1 01 00 08 */ sth r8, 8(r1) /* 801B48DC 001B183C 7C E7 02 14 */ add r7, r7, r0 /* 801B48E0 001B1840 90 E1 00 3C */ stw r7, 0x3c(r1) /* 801B48E4 001B1844 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801B48E8 001B1848 90 E1 00 38 */ stw r7, 0x38(r1) /* 801B48EC 001B184C 90 01 00 40 */ stw r0, 0x40(r1) /* 801B48F0 001B1850 90 E1 00 18 */ stw r7, 0x18(r1) /* 801B48F4 001B1854 90 01 00 14 */ stw r0, 0x14(r1) /* 801B48F8 001B1858 48 00 04 15 */ bl "lower_bound,Q24rstl17rmemory_allocator>,18CEnergyDrainSource>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC18CEnergyDrainSource" /* 801B48FC 001B185C 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801B4900 001B1860 38 80 00 00 */ li r4, 0 /* 801B4904 001B1864 80 01 00 3C */ lwz r0, 0x3c(r1) /* 801B4908 001B1868 90 A1 00 0C */ stw r5, 0xc(r1) /* 801B490C 001B186C 7C 05 00 40 */ cmplw r5, r0 /* 801B4910 001B1870 41 82 00 18 */ beq lbl_801B4928 /* 801B4914 001B1874 A0 61 00 48 */ lhz r3, 0x48(r1) /* 801B4918 001B1878 A0 05 00 00 */ lhz r0, 0(r5) /* 801B491C 001B187C 7C 03 00 40 */ cmplw r3, r0 /* 801B4920 001B1880 41 80 00 08 */ blt lbl_801B4928 /* 801B4924 001B1884 38 80 00 01 */ li r4, 1 lbl_801B4928: /* 801B4928 001B1888 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801B492C 001B188C 38 81 00 3C */ addi r4, r1, 0x3c /* 801B4930 001B1890 41 82 00 08 */ beq lbl_801B4938 /* 801B4934 001B1894 38 81 00 0C */ addi r4, r1, 0xc lbl_801B4938: /* 801B4938 001B1898 80 BF 00 04 */ lwz r5, 4(r31) /* 801B493C 001B189C 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801B4940 001B18A0 54 A0 18 38 */ slwi r0, r5, 3 /* 801B4944 001B18A4 80 84 00 00 */ lwz r4, 0(r4) /* 801B4948 001B18A8 7C E3 02 14 */ add r7, r3, r0 /* 801B494C 001B18AC 7C 04 38 40 */ cmplw r4, r7 /* 801B4950 001B18B0 41 82 00 10 */ beq lbl_801B4960 /* 801B4954 001B18B4 D3 E4 00 04 */ stfs f31, 4(r4) /* 801B4958 001B18B8 38 60 00 01 */ li r3, 1 /* 801B495C 001B18BC 48 00 00 64 */ b lbl_801B49C0 lbl_801B4960: /* 801B4960 001B18C0 80 1F 00 08 */ lwz r0, 8(r31) /* 801B4964 001B18C4 7C 05 00 00 */ cmpw r5, r0 /* 801B4968 001B18C8 40 80 00 54 */ bge lbl_801B49BC /* 801B496C 001B18CC 90 E1 00 28 */ stw r7, 0x28(r1) /* 801B4970 001B18D0 38 61 00 34 */ addi r3, r1, 0x34 /* 801B4974 001B18D4 38 81 00 30 */ addi r4, r1, 0x30 /* 801B4978 001B18D8 38 A1 00 28 */ addi r5, r1, 0x28 /* 801B497C 001B18DC 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801B4980 001B18E0 38 C1 00 48 */ addi r6, r1, 0x48 /* 801B4984 001B18E4 90 E1 00 24 */ stw r7, 0x24(r1) /* 801B4988 001B18E8 90 01 00 2C */ stw r0, 0x2c(r1) /* 801B498C 001B18EC 90 01 00 30 */ stw r0, 0x30(r1) /* 801B4990 001B18F0 48 00 03 7D */ bl "lower_bound,Q24rstl17rmemory_allocator>,18CEnergyDrainSource>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC18CEnergyDrainSource" /* 801B4994 001B18F4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B4998 001B18F8 7F E4 FB 78 */ mr r4, r31 /* 801B499C 001B18FC 38 61 00 20 */ addi r3, r1, 0x20 /* 801B49A0 001B1900 38 A1 00 1C */ addi r5, r1, 0x1c /* 801B49A4 001B1904 90 01 00 44 */ stw r0, 0x44(r1) /* 801B49A8 001B1908 38 C1 00 48 */ addi r6, r1, 0x48 /* 801B49AC 001B190C 90 01 00 1C */ stw r0, 0x1c(r1) /* 801B49B0 001B1910 48 00 00 29 */ bl sub_801b49d8 /* 801B49B4 001B1914 38 60 00 01 */ li r3, 1 /* 801B49B8 001B1918 48 00 00 08 */ b lbl_801B49C0 lbl_801B49BC: /* 801B49BC 001B191C 38 60 00 00 */ li r3, 0 lbl_801B49C0: /* 801B49C0 001B1920 80 01 00 64 */ lwz r0, 0x64(r1) /* 801B49C4 001B1924 CB E1 00 58 */ lfd f31, 0x58(r1) /* 801B49C8 001B1928 83 E1 00 54 */ lwz r31, 0x54(r1) /* 801B49CC 001B192C 7C 08 03 A6 */ mtlr r0 /* 801B49D0 001B1930 38 21 00 60 */ addi r1, r1, 0x60 /* 801B49D4 001B1934 4E 80 00 20 */ blr .global sub_801b49d8 sub_801b49d8: /* 801B49D8 001B1938 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B49DC 001B193C 7C 08 02 A6 */ mflr r0 /* 801B49E0 001B1940 90 01 00 34 */ stw r0, 0x34(r1) /* 801B49E4 001B1944 38 00 00 00 */ li r0, 0 /* 801B49E8 001B1948 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B49EC 001B194C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B49F0 001B1950 7C 9E 23 78 */ mr r30, r4 /* 801B49F4 001B1954 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B49F8 001B1958 7C 7D 1B 78 */ mr r29, r3 /* 801B49FC 001B195C 7F C3 F3 78 */ mr r3, r30 /* 801B4A00 001B1960 80 84 00 0C */ lwz r4, 0xc(r4) /* 801B4A04 001B1964 80 E5 00 00 */ lwz r7, 0(r5) /* 801B4A08 001B1968 38 A0 00 01 */ li r5, 1 /* 801B4A0C 001B196C 90 C1 00 14 */ stw r6, 0x14(r1) /* 801B4A10 001B1970 7C 84 38 50 */ subf r4, r4, r7 /* 801B4A14 001B1974 90 C1 00 0C */ stw r6, 0xc(r1) /* 801B4A18 001B1978 7C 84 1E 70 */ srawi r4, r4, 3 /* 801B4A1C 001B197C 7F E4 01 94 */ addze r31, r4 /* 801B4A20 001B1980 38 C1 00 0C */ addi r6, r1, 0xc /* 801B4A24 001B1984 90 01 00 18 */ stw r0, 0x18(r1) /* 801B4A28 001B1988 38 81 00 08 */ addi r4, r1, 8 /* 801B4A2C 001B198C 90 01 00 10 */ stw r0, 0x10(r1) /* 801B4A30 001B1990 90 E1 00 08 */ stw r7, 8(r1) /* 801B4A34 001B1994 48 00 00 31 */ bl sub_801b4a64 /* 801B4A38 001B1998 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801B4A3C 001B199C 57 E0 18 38 */ slwi r0, r31, 3 /* 801B4A40 001B19A0 7C 63 02 14 */ add r3, r3, r0 /* 801B4A44 001B19A4 90 7D 00 00 */ stw r3, 0(r29) /* 801B4A48 001B19A8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B4A4C 001B19AC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B4A50 001B19B0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B4A54 001B19B4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B4A58 001B19B8 7C 08 03 A6 */ mtlr r0 /* 801B4A5C 001B19BC 38 21 00 30 */ addi r1, r1, 0x30 /* 801B4A60 001B19C0 4E 80 00 20 */ blr .global sub_801b4a64 sub_801b4a64: /* 801B4A64 001B19C4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B4A68 001B19C8 7C 08 02 A6 */ mflr r0 /* 801B4A6C 001B19CC 90 01 00 34 */ stw r0, 0x34(r1) /* 801B4A70 001B19D0 BF 21 00 14 */ stmw r25, 0x14(r1) /* 801B4A74 001B19D4 7C 7A 1B 78 */ mr r26, r3 /* 801B4A78 001B19D8 7C 99 23 78 */ mr r25, r4 /* 801B4A7C 001B19DC 7C BB 2B 78 */ mr r27, r5 /* 801B4A80 001B19E0 80 63 00 04 */ lwz r3, 4(r3) /* 801B4A84 001B19E4 80 9A 00 08 */ lwz r4, 8(r26) /* 801B4A88 001B19E8 7C A3 DA 14 */ add r5, r3, r27 /* 801B4A8C 001B19EC 80 FA 00 0C */ lwz r7, 0xc(r26) /* 801B4A90 001B19F0 7C 05 20 00 */ cmpw r5, r4 /* 801B4A94 001B19F4 83 C6 00 00 */ lwz r30, 0(r6) /* 801B4A98 001B19F8 7C FD 3B 78 */ mr r29, r7 /* 801B4A9C 001B19FC 41 81 00 B0 */ bgt lbl_801B4B4C /* 801B4AA0 001B1A00 80 19 00 00 */ lwz r0, 0(r25) /* 801B4AA4 001B1A04 57 64 18 38 */ slwi r4, r27, 3 /* 801B4AA8 001B1A08 7C 07 00 50 */ subf r0, r7, r0 /* 801B4AAC 001B1A0C 7C 00 1E 70 */ srawi r0, r0, 3 /* 801B4AB0 001B1A10 7C A0 01 94 */ addze r5, r0 /* 801B4AB4 001B1A14 7C 65 18 50 */ subf r3, r5, r3 /* 801B4AB8 001B1A18 35 03 FF FF */ addic. r8, r3, -1 /* 801B4ABC 001B1A1C 54 A0 18 38 */ slwi r0, r5, 3 /* 801B4AC0 001B1A20 7C C7 02 14 */ add r6, r7, r0 /* 801B4AC4 001B1A24 55 03 18 38 */ slwi r3, r8, 3 /* 801B4AC8 001B1A28 38 08 00 01 */ addi r0, r8, 1 /* 801B4ACC 001B1A2C 7C 84 1A 14 */ add r4, r4, r3 /* 801B4AD0 001B1A30 7C 86 22 14 */ add r4, r6, r4 /* 801B4AD4 001B1A34 7C 09 03 A6 */ mtctr r0 /* 801B4AD8 001B1A38 41 80 00 38 */ blt lbl_801B4B10 lbl_801B4ADC: /* 801B4ADC 001B1A3C 7C 05 42 14 */ add r0, r5, r8 /* 801B4AE0 001B1A40 28 04 00 00 */ cmplwi r4, 0 /* 801B4AE4 001B1A44 80 7A 00 0C */ lwz r3, 0xc(r26) /* 801B4AE8 001B1A48 54 00 18 38 */ slwi r0, r0, 3 /* 801B4AEC 001B1A4C 7C 63 02 14 */ add r3, r3, r0 /* 801B4AF0 001B1A50 41 82 00 14 */ beq lbl_801B4B04 /* 801B4AF4 001B1A54 A0 03 00 00 */ lhz r0, 0(r3) /* 801B4AF8 001B1A58 B0 04 00 00 */ sth r0, 0(r4) /* 801B4AFC 001B1A5C C0 03 00 04 */ lfs f0, 4(r3) /* 801B4B00 001B1A60 D0 04 00 04 */ stfs f0, 4(r4) lbl_801B4B04: /* 801B4B04 001B1A64 38 84 FF F8 */ addi r4, r4, -8 /* 801B4B08 001B1A68 39 08 FF FF */ addi r8, r8, -1 /* 801B4B0C 001B1A6C 42 00 FF D0 */ bdnz lbl_801B4ADC lbl_801B4B10: /* 801B4B10 001B1A70 7F 69 03 A6 */ mtctr r27 /* 801B4B14 001B1A74 2C 1B 00 00 */ cmpwi r27, 0 /* 801B4B18 001B1A78 40 81 00 24 */ ble lbl_801B4B3C lbl_801B4B1C: /* 801B4B1C 001B1A7C 28 06 00 00 */ cmplwi r6, 0 /* 801B4B20 001B1A80 41 82 00 14 */ beq lbl_801B4B34 /* 801B4B24 001B1A84 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B4B28 001B1A88 B0 06 00 00 */ sth r0, 0(r6) /* 801B4B2C 001B1A8C C0 1E 00 04 */ lfs f0, 4(r30) /* 801B4B30 001B1A90 D0 06 00 04 */ stfs f0, 4(r6) lbl_801B4B34: /* 801B4B34 001B1A94 38 C6 00 08 */ addi r6, r6, 8 /* 801B4B38 001B1A98 42 00 FF E4 */ bdnz lbl_801B4B1C lbl_801B4B3C: /* 801B4B3C 001B1A9C 80 1A 00 04 */ lwz r0, 4(r26) /* 801B4B40 001B1AA0 7C 00 DA 14 */ add r0, r0, r27 /* 801B4B44 001B1AA4 90 1A 00 04 */ stw r0, 4(r26) /* 801B4B48 001B1AA8 48 00 01 68 */ b lbl_801B4CB0 lbl_801B4B4C: /* 801B4B4C 001B1AAC 2C 04 00 00 */ cmpwi r4, 0 /* 801B4B50 001B1AB0 38 00 00 04 */ li r0, 4 /* 801B4B54 001B1AB4 41 82 00 08 */ beq lbl_801B4B5C /* 801B4B58 001B1AB8 54 80 08 3C */ slwi r0, r4, 1 lbl_801B4B5C: /* 801B4B5C 001B1ABC 7C 1C 03 78 */ mr r28, r0 /* 801B4B60 001B1AC0 48 00 00 08 */ b lbl_801B4B68 lbl_801B4B64: /* 801B4B64 001B1AC4 57 9C 08 3C */ slwi r28, r28, 1 lbl_801B4B68: /* 801B4B68 001B1AC8 7C 1C 28 00 */ cmpw r28, r5 /* 801B4B6C 001B1ACC 41 80 FF F8 */ blt lbl_801B4B64 /* 801B4B70 001B1AD0 57 83 18 39 */ rlwinm. r3, r28, 3, 0, 0x1c /* 801B4B74 001B1AD4 40 82 00 0C */ bne lbl_801B4B80 /* 801B4B78 001B1AD8 3B E0 00 00 */ li r31, 0 /* 801B4B7C 001B1ADC 48 00 00 18 */ b lbl_801B4B94 lbl_801B4B80: /* 801B4B80 001B1AE0 3C 80 80 3D */ lis r4, lbl_803D1630@ha /* 801B4B84 001B1AE4 38 A0 00 00 */ li r5, 0 /* 801B4B88 001B1AE8 38 84 16 30 */ addi r4, r4, lbl_803D1630@l /* 801B4B8C 001B1AEC 48 16 0C 8D */ bl __nwa__FUlPCcPCc /* 801B4B90 001B1AF0 7C 7F 1B 78 */ mr r31, r3 lbl_801B4B94: /* 801B4B94 001B1AF4 80 7A 00 0C */ lwz r3, 0xc(r26) /* 801B4B98 001B1AF8 7F E6 FB 78 */ mr r6, r31 /* 801B4B9C 001B1AFC 80 19 00 00 */ lwz r0, 0(r25) /* 801B4BA0 001B1B00 38 E0 00 00 */ li r7, 0 /* 801B4BA4 001B1B04 38 A0 00 00 */ li r5, 0 /* 801B4BA8 001B1B08 7C 03 00 50 */ subf r0, r3, r0 /* 801B4BAC 001B1B0C 7C 00 1E 70 */ srawi r0, r0, 3 /* 801B4BB0 001B1B10 7C 80 01 95 */ addze. r4, r0 /* 801B4BB4 001B1B14 7C 89 03 A6 */ mtctr r4 /* 801B4BB8 001B1B18 40 81 00 34 */ ble lbl_801B4BEC lbl_801B4BBC: /* 801B4BBC 001B1B1C 80 1A 00 0C */ lwz r0, 0xc(r26) /* 801B4BC0 001B1B20 28 06 00 00 */ cmplwi r6, 0 /* 801B4BC4 001B1B24 7C 60 2A 14 */ add r3, r0, r5 /* 801B4BC8 001B1B28 41 82 00 14 */ beq lbl_801B4BDC /* 801B4BCC 001B1B2C A0 03 00 00 */ lhz r0, 0(r3) /* 801B4BD0 001B1B30 B0 06 00 00 */ sth r0, 0(r6) /* 801B4BD4 001B1B34 C0 03 00 04 */ lfs f0, 4(r3) /* 801B4BD8 001B1B38 D0 06 00 04 */ stfs f0, 4(r6) lbl_801B4BDC: /* 801B4BDC 001B1B3C 38 C6 00 08 */ addi r6, r6, 8 /* 801B4BE0 001B1B40 38 E7 00 01 */ addi r7, r7, 1 /* 801B4BE4 001B1B44 38 A5 00 08 */ addi r5, r5, 8 /* 801B4BE8 001B1B48 42 00 FF D4 */ bdnz lbl_801B4BBC lbl_801B4BEC: /* 801B4BEC 001B1B4C 54 E0 18 38 */ slwi r0, r7, 3 /* 801B4BF0 001B1B50 7C 7F 02 14 */ add r3, r31, r0 /* 801B4BF4 001B1B54 7F 69 03 A6 */ mtctr r27 /* 801B4BF8 001B1B58 2C 1B 00 00 */ cmpwi r27, 0 /* 801B4BFC 001B1B5C 40 81 00 28 */ ble lbl_801B4C24 lbl_801B4C00: /* 801B4C00 001B1B60 28 03 00 00 */ cmplwi r3, 0 /* 801B4C04 001B1B64 41 82 00 14 */ beq lbl_801B4C18 /* 801B4C08 001B1B68 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B4C0C 001B1B6C B0 03 00 00 */ sth r0, 0(r3) /* 801B4C10 001B1B70 C0 1E 00 04 */ lfs f0, 4(r30) /* 801B4C14 001B1B74 D0 03 00 04 */ stfs f0, 4(r3) lbl_801B4C18: /* 801B4C18 001B1B78 38 63 00 08 */ addi r3, r3, 8 /* 801B4C1C 001B1B7C 38 E7 00 01 */ addi r7, r7, 1 /* 801B4C20 001B1B80 42 00 FF E0 */ bdnz lbl_801B4C00 lbl_801B4C24: /* 801B4C24 001B1B84 54 E0 18 38 */ slwi r0, r7, 3 /* 801B4C28 001B1B88 7C 86 23 78 */ mr r6, r4 /* 801B4C2C 001B1B8C 54 84 18 38 */ slwi r4, r4, 3 /* 801B4C30 001B1B90 7C BF 02 14 */ add r5, r31, r0 /* 801B4C34 001B1B94 48 00 00 30 */ b lbl_801B4C64 lbl_801B4C38: /* 801B4C38 001B1B98 80 1A 00 0C */ lwz r0, 0xc(r26) /* 801B4C3C 001B1B9C 28 05 00 00 */ cmplwi r5, 0 /* 801B4C40 001B1BA0 7C 60 22 14 */ add r3, r0, r4 /* 801B4C44 001B1BA4 41 82 00 14 */ beq lbl_801B4C58 /* 801B4C48 001B1BA8 A0 03 00 00 */ lhz r0, 0(r3) /* 801B4C4C 001B1BAC B0 05 00 00 */ sth r0, 0(r5) /* 801B4C50 001B1BB0 C0 03 00 04 */ lfs f0, 4(r3) /* 801B4C54 001B1BB4 D0 05 00 04 */ stfs f0, 4(r5) lbl_801B4C58: /* 801B4C58 001B1BB8 38 A5 00 08 */ addi r5, r5, 8 /* 801B4C5C 001B1BBC 38 84 00 08 */ addi r4, r4, 8 /* 801B4C60 001B1BC0 38 C6 00 01 */ addi r6, r6, 1 lbl_801B4C64: /* 801B4C64 001B1BC4 80 1A 00 04 */ lwz r0, 4(r26) /* 801B4C68 001B1BC8 7C 06 00 00 */ cmpw r6, r0 /* 801B4C6C 001B1BCC 41 80 FF CC */ blt lbl_801B4C38 /* 801B4C70 001B1BD0 54 00 18 38 */ slwi r0, r0, 3 /* 801B4C74 001B1BD4 7F A3 EB 78 */ mr r3, r29 /* 801B4C78 001B1BD8 7C 1D 02 14 */ add r0, r29, r0 /* 801B4C7C 001B1BDC 48 00 00 08 */ b lbl_801B4C84 lbl_801B4C80: /* 801B4C80 001B1BE0 38 63 00 08 */ addi r3, r3, 8 lbl_801B4C84: /* 801B4C84 001B1BE4 7C 03 00 40 */ cmplw r3, r0 /* 801B4C88 001B1BE8 40 82 FF F8 */ bne lbl_801B4C80 /* 801B4C8C 001B1BEC 80 7A 00 0C */ lwz r3, 0xc(r26) /* 801B4C90 001B1BF0 28 03 00 00 */ cmplwi r3, 0 /* 801B4C94 001B1BF4 41 82 00 08 */ beq lbl_801B4C9C /* 801B4C98 001B1BF8 48 16 0C 99 */ bl Free__7CMemoryFPCv lbl_801B4C9C: /* 801B4C9C 001B1BFC 93 FA 00 0C */ stw r31, 0xc(r26) /* 801B4CA0 001B1C00 93 9A 00 08 */ stw r28, 8(r26) /* 801B4CA4 001B1C04 80 1A 00 04 */ lwz r0, 4(r26) /* 801B4CA8 001B1C08 7C 00 DA 14 */ add r0, r0, r27 /* 801B4CAC 001B1C0C 90 1A 00 04 */ stw r0, 4(r26) lbl_801B4CB0: /* 801B4CB0 001B1C10 BB 21 00 14 */ lmw r25, 0x14(r1) /* 801B4CB4 001B1C14 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B4CB8 001B1C18 7C 08 03 A6 */ mtlr r0 /* 801B4CBC 001B1C1C 38 21 00 30 */ addi r1, r1, 0x30 /* 801B4CC0 001B1C20 4E 80 00 20 */ blr .global __ct__18CPlayerEnergyDrainFUi __ct__18CPlayerEnergyDrainFUi: /* 801B4CC4 001B1C24 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B4CC8 001B1C28 7C 08 02 A6 */ mflr r0 /* 801B4CCC 001B1C2C C0 02 A9 40 */ lfs f0, lbl_805AC660@sda21(r2) /* 801B4CD0 001B1C30 90 01 00 14 */ stw r0, 0x14(r1) /* 801B4CD4 001B1C34 38 00 00 00 */ li r0, 0 /* 801B4CD8 001B1C38 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B4CDC 001B1C3C 7C 7F 1B 78 */ mr r31, r3 /* 801B4CE0 001B1C40 90 03 00 04 */ stw r0, 4(r3) /* 801B4CE4 001B1C44 90 03 00 08 */ stw r0, 8(r3) /* 801B4CE8 001B1C48 90 03 00 0C */ stw r0, 0xc(r3) /* 801B4CEC 001B1C4C D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B4CF0 001B1C50 48 00 00 DD */ bl "reserve__Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>Fi" /* 801B4CF4 001B1C54 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B4CF8 001B1C58 7F E3 FB 78 */ mr r3, r31 /* 801B4CFC 001B1C5C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B4D00 001B1C60 7C 08 03 A6 */ mtlr r0 /* 801B4D04 001B1C64 38 21 00 10 */ addi r1, r1, 0x10 /* 801B4D08 001B1C68 4E 80 00 20 */ blr .global "lower_bound,Q24rstl17rmemory_allocator>,18CEnergyDrainSource>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC18CEnergyDrainSource" "lower_bound,Q24rstl17rmemory_allocator>,18CEnergyDrainSource>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC18CEnergyDrainSource": /* 801B4D0C 001B1C6C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B4D10 001B1C70 7C 08 02 A6 */ mflr r0 /* 801B4D14 001B1C74 90 01 00 34 */ stw r0, 0x34(r1) /* 801B4D18 001B1C78 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801B4D1C 001B1C7C 7C 9F 23 78 */ mr r31, r4 /* 801B4D20 001B1C80 7C 7E 1B 78 */ mr r30, r3 /* 801B4D24 001B1C84 7C DB 33 78 */ mr r27, r6 /* 801B4D28 001B1C88 38 61 00 0C */ addi r3, r1, 0xc /* 801B4D2C 001B1C8C 80 85 00 00 */ lwz r4, 0(r5) /* 801B4D30 001B1C90 80 1F 00 00 */ lwz r0, 0(r31) /* 801B4D34 001B1C94 90 81 00 08 */ stw r4, 8(r1) /* 801B4D38 001B1C98 38 81 00 08 */ addi r4, r1, 8 /* 801B4D3C 001B1C9C 90 01 00 0C */ stw r0, 0xc(r1) /* 801B4D40 001B1CA0 48 00 01 C1 */ bl "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" /* 801B4D44 001B1CA4 80 1F 00 00 */ lwz r0, 0(r31) /* 801B4D48 001B1CA8 7C 7D 1B 78 */ mr r29, r3 /* 801B4D4C 001B1CAC 90 01 00 10 */ stw r0, 0x10(r1) /* 801B4D50 001B1CB0 48 00 00 58 */ b lbl_801B4DA8 lbl_801B4D54: /* 801B4D54 001B1CB4 57 A3 0F FE */ srwi r3, r29, 0x1f /* 801B4D58 001B1CB8 80 1F 00 00 */ lwz r0, 0(r31) /* 801B4D5C 001B1CBC 7C 83 EA 14 */ add r4, r3, r29 /* 801B4D60 001B1CC0 38 61 00 10 */ addi r3, r1, 0x10 /* 801B4D64 001B1CC4 7C 9C 0E 70 */ srawi r28, r4, 1 /* 801B4D68 001B1CC8 90 01 00 10 */ stw r0, 0x10(r1) /* 801B4D6C 001B1CCC 7F 84 E3 78 */ mr r4, r28 /* 801B4D70 001B1CD0 48 00 01 51 */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" /* 801B4D74 001B1CD4 80 81 00 10 */ lwz r4, 0x10(r1) /* 801B4D78 001B1CD8 A0 1B 00 00 */ lhz r0, 0(r27) /* 801B4D7C 001B1CDC A0 64 00 00 */ lhz r3, 0(r4) /* 801B4D80 001B1CE0 7C 03 00 40 */ cmplw r3, r0 /* 801B4D84 001B1CE4 40 80 00 20 */ bge lbl_801B4DA4 /* 801B4D88 001B1CE8 90 9F 00 00 */ stw r4, 0(r31) /* 801B4D8C 001B1CEC 7C 7C E8 50 */ subf r3, r28, r29 /* 801B4D90 001B1CF0 3B A3 FF FF */ addi r29, r3, -1 /* 801B4D94 001B1CF4 80 7F 00 00 */ lwz r3, 0(r31) /* 801B4D98 001B1CF8 38 03 00 08 */ addi r0, r3, 8 /* 801B4D9C 001B1CFC 90 1F 00 00 */ stw r0, 0(r31) /* 801B4DA0 001B1D00 48 00 00 08 */ b lbl_801B4DA8 lbl_801B4DA4: /* 801B4DA4 001B1D04 7F 9D E3 78 */ mr r29, r28 lbl_801B4DA8: /* 801B4DA8 001B1D08 2C 1D 00 00 */ cmpwi r29, 0 /* 801B4DAC 001B1D0C 41 81 FF A8 */ bgt lbl_801B4D54 /* 801B4DB0 001B1D10 80 1F 00 00 */ lwz r0, 0(r31) /* 801B4DB4 001B1D14 90 1E 00 00 */ stw r0, 0(r30) /* 801B4DB8 001B1D18 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801B4DBC 001B1D1C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B4DC0 001B1D20 7C 08 03 A6 */ mtlr r0 /* 801B4DC4 001B1D24 38 21 00 30 */ addi r1, r1, 0x30 /* 801B4DC8 001B1D28 4E 80 00 20 */ blr .global "reserve__Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>Fi": /* 801B4DCC 001B1D2C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B4DD0 001B1D30 7C 08 02 A6 */ mflr r0 /* 801B4DD4 001B1D34 90 01 00 34 */ stw r0, 0x34(r1) /* 801B4DD8 001B1D38 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B4DDC 001B1D3C 7C 9F 23 78 */ mr r31, r4 /* 801B4DE0 001B1D40 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B4DE4 001B1D44 7C 7E 1B 78 */ mr r30, r3 /* 801B4DE8 001B1D48 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B4DEC 001B1D4C 80 03 00 08 */ lwz r0, 8(r3) /* 801B4DF0 001B1D50 7C 1F 00 00 */ cmpw r31, r0 /* 801B4DF4 001B1D54 40 81 00 B0 */ ble lbl_801B4EA4 /* 801B4DF8 001B1D58 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c /* 801B4DFC 001B1D5C 40 82 00 0C */ bne lbl_801B4E08 /* 801B4E00 001B1D60 3B A0 00 00 */ li r29, 0 /* 801B4E04 001B1D64 48 00 00 18 */ b lbl_801B4E1C lbl_801B4E08: /* 801B4E08 001B1D68 3C 80 80 3D */ lis r4, lbl_803D1630@ha /* 801B4E0C 001B1D6C 38 A0 00 00 */ li r5, 0 /* 801B4E10 001B1D70 38 84 16 30 */ addi r4, r4, lbl_803D1630@l /* 801B4E14 001B1D74 48 16 0A 05 */ bl __nwa__FUlPCcPCc /* 801B4E18 001B1D78 7C 7D 1B 78 */ mr r29, r3 lbl_801B4E1C: /* 801B4E1C 001B1D7C 80 1E 00 04 */ lwz r0, 4(r30) /* 801B4E20 001B1D80 7F A4 EB 78 */ mr r4, r29 /* 801B4E24 001B1D84 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801B4E28 001B1D88 54 00 18 38 */ slwi r0, r0, 3 /* 801B4E2C 001B1D8C 7C 65 02 14 */ add r3, r5, r0 /* 801B4E30 001B1D90 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B4E34 001B1D94 90 61 00 08 */ stw r3, 8(r1) /* 801B4E38 001B1D98 90 61 00 0C */ stw r3, 0xc(r1) /* 801B4E3C 001B1D9C 90 A1 00 14 */ stw r5, 0x14(r1) /* 801B4E40 001B1DA0 48 00 00 24 */ b lbl_801B4E64 lbl_801B4E44: /* 801B4E44 001B1DA4 28 04 00 00 */ cmplwi r4, 0 /* 801B4E48 001B1DA8 41 82 00 14 */ beq lbl_801B4E5C /* 801B4E4C 001B1DAC A0 05 00 00 */ lhz r0, 0(r5) /* 801B4E50 001B1DB0 B0 04 00 00 */ sth r0, 0(r4) /* 801B4E54 001B1DB4 C0 05 00 04 */ lfs f0, 4(r5) /* 801B4E58 001B1DB8 D0 04 00 04 */ stfs f0, 4(r4) lbl_801B4E5C: /* 801B4E5C 001B1DBC 38 84 00 08 */ addi r4, r4, 8 /* 801B4E60 001B1DC0 38 A5 00 08 */ addi r5, r5, 8 lbl_801B4E64: /* 801B4E64 001B1DC4 7C 05 18 40 */ cmplw r5, r3 /* 801B4E68 001B1DC8 40 82 FF DC */ bne lbl_801B4E44 /* 801B4E6C 001B1DCC 80 1E 00 04 */ lwz r0, 4(r30) /* 801B4E70 001B1DD0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801B4E74 001B1DD4 54 00 18 38 */ slwi r0, r0, 3 /* 801B4E78 001B1DD8 7C 64 1B 78 */ mr r4, r3 /* 801B4E7C 001B1DDC 7C 03 02 14 */ add r0, r3, r0 /* 801B4E80 001B1DE0 48 00 00 08 */ b lbl_801B4E88 lbl_801B4E84: /* 801B4E84 001B1DE4 38 84 00 08 */ addi r4, r4, 8 lbl_801B4E88: /* 801B4E88 001B1DE8 7C 04 00 40 */ cmplw r4, r0 /* 801B4E8C 001B1DEC 40 82 FF F8 */ bne lbl_801B4E84 /* 801B4E90 001B1DF0 28 03 00 00 */ cmplwi r3, 0 /* 801B4E94 001B1DF4 41 82 00 08 */ beq lbl_801B4E9C /* 801B4E98 001B1DF8 48 16 0A 99 */ bl Free__7CMemoryFPCv lbl_801B4E9C: /* 801B4E9C 001B1DFC 93 BE 00 0C */ stw r29, 0xc(r30) /* 801B4EA0 001B1E00 93 FE 00 08 */ stw r31, 8(r30) lbl_801B4EA4: /* 801B4EA4 001B1E04 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B4EA8 001B1E08 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B4EAC 001B1E0C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B4EB0 001B1E10 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B4EB4 001B1E14 7C 08 03 A6 */ mtlr r0 /* 801B4EB8 001B1E18 38 21 00 30 */ addi r1, r1, 0x30 /* 801B4EBC 001B1E1C 4E 80 00 20 */ blr .global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i" "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>i": /* 801B4EC0 001B1E20 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B4EC4 001B1E24 7C 08 02 A6 */ mflr r0 /* 801B4EC8 001B1E28 90 01 00 14 */ stw r0, 0x14(r1) /* 801B4ECC 001B1E2C 38 A1 00 0C */ addi r5, r1, 0xc /* 801B4ED0 001B1E30 88 01 00 08 */ lbz r0, 8(r1) /* 801B4ED4 001B1E34 98 01 00 0C */ stb r0, 0xc(r1) /* 801B4ED8 001B1E38 48 00 00 15 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" /* 801B4EDC 001B1E3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B4EE0 001B1E40 7C 08 03 A6 */ mtlr r0 /* 801B4EE4 001B1E44 38 21 00 10 */ addi r1, r1, 0x10 /* 801B4EE8 001B1E48 4E 80 00 20 */ blr .global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": /* 801B4EEC 001B1E4C 80 A3 00 00 */ lwz r5, 0(r3) /* 801B4EF0 001B1E50 54 80 18 38 */ slwi r0, r4, 3 /* 801B4EF4 001B1E54 7C 05 02 14 */ add r0, r5, r0 /* 801B4EF8 001B1E58 90 03 00 00 */ stw r0, 0(r3) /* 801B4EFC 001B1E5C 4E 80 00 20 */ blr .global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>" "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>": /* 801B4F00 001B1E60 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B4F04 001B1E64 7C 08 02 A6 */ mflr r0 /* 801B4F08 001B1E68 90 01 00 24 */ stw r0, 0x24(r1) /* 801B4F0C 001B1E6C 38 A1 00 0C */ addi r5, r1, 0xc /* 801B4F10 001B1E70 88 E1 00 08 */ lbz r7, 8(r1) /* 801B4F14 001B1E74 80 C4 00 00 */ lwz r6, 0(r4) /* 801B4F18 001B1E78 38 81 00 10 */ addi r4, r1, 0x10 /* 801B4F1C 001B1E7C 80 03 00 00 */ lwz r0, 0(r3) /* 801B4F20 001B1E80 38 61 00 14 */ addi r3, r1, 0x14 /* 801B4F24 001B1E84 90 C1 00 10 */ stw r6, 0x10(r1) /* 801B4F28 001B1E88 98 E1 00 0C */ stb r7, 0xc(r1) /* 801B4F2C 001B1E8C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B4F30 001B1E90 48 00 00 15 */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" /* 801B4F34 001B1E94 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B4F38 001B1E98 7C 08 03 A6 */ mtlr r0 /* 801B4F3C 001B1E9C 38 21 00 20 */ addi r1, r1, 0x20 /* 801B4F40 001B1EA0 4E 80 00 20 */ blr .global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag" "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl130pointer_iterator<18CEnergyDrainSource,Q24rstl55vector<18CEnergyDrainSource,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl26random_access_iterator_tag": /* 801B4F44 001B1EA4 80 63 00 00 */ lwz r3, 0(r3) /* 801B4F48 001B1EA8 80 04 00 00 */ lwz r0, 0(r4) /* 801B4F4C 001B1EAC 7C 03 00 50 */ subf r0, r3, r0 /* 801B4F50 001B1EB0 7C 00 1E 70 */ srawi r0, r0, 3 /* 801B4F54 001B1EB4 7C 60 01 94 */ addze r3, r0 /* 801B4F58 001B1EB8 4E 80 00 20 */ blr .global Get4CharID__10CFlameWarpFv Get4CharID__10CFlameWarpFv: /* 801B4F5C 001B1EBC 3C 60 46 57 */ lis r3, 0x46575250@ha /* 801B4F60 001B1EC0 38 63 52 50 */ addi r3, r3, 0x46575250@l /* 801B4F64 001B1EC4 4E 80 00 20 */ blr .global IsActivated__10CFlameWarpFv IsActivated__10CFlameWarpFv: /* 801B4F68 001B1EC8 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 801B4F6C 001B1ECC 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801B4F70 001B1ED0 4E 80 00 20 */ blr .global sub_801b4f74 sub_801b4f74: /* 801B4F74 001B1ED4 38 A3 00 08 */ addi r5, r3, 8 /* 801B4F78 001B1ED8 7C A6 2B 78 */ mr r6, r5 /* 801B4F7C 001B1EDC 48 00 00 20 */ b lbl_801B4F9C lbl_801B4F80: /* 801B4F80 001B1EE0 C0 04 00 00 */ lfs f0, 0(r4) /* 801B4F84 001B1EE4 D0 06 00 00 */ stfs f0, 0(r6) /* 801B4F88 001B1EE8 C0 04 00 04 */ lfs f0, 4(r4) /* 801B4F8C 001B1EEC D0 06 00 04 */ stfs f0, 4(r6) /* 801B4F90 001B1EF0 C0 04 00 08 */ lfs f0, 8(r4) /* 801B4F94 001B1EF4 D0 06 00 08 */ stfs f0, 8(r6) /* 801B4F98 001B1EF8 38 C6 00 0C */ addi r6, r6, 0xc lbl_801B4F9C: /* 801B4F9C 001B1EFC 80 03 00 04 */ lwz r0, 4(r3) /* 801B4FA0 001B1F00 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B4FA4 001B1F04 7C 05 02 14 */ add r0, r5, r0 /* 801B4FA8 001B1F08 7C 06 00 40 */ cmplw r6, r0 /* 801B4FAC 001B1F0C 40 82 FF D4 */ bne lbl_801B4F80 /* 801B4FB0 001B1F10 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 801B4FB4 001B1F14 38 80 00 00 */ li r4, 0 /* 801B4FB8 001B1F18 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801B4FBC 001B1F1C 98 03 00 A0 */ stb r0, 0xa0(r3) /* 801B4FC0 001B1F20 4E 80 00 20 */ blr .global ModifyParticles__10CFlameWarpFiiPiP9CVector3fP9CVector3fP9CVector3fP6CColorPfPf ModifyParticles__10CFlameWarpFiiPiP9CVector3fP9CVector3fP9CVector3fP6CColorPfPf: /* 801B4FC4 001B1F24 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 801B4FC8 001B1F28 7C 08 02 A6 */ mflr r0 /* 801B4FCC 001B1F2C 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 801B4FD0 001B1F30 DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 801B4FD4 001B1F34 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 801B4FD8 001B1F38 DB C1 01 90 */ stfd f30, 0x190(r1) /* 801B4FDC 001B1F3C F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 801B4FE0 001B1F40 DB A1 01 80 */ stfd f29, 0x180(r1) /* 801B4FE4 001B1F44 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 801B4FE8 001B1F48 DB 81 01 70 */ stfd f28, 0x170(r1) /* 801B4FEC 001B1F4C F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 801B4FF0 001B1F50 DB 61 01 60 */ stfd f27, 0x160(r1) /* 801B4FF4 001B1F54 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 801B4FF8 001B1F58 DB 41 01 50 */ stfd f26, 0x150(r1) /* 801B4FFC 001B1F5C F3 41 01 58 */ psq_st f26, 344(r1), 0, qr0 /* 801B5000 001B1F60 BE 41 01 18 */ stmw r18, 0x118(r1) /* 801B5004 001B1F64 7C 7E 1B 78 */ mr r30, r3 /* 801B5008 001B1F68 83 21 01 B8 */ lwz r25, 0x1b8(r1) /* 801B500C 001B1F6C 80 03 00 9C */ lwz r0, 0x9c(r3) /* 801B5010 001B1F70 7C 94 23 78 */ mr r20, r4 /* 801B5014 001B1F74 7C BF 2B 78 */ mr r31, r5 /* 801B5018 001B1F78 7C F5 3B 78 */ mr r21, r7 /* 801B501C 001B1F7C 28 00 00 00 */ cmplwi r0, 0 /* 801B5020 001B1F80 7D 16 43 78 */ mr r22, r8 /* 801B5024 001B1F84 7D 37 4B 78 */ mr r23, r9 /* 801B5028 001B1F88 7D 58 53 78 */ mr r24, r10 /* 801B502C 001B1F8C 41 82 05 EC */ beq lbl_801B5618 /* 801B5030 001B1F90 2C 14 00 09 */ cmpwi r20, 9 /* 801B5034 001B1F94 40 80 00 08 */ bge lbl_801B503C /* 801B5038 001B1F98 48 00 05 E0 */ b lbl_801B5618 lbl_801B503C: /* 801B503C 001B1F9C 38 00 00 00 */ li r0, 0 /* 801B5040 001B1FA0 38 61 00 88 */ addi r3, r1, 0x88 /* 801B5044 001B1FA4 90 01 00 8C */ stw r0, 0x8c(r1) /* 801B5048 001B1FA8 90 01 00 90 */ stw r0, 0x90(r1) /* 801B504C 001B1FAC 90 01 00 94 */ stw r0, 0x94(r1) /* 801B5050 001B1FB0 48 00 09 7D */ bl sub_801b59cc /* 801B5054 001B1FB4 C0 22 A9 4C */ lfs f1, lbl_805AC66C@sda21(r2) /* 801B5058 001B1FB8 3B 60 00 00 */ li r27, 0 /* 801B505C 001B1FBC C0 02 A9 50 */ lfs f0, lbl_805AC670@sda21(r2) /* 801B5060 001B1FC0 3B A0 00 00 */ li r29, 0 /* 801B5064 001B1FC4 D0 3E 00 90 */ stfs f1, 0x90(r30) /* 801B5068 001B1FC8 C3 A2 A9 48 */ lfs f29, lbl_805AC668@sda21(r2) /* 801B506C 001B1FCC D0 1E 00 94 */ stfs f0, 0x94(r30) /* 801B5070 001B1FD0 C3 C2 A9 54 */ lfs f30, lbl_805AC674@sda21(r2) /* 801B5074 001B1FD4 C3 E2 A9 58 */ lfs f31, lbl_805AC678@sda21(r2) /* 801B5078 001B1FD8 48 00 03 DC */ b lbl_801B5454 lbl_801B507C: /* 801B507C 001B1FDC 38 1D 00 03 */ addi r0, r29, 3 /* 801B5080 001B1FE0 7F 96 EA 14 */ add r28, r22, r29 /* 801B5084 001B1FE4 10 18 05 0C */ psq_lx f0, r24, r0, 1, qr2 /* 801B5088 001B1FE8 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801B508C 001B1FEC EF 9E 00 28 */ fsubs f28, f30, f0 /* 801B5090 001B1FF0 FC 1C E8 40 */ fcmpo cr0, f28, f29 /* 801B5094 001B1FF4 40 81 00 6C */ ble lbl_801B5100 /* 801B5098 001B1FF8 C0 3C 00 04 */ lfs f1, 4(r28) /* 801B509C 001B1FFC C0 1E 00 78 */ lfs f0, 0x78(r30) /* 801B50A0 001B2000 C0 7C 00 00 */ lfs f3, 0(r28) /* 801B50A4 001B2004 EC 21 00 28 */ fsubs f1, f1, f0 /* 801B50A8 001B2008 C0 1E 00 74 */ lfs f0, 0x74(r30) /* 801B50AC 001B200C C0 5C 00 08 */ lfs f2, 8(r28) /* 801B50B0 001B2010 EC 63 00 28 */ fsubs f3, f3, f0 /* 801B50B4 001B2014 C0 1E 00 7C */ lfs f0, 0x7c(r30) /* 801B50B8 001B2018 EC 21 00 72 */ fmuls f1, f1, f1 /* 801B50BC 001B201C EC 42 00 28 */ fsubs f2, f2, f0 /* 801B50C0 001B2020 C0 1E 00 8C */ lfs f0, 0x8c(r30) /* 801B50C4 001B2024 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801B50C8 001B2028 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801B50CC 001B202C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B50D0 001B2030 40 81 00 30 */ ble lbl_801B5100 /* 801B50D4 001B2034 C0 1E 00 98 */ lfs f0, 0x98(r30) /* 801B50D8 001B2038 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B50DC 001B203C 40 80 00 24 */ bge lbl_801B5100 /* 801B50E0 001B2040 D0 3E 00 8C */ stfs f1, 0x8c(r30) /* 801B50E4 001B2044 FF A0 E0 90 */ fmr f29, f28 /* 801B50E8 001B2048 C0 1C 00 00 */ lfs f0, 0(r28) /* 801B50EC 001B204C D0 1E 00 80 */ stfs f0, 0x80(r30) /* 801B50F0 001B2050 C0 1C 00 04 */ lfs f0, 4(r28) /* 801B50F4 001B2054 D0 1E 00 84 */ stfs f0, 0x84(r30) /* 801B50F8 001B2058 C0 1C 00 08 */ lfs f0, 8(r28) /* 801B50FC 001B205C D0 1E 00 88 */ stfs f0, 0x88(r30) lbl_801B5100: /* 801B5100 001B2060 7C 39 EC 2E */ lfsx f1, r25, r29 /* 801B5104 001B2064 C0 1E 00 90 */ lfs f0, 0x90(r30) /* 801B5108 001B2068 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B510C 001B206C 40 80 00 08 */ bge lbl_801B5114 /* 801B5110 001B2070 D0 3E 00 90 */ stfs f1, 0x90(r30) lbl_801B5114: /* 801B5114 001B2074 7C 39 EC 2E */ lfsx f1, r25, r29 /* 801B5118 001B2078 C0 1E 00 94 */ lfs f0, 0x94(r30) /* 801B511C 001B207C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B5120 001B2080 40 81 00 08 */ ble lbl_801B5128 /* 801B5124 001B2084 D0 3E 00 94 */ stfs f1, 0x94(r30) lbl_801B5128: /* 801B5128 001B2088 80 01 00 8C */ lwz r0, 0x8c(r1) /* 801B512C 001B208C 57 7A 06 3E */ clrlwi r26, r27, 0x18 /* 801B5130 001B2090 80 A1 00 90 */ lwz r5, 0x90(r1) /* 801B5134 001B2094 7C 00 28 00 */ cmpw r0, r5 /* 801B5138 001B2098 41 80 00 1C */ blt lbl_801B5154 /* 801B513C 001B209C 2C 05 00 00 */ cmpwi r5, 0 /* 801B5140 001B20A0 38 61 00 88 */ addi r3, r1, 0x88 /* 801B5144 001B20A4 38 80 00 04 */ li r4, 4 /* 801B5148 001B20A8 41 82 00 08 */ beq lbl_801B5150 /* 801B514C 001B20AC 54 A4 08 3C */ slwi r4, r5, 1 lbl_801B5150: /* 801B5150 001B20B0 48 00 08 7D */ bl sub_801b59cc lbl_801B5154: /* 801B5154 001B20B4 80 01 00 8C */ lwz r0, 0x8c(r1) /* 801B5158 001B20B8 80 61 00 94 */ lwz r3, 0x94(r1) /* 801B515C 001B20BC 54 00 18 38 */ slwi r0, r0, 3 /* 801B5160 001B20C0 7C 63 02 15 */ add. r3, r3, r0 /* 801B5164 001B20C4 41 82 00 0C */ beq lbl_801B5170 /* 801B5168 001B20C8 D3 83 00 00 */ stfs f28, 0(r3) /* 801B516C 001B20CC 9B 43 00 04 */ stb r26, 4(r3) lbl_801B5170: /* 801B5170 001B20D0 80 61 00 8C */ lwz r3, 0x8c(r1) /* 801B5174 001B20D4 38 03 00 01 */ addi r0, r3, 1 /* 801B5178 001B20D8 90 01 00 8C */ stw r0, 0x8c(r1) /* 801B517C 001B20DC 88 1E 00 A0 */ lbz r0, 0xa0(r30) /* 801B5180 001B20E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B5184 001B20E4 41 82 02 C8 */ beq lbl_801B544C /* 801B5188 001B20E8 7E 55 EA 14 */ add r18, r21, r29 /* 801B518C 001B20EC C0 7C 00 04 */ lfs f3, 4(r28) /* 801B5190 001B20F0 C0 52 00 04 */ lfs f2, 4(r18) /* 801B5194 001B20F4 7F 57 EA 14 */ add r26, r23, r29 /* 801B5198 001B20F8 C0 3C 00 00 */ lfs f1, 0(r28) /* 801B519C 001B20FC C0 12 00 00 */ lfs f0, 0(r18) /* 801B51A0 001B2100 EC A3 10 28 */ fsubs f5, f3, f2 /* 801B51A4 001B2104 C0 9C 00 08 */ lfs f4, 8(r28) /* 801B51A8 001B2108 C0 52 00 08 */ lfs f2, 8(r18) /* 801B51AC 001B210C EC 61 00 28 */ fsubs f3, f1, f0 /* 801B51B0 001B2110 EC 25 01 72 */ fmuls f1, f5, f5 /* 801B51B4 001B2114 C0 02 A9 5C */ lfs f0, lbl_805AC67C@sda21(r2) /* 801B51B8 001B2118 EC 84 10 28 */ fsubs f4, f4, f2 /* 801B51BC 001B211C D0 A1 00 80 */ stfs f5, 0x80(r1) /* 801B51C0 001B2120 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801B51C4 001B2124 D0 61 00 7C */ stfs f3, 0x7c(r1) /* 801B51C8 001B2128 EC 64 01 32 */ fmuls f3, f4, f4 /* 801B51CC 001B212C EC 22 08 2A */ fadds f1, f2, f1 /* 801B51D0 001B2130 D0 81 00 84 */ stfs f4, 0x84(r1) /* 801B51D4 001B2134 EC 23 08 2A */ fadds f1, f3, f1 /* 801B51D8 001B2138 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B51DC 001B213C 41 80 02 70 */ blt lbl_801B544C /* 801B51E0 001B2140 38 61 00 4C */ addi r3, r1, 0x4c /* 801B51E4 001B2144 38 81 00 7C */ addi r4, r1, 0x7c /* 801B51E8 001B2148 48 15 F6 69 */ bl AsNormalized__9CVector3fCFv /* 801B51EC 001B214C C0 A1 00 4C */ lfs f5, 0x4c(r1) /* 801B51F0 001B2150 38 61 00 40 */ addi r3, r1, 0x40 /* 801B51F4 001B2154 C0 61 00 50 */ lfs f3, 0x50(r1) /* 801B51F8 001B2158 C0 02 A9 60 */ lfs f0, lbl_805AC680@sda21(r2) /* 801B51FC 001B215C C0 21 00 54 */ lfs f1, 0x54(r1) /* 801B5200 001B2160 D0 A1 00 70 */ stfs f5, 0x70(r1) /* 801B5204 001B2164 EC 80 00 F2 */ fmuls f4, f0, f3 /* 801B5208 001B2168 EC 40 00 72 */ fmuls f2, f0, f1 /* 801B520C 001B216C D0 61 00 74 */ stfs f3, 0x74(r1) /* 801B5210 001B2170 EC 00 01 72 */ fmuls f0, f0, f5 /* 801B5214 001B2174 D0 21 00 78 */ stfs f1, 0x78(r1) /* 801B5218 001B2178 C0 B2 00 04 */ lfs f5, 4(r18) /* 801B521C 001B217C C0 72 00 08 */ lfs f3, 8(r18) /* 801B5220 001B2180 C0 32 00 00 */ lfs f1, 0(r18) /* 801B5224 001B2184 EC A5 20 28 */ fsubs f5, f5, f4 /* 801B5228 001B2188 EC 83 10 28 */ fsubs f4, f3, f2 /* 801B522C 001B218C EC 61 00 28 */ fsubs f3, f1, f0 /* 801B5230 001B2190 D0 A1 00 68 */ stfs f5, 0x68(r1) /* 801B5234 001B2194 D0 61 00 64 */ stfs f3, 0x64(r1) /* 801B5238 001B2198 D0 81 00 6C */ stfs f4, 0x6c(r1) /* 801B523C 001B219C C0 5C 00 04 */ lfs f2, 4(r28) /* 801B5240 001B21A0 C0 3C 00 08 */ lfs f1, 8(r28) /* 801B5244 001B21A4 C0 1C 00 00 */ lfs f0, 0(r28) /* 801B5248 001B21A8 EC 42 28 28 */ fsubs f2, f2, f5 /* 801B524C 001B21AC EC 21 20 28 */ fsubs f1, f1, f4 /* 801B5250 001B21B0 EC 00 18 28 */ fsubs f0, f0, f3 /* 801B5254 001B21B4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801B5258 001B21B8 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801B525C 001B21BC D0 21 00 48 */ stfs f1, 0x48(r1) /* 801B5260 001B21C0 48 15 F6 59 */ bl Magnitude__9CVector3fCFv /* 801B5264 001B21C4 FF 40 08 90 */ fmr f26, f1 /* 801B5268 001B21C8 80 AD 90 D4 */ lwz r5, lbl_805A7C94@sda21(r13) /* 801B526C 001B21CC 38 60 00 00 */ li r3, 0 /* 801B5270 001B21D0 38 80 00 01 */ li r4, 1 /* 801B5274 001B21D4 48 1D 4C 81 */ bl __shl2i /* 801B5278 001B21D8 80 AD 90 D0 */ lwz r5, lbl_805A7C90@sda21(r13) /* 801B527C 001B21DC 7C 92 23 78 */ mr r18, r4 /* 801B5280 001B21E0 7C 73 1B 78 */ mr r19, r3 /* 801B5284 001B21E4 38 60 00 00 */ li r3, 0 /* 801B5288 001B21E8 38 80 00 01 */ li r4, 1 /* 801B528C 001B21EC 48 1D 4C 69 */ bl __shl2i /* 801B5290 001B21F0 38 00 00 03 */ li r0, 3 /* 801B5294 001B21F4 90 61 00 98 */ stw r3, 0x98(r1) /* 801B5298 001B21F8 FC 20 D0 90 */ fmr f1, f26 /* 801B529C 001B21FC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801B52A0 001B2200 90 81 00 9C */ stw r4, 0x9c(r1) /* 801B52A4 001B2204 38 A1 00 64 */ addi r5, r1, 0x64 /* 801B52A8 001B2208 38 C1 00 70 */ addi r6, r1, 0x70 /* 801B52AC 001B220C 38 E1 00 98 */ addi r7, r1, 0x98 /* 801B52B0 001B2210 92 41 00 A4 */ stw r18, 0xa4(r1) /* 801B52B4 001B2214 92 61 00 A0 */ stw r19, 0xa0(r1) /* 801B52B8 001B2218 90 01 00 A8 */ stw r0, 0xa8(r1) /* 801B52BC 001B221C 80 9E 00 9C */ lwz r4, 0x9c(r30) /* 801B52C0 001B2220 4B E9 7C D9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801B52C4 001B2224 88 81 00 D0 */ lbz r4, 0xd0(r1) /* 801B52C8 001B2228 C0 E1 00 B0 */ lfs f7, 0xb0(r1) /* 801B52CC 001B222C C0 C1 00 B4 */ lfs f6, 0xb4(r1) /* 801B52D0 001B2230 28 04 00 00 */ cmplwi r4, 0 /* 801B52D4 001B2234 C0 A1 00 B8 */ lfs f5, 0xb8(r1) /* 801B52D8 001B2238 C0 81 00 BC */ lfs f4, 0xbc(r1) /* 801B52DC 001B223C C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 801B52E0 001B2240 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 801B52E4 001B2244 C0 21 00 C8 */ lfs f1, 0xc8(r1) /* 801B52E8 001B2248 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 801B52EC 001B224C 80 01 00 D8 */ lwz r0, 0xd8(r1) /* 801B52F0 001B2250 80 61 00 DC */ lwz r3, 0xdc(r1) /* 801B52F4 001B2254 D0 E1 00 E0 */ stfs f7, 0xe0(r1) /* 801B52F8 001B2258 D0 C1 00 E4 */ stfs f6, 0xe4(r1) /* 801B52FC 001B225C D0 A1 00 E8 */ stfs f5, 0xe8(r1) /* 801B5300 001B2260 D0 81 00 EC */ stfs f4, 0xec(r1) /* 801B5304 001B2264 D0 61 00 F0 */ stfs f3, 0xf0(r1) /* 801B5308 001B2268 D0 41 00 F4 */ stfs f2, 0xf4(r1) /* 801B530C 001B226C D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 801B5310 001B2270 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 801B5314 001B2274 98 81 01 00 */ stb r4, 0x100(r1) /* 801B5318 001B2278 90 61 01 0C */ stw r3, 0x10c(r1) /* 801B531C 001B227C 90 01 01 08 */ stw r0, 0x108(r1) /* 801B5320 001B2280 41 82 01 2C */ beq lbl_801B544C /* 801B5324 001B2284 C0 9C 00 04 */ lfs f4, 4(r28) /* 801B5328 001B2288 C0 BC 00 00 */ lfs f5, 0(r28) /* 801B532C 001B228C EC 82 01 32 */ fmuls f4, f2, f4 /* 801B5330 001B2290 C0 DC 00 08 */ lfs f6, 8(r28) /* 801B5334 001B2294 C1 02 A9 48 */ lfs f8, lbl_805AC668@sda21(r2) /* 801B5338 001B2298 EC 83 21 7A */ fmadds f4, f3, f5, f4 /* 801B533C 001B229C EC 81 21 BA */ fmadds f4, f1, f6, f4 /* 801B5340 001B22A0 EC 84 00 28 */ fsubs f4, f4, f0 /* 801B5344 001B22A4 FC 04 40 40 */ fcmpo cr0, f4, f8 /* 801B5348 001B22A8 41 81 01 04 */ bgt lbl_801B544C /* 801B534C 001B22AC EC C4 00 F2 */ fmuls f6, f4, f3 /* 801B5350 001B22B0 C0 FC 00 00 */ lfs f7, 0(r28) /* 801B5354 001B22B4 EC A4 00 B2 */ fmuls f5, f4, f2 /* 801B5358 001B22B8 EC 84 00 72 */ fmuls f4, f4, f1 /* 801B535C 001B22BC EC C7 30 28 */ fsubs f6, f7, f6 /* 801B5360 001B22C0 D0 DC 00 00 */ stfs f6, 0(r28) /* 801B5364 001B22C4 C0 DC 00 04 */ lfs f6, 4(r28) /* 801B5368 001B22C8 EC A6 28 28 */ fsubs f5, f6, f5 /* 801B536C 001B22CC D0 BC 00 04 */ stfs f5, 4(r28) /* 801B5370 001B22D0 C0 BC 00 08 */ lfs f5, 8(r28) /* 801B5374 001B22D4 EC 85 20 28 */ fsubs f4, f5, f4 /* 801B5378 001B22D8 D0 9C 00 08 */ stfs f4, 8(r28) /* 801B537C 001B22DC C3 7A 00 04 */ lfs f27, 4(r26) /* 801B5380 001B22E0 C3 9A 00 00 */ lfs f28, 0(r26) /* 801B5384 001B22E4 EC A2 06 F2 */ fmuls f5, f2, f27 /* 801B5388 001B22E8 C3 5A 00 08 */ lfs f26, 8(r26) /* 801B538C 001B22EC EC 83 2F 3A */ fmadds f4, f3, f28, f5 /* 801B5390 001B22F0 EC 81 26 BA */ fmadds f4, f1, f26, f4 /* 801B5394 001B22F4 FC 04 40 40 */ fcmpo cr0, f4, f8 /* 801B5398 001B22F8 40 80 00 B4 */ bge lbl_801B544C /* 801B539C 001B22FC C1 7C 00 04 */ lfs f11, 4(r28) /* 801B53A0 001B2300 EC DC 28 FA */ fmadds f6, f28, f3, f5 /* 801B53A4 001B2304 C1 3C 00 00 */ lfs f9, 0(r28) /* 801B53A8 001B2308 ED AB D8 28 */ fsubs f13, f11, f27 /* 801B53AC 001B230C C1 5C 00 08 */ lfs f10, 8(r28) /* 801B53B0 001B2310 ED 09 E0 28 */ fsubs f8, f9, f28 /* 801B53B4 001B2314 C0 A2 A9 54 */ lfs f5, lbl_805AC674@sda21(r2) /* 801B53B8 001B2318 ED 8A D0 28 */ fsubs f12, f10, f26 /* 801B53BC 001B231C C0 82 A9 64 */ lfs f4, lbl_805AC684@sda21(r2) /* 801B53C0 001B2320 EC ED 00 B2 */ fmuls f7, f13, f2 /* 801B53C4 001B2324 D1 01 00 34 */ stfs f8, 0x34(r1) /* 801B53C8 001B2328 EC 5A 30 7A */ fmadds f2, f26, f1, f6 /* 801B53CC 001B232C D1 A1 00 38 */ stfs f13, 0x38(r1) /* 801B53D0 001B2330 EC 68 38 FA */ fmadds f3, f8, f3, f7 /* 801B53D4 001B2334 D1 81 00 3C */ stfs f12, 0x3c(r1) /* 801B53D8 001B2338 EC 2C 18 7A */ fmadds f1, f12, f1, f3 /* 801B53DC 001B233C EC 01 00 28 */ fsubs f0, f1, f0 /* 801B53E0 001B2340 FC 00 00 50 */ fneg f0, f0 /* 801B53E4 001B2344 EC 00 10 24 */ fdivs f0, f0, f2 /* 801B53E8 001B2348 EC 20 28 28 */ fsubs f1, f0, f5 /* 801B53EC 001B234C EC 01 07 32 */ fmuls f0, f1, f28 /* 801B53F0 001B2350 EC 41 06 F2 */ fmuls f2, f1, f27 /* 801B53F4 001B2354 EC 21 06 B2 */ fmuls f1, f1, f26 /* 801B53F8 001B2358 EC 09 00 2A */ fadds f0, f9, f0 /* 801B53FC 001B235C EC 4B 10 2A */ fadds f2, f11, f2 /* 801B5400 001B2360 EC 2A 08 2A */ fadds f1, f10, f1 /* 801B5404 001B2364 D0 1C 00 00 */ stfs f0, 0(r28) /* 801B5408 001B2368 D0 5C 00 04 */ stfs f2, 4(r28) /* 801B540C 001B236C D0 3C 00 08 */ stfs f1, 8(r28) /* 801B5410 001B2370 C0 1A 00 00 */ lfs f0, 0(r26) /* 801B5414 001B2374 C0 7A 00 04 */ lfs f3, 4(r26) /* 801B5418 001B2378 EC 04 00 32 */ fmuls f0, f4, f0 /* 801B541C 001B237C C0 3A 00 00 */ lfs f1, 0(r26) /* 801B5420 001B2380 C0 5A 00 08 */ lfs f2, 8(r26) /* 801B5424 001B2384 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801B5428 001B2388 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B542C 001B238C EC 24 00 B2 */ fmuls f1, f4, f2 /* 801B5430 001B2390 D0 1A 00 00 */ stfs f0, 0(r26) /* 801B5434 001B2394 C0 1A 00 04 */ lfs f0, 4(r26) /* 801B5438 001B2398 EC 00 18 28 */ fsubs f0, f0, f3 /* 801B543C 001B239C D0 1A 00 04 */ stfs f0, 4(r26) /* 801B5440 001B23A0 C0 1A 00 08 */ lfs f0, 8(r26) /* 801B5444 001B23A4 EC 00 08 28 */ fsubs f0, f0, f1 /* 801B5448 001B23A8 D0 1A 00 08 */ stfs f0, 8(r26) lbl_801B544C: /* 801B544C 001B23AC 7F BD FA 14 */ add r29, r29, r31 /* 801B5450 001B23B0 3B 7B 00 01 */ addi r27, r27, 1 lbl_801B5454: /* 801B5454 001B23B4 7C 1B A0 00 */ cmpw r27, r20 /* 801B5458 001B23B8 41 80 FC 24 */ blt lbl_801B507C /* 801B545C 001B23BC 80 01 00 8C */ lwz r0, 0x8c(r1) /* 801B5460 001B23C0 38 61 00 24 */ addi r3, r1, 0x24 /* 801B5464 001B23C4 80 A1 00 94 */ lwz r5, 0x94(r1) /* 801B5468 001B23C8 38 81 00 1C */ addi r4, r1, 0x1c /* 801B546C 001B23CC 54 00 18 38 */ slwi r0, r0, 3 /* 801B5470 001B23D0 7C 05 02 14 */ add r0, r5, r0 /* 801B5474 001B23D4 90 A1 00 20 */ stw r5, 0x20(r1) /* 801B5478 001B23D8 90 01 00 18 */ stw r0, 0x18(r1) /* 801B547C 001B23DC 90 01 00 1C */ stw r0, 0x1c(r1) /* 801B5480 001B23E0 90 A1 00 24 */ stw r5, 0x24(r1) /* 801B5484 001B23E4 48 00 03 C1 */ bl sub_801b5844 /* 801B5488 001B23E8 3C 60 38 E4 */ lis r3, 0x38E38E39@ha /* 801B548C 001B23EC 3B 7E 00 08 */ addi r27, r30, 8 /* 801B5490 001B23F0 38 03 8E 39 */ addi r0, r3, 0x38E38E39@l /* 801B5494 001B23F4 3B 40 00 00 */ li r26, 0 /* 801B5498 001B23F8 7C 00 A0 96 */ mulhw r0, r0, r20 /* 801B549C 001B23FC 7F 7C DB 78 */ mr r28, r27 /* 801B54A0 001B2400 3B A0 00 00 */ li r29, 0 /* 801B54A4 001B2404 7C 00 0E 70 */ srawi r0, r0, 1 /* 801B54A8 001B2408 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B54AC 001B240C 7C 00 1A 14 */ add r0, r0, r3 /* 801B54B0 001B2410 54 12 18 38 */ slwi r18, r0, 3 lbl_801B54B4: /* 801B54B4 001B2414 80 61 00 94 */ lwz r3, 0x94(r1) /* 801B54B8 001B2418 38 1D 00 04 */ addi r0, r29, 4 /* 801B54BC 001B241C 2C 1A 00 00 */ cmpwi r26, 0 /* 801B54C0 001B2420 7C 03 00 AE */ lbzx r0, r3, r0 /* 801B54C4 001B2424 7C 00 F9 D6 */ mullw r0, r0, r31 /* 801B54C8 001B2428 7C 76 02 14 */ add r3, r22, r0 /* 801B54CC 001B242C C0 03 00 00 */ lfs f0, 0(r3) /* 801B54D0 001B2430 D0 1C 00 00 */ stfs f0, 0(r28) /* 801B54D4 001B2434 C0 03 00 04 */ lfs f0, 4(r3) /* 801B54D8 001B2438 D0 1C 00 04 */ stfs f0, 4(r28) /* 801B54DC 001B243C C0 03 00 08 */ lfs f0, 8(r3) /* 801B54E0 001B2440 D0 1C 00 08 */ stfs f0, 8(r28) /* 801B54E4 001B2444 40 81 00 A0 */ ble lbl_801B5584 /* 801B54E8 001B2448 38 1A FF FF */ addi r0, r26, -1 /* 801B54EC 001B244C C0 BC 00 04 */ lfs f5, 4(r28) /* 801B54F0 001B2450 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B54F4 001B2454 C0 7C 00 08 */ lfs f3, 8(r28) /* 801B54F8 001B2458 C0 3C 00 00 */ lfs f1, 0(r28) /* 801B54FC 001B245C 38 61 00 58 */ addi r3, r1, 0x58 /* 801B5500 001B2460 7C 9B 02 14 */ add r4, r27, r0 /* 801B5504 001B2464 C0 84 00 04 */ lfs f4, 4(r4) /* 801B5508 001B2468 C0 44 00 08 */ lfs f2, 8(r4) /* 801B550C 001B246C C0 04 00 00 */ lfs f0, 0(r4) /* 801B5510 001B2470 EC 85 20 28 */ fsubs f4, f5, f4 /* 801B5514 001B2474 EC 43 10 28 */ fsubs f2, f3, f2 /* 801B5518 001B2478 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B551C 001B247C D0 81 00 5C */ stfs f4, 0x5c(r1) /* 801B5520 001B2480 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801B5524 001B2484 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801B5528 001B2488 48 15 F3 91 */ bl Magnitude__9CVector3fCFv /* 801B552C 001B248C C0 02 A9 5C */ lfs f0, lbl_805AC67C@sda21(r2) /* 801B5530 001B2490 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B5534 001B2494 40 80 00 50 */ bge lbl_801B5584 /* 801B5538 001B2498 38 61 00 28 */ addi r3, r1, 0x28 /* 801B553C 001B249C 38 81 00 58 */ addi r4, r1, 0x58 /* 801B5540 001B24A0 48 15 F3 11 */ bl AsNormalized__9CVector3fCFv /* 801B5544 001B24A4 C0 82 A9 5C */ lfs f4, lbl_805AC67C@sda21(r2) /* 801B5548 001B24A8 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801B554C 001B24AC C0 61 00 2C */ lfs f3, 0x2c(r1) /* 801B5550 001B24B0 EC 04 00 32 */ fmuls f0, f4, f0 /* 801B5554 001B24B4 C0 3C 00 00 */ lfs f1, 0(r28) /* 801B5558 001B24B8 C0 41 00 30 */ lfs f2, 0x30(r1) /* 801B555C 001B24BC EC 64 00 F2 */ fmuls f3, f4, f3 /* 801B5560 001B24C0 EC 01 00 2A */ fadds f0, f1, f0 /* 801B5564 001B24C4 EC 24 00 B2 */ fmuls f1, f4, f2 /* 801B5568 001B24C8 D0 1C 00 00 */ stfs f0, 0(r28) /* 801B556C 001B24CC C0 1C 00 04 */ lfs f0, 4(r28) /* 801B5570 001B24D0 EC 00 18 2A */ fadds f0, f0, f3 /* 801B5574 001B24D4 D0 1C 00 04 */ stfs f0, 4(r28) /* 801B5578 001B24D8 C0 1C 00 08 */ lfs f0, 8(r28) /* 801B557C 001B24DC EC 00 08 2A */ fadds f0, f0, f1 /* 801B5580 001B24E0 D0 1C 00 08 */ stfs f0, 8(r28) lbl_801B5584: /* 801B5584 001B24E4 3B 5A 00 01 */ addi r26, r26, 1 /* 801B5588 001B24E8 7F BD 92 14 */ add r29, r29, r18 /* 801B558C 001B24EC 2C 1A 00 09 */ cmpwi r26, 9 /* 801B5590 001B24F0 3B 9C 00 0C */ addi r28, r28, 0xc /* 801B5594 001B24F4 41 80 FF 20 */ blt lbl_801B54B4 /* 801B5598 001B24F8 C0 1E 00 74 */ lfs f0, 0x74(r30) /* 801B559C 001B24FC 38 60 00 01 */ li r3, 1 /* 801B55A0 001B2500 D0 1B 00 00 */ stfs f0, 0(r27) /* 801B55A4 001B2504 C0 1E 00 78 */ lfs f0, 0x78(r30) /* 801B55A8 001B2508 D0 1B 00 04 */ stfs f0, 4(r27) /* 801B55AC 001B250C C0 1E 00 7C */ lfs f0, 0x7c(r30) /* 801B55B0 001B2510 D0 1B 00 08 */ stfs f0, 8(r27) /* 801B55B4 001B2514 C0 1B 00 60 */ lfs f0, 0x60(r27) /* 801B55B8 001B2518 D0 1E 00 80 */ stfs f0, 0x80(r30) /* 801B55BC 001B251C C0 1B 00 64 */ lfs f0, 0x64(r27) /* 801B55C0 001B2520 D0 1E 00 84 */ stfs f0, 0x84(r30) /* 801B55C4 001B2524 C0 1B 00 68 */ lfs f0, 0x68(r27) /* 801B55C8 001B2528 D0 1E 00 88 */ stfs f0, 0x88(r30) /* 801B55CC 001B252C 88 1E 00 A0 */ lbz r0, 0xa0(r30) /* 801B55D0 001B2530 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801B55D4 001B2534 98 1E 00 A0 */ stb r0, 0xa0(r30) /* 801B55D8 001B2538 80 01 00 8C */ lwz r0, 0x8c(r1) /* 801B55DC 001B253C 80 61 00 94 */ lwz r3, 0x94(r1) /* 801B55E0 001B2540 54 00 18 38 */ slwi r0, r0, 3 /* 801B55E4 001B2544 7C 03 02 14 */ add r0, r3, r0 /* 801B55E8 001B2548 90 61 00 0C */ stw r3, 0xc(r1) /* 801B55EC 001B254C 7C 64 1B 78 */ mr r4, r3 /* 801B55F0 001B2550 90 01 00 14 */ stw r0, 0x14(r1) /* 801B55F4 001B2554 90 01 00 10 */ stw r0, 0x10(r1) /* 801B55F8 001B2558 90 61 00 08 */ stw r3, 8(r1) /* 801B55FC 001B255C 48 00 00 08 */ b lbl_801B5604 lbl_801B5600: /* 801B5600 001B2560 38 84 00 08 */ addi r4, r4, 8 lbl_801B5604: /* 801B5604 001B2564 7C 04 00 40 */ cmplw r4, r0 /* 801B5608 001B2568 40 82 FF F8 */ bne lbl_801B5600 /* 801B560C 001B256C 28 03 00 00 */ cmplwi r3, 0 /* 801B5610 001B2570 41 82 00 08 */ beq lbl_801B5618 /* 801B5614 001B2574 48 16 03 1D */ bl Free__7CMemoryFPCv lbl_801B5618: /* 801B5618 001B2578 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 801B561C 001B257C CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 801B5620 001B2580 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 801B5624 001B2584 CB C1 01 90 */ lfd f30, 0x190(r1) /* 801B5628 001B2588 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 801B562C 001B258C CB A1 01 80 */ lfd f29, 0x180(r1) /* 801B5630 001B2590 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 801B5634 001B2594 CB 81 01 70 */ lfd f28, 0x170(r1) /* 801B5638 001B2598 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 801B563C 001B259C CB 61 01 60 */ lfd f27, 0x160(r1) /* 801B5640 001B25A0 E3 41 01 58 */ psq_l f26, 344(r1), 0, qr0 /* 801B5644 001B25A4 CB 41 01 50 */ lfd f26, 0x150(r1) /* 801B5648 001B25A8 BA 41 01 18 */ lmw r18, 0x118(r1) /* 801B564C 001B25AC 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 801B5650 001B25B0 7C 08 03 A6 */ mtlr r0 /* 801B5654 001B25B4 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 801B5658 001B25B8 4E 80 00 20 */ blr .global UpdateWarp__10CFlameWarpFv UpdateWarp__10CFlameWarpFv: /* 801B565C 001B25BC 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 801B5660 001B25C0 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801B5664 001B25C4 4E 80 00 20 */ blr .global __dt__10CFlameWarpFv __dt__10CFlameWarpFv: /* 801B5668 001B25C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B566C 001B25CC 7C 08 02 A6 */ mflr r0 /* 801B5670 001B25D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801B5674 001B25D4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B5678 001B25D8 7C 9F 23 78 */ mr r31, r4 /* 801B567C 001B25DC 93 C1 00 08 */ stw r30, 8(r1) /* 801B5680 001B25E0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801B5684 001B25E4 41 82 00 88 */ beq lbl_801B570C /* 801B5688 001B25E8 3C 60 80 3E */ lis r3, lbl_803E51C8@ha /* 801B568C 001B25EC 34 1E 00 04 */ addic. r0, r30, 4 /* 801B5690 001B25F0 38 03 51 C8 */ addi r0, r3, lbl_803E51C8@l /* 801B5694 001B25F4 90 1E 00 00 */ stw r0, 0(r30) /* 801B5698 001B25F8 41 82 00 58 */ beq lbl_801B56F0 /* 801B569C 001B25FC 80 BE 00 04 */ lwz r5, 4(r30) /* 801B56A0 001B2600 38 60 00 00 */ li r3, 0 /* 801B56A4 001B2604 2C 05 00 00 */ cmpwi r5, 0 /* 801B56A8 001B2608 40 81 00 40 */ ble lbl_801B56E8 /* 801B56AC 001B260C 2C 05 00 08 */ cmpwi r5, 8 /* 801B56B0 001B2610 38 85 FF F8 */ addi r4, r5, -8 /* 801B56B4 001B2614 40 81 00 20 */ ble lbl_801B56D4 /* 801B56B8 001B2618 38 04 00 07 */ addi r0, r4, 7 /* 801B56BC 001B261C 54 00 E8 FE */ srwi r0, r0, 3 /* 801B56C0 001B2620 7C 09 03 A6 */ mtctr r0 /* 801B56C4 001B2624 2C 04 00 00 */ cmpwi r4, 0 /* 801B56C8 001B2628 40 81 00 0C */ ble lbl_801B56D4 lbl_801B56CC: /* 801B56CC 001B262C 38 63 00 08 */ addi r3, r3, 8 /* 801B56D0 001B2630 42 00 FF FC */ bdnz lbl_801B56CC lbl_801B56D4: /* 801B56D4 001B2634 7C 03 28 50 */ subf r0, r3, r5 /* 801B56D8 001B2638 7C 09 03 A6 */ mtctr r0 /* 801B56DC 001B263C 7C 03 28 00 */ cmpw r3, r5 /* 801B56E0 001B2640 40 80 00 08 */ bge lbl_801B56E8 lbl_801B56E4: /* 801B56E4 001B2644 42 00 00 00 */ bdnz lbl_801B56E4 lbl_801B56E8: /* 801B56E8 001B2648 38 00 00 00 */ li r0, 0 /* 801B56EC 001B264C 90 1E 00 04 */ stw r0, 4(r30) lbl_801B56F0: /* 801B56F0 001B2650 7F C3 F3 78 */ mr r3, r30 /* 801B56F4 001B2654 38 80 00 00 */ li r4, 0 /* 801B56F8 001B2658 48 18 18 CD */ bl __dt__5CWarpFv /* 801B56FC 001B265C 7F E0 07 35 */ extsh. r0, r31 /* 801B5700 001B2660 40 81 00 0C */ ble lbl_801B570C /* 801B5704 001B2664 7F C3 F3 78 */ mr r3, r30 /* 801B5708 001B2668 48 16 02 29 */ bl Free__7CMemoryFPCv lbl_801B570C: /* 801B570C 001B266C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B5710 001B2670 7F C3 F3 78 */ mr r3, r30 /* 801B5714 001B2674 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B5718 001B2678 83 C1 00 08 */ lwz r30, 8(r1) /* 801B571C 001B267C 7C 08 03 A6 */ mtlr r0 /* 801B5720 001B2680 38 21 00 10 */ addi r1, r1, 0x10 /* 801B5724 001B2684 4E 80 00 20 */ blr .global __ct__10CFlameWarpFfRC9CVector3fb __ct__10CFlameWarpFfRC9CVector3fb: /* 801B5728 001B2688 3C C0 80 3F */ lis r6, lbl_803EE2F8@ha /* 801B572C 001B268C 39 03 00 08 */ addi r8, r3, 8 /* 801B5730 001B2690 38 06 E2 F8 */ addi r0, r6, lbl_803EE2F8@l /* 801B5734 001B2694 3C C0 80 3E */ lis r6, lbl_803E51C8@ha /* 801B5738 001B2698 90 03 00 00 */ stw r0, 0(r3) /* 801B573C 001B269C 38 E6 51 C8 */ addi r7, r6, lbl_803E51C8@l /* 801B5740 001B26A0 38 00 00 03 */ li r0, 3 /* 801B5744 001B26A4 90 E3 00 00 */ stw r7, 0(r3) /* 801B5748 001B26A8 38 C0 00 09 */ li r6, 9 /* 801B574C 001B26AC 38 E0 00 00 */ li r7, 0 /* 801B5750 001B26B0 90 C3 00 04 */ stw r6, 4(r3) /* 801B5754 001B26B4 7C 09 03 A6 */ mtctr r0 lbl_801B5758: /* 801B5758 001B26B8 28 08 00 00 */ cmplwi r8, 0 /* 801B575C 001B26BC 41 82 00 1C */ beq lbl_801B5778 /* 801B5760 001B26C0 C0 04 00 00 */ lfs f0, 0(r4) /* 801B5764 001B26C4 D0 08 00 00 */ stfs f0, 0(r8) /* 801B5768 001B26C8 C0 04 00 04 */ lfs f0, 4(r4) /* 801B576C 001B26CC D0 08 00 04 */ stfs f0, 4(r8) /* 801B5770 001B26D0 C0 04 00 08 */ lfs f0, 8(r4) /* 801B5774 001B26D4 D0 08 00 08 */ stfs f0, 8(r8) lbl_801B5778: /* 801B5778 001B26D8 35 08 00 0C */ addic. r8, r8, 0xc /* 801B577C 001B26DC 41 82 00 1C */ beq lbl_801B5798 /* 801B5780 001B26E0 C0 04 00 00 */ lfs f0, 0(r4) /* 801B5784 001B26E4 D0 08 00 00 */ stfs f0, 0(r8) /* 801B5788 001B26E8 C0 04 00 04 */ lfs f0, 4(r4) /* 801B578C 001B26EC D0 08 00 04 */ stfs f0, 4(r8) /* 801B5790 001B26F0 C0 04 00 08 */ lfs f0, 8(r4) /* 801B5794 001B26F4 D0 08 00 08 */ stfs f0, 8(r8) lbl_801B5798: /* 801B5798 001B26F8 35 08 00 0C */ addic. r8, r8, 0xc /* 801B579C 001B26FC 41 82 00 1C */ beq lbl_801B57B8 /* 801B57A0 001B2700 C0 04 00 00 */ lfs f0, 0(r4) /* 801B57A4 001B2704 D0 08 00 00 */ stfs f0, 0(r8) /* 801B57A8 001B2708 C0 04 00 04 */ lfs f0, 4(r4) /* 801B57AC 001B270C D0 08 00 04 */ stfs f0, 4(r8) /* 801B57B0 001B2710 C0 04 00 08 */ lfs f0, 8(r4) /* 801B57B4 001B2714 D0 08 00 08 */ stfs f0, 8(r8) lbl_801B57B8: /* 801B57B8 001B2718 38 E7 00 02 */ addi r7, r7, 2 /* 801B57BC 001B271C 39 08 00 0C */ addi r8, r8, 0xc /* 801B57C0 001B2720 42 00 FF 98 */ bdnz lbl_801B5758 /* 801B57C4 001B2724 C0 44 00 00 */ lfs f2, 0(r4) /* 801B57C8 001B2728 EC 01 00 72 */ fmuls f0, f1, f1 /* 801B57CC 001B272C C0 62 A9 48 */ lfs f3, lbl_805AC668@sda21(r2) /* 801B57D0 001B2730 38 C0 00 00 */ li r6, 0 /* 801B57D4 001B2734 D0 43 00 74 */ stfs f2, 0x74(r3) /* 801B57D8 001B2738 C0 42 A9 4C */ lfs f2, lbl_805AC66C@sda21(r2) /* 801B57DC 001B273C C0 84 00 04 */ lfs f4, 4(r4) /* 801B57E0 001B2740 C0 22 A9 50 */ lfs f1, lbl_805AC670@sda21(r2) /* 801B57E4 001B2744 D0 83 00 78 */ stfs f4, 0x78(r3) /* 801B57E8 001B2748 C0 84 00 08 */ lfs f4, 8(r4) /* 801B57EC 001B274C D0 83 00 7C */ stfs f4, 0x7c(r3) /* 801B57F0 001B2750 C0 84 00 00 */ lfs f4, 0(r4) /* 801B57F4 001B2754 D0 83 00 80 */ stfs f4, 0x80(r3) /* 801B57F8 001B2758 C0 84 00 04 */ lfs f4, 4(r4) /* 801B57FC 001B275C D0 83 00 84 */ stfs f4, 0x84(r3) /* 801B5800 001B2760 C0 84 00 08 */ lfs f4, 8(r4) /* 801B5804 001B2764 D0 83 00 88 */ stfs f4, 0x88(r3) /* 801B5808 001B2768 D0 63 00 8C */ stfs f3, 0x8c(r3) /* 801B580C 001B276C D0 43 00 90 */ stfs f2, 0x90(r3) /* 801B5810 001B2770 D0 23 00 94 */ stfs f1, 0x94(r3) /* 801B5814 001B2774 D0 03 00 98 */ stfs f0, 0x98(r3) /* 801B5818 001B2778 90 C3 00 9C */ stw r6, 0x9c(r3) /* 801B581C 001B277C 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 801B5820 001B2780 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801B5824 001B2784 98 03 00 A0 */ stb r0, 0xa0(r3) /* 801B5828 001B2788 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 801B582C 001B278C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801B5830 001B2790 98 03 00 A0 */ stb r0, 0xa0(r3) /* 801B5834 001B2794 88 03 00 A0 */ lbz r0, 0xa0(r3) /* 801B5838 001B2798 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 801B583C 001B279C 98 03 00 A0 */ stb r0, 0xa0(r3) /* 801B5840 001B27A0 4E 80 00 20 */ blr .global sub_801b5844 sub_801b5844: /* 801B5844 001B27A4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B5848 001B27A8 7C 08 02 A6 */ mflr r0 /* 801B584C 001B27AC 90 01 00 44 */ stw r0, 0x44(r1) /* 801B5850 001B27B0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801B5854 001B27B4 7C 9F 23 78 */ mr r31, r4 /* 801B5858 001B27B8 93 C1 00 38 */ stw r30, 0x38(r1) /* 801B585C 001B27BC 7C 7E 1B 78 */ mr r30, r3 /* 801B5860 001B27C0 93 A1 00 34 */ stw r29, 0x34(r1) /* 801B5864 001B27C4 80 63 00 00 */ lwz r3, 0(r3) /* 801B5868 001B27C8 80 A4 00 00 */ lwz r5, 0(r4) /* 801B586C 001B27CC 7C 03 28 50 */ subf r0, r3, r5 /* 801B5870 001B27D0 7C 00 1E 70 */ srawi r0, r0, 3 /* 801B5874 001B27D4 7C 80 01 94 */ addze r4, r0 /* 801B5878 001B27D8 2C 04 00 01 */ cmpwi r4, 1 /* 801B587C 001B27DC 40 81 01 34 */ ble lbl_801B59B0 /* 801B5880 001B27E0 2C 04 00 14 */ cmpwi r4, 0x14 /* 801B5884 001B27E4 41 81 00 24 */ bgt lbl_801B58A8 /* 801B5888 001B27E8 80 BF 00 00 */ lwz r5, 0(r31) /* 801B588C 001B27EC 38 61 00 24 */ addi r3, r1, 0x24 /* 801B5890 001B27F0 80 1E 00 00 */ lwz r0, 0(r30) /* 801B5894 001B27F4 38 81 00 20 */ addi r4, r1, 0x20 /* 801B5898 001B27F8 90 A1 00 20 */ stw r5, 0x20(r1) /* 801B589C 001B27FC 90 01 00 24 */ stw r0, 0x24(r1) /* 801B58A0 001B2800 48 00 02 99 */ bl sub_801b5b38 /* 801B58A4 001B2804 48 00 01 0C */ b lbl_801B59B0 lbl_801B58A8: /* 801B58A8 001B2808 54 80 0F FE */ srwi r0, r4, 0x1f /* 801B58AC 001B280C 38 A5 FF F8 */ addi r5, r5, -8 /* 801B58B0 001B2810 7C 00 22 14 */ add r0, r0, r4 /* 801B58B4 001B2814 90 A1 00 2C */ stw r5, 0x2c(r1) /* 801B58B8 001B2818 7C 00 0E 70 */ srawi r0, r0, 1 /* 801B58BC 001B281C 54 00 18 38 */ slwi r0, r0, 3 /* 801B58C0 001B2820 7F A3 02 14 */ add r29, r3, r0 /* 801B58C4 001B2824 7F A4 EB 78 */ mr r4, r29 /* 801B58C8 001B2828 48 00 01 F9 */ bl sub_801b5ac0 /* 801B58CC 001B282C 80 9E 00 00 */ lwz r4, 0(r30) /* 801B58D0 001B2830 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801B58D4 001B2834 38 84 00 08 */ addi r4, r4, 8 /* 801B58D8 001B2838 C0 3D 00 00 */ lfs f1, 0(r29) /* 801B58DC 001B283C 38 03 FF F8 */ addi r0, r3, -8 /* 801B58E0 001B2840 90 81 00 28 */ stw r4, 0x28(r1) /* 801B58E4 001B2844 90 01 00 2C */ stw r0, 0x2c(r1) /* 801B58E8 001B2848 48 00 00 10 */ b lbl_801B58F8 lbl_801B58EC: /* 801B58EC 001B284C 80 61 00 28 */ lwz r3, 0x28(r1) /* 801B58F0 001B2850 38 03 00 08 */ addi r0, r3, 8 /* 801B58F4 001B2854 90 01 00 28 */ stw r0, 0x28(r1) lbl_801B58F8: /* 801B58F8 001B2858 80 61 00 28 */ lwz r3, 0x28(r1) /* 801B58FC 001B285C C0 03 00 00 */ lfs f0, 0(r3) /* 801B5900 001B2860 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801B5904 001B2864 41 80 FF E8 */ blt lbl_801B58EC /* 801B5908 001B2868 48 00 00 10 */ b lbl_801B5918 lbl_801B590C: /* 801B590C 001B286C 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801B5910 001B2870 38 03 FF F8 */ addi r0, r3, -8 /* 801B5914 001B2874 90 01 00 2C */ stw r0, 0x2c(r1) lbl_801B5918: /* 801B5918 001B2878 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801B591C 001B287C C0 03 00 00 */ lfs f0, 0(r3) /* 801B5920 001B2880 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B5924 001B2884 41 80 FF E8 */ blt lbl_801B590C /* 801B5928 001B2888 80 01 00 28 */ lwz r0, 0x28(r1) /* 801B592C 001B288C 7C 00 18 40 */ cmplw r0, r3 /* 801B5930 001B2890 40 80 00 48 */ bge lbl_801B5978 /* 801B5934 001B2894 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801B5938 001B2898 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 801B593C 001B289C C0 45 00 00 */ lfs f2, 0(r5) /* 801B5940 001B28A0 38 65 00 08 */ addi r3, r5, 8 /* 801B5944 001B28A4 88 E5 00 04 */ lbz r7, 4(r5) /* 801B5948 001B28A8 38 06 FF F8 */ addi r0, r6, -8 /* 801B594C 001B28AC C0 06 00 00 */ lfs f0, 0(r6) /* 801B5950 001B28B0 90 C1 00 18 */ stw r6, 0x18(r1) /* 801B5954 001B28B4 D0 05 00 00 */ stfs f0, 0(r5) /* 801B5958 001B28B8 88 86 00 04 */ lbz r4, 4(r6) /* 801B595C 001B28BC 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801B5960 001B28C0 98 85 00 04 */ stb r4, 4(r5) /* 801B5964 001B28C4 D0 46 00 00 */ stfs f2, 0(r6) /* 801B5968 001B28C8 98 E6 00 04 */ stb r7, 4(r6) /* 801B596C 001B28CC 90 61 00 28 */ stw r3, 0x28(r1) /* 801B5970 001B28D0 90 01 00 2C */ stw r0, 0x2c(r1) /* 801B5974 001B28D4 4B FF FF 84 */ b lbl_801B58F8 lbl_801B5978: /* 801B5978 001B28D8 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801B597C 001B28DC 38 61 00 14 */ addi r3, r1, 0x14 /* 801B5980 001B28E0 80 1E 00 00 */ lwz r0, 0(r30) /* 801B5984 001B28E4 38 81 00 10 */ addi r4, r1, 0x10 /* 801B5988 001B28E8 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B598C 001B28EC 90 01 00 14 */ stw r0, 0x14(r1) /* 801B5990 001B28F0 4B FF FE B5 */ bl sub_801b5844 /* 801B5994 001B28F4 80 BF 00 00 */ lwz r5, 0(r31) /* 801B5998 001B28F8 38 61 00 0C */ addi r3, r1, 0xc /* 801B599C 001B28FC 80 01 00 28 */ lwz r0, 0x28(r1) /* 801B59A0 001B2900 38 81 00 08 */ addi r4, r1, 8 /* 801B59A4 001B2904 90 A1 00 08 */ stw r5, 8(r1) /* 801B59A8 001B2908 90 01 00 0C */ stw r0, 0xc(r1) /* 801B59AC 001B290C 4B FF FE 99 */ bl sub_801b5844 lbl_801B59B0: /* 801B59B0 001B2910 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B59B4 001B2914 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801B59B8 001B2918 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801B59BC 001B291C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801B59C0 001B2920 7C 08 03 A6 */ mtlr r0 /* 801B59C4 001B2924 38 21 00 40 */ addi r1, r1, 0x40 /* 801B59C8 001B2928 4E 80 00 20 */ blr .global sub_801b59cc sub_801b59cc: /* 801B59CC 001B292C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B59D0 001B2930 7C 08 02 A6 */ mflr r0 /* 801B59D4 001B2934 90 01 00 34 */ stw r0, 0x34(r1) /* 801B59D8 001B2938 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B59DC 001B293C 7C 9F 23 78 */ mr r31, r4 /* 801B59E0 001B2940 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B59E4 001B2944 7C 7E 1B 78 */ mr r30, r3 /* 801B59E8 001B2948 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B59EC 001B294C 80 03 00 08 */ lwz r0, 8(r3) /* 801B59F0 001B2950 7C 1F 00 00 */ cmpw r31, r0 /* 801B59F4 001B2954 40 81 00 B0 */ ble lbl_801B5AA4 /* 801B59F8 001B2958 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c /* 801B59FC 001B295C 40 82 00 0C */ bne lbl_801B5A08 /* 801B5A00 001B2960 3B A0 00 00 */ li r29, 0 /* 801B5A04 001B2964 48 00 00 18 */ b lbl_801B5A1C lbl_801B5A08: /* 801B5A08 001B2968 3C 80 80 3D */ lis r4, lbl_803D1638@ha /* 801B5A0C 001B296C 38 A0 00 00 */ li r5, 0 /* 801B5A10 001B2970 38 84 16 38 */ addi r4, r4, lbl_803D1638@l /* 801B5A14 001B2974 48 15 FE 05 */ bl __nwa__FUlPCcPCc /* 801B5A18 001B2978 7C 7D 1B 78 */ mr r29, r3 lbl_801B5A1C: /* 801B5A1C 001B297C 80 1E 00 04 */ lwz r0, 4(r30) /* 801B5A20 001B2980 7F A4 EB 78 */ mr r4, r29 /* 801B5A24 001B2984 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801B5A28 001B2988 54 00 18 38 */ slwi r0, r0, 3 /* 801B5A2C 001B298C 7C 65 02 14 */ add r3, r5, r0 /* 801B5A30 001B2990 90 A1 00 10 */ stw r5, 0x10(r1) /* 801B5A34 001B2994 90 61 00 08 */ stw r3, 8(r1) /* 801B5A38 001B2998 90 61 00 0C */ stw r3, 0xc(r1) /* 801B5A3C 001B299C 90 A1 00 14 */ stw r5, 0x14(r1) /* 801B5A40 001B29A0 48 00 00 24 */ b lbl_801B5A64 lbl_801B5A44: /* 801B5A44 001B29A4 28 04 00 00 */ cmplwi r4, 0 /* 801B5A48 001B29A8 41 82 00 14 */ beq lbl_801B5A5C /* 801B5A4C 001B29AC C0 05 00 00 */ lfs f0, 0(r5) /* 801B5A50 001B29B0 D0 04 00 00 */ stfs f0, 0(r4) /* 801B5A54 001B29B4 88 05 00 04 */ lbz r0, 4(r5) /* 801B5A58 001B29B8 98 04 00 04 */ stb r0, 4(r4) lbl_801B5A5C: /* 801B5A5C 001B29BC 38 84 00 08 */ addi r4, r4, 8 /* 801B5A60 001B29C0 38 A5 00 08 */ addi r5, r5, 8 lbl_801B5A64: /* 801B5A64 001B29C4 7C 05 18 40 */ cmplw r5, r3 /* 801B5A68 001B29C8 40 82 FF DC */ bne lbl_801B5A44 /* 801B5A6C 001B29CC 80 1E 00 04 */ lwz r0, 4(r30) /* 801B5A70 001B29D0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801B5A74 001B29D4 54 00 18 38 */ slwi r0, r0, 3 /* 801B5A78 001B29D8 7C 64 1B 78 */ mr r4, r3 /* 801B5A7C 001B29DC 7C 03 02 14 */ add r0, r3, r0 /* 801B5A80 001B29E0 48 00 00 08 */ b lbl_801B5A88 lbl_801B5A84: /* 801B5A84 001B29E4 38 84 00 08 */ addi r4, r4, 8 lbl_801B5A88: /* 801B5A88 001B29E8 7C 04 00 40 */ cmplw r4, r0 /* 801B5A8C 001B29EC 40 82 FF F8 */ bne lbl_801B5A84 /* 801B5A90 001B29F0 28 03 00 00 */ cmplwi r3, 0 /* 801B5A94 001B29F4 41 82 00 08 */ beq lbl_801B5A9C /* 801B5A98 001B29F8 48 15 FE 99 */ bl Free__7CMemoryFPCv lbl_801B5A9C: /* 801B5A9C 001B29FC 93 BE 00 0C */ stw r29, 0xc(r30) /* 801B5AA0 001B2A00 93 FE 00 08 */ stw r31, 8(r30) lbl_801B5AA4: /* 801B5AA4 001B2A04 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B5AA8 001B2A08 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B5AAC 001B2A0C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B5AB0 001B2A10 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B5AB4 001B2A14 7C 08 03 A6 */ mtlr r0 /* 801B5AB8 001B2A18 38 21 00 30 */ addi r1, r1, 0x30 /* 801B5ABC 001B2A1C 4E 80 00 20 */ blr .global sub_801b5ac0 sub_801b5ac0: /* 801B5AC0 001B2A20 C0 24 00 00 */ lfs f1, 0(r4) /* 801B5AC4 001B2A24 C0 03 00 00 */ lfs f0, 0(r3) /* 801B5AC8 001B2A28 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B5ACC 001B2A2C 40 80 00 1C */ bge lbl_801B5AE8 /* 801B5AD0 001B2A30 88 C3 00 04 */ lbz r6, 4(r3) /* 801B5AD4 001B2A34 D0 23 00 00 */ stfs f1, 0(r3) /* 801B5AD8 001B2A38 88 04 00 04 */ lbz r0, 4(r4) /* 801B5ADC 001B2A3C 98 03 00 04 */ stb r0, 4(r3) /* 801B5AE0 001B2A40 D0 04 00 00 */ stfs f0, 0(r4) /* 801B5AE4 001B2A44 98 C4 00 04 */ stb r6, 4(r4) lbl_801B5AE8: /* 801B5AE8 001B2A48 C0 05 00 00 */ lfs f0, 0(r5) /* 801B5AEC 001B2A4C C0 24 00 00 */ lfs f1, 0(r4) /* 801B5AF0 001B2A50 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801B5AF4 001B2A54 4C 80 00 20 */ bgelr /* 801B5AF8 001B2A58 88 C5 00 04 */ lbz r6, 4(r5) /* 801B5AFC 001B2A5C D0 25 00 00 */ stfs f1, 0(r5) /* 801B5B00 001B2A60 88 04 00 04 */ lbz r0, 4(r4) /* 801B5B04 001B2A64 98 05 00 04 */ stb r0, 4(r5) /* 801B5B08 001B2A68 C0 23 00 00 */ lfs f1, 0(r3) /* 801B5B0C 001B2A6C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801B5B10 001B2A70 40 80 00 1C */ bge lbl_801B5B2C /* 801B5B14 001B2A74 D0 24 00 00 */ stfs f1, 0(r4) /* 801B5B18 001B2A78 88 03 00 04 */ lbz r0, 4(r3) /* 801B5B1C 001B2A7C 98 04 00 04 */ stb r0, 4(r4) /* 801B5B20 001B2A80 D0 03 00 00 */ stfs f0, 0(r3) /* 801B5B24 001B2A84 98 C3 00 04 */ stb r6, 4(r3) /* 801B5B28 001B2A88 4E 80 00 20 */ blr lbl_801B5B2C: /* 801B5B2C 001B2A8C D0 04 00 00 */ stfs f0, 0(r4) /* 801B5B30 001B2A90 98 C4 00 04 */ stb r6, 4(r4) /* 801B5B34 001B2A94 4E 80 00 20 */ blr .global sub_801b5b38 sub_801b5b38: /* 801B5B38 001B2A98 80 A3 00 00 */ lwz r5, 0(r3) /* 801B5B3C 001B2A9C 38 A5 00 08 */ addi r5, r5, 8 /* 801B5B40 001B2AA0 48 00 00 54 */ b lbl_801B5B94 lbl_801B5B44: /* 801B5B44 001B2AA4 C0 25 00 00 */ lfs f1, 0(r5) /* 801B5B48 001B2AA8 7C A8 2B 78 */ mr r8, r5 /* 801B5B4C 001B2AAC 88 C5 00 04 */ lbz r6, 4(r5) /* 801B5B50 001B2AB0 38 E5 FF F8 */ addi r7, r5, -8 /* 801B5B54 001B2AB4 48 00 00 1C */ b lbl_801B5B70 lbl_801B5B58: /* 801B5B58 001B2AB8 C0 07 00 00 */ lfs f0, 0(r7) /* 801B5B5C 001B2ABC D0 08 00 00 */ stfs f0, 0(r8) /* 801B5B60 001B2AC0 88 07 00 04 */ lbz r0, 4(r7) /* 801B5B64 001B2AC4 38 E7 FF F8 */ addi r7, r7, -8 /* 801B5B68 001B2AC8 98 08 00 04 */ stb r0, 4(r8) /* 801B5B6C 001B2ACC 39 08 FF F8 */ addi r8, r8, -8 lbl_801B5B70: /* 801B5B70 001B2AD0 80 03 00 00 */ lwz r0, 0(r3) /* 801B5B74 001B2AD4 7C 00 40 40 */ cmplw r0, r8 /* 801B5B78 001B2AD8 40 80 00 10 */ bge lbl_801B5B88 /* 801B5B7C 001B2ADC C0 07 00 00 */ lfs f0, 0(r7) /* 801B5B80 001B2AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B5B84 001B2AE4 41 80 FF D4 */ blt lbl_801B5B58 lbl_801B5B88: /* 801B5B88 001B2AE8 D0 28 00 00 */ stfs f1, 0(r8) /* 801B5B8C 001B2AEC 38 A5 00 08 */ addi r5, r5, 8 /* 801B5B90 001B2AF0 98 C8 00 04 */ stb r6, 4(r8) lbl_801B5B94: /* 801B5B94 001B2AF4 80 04 00 00 */ lwz r0, 0(r4) /* 801B5B98 001B2AF8 7C 05 00 40 */ cmplw r5, r0 /* 801B5B9C 001B2AFC 41 80 FF A8 */ blt lbl_801B5B44 .global sub_801b5ba0 sub_801b5ba0: /* 801B5BA0 001B2B00 4E 80 00 20 */ blr .global SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere: /* 801B5BA4 001B2B04 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 801B5BA8 001B2B08 7C 08 02 A6 */ mflr r0 /* 801B5BAC 001B2B0C 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 801B5BB0 001B2B10 DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 801B5BB4 001B2B14 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 801B5BB8 001B2B18 DB C1 01 90 */ stfd f30, 0x190(r1) /* 801B5BBC 001B2B1C F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 801B5BC0 001B2B20 DB A1 01 80 */ stfd f29, 0x180(r1) /* 801B5BC4 001B2B24 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 801B5BC8 001B2B28 DB 81 01 70 */ stfd f28, 0x170(r1) /* 801B5BCC 001B2B2C F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 801B5BD0 001B2B30 DB 61 01 60 */ stfd f27, 0x160(r1) /* 801B5BD4 001B2B34 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 801B5BD8 001B2B38 DB 41 01 50 */ stfd f26, 0x150(r1) /* 801B5BDC 001B2B3C F3 41 01 58 */ psq_st f26, 344(r1), 0, qr0 /* 801B5BE0 001B2B40 BE A1 01 24 */ stmw r21, 0x124(r1) /* 801B5BE4 001B2B44 7C B8 2B 78 */ mr r24, r5 /* 801B5BE8 001B2B48 7C D9 33 78 */ mr r25, r6 /* 801B5BEC 001B2B4C 7C FA 3B 78 */ mr r26, r7 /* 801B5BF0 001B2B50 7C 97 23 78 */ mr r23, r4 /* 801B5BF4 001B2B54 7D 1B 43 78 */ mr r27, r8 /* 801B5BF8 001B2B58 7C 76 1B 78 */ mr r22, r3 /* 801B5BFC 001B2B5C 7D 3C 4B 78 */ mr r28, r9 /* 801B5C00 001B2B60 7F 04 C3 78 */ mr r4, r24 /* 801B5C04 001B2B64 7F 63 DB 78 */ mr r3, r27 /* 801B5C08 001B2B68 7F 25 CB 78 */ mr r5, r25 /* 801B5C0C 001B2B6C 7F 46 D3 78 */ mr r6, r26 /* 801B5C10 001B2B70 48 11 A8 31 */ bl TriSphereOverlap__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3fRC9CVector3f /* 801B5C14 001B2B74 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801B5C18 001B2B78 28 00 00 01 */ cmplwi r0, 1 /* 801B5C1C 001B2B7C 40 82 05 9C */ bne lbl_801B61B8 /* 801B5C20 001B2B80 7F 83 E3 78 */ mr r3, r28 /* 801B5C24 001B2B84 7F 04 C3 78 */ mr r4, r24 /* 801B5C28 001B2B88 48 00 0F 9D */ bl pointInSphere__FRC7CSphereRC9CVector3f /* 801B5C2C 001B2B8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5C30 001B2B90 41 82 00 34 */ beq lbl_801B5C64 /* 801B5C34 001B2B94 7F 83 E3 78 */ mr r3, r28 /* 801B5C38 001B2B98 7F 24 CB 78 */ mr r4, r25 /* 801B5C3C 001B2B9C 48 00 0F 89 */ bl pointInSphere__FRC7CSphereRC9CVector3f /* 801B5C40 001B2BA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5C44 001B2BA4 41 82 00 20 */ beq lbl_801B5C64 /* 801B5C48 001B2BA8 7F 83 E3 78 */ mr r3, r28 /* 801B5C4C 001B2BAC 7F 44 D3 78 */ mr r4, r26 /* 801B5C50 001B2BB0 48 00 0F 75 */ bl pointInSphere__FRC7CSphereRC9CVector3f /* 801B5C54 001B2BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5C58 001B2BB8 41 82 00 0C */ beq lbl_801B5C64 /* 801B5C5C 001B2BBC 38 60 00 00 */ li r3, 0 /* 801B5C60 001B2BC0 48 00 05 5C */ b lbl_801B61BC lbl_801B5C64: /* 801B5C64 001B2BC4 C0 59 00 00 */ lfs f2, 0(r25) /* 801B5C68 001B2BC8 38 61 00 74 */ addi r3, r1, 0x74 /* 801B5C6C 001B2BCC C0 78 00 00 */ lfs f3, 0(r24) /* 801B5C70 001B2BD0 C0 1A 00 00 */ lfs f0, 0(r26) /* 801B5C74 001B2BD4 C0 39 00 04 */ lfs f1, 4(r25) /* 801B5C78 001B2BD8 EC A2 18 28 */ fsubs f5, f2, f3 /* 801B5C7C 001B2BDC C0 58 00 04 */ lfs f2, 4(r24) /* 801B5C80 001B2BE0 ED 00 18 28 */ fsubs f8, f0, f3 /* 801B5C84 001B2BE4 C0 1A 00 04 */ lfs f0, 4(r26) /* 801B5C88 001B2BE8 EC 81 10 28 */ fsubs f4, f1, f2 /* 801B5C8C 001B2BEC C0 39 00 08 */ lfs f1, 8(r25) /* 801B5C90 001B2BF0 C0 D8 00 08 */ lfs f6, 8(r24) /* 801B5C94 001B2BF4 EC E0 10 28 */ fsubs f7, f0, f2 /* 801B5C98 001B2BF8 C0 1A 00 08 */ lfs f0, 8(r26) /* 801B5C9C 001B2BFC EC 61 30 28 */ fsubs f3, f1, f6 /* 801B5CA0 001B2C00 EC C0 30 28 */ fsubs f6, f0, f6 /* 801B5CA4 001B2C04 EC 08 01 32 */ fmuls f0, f8, f4 /* 801B5CA8 001B2C08 EC 47 00 F2 */ fmuls f2, f7, f3 /* 801B5CAC 001B2C0C EC 26 01 72 */ fmuls f1, f6, f5 /* 801B5CB0 001B2C10 EF 85 01 F8 */ fmsubs f28, f5, f7, f0 /* 801B5CB4 001B2C14 EF C4 11 B8 */ fmsubs f30, f4, f6, f2 /* 801B5CB8 001B2C18 EF A3 0A 38 */ fmsubs f29, f3, f8, f1 /* 801B5CBC 001B2C1C D3 81 00 7C */ stfs f28, 0x7c(r1) /* 801B5CC0 001B2C20 D3 C1 00 74 */ stfs f30, 0x74(r1) /* 801B5CC4 001B2C24 D3 A1 00 78 */ stfs f29, 0x78(r1) /* 801B5CC8 001B2C28 48 15 EB F1 */ bl Magnitude__9CVector3fCFv /* 801B5CCC 001B2C2C C3 E2 A9 68 */ lfs f31, lbl_805AC688@sda21(r2) /* 801B5CD0 001B2C30 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801B5CD4 001B2C34 40 81 00 A8 */ ble lbl_801B5D7C /* 801B5CD8 001B2C38 C0 02 A9 6C */ lfs f0, lbl_805AC68C@sda21(r2) /* 801B5CDC 001B2C3C 7F 04 C3 78 */ mr r4, r24 /* 801B5CE0 001B2C40 7F 25 CB 78 */ mr r5, r25 /* 801B5CE4 001B2C44 7F 46 D3 78 */ mr r6, r26 /* 801B5CE8 001B2C48 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801B5CEC 001B2C4C 38 61 00 68 */ addi r3, r1, 0x68 /* 801B5CF0 001B2C50 38 E1 00 5C */ addi r7, r1, 0x5c /* 801B5CF4 001B2C54 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801B5CF8 001B2C58 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801B5CFC 001B2C5C 48 15 F1 A1 */ bl BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f /* 801B5D00 001B2C60 C0 41 00 68 */ lfs f2, 0x68(r1) /* 801B5D04 001B2C64 7E C3 B3 78 */ mr r3, r22 /* 801B5D08 001B2C68 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 801B5D0C 001B2C6C 7E E4 BB 78 */ mr r4, r23 /* 801B5D10 001B2C70 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801B5D14 001B2C74 7F 05 C3 78 */ mr r5, r24 /* 801B5D18 001B2C78 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801B5D1C 001B2C7C 7F 26 CB 78 */ mr r6, r25 /* 801B5D20 001B2C80 7F 68 DB 78 */ mr r8, r27 /* 801B5D24 001B2C84 7F 89 E3 78 */ mr r9, r28 /* 801B5D28 001B2C88 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801B5D2C 001B2C8C 38 E1 00 A4 */ addi r7, r1, 0xa4 /* 801B5D30 001B2C90 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801B5D34 001B2C94 4B FF FE 71 */ bl SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere /* 801B5D38 001B2C98 7E C3 B3 78 */ mr r3, r22 /* 801B5D3C 001B2C9C 7E E4 BB 78 */ mr r4, r23 /* 801B5D40 001B2CA0 7F 25 CB 78 */ mr r5, r25 /* 801B5D44 001B2CA4 7F 46 D3 78 */ mr r6, r26 /* 801B5D48 001B2CA8 7F 68 DB 78 */ mr r8, r27 /* 801B5D4C 001B2CAC 7F 89 E3 78 */ mr r9, r28 /* 801B5D50 001B2CB0 38 E1 00 A4 */ addi r7, r1, 0xa4 /* 801B5D54 001B2CB4 4B FF FE 51 */ bl SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere /* 801B5D58 001B2CB8 7E C3 B3 78 */ mr r3, r22 /* 801B5D5C 001B2CBC 7E E4 BB 78 */ mr r4, r23 /* 801B5D60 001B2CC0 7F 45 D3 78 */ mr r5, r26 /* 801B5D64 001B2CC4 7F 06 C3 78 */ mr r6, r24 /* 801B5D68 001B2CC8 7F 68 DB 78 */ mr r8, r27 /* 801B5D6C 001B2CCC 7F 89 E3 78 */ mr r9, r28 /* 801B5D70 001B2CD0 38 E1 00 A4 */ addi r7, r1, 0xa4 /* 801B5D74 001B2CD4 4B FF FE 31 */ bl SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere /* 801B5D78 001B2CD8 48 00 04 40 */ b lbl_801B61B8 lbl_801B5D7C: /* 801B5D7C 001B2CDC C0 16 01 04 */ lfs f0, 0x104(r22) /* 801B5D80 001B2CE0 3C 00 43 30 */ lis r0, 0x4330 /* 801B5D84 001B2CE4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B5D88 001B2CE8 90 01 01 18 */ stw r0, 0x118(r1) /* 801B5D8C 001B2CEC EC 00 08 2A */ fadds f0, f0, f1 /* 801B5D90 001B2CF0 C8 22 A9 78 */ lfd f1, lbl_805AC698@sda21(r2) /* 801B5D94 001B2CF4 3B E3 66 A0 */ addi r31, r3, skZero3f@l /* 801B5D98 001B2CF8 3B A0 00 00 */ li r29, 0 /* 801B5D9C 001B2CFC D0 16 01 04 */ stfs f0, 0x104(r22) /* 801B5DA0 001B2D00 C0 56 01 04 */ lfs f2, 0x104(r22) /* 801B5DA4 001B2D04 FC 00 10 1E */ fctiwz f0, f2 /* 801B5DA8 001B2D08 D8 01 01 10 */ stfd f0, 0x110(r1) /* 801B5DAC 001B2D0C 83 C1 01 14 */ lwz r30, 0x114(r1) /* 801B5DB0 001B2D10 6F C0 80 00 */ xoris r0, r30, 0x8000 /* 801B5DB4 001B2D14 90 01 01 1C */ stw r0, 0x11c(r1) /* 801B5DB8 001B2D18 C8 01 01 18 */ lfd f0, 0x118(r1) /* 801B5DBC 001B2D1C EC 00 08 28 */ fsubs f0, f0, f1 /* 801B5DC0 001B2D20 EC 02 00 28 */ fsubs f0, f2, f0 /* 801B5DC4 001B2D24 D0 16 01 04 */ stfs f0, 0x104(r22) /* 801B5DC8 001B2D28 48 00 03 E8 */ b lbl_801B61B0 lbl_801B5DCC: /* 801B5DCC 001B2D2C 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B5DD0 001B2D30 48 15 C7 0D */ bl Float__9CRandom16Fv /* 801B5DD4 001B2D34 FF 40 08 90 */ fmr f26, f1 /* 801B5DD8 001B2D38 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B5DDC 001B2D3C 48 15 C7 01 */ bl Float__9CRandom16Fv /* 801B5DE0 001B2D40 FF 60 08 90 */ fmr f27, f1 /* 801B5DE4 001B2D44 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B5DE8 001B2D48 48 15 C6 F5 */ bl Float__9CRandom16Fv /* 801B5DEC 001B2D4C EC 1A D8 2A */ fadds f0, f26, f27 /* 801B5DF0 001B2D50 7F 04 C3 78 */ mr r4, r24 /* 801B5DF4 001B2D54 7F 25 CB 78 */ mr r5, r25 /* 801B5DF8 001B2D58 7F 46 D3 78 */ mr r6, r26 /* 801B5DFC 001B2D5C 38 61 00 50 */ addi r3, r1, 0x50 /* 801B5E00 001B2D60 38 E1 00 44 */ addi r7, r1, 0x44 /* 801B5E04 001B2D64 EC 01 00 2A */ fadds f0, f1, f0 /* 801B5E08 001B2D68 EC 7F 00 24 */ fdivs f3, f31, f0 /* 801B5E0C 001B2D6C EC 1A 00 F2 */ fmuls f0, f26, f3 /* 801B5E10 001B2D70 EC 5B 00 F2 */ fmuls f2, f27, f3 /* 801B5E14 001B2D74 EC 21 00 F2 */ fmuls f1, f1, f3 /* 801B5E18 001B2D78 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801B5E1C 001B2D7C D0 41 00 48 */ stfs f2, 0x48(r1) /* 801B5E20 001B2D80 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801B5E24 001B2D84 48 15 F0 79 */ bl BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f /* 801B5E28 001B2D88 C0 41 00 50 */ lfs f2, 0x50(r1) /* 801B5E2C 001B2D8C 7F 83 E3 78 */ mr r3, r28 /* 801B5E30 001B2D90 C0 21 00 54 */ lfs f1, 0x54(r1) /* 801B5E34 001B2D94 38 81 00 98 */ addi r4, r1, 0x98 /* 801B5E38 001B2D98 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801B5E3C 001B2D9C D0 41 00 98 */ stfs f2, 0x98(r1) /* 801B5E40 001B2DA0 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801B5E44 001B2DA4 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801B5E48 001B2DA8 48 00 0D 7D */ bl pointInSphere__FRC7CSphereRC9CVector3f /* 801B5E4C 001B2DAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5E50 001B2DB0 40 82 03 5C */ bne lbl_801B61AC /* 801B5E54 001B2DB4 7F 63 DB 78 */ mr r3, r27 /* 801B5E58 001B2DB8 38 81 00 98 */ addi r4, r1, 0x98 /* 801B5E5C 001B2DBC 48 00 0D 69 */ bl pointInSphere__FRC7CSphereRC9CVector3f /* 801B5E60 001B2DC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5E64 001B2DC4 41 82 03 48 */ beq lbl_801B61AC /* 801B5E68 001B2DC8 38 76 01 18 */ addi r3, r22, 0x118 /* 801B5E6C 001B2DCC 38 81 00 98 */ addi r4, r1, 0x98 /* 801B5E70 001B2DD0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801B5E74 001B2DD4 38 C1 00 0C */ addi r6, r1, 0xc /* 801B5E78 001B2DD8 38 E1 00 08 */ addi r7, r1, 8 /* 801B5E7C 001B2DDC 48 00 23 FD */ bl GetCoords__11CMarkerGridCFRC9CVector3fRUiRUiRUi /* 801B5E80 001B2DE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5E84 001B2DE4 41 82 03 28 */ beq lbl_801B61AC /* 801B5E88 001B2DE8 80 81 00 10 */ lwz r4, 0x10(r1) /* 801B5E8C 001B2DEC 38 76 01 18 */ addi r3, r22, 0x118 /* 801B5E90 001B2DF0 80 A1 00 0C */ lwz r5, 0xc(r1) /* 801B5E94 001B2DF4 80 C1 00 08 */ lwz r6, 8(r1) /* 801B5E98 001B2DF8 48 00 24 99 */ bl GetValue__11CMarkerGridCFUiUiUi /* 801B5E9C 001B2DFC 54 60 07 FF */ clrlwi. r0, r3, 0x1f /* 801B5EA0 001B2E00 40 82 03 0C */ bne lbl_801B61AC /* 801B5EA4 001B2E04 80 81 00 10 */ lwz r4, 0x10(r1) /* 801B5EA8 001B2E08 38 76 01 18 */ addi r3, r22, 0x118 /* 801B5EAC 001B2E0C 80 A1 00 0C */ lwz r5, 0xc(r1) /* 801B5EB0 001B2E10 38 E0 00 01 */ li r7, 1 /* 801B5EB4 001B2E14 80 C1 00 08 */ lwz r6, 8(r1) /* 801B5EB8 001B2E18 48 00 23 85 */ bl SetValue__11CMarkerGridFUiUiUiUi /* 801B5EBC 001B2E1C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801B5EC0 001B2E20 C0 3F 00 04 */ lfs f1, 4(r31) /* 801B5EC4 001B2E24 C0 1F 00 08 */ lfs f0, 8(r31) /* 801B5EC8 001B2E28 38 80 00 00 */ li r4, 0 /* 801B5ECC 001B2E2C C0 43 66 A0 */ lfs f2, skZero3f@l(r3) /* 801B5ED0 001B2E30 38 A0 00 02 */ li r5, 2 /* 801B5ED4 001B2E34 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801B5ED8 001B2E38 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801B5EDC 001B2E3C D0 01 00 94 */ stfs f0, 0x94(r1) /* 801B5EE0 001B2E40 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B5EE4 001B2E44 48 15 C6 B1 */ bl Range__9CRandom16Fii /* 801B5EE8 001B2E48 2C 03 00 01 */ cmpwi r3, 1 /* 801B5EEC 001B2E4C 41 82 00 94 */ beq lbl_801B5F80 /* 801B5EF0 001B2E50 40 80 00 10 */ bge lbl_801B5F00 /* 801B5EF4 001B2E54 2C 03 00 00 */ cmpwi r3, 0 /* 801B5EF8 001B2E58 40 80 00 14 */ bge lbl_801B5F0C /* 801B5EFC 001B2E5C 48 00 01 68 */ b lbl_801B6064 lbl_801B5F00: /* 801B5F00 001B2E60 2C 03 00 03 */ cmpwi r3, 3 /* 801B5F04 001B2E64 40 80 01 60 */ bge lbl_801B6064 /* 801B5F08 001B2E68 48 00 00 EC */ b lbl_801B5FF4 lbl_801B5F0C: /* 801B5F0C 001B2E6C C0 38 00 04 */ lfs f1, 4(r24) /* 801B5F10 001B2E70 38 61 00 8C */ addi r3, r1, 0x8c /* 801B5F14 001B2E74 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B5F18 001B2E78 C0 78 00 08 */ lfs f3, 8(r24) /* 801B5F1C 001B2E7C C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801B5F20 001B2E80 EC 81 00 28 */ fsubs f4, f1, f0 /* 801B5F24 001B2E84 C0 38 00 00 */ lfs f1, 0(r24) /* 801B5F28 001B2E88 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B5F2C 001B2E8C EC 43 10 28 */ fsubs f2, f3, f2 /* 801B5F30 001B2E90 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801B5F34 001B2E94 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B5F38 001B2E98 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B5F3C 001B2E9C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801B5F40 001B2EA0 48 15 E7 B9 */ bl CanBeNormalized__9CVector3fCFv /* 801B5F44 001B2EA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5F48 001B2EA8 40 82 01 1C */ bne lbl_801B6064 /* 801B5F4C 001B2EAC C0 39 00 04 */ lfs f1, 4(r25) /* 801B5F50 001B2EB0 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B5F54 001B2EB4 C0 79 00 08 */ lfs f3, 8(r25) /* 801B5F58 001B2EB8 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801B5F5C 001B2EBC EC 81 00 28 */ fsubs f4, f1, f0 /* 801B5F60 001B2EC0 C0 39 00 00 */ lfs f1, 0(r25) /* 801B5F64 001B2EC4 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B5F68 001B2EC8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801B5F6C 001B2ECC D0 81 00 90 */ stfs f4, 0x90(r1) /* 801B5F70 001B2ED0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B5F74 001B2ED4 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B5F78 001B2ED8 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801B5F7C 001B2EDC 48 00 00 E8 */ b lbl_801B6064 lbl_801B5F80: /* 801B5F80 001B2EE0 C0 39 00 04 */ lfs f1, 4(r25) /* 801B5F84 001B2EE4 38 61 00 8C */ addi r3, r1, 0x8c /* 801B5F88 001B2EE8 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B5F8C 001B2EEC C0 79 00 08 */ lfs f3, 8(r25) /* 801B5F90 001B2EF0 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801B5F94 001B2EF4 EC 81 00 28 */ fsubs f4, f1, f0 /* 801B5F98 001B2EF8 C0 39 00 00 */ lfs f1, 0(r25) /* 801B5F9C 001B2EFC C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B5FA0 001B2F00 EC 43 10 28 */ fsubs f2, f3, f2 /* 801B5FA4 001B2F04 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801B5FA8 001B2F08 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B5FAC 001B2F0C D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B5FB0 001B2F10 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801B5FB4 001B2F14 48 15 E7 45 */ bl CanBeNormalized__9CVector3fCFv /* 801B5FB8 001B2F18 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B5FBC 001B2F1C 40 82 00 A8 */ bne lbl_801B6064 /* 801B5FC0 001B2F20 C0 3A 00 04 */ lfs f1, 4(r26) /* 801B5FC4 001B2F24 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B5FC8 001B2F28 C0 7A 00 08 */ lfs f3, 8(r26) /* 801B5FCC 001B2F2C C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801B5FD0 001B2F30 EC 81 00 28 */ fsubs f4, f1, f0 /* 801B5FD4 001B2F34 C0 3A 00 00 */ lfs f1, 0(r26) /* 801B5FD8 001B2F38 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B5FDC 001B2F3C EC 43 10 28 */ fsubs f2, f3, f2 /* 801B5FE0 001B2F40 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801B5FE4 001B2F44 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B5FE8 001B2F48 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B5FEC 001B2F4C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801B5FF0 001B2F50 48 00 00 74 */ b lbl_801B6064 lbl_801B5FF4: /* 801B5FF4 001B2F54 C0 3A 00 04 */ lfs f1, 4(r26) /* 801B5FF8 001B2F58 38 61 00 8C */ addi r3, r1, 0x8c /* 801B5FFC 001B2F5C C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B6000 001B2F60 C0 7A 00 08 */ lfs f3, 8(r26) /* 801B6004 001B2F64 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801B6008 001B2F68 EC 81 00 28 */ fsubs f4, f1, f0 /* 801B600C 001B2F6C C0 3A 00 00 */ lfs f1, 0(r26) /* 801B6010 001B2F70 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B6014 001B2F74 EC 43 10 28 */ fsubs f2, f3, f2 /* 801B6018 001B2F78 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801B601C 001B2F7C EC 01 00 28 */ fsubs f0, f1, f0 /* 801B6020 001B2F80 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B6024 001B2F84 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801B6028 001B2F88 48 15 E6 D1 */ bl CanBeNormalized__9CVector3fCFv /* 801B602C 001B2F8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6030 001B2F90 40 82 00 34 */ bne lbl_801B6064 /* 801B6034 001B2F94 C0 38 00 04 */ lfs f1, 4(r24) /* 801B6038 001B2F98 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B603C 001B2F9C C0 78 00 08 */ lfs f3, 8(r24) /* 801B6040 001B2FA0 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801B6044 001B2FA4 EC 81 00 28 */ fsubs f4, f1, f0 /* 801B6048 001B2FA8 C0 38 00 00 */ lfs f1, 0(r24) /* 801B604C 001B2FAC C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B6050 001B2FB0 EC 43 10 28 */ fsubs f2, f3, f2 /* 801B6054 001B2FB4 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801B6058 001B2FB8 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B605C 001B2FBC D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B6060 001B2FC0 D0 01 00 8C */ stfs f0, 0x8c(r1) lbl_801B6064: /* 801B6064 001B2FC4 38 61 00 38 */ addi r3, r1, 0x38 /* 801B6068 001B2FC8 38 81 00 8C */ addi r4, r1, 0x8c /* 801B606C 001B2FCC 48 15 E7 E5 */ bl AsNormalized__9CVector3fCFv /* 801B6070 001B2FD0 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801B6074 001B2FD4 38 61 00 2C */ addi r3, r1, 0x2c /* 801B6078 001B2FD8 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801B607C 001B2FDC 38 81 00 20 */ addi r4, r1, 0x20 /* 801B6080 001B2FE0 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801B6084 001B2FE4 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801B6088 001B2FE8 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801B608C 001B2FEC D0 01 00 94 */ stfs f0, 0x94(r1) /* 801B6090 001B2FF0 D3 C1 00 20 */ stfs f30, 0x20(r1) /* 801B6094 001B2FF4 D3 A1 00 24 */ stfs f29, 0x24(r1) /* 801B6098 001B2FF8 D3 81 00 28 */ stfs f28, 0x28(r1) /* 801B609C 001B2FFC 48 15 E7 B5 */ bl AsNormalized__9CVector3fCFv /* 801B60A0 001B3000 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801B60A4 001B3004 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801B60A8 001B3008 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801B60AC 001B300C D0 41 00 80 */ stfs f2, 0x80(r1) /* 801B60B0 001B3010 D0 21 00 84 */ stfs f1, 0x84(r1) /* 801B60B4 001B3014 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801B60B8 001B3018 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B60BC 001B301C 48 15 C4 21 */ bl Float__9CRandom16Fv /* 801B60C0 001B3020 C0 02 A9 74 */ lfs f0, lbl_805AC694@sda21(r2) /* 801B60C4 001B3024 C0 42 A9 70 */ lfs f2, lbl_805AC690@sda21(r2) /* 801B60C8 001B3028 EC 21 00 28 */ fsubs f1, f1, f0 /* 801B60CC 001B302C C0 01 00 80 */ lfs f0, 0x80(r1) /* 801B60D0 001B3030 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801B60D4 001B3034 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801B60D8 001B3038 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B60DC 001B303C 48 15 C4 01 */ bl Float__9CRandom16Fv /* 801B60E0 001B3040 C0 02 A9 74 */ lfs f0, lbl_805AC694@sda21(r2) /* 801B60E4 001B3044 C0 42 A9 70 */ lfs f2, lbl_805AC690@sda21(r2) /* 801B60E8 001B3048 EC 21 00 28 */ fsubs f1, f1, f0 /* 801B60EC 001B304C C0 01 00 84 */ lfs f0, 0x84(r1) /* 801B60F0 001B3050 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801B60F4 001B3054 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801B60F8 001B3058 80 77 09 00 */ lwz r3, 0x900(r23) /* 801B60FC 001B305C 48 15 C3 E1 */ bl Float__9CRandom16Fv /* 801B6100 001B3060 C0 02 A9 74 */ lfs f0, lbl_805AC694@sda21(r2) /* 801B6104 001B3064 38 61 00 14 */ addi r3, r1, 0x14 /* 801B6108 001B3068 C0 42 A9 70 */ lfs f2, lbl_805AC690@sda21(r2) /* 801B610C 001B306C 38 81 00 80 */ addi r4, r1, 0x80 /* 801B6110 001B3070 EC 21 00 28 */ fsubs f1, f1, f0 /* 801B6114 001B3074 C0 01 00 88 */ lfs f0, 0x88(r1) /* 801B6118 001B3078 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801B611C 001B307C D0 01 00 88 */ stfs f0, 0x88(r1) /* 801B6120 001B3080 48 15 E7 31 */ bl AsNormalized__9CVector3fCFv /* 801B6124 001B3084 3C 80 80 5A */ lis r4, skZero3f@ha /* 801B6128 001B3088 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801B612C 001B308C 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801B6130 001B3090 38 A1 00 14 */ addi r5, r1, 0x14 /* 801B6134 001B3094 38 C1 00 8C */ addi r6, r1, 0x8c /* 801B6138 001B3098 48 15 D9 D9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801B613C 001B309C 38 61 00 E0 */ addi r3, r1, 0xe0 /* 801B6140 001B30A0 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801B6144 001B30A4 48 15 CA 31 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801B6148 001B30A8 80 76 00 E8 */ lwz r3, 0xe8(r22) /* 801B614C 001B30AC 38 81 00 E0 */ addi r4, r1, 0xe0 /* 801B6150 001B30B0 81 83 00 00 */ lwz r12, 0(r3) /* 801B6154 001B30B4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801B6158 001B30B8 7D 89 03 A6 */ mtctr r12 /* 801B615C 001B30BC 4E 80 04 21 */ bctrl /* 801B6160 001B30C0 80 76 00 E8 */ lwz r3, 0xe8(r22) /* 801B6164 001B30C4 38 81 00 98 */ addi r4, r1, 0x98 /* 801B6168 001B30C8 81 83 00 00 */ lwz r12, 0(r3) /* 801B616C 001B30CC 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801B6170 001B30D0 7D 89 03 A6 */ mtctr r12 /* 801B6174 001B30D4 4E 80 04 21 */ bctrl /* 801B6178 001B30D8 80 76 00 E8 */ lwz r3, 0xe8(r22) /* 801B617C 001B30DC 38 80 00 01 */ li r4, 1 /* 801B6180 001B30E0 48 16 67 41 */ bl ForceParticleCreation__11CElementGenFi /* 801B6184 001B30E4 80 76 00 E8 */ lwz r3, 0xe8(r22) /* 801B6188 001B30E8 81 83 00 00 */ lwz r12, 0(r3) /* 801B618C 001B30EC 82 A3 00 90 */ lwz r21, 0x90(r3) /* 801B6190 001B30F0 81 8C 00 60 */ lwz r12, 0x60(r12) /* 801B6194 001B30F4 7D 89 03 A6 */ mtctr r12 /* 801B6198 001B30F8 4E 80 04 21 */ bctrl /* 801B619C 001B30FC 7C 03 A8 00 */ cmpw r3, r21 /* 801B61A0 001B3100 40 82 00 0C */ bne lbl_801B61AC /* 801B61A4 001B3104 38 60 00 01 */ li r3, 1 /* 801B61A8 001B3108 48 00 00 14 */ b lbl_801B61BC lbl_801B61AC: /* 801B61AC 001B310C 3B BD 00 01 */ addi r29, r29, 1 lbl_801B61B0: /* 801B61B0 001B3110 7C 1D F0 00 */ cmpw r29, r30 /* 801B61B4 001B3114 41 80 FC 18 */ blt lbl_801B5DCC lbl_801B61B8: /* 801B61B8 001B3118 38 60 00 00 */ li r3, 0 lbl_801B61BC: /* 801B61BC 001B311C E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 801B61C0 001B3120 CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 801B61C4 001B3124 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 801B61C8 001B3128 CB C1 01 90 */ lfd f30, 0x190(r1) /* 801B61CC 001B312C E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 801B61D0 001B3130 CB A1 01 80 */ lfd f29, 0x180(r1) /* 801B61D4 001B3134 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 801B61D8 001B3138 CB 81 01 70 */ lfd f28, 0x170(r1) /* 801B61DC 001B313C E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 801B61E0 001B3140 CB 61 01 60 */ lfd f27, 0x160(r1) /* 801B61E4 001B3144 E3 41 01 58 */ psq_l f26, 344(r1), 0, qr0 /* 801B61E8 001B3148 CB 41 01 50 */ lfd f26, 0x150(r1) /* 801B61EC 001B314C BA A1 01 24 */ lmw r21, 0x124(r1) /* 801B61F0 001B3150 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 801B61F4 001B3154 7C 08 03 A6 */ mtlr r0 /* 801B61F8 001B3158 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 801B61FC 001B315C 4E 80 00 20 */ blr .global GenerateParticlesAgainstOBBTree__10CIceImpactFR13CStateManagerRC8COBBTreeRC12CTransform4fRC7CSphereRC7CSphere GenerateParticlesAgainstOBBTree__10CIceImpactFR13CStateManagerRC8COBBTreeRC12CTransform4fRC7CSphereRC7CSphere: /* 801B6200 001B3160 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801B6204 001B3164 7C 08 02 A6 */ mflr r0 /* 801B6208 001B3168 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801B620C 001B316C BE E1 00 9C */ stmw r23, 0x9c(r1) /* 801B6210 001B3170 7C 78 1B 78 */ mr r24, r3 /* 801B6214 001B3174 7C 99 23 78 */ mr r25, r4 /* 801B6218 001B3178 7C BA 2B 78 */ mr r26, r5 /* 801B621C 001B317C 7C DB 33 78 */ mr r27, r6 /* 801B6220 001B3180 7C FC 3B 78 */ mr r28, r7 /* 801B6224 001B3184 7D 1D 43 78 */ mr r29, r8 /* 801B6228 001B3188 38 60 00 00 */ li r3, 0 /* 801B622C 001B318C 38 80 00 01 */ li r4, 1 /* 801B6230 001B3190 80 0D 90 F8 */ lwz r0, lbl_805A7CB8@sda21(r13) /* 801B6234 001B3194 7C 05 03 78 */ mr r5, r0 /* 801B6238 001B3198 48 1D 3C BD */ bl __shl2i /* 801B623C 001B319C 38 C0 00 02 */ li r6, 2 /* 801B6240 001B31A0 38 A0 FF FF */ li r5, -1 /* 801B6244 001B31A4 38 00 00 00 */ li r0, 0 /* 801B6248 001B31A8 90 C1 00 20 */ stw r6, 0x20(r1) /* 801B624C 001B31AC 3B C1 00 74 */ addi r30, r1, 0x74 /* 801B6250 001B31B0 3B E1 00 80 */ addi r31, r1, 0x80 /* 801B6254 001B31B4 90 A1 00 2C */ stw r5, 0x2c(r1) /* 801B6258 001B31B8 3A E0 00 00 */ li r23, 0 /* 801B625C 001B31BC 90 01 00 28 */ stw r0, 0x28(r1) /* 801B6260 001B31C0 90 81 00 34 */ stw r4, 0x34(r1) /* 801B6264 001B31C4 90 61 00 30 */ stw r3, 0x30(r1) /* 801B6268 001B31C8 90 C1 00 38 */ stw r6, 0x38(r1) /* 801B626C 001B31CC 48 00 00 B4 */ b lbl_801B6320 lbl_801B6270: /* 801B6270 001B31D0 7F 44 D3 78 */ mr r4, r26 /* 801B6274 001B31D4 7F 66 DB 78 */ mr r6, r27 /* 801B6278 001B31D8 38 61 00 40 */ addi r3, r1, 0x40 /* 801B627C 001B31DC 56 E5 04 3E */ clrlwi r5, r23, 0x10 /* 801B6280 001B31E0 48 0F 27 C1 */ bl GetTransformedSurface__8COBBTreeCFUsRC12CTransform4f /* 801B6284 001B31E4 80 A1 00 64 */ lwz r5, 0x64(r1) /* 801B6288 001B31E8 38 00 00 00 */ li r0, 0 /* 801B628C 001B31EC C1 01 00 40 */ lfs f8, 0x40(r1) /* 801B6290 001B31F0 38 61 00 28 */ addi r3, r1, 0x28 /* 801B6294 001B31F4 C0 E1 00 44 */ lfs f7, 0x44(r1) /* 801B6298 001B31F8 38 81 00 08 */ addi r4, r1, 8 /* 801B629C 001B31FC C0 C1 00 48 */ lfs f6, 0x48(r1) /* 801B62A0 001B3200 C0 A1 00 4C */ lfs f5, 0x4c(r1) /* 801B62A4 001B3204 C0 81 00 50 */ lfs f4, 0x50(r1) /* 801B62A8 001B3208 C0 61 00 54 */ lfs f3, 0x54(r1) /* 801B62AC 001B320C C0 41 00 58 */ lfs f2, 0x58(r1) /* 801B62B0 001B3210 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801B62B4 001B3214 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801B62B8 001B3218 D1 01 00 68 */ stfs f8, 0x68(r1) /* 801B62BC 001B321C D0 E1 00 6C */ stfs f7, 0x6c(r1) /* 801B62C0 001B3220 D0 C1 00 70 */ stfs f6, 0x70(r1) /* 801B62C4 001B3224 D0 A1 00 74 */ stfs f5, 0x74(r1) /* 801B62C8 001B3228 D0 81 00 78 */ stfs f4, 0x78(r1) /* 801B62CC 001B322C D0 61 00 7C */ stfs f3, 0x7c(r1) /* 801B62D0 001B3230 D0 41 00 80 */ stfs f2, 0x80(r1) /* 801B62D4 001B3234 D0 21 00 84 */ stfs f1, 0x84(r1) /* 801B62D8 001B3238 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801B62DC 001B323C 90 A1 00 8C */ stw r5, 0x8c(r1) /* 801B62E0 001B3240 90 A1 00 0C */ stw r5, 0xc(r1) /* 801B62E4 001B3244 90 01 00 08 */ stw r0, 8(r1) /* 801B62E8 001B3248 48 11 F0 65 */ bl Passes__15CMaterialFilterCFRC13CMaterialList /* 801B62EC 001B324C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B62F0 001B3250 41 82 00 2C */ beq lbl_801B631C /* 801B62F4 001B3254 7F 03 C3 78 */ mr r3, r24 /* 801B62F8 001B3258 7F 24 CB 78 */ mr r4, r25 /* 801B62FC 001B325C 7F C6 F3 78 */ mr r6, r30 /* 801B6300 001B3260 7F E7 FB 78 */ mr r7, r31 /* 801B6304 001B3264 7F 88 E3 78 */ mr r8, r28 /* 801B6308 001B3268 7F A9 EB 78 */ mr r9, r29 /* 801B630C 001B326C 38 A1 00 68 */ addi r5, r1, 0x68 /* 801B6310 001B3270 4B FF F8 95 */ bl SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere /* 801B6314 001B3274 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6318 001B3278 40 82 00 18 */ bne lbl_801B6330 lbl_801B631C: /* 801B631C 001B327C 3A F7 00 01 */ addi r23, r23, 1 lbl_801B6320: /* 801B6320 001B3280 80 1A 00 4C */ lwz r0, 0x4c(r26) /* 801B6324 001B3284 7E E3 07 34 */ extsh r3, r23 /* 801B6328 001B3288 7C 03 00 00 */ cmpw r3, r0 /* 801B632C 001B328C 41 80 FF 44 */ blt lbl_801B6270 lbl_801B6330: /* 801B6330 001B3290 BA E1 00 9C */ lmw r23, 0x9c(r1) /* 801B6334 001B3294 38 60 00 00 */ li r3, 0 /* 801B6338 001B3298 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801B633C 001B329C 7C 08 03 A6 */ mtlr r0 /* 801B6340 001B32A0 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801B6344 001B32A4 4E 80 00 20 */ blr .global GenerateParticlesAgainstAABox__10CIceImpactFR13CStateManagerRC6CAABoxRC7CSphereRC7CSphere GenerateParticlesAgainstAABox__10CIceImpactFR13CStateManagerRC6CAABoxRC7CSphereRC7CSphere: /* 801B6348 001B32A8 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801B634C 001B32AC 7C 08 02 A6 */ mflr r0 /* 801B6350 001B32B0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801B6354 001B32B4 BE E1 00 7C */ stmw r23, 0x7c(r1) /* 801B6358 001B32B8 7C 77 1B 78 */ mr r23, r3 /* 801B635C 001B32BC 7C 98 23 78 */ mr r24, r4 /* 801B6360 001B32C0 7C B9 2B 78 */ mr r25, r5 /* 801B6364 001B32C4 7C DA 33 78 */ mr r26, r6 /* 801B6368 001B32C8 7C FB 3B 78 */ mr r27, r7 /* 801B636C 001B32CC 3B E1 00 4C */ addi r31, r1, 0x4c /* 801B6370 001B32D0 3B C1 00 58 */ addi r30, r1, 0x58 /* 801B6374 001B32D4 3B A1 00 64 */ addi r29, r1, 0x64 /* 801B6378 001B32D8 3B 80 00 00 */ li r28, 0 lbl_801B637C: /* 801B637C 001B32DC 57 80 0F FE */ srwi r0, r28, 0x1f /* 801B6380 001B32E0 7F 24 CB 78 */ mr r4, r25 /* 801B6384 001B32E4 7C 00 E2 14 */ add r0, r0, r28 /* 801B6388 001B32E8 38 61 00 08 */ addi r3, r1, 8 /* 801B638C 001B32EC 7C 05 0E 70 */ srawi r5, r0, 1 /* 801B6390 001B32F0 57 86 0F BC */ rlwinm r6, r28, 1, 0x1e, 0x1e /* 801B6394 001B32F4 48 18 18 61 */ bl GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi /* 801B6398 001B32F8 C1 81 00 08 */ lfs f12, 8(r1) /* 801B639C 001B32FC 7E E3 BB 78 */ mr r3, r23 /* 801B63A0 001B3300 C1 61 00 0C */ lfs f11, 0xc(r1) /* 801B63A4 001B3304 7F 04 C3 78 */ mr r4, r24 /* 801B63A8 001B3308 C1 41 00 10 */ lfs f10, 0x10(r1) /* 801B63AC 001B330C 7F E5 FB 78 */ mr r5, r31 /* 801B63B0 001B3310 C1 21 00 14 */ lfs f9, 0x14(r1) /* 801B63B4 001B3314 7F A6 EB 78 */ mr r6, r29 /* 801B63B8 001B3318 C1 01 00 18 */ lfs f8, 0x18(r1) /* 801B63BC 001B331C 7F C7 F3 78 */ mr r7, r30 /* 801B63C0 001B3320 C0 E1 00 1C */ lfs f7, 0x1c(r1) /* 801B63C4 001B3324 7F 48 D3 78 */ mr r8, r26 /* 801B63C8 001B3328 C0 C1 00 20 */ lfs f6, 0x20(r1) /* 801B63CC 001B332C 7F 69 DB 78 */ mr r9, r27 /* 801B63D0 001B3330 C0 A1 00 24 */ lfs f5, 0x24(r1) /* 801B63D4 001B3334 C0 81 00 28 */ lfs f4, 0x28(r1) /* 801B63D8 001B3338 C0 61 00 2C */ lfs f3, 0x2c(r1) /* 801B63DC 001B333C C0 41 00 30 */ lfs f2, 0x30(r1) /* 801B63E0 001B3340 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801B63E4 001B3344 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801B63E8 001B3348 D1 81 00 3C */ stfs f12, 0x3c(r1) /* 801B63EC 001B334C D1 61 00 40 */ stfs f11, 0x40(r1) /* 801B63F0 001B3350 D1 41 00 44 */ stfs f10, 0x44(r1) /* 801B63F4 001B3354 D1 21 00 48 */ stfs f9, 0x48(r1) /* 801B63F8 001B3358 D1 01 00 4C */ stfs f8, 0x4c(r1) /* 801B63FC 001B335C D0 E1 00 50 */ stfs f7, 0x50(r1) /* 801B6400 001B3360 D0 C1 00 54 */ stfs f6, 0x54(r1) /* 801B6404 001B3364 D0 A1 00 58 */ stfs f5, 0x58(r1) /* 801B6408 001B3368 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 801B640C 001B336C D0 61 00 60 */ stfs f3, 0x60(r1) /* 801B6410 001B3370 D0 41 00 64 */ stfs f2, 0x64(r1) /* 801B6414 001B3374 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801B6418 001B3378 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801B641C 001B337C 4B FF F7 89 */ bl SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere /* 801B6420 001B3380 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6424 001B3384 40 82 00 10 */ bne lbl_801B6434 /* 801B6428 001B3388 3B 9C 00 01 */ addi r28, r28, 1 /* 801B642C 001B338C 2C 1C 00 0C */ cmpwi r28, 0xc /* 801B6430 001B3390 41 80 FF 4C */ blt lbl_801B637C lbl_801B6434: /* 801B6434 001B3394 BA E1 00 7C */ lmw r23, 0x7c(r1) /* 801B6438 001B3398 38 60 00 00 */ li r3, 0 /* 801B643C 001B339C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801B6440 001B33A0 7C 08 03 A6 */ mtlr r0 /* 801B6444 001B33A4 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801B6448 001B33A8 4E 80 00 20 */ blr .global GenerateParticlesAgainstActors__10CIceImpactFR13CStateManagerRC6CAABoxRC7CSphereRC7CSphere GenerateParticlesAgainstActors__10CIceImpactFR13CStateManagerRC6CAABoxRC7CSphereRC7CSphere: /* 801B644C 001B33AC 94 21 F7 30 */ stwu r1, -0x8d0(r1) /* 801B6450 001B33B0 7C 08 02 A6 */ mflr r0 /* 801B6454 001B33B4 90 01 08 D4 */ stw r0, 0x8d4(r1) /* 801B6458 001B33B8 38 00 00 00 */ li r0, 0 /* 801B645C 001B33BC BE E1 08 AC */ stmw r23, 0x8ac(r1) /* 801B6460 001B33C0 7C 7A 1B 78 */ mr r26, r3 /* 801B6464 001B33C4 7C 9B 23 78 */ mr r27, r4 /* 801B6468 001B33C8 7C B7 2B 78 */ mr r23, r5 /* 801B646C 001B33CC 7C DC 33 78 */ mr r28, r6 /* 801B6470 001B33D0 7C FD 3B 78 */ mr r29, r7 /* 801B6474 001B33D4 38 60 00 00 */ li r3, 0 /* 801B6478 001B33D8 38 80 00 01 */ li r4, 1 /* 801B647C 001B33DC 81 0D 90 E4 */ lwz r8, lbl_805A7CA4@sda21(r13) /* 801B6480 001B33E0 90 01 00 9C */ stw r0, 0x9c(r1) /* 801B6484 001B33E4 7D 05 43 78 */ mr r5, r8 /* 801B6488 001B33E8 48 1D 3A 6D */ bl __shl2i /* 801B648C 001B33EC 80 AD 90 E8 */ lwz r5, lbl_805A7CA8@sda21(r13) /* 801B6490 001B33F0 7C 9F 23 78 */ mr r31, r4 /* 801B6494 001B33F4 7C 7E 1B 78 */ mr r30, r3 /* 801B6498 001B33F8 38 60 00 00 */ li r3, 0 /* 801B649C 001B33FC 38 80 00 01 */ li r4, 1 /* 801B64A0 001B3400 48 1D 3A 55 */ bl __shl2i /* 801B64A4 001B3404 80 AD 90 EC */ lwz r5, lbl_805A7CAC@sda21(r13) /* 801B64A8 001B3408 7F FF 23 78 */ or r31, r31, r4 /* 801B64AC 001B340C 7F DE 1B 78 */ or r30, r30, r3 /* 801B64B0 001B3410 38 60 00 00 */ li r3, 0 /* 801B64B4 001B3414 38 80 00 01 */ li r4, 1 /* 801B64B8 001B3418 48 1D 3A 3D */ bl __shl2i /* 801B64BC 001B341C 80 AD 90 F0 */ lwz r5, lbl_805A7CB0@sda21(r13) /* 801B64C0 001B3420 7F FF 23 78 */ or r31, r31, r4 /* 801B64C4 001B3424 7F DE 1B 78 */ or r30, r30, r3 /* 801B64C8 001B3428 38 60 00 00 */ li r3, 0 /* 801B64CC 001B342C 38 80 00 01 */ li r4, 1 /* 801B64D0 001B3430 48 1D 3A 25 */ bl __shl2i /* 801B64D4 001B3434 80 AD 90 F4 */ lwz r5, lbl_805A7CB4@sda21(r13) /* 801B64D8 001B3438 7F FF 23 78 */ or r31, r31, r4 /* 801B64DC 001B343C 7F DE 1B 78 */ or r30, r30, r3 /* 801B64E0 001B3440 38 60 00 00 */ li r3, 0 /* 801B64E4 001B3444 38 80 00 01 */ li r4, 1 /* 801B64E8 001B3448 48 1D 3A 0D */ bl __shl2i /* 801B64EC 001B344C 7F FF 23 78 */ or r31, r31, r4 /* 801B64F0 001B3450 7F DE 1B 78 */ or r30, r30, r3 /* 801B64F4 001B3454 38 60 FF FF */ li r3, -1 /* 801B64F8 001B3458 38 80 00 00 */ li r4, 0 /* 801B64FC 001B345C 38 00 00 02 */ li r0, 2 /* 801B6500 001B3460 90 61 00 3C */ stw r3, 0x3c(r1) /* 801B6504 001B3464 7F 63 DB 78 */ mr r3, r27 /* 801B6508 001B3468 7E E5 BB 78 */ mr r5, r23 /* 801B650C 001B346C 90 81 00 38 */ stw r4, 0x38(r1) /* 801B6510 001B3470 7F 47 D3 78 */ mr r7, r26 /* 801B6514 001B3474 38 81 00 9C */ addi r4, r1, 0x9c /* 801B6518 001B3478 38 C1 00 38 */ addi r6, r1, 0x38 /* 801B651C 001B347C 93 E1 00 44 */ stw r31, 0x44(r1) /* 801B6520 001B3480 93 C1 00 40 */ stw r30, 0x40(r1) /* 801B6524 001B3484 90 01 00 48 */ stw r0, 0x48(r1) /* 801B6528 001B3488 4B E9 61 F9 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801B652C 001B348C 3B E1 00 A0 */ addi r31, r1, 0xa0 /* 801B6530 001B3490 7F FE FB 78 */ mr r30, r31 /* 801B6534 001B3494 48 00 01 C0 */ b lbl_801B66F4 lbl_801B6538: /* 801B6538 001B3498 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B653C 001B349C 7F 63 DB 78 */ mr r3, r27 /* 801B6540 001B34A0 38 81 00 08 */ addi r4, r1, 8 /* 801B6544 001B34A4 B0 01 00 08 */ sth r0, 8(r1) /* 801B6548 001B34A8 4B E9 60 2D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B654C 001B34AC 7C 60 1B 78 */ mr r0, r3 /* 801B6550 001B34B0 38 61 00 14 */ addi r3, r1, 0x14 /* 801B6554 001B34B4 7C 19 03 78 */ mr r25, r0 /* 801B6558 001B34B8 7F 24 CB 78 */ mr r4, r25 /* 801B655C 001B34BC 4B EF 61 89 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" /* 801B6560 001B34C0 83 03 00 04 */ lwz r24, 4(r3) /* 801B6564 001B34C4 28 18 00 00 */ cmplwi r24, 0 /* 801B6568 001B34C8 41 82 00 AC */ beq lbl_801B6614 /* 801B656C 001B34CC 7F 03 C3 78 */ mr r3, r24 /* 801B6570 001B34D0 81 98 00 00 */ lwz r12, 0(r24) /* 801B6574 001B34D4 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 801B6578 001B34D8 7D 89 03 A6 */ mtctr r12 /* 801B657C 001B34DC 4E 80 04 21 */ bctrl /* 801B6580 001B34E0 81 83 00 00 */ lwz r12, 0(r3) /* 801B6584 001B34E4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801B6588 001B34E8 7D 89 03 A6 */ mtctr r12 /* 801B658C 001B34EC 4E 80 04 21 */ bctrl /* 801B6590 001B34F0 3C 03 B0 BE */ addis r0, r3, 0xb0be /* 801B6594 001B34F4 28 00 54 47 */ cmplwi r0, 0x5447 /* 801B6598 001B34F8 40 82 00 7C */ bne lbl_801B6614 /* 801B659C 001B34FC 7F 03 C3 78 */ mr r3, r24 /* 801B65A0 001B3500 81 98 00 00 */ lwz r12, 0(r24) /* 801B65A4 001B3504 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 801B65A8 001B3508 7D 89 03 A6 */ mtctr r12 /* 801B65AC 001B350C 4E 80 04 21 */ bctrl /* 801B65B0 001B3510 3A E0 00 00 */ li r23, 0 /* 801B65B4 001B3514 7C 79 1B 78 */ mr r25, r3 /* 801B65B8 001B3518 48 00 00 48 */ b lbl_801B6600 lbl_801B65BC: /* 801B65BC 001B351C 7F 04 C3 78 */ mr r4, r24 /* 801B65C0 001B3520 38 61 00 6C */ addi r3, r1, 0x6c /* 801B65C4 001B3524 81 98 00 00 */ lwz r12, 0(r24) /* 801B65C8 001B3528 81 8C 00 70 */ lwz r12, 0x70(r12) /* 801B65CC 001B352C 7D 89 03 A6 */ mtctr r12 /* 801B65D0 001B3530 4E 80 04 21 */ bctrl /* 801B65D4 001B3534 7F 23 CB 78 */ mr r3, r25 /* 801B65D8 001B3538 7E E4 BB 78 */ mr r4, r23 /* 801B65DC 001B353C 48 0F 73 71 */ bl GetOBBTreeAABox__23CCollidableOBBTreeGroupCFi /* 801B65E0 001B3540 7C 65 1B 78 */ mr r5, r3 /* 801B65E4 001B3544 7F 43 D3 78 */ mr r3, r26 /* 801B65E8 001B3548 7F 64 DB 78 */ mr r4, r27 /* 801B65EC 001B354C 7F 87 E3 78 */ mr r7, r28 /* 801B65F0 001B3550 7F A8 EB 78 */ mr r8, r29 /* 801B65F4 001B3554 38 C1 00 6C */ addi r6, r1, 0x6c /* 801B65F8 001B3558 4B FF FC 09 */ bl GenerateParticlesAgainstOBBTree__10CIceImpactFR13CStateManagerRC8COBBTreeRC12CTransform4fRC7CSphereRC7CSphere /* 801B65FC 001B355C 3A F7 00 01 */ addi r23, r23, 1 lbl_801B6600: /* 801B6600 001B3560 80 79 00 10 */ lwz r3, 0x10(r25) /* 801B6604 001B3564 80 03 00 04 */ lwz r0, 4(r3) /* 801B6608 001B3568 7C 17 00 00 */ cmpw r23, r0 /* 801B660C 001B356C 41 80 FF B0 */ blt lbl_801B65BC /* 801B6610 001B3570 48 00 00 E0 */ b lbl_801B66F0 lbl_801B6614: /* 801B6614 001B3574 28 19 00 00 */ cmplwi r25, 0 /* 801B6618 001B3578 41 82 00 D8 */ beq lbl_801B66F0 /* 801B661C 001B357C 80 19 00 68 */ lwz r0, 0x68(r25) /* 801B6620 001B3580 38 80 00 00 */ li r4, 0 /* 801B6624 001B3584 80 B9 00 6C */ lwz r5, 0x6c(r25) /* 801B6628 001B3588 3C 60 00 08 */ lis r3, 8 /* 801B662C 001B358C 7C 00 20 38 */ and r0, r0, r4 /* 801B6630 001B3590 7C A3 18 38 */ and r3, r5, r3 /* 801B6634 001B3594 7C 63 22 78 */ xor r3, r3, r4 /* 801B6638 001B3598 7C 00 22 78 */ xor r0, r0, r4 /* 801B663C 001B359C 7C 60 03 79 */ or. r0, r3, r0 /* 801B6640 001B35A0 40 82 00 1C */ bne lbl_801B665C /* 801B6644 001B35A4 7F 24 CB 78 */ mr r4, r25 /* 801B6648 001B35A8 38 61 00 0C */ addi r3, r1, 0xc /* 801B664C 001B35AC 4B EF 02 15 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 801B6650 001B35B0 80 03 00 04 */ lwz r0, 4(r3) /* 801B6654 001B35B4 28 00 00 00 */ cmplwi r0, 0 /* 801B6658 001B35B8 41 82 00 98 */ beq lbl_801B66F0 lbl_801B665C: /* 801B665C 001B35BC 7F 24 CB 78 */ mr r4, r25 /* 801B6660 001B35C0 38 61 00 1C */ addi r3, r1, 0x1c /* 801B6664 001B35C4 81 99 00 00 */ lwz r12, 0(r25) /* 801B6668 001B35C8 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801B666C 001B35CC 7D 89 03 A6 */ mtctr r12 /* 801B6670 001B35D0 4E 80 04 21 */ bctrl /* 801B6674 001B35D4 88 01 00 34 */ lbz r0, 0x34(r1) /* 801B6678 001B35D8 28 00 00 00 */ cmplwi r0, 0 /* 801B667C 001B35DC 98 01 00 68 */ stb r0, 0x68(r1) /* 801B6680 001B35E0 41 82 00 3C */ beq lbl_801B66BC /* 801B6684 001B35E4 34 61 00 50 */ addic. r3, r1, 0x50 /* 801B6688 001B35E8 41 82 00 34 */ beq lbl_801B66BC /* 801B668C 001B35EC C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801B6690 001B35F0 D0 03 00 00 */ stfs f0, 0(r3) /* 801B6694 001B35F4 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801B6698 001B35F8 D0 03 00 04 */ stfs f0, 4(r3) /* 801B669C 001B35FC C0 01 00 24 */ lfs f0, 0x24(r1) /* 801B66A0 001B3600 D0 03 00 08 */ stfs f0, 8(r3) /* 801B66A4 001B3604 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801B66A8 001B3608 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801B66AC 001B360C C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801B66B0 001B3610 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B66B4 001B3614 C0 01 00 30 */ lfs f0, 0x30(r1) /* 801B66B8 001B3618 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801B66BC: /* 801B66BC 001B361C 88 01 00 68 */ lbz r0, 0x68(r1) /* 801B66C0 001B3620 38 60 00 00 */ li r3, 0 /* 801B66C4 001B3624 98 61 00 34 */ stb r3, 0x34(r1) /* 801B66C8 001B3628 28 00 00 00 */ cmplwi r0, 0 /* 801B66CC 001B362C 41 82 00 1C */ beq lbl_801B66E8 /* 801B66D0 001B3630 7F 43 D3 78 */ mr r3, r26 /* 801B66D4 001B3634 7F 64 DB 78 */ mr r4, r27 /* 801B66D8 001B3638 7F 86 E3 78 */ mr r6, r28 /* 801B66DC 001B363C 7F A7 EB 78 */ mr r7, r29 /* 801B66E0 001B3640 38 A1 00 50 */ addi r5, r1, 0x50 /* 801B66E4 001B3644 4B FF FC 65 */ bl GenerateParticlesAgainstAABox__10CIceImpactFR13CStateManagerRC6CAABoxRC7CSphereRC7CSphere lbl_801B66E8: /* 801B66E8 001B3648 38 00 00 00 */ li r0, 0 /* 801B66EC 001B364C 98 01 00 68 */ stb r0, 0x68(r1) lbl_801B66F0: /* 801B66F0 001B3650 3B DE 00 02 */ addi r30, r30, 2 lbl_801B66F4: /* 801B66F4 001B3654 80 A1 00 9C */ lwz r5, 0x9c(r1) /* 801B66F8 001B3658 54 A0 08 3C */ slwi r0, r5, 1 /* 801B66FC 001B365C 7C 1F 02 14 */ add r0, r31, r0 /* 801B6700 001B3660 7C 1E 00 40 */ cmplw r30, r0 /* 801B6704 001B3664 40 82 FE 34 */ bne lbl_801B6538 /* 801B6708 001B3668 2C 05 00 00 */ cmpwi r5, 0 /* 801B670C 001B366C 38 60 00 00 */ li r3, 0 /* 801B6710 001B3670 40 81 00 40 */ ble lbl_801B6750 /* 801B6714 001B3674 2C 05 00 08 */ cmpwi r5, 8 /* 801B6718 001B3678 38 85 FF F8 */ addi r4, r5, -8 /* 801B671C 001B367C 40 81 00 20 */ ble lbl_801B673C /* 801B6720 001B3680 38 04 00 07 */ addi r0, r4, 7 /* 801B6724 001B3684 54 00 E8 FE */ srwi r0, r0, 3 /* 801B6728 001B3688 7C 09 03 A6 */ mtctr r0 /* 801B672C 001B368C 2C 04 00 00 */ cmpwi r4, 0 /* 801B6730 001B3690 40 81 00 0C */ ble lbl_801B673C lbl_801B6734: /* 801B6734 001B3694 38 63 00 08 */ addi r3, r3, 8 /* 801B6738 001B3698 42 00 FF FC */ bdnz lbl_801B6734 lbl_801B673C: /* 801B673C 001B369C 7C 03 28 50 */ subf r0, r3, r5 /* 801B6740 001B36A0 7C 09 03 A6 */ mtctr r0 /* 801B6744 001B36A4 7C 03 28 00 */ cmpw r3, r5 /* 801B6748 001B36A8 40 80 00 08 */ bge lbl_801B6750 lbl_801B674C: /* 801B674C 001B36AC 42 00 00 00 */ bdnz lbl_801B674C lbl_801B6750: /* 801B6750 001B36B0 38 00 00 00 */ li r0, 0 /* 801B6754 001B36B4 38 60 00 01 */ li r3, 1 /* 801B6758 001B36B8 90 01 00 9C */ stw r0, 0x9c(r1) /* 801B675C 001B36BC BA E1 08 AC */ lmw r23, 0x8ac(r1) /* 801B6760 001B36C0 80 01 08 D4 */ lwz r0, 0x8d4(r1) /* 801B6764 001B36C4 7C 08 03 A6 */ mtlr r0 /* 801B6768 001B36C8 38 21 08 D0 */ addi r1, r1, 0x8d0 /* 801B676C 001B36CC 4E 80 00 20 */ blr .global GenerateParticlesAgainstWorld__10CIceImpactFR13CStateManagerRCQ220CMetroidAreaCollider16COctreeLeafCacheRC7CSphereRC7CSphere GenerateParticlesAgainstWorld__10CIceImpactFR13CStateManagerRCQ220CMetroidAreaCollider16COctreeLeafCacheRC7CSphereRC7CSphere: /* 801B6770 001B36D0 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801B6774 001B36D4 7C 08 02 A6 */ mflr r0 /* 801B6778 001B36D8 90 01 01 04 */ stw r0, 0x104(r1) /* 801B677C 001B36DC BE 61 00 CC */ stmw r19, 0xcc(r1) /* 801B6780 001B36E0 7C 73 1B 78 */ mr r19, r3 /* 801B6784 001B36E4 7C 94 23 78 */ mr r20, r4 /* 801B6788 001B36E8 7C B5 2B 78 */ mr r21, r5 /* 801B678C 001B36EC 7C D6 33 78 */ mr r22, r6 /* 801B6790 001B36F0 7C F7 3B 78 */ mr r23, r7 /* 801B6794 001B36F4 48 0F 08 AD */ bl ResetInternalCounters__20CMetroidAreaColliderFv /* 801B6798 001B36F8 80 AD 90 E0 */ lwz r5, lbl_805A7CA0@sda21(r13) /* 801B679C 001B36FC 38 60 00 00 */ li r3, 0 /* 801B67A0 001B3700 38 80 00 01 */ li r4, 1 /* 801B67A4 001B3704 48 1D 37 51 */ bl __shl2i /* 801B67A8 001B3708 38 E0 00 02 */ li r7, 2 /* 801B67AC 001B370C 38 C0 FF FF */ li r6, -1 /* 801B67B0 001B3710 38 00 00 00 */ li r0, 0 /* 801B67B4 001B3714 3C A0 80 59 */ lis r5, lbl_80597BAC@ha /* 801B67B8 001B3718 90 E1 00 50 */ stw r7, 0x50(r1) /* 801B67BC 001B371C 3B B5 00 08 */ addi r29, r21, 8 /* 801B67C0 001B3720 3B E5 7B AC */ addi r31, r5, lbl_80597BAC@l /* 801B67C4 001B3724 3B 60 00 00 */ li r27, 0 /* 801B67C8 001B3728 90 C1 00 5C */ stw r6, 0x5c(r1) /* 801B67CC 001B372C 90 01 00 58 */ stw r0, 0x58(r1) /* 801B67D0 001B3730 90 81 00 64 */ stw r4, 0x64(r1) /* 801B67D4 001B3734 90 61 00 60 */ stw r3, 0x60(r1) /* 801B67D8 001B3738 90 E1 00 68 */ stw r7, 0x68(r1) /* 801B67DC 001B373C 48 00 01 4C */ b lbl_801B6928 lbl_801B67E0: /* 801B67E0 001B3740 7F A4 EB 78 */ mr r4, r29 /* 801B67E4 001B3744 38 61 00 08 */ addi r3, r1, 8 /* 801B67E8 001B3748 48 0E C5 55 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv /* 801B67EC 001B374C 83 81 00 08 */ lwz r28, 8(r1) /* 801B67F0 001B3750 3B 20 00 00 */ li r25, 0 /* 801B67F4 001B3754 83 DD 00 1C */ lwz r30, 0x1c(r29) /* 801B67F8 001B3758 3B 00 00 00 */ li r24, 0 /* 801B67FC 001B375C A3 5C 00 18 */ lhz r26, 0x18(r28) /* 801B6800 001B3760 48 00 01 10 */ b lbl_801B6910 lbl_801B6804: /* 801B6804 001B3764 A0 BC 00 1A */ lhz r5, 0x1a(r28) /* 801B6808 001B3768 A0 8D A5 D0 */ lhz r4, lbl_805A9190@sda21(r13) /* 801B680C 001B376C 54 A3 0B FC */ rlwinm r3, r5, 1, 0xf, 0x1e /* 801B6810 001B3770 7C 1F 1A 2E */ lhzx r0, r31, r3 /* 801B6814 001B3774 7C 00 20 40 */ cmplw r0, r4 /* 801B6818 001B3778 41 82 00 F0 */ beq lbl_801B6908 /* 801B681C 001B377C 7C 9F 1B 2E */ sthx r4, r31, r3 /* 801B6820 001B3780 7F C4 F3 78 */ mr r4, r30 /* 801B6824 001B3784 38 61 00 70 */ addi r3, r1, 0x70 /* 801B6828 001B3788 48 0E C2 0D */ bl GetMasterListTriangle__12CAreaOctTreeCFUs /* 801B682C 001B378C 80 A1 00 94 */ lwz r5, 0x94(r1) /* 801B6830 001B3790 38 00 00 00 */ li r0, 0 /* 801B6834 001B3794 C1 01 00 70 */ lfs f8, 0x70(r1) /* 801B6838 001B3798 38 61 00 58 */ addi r3, r1, 0x58 /* 801B683C 001B379C C0 E1 00 74 */ lfs f7, 0x74(r1) /* 801B6840 001B37A0 38 81 00 10 */ addi r4, r1, 0x10 /* 801B6844 001B37A4 C0 C1 00 78 */ lfs f6, 0x78(r1) /* 801B6848 001B37A8 C0 A1 00 7C */ lfs f5, 0x7c(r1) /* 801B684C 001B37AC C0 81 00 80 */ lfs f4, 0x80(r1) /* 801B6850 001B37B0 C0 61 00 84 */ lfs f3, 0x84(r1) /* 801B6854 001B37B4 C0 41 00 88 */ lfs f2, 0x88(r1) /* 801B6858 001B37B8 C0 21 00 8C */ lfs f1, 0x8c(r1) /* 801B685C 001B37BC C0 01 00 90 */ lfs f0, 0x90(r1) /* 801B6860 001B37C0 D1 01 00 98 */ stfs f8, 0x98(r1) /* 801B6864 001B37C4 D0 E1 00 9C */ stfs f7, 0x9c(r1) /* 801B6868 001B37C8 D0 C1 00 A0 */ stfs f6, 0xa0(r1) /* 801B686C 001B37CC D0 A1 00 A4 */ stfs f5, 0xa4(r1) /* 801B6870 001B37D0 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 801B6874 001B37D4 D0 61 00 AC */ stfs f3, 0xac(r1) /* 801B6878 001B37D8 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801B687C 001B37DC D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801B6880 001B37E0 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801B6884 001B37E4 90 A1 00 BC */ stw r5, 0xbc(r1) /* 801B6888 001B37E8 90 A1 00 14 */ stw r5, 0x14(r1) /* 801B688C 001B37EC 90 01 00 10 */ stw r0, 0x10(r1) /* 801B6890 001B37F0 48 11 EA BD */ bl Passes__15CMaterialFilterCFRC13CMaterialList /* 801B6894 001B37F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6898 001B37F8 41 82 00 70 */ beq lbl_801B6908 /* 801B689C 001B37FC C1 01 00 98 */ lfs f8, 0x98(r1) /* 801B68A0 001B3800 7E 63 9B 78 */ mr r3, r19 /* 801B68A4 001B3804 C0 E1 00 9C */ lfs f7, 0x9c(r1) /* 801B68A8 001B3808 7E 84 A3 78 */ mr r4, r20 /* 801B68AC 001B380C C0 C1 00 A0 */ lfs f6, 0xa0(r1) /* 801B68B0 001B3810 7E C8 B3 78 */ mr r8, r22 /* 801B68B4 001B3814 C0 A1 00 A4 */ lfs f5, 0xa4(r1) /* 801B68B8 001B3818 7E E9 BB 78 */ mr r9, r23 /* 801B68BC 001B381C C0 81 00 A8 */ lfs f4, 0xa8(r1) /* 801B68C0 001B3820 38 A1 00 30 */ addi r5, r1, 0x30 /* 801B68C4 001B3824 C0 61 00 AC */ lfs f3, 0xac(r1) /* 801B68C8 001B3828 38 C1 00 24 */ addi r6, r1, 0x24 /* 801B68CC 001B382C C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 801B68D0 001B3830 38 E1 00 18 */ addi r7, r1, 0x18 /* 801B68D4 001B3834 C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 801B68D8 001B3838 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801B68DC 001B383C D1 01 00 30 */ stfs f8, 0x30(r1) /* 801B68E0 001B3840 D0 E1 00 34 */ stfs f7, 0x34(r1) /* 801B68E4 001B3844 D0 C1 00 38 */ stfs f6, 0x38(r1) /* 801B68E8 001B3848 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 801B68EC 001B384C D0 81 00 28 */ stfs f4, 0x28(r1) /* 801B68F0 001B3850 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801B68F4 001B3854 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801B68F8 001B3858 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801B68FC 001B385C D0 01 00 20 */ stfs f0, 0x20(r1) /* 801B6900 001B3860 4B FF F2 A5 */ bl SubdivideAndGenerateParticles__10CIceImpactFR13CStateManagerRC9CVector3fRC9CVector3fRC9CVector3fRC7CSphereRC7CSphere /* 801B6904 001B3864 7C 79 1B 78 */ mr r25, r3 lbl_801B6908: /* 801B6908 001B3868 3B 9C 00 02 */ addi r28, r28, 2 /* 801B690C 001B386C 3B 18 00 01 */ addi r24, r24, 1 lbl_801B6910: /* 801B6910 001B3870 7C 18 D0 00 */ cmpw r24, r26 /* 801B6914 001B3874 40 80 00 0C */ bge lbl_801B6920 /* 801B6918 001B3878 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 801B691C 001B387C 41 82 FE E8 */ beq lbl_801B6804 lbl_801B6920: /* 801B6920 001B3880 3B BD 00 24 */ addi r29, r29, 0x24 /* 801B6924 001B3884 3B 7B 00 01 */ addi r27, r27, 1 lbl_801B6928: /* 801B6928 001B3888 80 15 00 04 */ lwz r0, 4(r21) /* 801B692C 001B388C 7C 1B 00 00 */ cmpw r27, r0 /* 801B6930 001B3890 41 80 FE B0 */ blt lbl_801B67E0 /* 801B6934 001B3894 BA 61 00 CC */ lmw r19, 0xcc(r1) /* 801B6938 001B3898 38 60 00 00 */ li r3, 0 /* 801B693C 001B389C 80 01 01 04 */ lwz r0, 0x104(r1) /* 801B6940 001B38A0 7C 08 03 A6 */ mtlr r0 /* 801B6944 001B38A4 38 21 01 00 */ addi r1, r1, 0x100 /* 801B6948 001B38A8 4E 80 00 20 */ blr .global GenerateNewSphere__10CIceImpactFv GenerateNewSphere__10CIceImpactFv: /* 801B694C 001B38AC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801B6950 001B38B0 7C 08 02 A6 */ mflr r0 /* 801B6954 001B38B4 90 01 00 74 */ stw r0, 0x74(r1) /* 801B6958 001B38B8 BF 01 00 50 */ stmw r24, 0x50(r1) /* 801B695C 001B38BC 7C 78 1B 78 */ mr r24, r3 /* 801B6960 001B38C0 7C 99 23 78 */ mr r25, r4 /* 801B6964 001B38C4 3B E0 00 08 */ li r31, 8 /* 801B6968 001B38C8 80 64 00 FC */ lwz r3, 0xfc(r4) /* 801B696C 001B38CC 38 03 00 01 */ addi r0, r3, 1 /* 801B6970 001B38D0 90 04 00 FC */ stw r0, 0xfc(r4) /* 801B6974 001B38D4 80 04 00 FC */ lwz r0, 0xfc(r4) /* 801B6978 001B38D8 54 00 07 7E */ clrlwi r0, r0, 0x1d /* 801B697C 001B38DC 90 04 00 FC */ stw r0, 0xfc(r4) /* 801B6980 001B38E0 80 04 00 FC */ lwz r0, 0xfc(r4) /* 801B6984 001B38E4 54 1D 07 FE */ clrlwi r29, r0, 0x1f /* 801B6988 001B38E8 54 1C 07 BC */ rlwinm r28, r0, 0, 0x1e, 0x1e /* 801B698C 001B38EC 54 1B 07 7A */ rlwinm r27, r0, 0, 0x1d, 0x1d /* 801B6990 001B38F0 48 00 01 D8 */ b lbl_801B6B68 lbl_801B6994: /* 801B6994 001B38F4 3B C0 00 08 */ li r30, 8 /* 801B6998 001B38F8 48 00 01 7C */ b lbl_801B6B14 lbl_801B699C: /* 801B699C 001B38FC 3B 40 00 08 */ li r26, 8 /* 801B69A0 001B3900 48 00 01 20 */ b lbl_801B6AC0 lbl_801B69A4: /* 801B69A4 001B3904 7F 44 D3 78 */ mr r4, r26 /* 801B69A8 001B3908 7F C5 F3 78 */ mr r5, r30 /* 801B69AC 001B390C 7F E6 FB 78 */ mr r6, r31 /* 801B69B0 001B3910 38 79 01 18 */ addi r3, r25, 0x118 /* 801B69B4 001B3914 48 00 19 7D */ bl GetValue__11CMarkerGridCFUiUiUi /* 801B69B8 001B3918 2C 03 00 01 */ cmpwi r3, 1 /* 801B69BC 001B391C 40 82 00 F0 */ bne lbl_801B6AAC /* 801B69C0 001B3920 7F 45 D3 78 */ mr r5, r26 /* 801B69C4 001B3924 7F C6 F3 78 */ mr r6, r30 /* 801B69C8 001B3928 7F E7 FB 78 */ mr r7, r31 /* 801B69CC 001B392C 38 61 00 18 */ addi r3, r1, 0x18 /* 801B69D0 001B3930 38 99 01 18 */ addi r4, r25, 0x118 /* 801B69D4 001B3934 48 00 14 39 */ bl GetWorldPositionForCell__11CMarkerGridCFUiUiUi /* 801B69D8 001B3938 C0 41 00 18 */ lfs f2, 0x18(r1) /* 801B69DC 001B393C 7F 44 D3 78 */ mr r4, r26 /* 801B69E0 001B3940 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801B69E4 001B3944 7F C5 F3 78 */ mr r5, r30 /* 801B69E8 001B3948 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801B69EC 001B394C 7F E6 FB 78 */ mr r6, r31 /* 801B69F0 001B3950 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801B69F4 001B3954 38 79 01 18 */ addi r3, r25, 0x118 /* 801B69F8 001B3958 38 E0 00 03 */ li r7, 3 /* 801B69FC 001B395C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801B6A00 001B3960 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801B6A04 001B3964 48 00 18 39 */ bl SetValue__11CMarkerGridFUiUiUiUi /* 801B6A08 001B3968 38 79 01 08 */ addi r3, r25, 0x108 /* 801B6A0C 001B396C 38 81 00 24 */ addi r4, r1, 0x24 /* 801B6A10 001B3970 48 00 01 B5 */ bl pointInSphere__FRC7CSphereRC9CVector3f /* 801B6A14 001B3974 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6A18 001B3978 41 82 00 94 */ beq lbl_801B6AAC /* 801B6A1C 001B397C C0 61 00 24 */ lfs f3, 0x24(r1) /* 801B6A20 001B3980 38 79 01 18 */ addi r3, r25, 0x118 /* 801B6A24 001B3984 C0 41 00 28 */ lfs f2, 0x28(r1) /* 801B6A28 001B3988 38 81 00 08 */ addi r4, r1, 8 /* 801B6A2C 001B398C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801B6A30 001B3990 38 A0 00 02 */ li r5, 2 /* 801B6A34 001B3994 C0 02 A9 80 */ lfs f0, lbl_805AC6A0@sda21(r2) /* 801B6A38 001B3998 D0 61 00 08 */ stfs f3, 8(r1) /* 801B6A3C 001B399C D0 41 00 0C */ stfs f2, 0xc(r1) /* 801B6A40 001B39A0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801B6A44 001B39A4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801B6A48 001B39A8 48 00 14 61 */ bl MarkCells__11CMarkerGridFRC7CSphereUi /* 801B6A4C 001B39AC C0 22 A9 80 */ lfs f1, lbl_805AC6A0@sda21(r2) /* 801B6A50 001B39B0 28 18 00 00 */ cmplwi r24, 0 /* 801B6A54 001B39B4 C0 02 A9 84 */ lfs f0, lbl_805AC6A4@sda21(r2) /* 801B6A58 001B39B8 38 00 00 01 */ li r0, 1 /* 801B6A5C 001B39BC C0 81 00 24 */ lfs f4, 0x24(r1) /* 801B6A60 001B39C0 C0 61 00 28 */ lfs f3, 0x28(r1) /* 801B6A64 001B39C4 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801B6A68 001B39C8 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801B6A6C 001B39CC D0 61 00 34 */ stfs f3, 0x34(r1) /* 801B6A70 001B39D0 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801B6A74 001B39D4 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801B6A78 001B39D8 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801B6A7C 001B39DC D0 01 00 44 */ stfs f0, 0x44(r1) /* 801B6A80 001B39E0 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801B6A84 001B39E4 98 18 00 1C */ stb r0, 0x1c(r24) /* 801B6A88 001B39E8 41 82 01 28 */ beq lbl_801B6BB0 /* 801B6A8C 001B39EC D0 98 00 00 */ stfs f4, 0(r24) /* 801B6A90 001B39F0 D0 78 00 04 */ stfs f3, 4(r24) /* 801B6A94 001B39F4 D0 58 00 08 */ stfs f2, 8(r24) /* 801B6A98 001B39F8 D0 38 00 0C */ stfs f1, 0xc(r24) /* 801B6A9C 001B39FC D0 38 00 10 */ stfs f1, 0x10(r24) /* 801B6AA0 001B3A00 D0 18 00 14 */ stfs f0, 0x14(r24) /* 801B6AA4 001B3A04 D0 18 00 18 */ stfs f0, 0x18(r24) /* 801B6AA8 001B3A08 48 00 01 08 */ b lbl_801B6BB0 lbl_801B6AAC: /* 801B6AAC 001B3A0C 28 1B 00 00 */ cmplwi r27, 0 /* 801B6AB0 001B3A10 41 82 00 0C */ beq lbl_801B6ABC /* 801B6AB4 001B3A14 3B 5A 00 01 */ addi r26, r26, 1 /* 801B6AB8 001B3A18 48 00 00 08 */ b lbl_801B6AC0 lbl_801B6ABC: /* 801B6ABC 001B3A1C 3B 5A FF FF */ addi r26, r26, -1 lbl_801B6AC0: /* 801B6AC0 001B3A20 28 1B 00 00 */ cmplwi r27, 0 /* 801B6AC4 001B3A24 41 82 00 1C */ beq lbl_801B6AE0 /* 801B6AC8 001B3A28 38 60 00 0E */ li r3, 0xe /* 801B6ACC 001B3A2C 7C 60 D2 78 */ xor r0, r3, r26 /* 801B6AD0 001B3A30 7C 00 00 34 */ cntlzw r0, r0 /* 801B6AD4 001B3A34 7C 60 00 30 */ slw r0, r3, r0 /* 801B6AD8 001B3A38 54 00 0F FE */ srwi r0, r0, 0x1f /* 801B6ADC 001B3A3C 48 00 00 1C */ b lbl_801B6AF8 lbl_801B6AE0: /* 801B6AE0 001B3A40 38 1A FF FF */ addi r0, r26, -1 /* 801B6AE4 001B3A44 38 60 00 01 */ li r3, 1 /* 801B6AE8 001B3A48 7F 43 1B 38 */ orc r3, r26, r3 /* 801B6AEC 001B3A4C 54 00 F8 7E */ srwi r0, r0, 1 /* 801B6AF0 001B3A50 7C 00 18 50 */ subf r0, r0, r3 /* 801B6AF4 001B3A54 54 00 0F FE */ srwi r0, r0, 0x1f lbl_801B6AF8: /* 801B6AF8 001B3A58 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801B6AFC 001B3A5C 40 82 FE A8 */ bne lbl_801B69A4 /* 801B6B00 001B3A60 28 1C 00 00 */ cmplwi r28, 0 /* 801B6B04 001B3A64 41 82 00 0C */ beq lbl_801B6B10 /* 801B6B08 001B3A68 3B DE 00 01 */ addi r30, r30, 1 /* 801B6B0C 001B3A6C 48 00 00 08 */ b lbl_801B6B14 lbl_801B6B10: /* 801B6B10 001B3A70 3B DE FF FF */ addi r30, r30, -1 lbl_801B6B14: /* 801B6B14 001B3A74 28 1C 00 00 */ cmplwi r28, 0 /* 801B6B18 001B3A78 41 82 00 1C */ beq lbl_801B6B34 /* 801B6B1C 001B3A7C 38 60 00 0E */ li r3, 0xe /* 801B6B20 001B3A80 7C 60 F2 78 */ xor r0, r3, r30 /* 801B6B24 001B3A84 7C 00 00 34 */ cntlzw r0, r0 /* 801B6B28 001B3A88 7C 60 00 30 */ slw r0, r3, r0 /* 801B6B2C 001B3A8C 54 00 0F FE */ srwi r0, r0, 0x1f /* 801B6B30 001B3A90 48 00 00 1C */ b lbl_801B6B4C lbl_801B6B34: /* 801B6B34 001B3A94 38 1E FF FF */ addi r0, r30, -1 /* 801B6B38 001B3A98 38 60 00 01 */ li r3, 1 /* 801B6B3C 001B3A9C 7F C3 1B 38 */ orc r3, r30, r3 /* 801B6B40 001B3AA0 54 00 F8 7E */ srwi r0, r0, 1 /* 801B6B44 001B3AA4 7C 00 18 50 */ subf r0, r0, r3 /* 801B6B48 001B3AA8 54 00 0F FE */ srwi r0, r0, 0x1f lbl_801B6B4C: /* 801B6B4C 001B3AAC 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801B6B50 001B3AB0 40 82 FE 4C */ bne lbl_801B699C /* 801B6B54 001B3AB4 28 1D 00 00 */ cmplwi r29, 0 /* 801B6B58 001B3AB8 41 82 00 0C */ beq lbl_801B6B64 /* 801B6B5C 001B3ABC 3B FF 00 01 */ addi r31, r31, 1 /* 801B6B60 001B3AC0 48 00 00 08 */ b lbl_801B6B68 lbl_801B6B64: /* 801B6B64 001B3AC4 3B FF FF FF */ addi r31, r31, -1 lbl_801B6B68: /* 801B6B68 001B3AC8 28 1D 00 00 */ cmplwi r29, 0 /* 801B6B6C 001B3ACC 41 82 00 1C */ beq lbl_801B6B88 /* 801B6B70 001B3AD0 38 60 00 0E */ li r3, 0xe /* 801B6B74 001B3AD4 7C 60 FA 78 */ xor r0, r3, r31 /* 801B6B78 001B3AD8 7C 00 00 34 */ cntlzw r0, r0 /* 801B6B7C 001B3ADC 7C 60 00 30 */ slw r0, r3, r0 /* 801B6B80 001B3AE0 54 00 0F FE */ srwi r0, r0, 0x1f /* 801B6B84 001B3AE4 48 00 00 1C */ b lbl_801B6BA0 lbl_801B6B88: /* 801B6B88 001B3AE8 38 1F FF FF */ addi r0, r31, -1 /* 801B6B8C 001B3AEC 38 60 00 01 */ li r3, 1 /* 801B6B90 001B3AF0 7F E3 1B 38 */ orc r3, r31, r3 /* 801B6B94 001B3AF4 54 00 F8 7E */ srwi r0, r0, 1 /* 801B6B98 001B3AF8 7C 00 18 50 */ subf r0, r0, r3 /* 801B6B9C 001B3AFC 54 00 0F FE */ srwi r0, r0, 0x1f lbl_801B6BA0: /* 801B6BA0 001B3B00 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801B6BA4 001B3B04 40 82 FD F0 */ bne lbl_801B6994 /* 801B6BA8 001B3B08 38 00 00 00 */ li r0, 0 /* 801B6BAC 001B3B0C 98 18 00 1C */ stb r0, 0x1c(r24) lbl_801B6BB0: /* 801B6BB0 001B3B10 BB 01 00 50 */ lmw r24, 0x50(r1) /* 801B6BB4 001B3B14 80 01 00 74 */ lwz r0, 0x74(r1) /* 801B6BB8 001B3B18 7C 08 03 A6 */ mtlr r0 /* 801B6BBC 001B3B1C 38 21 00 70 */ addi r1, r1, 0x70 /* 801B6BC0 001B3B20 4E 80 00 20 */ blr .global pointInSphere__FRC7CSphereRC9CVector3f pointInSphere__FRC7CSphereRC9CVector3f: /* 801B6BC4 001B3B24 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B6BC8 001B3B28 C0 43 00 04 */ lfs f2, 4(r3) /* 801B6BCC 001B3B2C C0 04 00 04 */ lfs f0, 4(r4) /* 801B6BD0 001B3B30 C0 23 00 00 */ lfs f1, 0(r3) /* 801B6BD4 001B3B34 EC 82 00 28 */ fsubs f4, f2, f0 /* 801B6BD8 001B3B38 C0 04 00 00 */ lfs f0, 0(r4) /* 801B6BDC 001B3B3C C0 A3 00 0C */ lfs f5, 0xc(r3) /* 801B6BE0 001B3B40 EC 41 00 28 */ fsubs f2, f1, f0 /* 801B6BE4 001B3B44 C0 63 00 08 */ lfs f3, 8(r3) /* 801B6BE8 001B3B48 C0 24 00 08 */ lfs f1, 8(r4) /* 801B6BEC 001B3B4C EC 04 01 32 */ fmuls f0, f4, f4 /* 801B6BF0 001B3B50 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801B6BF4 001B3B54 EC 63 08 28 */ fsubs f3, f3, f1 /* 801B6BF8 001B3B58 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801B6BFC 001B3B5C D0 41 00 08 */ stfs f2, 8(r1) /* 801B6C00 001B3B60 EC A5 01 72 */ fmuls f5, f5, f5 /* 801B6C04 001B3B64 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801B6C08 001B3B68 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801B6C0C 001B3B6C EC 01 00 2A */ fadds f0, f1, f0 /* 801B6C10 001B3B70 EC 02 00 2A */ fadds f0, f2, f0 /* 801B6C14 001B3B74 FC 00 28 40 */ fcmpo cr0, f0, f5 /* 801B6C18 001B3B78 4C 40 13 82 */ cror 2, 0, 2 /* 801B6C1C 001B3B7C 7C 00 00 26 */ mfcr r0 /* 801B6C20 001B3B80 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 801B6C24 001B3B84 38 21 00 20 */ addi r1, r1, 0x20 /* 801B6C28 001B3B88 4E 80 00 20 */ blr .global Touch__10CIceImpactFR6CActorR13CStateManager Touch__10CIceImpactFR6CActorR13CStateManager: /* 801B6C2C 001B3B8C 94 21 FE E0 */ stwu r1, -0x120(r1) /* 801B6C30 001B3B90 7C 08 02 A6 */ mflr r0 /* 801B6C34 001B3B94 90 01 01 24 */ stw r0, 0x124(r1) /* 801B6C38 001B3B98 93 E1 01 1C */ stw r31, 0x11c(r1) /* 801B6C3C 001B3B9C 7C BF 2B 78 */ mr r31, r5 /* 801B6C40 001B3BA0 93 C1 01 18 */ stw r30, 0x118(r1) /* 801B6C44 001B3BA4 7C 9E 23 78 */ mr r30, r4 /* 801B6C48 001B3BA8 93 A1 01 14 */ stw r29, 0x114(r1) /* 801B6C4C 001B3BAC 7C 7D 1B 78 */ mr r29, r3 /* 801B6C50 001B3BB0 93 81 01 10 */ stw r28, 0x110(r1) /* 801B6C54 001B3BB4 C0 23 00 F4 */ lfs f1, 0xf4(r3) /* 801B6C58 001B3BB8 C0 03 00 F8 */ lfs f0, 0xf8(r3) /* 801B6C5C 001B3BBC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B6C60 001B3BC0 41 81 03 5C */ bgt lbl_801B6FBC /* 801B6C64 001B3BC4 81 84 00 00 */ lwz r12, 0(r4) /* 801B6C68 001B3BC8 38 61 00 98 */ addi r3, r1, 0x98 /* 801B6C6C 001B3BCC 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801B6C70 001B3BD0 7D 89 03 A6 */ mtctr r12 /* 801B6C74 001B3BD4 4E 80 04 21 */ bctrl /* 801B6C78 001B3BD8 88 01 00 B0 */ lbz r0, 0xb0(r1) /* 801B6C7C 001B3BDC 28 00 00 00 */ cmplwi r0, 0 /* 801B6C80 001B3BE0 98 01 01 00 */ stb r0, 0x100(r1) /* 801B6C84 001B3BE4 41 82 00 3C */ beq lbl_801B6CC0 /* 801B6C88 001B3BE8 34 61 00 E8 */ addic. r3, r1, 0xe8 /* 801B6C8C 001B3BEC 41 82 00 34 */ beq lbl_801B6CC0 /* 801B6C90 001B3BF0 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801B6C94 001B3BF4 D0 03 00 00 */ stfs f0, 0(r3) /* 801B6C98 001B3BF8 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801B6C9C 001B3BFC D0 03 00 04 */ stfs f0, 4(r3) /* 801B6CA0 001B3C00 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 801B6CA4 001B3C04 D0 03 00 08 */ stfs f0, 8(r3) /* 801B6CA8 001B3C08 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801B6CAC 001B3C0C D0 03 00 0C */ stfs f0, 0xc(r3) /* 801B6CB0 001B3C10 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801B6CB4 001B3C14 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B6CB8 001B3C18 C0 01 00 AC */ lfs f0, 0xac(r1) /* 801B6CBC 001B3C1C D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801B6CC0: /* 801B6CC0 001B3C20 88 01 01 00 */ lbz r0, 0x100(r1) /* 801B6CC4 001B3C24 38 60 00 00 */ li r3, 0 /* 801B6CC8 001B3C28 98 61 00 B0 */ stb r3, 0xb0(r1) /* 801B6CCC 001B3C2C 28 00 00 00 */ cmplwi r0, 0 /* 801B6CD0 001B3C30 41 82 02 E4 */ beq lbl_801B6FB4 /* 801B6CD4 001B3C34 88 01 00 4C */ lbz r0, 0x4c(r1) /* 801B6CD8 001B3C38 38 C0 00 01 */ li r6, 1 /* 801B6CDC 001B3C3C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801B6CE0 001B3C40 C0 42 A9 88 */ lfs f2, lbl_805AC6A8@sda21(r2) /* 801B6CE4 001B3C44 98 01 00 4C */ stb r0, 0x4c(r1) /* 801B6CE8 001B3C48 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801B6CEC 001B3C4C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801B6CF0 001B3C50 C0 22 A9 84 */ lfs f1, lbl_805AC6A4@sda21(r2) /* 801B6CF4 001B3C54 C0 02 A9 68 */ lfs f0, lbl_805AC688@sda21(r2) /* 801B6CF8 001B3C58 54 05 06 3E */ clrlwi r5, r0, 0x18 /* 801B6CFC 001B3C5C 98 01 00 4C */ stb r0, 0x4c(r1) /* 801B6D00 001B3C60 50 65 2E B4 */ rlwimi r5, r3, 5, 0x1a, 0x1a /* 801B6D04 001B3C64 88 01 00 E4 */ lbz r0, 0xe4(r1) /* 801B6D08 001B3C68 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801B6D0C 001B3C6C 90 C1 00 48 */ stw r6, 0x48(r1) /* 801B6D10 001B3C70 7F C4 F3 78 */ mr r4, r30 /* 801B6D14 001B3C74 38 61 00 40 */ addi r3, r1, 0x40 /* 801B6D18 001B3C78 98 A1 00 4C */ stb r5, 0x4c(r1) /* 801B6D1C 001B3C7C 90 C1 00 CC */ stw r6, 0xcc(r1) /* 801B6D20 001B3C80 98 A1 00 D0 */ stb r5, 0xd0(r1) /* 801B6D24 001B3C84 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 801B6D28 001B3C88 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801B6D2C 001B3C8C D0 21 00 DC */ stfs f1, 0xdc(r1) /* 801B6D30 001B3C90 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 801B6D34 001B3C94 98 01 00 E4 */ stb r0, 0xe4(r1) /* 801B6D38 001B3C98 4B EF 5D 25 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 801B6D3C 001B3C9C 83 83 00 04 */ lwz r28, 4(r3) /* 801B6D40 001B3CA0 28 1C 00 00 */ cmplwi r28, 0 /* 801B6D44 001B3CA4 41 82 01 88 */ beq lbl_801B6ECC /* 801B6D48 001B3CA8 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 801B6D4C 001B3CAC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801B6D50 001B3CB0 C0 A2 A9 84 */ lfs f5, lbl_805AC6A4@sda21(r2) /* 801B6D54 001B3CB4 38 81 00 5C */ addi r4, r1, 0x5c /* 801B6D58 001B3CB8 C0 41 00 F4 */ lfs f2, 0xf4(r1) /* 801B6D5C 001B3CBC 38 A1 00 50 */ addi r5, r1, 0x50 /* 801B6D60 001B3CC0 C0 21 00 EC */ lfs f1, 0xec(r1) /* 801B6D64 001B3CC4 EC E0 28 2A */ fadds f7, f0, f5 /* 801B6D68 001B3CC8 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 801B6D6C 001B3CCC EC 42 28 2A */ fadds f2, f2, f5 /* 801B6D70 001B3CD0 EC C1 28 28 */ fsubs f6, f1, f5 /* 801B6D74 001B3CD4 C0 81 00 FC */ lfs f4, 0xfc(r1) /* 801B6D78 001B3CD8 C0 62 A9 74 */ lfs f3, lbl_805AC694@sda21(r2) /* 801B6D7C 001B3CDC C0 21 00 F0 */ lfs f1, 0xf0(r1) /* 801B6D80 001B3CE0 EC 00 28 28 */ fsubs f0, f0, f5 /* 801B6D84 001B3CE4 EC 84 18 2A */ fadds f4, f4, f3 /* 801B6D88 001B3CE8 EC 21 18 28 */ fsubs f1, f1, f3 /* 801B6D8C 001B3CEC D0 41 00 50 */ stfs f2, 0x50(r1) /* 801B6D90 001B3CF0 D0 E1 00 54 */ stfs f7, 0x54(r1) /* 801B6D94 001B3CF4 D0 81 00 58 */ stfs f4, 0x58(r1) /* 801B6D98 001B3CF8 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801B6D9C 001B3CFC D0 C1 00 60 */ stfs f6, 0x60(r1) /* 801B6DA0 001B3D00 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801B6DA4 001B3D04 48 18 17 65 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801B6DA8 001B3D08 38 7D 01 18 */ addi r3, r29, 0x118 /* 801B6DAC 001B3D0C 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801B6DB0 001B3D10 38 A0 00 01 */ li r5, 1 /* 801B6DB4 001B3D14 48 00 12 0D */ bl AABoxTouchesData__11CMarkerGridCFRC6CAABoxUi /* 801B6DB8 001B3D18 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6DBC 001B3D1C 41 82 01 10 */ beq lbl_801B6ECC /* 801B6DC0 001B3D20 88 01 00 3C */ lbz r0, 0x3c(r1) /* 801B6DC4 001B3D24 38 80 00 00 */ li r4, 0 /* 801B6DC8 001B3D28 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801B6DCC 001B3D2C 38 A0 00 01 */ li r5, 1 /* 801B6DD0 001B3D30 98 01 00 3C */ stb r0, 0x3c(r1) /* 801B6DD4 001B3D34 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801B6DD8 001B3D38 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801B6DDC 001B3D3C 7F 83 E3 78 */ mr r3, r28 /* 801B6DE0 001B3D40 98 01 00 3C */ stb r0, 0x3c(r1) /* 801B6DE4 001B3D44 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801B6DE8 001B3D48 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801B6DEC 001B3D4C 90 A1 00 38 */ stw r5, 0x38(r1) /* 801B6DF0 001B3D50 98 01 00 3C */ stb r0, 0x3c(r1) /* 801B6DF4 001B3D54 81 9C 00 00 */ lwz r12, 0(r28) /* 801B6DF8 001B3D58 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801B6DFC 001B3D5C 7D 89 03 A6 */ mtctr r12 /* 801B6E00 001B3D60 4E 80 04 21 */ bctrl /* 801B6E04 001B3D64 38 81 00 38 */ addi r4, r1, 0x38 /* 801B6E08 001B3D68 38 A0 00 00 */ li r5, 0 /* 801B6E0C 001B3D6C 4B F4 B7 79 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei /* 801B6E10 001B3D70 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6E14 001B3D74 41 82 00 B8 */ beq lbl_801B6ECC /* 801B6E18 001B3D78 88 1C 04 E1 */ lbz r0, 0x4e1(r28) /* 801B6E1C 001B3D7C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B6E20 001B3D80 41 82 00 AC */ beq lbl_801B6ECC /* 801B6E24 001B3D84 80 7C 04 50 */ lwz r3, 0x450(r28) /* 801B6E28 001B3D88 4B F8 32 A5 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801B6E2C 001B3D8C C0 02 A9 84 */ lfs f0, lbl_805AC6A4@sda21(r2) /* 801B6E30 001B3D90 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801B6E34 001B3D94 40 82 00 98 */ bne lbl_801B6ECC /* 801B6E38 001B3D98 C0 3D 00 F8 */ lfs f1, 0xf8(r29) /* 801B6E3C 001B3D9C C0 5D 00 F4 */ lfs f2, 0xf4(r29) /* 801B6E40 001B3DA0 C0 02 A9 74 */ lfs f0, lbl_805AC694@sda21(r2) /* 801B6E44 001B3DA4 EC 21 10 28 */ fsubs f1, f1, f2 /* 801B6E48 001B3DA8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B6E4C 001B3DAC 40 81 00 80 */ ble lbl_801B6ECC /* 801B6E50 001B3DB0 C0 02 A9 8C */ lfs f0, lbl_805AC6AC@sda21(r2) /* 801B6E54 001B3DB4 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801B6E58 001B3DB8 40 80 00 74 */ bge lbl_801B6ECC /* 801B6E5C 001B3DBC 80 AD 90 D8 */ lwz r5, lbl_805A7C98@sda21(r13) /* 801B6E60 001B3DC0 38 60 00 00 */ li r3, 0 /* 801B6E64 001B3DC4 38 80 00 01 */ li r4, 1 /* 801B6E68 001B3DC8 48 1D 30 8D */ bl __shl2i /* 801B6E6C 001B3DCC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B6E70 001B3DD0 39 00 00 00 */ li r8, 0 /* 801B6E74 001B3DD4 39 40 00 03 */ li r10, 3 /* 801B6E78 001B3DD8 90 81 00 84 */ stw r4, 0x84(r1) /* 801B6E7C 001B3DDC 3C A0 80 5A */ lis r5, skZero3f@ha /* 801B6E80 001B3DE0 38 81 00 2C */ addi r4, r1, 0x2c /* 801B6E84 001B3DE4 90 61 00 80 */ stw r3, 0x80(r1) /* 801B6E88 001B3DE8 39 25 66 A0 */ addi r9, r5, skZero3f@l /* 801B6E8C 001B3DEC 7F E3 FB 78 */ mr r3, r31 /* 801B6E90 001B3DF0 38 A1 00 24 */ addi r5, r1, 0x24 /* 801B6E94 001B3DF4 91 01 00 8C */ stw r8, 0x8c(r1) /* 801B6E98 001B3DF8 38 C1 00 1C */ addi r6, r1, 0x1c /* 801B6E9C 001B3DFC 38 E1 00 CC */ addi r7, r1, 0xcc /* 801B6EA0 001B3E00 91 01 00 88 */ stw r8, 0x88(r1) /* 801B6EA4 001B3E04 39 01 00 80 */ addi r8, r1, 0x80 /* 801B6EA8 001B3E08 91 41 00 90 */ stw r10, 0x90(r1) /* 801B6EAC 001B3E0C B0 01 00 1C */ sth r0, 0x1c(r1) /* 801B6EB0 001B3E10 A1 5E 00 08 */ lhz r10, 8(r30) /* 801B6EB4 001B3E14 B1 41 00 24 */ sth r10, 0x24(r1) /* 801B6EB8 001B3E18 A0 1D 00 08 */ lhz r0, 8(r29) /* 801B6EBC 001B3E1C B1 41 00 20 */ sth r10, 0x20(r1) /* 801B6EC0 001B3E20 B0 01 00 28 */ sth r0, 0x28(r1) /* 801B6EC4 001B3E24 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801B6EC8 001B3E28 4B E9 31 D9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_801B6ECC: /* 801B6ECC 001B3E2C 80 7E 00 68 */ lwz r3, 0x68(r30) /* 801B6ED0 001B3E30 3C 00 01 00 */ lis r0, 0x100 /* 801B6ED4 001B3E34 80 BE 00 6C */ lwz r5, 0x6c(r30) /* 801B6ED8 001B3E38 38 80 00 00 */ li r4, 0 /* 801B6EDC 001B3E3C 7C 60 00 38 */ and r0, r3, r0 /* 801B6EE0 001B3E40 7C A3 20 38 */ and r3, r5, r4 /* 801B6EE4 001B3E44 7C 63 22 78 */ xor r3, r3, r4 /* 801B6EE8 001B3E48 7C 00 22 78 */ xor r0, r0, r4 /* 801B6EEC 001B3E4C 7C 60 03 79 */ or. r0, r3, r0 /* 801B6EF0 001B3E50 41 82 00 8C */ beq lbl_801B6F7C /* 801B6EF4 001B3E54 38 7D 01 18 */ addi r3, r29, 0x118 /* 801B6EF8 001B3E58 38 81 00 E8 */ addi r4, r1, 0xe8 /* 801B6EFC 001B3E5C 38 A0 00 01 */ li r5, 1 /* 801B6F00 001B3E60 48 00 10 C1 */ bl AABoxTouchesData__11CMarkerGridCFRC6CAABoxUi /* 801B6F04 001B3E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B6F08 001B3E68 41 82 00 74 */ beq lbl_801B6F7C /* 801B6F0C 001B3E6C 80 AD 90 D8 */ lwz r5, lbl_805A7C98@sda21(r13) /* 801B6F10 001B3E70 38 60 00 00 */ li r3, 0 /* 801B6F14 001B3E74 38 80 00 01 */ li r4, 1 /* 801B6F18 001B3E78 48 1D 2F DD */ bl __shl2i /* 801B6F1C 001B3E7C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B6F20 001B3E80 39 00 00 00 */ li r8, 0 /* 801B6F24 001B3E84 39 40 00 03 */ li r10, 3 /* 801B6F28 001B3E88 90 81 00 6C */ stw r4, 0x6c(r1) /* 801B6F2C 001B3E8C 3C A0 80 5A */ lis r5, skZero3f@ha /* 801B6F30 001B3E90 38 81 00 18 */ addi r4, r1, 0x18 /* 801B6F34 001B3E94 90 61 00 68 */ stw r3, 0x68(r1) /* 801B6F38 001B3E98 39 25 66 A0 */ addi r9, r5, skZero3f@l /* 801B6F3C 001B3E9C 7F E3 FB 78 */ mr r3, r31 /* 801B6F40 001B3EA0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801B6F44 001B3EA4 91 01 00 74 */ stw r8, 0x74(r1) /* 801B6F48 001B3EA8 38 C1 00 08 */ addi r6, r1, 8 /* 801B6F4C 001B3EAC 38 E1 00 CC */ addi r7, r1, 0xcc /* 801B6F50 001B3EB0 91 01 00 70 */ stw r8, 0x70(r1) /* 801B6F54 001B3EB4 39 01 00 68 */ addi r8, r1, 0x68 /* 801B6F58 001B3EB8 91 41 00 78 */ stw r10, 0x78(r1) /* 801B6F5C 001B3EBC B0 01 00 08 */ sth r0, 8(r1) /* 801B6F60 001B3EC0 A1 5E 00 08 */ lhz r10, 8(r30) /* 801B6F64 001B3EC4 B1 41 00 10 */ sth r10, 0x10(r1) /* 801B6F68 001B3EC8 A0 1D 00 08 */ lhz r0, 8(r29) /* 801B6F6C 001B3ECC B1 41 00 0C */ sth r10, 0xc(r1) /* 801B6F70 001B3ED0 B0 01 00 14 */ sth r0, 0x14(r1) /* 801B6F74 001B3ED4 B0 01 00 18 */ sth r0, 0x18(r1) /* 801B6F78 001B3ED8 4B E9 31 29 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_801B6F7C: /* 801B6F7C 001B3EDC 7F C4 F3 78 */ mr r4, r30 /* 801B6F80 001B3EE0 38 61 00 30 */ addi r3, r1, 0x30 /* 801B6F84 001B3EE4 4B EE EC 8D */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity" /* 801B6F88 001B3EE8 80 63 00 04 */ lwz r3, 4(r3) /* 801B6F8C 001B3EEC 28 03 00 00 */ cmplwi r3, 0 /* 801B6F90 001B3EF0 41 82 00 24 */ beq lbl_801B6FB4 /* 801B6F94 001B3EF4 C0 5D 00 F8 */ lfs f2, 0xf8(r29) /* 801B6F98 001B3EF8 C0 3D 00 F4 */ lfs f1, 0xf4(r29) /* 801B6F9C 001B3EFC C0 02 A9 74 */ lfs f0, lbl_805AC694@sda21(r2) /* 801B6FA0 001B3F00 EC 22 08 28 */ fsubs f1, f2, f1 /* 801B6FA4 001B3F04 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B6FA8 001B3F08 40 81 00 0C */ ble lbl_801B6FB4 /* 801B6FAC 001B3F0C 38 9D 01 18 */ addi r4, r29, 0x118 /* 801B6FB0 001B3F10 48 03 09 6D */ bl FreezeCollision__17CWallCrawlerSwarmFRC11CMarkerGridf lbl_801B6FB4: /* 801B6FB4 001B3F14 38 00 00 00 */ li r0, 0 /* 801B6FB8 001B3F18 98 01 01 00 */ stb r0, 0x100(r1) lbl_801B6FBC: /* 801B6FBC 001B3F1C 80 01 01 24 */ lwz r0, 0x124(r1) /* 801B6FC0 001B3F20 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 801B6FC4 001B3F24 83 C1 01 18 */ lwz r30, 0x118(r1) /* 801B6FC8 001B3F28 83 A1 01 14 */ lwz r29, 0x114(r1) /* 801B6FCC 001B3F2C 83 81 01 10 */ lwz r28, 0x110(r1) /* 801B6FD0 001B3F30 7C 08 03 A6 */ mtlr r0 /* 801B6FD4 001B3F34 38 21 01 20 */ addi r1, r1, 0x120 /* 801B6FD8 001B3F38 4E 80 00 20 */ blr .global GetTouchBounds__10CIceImpactCFv GetTouchBounds__10CIceImpactCFv: /* 801B6FDC 001B3F3C 38 00 00 01 */ li r0, 1 /* 801B6FE0 001B3F40 28 03 00 00 */ cmplwi r3, 0 /* 801B6FE4 001B3F44 98 03 00 18 */ stb r0, 0x18(r3) /* 801B6FE8 001B3F48 4D 82 00 20 */ beqlr /* 801B6FEC 001B3F4C C0 04 01 18 */ lfs f0, 0x118(r4) /* 801B6FF0 001B3F50 D0 03 00 00 */ stfs f0, 0(r3) /* 801B6FF4 001B3F54 C0 04 01 1C */ lfs f0, 0x11c(r4) /* 801B6FF8 001B3F58 D0 03 00 04 */ stfs f0, 4(r3) /* 801B6FFC 001B3F5C C0 04 01 20 */ lfs f0, 0x120(r4) /* 801B7000 001B3F60 D0 03 00 08 */ stfs f0, 8(r3) /* 801B7004 001B3F64 C0 04 01 24 */ lfs f0, 0x124(r4) /* 801B7008 001B3F68 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801B700C 001B3F6C C0 04 01 28 */ lfs f0, 0x128(r4) /* 801B7010 001B3F70 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B7014 001B3F74 C0 04 01 2C */ lfs f0, 0x12c(r4) /* 801B7018 001B3F78 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801B701C 001B3F7C 4E 80 00 20 */ blr .global AcceptScriptMsg__10CIceImpactF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__10CIceImpactF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801B7020 001B3F80 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801B7024 001B3F84 7C 08 02 A6 */ mflr r0 /* 801B7028 001B3F88 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801B702C 001B3F8C BE E1 00 AC */ stmw r23, 0xac(r1) /* 801B7030 001B3F90 7C 9D 23 78 */ mr r29, r4 /* 801B7034 001B3F94 2C 1D 00 22 */ cmpwi r29, 0x22 /* 801B7038 001B3F98 7C 7C 1B 78 */ mr r28, r3 /* 801B703C 001B3F9C 7C BE 2B 78 */ mr r30, r5 /* 801B7040 001B3FA0 7C DF 33 78 */ mr r31, r6 /* 801B7044 001B3FA4 41 82 01 44 */ beq lbl_801B7188 /* 801B7048 001B3FA8 40 80 01 6C */ bge lbl_801B71B4 /* 801B704C 001B3FAC 2C 1D 00 21 */ cmpwi r29, 0x21 /* 801B7050 001B3FB0 40 80 00 08 */ bge lbl_801B7058 /* 801B7054 001B3FB4 48 00 01 60 */ b lbl_801B71B4 lbl_801B7058: /* 801B7058 001B3FB8 80 7C 00 E8 */ lwz r3, 0xe8(r28) /* 801B705C 001B3FBC 81 83 00 00 */ lwz r12, 0(r3) /* 801B7060 001B3FC0 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801B7064 001B3FC4 7D 89 03 A6 */ mtctr r12 /* 801B7068 001B3FC8 4E 80 04 21 */ bctrl /* 801B706C 001B3FCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B7070 001B3FD0 41 82 01 44 */ beq lbl_801B71B4 /* 801B7074 001B3FD4 7F E4 FB 78 */ mr r4, r31 /* 801B7078 001B3FD8 38 61 00 2C */ addi r3, r1, 0x2c /* 801B707C 001B3FDC 4B E9 60 61 */ bl AllocateUniqueId__13CStateManagerFv /* 801B7080 001B3FE0 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 801B7084 001B3FE4 3C 60 80 3D */ lis r3, lbl_803D1640@ha /* 801B7088 001B3FE8 38 83 16 40 */ addi r4, r3, lbl_803D1640@l /* 801B708C 001B3FEC 3B 60 00 00 */ li r27, 0 /* 801B7090 001B3FF0 B0 1C 00 EC */ sth r0, 0xec(r28) /* 801B7094 001B3FF4 3A E0 00 00 */ li r23, 0 /* 801B7098 001B3FF8 38 60 01 48 */ li r3, 0x148 /* 801B709C 001B3FFC 38 A0 00 00 */ li r5, 0 /* 801B70A0 001B4000 83 1C 00 F0 */ lwz r24, 0xf0(r28) /* 801B70A4 001B4004 48 15 E7 C9 */ bl __nw__FUlPCcPCc /* 801B70A8 001B4008 7C 7A 1B 79 */ or. r26, r3, r3 /* 801B70AC 001B400C 41 82 00 AC */ beq lbl_801B7158 /* 801B70B0 001B4010 A0 1C 00 08 */ lhz r0, 8(r28) /* 801B70B4 001B4014 3C 60 80 3D */ lis r3, lbl_803D1640@ha /* 801B70B8 001B4018 83 3C 00 E8 */ lwz r25, 0xe8(r28) /* 801B70BC 001B401C 38 83 16 40 */ addi r4, r3, lbl_803D1640@l /* 801B70C0 001B4020 B0 01 00 24 */ sth r0, 0x24(r1) /* 801B70C4 001B4024 38 61 00 48 */ addi r3, r1, 0x48 /* 801B70C8 001B4028 38 84 00 07 */ addi r4, r4, 7 /* 801B70CC 001B402C B0 01 00 28 */ sth r0, 0x28(r1) /* 801B70D0 001B4030 4B E4 DB E9 */ bl string_l__4rstlFPCc /* 801B70D4 001B4034 38 61 00 38 */ addi r3, r1, 0x38 /* 801B70D8 001B4038 38 81 00 48 */ addi r4, r1, 0x48 /* 801B70DC 001B403C 38 BC 00 10 */ addi r5, r28, 0x10 /* 801B70E0 001B4040 3B 60 00 01 */ li r27, 1 /* 801B70E4 001B4044 4B E4 DB 79 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801B70E8 001B4048 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801B70EC 001B404C 7F 24 CB 78 */ mr r4, r25 /* 801B70F0 001B4050 80 BC 00 04 */ lwz r5, 4(r28) /* 801B70F4 001B4054 38 61 00 58 */ addi r3, r1, 0x58 /* 801B70F8 001B4058 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f /* 801B70FC 001B405C 3A E0 00 01 */ li r23, 1 /* 801B7100 001B4060 90 A1 00 34 */ stw r5, 0x34(r1) /* 801B7104 001B4064 A0 1C 00 EC */ lhz r0, 0xec(r28) /* 801B7108 001B4068 90 A1 00 30 */ stw r5, 0x30(r1) /* 801B710C 001B406C B0 01 00 20 */ sth r0, 0x20(r1) /* 801B7110 001B4070 81 84 00 00 */ lwz r12, 0(r4) /* 801B7114 001B4074 81 8C 00 68 */ lwz r12, 0x68(r12) /* 801B7118 001B4078 7D 89 03 A6 */ mtctr r12 /* 801B711C 001B407C 4E 80 04 21 */ bctrl /* 801B7120 001B4080 93 01 00 08 */ stw r24, 8(r1) /* 801B7124 001B4084 38 00 00 01 */ li r0, 1 /* 801B7128 001B4088 C0 22 A9 84 */ lfs f1, lbl_805AC6A4@sda21(r2) /* 801B712C 001B408C 7F 43 D3 78 */ mr r3, r26 /* 801B7130 001B4090 90 01 00 0C */ stw r0, 0xc(r1) /* 801B7134 001B4094 7F 26 CB 78 */ mr r6, r25 /* 801B7138 001B4098 38 81 00 20 */ addi r4, r1, 0x20 /* 801B713C 001B409C 38 A1 00 34 */ addi r5, r1, 0x34 /* 801B7140 001B40A0 38 E1 00 38 */ addi r7, r1, 0x38 /* 801B7144 001B40A4 39 1C 00 34 */ addi r8, r28, 0x34 /* 801B7148 001B40A8 39 21 00 28 */ addi r9, r1, 0x28 /* 801B714C 001B40AC 39 41 00 58 */ addi r10, r1, 0x58 /* 801B7150 001B40B0 4B EF E6 D5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" /* 801B7154 001B40B4 7C 7A 1B 78 */ mr r26, r3 lbl_801B7158: /* 801B7158 001B40B8 7F E3 FB 78 */ mr r3, r31 /* 801B715C 001B40BC 7F 44 D3 78 */ mr r4, r26 /* 801B7160 001B40C0 4B E9 5B 95 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801B7164 001B40C4 7E E0 07 75 */ extsb. r0, r23 /* 801B7168 001B40C8 41 82 00 0C */ beq lbl_801B7174 /* 801B716C 001B40CC 38 61 00 38 */ addi r3, r1, 0x38 /* 801B7170 001B40D0 48 18 69 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801B7174: /* 801B7174 001B40D4 7F 60 07 75 */ extsb. r0, r27 /* 801B7178 001B40D8 41 82 00 3C */ beq lbl_801B71B4 /* 801B717C 001B40DC 38 61 00 48 */ addi r3, r1, 0x48 /* 801B7180 001B40E0 48 18 69 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801B7184 001B40E4 48 00 00 30 */ b lbl_801B71B4 lbl_801B7188: /* 801B7188 001B40E8 A0 7C 00 EC */ lhz r3, 0xec(r28) /* 801B718C 001B40EC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B7190 001B40F0 7C 03 00 40 */ cmplw r3, r0 /* 801B7194 001B40F4 41 82 00 20 */ beq lbl_801B71B4 /* 801B7198 001B40F8 A0 1C 00 EC */ lhz r0, 0xec(r28) /* 801B719C 001B40FC 7F E3 FB 78 */ mr r3, r31 /* 801B71A0 001B4100 38 81 00 1C */ addi r4, r1, 0x1c /* 801B71A4 001B4104 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801B71A8 001B4108 4B E9 50 C5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801B71AC 001B410C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B71B0 001B4110 B0 1C 00 EC */ sth r0, 0xec(r28) lbl_801B71B4: /* 801B71B4 001B4114 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B71B8 001B4118 7F 83 E3 78 */ mr r3, r28 /* 801B71BC 001B411C 7F A4 EB 78 */ mr r4, r29 /* 801B71C0 001B4120 7F E6 FB 78 */ mr r6, r31 /* 801B71C4 001B4124 B0 01 00 18 */ sth r0, 0x18(r1) /* 801B71C8 001B4128 38 A1 00 18 */ addi r5, r1, 0x18 /* 801B71CC 001B412C 4B E9 C4 49 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801B71D0 001B4130 A0 7C 00 EC */ lhz r3, 0xec(r28) /* 801B71D4 001B4134 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B71D8 001B4138 7C 03 00 40 */ cmplw r3, r0 /* 801B71DC 001B413C 41 82 00 28 */ beq lbl_801B7204 /* 801B71E0 001B4140 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B71E4 001B4144 7F E3 FB 78 */ mr r3, r31 /* 801B71E8 001B4148 7F A6 EB 78 */ mr r6, r29 /* 801B71EC 001B414C 38 81 00 14 */ addi r4, r1, 0x14 /* 801B71F0 001B4150 B0 01 00 10 */ sth r0, 0x10(r1) /* 801B71F4 001B4154 38 A1 00 10 */ addi r5, r1, 0x10 /* 801B71F8 001B4158 A0 1C 00 EC */ lhz r0, 0xec(r28) /* 801B71FC 001B415C B0 01 00 14 */ sth r0, 0x14(r1) /* 801B7200 001B4160 4B E8 CC 55 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId lbl_801B7204: /* 801B7204 001B4164 BA E1 00 AC */ lmw r23, 0xac(r1) /* 801B7208 001B4168 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801B720C 001B416C 7C 08 03 A6 */ mtlr r0 /* 801B7210 001B4170 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801B7214 001B4174 4E 80 00 20 */ blr .global Accept__10CIceImpactFR8IVisitor Accept__10CIceImpactFR8IVisitor: /* 801B7218 001B4178 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B721C 001B417C 7C 08 02 A6 */ mflr r0 /* 801B7220 001B4180 90 01 00 14 */ stw r0, 0x14(r1) /* 801B7224 001B4184 7C 60 1B 78 */ mr r0, r3 /* 801B7228 001B4188 7C 83 23 78 */ mr r3, r4 /* 801B722C 001B418C 81 84 00 00 */ lwz r12, 0(r4) /* 801B7230 001B4190 7C 04 03 78 */ mr r4, r0 /* 801B7234 001B4194 81 8C 00 08 */ lwz r12, 8(r12) /* 801B7238 001B4198 7D 89 03 A6 */ mtctr r12 /* 801B723C 001B419C 4E 80 04 21 */ bctrl /* 801B7240 001B41A0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B7244 001B41A4 7C 08 03 A6 */ mtlr r0 /* 801B7248 001B41A8 38 21 00 10 */ addi r1, r1, 0x10 /* 801B724C 001B41AC 4E 80 00 20 */ blr .global Think__10CIceImpactFfR13CStateManager Think__10CIceImpactFfR13CStateManager: /* 801B7250 001B41B0 94 21 E3 80 */ stwu r1, -0x1c80(r1) /* 801B7254 001B41B4 7C 08 02 A6 */ mflr r0 /* 801B7258 001B41B8 90 01 1C 84 */ stw r0, 0x1c84(r1) /* 801B725C 001B41BC 38 00 1C 78 */ li r0, 0x1c78 /* 801B7260 001B41C0 DB E1 1C 70 */ stfd f31, 0x1c70(r1) /* 801B7264 001B41C4 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 801B7268 001B41C8 BF 01 1C 50 */ stmw r24, 0x1c50(r1) /* 801B726C 001B41CC 7C 7A 1B 78 */ mr r26, r3 /* 801B7270 001B41D0 FF E0 08 90 */ fmr f31, f1 /* 801B7274 001B41D4 C0 23 00 F4 */ lfs f1, 0xf4(r3) /* 801B7278 001B41D8 7C 9B 23 78 */ mr r27, r4 /* 801B727C 001B41DC C0 02 A9 8C */ lfs f0, lbl_805AC6AC@sda21(r2) /* 801B7280 001B41E0 EC 21 F8 2A */ fadds f1, f1, f31 /* 801B7284 001B41E4 D0 23 00 F4 */ stfs f1, 0xf4(r3) /* 801B7288 001B41E8 C0 23 00 F4 */ lfs f1, 0xf4(r3) /* 801B728C 001B41EC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B7290 001B41F0 40 80 02 C8 */ bge lbl_801B7558 /* 801B7294 001B41F4 80 7A 00 E8 */ lwz r3, 0xe8(r26) /* 801B7298 001B41F8 81 83 00 00 */ lwz r12, 0(r3) /* 801B729C 001B41FC 81 8C 00 60 */ lwz r12, 0x60(r12) /* 801B72A0 001B4200 7D 89 03 A6 */ mtctr r12 /* 801B72A4 001B4204 4E 80 04 21 */ bctrl /* 801B72A8 001B4208 2C 03 01 90 */ cmpwi r3, 0x190 /* 801B72AC 001B420C 40 80 02 AC */ bge lbl_801B7558 /* 801B72B0 001B4210 3B DA 05 44 */ addi r30, r26, 0x544 /* 801B72B4 001B4214 3B 20 00 00 */ li r25, 0 /* 801B72B8 001B4218 7F DC F3 78 */ mr r28, r30 /* 801B72BC 001B421C 48 00 00 CC */ b lbl_801B7388 lbl_801B72C0: /* 801B72C0 001B4220 C0 3C 00 14 */ lfs f1, 0x14(r28) /* 801B72C4 001B4224 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 801B72C8 001B4228 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B72CC 001B422C 40 81 00 B4 */ ble lbl_801B7380 /* 801B72D0 001B4230 7F 44 D3 78 */ mr r4, r26 /* 801B72D4 001B4234 38 61 00 5C */ addi r3, r1, 0x5c /* 801B72D8 001B4238 4B FF F6 75 */ bl GenerateNewSphere__10CIceImpactFv /* 801B72DC 001B423C 88 01 00 78 */ lbz r0, 0x78(r1) /* 801B72E0 001B4240 28 00 00 00 */ cmplwi r0, 0 /* 801B72E4 001B4244 98 01 00 B0 */ stb r0, 0xb0(r1) /* 801B72E8 001B4248 41 82 00 44 */ beq lbl_801B732C /* 801B72EC 001B424C 34 61 00 94 */ addic. r3, r1, 0x94 /* 801B72F0 001B4250 41 82 00 3C */ beq lbl_801B732C /* 801B72F4 001B4254 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801B72F8 001B4258 D0 03 00 00 */ stfs f0, 0(r3) /* 801B72FC 001B425C C0 01 00 60 */ lfs f0, 0x60(r1) /* 801B7300 001B4260 D0 03 00 04 */ stfs f0, 4(r3) /* 801B7304 001B4264 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801B7308 001B4268 D0 03 00 08 */ stfs f0, 8(r3) /* 801B730C 001B426C C0 01 00 68 */ lfs f0, 0x68(r1) /* 801B7310 001B4270 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801B7314 001B4274 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801B7318 001B4278 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B731C 001B427C C0 01 00 70 */ lfs f0, 0x70(r1) /* 801B7320 001B4280 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801B7324 001B4284 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801B7328 001B4288 D0 03 00 18 */ stfs f0, 0x18(r3) lbl_801B732C: /* 801B732C 001B428C 88 01 00 B0 */ lbz r0, 0xb0(r1) /* 801B7330 001B4290 38 60 00 00 */ li r3, 0 /* 801B7334 001B4294 98 61 00 78 */ stb r3, 0x78(r1) /* 801B7338 001B4298 28 00 00 00 */ cmplwi r0, 0 /* 801B733C 001B429C 41 82 00 3C */ beq lbl_801B7378 /* 801B7340 001B42A0 80 01 00 94 */ lwz r0, 0x94(r1) /* 801B7344 001B42A4 80 61 00 98 */ lwz r3, 0x98(r1) /* 801B7348 001B42A8 90 1C 00 00 */ stw r0, 0(r28) /* 801B734C 001B42AC 80 01 00 9C */ lwz r0, 0x9c(r1) /* 801B7350 001B42B0 90 7C 00 04 */ stw r3, 4(r28) /* 801B7354 001B42B4 C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 801B7358 001B42B8 90 1C 00 08 */ stw r0, 8(r28) /* 801B735C 001B42BC C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801B7360 001B42C0 D0 3C 00 0C */ stfs f1, 0xc(r28) /* 801B7364 001B42C4 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 801B7368 001B42C8 D0 1C 00 10 */ stfs f0, 0x10(r28) /* 801B736C 001B42CC C0 01 00 AC */ lfs f0, 0xac(r1) /* 801B7370 001B42D0 D0 3C 00 14 */ stfs f1, 0x14(r28) /* 801B7374 001B42D4 D0 1C 00 18 */ stfs f0, 0x18(r28) lbl_801B7378: /* 801B7378 001B42D8 38 00 00 00 */ li r0, 0 /* 801B737C 001B42DC 98 01 00 B0 */ stb r0, 0xb0(r1) lbl_801B7380: /* 801B7380 001B42E0 3B 9C 00 1C */ addi r28, r28, 0x1c /* 801B7384 001B42E4 3B 39 00 01 */ addi r25, r25, 1 lbl_801B7388: /* 801B7388 001B42E8 80 1A 05 40 */ lwz r0, 0x540(r26) /* 801B738C 001B42EC 7C 19 00 00 */ cmpw r25, r0 /* 801B7390 001B42F0 41 80 FF 30 */ blt lbl_801B72C0 /* 801B7394 001B42F4 3B A1 01 1C */ addi r29, r1, 0x11c /* 801B7398 001B42F8 3B 80 00 00 */ li r28, 0 /* 801B739C 001B42FC 3B FD 00 04 */ addi r31, r29, 4 /* 801B73A0 001B4300 48 00 01 AC */ b lbl_801B754C lbl_801B73A4: /* 801B73A4 001B4304 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801B73A8 001B4308 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801B73AC 001B430C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B73B0 001B4310 41 81 01 94 */ bgt lbl_801B7544 /* 801B73B4 001B4314 D0 3E 00 18 */ stfs f1, 0x18(r30) /* 801B73B8 001B4318 38 61 00 7C */ addi r3, r1, 0x7c /* 801B73BC 001B431C 38 81 00 30 */ addi r4, r1, 0x30 /* 801B73C0 001B4320 38 A1 00 24 */ addi r5, r1, 0x24 /* 801B73C4 001B4324 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801B73C8 001B4328 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801B73CC 001B432C EC 01 00 2A */ fadds f0, f1, f0 /* 801B73D0 001B4330 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 801B73D4 001B4334 C0 FE 00 04 */ lfs f7, 4(r30) /* 801B73D8 001B4338 C1 3E 00 14 */ lfs f9, 0x14(r30) /* 801B73DC 001B433C C1 1E 00 08 */ lfs f8, 8(r30) /* 801B73E0 001B4340 C0 5E 00 00 */ lfs f2, 0(r30) /* 801B73E4 001B4344 EC C7 48 2A */ fadds f6, f7, f9 /* 801B73E8 001B4348 EC A8 48 2A */ fadds f5, f8, f9 /* 801B73EC 001B434C D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801B73F0 001B4350 EC 22 48 2A */ fadds f1, f2, f9 /* 801B73F4 001B4354 EC 87 48 28 */ fsubs f4, f7, f9 /* 801B73F8 001B4358 D0 E1 00 50 */ stfs f7, 0x50(r1) /* 801B73FC 001B435C EC 68 48 28 */ fsubs f3, f8, f9 /* 801B7400 001B4360 EC 02 48 28 */ fsubs f0, f2, f9 /* 801B7404 001B4364 D1 01 00 54 */ stfs f8, 0x54(r1) /* 801B7408 001B4368 D1 21 00 58 */ stfs f9, 0x58(r1) /* 801B740C 001B436C C1 3E 00 18 */ lfs f9, 0x18(r30) /* 801B7410 001B4370 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801B7414 001B4374 D0 E1 00 40 */ stfs f7, 0x40(r1) /* 801B7418 001B4378 D1 01 00 44 */ stfs f8, 0x44(r1) /* 801B741C 001B437C D1 21 00 48 */ stfs f9, 0x48(r1) /* 801B7420 001B4380 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801B7424 001B4384 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 801B7428 001B4388 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801B742C 001B438C D0 01 00 30 */ stfs f0, 0x30(r1) /* 801B7430 001B4390 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801B7434 001B4394 D0 61 00 38 */ stfs f3, 0x38(r1) /* 801B7438 001B4398 48 18 10 D1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801B743C 001B439C C0 02 A9 84 */ lfs f0, lbl_805AC6A4@sda21(r2) /* 801B7440 001B43A0 7F 43 D3 78 */ mr r3, r26 /* 801B7444 001B43A4 7F 64 DB 78 */ mr r4, r27 /* 801B7448 001B43A8 38 A1 00 7C */ addi r5, r1, 0x7c /* 801B744C 001B43AC D0 1A 01 04 */ stfs f0, 0x104(r26) /* 801B7450 001B43B0 38 C1 00 4C */ addi r6, r1, 0x4c /* 801B7454 001B43B4 38 E1 00 3C */ addi r7, r1, 0x3c /* 801B7458 001B43B8 4B FF EF F5 */ bl GenerateParticlesAgainstActors__10CIceImpactFR13CStateManagerRC6CAABoxRC7CSphereRC7CSphere /* 801B745C 001B43BC 38 61 01 04 */ addi r3, r1, 0x104 /* 801B7460 001B43C0 38 81 00 7C */ addi r4, r1, 0x7c /* 801B7464 001B43C4 48 0E C6 2D */ bl __ct__19CAreaCollisionCacheFRC6CAABox /* 801B7468 001B43C8 7F 63 DB 78 */ mr r3, r27 /* 801B746C 001B43CC 38 81 01 04 */ addi r4, r1, 0x104 /* 801B7470 001B43D0 4B FC D2 55 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache /* 801B7474 001B43D4 7F F9 FB 78 */ mr r25, r31 /* 801B7478 001B43D8 3B 00 00 00 */ li r24, 0 /* 801B747C 001B43DC 48 00 00 24 */ b lbl_801B74A0 lbl_801B7480: /* 801B7480 001B43E0 7F 43 D3 78 */ mr r3, r26 /* 801B7484 001B43E4 7F 64 DB 78 */ mr r4, r27 /* 801B7488 001B43E8 7F 25 CB 78 */ mr r5, r25 /* 801B748C 001B43EC 38 C1 00 4C */ addi r6, r1, 0x4c /* 801B7490 001B43F0 38 E1 00 3C */ addi r7, r1, 0x3c /* 801B7494 001B43F4 4B FF F2 DD */ bl GenerateParticlesAgainstWorld__10CIceImpactFR13CStateManagerRCQ220CMetroidAreaCollider16COctreeLeafCacheRC7CSphereRC7CSphere /* 801B7498 001B43F8 3B 39 09 0C */ addi r25, r25, 0x90c /* 801B749C 001B43FC 3B 18 00 01 */ addi r24, r24, 1 lbl_801B74A0: /* 801B74A0 001B4400 80 01 01 1C */ lwz r0, 0x11c(r1) /* 801B74A4 001B4404 7C 18 00 00 */ cmpw r24, r0 /* 801B74A8 001B4408 41 80 FF D8 */ blt lbl_801B7480 /* 801B74AC 001B440C 28 1D 00 00 */ cmplwi r29, 0 /* 801B74B0 001B4410 41 82 00 94 */ beq lbl_801B7544 /* 801B74B4 001B4414 7F E6 FB 78 */ mr r6, r31 /* 801B74B8 001B4418 38 60 00 00 */ li r3, 0 /* 801B74BC 001B441C 48 00 00 74 */ b lbl_801B7530 lbl_801B74C0: /* 801B74C0 001B4420 28 06 00 00 */ cmplwi r6, 0 /* 801B74C4 001B4424 41 82 00 64 */ beq lbl_801B7528 /* 801B74C8 001B4428 34 06 00 04 */ addic. r0, r6, 4 /* 801B74CC 001B442C 41 82 00 5C */ beq lbl_801B7528 /* 801B74D0 001B4430 80 E6 00 04 */ lwz r7, 4(r6) /* 801B74D4 001B4434 38 80 00 00 */ li r4, 0 /* 801B74D8 001B4438 2C 07 00 00 */ cmpwi r7, 0 /* 801B74DC 001B443C 40 81 00 44 */ ble lbl_801B7520 /* 801B74E0 001B4440 2C 07 00 08 */ cmpwi r7, 8 /* 801B74E4 001B4444 38 A7 FF F8 */ addi r5, r7, -8 /* 801B74E8 001B4448 40 81 00 20 */ ble lbl_801B7508 /* 801B74EC 001B444C 38 05 00 07 */ addi r0, r5, 7 /* 801B74F0 001B4450 54 00 E8 FE */ srwi r0, r0, 3 /* 801B74F4 001B4454 7C 09 03 A6 */ mtctr r0 /* 801B74F8 001B4458 2C 05 00 00 */ cmpwi r5, 0 /* 801B74FC 001B445C 40 81 00 0C */ ble lbl_801B7508 lbl_801B7500: /* 801B7500 001B4460 38 84 00 08 */ addi r4, r4, 8 /* 801B7504 001B4464 42 00 FF FC */ bdnz lbl_801B7500 lbl_801B7508: /* 801B7508 001B4468 7C 04 38 50 */ subf r0, r4, r7 /* 801B750C 001B446C 7C 09 03 A6 */ mtctr r0 /* 801B7510 001B4470 7C 04 38 00 */ cmpw r4, r7 /* 801B7514 001B4474 40 80 00 0C */ bge lbl_801B7520 lbl_801B7518: /* 801B7518 001B4478 38 84 00 01 */ addi r4, r4, 1 /* 801B751C 001B447C 42 00 FF FC */ bdnz lbl_801B7518 lbl_801B7520: /* 801B7520 001B4480 38 00 00 00 */ li r0, 0 /* 801B7524 001B4484 90 06 00 04 */ stw r0, 4(r6) lbl_801B7528: /* 801B7528 001B4488 38 C6 09 0C */ addi r6, r6, 0x90c /* 801B752C 001B448C 38 63 00 01 */ addi r3, r3, 1 lbl_801B7530: /* 801B7530 001B4490 80 01 01 1C */ lwz r0, 0x11c(r1) /* 801B7534 001B4494 7C 03 00 00 */ cmpw r3, r0 /* 801B7538 001B4498 41 80 FF 88 */ blt lbl_801B74C0 /* 801B753C 001B449C 38 00 00 00 */ li r0, 0 /* 801B7540 001B44A0 90 01 01 1C */ stw r0, 0x11c(r1) lbl_801B7544: /* 801B7544 001B44A4 3B DE 00 1C */ addi r30, r30, 0x1c /* 801B7548 001B44A8 3B 9C 00 01 */ addi r28, r28, 1 lbl_801B754C: /* 801B754C 001B44AC 80 1A 05 40 */ lwz r0, 0x540(r26) /* 801B7550 001B44B0 7C 1C 00 00 */ cmpw r28, r0 /* 801B7554 001B44B4 41 80 FE 50 */ blt lbl_801B73A4 lbl_801B7558: /* 801B7558 001B44B8 80 7A 00 E8 */ lwz r3, 0xe8(r26) /* 801B755C 001B44BC 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801B7560 001B44C0 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801B7564 001B44C4 81 83 00 00 */ lwz r12, 0(r3) /* 801B7568 001B44C8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801B756C 001B44CC 7D 89 03 A6 */ mtctr r12 /* 801B7570 001B44D0 4E 80 04 21 */ bctrl /* 801B7574 001B44D4 80 7A 00 E8 */ lwz r3, 0xe8(r26) /* 801B7578 001B44D8 FC 20 F8 90 */ fmr f1, f31 /* 801B757C 001B44DC 81 83 00 00 */ lwz r12, 0(r3) /* 801B7580 001B44E0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801B7584 001B44E4 7D 89 03 A6 */ mtctr r12 /* 801B7588 001B44E8 4E 80 04 21 */ bctrl /* 801B758C 001B44EC A0 7A 00 EC */ lhz r3, 0xec(r26) /* 801B7590 001B44F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B7594 001B44F4 7C 03 00 40 */ cmplw r3, r0 /* 801B7598 001B44F8 41 82 00 60 */ beq lbl_801B75F8 /* 801B759C 001B44FC A0 1A 00 EC */ lhz r0, 0xec(r26) /* 801B75A0 001B4500 7F 63 DB 78 */ mr r3, r27 /* 801B75A4 001B4504 38 81 00 10 */ addi r4, r1, 0x10 /* 801B75A8 001B4508 B0 01 00 10 */ sth r0, 0x10(r1) /* 801B75AC 001B450C 4B E9 4F C9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B75B0 001B4510 7C 64 1B 78 */ mr r4, r3 /* 801B75B4 001B4514 38 61 00 1C */ addi r3, r1, 0x1c /* 801B75B8 001B4518 4B EF 64 CD */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 801B75BC 001B451C 83 83 00 04 */ lwz r28, 4(r3) /* 801B75C0 001B4520 28 1C 00 00 */ cmplwi r28, 0 /* 801B75C4 001B4524 41 82 00 34 */ beq lbl_801B75F8 /* 801B75C8 001B4528 88 1A 00 30 */ lbz r0, 0x30(r26) /* 801B75CC 001B452C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B75D0 001B4530 41 82 00 28 */ beq lbl_801B75F8 /* 801B75D4 001B4534 80 9A 00 E8 */ lwz r4, 0xe8(r26) /* 801B75D8 001B4538 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801B75DC 001B453C 81 84 00 00 */ lwz r12, 0(r4) /* 801B75E0 001B4540 81 8C 00 68 */ lwz r12, 0x68(r12) /* 801B75E4 001B4544 7D 89 03 A6 */ mtctr r12 /* 801B75E8 001B4548 4E 80 04 21 */ bctrl /* 801B75EC 001B454C 7F 83 E3 78 */ mr r3, r28 /* 801B75F0 001B4550 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801B75F4 001B4554 4B EF E1 51 */ bl SetLight__10CGameLightFRC6CLight lbl_801B75F8: /* 801B75F8 001B4558 88 1A 05 98 */ lbz r0, 0x598(r26) /* 801B75FC 001B455C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B7600 001B4560 41 82 00 28 */ beq lbl_801B7628 /* 801B7604 001B4564 7F 63 DB 78 */ mr r3, r27 /* 801B7608 001B4568 4B E8 C9 35 */ bl GetPlayer__13CStateManagerCFv /* 801B760C 001B456C 80 03 00 04 */ lwz r0, 4(r3) /* 801B7610 001B4570 7F 63 DB 78 */ mr r3, r27 /* 801B7614 001B4574 7F 44 D3 78 */ mr r4, r26 /* 801B7618 001B4578 38 A1 00 18 */ addi r5, r1, 0x18 /* 801B761C 001B457C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B7620 001B4580 90 01 00 18 */ stw r0, 0x18(r1) /* 801B7624 001B4584 4B E8 DC 55 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId lbl_801B7628: /* 801B7628 001B4588 80 7A 00 E8 */ lwz r3, 0xe8(r26) /* 801B762C 001B458C 81 83 00 00 */ lwz r12, 0(r3) /* 801B7630 001B4590 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801B7634 001B4594 7D 89 03 A6 */ mtctr r12 /* 801B7638 001B4598 4E 80 04 21 */ bctrl /* 801B763C 001B459C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B7640 001B45A0 41 82 00 1C */ beq lbl_801B765C /* 801B7644 001B45A4 A0 1A 00 08 */ lhz r0, 8(r26) /* 801B7648 001B45A8 7F 63 DB 78 */ mr r3, r27 /* 801B764C 001B45AC 38 81 00 0C */ addi r4, r1, 0xc /* 801B7650 001B45B0 B0 01 00 08 */ sth r0, 8(r1) /* 801B7654 001B45B4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B7658 001B45B8 4B E9 4C 15 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_801B765C: /* 801B765C 001B45BC 38 00 1C 78 */ li r0, 0x1c78 /* 801B7660 001B45C0 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 801B7664 001B45C4 CB E1 1C 70 */ lfd f31, 0x1c70(r1) /* 801B7668 001B45C8 BB 01 1C 50 */ lmw r24, 0x1c50(r1) /* 801B766C 001B45CC 80 01 1C 84 */ lwz r0, 0x1c84(r1) /* 801B7670 001B45D0 7C 08 03 A6 */ mtlr r0 /* 801B7674 001B45D4 38 21 1C 80 */ addi r1, r1, 0x1c80 /* 801B7678 001B45D8 4E 80 00 20 */ blr .global Render__10CIceImpactCFRC13CStateManager Render__10CIceImpactCFRC13CStateManager: /* 801B767C 001B45DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B7680 001B45E0 7C 08 02 A6 */ mflr r0 /* 801B7684 001B45E4 90 01 00 14 */ stw r0, 0x14(r1) /* 801B7688 001B45E8 38 00 00 01 */ li r0, 1 /* 801B768C 001B45EC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B7690 001B45F0 7C 7F 1B 78 */ mr r31, r3 /* 801B7694 001B45F4 38 60 00 01 */ li r3, 1 /* 801B7698 001B45F8 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 801B769C 001B45FC 48 18 E1 4D */ bl SetRenderModelBlack__10CCubeModelFb /* 801B76A0 001B4600 80 7F 00 E8 */ lwz r3, 0xe8(r31) /* 801B76A4 001B4604 81 83 00 00 */ lwz r12, 0(r3) /* 801B76A8 001B4608 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801B76AC 001B460C 7D 89 03 A6 */ mtctr r12 /* 801B76B0 001B4610 4E 80 04 21 */ bctrl /* 801B76B4 001B4614 38 00 00 00 */ li r0, 0 /* 801B76B8 001B4618 38 60 00 00 */ li r3, 0 /* 801B76BC 001B461C 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 801B76C0 001B4620 48 18 E1 29 */ bl SetRenderModelBlack__10CCubeModelFb /* 801B76C4 001B4624 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B76C8 001B4628 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B76CC 001B462C 7C 08 03 A6 */ mtlr r0 /* 801B76D0 001B4630 38 21 00 10 */ addi r1, r1, 0x10 /* 801B76D4 001B4634 4E 80 00 20 */ blr .global AddToRenderer__10CIceImpactCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__10CIceImpactCFRC14CFrustumPlanesRC13CStateManager: /* 801B76D8 001B4638 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B76DC 001B463C 7C 08 02 A6 */ mflr r0 /* 801B76E0 001B4640 7C 64 1B 78 */ mr r4, r3 /* 801B76E4 001B4644 90 01 00 14 */ stw r0, 0x14(r1) /* 801B76E8 001B4648 88 03 00 E4 */ lbz r0, 0xe4(r3) /* 801B76EC 001B464C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801B76F0 001B4650 40 82 00 34 */ bne lbl_801B7724 /* 801B76F4 001B4654 80 05 0F 34 */ lwz r0, 0xf34(r5) /* 801B76F8 001B4658 2C 00 00 00 */ cmpwi r0, 0 /* 801B76FC 001B465C 40 82 00 10 */ bne lbl_801B770C /* 801B7700 001B4660 7C A4 2B 78 */ mr r4, r5 /* 801B7704 001B4664 4B E9 D2 C9 */ bl EnsureRendered__6CActorCFRC13CStateManager /* 801B7708 001B4668 48 00 00 1C */ b lbl_801B7724 lbl_801B770C: /* 801B770C 001B466C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B7710 001B4670 80 84 00 E8 */ lwz r4, 0xe8(r4) /* 801B7714 001B4674 81 83 00 00 */ lwz r12, 0(r3) /* 801B7718 001B4678 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801B771C 001B467C 7D 89 03 A6 */ mtctr r12 /* 801B7720 001B4680 4E 80 04 21 */ bctrl lbl_801B7724: /* 801B7724 001B4684 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B7728 001B4688 7C 08 03 A6 */ mtlr r0 /* 801B772C 001B468C 38 21 00 10 */ addi r1, r1, 0x10 /* 801B7730 001B4690 4E 80 00 20 */ blr .global PreRender__10CIceImpactFR13CStateManagerRC14CFrustumPlanes PreRender__10CIceImpactFR13CStateManagerRC14CFrustumPlanes: /* 801B7734 001B4694 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B7738 001B4698 7C 08 02 A6 */ mflr r0 /* 801B773C 001B469C 90 01 00 24 */ stw r0, 0x24(r1) /* 801B7740 001B46A0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B7744 001B46A4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B7748 001B46A8 7C BE 2B 78 */ mr r30, r5 /* 801B774C 001B46AC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801B7750 001B46B0 7C 7D 1B 78 */ mr r29, r3 /* 801B7754 001B46B4 4B E9 D5 8D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes /* 801B7758 001B46B8 88 1D 05 98 */ lbz r0, 0x598(r29) /* 801B775C 001B46BC 3B E0 00 00 */ li r31, 0 /* 801B7760 001B46C0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B7764 001B46C4 41 82 00 18 */ beq lbl_801B777C /* 801B7768 001B46C8 7F C3 F3 78 */ mr r3, r30 /* 801B776C 001B46CC 38 9D 00 9C */ addi r4, r29, 0x9c /* 801B7770 001B46D0 48 18 DA 61 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox /* 801B7774 001B46D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B7778 001B46D8 40 82 00 08 */ bne lbl_801B7780 lbl_801B777C: /* 801B777C 001B46DC 3B E0 00 01 */ li r31, 1 lbl_801B7780: /* 801B7780 001B46E0 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801B7784 001B46E4 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e /* 801B7788 001B46E8 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801B778C 001B46EC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B7790 001B46F0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B7794 001B46F4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B7798 001B46F8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801B779C 001B46FC 7C 08 03 A6 */ mtlr r0 /* 801B77A0 001B4700 38 21 00 20 */ addi r1, r1, 0x20 /* 801B77A4 001B4704 4E 80 00 20 */ blr .global CalculateRenderBounds__10CIceImpactFv CalculateRenderBounds__10CIceImpactFv: /* 801B77A8 001B4708 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801B77AC 001B470C 7C 08 02 A6 */ mflr r0 /* 801B77B0 001B4710 90 01 00 74 */ stw r0, 0x74(r1) /* 801B77B4 001B4714 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801B77B8 001B4718 7C 7F 1B 78 */ mr r31, r3 /* 801B77BC 001B471C 38 61 00 2C */ addi r3, r1, 0x2c /* 801B77C0 001B4720 80 9F 00 E8 */ lwz r4, 0xe8(r31) /* 801B77C4 001B4724 81 84 00 00 */ lwz r12, 0(r4) /* 801B77C8 001B4728 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801B77CC 001B472C 7D 89 03 A6 */ mtctr r12 /* 801B77D0 001B4730 4E 80 04 21 */ bctrl /* 801B77D4 001B4734 88 01 00 44 */ lbz r0, 0x44(r1) /* 801B77D8 001B4738 28 00 00 00 */ cmplwi r0, 0 /* 801B77DC 001B473C 98 01 00 60 */ stb r0, 0x60(r1) /* 801B77E0 001B4740 41 82 00 3C */ beq lbl_801B781C /* 801B77E4 001B4744 34 61 00 48 */ addic. r3, r1, 0x48 /* 801B77E8 001B4748 41 82 00 34 */ beq lbl_801B781C /* 801B77EC 001B474C C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801B77F0 001B4750 D0 03 00 00 */ stfs f0, 0(r3) /* 801B77F4 001B4754 C0 01 00 30 */ lfs f0, 0x30(r1) /* 801B77F8 001B4758 D0 03 00 04 */ stfs f0, 4(r3) /* 801B77FC 001B475C C0 01 00 34 */ lfs f0, 0x34(r1) /* 801B7800 001B4760 D0 03 00 08 */ stfs f0, 8(r3) /* 801B7804 001B4764 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801B7808 001B4768 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801B780C 001B476C C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801B7810 001B4770 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B7814 001B4774 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801B7818 001B4778 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801B781C: /* 801B781C 001B477C 88 01 00 60 */ lbz r0, 0x60(r1) /* 801B7820 001B4780 38 C0 00 00 */ li r6, 0 /* 801B7824 001B4784 98 C1 00 44 */ stb r6, 0x44(r1) /* 801B7828 001B4788 28 00 00 00 */ cmplwi r0, 0 /* 801B782C 001B478C 41 82 00 48 */ beq lbl_801B7874 /* 801B7830 001B4790 88 1F 05 98 */ lbz r0, 0x598(r31) /* 801B7834 001B4794 38 60 00 01 */ li r3, 1 /* 801B7838 001B4798 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B783C 001B479C 80 61 00 48 */ lwz r3, 0x48(r1) /* 801B7840 001B47A0 98 1F 05 98 */ stb r0, 0x598(r31) /* 801B7844 001B47A4 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801B7848 001B47A8 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801B784C 001B47AC 80 61 00 50 */ lwz r3, 0x50(r1) /* 801B7850 001B47B0 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 801B7854 001B47B4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801B7858 001B47B8 90 7F 00 A4 */ stw r3, 0xa4(r31) /* 801B785C 001B47BC 80 61 00 58 */ lwz r3, 0x58(r1) /* 801B7860 001B47C0 90 1F 00 A8 */ stw r0, 0xa8(r31) /* 801B7864 001B47C4 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801B7868 001B47C8 90 7F 00 AC */ stw r3, 0xac(r31) /* 801B786C 001B47CC 90 1F 00 B0 */ stw r0, 0xb0(r31) /* 801B7870 001B47D0 48 00 00 68 */ b lbl_801B78D8 lbl_801B7874: /* 801B7874 001B47D4 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801B7878 001B47D8 38 81 00 08 */ addi r4, r1, 8 /* 801B787C 001B47DC C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801B7880 001B47E0 7C 85 23 78 */ mr r5, r4 /* 801B7884 001B47E4 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801B7888 001B47E8 38 61 00 14 */ addi r3, r1, 0x14 /* 801B788C 001B47EC D0 01 00 08 */ stfs f0, 8(r1) /* 801B7890 001B47F0 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801B7894 001B47F4 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801B7898 001B47F8 88 1F 05 98 */ lbz r0, 0x598(r31) /* 801B789C 001B47FC 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801B78A0 001B4800 98 1F 05 98 */ stb r0, 0x598(r31) /* 801B78A4 001B4804 48 18 0C 65 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801B78A8 001B4808 80 61 00 14 */ lwz r3, 0x14(r1) /* 801B78AC 001B480C 80 01 00 18 */ lwz r0, 0x18(r1) /* 801B78B0 001B4810 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801B78B4 001B4814 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 801B78B8 001B4818 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801B78BC 001B481C 90 1F 00 A4 */ stw r0, 0xa4(r31) /* 801B78C0 001B4820 80 61 00 20 */ lwz r3, 0x20(r1) /* 801B78C4 001B4824 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B78C8 001B4828 90 7F 00 A8 */ stw r3, 0xa8(r31) /* 801B78CC 001B482C 90 1F 00 AC */ stw r0, 0xac(r31) /* 801B78D0 001B4830 80 01 00 28 */ lwz r0, 0x28(r1) /* 801B78D4 001B4834 90 1F 00 B0 */ stw r0, 0xb0(r31) lbl_801B78D8: /* 801B78D8 001B4838 38 00 00 00 */ li r0, 0 /* 801B78DC 001B483C 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801B78E0 001B4840 98 01 00 60 */ stb r0, 0x60(r1) /* 801B78E4 001B4844 80 01 00 74 */ lwz r0, 0x74(r1) /* 801B78E8 001B4848 7C 08 03 A6 */ mtlr r0 /* 801B78EC 001B484C 38 21 00 70 */ addi r1, r1, 0x70 /* 801B78F0 001B4850 4E 80 00 20 */ blr .global __dt__10CIceImpactFv __dt__10CIceImpactFv: /* 801B78F4 001B4854 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B78F8 001B4858 7C 08 02 A6 */ mflr r0 /* 801B78FC 001B485C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B7900 001B4860 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B7904 001B4864 7C 9F 23 78 */ mr r31, r4 /* 801B7908 001B4868 93 C1 00 08 */ stw r30, 8(r1) /* 801B790C 001B486C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801B7910 001B4870 41 82 01 28 */ beq lbl_801B7A38 /* 801B7914 001B4874 3C 60 80 3E */ lis r3, lbl_803E51E8@ha /* 801B7918 001B4878 34 1E 05 40 */ addic. r0, r30, 0x540 /* 801B791C 001B487C 38 03 51 E8 */ addi r0, r3, lbl_803E51E8@l /* 801B7920 001B4880 90 1E 00 00 */ stw r0, 0(r30) /* 801B7924 001B4884 41 82 00 58 */ beq lbl_801B797C /* 801B7928 001B4888 80 BE 05 40 */ lwz r5, 0x540(r30) /* 801B792C 001B488C 38 60 00 00 */ li r3, 0 /* 801B7930 001B4890 2C 05 00 00 */ cmpwi r5, 0 /* 801B7934 001B4894 40 81 00 40 */ ble lbl_801B7974 /* 801B7938 001B4898 2C 05 00 08 */ cmpwi r5, 8 /* 801B793C 001B489C 38 85 FF F8 */ addi r4, r5, -8 /* 801B7940 001B48A0 40 81 00 20 */ ble lbl_801B7960 /* 801B7944 001B48A4 38 04 00 07 */ addi r0, r4, 7 /* 801B7948 001B48A8 54 00 E8 FE */ srwi r0, r0, 3 /* 801B794C 001B48AC 7C 09 03 A6 */ mtctr r0 /* 801B7950 001B48B0 2C 04 00 00 */ cmpwi r4, 0 /* 801B7954 001B48B4 40 81 00 0C */ ble lbl_801B7960 lbl_801B7958: /* 801B7958 001B48B8 38 63 00 08 */ addi r3, r3, 8 /* 801B795C 001B48BC 42 00 FF FC */ bdnz lbl_801B7958 lbl_801B7960: /* 801B7960 001B48C0 7C 03 28 50 */ subf r0, r3, r5 /* 801B7964 001B48C4 7C 09 03 A6 */ mtctr r0 /* 801B7968 001B48C8 7C 03 28 00 */ cmpw r3, r5 /* 801B796C 001B48CC 40 80 00 08 */ bge lbl_801B7974 lbl_801B7970: /* 801B7970 001B48D0 42 00 00 00 */ bdnz lbl_801B7970 lbl_801B7974: /* 801B7974 001B48D4 38 00 00 00 */ li r0, 0 /* 801B7978 001B48D8 90 1E 05 40 */ stw r0, 0x540(r30) lbl_801B797C: /* 801B797C 001B48DC 34 1E 01 18 */ addic. r0, r30, 0x118 /* 801B7980 001B48E0 41 82 00 60 */ beq lbl_801B79E0 /* 801B7984 001B48E4 34 1E 01 3C */ addic. r0, r30, 0x13c /* 801B7988 001B48E8 41 82 00 58 */ beq lbl_801B79E0 /* 801B798C 001B48EC 80 BE 01 3C */ lwz r5, 0x13c(r30) /* 801B7990 001B48F0 38 60 00 00 */ li r3, 0 /* 801B7994 001B48F4 2C 05 00 00 */ cmpwi r5, 0 /* 801B7998 001B48F8 40 81 00 40 */ ble lbl_801B79D8 /* 801B799C 001B48FC 2C 05 00 08 */ cmpwi r5, 8 /* 801B79A0 001B4900 38 85 FF F8 */ addi r4, r5, -8 /* 801B79A4 001B4904 40 81 00 20 */ ble lbl_801B79C4 /* 801B79A8 001B4908 38 04 00 07 */ addi r0, r4, 7 /* 801B79AC 001B490C 54 00 E8 FE */ srwi r0, r0, 3 /* 801B79B0 001B4910 7C 09 03 A6 */ mtctr r0 /* 801B79B4 001B4914 2C 04 00 00 */ cmpwi r4, 0 /* 801B79B8 001B4918 40 81 00 0C */ ble lbl_801B79C4 lbl_801B79BC: /* 801B79BC 001B491C 38 63 00 08 */ addi r3, r3, 8 /* 801B79C0 001B4920 42 00 FF FC */ bdnz lbl_801B79BC lbl_801B79C4: /* 801B79C4 001B4924 7C 03 28 50 */ subf r0, r3, r5 /* 801B79C8 001B4928 7C 09 03 A6 */ mtctr r0 /* 801B79CC 001B492C 7C 03 28 00 */ cmpw r3, r5 /* 801B79D0 001B4930 40 80 00 08 */ bge lbl_801B79D8 lbl_801B79D4: /* 801B79D4 001B4934 42 00 00 00 */ bdnz lbl_801B79D4 lbl_801B79D8: /* 801B79D8 001B4938 38 00 00 00 */ li r0, 0 /* 801B79DC 001B493C 90 1E 01 3C */ stw r0, 0x13c(r30) lbl_801B79E0: /* 801B79E0 001B4940 34 1E 00 E8 */ addic. r0, r30, 0xe8 /* 801B79E4 001B4944 41 82 00 24 */ beq lbl_801B7A08 /* 801B79E8 001B4948 80 7E 00 E8 */ lwz r3, 0xe8(r30) /* 801B79EC 001B494C 28 03 00 00 */ cmplwi r3, 0 /* 801B79F0 001B4950 41 82 00 18 */ beq lbl_801B7A08 /* 801B79F4 001B4954 81 83 00 00 */ lwz r12, 0(r3) /* 801B79F8 001B4958 38 80 00 01 */ li r4, 1 /* 801B79FC 001B495C 81 8C 00 08 */ lwz r12, 8(r12) /* 801B7A00 001B4960 7D 89 03 A6 */ mtctr r12 /* 801B7A04 001B4964 4E 80 04 21 */ bctrl lbl_801B7A08: /* 801B7A08 001B4968 28 1E 00 00 */ cmplwi r30, 0 /* 801B7A0C 001B496C 41 82 00 1C */ beq lbl_801B7A28 /* 801B7A10 001B4970 3C 80 80 3E */ lis r4, lbl_803DA118@ha /* 801B7A14 001B4974 7F C3 F3 78 */ mr r3, r30 /* 801B7A18 001B4978 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l /* 801B7A1C 001B497C 38 80 00 00 */ li r4, 0 /* 801B7A20 001B4980 90 1E 00 00 */ stw r0, 0(r30) /* 801B7A24 001B4984 4B E9 DC CD */ bl __dt__6CActorFv lbl_801B7A28: /* 801B7A28 001B4988 7F E0 07 35 */ extsh. r0, r31 /* 801B7A2C 001B498C 40 81 00 0C */ ble lbl_801B7A38 /* 801B7A30 001B4990 7F C3 F3 78 */ mr r3, r30 /* 801B7A34 001B4994 48 15 DE FD */ bl Free__7CMemoryFPCv lbl_801B7A38: /* 801B7A38 001B4998 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B7A3C 001B499C 7F C3 F3 78 */ mr r3, r30 /* 801B7A40 001B49A0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B7A44 001B49A4 83 C1 00 08 */ lwz r30, 8(r1) /* 801B7A48 001B49A8 7C 08 03 A6 */ mtlr r0 /* 801B7A4C 001B49AC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B7A50 001B49B0 4E 80 00 20 */ blr .global "__ct__10CIceImpactFRC31TLockedToken<15CGenDescription>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" "__ct__10CIceImpactFRC31TLockedToken<15CGenDescription>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor": /* 801B7A54 001B49B4 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801B7A58 001B49B8 7C 08 02 A6 */ mflr r0 /* 801B7A5C 001B49BC 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801B7A60 001B49C0 BF 21 00 B4 */ stmw r25, 0xb4(r1) /* 801B7A64 001B49C4 7C 7C 1B 78 */ mr r28, r3 /* 801B7A68 001B49C8 7C 9D 23 78 */ mr r29, r4 /* 801B7A6C 001B49CC 7C B9 2B 78 */ mr r25, r5 /* 801B7A70 001B49D0 7C FA 3B 78 */ mr r26, r7 /* 801B7A74 001B49D4 7D 1B 43 78 */ mr r27, r8 /* 801B7A78 001B49D8 7D 3E 4B 78 */ mr r30, r9 /* 801B7A7C 001B49DC 7D 5F 53 78 */ mr r31, r10 /* 801B7A80 001B49E0 38 61 00 8C */ addi r3, r1, 0x8c /* 801B7A84 001B49E4 38 81 00 20 */ addi r4, r1, 0x20 /* 801B7A88 001B49E8 80 06 00 00 */ lwz r0, 0(r6) /* 801B7A8C 001B49EC 3C C0 80 57 */ lis r6, lbl_8056D410@ha /* 801B7A90 001B49F0 81 6D A3 88 */ lwz r11, lbl_805A8F48@sda21(r13) /* 801B7A94 001B49F4 90 01 00 20 */ stw r0, 0x20(r1) /* 801B7A98 001B49F8 38 06 D4 10 */ addi r0, r6, lbl_8056D410@l /* 801B7A9C 001B49FC 7C 05 03 78 */ mr r5, r0 /* 801B7AA0 001B4A00 38 C1 00 1C */ addi r6, r1, 0x1c /* 801B7AA4 001B4A04 91 61 00 1C */ stw r11, 0x1c(r1) /* 801B7AA8 001B4A08 4B E9 99 DD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801B7AAC 001B4A0C A0 19 00 00 */ lhz r0, 0(r25) /* 801B7AB0 001B4A10 7F 83 E3 78 */ mr r3, r28 /* 801B7AB4 001B4A14 7F 46 D3 78 */ mr r6, r26 /* 801B7AB8 001B4A18 7F 67 DB 78 */ mr r7, r27 /* 801B7ABC 001B4A1C B0 01 00 08 */ sth r0, 8(r1) /* 801B7AC0 001B4A20 7F C8 F3 78 */ mr r8, r30 /* 801B7AC4 001B4A24 38 81 00 08 */ addi r4, r1, 8 /* 801B7AC8 001B4A28 38 A1 00 8C */ addi r5, r1, 0x8c /* 801B7ACC 001B4A2C 4B EA 32 85 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" /* 801B7AD0 001B4A30 80 01 00 94 */ lwz r0, 0x94(r1) /* 801B7AD4 001B4A34 80 61 00 9C */ lwz r3, 0x9c(r1) /* 801B7AD8 001B4A38 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B7ADC 001B4A3C 90 61 00 10 */ stw r3, 0x10(r1) /* 801B7AE0 001B4A40 7C 64 1B 78 */ mr r4, r3 /* 801B7AE4 001B4A44 7C 03 02 14 */ add r0, r3, r0 /* 801B7AE8 001B4A48 90 61 00 0C */ stw r3, 0xc(r1) /* 801B7AEC 001B4A4C 90 01 00 18 */ stw r0, 0x18(r1) /* 801B7AF0 001B4A50 90 01 00 14 */ stw r0, 0x14(r1) /* 801B7AF4 001B4A54 48 00 00 08 */ b lbl_801B7AFC lbl_801B7AF8: /* 801B7AF8 001B4A58 38 84 00 0C */ addi r4, r4, 0xc lbl_801B7AFC: /* 801B7AFC 001B4A5C 7C 04 00 40 */ cmplw r4, r0 /* 801B7B00 001B4A60 40 82 FF F8 */ bne lbl_801B7AF8 /* 801B7B04 001B4A64 28 03 00 00 */ cmplwi r3, 0 /* 801B7B08 001B4A68 41 82 00 08 */ beq lbl_801B7B10 /* 801B7B0C 001B4A6C 48 15 DE 25 */ bl Free__7CMemoryFPCv lbl_801B7B10: /* 801B7B10 001B4A70 3C 80 80 3E */ lis r4, lbl_803E51E8@ha /* 801B7B14 001B4A74 3C 60 80 3D */ lis r3, lbl_803D1640@ha /* 801B7B18 001B4A78 38 04 51 E8 */ addi r0, r4, lbl_803E51E8@l /* 801B7B1C 001B4A7C 3B 20 00 00 */ li r25, 0 /* 801B7B20 001B4A80 90 1C 00 00 */ stw r0, 0(r28) /* 801B7B24 001B4A84 38 83 16 40 */ addi r4, r3, lbl_803D1640@l /* 801B7B28 001B4A88 38 60 03 40 */ li r3, 0x340 /* 801B7B2C 001B4A8C 38 A0 00 00 */ li r5, 0 /* 801B7B30 001B4A90 48 15 DD 3D */ bl __nw__FUlPCcPCc /* 801B7B34 001B4A94 7C 7B 1B 79 */ or. r27, r3, r3 /* 801B7B38 001B4A98 41 82 00 2C */ beq lbl_801B7B64 /* 801B7B3C 001B4A9C 7F A4 EB 78 */ mr r4, r29 /* 801B7B40 001B4AA0 38 61 00 2C */ addi r3, r1, 0x2c /* 801B7B44 001B4AA4 48 18 93 65 */ bl __ct__6CTokenFRC6CToken /* 801B7B48 001B4AA8 7F 63 DB 78 */ mr r3, r27 /* 801B7B4C 001B4AAC 38 81 00 2C */ addi r4, r1, 0x2c /* 801B7B50 001B4AB0 3B 20 00 01 */ li r25, 1 /* 801B7B54 001B4AB4 38 A0 00 01 */ li r5, 1 /* 801B7B58 001B4AB8 38 C0 00 01 */ li r6, 1 /* 801B7B5C 001B4ABC 48 16 78 85 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801B7B60 001B4AC0 7C 7B 1B 78 */ mr r27, r3 lbl_801B7B64: /* 801B7B64 001B4AC4 7F 20 07 75 */ extsb. r0, r25 /* 801B7B68 001B4AC8 93 7C 00 E8 */ stw r27, 0xe8(r28) /* 801B7B6C 001B4ACC 41 82 00 10 */ beq lbl_801B7B7C /* 801B7B70 001B4AD0 38 61 00 2C */ addi r3, r1, 0x2c /* 801B7B74 001B4AD4 38 80 00 00 */ li r4, 0 /* 801B7B78 001B4AD8 48 18 92 C9 */ bl __dt__6CTokenFv lbl_801B7B7C: /* 801B7B7C 001B4ADC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B7B80 001B4AE0 7F A4 EB 78 */ mr r4, r29 /* 801B7B84 001B4AE4 38 61 00 24 */ addi r3, r1, 0x24 /* 801B7B88 001B4AE8 B0 1C 00 EC */ sth r0, 0xec(r28) /* 801B7B8C 001B4AEC 48 18 93 1D */ bl __ct__6CTokenFRC6CToken /* 801B7B90 001B4AF0 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801B7B94 001B4AF4 38 61 00 24 */ addi r3, r1, 0x24 /* 801B7B98 001B4AF8 38 80 00 00 */ li r4, 0 /* 801B7B9C 001B4AFC 80 05 00 08 */ lwz r0, 8(r5) /* 801B7BA0 001B4B00 90 1C 00 F0 */ stw r0, 0xf0(r28) /* 801B7BA4 001B4B04 48 18 92 9D */ bl __dt__6CTokenFv /* 801B7BA8 001B4B08 C0 42 A9 84 */ lfs f2, lbl_805AC6A4@sda21(r2) /* 801B7BAC 001B4B0C 38 00 00 00 */ li r0, 0 /* 801B7BB0 001B4B10 C0 02 A9 90 */ lfs f0, lbl_805AC6B0@sda21(r2) /* 801B7BB4 001B4B14 38 61 00 74 */ addi r3, r1, 0x74 /* 801B7BB8 001B4B18 D0 5C 00 F4 */ stfs f2, 0xf4(r28) /* 801B7BBC 001B4B1C 38 81 00 68 */ addi r4, r1, 0x68 /* 801B7BC0 001B4B20 C0 22 A9 94 */ lfs f1, lbl_805AC6B4@sda21(r2) /* 801B7BC4 001B4B24 38 A1 00 50 */ addi r5, r1, 0x50 /* 801B7BC8 001B4B28 D0 1C 00 F8 */ stfs f0, 0xf8(r28) /* 801B7BCC 001B4B2C C0 02 A9 80 */ lfs f0, lbl_805AC6A0@sda21(r2) /* 801B7BD0 001B4B30 90 1C 00 FC */ stw r0, 0xfc(r28) /* 801B7BD4 001B4B34 D0 3C 01 00 */ stfs f1, 0x100(r28) /* 801B7BD8 001B4B38 D0 5C 01 04 */ stfs f2, 0x104(r28) /* 801B7BDC 001B4B3C C0 3C 01 00 */ lfs f1, 0x100(r28) /* 801B7BE0 001B4B40 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801B7BE4 001B4B44 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 801B7BE8 001B4B48 EC 21 00 28 */ fsubs f1, f1, f0 /* 801B7BEC 001B4B4C C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801B7BF0 001B4B50 D0 1C 01 08 */ stfs f0, 0x108(r28) /* 801B7BF4 001B4B54 D0 5C 01 0C */ stfs f2, 0x10c(r28) /* 801B7BF8 001B4B58 D0 7C 01 10 */ stfs f3, 0x110(r28) /* 801B7BFC 001B4B5C D0 3C 01 14 */ stfs f1, 0x114(r28) /* 801B7C00 001B4B60 C1 1E 00 2C */ lfs f8, 0x2c(r30) /* 801B7C04 001B4B64 C0 1C 01 00 */ lfs f0, 0x100(r28) /* 801B7C08 001B4B68 C0 FE 00 1C */ lfs f7, 0x1c(r30) /* 801B7C0C 001B4B6C C0 5E 00 0C */ lfs f2, 0xc(r30) /* 801B7C10 001B4B70 EC A8 00 2A */ fadds f5, f8, f0 /* 801B7C14 001B4B74 EC C7 00 2A */ fadds f6, f7, f0 /* 801B7C18 001B4B78 D0 E1 00 48 */ stfs f7, 0x48(r1) /* 801B7C1C 001B4B7C EC 22 00 2A */ fadds f1, f2, f0 /* 801B7C20 001B4B80 EC 87 00 28 */ fsubs f4, f7, f0 /* 801B7C24 001B4B84 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801B7C28 001B4B88 EC 68 00 28 */ fsubs f3, f8, f0 /* 801B7C2C 001B4B8C EC 02 00 28 */ fsubs f0, f2, f0 /* 801B7C30 001B4B90 D1 01 00 4C */ stfs f8, 0x4c(r1) /* 801B7C34 001B4B94 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801B7C38 001B4B98 D0 C1 00 54 */ stfs f6, 0x54(r1) /* 801B7C3C 001B4B9C D0 A1 00 58 */ stfs f5, 0x58(r1) /* 801B7C40 001B4BA0 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801B7C44 001B4BA4 D0 E1 00 60 */ stfs f7, 0x60(r1) /* 801B7C48 001B4BA8 D1 01 00 64 */ stfs f8, 0x64(r1) /* 801B7C4C 001B4BAC D0 01 00 68 */ stfs f0, 0x68(r1) /* 801B7C50 001B4BB0 D0 81 00 6C */ stfs f4, 0x6c(r1) /* 801B7C54 001B4BB4 D0 61 00 70 */ stfs f3, 0x70(r1) /* 801B7C58 001B4BB8 48 18 08 B1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801B7C5C 001B4BBC 7C 64 1B 78 */ mr r4, r3 /* 801B7C60 001B4BC0 38 7C 01 18 */ addi r3, r28, 0x118 /* 801B7C64 001B4BC4 48 00 07 01 */ bl __ct__11CMarkerGridFRC6CAABox /* 801B7C68 001B4BC8 38 A0 00 00 */ li r5, 0 /* 801B7C6C 001B4BCC 38 60 00 02 */ li r3, 2 /* 801B7C70 001B4BD0 90 BC 05 40 */ stw r5, 0x540(r28) /* 801B7C74 001B4BD4 38 DC 05 40 */ addi r6, r28, 0x540 /* 801B7C78 001B4BD8 88 1C 05 98 */ lbz r0, 0x598(r28) /* 801B7C7C 001B4BDC 53 E0 36 30 */ rlwimi r0, r31, 6, 0x18, 0x18 /* 801B7C80 001B4BE0 98 1C 05 98 */ stb r0, 0x598(r28) /* 801B7C84 001B4BE4 88 1C 05 98 */ lbz r0, 0x598(r28) /* 801B7C88 001B4BE8 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801B7C8C 001B4BEC 98 1C 05 98 */ stb r0, 0x598(r28) /* 801B7C90 001B4BF0 88 1C 00 E6 */ lbz r0, 0xe6(r28) /* 801B7C94 001B4BF4 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c /* 801B7C98 001B4BF8 98 1C 00 E6 */ stb r0, 0xe6(r28) /* 801B7C9C 001B4BFC 80 1C 05 40 */ lwz r0, 0x540(r28) /* 801B7CA0 001B4C00 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801B7CA4 001B4C04 1C 00 00 1C */ mulli r0, r0, 0x1c /* 801B7CA8 001B4C08 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801B7CAC 001B4C0C C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801B7CB0 001B4C10 7C 66 02 14 */ add r3, r6, r0 /* 801B7CB4 001B4C14 34 63 00 04 */ addic. r3, r3, 4 /* 801B7CB8 001B4C18 41 82 00 2C */ beq lbl_801B7CE4 /* 801B7CBC 001B4C1C D0 03 00 00 */ stfs f0, 0(r3) /* 801B7CC0 001B4C20 C0 42 A9 98 */ lfs f2, lbl_805AC6B8@sda21(r2) /* 801B7CC4 001B4C24 D0 23 00 04 */ stfs f1, 4(r3) /* 801B7CC8 001B4C28 C0 22 A9 80 */ lfs f1, lbl_805AC6A0@sda21(r2) /* 801B7CCC 001B4C2C D0 63 00 08 */ stfs f3, 8(r3) /* 801B7CD0 001B4C30 C0 02 A9 84 */ lfs f0, lbl_805AC6A4@sda21(r2) /* 801B7CD4 001B4C34 D0 43 00 0C */ stfs f2, 0xc(r3) /* 801B7CD8 001B4C38 D0 23 00 10 */ stfs f1, 0x10(r3) /* 801B7CDC 001B4C3C D0 03 00 14 */ stfs f0, 0x14(r3) /* 801B7CE0 001B4C40 D0 03 00 18 */ stfs f0, 0x18(r3) lbl_801B7CE4: /* 801B7CE4 001B4C44 80 7C 05 40 */ lwz r3, 0x540(r28) /* 801B7CE8 001B4C48 38 9C 05 40 */ addi r4, r28, 0x540 /* 801B7CEC 001B4C4C 38 03 00 01 */ addi r0, r3, 1 /* 801B7CF0 001B4C50 90 1C 05 40 */ stw r0, 0x540(r28) /* 801B7CF4 001B4C54 80 1C 05 40 */ lwz r0, 0x540(r28) /* 801B7CF8 001B4C58 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801B7CFC 001B4C5C 1C 00 00 1C */ mulli r0, r0, 0x1c /* 801B7D00 001B4C60 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 801B7D04 001B4C64 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801B7D08 001B4C68 7C 64 02 14 */ add r3, r4, r0 /* 801B7D0C 001B4C6C 34 63 00 04 */ addic. r3, r3, 4 /* 801B7D10 001B4C70 41 82 00 28 */ beq lbl_801B7D38 /* 801B7D14 001B4C74 D0 03 00 00 */ stfs f0, 0(r3) /* 801B7D18 001B4C78 C0 22 A9 84 */ lfs f1, lbl_805AC6A4@sda21(r2) /* 801B7D1C 001B4C7C D0 43 00 04 */ stfs f2, 4(r3) /* 801B7D20 001B4C80 C0 02 A9 68 */ lfs f0, lbl_805AC688@sda21(r2) /* 801B7D24 001B4C84 D0 63 00 08 */ stfs f3, 8(r3) /* 801B7D28 001B4C88 D0 23 00 0C */ stfs f1, 0xc(r3) /* 801B7D2C 001B4C8C D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B7D30 001B4C90 D0 23 00 14 */ stfs f1, 0x14(r3) /* 801B7D34 001B4C94 D0 23 00 18 */ stfs f1, 0x18(r3) lbl_801B7D38: /* 801B7D38 001B4C98 80 BC 05 40 */ lwz r5, 0x540(r28) /* 801B7D3C 001B4C9C 38 05 00 01 */ addi r0, r5, 1 /* 801B7D40 001B4CA0 90 1C 05 40 */ stw r0, 0x540(r28) /* 801B7D44 001B4CA4 C0 3C 05 74 */ lfs f1, 0x574(r28) /* 801B7D48 001B4CA8 D0 3C 05 78 */ stfs f1, 0x578(r28) /* 801B7D4C 001B4CAC C0 5C 05 74 */ lfs f2, 0x574(r28) /* 801B7D50 001B4CB0 C0 3C 05 70 */ lfs f1, 0x570(r28) /* 801B7D54 001B4CB4 EC 22 08 2A */ fadds f1, f2, f1 /* 801B7D58 001B4CB8 D0 3C 05 74 */ stfs f1, 0x574(r28) /* 801B7D5C 001B4CBC 80 04 00 00 */ lwz r0, 0(r4) /* 801B7D60 001B4CC0 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801B7D64 001B4CC4 1C 00 00 1C */ mulli r0, r0, 0x1c /* 801B7D68 001B4CC8 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 801B7D6C 001B4CCC C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801B7D70 001B4CD0 7C 64 02 14 */ add r3, r4, r0 /* 801B7D74 001B4CD4 34 63 00 04 */ addic. r3, r3, 4 /* 801B7D78 001B4CD8 41 82 00 28 */ beq lbl_801B7DA0 /* 801B7D7C 001B4CDC D0 03 00 00 */ stfs f0, 0(r3) /* 801B7D80 001B4CE0 C0 22 A9 84 */ lfs f1, lbl_805AC6A4@sda21(r2) /* 801B7D84 001B4CE4 D0 43 00 04 */ stfs f2, 4(r3) /* 801B7D88 001B4CE8 C0 02 A9 68 */ lfs f0, lbl_805AC688@sda21(r2) /* 801B7D8C 001B4CEC D0 63 00 08 */ stfs f3, 8(r3) /* 801B7D90 001B4CF0 D0 23 00 0C */ stfs f1, 0xc(r3) /* 801B7D94 001B4CF4 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B7D98 001B4CF8 D0 23 00 14 */ stfs f1, 0x14(r3) /* 801B7D9C 001B4CFC D0 23 00 18 */ stfs f1, 0x18(r3) lbl_801B7DA0: /* 801B7DA0 001B4D00 80 BC 05 40 */ lwz r5, 0x540(r28) /* 801B7DA4 001B4D04 38 7C 01 18 */ addi r3, r28, 0x118 /* 801B7DA8 001B4D08 C0 02 A9 98 */ lfs f0, lbl_805AC6B8@sda21(r2) /* 801B7DAC 001B4D0C 38 81 00 34 */ addi r4, r1, 0x34 /* 801B7DB0 001B4D10 38 05 00 01 */ addi r0, r5, 1 /* 801B7DB4 001B4D14 38 A0 00 02 */ li r5, 2 /* 801B7DB8 001B4D18 90 1C 05 40 */ stw r0, 0x540(r28) /* 801B7DBC 001B4D1C C0 3C 05 90 */ lfs f1, 0x590(r28) /* 801B7DC0 001B4D20 D0 3C 05 94 */ stfs f1, 0x594(r28) /* 801B7DC4 001B4D24 C0 5C 05 90 */ lfs f2, 0x590(r28) /* 801B7DC8 001B4D28 C0 3C 05 8C */ lfs f1, 0x58c(r28) /* 801B7DCC 001B4D2C EC 22 08 2A */ fadds f1, f2, f1 /* 801B7DD0 001B4D30 D0 3C 05 90 */ stfs f1, 0x590(r28) /* 801B7DD4 001B4D34 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801B7DD8 001B4D38 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 801B7DDC 001B4D3C C0 3C 00 40 */ lfs f1, 0x40(r28) /* 801B7DE0 001B4D40 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801B7DE4 001B4D44 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801B7DE8 001B4D48 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801B7DEC 001B4D4C D0 01 00 40 */ stfs f0, 0x40(r1) /* 801B7DF0 001B4D50 48 00 00 B9 */ bl MarkCells__11CMarkerGridFRC7CSphereUi /* 801B7DF4 001B4D54 7F 83 E3 78 */ mr r3, r28 /* 801B7DF8 001B4D58 BB 21 00 B4 */ lmw r25, 0xb4(r1) /* 801B7DFC 001B4D5C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801B7E00 001B4D60 7C 08 03 A6 */ mtlr r0 /* 801B7E04 001B4D64 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801B7E08 001B4D68 4E 80 00 20 */ blr .global GetWorldPositionForCell__11CMarkerGridCFUiUiUi GetWorldPositionForCell__11CMarkerGridCFUiUiUi: /* 801B7E0C 001B4D6C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B7E10 001B4D70 3C 00 43 30 */ lis r0, 0x4330 /* 801B7E14 001B4D74 C9 22 A9 A0 */ lfd f9, lbl_805AC6C0@sda21(r2) /* 801B7E18 001B4D78 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801B7E1C 001B4D7C C0 24 00 18 */ lfs f1, 0x18(r4) /* 801B7E20 001B4D80 90 01 00 18 */ stw r0, 0x18(r1) /* 801B7E24 001B4D84 C0 C2 A9 74 */ lfs f6, lbl_805AC694@sda21(r2) /* 801B7E28 001B4D88 C8 01 00 18 */ lfd f0, 0x18(r1) /* 801B7E2C 001B4D8C 90 C1 00 0C */ stw r6, 0xc(r1) /* 801B7E30 001B4D90 EC 40 48 28 */ fsubs f2, f0, f9 /* 801B7E34 001B4D94 C0 84 00 1C */ lfs f4, 0x1c(r4) /* 801B7E38 001B4D98 90 01 00 08 */ stw r0, 8(r1) /* 801B7E3C 001B4D9C EC 06 00 72 */ fmuls f0, f6, f1 /* 801B7E40 001B4DA0 C0 64 00 20 */ lfs f3, 0x20(r4) /* 801B7E44 001B4DA4 C8 A1 00 08 */ lfd f5, 8(r1) /* 801B7E48 001B4DA8 EC 42 00 72 */ fmuls f2, f2, f1 /* 801B7E4C 001B4DAC C0 24 00 00 */ lfs f1, 0(r4) /* 801B7E50 001B4DB0 EC E5 48 28 */ fsubs f7, f5, f9 /* 801B7E54 001B4DB4 90 E1 00 14 */ stw r7, 0x14(r1) /* 801B7E58 001B4DB8 EC A6 01 32 */ fmuls f5, f6, f4 /* 801B7E5C 001B4DBC EC 22 08 2A */ fadds f1, f2, f1 /* 801B7E60 001B4DC0 ED 07 01 32 */ fmuls f8, f7, f4 /* 801B7E64 001B4DC4 90 01 00 10 */ stw r0, 0x10(r1) /* 801B7E68 001B4DC8 C0 E4 00 04 */ lfs f7, 4(r4) /* 801B7E6C 001B4DCC C8 81 00 10 */ lfd f4, 0x10(r1) /* 801B7E70 001B4DD0 EC 01 00 2A */ fadds f0, f1, f0 /* 801B7E74 001B4DD4 C0 44 00 08 */ lfs f2, 8(r4) /* 801B7E78 001B4DD8 EC 26 00 F2 */ fmuls f1, f6, f3 /* 801B7E7C 001B4DDC EC 84 48 28 */ fsubs f4, f4, f9 /* 801B7E80 001B4DE0 D0 03 00 00 */ stfs f0, 0(r3) /* 801B7E84 001B4DE4 EC C8 38 2A */ fadds f6, f8, f7 /* 801B7E88 001B4DE8 EC 04 00 F2 */ fmuls f0, f4, f3 /* 801B7E8C 001B4DEC EC 66 28 2A */ fadds f3, f6, f5 /* 801B7E90 001B4DF0 EC 00 10 2A */ fadds f0, f0, f2 /* 801B7E94 001B4DF4 D0 63 00 04 */ stfs f3, 4(r3) /* 801B7E98 001B4DF8 EC 00 08 2A */ fadds f0, f0, f1 /* 801B7E9C 001B4DFC D0 03 00 08 */ stfs f0, 8(r3) /* 801B7EA0 001B4E00 38 21 00 20 */ addi r1, r1, 0x20 /* 801B7EA4 001B4E04 4E 80 00 20 */ blr .global MarkCells__11CMarkerGridFRC7CSphereUi MarkCells__11CMarkerGridFRC7CSphereUi: /* 801B7EA8 001B4E08 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801B7EAC 001B4E0C 7C 08 02 A6 */ mflr r0 /* 801B7EB0 001B4E10 90 01 00 54 */ stw r0, 0x54(r1) /* 801B7EB4 001B4E14 38 C1 00 0C */ addi r6, r1, 0xc /* 801B7EB8 001B4E18 38 E1 00 08 */ addi r7, r1, 8 /* 801B7EBC 001B4E1C BF 01 00 30 */ stmw r24, 0x30(r1) /* 801B7EC0 001B4E20 7C BD 2B 78 */ mr r29, r5 /* 801B7EC4 001B4E24 7C 7C 1B 78 */ mr r28, r3 /* 801B7EC8 001B4E28 38 A1 00 10 */ addi r5, r1, 0x10 /* 801B7ECC 001B4E2C C0 A3 00 18 */ lfs f5, 0x18(r3) /* 801B7ED0 001B4E30 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801B7ED4 001B4E34 C0 63 00 1C */ lfs f3, 0x1c(r3) /* 801B7ED8 001B4E38 EC 80 28 28 */ fsubs f4, f0, f5 /* 801B7EDC 001B4E3C C0 23 00 20 */ lfs f1, 0x20(r3) /* 801B7EE0 001B4E40 EC 40 18 28 */ fsubs f2, f0, f3 /* 801B7EE4 001B4E44 EC 00 08 28 */ fsubs f0, f0, f1 /* 801B7EE8 001B4E48 EC 84 28 24 */ fdivs f4, f4, f5 /* 801B7EEC 001B4E4C EC 42 18 24 */ fdivs f2, f2, f3 /* 801B7EF0 001B4E50 EC 00 08 24 */ fdivs f0, f0, f1 /* 801B7EF4 001B4E54 FC 60 20 1E */ fctiwz f3, f4 /* 801B7EF8 001B4E58 FC 20 10 1E */ fctiwz f1, f2 /* 801B7EFC 001B4E5C FC 00 00 1E */ fctiwz f0, f0 /* 801B7F00 001B4E60 D8 61 00 18 */ stfd f3, 0x18(r1) /* 801B7F04 001B4E64 D8 21 00 20 */ stfd f1, 0x20(r1) /* 801B7F08 001B4E68 83 61 00 1C */ lwz r27, 0x1c(r1) /* 801B7F0C 001B4E6C D8 01 00 28 */ stfd f0, 0x28(r1) /* 801B7F10 001B4E70 83 E1 00 24 */ lwz r31, 0x24(r1) /* 801B7F14 001B4E74 83 C1 00 2C */ lwz r30, 0x2c(r1) /* 801B7F18 001B4E78 48 00 03 61 */ bl GetCoords__11CMarkerGridCFRC9CVector3fRUiRUiRUi /* 801B7F1C 001B4E7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B7F20 001B4E80 41 82 00 8C */ beq lbl_801B7FAC /* 801B7F24 001B4E84 80 01 00 08 */ lwz r0, 8(r1) /* 801B7F28 001B4E88 7F 5B 00 50 */ subf r26, r27, r0 /* 801B7F2C 001B4E8C 48 00 00 70 */ b lbl_801B7F9C lbl_801B7F30: /* 801B7F30 001B4E90 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B7F34 001B4E94 7F 3F 00 50 */ subf r25, r31, r0 /* 801B7F38 001B4E98 48 00 00 50 */ b lbl_801B7F88 lbl_801B7F3C: /* 801B7F3C 001B4E9C 80 01 00 10 */ lwz r0, 0x10(r1) /* 801B7F40 001B4EA0 7F 1E 00 50 */ subf r24, r30, r0 /* 801B7F44 001B4EA4 48 00 00 30 */ b lbl_801B7F74 lbl_801B7F48: /* 801B7F48 001B4EA8 80 A1 00 0C */ lwz r5, 0xc(r1) /* 801B7F4C 001B4EAC 7F 83 E3 78 */ mr r3, r28 /* 801B7F50 001B4EB0 80 C1 00 08 */ lwz r6, 8(r1) /* 801B7F54 001B4EB4 48 00 03 DD */ bl GetValue__11CMarkerGridCFUiUiUi /* 801B7F58 001B4EB8 7F A7 1B 78 */ or r7, r29, r3 /* 801B7F5C 001B4EBC 7F 83 E3 78 */ mr r3, r28 /* 801B7F60 001B4EC0 7F 04 C3 78 */ mr r4, r24 /* 801B7F64 001B4EC4 7F 25 CB 78 */ mr r5, r25 /* 801B7F68 001B4EC8 7F 46 D3 78 */ mr r6, r26 /* 801B7F6C 001B4ECC 48 00 02 D1 */ bl SetValue__11CMarkerGridFUiUiUiUi /* 801B7F70 001B4ED0 3B 18 00 01 */ addi r24, r24, 1 lbl_801B7F74: /* 801B7F74 001B4ED4 80 81 00 10 */ lwz r4, 0x10(r1) /* 801B7F78 001B4ED8 7C 04 F2 14 */ add r0, r4, r30 /* 801B7F7C 001B4EDC 7C 18 00 40 */ cmplw r24, r0 /* 801B7F80 001B4EE0 41 80 FF C8 */ blt lbl_801B7F48 /* 801B7F84 001B4EE4 3B 39 00 01 */ addi r25, r25, 1 lbl_801B7F88: /* 801B7F88 001B4EE8 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B7F8C 001B4EEC 7C 00 FA 14 */ add r0, r0, r31 /* 801B7F90 001B4EF0 7C 19 00 40 */ cmplw r25, r0 /* 801B7F94 001B4EF4 41 80 FF A8 */ blt lbl_801B7F3C /* 801B7F98 001B4EF8 3B 5A 00 01 */ addi r26, r26, 1 lbl_801B7F9C: /* 801B7F9C 001B4EFC 80 01 00 08 */ lwz r0, 8(r1) /* 801B7FA0 001B4F00 7C 00 DA 14 */ add r0, r0, r27 /* 801B7FA4 001B4F04 7C 1A 00 40 */ cmplw r26, r0 /* 801B7FA8 001B4F08 41 80 FF 88 */ blt lbl_801B7F30 lbl_801B7FAC: /* 801B7FAC 001B4F0C BB 01 00 30 */ lmw r24, 0x30(r1) /* 801B7FB0 001B4F10 80 01 00 54 */ lwz r0, 0x54(r1) /* 801B7FB4 001B4F14 7C 08 03 A6 */ mtlr r0 /* 801B7FB8 001B4F18 38 21 00 50 */ addi r1, r1, 0x50 /* 801B7FBC 001B4F1C 4E 80 00 20 */ blr .global AABoxTouchesData__11CMarkerGridCFRC6CAABoxUi AABoxTouchesData__11CMarkerGridCFRC6CAABoxUi: /* 801B7FC0 001B4F20 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801B7FC4 001B4F24 7C 08 02 A6 */ mflr r0 /* 801B7FC8 001B4F28 90 01 00 84 */ stw r0, 0x84(r1) /* 801B7FCC 001B4F2C BF 61 00 6C */ stmw r27, 0x6c(r1) /* 801B7FD0 001B4F30 7C 7C 1B 78 */ mr r28, r3 /* 801B7FD4 001B4F34 7C 9D 23 78 */ mr r29, r4 /* 801B7FD8 001B4F38 7C BE 2B 78 */ mr r30, r5 /* 801B7FDC 001B4F3C 48 17 FB A9 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 801B7FE0 001B4F40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B7FE4 001B4F44 40 82 00 0C */ bne lbl_801B7FF0 /* 801B7FE8 001B4F48 38 60 00 00 */ li r3, 0 /* 801B7FEC 001B4F4C 48 00 02 3C */ b lbl_801B8228 lbl_801B7FF0: /* 801B7FF0 001B4F50 C0 BD 00 00 */ lfs f5, 0(r29) /* 801B7FF4 001B4F54 7F 84 E3 78 */ mr r4, r28 /* 801B7FF8 001B4F58 C0 9D 00 04 */ lfs f4, 4(r29) /* 801B7FFC 001B4F5C 3B E1 00 5C */ addi r31, r1, 0x5c /* 801B8000 001B4F60 C0 7D 00 08 */ lfs f3, 8(r29) /* 801B8004 001B4F64 38 61 00 50 */ addi r3, r1, 0x50 /* 801B8008 001B4F68 C0 5D 00 0C */ lfs f2, 0xc(r29) /* 801B800C 001B4F6C C0 3D 00 10 */ lfs f1, 0x10(r29) /* 801B8010 001B4F70 C0 1D 00 14 */ lfs f0, 0x14(r29) /* 801B8014 001B4F74 D0 A1 00 50 */ stfs f5, 0x50(r1) /* 801B8018 001B4F78 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801B801C 001B4F7C D0 61 00 58 */ stfs f3, 0x58(r1) /* 801B8020 001B4F80 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801B8024 001B4F84 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801B8028 001B4F88 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801B802C 001B4F8C 48 17 FA 55 */ bl Inside__6CAABoxCFRC6CAABox /* 801B8030 001B4F90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B8034 001B4F94 40 82 01 54 */ bne lbl_801B8188 /* 801B8038 001B4F98 C0 7C 00 00 */ lfs f3, 0(r28) /* 801B803C 001B4F9C C0 1D 00 00 */ lfs f0, 0(r29) /* 801B8040 001B4FA0 C0 5C 00 04 */ lfs f2, 4(r28) /* 801B8044 001B4FA4 C0 3C 00 08 */ lfs f1, 8(r28) /* 801B8048 001B4FA8 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801B804C 001B4FAC D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801B8050 001B4FB0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801B8054 001B4FB4 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801B8058 001B4FB8 40 80 00 0C */ bge lbl_801B8064 /* 801B805C 001B4FBC 7F A3 EB 78 */ mr r3, r29 /* 801B8060 001B4FC0 48 00 00 08 */ b lbl_801B8068 lbl_801B8064: /* 801B8064 001B4FC4 38 61 00 2C */ addi r3, r1, 0x2c lbl_801B8068: /* 801B8068 001B4FC8 38 9D 00 04 */ addi r4, r29, 4 /* 801B806C 001B4FCC C0 43 00 00 */ lfs f2, 0(r3) /* 801B8070 001B4FD0 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801B8074 001B4FD4 38 01 00 30 */ addi r0, r1, 0x30 /* 801B8078 001B4FD8 C0 1D 00 04 */ lfs f0, 4(r29) /* 801B807C 001B4FDC D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801B8080 001B4FE0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B8084 001B4FE4 40 80 00 08 */ bge lbl_801B808C /* 801B8088 001B4FE8 48 00 00 08 */ b lbl_801B8090 lbl_801B808C: /* 801B808C 001B4FEC 7C 04 03 78 */ mr r4, r0 lbl_801B8090: /* 801B8090 001B4FF0 38 7D 00 08 */ addi r3, r29, 8 /* 801B8094 001B4FF4 C0 44 00 00 */ lfs f2, 0(r4) /* 801B8098 001B4FF8 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801B809C 001B4FFC 38 01 00 34 */ addi r0, r1, 0x34 /* 801B80A0 001B5000 C0 1D 00 08 */ lfs f0, 8(r29) /* 801B80A4 001B5004 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801B80A8 001B5008 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B80AC 001B500C 40 80 00 08 */ bge lbl_801B80B4 /* 801B80B0 001B5010 48 00 00 08 */ b lbl_801B80B8 lbl_801B80B4: /* 801B80B4 001B5014 7C 03 03 78 */ mr r3, r0 lbl_801B80B8: /* 801B80B8 001B5018 38 9D 00 0C */ addi r4, r29, 0xc /* 801B80BC 001B501C C0 83 00 00 */ lfs f4, 0(r3) /* 801B80C0 001B5020 C0 7C 00 0C */ lfs f3, 0xc(r28) /* 801B80C4 001B5024 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 801B80C8 001B5028 C0 5C 00 10 */ lfs f2, 0x10(r28) /* 801B80CC 001B502C C0 3C 00 14 */ lfs f1, 0x14(r28) /* 801B80D0 001B5030 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801B80D4 001B5034 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801B80D8 001B5038 D0 61 00 20 */ stfs f3, 0x20(r1) /* 801B80DC 001B503C D0 41 00 24 */ stfs f2, 0x24(r1) /* 801B80E0 001B5040 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801B80E4 001B5044 40 80 00 08 */ bge lbl_801B80EC /* 801B80E8 001B5048 48 00 00 08 */ b lbl_801B80F0 lbl_801B80EC: /* 801B80EC 001B504C 38 81 00 20 */ addi r4, r1, 0x20 lbl_801B80F0: /* 801B80F0 001B5050 38 7D 00 10 */ addi r3, r29, 0x10 /* 801B80F4 001B5054 C0 44 00 00 */ lfs f2, 0(r4) /* 801B80F8 001B5058 C0 3D 00 10 */ lfs f1, 0x10(r29) /* 801B80FC 001B505C 38 01 00 24 */ addi r0, r1, 0x24 /* 801B8100 001B5060 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801B8104 001B5064 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801B8108 001B5068 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B810C 001B506C 40 80 00 08 */ bge lbl_801B8114 /* 801B8110 001B5070 48 00 00 08 */ b lbl_801B8118 lbl_801B8114: /* 801B8114 001B5074 7C 03 03 78 */ mr r3, r0 lbl_801B8118: /* 801B8118 001B5078 38 9D 00 14 */ addi r4, r29, 0x14 /* 801B811C 001B507C C0 43 00 00 */ lfs f2, 0(r3) /* 801B8120 001B5080 C0 3D 00 14 */ lfs f1, 0x14(r29) /* 801B8124 001B5084 38 01 00 28 */ addi r0, r1, 0x28 /* 801B8128 001B5088 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801B812C 001B508C D0 41 00 24 */ stfs f2, 0x24(r1) /* 801B8130 001B5090 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801B8134 001B5094 40 80 00 08 */ bge lbl_801B813C /* 801B8138 001B5098 48 00 00 08 */ b lbl_801B8140 lbl_801B813C: /* 801B813C 001B509C 7C 04 03 78 */ mr r4, r0 lbl_801B8140: /* 801B8140 001B50A0 C0 04 00 00 */ lfs f0, 0(r4) /* 801B8144 001B50A4 38 61 00 38 */ addi r3, r1, 0x38 /* 801B8148 001B50A8 38 81 00 2C */ addi r4, r1, 0x2c /* 801B814C 001B50AC 38 A1 00 20 */ addi r5, r1, 0x20 /* 801B8150 001B50B0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801B8154 001B50B4 48 18 03 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801B8158 001B50B8 80 E1 00 38 */ lwz r7, 0x38(r1) /* 801B815C 001B50BC 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801B8160 001B50C0 80 A1 00 40 */ lwz r5, 0x40(r1) /* 801B8164 001B50C4 80 81 00 44 */ lwz r4, 0x44(r1) /* 801B8168 001B50C8 80 61 00 48 */ lwz r3, 0x48(r1) /* 801B816C 001B50CC 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801B8170 001B50D0 90 E1 00 50 */ stw r7, 0x50(r1) /* 801B8174 001B50D4 90 C1 00 54 */ stw r6, 0x54(r1) /* 801B8178 001B50D8 90 A1 00 58 */ stw r5, 0x58(r1) /* 801B817C 001B50DC 90 81 00 5C */ stw r4, 0x5c(r1) /* 801B8180 001B50E0 90 61 00 60 */ stw r3, 0x60(r1) /* 801B8184 001B50E4 90 01 00 64 */ stw r0, 0x64(r1) lbl_801B8188: /* 801B8188 001B50E8 7F 83 E3 78 */ mr r3, r28 /* 801B818C 001B50EC 38 81 00 50 */ addi r4, r1, 0x50 /* 801B8190 001B50F0 38 A1 00 1C */ addi r5, r1, 0x1c /* 801B8194 001B50F4 38 C1 00 18 */ addi r6, r1, 0x18 /* 801B8198 001B50F8 38 E1 00 14 */ addi r7, r1, 0x14 /* 801B819C 001B50FC 48 00 00 DD */ bl GetCoords__11CMarkerGridCFRC9CVector3fRUiRUiRUi /* 801B81A0 001B5100 7F 83 E3 78 */ mr r3, r28 /* 801B81A4 001B5104 7F E4 FB 78 */ mr r4, r31 /* 801B81A8 001B5108 38 A1 00 10 */ addi r5, r1, 0x10 /* 801B81AC 001B510C 38 C1 00 0C */ addi r6, r1, 0xc /* 801B81B0 001B5110 38 E1 00 08 */ addi r7, r1, 8 /* 801B81B4 001B5114 48 00 00 C5 */ bl GetCoords__11CMarkerGridCFRC9CVector3fRUiRUiRUi /* 801B81B8 001B5118 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801B81BC 001B511C 48 00 00 5C */ b lbl_801B8218 lbl_801B81C0: /* 801B81C0 001B5120 83 E1 00 18 */ lwz r31, 0x18(r1) /* 801B81C4 001B5124 48 00 00 44 */ b lbl_801B8208 lbl_801B81C8: /* 801B81C8 001B5128 83 61 00 1C */ lwz r27, 0x1c(r1) /* 801B81CC 001B512C 48 00 00 2C */ b lbl_801B81F8 lbl_801B81D0: /* 801B81D0 001B5130 7F 83 E3 78 */ mr r3, r28 /* 801B81D4 001B5134 7F 64 DB 78 */ mr r4, r27 /* 801B81D8 001B5138 7F E5 FB 78 */ mr r5, r31 /* 801B81DC 001B513C 7F A6 EB 78 */ mr r6, r29 /* 801B81E0 001B5140 48 00 01 51 */ bl GetValue__11CMarkerGridCFUiUiUi /* 801B81E4 001B5144 7F C0 18 39 */ and. r0, r30, r3 /* 801B81E8 001B5148 41 82 00 0C */ beq lbl_801B81F4 /* 801B81EC 001B514C 38 60 00 01 */ li r3, 1 /* 801B81F0 001B5150 48 00 00 38 */ b lbl_801B8228 lbl_801B81F4: /* 801B81F4 001B5154 3B 7B 00 01 */ addi r27, r27, 1 lbl_801B81F8: /* 801B81F8 001B5158 80 01 00 10 */ lwz r0, 0x10(r1) /* 801B81FC 001B515C 7C 1B 00 40 */ cmplw r27, r0 /* 801B8200 001B5160 41 80 FF D0 */ blt lbl_801B81D0 /* 801B8204 001B5164 3B FF 00 01 */ addi r31, r31, 1 lbl_801B8208: /* 801B8208 001B5168 80 01 00 0C */ lwz r0, 0xc(r1) /* 801B820C 001B516C 7C 1F 00 40 */ cmplw r31, r0 /* 801B8210 001B5170 41 80 FF B8 */ blt lbl_801B81C8 /* 801B8214 001B5174 3B BD 00 01 */ addi r29, r29, 1 lbl_801B8218: /* 801B8218 001B5178 80 01 00 08 */ lwz r0, 8(r1) /* 801B821C 001B517C 7C 1D 00 40 */ cmplw r29, r0 /* 801B8220 001B5180 41 80 FF A0 */ blt lbl_801B81C0 /* 801B8224 001B5184 38 60 00 00 */ li r3, 0 lbl_801B8228: /* 801B8228 001B5188 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 801B822C 001B518C 80 01 00 84 */ lwz r0, 0x84(r1) /* 801B8230 001B5190 7C 08 03 A6 */ mtlr r0 /* 801B8234 001B5194 38 21 00 80 */ addi r1, r1, 0x80 /* 801B8238 001B5198 4E 80 00 20 */ blr .global SetValue__11CMarkerGridFUiUiUiUi SetValue__11CMarkerGridFUiUiUiUi: /* 801B823C 001B519C 54 C0 30 32 */ slwi r0, r6, 6 /* 801B8240 001B51A0 54 88 F0 BE */ srwi r8, r4, 2 /* 801B8244 001B51A4 54 86 0F 7C */ rlwinm r6, r4, 1, 0x1d, 0x1e /* 801B8248 001B51A8 54 A5 10 3A */ slwi r5, r5, 2 /* 801B824C 001B51AC 7C 80 42 14 */ add r4, r0, r8 /* 801B8250 001B51B0 38 00 00 03 */ li r0, 3 /* 801B8254 001B51B4 7C A5 22 14 */ add r5, r5, r4 /* 801B8258 001B51B8 7C A5 1A 14 */ add r5, r5, r3 /* 801B825C 001B51BC 7C 00 30 30 */ slw r0, r0, r6 /* 801B8260 001B51C0 88 65 00 28 */ lbz r3, 0x28(r5) /* 801B8264 001B51C4 7C E4 30 30 */ slw r4, r7, r6 /* 801B8268 001B51C8 7C 60 00 78 */ andc r0, r3, r0 /* 801B826C 001B51CC 7C 80 03 78 */ or r0, r4, r0 /* 801B8270 001B51D0 98 05 00 28 */ stb r0, 0x28(r5) /* 801B8274 001B51D4 4E 80 00 20 */ blr .global GetCoords__11CMarkerGridCFRC9CVector3fRUiRUiRUi GetCoords__11CMarkerGridCFRC9CVector3fRUiRUiRUi: /* 801B8278 001B51D8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B827C 001B51DC 7C 08 02 A6 */ mflr r0 /* 801B8280 001B51E0 90 01 00 34 */ stw r0, 0x34(r1) /* 801B8284 001B51E4 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801B8288 001B51E8 7C 7B 1B 78 */ mr r27, r3 /* 801B828C 001B51EC 7C 9C 23 78 */ mr r28, r4 /* 801B8290 001B51F0 7C BD 2B 78 */ mr r29, r5 /* 801B8294 001B51F4 7C DE 33 78 */ mr r30, r6 /* 801B8298 001B51F8 7C FF 3B 78 */ mr r31, r7 /* 801B829C 001B51FC 48 17 F2 99 */ bl PointInside__6CAABoxCFRC9CVector3f /* 801B82A0 001B5200 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B82A4 001B5204 40 82 00 0C */ bne lbl_801B82B0 /* 801B82A8 001B5208 38 60 00 00 */ li r3, 0 /* 801B82AC 001B520C 48 00 00 70 */ b lbl_801B831C lbl_801B82B0: /* 801B82B0 001B5210 C0 5C 00 00 */ lfs f2, 0(r28) /* 801B82B4 001B5214 C0 3B 00 00 */ lfs f1, 0(r27) /* 801B82B8 001B5218 C0 1B 00 18 */ lfs f0, 0x18(r27) /* 801B82BC 001B521C EC 42 08 28 */ fsubs f2, f2, f1 /* 801B82C0 001B5220 C0 BC 00 04 */ lfs f5, 4(r28) /* 801B82C4 001B5224 C0 9B 00 04 */ lfs f4, 4(r27) /* 801B82C8 001B5228 C0 7C 00 08 */ lfs f3, 8(r28) /* 801B82CC 001B522C EC 22 00 24 */ fdivs f1, f2, f0 /* 801B82D0 001B5230 C0 1B 00 08 */ lfs f0, 8(r27) /* 801B82D4 001B5234 D0 41 00 08 */ stfs f2, 8(r1) /* 801B82D8 001B5238 EC 45 20 28 */ fsubs f2, f5, f4 /* 801B82DC 001B523C EC 03 00 28 */ fsubs f0, f3, f0 /* 801B82E0 001B5240 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801B82E4 001B5244 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801B82E8 001B5248 48 1D 16 6D */ bl __cvt_fp2unsigned /* 801B82EC 001B524C 90 7D 00 00 */ stw r3, 0(r29) /* 801B82F0 001B5250 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801B82F4 001B5254 C0 1B 00 1C */ lfs f0, 0x1c(r27) /* 801B82F8 001B5258 EC 21 00 24 */ fdivs f1, f1, f0 /* 801B82FC 001B525C 48 1D 16 59 */ bl __cvt_fp2unsigned /* 801B8300 001B5260 90 7E 00 00 */ stw r3, 0(r30) /* 801B8304 001B5264 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801B8308 001B5268 C0 1B 00 20 */ lfs f0, 0x20(r27) /* 801B830C 001B526C EC 21 00 24 */ fdivs f1, f1, f0 /* 801B8310 001B5270 48 1D 16 45 */ bl __cvt_fp2unsigned /* 801B8314 001B5274 90 7F 00 00 */ stw r3, 0(r31) /* 801B8318 001B5278 38 60 00 01 */ li r3, 1 lbl_801B831C: /* 801B831C 001B527C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801B8320 001B5280 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B8324 001B5284 7C 08 03 A6 */ mtlr r0 /* 801B8328 001B5288 38 21 00 30 */ addi r1, r1, 0x30 /* 801B832C 001B528C 4E 80 00 20 */ blr .global GetValue__11CMarkerGridCFUiUiUi GetValue__11CMarkerGridCFUiUiUi: /* 801B8330 001B5290 54 C0 30 32 */ slwi r0, r6, 6 /* 801B8334 001B5294 54 87 F0 BE */ srwi r7, r4, 2 /* 801B8338 001B5298 54 A5 10 3A */ slwi r5, r5, 2 /* 801B833C 001B529C 54 88 0F 7C */ rlwinm r8, r4, 1, 0x1d, 0x1e /* 801B8340 001B52A0 7C 00 3A 14 */ add r0, r0, r7 /* 801B8344 001B52A4 38 C0 00 03 */ li r6, 3 /* 801B8348 001B52A8 7C 85 02 14 */ add r4, r5, r0 /* 801B834C 001B52AC 7C 84 1A 14 */ add r4, r4, r3 /* 801B8350 001B52B0 7C C3 40 30 */ slw r3, r6, r8 /* 801B8354 001B52B4 88 04 00 28 */ lbz r0, 0x28(r4) /* 801B8358 001B52B8 7C 60 00 38 */ and r0, r3, r0 /* 801B835C 001B52BC 7C 03 44 30 */ srw r3, r0, r8 /* 801B8360 001B52C0 4E 80 00 20 */ blr .global __ct__11CMarkerGridFRC6CAABox __ct__11CMarkerGridFRC6CAABox: /* 801B8364 001B52C4 C0 04 00 00 */ lfs f0, 0(r4) /* 801B8368 001B52C8 38 A0 04 00 */ li r5, 0x400 /* 801B836C 001B52CC C0 82 A9 A8 */ lfs f4, lbl_805AC6C8@sda21(r2) /* 801B8370 001B52D0 38 00 00 80 */ li r0, 0x80 /* 801B8374 001B52D4 D0 03 00 00 */ stfs f0, 0(r3) /* 801B8378 001B52D8 38 E3 00 28 */ addi r7, r3, 0x28 /* 801B837C 001B52DC 38 C0 00 00 */ li r6, 0 /* 801B8380 001B52E0 C0 04 00 04 */ lfs f0, 4(r4) /* 801B8384 001B52E4 D0 03 00 04 */ stfs f0, 4(r3) /* 801B8388 001B52E8 C0 04 00 08 */ lfs f0, 8(r4) /* 801B838C 001B52EC D0 03 00 08 */ stfs f0, 8(r3) /* 801B8390 001B52F0 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801B8394 001B52F4 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801B8398 001B52F8 C0 04 00 10 */ lfs f0, 0x10(r4) /* 801B839C 001B52FC D0 03 00 10 */ stfs f0, 0x10(r3) /* 801B83A0 001B5300 C0 04 00 14 */ lfs f0, 0x14(r4) /* 801B83A4 001B5304 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801B83A8 001B5308 C0 23 00 0C */ lfs f1, 0xc(r3) /* 801B83AC 001B530C C0 03 00 00 */ lfs f0, 0(r3) /* 801B83B0 001B5310 C0 63 00 10 */ lfs f3, 0x10(r3) /* 801B83B4 001B5314 EC 01 00 28 */ fsubs f0, f1, f0 /* 801B83B8 001B5318 C0 23 00 04 */ lfs f1, 4(r3) /* 801B83BC 001B531C C0 43 00 14 */ lfs f2, 0x14(r3) /* 801B83C0 001B5320 EC 63 08 28 */ fsubs f3, f3, f1 /* 801B83C4 001B5324 C0 23 00 08 */ lfs f1, 8(r3) /* 801B83C8 001B5328 EC 04 00 32 */ fmuls f0, f4, f0 /* 801B83CC 001B532C EC 22 08 28 */ fsubs f1, f2, f1 /* 801B83D0 001B5330 EC 44 00 F2 */ fmuls f2, f4, f3 /* 801B83D4 001B5334 D0 03 00 18 */ stfs f0, 0x18(r3) /* 801B83D8 001B5338 EC 04 00 72 */ fmuls f0, f4, f1 /* 801B83DC 001B533C D0 43 00 1C */ stfs f2, 0x1c(r3) /* 801B83E0 001B5340 D0 03 00 20 */ stfs f0, 0x20(r3) /* 801B83E4 001B5344 90 A3 00 24 */ stw r5, 0x24(r3) /* 801B83E8 001B5348 7C 09 03 A6 */ mtctr r0 lbl_801B83EC: /* 801B83EC 001B534C 28 07 00 00 */ cmplwi r7, 0 /* 801B83F0 001B5350 41 82 00 0C */ beq lbl_801B83FC /* 801B83F4 001B5354 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B83F8 001B5358 98 07 00 00 */ stb r0, 0(r7) lbl_801B83FC: /* 801B83FC 001B535C 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8400 001B5360 41 82 00 0C */ beq lbl_801B840C /* 801B8404 001B5364 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8408 001B5368 98 07 00 00 */ stb r0, 0(r7) lbl_801B840C: /* 801B840C 001B536C 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8410 001B5370 41 82 00 0C */ beq lbl_801B841C /* 801B8414 001B5374 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8418 001B5378 98 07 00 00 */ stb r0, 0(r7) lbl_801B841C: /* 801B841C 001B537C 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8420 001B5380 41 82 00 0C */ beq lbl_801B842C /* 801B8424 001B5384 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8428 001B5388 98 07 00 00 */ stb r0, 0(r7) lbl_801B842C: /* 801B842C 001B538C 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8430 001B5390 41 82 00 0C */ beq lbl_801B843C /* 801B8434 001B5394 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8438 001B5398 98 07 00 00 */ stb r0, 0(r7) lbl_801B843C: /* 801B843C 001B539C 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8440 001B53A0 41 82 00 0C */ beq lbl_801B844C /* 801B8444 001B53A4 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8448 001B53A8 98 07 00 00 */ stb r0, 0(r7) lbl_801B844C: /* 801B844C 001B53AC 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8450 001B53B0 41 82 00 0C */ beq lbl_801B845C /* 801B8454 001B53B4 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8458 001B53B8 98 07 00 00 */ stb r0, 0(r7) lbl_801B845C: /* 801B845C 001B53BC 34 E7 00 01 */ addic. r7, r7, 1 /* 801B8460 001B53C0 41 82 00 0C */ beq lbl_801B846C /* 801B8464 001B53C4 88 0D 90 DC */ lbz r0, lbl_805A7C9C@sda21(r13) /* 801B8468 001B53C8 98 07 00 00 */ stb r0, 0(r7) lbl_801B846C: /* 801B846C 001B53CC 38 C6 00 07 */ addi r6, r6, 7 /* 801B8470 001B53D0 38 E7 00 01 */ addi r7, r7, 1 /* 801B8474 001B53D4 42 00 FF 78 */ bdnz lbl_801B83EC .global sub_801b8478 sub_801b8478: /* 801B8478 001B53D8 4E 80 00 20 */ blr .global IsQualified__14CGameLightListFRC7CEntity IsQualified__14CGameLightListFRC7CEntity: /* 801B847C 001B53DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8480 001B53E0 7C 08 02 A6 */ mflr r0 /* 801B8484 001B53E4 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8488 001B53E8 38 61 00 08 */ addi r3, r1, 8 /* 801B848C 001B53EC 4B EF 56 65 */ bl "__ct__24TCastToPtr<10CGameLight>FR7CEntity" /* 801B8490 001B53F0 80 63 00 04 */ lwz r3, 4(r3) /* 801B8494 001B53F4 7C 03 00 D0 */ neg r0, r3 /* 801B8498 001B53F8 7C 00 1B 78 */ or r0, r0, r3 /* 801B849C 001B53FC 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B84A0 001B5400 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B84A4 001B5404 7C 08 03 A6 */ mtlr r0 /* 801B84A8 001B5408 38 21 00 10 */ addi r1, r1, 0x10 /* 801B84AC 001B540C 4E 80 00 20 */ blr .global __ct__14CGameLightListFv __ct__14CGameLightListFv: /* 801B84B0 001B5410 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B84B4 001B5414 7C 08 02 A6 */ mflr r0 /* 801B84B8 001B5418 38 80 00 04 */ li r4, 4 /* 801B84BC 001B541C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B84C0 001B5420 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B84C4 001B5424 7C 7F 1B 78 */ mr r31, r3 /* 801B84C8 001B5428 4B E5 7B 71 */ bl __ct__11CObjectListF15EGameObjectList /* 801B84CC 001B542C 3C 80 80 3E */ lis r4, lbl_803E5258@ha /* 801B84D0 001B5430 7F E3 FB 78 */ mr r3, r31 /* 801B84D4 001B5434 38 04 52 58 */ addi r0, r4, lbl_803E5258@l /* 801B84D8 001B5438 90 1F 00 00 */ stw r0, 0(r31) /* 801B84DC 001B543C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B84E0 001B5440 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B84E4 001B5444 7C 08 03 A6 */ mtlr r0 /* 801B84E8 001B5448 38 21 00 10 */ addi r1, r1, 0x10 /* 801B84EC 001B544C 4E 80 00 20 */ blr .global IsQualified__20CPlatformAndDoorListFRC7CEntity IsQualified__20CPlatformAndDoorListFRC7CEntity: /* 801B84F0 001B5450 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B84F4 001B5454 7C 08 02 A6 */ mflr r0 /* 801B84F8 001B5458 90 01 00 14 */ stw r0, 0x14(r1) /* 801B84FC 001B545C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B8500 001B5460 3B E0 00 00 */ li r31, 0 /* 801B8504 001B5464 93 C1 00 08 */ stw r30, 8(r1) /* 801B8508 001B5468 7C 9E 23 78 */ mr r30, r4 /* 801B850C 001B546C 7F C3 F3 78 */ mr r3, r30 /* 801B8510 001B5470 48 00 00 75 */ bl IsPlatform__20CPlatformAndDoorListFPC7CEntity /* 801B8514 001B5474 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B8518 001B5478 40 82 00 14 */ bne lbl_801B852C /* 801B851C 001B547C 7F C3 F3 78 */ mr r3, r30 /* 801B8520 001B5480 48 00 00 2D */ bl IsDoor__20CPlatformAndDoorListFPC7CEntity /* 801B8524 001B5484 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B8528 001B5488 41 82 00 08 */ beq lbl_801B8530 lbl_801B852C: /* 801B852C 001B548C 3B E0 00 01 */ li r31, 1 lbl_801B8530: /* 801B8530 001B5490 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8534 001B5494 7F E3 FB 78 */ mr r3, r31 /* 801B8538 001B5498 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B853C 001B549C 83 C1 00 08 */ lwz r30, 8(r1) /* 801B8540 001B54A0 7C 08 03 A6 */ mtlr r0 /* 801B8544 001B54A4 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8548 001B54A8 4E 80 00 20 */ blr .global IsDoor__20CPlatformAndDoorListFPC7CEntity IsDoor__20CPlatformAndDoorListFPC7CEntity: /* 801B854C 001B54AC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8550 001B54B0 7C 08 02 A6 */ mflr r0 /* 801B8554 001B54B4 7C 64 1B 78 */ mr r4, r3 /* 801B8558 001B54B8 90 01 00 14 */ stw r0, 0x14(r1) /* 801B855C 001B54BC 38 61 00 08 */ addi r3, r1, 8 /* 801B8560 001B54C0 4B EF 1B 91 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" /* 801B8564 001B54C4 80 63 00 04 */ lwz r3, 4(r3) /* 801B8568 001B54C8 7C 03 00 D0 */ neg r0, r3 /* 801B856C 001B54CC 7C 00 1B 78 */ or r0, r0, r3 /* 801B8570 001B54D0 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B8574 001B54D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8578 001B54D8 7C 08 03 A6 */ mtlr r0 /* 801B857C 001B54DC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8580 001B54E0 4E 80 00 20 */ blr .global IsPlatform__20CPlatformAndDoorListFPC7CEntity IsPlatform__20CPlatformAndDoorListFPC7CEntity: /* 801B8584 001B54E4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8588 001B54E8 7C 08 02 A6 */ mflr r0 /* 801B858C 001B54EC 7C 64 1B 78 */ mr r4, r3 /* 801B8590 001B54F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8594 001B54F4 38 61 00 08 */ addi r3, r1, 8 /* 801B8598 001B54F8 4B EF 08 7D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" /* 801B859C 001B54FC 80 63 00 04 */ lwz r3, 4(r3) /* 801B85A0 001B5500 7C 03 00 D0 */ neg r0, r3 /* 801B85A4 001B5504 7C 00 1B 78 */ or r0, r0, r3 /* 801B85A8 001B5508 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B85AC 001B550C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B85B0 001B5510 7C 08 03 A6 */ mtlr r0 /* 801B85B4 001B5514 38 21 00 10 */ addi r1, r1, 0x10 /* 801B85B8 001B5518 4E 80 00 20 */ blr .global __ct__20CPlatformAndDoorListFv __ct__20CPlatformAndDoorListFv: /* 801B85BC 001B551C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B85C0 001B5520 7C 08 02 A6 */ mflr r0 /* 801B85C4 001B5524 38 80 00 07 */ li r4, 7 /* 801B85C8 001B5528 90 01 00 14 */ stw r0, 0x14(r1) /* 801B85CC 001B552C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B85D0 001B5530 7C 7F 1B 78 */ mr r31, r3 /* 801B85D4 001B5534 4B E5 7A 65 */ bl __ct__11CObjectListF15EGameObjectList /* 801B85D8 001B5538 3C 80 80 3E */ lis r4, lbl_803E5264@ha /* 801B85DC 001B553C 7F E3 FB 78 */ mr r3, r31 /* 801B85E0 001B5540 38 04 52 64 */ addi r0, r4, lbl_803E5264@l /* 801B85E4 001B5544 90 1F 00 00 */ stw r0, 0(r31) /* 801B85E8 001B5548 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B85EC 001B554C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B85F0 001B5550 7C 08 03 A6 */ mtlr r0 /* 801B85F4 001B5554 38 21 00 10 */ addi r1, r1, 0x10 /* 801B85F8 001B5558 4E 80 00 20 */ blr .global IsQualified__15CAiWaypointListFRC7CEntity IsQualified__15CAiWaypointListFRC7CEntity: /* 801B85FC 001B555C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B8600 001B5560 7C 08 02 A6 */ mflr r0 /* 801B8604 001B5564 90 01 00 24 */ stw r0, 0x24(r1) /* 801B8608 001B5568 38 61 00 10 */ addi r3, r1, 0x10 /* 801B860C 001B556C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B8610 001B5570 3B E0 00 00 */ li r31, 0 /* 801B8614 001B5574 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B8618 001B5578 7C 9E 23 78 */ mr r30, r4 /* 801B861C 001B557C 4B EF 24 7D */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FR7CEntity" /* 801B8620 001B5580 80 03 00 04 */ lwz r0, 4(r3) /* 801B8624 001B5584 28 00 00 00 */ cmplwi r0, 0 /* 801B8628 001B5588 41 82 00 0C */ beq lbl_801B8634 /* 801B862C 001B558C 3B E0 00 01 */ li r31, 1 /* 801B8630 001B5590 48 00 00 20 */ b lbl_801B8650 lbl_801B8634: /* 801B8634 001B5594 7F C4 F3 78 */ mr r4, r30 /* 801B8638 001B5598 38 61 00 08 */ addi r3, r1, 8 /* 801B863C 001B559C 4B EF 31 11 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FR7CEntity" /* 801B8640 001B55A0 80 03 00 04 */ lwz r0, 4(r3) /* 801B8644 001B55A4 28 00 00 00 */ cmplwi r0, 0 /* 801B8648 001B55A8 41 82 00 08 */ beq lbl_801B8650 /* 801B864C 001B55AC 3B E0 00 01 */ li r31, 1 lbl_801B8650: /* 801B8650 001B55B0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B8654 001B55B4 57 E3 06 3E */ clrlwi r3, r31, 0x18 /* 801B8658 001B55B8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B865C 001B55BC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B8660 001B55C0 7C 08 03 A6 */ mtlr r0 /* 801B8664 001B55C4 38 21 00 20 */ addi r1, r1, 0x20 /* 801B8668 001B55C8 4E 80 00 20 */ blr .global __ct__15CAiWaypointListFv __ct__15CAiWaypointListFv: /* 801B866C 001B55CC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8670 001B55D0 7C 08 02 A6 */ mflr r0 /* 801B8674 001B55D4 38 80 00 06 */ li r4, 6 /* 801B8678 001B55D8 90 01 00 14 */ stw r0, 0x14(r1) /* 801B867C 001B55DC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B8680 001B55E0 7C 7F 1B 78 */ mr r31, r3 /* 801B8684 001B55E4 4B E5 79 B5 */ bl __ct__11CObjectListF15EGameObjectList /* 801B8688 001B55E8 3C 80 80 3E */ lis r4, lbl_803E5270@ha /* 801B868C 001B55EC 7F E3 FB 78 */ mr r3, r31 /* 801B8690 001B55F0 38 04 52 70 */ addi r0, r4, lbl_803E5270@l /* 801B8694 001B55F4 90 1F 00 00 */ stw r0, 0(r31) /* 801B8698 001B55F8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B869C 001B55FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B86A0 001B5600 7C 08 03 A6 */ mtlr r0 /* 801B86A4 001B5604 38 21 00 10 */ addi r1, r1, 0x10 /* 801B86A8 001B5608 4E 80 00 20 */ blr .global IsQualified__16CListeningAiListFRC7CEntity IsQualified__16CListeningAiListFRC7CEntity: /* 801B86AC 001B560C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B86B0 001B5610 7C 08 02 A6 */ mflr r0 /* 801B86B4 001B5614 90 01 00 24 */ stw r0, 0x24(r1) /* 801B86B8 001B5618 38 61 00 08 */ addi r3, r1, 8 /* 801B86BC 001B561C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B86C0 001B5620 3B E0 00 00 */ li r31, 0 /* 801B86C4 001B5624 4B EF 44 05 */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity" /* 801B86C8 001B5628 80 63 00 04 */ lwz r3, 4(r3) /* 801B86CC 001B562C 28 03 00 00 */ cmplwi r3, 0 /* 801B86D0 001B5630 41 82 00 20 */ beq lbl_801B86F0 /* 801B86D4 001B5634 81 83 00 00 */ lwz r12, 0(r3) /* 801B86D8 001B5638 81 8C 00 98 */ lwz r12, 0x98(r12) /* 801B86DC 001B563C 7D 89 03 A6 */ mtctr r12 /* 801B86E0 001B5640 4E 80 04 21 */ bctrl /* 801B86E4 001B5644 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B86E8 001B5648 41 82 00 08 */ beq lbl_801B86F0 /* 801B86EC 001B564C 3B E0 00 01 */ li r31, 1 lbl_801B86F0: /* 801B86F0 001B5650 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B86F4 001B5654 57 E3 06 3E */ clrlwi r3, r31, 0x18 /* 801B86F8 001B5658 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B86FC 001B565C 7C 08 03 A6 */ mtlr r0 /* 801B8700 001B5660 38 21 00 20 */ addi r1, r1, 0x20 /* 801B8704 001B5664 4E 80 00 20 */ blr .global __ct__16CListeningAiListFv __ct__16CListeningAiListFv: /* 801B8708 001B5668 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B870C 001B566C 7C 08 02 A6 */ mflr r0 /* 801B8710 001B5670 38 80 00 05 */ li r4, 5 /* 801B8714 001B5674 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8718 001B5678 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B871C 001B567C 7C 7F 1B 78 */ mr r31, r3 /* 801B8720 001B5680 4B E5 79 19 */ bl __ct__11CObjectListF15EGameObjectList /* 801B8724 001B5684 3C 80 80 3E */ lis r4, lbl_803E527C@ha /* 801B8728 001B5688 7F E3 FB 78 */ mr r3, r31 /* 801B872C 001B568C 38 04 52 7C */ addi r0, r4, lbl_803E527C@l /* 801B8730 001B5690 90 1F 00 00 */ stw r0, 0(r31) /* 801B8734 001B5694 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B8738 001B5698 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B873C 001B569C 7C 08 03 A6 */ mtlr r0 /* 801B8740 001B56A0 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8744 001B56A4 4E 80 00 20 */ blr .global IsQualified__15CGameCameraListFRC7CEntity IsQualified__15CGameCameraListFRC7CEntity: /* 801B8748 001B56A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B874C 001B56AC 7C 08 02 A6 */ mflr r0 /* 801B8750 001B56B0 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8754 001B56B4 38 61 00 08 */ addi r3, r1, 8 /* 801B8758 001B56B8 4B EF 56 FD */ bl "__ct__25TCastToPtr<11CGameCamera>FR7CEntity" /* 801B875C 001B56BC 80 63 00 04 */ lwz r3, 4(r3) /* 801B8760 001B56C0 7C 03 00 D0 */ neg r0, r3 /* 801B8764 001B56C4 7C 00 1B 78 */ or r0, r0, r3 /* 801B8768 001B56C8 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B876C 001B56CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8770 001B56D0 7C 08 03 A6 */ mtlr r0 /* 801B8774 001B56D4 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8778 001B56D8 4E 80 00 20 */ blr .global __ct__15CGameCameraListFv __ct__15CGameCameraListFv: /* 801B877C 001B56DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8780 001B56E0 7C 08 02 A6 */ mflr r0 /* 801B8784 001B56E4 38 80 00 03 */ li r4, 3 /* 801B8788 001B56E8 90 01 00 14 */ stw r0, 0x14(r1) /* 801B878C 001B56EC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B8790 001B56F0 7C 7F 1B 78 */ mr r31, r3 /* 801B8794 001B56F4 4B E5 78 A5 */ bl __ct__11CObjectListF15EGameObjectList /* 801B8798 001B56F8 3C 80 80 3E */ lis r4, lbl_803E5288@ha /* 801B879C 001B56FC 7F E3 FB 78 */ mr r3, r31 /* 801B87A0 001B5700 38 04 52 88 */ addi r0, r4, lbl_803E5288@l /* 801B87A4 001B5704 90 1F 00 00 */ stw r0, 0(r31) /* 801B87A8 001B5708 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B87AC 001B570C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B87B0 001B5710 7C 08 03 A6 */ mtlr r0 /* 801B87B4 001B5714 38 21 00 10 */ addi r1, r1, 0x10 /* 801B87B8 001B5718 4E 80 00 20 */ blr .global IsQualified__17CPhysicsActorListFRC7CEntity IsQualified__17CPhysicsActorListFRC7CEntity: /* 801B87BC 001B571C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B87C0 001B5720 7C 08 02 A6 */ mflr r0 /* 801B87C4 001B5724 90 01 00 14 */ stw r0, 0x14(r1) /* 801B87C8 001B5728 38 61 00 08 */ addi r3, r1, 8 /* 801B87CC 001B572C 4B EF 3F 85 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" /* 801B87D0 001B5730 80 63 00 04 */ lwz r3, 4(r3) /* 801B87D4 001B5734 7C 03 00 D0 */ neg r0, r3 /* 801B87D8 001B5738 7C 00 1B 78 */ or r0, r0, r3 /* 801B87DC 001B573C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B87E0 001B5740 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B87E4 001B5744 7C 08 03 A6 */ mtlr r0 /* 801B87E8 001B5748 38 21 00 10 */ addi r1, r1, 0x10 /* 801B87EC 001B574C 4E 80 00 20 */ blr .global __ct__17CPhysicsActorListFv __ct__17CPhysicsActorListFv: /* 801B87F0 001B5750 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B87F4 001B5754 7C 08 02 A6 */ mflr r0 /* 801B87F8 001B5758 38 80 00 02 */ li r4, 2 /* 801B87FC 001B575C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8800 001B5760 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B8804 001B5764 7C 7F 1B 78 */ mr r31, r3 /* 801B8808 001B5768 4B E5 78 31 */ bl __ct__11CObjectListF15EGameObjectList /* 801B880C 001B576C 3C 80 80 3E */ lis r4, lbl_803E5294@ha /* 801B8810 001B5770 7F E3 FB 78 */ mr r3, r31 /* 801B8814 001B5774 38 04 52 94 */ addi r0, r4, lbl_803E5294@l /* 801B8818 001B5778 90 1F 00 00 */ stw r0, 0(r31) /* 801B881C 001B577C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B8820 001B5780 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8824 001B5784 7C 08 03 A6 */ mtlr r0 /* 801B8828 001B5788 38 21 00 10 */ addi r1, r1, 0x10 /* 801B882C 001B578C 4E 80 00 20 */ blr .global IsQualified__10CActorListFRC7CEntity IsQualified__10CActorListFRC7CEntity: /* 801B8830 001B5790 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8834 001B5794 7C 08 02 A6 */ mflr r0 /* 801B8838 001B5798 90 01 00 14 */ stw r0, 0x14(r1) /* 801B883C 001B579C 38 61 00 08 */ addi r3, r1, 8 /* 801B8840 001B57A0 4B EF 74 BD */ bl "__ct__19TCastToPtr<6CActor>FR7CEntity" /* 801B8844 001B57A4 80 63 00 04 */ lwz r3, 4(r3) /* 801B8848 001B57A8 7C 03 00 D0 */ neg r0, r3 /* 801B884C 001B57AC 7C 00 1B 78 */ or r0, r0, r3 /* 801B8850 001B57B0 54 03 0F FE */ srwi r3, r0, 0x1f /* 801B8854 001B57B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8858 001B57B8 7C 08 03 A6 */ mtlr r0 /* 801B885C 001B57BC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8860 001B57C0 4E 80 00 20 */ blr .global __ct__10CActorListFv __ct__10CActorListFv: /* 801B8864 001B57C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8868 001B57C8 7C 08 02 A6 */ mflr r0 /* 801B886C 001B57CC 38 80 00 01 */ li r4, 1 /* 801B8870 001B57D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8874 001B57D4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B8878 001B57D8 7C 7F 1B 78 */ mr r31, r3 /* 801B887C 001B57DC 4B E5 77 BD */ bl __ct__11CObjectListF15EGameObjectList /* 801B8880 001B57E0 3C 80 80 3E */ lis r4, lbl_803E52A0@ha /* 801B8884 001B57E4 7F E3 FB 78 */ mr r3, r31 /* 801B8888 001B57E8 38 04 52 A0 */ addi r0, r4, lbl_803E52A0@l /* 801B888C 001B57EC 90 1F 00 00 */ stw r0, 0(r31) /* 801B8890 001B57F0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B8894 001B57F4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8898 001B57F8 7C 08 03 A6 */ mtlr r0 /* 801B889C 001B57FC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B88A0 001B5800 4E 80 00 20 */ blr .global LoadIdle__10CAuxWeaponFv LoadIdle__10CAuxWeaponFv: /* 801B88A4 001B5804 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B88A8 001B5808 7C 08 02 A6 */ mflr r0 /* 801B88AC 001B580C 90 01 00 14 */ stw r0, 0x14(r1) /* 801B88B0 001B5810 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B88B4 001B5814 93 C1 00 08 */ stw r30, 8(r1) /* 801B88B8 001B5818 7C 7E 1B 78 */ mr r30, r3 /* 801B88BC 001B581C 80 03 00 78 */ lwz r0, 0x78(r3) /* 801B88C0 001B5820 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B88C4 001B5824 7F FE 02 14 */ add r31, r30, r0 /* 801B88C8 001B5828 80 1F 00 34 */ lwz r0, 0x34(r31) /* 801B88CC 001B582C 3B FF 00 2C */ addi r31, r31, 0x2c /* 801B88D0 001B5830 28 00 00 00 */ cmplwi r0, 0 /* 801B88D4 001B5834 41 82 00 0C */ beq lbl_801B88E0 /* 801B88D8 001B5838 38 60 00 01 */ li r3, 1 /* 801B88DC 001B583C 48 00 00 3C */ b lbl_801B8918 lbl_801B88E0: /* 801B88E0 001B5840 88 1F 00 04 */ lbz r0, 4(r31) /* 801B88E4 001B5844 28 00 00 00 */ cmplwi r0, 0 /* 801B88E8 001B5848 41 82 00 2C */ beq lbl_801B8914 /* 801B88EC 001B584C 80 7F 00 00 */ lwz r3, 0(r31) /* 801B88F0 001B5850 80 03 00 10 */ lwz r0, 0x10(r3) /* 801B88F4 001B5854 28 00 00 00 */ cmplwi r0, 0 /* 801B88F8 001B5858 41 82 00 1C */ beq lbl_801B8914 /* 801B88FC 001B585C 7F E3 FB 78 */ mr r3, r31 /* 801B8900 001B5860 48 18 85 0D */ bl GetObj__6CTokenFv /* 801B8904 001B5864 80 03 00 04 */ lwz r0, 4(r3) /* 801B8908 001B5868 38 60 00 01 */ li r3, 1 /* 801B890C 001B586C 90 1F 00 08 */ stw r0, 8(r31) /* 801B8910 001B5870 48 00 00 08 */ b lbl_801B8918 lbl_801B8914: /* 801B8914 001B5874 38 60 00 00 */ li r3, 0 lbl_801B8918: /* 801B8918 001B5878 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801B891C 001B587C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801B8920 001B5880 98 1E 00 80 */ stb r0, 0x80(r30) /* 801B8924 001B5884 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B8928 001B5888 83 C1 00 08 */ lwz r30, 8(r1) /* 801B892C 001B588C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8930 001B5890 7C 08 03 A6 */ mtlr r0 /* 801B8934 001B5894 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8938 001B5898 4E 80 00 20 */ blr .global Load__10CAuxWeaponFiR13CStateManager Load__10CAuxWeaponFiR13CStateManager: /* 801B893C 001B589C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B8940 001B58A0 7C 08 02 A6 */ mflr r0 /* 801B8944 001B58A4 38 C0 00 00 */ li r6, 0 /* 801B8948 001B58A8 90 01 00 24 */ stw r0, 0x24(r1) /* 801B894C 001B58AC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B8950 001B58B0 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B8954 001B58B4 7C 9E 23 78 */ mr r30, r4 /* 801B8958 001B58B8 93 A1 00 14 */ stw r29, 0x14(r1) /* 801B895C 001B58BC 7C 7D 1B 78 */ mr r29, r3 /* 801B8960 001B58C0 88 03 00 80 */ lbz r0, 0x80(r3) /* 801B8964 001B58C4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801B8968 001B58C8 98 03 00 80 */ stb r0, 0x80(r3) /* 801B896C 001B58CC 80 03 00 78 */ lwz r0, 0x78(r3) /* 801B8970 001B58D0 2C 00 00 03 */ cmpwi r0, 3 /* 801B8974 001B58D4 41 82 00 20 */ beq lbl_801B8994 /* 801B8978 001B58D8 40 80 00 24 */ bge lbl_801B899C /* 801B897C 001B58DC 2C 00 00 02 */ cmpwi r0, 2 /* 801B8980 001B58E0 40 80 00 08 */ bge lbl_801B8988 /* 801B8984 001B58E4 48 00 00 18 */ b lbl_801B899C lbl_801B8988: /* 801B8988 001B58E8 7C A4 2B 78 */ mr r4, r5 /* 801B898C 001B58EC 48 00 00 F9 */ bl DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager /* 801B8990 001B58F0 48 00 00 0C */ b lbl_801B899C lbl_801B8994: /* 801B8994 001B58F4 7C A4 2B 78 */ mr r4, r5 /* 801B8998 001B58F8 48 00 01 7D */ bl DeleteFlameThrower__10CAuxWeaponFR13CStateManager lbl_801B899C: /* 801B899C 001B58FC 80 7D 00 78 */ lwz r3, 0x78(r29) /* 801B89A0 001B5900 3B FD 00 2C */ addi r31, r29, 0x2c /* 801B89A4 001B5904 38 00 00 00 */ li r0, 0 /* 801B89A8 001B5908 1C 63 00 0C */ mulli r3, r3, 0xc /* 801B89AC 001B590C 7C 7F 1A 14 */ add r3, r31, r3 /* 801B89B0 001B5910 90 03 00 08 */ stw r0, 8(r3) /* 801B89B4 001B5914 48 18 83 8D */ bl Unlock__6CTokenFv /* 801B89B8 001B5918 1C 1E 00 0C */ mulli r0, r30, 0xc /* 801B89BC 001B591C 7C 7F 02 14 */ add r3, r31, r0 /* 801B89C0 001B5920 48 18 83 C5 */ bl Lock__6CTokenFv /* 801B89C4 001B5924 93 DD 00 78 */ stw r30, 0x78(r29) /* 801B89C8 001B5928 7F A3 EB 78 */ mr r3, r29 /* 801B89CC 001B592C 4B FF FE D9 */ bl LoadIdle__10CAuxWeaponFv /* 801B89D0 001B5930 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B89D4 001B5934 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B89D8 001B5938 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B89DC 001B593C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801B89E0 001B5940 7C 08 03 A6 */ mtlr r0 /* 801B89E4 001B5944 38 21 00 20 */ addi r1, r1, 0x20 /* 801B89E8 001B5948 4E 80 00 20 */ blr .global FreeComboVoiceId__10CAuxWeaponFv FreeComboVoiceId__10CAuxWeaponFv: /* 801B89EC 001B594C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B89F0 001B5950 7C 08 02 A6 */ mflr r0 /* 801B89F4 001B5954 90 01 00 24 */ stw r0, 0x24(r1) /* 801B89F8 001B5958 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B89FC 001B595C 7C 7F 1B 78 */ mr r31, r3 /* 801B8A00 001B5960 38 61 00 08 */ addi r3, r1, 8 /* 801B8A04 001B5964 80 1F 00 7C */ lwz r0, 0x7c(r31) /* 801B8A08 001B5968 90 01 00 08 */ stw r0, 8(r1) /* 801B8A0C 001B596C 48 13 13 3D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 801B8A10 001B5970 38 00 00 00 */ li r0, 0 /* 801B8A14 001B5974 90 1F 00 7C */ stw r0, 0x7c(r31) /* 801B8A18 001B5978 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B8A1C 001B597C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B8A20 001B5980 7C 08 03 A6 */ mtlr r0 /* 801B8A24 001B5984 38 21 00 20 */ addi r1, r1, 0x20 /* 801B8A28 001B5988 4E 80 00 20 */ blr .global AcceptScriptMsg__10CAuxWeaponF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__10CAuxWeaponF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801B8A2C 001B598C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B8A30 001B5990 7C 08 02 A6 */ mflr r0 /* 801B8A34 001B5994 2C 04 00 22 */ cmpwi r4, 0x22 /* 801B8A38 001B5998 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8A3C 001B599C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801B8A40 001B59A0 7C DF 33 78 */ mr r31, r6 /* 801B8A44 001B59A4 93 C1 00 08 */ stw r30, 8(r1) /* 801B8A48 001B59A8 7C 7E 1B 78 */ mr r30, r3 /* 801B8A4C 001B59AC 41 82 00 0C */ beq lbl_801B8A58 /* 801B8A50 001B59B0 40 80 00 1C */ bge lbl_801B8A6C /* 801B8A54 001B59B4 48 00 00 18 */ b lbl_801B8A6C lbl_801B8A58: /* 801B8A58 001B59B8 7F E4 FB 78 */ mr r4, r31 /* 801B8A5C 001B59BC 48 00 00 B9 */ bl DeleteFlameThrower__10CAuxWeaponFR13CStateManager /* 801B8A60 001B59C0 7F C3 F3 78 */ mr r3, r30 /* 801B8A64 001B59C4 7F E4 FB 78 */ mr r4, r31 /* 801B8A68 001B59C8 48 00 00 1D */ bl DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager lbl_801B8A6C: /* 801B8A6C 001B59CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B8A70 001B59D0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801B8A74 001B59D4 83 C1 00 08 */ lwz r30, 8(r1) /* 801B8A78 001B59D8 7C 08 03 A6 */ mtlr r0 /* 801B8A7C 001B59DC 38 21 00 10 */ addi r1, r1, 0x10 /* 801B8A80 001B59E0 4E 80 00 20 */ blr .global DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager: /* 801B8A84 001B59E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B8A88 001B59E8 7C 08 02 A6 */ mflr r0 /* 801B8A8C 001B59EC 90 01 00 24 */ stw r0, 0x24(r1) /* 801B8A90 001B59F0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B8A94 001B59F4 7C 9F 23 78 */ mr r31, r4 /* 801B8A98 001B59F8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B8A9C 001B59FC 7C 7E 1B 78 */ mr r30, r3 /* 801B8AA0 001B5A00 4B FF FF 4D */ bl FreeComboVoiceId__10CAuxWeaponFv /* 801B8AA4 001B5A04 A0 7E 00 70 */ lhz r3, 0x70(r30) /* 801B8AA8 001B5A08 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B8AAC 001B5A0C 7C 03 00 40 */ cmplw r3, r0 /* 801B8AB0 001B5A10 41 82 00 4C */ beq lbl_801B8AFC /* 801B8AB4 001B5A14 A0 1E 00 70 */ lhz r0, 0x70(r30) /* 801B8AB8 001B5A18 7F E3 FB 78 */ mr r3, r31 /* 801B8ABC 001B5A1C 38 81 00 08 */ addi r4, r1, 8 /* 801B8AC0 001B5A20 B0 01 00 08 */ sth r0, 8(r1) /* 801B8AC4 001B5A24 4B E9 37 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801B8AC8 001B5A28 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 801B8ACC 001B5A2C 38 00 FF FF */ li r0, -1 /* 801B8AD0 001B5A30 B0 7E 00 70 */ sth r3, 0x70(r30) /* 801B8AD4 001B5A34 90 1E 00 74 */ stw r0, 0x74(r30) /* 801B8AD8 001B5A38 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801B8ADC 001B5A3C 80 83 00 00 */ lwz r4, 0(r3) /* 801B8AE0 001B5A40 88 04 00 00 */ lbz r0, 0(r4) /* 801B8AE4 001B5A44 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B8AE8 001B5A48 41 82 00 14 */ beq lbl_801B8AFC /* 801B8AEC 001B5A4C 88 04 00 00 */ lbz r0, 0(r4) /* 801B8AF0 001B5A50 38 60 00 00 */ li r3, 0 /* 801B8AF4 001B5A54 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B8AF8 001B5A58 98 04 00 00 */ stb r0, 0(r4) lbl_801B8AFC: /* 801B8AFC 001B5A5C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B8B00 001B5A60 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B8B04 001B5A64 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B8B08 001B5A68 7C 08 03 A6 */ mtlr r0 /* 801B8B0C 001B5A6C 38 21 00 20 */ addi r1, r1, 0x20 /* 801B8B10 001B5A70 4E 80 00 20 */ blr .global DeleteFlameThrower__10CAuxWeaponFR13CStateManager DeleteFlameThrower__10CAuxWeaponFR13CStateManager: /* 801B8B14 001B5A74 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B8B18 001B5A78 7C 08 02 A6 */ mflr r0 /* 801B8B1C 001B5A7C 90 01 00 24 */ stw r0, 0x24(r1) /* 801B8B20 001B5A80 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B8B24 001B5A84 7C 9F 23 78 */ mr r31, r4 /* 801B8B28 001B5A88 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B8B2C 001B5A8C 7C 7E 1B 78 */ mr r30, r3 /* 801B8B30 001B5A90 4B FF FE BD */ bl FreeComboVoiceId__10CAuxWeaponFv /* 801B8B34 001B5A94 A0 7E 00 6E */ lhz r3, 0x6e(r30) /* 801B8B38 001B5A98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B8B3C 001B5A9C 7C 03 00 40 */ cmplw r3, r0 /* 801B8B40 001B5AA0 41 82 00 4C */ beq lbl_801B8B8C /* 801B8B44 001B5AA4 A0 1E 00 6E */ lhz r0, 0x6e(r30) /* 801B8B48 001B5AA8 7F E3 FB 78 */ mr r3, r31 /* 801B8B4C 001B5AAC 38 81 00 08 */ addi r4, r1, 8 /* 801B8B50 001B5AB0 B0 01 00 08 */ sth r0, 8(r1) /* 801B8B54 001B5AB4 4B E9 37 19 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801B8B58 001B5AB8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 801B8B5C 001B5ABC 38 00 FF FF */ li r0, -1 /* 801B8B60 001B5AC0 B0 7E 00 6E */ sth r3, 0x6e(r30) /* 801B8B64 001B5AC4 90 1E 00 74 */ stw r0, 0x74(r30) /* 801B8B68 001B5AC8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801B8B6C 001B5ACC 80 83 00 00 */ lwz r4, 0(r3) /* 801B8B70 001B5AD0 88 04 00 00 */ lbz r0, 0(r4) /* 801B8B74 001B5AD4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B8B78 001B5AD8 41 82 00 14 */ beq lbl_801B8B8C /* 801B8B7C 001B5ADC 88 04 00 00 */ lbz r0, 0(r4) /* 801B8B80 001B5AE0 38 60 00 00 */ li r3, 0 /* 801B8B84 001B5AE4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B8B88 001B5AE8 98 04 00 00 */ stb r0, 0(r4) lbl_801B8B8C: /* 801B8B8C 001B5AEC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B8B90 001B5AF0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B8B94 001B5AF4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B8B98 001B5AF8 7C 08 03 A6 */ mtlr r0 /* 801B8B9C 001B5AFC 38 21 00 20 */ addi r1, r1, 0x20 /* 801B8BA0 001B5B00 4E 80 00 20 */ blr .global CreateWaveBusterBeam__10CAuxWeaponFUi9TUniqueIdRC12CTransform4fR13CStateManager CreateWaveBusterBeam__10CAuxWeaponFUi9TUniqueIdRC12CTransform4fR13CStateManager: /* 801B8BA4 001B5B04 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801B8BA8 001B5B08 7C 08 02 A6 */ mflr r0 /* 801B8BAC 001B5B0C 90 01 00 74 */ stw r0, 0x74(r1) /* 801B8BB0 001B5B10 BF 41 00 58 */ stmw r26, 0x58(r1) /* 801B8BB4 001B5B14 7C FF 3B 78 */ mr r31, r7 /* 801B8BB8 001B5B18 7C 9D 23 78 */ mr r29, r4 /* 801B8BBC 001B5B1C 7C 7C 1B 78 */ mr r28, r3 /* 801B8BC0 001B5B20 7C BA 2B 78 */ mr r26, r5 /* 801B8BC4 001B5B24 7C DE 33 78 */ mr r30, r6 /* 801B8BC8 001B5B28 7F E4 FB 78 */ mr r4, r31 /* 801B8BCC 001B5B2C 4B FF FE B9 */ bl DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager /* 801B8BD0 001B5B30 A0 7C 00 70 */ lhz r3, 0x70(r28) /* 801B8BD4 001B5B34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B8BD8 001B5B38 7C 03 00 40 */ cmplw r3, r0 /* 801B8BDC 001B5B3C 40 82 01 8C */ bne lbl_801B8D68 /* 801B8BE0 001B5B40 7F E4 FB 78 */ mr r4, r31 /* 801B8BE4 001B5B44 38 61 00 24 */ addi r3, r1, 0x24 /* 801B8BE8 001B5B48 4B E9 44 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 801B8BEC 001B5B4C A0 01 00 24 */ lhz r0, 0x24(r1) /* 801B8BF0 001B5B50 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B8BF4 001B5B54 38 83 16 78 */ addi r4, r3, lbl_803D1678@l /* 801B8BF8 001B5B58 38 60 03 D8 */ li r3, 0x3d8 /* 801B8BFC 001B5B5C B0 1C 00 70 */ sth r0, 0x70(r28) /* 801B8C00 001B5B60 38 84 00 2E */ addi r4, r4, 0x2e /* 801B8C04 001B5B64 38 A0 00 00 */ li r5, 0 /* 801B8C08 001B5B68 48 15 CC 65 */ bl __nw__FUlPCcPCc /* 801B8C0C 001B5B6C 7C 7B 1B 79 */ or. r27, r3, r3 /* 801B8C10 001B5B70 41 82 00 74 */ beq lbl_801B8C84 /* 801B8C14 001B5B74 A0 1A 00 00 */ lhz r0, 0(r26) /* 801B8C18 001B5B78 7F E5 FB 78 */ mr r5, r31 /* 801B8C1C 001B5B7C 80 8D A1 34 */ lwz r4, gpTweakPlayerGun@sda21(r13) /* 801B8C20 001B5B80 38 61 00 38 */ addi r3, r1, 0x38 /* 801B8C24 001B5B84 B0 01 00 20 */ sth r0, 0x20(r1) /* 801B8C28 001B5B88 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801B8C2C 001B5B8C 38 84 02 2C */ addi r4, r4, 0x22c /* 801B8C30 001B5B90 A0 DC 00 6C */ lhz r6, 0x6c(r28) /* 801B8C34 001B5B94 B0 C1 00 1C */ sth r6, 0x1c(r1) /* 801B8C38 001B5B98 90 01 00 2C */ stw r0, 0x2c(r1) /* 801B8C3C 001B5B9C A0 1C 00 70 */ lhz r0, 0x70(r28) /* 801B8C40 001B5BA0 B0 01 00 18 */ sth r0, 0x18(r1) /* 801B8C44 001B5BA4 48 0D 1D E1 */ bl GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager /* 801B8C48 001B5BA8 38 61 00 1C */ addi r3, r1, 0x1c /* 801B8C4C 001B5BAC 38 01 00 20 */ addi r0, r1, 0x20 /* 801B8C50 001B5BB0 90 61 00 08 */ stw r3, 8(r1) /* 801B8C54 001B5BB4 7F 63 DB 78 */ mr r3, r27 /* 801B8C58 001B5BB8 7F C6 F3 78 */ mr r6, r30 /* 801B8C5C 001B5BBC 38 9C 00 44 */ addi r4, r28, 0x44 /* 801B8C60 001B5BC0 90 01 00 0C */ stw r0, 0xc(r1) /* 801B8C64 001B5BC4 39 01 00 38 */ addi r8, r1, 0x38 /* 801B8C68 001B5BC8 39 21 00 18 */ addi r9, r1, 0x18 /* 801B8C6C 001B5BCC 39 41 00 2C */ addi r10, r1, 0x2c /* 801B8C70 001B5BD0 93 A1 00 10 */ stw r29, 0x10(r1) /* 801B8C74 001B5BD4 38 A0 00 02 */ li r5, 2 /* 801B8C78 001B5BD8 38 E0 00 20 */ li r7, 0x20 /* 801B8C7C 001B5BDC 48 00 75 01 */ bl "__ct__11CWaveBusterFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUi" /* 801B8C80 001B5BE0 7C 7B 1B 78 */ mr r27, r3 lbl_801B8C84: /* 801B8C84 001B5BE4 7F E3 FB 78 */ mr r3, r31 /* 801B8C88 001B5BE8 7F 64 DB 78 */ mr r4, r27 /* 801B8C8C 001B5BEC 4B E9 3E 89 */ bl AddObject__13CStateManagerFR7CEntity /* 801B8C90 001B5BF0 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B8C94 001B5BF4 3B 40 00 00 */ li r26, 0 /* 801B8C98 001B5BF8 38 83 16 78 */ addi r4, r3, lbl_803D1678@l /* 801B8C9C 001B5BFC 38 60 03 40 */ li r3, 0x340 /* 801B8CA0 001B5C00 38 84 00 2E */ addi r4, r4, 0x2e /* 801B8CA4 001B5C04 38 A0 00 00 */ li r5, 0 /* 801B8CA8 001B5C08 48 15 CB C5 */ bl __nw__FUlPCcPCc /* 801B8CAC 001B5C0C 7C 7D 1B 79 */ or. r29, r3, r3 /* 801B8CB0 001B5C10 41 82 00 2C */ beq lbl_801B8CDC /* 801B8CB4 001B5C14 38 61 00 30 */ addi r3, r1, 0x30 /* 801B8CB8 001B5C18 38 9C 00 18 */ addi r4, r28, 0x18 /* 801B8CBC 001B5C1C 48 18 81 ED */ bl __ct__6CTokenFRC6CToken /* 801B8CC0 001B5C20 7F A3 EB 78 */ mr r3, r29 /* 801B8CC4 001B5C24 38 81 00 30 */ addi r4, r1, 0x30 /* 801B8CC8 001B5C28 3B 40 00 01 */ li r26, 1 /* 801B8CCC 001B5C2C 38 A0 00 00 */ li r5, 0 /* 801B8CD0 001B5C30 38 C0 00 01 */ li r6, 1 /* 801B8CD4 001B5C34 48 16 67 0D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801B8CD8 001B5C38 7C 7D 1B 78 */ mr r29, r3 lbl_801B8CDC: /* 801B8CDC 001B5C3C 80 7C 00 24 */ lwz r3, 0x24(r28) /* 801B8CE0 001B5C40 28 03 00 00 */ cmplwi r3, 0 /* 801B8CE4 001B5C44 41 82 00 18 */ beq lbl_801B8CFC /* 801B8CE8 001B5C48 81 83 00 00 */ lwz r12, 0(r3) /* 801B8CEC 001B5C4C 38 80 00 01 */ li r4, 1 /* 801B8CF0 001B5C50 81 8C 00 08 */ lwz r12, 8(r12) /* 801B8CF4 001B5C54 7D 89 03 A6 */ mtctr r12 /* 801B8CF8 001B5C58 4E 80 04 21 */ bctrl lbl_801B8CFC: /* 801B8CFC 001B5C5C 7F 40 07 75 */ extsb. r0, r26 /* 801B8D00 001B5C60 93 BC 00 24 */ stw r29, 0x24(r28) /* 801B8D04 001B5C64 41 82 00 10 */ beq lbl_801B8D14 /* 801B8D08 001B5C68 38 61 00 30 */ addi r3, r1, 0x30 /* 801B8D0C 001B5C6C 38 80 00 00 */ li r4, 0 /* 801B8D10 001B5C70 48 18 81 31 */ bl __dt__6CTokenFv lbl_801B8D14: /* 801B8D14 001B5C74 38 61 00 28 */ addi r3, r1, 0x28 /* 801B8D18 001B5C78 38 80 07 37 */ li r4, 0x737 /* 801B8D1C 001B5C7C 38 A0 00 00 */ li r5, 0 /* 801B8D20 001B5C80 38 C0 00 01 */ li r6, 1 /* 801B8D24 001B5C84 38 E0 00 4A */ li r7, 0x4a /* 801B8D28 001B5C88 48 0D 1D D1 */ bl play_sfx__12NWeaponTypesFUsbbs /* 801B8D2C 001B5C8C 80 01 00 28 */ lwz r0, 0x28(r1) /* 801B8D30 001B5C90 3C 60 80 57 */ lis r3, lbl_805719E8@ha /* 801B8D34 001B5C94 38 83 19 E8 */ addi r4, r3, lbl_805719E8@l /* 801B8D38 001B5C98 38 A0 00 00 */ li r5, 0 /* 801B8D3C 001B5C9C 90 1C 00 7C */ stw r0, 0x7c(r28) /* 801B8D40 001B5CA0 80 7F 08 70 */ lwz r3, 0x870(r31) /* 801B8D44 001B5CA4 4B E5 1C DD */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801B8D48 001B5CA8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801B8D4C 001B5CAC 38 A0 00 01 */ li r5, 1 /* 801B8D50 001B5CB0 38 00 00 02 */ li r0, 2 /* 801B8D54 001B5CB4 80 83 00 00 */ lwz r4, 0(r3) /* 801B8D58 001B5CB8 88 64 00 00 */ lbz r3, 0(r4) /* 801B8D5C 001B5CBC 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 /* 801B8D60 001B5CC0 98 64 00 00 */ stb r3, 0(r4) /* 801B8D64 001B5CC4 90 1C 00 74 */ stw r0, 0x74(r28) lbl_801B8D68: /* 801B8D68 001B5CC8 BB 41 00 58 */ lmw r26, 0x58(r1) /* 801B8D6C 001B5CCC 80 01 00 74 */ lwz r0, 0x74(r1) /* 801B8D70 001B5CD0 7C 08 03 A6 */ mtlr r0 /* 801B8D74 001B5CD4 38 21 00 70 */ addi r1, r1, 0x70 /* 801B8D78 001B5CD8 4E 80 00 20 */ blr .global CreateFlameThrower__10CAuxWeaponFRC12CTransform4fR13CStateManagerf CreateFlameThrower__10CAuxWeaponFRC12CTransform4fR13CStateManagerf: /* 801B8D7C 001B5CDC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801B8D80 001B5CE0 7C 08 02 A6 */ mflr r0 /* 801B8D84 001B5CE4 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801B8D88 001B5CE8 DB E1 00 B8 */ stfd f31, 0xb8(r1) /* 801B8D8C 001B5CEC FF E0 08 90 */ fmr f31, f1 /* 801B8D90 001B5CF0 BE E1 00 94 */ stmw r23, 0x94(r1) /* 801B8D94 001B5CF4 7C BC 2B 78 */ mr r28, r5 /* 801B8D98 001B5CF8 7C 9B 23 78 */ mr r27, r4 /* 801B8D9C 001B5CFC 7C 7A 1B 78 */ mr r26, r3 /* 801B8DA0 001B5D00 7F 84 E3 78 */ mr r4, r28 /* 801B8DA4 001B5D04 4B FF FD 71 */ bl DeleteFlameThrower__10CAuxWeaponFR13CStateManager /* 801B8DA8 001B5D08 A0 7A 00 6E */ lhz r3, 0x6e(r26) /* 801B8DAC 001B5D0C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B8DB0 001B5D10 7C 03 00 40 */ cmplw r3, r0 /* 801B8DB4 001B5D14 40 82 02 A4 */ bne lbl_801B9058 /* 801B8DB8 001B5D18 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B8DBC 001B5D1C 38 63 16 78 */ addi r3, r3, lbl_803D1678@l /* 801B8DC0 001B5D20 38 63 00 35 */ addi r3, r3, 0x35 /* 801B8DC4 001B5D24 48 0D 26 85 */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8DC8 001B5D28 3C 80 80 3D */ lis r4, lbl_803D1678@ha /* 801B8DCC 001B5D2C 7C 7D 1B 78 */ mr r29, r3 /* 801B8DD0 001B5D30 38 64 16 78 */ addi r3, r4, lbl_803D1678@l /* 801B8DD4 001B5D34 38 63 00 48 */ addi r3, r3, 0x48 /* 801B8DD8 001B5D38 48 0D 26 71 */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8DDC 001B5D3C 3C 80 80 3D */ lis r4, lbl_803D1678@ha /* 801B8DE0 001B5D40 7C 7E 1B 78 */ mr r30, r3 /* 801B8DE4 001B5D44 38 64 16 78 */ addi r3, r4, lbl_803D1678@l /* 801B8DE8 001B5D48 38 63 00 59 */ addi r3, r3, 0x59 /* 801B8DEC 001B5D4C 48 0D 26 5D */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8DF0 001B5D50 3C 80 80 3D */ lis r4, lbl_803D1678@ha /* 801B8DF4 001B5D54 7C 7F 1B 78 */ mr r31, r3 /* 801B8DF8 001B5D58 38 64 16 78 */ addi r3, r4, lbl_803D1678@l /* 801B8DFC 001B5D5C 38 63 00 6B */ addi r3, r3, 0x6b /* 801B8E00 001B5D60 48 0D 26 49 */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8E04 001B5D64 3C 80 80 3D */ lis r4, lbl_803D1678@ha /* 801B8E08 001B5D68 7C 77 1B 78 */ mr r23, r3 /* 801B8E0C 001B5D6C 38 64 16 78 */ addi r3, r4, lbl_803D1678@l /* 801B8E10 001B5D70 38 63 00 79 */ addi r3, r3, 0x79 /* 801B8E14 001B5D74 48 0D 26 35 */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8E18 001B5D78 3C 80 80 3D */ lis r4, lbl_803D1678@ha /* 801B8E1C 001B5D7C 7C 78 1B 78 */ mr r24, r3 /* 801B8E20 001B5D80 38 64 16 78 */ addi r3, r4, lbl_803D1678@l /* 801B8E24 001B5D84 38 63 00 89 */ addi r3, r3, 0x89 /* 801B8E28 001B5D88 48 0D 26 21 */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8E2C 001B5D8C 3C 80 80 3D */ lis r4, lbl_803D1678@ha /* 801B8E30 001B5D90 7C 79 1B 78 */ mr r25, r3 /* 801B8E34 001B5D94 38 64 16 78 */ addi r3, r4, lbl_803D1678@l /* 801B8E38 001B5D98 38 63 00 96 */ addi r3, r3, 0x96 /* 801B8E3C 001B5D9C 48 0D 26 0D */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801B8E40 001B5DA0 38 A0 00 08 */ li r5, 8 /* 801B8E44 001B5DA4 38 00 FF FF */ li r0, -1 /* 801B8E48 001B5DA8 90 61 00 64 */ stw r3, 0x64(r1) /* 801B8E4C 001B5DAC 7F 84 E3 78 */ mr r4, r28 /* 801B8E50 001B5DB0 38 61 00 20 */ addi r3, r1, 0x20 /* 801B8E54 001B5DB4 90 A1 00 60 */ stw r5, 0x60(r1) /* 801B8E58 001B5DB8 93 21 00 68 */ stw r25, 0x68(r1) /* 801B8E5C 001B5DBC 93 01 00 6C */ stw r24, 0x6c(r1) /* 801B8E60 001B5DC0 92 E1 00 70 */ stw r23, 0x70(r1) /* 801B8E64 001B5DC4 93 E1 00 74 */ stw r31, 0x74(r1) /* 801B8E68 001B5DC8 93 C1 00 78 */ stw r30, 0x78(r1) /* 801B8E6C 001B5DCC 93 A1 00 7C */ stw r29, 0x7c(r1) /* 801B8E70 001B5DD0 90 01 00 80 */ stw r0, 0x80(r1) /* 801B8E74 001B5DD4 4B E9 42 69 */ bl AllocateUniqueId__13CStateManagerFv /* 801B8E78 001B5DD8 A0 01 00 20 */ lhz r0, 0x20(r1) /* 801B8E7C 001B5DDC 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B8E80 001B5DE0 38 63 16 78 */ addi r3, r3, lbl_803D1678@l /* 801B8E84 001B5DE4 3B 00 00 00 */ li r24, 0 /* 801B8E88 001B5DE8 B0 1A 00 6E */ sth r0, 0x6e(r26) /* 801B8E8C 001B5DEC 38 83 00 2E */ addi r4, r3, 0x2e /* 801B8E90 001B5DF0 38 60 03 C8 */ li r3, 0x3c8 /* 801B8E94 001B5DF4 38 A0 00 00 */ li r5, 0 /* 801B8E98 001B5DF8 48 15 C9 D5 */ bl __nw__FUlPCcPCc /* 801B8E9C 001B5DFC 7C 77 1B 79 */ or. r23, r3, r3 /* 801B8EA0 001B5E00 41 82 00 94 */ beq lbl_801B8F34 /* 801B8EA4 001B5E04 A0 BA 00 6C */ lhz r5, 0x6c(r26) /* 801B8EA8 001B5E08 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B8EAC 001B5E0C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801B8EB0 001B5E10 38 83 16 78 */ addi r4, r3, lbl_803D1678@l /* 801B8EB4 001B5E14 B0 A1 00 1C */ sth r5, 0x1c(r1) /* 801B8EB8 001B5E18 38 61 00 34 */ addi r3, r1, 0x34 /* 801B8EBC 001B5E1C 80 AD A1 34 */ lwz r5, gpTweakPlayerGun@sda21(r13) /* 801B8EC0 001B5E20 38 84 00 A2 */ addi r4, r4, 0xa2 /* 801B8EC4 001B5E24 90 01 00 28 */ stw r0, 0x28(r1) /* 801B8EC8 001B5E28 3B 05 02 48 */ addi r24, r5, 0x248 /* 801B8ECC 001B5E2C A0 1A 00 6E */ lhz r0, 0x6e(r26) /* 801B8ED0 001B5E30 B0 01 00 18 */ sth r0, 0x18(r1) /* 801B8ED4 001B5E34 4B E4 BD E5 */ bl string_l__4rstlFPCc /* 801B8ED8 001B5E38 7F 04 C3 78 */ mr r4, r24 /* 801B8EDC 001B5E3C 7F 85 E3 78 */ mr r5, r28 /* 801B8EE0 001B5E40 38 61 00 44 */ addi r3, r1, 0x44 /* 801B8EE4 001B5E44 3B 00 00 01 */ li r24, 1 /* 801B8EE8 001B5E48 48 0D 1B 3D */ bl GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager /* 801B8EEC 001B5E4C 38 01 00 18 */ addi r0, r1, 0x18 /* 801B8EF0 001B5E50 38 81 00 28 */ addi r4, r1, 0x28 /* 801B8EF4 001B5E54 90 01 00 08 */ stw r0, 8(r1) /* 801B8EF8 001B5E58 38 C1 00 1C */ addi r6, r1, 0x1c /* 801B8EFC 001B5E5C 38 00 00 00 */ li r0, 0 /* 801B8F00 001B5E60 7E E3 BB 78 */ mr r3, r23 /* 801B8F04 001B5E64 90 81 00 0C */ stw r4, 0xc(r1) /* 801B8F08 001B5E68 7F 68 DB 78 */ mr r8, r27 /* 801B8F0C 001B5E6C 38 9A 00 50 */ addi r4, r26, 0x50 /* 801B8F10 001B5E70 38 A1 00 34 */ addi r5, r1, 0x34 /* 801B8F14 001B5E74 90 C1 00 10 */ stw r6, 0x10(r1) /* 801B8F18 001B5E78 38 E1 00 60 */ addi r7, r1, 0x60 /* 801B8F1C 001B5E7C 39 41 00 44 */ addi r10, r1, 0x44 /* 801B8F20 001B5E80 38 C0 00 03 */ li r6, 3 /* 801B8F24 001B5E84 90 01 00 14 */ stw r0, 0x14(r1) /* 801B8F28 001B5E88 39 20 00 20 */ li r9, 0x20 /* 801B8F2C 001B5E8C 48 0A B4 F9 */ bl "__ct__16CNewFlameThrowerbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRCQ24rstl21reserved_vectorRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueIdUi" /* 801B8F30 001B5E90 7C 77 1B 78 */ mr r23, r3 lbl_801B8F34: /* 801B8F34 001B5E94 7F 00 07 75 */ extsb. r0, r24 /* 801B8F38 001B5E98 41 82 00 0C */ beq lbl_801B8F44 /* 801B8F3C 001B5E9C 38 61 00 34 */ addi r3, r1, 0x34 /* 801B8F40 001B5EA0 48 18 4B A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801B8F44: /* 801B8F44 001B5EA4 7F 83 E3 78 */ mr r3, r28 /* 801B8F48 001B5EA8 7E E4 BB 78 */ mr r4, r23 /* 801B8F4C 001B5EAC 4B E9 3B C9 */ bl AddObject__13CStateManagerFR7CEntity /* 801B8F50 001B5EB0 7E E3 BB 78 */ mr r3, r23 /* 801B8F54 001B5EB4 FC 20 F8 90 */ fmr f1, f31 /* 801B8F58 001B5EB8 81 97 00 00 */ lwz r12, 0(r23) /* 801B8F5C 001B5EBC 7F 84 E3 78 */ mr r4, r28 /* 801B8F60 001B5EC0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801B8F64 001B5EC4 7D 89 03 A6 */ mtctr r12 /* 801B8F68 001B5EC8 4E 80 04 21 */ bctrl /* 801B8F6C 001B5ECC 7E E3 BB 78 */ mr r3, r23 /* 801B8F70 001B5ED0 7F 64 DB 78 */ mr r4, r27 /* 801B8F74 001B5ED4 7F 85 E3 78 */ mr r5, r28 /* 801B8F78 001B5ED8 38 C0 00 00 */ li r6, 0 /* 801B8F7C 001B5EDC 48 0A AA 45 */ bl StartFiring__16CNewFlameThrowerFRC12CTransform4fRC13CStateManager /* 801B8F80 001B5EE0 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B8F84 001B5EE4 3B 00 00 00 */ li r24, 0 /* 801B8F88 001B5EE8 38 83 16 78 */ addi r4, r3, lbl_803D1678@l /* 801B8F8C 001B5EEC 38 60 03 40 */ li r3, 0x340 /* 801B8F90 001B5EF0 38 84 00 2E */ addi r4, r4, 0x2e /* 801B8F94 001B5EF4 38 A0 00 00 */ li r5, 0 /* 801B8F98 001B5EF8 48 15 C8 D5 */ bl __nw__FUlPCcPCc /* 801B8F9C 001B5EFC 7C 77 1B 79 */ or. r23, r3, r3 /* 801B8FA0 001B5F00 41 82 00 2C */ beq lbl_801B8FCC /* 801B8FA4 001B5F04 38 61 00 2C */ addi r3, r1, 0x2c /* 801B8FA8 001B5F08 38 9A 00 0C */ addi r4, r26, 0xc /* 801B8FAC 001B5F0C 48 18 7E FD */ bl __ct__6CTokenFRC6CToken /* 801B8FB0 001B5F10 7E E3 BB 78 */ mr r3, r23 /* 801B8FB4 001B5F14 38 81 00 2C */ addi r4, r1, 0x2c /* 801B8FB8 001B5F18 3B 00 00 01 */ li r24, 1 /* 801B8FBC 001B5F1C 38 A0 00 00 */ li r5, 0 /* 801B8FC0 001B5F20 38 C0 00 01 */ li r6, 1 /* 801B8FC4 001B5F24 48 16 64 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801B8FC8 001B5F28 7C 77 1B 78 */ mr r23, r3 lbl_801B8FCC: /* 801B8FCC 001B5F2C 80 7A 00 24 */ lwz r3, 0x24(r26) /* 801B8FD0 001B5F30 28 03 00 00 */ cmplwi r3, 0 /* 801B8FD4 001B5F34 41 82 00 18 */ beq lbl_801B8FEC /* 801B8FD8 001B5F38 81 83 00 00 */ lwz r12, 0(r3) /* 801B8FDC 001B5F3C 38 80 00 01 */ li r4, 1 /* 801B8FE0 001B5F40 81 8C 00 08 */ lwz r12, 8(r12) /* 801B8FE4 001B5F44 7D 89 03 A6 */ mtctr r12 /* 801B8FE8 001B5F48 4E 80 04 21 */ bctrl lbl_801B8FEC: /* 801B8FEC 001B5F4C 7F 00 07 75 */ extsb. r0, r24 /* 801B8FF0 001B5F50 92 FA 00 24 */ stw r23, 0x24(r26) /* 801B8FF4 001B5F54 41 82 00 10 */ beq lbl_801B9004 /* 801B8FF8 001B5F58 38 61 00 2C */ addi r3, r1, 0x2c /* 801B8FFC 001B5F5C 38 80 00 00 */ li r4, 0 /* 801B9000 001B5F60 48 18 7E 41 */ bl __dt__6CTokenFv lbl_801B9004: /* 801B9004 001B5F64 38 61 00 24 */ addi r3, r1, 0x24 /* 801B9008 001B5F68 38 80 07 32 */ li r4, 0x732 /* 801B900C 001B5F6C 38 A0 00 00 */ li r5, 0 /* 801B9010 001B5F70 38 C0 00 01 */ li r6, 1 /* 801B9014 001B5F74 38 E0 00 4A */ li r7, 0x4a /* 801B9018 001B5F78 48 0D 1A E1 */ bl play_sfx__12NWeaponTypesFUsbbs /* 801B901C 001B5F7C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B9020 001B5F80 3C 60 80 57 */ lis r3, lbl_80571B90@ha /* 801B9024 001B5F84 38 83 1B 90 */ addi r4, r3, lbl_80571B90@l /* 801B9028 001B5F88 38 A0 00 00 */ li r5, 0 /* 801B902C 001B5F8C 90 1A 00 7C */ stw r0, 0x7c(r26) /* 801B9030 001B5F90 80 7C 08 70 */ lwz r3, 0x870(r28) /* 801B9034 001B5F94 4B E5 19 ED */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801B9038 001B5F98 80 7C 08 B8 */ lwz r3, 0x8b8(r28) /* 801B903C 001B5F9C 38 A0 00 01 */ li r5, 1 /* 801B9040 001B5FA0 38 00 00 03 */ li r0, 3 /* 801B9044 001B5FA4 80 83 00 00 */ lwz r4, 0(r3) /* 801B9048 001B5FA8 88 64 00 00 */ lbz r3, 0(r4) /* 801B904C 001B5FAC 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 /* 801B9050 001B5FB0 98 64 00 00 */ stb r3, 0(r4) /* 801B9054 001B5FB4 90 1A 00 74 */ stw r0, 0x74(r26) lbl_801B9058: /* 801B9058 001B5FB8 CB E1 00 B8 */ lfd f31, 0xb8(r1) /* 801B905C 001B5FBC BA E1 00 94 */ lmw r23, 0x94(r1) /* 801B9060 001B5FC0 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801B9064 001B5FC4 7C 08 03 A6 */ mtlr r0 /* 801B9068 001B5FC8 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801B906C 001B5FCC 4E 80 00 20 */ blr .global LaunchMissile__10CAuxWeaponFbbiUiRC12CTransform4f9TUniqueIdR13CStateManager LaunchMissile__10CAuxWeaponFbbiUiRC12CTransform4f9TUniqueIdR13CStateManager: /* 801B9070 001B5FD0 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 801B9074 001B5FD4 7C 08 02 A6 */ mflr r0 /* 801B9078 001B5FD8 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 801B907C 001B5FDC DB E1 01 C0 */ stfd f31, 0x1c0(r1) /* 801B9080 001B5FE0 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 /* 801B9084 001B5FE4 BD C1 01 78 */ stmw r14, 0x178(r1) /* 801B9088 001B5FE8 7C 79 1B 78 */ mr r25, r3 /* 801B908C 001B5FEC FF E0 08 90 */ fmr f31, f1 /* 801B9090 001B5FF0 1C 66 00 0C */ mulli r3, r6, 0xc /* 801B9094 001B5FF4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801B9098 001B5FF8 7C BB 2B 78 */ mr r27, r5 /* 801B909C 001B5FFC 7C 9A 23 78 */ mr r26, r4 /* 801B90A0 001B6000 7F F9 1A 14 */ add r31, r25, r3 /* 801B90A4 001B6004 7C FC 3B 78 */ mr r28, r7 /* 801B90A8 001B6008 7D 1D 43 78 */ mr r29, r8 /* 801B90AC 001B600C 7D 2E 4B 78 */ mr r14, r9 /* 801B90B0 001B6010 7D 5E 53 78 */ mr r30, r10 /* 801B90B4 001B6014 3B FF 00 2C */ addi r31, r31, 0x2c /* 801B90B8 001B6018 41 82 00 18 */ beq lbl_801B90D0 /* 801B90BC 001B601C 1C 06 00 1C */ mulli r0, r6, 0x1c /* 801B90C0 001B6020 80 6D A1 34 */ lwz r3, gpTweakPlayerGun@sda21(r13) /* 801B90C4 001B6024 7E E3 02 14 */ add r23, r3, r0 /* 801B90C8 001B6028 3A F7 01 F4 */ addi r23, r23, 0x1f4 /* 801B90CC 001B602C 48 00 00 0C */ b lbl_801B90D8 lbl_801B90D0: /* 801B90D0 001B6030 80 6D A1 34 */ lwz r3, gpTweakPlayerGun@sda21(r13) /* 801B90D4 001B6034 3A E3 01 D4 */ addi r23, r3, 0x1d4 lbl_801B90D8: /* 801B90D8 001B6038 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801B90DC 001B603C 41 82 00 18 */ beq lbl_801B90F4 /* 801B90E0 001B6040 3C 60 80 3D */ lis r3, lbl_803D1658@ha /* 801B90E4 001B6044 54 C0 08 3C */ slwi r0, r6, 1 /* 801B90E8 001B6048 38 63 16 58 */ addi r3, r3, lbl_803D1658@l /* 801B90EC 001B604C 7E C3 02 2E */ lhzx r22, r3, r0 /* 801B90F0 001B6050 48 00 00 08 */ b lbl_801B90F8 lbl_801B90F4: /* 801B90F4 001B6054 3A C0 06 E8 */ li r22, 0x6e8 lbl_801B90F8: /* 801B90F8 001B6058 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B90FC 001B605C 3B 00 00 00 */ li r24, 0 /* 801B9100 001B6060 38 83 16 78 */ addi r4, r3, lbl_803D1678@l /* 801B9104 001B6064 38 60 03 D8 */ li r3, 0x3d8 /* 801B9108 001B6068 38 84 00 2E */ addi r4, r4, 0x2e /* 801B910C 001B606C 38 A0 00 00 */ li r5, 0 /* 801B9110 001B6070 48 15 C7 5D */ bl __nw__FUlPCcPCc /* 801B9114 001B6074 7C 75 1B 79 */ or. r21, r3, r3 /* 801B9118 001B6078 41 82 00 EC */ beq lbl_801B9204 /* 801B911C 001B607C C0 02 A9 B0 */ lfs f0, lbl_805AC6D0@sda21(r2) /* 801B9120 001B6080 38 00 00 00 */ li r0, 0 /* 801B9124 001B6084 A0 AE 00 00 */ lhz r5, 0(r14) /* 801B9128 001B6088 7F C4 F3 78 */ mr r4, r30 /* 801B912C 001B608C 98 01 00 78 */ stb r0, 0x78(r1) /* 801B9130 001B6090 39 C1 00 6C */ addi r14, r1, 0x6c /* 801B9134 001B6094 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801B9138 001B6098 39 E1 00 60 */ addi r15, r1, 0x60 /* 801B913C 001B609C D0 01 00 60 */ stfs f0, 0x60(r1) /* 801B9140 001B60A0 3A 81 00 3C */ addi r20, r1, 0x3c /* 801B9144 001B60A4 3A 61 00 38 */ addi r19, r1, 0x38 /* 801B9148 001B60A8 3A 41 00 44 */ addi r18, r1, 0x44 /* 801B914C 001B60AC D0 01 00 64 */ stfs f0, 0x64(r1) /* 801B9150 001B60B0 38 61 00 30 */ addi r3, r1, 0x30 /* 801B9154 001B60B4 3B 00 00 01 */ li r24, 1 /* 801B9158 001B60B8 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801B915C 001B60BC B0 A1 00 3C */ sth r5, 0x3c(r1) /* 801B9160 001B60C0 A0 B9 00 6C */ lhz r5, 0x6c(r25) /* 801B9164 001B60C4 B0 A1 00 38 */ sth r5, 0x38(r1) /* 801B9168 001B60C8 90 01 00 44 */ stw r0, 0x44(r1) /* 801B916C 001B60CC 4B E9 3F 71 */ bl AllocateUniqueId__13CStateManagerFv /* 801B9170 001B60D0 A0 61 00 30 */ lhz r3, 0x30(r1) /* 801B9174 001B60D4 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801B9178 001B60D8 3A 21 00 34 */ addi r17, r1, 0x34 /* 801B917C 001B60DC 3A 00 00 06 */ li r16, 6 /* 801B9180 001B60E0 B0 61 00 34 */ sth r3, 0x34(r1) /* 801B9184 001B60E4 41 82 00 08 */ beq lbl_801B918C /* 801B9188 001B60E8 3A 00 00 00 */ li r16, 0 lbl_801B918C: /* 801B918C 001B60EC 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801B9190 001B60F0 41 82 00 08 */ beq lbl_801B9198 /* 801B9194 001B60F4 48 00 00 08 */ b lbl_801B919C lbl_801B9198: /* 801B9198 001B60F8 7F 3F CB 78 */ mr r31, r25 lbl_801B919C: /* 801B919C 001B60FC 7E E4 BB 78 */ mr r4, r23 /* 801B91A0 001B6100 7F C5 F3 78 */ mr r5, r30 /* 801B91A4 001B6104 38 61 00 7C */ addi r3, r1, 0x7c /* 801B91A8 001B6108 48 0D 18 7D */ bl GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager /* 801B91AC 001B610C 92 41 00 08 */ stw r18, 8(r1) /* 801B91B0 001B6110 63 84 08 00 */ ori r4, r28, 0x800 /* 801B91B4 001B6114 A1 62 C5 FC */ lhz r11, lbl_805AE31C@sda21(r2) /* 801B91B8 001B6118 38 00 00 00 */ li r0, 0 /* 801B91BC 001B611C 92 61 00 0C */ stw r19, 0xc(r1) /* 801B91C0 001B6120 7E A3 AB 78 */ mr r3, r21 /* 801B91C4 001B6124 7F E5 FB 78 */ mr r5, r31 /* 801B91C8 001B6128 7E 06 83 78 */ mr r6, r16 /* 801B91CC 001B612C 92 81 00 10 */ stw r20, 0x10(r1) /* 801B91D0 001B6130 7F A7 EB 78 */ mr r7, r29 /* 801B91D4 001B6134 7E 2A 8B 78 */ mr r10, r17 /* 801B91D8 001B6138 39 21 00 7C */ addi r9, r1, 0x7c /* 801B91DC 001B613C 90 81 00 14 */ stw r4, 0x14(r1) /* 801B91E0 001B6140 38 80 00 01 */ li r4, 1 /* 801B91E4 001B6144 39 00 00 20 */ li r8, 0x20 /* 801B91E8 001B6148 93 41 00 18 */ stw r26, 0x18(r1) /* 801B91EC 001B614C 91 E1 00 1C */ stw r15, 0x1c(r1) /* 801B91F0 001B6150 91 C1 00 20 */ stw r14, 0x20(r1) /* 801B91F4 001B6154 91 61 00 24 */ stw r11, 0x24(r1) /* 801B91F8 001B6158 90 01 00 28 */ stw r0, 0x28(r1) /* 801B91FC 001B615C 48 05 C4 9D */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 801B9200 001B6160 7C 75 1B 78 */ mr r21, r3 lbl_801B9204: /* 801B9204 001B6164 7F 00 07 75 */ extsb. r0, r24 /* 801B9208 001B6168 7E AE AB 78 */ mr r14, r21 /* 801B920C 001B616C 41 82 00 30 */ beq lbl_801B923C /* 801B9210 001B6170 88 01 00 78 */ lbz r0, 0x78(r1) /* 801B9214 001B6174 28 00 00 00 */ cmplwi r0, 0 /* 801B9218 001B6178 41 82 00 1C */ beq lbl_801B9234 /* 801B921C 001B617C 34 61 00 6C */ addic. r3, r1, 0x6c /* 801B9220 001B6180 41 82 00 14 */ beq lbl_801B9234 /* 801B9224 001B6184 28 03 00 00 */ cmplwi r3, 0 /* 801B9228 001B6188 41 82 00 0C */ beq lbl_801B9234 /* 801B922C 001B618C 38 80 00 00 */ li r4, 0 /* 801B9230 001B6190 48 18 7C 11 */ bl __dt__6CTokenFv lbl_801B9234: /* 801B9234 001B6194 38 00 00 00 */ li r0, 0 /* 801B9238 001B6198 98 01 00 78 */ stb r0, 0x78(r1) lbl_801B923C: /* 801B923C 001B619C 28 0E 00 00 */ cmplwi r14, 0 /* 801B9240 001B61A0 41 82 00 2C */ beq lbl_801B926C /* 801B9244 001B61A4 7F C3 F3 78 */ mr r3, r30 /* 801B9248 001B61A8 7D C4 73 78 */ mr r4, r14 /* 801B924C 001B61AC 4B E9 3A A9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801B9250 001B61B0 7D C3 73 78 */ mr r3, r14 /* 801B9254 001B61B4 FC 20 F8 90 */ fmr f1, f31 /* 801B9258 001B61B8 81 8E 00 00 */ lwz r12, 0(r14) /* 801B925C 001B61BC 7F C4 F3 78 */ mr r4, r30 /* 801B9260 001B61C0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801B9264 001B61C4 7D 89 03 A6 */ mtctr r12 /* 801B9268 001B61C8 4E 80 04 21 */ bctrl lbl_801B926C: /* 801B926C 001B61CC 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801B9270 001B61D0 41 82 00 AC */ beq lbl_801B931C /* 801B9274 001B61D4 C0 2E 00 40 */ lfs f1, 0x40(r14) /* 801B9278 001B61D8 38 61 00 98 */ addi r3, r1, 0x98 /* 801B927C 001B61DC C0 4E 00 50 */ lfs f2, 0x50(r14) /* 801B9280 001B61E0 38 81 00 54 */ addi r4, r1, 0x54 /* 801B9284 001B61E4 C0 0E 00 60 */ lfs f0, 0x60(r14) /* 801B9288 001B61E8 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801B928C 001B61EC C0 22 A9 B4 */ lfs f1, lbl_805AC6D4@sda21(r2) /* 801B9290 001B61F0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801B9294 001B61F4 80 C1 00 48 */ lwz r6, 0x48(r1) /* 801B9298 001B61F8 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801B929C 001B61FC 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 801B92A0 001B6200 80 01 00 50 */ lwz r0, 0x50(r1) /* 801B92A4 001B6204 90 C1 00 54 */ stw r6, 0x54(r1) /* 801B92A8 001B6208 C0 42 A9 B8 */ lfs f2, lbl_805AC6D8@sda21(r2) /* 801B92AC 001B620C 90 A1 00 58 */ stw r5, 0x58(r1) /* 801B92B0 001B6210 C0 62 A9 BC */ lfs f3, lbl_805AC6DC@sda21(r2) /* 801B92B4 001B6214 90 01 00 5C */ stw r0, 0x5c(r1) /* 801B92B8 001B6218 4B FA 42 0D */ bl BuildMissileShakeData__16CCameraShakeDataFfffRC9CVector3f /* 801B92BC 001B621C 7D C3 73 78 */ mr r3, r14 /* 801B92C0 001B6220 38 81 00 98 */ addi r4, r1, 0x98 /* 801B92C4 001B6224 48 05 A8 09 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData /* 801B92C8 001B6228 34 81 01 18 */ addic. r4, r1, 0x118 /* 801B92CC 001B622C 41 82 00 10 */ beq lbl_801B92DC /* 801B92D0 001B6230 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801B92D4 001B6234 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801B92D8 001B6238 90 04 00 00 */ stw r0, 0(r4) lbl_801B92DC: /* 801B92DC 001B623C 34 81 00 DC */ addic. r4, r1, 0xdc /* 801B92E0 001B6240 41 82 00 10 */ beq lbl_801B92F0 /* 801B92E4 001B6244 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801B92E8 001B6248 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801B92EC 001B624C 90 04 00 00 */ stw r0, 0(r4) lbl_801B92F0: /* 801B92F0 001B6250 34 81 00 A0 */ addic. r4, r1, 0xa0 /* 801B92F4 001B6254 41 82 00 10 */ beq lbl_801B9304 /* 801B92F8 001B6258 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801B92FC 001B625C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801B9300 001B6260 90 04 00 00 */ stw r0, 0(r4) lbl_801B9304: /* 801B9304 001B6264 3C 80 80 57 */ lis r4, lbl_80571B90@ha /* 801B9308 001B6268 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801B930C 001B626C 38 84 1B 90 */ addi r4, r4, lbl_80571B90@l /* 801B9310 001B6270 38 A0 00 00 */ li r5, 0 /* 801B9314 001B6274 4B E5 17 0D */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801B9318 001B6278 48 00 00 1C */ b lbl_801B9334 lbl_801B931C: /* 801B931C 001B627C 80 7E 08 8C */ lwz r3, 0x88c(r30) /* 801B9320 001B6280 7F C4 F3 78 */ mr r4, r30 /* 801B9324 001B6284 C0 22 A9 C0 */ lfs f1, lbl_805AC6E0@sda21(r2) /* 801B9328 001B6288 38 A0 00 0D */ li r5, 0xd /* 801B932C 001B628C 38 C0 00 01 */ li r6, 1 /* 801B9330 001B6290 48 07 4F 15 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority lbl_801B9334: /* 801B9334 001B6294 7E C4 B3 78 */ mr r4, r22 /* 801B9338 001B6298 7F 45 D3 78 */ mr r5, r26 /* 801B933C 001B629C 38 61 00 40 */ addi r3, r1, 0x40 /* 801B9340 001B62A0 38 C0 00 00 */ li r6, 0 /* 801B9344 001B62A4 38 E0 00 4A */ li r7, 0x4a /* 801B9348 001B62A8 48 0D 17 B1 */ bl play_sfx__12NWeaponTypesFUsbbs /* 801B934C 001B62AC 80 01 00 40 */ lwz r0, 0x40(r1) /* 801B9350 001B62B0 90 19 00 7C */ stw r0, 0x7c(r25) /* 801B9354 001B62B4 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 /* 801B9358 001B62B8 CB E1 01 C0 */ lfd f31, 0x1c0(r1) /* 801B935C 001B62BC B9 C1 01 78 */ lmw r14, 0x178(r1) /* 801B9360 001B62C0 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 801B9364 001B62C4 7C 08 03 A6 */ mtlr r0 /* 801B9368 001B62C8 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 801B936C 001B62CC 4E 80 00 20 */ blr .global InitComboData__10CAuxWeaponFv InitComboData__10CAuxWeaponFv: /* 801B9370 001B62D0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B9374 001B62D4 7C 08 02 A6 */ mflr r0 /* 801B9378 001B62D8 3C 80 80 3D */ lis r4, lbl_803D1664@ha /* 801B937C 001B62DC 90 01 00 44 */ stw r0, 0x44(r1) /* 801B9380 001B62E0 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 801B9384 001B62E4 7C 7B 1B 78 */ mr r27, r3 /* 801B9388 001B62E8 3B C4 16 64 */ addi r30, r4, lbl_803D1664@l /* 801B938C 001B62EC 3B 80 00 00 */ li r28, 0 /* 801B9390 001B62F0 3B BB 00 2C */ addi r29, r27, 0x2c lbl_801B9394: /* 801B9394 001B62F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801B9398 001B62F8 38 61 00 08 */ addi r3, r1, 8 /* 801B939C 001B62FC 80 BE 00 00 */ lwz r5, 0(r30) /* 801B93A0 001B6300 81 84 00 00 */ lwz r12, 0(r4) /* 801B93A4 001B6304 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801B93A8 001B6308 7D 89 03 A6 */ mtctr r12 /* 801B93AC 001B630C 4E 80 04 21 */ bctrl /* 801B93B0 001B6310 38 61 00 10 */ addi r3, r1, 0x10 /* 801B93B4 001B6314 38 81 00 08 */ addi r4, r1, 8 /* 801B93B8 001B6318 48 18 7A F1 */ bl __ct__6CTokenFRC6CToken /* 801B93BC 001B631C 38 00 00 00 */ li r0, 0 /* 801B93C0 001B6320 90 01 00 18 */ stw r0, 0x18(r1) /* 801B93C4 001B6324 80 1B 00 28 */ lwz r0, 0x28(r27) /* 801B93C8 001B6328 1C 00 00 0C */ mulli r0, r0, 0xc /* 801B93CC 001B632C 7F FD 02 15 */ add. r31, r29, r0 /* 801B93D0 001B6330 41 82 00 18 */ beq lbl_801B93E8 /* 801B93D4 001B6334 7F E3 FB 78 */ mr r3, r31 /* 801B93D8 001B6338 38 81 00 10 */ addi r4, r1, 0x10 /* 801B93DC 001B633C 48 18 7A CD */ bl __ct__6CTokenFRC6CToken /* 801B93E0 001B6340 80 01 00 18 */ lwz r0, 0x18(r1) /* 801B93E4 001B6344 90 1F 00 08 */ stw r0, 8(r31) lbl_801B93E8: /* 801B93E8 001B6348 80 BB 00 28 */ lwz r5, 0x28(r27) /* 801B93EC 001B634C 38 61 00 10 */ addi r3, r1, 0x10 /* 801B93F0 001B6350 38 80 00 00 */ li r4, 0 /* 801B93F4 001B6354 38 05 00 01 */ addi r0, r5, 1 /* 801B93F8 001B6358 90 1B 00 28 */ stw r0, 0x28(r27) /* 801B93FC 001B635C 48 18 7A 45 */ bl __dt__6CTokenFv /* 801B9400 001B6360 38 61 00 08 */ addi r3, r1, 8 /* 801B9404 001B6364 38 80 FF FF */ li r4, -1 /* 801B9408 001B6368 48 18 7A 39 */ bl __dt__6CTokenFv /* 801B940C 001B636C 3B 9C 00 01 */ addi r28, r28, 1 /* 801B9410 001B6370 3B DE 00 04 */ addi r30, r30, 4 /* 801B9414 001B6374 2C 1C 00 05 */ cmpwi r28, 5 /* 801B9418 001B6378 41 80 FF 7C */ blt lbl_801B9394 /* 801B941C 001B637C BB 61 00 2C */ lmw r27, 0x2c(r1) /* 801B9420 001B6380 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B9424 001B6384 7C 08 03 A6 */ mtlr r0 /* 801B9428 001B6388 38 21 00 40 */ addi r1, r1, 0x40 /* 801B942C 001B638C 4E 80 00 20 */ blr .global IsComboFxActive__10CAuxWeaponCFRC13CStateManager IsComboFxActive__10CAuxWeaponCFRC13CStateManager: /* 801B9430 001B6390 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B9434 001B6394 7C 08 02 A6 */ mflr r0 /* 801B9438 001B6398 90 01 00 14 */ stw r0, 0x14(r1) /* 801B943C 001B639C 80 03 00 74 */ lwz r0, 0x74(r3) /* 801B9440 001B63A0 2C 00 00 03 */ cmpwi r0, 3 /* 801B9444 001B63A4 41 82 00 3C */ beq lbl_801B9480 /* 801B9448 001B63A8 40 80 00 60 */ bge lbl_801B94A8 /* 801B944C 001B63AC 2C 00 00 02 */ cmpwi r0, 2 /* 801B9450 001B63B0 40 80 00 08 */ bge lbl_801B9458 /* 801B9454 001B63B4 48 00 00 54 */ b lbl_801B94A8 lbl_801B9458: /* 801B9458 001B63B8 A0 03 00 70 */ lhz r0, 0x70(r3) /* 801B945C 001B63BC 7C 83 23 78 */ mr r3, r4 /* 801B9460 001B63C0 38 81 00 0C */ addi r4, r1, 0xc /* 801B9464 001B63C4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B9468 001B63C8 4B E9 31 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B946C 001B63CC 28 03 00 00 */ cmplwi r3, 0 /* 801B9470 001B63D0 41 82 00 38 */ beq lbl_801B94A8 /* 801B9474 001B63D4 88 03 03 D0 */ lbz r0, 0x3d0(r3) /* 801B9478 001B63D8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801B947C 001B63DC 48 00 00 30 */ b lbl_801B94AC lbl_801B9480: /* 801B9480 001B63E0 A0 03 00 6E */ lhz r0, 0x6e(r3) /* 801B9484 001B63E4 7C 83 23 78 */ mr r3, r4 /* 801B9488 001B63E8 38 81 00 08 */ addi r4, r1, 8 /* 801B948C 001B63EC B0 01 00 08 */ sth r0, 8(r1) /* 801B9490 001B63F0 4B E9 31 15 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B9494 001B63F4 28 03 00 00 */ cmplwi r3, 0 /* 801B9498 001B63F8 41 82 00 10 */ beq lbl_801B94A8 /* 801B949C 001B63FC 88 03 03 7C */ lbz r0, 0x37c(r3) /* 801B94A0 001B6400 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f /* 801B94A4 001B6404 48 00 00 08 */ b lbl_801B94AC lbl_801B94A8: /* 801B94A8 001B6408 38 60 00 00 */ li r3, 0 lbl_801B94AC: /* 801B94AC 001B640C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B94B0 001B6410 7C 08 03 A6 */ mtlr r0 /* 801B94B4 001B6414 38 21 00 10 */ addi r1, r1, 0x10 /* 801B94B8 001B6418 4E 80 00 20 */ blr .global StopComboFx__10CAuxWeaponFR13CStateManagerb StopComboFx__10CAuxWeaponFR13CStateManagerb: /* 801B94BC 001B641C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B94C0 001B6420 7C 08 02 A6 */ mflr r0 /* 801B94C4 001B6424 90 01 00 24 */ stw r0, 0x24(r1) /* 801B94C8 001B6428 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B94CC 001B642C 7C BF 2B 78 */ mr r31, r5 /* 801B94D0 001B6430 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B94D4 001B6434 7C 9E 23 78 */ mr r30, r4 /* 801B94D8 001B6438 93 A1 00 14 */ stw r29, 0x14(r1) /* 801B94DC 001B643C 7C 7D 1B 78 */ mr r29, r3 /* 801B94E0 001B6440 80 03 00 74 */ lwz r0, 0x74(r3) /* 801B94E4 001B6444 2C 00 00 03 */ cmpwi r0, 3 /* 801B94E8 001B6448 41 82 00 48 */ beq lbl_801B9530 /* 801B94EC 001B644C 40 80 00 BC */ bge lbl_801B95A8 /* 801B94F0 001B6450 2C 00 00 02 */ cmpwi r0, 2 /* 801B94F4 001B6454 40 80 00 08 */ bge lbl_801B94FC /* 801B94F8 001B6458 48 00 00 B0 */ b lbl_801B95A8 lbl_801B94FC: /* 801B94FC 001B645C A0 1D 00 70 */ lhz r0, 0x70(r29) /* 801B9500 001B6460 7F C3 F3 78 */ mr r3, r30 /* 801B9504 001B6464 38 81 00 0C */ addi r4, r1, 0xc /* 801B9508 001B6468 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B950C 001B646C 4B E9 30 69 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B9510 001B6470 28 03 00 00 */ cmplwi r3, 0 /* 801B9514 001B6474 41 82 00 94 */ beq lbl_801B95A8 /* 801B9518 001B6478 7F E4 FB 78 */ mr r4, r31 /* 801B951C 001B647C 48 00 57 FD */ bl ResetBeam__11CWaveBusterFb /* 801B9520 001B6480 7F A3 EB 78 */ mr r3, r29 /* 801B9524 001B6484 7F C4 F3 78 */ mr r4, r30 /* 801B9528 001B6488 4B FF F5 5D */ bl DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager /* 801B952C 001B648C 48 00 00 7C */ b lbl_801B95A8 lbl_801B9530: /* 801B9530 001B6490 A0 1D 00 6E */ lhz r0, 0x6e(r29) /* 801B9534 001B6494 7F C3 F3 78 */ mr r3, r30 /* 801B9538 001B6498 38 81 00 08 */ addi r4, r1, 8 /* 801B953C 001B649C B0 01 00 08 */ sth r0, 8(r1) /* 801B9540 001B64A0 4B E9 30 35 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B9544 001B64A4 28 03 00 00 */ cmplwi r3, 0 /* 801B9548 001B64A8 41 82 00 60 */ beq lbl_801B95A8 /* 801B954C 001B64AC 80 9E 08 B8 */ lwz r4, 0x8b8(r30) /* 801B9550 001B64B0 38 A0 00 00 */ li r5, 0 /* 801B9554 001B64B4 80 84 00 00 */ lwz r4, 0(r4) /* 801B9558 001B64B8 88 04 00 00 */ lbz r0, 0(r4) /* 801B955C 001B64BC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801B9560 001B64C0 98 04 00 00 */ stb r0, 0(r4) /* 801B9564 001B64C4 88 03 03 7C */ lbz r0, 0x37c(r3) /* 801B9568 001B64C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801B956C 001B64CC 41 82 00 1C */ beq lbl_801B9588 /* 801B9570 001B64D0 7F C4 F3 78 */ mr r4, r30 /* 801B9574 001B64D4 7F E5 FB 78 */ mr r5, r31 /* 801B9578 001B64D8 48 0A A3 69 */ bl Reset__16CFlameNewThrowerFR13CStateManagerb /* 801B957C 001B64DC 7F A3 EB 78 */ mr r3, r29 /* 801B9580 001B64E0 4B FF F4 6D */ bl FreeComboVoiceId__10CAuxWeaponFv /* 801B9584 001B64E4 48 00 00 24 */ b lbl_801B95A8 lbl_801B9588: /* 801B9588 001B64E8 88 03 00 30 */ lbz r0, 0x30(r3) /* 801B958C 001B64EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B9590 001B64F0 41 82 00 18 */ beq lbl_801B95A8 /* 801B9594 001B64F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801B9598 001B64F8 41 82 00 10 */ beq lbl_801B95A8 /* 801B959C 001B64FC 7F C4 F3 78 */ mr r4, r30 /* 801B95A0 001B6500 7F E5 FB 78 */ mr r5, r31 /* 801B95A4 001B6504 48 0A A3 3D */ bl Reset__16CFlameNewThrowerFR13CStateManagerb lbl_801B95A8: /* 801B95A8 001B6508 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801B95AC 001B650C 41 82 00 14 */ beq lbl_801B95C0 /* 801B95B0 001B6510 38 00 FF FF */ li r0, -1 /* 801B95B4 001B6514 C0 02 A9 C4 */ lfs f0, lbl_805AC6E4@sda21(r2) /* 801B95B8 001B6518 90 1D 00 74 */ stw r0, 0x74(r29) /* 801B95BC 001B651C D0 1D 00 68 */ stfs f0, 0x68(r29) lbl_801B95C0: /* 801B95C0 001B6520 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B95C4 001B6524 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B95C8 001B6528 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B95CC 001B652C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801B95D0 001B6530 7C 08 03 A6 */ mtlr r0 /* 801B95D4 001B6534 38 21 00 20 */ addi r1, r1, 0x20 /* 801B95D8 001B6538 4E 80 00 20 */ blr .global UpdateComboFx__10CAuxWeaponFfRC9CVector3fRC9CVector3fRC12CTransform4fR13CStateManager UpdateComboFx__10CAuxWeaponFfRC9CVector3fRC9CVector3fRC12CTransform4fR13CStateManager: /* 801B95DC 001B653C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801B95E0 001B6540 7C 08 02 A6 */ mflr r0 /* 801B95E4 001B6544 90 01 00 54 */ stw r0, 0x54(r1) /* 801B95E8 001B6548 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801B95EC 001B654C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801B95F0 001B6550 BE C1 00 18 */ stmw r22, 0x18(r1) /* 801B95F4 001B6554 88 03 00 80 */ lbz r0, 0x80(r3) /* 801B95F8 001B6558 FF E0 08 90 */ fmr f31, f1 /* 801B95FC 001B655C 7C 78 1B 78 */ mr r24, r3 /* 801B9600 001B6560 7C 99 23 78 */ mr r25, r4 /* 801B9604 001B6564 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B9608 001B6568 7C BA 2B 78 */ mr r26, r5 /* 801B960C 001B656C 7C DB 33 78 */ mr r27, r6 /* 801B9610 001B6570 7C FC 3B 78 */ mr r28, r7 /* 801B9614 001B6574 41 82 00 10 */ beq lbl_801B9624 /* 801B9618 001B6578 80 18 00 74 */ lwz r0, 0x74(r24) /* 801B961C 001B657C 2C 00 FF FF */ cmpwi r0, -1 /* 801B9620 001B6580 40 82 00 0C */ bne lbl_801B962C lbl_801B9624: /* 801B9624 001B6584 38 60 00 00 */ li r3, 0 /* 801B9628 001B6588 48 00 02 2C */ b lbl_801B9854 lbl_801B962C: /* 801B962C 001B658C 80 9C 08 B8 */ lwz r4, 0x8b8(r28) /* 801B9630 001B6590 38 61 00 10 */ addi r3, r1, 0x10 /* 801B9634 001B6594 80 18 00 7C */ lwz r0, 0x7c(r24) /* 801B9638 001B6598 3B C0 00 00 */ li r30, 0 /* 801B963C 001B659C 83 E4 00 00 */ lwz r31, 0(r4) /* 801B9640 001B65A0 90 01 00 10 */ stw r0, 0x10(r1) /* 801B9644 001B65A4 48 12 F7 91 */ bl IsPlaying__11CSfxManagerF10CSfxHandle /* 801B9648 001B65A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801B964C 001B65AC 40 82 00 18 */ bne lbl_801B9664 /* 801B9650 001B65B0 80 18 00 7C */ lwz r0, 0x7c(r24) /* 801B9654 001B65B4 28 00 00 00 */ cmplwi r0, 0 /* 801B9658 001B65B8 41 82 00 0C */ beq lbl_801B9664 /* 801B965C 001B65BC 7F 03 C3 78 */ mr r3, r24 /* 801B9660 001B65C0 4B FF F3 8D */ bl FreeComboVoiceId__10CAuxWeaponFv lbl_801B9664: /* 801B9664 001B65C4 80 18 00 74 */ lwz r0, 0x74(r24) /* 801B9668 001B65C8 2C 00 00 04 */ cmpwi r0, 4 /* 801B966C 001B65CC 40 80 01 E4 */ bge lbl_801B9850 /* 801B9670 001B65D0 2C 00 00 02 */ cmpwi r0, 2 /* 801B9674 001B65D4 40 80 00 08 */ bge lbl_801B967C /* 801B9678 001B65D8 48 00 01 D8 */ b lbl_801B9850 lbl_801B967C: /* 801B967C 001B65DC 3B A0 00 00 */ li r29, 0 /* 801B9680 001B65E0 40 82 00 68 */ bne lbl_801B96E8 /* 801B9684 001B65E4 A0 18 00 70 */ lhz r0, 0x70(r24) /* 801B9688 001B65E8 7F 83 E3 78 */ mr r3, r28 /* 801B968C 001B65EC 38 81 00 0C */ addi r4, r1, 0xc /* 801B9690 001B65F0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B9694 001B65F4 4B E9 2E E1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B9698 001B65F8 28 03 00 00 */ cmplwi r3, 0 /* 801B969C 001B65FC 41 82 00 2C */ beq lbl_801B96C8 /* 801B96A0 001B6600 88 03 03 D0 */ lbz r0, 0x3d0(r3) /* 801B96A4 001B6604 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B96A8 001B6608 41 82 00 20 */ beq lbl_801B96C8 /* 801B96AC 001B660C FC 20 F8 90 */ fmr f1, f31 /* 801B96B0 001B6610 7F 64 DB 78 */ mr r4, r27 /* 801B96B4 001B6614 7F 85 E3 78 */ mr r5, r28 /* 801B96B8 001B6618 48 00 57 C5 */ bl UpdateFx__11CWaveBusterFRC12CTransform4ffR13CStateManager /* 801B96BC 001B661C 3B C0 00 01 */ li r30, 1 /* 801B96C0 001B6620 3B A0 00 01 */ li r29, 1 /* 801B96C4 001B6624 48 00 00 B0 */ b lbl_801B9774 lbl_801B96C8: /* 801B96C8 001B6628 7F 03 C3 78 */ mr r3, r24 /* 801B96CC 001B662C 7F 84 E3 78 */ mr r4, r28 /* 801B96D0 001B6630 4B FF F3 B5 */ bl DeleteWaveBusterBeam__10CAuxWeaponFR13CStateManager /* 801B96D4 001B6634 88 1F 00 00 */ lbz r0, 0(r31) /* 801B96D8 001B6638 38 60 00 00 */ li r3, 0 /* 801B96DC 001B663C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B96E0 001B6640 98 1F 00 00 */ stb r0, 0(r31) /* 801B96E4 001B6644 48 00 00 90 */ b lbl_801B9774 lbl_801B96E8: /* 801B96E8 001B6648 A0 18 00 6E */ lhz r0, 0x6e(r24) /* 801B96EC 001B664C 7F 83 E3 78 */ mr r3, r28 /* 801B96F0 001B6650 38 81 00 08 */ addi r4, r1, 8 /* 801B96F4 001B6654 B0 01 00 08 */ sth r0, 8(r1) /* 801B96F8 001B6658 4B E9 2E 7D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B96FC 001B665C 7C 77 1B 79 */ or. r23, r3, r3 /* 801B9700 001B6660 3A C0 00 01 */ li r22, 1 /* 801B9704 001B6664 41 82 00 4C */ beq lbl_801B9750 /* 801B9708 001B6668 88 17 00 30 */ lbz r0, 0x30(r23) /* 801B970C 001B666C 88 97 03 7C */ lbz r4, 0x37c(r23) /* 801B9710 001B6670 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B9714 001B6674 54 9D CF FE */ rlwinm r29, r4, 0x19, 0x1f, 0x1f /* 801B9718 001B6678 41 82 00 1C */ beq lbl_801B9734 /* 801B971C 001B667C FC 20 F8 90 */ fmr f1, f31 /* 801B9720 001B6680 7F 64 DB 78 */ mr r4, r27 /* 801B9724 001B6684 7F 85 E3 78 */ mr r5, r28 /* 801B9728 001B6688 48 0A A4 15 */ bl UpdateFx__16CNewFlameThrowerFRC12CTransform4ffR13CStateManager /* 801B972C 001B668C 88 17 03 7C */ lbz r0, 0x37c(r23) /* 801B9730 001B6690 54 1E D7 FE */ rlwinm r30, r0, 0x1a, 0x1f, 0x1f lbl_801B9734: /* 801B9734 001B6694 A0 78 00 6E */ lhz r3, 0x6e(r24) /* 801B9738 001B6698 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B973C 001B669C 7C 03 00 40 */ cmplw r3, r0 /* 801B9740 001B66A0 41 82 00 10 */ beq lbl_801B9750 /* 801B9744 001B66A4 7E E3 BB 78 */ mr r3, r23 /* 801B9748 001B66A8 48 0A 87 6D */ bl AreParticlesDoneEmitting__16CNewFlameThrowerCFv /* 801B974C 001B66AC 7C 76 1B 78 */ mr r22, r3 lbl_801B9750: /* 801B9750 001B66B0 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 801B9754 001B66B4 41 82 00 20 */ beq lbl_801B9774 /* 801B9758 001B66B8 7F 03 C3 78 */ mr r3, r24 /* 801B975C 001B66BC 7F 84 E3 78 */ mr r4, r28 /* 801B9760 001B66C0 4B FF F3 B5 */ bl DeleteFlameThrower__10CAuxWeaponFR13CStateManager /* 801B9764 001B66C4 88 1F 00 00 */ lbz r0, 0(r31) /* 801B9768 001B66C8 38 60 00 00 */ li r3, 0 /* 801B976C 001B66CC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801B9770 001B66D0 98 1F 00 00 */ stb r0, 0(r31) lbl_801B9774: /* 801B9774 001B66D4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801B9778 001B66D8 41 82 00 54 */ beq lbl_801B97CC /* 801B977C 001B66DC C0 18 00 68 */ lfs f0, 0x68(r24) /* 801B9780 001B66E0 7F E3 FB 78 */ mr r3, r31 /* 801B9784 001B66E4 38 80 00 04 */ li r4, 4 /* 801B9788 001B66E8 EC 00 F8 2A */ fadds f0, f0, f31 /* 801B978C 001B66EC D0 18 00 68 */ stfs f0, 0x68(r24) /* 801B9790 001B66F0 4B ED 83 8D */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType /* 801B9794 001B66F4 2C 03 00 00 */ cmpwi r3, 0 /* 801B9798 001B66F8 40 81 00 34 */ ble lbl_801B97CC /* 801B979C 001B66FC 7F E3 FB 78 */ mr r3, r31 /* 801B97A0 001B6700 4B ED 7A 65 */ bl GetComboFireAmmoPeriod__12CPlayerStateCFv /* 801B97A4 001B6704 C0 18 00 68 */ lfs f0, 0x68(r24) /* 801B97A8 001B6708 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801B97AC 001B670C 4C 41 13 82 */ cror 2, 1, 2 /* 801B97B0 001B6710 40 82 00 1C */ bne lbl_801B97CC /* 801B97B4 001B6714 7F E3 FB 78 */ mr r3, r31 /* 801B97B8 001B6718 38 80 00 04 */ li r4, 4 /* 801B97BC 001B671C 38 A0 00 01 */ li r5, 1 /* 801B97C0 001B6720 4B ED 83 D5 */ bl DecrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei /* 801B97C4 001B6724 C0 02 A9 C4 */ lfs f0, lbl_805AC6E4@sda21(r2) /* 801B97C8 001B6728 D0 18 00 68 */ stfs f0, 0x68(r24) lbl_801B97CC: /* 801B97CC 001B672C 7F E3 FB 78 */ mr r3, r31 /* 801B97D0 001B6730 38 80 00 04 */ li r4, 4 /* 801B97D4 001B6734 4B ED 83 49 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType /* 801B97D8 001B6738 2C 03 00 00 */ cmpwi r3, 0 /* 801B97DC 001B673C 40 82 00 14 */ bne lbl_801B97F0 /* 801B97E0 001B6740 7F 03 C3 78 */ mr r3, r24 /* 801B97E4 001B6744 7F 84 E3 78 */ mr r4, r28 /* 801B97E8 001B6748 38 A0 00 00 */ li r5, 0 /* 801B97EC 001B674C 4B FF FC D1 */ bl StopComboFx__10CAuxWeaponFR13CStateManagerb lbl_801B97F0: /* 801B97F0 001B6750 80 78 00 24 */ lwz r3, 0x24(r24) /* 801B97F4 001B6754 7F 44 D3 78 */ mr r4, r26 /* 801B97F8 001B6758 81 83 00 00 */ lwz r12, 0(r3) /* 801B97FC 001B675C 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801B9800 001B6760 7D 89 03 A6 */ mtctr r12 /* 801B9804 001B6764 4E 80 04 21 */ bctrl /* 801B9808 001B6768 80 78 00 24 */ lwz r3, 0x24(r24) /* 801B980C 001B676C 7F 24 CB 78 */ mr r4, r25 /* 801B9810 001B6770 81 83 00 00 */ lwz r12, 0(r3) /* 801B9814 001B6774 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801B9818 001B6778 7D 89 03 A6 */ mtctr r12 /* 801B981C 001B677C 4E 80 04 21 */ bctrl /* 801B9820 001B6780 80 78 00 24 */ lwz r3, 0x24(r24) /* 801B9824 001B6784 57 A4 06 3E */ clrlwi r4, r29, 0x18 /* 801B9828 001B6788 81 83 00 00 */ lwz r12, 0(r3) /* 801B982C 001B678C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801B9830 001B6790 7D 89 03 A6 */ mtctr r12 /* 801B9834 001B6794 4E 80 04 21 */ bctrl /* 801B9838 001B6798 80 78 00 24 */ lwz r3, 0x24(r24) /* 801B983C 001B679C FC 20 F8 90 */ fmr f1, f31 /* 801B9840 001B67A0 81 83 00 00 */ lwz r12, 0(r3) /* 801B9844 001B67A4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801B9848 001B67A8 7D 89 03 A6 */ mtctr r12 /* 801B984C 001B67AC 4E 80 04 21 */ bctrl lbl_801B9850: /* 801B9850 001B67B0 57 C3 06 3E */ clrlwi r3, r30, 0x18 lbl_801B9854: /* 801B9854 001B67B4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801B9858 001B67B8 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801B985C 001B67BC BA C1 00 18 */ lmw r22, 0x18(r1) /* 801B9860 001B67C0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801B9864 001B67C4 7C 08 03 A6 */ mtlr r0 /* 801B9868 001B67C8 38 21 00 50 */ addi r1, r1, 0x50 /* 801B986C 001B67CC 4E 80 00 20 */ blr .global RenderMuzzleFx__10CAuxWeaponCFv RenderMuzzleFx__10CAuxWeaponCFv: /* 801B9870 001B67D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801B9874 001B67D4 7C 08 02 A6 */ mflr r0 /* 801B9878 001B67D8 90 01 00 14 */ stw r0, 0x14(r1) /* 801B987C 001B67DC 80 03 00 74 */ lwz r0, 0x74(r3) /* 801B9880 001B67E0 2C 00 00 04 */ cmpwi r0, 4 /* 801B9884 001B67E4 40 80 00 24 */ bge lbl_801B98A8 /* 801B9888 001B67E8 2C 00 00 02 */ cmpwi r0, 2 /* 801B988C 001B67EC 40 80 00 08 */ bge lbl_801B9894 /* 801B9890 001B67F0 48 00 00 18 */ b lbl_801B98A8 lbl_801B9894: /* 801B9894 001B67F4 80 63 00 24 */ lwz r3, 0x24(r3) /* 801B9898 001B67F8 81 83 00 00 */ lwz r12, 0(r3) /* 801B989C 001B67FC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801B98A0 001B6800 7D 89 03 A6 */ mtctr r12 /* 801B98A4 001B6804 4E 80 04 21 */ bctrl lbl_801B98A8: /* 801B98A8 001B6808 80 01 00 14 */ lwz r0, 0x14(r1) /* 801B98AC 001B680C 7C 08 03 A6 */ mtlr r0 /* 801B98B0 001B6810 38 21 00 10 */ addi r1, r1, 0x10 /* 801B98B4 001B6814 4E 80 00 20 */ blr .global HasTarget__10CAuxWeaponCFRC13CStateManager HasTarget__10CAuxWeaponCFRC13CStateManager: /* 801B98B8 001B6818 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B98BC 001B681C 7C 08 02 A6 */ mflr r0 /* 801B98C0 001B6820 90 01 00 24 */ stw r0, 0x24(r1) /* 801B98C4 001B6824 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B98C8 001B6828 7C 7F 1B 78 */ mr r31, r3 /* 801B98CC 001B682C 80 04 00 74 */ lwz r0, 0x74(r4) /* 801B98D0 001B6830 2C 00 00 02 */ cmpwi r0, 2 /* 801B98D4 001B6834 41 82 00 08 */ beq lbl_801B98DC /* 801B98D8 001B6838 48 00 00 2C */ b lbl_801B9904 lbl_801B98DC: /* 801B98DC 001B683C A0 04 00 70 */ lhz r0, 0x70(r4) /* 801B98E0 001B6840 7C A3 2B 78 */ mr r3, r5 /* 801B98E4 001B6844 38 81 00 08 */ addi r4, r1, 8 /* 801B98E8 001B6848 B0 01 00 08 */ sth r0, 8(r1) /* 801B98EC 001B684C 4B E9 2C B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801B98F0 001B6850 28 03 00 00 */ cmplwi r3, 0 /* 801B98F4 001B6854 41 82 00 10 */ beq lbl_801B9904 /* 801B98F8 001B6858 A0 03 02 C0 */ lhz r0, 0x2c0(r3) /* 801B98FC 001B685C B0 1F 00 00 */ sth r0, 0(r31) /* 801B9900 001B6860 48 00 00 0C */ b lbl_801B990C lbl_801B9904: /* 801B9904 001B6864 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801B9908 001B6868 B0 1F 00 00 */ sth r0, 0(r31) lbl_801B990C: /* 801B990C 001B686C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B9910 001B6870 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B9914 001B6874 7C 08 03 A6 */ mtlr r0 /* 801B9918 001B6878 38 21 00 20 */ addi r1, r1, 0x20 /* 801B991C 001B687C 4E 80 00 20 */ blr .global SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager SetNewTarget__10CAuxWeaponF9TUniqueIdR13CStateManager: /* 801B9920 001B6880 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801B9924 001B6884 7C 08 02 A6 */ mflr r0 /* 801B9928 001B6888 90 01 00 24 */ stw r0, 0x24(r1) /* 801B992C 001B688C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801B9930 001B6890 7C BF 2B 78 */ mr r31, r5 /* 801B9934 001B6894 93 C1 00 18 */ stw r30, 0x18(r1) /* 801B9938 001B6898 7C 9E 23 78 */ mr r30, r4 /* 801B993C 001B689C 80 03 00 74 */ lwz r0, 0x74(r3) /* 801B9940 001B68A0 2C 00 00 02 */ cmpwi r0, 2 /* 801B9944 001B68A4 41 82 00 08 */ beq lbl_801B994C /* 801B9948 001B68A8 48 00 00 34 */ b lbl_801B997C lbl_801B994C: /* 801B994C 001B68AC A0 03 00 70 */ lhz r0, 0x70(r3) /* 801B9950 001B68B0 7F E3 FB 78 */ mr r3, r31 /* 801B9954 001B68B4 38 81 00 0C */ addi r4, r1, 0xc /* 801B9958 001B68B8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B995C 001B68BC 4B E9 2C 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801B9960 001B68C0 28 03 00 00 */ cmplwi r3, 0 /* 801B9964 001B68C4 41 82 00 18 */ beq lbl_801B997C /* 801B9968 001B68C8 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B996C 001B68CC 7F E5 FB 78 */ mr r5, r31 /* 801B9970 001B68D0 38 81 00 08 */ addi r4, r1, 8 /* 801B9974 001B68D4 B0 01 00 08 */ sth r0, 8(r1) /* 801B9978 001B68D8 48 00 66 E5 */ bl SetNewTarget__11CWaveBusterF9TUniqueId lbl_801B997C: /* 801B997C 001B68DC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801B9980 001B68E0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801B9984 001B68E4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801B9988 001B68E8 7C 08 03 A6 */ mtlr r0 /* 801B998C 001B68EC 38 21 00 20 */ addi r1, r1, 0x20 /* 801B9990 001B68F0 4E 80 00 20 */ blr .global Fire__10CAuxWeaponFfbiQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager11EWeaponType9TUniqueId Fire__10CAuxWeaponFfbiQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager11EWeaponType9TUniqueId: /* 801B9994 001B68F4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801B9998 001B68F8 7C 08 02 A6 */ mflr r0 /* 801B999C 001B68FC 90 01 00 44 */ stw r0, 0x44(r1) /* 801B99A0 001B6900 DB E1 00 38 */ stfd f31, 0x38(r1) /* 801B99A4 001B6904 FF E0 08 90 */ fmr f31, f1 /* 801B99A8 001B6908 BF 21 00 1C */ stmw r25, 0x1c(r1) /* 801B99AC 001B690C 7C 79 1B 78 */ mr r25, r3 /* 801B99B0 001B6910 7C 9A 23 78 */ mr r26, r4 /* 801B99B4 001B6914 7C BB 2B 78 */ mr r27, r5 /* 801B99B8 001B6918 7C FC 3B 78 */ mr r28, r7 /* 801B99BC 001B691C 7D 1D 43 78 */ mr r29, r8 /* 801B99C0 001B6920 7D 5E 53 78 */ mr r30, r10 /* 801B99C4 001B6924 88 03 00 80 */ lbz r0, 0x80(r3) /* 801B99C8 001B6928 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801B99CC 001B692C 41 82 00 EC */ beq lbl_801B9AB8 /* 801B99D0 001B6930 7C 06 00 D0 */ neg r0, r6 /* 801B99D4 001B6934 7C 00 33 78 */ or r0, r0, r6 /* 801B99D8 001B6938 54 1F 0F FF */ rlwinm. r31, r0, 1, 0x1f, 0x1f /* 801B99DC 001B693C 41 82 00 14 */ beq lbl_801B99F0 /* 801B99E0 001B6940 7D 23 4B 78 */ mr r3, r9 /* 801B99E4 001B6944 4B E7 DE 75 */ bl GetBeamAttribType__15CGameProjectileF11EWeaponType /* 801B99E8 001B6948 60 67 00 80 */ ori r7, r3, 0x80 /* 801B99EC 001B694C 48 00 00 08 */ b lbl_801B99F4 lbl_801B99F0: /* 801B99F0 001B6950 38 E0 00 00 */ li r7, 0 lbl_801B99F4: /* 801B99F4 001B6954 28 1F 00 00 */ cmplwi r31, 0 /* 801B99F8 001B6958 40 82 00 34 */ bne lbl_801B9A2C /* 801B99FC 001B695C A0 1E 00 00 */ lhz r0, 0(r30) /* 801B9A00 001B6960 FC 20 F8 90 */ fmr f1, f31 /* 801B9A04 001B6964 7F 23 CB 78 */ mr r3, r25 /* 801B9A08 001B6968 7F 44 D3 78 */ mr r4, r26 /* 801B9A0C 001B696C B0 01 00 10 */ sth r0, 0x10(r1) /* 801B9A10 001B6970 7F E5 FB 78 */ mr r5, r31 /* 801B9A14 001B6974 7F 66 DB 78 */ mr r6, r27 /* 801B9A18 001B6978 7F 88 E3 78 */ mr r8, r28 /* 801B9A1C 001B697C 7F AA EB 78 */ mr r10, r29 /* 801B9A20 001B6980 39 21 00 10 */ addi r9, r1, 0x10 /* 801B9A24 001B6984 4B FF F6 4D */ bl LaunchMissile__10CAuxWeaponFbbiUiRC12CTransform4f9TUniqueIdR13CStateManager /* 801B9A28 001B6988 48 00 00 90 */ b lbl_801B9AB8 lbl_801B9A2C: /* 801B9A2C 001B698C 2C 1B 00 02 */ cmpwi r27, 2 /* 801B9A30 001B6990 41 82 00 50 */ beq lbl_801B9A80 /* 801B9A34 001B6994 40 80 00 10 */ bge lbl_801B9A44 /* 801B9A38 001B6998 2C 1B 00 00 */ cmpwi r27, 0 /* 801B9A3C 001B699C 40 80 00 14 */ bge lbl_801B9A50 /* 801B9A40 001B69A0 48 00 00 78 */ b lbl_801B9AB8 lbl_801B9A44: /* 801B9A44 001B69A4 2C 1B 00 04 */ cmpwi r27, 4 /* 801B9A48 001B69A8 40 80 00 70 */ bge lbl_801B9AB8 /* 801B9A4C 001B69AC 48 00 00 58 */ b lbl_801B9AA4 lbl_801B9A50: /* 801B9A50 001B69B0 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B9A54 001B69B4 FC 20 F8 90 */ fmr f1, f31 /* 801B9A58 001B69B8 7F 23 CB 78 */ mr r3, r25 /* 801B9A5C 001B69BC 7F 44 D3 78 */ mr r4, r26 /* 801B9A60 001B69C0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801B9A64 001B69C4 7F E5 FB 78 */ mr r5, r31 /* 801B9A68 001B69C8 7F 66 DB 78 */ mr r6, r27 /* 801B9A6C 001B69CC 7F 88 E3 78 */ mr r8, r28 /* 801B9A70 001B69D0 7F AA EB 78 */ mr r10, r29 /* 801B9A74 001B69D4 39 21 00 0C */ addi r9, r1, 0xc /* 801B9A78 001B69D8 4B FF F5 F9 */ bl LaunchMissile__10CAuxWeaponFbbiUiRC12CTransform4f9TUniqueIdR13CStateManager /* 801B9A7C 001B69DC 48 00 00 3C */ b lbl_801B9AB8 lbl_801B9A80: /* 801B9A80 001B69E0 A0 1E 00 00 */ lhz r0, 0(r30) /* 801B9A84 001B69E4 7F 23 CB 78 */ mr r3, r25 /* 801B9A88 001B69E8 7C E4 3B 78 */ mr r4, r7 /* 801B9A8C 001B69EC 7F 86 E3 78 */ mr r6, r28 /* 801B9A90 001B69F0 B0 01 00 08 */ sth r0, 8(r1) /* 801B9A94 001B69F4 7F A7 EB 78 */ mr r7, r29 /* 801B9A98 001B69F8 38 A1 00 08 */ addi r5, r1, 8 /* 801B9A9C 001B69FC 4B FF F1 09 */ bl CreateWaveBusterBeam__10CAuxWeaponFUi9TUniqueIdRC12CTransform4fR13CStateManager /* 801B9AA0 001B6A00 48 00 00 18 */ b lbl_801B9AB8 lbl_801B9AA4: /* 801B9AA4 001B6A04 FC 20 F8 90 */ fmr f1, f31 /* 801B9AA8 001B6A08 7F 23 CB 78 */ mr r3, r25 /* 801B9AAC 001B6A0C 7F 84 E3 78 */ mr r4, r28 /* 801B9AB0 001B6A10 7F A5 EB 78 */ mr r5, r29 /* 801B9AB4 001B6A14 4B FF F2 C9 */ bl CreateFlameThrower__10CAuxWeaponFRC12CTransform4fR13CStateManagerf lbl_801B9AB8: /* 801B9AB8 001B6A18 CB E1 00 38 */ lfd f31, 0x38(r1) /* 801B9ABC 001B6A1C BB 21 00 1C */ lmw r25, 0x1c(r1) /* 801B9AC0 001B6A20 80 01 00 44 */ lwz r0, 0x44(r1) /* 801B9AC4 001B6A24 7C 08 03 A6 */ mtlr r0 /* 801B9AC8 001B6A28 38 21 00 40 */ addi r1, r1, 0x40 /* 801B9ACC 001B6A2C 4E 80 00 20 */ blr .global __ct__10CAuxWeaponF9TUniqueId __ct__10CAuxWeaponF9TUniqueId: /* 801B9AD0 001B6A30 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801B9AD4 001B6A34 7C 08 02 A6 */ mflr r0 /* 801B9AD8 001B6A38 3C A0 80 3D */ lis r5, lbl_803D1678@ha /* 801B9ADC 001B6A3C 90 01 00 34 */ stw r0, 0x34(r1) /* 801B9AE0 001B6A40 38 A5 16 78 */ addi r5, r5, lbl_803D1678@l /* 801B9AE4 001B6A44 38 A5 00 B6 */ addi r5, r5, 0xb6 /* 801B9AE8 001B6A48 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801B9AEC 001B6A4C 7C 9F 23 78 */ mr r31, r4 /* 801B9AF0 001B6A50 93 C1 00 28 */ stw r30, 0x28(r1) /* 801B9AF4 001B6A54 7C 7E 1B 78 */ mr r30, r3 /* 801B9AF8 001B6A58 38 61 00 18 */ addi r3, r1, 0x18 /* 801B9AFC 001B6A5C 93 A1 00 24 */ stw r29, 0x24(r1) /* 801B9B00 001B6A60 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801B9B04 001B6A64 81 84 00 00 */ lwz r12, 0(r4) /* 801B9B08 001B6A68 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801B9B0C 001B6A6C 7D 89 03 A6 */ mtctr r12 /* 801B9B10 001B6A70 4E 80 04 21 */ bctrl /* 801B9B14 001B6A74 7F C3 F3 78 */ mr r3, r30 /* 801B9B18 001B6A78 38 81 00 18 */ addi r4, r1, 0x18 /* 801B9B1C 001B6A7C 48 18 73 8D */ bl __ct__6CTokenFRC6CToken /* 801B9B20 001B6A80 7F C3 F3 78 */ mr r3, r30 /* 801B9B24 001B6A84 48 18 72 E9 */ bl GetObj__6CTokenFv /* 801B9B28 001B6A88 80 03 00 04 */ lwz r0, 4(r3) /* 801B9B2C 001B6A8C 38 61 00 18 */ addi r3, r1, 0x18 /* 801B9B30 001B6A90 38 80 FF FF */ li r4, -1 /* 801B9B34 001B6A94 90 1E 00 08 */ stw r0, 8(r30) /* 801B9B38 001B6A98 48 18 73 09 */ bl __dt__6CTokenFv /* 801B9B3C 001B6A9C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801B9B40 001B6AA0 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B9B44 001B6AA4 38 A3 16 78 */ addi r5, r3, lbl_803D1678@l /* 801B9B48 001B6AA8 38 61 00 10 */ addi r3, r1, 0x10 /* 801B9B4C 001B6AAC 81 84 00 00 */ lwz r12, 0(r4) /* 801B9B50 001B6AB0 38 A5 00 BE */ addi r5, r5, 0xbe /* 801B9B54 001B6AB4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801B9B58 001B6AB8 7D 89 03 A6 */ mtctr r12 /* 801B9B5C 001B6ABC 4E 80 04 21 */ bctrl /* 801B9B60 001B6AC0 3B BE 00 0C */ addi r29, r30, 0xc /* 801B9B64 001B6AC4 38 81 00 10 */ addi r4, r1, 0x10 /* 801B9B68 001B6AC8 7F A3 EB 78 */ mr r3, r29 /* 801B9B6C 001B6ACC 48 18 73 3D */ bl __ct__6CTokenFRC6CToken /* 801B9B70 001B6AD0 7F A3 EB 78 */ mr r3, r29 /* 801B9B74 001B6AD4 48 18 72 99 */ bl GetObj__6CTokenFv /* 801B9B78 001B6AD8 80 03 00 04 */ lwz r0, 4(r3) /* 801B9B7C 001B6ADC 38 61 00 10 */ addi r3, r1, 0x10 /* 801B9B80 001B6AE0 38 80 FF FF */ li r4, -1 /* 801B9B84 001B6AE4 90 1D 00 08 */ stw r0, 8(r29) /* 801B9B88 001B6AE8 48 18 72 B9 */ bl __dt__6CTokenFv /* 801B9B8C 001B6AEC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801B9B90 001B6AF0 3C 60 80 3D */ lis r3, lbl_803D1678@ha /* 801B9B94 001B6AF4 38 A3 16 78 */ addi r5, r3, lbl_803D1678@l /* 801B9B98 001B6AF8 38 61 00 08 */ addi r3, r1, 8 /* 801B9B9C 001B6AFC 81 84 00 00 */ lwz r12, 0(r4) /* 801B9BA0 001B6B00 38 A5 00 CA */ addi r5, r5, 0xca /* 801B9BA4 001B6B04 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801B9BA8 001B6B08 7D 89 03 A6 */ mtctr r12 /* 801B9BAC 001B6B0C 4E 80 04 21 */ bctrl /* 801B9BB0 001B6B10 3B BE 00 18 */ addi r29, r30, 0x18 /* 801B9BB4 001B6B14 38 81 00 08 */ addi r4, r1, 8 /* 801B9BB8 001B6B18 7F A3 EB 78 */ mr r3, r29 /* 801B9BBC 001B6B1C 48 18 72 ED */ bl __ct__6CTokenFRC6CToken /* 801B9BC0 001B6B20 7F A3 EB 78 */ mr r3, r29 /* 801B9BC4 001B6B24 48 18 72 49 */ bl GetObj__6CTokenFv /* 801B9BC8 001B6B28 80 03 00 04 */ lwz r0, 4(r3) /* 801B9BCC 001B6B2C 38 61 00 08 */ addi r3, r1, 8 /* 801B9BD0 001B6B30 38 80 FF FF */ li r4, -1 /* 801B9BD4 001B6B34 90 1D 00 08 */ stw r0, 8(r29) /* 801B9BD8 001B6B38 48 18 72 69 */ bl __dt__6CTokenFv /* 801B9BDC 001B6B3C 38 A0 00 00 */ li r5, 0 /* 801B9BE0 001B6B40 C0 02 A9 C4 */ lfs f0, lbl_805AC6E4@sda21(r2) /* 801B9BE4 001B6B44 90 BE 00 24 */ stw r5, 0x24(r30) /* 801B9BE8 001B6B48 38 00 FF FF */ li r0, -1 /* 801B9BEC 001B6B4C 7F C3 F3 78 */ mr r3, r30 /* 801B9BF0 001B6B50 90 BE 00 28 */ stw r5, 0x28(r30) /* 801B9BF4 001B6B54 D0 1E 00 68 */ stfs f0, 0x68(r30) /* 801B9BF8 001B6B58 A0 9F 00 00 */ lhz r4, 0(r31) /* 801B9BFC 001B6B5C B0 9E 00 6C */ sth r4, 0x6c(r30) /* 801B9C00 001B6B60 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801B9C04 001B6B64 B0 9E 00 6E */ sth r4, 0x6e(r30) /* 801B9C08 001B6B68 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801B9C0C 001B6B6C B0 9E 00 70 */ sth r4, 0x70(r30) /* 801B9C10 001B6B70 90 1E 00 74 */ stw r0, 0x74(r30) /* 801B9C14 001B6B74 90 BE 00 78 */ stw r5, 0x78(r30) /* 801B9C18 001B6B78 90 BE 00 7C */ stw r5, 0x7c(r30) /* 801B9C1C 001B6B7C 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801B9C20 001B6B80 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801B9C24 001B6B84 98 1E 00 80 */ stb r0, 0x80(r30) /* 801B9C28 001B6B88 4B FF F7 49 */ bl InitComboData__10CAuxWeaponFv /* 801B9C2C 001B6B8C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801B9C30 001B6B90 7F C3 F3 78 */ mr r3, r30 /* 801B9C34 001B6B94 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801B9C38 001B6B98 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801B9C3C 001B6B9C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801B9C40 001B6BA0 7C 08 03 A6 */ mtlr r0 /* 801B9C44 001B6BA4 38 21 00 30 */ addi r1, r1, 0x30 /* 801B9C48 001B6BA8 4E 80 00 20 */ blr .global DrawClipCube__FRC6CAABox DrawClipCube__FRC6CAABox: /* 801B9C4C 001B6BAC 94 21 FE C0 */ stwu r1, -0x140(r1) /* 801B9C50 001B6BB0 7C 08 02 A6 */ mflr r0 /* 801B9C54 001B6BB4 C0 22 A9 D8 */ lfs f1, lbl_805AC6F8@sda21(r2) /* 801B9C58 001B6BB8 90 01 01 44 */ stw r0, 0x144(r1) /* 801B9C5C 001B6BBC FC 40 08 90 */ fmr f2, f1 /* 801B9C60 001B6BC0 C0 82 A9 DC */ lfs f4, lbl_805AC6FC@sda21(r2) /* 801B9C64 001B6BC4 93 E1 01 3C */ stw r31, 0x13c(r1) /* 801B9C68 001B6BC8 FC 60 08 90 */ fmr f3, f1 /* 801B9C6C 001B6BCC 7C 7F 1B 78 */ mr r31, r3 /* 801B9C70 001B6BD0 38 61 00 08 */ addi r3, r1, 8 /* 801B9C74 001B6BD4 48 1A 97 79 */ bl __ct__6CColorFffff /* 801B9C78 001B6BD8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9C7C 001B6BDC 81 83 00 00 */ lwz r12, 0(r3) /* 801B9C80 001B6BE0 81 8C 00 68 */ lwz r12, 0x68(r12) /* 801B9C84 001B6BE4 7D 89 03 A6 */ mtctr r12 /* 801B9C88 001B6BE8 4E 80 04 21 */ bctrl /* 801B9C8C 001B6BEC 38 60 00 00 */ li r3, 0 /* 801B9C90 001B6BF0 48 15 1D E1 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 801B9C94 001B6BF4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9C98 001B6BF8 38 80 00 04 */ li r4, 4 /* 801B9C9C 001B6BFC 81 83 00 00 */ lwz r12, 0(r3) /* 801B9CA0 001B6C00 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801B9CA4 001B6C04 7D 89 03 A6 */ mtctr r12 /* 801B9CA8 001B6C08 4E 80 04 21 */ bctrl /* 801B9CAC 001B6C0C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9CB0 001B6C10 38 81 00 08 */ addi r4, r1, 8 /* 801B9CB4 001B6C14 81 83 00 00 */ lwz r12, 0(r3) /* 801B9CB8 001B6C18 81 8C 00 B4 */ lwz r12, 0xb4(r12) /* 801B9CBC 001B6C1C 7D 89 03 A6 */ mtctr r12 /* 801B9CC0 001B6C20 4E 80 04 21 */ bctrl /* 801B9CC4 001B6C24 C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9CC8 001B6C28 38 81 01 20 */ addi r4, r1, 0x120 /* 801B9CCC 001B6C2C C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9CD0 001B6C30 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B9CD4 001B6C34 D0 41 01 24 */ stfs f2, 0x124(r1) /* 801B9CD8 001B6C38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9CDC 001B6C3C D0 01 01 20 */ stfs f0, 0x120(r1) /* 801B9CE0 001B6C40 D0 21 01 28 */ stfs f1, 0x128(r1) /* 801B9CE4 001B6C44 81 83 00 00 */ lwz r12, 0(r3) /* 801B9CE8 001B6C48 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9CEC 001B6C4C 7D 89 03 A6 */ mtctr r12 /* 801B9CF0 001B6C50 4E 80 04 21 */ bctrl /* 801B9CF4 001B6C54 C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9CF8 001B6C58 38 81 01 14 */ addi r4, r1, 0x114 /* 801B9CFC 001B6C5C C0 5F 00 04 */ lfs f2, 4(r31) /* 801B9D00 001B6C60 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B9D04 001B6C64 D0 41 01 18 */ stfs f2, 0x118(r1) /* 801B9D08 001B6C68 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9D0C 001B6C6C D0 01 01 14 */ stfs f0, 0x114(r1) /* 801B9D10 001B6C70 D0 21 01 1C */ stfs f1, 0x11c(r1) /* 801B9D14 001B6C74 81 83 00 00 */ lwz r12, 0(r3) /* 801B9D18 001B6C78 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9D1C 001B6C7C 7D 89 03 A6 */ mtctr r12 /* 801B9D20 001B6C80 4E 80 04 21 */ bctrl /* 801B9D24 001B6C84 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801B9D28 001B6C88 38 81 01 08 */ addi r4, r1, 0x108 /* 801B9D2C 001B6C8C C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9D30 001B6C90 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B9D34 001B6C94 D0 41 01 0C */ stfs f2, 0x10c(r1) /* 801B9D38 001B6C98 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9D3C 001B6C9C D0 01 01 08 */ stfs f0, 0x108(r1) /* 801B9D40 001B6CA0 D0 21 01 10 */ stfs f1, 0x110(r1) /* 801B9D44 001B6CA4 81 83 00 00 */ lwz r12, 0(r3) /* 801B9D48 001B6CA8 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9D4C 001B6CAC 7D 89 03 A6 */ mtctr r12 /* 801B9D50 001B6CB0 4E 80 04 21 */ bctrl /* 801B9D54 001B6CB4 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801B9D58 001B6CB8 38 81 00 FC */ addi r4, r1, 0xfc /* 801B9D5C 001B6CBC C0 5F 00 04 */ lfs f2, 4(r31) /* 801B9D60 001B6CC0 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B9D64 001B6CC4 D0 41 01 00 */ stfs f2, 0x100(r1) /* 801B9D68 001B6CC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9D6C 001B6CCC D0 01 00 FC */ stfs f0, 0xfc(r1) /* 801B9D70 001B6CD0 D0 21 01 04 */ stfs f1, 0x104(r1) /* 801B9D74 001B6CD4 81 83 00 00 */ lwz r12, 0(r3) /* 801B9D78 001B6CD8 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9D7C 001B6CDC 7D 89 03 A6 */ mtctr r12 /* 801B9D80 001B6CE0 4E 80 04 21 */ bctrl /* 801B9D84 001B6CE4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9D88 001B6CE8 81 83 00 00 */ lwz r12, 0(r3) /* 801B9D8C 001B6CEC 81 8C 00 B8 */ lwz r12, 0xb8(r12) /* 801B9D90 001B6CF0 7D 89 03 A6 */ mtctr r12 /* 801B9D94 001B6CF4 4E 80 04 21 */ bctrl /* 801B9D98 001B6CF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9D9C 001B6CFC 38 80 00 04 */ li r4, 4 /* 801B9DA0 001B6D00 81 83 00 00 */ lwz r12, 0(r3) /* 801B9DA4 001B6D04 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801B9DA8 001B6D08 7D 89 03 A6 */ mtctr r12 /* 801B9DAC 001B6D0C 4E 80 04 21 */ bctrl /* 801B9DB0 001B6D10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9DB4 001B6D14 38 81 00 08 */ addi r4, r1, 8 /* 801B9DB8 001B6D18 81 83 00 00 */ lwz r12, 0(r3) /* 801B9DBC 001B6D1C 81 8C 00 B4 */ lwz r12, 0xb4(r12) /* 801B9DC0 001B6D20 7D 89 03 A6 */ mtctr r12 /* 801B9DC4 001B6D24 4E 80 04 21 */ bctrl /* 801B9DC8 001B6D28 C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9DCC 001B6D2C 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801B9DD0 001B6D30 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9DD4 001B6D34 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9DD8 001B6D38 D0 41 00 F4 */ stfs f2, 0xf4(r1) /* 801B9DDC 001B6D3C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9DE0 001B6D40 D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 801B9DE4 001B6D44 D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 801B9DE8 001B6D48 81 83 00 00 */ lwz r12, 0(r3) /* 801B9DEC 001B6D4C 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9DF0 001B6D50 7D 89 03 A6 */ mtctr r12 /* 801B9DF4 001B6D54 4E 80 04 21 */ bctrl /* 801B9DF8 001B6D58 C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9DFC 001B6D5C 38 81 00 E4 */ addi r4, r1, 0xe4 /* 801B9E00 001B6D60 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9E04 001B6D64 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B9E08 001B6D68 D0 41 00 E8 */ stfs f2, 0xe8(r1) /* 801B9E0C 001B6D6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9E10 001B6D70 D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 801B9E14 001B6D74 D0 21 00 EC */ stfs f1, 0xec(r1) /* 801B9E18 001B6D78 81 83 00 00 */ lwz r12, 0(r3) /* 801B9E1C 001B6D7C 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9E20 001B6D80 7D 89 03 A6 */ mtctr r12 /* 801B9E24 001B6D84 4E 80 04 21 */ bctrl /* 801B9E28 001B6D88 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801B9E2C 001B6D8C 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801B9E30 001B6D90 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9E34 001B6D94 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9E38 001B6D98 D0 41 00 DC */ stfs f2, 0xdc(r1) /* 801B9E3C 001B6D9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9E40 001B6DA0 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 801B9E44 001B6DA4 D0 21 00 E0 */ stfs f1, 0xe0(r1) /* 801B9E48 001B6DA8 81 83 00 00 */ lwz r12, 0(r3) /* 801B9E4C 001B6DAC 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9E50 001B6DB0 7D 89 03 A6 */ mtctr r12 /* 801B9E54 001B6DB4 4E 80 04 21 */ bctrl /* 801B9E58 001B6DB8 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801B9E5C 001B6DBC 38 81 00 CC */ addi r4, r1, 0xcc /* 801B9E60 001B6DC0 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9E64 001B6DC4 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801B9E68 001B6DC8 D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 801B9E6C 001B6DCC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9E70 001B6DD0 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801B9E74 001B6DD4 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801B9E78 001B6DD8 81 83 00 00 */ lwz r12, 0(r3) /* 801B9E7C 001B6DDC 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9E80 001B6DE0 7D 89 03 A6 */ mtctr r12 /* 801B9E84 001B6DE4 4E 80 04 21 */ bctrl /* 801B9E88 001B6DE8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9E8C 001B6DEC 81 83 00 00 */ lwz r12, 0(r3) /* 801B9E90 001B6DF0 81 8C 00 B8 */ lwz r12, 0xb8(r12) /* 801B9E94 001B6DF4 7D 89 03 A6 */ mtctr r12 /* 801B9E98 001B6DF8 4E 80 04 21 */ bctrl /* 801B9E9C 001B6DFC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9EA0 001B6E00 38 80 00 04 */ li r4, 4 /* 801B9EA4 001B6E04 81 83 00 00 */ lwz r12, 0(r3) /* 801B9EA8 001B6E08 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801B9EAC 001B6E0C 7D 89 03 A6 */ mtctr r12 /* 801B9EB0 001B6E10 4E 80 04 21 */ bctrl /* 801B9EB4 001B6E14 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9EB8 001B6E18 38 81 00 08 */ addi r4, r1, 8 /* 801B9EBC 001B6E1C 81 83 00 00 */ lwz r12, 0(r3) /* 801B9EC0 001B6E20 81 8C 00 B4 */ lwz r12, 0xb4(r12) /* 801B9EC4 001B6E24 7D 89 03 A6 */ mtctr r12 /* 801B9EC8 001B6E28 4E 80 04 21 */ bctrl /* 801B9ECC 001B6E2C C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9ED0 001B6E30 38 81 00 C0 */ addi r4, r1, 0xc0 /* 801B9ED4 001B6E34 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9ED8 001B6E38 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9EDC 001B6E3C D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801B9EE0 001B6E40 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9EE4 001B6E44 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801B9EE8 001B6E48 D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 801B9EEC 001B6E4C 81 83 00 00 */ lwz r12, 0(r3) /* 801B9EF0 001B6E50 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9EF4 001B6E54 7D 89 03 A6 */ mtctr r12 /* 801B9EF8 001B6E58 4E 80 04 21 */ bctrl /* 801B9EFC 001B6E5C C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9F00 001B6E60 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801B9F04 001B6E64 C0 5F 00 04 */ lfs f2, 4(r31) /* 801B9F08 001B6E68 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9F0C 001B6E6C D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 801B9F10 001B6E70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9F14 001B6E74 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801B9F18 001B6E78 D0 21 00 BC */ stfs f1, 0xbc(r1) /* 801B9F1C 001B6E7C 81 83 00 00 */ lwz r12, 0(r3) /* 801B9F20 001B6E80 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9F24 001B6E84 7D 89 03 A6 */ mtctr r12 /* 801B9F28 001B6E88 4E 80 04 21 */ bctrl /* 801B9F2C 001B6E8C C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801B9F30 001B6E90 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801B9F34 001B6E94 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801B9F38 001B6E98 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9F3C 001B6E9C D0 41 00 AC */ stfs f2, 0xac(r1) /* 801B9F40 001B6EA0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9F44 001B6EA4 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801B9F48 001B6EA8 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801B9F4C 001B6EAC 81 83 00 00 */ lwz r12, 0(r3) /* 801B9F50 001B6EB0 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9F54 001B6EB4 7D 89 03 A6 */ mtctr r12 /* 801B9F58 001B6EB8 4E 80 04 21 */ bctrl /* 801B9F5C 001B6EBC C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801B9F60 001B6EC0 38 81 00 9C */ addi r4, r1, 0x9c /* 801B9F64 001B6EC4 C0 5F 00 04 */ lfs f2, 4(r31) /* 801B9F68 001B6EC8 C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9F6C 001B6ECC D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 801B9F70 001B6ED0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9F74 001B6ED4 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801B9F78 001B6ED8 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801B9F7C 001B6EDC 81 83 00 00 */ lwz r12, 0(r3) /* 801B9F80 001B6EE0 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9F84 001B6EE4 7D 89 03 A6 */ mtctr r12 /* 801B9F88 001B6EE8 4E 80 04 21 */ bctrl /* 801B9F8C 001B6EEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9F90 001B6EF0 81 83 00 00 */ lwz r12, 0(r3) /* 801B9F94 001B6EF4 81 8C 00 B8 */ lwz r12, 0xb8(r12) /* 801B9F98 001B6EF8 7D 89 03 A6 */ mtctr r12 /* 801B9F9C 001B6EFC 4E 80 04 21 */ bctrl /* 801B9FA0 001B6F00 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9FA4 001B6F04 38 80 00 04 */ li r4, 4 /* 801B9FA8 001B6F08 81 83 00 00 */ lwz r12, 0(r3) /* 801B9FAC 001B6F0C 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801B9FB0 001B6F10 7D 89 03 A6 */ mtctr r12 /* 801B9FB4 001B6F14 4E 80 04 21 */ bctrl /* 801B9FB8 001B6F18 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9FBC 001B6F1C 38 81 00 08 */ addi r4, r1, 8 /* 801B9FC0 001B6F20 81 83 00 00 */ lwz r12, 0(r3) /* 801B9FC4 001B6F24 81 8C 00 B4 */ lwz r12, 0xb4(r12) /* 801B9FC8 001B6F28 7D 89 03 A6 */ mtctr r12 /* 801B9FCC 001B6F2C 4E 80 04 21 */ bctrl /* 801B9FD0 001B6F30 C0 3F 00 08 */ lfs f1, 8(r31) /* 801B9FD4 001B6F34 38 81 00 90 */ addi r4, r1, 0x90 /* 801B9FD8 001B6F38 C0 5F 00 04 */ lfs f2, 4(r31) /* 801B9FDC 001B6F3C C0 1F 00 00 */ lfs f0, 0(r31) /* 801B9FE0 001B6F40 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801B9FE4 001B6F44 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801B9FE8 001B6F48 D0 01 00 90 */ stfs f0, 0x90(r1) /* 801B9FEC 001B6F4C D0 21 00 98 */ stfs f1, 0x98(r1) /* 801B9FF0 001B6F50 81 83 00 00 */ lwz r12, 0(r3) /* 801B9FF4 001B6F54 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801B9FF8 001B6F58 7D 89 03 A6 */ mtctr r12 /* 801B9FFC 001B6F5C 4E 80 04 21 */ bctrl /* 801BA000 001B6F60 C0 3F 00 08 */ lfs f1, 8(r31) /* 801BA004 001B6F64 38 81 00 84 */ addi r4, r1, 0x84 /* 801BA008 001B6F68 C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA00C 001B6F6C C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA010 001B6F70 D0 41 00 88 */ stfs f2, 0x88(r1) /* 801BA014 001B6F74 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA018 001B6F78 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801BA01C 001B6F7C D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801BA020 001B6F80 81 83 00 00 */ lwz r12, 0(r3) /* 801BA024 001B6F84 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA028 001B6F88 7D 89 03 A6 */ mtctr r12 /* 801BA02C 001B6F8C 4E 80 04 21 */ bctrl /* 801BA030 001B6F90 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801BA034 001B6F94 38 81 00 78 */ addi r4, r1, 0x78 /* 801BA038 001B6F98 C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA03C 001B6F9C C0 1F 00 00 */ lfs f0, 0(r31) /* 801BA040 001B6FA0 D0 41 00 7C */ stfs f2, 0x7c(r1) /* 801BA044 001B6FA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA048 001B6FA8 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801BA04C 001B6FAC D0 21 00 80 */ stfs f1, 0x80(r1) /* 801BA050 001B6FB0 81 83 00 00 */ lwz r12, 0(r3) /* 801BA054 001B6FB4 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA058 001B6FB8 7D 89 03 A6 */ mtctr r12 /* 801BA05C 001B6FBC 4E 80 04 21 */ bctrl /* 801BA060 001B6FC0 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801BA064 001B6FC4 38 81 00 6C */ addi r4, r1, 0x6c /* 801BA068 001B6FC8 C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA06C 001B6FCC C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA070 001B6FD0 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801BA074 001B6FD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA078 001B6FD8 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801BA07C 001B6FDC D0 21 00 74 */ stfs f1, 0x74(r1) /* 801BA080 001B6FE0 81 83 00 00 */ lwz r12, 0(r3) /* 801BA084 001B6FE4 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA088 001B6FE8 7D 89 03 A6 */ mtctr r12 /* 801BA08C 001B6FEC 4E 80 04 21 */ bctrl /* 801BA090 001B6FF0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA094 001B6FF4 81 83 00 00 */ lwz r12, 0(r3) /* 801BA098 001B6FF8 81 8C 00 B8 */ lwz r12, 0xb8(r12) /* 801BA09C 001B6FFC 7D 89 03 A6 */ mtctr r12 /* 801BA0A0 001B7000 4E 80 04 21 */ bctrl /* 801BA0A4 001B7004 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA0A8 001B7008 38 80 00 04 */ li r4, 4 /* 801BA0AC 001B700C 81 83 00 00 */ lwz r12, 0(r3) /* 801BA0B0 001B7010 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801BA0B4 001B7014 7D 89 03 A6 */ mtctr r12 /* 801BA0B8 001B7018 4E 80 04 21 */ bctrl /* 801BA0BC 001B701C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA0C0 001B7020 38 81 00 08 */ addi r4, r1, 8 /* 801BA0C4 001B7024 81 83 00 00 */ lwz r12, 0(r3) /* 801BA0C8 001B7028 81 8C 00 B4 */ lwz r12, 0xb4(r12) /* 801BA0CC 001B702C 7D 89 03 A6 */ mtctr r12 /* 801BA0D0 001B7030 4E 80 04 21 */ bctrl /* 801BA0D4 001B7034 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801BA0D8 001B7038 38 81 00 60 */ addi r4, r1, 0x60 /* 801BA0DC 001B703C C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA0E0 001B7040 C0 1F 00 00 */ lfs f0, 0(r31) /* 801BA0E4 001B7044 D0 41 00 64 */ stfs f2, 0x64(r1) /* 801BA0E8 001B7048 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA0EC 001B704C D0 01 00 60 */ stfs f0, 0x60(r1) /* 801BA0F0 001B7050 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801BA0F4 001B7054 81 83 00 00 */ lwz r12, 0(r3) /* 801BA0F8 001B7058 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA0FC 001B705C 7D 89 03 A6 */ mtctr r12 /* 801BA100 001B7060 4E 80 04 21 */ bctrl /* 801BA104 001B7064 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801BA108 001B7068 38 81 00 54 */ addi r4, r1, 0x54 /* 801BA10C 001B706C C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA110 001B7070 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA114 001B7074 D0 41 00 58 */ stfs f2, 0x58(r1) /* 801BA118 001B7078 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA11C 001B707C D0 01 00 54 */ stfs f0, 0x54(r1) /* 801BA120 001B7080 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801BA124 001B7084 81 83 00 00 */ lwz r12, 0(r3) /* 801BA128 001B7088 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA12C 001B708C 7D 89 03 A6 */ mtctr r12 /* 801BA130 001B7090 4E 80 04 21 */ bctrl /* 801BA134 001B7094 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801BA138 001B7098 38 81 00 48 */ addi r4, r1, 0x48 /* 801BA13C 001B709C C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801BA140 001B70A0 C0 1F 00 00 */ lfs f0, 0(r31) /* 801BA144 001B70A4 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801BA148 001B70A8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA14C 001B70AC D0 01 00 48 */ stfs f0, 0x48(r1) /* 801BA150 001B70B0 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801BA154 001B70B4 81 83 00 00 */ lwz r12, 0(r3) /* 801BA158 001B70B8 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA15C 001B70BC 7D 89 03 A6 */ mtctr r12 /* 801BA160 001B70C0 4E 80 04 21 */ bctrl /* 801BA164 001B70C4 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801BA168 001B70C8 38 81 00 3C */ addi r4, r1, 0x3c /* 801BA16C 001B70CC C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801BA170 001B70D0 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA174 001B70D4 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801BA178 001B70D8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA17C 001B70DC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801BA180 001B70E0 D0 21 00 44 */ stfs f1, 0x44(r1) /* 801BA184 001B70E4 81 83 00 00 */ lwz r12, 0(r3) /* 801BA188 001B70E8 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA18C 001B70EC 7D 89 03 A6 */ mtctr r12 /* 801BA190 001B70F0 4E 80 04 21 */ bctrl /* 801BA194 001B70F4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA198 001B70F8 81 83 00 00 */ lwz r12, 0(r3) /* 801BA19C 001B70FC 81 8C 00 B8 */ lwz r12, 0xb8(r12) /* 801BA1A0 001B7100 7D 89 03 A6 */ mtctr r12 /* 801BA1A4 001B7104 4E 80 04 21 */ bctrl /* 801BA1A8 001B7108 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA1AC 001B710C 38 80 00 04 */ li r4, 4 /* 801BA1B0 001B7110 81 83 00 00 */ lwz r12, 0(r3) /* 801BA1B4 001B7114 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801BA1B8 001B7118 7D 89 03 A6 */ mtctr r12 /* 801BA1BC 001B711C 4E 80 04 21 */ bctrl /* 801BA1C0 001B7120 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA1C4 001B7124 38 81 00 08 */ addi r4, r1, 8 /* 801BA1C8 001B7128 81 83 00 00 */ lwz r12, 0(r3) /* 801BA1CC 001B712C 81 8C 00 B4 */ lwz r12, 0xb4(r12) /* 801BA1D0 001B7130 7D 89 03 A6 */ mtctr r12 /* 801BA1D4 001B7134 4E 80 04 21 */ bctrl /* 801BA1D8 001B7138 C0 3F 00 08 */ lfs f1, 8(r31) /* 801BA1DC 001B713C 38 81 00 30 */ addi r4, r1, 0x30 /* 801BA1E0 001B7140 C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA1E4 001B7144 C0 1F 00 00 */ lfs f0, 0(r31) /* 801BA1E8 001B7148 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801BA1EC 001B714C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA1F0 001B7150 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801BA1F4 001B7154 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801BA1F8 001B7158 81 83 00 00 */ lwz r12, 0(r3) /* 801BA1FC 001B715C 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA200 001B7160 7D 89 03 A6 */ mtctr r12 /* 801BA204 001B7164 4E 80 04 21 */ bctrl /* 801BA208 001B7168 C0 3F 00 08 */ lfs f1, 8(r31) /* 801BA20C 001B716C 38 81 00 24 */ addi r4, r1, 0x24 /* 801BA210 001B7170 C0 5F 00 04 */ lfs f2, 4(r31) /* 801BA214 001B7174 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA218 001B7178 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801BA21C 001B717C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA220 001B7180 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801BA224 001B7184 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801BA228 001B7188 81 83 00 00 */ lwz r12, 0(r3) /* 801BA22C 001B718C 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA230 001B7190 7D 89 03 A6 */ mtctr r12 /* 801BA234 001B7194 4E 80 04 21 */ bctrl /* 801BA238 001B7198 C0 3F 00 08 */ lfs f1, 8(r31) /* 801BA23C 001B719C 38 81 00 18 */ addi r4, r1, 0x18 /* 801BA240 001B71A0 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801BA244 001B71A4 C0 1F 00 00 */ lfs f0, 0(r31) /* 801BA248 001B71A8 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801BA24C 001B71AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA250 001B71B0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801BA254 001B71B4 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801BA258 001B71B8 81 83 00 00 */ lwz r12, 0(r3) /* 801BA25C 001B71BC 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA260 001B71C0 7D 89 03 A6 */ mtctr r12 /* 801BA264 001B71C4 4E 80 04 21 */ bctrl /* 801BA268 001B71C8 C0 3F 00 08 */ lfs f1, 8(r31) /* 801BA26C 001B71CC 38 81 00 0C */ addi r4, r1, 0xc /* 801BA270 001B71D0 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801BA274 001B71D4 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA278 001B71D8 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801BA27C 001B71DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA280 001B71E0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801BA284 001B71E4 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801BA288 001B71E8 81 83 00 00 */ lwz r12, 0(r3) /* 801BA28C 001B71EC 81 8C 00 A8 */ lwz r12, 0xa8(r12) /* 801BA290 001B71F0 7D 89 03 A6 */ mtctr r12 /* 801BA294 001B71F4 4E 80 04 21 */ bctrl /* 801BA298 001B71F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BA29C 001B71FC 81 83 00 00 */ lwz r12, 0(r3) /* 801BA2A0 001B7200 81 8C 00 B8 */ lwz r12, 0xb8(r12) /* 801BA2A4 001B7204 7D 89 03 A6 */ mtctr r12 /* 801BA2A8 001B7208 4E 80 04 21 */ bctrl /* 801BA2AC 001B720C 38 60 00 01 */ li r3, 1 /* 801BA2B0 001B7210 48 15 17 C1 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 801BA2B4 001B7214 80 01 01 44 */ lwz r0, 0x144(r1) /* 801BA2B8 001B7218 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 801BA2BC 001B721C 7C 08 03 A6 */ mtlr r0 /* 801BA2C0 001B7220 38 21 01 40 */ addi r1, r1, 0x140 /* 801BA2C4 001B7224 4E 80 00 20 */ blr .global EnableFrozenEffect__10CGunWeaponF13EFrozenFxType EnableFrozenEffect__10CGunWeaponF13EFrozenFxType: /* 801BA2C8 001B7228 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BA2CC 001B722C 7C 08 02 A6 */ mflr r0 /* 801BA2D0 001B7230 90 01 00 34 */ stw r0, 0x34(r1) /* 801BA2D4 001B7234 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801BA2D8 001B7238 7C 9F 23 78 */ mr r31, r4 /* 801BA2DC 001B723C 2C 1F 00 02 */ cmpwi r31, 2 /* 801BA2E0 001B7240 93 C1 00 28 */ stw r30, 0x28(r1) /* 801BA2E4 001B7244 7C 7E 1B 78 */ mr r30, r3 /* 801BA2E8 001B7248 93 A1 00 24 */ stw r29, 0x24(r1) /* 801BA2EC 001B724C 93 81 00 20 */ stw r28, 0x20(r1) /* 801BA2F0 001B7250 41 82 00 14 */ beq lbl_801BA304 /* 801BA2F4 001B7254 40 80 01 64 */ bge lbl_801BA458 /* 801BA2F8 001B7258 2C 1F 00 01 */ cmpwi r31, 1 /* 801BA2FC 001B725C 40 80 00 B4 */ bge lbl_801BA3B0 /* 801BA300 001B7260 48 00 01 58 */ b lbl_801BA458 lbl_801BA304: /* 801BA304 001B7264 80 1E 02 04 */ lwz r0, 0x204(r30) /* 801BA308 001B7268 2C 00 00 02 */ cmpwi r0, 2 /* 801BA30C 001B726C 41 82 01 4C */ beq lbl_801BA458 /* 801BA310 001B7270 3C 60 80 3D */ lis r3, lbl_803D1828@ha /* 801BA314 001B7274 3B 80 00 00 */ li r28, 0 /* 801BA318 001B7278 38 83 18 28 */ addi r4, r3, lbl_803D1828@l /* 801BA31C 001B727C 38 60 03 40 */ li r3, 0x340 /* 801BA320 001B7280 38 84 01 B5 */ addi r4, r4, 0x1b5 /* 801BA324 001B7284 38 A0 00 00 */ li r5, 0 /* 801BA328 001B7288 48 15 B5 45 */ bl __nw__FUlPCcPCc /* 801BA32C 001B728C 7C 7D 1B 79 */ or. r29, r3, r3 /* 801BA330 001B7290 41 82 00 2C */ beq lbl_801BA35C /* 801BA334 001B7294 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA338 001B7298 38 9E 01 98 */ addi r4, r30, 0x198 /* 801BA33C 001B729C 48 18 6B 6D */ bl __ct__6CTokenFRC6CToken /* 801BA340 001B72A0 7F A3 EB 78 */ mr r3, r29 /* 801BA344 001B72A4 38 81 00 10 */ addi r4, r1, 0x10 /* 801BA348 001B72A8 3B 80 00 01 */ li r28, 1 /* 801BA34C 001B72AC 38 A0 00 00 */ li r5, 0 /* 801BA350 001B72B0 38 C0 00 01 */ li r6, 1 /* 801BA354 001B72B4 48 16 50 8D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801BA358 001B72B8 7C 7D 1B 78 */ mr r29, r3 lbl_801BA35C: /* 801BA35C 001B72BC 80 7E 01 B8 */ lwz r3, 0x1b8(r30) /* 801BA360 001B72C0 28 03 00 00 */ cmplwi r3, 0 /* 801BA364 001B72C4 41 82 00 18 */ beq lbl_801BA37C /* 801BA368 001B72C8 81 83 00 00 */ lwz r12, 0(r3) /* 801BA36C 001B72CC 38 80 00 01 */ li r4, 1 /* 801BA370 001B72D0 81 8C 00 08 */ lwz r12, 8(r12) /* 801BA374 001B72D4 7D 89 03 A6 */ mtctr r12 /* 801BA378 001B72D8 4E 80 04 21 */ bctrl lbl_801BA37C: /* 801BA37C 001B72DC 7F 80 07 75 */ extsb. r0, r28 /* 801BA380 001B72E0 93 BE 01 B8 */ stw r29, 0x1b8(r30) /* 801BA384 001B72E4 41 82 00 10 */ beq lbl_801BA394 /* 801BA388 001B72E8 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA38C 001B72EC 38 80 00 00 */ li r4, 0 /* 801BA390 001B72F0 48 18 6A B1 */ bl __dt__6CTokenFv lbl_801BA394: /* 801BA394 001B72F4 80 7E 01 B8 */ lwz r3, 0x1b8(r30) /* 801BA398 001B72F8 38 9E 00 04 */ addi r4, r30, 4 /* 801BA39C 001B72FC 81 83 00 00 */ lwz r12, 0(r3) /* 801BA3A0 001B7300 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801BA3A4 001B7304 7D 89 03 A6 */ mtctr r12 /* 801BA3A8 001B7308 4E 80 04 21 */ bctrl /* 801BA3AC 001B730C 48 00 00 AC */ b lbl_801BA458 lbl_801BA3B0: /* 801BA3B0 001B7310 80 1E 02 04 */ lwz r0, 0x204(r30) /* 801BA3B4 001B7314 2C 00 00 01 */ cmpwi r0, 1 /* 801BA3B8 001B7318 41 82 00 A0 */ beq lbl_801BA458 /* 801BA3BC 001B731C 3C 60 80 3D */ lis r3, lbl_803D1828@ha /* 801BA3C0 001B7320 3B 80 00 00 */ li r28, 0 /* 801BA3C4 001B7324 38 83 18 28 */ addi r4, r3, lbl_803D1828@l /* 801BA3C8 001B7328 38 60 03 40 */ li r3, 0x340 /* 801BA3CC 001B732C 38 84 01 B5 */ addi r4, r4, 0x1b5 /* 801BA3D0 001B7330 38 A0 00 00 */ li r5, 0 /* 801BA3D4 001B7334 48 15 B4 99 */ bl __nw__FUlPCcPCc /* 801BA3D8 001B7338 7C 7D 1B 79 */ or. r29, r3, r3 /* 801BA3DC 001B733C 41 82 00 2C */ beq lbl_801BA408 /* 801BA3E0 001B7340 38 61 00 08 */ addi r3, r1, 8 /* 801BA3E4 001B7344 38 9E 01 8C */ addi r4, r30, 0x18c /* 801BA3E8 001B7348 48 18 6A C1 */ bl __ct__6CTokenFRC6CToken /* 801BA3EC 001B734C 7F A3 EB 78 */ mr r3, r29 /* 801BA3F0 001B7350 38 81 00 08 */ addi r4, r1, 8 /* 801BA3F4 001B7354 3B 80 00 01 */ li r28, 1 /* 801BA3F8 001B7358 38 A0 00 00 */ li r5, 0 /* 801BA3FC 001B735C 38 C0 00 01 */ li r6, 1 /* 801BA400 001B7360 48 16 4F E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801BA404 001B7364 7C 7D 1B 78 */ mr r29, r3 lbl_801BA408: /* 801BA408 001B7368 80 7E 01 B8 */ lwz r3, 0x1b8(r30) /* 801BA40C 001B736C 28 03 00 00 */ cmplwi r3, 0 /* 801BA410 001B7370 41 82 00 18 */ beq lbl_801BA428 /* 801BA414 001B7374 81 83 00 00 */ lwz r12, 0(r3) /* 801BA418 001B7378 38 80 00 01 */ li r4, 1 /* 801BA41C 001B737C 81 8C 00 08 */ lwz r12, 8(r12) /* 801BA420 001B7380 7D 89 03 A6 */ mtctr r12 /* 801BA424 001B7384 4E 80 04 21 */ bctrl lbl_801BA428: /* 801BA428 001B7388 7F 80 07 75 */ extsb. r0, r28 /* 801BA42C 001B738C 93 BE 01 B8 */ stw r29, 0x1b8(r30) /* 801BA430 001B7390 41 82 00 10 */ beq lbl_801BA440 /* 801BA434 001B7394 38 61 00 08 */ addi r3, r1, 8 /* 801BA438 001B7398 38 80 00 00 */ li r4, 0 /* 801BA43C 001B739C 48 18 6A 05 */ bl __dt__6CTokenFv lbl_801BA440: /* 801BA440 001B73A0 80 7E 01 B8 */ lwz r3, 0x1b8(r30) /* 801BA444 001B73A4 38 9E 00 04 */ addi r4, r30, 4 /* 801BA448 001B73A8 81 83 00 00 */ lwz r12, 0(r3) /* 801BA44C 001B73AC 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801BA450 001B73B0 7D 89 03 A6 */ mtctr r12 /* 801BA454 001B73B4 4E 80 04 21 */ bctrl lbl_801BA458: /* 801BA458 001B73B8 93 FE 02 04 */ stw r31, 0x204(r30) /* 801BA45C 001B73BC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BA460 001B73C0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801BA464 001B73C4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801BA468 001B73C8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801BA46C 001B73CC 83 81 00 20 */ lwz r28, 0x20(r1) /* 801BA470 001B73D0 7C 08 03 A6 */ mtlr r0 /* 801BA474 001B73D4 38 21 00 30 */ addi r1, r1, 0x30 /* 801BA478 001B73D8 4E 80 00 20 */ blr .global PointGenerator__10CGunWeaponFPvPC9CVector3fPC9CVector3fi PointGenerator__10CGunWeaponFPvPC9CVector3fPC9CVector3fi: /* 801BA47C 001B73DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA480 001B73E0 7C 08 02 A6 */ mflr r0 /* 801BA484 001B73E4 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA488 001B73E8 48 0B 01 59 */ bl GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi /* 801BA48C 001B73EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA490 001B73F0 7C 08 03 A6 */ mtlr r0 /* 801BA494 001B73F4 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA498 001B73F8 4E 80 00 20 */ blr .global LoadSuitArm__10CGunWeaponFR13CStateManager LoadSuitArm__10CGunWeaponFR13CStateManager: /* 801BA49C 001B73FC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801BA4A0 001B7400 7C 08 02 A6 */ mflr r0 /* 801BA4A4 001B7404 90 01 00 74 */ stw r0, 0x74(r1) /* 801BA4A8 001B7408 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801BA4AC 001B740C 7C 7F 1B 78 */ mr r31, r3 /* 801BA4B0 001B7410 80 63 01 3C */ lwz r3, 0x13c(r3) /* 801BA4B4 001B7414 80 03 00 10 */ lwz r0, 0x10(r3) /* 801BA4B8 001B7418 28 00 00 00 */ cmplwi r0, 0 /* 801BA4BC 001B741C 41 82 00 88 */ beq lbl_801BA544 /* 801BA4C0 001B7420 7C 83 23 78 */ mr r3, r4 /* 801BA4C4 001B7424 48 0D 05 09 */ bl get_current_suit__12NWeaponTypesFRC13CStateManager /* 801BA4C8 001B7428 3C 80 80 3D */ lis r4, lbl_803D17DC@ha /* 801BA4CC 001B742C 54 60 10 3A */ slwi r0, r3, 2 /* 801BA4D0 001B7430 38 64 17 DC */ addi r3, r4, lbl_803D17DC@l /* 801BA4D4 001B7434 7C 63 00 2E */ lwzx r3, r3, r0 /* 801BA4D8 001B7438 48 0D 0F 71 */ bl get_asset_id_from_name__12NWeaponTypesFPCc /* 801BA4DC 001B743C 90 61 00 08 */ stw r3, 8(r1) /* 801BA4E0 001B7440 38 61 00 18 */ addi r3, r1, 0x18 /* 801BA4E4 001B7444 38 81 00 08 */ addi r4, r1, 8 /* 801BA4E8 001B7448 C0 1F 00 04 */ lfs f0, 4(r31) /* 801BA4EC 001B744C D0 01 00 0C */ stfs f0, 0xc(r1) /* 801BA4F0 001B7450 C0 1F 00 08 */ lfs f0, 8(r31) /* 801BA4F4 001B7454 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BA4F8 001B7458 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BA4FC 001B745C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801BA500 001B7460 4B F5 C8 5D */ bl __ct__10CModelDataFRC10CStaticRes /* 801BA504 001B7464 38 7F 00 B0 */ addi r3, r31, 0xb0 /* 801BA508 001B7468 38 81 00 18 */ addi r4, r1, 0x18 /* 801BA50C 001B746C 4B F2 39 6D */ bl sub_800dde78 /* 801BA510 001B7470 38 61 00 18 */ addi r3, r1, 0x18 /* 801BA514 001B7474 38 80 FF FF */ li r4, -1 /* 801BA518 001B7478 4B F5 C5 35 */ bl __dt__10CModelDataFv /* 801BA51C 001B747C 88 1F 00 C4 */ lbz r0, 0xc4(r31) /* 801BA520 001B7480 38 60 00 01 */ li r3, 1 /* 801BA524 001B7484 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801BA528 001B7488 38 80 00 00 */ li r4, 0 /* 801BA52C 001B748C 98 1F 00 C4 */ stb r0, 0xc4(r31) /* 801BA530 001B7490 38 7F 01 3C */ addi r3, r31, 0x13c /* 801BA534 001B7494 88 1F 02 18 */ lbz r0, 0x218(r31) /* 801BA538 001B7498 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801BA53C 001B749C 98 1F 02 18 */ stb r0, 0x218(r31) /* 801BA540 001B74A0 48 18 68 01 */ bl Unlock__6CTokenFv lbl_801BA544: /* 801BA544 001B74A4 80 01 00 74 */ lwz r0, 0x74(r1) /* 801BA548 001B74A8 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801BA54C 001B74AC 7C 08 03 A6 */ mtlr r0 /* 801BA550 001B74B0 38 21 00 70 */ addi r1, r1, 0x70 /* 801BA554 001B74B4 4E 80 00 20 */ blr .global AsyncLoadSuitArm__10CGunWeaponFR13CStateManager AsyncLoadSuitArm__10CGunWeaponFR13CStateManager: /* 801BA558 001B74B8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801BA55C 001B74BC 7C 08 02 A6 */ mflr r0 /* 801BA560 001B74C0 90 01 00 74 */ stw r0, 0x74(r1) /* 801BA564 001B74C4 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801BA568 001B74C8 93 C1 00 68 */ stw r30, 0x68(r1) /* 801BA56C 001B74CC 7C 7E 1B 78 */ mr r30, r3 /* 801BA570 001B74D0 7C 83 23 78 */ mr r3, r4 /* 801BA574 001B74D4 48 0D 04 59 */ bl get_current_suit__12NWeaponTypesFRC13CStateManager /* 801BA578 001B74D8 38 00 00 00 */ li r0, 0 /* 801BA57C 001B74DC 7C 7F 1B 78 */ mr r31, r3 /* 801BA580 001B74E0 98 01 00 64 */ stb r0, 0x64(r1) /* 801BA584 001B74E4 38 7E 00 B0 */ addi r3, r30, 0xb0 /* 801BA588 001B74E8 38 81 00 18 */ addi r4, r1, 0x18 /* 801BA58C 001B74EC 4B F6 37 C1 */ bl sub_8011dd4c /* 801BA590 001B74F0 88 01 00 64 */ lbz r0, 0x64(r1) /* 801BA594 001B74F4 28 00 00 00 */ cmplwi r0, 0 /* 801BA598 001B74F8 41 82 00 10 */ beq lbl_801BA5A8 /* 801BA59C 001B74FC 38 61 00 18 */ addi r3, r1, 0x18 /* 801BA5A0 001B7500 38 80 FF FF */ li r4, -1 /* 801BA5A4 001B7504 4B F5 C4 A9 */ bl __dt__10CModelDataFv lbl_801BA5A8: /* 801BA5A8 001B7508 38 00 00 00 */ li r0, 0 /* 801BA5AC 001B750C 3C 60 80 3D */ lis r3, lbl_803D17DC@ha /* 801BA5B0 001B7510 98 01 00 64 */ stb r0, 0x64(r1) /* 801BA5B4 001B7514 57 E0 10 3A */ slwi r0, r31, 2 /* 801BA5B8 001B7518 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BA5BC 001B751C 38 A3 17 DC */ addi r5, r3, lbl_803D17DC@l /* 801BA5C0 001B7520 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA5C4 001B7524 7C A5 00 2E */ lwzx r5, r5, r0 /* 801BA5C8 001B7528 81 84 00 00 */ lwz r12, 0(r4) /* 801BA5CC 001B752C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BA5D0 001B7530 7D 89 03 A6 */ mtctr r12 /* 801BA5D4 001B7534 4E 80 04 21 */ bctrl /* 801BA5D8 001B7538 38 61 00 08 */ addi r3, r1, 8 /* 801BA5DC 001B753C 38 81 00 10 */ addi r4, r1, 0x10 /* 801BA5E0 001B7540 48 18 68 C9 */ bl __ct__6CTokenFRC6CToken /* 801BA5E4 001B7544 38 7E 01 3C */ addi r3, r30, 0x13c /* 801BA5E8 001B7548 38 81 00 08 */ addi r4, r1, 8 /* 801BA5EC 001B754C 48 18 66 D9 */ bl __as__6CTokenFRC6CToken /* 801BA5F0 001B7550 38 61 00 08 */ addi r3, r1, 8 /* 801BA5F4 001B7554 38 80 00 00 */ li r4, 0 /* 801BA5F8 001B7558 48 18 68 49 */ bl __dt__6CTokenFv /* 801BA5FC 001B755C 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA600 001B7560 38 80 FF FF */ li r4, -1 /* 801BA604 001B7564 48 18 68 3D */ bl __dt__6CTokenFv /* 801BA608 001B7568 38 7E 01 3C */ addi r3, r30, 0x13c /* 801BA60C 001B756C 48 18 67 79 */ bl Lock__6CTokenFv /* 801BA610 001B7570 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BA614 001B7574 38 60 00 01 */ li r3, 1 /* 801BA618 001B7578 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801BA61C 001B757C 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BA620 001B7580 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801BA624 001B7584 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801BA628 001B7588 80 01 00 74 */ lwz r0, 0x74(r1) /* 801BA62C 001B758C 7C 08 03 A6 */ mtlr r0 /* 801BA630 001B7590 38 21 00 70 */ addi r1, r1, 0x70 /* 801BA634 001B7594 4E 80 00 20 */ blr .global IsFidgetLoaded__10CGunWeaponFv IsFidgetLoaded__10CGunWeaponFv: /* 801BA638 001B7598 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA63C 001B759C 7C 08 02 A6 */ mflr r0 /* 801BA640 001B75A0 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA644 001B75A4 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BA648 001B75A8 38 63 00 30 */ addi r3, r3, 0x30 /* 801BA64C 001B75AC 48 03 6A 7D */ bl IsAnimLoaded__9CGSFidgetCFv /* 801BA650 001B75B0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA654 001B75B4 7C 08 03 A6 */ mtlr r0 /* 801BA658 001B75B8 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA65C 001B75BC 4E 80 00 20 */ blr .global UnLoadFidget__10CGunWeaponFv UnLoadFidget__10CGunWeaponFv: /* 801BA660 001B75C0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA664 001B75C4 7C 08 02 A6 */ mflr r0 /* 801BA668 001B75C8 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA66C 001B75CC 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BA670 001B75D0 38 63 00 30 */ addi r3, r3, 0x30 /* 801BA674 001B75D4 48 03 6A 75 */ bl UnLoadAnim__9CGSFidgetFv /* 801BA678 001B75D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA67C 001B75DC 7C 08 03 A6 */ mtlr r0 /* 801BA680 001B75E0 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA684 001B75E4 4E 80 00 20 */ blr .global AsyncLoadFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei AsyncLoadFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei: /* 801BA688 001B75E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA68C 001B75EC 7C 08 02 A6 */ mflr r0 /* 801BA690 001B75F0 7C 68 1B 78 */ mr r8, r3 /* 801BA694 001B75F4 7C C7 33 78 */ mr r7, r6 /* 801BA698 001B75F8 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA69C 001B75FC 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BA6A0 001B7600 80 C8 02 00 */ lwz r6, 0x200(r8) /* 801BA6A4 001B7604 48 01 21 79 */ bl LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii /* 801BA6A8 001B7608 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA6AC 001B760C 7C 08 03 A6 */ mtlr r0 /* 801BA6B0 001B7610 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA6B4 001B7614 4E 80 00 20 */ blr .global BuildDependencyList__10CGunWeaponFQ212CPlayerState7EBeamId BuildDependencyList__10CGunWeaponFQ212CPlayerState7EBeamId: /* 801BA6B8 001B7618 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BA6BC 001B761C 7C 08 02 A6 */ mflr r0 /* 801BA6C0 001B7620 3C A0 80 3D */ lis r5, lbl_803D17C8@ha /* 801BA6C4 001B7624 90 01 00 44 */ stw r0, 0x44(r1) /* 801BA6C8 001B7628 7C 80 23 78 */ mr r0, r4 /* 801BA6CC 001B762C 38 A5 17 C8 */ addi r5, r5, lbl_803D17C8@l /* 801BA6D0 001B7630 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801BA6D4 001B7634 93 C1 00 38 */ stw r30, 0x38(r1) /* 801BA6D8 001B7638 54 1E 10 3A */ slwi r30, r0, 2 /* 801BA6DC 001B763C 7C A5 F0 2E */ lwzx r5, r5, r30 /* 801BA6E0 001B7640 93 A1 00 34 */ stw r29, 0x34(r1) /* 801BA6E4 001B7644 7C 7D 1B 78 */ mr r29, r3 /* 801BA6E8 001B7648 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA6EC 001B764C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BA6F0 001B7650 81 84 00 00 */ lwz r12, 0(r4) /* 801BA6F4 001B7654 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BA6F8 001B7658 7D 89 03 A6 */ mtctr r12 /* 801BA6FC 001B765C 4E 80 04 21 */ bctrl /* 801BA700 001B7660 3B E1 00 24 */ addi r31, r1, 0x24 /* 801BA704 001B7664 38 81 00 10 */ addi r4, r1, 0x10 /* 801BA708 001B7668 7F E3 FB 78 */ mr r3, r31 /* 801BA70C 001B766C 48 18 67 9D */ bl __ct__6CTokenFRC6CToken /* 801BA710 001B7670 7F E3 FB 78 */ mr r3, r31 /* 801BA714 001B7674 48 18 66 F9 */ bl GetObj__6CTokenFv /* 801BA718 001B7678 80 03 00 04 */ lwz r0, 4(r3) /* 801BA71C 001B767C 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA720 001B7680 38 80 FF FF */ li r4, -1 /* 801BA724 001B7684 90 01 00 2C */ stw r0, 0x2c(r1) /* 801BA728 001B7688 48 18 67 19 */ bl __dt__6CTokenFv /* 801BA72C 001B768C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BA730 001B7690 3C 60 80 3D */ lis r3, lbl_803D17B4@ha /* 801BA734 001B7694 38 A3 17 B4 */ addi r5, r3, lbl_803D17B4@l /* 801BA738 001B7698 38 61 00 08 */ addi r3, r1, 8 /* 801BA73C 001B769C 81 84 00 00 */ lwz r12, 0(r4) /* 801BA740 001B76A0 7C A5 F0 2E */ lwzx r5, r5, r30 /* 801BA744 001B76A4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BA748 001B76A8 7D 89 03 A6 */ mtctr r12 /* 801BA74C 001B76AC 4E 80 04 21 */ bctrl /* 801BA750 001B76B0 3B C1 00 18 */ addi r30, r1, 0x18 /* 801BA754 001B76B4 38 81 00 08 */ addi r4, r1, 8 /* 801BA758 001B76B8 7F C3 F3 78 */ mr r3, r30 /* 801BA75C 001B76BC 48 18 67 4D */ bl __ct__6CTokenFRC6CToken /* 801BA760 001B76C0 7F C3 F3 78 */ mr r3, r30 /* 801BA764 001B76C4 48 18 66 A9 */ bl GetObj__6CTokenFv /* 801BA768 001B76C8 80 03 00 04 */ lwz r0, 4(r3) /* 801BA76C 001B76CC 38 61 00 08 */ addi r3, r1, 8 /* 801BA770 001B76D0 38 80 FF FF */ li r4, -1 /* 801BA774 001B76D4 90 01 00 20 */ stw r0, 0x20(r1) /* 801BA778 001B76D8 48 18 66 C9 */ bl __dt__6CTokenFv /* 801BA77C 001B76DC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801BA780 001B76E0 38 7D 01 2C */ addi r3, r29, 0x12c /* 801BA784 001B76E4 83 C1 00 20 */ lwz r30, 0x20(r1) /* 801BA788 001B76E8 80 9F 00 04 */ lwz r4, 4(r31) /* 801BA78C 001B76EC 80 1E 00 04 */ lwz r0, 4(r30) /* 801BA790 001B76F0 7C 84 02 14 */ add r4, r4, r0 /* 801BA794 001B76F4 4B E4 E1 C9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" /* 801BA798 001B76F8 7F E3 FB 78 */ mr r3, r31 /* 801BA79C 001B76FC 38 9D 01 2C */ addi r4, r29, 0x12c /* 801BA7A0 001B7700 38 A0 00 01 */ li r5, 1 /* 801BA7A4 001B7704 48 00 00 49 */ bl "FillTokenVector__10CGunWeaponFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" /* 801BA7A8 001B7708 7F C3 F3 78 */ mr r3, r30 /* 801BA7AC 001B770C 38 9D 01 2C */ addi r4, r29, 0x12c /* 801BA7B0 001B7710 38 A0 00 00 */ li r5, 0 /* 801BA7B4 001B7714 48 00 00 39 */ bl "FillTokenVector__10CGunWeaponFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" /* 801BA7B8 001B7718 38 61 00 18 */ addi r3, r1, 0x18 /* 801BA7BC 001B771C 38 80 00 00 */ li r4, 0 /* 801BA7C0 001B7720 48 18 66 81 */ bl __dt__6CTokenFv /* 801BA7C4 001B7724 38 61 00 24 */ addi r3, r1, 0x24 /* 801BA7C8 001B7728 38 80 00 00 */ li r4, 0 /* 801BA7CC 001B772C 48 18 66 75 */ bl __dt__6CTokenFv /* 801BA7D0 001B7730 80 01 00 44 */ lwz r0, 0x44(r1) /* 801BA7D4 001B7734 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801BA7D8 001B7738 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801BA7DC 001B773C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801BA7E0 001B7740 7C 08 03 A6 */ mtlr r0 /* 801BA7E4 001B7744 38 21 00 40 */ addi r1, r1, 0x40 /* 801BA7E8 001B7748 4E 80 00 20 */ blr .global "FillTokenVector__10CGunWeaponFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" "FillTokenVector__10CGunWeaponFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": /* 801BA7EC 001B774C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BA7F0 001B7750 7C 08 02 A6 */ mflr r0 /* 801BA7F4 001B7754 90 01 00 34 */ stw r0, 0x34(r1) /* 801BA7F8 001B7758 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801BA7FC 001B775C 54 BF 06 3E */ clrlwi r31, r5, 0x18 /* 801BA800 001B7760 93 C1 00 28 */ stw r30, 0x28(r1) /* 801BA804 001B7764 93 A1 00 24 */ stw r29, 0x24(r1) /* 801BA808 001B7768 7C 9D 23 78 */ mr r29, r4 /* 801BA80C 001B776C 93 81 00 20 */ stw r28, 0x20(r1) /* 801BA810 001B7770 7C 7C 1B 78 */ mr r28, r3 /* 801BA814 001B7774 83 C3 00 0C */ lwz r30, 0xc(r3) /* 801BA818 001B7778 48 00 00 C4 */ b lbl_801BA8DC lbl_801BA81C: /* 801BA81C 001B777C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BA820 001B7780 7F C5 F3 78 */ mr r5, r30 /* 801BA824 001B7784 38 61 00 08 */ addi r3, r1, 8 /* 801BA828 001B7788 81 84 00 00 */ lwz r12, 0(r4) /* 801BA82C 001B778C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BA830 001B7790 7D 89 03 A6 */ mtctr r12 /* 801BA834 001B7794 4E 80 04 21 */ bctrl /* 801BA838 001B7798 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA83C 001B779C 38 81 00 08 */ addi r4, r1, 8 /* 801BA840 001B77A0 48 18 66 69 */ bl __ct__6CTokenFRC6CToken /* 801BA844 001B77A4 38 61 00 08 */ addi r3, r1, 8 /* 801BA848 001B77A8 38 80 FF FF */ li r4, -1 /* 801BA84C 001B77AC 48 18 65 F5 */ bl __dt__6CTokenFv /* 801BA850 001B77B0 28 1F 00 00 */ cmplwi r31, 0 /* 801BA854 001B77B4 40 82 00 28 */ bne lbl_801BA87C /* 801BA858 001B77B8 80 61 00 10 */ lwz r3, 0x10(r1) /* 801BA85C 001B77BC 80 63 00 04 */ lwz r3, 4(r3) /* 801BA860 001B77C0 3C 03 AB A8 */ addis r0, r3, 0xaba8 /* 801BA864 001B77C4 28 00 54 52 */ cmplwi r0, 0x5452 /* 801BA868 001B77C8 40 82 00 14 */ bne lbl_801BA87C /* 801BA86C 001B77CC 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA870 001B77D0 38 80 FF FF */ li r4, -1 /* 801BA874 001B77D4 48 18 65 CD */ bl __dt__6CTokenFv /* 801BA878 001B77D8 48 00 00 60 */ b lbl_801BA8D8 lbl_801BA87C: /* 801BA87C 001B77DC 80 1D 00 04 */ lwz r0, 4(r29) /* 801BA880 001B77E0 80 BD 00 08 */ lwz r5, 8(r29) /* 801BA884 001B77E4 7C 00 28 00 */ cmpw r0, r5 /* 801BA888 001B77E8 41 80 00 1C */ blt lbl_801BA8A4 /* 801BA88C 001B77EC 2C 05 00 00 */ cmpwi r5, 0 /* 801BA890 001B77F0 7F A3 EB 78 */ mr r3, r29 /* 801BA894 001B77F4 38 80 00 04 */ li r4, 4 /* 801BA898 001B77F8 41 82 00 08 */ beq lbl_801BA8A0 /* 801BA89C 001B77FC 54 A4 08 3C */ slwi r4, r5, 1 lbl_801BA8A0: /* 801BA8A0 001B7800 4B E4 E0 BD */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" lbl_801BA8A4: /* 801BA8A4 001B7804 80 1D 00 04 */ lwz r0, 4(r29) /* 801BA8A8 001B7808 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801BA8AC 001B780C 54 00 18 38 */ slwi r0, r0, 3 /* 801BA8B0 001B7810 7C 63 02 15 */ add. r3, r3, r0 /* 801BA8B4 001B7814 41 82 00 0C */ beq lbl_801BA8C0 /* 801BA8B8 001B7818 38 81 00 10 */ addi r4, r1, 0x10 /* 801BA8BC 001B781C 48 18 65 ED */ bl __ct__6CTokenFRC6CToken lbl_801BA8C0: /* 801BA8C0 001B7820 80 BD 00 04 */ lwz r5, 4(r29) /* 801BA8C4 001B7824 38 61 00 10 */ addi r3, r1, 0x10 /* 801BA8C8 001B7828 38 80 FF FF */ li r4, -1 /* 801BA8CC 001B782C 38 05 00 01 */ addi r0, r5, 1 /* 801BA8D0 001B7830 90 1D 00 04 */ stw r0, 4(r29) /* 801BA8D4 001B7834 48 18 65 6D */ bl __dt__6CTokenFv lbl_801BA8D8: /* 801BA8D8 001B7838 3B DE 00 08 */ addi r30, r30, 8 lbl_801BA8DC: /* 801BA8DC 001B783C 80 1C 00 04 */ lwz r0, 4(r28) /* 801BA8E0 001B7840 80 7C 00 0C */ lwz r3, 0xc(r28) /* 801BA8E4 001B7844 54 00 18 38 */ slwi r0, r0, 3 /* 801BA8E8 001B7848 7C 03 02 14 */ add r0, r3, r0 /* 801BA8EC 001B784C 7C 1E 00 40 */ cmplw r30, r0 /* 801BA8F0 001B7850 40 82 FF 2C */ bne lbl_801BA81C /* 801BA8F4 001B7854 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BA8F8 001B7858 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801BA8FC 001B785C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801BA900 001B7860 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801BA904 001B7864 83 81 00 20 */ lwz r28, 0x20(r1) /* 801BA908 001B7868 7C 08 03 A6 */ mtlr r0 /* 801BA90C 001B786C 38 21 00 30 */ addi r1, r1, 0x30 /* 801BA910 001B7870 4E 80 00 20 */ blr .global UnlockTokens__10CGunWeaponFv UnlockTokens__10CGunWeaponFv: /* 801BA914 001B7874 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA918 001B7878 7C 08 02 A6 */ mflr r0 /* 801BA91C 001B787C 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA920 001B7880 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BA924 001B7884 7C 7F 1B 78 */ mr r31, r3 /* 801BA928 001B7888 38 7F 01 3C */ addi r3, r31, 0x13c /* 801BA92C 001B788C 48 18 64 15 */ bl Unlock__6CTokenFv /* 801BA930 001B7890 38 7F 01 2C */ addi r3, r31, 0x12c /* 801BA934 001B7894 48 0D 08 41 */ bl "unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" /* 801BA938 001B7898 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA93C 001B789C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BA940 001B78A0 7C 08 03 A6 */ mtlr r0 /* 801BA944 001B78A4 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA948 001B78A8 4E 80 00 20 */ blr .global LockTokens__10CGunWeaponFR13CStateManager LockTokens__10CGunWeaponFR13CStateManager: /* 801BA94C 001B78AC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA950 001B78B0 7C 08 02 A6 */ mflr r0 /* 801BA954 001B78B4 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA958 001B78B8 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BA95C 001B78BC 7C 7F 1B 78 */ mr r31, r3 /* 801BA960 001B78C0 4B FF FB F9 */ bl AsyncLoadSuitArm__10CGunWeaponFR13CStateManager /* 801BA964 001B78C4 38 7F 01 2C */ addi r3, r31, 0x12c /* 801BA968 001B78C8 48 0D 08 69 */ bl "lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" /* 801BA96C 001B78CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA970 001B78D0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BA974 001B78D4 7C 08 03 A6 */ mtlr r0 /* 801BA978 001B78D8 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA97C 001B78DC 4E 80 00 20 */ blr .global IsAnimsLoaded__10CGunWeaponCFv IsAnimsLoaded__10CGunWeaponCFv: /* 801BA980 001B78E0 80 03 01 10 */ lwz r0, 0x110(r3) /* 801BA984 001B78E4 80 A3 01 18 */ lwz r5, 0x118(r3) /* 801BA988 001B78E8 54 00 18 38 */ slwi r0, r0, 3 /* 801BA98C 001B78EC 7C 85 02 14 */ add r4, r5, r0 /* 801BA990 001B78F0 48 00 00 20 */ b lbl_801BA9B0 lbl_801BA994: /* 801BA994 001B78F4 80 65 00 00 */ lwz r3, 0(r5) /* 801BA998 001B78F8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801BA99C 001B78FC 28 00 00 00 */ cmplwi r0, 0 /* 801BA9A0 001B7900 40 82 00 0C */ bne lbl_801BA9AC /* 801BA9A4 001B7904 38 60 00 00 */ li r3, 0 /* 801BA9A8 001B7908 4E 80 00 20 */ blr lbl_801BA9AC: /* 801BA9AC 001B790C 38 A5 00 08 */ addi r5, r5, 8 lbl_801BA9B0: /* 801BA9B0 001B7910 7C 05 20 40 */ cmplw r5, r4 /* 801BA9B4 001B7914 40 82 FF E0 */ bne lbl_801BA994 /* 801BA9B8 001B7918 38 60 00 01 */ li r3, 1 /* 801BA9BC 001B791C 4E 80 00 20 */ blr .global LoadAnimations__10CGunWeaponFv LoadAnimations__10CGunWeaponFv: /* 801BA9C0 001B7920 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BA9C4 001B7924 7C 08 02 A6 */ mflr r0 /* 801BA9C8 001B7928 7C 65 1B 78 */ mr r5, r3 /* 801BA9CC 001B792C 38 80 00 00 */ li r4, 0 /* 801BA9D0 001B7930 90 01 00 14 */ stw r0, 0x14(r1) /* 801BA9D4 001B7934 38 C5 01 0C */ addi r6, r5, 0x10c /* 801BA9D8 001B7938 38 A0 00 0F */ li r5, 0xf /* 801BA9DC 001B793C 38 E0 00 01 */ li r7, 1 /* 801BA9E0 001B7940 80 63 00 20 */ lwz r3, 0x20(r3) /* 801BA9E4 001B7944 48 0D 08 89 */ bl "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" /* 801BA9E8 001B7948 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BA9EC 001B794C 7C 08 03 A6 */ mtlr r0 /* 801BA9F0 001B7950 38 21 00 10 */ addi r1, r1, 0x10 /* 801BA9F4 001B7954 4E 80 00 20 */ blr .global LoadFxIdle__10CGunWeaponFfR13CStateManager LoadFxIdle__10CGunWeaponFfR13CStateManager: /* 801BA9F8 001B7958 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BA9FC 001B795C 7C 08 02 A6 */ mflr r0 /* 801BAA00 001B7960 90 01 00 34 */ stw r0, 0x34(r1) /* 801BAA04 001B7964 DB E1 00 28 */ stfd f31, 0x28(r1) /* 801BAA08 001B7968 FF E0 08 90 */ fmr f31, f1 /* 801BAA0C 001B796C BF 41 00 10 */ stmw r26, 0x10(r1) /* 801BAA10 001B7970 7C 7A 1B 78 */ mr r26, r3 /* 801BAA14 001B7974 7C 9B 23 78 */ mr r27, r4 /* 801BAA18 001B7978 38 7A 01 2C */ addi r3, r26, 0x12c /* 801BAA1C 001B797C 48 0D 08 11 */ bl "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" /* 801BAA20 001B7980 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BAA24 001B7984 41 82 02 2C */ beq lbl_801BAC50 /* 801BAA28 001B7988 80 7A 02 10 */ lwz r3, 0x210(r26) /* 801BAA2C 001B798C 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801BAA30 001B7990 41 82 00 14 */ beq lbl_801BAA44 /* 801BAA34 001B7994 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801BAA38 001B7998 41 82 00 0C */ beq lbl_801BAA44 /* 801BAA3C 001B799C 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b /* 801BAA40 001B79A0 40 82 02 10 */ bne lbl_801BAC50 lbl_801BAA44: /* 801BAA44 001B79A4 3B FA 01 70 */ addi r31, r26, 0x170 /* 801BAA48 001B79A8 3B DA 01 48 */ addi r30, r26, 0x148 /* 801BAA4C 001B79AC 3B A0 00 01 */ li r29, 1 /* 801BAA50 001B79B0 3B 80 00 00 */ li r28, 0 lbl_801BAA54: /* 801BAA54 001B79B4 80 1F 00 08 */ lwz r0, 8(r31) /* 801BAA58 001B79B8 28 00 00 00 */ cmplwi r0, 0 /* 801BAA5C 001B79BC 41 82 00 0C */ beq lbl_801BAA68 /* 801BAA60 001B79C0 38 60 00 01 */ li r3, 1 /* 801BAA64 001B79C4 48 00 00 3C */ b lbl_801BAAA0 lbl_801BAA68: /* 801BAA68 001B79C8 88 1F 00 04 */ lbz r0, 4(r31) /* 801BAA6C 001B79CC 28 00 00 00 */ cmplwi r0, 0 /* 801BAA70 001B79D0 41 82 00 2C */ beq lbl_801BAA9C /* 801BAA74 001B79D4 80 7F 00 00 */ lwz r3, 0(r31) /* 801BAA78 001B79D8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801BAA7C 001B79DC 28 00 00 00 */ cmplwi r0, 0 /* 801BAA80 001B79E0 41 82 00 1C */ beq lbl_801BAA9C /* 801BAA84 001B79E4 7F E3 FB 78 */ mr r3, r31 /* 801BAA88 001B79E8 48 18 63 85 */ bl GetObj__6CTokenFv /* 801BAA8C 001B79EC 80 03 00 04 */ lwz r0, 4(r3) /* 801BAA90 001B79F0 38 60 00 01 */ li r3, 1 /* 801BAA94 001B79F4 90 1F 00 08 */ stw r0, 8(r31) /* 801BAA98 001B79F8 48 00 00 08 */ b lbl_801BAAA0 lbl_801BAA9C: /* 801BAA9C 001B79FC 38 60 00 00 */ li r3, 0 lbl_801BAAA0: /* 801BAAA0 001B7A00 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BAAA4 001B7A04 40 82 00 0C */ bne lbl_801BAAB0 /* 801BAAA8 001B7A08 3B A0 00 00 */ li r29, 0 /* 801BAAAC 001B7A0C 48 00 00 74 */ b lbl_801BAB20 lbl_801BAAB0: /* 801BAAB0 001B7A10 80 1E 00 08 */ lwz r0, 8(r30) /* 801BAAB4 001B7A14 28 00 00 00 */ cmplwi r0, 0 /* 801BAAB8 001B7A18 41 82 00 0C */ beq lbl_801BAAC4 /* 801BAABC 001B7A1C 38 60 00 01 */ li r3, 1 /* 801BAAC0 001B7A20 48 00 00 3C */ b lbl_801BAAFC lbl_801BAAC4: /* 801BAAC4 001B7A24 88 1E 00 04 */ lbz r0, 4(r30) /* 801BAAC8 001B7A28 28 00 00 00 */ cmplwi r0, 0 /* 801BAACC 001B7A2C 41 82 00 2C */ beq lbl_801BAAF8 /* 801BAAD0 001B7A30 80 7E 00 00 */ lwz r3, 0(r30) /* 801BAAD4 001B7A34 80 03 00 10 */ lwz r0, 0x10(r3) /* 801BAAD8 001B7A38 28 00 00 00 */ cmplwi r0, 0 /* 801BAADC 001B7A3C 41 82 00 1C */ beq lbl_801BAAF8 /* 801BAAE0 001B7A40 7F C3 F3 78 */ mr r3, r30 /* 801BAAE4 001B7A44 48 18 63 29 */ bl GetObj__6CTokenFv /* 801BAAE8 001B7A48 80 03 00 04 */ lwz r0, 4(r3) /* 801BAAEC 001B7A4C 38 60 00 01 */ li r3, 1 /* 801BAAF0 001B7A50 90 1E 00 08 */ stw r0, 8(r30) /* 801BAAF4 001B7A54 48 00 00 08 */ b lbl_801BAAFC lbl_801BAAF8: /* 801BAAF8 001B7A58 38 60 00 00 */ li r3, 0 lbl_801BAAFC: /* 801BAAFC 001B7A5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BAB00 001B7A60 40 82 00 0C */ bne lbl_801BAB0C /* 801BAB04 001B7A64 3B A0 00 00 */ li r29, 0 /* 801BAB08 001B7A68 48 00 00 18 */ b lbl_801BAB20 lbl_801BAB0C: /* 801BAB0C 001B7A6C 3B 9C 00 01 */ addi r28, r28, 1 /* 801BAB10 001B7A70 3B DE 00 0C */ addi r30, r30, 0xc /* 801BAB14 001B7A74 2C 1C 00 02 */ cmpwi r28, 2 /* 801BAB18 001B7A78 3B FF 00 0C */ addi r31, r31, 0xc /* 801BAB1C 001B7A7C 41 80 FF 38 */ blt lbl_801BAA54 lbl_801BAB20: /* 801BAB20 001B7A80 3B C0 00 00 */ li r30, 0 /* 801BAB24 001B7A84 3B 9A 01 8C */ addi r28, r26, 0x18c lbl_801BAB28: /* 801BAB28 001B7A88 80 1C 00 08 */ lwz r0, 8(r28) /* 801BAB2C 001B7A8C 28 00 00 00 */ cmplwi r0, 0 /* 801BAB30 001B7A90 41 82 00 0C */ beq lbl_801BAB3C /* 801BAB34 001B7A94 38 60 00 01 */ li r3, 1 /* 801BAB38 001B7A98 48 00 00 3C */ b lbl_801BAB74 lbl_801BAB3C: /* 801BAB3C 001B7A9C 88 1C 00 04 */ lbz r0, 4(r28) /* 801BAB40 001B7AA0 28 00 00 00 */ cmplwi r0, 0 /* 801BAB44 001B7AA4 41 82 00 2C */ beq lbl_801BAB70 /* 801BAB48 001B7AA8 80 7C 00 00 */ lwz r3, 0(r28) /* 801BAB4C 001B7AAC 80 03 00 10 */ lwz r0, 0x10(r3) /* 801BAB50 001B7AB0 28 00 00 00 */ cmplwi r0, 0 /* 801BAB54 001B7AB4 41 82 00 1C */ beq lbl_801BAB70 /* 801BAB58 001B7AB8 7F 83 E3 78 */ mr r3, r28 /* 801BAB5C 001B7ABC 48 18 62 B1 */ bl GetObj__6CTokenFv /* 801BAB60 001B7AC0 80 03 00 04 */ lwz r0, 4(r3) /* 801BAB64 001B7AC4 38 60 00 01 */ li r3, 1 /* 801BAB68 001B7AC8 90 1C 00 08 */ stw r0, 8(r28) /* 801BAB6C 001B7ACC 48 00 00 08 */ b lbl_801BAB74 lbl_801BAB70: /* 801BAB70 001B7AD0 38 60 00 00 */ li r3, 0 lbl_801BAB74: /* 801BAB74 001B7AD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BAB78 001B7AD8 40 82 00 0C */ bne lbl_801BAB84 /* 801BAB7C 001B7ADC 3B A0 00 00 */ li r29, 0 /* 801BAB80 001B7AE0 48 00 00 14 */ b lbl_801BAB94 lbl_801BAB84: /* 801BAB84 001B7AE4 3B DE 00 01 */ addi r30, r30, 1 /* 801BAB88 001B7AE8 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BAB8C 001B7AEC 2C 1E 00 02 */ cmpwi r30, 2 /* 801BAB90 001B7AF0 41 80 FF 98 */ blt lbl_801BAB28 lbl_801BAB94: /* 801BAB94 001B7AF4 80 1A 01 68 */ lwz r0, 0x168(r26) /* 801BAB98 001B7AF8 28 00 00 00 */ cmplwi r0, 0 /* 801BAB9C 001B7AFC 41 82 00 0C */ beq lbl_801BABA8 /* 801BABA0 001B7B00 38 60 00 01 */ li r3, 1 /* 801BABA4 001B7B04 48 00 00 3C */ b lbl_801BABE0 lbl_801BABA8: /* 801BABA8 001B7B08 88 1A 01 64 */ lbz r0, 0x164(r26) /* 801BABAC 001B7B0C 28 00 00 00 */ cmplwi r0, 0 /* 801BABB0 001B7B10 41 82 00 2C */ beq lbl_801BABDC /* 801BABB4 001B7B14 80 7A 01 60 */ lwz r3, 0x160(r26) /* 801BABB8 001B7B18 80 03 00 10 */ lwz r0, 0x10(r3) /* 801BABBC 001B7B1C 28 00 00 00 */ cmplwi r0, 0 /* 801BABC0 001B7B20 41 82 00 1C */ beq lbl_801BABDC /* 801BABC4 001B7B24 38 7A 01 60 */ addi r3, r26, 0x160 /* 801BABC8 001B7B28 48 18 62 45 */ bl GetObj__6CTokenFv /* 801BABCC 001B7B2C 80 03 00 04 */ lwz r0, 4(r3) /* 801BABD0 001B7B30 38 60 00 01 */ li r3, 1 /* 801BABD4 001B7B34 90 1A 01 68 */ stw r0, 0x168(r26) /* 801BABD8 001B7B38 48 00 00 08 */ b lbl_801BABE0 lbl_801BABDC: /* 801BABDC 001B7B3C 38 60 00 00 */ li r3, 0 lbl_801BABE0: /* 801BABE0 001B7B40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BABE4 001B7B44 40 82 00 08 */ bne lbl_801BABEC /* 801BABE8 001B7B48 3B A0 00 00 */ li r29, 0 lbl_801BABEC: /* 801BABEC 001B7B4C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801BABF0 001B7B50 41 82 00 60 */ beq lbl_801BAC50 /* 801BABF4 001B7B54 80 1A 02 10 */ lwz r0, 0x210(r26) /* 801BABF8 001B7B58 54 00 07 BC */ rlwinm r0, r0, 0, 0x1e, 0x1e /* 801BABFC 001B7B5C 2C 00 00 02 */ cmpwi r0, 2 /* 801BAC00 001B7B60 41 82 00 1C */ beq lbl_801BAC1C /* 801BAC04 001B7B64 FC 20 F8 90 */ fmr f1, f31 /* 801BAC08 001B7B68 7F 43 D3 78 */ mr r3, r26 /* 801BAC0C 001B7B6C 48 00 1F 3D */ bl LoadMuzzleFx__10CGunWeaponFf /* 801BAC10 001B7B70 80 1A 02 10 */ lwz r0, 0x210(r26) /* 801BAC14 001B7B74 60 00 00 02 */ ori r0, r0, 2 /* 801BAC18 001B7B78 90 1A 02 10 */ stw r0, 0x210(r26) lbl_801BAC1C: /* 801BAC1C 001B7B7C 80 1A 02 10 */ lwz r0, 0x210(r26) /* 801BAC20 001B7B80 60 00 00 10 */ ori r0, r0, 0x10 /* 801BAC24 001B7B84 90 1A 02 10 */ stw r0, 0x210(r26) /* 801BAC28 001B7B88 80 1A 02 10 */ lwz r0, 0x210(r26) /* 801BAC2C 001B7B8C 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d /* 801BAC30 001B7B90 2C 00 00 04 */ cmpwi r0, 4 /* 801BAC34 001B7B94 41 82 00 1C */ beq lbl_801BAC50 /* 801BAC38 001B7B98 7F 43 D3 78 */ mr r3, r26 /* 801BAC3C 001B7B9C 7F 64 DB 78 */ mr r4, r27 /* 801BAC40 001B7BA0 48 00 1B 99 */ bl LoadProjectileData__10CGunWeaponFR13CStateManager /* 801BAC44 001B7BA4 80 1A 02 10 */ lwz r0, 0x210(r26) /* 801BAC48 001B7BA8 60 00 00 04 */ ori r0, r0, 4 /* 801BAC4C 001B7BAC 90 1A 02 10 */ stw r0, 0x210(r26) lbl_801BAC50: /* 801BAC50 001B7BB0 CB E1 00 28 */ lfd f31, 0x28(r1) /* 801BAC54 001B7BB4 BB 41 00 10 */ lmw r26, 0x10(r1) /* 801BAC58 001B7BB8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BAC5C 001B7BBC 7C 08 03 A6 */ mtlr r0 /* 801BAC60 001B7BC0 38 21 00 30 */ addi r1, r1, 0x30 /* 801BAC64 001B7BC4 4E 80 00 20 */ blr .global FreeResPools__10CGunWeaponFv FreeResPools__10CGunWeaponFv: /* 801BAC68 001B7BC8 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801BAC6C 001B7BCC 7C 08 02 A6 */ mflr r0 /* 801BAC70 001B7BD0 90 01 00 64 */ stw r0, 0x64(r1) /* 801BAC74 001B7BD4 38 00 00 00 */ li r0, 0 /* 801BAC78 001B7BD8 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 801BAC7C 001B7BDC 7C 7F 1B 78 */ mr r31, r3 /* 801BAC80 001B7BE0 90 03 01 68 */ stw r0, 0x168(r3) /* 801BAC84 001B7BE4 38 7F 01 60 */ addi r3, r31, 0x160 /* 801BAC88 001B7BE8 48 18 60 B9 */ bl Unlock__6CTokenFv /* 801BAC8C 001B7BEC 3B BF 01 70 */ addi r29, r31, 0x170 /* 801BAC90 001B7BF0 3B 9F 01 48 */ addi r28, r31, 0x148 /* 801BAC94 001B7BF4 3B 60 00 00 */ li r27, 0 /* 801BAC98 001B7BF8 3B C0 00 00 */ li r30, 0 lbl_801BAC9C: /* 801BAC9C 001B7BFC 93 DD 00 08 */ stw r30, 8(r29) /* 801BACA0 001B7C00 7F A3 EB 78 */ mr r3, r29 /* 801BACA4 001B7C04 48 18 60 9D */ bl Unlock__6CTokenFv /* 801BACA8 001B7C08 93 DC 00 08 */ stw r30, 8(r28) /* 801BACAC 001B7C0C 7F 83 E3 78 */ mr r3, r28 /* 801BACB0 001B7C10 48 18 60 91 */ bl Unlock__6CTokenFv /* 801BACB4 001B7C14 3B 7B 00 01 */ addi r27, r27, 1 /* 801BACB8 001B7C18 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BACBC 001B7C1C 2C 1B 00 02 */ cmpwi r27, 2 /* 801BACC0 001B7C20 3B BD 00 0C */ addi r29, r29, 0xc /* 801BACC4 001B7C24 41 80 FF D8 */ blt lbl_801BAC9C /* 801BACC8 001B7C28 3B 9F 01 8C */ addi r28, r31, 0x18c /* 801BACCC 001B7C2C 3B 60 00 00 */ li r27, 0 /* 801BACD0 001B7C30 3B C0 00 00 */ li r30, 0 lbl_801BACD4: /* 801BACD4 001B7C34 93 DC 00 08 */ stw r30, 8(r28) /* 801BACD8 001B7C38 7F 83 E3 78 */ mr r3, r28 /* 801BACDC 001B7C3C 48 18 60 65 */ bl Unlock__6CTokenFv /* 801BACE0 001B7C40 3B 7B 00 01 */ addi r27, r27, 1 /* 801BACE4 001B7C44 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BACE8 001B7C48 2C 1B 00 02 */ cmpwi r27, 2 /* 801BACEC 001B7C4C 41 80 FF E8 */ blt lbl_801BACD4 /* 801BACF0 001B7C50 38 00 00 00 */ li r0, 0 /* 801BACF4 001B7C54 38 7F 01 0C */ addi r3, r31, 0x10c /* 801BACF8 001B7C58 90 01 00 1C */ stw r0, 0x1c(r1) /* 801BACFC 001B7C5C 38 81 00 18 */ addi r4, r1, 0x18 /* 801BAD00 001B7C60 90 01 00 20 */ stw r0, 0x20(r1) /* 801BAD04 001B7C64 90 01 00 24 */ stw r0, 0x24(r1) /* 801BAD08 001B7C68 4B E4 BA FD */ bl sub_80006804 /* 801BAD0C 001B7C6C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801BAD10 001B7C70 83 81 00 24 */ lwz r28, 0x24(r1) /* 801BAD14 001B7C74 54 00 18 38 */ slwi r0, r0, 3 /* 801BAD18 001B7C78 7F DC 02 14 */ add r30, r28, r0 /* 801BAD1C 001B7C7C 93 81 00 0C */ stw r28, 0xc(r1) /* 801BAD20 001B7C80 93 C1 00 14 */ stw r30, 0x14(r1) /* 801BAD24 001B7C84 93 C1 00 10 */ stw r30, 0x10(r1) /* 801BAD28 001B7C88 93 81 00 08 */ stw r28, 8(r1) /* 801BAD2C 001B7C8C 48 00 00 14 */ b lbl_801BAD40 lbl_801BAD30: /* 801BAD30 001B7C90 7F 83 E3 78 */ mr r3, r28 /* 801BAD34 001B7C94 38 80 FF FF */ li r4, -1 /* 801BAD38 001B7C98 48 18 61 09 */ bl __dt__6CTokenFv /* 801BAD3C 001B7C9C 3B 9C 00 08 */ addi r28, r28, 8 lbl_801BAD40: /* 801BAD40 001B7CA0 7C 1C F0 40 */ cmplw r28, r30 /* 801BAD44 001B7CA4 40 82 FF EC */ bne lbl_801BAD30 /* 801BAD48 001B7CA8 80 61 00 24 */ lwz r3, 0x24(r1) /* 801BAD4C 001B7CAC 28 03 00 00 */ cmplwi r3, 0 /* 801BAD50 001B7CB0 41 82 00 08 */ beq lbl_801BAD58 /* 801BAD54 001B7CB4 48 15 AB DD */ bl Free__7CMemoryFPCv lbl_801BAD58: /* 801BAD58 001B7CB8 38 7F 01 A4 */ addi r3, r31, 0x1a4 /* 801BAD5C 001B7CBC 38 01 00 28 */ addi r0, r1, 0x28 /* 801BAD60 001B7CC0 3B C0 00 00 */ li r30, 0 /* 801BAD64 001B7CC4 7C 03 00 40 */ cmplw r3, r0 /* 801BAD68 001B7CC8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801BAD6C 001B7CCC 41 82 00 A8 */ beq lbl_801BAE14 /* 801BAD70 001B7CD0 3B BF 01 A8 */ addi r29, r31, 0x1a8 /* 801BAD74 001B7CD4 7F BC EB 78 */ mr r28, r29 /* 801BAD78 001B7CD8 48 00 00 40 */ b lbl_801BADB8 lbl_801BAD7C: /* 801BAD7C 001B7CDC 28 1C 00 00 */ cmplwi r28, 0 /* 801BAD80 001B7CE0 41 82 00 30 */ beq lbl_801BADB0 /* 801BAD84 001B7CE4 88 1C 00 00 */ lbz r0, 0(r28) /* 801BAD88 001B7CE8 28 00 00 00 */ cmplwi r0, 0 /* 801BAD8C 001B7CEC 41 82 00 24 */ beq lbl_801BADB0 /* 801BAD90 001B7CF0 80 7C 00 04 */ lwz r3, 4(r28) /* 801BAD94 001B7CF4 28 03 00 00 */ cmplwi r3, 0 /* 801BAD98 001B7CF8 41 82 00 18 */ beq lbl_801BADB0 /* 801BAD9C 001B7CFC 81 83 00 00 */ lwz r12, 0(r3) /* 801BADA0 001B7D00 38 80 00 01 */ li r4, 1 /* 801BADA4 001B7D04 81 8C 00 08 */ lwz r12, 8(r12) /* 801BADA8 001B7D08 7D 89 03 A6 */ mtctr r12 /* 801BADAC 001B7D0C 4E 80 04 21 */ bctrl lbl_801BADB0: /* 801BADB0 001B7D10 3B 9C 00 08 */ addi r28, r28, 8 /* 801BADB4 001B7D14 3B DE 00 01 */ addi r30, r30, 1 lbl_801BADB8: /* 801BADB8 001B7D18 80 1F 01 A4 */ lwz r0, 0x1a4(r31) /* 801BADBC 001B7D1C 7C 1E 00 00 */ cmpw r30, r0 /* 801BADC0 001B7D20 41 80 FF BC */ blt lbl_801BAD7C /* 801BADC4 001B7D24 38 60 00 00 */ li r3, 0 /* 801BADC8 001B7D28 38 A1 00 2C */ addi r5, r1, 0x2c /* 801BADCC 001B7D2C 90 7F 01 A4 */ stw r3, 0x1a4(r31) /* 801BADD0 001B7D30 80 01 00 28 */ lwz r0, 0x28(r1) /* 801BADD4 001B7D34 54 00 18 38 */ slwi r0, r0, 3 /* 801BADD8 001B7D38 7C 85 02 14 */ add r4, r5, r0 /* 801BADDC 001B7D3C 48 00 00 28 */ b lbl_801BAE04 lbl_801BADE0: /* 801BADE0 001B7D40 28 1D 00 00 */ cmplwi r29, 0 /* 801BADE4 001B7D44 41 82 00 18 */ beq lbl_801BADFC /* 801BADE8 001B7D48 88 05 00 00 */ lbz r0, 0(r5) /* 801BADEC 001B7D4C 98 1D 00 00 */ stb r0, 0(r29) /* 801BADF0 001B7D50 80 05 00 04 */ lwz r0, 4(r5) /* 801BADF4 001B7D54 90 1D 00 04 */ stw r0, 4(r29) /* 801BADF8 001B7D58 98 65 00 00 */ stb r3, 0(r5) lbl_801BADFC: /* 801BADFC 001B7D5C 3B BD 00 08 */ addi r29, r29, 8 /* 801BAE00 001B7D60 38 A5 00 08 */ addi r5, r5, 8 lbl_801BAE04: /* 801BAE04 001B7D64 7C 05 20 40 */ cmplw r5, r4 /* 801BAE08 001B7D68 40 82 FF D8 */ bne lbl_801BADE0 /* 801BAE0C 001B7D6C 80 01 00 28 */ lwz r0, 0x28(r1) /* 801BAE10 001B7D70 90 1F 01 A4 */ stw r0, 0x1a4(r31) lbl_801BAE14: /* 801BAE14 001B7D74 3B 81 00 2C */ addi r28, r1, 0x2c /* 801BAE18 001B7D78 3B C0 00 00 */ li r30, 0 /* 801BAE1C 001B7D7C 48 00 00 40 */ b lbl_801BAE5C lbl_801BAE20: /* 801BAE20 001B7D80 28 1C 00 00 */ cmplwi r28, 0 /* 801BAE24 001B7D84 41 82 00 30 */ beq lbl_801BAE54 /* 801BAE28 001B7D88 88 1C 00 00 */ lbz r0, 0(r28) /* 801BAE2C 001B7D8C 28 00 00 00 */ cmplwi r0, 0 /* 801BAE30 001B7D90 41 82 00 24 */ beq lbl_801BAE54 /* 801BAE34 001B7D94 80 7C 00 04 */ lwz r3, 4(r28) /* 801BAE38 001B7D98 28 03 00 00 */ cmplwi r3, 0 /* 801BAE3C 001B7D9C 41 82 00 18 */ beq lbl_801BAE54 /* 801BAE40 001B7DA0 81 83 00 00 */ lwz r12, 0(r3) /* 801BAE44 001B7DA4 38 80 00 01 */ li r4, 1 /* 801BAE48 001B7DA8 81 8C 00 08 */ lwz r12, 8(r12) /* 801BAE4C 001B7DAC 7D 89 03 A6 */ mtctr r12 /* 801BAE50 001B7DB0 4E 80 04 21 */ bctrl lbl_801BAE54: /* 801BAE54 001B7DB4 3B 9C 00 08 */ addi r28, r28, 8 /* 801BAE58 001B7DB8 3B DE 00 01 */ addi r30, r30, 1 lbl_801BAE5C: /* 801BAE5C 001B7DBC 80 01 00 28 */ lwz r0, 0x28(r1) /* 801BAE60 001B7DC0 7C 1E 00 00 */ cmpw r30, r0 /* 801BAE64 001B7DC4 41 80 FF BC */ blt lbl_801BAE20 /* 801BAE68 001B7DC8 38 00 00 00 */ li r0, 0 /* 801BAE6C 001B7DCC 38 7F 01 D0 */ addi r3, r31, 0x1d0 /* 801BAE70 001B7DD0 90 01 00 28 */ stw r0, 0x28(r1) /* 801BAE74 001B7DD4 48 00 00 19 */ bl Clear__13CVelocityInfoFv /* 801BAE78 001B7DD8 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 801BAE7C 001B7DDC 80 01 00 64 */ lwz r0, 0x64(r1) /* 801BAE80 001B7DE0 7C 08 03 A6 */ mtlr r0 /* 801BAE84 001B7DE4 38 21 00 60 */ addi r1, r1, 0x60 /* 801BAE88 001B7DE8 4E 80 00 20 */ blr .global Clear__13CVelocityInfoFv Clear__13CVelocityInfoFv: /* 801BAE8C 001B7DEC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BAE90 001B7DF0 38 80 00 00 */ li r4, 0 /* 801BAE94 001B7DF4 38 01 00 1C */ addi r0, r1, 0x1c /* 801BAE98 001B7DF8 90 81 00 1C */ stw r4, 0x1c(r1) /* 801BAE9C 001B7DFC 7C 03 00 40 */ cmplw r3, r0 /* 801BAEA0 001B7E00 41 82 00 A4 */ beq lbl_801BAF44 /* 801BAEA4 001B7E04 80 C3 00 00 */ lwz r6, 0(r3) /* 801BAEA8 001B7E08 2C 06 00 00 */ cmpwi r6, 0 /* 801BAEAC 001B7E0C 40 81 00 40 */ ble lbl_801BAEEC /* 801BAEB0 001B7E10 2C 06 00 08 */ cmpwi r6, 8 /* 801BAEB4 001B7E14 38 A6 FF F8 */ addi r5, r6, -8 /* 801BAEB8 001B7E18 40 81 00 20 */ ble lbl_801BAED8 /* 801BAEBC 001B7E1C 38 05 00 07 */ addi r0, r5, 7 /* 801BAEC0 001B7E20 54 00 E8 FE */ srwi r0, r0, 3 /* 801BAEC4 001B7E24 7C 09 03 A6 */ mtctr r0 /* 801BAEC8 001B7E28 2C 05 00 00 */ cmpwi r5, 0 /* 801BAECC 001B7E2C 40 81 00 0C */ ble lbl_801BAED8 lbl_801BAED0: /* 801BAED0 001B7E30 38 84 00 08 */ addi r4, r4, 8 /* 801BAED4 001B7E34 42 00 FF FC */ bdnz lbl_801BAED0 lbl_801BAED8: /* 801BAED8 001B7E38 7C 04 30 50 */ subf r0, r4, r6 /* 801BAEDC 001B7E3C 7C 09 03 A6 */ mtctr r0 /* 801BAEE0 001B7E40 7C 04 30 00 */ cmpw r4, r6 /* 801BAEE4 001B7E44 40 80 00 08 */ bge lbl_801BAEEC lbl_801BAEE8: /* 801BAEE8 001B7E48 42 00 00 00 */ bdnz lbl_801BAEE8 lbl_801BAEEC: /* 801BAEEC 001B7E4C 38 00 00 00 */ li r0, 0 /* 801BAEF0 001B7E50 38 A1 00 20 */ addi r5, r1, 0x20 /* 801BAEF4 001B7E54 90 03 00 00 */ stw r0, 0(r3) /* 801BAEF8 001B7E58 38 83 00 04 */ addi r4, r3, 4 /* 801BAEFC 001B7E5C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801BAF00 001B7E60 1C 00 00 0C */ mulli r0, r0, 0xc /* 801BAF04 001B7E64 7C 05 02 14 */ add r0, r5, r0 /* 801BAF08 001B7E68 48 00 00 2C */ b lbl_801BAF34 lbl_801BAF0C: /* 801BAF0C 001B7E6C 28 04 00 00 */ cmplwi r4, 0 /* 801BAF10 001B7E70 41 82 00 1C */ beq lbl_801BAF2C /* 801BAF14 001B7E74 C0 05 00 00 */ lfs f0, 0(r5) /* 801BAF18 001B7E78 D0 04 00 00 */ stfs f0, 0(r4) /* 801BAF1C 001B7E7C C0 05 00 04 */ lfs f0, 4(r5) /* 801BAF20 001B7E80 D0 04 00 04 */ stfs f0, 4(r4) /* 801BAF24 001B7E84 C0 05 00 08 */ lfs f0, 8(r5) /* 801BAF28 001B7E88 D0 04 00 08 */ stfs f0, 8(r4) lbl_801BAF2C: /* 801BAF2C 001B7E8C 38 84 00 0C */ addi r4, r4, 0xc /* 801BAF30 001B7E90 38 A5 00 0C */ addi r5, r5, 0xc lbl_801BAF34: /* 801BAF34 001B7E94 7C 05 00 40 */ cmplw r5, r0 /* 801BAF38 001B7E98 40 82 FF D4 */ bne lbl_801BAF0C /* 801BAF3C 001B7E9C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801BAF40 001B7EA0 90 03 00 00 */ stw r0, 0(r3) lbl_801BAF44: /* 801BAF44 001B7EA4 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 801BAF48 001B7EA8 38 80 00 00 */ li r4, 0 /* 801BAF4C 001B7EAC 2C 06 00 00 */ cmpwi r6, 0 /* 801BAF50 001B7EB0 40 81 00 40 */ ble lbl_801BAF90 /* 801BAF54 001B7EB4 2C 06 00 08 */ cmpwi r6, 8 /* 801BAF58 001B7EB8 38 A6 FF F8 */ addi r5, r6, -8 /* 801BAF5C 001B7EBC 40 81 00 20 */ ble lbl_801BAF7C /* 801BAF60 001B7EC0 38 05 00 07 */ addi r0, r5, 7 /* 801BAF64 001B7EC4 54 00 E8 FE */ srwi r0, r0, 3 /* 801BAF68 001B7EC8 7C 09 03 A6 */ mtctr r0 /* 801BAF6C 001B7ECC 2C 05 00 00 */ cmpwi r5, 0 /* 801BAF70 001B7ED0 40 81 00 0C */ ble lbl_801BAF7C lbl_801BAF74: /* 801BAF74 001B7ED4 38 84 00 08 */ addi r4, r4, 8 /* 801BAF78 001B7ED8 42 00 FF FC */ bdnz lbl_801BAF74 lbl_801BAF7C: /* 801BAF7C 001B7EDC 7C 04 30 50 */ subf r0, r4, r6 /* 801BAF80 001B7EE0 7C 09 03 A6 */ mtctr r0 /* 801BAF84 001B7EE4 7C 04 30 00 */ cmpw r4, r6 /* 801BAF88 001B7EE8 40 80 00 08 */ bge lbl_801BAF90 lbl_801BAF8C: /* 801BAF8C 001B7EEC 42 00 00 00 */ bdnz lbl_801BAF8C lbl_801BAF90: /* 801BAF90 001B7EF0 38 83 00 1C */ addi r4, r3, 0x1c /* 801BAF94 001B7EF4 38 01 00 08 */ addi r0, r1, 8 /* 801BAF98 001B7EF8 38 A0 00 00 */ li r5, 0 /* 801BAF9C 001B7EFC 7C 04 00 40 */ cmplw r4, r0 /* 801BAFA0 001B7F00 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801BAFA4 001B7F04 90 A1 00 08 */ stw r5, 8(r1) /* 801BAFA8 001B7F08 41 82 00 98 */ beq lbl_801BB040 /* 801BAFAC 001B7F0C 80 C3 00 1C */ lwz r6, 0x1c(r3) /* 801BAFB0 001B7F10 38 E3 00 20 */ addi r7, r3, 0x20 /* 801BAFB4 001B7F14 2C 06 00 00 */ cmpwi r6, 0 /* 801BAFB8 001B7F18 40 81 00 40 */ ble lbl_801BAFF8 /* 801BAFBC 001B7F1C 2C 06 00 08 */ cmpwi r6, 8 /* 801BAFC0 001B7F20 38 86 FF F8 */ addi r4, r6, -8 /* 801BAFC4 001B7F24 40 81 00 20 */ ble lbl_801BAFE4 /* 801BAFC8 001B7F28 38 04 00 07 */ addi r0, r4, 7 /* 801BAFCC 001B7F2C 54 00 E8 FE */ srwi r0, r0, 3 /* 801BAFD0 001B7F30 7C 09 03 A6 */ mtctr r0 /* 801BAFD4 001B7F34 2C 04 00 00 */ cmpwi r4, 0 /* 801BAFD8 001B7F38 40 81 00 0C */ ble lbl_801BAFE4 lbl_801BAFDC: /* 801BAFDC 001B7F3C 38 A5 00 08 */ addi r5, r5, 8 /* 801BAFE0 001B7F40 42 00 FF FC */ bdnz lbl_801BAFDC lbl_801BAFE4: /* 801BAFE4 001B7F44 7C 05 30 50 */ subf r0, r5, r6 /* 801BAFE8 001B7F48 7C 09 03 A6 */ mtctr r0 /* 801BAFEC 001B7F4C 7C 05 30 00 */ cmpw r5, r6 /* 801BAFF0 001B7F50 40 80 00 08 */ bge lbl_801BAFF8 lbl_801BAFF4: /* 801BAFF4 001B7F54 42 00 00 00 */ bdnz lbl_801BAFF4 lbl_801BAFF8: /* 801BAFF8 001B7F58 38 00 00 00 */ li r0, 0 /* 801BAFFC 001B7F5C 38 A1 00 0C */ addi r5, r1, 0xc /* 801BB000 001B7F60 90 03 00 1C */ stw r0, 0x1c(r3) /* 801BB004 001B7F64 80 01 00 08 */ lwz r0, 8(r1) /* 801BB008 001B7F68 7C 85 02 14 */ add r4, r5, r0 /* 801BB00C 001B7F6C 7C 05 20 50 */ subf r0, r5, r4 /* 801BB010 001B7F70 7C 09 03 A6 */ mtctr r0 /* 801BB014 001B7F74 7C 05 20 40 */ cmplw r5, r4 /* 801BB018 001B7F78 41 82 00 20 */ beq lbl_801BB038 lbl_801BB01C: /* 801BB01C 001B7F7C 28 07 00 00 */ cmplwi r7, 0 /* 801BB020 001B7F80 41 82 00 0C */ beq lbl_801BB02C /* 801BB024 001B7F84 88 05 00 00 */ lbz r0, 0(r5) /* 801BB028 001B7F88 98 07 00 00 */ stb r0, 0(r7) lbl_801BB02C: /* 801BB02C 001B7F8C 38 E7 00 01 */ addi r7, r7, 1 /* 801BB030 001B7F90 38 A5 00 01 */ addi r5, r5, 1 /* 801BB034 001B7F94 42 00 FF E8 */ bdnz lbl_801BB01C lbl_801BB038: /* 801BB038 001B7F98 80 01 00 08 */ lwz r0, 8(r1) /* 801BB03C 001B7F9C 90 03 00 1C */ stw r0, 0x1c(r3) lbl_801BB040: /* 801BB040 001B7FA0 80 C1 00 08 */ lwz r6, 8(r1) /* 801BB044 001B7FA4 38 80 00 00 */ li r4, 0 /* 801BB048 001B7FA8 2C 06 00 00 */ cmpwi r6, 0 /* 801BB04C 001B7FAC 40 81 00 40 */ ble lbl_801BB08C /* 801BB050 001B7FB0 2C 06 00 08 */ cmpwi r6, 8 /* 801BB054 001B7FB4 38 A6 FF F8 */ addi r5, r6, -8 /* 801BB058 001B7FB8 40 81 00 20 */ ble lbl_801BB078 /* 801BB05C 001B7FBC 38 05 00 07 */ addi r0, r5, 7 /* 801BB060 001B7FC0 54 00 E8 FE */ srwi r0, r0, 3 /* 801BB064 001B7FC4 7C 09 03 A6 */ mtctr r0 /* 801BB068 001B7FC8 2C 05 00 00 */ cmpwi r5, 0 /* 801BB06C 001B7FCC 40 81 00 0C */ ble lbl_801BB078 lbl_801BB070: /* 801BB070 001B7FD0 38 84 00 08 */ addi r4, r4, 8 /* 801BB074 001B7FD4 42 00 FF FC */ bdnz lbl_801BB070 lbl_801BB078: /* 801BB078 001B7FD8 7C 04 30 50 */ subf r0, r4, r6 /* 801BB07C 001B7FDC 7C 09 03 A6 */ mtctr r0 /* 801BB080 001B7FE0 7C 04 30 00 */ cmpw r4, r6 /* 801BB084 001B7FE4 40 80 00 08 */ bge lbl_801BB08C lbl_801BB088: /* 801BB088 001B7FE8 42 00 00 00 */ bdnz lbl_801BB088 lbl_801BB08C: /* 801BB08C 001B7FEC 38 83 00 24 */ addi r4, r3, 0x24 /* 801BB090 001B7FF0 38 01 00 10 */ addi r0, r1, 0x10 /* 801BB094 001B7FF4 38 A0 00 00 */ li r5, 0 /* 801BB098 001B7FF8 7C 04 00 40 */ cmplw r4, r0 /* 801BB09C 001B7FFC 90 A1 00 08 */ stw r5, 8(r1) /* 801BB0A0 001B8000 90 A1 00 10 */ stw r5, 0x10(r1) /* 801BB0A4 001B8004 41 82 00 94 */ beq lbl_801BB138 /* 801BB0A8 001B8008 80 C3 00 24 */ lwz r6, 0x24(r3) /* 801BB0AC 001B800C 38 E3 00 28 */ addi r7, r3, 0x28 /* 801BB0B0 001B8010 2C 06 00 00 */ cmpwi r6, 0 /* 801BB0B4 001B8014 40 81 00 40 */ ble lbl_801BB0F4 /* 801BB0B8 001B8018 2C 06 00 08 */ cmpwi r6, 8 /* 801BB0BC 001B801C 38 86 FF F8 */ addi r4, r6, -8 /* 801BB0C0 001B8020 40 81 00 20 */ ble lbl_801BB0E0 /* 801BB0C4 001B8024 38 04 00 07 */ addi r0, r4, 7 /* 801BB0C8 001B8028 54 00 E8 FE */ srwi r0, r0, 3 /* 801BB0CC 001B802C 7C 09 03 A6 */ mtctr r0 /* 801BB0D0 001B8030 2C 04 00 00 */ cmpwi r4, 0 /* 801BB0D4 001B8034 40 81 00 0C */ ble lbl_801BB0E0 lbl_801BB0D8: /* 801BB0D8 001B8038 38 A5 00 08 */ addi r5, r5, 8 /* 801BB0DC 001B803C 42 00 FF FC */ bdnz lbl_801BB0D8 lbl_801BB0E0: /* 801BB0E0 001B8040 7C 05 30 50 */ subf r0, r5, r6 /* 801BB0E4 001B8044 7C 09 03 A6 */ mtctr r0 /* 801BB0E8 001B8048 7C 05 30 00 */ cmpw r5, r6 /* 801BB0EC 001B804C 40 80 00 08 */ bge lbl_801BB0F4 lbl_801BB0F0: /* 801BB0F0 001B8050 42 00 00 00 */ bdnz lbl_801BB0F0 lbl_801BB0F4: /* 801BB0F4 001B8054 38 00 00 00 */ li r0, 0 /* 801BB0F8 001B8058 38 81 00 14 */ addi r4, r1, 0x14 /* 801BB0FC 001B805C 90 03 00 24 */ stw r0, 0x24(r3) /* 801BB100 001B8060 80 01 00 10 */ lwz r0, 0x10(r1) /* 801BB104 001B8064 54 00 10 3A */ slwi r0, r0, 2 /* 801BB108 001B8068 7C 04 02 14 */ add r0, r4, r0 /* 801BB10C 001B806C 48 00 00 1C */ b lbl_801BB128 lbl_801BB110: /* 801BB110 001B8070 28 07 00 00 */ cmplwi r7, 0 /* 801BB114 001B8074 41 82 00 0C */ beq lbl_801BB120 /* 801BB118 001B8078 C0 04 00 00 */ lfs f0, 0(r4) /* 801BB11C 001B807C D0 07 00 00 */ stfs f0, 0(r7) lbl_801BB120: /* 801BB120 001B8080 38 E7 00 04 */ addi r7, r7, 4 /* 801BB124 001B8084 38 84 00 04 */ addi r4, r4, 4 lbl_801BB128: /* 801BB128 001B8088 7C 04 00 40 */ cmplw r4, r0 /* 801BB12C 001B808C 40 82 FF E4 */ bne lbl_801BB110 /* 801BB130 001B8090 80 01 00 10 */ lwz r0, 0x10(r1) /* 801BB134 001B8094 90 03 00 24 */ stw r0, 0x24(r3) lbl_801BB138: /* 801BB138 001B8098 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801BB13C 001B809C 38 60 00 00 */ li r3, 0 /* 801BB140 001B80A0 2C 05 00 00 */ cmpwi r5, 0 /* 801BB144 001B80A4 40 81 00 40 */ ble lbl_801BB184 /* 801BB148 001B80A8 2C 05 00 08 */ cmpwi r5, 8 /* 801BB14C 001B80AC 38 85 FF F8 */ addi r4, r5, -8 /* 801BB150 001B80B0 40 81 00 20 */ ble lbl_801BB170 /* 801BB154 001B80B4 38 04 00 07 */ addi r0, r4, 7 /* 801BB158 001B80B8 54 00 E8 FE */ srwi r0, r0, 3 /* 801BB15C 001B80BC 7C 09 03 A6 */ mtctr r0 /* 801BB160 001B80C0 2C 04 00 00 */ cmpwi r4, 0 /* 801BB164 001B80C4 40 81 00 0C */ ble lbl_801BB170 lbl_801BB168: /* 801BB168 001B80C8 38 63 00 08 */ addi r3, r3, 8 /* 801BB16C 001B80CC 42 00 FF FC */ bdnz lbl_801BB168 lbl_801BB170: /* 801BB170 001B80D0 7C 03 28 50 */ subf r0, r3, r5 /* 801BB174 001B80D4 7C 09 03 A6 */ mtctr r0 /* 801BB178 001B80D8 7C 03 28 00 */ cmpw r3, r5 /* 801BB17C 001B80DC 40 80 00 08 */ bge lbl_801BB184 lbl_801BB180: /* 801BB180 001B80E0 42 00 00 00 */ bdnz lbl_801BB180 lbl_801BB184: /* 801BB184 001B80E4 38 00 00 00 */ li r0, 0 /* 801BB188 001B80E8 90 01 00 10 */ stw r0, 0x10(r1) /* 801BB18C 001B80EC 38 21 00 40 */ addi r1, r1, 0x40 /* 801BB190 001B80F0 4E 80 00 20 */ blr .global AllocResPools__10CGunWeaponFQ212CPlayerState7EBeamId AllocResPools__10CGunWeaponFQ212CPlayerState7EBeamId: /* 801BB194 001B80F4 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801BB198 001B80F8 7C 08 02 A6 */ mflr r0 /* 801BB19C 001B80FC 90 01 00 84 */ stw r0, 0x84(r1) /* 801BB1A0 001B8100 BE C1 00 58 */ stmw r22, 0x58(r1) /* 801BB1A4 001B8104 7C 78 1B 78 */ mr r24, r3 /* 801BB1A8 001B8108 7C 96 23 78 */ mr r22, r4 /* 801BB1AC 001B810C 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) /* 801BB1B0 001B8110 4B F0 07 A9 */ bl GetWeaponResourcePair__12CTweakGunResCFi /* 801BB1B4 001B8114 3C A0 80 3D */ lis r5, lbl_803D1750@ha /* 801BB1B8 001B8118 3C 80 57 50 */ lis r4, 0x57505343@ha /* 801BB1BC 001B811C 56 DA 18 38 */ slwi r26, r22, 3 /* 801BB1C0 001B8120 7C 7F 1B 78 */ mr r31, r3 /* 801BB1C4 001B8124 38 05 17 50 */ addi r0, r5, lbl_803D1750@l /* 801BB1C8 001B8128 3B 98 01 70 */ addi r28, r24, 0x170 /* 801BB1CC 001B812C 7F C0 D2 14 */ add r30, r0, r26 /* 801BB1D0 001B8130 3B 78 01 48 */ addi r27, r24, 0x148 /* 801BB1D4 001B8134 3A E4 53 43 */ addi r23, r4, 0x57505343@l /* 801BB1D8 001B8138 3B 20 00 00 */ li r25, 0 /* 801BB1DC 001B813C 3B A0 00 00 */ li r29, 0 lbl_801BB1E0: /* 801BB1E0 001B8140 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BB1E4 001B8144 38 61 00 20 */ addi r3, r1, 0x20 /* 801BB1E8 001B8148 80 BE 00 00 */ lwz r5, 0(r30) /* 801BB1EC 001B814C 81 84 00 00 */ lwz r12, 0(r4) /* 801BB1F0 001B8150 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BB1F4 001B8154 7D 89 03 A6 */ mtctr r12 /* 801BB1F8 001B8158 4E 80 04 21 */ bctrl /* 801BB1FC 001B815C 38 61 00 40 */ addi r3, r1, 0x40 /* 801BB200 001B8160 38 81 00 20 */ addi r4, r1, 0x20 /* 801BB204 001B8164 48 18 5C A5 */ bl __ct__6CTokenFRC6CToken /* 801BB208 001B8168 38 00 00 00 */ li r0, 0 /* 801BB20C 001B816C 90 01 00 48 */ stw r0, 0x48(r1) /* 801BB210 001B8170 80 18 01 6C */ lwz r0, 0x16c(r24) /* 801BB214 001B8174 1C 00 00 0C */ mulli r0, r0, 0xc /* 801BB218 001B8178 7E DC 02 15 */ add. r22, r28, r0 /* 801BB21C 001B817C 41 82 00 18 */ beq lbl_801BB234 /* 801BB220 001B8180 7E C3 B3 78 */ mr r3, r22 /* 801BB224 001B8184 38 81 00 40 */ addi r4, r1, 0x40 /* 801BB228 001B8188 48 18 5C 81 */ bl __ct__6CTokenFRC6CToken /* 801BB22C 001B818C 80 01 00 48 */ lwz r0, 0x48(r1) /* 801BB230 001B8190 90 16 00 08 */ stw r0, 8(r22) lbl_801BB234: /* 801BB234 001B8194 80 B8 01 6C */ lwz r5, 0x16c(r24) /* 801BB238 001B8198 38 61 00 40 */ addi r3, r1, 0x40 /* 801BB23C 001B819C 38 80 00 00 */ li r4, 0 /* 801BB240 001B81A0 38 05 00 01 */ addi r0, r5, 1 /* 801BB244 001B81A4 90 18 01 6C */ stw r0, 0x16c(r24) /* 801BB248 001B81A8 48 18 5B F9 */ bl __dt__6CTokenFv /* 801BB24C 001B81AC 38 61 00 20 */ addi r3, r1, 0x20 /* 801BB250 001B81B0 38 80 FF FF */ li r4, -1 /* 801BB254 001B81B4 48 18 5B ED */ bl __dt__6CTokenFv /* 801BB258 001B81B8 80 DF 00 0C */ lwz r6, 0xc(r31) /* 801BB25C 001B81BC 38 61 00 10 */ addi r3, r1, 0x10 /* 801BB260 001B81C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BB264 001B81C4 38 A1 00 18 */ addi r5, r1, 0x18 /* 801BB268 001B81C8 7C 06 E8 2E */ lwzx r0, r6, r29 /* 801BB26C 001B81CC 92 E1 00 18 */ stw r23, 0x18(r1) /* 801BB270 001B81D0 90 01 00 1C */ stw r0, 0x1c(r1) /* 801BB274 001B81D4 81 84 00 00 */ lwz r12, 0(r4) /* 801BB278 001B81D8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BB27C 001B81DC 7D 89 03 A6 */ mtctr r12 /* 801BB280 001B81E0 4E 80 04 21 */ bctrl /* 801BB284 001B81E4 38 61 00 34 */ addi r3, r1, 0x34 /* 801BB288 001B81E8 38 81 00 10 */ addi r4, r1, 0x10 /* 801BB28C 001B81EC 48 18 5C 1D */ bl __ct__6CTokenFRC6CToken /* 801BB290 001B81F0 38 00 00 00 */ li r0, 0 /* 801BB294 001B81F4 90 01 00 3C */ stw r0, 0x3c(r1) /* 801BB298 001B81F8 80 18 01 44 */ lwz r0, 0x144(r24) /* 801BB29C 001B81FC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801BB2A0 001B8200 7E DB 02 15 */ add. r22, r27, r0 /* 801BB2A4 001B8204 41 82 00 18 */ beq lbl_801BB2BC /* 801BB2A8 001B8208 7E C3 B3 78 */ mr r3, r22 /* 801BB2AC 001B820C 38 81 00 34 */ addi r4, r1, 0x34 /* 801BB2B0 001B8210 48 18 5B F9 */ bl __ct__6CTokenFRC6CToken /* 801BB2B4 001B8214 80 01 00 3C */ lwz r0, 0x3c(r1) /* 801BB2B8 001B8218 90 16 00 08 */ stw r0, 8(r22) lbl_801BB2BC: /* 801BB2BC 001B821C 80 B8 01 44 */ lwz r5, 0x144(r24) /* 801BB2C0 001B8220 38 61 00 34 */ addi r3, r1, 0x34 /* 801BB2C4 001B8224 38 80 00 00 */ li r4, 0 /* 801BB2C8 001B8228 38 05 00 01 */ addi r0, r5, 1 /* 801BB2CC 001B822C 90 18 01 44 */ stw r0, 0x144(r24) /* 801BB2D0 001B8230 48 18 5B 71 */ bl __dt__6CTokenFv /* 801BB2D4 001B8234 38 61 00 10 */ addi r3, r1, 0x10 /* 801BB2D8 001B8238 38 80 FF FF */ li r4, -1 /* 801BB2DC 001B823C 48 18 5B 65 */ bl __dt__6CTokenFv /* 801BB2E0 001B8240 3B 39 00 01 */ addi r25, r25, 1 /* 801BB2E4 001B8244 3B BD 00 04 */ addi r29, r29, 4 /* 801BB2E8 001B8248 2C 19 00 02 */ cmpwi r25, 2 /* 801BB2EC 001B824C 3B DE 00 04 */ addi r30, r30, 4 /* 801BB2F0 001B8250 41 80 FE F0 */ blt lbl_801BB1E0 /* 801BB2F4 001B8254 3C 60 80 3D */ lis r3, lbl_803D1778@ha /* 801BB2F8 001B8258 3B 38 01 8C */ addi r25, r24, 0x18c /* 801BB2FC 001B825C 38 03 17 78 */ addi r0, r3, lbl_803D1778@l /* 801BB300 001B8260 3B 60 00 00 */ li r27, 0 /* 801BB304 001B8264 7E E0 D2 14 */ add r23, r0, r26 lbl_801BB308: /* 801BB308 001B8268 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BB30C 001B826C 38 61 00 08 */ addi r3, r1, 8 /* 801BB310 001B8270 80 B7 00 00 */ lwz r5, 0(r23) /* 801BB314 001B8274 81 84 00 00 */ lwz r12, 0(r4) /* 801BB318 001B8278 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BB31C 001B827C 7D 89 03 A6 */ mtctr r12 /* 801BB320 001B8280 4E 80 04 21 */ bctrl /* 801BB324 001B8284 38 61 00 28 */ addi r3, r1, 0x28 /* 801BB328 001B8288 38 81 00 08 */ addi r4, r1, 8 /* 801BB32C 001B828C 48 18 5B 7D */ bl __ct__6CTokenFRC6CToken /* 801BB330 001B8290 38 00 00 00 */ li r0, 0 /* 801BB334 001B8294 90 01 00 30 */ stw r0, 0x30(r1) /* 801BB338 001B8298 80 18 01 88 */ lwz r0, 0x188(r24) /* 801BB33C 001B829C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801BB340 001B82A0 7E D9 02 15 */ add. r22, r25, r0 /* 801BB344 001B82A4 41 82 00 18 */ beq lbl_801BB35C /* 801BB348 001B82A8 7E C3 B3 78 */ mr r3, r22 /* 801BB34C 001B82AC 38 81 00 28 */ addi r4, r1, 0x28 /* 801BB350 001B82B0 48 18 5B 59 */ bl __ct__6CTokenFRC6CToken /* 801BB354 001B82B4 80 01 00 30 */ lwz r0, 0x30(r1) /* 801BB358 001B82B8 90 16 00 08 */ stw r0, 8(r22) lbl_801BB35C: /* 801BB35C 001B82BC 80 B8 01 88 */ lwz r5, 0x188(r24) /* 801BB360 001B82C0 38 61 00 28 */ addi r3, r1, 0x28 /* 801BB364 001B82C4 38 80 00 00 */ li r4, 0 /* 801BB368 001B82C8 38 05 00 01 */ addi r0, r5, 1 /* 801BB36C 001B82CC 90 18 01 88 */ stw r0, 0x188(r24) /* 801BB370 001B82D0 48 18 5A D1 */ bl __dt__6CTokenFv /* 801BB374 001B82D4 38 61 00 08 */ addi r3, r1, 8 /* 801BB378 001B82D8 38 80 FF FF */ li r4, -1 /* 801BB37C 001B82DC 48 18 5A C5 */ bl __dt__6CTokenFv /* 801BB380 001B82E0 3B 7B 00 01 */ addi r27, r27, 1 /* 801BB384 001B82E4 3A F7 00 04 */ addi r23, r23, 4 /* 801BB388 001B82E8 2C 1B 00 02 */ cmpwi r27, 2 /* 801BB38C 001B82EC 41 80 FF 7C */ blt lbl_801BB308 /* 801BB390 001B82F0 BA C1 00 58 */ lmw r22, 0x58(r1) /* 801BB394 001B82F4 80 01 00 84 */ lwz r0, 0x84(r1) /* 801BB398 001B82F8 7C 08 03 A6 */ mtlr r0 /* 801BB39C 001B82FC 38 21 00 80 */ addi r1, r1, 0x80 /* 801BB3A0 001B8300 4E 80 00 20 */ blr .global IsLoaded__10CGunWeaponCFv IsLoaded__10CGunWeaponCFv: /* 801BB3A4 001B8304 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BB3A8 001B8308 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f /* 801BB3AC 001B830C 4E 80 00 20 */ blr .global Unload__10CGunWeaponFR13CStateManager Unload__10CGunWeaponFR13CStateManager: /* 801BB3B0 001B8310 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801BB3B4 001B8314 7C 08 02 A6 */ mflr r0 /* 801BB3B8 001B8318 90 01 01 04 */ stw r0, 0x104(r1) /* 801BB3BC 001B831C 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801BB3C0 001B8320 7C 7F 1B 78 */ mr r31, r3 /* 801BB3C4 001B8324 4B FF F5 51 */ bl UnlockTokens__10CGunWeaponFv /* 801BB3C8 001B8328 38 00 00 00 */ li r0, 0 /* 801BB3CC 001B832C 38 7F 00 10 */ addi r3, r31, 0x10 /* 801BB3D0 001B8330 90 1F 02 10 */ stw r0, 0x210(r31) /* 801BB3D4 001B8334 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801BB3D8 001B8338 90 1F 02 04 */ stw r0, 0x204(r31) /* 801BB3DC 001B833C 98 01 00 F4 */ stb r0, 0xf4(r1) /* 801BB3E0 001B8340 4B F6 29 6D */ bl sub_8011dd4c /* 801BB3E4 001B8344 88 01 00 F4 */ lbz r0, 0xf4(r1) /* 801BB3E8 001B8348 28 00 00 00 */ cmplwi r0, 0 /* 801BB3EC 001B834C 41 82 00 10 */ beq lbl_801BB3FC /* 801BB3F0 001B8350 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801BB3F4 001B8354 38 80 FF FF */ li r4, -1 /* 801BB3F8 001B8358 4B F5 B6 55 */ bl __dt__10CModelDataFv lbl_801BB3FC: /* 801BB3FC 001B835C 38 00 00 00 */ li r0, 0 /* 801BB400 001B8360 38 7F 00 60 */ addi r3, r31, 0x60 /* 801BB404 001B8364 98 01 00 F4 */ stb r0, 0xf4(r1) /* 801BB408 001B8368 38 81 00 58 */ addi r4, r1, 0x58 /* 801BB40C 001B836C 98 01 00 A4 */ stb r0, 0xa4(r1) /* 801BB410 001B8370 4B F6 29 3D */ bl sub_8011dd4c /* 801BB414 001B8374 88 01 00 A4 */ lbz r0, 0xa4(r1) /* 801BB418 001B8378 28 00 00 00 */ cmplwi r0, 0 /* 801BB41C 001B837C 41 82 00 10 */ beq lbl_801BB42C /* 801BB420 001B8380 38 61 00 58 */ addi r3, r1, 0x58 /* 801BB424 001B8384 38 80 FF FF */ li r4, -1 /* 801BB428 001B8388 4B F5 B6 25 */ bl __dt__10CModelDataFv lbl_801BB42C: /* 801BB42C 001B838C 38 00 00 00 */ li r0, 0 /* 801BB430 001B8390 38 7F 00 B0 */ addi r3, r31, 0xb0 /* 801BB434 001B8394 98 01 00 A4 */ stb r0, 0xa4(r1) /* 801BB438 001B8398 38 81 00 08 */ addi r4, r1, 8 /* 801BB43C 001B839C 98 01 00 54 */ stb r0, 0x54(r1) /* 801BB440 001B83A0 4B F6 29 0D */ bl sub_8011dd4c /* 801BB444 001B83A4 88 01 00 54 */ lbz r0, 0x54(r1) /* 801BB448 001B83A8 28 00 00 00 */ cmplwi r0, 0 /* 801BB44C 001B83AC 41 82 00 10 */ beq lbl_801BB45C /* 801BB450 001B83B0 38 61 00 08 */ addi r3, r1, 8 /* 801BB454 001B83B4 38 80 FF FF */ li r4, -1 /* 801BB458 001B83B8 4B F5 B5 F5 */ bl __dt__10CModelDataFv lbl_801BB45C: /* 801BB45C 001B83BC 38 00 00 00 */ li r0, 0 /* 801BB460 001B83C0 38 7F 01 00 */ addi r3, r31, 0x100 /* 801BB464 001B83C4 98 01 00 54 */ stb r0, 0x54(r1) /* 801BB468 001B83C8 38 80 00 00 */ li r4, 0 /* 801BB46C 001B83CC 4B F6 26 69 */ bl "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" /* 801BB470 001B83D0 38 00 00 00 */ li r0, 0 /* 801BB474 001B83D4 90 1F 01 BC */ stw r0, 0x1bc(r31) /* 801BB478 001B83D8 80 7F 01 B8 */ lwz r3, 0x1b8(r31) /* 801BB47C 001B83DC 28 03 00 00 */ cmplwi r3, 0 /* 801BB480 001B83E0 41 82 00 18 */ beq lbl_801BB498 /* 801BB484 001B83E4 81 83 00 00 */ lwz r12, 0(r3) /* 801BB488 001B83E8 38 80 00 01 */ li r4, 1 /* 801BB48C 001B83EC 81 8C 00 08 */ lwz r12, 8(r12) /* 801BB490 001B83F0 7D 89 03 A6 */ mtctr r12 /* 801BB494 001B83F4 4E 80 04 21 */ bctrl lbl_801BB498: /* 801BB498 001B83F8 38 00 00 00 */ li r0, 0 /* 801BB49C 001B83FC 7F E3 FB 78 */ mr r3, r31 /* 801BB4A0 001B8400 90 1F 01 B8 */ stw r0, 0x1b8(r31) /* 801BB4A4 001B8404 4B FF F7 C5 */ bl FreeResPools__10CGunWeaponFv /* 801BB4A8 001B8408 38 7F 01 04 */ addi r3, r31, 0x104 /* 801BB4AC 001B840C 48 18 58 95 */ bl Unlock__6CTokenFv /* 801BB4B0 001B8410 88 1F 02 18 */ lbz r0, 0x218(r31) /* 801BB4B4 001B8414 38 60 00 00 */ li r3, 0 /* 801BB4B8 001B8418 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801BB4BC 001B841C 98 1F 02 18 */ stb r0, 0x218(r31) /* 801BB4C0 001B8420 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801BB4C4 001B8424 80 01 01 04 */ lwz r0, 0x104(r1) /* 801BB4C8 001B8428 7C 08 03 A6 */ mtlr r0 /* 801BB4CC 001B842C 38 21 01 00 */ addi r1, r1, 0x100 /* 801BB4D0 001B8430 4E 80 00 20 */ blr .global Load__10CGunWeaponFR13CStateManagerb Load__10CGunWeaponFR13CStateManagerb: /* 801BB4D4 001B8434 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801BB4D8 001B8438 7C 08 02 A6 */ mflr r0 /* 801BB4DC 001B843C 90 01 00 24 */ stw r0, 0x24(r1) /* 801BB4E0 001B8440 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801BB4E4 001B8444 93 C1 00 18 */ stw r30, 0x18(r1) /* 801BB4E8 001B8448 93 A1 00 14 */ stw r29, 0x14(r1) /* 801BB4EC 001B844C 7C BD 2B 78 */ mr r29, r5 /* 801BB4F0 001B8450 93 81 00 10 */ stw r28, 0x10(r1) /* 801BB4F4 001B8454 7C 7C 1B 78 */ mr r28, r3 /* 801BB4F8 001B8458 4B FF F4 55 */ bl LockTokens__10CGunWeaponFR13CStateManager /* 801BB4FC 001B845C 88 7C 02 18 */ lbz r3, 0x218(r28) /* 801BB500 001B8460 53 A3 26 F6 */ rlwimi r3, r29, 4, 0x1b, 0x1b /* 801BB504 001B8464 38 00 00 00 */ li r0, 0 /* 801BB508 001B8468 98 7C 02 18 */ stb r3, 0x218(r28) /* 801BB50C 001B846C 90 1C 02 04 */ stw r0, 0x204(r28) /* 801BB510 001B8470 80 7C 01 B8 */ lwz r3, 0x1b8(r28) /* 801BB514 001B8474 28 03 00 00 */ cmplwi r3, 0 /* 801BB518 001B8478 41 82 00 18 */ beq lbl_801BB530 /* 801BB51C 001B847C 81 83 00 00 */ lwz r12, 0(r3) /* 801BB520 001B8480 38 80 00 01 */ li r4, 1 /* 801BB524 001B8484 81 8C 00 08 */ lwz r12, 8(r12) /* 801BB528 001B8488 7D 89 03 A6 */ mtctr r12 /* 801BB52C 001B848C 4E 80 04 21 */ bctrl lbl_801BB530: /* 801BB530 001B8490 38 00 00 00 */ li r0, 0 /* 801BB534 001B8494 38 7C 01 04 */ addi r3, r28, 0x104 /* 801BB538 001B8498 90 1C 01 B8 */ stw r0, 0x1b8(r28) /* 801BB53C 001B849C 48 18 58 49 */ bl Lock__6CTokenFv /* 801BB540 001B84A0 38 7C 01 60 */ addi r3, r28, 0x160 /* 801BB544 001B84A4 48 18 58 41 */ bl Lock__6CTokenFv /* 801BB548 001B84A8 3B FC 01 70 */ addi r31, r28, 0x170 /* 801BB54C 001B84AC 3B DC 01 48 */ addi r30, r28, 0x148 /* 801BB550 001B84B0 3B A0 00 00 */ li r29, 0 lbl_801BB554: /* 801BB554 001B84B4 7F E3 FB 78 */ mr r3, r31 /* 801BB558 001B84B8 48 18 58 2D */ bl Lock__6CTokenFv /* 801BB55C 001B84BC 7F C3 F3 78 */ mr r3, r30 /* 801BB560 001B84C0 48 18 58 25 */ bl Lock__6CTokenFv /* 801BB564 001B84C4 3B BD 00 01 */ addi r29, r29, 1 /* 801BB568 001B84C8 3B DE 00 0C */ addi r30, r30, 0xc /* 801BB56C 001B84CC 2C 1D 00 02 */ cmpwi r29, 2 /* 801BB570 001B84D0 3B FF 00 0C */ addi r31, r31, 0xc /* 801BB574 001B84D4 41 80 FF E0 */ blt lbl_801BB554 /* 801BB578 001B84D8 3B A0 00 00 */ li r29, 0 /* 801BB57C 001B84DC 3B DC 01 8C */ addi r30, r28, 0x18c lbl_801BB580: /* 801BB580 001B84E0 7F C3 F3 78 */ mr r3, r30 /* 801BB584 001B84E4 48 18 58 01 */ bl Lock__6CTokenFv /* 801BB588 001B84E8 3B BD 00 01 */ addi r29, r29, 1 /* 801BB58C 001B84EC 3B DE 00 0C */ addi r30, r30, 0xc /* 801BB590 001B84F0 2C 1D 00 02 */ cmpwi r29, 2 /* 801BB594 001B84F4 41 80 FF EC */ blt lbl_801BB580 /* 801BB598 001B84F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801BB59C 001B84FC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801BB5A0 001B8500 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801BB5A4 001B8504 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801BB5A8 001B8508 83 81 00 10 */ lwz r28, 0x10(r1) /* 801BB5AC 001B850C 7C 08 03 A6 */ mtlr r0 /* 801BB5B0 001B8510 38 21 00 20 */ addi r1, r1, 0x20 /* 801BB5B4 001B8514 4E 80 00 20 */ blr .global TouchHolo__10CGunWeaponFRC13CStateManager TouchHolo__10CGunWeaponFRC13CStateManager: /* 801BB5B8 001B8518 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BB5BC 001B851C 7C 08 02 A6 */ mflr r0 /* 801BB5C0 001B8520 90 01 00 14 */ stw r0, 0x14(r1) /* 801BB5C4 001B8524 88 03 00 AC */ lbz r0, 0xac(r3) /* 801BB5C8 001B8528 28 00 00 00 */ cmplwi r0, 0 /* 801BB5CC 001B852C 41 82 00 10 */ beq lbl_801BB5DC /* 801BB5D0 001B8530 38 63 00 60 */ addi r3, r3, 0x60 /* 801BB5D4 001B8534 38 A0 00 00 */ li r5, 0 /* 801BB5D8 001B8538 4B F5 A7 39 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801BB5DC: /* 801BB5DC 001B853C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BB5E0 001B8540 7C 08 03 A6 */ mtlr r0 /* 801BB5E4 001B8544 38 21 00 10 */ addi r1, r1, 0x10 /* 801BB5E8 001B8548 4E 80 00 20 */ blr .global Touch__10CGunWeaponFRC13CStateManager Touch__10CGunWeaponFRC13CStateManager: /* 801BB5EC 001B854C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BB5F0 001B8550 7C 08 02 A6 */ mflr r0 /* 801BB5F4 001B8554 90 01 00 14 */ stw r0, 0x14(r1) /* 801BB5F8 001B8558 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BB5FC 001B855C 7C 9F 23 78 */ mr r31, r4 /* 801BB600 001B8560 93 C1 00 08 */ stw r30, 8(r1) /* 801BB604 001B8564 7C 7E 1B 78 */ mr r30, r3 /* 801BB608 001B8568 88 03 00 5C */ lbz r0, 0x5c(r3) /* 801BB60C 001B856C 28 00 00 00 */ cmplwi r0, 0 /* 801BB610 001B8570 41 82 00 2C */ beq lbl_801BB63C /* 801BB614 001B8574 80 BE 02 0C */ lwz r5, 0x20c(r30) /* 801BB618 001B8578 38 7E 00 10 */ addi r3, r30, 0x10 /* 801BB61C 001B857C 4B F5 A6 F5 */ bl Touch__10CModelDataCFRC13CStateManageri /* 801BB620 001B8580 88 1E 00 FC */ lbz r0, 0xfc(r30) /* 801BB624 001B8584 28 00 00 00 */ cmplwi r0, 0 /* 801BB628 001B8588 41 82 00 14 */ beq lbl_801BB63C /* 801BB62C 001B858C 7F E4 FB 78 */ mr r4, r31 /* 801BB630 001B8590 38 7E 00 B0 */ addi r3, r30, 0xb0 /* 801BB634 001B8594 38 A0 00 00 */ li r5, 0 /* 801BB638 001B8598 4B F5 A6 D9 */ bl Touch__10CModelDataCFRC13CStateManageri lbl_801BB63C: /* 801BB63C 001B859C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BB640 001B85A0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BB644 001B85A4 83 C1 00 08 */ lwz r30, 8(r1) /* 801BB648 001B85A8 7C 08 03 A6 */ mtlr r0 /* 801BB64C 001B85AC 38 21 00 10 */ addi r1, r1, 0x10 /* 801BB650 001B85B0 4E 80 00 20 */ blr .global GetBounds__10CGunWeaponCFRC12CTransform4f GetBounds__10CGunWeaponCFRC12CTransform4f: /* 801BB654 001B85B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BB658 001B85B8 7C 08 02 A6 */ mflr r0 /* 801BB65C 001B85BC 90 01 00 14 */ stw r0, 0x14(r1) /* 801BB660 001B85C0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BB664 001B85C4 7C 7F 1B 78 */ mr r31, r3 /* 801BB668 001B85C8 88 04 00 5C */ lbz r0, 0x5c(r4) /* 801BB66C 001B85CC 28 00 00 00 */ cmplwi r0, 0 /* 801BB670 001B85D0 41 82 00 10 */ beq lbl_801BB680 /* 801BB674 001B85D4 38 84 00 10 */ addi r4, r4, 0x10 /* 801BB678 001B85D8 4B F5 A1 3D */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 801BB67C 001B85DC 48 00 00 38 */ b lbl_801BB6B4 lbl_801BB680: /* 801BB680 001B85E0 3C 60 80 5A */ lis r3, lbl_805A6784@ha /* 801BB684 001B85E4 C4 03 67 84 */ lfsu f0, lbl_805A6784@l(r3) /* 801BB688 001B85E8 D0 1F 00 00 */ stfs f0, 0(r31) /* 801BB68C 001B85EC C0 03 00 04 */ lfs f0, 4(r3) /* 801BB690 001B85F0 D0 1F 00 04 */ stfs f0, 4(r31) /* 801BB694 001B85F4 C0 03 00 08 */ lfs f0, 8(r3) /* 801BB698 001B85F8 D0 1F 00 08 */ stfs f0, 8(r31) /* 801BB69C 001B85FC C0 03 00 0C */ lfs f0, 0xc(r3) /* 801BB6A0 001B8600 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801BB6A4 001B8604 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801BB6A8 001B8608 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801BB6AC 001B860C C0 03 00 14 */ lfs f0, 0x14(r3) /* 801BB6B0 001B8610 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801BB6B4: /* 801BB6B4 001B8614 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BB6B8 001B8618 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BB6BC 001B861C 7C 08 03 A6 */ mtlr r0 /* 801BB6C0 001B8620 38 21 00 10 */ addi r1, r1, 0x10 /* 801BB6C4 001B8624 4E 80 00 20 */ blr .global GetBounds__10CGunWeaponCFv GetBounds__10CGunWeaponCFv: /* 801BB6C8 001B8628 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BB6CC 001B862C 7C 08 02 A6 */ mflr r0 /* 801BB6D0 001B8630 90 01 00 14 */ stw r0, 0x14(r1) /* 801BB6D4 001B8634 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BB6D8 001B8638 7C 7F 1B 78 */ mr r31, r3 /* 801BB6DC 001B863C 88 04 00 5C */ lbz r0, 0x5c(r4) /* 801BB6E0 001B8640 28 00 00 00 */ cmplwi r0, 0 /* 801BB6E4 001B8644 41 82 00 10 */ beq lbl_801BB6F4 /* 801BB6E8 001B8648 38 84 00 10 */ addi r4, r4, 0x10 /* 801BB6EC 001B864C 4B F5 9E D9 */ bl GetBounds__10CModelDataCFv /* 801BB6F0 001B8650 48 00 00 38 */ b lbl_801BB728 lbl_801BB6F4: /* 801BB6F4 001B8654 3C 60 80 5A */ lis r3, lbl_805A6784@ha /* 801BB6F8 001B8658 C4 03 67 84 */ lfsu f0, lbl_805A6784@l(r3) /* 801BB6FC 001B865C D0 1F 00 00 */ stfs f0, 0(r31) /* 801BB700 001B8660 C0 03 00 04 */ lfs f0, 4(r3) /* 801BB704 001B8664 D0 1F 00 04 */ stfs f0, 4(r31) /* 801BB708 001B8668 C0 03 00 08 */ lfs f0, 8(r3) /* 801BB70C 001B866C D0 1F 00 08 */ stfs f0, 8(r31) /* 801BB710 001B8670 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801BB714 001B8674 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801BB718 001B8678 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801BB71C 001B867C D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801BB720 001B8680 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801BB724 001B8684 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801BB728: /* 801BB728 001B8688 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BB72C 001B868C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BB730 001B8690 7C 08 03 A6 */ mtlr r0 /* 801BB734 001B8694 38 21 00 10 */ addi r1, r1, 0x10 /* 801BB738 001B8698 4E 80 00 20 */ blr .global GetDamageInfo__10CGunWeaponFR13CStateManagerQ212CPlayerState12EChargeStagef GetDamageInfo__10CGunWeaponFR13CStateManagerQ212CPlayerState12EChargeStagef: /* 801BB73C 001B869C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801BB740 001B86A0 7C 08 02 A6 */ mflr r0 /* 801BB744 001B86A4 90 01 00 54 */ stw r0, 0x54(r1) /* 801BB748 001B86A8 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801BB74C 001B86AC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801BB750 001B86B0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801BB754 001B86B4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801BB758 001B86B8 93 A1 00 34 */ stw r29, 0x34(r1) /* 801BB75C 001B86BC FF E0 08 90 */ fmr f31, f1 /* 801BB760 001B86C0 7C 7D 1B 78 */ mr r29, r3 /* 801BB764 001B86C4 7C BE 2B 78 */ mr r30, r5 /* 801BB768 001B86C8 7C DF 33 78 */ mr r31, r6 /* 801BB76C 001B86CC 7C 83 23 78 */ mr r3, r4 /* 801BB770 001B86D0 48 00 15 25 */ bl GetWeaponInfo__10CGunWeaponCFv /* 801BB774 001B86D4 2C 1F 00 00 */ cmpwi r31, 0 /* 801BB778 001B86D8 7C 67 1B 78 */ mr r7, r3 /* 801BB77C 001B86DC 40 82 00 18 */ bne lbl_801BB794 /* 801BB780 001B86E0 7F A3 EB 78 */ mr r3, r29 /* 801BB784 001B86E4 7F C5 F3 78 */ mr r5, r30 /* 801BB788 001B86E8 38 87 00 04 */ addi r4, r7, 4 /* 801BB78C 001B86EC 48 0C F2 99 */ bl GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager /* 801BB790 001B86F0 48 00 00 68 */ b lbl_801BB7F8 lbl_801BB794: /* 801BB794 001B86F4 C0 47 00 34 */ lfs f2, 0x34(r7) /* 801BB798 001B86F8 38 80 00 00 */ li r4, 0 /* 801BB79C 001B86FC C0 27 00 30 */ lfs f1, 0x30(r7) /* 801BB7A0 001B8700 7F A3 EB 78 */ mr r3, r29 /* 801BB7A4 001B8704 C0 07 00 28 */ lfs f0, 0x28(r7) /* 801BB7A8 001B8708 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801BB7AC 001B870C 80 A7 00 20 */ lwz r5, 0x20(r7) /* 801BB7B0 001B8710 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801BB7B4 001B8714 88 01 00 20 */ lbz r0, 0x20(r1) /* 801BB7B8 001B8718 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801BB7BC 001B871C 90 A1 00 08 */ stw r5, 8(r1) /* 801BB7C0 001B8720 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801BB7C4 001B8724 7F C5 F3 78 */ mr r5, r30 /* 801BB7C8 001B8728 88 C7 00 24 */ lbz r6, 0x24(r7) /* 801BB7CC 001B872C 38 81 00 08 */ addi r4, r1, 8 /* 801BB7D0 001B8730 98 C1 00 0C */ stb r6, 0xc(r1) /* 801BB7D4 001B8734 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BB7D8 001B8738 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801BB7DC 001B873C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801BB7E0 001B8740 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801BB7E4 001B8744 98 01 00 20 */ stb r0, 0x20(r1) /* 801BB7E8 001B8748 C0 07 00 2C */ lfs f0, 0x2c(r7) /* 801BB7EC 001B874C EC 1F 00 32 */ fmuls f0, f31, f0 /* 801BB7F0 001B8750 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801BB7F4 001B8754 48 0C F2 31 */ bl GetShotDamageInfo__10CGunWeaponCFRC10SShotParamR13CStateManager lbl_801BB7F8: /* 801BB7F8 001B8758 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801BB7FC 001B875C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801BB800 001B8760 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801BB804 001B8764 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801BB808 001B8768 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801BB80C 001B876C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801BB810 001B8770 7C 08 03 A6 */ mtlr r0 /* 801BB814 001B8774 38 21 00 50 */ addi r1, r1, 0x50 /* 801BB818 001B8778 4E 80 00 20 */ blr .global EnterFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei EnterFidget__10CGunWeaponFR13CStateManagerQ28SamusGun11EFidgetTypei: /* 801BB81C 001B877C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BB820 001B8780 7C 08 02 A6 */ mflr r0 /* 801BB824 001B8784 7C 68 1B 78 */ mr r8, r3 /* 801BB828 001B8788 7C C7 33 78 */ mr r7, r6 /* 801BB82C 001B878C 90 01 00 14 */ stw r0, 0x14(r1) /* 801BB830 001B8790 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BB834 001B8794 80 C8 02 00 */ lwz r6, 0x200(r8) /* 801BB838 001B8798 48 01 12 C9 */ bl EnterFidget__14CGunControllerFR13CStateManageriii /* 801BB83C 001B879C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BB840 001B87A0 7C 08 03 A6 */ mtlr r0 /* 801BB844 001B87A4 38 21 00 10 */ addi r1, r1, 0x10 /* 801BB848 001B87A8 4E 80 00 20 */ blr .global ComboFireOver__10CGunWeaponCFv ComboFireOver__10CGunWeaponCFv: /* 801BB84C 001B87AC 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BB850 001B87B0 88 03 00 2C */ lbz r0, 0x2c(r3) /* 801BB854 001B87B4 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801BB858 001B87B8 4E 80 00 20 */ blr .global ReturnToDefault__10CGunWeaponFR13CStateManager ReturnToDefault__10CGunWeaponFR13CStateManager: /* 801BB85C 001B87BC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BB860 001B87C0 7C 08 02 A6 */ mflr r0 /* 801BB864 001B87C4 C0 22 A9 DC */ lfs f1, lbl_805AC6FC@sda21(r2) /* 801BB868 001B87C8 38 A0 00 00 */ li r5, 0 /* 801BB86C 001B87CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801BB870 001B87D0 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BB874 001B87D4 48 01 0A 85 */ bl ReturnToDefault__14CGunControllerFR13CStateManagerf /* 801BB878 001B87D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BB87C 001B87DC 7C 08 03 A6 */ mtlr r0 /* 801BB880 001B87E0 38 21 00 10 */ addi r1, r1, 0x10 /* 801BB884 001B87E4 4E 80 00 20 */ blr .global Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId: /* 801BB888 001B87E8 94 21 FE E0 */ stwu r1, -0x120(r1) /* 801BB88C 001B87EC 7C 08 02 A6 */ mflr r0 /* 801BB890 001B87F0 90 01 01 24 */ stw r0, 0x124(r1) /* 801BB894 001B87F4 DB E1 01 10 */ stfd f31, 0x110(r1) /* 801BB898 001B87F8 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 801BB89C 001B87FC DB C1 01 00 */ stfd f30, 0x100(r1) /* 801BB8A0 001B8800 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 801BB8A4 001B8804 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 801BB8A8 001B8808 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 801BB8AC 001B880C BE C1 00 C8 */ stmw r22, 0xc8(r1) /* 801BB8B0 001B8810 FF A0 10 90 */ fmr f29, f2 /* 801BB8B4 001B8814 7C 77 1B 78 */ mr r23, r3 /* 801BB8B8 001B8818 FF E0 08 90 */ fmr f31, f1 /* 801BB8BC 001B881C 7C 98 23 78 */ mr r24, r4 /* 801BB8C0 001B8820 FF C0 18 90 */ fmr f30, f3 /* 801BB8C4 001B8824 7C B9 2B 78 */ mr r25, r5 /* 801BB8C8 001B8828 7C FB 3B 78 */ mr r27, r7 /* 801BB8CC 001B882C FC 20 E8 90 */ fmr f1, f29 /* 801BB8D0 001B8830 7C DA 33 78 */ mr r26, r6 /* 801BB8D4 001B8834 7D 1C 43 78 */ mr r28, r8 /* 801BB8D8 001B8838 7E E4 BB 78 */ mr r4, r23 /* 801BB8DC 001B883C 7F 65 DB 78 */ mr r5, r27 /* 801BB8E0 001B8840 7F 26 CB 78 */ mr r6, r25 /* 801BB8E4 001B8844 38 61 00 64 */ addi r3, r1, 0x64 /* 801BB8E8 001B8848 4B FF FE 55 */ bl GetDamageInfo__10CGunWeaponFR13CStateManagerQ212CPlayerState12EChargeStagef /* 801BB8EC 001B884C 80 81 00 64 */ lwz r4, 0x64(r1) /* 801BB8F0 001B8850 2C 19 00 00 */ cmpwi r25, 0 /* 801BB8F4 001B8854 88 61 00 68 */ lbz r3, 0x68(r1) /* 801BB8F8 001B8858 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 801BB8FC 001B885C C0 41 00 70 */ lfs f2, 0x70(r1) /* 801BB900 001B8860 C0 21 00 74 */ lfs f1, 0x74(r1) /* 801BB904 001B8864 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801BB908 001B8868 88 01 00 7C */ lbz r0, 0x7c(r1) /* 801BB90C 001B886C 90 81 00 80 */ stw r4, 0x80(r1) /* 801BB910 001B8870 98 61 00 84 */ stb r3, 0x84(r1) /* 801BB914 001B8874 D0 61 00 88 */ stfs f3, 0x88(r1) /* 801BB918 001B8878 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801BB91C 001B887C D0 21 00 90 */ stfs f1, 0x90(r1) /* 801BB920 001B8880 D0 01 00 94 */ stfs f0, 0x94(r1) /* 801BB924 001B8884 98 01 00 98 */ stb r0, 0x98(r1) /* 801BB928 001B8888 40 82 00 0C */ bne lbl_801BB934 /* 801BB92C 001B888C C0 22 A9 D8 */ lfs f1, lbl_805AC6F8@sda21(r2) /* 801BB930 001B8890 48 00 00 08 */ b lbl_801BB938 lbl_801BB934: /* 801BB934 001B8894 FC 20 F0 90 */ fmr f1, f30 lbl_801BB938: /* 801BB938 001B8898 C0 02 A9 D8 */ lfs f0, lbl_805AC6F8@sda21(r2) /* 801BB93C 001B889C 2C 19 00 00 */ cmpwi r25, 0 /* 801BB940 001B88A0 EC 61 00 32 */ fmuls f3, f1, f0 /* 801BB944 001B88A4 40 82 00 08 */ bne lbl_801BB94C /* 801BB948 001B88A8 48 00 00 08 */ b lbl_801BB950 lbl_801BB94C: /* 801BB94C 001B88AC FC 00 F0 90 */ fmr f0, f30 lbl_801BB950: /* 801BB950 001B88B0 C0 82 A9 D8 */ lfs f4, lbl_805AC6F8@sda21(r2) /* 801BB954 001B88B4 2C 19 00 00 */ cmpwi r25, 0 /* 801BB958 001B88B8 EC 40 01 32 */ fmuls f2, f0, f4 /* 801BB95C 001B88BC 40 82 00 08 */ bne lbl_801BB964 /* 801BB960 001B88C0 48 00 00 08 */ b lbl_801BB968 lbl_801BB964: /* 801BB964 001B88C4 FC 80 F0 90 */ fmr f4, f30 lbl_801BB968: /* 801BB968 001B88C8 C0 22 A9 D8 */ lfs f1, lbl_805AC6F8@sda21(r2) /* 801BB96C 001B88CC 2C 19 00 00 */ cmpwi r25, 0 /* 801BB970 001B88D0 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801BB974 001B88D4 EC 04 00 72 */ fmuls f0, f4, f1 /* 801BB978 001B88D8 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801BB97C 001B88DC D0 01 00 60 */ stfs f0, 0x60(r1) /* 801BB980 001B88E0 40 82 00 0C */ bne lbl_801BB98C /* 801BB984 001B88E4 38 00 00 00 */ li r0, 0 /* 801BB988 001B88E8 48 00 00 24 */ b lbl_801BB9AC lbl_801BB98C: /* 801BB98C 001B88EC EC 3D 08 28 */ fsubs f1, f29, f1 /* 801BB990 001B88F0 C8 02 A9 E0 */ lfd f0, lbl_805AC700@sda21(r2) /* 801BB994 001B88F4 FC 20 0A 10 */ fabs f1, f1 /* 801BB998 001B88F8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BB99C 001B88FC 7C 00 00 26 */ mfcr r0 /* 801BB9A0 001B8900 54 00 0F FE */ srwi r0, r0, 0x1f /* 801BB9A4 001B8904 7C 00 00 34 */ cntlzw r0, r0 /* 801BB9A8 001B8908 54 00 D9 7E */ srwi r0, r0, 5 lbl_801BB9AC: /* 801BB9AC 001B890C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801BB9B0 001B8910 38 A0 00 00 */ li r5, 0 /* 801BB9B4 001B8914 41 82 00 08 */ beq lbl_801BB9BC /* 801BB9B8 001B8918 3C A0 00 01 */ lis r5, 1 lbl_801BB9BC: /* 801BB9BC 001B891C 2C 19 00 00 */ cmpwi r25, 0 /* 801BB9C0 001B8920 38 80 08 00 */ li r4, 0x800 /* 801BB9C4 001B8924 41 82 00 08 */ beq lbl_801BB9CC /* 801BB9C8 001B8928 38 80 08 04 */ li r4, 0x804 lbl_801BB9CC: /* 801BB9CC 001B892C 1C 19 00 0C */ mulli r0, r25, 0xc /* 801BB9D0 001B8930 3C 60 80 3D */ lis r3, lbl_803D1828@ha /* 801BB9D4 001B8934 7C 9D 2B 78 */ or r29, r4, r5 /* 801BB9D8 001B8938 38 63 18 28 */ addi r3, r3, lbl_803D1828@l /* 801BB9DC 001B893C 7F F7 02 14 */ add r31, r23, r0 /* 801BB9E0 001B8940 3A C0 00 00 */ li r22, 0 /* 801BB9E4 001B8944 38 83 01 B5 */ addi r4, r3, 0x1b5 /* 801BB9E8 001B8948 38 60 03 D8 */ li r3, 0x3d8 /* 801BB9EC 001B894C 38 A0 00 00 */ li r5, 0 /* 801BB9F0 001B8950 3B FF 01 48 */ addi r31, r31, 0x148 /* 801BB9F4 001B8954 48 15 9E 79 */ bl __nw__FUlPCcPCc /* 801BB9F8 001B8958 7C 7E 1B 79 */ or. r30, r3, r3 /* 801BB9FC 001B895C 41 82 00 A8 */ beq lbl_801BBAA4 /* 801BBA00 001B8960 A0 BC 00 00 */ lhz r5, 0(r28) /* 801BBA04 001B8964 38 00 00 00 */ li r0, 0 /* 801BBA08 001B8968 98 01 00 54 */ stb r0, 0x54(r1) /* 801BBA0C 001B896C 7F 64 DB 78 */ mr r4, r27 /* 801BBA10 001B8970 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801BBA14 001B8974 38 61 00 30 */ addi r3, r1, 0x30 /* 801BBA18 001B8978 B0 A1 00 40 */ sth r5, 0x40(r1) /* 801BBA1C 001B897C 3A C0 00 01 */ li r22, 1 /* 801BBA20 001B8980 A0 B7 01 C4 */ lhz r5, 0x1c4(r23) /* 801BBA24 001B8984 B0 A1 00 38 */ sth r5, 0x38(r1) /* 801BBA28 001B8988 B0 A1 00 3C */ sth r5, 0x3c(r1) /* 801BBA2C 001B898C 90 01 00 44 */ stw r0, 0x44(r1) /* 801BBA30 001B8990 4B E9 16 AD */ bl AllocateUniqueId__13CStateManagerFv /* 801BBA34 001B8994 A0 61 00 30 */ lhz r3, 0x30(r1) /* 801BBA38 001B8998 38 01 00 44 */ addi r0, r1, 0x44 /* 801BBA3C 001B899C 38 E1 00 3C */ addi r7, r1, 0x3c /* 801BBA40 001B89A0 38 81 00 40 */ addi r4, r1, 0x40 /* 801BBA44 001B89A4 B0 61 00 34 */ sth r3, 0x34(r1) /* 801BBA48 001B89A8 39 61 00 58 */ addi r11, r1, 0x58 /* 801BBA4C 001B89AC 39 01 00 48 */ addi r8, r1, 0x48 /* 801BBA50 001B89B0 A0 C2 C5 FC */ lhz r6, lbl_805AE31C@sda21(r2) /* 801BBA54 001B89B4 90 01 00 08 */ stw r0, 8(r1) /* 801BBA58 001B89B8 38 00 00 00 */ li r0, 0 /* 801BBA5C 001B89BC 7F C3 F3 78 */ mr r3, r30 /* 801BBA60 001B89C0 7F E5 FB 78 */ mr r5, r31 /* 801BBA64 001B89C4 90 E1 00 0C */ stw r7, 0xc(r1) /* 801BBA68 001B89C8 7F 47 D3 78 */ mr r7, r26 /* 801BBA6C 001B89CC 39 21 00 80 */ addi r9, r1, 0x80 /* 801BBA70 001B89D0 39 41 00 34 */ addi r10, r1, 0x34 /* 801BBA74 001B89D4 90 81 00 10 */ stw r4, 0x10(r1) /* 801BBA78 001B89D8 38 80 00 01 */ li r4, 1 /* 801BBA7C 001B89DC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801BBA80 001B89E0 93 01 00 18 */ stw r24, 0x18(r1) /* 801BBA84 001B89E4 91 61 00 1C */ stw r11, 0x1c(r1) /* 801BBA88 001B89E8 91 01 00 20 */ stw r8, 0x20(r1) /* 801BBA8C 001B89EC 90 C1 00 24 */ stw r6, 0x24(r1) /* 801BBA90 001B89F0 90 01 00 28 */ stw r0, 0x28(r1) /* 801BBA94 001B89F4 80 D7 01 C0 */ lwz r6, 0x1c0(r23) /* 801BBA98 001B89F8 81 17 01 C8 */ lwz r8, 0x1c8(r23) /* 801BBA9C 001B89FC 48 05 9B FD */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 801BBAA0 001B8A00 7C 7E 1B 78 */ mr r30, r3 lbl_801BBAA4: /* 801BBAA4 001B8A04 7E C0 07 75 */ extsb. r0, r22 /* 801BBAA8 001B8A08 41 82 00 30 */ beq lbl_801BBAD8 /* 801BBAAC 001B8A0C 88 01 00 54 */ lbz r0, 0x54(r1) /* 801BBAB0 001B8A10 28 00 00 00 */ cmplwi r0, 0 /* 801BBAB4 001B8A14 41 82 00 1C */ beq lbl_801BBAD0 /* 801BBAB8 001B8A18 34 61 00 48 */ addic. r3, r1, 0x48 /* 801BBABC 001B8A1C 41 82 00 14 */ beq lbl_801BBAD0 /* 801BBAC0 001B8A20 28 03 00 00 */ cmplwi r3, 0 /* 801BBAC4 001B8A24 41 82 00 0C */ beq lbl_801BBAD0 /* 801BBAC8 001B8A28 38 80 00 00 */ li r4, 0 /* 801BBACC 001B8A2C 48 18 53 75 */ bl __dt__6CTokenFv lbl_801BBAD0: /* 801BBAD0 001B8A30 38 00 00 00 */ li r0, 0 /* 801BBAD4 001B8A34 98 01 00 54 */ stb r0, 0x54(r1) lbl_801BBAD8: /* 801BBAD8 001B8A38 28 1E 00 00 */ cmplwi r30, 0 /* 801BBADC 001B8A3C 41 82 00 2C */ beq lbl_801BBB08 /* 801BBAE0 001B8A40 7F 63 DB 78 */ mr r3, r27 /* 801BBAE4 001B8A44 7F C4 F3 78 */ mr r4, r30 /* 801BBAE8 001B8A48 4B E9 12 0D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801BBAEC 001B8A4C 7F C3 F3 78 */ mr r3, r30 /* 801BBAF0 001B8A50 FC 20 F8 90 */ fmr f1, f31 /* 801BBAF4 001B8A54 81 9E 00 00 */ lwz r12, 0(r30) /* 801BBAF8 001B8A58 7F 64 DB 78 */ mr r4, r27 /* 801BBAFC 001B8A5C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801BBB00 001B8A60 7D 89 03 A6 */ mtctr r12 /* 801BBB04 001B8A64 4E 80 04 21 */ bctrl lbl_801BBB08: /* 801BBB08 001B8A68 2C 19 00 00 */ cmpwi r25, 0 /* 801BBB0C 001B8A6C 41 82 00 28 */ beq lbl_801BBB34 /* 801BBB10 001B8A70 88 17 02 18 */ lbz r0, 0x218(r23) /* 801BBB14 001B8A74 38 60 00 01 */ li r3, 1 /* 801BBB18 001B8A78 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801BBB1C 001B8A7C 38 A0 00 00 */ li r5, 0 /* 801BBB20 001B8A80 98 17 02 18 */ stb r0, 0x218(r23) /* 801BBB24 001B8A84 3C 60 80 57 */ lis r3, lbl_805719E8@ha /* 801BBB28 001B8A88 38 83 19 E8 */ addi r4, r3, lbl_805719E8@l /* 801BBB2C 001B8A8C 80 7B 08 70 */ lwz r3, 0x870(r27) /* 801BBB30 001B8A90 4B E4 EE F1 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab lbl_801BBB34: /* 801BBB34 001B8A94 80 77 00 20 */ lwz r3, 0x20(r23) /* 801BBB38 001B8A98 39 20 00 00 */ li r9, 0 /* 801BBB3C 001B8A9C 39 00 00 01 */ li r8, 1 /* 801BBB40 001B8AA0 57 25 10 3A */ slwi r5, r25, 2 /* 801BBB44 001B8AA4 88 03 02 20 */ lbz r0, 0x220(r3) /* 801BBB48 001B8AA8 51 20 36 72 */ rlwimi r0, r9, 6, 0x19, 0x19 /* 801BBB4C 001B8AAC 38 82 A9 D0 */ addi r4, r2, lbl_805AC6F0@sda21 /* 801BBB50 001B8AB0 C0 02 A9 D8 */ lfs f0, lbl_805AC6F8@sda21(r2) /* 801BBB54 001B8AB4 98 03 02 20 */ stb r0, 0x220(r3) /* 801BBB58 001B8AB8 38 00 FF FF */ li r0, -1 /* 801BBB5C 001B8ABC 7C C4 28 2E */ lwzx r6, r4, r5 /* 801BBB60 001B8AC0 38 81 00 9C */ addi r4, r1, 0x9c /* 801BBB64 001B8AC4 88 E3 02 20 */ lbz r7, 0x220(r3) /* 801BBB68 001B8AC8 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 /* 801BBB6C 001B8ACC 38 A0 00 00 */ li r5, 0 /* 801BBB70 001B8AD0 98 E3 02 20 */ stb r7, 0x220(r3) /* 801BBB74 001B8AD4 90 C1 00 9C */ stw r6, 0x9c(r1) /* 801BBB78 001B8AD8 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801BBB7C 001B8ADC D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801BBB80 001B8AE0 99 01 00 A8 */ stb r8, 0xa8(r1) /* 801BBB84 001B8AE4 91 21 00 AC */ stw r9, 0xac(r1) /* 801BBB88 001B8AE8 91 21 00 B0 */ stw r9, 0xb0(r1) /* 801BBB8C 001B8AEC 99 21 00 B4 */ stb r9, 0xb4(r1) /* 801BBB90 001B8AF0 91 21 00 B8 */ stw r9, 0xb8(r1) /* 801BBB94 001B8AF4 91 21 00 BC */ stw r9, 0xbc(r1) /* 801BBB98 001B8AF8 91 21 00 C0 */ stw r9, 0xc0(r1) /* 801BBB9C 001B8AFC 4B E7 11 E1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801BBBA0 001B8B00 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 801BBBA4 001B8B04 CB E1 01 10 */ lfd f31, 0x110(r1) /* 801BBBA8 001B8B08 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 801BBBAC 001B8B0C CB C1 01 00 */ lfd f30, 0x100(r1) /* 801BBBB0 001B8B10 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 801BBBB4 001B8B14 CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 801BBBB8 001B8B18 BA C1 00 C8 */ lmw r22, 0xc8(r1) /* 801BBBBC 001B8B1C 80 01 01 24 */ lwz r0, 0x124(r1) /* 801BBBC0 001B8B20 7C 08 03 A6 */ mtlr r0 /* 801BBBC4 001B8B24 38 21 01 20 */ addi r1, r1, 0x120 /* 801BBBC8 001B8B28 4E 80 00 20 */ blr .global DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags: /* 801BBBCC 001B8B2C 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801BBBD0 001B8B30 7C 08 02 A6 */ mflr r0 /* 801BBBD4 001B8B34 90 01 01 04 */ stw r0, 0x104(r1) /* 801BBBD8 001B8B38 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801BBBDC 001B8B3C 7C DF 33 78 */ mr r31, r6 /* 801BBBE0 001B8B40 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 801BBBE4 001B8B44 7C 7E 1B 78 */ mr r30, r3 /* 801BBBE8 001B8B48 88 63 02 18 */ lbz r3, 0x218(r3) /* 801BBBEC 001B8B4C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801BBBF0 001B8B50 41 82 01 00 */ beq lbl_801BBCF0 /* 801BBBF4 001B8B54 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801BBBF8 001B8B58 41 82 00 1C */ beq lbl_801BBC14 /* 801BBBFC 001B8B5C 7F E7 FB 78 */ mr r7, r31 /* 801BBC00 001B8B60 38 7E 00 60 */ addi r3, r30, 0x60 /* 801BBC04 001B8B64 38 80 00 00 */ li r4, 0 /* 801BBC08 001B8B68 38 C0 00 00 */ li r6, 0 /* 801BBC0C 001B8B6C 4B F5 A3 B9 */ bl FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags /* 801BBC10 001B8B70 48 00 00 E0 */ b lbl_801BBCF0 lbl_801BBC14: /* 801BBC14 001B8B74 C0 5E 00 10 */ lfs f2, 0x10(r30) /* 801BBC18 001B8B78 7C A4 2B 78 */ mr r4, r5 /* 801BBC1C 001B8B7C C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801BBC20 001B8B80 38 61 00 74 */ addi r3, r1, 0x74 /* 801BBC24 001B8B84 C0 1E 00 18 */ lfs f0, 0x18(r30) /* 801BBC28 001B8B88 D0 41 00 08 */ stfs f2, 8(r1) /* 801BBC2C 001B8B8C D0 21 00 0C */ stfs f1, 0xc(r1) /* 801BBC30 001B8B90 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BBC34 001B8B94 48 15 6F 41 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801BBC38 001B8B98 C0 21 00 08 */ lfs f1, 8(r1) /* 801BBC3C 001B8B9C 38 61 00 44 */ addi r3, r1, 0x44 /* 801BBC40 001B8BA0 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801BBC44 001B8BA4 C0 61 00 10 */ lfs f3, 0x10(r1) /* 801BBC48 001B8BA8 48 15 75 C1 */ bl Scale__12CTransform4fFfff /* 801BBC4C 001B8BAC 38 61 00 14 */ addi r3, r1, 0x14 /* 801BBC50 001B8BB0 38 81 00 74 */ addi r4, r1, 0x74 /* 801BBC54 001B8BB4 38 A1 00 44 */ addi r5, r1, 0x44 /* 801BBC58 001B8BB8 48 15 6C F9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801BBC5C 001B8BBC 38 61 00 74 */ addi r3, r1, 0x74 /* 801BBC60 001B8BC0 38 81 00 14 */ addi r4, r1, 0x14 /* 801BBC64 001B8BC4 48 15 6E DD */ bl __as__12CTransform4fFRC12CTransform4f /* 801BBC68 001B8BC8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BBC6C 001B8BCC 38 81 00 74 */ addi r4, r1, 0x74 /* 801BBC70 001B8BD0 81 83 00 00 */ lwz r12, 0(r3) /* 801BBC74 001B8BD4 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801BBC78 001B8BD8 7D 89 03 A6 */ mtctr r12 /* 801BBC7C 001B8BDC 4E 80 04 21 */ bctrl /* 801BBC80 001B8BE0 48 15 0C FD */ bl DisableAllLights__9CGraphicsFv /* 801BBC84 001B8BE4 48 18 E3 29 */ bl White__6CColorFv /* 801BBC88 001B8BE8 7C 64 1B 78 */ mr r4, r3 /* 801BBC8C 001B8BEC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BBC90 001B8BF0 81 83 00 00 */ lwz r12, 0(r3) /* 801BBC94 001B8BF4 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801BBC98 001B8BF8 7D 89 03 A6 */ mtctr r12 /* 801BBC9C 001B8BFC 4E 80 04 21 */ bctrl /* 801BBCA0 001B8C00 38 00 00 00 */ li r0, 0 /* 801BBCA4 001B8C04 80 9E 00 70 */ lwz r4, 0x70(r30) /* 801BBCA8 001B8C08 98 01 00 EC */ stb r0, 0xec(r1) /* 801BBCAC 001B8C0C 7F E5 FB 78 */ mr r5, r31 /* 801BBCB0 001B8C10 80 7E 00 20 */ lwz r3, 0x20(r30) /* 801BBCB4 001B8C14 38 C1 00 A4 */ addi r6, r1, 0xa4 /* 801BBCB8 001B8C18 80 84 00 E0 */ lwz r4, 0xe0(r4) /* 801BBCBC 001B8C1C 38 E0 00 00 */ li r7, 0 /* 801BBCC0 001B8C20 4B E7 0C 5D */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" /* 801BBCC4 001B8C24 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801BBCC8 001B8C28 38 80 FF FF */ li r4, -1 /* 801BBCCC 001B8C2C 4B EB BF C1 */ bl sub_80077c8c /* 801BBCD0 001B8C30 48 18 E2 DD */ bl White__6CColorFv /* 801BBCD4 001B8C34 7C 64 1B 78 */ mr r4, r3 /* 801BBCD8 001B8C38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BBCDC 001B8C3C 81 83 00 00 */ lwz r12, 0(r3) /* 801BBCE0 001B8C40 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801BBCE4 001B8C44 7D 89 03 A6 */ mtctr r12 /* 801BBCE8 001B8C48 4E 80 04 21 */ bctrl /* 801BBCEC 001B8C4C 48 15 0C 91 */ bl DisableAllLights__9CGraphicsFv lbl_801BBCF0: /* 801BBCF0 001B8C50 80 01 01 04 */ lwz r0, 0x104(r1) /* 801BBCF4 001B8C54 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801BBCF8 001B8C58 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 801BBCFC 001B8C5C 7C 08 03 A6 */ mtlr r0 /* 801BBD00 001B8C60 38 21 01 00 */ addi r1, r1, 0x100 /* 801BBD04 001B8C64 4E 80 00 20 */ blr .global Draw__10CGunWeaponCFbRC13CStateManagerRC12CTransform4fRC11CModelFlagsPC12CActorLights Draw__10CGunWeaponCFbRC13CStateManagerRC12CTransform4fRC11CModelFlagsPC12CActorLights: /* 801BBD08 001B8C68 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801BBD0C 001B8C6C 7C 08 02 A6 */ mflr r0 /* 801BBD10 001B8C70 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801BBD14 001B8C74 BF 41 00 C8 */ stmw r26, 0xc8(r1) /* 801BBD18 001B8C78 7C 7A 1B 78 */ mr r26, r3 /* 801BBD1C 001B8C7C 7C 9B 23 78 */ mr r27, r4 /* 801BBD20 001B8C80 7C BC 2B 78 */ mr r28, r5 /* 801BBD24 001B8C84 7C DD 33 78 */ mr r29, r6 /* 801BBD28 001B8C88 7C FE 3B 78 */ mr r30, r7 /* 801BBD2C 001B8C8C 7D 1F 43 78 */ mr r31, r8 /* 801BBD30 001B8C90 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BBD34 001B8C94 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BBD38 001B8C98 41 82 02 3C */ beq lbl_801BBF74 /* 801BBD3C 001B8C9C 80 82 A9 CC */ lwz r4, lbl_805AC6EC@sda21(r2) /* 801BBD40 001B8CA0 38 61 00 28 */ addi r3, r1, 0x28 /* 801BBD44 001B8CA4 4B E4 8F 75 */ bl string_l__4rstlFPCc /* 801BBD48 001B8CA8 38 61 00 38 */ addi r3, r1, 0x38 /* 801BBD4C 001B8CAC 38 9A 00 10 */ addi r4, r26, 0x10 /* 801BBD50 001B8CB0 38 A1 00 28 */ addi r5, r1, 0x28 /* 801BBD54 001B8CB4 4B F5 9C 4D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801BBD58 001B8CB8 7F A4 EB 78 */ mr r4, r29 /* 801BBD5C 001B8CBC 38 61 00 68 */ addi r3, r1, 0x68 /* 801BBD60 001B8CC0 38 A1 00 38 */ addi r5, r1, 0x38 /* 801BBD64 001B8CC4 48 15 6B ED */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801BBD68 001B8CC8 38 61 00 98 */ addi r3, r1, 0x98 /* 801BBD6C 001B8CCC 38 81 00 68 */ addi r4, r1, 0x68 /* 801BBD70 001B8CD0 48 15 6E 05 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801BBD74 001B8CD4 38 61 00 28 */ addi r3, r1, 0x28 /* 801BBD78 001B8CD8 48 18 1D 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801BBD7C 001B8CDC 80 7A 01 BC */ lwz r3, 0x1bc(r26) /* 801BBD80 001B8CE0 28 03 00 00 */ cmplwi r3, 0 /* 801BBD84 001B8CE4 41 82 00 1C */ beq lbl_801BBDA0 /* 801BBD88 001B8CE8 88 03 00 48 */ lbz r0, 0x48(r3) /* 801BBD8C 001B8CEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801BBD90 001B8CF0 41 82 00 10 */ beq lbl_801BBDA0 /* 801BBD94 001B8CF4 3C 80 80 1C */ lis r4, PointGenerator__10CGunWeaponFPvPC9CVector3fPC9CVector3fi@ha /* 801BBD98 001B8CF8 38 84 A4 7C */ addi r4, r4, PointGenerator__10CGunWeaponFPvPC9CVector3fPC9CVector3fi@l /* 801BBD9C 001B8CFC 48 19 69 79 */ bl SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v lbl_801BBDA0: /* 801BBDA0 001B8D00 80 1C 0F 34 */ lwz r0, 0xf34(r28) /* 801BBDA4 001B8D04 2C 00 00 00 */ cmpwi r0, 0 /* 801BBDA8 001B8D08 40 82 01 08 */ bne lbl_801BBEB0 /* 801BBDAC 001B8D0C 80 1A 02 00 */ lwz r0, 0x200(r26) /* 801BBDB0 001B8D10 2C 00 00 01 */ cmpwi r0, 1 /* 801BBDB4 001B8D14 41 82 00 FC */ beq lbl_801BBEB0 /* 801BBDB8 001B8D18 E0 3E A0 07 */ psq_l f1, 7(r30), 1, qr2 /* 801BBDBC 001B8D1C 38 61 00 0C */ addi r3, r1, 0xc /* 801BBDC0 001B8D20 C0 02 A9 E8 */ lfs f0, lbl_805AC708@sda21(r2) /* 801BBDC4 001B8D24 EC 20 00 72 */ fmuls f1, f0, f1 /* 801BBDC8 001B8D28 FC 40 08 90 */ fmr f2, f1 /* 801BBDCC 001B8D2C FC 60 08 90 */ fmr f3, f1 /* 801BBDD0 001B8D30 FC 80 08 90 */ fmr f4, f1 /* 801BBDD4 001B8D34 48 1A 76 19 */ bl __ct__6CColorFffff /* 801BBDD8 001B8D38 88 1A 02 18 */ lbz r0, 0x218(r26) /* 801BBDDC 001B8D3C 38 60 00 40 */ li r3, 0x40 /* 801BBDE0 001B8D40 98 61 00 08 */ stb r3, 8(r1) /* 801BBDE4 001B8D44 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801BBDE8 001B8D48 98 61 00 09 */ stb r3, 9(r1) /* 801BBDEC 001B8D4C 98 61 00 0A */ stb r3, 0xa(r1) /* 801BBDF0 001B8D50 98 61 00 0B */ stb r3, 0xb(r1) /* 801BBDF4 001B8D54 41 82 00 1C */ beq lbl_801BBE10 /* 801BBDF8 001B8D58 7F 43 D3 78 */ mr r3, r26 /* 801BBDFC 001B8D5C 7F 84 E3 78 */ mr r4, r28 /* 801BBE00 001B8D60 7F A5 EB 78 */ mr r5, r29 /* 801BBE04 001B8D64 7F C6 F3 78 */ mr r6, r30 /* 801BBE08 001B8D68 4B FF FD C5 */ bl DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags /* 801BBE0C 001B8D6C 48 00 00 48 */ b lbl_801BBE54 lbl_801BBE10: /* 801BBE10 001B8D70 C0 22 A9 D8 */ lfs f1, lbl_805AC6F8@sda21(r2) /* 801BBE14 001B8D74 38 80 00 00 */ li r4, 0 /* 801BBE18 001B8D78 38 00 00 03 */ li r0, 3 /* 801BBE1C 001B8D7C 98 81 00 20 */ stb r4, 0x20(r1) /* 801BBE20 001B8D80 FC 40 08 90 */ fmr f2, f1 /* 801BBE24 001B8D84 38 61 00 24 */ addi r3, r1, 0x24 /* 801BBE28 001B8D88 FC 60 08 90 */ fmr f3, f1 /* 801BBE2C 001B8D8C 98 81 00 21 */ stb r4, 0x21(r1) /* 801BBE30 001B8D90 FC 80 08 90 */ fmr f4, f1 /* 801BBE34 001B8D94 B0 01 00 22 */ sth r0, 0x22(r1) /* 801BBE38 001B8D98 48 1A 75 B5 */ bl __ct__6CColorFffff /* 801BBE3C 001B8D9C 7F A4 EB 78 */ mr r4, r29 /* 801BBE40 001B8DA0 38 7A 00 10 */ addi r3, r26, 0x10 /* 801BBE44 001B8DA4 38 A1 00 0C */ addi r5, r1, 0xc /* 801BBE48 001B8DA8 38 C1 00 08 */ addi r6, r1, 8 /* 801BBE4C 001B8DAC 38 E1 00 20 */ addi r7, r1, 0x20 /* 801BBE50 001B8DB0 4B F5 A4 51 */ bl RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags lbl_801BBE54: /* 801BBE54 001B8DB4 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801BBE58 001B8DB8 41 82 00 F4 */ beq lbl_801BBF4C /* 801BBE5C 001B8DBC 88 1A 00 FC */ lbz r0, 0xfc(r26) /* 801BBE60 001B8DC0 28 00 00 00 */ cmplwi r0, 0 /* 801BBE64 001B8DC4 41 82 00 E8 */ beq lbl_801BBF4C /* 801BBE68 001B8DC8 C0 22 A9 D8 */ lfs f1, lbl_805AC6F8@sda21(r2) /* 801BBE6C 001B8DCC 38 80 00 00 */ li r4, 0 /* 801BBE70 001B8DD0 38 00 00 03 */ li r0, 3 /* 801BBE74 001B8DD4 98 81 00 18 */ stb r4, 0x18(r1) /* 801BBE78 001B8DD8 FC 40 08 90 */ fmr f2, f1 /* 801BBE7C 001B8DDC 38 61 00 1C */ addi r3, r1, 0x1c /* 801BBE80 001B8DE0 FC 60 08 90 */ fmr f3, f1 /* 801BBE84 001B8DE4 98 81 00 19 */ stb r4, 0x19(r1) /* 801BBE88 001B8DE8 FC 80 08 90 */ fmr f4, f1 /* 801BBE8C 001B8DEC B0 01 00 1A */ sth r0, 0x1a(r1) /* 801BBE90 001B8DF0 48 1A 75 5D */ bl __ct__6CColorFffff /* 801BBE94 001B8DF4 7F A4 EB 78 */ mr r4, r29 /* 801BBE98 001B8DF8 38 7A 00 B0 */ addi r3, r26, 0xb0 /* 801BBE9C 001B8DFC 38 A1 00 0C */ addi r5, r1, 0xc /* 801BBEA0 001B8E00 38 C1 00 08 */ addi r6, r1, 8 /* 801BBEA4 001B8E04 38 E1 00 18 */ addi r7, r1, 0x18 /* 801BBEA8 001B8E08 4B F5 A3 F9 */ bl RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags /* 801BBEAC 001B8E0C 48 00 00 A0 */ b lbl_801BBF4C lbl_801BBEB0: /* 801BBEB0 001B8E10 80 7C 08 B8 */ lwz r3, 0x8b8(r28) /* 801BBEB4 001B8E14 80 63 00 00 */ lwz r3, 0(r3) /* 801BBEB8 001B8E18 80 03 00 14 */ lwz r0, 0x14(r3) /* 801BBEBC 001B8E1C 2C 00 00 01 */ cmpwi r0, 1 /* 801BBEC0 001B8E20 41 82 00 4C */ beq lbl_801BBF0C /* 801BBEC4 001B8E24 88 1A 02 18 */ lbz r0, 0x218(r26) /* 801BBEC8 001B8E28 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801BBECC 001B8E2C 40 82 00 40 */ bne lbl_801BBF0C /* 801BBED0 001B8E30 81 3A 02 0C */ lwz r9, 0x20c(r26) /* 801BBED4 001B8E34 7F 84 E3 78 */ mr r4, r28 /* 801BBED8 001B8E38 88 7E 00 00 */ lbz r3, 0(r30) /* 801BBEDC 001B8E3C 7F A5 EB 78 */ mr r5, r29 /* 801BBEE0 001B8E40 A1 1E 00 02 */ lhz r8, 2(r30) /* 801BBEE4 001B8E44 7F E6 FB 78 */ mr r6, r31 /* 801BBEE8 001B8E48 80 1E 00 04 */ lwz r0, 4(r30) /* 801BBEEC 001B8E4C 38 E1 00 10 */ addi r7, r1, 0x10 /* 801BBEF0 001B8E50 98 61 00 10 */ stb r3, 0x10(r1) /* 801BBEF4 001B8E54 38 7A 00 10 */ addi r3, r26, 0x10 /* 801BBEF8 001B8E58 99 21 00 11 */ stb r9, 0x11(r1) /* 801BBEFC 001B8E5C B1 01 00 12 */ sth r8, 0x12(r1) /* 801BBF00 001B8E60 90 01 00 14 */ stw r0, 0x14(r1) /* 801BBF04 001B8E64 4B F5 8E B9 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 801BBF08 001B8E68 48 00 00 18 */ b lbl_801BBF20 lbl_801BBF0C: /* 801BBF0C 001B8E6C 7F 43 D3 78 */ mr r3, r26 /* 801BBF10 001B8E70 7F 84 E3 78 */ mr r4, r28 /* 801BBF14 001B8E74 7F A5 EB 78 */ mr r5, r29 /* 801BBF18 001B8E78 7F C6 F3 78 */ mr r6, r30 /* 801BBF1C 001B8E7C 4B FF FC B1 */ bl DrawHologram__10CGunWeaponCFRC13CStateManagerRC12CTransform4fRC11CModelFlags lbl_801BBF20: /* 801BBF20 001B8E80 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 801BBF24 001B8E84 41 82 00 28 */ beq lbl_801BBF4C /* 801BBF28 001B8E88 88 1A 00 FC */ lbz r0, 0xfc(r26) /* 801BBF2C 001B8E8C 28 00 00 00 */ cmplwi r0, 0 /* 801BBF30 001B8E90 41 82 00 1C */ beq lbl_801BBF4C /* 801BBF34 001B8E94 7F 84 E3 78 */ mr r4, r28 /* 801BBF38 001B8E98 7F E6 FB 78 */ mr r6, r31 /* 801BBF3C 001B8E9C 7F C7 F3 78 */ mr r7, r30 /* 801BBF40 001B8EA0 38 7A 00 B0 */ addi r3, r26, 0xb0 /* 801BBF44 001B8EA4 38 A1 00 98 */ addi r5, r1, 0x98 /* 801BBF48 001B8EA8 4B F5 8E 75 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_801BBF4C: /* 801BBF4C 001B8EAC 80 7A 01 BC */ lwz r3, 0x1bc(r26) /* 801BBF50 001B8EB0 28 03 00 00 */ cmplwi r3, 0 /* 801BBF54 001B8EB4 41 82 00 20 */ beq lbl_801BBF74 /* 801BBF58 001B8EB8 88 03 00 48 */ lbz r0, 0x48(r3) /* 801BBF5C 001B8EBC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801BBF60 001B8EC0 41 82 00 14 */ beq lbl_801BBF74 /* 801BBF64 001B8EC4 48 19 67 A5 */ bl ClearPointGeneratorFunc__13CSkinnedModelFv /* 801BBF68 001B8EC8 80 7A 01 BC */ lwz r3, 0x1bc(r26) /* 801BBF6C 001B8ECC 7F A4 EB 78 */ mr r4, r29 /* 801BBF70 001B8ED0 48 0A E4 51 */ bl Draw__20CRainSplashGeneratorCFRC12CTransform4f lbl_801BBF74: /* 801BBF74 001B8ED4 BB 41 00 C8 */ lmw r26, 0xc8(r1) /* 801BBF78 001B8ED8 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801BBF7C 001B8EDC 7C 08 03 A6 */ mtlr r0 /* 801BBF80 001B8EE0 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801BBF84 001B8EE4 4E 80 00 20 */ blr .global ActivateCharge__10CGunWeaponFbb ActivateCharge__10CGunWeaponFbb: /* 801BBF88 001B8EE8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BBF8C 001B8EEC 7C 08 02 A6 */ mflr r0 /* 801BBF90 001B8EF0 90 01 00 34 */ stw r0, 0x34(r1) /* 801BBF94 001B8EF4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801BBF98 001B8EF8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801BBF9C 001B8EFC 7C 7E 1B 78 */ mr r30, r3 /* 801BBFA0 001B8F00 3B FE 01 A8 */ addi r31, r30, 0x1a8 /* 801BBFA4 001B8F04 93 A1 00 24 */ stw r29, 0x24(r1) /* 801BBFA8 001B8F08 7C 9D 23 78 */ mr r29, r4 /* 801BBFAC 001B8F0C 38 80 00 00 */ li r4, 0 /* 801BBFB0 001B8F10 93 81 00 20 */ stw r28, 0x20(r1) /* 801BBFB4 001B8F14 7C BC 2B 78 */ mr r28, r5 /* 801BBFB8 001B8F18 80 03 02 08 */ lwz r0, 0x208(r3) /* 801BBFBC 001B8F1C 54 00 18 38 */ slwi r0, r0, 3 /* 801BBFC0 001B8F20 7C 7F 02 14 */ add r3, r31, r0 /* 801BBFC4 001B8F24 80 63 00 04 */ lwz r3, 4(r3) /* 801BBFC8 001B8F28 81 83 00 00 */ lwz r12, 0(r3) /* 801BBFCC 001B8F2C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BBFD0 001B8F30 7D 89 03 A6 */ mtctr r12 /* 801BBFD4 001B8F34 4E 80 04 21 */ bctrl /* 801BBFD8 001B8F38 57 A3 06 3F */ clrlwi. r3, r29, 0x18 /* 801BBFDC 001B8F3C 7C 03 00 D0 */ neg r0, r3 /* 801BBFE0 001B8F40 7C 00 1B 78 */ or r0, r0, r3 /* 801BBFE4 001B8F44 54 00 0F FE */ srwi r0, r0, 0x1f /* 801BBFE8 001B8F48 90 1E 02 08 */ stw r0, 0x208(r30) /* 801BBFEC 001B8F4C 40 82 00 0C */ bne lbl_801BBFF8 /* 801BBFF0 001B8F50 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801BBFF4 001B8F54 41 82 01 0C */ beq lbl_801BC100 lbl_801BBFF8: /* 801BBFF8 001B8F58 3C 60 80 3D */ lis r3, lbl_803D1828@ha /* 801BBFFC 001B8F5C 3B A0 00 00 */ li r29, 0 /* 801BC000 001B8F60 38 83 18 28 */ addi r4, r3, lbl_803D1828@l /* 801BC004 001B8F64 38 60 03 40 */ li r3, 0x340 /* 801BC008 001B8F68 38 84 01 B5 */ addi r4, r4, 0x1b5 /* 801BC00C 001B8F6C 38 A0 00 00 */ li r5, 0 /* 801BC010 001B8F70 48 15 98 5D */ bl __nw__FUlPCcPCc /* 801BC014 001B8F74 7C 7C 1B 79 */ or. r28, r3, r3 /* 801BC018 001B8F78 41 82 00 38 */ beq lbl_801BC050 /* 801BC01C 001B8F7C 80 1E 02 08 */ lwz r0, 0x208(r30) /* 801BC020 001B8F80 38 61 00 10 */ addi r3, r1, 0x10 /* 801BC024 001B8F84 1C 00 00 0C */ mulli r0, r0, 0xc /* 801BC028 001B8F88 7C 9E 02 14 */ add r4, r30, r0 /* 801BC02C 001B8F8C 38 84 01 70 */ addi r4, r4, 0x170 /* 801BC030 001B8F90 48 18 4E 79 */ bl __ct__6CTokenFRC6CToken /* 801BC034 001B8F94 7F 83 E3 78 */ mr r3, r28 /* 801BC038 001B8F98 38 81 00 10 */ addi r4, r1, 0x10 /* 801BC03C 001B8F9C 3B A0 00 01 */ li r29, 1 /* 801BC040 001B8FA0 38 A0 00 00 */ li r5, 0 /* 801BC044 001B8FA4 38 C0 00 01 */ li r6, 1 /* 801BC048 001B8FA8 48 16 33 99 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801BC04C 001B8FAC 7C 7C 1B 78 */ mr r28, r3 lbl_801BC050: /* 801BC050 001B8FB0 7C 1C 00 D0 */ neg r0, r28 /* 801BC054 001B8FB4 93 81 00 0C */ stw r28, 0xc(r1) /* 801BC058 001B8FB8 7C 03 E3 78 */ or r3, r0, r28 /* 801BC05C 001B8FBC 38 01 00 08 */ addi r0, r1, 8 /* 801BC060 001B8FC0 54 63 0F FE */ srwi r3, r3, 0x1f /* 801BC064 001B8FC4 98 61 00 08 */ stb r3, 8(r1) /* 801BC068 001B8FC8 80 7E 02 08 */ lwz r3, 0x208(r30) /* 801BC06C 001B8FCC 54 63 18 38 */ slwi r3, r3, 3 /* 801BC070 001B8FD0 7F 9F 1A 14 */ add r28, r31, r3 /* 801BC074 001B8FD4 7C 00 E0 40 */ cmplw r0, r28 /* 801BC078 001B8FD8 41 82 00 48 */ beq lbl_801BC0C0 /* 801BC07C 001B8FDC 88 1C 00 00 */ lbz r0, 0(r28) /* 801BC080 001B8FE0 28 00 00 00 */ cmplwi r0, 0 /* 801BC084 001B8FE4 41 82 00 24 */ beq lbl_801BC0A8 /* 801BC088 001B8FE8 80 7C 00 04 */ lwz r3, 4(r28) /* 801BC08C 001B8FEC 28 03 00 00 */ cmplwi r3, 0 /* 801BC090 001B8FF0 41 82 00 18 */ beq lbl_801BC0A8 /* 801BC094 001B8FF4 81 83 00 00 */ lwz r12, 0(r3) /* 801BC098 001B8FF8 38 80 00 01 */ li r4, 1 /* 801BC09C 001B8FFC 81 8C 00 08 */ lwz r12, 8(r12) /* 801BC0A0 001B9000 7D 89 03 A6 */ mtctr r12 /* 801BC0A4 001B9004 4E 80 04 21 */ bctrl lbl_801BC0A8: /* 801BC0A8 001B9008 88 61 00 08 */ lbz r3, 8(r1) /* 801BC0AC 001B900C 38 00 00 00 */ li r0, 0 /* 801BC0B0 001B9010 98 7C 00 00 */ stb r3, 0(r28) /* 801BC0B4 001B9014 80 61 00 0C */ lwz r3, 0xc(r1) /* 801BC0B8 001B9018 90 7C 00 04 */ stw r3, 4(r28) /* 801BC0BC 001B901C 98 01 00 08 */ stb r0, 8(r1) lbl_801BC0C0: /* 801BC0C0 001B9020 88 01 00 08 */ lbz r0, 8(r1) /* 801BC0C4 001B9024 28 00 00 00 */ cmplwi r0, 0 /* 801BC0C8 001B9028 41 82 00 24 */ beq lbl_801BC0EC /* 801BC0CC 001B902C 80 61 00 0C */ lwz r3, 0xc(r1) /* 801BC0D0 001B9030 28 03 00 00 */ cmplwi r3, 0 /* 801BC0D4 001B9034 41 82 00 18 */ beq lbl_801BC0EC /* 801BC0D8 001B9038 81 83 00 00 */ lwz r12, 0(r3) /* 801BC0DC 001B903C 38 80 00 01 */ li r4, 1 /* 801BC0E0 001B9040 81 8C 00 08 */ lwz r12, 8(r12) /* 801BC0E4 001B9044 7D 89 03 A6 */ mtctr r12 /* 801BC0E8 001B9048 4E 80 04 21 */ bctrl lbl_801BC0EC: /* 801BC0EC 001B904C 7F A0 07 75 */ extsb. r0, r29 /* 801BC0F0 001B9050 41 82 00 10 */ beq lbl_801BC100 /* 801BC0F4 001B9054 38 61 00 10 */ addi r3, r1, 0x10 /* 801BC0F8 001B9058 38 80 00 00 */ li r4, 0 /* 801BC0FC 001B905C 48 18 4D 45 */ bl __dt__6CTokenFv lbl_801BC100: /* 801BC100 001B9060 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BC104 001B9064 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801BC108 001B9068 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801BC10C 001B906C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801BC110 001B9070 83 81 00 20 */ lwz r28, 0x20(r1) /* 801BC114 001B9074 7C 08 03 A6 */ mtlr r0 /* 801BC118 001B9078 38 21 00 30 */ addi r1, r1, 0x30 /* 801BC11C 001B907C 4E 80 00 20 */ blr .global DrawMuzzleFx__10CGunWeaponCFRC13CStateManager DrawMuzzleFx__10CGunWeaponCFRC13CStateManager: /* 801BC120 001B9080 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BC124 001B9084 7C 08 02 A6 */ mflr r0 /* 801BC128 001B9088 90 01 00 14 */ stw r0, 0x14(r1) /* 801BC12C 001B908C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BC130 001B9090 93 C1 00 08 */ stw r30, 8(r1) /* 801BC134 001B9094 7C 7E 1B 78 */ mr r30, r3 /* 801BC138 001B9098 3B FE 01 A8 */ addi r31, r30, 0x1a8 /* 801BC13C 001B909C 80 03 02 08 */ lwz r0, 0x208(r3) /* 801BC140 001B90A0 54 00 18 38 */ slwi r0, r0, 3 /* 801BC144 001B90A4 7C 7F 02 14 */ add r3, r31, r0 /* 801BC148 001B90A8 80 03 00 04 */ lwz r0, 4(r3) /* 801BC14C 001B90AC 28 00 00 00 */ cmplwi r0, 0 /* 801BC150 001B90B0 41 82 00 78 */ beq lbl_801BC1C8 /* 801BC154 001B90B4 80 1E 02 00 */ lwz r0, 0x200(r30) /* 801BC158 001B90B8 2C 00 00 01 */ cmpwi r0, 1 /* 801BC15C 001B90BC 41 82 00 4C */ beq lbl_801BC1A8 /* 801BC160 001B90C0 80 64 08 B8 */ lwz r3, 0x8b8(r4) /* 801BC164 001B90C4 80 63 00 00 */ lwz r3, 0(r3) /* 801BC168 001B90C8 4B ED 53 F1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801BC16C 001B90CC 2C 03 00 01 */ cmpwi r3, 1 /* 801BC170 001B90D0 40 82 00 38 */ bne lbl_801BC1A8 /* 801BC174 001B90D4 80 1E 02 08 */ lwz r0, 0x208(r30) /* 801BC178 001B90D8 38 60 00 01 */ li r3, 1 /* 801BC17C 001B90DC 98 6D A8 B9 */ stb r3, lbl_805A9479@sda21(r13) /* 801BC180 001B90E0 54 03 18 38 */ slwi r3, r0, 3 /* 801BC184 001B90E4 38 03 00 04 */ addi r0, r3, 4 /* 801BC188 001B90E8 7C 7F 00 2E */ lwzx r3, r31, r0 /* 801BC18C 001B90EC 81 83 00 00 */ lwz r12, 0(r3) /* 801BC190 001B90F0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BC194 001B90F4 7D 89 03 A6 */ mtctr r12 /* 801BC198 001B90F8 4E 80 04 21 */ bctrl /* 801BC19C 001B90FC 38 00 00 00 */ li r0, 0 /* 801BC1A0 001B9100 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 801BC1A4 001B9104 48 00 00 24 */ b lbl_801BC1C8 lbl_801BC1A8: /* 801BC1A8 001B9108 80 1E 02 08 */ lwz r0, 0x208(r30) /* 801BC1AC 001B910C 54 03 18 38 */ slwi r3, r0, 3 /* 801BC1B0 001B9110 38 03 00 04 */ addi r0, r3, 4 /* 801BC1B4 001B9114 7C 7F 00 2E */ lwzx r3, r31, r0 /* 801BC1B8 001B9118 81 83 00 00 */ lwz r12, 0(r3) /* 801BC1BC 001B911C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BC1C0 001B9120 7D 89 03 A6 */ mtctr r12 /* 801BC1C4 001B9124 4E 80 04 21 */ bctrl lbl_801BC1C8: /* 801BC1C8 001B9128 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BC1CC 001B912C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BC1D0 001B9130 83 C1 00 08 */ lwz r30, 8(r1) /* 801BC1D4 001B9134 7C 08 03 A6 */ mtlr r0 /* 801BC1D8 001B9138 38 21 00 10 */ addi r1, r1, 0x10 /* 801BC1DC 001B913C 4E 80 00 20 */ blr .global GetChargeMuzzleFx__10CGunWeaponCFv GetChargeMuzzleFx__10CGunWeaponCFv: /* 801BC1E0 001B9140 80 63 01 B4 */ lwz r3, 0x1b4(r3) /* 801BC1E4 001B9144 28 03 00 00 */ cmplwi r3, 0 /* 801BC1E8 001B9148 4C 82 00 20 */ bnelr /* 801BC1EC 001B914C 38 60 00 00 */ li r3, 0 /* 801BC1F0 001B9150 4E 80 00 20 */ blr .global UpdateMuzzleFx__10CGunWeaponFfRC9CVector3fRC9CVector3fb UpdateMuzzleFx__10CGunWeaponFfRC9CVector3fRC9CVector3fb: /* 801BC1F4 001B9154 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801BC1F8 001B9158 7C 08 02 A6 */ mflr r0 /* 801BC1FC 001B915C 90 01 00 24 */ stw r0, 0x24(r1) /* 801BC200 001B9160 DB E1 00 18 */ stfd f31, 0x18(r1) /* 801BC204 001B9164 FF E0 08 90 */ fmr f31, f1 /* 801BC208 001B9168 93 E1 00 14 */ stw r31, 0x14(r1) /* 801BC20C 001B916C 93 C1 00 10 */ stw r30, 0x10(r1) /* 801BC210 001B9170 7C DE 33 78 */ mr r30, r6 /* 801BC214 001B9174 93 A1 00 0C */ stw r29, 0xc(r1) /* 801BC218 001B9178 7C 9D 23 78 */ mr r29, r4 /* 801BC21C 001B917C 7C A4 2B 78 */ mr r4, r5 /* 801BC220 001B9180 93 81 00 08 */ stw r28, 8(r1) /* 801BC224 001B9184 7C 7C 1B 78 */ mr r28, r3 /* 801BC228 001B9188 3B FC 01 A8 */ addi r31, r28, 0x1a8 /* 801BC22C 001B918C 80 03 02 08 */ lwz r0, 0x208(r3) /* 801BC230 001B9190 54 00 18 38 */ slwi r0, r0, 3 /* 801BC234 001B9194 7C 7F 02 14 */ add r3, r31, r0 /* 801BC238 001B9198 80 63 00 04 */ lwz r3, 4(r3) /* 801BC23C 001B919C 81 83 00 00 */ lwz r12, 0(r3) /* 801BC240 001B91A0 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801BC244 001B91A4 7D 89 03 A6 */ mtctr r12 /* 801BC248 001B91A8 4E 80 04 21 */ bctrl /* 801BC24C 001B91AC 80 1C 02 08 */ lwz r0, 0x208(r28) /* 801BC250 001B91B0 7F A4 EB 78 */ mr r4, r29 /* 801BC254 001B91B4 54 03 18 38 */ slwi r3, r0, 3 /* 801BC258 001B91B8 38 03 00 04 */ addi r0, r3, 4 /* 801BC25C 001B91BC 7C 7F 00 2E */ lwzx r3, r31, r0 /* 801BC260 001B91C0 81 83 00 00 */ lwz r12, 0(r3) /* 801BC264 001B91C4 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801BC268 001B91C8 7D 89 03 A6 */ mtctr r12 /* 801BC26C 001B91CC 4E 80 04 21 */ bctrl /* 801BC270 001B91D0 80 1C 02 08 */ lwz r0, 0x208(r28) /* 801BC274 001B91D4 7F C4 F3 78 */ mr r4, r30 /* 801BC278 001B91D8 54 03 18 38 */ slwi r3, r0, 3 /* 801BC27C 001B91DC 38 03 00 04 */ addi r0, r3, 4 /* 801BC280 001B91E0 7C 7F 00 2E */ lwzx r3, r31, r0 /* 801BC284 001B91E4 81 83 00 00 */ lwz r12, 0(r3) /* 801BC288 001B91E8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BC28C 001B91EC 7D 89 03 A6 */ mtctr r12 /* 801BC290 001B91F0 4E 80 04 21 */ bctrl /* 801BC294 001B91F4 80 1C 02 08 */ lwz r0, 0x208(r28) /* 801BC298 001B91F8 FC 20 F8 90 */ fmr f1, f31 /* 801BC29C 001B91FC 54 03 18 38 */ slwi r3, r0, 3 /* 801BC2A0 001B9200 38 03 00 04 */ addi r0, r3, 4 /* 801BC2A4 001B9204 7C 7F 00 2E */ lwzx r3, r31, r0 /* 801BC2A8 001B9208 81 83 00 00 */ lwz r12, 0(r3) /* 801BC2AC 001B920C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BC2B0 001B9210 7D 89 03 A6 */ mtctr r12 /* 801BC2B4 001B9214 4E 80 04 21 */ bctrl /* 801BC2B8 001B9218 80 01 00 24 */ lwz r0, 0x24(r1) /* 801BC2BC 001B921C CB E1 00 18 */ lfd f31, 0x18(r1) /* 801BC2C0 001B9220 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801BC2C4 001B9224 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801BC2C8 001B9228 83 A1 00 0C */ lwz r29, 0xc(r1) /* 801BC2CC 001B922C 83 81 00 08 */ lwz r28, 8(r1) /* 801BC2D0 001B9230 7C 08 03 A6 */ mtlr r0 /* 801BC2D4 001B9234 38 21 00 20 */ addi r1, r1, 0x20 /* 801BC2D8 001B9238 4E 80 00 20 */ blr .global UpdateGunFx__10CGunWeaponFbfRC13CStateManagerRC12CTransform4f UpdateGunFx__10CGunWeaponFbfRC13CStateManagerRC12CTransform4f: /* 801BC2DC 001B923C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801BC2E0 001B9240 7C 08 02 A6 */ mflr r0 /* 801BC2E4 001B9244 90 01 00 74 */ stw r0, 0x74(r1) /* 801BC2E8 001B9248 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801BC2EC 001B924C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801BC2F0 001B9250 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801BC2F4 001B9254 93 C1 00 58 */ stw r30, 0x58(r1) /* 801BC2F8 001B9258 93 A1 00 54 */ stw r29, 0x54(r1) /* 801BC2FC 001B925C 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC300 001B9260 FF E0 08 90 */ fmr f31, f1 /* 801BC304 001B9264 7C 7D 1B 78 */ mr r29, r3 /* 801BC308 001B9268 7C DE 33 78 */ mr r30, r6 /* 801BC30C 001B926C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BC310 001B9270 41 82 00 F0 */ beq lbl_801BC400 /* 801BC314 001B9274 80 1D 02 04 */ lwz r0, 0x204(r29) /* 801BC318 001B9278 2C 00 00 00 */ cmpwi r0, 0 /* 801BC31C 001B927C 41 82 00 E4 */ beq lbl_801BC400 /* 801BC320 001B9280 2C 00 00 02 */ cmpwi r0, 2 /* 801BC324 001B9284 40 82 00 B0 */ bne lbl_801BC3D4 /* 801BC328 001B9288 80 7D 01 B8 */ lwz r3, 0x1b8(r29) /* 801BC32C 001B928C 81 83 00 00 */ lwz r12, 0(r3) /* 801BC330 001B9290 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801BC334 001B9294 7D 89 03 A6 */ mtctr r12 /* 801BC338 001B9298 4E 80 04 21 */ bctrl /* 801BC33C 001B929C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BC340 001B92A0 41 82 00 38 */ beq lbl_801BC378 /* 801BC344 001B92A4 38 00 00 00 */ li r0, 0 /* 801BC348 001B92A8 90 1D 02 04 */ stw r0, 0x204(r29) /* 801BC34C 001B92AC 80 7D 01 B8 */ lwz r3, 0x1b8(r29) /* 801BC350 001B92B0 28 03 00 00 */ cmplwi r3, 0 /* 801BC354 001B92B4 41 82 00 18 */ beq lbl_801BC36C /* 801BC358 001B92B8 81 83 00 00 */ lwz r12, 0(r3) /* 801BC35C 001B92BC 38 80 00 01 */ li r4, 1 /* 801BC360 001B92C0 81 8C 00 08 */ lwz r12, 8(r12) /* 801BC364 001B92C4 7D 89 03 A6 */ mtctr r12 /* 801BC368 001B92C8 4E 80 04 21 */ bctrl lbl_801BC36C: /* 801BC36C 001B92CC 38 00 00 00 */ li r0, 0 /* 801BC370 001B92D0 90 1D 01 B8 */ stw r0, 0x1b8(r29) /* 801BC374 001B92D4 48 00 00 6C */ b lbl_801BC3E0 lbl_801BC378: /* 801BC378 001B92D8 C0 5E 00 2C */ lfs f2, 0x2c(r30) /* 801BC37C 001B92DC 38 81 00 08 */ addi r4, r1, 8 /* 801BC380 001B92E0 C0 3E 00 1C */ lfs f1, 0x1c(r30) /* 801BC384 001B92E4 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801BC388 001B92E8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801BC38C 001B92EC D0 01 00 08 */ stfs f0, 8(r1) /* 801BC390 001B92F0 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801BC394 001B92F4 80 7D 01 B8 */ lwz r3, 0x1b8(r29) /* 801BC398 001B92F8 81 83 00 00 */ lwz r12, 0(r3) /* 801BC39C 001B92FC 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801BC3A0 001B9300 7D 89 03 A6 */ mtctr r12 /* 801BC3A4 001B9304 4E 80 04 21 */ bctrl /* 801BC3A8 001B9308 83 FD 01 B8 */ lwz r31, 0x1b8(r29) /* 801BC3AC 001B930C 7F C4 F3 78 */ mr r4, r30 /* 801BC3B0 001B9310 38 61 00 14 */ addi r3, r1, 0x14 /* 801BC3B4 001B9314 48 15 68 8D */ bl GetRotation__12CTransform4fCFv /* 801BC3B8 001B9318 7F E3 FB 78 */ mr r3, r31 /* 801BC3BC 001B931C 38 81 00 14 */ addi r4, r1, 0x14 /* 801BC3C0 001B9320 81 9F 00 00 */ lwz r12, 0(r31) /* 801BC3C4 001B9324 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801BC3C8 001B9328 7D 89 03 A6 */ mtctr r12 /* 801BC3CC 001B932C 4E 80 04 21 */ bctrl /* 801BC3D0 001B9330 48 00 00 10 */ b lbl_801BC3E0 lbl_801BC3D4: /* 801BC3D4 001B9334 80 7D 01 B8 */ lwz r3, 0x1b8(r29) /* 801BC3D8 001B9338 7F C4 F3 78 */ mr r4, r30 /* 801BC3DC 001B933C 48 16 27 A9 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f lbl_801BC3E0: /* 801BC3E0 001B9340 80 7D 01 B8 */ lwz r3, 0x1b8(r29) /* 801BC3E4 001B9344 28 03 00 00 */ cmplwi r3, 0 /* 801BC3E8 001B9348 41 82 00 18 */ beq lbl_801BC400 /* 801BC3EC 001B934C 81 83 00 00 */ lwz r12, 0(r3) /* 801BC3F0 001B9350 FC 20 F8 90 */ fmr f1, f31 /* 801BC3F4 001B9354 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BC3F8 001B9358 7D 89 03 A6 */ mtctr r12 /* 801BC3FC 001B935C 4E 80 04 21 */ bctrl lbl_801BC400: /* 801BC400 001B9360 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801BC404 001B9364 80 01 00 74 */ lwz r0, 0x74(r1) /* 801BC408 001B9368 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801BC40C 001B936C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801BC410 001B9370 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801BC414 001B9374 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801BC418 001B9378 7C 08 03 A6 */ mtlr r0 /* 801BC41C 001B937C 38 21 00 70 */ addi r1, r1, 0x70 /* 801BC420 001B9380 4E 80 00 20 */ blr .global PostRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f PostRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f: /* 801BC424 001B9384 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BC428 001B9388 7C 08 02 A6 */ mflr r0 /* 801BC42C 001B938C 90 01 00 14 */ stw r0, 0x14(r1) /* 801BC430 001B9390 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC434 001B9394 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BC438 001B9398 41 82 00 30 */ beq lbl_801BC468 /* 801BC43C 001B939C 80 83 01 B8 */ lwz r4, 0x1b8(r3) /* 801BC440 001B93A0 28 04 00 00 */ cmplwi r4, 0 /* 801BC444 001B93A4 41 82 00 24 */ beq lbl_801BC468 /* 801BC448 001B93A8 80 03 02 04 */ lwz r0, 0x204(r3) /* 801BC44C 001B93AC 2C 00 00 00 */ cmpwi r0, 0 /* 801BC450 001B93B0 41 82 00 18 */ beq lbl_801BC468 /* 801BC454 001B93B4 7C 83 23 78 */ mr r3, r4 /* 801BC458 001B93B8 81 84 00 00 */ lwz r12, 0(r4) /* 801BC45C 001B93BC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BC460 001B93C0 7D 89 03 A6 */ mtctr r12 /* 801BC464 001B93C4 4E 80 04 21 */ bctrl lbl_801BC468: /* 801BC468 001B93C8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BC46C 001B93CC 7C 08 03 A6 */ mtlr r0 /* 801BC470 001B93D0 38 21 00 10 */ addi r1, r1, 0x10 /* 801BC474 001B93D4 4E 80 00 20 */ blr .global Update__10CGunWeaponFfR13CStateManager Update__10CGunWeaponFfR13CStateManager: /* 801BC478 001B93D8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BC47C 001B93DC 7C 08 02 A6 */ mflr r0 /* 801BC480 001B93E0 90 01 00 44 */ stw r0, 0x44(r1) /* 801BC484 001B93E4 DB E1 00 38 */ stfd f31, 0x38(r1) /* 801BC488 001B93E8 FF E0 08 90 */ fmr f31, f1 /* 801BC48C 001B93EC 93 E1 00 34 */ stw r31, 0x34(r1) /* 801BC490 001B93F0 7C 9F 23 78 */ mr r31, r4 /* 801BC494 001B93F4 93 C1 00 30 */ stw r30, 0x30(r1) /* 801BC498 001B93F8 7C 7E 1B 78 */ mr r30, r3 /* 801BC49C 001B93FC 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC4A0 001B9400 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BC4A4 001B9404 41 82 00 50 */ beq lbl_801BC4F4 /* 801BC4A8 001B9408 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801BC4AC 001B940C 7F E5 FB 78 */ mr r5, r31 /* 801BC4B0 001B9410 38 61 00 0C */ addi r3, r1, 0xc /* 801BC4B4 001B9414 38 9E 00 10 */ addi r4, r30, 0x10 /* 801BC4B8 001B9418 90 01 00 08 */ stw r0, 8(r1) /* 801BC4BC 001B941C 38 C1 00 08 */ addi r6, r1, 8 /* 801BC4C0 001B9420 38 E0 00 01 */ li r7, 1 /* 801BC4C4 001B9424 4B F5 96 71 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801BC4C8 001B9428 FC 20 F8 90 */ fmr f1, f31 /* 801BC4CC 001B942C 80 7E 01 00 */ lwz r3, 0x100(r30) /* 801BC4D0 001B9430 7F E4 FB 78 */ mr r4, r31 /* 801BC4D4 001B9434 48 01 01 6D */ bl Update__14CGunControllerFfR13CStateManager /* 801BC4D8 001B9438 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BC4DC 001B943C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801BC4E0 001B9440 41 82 00 EC */ beq lbl_801BC5CC /* 801BC4E4 001B9444 7F C3 F3 78 */ mr r3, r30 /* 801BC4E8 001B9448 7F E4 FB 78 */ mr r4, r31 /* 801BC4EC 001B944C 4B FF DF B1 */ bl LoadSuitArm__10CGunWeaponFR13CStateManager /* 801BC4F0 001B9450 48 00 00 DC */ b lbl_801BC5CC lbl_801BC4F4: /* 801BC4F4 001B9454 88 1E 01 08 */ lbz r0, 0x108(r30) /* 801BC4F8 001B9458 28 00 00 00 */ cmplwi r0, 0 /* 801BC4FC 001B945C 41 82 00 D0 */ beq lbl_801BC5CC /* 801BC500 001B9460 80 BE 01 04 */ lwz r5, 0x104(r30) /* 801BC504 001B9464 80 05 00 10 */ lwz r0, 0x10(r5) /* 801BC508 001B9468 28 00 00 00 */ cmplwi r0, 0 /* 801BC50C 001B946C 41 82 00 58 */ beq lbl_801BC564 /* 801BC510 001B9470 80 1E 02 10 */ lwz r0, 0x210(r30) /* 801BC514 001B9474 54 00 07 FE */ clrlwi r0, r0, 0x1f /* 801BC518 001B9478 2C 00 00 01 */ cmpwi r0, 1 /* 801BC51C 001B947C 41 82 00 1C */ beq lbl_801BC538 /* 801BC520 001B9480 48 00 04 89 */ bl LoadGunModels__10CGunWeaponFR13CStateManager /* 801BC524 001B9484 7F C3 F3 78 */ mr r3, r30 /* 801BC528 001B9488 4B FF E4 99 */ bl LoadAnimations__10CGunWeaponFv /* 801BC52C 001B948C 80 1E 02 10 */ lwz r0, 0x210(r30) /* 801BC530 001B9490 60 00 00 01 */ ori r0, r0, 1 /* 801BC534 001B9494 90 1E 02 10 */ stw r0, 0x210(r30) lbl_801BC538: /* 801BC538 001B9498 80 1E 02 10 */ lwz r0, 0x210(r30) /* 801BC53C 001B949C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c /* 801BC540 001B94A0 2C 00 00 08 */ cmpwi r0, 8 /* 801BC544 001B94A4 41 82 00 20 */ beq lbl_801BC564 /* 801BC548 001B94A8 7F C3 F3 78 */ mr r3, r30 /* 801BC54C 001B94AC 4B FF E4 35 */ bl IsAnimsLoaded__10CGunWeaponCFv /* 801BC550 001B94B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BC554 001B94B4 41 82 00 10 */ beq lbl_801BC564 /* 801BC558 001B94B8 80 1E 02 10 */ lwz r0, 0x210(r30) /* 801BC55C 001B94BC 60 00 00 08 */ ori r0, r0, 8 /* 801BC560 001B94C0 90 1E 02 10 */ stw r0, 0x210(r30) lbl_801BC564: /* 801BC564 001B94C4 FC 20 F8 90 */ fmr f1, f31 /* 801BC568 001B94C8 7F C3 F3 78 */ mr r3, r30 /* 801BC56C 001B94CC 7F E4 FB 78 */ mr r4, r31 /* 801BC570 001B94D0 4B FF E4 89 */ bl LoadFxIdle__10CGunWeaponFfR13CStateManager /* 801BC574 001B94D4 80 1E 02 10 */ lwz r0, 0x210(r30) /* 801BC578 001B94D8 54 00 06 FE */ clrlwi r0, r0, 0x1b /* 801BC57C 001B94DC 2C 00 00 1F */ cmpwi r0, 0x1f /* 801BC580 001B94E0 40 82 00 4C */ bne lbl_801BC5CC /* 801BC584 001B94E4 38 7E 00 10 */ addi r3, r30, 0x10 /* 801BC588 001B94E8 38 80 00 00 */ li r4, 0 /* 801BC58C 001B94EC 4B F5 89 D1 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 801BC590 001B94F0 80 63 00 0C */ lwz r3, 0xc(r3) /* 801BC594 001B94F4 80 9E 02 0C */ lwz r4, 0x20c(r30) /* 801BC598 001B94F8 48 19 90 11 */ bl IsLoaded__6CModelCFi /* 801BC59C 001B94FC 7C 7F 1B 78 */ mr r31, r3 /* 801BC5A0 001B9500 38 7E 00 B0 */ addi r3, r30, 0xb0 /* 801BC5A4 001B9504 38 80 00 00 */ li r4, 0 /* 801BC5A8 001B9508 4B F5 86 DD */ bl IsLoaded__10CModelDataCFi /* 801BC5AC 001B950C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801BC5B0 001B9510 41 82 00 1C */ beq lbl_801BC5CC /* 801BC5B4 001B9514 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BC5B8 001B9518 41 82 00 14 */ beq lbl_801BC5CC /* 801BC5BC 001B951C 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BC5C0 001B9520 38 60 00 01 */ li r3, 1 /* 801BC5C4 001B9524 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801BC5C8 001B9528 98 1E 02 18 */ stb r0, 0x218(r30) lbl_801BC5CC: /* 801BC5CC 001B952C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801BC5D0 001B9530 CB E1 00 38 */ lfd f31, 0x38(r1) /* 801BC5D4 001B9534 83 E1 00 34 */ lwz r31, 0x34(r1) /* 801BC5D8 001B9538 83 C1 00 30 */ lwz r30, 0x30(r1) /* 801BC5DC 001B953C 7C 08 03 A6 */ mtlr r0 /* 801BC5E0 001B9540 38 21 00 40 */ addi r1, r1, 0x40 /* 801BC5E4 001B9544 4E 80 00 20 */ blr .global Reset__10CGunWeaponFR13CStateManager Reset__10CGunWeaponFR13CStateManager: /* 801BC5E8 001B9548 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BC5EC 001B954C 7C 08 02 A6 */ mflr r0 /* 801BC5F0 001B9550 90 01 00 14 */ stw r0, 0x14(r1) /* 801BC5F4 001B9554 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC5F8 001B9558 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BC5FC 001B955C 41 82 00 4C */ beq lbl_801BC648 /* 801BC600 001B9560 80 C3 00 20 */ lwz r6, 0x20(r3) /* 801BC604 001B9564 38 A0 00 00 */ li r5, 0 /* 801BC608 001B9568 38 80 00 01 */ li r4, 1 /* 801BC60C 001B956C 88 06 02 20 */ lbz r0, 0x220(r6) /* 801BC610 001B9570 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801BC614 001B9574 98 06 02 20 */ stb r0, 0x220(r6) /* 801BC618 001B9578 88 06 02 20 */ lbz r0, 0x220(r6) /* 801BC61C 001B957C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801BC620 001B9580 98 06 02 20 */ stb r0, 0x220(r6) /* 801BC624 001B9584 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC628 001B9588 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801BC62C 001B958C 41 82 00 14 */ beq lbl_801BC640 /* 801BC630 001B9590 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC634 001B9594 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801BC638 001B9598 98 03 02 18 */ stb r0, 0x218(r3) /* 801BC63C 001B959C 48 00 00 0C */ b lbl_801BC648 lbl_801BC640: /* 801BC640 001B95A0 80 63 01 00 */ lwz r3, 0x100(r3) /* 801BC644 001B95A4 48 00 FC 8D */ bl Reset__14CGunControllerFv lbl_801BC648: /* 801BC648 001B95A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BC64C 001B95AC 7C 08 03 A6 */ mtlr r0 /* 801BC650 001B95B0 38 21 00 10 */ addi r1, r1, 0x10 /* 801BC654 001B95B4 4E 80 00 20 */ blr .global PlayAnim__10CGunWeaponFQ212NWeaponTypes12EGunAnimTypeb PlayAnim__10CGunWeaponFQ212NWeaponTypes12EGunAnimTypeb: /* 801BC658 001B95B8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BC65C 001B95BC 7C 08 02 A6 */ mflr r0 /* 801BC660 001B95C0 90 01 00 34 */ stw r0, 0x34(r1) /* 801BC664 001B95C4 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC668 001B95C8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BC66C 001B95CC 41 82 00 8C */ beq lbl_801BC6F8 /* 801BC670 001B95D0 2C 04 00 00 */ cmpwi r4, 0 /* 801BC674 001B95D4 41 80 00 84 */ blt lbl_801BC6F8 /* 801BC678 001B95D8 2C 04 00 0A */ cmpwi r4, 0xa /* 801BC67C 001B95DC 40 81 00 08 */ ble lbl_801BC684 /* 801BC680 001B95E0 48 00 00 78 */ b lbl_801BC6F8 lbl_801BC684: /* 801BC684 001B95E4 80 63 00 20 */ lwz r3, 0x20(r3) /* 801BC688 001B95E8 54 A7 06 3E */ clrlwi r7, r5, 0x18 /* 801BC68C 001B95EC 3C A0 80 3D */ lis r5, lbl_803D17FC@ha /* 801BC690 001B95F0 54 80 10 3A */ slwi r0, r4, 2 /* 801BC694 001B95F4 88 C3 02 20 */ lbz r6, 0x220(r3) /* 801BC698 001B95F8 50 E6 36 72 */ rlwimi r6, r7, 6, 0x19, 0x19 /* 801BC69C 001B95FC 38 85 17 FC */ addi r4, r5, lbl_803D17FC@l /* 801BC6A0 001B9600 39 00 00 01 */ li r8, 1 /* 801BC6A4 001B9604 98 C3 02 20 */ stb r6, 0x220(r3) /* 801BC6A8 001B9608 38 C0 FF FF */ li r6, -1 /* 801BC6AC 001B960C 7C E4 00 2E */ lwzx r7, r4, r0 /* 801BC6B0 001B9610 38 00 00 00 */ li r0, 0 /* 801BC6B4 001B9614 88 83 02 20 */ lbz r4, 0x220(r3) /* 801BC6B8 001B9618 51 04 3E 30 */ rlwimi r4, r8, 7, 0x18, 0x18 /* 801BC6BC 001B961C C0 02 A9 D8 */ lfs f0, lbl_805AC6F8@sda21(r2) /* 801BC6C0 001B9620 38 A0 00 00 */ li r5, 0 /* 801BC6C4 001B9624 98 83 02 20 */ stb r4, 0x220(r3) /* 801BC6C8 001B9628 38 81 00 08 */ addi r4, r1, 8 /* 801BC6CC 001B962C 90 E1 00 08 */ stw r7, 8(r1) /* 801BC6D0 001B9630 90 C1 00 0C */ stw r6, 0xc(r1) /* 801BC6D4 001B9634 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BC6D8 001B9638 99 01 00 14 */ stb r8, 0x14(r1) /* 801BC6DC 001B963C 90 01 00 18 */ stw r0, 0x18(r1) /* 801BC6E0 001B9640 90 01 00 1C */ stw r0, 0x1c(r1) /* 801BC6E4 001B9644 98 01 00 20 */ stb r0, 0x20(r1) /* 801BC6E8 001B9648 90 01 00 24 */ stw r0, 0x24(r1) /* 801BC6EC 001B964C 90 01 00 28 */ stw r0, 0x28(r1) /* 801BC6F0 001B9650 90 01 00 2C */ stw r0, 0x2c(r1) /* 801BC6F4 001B9654 4B E7 06 89 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb lbl_801BC6F8: /* 801BC6F8 001B9658 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BC6FC 001B965C 7C 08 03 A6 */ mtlr r0 /* 801BC700 001B9660 38 21 00 30 */ addi r1, r1, 0x30 /* 801BC704 001B9664 4E 80 00 20 */ blr .global IsChargeAnimOver__10CGunWeaponCFv IsChargeAnimOver__10CGunWeaponCFv: /* 801BC708 001B9668 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801BC70C 001B966C 7C 08 02 A6 */ mflr r0 /* 801BC710 001B9670 90 01 00 24 */ stw r0, 0x24(r1) /* 801BC714 001B9674 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801BC718 001B9678 7C 7F 1B 78 */ mr r31, r3 /* 801BC71C 001B967C 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC720 001B9680 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801BC724 001B9684 41 82 00 44 */ beq lbl_801BC768 /* 801BC728 001B9688 3C 80 80 3D */ lis r4, lbl_803D1828@ha /* 801BC72C 001B968C 38 61 00 08 */ addi r3, r1, 8 /* 801BC730 001B9690 38 84 18 28 */ addi r4, r4, lbl_803D1828@l /* 801BC734 001B9694 38 84 01 BC */ addi r4, r4, 0x1bc /* 801BC738 001B9698 4B E4 85 81 */ bl string_l__4rstlFPCc /* 801BC73C 001B969C 80 7F 00 20 */ lwz r3, 0x20(r31) /* 801BC740 001B96A0 38 81 00 08 */ addi r4, r1, 8 /* 801BC744 001B96A4 C0 22 A9 EC */ lfs f1, lbl_805AC70C@sda21(r2) /* 801BC748 001B96A8 4B E6 FC A5 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801BC74C 001B96AC 7C 7F 1B 78 */ mr r31, r3 /* 801BC750 001B96B0 38 61 00 08 */ addi r3, r1, 8 /* 801BC754 001B96B4 48 18 13 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801BC758 001B96B8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801BC75C 001B96BC 41 82 00 0C */ beq lbl_801BC768 /* 801BC760 001B96C0 38 60 00 00 */ li r3, 0 /* 801BC764 001B96C4 48 00 00 08 */ b lbl_801BC76C lbl_801BC768: /* 801BC768 001B96C8 38 60 00 01 */ li r3, 1 lbl_801BC76C: /* 801BC76C 001B96CC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801BC770 001B96D0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801BC774 001B96D4 7C 08 03 A6 */ mtlr r0 /* 801BC778 001B96D8 38 21 00 20 */ addi r1, r1, 0x20 /* 801BC77C 001B96DC 4E 80 00 20 */ blr .global PlayPasAnim__10CGunWeaponFQ28SamusGun15EAnimationStateR13CStateManagerf PlayPasAnim__10CGunWeaponFQ28SamusGun15EAnimationStateR13CStateManagerf: /* 801BC780 001B96E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BC784 001B96E4 7C 08 02 A6 */ mflr r0 /* 801BC788 001B96E8 2C 04 00 04 */ cmpwi r4, 4 /* 801BC78C 001B96EC 7C 66 1B 78 */ mr r6, r3 /* 801BC790 001B96F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801BC794 001B96F4 41 82 00 14 */ beq lbl_801BC7A8 /* 801BC798 001B96F8 40 80 00 24 */ bge lbl_801BC7BC /* 801BC79C 001B96FC 2C 04 00 00 */ cmpwi r4, 0 /* 801BC7A0 001B9700 41 82 00 24 */ beq lbl_801BC7C4 /* 801BC7A4 001B9704 48 00 00 18 */ b lbl_801BC7BC lbl_801BC7A8: /* 801BC7A8 001B9708 80 66 01 00 */ lwz r3, 0x100(r6) /* 801BC7AC 001B970C 7C A4 2B 78 */ mr r4, r5 /* 801BC7B0 001B9710 80 A6 02 00 */ lwz r5, 0x200(r6) /* 801BC7B4 001B9714 48 01 03 95 */ bl EnterComboFire__14CGunControllerFR13CStateManageri /* 801BC7B8 001B9718 48 00 00 0C */ b lbl_801BC7C4 lbl_801BC7BC: /* 801BC7BC 001B971C 38 60 00 00 */ li r3, 0 /* 801BC7C0 001B9720 48 00 00 08 */ b lbl_801BC7C8 lbl_801BC7C4: /* 801BC7C4 001B9724 38 60 00 01 */ li r3, 1 lbl_801BC7C8: /* 801BC7C8 001B9728 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BC7CC 001B972C 7C 08 03 A6 */ mtlr r0 /* 801BC7D0 001B9730 38 21 00 10 */ addi r1, r1, 0x10 /* 801BC7D4 001B9734 4E 80 00 20 */ blr .global LoadProjectileData__10CGunWeaponFR13CStateManager LoadProjectileData__10CGunWeaponFR13CStateManager: /* 801BC7D8 001B9738 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801BC7DC 001B973C 7C 08 02 A6 */ mflr r0 /* 801BC7E0 001B9740 90 01 00 64 */ stw r0, 0x64(r1) /* 801BC7E4 001B9744 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801BC7E8 001B9748 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801BC7EC 001B974C BE C1 00 28 */ stmw r22, 0x28(r1) /* 801BC7F0 001B9750 80 84 08 D8 */ lwz r4, 0x8d8(r4) /* 801BC7F4 001B9754 7C 76 1B 78 */ mr r22, r3 /* 801BC7F8 001B9758 38 61 00 0C */ addi r3, r1, 0xc /* 801BC7FC 001B975C 48 15 5D F1 */ bl __ct__9CRandom16FUi /* 801BC800 001B9760 38 61 00 1C */ addi r3, r1, 0x1c /* 801BC804 001B9764 38 81 00 0C */ addi r4, r1, 0xc /* 801BC808 001B9768 48 15 5E 79 */ bl __ct__13CGlobalRandomFR9CRandom16 /* 801BC80C 001B976C 3B 16 01 D4 */ addi r24, r22, 0x1d4 /* 801BC810 001B9770 3C 80 80 5A */ lis r4, skZero3f@ha /* 801BC814 001B9774 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 801BC818 001B9778 C3 E2 A9 DC */ lfs f31, lbl_805AC6FC@sda21(r2) /* 801BC81C 001B977C 7F 1B C3 78 */ mr r27, r24 /* 801BC820 001B9780 3B 96 01 48 */ addi r28, r22, 0x148 /* 801BC824 001B9784 3B C4 66 A0 */ addi r30, r4, skZero3f@l /* 801BC828 001B9788 3B 56 01 F8 */ addi r26, r22, 0x1f8 /* 801BC82C 001B978C 3B 36 01 F0 */ addi r25, r22, 0x1f0 /* 801BC830 001B9790 3B E3 67 24 */ addi r31, r3, lbl_805A6724@l /* 801BC834 001B9794 3A E0 00 00 */ li r23, 0 lbl_801BC838: /* 801BC838 001B9798 83 BC 00 08 */ lwz r29, 8(r28) /* 801BC83C 001B979C C0 5E 00 00 */ lfs f2, 0(r30) /* 801BC840 001B97A0 C0 3E 00 04 */ lfs f1, 4(r30) /* 801BC844 001B97A4 C0 1E 00 08 */ lfs f0, 8(r30) /* 801BC848 001B97A8 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801BC84C 001B97AC D0 21 00 14 */ stfs f1, 0x14(r1) /* 801BC850 001B97B0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801BC854 001B97B4 80 7D 00 04 */ lwz r3, 4(r29) /* 801BC858 001B97B8 28 03 00 00 */ cmplwi r3, 0 /* 801BC85C 001B97BC 41 82 00 1C */ beq lbl_801BC878 /* 801BC860 001B97C0 81 83 00 00 */ lwz r12, 0(r3) /* 801BC864 001B97C4 38 A1 00 10 */ addi r5, r1, 0x10 /* 801BC868 001B97C8 38 80 00 00 */ li r4, 0 /* 801BC86C 001B97CC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BC870 001B97D0 7D 89 03 A6 */ mtctr r12 /* 801BC874 001B97D4 4E 80 04 21 */ bctrl lbl_801BC878: /* 801BC878 001B97D8 80 16 01 D0 */ lwz r0, 0x1d0(r22) /* 801BC87C 001B97DC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801BC880 001B97E0 7C 78 02 15 */ add. r3, r24, r0 /* 801BC884 001B97E4 41 82 00 1C */ beq lbl_801BC8A0 /* 801BC888 001B97E8 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801BC88C 001B97EC D0 03 00 00 */ stfs f0, 0(r3) /* 801BC890 001B97F0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801BC894 001B97F4 D0 03 00 04 */ stfs f0, 4(r3) /* 801BC898 001B97F8 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801BC89C 001B97FC D0 03 00 08 */ stfs f0, 8(r3) lbl_801BC8A0: /* 801BC8A0 001B9800 80 76 01 D0 */ lwz r3, 0x1d0(r22) /* 801BC8A4 001B9804 38 03 00 01 */ addi r0, r3, 1 /* 801BC8A8 001B9808 90 16 01 D0 */ stw r0, 0x1d0(r22) /* 801BC8AC 001B980C D3 E1 00 08 */ stfs f31, 8(r1) /* 801BC8B0 001B9810 80 7D 00 30 */ lwz r3, 0x30(r29) /* 801BC8B4 001B9814 28 03 00 00 */ cmplwi r3, 0 /* 801BC8B8 001B9818 41 82 00 1C */ beq lbl_801BC8D4 /* 801BC8BC 001B981C 81 83 00 00 */ lwz r12, 0(r3) /* 801BC8C0 001B9820 38 A1 00 08 */ addi r5, r1, 8 /* 801BC8C4 001B9824 38 80 00 00 */ li r4, 0 /* 801BC8C8 001B9828 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BC8CC 001B982C 7D 89 03 A6 */ mtctr r12 /* 801BC8D0 001B9830 4E 80 04 21 */ bctrl lbl_801BC8D4: /* 801BC8D4 001B9834 80 16 01 F4 */ lwz r0, 0x1f4(r22) /* 801BC8D8 001B9838 54 00 10 3A */ slwi r0, r0, 2 /* 801BC8DC 001B983C 7C 7A 02 15 */ add. r3, r26, r0 /* 801BC8E0 001B9840 41 82 00 0C */ beq lbl_801BC8EC /* 801BC8E4 001B9844 C0 01 00 08 */ lfs f0, 8(r1) /* 801BC8E8 001B9848 D0 03 00 00 */ stfs f0, 0(r3) lbl_801BC8EC: /* 801BC8EC 001B984C 80 76 01 F4 */ lwz r3, 0x1f4(r22) /* 801BC8F0 001B9850 38 03 00 01 */ addi r0, r3, 1 /* 801BC8F4 001B9854 90 16 01 F4 */ stw r0, 0x1f4(r22) /* 801BC8F8 001B9858 80 16 01 EC */ lwz r0, 0x1ec(r22) /* 801BC8FC 001B985C 7C 79 02 15 */ add. r3, r25, r0 /* 801BC900 001B9860 41 82 00 0C */ beq lbl_801BC90C /* 801BC904 001B9864 88 1D 00 29 */ lbz r0, 0x29(r29) /* 801BC908 001B9868 98 03 00 00 */ stb r0, 0(r3) lbl_801BC90C: /* 801BC90C 001B986C 80 76 01 EC */ lwz r3, 0x1ec(r22) /* 801BC910 001B9870 38 03 00 01 */ addi r0, r3, 1 /* 801BC914 001B9874 90 16 01 EC */ stw r0, 0x1ec(r22) /* 801BC918 001B9878 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801BC91C 001B987C FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801BC920 001B9880 40 81 00 30 */ ble lbl_801BC950 /* 801BC924 001B9884 C0 1B 00 00 */ lfs f0, 0(r27) /* 801BC928 001B9888 C0 22 A9 F0 */ lfs f1, lbl_805AC710@sda21(r2) /* 801BC92C 001B988C EC 00 00 72 */ fmuls f0, f0, f1 /* 801BC930 001B9890 D0 1B 00 00 */ stfs f0, 0(r27) /* 801BC934 001B9894 C0 1B 00 04 */ lfs f0, 4(r27) /* 801BC938 001B9898 EC 00 00 72 */ fmuls f0, f0, f1 /* 801BC93C 001B989C D0 1B 00 04 */ stfs f0, 4(r27) /* 801BC940 001B98A0 C0 1B 00 08 */ lfs f0, 8(r27) /* 801BC944 001B98A4 EC 00 00 72 */ fmuls f0, f0, f1 /* 801BC948 001B98A8 D0 1B 00 08 */ stfs f0, 8(r27) /* 801BC94C 001B98AC 48 00 00 20 */ b lbl_801BC96C lbl_801BC950: /* 801BC950 001B98B0 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 801BC954 001B98B4 C0 03 67 24 */ lfs f0, lbl_805A6724@l(r3) /* 801BC958 001B98B8 D0 1B 00 00 */ stfs f0, 0(r27) /* 801BC95C 001B98BC C0 1F 00 04 */ lfs f0, 4(r31) /* 801BC960 001B98C0 D0 1B 00 04 */ stfs f0, 4(r27) /* 801BC964 001B98C4 C0 1F 00 08 */ lfs f0, 8(r31) /* 801BC968 001B98C8 D0 1B 00 08 */ stfs f0, 8(r27) lbl_801BC96C: /* 801BC96C 001B98CC 3A F7 00 01 */ addi r23, r23, 1 /* 801BC970 001B98D0 3B 7B 00 0C */ addi r27, r27, 0xc /* 801BC974 001B98D4 2C 17 00 02 */ cmpwi r23, 2 /* 801BC978 001B98D8 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BC97C 001B98DC 41 80 FE BC */ blt lbl_801BC838 /* 801BC980 001B98E0 38 61 00 1C */ addi r3, r1, 0x1c /* 801BC984 001B98E4 38 80 FF FF */ li r4, -1 /* 801BC988 001B98E8 48 15 5C 7D */ bl __dt__13CGlobalRandomFv /* 801BC98C 001B98EC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801BC990 001B98F0 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801BC994 001B98F4 BA C1 00 28 */ lmw r22, 0x28(r1) /* 801BC998 001B98F8 80 01 00 64 */ lwz r0, 0x64(r1) /* 801BC99C 001B98FC 7C 08 03 A6 */ mtlr r0 /* 801BC9A0 001B9900 38 21 00 60 */ addi r1, r1, 0x60 /* 801BC9A4 001B9904 4E 80 00 20 */ blr .global LoadGunModels__10CGunWeaponFR13CStateManager LoadGunModels__10CGunWeaponFR13CStateManager: /* 801BC9A8 001B9908 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801BC9AC 001B990C 7C 08 02 A6 */ mflr r0 /* 801BC9B0 001B9910 90 01 01 14 */ stw r0, 0x114(r1) /* 801BC9B4 001B9914 93 E1 01 0C */ stw r31, 0x10c(r1) /* 801BC9B8 001B9918 7C 7F 1B 78 */ mr r31, r3 /* 801BC9BC 001B991C 93 C1 01 08 */ stw r30, 0x108(r1) /* 801BC9C0 001B9920 3B C0 00 09 */ li r30, 9 /* 801BC9C4 001B9924 93 A1 01 04 */ stw r29, 0x104(r1) /* 801BC9C8 001B9928 7C 9D 23 78 */ mr r29, r4 /* 801BC9CC 001B992C 88 03 02 18 */ lbz r0, 0x218(r3) /* 801BC9D0 001B9930 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801BC9D4 001B9934 41 82 00 08 */ beq lbl_801BC9DC /* 801BC9D8 001B9938 3B C0 00 00 */ li r30, 0 lbl_801BC9DC: /* 801BC9DC 001B993C 80 BF 02 14 */ lwz r5, 0x214(r31) /* 801BC9E0 001B9940 38 00 00 00 */ li r0, 0 /* 801BC9E4 001B9944 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801BC9E8 001B9948 38 81 00 24 */ addi r4, r1, 0x24 /* 801BC9EC 001B994C 90 A1 00 24 */ stw r5, 0x24(r1) /* 801BC9F0 001B9950 90 01 00 28 */ stw r0, 0x28(r1) /* 801BC9F4 001B9954 C0 1F 00 04 */ lfs f0, 4(r31) /* 801BC9F8 001B9958 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801BC9FC 001B995C C0 1F 00 08 */ lfs f0, 8(r31) /* 801BCA00 001B9960 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801BCA04 001B9964 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BCA08 001B9968 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801BCA0C 001B996C 98 01 00 38 */ stb r0, 0x38(r1) /* 801BCA10 001B9970 93 C1 00 3C */ stw r30, 0x3c(r1) /* 801BCA14 001B9974 4B F5 A1 41 */ bl __ct__10CModelDataFRC8CAnimRes /* 801BCA18 001B9978 38 7F 00 10 */ addi r3, r31, 0x10 /* 801BCA1C 001B997C 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801BCA20 001B9980 4B F2 14 59 */ bl sub_800dde78 /* 801BCA24 001B9984 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801BCA28 001B9988 38 80 FF FF */ li r4, -1 /* 801BCA2C 001B998C 4B F5 A0 21 */ bl __dt__10CModelDataFv /* 801BCA30 001B9990 80 9F 02 14 */ lwz r4, 0x214(r31) /* 801BCA34 001B9994 38 A0 00 01 */ li r5, 1 /* 801BCA38 001B9998 38 00 00 00 */ li r0, 0 /* 801BCA3C 001B999C 38 61 00 68 */ addi r3, r1, 0x68 /* 801BCA40 001B99A0 90 81 00 08 */ stw r4, 8(r1) /* 801BCA44 001B99A4 38 81 00 08 */ addi r4, r1, 8 /* 801BCA48 001B99A8 90 A1 00 0C */ stw r5, 0xc(r1) /* 801BCA4C 001B99AC C0 1F 00 04 */ lfs f0, 4(r31) /* 801BCA50 001B99B0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BCA54 001B99B4 C0 1F 00 08 */ lfs f0, 8(r31) /* 801BCA58 001B99B8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801BCA5C 001B99BC C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801BCA60 001B99C0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801BCA64 001B99C4 98 01 00 1C */ stb r0, 0x1c(r1) /* 801BCA68 001B99C8 93 C1 00 20 */ stw r30, 0x20(r1) /* 801BCA6C 001B99CC 4B F5 A0 E9 */ bl __ct__10CModelDataFRC8CAnimRes /* 801BCA70 001B99D0 38 7F 00 60 */ addi r3, r31, 0x60 /* 801BCA74 001B99D4 38 81 00 68 */ addi r4, r1, 0x68 /* 801BCA78 001B99D8 4B F2 14 01 */ bl sub_800dde78 /* 801BCA7C 001B99DC 38 61 00 68 */ addi r3, r1, 0x68 /* 801BCA80 001B99E0 38 80 FF FF */ li r4, -1 /* 801BCA84 001B99E4 4B F5 9F C9 */ bl __dt__10CModelDataFv /* 801BCA88 001B99E8 C0 02 A9 D8 */ lfs f0, lbl_805AC6F8@sda21(r2) /* 801BCA8C 001B99EC 38 00 00 00 */ li r0, 0 /* 801BCA90 001B99F0 38 C0 FF FF */ li r6, -1 /* 801BCA94 001B99F4 38 60 00 01 */ li r3, 1 /* 801BCA98 001B99F8 93 C1 00 40 */ stw r30, 0x40(r1) /* 801BCA9C 001B99FC 38 81 00 40 */ addi r4, r1, 0x40 /* 801BCAA0 001B9A00 38 A0 00 01 */ li r5, 1 /* 801BCAA4 001B9A04 90 C1 00 44 */ stw r6, 0x44(r1) /* 801BCAA8 001B9A08 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801BCAAC 001B9A0C 98 61 00 4C */ stb r3, 0x4c(r1) /* 801BCAB0 001B9A10 90 01 00 50 */ stw r0, 0x50(r1) /* 801BCAB4 001B9A14 90 01 00 54 */ stw r0, 0x54(r1) /* 801BCAB8 001B9A18 98 01 00 58 */ stb r0, 0x58(r1) /* 801BCABC 001B9A1C 90 01 00 5C */ stw r0, 0x5c(r1) /* 801BCAC0 001B9A20 90 01 00 60 */ stw r0, 0x60(r1) /* 801BCAC4 001B9A24 90 01 00 64 */ stw r0, 0x64(r1) /* 801BCAC8 001B9A28 80 7F 00 20 */ lwz r3, 0x20(r31) /* 801BCACC 001B9A2C 4B E7 02 B1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801BCAD0 001B9A30 7F E3 FB 78 */ mr r3, r31 /* 801BCAD4 001B9A34 7F A4 EB 78 */ mr r4, r29 /* 801BCAD8 001B9A38 4B FF D9 C5 */ bl LoadSuitArm__10CGunWeaponFR13CStateManager /* 801BCADC 001B9A3C 88 1F 00 24 */ lbz r0, 0x24(r31) /* 801BCAE0 001B9A40 38 A0 00 01 */ li r5, 1 /* 801BCAE4 001B9A44 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801BCAE8 001B9A48 3C 60 80 3D */ lis r3, lbl_803D1828@ha /* 801BCAEC 001B9A4C 98 1F 00 24 */ stb r0, 0x24(r31) /* 801BCAF0 001B9A50 38 63 18 28 */ addi r3, r3, lbl_803D1828@l /* 801BCAF4 001B9A54 38 83 01 B5 */ addi r4, r3, 0x1b5 /* 801BCAF8 001B9A58 38 60 00 5C */ li r3, 0x5c /* 801BCAFC 001B9A5C 88 1F 00 74 */ lbz r0, 0x74(r31) /* 801BCB00 001B9A60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801BCB04 001B9A64 38 A0 00 00 */ li r5, 0 /* 801BCB08 001B9A68 98 1F 00 74 */ stb r0, 0x74(r31) /* 801BCB0C 001B9A6C 48 15 8D 61 */ bl __nw__FUlPCcPCc /* 801BCB10 001B9A70 7C 64 1B 79 */ or. r4, r3, r3 /* 801BCB14 001B9A74 41 82 00 10 */ beq lbl_801BCB24 /* 801BCB18 001B9A78 38 9F 00 10 */ addi r4, r31, 0x10 /* 801BCB1C 001B9A7C 48 01 01 19 */ bl __ct__14CGunControllerFR10CModelData /* 801BCB20 001B9A80 7C 64 1B 78 */ mr r4, r3 lbl_801BCB24: /* 801BCB24 001B9A84 38 7F 01 00 */ addi r3, r31, 0x100 /* 801BCB28 001B9A88 4B F6 0F AD */ bl "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" /* 801BCB2C 001B9A8C 80 01 01 14 */ lwz r0, 0x114(r1) /* 801BCB30 001B9A90 83 E1 01 0C */ lwz r31, 0x10c(r1) /* 801BCB34 001B9A94 83 C1 01 08 */ lwz r30, 0x108(r1) /* 801BCB38 001B9A98 83 A1 01 04 */ lwz r29, 0x104(r1) /* 801BCB3C 001B9A9C 7C 08 03 A6 */ mtlr r0 /* 801BCB40 001B9AA0 38 21 01 10 */ addi r1, r1, 0x110 /* 801BCB44 001B9AA4 4E 80 00 20 */ blr .global LoadMuzzleFx__10CGunWeaponFf LoadMuzzleFx__10CGunWeaponFf: /* 801BCB48 001B9AA8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BCB4C 001B9AAC 7C 08 02 A6 */ mflr r0 /* 801BCB50 001B9AB0 90 01 00 44 */ stw r0, 0x44(r1) /* 801BCB54 001B9AB4 DB E1 00 38 */ stfd f31, 0x38(r1) /* 801BCB58 001B9AB8 FF E0 08 90 */ fmr f31, f1 /* 801BCB5C 001B9ABC BF 21 00 1C */ stmw r25, 0x1c(r1) /* 801BCB60 001B9AC0 7C 7B 1B 78 */ mr r27, r3 /* 801BCB64 001B9AC4 3C 60 80 3D */ lis r3, lbl_803D1828@ha /* 801BCB68 001B9AC8 3B 80 00 00 */ li r28, 0 /* 801BCB6C 001B9ACC 3B DB 01 70 */ addi r30, r27, 0x170 /* 801BCB70 001B9AD0 3B BB 01 A8 */ addi r29, r27, 0x1a8 /* 801BCB74 001B9AD4 3B E3 18 28 */ addi r31, r3, lbl_803D1828@l lbl_801BCB78: /* 801BCB78 001B9AD8 38 9F 01 B5 */ addi r4, r31, 0x1b5 /* 801BCB7C 001B9ADC 3B 20 00 00 */ li r25, 0 /* 801BCB80 001B9AE0 38 60 03 40 */ li r3, 0x340 /* 801BCB84 001B9AE4 38 A0 00 00 */ li r5, 0 /* 801BCB88 001B9AE8 48 15 8C E5 */ bl __nw__FUlPCcPCc /* 801BCB8C 001B9AEC 7C 7A 1B 79 */ or. r26, r3, r3 /* 801BCB90 001B9AF0 41 82 00 2C */ beq lbl_801BCBBC /* 801BCB94 001B9AF4 7F C4 F3 78 */ mr r4, r30 /* 801BCB98 001B9AF8 38 61 00 10 */ addi r3, r1, 0x10 /* 801BCB9C 001B9AFC 48 18 43 0D */ bl __ct__6CTokenFRC6CToken /* 801BCBA0 001B9B00 7F 43 D3 78 */ mr r3, r26 /* 801BCBA4 001B9B04 38 81 00 10 */ addi r4, r1, 0x10 /* 801BCBA8 001B9B08 3B 20 00 01 */ li r25, 1 /* 801BCBAC 001B9B0C 38 A0 00 00 */ li r5, 0 /* 801BCBB0 001B9B10 38 C0 00 01 */ li r6, 1 /* 801BCBB4 001B9B14 48 16 28 2D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801BCBB8 001B9B18 7C 7A 1B 78 */ mr r26, r3 lbl_801BCBBC: /* 801BCBBC 001B9B1C 7F 20 07 75 */ extsb. r0, r25 /* 801BCBC0 001B9B20 41 82 00 10 */ beq lbl_801BCBD0 /* 801BCBC4 001B9B24 38 61 00 10 */ addi r3, r1, 0x10 /* 801BCBC8 001B9B28 38 80 00 00 */ li r4, 0 /* 801BCBCC 001B9B2C 48 18 42 75 */ bl __dt__6CTokenFv lbl_801BCBD0: /* 801BCBD0 001B9B30 7F 43 D3 78 */ mr r3, r26 /* 801BCBD4 001B9B34 38 80 00 00 */ li r4, 0 /* 801BCBD8 001B9B38 81 9A 00 00 */ lwz r12, 0(r26) /* 801BCBDC 001B9B3C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BCBE0 001B9B40 7D 89 03 A6 */ mtctr r12 /* 801BCBE4 001B9B44 4E 80 04 21 */ bctrl /* 801BCBE8 001B9B48 7F 43 D3 78 */ mr r3, r26 /* 801BCBEC 001B9B4C FC 20 F8 90 */ fmr f1, f31 /* 801BCBF0 001B9B50 81 9A 00 00 */ lwz r12, 0(r26) /* 801BCBF4 001B9B54 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BCBF8 001B9B58 7D 89 03 A6 */ mtctr r12 /* 801BCBFC 001B9B5C 4E 80 04 21 */ bctrl /* 801BCC00 001B9B60 80 1B 01 A4 */ lwz r0, 0x1a4(r27) /* 801BCC04 001B9B64 7C 7A 00 D0 */ neg r3, r26 /* 801BCC08 001B9B68 7C 63 D3 78 */ or r3, r3, r26 /* 801BCC0C 001B9B6C 93 41 00 0C */ stw r26, 0xc(r1) /* 801BCC10 001B9B70 54 00 18 38 */ slwi r0, r0, 3 /* 801BCC14 001B9B74 54 63 0F FE */ srwi r3, r3, 0x1f /* 801BCC18 001B9B78 7C 9D 02 15 */ add. r4, r29, r0 /* 801BCC1C 001B9B7C 98 61 00 08 */ stb r3, 8(r1) /* 801BCC20 001B9B80 41 82 00 14 */ beq lbl_801BCC34 /* 801BCC24 001B9B84 98 64 00 00 */ stb r3, 0(r4) /* 801BCC28 001B9B88 38 00 00 00 */ li r0, 0 /* 801BCC2C 001B9B8C 93 44 00 04 */ stw r26, 4(r4) /* 801BCC30 001B9B90 98 01 00 08 */ stb r0, 8(r1) lbl_801BCC34: /* 801BCC34 001B9B94 80 7B 01 A4 */ lwz r3, 0x1a4(r27) /* 801BCC38 001B9B98 88 01 00 08 */ lbz r0, 8(r1) /* 801BCC3C 001B9B9C 38 63 00 01 */ addi r3, r3, 1 /* 801BCC40 001B9BA0 28 00 00 00 */ cmplwi r0, 0 /* 801BCC44 001B9BA4 90 7B 01 A4 */ stw r3, 0x1a4(r27) /* 801BCC48 001B9BA8 41 82 00 24 */ beq lbl_801BCC6C /* 801BCC4C 001B9BAC 80 61 00 0C */ lwz r3, 0xc(r1) /* 801BCC50 001B9BB0 28 03 00 00 */ cmplwi r3, 0 /* 801BCC54 001B9BB4 41 82 00 18 */ beq lbl_801BCC6C /* 801BCC58 001B9BB8 81 83 00 00 */ lwz r12, 0(r3) /* 801BCC5C 001B9BBC 38 80 00 01 */ li r4, 1 /* 801BCC60 001B9BC0 81 8C 00 08 */ lwz r12, 8(r12) /* 801BCC64 001B9BC4 7D 89 03 A6 */ mtctr r12 /* 801BCC68 001B9BC8 4E 80 04 21 */ bctrl lbl_801BCC6C: /* 801BCC6C 001B9BCC 3B 9C 00 01 */ addi r28, r28, 1 /* 801BCC70 001B9BD0 3B DE 00 0C */ addi r30, r30, 0xc /* 801BCC74 001B9BD4 2C 1C 00 02 */ cmpwi r28, 2 /* 801BCC78 001B9BD8 41 80 FF 00 */ blt lbl_801BCB78 /* 801BCC7C 001B9BDC CB E1 00 38 */ lfd f31, 0x38(r1) /* 801BCC80 001B9BE0 BB 21 00 1C */ lmw r25, 0x1c(r1) /* 801BCC84 001B9BE4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801BCC88 001B9BE8 7C 08 03 A6 */ mtlr r0 /* 801BCC8C 001B9BEC 38 21 00 40 */ addi r1, r1, 0x40 /* 801BCC90 001B9BF0 4E 80 00 20 */ blr .global GetWeaponInfo__10CGunWeaponCFv GetWeaponInfo__10CGunWeaponCFv: /* 801BCC94 001B9BF4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BCC98 001B9BF8 7C 08 02 A6 */ mflr r0 /* 801BCC9C 001B9BFC 7C 64 1B 78 */ mr r4, r3 /* 801BCCA0 001B9C00 90 01 00 14 */ stw r0, 0x14(r1) /* 801BCCA4 001B9C04 80 6D A1 34 */ lwz r3, gpTweakPlayerGun@sda21(r13) /* 801BCCA8 001B9C08 80 84 02 00 */ lwz r4, 0x200(r4) /* 801BCCAC 001B9C0C 4B EB 2F D1 */ bl GetBeamInfo__15CTweakPlayerGunCFi /* 801BCCB0 001B9C10 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BCCB4 001B9C14 7C 08 03 A6 */ mtlr r0 /* 801BCCB8 001B9C18 38 21 00 10 */ addi r1, r1, 0x10 /* 801BCCBC 001B9C1C 4E 80 00 20 */ blr .global __dt__10CGunWeaponFv __dt__10CGunWeaponFv: /* 801BCCC0 001B9C20 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801BCCC4 001B9C24 7C 08 02 A6 */ mflr r0 /* 801BCCC8 001B9C28 90 01 00 54 */ stw r0, 0x54(r1) /* 801BCCCC 001B9C2C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801BCCD0 001B9C30 7C 9F 23 78 */ mr r31, r4 /* 801BCCD4 001B9C34 93 C1 00 48 */ stw r30, 0x48(r1) /* 801BCCD8 001B9C38 7C 7E 1B 79 */ or. r30, r3, r3 /* 801BCCDC 001B9C3C 93 A1 00 44 */ stw r29, 0x44(r1) /* 801BCCE0 001B9C40 93 81 00 40 */ stw r28, 0x40(r1) /* 801BCCE4 001B9C44 41 82 03 54 */ beq lbl_801BD038 /* 801BCCE8 001B9C48 3C 80 80 3E */ lis r4, lbl_803E52B0@ha /* 801BCCEC 001B9C4C 38 7E 01 D0 */ addi r3, r30, 0x1d0 /* 801BCCF0 001B9C50 38 04 52 B0 */ addi r0, r4, lbl_803E52B0@l /* 801BCCF4 001B9C54 38 80 FF FF */ li r4, -1 /* 801BCCF8 001B9C58 90 1E 00 00 */ stw r0, 0(r30) /* 801BCCFC 001B9C5C 48 00 03 61 */ bl sub_801bd05c /* 801BCD00 001B9C60 34 1E 01 B8 */ addic. r0, r30, 0x1b8 /* 801BCD04 001B9C64 41 82 00 24 */ beq lbl_801BCD28 /* 801BCD08 001B9C68 80 7E 01 B8 */ lwz r3, 0x1b8(r30) /* 801BCD0C 001B9C6C 28 03 00 00 */ cmplwi r3, 0 /* 801BCD10 001B9C70 41 82 00 18 */ beq lbl_801BCD28 /* 801BCD14 001B9C74 81 83 00 00 */ lwz r12, 0(r3) /* 801BCD18 001B9C78 38 80 00 01 */ li r4, 1 /* 801BCD1C 001B9C7C 81 8C 00 08 */ lwz r12, 8(r12) /* 801BCD20 001B9C80 7D 89 03 A6 */ mtctr r12 /* 801BCD24 001B9C84 4E 80 04 21 */ bctrl lbl_801BCD28: /* 801BCD28 001B9C88 34 1E 01 A4 */ addic. r0, r30, 0x1a4 /* 801BCD2C 001B9C8C 41 82 00 60 */ beq lbl_801BCD8C /* 801BCD30 001B9C90 3B 9E 01 A8 */ addi r28, r30, 0x1a8 /* 801BCD34 001B9C94 3B A0 00 00 */ li r29, 0 /* 801BCD38 001B9C98 48 00 00 40 */ b lbl_801BCD78 lbl_801BCD3C: /* 801BCD3C 001B9C9C 28 1C 00 00 */ cmplwi r28, 0 /* 801BCD40 001B9CA0 41 82 00 30 */ beq lbl_801BCD70 /* 801BCD44 001B9CA4 88 1C 00 00 */ lbz r0, 0(r28) /* 801BCD48 001B9CA8 28 00 00 00 */ cmplwi r0, 0 /* 801BCD4C 001B9CAC 41 82 00 24 */ beq lbl_801BCD70 /* 801BCD50 001B9CB0 80 7C 00 04 */ lwz r3, 4(r28) /* 801BCD54 001B9CB4 28 03 00 00 */ cmplwi r3, 0 /* 801BCD58 001B9CB8 41 82 00 18 */ beq lbl_801BCD70 /* 801BCD5C 001B9CBC 81 83 00 00 */ lwz r12, 0(r3) /* 801BCD60 001B9CC0 38 80 00 01 */ li r4, 1 /* 801BCD64 001B9CC4 81 8C 00 08 */ lwz r12, 8(r12) /* 801BCD68 001B9CC8 7D 89 03 A6 */ mtctr r12 /* 801BCD6C 001B9CCC 4E 80 04 21 */ bctrl lbl_801BCD70: /* 801BCD70 001B9CD0 3B 9C 00 08 */ addi r28, r28, 8 /* 801BCD74 001B9CD4 3B BD 00 01 */ addi r29, r29, 1 lbl_801BCD78: /* 801BCD78 001B9CD8 80 1E 01 A4 */ lwz r0, 0x1a4(r30) /* 801BCD7C 001B9CDC 7C 1D 00 00 */ cmpw r29, r0 /* 801BCD80 001B9CE0 41 80 FF BC */ blt lbl_801BCD3C /* 801BCD84 001B9CE4 38 00 00 00 */ li r0, 0 /* 801BCD88 001B9CE8 90 1E 01 A4 */ stw r0, 0x1a4(r30) lbl_801BCD8C: /* 801BCD8C 001B9CEC 34 1E 01 88 */ addic. r0, r30, 0x188 /* 801BCD90 001B9CF0 41 82 00 44 */ beq lbl_801BCDD4 /* 801BCD94 001B9CF4 3B 9E 01 8C */ addi r28, r30, 0x18c /* 801BCD98 001B9CF8 3B A0 00 00 */ li r29, 0 /* 801BCD9C 001B9CFC 48 00 00 24 */ b lbl_801BCDC0 lbl_801BCDA0: /* 801BCDA0 001B9D00 28 1C 00 00 */ cmplwi r28, 0 /* 801BCDA4 001B9D04 41 82 00 14 */ beq lbl_801BCDB8 /* 801BCDA8 001B9D08 41 82 00 10 */ beq lbl_801BCDB8 /* 801BCDAC 001B9D0C 7F 83 E3 78 */ mr r3, r28 /* 801BCDB0 001B9D10 38 80 00 00 */ li r4, 0 /* 801BCDB4 001B9D14 48 18 40 8D */ bl __dt__6CTokenFv lbl_801BCDB8: /* 801BCDB8 001B9D18 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BCDBC 001B9D1C 3B BD 00 01 */ addi r29, r29, 1 lbl_801BCDC0: /* 801BCDC0 001B9D20 80 1E 01 88 */ lwz r0, 0x188(r30) /* 801BCDC4 001B9D24 7C 1D 00 00 */ cmpw r29, r0 /* 801BCDC8 001B9D28 41 80 FF D8 */ blt lbl_801BCDA0 /* 801BCDCC 001B9D2C 38 00 00 00 */ li r0, 0 /* 801BCDD0 001B9D30 90 1E 01 88 */ stw r0, 0x188(r30) lbl_801BCDD4: /* 801BCDD4 001B9D34 34 1E 01 6C */ addic. r0, r30, 0x16c /* 801BCDD8 001B9D38 41 82 00 44 */ beq lbl_801BCE1C /* 801BCDDC 001B9D3C 3B 9E 01 70 */ addi r28, r30, 0x170 /* 801BCDE0 001B9D40 3B A0 00 00 */ li r29, 0 /* 801BCDE4 001B9D44 48 00 00 24 */ b lbl_801BCE08 lbl_801BCDE8: /* 801BCDE8 001B9D48 28 1C 00 00 */ cmplwi r28, 0 /* 801BCDEC 001B9D4C 41 82 00 14 */ beq lbl_801BCE00 /* 801BCDF0 001B9D50 41 82 00 10 */ beq lbl_801BCE00 /* 801BCDF4 001B9D54 7F 83 E3 78 */ mr r3, r28 /* 801BCDF8 001B9D58 38 80 00 00 */ li r4, 0 /* 801BCDFC 001B9D5C 48 18 40 45 */ bl __dt__6CTokenFv lbl_801BCE00: /* 801BCE00 001B9D60 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BCE04 001B9D64 3B BD 00 01 */ addi r29, r29, 1 lbl_801BCE08: /* 801BCE08 001B9D68 80 1E 01 6C */ lwz r0, 0x16c(r30) /* 801BCE0C 001B9D6C 7C 1D 00 00 */ cmpw r29, r0 /* 801BCE10 001B9D70 41 80 FF D8 */ blt lbl_801BCDE8 /* 801BCE14 001B9D74 38 00 00 00 */ li r0, 0 /* 801BCE18 001B9D78 90 1E 01 6C */ stw r0, 0x16c(r30) lbl_801BCE1C: /* 801BCE1C 001B9D7C 34 1E 01 60 */ addic. r0, r30, 0x160 /* 801BCE20 001B9D80 41 82 00 18 */ beq lbl_801BCE38 /* 801BCE24 001B9D84 34 1E 01 60 */ addic. r0, r30, 0x160 /* 801BCE28 001B9D88 41 82 00 10 */ beq lbl_801BCE38 /* 801BCE2C 001B9D8C 38 7E 01 60 */ addi r3, r30, 0x160 /* 801BCE30 001B9D90 38 80 00 00 */ li r4, 0 /* 801BCE34 001B9D94 48 18 40 0D */ bl __dt__6CTokenFv lbl_801BCE38: /* 801BCE38 001B9D98 34 1E 01 44 */ addic. r0, r30, 0x144 /* 801BCE3C 001B9D9C 41 82 00 44 */ beq lbl_801BCE80 /* 801BCE40 001B9DA0 3B 9E 01 48 */ addi r28, r30, 0x148 /* 801BCE44 001B9DA4 3B A0 00 00 */ li r29, 0 /* 801BCE48 001B9DA8 48 00 00 24 */ b lbl_801BCE6C lbl_801BCE4C: /* 801BCE4C 001B9DAC 28 1C 00 00 */ cmplwi r28, 0 /* 801BCE50 001B9DB0 41 82 00 14 */ beq lbl_801BCE64 /* 801BCE54 001B9DB4 41 82 00 10 */ beq lbl_801BCE64 /* 801BCE58 001B9DB8 7F 83 E3 78 */ mr r3, r28 /* 801BCE5C 001B9DBC 38 80 00 00 */ li r4, 0 /* 801BCE60 001B9DC0 48 18 3F E1 */ bl __dt__6CTokenFv lbl_801BCE64: /* 801BCE64 001B9DC4 3B 9C 00 0C */ addi r28, r28, 0xc /* 801BCE68 001B9DC8 3B BD 00 01 */ addi r29, r29, 1 lbl_801BCE6C: /* 801BCE6C 001B9DCC 80 1E 01 44 */ lwz r0, 0x144(r30) /* 801BCE70 001B9DD0 7C 1D 00 00 */ cmpw r29, r0 /* 801BCE74 001B9DD4 41 80 FF D8 */ blt lbl_801BCE4C /* 801BCE78 001B9DD8 38 00 00 00 */ li r0, 0 /* 801BCE7C 001B9DDC 90 1E 01 44 */ stw r0, 0x144(r30) lbl_801BCE80: /* 801BCE80 001B9DE0 34 1E 01 3C */ addic. r0, r30, 0x13c /* 801BCE84 001B9DE4 41 82 00 10 */ beq lbl_801BCE94 /* 801BCE88 001B9DE8 38 7E 01 3C */ addi r3, r30, 0x13c /* 801BCE8C 001B9DEC 38 80 00 00 */ li r4, 0 /* 801BCE90 001B9DF0 48 18 3F B1 */ bl __dt__6CTokenFv lbl_801BCE94: /* 801BCE94 001B9DF4 34 1E 01 2C */ addic. r0, r30, 0x12c /* 801BCE98 001B9DF8 41 82 00 50 */ beq lbl_801BCEE8 /* 801BCE9C 001B9DFC 80 1E 01 30 */ lwz r0, 0x130(r30) /* 801BCEA0 001B9E00 83 9E 01 38 */ lwz r28, 0x138(r30) /* 801BCEA4 001B9E04 54 00 18 38 */ slwi r0, r0, 3 /* 801BCEA8 001B9E08 7F BC 02 14 */ add r29, r28, r0 /* 801BCEAC 001B9E0C 93 81 00 2C */ stw r28, 0x2c(r1) /* 801BCEB0 001B9E10 93 A1 00 34 */ stw r29, 0x34(r1) /* 801BCEB4 001B9E14 93 A1 00 30 */ stw r29, 0x30(r1) /* 801BCEB8 001B9E18 93 81 00 28 */ stw r28, 0x28(r1) /* 801BCEBC 001B9E1C 48 00 00 14 */ b lbl_801BCED0 lbl_801BCEC0: /* 801BCEC0 001B9E20 7F 83 E3 78 */ mr r3, r28 /* 801BCEC4 001B9E24 38 80 FF FF */ li r4, -1 /* 801BCEC8 001B9E28 48 18 3F 79 */ bl __dt__6CTokenFv /* 801BCECC 001B9E2C 3B 9C 00 08 */ addi r28, r28, 8 lbl_801BCED0: /* 801BCED0 001B9E30 7C 1C E8 40 */ cmplw r28, r29 /* 801BCED4 001B9E34 40 82 FF EC */ bne lbl_801BCEC0 /* 801BCED8 001B9E38 80 7E 01 38 */ lwz r3, 0x138(r30) /* 801BCEDC 001B9E3C 28 03 00 00 */ cmplwi r3, 0 /* 801BCEE0 001B9E40 41 82 00 08 */ beq lbl_801BCEE8 /* 801BCEE4 001B9E44 48 15 8A 4D */ bl Free__7CMemoryFPCv lbl_801BCEE8: /* 801BCEE8 001B9E48 34 1E 01 1C */ addic. r0, r30, 0x11c /* 801BCEEC 001B9E4C 41 82 00 50 */ beq lbl_801BCF3C /* 801BCEF0 001B9E50 80 1E 01 20 */ lwz r0, 0x120(r30) /* 801BCEF4 001B9E54 83 9E 01 28 */ lwz r28, 0x128(r30) /* 801BCEF8 001B9E58 54 00 18 38 */ slwi r0, r0, 3 /* 801BCEFC 001B9E5C 7F BC 02 14 */ add r29, r28, r0 /* 801BCF00 001B9E60 93 81 00 1C */ stw r28, 0x1c(r1) /* 801BCF04 001B9E64 93 A1 00 24 */ stw r29, 0x24(r1) /* 801BCF08 001B9E68 93 A1 00 20 */ stw r29, 0x20(r1) /* 801BCF0C 001B9E6C 93 81 00 18 */ stw r28, 0x18(r1) /* 801BCF10 001B9E70 48 00 00 14 */ b lbl_801BCF24 lbl_801BCF14: /* 801BCF14 001B9E74 7F 83 E3 78 */ mr r3, r28 /* 801BCF18 001B9E78 38 80 FF FF */ li r4, -1 /* 801BCF1C 001B9E7C 48 18 3F 25 */ bl __dt__6CTokenFv /* 801BCF20 001B9E80 3B 9C 00 08 */ addi r28, r28, 8 lbl_801BCF24: /* 801BCF24 001B9E84 7C 1C E8 40 */ cmplw r28, r29 /* 801BCF28 001B9E88 40 82 FF EC */ bne lbl_801BCF14 /* 801BCF2C 001B9E8C 80 7E 01 28 */ lwz r3, 0x128(r30) /* 801BCF30 001B9E90 28 03 00 00 */ cmplwi r3, 0 /* 801BCF34 001B9E94 41 82 00 08 */ beq lbl_801BCF3C /* 801BCF38 001B9E98 48 15 89 F9 */ bl Free__7CMemoryFPCv lbl_801BCF3C: /* 801BCF3C 001B9E9C 34 1E 01 0C */ addic. r0, r30, 0x10c /* 801BCF40 001B9EA0 41 82 00 50 */ beq lbl_801BCF90 /* 801BCF44 001B9EA4 80 1E 01 10 */ lwz r0, 0x110(r30) /* 801BCF48 001B9EA8 83 9E 01 18 */ lwz r28, 0x118(r30) /* 801BCF4C 001B9EAC 54 00 18 38 */ slwi r0, r0, 3 /* 801BCF50 001B9EB0 7F BC 02 14 */ add r29, r28, r0 /* 801BCF54 001B9EB4 93 81 00 0C */ stw r28, 0xc(r1) /* 801BCF58 001B9EB8 93 A1 00 14 */ stw r29, 0x14(r1) /* 801BCF5C 001B9EBC 93 A1 00 10 */ stw r29, 0x10(r1) /* 801BCF60 001B9EC0 93 81 00 08 */ stw r28, 8(r1) /* 801BCF64 001B9EC4 48 00 00 14 */ b lbl_801BCF78 lbl_801BCF68: /* 801BCF68 001B9EC8 7F 83 E3 78 */ mr r3, r28 /* 801BCF6C 001B9ECC 38 80 FF FF */ li r4, -1 /* 801BCF70 001B9ED0 48 18 3E D1 */ bl __dt__6CTokenFv /* 801BCF74 001B9ED4 3B 9C 00 08 */ addi r28, r28, 8 lbl_801BCF78: /* 801BCF78 001B9ED8 7C 1C E8 40 */ cmplw r28, r29 /* 801BCF7C 001B9EDC 40 82 FF EC */ bne lbl_801BCF68 /* 801BCF80 001B9EE0 80 7E 01 18 */ lwz r3, 0x118(r30) /* 801BCF84 001B9EE4 28 03 00 00 */ cmplwi r3, 0 /* 801BCF88 001B9EE8 41 82 00 08 */ beq lbl_801BCF90 /* 801BCF8C 001B9EEC 48 15 89 A5 */ bl Free__7CMemoryFPCv lbl_801BCF90: /* 801BCF90 001B9EF0 34 1E 01 04 */ addic. r0, r30, 0x104 /* 801BCF94 001B9EF4 41 82 00 10 */ beq lbl_801BCFA4 /* 801BCF98 001B9EF8 38 7E 01 04 */ addi r3, r30, 0x104 /* 801BCF9C 001B9EFC 38 80 00 00 */ li r4, 0 /* 801BCFA0 001B9F00 48 18 3E A1 */ bl __dt__6CTokenFv lbl_801BCFA4: /* 801BCFA4 001B9F04 38 7E 01 00 */ addi r3, r30, 0x100 /* 801BCFA8 001B9F08 38 80 FF FF */ li r4, -1 /* 801BCFAC 001B9F0C 4B F6 2D 5D */ bl "__dt__Q24rstl28single_ptr<14CGunController>Fv" /* 801BCFB0 001B9F10 34 1E 00 B0 */ addic. r0, r30, 0xb0 /* 801BCFB4 001B9F14 41 82 00 24 */ beq lbl_801BCFD8 /* 801BCFB8 001B9F18 88 1E 00 FC */ lbz r0, 0xfc(r30) /* 801BCFBC 001B9F1C 28 00 00 00 */ cmplwi r0, 0 /* 801BCFC0 001B9F20 41 82 00 10 */ beq lbl_801BCFD0 /* 801BCFC4 001B9F24 38 7E 00 B0 */ addi r3, r30, 0xb0 /* 801BCFC8 001B9F28 38 80 FF FF */ li r4, -1 /* 801BCFCC 001B9F2C 4B F5 9A 81 */ bl __dt__10CModelDataFv lbl_801BCFD0: /* 801BCFD0 001B9F30 38 00 00 00 */ li r0, 0 /* 801BCFD4 001B9F34 98 1E 00 FC */ stb r0, 0xfc(r30) lbl_801BCFD8: /* 801BCFD8 001B9F38 34 1E 00 60 */ addic. r0, r30, 0x60 /* 801BCFDC 001B9F3C 41 82 00 24 */ beq lbl_801BD000 /* 801BCFE0 001B9F40 88 1E 00 AC */ lbz r0, 0xac(r30) /* 801BCFE4 001B9F44 28 00 00 00 */ cmplwi r0, 0 /* 801BCFE8 001B9F48 41 82 00 10 */ beq lbl_801BCFF8 /* 801BCFEC 001B9F4C 38 7E 00 60 */ addi r3, r30, 0x60 /* 801BCFF0 001B9F50 38 80 FF FF */ li r4, -1 /* 801BCFF4 001B9F54 4B F5 9A 59 */ bl __dt__10CModelDataFv lbl_801BCFF8: /* 801BCFF8 001B9F58 38 00 00 00 */ li r0, 0 /* 801BCFFC 001B9F5C 98 1E 00 AC */ stb r0, 0xac(r30) lbl_801BD000: /* 801BD000 001B9F60 34 1E 00 10 */ addic. r0, r30, 0x10 /* 801BD004 001B9F64 41 82 00 24 */ beq lbl_801BD028 /* 801BD008 001B9F68 88 1E 00 5C */ lbz r0, 0x5c(r30) /* 801BD00C 001B9F6C 28 00 00 00 */ cmplwi r0, 0 /* 801BD010 001B9F70 41 82 00 10 */ beq lbl_801BD020 /* 801BD014 001B9F74 38 7E 00 10 */ addi r3, r30, 0x10 /* 801BD018 001B9F78 38 80 FF FF */ li r4, -1 /* 801BD01C 001B9F7C 4B F5 9A 31 */ bl __dt__10CModelDataFv lbl_801BD020: /* 801BD020 001B9F80 38 00 00 00 */ li r0, 0 /* 801BD024 001B9F84 98 1E 00 5C */ stb r0, 0x5c(r30) lbl_801BD028: /* 801BD028 001B9F88 7F E0 07 35 */ extsh. r0, r31 /* 801BD02C 001B9F8C 40 81 00 0C */ ble lbl_801BD038 /* 801BD030 001B9F90 7F C3 F3 78 */ mr r3, r30 /* 801BD034 001B9F94 48 15 88 FD */ bl Free__7CMemoryFPCv lbl_801BD038: /* 801BD038 001B9F98 80 01 00 54 */ lwz r0, 0x54(r1) /* 801BD03C 001B9F9C 7F C3 F3 78 */ mr r3, r30 /* 801BD040 001B9FA0 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801BD044 001B9FA4 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801BD048 001B9FA8 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801BD04C 001B9FAC 83 81 00 40 */ lwz r28, 0x40(r1) /* 801BD050 001B9FB0 7C 08 03 A6 */ mtlr r0 /* 801BD054 001B9FB4 38 21 00 50 */ addi r1, r1, 0x50 /* 801BD058 001B9FB8 4E 80 00 20 */ blr .global sub_801bd05c sub_801bd05c: /* 801BD05C 001B9FBC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BD060 001B9FC0 7C 08 02 A6 */ mflr r0 /* 801BD064 001B9FC4 90 01 00 14 */ stw r0, 0x14(r1) /* 801BD068 001B9FC8 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BD06C 001B9FCC 7C 7F 1B 79 */ or. r31, r3, r3 /* 801BD070 001B9FD0 41 82 01 28 */ beq lbl_801BD198 /* 801BD074 001B9FD4 34 1F 00 24 */ addic. r0, r31, 0x24 /* 801BD078 001B9FD8 41 82 00 58 */ beq lbl_801BD0D0 /* 801BD07C 001B9FDC 80 DF 00 24 */ lwz r6, 0x24(r31) /* 801BD080 001B9FE0 38 60 00 00 */ li r3, 0 /* 801BD084 001B9FE4 2C 06 00 00 */ cmpwi r6, 0 /* 801BD088 001B9FE8 40 81 00 40 */ ble lbl_801BD0C8 /* 801BD08C 001B9FEC 2C 06 00 08 */ cmpwi r6, 8 /* 801BD090 001B9FF0 38 A6 FF F8 */ addi r5, r6, -8 /* 801BD094 001B9FF4 40 81 00 20 */ ble lbl_801BD0B4 /* 801BD098 001B9FF8 38 05 00 07 */ addi r0, r5, 7 /* 801BD09C 001B9FFC 54 00 E8 FE */ srwi r0, r0, 3 /* 801BD0A0 001BA000 7C 09 03 A6 */ mtctr r0 /* 801BD0A4 001BA004 2C 05 00 00 */ cmpwi r5, 0 /* 801BD0A8 001BA008 40 81 00 0C */ ble lbl_801BD0B4 lbl_801BD0AC: /* 801BD0AC 001BA00C 38 63 00 08 */ addi r3, r3, 8 /* 801BD0B0 001BA010 42 00 FF FC */ bdnz lbl_801BD0AC lbl_801BD0B4: /* 801BD0B4 001BA014 7C 03 30 50 */ subf r0, r3, r6 /* 801BD0B8 001BA018 7C 09 03 A6 */ mtctr r0 /* 801BD0BC 001BA01C 7C 03 30 00 */ cmpw r3, r6 /* 801BD0C0 001BA020 40 80 00 08 */ bge lbl_801BD0C8 lbl_801BD0C4: /* 801BD0C4 001BA024 42 00 00 00 */ bdnz lbl_801BD0C4 lbl_801BD0C8: /* 801BD0C8 001BA028 38 00 00 00 */ li r0, 0 /* 801BD0CC 001BA02C 90 1F 00 24 */ stw r0, 0x24(r31) lbl_801BD0D0: /* 801BD0D0 001BA030 34 1F 00 1C */ addic. r0, r31, 0x1c /* 801BD0D4 001BA034 41 82 00 58 */ beq lbl_801BD12C /* 801BD0D8 001BA038 80 DF 00 1C */ lwz r6, 0x1c(r31) /* 801BD0DC 001BA03C 38 60 00 00 */ li r3, 0 /* 801BD0E0 001BA040 2C 06 00 00 */ cmpwi r6, 0 /* 801BD0E4 001BA044 40 81 00 40 */ ble lbl_801BD124 /* 801BD0E8 001BA048 2C 06 00 08 */ cmpwi r6, 8 /* 801BD0EC 001BA04C 38 A6 FF F8 */ addi r5, r6, -8 /* 801BD0F0 001BA050 40 81 00 20 */ ble lbl_801BD110 /* 801BD0F4 001BA054 38 05 00 07 */ addi r0, r5, 7 /* 801BD0F8 001BA058 54 00 E8 FE */ srwi r0, r0, 3 /* 801BD0FC 001BA05C 7C 09 03 A6 */ mtctr r0 /* 801BD100 001BA060 2C 05 00 00 */ cmpwi r5, 0 /* 801BD104 001BA064 40 81 00 0C */ ble lbl_801BD110 lbl_801BD108: /* 801BD108 001BA068 38 63 00 08 */ addi r3, r3, 8 /* 801BD10C 001BA06C 42 00 FF FC */ bdnz lbl_801BD108 lbl_801BD110: /* 801BD110 001BA070 7C 03 30 50 */ subf r0, r3, r6 /* 801BD114 001BA074 7C 09 03 A6 */ mtctr r0 /* 801BD118 001BA078 7C 03 30 00 */ cmpw r3, r6 /* 801BD11C 001BA07C 40 80 00 08 */ bge lbl_801BD124 lbl_801BD120: /* 801BD120 001BA080 42 00 00 00 */ bdnz lbl_801BD120 lbl_801BD124: /* 801BD124 001BA084 38 00 00 00 */ li r0, 0 /* 801BD128 001BA088 90 1F 00 1C */ stw r0, 0x1c(r31) lbl_801BD12C: /* 801BD12C 001BA08C 28 1F 00 00 */ cmplwi r31, 0 /* 801BD130 001BA090 41 82 00 58 */ beq lbl_801BD188 /* 801BD134 001BA094 80 DF 00 00 */ lwz r6, 0(r31) /* 801BD138 001BA098 38 60 00 00 */ li r3, 0 /* 801BD13C 001BA09C 2C 06 00 00 */ cmpwi r6, 0 /* 801BD140 001BA0A0 40 81 00 40 */ ble lbl_801BD180 /* 801BD144 001BA0A4 2C 06 00 08 */ cmpwi r6, 8 /* 801BD148 001BA0A8 38 A6 FF F8 */ addi r5, r6, -8 /* 801BD14C 001BA0AC 40 81 00 20 */ ble lbl_801BD16C /* 801BD150 001BA0B0 38 05 00 07 */ addi r0, r5, 7 /* 801BD154 001BA0B4 54 00 E8 FE */ srwi r0, r0, 3 /* 801BD158 001BA0B8 7C 09 03 A6 */ mtctr r0 /* 801BD15C 001BA0BC 2C 05 00 00 */ cmpwi r5, 0 /* 801BD160 001BA0C0 40 81 00 0C */ ble lbl_801BD16C lbl_801BD164: /* 801BD164 001BA0C4 38 63 00 08 */ addi r3, r3, 8 /* 801BD168 001BA0C8 42 00 FF FC */ bdnz lbl_801BD164 lbl_801BD16C: /* 801BD16C 001BA0CC 7C 03 30 50 */ subf r0, r3, r6 /* 801BD170 001BA0D0 7C 09 03 A6 */ mtctr r0 /* 801BD174 001BA0D4 7C 03 30 00 */ cmpw r3, r6 /* 801BD178 001BA0D8 40 80 00 08 */ bge lbl_801BD180 lbl_801BD17C: /* 801BD17C 001BA0DC 42 00 00 00 */ bdnz lbl_801BD17C lbl_801BD180: /* 801BD180 001BA0E0 38 00 00 00 */ li r0, 0 /* 801BD184 001BA0E4 90 1F 00 00 */ stw r0, 0(r31) lbl_801BD188: /* 801BD188 001BA0E8 7C 80 07 35 */ extsh. r0, r4 /* 801BD18C 001BA0EC 40 81 00 0C */ ble lbl_801BD198 /* 801BD190 001BA0F0 7F E3 FB 78 */ mr r3, r31 /* 801BD194 001BA0F4 48 15 87 9D */ bl Free__7CMemoryFPCv lbl_801BD198: /* 801BD198 001BA0F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BD19C 001BA0FC 7F E3 FB 78 */ mr r3, r31 /* 801BD1A0 001BA100 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BD1A4 001BA104 7C 08 03 A6 */ mtlr r0 /* 801BD1A8 001BA108 38 21 00 10 */ addi r1, r1, 0x10 /* 801BD1AC 001BA10C 4E 80 00 20 */ blr .global __ct__10CGunWeaponFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f __ct__10CGunWeaponFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f: /* 801BD1B0 001BA110 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BD1B4 001BA114 7C 08 02 A6 */ mflr r0 /* 801BD1B8 001BA118 3D 20 80 3E */ lis r9, lbl_803E52B0@ha /* 801BD1BC 001BA11C 90 01 00 44 */ stw r0, 0x44(r1) /* 801BD1C0 001BA120 38 09 52 B0 */ addi r0, r9, lbl_803E52B0@l /* 801BD1C4 001BA124 39 20 00 00 */ li r9, 0 /* 801BD1C8 001BA128 BF 41 00 28 */ stmw r26, 0x28(r1) /* 801BD1CC 001BA12C 7C 7E 1B 78 */ mr r30, r3 /* 801BD1D0 001BA130 7C BB 2B 78 */ mr r27, r5 /* 801BD1D4 001BA134 3C 60 41 4E */ lis r3, 0x414E4353@ha /* 801BD1D8 001BA138 7C 9F 23 78 */ mr r31, r4 /* 801BD1DC 001BA13C 7C DC 33 78 */ mr r28, r6 /* 801BD1E0 001BA140 7C FD 3B 78 */ mr r29, r7 /* 801BD1E4 001BA144 38 A1 00 20 */ addi r5, r1, 0x20 /* 801BD1E8 001BA148 90 1E 00 00 */ stw r0, 0(r30) /* 801BD1EC 001BA14C 38 03 43 53 */ addi r0, r3, 0x414E4353@l /* 801BD1F0 001BA150 38 61 00 18 */ addi r3, r1, 0x18 /* 801BD1F4 001BA154 C0 08 00 00 */ lfs f0, 0(r8) /* 801BD1F8 001BA158 D0 1E 00 04 */ stfs f0, 4(r30) /* 801BD1FC 001BA15C C0 08 00 04 */ lfs f0, 4(r8) /* 801BD200 001BA160 D0 1E 00 08 */ stfs f0, 8(r30) /* 801BD204 001BA164 C0 08 00 08 */ lfs f0, 8(r8) /* 801BD208 001BA168 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 801BD20C 001BA16C 99 3E 00 5C */ stb r9, 0x5c(r30) /* 801BD210 001BA170 99 3E 00 AC */ stb r9, 0xac(r30) /* 801BD214 001BA174 99 3E 00 FC */ stb r9, 0xfc(r30) /* 801BD218 001BA178 91 3E 01 00 */ stw r9, 0x100(r30) /* 801BD21C 001BA17C 90 01 00 20 */ stw r0, 0x20(r1) /* 801BD220 001BA180 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BD224 001BA184 93 E1 00 24 */ stw r31, 0x24(r1) /* 801BD228 001BA188 81 84 00 00 */ lwz r12, 0(r4) /* 801BD22C 001BA18C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BD230 001BA190 7D 89 03 A6 */ mtctr r12 /* 801BD234 001BA194 4E 80 04 21 */ bctrl /* 801BD238 001BA198 38 7E 01 04 */ addi r3, r30, 0x104 /* 801BD23C 001BA19C 38 81 00 18 */ addi r4, r1, 0x18 /* 801BD240 001BA1A0 48 18 3C 69 */ bl __ct__6CTokenFRC6CToken /* 801BD244 001BA1A4 38 61 00 18 */ addi r3, r1, 0x18 /* 801BD248 001BA1A8 38 80 FF FF */ li r4, -1 /* 801BD24C 001BA1AC 48 18 3B F5 */ bl __dt__6CTokenFv /* 801BD250 001BA1B0 38 00 00 00 */ li r0, 0 /* 801BD254 001BA1B4 3C 60 80 3D */ lis r3, lbl_803D17DC@ha /* 801BD258 001BA1B8 90 1E 01 10 */ stw r0, 0x110(r30) /* 801BD25C 001BA1BC 38 83 17 DC */ addi r4, r3, lbl_803D17DC@l /* 801BD260 001BA1C0 38 61 00 10 */ addi r3, r1, 0x10 /* 801BD264 001BA1C4 80 A4 00 00 */ lwz r5, 0(r4) /* 801BD268 001BA1C8 90 1E 01 14 */ stw r0, 0x114(r30) /* 801BD26C 001BA1CC 90 1E 01 18 */ stw r0, 0x118(r30) /* 801BD270 001BA1D0 90 1E 01 20 */ stw r0, 0x120(r30) /* 801BD274 001BA1D4 90 1E 01 24 */ stw r0, 0x124(r30) /* 801BD278 001BA1D8 90 1E 01 28 */ stw r0, 0x128(r30) /* 801BD27C 001BA1DC 90 1E 01 30 */ stw r0, 0x130(r30) /* 801BD280 001BA1E0 90 1E 01 34 */ stw r0, 0x134(r30) /* 801BD284 001BA1E4 90 1E 01 38 */ stw r0, 0x138(r30) /* 801BD288 001BA1E8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BD28C 001BA1EC 81 84 00 00 */ lwz r12, 0(r4) /* 801BD290 001BA1F0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BD294 001BA1F4 7D 89 03 A6 */ mtctr r12 /* 801BD298 001BA1F8 4E 80 04 21 */ bctrl /* 801BD29C 001BA1FC 38 7E 01 3C */ addi r3, r30, 0x13c /* 801BD2A0 001BA200 38 81 00 10 */ addi r4, r1, 0x10 /* 801BD2A4 001BA204 48 18 3C 05 */ bl __ct__6CTokenFRC6CToken /* 801BD2A8 001BA208 38 61 00 10 */ addi r3, r1, 0x10 /* 801BD2AC 001BA20C 38 80 FF FF */ li r4, -1 /* 801BD2B0 001BA210 48 18 3B 91 */ bl __dt__6CTokenFv /* 801BD2B4 001BA214 38 00 00 00 */ li r0, 0 /* 801BD2B8 001BA218 7F 63 DB 78 */ mr r3, r27 /* 801BD2BC 001BA21C 90 1E 01 44 */ stw r0, 0x144(r30) /* 801BD2C0 001BA220 48 00 01 29 */ bl GetWeaponIndex__F11EWeaponType /* 801BD2C4 001BA224 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801BD2C8 001BA228 3C A0 80 3D */ lis r5, lbl_803D17A0@ha /* 801BD2CC 001BA22C 54 60 10 3A */ slwi r0, r3, 2 /* 801BD2D0 001BA230 38 61 00 08 */ addi r3, r1, 8 /* 801BD2D4 001BA234 81 84 00 00 */ lwz r12, 0(r4) /* 801BD2D8 001BA238 38 A5 17 A0 */ addi r5, r5, lbl_803D17A0@l /* 801BD2DC 001BA23C 7C A5 00 2E */ lwzx r5, r5, r0 /* 801BD2E0 001BA240 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BD2E4 001BA244 7D 89 03 A6 */ mtctr r12 /* 801BD2E8 001BA248 4E 80 04 21 */ bctrl /* 801BD2EC 001BA24C 3B 5E 01 60 */ addi r26, r30, 0x160 /* 801BD2F0 001BA250 38 81 00 08 */ addi r4, r1, 8 /* 801BD2F4 001BA254 7F 43 D3 78 */ mr r3, r26 /* 801BD2F8 001BA258 48 18 3B B1 */ bl __ct__6CTokenFRC6CToken /* 801BD2FC 001BA25C 38 00 00 00 */ li r0, 0 /* 801BD300 001BA260 38 61 00 08 */ addi r3, r1, 8 /* 801BD304 001BA264 90 1A 00 08 */ stw r0, 8(r26) /* 801BD308 001BA268 38 80 FF FF */ li r4, -1 /* 801BD30C 001BA26C 48 18 3B 35 */ bl __dt__6CTokenFv /* 801BD310 001BA270 38 80 00 00 */ li r4, 0 /* 801BD314 001BA274 7F 63 DB 78 */ mr r3, r27 /* 801BD318 001BA278 90 9E 01 6C */ stw r4, 0x16c(r30) /* 801BD31C 001BA27C 90 9E 01 88 */ stw r4, 0x188(r30) /* 801BD320 001BA280 90 9E 01 A4 */ stw r4, 0x1a4(r30) /* 801BD324 001BA284 90 9E 01 B8 */ stw r4, 0x1b8(r30) /* 801BD328 001BA288 90 9E 01 BC */ stw r4, 0x1bc(r30) /* 801BD32C 001BA28C 93 7E 01 C0 */ stw r27, 0x1c0(r30) /* 801BD330 001BA290 A0 1C 00 00 */ lhz r0, 0(r28) /* 801BD334 001BA294 B0 1E 01 C4 */ sth r0, 0x1c4(r30) /* 801BD338 001BA298 93 BE 01 C8 */ stw r29, 0x1c8(r30) /* 801BD33C 001BA29C 90 9E 01 CC */ stw r4, 0x1cc(r30) /* 801BD340 001BA2A0 90 9E 01 D0 */ stw r4, 0x1d0(r30) /* 801BD344 001BA2A4 90 9E 01 EC */ stw r4, 0x1ec(r30) /* 801BD348 001BA2A8 90 9E 01 F4 */ stw r4, 0x1f4(r30) /* 801BD34C 001BA2AC 48 00 00 9D */ bl GetWeaponIndex__F11EWeaponType /* 801BD350 001BA2B0 90 7E 02 00 */ stw r3, 0x200(r30) /* 801BD354 001BA2B4 38 80 00 00 */ li r4, 0 /* 801BD358 001BA2B8 7F C3 F3 78 */ mr r3, r30 /* 801BD35C 001BA2BC 90 9E 02 04 */ stw r4, 0x204(r30) /* 801BD360 001BA2C0 90 9E 02 08 */ stw r4, 0x208(r30) /* 801BD364 001BA2C4 80 1E 02 00 */ lwz r0, 0x200(r30) /* 801BD368 001BA2C8 90 1E 02 0C */ stw r0, 0x20c(r30) /* 801BD36C 001BA2CC 90 9E 02 10 */ stw r4, 0x210(r30) /* 801BD370 001BA2D0 93 FE 02 14 */ stw r31, 0x214(r30) /* 801BD374 001BA2D4 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BD378 001BA2D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801BD37C 001BA2DC 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BD380 001BA2E0 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BD384 001BA2E4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801BD388 001BA2E8 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BD38C 001BA2EC 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BD390 001BA2F0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801BD394 001BA2F4 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BD398 001BA2F8 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BD39C 001BA2FC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801BD3A0 001BA300 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BD3A4 001BA304 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BD3A8 001BA308 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801BD3AC 001BA30C 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BD3B0 001BA310 88 1E 02 18 */ lbz r0, 0x218(r30) /* 801BD3B4 001BA314 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801BD3B8 001BA318 98 1E 02 18 */ stb r0, 0x218(r30) /* 801BD3BC 001BA31C 80 9E 02 00 */ lwz r4, 0x200(r30) /* 801BD3C0 001BA320 4B FF DD D5 */ bl AllocResPools__10CGunWeaponFQ212CPlayerState7EBeamId /* 801BD3C4 001BA324 80 9E 02 00 */ lwz r4, 0x200(r30) /* 801BD3C8 001BA328 7F C3 F3 78 */ mr r3, r30 /* 801BD3CC 001BA32C 4B FF D2 ED */ bl BuildDependencyList__10CGunWeaponFQ212CPlayerState7EBeamId /* 801BD3D0 001BA330 7F C3 F3 78 */ mr r3, r30 /* 801BD3D4 001BA334 BB 41 00 28 */ lmw r26, 0x28(r1) /* 801BD3D8 001BA338 80 01 00 44 */ lwz r0, 0x44(r1) /* 801BD3DC 001BA33C 7C 08 03 A6 */ mtlr r0 /* 801BD3E0 001BA340 38 21 00 40 */ addi r1, r1, 0x40 /* 801BD3E4 001BA344 4E 80 00 20 */ blr .global GetWeaponIndex__F11EWeaponType GetWeaponIndex__F11EWeaponType: /* 801BD3E8 001BA348 2C 03 00 03 */ cmpwi r3, 3 /* 801BD3EC 001BA34C 41 82 00 44 */ beq lbl_801BD430 /* 801BD3F0 001BA350 40 80 00 1C */ bge lbl_801BD40C /* 801BD3F4 001BA354 2C 03 00 01 */ cmpwi r3, 1 /* 801BD3F8 001BA358 41 82 00 28 */ beq lbl_801BD420 /* 801BD3FC 001BA35C 40 80 00 2C */ bge lbl_801BD428 /* 801BD400 001BA360 2C 03 00 00 */ cmpwi r3, 0 /* 801BD404 001BA364 40 80 00 14 */ bge lbl_801BD418 /* 801BD408 001BA368 48 00 00 38 */ b lbl_801BD440 lbl_801BD40C: /* 801BD40C 001BA36C 2C 03 00 08 */ cmpwi r3, 8 /* 801BD410 001BA370 41 82 00 28 */ beq lbl_801BD438 /* 801BD414 001BA374 48 00 00 2C */ b lbl_801BD440 lbl_801BD418: /* 801BD418 001BA378 38 60 00 00 */ li r3, 0 /* 801BD41C 001BA37C 4E 80 00 20 */ blr lbl_801BD420: /* 801BD420 001BA380 38 60 00 01 */ li r3, 1 /* 801BD424 001BA384 4E 80 00 20 */ blr lbl_801BD428: /* 801BD428 001BA388 38 60 00 02 */ li r3, 2 /* 801BD42C 001BA38C 4E 80 00 20 */ blr lbl_801BD430: /* 801BD430 001BA390 38 60 00 03 */ li r3, 3 /* 801BD434 001BA394 4E 80 00 20 */ blr lbl_801BD438: /* 801BD438 001BA398 38 60 00 04 */ li r3, 4 /* 801BD43C 001BA39C 4E 80 00 20 */ blr lbl_801BD440: /* 801BD440 001BA3A0 38 60 00 00 */ li r3, 0 /* 801BD444 001BA3A4 4E 80 00 20 */ blr .global __dt__21CScriptAreaAttributesFv __dt__21CScriptAreaAttributesFv: /* 801BD448 001BA3A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BD44C 001BA3AC 7C 08 02 A6 */ mflr r0 /* 801BD450 001BA3B0 90 01 00 14 */ stw r0, 0x14(r1) /* 801BD454 001BA3B4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BD458 001BA3B8 7C 9F 23 78 */ mr r31, r4 /* 801BD45C 001BA3BC 93 C1 00 08 */ stw r30, 8(r1) /* 801BD460 001BA3C0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801BD464 001BA3C4 41 82 00 28 */ beq lbl_801BD48C /* 801BD468 001BA3C8 3C A0 80 3E */ lis r5, lbl_803E52F8@ha /* 801BD46C 001BA3CC 38 80 00 00 */ li r4, 0 /* 801BD470 001BA3D0 38 05 52 F8 */ addi r0, r5, lbl_803E52F8@l /* 801BD474 001BA3D4 90 1E 00 00 */ stw r0, 0(r30) /* 801BD478 001BA3D8 4B E9 3D FD */ bl __dt__7CEntityFv /* 801BD47C 001BA3DC 7F E0 07 35 */ extsh. r0, r31 /* 801BD480 001BA3E0 40 81 00 0C */ ble lbl_801BD48C /* 801BD484 001BA3E4 7F C3 F3 78 */ mr r3, r30 /* 801BD488 001BA3E8 48 15 84 A9 */ bl Free__7CMemoryFPCv lbl_801BD48C: /* 801BD48C 001BA3EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BD490 001BA3F0 7F C3 F3 78 */ mr r3, r30 /* 801BD494 001BA3F4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BD498 001BA3F8 83 C1 00 08 */ lwz r30, 8(r1) /* 801BD49C 001BA3FC 7C 08 03 A6 */ mtlr r0 /* 801BD4A0 001BA400 38 21 00 10 */ addi r1, r1, 0x10 /* 801BD4A4 001BA404 4E 80 00 20 */ blr .global Accept__21CScriptAreaAttributesFR8IVisitor Accept__21CScriptAreaAttributesFR8IVisitor: /* 801BD4A8 001BA408 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BD4AC 001BA40C 7C 08 02 A6 */ mflr r0 /* 801BD4B0 001BA410 90 01 00 14 */ stw r0, 0x14(r1) /* 801BD4B4 001BA414 7C 60 1B 78 */ mr r0, r3 /* 801BD4B8 001BA418 7C 83 23 78 */ mr r3, r4 /* 801BD4BC 001BA41C 81 84 00 00 */ lwz r12, 0(r4) /* 801BD4C0 001BA420 7C 04 03 78 */ mr r4, r0 /* 801BD4C4 001BA424 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801BD4C8 001BA428 7D 89 03 A6 */ mtctr r12 /* 801BD4CC 001BA42C 4E 80 04 21 */ bctrl /* 801BD4D0 001BA430 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BD4D4 001BA434 7C 08 03 A6 */ mtlr r0 /* 801BD4D8 001BA438 38 21 00 10 */ addi r1, r1, 0x10 /* 801BD4DC 001BA43C 4E 80 00 20 */ blr .global AcceptScriptMsg__21CScriptAreaAttributesF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__21CScriptAreaAttributesF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801BD4E0 001BA440 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BD4E4 001BA444 7C 08 02 A6 */ mflr r0 /* 801BD4E8 001BA448 90 01 00 44 */ stw r0, 0x44(r1) /* 801BD4EC 001BA44C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801BD4F0 001BA450 7C DF 33 78 */ mr r31, r6 /* 801BD4F4 001BA454 93 C1 00 38 */ stw r30, 0x38(r1) /* 801BD4F8 001BA458 7C 9E 23 78 */ mr r30, r4 /* 801BD4FC 001BA45C 93 A1 00 34 */ stw r29, 0x34(r1) /* 801BD500 001BA460 7C 7D 1B 78 */ mr r29, r3 /* 801BD504 001BA464 A0 05 00 00 */ lhz r0, 0(r5) /* 801BD508 001BA468 38 A1 00 08 */ addi r5, r1, 8 /* 801BD50C 001BA46C B0 01 00 08 */ sth r0, 8(r1) /* 801BD510 001BA470 4B E9 3C 4D */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801BD514 001BA474 80 BD 00 04 */ lwz r5, 4(r29) /* 801BD518 001BA478 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801BD51C 001BA47C 7C 05 00 00 */ cmpw r5, r0 /* 801BD520 001BA480 41 82 00 8C */ beq lbl_801BD5AC /* 801BD524 001BA484 2C 1E 00 23 */ cmpwi r30, 0x23 /* 801BD528 001BA488 41 82 00 14 */ beq lbl_801BD53C /* 801BD52C 001BA48C 40 80 00 80 */ bge lbl_801BD5AC /* 801BD530 001BA490 2C 1E 00 22 */ cmpwi r30, 0x22 /* 801BD534 001BA494 40 80 00 40 */ bge lbl_801BD574 /* 801BD538 001BA498 48 00 00 74 */ b lbl_801BD5AC lbl_801BD53C: /* 801BD53C 001BA49C 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801BD540 001BA4A0 54 A3 18 38 */ slwi r3, r5, 3 /* 801BD544 001BA4A4 38 03 00 04 */ addi r0, r3, 4 /* 801BD548 001BA4A8 90 A1 00 20 */ stw r5, 0x20(r1) /* 801BD54C 001BA4AC 80 64 00 20 */ lwz r3, 0x20(r4) /* 801BD550 001BA4B0 7F A4 EB 78 */ mr r4, r29 /* 801BD554 001BA4B4 90 A1 00 10 */ stw r5, 0x10(r1) /* 801BD558 001BA4B8 7C 63 00 2E */ lwzx r3, r3, r0 /* 801BD55C 001BA4BC 4B EA 0C B5 */ bl sub_8005e210 /* 801BD560 001BA4C0 80 7F 08 80 */ lwz r3, 0x880(r31) /* 801BD564 001BA4C4 38 80 01 F4 */ li r4, 0x1f4 /* 801BD568 001BA4C8 C0 3D 00 3C */ lfs f1, 0x3c(r29) /* 801BD56C 001BA4CC 48 05 29 F1 */ bl sub_8020ff5c /* 801BD570 001BA4D0 48 00 00 3C */ b lbl_801BD5AC lbl_801BD574: /* 801BD574 001BA4D4 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801BD578 001BA4D8 54 A3 18 38 */ slwi r3, r5, 3 /* 801BD57C 001BA4DC 38 03 00 04 */ addi r0, r3, 4 /* 801BD580 001BA4E0 90 A1 00 18 */ stw r5, 0x18(r1) /* 801BD584 001BA4E4 80 64 00 20 */ lwz r3, 0x20(r4) /* 801BD588 001BA4E8 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801BD58C 001BA4EC 7C 63 00 2E */ lwzx r3, r3, r0 /* 801BD590 001BA4F0 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 801BD594 001BA4F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801BD598 001BA4F8 41 82 00 14 */ beq lbl_801BD5AC /* 801BD59C 001BA4FC 90 A1 00 14 */ stw r5, 0x14(r1) /* 801BD5A0 001BA500 38 80 00 00 */ li r4, 0 /* 801BD5A4 001BA504 90 A1 00 0C */ stw r5, 0xc(r1) /* 801BD5A8 001BA508 4B EA 0C 69 */ bl sub_8005e210 lbl_801BD5AC: /* 801BD5AC 001BA50C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801BD5B0 001BA510 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801BD5B4 001BA514 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801BD5B8 001BA518 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801BD5BC 001BA51C 7C 08 03 A6 */ mtlr r0 /* 801BD5C0 001BA520 38 21 00 40 */ addi r1, r1, 0x40 /* 801BD5C4 001BA524 4E 80 00 20 */ blr .global __ct__21CScriptAreaAttributesF9TUniqueIdRC11CEntityInfob10EEnvFxTypeffffi11EPhazonType __ct__21CScriptAreaAttributesF9TUniqueIdRC11CEntityInfob10EEnvFxTypeffffi11EPhazonType: /* 801BD5C8 001BA528 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801BD5CC 001BA52C 7C 08 02 A6 */ mflr r0 /* 801BD5D0 001BA530 90 01 00 64 */ stw r0, 0x64(r1) /* 801BD5D4 001BA534 39 61 00 60 */ addi r11, r1, 0x60 /* 801BD5D8 001BA538 48 1C C4 11 */ bl sub_803899e8 /* 801BD5DC 001BA53C BF 21 00 24 */ stmw r25, 0x24(r1) /* 801BD5E0 001BA540 3D 40 80 3D */ lis r10, lbl_803D19F0@ha /* 801BD5E4 001BA544 FF 80 08 90 */ fmr f28, f1 /* 801BD5E8 001BA548 FF A0 10 90 */ fmr f29, f2 /* 801BD5EC 001BA54C 38 0A 19 F0 */ addi r0, r10, lbl_803D19F0@l /* 801BD5F0 001BA550 7C 79 1B 78 */ mr r25, r3 /* 801BD5F4 001BA554 7C 9A 23 78 */ mr r26, r4 /* 801BD5F8 001BA558 FF C0 18 90 */ fmr f30, f3 /* 801BD5FC 001BA55C FF E0 20 90 */ fmr f31, f4 /* 801BD600 001BA560 7C BB 2B 78 */ mr r27, r5 /* 801BD604 001BA564 7C DC 33 78 */ mr r28, r6 /* 801BD608 001BA568 7C FD 3B 78 */ mr r29, r7 /* 801BD60C 001BA56C 7D 1E 43 78 */ mr r30, r8 /* 801BD610 001BA570 7D 3F 4B 78 */ mr r31, r9 /* 801BD614 001BA574 7C 04 03 78 */ mr r4, r0 /* 801BD618 001BA578 38 61 00 0C */ addi r3, r1, 0xc /* 801BD61C 001BA57C 4B E4 76 9D */ bl string_l__4rstlFPCc /* 801BD620 001BA580 A0 1A 00 00 */ lhz r0, 0(r26) /* 801BD624 001BA584 7F 23 CB 78 */ mr r3, r25 /* 801BD628 001BA588 7F 65 DB 78 */ mr r5, r27 /* 801BD62C 001BA58C 38 81 00 08 */ addi r4, r1, 8 /* 801BD630 001BA590 B0 01 00 08 */ sth r0, 8(r1) /* 801BD634 001BA594 38 E1 00 0C */ addi r7, r1, 0xc /* 801BD638 001BA598 38 C0 00 01 */ li r6, 1 /* 801BD63C 001BA59C 4B E9 3C E9 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801BD640 001BA5A0 38 61 00 0C */ addi r3, r1, 0xc /* 801BD644 001BA5A4 48 18 04 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801BD648 001BA5A8 3C 60 80 3E */ lis r3, lbl_803E52F8@ha /* 801BD64C 001BA5AC 39 61 00 60 */ addi r11, r1, 0x60 /* 801BD650 001BA5B0 38 03 52 F8 */ addi r0, r3, lbl_803E52F8@l /* 801BD654 001BA5B4 90 19 00 00 */ stw r0, 0(r25) /* 801BD658 001BA5B8 7F 23 CB 78 */ mr r3, r25 /* 801BD65C 001BA5BC 88 19 00 34 */ lbz r0, 0x34(r25) /* 801BD660 001BA5C0 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 /* 801BD664 001BA5C4 98 19 00 34 */ stb r0, 0x34(r25) /* 801BD668 001BA5C8 93 B9 00 38 */ stw r29, 0x38(r25) /* 801BD66C 001BA5CC D3 99 00 3C */ stfs f28, 0x3c(r25) /* 801BD670 001BA5D0 D3 B9 00 40 */ stfs f29, 0x40(r25) /* 801BD674 001BA5D4 D3 D9 00 44 */ stfs f30, 0x44(r25) /* 801BD678 001BA5D8 D3 F9 00 48 */ stfs f31, 0x48(r25) /* 801BD67C 001BA5DC 93 D9 00 4C */ stw r30, 0x4c(r25) /* 801BD680 001BA5E0 93 F9 00 50 */ stw r31, 0x50(r25) /* 801BD684 001BA5E4 48 1C C3 B1 */ bl sub_80389a34 /* 801BD688 001BA5E8 BB 21 00 24 */ lmw r25, 0x24(r1) /* 801BD68C 001BA5EC 80 01 00 64 */ lwz r0, 0x64(r1) /* 801BD690 001BA5F0 7C 08 03 A6 */ mtlr r0 /* 801BD694 001BA5F4 38 21 00 60 */ addi r1, r1, 0x60 /* 801BD698 001BA5F8 4E 80 00 20 */ blr .global sub_801bd69c sub_801bd69c: /* 801BD69C 001BA5FC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BD6A0 001BA600 7C 08 02 A6 */ mflr r0 /* 801BD6A4 001BA604 90 01 00 14 */ stw r0, 0x14(r1) /* 801BD6A8 001BA608 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BD6AC 001BA60C 7C 9F 23 78 */ mr r31, r4 /* 801BD6B0 001BA610 93 C1 00 08 */ stw r30, 8(r1) /* 801BD6B4 001BA614 7C 7E 1B 79 */ or. r30, r3, r3 /* 801BD6B8 001BA618 41 82 01 3C */ beq lbl_801BD7F4 /* 801BD6BC 001BA61C 3C 60 80 3E */ lis r3, lbl_803E5318@ha /* 801BD6C0 001BA620 34 1E 03 90 */ addic. r0, r30, 0x390 /* 801BD6C4 001BA624 38 03 53 18 */ addi r0, r3, lbl_803E5318@l /* 801BD6C8 001BA628 90 1E 00 00 */ stw r0, 0(r30) /* 801BD6CC 001BA62C 41 82 00 24 */ beq lbl_801BD6F0 /* 801BD6D0 001BA630 80 7E 03 90 */ lwz r3, 0x390(r30) /* 801BD6D4 001BA634 28 03 00 00 */ cmplwi r3, 0 /* 801BD6D8 001BA638 41 82 00 18 */ beq lbl_801BD6F0 /* 801BD6DC 001BA63C 81 83 00 00 */ lwz r12, 0(r3) /* 801BD6E0 001BA640 38 80 00 01 */ li r4, 1 /* 801BD6E4 001BA644 81 8C 00 08 */ lwz r12, 8(r12) /* 801BD6E8 001BA648 7D 89 03 A6 */ mtctr r12 /* 801BD6EC 001BA64C 4E 80 04 21 */ bctrl lbl_801BD6F0: /* 801BD6F0 001BA650 34 1E 03 8C */ addic. r0, r30, 0x38c /* 801BD6F4 001BA654 41 82 00 24 */ beq lbl_801BD718 /* 801BD6F8 001BA658 80 7E 03 8C */ lwz r3, 0x38c(r30) /* 801BD6FC 001BA65C 28 03 00 00 */ cmplwi r3, 0 /* 801BD700 001BA660 41 82 00 18 */ beq lbl_801BD718 /* 801BD704 001BA664 81 83 00 00 */ lwz r12, 0(r3) /* 801BD708 001BA668 38 80 00 01 */ li r4, 1 /* 801BD70C 001BA66C 81 8C 00 08 */ lwz r12, 8(r12) /* 801BD710 001BA670 7D 89 03 A6 */ mtctr r12 /* 801BD714 001BA674 4E 80 04 21 */ bctrl lbl_801BD718: /* 801BD718 001BA678 34 1E 03 88 */ addic. r0, r30, 0x388 /* 801BD71C 001BA67C 41 82 00 24 */ beq lbl_801BD740 /* 801BD720 001BA680 80 7E 03 88 */ lwz r3, 0x388(r30) /* 801BD724 001BA684 28 03 00 00 */ cmplwi r3, 0 /* 801BD728 001BA688 41 82 00 18 */ beq lbl_801BD740 /* 801BD72C 001BA68C 81 83 00 00 */ lwz r12, 0(r3) /* 801BD730 001BA690 38 80 00 01 */ li r4, 1 /* 801BD734 001BA694 81 8C 00 08 */ lwz r12, 8(r12) /* 801BD738 001BA698 7D 89 03 A6 */ mtctr r12 /* 801BD73C 001BA69C 4E 80 04 21 */ bctrl lbl_801BD740: /* 801BD740 001BA6A0 34 1E 03 84 */ addic. r0, r30, 0x384 /* 801BD744 001BA6A4 41 82 00 24 */ beq lbl_801BD768 /* 801BD748 001BA6A8 80 7E 03 84 */ lwz r3, 0x384(r30) /* 801BD74C 001BA6AC 28 03 00 00 */ cmplwi r3, 0 /* 801BD750 001BA6B0 41 82 00 18 */ beq lbl_801BD768 /* 801BD754 001BA6B4 81 83 00 00 */ lwz r12, 0(r3) /* 801BD758 001BA6B8 38 80 00 01 */ li r4, 1 /* 801BD75C 001BA6BC 81 8C 00 08 */ lwz r12, 8(r12) /* 801BD760 001BA6C0 7D 89 03 A6 */ mtctr r12 /* 801BD764 001BA6C4 4E 80 04 21 */ bctrl lbl_801BD768: /* 801BD768 001BA6C8 34 1E 03 78 */ addic. r0, r30, 0x378 /* 801BD76C 001BA6CC 41 82 00 18 */ beq lbl_801BD784 /* 801BD770 001BA6D0 34 1E 03 78 */ addic. r0, r30, 0x378 /* 801BD774 001BA6D4 41 82 00 10 */ beq lbl_801BD784 /* 801BD778 001BA6D8 38 7E 03 78 */ addi r3, r30, 0x378 /* 801BD77C 001BA6DC 38 80 00 00 */ li r4, 0 /* 801BD780 001BA6E0 48 18 36 C1 */ bl __dt__6CTokenFv lbl_801BD784: /* 801BD784 001BA6E4 34 1E 03 6C */ addic. r0, r30, 0x36c /* 801BD788 001BA6E8 41 82 00 18 */ beq lbl_801BD7A0 /* 801BD78C 001BA6EC 34 1E 03 6C */ addic. r0, r30, 0x36c /* 801BD790 001BA6F0 41 82 00 10 */ beq lbl_801BD7A0 /* 801BD794 001BA6F4 38 7E 03 6C */ addi r3, r30, 0x36c /* 801BD798 001BA6F8 38 80 00 00 */ li r4, 0 /* 801BD79C 001BA6FC 48 18 36 A5 */ bl __dt__6CTokenFv lbl_801BD7A0: /* 801BD7A0 001BA700 34 1E 03 60 */ addic. r0, r30, 0x360 /* 801BD7A4 001BA704 41 82 00 18 */ beq lbl_801BD7BC /* 801BD7A8 001BA708 34 1E 03 60 */ addic. r0, r30, 0x360 /* 801BD7AC 001BA70C 41 82 00 10 */ beq lbl_801BD7BC /* 801BD7B0 001BA710 38 7E 03 60 */ addi r3, r30, 0x360 /* 801BD7B4 001BA714 38 80 00 00 */ li r4, 0 /* 801BD7B8 001BA718 48 18 36 89 */ bl __dt__6CTokenFv lbl_801BD7BC: /* 801BD7BC 001BA71C 34 1E 03 54 */ addic. r0, r30, 0x354 /* 801BD7C0 001BA720 41 82 00 18 */ beq lbl_801BD7D8 /* 801BD7C4 001BA724 34 1E 03 54 */ addic. r0, r30, 0x354 /* 801BD7C8 001BA728 41 82 00 10 */ beq lbl_801BD7D8 /* 801BD7CC 001BA72C 38 7E 03 54 */ addi r3, r30, 0x354 /* 801BD7D0 001BA730 38 80 00 00 */ li r4, 0 /* 801BD7D4 001BA734 48 18 36 6D */ bl __dt__6CTokenFv lbl_801BD7D8: /* 801BD7D8 001BA738 7F C3 F3 78 */ mr r3, r30 /* 801BD7DC 001BA73C 38 80 00 00 */ li r4, 0 /* 801BD7E0 001BA740 4B E7 9C 21 */ bl __dt__15CGameProjectileFv /* 801BD7E4 001BA744 7F E0 07 35 */ extsh. r0, r31 /* 801BD7E8 001BA748 40 81 00 0C */ ble lbl_801BD7F4 /* 801BD7EC 001BA74C 7F C3 F3 78 */ mr r3, r30 /* 801BD7F0 001BA750 48 15 81 41 */ bl Free__7CMemoryFPCv lbl_801BD7F4: /* 801BD7F4 001BA754 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BD7F8 001BA758 7F C3 F3 78 */ mr r3, r30 /* 801BD7FC 001BA75C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BD800 001BA760 83 C1 00 08 */ lwz r30, 8(r1) /* 801BD804 001BA764 7C 08 03 A6 */ mtlr r0 /* 801BD808 001BA768 38 21 00 10 */ addi r1, r1, 0x10 /* 801BD80C 001BA76C 4E 80 00 20 */ blr .global sub_801bd810 sub_801bd810: /* 801BD810 001BA770 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BD814 001BA774 7C 08 02 A6 */ mflr r0 /* 801BD818 001BA778 90 01 00 34 */ stw r0, 0x34(r1) /* 801BD81C 001BA77C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801BD820 001BA780 7C 7F 1B 78 */ mr r31, r3 /* 801BD824 001BA784 88 04 03 D0 */ lbz r0, 0x3d0(r4) /* 801BD828 001BA788 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801BD82C 001BA78C 41 82 00 10 */ beq lbl_801BD83C /* 801BD830 001BA790 38 00 00 00 */ li r0, 0 /* 801BD834 001BA794 98 1F 00 18 */ stb r0, 0x18(r31) /* 801BD838 001BA798 48 00 00 4C */ b lbl_801BD884 lbl_801BD83C: /* 801BD83C 001BA79C 38 61 00 08 */ addi r3, r1, 8 /* 801BD840 001BA7A0 4B E7 CA B9 */ bl GetProjectileBounds__15CGameProjectileCFv /* 801BD844 001BA7A4 38 00 00 01 */ li r0, 1 /* 801BD848 001BA7A8 28 1F 00 00 */ cmplwi r31, 0 /* 801BD84C 001BA7AC 98 1F 00 18 */ stb r0, 0x18(r31) /* 801BD850 001BA7B0 41 82 00 34 */ beq lbl_801BD884 /* 801BD854 001BA7B4 C0 01 00 08 */ lfs f0, 8(r1) /* 801BD858 001BA7B8 D0 1F 00 00 */ stfs f0, 0(r31) /* 801BD85C 001BA7BC C0 01 00 0C */ lfs f0, 0xc(r1) /* 801BD860 001BA7C0 D0 1F 00 04 */ stfs f0, 4(r31) /* 801BD864 001BA7C4 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801BD868 001BA7C8 D0 1F 00 08 */ stfs f0, 8(r31) /* 801BD86C 001BA7CC C0 01 00 14 */ lfs f0, 0x14(r1) /* 801BD870 001BA7D0 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801BD874 001BA7D4 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801BD878 001BA7D8 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801BD87C 001BA7DC C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801BD880 001BA7E0 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801BD884: /* 801BD884 001BA7E4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BD888 001BA7E8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801BD88C 001BA7EC 7C 08 03 A6 */ mtlr r0 /* 801BD890 001BA7F0 38 21 00 30 */ addi r1, r1, 0x30 /* 801BD894 001BA7F4 4E 80 00 20 */ blr .global sub_801bd898 sub_801bd898: /* 801BD898 001BA7F8 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801BD89C 001BA7FC 7C 08 02 A6 */ mflr r0 /* 801BD8A0 001BA800 90 01 00 94 */ stw r0, 0x94(r1) /* 801BD8A4 001BA804 DB E1 00 80 */ stfd f31, 0x80(r1) /* 801BD8A8 001BA808 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801BD8AC 001BA80C 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801BD8B0 001BA810 93 C1 00 78 */ stw r30, 0x78(r1) /* 801BD8B4 001BA814 93 A1 00 74 */ stw r29, 0x74(r1) /* 801BD8B8 001BA818 88 07 00 20 */ lbz r0, 0x20(r7) /* 801BD8BC 001BA81C FF E0 08 90 */ fmr f31, f1 /* 801BD8C0 001BA820 7C 7D 1B 78 */ mr r29, r3 /* 801BD8C4 001BA824 7D 1E 43 78 */ mr r30, r8 /* 801BD8C8 001BA828 28 00 00 00 */ cmplwi r0, 0 /* 801BD8CC 001BA82C 38 00 00 00 */ li r0, 0 /* 801BD8D0 001BA830 40 82 00 0C */ bne lbl_801BD8DC /* 801BD8D4 001BA834 38 00 00 01 */ li r0, 1 /* 801BD8D8 001BA838 48 00 00 1C */ b lbl_801BD8F4 lbl_801BD8DC: /* 801BD8DC 001BA83C C0 27 00 00 */ lfs f1, 0(r7) /* 801BD8E0 001BA840 C0 05 00 00 */ lfs f0, 0(r5) /* 801BD8E4 001BA844 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BD8E8 001BA848 4C 41 13 82 */ cror 2, 1, 2 /* 801BD8EC 001BA84C 40 82 00 08 */ bne lbl_801BD8F4 /* 801BD8F0 001BA850 38 00 00 01 */ li r0, 1 lbl_801BD8F4: /* 801BD8F4 001BA854 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801BD8F8 001BA858 41 82 00 F4 */ beq lbl_801BD9EC /* 801BD8FC 001BA85C 88 06 00 20 */ lbz r0, 0x20(r6) /* 801BD900 001BA860 28 00 00 00 */ cmplwi r0, 0 /* 801BD904 001BA864 41 82 00 E0 */ beq lbl_801BD9E4 /* 801BD908 001BA868 A0 04 00 00 */ lhz r0, 0(r4) /* 801BD90C 001BA86C 7F C3 F3 78 */ mr r3, r30 /* 801BD910 001BA870 38 81 00 20 */ addi r4, r1, 0x20 /* 801BD914 001BA874 B0 01 00 20 */ sth r0, 0x20(r1) /* 801BD918 001BA878 4B E8 EC 5D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801BD91C 001BA87C 7C 64 1B 78 */ mr r4, r3 /* 801BD920 001BA880 38 61 00 24 */ addi r3, r1, 0x24 /* 801BD924 001BA884 4B EF 23 6D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801BD928 001BA888 83 E3 00 04 */ lwz r31, 4(r3) /* 801BD92C 001BA88C 28 1F 00 00 */ cmplwi r31, 0 /* 801BD930 001BA890 41 82 00 B4 */ beq lbl_801BD9E4 /* 801BD934 001BA894 7F E3 FB 78 */ mr r3, r31 /* 801BD938 001BA898 7F A4 EB 78 */ mr r4, r29 /* 801BD93C 001BA89C 81 9F 00 00 */ lwz r12, 0(r31) /* 801BD940 001BA8A0 7F C5 F3 78 */ mr r5, r30 /* 801BD944 001BA8A4 81 8C 00 44 */ lwz r12, 0x44(r12) /* 801BD948 001BA8A8 7D 89 03 A6 */ mtctr r12 /* 801BD94C 001BA8AC 4E 80 04 21 */ bctrl /* 801BD950 001BA8B0 C0 7D 00 58 */ lfs f3, 0x58(r29) /* 801BD954 001BA8B4 FC 20 F8 90 */ fmr f1, f31 /* 801BD958 001BA8B8 C0 5D 00 48 */ lfs f2, 0x48(r29) /* 801BD95C 001BA8BC 38 61 00 50 */ addi r3, r1, 0x50 /* 801BD960 001BA8C0 C0 1D 00 38 */ lfs f0, 0x38(r29) /* 801BD964 001BA8C4 38 9D 01 2C */ addi r4, r29, 0x12c /* 801BD968 001BA8C8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801BD96C 001BA8CC D0 41 00 30 */ stfs f2, 0x30(r1) /* 801BD970 001BA8D0 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801BD974 001BA8D4 80 1D 00 F8 */ lwz r0, 0xf8(r29) /* 801BD978 001BA8D8 80 BD 00 FC */ lwz r5, 0xfc(r29) /* 801BD97C 001BA8DC 90 A1 00 3C */ stw r5, 0x3c(r1) /* 801BD980 001BA8E0 90 01 00 38 */ stw r0, 0x38(r1) /* 801BD984 001BA8E4 80 1D 01 00 */ lwz r0, 0x100(r29) /* 801BD988 001BA8E8 80 BD 01 04 */ lwz r5, 0x104(r29) /* 801BD98C 001BA8EC 90 A1 00 44 */ stw r5, 0x44(r1) /* 801BD990 001BA8F0 90 01 00 40 */ stw r0, 0x40(r1) /* 801BD994 001BA8F4 80 1D 01 08 */ lwz r0, 0x108(r29) /* 801BD998 001BA8F8 90 01 00 48 */ stw r0, 0x48(r1) /* 801BD99C 001BA8FC 4B F0 5A AD */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 801BD9A0 001BA900 A0 1D 00 EC */ lhz r0, 0xec(r29) /* 801BD9A4 001BA904 7F C3 F3 78 */ mr r3, r30 /* 801BD9A8 001BA908 38 81 00 1C */ addi r4, r1, 0x1c /* 801BD9AC 001BA90C 38 A1 00 14 */ addi r5, r1, 0x14 /* 801BD9B0 001BA910 B0 01 00 0C */ sth r0, 0xc(r1) /* 801BD9B4 001BA914 38 C1 00 0C */ addi r6, r1, 0xc /* 801BD9B8 001BA918 38 E1 00 50 */ addi r7, r1, 0x50 /* 801BD9BC 001BA91C 39 01 00 38 */ addi r8, r1, 0x38 /* 801BD9C0 001BA920 A1 5F 00 08 */ lhz r10, 8(r31) /* 801BD9C4 001BA924 39 21 00 2C */ addi r9, r1, 0x2c /* 801BD9C8 001BA928 B0 01 00 08 */ sth r0, 8(r1) /* 801BD9CC 001BA92C B1 41 00 14 */ sth r10, 0x14(r1) /* 801BD9D0 001BA930 A0 1D 00 08 */ lhz r0, 8(r29) /* 801BD9D4 001BA934 B1 41 00 10 */ sth r10, 0x10(r1) /* 801BD9D8 001BA938 B0 01 00 18 */ sth r0, 0x18(r1) /* 801BD9DC 001BA93C B0 01 00 1C */ sth r0, 0x1c(r1) /* 801BD9E0 001BA940 4B E8 C6 C1 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_801BD9E4: /* 801BD9E4 001BA944 38 60 00 01 */ li r3, 1 /* 801BD9E8 001BA948 48 00 00 08 */ b lbl_801BD9F0 lbl_801BD9EC: /* 801BD9EC 001BA94C 38 60 00 00 */ li r3, 0 lbl_801BD9F0: /* 801BD9F0 001BA950 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801BD9F4 001BA954 80 01 00 94 */ lwz r0, 0x94(r1) /* 801BD9F8 001BA958 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801BD9FC 001BA95C 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801BDA00 001BA960 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801BDA04 001BA964 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801BDA08 001BA968 7C 08 03 A6 */ mtlr r0 /* 801BDA0C 001BA96C 38 21 00 90 */ addi r1, r1, 0x90 /* 801BDA10 001BA970 4E 80 00 20 */ blr .global sub_801bda14 sub_801bda14: /* 801BDA14 001BA974 94 21 F4 70 */ stwu r1, -0xb90(r1) /* 801BDA18 001BA978 7C 08 02 A6 */ mflr r0 /* 801BDA1C 001BA97C 90 01 0B 94 */ stw r0, 0xb94(r1) /* 801BDA20 001BA980 DB E1 0B 80 */ stfd f31, 0xb80(r1) /* 801BDA24 001BA984 F3 E1 0B 88 */ psq_st f31, -1144(r1), 0, qr0 /* 801BDA28 001BA988 DB C1 0B 70 */ stfd f30, 0xb70(r1) /* 801BDA2C 001BA98C F3 C1 0B 78 */ psq_st f30, -1160(r1), 0, qr0 /* 801BDA30 001BA990 BE 41 0B 38 */ stmw r18, 0xb38(r1) /* 801BDA34 001BA994 C0 62 A9 F8 */ lfs f3, lbl_805AC718@sda21(r2) /* 801BDA38 001BA998 38 00 00 00 */ li r0, 0 /* 801BDA3C 001BA99C C0 42 AA 00 */ lfs f2, lbl_805AC720@sda21(r2) /* 801BDA40 001BA9A0 FF C0 08 90 */ fmr f30, f1 /* 801BDA44 001BA9A4 C0 22 A9 FC */ lfs f1, lbl_805AC71C@sda21(r2) /* 801BDA48 001BA9A8 7C 78 1B 78 */ mr r24, r3 /* 801BDA4C 001BA9AC C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BDA50 001BA9B0 7C 99 23 78 */ mr r25, r4 /* 801BDA54 001BA9B4 7C BA 2B 78 */ mr r26, r5 /* 801BDA58 001BA9B8 90 01 03 28 */ stw r0, 0x328(r1) /* 801BDA5C 001BA9BC 7C DB 33 78 */ mr r27, r6 /* 801BDA60 001BA9C0 7C FC 3B 78 */ mr r28, r7 /* 801BDA64 001BA9C4 7D 1D 43 78 */ mr r29, r8 /* 801BDA68 001BA9C8 D0 61 00 20 */ stfs f3, 0x20(r1) /* 801BDA6C 001BA9CC 7D 3E 4B 78 */ mr r30, r9 /* 801BDA70 001BA9D0 7D 5F 53 78 */ mr r31, r10 /* 801BDA74 001BA9D4 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801BDA78 001BA9D8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801BDA7C 001BA9DC 38 81 00 2C */ addi r4, r1, 0x2c /* 801BDA80 001BA9E0 38 A1 00 20 */ addi r5, r1, 0x20 /* 801BDA84 001BA9E4 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801BDA88 001BA9E8 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801BDA8C 001BA9EC D0 01 00 30 */ stfs f0, 0x30(r1) /* 801BDA90 001BA9F0 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801BDA94 001BA9F4 48 17 AA 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801BDA98 001BA9F8 7C 64 1B 78 */ mr r4, r3 /* 801BDA9C 001BA9FC 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801BDAA0 001BAA00 38 B8 02 E8 */ addi r5, r24, 0x2e8 /* 801BDAA4 001BAA04 48 17 9E 59 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 801BDAA8 001BAA08 C0 A1 00 B8 */ lfs f5, 0xb8(r1) /* 801BDAAC 001BAA0C 38 60 00 00 */ li r3, 0 /* 801BDAB0 001BAA10 C0 81 00 BC */ lfs f4, 0xbc(r1) /* 801BDAB4 001BAA14 38 80 00 01 */ li r4, 1 /* 801BDAB8 001BAA18 C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 801BDABC 001BAA1C C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 801BDAC0 001BAA20 C0 21 00 C8 */ lfs f1, 0xc8(r1) /* 801BDAC4 001BAA24 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 801BDAC8 001BAA28 80 AD 91 0C */ lwz r5, lbl_805A7CCC@sda21(r13) /* 801BDACC 001BAA2C D0 A1 00 EC */ stfs f5, 0xec(r1) /* 801BDAD0 001BAA30 D0 81 00 F0 */ stfs f4, 0xf0(r1) /* 801BDAD4 001BAA34 D0 61 00 F4 */ stfs f3, 0xf4(r1) /* 801BDAD8 001BAA38 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 801BDADC 001BAA3C D0 21 00 FC */ stfs f1, 0xfc(r1) /* 801BDAE0 001BAA40 D0 01 01 00 */ stfs f0, 0x100(r1) /* 801BDAE4 001BAA44 48 1C C4 11 */ bl __shl2i /* 801BDAE8 001BAA48 80 AD 91 10 */ lwz r5, lbl_805A7CD0@sda21(r13) /* 801BDAEC 001BAA4C 7C 93 23 78 */ mr r19, r4 /* 801BDAF0 001BAA50 7C 72 1B 78 */ mr r18, r3 /* 801BDAF4 001BAA54 38 60 00 00 */ li r3, 0 /* 801BDAF8 001BAA58 38 80 00 01 */ li r4, 1 /* 801BDAFC 001BAA5C 48 1C C3 F9 */ bl __shl2i /* 801BDB00 001BAA60 7E 73 23 78 */ or r19, r19, r4 /* 801BDB04 001BAA64 7E 52 1B 78 */ or r18, r18, r3 /* 801BDB08 001BAA68 38 60 FF FF */ li r3, -1 /* 801BDB0C 001BAA6C 38 80 00 00 */ li r4, 0 /* 801BDB10 001BAA70 38 00 00 02 */ li r0, 2 /* 801BDB14 001BAA74 90 61 00 8C */ stw r3, 0x8c(r1) /* 801BDB18 001BAA78 7F 23 CB 78 */ mr r3, r25 /* 801BDB1C 001BAA7C 7F 07 C3 78 */ mr r7, r24 /* 801BDB20 001BAA80 90 81 00 88 */ stw r4, 0x88(r1) /* 801BDB24 001BAA84 38 81 03 28 */ addi r4, r1, 0x328 /* 801BDB28 001BAA88 38 A1 00 EC */ addi r5, r1, 0xec /* 801BDB2C 001BAA8C 38 C1 00 88 */ addi r6, r1, 0x88 /* 801BDB30 001BAA90 92 61 00 94 */ stw r19, 0x94(r1) /* 801BDB34 001BAA94 92 41 00 90 */ stw r18, 0x90(r1) /* 801BDB38 001BAA98 90 01 00 98 */ stw r0, 0x98(r1) /* 801BDB3C 001BAA9C 4B E8 EB E5 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801BDB40 001BAAA0 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BDB44 001BAAA4 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801BDB48 001BAAA8 40 81 00 0C */ ble lbl_801BDB54 /* 801BDB4C 001BAAAC FC 00 F0 90 */ fmr f0, f30 /* 801BDB50 001BAAB0 48 00 00 08 */ b lbl_801BDB58 lbl_801BDB54: /* 801BDB54 001BAAB4 C0 02 AA 08 */ lfs f0, lbl_805AC728@sda21(r2) lbl_801BDB58: /* 801BDB58 001BAAB8 FF E0 00 90 */ fmr f31, f0 /* 801BDB5C 001BAABC 3A C1 03 2C */ addi r22, r1, 0x32c /* 801BDB60 001BAAC0 FF C0 00 90 */ fmr f30, f0 /* 801BDB64 001BAAC4 7E D5 B3 78 */ mr r21, r22 /* 801BDB68 001BAAC8 3A 81 02 F4 */ addi r20, r1, 0x2f4 /* 801BDB6C 001BAACC 3A E1 02 84 */ addi r23, r1, 0x284 /* 801BDB70 001BAAD0 48 00 04 18 */ b lbl_801BDF88 lbl_801BDB74: /* 801BDB74 001BAAD4 A0 15 00 00 */ lhz r0, 0(r21) /* 801BDB78 001BAAD8 7F 23 CB 78 */ mr r3, r25 /* 801BDB7C 001BAADC 38 81 00 0C */ addi r4, r1, 0xc /* 801BDB80 001BAAE0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801BDB84 001BAAE4 4B E8 EA 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801BDB88 001BAAE8 7C 64 1B 78 */ mr r4, r3 /* 801BDB8C 001BAAEC 38 61 00 18 */ addi r3, r1, 0x18 /* 801BDB90 001BAAF0 4B EE EB 55 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" /* 801BDB94 001BAAF4 82 63 00 04 */ lwz r19, 4(r3) /* 801BDB98 001BAAF8 28 13 00 00 */ cmplwi r19, 0 /* 801BDB9C 001BAAFC 41 82 01 54 */ beq lbl_801BDCF0 /* 801BDBA0 001BAB00 7E 64 9B 78 */ mr r4, r19 /* 801BDBA4 001BAB04 38 61 01 60 */ addi r3, r1, 0x160 /* 801BDBA8 001BAB08 81 93 00 00 */ lwz r12, 0(r19) /* 801BDBAC 001BAB0C 81 8C 00 70 */ lwz r12, 0x70(r12) /* 801BDBB0 001BAB10 7D 89 03 A6 */ mtctr r12 /* 801BDBB4 001BAB14 4E 80 04 21 */ bctrl /* 801BDBB8 001BAB18 80 18 00 F8 */ lwz r0, 0xf8(r24) /* 801BDBBC 001BAB1C 7E 63 9B 78 */ mr r3, r19 /* 801BDBC0 001BAB20 80 98 00 FC */ lwz r4, 0xfc(r24) /* 801BDBC4 001BAB24 90 81 00 74 */ stw r4, 0x74(r1) /* 801BDBC8 001BAB28 90 01 00 70 */ stw r0, 0x70(r1) /* 801BDBCC 001BAB2C 80 18 01 00 */ lwz r0, 0x100(r24) /* 801BDBD0 001BAB30 80 98 01 04 */ lwz r4, 0x104(r24) /* 801BDBD4 001BAB34 90 81 00 7C */ stw r4, 0x7c(r1) /* 801BDBD8 001BAB38 90 01 00 78 */ stw r0, 0x78(r1) /* 801BDBDC 001BAB3C 80 18 01 08 */ lwz r0, 0x108(r24) /* 801BDBE0 001BAB40 90 01 00 80 */ stw r0, 0x80(r1) /* 801BDBE4 001BAB44 81 93 00 00 */ lwz r12, 0(r19) /* 801BDBE8 001BAB48 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 801BDBEC 001BAB4C 7D 89 03 A6 */ mtctr r12 /* 801BDBF0 001BAB50 4E 80 04 21 */ bctrl /* 801BDBF4 001BAB54 FC 20 F8 90 */ fmr f1, f31 /* 801BDBF8 001BAB58 7C 72 1B 78 */ mr r18, r3 /* 801BDBFC 001BAB5C 7F 84 E3 78 */ mr r4, r28 /* 801BDC00 001BAB60 7F A5 EB 78 */ mr r5, r29 /* 801BDC04 001BAB64 38 61 02 B8 */ addi r3, r1, 0x2b8 /* 801BDC08 001BAB68 48 11 84 65 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff /* 801BDC0C 001BAB6C D3 E1 02 F0 */ stfs f31, 0x2f0(r1) /* 801BDC10 001BAB70 7E 83 A3 78 */ mr r3, r20 /* 801BDC14 001BAB74 38 81 01 60 */ addi r4, r1, 0x160 /* 801BDC18 001BAB78 48 15 4F 5D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801BDC1C 001BAB7C 38 01 00 70 */ addi r0, r1, 0x70 /* 801BDC20 001BAB80 7E 44 93 78 */ mr r4, r18 /* 801BDC24 001BAB84 90 01 03 24 */ stw r0, 0x324(r1) /* 801BDC28 001BAB88 38 61 01 90 */ addi r3, r1, 0x190 /* 801BDC2C 001BAB8C 38 A1 02 B8 */ addi r5, r1, 0x2b8 /* 801BDC30 001BAB90 81 92 00 00 */ lwz r12, 0(r18) /* 801BDC34 001BAB94 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801BDC38 001BAB98 7D 89 03 A6 */ mtctr r12 /* 801BDC3C 001BAB9C 4E 80 04 21 */ bctrl /* 801BDC40 001BABA0 88 81 01 B0 */ lbz r4, 0x1b0(r1) /* 801BDC44 001BABA4 C0 E1 01 90 */ lfs f7, 0x190(r1) /* 801BDC48 001BABA8 C0 C1 01 94 */ lfs f6, 0x194(r1) /* 801BDC4C 001BABAC 28 04 00 00 */ cmplwi r4, 0 /* 801BDC50 001BABB0 C0 A1 01 98 */ lfs f5, 0x198(r1) /* 801BDC54 001BABB4 C0 01 01 9C */ lfs f0, 0x19c(r1) /* 801BDC58 001BABB8 C0 81 01 A0 */ lfs f4, 0x1a0(r1) /* 801BDC5C 001BABBC C0 61 01 A4 */ lfs f3, 0x1a4(r1) /* 801BDC60 001BABC0 C0 41 01 A8 */ lfs f2, 0x1a8(r1) /* 801BDC64 001BABC4 C0 21 01 AC */ lfs f1, 0x1ac(r1) /* 801BDC68 001BABC8 80 01 01 B8 */ lwz r0, 0x1b8(r1) /* 801BDC6C 001BABCC 80 61 01 BC */ lwz r3, 0x1bc(r1) /* 801BDC70 001BABD0 D0 E1 02 18 */ stfs f7, 0x218(r1) /* 801BDC74 001BABD4 D0 C1 02 1C */ stfs f6, 0x21c(r1) /* 801BDC78 001BABD8 D0 A1 02 20 */ stfs f5, 0x220(r1) /* 801BDC7C 001BABDC D0 01 02 24 */ stfs f0, 0x224(r1) /* 801BDC80 001BABE0 D0 81 02 28 */ stfs f4, 0x228(r1) /* 801BDC84 001BABE4 D0 61 02 2C */ stfs f3, 0x22c(r1) /* 801BDC88 001BABE8 D0 41 02 30 */ stfs f2, 0x230(r1) /* 801BDC8C 001BABEC D0 21 02 34 */ stfs f1, 0x234(r1) /* 801BDC90 001BABF0 98 81 02 38 */ stb r4, 0x238(r1) /* 801BDC94 001BABF4 90 61 02 44 */ stw r3, 0x244(r1) /* 801BDC98 001BABF8 90 01 02 40 */ stw r0, 0x240(r1) /* 801BDC9C 001BABFC 41 82 02 E8 */ beq lbl_801BDF84 /* 801BDCA0 001BAC00 FC 07 F8 40 */ fcmpo cr0, f7, f31 /* 801BDCA4 001BAC04 40 80 02 E0 */ bge lbl_801BDF84 /* 801BDCA8 001BAC08 D0 FE 00 00 */ stfs f7, 0(r30) /* 801BDCAC 001BAC0C FF E0 38 90 */ fmr f31, f7 /* 801BDCB0 001BAC10 80 01 02 1C */ lwz r0, 0x21c(r1) /* 801BDCB4 001BAC14 80 61 02 20 */ lwz r3, 0x220(r1) /* 801BDCB8 001BAC18 90 1E 00 04 */ stw r0, 4(r30) /* 801BDCBC 001BAC1C 80 01 02 24 */ lwz r0, 0x224(r1) /* 801BDCC0 001BAC20 90 7E 00 08 */ stw r3, 8(r30) /* 801BDCC4 001BAC24 C8 01 02 40 */ lfd f0, 0x240(r1) /* 801BDCC8 001BAC28 90 1E 00 0C */ stw r0, 0xc(r30) /* 801BDCCC 001BAC2C D0 9E 00 10 */ stfs f4, 0x10(r30) /* 801BDCD0 001BAC30 D0 7E 00 14 */ stfs f3, 0x14(r30) /* 801BDCD4 001BAC34 D0 5E 00 18 */ stfs f2, 0x18(r30) /* 801BDCD8 001BAC38 D0 3E 00 1C */ stfs f1, 0x1c(r30) /* 801BDCDC 001BAC3C 98 9E 00 20 */ stb r4, 0x20(r30) /* 801BDCE0 001BAC40 D8 1E 00 28 */ stfd f0, 0x28(r30) /* 801BDCE4 001BAC44 A0 13 00 08 */ lhz r0, 8(r19) /* 801BDCE8 001BAC48 B0 1A 00 00 */ sth r0, 0(r26) /* 801BDCEC 001BAC4C 48 00 02 98 */ b lbl_801BDF84 lbl_801BDCF0: /* 801BDCF0 001BAC50 A0 15 00 00 */ lhz r0, 0(r21) /* 801BDCF4 001BAC54 7F 23 CB 78 */ mr r3, r25 /* 801BDCF8 001BAC58 38 81 00 08 */ addi r4, r1, 8 /* 801BDCFC 001BAC5C B0 01 00 08 */ sth r0, 8(r1) /* 801BDD00 001BAC60 4B E8 E8 A5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801BDD04 001BAC64 7C 64 1B 78 */ mr r4, r3 /* 801BDD08 001BAC68 38 61 00 10 */ addi r3, r1, 0x10 /* 801BDD0C 001BAC6C 4B EF 1F 85 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801BDD10 001BAC70 82 63 00 04 */ lwz r19, 4(r3) /* 801BDD14 001BAC74 28 13 00 00 */ cmplwi r19, 0 /* 801BDD18 001BAC78 41 82 02 6C */ beq lbl_801BDF84 /* 801BDD1C 001BAC7C 7E 64 9B 78 */ mr r4, r19 /* 801BDD20 001BAC80 38 61 00 50 */ addi r3, r1, 0x50 /* 801BDD24 001BAC84 81 93 00 00 */ lwz r12, 0(r19) /* 801BDD28 001BAC88 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801BDD2C 001BAC8C 7D 89 03 A6 */ mtctr r12 /* 801BDD30 001BAC90 4E 80 04 21 */ bctrl /* 801BDD34 001BAC94 88 01 00 68 */ lbz r0, 0x68(r1) /* 801BDD38 001BAC98 28 00 00 00 */ cmplwi r0, 0 /* 801BDD3C 001BAC9C 98 01 00 E8 */ stb r0, 0xe8(r1) /* 801BDD40 001BACA0 41 82 00 3C */ beq lbl_801BDD7C /* 801BDD44 001BACA4 34 61 00 D0 */ addic. r3, r1, 0xd0 /* 801BDD48 001BACA8 41 82 00 34 */ beq lbl_801BDD7C /* 801BDD4C 001BACAC C0 01 00 50 */ lfs f0, 0x50(r1) /* 801BDD50 001BACB0 D0 03 00 00 */ stfs f0, 0(r3) /* 801BDD54 001BACB4 C0 01 00 54 */ lfs f0, 0x54(r1) /* 801BDD58 001BACB8 D0 03 00 04 */ stfs f0, 4(r3) /* 801BDD5C 001BACBC C0 01 00 58 */ lfs f0, 0x58(r1) /* 801BDD60 001BACC0 D0 03 00 08 */ stfs f0, 8(r3) /* 801BDD64 001BACC4 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801BDD68 001BACC8 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801BDD6C 001BACCC C0 01 00 60 */ lfs f0, 0x60(r1) /* 801BDD70 001BACD0 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801BDD74 001BACD4 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801BDD78 001BACD8 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801BDD7C: /* 801BDD7C 001BACDC 88 01 00 E8 */ lbz r0, 0xe8(r1) /* 801BDD80 001BACE0 38 60 00 00 */ li r3, 0 /* 801BDD84 001BACE4 98 61 00 68 */ stb r3, 0x68(r1) /* 801BDD88 001BACE8 28 00 00 00 */ cmplwi r0, 0 /* 801BDD8C 001BACEC 40 82 00 0C */ bne lbl_801BDD98 /* 801BDD90 001BACF0 98 61 00 E8 */ stb r3, 0xe8(r1) /* 801BDD94 001BACF4 48 00 01 F0 */ b lbl_801BDF84 lbl_801BDD98: /* 801BDD98 001BACF8 38 61 01 38 */ addi r3, r1, 0x138 /* 801BDD9C 001BACFC 38 93 00 68 */ addi r4, r19, 0x68 /* 801BDDA0 001BAD00 48 11 1B 15 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 801BDDA4 001BAD04 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 801BDDA8 001BAD08 C0 C1 00 D0 */ lfs f6, 0xd0(r1) /* 801BDDAC 001BAD0C 39 03 CA D0 */ addi r8, r3, lbl_803ECAD0@l /* 801BDDB0 001BAD10 C0 A1 00 D4 */ lfs f5, 0xd4(r1) /* 801BDDB4 001BAD14 91 01 01 38 */ stw r8, 0x138(r1) /* 801BDDB8 001BAD18 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 801BDDBC 001BAD1C 38 E3 97 E4 */ addi r7, r3, lbl_803D97E4@l /* 801BDDC0 001BAD20 C0 81 00 D8 */ lfs f4, 0xd8(r1) /* 801BDDC4 001BAD24 C0 61 00 DC */ lfs f3, 0xdc(r1) /* 801BDDC8 001BAD28 FC 20 F0 90 */ fmr f1, f30 /* 801BDDCC 001BAD2C C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 801BDDD0 001BAD30 7F 84 E3 78 */ mr r4, r28 /* 801BDDD4 001BAD34 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801BDDD8 001BAD38 7F A5 EB 78 */ mr r5, r29 /* 801BDDDC 001BAD3C 90 E1 01 F0 */ stw r7, 0x1f0(r1) /* 801BDDE0 001BAD40 80 01 01 40 */ lwz r0, 0x140(r1) /* 801BDDE4 001BAD44 38 61 02 48 */ addi r3, r1, 0x248 /* 801BDDE8 001BAD48 91 01 01 38 */ stw r8, 0x138(r1) /* 801BDDEC 001BAD4C 80 C1 01 44 */ lwz r6, 0x144(r1) /* 801BDDF0 001BAD50 D0 C1 01 48 */ stfs f6, 0x148(r1) /* 801BDDF4 001BAD54 D0 A1 01 4C */ stfs f5, 0x14c(r1) /* 801BDDF8 001BAD58 D0 81 01 50 */ stfs f4, 0x150(r1) /* 801BDDFC 001BAD5C D0 61 01 54 */ stfs f3, 0x154(r1) /* 801BDE00 001BAD60 D0 41 01 58 */ stfs f2, 0x158(r1) /* 801BDE04 001BAD64 D0 01 01 5C */ stfs f0, 0x15c(r1) /* 801BDE08 001BAD68 90 C1 01 FC */ stw r6, 0x1fc(r1) /* 801BDE0C 001BAD6C 90 01 01 F8 */ stw r0, 0x1f8(r1) /* 801BDE10 001BAD70 91 01 01 F0 */ stw r8, 0x1f0(r1) /* 801BDE14 001BAD74 D0 C1 02 00 */ stfs f6, 0x200(r1) /* 801BDE18 001BAD78 D0 A1 02 04 */ stfs f5, 0x204(r1) /* 801BDE1C 001BAD7C D0 81 02 08 */ stfs f4, 0x208(r1) /* 801BDE20 001BAD80 D0 61 02 0C */ stfs f3, 0x20c(r1) /* 801BDE24 001BAD84 D0 41 02 10 */ stfs f2, 0x210(r1) /* 801BDE28 001BAD88 D0 01 02 14 */ stfs f0, 0x214(r1) /* 801BDE2C 001BAD8C 90 E1 01 38 */ stw r7, 0x138(r1) /* 801BDE30 001BAD90 80 18 00 F8 */ lwz r0, 0xf8(r24) /* 801BDE34 001BAD94 80 D8 00 FC */ lwz r6, 0xfc(r24) /* 801BDE38 001BAD98 90 C1 00 3C */ stw r6, 0x3c(r1) /* 801BDE3C 001BAD9C 90 01 00 38 */ stw r0, 0x38(r1) /* 801BDE40 001BADA0 80 18 01 00 */ lwz r0, 0x100(r24) /* 801BDE44 001BADA4 80 D8 01 04 */ lwz r6, 0x104(r24) /* 801BDE48 001BADA8 90 C1 00 44 */ stw r6, 0x44(r1) /* 801BDE4C 001BADAC 90 01 00 40 */ stw r0, 0x40(r1) /* 801BDE50 001BADB0 80 18 01 08 */ lwz r0, 0x108(r24) /* 801BDE54 001BADB4 90 01 00 48 */ stw r0, 0x48(r1) /* 801BDE58 001BADB8 48 11 82 15 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff /* 801BDE5C 001BADBC 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801BDE60 001BADC0 D3 C1 02 80 */ stfs f30, 0x280(r1) /* 801BDE64 001BADC4 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 801BDE68 001BADC8 7E E3 BB 78 */ mr r3, r23 /* 801BDE6C 001BADCC 48 15 4D 09 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801BDE70 001BADD0 38 01 00 38 */ addi r0, r1, 0x38 /* 801BDE74 001BADD4 81 81 01 F0 */ lwz r12, 0x1f0(r1) /* 801BDE78 001BADD8 90 01 02 B4 */ stw r0, 0x2b4(r1) /* 801BDE7C 001BADDC 38 61 01 08 */ addi r3, r1, 0x108 /* 801BDE80 001BADE0 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 801BDE84 001BADE4 38 A1 02 48 */ addi r5, r1, 0x248 /* 801BDE88 001BADE8 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801BDE8C 001BADEC 7D 89 03 A6 */ mtctr r12 /* 801BDE90 001BADF0 4E 80 04 21 */ bctrl /* 801BDE94 001BADF4 88 81 01 28 */ lbz r4, 0x128(r1) /* 801BDE98 001BADF8 C0 E1 01 08 */ lfs f7, 0x108(r1) /* 801BDE9C 001BADFC C0 C1 01 0C */ lfs f6, 0x10c(r1) /* 801BDEA0 001BAE00 28 04 00 00 */ cmplwi r4, 0 /* 801BDEA4 001BAE04 C0 A1 01 10 */ lfs f5, 0x110(r1) /* 801BDEA8 001BAE08 C0 01 01 14 */ lfs f0, 0x114(r1) /* 801BDEAC 001BAE0C C0 81 01 18 */ lfs f4, 0x118(r1) /* 801BDEB0 001BAE10 C0 61 01 1C */ lfs f3, 0x11c(r1) /* 801BDEB4 001BAE14 C0 41 01 20 */ lfs f2, 0x120(r1) /* 801BDEB8 001BAE18 C0 21 01 24 */ lfs f1, 0x124(r1) /* 801BDEBC 001BAE1C 80 01 01 30 */ lwz r0, 0x130(r1) /* 801BDEC0 001BAE20 80 61 01 34 */ lwz r3, 0x134(r1) /* 801BDEC4 001BAE24 D0 E1 01 C0 */ stfs f7, 0x1c0(r1) /* 801BDEC8 001BAE28 D0 C1 01 C4 */ stfs f6, 0x1c4(r1) /* 801BDECC 001BAE2C D0 A1 01 C8 */ stfs f5, 0x1c8(r1) /* 801BDED0 001BAE30 D0 01 01 CC */ stfs f0, 0x1cc(r1) /* 801BDED4 001BAE34 D0 81 01 D0 */ stfs f4, 0x1d0(r1) /* 801BDED8 001BAE38 D0 61 01 D4 */ stfs f3, 0x1d4(r1) /* 801BDEDC 001BAE3C D0 41 01 D8 */ stfs f2, 0x1d8(r1) /* 801BDEE0 001BAE40 D0 21 01 DC */ stfs f1, 0x1dc(r1) /* 801BDEE4 001BAE44 98 81 01 E0 */ stb r4, 0x1e0(r1) /* 801BDEE8 001BAE48 90 61 01 EC */ stw r3, 0x1ec(r1) /* 801BDEEC 001BAE4C 90 01 01 E8 */ stw r0, 0x1e8(r1) /* 801BDEF0 001BAE50 40 82 00 28 */ bne lbl_801BDF18 /* 801BDEF4 001BAE54 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 801BDEF8 001BAE58 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 801BDEFC 001BAE5C 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l /* 801BDF00 001BAE60 38 00 00 00 */ li r0, 0 /* 801BDF04 001BAE64 90 81 01 F0 */ stw r4, 0x1f0(r1) /* 801BDF08 001BAE68 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 801BDF0C 001BAE6C 90 61 01 F0 */ stw r3, 0x1f0(r1) /* 801BDF10 001BAE70 98 01 00 E8 */ stb r0, 0xe8(r1) /* 801BDF14 001BAE74 48 00 00 70 */ b lbl_801BDF84 lbl_801BDF18: /* 801BDF18 001BAE78 FC 07 F0 40 */ fcmpo cr0, f7, f30 /* 801BDF1C 001BAE7C 40 80 00 48 */ bge lbl_801BDF64 /* 801BDF20 001BAE80 D0 FF 00 00 */ stfs f7, 0(r31) /* 801BDF24 001BAE84 FF C0 38 90 */ fmr f30, f7 /* 801BDF28 001BAE88 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 801BDF2C 001BAE8C 80 61 01 C8 */ lwz r3, 0x1c8(r1) /* 801BDF30 001BAE90 90 1F 00 04 */ stw r0, 4(r31) /* 801BDF34 001BAE94 80 01 01 CC */ lwz r0, 0x1cc(r1) /* 801BDF38 001BAE98 90 7F 00 08 */ stw r3, 8(r31) /* 801BDF3C 001BAE9C C8 01 01 E8 */ lfd f0, 0x1e8(r1) /* 801BDF40 001BAEA0 90 1F 00 0C */ stw r0, 0xc(r31) /* 801BDF44 001BAEA4 D0 9F 00 10 */ stfs f4, 0x10(r31) /* 801BDF48 001BAEA8 D0 7F 00 14 */ stfs f3, 0x14(r31) /* 801BDF4C 001BAEAC D0 5F 00 18 */ stfs f2, 0x18(r31) /* 801BDF50 001BAEB0 D0 3F 00 1C */ stfs f1, 0x1c(r31) /* 801BDF54 001BAEB4 98 9F 00 20 */ stb r4, 0x20(r31) /* 801BDF58 001BAEB8 D8 1F 00 28 */ stfd f0, 0x28(r31) /* 801BDF5C 001BAEBC A0 13 00 08 */ lhz r0, 8(r19) /* 801BDF60 001BAEC0 B0 1B 00 00 */ sth r0, 0(r27) lbl_801BDF64: /* 801BDF64 001BAEC4 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 801BDF68 001BAEC8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 801BDF6C 001BAECC 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l /* 801BDF70 001BAED0 38 00 00 00 */ li r0, 0 /* 801BDF74 001BAED4 90 81 01 F0 */ stw r4, 0x1f0(r1) /* 801BDF78 001BAED8 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 801BDF7C 001BAEDC 90 61 01 F0 */ stw r3, 0x1f0(r1) /* 801BDF80 001BAEE0 98 01 00 E8 */ stb r0, 0xe8(r1) lbl_801BDF84: /* 801BDF84 001BAEE4 3A B5 00 02 */ addi r21, r21, 2 lbl_801BDF88: /* 801BDF88 001BAEE8 80 A1 03 28 */ lwz r5, 0x328(r1) /* 801BDF8C 001BAEEC 54 A0 08 3C */ slwi r0, r5, 1 /* 801BDF90 001BAEF0 7C 16 02 14 */ add r0, r22, r0 /* 801BDF94 001BAEF4 7C 15 00 40 */ cmplw r21, r0 /* 801BDF98 001BAEF8 40 82 FB DC */ bne lbl_801BDB74 /* 801BDF9C 001BAEFC 2C 05 00 00 */ cmpwi r5, 0 /* 801BDFA0 001BAF00 38 60 00 00 */ li r3, 0 /* 801BDFA4 001BAF04 40 81 00 40 */ ble lbl_801BDFE4 /* 801BDFA8 001BAF08 2C 05 00 08 */ cmpwi r5, 8 /* 801BDFAC 001BAF0C 38 85 FF F8 */ addi r4, r5, -8 /* 801BDFB0 001BAF10 40 81 00 20 */ ble lbl_801BDFD0 /* 801BDFB4 001BAF14 38 04 00 07 */ addi r0, r4, 7 /* 801BDFB8 001BAF18 54 00 E8 FE */ srwi r0, r0, 3 /* 801BDFBC 001BAF1C 7C 09 03 A6 */ mtctr r0 /* 801BDFC0 001BAF20 2C 04 00 00 */ cmpwi r4, 0 /* 801BDFC4 001BAF24 40 81 00 0C */ ble lbl_801BDFD0 lbl_801BDFC8: /* 801BDFC8 001BAF28 38 63 00 08 */ addi r3, r3, 8 /* 801BDFCC 001BAF2C 42 00 FF FC */ bdnz lbl_801BDFC8 lbl_801BDFD0: /* 801BDFD0 001BAF30 7C 03 28 50 */ subf r0, r3, r5 /* 801BDFD4 001BAF34 7C 09 03 A6 */ mtctr r0 /* 801BDFD8 001BAF38 7C 03 28 00 */ cmpw r3, r5 /* 801BDFDC 001BAF3C 40 80 00 08 */ bge lbl_801BDFE4 lbl_801BDFE0: /* 801BDFE0 001BAF40 42 00 00 00 */ bdnz lbl_801BDFE0 lbl_801BDFE4: /* 801BDFE4 001BAF44 38 00 00 00 */ li r0, 0 /* 801BDFE8 001BAF48 90 01 03 28 */ stw r0, 0x328(r1) /* 801BDFEC 001BAF4C E3 E1 0B 88 */ psq_l f31, -1144(r1), 0, qr0 /* 801BDFF0 001BAF50 CB E1 0B 80 */ lfd f31, 0xb80(r1) /* 801BDFF4 001BAF54 E3 C1 0B 78 */ psq_l f30, -1160(r1), 0, qr0 /* 801BDFF8 001BAF58 CB C1 0B 70 */ lfd f30, 0xb70(r1) /* 801BDFFC 001BAF5C BA 41 0B 38 */ lmw r18, 0xb38(r1) /* 801BE000 001BAF60 80 01 0B 94 */ lwz r0, 0xb94(r1) /* 801BE004 001BAF64 7C 08 03 A6 */ mtlr r0 /* 801BE008 001BAF68 38 21 0B 90 */ addi r1, r1, 0xb90 /* 801BE00C 001BAF6C 4E 80 00 20 */ blr .global sub_801be010 sub_801be010: /* 801BE010 001BAF70 94 21 FE E0 */ stwu r1, -0x120(r1) /* 801BE014 001BAF74 7C 08 02 A6 */ mflr r0 /* 801BE018 001BAF78 90 01 01 24 */ stw r0, 0x124(r1) /* 801BE01C 001BAF7C DB E1 01 10 */ stfd f31, 0x110(r1) /* 801BE020 001BAF80 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 801BE024 001BAF84 BF 41 00 F8 */ stmw r26, 0xf8(r1) /* 801BE028 001BAF88 7C 9E 23 78 */ mr r30, r4 /* 801BE02C 001BAF8C FF E0 08 90 */ fmr f31, f1 /* 801BE030 001BAF90 80 04 00 F8 */ lwz r0, 0xf8(r4) /* 801BE034 001BAF94 7C FB 3B 78 */ mr r27, r7 /* 801BE038 001BAF98 80 84 00 FC */ lwz r4, 0xfc(r4) /* 801BE03C 001BAF9C 7C DA 33 78 */ mr r26, r6 /* 801BE040 001BAFA0 7D 1C 43 78 */ mr r28, r8 /* 801BE044 001BAFA4 90 81 00 24 */ stw r4, 0x24(r1) /* 801BE048 001BAFA8 7C 7D 1B 78 */ mr r29, r3 /* 801BE04C 001BAFAC 7C BF 2B 78 */ mr r31, r5 /* 801BE050 001BAFB0 C0 22 A9 FC */ lfs f1, lbl_805AC71C@sda21(r2) /* 801BE054 001BAFB4 90 01 00 20 */ stw r0, 0x20(r1) /* 801BE058 001BAFB8 7F 84 E3 78 */ mr r4, r28 /* 801BE05C 001BAFBC 7F 45 D3 78 */ mr r5, r26 /* 801BE060 001BAFC0 7F 66 DB 78 */ mr r6, r27 /* 801BE064 001BAFC4 80 1E 01 00 */ lwz r0, 0x100(r30) /* 801BE068 001BAFC8 38 61 00 38 */ addi r3, r1, 0x38 /* 801BE06C 001BAFCC 81 1E 01 04 */ lwz r8, 0x104(r30) /* 801BE070 001BAFD0 38 E1 00 20 */ addi r7, r1, 0x20 /* 801BE074 001BAFD4 91 01 00 2C */ stw r8, 0x2c(r1) /* 801BE078 001BAFD8 90 01 00 28 */ stw r0, 0x28(r1) /* 801BE07C 001BAFDC 80 1E 01 08 */ lwz r0, 0x108(r30) /* 801BE080 001BAFE0 90 01 00 30 */ stw r0, 0x30(r1) /* 801BE084 001BAFE4 4B E8 EF 15 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801BE088 001BAFE8 C0 22 AA 04 */ lfs f1, lbl_805AC724@sda21(r2) /* 801BE08C 001BAFEC 38 61 00 10 */ addi r3, r1, 0x10 /* 801BE090 001BAFF0 C1 21 00 38 */ lfs f9, 0x38(r1) /* 801BE094 001BAFF4 C1 01 00 3C */ lfs f8, 0x3c(r1) /* 801BE098 001BAFF8 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 801BE09C 001BAFFC C0 C1 00 44 */ lfs f6, 0x44(r1) /* 801BE0A0 001BB000 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 801BE0A4 001BB004 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 801BE0A8 001BB008 C0 61 00 50 */ lfs f3, 0x50(r1) /* 801BE0AC 001BB00C C0 41 00 54 */ lfs f2, 0x54(r1) /* 801BE0B0 001BB010 88 A1 00 58 */ lbz r5, 0x58(r1) /* 801BE0B4 001BB014 80 01 00 60 */ lwz r0, 0x60(r1) /* 801BE0B8 001BB018 80 81 00 64 */ lwz r4, 0x64(r1) /* 801BE0BC 001BB01C C0 02 AA 0C */ lfs f0, lbl_805AC72C@sda21(r2) /* 801BE0C0 001BB020 D1 21 00 C8 */ stfs f9, 0xc8(r1) /* 801BE0C4 001BB024 D1 01 00 CC */ stfs f8, 0xcc(r1) /* 801BE0C8 001BB028 D0 E1 00 D0 */ stfs f7, 0xd0(r1) /* 801BE0CC 001BB02C D0 C1 00 D4 */ stfs f6, 0xd4(r1) /* 801BE0D0 001BB030 D0 A1 00 D8 */ stfs f5, 0xd8(r1) /* 801BE0D4 001BB034 D0 81 00 DC */ stfs f4, 0xdc(r1) /* 801BE0D8 001BB038 D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 801BE0DC 001BB03C D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 801BE0E0 001BB040 98 A1 00 E8 */ stb r5, 0xe8(r1) /* 801BE0E4 001BB044 90 81 00 F4 */ stw r4, 0xf4(r1) /* 801BE0E8 001BB048 90 01 00 F0 */ stw r0, 0xf0(r1) /* 801BE0EC 001BB04C D0 21 00 98 */ stfs f1, 0x98(r1) /* 801BE0F0 001BB050 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801BE0F4 001BB054 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 801BE0F8 001BB058 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801BE0FC 001BB05C D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BE100 001BB060 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801BE104 001BB064 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801BE108 001BB068 48 15 67 F1 */ bl Normalize__9CVector3fFv /* 801BE10C 001BB06C C1 01 00 10 */ lfs f8, 0x10(r1) /* 801BE110 001BB070 38 00 00 00 */ li r0, 0 /* 801BE114 001BB074 C0 E1 00 14 */ lfs f7, 0x14(r1) /* 801BE118 001BB078 7F C3 F3 78 */ mr r3, r30 /* 801BE11C 001BB07C C0 C1 00 18 */ lfs f6, 0x18(r1) /* 801BE120 001BB080 7F 84 E3 78 */ mr r4, r28 /* 801BE124 001BB084 C0 A2 AA 04 */ lfs f5, lbl_805AC724@sda21(r2) /* 801BE128 001BB088 7F 47 D3 78 */ mr r7, r26 /* 801BE12C 001BB08C A1 6D A3 8C */ lhz r11, lbl_805A8F4C@sda21(r13) /* 801BE130 001BB090 7F 68 DB 78 */ mr r8, r27 /* 801BE134 001BB094 C0 81 00 98 */ lfs f4, 0x98(r1) /* 801BE138 001BB098 38 A1 00 0C */ addi r5, r1, 0xc /* 801BE13C 001BB09C C0 61 00 9C */ lfs f3, 0x9c(r1) /* 801BE140 001BB0A0 38 C1 00 08 */ addi r6, r1, 8 /* 801BE144 001BB0A4 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801BE148 001BB0A8 39 21 00 98 */ addi r9, r1, 0x98 /* 801BE14C 001BB0AC C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801BE150 001BB0B0 39 41 00 68 */ addi r10, r1, 0x68 /* 801BE154 001BB0B4 D1 01 00 A8 */ stfs f8, 0xa8(r1) /* 801BE158 001BB0B8 C0 22 A9 FC */ lfs f1, lbl_805AC71C@sda21(r2) /* 801BE15C 001BB0BC D0 E1 00 AC */ stfs f7, 0xac(r1) /* 801BE160 001BB0C0 D0 C1 00 B0 */ stfs f6, 0xb0(r1) /* 801BE164 001BB0C4 D0 A1 00 B4 */ stfs f5, 0xb4(r1) /* 801BE168 001BB0C8 98 01 00 B8 */ stb r0, 0xb8(r1) /* 801BE16C 001BB0CC 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801BE170 001BB0D0 90 01 00 C0 */ stw r0, 0xc0(r1) /* 801BE174 001BB0D4 D0 81 00 68 */ stfs f4, 0x68(r1) /* 801BE178 001BB0D8 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 801BE17C 001BB0DC D0 41 00 70 */ stfs f2, 0x70(r1) /* 801BE180 001BB0E0 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801BE184 001BB0E4 D1 01 00 78 */ stfs f8, 0x78(r1) /* 801BE188 001BB0E8 D0 E1 00 7C */ stfs f7, 0x7c(r1) /* 801BE18C 001BB0EC D0 C1 00 80 */ stfs f6, 0x80(r1) /* 801BE190 001BB0F0 D0 A1 00 84 */ stfs f5, 0x84(r1) /* 801BE194 001BB0F4 98 01 00 88 */ stb r0, 0x88(r1) /* 801BE198 001BB0F8 90 01 00 94 */ stw r0, 0x94(r1) /* 801BE19C 001BB0FC 90 01 00 90 */ stw r0, 0x90(r1) /* 801BE1A0 001BB100 B1 61 00 0C */ sth r11, 0xc(r1) /* 801BE1A4 001BB104 B1 61 00 08 */ sth r11, 8(r1) /* 801BE1A8 001BB108 4B FF F8 6D */ bl sub_801bda14 /* 801BE1AC 001BB10C 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 801BE1B0 001BB110 28 00 00 00 */ cmplwi r0, 0 /* 801BE1B4 001BB114 41 82 00 90 */ beq lbl_801BE244 /* 801BE1B8 001BB118 FC 20 F8 90 */ fmr f1, f31 /* 801BE1BC 001BB11C 7F C3 F3 78 */ mr r3, r30 /* 801BE1C0 001BB120 7F 88 E3 78 */ mr r8, r28 /* 801BE1C4 001BB124 38 81 00 08 */ addi r4, r1, 8 /* 801BE1C8 001BB128 38 A1 00 98 */ addi r5, r1, 0x98 /* 801BE1CC 001BB12C 38 C1 00 68 */ addi r6, r1, 0x68 /* 801BE1D0 001BB130 38 E1 00 C8 */ addi r7, r1, 0xc8 /* 801BE1D4 001BB134 4B FF F6 C5 */ bl sub_801bd898 /* 801BE1D8 001BB138 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BE1DC 001BB13C 41 82 01 00 */ beq lbl_801BE2DC /* 801BE1E0 001BB140 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801BE1E4 001BB144 B0 1F 00 00 */ sth r0, 0(r31) /* 801BE1E8 001BB148 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801BE1EC 001BB14C D0 1D 00 00 */ stfs f0, 0(r29) /* 801BE1F0 001BB150 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801BE1F4 001BB154 D0 1D 00 04 */ stfs f0, 4(r29) /* 801BE1F8 001BB158 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 801BE1FC 001BB15C D0 1D 00 08 */ stfs f0, 8(r29) /* 801BE200 001BB160 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801BE204 001BB164 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 801BE208 001BB168 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801BE20C 001BB16C D0 1D 00 10 */ stfs f0, 0x10(r29) /* 801BE210 001BB170 C0 01 00 AC */ lfs f0, 0xac(r1) /* 801BE214 001BB174 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 801BE218 001BB178 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 801BE21C 001BB17C D0 1D 00 18 */ stfs f0, 0x18(r29) /* 801BE220 001BB180 C0 01 00 B4 */ lfs f0, 0xb4(r1) /* 801BE224 001BB184 D0 1D 00 1C */ stfs f0, 0x1c(r29) /* 801BE228 001BB188 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 801BE22C 001BB18C 98 1D 00 20 */ stb r0, 0x20(r29) /* 801BE230 001BB190 80 01 00 C0 */ lwz r0, 0xc0(r1) /* 801BE234 001BB194 80 61 00 C4 */ lwz r3, 0xc4(r1) /* 801BE238 001BB198 90 7D 00 2C */ stw r3, 0x2c(r29) /* 801BE23C 001BB19C 90 1D 00 28 */ stw r0, 0x28(r29) /* 801BE240 001BB1A0 48 00 00 F4 */ b lbl_801BE334 lbl_801BE244: /* 801BE244 001BB1A4 88 01 00 88 */ lbz r0, 0x88(r1) /* 801BE248 001BB1A8 28 00 00 00 */ cmplwi r0, 0 /* 801BE24C 001BB1AC 41 82 00 90 */ beq lbl_801BE2DC /* 801BE250 001BB1B0 FC 20 F8 90 */ fmr f1, f31 /* 801BE254 001BB1B4 7F C3 F3 78 */ mr r3, r30 /* 801BE258 001BB1B8 7F 88 E3 78 */ mr r8, r28 /* 801BE25C 001BB1BC 38 81 00 0C */ addi r4, r1, 0xc /* 801BE260 001BB1C0 38 A1 00 68 */ addi r5, r1, 0x68 /* 801BE264 001BB1C4 38 C1 00 98 */ addi r6, r1, 0x98 /* 801BE268 001BB1C8 38 E1 00 C8 */ addi r7, r1, 0xc8 /* 801BE26C 001BB1CC 4B FF F6 2D */ bl sub_801bd898 /* 801BE270 001BB1D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BE274 001BB1D4 41 82 00 68 */ beq lbl_801BE2DC /* 801BE278 001BB1D8 A0 01 00 08 */ lhz r0, 8(r1) /* 801BE27C 001BB1DC B0 1F 00 00 */ sth r0, 0(r31) /* 801BE280 001BB1E0 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801BE284 001BB1E4 D0 1D 00 00 */ stfs f0, 0(r29) /* 801BE288 001BB1E8 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801BE28C 001BB1EC D0 1D 00 04 */ stfs f0, 4(r29) /* 801BE290 001BB1F0 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801BE294 001BB1F4 D0 1D 00 08 */ stfs f0, 8(r29) /* 801BE298 001BB1F8 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801BE29C 001BB1FC D0 1D 00 0C */ stfs f0, 0xc(r29) /* 801BE2A0 001BB200 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801BE2A4 001BB204 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 801BE2A8 001BB208 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801BE2AC 001BB20C D0 1D 00 14 */ stfs f0, 0x14(r29) /* 801BE2B0 001BB210 C0 01 00 80 */ lfs f0, 0x80(r1) /* 801BE2B4 001BB214 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 801BE2B8 001BB218 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801BE2BC 001BB21C D0 1D 00 1C */ stfs f0, 0x1c(r29) /* 801BE2C0 001BB220 88 01 00 88 */ lbz r0, 0x88(r1) /* 801BE2C4 001BB224 98 1D 00 20 */ stb r0, 0x20(r29) /* 801BE2C8 001BB228 80 01 00 90 */ lwz r0, 0x90(r1) /* 801BE2CC 001BB22C 80 61 00 94 */ lwz r3, 0x94(r1) /* 801BE2D0 001BB230 90 7D 00 2C */ stw r3, 0x2c(r29) /* 801BE2D4 001BB234 90 1D 00 28 */ stw r0, 0x28(r29) /* 801BE2D8 001BB238 48 00 00 5C */ b lbl_801BE334 lbl_801BE2DC: /* 801BE2DC 001BB23C C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 801BE2E0 001BB240 D0 1D 00 00 */ stfs f0, 0(r29) /* 801BE2E4 001BB244 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 801BE2E8 001BB248 D0 1D 00 04 */ stfs f0, 4(r29) /* 801BE2EC 001BB24C C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 801BE2F0 001BB250 D0 1D 00 08 */ stfs f0, 8(r29) /* 801BE2F4 001BB254 C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 801BE2F8 001BB258 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 801BE2FC 001BB25C C0 01 00 D8 */ lfs f0, 0xd8(r1) /* 801BE300 001BB260 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 801BE304 001BB264 C0 01 00 DC */ lfs f0, 0xdc(r1) /* 801BE308 001BB268 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 801BE30C 001BB26C C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 801BE310 001BB270 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 801BE314 001BB274 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801BE318 001BB278 D0 1D 00 1C */ stfs f0, 0x1c(r29) /* 801BE31C 001BB27C 88 01 00 E8 */ lbz r0, 0xe8(r1) /* 801BE320 001BB280 98 1D 00 20 */ stb r0, 0x20(r29) /* 801BE324 001BB284 80 01 00 F0 */ lwz r0, 0xf0(r1) /* 801BE328 001BB288 80 61 00 F4 */ lwz r3, 0xf4(r1) /* 801BE32C 001BB28C 90 7D 00 2C */ stw r3, 0x2c(r29) /* 801BE330 001BB290 90 1D 00 28 */ stw r0, 0x28(r29) lbl_801BE334: /* 801BE334 001BB294 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 801BE338 001BB298 CB E1 01 10 */ lfd f31, 0x110(r1) /* 801BE33C 001BB29C BB 41 00 F8 */ lmw r26, 0xf8(r1) /* 801BE340 001BB2A0 80 01 01 24 */ lwz r0, 0x124(r1) /* 801BE344 001BB2A4 7C 08 03 A6 */ mtlr r0 /* 801BE348 001BB2A8 38 21 01 20 */ addi r1, r1, 0x120 /* 801BE34C 001BB2AC 4E 80 00 20 */ blr .global sub_801be350 sub_801be350: /* 801BE350 001BB2B0 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801BE354 001BB2B4 7C 08 02 A6 */ mflr r0 /* 801BE358 001BB2B8 90 01 01 04 */ stw r0, 0x104(r1) /* 801BE35C 001BB2BC DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 801BE360 001BB2C0 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 801BE364 001BB2C4 DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 801BE368 001BB2C8 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 /* 801BE36C 001BB2CC DB A1 00 D0 */ stfd f29, 0xd0(r1) /* 801BE370 001BB2D0 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 /* 801BE374 001BB2D4 DB 81 00 C0 */ stfd f28, 0xc0(r1) /* 801BE378 001BB2D8 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 /* 801BE37C 001BB2DC BF 01 00 A0 */ stmw r24, 0xa0(r1) /* 801BE380 001BB2E0 7C 7A 1B 78 */ mr r26, r3 /* 801BE384 001BB2E4 38 61 00 38 */ addi r3, r1, 0x38 /* 801BE388 001BB2E8 38 9A 02 E8 */ addi r4, r26, 0x2e8 /* 801BE38C 001BB2EC 48 15 48 B5 */ bl GetRotation__12CTransform4fCFv /* 801BE390 001BB2F0 38 61 00 68 */ addi r3, r1, 0x68 /* 801BE394 001BB2F4 38 81 00 38 */ addi r4, r1, 0x38 /* 801BE398 001BB2F8 48 15 47 DD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801BE39C 001BB2FC C0 5A 03 14 */ lfs f2, 0x314(r26) /* 801BE3A0 001BB300 38 80 00 01 */ li r4, 1 /* 801BE3A4 001BB304 C0 3A 03 04 */ lfs f1, 0x304(r26) /* 801BE3A8 001BB308 C0 1A 02 F4 */ lfs f0, 0x2f4(r26) /* 801BE3AC 001BB30C D0 21 00 30 */ stfs f1, 0x30(r1) /* 801BE3B0 001BB310 80 7A 03 8C */ lwz r3, 0x38c(r26) /* 801BE3B4 001BB314 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801BE3B8 001BB318 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801BE3BC 001BB31C 81 83 00 00 */ lwz r12, 0(r3) /* 801BE3C0 001BB320 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BE3C4 001BB324 7D 89 03 A6 */ mtctr r12 /* 801BE3C8 001BB328 4E 80 04 21 */ bctrl /* 801BE3CC 001BB32C 80 1A 03 CC */ lwz r0, 0x3cc(r26) /* 801BE3D0 001BB330 3C 60 80 3D */ lis r3, lbl_803D19F8@ha /* 801BE3D4 001BB334 38 63 19 F8 */ addi r3, r3, lbl_803D19F8@l /* 801BE3D8 001BB338 C0 3A 03 C8 */ lfs f1, 0x3c8(r26) /* 801BE3DC 001BB33C 54 00 10 3A */ slwi r0, r0, 2 /* 801BE3E0 001BB340 7C 83 02 14 */ add r4, r3, r0 /* 801BE3E4 001BB344 7C 63 00 2E */ lwzx r3, r3, r0 /* 801BE3E8 001BB348 80 84 00 04 */ lwz r4, 4(r4) /* 801BE3EC 001BB34C 48 1A 4E 29 */ bl Lerp__6CColorFUiUif /* 801BE3F0 001BB350 83 DA 03 84 */ lwz r30, 0x384(r26) /* 801BE3F4 001BB354 7C 7D 1B 78 */ mr r29, r3 /* 801BE3F8 001BB358 83 FA 03 88 */ lwz r31, 0x388(r26) /* 801BE3FC 001BB35C 3B 60 00 00 */ li r27, 0 /* 801BE400 001BB360 80 9E 01 60 */ lwz r4, 0x160(r30) /* 801BE404 001BB364 3B 80 00 00 */ li r28, 0 /* 801BE408 001BB368 80 7F 01 60 */ lwz r3, 0x160(r31) /* 801BE40C 001BB36C 38 A4 FF FF */ addi r5, r4, -1 /* 801BE410 001BB370 80 DE 01 68 */ lwz r6, 0x168(r30) /* 801BE414 001BB374 38 03 FF FF */ addi r0, r3, -1 /* 801BE418 001BB378 80 9F 01 68 */ lwz r4, 0x168(r31) /* 801BE41C 001BB37C 54 A5 38 30 */ slwi r5, r5, 7 /* 801BE420 001BB380 C3 C2 AA 04 */ lfs f30, lbl_805AC724@sda21(r2) /* 801BE424 001BB384 54 03 38 30 */ slwi r3, r0, 7 /* 801BE428 001BB388 C3 E2 AA 10 */ lfs f31, lbl_805AC730@sda21(r2) /* 801BE42C 001BB38C 38 A5 00 30 */ addi r5, r5, 0x30 /* 801BE430 001BB390 38 03 00 30 */ addi r0, r3, 0x30 /* 801BE434 001BB394 7F A6 2C 2E */ lfsx f29, r6, r5 /* 801BE438 001BB398 7F 84 04 2E */ lfsx f28, r4, r0 /* 801BE43C 001BB39C 48 00 00 F0 */ b lbl_801BE52C lbl_801BE440: /* 801BE440 001BB3A0 80 9E 01 68 */ lwz r4, 0x168(r30) /* 801BE444 001BB3A4 FC 20 F0 90 */ fmr f1, f30 /* 801BE448 001BB3A8 80 1F 01 68 */ lwz r0, 0x168(r31) /* 801BE44C 001BB3AC 38 61 00 14 */ addi r3, r1, 0x14 /* 801BE450 001BB3B0 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 801BE454 001BB3B4 7F 24 E2 14 */ add r25, r4, r28 /* 801BE458 001BB3B8 C0 5A 00 50 */ lfs f2, 0x50(r26) /* 801BE45C 001BB3BC C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801BE460 001BB3C0 7F 00 E2 14 */ add r24, r0, r28 /* 801BE464 001BB3C4 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801BE468 001BB3C8 38 81 00 08 */ addi r4, r1, 8 /* 801BE46C 001BB3CC 38 BA 03 24 */ addi r5, r26, 0x324 /* 801BE470 001BB3D0 38 DA 03 18 */ addi r6, r26, 0x318 /* 801BE474 001BB3D4 D0 01 00 08 */ stfs f0, 8(r1) /* 801BE478 001BB3D8 38 E1 00 2C */ addi r7, r1, 0x2c /* 801BE47C 001BB3DC D0 61 00 10 */ stfs f3, 0x10(r1) /* 801BE480 001BB3E0 48 15 6A 99 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 801BE484 001BB3E4 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801BE488 001BB3E8 38 79 00 38 */ addi r3, r25, 0x38 /* 801BE48C 001BB3EC C0 21 00 18 */ lfs f1, 0x18(r1) /* 801BE490 001BB3F0 38 81 00 68 */ addi r4, r1, 0x68 /* 801BE494 001BB3F4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801BE498 001BB3F8 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801BE49C 001BB3FC D0 21 00 24 */ stfs f1, 0x24(r1) /* 801BE4A0 001BB400 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801BE4A4 001BB404 D0 59 00 0C */ stfs f2, 0xc(r25) /* 801BE4A8 001BB408 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801BE4AC 001BB40C D0 19 00 10 */ stfs f0, 0x10(r25) /* 801BE4B0 001BB410 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801BE4B4 001BB414 D0 19 00 14 */ stfs f0, 0x14(r25) /* 801BE4B8 001BB418 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801BE4BC 001BB41C D0 18 00 0C */ stfs f0, 0xc(r24) /* 801BE4C0 001BB420 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801BE4C4 001BB424 D0 18 00 10 */ stfs f0, 0x10(r24) /* 801BE4C8 001BB428 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801BE4CC 001BB42C D0 18 00 14 */ stfs f0, 0x14(r24) /* 801BE4D0 001BB430 48 15 46 71 */ bl __as__12CTransform4fFRC12CTransform4f /* 801BE4D4 001BB434 38 78 00 38 */ addi r3, r24, 0x38 /* 801BE4D8 001BB438 38 81 00 68 */ addi r4, r1, 0x68 /* 801BE4DC 001BB43C 48 15 46 65 */ bl __as__12CTransform4fFRC12CTransform4f /* 801BE4E0 001BB440 93 B8 00 6C */ stw r29, 0x6c(r24) /* 801BE4E4 001BB444 38 81 00 20 */ addi r4, r1, 0x20 /* 801BE4E8 001BB448 C0 19 00 30 */ lfs f0, 0x30(r25) /* 801BE4EC 001BB44C C0 38 00 30 */ lfs f1, 0x30(r24) /* 801BE4F0 001BB450 D3 B9 00 30 */ stfs f29, 0x30(r25) /* 801BE4F4 001BB454 FF A0 00 90 */ fmr f29, f0 /* 801BE4F8 001BB458 D3 98 00 30 */ stfs f28, 0x30(r24) /* 801BE4FC 001BB45C FF 80 08 90 */ fmr f28, f1 /* 801BE500 001BB460 80 7A 03 8C */ lwz r3, 0x38c(r26) /* 801BE504 001BB464 81 83 00 00 */ lwz r12, 0(r3) /* 801BE508 001BB468 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801BE50C 001BB46C 7D 89 03 A6 */ mtctr r12 /* 801BE510 001BB470 4E 80 04 21 */ bctrl /* 801BE514 001BB474 80 7A 03 8C */ lwz r3, 0x38c(r26) /* 801BE518 001BB478 38 80 00 01 */ li r4, 1 /* 801BE51C 001BB47C 48 15 E3 A5 */ bl ForceParticleCreation__11CElementGenFi /* 801BE520 001BB480 EF DE F8 2A */ fadds f30, f30, f31 /* 801BE524 001BB484 3B 9C 00 80 */ addi r28, r28, 0x80 /* 801BE528 001BB488 3B 7B 00 01 */ addi r27, r27, 1 lbl_801BE52C: /* 801BE52C 001BB48C 80 1E 01 60 */ lwz r0, 0x160(r30) /* 801BE530 001BB490 7C 1B 00 00 */ cmpw r27, r0 /* 801BE534 001BB494 41 80 FF 0C */ blt lbl_801BE440 /* 801BE538 001BB498 80 7A 03 8C */ lwz r3, 0x38c(r26) /* 801BE53C 001BB49C 38 80 00 00 */ li r4, 0 /* 801BE540 001BB4A0 81 83 00 00 */ lwz r12, 0(r3) /* 801BE544 001BB4A4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BE548 001BB4A8 7D 89 03 A6 */ mtctr r12 /* 801BE54C 001BB4AC 4E 80 04 21 */ bctrl /* 801BE550 001BB4B0 80 7A 03 84 */ lwz r3, 0x384(r26) /* 801BE554 001BB4B4 81 83 00 00 */ lwz r12, 0(r3) /* 801BE558 001BB4B8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BE55C 001BB4BC 7D 89 03 A6 */ mtctr r12 /* 801BE560 001BB4C0 4E 80 04 21 */ bctrl /* 801BE564 001BB4C4 80 7A 03 88 */ lwz r3, 0x388(r26) /* 801BE568 001BB4C8 81 83 00 00 */ lwz r12, 0(r3) /* 801BE56C 001BB4CC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BE570 001BB4D0 7D 89 03 A6 */ mtctr r12 /* 801BE574 001BB4D4 4E 80 04 21 */ bctrl /* 801BE578 001BB4D8 80 7A 03 8C */ lwz r3, 0x38c(r26) /* 801BE57C 001BB4DC 81 83 00 00 */ lwz r12, 0(r3) /* 801BE580 001BB4E0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801BE584 001BB4E4 7D 89 03 A6 */ mtctr r12 /* 801BE588 001BB4E8 4E 80 04 21 */ bctrl /* 801BE58C 001BB4EC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 801BE590 001BB4F0 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 801BE594 001BB4F4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 /* 801BE598 001BB4F8 CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 801BE59C 001BB4FC E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 /* 801BE5A0 001BB500 CB A1 00 D0 */ lfd f29, 0xd0(r1) /* 801BE5A4 001BB504 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 /* 801BE5A8 001BB508 CB 81 00 C0 */ lfd f28, 0xc0(r1) /* 801BE5AC 001BB50C BB 01 00 A0 */ lmw r24, 0xa0(r1) /* 801BE5B0 001BB510 80 01 01 04 */ lwz r0, 0x104(r1) /* 801BE5B4 001BB514 7C 08 03 A6 */ mtlr r0 /* 801BE5B8 001BB518 38 21 01 00 */ addi r1, r1, 0x100 /* 801BE5BC 001BB51C 4E 80 00 20 */ blr .global sub_801be5c0 sub_801be5c0: /* 801BE5C0 001BB520 94 21 FD E0 */ stwu r1, -0x220(r1) /* 801BE5C4 001BB524 7C 08 02 A6 */ mflr r0 /* 801BE5C8 001BB528 90 01 02 24 */ stw r0, 0x224(r1) /* 801BE5CC 001BB52C DB E1 02 10 */ stfd f31, 0x210(r1) /* 801BE5D0 001BB530 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 /* 801BE5D4 001BB534 DB C1 02 00 */ stfd f30, 0x200(r1) /* 801BE5D8 001BB538 F3 C1 02 08 */ psq_st f30, 520(r1), 0, qr0 /* 801BE5DC 001BB53C DB A1 01 F0 */ stfd f29, 0x1f0(r1) /* 801BE5E0 001BB540 F3 A1 01 F8 */ psq_st f29, 504(r1), 0, qr0 /* 801BE5E4 001BB544 DB 81 01 E0 */ stfd f28, 0x1e0(r1) /* 801BE5E8 001BB548 F3 81 01 E8 */ psq_st f28, 488(r1), 0, qr0 /* 801BE5EC 001BB54C DB 61 01 D0 */ stfd f27, 0x1d0(r1) /* 801BE5F0 001BB550 F3 61 01 D8 */ psq_st f27, 472(r1), 0, qr0 /* 801BE5F4 001BB554 DB 41 01 C0 */ stfd f26, 0x1c0(r1) /* 801BE5F8 001BB558 F3 41 01 C8 */ psq_st f26, 456(r1), 0, qr0 /* 801BE5FC 001BB55C DB 21 01 B0 */ stfd f25, 0x1b0(r1) /* 801BE600 001BB560 F3 21 01 B8 */ psq_st f25, 440(r1), 0, qr0 /* 801BE604 001BB564 DB 01 01 A0 */ stfd f24, 0x1a0(r1) /* 801BE608 001BB568 F3 01 01 A8 */ psq_st f24, 424(r1), 0, qr0 /* 801BE60C 001BB56C DA E1 01 90 */ stfd f23, 0x190(r1) /* 801BE610 001BB570 F2 E1 01 98 */ psq_st f23, 408(r1), 0, qr0 /* 801BE614 001BB574 DA C1 01 80 */ stfd f22, 0x180(r1) /* 801BE618 001BB578 F2 C1 01 88 */ psq_st f22, 392(r1), 0, qr0 /* 801BE61C 001BB57C DA A1 01 70 */ stfd f21, 0x170(r1) /* 801BE620 001BB580 F2 A1 01 78 */ psq_st f21, 376(r1), 0, qr0 /* 801BE624 001BB584 DA 81 01 60 */ stfd f20, 0x160(r1) /* 801BE628 001BB588 F2 81 01 68 */ psq_st f20, 360(r1), 0, qr0 /* 801BE62C 001BB58C DA 61 01 50 */ stfd f19, 0x150(r1) /* 801BE630 001BB590 F2 61 01 58 */ psq_st f19, 344(r1), 0, qr0 /* 801BE634 001BB594 DA 41 01 40 */ stfd f18, 0x140(r1) /* 801BE638 001BB598 F2 41 01 48 */ psq_st f18, 328(r1), 0, qr0 /* 801BE63C 001BB59C DA 21 01 30 */ stfd f17, 0x130(r1) /* 801BE640 001BB5A0 F2 21 01 38 */ psq_st f17, 312(r1), 0, qr0 /* 801BE644 001BB5A4 DA 01 01 20 */ stfd f16, 0x120(r1) /* 801BE648 001BB5A8 F2 01 01 28 */ psq_st f16, 296(r1), 0, qr0 /* 801BE64C 001BB5AC 93 E1 01 1C */ stw r31, 0x11c(r1) /* 801BE650 001BB5B0 93 C1 01 18 */ stw r30, 0x118(r1) /* 801BE654 001BB5B4 93 A1 01 14 */ stw r29, 0x114(r1) /* 801BE658 001BB5B8 7C 7D 1B 78 */ mr r29, r3 /* 801BE65C 001BB5BC 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801BE660 001BB5C0 38 9D 02 E8 */ addi r4, r29, 0x2e8 /* 801BE664 001BB5C4 48 15 40 7D */ bl GetInverse__12CTransform4fCFv /* 801BE668 001BB5C8 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801BE66C 001BB5CC 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801BE670 001BB5D0 48 15 45 05 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801BE674 001BB5D4 C0 5D 03 14 */ lfs f2, 0x314(r29) /* 801BE678 001BB5D8 38 61 00 54 */ addi r3, r1, 0x54 /* 801BE67C 001BB5DC C0 3D 03 04 */ lfs f1, 0x304(r29) /* 801BE680 001BB5E0 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801BE684 001BB5E4 C0 1D 02 F4 */ lfs f0, 0x2f4(r29) /* 801BE688 001BB5E8 38 A1 00 48 */ addi r5, r1, 0x48 /* 801BE68C 001BB5EC D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801BE690 001BB5F0 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801BE694 001BB5F4 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801BE698 001BB5F8 48 15 44 51 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801BE69C 001BB5FC C0 41 00 54 */ lfs f2, 0x54(r1) /* 801BE6A0 001BB600 38 61 00 3C */ addi r3, r1, 0x3c /* 801BE6A4 001BB604 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801BE6A8 001BB608 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801BE6AC 001BB60C C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801BE6B0 001BB610 38 BD 03 18 */ addi r5, r29, 0x318 /* 801BE6B4 001BB614 D0 41 00 84 */ stfs f2, 0x84(r1) /* 801BE6B8 001BB618 D0 21 00 88 */ stfs f1, 0x88(r1) /* 801BE6BC 001BB61C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801BE6C0 001BB620 48 15 44 29 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801BE6C4 001BB624 C0 41 00 3C */ lfs f2, 0x3c(r1) /* 801BE6C8 001BB628 38 61 00 30 */ addi r3, r1, 0x30 /* 801BE6CC 001BB62C C0 21 00 40 */ lfs f1, 0x40(r1) /* 801BE6D0 001BB630 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801BE6D4 001BB634 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801BE6D8 001BB638 38 BD 03 24 */ addi r5, r29, 0x324 /* 801BE6DC 001BB63C D0 41 00 78 */ stfs f2, 0x78(r1) /* 801BE6E0 001BB640 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801BE6E4 001BB644 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801BE6E8 001BB648 48 15 44 01 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801BE6EC 001BB64C C0 61 00 30 */ lfs f3, 0x30(r1) /* 801BE6F0 001BB650 38 61 00 24 */ addi r3, r1, 0x24 /* 801BE6F4 001BB654 C0 41 00 34 */ lfs f2, 0x34(r1) /* 801BE6F8 001BB658 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801BE6FC 001BB65C C0 21 00 38 */ lfs f1, 0x38(r1) /* 801BE700 001BB660 38 A1 00 18 */ addi r5, r1, 0x18 /* 801BE704 001BB664 C0 BD 00 60 */ lfs f5, 0x60(r29) /* 801BE708 001BB668 C0 9D 00 50 */ lfs f4, 0x50(r29) /* 801BE70C 001BB66C C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801BE710 001BB670 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 801BE714 001BB674 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801BE718 001BB678 D0 21 00 74 */ stfs f1, 0x74(r1) /* 801BE71C 001BB67C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801BE720 001BB680 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801BE724 001BB684 D0 A1 00 20 */ stfs f5, 0x20(r1) /* 801BE728 001BB688 48 15 43 C1 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801BE72C 001BB68C C2 A2 AA 04 */ lfs f21, lbl_805AC724@sda21(r2) /* 801BE730 001BB690 3F E0 E0 00 */ lis r31, 0xe000 /* 801BE734 001BB694 C2 82 AA 14 */ lfs f20, lbl_805AC734@sda21(r2) /* 801BE738 001BB698 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801BE73C 001BB69C FF E0 A8 90 */ fmr f31, f21 /* 801BE740 001BB6A0 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801BE744 001BB6A4 FE 20 A0 90 */ fmr f17, f20 /* 801BE748 001BB6A8 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801BE74C 001BB6AC D0 41 00 60 */ stfs f2, 0x60(r1) /* 801BE750 001BB6B0 C3 61 00 84 */ lfs f27, 0x84(r1) /* 801BE754 001BB6B4 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801BE758 001BB6B8 C3 41 00 88 */ lfs f26, 0x88(r1) /* 801BE75C 001BB6BC D0 01 00 68 */ stfs f0, 0x68(r1) /* 801BE760 001BB6C0 C3 21 00 8C */ lfs f25, 0x8c(r1) /* 801BE764 001BB6C4 C3 A2 AA 0C */ lfs f29, lbl_805AC72C@sda21(r2) /* 801BE768 001BB6C8 C3 C2 AA 20 */ lfs f30, lbl_805AC740@sda21(r2) /* 801BE76C 001BB6CC C2 02 AA 24 */ lfs f16, lbl_805AC744@sda21(r2) /* 801BE770 001BB6D0 48 00 00 DC */ b lbl_801BE84C lbl_801BE774: /* 801BE774 001BB6D4 FC 20 A0 90 */ fmr f1, f20 /* 801BE778 001BB6D8 38 61 00 0C */ addi r3, r1, 0xc /* 801BE77C 001BB6DC 38 81 00 84 */ addi r4, r1, 0x84 /* 801BE780 001BB6E0 38 A1 00 78 */ addi r5, r1, 0x78 /* 801BE784 001BB6E4 38 C1 00 6C */ addi r6, r1, 0x6c /* 801BE788 001BB6E8 38 E1 00 60 */ addi r7, r1, 0x60 /* 801BE78C 001BB6EC 48 15 67 8D */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 801BE790 001BB6F0 C3 01 00 0C */ lfs f24, 0xc(r1) /* 801BE794 001BB6F4 3B C0 00 00 */ li r30, 0 /* 801BE798 001BB6F8 C2 E1 00 10 */ lfs f23, 0x10(r1) /* 801BE79C 001BB6FC C2 C1 00 14 */ lfs f22, 0x14(r1) /* 801BE7A0 001BB700 C2 62 AA 04 */ lfs f19, lbl_805AC724@sda21(r2) lbl_801BE7A4: /* 801BE7A4 001BB704 C0 22 AA 18 */ lfs f1, lbl_805AC738@sda21(r2) /* 801BE7A8 001BB708 38 7D 03 94 */ addi r3, r29, 0x394 /* 801BE7AC 001BB70C C0 42 AA 1C */ lfs f2, lbl_805AC73C@sda21(r2) /* 801BE7B0 001BB710 48 15 3D 95 */ bl Range__9CRandom16Fff /* 801BE7B4 001BB714 FE 40 08 90 */ fmr f18, f1 /* 801BE7B8 001BB718 C0 22 AA 18 */ lfs f1, lbl_805AC738@sda21(r2) /* 801BE7BC 001BB71C C0 42 AA 1C */ lfs f2, lbl_805AC73C@sda21(r2) /* 801BE7C0 001BB720 38 7D 03 94 */ addi r3, r29, 0x394 /* 801BE7C4 001BB724 48 15 3D 81 */ bl Range__9CRandom16Fff /* 801BE7C8 001BB728 C0 1D 03 98 */ lfs f0, 0x398(r29) /* 801BE7CC 001BB72C FF 80 08 90 */ fmr f28, f1 /* 801BE7D0 001BB730 EC 33 00 2A */ fadds f1, f19, f0 /* 801BE7D4 001BB734 48 15 65 71 */ bl FastCosR__5CMathFf /* 801BE7D8 001BB738 C0 1D 03 98 */ lfs f0, 0x398(r29) /* 801BE7DC 001BB73C EE 55 90 7A */ fmadds f18, f21, f1, f18 /* 801BE7E0 001BB740 EC 33 00 2A */ fadds f1, f19, f0 /* 801BE7E4 001BB744 48 15 66 0D */ bl FastSinR__5CMathFf /* 801BE7E8 001BB748 EC 13 F0 24 */ fdivs f0, f19, f30 /* 801BE7EC 001BB74C 3B DE 00 01 */ addi r30, r30, 1 /* 801BE7F0 001BB750 2C 1E 00 24 */ cmpwi r30, 0x24 /* 801BE7F4 001BB754 EC 9D 00 28 */ fsubs f4, f29, f0 /* 801BE7F8 001BB758 EC 78 00 32 */ fmuls f3, f24, f0 /* 801BE7FC 001BB75C EC 57 00 32 */ fmuls f2, f23, f0 /* 801BE800 001BB760 EC 16 00 32 */ fmuls f0, f22, f0 /* 801BE804 001BB764 EC 7B 19 3A */ fmadds f3, f27, f4, f3 /* 801BE808 001BB768 EC 5A 11 3A */ fmadds f2, f26, f4, f2 /* 801BE80C 001BB76C EC B5 E0 7A */ fmadds f5, f21, f1, f28 /* 801BE810 001BB770 EC 63 90 2A */ fadds f3, f3, f18 /* 801BE814 001BB774 EC 19 01 3A */ fmadds f0, f25, f4, f0 /* 801BE818 001BB778 EC 22 F8 2A */ fadds f1, f2, f31 /* 801BE81C 001BB77C D0 7F 00 00 */ stfs f3, 0(r31) /* 801BE820 001BB780 EE 73 80 2A */ fadds f19, f19, f16 /* 801BE824 001BB784 EC 00 28 2A */ fadds f0, f0, f5 /* 801BE828 001BB788 D0 3F 00 04 */ stfs f1, 4(r31) /* 801BE82C 001BB78C D0 1F 00 08 */ stfs f0, 8(r31) /* 801BE830 001BB790 3B FF 00 0C */ addi r31, r31, 0xc /* 801BE834 001BB794 41 80 FF 70 */ blt lbl_801BE7A4 /* 801BE838 001BB798 FF 60 C0 90 */ fmr f27, f24 /* 801BE83C 001BB79C C2 A2 AA 28 */ lfs f21, lbl_805AC748@sda21(r2) /* 801BE840 001BB7A0 FF 40 B8 90 */ fmr f26, f23 /* 801BE844 001BB7A4 FF 20 B0 90 */ fmr f25, f22 /* 801BE848 001BB7A8 EE 94 88 2A */ fadds f20, f20, f17 lbl_801BE84C: /* 801BE84C 001BB7AC FC 14 E8 40 */ fcmpo cr0, f20, f29 /* 801BE850 001BB7B0 4C 40 13 82 */ cror 2, 0, 2 /* 801BE854 001BB7B4 41 82 FF 20 */ beq lbl_801BE774 /* 801BE858 001BB7B8 3C 80 80 3D */ lis r4, lbl_803D1A08@ha /* 801BE85C 001BB7BC 38 61 00 90 */ addi r3, r1, 0x90 /* 801BE860 001BB7C0 39 24 1A 08 */ addi r9, r4, lbl_803D1A08@l /* 801BE864 001BB7C4 81 09 00 00 */ lwz r8, 0(r9) /* 801BE868 001BB7C8 80 E9 00 04 */ lwz r7, 4(r9) /* 801BE86C 001BB7CC 80 C9 00 08 */ lwz r6, 8(r9) /* 801BE870 001BB7D0 80 A9 00 0C */ lwz r5, 0xc(r9) /* 801BE874 001BB7D4 80 89 00 10 */ lwz r4, 0x10(r9) /* 801BE878 001BB7D8 80 09 00 14 */ lwz r0, 0x14(r9) /* 801BE87C 001BB7DC 91 01 00 90 */ stw r8, 0x90(r1) /* 801BE880 001BB7E0 90 E1 00 94 */ stw r7, 0x94(r1) /* 801BE884 001BB7E4 90 C1 00 98 */ stw r6, 0x98(r1) /* 801BE888 001BB7E8 90 A1 00 9C */ stw r5, 0x9c(r1) /* 801BE88C 001BB7EC 90 81 00 A0 */ stw r4, 0xa0(r1) /* 801BE890 001BB7F0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801BE894 001BB7F4 48 14 95 95 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 801BE898 001BB7F8 38 60 00 01 */ li r3, 1 /* 801BE89C 001BB7FC 48 14 A5 B5 */ bl SetNumChans__3CGXFUc /* 801BE8A0 001BB800 38 60 00 01 */ li r3, 1 /* 801BE8A4 001BB804 48 14 A3 ED */ bl SetNumTevStages__3CGXFUc /* 801BE8A8 001BB808 38 60 00 00 */ li r3, 0 /* 801BE8AC 001BB80C 38 80 00 00 */ li r4, 0 /* 801BE8B0 001BB810 38 A0 00 01 */ li r5, 1 /* 801BE8B4 001BB814 38 C0 00 01 */ li r6, 1 /* 801BE8B8 001BB818 38 E0 00 00 */ li r7, 0 /* 801BE8BC 001BB81C 39 00 00 00 */ li r8, 0 /* 801BE8C0 001BB820 39 20 00 02 */ li r9, 2 /* 801BE8C4 001BB824 48 14 A4 09 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 801BE8C8 001BB828 38 60 00 01 */ li r3, 1 /* 801BE8CC 001BB82C 38 80 00 04 */ li r4, 4 /* 801BE8D0 001BB830 38 A0 00 01 */ li r5, 1 /* 801BE8D4 001BB834 38 C0 00 00 */ li r6, 0 /* 801BE8D8 001BB838 48 14 9F F9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 801BE8DC 001BB83C 38 60 00 00 */ li r3, 0 /* 801BE8E0 001BB840 48 14 A5 35 */ bl SetNumTexGens__3CGXFUc /* 801BE8E4 001BB844 38 60 00 00 */ li r3, 0 /* 801BE8E8 001BB848 38 80 00 FF */ li r4, 0xff /* 801BE8EC 001BB84C 38 A0 00 FF */ li r5, 0xff /* 801BE8F0 001BB850 38 C0 00 04 */ li r6, 4 /* 801BE8F4 001BB854 48 14 A0 59 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 801BE8F8 001BB858 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 801BE8FC 001BB85C 38 60 00 00 */ li r3, 0 /* 801BE900 001BB860 48 14 B9 B9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 801BE904 001BB864 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 801BE908 001BB868 38 60 00 01 */ li r3, 1 /* 801BE90C 001BB86C 48 14 B9 AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 801BE910 001BB870 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801BE914 001BB874 38 9D 02 E8 */ addi r4, r29, 0x2e8 /* 801BE918 001BB878 81 83 00 00 */ lwz r12, 0(r3) /* 801BE91C 001BB87C 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801BE920 001BB880 7D 89 03 A6 */ mtctr r12 /* 801BE924 001BB884 4E 80 04 21 */ bctrl /* 801BE928 001BB888 48 18 B6 85 */ bl White__6CColorFv /* 801BE92C 001BB88C 7C 7F 1B 78 */ mr r31, r3 /* 801BE930 001BB890 38 60 00 0C */ li r3, 0xc /* 801BE934 001BB894 38 80 00 00 */ li r4, 0 /* 801BE938 001BB898 48 14 9B 81 */ bl SetLineWidth__3CGXFUc12_GXTexOffset /* 801BE93C 001BB89C 38 60 00 B0 */ li r3, 0xb0 /* 801BE940 001BB8A0 38 80 00 00 */ li r4, 0 /* 801BE944 001BB8A4 38 A0 00 D8 */ li r5, 0xd8 /* 801BE948 001BB8A8 48 14 9C 3D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 801BE94C 001BB8AC 38 00 00 24 */ li r0, 0x24 /* 801BE950 001BB8B0 3C 80 E0 00 */ lis r4, 0xE0000008@ha /* 801BE954 001BB8B4 3C 60 CC 01 */ lis r3, 0xCC008000@ha /* 801BE958 001BB8B8 7C 09 03 A6 */ mtctr r0 lbl_801BE95C: /* 801BE95C 001BB8BC C0 44 00 08 */ lfs f2, 0xE0000008@l(r4) /* 801BE960 001BB8C0 C0 24 00 04 */ lfs f1, 4(r4) /* 801BE964 001BB8C4 C0 04 00 00 */ lfs f0, 0(r4) /* 801BE968 001BB8C8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BE96C 001BB8CC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BE970 001BB8D0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BE974 001BB8D4 80 1F 00 00 */ lwz r0, 0(r31) /* 801BE978 001BB8D8 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 801BE97C 001BB8DC C0 44 00 14 */ lfs f2, 0x14(r4) /* 801BE980 001BB8E0 C0 24 00 10 */ lfs f1, 0x10(r4) /* 801BE984 001BB8E4 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801BE988 001BB8E8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BE98C 001BB8EC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BE990 001BB8F0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BE994 001BB8F4 80 1F 00 00 */ lwz r0, 0(r31) /* 801BE998 001BB8F8 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 801BE99C 001BB8FC C0 44 00 20 */ lfs f2, 0x20(r4) /* 801BE9A0 001BB900 C0 24 00 1C */ lfs f1, 0x1c(r4) /* 801BE9A4 001BB904 C0 04 00 18 */ lfs f0, 0x18(r4) /* 801BE9A8 001BB908 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BE9AC 001BB90C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BE9B0 001BB910 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BE9B4 001BB914 80 1F 00 00 */ lwz r0, 0(r31) /* 801BE9B8 001BB918 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 801BE9BC 001BB91C C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801BE9C0 001BB920 C0 24 00 28 */ lfs f1, 0x28(r4) /* 801BE9C4 001BB924 C0 04 00 24 */ lfs f0, 0x24(r4) /* 801BE9C8 001BB928 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BE9CC 001BB92C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BE9D0 001BB930 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BE9D4 001BB934 80 1F 00 00 */ lwz r0, 0(r31) /* 801BE9D8 001BB938 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 801BE9DC 001BB93C C0 44 00 38 */ lfs f2, 0x38(r4) /* 801BE9E0 001BB940 C0 24 00 34 */ lfs f1, 0x34(r4) /* 801BE9E4 001BB944 C0 04 00 30 */ lfs f0, 0x30(r4) /* 801BE9E8 001BB948 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BE9EC 001BB94C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BE9F0 001BB950 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BE9F4 001BB954 80 1F 00 00 */ lwz r0, 0(r31) /* 801BE9F8 001BB958 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 801BE9FC 001BB95C C0 44 00 44 */ lfs f2, 0x44(r4) /* 801BEA00 001BB960 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801BEA04 001BB964 C0 04 00 3C */ lfs f0, 0x3c(r4) /* 801BEA08 001BB968 38 84 00 48 */ addi r4, r4, 0x48 /* 801BEA0C 001BB96C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEA10 001BB970 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEA14 001BB974 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEA18 001BB978 80 1F 00 00 */ lwz r0, 0(r31) /* 801BEA1C 001BB97C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) /* 801BEA20 001BB980 42 00 FF 3C */ bdnz lbl_801BE95C /* 801BEA24 001BB984 48 14 9B 5D */ bl End__3CGXFv /* 801BEA28 001BB988 C0 22 AA 0C */ lfs f1, lbl_805AC72C@sda21(r2) /* 801BEA2C 001BB98C 38 61 00 08 */ addi r3, r1, 8 /* 801BEA30 001BB990 C0 42 AA 04 */ lfs f2, lbl_805AC724@sda21(r2) /* 801BEA34 001BB994 FC 60 08 90 */ fmr f3, f1 /* 801BEA38 001BB998 C0 82 A9 F8 */ lfs f4, lbl_805AC718@sda21(r2) /* 801BEA3C 001BB99C 48 1A 49 B1 */ bl __ct__6CColorFffff /* 801BEA40 001BB9A0 38 60 00 30 */ li r3, 0x30 /* 801BEA44 001BB9A4 38 80 00 00 */ li r4, 0 /* 801BEA48 001BB9A8 48 14 9A 71 */ bl SetLineWidth__3CGXFUc12_GXTexOffset /* 801BEA4C 001BB9AC 38 60 00 B0 */ li r3, 0xb0 /* 801BEA50 001BB9B0 38 80 00 00 */ li r4, 0 /* 801BEA54 001BB9B4 38 A0 00 D8 */ li r5, 0xd8 /* 801BEA58 001BB9B8 48 14 9B 2D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 801BEA5C 001BB9BC 38 00 00 24 */ li r0, 0x24 /* 801BEA60 001BB9C0 80 A1 00 08 */ lwz r5, 8(r1) /* 801BEA64 001BB9C4 3C 80 E0 00 */ lis r4, 0xE0000008@ha /* 801BEA68 001BB9C8 3C 60 CC 01 */ lis r3, 0xCC008000@ha /* 801BEA6C 001BB9CC 7C 09 03 A6 */ mtctr r0 lbl_801BEA70: /* 801BEA70 001BB9D0 C0 44 00 08 */ lfs f2, 0xE0000008@l(r4) /* 801BEA74 001BB9D4 C0 24 00 04 */ lfs f1, 4(r4) /* 801BEA78 001BB9D8 C0 04 00 00 */ lfs f0, 0(r4) /* 801BEA7C 001BB9DC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEA80 001BB9E0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEA84 001BB9E4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEA88 001BB9E8 90 A3 80 00 */ stw r5, 0xCC008000@l(r3) /* 801BEA8C 001BB9EC C0 44 00 14 */ lfs f2, 0x14(r4) /* 801BEA90 001BB9F0 C0 24 00 10 */ lfs f1, 0x10(r4) /* 801BEA94 001BB9F4 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801BEA98 001BB9F8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEA9C 001BB9FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEAA0 001BBA00 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEAA4 001BBA04 90 A3 80 00 */ stw r5, 0xCC008000@l(r3) /* 801BEAA8 001BBA08 C0 44 00 20 */ lfs f2, 0x20(r4) /* 801BEAAC 001BBA0C C0 24 00 1C */ lfs f1, 0x1c(r4) /* 801BEAB0 001BBA10 C0 04 00 18 */ lfs f0, 0x18(r4) /* 801BEAB4 001BBA14 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEAB8 001BBA18 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEABC 001BBA1C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEAC0 001BBA20 90 A3 80 00 */ stw r5, 0xCC008000@l(r3) /* 801BEAC4 001BBA24 C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801BEAC8 001BBA28 C0 24 00 28 */ lfs f1, 0x28(r4) /* 801BEACC 001BBA2C C0 04 00 24 */ lfs f0, 0x24(r4) /* 801BEAD0 001BBA30 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEAD4 001BBA34 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEAD8 001BBA38 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEADC 001BBA3C 90 A3 80 00 */ stw r5, 0xCC008000@l(r3) /* 801BEAE0 001BBA40 C0 44 00 38 */ lfs f2, 0x38(r4) /* 801BEAE4 001BBA44 C0 24 00 34 */ lfs f1, 0x34(r4) /* 801BEAE8 001BBA48 C0 04 00 30 */ lfs f0, 0x30(r4) /* 801BEAEC 001BBA4C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEAF0 001BBA50 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEAF4 001BBA54 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEAF8 001BBA58 90 A3 80 00 */ stw r5, 0xCC008000@l(r3) /* 801BEAFC 001BBA5C C0 44 00 44 */ lfs f2, 0x44(r4) /* 801BEB00 001BBA60 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801BEB04 001BBA64 C0 04 00 3C */ lfs f0, 0x3c(r4) /* 801BEB08 001BBA68 38 84 00 48 */ addi r4, r4, 0x48 /* 801BEB0C 001BBA6C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 801BEB10 001BBA70 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 801BEB14 001BBA74 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 801BEB18 001BBA78 90 A3 80 00 */ stw r5, 0xCC008000@l(r3) /* 801BEB1C 001BBA7C 42 00 FF 54 */ bdnz lbl_801BEA70 /* 801BEB20 001BBA80 48 14 9A 61 */ bl End__3CGXFv /* 801BEB24 001BBA84 38 60 00 06 */ li r3, 6 /* 801BEB28 001BBA88 38 80 00 00 */ li r4, 0 /* 801BEB2C 001BBA8C 48 14 99 8D */ bl SetLineWidth__3CGXFUc12_GXTexOffset /* 801BEB30 001BBA90 E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 /* 801BEB34 001BBA94 CB E1 02 10 */ lfd f31, 0x210(r1) /* 801BEB38 001BBA98 E3 C1 02 08 */ psq_l f30, 520(r1), 0, qr0 /* 801BEB3C 001BBA9C CB C1 02 00 */ lfd f30, 0x200(r1) /* 801BEB40 001BBAA0 E3 A1 01 F8 */ psq_l f29, 504(r1), 0, qr0 /* 801BEB44 001BBAA4 CB A1 01 F0 */ lfd f29, 0x1f0(r1) /* 801BEB48 001BBAA8 E3 81 01 E8 */ psq_l f28, 488(r1), 0, qr0 /* 801BEB4C 001BBAAC CB 81 01 E0 */ lfd f28, 0x1e0(r1) /* 801BEB50 001BBAB0 E3 61 01 D8 */ psq_l f27, 472(r1), 0, qr0 /* 801BEB54 001BBAB4 CB 61 01 D0 */ lfd f27, 0x1d0(r1) /* 801BEB58 001BBAB8 E3 41 01 C8 */ psq_l f26, 456(r1), 0, qr0 /* 801BEB5C 001BBABC CB 41 01 C0 */ lfd f26, 0x1c0(r1) /* 801BEB60 001BBAC0 E3 21 01 B8 */ psq_l f25, 440(r1), 0, qr0 /* 801BEB64 001BBAC4 CB 21 01 B0 */ lfd f25, 0x1b0(r1) /* 801BEB68 001BBAC8 E3 01 01 A8 */ psq_l f24, 424(r1), 0, qr0 /* 801BEB6C 001BBACC CB 01 01 A0 */ lfd f24, 0x1a0(r1) /* 801BEB70 001BBAD0 E2 E1 01 98 */ psq_l f23, 408(r1), 0, qr0 /* 801BEB74 001BBAD4 CA E1 01 90 */ lfd f23, 0x190(r1) /* 801BEB78 001BBAD8 E2 C1 01 88 */ psq_l f22, 392(r1), 0, qr0 /* 801BEB7C 001BBADC CA C1 01 80 */ lfd f22, 0x180(r1) /* 801BEB80 001BBAE0 E2 A1 01 78 */ psq_l f21, 376(r1), 0, qr0 /* 801BEB84 001BBAE4 CA A1 01 70 */ lfd f21, 0x170(r1) /* 801BEB88 001BBAE8 E2 81 01 68 */ psq_l f20, 360(r1), 0, qr0 /* 801BEB8C 001BBAEC CA 81 01 60 */ lfd f20, 0x160(r1) /* 801BEB90 001BBAF0 E2 61 01 58 */ psq_l f19, 344(r1), 0, qr0 /* 801BEB94 001BBAF4 CA 61 01 50 */ lfd f19, 0x150(r1) /* 801BEB98 001BBAF8 E2 41 01 48 */ psq_l f18, 328(r1), 0, qr0 /* 801BEB9C 001BBAFC CA 41 01 40 */ lfd f18, 0x140(r1) /* 801BEBA0 001BBB00 E2 21 01 38 */ psq_l f17, 312(r1), 0, qr0 /* 801BEBA4 001BBB04 CA 21 01 30 */ lfd f17, 0x130(r1) /* 801BEBA8 001BBB08 E2 01 01 28 */ psq_l f16, 296(r1), 0, qr0 /* 801BEBAC 001BBB0C CA 01 01 20 */ lfd f16, 0x120(r1) /* 801BEBB0 001BBB10 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 801BEBB4 001BBB14 83 C1 01 18 */ lwz r30, 0x118(r1) /* 801BEBB8 001BBB18 80 01 02 24 */ lwz r0, 0x224(r1) /* 801BEBBC 001BBB1C 83 A1 01 14 */ lwz r29, 0x114(r1) /* 801BEBC0 001BBB20 7C 08 03 A6 */ mtlr r0 /* 801BEBC4 001BBB24 38 21 02 20 */ addi r1, r1, 0x220 /* 801BEBC8 001BBB28 4E 80 00 20 */ blr .global sub_801bebcc sub_801bebcc: /* 801BEBCC 001BBB2C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801BEBD0 001BBB30 7C 08 02 A6 */ mflr r0 /* 801BEBD4 001BBB34 90 01 00 84 */ stw r0, 0x84(r1) /* 801BEBD8 001BBB38 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801BEBDC 001BBB3C 7C DF 33 78 */ mr r31, r6 /* 801BEBE0 001BBB40 93 C1 00 78 */ stw r30, 0x78(r1) /* 801BEBE4 001BBB44 7C BE 2B 78 */ mr r30, r5 /* 801BEBE8 001BBB48 93 A1 00 74 */ stw r29, 0x74(r1) /* 801BEBEC 001BBB4C 7C 9D 23 78 */ mr r29, r4 /* 801BEBF0 001BBB50 2C 1D 00 22 */ cmpwi r29, 0x22 /* 801BEBF4 001BBB54 93 81 00 70 */ stw r28, 0x70(r1) /* 801BEBF8 001BBB58 7C 7C 1B 78 */ mr r28, r3 /* 801BEBFC 001BBB5C 41 82 00 D8 */ beq lbl_801BECD4 /* 801BEC00 001BBB60 40 80 00 DC */ bge lbl_801BECDC /* 801BEC04 001BBB64 2C 1D 00 21 */ cmpwi r29, 0x21 /* 801BEC08 001BBB68 40 80 00 08 */ bge lbl_801BEC10 /* 801BEC0C 001BBB6C 48 00 00 D0 */ b lbl_801BECDC lbl_801BEC10: /* 801BEC10 001BBB70 80 7C 03 90 */ lwz r3, 0x390(r28) /* 801BEC14 001BBB74 28 03 00 00 */ cmplwi r3, 0 /* 801BEC18 001BBB78 41 82 00 60 */ beq lbl_801BEC78 /* 801BEC1C 001BBB7C 81 83 00 00 */ lwz r12, 0(r3) /* 801BEC20 001BBB80 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801BEC24 001BBB84 7D 89 03 A6 */ mtctr r12 /* 801BEC28 001BBB88 4E 80 04 21 */ bctrl /* 801BEC2C 001BBB8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BEC30 001BBB90 41 82 00 48 */ beq lbl_801BEC78 /* 801BEC34 001BBB94 3C 80 80 3D */ lis r4, lbl_803D1A20@ha /* 801BEC38 001BBB98 38 61 00 0C */ addi r3, r1, 0xc /* 801BEC3C 001BBB9C 38 84 1A 20 */ addi r4, r4, lbl_803D1A20@l /* 801BEC40 001BBBA0 4B E4 60 79 */ bl string_l__4rstlFPCc /* 801BEC44 001BBBA4 80 9C 03 90 */ lwz r4, 0x390(r28) /* 801BEC48 001BBBA8 38 61 00 1C */ addi r3, r1, 0x1c /* 801BEC4C 001BBBAC 81 84 00 00 */ lwz r12, 0(r4) /* 801BEC50 001BBBB0 81 8C 00 68 */ lwz r12, 0x68(r12) /* 801BEC54 001BBBB4 7D 89 03 A6 */ mtctr r12 /* 801BEC58 001BBBB8 4E 80 04 21 */ bctrl /* 801BEC5C 001BBBBC 7F 83 E3 78 */ mr r3, r28 /* 801BEC60 001BBBC0 7F E6 FB 78 */ mr r6, r31 /* 801BEC64 001BBBC4 38 81 00 0C */ addi r4, r1, 0xc /* 801BEC68 001BBBC8 38 A1 00 1C */ addi r5, r1, 0x1c /* 801BEC6C 001BBBCC 4B E7 8C 91 */ bl "CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager" /* 801BEC70 001BBBD0 38 61 00 0C */ addi r3, r1, 0xc /* 801BEC74 001BBBD4 48 17 EE 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801BEC78: /* 801BEC78 001BBBD8 88 1C 00 E6 */ lbz r0, 0xe6(r28) /* 801BEC7C 001BBBDC 38 60 00 02 */ li r3, 2 /* 801BEC80 001BBBE0 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c /* 801BEC84 001BBBE4 98 1C 00 E6 */ stb r0, 0xe6(r28) /* 801BEC88 001BBBE8 C0 5C 03 14 */ lfs f2, 0x314(r28) /* 801BEC8C 001BBBEC C0 3C 03 04 */ lfs f1, 0x304(r28) /* 801BEC90 001BBBF0 C0 1C 02 F4 */ lfs f0, 0x2f4(r28) /* 801BEC94 001BBBF4 D0 1C 03 18 */ stfs f0, 0x318(r28) /* 801BEC98 001BBBF8 D0 3C 03 1C */ stfs f1, 0x31c(r28) /* 801BEC9C 001BBBFC D0 5C 03 20 */ stfs f2, 0x320(r28) /* 801BECA0 001BBC00 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801BECA4 001BBC04 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801BECA8 001BBC08 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801BECAC 001BBC0C D0 1C 03 24 */ stfs f0, 0x324(r28) /* 801BECB0 001BBC10 D0 3C 03 28 */ stfs f1, 0x328(r28) /* 801BECB4 001BBC14 D0 5C 03 2C */ stfs f2, 0x32c(r28) /* 801BECB8 001BBC18 C0 1C 03 24 */ lfs f0, 0x324(r28) /* 801BECBC 001BBC1C D0 1C 03 30 */ stfs f0, 0x330(r28) /* 801BECC0 001BBC20 C0 1C 03 28 */ lfs f0, 0x328(r28) /* 801BECC4 001BBC24 D0 1C 03 34 */ stfs f0, 0x334(r28) /* 801BECC8 001BBC28 C0 1C 03 2C */ lfs f0, 0x32c(r28) /* 801BECCC 001BBC2C D0 1C 03 38 */ stfs f0, 0x338(r28) /* 801BECD0 001BBC30 48 00 00 0C */ b lbl_801BECDC lbl_801BECD4: /* 801BECD4 001BBC34 7F E4 FB 78 */ mr r4, r31 /* 801BECD8 001BBC38 4B E7 8B D1 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager lbl_801BECDC: /* 801BECDC 001BBC3C A0 1E 00 00 */ lhz r0, 0(r30) /* 801BECE0 001BBC40 7F 83 E3 78 */ mr r3, r28 /* 801BECE4 001BBC44 7F A4 EB 78 */ mr r4, r29 /* 801BECE8 001BBC48 7F E6 FB 78 */ mr r6, r31 /* 801BECEC 001BBC4C B0 01 00 08 */ sth r0, 8(r1) /* 801BECF0 001BBC50 38 A1 00 08 */ addi r5, r1, 8 /* 801BECF4 001BBC54 4B E7 98 D9 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801BECF8 001BBC58 80 01 00 84 */ lwz r0, 0x84(r1) /* 801BECFC 001BBC5C 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801BED00 001BBC60 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801BED04 001BBC64 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801BED08 001BBC68 83 81 00 70 */ lwz r28, 0x70(r1) /* 801BED0C 001BBC6C 7C 08 03 A6 */ mtlr r0 /* 801BED10 001BBC70 38 21 00 80 */ addi r1, r1, 0x80 /* 801BED14 001BBC74 4E 80 00 20 */ blr .global ResetBeam__11CWaveBusterFb ResetBeam__11CWaveBusterFb: /* 801BED18 001BBC78 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BED1C 001BBC7C 7C 08 02 A6 */ mflr r0 /* 801BED20 001BBC80 90 01 00 14 */ stw r0, 0x14(r1) /* 801BED24 001BBC84 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801BED28 001BBC88 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BED2C 001BBC8C 7C 7F 1B 78 */ mr r31, r3 /* 801BED30 001BBC90 41 82 00 4C */ beq lbl_801BED7C /* 801BED34 001BBC94 81 83 00 00 */ lwz r12, 0(r3) /* 801BED38 001BBC98 38 80 00 00 */ li r4, 0 /* 801BED3C 001BBC9C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801BED40 001BBCA0 7D 89 03 A6 */ mtctr r12 /* 801BED44 001BBCA4 4E 80 04 21 */ bctrl /* 801BED48 001BBCA8 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801BED4C 001BBCAC 38 60 00 00 */ li r3, 0 /* 801BED50 001BBCB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801BED54 001BBCB4 38 80 00 00 */ li r4, 0 /* 801BED58 001BBCB8 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801BED5C 001BBCBC 80 7F 03 8C */ lwz r3, 0x38c(r31) /* 801BED60 001BBCC0 81 83 00 00 */ lwz r12, 0(r3) /* 801BED64 001BBCC4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BED68 001BBCC8 7D 89 03 A6 */ mtctr r12 /* 801BED6C 001BBCCC 4E 80 04 21 */ bctrl /* 801BED70 001BBCD0 C0 02 AA 20 */ lfs f0, lbl_805AC740@sda21(r2) /* 801BED74 001BBCD4 D0 1F 03 98 */ stfs f0, 0x398(r31) /* 801BED78 001BBCD8 48 00 00 2C */ b lbl_801BEDA4 lbl_801BED7C: /* 801BED7C 001BBCDC 80 7F 03 8C */ lwz r3, 0x38c(r31) /* 801BED80 001BBCE0 38 80 00 00 */ li r4, 0 /* 801BED84 001BBCE4 81 83 00 00 */ lwz r12, 0(r3) /* 801BED88 001BBCE8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801BED8C 001BBCEC 7D 89 03 A6 */ mtctr r12 /* 801BED90 001BBCF0 4E 80 04 21 */ bctrl /* 801BED94 001BBCF4 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801BED98 001BBCF8 38 60 00 00 */ li r3, 0 /* 801BED9C 001BBCFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801BEDA0 001BBD00 98 1F 03 D0 */ stb r0, 0x3d0(r31) lbl_801BEDA4: /* 801BEDA4 001BBD04 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BEDA8 001BBD08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BEDAC 001BBD0C 7C 08 03 A6 */ mtlr r0 /* 801BEDB0 001BBD10 38 21 00 10 */ addi r1, r1, 0x10 /* 801BEDB4 001BBD14 4E 80 00 20 */ blr .global sub_801bedb8 sub_801bedb8: /* 801BEDB8 001BBD18 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801BEDBC 001BBD1C 7C 08 02 A6 */ mflr r0 /* 801BEDC0 001BBD20 90 01 00 14 */ stw r0, 0x14(r1) /* 801BEDC4 001BBD24 93 E1 00 0C */ stw r31, 0xc(r1) /* 801BEDC8 001BBD28 7C 9F 23 78 */ mr r31, r4 /* 801BEDCC 001BBD2C 93 C1 00 08 */ stw r30, 8(r1) /* 801BEDD0 001BBD30 7C 7E 1B 78 */ mr r30, r3 /* 801BEDD4 001BBD34 4B FF F5 7D */ bl sub_801be350 /* 801BEDD8 001BBD38 7F C3 F3 78 */ mr r3, r30 /* 801BEDDC 001BBD3C 4B FF F7 E5 */ bl sub_801be5c0 /* 801BEDE0 001BBD40 7F C3 F3 78 */ mr r3, r30 /* 801BEDE4 001BBD44 7F E4 FB 78 */ mr r4, r31 /* 801BEDE8 001BBD48 4B F4 31 21 */ bl Render__7CWeaponCFRC13CStateManager /* 801BEDEC 001BBD4C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801BEDF0 001BBD50 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801BEDF4 001BBD54 83 C1 00 08 */ lwz r30, 8(r1) /* 801BEDF8 001BBD58 7C 08 03 A6 */ mtlr r0 /* 801BEDFC 001BBD5C 38 21 00 10 */ addi r1, r1, 0x10 /* 801BEE00 001BBD60 4E 80 00 20 */ blr .global sub_801bee04 sub_801bee04: /* 801BEE04 001BBD64 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801BEE08 001BBD68 7C 08 02 A6 */ mflr r0 /* 801BEE0C 001BBD6C 90 01 00 44 */ stw r0, 0x44(r1) /* 801BEE10 001BBD70 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801BEE14 001BBD74 7C BF 2B 78 */ mr r31, r5 /* 801BEE18 001BBD78 93 C1 00 38 */ stw r30, 0x38(r1) /* 801BEE1C 001BBD7C 7C 7E 1B 78 */ mr r30, r3 /* 801BEE20 001BBD80 7F C4 F3 78 */ mr r4, r30 /* 801BEE24 001BBD84 C0 43 03 14 */ lfs f2, 0x314(r3) /* 801BEE28 001BBD88 C0 23 03 04 */ lfs f1, 0x304(r3) /* 801BEE2C 001BBD8C 38 61 00 14 */ addi r3, r1, 0x14 /* 801BEE30 001BBD90 C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 801BEE34 001BBD94 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801BEE38 001BBD98 D0 01 00 08 */ stfs f0, 8(r1) /* 801BEE3C 001BBD9C D0 41 00 10 */ stfs f2, 0x10(r1) /* 801BEE40 001BBDA0 81 9E 00 00 */ lwz r12, 0(r30) /* 801BEE44 001BBDA4 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801BEE48 001BBDA8 7D 89 03 A6 */ mtctr r12 /* 801BEE4C 001BBDAC 4E 80 04 21 */ bctrl /* 801BEE50 001BBDB0 7F C3 F3 78 */ mr r3, r30 /* 801BEE54 001BBDB4 7F E4 FB 78 */ mr r4, r31 /* 801BEE58 001BBDB8 38 A1 00 08 */ addi r5, r1, 8 /* 801BEE5C 001BBDBC 38 C1 00 14 */ addi r6, r1, 0x14 /* 801BEE60 001BBDC0 4B E9 5C 49 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f /* 801BEE64 001BBDC4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801BEE68 001BBDC8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801BEE6C 001BBDCC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801BEE70 001BBDD0 7C 08 03 A6 */ mtlr r0 /* 801BEE74 001BBDD4 38 21 00 40 */ addi r1, r1, 0x40 /* 801BEE78 001BBDD8 4E 80 00 20 */ blr .global UpdateFx__11CWaveBusterFRC12CTransform4ffR13CStateManager UpdateFx__11CWaveBusterFRC12CTransform4ffR13CStateManager: /* 801BEE7C 001BBDDC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BEE80 001BBDE0 7C 08 02 A6 */ mflr r0 /* 801BEE84 001BBDE4 90 01 00 34 */ stw r0, 0x34(r1) /* 801BEE88 001BBDE8 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801BEE8C 001BBDEC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801BEE90 001BBDF0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801BEE94 001BBDF4 88 03 00 30 */ lbz r0, 0x30(r3) /* 801BEE98 001BBDF8 FF E0 08 90 */ fmr f31, f1 /* 801BEE9C 001BBDFC 7C 7F 1B 78 */ mr r31, r3 /* 801BEEA0 001BBE00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801BEEA4 001BBE04 41 82 00 68 */ beq lbl_801BEF0C /* 801BEEA8 001BBE08 38 7F 02 E8 */ addi r3, r31, 0x2e8 /* 801BEEAC 001BBE0C 48 15 3C 95 */ bl __as__12CTransform4fFRC12CTransform4f /* 801BEEB0 001BBE10 C0 42 AA 2C */ lfs f2, lbl_805AC74C@sda21(r2) /* 801BEEB4 001BBE14 C0 3F 03 98 */ lfs f1, 0x398(r31) /* 801BEEB8 001BBE18 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BEEBC 001BBE1C EC 22 0F FC */ fnmsubs f1, f2, f31, f1 /* 801BEEC0 001BBE20 D0 3F 03 98 */ stfs f1, 0x398(r31) /* 801BEEC4 001BBE24 C0 3F 03 98 */ lfs f1, 0x398(r31) /* 801BEEC8 001BBE28 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BEECC 001BBE2C 40 80 00 0C */ bge lbl_801BEED8 /* 801BEED0 001BBE30 C0 02 AA 20 */ lfs f0, lbl_805AC740@sda21(r2) /* 801BEED4 001BBE34 D0 1F 03 98 */ stfs f0, 0x398(r31) lbl_801BEED8: /* 801BEED8 001BBE38 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801BEEDC 001BBE3C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801BEEE0 001BBE40 41 82 00 0C */ beq lbl_801BEEEC /* 801BEEE4 001BBE44 C0 22 AA 30 */ lfs f1, lbl_805AC750@sda21(r2) /* 801BEEE8 001BBE48 48 00 00 08 */ b lbl_801BEEF0 lbl_801BEEEC: /* 801BEEEC 001BBE4C C0 22 AA 04 */ lfs f1, lbl_805AC724@sda21(r2) lbl_801BEEF0: /* 801BEEF0 001BBE50 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BEEF4 001BBE54 38 7F 01 70 */ addi r3, r31, 0x170 /* 801BEEF8 001BBE58 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801BEEFC 001BBE5C 38 81 00 08 */ addi r4, r1, 8 /* 801BEF00 001BBE60 D0 01 00 08 */ stfs f0, 8(r1) /* 801BEF04 001BBE64 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BEF08 001BBE68 48 0F 02 35 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f lbl_801BEF0C: /* 801BEF0C 001BBE6C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801BEF10 001BBE70 80 01 00 34 */ lwz r0, 0x34(r1) /* 801BEF14 001BBE74 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801BEF18 001BBE78 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801BEF1C 001BBE7C 7C 08 03 A6 */ mtlr r0 /* 801BEF20 001BBE80 38 21 00 30 */ addi r1, r1, 0x30 /* 801BEF24 001BBE84 4E 80 00 20 */ blr .global sub_801bef28 sub_801bef28: /* 801BEF28 001BBE88 94 21 FD D0 */ stwu r1, -0x230(r1) /* 801BEF2C 001BBE8C 7C 08 02 A6 */ mflr r0 /* 801BEF30 001BBE90 90 01 02 34 */ stw r0, 0x234(r1) /* 801BEF34 001BBE94 DB E1 02 20 */ stfd f31, 0x220(r1) /* 801BEF38 001BBE98 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 /* 801BEF3C 001BBE9C DB C1 02 10 */ stfd f30, 0x210(r1) /* 801BEF40 001BBEA0 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 /* 801BEF44 001BBEA4 93 E1 02 0C */ stw r31, 0x20c(r1) /* 801BEF48 001BBEA8 93 C1 02 08 */ stw r30, 0x208(r1) /* 801BEF4C 001BBEAC 93 A1 02 04 */ stw r29, 0x204(r1) /* 801BEF50 001BBEB0 FF C0 08 90 */ fmr f30, f1 /* 801BEF54 001BBEB4 7C 7E 1B 78 */ mr r30, r3 /* 801BEF58 001BBEB8 7C 9F 23 78 */ mr r31, r4 /* 801BEF5C 001BBEBC 4B F4 31 7D */ bl Think__7CWeaponFfR13CStateManager /* 801BEF60 001BBEC0 88 1E 00 30 */ lbz r0, 0x30(r30) /* 801BEF64 001BBEC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801BEF68 001BBEC8 41 82 06 04 */ beq lbl_801BF56C /* 801BEF6C 001BBECC 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801BEF70 001BBED0 80 7E 00 04 */ lwz r3, 4(r30) /* 801BEF74 001BBED4 80 04 00 68 */ lwz r0, 0x68(r4) /* 801BEF78 001BBED8 7C 03 00 00 */ cmpw r3, r0 /* 801BEF7C 001BBEDC 41 82 00 1C */ beq lbl_801BEF98 /* 801BEF80 001BBEE0 90 01 00 34 */ stw r0, 0x34(r1) /* 801BEF84 001BBEE4 7F E3 FB 78 */ mr r3, r31 /* 801BEF88 001BBEE8 7F C4 F3 78 */ mr r4, r30 /* 801BEF8C 001BBEEC 38 A1 00 38 */ addi r5, r1, 0x38 /* 801BEF90 001BBEF0 90 01 00 38 */ stw r0, 0x38(r1) /* 801BEF94 001BBEF4 4B E8 62 E5 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId lbl_801BEF98: /* 801BEF98 001BBEF8 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BEF9C 001BBEFC 38 A0 00 00 */ li r5, 0 /* 801BEFA0 001BBF00 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801BEFA4 001BBF04 C3 E2 A9 FC */ lfs f31, lbl_805AC71C@sda21(r2) /* 801BEFA8 001BBF08 98 1E 03 D0 */ stb r0, 0x3d0(r30) /* 801BEFAC 001BBF0C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801BEFB0 001BBF10 38 81 00 AC */ addi r4, r1, 0xac /* 801BEFB4 001BBF14 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BEFB8 001BBF18 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801BEFBC 001BBF1C 98 1E 03 D0 */ stb r0, 0x3d0(r30) /* 801BEFC0 001BBF20 C0 5E 03 14 */ lfs f2, 0x314(r30) /* 801BEFC4 001BBF24 C0 3E 03 04 */ lfs f1, 0x304(r30) /* 801BEFC8 001BBF28 C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 801BEFCC 001BBF2C D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 801BEFD0 001BBF30 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801BEFD4 001BBF34 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801BEFD8 001BBF38 C0 5E 03 0C */ lfs f2, 0x30c(r30) /* 801BEFDC 001BBF3C C0 3E 02 FC */ lfs f1, 0x2fc(r30) /* 801BEFE0 001BBF40 C0 1E 02 EC */ lfs f0, 0x2ec(r30) /* 801BEFE4 001BBF44 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801BEFE8 001BBF48 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801BEFEC 001BBF4C D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 801BEFF0 001BBF50 48 15 58 61 */ bl AsNormalized__9CVector3fCFv /* 801BEFF4 001BBF54 C0 41 00 B8 */ lfs f2, 0xb8(r1) /* 801BEFF8 001BBF58 C0 21 00 BC */ lfs f1, 0xbc(r1) /* 801BEFFC 001BBF5C C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801BF000 001BBF60 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801BF004 001BBF64 D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 801BF008 001BBF68 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801BF00C 001BBF6C 88 7E 03 D0 */ lbz r3, 0x3d0(r30) /* 801BF010 001BBF70 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801BF014 001BBF74 40 82 01 54 */ bne lbl_801BF168 /* 801BF018 001BBF78 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801BF01C 001BBF7C 40 82 01 4C */ bne lbl_801BF168 /* 801BF020 001BBF80 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF024 001BBF84 FC 20 F0 90 */ fmr f1, f30 /* 801BF028 001BBF88 7F C4 F3 78 */ mr r4, r30 /* 801BF02C 001BBF8C 7F E8 FB 78 */ mr r8, r31 /* 801BF030 001BBF90 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801BF034 001BBF94 38 61 01 78 */ addi r3, r1, 0x178 /* 801BF038 001BBF98 38 A1 00 2C */ addi r5, r1, 0x2c /* 801BF03C 001BBF9C 38 C1 00 D0 */ addi r6, r1, 0xd0 /* 801BF040 001BBFA0 38 E1 00 C4 */ addi r7, r1, 0xc4 /* 801BF044 001BBFA4 4B FF EF CD */ bl sub_801be010 /* 801BF048 001BBFA8 88 01 01 98 */ lbz r0, 0x198(r1) /* 801BF04C 001BBFAC C0 21 01 78 */ lfs f1, 0x178(r1) /* 801BF050 001BBFB0 28 00 00 00 */ cmplwi r0, 0 /* 801BF054 001BBFB4 41 82 01 14 */ beq lbl_801BF168 /* 801BF058 001BBFB8 C0 02 A9 FC */ lfs f0, lbl_805AC71C@sda21(r2) /* 801BF05C 001BBFBC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BF060 001BBFC0 40 80 01 08 */ bge lbl_801BF168 /* 801BF064 001BBFC4 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 801BF068 001BBFC8 FF E0 08 90 */ fmr f31, f1 /* 801BF06C 001BBFCC 7F E3 FB 78 */ mr r3, r31 /* 801BF070 001BBFD0 38 81 00 28 */ addi r4, r1, 0x28 /* 801BF074 001BBFD4 B0 01 00 28 */ sth r0, 0x28(r1) /* 801BF078 001BBFD8 4B E8 D4 FD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801BF07C 001BBFDC 7C 64 1B 78 */ mr r4, r3 /* 801BF080 001BBFE0 38 61 00 44 */ addi r3, r1, 0x44 /* 801BF084 001BBFE4 4B EF 0C 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801BF088 001BBFE8 83 A3 00 04 */ lwz r29, 4(r3) /* 801BF08C 001BBFEC 28 1D 00 00 */ cmplwi r29, 0 /* 801BF090 001BBFF0 41 82 00 B8 */ beq lbl_801BF148 /* 801BF094 001BBFF4 7F A3 EB 78 */ mr r3, r29 /* 801BF098 001BBFF8 7F C4 F3 78 */ mr r4, r30 /* 801BF09C 001BBFFC 81 9D 00 00 */ lwz r12, 0(r29) /* 801BF0A0 001BC000 7F E5 FB 78 */ mr r5, r31 /* 801BF0A4 001BC004 81 8C 00 44 */ lwz r12, 0x44(r12) /* 801BF0A8 001BC008 7D 89 03 A6 */ mtctr r12 /* 801BF0AC 001BC00C 4E 80 04 21 */ bctrl /* 801BF0B0 001BC010 C0 7E 00 58 */ lfs f3, 0x58(r30) /* 801BF0B4 001BC014 FC 20 F0 90 */ fmr f1, f30 /* 801BF0B8 001BC018 C0 5E 00 48 */ lfs f2, 0x48(r30) /* 801BF0BC 001BC01C 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801BF0C0 001BC020 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801BF0C4 001BC024 38 9E 01 2C */ addi r4, r30, 0x12c /* 801BF0C8 001BC028 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801BF0CC 001BC02C D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801BF0D0 001BC030 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 801BF0D4 001BC034 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 801BF0D8 001BC038 80 BE 00 FC */ lwz r5, 0xfc(r30) /* 801BF0DC 001BC03C 90 A1 00 E4 */ stw r5, 0xe4(r1) /* 801BF0E0 001BC040 90 01 00 E0 */ stw r0, 0xe0(r1) /* 801BF0E4 001BC044 80 1E 01 00 */ lwz r0, 0x100(r30) /* 801BF0E8 001BC048 80 BE 01 04 */ lwz r5, 0x104(r30) /* 801BF0EC 001BC04C 90 A1 00 EC */ stw r5, 0xec(r1) /* 801BF0F0 001BC050 90 01 00 E8 */ stw r0, 0xe8(r1) /* 801BF0F4 001BC054 80 1E 01 08 */ lwz r0, 0x108(r30) /* 801BF0F8 001BC058 90 01 00 F0 */ stw r0, 0xf0(r1) /* 801BF0FC 001BC05C 4B F0 43 4D */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 801BF100 001BC060 A0 1E 00 EC */ lhz r0, 0xec(r30) /* 801BF104 001BC064 7F E3 FB 78 */ mr r3, r31 /* 801BF108 001BC068 38 81 00 24 */ addi r4, r1, 0x24 /* 801BF10C 001BC06C 38 A1 00 1C */ addi r5, r1, 0x1c /* 801BF110 001BC070 B0 01 00 14 */ sth r0, 0x14(r1) /* 801BF114 001BC074 38 C1 00 14 */ addi r6, r1, 0x14 /* 801BF118 001BC078 38 E1 00 F8 */ addi r7, r1, 0xf8 /* 801BF11C 001BC07C 39 01 00 E0 */ addi r8, r1, 0xe0 /* 801BF120 001BC080 A1 5D 00 08 */ lhz r10, 8(r29) /* 801BF124 001BC084 39 21 00 A0 */ addi r9, r1, 0xa0 /* 801BF128 001BC088 B0 01 00 10 */ sth r0, 0x10(r1) /* 801BF12C 001BC08C B1 41 00 1C */ sth r10, 0x1c(r1) /* 801BF130 001BC090 A0 1E 00 08 */ lhz r0, 8(r30) /* 801BF134 001BC094 B1 41 00 18 */ sth r10, 0x18(r1) /* 801BF138 001BC098 B0 01 00 20 */ sth r0, 0x20(r1) /* 801BF13C 001BC09C B0 01 00 24 */ sth r0, 0x24(r1) /* 801BF140 001BC0A0 4B E8 AF 61 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801BF144 001BC0A4 48 00 00 14 */ b lbl_801BF158 lbl_801BF148: /* 801BF148 001BC0A8 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BF14C 001BC0AC 38 60 00 01 */ li r3, 1 /* 801BF150 001BC0B0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801BF154 001BC0B4 98 1E 03 D0 */ stb r0, 0x3d0(r30) lbl_801BF158: /* 801BF158 001BC0B8 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BF15C 001BC0BC 38 60 00 01 */ li r3, 1 /* 801BF160 001BC0C0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801BF164 001BC0C4 98 1E 03 D0 */ stb r0, 0x3d0(r30) lbl_801BF168: /* 801BF168 001BC0C8 A0 7E 02 C0 */ lhz r3, 0x2c0(r30) /* 801BF16C 001BC0CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF170 001BC0D0 7C 03 00 40 */ cmplw r3, r0 /* 801BF174 001BC0D4 41 82 00 24 */ beq lbl_801BF198 /* 801BF178 001BC0D8 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BF17C 001BC0DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BF180 001BC0E0 41 82 00 18 */ beq lbl_801BF198 /* 801BF184 001BC0E4 FC 20 F0 90 */ fmr f1, f30 /* 801BF188 001BC0E8 7F C3 F3 78 */ mr r3, r30 /* 801BF18C 001BC0EC 7F E4 FB 78 */ mr r4, r31 /* 801BF190 001BC0F0 48 00 08 2D */ bl sub_801bf9bc /* 801BF194 001BC0F4 48 00 00 C0 */ b lbl_801BF254 lbl_801BF198: /* 801BF198 001BC0F8 C0 42 AA 0C */ lfs f2, lbl_805AC72C@sda21(r2) /* 801BF19C 001BC0FC C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801BF1A0 001BC100 EC 9F 10 28 */ fsubs f4, f31, f2 /* 801BF1A4 001BC104 C0 A1 00 C8 */ lfs f5, 0xc8(r1) /* 801BF1A8 001BC108 C0 21 00 D0 */ lfs f1, 0xd0(r1) /* 801BF1AC 001BC10C C0 61 00 CC */ lfs f3, 0xcc(r1) /* 801BF1B0 001BC110 FC E4 17 EE */ fsel f7, f4, f31, f2 /* 801BF1B4 001BC114 C0 C1 00 D4 */ lfs f6, 0xd4(r1) /* 801BF1B8 001BC118 C0 81 00 D8 */ lfs f4, 0xd8(r1) /* 801BF1BC 001BC11C EC 07 00 32 */ fmuls f0, f7, f0 /* 801BF1C0 001BC120 EC A7 01 72 */ fmuls f5, f7, f5 /* 801BF1C4 001BC124 EC 67 00 F2 */ fmuls f3, f7, f3 /* 801BF1C8 001BC128 EC 01 00 2A */ fadds f0, f1, f0 /* 801BF1CC 001BC12C EC A6 28 2A */ fadds f5, f6, f5 /* 801BF1D0 001BC130 EC 24 18 2A */ fadds f1, f4, f3 /* 801BF1D4 001BC134 D0 1E 03 48 */ stfs f0, 0x348(r30) /* 801BF1D8 001BC138 D0 BE 03 4C */ stfs f5, 0x34c(r30) /* 801BF1DC 001BC13C D0 3E 03 50 */ stfs f1, 0x350(r30) /* 801BF1E0 001BC140 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BF1E4 001BC144 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801BF1E8 001BC148 41 82 00 18 */ beq lbl_801BF200 /* 801BF1EC 001BC14C FC 20 F0 90 */ fmr f1, f30 /* 801BF1F0 001BC150 7F C3 F3 78 */ mr r3, r30 /* 801BF1F4 001BC154 7F E4 FB 78 */ mr r4, r31 /* 801BF1F8 001BC158 48 00 03 A1 */ bl sub_801bf598 /* 801BF1FC 001BC15C 48 00 00 58 */ b lbl_801BF254 lbl_801BF200: /* 801BF200 001BC160 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801BF204 001BC164 C0 22 AA 34 */ lfs f1, lbl_805AC754@sda21(r2) /* 801BF208 001BC168 48 15 33 3D */ bl Range__9CRandom16Fff /* 801BF20C 001BC16C FF E0 08 90 */ fmr f31, f1 /* 801BF210 001BC170 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801BF214 001BC174 C0 22 AA 34 */ lfs f1, lbl_805AC754@sda21(r2) /* 801BF218 001BC178 C0 42 AA 0C */ lfs f2, lbl_805AC72C@sda21(r2) /* 801BF21C 001BC17C 48 15 33 29 */ bl Range__9CRandom16Fff /* 801BF220 001BC180 C0 5E 03 48 */ lfs f2, 0x348(r30) /* 801BF224 001BC184 7F C3 F3 78 */ mr r3, r30 /* 801BF228 001BC188 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BF22C 001BC18C 38 9E 03 48 */ addi r4, r30, 0x348 /* 801BF230 001BC190 EC 42 F8 2A */ fadds f2, f2, f31 /* 801BF234 001BC194 D0 5E 03 48 */ stfs f2, 0x348(r30) /* 801BF238 001BC198 C0 5E 03 4C */ lfs f2, 0x34c(r30) /* 801BF23C 001BC19C EC 02 00 2A */ fadds f0, f2, f0 /* 801BF240 001BC1A0 D0 1E 03 4C */ stfs f0, 0x34c(r30) /* 801BF244 001BC1A4 C0 1E 03 50 */ lfs f0, 0x350(r30) /* 801BF248 001BC1A8 EC 00 08 2A */ fadds f0, f0, f1 /* 801BF24C 001BC1AC D0 1E 03 50 */ stfs f0, 0x350(r30) /* 801BF250 001BC1B0 4B E9 3C 3D */ bl SetTranslation__6CActorFRC9CVector3f lbl_801BF254: /* 801BF254 001BC1B4 FC 20 F0 90 */ fmr f1, f30 /* 801BF258 001BC1B8 7F C3 F3 78 */ mr r3, r30 /* 801BF25C 001BC1BC 7F E4 FB 78 */ mr r4, r31 /* 801BF260 001BC1C0 48 00 09 D5 */ bl sub_801bfc34 /* 801BF264 001BC1C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BF268 001BC1C8 41 82 00 10 */ beq lbl_801BF278 /* 801BF26C 001BC1CC 7F C3 F3 78 */ mr r3, r30 /* 801BF270 001BC1D0 38 80 00 01 */ li r4, 1 /* 801BF274 001BC1D4 4B FF FA A5 */ bl ResetBeam__11CWaveBusterFb lbl_801BF278: /* 801BF278 001BC1D8 A0 7E 02 C0 */ lhz r3, 0x2c0(r30) /* 801BF27C 001BC1DC 38 80 00 00 */ li r4, 0 /* 801BF280 001BC1E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF284 001BC1E4 7C 03 00 40 */ cmplw r3, r0 /* 801BF288 001BC1E8 41 82 00 14 */ beq lbl_801BF29C /* 801BF28C 001BC1EC 88 1E 03 D0 */ lbz r0, 0x3d0(r30) /* 801BF290 001BC1F0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801BF294 001BC1F4 41 82 00 08 */ beq lbl_801BF29C /* 801BF298 001BC1F8 38 80 00 01 */ li r4, 1 lbl_801BF29C: /* 801BF29C 001BC1FC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801BF2A0 001BC200 41 82 00 44 */ beq lbl_801BF2E4 /* 801BF2A4 001BC204 C0 1E 03 C4 */ lfs f0, 0x3c4(r30) /* 801BF2A8 001BC208 38 61 01 44 */ addi r3, r1, 0x144 /* 801BF2AC 001BC20C 38 81 00 30 */ addi r4, r1, 0x30 /* 801BF2B0 001BC210 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801BF2B4 001BC214 48 15 45 F5 */ bl RotateY__12CTransform4fFRC9CRelAngle /* 801BF2B8 001BC218 38 61 01 14 */ addi r3, r1, 0x114 /* 801BF2BC 001BC21C 38 9E 00 34 */ addi r4, r30, 0x34 /* 801BF2C0 001BC220 38 A1 01 44 */ addi r5, r1, 0x144 /* 801BF2C4 001BC224 48 15 36 8D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801BF2C8 001BC228 3C 80 80 47 */ lis r4, lbl_8046C908@ha /* 801BF2CC 001BC22C 38 61 00 94 */ addi r3, r1, 0x94 /* 801BF2D0 001BC230 38 A4 C9 08 */ addi r5, r4, lbl_8046C908@l /* 801BF2D4 001BC234 38 81 01 14 */ addi r4, r1, 0x114 /* 801BF2D8 001BC238 48 15 38 11 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801BF2DC 001BC23C 38 61 00 94 */ addi r3, r1, 0x94 /* 801BF2E0 001BC240 48 00 00 8C */ b lbl_801BF36C lbl_801BF2E4: /* 801BF2E4 001BC244 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801BF2E8 001BC248 38 61 00 7C */ addi r3, r1, 0x7c /* 801BF2EC 001BC24C C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801BF2F0 001BC250 38 81 00 88 */ addi r4, r1, 0x88 /* 801BF2F4 001BC254 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801BF2F8 001BC258 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801BF2FC 001BC25C D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801BF300 001BC260 D0 41 00 90 */ stfs f2, 0x90(r1) /* 801BF304 001BC264 48 15 55 4D */ bl AsNormalized__9CVector3fCFv /* 801BF308 001BC268 3C 60 80 47 */ lis r3, lbl_8046C908@ha /* 801BF30C 001BC26C C0 FE 00 60 */ lfs f7, 0x60(r30) /* 801BF310 001BC270 38 63 C9 08 */ addi r3, r3, lbl_8046C908@l /* 801BF314 001BC274 C0 DE 00 50 */ lfs f6, 0x50(r30) /* 801BF318 001BC278 C0 43 00 08 */ lfs f2, 8(r3) /* 801BF31C 001BC27C 38 61 00 58 */ addi r3, r1, 0x58 /* 801BF320 001BC280 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801BF324 001BC284 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801BF328 001BC288 EC 82 00 32 */ fmuls f4, f2, f0 /* 801BF32C 001BC28C C0 01 00 80 */ lfs f0, 0x80(r1) /* 801BF330 001BC290 EC 62 00 72 */ fmuls f3, f2, f1 /* 801BF334 001BC294 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801BF338 001BC298 EC 42 00 32 */ fmuls f2, f2, f0 /* 801BF33C 001BC29C D0 C1 00 68 */ stfs f6, 0x68(r1) /* 801BF340 001BC2A0 EC A7 20 2A */ fadds f5, f7, f4 /* 801BF344 001BC2A4 D0 61 00 70 */ stfs f3, 0x70(r1) /* 801BF348 001BC2A8 EC C6 10 2A */ fadds f6, f6, f2 /* 801BF34C 001BC2AC EC 01 18 2A */ fadds f0, f1, f3 /* 801BF350 001BC2B0 D0 41 00 74 */ stfs f2, 0x74(r1) /* 801BF354 001BC2B4 D0 81 00 78 */ stfs f4, 0x78(r1) /* 801BF358 001BC2B8 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801BF35C 001BC2BC D0 E1 00 6C */ stfs f7, 0x6c(r1) /* 801BF360 001BC2C0 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801BF364 001BC2C4 D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 801BF368 001BC2C8 D0 A1 00 60 */ stfs f5, 0x60(r1) lbl_801BF36C: /* 801BF36C 001BC2CC C0 3E 03 A0 */ lfs f1, 0x3a0(r30) /* 801BF370 001BC2D0 C0 02 A9 F8 */ lfs f0, lbl_805AC718@sda21(r2) /* 801BF374 001BC2D4 C0 A3 00 00 */ lfs f5, 0(r3) /* 801BF378 001BC2D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BF37C 001BC2DC C1 03 00 04 */ lfs f8, 4(r3) /* 801BF380 001BC2E0 C1 23 00 08 */ lfs f9, 8(r3) /* 801BF384 001BC2E4 40 80 00 64 */ bge lbl_801BF3E8 /* 801BF388 001BC2E8 A0 7E 02 C0 */ lhz r3, 0x2c0(r30) /* 801BF38C 001BC2EC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF390 001BC2F0 7C 03 00 40 */ cmplw r3, r0 /* 801BF394 001BC2F4 41 82 00 54 */ beq lbl_801BF3E8 /* 801BF398 001BC2F8 EC 61 00 24 */ fdivs f3, f1, f0 /* 801BF39C 001BC2FC C0 02 AA 0C */ lfs f0, lbl_805AC72C@sda21(r2) /* 801BF3A0 001BC300 C0 5E 03 30 */ lfs f2, 0x330(r30) /* 801BF3A4 001BC304 C0 DE 03 34 */ lfs f6, 0x334(r30) /* 801BF3A8 001BC308 C0 9E 03 38 */ lfs f4, 0x338(r30) /* 801BF3AC 001BC30C C0 22 AA 38 */ lfs f1, lbl_805AC758@sda21(r2) /* 801BF3B0 001BC310 EC E0 18 28 */ fsubs f7, f0, f3 /* 801BF3B4 001BC314 EC 05 00 F2 */ fmuls f0, f5, f3 /* 801BF3B8 001BC318 EC A8 00 F2 */ fmuls f5, f8, f3 /* 801BF3BC 001BC31C EC 69 00 F2 */ fmuls f3, f9, f3 /* 801BF3C0 001BC320 EC 02 01 FA */ fmadds f0, f2, f7, f0 /* 801BF3C4 001BC324 EC A6 29 FA */ fmadds f5, f6, f7, f5 /* 801BF3C8 001BC328 EC 44 19 FA */ fmadds f2, f4, f7, f3 /* 801BF3CC 001BC32C D0 1E 03 24 */ stfs f0, 0x324(r30) /* 801BF3D0 001BC330 D0 BE 03 28 */ stfs f5, 0x328(r30) /* 801BF3D4 001BC334 D0 5E 03 2C */ stfs f2, 0x32c(r30) /* 801BF3D8 001BC338 C0 1E 03 A0 */ lfs f0, 0x3a0(r30) /* 801BF3DC 001BC33C EC 01 07 BA */ fmadds f0, f1, f30, f0 /* 801BF3E0 001BC340 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) /* 801BF3E4 001BC344 48 00 00 30 */ b lbl_801BF414 lbl_801BF3E8: /* 801BF3E8 001BC348 C0 3E 03 24 */ lfs f1, 0x324(r30) /* 801BF3EC 001BC34C C0 02 A9 F8 */ lfs f0, lbl_805AC718@sda21(r2) /* 801BF3F0 001BC350 D0 3E 03 30 */ stfs f1, 0x330(r30) /* 801BF3F4 001BC354 C0 3E 03 28 */ lfs f1, 0x328(r30) /* 801BF3F8 001BC358 D0 3E 03 34 */ stfs f1, 0x334(r30) /* 801BF3FC 001BC35C C0 3E 03 2C */ lfs f1, 0x32c(r30) /* 801BF400 001BC360 D0 3E 03 38 */ stfs f1, 0x338(r30) /* 801BF404 001BC364 D0 BE 03 24 */ stfs f5, 0x324(r30) /* 801BF408 001BC368 D1 1E 03 28 */ stfs f8, 0x328(r30) /* 801BF40C 001BC36C D1 3E 03 2C */ stfs f9, 0x32c(r30) /* 801BF410 001BC370 D0 1E 03 A0 */ stfs f0, 0x3a0(r30) lbl_801BF414: /* 801BF414 001BC374 A0 7E 02 C8 */ lhz r3, 0x2c8(r30) /* 801BF418 001BC378 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF41C 001BC37C 7C 03 00 40 */ cmplw r3, r0 /* 801BF420 001BC380 41 82 00 EC */ beq lbl_801BF50C /* 801BF424 001BC384 80 7E 03 90 */ lwz r3, 0x390(r30) /* 801BF428 001BC388 FC 20 F0 90 */ fmr f1, f30 /* 801BF42C 001BC38C 81 83 00 00 */ lwz r12, 0(r3) /* 801BF430 001BC390 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BF434 001BC394 7D 89 03 A6 */ mtctr r12 /* 801BF438 001BC398 4E 80 04 21 */ bctrl /* 801BF43C 001BC39C A0 1E 02 C8 */ lhz r0, 0x2c8(r30) /* 801BF440 001BC3A0 7F E3 FB 78 */ mr r3, r31 /* 801BF444 001BC3A4 38 81 00 0C */ addi r4, r1, 0xc /* 801BF448 001BC3A8 B0 01 00 08 */ sth r0, 8(r1) /* 801BF44C 001BC3AC B0 01 00 0C */ sth r0, 0xc(r1) /* 801BF450 001BC3B0 4B E8 D1 25 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801BF454 001BC3B4 7C 64 1B 78 */ mr r4, r3 /* 801BF458 001BC3B8 38 61 00 3C */ addi r3, r1, 0x3c /* 801BF45C 001BC3BC 4B EE E6 29 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 801BF460 001BC3C0 83 E3 00 04 */ lwz r31, 4(r3) /* 801BF464 001BC3C4 28 1F 00 00 */ cmplwi r31, 0 /* 801BF468 001BC3C8 41 82 00 A4 */ beq lbl_801BF50C /* 801BF46C 001BC3CC 38 7F 00 34 */ addi r3, r31, 0x34 /* 801BF470 001BC3D0 38 9E 00 34 */ addi r4, r30, 0x34 /* 801BF474 001BC3D4 48 15 36 CD */ bl __as__12CTransform4fFRC12CTransform4f /* 801BF478 001BC3D8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801BF47C 001BC3DC 38 A0 00 01 */ li r5, 1 /* 801BF480 001BC3E0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801BF484 001BC3E4 7F E3 FB 78 */ mr r3, r31 /* 801BF488 001BC3E8 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801BF48C 001BC3EC 38 81 00 4C */ addi r4, r1, 0x4c /* 801BF490 001BC3F0 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801BF494 001BC3F4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801BF498 001BC3F8 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801BF49C 001BC3FC 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801BF4A0 001BC400 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801BF4A4 001BC404 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801BF4A8 001BC408 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801BF4AC 001BC40C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801BF4B0 001BC410 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801BF4B4 001BC414 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801BF4B8 001BC418 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801BF4BC 001BC41C D0 41 00 54 */ stfs f2, 0x54(r1) /* 801BF4C0 001BC420 4B E9 39 CD */ bl SetTranslation__6CActorFRC9CVector3f /* 801BF4C4 001BC424 80 7E 03 90 */ lwz r3, 0x390(r30) /* 801BF4C8 001BC428 28 03 00 00 */ cmplwi r3, 0 /* 801BF4CC 001BC42C 41 82 00 40 */ beq lbl_801BF50C /* 801BF4D0 001BC430 81 83 00 00 */ lwz r12, 0(r3) /* 801BF4D4 001BC434 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801BF4D8 001BC438 7D 89 03 A6 */ mtctr r12 /* 801BF4DC 001BC43C 4E 80 04 21 */ bctrl /* 801BF4E0 001BC440 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BF4E4 001BC444 41 82 00 28 */ beq lbl_801BF50C /* 801BF4E8 001BC448 80 9E 03 90 */ lwz r4, 0x390(r30) /* 801BF4EC 001BC44C 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 801BF4F0 001BC450 81 84 00 00 */ lwz r12, 0(r4) /* 801BF4F4 001BC454 81 8C 00 68 */ lwz r12, 0x68(r12) /* 801BF4F8 001BC458 7D 89 03 A6 */ mtctr r12 /* 801BF4FC 001BC45C 4E 80 04 21 */ bctrl /* 801BF500 001BC460 7F E3 FB 78 */ mr r3, r31 /* 801BF504 001BC464 38 81 01 A8 */ addi r4, r1, 0x1a8 /* 801BF508 001BC468 4B EF 62 3D */ bl SetLight__10CGameLightFRC6CLight lbl_801BF50C: /* 801BF50C 001BC46C C0 42 AA 3C */ lfs f2, lbl_805AC75C@sda21(r2) /* 801BF510 001BC470 C0 3E 03 C8 */ lfs f1, 0x3c8(r30) /* 801BF514 001BC474 C0 02 AA 0C */ lfs f0, lbl_805AC72C@sda21(r2) /* 801BF518 001BC478 EC 22 0F BA */ fmadds f1, f2, f30, f1 /* 801BF51C 001BC47C D0 3E 03 C8 */ stfs f1, 0x3c8(r30) /* 801BF520 001BC480 C0 3E 03 C8 */ lfs f1, 0x3c8(r30) /* 801BF524 001BC484 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BF528 001BC488 40 81 00 2C */ ble lbl_801BF554 /* 801BF52C 001BC48C 80 7E 03 CC */ lwz r3, 0x3cc(r30) /* 801BF530 001BC490 38 03 00 01 */ addi r0, r3, 1 /* 801BF534 001BC494 90 1E 03 CC */ stw r0, 0x3cc(r30) /* 801BF538 001BC498 80 1E 03 CC */ lwz r0, 0x3cc(r30) /* 801BF53C 001BC49C 28 00 00 02 */ cmplwi r0, 2 /* 801BF540 001BC4A0 40 81 00 0C */ ble lbl_801BF54C /* 801BF544 001BC4A4 38 00 00 00 */ li r0, 0 /* 801BF548 001BC4A8 90 1E 03 CC */ stw r0, 0x3cc(r30) lbl_801BF54C: /* 801BF54C 001BC4AC C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BF550 001BC4B0 D0 1E 03 C8 */ stfs f0, 0x3c8(r30) lbl_801BF554: /* 801BF554 001BC4B4 80 7E 03 8C */ lwz r3, 0x38c(r30) /* 801BF558 001BC4B8 FC 20 F0 90 */ fmr f1, f30 /* 801BF55C 001BC4BC 81 83 00 00 */ lwz r12, 0(r3) /* 801BF560 001BC4C0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801BF564 001BC4C4 7D 89 03 A6 */ mtctr r12 /* 801BF568 001BC4C8 4E 80 04 21 */ bctrl lbl_801BF56C: /* 801BF56C 001BC4CC E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 /* 801BF570 001BC4D0 CB E1 02 20 */ lfd f31, 0x220(r1) /* 801BF574 001BC4D4 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 /* 801BF578 001BC4D8 CB C1 02 10 */ lfd f30, 0x210(r1) /* 801BF57C 001BC4DC 83 E1 02 0C */ lwz r31, 0x20c(r1) /* 801BF580 001BC4E0 83 C1 02 08 */ lwz r30, 0x208(r1) /* 801BF584 001BC4E4 80 01 02 34 */ lwz r0, 0x234(r1) /* 801BF588 001BC4E8 83 A1 02 04 */ lwz r29, 0x204(r1) /* 801BF58C 001BC4EC 7C 08 03 A6 */ mtlr r0 /* 801BF590 001BC4F0 38 21 02 30 */ addi r1, r1, 0x230 /* 801BF594 001BC4F4 4E 80 00 20 */ blr .global sub_801bf598 sub_801bf598: /* 801BF598 001BC4F8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801BF59C 001BC4FC 7C 08 02 A6 */ mflr r0 /* 801BF5A0 001BC500 90 01 00 74 */ stw r0, 0x74(r1) /* 801BF5A4 001BC504 38 A1 00 14 */ addi r5, r1, 0x14 /* 801BF5A8 001BC508 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801BF5AC 001BC50C 7C 7F 1B 78 */ mr r31, r3 /* 801BF5B0 001BC510 38 61 00 30 */ addi r3, r1, 0x30 /* 801BF5B4 001BC514 93 C1 00 68 */ stw r30, 0x68(r1) /* 801BF5B8 001BC518 7C 9E 23 78 */ mr r30, r4 /* 801BF5BC 001BC51C 7F E4 FB 78 */ mr r4, r31 /* 801BF5C0 001BC520 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF5C4 001BC524 7F C6 F3 78 */ mr r6, r30 /* 801BF5C8 001BC528 B0 01 00 14 */ sth r0, 0x14(r1) /* 801BF5CC 001BC52C 48 00 01 21 */ bl sub_801bf6ec /* 801BF5D0 001BC530 A0 BF 02 C0 */ lhz r5, 0x2c0(r31) /* 801BF5D4 001BC534 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF5D8 001BC538 7C 05 00 40 */ cmplw r5, r0 /* 801BF5DC 001BC53C 41 82 00 A4 */ beq lbl_801BF680 /* 801BF5E0 001BC540 B0 A1 00 0C */ sth r5, 0xc(r1) /* 801BF5E4 001BC544 7F C3 F3 78 */ mr r3, r30 /* 801BF5E8 001BC548 38 81 00 10 */ addi r4, r1, 0x10 /* 801BF5EC 001BC54C B0 A1 00 10 */ sth r5, 0x10(r1) /* 801BF5F0 001BC550 4B E8 CF B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801BF5F4 001BC554 7C 64 1B 78 */ mr r4, r3 /* 801BF5F8 001BC558 38 61 00 18 */ addi r3, r1, 0x18 /* 801BF5FC 001BC55C 4B EF 06 95 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801BF600 001BC560 80 A3 00 04 */ lwz r5, 4(r3) /* 801BF604 001BC564 28 05 00 00 */ cmplwi r5, 0 /* 801BF608 001BC568 41 82 00 CC */ beq lbl_801BF6D4 /* 801BF60C 001BC56C 3C 80 80 5A */ lis r4, lbl_805A6724@ha /* 801BF610 001BC570 7F E3 FB 78 */ mr r3, r31 /* 801BF614 001BC574 38 C4 67 24 */ addi r6, r4, lbl_805A6724@l /* 801BF618 001BC578 C0 46 00 00 */ lfs f2, 0(r6) /* 801BF61C 001BC57C 38 81 00 20 */ addi r4, r1, 0x20 /* 801BF620 001BC580 C0 26 00 04 */ lfs f1, 4(r6) /* 801BF624 001BC584 C0 06 00 08 */ lfs f0, 8(r6) /* 801BF628 001BC588 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801BF62C 001BC58C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801BF630 001BC590 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801BF634 001BC594 48 00 09 55 */ bl sub_801bff88 /* 801BF638 001BC598 C0 02 AA 40 */ lfs f0, lbl_805AC760@sda21(r2) /* 801BF63C 001BC59C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BF640 001BC5A0 40 81 00 24 */ ble lbl_801BF664 /* 801BF644 001BC5A4 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801BF648 001BC5A8 38 60 00 00 */ li r3, 0 /* 801BF64C 001BC5AC B0 9F 02 C0 */ sth r4, 0x2c0(r31) /* 801BF650 001BC5B0 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801BF654 001BC5B4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801BF658 001BC5B8 B0 81 00 08 */ sth r4, 8(r1) /* 801BF65C 001BC5BC 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801BF660 001BC5C0 48 00 00 74 */ b lbl_801BF6D4 lbl_801BF664: /* 801BF664 001BC5C4 88 7F 03 D0 */ lbz r3, 0x3d0(r31) /* 801BF668 001BC5C8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801BF66C 001BC5CC 41 82 00 68 */ beq lbl_801BF6D4 /* 801BF670 001BC5D0 38 00 00 00 */ li r0, 0 /* 801BF674 001BC5D4 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 /* 801BF678 001BC5D8 98 7F 03 D0 */ stb r3, 0x3d0(r31) /* 801BF67C 001BC5DC 48 00 00 58 */ b lbl_801BF6D4 lbl_801BF680: /* 801BF680 001BC5E0 88 7F 03 D0 */ lbz r3, 0x3d0(r31) /* 801BF684 001BC5E4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801BF688 001BC5E8 40 82 00 4C */ bne lbl_801BF6D4 /* 801BF68C 001BC5EC C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801BF690 001BC5F0 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801BF694 001BC5F4 C0 7F 00 40 */ lfs f3, 0x40(r31) /* 801BF698 001BC5F8 EC 21 00 28 */ fsubs f1, f1, f0 /* 801BF69C 001BC5FC C0 1F 02 F4 */ lfs f0, 0x2f4(r31) /* 801BF6A0 001BC600 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801BF6A4 001BC604 EC 63 00 28 */ fsubs f3, f3, f0 /* 801BF6A8 001BC608 C0 1F 03 14 */ lfs f0, 0x314(r31) /* 801BF6AC 001BC60C EC 21 00 72 */ fmuls f1, f1, f1 /* 801BF6B0 001BC610 EC 42 00 28 */ fsubs f2, f2, f0 /* 801BF6B4 001BC614 C0 02 AA 44 */ lfs f0, lbl_805AC764@sda21(r2) /* 801BF6B8 001BC618 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801BF6BC 001BC61C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801BF6C0 001BC620 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BF6C4 001BC624 40 81 00 10 */ ble lbl_801BF6D4 /* 801BF6C8 001BC628 38 00 00 00 */ li r0, 0 /* 801BF6CC 001BC62C 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 /* 801BF6D0 001BC630 98 7F 03 D0 */ stb r3, 0x3d0(r31) lbl_801BF6D4: /* 801BF6D4 001BC634 80 01 00 74 */ lwz r0, 0x74(r1) /* 801BF6D8 001BC638 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801BF6DC 001BC63C 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801BF6E0 001BC640 7C 08 03 A6 */ mtlr r0 /* 801BF6E4 001BC644 38 21 00 70 */ addi r1, r1, 0x70 /* 801BF6E8 001BC648 4E 80 00 20 */ blr .global sub_801bf6ec sub_801bf6ec: /* 801BF6EC 001BC64C 94 21 F7 10 */ stwu r1, -0x8f0(r1) /* 801BF6F0 001BC650 7C 08 02 A6 */ mflr r0 /* 801BF6F4 001BC654 90 01 08 F4 */ stw r0, 0x8f4(r1) /* 801BF6F8 001BC658 DB E1 08 E0 */ stfd f31, 0x8e0(r1) /* 801BF6FC 001BC65C F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 /* 801BF700 001BC660 BF 41 08 C8 */ stmw r26, 0x8c8(r1) /* 801BF704 001BC664 FF E0 08 90 */ fmr f31, f1 /* 801BF708 001BC668 C0 64 00 50 */ lfs f3, 0x50(r4) /* 801BF70C 001BC66C C0 24 02 9C */ lfs f1, 0x29c(r4) /* 801BF710 001BC670 7C BA 2B 78 */ mr r26, r5 /* 801BF714 001BC674 C0 44 00 60 */ lfs f2, 0x60(r4) /* 801BF718 001BC678 7C 7E 1B 78 */ mr r30, r3 /* 801BF71C 001BC67C C0 04 02 A0 */ lfs f0, 0x2a0(r4) /* 801BF720 001BC680 EC 63 08 28 */ fsubs f3, f3, f1 /* 801BF724 001BC684 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801BF728 001BC688 38 00 00 00 */ li r0, 0 /* 801BF72C 001BC68C EC 42 00 28 */ fsubs f2, f2, f0 /* 801BF730 001BC690 C0 04 02 98 */ lfs f0, 0x298(r4) /* 801BF734 001BC694 80 AD 91 04 */ lwz r5, lbl_805A7CC4@sda21(r13) /* 801BF738 001BC698 EC 01 00 28 */ fsubs f0, f1, f0 /* 801BF73C 001BC69C 7C 9F 23 78 */ mr r31, r4 /* 801BF740 001BC6A0 D0 61 00 20 */ stfs f3, 0x20(r1) /* 801BF744 001BC6A4 7C DB 33 78 */ mr r27, r6 /* 801BF748 001BC6A8 38 60 00 00 */ li r3, 0 /* 801BF74C 001BC6AC D0 41 00 24 */ stfs f2, 0x24(r1) /* 801BF750 001BC6B0 38 80 00 01 */ li r4, 1 /* 801BF754 001BC6B4 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801BF758 001BC6B8 90 01 00 B8 */ stw r0, 0xb8(r1) /* 801BF75C 001BC6BC 48 1C A7 99 */ bl __shl2i /* 801BF760 001BC6C0 80 AD 91 08 */ lwz r5, lbl_805A7CC8@sda21(r13) /* 801BF764 001BC6C4 7C 9C 23 78 */ mr r28, r4 /* 801BF768 001BC6C8 7C 7D 1B 78 */ mr r29, r3 /* 801BF76C 001BC6CC 38 60 00 00 */ li r3, 0 /* 801BF770 001BC6D0 38 80 00 01 */ li r4, 1 /* 801BF774 001BC6D4 48 1C A7 81 */ bl __shl2i /* 801BF778 001BC6D8 80 AD 91 00 */ lwz r5, lbl_805A7CC0@sda21(r13) /* 801BF77C 001BC6DC 7F 9C 23 78 */ or r28, r28, r4 /* 801BF780 001BC6E0 7F BD 1B 78 */ or r29, r29, r3 /* 801BF784 001BC6E4 38 60 00 00 */ li r3, 0 /* 801BF788 001BC6E8 38 80 00 01 */ li r4, 1 /* 801BF78C 001BC6EC 48 1C A7 69 */ bl __shl2i /* 801BF790 001BC6F0 38 00 00 03 */ li r0, 3 /* 801BF794 001BC6F4 90 81 00 2C */ stw r4, 0x2c(r1) /* 801BF798 001BC6F8 7F E4 FB 78 */ mr r4, r31 /* 801BF79C 001BC6FC 90 61 00 28 */ stw r3, 0x28(r1) /* 801BF7A0 001BC700 38 61 00 40 */ addi r3, r1, 0x40 /* 801BF7A4 001BC704 93 81 00 34 */ stw r28, 0x34(r1) /* 801BF7A8 001BC708 93 A1 00 30 */ stw r29, 0x30(r1) /* 801BF7AC 001BC70C 90 01 00 38 */ stw r0, 0x38(r1) /* 801BF7B0 001BC710 4B E7 AB 49 */ bl GetProjectileBounds__15CGameProjectileCFv /* 801BF7B4 001BC714 7F 63 DB 78 */ mr r3, r27 /* 801BF7B8 001BC718 7F E7 FB 78 */ mr r7, r31 /* 801BF7BC 001BC71C 38 81 00 B8 */ addi r4, r1, 0xb8 /* 801BF7C0 001BC720 38 A1 00 40 */ addi r5, r1, 0x40 /* 801BF7C4 001BC724 38 C1 00 28 */ addi r6, r1, 0x28 /* 801BF7C8 001BC728 4B E8 CF 59 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801BF7CC 001BC72C C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801BF7D0 001BC730 38 61 00 1C */ addi r3, r1, 0x1c /* 801BF7D4 001BC734 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801BF7D8 001BC738 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801BF7DC 001BC73C D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BF7E0 001BC740 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801BF7E4 001BC744 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801BF7E8 001BC748 48 15 50 D1 */ bl Magnitude__9CVector3fCFv /* 801BF7EC 001BC74C 7F E4 FB 78 */ mr r4, r31 /* 801BF7F0 001BC750 7F 45 D3 78 */ mr r5, r26 /* 801BF7F4 001BC754 7F 69 DB 78 */ mr r9, r27 /* 801BF7F8 001BC758 38 61 00 58 */ addi r3, r1, 0x58 /* 801BF7FC 001BC75C 38 DF 02 98 */ addi r6, r31, 0x298 /* 801BF800 001BC760 38 E1 00 10 */ addi r7, r1, 0x10 /* 801BF804 001BC764 39 01 00 B8 */ addi r8, r1, 0xb8 /* 801BF808 001BC768 4B E7 8E B9 */ bl "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager" /* 801BF80C 001BC76C 88 81 00 78 */ lbz r4, 0x78(r1) /* 801BF810 001BC770 38 A1 00 8C */ addi r5, r1, 0x8c /* 801BF814 001BC774 C0 E1 00 58 */ lfs f7, 0x58(r1) /* 801BF818 001BC778 C0 C1 00 5C */ lfs f6, 0x5c(r1) /* 801BF81C 001BC77C 28 04 00 00 */ cmplwi r4, 0 /* 801BF820 001BC780 C0 A1 00 60 */ lfs f5, 0x60(r1) /* 801BF824 001BC784 C0 81 00 64 */ lfs f4, 0x64(r1) /* 801BF828 001BC788 C0 61 00 68 */ lfs f3, 0x68(r1) /* 801BF82C 001BC78C C0 41 00 6C */ lfs f2, 0x6c(r1) /* 801BF830 001BC790 C0 21 00 70 */ lfs f1, 0x70(r1) /* 801BF834 001BC794 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801BF838 001BC798 80 01 00 80 */ lwz r0, 0x80(r1) /* 801BF83C 001BC79C 80 61 00 84 */ lwz r3, 0x84(r1) /* 801BF840 001BC7A0 D0 E1 00 88 */ stfs f7, 0x88(r1) /* 801BF844 001BC7A4 D0 C1 00 8C */ stfs f6, 0x8c(r1) /* 801BF848 001BC7A8 D0 A1 00 90 */ stfs f5, 0x90(r1) /* 801BF84C 001BC7AC D0 81 00 94 */ stfs f4, 0x94(r1) /* 801BF850 001BC7B0 D0 61 00 98 */ stfs f3, 0x98(r1) /* 801BF854 001BC7B4 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 801BF858 001BC7B8 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 801BF85C 001BC7BC D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801BF860 001BC7C0 98 81 00 A8 */ stb r4, 0xa8(r1) /* 801BF864 001BC7C4 90 61 00 B4 */ stw r3, 0xb4(r1) /* 801BF868 001BC7C8 90 01 00 B0 */ stw r0, 0xb0(r1) /* 801BF86C 001BC7CC 41 82 00 78 */ beq lbl_801BF8E4 /* 801BF870 001BC7D0 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801BF874 001BC7D4 38 60 00 00 */ li r3, 0 /* 801BF878 001BC7D8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801BF87C 001BC7DC 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801BF880 001BC7E0 A0 7A 00 00 */ lhz r3, 0(r26) /* 801BF884 001BC7E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF888 001BC7E8 7C 03 00 40 */ cmplw r3, r0 /* 801BF88C 001BC7EC 41 82 00 48 */ beq lbl_801BF8D4 /* 801BF890 001BC7F0 A0 1F 02 C0 */ lhz r0, 0x2c0(r31) /* 801BF894 001BC7F4 7C 03 00 40 */ cmplw r3, r0 /* 801BF898 001BC7F8 40 82 00 3C */ bne lbl_801BF8D4 /* 801BF89C 001BC7FC 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801BF8A0 001BC800 38 60 00 01 */ li r3, 1 /* 801BF8A4 001BC804 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801BF8A8 001BC808 A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) /* 801BF8AC 001BC80C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801BF8B0 001BC810 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801BF8B4 001BC814 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801BF8B8 001BC818 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801BF8BC 001BC81C 38 61 00 0C */ addi r3, r1, 0xc /* 801BF8C0 001BC820 38 80 06 FF */ li r4, 0x6ff /* 801BF8C4 001BC824 38 E0 00 01 */ li r7, 1 /* 801BF8C8 001BC828 39 00 00 00 */ li r8, 0 /* 801BF8CC 001BC82C 48 12 A9 E5 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801BF8D0 001BC830 48 00 00 24 */ b lbl_801BF8F4 lbl_801BF8D4: /* 801BF8D4 001BC834 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BF8D8 001BC838 B0 01 00 08 */ sth r0, 8(r1) /* 801BF8DC 001BC83C B0 1F 02 C0 */ sth r0, 0x2c0(r31) /* 801BF8E0 001BC840 48 00 00 14 */ b lbl_801BF8F4 lbl_801BF8E4: /* 801BF8E4 001BC844 FC 20 F8 90 */ fmr f1, f31 /* 801BF8E8 001BC848 7F E3 FB 78 */ mr r3, r31 /* 801BF8EC 001BC84C 7F 64 DB 78 */ mr r4, r27 /* 801BF8F0 001BC850 4B E7 86 0D */ bl UpdateProjectileMovement__15CGameProjectileFfR13CStateManager lbl_801BF8F4: /* 801BF8F4 001BC854 C0 01 00 88 */ lfs f0, 0x88(r1) /* 801BF8F8 001BC858 38 80 00 00 */ li r4, 0 /* 801BF8FC 001BC85C D0 1E 00 00 */ stfs f0, 0(r30) /* 801BF900 001BC860 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 801BF904 001BC864 D0 1E 00 04 */ stfs f0, 4(r30) /* 801BF908 001BC868 C0 01 00 90 */ lfs f0, 0x90(r1) /* 801BF90C 001BC86C D0 1E 00 08 */ stfs f0, 8(r30) /* 801BF910 001BC870 C0 01 00 94 */ lfs f0, 0x94(r1) /* 801BF914 001BC874 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 801BF918 001BC878 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801BF91C 001BC87C D0 1E 00 10 */ stfs f0, 0x10(r30) /* 801BF920 001BC880 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 801BF924 001BC884 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 801BF928 001BC888 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 801BF92C 001BC88C D0 1E 00 18 */ stfs f0, 0x18(r30) /* 801BF930 001BC890 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801BF934 001BC894 D0 1E 00 1C */ stfs f0, 0x1c(r30) /* 801BF938 001BC898 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 801BF93C 001BC89C 98 1E 00 20 */ stb r0, 0x20(r30) /* 801BF940 001BC8A0 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 801BF944 001BC8A4 80 61 00 B4 */ lwz r3, 0xb4(r1) /* 801BF948 001BC8A8 90 7E 00 2C */ stw r3, 0x2c(r30) /* 801BF94C 001BC8AC 90 1E 00 28 */ stw r0, 0x28(r30) /* 801BF950 001BC8B0 80 A1 00 B8 */ lwz r5, 0xb8(r1) /* 801BF954 001BC8B4 2C 05 00 00 */ cmpwi r5, 0 /* 801BF958 001BC8B8 40 81 00 40 */ ble lbl_801BF998 /* 801BF95C 001BC8BC 2C 05 00 08 */ cmpwi r5, 8 /* 801BF960 001BC8C0 38 65 FF F8 */ addi r3, r5, -8 /* 801BF964 001BC8C4 40 81 00 20 */ ble lbl_801BF984 /* 801BF968 001BC8C8 38 03 00 07 */ addi r0, r3, 7 /* 801BF96C 001BC8CC 54 00 E8 FE */ srwi r0, r0, 3 /* 801BF970 001BC8D0 7C 09 03 A6 */ mtctr r0 /* 801BF974 001BC8D4 2C 03 00 00 */ cmpwi r3, 0 /* 801BF978 001BC8D8 40 81 00 0C */ ble lbl_801BF984 lbl_801BF97C: /* 801BF97C 001BC8DC 38 84 00 08 */ addi r4, r4, 8 /* 801BF980 001BC8E0 42 00 FF FC */ bdnz lbl_801BF97C lbl_801BF984: /* 801BF984 001BC8E4 7C 04 28 50 */ subf r0, r4, r5 /* 801BF988 001BC8E8 7C 09 03 A6 */ mtctr r0 /* 801BF98C 001BC8EC 7C 04 28 00 */ cmpw r4, r5 /* 801BF990 001BC8F0 40 80 00 08 */ bge lbl_801BF998 lbl_801BF994: /* 801BF994 001BC8F4 42 00 00 00 */ bdnz lbl_801BF994 lbl_801BF998: /* 801BF998 001BC8F8 38 00 00 00 */ li r0, 0 /* 801BF99C 001BC8FC 90 01 00 B8 */ stw r0, 0xb8(r1) /* 801BF9A0 001BC900 E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 /* 801BF9A4 001BC904 CB E1 08 E0 */ lfd f31, 0x8e0(r1) /* 801BF9A8 001BC908 BB 41 08 C8 */ lmw r26, 0x8c8(r1) /* 801BF9AC 001BC90C 80 01 08 F4 */ lwz r0, 0x8f4(r1) /* 801BF9B0 001BC910 7C 08 03 A6 */ mtlr r0 /* 801BF9B4 001BC914 38 21 08 F0 */ addi r1, r1, 0x8f0 /* 801BF9B8 001BC918 4E 80 00 20 */ blr .global sub_801bf9bc sub_801bf9bc: /* 801BF9BC 001BC91C 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801BF9C0 001BC920 7C 08 02 A6 */ mflr r0 /* 801BF9C4 001BC924 90 01 01 14 */ stw r0, 0x114(r1) /* 801BF9C8 001BC928 DB E1 01 00 */ stfd f31, 0x100(r1) /* 801BF9CC 001BC92C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801BF9D0 001BC930 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801BF9D4 001BC934 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 801BF9D8 001BC938 93 A1 00 F4 */ stw r29, 0xf4(r1) /* 801BF9DC 001BC93C 7C 7F 1B 78 */ mr r31, r3 /* 801BF9E0 001BC940 7C 9D 23 78 */ mr r29, r4 /* 801BF9E4 001BC944 A0 03 02 C0 */ lhz r0, 0x2c0(r3) /* 801BF9E8 001BC948 FF E0 08 90 */ fmr f31, f1 /* 801BF9EC 001BC94C 7F A3 EB 78 */ mr r3, r29 /* 801BF9F0 001BC950 38 81 00 28 */ addi r4, r1, 0x28 /* 801BF9F4 001BC954 B0 01 00 24 */ sth r0, 0x24(r1) /* 801BF9F8 001BC958 B0 01 00 28 */ sth r0, 0x28(r1) /* 801BF9FC 001BC95C 4B E8 CB A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801BFA00 001BC960 7C 64 1B 78 */ mr r4, r3 /* 801BFA04 001BC964 38 61 00 2C */ addi r3, r1, 0x2c /* 801BFA08 001BC968 4B EF 02 89 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801BFA0C 001BC96C 83 C3 00 04 */ lwz r30, 4(r3) /* 801BFA10 001BC970 28 1E 00 00 */ cmplwi r30, 0 /* 801BFA14 001BC974 41 82 01 10 */ beq lbl_801BFB24 /* 801BFA18 001BC978 7F C3 F3 78 */ mr r3, r30 /* 801BFA1C 001BC97C 7F A4 EB 78 */ mr r4, r29 /* 801BFA20 001BC980 81 9E 00 00 */ lwz r12, 0(r30) /* 801BFA24 001BC984 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801BFA28 001BC988 7D 89 03 A6 */ mtctr r12 /* 801BFA2C 001BC98C 4E 80 04 21 */ bctrl /* 801BFA30 001BC990 28 03 00 00 */ cmplwi r3, 0 /* 801BFA34 001BC994 41 82 00 F0 */ beq lbl_801BFB24 /* 801BFA38 001BC998 7F C3 F3 78 */ mr r3, r30 /* 801BFA3C 001BC99C 7F A4 EB 78 */ mr r4, r29 /* 801BFA40 001BC9A0 81 9E 00 00 */ lwz r12, 0(r30) /* 801BFA44 001BC9A4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801BFA48 001BC9A8 7D 89 03 A6 */ mtctr r12 /* 801BFA4C 001BC9AC 4E 80 04 21 */ bctrl /* 801BFA50 001BC9B0 C0 03 00 00 */ lfs f0, 0(r3) /* 801BFA54 001BC9B4 C0 22 AA 04 */ lfs f1, lbl_805AC724@sda21(r2) /* 801BFA58 001BC9B8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801BFA5C 001BC9BC 40 81 00 C8 */ ble lbl_801BFB24 /* 801BFA60 001BC9C0 81 9E 00 00 */ lwz r12, 0(r30) /* 801BFA64 001BC9C4 7F C4 F3 78 */ mr r4, r30 /* 801BFA68 001BC9C8 7F A5 EB 78 */ mr r5, r29 /* 801BFA6C 001BC9CC 38 61 00 70 */ addi r3, r1, 0x70 /* 801BFA70 001BC9D0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801BFA74 001BC9D4 7D 89 03 A6 */ mtctr r12 /* 801BFA78 001BC9D8 4E 80 04 21 */ bctrl /* 801BFA7C 001BC9DC C0 01 00 70 */ lfs f0, 0x70(r1) /* 801BFA80 001BC9E0 7F E3 FB 78 */ mr r3, r31 /* 801BFA84 001BC9E4 38 9F 03 3C */ addi r4, r31, 0x33c /* 801BFA88 001BC9E8 D0 1F 03 3C */ stfs f0, 0x33c(r31) /* 801BFA8C 001BC9EC C0 01 00 74 */ lfs f0, 0x74(r1) /* 801BFA90 001BC9F0 D0 1F 03 40 */ stfs f0, 0x340(r31) /* 801BFA94 001BC9F4 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801BFA98 001BC9F8 D0 1F 03 44 */ stfs f0, 0x344(r31) /* 801BFA9C 001BC9FC 4B E9 33 F1 */ bl SetTranslation__6CActorFRC9CVector3f /* 801BFAA0 001BCA00 80 1F 00 F8 */ lwz r0, 0xf8(r31) /* 801BFAA4 001BCA04 FC 20 F8 90 */ fmr f1, f31 /* 801BFAA8 001BCA08 80 BF 00 FC */ lwz r5, 0xfc(r31) /* 801BFAAC 001BCA0C 38 61 00 98 */ addi r3, r1, 0x98 /* 801BFAB0 001BCA10 38 9F 01 2C */ addi r4, r31, 0x12c /* 801BFAB4 001BCA14 90 A1 00 84 */ stw r5, 0x84(r1) /* 801BFAB8 001BCA18 90 01 00 80 */ stw r0, 0x80(r1) /* 801BFABC 001BCA1C 80 1F 01 00 */ lwz r0, 0x100(r31) /* 801BFAC0 001BCA20 80 BF 01 04 */ lwz r5, 0x104(r31) /* 801BFAC4 001BCA24 90 A1 00 8C */ stw r5, 0x8c(r1) /* 801BFAC8 001BCA28 90 01 00 88 */ stw r0, 0x88(r1) /* 801BFACC 001BCA2C 80 1F 01 08 */ lwz r0, 0x108(r31) /* 801BFAD0 001BCA30 90 01 00 90 */ stw r0, 0x90(r1) /* 801BFAD4 001BCA34 4B F0 39 75 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 801BFAD8 001BCA38 A0 1F 00 EC */ lhz r0, 0xec(r31) /* 801BFADC 001BCA3C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801BFAE0 001BCA40 39 23 66 A0 */ addi r9, r3, skZero3f@l /* 801BFAE4 001BCA44 38 81 00 20 */ addi r4, r1, 0x20 /* 801BFAE8 001BCA48 B0 01 00 10 */ sth r0, 0x10(r1) /* 801BFAEC 001BCA4C 7F A3 EB 78 */ mr r3, r29 /* 801BFAF0 001BCA50 38 A1 00 18 */ addi r5, r1, 0x18 /* 801BFAF4 001BCA54 38 C1 00 10 */ addi r6, r1, 0x10 /* 801BFAF8 001BCA58 A1 5F 02 C0 */ lhz r10, 0x2c0(r31) /* 801BFAFC 001BCA5C 38 E1 00 98 */ addi r7, r1, 0x98 /* 801BFB00 001BCA60 B0 01 00 0C */ sth r0, 0xc(r1) /* 801BFB04 001BCA64 39 01 00 80 */ addi r8, r1, 0x80 /* 801BFB08 001BCA68 B1 41 00 18 */ sth r10, 0x18(r1) /* 801BFB0C 001BCA6C A0 1F 00 08 */ lhz r0, 8(r31) /* 801BFB10 001BCA70 B1 41 00 14 */ sth r10, 0x14(r1) /* 801BFB14 001BCA74 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801BFB18 001BCA78 B0 01 00 20 */ sth r0, 0x20(r1) /* 801BFB1C 001BCA7C 4B E8 A5 85 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801BFB20 001BCA80 48 00 00 F0 */ b lbl_801BFC10 lbl_801BFB24: /* 801BFB24 001BCA84 C0 5F 03 0C */ lfs f2, 0x30c(r31) /* 801BFB28 001BCA88 38 61 00 40 */ addi r3, r1, 0x40 /* 801BFB2C 001BCA8C C0 3F 02 FC */ lfs f1, 0x2fc(r31) /* 801BFB30 001BCA90 38 81 00 34 */ addi r4, r1, 0x34 /* 801BFB34 001BCA94 C0 1F 02 EC */ lfs f0, 0x2ec(r31) /* 801BFB38 001BCA98 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801BFB3C 001BCA9C D0 21 00 38 */ stfs f1, 0x38(r1) /* 801BFB40 001BCAA0 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801BFB44 001BCAA4 48 15 4D 0D */ bl AsNormalized__9CVector3fCFv /* 801BFB48 001BCAA8 C0 62 AA 48 */ lfs f3, lbl_805AC768@sda21(r2) /* 801BFB4C 001BCAAC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801BFB50 001BCAB0 C0 41 00 48 */ lfs f2, 0x48(r1) /* 801BFB54 001BCAB4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801BFB58 001BCAB8 C0 21 00 40 */ lfs f1, 0x40(r1) /* 801BFB5C 001BCABC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801BFB60 001BCAC0 EC A3 00 B2 */ fmuls f5, f3, f2 /* 801BFB64 001BCAC4 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801BFB68 001BCAC8 EC 83 00 72 */ fmuls f4, f3, f1 /* 801BFB6C 001BCACC C0 3F 03 50 */ lfs f1, 0x350(r31) /* 801BFB70 001BCAD0 EC 63 00 32 */ fmuls f3, f3, f0 /* 801BFB74 001BCAD4 C0 5F 03 4C */ lfs f2, 0x34c(r31) /* 801BFB78 001BCAD8 C0 1F 03 48 */ lfs f0, 0x348(r31) /* 801BFB7C 001BCADC EC 21 28 2A */ fadds f1, f1, f5 /* 801BFB80 001BCAE0 EC 42 18 2A */ fadds f2, f2, f3 /* 801BFB84 001BCAE4 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 801BFB88 001BCAE8 EC 00 20 2A */ fadds f0, f0, f4 /* 801BFB8C 001BCAEC 38 81 00 64 */ addi r4, r1, 0x64 /* 801BFB90 001BCAF0 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801BFB94 001BCAF4 38 A1 00 58 */ addi r5, r1, 0x58 /* 801BFB98 001BCAF8 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801BFB9C 001BCAFC D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801BFBA0 001BCB00 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801BFBA4 001BCB04 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801BFBA8 001BCB08 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801BFBAC 001BCB0C D0 61 00 50 */ stfs f3, 0x50(r1) /* 801BFBB0 001BCB10 D0 A1 00 54 */ stfs f5, 0x54(r1) /* 801BFBB4 001BCB14 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801BFBB8 001BCB18 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801BFBBC 001BCB1C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801BFBC0 001BCB20 48 15 3F 51 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801BFBC4 001BCB24 38 7F 00 34 */ addi r3, r31, 0x34 /* 801BFBC8 001BCB28 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801BFBCC 001BCB2C 48 15 2F 75 */ bl __as__12CTransform4fFRC12CTransform4f /* 801BFBD0 001BCB30 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801BFBD4 001BCB34 38 60 00 01 */ li r3, 1 /* 801BFBD8 001BCB38 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801BFBDC 001BCB3C C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BFBE0 001BCB40 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801BFBE4 001BCB44 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801BFBE8 001BCB48 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801BFBEC 001BCB4C 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801BFBF0 001BCB50 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801BFBF4 001BCB54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801BFBF8 001BCB58 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801BFBFC 001BCB5C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BFC00 001BCB60 B0 1F 02 C0 */ sth r0, 0x2c0(r31) /* 801BFC04 001BCB64 D0 1F 03 9C */ stfs f0, 0x39c(r31) /* 801BFC08 001BCB68 B0 01 00 08 */ sth r0, 8(r1) /* 801BFC0C 001BCB6C D0 1F 03 A0 */ stfs f0, 0x3a0(r31) lbl_801BFC10: /* 801BFC10 001BCB70 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801BFC14 001BCB74 80 01 01 14 */ lwz r0, 0x114(r1) /* 801BFC18 001BCB78 CB E1 01 00 */ lfd f31, 0x100(r1) /* 801BFC1C 001BCB7C 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801BFC20 001BCB80 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 801BFC24 001BCB84 83 A1 00 F4 */ lwz r29, 0xf4(r1) /* 801BFC28 001BCB88 7C 08 03 A6 */ mtlr r0 /* 801BFC2C 001BCB8C 38 21 01 10 */ addi r1, r1, 0x110 /* 801BFC30 001BCB90 4E 80 00 20 */ blr .global sub_801bfc34 sub_801bfc34: /* 801BFC34 001BCB94 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801BFC38 001BCB98 7C 08 02 A6 */ mflr r0 /* 801BFC3C 001BCB9C 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801BFC40 001BCBA0 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801BFC44 001BCBA4 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801BFC48 001BCBA8 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801BFC4C 001BCBAC F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801BFC50 001BCBB0 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801BFC54 001BCBB4 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801BFC58 001BCBB8 93 E1 00 AC */ stw r31, 0xac(r1) /* 801BFC5C 001BCBBC 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801BFC60 001BCBC0 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 801BFC64 001BCBC4 3C A0 80 5A */ lis r5, lbl_805A6724@ha /* 801BFC68 001BCBC8 7C 9E 23 78 */ mr r30, r4 /* 801BFC6C 001BCBCC 38 85 67 24 */ addi r4, r5, lbl_805A6724@l /* 801BFC70 001BCBD0 7C 7D 1B 78 */ mr r29, r3 /* 801BFC74 001BCBD4 C0 44 00 00 */ lfs f2, 0(r4) /* 801BFC78 001BCBD8 FF C0 08 90 */ fmr f30, f1 /* 801BFC7C 001BCBDC C0 24 00 04 */ lfs f1, 4(r4) /* 801BFC80 001BCBE0 7F C3 F3 78 */ mr r3, r30 /* 801BFC84 001BCBE4 C0 04 00 08 */ lfs f0, 8(r4) /* 801BFC88 001BCBE8 38 81 00 0C */ addi r4, r1, 0xc /* 801BFC8C 001BCBEC D0 41 00 34 */ stfs f2, 0x34(r1) /* 801BFC90 001BCBF0 C3 E2 AA 04 */ lfs f31, lbl_805AC724@sda21(r2) /* 801BFC94 001BCBF4 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801BFC98 001BCBF8 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801BFC9C 001BCBFC A0 1D 02 C0 */ lhz r0, 0x2c0(r29) /* 801BFCA0 001BCC00 B0 01 00 08 */ sth r0, 8(r1) /* 801BFCA4 001BCC04 B0 01 00 0C */ sth r0, 0xc(r1) /* 801BFCA8 001BCC08 4B E8 C8 FD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801BFCAC 001BCC0C 7C 64 1B 78 */ mr r4, r3 /* 801BFCB0 001BCC10 38 61 00 14 */ addi r3, r1, 0x14 /* 801BFCB4 001BCC14 4B EE FF DD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801BFCB8 001BCC18 83 E3 00 04 */ lwz r31, 4(r3) /* 801BFCBC 001BCC1C 28 1F 00 00 */ cmplwi r31, 0 /* 801BFCC0 001BCC20 41 82 00 A4 */ beq lbl_801BFD64 /* 801BFCC4 001BCC24 7F E3 FB 78 */ mr r3, r31 /* 801BFCC8 001BCC28 7F C4 F3 78 */ mr r4, r30 /* 801BFCCC 001BCC2C 81 9F 00 00 */ lwz r12, 0(r31) /* 801BFCD0 001BCC30 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801BFCD4 001BCC34 7D 89 03 A6 */ mtctr r12 /* 801BFCD8 001BCC38 4E 80 04 21 */ bctrl /* 801BFCDC 001BCC3C 28 03 00 00 */ cmplwi r3, 0 /* 801BFCE0 001BCC40 41 82 00 84 */ beq lbl_801BFD64 /* 801BFCE4 001BCC44 7F E3 FB 78 */ mr r3, r31 /* 801BFCE8 001BCC48 7F C4 F3 78 */ mr r4, r30 /* 801BFCEC 001BCC4C 81 9F 00 00 */ lwz r12, 0(r31) /* 801BFCF0 001BCC50 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801BFCF4 001BCC54 7D 89 03 A6 */ mtctr r12 /* 801BFCF8 001BCC58 4E 80 04 21 */ bctrl /* 801BFCFC 001BCC5C C0 23 00 00 */ lfs f1, 0(r3) /* 801BFD00 001BCC60 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801BFD04 001BCC64 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BFD08 001BCC68 40 81 00 5C */ ble lbl_801BFD64 /* 801BFD0C 001BCC6C C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801BFD10 001BCC70 C0 1D 03 04 */ lfs f0, 0x304(r29) /* 801BFD14 001BCC74 C0 7F 00 40 */ lfs f3, 0x40(r31) /* 801BFD18 001BCC78 EC 21 00 28 */ fsubs f1, f1, f0 /* 801BFD1C 001BCC7C C0 1D 02 F4 */ lfs f0, 0x2f4(r29) /* 801BFD20 001BCC80 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801BFD24 001BCC84 EC 63 00 28 */ fsubs f3, f3, f0 /* 801BFD28 001BCC88 C0 1D 03 14 */ lfs f0, 0x314(r29) /* 801BFD2C 001BCC8C EC 21 00 72 */ fmuls f1, f1, f1 /* 801BFD30 001BCC90 EC 42 00 28 */ fsubs f2, f2, f0 /* 801BFD34 001BCC94 C0 02 AA 4C */ lfs f0, lbl_805AC76C@sda21(r2) /* 801BFD38 001BCC98 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801BFD3C 001BCC9C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801BFD40 001BCCA0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801BFD44 001BCCA4 40 81 00 0C */ ble lbl_801BFD50 /* 801BFD48 001BCCA8 38 60 00 01 */ li r3, 1 /* 801BFD4C 001BCCAC 48 00 02 08 */ b lbl_801BFF54 lbl_801BFD50: /* 801BFD50 001BCCB0 7F A3 EB 78 */ mr r3, r29 /* 801BFD54 001BCCB4 7F E5 FB 78 */ mr r5, r31 /* 801BFD58 001BCCB8 38 81 00 34 */ addi r4, r1, 0x34 /* 801BFD5C 001BCCBC 48 00 02 2D */ bl sub_801bff88 /* 801BFD60 001BCCC0 FF E0 08 90 */ fmr f31, f1 lbl_801BFD64: /* 801BFD64 001BCCC4 C0 1D 03 A8 */ lfs f0, 0x3a8(r29) /* 801BFD68 001BCCC8 C0 22 AA 04 */ lfs f1, lbl_805AC724@sda21(r2) /* 801BFD6C 001BCCCC EC 00 F0 28 */ fsubs f0, f0, f30 /* 801BFD70 001BCCD0 D0 1D 03 A8 */ stfs f0, 0x3a8(r29) /* 801BFD74 001BCCD4 C0 1D 03 A8 */ lfs f0, 0x3a8(r29) /* 801BFD78 001BCCD8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801BFD7C 001BCCDC 4C 40 13 82 */ cror 2, 0, 2 /* 801BFD80 001BCCE0 40 82 00 40 */ bne lbl_801BFDC0 /* 801BFD84 001BCCE4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801BFD88 001BCCE8 C0 42 AA 20 */ lfs f2, lbl_805AC740@sda21(r2) /* 801BFD8C 001BCCEC 48 15 27 B9 */ bl Range__9CRandom16Fff /* 801BFD90 001BCCF0 FF A0 08 90 */ fmr f29, f1 /* 801BFD94 001BCCF4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801BFD98 001BCCF8 C0 22 AA 50 */ lfs f1, lbl_805AC770@sda21(r2) /* 801BFD9C 001BCCFC C0 42 AA 28 */ lfs f2, lbl_805AC748@sda21(r2) /* 801BFDA0 001BCD00 48 15 27 A5 */ bl Range__9CRandom16Fff /* 801BFDA4 001BCD04 C0 42 AA 0C */ lfs f2, lbl_805AC72C@sda21(r2) /* 801BFDA8 001BCD08 C0 1D 03 AC */ lfs f0, 0x3ac(r29) /* 801BFDAC 001BCD0C EC 42 08 24 */ fdivs f2, f2, f1 /* 801BFDB0 001BCD10 EC 1D 00 28 */ fsubs f0, f29, f0 /* 801BFDB4 001BCD14 EC 02 00 32 */ fmuls f0, f2, f0 /* 801BFDB8 001BCD18 D0 1D 03 A4 */ stfs f0, 0x3a4(r29) /* 801BFDBC 001BCD1C D0 3D 03 A8 */ stfs f1, 0x3a8(r29) lbl_801BFDC0: /* 801BFDC0 001BCD20 C0 1D 03 B8 */ lfs f0, 0x3b8(r29) /* 801BFDC4 001BCD24 C0 22 AA 04 */ lfs f1, lbl_805AC724@sda21(r2) /* 801BFDC8 001BCD28 EC 00 F0 28 */ fsubs f0, f0, f30 /* 801BFDCC 001BCD2C D0 1D 03 B8 */ stfs f0, 0x3b8(r29) /* 801BFDD0 001BCD30 C0 1D 03 B8 */ lfs f0, 0x3b8(r29) /* 801BFDD4 001BCD34 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801BFDD8 001BCD38 4C 40 13 82 */ cror 2, 0, 2 /* 801BFDDC 001BCD3C 40 82 00 40 */ bne lbl_801BFE1C /* 801BFDE0 001BCD40 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801BFDE4 001BCD44 C0 42 A9 F8 */ lfs f2, lbl_805AC718@sda21(r2) /* 801BFDE8 001BCD48 48 15 27 5D */ bl Range__9CRandom16Fff /* 801BFDEC 001BCD4C FF A0 08 90 */ fmr f29, f1 /* 801BFDF0 001BCD50 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801BFDF4 001BCD54 C0 22 AA 54 */ lfs f1, lbl_805AC774@sda21(r2) /* 801BFDF8 001BCD58 C0 42 A9 F8 */ lfs f2, lbl_805AC718@sda21(r2) /* 801BFDFC 001BCD5C 48 15 27 49 */ bl Range__9CRandom16Fff /* 801BFE00 001BCD60 C0 42 AA 0C */ lfs f2, lbl_805AC72C@sda21(r2) /* 801BFE04 001BCD64 C0 1D 03 B0 */ lfs f0, 0x3b0(r29) /* 801BFE08 001BCD68 EC 42 08 24 */ fdivs f2, f2, f1 /* 801BFE0C 001BCD6C EC 1D 00 28 */ fsubs f0, f29, f0 /* 801BFE10 001BCD70 EC 02 00 32 */ fmuls f0, f2, f0 /* 801BFE14 001BCD74 D0 1D 03 B4 */ stfs f0, 0x3b4(r29) /* 801BFE18 001BCD78 D0 3D 03 B8 */ stfs f1, 0x3b8(r29) lbl_801BFE1C: /* 801BFE1C 001BCD7C C0 1D 03 C0 */ lfs f0, 0x3c0(r29) /* 801BFE20 001BCD80 C0 22 AA 04 */ lfs f1, lbl_805AC724@sda21(r2) /* 801BFE24 001BCD84 EC 00 F0 28 */ fsubs f0, f0, f30 /* 801BFE28 001BCD88 D0 1D 03 C0 */ stfs f0, 0x3c0(r29) /* 801BFE2C 001BCD8C C0 1D 03 C0 */ lfs f0, 0x3c0(r29) /* 801BFE30 001BCD90 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801BFE34 001BCD94 4C 40 13 82 */ cror 2, 0, 2 /* 801BFE38 001BCD98 40 82 00 40 */ bne lbl_801BFE78 /* 801BFE3C 001BCD9C 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801BFE40 001BCDA0 C0 42 AA 20 */ lfs f2, lbl_805AC740@sda21(r2) /* 801BFE44 001BCDA4 48 15 27 01 */ bl Range__9CRandom16Fff /* 801BFE48 001BCDA8 FF A0 08 90 */ fmr f29, f1 /* 801BFE4C 001BCDAC 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801BFE50 001BCDB0 C0 22 AA 50 */ lfs f1, lbl_805AC770@sda21(r2) /* 801BFE54 001BCDB4 C0 42 AA 28 */ lfs f2, lbl_805AC748@sda21(r2) /* 801BFE58 001BCDB8 48 15 26 ED */ bl Range__9CRandom16Fff /* 801BFE5C 001BCDBC C0 42 AA 0C */ lfs f2, lbl_805AC72C@sda21(r2) /* 801BFE60 001BCDC0 C0 1D 03 AC */ lfs f0, 0x3ac(r29) /* 801BFE64 001BCDC4 EC 42 08 24 */ fdivs f2, f2, f1 /* 801BFE68 001BCDC8 EC 1D 00 28 */ fsubs f0, f29, f0 /* 801BFE6C 001BCDCC EC 02 00 32 */ fmuls f0, f2, f0 /* 801BFE70 001BCDD0 D0 1D 03 BC */ stfs f0, 0x3bc(r29) /* 801BFE74 001BCDD4 D0 3D 03 C0 */ stfs f1, 0x3c0(r29) lbl_801BFE78: /* 801BFE78 001BCDD8 C0 3D 03 A4 */ lfs f1, 0x3a4(r29) /* 801BFE7C 001BCDDC 3C 60 80 47 */ lis r3, lbl_8046C914@ha /* 801BFE80 001BCDE0 C0 1D 03 AC */ lfs f0, 0x3ac(r29) /* 801BFE84 001BCDE4 EC 01 07 BA */ fmadds f0, f1, f30, f0 /* 801BFE88 001BCDE8 D0 1D 03 AC */ stfs f0, 0x3ac(r29) /* 801BFE8C 001BCDEC C0 3D 03 B4 */ lfs f1, 0x3b4(r29) /* 801BFE90 001BCDF0 C0 1D 03 B0 */ lfs f0, 0x3b0(r29) /* 801BFE94 001BCDF4 EC 01 07 BA */ fmadds f0, f1, f30, f0 /* 801BFE98 001BCDF8 D0 1D 03 B0 */ stfs f0, 0x3b0(r29) /* 801BFE9C 001BCDFC C0 3D 03 BC */ lfs f1, 0x3bc(r29) /* 801BFEA0 001BCE00 C0 1D 03 C4 */ lfs f0, 0x3c4(r29) /* 801BFEA4 001BCE04 EC 01 07 BA */ fmadds f0, f1, f30, f0 /* 801BFEA8 001BCE08 D0 1D 03 C4 */ stfs f0, 0x3c4(r29) /* 801BFEAC 001BCE0C C4 43 C9 14 */ lfsu f2, lbl_8046C914@l(r3) /* 801BFEB0 001BCE10 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801BFEB4 001BCE14 C0 23 00 04 */ lfs f1, 4(r3) /* 801BFEB8 001BCE18 C0 03 00 08 */ lfs f0, 8(r3) /* 801BFEBC 001BCE1C D0 41 00 28 */ stfs f2, 0x28(r1) /* 801BFEC0 001BCE20 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801BFEC4 001BCE24 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801BFEC8 001BCE28 A0 7D 02 C0 */ lhz r3, 0x2c0(r29) /* 801BFECC 001BCE2C 7C 03 00 40 */ cmplw r3, r0 /* 801BFED0 001BCE30 41 82 00 0C */ beq lbl_801BFEDC /* 801BFED4 001BCE34 C0 42 AA 58 */ lfs f2, lbl_805AC778@sda21(r2) /* 801BFED8 001BCE38 48 00 00 08 */ b lbl_801BFEE0 lbl_801BFEDC: /* 801BFEDC 001BCE3C C0 42 AA 0C */ lfs f2, lbl_805AC72C@sda21(r2) lbl_801BFEE0: /* 801BFEE0 001BCE40 C0 1D 03 B0 */ lfs f0, 0x3b0(r29) /* 801BFEE4 001BCE44 38 61 00 40 */ addi r3, r1, 0x40 /* 801BFEE8 001BCE48 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801BFEEC 001BCE4C 38 81 00 10 */ addi r4, r1, 0x10 /* 801BFEF0 001BCE50 EC 00 00 32 */ fmuls f0, f0, f0 /* 801BFEF4 001BCE54 EC 02 00 28 */ fsubs f0, f2, f0 /* 801BFEF8 001BCE58 EC 01 00 32 */ fmuls f0, f1, f0 /* 801BFEFC 001BCE5C D0 01 00 30 */ stfs f0, 0x30(r1) /* 801BFF00 001BCE60 C0 1D 03 AC */ lfs f0, 0x3ac(r29) /* 801BFF04 001BCE64 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801BFF08 001BCE68 48 15 39 A1 */ bl RotateY__12CTransform4fFRC9CRelAngle /* 801BFF0C 001BCE6C 38 61 00 70 */ addi r3, r1, 0x70 /* 801BFF10 001BCE70 38 9D 02 E8 */ addi r4, r29, 0x2e8 /* 801BFF14 001BCE74 38 A1 00 40 */ addi r5, r1, 0x40 /* 801BFF18 001BCE78 48 15 2A 39 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801BFF1C 001BCE7C 38 61 00 1C */ addi r3, r1, 0x1c /* 801BFF20 001BCE80 38 81 00 70 */ addi r4, r1, 0x70 /* 801BFF24 001BCE84 38 A1 00 28 */ addi r5, r1, 0x28 /* 801BFF28 001BCE88 48 15 2B C1 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801BFF2C 001BCE8C C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801BFF30 001BCE90 C0 02 AA 40 */ lfs f0, lbl_805AC760@sda21(r2) /* 801BFF34 001BCE94 D0 3D 03 18 */ stfs f1, 0x318(r29) /* 801BFF38 001BCE98 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801BFF3C 001BCE9C C0 01 00 20 */ lfs f0, 0x20(r1) /* 801BFF40 001BCEA0 D0 1D 03 1C */ stfs f0, 0x31c(r29) /* 801BFF44 001BCEA4 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801BFF48 001BCEA8 D0 1D 03 20 */ stfs f0, 0x320(r29) /* 801BFF4C 001BCEAC 7C 00 00 26 */ mfcr r0 /* 801BFF50 001BCEB0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f lbl_801BFF54: /* 801BFF54 001BCEB4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801BFF58 001BCEB8 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801BFF5C 001BCEBC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801BFF60 001BCEC0 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801BFF64 001BCEC4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801BFF68 001BCEC8 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801BFF6C 001BCECC 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801BFF70 001BCED0 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801BFF74 001BCED4 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801BFF78 001BCED8 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 801BFF7C 001BCEDC 7C 08 03 A6 */ mtlr r0 /* 801BFF80 001BCEE0 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801BFF84 001BCEE4 4E 80 00 20 */ blr .global sub_801bff88 sub_801bff88: /* 801BFF88 001BCEE8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801BFF8C 001BCEEC 7C 08 02 A6 */ mflr r0 /* 801BFF90 001BCEF0 90 01 00 34 */ stw r0, 0x34(r1) /* 801BFF94 001BCEF4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801BFF98 001BCEF8 7C 9F 23 78 */ mr r31, r4 /* 801BFF9C 001BCEFC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801BFFA0 001BCF00 7C 7E 1B 78 */ mr r30, r3 /* 801BFFA4 001BCF04 7F E3 FB 78 */ mr r3, r31 /* 801BFFA8 001BCF08 C0 25 00 40 */ lfs f1, 0x40(r5) /* 801BFFAC 001BCF0C C0 1E 02 F4 */ lfs f0, 0x2f4(r30) /* 801BFFB0 001BCF10 C0 85 00 50 */ lfs f4, 0x50(r5) /* 801BFFB4 001BCF14 C0 7E 03 04 */ lfs f3, 0x304(r30) /* 801BFFB8 001BCF18 EC 01 00 28 */ fsubs f0, f1, f0 /* 801BFFBC 001BCF1C C0 45 00 60 */ lfs f2, 0x60(r5) /* 801BFFC0 001BCF20 C0 3E 03 14 */ lfs f1, 0x314(r30) /* 801BFFC4 001BCF24 EC 64 18 28 */ fsubs f3, f4, f3 /* 801BFFC8 001BCF28 D0 04 00 00 */ stfs f0, 0(r4) /* 801BFFCC 001BCF2C EC 02 08 28 */ fsubs f0, f2, f1 /* 801BFFD0 001BCF30 D0 64 00 04 */ stfs f3, 4(r4) /* 801BFFD4 001BCF34 D0 04 00 08 */ stfs f0, 8(r4) /* 801BFFD8 001BCF38 48 15 47 21 */ bl CanBeNormalized__9CVector3fCFv /* 801BFFDC 001BCF3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801BFFE0 001BCF40 41 82 00 10 */ beq lbl_801BFFF0 /* 801BFFE4 001BCF44 7F E3 FB 78 */ mr r3, r31 /* 801BFFE8 001BCF48 48 15 49 11 */ bl Normalize__9CVector3fFv /* 801BFFEC 001BCF4C 48 00 00 1C */ b lbl_801C0008 lbl_801BFFF0: /* 801BFFF0 001BCF50 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801BFFF4 001BCF54 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801BFFF8 001BCF58 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801BFFFC 001BCF5C D0 1F 00 00 */ stfs f0, 0(r31) /* 801C0000 001BCF60 D0 3F 00 04 */ stfs f1, 4(r31) /* 801C0004 001BCF64 D0 5F 00 08 */ stfs f2, 8(r31) lbl_801C0008: /* 801C0008 001BCF68 C0 3F 00 00 */ lfs f1, 0(r31) /* 801C000C 001BCF6C 38 61 00 08 */ addi r3, r1, 8 /* 801C0010 001BCF70 C0 5F 00 04 */ lfs f2, 4(r31) /* 801C0014 001BCF74 48 15 41 ED */ bl __ct__9CVector2fFff /* 801C0018 001BCF78 C0 5E 02 FC */ lfs f2, 0x2fc(r30) /* 801C001C 001BCF7C 38 61 00 10 */ addi r3, r1, 0x10 /* 801C0020 001BCF80 C0 3E 02 EC */ lfs f1, 0x2ec(r30) /* 801C0024 001BCF84 C0 1E 03 0C */ lfs f0, 0x30c(r30) /* 801C0028 001BCF88 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C002C 001BCF8C D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801C0030 001BCF90 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801C0034 001BCF94 48 15 41 CD */ bl __ct__9CVector2fFff /* 801C0038 001BCF98 38 61 00 10 */ addi r3, r1, 0x10 /* 801C003C 001BCF9C 38 81 00 08 */ addi r4, r1, 8 /* 801C0040 001BCFA0 48 15 3F 85 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801C0044 001BCFA4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C0048 001BCFA8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C004C 001BCFAC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C0050 001BCFB0 7C 08 03 A6 */ mtlr r0 /* 801C0054 001BCFB4 38 21 00 30 */ addi r1, r1, 0x30 .global sub_801c0058 sub_801c0058: /* 801C0058 001BCFB8 4E 80 00 20 */ blr .global SetNewTarget__11CWaveBusterF9TUniqueId SetNewTarget__11CWaveBusterF9TUniqueId: /* 801C005C 001BCFBC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C0060 001BCFC0 7C 08 02 A6 */ mflr r0 /* 801C0064 001BCFC4 90 01 00 34 */ stw r0, 0x34(r1) /* 801C0068 001BCFC8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C006C 001BCFCC 7C BF 2B 78 */ mr r31, r5 /* 801C0070 001BCFD0 A0 C4 00 00 */ lhz r6, 0(r4) /* 801C0074 001BCFD4 B0 C3 02 C0 */ sth r6, 0x2c0(r3) /* 801C0078 001BCFD8 A0 84 00 00 */ lhz r4, 0(r4) /* 801C007C 001BCFDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801C0080 001BCFE0 B0 C1 00 08 */ sth r6, 8(r1) /* 801C0084 001BCFE4 7C 04 00 40 */ cmplw r4, r0 /* 801C0088 001BCFE8 41 82 00 78 */ beq lbl_801C0100 /* 801C008C 001BCFEC 88 03 03 D0 */ lbz r0, 0x3d0(r3) /* 801C0090 001BCFF0 38 80 00 01 */ li r4, 1 /* 801C0094 001BCFF4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801C0098 001BCFF8 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801C009C 001BCFFC 98 03 03 D0 */ stb r0, 0x3d0(r3) /* 801C00A0 001BD000 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C00A4 001BD004 38 C4 66 A0 */ addi r6, r4, skZero3f@l /* 801C00A8 001BD008 A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) /* 801C00AC 001BD00C D0 03 03 A0 */ stfs f0, 0x3a0(r3) /* 801C00B0 001BD010 38 A1 00 10 */ addi r5, r1, 0x10 /* 801C00B4 001BD014 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801C00B8 001BD018 38 80 06 FF */ li r4, 0x6ff /* 801C00BC 001BD01C C0 43 00 60 */ lfs f2, 0x60(r3) /* 801C00C0 001BD020 38 E0 00 01 */ li r7, 1 /* 801C00C4 001BD024 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801C00C8 001BD028 39 00 00 00 */ li r8, 0 /* 801C00CC 001BD02C C0 03 00 40 */ lfs f0, 0x40(r3) /* 801C00D0 001BD030 38 61 00 0C */ addi r3, r1, 0xc /* 801C00D4 001BD034 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C00D8 001BD038 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801C00DC 001BD03C D0 41 00 18 */ stfs f2, 0x18(r1) /* 801C00E0 001BD040 48 12 A1 D1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801C00E4 001BD044 80 7F 08 8C */ lwz r3, 0x88c(r31) /* 801C00E8 001BD048 7F E4 FB 78 */ mr r4, r31 /* 801C00EC 001BD04C C0 22 A9 F8 */ lfs f1, lbl_805AC718@sda21(r2) /* 801C00F0 001BD050 38 A0 00 0B */ li r5, 0xb /* 801C00F4 001BD054 38 C0 00 03 */ li r6, 3 /* 801C00F8 001BD058 48 06 E1 4D */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority /* 801C00FC 001BD05C 48 00 00 14 */ b lbl_801C0110 lbl_801C0100: /* 801C0100 001BD060 88 03 03 D0 */ lbz r0, 0x3d0(r3) /* 801C0104 001BD064 38 80 00 00 */ li r4, 0 /* 801C0108 001BD068 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801C010C 001BD06C 98 03 03 D0 */ stb r0, 0x3d0(r3) lbl_801C0110: /* 801C0110 001BD070 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C0114 001BD074 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C0118 001BD078 7C 08 03 A6 */ mtlr r0 /* 801C011C 001BD07C 38 21 00 30 */ addi r1, r1, 0x30 /* 801C0120 001BD080 4E 80 00 20 */ blr .global sub_801c0124 sub_801c0124: /* 801C0124 001BD084 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C0128 001BD088 7C 08 02 A6 */ mflr r0 /* 801C012C 001BD08C 90 01 00 14 */ stw r0, 0x14(r1) /* 801C0130 001BD090 4B E9 42 D9 */ bl Touch__6CActorFR6CActorR13CStateManager /* 801C0134 001BD094 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C0138 001BD098 7C 08 03 A6 */ mtlr r0 /* 801C013C 001BD09C 38 21 00 10 */ addi r1, r1, 0x10 .global sub_801c0140 sub_801c0140: /* 801C0140 001BD0A0 4E 80 00 20 */ blr .global sub_801c0144 sub_801c0144: /* 801C0144 001BD0A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C0148 001BD0A8 7C 08 02 A6 */ mflr r0 /* 801C014C 001BD0AC 90 01 00 14 */ stw r0, 0x14(r1) /* 801C0150 001BD0B0 7C 60 1B 78 */ mr r0, r3 /* 801C0154 001BD0B4 7C 83 23 78 */ mr r3, r4 /* 801C0158 001BD0B8 81 84 00 00 */ lwz r12, 0(r4) /* 801C015C 001BD0BC 7C 04 03 78 */ mr r4, r0 /* 801C0160 001BD0C0 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 801C0164 001BD0C4 7D 89 03 A6 */ mtctr r12 /* 801C0168 001BD0C8 4E 80 04 21 */ bctrl /* 801C016C 001BD0CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C0170 001BD0D0 7C 08 03 A6 */ mtlr r0 /* 801C0174 001BD0D4 38 21 00 10 */ addi r1, r1, 0x10 /* 801C0178 001BD0D8 4E 80 00 20 */ blr .global "__ct__11CWaveBusterFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUi" "__ct__11CWaveBusterFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUi": /* 801C017C 001BD0DC 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801C0180 001BD0E0 7C 08 02 A6 */ mflr r0 /* 801C0184 001BD0E4 3D 60 80 3D */ lis r11, lbl_803D1A20@ha /* 801C0188 001BD0E8 90 01 01 14 */ stw r0, 0x114(r1) /* 801C018C 001BD0EC 39 6B 1A 20 */ addi r11, r11, lbl_803D1A20@l /* 801C0190 001BD0F0 BE 01 00 D0 */ stmw r16, 0xd0(r1) /* 801C0194 001BD0F4 7C 7F 1B 78 */ mr r31, r3 /* 801C0198 001BD0F8 7C 97 23 78 */ mr r23, r4 /* 801C019C 001BD0FC 83 81 01 18 */ lwz r28, 0x118(r1) /* 801C01A0 001BD100 83 A1 01 1C */ lwz r29, 0x11c(r1) /* 801C01A4 001BD104 7C B8 2B 78 */ mr r24, r5 /* 801C01A8 001BD108 83 C1 01 20 */ lwz r30, 0x120(r1) /* 801C01AC 001BD10C 7C D9 33 78 */ mr r25, r6 /* 801C01B0 001BD110 7C FA 3B 78 */ mr r26, r7 /* 801C01B4 001BD114 7D 1B 43 78 */ mr r27, r8 /* 801C01B8 001BD118 7D 31 4B 78 */ mr r17, r9 /* 801C01BC 001BD11C 7D 50 53 78 */ mr r16, r10 /* 801C01C0 001BD120 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801C01C4 001BD124 38 8B 00 11 */ addi r4, r11, 0x11 /* 801C01C8 001BD128 4B E4 4A F1 */ bl string_l__4rstlFPCc /* 801C01CC 001BD12C C0 02 AA 0C */ lfs f0, lbl_805AC72C@sda21(r2) /* 801C01D0 001BD130 38 00 00 00 */ li r0, 0 /* 801C01D4 001BD134 98 01 00 A4 */ stb r0, 0xa4(r1) /* 801C01D8 001BD138 3A 41 00 38 */ addi r18, r1, 0x38 /* 801C01DC 001BD13C 82 10 00 00 */ lwz r16, 0(r16) /* 801C01E0 001BD140 3A 61 00 3C */ addi r19, r1, 0x3c /* 801C01E4 001BD144 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801C01E8 001BD148 3A 81 00 34 */ addi r20, r1, 0x34 /* 801C01EC 001BD14C A2 31 00 00 */ lhz r17, 0(r17) /* 801C01F0 001BD150 3A A1 00 30 */ addi r21, r1, 0x30 /* 801C01F4 001BD154 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801C01F8 001BD158 3A C1 00 A8 */ addi r22, r1, 0xa8 /* 801C01FC 001BD15C 39 81 00 98 */ addi r12, r1, 0x98 /* 801C0200 001BD160 A1 62 C5 FC */ lhz r11, lbl_805AE31C@sda21(r2) /* 801C0204 001BD164 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801C0208 001BD168 7F E3 FB 78 */ mr r3, r31 /* 801C020C 001BD16C 7E E5 BB 78 */ mr r5, r23 /* 801C0210 001BD170 7F 07 C3 78 */ mr r7, r24 /* 801C0214 001BD174 A0 9D 00 00 */ lhz r4, 0(r29) /* 801C0218 001BD178 7F 28 CB 78 */ mr r8, r25 /* 801C021C 001BD17C 7F 49 D3 78 */ mr r9, r26 /* 801C0220 001BD180 7F 6A DB 78 */ mr r10, r27 /* 801C0224 001BD184 B0 81 00 30 */ sth r4, 0x30(r1) /* 801C0228 001BD188 38 C1 00 B4 */ addi r6, r1, 0xb4 /* 801C022C 001BD18C 38 80 00 01 */ li r4, 1 /* 801C0230 001BD190 A2 FC 00 00 */ lhz r23, 0(r28) /* 801C0234 001BD194 B2 E1 00 34 */ sth r23, 0x34(r1) /* 801C0238 001BD198 92 01 00 3C */ stw r16, 0x3c(r1) /* 801C023C 001BD19C B2 21 00 38 */ sth r17, 0x38(r1) /* 801C0240 001BD1A0 92 41 00 08 */ stw r18, 8(r1) /* 801C0244 001BD1A4 92 61 00 0C */ stw r19, 0xc(r1) /* 801C0248 001BD1A8 92 81 00 10 */ stw r20, 0x10(r1) /* 801C024C 001BD1AC 92 A1 00 14 */ stw r21, 0x14(r1) /* 801C0250 001BD1B0 93 C1 00 18 */ stw r30, 0x18(r1) /* 801C0254 001BD1B4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801C0258 001BD1B8 92 C1 00 20 */ stw r22, 0x20(r1) /* 801C025C 001BD1BC 91 81 00 24 */ stw r12, 0x24(r1) /* 801C0260 001BD1C0 91 61 00 28 */ stw r11, 0x28(r1) /* 801C0264 001BD1C4 90 01 00 2C */ stw r0, 0x2c(r1) /* 801C0268 001BD1C8 4B E7 A2 1D */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 801C026C 001BD1CC 88 01 00 A4 */ lbz r0, 0xa4(r1) /* 801C0270 001BD1D0 28 00 00 00 */ cmplwi r0, 0 /* 801C0274 001BD1D4 41 82 00 1C */ beq lbl_801C0290 /* 801C0278 001BD1D8 34 61 00 98 */ addic. r3, r1, 0x98 /* 801C027C 001BD1DC 41 82 00 14 */ beq lbl_801C0290 /* 801C0280 001BD1E0 28 03 00 00 */ cmplwi r3, 0 /* 801C0284 001BD1E4 41 82 00 0C */ beq lbl_801C0290 /* 801C0288 001BD1E8 38 80 00 00 */ li r4, 0 /* 801C028C 001BD1EC 48 18 0B B5 */ bl __dt__6CTokenFv lbl_801C0290: /* 801C0290 001BD1F0 38 00 00 00 */ li r0, 0 /* 801C0294 001BD1F4 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801C0298 001BD1F8 98 01 00 A4 */ stb r0, 0xa4(r1) /* 801C029C 001BD1FC 48 17 D8 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801C02A0 001BD200 3C 60 80 3E */ lis r3, lbl_803E5318@ha /* 801C02A4 001BD204 7F 24 CB 78 */ mr r4, r25 /* 801C02A8 001BD208 38 03 53 18 */ addi r0, r3, lbl_803E5318@l /* 801C02AC 001BD20C 38 7F 02 E8 */ addi r3, r31, 0x2e8 /* 801C02B0 001BD210 90 1F 00 00 */ stw r0, 0(r31) /* 801C02B4 001BD214 48 15 28 C1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801C02B8 001BD218 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C02BC 001BD21C 38 61 00 8C */ addi r3, r1, 0x8c /* 801C02C0 001BD220 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801C02C4 001BD224 38 81 00 80 */ addi r4, r1, 0x80 /* 801C02C8 001BD228 C0 05 00 00 */ lfs f0, 0(r5) /* 801C02CC 001BD22C D0 1F 03 18 */ stfs f0, 0x318(r31) /* 801C02D0 001BD230 C0 05 00 04 */ lfs f0, 4(r5) /* 801C02D4 001BD234 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 801C02D8 001BD238 C0 05 00 08 */ lfs f0, 8(r5) /* 801C02DC 001BD23C D0 1F 03 20 */ stfs f0, 0x320(r31) /* 801C02E0 001BD240 C0 05 00 00 */ lfs f0, 0(r5) /* 801C02E4 001BD244 D0 1F 03 24 */ stfs f0, 0x324(r31) /* 801C02E8 001BD248 C0 05 00 04 */ lfs f0, 4(r5) /* 801C02EC 001BD24C D0 1F 03 28 */ stfs f0, 0x328(r31) /* 801C02F0 001BD250 C0 05 00 08 */ lfs f0, 8(r5) /* 801C02F4 001BD254 D0 1F 03 2C */ stfs f0, 0x32c(r31) /* 801C02F8 001BD258 C0 05 00 00 */ lfs f0, 0(r5) /* 801C02FC 001BD25C D0 1F 03 30 */ stfs f0, 0x330(r31) /* 801C0300 001BD260 C0 05 00 04 */ lfs f0, 4(r5) /* 801C0304 001BD264 D0 1F 03 34 */ stfs f0, 0x334(r31) /* 801C0308 001BD268 C0 05 00 08 */ lfs f0, 8(r5) /* 801C030C 001BD26C D0 1F 03 38 */ stfs f0, 0x338(r31) /* 801C0310 001BD270 C0 05 00 00 */ lfs f0, 0(r5) /* 801C0314 001BD274 D0 1F 03 3C */ stfs f0, 0x33c(r31) /* 801C0318 001BD278 C0 05 00 04 */ lfs f0, 4(r5) /* 801C031C 001BD27C D0 1F 03 40 */ stfs f0, 0x340(r31) /* 801C0320 001BD280 C0 05 00 08 */ lfs f0, 8(r5) /* 801C0324 001BD284 D0 1F 03 44 */ stfs f0, 0x344(r31) /* 801C0328 001BD288 C0 5F 03 0C */ lfs f2, 0x30c(r31) /* 801C032C 001BD28C C0 3F 02 FC */ lfs f1, 0x2fc(r31) /* 801C0330 001BD290 C0 1F 02 EC */ lfs f0, 0x2ec(r31) /* 801C0334 001BD294 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801C0338 001BD298 D0 21 00 84 */ stfs f1, 0x84(r1) /* 801C033C 001BD29C D0 41 00 88 */ stfs f2, 0x88(r1) /* 801C0340 001BD2A0 48 15 45 11 */ bl AsNormalized__9CVector3fCFv /* 801C0344 001BD2A4 C0 82 A9 FC */ lfs f4, lbl_805AC71C@sda21(r2) /* 801C0348 001BD2A8 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C034C 001BD2AC C0 01 00 8C */ lfs f0, 0x8c(r1) /* 801C0350 001BD2B0 38 83 1A 20 */ addi r4, r3, lbl_803D1A20@l /* 801C0354 001BD2B4 C0 61 00 90 */ lfs f3, 0x90(r1) /* 801C0358 001BD2B8 38 61 00 78 */ addi r3, r1, 0x78 /* 801C035C 001BD2BC EC 04 00 32 */ fmuls f0, f4, f0 /* 801C0360 001BD2C0 C0 3F 02 F4 */ lfs f1, 0x2f4(r31) /* 801C0364 001BD2C4 C0 41 00 94 */ lfs f2, 0x94(r1) /* 801C0368 001BD2C8 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801C036C 001BD2CC C0 BF 03 04 */ lfs f5, 0x304(r31) /* 801C0370 001BD2D0 38 A4 00 1C */ addi r5, r4, 0x1c /* 801C0374 001BD2D4 EC 01 00 2A */ fadds f0, f1, f0 /* 801C0378 001BD2D8 C0 DF 03 14 */ lfs f6, 0x314(r31) /* 801C037C 001BD2DC EC 24 00 B2 */ fmuls f1, f4, f2 /* 801C0380 001BD2E0 EC 45 18 2A */ fadds f2, f5, f3 /* 801C0384 001BD2E4 D0 1F 03 48 */ stfs f0, 0x348(r31) /* 801C0388 001BD2E8 EC 06 08 2A */ fadds f0, f6, f1 /* 801C038C 001BD2EC D0 5F 03 4C */ stfs f2, 0x34c(r31) /* 801C0390 001BD2F0 D0 1F 03 50 */ stfs f0, 0x350(r31) /* 801C0394 001BD2F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C0398 001BD2F8 81 84 00 00 */ lwz r12, 0(r4) /* 801C039C 001BD2FC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C03A0 001BD300 7D 89 03 A6 */ mtctr r12 /* 801C03A4 001BD304 4E 80 04 21 */ bctrl /* 801C03A8 001BD308 3A 1F 03 54 */ addi r16, r31, 0x354 /* 801C03AC 001BD30C 38 81 00 78 */ addi r4, r1, 0x78 /* 801C03B0 001BD310 7E 03 83 78 */ mr r3, r16 /* 801C03B4 001BD314 48 18 0A F5 */ bl __ct__6CTokenFRC6CToken /* 801C03B8 001BD318 7E 03 83 78 */ mr r3, r16 /* 801C03BC 001BD31C 48 18 0A 51 */ bl GetObj__6CTokenFv /* 801C03C0 001BD320 80 03 00 04 */ lwz r0, 4(r3) /* 801C03C4 001BD324 38 61 00 78 */ addi r3, r1, 0x78 /* 801C03C8 001BD328 38 80 FF FF */ li r4, -1 /* 801C03CC 001BD32C 90 10 00 08 */ stw r0, 8(r16) /* 801C03D0 001BD330 48 18 0A 71 */ bl __dt__6CTokenFv /* 801C03D4 001BD334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C03D8 001BD338 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C03DC 001BD33C 38 A3 1A 20 */ addi r5, r3, lbl_803D1A20@l /* 801C03E0 001BD340 38 61 00 70 */ addi r3, r1, 0x70 /* 801C03E4 001BD344 81 84 00 00 */ lwz r12, 0(r4) /* 801C03E8 001BD348 38 A5 00 2A */ addi r5, r5, 0x2a /* 801C03EC 001BD34C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C03F0 001BD350 7D 89 03 A6 */ mtctr r12 /* 801C03F4 001BD354 4E 80 04 21 */ bctrl /* 801C03F8 001BD358 3A 1F 03 60 */ addi r16, r31, 0x360 /* 801C03FC 001BD35C 38 81 00 70 */ addi r4, r1, 0x70 /* 801C0400 001BD360 7E 03 83 78 */ mr r3, r16 /* 801C0404 001BD364 48 18 0A A5 */ bl __ct__6CTokenFRC6CToken /* 801C0408 001BD368 7E 03 83 78 */ mr r3, r16 /* 801C040C 001BD36C 48 18 0A 01 */ bl GetObj__6CTokenFv /* 801C0410 001BD370 80 03 00 04 */ lwz r0, 4(r3) /* 801C0414 001BD374 38 61 00 70 */ addi r3, r1, 0x70 /* 801C0418 001BD378 38 80 FF FF */ li r4, -1 /* 801C041C 001BD37C 90 10 00 08 */ stw r0, 8(r16) /* 801C0420 001BD380 48 18 0A 21 */ bl __dt__6CTokenFv /* 801C0424 001BD384 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C0428 001BD388 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C042C 001BD38C 38 A3 1A 20 */ addi r5, r3, lbl_803D1A20@l /* 801C0430 001BD390 38 61 00 68 */ addi r3, r1, 0x68 /* 801C0434 001BD394 81 84 00 00 */ lwz r12, 0(r4) /* 801C0438 001BD398 38 A5 00 38 */ addi r5, r5, 0x38 /* 801C043C 001BD39C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C0440 001BD3A0 7D 89 03 A6 */ mtctr r12 /* 801C0444 001BD3A4 4E 80 04 21 */ bctrl /* 801C0448 001BD3A8 3A 1F 03 6C */ addi r16, r31, 0x36c /* 801C044C 001BD3AC 38 81 00 68 */ addi r4, r1, 0x68 /* 801C0450 001BD3B0 7E 03 83 78 */ mr r3, r16 /* 801C0454 001BD3B4 48 18 0A 55 */ bl __ct__6CTokenFRC6CToken /* 801C0458 001BD3B8 7E 03 83 78 */ mr r3, r16 /* 801C045C 001BD3BC 48 18 09 B1 */ bl GetObj__6CTokenFv /* 801C0460 001BD3C0 80 03 00 04 */ lwz r0, 4(r3) /* 801C0464 001BD3C4 38 61 00 68 */ addi r3, r1, 0x68 /* 801C0468 001BD3C8 38 80 FF FF */ li r4, -1 /* 801C046C 001BD3CC 90 10 00 08 */ stw r0, 8(r16) /* 801C0470 001BD3D0 48 18 09 D1 */ bl __dt__6CTokenFv /* 801C0474 001BD3D4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C0478 001BD3D8 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C047C 001BD3DC 38 A3 1A 20 */ addi r5, r3, lbl_803D1A20@l /* 801C0480 001BD3E0 38 61 00 60 */ addi r3, r1, 0x60 /* 801C0484 001BD3E4 81 84 00 00 */ lwz r12, 0(r4) /* 801C0488 001BD3E8 38 A5 00 45 */ addi r5, r5, 0x45 /* 801C048C 001BD3EC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C0490 001BD3F0 7D 89 03 A6 */ mtctr r12 /* 801C0494 001BD3F4 4E 80 04 21 */ bctrl /* 801C0498 001BD3F8 3A 1F 03 78 */ addi r16, r31, 0x378 /* 801C049C 001BD3FC 38 81 00 60 */ addi r4, r1, 0x60 /* 801C04A0 001BD400 7E 03 83 78 */ mr r3, r16 /* 801C04A4 001BD404 48 18 0A 05 */ bl __ct__6CTokenFRC6CToken /* 801C04A8 001BD408 7E 03 83 78 */ mr r3, r16 /* 801C04AC 001BD40C 48 18 09 61 */ bl GetObj__6CTokenFv /* 801C04B0 001BD410 80 03 00 04 */ lwz r0, 4(r3) /* 801C04B4 001BD414 38 61 00 60 */ addi r3, r1, 0x60 /* 801C04B8 001BD418 38 80 FF FF */ li r4, -1 /* 801C04BC 001BD41C 90 10 00 08 */ stw r0, 8(r16) /* 801C04C0 001BD420 48 18 09 81 */ bl __dt__6CTokenFv /* 801C04C4 001BD424 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C04C8 001BD428 3A 20 00 00 */ li r17, 0 /* 801C04CC 001BD42C 38 83 1A 20 */ addi r4, r3, lbl_803D1A20@l /* 801C04D0 001BD430 38 60 02 10 */ li r3, 0x210 /* 801C04D4 001BD434 38 84 00 51 */ addi r4, r4, 0x51 /* 801C04D8 001BD438 38 A0 00 00 */ li r5, 0 /* 801C04DC 001BD43C 48 15 53 91 */ bl __nw__FUlPCcPCc /* 801C04E0 001BD440 7C 70 1B 79 */ or. r16, r3, r3 /* 801C04E4 001BD444 41 82 00 28 */ beq lbl_801C050C /* 801C04E8 001BD448 38 61 00 58 */ addi r3, r1, 0x58 /* 801C04EC 001BD44C 38 9F 03 54 */ addi r4, r31, 0x354 /* 801C04F0 001BD450 48 18 09 B9 */ bl __ct__6CTokenFRC6CToken /* 801C04F4 001BD454 7E 03 83 78 */ mr r3, r16 /* 801C04F8 001BD458 38 81 00 58 */ addi r4, r1, 0x58 /* 801C04FC 001BD45C 3A 20 00 01 */ li r17, 1 /* 801C0500 001BD460 38 A0 00 00 */ li r5, 0 /* 801C0504 001BD464 48 16 E8 E1 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" /* 801C0508 001BD468 7C 70 1B 78 */ mr r16, r3 lbl_801C050C: /* 801C050C 001BD46C 7E 20 07 75 */ extsb. r0, r17 /* 801C0510 001BD470 92 1F 03 84 */ stw r16, 0x384(r31) /* 801C0514 001BD474 41 82 00 10 */ beq lbl_801C0524 /* 801C0518 001BD478 38 61 00 58 */ addi r3, r1, 0x58 /* 801C051C 001BD47C 38 80 00 00 */ li r4, 0 /* 801C0520 001BD480 48 18 09 21 */ bl __dt__6CTokenFv lbl_801C0524: /* 801C0524 001BD484 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C0528 001BD488 3A 20 00 00 */ li r17, 0 /* 801C052C 001BD48C 38 83 1A 20 */ addi r4, r3, lbl_803D1A20@l /* 801C0530 001BD490 38 60 02 10 */ li r3, 0x210 /* 801C0534 001BD494 38 84 00 51 */ addi r4, r4, 0x51 /* 801C0538 001BD498 38 A0 00 00 */ li r5, 0 /* 801C053C 001BD49C 48 15 53 31 */ bl __nw__FUlPCcPCc /* 801C0540 001BD4A0 7C 70 1B 79 */ or. r16, r3, r3 /* 801C0544 001BD4A4 41 82 00 28 */ beq lbl_801C056C /* 801C0548 001BD4A8 38 61 00 50 */ addi r3, r1, 0x50 /* 801C054C 001BD4AC 38 9F 03 60 */ addi r4, r31, 0x360 /* 801C0550 001BD4B0 48 18 09 59 */ bl __ct__6CTokenFRC6CToken /* 801C0554 001BD4B4 7E 03 83 78 */ mr r3, r16 /* 801C0558 001BD4B8 38 81 00 50 */ addi r4, r1, 0x50 /* 801C055C 001BD4BC 3A 20 00 01 */ li r17, 1 /* 801C0560 001BD4C0 38 A0 00 00 */ li r5, 0 /* 801C0564 001BD4C4 48 16 E8 81 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" /* 801C0568 001BD4C8 7C 70 1B 78 */ mr r16, r3 lbl_801C056C: /* 801C056C 001BD4CC 7E 20 07 75 */ extsb. r0, r17 /* 801C0570 001BD4D0 92 1F 03 88 */ stw r16, 0x388(r31) /* 801C0574 001BD4D4 41 82 00 10 */ beq lbl_801C0584 /* 801C0578 001BD4D8 38 61 00 50 */ addi r3, r1, 0x50 /* 801C057C 001BD4DC 38 80 00 00 */ li r4, 0 /* 801C0580 001BD4E0 48 18 08 C1 */ bl __dt__6CTokenFv lbl_801C0584: /* 801C0584 001BD4E4 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C0588 001BD4E8 3A 20 00 00 */ li r17, 0 /* 801C058C 001BD4EC 38 83 1A 20 */ addi r4, r3, lbl_803D1A20@l /* 801C0590 001BD4F0 38 60 03 40 */ li r3, 0x340 /* 801C0594 001BD4F4 38 84 00 51 */ addi r4, r4, 0x51 /* 801C0598 001BD4F8 38 A0 00 00 */ li r5, 0 /* 801C059C 001BD4FC 48 15 52 D1 */ bl __nw__FUlPCcPCc /* 801C05A0 001BD500 7C 70 1B 79 */ or. r16, r3, r3 /* 801C05A4 001BD504 41 82 00 2C */ beq lbl_801C05D0 /* 801C05A8 001BD508 38 61 00 48 */ addi r3, r1, 0x48 /* 801C05AC 001BD50C 38 9F 03 6C */ addi r4, r31, 0x36c /* 801C05B0 001BD510 48 18 08 F9 */ bl __ct__6CTokenFRC6CToken /* 801C05B4 001BD514 7E 03 83 78 */ mr r3, r16 /* 801C05B8 001BD518 38 81 00 48 */ addi r4, r1, 0x48 /* 801C05BC 001BD51C 3A 20 00 01 */ li r17, 1 /* 801C05C0 001BD520 38 A0 00 00 */ li r5, 0 /* 801C05C4 001BD524 38 C0 00 01 */ li r6, 1 /* 801C05C8 001BD528 48 15 EE 19 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801C05CC 001BD52C 7C 70 1B 78 */ mr r16, r3 lbl_801C05D0: /* 801C05D0 001BD530 7E 20 07 75 */ extsb. r0, r17 /* 801C05D4 001BD534 92 1F 03 8C */ stw r16, 0x38c(r31) /* 801C05D8 001BD538 41 82 00 10 */ beq lbl_801C05E8 /* 801C05DC 001BD53C 38 61 00 48 */ addi r3, r1, 0x48 /* 801C05E0 001BD540 38 80 00 00 */ li r4, 0 /* 801C05E4 001BD544 48 18 08 5D */ bl __dt__6CTokenFv lbl_801C05E8: /* 801C05E8 001BD548 3C 60 80 3D */ lis r3, lbl_803D1A20@ha /* 801C05EC 001BD54C 3A 20 00 00 */ li r17, 0 /* 801C05F0 001BD550 38 83 1A 20 */ addi r4, r3, lbl_803D1A20@l /* 801C05F4 001BD554 38 60 03 40 */ li r3, 0x340 /* 801C05F8 001BD558 38 84 00 51 */ addi r4, r4, 0x51 /* 801C05FC 001BD55C 38 A0 00 00 */ li r5, 0 /* 801C0600 001BD560 48 15 52 6D */ bl __nw__FUlPCcPCc /* 801C0604 001BD564 7C 70 1B 79 */ or. r16, r3, r3 /* 801C0608 001BD568 41 82 00 2C */ beq lbl_801C0634 /* 801C060C 001BD56C 38 61 00 40 */ addi r3, r1, 0x40 /* 801C0610 001BD570 38 9F 03 78 */ addi r4, r31, 0x378 /* 801C0614 001BD574 48 18 08 95 */ bl __ct__6CTokenFRC6CToken /* 801C0618 001BD578 7E 03 83 78 */ mr r3, r16 /* 801C061C 001BD57C 38 81 00 40 */ addi r4, r1, 0x40 /* 801C0620 001BD580 3A 20 00 01 */ li r17, 1 /* 801C0624 001BD584 38 A0 00 00 */ li r5, 0 /* 801C0628 001BD588 38 C0 00 01 */ li r6, 1 /* 801C062C 001BD58C 48 15 ED B5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801C0630 001BD590 7C 70 1B 78 */ mr r16, r3 lbl_801C0634: /* 801C0634 001BD594 7E 20 07 75 */ extsb. r0, r17 /* 801C0638 001BD598 92 1F 03 90 */ stw r16, 0x390(r31) /* 801C063C 001BD59C 41 82 00 10 */ beq lbl_801C064C /* 801C0640 001BD5A0 38 61 00 40 */ addi r3, r1, 0x40 /* 801C0644 001BD5A4 38 80 00 00 */ li r4, 0 /* 801C0648 001BD5A8 48 18 07 F9 */ bl __dt__6CTokenFv lbl_801C064C: /* 801C064C 001BD5AC 38 7F 03 94 */ addi r3, r31, 0x394 /* 801C0650 001BD5B0 38 80 00 63 */ li r4, 0x63 /* 801C0654 001BD5B4 48 15 1F 99 */ bl __ct__9CRandom16FUi /* 801C0658 001BD5B8 C0 02 AA 20 */ lfs f0, lbl_805AC740@sda21(r2) /* 801C065C 001BD5BC 38 80 00 00 */ li r4, 0 /* 801C0660 001BD5C0 C0 22 A9 F8 */ lfs f1, lbl_805AC718@sda21(r2) /* 801C0664 001BD5C4 38 60 00 01 */ li r3, 1 /* 801C0668 001BD5C8 D0 1F 03 98 */ stfs f0, 0x398(r31) /* 801C066C 001BD5CC 3A 00 00 00 */ li r16, 0 /* 801C0670 001BD5D0 C0 02 AA 04 */ lfs f0, lbl_805AC724@sda21(r2) /* 801C0674 001BD5D4 D0 3F 03 9C */ stfs f1, 0x39c(r31) /* 801C0678 001BD5D8 D0 3F 03 A0 */ stfs f1, 0x3a0(r31) /* 801C067C 001BD5DC D0 1F 03 A4 */ stfs f0, 0x3a4(r31) /* 801C0680 001BD5E0 D0 1F 03 A8 */ stfs f0, 0x3a8(r31) /* 801C0684 001BD5E4 D0 1F 03 AC */ stfs f0, 0x3ac(r31) /* 801C0688 001BD5E8 D0 1F 03 B0 */ stfs f0, 0x3b0(r31) /* 801C068C 001BD5EC D0 1F 03 B4 */ stfs f0, 0x3b4(r31) /* 801C0690 001BD5F0 D0 1F 03 B8 */ stfs f0, 0x3b8(r31) /* 801C0694 001BD5F4 D0 1F 03 BC */ stfs f0, 0x3bc(r31) /* 801C0698 001BD5F8 D0 1F 03 C0 */ stfs f0, 0x3c0(r31) /* 801C069C 001BD5FC D0 1F 03 C4 */ stfs f0, 0x3c4(r31) /* 801C06A0 001BD600 D0 1F 03 C8 */ stfs f0, 0x3c8(r31) /* 801C06A4 001BD604 90 9F 03 CC */ stw r4, 0x3cc(r31) /* 801C06A8 001BD608 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801C06AC 001BD60C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C06B0 001BD610 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801C06B4 001BD614 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801C06B8 001BD618 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801C06BC 001BD61C 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801C06C0 001BD620 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801C06C4 001BD624 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801C06C8 001BD628 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801C06CC 001BD62C 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801C06D0 001BD630 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801C06D4 001BD634 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801C06D8 001BD638 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 801C06DC 001BD63C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801C06E0 001BD640 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 801C06E4 001BD644 82 FF 03 84 */ lwz r23, 0x384(r31) /* 801C06E8 001BD648 48 00 00 60 */ b lbl_801C0748 lbl_801C06EC: /* 801C06EC 001BD64C 80 7F 03 84 */ lwz r3, 0x384(r31) /* 801C06F0 001BD650 38 80 00 01 */ li r4, 1 /* 801C06F4 001BD654 C8 22 AA 60 */ lfd f1, lbl_805AC780@sda21(r2) /* 801C06F8 001BD658 88 03 01 D0 */ lbz r0, 0x1d0(r3) /* 801C06FC 001BD65C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801C0700 001BD660 98 03 01 D0 */ stb r0, 0x1d0(r3) /* 801C0704 001BD664 80 7F 03 84 */ lwz r3, 0x384(r31) /* 801C0708 001BD668 81 83 00 00 */ lwz r12, 0(r3) /* 801C070C 001BD66C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C0710 001BD670 7D 89 03 A6 */ mtctr r12 /* 801C0714 001BD674 4E 80 04 21 */ bctrl /* 801C0718 001BD678 80 7F 03 88 */ lwz r3, 0x388(r31) /* 801C071C 001BD67C 38 80 00 01 */ li r4, 1 /* 801C0720 001BD680 C8 22 AA 60 */ lfd f1, lbl_805AC780@sda21(r2) /* 801C0724 001BD684 88 03 01 D0 */ lbz r0, 0x1d0(r3) /* 801C0728 001BD688 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801C072C 001BD68C 98 03 01 D0 */ stb r0, 0x1d0(r3) /* 801C0730 001BD690 80 7F 03 88 */ lwz r3, 0x388(r31) /* 801C0734 001BD694 81 83 00 00 */ lwz r12, 0(r3) /* 801C0738 001BD698 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C073C 001BD69C 7D 89 03 A6 */ mtctr r12 /* 801C0740 001BD6A0 4E 80 04 21 */ bctrl /* 801C0744 001BD6A4 3A 10 00 01 */ addi r16, r16, 1 lbl_801C0748: /* 801C0748 001BD6A8 80 77 01 60 */ lwz r3, 0x160(r23) /* 801C074C 001BD6AC 38 03 FF FF */ addi r0, r3, -1 /* 801C0750 001BD6B0 7C 10 00 00 */ cmpw r16, r0 /* 801C0754 001BD6B4 41 80 FF 98 */ blt lbl_801C06EC /* 801C0758 001BD6B8 7F E3 FB 78 */ mr r3, r31 /* 801C075C 001BD6BC BA 01 00 D0 */ lmw r16, 0xd0(r1) /* 801C0760 001BD6C0 80 01 01 14 */ lwz r0, 0x114(r1) /* 801C0764 001BD6C4 7C 08 03 A6 */ mtlr r0 /* 801C0768 001BD6C8 38 21 01 10 */ addi r1, r1, 0x110 .global sub_801c076c sub_801c076c: /* 801C076C 001BD6CC 4E 80 00 20 */ blr .global __sinit_CWaveBuster_cpp __sinit_CWaveBuster_cpp: /* 801C0770 001BD6D0 C0 82 AA 04 */ lfs f4, lbl_805AC724@sda21(r2) /* 801C0774 001BD6D4 3C 80 80 47 */ lis r4, lbl_8046C908@ha /* 801C0778 001BD6D8 3C 60 80 47 */ lis r3, lbl_8046C914@ha /* 801C077C 001BD6DC C0 62 AA 68 */ lfs f3, lbl_805AC788@sda21(r2) /* 801C0780 001BD6E0 D4 84 C9 08 */ stfsu f4, lbl_8046C908@l(r4) /* 801C0784 001BD6E4 C0 42 AA 6C */ lfs f2, lbl_805AC78C@sda21(r2) /* 801C0788 001BD6E8 C0 22 AA 70 */ lfs f1, lbl_805AC790@sda21(r2) /* 801C078C 001BD6EC D4 83 C9 14 */ stfsu f4, lbl_8046C914@l(r3) /* 801C0790 001BD6F0 C0 02 AA 74 */ lfs f0, lbl_805AC794@sda21(r2) /* 801C0794 001BD6F4 D0 64 00 04 */ stfs f3, 4(r4) /* 801C0798 001BD6F8 D0 44 00 08 */ stfs f2, 8(r4) /* 801C079C 001BD6FC D0 23 00 04 */ stfs f1, 4(r3) /* 801C07A0 001BD700 D0 03 00 08 */ stfs f0, 8(r3) /* 801C07A4 001BD704 4E 80 00 20 */ blr .global Update__19CStaticInterferenceFR13CStateManagerf Update__19CStaticInterferenceFR13CStateManagerf: /* 801C07A8 001BD708 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801C07AC 001BD70C 7C 08 02 A6 */ mflr r0 /* 801C07B0 001BD710 90 01 00 64 */ stw r0, 0x64(r1) /* 801C07B4 001BD714 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801C07B8 001BD718 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801C07BC 001BD71C DB C1 00 40 */ stfd f30, 0x40(r1) /* 801C07C0 001BD720 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 801C07C4 001BD724 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801C07C8 001BD728 93 C1 00 38 */ stw r30, 0x38(r1) /* 801C07CC 001BD72C 7C 7F 1B 78 */ mr r31, r3 /* 801C07D0 001BD730 38 00 00 00 */ li r0, 0 /* 801C07D4 001BD734 83 C3 00 0C */ lwz r30, 0xc(r3) /* 801C07D8 001BD738 FF C0 08 90 */ fmr f30, f1 /* 801C07DC 001BD73C 38 61 00 20 */ addi r3, r1, 0x20 /* 801C07E0 001BD740 90 01 00 24 */ stw r0, 0x24(r1) /* 801C07E4 001BD744 90 01 00 28 */ stw r0, 0x28(r1) /* 801C07E8 001BD748 90 01 00 2C */ stw r0, 0x2c(r1) /* 801C07EC 001BD74C 80 9F 00 04 */ lwz r4, 4(r31) /* 801C07F0 001BD750 48 00 04 9D */ bl sub_801c0c8c /* 801C07F4 001BD754 C3 E2 AA 78 */ lfs f31, lbl_805AC798@sda21(r2) /* 801C07F8 001BD758 48 00 00 80 */ b lbl_801C0878 lbl_801C07FC: /* 801C07FC 001BD75C C0 1E 00 08 */ lfs f0, 8(r30) /* 801C0800 001BD760 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801C0804 001BD764 40 80 00 68 */ bge lbl_801C086C /* 801C0808 001BD768 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C080C 001BD76C 80 A1 00 28 */ lwz r5, 0x28(r1) /* 801C0810 001BD770 7C 00 28 00 */ cmpw r0, r5 /* 801C0814 001BD774 41 80 00 1C */ blt lbl_801C0830 /* 801C0818 001BD778 2C 05 00 00 */ cmpwi r5, 0 /* 801C081C 001BD77C 38 61 00 20 */ addi r3, r1, 0x20 /* 801C0820 001BD780 38 80 00 04 */ li r4, 4 /* 801C0824 001BD784 41 82 00 08 */ beq lbl_801C082C /* 801C0828 001BD788 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C082C: /* 801C082C 001BD78C 48 00 04 61 */ bl sub_801c0c8c lbl_801C0830: /* 801C0830 001BD790 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C0834 001BD794 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801C0838 001BD798 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C083C 001BD79C 7C 63 02 15 */ add. r3, r3, r0 /* 801C0840 001BD7A0 41 82 00 1C */ beq lbl_801C085C /* 801C0844 001BD7A4 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C0848 001BD7A8 B0 03 00 00 */ sth r0, 0(r3) /* 801C084C 001BD7AC C0 1E 00 04 */ lfs f0, 4(r30) /* 801C0850 001BD7B0 D0 03 00 04 */ stfs f0, 4(r3) /* 801C0854 001BD7B4 C0 1E 00 08 */ lfs f0, 8(r30) /* 801C0858 001BD7B8 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C085C: /* 801C085C 001BD7BC 80 61 00 24 */ lwz r3, 0x24(r1) /* 801C0860 001BD7C0 38 03 00 01 */ addi r0, r3, 1 /* 801C0864 001BD7C4 90 01 00 24 */ stw r0, 0x24(r1) /* 801C0868 001BD7C8 48 00 00 0C */ b lbl_801C0874 lbl_801C086C: /* 801C086C 001BD7CC EC 00 F0 28 */ fsubs f0, f0, f30 /* 801C0870 001BD7D0 D0 1E 00 08 */ stfs f0, 8(r30) lbl_801C0874: /* 801C0874 001BD7D4 3B DE 00 0C */ addi r30, r30, 0xc lbl_801C0878: /* 801C0878 001BD7D8 80 1F 00 04 */ lwz r0, 4(r31) /* 801C087C 001BD7DC 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801C0880 001BD7E0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C0884 001BD7E4 7C 03 02 14 */ add r0, r3, r0 /* 801C0888 001BD7E8 7C 1E 00 40 */ cmplw r30, r0 /* 801C088C 001BD7EC 40 82 FF 70 */ bne lbl_801C07FC /* 801C0890 001BD7F0 83 C1 00 2C */ lwz r30, 0x2c(r1) /* 801C0894 001BD7F4 48 00 00 20 */ b lbl_801C08B4 lbl_801C0898: /* 801C0898 001BD7F8 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C089C 001BD7FC 7F E3 FB 78 */ mr r3, r31 /* 801C08A0 001BD800 38 81 00 0C */ addi r4, r1, 0xc /* 801C08A4 001BD804 B0 01 00 08 */ sth r0, 8(r1) /* 801C08A8 001BD808 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C08AC 001BD80C 48 00 01 09 */ bl sub_801c09b4 /* 801C08B0 001BD810 3B DE 00 0C */ addi r30, r30, 0xc lbl_801C08B4: /* 801C08B4 001BD814 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C08B8 001BD818 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801C08BC 001BD81C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C08C0 001BD820 7C 03 02 14 */ add r0, r3, r0 /* 801C08C4 001BD824 7C 1E 00 40 */ cmplw r30, r0 /* 801C08C8 001BD828 40 82 FF D0 */ bne lbl_801C0898 /* 801C08CC 001BD82C 90 01 00 1C */ stw r0, 0x1c(r1) /* 801C08D0 001BD830 7C 64 1B 78 */ mr r4, r3 /* 801C08D4 001BD834 90 01 00 18 */ stw r0, 0x18(r1) /* 801C08D8 001BD838 90 61 00 14 */ stw r3, 0x14(r1) /* 801C08DC 001BD83C 90 61 00 10 */ stw r3, 0x10(r1) /* 801C08E0 001BD840 48 00 00 08 */ b lbl_801C08E8 lbl_801C08E4: /* 801C08E4 001BD844 38 84 00 0C */ addi r4, r4, 0xc lbl_801C08E8: /* 801C08E8 001BD848 7C 04 00 40 */ cmplw r4, r0 /* 801C08EC 001BD84C 40 82 FF F8 */ bne lbl_801C08E4 /* 801C08F0 001BD850 28 03 00 00 */ cmplwi r3, 0 /* 801C08F4 001BD854 41 82 00 08 */ beq lbl_801C08FC /* 801C08F8 001BD858 48 15 50 39 */ bl Free__7CMemoryFPCv lbl_801C08FC: /* 801C08FC 001BD85C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801C0900 001BD860 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801C0904 001BD864 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 801C0908 001BD868 CB C1 00 40 */ lfd f30, 0x40(r1) /* 801C090C 001BD86C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801C0910 001BD870 80 01 00 64 */ lwz r0, 0x64(r1) /* 801C0914 001BD874 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801C0918 001BD878 7C 08 03 A6 */ mtlr r0 /* 801C091C 001BD87C 38 21 00 60 */ addi r1, r1, 0x60 /* 801C0920 001BD880 4E 80 00 20 */ blr .global GetTotalInterference__19CStaticInterferenceCFv GetTotalInterference__19CStaticInterferenceCFv: /* 801C0924 001BD884 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C0928 001BD888 C0 22 AA 78 */ lfs f1, lbl_805AC798@sda21(r2) /* 801C092C 001BD88C 80 03 00 04 */ lwz r0, 4(r3) /* 801C0930 001BD890 80 A3 00 0C */ lwz r5, 0xc(r3) /* 801C0934 001BD894 FC 40 08 90 */ fmr f2, f1 /* 801C0938 001BD898 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C093C 001BD89C A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 801C0940 001BD8A0 7C 85 02 14 */ add r4, r5, r0 /* 801C0944 001BD8A4 48 00 00 2C */ b lbl_801C0970 lbl_801C0948: /* 801C0948 001BD8A8 A0 05 00 00 */ lhz r0, 0(r5) /* 801C094C 001BD8AC C0 05 00 04 */ lfs f0, 4(r5) /* 801C0950 001BD8B0 7C 00 18 40 */ cmplw r0, r3 /* 801C0954 001BD8B4 40 82 00 08 */ bne lbl_801C095C /* 801C0958 001BD8B8 EC 42 00 2A */ fadds f2, f2, f0 lbl_801C095C: /* 801C095C 001BD8BC A0 05 00 00 */ lhz r0, 0(r5) /* 801C0960 001BD8C0 7C 00 18 40 */ cmplw r0, r3 /* 801C0964 001BD8C4 41 82 00 08 */ beq lbl_801C096C /* 801C0968 001BD8C8 EC 21 00 2A */ fadds f1, f1, f0 lbl_801C096C: /* 801C096C 001BD8CC 38 A5 00 0C */ addi r5, r5, 0xc lbl_801C0970: /* 801C0970 001BD8D0 7C 05 20 40 */ cmplw r5, r4 /* 801C0974 001BD8D4 40 82 FF D4 */ bne lbl_801C0948 /* 801C0978 001BD8D8 C0 02 AA 7C */ lfs f0, lbl_805AC79C@sda21(r2) /* 801C097C 001BD8DC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C0980 001BD8E0 40 81 00 08 */ ble lbl_801C0988 /* 801C0984 001BD8E4 FC 20 00 90 */ fmr f1, f0 lbl_801C0988: /* 801C0988 001BD8E8 EC 21 10 2A */ fadds f1, f1, f2 /* 801C098C 001BD8EC C0 0D 91 20 */ lfs f0, lbl_805A7CE0@sda21(r13) /* 801C0990 001BD8F0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C0994 001BD8F4 D0 21 00 08 */ stfs f1, 8(r1) /* 801C0998 001BD8F8 40 80 00 0C */ bge lbl_801C09A4 /* 801C099C 001BD8FC 38 6D 91 20 */ addi r3, r13, lbl_805A7CE0@sda21 /* 801C09A0 001BD900 48 00 00 08 */ b lbl_801C09A8 lbl_801C09A4: /* 801C09A4 001BD904 38 61 00 08 */ addi r3, r1, 8 lbl_801C09A8: /* 801C09A8 001BD908 C0 23 00 00 */ lfs f1, 0(r3) /* 801C09AC 001BD90C 38 21 00 10 */ addi r1, r1, 0x10 /* 801C09B0 001BD910 4E 80 00 20 */ blr .global sub_801c09b4 sub_801c09b4: /* 801C09B4 001BD914 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C09B8 001BD918 7C 08 02 A6 */ mflr r0 /* 801C09BC 001BD91C 90 01 00 24 */ stw r0, 0x24(r1) /* 801C09C0 001BD920 80 03 00 04 */ lwz r0, 4(r3) /* 801C09C4 001BD924 80 A3 00 0C */ lwz r5, 0xc(r3) /* 801C09C8 001BD928 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C09CC 001BD92C 90 A1 00 10 */ stw r5, 0x10(r1) /* 801C09D0 001BD930 7C C5 02 14 */ add r6, r5, r0 /* 801C09D4 001BD934 48 00 00 24 */ b lbl_801C09F8 lbl_801C09D8: /* 801C09D8 001BD938 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801C09DC 001BD93C A0 04 00 00 */ lhz r0, 0(r4) /* 801C09E0 001BD940 A0 A5 00 00 */ lhz r5, 0(r5) /* 801C09E4 001BD944 7C 05 00 40 */ cmplw r5, r0 /* 801C09E8 001BD948 41 82 00 1C */ beq lbl_801C0A04 /* 801C09EC 001BD94C 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801C09F0 001BD950 38 05 00 0C */ addi r0, r5, 0xc /* 801C09F4 001BD954 90 01 00 10 */ stw r0, 0x10(r1) lbl_801C09F8: /* 801C09F8 001BD958 80 01 00 10 */ lwz r0, 0x10(r1) /* 801C09FC 001BD95C 7C 00 30 40 */ cmplw r0, r6 /* 801C0A00 001BD960 40 82 FF D8 */ bne lbl_801C09D8 lbl_801C0A04: /* 801C0A04 001BD964 80 01 00 10 */ lwz r0, 0x10(r1) /* 801C0A08 001BD968 7C 00 30 40 */ cmplw r0, r6 /* 801C0A0C 001BD96C 41 82 00 1C */ beq lbl_801C0A28 /* 801C0A10 001BD970 80 01 00 10 */ lwz r0, 0x10(r1) /* 801C0A14 001BD974 7C 64 1B 78 */ mr r4, r3 /* 801C0A18 001BD978 38 61 00 0C */ addi r3, r1, 0xc /* 801C0A1C 001BD97C 38 A1 00 08 */ addi r5, r1, 8 /* 801C0A20 001BD980 90 01 00 08 */ stw r0, 8(r1) /* 801C0A24 001BD984 48 00 00 15 */ bl sub_801c0a38 lbl_801C0A28: /* 801C0A28 001BD988 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C0A2C 001BD98C 7C 08 03 A6 */ mtlr r0 /* 801C0A30 001BD990 38 21 00 20 */ addi r1, r1, 0x20 /* 801C0A34 001BD994 4E 80 00 20 */ blr .global sub_801c0a38 sub_801c0a38: /* 801C0A38 001BD998 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C0A3C 001BD99C 7C 08 02 A6 */ mflr r0 /* 801C0A40 001BD9A0 90 01 00 24 */ stw r0, 0x24(r1) /* 801C0A44 001BD9A4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C0A48 001BD9A8 7C 7F 1B 78 */ mr r31, r3 /* 801C0A4C 001BD9AC 80 C5 00 00 */ lwz r6, 0(r5) /* 801C0A50 001BD9B0 80 05 00 00 */ lwz r0, 0(r5) /* 801C0A54 001BD9B4 38 A1 00 10 */ addi r5, r1, 0x10 /* 801C0A58 001BD9B8 38 E6 00 0C */ addi r7, r6, 0xc /* 801C0A5C 001BD9BC 38 C1 00 0C */ addi r6, r1, 0xc /* 801C0A60 001BD9C0 90 E1 00 08 */ stw r7, 8(r1) /* 801C0A64 001BD9C4 90 E1 00 0C */ stw r7, 0xc(r1) /* 801C0A68 001BD9C8 90 01 00 10 */ stw r0, 0x10(r1) /* 801C0A6C 001BD9CC 48 00 00 19 */ bl sub_801c0a84 /* 801C0A70 001BD9D0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C0A74 001BD9D4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C0A78 001BD9D8 7C 08 03 A6 */ mtlr r0 /* 801C0A7C 001BD9DC 38 21 00 20 */ addi r1, r1, 0x20 /* 801C0A80 001BD9E0 4E 80 00 20 */ blr .global sub_801c0a84 sub_801c0a84: /* 801C0A84 001BD9E4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C0A88 001BD9E8 80 E5 00 00 */ lwz r7, 0(r5) /* 801C0A8C 001BD9EC 80 06 00 00 */ lwz r0, 0(r6) /* 801C0A90 001BD9F0 90 E1 00 0C */ stw r7, 0xc(r1) /* 801C0A94 001BD9F4 90 01 00 08 */ stw r0, 8(r1) /* 801C0A98 001BD9F8 48 00 00 08 */ b lbl_801C0AA0 lbl_801C0A9C: /* 801C0A9C 001BD9FC 38 E7 00 0C */ addi r7, r7, 0xc lbl_801C0AA0: /* 801C0AA0 001BDA00 7C 07 00 40 */ cmplw r7, r0 /* 801C0AA4 001BDA04 40 82 FF F8 */ bne lbl_801C0A9C /* 801C0AA8 001BDA08 81 24 00 0C */ lwz r9, 0xc(r4) /* 801C0AAC 001BDA0C 3C E0 2A AB */ lis r7, 0x2AAAAAAB@ha /* 801C0AB0 001BDA10 80 05 00 00 */ lwz r0, 0(r5) /* 801C0AB4 001BDA14 38 E7 AA AB */ addi r7, r7, 0x2AAAAAAB@l /* 801C0AB8 001BDA18 81 06 00 00 */ lwz r8, 0(r6) /* 801C0ABC 001BDA1C 7C 09 00 50 */ subf r0, r9, r0 /* 801C0AC0 001BDA20 7C 07 00 96 */ mulhw r0, r7, r0 /* 801C0AC4 001BDA24 7C 00 0E 70 */ srawi r0, r0, 1 /* 801C0AC8 001BDA28 54 06 0F FE */ srwi r6, r0, 0x1f /* 801C0ACC 001BDA2C 7C C0 32 14 */ add r6, r0, r6 /* 801C0AD0 001BDA30 1C 06 00 0C */ mulli r0, r6, 0xc /* 801C0AD4 001BDA34 7C CA 33 78 */ mr r10, r6 /* 801C0AD8 001BDA38 7C E9 02 14 */ add r7, r9, r0 /* 801C0ADC 001BDA3C 48 00 00 30 */ b lbl_801C0B0C lbl_801C0AE0: /* 801C0AE0 001BDA40 28 07 00 00 */ cmplwi r7, 0 /* 801C0AE4 001BDA44 41 82 00 1C */ beq lbl_801C0B00 /* 801C0AE8 001BDA48 A0 08 00 00 */ lhz r0, 0(r8) /* 801C0AEC 001BDA4C B0 07 00 00 */ sth r0, 0(r7) /* 801C0AF0 001BDA50 C0 08 00 04 */ lfs f0, 4(r8) /* 801C0AF4 001BDA54 D0 07 00 04 */ stfs f0, 4(r7) /* 801C0AF8 001BDA58 C0 08 00 08 */ lfs f0, 8(r8) /* 801C0AFC 001BDA5C D0 07 00 08 */ stfs f0, 8(r7) lbl_801C0B00: /* 801C0B00 001BDA60 38 E7 00 0C */ addi r7, r7, 0xc /* 801C0B04 001BDA64 39 4A 00 01 */ addi r10, r10, 1 /* 801C0B08 001BDA68 39 08 00 0C */ addi r8, r8, 0xc lbl_801C0B0C: /* 801C0B0C 001BDA6C 80 04 00 04 */ lwz r0, 4(r4) /* 801C0B10 001BDA70 80 C4 00 0C */ lwz r6, 0xc(r4) /* 801C0B14 001BDA74 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C0B18 001BDA78 7C 06 02 14 */ add r0, r6, r0 /* 801C0B1C 001BDA7C 7C 08 00 40 */ cmplw r8, r0 /* 801C0B20 001BDA80 40 82 FF C0 */ bne lbl_801C0AE0 /* 801C0B24 001BDA84 91 44 00 04 */ stw r10, 4(r4) /* 801C0B28 001BDA88 80 05 00 00 */ lwz r0, 0(r5) /* 801C0B2C 001BDA8C 90 03 00 00 */ stw r0, 0(r3) /* 801C0B30 001BDA90 38 21 00 10 */ addi r1, r1, 0x10 /* 801C0B34 001BDA94 4E 80 00 20 */ blr .global AddSource__19CStaticInterferenceF9TUniqueId AddSource__19CStaticInterferenceF9TUniqueId: /* 801C0B38 001BDA98 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801C0B3C 001BDA9C 7C 08 02 A6 */ mflr r0 /* 801C0B40 001BDAA0 90 01 00 44 */ stw r0, 0x44(r1) /* 801C0B44 001BDAA4 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801C0B48 001BDAA8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801C0B4C 001BDAAC DB C1 00 20 */ stfd f30, 0x20(r1) /* 801C0B50 001BDAB0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 801C0B54 001BDAB4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C0B58 001BDAB8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801C0B5C 001BDABC FF C0 10 90 */ fmr f30, f2 /* 801C0B60 001BDAC0 7C 7F 1B 78 */ mr r31, r3 /* 801C0B64 001BDAC4 D0 21 00 08 */ stfs f1, 8(r1) /* 801C0B68 001BDAC8 7C 9E 23 78 */ mr r30, r4 /* 801C0B6C 001BDACC 38 81 00 08 */ addi r4, r1, 8 /* 801C0B70 001BDAD0 38 6D 91 18 */ addi r3, r13, lbl_805A7CD8@sda21 /* 801C0B74 001BDAD4 38 AD 91 1C */ addi r5, r13, lbl_805A7CDC@sda21 /* 801C0B78 001BDAD8 4B E4 B7 3D */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C0B7C 001BDADC 80 DF 00 04 */ lwz r6, 4(r31) /* 801C0B80 001BDAE0 80 9F 00 0C */ lwz r4, 0xc(r31) /* 801C0B84 001BDAE4 1C 06 00 0C */ mulli r0, r6, 0xc /* 801C0B88 001BDAE8 C3 E3 00 00 */ lfs f31, 0(r3) /* 801C0B8C 001BDAEC 7C A4 02 14 */ add r5, r4, r0 /* 801C0B90 001BDAF0 48 00 00 18 */ b lbl_801C0BA8 lbl_801C0B94: /* 801C0B94 001BDAF4 A0 64 00 00 */ lhz r3, 0(r4) /* 801C0B98 001BDAF8 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C0B9C 001BDAFC 7C 03 00 40 */ cmplw r3, r0 /* 801C0BA0 001BDB00 41 82 00 10 */ beq lbl_801C0BB0 /* 801C0BA4 001BDB04 38 84 00 0C */ addi r4, r4, 0xc lbl_801C0BA8: /* 801C0BA8 001BDB08 7C 04 28 40 */ cmplw r4, r5 /* 801C0BAC 001BDB0C 40 82 FF E8 */ bne lbl_801C0B94 lbl_801C0BB0: /* 801C0BB0 001BDB10 7C 04 28 40 */ cmplw r4, r5 /* 801C0BB4 001BDB14 41 82 00 10 */ beq lbl_801C0BC4 /* 801C0BB8 001BDB18 D3 E4 00 04 */ stfs f31, 4(r4) /* 801C0BBC 001BDB1C D3 C4 00 08 */ stfs f30, 8(r4) /* 801C0BC0 001BDB20 48 00 00 64 */ b lbl_801C0C24 lbl_801C0BC4: /* 801C0BC4 001BDB24 80 BF 00 08 */ lwz r5, 8(r31) /* 801C0BC8 001BDB28 7C 06 28 00 */ cmpw r6, r5 /* 801C0BCC 001BDB2C 40 80 00 58 */ bge lbl_801C0C24 /* 801C0BD0 001BDB30 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C0BD4 001BDB34 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C0BD8 001BDB38 41 80 00 1C */ blt lbl_801C0BF4 /* 801C0BDC 001BDB3C 2C 05 00 00 */ cmpwi r5, 0 /* 801C0BE0 001BDB40 7F E3 FB 78 */ mr r3, r31 /* 801C0BE4 001BDB44 38 80 00 04 */ li r4, 4 /* 801C0BE8 001BDB48 41 82 00 08 */ beq lbl_801C0BF0 /* 801C0BEC 001BDB4C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C0BF0: /* 801C0BF0 001BDB50 48 00 00 9D */ bl sub_801c0c8c lbl_801C0BF4: /* 801C0BF4 001BDB54 80 1F 00 04 */ lwz r0, 4(r31) /* 801C0BF8 001BDB58 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801C0BFC 001BDB5C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C0C00 001BDB60 7C 63 02 15 */ add. r3, r3, r0 /* 801C0C04 001BDB64 41 82 00 14 */ beq lbl_801C0C18 /* 801C0C08 001BDB68 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801C0C0C 001BDB6C B0 03 00 00 */ sth r0, 0(r3) /* 801C0C10 001BDB70 D3 E3 00 04 */ stfs f31, 4(r3) /* 801C0C14 001BDB74 D3 C3 00 08 */ stfs f30, 8(r3) lbl_801C0C18: /* 801C0C18 001BDB78 80 7F 00 04 */ lwz r3, 4(r31) /* 801C0C1C 001BDB7C 38 03 00 01 */ addi r0, r3, 1 /* 801C0C20 001BDB80 90 1F 00 04 */ stw r0, 4(r31) lbl_801C0C24: /* 801C0C24 001BDB84 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801C0C28 001BDB88 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801C0C2C 001BDB8C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 801C0C30 001BDB90 CB C1 00 20 */ lfd f30, 0x20(r1) /* 801C0C34 001BDB94 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C0C38 001BDB98 80 01 00 44 */ lwz r0, 0x44(r1) /* 801C0C3C 001BDB9C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801C0C40 001BDBA0 7C 08 03 A6 */ mtlr r0 /* 801C0C44 001BDBA4 38 21 00 40 */ addi r1, r1, 0x40 /* 801C0C48 001BDBA8 4E 80 00 20 */ blr .global __ct__19CStaticInterferenceFi __ct__19CStaticInterferenceFi: /* 801C0C4C 001BDBAC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C0C50 001BDBB0 7C 08 02 A6 */ mflr r0 /* 801C0C54 001BDBB4 90 01 00 14 */ stw r0, 0x14(r1) /* 801C0C58 001BDBB8 38 00 00 00 */ li r0, 0 /* 801C0C5C 001BDBBC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C0C60 001BDBC0 7C 7F 1B 78 */ mr r31, r3 /* 801C0C64 001BDBC4 90 03 00 04 */ stw r0, 4(r3) /* 801C0C68 001BDBC8 90 03 00 08 */ stw r0, 8(r3) /* 801C0C6C 001BDBCC 90 03 00 0C */ stw r0, 0xc(r3) /* 801C0C70 001BDBD0 48 00 00 1D */ bl sub_801c0c8c /* 801C0C74 001BDBD4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C0C78 001BDBD8 7F E3 FB 78 */ mr r3, r31 /* 801C0C7C 001BDBDC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C0C80 001BDBE0 7C 08 03 A6 */ mtlr r0 /* 801C0C84 001BDBE4 38 21 00 10 */ addi r1, r1, 0x10 /* 801C0C88 001BDBE8 4E 80 00 20 */ blr .global sub_801c0c8c sub_801c0c8c: /* 801C0C8C 001BDBEC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C0C90 001BDBF0 7C 08 02 A6 */ mflr r0 /* 801C0C94 001BDBF4 90 01 00 34 */ stw r0, 0x34(r1) /* 801C0C98 001BDBF8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C0C9C 001BDBFC 7C 9F 23 78 */ mr r31, r4 /* 801C0CA0 001BDC00 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C0CA4 001BDC04 7C 7E 1B 78 */ mr r30, r3 /* 801C0CA8 001BDC08 93 A1 00 24 */ stw r29, 0x24(r1) /* 801C0CAC 001BDC0C 80 03 00 08 */ lwz r0, 8(r3) /* 801C0CB0 001BDC10 7C 1F 00 00 */ cmpw r31, r0 /* 801C0CB4 001BDC14 40 81 00 BC */ ble lbl_801C0D70 /* 801C0CB8 001BDC18 1C 7F 00 0C */ mulli r3, r31, 0xc /* 801C0CBC 001BDC1C 2C 03 00 00 */ cmpwi r3, 0 /* 801C0CC0 001BDC20 40 82 00 0C */ bne lbl_801C0CCC /* 801C0CC4 001BDC24 3B A0 00 00 */ li r29, 0 /* 801C0CC8 001BDC28 48 00 00 18 */ b lbl_801C0CE0 lbl_801C0CCC: /* 801C0CCC 001BDC2C 3C 80 80 3D */ lis r4, lbl_803D1A78@ha /* 801C0CD0 001BDC30 38 A0 00 00 */ li r5, 0 /* 801C0CD4 001BDC34 38 84 1A 78 */ addi r4, r4, lbl_803D1A78@l /* 801C0CD8 001BDC38 48 15 4B 41 */ bl __nwa__FUlPCcPCc /* 801C0CDC 001BDC3C 7C 7D 1B 78 */ mr r29, r3 lbl_801C0CE0: /* 801C0CE0 001BDC40 80 1E 00 04 */ lwz r0, 4(r30) /* 801C0CE4 001BDC44 7F A4 EB 78 */ mr r4, r29 /* 801C0CE8 001BDC48 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801C0CEC 001BDC4C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C0CF0 001BDC50 90 A1 00 10 */ stw r5, 0x10(r1) /* 801C0CF4 001BDC54 7C 65 02 14 */ add r3, r5, r0 /* 801C0CF8 001BDC58 90 A1 00 14 */ stw r5, 0x14(r1) /* 801C0CFC 001BDC5C 90 61 00 08 */ stw r3, 8(r1) /* 801C0D00 001BDC60 90 61 00 0C */ stw r3, 0xc(r1) /* 801C0D04 001BDC64 48 00 00 2C */ b lbl_801C0D30 lbl_801C0D08: /* 801C0D08 001BDC68 28 04 00 00 */ cmplwi r4, 0 /* 801C0D0C 001BDC6C 41 82 00 1C */ beq lbl_801C0D28 /* 801C0D10 001BDC70 A0 05 00 00 */ lhz r0, 0(r5) /* 801C0D14 001BDC74 B0 04 00 00 */ sth r0, 0(r4) /* 801C0D18 001BDC78 C0 05 00 04 */ lfs f0, 4(r5) /* 801C0D1C 001BDC7C D0 04 00 04 */ stfs f0, 4(r4) /* 801C0D20 001BDC80 C0 05 00 08 */ lfs f0, 8(r5) /* 801C0D24 001BDC84 D0 04 00 08 */ stfs f0, 8(r4) lbl_801C0D28: /* 801C0D28 001BDC88 38 84 00 0C */ addi r4, r4, 0xc /* 801C0D2C 001BDC8C 38 A5 00 0C */ addi r5, r5, 0xc lbl_801C0D30: /* 801C0D30 001BDC90 7C 05 18 40 */ cmplw r5, r3 /* 801C0D34 001BDC94 40 82 FF D4 */ bne lbl_801C0D08 /* 801C0D38 001BDC98 80 1E 00 04 */ lwz r0, 4(r30) /* 801C0D3C 001BDC9C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801C0D40 001BDCA0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C0D44 001BDCA4 7C 64 1B 78 */ mr r4, r3 /* 801C0D48 001BDCA8 7C 03 02 14 */ add r0, r3, r0 /* 801C0D4C 001BDCAC 48 00 00 08 */ b lbl_801C0D54 lbl_801C0D50: /* 801C0D50 001BDCB0 38 84 00 0C */ addi r4, r4, 0xc lbl_801C0D54: /* 801C0D54 001BDCB4 7C 04 00 40 */ cmplw r4, r0 /* 801C0D58 001BDCB8 40 82 FF F8 */ bne lbl_801C0D50 /* 801C0D5C 001BDCBC 28 03 00 00 */ cmplwi r3, 0 /* 801C0D60 001BDCC0 41 82 00 08 */ beq lbl_801C0D68 /* 801C0D64 001BDCC4 48 15 4B CD */ bl Free__7CMemoryFPCv lbl_801C0D68: /* 801C0D68 001BDCC8 93 BE 00 0C */ stw r29, 0xc(r30) /* 801C0D6C 001BDCCC 93 FE 00 08 */ stw r31, 8(r30) lbl_801C0D70: /* 801C0D70 001BDCD0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C0D74 001BDCD4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C0D78 001BDCD8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C0D7C 001BDCDC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801C0D80 001BDCE0 7C 08 03 A6 */ mtlr r0 /* 801C0D84 001BDCE4 38 21 00 30 */ addi r1, r1, 0x30 /* 801C0D88 001BDCE8 4E 80 00 20 */ blr .global IsListening__12CMetroidBetaCFv IsListening__12CMetroidBetaCFv: /* 801C0D8C 001BDCEC 38 60 00 01 */ li r3, 1 /* 801C0D90 001BDCF0 4E 80 00 20 */ blr .global GetCollisionPrimitive__12CMetroidBetaCFv GetCollisionPrimitive__12CMetroidBetaCFv: /* 801C0D94 001BDCF4 38 63 07 68 */ addi r3, r3, 0x768 /* 801C0D98 001BDCF8 4E 80 00 20 */ blr .global GetSearchPath__12CMetroidBetaFv GetSearchPath__12CMetroidBetaFv: /* 801C0D9C 001BDCFC 38 63 06 7C */ addi r3, r3, 0x67c /* 801C0DA0 001BDD00 4E 80 00 20 */ blr .global sub_801c0da4 sub_801c0da4: /* 801C0DA4 001BDD04 C0 43 07 94 */ lfs f2, 0x794(r3) /* 801C0DA8 001BDD08 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C0DAC 001BDD0C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801C0DB0 001BDD10 40 81 00 30 */ ble lbl_801C0DE0 /* 801C0DB4 001BDD14 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C0DB8 001BDD18 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801C0DBC 001BDD1C 2C 00 00 01 */ cmpwi r0, 1 /* 801C0DC0 001BDD20 40 82 00 10 */ bne lbl_801C0DD0 /* 801C0DC4 001BDD24 C0 02 AA 9C */ lfs f0, lbl_805AC7BC@sda21(r2) /* 801C0DC8 001BDD28 EC 40 00 72 */ fmuls f2, f0, f1 /* 801C0DCC 001BDD2C 48 00 00 08 */ b lbl_801C0DD4 lbl_801C0DD0: /* 801C0DD0 001BDD30 FC 40 08 90 */ fmr f2, f1 lbl_801C0DD4: /* 801C0DD4 001BDD34 C0 03 07 94 */ lfs f0, 0x794(r3) /* 801C0DD8 001BDD38 EC 00 10 28 */ fsubs f0, f0, f2 /* 801C0DDC 001BDD3C D0 03 07 94 */ stfs f0, 0x794(r3) lbl_801C0DE0: /* 801C0DE0 001BDD40 C0 02 AA A0 */ lfs f0, lbl_805AC7C0@sda21(r2) /* 801C0DE4 001BDD44 C0 43 08 3C */ lfs f2, 0x83c(r3) /* 801C0DE8 001BDD48 EC 00 00 72 */ fmuls f0, f0, f1 /* 801C0DEC 001BDD4C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801C0DF0 001BDD50 40 81 00 0C */ ble lbl_801C0DFC /* 801C0DF4 001BDD54 EC 02 00 28 */ fsubs f0, f2, f0 /* 801C0DF8 001BDD58 48 00 00 08 */ b lbl_801C0E00 lbl_801C0DFC: /* 801C0DFC 001BDD5C C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) lbl_801C0E00: /* 801C0E00 001BDD60 D0 03 08 3C */ stfs f0, 0x83c(r3) /* 801C0E04 001BDD64 4E 80 00 20 */ blr .global sub_801c0e08 sub_801c0e08: /* 801C0E08 001BDD68 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C0E0C 001BDD6C 7C 08 02 A6 */ mflr r0 /* 801C0E10 001BDD70 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C0E14 001BDD74 90 01 00 54 */ stw r0, 0x54(r1) /* 801C0E18 001BDD78 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801C0E1C 001BDD7C 7C 7F 1B 78 */ mr r31, r3 /* 801C0E20 001BDD80 80 63 04 50 */ lwz r3, 0x450(r3) /* 801C0E24 001BDD84 C0 A3 00 04 */ lfs f5, 4(r3) /* 801C0E28 001BDD88 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 801C0E2C 001BDD8C C0 63 00 08 */ lfs f3, 8(r3) /* 801C0E30 001BDD90 D0 61 00 18 */ stfs f3, 0x18(r1) /* 801C0E34 001BDD94 C0 83 00 0C */ lfs f4, 0xc(r3) /* 801C0E38 001BDD98 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801C0E3C 001BDD9C C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801C0E40 001BDDA0 C0 5F 00 38 */ lfs f2, 0x38(r31) /* 801C0E44 001BDDA4 EC 21 00 F2 */ fmuls f1, f1, f3 /* 801C0E48 001BDDA8 C0 7F 00 58 */ lfs f3, 0x58(r31) /* 801C0E4C 001BDDAC EC 22 09 7A */ fmadds f1, f2, f5, f1 /* 801C0E50 001BDDB0 EC 23 09 3A */ fmadds f1, f3, f4, f1 /* 801C0E54 001BDDB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C0E58 001BDDB8 40 80 00 78 */ bge lbl_801C0ED0 /* 801C0E5C 001BDDBC 38 61 00 14 */ addi r3, r1, 0x14 /* 801C0E60 001BDDC0 48 15 38 99 */ bl CanBeNormalized__9CVector3fCFv /* 801C0E64 001BDDC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C0E68 001BDDC8 41 82 00 68 */ beq lbl_801C0ED0 /* 801C0E6C 001BDDCC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C0E70 001BDDD0 38 63 00 04 */ addi r3, r3, 4 /* 801C0E74 001BDDD4 4B F7 06 35 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 801C0E78 001BDDD8 38 61 00 08 */ addi r3, r1, 8 /* 801C0E7C 001BDDDC 38 81 00 14 */ addi r4, r1, 0x14 /* 801C0E80 001BDDE0 48 15 39 D1 */ bl AsNormalized__9CVector3fCFv /* 801C0E84 001BDDE4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C0E88 001BDDE8 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801C0E8C 001BDDEC C0 61 00 08 */ lfs f3, 8(r1) /* 801C0E90 001BDDF0 38 81 00 20 */ addi r4, r1, 0x20 /* 801C0E94 001BDDF4 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801C0E98 001BDDF8 C0 A3 00 04 */ lfs f5, 4(r3) /* 801C0E9C 001BDDFC C0 83 00 08 */ lfs f4, 8(r3) /* 801C0EA0 001BDE00 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801C0EA4 001BDE04 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C0EA8 001BDE08 D0 C1 00 20 */ stfs f6, 0x20(r1) /* 801C0EAC 001BDE0C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 801C0EB0 001BDE10 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801C0EB4 001BDE14 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801C0EB8 001BDE18 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801C0EBC 001BDE1C D0 21 00 34 */ stfs f1, 0x34(r1) /* 801C0EC0 001BDE20 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801C0EC4 001BDE24 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C0EC8 001BDE28 38 63 00 04 */ addi r3, r3, 4 /* 801C0ECC 001BDE2C 4B F7 08 4D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C0ED0: /* 801C0ED0 001BDE30 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C0ED4 001BDE34 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801C0ED8 001BDE38 7C 08 03 A6 */ mtlr r0 /* 801C0EDC 001BDE3C 38 21 00 50 */ addi r1, r1, 0x50 /* 801C0EE0 001BDE40 4E 80 00 20 */ blr .global sub_801c0ee4 sub_801c0ee4: /* 801C0EE4 001BDE44 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801C0EE8 001BDE48 7C 08 02 A6 */ mflr r0 /* 801C0EEC 001BDE4C 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801C0EF0 001BDE50 93 E1 00 BC */ stw r31, 0xbc(r1) /* 801C0EF4 001BDE54 7C BF 2B 78 */ mr r31, r5 /* 801C0EF8 001BDE58 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 801C0EFC 001BDE5C 7C 9E 23 78 */ mr r30, r4 /* 801C0F00 001BDE60 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 801C0F04 001BDE64 7C 7D 1B 78 */ mr r29, r3 /* 801C0F08 001BDE68 C0 C3 00 50 */ lfs f6, 0x50(r3) /* 801C0F0C 001BDE6C C0 05 00 04 */ lfs f0, 4(r5) /* 801C0F10 001BDE70 C0 E3 00 40 */ lfs f7, 0x40(r3) /* 801C0F14 001BDE74 EC 20 30 28 */ fsubs f1, f0, f6 /* 801C0F18 001BDE78 C0 05 00 00 */ lfs f0, 0(r5) /* 801C0F1C 001BDE7C C0 A3 00 60 */ lfs f5, 0x60(r3) /* 801C0F20 001BDE80 EC 60 38 28 */ fsubs f3, f0, f7 /* 801C0F24 001BDE84 C0 85 00 08 */ lfs f4, 8(r5) /* 801C0F28 001BDE88 EC 21 00 72 */ fmuls f1, f1, f1 /* 801C0F2C 001BDE8C EC 44 28 28 */ fsubs f2, f4, f5 /* 801C0F30 001BDE90 C0 02 AA A8 */ lfs f0, lbl_805AC7C8@sda21(r2) /* 801C0F34 001BDE94 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801C0F38 001BDE98 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801C0F3C 001BDE9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C0F40 001BDEA0 40 81 00 FC */ ble lbl_801C103C /* 801C0F44 001BDEA4 D0 E1 00 2C */ stfs f7, 0x2c(r1) /* 801C0F48 001BDEA8 7F A5 EB 78 */ mr r5, r29 /* 801C0F4C 001BDEAC C0 22 AA AC */ lfs f1, lbl_805AC7CC@sda21(r2) /* 801C0F50 001BDEB0 38 61 00 20 */ addi r3, r1, 0x20 /* 801C0F54 001BDEB4 D0 C1 00 30 */ stfs f6, 0x30(r1) /* 801C0F58 001BDEB8 38 9D 04 5C */ addi r4, r29, 0x45c /* 801C0F5C 001BDEBC 38 C1 00 44 */ addi r6, r1, 0x44 /* 801C0F60 001BDEC0 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 801C0F64 001BDEC4 D0 E1 00 44 */ stfs f7, 0x44(r1) /* 801C0F68 001BDEC8 D0 C1 00 48 */ stfs f6, 0x48(r1) /* 801C0F6C 001BDECC D0 81 00 4C */ stfs f4, 0x4c(r1) /* 801C0F70 001BDED0 4B F7 DB AD */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801C0F74 001BDED4 C0 81 00 24 */ lfs f4, 0x24(r1) /* 801C0F78 001BDED8 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801C0F7C 001BDEDC EC 24 01 32 */ fmuls f1, f4, f4 /* 801C0F80 001BDEE0 C0 A1 00 28 */ lfs f5, 0x28(r1) /* 801C0F84 001BDEE4 C0 02 AA B0 */ lfs f0, lbl_805AC7D0@sda21(r2) /* 801C0F88 001BDEE8 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801C0F8C 001BDEEC EC 25 09 7A */ fmadds f1, f5, f5, f1 /* 801C0F90 001BDEF0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C0F94 001BDEF4 40 81 00 44 */ ble lbl_801C0FD8 /* 801C0F98 001BDEF8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C0F9C 001BDEFC C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801C0FA0 001BDF00 C0 02 AA B4 */ lfs f0, lbl_805AC7D4@sda21(r2) /* 801C0FA4 001BDF04 38 81 00 88 */ addi r4, r1, 0x88 /* 801C0FA8 001BDF08 D0 41 00 88 */ stfs f2, 0x88(r1) /* 801C0FAC 001BDF0C C0 43 00 04 */ lfs f2, 4(r3) /* 801C0FB0 001BDF10 C0 23 00 08 */ lfs f1, 8(r3) /* 801C0FB4 001BDF14 D0 81 00 8C */ stfs f4, 0x8c(r1) /* 801C0FB8 001BDF18 D0 A1 00 90 */ stfs f5, 0x90(r1) /* 801C0FBC 001BDF1C D0 61 00 94 */ stfs f3, 0x94(r1) /* 801C0FC0 001BDF20 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801C0FC4 001BDF24 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801C0FC8 001BDF28 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801C0FCC 001BDF2C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C0FD0 001BDF30 38 63 00 04 */ addi r3, r3, 4 /* 801C0FD4 001BDF34 4B F7 07 45 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C0FD8: /* 801C0FD8 001BDF38 7F A5 EB 78 */ mr r5, r29 /* 801C0FDC 001BDF3C 7F E6 FB 78 */ mr r6, r31 /* 801C0FE0 001BDF40 38 61 00 14 */ addi r3, r1, 0x14 /* 801C0FE4 001BDF44 38 9D 04 5C */ addi r4, r29, 0x45c /* 801C0FE8 001BDF48 4B F7 DC 39 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f /* 801C0FEC 001BDF4C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C0FF0 001BDF50 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801C0FF4 001BDF54 C0 C1 00 14 */ lfs f6, 0x14(r1) /* 801C0FF8 001BDF58 38 81 00 6C */ addi r4, r1, 0x6c /* 801C0FFC 001BDF5C C0 A1 00 18 */ lfs f5, 0x18(r1) /* 801C1000 001BDF60 C0 81 00 1C */ lfs f4, 0x1c(r1) /* 801C1004 001BDF64 C0 43 00 04 */ lfs f2, 4(r3) /* 801C1008 001BDF68 C0 23 00 08 */ lfs f1, 8(r3) /* 801C100C 001BDF6C C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C1010 001BDF70 D0 C1 00 6C */ stfs f6, 0x6c(r1) /* 801C1014 001BDF74 D0 A1 00 70 */ stfs f5, 0x70(r1) /* 801C1018 001BDF78 D0 81 00 74 */ stfs f4, 0x74(r1) /* 801C101C 001BDF7C D0 61 00 78 */ stfs f3, 0x78(r1) /* 801C1020 001BDF80 D0 41 00 7C */ stfs f2, 0x7c(r1) /* 801C1024 001BDF84 D0 21 00 80 */ stfs f1, 0x80(r1) /* 801C1028 001BDF88 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801C102C 001BDF8C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C1030 001BDF90 38 63 00 04 */ addi r3, r3, 4 /* 801C1034 001BDF94 4B F7 06 E5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801C1038 001BDF98 48 00 00 BC */ b lbl_801C10F4 lbl_801C103C: /* 801C103C 001BDF9C 81 83 00 00 */ lwz r12, 0(r3) /* 801C1040 001BDFA0 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C1044 001BDFA4 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801C1048 001BDFA8 7D 89 03 A6 */ mtctr r12 /* 801C104C 001BDFAC 4E 80 04 21 */ bctrl /* 801C1050 001BDFB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C1054 001BDFB4 41 82 00 A0 */ beq lbl_801C10F4 /* 801C1058 001BDFB8 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 801C105C 001BDFBC 38 61 00 38 */ addi r3, r1, 0x38 /* 801C1060 001BDFC0 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 801C1064 001BDFC4 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801C1068 001BDFC8 C0 64 00 60 */ lfs f3, 0x60(r4) /* 801C106C 001BDFCC C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801C1070 001BDFD0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C1074 001BDFD4 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801C1078 001BDFD8 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801C107C 001BDFDC EC 43 10 28 */ fsubs f2, f3, f2 /* 801C1080 001BDFE0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C1084 001BDFE4 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801C1088 001BDFE8 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801C108C 001BDFEC D0 01 00 38 */ stfs f0, 0x38(r1) /* 801C1090 001BDFF0 48 15 36 69 */ bl CanBeNormalized__9CVector3fCFv /* 801C1094 001BDFF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C1098 001BDFF8 41 82 00 5C */ beq lbl_801C10F4 /* 801C109C 001BDFFC 38 61 00 08 */ addi r3, r1, 8 /* 801C10A0 001BE000 38 81 00 38 */ addi r4, r1, 0x38 /* 801C10A4 001BE004 48 15 37 AD */ bl AsNormalized__9CVector3fCFv /* 801C10A8 001BE008 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C10AC 001BE00C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801C10B0 001BE010 C0 61 00 08 */ lfs f3, 8(r1) /* 801C10B4 001BE014 38 81 00 50 */ addi r4, r1, 0x50 /* 801C10B8 001BE018 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801C10BC 001BE01C C0 A3 00 04 */ lfs f5, 4(r3) /* 801C10C0 001BE020 C0 83 00 08 */ lfs f4, 8(r3) /* 801C10C4 001BE024 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801C10C8 001BE028 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C10CC 001BE02C D0 C1 00 50 */ stfs f6, 0x50(r1) /* 801C10D0 001BE030 D0 A1 00 54 */ stfs f5, 0x54(r1) /* 801C10D4 001BE034 D0 81 00 58 */ stfs f4, 0x58(r1) /* 801C10D8 001BE038 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 801C10DC 001BE03C D0 41 00 60 */ stfs f2, 0x60(r1) /* 801C10E0 001BE040 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801C10E4 001BE044 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801C10E8 001BE048 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C10EC 001BE04C 38 63 00 04 */ addi r3, r3, 4 /* 801C10F0 001BE050 4B F7 06 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C10F4: /* 801C10F4 001BE054 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801C10F8 001BE058 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 801C10FC 001BE05C 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 801C1100 001BE060 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 801C1104 001BE064 7C 08 03 A6 */ mtlr r0 /* 801C1108 001BE068 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801C110C 001BE06C 4E 80 00 20 */ blr .global sub_801c1110 sub_801c1110: /* 801C1110 001BE070 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801C1114 001BE074 7C 08 02 A6 */ mflr r0 /* 801C1118 001BE078 90 01 00 64 */ stw r0, 0x64(r1) /* 801C111C 001BE07C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801C1120 001BE080 7C 7F 1B 78 */ mr r31, r3 /* 801C1124 001BE084 93 C1 00 58 */ stw r30, 0x58(r1) /* 801C1128 001BE088 93 A1 00 54 */ stw r29, 0x54(r1) /* 801C112C 001BE08C 93 81 00 50 */ stw r28, 0x50(r1) /* 801C1130 001BE090 83 A4 08 38 */ lwz r29, 0x838(r4) /* 801C1134 001BE094 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C1138 001BE098 3B C4 66 A0 */ addi r30, r4, skZero3f@l /* 801C113C 001BE09C AB 9D 20 08 */ lha r28, 0x2008(r29) /* 801C1140 001BE0A0 48 00 01 04 */ b lbl_801C1244 lbl_801C1144: /* 801C1144 001BE0A4 7F A3 EB 78 */ mr r3, r29 /* 801C1148 001BE0A8 7F 84 E3 78 */ mr r4, r28 /* 801C114C 001BE0AC 4B E4 EB 91 */ bl __vc__11CObjectListCFi /* 801C1150 001BE0B0 7C 64 1B 78 */ mr r4, r3 /* 801C1154 001BE0B4 38 61 00 08 */ addi r3, r1, 8 /* 801C1158 001BE0B8 4B EE B9 05 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 801C115C 001BE0BC 80 83 00 04 */ lwz r4, 4(r3) /* 801C1160 001BE0C0 28 04 00 00 */ cmplwi r4, 0 /* 801C1164 001BE0C4 41 82 00 C4 */ beq lbl_801C1228 /* 801C1168 001BE0C8 7C 04 F8 40 */ cmplw r4, r31 /* 801C116C 001BE0CC 41 82 00 BC */ beq lbl_801C1228 /* 801C1170 001BE0D0 80 64 00 04 */ lwz r3, 4(r4) /* 801C1174 001BE0D4 80 1F 00 04 */ lwz r0, 4(r31) /* 801C1178 001BE0D8 7C 03 00 00 */ cmpw r3, r0 /* 801C117C 001BE0DC 40 82 00 AC */ bne lbl_801C1228 /* 801C1180 001BE0E0 C0 64 00 60 */ lfs f3, 0x60(r4) /* 801C1184 001BE0E4 7F E5 FB 78 */ mr r5, r31 /* 801C1188 001BE0E8 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801C118C 001BE0EC 38 61 00 1C */ addi r3, r1, 0x1c /* 801C1190 001BE0F0 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801C1194 001BE0F4 38 9F 04 5C */ addi r4, r31, 0x45c /* 801C1198 001BE0F8 C0 22 AA B8 */ lfs f1, lbl_805AC7D8@sda21(r2) /* 801C119C 001BE0FC 38 C1 00 10 */ addi r6, r1, 0x10 /* 801C11A0 001BE100 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C11A4 001BE104 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801C11A8 001BE108 D0 61 00 18 */ stfs f3, 0x18(r1) /* 801C11AC 001BE10C 4B F7 D7 45 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801C11B0 001BE110 C0 C1 00 1C */ lfs f6, 0x1c(r1) /* 801C11B4 001BE114 38 00 00 00 */ li r0, 0 /* 801C11B8 001BE118 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C11BC 001BE11C C0 81 00 20 */ lfs f4, 0x20(r1) /* 801C11C0 001BE120 FC 00 30 00 */ fcmpu cr0, f0, f6 /* 801C11C4 001BE124 C0 A1 00 24 */ lfs f5, 0x24(r1) /* 801C11C8 001BE128 40 82 00 14 */ bne lbl_801C11DC /* 801C11CC 001BE12C FC 00 20 00 */ fcmpu cr0, f0, f4 /* 801C11D0 001BE130 40 82 00 0C */ bne lbl_801C11DC /* 801C11D4 001BE134 FC 00 28 00 */ fcmpu cr0, f0, f5 /* 801C11D8 001BE138 41 82 00 08 */ beq lbl_801C11E0 lbl_801C11DC: /* 801C11DC 001BE13C 38 00 00 01 */ li r0, 1 lbl_801C11E0: /* 801C11E0 001BE140 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801C11E4 001BE144 41 82 00 44 */ beq lbl_801C1228 /* 801C11E8 001BE148 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C11EC 001BE14C C0 5E 00 04 */ lfs f2, 4(r30) /* 801C11F0 001BE150 C0 3E 00 08 */ lfs f1, 8(r30) /* 801C11F4 001BE154 38 81 00 28 */ addi r4, r1, 0x28 /* 801C11F8 001BE158 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) /* 801C11FC 001BE15C C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C1200 001BE160 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 801C1204 001BE164 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801C1208 001BE168 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801C120C 001BE16C D0 61 00 34 */ stfs f3, 0x34(r1) /* 801C1210 001BE170 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801C1214 001BE174 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801C1218 001BE178 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801C121C 001BE17C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C1220 001BE180 38 63 00 04 */ addi r3, r3, 4 /* 801C1224 001BE184 4B F7 04 F5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C1228: /* 801C1228 001BE188 2C 1C FF FF */ cmpwi r28, -1 /* 801C122C 001BE18C 41 82 00 14 */ beq lbl_801C1240 /* 801C1230 001BE190 57 83 18 38 */ slwi r3, r28, 3 /* 801C1234 001BE194 38 03 00 08 */ addi r0, r3, 8 /* 801C1238 001BE198 7F 9D 02 AE */ lhax r28, r29, r0 /* 801C123C 001BE19C 48 00 00 08 */ b lbl_801C1244 lbl_801C1240: /* 801C1240 001BE1A0 3B 80 FF FF */ li r28, -1 lbl_801C1244: /* 801C1244 001BE1A4 2C 1C FF FF */ cmpwi r28, -1 /* 801C1248 001BE1A8 40 82 FE FC */ bne lbl_801C1144 /* 801C124C 001BE1AC 80 01 00 64 */ lwz r0, 0x64(r1) /* 801C1250 001BE1B0 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801C1254 001BE1B4 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801C1258 001BE1B8 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801C125C 001BE1BC 83 81 00 50 */ lwz r28, 0x50(r1) /* 801C1260 001BE1C0 7C 08 03 A6 */ mtlr r0 /* 801C1264 001BE1C4 38 21 00 60 */ addi r1, r1, 0x60 /* 801C1268 001BE1C8 4E 80 00 20 */ blr .global sub_801c126c sub_801c126c: /* 801C126C 001BE1CC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C1270 001BE1D0 7C 08 02 A6 */ mflr r0 /* 801C1274 001BE1D4 90 01 00 34 */ stw r0, 0x34(r1) /* 801C1278 001BE1D8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C127C 001BE1DC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C1280 001BE1E0 7C 7E 1B 78 */ mr r30, r3 /* 801C1284 001BE1E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801C1288 001BE1E8 A0 63 06 78 */ lhz r3, 0x678(r3) /* 801C128C 001BE1EC 7C 03 00 40 */ cmplw r3, r0 /* 801C1290 001BE1F0 41 82 00 68 */ beq lbl_801C12F8 /* 801C1294 001BE1F4 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C1298 001BE1F8 7C 83 23 78 */ mr r3, r4 /* 801C129C 001BE1FC 38 81 00 18 */ addi r4, r1, 0x18 /* 801C12A0 001BE200 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C12A4 001BE204 4B E8 B2 D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C12A8 001BE208 7C 64 1B 78 */ mr r4, r3 /* 801C12AC 001BE20C 38 61 00 1C */ addi r3, r1, 0x1c /* 801C12B0 001BE210 4B EE 62 C5 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801C12B4 001BE214 83 E3 00 04 */ lwz r31, 4(r3) /* 801C12B8 001BE218 28 1F 00 00 */ cmplwi r31, 0 /* 801C12BC 001BE21C 41 82 00 3C */ beq lbl_801C12F8 /* 801C12C0 001BE220 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C12C4 001BE224 7F E3 FB 78 */ mr r3, r31 /* 801C12C8 001BE228 38 81 00 14 */ addi r4, r1, 0x14 /* 801C12CC 001BE22C B0 01 00 10 */ sth r0, 0x10(r1) /* 801C12D0 001BE230 B0 01 00 14 */ sth r0, 0x14(r1) /* 801C12D4 001BE234 48 07 7D 1D */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 801C12D8 001BE238 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C12DC 001BE23C 41 82 00 1C */ beq lbl_801C12F8 /* 801C12E0 001BE240 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C12E4 001BE244 7F E3 FB 78 */ mr r3, r31 /* 801C12E8 001BE248 38 81 00 0C */ addi r4, r1, 0xc /* 801C12EC 001BE24C B0 01 00 08 */ sth r0, 8(r1) /* 801C12F0 001BE250 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C12F4 001BE254 48 07 82 01 */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId lbl_801C12F8: /* 801C12F8 001BE258 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C12FC 001BE25C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C1300 001BE260 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C1304 001BE264 7C 08 03 A6 */ mtlr r0 /* 801C1308 001BE268 38 21 00 30 */ addi r1, r1, 0x30 /* 801C130C 001BE26C 4E 80 00 20 */ blr .global sub_801c1310 sub_801c1310: /* 801C1310 001BE270 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C1314 001BE274 7C 08 02 A6 */ mflr r0 /* 801C1318 001BE278 90 01 00 34 */ stw r0, 0x34(r1) /* 801C131C 001BE27C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C1320 001BE280 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C1324 001BE284 7C 7E 1B 78 */ mr r30, r3 /* 801C1328 001BE288 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801C132C 001BE28C A0 63 06 78 */ lhz r3, 0x678(r3) /* 801C1330 001BE290 7C 03 00 40 */ cmplw r3, r0 /* 801C1334 001BE294 41 82 00 68 */ beq lbl_801C139C /* 801C1338 001BE298 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C133C 001BE29C 7C 83 23 78 */ mr r3, r4 /* 801C1340 001BE2A0 38 81 00 10 */ addi r4, r1, 0x10 /* 801C1344 001BE2A4 B0 01 00 10 */ sth r0, 0x10(r1) /* 801C1348 001BE2A8 4B E8 B2 2D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C134C 001BE2AC 7C 64 1B 78 */ mr r4, r3 /* 801C1350 001BE2B0 38 61 00 14 */ addi r3, r1, 0x14 /* 801C1354 001BE2B4 4B EE 62 21 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801C1358 001BE2B8 83 E3 00 04 */ lwz r31, 4(r3) /* 801C135C 001BE2BC 28 1F 00 00 */ cmplwi r31, 0 /* 801C1360 001BE2C0 41 82 00 3C */ beq lbl_801C139C /* 801C1364 001BE2C4 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C1368 001BE2C8 7F E3 FB 78 */ mr r3, r31 /* 801C136C 001BE2CC 38 81 00 0C */ addi r4, r1, 0xc /* 801C1370 001BE2D0 B0 01 00 08 */ sth r0, 8(r1) /* 801C1374 001BE2D4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C1378 001BE2D8 48 07 7C 79 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 801C137C 001BE2DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C1380 001BE2E0 40 82 00 1C */ bne lbl_801C139C /* 801C1384 001BE2E4 7F E3 FB 78 */ mr r3, r31 /* 801C1388 001BE2E8 7F C4 F3 78 */ mr r4, r30 /* 801C138C 001BE2EC 38 A0 00 02 */ li r5, 2 /* 801C1390 001BE2F0 38 C0 FF FF */ li r6, -1 /* 801C1394 001BE2F4 38 E0 FF FF */ li r7, -1 /* 801C1398 001BE2F8 48 07 84 15 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii lbl_801C139C: /* 801C139C 001BE2FC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C13A0 001BE300 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C13A4 001BE304 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C13A8 001BE308 7C 08 03 A6 */ mtlr r0 /* 801C13AC 001BE30C 38 21 00 30 */ addi r1, r1, 0x30 /* 801C13B0 001BE310 4E 80 00 20 */ blr .global sub_801c13b4 sub_801c13b4: /* 801C13B4 001BE314 80 63 00 64 */ lwz r3, 0x64(r3) /* 801C13B8 001BE318 C0 04 00 00 */ lfs f0, 0(r4) /* 801C13BC 001BE31C D0 03 00 00 */ stfs f0, 0(r3) /* 801C13C0 001BE320 C0 04 00 04 */ lfs f0, 4(r4) /* 801C13C4 001BE324 D0 03 00 04 */ stfs f0, 4(r3) /* 801C13C8 001BE328 C0 04 00 08 */ lfs f0, 8(r4) /* 801C13CC 001BE32C D0 03 00 08 */ stfs f0, 8(r3) /* 801C13D0 001BE330 4E 80 00 20 */ blr .global sub_801c13d4 sub_801c13d4: /* 801C13D4 001BE334 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C13D8 001BE338 7C 08 02 A6 */ mflr r0 /* 801C13DC 001BE33C 90 01 00 54 */ stw r0, 0x54(r1) /* 801C13E0 001BE340 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801C13E4 001BE344 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801C13E8 001BE348 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801C13EC 001BE34C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801C13F0 001BE350 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C13F4 001BE354 7C 7F 1B 78 */ mr r31, r3 /* 801C13F8 001BE358 48 00 01 65 */ bl sub_801c155c /* 801C13FC 001BE35C C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C1400 001BE360 38 81 00 10 */ addi r4, r1, 0x10 /* 801C1404 001BE364 38 6D 91 74 */ addi r3, r13, lbl_805A7D34@sda21 /* 801C1408 001BE368 38 AD 91 78 */ addi r5, r13, lbl_805A7D38@sda21 /* 801C140C 001BE36C EC 01 00 28 */ fsubs f0, f1, f0 /* 801C1410 001BE370 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C1414 001BE374 4B E4 AE A1 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C1418 001BE378 C3 E3 00 00 */ lfs f31, 0(r3) /* 801C141C 001BE37C C0 22 AA C4 */ lfs f1, lbl_805AC7E4@sda21(r2) /* 801C1420 001BE380 C0 02 AA C0 */ lfs f0, lbl_805AC7E0@sda21(r2) /* 801C1424 001BE384 C0 42 AA BC */ lfs f2, lbl_805AC7DC@sda21(r2) /* 801C1428 001BE388 EC 01 07 FA */ fmadds f0, f1, f31, f0 /* 801C142C 001BE38C EF C2 00 32 */ fmuls f30, f2, f0 /* 801C1430 001BE390 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 /* 801C1434 001BE394 38 81 00 09 */ addi r4, r1, 9 /* 801C1438 001BE398 38 6D 91 7C */ addi r3, r13, lbl_805A7D3C@sda21 /* 801C143C 001BE39C 38 AD 91 7D */ addi r5, r13, lbl_805A7D3D@sda21 /* 801C1440 001BE3A0 88 01 00 08 */ lbz r0, 8(r1) /* 801C1444 001BE3A4 98 01 00 09 */ stb r0, 9(r1) /* 801C1448 001BE3A8 4B FB 13 C9 */ bl sub_80172810 /* 801C144C 001BE3AC 88 83 00 00 */ lbz r4, 0(r3) /* 801C1450 001BE3B0 7F E3 FB 78 */ mr r3, r31 /* 801C1454 001BE3B4 4B E9 1F 1D */ bl SetVolume__6CActorFUc /* 801C1458 001BE3B8 C0 02 AA C8 */ lfs f0, lbl_805AC7E8@sda21(r2) /* 801C145C 001BE3BC 38 81 00 0C */ addi r4, r1, 0xc /* 801C1460 001BE3C0 38 6D 91 80 */ addi r3, r13, lbl_805A7D40@sda21 /* 801C1464 001BE3C4 38 AD 91 84 */ addi r5, r13, lbl_805A7D44@sda21 /* 801C1468 001BE3C8 EC 00 07 F2 */ fmuls f0, f0, f31 /* 801C146C 001BE3CC FC 00 00 1E */ fctiwz f0, f0 /* 801C1470 001BE3D0 D8 01 00 18 */ stfd f0, 0x18(r1) /* 801C1474 001BE3D4 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801C1478 001BE3D8 20 00 10 00 */ subfic r0, r0, 0x1000 /* 801C147C 001BE3DC 90 01 00 0C */ stw r0, 0xc(r1) /* 801C1480 001BE3E0 4B E9 8B E5 */ bl "Clamp__5CMathFRCiRCiRCi" /* 801C1484 001BE3E4 80 83 00 00 */ lwz r4, 0(r3) /* 801C1488 001BE3E8 7F E3 FB 78 */ mr r3, r31 /* 801C148C 001BE3EC 4B E9 1E 99 */ bl SetSoundEventPitchBend__6CActorFi /* 801C1490 001BE3F0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801C1494 001BE3F4 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801C1498 001BE3F8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801C149C 001BE3FC CB C1 00 30 */ lfd f30, 0x30(r1) /* 801C14A0 001BE400 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C14A4 001BE404 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C14A8 001BE408 7C 08 03 A6 */ mtlr r0 /* 801C14AC 001BE40C 38 21 00 50 */ addi r1, r1, 0x50 /* 801C14B0 001BE410 4E 80 00 20 */ blr .global sub_801c14b4 sub_801c14b4: /* 801C14B4 001BE414 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C14B8 001BE418 7C 08 02 A6 */ mflr r0 /* 801C14BC 001BE41C 90 01 00 34 */ stw r0, 0x34(r1) /* 801C14C0 001BE420 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801C14C4 001BE424 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801C14C8 001BE428 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C14CC 001BE42C 7C 7F 1B 78 */ mr r31, r3 /* 801C14D0 001BE430 38 81 00 08 */ addi r4, r1, 8 /* 801C14D4 001BE434 C0 03 07 DC */ lfs f0, 0x7dc(r3) /* 801C14D8 001BE438 38 6D 91 6C */ addi r3, r13, lbl_805A7D2C@sda21 /* 801C14DC 001BE43C 38 AD 91 70 */ addi r5, r13, lbl_805A7D30@sda21 /* 801C14E0 001BE440 EC 00 08 2A */ fadds f0, f0, f1 /* 801C14E4 001BE444 D0 1F 07 DC */ stfs f0, 0x7dc(r31) /* 801C14E8 001BE448 C0 3F 07 DC */ lfs f1, 0x7dc(r31) /* 801C14EC 001BE44C C0 1F 06 58 */ lfs f0, 0x658(r31) /* 801C14F0 001BE450 C0 5F 06 54 */ lfs f2, 0x654(r31) /* 801C14F4 001BE454 EC 01 00 24 */ fdivs f0, f1, f0 /* 801C14F8 001BE458 C0 3F 07 D0 */ lfs f1, 0x7d0(r31) /* 801C14FC 001BE45C EF E2 08 28 */ fsubs f31, f2, f1 /* 801C1500 001BE460 D0 01 00 08 */ stfs f0, 8(r1) /* 801C1504 001BE464 4B E4 AD B1 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C1508 001BE468 C0 43 00 00 */ lfs f2, 0(r3) /* 801C150C 001BE46C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C1510 001BE470 C0 1F 07 D0 */ lfs f0, 0x7d0(r31) /* 801C1514 001BE474 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801C1518 001BE478 7F E3 FB 78 */ mr r3, r31 /* 801C151C 001BE47C C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C1520 001BE480 EC 02 07 FA */ fmadds f0, f2, f31, f0 /* 801C1524 001BE484 D0 1F 07 B4 */ stfs f0, 0x7b4(r31) /* 801C1528 001BE488 D0 1F 07 B8 */ stfs f0, 0x7b8(r31) /* 801C152C 001BE48C D0 1F 07 BC */ stfs f0, 0x7bc(r31) /* 801C1530 001BE490 81 9F 00 00 */ lwz r12, 0(r31) /* 801C1534 001BE494 81 8C 00 90 */ lwz r12, 0x90(r12) /* 801C1538 001BE498 7D 89 03 A6 */ mtctr r12 /* 801C153C 001BE49C 4E 80 04 21 */ bctrl /* 801C1540 001BE4A0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801C1544 001BE4A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C1548 001BE4A8 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801C154C 001BE4AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C1550 001BE4B0 7C 08 03 A6 */ mtlr r0 /* 801C1554 001BE4B4 38 21 00 30 */ addi r1, r1, 0x30 /* 801C1558 001BE4B8 4E 80 00 20 */ blr .global sub_801c155c sub_801c155c: /* 801C155C 001BE4BC C0 23 07 DC */ lfs f1, 0x7dc(r3) /* 801C1560 001BE4C0 C0 03 06 58 */ lfs f0, 0x658(r3) /* 801C1564 001BE4C4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C1568 001BE4C8 40 80 00 14 */ bge lbl_801C157C /* 801C156C 001BE4CC EC 01 00 24 */ fdivs f0, f1, f0 /* 801C1570 001BE4D0 C0 22 AA A4 */ lfs f1, lbl_805AC7C4@sda21(r2) /* 801C1574 001BE4D4 EC 21 00 2A */ fadds f1, f1, f0 /* 801C1578 001BE4D8 4E 80 00 20 */ blr lbl_801C157C: /* 801C157C 001BE4DC C0 63 06 5C */ lfs f3, 0x65c(r3) /* 801C1580 001BE4E0 FC 01 18 40 */ fcmpo cr0, f1, f3 /* 801C1584 001BE4E4 40 80 00 1C */ bge lbl_801C15A0 /* 801C1588 001BE4E8 EC 21 00 28 */ fsubs f1, f1, f0 /* 801C158C 001BE4EC C0 42 AA 9C */ lfs f2, lbl_805AC7BC@sda21(r2) /* 801C1590 001BE4F0 EC 03 00 28 */ fsubs f0, f3, f0 /* 801C1594 001BE4F4 EC 01 00 24 */ fdivs f0, f1, f0 /* 801C1598 001BE4F8 EC 22 00 2A */ fadds f1, f2, f0 /* 801C159C 001BE4FC 4E 80 00 20 */ blr lbl_801C15A0: /* 801C15A0 001BE500 C0 22 AA B4 */ lfs f1, lbl_805AC7D4@sda21(r2) /* 801C15A4 001BE504 4E 80 00 20 */ blr .global sub_801c15a8 sub_801c15a8: /* 801C15A8 001BE508 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C15AC 001BE50C 7C 08 02 A6 */ mflr r0 /* 801C15B0 001BE510 90 01 00 14 */ stw r0, 0x14(r1) /* 801C15B4 001BE514 4B FF FF A9 */ bl sub_801c155c /* 801C15B8 001BE518 C0 42 AA A4 */ lfs f2, lbl_805AC7C4@sda21(r2) /* 801C15BC 001BE51C C0 02 AA AC */ lfs f0, lbl_805AC7CC@sda21(r2) /* 801C15C0 001BE520 EC 21 10 28 */ fsubs f1, f1, f2 /* 801C15C4 001BE524 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C15C8 001BE528 EC 20 10 7A */ fmadds f1, f0, f1, f2 /* 801C15CC 001BE52C 7C 08 03 A6 */ mtlr r0 /* 801C15D0 001BE530 38 21 00 10 */ addi r1, r1, 0x10 /* 801C15D4 001BE534 4E 80 00 20 */ blr .global sub_801c15d8 sub_801c15d8: /* 801C15D8 001BE538 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C15DC 001BE53C 7C 08 02 A6 */ mflr r0 /* 801C15E0 001BE540 90 01 00 24 */ stw r0, 0x24(r1) /* 801C15E4 001BE544 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C15E8 001BE548 7C 7F 1B 78 */ mr r31, r3 /* 801C15EC 001BE54C 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801C15F0 001BE550 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801C15F4 001BE554 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801C15F8 001BE558 2C 00 00 00 */ cmpwi r0, 0 /* 801C15FC 001BE55C C0 24 00 50 */ lfs f1, 0x50(r4) /* 801C1600 001BE560 C0 44 00 60 */ lfs f2, 0x60(r4) /* 801C1604 001BE564 41 82 00 14 */ beq lbl_801C1618 /* 801C1608 001BE568 41 80 00 48 */ blt lbl_801C1650 /* 801C160C 001BE56C 2C 00 00 04 */ cmpwi r0, 4 /* 801C1610 001BE570 40 80 00 40 */ bge lbl_801C1650 /* 801C1614 001BE574 48 00 00 18 */ b lbl_801C162C lbl_801C1618: /* 801C1618 001BE578 80 64 04 90 */ lwz r3, 0x490(r4) /* 801C161C 001BE57C C0 03 03 F4 */ lfs f0, 0x3f4(r3) /* 801C1620 001BE580 C0 23 04 04 */ lfs f1, 0x404(r3) /* 801C1624 001BE584 C0 43 04 14 */ lfs f2, 0x414(r3) /* 801C1628 001BE588 48 00 00 28 */ b lbl_801C1650 lbl_801C162C: /* 801C162C 001BE58C 81 84 00 00 */ lwz r12, 0(r4) /* 801C1630 001BE590 38 61 00 08 */ addi r3, r1, 8 /* 801C1634 001BE594 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C1638 001BE598 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801C163C 001BE59C 7D 89 03 A6 */ mtctr r12 /* 801C1640 001BE5A0 4E 80 04 21 */ bctrl /* 801C1644 001BE5A4 C0 01 00 08 */ lfs f0, 8(r1) /* 801C1648 001BE5A8 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801C164C 001BE5AC C0 41 00 10 */ lfs f2, 0x10(r1) lbl_801C1650: /* 801C1650 001BE5B0 D0 1F 00 00 */ stfs f0, 0(r31) /* 801C1654 001BE5B4 D0 3F 00 04 */ stfs f1, 4(r31) /* 801C1658 001BE5B8 D0 5F 00 08 */ stfs f2, 8(r31) /* 801C165C 001BE5BC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C1660 001BE5C0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C1664 001BE5C4 7C 08 03 A6 */ mtlr r0 /* 801C1668 001BE5C8 38 21 00 20 */ addi r1, r1, 0x20 /* 801C166C 001BE5CC 4E 80 00 20 */ blr .global sub_801c1670 sub_801c1670: /* 801C1670 001BE5D0 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801C1674 001BE5D4 7C 08 02 A6 */ mflr r0 /* 801C1678 001BE5D8 90 01 01 14 */ stw r0, 0x114(r1) /* 801C167C 001BE5DC DB E1 01 00 */ stfd f31, 0x100(r1) /* 801C1680 001BE5E0 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801C1684 001BE5E4 DB C1 00 F0 */ stfd f30, 0xf0(r1) /* 801C1688 001BE5E8 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 /* 801C168C 001BE5EC DB A1 00 E0 */ stfd f29, 0xe0(r1) /* 801C1690 001BE5F0 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 /* 801C1694 001BE5F4 93 E1 00 DC */ stw r31, 0xdc(r1) /* 801C1698 001BE5F8 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 801C169C 001BE5FC 7C 9F 23 78 */ mr r31, r4 /* 801C16A0 001BE600 7C 7E 1B 78 */ mr r30, r3 /* 801C16A4 001BE604 38 61 00 44 */ addi r3, r1, 0x44 /* 801C16A8 001BE608 38 BF 07 60 */ addi r5, r31, 0x760 /* 801C16AC 001BE60C 4B EB 72 0D */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801C16B0 001BE610 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801C16B4 001BE614 38 81 00 44 */ addi r4, r1, 0x44 /* 801C16B8 001BE618 48 15 14 BD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801C16BC 001BE61C C3 E1 00 D0 */ lfs f31, 0xd0(r1) /* 801C16C0 001BE620 7F E4 FB 78 */ mr r4, r31 /* 801C16C4 001BE624 C3 C1 00 C0 */ lfs f30, 0xc0(r1) /* 801C16C8 001BE628 38 61 00 14 */ addi r3, r1, 0x14 /* 801C16CC 001BE62C C3 A1 00 B0 */ lfs f29, 0xb0(r1) /* 801C16D0 001BE630 38 BF 07 61 */ addi r5, r31, 0x761 /* 801C16D4 001BE634 4B EB 71 E5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801C16D8 001BE638 38 61 00 74 */ addi r3, r1, 0x74 /* 801C16DC 001BE63C 38 81 00 14 */ addi r4, r1, 0x14 /* 801C16E0 001BE640 48 15 14 95 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801C16E4 001BE644 C0 41 00 80 */ lfs f2, 0x80(r1) /* 801C16E8 001BE648 3C 60 80 57 */ lis r3, lbl_80572060@ha /* 801C16EC 001BE64C C0 21 00 90 */ lfs f1, 0x90(r1) /* 801C16F0 001BE650 38 A3 20 60 */ addi r5, r3, lbl_80572060@l /* 801C16F4 001BE654 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 801C16F8 001BE658 EC 5D 10 2A */ fadds f2, f29, f2 /* 801C16FC 001BE65C C0 62 AA AC */ lfs f3, lbl_805AC7CC@sda21(r2) /* 801C1700 001BE660 EC 3E 08 2A */ fadds f1, f30, f1 /* 801C1704 001BE664 EC 1F 00 2A */ fadds f0, f31, f0 /* 801C1708 001BE668 38 61 00 08 */ addi r3, r1, 8 /* 801C170C 001BE66C EF A3 00 B2 */ fmuls f29, f3, f2 /* 801C1710 001BE670 EF C3 00 72 */ fmuls f30, f3, f1 /* 801C1714 001BE674 38 9F 00 34 */ addi r4, r31, 0x34 /* 801C1718 001BE678 EF E3 00 32 */ fmuls f31, f3, f0 /* 801C171C 001BE67C 48 15 13 65 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801C1720 001BE680 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801C1724 001BE684 C0 01 00 08 */ lfs f0, 8(r1) /* 801C1728 001BE688 C0 23 00 00 */ lfs f1, 0(r3) /* 801C172C 001BE68C C0 63 00 04 */ lfs f3, 4(r3) /* 801C1730 001BE690 EC 01 00 32 */ fmuls f0, f1, f0 /* 801C1734 001BE694 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801C1738 001BE698 C0 43 00 08 */ lfs f2, 8(r3) /* 801C173C 001BE69C EC 63 00 72 */ fmuls f3, f3, f1 /* 801C1740 001BE6A0 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801C1744 001BE6A4 EC 1D 00 2A */ fadds f0, f29, f0 /* 801C1748 001BE6A8 EC 22 00 72 */ fmuls f1, f2, f1 /* 801C174C 001BE6AC EC 5E 18 2A */ fadds f2, f30, f3 /* 801C1750 001BE6B0 D0 1E 00 00 */ stfs f0, 0(r30) /* 801C1754 001BE6B4 EC 1F 08 2A */ fadds f0, f31, f1 /* 801C1758 001BE6B8 D0 5E 00 04 */ stfs f2, 4(r30) /* 801C175C 001BE6BC D0 1E 00 08 */ stfs f0, 8(r30) /* 801C1760 001BE6C0 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801C1764 001BE6C4 CB E1 01 00 */ lfd f31, 0x100(r1) /* 801C1768 001BE6C8 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 /* 801C176C 001BE6CC CB C1 00 F0 */ lfd f30, 0xf0(r1) /* 801C1770 001BE6D0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 /* 801C1774 001BE6D4 CB A1 00 E0 */ lfd f29, 0xe0(r1) /* 801C1778 001BE6D8 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 801C177C 001BE6DC 80 01 01 14 */ lwz r0, 0x114(r1) /* 801C1780 001BE6E0 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 801C1784 001BE6E4 7C 08 03 A6 */ mtlr r0 /* 801C1788 001BE6E8 38 21 01 10 */ addi r1, r1, 0x110 /* 801C178C 001BE6EC 4E 80 00 20 */ blr .global sub_801c1790 sub_801c1790: /* 801C1790 001BE6F0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801C1794 001BE6F4 7C 08 02 A6 */ mflr r0 /* 801C1798 001BE6F8 90 01 00 84 */ stw r0, 0x84(r1) /* 801C179C 001BE6FC DB E1 00 70 */ stfd f31, 0x70(r1) /* 801C17A0 001BE700 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801C17A4 001BE704 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801C17A8 001BE708 93 C1 00 68 */ stw r30, 0x68(r1) /* 801C17AC 001BE70C 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C17B0 001BE710 7C 7F 1B 78 */ mr r31, r3 /* 801C17B4 001BE714 7C 9E 23 78 */ mr r30, r4 /* 801C17B8 001BE718 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801C17BC 001BE71C 41 82 00 E0 */ beq lbl_801C189C /* 801C17C0 001BE720 C3 FF 06 44 */ lfs f31, 0x644(r31) /* 801C17C4 001BE724 4B FF FD E5 */ bl sub_801c15a8 /* 801C17C8 001BE728 38 E0 00 00 */ li r7, 0 /* 801C17CC 001BE72C 88 01 00 24 */ lbz r0, 0x24(r1) /* 801C17D0 001BE730 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 801C17D4 001BE734 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801C17D8 001BE738 98 01 00 24 */ stb r0, 0x24(r1) /* 801C17DC 001BE73C 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801C17E0 001BE740 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 /* 801C17E4 001BE744 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C17E8 001BE748 54 06 06 3E */ clrlwi r6, r0, 0x18 /* 801C17EC 001BE74C 98 01 00 24 */ stb r0, 0x24(r1) /* 801C17F0 001BE750 50 E6 2E B4 */ rlwimi r6, r7, 5, 0x1a, 0x1a /* 801C17F4 001BE754 88 01 00 58 */ lbz r0, 0x58(r1) /* 801C17F8 001BE758 38 60 00 01 */ li r3, 1 /* 801C17FC 001BE75C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C1800 001BE760 80 AD 91 28 */ lwz r5, lbl_805A7CE8@sda21(r13) /* 801C1804 001BE764 90 E1 00 20 */ stw r7, 0x20(r1) /* 801C1808 001BE768 38 60 00 00 */ li r3, 0 /* 801C180C 001BE76C 38 80 00 01 */ li r4, 1 /* 801C1810 001BE770 98 C1 00 24 */ stb r6, 0x24(r1) /* 801C1814 001BE774 90 E1 00 40 */ stw r7, 0x40(r1) /* 801C1818 001BE778 98 C1 00 44 */ stb r6, 0x44(r1) /* 801C181C 001BE77C D0 21 00 48 */ stfs f1, 0x48(r1) /* 801C1820 001BE780 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801C1824 001BE784 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801C1828 001BE788 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801C182C 001BE78C 98 01 00 58 */ stb r0, 0x58(r1) /* 801C1830 001BE790 48 1C 86 C5 */ bl __shl2i /* 801C1834 001BE794 39 40 00 00 */ li r10, 0 /* 801C1838 001BE798 38 00 00 03 */ li r0, 3 /* 801C183C 001BE79C 90 81 00 2C */ stw r4, 0x2c(r1) /* 801C1840 001BE7A0 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C1844 001BE7A4 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801C1848 001BE7A8 38 A1 00 14 */ addi r5, r1, 0x14 /* 801C184C 001BE7AC 90 61 00 28 */ stw r3, 0x28(r1) /* 801C1850 001BE7B0 38 81 00 1C */ addi r4, r1, 0x1c /* 801C1854 001BE7B4 7F C3 F3 78 */ mr r3, r30 /* 801C1858 001BE7B8 38 C1 00 0C */ addi r6, r1, 0xc /* 801C185C 001BE7BC 91 41 00 34 */ stw r10, 0x34(r1) /* 801C1860 001BE7C0 38 E1 00 40 */ addi r7, r1, 0x40 /* 801C1864 001BE7C4 39 01 00 28 */ addi r8, r1, 0x28 /* 801C1868 001BE7C8 91 41 00 30 */ stw r10, 0x30(r1) /* 801C186C 001BE7CC 90 01 00 38 */ stw r0, 0x38(r1) /* 801C1870 001BE7D0 A0 1F 00 08 */ lhz r0, 8(r31) /* 801C1874 001BE7D4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C1878 001BE7D8 81 5E 08 4C */ lwz r10, 0x84c(r30) /* 801C187C 001BE7DC B0 01 00 08 */ sth r0, 8(r1) /* 801C1880 001BE7E0 A1 4A 00 08 */ lhz r10, 8(r10) /* 801C1884 001BE7E4 B1 41 00 14 */ sth r10, 0x14(r1) /* 801C1888 001BE7E8 A0 1F 00 08 */ lhz r0, 8(r31) /* 801C188C 001BE7EC B1 41 00 10 */ sth r10, 0x10(r1) /* 801C1890 001BE7F0 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C1894 001BE7F4 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801C1898 001BE7F8 4B E8 88 09 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_801C189C: /* 801C189C 001BE7FC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801C18A0 001BE800 80 01 00 84 */ lwz r0, 0x84(r1) /* 801C18A4 001BE804 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801C18A8 001BE808 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801C18AC 001BE80C 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801C18B0 001BE810 7C 08 03 A6 */ mtlr r0 /* 801C18B4 001BE814 38 21 00 80 */ addi r1, r1, 0x80 /* 801C18B8 001BE818 4E 80 00 20 */ blr .global sub_801c18bc sub_801c18bc: /* 801C18BC 001BE81C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C18C0 001BE820 7C 08 02 A6 */ mflr r0 /* 801C18C4 001BE824 90 01 00 24 */ stw r0, 0x24(r1) /* 801C18C8 001BE828 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C18CC 001BE82C 7C BF 2B 78 */ mr r31, r5 /* 801C18D0 001BE830 A0 03 07 90 */ lhz r0, 0x790(r3) /* 801C18D4 001BE834 7C 83 23 78 */ mr r3, r4 /* 801C18D8 001BE838 38 81 00 08 */ addi r4, r1, 8 /* 801C18DC 001BE83C B0 01 00 08 */ sth r0, 8(r1) /* 801C18E0 001BE840 4B E8 AC 95 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C18E4 001BE844 7C 64 1B 78 */ mr r4, r3 /* 801C18E8 001BE848 38 61 00 0C */ addi r3, r1, 0xc /* 801C18EC 001BE84C 4B EE DA 61 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C18F0 001BE850 80 63 00 04 */ lwz r3, 4(r3) /* 801C18F4 001BE854 28 03 00 00 */ cmplwi r3, 0 /* 801C18F8 001BE858 41 82 00 1C */ beq lbl_801C1914 /* 801C18FC 001BE85C C0 1F 00 00 */ lfs f0, 0(r31) /* 801C1900 001BE860 D0 03 03 04 */ stfs f0, 0x304(r3) /* 801C1904 001BE864 C0 1F 00 04 */ lfs f0, 4(r31) /* 801C1908 001BE868 D0 03 03 08 */ stfs f0, 0x308(r3) /* 801C190C 001BE86C C0 1F 00 08 */ lfs f0, 8(r31) /* 801C1910 001BE870 D0 03 03 0C */ stfs f0, 0x30c(r3) lbl_801C1914: /* 801C1914 001BE874 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C1918 001BE878 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C191C 001BE87C 7C 08 03 A6 */ mtlr r0 /* 801C1920 001BE880 38 21 00 20 */ addi r1, r1, 0x20 /* 801C1924 001BE884 4E 80 00 20 */ blr .global sub_801c1928 sub_801c1928: /* 801C1928 001BE888 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801C192C 001BE88C 7C 08 02 A6 */ mflr r0 /* 801C1930 001BE890 90 01 00 44 */ stw r0, 0x44(r1) /* 801C1934 001BE894 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801C1938 001BE898 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801C193C 001BE89C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C1940 001BE8A0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C1944 001BE8A4 93 A1 00 24 */ stw r29, 0x24(r1) /* 801C1948 001BE8A8 88 03 04 00 */ lbz r0, 0x400(r3) /* 801C194C 001BE8AC 7C 7D 1B 78 */ mr r29, r3 /* 801C1950 001BE8B0 7C 9E 23 78 */ mr r30, r4 /* 801C1954 001BE8B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C1958 001BE8B8 41 82 00 F8 */ beq lbl_801C1A50 /* 801C195C 001BE8BC A0 1D 07 90 */ lhz r0, 0x790(r29) /* 801C1960 001BE8C0 7F C3 F3 78 */ mr r3, r30 /* 801C1964 001BE8C4 38 81 00 08 */ addi r4, r1, 8 /* 801C1968 001BE8C8 B0 01 00 08 */ sth r0, 8(r1) /* 801C196C 001BE8CC 4B E8 AC 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C1970 001BE8D0 7C 64 1B 78 */ mr r4, r3 /* 801C1974 001BE8D4 38 61 00 0C */ addi r3, r1, 0xc /* 801C1978 001BE8D8 4B EE D9 D5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C197C 001BE8DC 83 E3 00 04 */ lwz r31, 4(r3) /* 801C1980 001BE8E0 28 1F 00 00 */ cmplwi r31, 0 /* 801C1984 001BE8E4 41 82 00 5C */ beq lbl_801C19E0 /* 801C1988 001BE8E8 7F A3 EB 78 */ mr r3, r29 /* 801C198C 001BE8EC 81 9D 00 00 */ lwz r12, 0(r29) /* 801C1990 001BE8F0 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801C1994 001BE8F4 7D 89 03 A6 */ mtctr r12 /* 801C1998 001BE8F8 4E 80 04 21 */ bctrl /* 801C199C 001BE8FC 7C 64 1B 78 */ mr r4, r3 /* 801C19A0 001BE900 7F E3 FB 78 */ mr r3, r31 /* 801C19A4 001BE904 4B FE 71 F5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801C19A8 001BE908 7F E3 FB 78 */ mr r3, r31 /* 801C19AC 001BE90C 7F C4 F3 78 */ mr r4, r30 /* 801C19B0 001BE910 81 9F 00 00 */ lwz r12, 0(r31) /* 801C19B4 001BE914 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801C19B8 001BE918 7D 89 03 A6 */ mtctr r12 /* 801C19BC 001BE91C 4E 80 04 21 */ bctrl /* 801C19C0 001BE920 C3 E3 00 00 */ lfs f31, 0(r3) /* 801C19C4 001BE924 7F A3 EB 78 */ mr r3, r29 /* 801C19C8 001BE928 81 9D 00 00 */ lwz r12, 0(r29) /* 801C19CC 001BE92C 7F C4 F3 78 */ mr r4, r30 /* 801C19D0 001BE930 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801C19D4 001BE934 7D 89 03 A6 */ mtctr r12 /* 801C19D8 001BE938 4E 80 04 21 */ bctrl /* 801C19DC 001BE93C D3 E3 00 00 */ stfs f31, 0(r3) lbl_801C19E0: /* 801C19E0 001BE940 7F A3 EB 78 */ mr r3, r29 /* 801C19E4 001BE944 7F C4 F3 78 */ mr r4, r30 /* 801C19E8 001BE948 81 9D 00 00 */ lwz r12, 0(r29) /* 801C19EC 001BE94C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801C19F0 001BE950 7D 89 03 A6 */ mtctr r12 /* 801C19F4 001BE954 4E 80 04 21 */ bctrl /* 801C19F8 001BE958 C0 23 00 00 */ lfs f1, 0(r3) /* 801C19FC 001BE95C C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C1A00 001BE960 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C1A04 001BE964 4C 40 13 82 */ cror 2, 0, 2 /* 801C1A08 001BE968 40 82 00 48 */ bne lbl_801C1A50 /* 801C1A0C 001BE96C 81 9D 00 00 */ lwz r12, 0(r29) /* 801C1A10 001BE970 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C1A14 001BE974 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801C1A18 001BE978 7F A3 EB 78 */ mr r3, r29 /* 801C1A1C 001BE97C 81 8C 00 84 */ lwz r12, 0x84(r12) /* 801C1A20 001BE980 7F C4 F3 78 */ mr r4, r30 /* 801C1A24 001BE984 38 C0 00 14 */ li r6, 0x14 /* 801C1A28 001BE988 7D 89 03 A6 */ mtctr r12 /* 801C1A2C 001BE98C 4E 80 04 21 */ bctrl /* 801C1A30 001BE990 7F A3 EB 78 */ mr r3, r29 /* 801C1A34 001BE994 7F C4 F3 78 */ mr r4, r30 /* 801C1A38 001BE998 4B FF F8 35 */ bl sub_801c126c /* 801C1A3C 001BE99C 7F A3 EB 78 */ mr r3, r29 /* 801C1A40 001BE9A0 7F C6 F3 78 */ mr r6, r30 /* 801C1A44 001BE9A4 38 80 00 29 */ li r4, 0x29 /* 801C1A48 001BE9A8 38 A0 00 28 */ li r5, 0x28 /* 801C1A4C 001BE9AC 4B E9 24 89 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager lbl_801C1A50: /* 801C1A50 001BE9B0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801C1A54 001BE9B4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801C1A58 001BE9B8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801C1A5C 001BE9BC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C1A60 001BE9C0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C1A64 001BE9C4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801C1A68 001BE9C8 7C 08 03 A6 */ mtlr r0 /* 801C1A6C 001BE9CC 38 21 00 40 */ addi r1, r1, 0x40 /* 801C1A70 001BE9D0 4E 80 00 20 */ blr .global sub_801c1a74 sub_801c1a74: /* 801C1A74 001BE9D4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C1A78 001BE9D8 7C 08 02 A6 */ mflr r0 /* 801C1A7C 001BE9DC 90 01 00 34 */ stw r0, 0x34(r1) /* 801C1A80 001BE9E0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C1A84 001BE9E4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C1A88 001BE9E8 93 A1 00 24 */ stw r29, 0x24(r1) /* 801C1A8C 001BE9EC 7C 9D 23 78 */ mr r29, r4 /* 801C1A90 001BE9F0 93 81 00 20 */ stw r28, 0x20(r1) /* 801C1A94 001BE9F4 7C 7C 1B 78 */ mr r28, r3 /* 801C1A98 001BE9F8 81 83 00 00 */ lwz r12, 0(r3) /* 801C1A9C 001BE9FC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801C1AA0 001BEA00 7D 89 03 A6 */ mtctr r12 /* 801C1AA4 001BEA04 4E 80 04 21 */ bctrl /* 801C1AA8 001BEA08 A0 1C 07 90 */ lhz r0, 0x790(r28) /* 801C1AAC 001BEA0C 7C 7F 1B 78 */ mr r31, r3 /* 801C1AB0 001BEA10 7F A3 EB 78 */ mr r3, r29 /* 801C1AB4 001BEA14 38 81 00 08 */ addi r4, r1, 8 /* 801C1AB8 001BEA18 B0 01 00 08 */ sth r0, 8(r1) /* 801C1ABC 001BEA1C 4B E8 AA B9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C1AC0 001BEA20 7C 64 1B 78 */ mr r4, r3 /* 801C1AC4 001BEA24 38 61 00 0C */ addi r3, r1, 0xc /* 801C1AC8 001BEA28 4B EE D8 85 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C1ACC 001BEA2C 83 C3 00 04 */ lwz r30, 4(r3) /* 801C1AD0 001BEA30 28 1E 00 00 */ cmplwi r30, 0 /* 801C1AD4 001BEA34 41 82 00 4C */ beq lbl_801C1B20 /* 801C1AD8 001BEA38 7F C3 F3 78 */ mr r3, r30 /* 801C1ADC 001BEA3C 7F A4 EB 78 */ mr r4, r29 /* 801C1AE0 001BEA40 81 9E 00 00 */ lwz r12, 0(r30) /* 801C1AE4 001BEA44 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801C1AE8 001BEA48 7D 89 03 A6 */ mtctr r12 /* 801C1AEC 001BEA4C 4E 80 04 21 */ bctrl /* 801C1AF0 001BEA50 C0 1F 00 00 */ lfs f0, 0(r31) /* 801C1AF4 001BEA54 D0 03 00 00 */ stfs f0, 0(r3) /* 801C1AF8 001BEA58 C0 1F 00 04 */ lfs f0, 4(r31) /* 801C1AFC 001BEA5C D0 03 00 04 */ stfs f0, 4(r3) /* 801C1B00 001BEA60 7F 83 E3 78 */ mr r3, r28 /* 801C1B04 001BEA64 81 9C 00 00 */ lwz r12, 0(r28) /* 801C1B08 001BEA68 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801C1B0C 001BEA6C 7D 89 03 A6 */ mtctr r12 /* 801C1B10 001BEA70 4E 80 04 21 */ bctrl /* 801C1B14 001BEA74 7C 64 1B 78 */ mr r4, r3 /* 801C1B18 001BEA78 7F C3 F3 78 */ mr r3, r30 /* 801C1B1C 001BEA7C 4B FE 70 7D */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_801C1B20: /* 801C1B20 001BEA80 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C1B24 001BEA84 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C1B28 001BEA88 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C1B2C 001BEA8C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801C1B30 001BEA90 83 81 00 20 */ lwz r28, 0x20(r1) /* 801C1B34 001BEA94 7C 08 03 A6 */ mtlr r0 /* 801C1B38 001BEA98 38 21 00 30 */ addi r1, r1, 0x30 /* 801C1B3C 001BEA9C 4E 80 00 20 */ blr .global sub_801c1b40 sub_801c1b40: /* 801C1B40 001BEAA0 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801C1B44 001BEAA4 7C 08 02 A6 */ mflr r0 /* 801C1B48 001BEAA8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801C1B4C 001BEAAC BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 801C1B50 001BEAB0 7C B9 2B 78 */ mr r25, r5 /* 801C1B54 001BEAB4 7C DA 33 78 */ mr r26, r6 /* 801C1B58 001BEAB8 7C 9E 23 78 */ mr r30, r4 /* 801C1B5C 001BEABC 3B A1 00 60 */ addi r29, r1, 0x60 /* 801C1B60 001BEAC0 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 801C1B64 001BEAC4 3B 60 00 00 */ li r27, 0 /* 801C1B68 001BEAC8 80 63 00 64 */ lwz r3, 0x64(r3) /* 801C1B6C 001BEACC 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801C1B70 001BEAD0 48 00 01 20 */ b lbl_801C1C90 lbl_801C1B74: /* 801C1B74 001BEAD4 80 9E 00 00 */ lwz r4, 0(r30) /* 801C1B78 001BEAD8 38 61 00 24 */ addi r3, r1, 0x24 /* 801C1B7C 001BEADC 4B E4 31 3D */ bl string_l__4rstlFPCc /* 801C1B80 001BEAE0 7F E4 FB 78 */ mr r4, r31 /* 801C1B84 001BEAE4 38 61 00 0C */ addi r3, r1, 0xc /* 801C1B88 001BEAE8 38 A1 00 24 */ addi r5, r1, 0x24 /* 801C1B8C 001BEAEC 4B E6 CC AD */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801C1B90 001BEAF0 88 01 00 0C */ lbz r0, 0xc(r1) /* 801C1B94 001BEAF4 38 61 00 24 */ addi r3, r1, 0x24 /* 801C1B98 001BEAF8 98 01 00 10 */ stb r0, 0x10(r1) /* 801C1B9C 001BEAFC 48 17 BF 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801C1BA0 001BEB00 88 01 00 10 */ lbz r0, 0x10(r1) /* 801C1BA4 001BEB04 28 00 00 FF */ cmplwi r0, 0xff /* 801C1BA8 001BEB08 41 82 00 E0 */ beq lbl_801C1C88 /* 801C1BAC 001BEB0C 80 9E 00 00 */ lwz r4, 0(r30) /* 801C1BB0 001BEB10 38 61 00 14 */ addi r3, r1, 0x14 /* 801C1BB4 001BEB14 4B E4 31 05 */ bl string_l__4rstlFPCc /* 801C1BB8 001BEB18 88 01 00 10 */ lbz r0, 0x10(r1) /* 801C1BBC 001BEB1C 38 61 00 34 */ addi r3, r1, 0x34 /* 801C1BC0 001BEB20 C0 3E 00 04 */ lfs f1, 4(r30) /* 801C1BC4 001BEB24 38 81 00 08 */ addi r4, r1, 8 /* 801C1BC8 001BEB28 98 01 00 08 */ stb r0, 8(r1) /* 801C1BCC 001BEB2C 38 A1 00 14 */ addi r5, r1, 0x14 /* 801C1BD0 001BEB30 C0 42 AA CC */ lfs f2, lbl_805AC7EC@sda21(r2) /* 801C1BD4 001BEB34 4B FE 6C 39 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801C1BD8 001BEB38 80 E1 00 34 */ lwz r7, 0x34(r1) /* 801C1BDC 001BEB3C 7F 83 E3 78 */ mr r3, r28 /* 801C1BE0 001BEB40 80 C1 00 38 */ lwz r6, 0x38(r1) /* 801C1BE4 001BEB44 7F A4 EB 78 */ mr r4, r29 /* 801C1BE8 001BEB48 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 801C1BEC 001BEB4C 88 01 00 3D */ lbz r0, 0x3d(r1) /* 801C1BF0 001BEB50 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 801C1BF4 001BEB54 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 801C1BF8 001BEB58 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 801C1BFC 001BEB5C C0 81 00 4C */ lfs f4, 0x4c(r1) /* 801C1C00 001BEB60 C0 61 00 50 */ lfs f3, 0x50(r1) /* 801C1C04 001BEB64 C0 41 00 54 */ lfs f2, 0x54(r1) /* 801C1C08 001BEB68 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801C1C0C 001BEB6C C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801C1C10 001BEB70 90 E1 00 78 */ stw r7, 0x78(r1) /* 801C1C14 001BEB74 90 C1 00 7C */ stw r6, 0x7c(r1) /* 801C1C18 001BEB78 98 A1 00 80 */ stb r5, 0x80(r1) /* 801C1C1C 001BEB7C 98 01 00 81 */ stb r0, 0x81(r1) /* 801C1C20 001BEB80 D0 E1 00 84 */ stfs f7, 0x84(r1) /* 801C1C24 001BEB84 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 801C1C28 001BEB88 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 801C1C2C 001BEB8C D0 81 00 90 */ stfs f4, 0x90(r1) /* 801C1C30 001BEB90 D0 61 00 94 */ stfs f3, 0x94(r1) /* 801C1C34 001BEB94 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801C1C38 001BEB98 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801C1C3C 001BEB9C D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801C1C40 001BEBA0 48 17 C5 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801C1C44 001BEBA4 A0 01 00 70 */ lhz r0, 0x70(r1) /* 801C1C48 001BEBA8 28 1D 00 00 */ cmplwi r29, 0 /* 801C1C4C 001BEBAC C0 01 00 74 */ lfs f0, 0x74(r1) /* 801C1C50 001BEBB0 B0 01 00 B4 */ sth r0, 0xb4(r1) /* 801C1C54 001BEBB4 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801C1C58 001BEBB8 41 82 00 0C */ beq lbl_801C1C64 /* 801C1C5C 001BEBBC 7F A3 EB 78 */ mr r3, r29 /* 801C1C60 001BEBC0 48 17 BE 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801C1C64: /* 801C1C64 001BEBC4 38 61 00 14 */ addi r3, r1, 0x14 /* 801C1C68 001BEBC8 48 17 BE 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801C1C6C 001BEBCC 7F 43 D3 78 */ mr r3, r26 /* 801C1C70 001BEBD0 38 81 00 78 */ addi r4, r1, 0x78 /* 801C1C74 001BEBD4 4B F9 45 BD */ bl sub_80156230 /* 801C1C78 001BEBD8 28 1C 00 00 */ cmplwi r28, 0 /* 801C1C7C 001BEBDC 41 82 00 0C */ beq lbl_801C1C88 /* 801C1C80 001BEBE0 7F 83 E3 78 */ mr r3, r28 /* 801C1C84 001BEBE4 48 17 BE 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801C1C88: /* 801C1C88 001BEBE8 3B DE 00 08 */ addi r30, r30, 8 /* 801C1C8C 001BEBEC 3B 7B 00 01 */ addi r27, r27, 1 lbl_801C1C90: /* 801C1C90 001BEBF0 7C 1B C8 00 */ cmpw r27, r25 /* 801C1C94 001BEBF4 41 80 FE E0 */ blt lbl_801C1B74 /* 801C1C98 001BEBF8 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 801C1C9C 001BEBFC 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801C1CA0 001BEC00 7C 08 03 A6 */ mtlr r0 /* 801C1CA4 001BEC04 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801C1CA8 001BEC08 4E 80 00 20 */ blr .global sub_801c1cac sub_801c1cac: /* 801C1CAC 001BEC0C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801C1CB0 001BEC10 7C 08 02 A6 */ mflr r0 /* 801C1CB4 001BEC14 90 01 00 84 */ stw r0, 0x84(r1) /* 801C1CB8 001BEC18 38 00 00 00 */ li r0, 0 /* 801C1CBC 001BEC1C BF 41 00 68 */ stmw r26, 0x68(r1) /* 801C1CC0 001BEC20 7C 7E 1B 78 */ mr r30, r3 /* 801C1CC4 001BEC24 7C 9F 23 78 */ mr r31, r4 /* 801C1CC8 001BEC28 38 61 00 40 */ addi r3, r1, 0x40 /* 801C1CCC 001BEC2C 38 80 00 01 */ li r4, 1 /* 801C1CD0 001BEC30 90 01 00 44 */ stw r0, 0x44(r1) /* 801C1CD4 001BEC34 90 01 00 48 */ stw r0, 0x48(r1) /* 801C1CD8 001BEC38 90 01 00 4C */ stw r0, 0x4c(r1) /* 801C1CDC 001BEC3C 4B F9 4A DD */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801C1CE0 001BEC40 7F C3 F3 78 */ mr r3, r30 /* 801C1CE4 001BEC44 38 C1 00 40 */ addi r6, r1, 0x40 /* 801C1CE8 001BEC48 38 82 AA 84 */ addi r4, r2, lbl_805AC7A4@sda21 /* 801C1CEC 001BEC4C 38 A0 00 01 */ li r5, 1 /* 801C1CF0 001BEC50 4B FF FE 51 */ bl sub_801c1b40 /* 801C1CF4 001BEC54 3C 80 80 3D */ lis r4, lbl_803D1A80@ha /* 801C1CF8 001BEC58 38 60 00 18 */ li r3, 0x18 /* 801C1CFC 001BEC5C 38 84 1A 80 */ addi r4, r4, lbl_803D1A80@l /* 801C1D00 001BEC60 38 A0 00 00 */ li r5, 0 /* 801C1D04 001BEC64 38 84 00 19 */ addi r4, r4, 0x19 /* 801C1D08 001BEC68 48 15 3B 65 */ bl __nw__FUlPCcPCc /* 801C1D0C 001BEC6C 7C 7D 1B 79 */ or. r29, r3, r3 /* 801C1D10 001BEC70 41 82 00 38 */ beq lbl_801C1D48 /* 801C1D14 001BEC74 81 3E 00 04 */ lwz r9, 4(r30) /* 801C1D18 001BEC78 7F E4 FB 78 */ mr r4, r31 /* 801C1D1C 001BEC7C 38 A1 00 10 */ addi r5, r1, 0x10 /* 801C1D20 001BEC80 38 C1 00 1C */ addi r6, r1, 0x1c /* 801C1D24 001BEC84 91 21 00 1C */ stw r9, 0x1c(r1) /* 801C1D28 001BEC88 38 E1 00 40 */ addi r7, r1, 0x40 /* 801C1D2C 001BEC8C 39 00 00 00 */ li r8, 0 /* 801C1D30 001BEC90 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C1D34 001BEC94 91 21 00 18 */ stw r9, 0x18(r1) /* 801C1D38 001BEC98 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C1D3C 001BEC9C B0 01 00 10 */ sth r0, 0x10(r1) /* 801C1D40 001BECA0 4B FE 5B F1 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801C1D44 001BECA4 7C 7D 1B 78 */ mr r29, r3 lbl_801C1D48: /* 801C1D48 001BECA8 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C1D4C 001BECAC 38 80 00 01 */ li r4, 1 /* 801C1D50 001BECB0 4B FE 5B 8D */ bl sub_801a78dc /* 801C1D54 001BECB4 93 BE 07 64 */ stw r29, 0x764(r30) /* 801C1D58 001BECB8 7F E4 FB 78 */ mr r4, r31 /* 801C1D5C 001BECBC 88 1E 00 30 */ lbz r0, 0x30(r30) /* 801C1D60 001BECC0 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C1D64 001BECC4 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f /* 801C1D68 001BECC8 4B FE 55 91 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801C1D6C 001BECCC 3B 40 00 00 */ li r26, 0 /* 801C1D70 001BECD0 48 00 00 7C */ b lbl_801C1DEC lbl_801C1D74: /* 801C1D74 001BECD4 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C1D78 001BECD8 7F 44 D3 78 */ mr r4, r26 /* 801C1D7C 001BECDC 4B FE 54 BD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801C1D80 001BECE0 7C 7D 1B 78 */ mr r29, r3 /* 801C1D84 001BECE4 7F E3 FB 78 */ mr r3, r31 /* 801C1D88 001BECE8 A0 1D 00 3C */ lhz r0, 0x3c(r29) /* 801C1D8C 001BECEC 38 81 00 08 */ addi r4, r1, 8 /* 801C1D90 001BECF0 B0 01 00 14 */ sth r0, 0x14(r1) /* 801C1D94 001BECF4 B0 01 00 08 */ sth r0, 8(r1) /* 801C1D98 001BECF8 4B E8 A7 DD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C1D9C 001BECFC 7C 64 1B 78 */ mr r4, r3 /* 801C1DA0 001BED00 38 61 00 28 */ addi r3, r1, 0x28 /* 801C1DA4 001BED04 4B EE D5 A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C1DA8 001BED08 80 03 00 04 */ lwz r0, 4(r3) /* 801C1DAC 001BED0C 28 00 00 00 */ cmplwi r0, 0 /* 801C1DB0 001BED10 41 82 00 38 */ beq lbl_801C1DE8 /* 801C1DB4 001BED14 80 82 AA 94 */ lwz r4, lbl_805AC7B4@sda21(r2) /* 801C1DB8 001BED18 38 61 00 30 */ addi r3, r1, 0x30 /* 801C1DBC 001BED1C 4B E4 2E FD */ bl string_l__4rstlFPCc /* 801C1DC0 001BED20 38 7D 00 2C */ addi r3, r29, 0x2c /* 801C1DC4 001BED24 38 81 00 30 */ addi r4, r1, 0x30 /* 801C1DC8 001BED28 4B E9 08 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" /* 801C1DCC 001BED2C 7C 7D 1B 78 */ mr r29, r3 /* 801C1DD0 001BED30 38 61 00 30 */ addi r3, r1, 0x30 /* 801C1DD4 001BED34 48 17 BD 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801C1DD8 001BED38 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801C1DDC 001BED3C 41 82 00 0C */ beq lbl_801C1DE8 /* 801C1DE0 001BED40 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801C1DE4 001BED44 B0 1E 07 90 */ sth r0, 0x790(r30) lbl_801C1DE8: /* 801C1DE8 001BED48 3B 5A 00 01 */ addi r26, r26, 1 lbl_801C1DEC: /* 801C1DEC 001BED4C 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C1DF0 001BED50 4B FE 54 59 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801C1DF4 001BED54 7C 1A 18 40 */ cmplw r26, r3 /* 801C1DF8 001BED58 41 80 FF 7C */ blt lbl_801C1D74 /* 801C1DFC 001BED5C 7F C3 F3 78 */ mr r3, r30 /* 801C1E00 001BED60 7F E4 FB 78 */ mr r4, r31 /* 801C1E04 001BED64 4B FF FC 71 */ bl sub_801c1a74 /* 801C1E08 001BED68 80 AD 91 58 */ lwz r5, lbl_805A7D18@sda21(r13) /* 801C1E0C 001BED6C 38 60 00 00 */ li r3, 0 /* 801C1E10 001BED70 38 80 00 01 */ li r4, 1 /* 801C1E14 001BED74 48 1C 80 E1 */ bl __shl2i /* 801C1E18 001BED78 80 AD 91 5C */ lwz r5, lbl_805A7D1C@sda21(r13) /* 801C1E1C 001BED7C 7C 9C 23 78 */ mr r28, r4 /* 801C1E20 001BED80 7C 7D 1B 78 */ mr r29, r3 /* 801C1E24 001BED84 38 60 00 00 */ li r3, 0 /* 801C1E28 001BED88 38 80 00 01 */ li r4, 1 /* 801C1E2C 001BED8C 48 1C 80 C9 */ bl __shl2i /* 801C1E30 001BED90 80 AD 91 60 */ lwz r5, lbl_805A7D20@sda21(r13) /* 801C1E34 001BED94 7F 9C 23 78 */ or r28, r28, r4 /* 801C1E38 001BED98 7F BD 1B 78 */ or r29, r29, r3 /* 801C1E3C 001BED9C 38 60 00 00 */ li r3, 0 /* 801C1E40 001BEDA0 38 80 00 01 */ li r4, 1 /* 801C1E44 001BEDA4 48 1C 80 B1 */ bl __shl2i /* 801C1E48 001BEDA8 80 AD 91 48 */ lwz r5, lbl_805A7D08@sda21(r13) /* 801C1E4C 001BEDAC 7F 9C 23 78 */ or r28, r28, r4 /* 801C1E50 001BEDB0 7F BD 1B 78 */ or r29, r29, r3 /* 801C1E54 001BEDB4 38 60 00 00 */ li r3, 0 /* 801C1E58 001BEDB8 38 80 00 01 */ li r4, 1 /* 801C1E5C 001BEDBC 48 1C 80 99 */ bl __shl2i /* 801C1E60 001BEDC0 80 AD 91 4C */ lwz r5, lbl_805A7D0C@sda21(r13) /* 801C1E64 001BEDC4 7C 9A 23 78 */ mr r26, r4 /* 801C1E68 001BEDC8 7C 7B 1B 78 */ mr r27, r3 /* 801C1E6C 001BEDCC 38 60 00 00 */ li r3, 0 /* 801C1E70 001BEDD0 38 80 00 01 */ li r4, 1 /* 801C1E74 001BEDD4 48 1C 80 81 */ bl __shl2i /* 801C1E78 001BEDD8 80 AD 91 50 */ lwz r5, lbl_805A7D10@sda21(r13) /* 801C1E7C 001BEDDC 7F 5A 23 78 */ or r26, r26, r4 /* 801C1E80 001BEDE0 7F 7B 1B 78 */ or r27, r27, r3 /* 801C1E84 001BEDE4 38 60 00 00 */ li r3, 0 /* 801C1E88 001BEDE8 38 80 00 01 */ li r4, 1 /* 801C1E8C 001BEDEC 48 1C 80 69 */ bl __shl2i /* 801C1E90 001BEDF0 80 AD 91 54 */ lwz r5, lbl_805A7D14@sda21(r13) /* 801C1E94 001BEDF4 7F 5A 23 78 */ or r26, r26, r4 /* 801C1E98 001BEDF8 7F 7B 1B 78 */ or r27, r27, r3 /* 801C1E9C 001BEDFC 38 60 00 00 */ li r3, 0 /* 801C1EA0 001BEE00 38 80 00 01 */ li r4, 1 /* 801C1EA4 001BEE04 48 1C 80 51 */ bl __shl2i /* 801C1EA8 001BEE08 7F 5A 23 78 */ or r26, r26, r4 /* 801C1EAC 001BEE0C 7F 7B 1B 78 */ or r27, r27, r3 /* 801C1EB0 001BEE10 38 00 00 03 */ li r0, 3 /* 801C1EB4 001BEE14 93 41 00 54 */ stw r26, 0x54(r1) /* 801C1EB8 001BEE18 7F C3 F3 78 */ mr r3, r30 /* 801C1EBC 001BEE1C 38 81 00 50 */ addi r4, r1, 0x50 /* 801C1EC0 001BEE20 93 61 00 50 */ stw r27, 0x50(r1) /* 801C1EC4 001BEE24 93 81 00 5C */ stw r28, 0x5c(r1) /* 801C1EC8 001BEE28 93 A1 00 58 */ stw r29, 0x58(r1) /* 801C1ECC 001BEE2C 90 01 00 60 */ stw r0, 0x60(r1) /* 801C1ED0 001BEE30 4B E9 19 D1 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801C1ED4 001BEE34 7F C3 F3 78 */ mr r3, r30 /* 801C1ED8 001BEE38 7F E5 FB 78 */ mr r5, r31 /* 801C1EDC 001BEE3C 38 80 00 12 */ li r4, 0x12 /* 801C1EE0 001BEE40 4B E9 24 71 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801C1EE4 001BEE44 38 00 00 00 */ li r0, 0 /* 801C1EE8 001BEE48 80 AD 91 64 */ lwz r5, lbl_805A7D24@sda21(r13) /* 801C1EEC 001BEE4C 90 01 00 24 */ stw r0, 0x24(r1) /* 801C1EF0 001BEE50 38 60 00 00 */ li r3, 0 /* 801C1EF4 001BEE54 38 80 00 01 */ li r4, 1 /* 801C1EF8 001BEE58 90 01 00 20 */ stw r0, 0x20(r1) /* 801C1EFC 001BEE5C 48 1C 7F F9 */ bl __shl2i /* 801C1F00 001BEE60 80 01 00 20 */ lwz r0, 0x20(r1) /* 801C1F04 001BEE64 80 C1 00 24 */ lwz r6, 0x24(r1) /* 801C1F08 001BEE68 7C 00 1B 78 */ or r0, r0, r3 /* 801C1F0C 001BEE6C 80 AD 91 68 */ lwz r5, lbl_805A7D28@sda21(r13) /* 801C1F10 001BEE70 7C C4 23 78 */ or r4, r6, r4 /* 801C1F14 001BEE74 90 01 00 20 */ stw r0, 0x20(r1) /* 801C1F18 001BEE78 38 60 00 00 */ li r3, 0 /* 801C1F1C 001BEE7C 90 81 00 24 */ stw r4, 0x24(r1) /* 801C1F20 001BEE80 38 80 00 01 */ li r4, 1 /* 801C1F24 001BEE84 48 1C 7F D1 */ bl __shl2i /* 801C1F28 001BEE88 80 01 00 20 */ lwz r0, 0x20(r1) /* 801C1F2C 001BEE8C 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C1F30 001BEE90 80 C1 00 24 */ lwz r6, 0x24(r1) /* 801C1F34 001BEE94 7C 00 1B 78 */ or r0, r0, r3 /* 801C1F38 001BEE98 7C C3 23 78 */ or r3, r6, r4 /* 801C1F3C 001BEE9C 90 01 00 20 */ stw r0, 0x20(r1) /* 801C1F40 001BEEA0 7F E4 FB 78 */ mr r4, r31 /* 801C1F44 001BEEA4 90 61 00 24 */ stw r3, 0x24(r1) /* 801C1F48 001BEEA8 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C1F4C 001BEEAC 4B FE 53 05 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 801C1F50 001BEEB0 38 61 00 40 */ addi r3, r1, 0x40 /* 801C1F54 001BEEB4 38 80 FF FF */ li r4, -1 /* 801C1F58 001BEEB8 4B F9 43 D5 */ bl sub_8015632c /* 801C1F5C 001BEEBC BB 41 00 68 */ lmw r26, 0x68(r1) /* 801C1F60 001BEEC0 80 01 00 84 */ lwz r0, 0x84(r1) /* 801C1F64 001BEEC4 7C 08 03 A6 */ mtlr r0 /* 801C1F68 001BEEC8 38 21 00 80 */ addi r1, r1, 0x80 /* 801C1F6C 001BEECC 4E 80 00 20 */ blr .global sub_801c1f70 sub_801c1f70: /* 801C1F70 001BEED0 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801C1F74 001BEED4 7C 08 02 A6 */ mflr r0 /* 801C1F78 001BEED8 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801C1F7C 001BEEDC DB E1 00 90 */ stfd f31, 0x90(r1) /* 801C1F80 001BEEE0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801C1F84 001BEEE4 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801C1F88 001BEEE8 93 C1 00 88 */ stw r30, 0x88(r1) /* 801C1F8C 001BEEEC 93 A1 00 84 */ stw r29, 0x84(r1) /* 801C1F90 001BEEF0 7C 7D 1B 78 */ mr r29, r3 /* 801C1F94 001BEEF4 7C 9F 23 78 */ mr r31, r4 /* 801C1F98 001BEEF8 80 63 08 28 */ lwz r3, 0x828(r3) /* 801C1F9C 001BEEFC FF E0 08 90 */ fmr f31, f1 /* 801C1FA0 001BEF00 7C BE 2B 78 */ mr r30, r5 /* 801C1FA4 001BEF04 38 80 00 00 */ li r4, 0 /* 801C1FA8 001BEF08 81 83 00 00 */ lwz r12, 0(r3) /* 801C1FAC 001BEF0C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C1FB0 001BEF10 7D 89 03 A6 */ mtctr r12 /* 801C1FB4 001BEF14 4E 80 04 21 */ bctrl /* 801C1FB8 001BEF18 80 7D 08 2C */ lwz r3, 0x82c(r29) /* 801C1FBC 001BEF1C 38 80 00 00 */ li r4, 0 /* 801C1FC0 001BEF20 81 83 00 00 */ lwz r12, 0(r3) /* 801C1FC4 001BEF24 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C1FC8 001BEF28 7D 89 03 A6 */ mtctr r12 /* 801C1FCC 001BEF2C 4E 80 04 21 */ bctrl /* 801C1FD0 001BEF30 83 FF 08 4C */ lwz r31, 0x84c(r31) /* 801C1FD4 001BEF34 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 801C1FD8 001BEF38 2C 00 00 01 */ cmpwi r0, 1 /* 801C1FDC 001BEF3C 41 82 00 14 */ beq lbl_801C1FF0 /* 801C1FE0 001BEF40 40 80 01 80 */ bge lbl_801C2160 /* 801C1FE4 001BEF44 2C 00 00 00 */ cmpwi r0, 0 /* 801C1FE8 001BEF48 40 80 00 A0 */ bge lbl_801C2088 /* 801C1FEC 001BEF4C 48 00 01 74 */ b lbl_801C2160 lbl_801C1FF0: /* 801C1FF0 001BEF50 80 7D 08 28 */ lwz r3, 0x828(r29) /* 801C1FF4 001BEF54 38 80 00 01 */ li r4, 1 /* 801C1FF8 001BEF58 81 83 00 00 */ lwz r12, 0(r3) /* 801C1FFC 001BEF5C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C2000 001BEF60 7D 89 03 A6 */ mtctr r12 /* 801C2004 001BEF64 4E 80 04 21 */ bctrl /* 801C2008 001BEF68 80 7F 07 68 */ lwz r3, 0x768(r31) /* 801C200C 001BEF6C 4B F3 6D F9 */ bl GetBallRadius__10CMorphBallCFv /* 801C2010 001BEF70 C0 1E 00 08 */ lfs f0, 8(r30) /* 801C2014 001BEF74 38 81 00 38 */ addi r4, r1, 0x38 /* 801C2018 001BEF78 C0 7E 00 04 */ lfs f3, 4(r30) /* 801C201C 001BEF7C C0 42 AA 98 */ lfs f2, lbl_805AC7B8@sda21(r2) /* 801C2020 001BEF80 EC 20 08 28 */ fsubs f1, f0, f1 /* 801C2024 001BEF84 C0 1E 00 00 */ lfs f0, 0(r30) /* 801C2028 001BEF88 EC 63 10 28 */ fsubs f3, f3, f2 /* 801C202C 001BEF8C EC 00 10 28 */ fsubs f0, f0, f2 /* 801C2030 001BEF90 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801C2034 001BEF94 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801C2038 001BEF98 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801C203C 001BEF9C 80 7D 08 28 */ lwz r3, 0x828(r29) /* 801C2040 001BEFA0 81 83 00 00 */ lwz r12, 0(r3) /* 801C2044 001BEFA4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801C2048 001BEFA8 7D 89 03 A6 */ mtctr r12 /* 801C204C 001BEFAC 4E 80 04 21 */ bctrl /* 801C2050 001BEFB0 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801C2054 001BEFB4 38 81 00 20 */ addi r4, r1, 0x20 /* 801C2058 001BEFB8 C0 03 00 00 */ lfs f0, 0(r3) /* 801C205C 001BEFBC D0 01 00 20 */ stfs f0, 0x20(r1) /* 801C2060 001BEFC0 C0 03 00 04 */ lfs f0, 4(r3) /* 801C2064 001BEFC4 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801C2068 001BEFC8 C0 03 00 08 */ lfs f0, 8(r3) /* 801C206C 001BEFCC D0 01 00 28 */ stfs f0, 0x28(r1) /* 801C2070 001BEFD0 80 7D 08 28 */ lwz r3, 0x828(r29) /* 801C2074 001BEFD4 81 83 00 00 */ lwz r12, 0(r3) /* 801C2078 001BEFD8 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801C207C 001BEFDC 7D 89 03 A6 */ mtctr r12 /* 801C2080 001BEFE0 4E 80 04 21 */ bctrl /* 801C2084 001BEFE4 48 00 00 DC */ b lbl_801C2160 lbl_801C2088: /* 801C2088 001BEFE8 80 7D 08 2C */ lwz r3, 0x82c(r29) /* 801C208C 001BEFEC 38 80 00 01 */ li r4, 1 /* 801C2090 001BEFF0 81 83 00 00 */ lwz r12, 0(r3) /* 801C2094 001BEFF4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C2098 001BEFF8 7D 89 03 A6 */ mtctr r12 /* 801C209C 001BEFFC 4E 80 04 21 */ bctrl /* 801C20A0 001BF000 80 9F 04 90 */ lwz r4, 0x490(r31) /* 801C20A4 001BF004 38 61 00 44 */ addi r3, r1, 0x44 /* 801C20A8 001BF008 C0 A2 AA D0 */ lfs f5, lbl_805AC7F0@sda21(r2) /* 801C20AC 001BF00C 38 84 03 E8 */ addi r4, r4, 0x3e8 /* 801C20B0 001BF010 C0 44 00 14 */ lfs f2, 0x14(r4) /* 801C20B4 001BF014 C0 04 00 04 */ lfs f0, 4(r4) /* 801C20B8 001BF018 C0 24 00 24 */ lfs f1, 0x24(r4) /* 801C20BC 001BF01C EC 85 00 B2 */ fmuls f4, f5, f2 /* 801C20C0 001BF020 C0 C4 00 1C */ lfs f6, 0x1c(r4) /* 801C20C4 001BF024 EC 05 00 32 */ fmuls f0, f5, f0 /* 801C20C8 001BF028 EC 45 00 72 */ fmuls f2, f5, f1 /* 801C20CC 001BF02C C0 64 00 2C */ lfs f3, 0x2c(r4) /* 801C20D0 001BF030 C0 24 00 0C */ lfs f1, 0xc(r4) /* 801C20D4 001BF034 EC 86 20 2A */ fadds f4, f6, f4 /* 801C20D8 001BF038 EC 43 10 2A */ fadds f2, f3, f2 /* 801C20DC 001BF03C EC 01 00 2A */ fadds f0, f1, f0 /* 801C20E0 001BF040 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801C20E4 001BF044 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801C20E8 001BF048 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801C20EC 001BF04C 83 FD 08 2C */ lwz r31, 0x82c(r29) /* 801C20F0 001BF050 48 15 0B 51 */ bl GetRotation__12CTransform4fCFv /* 801C20F4 001BF054 7F E3 FB 78 */ mr r3, r31 /* 801C20F8 001BF058 38 81 00 44 */ addi r4, r1, 0x44 /* 801C20FC 001BF05C 81 9F 00 00 */ lwz r12, 0(r31) /* 801C2100 001BF060 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801C2104 001BF064 7D 89 03 A6 */ mtctr r12 /* 801C2108 001BF068 4E 80 04 21 */ bctrl /* 801C210C 001BF06C 80 7D 08 2C */ lwz r3, 0x82c(r29) /* 801C2110 001BF070 38 81 00 2C */ addi r4, r1, 0x2c /* 801C2114 001BF074 81 83 00 00 */ lwz r12, 0(r3) /* 801C2118 001BF078 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801C211C 001BF07C 7D 89 03 A6 */ mtctr r12 /* 801C2120 001BF080 4E 80 04 21 */ bctrl /* 801C2124 001BF084 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C2128 001BF088 38 81 00 14 */ addi r4, r1, 0x14 /* 801C212C 001BF08C C0 22 84 4C */ lfs f1, lbl_805AA16C@sda21(r2) /* 801C2130 001BF090 D0 01 00 08 */ stfs f0, 8(r1) /* 801C2134 001BF094 EC 21 00 32 */ fmuls f1, f1, f0 /* 801C2138 001BF098 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801C213C 001BF09C D0 21 00 14 */ stfs f1, 0x14(r1) /* 801C2140 001BF0A0 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C2144 001BF0A4 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801C2148 001BF0A8 80 7D 08 2C */ lwz r3, 0x82c(r29) /* 801C214C 001BF0AC D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C2150 001BF0B0 81 83 00 00 */ lwz r12, 0(r3) /* 801C2154 001BF0B4 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801C2158 001BF0B8 7D 89 03 A6 */ mtctr r12 /* 801C215C 001BF0BC 4E 80 04 21 */ bctrl lbl_801C2160: /* 801C2160 001BF0C0 80 7D 08 28 */ lwz r3, 0x828(r29) /* 801C2164 001BF0C4 FC 20 F8 90 */ fmr f1, f31 /* 801C2168 001BF0C8 81 83 00 00 */ lwz r12, 0(r3) /* 801C216C 001BF0CC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C2170 001BF0D0 7D 89 03 A6 */ mtctr r12 /* 801C2174 001BF0D4 4E 80 04 21 */ bctrl /* 801C2178 001BF0D8 80 7D 08 2C */ lwz r3, 0x82c(r29) /* 801C217C 001BF0DC FC 20 F8 90 */ fmr f1, f31 /* 801C2180 001BF0E0 81 83 00 00 */ lwz r12, 0(r3) /* 801C2184 001BF0E4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C2188 001BF0E8 7D 89 03 A6 */ mtctr r12 /* 801C218C 001BF0EC 4E 80 04 21 */ bctrl /* 801C2190 001BF0F0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801C2194 001BF0F4 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801C2198 001BF0F8 CB E1 00 90 */ lfd f31, 0x90(r1) /* 801C219C 001BF0FC 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801C21A0 001BF100 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801C21A4 001BF104 83 A1 00 84 */ lwz r29, 0x84(r1) /* 801C21A8 001BF108 7C 08 03 A6 */ mtlr r0 /* 801C21AC 001BF10C 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801C21B0 001BF110 4E 80 00 20 */ blr .global sub_801c21b4 sub_801c21b4: /* 801C21B4 001BF114 94 21 FE 20 */ stwu r1, -0x1e0(r1) /* 801C21B8 001BF118 7C 08 02 A6 */ mflr r0 /* 801C21BC 001BF11C 90 01 01 E4 */ stw r0, 0x1e4(r1) /* 801C21C0 001BF120 DB E1 01 D0 */ stfd f31, 0x1d0(r1) /* 801C21C4 001BF124 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 /* 801C21C8 001BF128 DB C1 01 C0 */ stfd f30, 0x1c0(r1) /* 801C21CC 001BF12C F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 /* 801C21D0 001BF130 DB A1 01 B0 */ stfd f29, 0x1b0(r1) /* 801C21D4 001BF134 F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 /* 801C21D8 001BF138 DB 81 01 A0 */ stfd f28, 0x1a0(r1) /* 801C21DC 001BF13C F3 81 01 A8 */ psq_st f28, 424(r1), 0, qr0 /* 801C21E0 001BF140 DB 61 01 90 */ stfd f27, 0x190(r1) /* 801C21E4 001BF144 F3 61 01 98 */ psq_st f27, 408(r1), 0, qr0 /* 801C21E8 001BF148 DB 41 01 80 */ stfd f26, 0x180(r1) /* 801C21EC 001BF14C F3 41 01 88 */ psq_st f26, 392(r1), 0, qr0 /* 801C21F0 001BF150 DB 21 01 70 */ stfd f25, 0x170(r1) /* 801C21F4 001BF154 F3 21 01 78 */ psq_st f25, 376(r1), 0, qr0 /* 801C21F8 001BF158 DB 01 01 60 */ stfd f24, 0x160(r1) /* 801C21FC 001BF15C F3 01 01 68 */ psq_st f24, 360(r1), 0, qr0 /* 801C2200 001BF160 DA E1 01 50 */ stfd f23, 0x150(r1) /* 801C2204 001BF164 F2 E1 01 58 */ psq_st f23, 344(r1), 0, qr0 /* 801C2208 001BF168 DA C1 01 40 */ stfd f22, 0x140(r1) /* 801C220C 001BF16C F2 C1 01 48 */ psq_st f22, 328(r1), 0, qr0 /* 801C2210 001BF170 DA A1 01 30 */ stfd f21, 0x130(r1) /* 801C2214 001BF174 F2 A1 01 38 */ psq_st f21, 312(r1), 0, qr0 /* 801C2218 001BF178 DA 81 01 20 */ stfd f20, 0x120(r1) /* 801C221C 001BF17C F2 81 01 28 */ psq_st f20, 296(r1), 0, qr0 /* 801C2220 001BF180 DA 61 01 10 */ stfd f19, 0x110(r1) /* 801C2224 001BF184 F2 61 01 18 */ psq_st f19, 280(r1), 0, qr0 /* 801C2228 001BF188 BE E1 00 EC */ stmw r23, 0xec(r1) /* 801C222C 001BF18C FE C0 08 90 */ fmr f22, f1 /* 801C2230 001BF190 7C 78 1B 78 */ mr r24, r3 /* 801C2234 001BF194 7C 99 23 78 */ mr r25, r4 /* 801C2238 001BF198 48 00 2A 79 */ bl sub_801c4cb0 /* 801C223C 001BF19C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C2240 001BF1A0 41 82 03 DC */ beq lbl_801C261C /* 801C2244 001BF1A4 83 D8 08 24 */ lwz r30, 0x824(r24) /* 801C2248 001BF1A8 7F 04 C3 78 */ mr r4, r24 /* 801C224C 001BF1AC 7F 25 CB 78 */ mr r5, r25 /* 801C2250 001BF1B0 38 61 00 38 */ addi r3, r1, 0x38 /* 801C2254 001BF1B4 83 BE 01 60 */ lwz r29, 0x160(r30) /* 801C2258 001BF1B8 4B FF F3 81 */ bl sub_801c15d8 /* 801C225C 001BF1BC C0 41 00 38 */ lfs f2, 0x38(r1) /* 801C2260 001BF1C0 7F 04 C3 78 */ mr r4, r24 /* 801C2264 001BF1C4 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801C2268 001BF1C8 38 61 00 2C */ addi r3, r1, 0x2c /* 801C226C 001BF1CC C0 01 00 40 */ lfs f0, 0x40(r1) /* 801C2270 001BF1D0 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801C2274 001BF1D4 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801C2278 001BF1D8 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801C227C 001BF1DC 4B FF F3 F5 */ bl sub_801c1670 /* 801C2280 001BF1E0 6F A3 80 00 */ xoris r3, r29, 0x8000 /* 801C2284 001BF1E4 3C 00 43 30 */ lis r0, 0x4330 /* 801C2288 001BF1E8 90 61 00 CC */ stw r3, 0xcc(r1) /* 801C228C 001BF1EC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C2290 001BF1F0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801C2294 001BF1F4 C8 42 AA E0 */ lfd f2, lbl_805AC800@sda21(r2) /* 801C2298 001BF1F8 90 01 00 C8 */ stw r0, 0xc8(r1) /* 801C229C 001BF1FC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801C22A0 001BF200 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C22A4 001BF204 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801C22A8 001BF208 C8 21 00 C8 */ lfd f1, 0xc8(r1) /* 801C22AC 001BF20C 38 61 00 68 */ addi r3, r1, 0x68 /* 801C22B0 001BF210 C3 21 00 2C */ lfs f25, 0x2c(r1) /* 801C22B4 001BF214 38 A1 00 50 */ addi r5, r1, 0x50 /* 801C22B8 001BF218 EF 81 10 28 */ fsubs f28, f1, f2 /* 801C22BC 001BF21C C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801C22C0 001BF220 C3 61 00 30 */ lfs f27, 0x30(r1) /* 801C22C4 001BF224 C0 41 00 60 */ lfs f2, 0x60(r1) /* 801C22C8 001BF228 EC 21 C8 28 */ fsubs f1, f1, f25 /* 801C22CC 001BF22C EC A0 E0 24 */ fdivs f5, f0, f28 /* 801C22D0 001BF230 C3 41 00 34 */ lfs f26, 0x34(r1) /* 801C22D4 001BF234 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801C22D8 001BF238 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801C22DC 001BF23C EC 82 D8 28 */ fsubs f4, f2, f27 /* 801C22E0 001BF240 EC 60 D0 28 */ fsubs f3, f0, f26 /* 801C22E4 001BF244 EC 41 01 72 */ fmuls f2, f1, f5 /* 801C22E8 001BF248 EC 24 01 72 */ fmuls f1, f4, f5 /* 801C22EC 001BF24C D0 81 00 54 */ stfs f4, 0x54(r1) /* 801C22F0 001BF250 EC 03 01 72 */ fmuls f0, f3, f5 /* 801C22F4 001BF254 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801C22F8 001BF258 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801C22FC 001BF25C D0 21 00 54 */ stfs f1, 0x54(r1) /* 801C2300 001BF260 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801C2304 001BF264 48 15 18 0D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801C2308 001BF268 38 61 00 98 */ addi r3, r1, 0x98 /* 801C230C 001BF26C 38 81 00 68 */ addi r4, r1, 0x68 /* 801C2310 001BF270 48 15 08 65 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801C2314 001BF274 80 78 08 20 */ lwz r3, 0x820(r24) /* 801C2318 001BF278 38 80 00 01 */ li r4, 1 /* 801C231C 001BF27C 81 83 00 00 */ lwz r12, 0(r3) /* 801C2320 001BF280 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C2324 001BF284 7D 89 03 A6 */ mtctr r12 /* 801C2328 001BF288 4E 80 04 21 */ bctrl /* 801C232C 001BF28C C0 38 08 3C */ lfs f1, 0x83c(r24) /* 801C2330 001BF290 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C2334 001BF294 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C2338 001BF298 40 81 00 20 */ ble lbl_801C2358 /* 801C233C 001BF29C C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C2340 001BF2A0 EC 00 08 28 */ fsubs f0, f0, f1 /* 801C2344 001BF2A4 EC 1C 00 32 */ fmuls f0, f28, f0 /* 801C2348 001BF2A8 FC 00 00 1E */ fctiwz f0, f0 /* 801C234C 001BF2AC D8 01 00 D0 */ stfd f0, 0xd0(r1) /* 801C2350 001BF2B0 83 81 00 D4 */ lwz r28, 0xd4(r1) /* 801C2354 001BF2B4 48 00 00 08 */ b lbl_801C235C lbl_801C2358: /* 801C2358 001BF2B8 3B 80 FF FF */ li r28, -1 lbl_801C235C: /* 801C235C 001BF2BC 80 78 08 30 */ lwz r3, 0x830(r24) /* 801C2360 001BF2C0 57 80 0F FE */ srwi r0, r28, 0x1f /* 801C2364 001BF2C4 68 04 00 01 */ xori r4, r0, 1 /* 801C2368 001BF2C8 81 83 00 00 */ lwz r12, 0(r3) /* 801C236C 001BF2CC 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C2370 001BF2D0 7D 89 03 A6 */ mtctr r12 /* 801C2374 001BF2D4 4E 80 04 21 */ bctrl /* 801C2378 001BF2D8 6F A0 80 00 */ xoris r0, r29, 0x8000 /* 801C237C 001BF2DC 3F E0 43 30 */ lis r31, 0x4330 /* 801C2380 001BF2E0 90 01 00 DC */ stw r0, 0xdc(r1) /* 801C2384 001BF2E4 3B 40 00 00 */ li r26, 0 /* 801C2388 001BF2E8 80 7E 01 60 */ lwz r3, 0x160(r30) /* 801C238C 001BF2EC 3B 60 00 00 */ li r27, 0 /* 801C2390 001BF2F0 93 E1 00 D8 */ stw r31, 0xd8(r1) /* 801C2394 001BF2F4 CB 82 AA E0 */ lfd f28, lbl_805AC800@sda21(r2) /* 801C2398 001BF2F8 38 03 FF FF */ addi r0, r3, -1 /* 801C239C 001BF2FC C8 01 00 D8 */ lfd f0, 0xd8(r1) /* 801C23A0 001BF300 54 03 38 30 */ slwi r3, r0, 7 /* 801C23A4 001BF304 C0 22 AA A4 */ lfs f1, lbl_805AC7C4@sda21(r2) /* 801C23A8 001BF308 38 03 00 30 */ addi r0, r3, 0x30 /* 801C23AC 001BF30C EC 00 E0 28 */ fsubs f0, f0, f28 /* 801C23B0 001BF310 80 7E 01 68 */ lwz r3, 0x168(r30) /* 801C23B4 001BF314 C3 A2 AA 98 */ lfs f29, lbl_805AC7B8@sda21(r2) /* 801C23B8 001BF318 7E E3 04 2E */ lfsx f23, r3, r0 /* 801C23BC 001BF31C EF 01 00 24 */ fdivs f24, f1, f0 /* 801C23C0 001BF320 C3 C2 AA D0 */ lfs f30, lbl_805AC7F0@sda21(r2) /* 801C23C4 001BF324 C3 E2 AA AC */ lfs f31, lbl_805AC7CC@sda21(r2) /* 801C23C8 001BF328 48 00 01 F8 */ b lbl_801C25C0 lbl_801C23CC: /* 801C23CC 001BF32C 6F 40 80 00 */ xoris r0, r26, 0x8000 /* 801C23D0 001BF330 93 E1 00 D0 */ stw r31, 0xd0(r1) /* 801C23D4 001BF334 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801C23D8 001BF338 C8 01 00 D0 */ lfd f0, 0xd0(r1) /* 801C23DC 001BF33C 90 01 00 DC */ stw r0, 0xdc(r1) /* 801C23E0 001BF340 EC 00 E0 28 */ fsubs f0, f0, f28 /* 801C23E4 001BF344 93 E1 00 D8 */ stw r31, 0xd8(r1) /* 801C23E8 001BF348 C8 21 00 D8 */ lfd f1, 0xd8(r1) /* 801C23EC 001BF34C FC 00 E8 40 */ fcmpo cr0, f0, f29 /* 801C23F0 001BF350 EC 21 E0 28 */ fsubs f1, f1, f28 /* 801C23F4 001BF354 40 81 00 10 */ ble lbl_801C2404 /* 801C23F8 001BF358 C0 02 AA D4 */ lfs f0, lbl_805AC7F4@sda21(r2) /* 801C23FC 001BF35C EE A0 08 24 */ fdivs f21, f0, f1 /* 801C2400 001BF360 48 00 00 08 */ b lbl_801C2408 lbl_801C2404: /* 801C2404 001BF364 FE A0 E8 90 */ fmr f21, f29 lbl_801C2408: /* 801C2408 001BF368 EC 1E 00 72 */ fmuls f0, f30, f1 /* 801C240C 001BF36C 38 78 08 38 */ addi r3, r24, 0x838 /* 801C2410 001BF370 EE 80 06 32 */ fmuls f20, f0, f24 /* 801C2414 001BF374 48 15 00 C9 */ bl Float__9CRandom16Fv /* 801C2418 001BF378 C0 18 08 34 */ lfs f0, 0x834(r24) /* 801C241C 001BF37C EE 7F 00 72 */ fmuls f19, f31, f1 /* 801C2420 001BF380 EC 35 00 2A */ fadds f1, f21, f0 /* 801C2424 001BF384 48 15 29 21 */ bl FastCosR__5CMathFf /* 801C2428 001BF388 EC 14 00 72 */ fmuls f0, f20, f1 /* 801C242C 001BF38C FC 20 A8 90 */ fmr f1, f21 /* 801C2430 001BF390 EE B3 00 32 */ fmuls f21, f19, f0 /* 801C2434 001BF394 48 15 29 BD */ bl FastSinR__5CMathFf /* 801C2438 001BF398 6F 40 80 00 */ xoris r0, r26, 0x8000 /* 801C243C 001BF39C EC 14 00 72 */ fmuls f0, f20, f1 /* 801C2440 001BF3A0 90 01 00 CC */ stw r0, 0xcc(r1) /* 801C2444 001BF3A4 93 E1 00 C8 */ stw r31, 0xc8(r1) /* 801C2448 001BF3A8 EC 33 00 32 */ fmuls f1, f19, f0 /* 801C244C 001BF3AC C8 01 00 C8 */ lfd f0, 0xc8(r1) /* 801C2450 001BF3B0 EC 00 E0 28 */ fsubs f0, f0, f28 /* 801C2454 001BF3B4 FC 00 E8 40 */ fcmpo cr0, f0, f29 /* 801C2458 001BF3B8 40 81 00 28 */ ble lbl_801C2480 /* 801C245C 001BF3BC D2 A1 00 20 */ stfs f21, 0x20(r1) /* 801C2460 001BF3C0 38 61 00 14 */ addi r3, r1, 0x14 /* 801C2464 001BF3C4 38 81 00 98 */ addi r4, r1, 0x98 /* 801C2468 001BF3C8 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C246C 001BF3CC D3 A1 00 24 */ stfs f29, 0x24(r1) /* 801C2470 001BF3D0 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801C2474 001BF3D4 48 15 06 75 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801C2478 001BF3D8 38 61 00 14 */ addi r3, r1, 0x14 /* 801C247C 001BF3DC 48 00 00 0C */ b lbl_801C2488 lbl_801C2480: /* 801C2480 001BF3E0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C2484 001BF3E4 38 63 66 A0 */ addi r3, r3, skZero3f@l lbl_801C2488: /* 801C2488 001BF3E8 C0 43 00 04 */ lfs f2, 4(r3) /* 801C248C 001BF3EC 3A E0 00 00 */ li r23, 0 /* 801C2490 001BF3F0 C0 23 00 08 */ lfs f1, 8(r3) /* 801C2494 001BF3F4 C0 03 00 00 */ lfs f0, 0(r3) /* 801C2498 001BF3F8 EC 5B 10 2A */ fadds f2, f27, f2 /* 801C249C 001BF3FC EC 3A 08 2A */ fadds f1, f26, f1 /* 801C24A0 001BF400 EC 19 00 2A */ fadds f0, f25, f0 /* 801C24A4 001BF404 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801C24A8 001BF408 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801C24AC 001BF40C D0 21 00 4C */ stfs f1, 0x4c(r1) lbl_801C24B0: /* 801C24B0 001BF410 6E E0 80 00 */ xoris r0, r23, 0x8000 /* 801C24B4 001BF414 93 E1 00 D8 */ stw r31, 0xd8(r1) /* 801C24B8 001BF418 C0 81 00 54 */ lfs f4, 0x54(r1) /* 801C24BC 001BF41C 38 81 00 08 */ addi r4, r1, 8 /* 801C24C0 001BF420 90 01 00 DC */ stw r0, 0xdc(r1) /* 801C24C4 001BF424 C0 41 00 58 */ lfs f2, 0x58(r1) /* 801C24C8 001BF428 C8 21 00 D8 */ lfd f1, 0xd8(r1) /* 801C24CC 001BF42C C0 01 00 50 */ lfs f0, 0x50(r1) /* 801C24D0 001BF430 EC C1 E0 28 */ fsubs f6, f1, f28 /* 801C24D4 001BF434 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 801C24D8 001BF438 C0 61 00 4C */ lfs f3, 0x4c(r1) /* 801C24DC 001BF43C C0 21 00 44 */ lfs f1, 0x44(r1) /* 801C24E0 001BF440 EC 86 01 32 */ fmuls f4, f6, f4 /* 801C24E4 001BF444 EC 46 00 B2 */ fmuls f2, f6, f2 /* 801C24E8 001BF448 EC 06 00 32 */ fmuls f0, f6, f0 /* 801C24EC 001BF44C EC 98 01 32 */ fmuls f4, f24, f4 /* 801C24F0 001BF450 EC 58 00 B2 */ fmuls f2, f24, f2 /* 801C24F4 001BF454 EC 18 00 32 */ fmuls f0, f24, f0 /* 801C24F8 001BF458 EC 85 20 2A */ fadds f4, f5, f4 /* 801C24FC 001BF45C EC 43 10 2A */ fadds f2, f3, f2 /* 801C2500 001BF460 EC 01 00 2A */ fadds f0, f1, f0 /* 801C2504 001BF464 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801C2508 001BF468 D0 01 00 08 */ stfs f0, 8(r1) /* 801C250C 001BF46C D0 41 00 10 */ stfs f2, 0x10(r1) /* 801C2510 001BF470 80 78 08 20 */ lwz r3, 0x820(r24) /* 801C2514 001BF474 81 83 00 00 */ lwz r12, 0(r3) /* 801C2518 001BF478 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801C251C 001BF47C 7D 89 03 A6 */ mtctr r12 /* 801C2520 001BF480 4E 80 04 21 */ bctrl /* 801C2524 001BF484 80 78 08 20 */ lwz r3, 0x820(r24) /* 801C2528 001BF488 38 80 00 01 */ li r4, 1 /* 801C252C 001BF48C 48 15 A3 95 */ bl ForceParticleCreation__11CElementGenFi /* 801C2530 001BF490 3A F7 00 01 */ addi r23, r23, 1 /* 801C2534 001BF494 2C 17 00 03 */ cmpwi r23, 3 /* 801C2538 001BF498 41 80 FF 78 */ blt lbl_801C24B0 /* 801C253C 001BF49C 80 1E 01 68 */ lwz r0, 0x168(r30) /* 801C2540 001BF4A0 7C 1A E0 00 */ cmpw r26, r28 /* 801C2544 001BF4A4 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801C2548 001BF4A8 7C 60 DA 14 */ add r3, r0, r27 /* 801C254C 001BF4AC D0 03 00 0C */ stfs f0, 0xc(r3) /* 801C2550 001BF4B0 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801C2554 001BF4B4 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801C2558 001BF4B8 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801C255C 001BF4BC D0 03 00 14 */ stfs f0, 0x14(r3) /* 801C2560 001BF4C0 C0 03 00 30 */ lfs f0, 0x30(r3) /* 801C2564 001BF4C4 D2 E3 00 30 */ stfs f23, 0x30(r3) /* 801C2568 001BF4C8 FE E0 00 90 */ fmr f23, f0 /* 801C256C 001BF4CC 40 82 00 34 */ bne lbl_801C25A0 /* 801C2570 001BF4D0 80 78 08 30 */ lwz r3, 0x830(r24) /* 801C2574 001BF4D4 38 81 00 44 */ addi r4, r1, 0x44 /* 801C2578 001BF4D8 81 83 00 00 */ lwz r12, 0(r3) /* 801C257C 001BF4DC 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801C2580 001BF4E0 7D 89 03 A6 */ mtctr r12 /* 801C2584 001BF4E4 4E 80 04 21 */ bctrl /* 801C2588 001BF4E8 80 78 08 30 */ lwz r3, 0x830(r24) /* 801C258C 001BF4EC FC 20 B0 90 */ fmr f1, f22 /* 801C2590 001BF4F0 81 83 00 00 */ lwz r12, 0(r3) /* 801C2594 001BF4F4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C2598 001BF4F8 7D 89 03 A6 */ mtctr r12 /* 801C259C 001BF4FC 4E 80 04 21 */ bctrl lbl_801C25A0: /* 801C25A0 001BF500 C0 41 00 50 */ lfs f2, 0x50(r1) /* 801C25A4 001BF504 3B 7B 00 80 */ addi r27, r27, 0x80 /* 801C25A8 001BF508 C0 21 00 54 */ lfs f1, 0x54(r1) /* 801C25AC 001BF50C 3B 5A 00 01 */ addi r26, r26, 1 /* 801C25B0 001BF510 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801C25B4 001BF514 EF 39 10 2A */ fadds f25, f25, f2 /* 801C25B8 001BF518 EF 7B 08 2A */ fadds f27, f27, f1 /* 801C25BC 001BF51C EF 5A 00 2A */ fadds f26, f26, f0 lbl_801C25C0: /* 801C25C0 001BF520 7C 1A E8 00 */ cmpw r26, r29 /* 801C25C4 001BF524 41 80 FE 08 */ blt lbl_801C23CC /* 801C25C8 001BF528 80 78 08 20 */ lwz r3, 0x820(r24) /* 801C25CC 001BF52C 38 80 00 00 */ li r4, 0 /* 801C25D0 001BF530 81 83 00 00 */ lwz r12, 0(r3) /* 801C25D4 001BF534 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C25D8 001BF538 7D 89 03 A6 */ mtctr r12 /* 801C25DC 001BF53C 4E 80 04 21 */ bctrl /* 801C25E0 001BF540 80 78 08 20 */ lwz r3, 0x820(r24) /* 801C25E4 001BF544 FC 20 B0 90 */ fmr f1, f22 /* 801C25E8 001BF548 81 83 00 00 */ lwz r12, 0(r3) /* 801C25EC 001BF54C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C25F0 001BF550 7D 89 03 A6 */ mtctr r12 /* 801C25F4 001BF554 4E 80 04 21 */ bctrl /* 801C25F8 001BF558 C0 58 08 34 */ lfs f2, 0x834(r24) /* 801C25FC 001BF55C FC 20 B0 90 */ fmr f1, f22 /* 801C2600 001BF560 C0 02 AA D8 */ lfs f0, lbl_805AC7F8@sda21(r2) /* 801C2604 001BF564 7F 03 C3 78 */ mr r3, r24 /* 801C2608 001BF568 7F 24 CB 78 */ mr r4, r25 /* 801C260C 001BF56C 38 A1 00 5C */ addi r5, r1, 0x5c /* 801C2610 001BF570 EC 02 00 2A */ fadds f0, f2, f0 /* 801C2614 001BF574 D0 18 08 34 */ stfs f0, 0x834(r24) /* 801C2618 001BF578 4B FF F9 59 */ bl sub_801c1f70 lbl_801C261C: /* 801C261C 001BF57C E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 /* 801C2620 001BF580 CB E1 01 D0 */ lfd f31, 0x1d0(r1) /* 801C2624 001BF584 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 /* 801C2628 001BF588 CB C1 01 C0 */ lfd f30, 0x1c0(r1) /* 801C262C 001BF58C E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 /* 801C2630 001BF590 CB A1 01 B0 */ lfd f29, 0x1b0(r1) /* 801C2634 001BF594 E3 81 01 A8 */ psq_l f28, 424(r1), 0, qr0 /* 801C2638 001BF598 CB 81 01 A0 */ lfd f28, 0x1a0(r1) /* 801C263C 001BF59C E3 61 01 98 */ psq_l f27, 408(r1), 0, qr0 /* 801C2640 001BF5A0 CB 61 01 90 */ lfd f27, 0x190(r1) /* 801C2644 001BF5A4 E3 41 01 88 */ psq_l f26, 392(r1), 0, qr0 /* 801C2648 001BF5A8 CB 41 01 80 */ lfd f26, 0x180(r1) /* 801C264C 001BF5AC E3 21 01 78 */ psq_l f25, 376(r1), 0, qr0 /* 801C2650 001BF5B0 CB 21 01 70 */ lfd f25, 0x170(r1) /* 801C2654 001BF5B4 E3 01 01 68 */ psq_l f24, 360(r1), 0, qr0 /* 801C2658 001BF5B8 CB 01 01 60 */ lfd f24, 0x160(r1) /* 801C265C 001BF5BC E2 E1 01 58 */ psq_l f23, 344(r1), 0, qr0 /* 801C2660 001BF5C0 CA E1 01 50 */ lfd f23, 0x150(r1) /* 801C2664 001BF5C4 E2 C1 01 48 */ psq_l f22, 328(r1), 0, qr0 /* 801C2668 001BF5C8 CA C1 01 40 */ lfd f22, 0x140(r1) /* 801C266C 001BF5CC E2 A1 01 38 */ psq_l f21, 312(r1), 0, qr0 /* 801C2670 001BF5D0 CA A1 01 30 */ lfd f21, 0x130(r1) /* 801C2674 001BF5D4 E2 81 01 28 */ psq_l f20, 296(r1), 0, qr0 /* 801C2678 001BF5D8 CA 81 01 20 */ lfd f20, 0x120(r1) /* 801C267C 001BF5DC E2 61 01 18 */ psq_l f19, 280(r1), 0, qr0 /* 801C2680 001BF5E0 CA 61 01 10 */ lfd f19, 0x110(r1) /* 801C2684 001BF5E4 BA E1 00 EC */ lmw r23, 0xec(r1) /* 801C2688 001BF5E8 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 801C268C 001BF5EC 7C 08 03 A6 */ mtlr r0 /* 801C2690 001BF5F0 38 21 01 E0 */ addi r1, r1, 0x1e0 /* 801C2694 001BF5F4 4E 80 00 20 */ blr .global sub_801c2698 sub_801c2698: /* 801C2698 001BF5F8 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801C269C 001BF5FC 7C 08 02 A6 */ mflr r0 /* 801C26A0 001BF600 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801C26A4 001BF604 DB E1 00 90 */ stfd f31, 0x90(r1) /* 801C26A8 001BF608 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801C26AC 001BF60C DB C1 00 80 */ stfd f30, 0x80(r1) /* 801C26B0 001BF610 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 801C26B4 001BF614 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801C26B8 001BF618 93 C1 00 78 */ stw r30, 0x78(r1) /* 801C26BC 001BF61C 93 A1 00 74 */ stw r29, 0x74(r1) /* 801C26C0 001BF620 7C 7D 1B 78 */ mr r29, r3 /* 801C26C4 001BF624 7C 9E 23 78 */ mr r30, r4 /* 801C26C8 001BF628 FF C0 08 90 */ fmr f30, f1 /* 801C26CC 001BF62C 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 801C26D0 001BF630 C3 E3 06 3C */ lfs f31, 0x63c(r3) /* 801C26D4 001BF634 4B FF EE D5 */ bl sub_801c15a8 /* 801C26D8 001BF638 EC 1E 07 F2 */ fmuls f0, f30, f31 /* 801C26DC 001BF63C 38 E0 00 0A */ li r7, 0xa /* 801C26E0 001BF640 C0 5D 07 9C */ lfs f2, 0x79c(r29) /* 801C26E4 001BF644 38 80 00 00 */ li r4, 0 /* 801C26E8 001BF648 88 61 00 2C */ lbz r3, 0x2c(r1) /* 801C26EC 001BF64C 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 /* 801C26F0 001BF650 EC 60 00 72 */ fmuls f3, f0, f1 /* 801C26F4 001BF654 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801C26F8 001BF658 98 61 00 2C */ stb r3, 0x2c(r1) /* 801C26FC 001BF65C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801C2700 001BF660 54 06 06 3E */ clrlwi r6, r0, 0x18 /* 801C2704 001BF664 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C2708 001BF668 EC 22 18 2A */ fadds f1, f2, f3 /* 801C270C 001BF66C 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a /* 801C2710 001BF670 98 01 00 2C */ stb r0, 0x2c(r1) /* 801C2714 001BF674 38 A0 00 01 */ li r5, 1 /* 801C2718 001BF678 38 60 00 00 */ li r3, 0 /* 801C271C 001BF67C 38 80 00 01 */ li r4, 1 /* 801C2720 001BF680 D0 3D 07 9C */ stfs f1, 0x79c(r29) /* 801C2724 001BF684 88 01 00 60 */ lbz r0, 0x60(r1) /* 801C2728 001BF688 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801C272C 001BF68C 90 E1 00 48 */ stw r7, 0x48(r1) /* 801C2730 001BF690 98 C1 00 4C */ stb r6, 0x4c(r1) /* 801C2734 001BF694 D0 61 00 50 */ stfs f3, 0x50(r1) /* 801C2738 001BF698 D0 61 00 54 */ stfs f3, 0x54(r1) /* 801C273C 001BF69C D0 01 00 58 */ stfs f0, 0x58(r1) /* 801C2740 001BF6A0 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801C2744 001BF6A4 98 01 00 60 */ stb r0, 0x60(r1) /* 801C2748 001BF6A8 88 1F 09 C7 */ lbz r0, 0x9c7(r31) /* 801C274C 001BF6AC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801C2750 001BF6B0 90 E1 00 28 */ stw r7, 0x28(r1) /* 801C2754 001BF6B4 98 1F 09 C7 */ stb r0, 0x9c7(r31) /* 801C2758 001BF6B8 80 AD 91 28 */ lwz r5, lbl_805A7CE8@sda21(r13) /* 801C275C 001BF6BC 98 C1 00 2C */ stb r6, 0x2c(r1) /* 801C2760 001BF6C0 48 1C 77 95 */ bl __shl2i /* 801C2764 001BF6C4 39 40 00 00 */ li r10, 0 /* 801C2768 001BF6C8 38 00 00 03 */ li r0, 3 /* 801C276C 001BF6CC 90 81 00 34 */ stw r4, 0x34(r1) /* 801C2770 001BF6D0 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C2774 001BF6D4 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801C2778 001BF6D8 38 A1 00 1C */ addi r5, r1, 0x1c /* 801C277C 001BF6DC 90 61 00 30 */ stw r3, 0x30(r1) /* 801C2780 001BF6E0 38 81 00 24 */ addi r4, r1, 0x24 /* 801C2784 001BF6E4 7F C3 F3 78 */ mr r3, r30 /* 801C2788 001BF6E8 38 C1 00 14 */ addi r6, r1, 0x14 /* 801C278C 001BF6EC 91 41 00 3C */ stw r10, 0x3c(r1) /* 801C2790 001BF6F0 38 E1 00 48 */ addi r7, r1, 0x48 /* 801C2794 001BF6F4 39 01 00 30 */ addi r8, r1, 0x30 /* 801C2798 001BF6F8 91 41 00 38 */ stw r10, 0x38(r1) /* 801C279C 001BF6FC 90 01 00 40 */ stw r0, 0x40(r1) /* 801C27A0 001BF700 A0 1D 00 08 */ lhz r0, 8(r29) /* 801C27A4 001BF704 B0 01 00 14 */ sth r0, 0x14(r1) /* 801C27A8 001BF708 A1 5F 00 08 */ lhz r10, 8(r31) /* 801C27AC 001BF70C B0 01 00 10 */ sth r0, 0x10(r1) /* 801C27B0 001BF710 B1 41 00 1C */ sth r10, 0x1c(r1) /* 801C27B4 001BF714 A0 1D 00 08 */ lhz r0, 8(r29) /* 801C27B8 001BF718 B1 41 00 18 */ sth r10, 0x18(r1) /* 801C27BC 001BF71C B0 01 00 20 */ sth r0, 0x20(r1) /* 801C27C0 001BF720 B0 01 00 24 */ sth r0, 0x24(r1) /* 801C27C4 001BF724 4B E8 78 DD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801C27C8 001BF728 88 1F 09 C7 */ lbz r0, 0x9c7(r31) /* 801C27CC 001BF72C 38 60 00 00 */ li r3, 0 /* 801C27D0 001BF730 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C27D4 001BF734 98 1F 09 C7 */ stb r0, 0x9c7(r31) /* 801C27D8 001BF738 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 801C27DC 001BF73C 2C 00 00 00 */ cmpwi r0, 0 /* 801C27E0 001BF740 40 82 00 6C */ bne lbl_801C284C /* 801C27E4 001BF744 C0 22 AA E8 */ lfs f1, lbl_805AC808@sda21(r2) /* 801C27E8 001BF748 C0 1D 07 A0 */ lfs f0, 0x7a0(r29) /* 801C27EC 001BF74C EC 21 00 32 */ fmuls f1, f1, f0 /* 801C27F0 001BF750 48 15 26 01 */ bl FastSinR__5CMathFf /* 801C27F4 001BF754 A0 1D 00 08 */ lhz r0, 8(r29) /* 801C27F8 001BF758 FC 00 0A 10 */ fabs f0, f1 /* 801C27FC 001BF75C C0 22 AA EC */ lfs f1, lbl_805AC80C@sda21(r2) /* 801C2800 001BF760 38 81 00 0C */ addi r4, r1, 0xc /* 801C2804 001BF764 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C2808 001BF768 FC 00 00 18 */ frsp f0, f0 /* 801C280C 001BF76C C0 42 AA F0 */ lfs f2, lbl_805AC810@sda21(r2) /* 801C2810 001BF770 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801C2814 001BF774 B0 01 00 08 */ sth r0, 8(r1) /* 801C2818 001BF778 80 63 00 00 */ lwz r3, 0(r3) /* 801C281C 001BF77C EC 21 00 32 */ fmuls f1, f1, f0 /* 801C2820 001BF780 38 63 01 88 */ addi r3, r3, 0x188 /* 801C2824 001BF784 4B FF E3 15 */ bl AddSource__19CStaticInterferenceF9TUniqueId /* 801C2828 001BF788 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801C282C 001BF78C C0 22 AA F0 */ lfs f1, lbl_805AC810@sda21(r2) /* 801C2830 001BF790 C0 03 07 40 */ lfs f0, 0x740(r3) /* 801C2834 001BF794 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C2838 001BF798 40 80 00 14 */ bge lbl_801C284C /* 801C283C 001BF79C C0 42 80 F8 */ lfs f2, lbl_805A9E18@sda21(r2) /* 801C2840 001BF7A0 7F E3 FB 78 */ mr r3, r31 /* 801C2844 001BF7A4 C0 62 80 FC */ lfs f3, lbl_805A9E1C@sda21(r2) /* 801C2848 001BF7A8 4B E5 08 25 */ bl SetHudDisable__7CPlayerFfff lbl_801C284C: /* 801C284C 001BF7AC C0 1D 07 A0 */ lfs f0, 0x7a0(r29) /* 801C2850 001BF7B0 EC 00 F0 2A */ fadds f0, f0, f30 /* 801C2854 001BF7B4 D0 1D 07 A0 */ stfs f0, 0x7a0(r29) /* 801C2858 001BF7B8 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801C285C 001BF7BC CB E1 00 90 */ lfd f31, 0x90(r1) /* 801C2860 001BF7C0 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 801C2864 001BF7C4 CB C1 00 80 */ lfd f30, 0x80(r1) /* 801C2868 001BF7C8 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801C286C 001BF7CC 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801C2870 001BF7D0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801C2874 001BF7D4 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801C2878 001BF7D8 7C 08 03 A6 */ mtlr r0 /* 801C287C 001BF7DC 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801C2880 001BF7E0 4E 80 00 20 */ blr .global sub_801c2884 sub_801c2884: /* 801C2884 001BF7E4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801C2888 001BF7E8 7C 08 02 A6 */ mflr r0 /* 801C288C 001BF7EC 90 01 00 64 */ stw r0, 0x64(r1) /* 801C2890 001BF7F0 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801C2894 001BF7F4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801C2898 001BF7F8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801C289C 001BF7FC 93 C1 00 48 */ stw r30, 0x48(r1) /* 801C28A0 001BF800 7C 7E 1B 78 */ mr r30, r3 /* 801C28A4 001BF804 80 63 04 50 */ lwz r3, 0x450(r3) /* 801C28A8 001BF808 7C 9F 23 78 */ mr r31, r4 /* 801C28AC 001BF80C 88 03 03 00 */ lbz r0, 0x300(r3) /* 801C28B0 001BF810 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801C28B4 001BF814 41 82 00 0C */ beq lbl_801C28C0 /* 801C28B8 001BF818 38 60 00 01 */ li r3, 1 /* 801C28BC 001BF81C 48 00 01 58 */ b lbl_801C2A14 lbl_801C28C0: /* 801C28C0 001BF820 C0 3E 08 3C */ lfs f1, 0x83c(r30) /* 801C28C4 001BF824 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C28C8 001BF828 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C28CC 001BF82C 4C 41 13 82 */ cror 2, 1, 2 /* 801C28D0 001BF830 40 82 00 1C */ bne lbl_801C28EC /* 801C28D4 001BF834 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C28D8 001BF838 38 60 00 00 */ li r3, 0 /* 801C28DC 001BF83C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C28E0 001BF840 38 60 00 01 */ li r3, 1 /* 801C28E4 001BF844 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C28E8 001BF848 48 00 01 2C */ b lbl_801C2A14 lbl_801C28EC: /* 801C28EC 001BF84C 7F C4 F3 78 */ mr r4, r30 /* 801C28F0 001BF850 38 61 00 24 */ addi r3, r1, 0x24 /* 801C28F4 001BF854 4B FF ED 7D */ bl sub_801c1670 /* 801C28F8 001BF858 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801C28FC 001BF85C 7F C4 F3 78 */ mr r4, r30 /* 801C2900 001BF860 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801C2904 001BF864 7F E5 FB 78 */ mr r5, r31 /* 801C2908 001BF868 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801C290C 001BF86C 38 61 00 18 */ addi r3, r1, 0x18 /* 801C2910 001BF870 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801C2914 001BF874 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801C2918 001BF878 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801C291C 001BF87C 4B FF EC BD */ bl sub_801c15d8 /* 801C2920 001BF880 C0 A1 00 1C */ lfs f5, 0x1c(r1) /* 801C2924 001BF884 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801C2928 001BF888 C0 C1 00 18 */ lfs f6, 0x18(r1) /* 801C292C 001BF88C EC 45 00 28 */ fsubs f2, f5, f0 /* 801C2930 001BF890 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801C2934 001BF894 C0 81 00 20 */ lfs f4, 0x20(r1) /* 801C2938 001BF898 EC 26 00 28 */ fsubs f1, f6, f0 /* 801C293C 001BF89C C0 61 00 44 */ lfs f3, 0x44(r1) /* 801C2940 001BF8A0 EC 02 00 B2 */ fmuls f0, f2, f2 /* 801C2944 001BF8A4 D0 C1 00 30 */ stfs f6, 0x30(r1) /* 801C2948 001BF8A8 EC 64 18 28 */ fsubs f3, f4, f3 /* 801C294C 001BF8AC EC 01 00 7A */ fmadds f0, f1, f1, f0 /* 801C2950 001BF8B0 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 801C2954 001BF8B4 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801C2958 001BF8B8 EC 63 00 FA */ fmadds f3, f3, f3, f0 /* 801C295C 001BF8BC C0 1E 03 00 */ lfs f0, 0x300(r30) /* 801C2960 001BF8C0 EC 00 00 32 */ fmuls f0, f0, f0 /* 801C2964 001BF8C4 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801C2968 001BF8C8 40 81 00 0C */ ble lbl_801C2974 /* 801C296C 001BF8CC 38 60 00 01 */ li r3, 1 /* 801C2970 001BF8D0 48 00 00 A4 */ b lbl_801C2A14 lbl_801C2974: /* 801C2974 001BF8D4 38 61 00 08 */ addi r3, r1, 8 /* 801C2978 001BF8D8 48 15 18 89 */ bl __ct__9CVector2fFff /* 801C297C 001BF8DC C0 01 00 08 */ lfs f0, 8(r1) /* 801C2980 001BF8E0 38 61 00 10 */ addi r3, r1, 0x10 /* 801C2984 001BF8E4 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801C2988 001BF8E8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C298C 001BF8EC C0 02 AA D0 */ lfs f0, lbl_805AC7F0@sda21(r2) /* 801C2990 001BF8F0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801C2994 001BF8F4 C0 3E 02 FC */ lfs f1, 0x2fc(r30) /* 801C2998 001BF8F8 EC 00 00 72 */ fmuls f0, f0, f1 /* 801C299C 001BF8FC EF E0 00 72 */ fmuls f31, f0, f1 /* 801C29A0 001BF900 48 15 17 3D */ bl MagSquared__9CVector2fCFv /* 801C29A4 001BF904 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801C29A8 001BF908 40 80 00 0C */ bge lbl_801C29B4 /* 801C29AC 001BF90C 38 60 00 01 */ li r3, 1 /* 801C29B0 001BF910 48 00 00 64 */ b lbl_801C2A14 lbl_801C29B4: /* 801C29B4 001BF914 7F C3 F3 78 */ mr r3, r30 /* 801C29B8 001BF918 7F E4 FB 78 */ mr r4, r31 /* 801C29BC 001BF91C 38 A1 00 3C */ addi r5, r1, 0x3c /* 801C29C0 001BF920 38 C1 00 30 */ addi r6, r1, 0x30 /* 801C29C4 001BF924 48 03 24 0D */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801C29C8 001BF928 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C29CC 001BF92C 41 82 00 0C */ beq lbl_801C29D8 /* 801C29D0 001BF930 38 60 00 01 */ li r3, 1 /* 801C29D4 001BF934 48 00 00 40 */ b lbl_801C2A14 lbl_801C29D8: /* 801C29D8 001BF938 C3 FE 06 40 */ lfs f31, 0x640(r30) /* 801C29DC 001BF93C 7F C3 F3 78 */ mr r3, r30 /* 801C29E0 001BF940 4B FF EB C9 */ bl sub_801c15a8 /* 801C29E4 001BF944 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801C29E8 001BF948 C0 1E 07 9C */ lfs f0, 0x79c(r30) /* 801C29EC 001BF94C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C29F0 001BF950 4C 41 13 82 */ cror 2, 1, 2 /* 801C29F4 001BF954 41 82 00 14 */ beq lbl_801C2A08 /* 801C29F8 001BF958 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801C29FC 001BF95C 88 03 09 C4 */ lbz r0, 0x9c4(r3) /* 801C2A00 001BF960 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801C2A04 001BF964 41 82 00 0C */ beq lbl_801C2A10 lbl_801C2A08: /* 801C2A08 001BF968 38 60 00 01 */ li r3, 1 /* 801C2A0C 001BF96C 48 00 00 08 */ b lbl_801C2A14 lbl_801C2A10: /* 801C2A10 001BF970 38 60 00 00 */ li r3, 0 lbl_801C2A14: /* 801C2A14 001BF974 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801C2A18 001BF978 80 01 00 64 */ lwz r0, 0x64(r1) /* 801C2A1C 001BF97C CB E1 00 50 */ lfd f31, 0x50(r1) /* 801C2A20 001BF980 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801C2A24 001BF984 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801C2A28 001BF988 7C 08 03 A6 */ mtlr r0 /* 801C2A2C 001BF98C 38 21 00 60 */ addi r1, r1, 0x60 /* 801C2A30 001BF990 4E 80 00 20 */ blr .global WallHang__12CMetroidBetaFR13CStateManager9EStateMsgf WallHang__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C2A34 001BF994 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C2A38 001BF998 7C 08 02 A6 */ mflr r0 /* 801C2A3C 001BF99C 2C 05 00 01 */ cmpwi r5, 1 /* 801C2A40 001BF9A0 90 01 00 34 */ stw r0, 0x34(r1) /* 801C2A44 001BF9A4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C2A48 001BF9A8 7C 9F 23 78 */ mr r31, r4 /* 801C2A4C 001BF9AC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C2A50 001BF9B0 7C 7E 1B 78 */ mr r30, r3 /* 801C2A54 001BF9B4 41 82 00 58 */ beq lbl_801C2AAC /* 801C2A58 001BF9B8 40 80 00 10 */ bge lbl_801C2A68 /* 801C2A5C 001BF9BC 2C 05 00 00 */ cmpwi r5, 0 /* 801C2A60 001BF9C0 40 80 00 14 */ bge lbl_801C2A74 /* 801C2A64 001BF9C4 48 00 01 A4 */ b lbl_801C2C08 lbl_801C2A68: /* 801C2A68 001BF9C8 2C 05 00 03 */ cmpwi r5, 3 /* 801C2A6C 001BF9CC 40 80 01 9C */ bge lbl_801C2C08 /* 801C2A70 001BF9D0 48 00 01 7C */ b lbl_801C2BEC lbl_801C2A74: /* 801C2A74 001BF9D4 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C2A78 001BF9D8 38 80 00 00 */ li r4, 0 /* 801C2A7C 001BF9DC 4B F7 7F 5D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C2A80 001BF9E0 38 00 00 00 */ li r0, 0 /* 801C2A84 001BF9E4 7F C3 F3 78 */ mr r3, r30 /* 801C2A88 001BF9E8 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C2A8C 001BF9EC 7F E5 FB 78 */ mr r5, r31 /* 801C2A90 001BF9F0 38 80 00 13 */ li r4, 0x13 /* 801C2A94 001BF9F4 4B E9 14 ED */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801C2A98 001BF9F8 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C2A9C 001BF9FC 7F E4 FB 78 */ mr r4, r31 /* 801C2AA0 001BFA00 38 A0 00 00 */ li r5, 0 /* 801C2AA4 001BFA04 4B FE 48 55 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801C2AA8 001BFA08 48 00 01 60 */ b lbl_801C2C08 lbl_801C2AAC: /* 801C2AAC 001BFA0C 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801C2AB0 001BFA10 2C 00 00 01 */ cmpwi r0, 1 /* 801C2AB4 001BFA14 41 82 00 38 */ beq lbl_801C2AEC /* 801C2AB8 001BFA18 40 80 00 10 */ bge lbl_801C2AC8 /* 801C2ABC 001BFA1C 2C 00 00 00 */ cmpwi r0, 0 /* 801C2AC0 001BFA20 40 80 00 14 */ bge lbl_801C2AD4 /* 801C2AC4 001BFA24 48 00 01 44 */ b lbl_801C2C08 lbl_801C2AC8: /* 801C2AC8 001BFA28 2C 00 00 03 */ cmpwi r0, 3 /* 801C2ACC 001BFA2C 40 80 01 3C */ bge lbl_801C2C08 /* 801C2AD0 001BFA30 48 00 01 00 */ b lbl_801C2BD0 lbl_801C2AD4: /* 801C2AD4 001BFA34 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C2AD8 001BFA38 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801C2ADC 001BFA3C 41 82 01 2C */ beq lbl_801C2C08 /* 801C2AE0 001BFA40 38 00 00 01 */ li r0, 1 /* 801C2AE4 001BFA44 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C2AE8 001BFA48 48 00 01 20 */ b lbl_801C2C08 lbl_801C2AEC: /* 801C2AEC 001BFA4C 81 5E 04 50 */ lwz r10, 0x450(r30) /* 801C2AF0 001BFA50 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 801C2AF4 001BFA54 2C 00 00 0C */ cmpwi r0, 0xc /* 801C2AF8 001BFA58 40 82 00 10 */ bne lbl_801C2B08 /* 801C2AFC 001BFA5C 38 00 00 02 */ li r0, 2 /* 801C2B00 001BFA60 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C2B04 001BFA64 48 00 01 04 */ b lbl_801C2C08 lbl_801C2B08: /* 801C2B08 001BFA68 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801C2B0C 001BFA6C 38 C0 00 00 */ li r6, 0 /* 801C2B10 001BFA70 39 25 AA 68 */ addi r9, r5, lbl_803DAA68@l /* 801C2B14 001BFA74 80 61 00 24 */ lwz r3, 0x24(r1) /* 801C2B18 001BFA78 50 C3 F8 00 */ rlwimi r3, r6, 0x1f, 0, 0 /* 801C2B1C 001BFA7C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C2B20 001BFA80 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 801C2B24 001BFA84 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 801C2B28 001BFA88 7C 60 1B 78 */ mr r0, r3 /* 801C2B2C 001BFA8C 39 00 00 0E */ li r8, 0xe /* 801C2B30 001BFA90 C0 24 00 04 */ lfs f1, 4(r4) /* 801C2B34 001BFA94 38 A0 FF FF */ li r5, -1 /* 801C2B38 001BFA98 C0 04 00 08 */ lfs f0, 8(r4) /* 801C2B3C 001BFA9C 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 801C2B40 001BFAA0 91 21 00 08 */ stw r9, 8(r1) /* 801C2B44 001BFAA4 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 /* 801C2B48 001BFAA8 3B EA 00 04 */ addi r31, r10, 4 /* 801C2B4C 001BFAAC 38 80 00 0E */ li r4, 0xe /* 801C2B50 001BFAB0 90 61 00 24 */ stw r3, 0x24(r1) /* 801C2B54 001BFAB4 7F E3 FB 78 */ mr r3, r31 /* 801C2B58 001BFAB8 91 01 00 0C */ stw r8, 0xc(r1) /* 801C2B5C 001BFABC 90 E1 00 08 */ stw r7, 8(r1) /* 801C2B60 001BFAC0 90 C1 00 10 */ stw r6, 0x10(r1) /* 801C2B64 001BFAC4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801C2B68 001BFAC8 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C2B6C 001BFACC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801C2B70 001BFAD0 90 A1 00 20 */ stw r5, 0x20(r1) /* 801C2B74 001BFAD4 90 01 00 24 */ stw r0, 0x24(r1) /* 801C2B78 001BFAD8 4B F6 E8 C1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801C2B7C 001BFADC 80 01 00 0C */ lwz r0, 0xc(r1) /* 801C2B80 001BFAE0 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801C2B84 001BFAE4 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801C2B88 001BFAE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801C2B8C 001BFAEC 90 1F 01 90 */ stw r0, 0x190(r31) /* 801C2B90 001BFAF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801C2B94 001BFAF4 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801C2B98 001BFAF8 80 61 00 14 */ lwz r3, 0x14(r1) /* 801C2B9C 001BFAFC 90 BF 01 94 */ stw r5, 0x194(r31) /* 801C2BA0 001BFB00 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801C2BA4 001BFB04 90 7F 01 98 */ stw r3, 0x198(r31) /* 801C2BA8 001BFB08 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801C2BAC 001BFB0C 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801C2BB0 001BFB10 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801C2BB4 001BFB14 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801C2BB8 001BFB18 80 61 00 24 */ lwz r3, 0x24(r1) /* 801C2BBC 001BFB1C 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801C2BC0 001BFB20 90 81 00 08 */ stw r4, 8(r1) /* 801C2BC4 001BFB24 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801C2BC8 001BFB28 90 01 00 08 */ stw r0, 8(r1) /* 801C2BCC 001BFB2C 48 00 00 3C */ b lbl_801C2C08 lbl_801C2BD0: /* 801C2BD0 001BFB30 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C2BD4 001BFB34 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801C2BD8 001BFB38 2C 00 00 0C */ cmpwi r0, 0xc /* 801C2BDC 001BFB3C 41 82 00 2C */ beq lbl_801C2C08 /* 801C2BE0 001BFB40 38 00 00 03 */ li r0, 3 /* 801C2BE4 001BFB44 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C2BE8 001BFB48 48 00 00 20 */ b lbl_801C2C08 lbl_801C2BEC: /* 801C2BEC 001BFB4C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C2BF0 001BFB50 38 80 00 01 */ li r4, 1 /* 801C2BF4 001BFB54 4B F7 7D E5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C2BF8 001BFB58 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C2BFC 001BFB5C 7F E4 FB 78 */ mr r4, r31 /* 801C2C00 001BFB60 38 A0 00 01 */ li r5, 1 /* 801C2C04 001BFB64 4B FE 46 F5 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb lbl_801C2C08: /* 801C2C08 001BFB68 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C2C0C 001BFB6C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C2C10 001BFB70 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C2C14 001BFB74 7C 08 03 A6 */ mtlr r0 /* 801C2C18 001BFB78 38 21 00 30 */ addi r1, r1, 0x30 /* 801C2C1C 001BFB7C 4E 80 00 20 */ blr .global Generate__12CMetroidBetaFR13CStateManager9EStateMsgf Generate__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C2C20 001BFB80 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801C2C24 001BFB84 7C 08 02 A6 */ mflr r0 /* 801C2C28 001BFB88 90 01 00 84 */ stw r0, 0x84(r1) /* 801C2C2C 001BFB8C DB E1 00 70 */ stfd f31, 0x70(r1) /* 801C2C30 001BFB90 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801C2C34 001BFB94 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801C2C38 001BFB98 2C 05 00 01 */ cmpwi r5, 1 /* 801C2C3C 001BFB9C 7C 7F 1B 78 */ mr r31, r3 /* 801C2C40 001BFBA0 41 82 00 78 */ beq lbl_801C2CB8 /* 801C2C44 001BFBA4 40 80 00 10 */ bge lbl_801C2C54 /* 801C2C48 001BFBA8 2C 05 00 00 */ cmpwi r5, 0 /* 801C2C4C 001BFBAC 40 80 00 14 */ bge lbl_801C2C60 /* 801C2C50 001BFBB0 48 00 04 4C */ b lbl_801C309C lbl_801C2C54: /* 801C2C54 001BFBB4 2C 05 00 03 */ cmpwi r5, 3 /* 801C2C58 001BFBB8 40 80 04 44 */ bge lbl_801C309C /* 801C2C5C 001BFBBC 48 00 03 F4 */ b lbl_801C3050 lbl_801C2C60: /* 801C2C60 001BFBC0 C0 3F 07 DC */ lfs f1, 0x7dc(r31) /* 801C2C64 001BFBC4 C0 1F 06 5C */ lfs f0, 0x65c(r31) /* 801C2C68 001BFBC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C2C6C 001BFBCC 4C 41 13 82 */ cror 2, 1, 2 /* 801C2C70 001BFBD0 40 82 00 14 */ bne lbl_801C2C84 /* 801C2C74 001BFBD4 81 83 00 00 */ lwz r12, 0(r3) /* 801C2C78 001BFBD8 81 8C 02 98 */ lwz r12, 0x298(r12) /* 801C2C7C 001BFBDC 7D 89 03 A6 */ mtctr r12 /* 801C2C80 001BFBE0 4E 80 04 21 */ bctrl lbl_801C2C84: /* 801C2C84 001BFBE4 38 60 00 01 */ li r3, 1 /* 801C2C88 001BFBE8 90 7F 05 68 */ stw r3, 0x568(r31) /* 801C2C8C 001BFBEC 80 9F 00 64 */ lwz r4, 0x64(r31) /* 801C2C90 001BFBF0 C0 24 00 04 */ lfs f1, 4(r4) /* 801C2C94 001BFBF4 C0 44 00 08 */ lfs f2, 8(r4) /* 801C2C98 001BFBF8 C0 04 00 00 */ lfs f0, 0(r4) /* 801C2C9C 001BFBFC D0 1F 07 C0 */ stfs f0, 0x7c0(r31) /* 801C2CA0 001BFC00 D0 3F 07 C4 */ stfs f1, 0x7c4(r31) /* 801C2CA4 001BFC04 D0 5F 07 C8 */ stfs f2, 0x7c8(r31) /* 801C2CA8 001BFC08 88 1F 08 40 */ lbz r0, 0x840(r31) /* 801C2CAC 001BFC0C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801C2CB0 001BFC10 98 1F 08 40 */ stb r0, 0x840(r31) /* 801C2CB4 001BFC14 48 00 03 E8 */ b lbl_801C309C lbl_801C2CB8: /* 801C2CB8 001BFC18 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801C2CBC 001BFC1C 2C 00 00 02 */ cmpwi r0, 2 /* 801C2CC0 001BFC20 41 82 02 10 */ beq lbl_801C2ED0 /* 801C2CC4 001BFC24 40 80 03 D8 */ bge lbl_801C309C /* 801C2CC8 001BFC28 2C 00 00 01 */ cmpwi r0, 1 /* 801C2CCC 001BFC2C 40 80 00 08 */ bge lbl_801C2CD4 /* 801C2CD0 001BFC30 48 00 03 CC */ b lbl_801C309C lbl_801C2CD4: /* 801C2CD4 001BFC34 80 BF 04 50 */ lwz r5, 0x450(r31) /* 801C2CD8 001BFC38 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801C2CDC 001BFC3C 2C 00 00 0C */ cmpwi r0, 0xc /* 801C2CE0 001BFC40 40 82 00 34 */ bne lbl_801C2D14 /* 801C2CE4 001BFC44 7C A3 2B 78 */ mr r3, r5 /* 801C2CE8 001BFC48 4B F7 7B D1 */ bl GetAnimTimeRemaining__15CBodyControllerCFv /* 801C2CEC 001BFC4C D0 3F 07 D8 */ stfs f1, 0x7d8(r31) /* 801C2CF0 001BFC50 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C2CF4 001BFC54 C0 3F 07 D8 */ lfs f1, 0x7d8(r31) /* 801C2CF8 001BFC58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C2CFC 001BFC5C 40 81 00 0C */ ble lbl_801C2D08 /* 801C2D00 001BFC60 38 00 00 02 */ li r0, 2 /* 801C2D04 001BFC64 48 00 00 08 */ b lbl_801C2D0C lbl_801C2D08: /* 801C2D08 001BFC68 38 00 00 03 */ li r0, 3 lbl_801C2D0C: /* 801C2D0C 001BFC6C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801C2D10 001BFC70 48 00 03 8C */ b lbl_801C309C lbl_801C2D14: /* 801C2D14 001BFC74 81 83 00 00 */ lwz r12, 0(r3) /* 801C2D18 001BFC78 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C2D1C 001BFC7C 81 8C 01 8C */ lwz r12, 0x18c(r12) /* 801C2D20 001BFC80 7D 89 03 A6 */ mtctr r12 /* 801C2D24 001BFC84 4E 80 04 21 */ bctrl /* 801C2D28 001BFC88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C2D2C 001BFC8C 41 82 00 D4 */ beq lbl_801C2E00 /* 801C2D30 001BFC90 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801C2D34 001BFC94 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C2D38 001BFC98 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801C2D3C 001BFC9C 39 46 AA 68 */ addi r10, r6, lbl_803DAA68@l /* 801C2D40 001BFCA0 3D 00 80 3E */ lis r8, lbl_803DA9F0@ha /* 801C2D44 001BFCA4 80 81 00 58 */ lwz r4, 0x58(r1) /* 801C2D48 001BFCA8 38 A0 00 00 */ li r5, 0 /* 801C2D4C 001BFCAC C0 23 00 04 */ lfs f1, 4(r3) /* 801C2D50 001BFCB0 50 A4 F8 00 */ rlwimi r4, r5, 0x1f, 0, 0 /* 801C2D54 001BFCB4 C0 03 00 08 */ lfs f0, 8(r3) /* 801C2D58 001BFCB8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C2D5C 001BFCBC 7C 80 23 78 */ mr r0, r4 /* 801C2D60 001BFCC0 90 81 00 58 */ stw r4, 0x58(r1) /* 801C2D64 001BFCC4 39 20 00 0E */ li r9, 0xe /* 801C2D68 001BFCC8 38 E0 00 02 */ li r7, 2 /* 801C2D6C 001BFCCC 38 C0 FF FF */ li r6, -1 /* 801C2D70 001BFCD0 50 A0 F0 42 */ rlwimi r0, r5, 0x1e, 1, 1 /* 801C2D74 001BFCD4 3B E3 00 04 */ addi r31, r3, 4 /* 801C2D78 001BFCD8 91 41 00 3C */ stw r10, 0x3c(r1) /* 801C2D7C 001BFCDC 39 08 A9 F0 */ addi r8, r8, lbl_803DA9F0@l /* 801C2D80 001BFCE0 7F E3 FB 78 */ mr r3, r31 /* 801C2D84 001BFCE4 38 80 00 0E */ li r4, 0xe /* 801C2D88 001BFCE8 91 21 00 40 */ stw r9, 0x40(r1) /* 801C2D8C 001BFCEC 91 01 00 3C */ stw r8, 0x3c(r1) /* 801C2D90 001BFCF0 90 E1 00 44 */ stw r7, 0x44(r1) /* 801C2D94 001BFCF4 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801C2D98 001BFCF8 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801C2D9C 001BFCFC D0 01 00 50 */ stfs f0, 0x50(r1) /* 801C2DA0 001BFD00 90 C1 00 54 */ stw r6, 0x54(r1) /* 801C2DA4 001BFD04 90 01 00 58 */ stw r0, 0x58(r1) /* 801C2DA8 001BFD08 4B F6 E6 91 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801C2DAC 001BFD0C 80 01 00 40 */ lwz r0, 0x40(r1) /* 801C2DB0 001BFD10 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801C2DB4 001BFD14 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801C2DB8 001BFD18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801C2DBC 001BFD1C 90 1F 01 90 */ stw r0, 0x190(r31) /* 801C2DC0 001BFD20 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801C2DC4 001BFD24 80 A1 00 44 */ lwz r5, 0x44(r1) /* 801C2DC8 001BFD28 80 61 00 48 */ lwz r3, 0x48(r1) /* 801C2DCC 001BFD2C 90 BF 01 94 */ stw r5, 0x194(r31) /* 801C2DD0 001BFD30 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 801C2DD4 001BFD34 90 7F 01 98 */ stw r3, 0x198(r31) /* 801C2DD8 001BFD38 80 61 00 50 */ lwz r3, 0x50(r1) /* 801C2DDC 001BFD3C 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801C2DE0 001BFD40 80 A1 00 54 */ lwz r5, 0x54(r1) /* 801C2DE4 001BFD44 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801C2DE8 001BFD48 80 61 00 58 */ lwz r3, 0x58(r1) /* 801C2DEC 001BFD4C 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801C2DF0 001BFD50 90 81 00 3C */ stw r4, 0x3c(r1) /* 801C2DF4 001BFD54 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801C2DF8 001BFD58 90 01 00 3C */ stw r0, 0x3c(r1) /* 801C2DFC 001BFD5C 48 00 02 A0 */ b lbl_801C309C lbl_801C2E00: /* 801C2E00 001BFD60 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801C2E04 001BFD64 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C2E08 001BFD68 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801C2E0C 001BFD6C 39 46 AA 68 */ addi r10, r6, lbl_803DAA68@l /* 801C2E10 001BFD70 3D 00 80 3E */ lis r8, lbl_803DA9F0@ha /* 801C2E14 001BFD74 80 81 00 38 */ lwz r4, 0x38(r1) /* 801C2E18 001BFD78 38 A0 00 00 */ li r5, 0 /* 801C2E1C 001BFD7C C0 23 00 04 */ lfs f1, 4(r3) /* 801C2E20 001BFD80 50 A4 F8 00 */ rlwimi r4, r5, 0x1f, 0, 0 /* 801C2E24 001BFD84 C0 03 00 08 */ lfs f0, 8(r3) /* 801C2E28 001BFD88 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C2E2C 001BFD8C 7C 80 23 78 */ mr r0, r4 /* 801C2E30 001BFD90 90 81 00 38 */ stw r4, 0x38(r1) /* 801C2E34 001BFD94 39 20 00 0E */ li r9, 0xe /* 801C2E38 001BFD98 38 E0 00 07 */ li r7, 7 /* 801C2E3C 001BFD9C 38 C0 FF FF */ li r6, -1 /* 801C2E40 001BFDA0 50 A0 F0 42 */ rlwimi r0, r5, 0x1e, 1, 1 /* 801C2E44 001BFDA4 3B E3 00 04 */ addi r31, r3, 4 /* 801C2E48 001BFDA8 91 41 00 1C */ stw r10, 0x1c(r1) /* 801C2E4C 001BFDAC 39 08 A9 F0 */ addi r8, r8, lbl_803DA9F0@l /* 801C2E50 001BFDB0 7F E3 FB 78 */ mr r3, r31 /* 801C2E54 001BFDB4 38 80 00 0E */ li r4, 0xe /* 801C2E58 001BFDB8 91 21 00 20 */ stw r9, 0x20(r1) /* 801C2E5C 001BFDBC 91 01 00 1C */ stw r8, 0x1c(r1) /* 801C2E60 001BFDC0 90 E1 00 24 */ stw r7, 0x24(r1) /* 801C2E64 001BFDC4 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801C2E68 001BFDC8 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801C2E6C 001BFDCC D0 01 00 30 */ stfs f0, 0x30(r1) /* 801C2E70 001BFDD0 90 C1 00 34 */ stw r6, 0x34(r1) /* 801C2E74 001BFDD4 90 01 00 38 */ stw r0, 0x38(r1) /* 801C2E78 001BFDD8 4B F6 E5 C1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801C2E7C 001BFDDC 80 01 00 20 */ lwz r0, 0x20(r1) /* 801C2E80 001BFDE0 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801C2E84 001BFDE4 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801C2E88 001BFDE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801C2E8C 001BFDEC 90 1F 01 90 */ stw r0, 0x190(r31) /* 801C2E90 001BFDF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801C2E94 001BFDF4 80 A1 00 24 */ lwz r5, 0x24(r1) /* 801C2E98 001BFDF8 80 61 00 28 */ lwz r3, 0x28(r1) /* 801C2E9C 001BFDFC 90 BF 01 94 */ stw r5, 0x194(r31) /* 801C2EA0 001BFE00 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801C2EA4 001BFE04 90 7F 01 98 */ stw r3, 0x198(r31) /* 801C2EA8 001BFE08 80 61 00 30 */ lwz r3, 0x30(r1) /* 801C2EAC 001BFE0C 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801C2EB0 001BFE10 80 A1 00 34 */ lwz r5, 0x34(r1) /* 801C2EB4 001BFE14 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801C2EB8 001BFE18 80 61 00 38 */ lwz r3, 0x38(r1) /* 801C2EBC 001BFE1C 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801C2EC0 001BFE20 90 81 00 1C */ stw r4, 0x1c(r1) /* 801C2EC4 001BFE24 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801C2EC8 001BFE28 90 01 00 1C */ stw r0, 0x1c(r1) /* 801C2ECC 001BFE2C 48 00 01 D0 */ b lbl_801C309C lbl_801C2ED0: /* 801C2ED0 001BFE30 80 BF 04 50 */ lwz r5, 0x450(r31) /* 801C2ED4 001BFE34 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801C2ED8 001BFE38 2C 00 00 0C */ cmpwi r0, 0xc /* 801C2EDC 001BFE3C 41 82 00 10 */ beq lbl_801C2EEC /* 801C2EE0 001BFE40 38 00 00 03 */ li r0, 3 /* 801C2EE4 001BFE44 90 1F 05 68 */ stw r0, 0x568(r31) /* 801C2EE8 001BFE48 48 00 01 B4 */ b lbl_801C309C lbl_801C2EEC: /* 801C2EEC 001BFE4C 81 83 00 00 */ lwz r12, 0(r3) /* 801C2EF0 001BFE50 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C2EF4 001BFE54 81 8C 01 8C */ lwz r12, 0x18c(r12) /* 801C2EF8 001BFE58 7D 89 03 A6 */ mtctr r12 /* 801C2EFC 001BFE5C 4E 80 04 21 */ bctrl /* 801C2F00 001BFE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C2F04 001BFE64 41 82 01 98 */ beq lbl_801C309C /* 801C2F08 001BFE68 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C2F0C 001BFE6C 88 03 03 00 */ lbz r0, 0x300(r3) /* 801C2F10 001BFE70 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801C2F14 001BFE74 40 82 01 88 */ bne lbl_801C309C /* 801C2F18 001BFE78 4B F7 79 A1 */ bl GetAnimTimeRemaining__15CBodyControllerCFv /* 801C2F1C 001BFE7C C0 1F 07 C0 */ lfs f0, 0x7c0(r31) /* 801C2F20 001BFE80 FF E0 08 90 */ fmr f31, f1 /* 801C2F24 001BFE84 C0 22 AA A4 */ lfs f1, lbl_805AC7C4@sda21(r2) /* 801C2F28 001BFE88 38 81 00 0C */ addi r4, r1, 0xc /* 801C2F2C 001BFE8C D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C2F30 001BFE90 38 6D 91 38 */ addi r3, r13, lbl_805A7CF8@sda21 /* 801C2F34 001BFE94 38 AD 91 3C */ addi r5, r13, lbl_805A7CFC@sda21 /* 801C2F38 001BFE98 C0 1F 07 C4 */ lfs f0, 0x7c4(r31) /* 801C2F3C 001BFE9C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801C2F40 001BFEA0 C0 1F 07 C8 */ lfs f0, 0x7c8(r31) /* 801C2F44 001BFEA4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801C2F48 001BFEA8 C0 1F 07 D8 */ lfs f0, 0x7d8(r31) /* 801C2F4C 001BFEAC EC 1F 00 24 */ fdivs f0, f31, f0 /* 801C2F50 001BFEB0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C2F54 001BFEB4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801C2F58 001BFEB8 4B E4 93 5D */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C2F5C 001BFEBC C0 23 00 00 */ lfs f1, 0(r3) /* 801C2F60 001BFEC0 C0 02 AA D0 */ lfs f0, lbl_805AC7F0@sda21(r2) /* 801C2F64 001BFEC4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C2F68 001BFEC8 40 80 00 54 */ bge lbl_801C2FBC /* 801C2F6C 001BFECC EC 21 00 24 */ fdivs f1, f1, f0 /* 801C2F70 001BFED0 C0 42 AA AC */ lfs f2, lbl_805AC7CC@sda21(r2) /* 801C2F74 001BFED4 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C2F78 001BFED8 38 81 00 08 */ addi r4, r1, 8 /* 801C2F7C 001BFEDC 38 6D 91 40 */ addi r3, r13, lbl_805A7D00@sda21 /* 801C2F80 001BFEE0 38 AD 91 44 */ addi r5, r13, lbl_805A7D04@sda21 /* 801C2F84 001BFEE4 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 /* 801C2F88 001BFEE8 D0 01 00 08 */ stfs f0, 8(r1) /* 801C2F8C 001BFEEC 4B E4 93 29 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C2F90 001BFEF0 C0 63 00 00 */ lfs f3, 0(r3) /* 801C2F94 001BFEF4 C0 5F 07 C4 */ lfs f2, 0x7c4(r31) /* 801C2F98 001BFEF8 C0 3F 07 C8 */ lfs f1, 0x7c8(r31) /* 801C2F9C 001BFEFC C0 1F 07 C0 */ lfs f0, 0x7c0(r31) /* 801C2FA0 001BFF00 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801C2FA4 001BFF04 EC 23 00 72 */ fmuls f1, f3, f1 /* 801C2FA8 001BFF08 EC 03 00 32 */ fmuls f0, f3, f0 /* 801C2FAC 001BFF0C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801C2FB0 001BFF10 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C2FB4 001BFF14 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C2FB8 001BFF18 48 00 00 80 */ b lbl_801C3038 lbl_801C2FBC: /* 801C2FBC 001BFF1C C0 42 AA F4 */ lfs f2, lbl_805AC814@sda21(r2) /* 801C2FC0 001BFF20 C0 3F 07 D8 */ lfs f1, 0x7d8(r31) /* 801C2FC4 001BFF24 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C2FC8 001BFF28 ED 02 00 72 */ fmuls f8, f2, f1 /* 801C2FCC 001BFF2C C0 C2 AA AC */ lfs f6, lbl_805AC7CC@sda21(r2) /* 801C2FD0 001BFF30 C0 BF 07 C0 */ lfs f5, 0x7c0(r31) /* 801C2FD4 001BFF34 C0 9F 07 C4 */ lfs f4, 0x7c4(r31) /* 801C2FD8 001BFF38 EC E0 40 24 */ fdivs f7, f0, f8 /* 801C2FDC 001BFF3C C0 7F 07 C8 */ lfs f3, 0x7c8(r31) /* 801C2FE0 001BFF40 C0 5F 07 B8 */ lfs f2, 0x7b8(r31) /* 801C2FE4 001BFF44 C0 3F 07 BC */ lfs f1, 0x7bc(r31) /* 801C2FE8 001BFF48 C0 1F 07 B4 */ lfs f0, 0x7b4(r31) /* 801C2FEC 001BFF4C EC A6 01 72 */ fmuls f5, f6, f5 /* 801C2FF0 001BFF50 EC 86 01 32 */ fmuls f4, f6, f4 /* 801C2FF4 001BFF54 EC 66 00 F2 */ fmuls f3, f6, f3 /* 801C2FF8 001BFF58 EC 00 28 28 */ fsubs f0, f0, f5 /* 801C2FFC 001BFF5C EC 42 20 28 */ fsubs f2, f2, f4 /* 801C3000 001BFF60 EC 21 18 28 */ fsubs f1, f1, f3 /* 801C3004 001BFF64 EC C8 F8 28 */ fsubs f6, f8, f31 /* 801C3008 001BFF68 EC 47 00 B2 */ fmuls f2, f7, f2 /* 801C300C 001BFF6C EC 27 00 72 */ fmuls f1, f7, f1 /* 801C3010 001BFF70 EC 07 00 32 */ fmuls f0, f7, f0 /* 801C3014 001BFF74 EC 46 00 B2 */ fmuls f2, f6, f2 /* 801C3018 001BFF78 EC 26 00 72 */ fmuls f1, f6, f1 /* 801C301C 001BFF7C EC 06 00 32 */ fmuls f0, f6, f0 /* 801C3020 001BFF80 EC 44 10 2A */ fadds f2, f4, f2 /* 801C3024 001BFF84 EC 23 08 2A */ fadds f1, f3, f1 /* 801C3028 001BFF88 EC 05 00 2A */ fadds f0, f5, f0 /* 801C302C 001BFF8C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801C3030 001BFF90 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C3034 001BFF94 D0 21 00 18 */ stfs f1, 0x18(r1) lbl_801C3038: /* 801C3038 001BFF98 7F E3 FB 78 */ mr r3, r31 /* 801C303C 001BFF9C 38 81 00 10 */ addi r4, r1, 0x10 /* 801C3040 001BFFA0 4B FF E3 75 */ bl sub_801c13b4 /* 801C3044 001BFFA4 7F E3 FB 78 */ mr r3, r31 /* 801C3048 001BFFA8 4B FF E3 8D */ bl sub_801c13d4 /* 801C304C 001BFFAC 48 00 00 50 */ b lbl_801C309C lbl_801C3050: /* 801C3050 001BFFB0 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C3054 001BFFB4 38 A0 00 00 */ li r5, 0 /* 801C3058 001BFFB8 D0 3F 07 D8 */ stfs f1, 0x7d8(r31) /* 801C305C 001BFFBC 88 1F 08 40 */ lbz r0, 0x840(r31) /* 801C3060 001BFFC0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801C3064 001BFFC4 98 1F 08 40 */ stb r0, 0x840(r31) /* 801C3068 001BFFC8 81 83 00 00 */ lwz r12, 0(r3) /* 801C306C 001BFFCC 81 8C 01 8C */ lwz r12, 0x18c(r12) /* 801C3070 001BFFD0 7D 89 03 A6 */ mtctr r12 /* 801C3074 001BFFD4 4E 80 04 21 */ bctrl /* 801C3078 001BFFD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C307C 001BFFDC 41 82 00 18 */ beq lbl_801C3094 /* 801C3080 001BFFE0 C0 1F 07 DC */ lfs f0, 0x7dc(r31) /* 801C3084 001BFFE4 7F E3 FB 78 */ mr r3, r31 /* 801C3088 001BFFE8 38 9F 07 B4 */ addi r4, r31, 0x7b4 /* 801C308C 001BFFEC D0 1F 07 E0 */ stfs f0, 0x7e0(r31) /* 801C3090 001BFFF0 4B FF E3 25 */ bl sub_801c13b4 lbl_801C3094: /* 801C3094 001BFFF4 7F E3 FB 78 */ mr r3, r31 /* 801C3098 001BFFF8 4B FF E3 3D */ bl sub_801c13d4 lbl_801C309C: /* 801C309C 001BFFFC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801C30A0 001C0000 80 01 00 84 */ lwz r0, 0x84(r1) /* 801C30A4 001C0004 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801C30A8 001C0008 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801C30AC 001C000C 7C 08 03 A6 */ mtlr r0 /* 801C30B0 001C0010 38 21 00 80 */ addi r1, r1, 0x80 /* 801C30B4 001C0014 4E 80 00 20 */ blr .global TelegraphAttack__12CMetroidBetaFR13CStateManager9EStateMsgf TelegraphAttack__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C30B8 001C0018 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C30BC 001C001C 7C 08 02 A6 */ mflr r0 /* 801C30C0 001C0020 2C 05 00 01 */ cmpwi r5, 1 /* 801C30C4 001C0024 90 01 00 54 */ stw r0, 0x54(r1) /* 801C30C8 001C0028 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801C30CC 001C002C 7C 7F 1B 78 */ mr r31, r3 /* 801C30D0 001C0030 41 82 00 5C */ beq lbl_801C312C /* 801C30D4 001C0034 40 80 00 10 */ bge lbl_801C30E4 /* 801C30D8 001C0038 2C 05 00 00 */ cmpwi r5, 0 /* 801C30DC 001C003C 40 80 00 14 */ bge lbl_801C30F0 /* 801C30E0 001C0040 48 00 01 24 */ b lbl_801C3204 lbl_801C30E4: /* 801C30E4 001C0044 2C 05 00 03 */ cmpwi r5, 3 /* 801C30E8 001C0048 40 80 01 1C */ bge lbl_801C3204 /* 801C30EC 001C004C 48 00 01 08 */ b lbl_801C31F4 lbl_801C30F0: /* 801C30F0 001C0050 38 00 00 02 */ li r0, 2 /* 801C30F4 001C0054 38 60 00 00 */ li r3, 0 /* 801C30F8 001C0058 90 1F 05 68 */ stw r0, 0x568(r31) /* 801C30FC 001C005C C0 1F 06 48 */ lfs f0, 0x648(r31) /* 801C3100 001C0060 D0 1F 07 98 */ stfs f0, 0x798(r31) /* 801C3104 001C0064 88 1F 08 40 */ lbz r0, 0x840(r31) /* 801C3108 001C0068 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801C310C 001C006C 98 1F 08 40 */ stb r0, 0x840(r31) /* 801C3110 001C0070 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C3114 001C0074 38 63 00 04 */ addi r3, r3, 4 /* 801C3118 001C0078 4B F6 E3 91 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 801C311C 001C007C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C3120 001C0080 38 80 00 03 */ li r4, 3 /* 801C3124 001C0084 4B F7 78 B5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C3128 001C0088 48 00 00 DC */ b lbl_801C3204 lbl_801C312C: /* 801C312C 001C008C C0 5F 07 98 */ lfs f2, 0x798(r31) /* 801C3130 001C0090 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C3134 001C0094 EC 22 08 28 */ fsubs f1, f2, f1 /* 801C3138 001C0098 D0 3F 07 98 */ stfs f1, 0x798(r31) /* 801C313C 001C009C C0 3F 07 98 */ lfs f1, 0x798(r31) /* 801C3140 001C00A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C3144 001C00A4 40 81 00 A4 */ ble lbl_801C31E8 /* 801C3148 001C00A8 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C314C 001C00AC 38 61 00 14 */ addi r3, r1, 0x14 /* 801C3150 001C00B0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801C3154 001C00B4 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801C3158 001C00B8 C0 64 00 60 */ lfs f3, 0x60(r4) /* 801C315C 001C00BC C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801C3160 001C00C0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C3164 001C00C4 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801C3168 001C00C8 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801C316C 001C00CC EC 43 10 28 */ fsubs f2, f3, f2 /* 801C3170 001C00D0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C3174 001C00D4 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801C3178 001C00D8 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801C317C 001C00DC D0 01 00 14 */ stfs f0, 0x14(r1) /* 801C3180 001C00E0 48 15 15 79 */ bl CanBeNormalized__9CVector3fCFv /* 801C3184 001C00E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C3188 001C00E8 41 82 00 7C */ beq lbl_801C3204 /* 801C318C 001C00EC 38 61 00 08 */ addi r3, r1, 8 /* 801C3190 001C00F0 38 81 00 14 */ addi r4, r1, 0x14 /* 801C3194 001C00F4 48 15 16 BD */ bl AsNormalized__9CVector3fCFv /* 801C3198 001C00F8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C319C 001C00FC C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801C31A0 001C0100 C0 61 00 08 */ lfs f3, 8(r1) /* 801C31A4 001C0104 38 81 00 20 */ addi r4, r1, 0x20 /* 801C31A8 001C0108 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801C31AC 001C010C C0 A3 00 04 */ lfs f5, 4(r3) /* 801C31B0 001C0110 C0 83 00 08 */ lfs f4, 8(r3) /* 801C31B4 001C0114 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801C31B8 001C0118 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C31BC 001C011C D0 C1 00 20 */ stfs f6, 0x20(r1) /* 801C31C0 001C0120 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 801C31C4 001C0124 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801C31C8 001C0128 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801C31CC 001C012C D0 41 00 30 */ stfs f2, 0x30(r1) /* 801C31D0 001C0130 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801C31D4 001C0134 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801C31D8 001C0138 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C31DC 001C013C 38 63 00 04 */ addi r3, r3, 4 /* 801C31E0 001C0140 4B F6 E5 39 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801C31E4 001C0144 48 00 00 20 */ b lbl_801C3204 lbl_801C31E8: /* 801C31E8 001C0148 38 00 00 03 */ li r0, 3 /* 801C31EC 001C014C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801C31F0 001C0150 48 00 00 14 */ b lbl_801C3204 lbl_801C31F4: /* 801C31F4 001C0154 88 1F 08 40 */ lbz r0, 0x840(r31) /* 801C31F8 001C0158 38 60 00 00 */ li r3, 0 /* 801C31FC 001C015C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801C3200 001C0160 98 1F 08 40 */ stb r0, 0x840(r31) lbl_801C3204: /* 801C3204 001C0164 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C3208 001C0168 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801C320C 001C016C 7C 08 03 A6 */ mtlr r0 /* 801C3210 001C0170 38 21 00 50 */ addi r1, r1, 0x50 /* 801C3214 001C0174 4E 80 00 20 */ blr .global SelectTarget__12CMetroidBetaFR13CStateManager9EStateMsgf SelectTarget__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C3218 001C0178 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C321C 001C017C 7C 08 02 A6 */ mflr r0 /* 801C3220 001C0180 2C 05 00 01 */ cmpwi r5, 1 /* 801C3224 001C0184 90 01 00 34 */ stw r0, 0x34(r1) /* 801C3228 001C0188 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C322C 001C018C 41 82 00 24 */ beq lbl_801C3250 /* 801C3230 001C0190 40 80 01 78 */ bge lbl_801C33A8 /* 801C3234 001C0194 2C 05 00 00 */ cmpwi r5, 0 /* 801C3238 001C0198 40 80 00 0C */ bge lbl_801C3244 /* 801C323C 001C019C 48 00 01 6C */ b lbl_801C33A8 /* 801C3240 001C01A0 48 00 01 68 */ b lbl_801C33A8 lbl_801C3244: /* 801C3244 001C01A4 38 00 00 01 */ li r0, 1 /* 801C3248 001C01A8 90 03 05 68 */ stw r0, 0x568(r3) /* 801C324C 001C01AC 48 00 01 5C */ b lbl_801C33A8 lbl_801C3250: /* 801C3250 001C01B0 80 03 05 68 */ lwz r0, 0x568(r3) /* 801C3254 001C01B4 2C 00 00 02 */ cmpwi r0, 2 /* 801C3258 001C01B8 41 82 01 00 */ beq lbl_801C3358 /* 801C325C 001C01BC 40 80 01 4C */ bge lbl_801C33A8 /* 801C3260 001C01C0 2C 00 00 01 */ cmpwi r0, 1 /* 801C3264 001C01C4 40 80 00 08 */ bge lbl_801C326C /* 801C3268 001C01C8 48 00 01 40 */ b lbl_801C33A8 lbl_801C326C: /* 801C326C 001C01CC 81 43 04 50 */ lwz r10, 0x450(r3) /* 801C3270 001C01D0 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 801C3274 001C01D4 2C 00 00 0C */ cmpwi r0, 0xc /* 801C3278 001C01D8 40 82 00 10 */ bne lbl_801C3288 /* 801C327C 001C01DC 38 00 00 02 */ li r0, 2 /* 801C3280 001C01E0 90 03 05 68 */ stw r0, 0x568(r3) /* 801C3284 001C01E4 48 00 01 24 */ b lbl_801C33A8 lbl_801C3288: /* 801C3288 001C01E8 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801C328C 001C01EC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3290 001C01F0 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801C3294 001C01F4 80 81 00 24 */ lwz r4, 0x24(r1) /* 801C3298 001C01F8 38 60 00 00 */ li r3, 0 /* 801C329C 001C01FC 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 801C32A0 001C0200 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 801C32A4 001C0204 C0 45 00 00 */ lfs f2, 0(r5) /* 801C32A8 001C0208 C0 25 00 04 */ lfs f1, 4(r5) /* 801C32AC 001C020C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 801C32B0 001C0210 C0 05 00 08 */ lfs f0, 8(r5) /* 801C32B4 001C0214 7C 80 23 78 */ mr r0, r4 /* 801C32B8 001C0218 39 00 00 0E */ li r8, 0xe /* 801C32BC 001C021C 38 C0 00 03 */ li r6, 3 /* 801C32C0 001C0220 38 A0 FF FF */ li r5, -1 /* 801C32C4 001C0224 3B EA 00 04 */ addi r31, r10, 4 /* 801C32C8 001C0228 91 21 00 08 */ stw r9, 8(r1) /* 801C32CC 001C022C 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 801C32D0 001C0230 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 801C32D4 001C0234 7F E3 FB 78 */ mr r3, r31 /* 801C32D8 001C0238 90 81 00 24 */ stw r4, 0x24(r1) /* 801C32DC 001C023C 38 80 00 0E */ li r4, 0xe /* 801C32E0 001C0240 91 01 00 0C */ stw r8, 0xc(r1) /* 801C32E4 001C0244 90 E1 00 08 */ stw r7, 8(r1) /* 801C32E8 001C0248 90 C1 00 10 */ stw r6, 0x10(r1) /* 801C32EC 001C024C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801C32F0 001C0250 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C32F4 001C0254 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801C32F8 001C0258 90 A1 00 20 */ stw r5, 0x20(r1) /* 801C32FC 001C025C 90 01 00 24 */ stw r0, 0x24(r1) /* 801C3300 001C0260 4B F6 E1 39 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801C3304 001C0264 80 01 00 0C */ lwz r0, 0xc(r1) /* 801C3308 001C0268 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 801C330C 001C026C 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 801C3310 001C0270 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801C3314 001C0274 90 1F 01 90 */ stw r0, 0x190(r31) /* 801C3318 001C0278 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801C331C 001C027C 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801C3320 001C0280 80 61 00 14 */ lwz r3, 0x14(r1) /* 801C3324 001C0284 90 BF 01 94 */ stw r5, 0x194(r31) /* 801C3328 001C0288 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801C332C 001C028C 90 7F 01 98 */ stw r3, 0x198(r31) /* 801C3330 001C0290 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801C3334 001C0294 90 BF 01 9C */ stw r5, 0x19c(r31) /* 801C3338 001C0298 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801C333C 001C029C 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 801C3340 001C02A0 80 61 00 24 */ lwz r3, 0x24(r1) /* 801C3344 001C02A4 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 801C3348 001C02A8 90 81 00 08 */ stw r4, 8(r1) /* 801C334C 001C02AC 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 801C3350 001C02B0 90 01 00 08 */ stw r0, 8(r1) /* 801C3354 001C02B4 48 00 00 54 */ b lbl_801C33A8 lbl_801C3358: /* 801C3358 001C02B8 80 A3 04 50 */ lwz r5, 0x450(r3) /* 801C335C 001C02BC 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801C3360 001C02C0 2C 00 00 0C */ cmpwi r0, 0xc /* 801C3364 001C02C4 41 82 00 10 */ beq lbl_801C3374 /* 801C3368 001C02C8 38 00 00 03 */ li r0, 3 /* 801C336C 001C02CC 90 03 05 68 */ stw r0, 0x568(r3) /* 801C3370 001C02D0 48 00 00 38 */ b lbl_801C33A8 lbl_801C3374: /* 801C3374 001C02D4 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C3378 001C02D8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801C337C 001C02DC C0 24 00 40 */ lfs f1, 0x40(r4) /* 801C3380 001C02E0 C0 84 00 50 */ lfs f4, 0x50(r4) /* 801C3384 001C02E4 C0 63 00 50 */ lfs f3, 0x50(r3) /* 801C3388 001C02E8 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C338C 001C02EC C0 44 00 60 */ lfs f2, 0x60(r4) /* 801C3390 001C02F0 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801C3394 001C02F4 EC 64 18 28 */ fsubs f3, f4, f3 /* 801C3398 001C02F8 D0 05 00 1C */ stfs f0, 0x1c(r5) /* 801C339C 001C02FC EC 02 08 28 */ fsubs f0, f2, f1 /* 801C33A0 001C0300 D0 65 00 20 */ stfs f3, 0x20(r5) /* 801C33A4 001C0304 D0 05 00 24 */ stfs f0, 0x24(r5) lbl_801C33A8: /* 801C33A8 001C0308 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C33AC 001C030C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C33B0 001C0310 7C 08 03 A6 */ mtlr r0 /* 801C33B4 001C0314 38 21 00 30 */ addi r1, r1, 0x30 /* 801C33B8 001C0318 4E 80 00 20 */ blr .global TargetPatrol__12CMetroidBetaFR13CStateManager9EStateMsgf TargetPatrol__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C33BC 001C031C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C33C0 001C0320 7C 08 02 A6 */ mflr r0 /* 801C33C4 001C0324 90 01 00 54 */ stw r0, 0x54(r1) /* 801C33C8 001C0328 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801C33CC 001C032C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801C33D0 001C0330 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801C33D4 001C0334 93 C1 00 38 */ stw r30, 0x38(r1) /* 801C33D8 001C0338 93 A1 00 34 */ stw r29, 0x34(r1) /* 801C33DC 001C033C 7C BF 2B 78 */ mr r31, r5 /* 801C33E0 001C0340 FF E0 08 90 */ fmr f31, f1 /* 801C33E4 001C0344 2C 1F 00 01 */ cmpwi r31, 1 /* 801C33E8 001C0348 7C 7D 1B 78 */ mr r29, r3 /* 801C33EC 001C034C 7C 9E 23 78 */ mr r30, r4 /* 801C33F0 001C0350 41 82 00 C0 */ beq lbl_801C34B0 /* 801C33F4 001C0354 40 80 01 80 */ bge lbl_801C3574 /* 801C33F8 001C0358 2C 1F 00 00 */ cmpwi r31, 0 /* 801C33FC 001C035C 40 80 00 08 */ bge lbl_801C3404 /* 801C3400 001C0360 48 00 01 74 */ b lbl_801C3574 lbl_801C3404: /* 801C3404 001C0364 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C3408 001C0368 38 80 00 01 */ li r4, 1 /* 801C340C 001C036C 4B F7 75 CD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C3410 001C0370 7F A3 EB 78 */ mr r3, r29 /* 801C3414 001C0374 7F C4 F3 78 */ mr r4, r30 /* 801C3418 001C0378 81 9D 00 00 */ lwz r12, 0(r29) /* 801C341C 001C037C C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C3420 001C0380 81 8C 01 C0 */ lwz r12, 0x1c0(r12) /* 801C3424 001C0384 7D 89 03 A6 */ mtctr r12 /* 801C3428 001C0388 4E 80 04 21 */ bctrl /* 801C342C 001C038C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C3430 001C0390 41 82 00 28 */ beq lbl_801C3458 /* 801C3434 001C0394 FC 20 F8 90 */ fmr f1, f31 /* 801C3438 001C0398 7F A3 EB 78 */ mr r3, r29 /* 801C343C 001C039C 7F C4 F3 78 */ mr r4, r30 /* 801C3440 001C03A0 7F E5 FB 78 */ mr r5, r31 /* 801C3444 001C03A4 48 03 3A 31 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 801C3448 001C03A8 7F A3 EB 78 */ mr r3, r29 /* 801C344C 001C03AC 7F C4 F3 78 */ mr r4, r30 /* 801C3450 001C03B0 48 03 1E 41 */ bl UpdateDest__10CPatternedFR13CStateManager /* 801C3454 001C03B4 48 00 00 10 */ b lbl_801C3464 lbl_801C3458: /* 801C3458 001C03B8 7F A3 EB 78 */ mr r3, r29 /* 801C345C 001C03BC 38 9D 03 A0 */ addi r4, r29, 0x3a0 /* 801C3460 001C03C0 4B EB 96 FD */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_801C3464: /* 801C3464 001C03C4 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) /* 801C3468 001C03C8 7F A3 EB 78 */ mr r3, r29 /* 801C346C 001C03CC D0 1D 07 A8 */ stfs f0, 0x7a8(r29) /* 801C3470 001C03D0 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) /* 801C3474 001C03D4 D0 1D 07 AC */ stfs f0, 0x7ac(r29) /* 801C3478 001C03D8 C0 1D 02 E8 */ lfs f0, 0x2e8(r29) /* 801C347C 001C03DC D0 1D 07 B0 */ stfs f0, 0x7b0(r29) /* 801C3480 001C03E0 81 9D 00 00 */ lwz r12, 0(r29) /* 801C3484 001C03E4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801C3488 001C03E8 7D 89 03 A6 */ mtctr r12 /* 801C348C 001C03EC 4E 80 04 21 */ bctrl /* 801C3490 001C03F0 28 03 00 00 */ cmplwi r3, 0 /* 801C3494 001C03F4 41 82 00 E0 */ beq lbl_801C3574 /* 801C3498 001C03F8 FC 20 F8 90 */ fmr f1, f31 /* 801C349C 001C03FC 7F A3 EB 78 */ mr r3, r29 /* 801C34A0 001C0400 7F C4 F3 78 */ mr r4, r30 /* 801C34A4 001C0404 7F E5 FB 78 */ mr r5, r31 /* 801C34A8 001C0408 48 03 32 25 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801C34AC 001C040C 48 00 00 C8 */ b lbl_801C3574 lbl_801C34B0: /* 801C34B0 001C0410 81 83 00 00 */ lwz r12, 0(r3) /* 801C34B4 001C0414 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801C34B8 001C0418 7D 89 03 A6 */ mtctr r12 /* 801C34BC 001C041C 4E 80 04 21 */ bctrl /* 801C34C0 001C0420 28 03 00 00 */ cmplwi r3, 0 /* 801C34C4 001C0424 41 82 00 40 */ beq lbl_801C3504 /* 801C34C8 001C0428 7F A3 EB 78 */ mr r3, r29 /* 801C34CC 001C042C 7F C4 F3 78 */ mr r4, r30 /* 801C34D0 001C0430 81 9D 00 00 */ lwz r12, 0(r29) /* 801C34D4 001C0434 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C34D8 001C0438 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801C34DC 001C043C 7D 89 03 A6 */ mtctr r12 /* 801C34E0 001C0440 4E 80 04 21 */ bctrl /* 801C34E4 001C0444 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C34E8 001C0448 40 82 00 1C */ bne lbl_801C3504 /* 801C34EC 001C044C FC 20 F8 90 */ fmr f1, f31 /* 801C34F0 001C0450 7F A3 EB 78 */ mr r3, r29 /* 801C34F4 001C0454 7F C4 F3 78 */ mr r4, r30 /* 801C34F8 001C0458 7F E5 FB 78 */ mr r5, r31 /* 801C34FC 001C045C 48 03 31 D1 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801C3500 001C0460 48 00 00 68 */ b lbl_801C3568 lbl_801C3504: /* 801C3504 001C0464 C0 22 AA F8 */ lfs f1, lbl_805AC818@sda21(r2) /* 801C3508 001C0468 7F A5 EB 78 */ mr r5, r29 /* 801C350C 001C046C 38 61 00 08 */ addi r3, r1, 8 /* 801C3510 001C0470 38 9D 04 5C */ addi r4, r29, 0x45c /* 801C3514 001C0474 38 DD 07 A8 */ addi r6, r29, 0x7a8 /* 801C3518 001C0478 4B F7 B6 05 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801C351C 001C047C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3520 001C0480 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801C3524 001C0484 C0 C1 00 08 */ lfs f6, 8(r1) /* 801C3528 001C0488 38 81 00 14 */ addi r4, r1, 0x14 /* 801C352C 001C048C C0 A1 00 0C */ lfs f5, 0xc(r1) /* 801C3530 001C0490 C0 81 00 10 */ lfs f4, 0x10(r1) /* 801C3534 001C0494 C0 43 00 04 */ lfs f2, 4(r3) /* 801C3538 001C0498 C0 23 00 08 */ lfs f1, 8(r3) /* 801C353C 001C049C C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C3540 001C04A0 D0 C1 00 14 */ stfs f6, 0x14(r1) /* 801C3544 001C04A4 D0 A1 00 18 */ stfs f5, 0x18(r1) /* 801C3548 001C04A8 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801C354C 001C04AC D0 61 00 20 */ stfs f3, 0x20(r1) /* 801C3550 001C04B0 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801C3554 001C04B4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801C3558 001C04B8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801C355C 001C04BC 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C3560 001C04C0 38 63 00 04 */ addi r3, r3, 4 /* 801C3564 001C04C4 4B F6 E1 B5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C3568: /* 801C3568 001C04C8 7F A3 EB 78 */ mr r3, r29 /* 801C356C 001C04CC 7F C4 F3 78 */ mr r4, r30 /* 801C3570 001C04D0 4B FF DB A1 */ bl sub_801c1110 lbl_801C3574: /* 801C3574 001C04D4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801C3578 001C04D8 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C357C 001C04DC CB E1 00 40 */ lfd f31, 0x40(r1) /* 801C3580 001C04E0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801C3584 001C04E4 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801C3588 001C04E8 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801C358C 001C04EC 7C 08 03 A6 */ mtlr r0 /* 801C3590 001C04F0 38 21 00 50 */ addi r1, r1, 0x50 /* 801C3594 001C04F4 4E 80 00 20 */ blr .global Patrol__12CMetroidBetaFR13CStateManager9EStateMsgf Patrol__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C3598 001C04F8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C359C 001C04FC 7C 08 02 A6 */ mflr r0 /* 801C35A0 001C0500 90 01 00 24 */ stw r0, 0x24(r1) /* 801C35A4 001C0504 DB E1 00 18 */ stfd f31, 0x18(r1) /* 801C35A8 001C0508 FF E0 08 90 */ fmr f31, f1 /* 801C35AC 001C050C 93 E1 00 14 */ stw r31, 0x14(r1) /* 801C35B0 001C0510 7C BF 2B 79 */ or. r31, r5, r5 /* 801C35B4 001C0514 93 C1 00 10 */ stw r30, 0x10(r1) /* 801C35B8 001C0518 7C 9E 23 78 */ mr r30, r4 /* 801C35BC 001C051C 93 A1 00 0C */ stw r29, 0xc(r1) /* 801C35C0 001C0520 7C 7D 1B 78 */ mr r29, r3 /* 801C35C4 001C0524 41 82 00 08 */ beq lbl_801C35CC /* 801C35C8 001C0528 48 00 00 20 */ b lbl_801C35E8 lbl_801C35CC: /* 801C35CC 001C052C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C35D0 001C0530 38 80 00 01 */ li r4, 1 /* 801C35D4 001C0534 4B F7 74 05 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C35D8 001C0538 88 1D 08 40 */ lbz r0, 0x840(r29) /* 801C35DC 001C053C 38 60 00 00 */ li r3, 0 /* 801C35E0 001C0540 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801C35E4 001C0544 98 1D 08 40 */ stb r0, 0x840(r29) lbl_801C35E8: /* 801C35E8 001C0548 FC 20 F8 90 */ fmr f1, f31 /* 801C35EC 001C054C 7F A3 EB 78 */ mr r3, r29 /* 801C35F0 001C0550 7F C4 F3 78 */ mr r4, r30 /* 801C35F4 001C0554 7F E5 FB 78 */ mr r5, r31 /* 801C35F8 001C0558 48 03 38 7D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 801C35FC 001C055C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C3600 001C0560 CB E1 00 18 */ lfd f31, 0x18(r1) /* 801C3604 001C0564 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801C3608 001C0568 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801C360C 001C056C 83 A1 00 0C */ lwz r29, 0xc(r1) /* 801C3610 001C0570 7C 08 03 A6 */ mtlr r0 /* 801C3614 001C0574 38 21 00 20 */ addi r1, r1, 0x20 /* 801C3618 001C0578 4E 80 00 20 */ blr .global SpecialAttack__12CMetroidBetaFR13CStateManager9EStateMsgf SpecialAttack__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C361C 001C057C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801C3620 001C0580 7C 08 02 A6 */ mflr r0 /* 801C3624 001C0584 2C 05 00 01 */ cmpwi r5, 1 /* 801C3628 001C0588 90 01 00 64 */ stw r0, 0x64(r1) /* 801C362C 001C058C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801C3630 001C0590 7C 9F 23 78 */ mr r31, r4 /* 801C3634 001C0594 93 C1 00 58 */ stw r30, 0x58(r1) /* 801C3638 001C0598 7C 7E 1B 78 */ mr r30, r3 /* 801C363C 001C059C 41 82 00 84 */ beq lbl_801C36C0 /* 801C3640 001C05A0 40 80 00 10 */ bge lbl_801C3650 /* 801C3644 001C05A4 2C 05 00 00 */ cmpwi r5, 0 /* 801C3648 001C05A8 40 80 00 14 */ bge lbl_801C365C /* 801C364C 001C05AC 48 00 02 48 */ b lbl_801C3894 lbl_801C3650: /* 801C3650 001C05B0 2C 05 00 03 */ cmpwi r5, 3 /* 801C3654 001C05B4 40 80 02 40 */ bge lbl_801C3894 /* 801C3658 001C05B8 48 00 01 B0 */ b lbl_801C3808 lbl_801C365C: /* 801C365C 001C05BC 38 00 00 02 */ li r0, 2 /* 801C3660 001C05C0 38 A0 00 01 */ li r5, 1 /* 801C3664 001C05C4 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C3668 001C05C8 38 60 00 00 */ li r3, 0 /* 801C366C 001C05CC 38 80 00 0A */ li r4, 0xa /* 801C3670 001C05D0 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3674 001C05D4 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 801C3678 001C05D8 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C367C 001C05DC 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f /* 801C3680 001C05E0 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3684 001C05E4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801C3688 001C05E8 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C368C 001C05EC 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3690 001C05F0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801C3694 001C05F4 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C3698 001C05F8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C369C 001C05FC 4B F7 73 3D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C36A0 001C0600 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C36A4 001C0604 3C 60 80 57 */ lis r3, lbl_80572048@ha /* 801C36A8 001C0608 38 A3 20 48 */ addi r5, r3, lbl_80572048@l /* 801C36AC 001C060C 7F E4 FB 78 */ mr r4, r31 /* 801C36B0 001C0610 D0 1E 07 A4 */ stfs f0, 0x7a4(r30) /* 801C36B4 001C0614 7F C3 F3 78 */ mr r3, r30 /* 801C36B8 001C0618 4B FF E2 05 */ bl sub_801c18bc /* 801C36BC 001C061C 48 00 01 D8 */ b lbl_801C3894 lbl_801C36C0: /* 801C36C0 001C0620 80 1E 05 68 */ lwz r0, 0x568(r30) /* 801C36C4 001C0624 2C 00 00 02 */ cmpwi r0, 2 /* 801C36C8 001C0628 41 82 00 08 */ beq lbl_801C36D0 /* 801C36CC 001C062C 48 00 01 C8 */ b lbl_801C3894 lbl_801C36D0: /* 801C36D0 001C0630 C0 1E 07 A4 */ lfs f0, 0x7a4(r30) /* 801C36D4 001C0634 EC 00 08 2A */ fadds f0, f0, f1 /* 801C36D8 001C0638 D0 1E 07 A4 */ stfs f0, 0x7a4(r30) /* 801C36DC 001C063C C0 3E 07 A4 */ lfs f1, 0x7a4(r30) /* 801C36E0 001C0640 C0 1E 06 4C */ lfs f0, 0x64c(r30) /* 801C36E4 001C0644 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C36E8 001C0648 40 80 01 14 */ bge lbl_801C37FC /* 801C36EC 001C064C 88 7E 08 40 */ lbz r3, 0x840(r30) /* 801C36F0 001C0650 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f /* 801C36F4 001C0654 41 82 00 0C */ beq lbl_801C3700 /* 801C36F8 001C0658 54 60 07 FF */ clrlwi. r0, r3, 0x1f /* 801C36FC 001C065C 41 82 00 10 */ beq lbl_801C370C lbl_801C3700: /* 801C3700 001C0660 38 00 00 03 */ li r0, 3 /* 801C3704 001C0664 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C3708 001C0668 48 00 01 8C */ b lbl_801C3894 lbl_801C370C: /* 801C370C 001C066C 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801C3710 001C0670 7F E5 FB 78 */ mr r5, r31 /* 801C3714 001C0674 38 61 00 20 */ addi r3, r1, 0x20 /* 801C3718 001C0678 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C371C 001C067C 81 84 00 00 */ lwz r12, 0(r4) /* 801C3720 001C0680 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801C3724 001C0684 7D 89 03 A6 */ mtctr r12 /* 801C3728 001C0688 4E 80 04 21 */ bctrl /* 801C372C 001C068C C0 81 00 20 */ lfs f4, 0x20(r1) /* 801C3730 001C0690 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801C3734 001C0694 C0 C1 00 28 */ lfs f6, 0x28(r1) /* 801C3738 001C0698 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801C373C 001C069C C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C3740 001C06A0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801C3744 001C06A4 D0 C1 00 34 */ stfs f6, 0x34(r1) /* 801C3748 001C06A8 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801C374C 001C06AC C0 7E 00 40 */ lfs f3, 0x40(r30) /* 801C3750 001C06B0 C0 BE 00 60 */ lfs f5, 0x60(r30) /* 801C3754 001C06B4 EC 22 08 28 */ fsubs f1, f2, f1 /* 801C3758 001C06B8 C0 5E 00 48 */ lfs f2, 0x48(r30) /* 801C375C 001C06BC EC 64 18 28 */ fsubs f3, f4, f3 /* 801C3760 001C06C0 C0 9E 00 38 */ lfs f4, 0x38(r30) /* 801C3764 001C06C4 EC A6 28 28 */ fsubs f5, f6, f5 /* 801C3768 001C06C8 EC 22 00 72 */ fmuls f1, f2, f1 /* 801C376C 001C06CC C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801C3770 001C06D0 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801C3774 001C06D4 EC 22 09 7A */ fmadds f1, f2, f5, f1 /* 801C3778 001C06D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C377C 001C06DC 40 81 00 74 */ ble lbl_801C37F0 /* 801C3780 001C06E0 7F C5 F3 78 */ mr r5, r30 /* 801C3784 001C06E4 38 61 00 14 */ addi r3, r1, 0x14 /* 801C3788 001C06E8 38 9E 04 5C */ addi r4, r30, 0x45c /* 801C378C 001C06EC 38 C1 00 2C */ addi r6, r1, 0x2c /* 801C3790 001C06F0 4B F7 B4 91 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f /* 801C3794 001C06F4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3798 001C06F8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801C379C 001C06FC C0 C1 00 14 */ lfs f6, 0x14(r1) /* 801C37A0 001C0700 38 81 00 38 */ addi r4, r1, 0x38 /* 801C37A4 001C0704 C0 A1 00 18 */ lfs f5, 0x18(r1) /* 801C37A8 001C0708 C0 81 00 1C */ lfs f4, 0x1c(r1) /* 801C37AC 001C070C C0 43 00 04 */ lfs f2, 4(r3) /* 801C37B0 001C0710 C0 23 00 08 */ lfs f1, 8(r3) /* 801C37B4 001C0714 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C37B8 001C0718 D0 C1 00 38 */ stfs f6, 0x38(r1) /* 801C37BC 001C071C D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801C37C0 001C0720 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801C37C4 001C0724 D0 61 00 44 */ stfs f3, 0x44(r1) /* 801C37C8 001C0728 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801C37CC 001C072C D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801C37D0 001C0730 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801C37D4 001C0734 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C37D8 001C0738 38 63 00 04 */ addi r3, r3, 4 /* 801C37DC 001C073C 4B F6 DF 3D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801C37E0 001C0740 7F C3 F3 78 */ mr r3, r30 /* 801C37E4 001C0744 7F E4 FB 78 */ mr r4, r31 /* 801C37E8 001C0748 4B FF D9 29 */ bl sub_801c1110 /* 801C37EC 001C074C 48 00 00 A8 */ b lbl_801C3894 lbl_801C37F0: /* 801C37F0 001C0750 38 00 00 03 */ li r0, 3 /* 801C37F4 001C0754 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C37F8 001C0758 48 00 00 9C */ b lbl_801C3894 lbl_801C37FC: /* 801C37FC 001C075C 38 00 00 03 */ li r0, 3 /* 801C3800 001C0760 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C3804 001C0764 48 00 00 90 */ b lbl_801C3894 lbl_801C3808: /* 801C3808 001C0768 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801C380C 001C076C 48 14 EC D1 */ bl Float__9CRandom16Fv /* 801C3810 001C0770 C0 7E 03 08 */ lfs f3, 0x308(r30) /* 801C3814 001C0774 38 60 00 00 */ li r3, 0 /* 801C3818 001C0778 C0 5E 03 04 */ lfs f2, 0x304(r30) /* 801C381C 001C077C 38 80 00 02 */ li r4, 2 /* 801C3820 001C0780 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C3824 001C0784 EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 801C3828 001C0788 D0 3E 07 94 */ stfs f1, 0x794(r30) /* 801C382C 001C078C 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3830 001C0790 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801C3834 001C0794 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C3838 001C0798 54 03 FF FE */ rlwinm r3, r0, 0x1f, 0x1f, 0x1f /* 801C383C 001C079C 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3840 001C07A0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801C3844 001C07A4 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C3848 001C07A8 D0 1E 07 A4 */ stfs f0, 0x7a4(r30) /* 801C384C 001C07AC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C3850 001C07B0 4B F7 71 89 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C3854 001C07B4 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C3858 001C07B8 7F C3 F3 78 */ mr r3, r30 /* 801C385C 001C07BC 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801C3860 001C07C0 7F E4 FB 78 */ mr r4, r31 /* 801C3864 001C07C4 4B FF E0 59 */ bl sub_801c18bc /* 801C3868 001C07C8 A1 1E 00 08 */ lhz r8, 8(r30) /* 801C386C 001C07CC 7F E4 FB 78 */ mr r4, r31 /* 801C3870 001C07D0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801C3874 001C07D4 38 C1 00 0C */ addi r6, r1, 0xc /* 801C3878 001C07D8 B1 01 00 0C */ sth r8, 0xc(r1) /* 801C387C 001C07DC 38 60 00 00 */ li r3, 0 /* 801C3880 001C07E0 38 E0 00 01 */ li r7, 1 /* 801C3884 001C07E4 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C3888 001C07E8 B1 01 00 08 */ sth r8, 8(r1) /* 801C388C 001C07EC B0 01 00 10 */ sth r0, 0x10(r1) /* 801C3890 001C07F0 48 07 66 41 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb lbl_801C3894: /* 801C3894 001C07F4 80 01 00 64 */ lwz r0, 0x64(r1) /* 801C3898 001C07F8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801C389C 001C07FC 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801C38A0 001C0800 7C 08 03 A6 */ mtlr r0 /* 801C38A4 001C0804 38 21 00 60 */ addi r1, r1, 0x60 /* 801C38A8 001C0808 4E 80 00 20 */ blr .global Attack__12CMetroidBetaFR13CStateManager9EStateMsgf Attack__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C38AC 001C080C 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 801C38B0 001C0810 7C 08 02 A6 */ mflr r0 /* 801C38B4 001C0814 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 801C38B8 001C0818 DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 801C38BC 001C081C F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 801C38C0 001C0820 DB C1 01 90 */ stfd f30, 0x190(r1) /* 801C38C4 001C0824 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 801C38C8 001C0828 DB A1 01 80 */ stfd f29, 0x180(r1) /* 801C38CC 001C082C F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 801C38D0 001C0830 DB 81 01 70 */ stfd f28, 0x170(r1) /* 801C38D4 001C0834 F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 801C38D8 001C0838 93 E1 01 6C */ stw r31, 0x16c(r1) /* 801C38DC 001C083C 93 C1 01 68 */ stw r30, 0x168(r1) /* 801C38E0 001C0840 93 A1 01 64 */ stw r29, 0x164(r1) /* 801C38E4 001C0844 7C 9F 23 78 */ mr r31, r4 /* 801C38E8 001C0848 2C 05 00 01 */ cmpwi r5, 1 /* 801C38EC 001C084C 83 A4 08 4C */ lwz r29, 0x84c(r4) /* 801C38F0 001C0850 7C 7E 1B 78 */ mr r30, r3 /* 801C38F4 001C0854 41 82 00 B4 */ beq lbl_801C39A8 /* 801C38F8 001C0858 40 80 00 10 */ bge lbl_801C3908 /* 801C38FC 001C085C 2C 05 00 00 */ cmpwi r5, 0 /* 801C3900 001C0860 40 80 00 14 */ bge lbl_801C3914 /* 801C3904 001C0864 48 00 04 24 */ b lbl_801C3D28 lbl_801C3908: /* 801C3908 001C0868 2C 05 00 03 */ cmpwi r5, 3 /* 801C390C 001C086C 40 80 04 1C */ bge lbl_801C3D28 /* 801C3910 001C0870 48 00 03 18 */ b lbl_801C3C28 lbl_801C3914: /* 801C3914 001C0874 38 00 00 02 */ li r0, 2 /* 801C3918 001C0878 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C391C 001C087C 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C3920 001C0880 38 60 00 01 */ li r3, 1 /* 801C3924 001C0884 38 80 00 06 */ li r4, 6 /* 801C3928 001C0888 D0 1E 07 9C */ stfs f0, 0x79c(r30) /* 801C392C 001C088C 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3930 001C0890 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801C3934 001C0894 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C3938 001C0898 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C393C 001C089C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C3940 001C08A0 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C3944 001C08A4 D0 1E 08 3C */ stfs f0, 0x83c(r30) /* 801C3948 001C08A8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C394C 001C08AC 4B F7 70 8D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C3950 001C08B0 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C3954 001C08B4 38 7D 02 74 */ addi r3, r29, 0x274 /* 801C3958 001C08B8 C0 22 AA A4 */ lfs f1, lbl_805AC7C4@sda21(r2) /* 801C395C 001C08BC 38 81 00 30 */ addi r4, r1, 0x30 /* 801C3960 001C08C0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801C3964 001C08C4 B0 01 00 30 */ sth r0, 0x30(r1) /* 801C3968 001C08C8 4B FF 0F 2D */ bl sub_801b4894 /* 801C396C 001C08CC 80 1D 02 F8 */ lwz r0, 0x2f8(r29) /* 801C3970 001C08D0 2C 00 00 01 */ cmpwi r0, 1 /* 801C3974 001C08D4 41 82 03 B4 */ beq lbl_801C3D28 /* 801C3978 001C08D8 7F A3 EB 78 */ mr r3, r29 /* 801C397C 001C08DC 7F E5 FB 78 */ mr r5, r31 /* 801C3980 001C08E0 38 80 00 04 */ li r4, 4 /* 801C3984 001C08E4 4B FB 7B 11 */ bl SetOrbitState__7CPlayerFQ27CPlayer17EPlayerOrbitStateR13CStateManager /* 801C3988 001C08E8 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C398C 001C08EC 7F A3 EB 78 */ mr r3, r29 /* 801C3990 001C08F0 7F E5 FB 78 */ mr r5, r31 /* 801C3994 001C08F4 38 81 00 28 */ addi r4, r1, 0x28 /* 801C3998 001C08F8 B0 01 00 24 */ sth r0, 0x24(r1) /* 801C399C 001C08FC B0 01 00 28 */ sth r0, 0x28(r1) /* 801C39A0 001C0900 4B FB 7C 4D */ bl SetOrbitTargetId__7CPlayerF9TUniqueIdR13CStateManager /* 801C39A4 001C0904 48 00 03 84 */ b lbl_801C3D28 lbl_801C39A8: /* 801C39A8 001C0908 4B FF EC F1 */ bl sub_801c2698 /* 801C39AC 001C090C 7F C4 F3 78 */ mr r4, r30 /* 801C39B0 001C0910 7F E5 FB 78 */ mr r5, r31 /* 801C39B4 001C0914 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801C39B8 001C0918 4B FF DC 21 */ bl sub_801c15d8 /* 801C39BC 001C091C C3 A1 00 C0 */ lfs f29, 0xc0(r1) /* 801C39C0 001C0920 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801C39C4 001C0924 C3 E1 00 C4 */ lfs f31, 0xc4(r1) /* 801C39C8 001C0928 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801C39CC 001C092C EC 00 E8 28 */ fsubs f0, f0, f29 /* 801C39D0 001C0930 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801C39D4 001C0934 EC A1 F8 28 */ fsubs f5, f1, f31 /* 801C39D8 001C0938 C3 C1 00 C8 */ lfs f30, 0xc8(r1) /* 801C39DC 001C093C C0 62 AA 98 */ lfs f3, lbl_805AC7B8@sda21(r2) /* 801C39E0 001C0940 EC 20 00 32 */ fmuls f1, f0, f0 /* 801C39E4 001C0944 EC 82 F0 28 */ fsubs f4, f2, f30 /* 801C39E8 001C0948 D0 01 01 04 */ stfs f0, 0x104(r1) /* 801C39EC 001C094C EC 05 01 72 */ fmuls f0, f5, f5 /* 801C39F0 001C0950 D0 A1 01 08 */ stfs f5, 0x108(r1) /* 801C39F4 001C0954 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801C39F8 001C0958 D0 81 01 0C */ stfs f4, 0x10c(r1) /* 801C39FC 001C095C EC 01 00 2A */ fadds f0, f1, f0 /* 801C3A00 001C0960 D0 61 01 0C */ stfs f3, 0x10c(r1) /* 801C3A04 001C0964 C3 9E 02 FC */ lfs f28, 0x2fc(r30) /* 801C3A08 001C0968 EC 22 00 2A */ fadds f1, f2, f0 /* 801C3A0C 001C096C EC 1C 07 32 */ fmuls f0, f28, f28 /* 801C3A10 001C0970 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C3A14 001C0974 4C 41 13 82 */ cror 2, 1, 2 /* 801C3A18 001C0978 40 82 00 A0 */ bne lbl_801C3AB8 /* 801C3A1C 001C097C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801C3A20 001C0980 38 81 01 04 */ addi r4, r1, 0x104 /* 801C3A24 001C0984 48 15 0E 2D */ bl AsNormalized__9CVector3fCFv /* 801C3A28 001C0988 C0 41 00 B4 */ lfs f2, 0xb4(r1) /* 801C3A2C 001C098C 7F C5 F3 78 */ mr r5, r30 /* 801C3A30 001C0990 C0 21 00 B8 */ lfs f1, 0xb8(r1) /* 801C3A34 001C0994 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801C3A38 001C0998 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801C3A3C 001C099C EC 5C 00 B2 */ fmuls f2, f28, f2 /* 801C3A40 001C09A0 EC 3C 00 72 */ fmuls f1, f28, f1 /* 801C3A44 001C09A4 38 9E 04 5C */ addi r4, r30, 0x45c /* 801C3A48 001C09A8 EC 1C 00 32 */ fmuls f0, f28, f0 /* 801C3A4C 001C09AC 38 C1 00 F8 */ addi r6, r1, 0xf8 /* 801C3A50 001C09B0 EC 5D 10 2A */ fadds f2, f29, f2 /* 801C3A54 001C09B4 EC 3F 08 2A */ fadds f1, f31, f1 /* 801C3A58 001C09B8 EC 1E 00 2A */ fadds f0, f30, f0 /* 801C3A5C 001C09BC D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 801C3A60 001C09C0 D0 21 00 FC */ stfs f1, 0xfc(r1) /* 801C3A64 001C09C4 D0 01 01 00 */ stfs f0, 0x100(r1) /* 801C3A68 001C09C8 4B F7 B1 B9 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f /* 801C3A6C 001C09CC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3A70 001C09D0 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801C3A74 001C09D4 C0 C1 00 A8 */ lfs f6, 0xa8(r1) /* 801C3A78 001C09D8 38 81 01 10 */ addi r4, r1, 0x110 /* 801C3A7C 001C09DC C0 A1 00 AC */ lfs f5, 0xac(r1) /* 801C3A80 001C09E0 C0 81 00 B0 */ lfs f4, 0xb0(r1) /* 801C3A84 001C09E4 C0 43 00 04 */ lfs f2, 4(r3) /* 801C3A88 001C09E8 C0 23 00 08 */ lfs f1, 8(r3) /* 801C3A8C 001C09EC C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C3A90 001C09F0 D0 C1 01 10 */ stfs f6, 0x110(r1) /* 801C3A94 001C09F4 D0 A1 01 14 */ stfs f5, 0x114(r1) /* 801C3A98 001C09F8 D0 81 01 18 */ stfs f4, 0x118(r1) /* 801C3A9C 001C09FC D0 61 01 1C */ stfs f3, 0x11c(r1) /* 801C3AA0 001C0A00 D0 41 01 20 */ stfs f2, 0x120(r1) /* 801C3AA4 001C0A04 D0 21 01 24 */ stfs f1, 0x124(r1) /* 801C3AA8 001C0A08 D0 01 01 28 */ stfs f0, 0x128(r1) /* 801C3AAC 001C0A0C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C3AB0 001C0A10 38 63 00 04 */ addi r3, r3, 4 /* 801C3AB4 001C0A14 4B F6 DC 65 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C3AB8: /* 801C3AB8 001C0A18 C0 41 01 0C */ lfs f2, 0x10c(r1) /* 801C3ABC 001C0A1C 38 61 00 EC */ addi r3, r1, 0xec /* 801C3AC0 001C0A20 C0 21 01 08 */ lfs f1, 0x108(r1) /* 801C3AC4 001C0A24 C0 01 01 04 */ lfs f0, 0x104(r1) /* 801C3AC8 001C0A28 FC 40 10 50 */ fneg f2, f2 /* 801C3ACC 001C0A2C FC 20 08 50 */ fneg f1, f1 /* 801C3AD0 001C0A30 FC 00 00 50 */ fneg f0, f0 /* 801C3AD4 001C0A34 D0 41 00 F4 */ stfs f2, 0xf4(r1) /* 801C3AD8 001C0A38 D0 01 00 EC */ stfs f0, 0xec(r1) /* 801C3ADC 001C0A3C D0 21 00 F0 */ stfs f1, 0xf0(r1) /* 801C3AE0 001C0A40 48 15 0C 19 */ bl CanBeNormalized__9CVector3fCFv /* 801C3AE4 001C0A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C3AE8 001C0A48 41 82 01 20 */ beq lbl_801C3C08 /* 801C3AEC 001C0A4C 38 61 00 9C */ addi r3, r1, 0x9c /* 801C3AF0 001C0A50 38 81 00 EC */ addi r4, r1, 0xec /* 801C3AF4 001C0A54 48 15 0D 5D */ bl AsNormalized__9CVector3fCFv /* 801C3AF8 001C0A58 C0 DE 00 58 */ lfs f6, 0x58(r30) /* 801C3AFC 001C0A5C 38 61 00 8C */ addi r3, r1, 0x8c /* 801C3B00 001C0A60 C0 BE 00 48 */ lfs f5, 0x48(r30) /* 801C3B04 001C0A64 38 81 00 80 */ addi r4, r1, 0x80 /* 801C3B08 001C0A68 C0 9E 00 38 */ lfs f4, 0x38(r30) /* 801C3B0C 001C0A6C 38 A1 00 74 */ addi r5, r1, 0x74 /* 801C3B10 001C0A70 C0 62 AA D4 */ lfs f3, lbl_805AC7F4@sda21(r2) /* 801C3B14 001C0A74 38 C1 00 34 */ addi r6, r1, 0x34 /* 801C3B18 001C0A78 C0 41 00 9C */ lfs f2, 0x9c(r1) /* 801C3B1C 001C0A7C C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 801C3B20 001C0A80 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801C3B24 001C0A84 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801C3B28 001C0A88 D0 41 00 74 */ stfs f2, 0x74(r1) /* 801C3B2C 001C0A8C D0 21 00 78 */ stfs f1, 0x78(r1) /* 801C3B30 001C0A90 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801C3B34 001C0A94 D0 81 00 80 */ stfs f4, 0x80(r1) /* 801C3B38 001C0A98 D0 A1 00 84 */ stfs f5, 0x84(r1) /* 801C3B3C 001C0A9C D0 C1 00 88 */ stfs f6, 0x88(r1) /* 801C3B40 001C0AA0 48 14 DB 55 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 801C3B44 001C0AA4 C0 61 00 8C */ lfs f3, 0x8c(r1) /* 801C3B48 001C0AA8 38 61 00 54 */ addi r3, r1, 0x54 /* 801C3B4C 001C0AAC C0 41 00 90 */ lfs f2, 0x90(r1) /* 801C3B50 001C0AB0 38 9E 00 34 */ addi r4, r30, 0x34 /* 801C3B54 001C0AB4 C0 21 00 94 */ lfs f1, 0x94(r1) /* 801C3B58 001C0AB8 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801C3B5C 001C0ABC D0 61 00 DC */ stfs f3, 0xdc(r1) /* 801C3B60 001C0AC0 D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 801C3B64 001C0AC4 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 801C3B68 001C0AC8 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 801C3B6C 001C0ACC 48 14 E5 BD */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 801C3B70 001C0AD0 38 61 00 64 */ addi r3, r1, 0x64 /* 801C3B74 001C0AD4 38 81 00 54 */ addi r4, r1, 0x54 /* 801C3B78 001C0AD8 38 A1 00 DC */ addi r5, r1, 0xdc /* 801C3B7C 001C0ADC 48 14 D6 25 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801C3B80 001C0AE0 C0 61 00 64 */ lfs f3, 0x64(r1) /* 801C3B84 001C0AE4 38 61 00 44 */ addi r3, r1, 0x44 /* 801C3B88 001C0AE8 C0 41 00 68 */ lfs f2, 0x68(r1) /* 801C3B8C 001C0AEC 38 81 00 CC */ addi r4, r1, 0xcc /* 801C3B90 001C0AF0 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 801C3B94 001C0AF4 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801C3B98 001C0AF8 D0 61 00 CC */ stfs f3, 0xcc(r1) /* 801C3B9C 001C0AFC D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 801C3BA0 001C0B00 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801C3BA4 001C0B04 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 801C3BA8 001C0B08 48 14 D7 F5 */ bl BuildNormalized__11CQuaternionCFv /* 801C3BAC 001C0B0C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801C3BB0 001C0B10 38 61 01 2C */ addi r3, r1, 0x12c /* 801C3BB4 001C0B14 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801C3BB8 001C0B18 38 81 00 44 */ addi r4, r1, 0x44 /* 801C3BBC 001C0B1C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801C3BC0 001C0B20 38 A1 00 38 */ addi r5, r1, 0x38 /* 801C3BC4 001C0B24 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801C3BC8 001C0B28 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801C3BCC 001C0B2C D0 41 00 40 */ stfs f2, 0x40(r1) /* 801C3BD0 001C0B30 48 14 E2 ED */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f /* 801C3BD4 001C0B34 38 7E 00 34 */ addi r3, r30, 0x34 /* 801C3BD8 001C0B38 38 81 01 2C */ addi r4, r1, 0x12c /* 801C3BDC 001C0B3C 48 14 EF 65 */ bl __as__12CTransform4fFRC12CTransform4f /* 801C3BE0 001C0B40 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801C3BE4 001C0B44 38 60 00 01 */ li r3, 1 /* 801C3BE8 001C0B48 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801C3BEC 001C0B4C 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801C3BF0 001C0B50 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801C3BF4 001C0B54 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801C3BF8 001C0B58 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801C3BFC 001C0B5C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801C3C00 001C0B60 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801C3C04 001C0B64 98 1E 00 E4 */ stb r0, 0xe4(r30) lbl_801C3C08: /* 801C3C08 001C0B68 7F C3 F3 78 */ mr r3, r30 /* 801C3C0C 001C0B6C 7F E4 FB 78 */ mr r4, r31 /* 801C3C10 001C0B70 4B FF EC 75 */ bl sub_801c2884 /* 801C3C14 001C0B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C3C18 001C0B78 41 82 01 10 */ beq lbl_801C3D28 /* 801C3C1C 001C0B7C 38 00 00 03 */ li r0, 3 /* 801C3C20 001C0B80 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C3C24 001C0B84 48 00 01 04 */ b lbl_801C3D28 lbl_801C3C28: /* 801C3C28 001C0B88 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C3C2C 001C0B8C 38 80 00 02 */ li r4, 2 /* 801C3C30 001C0B90 4B F7 6D A9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C3C34 001C0B94 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801C3C38 001C0B98 48 14 E8 A5 */ bl Float__9CRandom16Fv /* 801C3C3C 001C0B9C C0 7E 03 08 */ lfs f3, 0x308(r30) /* 801C3C40 001C0BA0 38 A0 00 00 */ li r5, 0 /* 801C3C44 001C0BA4 C0 5E 03 04 */ lfs f2, 0x304(r30) /* 801C3C48 001C0BA8 7F C3 F3 78 */ mr r3, r30 /* 801C3C4C 001C0BAC C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C3C50 001C0BB0 7F E4 FB 78 */ mr r4, r31 /* 801C3C54 001C0BB4 EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 801C3C58 001C0BB8 D0 3E 07 94 */ stfs f1, 0x794(r30) /* 801C3C5C 001C0BBC 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C3C60 001C0BC0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801C3C64 001C0BC4 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C3C68 001C0BC8 D0 1E 08 3C */ stfs f0, 0x83c(r30) /* 801C3C6C 001C0BCC 4B FF DB 25 */ bl sub_801c1790 /* 801C3C70 001C0BD0 7F C3 F3 78 */ mr r3, r30 /* 801C3C74 001C0BD4 4B FF D8 E9 */ bl sub_801c155c /* 801C3C78 001C0BD8 C0 02 AA 9C */ lfs f0, lbl_805AC7BC@sda21(r2) /* 801C3C7C 001C0BDC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C3C80 001C0BE0 40 80 00 14 */ bge lbl_801C3C94 /* 801C3C84 001C0BE4 C0 3E 07 9C */ lfs f1, 0x79c(r30) /* 801C3C88 001C0BE8 7F C3 F3 78 */ mr r3, r30 /* 801C3C8C 001C0BEC 7F E4 FB 78 */ mr r4, r31 /* 801C3C90 001C0BF0 4B FF D8 25 */ bl sub_801c14b4 lbl_801C3C94: /* 801C3C94 001C0BF4 83 BF 08 4C */ lwz r29, 0x84c(r31) /* 801C3C98 001C0BF8 38 81 00 20 */ addi r4, r1, 0x20 /* 801C3C9C 001C0BFC A0 1E 00 08 */ lhz r0, 8(r30) /* 801C3CA0 001C0C00 38 7D 02 74 */ addi r3, r29, 0x274 /* 801C3CA4 001C0C04 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801C3CA8 001C0C08 B0 01 00 20 */ sth r0, 0x20(r1) /* 801C3CAC 001C0C0C 4B FF 0A 19 */ bl RemoveEnergyDrainSource__18CPlayerEnergyDrainF9TUniqueId /* 801C3CB0 001C0C10 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C3CB4 001C0C14 38 81 00 18 */ addi r4, r1, 0x18 /* 801C3CB8 001C0C18 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C3CBC 001C0C1C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801C3CC0 001C0C20 B0 01 00 14 */ sth r0, 0x14(r1) /* 801C3CC4 001C0C24 80 63 00 00 */ lwz r3, 0(r3) /* 801C3CC8 001C0C28 38 63 01 88 */ addi r3, r3, 0x188 /* 801C3CCC 001C0C2C 4B FF CC E9 */ bl sub_801c09b4 /* 801C3CD0 001C0C30 80 1D 03 04 */ lwz r0, 0x304(r29) /* 801C3CD4 001C0C34 2C 00 00 04 */ cmpwi r0, 4 /* 801C3CD8 001C0C38 40 82 00 24 */ bne lbl_801C3CFC /* 801C3CDC 001C0C3C A0 7D 03 10 */ lhz r3, 0x310(r29) /* 801C3CE0 001C0C40 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C3CE4 001C0C44 7C 03 00 40 */ cmplw r3, r0 /* 801C3CE8 001C0C48 40 82 00 14 */ bne lbl_801C3CFC /* 801C3CEC 001C0C4C 7F A3 EB 78 */ mr r3, r29 /* 801C3CF0 001C0C50 7F E5 FB 78 */ mr r5, r31 /* 801C3CF4 001C0C54 38 80 00 01 */ li r4, 1 /* 801C3CF8 001C0C58 4B FB 77 9D */ bl SetOrbitState__7CPlayerFQ27CPlayer17EPlayerOrbitStateR13CStateManager lbl_801C3CFC: /* 801C3CFC 001C0C5C A1 1E 00 08 */ lhz r8, 8(r30) /* 801C3D00 001C0C60 7F E4 FB 78 */ mr r4, r31 /* 801C3D04 001C0C64 38 A1 00 10 */ addi r5, r1, 0x10 /* 801C3D08 001C0C68 38 C1 00 0C */ addi r6, r1, 0xc /* 801C3D0C 001C0C6C B1 01 00 0C */ sth r8, 0xc(r1) /* 801C3D10 001C0C70 38 60 00 01 */ li r3, 1 /* 801C3D14 001C0C74 38 E0 00 01 */ li r7, 1 /* 801C3D18 001C0C78 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C3D1C 001C0C7C B1 01 00 08 */ sth r8, 8(r1) /* 801C3D20 001C0C80 B0 01 00 10 */ sth r0, 0x10(r1) /* 801C3D24 001C0C84 48 07 61 AD */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb lbl_801C3D28: /* 801C3D28 001C0C88 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 801C3D2C 001C0C8C CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 801C3D30 001C0C90 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 801C3D34 001C0C94 CB C1 01 90 */ lfd f30, 0x190(r1) /* 801C3D38 001C0C98 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 801C3D3C 001C0C9C CB A1 01 80 */ lfd f29, 0x180(r1) /* 801C3D40 001C0CA0 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 801C3D44 001C0CA4 CB 81 01 70 */ lfd f28, 0x170(r1) /* 801C3D48 001C0CA8 83 E1 01 6C */ lwz r31, 0x16c(r1) /* 801C3D4C 001C0CAC 83 C1 01 68 */ lwz r30, 0x168(r1) /* 801C3D50 001C0CB0 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 801C3D54 001C0CB4 83 A1 01 64 */ lwz r29, 0x164(r1) /* 801C3D58 001C0CB8 7C 08 03 A6 */ mtlr r0 /* 801C3D5C 001C0CBC 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 801C3D60 001C0CC0 4E 80 00 20 */ blr .global TurnAround__12CMetroidBetaFR13CStateManager9EStateMsgf TurnAround__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C3D64 001C0CC4 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801C3D68 001C0CC8 7C 08 02 A6 */ mflr r0 /* 801C3D6C 001C0CCC 2C 05 00 01 */ cmpwi r5, 1 /* 801C3D70 001C0CD0 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801C3D74 001C0CD4 93 E1 00 DC */ stw r31, 0xdc(r1) /* 801C3D78 001C0CD8 7C 7F 1B 78 */ mr r31, r3 /* 801C3D7C 001C0CDC 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 801C3D80 001C0CE0 7C 9E 23 78 */ mr r30, r4 /* 801C3D84 001C0CE4 41 82 00 08 */ beq lbl_801C3D8C /* 801C3D88 001C0CE8 48 00 02 2C */ b lbl_801C3FB4 lbl_801C3D8C: /* 801C3D8C 001C0CEC 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 801C3D90 001C0CF0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801C3D94 001C0CF4 C0 45 00 50 */ lfs f2, 0x50(r5) /* 801C3D98 001C0CF8 C0 65 00 60 */ lfs f3, 0x60(r5) /* 801C3D9C 001C0CFC C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801C3DA0 001C0D00 EC 82 00 28 */ fsubs f4, f2, f0 /* 801C3DA4 001C0D04 C0 45 00 40 */ lfs f2, 0x40(r5) /* 801C3DA8 001C0D08 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801C3DAC 001C0D0C EC 63 08 28 */ fsubs f3, f3, f1 /* 801C3DB0 001C0D10 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C3DB4 001C0D14 EC 02 00 28 */ fsubs f0, f2, f0 /* 801C3DB8 001C0D18 D0 81 00 68 */ stfs f4, 0x68(r1) /* 801C3DBC 001C0D1C D0 61 00 6C */ stfs f3, 0x6c(r1) /* 801C3DC0 001C0D20 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801C3DC4 001C0D24 81 83 00 00 */ lwz r12, 0(r3) /* 801C3DC8 001C0D28 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801C3DCC 001C0D2C 7D 89 03 A6 */ mtctr r12 /* 801C3DD0 001C0D30 4E 80 04 21 */ bctrl /* 801C3DD4 001C0D34 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C3DD8 001C0D38 41 82 00 70 */ beq lbl_801C3E48 /* 801C3DDC 001C0D3C 38 61 00 64 */ addi r3, r1, 0x64 /* 801C3DE0 001C0D40 48 15 09 19 */ bl CanBeNormalized__9CVector3fCFv /* 801C3DE4 001C0D44 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C3DE8 001C0D48 41 82 00 60 */ beq lbl_801C3E48 /* 801C3DEC 001C0D4C 38 61 00 4C */ addi r3, r1, 0x4c /* 801C3DF0 001C0D50 38 81 00 64 */ addi r4, r1, 0x64 /* 801C3DF4 001C0D54 48 15 0A 5D */ bl AsNormalized__9CVector3fCFv /* 801C3DF8 001C0D58 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3DFC 001C0D5C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801C3E00 001C0D60 C0 61 00 4C */ lfs f3, 0x4c(r1) /* 801C3E04 001C0D64 38 81 00 8C */ addi r4, r1, 0x8c /* 801C3E08 001C0D68 C0 41 00 50 */ lfs f2, 0x50(r1) /* 801C3E0C 001C0D6C C0 A3 00 04 */ lfs f5, 4(r3) /* 801C3E10 001C0D70 C0 83 00 08 */ lfs f4, 8(r3) /* 801C3E14 001C0D74 C0 21 00 54 */ lfs f1, 0x54(r1) /* 801C3E18 001C0D78 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C3E1C 001C0D7C D0 C1 00 8C */ stfs f6, 0x8c(r1) /* 801C3E20 001C0D80 D0 A1 00 90 */ stfs f5, 0x90(r1) /* 801C3E24 001C0D84 D0 81 00 94 */ stfs f4, 0x94(r1) /* 801C3E28 001C0D88 D0 61 00 98 */ stfs f3, 0x98(r1) /* 801C3E2C 001C0D8C D0 41 00 9C */ stfs f2, 0x9c(r1) /* 801C3E30 001C0D90 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 801C3E34 001C0D94 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801C3E38 001C0D98 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C3E3C 001C0D9C 38 63 00 04 */ addi r3, r3, 4 /* 801C3E40 001C0DA0 4B F6 D8 D9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801C3E44 001C0DA4 48 00 01 70 */ b lbl_801C3FB4 lbl_801C3E48: /* 801C3E48 001C0DA8 A0 DF 00 08 */ lhz r6, 8(r31) /* 801C3E4C 001C0DAC 7F C3 F3 78 */ mr r3, r30 /* 801C3E50 001C0DB0 38 81 00 18 */ addi r4, r1, 0x18 /* 801C3E54 001C0DB4 38 A1 00 14 */ addi r5, r1, 0x14 /* 801C3E58 001C0DB8 B0 C1 00 14 */ sth r6, 0x14(r1) /* 801C3E5C 001C0DBC A0 1F 06 78 */ lhz r0, 0x678(r31) /* 801C3E60 001C0DC0 B0 C1 00 10 */ sth r6, 0x10(r1) /* 801C3E64 001C0DC4 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C3E68 001C0DC8 48 07 63 19 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId /* 801C3E6C 001C0DCC 28 03 00 00 */ cmplwi r3, 0 /* 801C3E70 001C0DD0 41 82 00 0C */ beq lbl_801C3E7C /* 801C3E74 001C0DD4 38 C3 00 1C */ addi r6, r3, 0x1c /* 801C3E78 001C0DD8 48 00 00 98 */ b lbl_801C3F10 lbl_801C3E7C: /* 801C3E7C 001C0DDC 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 801C3E80 001C0DE0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3E84 001C0DE4 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801C3E88 001C0DE8 39 20 FF FF */ li r9, -1 /* 801C3E8C 001C0DEC C0 85 00 60 */ lfs f4, 0x60(r5) /* 801C3E90 001C0DF0 38 00 00 00 */ li r0, 0 /* 801C3E94 001C0DF4 C0 65 00 50 */ lfs f3, 0x50(r5) /* 801C3E98 001C0DF8 7F E4 FB 78 */ mr r4, r31 /* 801C3E9C 001C0DFC C0 05 00 40 */ lfs f0, 0x40(r5) /* 801C3EA0 001C0E00 7F C5 F3 78 */ mr r5, r30 /* 801C3EA4 001C0E04 C0 48 00 00 */ lfs f2, 0(r8) /* 801C3EA8 001C0E08 38 61 00 34 */ addi r3, r1, 0x34 /* 801C3EAC 001C0E0C D0 01 00 40 */ stfs f0, 0x40(r1) /* 801C3EB0 001C0E10 38 C1 00 A8 */ addi r6, r1, 0xa8 /* 801C3EB4 001C0E14 C0 28 00 04 */ lfs f1, 4(r8) /* 801C3EB8 001C0E18 38 E1 00 40 */ addi r7, r1, 0x40 /* 801C3EBC 001C0E1C D0 61 00 44 */ stfs f3, 0x44(r1) /* 801C3EC0 001C0E20 C0 08 00 08 */ lfs f0, 8(r8) /* 801C3EC4 001C0E24 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801C3EC8 001C0E28 A1 1F 00 08 */ lhz r8, 8(r31) /* 801C3ECC 001C0E2C B1 01 00 A8 */ sth r8, 0xa8(r1) /* 801C3ED0 001C0E30 91 21 00 AC */ stw r9, 0xac(r1) /* 801C3ED4 001C0E34 91 21 00 B0 */ stw r9, 0xb0(r1) /* 801C3ED8 001C0E38 91 21 00 B4 */ stw r9, 0xb4(r1) /* 801C3EDC 001C0E3C 91 21 00 B8 */ stw r9, 0xb8(r1) /* 801C3EE0 001C0E40 91 21 00 BC */ stw r9, 0xbc(r1) /* 801C3EE4 001C0E44 90 01 00 C0 */ stw r0, 0xc0(r1) /* 801C3EE8 001C0E48 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801C3EEC 001C0E4C D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 801C3EF0 001C0E50 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801C3EF4 001C0E54 81 9F 00 00 */ lwz r12, 0(r31) /* 801C3EF8 001C0E58 B1 01 00 08 */ sth r8, 8(r1) /* 801C3EFC 001C0E5C 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801C3F00 001C0E60 B1 01 00 0C */ sth r8, 0xc(r1) /* 801C3F04 001C0E64 7D 89 03 A6 */ mtctr r12 /* 801C3F08 001C0E68 4E 80 04 21 */ bctrl /* 801C3F0C 001C0E6C 38 C1 00 34 */ addi r6, r1, 0x34 lbl_801C3F10: /* 801C3F10 001C0E70 C0 9F 00 60 */ lfs f4, 0x60(r31) /* 801C3F14 001C0E74 7F E5 FB 78 */ mr r5, r31 /* 801C3F18 001C0E78 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801C3F1C 001C0E7C 38 61 00 1C */ addi r3, r1, 0x1c /* 801C3F20 001C0E80 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801C3F24 001C0E84 38 9F 04 5C */ addi r4, r31, 0x45c /* 801C3F28 001C0E88 C0 46 00 08 */ lfs f2, 8(r6) /* 801C3F2C 001C0E8C 38 C1 00 58 */ addi r6, r1, 0x58 /* 801C3F30 001C0E90 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801C3F34 001C0E94 C0 22 AA AC */ lfs f1, lbl_805AC7CC@sda21(r2) /* 801C3F38 001C0E98 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801C3F3C 001C0E9C D0 81 00 30 */ stfs f4, 0x30(r1) /* 801C3F40 001C0EA0 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801C3F44 001C0EA4 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 801C3F48 001C0EA8 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801C3F4C 001C0EAC 4B F7 AB D1 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801C3F50 001C0EB0 C0 81 00 20 */ lfs f4, 0x20(r1) /* 801C3F54 001C0EB4 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801C3F58 001C0EB8 EC 24 01 32 */ fmuls f1, f4, f4 /* 801C3F5C 001C0EBC C0 A1 00 24 */ lfs f5, 0x24(r1) /* 801C3F60 001C0EC0 C0 02 AA B0 */ lfs f0, lbl_805AC7D0@sda21(r2) /* 801C3F64 001C0EC4 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801C3F68 001C0EC8 EC 25 09 7A */ fmadds f1, f5, f5, f1 /* 801C3F6C 001C0ECC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C3F70 001C0ED0 40 81 00 44 */ ble lbl_801C3FB4 /* 801C3F74 001C0ED4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C3F78 001C0ED8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801C3F7C 001C0EDC C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C3F80 001C0EE0 38 81 00 70 */ addi r4, r1, 0x70 /* 801C3F84 001C0EE4 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801C3F88 001C0EE8 C0 43 00 04 */ lfs f2, 4(r3) /* 801C3F8C 001C0EEC C0 23 00 08 */ lfs f1, 8(r3) /* 801C3F90 001C0EF0 D0 81 00 74 */ stfs f4, 0x74(r1) /* 801C3F94 001C0EF4 D0 A1 00 78 */ stfs f5, 0x78(r1) /* 801C3F98 001C0EF8 D0 61 00 7C */ stfs f3, 0x7c(r1) /* 801C3F9C 001C0EFC D0 41 00 80 */ stfs f2, 0x80(r1) /* 801C3FA0 001C0F00 D0 21 00 84 */ stfs f1, 0x84(r1) /* 801C3FA4 001C0F04 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801C3FA8 001C0F08 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C3FAC 001C0F0C 38 63 00 04 */ addi r3, r3, 4 /* 801C3FB0 001C0F10 4B F6 D7 69 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801C3FB4: /* 801C3FB4 001C0F14 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801C3FB8 001C0F18 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 801C3FBC 001C0F1C 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 801C3FC0 001C0F20 7C 08 03 A6 */ mtlr r0 /* 801C3FC4 001C0F24 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801C3FC8 001C0F28 4E 80 00 20 */ blr .global PathFind__12CMetroidBetaFR13CStateManager9EStateMsgf PathFind__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C3FCC 001C0F2C 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801C3FD0 001C0F30 7C 08 02 A6 */ mflr r0 /* 801C3FD4 001C0F34 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801C3FD8 001C0F38 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 801C3FDC 001C0F3C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 801C3FE0 001C0F40 93 E1 00 BC */ stw r31, 0xbc(r1) /* 801C3FE4 001C0F44 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 801C3FE8 001C0F48 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 801C3FEC 001C0F4C 7C BD 2B 78 */ mr r29, r5 /* 801C3FF0 001C0F50 FF E0 08 90 */ fmr f31, f1 /* 801C3FF4 001C0F54 2C 1D 00 01 */ cmpwi r29, 1 /* 801C3FF8 001C0F58 7C 7E 1B 78 */ mr r30, r3 /* 801C3FFC 001C0F5C 7C 9F 23 78 */ mr r31, r4 /* 801C4000 001C0F60 41 82 01 50 */ beq lbl_801C4150 /* 801C4004 001C0F64 40 80 02 D0 */ bge lbl_801C42D4 /* 801C4008 001C0F68 2C 1D 00 00 */ cmpwi r29, 0 /* 801C400C 001C0F6C 40 80 00 08 */ bge lbl_801C4014 /* 801C4010 001C0F70 48 00 02 C4 */ b lbl_801C42D4 lbl_801C4014: /* 801C4014 001C0F74 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C4018 001C0F78 38 60 00 00 */ li r3, 0 /* 801C401C 001C0F7C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801C4020 001C0F80 38 80 00 02 */ li r4, 2 /* 801C4024 001C0F84 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C4028 001C0F88 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C402C 001C0F8C 4B F7 69 AD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801C4030 001C0F90 A0 DE 00 08 */ lhz r6, 8(r30) /* 801C4034 001C0F94 7F E3 FB 78 */ mr r3, r31 /* 801C4038 001C0F98 38 81 00 2C */ addi r4, r1, 0x2c /* 801C403C 001C0F9C 38 A1 00 28 */ addi r5, r1, 0x28 /* 801C4040 001C0FA0 B0 C1 00 28 */ sth r6, 0x28(r1) /* 801C4044 001C0FA4 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C4048 001C0FA8 B0 C1 00 24 */ sth r6, 0x24(r1) /* 801C404C 001C0FAC B0 01 00 2C */ sth r0, 0x2c(r1) /* 801C4050 001C0FB0 48 07 61 31 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId /* 801C4054 001C0FB4 28 03 00 00 */ cmplwi r3, 0 /* 801C4058 001C0FB8 41 82 00 20 */ beq lbl_801C4078 /* 801C405C 001C0FBC C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801C4060 001C0FC0 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 801C4064 001C0FC4 C0 03 00 20 */ lfs f0, 0x20(r3) /* 801C4068 001C0FC8 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 801C406C 001C0FCC C0 03 00 24 */ lfs f0, 0x24(r3) /* 801C4070 001C0FD0 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) /* 801C4074 001C0FD4 48 00 00 AC */ b lbl_801C4120 lbl_801C4078: /* 801C4078 001C0FD8 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801C407C 001C0FDC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C4080 001C0FE0 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801C4084 001C0FE4 39 20 FF FF */ li r9, -1 /* 801C4088 001C0FE8 C0 85 00 60 */ lfs f4, 0x60(r5) /* 801C408C 001C0FEC 38 00 00 00 */ li r0, 0 /* 801C4090 001C0FF0 C0 65 00 50 */ lfs f3, 0x50(r5) /* 801C4094 001C0FF4 7F C4 F3 78 */ mr r4, r30 /* 801C4098 001C0FF8 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801C409C 001C0FFC 7F E5 FB 78 */ mr r5, r31 /* 801C40A0 001C1000 C0 48 00 00 */ lfs f2, 0(r8) /* 801C40A4 001C1004 38 61 00 54 */ addi r3, r1, 0x54 /* 801C40A8 001C1008 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801C40AC 001C100C 38 C1 00 88 */ addi r6, r1, 0x88 /* 801C40B0 001C1010 C0 28 00 04 */ lfs f1, 4(r8) /* 801C40B4 001C1014 38 E1 00 48 */ addi r7, r1, 0x48 /* 801C40B8 001C1018 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801C40BC 001C101C C0 08 00 08 */ lfs f0, 8(r8) /* 801C40C0 001C1020 D0 81 00 50 */ stfs f4, 0x50(r1) /* 801C40C4 001C1024 A1 1E 00 08 */ lhz r8, 8(r30) /* 801C40C8 001C1028 B1 01 00 88 */ sth r8, 0x88(r1) /* 801C40CC 001C102C 91 21 00 8C */ stw r9, 0x8c(r1) /* 801C40D0 001C1030 91 21 00 90 */ stw r9, 0x90(r1) /* 801C40D4 001C1034 91 21 00 94 */ stw r9, 0x94(r1) /* 801C40D8 001C1038 91 21 00 98 */ stw r9, 0x98(r1) /* 801C40DC 001C103C 91 21 00 9C */ stw r9, 0x9c(r1) /* 801C40E0 001C1040 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801C40E4 001C1044 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801C40E8 001C1048 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801C40EC 001C104C D0 01 00 AC */ stfs f0, 0xac(r1) /* 801C40F0 001C1050 81 9E 00 00 */ lwz r12, 0(r30) /* 801C40F4 001C1054 B1 01 00 1C */ sth r8, 0x1c(r1) /* 801C40F8 001C1058 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801C40FC 001C105C B1 01 00 20 */ sth r8, 0x20(r1) /* 801C4100 001C1060 7D 89 03 A6 */ mtctr r12 /* 801C4104 001C1064 4E 80 04 21 */ bctrl /* 801C4108 001C1068 C0 01 00 54 */ lfs f0, 0x54(r1) /* 801C410C 001C106C D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 801C4110 001C1070 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801C4114 001C1074 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 801C4118 001C1078 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801C411C 001C107C D0 1E 02 E8 */ stfs f0, 0x2e8(r30) lbl_801C4120: /* 801C4120 001C1080 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801C4124 001C1084 7F C3 F3 78 */ mr r3, r30 /* 801C4128 001C1088 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C412C 001C108C 7F E4 FB 78 */ mr r4, r31 /* 801C4130 001C1090 D0 1E 07 A8 */ stfs f0, 0x7a8(r30) /* 801C4134 001C1094 38 A0 00 00 */ li r5, 0 /* 801C4138 001C1098 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801C413C 001C109C D0 1E 07 AC */ stfs f0, 0x7ac(r30) /* 801C4140 001C10A0 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801C4144 001C10A4 D0 1E 07 B0 */ stfs f0, 0x7b0(r30) /* 801C4148 001C10A8 48 03 25 85 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801C414C 001C10AC 48 00 01 88 */ b lbl_801C42D4 lbl_801C4150: /* 801C4150 001C10B0 81 83 00 00 */ lwz r12, 0(r3) /* 801C4154 001C10B4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801C4158 001C10B8 7D 89 03 A6 */ mtctr r12 /* 801C415C 001C10BC 4E 80 04 21 */ bctrl /* 801C4160 001C10C0 28 03 00 00 */ cmplwi r3, 0 /* 801C4164 001C10C4 41 82 00 64 */ beq lbl_801C41C8 /* 801C4168 001C10C8 7F C3 F3 78 */ mr r3, r30 /* 801C416C 001C10CC 7F E4 FB 78 */ mr r4, r31 /* 801C4170 001C10D0 81 9E 00 00 */ lwz r12, 0(r30) /* 801C4174 001C10D4 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C4178 001C10D8 81 8C 01 90 */ lwz r12, 0x190(r12) /* 801C417C 001C10DC 7D 89 03 A6 */ mtctr r12 /* 801C4180 001C10E0 4E 80 04 21 */ bctrl /* 801C4184 001C10E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4188 001C10E8 40 82 00 40 */ bne lbl_801C41C8 /* 801C418C 001C10EC 7F C3 F3 78 */ mr r3, r30 /* 801C4190 001C10F0 7F E4 FB 78 */ mr r4, r31 /* 801C4194 001C10F4 81 9E 00 00 */ lwz r12, 0(r30) /* 801C4198 001C10F8 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C419C 001C10FC 81 8C 01 94 */ lwz r12, 0x194(r12) /* 801C41A0 001C1100 7D 89 03 A6 */ mtctr r12 /* 801C41A4 001C1104 4E 80 04 21 */ bctrl /* 801C41A8 001C1108 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C41AC 001C110C 40 82 00 1C */ bne lbl_801C41C8 /* 801C41B0 001C1110 FC 20 F8 90 */ fmr f1, f31 /* 801C41B4 001C1114 7F C3 F3 78 */ mr r3, r30 /* 801C41B8 001C1118 7F E4 FB 78 */ mr r4, r31 /* 801C41BC 001C111C 7F A5 EB 78 */ mr r5, r29 /* 801C41C0 001C1120 48 03 25 0D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801C41C4 001C1124 48 00 01 04 */ b lbl_801C42C8 lbl_801C41C8: /* 801C41C8 001C1128 A0 DE 00 08 */ lhz r6, 8(r30) /* 801C41CC 001C112C 7F E3 FB 78 */ mr r3, r31 /* 801C41D0 001C1130 38 81 00 18 */ addi r4, r1, 0x18 /* 801C41D4 001C1134 38 A1 00 14 */ addi r5, r1, 0x14 /* 801C41D8 001C1138 B0 C1 00 14 */ sth r6, 0x14(r1) /* 801C41DC 001C113C A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C41E0 001C1140 B0 C1 00 10 */ sth r6, 0x10(r1) /* 801C41E4 001C1144 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C41E8 001C1148 48 07 5F 99 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId /* 801C41EC 001C114C 28 03 00 00 */ cmplwi r3, 0 /* 801C41F0 001C1150 41 82 00 20 */ beq lbl_801C4210 /* 801C41F4 001C1154 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801C41F8 001C1158 D0 1E 07 A8 */ stfs f0, 0x7a8(r30) /* 801C41FC 001C115C C0 03 00 20 */ lfs f0, 0x20(r3) /* 801C4200 001C1160 D0 1E 07 AC */ stfs f0, 0x7ac(r30) /* 801C4204 001C1164 C0 03 00 24 */ lfs f0, 0x24(r3) /* 801C4208 001C1168 D0 1E 07 B0 */ stfs f0, 0x7b0(r30) /* 801C420C 001C116C 48 00 00 AC */ b lbl_801C42B8 lbl_801C4210: /* 801C4210 001C1170 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801C4214 001C1174 3C 60 80 5A */ lis r3, skZero3f@ha /* 801C4218 001C1178 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801C421C 001C117C 39 20 FF FF */ li r9, -1 /* 801C4220 001C1180 C0 85 00 60 */ lfs f4, 0x60(r5) /* 801C4224 001C1184 38 00 00 00 */ li r0, 0 /* 801C4228 001C1188 C0 65 00 50 */ lfs f3, 0x50(r5) /* 801C422C 001C118C 7F C4 F3 78 */ mr r4, r30 /* 801C4230 001C1190 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801C4234 001C1194 7F E5 FB 78 */ mr r5, r31 /* 801C4238 001C1198 C0 48 00 00 */ lfs f2, 0(r8) /* 801C423C 001C119C 38 61 00 3C */ addi r3, r1, 0x3c /* 801C4240 001C11A0 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801C4244 001C11A4 38 C1 00 60 */ addi r6, r1, 0x60 /* 801C4248 001C11A8 C0 28 00 04 */ lfs f1, 4(r8) /* 801C424C 001C11AC 38 E1 00 30 */ addi r7, r1, 0x30 /* 801C4250 001C11B0 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801C4254 001C11B4 C0 08 00 08 */ lfs f0, 8(r8) /* 801C4258 001C11B8 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801C425C 001C11BC A1 1E 00 08 */ lhz r8, 8(r30) /* 801C4260 001C11C0 B1 01 00 60 */ sth r8, 0x60(r1) /* 801C4264 001C11C4 91 21 00 64 */ stw r9, 0x64(r1) /* 801C4268 001C11C8 91 21 00 68 */ stw r9, 0x68(r1) /* 801C426C 001C11CC 91 21 00 6C */ stw r9, 0x6c(r1) /* 801C4270 001C11D0 91 21 00 70 */ stw r9, 0x70(r1) /* 801C4274 001C11D4 91 21 00 74 */ stw r9, 0x74(r1) /* 801C4278 001C11D8 90 01 00 78 */ stw r0, 0x78(r1) /* 801C427C 001C11DC D0 41 00 7C */ stfs f2, 0x7c(r1) /* 801C4280 001C11E0 D0 21 00 80 */ stfs f1, 0x80(r1) /* 801C4284 001C11E4 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801C4288 001C11E8 81 9E 00 00 */ lwz r12, 0(r30) /* 801C428C 001C11EC B1 01 00 08 */ sth r8, 8(r1) /* 801C4290 001C11F0 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 801C4294 001C11F4 B1 01 00 0C */ sth r8, 0xc(r1) /* 801C4298 001C11F8 7D 89 03 A6 */ mtctr r12 /* 801C429C 001C11FC 4E 80 04 21 */ bctrl /* 801C42A0 001C1200 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801C42A4 001C1204 D0 1E 07 A8 */ stfs f0, 0x7a8(r30) /* 801C42A8 001C1208 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801C42AC 001C120C D0 1E 07 AC */ stfs f0, 0x7ac(r30) /* 801C42B0 001C1210 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801C42B4 001C1214 D0 1E 07 B0 */ stfs f0, 0x7b0(r30) lbl_801C42B8: /* 801C42B8 001C1218 7F C3 F3 78 */ mr r3, r30 /* 801C42BC 001C121C 7F E4 FB 78 */ mr r4, r31 /* 801C42C0 001C1220 38 BE 07 A8 */ addi r5, r30, 0x7a8 /* 801C42C4 001C1224 4B FF CC 21 */ bl sub_801c0ee4 lbl_801C42C8: /* 801C42C8 001C1228 7F C3 F3 78 */ mr r3, r30 /* 801C42CC 001C122C 7F E4 FB 78 */ mr r4, r31 /* 801C42D0 001C1230 4B FF CE 41 */ bl sub_801c1110 lbl_801C42D4: /* 801C42D4 001C1234 7F C3 F3 78 */ mr r3, r30 /* 801C42D8 001C1238 7F E4 FB 78 */ mr r4, r31 /* 801C42DC 001C123C 4B FF CB 2D */ bl sub_801c0e08 /* 801C42E0 001C1240 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 801C42E4 001C1244 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801C42E8 001C1248 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 801C42EC 001C124C 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 801C42F0 001C1250 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 801C42F4 001C1254 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 801C42F8 001C1258 7C 08 03 A6 */ mtlr r0 /* 801C42FC 001C125C 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801C4300 001C1260 4E 80 00 20 */ blr .global sub_801c4304 sub_801c4304: /* 801C4304 001C1264 80 03 05 68 */ lwz r0, 0x568(r3) /* 801C4308 001C1268 20 00 00 03 */ subfic r0, r0, 3 /* 801C430C 001C126C 7C 00 00 34 */ cntlzw r0, r0 /* 801C4310 001C1270 54 03 D9 7E */ srwi r3, r0, 5 /* 801C4314 001C1274 4E 80 00 20 */ blr .global ShouldWallHang__12CMetroidBetaFR13CStateManagerf ShouldWallHang__12CMetroidBetaFR13CStateManagerf: /* 801C4318 001C1278 88 03 06 74 */ lbz r0, 0x674(r3) /* 801C431C 001C127C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801C4320 001C1280 4E 80 00 20 */ blr .global ShouldTurn__12CMetroidBetaFR13CStateManagerf ShouldTurn__12CMetroidBetaFR13CStateManagerf: /* 801C4324 001C1284 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801C4328 001C1288 7C 08 02 A6 */ mflr r0 /* 801C432C 001C128C 90 01 00 64 */ stw r0, 0x64(r1) /* 801C4330 001C1290 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801C4334 001C1294 7C 7F 1B 78 */ mr r31, r3 /* 801C4338 001C1298 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C433C 001C129C C0 23 00 50 */ lfs f1, 0x50(r3) /* 801C4340 001C12A0 38 61 00 10 */ addi r3, r1, 0x10 /* 801C4344 001C12A4 C0 84 00 50 */ lfs f4, 0x50(r4) /* 801C4348 001C12A8 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801C434C 001C12AC EC 44 08 28 */ fsubs f2, f4, f1 /* 801C4350 001C12B0 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801C4354 001C12B4 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 801C4358 001C12B8 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801C435C 001C12BC EC 20 08 28 */ fsubs f1, f0, f1 /* 801C4360 001C12C0 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801C4364 001C12C4 EC 65 18 28 */ fsubs f3, f5, f3 /* 801C4368 001C12C8 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801C436C 001C12CC D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801C4370 001C12D0 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801C4374 001C12D4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801C4378 001C12D8 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801C437C 001C12DC 48 14 FE 85 */ bl __ct__9CVector2fFff /* 801C4380 001C12E0 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801C4384 001C12E4 38 61 00 08 */ addi r3, r1, 8 /* 801C4388 001C12E8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801C438C 001C12EC D0 21 00 20 */ stfs f1, 0x20(r1) /* 801C4390 001C12F0 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801C4394 001C12F4 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801C4398 001C12F8 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801C439C 001C12FC C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801C43A0 001C1300 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801C43A4 001C1304 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801C43A8 001C1308 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801C43AC 001C130C 48 14 FE 55 */ bl __ct__9CVector2fFff /* 801C43B0 001C1310 C0 21 00 08 */ lfs f1, 8(r1) /* 801C43B4 001C1314 38 61 00 18 */ addi r3, r1, 0x18 /* 801C43B8 001C1318 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801C43BC 001C131C 38 81 00 20 */ addi r4, r1, 0x20 /* 801C43C0 001C1320 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C43C4 001C1324 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801C43C8 001C1328 48 14 FB FD */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801C43CC 001C132C C0 02 AA FC */ lfs f0, lbl_805AC81C@sda21(r2) /* 801C43D0 001C1330 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C43D4 001C1334 7C 00 00 26 */ mfcr r0 /* 801C43D8 001C1338 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801C43DC 001C133C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801C43E0 001C1340 80 01 00 64 */ lwz r0, 0x64(r1) /* 801C43E4 001C1344 7C 08 03 A6 */ mtlr r0 /* 801C43E8 001C1348 38 21 00 60 */ addi r1, r1, 0x60 /* 801C43EC 001C134C 4E 80 00 20 */ blr .global InPosition__12CMetroidBetaFR13CStateManagerf InPosition__12CMetroidBetaFR13CStateManagerf: /* 801C43F0 001C1350 C0 23 07 AC */ lfs f1, 0x7ac(r3) /* 801C43F4 001C1354 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801C43F8 001C1358 C0 63 07 A8 */ lfs f3, 0x7a8(r3) /* 801C43FC 001C135C EC 21 00 28 */ fsubs f1, f1, f0 /* 801C4400 001C1360 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801C4404 001C1364 C0 43 07 B0 */ lfs f2, 0x7b0(r3) /* 801C4408 001C1368 EC 63 00 28 */ fsubs f3, f3, f0 /* 801C440C 001C136C C0 03 00 60 */ lfs f0, 0x60(r3) /* 801C4410 001C1370 EC 21 00 72 */ fmuls f1, f1, f1 /* 801C4414 001C1374 EC 42 00 28 */ fsubs f2, f2, f0 /* 801C4418 001C1378 C0 02 AA A8 */ lfs f0, lbl_805AC7C8@sda21(r2) /* 801C441C 001C137C EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801C4420 001C1380 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801C4424 001C1384 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C4428 001C1388 7C 00 00 26 */ mfcr r0 /* 801C442C 001C138C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801C4430 001C1390 4E 80 00 20 */ blr .global InDetectionRange__12CMetroidBetaFR13CStateManagerf InDetectionRange__12CMetroidBetaFR13CStateManagerf: /* 801C4434 001C1394 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C4438 001C1398 7C 08 02 A6 */ mflr r0 /* 801C443C 001C139C 90 01 00 14 */ stw r0, 0x14(r1) /* 801C4440 001C13A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C4444 001C13A4 93 C1 00 08 */ stw r30, 8(r1) /* 801C4448 001C13A8 7C 9E 23 78 */ mr r30, r4 /* 801C444C 001C13AC 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C4450 001C13B0 54 1F DF FF */ rlwinm. r31, r0, 0x1b, 0x1f, 0x1f /* 801C4454 001C13B4 41 82 00 08 */ beq lbl_801C445C /* 801C4458 001C13B8 48 00 00 28 */ b lbl_801C4480 lbl_801C445C: /* 801C445C 001C13BC 3B E0 00 00 */ li r31, 0 /* 801C4460 001C13C0 48 03 1F 0D */ bl InDetectionRange__10CPatternedFR13CStateManagerf /* 801C4464 001C13C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4468 001C13C8 41 82 00 18 */ beq lbl_801C4480 /* 801C446C 001C13CC 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801C4470 001C13D0 88 03 09 C4 */ lbz r0, 0x9c4(r3) /* 801C4474 001C13D4 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801C4478 001C13D8 40 82 00 08 */ bne lbl_801C4480 /* 801C447C 001C13DC 3B E0 00 01 */ li r31, 1 lbl_801C4480: /* 801C4480 001C13E0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C4484 001C13E4 7F E3 FB 78 */ mr r3, r31 /* 801C4488 001C13E8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C448C 001C13EC 83 C1 00 08 */ lwz r30, 8(r1) /* 801C4490 001C13F0 7C 08 03 A6 */ mtlr r0 /* 801C4494 001C13F4 38 21 00 10 */ addi r1, r1, 0x10 /* 801C4498 001C13F8 4E 80 00 20 */ blr .global BreakAttack__12CMetroidBetaFR13CStateManagerf BreakAttack__12CMetroidBetaFR13CStateManagerf: /* 801C449C 001C13FC 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C44A0 001C1400 54 03 07 FE */ clrlwi r3, r0, 0x1f /* 801C44A4 001C1404 4E 80 00 20 */ blr .global StartAttack__12CMetroidBetaFR13CStateManagerf StartAttack__12CMetroidBetaFR13CStateManagerf: /* 801C44A8 001C1408 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801C44AC 001C140C 7C 08 02 A6 */ mflr r0 /* 801C44B0 001C1410 90 01 00 64 */ stw r0, 0x64(r1) /* 801C44B4 001C1414 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801C44B8 001C1418 7C 9F 23 78 */ mr r31, r4 /* 801C44BC 001C141C 93 C1 00 58 */ stw r30, 0x58(r1) /* 801C44C0 001C1420 7C 7E 1B 78 */ mr r30, r3 /* 801C44C4 001C1424 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C44C8 001C1428 88 04 09 C4 */ lbz r0, 0x9c4(r4) /* 801C44CC 001C142C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801C44D0 001C1430 40 82 00 24 */ bne lbl_801C44F4 /* 801C44D4 001C1434 80 7E 00 04 */ lwz r3, 4(r30) /* 801C44D8 001C1438 80 04 00 04 */ lwz r0, 4(r4) /* 801C44DC 001C143C 7C 03 00 00 */ cmpw r3, r0 /* 801C44E0 001C1440 40 82 00 14 */ bne lbl_801C44F4 /* 801C44E4 001C1444 C0 3E 07 94 */ lfs f1, 0x794(r30) /* 801C44E8 001C1448 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C44EC 001C144C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C44F0 001C1450 40 81 00 0C */ ble lbl_801C44FC lbl_801C44F4: /* 801C44F4 001C1454 38 60 00 00 */ li r3, 0 /* 801C44F8 001C1458 48 00 01 60 */ b lbl_801C4658 lbl_801C44FC: /* 801C44FC 001C145C 80 04 03 04 */ lwz r0, 0x304(r4) /* 801C4500 001C1460 2C 00 00 04 */ cmpwi r0, 4 /* 801C4504 001C1464 41 82 00 24 */ beq lbl_801C4528 /* 801C4508 001C1468 2C 00 00 05 */ cmpwi r0, 5 /* 801C450C 001C146C 41 82 00 1C */ beq lbl_801C4528 /* 801C4510 001C1470 80 04 03 B8 */ lwz r0, 0x3b8(r4) /* 801C4514 001C1474 2C 00 00 00 */ cmpwi r0, 0 /* 801C4518 001C1478 40 82 00 10 */ bne lbl_801C4528 /* 801C451C 001C147C 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801C4520 001C1480 2C 00 00 03 */ cmpwi r0, 3 /* 801C4524 001C1484 40 82 00 0C */ bne lbl_801C4530 lbl_801C4528: /* 801C4528 001C1488 38 60 00 00 */ li r3, 0 /* 801C452C 001C148C 48 00 01 2C */ b lbl_801C4658 lbl_801C4530: /* 801C4530 001C1490 7F C4 F3 78 */ mr r4, r30 /* 801C4534 001C1494 38 61 00 30 */ addi r3, r1, 0x30 /* 801C4538 001C1498 4B FF D1 39 */ bl sub_801c1670 /* 801C453C 001C149C C0 41 00 30 */ lfs f2, 0x30(r1) /* 801C4540 001C14A0 7F C4 F3 78 */ mr r4, r30 /* 801C4544 001C14A4 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801C4548 001C14A8 7F E5 FB 78 */ mr r5, r31 /* 801C454C 001C14AC C0 01 00 38 */ lfs f0, 0x38(r1) /* 801C4550 001C14B0 38 61 00 24 */ addi r3, r1, 0x24 /* 801C4554 001C14B4 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801C4558 001C14B8 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801C455C 001C14BC D0 01 00 50 */ stfs f0, 0x50(r1) /* 801C4560 001C14C0 4B FF D0 79 */ bl sub_801c15d8 /* 801C4564 001C14C4 C0 61 00 28 */ lfs f3, 0x28(r1) /* 801C4568 001C14C8 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801C456C 001C14CC C0 81 00 24 */ lfs f4, 0x24(r1) /* 801C4570 001C14D0 EC A3 00 28 */ fsubs f5, f3, f0 /* 801C4574 001C14D4 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801C4578 001C14D8 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801C457C 001C14DC EC C4 00 28 */ fsubs f6, f4, f0 /* 801C4580 001C14E0 C0 21 00 50 */ lfs f1, 0x50(r1) /* 801C4584 001C14E4 EC 05 01 72 */ fmuls f0, f5, f5 /* 801C4588 001C14E8 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801C458C 001C14EC EC 22 08 28 */ fsubs f1, f2, f1 /* 801C4590 001C14F0 EC 06 01 BA */ fmadds f0, f6, f6, f0 /* 801C4594 001C14F4 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801C4598 001C14F8 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801C459C 001C14FC EC 21 00 7A */ fmadds f1, f1, f1, f0 /* 801C45A0 001C1500 C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 801C45A4 001C1504 C0 5E 03 00 */ lfs f2, 0x300(r30) /* 801C45A8 001C1508 EC 00 00 32 */ fmuls f0, f0, f0 /* 801C45AC 001C150C EC 42 00 B2 */ fmuls f2, f2, f2 /* 801C45B0 001C1510 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C45B4 001C1514 41 80 00 0C */ blt lbl_801C45C0 /* 801C45B8 001C1518 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 801C45BC 001C151C 40 81 00 0C */ ble lbl_801C45C8 lbl_801C45C0: /* 801C45C0 001C1520 38 60 00 00 */ li r3, 0 /* 801C45C4 001C1524 48 00 00 94 */ b lbl_801C4658 lbl_801C45C8: /* 801C45C8 001C1528 7F C3 F3 78 */ mr r3, r30 /* 801C45CC 001C152C 7F E4 FB 78 */ mr r4, r31 /* 801C45D0 001C1530 38 A1 00 48 */ addi r5, r1, 0x48 /* 801C45D4 001C1534 38 C1 00 3C */ addi r6, r1, 0x3c /* 801C45D8 001C1538 48 03 07 F9 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801C45DC 001C153C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C45E0 001C1540 41 82 00 0C */ beq lbl_801C45EC /* 801C45E4 001C1544 38 60 00 00 */ li r3, 0 /* 801C45E8 001C1548 48 00 00 70 */ b lbl_801C4658 lbl_801C45EC: /* 801C45EC 001C154C A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C45F0 001C1550 7F E3 FB 78 */ mr r3, r31 /* 801C45F4 001C1554 38 81 00 18 */ addi r4, r1, 0x18 /* 801C45F8 001C1558 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C45FC 001C155C 4B E8 7F 79 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C4600 001C1560 7C 64 1B 78 */ mr r4, r3 /* 801C4604 001C1564 38 61 00 1C */ addi r3, r1, 0x1c /* 801C4608 001C1568 4B EE 2F 6D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801C460C 001C156C 83 E3 00 04 */ lwz r31, 4(r3) /* 801C4610 001C1570 28 1F 00 00 */ cmplwi r31, 0 /* 801C4614 001C1574 41 82 00 40 */ beq lbl_801C4654 /* 801C4618 001C1578 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C461C 001C157C 7F E3 FB 78 */ mr r3, r31 /* 801C4620 001C1580 38 81 00 14 */ addi r4, r1, 0x14 /* 801C4624 001C1584 B0 01 00 10 */ sth r0, 0x10(r1) /* 801C4628 001C1588 B0 01 00 14 */ sth r0, 0x14(r1) /* 801C462C 001C158C 48 07 49 C5 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 801C4630 001C1590 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4634 001C1594 41 82 00 20 */ beq lbl_801C4654 /* 801C4638 001C1598 A0 1E 00 08 */ lhz r0, 8(r30) /* 801C463C 001C159C 7F E3 FB 78 */ mr r3, r31 /* 801C4640 001C15A0 38 81 00 0C */ addi r4, r1, 0xc /* 801C4644 001C15A4 B0 01 00 08 */ sth r0, 8(r1) /* 801C4648 001C15A8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801C464C 001C15AC 48 07 3F 79 */ bl AddProjectileAttacker__10CTeamAiMgrF9TUniqueId /* 801C4650 001C15B0 48 00 00 08 */ b lbl_801C4658 lbl_801C4654: /* 801C4654 001C15B4 38 60 00 01 */ li r3, 1 lbl_801C4658: /* 801C4658 001C15B8 80 01 00 64 */ lwz r0, 0x64(r1) /* 801C465C 001C15BC 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801C4660 001C15C0 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801C4664 001C15C4 7C 08 03 A6 */ mtlr r0 /* 801C4668 001C15C8 38 21 00 60 */ addi r1, r1, 0x60 /* 801C466C 001C15CC 4E 80 00 20 */ blr .global InAttackPosition__12CMetroidBetaFR13CStateManager9EStateMsgf InAttackPosition__12CMetroidBetaFR13CStateManager9EStateMsgf: /* 801C4670 001C15D0 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801C4674 001C15D4 7C 08 02 A6 */ mflr r0 /* 801C4678 001C15D8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801C467C 001C15DC DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801C4680 001C15E0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801C4684 001C15E4 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801C4688 001C15E8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801C468C 001C15EC DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801C4690 001C15F0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801C4694 001C15F4 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 801C4698 001C15F8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 801C469C 001C15FC 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801C46A0 001C1600 93 C1 00 98 */ stw r30, 0x98(r1) /* 801C46A4 001C1604 93 A1 00 94 */ stw r29, 0x94(r1) /* 801C46A8 001C1608 7C 9E 23 78 */ mr r30, r4 /* 801C46AC 001C160C 7C 7D 1B 78 */ mr r29, r3 /* 801C46B0 001C1610 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 801C46B4 001C1614 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801C46B8 001C1618 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801C46BC 001C161C 80 1F 02 F8 */ lwz r0, 0x2f8(r31) /* 801C46C0 001C1620 C0 63 00 50 */ lfs f3, 0x50(r3) /* 801C46C4 001C1624 EF A1 00 28 */ fsubs f29, f1, f0 /* 801C46C8 001C1628 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801C46CC 001C162C 2C 00 00 01 */ cmpwi r0, 1 /* 801C46D0 001C1630 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801C46D4 001C1634 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801C46D8 001C1638 EF C3 10 28 */ fsubs f30, f3, f2 /* 801C46DC 001C163C C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801C46E0 001C1640 EF E1 00 28 */ fsubs f31, f1, f0 /* 801C46E4 001C1644 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801C46E8 001C1648 C3 82 AB 00 */ lfs f28, lbl_805AC820@sda21(r2) /* 801C46EC 001C164C 41 82 00 08 */ beq lbl_801C46F4 /* 801C46F0 001C1650 C3 82 AB 04 */ lfs f28, lbl_805AC824@sda21(r2) lbl_801C46F4: /* 801C46F4 001C1654 38 61 00 08 */ addi r3, r1, 8 /* 801C46F8 001C1658 48 14 FB 09 */ bl __ct__9CVector2fFff /* 801C46FC 001C165C FC 20 E8 90 */ fmr f1, f29 /* 801C4700 001C1660 38 61 00 10 */ addi r3, r1, 0x10 /* 801C4704 001C1664 FC 40 F0 90 */ fmr f2, f30 /* 801C4708 001C1668 48 14 FA F9 */ bl __ct__9CVector2fFff /* 801C470C 001C166C 38 61 00 10 */ addi r3, r1, 0x10 /* 801C4710 001C1670 38 81 00 08 */ addi r4, r1, 8 /* 801C4714 001C1674 48 14 F8 B1 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801C4718 001C1678 FC 01 E0 40 */ fcmpo cr0, f1, f28 /* 801C471C 001C167C 40 80 01 34 */ bge lbl_801C4850 /* 801C4720 001C1680 C0 7D 00 48 */ lfs f3, 0x48(r29) /* 801C4724 001C1684 C0 5D 00 38 */ lfs f2, 0x38(r29) /* 801C4728 001C1688 EC 3E 00 F2 */ fmuls f1, f30, f3 /* 801C472C 001C168C C0 9D 00 58 */ lfs f4, 0x58(r29) /* 801C4730 001C1690 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C4734 001C1694 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801C4738 001C1698 EC 3D 08 BA */ fmadds f1, f29, f2, f1 /* 801C473C 001C169C D0 61 00 64 */ stfs f3, 0x64(r1) /* 801C4740 001C16A0 EC 3F 09 3A */ fmadds f1, f31, f4, f1 /* 801C4744 001C16A4 D0 81 00 68 */ stfs f4, 0x68(r1) /* 801C4748 001C16A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C474C 001C16AC 40 80 01 04 */ bge lbl_801C4850 /* 801C4750 001C16B0 C1 1F 00 50 */ lfs f8, 0x50(r31) /* 801C4754 001C16B4 C1 7D 00 50 */ lfs f11, 0x50(r29) /* 801C4758 001C16B8 C0 BF 00 40 */ lfs f5, 0x40(r31) /* 801C475C 001C16BC EC E8 58 28 */ fsubs f7, f8, f11 /* 801C4760 001C16C0 C1 9D 00 40 */ lfs f12, 0x40(r29) /* 801C4764 001C16C4 C1 3F 00 60 */ lfs f9, 0x60(r31) /* 801C4768 001C16C8 EC 85 60 28 */ fsubs f4, f5, f12 /* 801C476C 001C16CC C1 5D 00 60 */ lfs f10, 0x60(r29) /* 801C4770 001C16D0 EC 27 01 F2 */ fmuls f1, f7, f7 /* 801C4774 001C16D4 EC C9 50 28 */ fsubs f6, f9, f10 /* 801C4778 001C16D8 C0 1D 03 00 */ lfs f0, 0x300(r29) /* 801C477C 001C16DC EC 44 01 32 */ fmuls f2, f4, f4 /* 801C4780 001C16E0 EC 00 00 32 */ fmuls f0, f0, f0 /* 801C4784 001C16E4 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 801C4788 001C16E8 EC 66 01 B2 */ fmuls f3, f6, f6 /* 801C478C 001C16EC EC 22 08 2A */ fadds f1, f2, f1 /* 801C4790 001C16F0 D1 01 00 4C */ stfs f8, 0x4c(r1) /* 801C4794 001C16F4 D1 21 00 50 */ stfs f9, 0x50(r1) /* 801C4798 001C16F8 EC 23 08 2A */ fadds f1, f3, f1 /* 801C479C 001C16FC D0 81 00 54 */ stfs f4, 0x54(r1) /* 801C47A0 001C1700 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C47A4 001C1704 D0 E1 00 58 */ stfs f7, 0x58(r1) /* 801C47A8 001C1708 D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 801C47AC 001C170C 40 80 00 A4 */ bge lbl_801C4850 /* 801C47B0 001C1710 FC 0A 48 40 */ fcmpo cr0, f10, f9 /* 801C47B4 001C1714 D1 81 00 3C */ stfs f12, 0x3c(r1) /* 801C47B8 001C1718 D1 61 00 40 */ stfs f11, 0x40(r1) /* 801C47BC 001C171C D1 41 00 44 */ stfs f10, 0x44(r1) /* 801C47C0 001C1720 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801C47C4 001C1724 D1 01 00 34 */ stfs f8, 0x34(r1) /* 801C47C8 001C1728 D1 21 00 38 */ stfs f9, 0x38(r1) /* 801C47CC 001C172C 40 81 00 84 */ ble lbl_801C4850 /* 801C47D0 001C1730 C0 02 AA AC */ lfs f0, lbl_805AC7CC@sda21(r2) /* 801C47D4 001C1734 EC 00 48 2A */ fadds f0, f0, f9 /* 801C47D8 001C1738 FC 0A 00 40 */ fcmpo cr0, f10, f0 /* 801C47DC 001C173C 40 80 00 74 */ bge lbl_801C4850 /* 801C47E0 001C1740 7F A4 EB 78 */ mr r4, r29 /* 801C47E4 001C1744 38 61 00 24 */ addi r3, r1, 0x24 /* 801C47E8 001C1748 4B FF CE 89 */ bl sub_801c1670 /* 801C47EC 001C174C C0 41 00 24 */ lfs f2, 0x24(r1) /* 801C47F0 001C1750 7F A4 EB 78 */ mr r4, r29 /* 801C47F4 001C1754 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801C47F8 001C1758 7F C5 F3 78 */ mr r5, r30 /* 801C47FC 001C175C C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801C4800 001C1760 38 61 00 18 */ addi r3, r1, 0x18 /* 801C4804 001C1764 D0 41 00 78 */ stfs f2, 0x78(r1) /* 801C4808 001C1768 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801C480C 001C176C D0 01 00 80 */ stfs f0, 0x80(r1) /* 801C4810 001C1770 4B FF CD C9 */ bl sub_801c15d8 /* 801C4814 001C1774 C0 41 00 18 */ lfs f2, 0x18(r1) /* 801C4818 001C1778 7F A3 EB 78 */ mr r3, r29 /* 801C481C 001C177C C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801C4820 001C1780 7F C4 F3 78 */ mr r4, r30 /* 801C4824 001C1784 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801C4828 001C1788 38 A1 00 78 */ addi r5, r1, 0x78 /* 801C482C 001C178C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801C4830 001C1790 38 C1 00 6C */ addi r6, r1, 0x6c /* 801C4834 001C1794 D0 21 00 70 */ stfs f1, 0x70(r1) /* 801C4838 001C1798 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801C483C 001C179C 48 03 05 95 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801C4840 001C17A0 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801C4844 001C17A4 7C 00 00 34 */ cntlzw r0, r0 /* 801C4848 001C17A8 54 03 D9 7E */ srwi r3, r0, 5 /* 801C484C 001C17AC 48 00 00 08 */ b lbl_801C4854 lbl_801C4850: /* 801C4850 001C17B0 38 60 00 00 */ li r3, 0 lbl_801C4854: /* 801C4854 001C17B4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801C4858 001C17B8 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801C485C 001C17BC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801C4860 001C17C0 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801C4864 001C17C4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801C4868 001C17C8 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801C486C 001C17CC E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 801C4870 001C17D0 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 801C4874 001C17D4 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801C4878 001C17D8 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801C487C 001C17DC 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801C4880 001C17E0 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801C4884 001C17E4 7C 08 03 A6 */ mtlr r0 /* 801C4888 001C17E8 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801C488C 001C17EC 4E 80 00 20 */ blr .global ShouldSpecialAttack__12CMetroidBetaFR13CStateManagerf ShouldSpecialAttack__12CMetroidBetaFR13CStateManagerf: /* 801C4890 001C17F0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C4894 001C17F4 7C 08 02 A6 */ mflr r0 /* 801C4898 001C17F8 90 01 00 54 */ stw r0, 0x54(r1) /* 801C489C 001C17FC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801C48A0 001C1800 7C 9F 23 78 */ mr r31, r4 /* 801C48A4 001C1804 93 C1 00 48 */ stw r30, 0x48(r1) /* 801C48A8 001C1808 7C 7E 1B 78 */ mr r30, r3 /* 801C48AC 001C180C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C48B0 001C1810 80 63 00 04 */ lwz r3, 4(r3) /* 801C48B4 001C1814 80 04 00 04 */ lwz r0, 4(r4) /* 801C48B8 001C1818 7C 03 00 00 */ cmpw r3, r0 /* 801C48BC 001C181C 40 82 01 44 */ bne lbl_801C4A00 /* 801C48C0 001C1820 C0 1E 07 94 */ lfs f0, 0x794(r30) /* 801C48C4 001C1824 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C48C8 001C1828 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C48CC 001C182C 4C 40 13 82 */ cror 2, 0, 2 /* 801C48D0 001C1830 40 82 01 30 */ bne lbl_801C4A00 /* 801C48D4 001C1834 81 84 00 00 */ lwz r12, 0(r4) /* 801C48D8 001C1838 7F E5 FB 78 */ mr r5, r31 /* 801C48DC 001C183C 38 61 00 30 */ addi r3, r1, 0x30 /* 801C48E0 001C1840 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801C48E4 001C1844 7D 89 03 A6 */ mtctr r12 /* 801C48E8 001C1848 4E 80 04 21 */ bctrl /* 801C48EC 001C184C C0 81 00 30 */ lfs f4, 0x30(r1) /* 801C48F0 001C1850 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801C48F4 001C1854 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801C48F8 001C1858 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801C48FC 001C185C D0 61 00 40 */ stfs f3, 0x40(r1) /* 801C4900 001C1860 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801C4904 001C1864 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801C4908 001C1868 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801C490C 001C186C EC 63 00 28 */ fsubs f3, f3, f0 /* 801C4910 001C1870 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801C4914 001C1874 EC 84 08 28 */ fsubs f4, f4, f1 /* 801C4918 001C1878 C0 BE 02 FC */ lfs f5, 0x2fc(r30) /* 801C491C 001C187C EC 42 00 28 */ fsubs f2, f2, f0 /* 801C4920 001C1880 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801C4924 001C1884 EC 05 01 72 */ fmuls f0, f5, f5 /* 801C4928 001C1888 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801C492C 001C188C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801C4930 001C1890 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C4934 001C1894 40 80 00 CC */ bge lbl_801C4A00 /* 801C4938 001C1898 7F C3 F3 78 */ mr r3, r30 /* 801C493C 001C189C 7F E4 FB 78 */ mr r4, r31 /* 801C4940 001C18A0 81 9E 00 00 */ lwz r12, 0(r30) /* 801C4944 001C18A4 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C4948 001C18A8 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801C494C 001C18AC 7D 89 03 A6 */ mtctr r12 /* 801C4950 001C18B0 4E 80 04 21 */ bctrl /* 801C4954 001C18B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4958 001C18B8 40 82 00 A8 */ bne lbl_801C4A00 /* 801C495C 001C18BC C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801C4960 001C18C0 7F C3 F3 78 */ mr r3, r30 /* 801C4964 001C18C4 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801C4968 001C18C8 7F E4 FB 78 */ mr r4, r31 /* 801C496C 001C18CC C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801C4970 001C18D0 38 A1 00 24 */ addi r5, r1, 0x24 /* 801C4974 001C18D4 38 C1 00 3C */ addi r6, r1, 0x3c /* 801C4978 001C18D8 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801C497C 001C18DC D0 21 00 28 */ stfs f1, 0x28(r1) /* 801C4980 001C18E0 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801C4984 001C18E4 48 03 04 4D */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801C4988 001C18E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C498C 001C18EC 40 82 00 74 */ bne lbl_801C4A00 /* 801C4990 001C18F0 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C4994 001C18F4 7F E3 FB 78 */ mr r3, r31 /* 801C4998 001C18F8 38 81 00 18 */ addi r4, r1, 0x18 /* 801C499C 001C18FC B0 01 00 18 */ sth r0, 0x18(r1) /* 801C49A0 001C1900 4B E8 7B D5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C49A4 001C1904 7C 64 1B 78 */ mr r4, r3 /* 801C49A8 001C1908 38 61 00 1C */ addi r3, r1, 0x1c /* 801C49AC 001C190C 4B EE 2B C9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801C49B0 001C1910 83 E3 00 04 */ lwz r31, 4(r3) /* 801C49B4 001C1914 28 1F 00 00 */ cmplwi r31, 0 /* 801C49B8 001C1918 41 82 00 40 */ beq lbl_801C49F8 /* 801C49BC 001C191C A0 1E 00 08 */ lhz r0, 8(r30) /* 801C49C0 001C1920 7F E3 FB 78 */ mr r3, r31 /* 801C49C4 001C1924 38 81 00 14 */ addi r4, r1, 0x14 /* 801C49C8 001C1928 B0 01 00 10 */ sth r0, 0x10(r1) /* 801C49CC 001C192C B0 01 00 14 */ sth r0, 0x14(r1) /* 801C49D0 001C1930 48 07 46 21 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 801C49D4 001C1934 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C49D8 001C1938 41 82 00 20 */ beq lbl_801C49F8 /* 801C49DC 001C193C A0 1E 00 08 */ lhz r0, 8(r30) /* 801C49E0 001C1940 7F E3 FB 78 */ mr r3, r31 /* 801C49E4 001C1944 38 81 00 0C */ addi r4, r1, 0xc /* 801C49E8 001C1948 B0 01 00 08 */ sth r0, 8(r1) /* 801C49EC 001C194C B0 01 00 0C */ sth r0, 0xc(r1) /* 801C49F0 001C1950 48 07 42 BD */ bl AddMeleeAttacker__10CTeamAiMgrF9TUniqueId /* 801C49F4 001C1954 48 00 00 10 */ b lbl_801C4A04 lbl_801C49F8: /* 801C49F8 001C1958 38 60 00 01 */ li r3, 1 /* 801C49FC 001C195C 48 00 00 08 */ b lbl_801C4A04 lbl_801C4A00: /* 801C4A00 001C1960 38 60 00 00 */ li r3, 0 lbl_801C4A04: /* 801C4A04 001C1964 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C4A08 001C1968 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801C4A0C 001C196C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801C4A10 001C1970 7C 08 03 A6 */ mtlr r0 /* 801C4A14 001C1974 38 21 00 50 */ addi r1, r1, 0x50 /* 801C4A18 001C1978 4E 80 00 20 */ blr .global ShouldAttack__12CMetroidBetaFR13CStateManagerf ShouldAttack__12CMetroidBetaFR13CStateManagerf: /* 801C4A1C 001C197C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C4A20 001C1980 7C 08 02 A6 */ mflr r0 /* 801C4A24 001C1984 90 01 00 54 */ stw r0, 0x54(r1) /* 801C4A28 001C1988 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801C4A2C 001C198C 7C 9F 23 78 */ mr r31, r4 /* 801C4A30 001C1990 93 C1 00 48 */ stw r30, 0x48(r1) /* 801C4A34 001C1994 7C 7E 1B 78 */ mr r30, r3 /* 801C4A38 001C1998 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801C4A3C 001C199C 88 04 09 C4 */ lbz r0, 0x9c4(r4) /* 801C4A40 001C19A0 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801C4A44 001C19A4 40 82 00 24 */ bne lbl_801C4A68 /* 801C4A48 001C19A8 80 7E 00 04 */ lwz r3, 4(r30) /* 801C4A4C 001C19AC 80 04 00 04 */ lwz r0, 4(r4) /* 801C4A50 001C19B0 7C 03 00 00 */ cmpw r3, r0 /* 801C4A54 001C19B4 40 82 00 14 */ bne lbl_801C4A68 /* 801C4A58 001C19B8 C0 3E 07 94 */ lfs f1, 0x794(r30) /* 801C4A5C 001C19BC C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C4A60 001C19C0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C4A64 001C19C4 40 81 00 0C */ ble lbl_801C4A70 lbl_801C4A68: /* 801C4A68 001C19C8 38 60 00 00 */ li r3, 0 /* 801C4A6C 001C19CC 48 00 01 54 */ b lbl_801C4BC0 lbl_801C4A70: /* 801C4A70 001C19D0 80 04 03 04 */ lwz r0, 0x304(r4) /* 801C4A74 001C19D4 2C 00 00 04 */ cmpwi r0, 4 /* 801C4A78 001C19D8 41 82 00 24 */ beq lbl_801C4A9C /* 801C4A7C 001C19DC 2C 00 00 05 */ cmpwi r0, 5 /* 801C4A80 001C19E0 41 82 00 1C */ beq lbl_801C4A9C /* 801C4A84 001C19E4 80 04 03 B8 */ lwz r0, 0x3b8(r4) /* 801C4A88 001C19E8 2C 00 00 00 */ cmpwi r0, 0 /* 801C4A8C 001C19EC 40 82 00 10 */ bne lbl_801C4A9C /* 801C4A90 001C19F0 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801C4A94 001C19F4 2C 00 00 03 */ cmpwi r0, 3 /* 801C4A98 001C19F8 40 82 00 0C */ bne lbl_801C4AA4 lbl_801C4A9C: /* 801C4A9C 001C19FC 38 60 00 00 */ li r3, 0 /* 801C4AA0 001C1A00 48 00 01 20 */ b lbl_801C4BC0 lbl_801C4AA4: /* 801C4AA4 001C1A04 7F C4 F3 78 */ mr r4, r30 /* 801C4AA8 001C1A08 38 61 00 20 */ addi r3, r1, 0x20 /* 801C4AAC 001C1A0C 4B FF CB C5 */ bl sub_801c1670 /* 801C4AB0 001C1A10 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801C4AB4 001C1A14 7F C4 F3 78 */ mr r4, r30 /* 801C4AB8 001C1A18 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801C4ABC 001C1A1C 7F E5 FB 78 */ mr r5, r31 /* 801C4AC0 001C1A20 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801C4AC4 001C1A24 38 61 00 14 */ addi r3, r1, 0x14 /* 801C4AC8 001C1A28 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801C4ACC 001C1A2C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801C4AD0 001C1A30 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801C4AD4 001C1A34 4B FF CB 05 */ bl sub_801c15d8 /* 801C4AD8 001C1A38 C0 81 00 14 */ lfs f4, 0x14(r1) /* 801C4ADC 001C1A3C C0 21 00 18 */ lfs f1, 0x18(r1) /* 801C4AE0 001C1A40 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 801C4AE4 001C1A44 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801C4AE8 001C1A48 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801C4AEC 001C1A4C D0 21 00 30 */ stfs f1, 0x30(r1) /* 801C4AF0 001C1A50 EC 21 00 28 */ fsubs f1, f1, f0 /* 801C4AF4 001C1A54 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801C4AF8 001C1A58 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801C4AFC 001C1A5C C0 42 AA D0 */ lfs f2, lbl_805AC7F0@sda21(r2) /* 801C4B00 001C1A60 EC 84 00 28 */ fsubs f4, f4, f0 /* 801C4B04 001C1A64 EC 01 00 72 */ fmuls f0, f1, f1 /* 801C4B08 001C1A68 C0 21 00 40 */ lfs f1, 0x40(r1) /* 801C4B0C 001C1A6C C0 BE 03 00 */ lfs f5, 0x300(r30) /* 801C4B10 001C1A70 C0 DE 02 FC */ lfs f6, 0x2fc(r30) /* 801C4B14 001C1A74 EC 63 08 28 */ fsubs f3, f3, f1 /* 801C4B18 001C1A78 EC 04 01 3A */ fmadds f0, f4, f4, f0 /* 801C4B1C 001C1A7C EC 25 30 28 */ fsubs f1, f5, f6 /* 801C4B20 001C1A80 EC 63 00 FA */ fmadds f3, f3, f3, f0 /* 801C4B24 001C1A84 EC 22 00 72 */ fmuls f1, f2, f1 /* 801C4B28 001C1A88 EC 01 30 2A */ fadds f0, f1, f6 /* 801C4B2C 001C1A8C EC 25 08 28 */ fsubs f1, f5, f1 /* 801C4B30 001C1A90 EC 00 00 32 */ fmuls f0, f0, f0 /* 801C4B34 001C1A94 EC 21 00 72 */ fmuls f1, f1, f1 /* 801C4B38 001C1A98 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801C4B3C 001C1A9C 41 80 00 0C */ blt lbl_801C4B48 /* 801C4B40 001C1AA0 FC 03 08 40 */ fcmpo cr0, f3, f1 /* 801C4B44 001C1AA4 40 81 00 0C */ ble lbl_801C4B50 lbl_801C4B48: /* 801C4B48 001C1AA8 38 60 00 00 */ li r3, 0 /* 801C4B4C 001C1AAC 48 00 00 74 */ b lbl_801C4BC0 lbl_801C4B50: /* 801C4B50 001C1AB0 7F C3 F3 78 */ mr r3, r30 /* 801C4B54 001C1AB4 7F E4 FB 78 */ mr r4, r31 /* 801C4B58 001C1AB8 38 A1 00 38 */ addi r5, r1, 0x38 /* 801C4B5C 001C1ABC 38 C1 00 2C */ addi r6, r1, 0x2c /* 801C4B60 001C1AC0 48 03 02 71 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801C4B64 001C1AC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4B68 001C1AC8 41 82 00 0C */ beq lbl_801C4B74 /* 801C4B6C 001C1ACC 38 60 00 00 */ li r3, 0 /* 801C4B70 001C1AD0 48 00 00 50 */ b lbl_801C4BC0 lbl_801C4B74: /* 801C4B74 001C1AD4 A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C4B78 001C1AD8 7F E3 FB 78 */ mr r3, r31 /* 801C4B7C 001C1ADC 38 81 00 08 */ addi r4, r1, 8 /* 801C4B80 001C1AE0 B0 01 00 08 */ sth r0, 8(r1) /* 801C4B84 001C1AE4 4B E8 7A 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801C4B88 001C1AE8 7C 64 1B 78 */ mr r4, r3 /* 801C4B8C 001C1AEC 38 61 00 0C */ addi r3, r1, 0xc /* 801C4B90 001C1AF0 4B EE 29 E5 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801C4B94 001C1AF4 80 63 00 04 */ lwz r3, 4(r3) /* 801C4B98 001C1AF8 28 03 00 00 */ cmplwi r3, 0 /* 801C4B9C 001C1AFC 41 82 00 20 */ beq lbl_801C4BBC /* 801C4BA0 001C1B00 80 03 00 7C */ lwz r0, 0x7c(r3) /* 801C4BA4 001C1B04 80 63 00 3C */ lwz r3, 0x3c(r3) /* 801C4BA8 001C1B08 7C 60 02 78 */ xor r0, r3, r0 /* 801C4BAC 001C1B0C 7C 00 00 34 */ cntlzw r0, r0 /* 801C4BB0 001C1B10 7C 60 00 30 */ slw r0, r3, r0 /* 801C4BB4 001C1B14 54 03 0F FE */ srwi r3, r0, 0x1f /* 801C4BB8 001C1B18 48 00 00 08 */ b lbl_801C4BC0 lbl_801C4BBC: /* 801C4BBC 001C1B1C 38 60 00 01 */ li r3, 1 lbl_801C4BC0: /* 801C4BC0 001C1B20 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C4BC4 001C1B24 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801C4BC8 001C1B28 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801C4BCC 001C1B2C 7C 08 03 A6 */ mtlr r0 /* 801C4BD0 001C1B30 38 21 00 50 */ addi r1, r1, 0x50 /* 801C4BD4 001C1B34 4E 80 00 20 */ blr .global ShotAt__12CMetroidBetaFR13CStateManagerf ShotAt__12CMetroidBetaFR13CStateManagerf: /* 801C4BD8 001C1B38 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C4BDC 001C1B3C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f /* 801C4BE0 001C1B40 4E 80 00 20 */ blr .global Attacked__12CMetroidBetaFR13CStateManagerf Attacked__12CMetroidBetaFR13CStateManagerf: /* 801C4BE4 001C1B44 C0 63 07 DC */ lfs f3, 0x7dc(r3) /* 801C4BE8 001C1B48 C0 43 07 E0 */ lfs f2, 0x7e0(r3) /* 801C4BEC 001C1B4C C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C4BF0 001C1B50 EC 23 10 28 */ fsubs f1, f3, f2 /* 801C4BF4 001C1B54 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C4BF8 001C1B58 40 81 00 3C */ ble lbl_801C4C34 /* 801C4BFC 001C1B5C C0 03 06 58 */ lfs f0, 0x658(r3) /* 801C4C00 001C1B60 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801C4C04 001C1B64 40 80 00 18 */ bge lbl_801C4C1C /* 801C4C08 001C1B68 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801C4C0C 001C1B6C 4C 41 13 82 */ cror 2, 1, 2 /* 801C4C10 001C1B70 7C 00 00 26 */ mfcr r0 /* 801C4C14 001C1B74 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 801C4C18 001C1B78 4E 80 00 20 */ blr lbl_801C4C1C: /* 801C4C1C 001C1B7C C0 03 06 5C */ lfs f0, 0x65c(r3) /* 801C4C20 001C1B80 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801C4C24 001C1B84 4C 41 13 82 */ cror 2, 1, 2 /* 801C4C28 001C1B88 40 82 00 0C */ bne lbl_801C4C34 /* 801C4C2C 001C1B8C 38 60 00 01 */ li r3, 1 /* 801C4C30 001C1B90 4E 80 00 20 */ blr lbl_801C4C34: /* 801C4C34 001C1B94 38 60 00 00 */ li r3, 0 /* 801C4C38 001C1B98 4E 80 00 20 */ blr .global PathShagged__12CMetroidBetaFR13CStateManagerf PathShagged__12CMetroidBetaFR13CStateManagerf: /* 801C4C3C 001C1B9C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C4C40 001C1BA0 7C 08 02 A6 */ mflr r0 /* 801C4C44 001C1BA4 90 01 00 14 */ stw r0, 0x14(r1) /* 801C4C48 001C1BA8 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C4C4C 001C1BAC 7C 7F 1B 78 */ mr r31, r3 /* 801C4C50 001C1BB0 81 83 00 00 */ lwz r12, 0(r3) /* 801C4C54 001C1BB4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801C4C58 001C1BB8 7D 89 03 A6 */ mtctr r12 /* 801C4C5C 001C1BBC 4E 80 04 21 */ bctrl /* 801C4C60 001C1BC0 28 03 00 00 */ cmplwi r3, 0 /* 801C4C64 001C1BC4 41 82 00 2C */ beq lbl_801C4C90 /* 801C4C68 001C1BC8 7F E3 FB 78 */ mr r3, r31 /* 801C4C6C 001C1BCC 81 9F 00 00 */ lwz r12, 0(r31) /* 801C4C70 001C1BD0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801C4C74 001C1BD4 7D 89 03 A6 */ mtctr r12 /* 801C4C78 001C1BD8 4E 80 04 21 */ bctrl /* 801C4C7C 001C1BDC 80 63 00 CC */ lwz r3, 0xcc(r3) /* 801C4C80 001C1BE0 7C 03 00 D0 */ neg r0, r3 /* 801C4C84 001C1BE4 7C 00 1B 78 */ or r0, r0, r3 /* 801C4C88 001C1BE8 54 03 0F FE */ srwi r3, r0, 0x1f /* 801C4C8C 001C1BEC 48 00 00 08 */ b lbl_801C4C94 lbl_801C4C90: /* 801C4C90 001C1BF0 38 60 00 00 */ li r3, 0 lbl_801C4C94: /* 801C4C94 001C1BF4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C4C98 001C1BF8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C4C9C 001C1BFC 7C 08 03 A6 */ mtlr r0 /* 801C4CA0 001C1C00 38 21 00 10 */ addi r1, r1, 0x10 /* 801C4CA4 001C1C04 4E 80 00 20 */ blr .global AttackOver__12CMetroidBetaFR13CStateManagerf AttackOver__12CMetroidBetaFR13CStateManagerf: /* 801C4CA8 001C1C08 38 60 00 00 */ li r3, 0 /* 801C4CAC 001C1C0C 4E 80 00 20 */ blr .global sub_801c4cb0 sub_801c4cb0: /* 801C4CB0 001C1C10 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C4CB4 001C1C14 38 80 00 00 */ li r4, 0 /* 801C4CB8 001C1C18 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C4CBC 001C1C1C 41 82 00 18 */ beq lbl_801C4CD4 /* 801C4CC0 001C1C20 80 63 04 50 */ lwz r3, 0x450(r3) /* 801C4CC4 001C1C24 88 03 03 00 */ lbz r0, 0x300(r3) /* 801C4CC8 001C1C28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801C4CCC 001C1C2C 40 82 00 08 */ bne lbl_801C4CD4 /* 801C4CD0 001C1C30 38 80 00 01 */ li r4, 1 lbl_801C4CD4: /* 801C4CD4 001C1C34 7C 83 23 78 */ mr r3, r4 /* 801C4CD8 001C1C38 4E 80 00 20 */ blr .global GetCollisionResponseType__12CMetroidBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei GetCollisionResponseType__12CMetroidBetaCFRC9CVector3fRC9CVector3fRC11CWeaponModei: /* 801C4CDC 001C1C3C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C4CE0 001C1C40 7C 08 02 A6 */ mflr r0 /* 801C4CE4 001C1C44 90 01 00 24 */ stw r0, 0x24(r1) /* 801C4CE8 001C1C48 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C4CEC 001C1C4C 3B E0 00 21 */ li r31, 0x21 /* 801C4CF0 001C1C50 93 C1 00 18 */ stw r30, 0x18(r1) /* 801C4CF4 001C1C54 7C 7E 1B 78 */ mr r30, r3 /* 801C4CF8 001C1C58 93 A1 00 14 */ stw r29, 0x14(r1) /* 801C4CFC 001C1C5C 7C DD 33 78 */ mr r29, r6 /* 801C4D00 001C1C60 80 63 04 50 */ lwz r3, 0x450(r3) /* 801C4D04 001C1C64 4B F7 53 C9 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801C4D08 001C1C68 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C4D0C 001C1C6C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C4D10 001C1C70 7C 00 00 26 */ mfcr r0 /* 801C4D14 001C1C74 7F C3 F3 78 */ mr r3, r30 /* 801C4D18 001C1C78 81 9E 00 00 */ lwz r12, 0(r30) /* 801C4D1C 001C1C7C 54 1E 17 FE */ rlwinm r30, r0, 2, 0x1f, 0x1f /* 801C4D20 001C1C80 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801C4D24 001C1C84 7D 89 03 A6 */ mtctr r12 /* 801C4D28 001C1C88 4E 80 04 21 */ bctrl /* 801C4D2C 001C1C8C 7F A4 EB 78 */ mr r4, r29 /* 801C4D30 001C1C90 38 A0 00 00 */ li r5, 0 /* 801C4D34 001C1C94 4B F3 D9 D5 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode /* 801C4D38 001C1C98 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4D3C 001C1C9C 40 82 00 10 */ bne lbl_801C4D4C /* 801C4D40 001C1CA0 28 1E 00 00 */ cmplwi r30, 0 /* 801C4D44 001C1CA4 40 82 00 08 */ bne lbl_801C4D4C /* 801C4D48 001C1CA8 3B E0 00 3A */ li r31, 0x3a lbl_801C4D4C: /* 801C4D4C 001C1CAC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C4D50 001C1CB0 7F E3 FB 78 */ mr r3, r31 /* 801C4D54 001C1CB4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C4D58 001C1CB8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801C4D5C 001C1CBC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801C4D60 001C1CC0 7C 08 03 A6 */ mtlr r0 /* 801C4D64 001C1CC4 38 21 00 20 */ addi r1, r1, 0x20 /* 801C4D68 001C1CC8 4E 80 00 20 */ blr .global GetDamageVulnerability__12CMetroidBetaCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__12CMetroidBetaCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 801C4D6C 001C1CCC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C4D70 001C1CD0 7C 08 02 A6 */ mflr r0 /* 801C4D74 001C1CD4 90 01 00 14 */ stw r0, 0x14(r1) /* 801C4D78 001C1CD8 81 83 00 00 */ lwz r12, 0(r3) /* 801C4D7C 001C1CDC 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801C4D80 001C1CE0 7D 89 03 A6 */ mtctr r12 /* 801C4D84 001C1CE4 4E 80 04 21 */ bctrl /* 801C4D88 001C1CE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C4D8C 001C1CEC 7C 08 03 A6 */ mtlr r0 /* 801C4D90 001C1CF0 38 21 00 10 */ addi r1, r1, 0x10 /* 801C4D94 001C1CF4 4E 80 00 20 */ blr .global GetDamageVulnerability__12CMetroidBetaCFv GetDamageVulnerability__12CMetroidBetaCFv: /* 801C4D98 001C1CF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C4D9C 001C1CFC 7C 08 02 A6 */ mflr r0 /* 801C4DA0 001C1D00 90 01 00 14 */ stw r0, 0x14(r1) /* 801C4DA4 001C1D04 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C4DA8 001C1D08 7C 7F 1B 78 */ mr r31, r3 /* 801C4DAC 001C1D0C 80 63 04 50 */ lwz r3, 0x450(r3) /* 801C4DB0 001C1D10 4B F7 53 1D */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801C4DB4 001C1D14 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C4DB8 001C1D18 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C4DBC 001C1D1C 40 81 00 0C */ ble lbl_801C4DC8 /* 801C4DC0 001C1D20 38 7F 05 6C */ addi r3, r31, 0x56c /* 801C4DC4 001C1D24 48 00 00 40 */ b lbl_801C4E04 lbl_801C4DC8: /* 801C4DC8 001C1D28 88 7F 08 40 */ lbz r3, 0x840(r31) /* 801C4DCC 001C1D2C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801C4DD0 001C1D30 41 82 00 0C */ beq lbl_801C4DDC /* 801C4DD4 001C1D34 38 7F 05 D4 */ addi r3, r31, 0x5d4 /* 801C4DD8 001C1D38 48 00 00 2C */ b lbl_801C4E04 lbl_801C4DDC: /* 801C4DDC 001C1D3C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801C4DE0 001C1D40 41 82 00 1C */ beq lbl_801C4DFC /* 801C4DE4 001C1D44 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801C4DE8 001C1D48 88 03 03 00 */ lbz r0, 0x300(r3) /* 801C4DEC 001C1D4C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801C4DF0 001C1D50 40 82 00 0C */ bne lbl_801C4DFC /* 801C4DF4 001C1D54 38 7F 05 D4 */ addi r3, r31, 0x5d4 /* 801C4DF8 001C1D58 48 00 00 0C */ b lbl_801C4E04 lbl_801C4DFC: /* 801C4DFC 001C1D5C 7F E3 FB 78 */ mr r3, r31 /* 801C4E00 001C1D60 4B ED DF 71 */ bl GetDamageVulnerability__3CAiCFv lbl_801C4E04: /* 801C4E04 001C1D64 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C4E08 001C1D68 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C4E0C 001C1D6C 7C 08 03 A6 */ mtlr r0 /* 801C4E10 001C1D70 38 21 00 10 */ addi r1, r1, 0x10 /* 801C4E14 001C1D74 4E 80 00 20 */ blr .global GetOrigin__12CMetroidBetaCFRC13CStateManagerRC11CTeamAiRole GetOrigin__12CMetroidBetaCFRC13CStateManagerRC11CTeamAiRole: /* 801C4E18 001C1D78 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801C4E1C 001C1D7C 7C 08 02 A6 */ mflr r0 /* 801C4E20 001C1D80 90 01 00 94 */ stw r0, 0x94(r1) /* 801C4E24 001C1D84 DB E1 00 80 */ stfd f31, 0x80(r1) /* 801C4E28 001C1D88 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801C4E2C 001C1D8C DB C1 00 70 */ stfd f30, 0x70(r1) /* 801C4E30 001C1D90 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 801C4E34 001C1D94 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801C4E38 001C1D98 93 C1 00 68 */ stw r30, 0x68(r1) /* 801C4E3C 001C1D9C 93 A1 00 64 */ stw r29, 0x64(r1) /* 801C4E40 001C1DA0 83 E5 08 4C */ lwz r31, 0x84c(r5) /* 801C4E44 001C1DA4 7C 7D 1B 78 */ mr r29, r3 /* 801C4E48 001C1DA8 C0 A4 00 50 */ lfs f5, 0x50(r4) /* 801C4E4C 001C1DAC 7C 9E 23 78 */ mr r30, r4 /* 801C4E50 001C1DB0 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801C4E54 001C1DB4 38 61 00 08 */ addi r3, r1, 8 /* 801C4E58 001C1DB8 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801C4E5C 001C1DBC EC 45 08 28 */ fsubs f2, f5, f1 /* 801C4E60 001C1DC0 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801C4E64 001C1DC4 C0 84 00 60 */ lfs f4, 0x60(r4) /* 801C4E68 001C1DC8 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801C4E6C 001C1DCC EC 20 08 28 */ fsubs f1, f0, f1 /* 801C4E70 001C1DD0 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801C4E74 001C1DD4 EC 64 18 28 */ fsubs f3, f4, f3 /* 801C4E78 001C1DD8 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801C4E7C 001C1DDC D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801C4E80 001C1DE0 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801C4E84 001C1DE4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801C4E88 001C1DE8 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801C4E8C 001C1DEC 48 14 F3 75 */ bl __ct__9CVector2fFff /* 801C4E90 001C1DF0 C0 41 00 08 */ lfs f2, 8(r1) /* 801C4E94 001C1DF4 38 61 00 4C */ addi r3, r1, 0x4c /* 801C4E98 001C1DF8 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801C4E9C 001C1DFC C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C4EA0 001C1E00 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801C4EA4 001C1E04 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801C4EA8 001C1E08 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801C4EAC 001C1E0C 48 14 F8 4D */ bl CanBeNormalized__9CVector3fCFv /* 801C4EB0 001C1E10 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C4EB4 001C1E14 41 82 00 18 */ beq lbl_801C4ECC /* 801C4EB8 001C1E18 38 61 00 28 */ addi r3, r1, 0x28 /* 801C4EBC 001C1E1C 38 81 00 4C */ addi r4, r1, 0x4c /* 801C4EC0 001C1E20 48 14 F9 91 */ bl AsNormalized__9CVector3fCFv /* 801C4EC4 001C1E24 38 81 00 28 */ addi r4, r1, 0x28 /* 801C4EC8 001C1E28 48 00 00 20 */ b lbl_801C4EE8 lbl_801C4ECC: /* 801C4ECC 001C1E2C C0 5F 00 58 */ lfs f2, 0x58(r31) /* 801C4ED0 001C1E30 38 81 00 1C */ addi r4, r1, 0x1c /* 801C4ED4 001C1E34 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801C4ED8 001C1E38 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801C4EDC 001C1E3C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801C4EE0 001C1E40 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801C4EE4 001C1E44 D0 41 00 24 */ stfs f2, 0x24(r1) lbl_801C4EE8: /* 801C4EE8 001C1E48 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801C4EEC 001C1E4C C3 E4 00 00 */ lfs f31, 0(r4) /* 801C4EF0 001C1E50 C3 C4 00 04 */ lfs f30, 4(r4) /* 801C4EF4 001C1E54 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801C4EF8 001C1E58 4B F6 EF B5 */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 801C4EFC 001C1E5C C0 02 AA AC */ lfs f0, lbl_805AC7CC@sda21(r2) /* 801C4F00 001C1E60 C0 BF 00 40 */ lfs f5, 0x40(r31) /* 801C4F04 001C1E64 EC 00 00 72 */ fmuls f0, f0, f1 /* 801C4F08 001C1E68 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 801C4F0C 001C1E6C C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801C4F10 001C1E70 C0 42 AB 08 */ lfs f2, lbl_805AC828@sda21(r2) /* 801C4F14 001C1E74 EC 20 07 F2 */ fmuls f1, f0, f31 /* 801C4F18 001C1E78 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801C4F1C 001C1E7C EC 00 07 B2 */ fmuls f0, f0, f30 /* 801C4F20 001C1E80 EC 42 18 2A */ fadds f2, f2, f3 /* 801C4F24 001C1E84 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801C4F28 001C1E88 EC 25 08 2A */ fadds f1, f5, f1 /* 801C4F2C 001C1E8C EC 04 00 2A */ fadds f0, f4, f0 /* 801C4F30 001C1E90 D0 61 00 18 */ stfs f3, 0x18(r1) /* 801C4F34 001C1E94 D0 3D 00 00 */ stfs f1, 0(r29) /* 801C4F38 001C1E98 D0 1D 00 04 */ stfs f0, 4(r29) /* 801C4F3C 001C1E9C D0 5D 00 08 */ stfs f2, 8(r29) /* 801C4F40 001C1EA0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801C4F44 001C1EA4 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801C4F48 001C1EA8 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 801C4F4C 001C1EAC CB C1 00 70 */ lfd f30, 0x70(r1) /* 801C4F50 001C1EB0 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801C4F54 001C1EB4 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801C4F58 001C1EB8 80 01 00 94 */ lwz r0, 0x94(r1) /* 801C4F5C 001C1EBC 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801C4F60 001C1EC0 7C 08 03 A6 */ mtlr r0 /* 801C4F64 001C1EC4 38 21 00 90 */ addi r1, r1, 0x90 /* 801C4F68 001C1EC8 4E 80 00 20 */ blr .global GetAimPosition__12CMetroidBetaCFRC13CStateManagerf GetAimPosition__12CMetroidBetaCFRC13CStateManagerf: /* 801C4F6C 001C1ECC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801C4F70 001C1ED0 7C 08 02 A6 */ mflr r0 /* 801C4F74 001C1ED4 90 01 00 44 */ stw r0, 0x44(r1) /* 801C4F78 001C1ED8 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801C4F7C 001C1EDC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801C4F80 001C1EE0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801C4F84 001C1EE4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801C4F88 001C1EE8 93 A1 00 24 */ stw r29, 0x24(r1) /* 801C4F8C 001C1EEC 7C 9E 23 78 */ mr r30, r4 /* 801C4F90 001C1EF0 FF E0 08 90 */ fmr f31, f1 /* 801C4F94 001C1EF4 A0 04 07 90 */ lhz r0, 0x790(r4) /* 801C4F98 001C1EF8 7C BF 2B 78 */ mr r31, r5 /* 801C4F9C 001C1EFC 7C 7D 1B 78 */ mr r29, r3 /* 801C4FA0 001C1F00 38 81 00 08 */ addi r4, r1, 8 /* 801C4FA4 001C1F04 B0 01 00 08 */ sth r0, 8(r1) /* 801C4FA8 001C1F08 7F E3 FB 78 */ mr r3, r31 /* 801C4FAC 001C1F0C 4B E8 75 F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801C4FB0 001C1F10 7C 64 1B 78 */ mr r4, r3 /* 801C4FB4 001C1F14 38 61 00 0C */ addi r3, r1, 0xc /* 801C4FB8 001C1F18 4B EE A3 95 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C4FBC 001C1F1C 80 63 00 04 */ lwz r3, 4(r3) /* 801C4FC0 001C1F20 28 03 00 00 */ cmplwi r3, 0 /* 801C4FC4 001C1F24 41 82 00 20 */ beq lbl_801C4FE4 /* 801C4FC8 001C1F28 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801C4FCC 001C1F2C C0 23 00 50 */ lfs f1, 0x50(r3) /* 801C4FD0 001C1F30 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801C4FD4 001C1F34 D0 1D 00 00 */ stfs f0, 0(r29) /* 801C4FD8 001C1F38 D0 3D 00 04 */ stfs f1, 4(r29) /* 801C4FDC 001C1F3C D0 5D 00 08 */ stfs f2, 8(r29) /* 801C4FE0 001C1F40 48 00 00 18 */ b lbl_801C4FF8 lbl_801C4FE4: /* 801C4FE4 001C1F44 FC 20 F8 90 */ fmr f1, f31 /* 801C4FE8 001C1F48 7F A3 EB 78 */ mr r3, r29 /* 801C4FEC 001C1F4C 7F C4 F3 78 */ mr r4, r30 /* 801C4FF0 001C1F50 7F E5 FB 78 */ mr r5, r31 /* 801C4FF4 001C1F54 4B EB 35 F5 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf lbl_801C4FF8: /* 801C4FF8 001C1F58 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801C4FFC 001C1F5C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801C5000 001C1F60 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801C5004 001C1F64 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801C5008 001C1F68 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801C500C 001C1F6C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801C5010 001C1F70 7C 08 03 A6 */ mtlr r0 /* 801C5014 001C1F74 38 21 00 40 */ addi r1, r1, 0x40 /* 801C5018 001C1F78 4E 80 00 20 */ blr .global DoUserAnimEvent__12CMetroidBetaFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__12CMetroidBetaFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 801C501C 001C1F7C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C5020 001C1F80 7C 08 02 A6 */ mflr r0 /* 801C5024 001C1F84 90 01 00 24 */ stw r0, 0x24(r1) /* 801C5028 001C1F88 38 00 00 00 */ li r0, 0 /* 801C502C 001C1F8C DB E1 00 18 */ stfd f31, 0x18(r1) /* 801C5030 001C1F90 FF E0 08 90 */ fmr f31, f1 /* 801C5034 001C1F94 93 E1 00 14 */ stw r31, 0x14(r1) /* 801C5038 001C1F98 7C DF 33 78 */ mr r31, r6 /* 801C503C 001C1F9C 2C 1F 00 07 */ cmpwi r31, 7 /* 801C5040 001C1FA0 93 C1 00 10 */ stw r30, 0x10(r1) /* 801C5044 001C1FA4 7C BE 2B 78 */ mr r30, r5 /* 801C5048 001C1FA8 93 A1 00 0C */ stw r29, 0xc(r1) /* 801C504C 001C1FAC 7C 9D 23 78 */ mr r29, r4 /* 801C5050 001C1FB0 93 81 00 08 */ stw r28, 8(r1) /* 801C5054 001C1FB4 7C 7C 1B 78 */ mr r28, r3 /* 801C5058 001C1FB8 41 82 00 08 */ beq lbl_801C5060 /* 801C505C 001C1FBC 48 00 00 14 */ b lbl_801C5070 lbl_801C5060: /* 801C5060 001C1FC0 7F A5 EB 78 */ mr r5, r29 /* 801C5064 001C1FC4 38 80 00 13 */ li r4, 0x13 /* 801C5068 001C1FC8 4B E8 F2 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801C506C 001C1FCC 38 00 00 01 */ li r0, 1 lbl_801C5070: /* 801C5070 001C1FD0 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801C5074 001C1FD4 40 82 00 1C */ bne lbl_801C5090 /* 801C5078 001C1FD8 FC 20 F8 90 */ fmr f1, f31 /* 801C507C 001C1FDC 7F 83 E3 78 */ mr r3, r28 /* 801C5080 001C1FE0 7F A4 EB 78 */ mr r4, r29 /* 801C5084 001C1FE4 7F C5 F3 78 */ mr r5, r30 /* 801C5088 001C1FE8 7F E6 FB 78 */ mr r6, r31 /* 801C508C 001C1FEC 4B EB 3E 25 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_801C5090: /* 801C5090 001C1FF0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C5094 001C1FF4 CB E1 00 18 */ lfd f31, 0x18(r1) /* 801C5098 001C1FF8 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801C509C 001C1FFC 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801C50A0 001C2000 83 A1 00 0C */ lwz r29, 0xc(r1) /* 801C50A4 001C2004 83 81 00 08 */ lwz r28, 8(r1) /* 801C50A8 001C2008 7C 08 03 A6 */ mtlr r0 /* 801C50AC 001C200C 38 21 00 20 */ addi r1, r1, 0x20 /* 801C50B0 001C2010 4E 80 00 20 */ blr .global CollidedWith__12CMetroidBetaFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager CollidedWith__12CMetroidBetaFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: /* 801C50B4 001C2014 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C50B8 001C2018 7C 08 02 A6 */ mflr r0 /* 801C50BC 001C201C 90 01 00 24 */ stw r0, 0x24(r1) /* 801C50C0 001C2020 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C50C4 001C2024 7C DF 33 78 */ mr r31, r6 /* 801C50C8 001C2028 93 C1 00 18 */ stw r30, 0x18(r1) /* 801C50CC 001C202C 7C BE 2B 78 */ mr r30, r5 /* 801C50D0 001C2030 93 A1 00 14 */ stw r29, 0x14(r1) /* 801C50D4 001C2034 7C 9D 23 78 */ mr r29, r4 /* 801C50D8 001C2038 93 81 00 10 */ stw r28, 0x10(r1) /* 801C50DC 001C203C 7C 7C 1B 78 */ mr r28, r3 /* 801C50E0 001C2040 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C50E4 001C2044 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801C50E8 001C2048 41 82 00 FC */ beq lbl_801C51E4 /* 801C50EC 001C204C 88 0D A4 A0 */ lbz r0, lbl_805A9060@sda21(r13) /* 801C50F0 001C2050 7C 00 07 75 */ extsb. r0, r0 /* 801C50F4 001C2054 40 82 00 90 */ bne lbl_801C5184 /* 801C50F8 001C2058 38 00 00 00 */ li r0, 0 /* 801C50FC 001C205C 80 AD 91 2C */ lwz r5, lbl_805A7CEC@sda21(r13) /* 801C5100 001C2060 90 0D A4 AC */ stw r0, lbl_805A906C@sda21(r13) /* 801C5104 001C2064 38 60 00 00 */ li r3, 0 /* 801C5108 001C2068 38 80 00 01 */ li r4, 1 /* 801C510C 001C206C 90 0D A4 A8 */ stw r0, lbl_805A9068@sda21(r13) /* 801C5110 001C2070 48 1C 4D E5 */ bl __shl2i /* 801C5114 001C2074 80 0D A4 A8 */ lwz r0, lbl_805A9068@sda21(r13) /* 801C5118 001C2078 80 CD A4 AC */ lwz r6, lbl_805A906C@sda21(r13) /* 801C511C 001C207C 7C 00 1B 78 */ or r0, r0, r3 /* 801C5120 001C2080 80 AD 91 30 */ lwz r5, lbl_805A7CF0@sda21(r13) /* 801C5124 001C2084 7C C4 23 78 */ or r4, r6, r4 /* 801C5128 001C2088 90 0D A4 A8 */ stw r0, lbl_805A9068@sda21(r13) /* 801C512C 001C208C 38 60 00 00 */ li r3, 0 /* 801C5130 001C2090 90 8D A4 AC */ stw r4, lbl_805A906C@sda21(r13) /* 801C5134 001C2094 38 80 00 01 */ li r4, 1 /* 801C5138 001C2098 48 1C 4D BD */ bl __shl2i /* 801C513C 001C209C 80 0D A4 A8 */ lwz r0, lbl_805A9068@sda21(r13) /* 801C5140 001C20A0 80 CD A4 AC */ lwz r6, lbl_805A906C@sda21(r13) /* 801C5144 001C20A4 7C 00 1B 78 */ or r0, r0, r3 /* 801C5148 001C20A8 80 AD 91 34 */ lwz r5, lbl_805A7CF4@sda21(r13) /* 801C514C 001C20AC 7C C4 23 78 */ or r4, r6, r4 /* 801C5150 001C20B0 90 0D A4 A8 */ stw r0, lbl_805A9068@sda21(r13) /* 801C5154 001C20B4 38 60 00 00 */ li r3, 0 /* 801C5158 001C20B8 90 8D A4 AC */ stw r4, lbl_805A906C@sda21(r13) /* 801C515C 001C20BC 38 80 00 01 */ li r4, 1 /* 801C5160 001C20C0 48 1C 4D 95 */ bl __shl2i /* 801C5164 001C20C4 80 AD A4 A8 */ lwz r5, lbl_805A9068@sda21(r13) /* 801C5168 001C20C8 38 00 00 01 */ li r0, 1 /* 801C516C 001C20CC 80 CD A4 AC */ lwz r6, lbl_805A906C@sda21(r13) /* 801C5170 001C20D0 7C A3 1B 78 */ or r3, r5, r3 /* 801C5174 001C20D4 98 0D A4 A0 */ stb r0, lbl_805A9060@sda21(r13) /* 801C5178 001C20D8 7C C0 23 78 */ or r0, r6, r4 /* 801C517C 001C20DC 90 0D A4 AC */ stw r0, lbl_805A906C@sda21(r13) /* 801C5180 001C20E0 90 6D A4 A8 */ stw r3, lbl_805A9068@sda21(r13) lbl_801C5184: /* 801C5184 001C20E4 80 1E 00 00 */ lwz r0, 0(r30) /* 801C5188 001C20E8 38 BE 00 04 */ addi r5, r30, 4 /* 801C518C 001C20EC 80 CD A4 A8 */ lwz r6, lbl_805A9068@sda21(r13) /* 801C5190 001C20F0 38 80 00 00 */ li r4, 0 /* 801C5194 001C20F4 80 ED A4 AC */ lwz r7, lbl_805A906C@sda21(r13) /* 801C5198 001C20F8 7C 09 03 A6 */ mtctr r0 /* 801C519C 001C20FC 2C 00 00 00 */ cmpwi r0, 0 /* 801C51A0 001C2100 40 81 00 44 */ ble lbl_801C51E4 lbl_801C51A4: /* 801C51A4 001C2104 80 05 00 38 */ lwz r0, 0x38(r5) /* 801C51A8 001C2108 80 65 00 3C */ lwz r3, 0x3c(r5) /* 801C51AC 001C210C 7C C0 00 38 */ and r0, r6, r0 /* 801C51B0 001C2110 7C E3 18 38 */ and r3, r7, r3 /* 801C51B4 001C2114 7C 63 22 78 */ xor r3, r3, r4 /* 801C51B8 001C2118 7C 00 22 78 */ xor r0, r0, r4 /* 801C51BC 001C211C 7C 60 03 79 */ or. r0, r3, r0 /* 801C51C0 001C2120 41 82 00 1C */ beq lbl_801C51DC /* 801C51C4 001C2124 C0 42 AA B4 */ lfs f2, lbl_805AC7D4@sda21(r2) /* 801C51C8 001C2128 C0 3C 05 00 */ lfs f1, 0x500(r28) /* 801C51CC 001C212C C0 1C 07 A4 */ lfs f0, 0x7a4(r28) /* 801C51D0 001C2130 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801C51D4 001C2134 D0 1C 07 A4 */ stfs f0, 0x7a4(r28) /* 801C51D8 001C2138 48 00 00 0C */ b lbl_801C51E4 lbl_801C51DC: /* 801C51DC 001C213C 38 A5 00 60 */ addi r5, r5, 0x60 /* 801C51E0 001C2140 42 00 FF C4 */ bdnz lbl_801C51A4 lbl_801C51E4: /* 801C51E4 001C2144 7F 83 E3 78 */ mr r3, r28 /* 801C51E8 001C2148 7F A4 EB 78 */ mr r4, r29 /* 801C51EC 001C214C 7F C5 F3 78 */ mr r5, r30 /* 801C51F0 001C2150 7F E6 FB 78 */ mr r6, r31 /* 801C51F4 001C2154 4B EB 44 5D */ bl CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager /* 801C51F8 001C2158 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C51FC 001C215C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C5200 001C2160 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801C5204 001C2164 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801C5208 001C2168 83 81 00 10 */ lwz r28, 0x10(r1) /* 801C520C 001C216C 7C 08 03 A6 */ mtlr r0 /* 801C5210 001C2170 38 21 00 20 */ addi r1, r1, 0x20 /* 801C5214 001C2174 4E 80 00 20 */ blr .global Touch__12CMetroidBetaFR6CActorR13CStateManager Touch__12CMetroidBetaFR6CActorR13CStateManager: /* 801C5218 001C2178 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801C521C 001C217C 7C 08 02 A6 */ mflr r0 /* 801C5220 001C2180 90 01 00 84 */ stw r0, 0x84(r1) /* 801C5224 001C2184 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801C5228 001C2188 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801C522C 001C218C 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801C5230 001C2190 93 C1 00 68 */ stw r30, 0x68(r1) /* 801C5234 001C2194 93 A1 00 64 */ stw r29, 0x64(r1) /* 801C5238 001C2198 93 81 00 60 */ stw r28, 0x60(r1) /* 801C523C 001C219C 88 03 04 00 */ lbz r0, 0x400(r3) /* 801C5240 001C21A0 7C 7C 1B 78 */ mr r28, r3 /* 801C5244 001C21A4 7C 9D 23 78 */ mr r29, r4 /* 801C5248 001C21A8 7C BE 2B 78 */ mr r30, r5 /* 801C524C 001C21AC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C5250 001C21B0 41 82 01 E8 */ beq lbl_801C5438 /* 801C5254 001C21B4 38 61 00 10 */ addi r3, r1, 0x10 /* 801C5258 001C21B8 4B EE 85 21 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" /* 801C525C 001C21BC 83 E3 00 04 */ lwz r31, 4(r3) /* 801C5260 001C21C0 28 1F 00 00 */ cmplwi r31, 0 /* 801C5264 001C21C4 41 82 01 C4 */ beq lbl_801C5428 /* 801C5268 001C21C8 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801C526C 001C21CC A0 9F 00 EC */ lhz r4, 0xec(r31) /* 801C5270 001C21D0 A0 03 00 08 */ lhz r0, 8(r3) /* 801C5274 001C21D4 7C 04 00 40 */ cmplw r4, r0 /* 801C5278 001C21D8 40 82 01 B0 */ bne lbl_801C5428 /* 801C527C 001C21DC 80 7F 00 E8 */ lwz r3, 0xe8(r31) /* 801C5280 001C21E0 54 60 07 7A */ rlwinm r0, r3, 0, 0x1d, 0x1d /* 801C5284 001C21E4 2C 00 00 04 */ cmpwi r0, 4 /* 801C5288 001C21E8 40 82 00 40 */ bne lbl_801C52C8 /* 801C528C 001C21EC 54 60 07 38 */ rlwinm r0, r3, 0, 0x1c, 0x1c /* 801C5290 001C21F0 2C 00 00 08 */ cmpwi r0, 8 /* 801C5294 001C21F4 41 82 00 34 */ beq lbl_801C52C8 /* 801C5298 001C21F8 C3 FC 06 40 */ lfs f31, 0x640(r28) /* 801C529C 001C21FC 7F 83 E3 78 */ mr r3, r28 /* 801C52A0 001C2200 4B FF C3 09 */ bl sub_801c15a8 /* 801C52A4 001C2204 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801C52A8 001C2208 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C52AC 001C220C 38 60 00 00 */ li r3, 0 /* 801C52B0 001C2210 D0 3C 07 9C */ stfs f1, 0x79c(r28) /* 801C52B4 001C2214 D0 1C 08 3C */ stfs f0, 0x83c(r28) /* 801C52B8 001C2218 88 1C 08 40 */ lbz r0, 0x840(r28) /* 801C52BC 001C221C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C52C0 001C2220 98 1C 08 40 */ stb r0, 0x840(r28) /* 801C52C4 001C2224 48 00 01 54 */ b lbl_801C5418 lbl_801C52C8: /* 801C52C8 001C2228 7F 83 E3 78 */ mr r3, r28 /* 801C52CC 001C222C 81 9C 00 00 */ lwz r12, 0(r28) /* 801C52D0 001C2230 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801C52D4 001C2234 7D 89 03 A6 */ mtctr r12 /* 801C52D8 001C2238 4E 80 04 21 */ bctrl /* 801C52DC 001C223C 80 1F 00 E8 */ lwz r0, 0xe8(r31) /* 801C52E0 001C2240 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c /* 801C52E4 001C2244 2C 00 00 08 */ cmpwi r0, 8 /* 801C52E8 001C2248 40 82 01 20 */ bne lbl_801C5408 /* 801C52EC 001C224C 88 01 00 0C */ lbz r0, 0xc(r1) /* 801C52F0 001C2250 38 A0 00 00 */ li r5, 0 /* 801C52F4 001C2254 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801C52F8 001C2258 38 C0 00 01 */ li r6, 1 /* 801C52FC 001C225C 98 01 00 0C */ stb r0, 0xc(r1) /* 801C5300 001C2260 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801C5304 001C2264 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801C5308 001C2268 38 81 00 08 */ addi r4, r1, 8 /* 801C530C 001C226C 98 01 00 0C */ stb r0, 0xc(r1) /* 801C5310 001C2270 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801C5314 001C2274 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 801C5318 001C2278 38 A0 00 00 */ li r5, 0 /* 801C531C 001C227C 90 C1 00 08 */ stw r6, 8(r1) /* 801C5320 001C2280 98 01 00 0C */ stb r0, 0xc(r1) /* 801C5324 001C2284 4B F3 D2 61 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei /* 801C5328 001C2288 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C532C 001C228C 41 82 00 DC */ beq lbl_801C5408 /* 801C5330 001C2290 80 1F 00 E8 */ lwz r0, 0xe8(r31) /* 801C5334 001C2294 C3 E2 AA A4 */ lfs f31, lbl_805AC7C4@sda21(r2) /* 801C5338 001C2298 54 00 07 7A */ rlwinm r0, r0, 0, 0x1d, 0x1d /* 801C533C 001C229C 2C 00 00 04 */ cmpwi r0, 4 /* 801C5340 001C22A0 40 82 00 08 */ bne lbl_801C5348 /* 801C5344 001C22A4 C3 E2 AA 9C */ lfs f31, lbl_805AC7BC@sda21(r2) lbl_801C5348: /* 801C5348 001C22A8 C0 BF 00 50 */ lfs f5, 0x50(r31) /* 801C534C 001C22AC 38 61 00 30 */ addi r3, r1, 0x30 /* 801C5350 001C22B0 C0 1C 00 50 */ lfs f0, 0x50(r28) /* 801C5354 001C22B4 38 9C 00 34 */ addi r4, r28, 0x34 /* 801C5358 001C22B8 C0 9F 00 60 */ lfs f4, 0x60(r31) /* 801C535C 001C22BC 38 A1 00 24 */ addi r5, r1, 0x24 /* 801C5360 001C22C0 C0 3C 00 60 */ lfs f1, 0x60(r28) /* 801C5364 001C22C4 EC 45 00 28 */ fsubs f2, f5, f0 /* 801C5368 001C22C8 C0 7F 00 40 */ lfs f3, 0x40(r31) /* 801C536C 001C22CC C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801C5370 001C22D0 EC 24 08 28 */ fsubs f1, f4, f1 /* 801C5374 001C22D4 EC 03 00 28 */ fsubs f0, f3, f0 /* 801C5378 001C22D8 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801C537C 001C22DC D0 21 00 50 */ stfs f1, 0x50(r1) /* 801C5380 001C22E0 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801C5384 001C22E4 C0 5F 02 9C */ lfs f2, 0x29c(r31) /* 801C5388 001C22E8 C0 3F 02 A0 */ lfs f1, 0x2a0(r31) /* 801C538C 001C22EC C0 1F 02 98 */ lfs f0, 0x298(r31) /* 801C5390 001C22F0 EC 45 10 28 */ fsubs f2, f5, f2 /* 801C5394 001C22F4 EC 24 08 28 */ fsubs f1, f4, f1 /* 801C5398 001C22F8 EC 03 00 28 */ fsubs f0, f3, f0 /* 801C539C 001C22FC D0 41 00 28 */ stfs f2, 0x28(r1) /* 801C53A0 001C2300 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801C53A4 001C2304 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801C53A8 001C2308 48 14 D6 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C53AC 001C230C 38 61 00 3C */ addi r3, r1, 0x3c /* 801C53B0 001C2310 38 81 00 30 */ addi r4, r1, 0x30 /* 801C53B4 001C2314 48 14 EA 1D */ bl __ct__11CUnitVectorFRC9CVector3f /* 801C53B8 001C2318 C0 1C 04 FC */ lfs f0, 0x4fc(r28) /* 801C53BC 001C231C 7F 83 E3 78 */ mr r3, r28 /* 801C53C0 001C2320 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 801C53C4 001C2324 7F C4 F3 78 */ mr r4, r30 /* 801C53C8 001C2328 80 E1 00 40 */ lwz r7, 0x40(r1) /* 801C53CC 001C232C EC 3F 00 32 */ fmuls f1, f31, f0 /* 801C53D0 001C2330 80 01 00 44 */ lwz r0, 0x44(r1) /* 801C53D4 001C2334 38 A1 00 48 */ addi r5, r1, 0x48 /* 801C53D8 001C2338 90 C1 00 18 */ stw r6, 0x18(r1) /* 801C53DC 001C233C 38 C1 00 18 */ addi r6, r1, 0x18 /* 801C53E0 001C2340 90 E1 00 1C */ stw r7, 0x1c(r1) /* 801C53E4 001C2344 90 01 00 20 */ stw r0, 0x20(r1) /* 801C53E8 001C2348 81 9C 00 00 */ lwz r12, 0(r28) /* 801C53EC 001C234C 81 8C 02 90 */ lwz r12, 0x290(r12) /* 801C53F0 001C2350 7D 89 03 A6 */ mtctr r12 /* 801C53F4 001C2354 4E 80 04 21 */ bctrl /* 801C53F8 001C2358 88 1C 08 40 */ lbz r0, 0x840(r28) /* 801C53FC 001C235C 38 60 00 00 */ li r3, 0 /* 801C5400 001C2360 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C5404 001C2364 98 1C 08 40 */ stb r0, 0x840(r28) lbl_801C5408: /* 801C5408 001C2368 C0 3C 08 3C */ lfs f1, 0x83c(r28) /* 801C540C 001C236C C0 02 AA EC */ lfs f0, lbl_805AC80C@sda21(r2) /* 801C5410 001C2370 EC 01 00 2A */ fadds f0, f1, f0 /* 801C5414 001C2374 D0 1C 08 3C */ stfs f0, 0x83c(r28) lbl_801C5418: /* 801C5418 001C2378 88 1C 08 40 */ lbz r0, 0x840(r28) /* 801C541C 001C237C 38 60 00 01 */ li r3, 1 /* 801C5420 001C2380 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801C5424 001C2384 98 1C 08 40 */ stb r0, 0x840(r28) lbl_801C5428: /* 801C5428 001C2388 7F 83 E3 78 */ mr r3, r28 /* 801C542C 001C238C 7F A4 EB 78 */ mr r4, r29 /* 801C5430 001C2390 7F C5 F3 78 */ mr r5, r30 /* 801C5434 001C2394 4B EB 46 6D */ bl Touch__10CPatternedFR6CActorR13CStateManager lbl_801C5438: /* 801C5438 001C2398 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801C543C 001C239C 80 01 00 84 */ lwz r0, 0x84(r1) /* 801C5440 001C23A0 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801C5444 001C23A4 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801C5448 001C23A8 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801C544C 001C23AC 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801C5450 001C23B0 83 81 00 60 */ lwz r28, 0x60(r1) /* 801C5454 001C23B4 7C 08 03 A6 */ mtlr r0 /* 801C5458 001C23B8 38 21 00 80 */ addi r1, r1, 0x80 /* 801C545C 001C23BC 4E 80 00 20 */ blr .global AddToRenderer__12CMetroidBetaCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__12CMetroidBetaCFRC14CFrustumPlanesRC13CStateManager: /* 801C5460 001C23C0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801C5464 001C23C4 7C 08 02 A6 */ mflr r0 /* 801C5468 001C23C8 90 01 00 74 */ stw r0, 0x74(r1) /* 801C546C 001C23CC 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801C5470 001C23D0 7C BF 2B 78 */ mr r31, r5 /* 801C5474 001C23D4 93 C1 00 68 */ stw r30, 0x68(r1) /* 801C5478 001C23D8 7C 9E 23 78 */ mr r30, r4 /* 801C547C 001C23DC 38 80 00 00 */ li r4, 0 /* 801C5480 001C23E0 93 A1 00 64 */ stw r29, 0x64(r1) /* 801C5484 001C23E4 7C 7D 1B 78 */ mr r29, r3 /* 801C5488 001C23E8 80 63 00 64 */ lwz r3, 0x64(r3) /* 801C548C 001C23EC 80 03 00 10 */ lwz r0, 0x10(r3) /* 801C5490 001C23F0 28 00 00 00 */ cmplwi r0, 0 /* 801C5494 001C23F4 40 82 00 14 */ bne lbl_801C54A8 /* 801C5498 001C23F8 88 03 00 28 */ lbz r0, 0x28(r3) /* 801C549C 001C23FC 28 00 00 00 */ cmplwi r0, 0 /* 801C54A0 001C2400 40 82 00 08 */ bne lbl_801C54A8 /* 801C54A4 001C2404 38 80 00 01 */ li r4, 1 lbl_801C54A8: /* 801C54A8 001C2408 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801C54AC 001C240C 40 82 01 64 */ bne lbl_801C5610 /* 801C54B0 001C2410 7F C4 F3 78 */ mr r4, r30 /* 801C54B4 001C2414 4B F5 07 CD */ bl RenderParticles__10CModelDataCFRC14CFrustumPlanes /* 801C54B8 001C2418 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801C54BC 001C241C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801C54C0 001C2420 41 82 00 14 */ beq lbl_801C54D4 /* 801C54C4 001C2424 7F A3 EB 78 */ mr r3, r29 /* 801C54C8 001C2428 4B FF F7 E9 */ bl sub_801c4cb0 /* 801C54CC 001C242C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C54D0 001C2430 41 82 00 4C */ beq lbl_801C551C lbl_801C54D4: /* 801C54D4 001C2434 7F A3 EB 78 */ mr r3, r29 /* 801C54D8 001C2438 7F E4 FB 78 */ mr r4, r31 /* 801C54DC 001C243C 81 9D 00 00 */ lwz r12, 0(r29) /* 801C54E0 001C2440 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C54E4 001C2444 7D 89 03 A6 */ mtctr r12 /* 801C54E8 001C2448 4E 80 04 21 */ bctrl /* 801C54EC 001C244C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C54F0 001C2450 41 82 00 20 */ beq lbl_801C5510 /* 801C54F4 001C2454 7F A3 EB 78 */ mr r3, r29 /* 801C54F8 001C2458 7F E4 FB 78 */ mr r4, r31 /* 801C54FC 001C245C 81 9D 00 00 */ lwz r12, 0(r29) /* 801C5500 001C2460 81 8C 00 28 */ lwz r12, 0x28(r12) /* 801C5504 001C2464 7D 89 03 A6 */ mtctr r12 /* 801C5508 001C2468 4E 80 04 21 */ bctrl /* 801C550C 001C246C 48 00 00 10 */ b lbl_801C551C lbl_801C5510: /* 801C5510 001C2470 7F A3 EB 78 */ mr r3, r29 /* 801C5514 001C2474 7F E4 FB 78 */ mr r4, r31 /* 801C5518 001C2478 4B E8 F4 B5 */ bl EnsureRendered__6CActorCFRC13CStateManager lbl_801C551C: /* 801C551C 001C247C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801C5520 001C2480 7F E4 FB 78 */ mr r4, r31 /* 801C5524 001C2484 80 63 00 00 */ lwz r3, 0(r3) /* 801C5528 001C2488 4B EC C0 31 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801C552C 001C248C 2C 03 00 01 */ cmpwi r3, 1 /* 801C5530 001C2490 41 82 00 E0 */ beq lbl_801C5610 /* 801C5534 001C2494 88 1D 00 E5 */ lbz r0, 0xe5(r29) /* 801C5538 001C2498 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801C553C 001C249C 41 82 00 D4 */ beq lbl_801C5610 /* 801C5540 001C24A0 80 7D 00 94 */ lwz r3, 0x94(r29) /* 801C5544 001C24A4 4B F4 05 BD */ bl Valid__13CSimpleShadowCFv /* 801C5548 001C24A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C554C 001C24AC 41 82 00 C4 */ beq lbl_801C5610 /* 801C5550 001C24B0 80 9D 00 94 */ lwz r4, 0x94(r29) /* 801C5554 001C24B4 38 61 00 44 */ addi r3, r1, 0x44 /* 801C5558 001C24B8 4B F4 07 1D */ bl GetBounds__13CSimpleShadowCFv /* 801C555C 001C24BC 7F C3 F3 78 */ mr r3, r30 /* 801C5560 001C24C0 38 81 00 44 */ addi r4, r1, 0x44 /* 801C5564 001C24C4 48 17 FC 6D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox /* 801C5568 001C24C8 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801C556C 001C24CC 28 00 00 01 */ cmplwi r0, 1 /* 801C5570 001C24D0 40 82 00 A0 */ bne lbl_801C5610 /* 801C5574 001C24D4 80 7D 00 94 */ lwz r3, 0x94(r29) /* 801C5578 001C24D8 4B F4 07 99 */ bl GetTransform__13CSimpleShadowCFv /* 801C557C 001C24DC C0 43 00 2C */ lfs f2, 0x2c(r3) /* 801C5580 001C24E0 C0 23 00 1C */ lfs f1, 0x1c(r3) /* 801C5584 001C24E4 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801C5588 001C24E8 80 7D 00 94 */ lwz r3, 0x94(r29) /* 801C558C 001C24EC D0 01 00 08 */ stfs f0, 8(r1) /* 801C5590 001C24F0 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801C5594 001C24F4 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801C5598 001C24F8 4B F4 07 79 */ bl GetTransform__13CSimpleShadowCFv /* 801C559C 001C24FC C0 43 00 2C */ lfs f2, 0x2c(r3) /* 801C55A0 001C2500 C0 23 00 1C */ lfs f1, 0x1c(r3) /* 801C55A4 001C2504 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801C55A8 001C2508 80 7D 00 94 */ lwz r3, 0x94(r29) /* 801C55AC 001C250C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801C55B0 001C2510 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801C55B4 001C2514 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801C55B8 001C2518 4B F4 07 59 */ bl GetTransform__13CSimpleShadowCFv /* 801C55BC 001C251C C0 43 00 2C */ lfs f2, 0x2c(r3) /* 801C55C0 001C2520 38 81 00 14 */ addi r4, r1, 0x14 /* 801C55C4 001C2524 C0 23 00 1C */ lfs f1, 0x1c(r3) /* 801C55C8 001C2528 38 A1 00 08 */ addi r5, r1, 8 /* 801C55CC 001C252C C0 03 00 0C */ lfs f0, 0xc(r3) /* 801C55D0 001C2530 38 61 00 2C */ addi r3, r1, 0x2c /* 801C55D4 001C2534 83 FD 00 94 */ lwz r31, 0x94(r29) /* 801C55D8 001C2538 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801C55DC 001C253C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801C55E0 001C2540 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801C55E4 001C2544 48 17 2F 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801C55E8 001C2548 7C 66 1B 78 */ mr r6, r3 /* 801C55EC 001C254C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801C55F0 001C2550 7F E4 FB 78 */ mr r4, r31 /* 801C55F4 001C2554 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C55F8 001C2558 81 83 00 00 */ lwz r12, 0(r3) /* 801C55FC 001C255C 38 E0 00 01 */ li r7, 1 /* 801C5600 001C2560 39 00 00 00 */ li r8, 0 /* 801C5604 001C2564 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801C5608 001C2568 7D 89 03 A6 */ mtctr r12 /* 801C560C 001C256C 4E 80 04 21 */ bctrl lbl_801C5610: /* 801C5610 001C2570 80 01 00 74 */ lwz r0, 0x74(r1) /* 801C5614 001C2574 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801C5618 001C2578 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801C561C 001C257C 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801C5620 001C2580 7C 08 03 A6 */ mtlr r0 /* 801C5624 001C2584 38 21 00 70 */ addi r1, r1, 0x70 /* 801C5628 001C2588 4E 80 00 20 */ blr .global RenderHitGunEffect__12CMetroidBetaCFv RenderHitGunEffect__12CMetroidBetaCFv: /* 801C562C 001C258C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C5630 001C2590 7C 08 02 A6 */ mflr r0 /* 801C5634 001C2594 90 01 00 14 */ stw r0, 0x14(r1) /* 801C5638 001C2598 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C563C 001C259C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C5640 001C25A0 41 82 00 18 */ beq lbl_801C5658 /* 801C5644 001C25A4 80 63 08 2C */ lwz r3, 0x82c(r3) /* 801C5648 001C25A8 81 83 00 00 */ lwz r12, 0(r3) /* 801C564C 001C25AC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C5650 001C25B0 7D 89 03 A6 */ mtctr r12 /* 801C5654 001C25B4 4E 80 04 21 */ bctrl lbl_801C5658: /* 801C5658 001C25B8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C565C 001C25BC 7C 08 03 A6 */ mtlr r0 /* 801C5660 001C25C0 38 21 00 10 */ addi r1, r1, 0x10 /* 801C5664 001C25C4 4E 80 00 20 */ blr .global RenderHitBallEffect__12CMetroidBetaCFv RenderHitBallEffect__12CMetroidBetaCFv: /* 801C5668 001C25C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C566C 001C25CC 7C 08 02 A6 */ mflr r0 /* 801C5670 001C25D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801C5674 001C25D4 88 03 08 40 */ lbz r0, 0x840(r3) /* 801C5678 001C25D8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C567C 001C25DC 41 82 00 18 */ beq lbl_801C5694 /* 801C5680 001C25E0 80 63 08 28 */ lwz r3, 0x828(r3) /* 801C5684 001C25E4 81 83 00 00 */ lwz r12, 0(r3) /* 801C5688 001C25E8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C568C 001C25EC 7D 89 03 A6 */ mtctr r12 /* 801C5690 001C25F0 4E 80 04 21 */ bctrl lbl_801C5694: /* 801C5694 001C25F4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C5698 001C25F8 7C 08 03 A6 */ mtlr r0 /* 801C569C 001C25FC 38 21 00 10 */ addi r1, r1, 0x10 /* 801C56A0 001C2600 4E 80 00 20 */ blr .global Render__12CMetroidBetaCFRC13CStateManager Render__12CMetroidBetaCFRC13CStateManager: /* 801C56A4 001C2604 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C56A8 001C2608 7C 08 02 A6 */ mflr r0 /* 801C56AC 001C260C 90 01 00 14 */ stw r0, 0x14(r1) /* 801C56B0 001C2610 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C56B4 001C2614 7C 7F 1B 78 */ mr r31, r3 /* 801C56B8 001C2618 4B EB 29 75 */ bl Render__10CPatternedCFRC13CStateManager /* 801C56BC 001C261C 88 1F 08 40 */ lbz r0, 0x840(r31) /* 801C56C0 001C2620 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C56C4 001C2624 41 82 00 50 */ beq lbl_801C5714 /* 801C56C8 001C2628 80 7F 08 20 */ lwz r3, 0x820(r31) /* 801C56CC 001C262C 81 83 00 00 */ lwz r12, 0(r3) /* 801C56D0 001C2630 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C56D4 001C2634 7D 89 03 A6 */ mtctr r12 /* 801C56D8 001C2638 4E 80 04 21 */ bctrl /* 801C56DC 001C263C 80 7F 08 24 */ lwz r3, 0x824(r31) /* 801C56E0 001C2640 81 83 00 00 */ lwz r12, 0(r3) /* 801C56E4 001C2644 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C56E8 001C2648 7D 89 03 A6 */ mtctr r12 /* 801C56EC 001C264C 4E 80 04 21 */ bctrl /* 801C56F0 001C2650 C0 3F 08 3C */ lfs f1, 0x83c(r31) /* 801C56F4 001C2654 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C56F8 001C2658 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C56FC 001C265C 40 81 00 18 */ ble lbl_801C5714 /* 801C5700 001C2660 80 7F 08 30 */ lwz r3, 0x830(r31) /* 801C5704 001C2664 81 83 00 00 */ lwz r12, 0(r3) /* 801C5708 001C2668 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801C570C 001C266C 7D 89 03 A6 */ mtctr r12 /* 801C5710 001C2670 4E 80 04 21 */ bctrl lbl_801C5714: /* 801C5714 001C2674 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C5718 001C2678 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C571C 001C267C 7C 08 03 A6 */ mtlr r0 /* 801C5720 001C2680 38 21 00 10 */ addi r1, r1, 0x10 /* 801C5724 001C2684 4E 80 00 20 */ blr .global AcceptScriptMsg__12CMetroidBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__12CMetroidBetaF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801C5728 001C2688 94 21 FE 90 */ stwu r1, -0x170(r1) /* 801C572C 001C268C 7C 08 02 A6 */ mflr r0 /* 801C5730 001C2690 90 01 01 74 */ stw r0, 0x174(r1) /* 801C5734 001C2694 BF 61 01 5C */ stmw r27, 0x15c(r1) /* 801C5738 001C2698 7C BE 2B 78 */ mr r30, r5 /* 801C573C 001C269C 7C 7D 1B 78 */ mr r29, r3 /* 801C5740 001C26A0 7C 9B 23 78 */ mr r27, r4 /* 801C5744 001C26A4 7C DF 33 78 */ mr r31, r6 /* 801C5748 001C26A8 A0 05 00 00 */ lhz r0, 0(r5) /* 801C574C 001C26AC 38 A1 00 54 */ addi r5, r1, 0x54 /* 801C5750 001C26B0 B0 01 00 54 */ sth r0, 0x54(r1) /* 801C5754 001C26B4 4B EB 74 25 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801C5758 001C26B8 28 1B 00 30 */ cmplwi r27, 0x30 /* 801C575C 001C26BC 41 81 05 B8 */ bgt lbl_801C5D14 /* 801C5760 001C26C0 3C 60 80 3E */ lis r3, lbl_803E5654@ha /* 801C5764 001C26C4 57 60 10 3A */ slwi r0, r27, 2 /* 801C5768 001C26C8 38 63 56 54 */ addi r3, r3, lbl_803E5654@l /* 801C576C 001C26CC 7C 03 00 2E */ lwzx r0, r3, r0 /* 801C5770 001C26D0 7C 09 03 A6 */ mtctr r0 /* 801C5774 001C26D4 4E 80 04 20 */ bctr /* 801C5778 001C26D8 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801C577C 001C26DC 7F E4 FB 78 */ mr r4, r31 /* 801C5780 001C26E0 4B F7 55 71 */ bl Activate__15CBodyControllerFR13CStateManager /* 801C5784 001C26E4 7F A3 EB 78 */ mr r3, r29 /* 801C5788 001C26E8 7F E4 FB 78 */ mr r4, r31 /* 801C578C 001C26EC 4B FF C5 21 */ bl sub_801c1cac /* 801C5790 001C26F0 7F A3 EB 78 */ mr r3, r29 /* 801C5794 001C26F4 4B FF BC 41 */ bl sub_801c13d4 /* 801C5798 001C26F8 80 82 AA 8C */ lwz r4, lbl_805AC7AC@sda21(r2) /* 801C579C 001C26FC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801C57A0 001C2700 4B E3 F5 19 */ bl string_l__4rstlFPCc /* 801C57A4 001C2704 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801C57A8 001C2708 38 61 00 0C */ addi r3, r1, 0xc /* 801C57AC 001C270C 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 801C57B0 001C2710 80 84 00 10 */ lwz r4, 0x10(r4) /* 801C57B4 001C2714 4B E6 90 85 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801C57B8 001C2718 88 01 00 0C */ lbz r0, 0xc(r1) /* 801C57BC 001C271C 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801C57C0 001C2720 98 1D 07 60 */ stb r0, 0x760(r29) /* 801C57C4 001C2724 48 17 83 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801C57C8 001C2728 80 82 AA 90 */ lwz r4, lbl_805AC7B0@sda21(r2) /* 801C57CC 001C272C 38 61 00 90 */ addi r3, r1, 0x90 /* 801C57D0 001C2730 4B E3 F4 E9 */ bl string_l__4rstlFPCc /* 801C57D4 001C2734 80 9D 00 64 */ lwz r4, 0x64(r29) /* 801C57D8 001C2738 38 61 00 08 */ addi r3, r1, 8 /* 801C57DC 001C273C 38 A1 00 90 */ addi r5, r1, 0x90 /* 801C57E0 001C2740 80 84 00 10 */ lwz r4, 0x10(r4) /* 801C57E4 001C2744 4B E6 90 55 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801C57E8 001C2748 88 01 00 08 */ lbz r0, 8(r1) /* 801C57EC 001C274C 38 61 00 90 */ addi r3, r1, 0x90 /* 801C57F0 001C2750 98 1D 07 61 */ stb r0, 0x761(r29) /* 801C57F4 001C2754 48 17 82 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801C57F8 001C2758 48 00 05 1C */ b lbl_801C5D14 /* 801C57FC 001C275C 80 7D 07 64 */ lwz r3, 0x764(r29) /* 801C5800 001C2760 7F E4 FB 78 */ mr r4, r31 /* 801C5804 001C2764 38 A0 00 01 */ li r5, 1 /* 801C5808 001C2768 4B FE 1A F1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801C580C 001C276C 48 00 05 08 */ b lbl_801C5D14 /* 801C5810 001C2770 80 7D 07 64 */ lwz r3, 0x764(r29) /* 801C5814 001C2774 7F E4 FB 78 */ mr r4, r31 /* 801C5818 001C2778 38 A0 00 00 */ li r5, 0 /* 801C581C 001C277C 4B FE 1A DD */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 801C5820 001C2780 7F A3 EB 78 */ mr r3, r29 /* 801C5824 001C2784 7F E4 FB 78 */ mr r4, r31 /* 801C5828 001C2788 4B FF BA 45 */ bl sub_801c126c /* 801C582C 001C278C 48 00 04 E8 */ b lbl_801C5D14 /* 801C5830 001C2790 80 7D 07 64 */ lwz r3, 0x764(r29) /* 801C5834 001C2794 7F E4 FB 78 */ mr r4, r31 /* 801C5838 001C2798 4B FE 1B 8D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801C583C 001C279C 7F A3 EB 78 */ mr r3, r29 /* 801C5840 001C27A0 7F E4 FB 78 */ mr r4, r31 /* 801C5844 001C27A4 4B FF BA 29 */ bl sub_801c126c /* 801C5848 001C27A8 48 00 04 CC */ b lbl_801C5D14 /* 801C584C 001C27AC A0 1E 00 00 */ lhz r0, 0(r30) /* 801C5850 001C27B0 7F E3 FB 78 */ mr r3, r31 /* 801C5854 001C27B4 38 81 00 50 */ addi r4, r1, 0x50 /* 801C5858 001C27B8 B0 01 00 50 */ sth r0, 0x50(r1) /* 801C585C 001C27BC 4B E8 6D 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801C5860 001C27C0 7C 64 1B 78 */ mr r4, r3 /* 801C5864 001C27C4 38 61 00 7C */ addi r3, r1, 0x7c /* 801C5868 001C27C8 4B EE 9A E5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C586C 001C27CC 83 83 00 04 */ lwz r28, 4(r3) /* 801C5870 001C27D0 28 1C 00 00 */ cmplwi r28, 0 /* 801C5874 001C27D4 41 82 01 64 */ beq lbl_801C59D8 /* 801C5878 001C27D8 7F 84 E3 78 */ mr r4, r28 /* 801C587C 001C27DC 38 61 00 4C */ addi r3, r1, 0x4c /* 801C5880 001C27E0 4B FE 33 0D */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801C5884 001C27E4 A0 01 00 4C */ lhz r0, 0x4c(r1) /* 801C5888 001C27E8 7F E3 FB 78 */ mr r3, r31 /* 801C588C 001C27EC 38 81 00 48 */ addi r4, r1, 0x48 /* 801C5890 001C27F0 B0 01 00 58 */ sth r0, 0x58(r1) /* 801C5894 001C27F4 B0 01 00 48 */ sth r0, 0x48(r1) /* 801C5898 001C27F8 4B E8 6D 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801C589C 001C27FC 7C 64 1B 78 */ mr r4, r3 /* 801C58A0 001C2800 38 61 00 74 */ addi r3, r1, 0x74 /* 801C58A4 001C2804 4B EE 7E 69 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 801C58A8 001C2808 83 C3 00 04 */ lwz r30, 4(r3) /* 801C58AC 001C280C 28 1E 00 00 */ cmplwi r30, 0 /* 801C58B0 001C2810 41 82 04 64 */ beq lbl_801C5D14 /* 801C58B4 001C2814 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801C58B8 001C2818 A0 9E 00 EC */ lhz r4, 0xec(r30) /* 801C58BC 001C281C A0 03 00 08 */ lhz r0, 8(r3) /* 801C58C0 001C2820 7C 04 00 40 */ cmplw r4, r0 /* 801C58C4 001C2824 40 82 04 50 */ bne lbl_801C5D14 /* 801C58C8 001C2828 7F 83 E3 78 */ mr r3, r28 /* 801C58CC 001C282C 81 9C 00 00 */ lwz r12, 0(r28) /* 801C58D0 001C2830 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801C58D4 001C2834 7D 89 03 A6 */ mtctr r12 /* 801C58D8 001C2838 4E 80 04 21 */ bctrl /* 801C58DC 001C283C C0 3E 01 34 */ lfs f1, 0x134(r30) /* 801C58E0 001C2840 7C 7B 1B 78 */ mr r27, r3 /* 801C58E4 001C2844 3B 9E 01 2C */ addi r28, r30, 0x12c /* 801C58E8 001C2848 7F A3 EB 78 */ mr r3, r29 /* 801C58EC 001C284C 7F E4 FB 78 */ mr r4, r31 /* 801C58F0 001C2850 4B FF BB C5 */ bl sub_801c14b4 /* 801C58F4 001C2854 7F 63 DB 78 */ mr r3, r27 /* 801C58F8 001C2858 7F 84 E3 78 */ mr r4, r28 /* 801C58FC 001C285C 38 A0 00 00 */ li r5, 0 /* 801C5900 001C2860 4B F3 CC 85 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei /* 801C5904 001C2864 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C5908 001C2868 41 82 00 A0 */ beq lbl_801C59A8 /* 801C590C 001C286C 88 7C 00 04 */ lbz r3, 4(r28) /* 801C5910 001C2870 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801C5914 001C2874 40 82 00 18 */ bne lbl_801C592C /* 801C5918 001C2878 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801C591C 001C287C 40 82 00 10 */ bne lbl_801C592C /* 801C5920 001C2880 80 1C 00 00 */ lwz r0, 0(r28) /* 801C5924 001C2884 2C 00 00 06 */ cmpwi r0, 6 /* 801C5928 001C2888 40 82 00 24 */ bne lbl_801C594C lbl_801C592C: /* 801C592C 001C288C 88 1D 08 40 */ lbz r0, 0x840(r29) /* 801C5930 001C2890 38 60 00 01 */ li r3, 1 /* 801C5934 001C2894 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801C5938 001C2898 C0 02 AA A4 */ lfs f0, lbl_805AC7C4@sda21(r2) /* 801C593C 001C289C 98 1D 08 40 */ stb r0, 0x840(r29) /* 801C5940 001C28A0 C0 3D 08 3C */ lfs f1, 0x83c(r29) /* 801C5944 001C28A4 EC 01 00 2A */ fadds f0, f1, f0 /* 801C5948 001C28A8 D0 1D 08 3C */ stfs f0, 0x83c(r29) lbl_801C594C: /* 801C594C 001C28AC C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801C5950 001C28B0 7F A3 EB 78 */ mr r3, r29 /* 801C5954 001C28B4 C0 3E 02 9C */ lfs f1, 0x29c(r30) /* 801C5958 001C28B8 7F E5 FB 78 */ mr r5, r31 /* 801C595C 001C28BC C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801C5960 001C28C0 7F 86 E3 78 */ mr r6, r28 /* 801C5964 001C28C4 EC 82 08 28 */ fsubs f4, f2, f1 /* 801C5968 001C28C8 C0 1E 02 A0 */ lfs f0, 0x2a0(r30) /* 801C596C 001C28CC C0 5E 00 40 */ lfs f2, 0x40(r30) /* 801C5970 001C28D0 38 81 00 84 */ addi r4, r1, 0x84 /* 801C5974 001C28D4 EC 63 00 28 */ fsubs f3, f3, f0 /* 801C5978 001C28D8 C0 1E 02 98 */ lfs f0, 0x298(r30) /* 801C597C 001C28DC C0 3C 00 14 */ lfs f1, 0x14(r28) /* 801C5980 001C28E0 EC 02 00 28 */ fsubs f0, f2, f0 /* 801C5984 001C28E4 38 E0 00 01 */ li r7, 1 /* 801C5988 001C28E8 39 00 00 00 */ li r8, 0 /* 801C598C 001C28EC D0 81 00 88 */ stfs f4, 0x88(r1) /* 801C5990 001C28F0 D0 61 00 8C */ stfs f3, 0x8c(r1) /* 801C5994 001C28F4 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801C5998 001C28F8 81 9D 00 00 */ lwz r12, 0(r29) /* 801C599C 001C28FC 81 8C 00 88 */ lwz r12, 0x88(r12) /* 801C59A0 001C2900 7D 89 03 A6 */ mtctr r12 /* 801C59A4 001C2904 4E 80 04 21 */ bctrl lbl_801C59A8: /* 801C59A8 001C2908 88 1D 08 40 */ lbz r0, 0x840(r29) /* 801C59AC 001C290C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801C59B0 001C2910 41 82 00 14 */ beq lbl_801C59C4 /* 801C59B4 001C2914 C0 3D 08 3C */ lfs f1, 0x83c(r29) /* 801C59B8 001C2918 C0 02 AA EC */ lfs f0, lbl_805AC80C@sda21(r2) /* 801C59BC 001C291C EC 01 00 2A */ fadds f0, f1, f0 /* 801C59C0 001C2920 D0 1D 08 3C */ stfs f0, 0x83c(r29) lbl_801C59C4: /* 801C59C4 001C2924 88 1D 08 40 */ lbz r0, 0x840(r29) /* 801C59C8 001C2928 38 60 00 01 */ li r3, 1 /* 801C59CC 001C292C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801C59D0 001C2930 98 1D 08 40 */ stb r0, 0x840(r29) /* 801C59D4 001C2934 48 00 03 40 */ b lbl_801C5D14 lbl_801C59D8: /* 801C59D8 001C2938 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C59DC 001C293C 7F E3 FB 78 */ mr r3, r31 /* 801C59E0 001C2940 38 81 00 44 */ addi r4, r1, 0x44 /* 801C59E4 001C2944 B0 01 00 44 */ sth r0, 0x44(r1) /* 801C59E8 001C2948 4B E8 6B BD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801C59EC 001C294C 7C 64 1B 78 */ mr r4, r3 /* 801C59F0 001C2950 38 61 00 6C */ addi r3, r1, 0x6c /* 801C59F4 001C2954 4B ED FE A5 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 801C59F8 001C2958 83 83 00 04 */ lwz r28, 4(r3) /* 801C59FC 001C295C 28 1C 00 00 */ cmplwi r28, 0 /* 801C5A00 001C2960 41 82 03 14 */ beq lbl_801C5D14 /* 801C5A04 001C2964 80 1C 01 2C */ lwz r0, 0x12c(r28) /* 801C5A08 001C2968 38 60 00 00 */ li r3, 0 /* 801C5A0C 001C296C C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C5A10 001C2970 38 80 00 01 */ li r4, 1 /* 801C5A14 001C2974 90 01 01 34 */ stw r0, 0x134(r1) /* 801C5A18 001C2978 80 AD 91 28 */ lwz r5, lbl_805A7CE8@sda21(r13) /* 801C5A1C 001C297C 88 1C 01 30 */ lbz r0, 0x130(r28) /* 801C5A20 001C2980 98 01 01 38 */ stb r0, 0x138(r1) /* 801C5A24 001C2984 C0 3C 01 34 */ lfs f1, 0x134(r28) /* 801C5A28 001C2988 D0 21 01 3C */ stfs f1, 0x13c(r1) /* 801C5A2C 001C298C C0 3C 01 38 */ lfs f1, 0x138(r28) /* 801C5A30 001C2990 D0 21 01 40 */ stfs f1, 0x140(r1) /* 801C5A34 001C2994 C0 3C 01 3C */ lfs f1, 0x13c(r28) /* 801C5A38 001C2998 D0 21 01 44 */ stfs f1, 0x144(r1) /* 801C5A3C 001C299C C0 3C 01 40 */ lfs f1, 0x140(r28) /* 801C5A40 001C29A0 D0 21 01 48 */ stfs f1, 0x148(r1) /* 801C5A44 001C29A4 88 1C 01 44 */ lbz r0, 0x144(r28) /* 801C5A48 001C29A8 98 01 01 4C */ stb r0, 0x14c(r1) /* 801C5A4C 001C29AC D0 01 01 44 */ stfs f0, 0x144(r1) /* 801C5A50 001C29B0 48 1C 44 A5 */ bl __shl2i /* 801C5A54 001C29B4 39 00 00 00 */ li r8, 0 /* 801C5A58 001C29B8 39 40 00 03 */ li r10, 3 /* 801C5A5C 001C29BC 90 81 01 04 */ stw r4, 0x104(r1) /* 801C5A60 001C29C0 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C5A64 001C29C4 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801C5A68 001C29C8 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C5A6C 001C29CC 90 61 01 00 */ stw r3, 0x100(r1) /* 801C5A70 001C29D0 7F E3 FB 78 */ mr r3, r31 /* 801C5A74 001C29D4 38 81 00 40 */ addi r4, r1, 0x40 /* 801C5A78 001C29D8 38 A1 00 3C */ addi r5, r1, 0x3c /* 801C5A7C 001C29DC 91 01 01 0C */ stw r8, 0x10c(r1) /* 801C5A80 001C29E0 38 C1 00 38 */ addi r6, r1, 0x38 /* 801C5A84 001C29E4 38 E1 01 34 */ addi r7, r1, 0x134 /* 801C5A88 001C29E8 91 01 01 08 */ stw r8, 0x108(r1) /* 801C5A8C 001C29EC 39 01 01 00 */ addi r8, r1, 0x100 /* 801C5A90 001C29F0 91 41 01 10 */ stw r10, 0x110(r1) /* 801C5A94 001C29F4 A1 7C 00 EC */ lhz r11, 0xec(r28) /* 801C5A98 001C29F8 B1 61 00 38 */ sth r11, 0x38(r1) /* 801C5A9C 001C29FC A1 5D 07 90 */ lhz r10, 0x790(r29) /* 801C5AA0 001C2A00 B1 61 00 34 */ sth r11, 0x34(r1) /* 801C5AA4 001C2A04 B1 41 00 3C */ sth r10, 0x3c(r1) /* 801C5AA8 001C2A08 B0 01 00 40 */ sth r0, 0x40(r1) /* 801C5AAC 001C2A0C 4B E8 45 F5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801C5AB0 001C2A10 48 00 02 64 */ b lbl_801C5D14 /* 801C5AB4 001C2A14 88 1D 08 40 */ lbz r0, 0x840(r29) /* 801C5AB8 001C2A18 38 60 00 01 */ li r3, 1 /* 801C5ABC 001C2A1C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801C5AC0 001C2A20 98 1D 08 40 */ stb r0, 0x840(r29) /* 801C5AC4 001C2A24 48 00 02 50 */ b lbl_801C5D14 /* 801C5AC8 001C2A28 A0 1E 00 00 */ lhz r0, 0(r30) /* 801C5ACC 001C2A2C 7F E3 FB 78 */ mr r3, r31 /* 801C5AD0 001C2A30 38 81 00 30 */ addi r4, r1, 0x30 /* 801C5AD4 001C2A34 B0 01 00 30 */ sth r0, 0x30(r1) /* 801C5AD8 001C2A38 4B E8 6A CD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801C5ADC 001C2A3C 7C 64 1B 78 */ mr r4, r3 /* 801C5AE0 001C2A40 38 61 00 64 */ addi r3, r1, 0x64 /* 801C5AE4 001C2A44 4B EE 98 69 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801C5AE8 001C2A48 83 83 00 04 */ lwz r28, 4(r3) /* 801C5AEC 001C2A4C 28 1C 00 00 */ cmplwi r28, 0 /* 801C5AF0 001C2A50 41 82 02 24 */ beq lbl_801C5D14 /* 801C5AF4 001C2A54 7F A3 EB 78 */ mr r3, r29 /* 801C5AF8 001C2A58 7F E4 FB 78 */ mr r4, r31 /* 801C5AFC 001C2A5C 81 9D 00 00 */ lwz r12, 0(r29) /* 801C5B00 001C2A60 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801C5B04 001C2A64 7D 89 03 A6 */ mtctr r12 /* 801C5B08 001C2A68 4E 80 04 21 */ bctrl /* 801C5B0C 001C2A6C C0 23 00 00 */ lfs f1, 0(r3) /* 801C5B10 001C2A70 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C5B14 001C2A74 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C5B18 001C2A78 40 81 01 FC */ ble lbl_801C5D14 /* 801C5B1C 001C2A7C 7F 84 E3 78 */ mr r4, r28 /* 801C5B20 001C2A80 38 61 00 2C */ addi r3, r1, 0x2c /* 801C5B24 001C2A84 4B FE 30 69 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801C5B28 001C2A88 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801C5B2C 001C2A8C A0 81 00 2C */ lhz r4, 0x2c(r1) /* 801C5B30 001C2A90 A0 03 00 08 */ lhz r0, 8(r3) /* 801C5B34 001C2A94 7C 04 00 40 */ cmplw r4, r0 /* 801C5B38 001C2A98 40 82 01 DC */ bne lbl_801C5D14 /* 801C5B3C 001C2A9C C0 3D 04 20 */ lfs f1, 0x420(r29) /* 801C5B40 001C2AA0 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C5B44 001C2AA4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C5B48 001C2AA8 4C 40 13 82 */ cror 2, 0, 2 /* 801C5B4C 001C2AAC 40 82 01 C8 */ bne lbl_801C5D14 /* 801C5B50 001C2AB0 7F A4 EB 78 */ mr r4, r29 /* 801C5B54 001C2AB4 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801C5B58 001C2AB8 81 9D 00 00 */ lwz r12, 0(r29) /* 801C5B5C 001C2ABC 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801C5B60 001C2AC0 7D 89 03 A6 */ mtctr r12 /* 801C5B64 001C2AC4 4E 80 04 21 */ bctrl /* 801C5B68 001C2AC8 C0 21 00 EC */ lfs f1, 0xec(r1) /* 801C5B6C 001C2ACC C0 02 AA AC */ lfs f0, lbl_805AC7CC@sda21(r2) /* 801C5B70 001C2AD0 80 81 00 E4 */ lwz r4, 0xe4(r1) /* 801C5B74 001C2AD4 88 61 00 E8 */ lbz r3, 0xe8(r1) /* 801C5B78 001C2AD8 EC 00 00 72 */ fmuls f0, f0, f1 /* 801C5B7C 001C2ADC D0 21 01 20 */ stfs f1, 0x120(r1) /* 801C5B80 001C2AE0 C0 61 00 F0 */ lfs f3, 0xf0(r1) /* 801C5B84 001C2AE4 C0 41 00 F4 */ lfs f2, 0xf4(r1) /* 801C5B88 001C2AE8 C0 21 00 F8 */ lfs f1, 0xf8(r1) /* 801C5B8C 001C2AEC 88 01 00 FC */ lbz r0, 0xfc(r1) /* 801C5B90 001C2AF0 90 81 01 18 */ stw r4, 0x118(r1) /* 801C5B94 001C2AF4 98 61 01 1C */ stb r3, 0x11c(r1) /* 801C5B98 001C2AF8 D0 61 01 24 */ stfs f3, 0x124(r1) /* 801C5B9C 001C2AFC D0 41 01 28 */ stfs f2, 0x128(r1) /* 801C5BA0 001C2B00 D0 21 01 2C */ stfs f1, 0x12c(r1) /* 801C5BA4 001C2B04 98 01 01 30 */ stb r0, 0x130(r1) /* 801C5BA8 001C2B08 D0 01 01 20 */ stfs f0, 0x120(r1) /* 801C5BAC 001C2B0C 88 7D 08 40 */ lbz r3, 0x840(r29) /* 801C5BB0 001C2B10 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801C5BB4 001C2B14 41 82 00 5C */ beq lbl_801C5C10 /* 801C5BB8 001C2B18 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f /* 801C5BBC 001C2B1C 41 82 00 54 */ beq lbl_801C5C10 /* 801C5BC0 001C2B20 7F A4 EB 78 */ mr r4, r29 /* 801C5BC4 001C2B24 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801C5BC8 001C2B28 81 9D 00 00 */ lwz r12, 0(r29) /* 801C5BCC 001C2B2C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801C5BD0 001C2B30 7D 89 03 A6 */ mtctr r12 /* 801C5BD4 001C2B34 4E 80 04 21 */ bctrl /* 801C5BD8 001C2B38 80 81 00 C8 */ lwz r4, 0xc8(r1) /* 801C5BDC 001C2B3C 80 61 00 CC */ lwz r3, 0xcc(r1) /* 801C5BE0 001C2B40 C0 61 00 D0 */ lfs f3, 0xd0(r1) /* 801C5BE4 001C2B44 C0 41 00 D4 */ lfs f2, 0xd4(r1) /* 801C5BE8 001C2B48 C0 21 00 D8 */ lfs f1, 0xd8(r1) /* 801C5BEC 001C2B4C C0 01 00 DC */ lfs f0, 0xdc(r1) /* 801C5BF0 001C2B50 88 01 00 E0 */ lbz r0, 0xe0(r1) /* 801C5BF4 001C2B54 90 81 01 18 */ stw r4, 0x118(r1) /* 801C5BF8 001C2B58 90 61 01 1C */ stw r3, 0x11c(r1) /* 801C5BFC 001C2B5C D0 61 01 20 */ stfs f3, 0x120(r1) /* 801C5C00 001C2B60 D0 41 01 24 */ stfs f2, 0x124(r1) /* 801C5C04 001C2B64 D0 21 01 28 */ stfs f1, 0x128(r1) /* 801C5C08 001C2B68 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 801C5C0C 001C2B6C 98 01 01 30 */ stb r0, 0x130(r1) lbl_801C5C10: /* 801C5C10 001C2B70 80 AD 91 28 */ lwz r5, lbl_805A7CE8@sda21(r13) /* 801C5C14 001C2B74 38 60 00 00 */ li r3, 0 /* 801C5C18 001C2B78 38 80 00 01 */ li r4, 1 /* 801C5C1C 001C2B7C 48 1C 42 D9 */ bl __shl2i /* 801C5C20 001C2B80 39 40 00 00 */ li r10, 0 /* 801C5C24 001C2B84 38 00 00 03 */ li r0, 3 /* 801C5C28 001C2B88 90 81 00 B4 */ stw r4, 0xb4(r1) /* 801C5C2C 001C2B8C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C5C30 001C2B90 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801C5C34 001C2B94 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C5C38 001C2B98 90 61 00 B0 */ stw r3, 0xb0(r1) /* 801C5C3C 001C2B9C 38 81 00 28 */ addi r4, r1, 0x28 /* 801C5C40 001C2BA0 7F E3 FB 78 */ mr r3, r31 /* 801C5C44 001C2BA4 38 C1 00 18 */ addi r6, r1, 0x18 /* 801C5C48 001C2BA8 91 41 00 BC */ stw r10, 0xbc(r1) /* 801C5C4C 001C2BAC 38 E1 01 18 */ addi r7, r1, 0x118 /* 801C5C50 001C2BB0 39 01 00 B0 */ addi r8, r1, 0xb0 /* 801C5C54 001C2BB4 91 41 00 B8 */ stw r10, 0xb8(r1) /* 801C5C58 001C2BB8 90 01 00 C0 */ stw r0, 0xc0(r1) /* 801C5C5C 001C2BBC A0 1D 00 08 */ lhz r0, 8(r29) /* 801C5C60 001C2BC0 B0 01 00 18 */ sth r0, 0x18(r1) /* 801C5C64 001C2BC4 81 5F 08 4C */ lwz r10, 0x84c(r31) /* 801C5C68 001C2BC8 B0 01 00 14 */ sth r0, 0x14(r1) /* 801C5C6C 001C2BCC A1 4A 00 08 */ lhz r10, 8(r10) /* 801C5C70 001C2BD0 B1 41 00 20 */ sth r10, 0x20(r1) /* 801C5C74 001C2BD4 A0 1D 00 08 */ lhz r0, 8(r29) /* 801C5C78 001C2BD8 B1 41 00 1C */ sth r10, 0x1c(r1) /* 801C5C7C 001C2BDC B0 01 00 24 */ sth r0, 0x24(r1) /* 801C5C80 001C2BE0 B0 01 00 28 */ sth r0, 0x28(r1) /* 801C5C84 001C2BE4 4B E8 44 1D */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801C5C88 001C2BE8 C0 1D 04 24 */ lfs f0, 0x424(r29) /* 801C5C8C 001C2BEC 38 60 00 00 */ li r3, 0 /* 801C5C90 001C2BF0 D0 1D 04 20 */ stfs f0, 0x420(r29) /* 801C5C94 001C2BF4 88 1D 08 40 */ lbz r0, 0x840(r29) /* 801C5C98 001C2BF8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801C5C9C 001C2BFC 98 1D 08 40 */ stb r0, 0x840(r29) /* 801C5CA0 001C2C00 48 00 00 74 */ b lbl_801C5D14 /* 801C5CA4 001C2C04 A0 7D 06 78 */ lhz r3, 0x678(r29) /* 801C5CA8 001C2C08 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801C5CAC 001C2C0C 7C 03 00 40 */ cmplw r3, r0 /* 801C5CB0 001C2C10 40 82 00 1C */ bne lbl_801C5CCC /* 801C5CB4 001C2C14 7F A4 EB 78 */ mr r4, r29 /* 801C5CB8 001C2C18 7F E5 FB 78 */ mr r5, r31 /* 801C5CBC 001C2C1C 38 61 00 10 */ addi r3, r1, 0x10 /* 801C5CC0 001C2C20 48 07 45 29 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager /* 801C5CC4 001C2C24 A0 01 00 10 */ lhz r0, 0x10(r1) /* 801C5CC8 001C2C28 B0 1D 06 78 */ sth r0, 0x678(r29) lbl_801C5CCC: /* 801C5CCC 001C2C2C 80 BD 00 04 */ lwz r5, 4(r29) /* 801C5CD0 001C2C30 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801C5CD4 001C2C34 54 A3 18 38 */ slwi r3, r5, 3 /* 801C5CD8 001C2C38 90 A1 00 60 */ stw r5, 0x60(r1) /* 801C5CDC 001C2C3C 80 84 00 20 */ lwz r4, 0x20(r4) /* 801C5CE0 001C2C40 38 03 00 04 */ addi r0, r3, 4 /* 801C5CE4 001C2C44 90 A1 00 5C */ stw r5, 0x5c(r1) /* 801C5CE8 001C2C48 7C 64 00 2E */ lwzx r3, r4, r0 /* 801C5CEC 001C2C4C 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801C5CF0 001C2C50 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 801C5CF4 001C2C54 90 1D 06 7C */ stw r0, 0x67c(r29) /* 801C5CF8 001C2C58 48 00 00 1C */ b lbl_801C5D14 /* 801C5CFC 001C2C5C 80 7D 07 64 */ lwz r3, 0x764(r29) /* 801C5D00 001C2C60 28 03 00 00 */ cmplwi r3, 0 /* 801C5D04 001C2C64 41 82 00 10 */ beq lbl_801C5D14 /* 801C5D08 001C2C68 7F E4 FB 78 */ mr r4, r31 /* 801C5D0C 001C2C6C 38 A0 00 00 */ li r5, 0 /* 801C5D10 001C2C70 4B FE 11 B1 */ bl SetMovable__22CCollisionActorManagerFb lbl_801C5D14: /* 801C5D14 001C2C74 BB 61 01 5C */ lmw r27, 0x15c(r1) /* 801C5D18 001C2C78 80 01 01 74 */ lwz r0, 0x174(r1) /* 801C5D1C 001C2C7C 7C 08 03 A6 */ mtlr r0 /* 801C5D20 001C2C80 38 21 01 70 */ addi r1, r1, 0x170 /* 801C5D24 001C2C84 4E 80 00 20 */ blr .global Think__12CMetroidBetaFfR13CStateManager Think__12CMetroidBetaFfR13CStateManager: /* 801C5D28 001C2C88 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801C5D2C 001C2C8C 7C 08 02 A6 */ mflr r0 /* 801C5D30 001C2C90 90 01 00 34 */ stw r0, 0x34(r1) /* 801C5D34 001C2C94 DB E1 00 28 */ stfd f31, 0x28(r1) /* 801C5D38 001C2C98 FF E0 08 90 */ fmr f31, f1 /* 801C5D3C 001C2C9C 93 E1 00 24 */ stw r31, 0x24(r1) /* 801C5D40 001C2CA0 7C 9F 23 78 */ mr r31, r4 /* 801C5D44 001C2CA4 93 C1 00 20 */ stw r30, 0x20(r1) /* 801C5D48 001C2CA8 7C 7E 1B 78 */ mr r30, r3 /* 801C5D4C 001C2CAC 88 03 00 30 */ lbz r0, 0x30(r3) /* 801C5D50 001C2CB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801C5D54 001C2CB4 41 82 00 8C */ beq lbl_801C5DE0 /* 801C5D58 001C2CB8 A0 DE 00 08 */ lhz r6, 8(r30) /* 801C5D5C 001C2CBC 7F E3 FB 78 */ mr r3, r31 /* 801C5D60 001C2CC0 38 81 00 10 */ addi r4, r1, 0x10 /* 801C5D64 001C2CC4 38 A1 00 0C */ addi r5, r1, 0xc /* 801C5D68 001C2CC8 B0 C1 00 0C */ sth r6, 0xc(r1) /* 801C5D6C 001C2CCC A0 1E 06 78 */ lhz r0, 0x678(r30) /* 801C5D70 001C2CD0 B0 C1 00 08 */ sth r6, 8(r1) /* 801C5D74 001C2CD4 B0 01 00 10 */ sth r0, 0x10(r1) /* 801C5D78 001C2CD8 48 07 44 09 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId /* 801C5D7C 001C2CDC 28 03 00 00 */ cmplwi r3, 0 /* 801C5D80 001C2CE0 40 82 00 10 */ bne lbl_801C5D90 /* 801C5D84 001C2CE4 7F C3 F3 78 */ mr r3, r30 /* 801C5D88 001C2CE8 7F E4 FB 78 */ mr r4, r31 /* 801C5D8C 001C2CEC 4B FF B5 85 */ bl sub_801c1310 lbl_801C5D90: /* 801C5D90 001C2CF0 FC 20 F8 90 */ fmr f1, f31 /* 801C5D94 001C2CF4 7F C3 F3 78 */ mr r3, r30 /* 801C5D98 001C2CF8 7F E4 FB 78 */ mr r4, r31 /* 801C5D9C 001C2CFC 4B EB 3D 7D */ bl Think__10CPatternedFfR13CStateManager /* 801C5DA0 001C2D00 FC 20 F8 90 */ fmr f1, f31 /* 801C5DA4 001C2D04 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C5DA8 001C2D08 7F E4 FB 78 */ mr r4, r31 /* 801C5DAC 001C2D0C 38 A0 00 00 */ li r5, 0 /* 801C5DB0 001C2D10 4B FE 16 A1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801C5DB4 001C2D14 7F C3 F3 78 */ mr r3, r30 /* 801C5DB8 001C2D18 7F E4 FB 78 */ mr r4, r31 /* 801C5DBC 001C2D1C 4B FF BB 6D */ bl sub_801c1928 /* 801C5DC0 001C2D20 FC 20 F8 90 */ fmr f1, f31 /* 801C5DC4 001C2D24 7F C3 F3 78 */ mr r3, r30 /* 801C5DC8 001C2D28 7F E4 FB 78 */ mr r4, r31 /* 801C5DCC 001C2D2C 4B FF AF D9 */ bl sub_801c0da4 /* 801C5DD0 001C2D30 FC 20 F8 90 */ fmr f1, f31 /* 801C5DD4 001C2D34 7F C3 F3 78 */ mr r3, r30 /* 801C5DD8 001C2D38 7F E4 FB 78 */ mr r4, r31 /* 801C5DDC 001C2D3C 4B FF C3 D9 */ bl sub_801c21b4 lbl_801C5DE0: /* 801C5DE0 001C2D40 80 01 00 34 */ lwz r0, 0x34(r1) /* 801C5DE4 001C2D44 CB E1 00 28 */ lfd f31, 0x28(r1) /* 801C5DE8 001C2D48 83 E1 00 24 */ lwz r31, 0x24(r1) /* 801C5DEC 001C2D4C 83 C1 00 20 */ lwz r30, 0x20(r1) /* 801C5DF0 001C2D50 7C 08 03 A6 */ mtlr r0 /* 801C5DF4 001C2D54 38 21 00 30 */ addi r1, r1, 0x30 /* 801C5DF8 001C2D58 4E 80 00 20 */ blr .global Accept__12CMetroidBetaFR8IVisitor Accept__12CMetroidBetaFR8IVisitor: /* 801C5DFC 001C2D5C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C5E00 001C2D60 7C 08 02 A6 */ mflr r0 /* 801C5E04 001C2D64 90 01 00 14 */ stw r0, 0x14(r1) /* 801C5E08 001C2D68 7C 60 1B 78 */ mr r0, r3 /* 801C5E0C 001C2D6C 7C 83 23 78 */ mr r3, r4 /* 801C5E10 001C2D70 81 84 00 00 */ lwz r12, 0(r4) /* 801C5E14 001C2D74 7C 04 03 78 */ mr r4, r0 /* 801C5E18 001C2D78 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801C5E1C 001C2D7C 7D 89 03 A6 */ mtctr r12 /* 801C5E20 001C2D80 4E 80 04 21 */ bctrl /* 801C5E24 001C2D84 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C5E28 001C2D88 7C 08 03 A6 */ mtlr r0 /* 801C5E2C 001C2D8C 38 21 00 10 */ addi r1, r1, 0x10 /* 801C5E30 001C2D90 4E 80 00 20 */ blr .global __dt__12CMetroidBetaFv __dt__12CMetroidBetaFv: /* 801C5E34 001C2D94 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C5E38 001C2D98 7C 08 02 A6 */ mflr r0 /* 801C5E3C 001C2D9C 90 01 00 14 */ stw r0, 0x14(r1) /* 801C5E40 001C2DA0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C5E44 001C2DA4 7C 9F 23 78 */ mr r31, r4 /* 801C5E48 001C2DA8 93 C1 00 08 */ stw r30, 8(r1) /* 801C5E4C 001C2DAC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801C5E50 001C2DB0 41 82 02 20 */ beq lbl_801C6070 /* 801C5E54 001C2DB4 3C 60 80 3E */ lis r3, lbl_803E5388@ha /* 801C5E58 001C2DB8 34 1E 08 30 */ addic. r0, r30, 0x830 /* 801C5E5C 001C2DBC 38 03 53 88 */ addi r0, r3, lbl_803E5388@l /* 801C5E60 001C2DC0 90 1E 00 00 */ stw r0, 0(r30) /* 801C5E64 001C2DC4 41 82 00 24 */ beq lbl_801C5E88 /* 801C5E68 001C2DC8 80 7E 08 30 */ lwz r3, 0x830(r30) /* 801C5E6C 001C2DCC 28 03 00 00 */ cmplwi r3, 0 /* 801C5E70 001C2DD0 41 82 00 18 */ beq lbl_801C5E88 /* 801C5E74 001C2DD4 81 83 00 00 */ lwz r12, 0(r3) /* 801C5E78 001C2DD8 38 80 00 01 */ li r4, 1 /* 801C5E7C 001C2DDC 81 8C 00 08 */ lwz r12, 8(r12) /* 801C5E80 001C2DE0 7D 89 03 A6 */ mtctr r12 /* 801C5E84 001C2DE4 4E 80 04 21 */ bctrl lbl_801C5E88: /* 801C5E88 001C2DE8 34 1E 08 2C */ addic. r0, r30, 0x82c /* 801C5E8C 001C2DEC 41 82 00 24 */ beq lbl_801C5EB0 /* 801C5E90 001C2DF0 80 7E 08 2C */ lwz r3, 0x82c(r30) /* 801C5E94 001C2DF4 28 03 00 00 */ cmplwi r3, 0 /* 801C5E98 001C2DF8 41 82 00 18 */ beq lbl_801C5EB0 /* 801C5E9C 001C2DFC 81 83 00 00 */ lwz r12, 0(r3) /* 801C5EA0 001C2E00 38 80 00 01 */ li r4, 1 /* 801C5EA4 001C2E04 81 8C 00 08 */ lwz r12, 8(r12) /* 801C5EA8 001C2E08 7D 89 03 A6 */ mtctr r12 /* 801C5EAC 001C2E0C 4E 80 04 21 */ bctrl lbl_801C5EB0: /* 801C5EB0 001C2E10 34 1E 08 28 */ addic. r0, r30, 0x828 /* 801C5EB4 001C2E14 41 82 00 24 */ beq lbl_801C5ED8 /* 801C5EB8 001C2E18 80 7E 08 28 */ lwz r3, 0x828(r30) /* 801C5EBC 001C2E1C 28 03 00 00 */ cmplwi r3, 0 /* 801C5EC0 001C2E20 41 82 00 18 */ beq lbl_801C5ED8 /* 801C5EC4 001C2E24 81 83 00 00 */ lwz r12, 0(r3) /* 801C5EC8 001C2E28 38 80 00 01 */ li r4, 1 /* 801C5ECC 001C2E2C 81 8C 00 08 */ lwz r12, 8(r12) /* 801C5ED0 001C2E30 7D 89 03 A6 */ mtctr r12 /* 801C5ED4 001C2E34 4E 80 04 21 */ bctrl lbl_801C5ED8: /* 801C5ED8 001C2E38 34 1E 08 24 */ addic. r0, r30, 0x824 /* 801C5EDC 001C2E3C 41 82 00 24 */ beq lbl_801C5F00 /* 801C5EE0 001C2E40 80 7E 08 24 */ lwz r3, 0x824(r30) /* 801C5EE4 001C2E44 28 03 00 00 */ cmplwi r3, 0 /* 801C5EE8 001C2E48 41 82 00 18 */ beq lbl_801C5F00 /* 801C5EEC 001C2E4C 81 83 00 00 */ lwz r12, 0(r3) /* 801C5EF0 001C2E50 38 80 00 01 */ li r4, 1 /* 801C5EF4 001C2E54 81 8C 00 08 */ lwz r12, 8(r12) /* 801C5EF8 001C2E58 7D 89 03 A6 */ mtctr r12 /* 801C5EFC 001C2E5C 4E 80 04 21 */ bctrl lbl_801C5F00: /* 801C5F00 001C2E60 34 1E 08 20 */ addic. r0, r30, 0x820 /* 801C5F04 001C2E64 41 82 00 24 */ beq lbl_801C5F28 /* 801C5F08 001C2E68 80 7E 08 20 */ lwz r3, 0x820(r30) /* 801C5F0C 001C2E6C 28 03 00 00 */ cmplwi r3, 0 /* 801C5F10 001C2E70 41 82 00 18 */ beq lbl_801C5F28 /* 801C5F14 001C2E74 81 83 00 00 */ lwz r12, 0(r3) /* 801C5F18 001C2E78 38 80 00 01 */ li r4, 1 /* 801C5F1C 001C2E7C 81 8C 00 08 */ lwz r12, 8(r12) /* 801C5F20 001C2E80 7D 89 03 A6 */ mtctr r12 /* 801C5F24 001C2E84 4E 80 04 21 */ bctrl lbl_801C5F28: /* 801C5F28 001C2E88 34 1E 08 14 */ addic. r0, r30, 0x814 /* 801C5F2C 001C2E8C 41 82 00 18 */ beq lbl_801C5F44 /* 801C5F30 001C2E90 34 1E 08 14 */ addic. r0, r30, 0x814 /* 801C5F34 001C2E94 41 82 00 10 */ beq lbl_801C5F44 /* 801C5F38 001C2E98 38 7E 08 14 */ addi r3, r30, 0x814 /* 801C5F3C 001C2E9C 38 80 00 00 */ li r4, 0 /* 801C5F40 001C2EA0 48 17 AF 01 */ bl __dt__6CTokenFv lbl_801C5F44: /* 801C5F44 001C2EA4 34 1E 08 08 */ addic. r0, r30, 0x808 /* 801C5F48 001C2EA8 41 82 00 18 */ beq lbl_801C5F60 /* 801C5F4C 001C2EAC 34 1E 08 08 */ addic. r0, r30, 0x808 /* 801C5F50 001C2EB0 41 82 00 10 */ beq lbl_801C5F60 /* 801C5F54 001C2EB4 38 7E 08 08 */ addi r3, r30, 0x808 /* 801C5F58 001C2EB8 38 80 00 00 */ li r4, 0 /* 801C5F5C 001C2EBC 48 17 AE E5 */ bl __dt__6CTokenFv lbl_801C5F60: /* 801C5F60 001C2EC0 34 1E 07 FC */ addic. r0, r30, 0x7fc /* 801C5F64 001C2EC4 41 82 00 18 */ beq lbl_801C5F7C /* 801C5F68 001C2EC8 34 1E 07 FC */ addic. r0, r30, 0x7fc /* 801C5F6C 001C2ECC 41 82 00 10 */ beq lbl_801C5F7C /* 801C5F70 001C2ED0 38 7E 07 FC */ addi r3, r30, 0x7fc /* 801C5F74 001C2ED4 38 80 00 00 */ li r4, 0 /* 801C5F78 001C2ED8 48 17 AE C9 */ bl __dt__6CTokenFv lbl_801C5F7C: /* 801C5F7C 001C2EDC 34 1E 07 F0 */ addic. r0, r30, 0x7f0 /* 801C5F80 001C2EE0 41 82 00 18 */ beq lbl_801C5F98 /* 801C5F84 001C2EE4 34 1E 07 F0 */ addic. r0, r30, 0x7f0 /* 801C5F88 001C2EE8 41 82 00 10 */ beq lbl_801C5F98 /* 801C5F8C 001C2EEC 38 7E 07 F0 */ addi r3, r30, 0x7f0 /* 801C5F90 001C2EF0 38 80 00 00 */ li r4, 0 /* 801C5F94 001C2EF4 48 17 AE AD */ bl __dt__6CTokenFv lbl_801C5F98: /* 801C5F98 001C2EF8 34 1E 07 E4 */ addic. r0, r30, 0x7e4 /* 801C5F9C 001C2EFC 41 82 00 18 */ beq lbl_801C5FB4 /* 801C5FA0 001C2F00 34 1E 07 E4 */ addic. r0, r30, 0x7e4 /* 801C5FA4 001C2F04 41 82 00 10 */ beq lbl_801C5FB4 /* 801C5FA8 001C2F08 38 7E 07 E4 */ addi r3, r30, 0x7e4 /* 801C5FAC 001C2F0C 38 80 00 00 */ li r4, 0 /* 801C5FB0 001C2F10 48 17 AE 91 */ bl __dt__6CTokenFv lbl_801C5FB4: /* 801C5FB4 001C2F14 34 1E 07 68 */ addic. r0, r30, 0x768 /* 801C5FB8 001C2F18 41 82 00 24 */ beq lbl_801C5FDC /* 801C5FBC 001C2F1C 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 801C5FC0 001C2F20 34 1E 07 68 */ addic. r0, r30, 0x768 /* 801C5FC4 001C2F24 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 801C5FC8 001C2F28 90 1E 07 68 */ stw r0, 0x768(r30) /* 801C5FCC 001C2F2C 41 82 00 10 */ beq lbl_801C5FDC /* 801C5FD0 001C2F30 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 801C5FD4 001C2F34 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l /* 801C5FD8 001C2F38 90 1E 07 68 */ stw r0, 0x768(r30) lbl_801C5FDC: /* 801C5FDC 001C2F3C 34 1E 07 64 */ addic. r0, r30, 0x764 /* 801C5FE0 001C2F40 41 82 00 10 */ beq lbl_801C5FF0 /* 801C5FE4 001C2F44 80 7E 07 64 */ lwz r3, 0x764(r30) /* 801C5FE8 001C2F48 38 80 00 01 */ li r4, 1 /* 801C5FEC 001C2F4C 4B FE 18 F1 */ bl sub_801a78dc lbl_801C5FF0: /* 801C5FF0 001C2F50 34 1E 06 7C */ addic. r0, r30, 0x67c /* 801C5FF4 001C2F54 41 82 00 60 */ beq lbl_801C6054 /* 801C5FF8 001C2F58 34 1E 06 80 */ addic. r0, r30, 0x680 /* 801C5FFC 001C2F5C 41 82 00 58 */ beq lbl_801C6054 /* 801C6000 001C2F60 80 BE 06 80 */ lwz r5, 0x680(r30) /* 801C6004 001C2F64 38 60 00 00 */ li r3, 0 /* 801C6008 001C2F68 2C 05 00 00 */ cmpwi r5, 0 /* 801C600C 001C2F6C 40 81 00 40 */ ble lbl_801C604C /* 801C6010 001C2F70 2C 05 00 08 */ cmpwi r5, 8 /* 801C6014 001C2F74 38 85 FF F8 */ addi r4, r5, -8 /* 801C6018 001C2F78 40 81 00 20 */ ble lbl_801C6038 /* 801C601C 001C2F7C 38 04 00 07 */ addi r0, r4, 7 /* 801C6020 001C2F80 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6024 001C2F84 7C 09 03 A6 */ mtctr r0 /* 801C6028 001C2F88 2C 04 00 00 */ cmpwi r4, 0 /* 801C602C 001C2F8C 40 81 00 0C */ ble lbl_801C6038 lbl_801C6030: /* 801C6030 001C2F90 38 63 00 08 */ addi r3, r3, 8 /* 801C6034 001C2F94 42 00 FF FC */ bdnz lbl_801C6030 lbl_801C6038: /* 801C6038 001C2F98 7C 03 28 50 */ subf r0, r3, r5 /* 801C603C 001C2F9C 7C 09 03 A6 */ mtctr r0 /* 801C6040 001C2FA0 7C 03 28 00 */ cmpw r3, r5 /* 801C6044 001C2FA4 40 80 00 08 */ bge lbl_801C604C lbl_801C6048: /* 801C6048 001C2FA8 42 00 00 00 */ bdnz lbl_801C6048 lbl_801C604C: /* 801C604C 001C2FAC 38 00 00 00 */ li r0, 0 /* 801C6050 001C2FB0 90 1E 06 80 */ stw r0, 0x680(r30) lbl_801C6054: /* 801C6054 001C2FB4 7F C3 F3 78 */ mr r3, r30 /* 801C6058 001C2FB8 38 80 00 00 */ li r4, 0 /* 801C605C 001C2FBC 4B EB 15 15 */ bl __dt__10CPatternedFv /* 801C6060 001C2FC0 7F E0 07 35 */ extsh. r0, r31 /* 801C6064 001C2FC4 40 81 00 0C */ ble lbl_801C6070 /* 801C6068 001C2FC8 7F C3 F3 78 */ mr r3, r30 /* 801C606C 001C2FCC 48 14 F8 C5 */ bl Free__7CMemoryFPCv lbl_801C6070: /* 801C6070 001C2FD0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C6074 001C2FD4 7F C3 F3 78 */ mr r3, r30 /* 801C6078 001C2FD8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C607C 001C2FDC 83 C1 00 08 */ lwz r30, 8(r1) /* 801C6080 001C2FE0 7C 08 03 A6 */ mtlr r0 /* 801C6084 001C2FE4 38 21 00 10 */ addi r1, r1, 0x10 /* 801C6088 001C2FE8 4E 80 00 20 */ blr .global "__ct__12CMetroidBetaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CMetroidData" "__ct__12CMetroidBetaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CMetroidData": /* 801C608C 001C2FEC 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801C6090 001C2FF0 7C 08 02 A6 */ mflr r0 /* 801C6094 001C2FF4 39 60 00 03 */ li r11, 3 /* 801C6098 001C2FF8 7D 0C 43 78 */ mr r12, r8 /* 801C609C 001C2FFC 90 01 01 04 */ stw r0, 0x104(r1) /* 801C60A0 001C3000 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801C60A4 001C3004 83 E1 01 08 */ lwz r31, 0x108(r1) /* 801C60A8 001C3008 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 801C60AC 001C300C 7C 7E 1B 78 */ mr r30, r3 /* 801C60B0 001C3010 93 A1 00 F4 */ stw r29, 0xf4(r1) /* 801C60B4 001C3014 7C DD 33 78 */ mr r29, r6 /* 801C60B8 001C3018 7C A6 2B 78 */ mr r6, r5 /* 801C60BC 001C301C 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C60C0 001C3020 93 81 00 F0 */ stw r28, 0xf0(r1) /* 801C60C4 001C3024 7D 3C 4B 78 */ mr r28, r9 /* 801C60C8 001C3028 7C E9 3B 78 */ mr r9, r7 /* 801C60CC 001C302C 7F A8 EB 78 */ mr r8, r29 /* 801C60D0 001C3030 A0 04 00 00 */ lhz r0, 0(r4) /* 801C60D4 001C3034 38 80 00 01 */ li r4, 1 /* 801C60D8 001C3038 38 E0 00 01 */ li r7, 1 /* 801C60DC 001C303C B0 01 00 20 */ sth r0, 0x20(r1) /* 801C60E0 001C3040 38 00 00 02 */ li r0, 2 /* 801C60E4 001C3044 93 81 00 08 */ stw r28, 8(r1) /* 801C60E8 001C3048 90 81 00 0C */ stw r4, 0xc(r1) /* 801C60EC 001C304C 90 81 00 10 */ stw r4, 0x10(r1) /* 801C60F0 001C3050 38 80 00 14 */ li r4, 0x14 /* 801C60F4 001C3054 91 61 00 14 */ stw r11, 0x14(r1) /* 801C60F8 001C3058 91 41 00 18 */ stw r10, 0x18(r1) /* 801C60FC 001C305C 7D 8A 63 78 */ mr r10, r12 /* 801C6100 001C3060 90 01 00 1C */ stw r0, 0x1c(r1) /* 801C6104 001C3064 4B EB 73 4D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801C6108 001C3068 3C 60 80 3E */ lis r3, lbl_803E5388@ha /* 801C610C 001C306C 38 00 FF FF */ li r0, -1 /* 801C6110 001C3070 38 63 53 88 */ addi r3, r3, lbl_803E5388@l /* 801C6114 001C3074 7F E4 FB 78 */ mr r4, r31 /* 801C6118 001C3078 90 7E 00 00 */ stw r3, 0(r30) /* 801C611C 001C307C 38 7E 05 6C */ addi r3, r30, 0x56c /* 801C6120 001C3080 90 1E 05 68 */ stw r0, 0x568(r30) /* 801C6124 001C3084 48 00 06 BD */ bl sub_801c67e0 /* 801C6128 001C3088 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801C612C 001C308C 38 7E 06 7C */ addi r3, r30, 0x67c /* 801C6130 001C3090 C0 22 AA A4 */ lfs f1, lbl_805AC7C4@sda21(r2) /* 801C6134 001C3094 38 80 00 00 */ li r4, 0 /* 801C6138 001C3098 B0 1E 06 78 */ sth r0, 0x678(r30) /* 801C613C 001C309C 38 A0 00 03 */ li r5, 3 /* 801C6140 001C30A0 FC 40 08 90 */ fmr f2, f1 /* 801C6144 001C30A4 80 DC 01 0C */ lwz r6, 0x10c(r28) /* 801C6148 001C30A8 48 00 2C 4D */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 801C614C 001C30AC 38 A0 00 FF */ li r5, 0xff /* 801C6150 001C30B0 38 00 00 00 */ li r0, 0 /* 801C6154 001C30B4 98 BE 07 60 */ stb r5, 0x760(r30) /* 801C6158 001C30B8 7F C4 F3 78 */ mr r4, r30 /* 801C615C 001C30BC 3B BE 00 68 */ addi r29, r30, 0x68 /* 801C6160 001C30C0 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801C6164 001C30C4 98 BE 07 61 */ stb r5, 0x761(r30) /* 801C6168 001C30C8 90 1E 07 64 */ stw r0, 0x764(r30) /* 801C616C 001C30CC 4B F5 47 C1 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801C6170 001C30D0 3B 9E 07 68 */ addi r28, r30, 0x768 /* 801C6174 001C30D4 7F A4 EB 78 */ mr r4, r29 /* 801C6178 001C30D8 7F 83 E3 78 */ mr r3, r28 /* 801C617C 001C30DC 48 10 97 39 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 801C6180 001C30E0 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 801C6184 001C30E4 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C6188 001C30E8 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 801C618C 001C30EC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801C6190 001C30F0 90 1C 00 00 */ stw r0, 0(r28) /* 801C6194 001C30F4 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801C6198 001C30F8 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801C619C 001C30FC 38 A1 00 94 */ addi r5, r1, 0x94 /* 801C61A0 001C3100 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801C61A4 001C3104 38 61 00 8C */ addi r3, r1, 0x8c /* 801C61A8 001C3108 D0 1C 00 10 */ stfs f0, 0x10(r28) /* 801C61AC 001C310C C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801C61B0 001C3110 D0 1C 00 14 */ stfs f0, 0x14(r28) /* 801C61B4 001C3114 C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 801C61B8 001C3118 D0 1C 00 18 */ stfs f0, 0x18(r28) /* 801C61BC 001C311C C0 01 00 CC */ lfs f0, 0xcc(r1) /* 801C61C0 001C3120 D0 1C 00 1C */ stfs f0, 0x1c(r28) /* 801C61C4 001C3124 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 801C61C8 001C3128 D0 1C 00 20 */ stfs f0, 0x20(r28) /* 801C61CC 001C312C C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 801C61D0 001C3130 D0 1C 00 24 */ stfs f0, 0x24(r28) /* 801C61D4 001C3134 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 801C61D8 001C3138 B0 DE 07 90 */ sth r6, 0x790(r30) /* 801C61DC 001C313C D0 3E 07 94 */ stfs f1, 0x794(r30) /* 801C61E0 001C3140 D0 3E 07 98 */ stfs f1, 0x798(r30) /* 801C61E4 001C3144 D0 3E 07 9C */ stfs f1, 0x79c(r30) /* 801C61E8 001C3148 D0 3E 07 A0 */ stfs f1, 0x7a0(r30) /* 801C61EC 001C314C D0 3E 07 A4 */ stfs f1, 0x7a4(r30) /* 801C61F0 001C3150 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) /* 801C61F4 001C3154 D0 1E 07 A8 */ stfs f0, 0x7a8(r30) /* 801C61F8 001C3158 C0 04 00 04 */ lfs f0, 4(r4) /* 801C61FC 001C315C D0 1E 07 AC */ stfs f0, 0x7ac(r30) /* 801C6200 001C3160 C0 04 00 08 */ lfs f0, 8(r4) /* 801C6204 001C3164 D0 1E 07 B0 */ stfs f0, 0x7b0(r30) /* 801C6208 001C3168 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801C620C 001C316C C0 44 00 04 */ lfs f2, 4(r4) /* 801C6210 001C3170 C0 64 00 08 */ lfs f3, 8(r4) /* 801C6214 001C3174 C0 04 00 00 */ lfs f0, 0(r4) /* 801C6218 001C3178 D0 1E 07 B4 */ stfs f0, 0x7b4(r30) /* 801C621C 001C317C D0 5E 07 B8 */ stfs f2, 0x7b8(r30) /* 801C6220 001C3180 D0 7E 07 BC */ stfs f3, 0x7bc(r30) /* 801C6224 001C3184 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801C6228 001C3188 C0 44 00 04 */ lfs f2, 4(r4) /* 801C622C 001C318C C0 64 00 08 */ lfs f3, 8(r4) /* 801C6230 001C3190 C0 04 00 00 */ lfs f0, 0(r4) /* 801C6234 001C3194 D0 1E 07 C0 */ stfs f0, 0x7c0(r30) /* 801C6238 001C3198 D0 5E 07 C4 */ stfs f2, 0x7c4(r30) /* 801C623C 001C319C D0 7E 07 C8 */ stfs f3, 0x7c8(r30) /* 801C6240 001C31A0 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801C6244 001C31A4 C0 44 00 04 */ lfs f2, 4(r4) /* 801C6248 001C31A8 C0 64 00 08 */ lfs f3, 8(r4) /* 801C624C 001C31AC C0 04 00 00 */ lfs f0, 0(r4) /* 801C6250 001C31B0 D0 1E 07 CC */ stfs f0, 0x7cc(r30) /* 801C6254 001C31B4 D0 5E 07 D0 */ stfs f2, 0x7d0(r30) /* 801C6258 001C31B8 D0 7E 07 D4 */ stfs f3, 0x7d4(r30) /* 801C625C 001C31BC D0 3E 07 D8 */ stfs f1, 0x7d8(r30) /* 801C6260 001C31C0 D0 3E 07 DC */ stfs f1, 0x7dc(r30) /* 801C6264 001C31C4 D0 3E 07 E0 */ stfs f1, 0x7e0(r30) /* 801C6268 001C31C8 80 DF 00 F4 */ lwz r6, 0xf4(r31) /* 801C626C 001C31CC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C6270 001C31D0 90 01 00 94 */ stw r0, 0x94(r1) /* 801C6274 001C31D4 90 C1 00 98 */ stw r6, 0x98(r1) /* 801C6278 001C31D8 81 84 00 00 */ lwz r12, 0(r4) /* 801C627C 001C31DC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C6280 001C31E0 7D 89 03 A6 */ mtctr r12 /* 801C6284 001C31E4 4E 80 04 21 */ bctrl /* 801C6288 001C31E8 3B 9E 07 E4 */ addi r28, r30, 0x7e4 /* 801C628C 001C31EC 38 81 00 8C */ addi r4, r1, 0x8c /* 801C6290 001C31F0 7F 83 E3 78 */ mr r3, r28 /* 801C6294 001C31F4 48 17 AC 15 */ bl __ct__6CTokenFRC6CToken /* 801C6298 001C31F8 7F 83 E3 78 */ mr r3, r28 /* 801C629C 001C31FC 48 17 AB 71 */ bl GetObj__6CTokenFv /* 801C62A0 001C3200 80 03 00 04 */ lwz r0, 4(r3) /* 801C62A4 001C3204 38 61 00 8C */ addi r3, r1, 0x8c /* 801C62A8 001C3208 38 80 FF FF */ li r4, -1 /* 801C62AC 001C320C 90 1C 00 08 */ stw r0, 8(r28) /* 801C62B0 001C3210 48 17 AB 91 */ bl __dt__6CTokenFv /* 801C62B4 001C3214 80 DF 00 F8 */ lwz r6, 0xf8(r31) /* 801C62B8 001C3218 3C 60 53 57 */ lis r3, 0x53574843@ha /* 801C62BC 001C321C 38 03 48 43 */ addi r0, r3, 0x53574843@l /* 801C62C0 001C3220 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C62C4 001C3224 90 01 00 84 */ stw r0, 0x84(r1) /* 801C62C8 001C3228 38 61 00 7C */ addi r3, r1, 0x7c /* 801C62CC 001C322C 38 A1 00 84 */ addi r5, r1, 0x84 /* 801C62D0 001C3230 90 C1 00 88 */ stw r6, 0x88(r1) /* 801C62D4 001C3234 81 84 00 00 */ lwz r12, 0(r4) /* 801C62D8 001C3238 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C62DC 001C323C 7D 89 03 A6 */ mtctr r12 /* 801C62E0 001C3240 4E 80 04 21 */ bctrl /* 801C62E4 001C3244 3B 9E 07 F0 */ addi r28, r30, 0x7f0 /* 801C62E8 001C3248 38 81 00 7C */ addi r4, r1, 0x7c /* 801C62EC 001C324C 7F 83 E3 78 */ mr r3, r28 /* 801C62F0 001C3250 48 17 AB B9 */ bl __ct__6CTokenFRC6CToken /* 801C62F4 001C3254 7F 83 E3 78 */ mr r3, r28 /* 801C62F8 001C3258 48 17 AB 15 */ bl GetObj__6CTokenFv /* 801C62FC 001C325C 80 03 00 04 */ lwz r0, 4(r3) /* 801C6300 001C3260 38 61 00 7C */ addi r3, r1, 0x7c /* 801C6304 001C3264 38 80 FF FF */ li r4, -1 /* 801C6308 001C3268 90 1C 00 08 */ stw r0, 8(r28) /* 801C630C 001C326C 48 17 AB 35 */ bl __dt__6CTokenFv /* 801C6310 001C3270 80 DF 00 FC */ lwz r6, 0xfc(r31) /* 801C6314 001C3274 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801C6318 001C3278 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801C631C 001C327C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C6320 001C3280 90 01 00 74 */ stw r0, 0x74(r1) /* 801C6324 001C3284 38 61 00 6C */ addi r3, r1, 0x6c /* 801C6328 001C3288 38 A1 00 74 */ addi r5, r1, 0x74 /* 801C632C 001C328C 90 C1 00 78 */ stw r6, 0x78(r1) /* 801C6330 001C3290 81 84 00 00 */ lwz r12, 0(r4) /* 801C6334 001C3294 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C6338 001C3298 7D 89 03 A6 */ mtctr r12 /* 801C633C 001C329C 4E 80 04 21 */ bctrl /* 801C6340 001C32A0 3B 9E 07 FC */ addi r28, r30, 0x7fc /* 801C6344 001C32A4 38 81 00 6C */ addi r4, r1, 0x6c /* 801C6348 001C32A8 7F 83 E3 78 */ mr r3, r28 /* 801C634C 001C32AC 48 17 AB 5D */ bl __ct__6CTokenFRC6CToken /* 801C6350 001C32B0 7F 83 E3 78 */ mr r3, r28 /* 801C6354 001C32B4 48 17 AA B9 */ bl GetObj__6CTokenFv /* 801C6358 001C32B8 80 03 00 04 */ lwz r0, 4(r3) /* 801C635C 001C32BC 38 61 00 6C */ addi r3, r1, 0x6c /* 801C6360 001C32C0 38 80 FF FF */ li r4, -1 /* 801C6364 001C32C4 90 1C 00 08 */ stw r0, 8(r28) /* 801C6368 001C32C8 48 17 AA D9 */ bl __dt__6CTokenFv /* 801C636C 001C32CC 80 DF 01 00 */ lwz r6, 0x100(r31) /* 801C6370 001C32D0 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801C6374 001C32D4 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801C6378 001C32D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C637C 001C32DC 90 01 00 64 */ stw r0, 0x64(r1) /* 801C6380 001C32E0 38 61 00 5C */ addi r3, r1, 0x5c /* 801C6384 001C32E4 38 A1 00 64 */ addi r5, r1, 0x64 /* 801C6388 001C32E8 90 C1 00 68 */ stw r6, 0x68(r1) /* 801C638C 001C32EC 81 84 00 00 */ lwz r12, 0(r4) /* 801C6390 001C32F0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C6394 001C32F4 7D 89 03 A6 */ mtctr r12 /* 801C6398 001C32F8 4E 80 04 21 */ bctrl /* 801C639C 001C32FC 3B 9E 08 08 */ addi r28, r30, 0x808 /* 801C63A0 001C3300 38 81 00 5C */ addi r4, r1, 0x5c /* 801C63A4 001C3304 7F 83 E3 78 */ mr r3, r28 /* 801C63A8 001C3308 48 17 AB 01 */ bl __ct__6CTokenFRC6CToken /* 801C63AC 001C330C 7F 83 E3 78 */ mr r3, r28 /* 801C63B0 001C3310 48 17 AA 5D */ bl GetObj__6CTokenFv /* 801C63B4 001C3314 80 03 00 04 */ lwz r0, 4(r3) /* 801C63B8 001C3318 38 61 00 5C */ addi r3, r1, 0x5c /* 801C63BC 001C331C 38 80 FF FF */ li r4, -1 /* 801C63C0 001C3320 90 1C 00 08 */ stw r0, 8(r28) /* 801C63C4 001C3324 48 17 AA 7D */ bl __dt__6CTokenFv /* 801C63C8 001C3328 80 DF 01 04 */ lwz r6, 0x104(r31) /* 801C63CC 001C332C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801C63D0 001C3330 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801C63D4 001C3334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801C63D8 001C3338 90 01 00 54 */ stw r0, 0x54(r1) /* 801C63DC 001C333C 38 61 00 4C */ addi r3, r1, 0x4c /* 801C63E0 001C3340 38 A1 00 54 */ addi r5, r1, 0x54 /* 801C63E4 001C3344 90 C1 00 58 */ stw r6, 0x58(r1) /* 801C63E8 001C3348 81 84 00 00 */ lwz r12, 0(r4) /* 801C63EC 001C334C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C63F0 001C3350 7D 89 03 A6 */ mtctr r12 /* 801C63F4 001C3354 4E 80 04 21 */ bctrl /* 801C63F8 001C3358 3B 9E 08 14 */ addi r28, r30, 0x814 /* 801C63FC 001C335C 38 81 00 4C */ addi r4, r1, 0x4c /* 801C6400 001C3360 7F 83 E3 78 */ mr r3, r28 /* 801C6404 001C3364 48 17 AA A5 */ bl __ct__6CTokenFRC6CToken /* 801C6408 001C3368 7F 83 E3 78 */ mr r3, r28 /* 801C640C 001C336C 48 17 AA 01 */ bl GetObj__6CTokenFv /* 801C6410 001C3370 80 03 00 04 */ lwz r0, 4(r3) /* 801C6414 001C3374 38 61 00 4C */ addi r3, r1, 0x4c /* 801C6418 001C3378 38 80 FF FF */ li r4, -1 /* 801C641C 001C337C 90 1C 00 08 */ stw r0, 8(r28) /* 801C6420 001C3380 48 17 AA 21 */ bl __dt__6CTokenFv /* 801C6424 001C3384 3C 60 80 3D */ lis r3, lbl_803D1A80@ha /* 801C6428 001C3388 3B 80 00 00 */ li r28, 0 /* 801C642C 001C338C 38 83 1A 80 */ addi r4, r3, lbl_803D1A80@l /* 801C6430 001C3390 38 60 03 40 */ li r3, 0x340 /* 801C6434 001C3394 38 84 00 19 */ addi r4, r4, 0x19 /* 801C6438 001C3398 38 A0 00 00 */ li r5, 0 /* 801C643C 001C339C 48 14 F4 31 */ bl __nw__FUlPCcPCc /* 801C6440 001C33A0 7C 7D 1B 79 */ or. r29, r3, r3 /* 801C6444 001C33A4 41 82 00 2C */ beq lbl_801C6470 /* 801C6448 001C33A8 38 61 00 44 */ addi r3, r1, 0x44 /* 801C644C 001C33AC 38 9E 07 E4 */ addi r4, r30, 0x7e4 /* 801C6450 001C33B0 48 17 AA 59 */ bl __ct__6CTokenFRC6CToken /* 801C6454 001C33B4 7F A3 EB 78 */ mr r3, r29 /* 801C6458 001C33B8 38 81 00 44 */ addi r4, r1, 0x44 /* 801C645C 001C33BC 3B 80 00 01 */ li r28, 1 /* 801C6460 001C33C0 38 A0 00 00 */ li r5, 0 /* 801C6464 001C33C4 38 C0 00 01 */ li r6, 1 /* 801C6468 001C33C8 48 15 8F 79 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801C646C 001C33CC 7C 7D 1B 78 */ mr r29, r3 lbl_801C6470: /* 801C6470 001C33D0 7F 80 07 75 */ extsb. r0, r28 /* 801C6474 001C33D4 93 BE 08 20 */ stw r29, 0x820(r30) /* 801C6478 001C33D8 41 82 00 10 */ beq lbl_801C6488 /* 801C647C 001C33DC 38 61 00 44 */ addi r3, r1, 0x44 /* 801C6480 001C33E0 38 80 00 00 */ li r4, 0 /* 801C6484 001C33E4 48 17 A9 BD */ bl __dt__6CTokenFv lbl_801C6488: /* 801C6488 001C33E8 3C 60 80 3D */ lis r3, lbl_803D1A80@ha /* 801C648C 001C33EC 3B 80 00 00 */ li r28, 0 /* 801C6490 001C33F0 38 83 1A 80 */ addi r4, r3, lbl_803D1A80@l /* 801C6494 001C33F4 38 60 02 10 */ li r3, 0x210 /* 801C6498 001C33F8 38 84 00 19 */ addi r4, r4, 0x19 /* 801C649C 001C33FC 38 A0 00 00 */ li r5, 0 /* 801C64A0 001C3400 48 14 F3 CD */ bl __nw__FUlPCcPCc /* 801C64A4 001C3404 7C 7D 1B 79 */ or. r29, r3, r3 /* 801C64A8 001C3408 41 82 00 28 */ beq lbl_801C64D0 /* 801C64AC 001C340C 38 61 00 3C */ addi r3, r1, 0x3c /* 801C64B0 001C3410 38 9E 07 F0 */ addi r4, r30, 0x7f0 /* 801C64B4 001C3414 48 17 A9 F5 */ bl __ct__6CTokenFRC6CToken /* 801C64B8 001C3418 7F A3 EB 78 */ mr r3, r29 /* 801C64BC 001C341C 38 81 00 3C */ addi r4, r1, 0x3c /* 801C64C0 001C3420 3B 80 00 01 */ li r28, 1 /* 801C64C4 001C3424 38 A0 00 00 */ li r5, 0 /* 801C64C8 001C3428 48 16 89 1D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" /* 801C64CC 001C342C 7C 7D 1B 78 */ mr r29, r3 lbl_801C64D0: /* 801C64D0 001C3430 7F 80 07 75 */ extsb. r0, r28 /* 801C64D4 001C3434 93 BE 08 24 */ stw r29, 0x824(r30) /* 801C64D8 001C3438 41 82 00 10 */ beq lbl_801C64E8 /* 801C64DC 001C343C 38 61 00 3C */ addi r3, r1, 0x3c /* 801C64E0 001C3440 38 80 00 00 */ li r4, 0 /* 801C64E4 001C3444 48 17 A9 5D */ bl __dt__6CTokenFv lbl_801C64E8: /* 801C64E8 001C3448 3C 60 80 3D */ lis r3, lbl_803D1A80@ha /* 801C64EC 001C344C 3B 80 00 00 */ li r28, 0 /* 801C64F0 001C3450 38 83 1A 80 */ addi r4, r3, lbl_803D1A80@l /* 801C64F4 001C3454 38 60 03 40 */ li r3, 0x340 /* 801C64F8 001C3458 38 84 00 19 */ addi r4, r4, 0x19 /* 801C64FC 001C345C 38 A0 00 00 */ li r5, 0 /* 801C6500 001C3460 48 14 F3 6D */ bl __nw__FUlPCcPCc /* 801C6504 001C3464 7C 7D 1B 79 */ or. r29, r3, r3 /* 801C6508 001C3468 41 82 00 2C */ beq lbl_801C6534 /* 801C650C 001C346C 38 61 00 34 */ addi r3, r1, 0x34 /* 801C6510 001C3470 38 9E 07 FC */ addi r4, r30, 0x7fc /* 801C6514 001C3474 48 17 A9 95 */ bl __ct__6CTokenFRC6CToken /* 801C6518 001C3478 7F A3 EB 78 */ mr r3, r29 /* 801C651C 001C347C 38 81 00 34 */ addi r4, r1, 0x34 /* 801C6520 001C3480 3B 80 00 01 */ li r28, 1 /* 801C6524 001C3484 38 A0 00 00 */ li r5, 0 /* 801C6528 001C3488 38 C0 00 01 */ li r6, 1 /* 801C652C 001C348C 48 15 8E B5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801C6530 001C3490 7C 7D 1B 78 */ mr r29, r3 lbl_801C6534: /* 801C6534 001C3494 7F 80 07 75 */ extsb. r0, r28 /* 801C6538 001C3498 93 BE 08 28 */ stw r29, 0x828(r30) /* 801C653C 001C349C 41 82 00 10 */ beq lbl_801C654C /* 801C6540 001C34A0 38 61 00 34 */ addi r3, r1, 0x34 /* 801C6544 001C34A4 38 80 00 00 */ li r4, 0 /* 801C6548 001C34A8 48 17 A8 F9 */ bl __dt__6CTokenFv lbl_801C654C: /* 801C654C 001C34AC 3C 60 80 3D */ lis r3, lbl_803D1A80@ha /* 801C6550 001C34B0 3B 80 00 00 */ li r28, 0 /* 801C6554 001C34B4 38 83 1A 80 */ addi r4, r3, lbl_803D1A80@l /* 801C6558 001C34B8 38 60 03 40 */ li r3, 0x340 /* 801C655C 001C34BC 38 84 00 19 */ addi r4, r4, 0x19 /* 801C6560 001C34C0 38 A0 00 00 */ li r5, 0 /* 801C6564 001C34C4 48 14 F3 09 */ bl __nw__FUlPCcPCc /* 801C6568 001C34C8 7C 7D 1B 79 */ or. r29, r3, r3 /* 801C656C 001C34CC 41 82 00 2C */ beq lbl_801C6598 /* 801C6570 001C34D0 38 61 00 2C */ addi r3, r1, 0x2c /* 801C6574 001C34D4 38 9E 08 08 */ addi r4, r30, 0x808 /* 801C6578 001C34D8 48 17 A9 31 */ bl __ct__6CTokenFRC6CToken /* 801C657C 001C34DC 7F A3 EB 78 */ mr r3, r29 /* 801C6580 001C34E0 38 81 00 2C */ addi r4, r1, 0x2c /* 801C6584 001C34E4 3B 80 00 01 */ li r28, 1 /* 801C6588 001C34E8 38 A0 00 00 */ li r5, 0 /* 801C658C 001C34EC 38 C0 00 01 */ li r6, 1 /* 801C6590 001C34F0 48 15 8E 51 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801C6594 001C34F4 7C 7D 1B 78 */ mr r29, r3 lbl_801C6598: /* 801C6598 001C34F8 7F 80 07 75 */ extsb. r0, r28 /* 801C659C 001C34FC 93 BE 08 2C */ stw r29, 0x82c(r30) /* 801C65A0 001C3500 41 82 00 10 */ beq lbl_801C65B0 /* 801C65A4 001C3504 38 61 00 2C */ addi r3, r1, 0x2c /* 801C65A8 001C3508 38 80 00 00 */ li r4, 0 /* 801C65AC 001C350C 48 17 A8 95 */ bl __dt__6CTokenFv lbl_801C65B0: /* 801C65B0 001C3510 3C 60 80 3D */ lis r3, lbl_803D1A80@ha /* 801C65B4 001C3514 3B 80 00 00 */ li r28, 0 /* 801C65B8 001C3518 38 83 1A 80 */ addi r4, r3, lbl_803D1A80@l /* 801C65BC 001C351C 38 60 03 40 */ li r3, 0x340 /* 801C65C0 001C3520 38 84 00 19 */ addi r4, r4, 0x19 /* 801C65C4 001C3524 38 A0 00 00 */ li r5, 0 /* 801C65C8 001C3528 48 14 F2 A5 */ bl __nw__FUlPCcPCc /* 801C65CC 001C352C 7C 7D 1B 79 */ or. r29, r3, r3 /* 801C65D0 001C3530 41 82 00 2C */ beq lbl_801C65FC /* 801C65D4 001C3534 38 61 00 24 */ addi r3, r1, 0x24 /* 801C65D8 001C3538 38 9E 08 14 */ addi r4, r30, 0x814 /* 801C65DC 001C353C 48 17 A8 CD */ bl __ct__6CTokenFRC6CToken /* 801C65E0 001C3540 7F A3 EB 78 */ mr r3, r29 /* 801C65E4 001C3544 38 81 00 24 */ addi r4, r1, 0x24 /* 801C65E8 001C3548 3B 80 00 01 */ li r28, 1 /* 801C65EC 001C354C 38 A0 00 00 */ li r5, 0 /* 801C65F0 001C3550 38 C0 00 01 */ li r6, 1 /* 801C65F4 001C3554 48 15 8D ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801C65F8 001C3558 7C 7D 1B 78 */ mr r29, r3 lbl_801C65FC: /* 801C65FC 001C355C 7F 80 07 75 */ extsb. r0, r28 /* 801C6600 001C3560 93 BE 08 30 */ stw r29, 0x830(r30) /* 801C6604 001C3564 41 82 00 10 */ beq lbl_801C6614 /* 801C6608 001C3568 38 61 00 24 */ addi r3, r1, 0x24 /* 801C660C 001C356C 38 80 00 00 */ li r4, 0 /* 801C6610 001C3570 48 17 A8 31 */ bl __dt__6CTokenFv lbl_801C6614: /* 801C6614 001C3574 C0 02 AA 98 */ lfs f0, lbl_805AC7B8@sda21(r2) /* 801C6618 001C3578 38 7E 08 38 */ addi r3, r30, 0x838 /* 801C661C 001C357C 38 80 05 BD */ li r4, 0x5bd /* 801C6620 001C3580 D0 1E 08 34 */ stfs f0, 0x834(r30) /* 801C6624 001C3584 48 14 BF C9 */ bl __ct__9CRandom16FUi /* 801C6628 001C3588 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C662C 001C358C 38 60 00 00 */ li r3, 0 /* 801C6630 001C3590 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C6634 001C3594 38 80 00 00 */ li r4, 0 /* 801C6638 001C3598 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C663C 001C359C 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C6640 001C35A0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801C6644 001C35A4 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C6648 001C35A8 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C664C 001C35AC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801C6650 001C35B0 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C6654 001C35B4 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C6658 001C35B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801C665C 001C35BC 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C6660 001C35C0 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C6664 001C35C4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801C6668 001C35C8 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C666C 001C35CC 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C6670 001C35D0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801C6674 001C35D4 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C6678 001C35D8 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C667C 001C35DC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801C6680 001C35E0 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C6684 001C35E4 88 1E 08 40 */ lbz r0, 0x840(r30) /* 801C6688 001C35E8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801C668C 001C35EC 98 1E 08 40 */ stb r0, 0x840(r30) /* 801C6690 001C35F0 80 7E 08 20 */ lwz r3, 0x820(r30) /* 801C6694 001C35F4 81 83 00 00 */ lwz r12, 0(r3) /* 801C6698 001C35F8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C669C 001C35FC 7D 89 03 A6 */ mtctr r12 /* 801C66A0 001C3600 4E 80 04 21 */ bctrl /* 801C66A4 001C3604 80 7E 08 28 */ lwz r3, 0x828(r30) /* 801C66A8 001C3608 38 80 00 00 */ li r4, 0 /* 801C66AC 001C360C 81 83 00 00 */ lwz r12, 0(r3) /* 801C66B0 001C3610 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C66B4 001C3614 7D 89 03 A6 */ mtctr r12 /* 801C66B8 001C3618 4E 80 04 21 */ bctrl /* 801C66BC 001C361C 80 7E 08 2C */ lwz r3, 0x82c(r30) /* 801C66C0 001C3620 38 80 00 00 */ li r4, 0 /* 801C66C4 001C3624 81 83 00 00 */ lwz r12, 0(r3) /* 801C66C8 001C3628 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801C66CC 001C362C 7D 89 03 A6 */ mtctr r12 /* 801C66D0 001C3630 4E 80 04 21 */ bctrl /* 801C66D4 001C3634 83 BE 08 24 */ lwz r29, 0x824(r30) /* 801C66D8 001C3638 3B 80 00 00 */ li r28, 0 /* 801C66DC 001C363C 3B E0 00 01 */ li r31, 1 /* 801C66E0 001C3640 48 00 00 30 */ b lbl_801C6710 lbl_801C66E4: /* 801C66E4 001C3644 80 7E 08 24 */ lwz r3, 0x824(r30) /* 801C66E8 001C3648 C8 22 AB 10 */ lfd f1, lbl_805AC830@sda21(r2) /* 801C66EC 001C364C 88 03 01 D0 */ lbz r0, 0x1d0(r3) /* 801C66F0 001C3650 53 E0 2E B4 */ rlwimi r0, r31, 5, 0x1a, 0x1a /* 801C66F4 001C3654 98 03 01 D0 */ stb r0, 0x1d0(r3) /* 801C66F8 001C3658 80 7E 08 24 */ lwz r3, 0x824(r30) /* 801C66FC 001C365C 81 83 00 00 */ lwz r12, 0(r3) /* 801C6700 001C3660 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801C6704 001C3664 7D 89 03 A6 */ mtctr r12 /* 801C6708 001C3668 4E 80 04 21 */ bctrl /* 801C670C 001C366C 3B 9C 00 01 */ addi r28, r28, 1 lbl_801C6710: /* 801C6710 001C3670 80 7D 01 60 */ lwz r3, 0x160(r29) /* 801C6714 001C3674 38 03 FF FF */ addi r0, r3, -1 /* 801C6718 001C3678 7C 1C 00 00 */ cmpw r28, r0 /* 801C671C 001C367C 41 80 FF C8 */ blt lbl_801C66E4 /* 801C6720 001C3680 80 DE 00 64 */ lwz r6, 0x64(r30) /* 801C6724 001C3684 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801C6728 001C3688 C0 02 AA F4 */ lfs f0, lbl_805AC814@sda21(r2) /* 801C672C 001C368C 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801C6730 001C3690 C0 66 00 04 */ lfs f3, 4(r6) /* 801C6734 001C3694 38 A1 00 9C */ addi r5, r1, 0x9c /* 801C6738 001C3698 C0 86 00 00 */ lfs f4, 0(r6) /* 801C673C 001C369C EC C0 00 F2 */ fmuls f6, f0, f3 /* 801C6740 001C36A0 C0 46 00 08 */ lfs f2, 8(r6) /* 801C6744 001C36A4 C0 22 AA 9C */ lfs f1, lbl_805AC7BC@sda21(r2) /* 801C6748 001C36A8 C0 02 AB 18 */ lfs f0, lbl_805AC838@sda21(r2) /* 801C674C 001C36AC FC A0 30 50 */ fneg f5, f6 /* 801C6750 001C36B0 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801C6754 001C36B4 EC 21 01 B2 */ fmuls f1, f1, f6 /* 801C6758 001C36B8 EC 00 01 B2 */ fmuls f0, f0, f6 /* 801C675C 001C36BC D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 801C6760 001C36C0 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801C6764 001C36C4 D0 C1 00 9C */ stfs f6, 0x9c(r1) /* 801C6768 001C36C8 D0 C1 00 A0 */ stfs f6, 0xa0(r1) /* 801C676C 001C36CC D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801C6770 001C36D0 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 801C6774 001C36D4 D0 A1 00 AC */ stfs f5, 0xac(r1) /* 801C6778 001C36D8 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801C677C 001C36DC 48 17 1D 8D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801C6780 001C36E0 7F C3 F3 78 */ mr r3, r30 /* 801C6784 001C36E4 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801C6788 001C36E8 4B F5 3E D1 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox /* 801C678C 001C36EC 80 81 00 D8 */ lwz r4, 0xd8(r1) /* 801C6790 001C36F0 7F C3 F3 78 */ mr r3, r30 /* 801C6794 001C36F4 80 01 00 DC */ lwz r0, 0xdc(r1) /* 801C6798 001C36F8 90 9E 07 78 */ stw r4, 0x778(r30) /* 801C679C 001C36FC 90 1E 07 7C */ stw r0, 0x77c(r30) /* 801C67A0 001C3700 80 01 00 E0 */ lwz r0, 0xe0(r1) /* 801C67A4 001C3704 90 1E 07 80 */ stw r0, 0x780(r30) /* 801C67A8 001C3708 80 81 00 E4 */ lwz r4, 0xe4(r1) /* 801C67AC 001C370C 80 01 00 E8 */ lwz r0, 0xe8(r1) /* 801C67B0 001C3710 90 9E 07 84 */ stw r4, 0x784(r30) /* 801C67B4 001C3714 90 1E 07 88 */ stw r0, 0x788(r30) /* 801C67B8 001C3718 80 01 00 EC */ lwz r0, 0xec(r1) /* 801C67BC 001C371C 90 1E 07 8C */ stw r0, 0x78c(r30) /* 801C67C0 001C3720 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801C67C4 001C3724 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 801C67C8 001C3728 83 A1 00 F4 */ lwz r29, 0xf4(r1) /* 801C67CC 001C372C 83 81 00 F0 */ lwz r28, 0xf0(r1) /* 801C67D0 001C3730 80 01 01 04 */ lwz r0, 0x104(r1) /* 801C67D4 001C3734 7C 08 03 A6 */ mtlr r0 /* 801C67D8 001C3738 38 21 01 00 */ addi r1, r1, 0x100 /* 801C67DC 001C373C 4E 80 00 20 */ blr .global sub_801c67e0 sub_801c67e0: /* 801C67E0 001C3740 80 A4 00 00 */ lwz r5, 0(r4) /* 801C67E4 001C3744 80 04 00 04 */ lwz r0, 4(r4) /* 801C67E8 001C3748 90 A3 00 00 */ stw r5, 0(r3) /* 801C67EC 001C374C 90 03 00 04 */ stw r0, 4(r3) /* 801C67F0 001C3750 80 A4 00 08 */ lwz r5, 8(r4) /* 801C67F4 001C3754 80 04 00 0C */ lwz r0, 0xc(r4) /* 801C67F8 001C3758 90 A3 00 08 */ stw r5, 8(r3) /* 801C67FC 001C375C 90 03 00 0C */ stw r0, 0xc(r3) /* 801C6800 001C3760 80 A4 00 10 */ lwz r5, 0x10(r4) /* 801C6804 001C3764 80 04 00 14 */ lwz r0, 0x14(r4) /* 801C6808 001C3768 90 A3 00 10 */ stw r5, 0x10(r3) /* 801C680C 001C376C 90 03 00 14 */ stw r0, 0x14(r3) /* 801C6810 001C3770 80 A4 00 18 */ lwz r5, 0x18(r4) /* 801C6814 001C3774 80 04 00 1C */ lwz r0, 0x1c(r4) /* 801C6818 001C3778 90 A3 00 18 */ stw r5, 0x18(r3) /* 801C681C 001C377C 90 03 00 1C */ stw r0, 0x1c(r3) /* 801C6820 001C3780 80 A4 00 20 */ lwz r5, 0x20(r4) /* 801C6824 001C3784 80 04 00 24 */ lwz r0, 0x24(r4) /* 801C6828 001C3788 90 A3 00 20 */ stw r5, 0x20(r3) /* 801C682C 001C378C 90 03 00 24 */ stw r0, 0x24(r3) /* 801C6830 001C3790 80 A4 00 28 */ lwz r5, 0x28(r4) /* 801C6834 001C3794 80 04 00 2C */ lwz r0, 0x2c(r4) /* 801C6838 001C3798 90 A3 00 28 */ stw r5, 0x28(r3) /* 801C683C 001C379C 90 03 00 2C */ stw r0, 0x2c(r3) /* 801C6840 001C37A0 80 A4 00 30 */ lwz r5, 0x30(r4) /* 801C6844 001C37A4 80 04 00 34 */ lwz r0, 0x34(r4) /* 801C6848 001C37A8 90 A3 00 30 */ stw r5, 0x30(r3) /* 801C684C 001C37AC 90 03 00 34 */ stw r0, 0x34(r3) /* 801C6850 001C37B0 80 04 00 38 */ lwz r0, 0x38(r4) /* 801C6854 001C37B4 90 03 00 38 */ stw r0, 0x38(r3) /* 801C6858 001C37B8 80 A4 00 3C */ lwz r5, 0x3c(r4) /* 801C685C 001C37BC 80 04 00 40 */ lwz r0, 0x40(r4) /* 801C6860 001C37C0 90 A3 00 3C */ stw r5, 0x3c(r3) /* 801C6864 001C37C4 90 03 00 40 */ stw r0, 0x40(r3) /* 801C6868 001C37C8 80 A4 00 44 */ lwz r5, 0x44(r4) /* 801C686C 001C37CC 80 04 00 48 */ lwz r0, 0x48(r4) /* 801C6870 001C37D0 90 A3 00 44 */ stw r5, 0x44(r3) /* 801C6874 001C37D4 90 03 00 48 */ stw r0, 0x48(r3) /* 801C6878 001C37D8 80 A4 00 4C */ lwz r5, 0x4c(r4) /* 801C687C 001C37DC 80 04 00 50 */ lwz r0, 0x50(r4) /* 801C6880 001C37E0 90 A3 00 4C */ stw r5, 0x4c(r3) /* 801C6884 001C37E4 90 03 00 50 */ stw r0, 0x50(r3) /* 801C6888 001C37E8 80 A4 00 54 */ lwz r5, 0x54(r4) /* 801C688C 001C37EC 80 04 00 58 */ lwz r0, 0x58(r4) /* 801C6890 001C37F0 90 A3 00 54 */ stw r5, 0x54(r3) /* 801C6894 001C37F4 90 03 00 58 */ stw r0, 0x58(r3) /* 801C6898 001C37F8 80 04 00 5C */ lwz r0, 0x5c(r4) /* 801C689C 001C37FC 90 03 00 5C */ stw r0, 0x5c(r3) /* 801C68A0 001C3800 80 04 00 60 */ lwz r0, 0x60(r4) /* 801C68A4 001C3804 90 03 00 60 */ stw r0, 0x60(r3) /* 801C68A8 001C3808 80 04 00 64 */ lwz r0, 0x64(r4) /* 801C68AC 001C380C 90 03 00 64 */ stw r0, 0x64(r3) /* 801C68B0 001C3810 80 A4 00 68 */ lwz r5, 0x68(r4) /* 801C68B4 001C3814 80 04 00 6C */ lwz r0, 0x6c(r4) /* 801C68B8 001C3818 90 A3 00 68 */ stw r5, 0x68(r3) /* 801C68BC 001C381C 90 03 00 6C */ stw r0, 0x6c(r3) /* 801C68C0 001C3820 80 A4 00 70 */ lwz r5, 0x70(r4) /* 801C68C4 001C3824 80 04 00 74 */ lwz r0, 0x74(r4) /* 801C68C8 001C3828 90 A3 00 70 */ stw r5, 0x70(r3) /* 801C68CC 001C382C 90 03 00 74 */ stw r0, 0x74(r3) /* 801C68D0 001C3830 80 A4 00 78 */ lwz r5, 0x78(r4) /* 801C68D4 001C3834 80 04 00 7C */ lwz r0, 0x7c(r4) /* 801C68D8 001C3838 90 A3 00 78 */ stw r5, 0x78(r3) /* 801C68DC 001C383C 90 03 00 7C */ stw r0, 0x7c(r3) /* 801C68E0 001C3840 80 A4 00 80 */ lwz r5, 0x80(r4) /* 801C68E4 001C3844 80 04 00 84 */ lwz r0, 0x84(r4) /* 801C68E8 001C3848 90 A3 00 80 */ stw r5, 0x80(r3) /* 801C68EC 001C384C 90 03 00 84 */ stw r0, 0x84(r3) /* 801C68F0 001C3850 80 A4 00 88 */ lwz r5, 0x88(r4) /* 801C68F4 001C3854 80 04 00 8C */ lwz r0, 0x8c(r4) /* 801C68F8 001C3858 90 A3 00 88 */ stw r5, 0x88(r3) /* 801C68FC 001C385C 90 03 00 8C */ stw r0, 0x8c(r3) /* 801C6900 001C3860 80 A4 00 90 */ lwz r5, 0x90(r4) /* 801C6904 001C3864 80 04 00 94 */ lwz r0, 0x94(r4) /* 801C6908 001C3868 90 A3 00 90 */ stw r5, 0x90(r3) /* 801C690C 001C386C 90 03 00 94 */ stw r0, 0x94(r3) /* 801C6910 001C3870 80 A4 00 98 */ lwz r5, 0x98(r4) /* 801C6914 001C3874 80 04 00 9C */ lwz r0, 0x9c(r4) /* 801C6918 001C3878 90 A3 00 98 */ stw r5, 0x98(r3) /* 801C691C 001C387C 90 03 00 9C */ stw r0, 0x9c(r3) /* 801C6920 001C3880 80 04 00 A0 */ lwz r0, 0xa0(r4) /* 801C6924 001C3884 90 03 00 A0 */ stw r0, 0xa0(r3) /* 801C6928 001C3888 80 A4 00 A4 */ lwz r5, 0xa4(r4) /* 801C692C 001C388C 80 04 00 A8 */ lwz r0, 0xa8(r4) /* 801C6930 001C3890 90 A3 00 A4 */ stw r5, 0xa4(r3) /* 801C6934 001C3894 90 03 00 A8 */ stw r0, 0xa8(r3) /* 801C6938 001C3898 80 A4 00 AC */ lwz r5, 0xac(r4) /* 801C693C 001C389C 80 04 00 B0 */ lwz r0, 0xb0(r4) /* 801C6940 001C38A0 90 A3 00 AC */ stw r5, 0xac(r3) /* 801C6944 001C38A4 90 03 00 B0 */ stw r0, 0xb0(r3) /* 801C6948 001C38A8 80 A4 00 B4 */ lwz r5, 0xb4(r4) /* 801C694C 001C38AC 80 04 00 B8 */ lwz r0, 0xb8(r4) /* 801C6950 001C38B0 90 A3 00 B4 */ stw r5, 0xb4(r3) /* 801C6954 001C38B4 90 03 00 B8 */ stw r0, 0xb8(r3) /* 801C6958 001C38B8 80 A4 00 BC */ lwz r5, 0xbc(r4) /* 801C695C 001C38BC 80 04 00 C0 */ lwz r0, 0xc0(r4) /* 801C6960 001C38C0 90 A3 00 BC */ stw r5, 0xbc(r3) /* 801C6964 001C38C4 90 03 00 C0 */ stw r0, 0xc0(r3) /* 801C6968 001C38C8 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 801C696C 001C38CC 90 03 00 C4 */ stw r0, 0xc4(r3) /* 801C6970 001C38D0 80 04 00 C8 */ lwz r0, 0xc8(r4) /* 801C6974 001C38D4 90 03 00 C8 */ stw r0, 0xc8(r3) /* 801C6978 001C38D8 80 04 00 CC */ lwz r0, 0xcc(r4) /* 801C697C 001C38DC 90 03 00 CC */ stw r0, 0xcc(r3) /* 801C6980 001C38E0 C0 04 00 D0 */ lfs f0, 0xd0(r4) /* 801C6984 001C38E4 D0 03 00 D0 */ stfs f0, 0xd0(r3) /* 801C6988 001C38E8 C0 04 00 D4 */ lfs f0, 0xd4(r4) /* 801C698C 001C38EC D0 03 00 D4 */ stfs f0, 0xd4(r3) /* 801C6990 001C38F0 C0 04 00 D8 */ lfs f0, 0xd8(r4) /* 801C6994 001C38F4 D0 03 00 D8 */ stfs f0, 0xd8(r3) /* 801C6998 001C38F8 C0 04 00 DC */ lfs f0, 0xdc(r4) /* 801C699C 001C38FC D0 03 00 DC */ stfs f0, 0xdc(r3) /* 801C69A0 001C3900 C0 04 00 E0 */ lfs f0, 0xe0(r4) /* 801C69A4 001C3904 D0 03 00 E0 */ stfs f0, 0xe0(r3) /* 801C69A8 001C3908 C0 04 00 E4 */ lfs f0, 0xe4(r4) /* 801C69AC 001C390C D0 03 00 E4 */ stfs f0, 0xe4(r3) /* 801C69B0 001C3910 C0 04 00 E8 */ lfs f0, 0xe8(r4) /* 801C69B4 001C3914 D0 03 00 E8 */ stfs f0, 0xe8(r3) /* 801C69B8 001C3918 C0 04 00 EC */ lfs f0, 0xec(r4) /* 801C69BC 001C391C D0 03 00 EC */ stfs f0, 0xec(r3) /* 801C69C0 001C3920 C0 04 00 F0 */ lfs f0, 0xf0(r4) /* 801C69C4 001C3924 D0 03 00 F0 */ stfs f0, 0xf0(r3) /* 801C69C8 001C3928 80 04 00 F4 */ lwz r0, 0xf4(r4) /* 801C69CC 001C392C 90 03 00 F4 */ stw r0, 0xf4(r3) /* 801C69D0 001C3930 80 04 00 F8 */ lwz r0, 0xf8(r4) /* 801C69D4 001C3934 90 03 00 F8 */ stw r0, 0xf8(r3) /* 801C69D8 001C3938 80 04 00 FC */ lwz r0, 0xfc(r4) /* 801C69DC 001C393C 90 03 00 FC */ stw r0, 0xfc(r3) /* 801C69E0 001C3940 80 04 01 00 */ lwz r0, 0x100(r4) /* 801C69E4 001C3944 90 03 01 00 */ stw r0, 0x100(r3) /* 801C69E8 001C3948 80 04 01 04 */ lwz r0, 0x104(r4) /* 801C69EC 001C394C 90 03 01 04 */ stw r0, 0x104(r3) /* 801C69F0 001C3950 88 04 01 08 */ lbz r0, 0x108(r4) /* 801C69F4 001C3954 98 03 01 08 */ stb r0, 0x108(r3) /* 801C69F8 001C3958 4E 80 00 20 */ blr .global __ct__16CMetroidBetaDataFR12CInputStream __ct__16CMetroidBetaDataFR12CInputStream: /* 801C69FC 001C395C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C6A00 001C3960 7C 08 02 A6 */ mflr r0 /* 801C6A04 001C3964 90 01 00 14 */ stw r0, 0x14(r1) /* 801C6A08 001C3968 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C6A0C 001C396C 7C 9F 23 78 */ mr r31, r4 /* 801C6A10 001C3970 93 C1 00 08 */ stw r30, 8(r1) /* 801C6A14 001C3974 7C 7E 1B 78 */ mr r30, r3 /* 801C6A18 001C3978 4B F3 C1 41 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 801C6A1C 001C397C 7F E4 FB 78 */ mr r4, r31 /* 801C6A20 001C3980 38 7E 00 68 */ addi r3, r30, 0x68 /* 801C6A24 001C3984 4B F3 C1 35 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 801C6A28 001C3988 7F E3 FB 78 */ mr r3, r31 /* 801C6A2C 001C398C 48 17 81 FD */ bl ReadFloat__12CInputStreamFv /* 801C6A30 001C3990 D0 3E 00 D0 */ stfs f1, 0xd0(r30) /* 801C6A34 001C3994 7F E3 FB 78 */ mr r3, r31 /* 801C6A38 001C3998 48 17 81 F1 */ bl ReadFloat__12CInputStreamFv /* 801C6A3C 001C399C D0 3E 00 D4 */ stfs f1, 0xd4(r30) /* 801C6A40 001C39A0 7F E3 FB 78 */ mr r3, r31 /* 801C6A44 001C39A4 48 17 81 E5 */ bl ReadFloat__12CInputStreamFv /* 801C6A48 001C39A8 D0 3E 00 D8 */ stfs f1, 0xd8(r30) /* 801C6A4C 001C39AC 7F E3 FB 78 */ mr r3, r31 /* 801C6A50 001C39B0 48 17 81 D9 */ bl ReadFloat__12CInputStreamFv /* 801C6A54 001C39B4 D0 3E 00 DC */ stfs f1, 0xdc(r30) /* 801C6A58 001C39B8 7F E3 FB 78 */ mr r3, r31 /* 801C6A5C 001C39BC 48 17 81 CD */ bl ReadFloat__12CInputStreamFv /* 801C6A60 001C39C0 D0 3E 00 E0 */ stfs f1, 0xe0(r30) /* 801C6A64 001C39C4 7F E3 FB 78 */ mr r3, r31 /* 801C6A68 001C39C8 48 17 81 C1 */ bl ReadFloat__12CInputStreamFv /* 801C6A6C 001C39CC D0 3E 00 E4 */ stfs f1, 0xe4(r30) /* 801C6A70 001C39D0 7F E3 FB 78 */ mr r3, r31 /* 801C6A74 001C39D4 48 17 81 B5 */ bl ReadFloat__12CInputStreamFv /* 801C6A78 001C39D8 D0 3E 00 E8 */ stfs f1, 0xe8(r30) /* 801C6A7C 001C39DC 7F E3 FB 78 */ mr r3, r31 /* 801C6A80 001C39E0 48 17 81 A9 */ bl ReadFloat__12CInputStreamFv /* 801C6A84 001C39E4 D0 3E 00 EC */ stfs f1, 0xec(r30) /* 801C6A88 001C39E8 7F E3 FB 78 */ mr r3, r31 /* 801C6A8C 001C39EC 48 17 81 9D */ bl ReadFloat__12CInputStreamFv /* 801C6A90 001C39F0 D0 3E 00 F0 */ stfs f1, 0xf0(r30) /* 801C6A94 001C39F4 7F E3 FB 78 */ mr r3, r31 /* 801C6A98 001C39F8 48 17 81 ED */ bl ReadLong__12CInputStreamFv /* 801C6A9C 001C39FC 90 7E 00 F4 */ stw r3, 0xf4(r30) /* 801C6AA0 001C3A00 7F E3 FB 78 */ mr r3, r31 /* 801C6AA4 001C3A04 48 17 81 E1 */ bl ReadLong__12CInputStreamFv /* 801C6AA8 001C3A08 90 7E 00 F8 */ stw r3, 0xf8(r30) /* 801C6AAC 001C3A0C 7F E3 FB 78 */ mr r3, r31 /* 801C6AB0 001C3A10 48 17 81 D5 */ bl ReadLong__12CInputStreamFv /* 801C6AB4 001C3A14 90 7E 00 FC */ stw r3, 0xfc(r30) /* 801C6AB8 001C3A18 7F E3 FB 78 */ mr r3, r31 /* 801C6ABC 001C3A1C 48 17 81 C9 */ bl ReadLong__12CInputStreamFv /* 801C6AC0 001C3A20 90 7E 01 00 */ stw r3, 0x100(r30) /* 801C6AC4 001C3A24 7F E3 FB 78 */ mr r3, r31 /* 801C6AC8 001C3A28 48 17 81 BD */ bl ReadLong__12CInputStreamFv /* 801C6ACC 001C3A2C 90 7E 01 04 */ stw r3, 0x104(r30) /* 801C6AD0 001C3A30 7F E3 FB 78 */ mr r3, r31 /* 801C6AD4 001C3A34 48 17 82 09 */ bl ReadBool__12CInputStreamFv /* 801C6AD8 001C3A38 88 1E 01 08 */ lbz r0, 0x108(r30) /* 801C6ADC 001C3A3C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801C6AE0 001C3A40 7F C3 F3 78 */ mr r3, r30 /* 801C6AE4 001C3A44 98 1E 01 08 */ stb r0, 0x108(r30) /* 801C6AE8 001C3A48 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C6AEC 001C3A4C 83 C1 00 08 */ lwz r30, 8(r1) /* 801C6AF0 001C3A50 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C6AF4 001C3A54 7C 08 03 A6 */ mtlr r0 /* 801C6AF8 001C3A58 38 21 00 10 */ addi r1, r1, 0x10 /* 801C6AFC 001C3A5C 4E 80 00 20 */ blr .global __sinit_CMetroidBeta_cpp __sinit_CMetroidBeta_cpp: /* 801C6B00 001C3A60 C0 62 AA A4 */ lfs f3, lbl_805AC7C4@sda21(r2) /* 801C6B04 001C3A64 3C 80 80 57 */ lis r4, lbl_80572048@ha /* 801C6B08 001C3A68 C0 42 AB 1C */ lfs f2, lbl_805AC83C@sda21(r2) /* 801C6B0C 001C3A6C 3C 60 80 57 */ lis r3, lbl_80572060@ha /* 801C6B10 001C3A70 D4 64 20 48 */ stfsu f3, lbl_80572048@l(r4) /* 801C6B14 001C3A74 C0 22 AA 98 */ lfs f1, lbl_805AC7B8@sda21(r2) /* 801C6B18 001C3A78 D4 43 20 60 */ stfsu f2, lbl_80572060@l(r3) /* 801C6B1C 001C3A7C C0 02 AB 20 */ lfs f0, lbl_805AC840@sda21(r2) /* 801C6B20 001C3A80 D0 64 00 04 */ stfs f3, 4(r4) /* 801C6B24 001C3A84 D0 64 00 08 */ stfs f3, 8(r4) /* 801C6B28 001C3A88 D0 23 00 04 */ stfs f1, 4(r3) /* 801C6B2C 001C3A8C D0 03 00 08 */ stfs f0, 8(r3) /* 801C6B30 001C3A90 4E 80 00 20 */ blr .global OnPath__15CPathFindSearchCFRC9CVector3f OnPath__15CPathFindSearchCFRC9CVector3f: /* 801C6B34 001C3A94 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801C6B38 001C3A98 7C 08 02 A6 */ mflr r0 /* 801C6B3C 001C3A9C 90 01 00 54 */ stw r0, 0x54(r1) /* 801C6B40 001C3AA0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801C6B44 001C3AA4 7C 7F 1B 78 */ mr r31, r3 /* 801C6B48 001C3AA8 80 63 00 00 */ lwz r3, 0(r3) /* 801C6B4C 001C3AAC 28 03 00 00 */ cmplwi r3, 0 /* 801C6B50 001C3AB0 40 82 00 0C */ bne lbl_801C6B5C /* 801C6B54 001C3AB4 38 60 00 01 */ li r3, 1 /* 801C6B58 001C3AB8 48 00 01 5C */ b lbl_801C6CB4 lbl_801C6B5C: /* 801C6B5C 001C3ABC 38 C3 01 88 */ addi r6, r3, 0x188 /* 801C6B60 001C3AC0 C0 24 00 08 */ lfs f1, 8(r4) /* 801C6B64 001C3AC4 C0 03 01 B4 */ lfs f0, 0x1b4(r3) /* 801C6B68 001C3AC8 38 61 00 14 */ addi r3, r1, 0x14 /* 801C6B6C 001C3ACC C0 64 00 04 */ lfs f3, 4(r4) /* 801C6B70 001C3AD0 38 A1 00 08 */ addi r5, r1, 8 /* 801C6B74 001C3AD4 C0 46 00 1C */ lfs f2, 0x1c(r6) /* 801C6B78 001C3AD8 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C6B7C 001C3ADC C0 24 00 00 */ lfs f1, 0(r4) /* 801C6B80 001C3AE0 7C C4 33 78 */ mr r4, r6 /* 801C6B84 001C3AE4 C0 06 00 0C */ lfs f0, 0xc(r6) /* 801C6B88 001C3AE8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C6B8C 001C3AEC EC 01 00 28 */ fsubs f0, f1, f0 /* 801C6B90 001C3AF0 D0 81 00 10 */ stfs f4, 0x10(r1) /* 801C6B94 001C3AF4 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801C6B98 001C3AF8 D0 01 00 08 */ stfs f0, 8(r1) /* 801C6B9C 001C3AFC 48 14 BE 89 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C6BA0 001C3B00 80 7F 00 DC */ lwz r3, 0xdc(r31) /* 801C6BA4 001C3B04 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801C6BA8 001C3B08 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801C6BAC 001C3B0C 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C6BB0 001C3B10 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801C6BB4 001C3B14 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801C6BB8 001C3B18 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801C6BBC 001C3B1C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801C6BC0 001C3B20 40 82 00 18 */ bne lbl_801C6BD8 /* 801C6BC4 001C3B24 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C6BC8 001C3B28 40 82 00 10 */ bne lbl_801C6BD8 /* 801C6BCC 001C3B2C C0 02 AB 28 */ lfs f0, lbl_805AC848@sda21(r2) /* 801C6BD0 001C3B30 EC 01 00 2A */ fadds f0, f1, f0 /* 801C6BD4 001C3B34 D0 01 00 28 */ stfs f0, 0x28(r1) lbl_801C6BD8: /* 801C6BD8 001C3B38 38 00 00 00 */ li r0, 0 /* 801C6BDC 001C3B3C 80 7F 00 00 */ lwz r3, 0(r31) /* 801C6BE0 001C3B40 90 01 00 2C */ stw r0, 0x2c(r1) /* 801C6BE4 001C3B44 38 81 00 2C */ addi r4, r1, 0x2c /* 801C6BE8 001C3B48 80 DF 00 DC */ lwz r6, 0xdc(r31) /* 801C6BEC 001C3B4C 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C6BF0 001C3B50 80 FF 00 E0 */ lwz r7, 0xe0(r31) /* 801C6BF4 001C3B54 48 00 3E 51 */ bl "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" /* 801C6BF8 001C3B58 2C 03 00 00 */ cmpwi r3, 0 /* 801C6BFC 001C3B5C 40 82 00 60 */ bne lbl_801C6C5C /* 801C6C00 001C3B60 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801C6C04 001C3B64 38 60 00 00 */ li r3, 0 /* 801C6C08 001C3B68 2C 05 00 00 */ cmpwi r5, 0 /* 801C6C0C 001C3B6C 40 81 00 40 */ ble lbl_801C6C4C /* 801C6C10 001C3B70 2C 05 00 08 */ cmpwi r5, 8 /* 801C6C14 001C3B74 38 85 FF F8 */ addi r4, r5, -8 /* 801C6C18 001C3B78 40 81 00 20 */ ble lbl_801C6C38 /* 801C6C1C 001C3B7C 38 04 00 07 */ addi r0, r4, 7 /* 801C6C20 001C3B80 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6C24 001C3B84 7C 09 03 A6 */ mtctr r0 /* 801C6C28 001C3B88 2C 04 00 00 */ cmpwi r4, 0 /* 801C6C2C 001C3B8C 40 81 00 0C */ ble lbl_801C6C38 lbl_801C6C30: /* 801C6C30 001C3B90 38 63 00 08 */ addi r3, r3, 8 /* 801C6C34 001C3B94 42 00 FF FC */ bdnz lbl_801C6C30 lbl_801C6C38: /* 801C6C38 001C3B98 7C 03 28 50 */ subf r0, r3, r5 /* 801C6C3C 001C3B9C 7C 09 03 A6 */ mtctr r0 /* 801C6C40 001C3BA0 7C 03 28 00 */ cmpw r3, r5 /* 801C6C44 001C3BA4 40 80 00 08 */ bge lbl_801C6C4C lbl_801C6C48: /* 801C6C48 001C3BA8 42 00 00 00 */ bdnz lbl_801C6C48 lbl_801C6C4C: /* 801C6C4C 001C3BAC 38 00 00 00 */ li r0, 0 /* 801C6C50 001C3BB0 38 60 00 02 */ li r3, 2 /* 801C6C54 001C3BB4 90 01 00 2C */ stw r0, 0x2c(r1) /* 801C6C58 001C3BB8 48 00 00 5C */ b lbl_801C6CB4 lbl_801C6C5C: /* 801C6C5C 001C3BBC 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 801C6C60 001C3BC0 38 60 00 00 */ li r3, 0 /* 801C6C64 001C3BC4 2C 05 00 00 */ cmpwi r5, 0 /* 801C6C68 001C3BC8 40 81 00 40 */ ble lbl_801C6CA8 /* 801C6C6C 001C3BCC 2C 05 00 08 */ cmpwi r5, 8 /* 801C6C70 001C3BD0 38 85 FF F8 */ addi r4, r5, -8 /* 801C6C74 001C3BD4 40 81 00 20 */ ble lbl_801C6C94 /* 801C6C78 001C3BD8 38 04 00 07 */ addi r0, r4, 7 /* 801C6C7C 001C3BDC 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6C80 001C3BE0 7C 09 03 A6 */ mtctr r0 /* 801C6C84 001C3BE4 2C 04 00 00 */ cmpwi r4, 0 /* 801C6C88 001C3BE8 40 81 00 0C */ ble lbl_801C6C94 lbl_801C6C8C: /* 801C6C8C 001C3BEC 38 63 00 08 */ addi r3, r3, 8 /* 801C6C90 001C3BF0 42 00 FF FC */ bdnz lbl_801C6C8C lbl_801C6C94: /* 801C6C94 001C3BF4 7C 03 28 50 */ subf r0, r3, r5 /* 801C6C98 001C3BF8 7C 09 03 A6 */ mtctr r0 /* 801C6C9C 001C3BFC 7C 03 28 00 */ cmpw r3, r5 /* 801C6CA0 001C3C00 40 80 00 08 */ bge lbl_801C6CA8 lbl_801C6CA4: /* 801C6CA4 001C3C04 42 00 00 00 */ bdnz lbl_801C6CA4 lbl_801C6CA8: /* 801C6CA8 001C3C08 38 00 00 00 */ li r0, 0 /* 801C6CAC 001C3C0C 38 60 00 00 */ li r3, 0 /* 801C6CB0 001C3C10 90 01 00 2C */ stw r0, 0x2c(r1) lbl_801C6CB4: /* 801C6CB4 001C3C14 80 01 00 54 */ lwz r0, 0x54(r1) /* 801C6CB8 001C3C18 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801C6CBC 001C3C1C 7C 08 03 A6 */ mtlr r0 /* 801C6CC0 001C3C20 38 21 00 50 */ addi r1, r1, 0x50 /* 801C6CC4 001C3C24 4E 80 00 20 */ blr .global PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f: /* 801C6CC8 001C3C28 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801C6CCC 001C3C2C 7C 08 02 A6 */ mflr r0 /* 801C6CD0 001C3C30 90 01 00 94 */ stw r0, 0x94(r1) /* 801C6CD4 001C3C34 BF 41 00 78 */ stmw r26, 0x78(r1) /* 801C6CD8 001C3C38 7C 7F 1B 78 */ mr r31, r3 /* 801C6CDC 001C3C3C 7C BA 2B 78 */ mr r26, r5 /* 801C6CE0 001C3C40 80 63 00 00 */ lwz r3, 0(r3) /* 801C6CE4 001C3C44 28 03 00 00 */ cmplwi r3, 0 /* 801C6CE8 001C3C48 40 82 00 0C */ bne lbl_801C6CF4 /* 801C6CEC 001C3C4C 38 60 00 01 */ li r3, 1 /* 801C6CF0 001C3C50 48 00 03 F8 */ b lbl_801C70E8 lbl_801C6CF4: /* 801C6CF4 001C3C54 38 C3 01 88 */ addi r6, r3, 0x188 /* 801C6CF8 001C3C58 C0 24 00 08 */ lfs f1, 8(r4) /* 801C6CFC 001C3C5C C0 03 01 B4 */ lfs f0, 0x1b4(r3) /* 801C6D00 001C3C60 38 61 00 2C */ addi r3, r1, 0x2c /* 801C6D04 001C3C64 C0 64 00 04 */ lfs f3, 4(r4) /* 801C6D08 001C3C68 38 A1 00 14 */ addi r5, r1, 0x14 /* 801C6D0C 001C3C6C C0 46 00 1C */ lfs f2, 0x1c(r6) /* 801C6D10 001C3C70 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C6D14 001C3C74 C0 24 00 00 */ lfs f1, 0(r4) /* 801C6D18 001C3C78 7C C4 33 78 */ mr r4, r6 /* 801C6D1C 001C3C7C C0 06 00 0C */ lfs f0, 0xc(r6) /* 801C6D20 001C3C80 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C6D24 001C3C84 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C6D28 001C3C88 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801C6D2C 001C3C8C D0 41 00 18 */ stfs f2, 0x18(r1) /* 801C6D30 001C3C90 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801C6D34 001C3C94 48 14 BC F1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C6D38 001C3C98 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801C6D3C 001C3C9C 38 61 00 20 */ addi r3, r1, 0x20 /* 801C6D40 001C3CA0 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801C6D44 001C3CA4 38 A1 00 08 */ addi r5, r1, 8 /* 801C6D48 001C3CA8 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801C6D4C 001C3CAC 80 9F 00 00 */ lwz r4, 0(r31) /* 801C6D50 001C3CB0 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801C6D54 001C3CB4 38 84 01 88 */ addi r4, r4, 0x188 /* 801C6D58 001C3CB8 C0 BA 00 08 */ lfs f5, 8(r26) /* 801C6D5C 001C3CBC D0 41 00 44 */ stfs f2, 0x44(r1) /* 801C6D60 001C3CC0 C0 7A 00 04 */ lfs f3, 4(r26) /* 801C6D64 001C3CC4 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801C6D68 001C3CC8 C0 3A 00 00 */ lfs f1, 0(r26) /* 801C6D6C 001C3CCC C0 84 00 2C */ lfs f4, 0x2c(r4) /* 801C6D70 001C3CD0 C0 44 00 1C */ lfs f2, 0x1c(r4) /* 801C6D74 001C3CD4 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801C6D78 001C3CD8 EC 85 20 28 */ fsubs f4, f5, f4 /* 801C6D7C 001C3CDC EC 43 10 28 */ fsubs f2, f3, f2 /* 801C6D80 001C3CE0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C6D84 001C3CE4 D0 81 00 10 */ stfs f4, 0x10(r1) /* 801C6D88 001C3CE8 D0 01 00 08 */ stfs f0, 8(r1) /* 801C6D8C 001C3CEC D0 41 00 0C */ stfs f2, 0xc(r1) /* 801C6D90 001C3CF0 48 14 BC 95 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C6D94 001C3CF4 80 7F 00 DC */ lwz r3, 0xdc(r31) /* 801C6D98 001C3CF8 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801C6D9C 001C3CFC C0 21 00 24 */ lfs f1, 0x24(r1) /* 801C6DA0 001C3D00 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C6DA4 001C3D04 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801C6DA8 001C3D08 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801C6DAC 001C3D0C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801C6DB0 001C3D10 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801C6DB4 001C3D14 40 82 00 24 */ bne lbl_801C6DD8 /* 801C6DB8 001C3D18 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C6DBC 001C3D1C 40 82 00 1C */ bne lbl_801C6DD8 /* 801C6DC0 001C3D20 C0 22 AB 28 */ lfs f1, lbl_805AC848@sda21(r2) /* 801C6DC4 001C3D24 C0 41 00 4C */ lfs f2, 0x4c(r1) /* 801C6DC8 001C3D28 EC 00 08 2A */ fadds f0, f0, f1 /* 801C6DCC 001C3D2C EC 22 08 2A */ fadds f1, f2, f1 /* 801C6DD0 001C3D30 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801C6DD4 001C3D34 D0 21 00 4C */ stfs f1, 0x4c(r1) lbl_801C6DD8: /* 801C6DD8 001C3D38 38 00 00 00 */ li r0, 0 /* 801C6DDC 001C3D3C 80 7F 00 00 */ lwz r3, 0(r31) /* 801C6DE0 001C3D40 90 01 00 64 */ stw r0, 0x64(r1) /* 801C6DE4 001C3D44 38 81 00 64 */ addi r4, r1, 0x64 /* 801C6DE8 001C3D48 80 DF 00 DC */ lwz r6, 0xdc(r31) /* 801C6DEC 001C3D4C 38 A1 00 44 */ addi r5, r1, 0x44 /* 801C6DF0 001C3D50 80 FF 00 E0 */ lwz r7, 0xe0(r31) /* 801C6DF4 001C3D54 48 00 3C 51 */ bl "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" /* 801C6DF8 001C3D58 2C 03 00 00 */ cmpwi r3, 0 /* 801C6DFC 001C3D5C 40 82 00 60 */ bne lbl_801C6E5C /* 801C6E00 001C3D60 80 A1 00 64 */ lwz r5, 0x64(r1) /* 801C6E04 001C3D64 38 60 00 00 */ li r3, 0 /* 801C6E08 001C3D68 2C 05 00 00 */ cmpwi r5, 0 /* 801C6E0C 001C3D6C 40 81 00 40 */ ble lbl_801C6E4C /* 801C6E10 001C3D70 2C 05 00 08 */ cmpwi r5, 8 /* 801C6E14 001C3D74 38 85 FF F8 */ addi r4, r5, -8 /* 801C6E18 001C3D78 40 81 00 20 */ ble lbl_801C6E38 /* 801C6E1C 001C3D7C 38 04 00 07 */ addi r0, r4, 7 /* 801C6E20 001C3D80 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6E24 001C3D84 7C 09 03 A6 */ mtctr r0 /* 801C6E28 001C3D88 2C 04 00 00 */ cmpwi r4, 0 /* 801C6E2C 001C3D8C 40 81 00 0C */ ble lbl_801C6E38 lbl_801C6E30: /* 801C6E30 001C3D90 38 63 00 08 */ addi r3, r3, 8 /* 801C6E34 001C3D94 42 00 FF FC */ bdnz lbl_801C6E30 lbl_801C6E38: /* 801C6E38 001C3D98 7C 03 28 50 */ subf r0, r3, r5 /* 801C6E3C 001C3D9C 7C 09 03 A6 */ mtctr r0 /* 801C6E40 001C3DA0 7C 03 28 00 */ cmpw r3, r5 /* 801C6E44 001C3DA4 40 80 00 08 */ bge lbl_801C6E4C lbl_801C6E48: /* 801C6E48 001C3DA8 42 00 00 00 */ bdnz lbl_801C6E48 lbl_801C6E4C: /* 801C6E4C 001C3DAC 38 00 00 00 */ li r0, 0 /* 801C6E50 001C3DB0 38 60 00 02 */ li r3, 2 /* 801C6E54 001C3DB4 90 01 00 64 */ stw r0, 0x64(r1) /* 801C6E58 001C3DB8 48 00 02 90 */ b lbl_801C70E8 lbl_801C6E5C: /* 801C6E5C 001C3DBC 38 00 00 00 */ li r0, 0 /* 801C6E60 001C3DC0 80 7F 00 00 */ lwz r3, 0(r31) /* 801C6E64 001C3DC4 90 01 00 50 */ stw r0, 0x50(r1) /* 801C6E68 001C3DC8 38 81 00 50 */ addi r4, r1, 0x50 /* 801C6E6C 001C3DCC 80 DF 00 DC */ lwz r6, 0xdc(r31) /* 801C6E70 001C3DD0 38 A1 00 38 */ addi r5, r1, 0x38 /* 801C6E74 001C3DD4 80 FF 00 E0 */ lwz r7, 0xe0(r31) /* 801C6E78 001C3DD8 48 00 3B CD */ bl "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" /* 801C6E7C 001C3DDC 2C 03 00 00 */ cmpwi r3, 0 /* 801C6E80 001C3DE0 40 82 00 B0 */ bne lbl_801C6F30 /* 801C6E84 001C3DE4 80 A1 00 50 */ lwz r5, 0x50(r1) /* 801C6E88 001C3DE8 38 60 00 00 */ li r3, 0 /* 801C6E8C 001C3DEC 2C 05 00 00 */ cmpwi r5, 0 /* 801C6E90 001C3DF0 40 81 00 40 */ ble lbl_801C6ED0 /* 801C6E94 001C3DF4 2C 05 00 08 */ cmpwi r5, 8 /* 801C6E98 001C3DF8 38 85 FF F8 */ addi r4, r5, -8 /* 801C6E9C 001C3DFC 40 81 00 20 */ ble lbl_801C6EBC /* 801C6EA0 001C3E00 38 04 00 07 */ addi r0, r4, 7 /* 801C6EA4 001C3E04 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6EA8 001C3E08 7C 09 03 A6 */ mtctr r0 /* 801C6EAC 001C3E0C 2C 04 00 00 */ cmpwi r4, 0 /* 801C6EB0 001C3E10 40 81 00 0C */ ble lbl_801C6EBC lbl_801C6EB4: /* 801C6EB4 001C3E14 38 63 00 08 */ addi r3, r3, 8 /* 801C6EB8 001C3E18 42 00 FF FC */ bdnz lbl_801C6EB4 lbl_801C6EBC: /* 801C6EBC 001C3E1C 7C 03 28 50 */ subf r0, r3, r5 /* 801C6EC0 001C3E20 7C 09 03 A6 */ mtctr r0 /* 801C6EC4 001C3E24 7C 03 28 00 */ cmpw r3, r5 /* 801C6EC8 001C3E28 40 80 00 08 */ bge lbl_801C6ED0 lbl_801C6ECC: /* 801C6ECC 001C3E2C 42 00 00 00 */ bdnz lbl_801C6ECC lbl_801C6ED0: /* 801C6ED0 001C3E30 80 A1 00 64 */ lwz r5, 0x64(r1) /* 801C6ED4 001C3E34 38 60 00 00 */ li r3, 0 /* 801C6ED8 001C3E38 90 61 00 50 */ stw r3, 0x50(r1) /* 801C6EDC 001C3E3C 2C 05 00 00 */ cmpwi r5, 0 /* 801C6EE0 001C3E40 40 81 00 40 */ ble lbl_801C6F20 /* 801C6EE4 001C3E44 2C 05 00 08 */ cmpwi r5, 8 /* 801C6EE8 001C3E48 38 85 FF F8 */ addi r4, r5, -8 /* 801C6EEC 001C3E4C 40 81 00 20 */ ble lbl_801C6F0C /* 801C6EF0 001C3E50 38 04 00 07 */ addi r0, r4, 7 /* 801C6EF4 001C3E54 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6EF8 001C3E58 7C 09 03 A6 */ mtctr r0 /* 801C6EFC 001C3E5C 2C 04 00 00 */ cmpwi r4, 0 /* 801C6F00 001C3E60 40 81 00 0C */ ble lbl_801C6F0C lbl_801C6F04: /* 801C6F04 001C3E64 38 63 00 08 */ addi r3, r3, 8 /* 801C6F08 001C3E68 42 00 FF FC */ bdnz lbl_801C6F04 lbl_801C6F0C: /* 801C6F0C 001C3E6C 7C 03 28 50 */ subf r0, r3, r5 /* 801C6F10 001C3E70 7C 09 03 A6 */ mtctr r0 /* 801C6F14 001C3E74 7C 03 28 00 */ cmpw r3, r5 /* 801C6F18 001C3E78 40 80 00 08 */ bge lbl_801C6F20 lbl_801C6F1C: /* 801C6F1C 001C3E7C 42 00 00 00 */ bdnz lbl_801C6F1C lbl_801C6F20: /* 801C6F20 001C3E80 38 00 00 00 */ li r0, 0 /* 801C6F24 001C3E84 38 60 00 03 */ li r3, 3 /* 801C6F28 001C3E88 90 01 00 64 */ stw r0, 0x64(r1) /* 801C6F2C 001C3E8C 48 00 01 BC */ b lbl_801C70E8 lbl_801C6F30: /* 801C6F30 001C3E90 3B A1 00 68 */ addi r29, r1, 0x68 /* 801C6F34 001C3E94 3B 81 00 54 */ addi r28, r1, 0x54 /* 801C6F38 001C3E98 3B 60 00 00 */ li r27, 0 /* 801C6F3C 001C3E9C 48 00 00 FC */ b lbl_801C7038 lbl_801C6F40: /* 801C6F40 001C3EA0 7F 9E E3 78 */ mr r30, r28 /* 801C6F44 001C3EA4 3B 40 00 00 */ li r26, 0 /* 801C6F48 001C3EA8 48 00 00 DC */ b lbl_801C7024 lbl_801C6F4C: /* 801C6F4C 001C3EAC 80 9D 00 00 */ lwz r4, 0(r29) /* 801C6F50 001C3EB0 80 BE 00 00 */ lwz r5, 0(r30) /* 801C6F54 001C3EB4 7C 04 28 40 */ cmplw r4, r5 /* 801C6F58 001C3EB8 41 82 00 18 */ beq lbl_801C6F70 /* 801C6F5C 001C3EBC 80 7F 00 00 */ lwz r3, 0(r31) /* 801C6F60 001C3EC0 80 DF 00 DC */ lwz r6, 0xdc(r31) /* 801C6F64 001C3EC4 48 00 35 C9 */ bl PathExists__7CPFAreaCFPC9CPFRegionPC9CPFRegionUi /* 801C6F68 001C3EC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C6F6C 001C3ECC 41 82 00 B0 */ beq lbl_801C701C lbl_801C6F70: /* 801C6F70 001C3ED0 80 A1 00 50 */ lwz r5, 0x50(r1) /* 801C6F74 001C3ED4 38 60 00 00 */ li r3, 0 /* 801C6F78 001C3ED8 2C 05 00 00 */ cmpwi r5, 0 /* 801C6F7C 001C3EDC 40 81 00 40 */ ble lbl_801C6FBC /* 801C6F80 001C3EE0 2C 05 00 08 */ cmpwi r5, 8 /* 801C6F84 001C3EE4 38 85 FF F8 */ addi r4, r5, -8 /* 801C6F88 001C3EE8 40 81 00 20 */ ble lbl_801C6FA8 /* 801C6F8C 001C3EEC 38 04 00 07 */ addi r0, r4, 7 /* 801C6F90 001C3EF0 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6F94 001C3EF4 7C 09 03 A6 */ mtctr r0 /* 801C6F98 001C3EF8 2C 04 00 00 */ cmpwi r4, 0 /* 801C6F9C 001C3EFC 40 81 00 0C */ ble lbl_801C6FA8 lbl_801C6FA0: /* 801C6FA0 001C3F00 38 63 00 08 */ addi r3, r3, 8 /* 801C6FA4 001C3F04 42 00 FF FC */ bdnz lbl_801C6FA0 lbl_801C6FA8: /* 801C6FA8 001C3F08 7C 03 28 50 */ subf r0, r3, r5 /* 801C6FAC 001C3F0C 7C 09 03 A6 */ mtctr r0 /* 801C6FB0 001C3F10 7C 03 28 00 */ cmpw r3, r5 /* 801C6FB4 001C3F14 40 80 00 08 */ bge lbl_801C6FBC lbl_801C6FB8: /* 801C6FB8 001C3F18 42 00 00 00 */ bdnz lbl_801C6FB8 lbl_801C6FBC: /* 801C6FBC 001C3F1C 80 A1 00 64 */ lwz r5, 0x64(r1) /* 801C6FC0 001C3F20 38 60 00 00 */ li r3, 0 /* 801C6FC4 001C3F24 90 61 00 50 */ stw r3, 0x50(r1) /* 801C6FC8 001C3F28 2C 05 00 00 */ cmpwi r5, 0 /* 801C6FCC 001C3F2C 40 81 00 40 */ ble lbl_801C700C /* 801C6FD0 001C3F30 2C 05 00 08 */ cmpwi r5, 8 /* 801C6FD4 001C3F34 38 85 FF F8 */ addi r4, r5, -8 /* 801C6FD8 001C3F38 40 81 00 20 */ ble lbl_801C6FF8 /* 801C6FDC 001C3F3C 38 04 00 07 */ addi r0, r4, 7 /* 801C6FE0 001C3F40 54 00 E8 FE */ srwi r0, r0, 3 /* 801C6FE4 001C3F44 7C 09 03 A6 */ mtctr r0 /* 801C6FE8 001C3F48 2C 04 00 00 */ cmpwi r4, 0 /* 801C6FEC 001C3F4C 40 81 00 0C */ ble lbl_801C6FF8 lbl_801C6FF0: /* 801C6FF0 001C3F50 38 63 00 08 */ addi r3, r3, 8 /* 801C6FF4 001C3F54 42 00 FF FC */ bdnz lbl_801C6FF0 lbl_801C6FF8: /* 801C6FF8 001C3F58 7C 03 28 50 */ subf r0, r3, r5 /* 801C6FFC 001C3F5C 7C 09 03 A6 */ mtctr r0 /* 801C7000 001C3F60 7C 03 28 00 */ cmpw r3, r5 /* 801C7004 001C3F64 40 80 00 08 */ bge lbl_801C700C lbl_801C7008: /* 801C7008 001C3F68 42 00 00 00 */ bdnz lbl_801C7008 lbl_801C700C: /* 801C700C 001C3F6C 38 00 00 00 */ li r0, 0 /* 801C7010 001C3F70 38 60 00 00 */ li r3, 0 /* 801C7014 001C3F74 90 01 00 64 */ stw r0, 0x64(r1) /* 801C7018 001C3F78 48 00 00 D0 */ b lbl_801C70E8 lbl_801C701C: /* 801C701C 001C3F7C 3B DE 00 04 */ addi r30, r30, 4 /* 801C7020 001C3F80 3B 5A 00 01 */ addi r26, r26, 1 lbl_801C7024: /* 801C7024 001C3F84 80 01 00 50 */ lwz r0, 0x50(r1) /* 801C7028 001C3F88 7C 1A 00 00 */ cmpw r26, r0 /* 801C702C 001C3F8C 41 80 FF 20 */ blt lbl_801C6F4C /* 801C7030 001C3F90 3B BD 00 04 */ addi r29, r29, 4 /* 801C7034 001C3F94 3B 7B 00 01 */ addi r27, r27, 1 lbl_801C7038: /* 801C7038 001C3F98 80 C1 00 64 */ lwz r6, 0x64(r1) /* 801C703C 001C3F9C 7C 1B 30 00 */ cmpw r27, r6 /* 801C7040 001C3FA0 41 80 FF 00 */ blt lbl_801C6F40 /* 801C7044 001C3FA4 80 A1 00 50 */ lwz r5, 0x50(r1) /* 801C7048 001C3FA8 38 60 00 00 */ li r3, 0 /* 801C704C 001C3FAC 2C 05 00 00 */ cmpwi r5, 0 /* 801C7050 001C3FB0 40 81 00 40 */ ble lbl_801C7090 /* 801C7054 001C3FB4 2C 05 00 08 */ cmpwi r5, 8 /* 801C7058 001C3FB8 38 85 FF F8 */ addi r4, r5, -8 /* 801C705C 001C3FBC 40 81 00 20 */ ble lbl_801C707C /* 801C7060 001C3FC0 38 04 00 07 */ addi r0, r4, 7 /* 801C7064 001C3FC4 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7068 001C3FC8 7C 09 03 A6 */ mtctr r0 /* 801C706C 001C3FCC 2C 04 00 00 */ cmpwi r4, 0 /* 801C7070 001C3FD0 40 81 00 0C */ ble lbl_801C707C lbl_801C7074: /* 801C7074 001C3FD4 38 63 00 08 */ addi r3, r3, 8 /* 801C7078 001C3FD8 42 00 FF FC */ bdnz lbl_801C7074 lbl_801C707C: /* 801C707C 001C3FDC 7C 03 28 50 */ subf r0, r3, r5 /* 801C7080 001C3FE0 7C 09 03 A6 */ mtctr r0 /* 801C7084 001C3FE4 7C 03 28 00 */ cmpw r3, r5 /* 801C7088 001C3FE8 40 80 00 08 */ bge lbl_801C7090 lbl_801C708C: /* 801C708C 001C3FEC 42 00 00 00 */ bdnz lbl_801C708C lbl_801C7090: /* 801C7090 001C3FF0 38 60 00 00 */ li r3, 0 /* 801C7094 001C3FF4 2C 06 00 00 */ cmpwi r6, 0 /* 801C7098 001C3FF8 90 61 00 50 */ stw r3, 0x50(r1) /* 801C709C 001C3FFC 40 81 00 40 */ ble lbl_801C70DC /* 801C70A0 001C4000 2C 06 00 08 */ cmpwi r6, 8 /* 801C70A4 001C4004 38 86 FF F8 */ addi r4, r6, -8 /* 801C70A8 001C4008 40 81 00 20 */ ble lbl_801C70C8 /* 801C70AC 001C400C 38 04 00 07 */ addi r0, r4, 7 /* 801C70B0 001C4010 54 00 E8 FE */ srwi r0, r0, 3 /* 801C70B4 001C4014 7C 09 03 A6 */ mtctr r0 /* 801C70B8 001C4018 2C 04 00 00 */ cmpwi r4, 0 /* 801C70BC 001C401C 40 81 00 0C */ ble lbl_801C70C8 lbl_801C70C0: /* 801C70C0 001C4020 38 63 00 08 */ addi r3, r3, 8 /* 801C70C4 001C4024 42 00 FF FC */ bdnz lbl_801C70C0 lbl_801C70C8: /* 801C70C8 001C4028 7C 03 30 50 */ subf r0, r3, r6 /* 801C70CC 001C402C 7C 09 03 A6 */ mtctr r0 /* 801C70D0 001C4030 7C 03 30 00 */ cmpw r3, r6 /* 801C70D4 001C4034 40 80 00 08 */ bge lbl_801C70DC lbl_801C70D8: /* 801C70D8 001C4038 42 00 00 00 */ bdnz lbl_801C70D8 lbl_801C70DC: /* 801C70DC 001C403C 38 00 00 00 */ li r0, 0 /* 801C70E0 001C4040 38 60 00 04 */ li r3, 4 /* 801C70E4 001C4044 90 01 00 64 */ stw r0, 0x64(r1) lbl_801C70E8: /* 801C70E8 001C4048 BB 41 00 78 */ lmw r26, 0x78(r1) /* 801C70EC 001C404C 80 01 00 94 */ lwz r0, 0x94(r1) /* 801C70F0 001C4050 7C 08 03 A6 */ mtlr r0 /* 801C70F4 001C4054 38 21 00 90 */ addi r1, r1, 0x90 /* 801C70F8 001C4058 4E 80 00 20 */ blr .global FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f: /* 801C70FC 001C405C 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801C7100 001C4060 7C 08 02 A6 */ mflr r0 /* 801C7104 001C4064 90 01 00 94 */ stw r0, 0x94(r1) /* 801C7108 001C4068 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801C710C 001C406C 7C BF 2B 78 */ mr r31, r5 /* 801C7110 001C4070 93 C1 00 88 */ stw r30, 0x88(r1) /* 801C7114 001C4074 7C 7E 1B 78 */ mr r30, r3 /* 801C7118 001C4078 80 63 00 00 */ lwz r3, 0(r3) /* 801C711C 001C407C 28 03 00 00 */ cmplwi r3, 0 /* 801C7120 001C4080 40 82 00 0C */ bne lbl_801C712C /* 801C7124 001C4084 38 60 00 01 */ li r3, 1 /* 801C7128 001C4088 48 00 02 74 */ b lbl_801C739C lbl_801C712C: /* 801C712C 001C408C 38 C3 01 88 */ addi r6, r3, 0x188 /* 801C7130 001C4090 C0 24 00 08 */ lfs f1, 8(r4) /* 801C7134 001C4094 C0 03 01 B4 */ lfs f0, 0x1b4(r3) /* 801C7138 001C4098 38 61 00 44 */ addi r3, r1, 0x44 /* 801C713C 001C409C C0 64 00 04 */ lfs f3, 4(r4) /* 801C7140 001C40A0 38 A1 00 14 */ addi r5, r1, 0x14 /* 801C7144 001C40A4 C0 46 00 1C */ lfs f2, 0x1c(r6) /* 801C7148 001C40A8 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C714C 001C40AC C0 24 00 00 */ lfs f1, 0(r4) /* 801C7150 001C40B0 7C C4 33 78 */ mr r4, r6 /* 801C7154 001C40B4 C0 06 00 0C */ lfs f0, 0xc(r6) /* 801C7158 001C40B8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C715C 001C40BC EC 01 00 28 */ fsubs f0, f1, f0 /* 801C7160 001C40C0 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801C7164 001C40C4 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801C7168 001C40C8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801C716C 001C40CC 48 14 B8 B9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C7170 001C40D0 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801C7174 001C40D4 38 61 00 38 */ addi r3, r1, 0x38 /* 801C7178 001C40D8 C0 21 00 48 */ lfs f1, 0x48(r1) /* 801C717C 001C40DC 38 A1 00 08 */ addi r5, r1, 8 /* 801C7180 001C40E0 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801C7184 001C40E4 80 9E 00 00 */ lwz r4, 0(r30) /* 801C7188 001C40E8 D0 41 00 68 */ stfs f2, 0x68(r1) /* 801C718C 001C40EC 38 84 01 88 */ addi r4, r4, 0x188 /* 801C7190 001C40F0 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801C7194 001C40F4 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801C7198 001C40F8 C0 3F 00 08 */ lfs f1, 8(r31) /* 801C719C 001C40FC C0 04 00 2C */ lfs f0, 0x2c(r4) /* 801C71A0 001C4100 C0 7F 00 04 */ lfs f3, 4(r31) /* 801C71A4 001C4104 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C71A8 001C4108 C0 44 00 1C */ lfs f2, 0x1c(r4) /* 801C71AC 001C410C C0 3F 00 00 */ lfs f1, 0(r31) /* 801C71B0 001C4110 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801C71B4 001C4114 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C71B8 001C4118 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C71BC 001C411C D0 81 00 10 */ stfs f4, 0x10(r1) /* 801C71C0 001C4120 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801C71C4 001C4124 D0 01 00 08 */ stfs f0, 8(r1) /* 801C71C8 001C4128 48 14 B8 5D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C71CC 001C412C 80 7E 00 DC */ lwz r3, 0xdc(r30) /* 801C71D0 001C4130 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801C71D4 001C4134 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801C71D8 001C4138 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C71DC 001C413C C0 01 00 40 */ lfs f0, 0x40(r1) /* 801C71E0 001C4140 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801C71E4 001C4144 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801C71E8 001C4148 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801C71EC 001C414C 40 82 00 24 */ bne lbl_801C7210 /* 801C71F0 001C4150 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C71F4 001C4154 40 82 00 1C */ bne lbl_801C7210 /* 801C71F8 001C4158 C0 22 AB 28 */ lfs f1, lbl_805AC848@sda21(r2) /* 801C71FC 001C415C C0 41 00 70 */ lfs f2, 0x70(r1) /* 801C7200 001C4160 EC 00 08 2A */ fadds f0, f0, f1 /* 801C7204 001C4164 EC 22 08 2A */ fadds f1, f2, f1 /* 801C7208 001C4168 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801C720C 001C416C D0 21 00 70 */ stfs f1, 0x70(r1) lbl_801C7210: /* 801C7210 001C4170 38 00 00 00 */ li r0, 0 /* 801C7214 001C4174 80 7E 00 00 */ lwz r3, 0(r30) /* 801C7218 001C4178 90 01 00 74 */ stw r0, 0x74(r1) /* 801C721C 001C417C 38 81 00 74 */ addi r4, r1, 0x74 /* 801C7220 001C4180 80 DE 00 DC */ lwz r6, 0xdc(r30) /* 801C7224 001C4184 38 A1 00 68 */ addi r5, r1, 0x68 /* 801C7228 001C4188 80 FE 00 E0 */ lwz r7, 0xe0(r30) /* 801C722C 001C418C 48 00 38 19 */ bl "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" /* 801C7230 001C4190 2C 03 00 00 */ cmpwi r3, 0 /* 801C7234 001C4194 40 82 00 A4 */ bne lbl_801C72D8 /* 801C7238 001C4198 80 7E 00 00 */ lwz r3, 0(r30) /* 801C723C 001C419C 38 81 00 68 */ addi r4, r1, 0x68 /* 801C7240 001C41A0 80 BE 00 DC */ lwz r5, 0xdc(r30) /* 801C7244 001C41A4 80 DE 00 E0 */ lwz r6, 0xe0(r30) /* 801C7248 001C41A8 C0 3E 00 D8 */ lfs f1, 0xd8(r30) /* 801C724C 001C41AC 48 00 35 51 */ bl FindClosestRegion__7CPFAreaFRC9CVector3fUif /* 801C7250 001C41B0 28 03 00 00 */ cmplwi r3, 0 /* 801C7254 001C41B4 40 82 00 60 */ bne lbl_801C72B4 /* 801C7258 001C41B8 80 A1 00 74 */ lwz r5, 0x74(r1) /* 801C725C 001C41BC 38 60 00 00 */ li r3, 0 /* 801C7260 001C41C0 2C 05 00 00 */ cmpwi r5, 0 /* 801C7264 001C41C4 40 81 00 40 */ ble lbl_801C72A4 /* 801C7268 001C41C8 2C 05 00 08 */ cmpwi r5, 8 /* 801C726C 001C41CC 38 85 FF F8 */ addi r4, r5, -8 /* 801C7270 001C41D0 40 81 00 20 */ ble lbl_801C7290 /* 801C7274 001C41D4 38 04 00 07 */ addi r0, r4, 7 /* 801C7278 001C41D8 54 00 E8 FE */ srwi r0, r0, 3 /* 801C727C 001C41DC 7C 09 03 A6 */ mtctr r0 /* 801C7280 001C41E0 2C 04 00 00 */ cmpwi r4, 0 /* 801C7284 001C41E4 40 81 00 0C */ ble lbl_801C7290 lbl_801C7288: /* 801C7288 001C41E8 38 63 00 08 */ addi r3, r3, 8 /* 801C728C 001C41EC 42 00 FF FC */ bdnz lbl_801C7288 lbl_801C7290: /* 801C7290 001C41F0 7C 03 28 50 */ subf r0, r3, r5 /* 801C7294 001C41F4 7C 09 03 A6 */ mtctr r0 /* 801C7298 001C41F8 7C 03 28 00 */ cmpw r3, r5 /* 801C729C 001C41FC 40 80 00 08 */ bge lbl_801C72A4 lbl_801C72A0: /* 801C72A0 001C4200 42 00 00 00 */ bdnz lbl_801C72A0 lbl_801C72A4: /* 801C72A4 001C4204 38 00 00 00 */ li r0, 0 /* 801C72A8 001C4208 38 60 00 02 */ li r3, 2 /* 801C72AC 001C420C 90 01 00 74 */ stw r0, 0x74(r1) /* 801C72B0 001C4210 48 00 00 EC */ b lbl_801C739C lbl_801C72B4: /* 801C72B4 001C4214 80 01 00 74 */ lwz r0, 0x74(r1) /* 801C72B8 001C4218 38 81 00 78 */ addi r4, r1, 0x78 /* 801C72BC 001C421C 54 00 10 3A */ slwi r0, r0, 2 /* 801C72C0 001C4220 7C 84 02 15 */ add. r4, r4, r0 /* 801C72C4 001C4224 41 82 00 08 */ beq lbl_801C72CC /* 801C72C8 001C4228 90 64 00 00 */ stw r3, 0(r4) lbl_801C72CC: /* 801C72CC 001C422C 80 61 00 74 */ lwz r3, 0x74(r1) /* 801C72D0 001C4230 38 03 00 01 */ addi r0, r3, 1 /* 801C72D4 001C4234 90 01 00 74 */ stw r0, 0x74(r1) lbl_801C72D8: /* 801C72D8 001C4238 80 9E 00 00 */ lwz r4, 0(r30) /* 801C72DC 001C423C 38 61 00 2C */ addi r3, r1, 0x2c /* 801C72E0 001C4240 80 FE 00 DC */ lwz r7, 0xdc(r30) /* 801C72E4 001C4244 38 A1 00 74 */ addi r5, r1, 0x74 /* 801C72E8 001C4248 81 1E 00 E0 */ lwz r8, 0xe0(r30) /* 801C72EC 001C424C 38 C1 00 5C */ addi r6, r1, 0x5c /* 801C72F0 001C4250 48 00 32 F5 */ bl "FindClosestReachablePoint__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUi" /* 801C72F4 001C4254 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801C72F8 001C4258 38 61 00 20 */ addi r3, r1, 0x20 /* 801C72FC 001C425C C0 02 AB 28 */ lfs f0, lbl_805AC848@sda21(r2) /* 801C7300 001C4260 38 A1 00 50 */ addi r5, r1, 0x50 /* 801C7304 001C4264 C0 61 00 2C */ lfs f3, 0x2c(r1) /* 801C7308 001C4268 C0 41 00 30 */ lfs f2, 0x30(r1) /* 801C730C 001C426C EC 01 00 2A */ fadds f0, f1, f0 /* 801C7310 001C4270 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801C7314 001C4274 80 9E 00 00 */ lwz r4, 0(r30) /* 801C7318 001C4278 D0 61 00 50 */ stfs f3, 0x50(r1) /* 801C731C 001C427C 38 84 01 88 */ addi r4, r4, 0x188 /* 801C7320 001C4280 D0 41 00 54 */ stfs f2, 0x54(r1) /* 801C7324 001C4284 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801C7328 001C4288 48 14 B7 C1 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801C732C 001C428C C0 01 00 20 */ lfs f0, 0x20(r1) /* 801C7330 001C4290 38 60 00 00 */ li r3, 0 /* 801C7334 001C4294 D0 1F 00 00 */ stfs f0, 0(r31) /* 801C7338 001C4298 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801C733C 001C429C D0 1F 00 04 */ stfs f0, 4(r31) /* 801C7340 001C42A0 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801C7344 001C42A4 D0 1F 00 08 */ stfs f0, 8(r31) /* 801C7348 001C42A8 80 A1 00 74 */ lwz r5, 0x74(r1) /* 801C734C 001C42AC 2C 05 00 00 */ cmpwi r5, 0 /* 801C7350 001C42B0 40 81 00 40 */ ble lbl_801C7390 /* 801C7354 001C42B4 2C 05 00 08 */ cmpwi r5, 8 /* 801C7358 001C42B8 38 85 FF F8 */ addi r4, r5, -8 /* 801C735C 001C42BC 40 81 00 20 */ ble lbl_801C737C /* 801C7360 001C42C0 38 04 00 07 */ addi r0, r4, 7 /* 801C7364 001C42C4 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7368 001C42C8 7C 09 03 A6 */ mtctr r0 /* 801C736C 001C42CC 2C 04 00 00 */ cmpwi r4, 0 /* 801C7370 001C42D0 40 81 00 0C */ ble lbl_801C737C lbl_801C7374: /* 801C7374 001C42D4 38 63 00 08 */ addi r3, r3, 8 /* 801C7378 001C42D8 42 00 FF FC */ bdnz lbl_801C7374 lbl_801C737C: /* 801C737C 001C42DC 7C 03 28 50 */ subf r0, r3, r5 /* 801C7380 001C42E0 7C 09 03 A6 */ mtctr r0 /* 801C7384 001C42E4 7C 03 28 00 */ cmpw r3, r5 /* 801C7388 001C42E8 40 80 00 08 */ bge lbl_801C7390 lbl_801C738C: /* 801C738C 001C42EC 42 00 00 00 */ bdnz lbl_801C738C lbl_801C7390: /* 801C7390 001C42F0 38 00 00 00 */ li r0, 0 /* 801C7394 001C42F4 38 60 00 00 */ li r3, 0 /* 801C7398 001C42F8 90 01 00 74 */ stw r0, 0x74(r1) lbl_801C739C: /* 801C739C 001C42FC 80 01 00 94 */ lwz r0, 0x94(r1) /* 801C73A0 001C4300 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801C73A4 001C4304 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801C73A8 001C4308 7C 08 03 A6 */ mtlr r0 /* 801C73AC 001C430C 38 21 00 90 */ addi r1, r1, 0x90 /* 801C73B0 001C4310 4E 80 00 20 */ blr .global "Search__15CPathFindSearchFRQ24rstl30reserved_vectorRC9CVector3fRQ24rstl30reserved_vectorRC9CVector3f" "Search__15CPathFindSearchFRQ24rstl30reserved_vectorRC9CVector3fRQ24rstl30reserved_vectorRC9CVector3f": /* 801C73B4 001C4314 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801C73B8 001C4318 7C 08 02 A6 */ mflr r0 /* 801C73BC 001C431C 39 00 00 00 */ li r8, 0 /* 801C73C0 001C4320 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801C73C4 001C4324 BE E1 00 9C */ stmw r23, 0x9c(r1) /* 801C73C8 001C4328 7C DD 33 78 */ mr r29, r6 /* 801C73CC 001C432C 7C 7B 1B 78 */ mr r27, r3 /* 801C73D0 001C4330 7C 9C 23 78 */ mr r28, r4 /* 801C73D4 001C4334 3B 1D 00 04 */ addi r24, r29, 4 /* 801C73D8 001C4338 7C B7 2B 78 */ mr r23, r5 /* 801C73DC 001C433C 91 01 00 60 */ stw r8, 0x60(r1) /* 801C73E0 001C4340 7C FE 3B 78 */ mr r30, r7 /* 801C73E4 001C4344 7F 05 C3 78 */ mr r5, r24 /* 801C73E8 001C4348 3B E1 00 64 */ addi r31, r1, 0x64 /* 801C73EC 001C434C 38 C0 00 00 */ li r6, 0 /* 801C73F0 001C4350 80 63 00 00 */ lwz r3, 0(r3) /* 801C73F4 001C4354 91 03 00 38 */ stw r8, 0x38(r3) /* 801C73F8 001C4358 3B 23 00 78 */ addi r25, r3, 0x78 /* 801C73FC 001C435C 3B 43 00 38 */ addi r26, r3, 0x38 /* 801C7400 001C4360 91 03 00 3C */ stw r8, 0x3c(r3) /* 801C7404 001C4364 38 19 00 40 */ addi r0, r25, 0x40 /* 801C7408 001C4368 91 03 00 40 */ stw r8, 0x40(r3) /* 801C740C 001C436C 91 03 00 44 */ stw r8, 0x44(r3) /* 801C7410 001C4370 91 03 00 48 */ stw r8, 0x48(r3) /* 801C7414 001C4374 91 03 00 4C */ stw r8, 0x4c(r3) /* 801C7418 001C4378 91 03 00 50 */ stw r8, 0x50(r3) /* 801C741C 001C437C 91 03 00 54 */ stw r8, 0x54(r3) /* 801C7420 001C4380 91 03 00 58 */ stw r8, 0x58(r3) /* 801C7424 001C4384 91 03 00 5C */ stw r8, 0x5c(r3) /* 801C7428 001C4388 91 03 00 60 */ stw r8, 0x60(r3) /* 801C742C 001C438C 91 03 00 64 */ stw r8, 0x64(r3) /* 801C7430 001C4390 91 03 00 68 */ stw r8, 0x68(r3) /* 801C7434 001C4394 91 03 00 6C */ stw r8, 0x6c(r3) /* 801C7438 001C4398 91 03 00 70 */ stw r8, 0x70(r3) /* 801C743C 001C439C 91 03 00 74 */ stw r8, 0x74(r3) /* 801C7440 001C43A0 80 63 01 04 */ lwz r3, 0x104(r3) /* 801C7444 001C43A4 90 03 00 28 */ stw r0, 0x28(r3) /* 801C7448 001C43A8 80 79 00 8C */ lwz r3, 0x8c(r25) /* 801C744C 001C43AC 90 03 00 24 */ stw r0, 0x24(r3) /* 801C7450 001C43B0 91 19 00 00 */ stw r8, 0(r25) /* 801C7454 001C43B4 91 19 00 04 */ stw r8, 4(r25) /* 801C7458 001C43B8 91 19 00 08 */ stw r8, 8(r25) /* 801C745C 001C43BC 91 19 00 0C */ stw r8, 0xc(r25) /* 801C7460 001C43C0 91 19 00 10 */ stw r8, 0x10(r25) /* 801C7464 001C43C4 91 19 00 14 */ stw r8, 0x14(r25) /* 801C7468 001C43C8 91 19 00 18 */ stw r8, 0x18(r25) /* 801C746C 001C43CC 91 19 00 1C */ stw r8, 0x1c(r25) /* 801C7470 001C43D0 91 19 00 20 */ stw r8, 0x20(r25) /* 801C7474 001C43D4 91 19 00 24 */ stw r8, 0x24(r25) /* 801C7478 001C43D8 91 19 00 28 */ stw r8, 0x28(r25) /* 801C747C 001C43DC 91 19 00 2C */ stw r8, 0x2c(r25) /* 801C7480 001C43E0 91 19 00 30 */ stw r8, 0x30(r25) /* 801C7484 001C43E4 91 19 00 34 */ stw r8, 0x34(r25) /* 801C7488 001C43E8 91 19 00 38 */ stw r8, 0x38(r25) /* 801C748C 001C43EC 91 19 00 3C */ stw r8, 0x3c(r25) /* 801C7490 001C43F0 48 00 00 60 */ b lbl_801C74F0 lbl_801C7494: /* 801C7494 001C43F4 80 01 00 60 */ lwz r0, 0x60(r1) /* 801C7498 001C43F8 80 65 00 00 */ lwz r3, 0(r5) /* 801C749C 001C43FC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C74A0 001C4400 7C 9F 02 15 */ add. r4, r31, r0 /* 801C74A4 001C4404 41 82 00 1C */ beq lbl_801C74C0 /* 801C74A8 001C4408 C0 03 00 28 */ lfs f0, 0x28(r3) /* 801C74AC 001C440C C0 23 00 2C */ lfs f1, 0x2c(r3) /* 801C74B0 001C4410 D0 04 00 00 */ stfs f0, 0(r4) /* 801C74B4 001C4414 C0 03 00 30 */ lfs f0, 0x30(r3) /* 801C74B8 001C4418 D0 24 00 04 */ stfs f1, 4(r4) /* 801C74BC 001C441C D0 04 00 08 */ stfs f0, 8(r4) lbl_801C74C0: /* 801C74C0 001C4420 80 85 00 00 */ lwz r4, 0(r5) /* 801C74C4 001C4424 38 A5 00 04 */ addi r5, r5, 4 /* 801C74C8 001C4428 C0 1E 00 00 */ lfs f0, 0(r30) /* 801C74CC 001C442C 38 C6 00 01 */ addi r6, r6, 1 /* 801C74D0 001C4430 80 61 00 60 */ lwz r3, 0x60(r1) /* 801C74D4 001C4434 D0 04 00 28 */ stfs f0, 0x28(r4) /* 801C74D8 001C4438 38 03 00 01 */ addi r0, r3, 1 /* 801C74DC 001C443C C0 1E 00 04 */ lfs f0, 4(r30) /* 801C74E0 001C4440 90 01 00 60 */ stw r0, 0x60(r1) /* 801C74E4 001C4444 D0 04 00 2C */ stfs f0, 0x2c(r4) /* 801C74E8 001C4448 C0 1E 00 08 */ lfs f0, 8(r30) /* 801C74EC 001C444C D0 04 00 30 */ stfs f0, 0x30(r4) lbl_801C74F0: /* 801C74F0 001C4450 80 1D 00 00 */ lwz r0, 0(r29) /* 801C74F4 001C4454 7C 06 00 00 */ cmpw r6, r0 /* 801C74F8 001C4458 41 80 FF 9C */ blt lbl_801C7494 /* 801C74FC 001C445C C0 3E 00 04 */ lfs f1, 4(r30) /* 801C7500 001C4460 38 00 00 00 */ li r0, 0 /* 801C7504 001C4464 C0 17 00 04 */ lfs f0, 4(r23) /* 801C7508 001C4468 38 61 00 20 */ addi r3, r1, 0x20 /* 801C750C 001C446C C0 7E 00 08 */ lfs f3, 8(r30) /* 801C7510 001C4470 C0 57 00 08 */ lfs f2, 8(r23) /* 801C7514 001C4474 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C7518 001C4478 C0 3E 00 00 */ lfs f1, 0(r30) /* 801C751C 001C447C C0 17 00 00 */ lfs f0, 0(r23) /* 801C7520 001C4480 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C7524 001C4484 90 01 00 2C */ stw r0, 0x2c(r1) /* 801C7528 001C4488 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C752C 001C448C D0 81 00 24 */ stfs f4, 0x24(r1) /* 801C7530 001C4490 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801C7534 001C4494 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801C7538 001C4498 48 14 D3 81 */ bl Magnitude__9CVector3fCFv /* 801C753C 001C449C 38 FC 00 04 */ addi r7, r28, 4 /* 801C7540 001C44A0 C0 62 AB 2C */ lfs f3, lbl_805AC84C@sda21(r2) /* 801C7544 001C44A4 7C E3 3B 78 */ mr r3, r7 /* 801C7548 001C44A8 38 C1 00 30 */ addi r6, r1, 0x30 /* 801C754C 001C44AC 39 59 00 40 */ addi r10, r25, 0x40 /* 801C7550 001C44B0 38 80 00 00 */ li r4, 0 /* 801C7554 001C44B4 48 00 01 08 */ b lbl_801C765C lbl_801C7558: /* 801C7558 001C44B8 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801C755C 001C44BC 80 A3 00 00 */ lwz r5, 0(r3) /* 801C7560 001C44C0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C7564 001C44C4 7D 06 02 15 */ add. r8, r6, r0 /* 801C7568 001C44C8 41 82 00 1C */ beq lbl_801C7584 /* 801C756C 001C44CC C0 05 00 28 */ lfs f0, 0x28(r5) /* 801C7570 001C44D0 C0 45 00 2C */ lfs f2, 0x2c(r5) /* 801C7574 001C44D4 D0 08 00 00 */ stfs f0, 0(r8) /* 801C7578 001C44D8 C0 05 00 30 */ lfs f0, 0x30(r5) /* 801C757C 001C44DC D0 48 00 04 */ stfs f2, 4(r8) /* 801C7580 001C44E0 D0 08 00 08 */ stfs f0, 8(r8) lbl_801C7584: /* 801C7584 001C44E4 C0 17 00 00 */ lfs f0, 0(r23) /* 801C7588 001C44E8 38 00 00 00 */ li r0, 0 /* 801C758C 001C44EC 81 21 00 2C */ lwz r9, 0x2c(r1) /* 801C7590 001C44F0 39 00 00 01 */ li r8, 1 /* 801C7594 001C44F4 D0 05 00 28 */ stfs f0, 0x28(r5) /* 801C7598 001C44F8 39 29 00 01 */ addi r9, r9, 1 /* 801C759C 001C44FC C0 17 00 04 */ lfs f0, 4(r23) /* 801C75A0 001C4500 91 21 00 2C */ stw r9, 0x2c(r1) /* 801C75A4 001C4504 D0 05 00 2C */ stfs f0, 0x2c(r5) /* 801C75A8 001C4508 C0 17 00 08 */ lfs f0, 8(r23) /* 801C75AC 001C450C D0 05 00 30 */ stfs f0, 0x30(r5) /* 801C75B0 001C4510 81 25 00 4C */ lwz r9, 0x4c(r5) /* 801C75B4 001C4514 90 09 00 20 */ stw r0, 0x20(r9) /* 801C75B8 001C4518 D0 69 00 18 */ stfs f3, 0x18(r9) /* 801C75BC 001C451C D0 29 00 1C */ stfs f1, 0x1c(r9) /* 801C75C0 001C4520 C0 49 00 18 */ lfs f2, 0x18(r9) /* 801C75C4 001C4524 C0 09 00 1C */ lfs f0, 0x1c(r9) /* 801C75C8 001C4528 EC 02 00 2A */ fadds f0, f2, f0 /* 801C75CC 001C452C D0 09 00 14 */ stfs f0, 0x14(r9) /* 801C75D0 001C4530 80 05 00 24 */ lwz r0, 0x24(r5) /* 801C75D4 001C4534 7C 09 2E 70 */ srawi r9, r0, 5 /* 801C75D8 001C4538 54 00 06 FE */ clrlwi r0, r0, 0x1b /* 801C75DC 001C453C 7D 29 01 94 */ addze r9, r9 /* 801C75E0 001C4540 55 29 10 3A */ slwi r9, r9, 2 /* 801C75E4 001C4544 7D 00 00 30 */ slw r0, r8, r0 /* 801C75E8 001C4548 7D 19 48 2E */ lwzx r8, r25, r9 /* 801C75EC 001C454C 7D 00 03 78 */ or r0, r8, r0 /* 801C75F0 001C4550 7C 19 49 2E */ stwx r0, r25, r9 /* 801C75F4 001C4554 81 19 00 8C */ lwz r8, 0x8c(r25) /* 801C75F8 001C4558 81 68 00 28 */ lwz r11, 0x28(r8) /* 801C75FC 001C455C 48 00 00 08 */ b lbl_801C7604 lbl_801C7600: /* 801C7600 001C4560 81 69 00 28 */ lwz r11, 0x28(r9) lbl_801C7604: /* 801C7604 001C4564 7C 0B 50 40 */ cmplw r11, r10 /* 801C7608 001C4568 41 82 00 1C */ beq lbl_801C7624 /* 801C760C 001C456C 81 2B 00 4C */ lwz r9, 0x4c(r11) /* 801C7610 001C4570 81 05 00 4C */ lwz r8, 0x4c(r5) /* 801C7614 001C4574 C0 09 00 14 */ lfs f0, 0x14(r9) /* 801C7618 001C4578 C0 48 00 14 */ lfs f2, 0x14(r8) /* 801C761C 001C457C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801C7620 001C4580 41 81 FF E0 */ bgt lbl_801C7600 lbl_801C7624: /* 801C7624 001C4584 81 0B 00 4C */ lwz r8, 0x4c(r11) /* 801C7628 001C4588 38 63 00 04 */ addi r3, r3, 4 /* 801C762C 001C458C 38 84 00 01 */ addi r4, r4, 1 /* 801C7630 001C4590 81 08 00 24 */ lwz r8, 0x24(r8) /* 801C7634 001C4594 81 08 00 4C */ lwz r8, 0x4c(r8) /* 801C7638 001C4598 90 A8 00 28 */ stw r5, 0x28(r8) /* 801C763C 001C459C 81 2B 00 4C */ lwz r9, 0x4c(r11) /* 801C7640 001C45A0 81 05 00 4C */ lwz r8, 0x4c(r5) /* 801C7644 001C45A4 80 09 00 24 */ lwz r0, 0x24(r9) /* 801C7648 001C45A8 90 08 00 24 */ stw r0, 0x24(r8) /* 801C764C 001C45AC 81 0B 00 4C */ lwz r8, 0x4c(r11) /* 801C7650 001C45B0 90 A8 00 24 */ stw r5, 0x24(r8) /* 801C7654 001C45B4 80 A5 00 4C */ lwz r5, 0x4c(r5) /* 801C7658 001C45B8 91 65 00 28 */ stw r11, 0x28(r5) lbl_801C765C: /* 801C765C 001C45BC 80 1C 00 00 */ lwz r0, 0(r28) /* 801C7660 001C45C0 7C 04 00 00 */ cmpw r4, r0 /* 801C7664 001C45C4 41 80 FE F4 */ blt lbl_801C7558 /* 801C7668 001C45C8 38 19 00 40 */ addi r0, r25, 0x40 /* 801C766C 001C45CC 48 00 03 30 */ b lbl_801C799C lbl_801C7670: /* 801C7670 001C45D0 80 7D 00 00 */ lwz r3, 0(r29) /* 801C7674 001C45D4 7F 05 C3 78 */ mr r5, r24 /* 801C7678 001C45D8 7C 69 03 A6 */ mtctr r3 /* 801C767C 001C45DC 2C 03 00 00 */ cmpwi r3, 0 /* 801C7680 001C45E0 40 81 00 18 */ ble lbl_801C7698 lbl_801C7684: /* 801C7684 001C45E4 80 65 00 00 */ lwz r3, 0(r5) /* 801C7688 001C45E8 7C 04 18 40 */ cmplw r4, r3 /* 801C768C 001C45EC 41 82 03 98 */ beq lbl_801C7A24 /* 801C7690 001C45F0 38 A5 00 04 */ addi r5, r5, 4 /* 801C7694 001C45F4 42 00 FF F0 */ bdnz lbl_801C7684 lbl_801C7698: /* 801C7698 001C45F8 80 64 00 24 */ lwz r3, 0x24(r4) /* 801C769C 001C45FC 39 00 00 00 */ li r8, 0 /* 801C76A0 001C4600 38 A0 00 01 */ li r5, 1 /* 801C76A4 001C4604 7C 64 2E 70 */ srawi r4, r3, 5 /* 801C76A8 001C4608 54 63 06 FE */ clrlwi r3, r3, 0x1b /* 801C76AC 001C460C 7D 44 01 94 */ addze r10, r4 /* 801C76B0 001C4610 7D 04 43 78 */ mr r4, r8 /* 801C76B4 001C4614 55 4A 10 3A */ slwi r10, r10, 2 /* 801C76B8 001C4618 7C A3 18 30 */ slw r3, r5, r3 /* 801C76BC 001C461C 7C BA 50 2E */ lwzx r5, r26, r10 /* 801C76C0 001C4620 7C A3 1B 78 */ or r3, r5, r3 /* 801C76C4 001C4624 7C 7A 51 2E */ stwx r3, r26, r10 /* 801C76C8 001C4628 48 00 02 C8 */ b lbl_801C7990 lbl_801C76CC: /* 801C76CC 001C462C 80 A9 00 0C */ lwz r5, 0xc(r9) /* 801C76D0 001C4630 38 64 00 04 */ addi r3, r4, 4 /* 801C76D4 001C4634 81 7B 00 00 */ lwz r11, 0(r27) /* 801C76D8 001C4638 7C A5 18 2E */ lwzx r5, r5, r3 /* 801C76DC 001C463C 80 69 00 4C */ lwz r3, 0x4c(r9) /* 801C76E0 001C4640 1D 45 00 50 */ mulli r10, r5, 0x50 /* 801C76E4 001C4644 81 6B 01 54 */ lwz r11, 0x154(r11) /* 801C76E8 001C4648 80 A3 00 20 */ lwz r5, 0x20(r3) /* 801C76EC 001C464C 7C 6B 52 14 */ add r3, r11, r10 /* 801C76F0 001C4650 7C 03 28 40 */ cmplw r3, r5 /* 801C76F4 001C4654 41 82 02 94 */ beq lbl_801C7988 /* 801C76F8 001C4658 81 63 00 10 */ lwz r11, 0x10(r3) /* 801C76FC 001C465C 81 5B 00 DC */ lwz r10, 0xdc(r27) /* 801C7700 001C4660 55 65 06 3E */ clrlwi r5, r11, 0x18 /* 801C7704 001C4664 7D 45 28 39 */ and. r5, r10, r5 /* 801C7708 001C4668 41 82 02 80 */ beq lbl_801C7988 /* 801C770C 001C466C 81 5B 00 E0 */ lwz r10, 0xe0(r27) /* 801C7710 001C4670 55 65 86 3E */ rlwinm r5, r11, 0x10, 0x18, 0x1f /* 801C7714 001C4674 7D 45 28 39 */ and. r5, r10, r5 /* 801C7718 001C4678 41 82 02 70 */ beq lbl_801C7988 /* 801C771C 001C467C C0 43 00 2C */ lfs f2, 0x2c(r3) /* 801C7720 001C4680 C0 09 00 2C */ lfs f0, 0x2c(r9) /* 801C7724 001C4684 C0 23 00 28 */ lfs f1, 0x28(r3) /* 801C7728 001C4688 EC 82 00 28 */ fsubs f4, f2, f0 /* 801C772C 001C468C C0 09 00 28 */ lfs f0, 0x28(r9) /* 801C7730 001C4690 C0 63 00 30 */ lfs f3, 0x30(r3) /* 801C7734 001C4694 EC 41 00 28 */ fsubs f2, f1, f0 /* 801C7738 001C4698 C0 29 00 30 */ lfs f1, 0x30(r9) /* 801C773C 001C469C EC 04 01 32 */ fmuls f0, f4, f4 /* 801C7740 001C46A0 EC 63 08 28 */ fsubs f3, f3, f1 /* 801C7744 001C46A4 C0 A2 AB 2C */ lfs f5, lbl_805AC84C@sda21(r2) /* 801C7748 001C46A8 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801C774C 001C46AC D0 41 00 14 */ stfs f2, 0x14(r1) /* 801C7750 001C46B0 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801C7754 001C46B4 EC 01 00 2A */ fadds f0, f1, f0 /* 801C7758 001C46B8 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801C775C 001C46BC D0 61 00 1C */ stfs f3, 0x1c(r1) /* 801C7760 001C46C0 EC 22 00 2A */ fadds f1, f2, f0 /* 801C7764 001C46C4 FC 05 08 00 */ fcmpu cr0, f5, f1 /* 801C7768 001C46C8 40 82 00 08 */ bne lbl_801C7770 /* 801C776C 001C46CC 48 00 00 10 */ b lbl_801C777C lbl_801C7770: /* 801C7770 001C46D0 FC 00 08 34 */ frsqrte f0, f1 /* 801C7774 001C46D4 FC A1 00 32 */ fmul f5, f1, f0 /* 801C7778 001C46D8 FC A0 28 18 */ frsp f5, f5 lbl_801C777C: /* 801C777C 001C46DC 80 A3 00 24 */ lwz r5, 0x24(r3) /* 801C7780 001C46E0 39 80 00 01 */ li r12, 1 /* 801C7784 001C46E4 82 E9 00 4C */ lwz r23, 0x4c(r9) /* 801C7788 001C46E8 7C AA 2E 70 */ srawi r10, r5, 5 /* 801C778C 001C46EC 54 AB 06 FE */ clrlwi r11, r5, 0x1b /* 801C7790 001C46F0 7D 4A 01 94 */ addze r10, r10 /* 801C7794 001C46F4 C0 17 00 18 */ lfs f0, 0x18(r23) /* 801C7798 001C46F8 55 4A 10 3A */ slwi r10, r10, 2 /* 801C779C 001C46FC 7D 8B 58 30 */ slw r11, r12, r11 /* 801C77A0 001C4700 7D 5A 50 2E */ lwzx r10, r26, r10 /* 801C77A4 001C4704 EC C0 28 2A */ fadds f6, f0, f5 /* 801C77A8 001C4708 7D 6A 50 39 */ and. r10, r11, r10 /* 801C77AC 001C470C 40 82 00 1C */ bne lbl_801C77C8 /* 801C77B0 001C4710 7C AA 2E 70 */ srawi r10, r5, 5 /* 801C77B4 001C4714 7D 4A 01 94 */ addze r10, r10 /* 801C77B8 001C4718 55 4A 10 3A */ slwi r10, r10, 2 /* 801C77BC 001C471C 7D 59 50 2E */ lwzx r10, r25, r10 /* 801C77C0 001C4720 7D 6A 50 39 */ and. r10, r11, r10 /* 801C77C4 001C4724 41 82 00 18 */ beq lbl_801C77DC lbl_801C77C8: /* 801C77C8 001C4728 81 43 00 4C */ lwz r10, 0x4c(r3) /* 801C77CC 001C472C C0 0A 00 18 */ lfs f0, 0x18(r10) /* 801C77D0 001C4730 FC 00 30 40 */ fcmpo cr0, f0, f6 /* 801C77D4 001C4734 4C 40 13 82 */ cror 2, 0, 2 /* 801C77D8 001C4738 41 82 01 B0 */ beq lbl_801C7988 lbl_801C77DC: /* 801C77DC 001C473C 7C AA 2E 70 */ srawi r10, r5, 5 /* 801C77E0 001C4740 54 AB 06 FE */ clrlwi r11, r5, 0x1b /* 801C77E4 001C4744 7C AA 01 94 */ addze r5, r10 /* 801C77E8 001C4748 54 A5 10 3A */ slwi r5, r5, 2 /* 801C77EC 001C474C 39 40 00 01 */ li r10, 1 /* 801C77F0 001C4750 7D 99 28 2E */ lwzx r12, r25, r5 /* 801C77F4 001C4754 7D 57 58 30 */ slw r23, r10, r11 /* 801C77F8 001C4758 7E EB 60 38 */ and r11, r23, r12 /* 801C77FC 001C475C 7D 4B 00 D0 */ neg r10, r11 /* 801C7800 001C4760 7D 4A 5B 78 */ or r10, r10, r11 /* 801C7804 001C4764 55 4A 0F FF */ rlwinm. r10, r10, 1, 0x1f, 0x1f /* 801C7808 001C4768 41 82 00 68 */ beq lbl_801C7870 /* 801C780C 001C476C 7D 8B B8 78 */ andc r11, r12, r23 /* 801C7810 001C4770 39 40 00 00 */ li r10, 0 /* 801C7814 001C4774 7D 79 29 2E */ stwx r11, r25, r5 /* 801C7818 001C4778 81 63 00 4C */ lwz r11, 0x4c(r3) /* 801C781C 001C477C 80 AB 00 28 */ lwz r5, 0x28(r11) /* 801C7820 001C4780 81 6B 00 24 */ lwz r11, 0x24(r11) /* 801C7824 001C4784 80 A5 00 4C */ lwz r5, 0x4c(r5) /* 801C7828 001C4788 91 65 00 24 */ stw r11, 0x24(r5) /* 801C782C 001C478C 81 63 00 4C */ lwz r11, 0x4c(r3) /* 801C7830 001C4790 80 AB 00 24 */ lwz r5, 0x24(r11) /* 801C7834 001C4794 81 6B 00 28 */ lwz r11, 0x28(r11) /* 801C7838 001C4798 80 A5 00 4C */ lwz r5, 0x4c(r5) /* 801C783C 001C479C 91 65 00 28 */ stw r11, 0x28(r5) /* 801C7840 001C47A0 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C7844 001C47A4 91 45 00 28 */ stw r10, 0x28(r5) /* 801C7848 001C47A8 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C784C 001C47AC 91 45 00 24 */ stw r10, 0x24(r5) /* 801C7850 001C47B0 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C7854 001C47B4 91 25 00 20 */ stw r9, 0x20(r5) /* 801C7858 001C47B8 D0 C5 00 18 */ stfs f6, 0x18(r5) /* 801C785C 001C47BC C0 25 00 18 */ lfs f1, 0x18(r5) /* 801C7860 001C47C0 C0 05 00 1C */ lfs f0, 0x1c(r5) /* 801C7864 001C47C4 EC 01 00 2A */ fadds f0, f1, f0 /* 801C7868 001C47C8 D0 05 00 14 */ stfs f0, 0x14(r5) /* 801C786C 001C47CC 48 00 00 90 */ b lbl_801C78FC lbl_801C7870: /* 801C7870 001C47D0 7D 7A 28 2E */ lwzx r11, r26, r5 /* 801C7874 001C47D4 C0 A2 AB 2C */ lfs f5, lbl_805AC84C@sda21(r2) /* 801C7878 001C47D8 7D 6A B8 78 */ andc r10, r11, r23 /* 801C787C 001C47DC 7D 5A 29 2E */ stwx r10, r26, r5 /* 801C7880 001C47E0 C0 5E 00 04 */ lfs f2, 4(r30) /* 801C7884 001C47E4 C0 03 00 2C */ lfs f0, 0x2c(r3) /* 801C7888 001C47E8 C0 3E 00 00 */ lfs f1, 0(r30) /* 801C788C 001C47EC EC 82 00 28 */ fsubs f4, f2, f0 /* 801C7890 001C47F0 C0 03 00 28 */ lfs f0, 0x28(r3) /* 801C7894 001C47F4 C0 7E 00 08 */ lfs f3, 8(r30) /* 801C7898 001C47F8 EC 41 00 28 */ fsubs f2, f1, f0 /* 801C789C 001C47FC C0 23 00 30 */ lfs f1, 0x30(r3) /* 801C78A0 001C4800 EC 04 01 32 */ fmuls f0, f4, f4 /* 801C78A4 001C4804 EC 63 08 28 */ fsubs f3, f3, f1 /* 801C78A8 001C4808 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801C78AC 001C480C EC 22 00 B2 */ fmuls f1, f2, f2 /* 801C78B0 001C4810 D0 41 00 08 */ stfs f2, 8(r1) /* 801C78B4 001C4814 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801C78B8 001C4818 EC 01 00 2A */ fadds f0, f1, f0 /* 801C78BC 001C481C D0 61 00 10 */ stfs f3, 0x10(r1) /* 801C78C0 001C4820 EC 22 00 2A */ fadds f1, f2, f0 /* 801C78C4 001C4824 FC 05 08 00 */ fcmpu cr0, f5, f1 /* 801C78C8 001C4828 40 82 00 08 */ bne lbl_801C78D0 /* 801C78CC 001C482C 48 00 00 10 */ b lbl_801C78DC lbl_801C78D0: /* 801C78D0 001C4830 FC 00 08 34 */ frsqrte f0, f1 /* 801C78D4 001C4834 FC A1 00 32 */ fmul f5, f1, f0 /* 801C78D8 001C4838 FC A0 28 18 */ frsp f5, f5 lbl_801C78DC: /* 801C78DC 001C483C 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C78E0 001C4840 91 25 00 20 */ stw r9, 0x20(r5) /* 801C78E4 001C4844 D0 C5 00 18 */ stfs f6, 0x18(r5) /* 801C78E8 001C4848 D0 A5 00 1C */ stfs f5, 0x1c(r5) /* 801C78EC 001C484C C0 25 00 18 */ lfs f1, 0x18(r5) /* 801C78F0 001C4850 C0 05 00 1C */ lfs f0, 0x1c(r5) /* 801C78F4 001C4854 EC 01 00 2A */ fadds f0, f1, f0 /* 801C78F8 001C4858 D0 05 00 14 */ stfs f0, 0x14(r5) lbl_801C78FC: /* 801C78FC 001C485C 80 A3 00 24 */ lwz r5, 0x24(r3) /* 801C7900 001C4860 39 60 00 01 */ li r11, 1 /* 801C7904 001C4864 39 59 00 40 */ addi r10, r25, 0x40 /* 801C7908 001C4868 7C AC 2E 70 */ srawi r12, r5, 5 /* 801C790C 001C486C 54 A5 06 FE */ clrlwi r5, r5, 0x1b /* 801C7910 001C4870 7D 8C 01 94 */ addze r12, r12 /* 801C7914 001C4874 55 8C 10 3A */ slwi r12, r12, 2 /* 801C7918 001C4878 7D 65 28 30 */ slw r5, r11, r5 /* 801C791C 001C487C 7D 79 60 2E */ lwzx r11, r25, r12 /* 801C7920 001C4880 7D 65 2B 78 */ or r5, r11, r5 /* 801C7924 001C4884 7C B9 61 2E */ stwx r5, r25, r12 /* 801C7928 001C4888 80 B9 00 8C */ lwz r5, 0x8c(r25) /* 801C792C 001C488C 81 65 00 28 */ lwz r11, 0x28(r5) /* 801C7930 001C4890 48 00 00 08 */ b lbl_801C7938 lbl_801C7934: /* 801C7934 001C4894 81 6C 00 28 */ lwz r11, 0x28(r12) lbl_801C7938: /* 801C7938 001C4898 7C 0B 50 40 */ cmplw r11, r10 /* 801C793C 001C489C 41 82 00 1C */ beq lbl_801C7958 /* 801C7940 001C48A0 81 8B 00 4C */ lwz r12, 0x4c(r11) /* 801C7944 001C48A4 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C7948 001C48A8 C0 0C 00 14 */ lfs f0, 0x14(r12) /* 801C794C 001C48AC C0 25 00 14 */ lfs f1, 0x14(r5) /* 801C7950 001C48B0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C7954 001C48B4 41 81 FF E0 */ bgt lbl_801C7934 lbl_801C7958: /* 801C7958 001C48B8 80 AB 00 4C */ lwz r5, 0x4c(r11) /* 801C795C 001C48BC 80 A5 00 24 */ lwz r5, 0x24(r5) /* 801C7960 001C48C0 80 A5 00 4C */ lwz r5, 0x4c(r5) /* 801C7964 001C48C4 90 65 00 28 */ stw r3, 0x28(r5) /* 801C7968 001C48C8 81 4B 00 4C */ lwz r10, 0x4c(r11) /* 801C796C 001C48CC 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C7970 001C48D0 81 4A 00 24 */ lwz r10, 0x24(r10) /* 801C7974 001C48D4 91 45 00 24 */ stw r10, 0x24(r5) /* 801C7978 001C48D8 80 AB 00 4C */ lwz r5, 0x4c(r11) /* 801C797C 001C48DC 90 65 00 24 */ stw r3, 0x24(r5) /* 801C7980 001C48E0 80 63 00 4C */ lwz r3, 0x4c(r3) /* 801C7984 001C48E4 91 63 00 28 */ stw r11, 0x28(r3) lbl_801C7988: /* 801C7988 001C48E8 38 84 00 10 */ addi r4, r4, 0x10 /* 801C798C 001C48EC 39 08 00 01 */ addi r8, r8, 1 lbl_801C7990: /* 801C7990 001C48F0 80 69 00 08 */ lwz r3, 8(r9) /* 801C7994 001C48F4 7C 08 18 00 */ cmpw r8, r3 /* 801C7998 001C48F8 41 80 FD 34 */ blt lbl_801C76CC lbl_801C799C: /* 801C799C 001C48FC 80 79 00 8C */ lwz r3, 0x8c(r25) /* 801C79A0 001C4900 38 80 00 00 */ li r4, 0 /* 801C79A4 001C4904 80 63 00 28 */ lwz r3, 0x28(r3) /* 801C79A8 001C4908 7C 03 00 40 */ cmplw r3, r0 /* 801C79AC 001C490C 41 82 00 6C */ beq lbl_801C7A18 /* 801C79B0 001C4910 80 A3 00 24 */ lwz r5, 0x24(r3) /* 801C79B4 001C4914 39 20 00 01 */ li r9, 1 /* 801C79B8 001C4918 39 00 00 00 */ li r8, 0 /* 801C79BC 001C491C 7C 64 1B 78 */ mr r4, r3 /* 801C79C0 001C4920 7C AA 2E 70 */ srawi r10, r5, 5 /* 801C79C4 001C4924 54 A5 06 FE */ clrlwi r5, r5, 0x1b /* 801C79C8 001C4928 7D 4A 01 94 */ addze r10, r10 /* 801C79CC 001C492C 55 4A 10 3A */ slwi r10, r10, 2 /* 801C79D0 001C4930 7D 25 28 30 */ slw r5, r9, r5 /* 801C79D4 001C4934 7D 39 50 2E */ lwzx r9, r25, r10 /* 801C79D8 001C4938 7D 25 28 78 */ andc r5, r9, r5 /* 801C79DC 001C493C 7C B9 51 2E */ stwx r5, r25, r10 /* 801C79E0 001C4940 81 23 00 4C */ lwz r9, 0x4c(r3) /* 801C79E4 001C4944 80 A9 00 28 */ lwz r5, 0x28(r9) /* 801C79E8 001C4948 81 29 00 24 */ lwz r9, 0x24(r9) /* 801C79EC 001C494C 80 A5 00 4C */ lwz r5, 0x4c(r5) /* 801C79F0 001C4950 91 25 00 24 */ stw r9, 0x24(r5) /* 801C79F4 001C4954 81 23 00 4C */ lwz r9, 0x4c(r3) /* 801C79F8 001C4958 80 A9 00 24 */ lwz r5, 0x24(r9) /* 801C79FC 001C495C 81 29 00 28 */ lwz r9, 0x28(r9) /* 801C7A00 001C4960 80 A5 00 4C */ lwz r5, 0x4c(r5) /* 801C7A04 001C4964 91 25 00 28 */ stw r9, 0x28(r5) /* 801C7A08 001C4968 80 A3 00 4C */ lwz r5, 0x4c(r3) /* 801C7A0C 001C496C 91 05 00 28 */ stw r8, 0x28(r5) /* 801C7A10 001C4970 80 63 00 4C */ lwz r3, 0x4c(r3) /* 801C7A14 001C4974 91 03 00 24 */ stw r8, 0x24(r3) lbl_801C7A18: /* 801C7A18 001C4978 28 04 00 00 */ cmplwi r4, 0 /* 801C7A1C 001C497C 7C 89 23 78 */ mr r9, r4 /* 801C7A20 001C4980 40 82 FC 50 */ bne lbl_801C7670 lbl_801C7A24: /* 801C7A24 001C4984 38 A0 00 00 */ li r5, 0 /* 801C7A28 001C4988 48 00 00 2C */ b lbl_801C7A54 lbl_801C7A2C: /* 801C7A2C 001C498C 80 67 00 00 */ lwz r3, 0(r7) /* 801C7A30 001C4990 38 E7 00 04 */ addi r7, r7, 4 /* 801C7A34 001C4994 C0 06 00 00 */ lfs f0, 0(r6) /* 801C7A38 001C4998 38 A5 00 01 */ addi r5, r5, 1 /* 801C7A3C 001C499C C0 26 00 04 */ lfs f1, 4(r6) /* 801C7A40 001C49A0 D0 03 00 28 */ stfs f0, 0x28(r3) /* 801C7A44 001C49A4 C0 06 00 08 */ lfs f0, 8(r6) /* 801C7A48 001C49A8 38 C6 00 0C */ addi r6, r6, 0xc /* 801C7A4C 001C49AC D0 23 00 2C */ stfs f1, 0x2c(r3) /* 801C7A50 001C49B0 D0 03 00 30 */ stfs f0, 0x30(r3) lbl_801C7A54: /* 801C7A54 001C49B4 80 1C 00 00 */ lwz r0, 0(r28) /* 801C7A58 001C49B8 7C 05 00 00 */ cmpw r5, r0 /* 801C7A5C 001C49BC 41 80 FF D0 */ blt lbl_801C7A2C /* 801C7A60 001C49C0 38 A0 00 00 */ li r5, 0 /* 801C7A64 001C49C4 48 00 00 2C */ b lbl_801C7A90 lbl_801C7A68: /* 801C7A68 001C49C8 80 78 00 00 */ lwz r3, 0(r24) /* 801C7A6C 001C49CC 3B 18 00 04 */ addi r24, r24, 4 /* 801C7A70 001C49D0 C0 1F 00 00 */ lfs f0, 0(r31) /* 801C7A74 001C49D4 38 A5 00 01 */ addi r5, r5, 1 /* 801C7A78 001C49D8 C0 3F 00 04 */ lfs f1, 4(r31) /* 801C7A7C 001C49DC D0 03 00 28 */ stfs f0, 0x28(r3) /* 801C7A80 001C49E0 C0 1F 00 08 */ lfs f0, 8(r31) /* 801C7A84 001C49E4 3B FF 00 0C */ addi r31, r31, 0xc /* 801C7A88 001C49E8 D0 23 00 2C */ stfs f1, 0x2c(r3) /* 801C7A8C 001C49EC D0 03 00 30 */ stfs f0, 0x30(r3) lbl_801C7A90: /* 801C7A90 001C49F0 80 DD 00 00 */ lwz r6, 0(r29) /* 801C7A94 001C49F4 7C 05 30 00 */ cmpw r5, r6 /* 801C7A98 001C49F8 41 80 FF D0 */ blt lbl_801C7A68 /* 801C7A9C 001C49FC 28 04 00 00 */ cmplwi r4, 0 /* 801C7AA0 001C4A00 41 82 01 08 */ beq lbl_801C7BA8 /* 801C7AA4 001C4A04 2C 06 00 00 */ cmpwi r6, 0 /* 801C7AA8 001C4A08 38 60 00 00 */ li r3, 0 /* 801C7AAC 001C4A0C 40 81 00 40 */ ble lbl_801C7AEC /* 801C7AB0 001C4A10 2C 06 00 08 */ cmpwi r6, 8 /* 801C7AB4 001C4A14 38 A6 FF F8 */ addi r5, r6, -8 /* 801C7AB8 001C4A18 40 81 00 20 */ ble lbl_801C7AD8 /* 801C7ABC 001C4A1C 38 05 00 07 */ addi r0, r5, 7 /* 801C7AC0 001C4A20 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7AC4 001C4A24 7C 09 03 A6 */ mtctr r0 /* 801C7AC8 001C4A28 2C 05 00 00 */ cmpwi r5, 0 /* 801C7ACC 001C4A2C 40 81 00 0C */ ble lbl_801C7AD8 lbl_801C7AD0: /* 801C7AD0 001C4A30 38 63 00 08 */ addi r3, r3, 8 /* 801C7AD4 001C4A34 42 00 FF FC */ bdnz lbl_801C7AD0 lbl_801C7AD8: /* 801C7AD8 001C4A38 7C 03 30 50 */ subf r0, r3, r6 /* 801C7ADC 001C4A3C 7C 09 03 A6 */ mtctr r0 /* 801C7AE0 001C4A40 7C 03 30 00 */ cmpw r3, r6 /* 801C7AE4 001C4A44 40 80 00 08 */ bge lbl_801C7AEC lbl_801C7AE8: /* 801C7AE8 001C4A48 42 00 00 00 */ bdnz lbl_801C7AE8 lbl_801C7AEC: /* 801C7AEC 001C4A4C 38 00 00 00 */ li r0, 0 /* 801C7AF0 001C4A50 90 1D 00 00 */ stw r0, 0(r29) /* 801C7AF4 001C4A54 80 1D 00 00 */ lwz r0, 0(r29) /* 801C7AF8 001C4A58 54 00 10 3A */ slwi r0, r0, 2 /* 801C7AFC 001C4A5C 7C 7D 02 14 */ add r3, r29, r0 /* 801C7B00 001C4A60 34 63 00 04 */ addic. r3, r3, 4 /* 801C7B04 001C4A64 41 82 00 08 */ beq lbl_801C7B0C /* 801C7B08 001C4A68 90 83 00 00 */ stw r4, 0(r3) lbl_801C7B0C: /* 801C7B0C 001C4A6C 80 7D 00 00 */ lwz r3, 0(r29) /* 801C7B10 001C4A70 38 03 00 01 */ addi r0, r3, 1 /* 801C7B14 001C4A74 90 1D 00 00 */ stw r0, 0(r29) /* 801C7B18 001C4A78 48 00 00 08 */ b lbl_801C7B20 lbl_801C7B1C: /* 801C7B1C 001C4A7C 81 23 00 20 */ lwz r9, 0x20(r3) lbl_801C7B20: /* 801C7B20 001C4A80 80 69 00 4C */ lwz r3, 0x4c(r9) /* 801C7B24 001C4A84 80 03 00 20 */ lwz r0, 0x20(r3) /* 801C7B28 001C4A88 28 00 00 00 */ cmplwi r0, 0 /* 801C7B2C 001C4A8C 40 82 FF F0 */ bne lbl_801C7B1C /* 801C7B30 001C4A90 80 BC 00 00 */ lwz r5, 0(r28) /* 801C7B34 001C4A94 38 60 00 00 */ li r3, 0 /* 801C7B38 001C4A98 2C 05 00 00 */ cmpwi r5, 0 /* 801C7B3C 001C4A9C 40 81 00 40 */ ble lbl_801C7B7C /* 801C7B40 001C4AA0 2C 05 00 08 */ cmpwi r5, 8 /* 801C7B44 001C4AA4 38 85 FF F8 */ addi r4, r5, -8 /* 801C7B48 001C4AA8 40 81 00 20 */ ble lbl_801C7B68 /* 801C7B4C 001C4AAC 38 04 00 07 */ addi r0, r4, 7 /* 801C7B50 001C4AB0 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7B54 001C4AB4 7C 09 03 A6 */ mtctr r0 /* 801C7B58 001C4AB8 2C 04 00 00 */ cmpwi r4, 0 /* 801C7B5C 001C4ABC 40 81 00 0C */ ble lbl_801C7B68 lbl_801C7B60: /* 801C7B60 001C4AC0 38 63 00 08 */ addi r3, r3, 8 /* 801C7B64 001C4AC4 42 00 FF FC */ bdnz lbl_801C7B60 lbl_801C7B68: /* 801C7B68 001C4AC8 7C 03 28 50 */ subf r0, r3, r5 /* 801C7B6C 001C4ACC 7C 09 03 A6 */ mtctr r0 /* 801C7B70 001C4AD0 7C 03 28 00 */ cmpw r3, r5 /* 801C7B74 001C4AD4 40 80 00 08 */ bge lbl_801C7B7C lbl_801C7B78: /* 801C7B78 001C4AD8 42 00 00 00 */ bdnz lbl_801C7B78 lbl_801C7B7C: /* 801C7B7C 001C4ADC 38 00 00 00 */ li r0, 0 /* 801C7B80 001C4AE0 90 1C 00 00 */ stw r0, 0(r28) /* 801C7B84 001C4AE4 80 1C 00 00 */ lwz r0, 0(r28) /* 801C7B88 001C4AE8 54 00 10 3A */ slwi r0, r0, 2 /* 801C7B8C 001C4AEC 7C 7C 02 14 */ add r3, r28, r0 /* 801C7B90 001C4AF0 34 63 00 04 */ addic. r3, r3, 4 /* 801C7B94 001C4AF4 41 82 00 08 */ beq lbl_801C7B9C /* 801C7B98 001C4AF8 91 23 00 00 */ stw r9, 0(r3) lbl_801C7B9C: /* 801C7B9C 001C4AFC 80 7C 00 00 */ lwz r3, 0(r28) /* 801C7BA0 001C4B00 38 03 00 01 */ addi r0, r3, 1 /* 801C7BA4 001C4B04 90 1C 00 00 */ stw r0, 0(r28) lbl_801C7BA8: /* 801C7BA8 001C4B08 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 801C7BAC 001C4B0C 7C 09 00 D0 */ neg r0, r9 /* 801C7BB0 001C4B10 7C 00 4B 78 */ or r0, r0, r9 /* 801C7BB4 001C4B14 38 80 00 00 */ li r4, 0 /* 801C7BB8 001C4B18 2C 06 00 00 */ cmpwi r6, 0 /* 801C7BBC 001C4B1C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801C7BC0 001C4B20 40 81 00 40 */ ble lbl_801C7C00 /* 801C7BC4 001C4B24 2C 06 00 08 */ cmpwi r6, 8 /* 801C7BC8 001C4B28 38 A6 FF F8 */ addi r5, r6, -8 /* 801C7BCC 001C4B2C 40 81 00 20 */ ble lbl_801C7BEC /* 801C7BD0 001C4B30 38 05 00 07 */ addi r0, r5, 7 /* 801C7BD4 001C4B34 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7BD8 001C4B38 7C 09 03 A6 */ mtctr r0 /* 801C7BDC 001C4B3C 2C 05 00 00 */ cmpwi r5, 0 /* 801C7BE0 001C4B40 40 81 00 0C */ ble lbl_801C7BEC lbl_801C7BE4: /* 801C7BE4 001C4B44 38 84 00 08 */ addi r4, r4, 8 /* 801C7BE8 001C4B48 42 00 FF FC */ bdnz lbl_801C7BE4 lbl_801C7BEC: /* 801C7BEC 001C4B4C 7C 04 30 50 */ subf r0, r4, r6 /* 801C7BF0 001C4B50 7C 09 03 A6 */ mtctr r0 /* 801C7BF4 001C4B54 7C 04 30 00 */ cmpw r4, r6 /* 801C7BF8 001C4B58 40 80 00 08 */ bge lbl_801C7C00 lbl_801C7BFC: /* 801C7BFC 001C4B5C 42 00 00 00 */ bdnz lbl_801C7BFC lbl_801C7C00: /* 801C7C00 001C4B60 80 C1 00 60 */ lwz r6, 0x60(r1) /* 801C7C04 001C4B64 38 80 00 00 */ li r4, 0 /* 801C7C08 001C4B68 90 81 00 2C */ stw r4, 0x2c(r1) /* 801C7C0C 001C4B6C 2C 06 00 00 */ cmpwi r6, 0 /* 801C7C10 001C4B70 40 81 00 40 */ ble lbl_801C7C50 /* 801C7C14 001C4B74 2C 06 00 08 */ cmpwi r6, 8 /* 801C7C18 001C4B78 38 A6 FF F8 */ addi r5, r6, -8 /* 801C7C1C 001C4B7C 40 81 00 20 */ ble lbl_801C7C3C /* 801C7C20 001C4B80 38 05 00 07 */ addi r0, r5, 7 /* 801C7C24 001C4B84 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7C28 001C4B88 7C 09 03 A6 */ mtctr r0 /* 801C7C2C 001C4B8C 2C 05 00 00 */ cmpwi r5, 0 /* 801C7C30 001C4B90 40 81 00 0C */ ble lbl_801C7C3C lbl_801C7C34: /* 801C7C34 001C4B94 38 84 00 08 */ addi r4, r4, 8 /* 801C7C38 001C4B98 42 00 FF FC */ bdnz lbl_801C7C34 lbl_801C7C3C: /* 801C7C3C 001C4B9C 7C 04 30 50 */ subf r0, r4, r6 /* 801C7C40 001C4BA0 7C 09 03 A6 */ mtctr r0 /* 801C7C44 001C4BA4 7C 04 30 00 */ cmpw r4, r6 /* 801C7C48 001C4BA8 40 80 00 08 */ bge lbl_801C7C50 lbl_801C7C4C: /* 801C7C4C 001C4BAC 42 00 00 00 */ bdnz lbl_801C7C4C lbl_801C7C50: /* 801C7C50 001C4BB0 BA E1 00 9C */ lmw r23, 0x9c(r1) /* 801C7C54 001C4BB4 38 00 00 00 */ li r0, 0 /* 801C7C58 001C4BB8 90 01 00 60 */ stw r0, 0x60(r1) /* 801C7C5C 001C4BBC 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801C7C60 001C4BC0 7C 08 03 A6 */ mtlr r0 /* 801C7C64 001C4BC4 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801C7C68 001C4BC8 4E 80 00 20 */ blr .global Search__15CPathFindSearchFRC9CVector3fRC9CVector3f Search__15CPathFindSearchFRC9CVector3fRC9CVector3f: /* 801C7C6C 001C4BCC 94 21 FD A0 */ stwu r1, -0x260(r1) /* 801C7C70 001C4BD0 7C 08 02 A6 */ mflr r0 /* 801C7C74 001C4BD4 90 01 02 64 */ stw r0, 0x264(r1) /* 801C7C78 001C4BD8 DB E1 02 50 */ stfd f31, 0x250(r1) /* 801C7C7C 001C4BDC F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 /* 801C7C80 001C4BE0 DB C1 02 40 */ stfd f30, 0x240(r1) /* 801C7C84 001C4BE4 F3 C1 02 48 */ psq_st f30, 584(r1), 0, qr0 /* 801C7C88 001C4BE8 DB A1 02 30 */ stfd f29, 0x230(r1) /* 801C7C8C 001C4BEC F3 A1 02 38 */ psq_st f29, 568(r1), 0, qr0 /* 801C7C90 001C4BF0 DB 81 02 20 */ stfd f28, 0x220(r1) /* 801C7C94 001C4BF4 F3 81 02 28 */ psq_st f28, 552(r1), 0, qr0 /* 801C7C98 001C4BF8 BE 41 01 E8 */ stmw r18, 0x1e8(r1) /* 801C7C9C 001C4BFC 7C 79 1B 78 */ mr r25, r3 /* 801C7CA0 001C4C00 7C 93 23 78 */ mr r19, r4 /* 801C7CA4 001C4C04 80 C3 00 04 */ lwz r6, 4(r3) /* 801C7CA8 001C4C08 7C BA 2B 78 */ mr r26, r5 /* 801C7CAC 001C4C0C 3B F9 00 08 */ addi r31, r25, 8 /* 801C7CB0 001C4C10 3B C0 00 00 */ li r30, 0 /* 801C7CB4 001C4C14 2C 06 00 00 */ cmpwi r6, 0 /* 801C7CB8 001C4C18 3B A0 00 00 */ li r29, 0 /* 801C7CBC 001C4C1C 38 60 00 00 */ li r3, 0 /* 801C7CC0 001C4C20 40 81 00 40 */ ble lbl_801C7D00 /* 801C7CC4 001C4C24 2C 06 00 08 */ cmpwi r6, 8 /* 801C7CC8 001C4C28 38 86 FF F8 */ addi r4, r6, -8 /* 801C7CCC 001C4C2C 40 81 00 20 */ ble lbl_801C7CEC /* 801C7CD0 001C4C30 38 04 00 07 */ addi r0, r4, 7 /* 801C7CD4 001C4C34 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7CD8 001C4C38 7C 09 03 A6 */ mtctr r0 /* 801C7CDC 001C4C3C 2C 04 00 00 */ cmpwi r4, 0 /* 801C7CE0 001C4C40 40 81 00 0C */ ble lbl_801C7CEC lbl_801C7CE4: /* 801C7CE4 001C4C44 38 63 00 08 */ addi r3, r3, 8 /* 801C7CE8 001C4C48 42 00 FF FC */ bdnz lbl_801C7CE4 lbl_801C7CEC: /* 801C7CEC 001C4C4C 7C 03 30 50 */ subf r0, r3, r6 /* 801C7CF0 001C4C50 7C 09 03 A6 */ mtctr r0 /* 801C7CF4 001C4C54 7C 03 30 00 */ cmpw r3, r6 /* 801C7CF8 001C4C58 40 80 00 08 */ bge lbl_801C7D00 lbl_801C7CFC: /* 801C7CFC 001C4C5C 42 00 00 00 */ bdnz lbl_801C7CFC lbl_801C7D00: /* 801C7D00 001C4C60 38 00 00 00 */ li r0, 0 /* 801C7D04 001C4C64 90 19 00 04 */ stw r0, 4(r25) /* 801C7D08 001C4C68 90 19 00 C8 */ stw r0, 0xc8(r25) /* 801C7D0C 001C4C6C 80 79 00 00 */ lwz r3, 0(r25) /* 801C7D10 001C4C70 28 03 00 00 */ cmplwi r3, 0 /* 801C7D14 001C4C74 40 82 00 14 */ bne lbl_801C7D28 /* 801C7D18 001C4C78 38 00 00 01 */ li r0, 1 /* 801C7D1C 001C4C7C 90 19 00 CC */ stw r0, 0xcc(r25) /* 801C7D20 001C4C80 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C7D24 001C4C84 48 00 10 3C */ b lbl_801C8D60 lbl_801C7D28: /* 801C7D28 001C4C88 80 03 01 50 */ lwz r0, 0x150(r3) /* 801C7D2C 001C4C8C 2C 00 02 00 */ cmpwi r0, 0x200 /* 801C7D30 001C4C90 40 81 00 14 */ ble lbl_801C7D44 /* 801C7D34 001C4C94 38 00 00 01 */ li r0, 1 /* 801C7D38 001C4C98 90 19 00 CC */ stw r0, 0xcc(r25) /* 801C7D3C 001C4C9C 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C7D40 001C4CA0 48 00 10 20 */ b lbl_801C8D60 lbl_801C7D44: /* 801C7D44 001C4CA4 C0 22 AB 30 */ lfs f1, lbl_805AC850@sda21(r2) /* 801C7D48 001C4CA8 7E 63 9B 78 */ mr r3, r19 /* 801C7D4C 001C4CAC 7F 44 D3 78 */ mr r4, r26 /* 801C7D50 001C4CB0 48 14 82 15 */ bl close_enough__FRC9CVector3fRC9CVector3ff /* 801C7D54 001C4CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C7D58 001C4CB8 41 82 00 48 */ beq lbl_801C7DA0 /* 801C7D5C 001C4CBC 80 19 00 04 */ lwz r0, 4(r25) /* 801C7D60 001C4CC0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C7D64 001C4CC4 7C 7F 02 15 */ add. r3, r31, r0 /* 801C7D68 001C4CC8 41 82 00 1C */ beq lbl_801C7D84 /* 801C7D6C 001C4CCC C0 13 00 00 */ lfs f0, 0(r19) /* 801C7D70 001C4CD0 D0 03 00 00 */ stfs f0, 0(r3) /* 801C7D74 001C4CD4 C0 13 00 04 */ lfs f0, 4(r19) /* 801C7D78 001C4CD8 D0 03 00 04 */ stfs f0, 4(r3) /* 801C7D7C 001C4CDC C0 13 00 08 */ lfs f0, 8(r19) /* 801C7D80 001C4CE0 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C7D84: /* 801C7D84 001C4CE4 80 79 00 04 */ lwz r3, 4(r25) /* 801C7D88 001C4CE8 38 00 00 00 */ li r0, 0 /* 801C7D8C 001C4CEC 38 63 00 01 */ addi r3, r3, 1 /* 801C7D90 001C4CF0 90 79 00 04 */ stw r3, 4(r25) /* 801C7D94 001C4CF4 90 19 00 CC */ stw r0, 0xcc(r25) /* 801C7D98 001C4CF8 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C7D9C 001C4CFC 48 00 0F C4 */ b lbl_801C8D60 lbl_801C7DA0: /* 801C7DA0 001C4D00 80 99 00 00 */ lwz r4, 0(r25) /* 801C7DA4 001C4D04 38 61 00 98 */ addi r3, r1, 0x98 /* 801C7DA8 001C4D08 C0 93 00 08 */ lfs f4, 8(r19) /* 801C7DAC 001C4D0C 38 A1 00 2C */ addi r5, r1, 0x2c /* 801C7DB0 001C4D10 38 84 01 88 */ addi r4, r4, 0x188 /* 801C7DB4 001C4D14 C0 73 00 04 */ lfs f3, 4(r19) /* 801C7DB8 001C4D18 C0 04 00 2C */ lfs f0, 0x2c(r4) /* 801C7DBC 001C4D1C C0 44 00 1C */ lfs f2, 0x1c(r4) /* 801C7DC0 001C4D20 EC 84 00 28 */ fsubs f4, f4, f0 /* 801C7DC4 001C4D24 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801C7DC8 001C4D28 C0 33 00 00 */ lfs f1, 0(r19) /* 801C7DCC 001C4D2C EC 43 10 28 */ fsubs f2, f3, f2 /* 801C7DD0 001C4D30 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C7DD4 001C4D34 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801C7DD8 001C4D38 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801C7DDC 001C4D3C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801C7DE0 001C4D40 48 14 AC 45 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C7DE4 001C4D44 C0 41 00 98 */ lfs f2, 0x98(r1) /* 801C7DE8 001C4D48 38 61 00 8C */ addi r3, r1, 0x8c /* 801C7DEC 001C4D4C C0 21 00 9C */ lfs f1, 0x9c(r1) /* 801C7DF0 001C4D50 38 A1 00 20 */ addi r5, r1, 0x20 /* 801C7DF4 001C4D54 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 801C7DF8 001C4D58 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801C7DFC 001C4D5C C0 BA 00 08 */ lfs f5, 8(r26) /* 801C7E00 001C4D60 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801C7E04 001C4D64 C0 7A 00 04 */ lfs f3, 4(r26) /* 801C7E08 001C4D68 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801C7E0C 001C4D6C C0 3A 00 00 */ lfs f1, 0(r26) /* 801C7E10 001C4D70 80 99 00 00 */ lwz r4, 0(r25) /* 801C7E14 001C4D74 38 84 01 88 */ addi r4, r4, 0x188 /* 801C7E18 001C4D78 C0 84 00 2C */ lfs f4, 0x2c(r4) /* 801C7E1C 001C4D7C C0 44 00 1C */ lfs f2, 0x1c(r4) /* 801C7E20 001C4D80 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801C7E24 001C4D84 EC 85 20 28 */ fsubs f4, f5, f4 /* 801C7E28 001C4D88 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C7E2C 001C4D8C EC 01 00 28 */ fsubs f0, f1, f0 /* 801C7E30 001C4D90 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801C7E34 001C4D94 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801C7E38 001C4D98 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801C7E3C 001C4D9C 48 14 AB E9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C7E40 001C4DA0 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 801C7E44 001C4DA4 C0 21 00 90 */ lfs f1, 0x90(r1) /* 801C7E48 001C4DA8 C0 01 00 94 */ lfs f0, 0x94(r1) /* 801C7E4C 001C4DAC D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801C7E50 001C4DB0 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801C7E54 001C4DB4 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801C7E58 001C4DB8 80 79 00 DC */ lwz r3, 0xdc(r25) /* 801C7E5C 001C4DBC 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C7E60 001C4DC0 40 82 00 24 */ bne lbl_801C7E84 /* 801C7E64 001C4DC4 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C7E68 001C4DC8 40 82 00 1C */ bne lbl_801C7E84 /* 801C7E6C 001C4DCC C0 22 AB 28 */ lfs f1, lbl_805AC848@sda21(r2) /* 801C7E70 001C4DD0 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 801C7E74 001C4DD4 EC 00 08 2A */ fadds f0, f0, f1 /* 801C7E78 001C4DD8 EC 22 08 2A */ fadds f1, f2, f1 /* 801C7E7C 001C4DDC D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801C7E80 001C4DE0 D0 21 00 C4 */ stfs f1, 0xc4(r1) lbl_801C7E84: /* 801C7E84 001C4DE4 38 00 00 00 */ li r0, 0 /* 801C7E88 001C4DE8 38 81 01 04 */ addi r4, r1, 0x104 /* 801C7E8C 001C4DEC 90 01 01 18 */ stw r0, 0x118(r1) /* 801C7E90 001C4DF0 38 A1 00 BC */ addi r5, r1, 0xbc /* 801C7E94 001C4DF4 90 01 01 04 */ stw r0, 0x104(r1) /* 801C7E98 001C4DF8 80 79 00 00 */ lwz r3, 0(r25) /* 801C7E9C 001C4DFC 80 D9 00 DC */ lwz r6, 0xdc(r25) /* 801C7EA0 001C4E00 80 F9 00 E0 */ lwz r7, 0xe0(r25) /* 801C7EA4 001C4E04 48 00 2B A1 */ bl "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" /* 801C7EA8 001C4E08 2C 03 00 00 */ cmpwi r3, 0 /* 801C7EAC 001C4E0C 40 82 01 68 */ bne lbl_801C8014 /* 801C7EB0 001C4E10 80 79 00 00 */ lwz r3, 0(r25) /* 801C7EB4 001C4E14 38 81 00 BC */ addi r4, r1, 0xbc /* 801C7EB8 001C4E18 80 B9 00 DC */ lwz r5, 0xdc(r25) /* 801C7EBC 001C4E1C 80 D9 00 E0 */ lwz r6, 0xe0(r25) /* 801C7EC0 001C4E20 C0 39 00 D8 */ lfs f1, 0xd8(r25) /* 801C7EC4 001C4E24 48 00 28 D9 */ bl FindClosestRegion__7CPFAreaFRC9CVector3fUif /* 801C7EC8 001C4E28 28 03 00 00 */ cmplwi r3, 0 /* 801C7ECC 001C4E2C 40 82 00 B8 */ bne lbl_801C7F84 /* 801C7ED0 001C4E30 38 00 00 02 */ li r0, 2 /* 801C7ED4 001C4E34 38 80 00 00 */ li r4, 0 /* 801C7ED8 001C4E38 90 19 00 CC */ stw r0, 0xcc(r25) /* 801C7EDC 001C4E3C 80 C1 01 04 */ lwz r6, 0x104(r1) /* 801C7EE0 001C4E40 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C7EE4 001C4E44 2C 06 00 00 */ cmpwi r6, 0 /* 801C7EE8 001C4E48 40 81 00 40 */ ble lbl_801C7F28 /* 801C7EEC 001C4E4C 2C 06 00 08 */ cmpwi r6, 8 /* 801C7EF0 001C4E50 38 A6 FF F8 */ addi r5, r6, -8 /* 801C7EF4 001C4E54 40 81 00 20 */ ble lbl_801C7F14 /* 801C7EF8 001C4E58 38 05 00 07 */ addi r0, r5, 7 /* 801C7EFC 001C4E5C 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7F00 001C4E60 7C 09 03 A6 */ mtctr r0 /* 801C7F04 001C4E64 2C 05 00 00 */ cmpwi r5, 0 /* 801C7F08 001C4E68 40 81 00 0C */ ble lbl_801C7F14 lbl_801C7F0C: /* 801C7F0C 001C4E6C 38 84 00 08 */ addi r4, r4, 8 /* 801C7F10 001C4E70 42 00 FF FC */ bdnz lbl_801C7F0C lbl_801C7F14: /* 801C7F14 001C4E74 7C 04 30 50 */ subf r0, r4, r6 /* 801C7F18 001C4E78 7C 09 03 A6 */ mtctr r0 /* 801C7F1C 001C4E7C 7C 04 30 00 */ cmpw r4, r6 /* 801C7F20 001C4E80 40 80 00 08 */ bge lbl_801C7F28 lbl_801C7F24: /* 801C7F24 001C4E84 42 00 00 00 */ bdnz lbl_801C7F24 lbl_801C7F28: /* 801C7F28 001C4E88 80 C1 01 18 */ lwz r6, 0x118(r1) /* 801C7F2C 001C4E8C 38 80 00 00 */ li r4, 0 /* 801C7F30 001C4E90 90 81 01 04 */ stw r4, 0x104(r1) /* 801C7F34 001C4E94 2C 06 00 00 */ cmpwi r6, 0 /* 801C7F38 001C4E98 40 81 00 40 */ ble lbl_801C7F78 /* 801C7F3C 001C4E9C 2C 06 00 08 */ cmpwi r6, 8 /* 801C7F40 001C4EA0 38 A6 FF F8 */ addi r5, r6, -8 /* 801C7F44 001C4EA4 40 81 00 20 */ ble lbl_801C7F64 /* 801C7F48 001C4EA8 38 05 00 07 */ addi r0, r5, 7 /* 801C7F4C 001C4EAC 54 00 E8 FE */ srwi r0, r0, 3 /* 801C7F50 001C4EB0 7C 09 03 A6 */ mtctr r0 /* 801C7F54 001C4EB4 2C 05 00 00 */ cmpwi r5, 0 /* 801C7F58 001C4EB8 40 81 00 0C */ ble lbl_801C7F64 lbl_801C7F5C: /* 801C7F5C 001C4EBC 38 84 00 08 */ addi r4, r4, 8 /* 801C7F60 001C4EC0 42 00 FF FC */ bdnz lbl_801C7F5C lbl_801C7F64: /* 801C7F64 001C4EC4 7C 04 30 50 */ subf r0, r4, r6 /* 801C7F68 001C4EC8 7C 09 03 A6 */ mtctr r0 /* 801C7F6C 001C4ECC 7C 04 30 00 */ cmpw r4, r6 /* 801C7F70 001C4ED0 40 80 00 08 */ bge lbl_801C7F78 lbl_801C7F74: /* 801C7F74 001C4ED4 42 00 00 00 */ bdnz lbl_801C7F74 lbl_801C7F78: /* 801C7F78 001C4ED8 38 00 00 00 */ li r0, 0 /* 801C7F7C 001C4EDC 90 01 01 18 */ stw r0, 0x118(r1) /* 801C7F80 001C4EE0 48 00 0D E0 */ b lbl_801C8D60 lbl_801C7F84: /* 801C7F84 001C4EE4 80 99 00 DC */ lwz r4, 0xdc(r25) /* 801C7F88 001C4EE8 54 80 07 BD */ rlwinm. r0, r4, 0, 0x1e, 0x1e /* 801C7F8C 001C4EEC 40 82 00 0C */ bne lbl_801C7F98 /* 801C7F90 001C4EF0 54 80 07 7B */ rlwinm. r0, r4, 0, 0x1d, 0x1d /* 801C7F94 001C4EF4 41 82 00 40 */ beq lbl_801C7FD4 lbl_801C7F98: /* 801C7F98 001C4EF8 80 01 01 18 */ lwz r0, 0x118(r1) /* 801C7F9C 001C4EFC 38 81 01 1C */ addi r4, r1, 0x11c /* 801C7FA0 001C4F00 3B C0 00 01 */ li r30, 1 /* 801C7FA4 001C4F04 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C7FA8 001C4F08 7C 84 02 15 */ add. r4, r4, r0 /* 801C7FAC 001C4F0C 41 82 00 1C */ beq lbl_801C7FC8 /* 801C7FB0 001C4F10 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801C7FB4 001C4F14 C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 801C7FB8 001C4F18 D0 04 00 00 */ stfs f0, 0(r4) /* 801C7FBC 001C4F1C C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801C7FC0 001C4F20 D0 24 00 04 */ stfs f1, 4(r4) /* 801C7FC4 001C4F24 D0 04 00 08 */ stfs f0, 8(r4) lbl_801C7FC8: /* 801C7FC8 001C4F28 80 81 01 18 */ lwz r4, 0x118(r1) /* 801C7FCC 001C4F2C 38 04 00 01 */ addi r0, r4, 1 /* 801C7FD0 001C4F30 90 01 01 18 */ stw r0, 0x118(r1) lbl_801C7FD4: /* 801C7FD4 001C4F34 80 01 01 04 */ lwz r0, 0x104(r1) /* 801C7FD8 001C4F38 38 81 01 08 */ addi r4, r1, 0x108 /* 801C7FDC 001C4F3C 54 00 10 3A */ slwi r0, r0, 2 /* 801C7FE0 001C4F40 7C 84 02 15 */ add. r4, r4, r0 /* 801C7FE4 001C4F44 41 82 00 08 */ beq lbl_801C7FEC /* 801C7FE8 001C4F48 90 64 00 00 */ stw r3, 0(r4) lbl_801C7FEC: /* 801C7FEC 001C4F4C 80 61 01 04 */ lwz r3, 0x104(r1) /* 801C7FF0 001C4F50 38 03 00 01 */ addi r0, r3, 1 /* 801C7FF4 001C4F54 90 01 01 04 */ stw r0, 0x104(r1) /* 801C7FF8 001C4F58 80 79 00 00 */ lwz r3, 0(r25) /* 801C7FFC 001C4F5C C0 23 00 08 */ lfs f1, 8(r3) /* 801C8000 001C4F60 C0 43 00 0C */ lfs f2, 0xc(r3) /* 801C8004 001C4F64 C0 03 00 04 */ lfs f0, 4(r3) /* 801C8008 001C4F68 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801C800C 001C4F6C D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801C8010 001C4F70 D0 41 00 C4 */ stfs f2, 0xc4(r1) lbl_801C8014: /* 801C8014 001C4F74 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 801C8018 001C4F78 38 00 00 00 */ li r0, 0 /* 801C801C 001C4F7C C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 801C8020 001C4F80 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801C8024 001C4F84 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801C8028 001C4F88 38 A1 00 B0 */ addi r5, r1, 0xb0 /* 801C802C 001C4F8C D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801C8030 001C4F90 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801C8034 001C4F94 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801C8038 001C4F98 90 01 00 F0 */ stw r0, 0xf0(r1) /* 801C803C 001C4F9C 80 79 00 00 */ lwz r3, 0(r25) /* 801C8040 001C4FA0 80 D9 00 DC */ lwz r6, 0xdc(r25) /* 801C8044 001C4FA4 80 F9 00 E0 */ lwz r7, 0xe0(r25) /* 801C8048 001C4FA8 48 00 29 FD */ bl "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" /* 801C804C 001C4FAC 2C 03 00 00 */ cmpwi r3, 0 /* 801C8050 001C4FB0 40 82 01 80 */ bne lbl_801C81D0 /* 801C8054 001C4FB4 80 79 00 00 */ lwz r3, 0(r25) /* 801C8058 001C4FB8 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801C805C 001C4FBC 80 B9 00 DC */ lwz r5, 0xdc(r25) /* 801C8060 001C4FC0 80 D9 00 E0 */ lwz r6, 0xe0(r25) /* 801C8064 001C4FC4 C0 39 00 D8 */ lfs f1, 0xd8(r25) /* 801C8068 001C4FC8 48 00 27 35 */ bl FindClosestRegion__7CPFAreaFRC9CVector3fUif /* 801C806C 001C4FCC 28 03 00 00 */ cmplwi r3, 0 /* 801C8070 001C4FD0 40 82 01 08 */ bne lbl_801C8178 /* 801C8074 001C4FD4 38 00 00 03 */ li r0, 3 /* 801C8078 001C4FD8 38 80 00 00 */ li r4, 0 /* 801C807C 001C4FDC 90 19 00 CC */ stw r0, 0xcc(r25) /* 801C8080 001C4FE0 80 C1 00 F0 */ lwz r6, 0xf0(r1) /* 801C8084 001C4FE4 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C8088 001C4FE8 2C 06 00 00 */ cmpwi r6, 0 /* 801C808C 001C4FEC 40 81 00 40 */ ble lbl_801C80CC /* 801C8090 001C4FF0 2C 06 00 08 */ cmpwi r6, 8 /* 801C8094 001C4FF4 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8098 001C4FF8 40 81 00 20 */ ble lbl_801C80B8 /* 801C809C 001C4FFC 38 05 00 07 */ addi r0, r5, 7 /* 801C80A0 001C5000 54 00 E8 FE */ srwi r0, r0, 3 /* 801C80A4 001C5004 7C 09 03 A6 */ mtctr r0 /* 801C80A8 001C5008 2C 05 00 00 */ cmpwi r5, 0 /* 801C80AC 001C500C 40 81 00 0C */ ble lbl_801C80B8 lbl_801C80B0: /* 801C80B0 001C5010 38 84 00 08 */ addi r4, r4, 8 /* 801C80B4 001C5014 42 00 FF FC */ bdnz lbl_801C80B0 lbl_801C80B8: /* 801C80B8 001C5018 7C 04 30 50 */ subf r0, r4, r6 /* 801C80BC 001C501C 7C 09 03 A6 */ mtctr r0 /* 801C80C0 001C5020 7C 04 30 00 */ cmpw r4, r6 /* 801C80C4 001C5024 40 80 00 08 */ bge lbl_801C80CC lbl_801C80C8: /* 801C80C8 001C5028 42 00 00 00 */ bdnz lbl_801C80C8 lbl_801C80CC: /* 801C80CC 001C502C 80 C1 01 04 */ lwz r6, 0x104(r1) /* 801C80D0 001C5030 38 80 00 00 */ li r4, 0 /* 801C80D4 001C5034 90 81 00 F0 */ stw r4, 0xf0(r1) /* 801C80D8 001C5038 2C 06 00 00 */ cmpwi r6, 0 /* 801C80DC 001C503C 40 81 00 40 */ ble lbl_801C811C /* 801C80E0 001C5040 2C 06 00 08 */ cmpwi r6, 8 /* 801C80E4 001C5044 38 A6 FF F8 */ addi r5, r6, -8 /* 801C80E8 001C5048 40 81 00 20 */ ble lbl_801C8108 /* 801C80EC 001C504C 38 05 00 07 */ addi r0, r5, 7 /* 801C80F0 001C5050 54 00 E8 FE */ srwi r0, r0, 3 /* 801C80F4 001C5054 7C 09 03 A6 */ mtctr r0 /* 801C80F8 001C5058 2C 05 00 00 */ cmpwi r5, 0 /* 801C80FC 001C505C 40 81 00 0C */ ble lbl_801C8108 lbl_801C8100: /* 801C8100 001C5060 38 84 00 08 */ addi r4, r4, 8 /* 801C8104 001C5064 42 00 FF FC */ bdnz lbl_801C8100 lbl_801C8108: /* 801C8108 001C5068 7C 04 30 50 */ subf r0, r4, r6 /* 801C810C 001C506C 7C 09 03 A6 */ mtctr r0 /* 801C8110 001C5070 7C 04 30 00 */ cmpw r4, r6 /* 801C8114 001C5074 40 80 00 08 */ bge lbl_801C811C lbl_801C8118: /* 801C8118 001C5078 42 00 00 00 */ bdnz lbl_801C8118 lbl_801C811C: /* 801C811C 001C507C 80 C1 01 18 */ lwz r6, 0x118(r1) /* 801C8120 001C5080 38 80 00 00 */ li r4, 0 /* 801C8124 001C5084 90 81 01 04 */ stw r4, 0x104(r1) /* 801C8128 001C5088 2C 06 00 00 */ cmpwi r6, 0 /* 801C812C 001C508C 40 81 00 40 */ ble lbl_801C816C /* 801C8130 001C5090 2C 06 00 08 */ cmpwi r6, 8 /* 801C8134 001C5094 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8138 001C5098 40 81 00 20 */ ble lbl_801C8158 /* 801C813C 001C509C 38 05 00 07 */ addi r0, r5, 7 /* 801C8140 001C50A0 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8144 001C50A4 7C 09 03 A6 */ mtctr r0 /* 801C8148 001C50A8 2C 05 00 00 */ cmpwi r5, 0 /* 801C814C 001C50AC 40 81 00 0C */ ble lbl_801C8158 lbl_801C8150: /* 801C8150 001C50B0 38 84 00 08 */ addi r4, r4, 8 /* 801C8154 001C50B4 42 00 FF FC */ bdnz lbl_801C8150 lbl_801C8158: /* 801C8158 001C50B8 7C 04 30 50 */ subf r0, r4, r6 /* 801C815C 001C50BC 7C 09 03 A6 */ mtctr r0 /* 801C8160 001C50C0 7C 04 30 00 */ cmpw r4, r6 /* 801C8164 001C50C4 40 80 00 08 */ bge lbl_801C816C lbl_801C8168: /* 801C8168 001C50C8 42 00 00 00 */ bdnz lbl_801C8168 lbl_801C816C: /* 801C816C 001C50CC 38 00 00 00 */ li r0, 0 /* 801C8170 001C50D0 90 01 01 18 */ stw r0, 0x118(r1) /* 801C8174 001C50D4 48 00 0B EC */ b lbl_801C8D60 lbl_801C8178: /* 801C8178 001C50D8 80 99 00 DC */ lwz r4, 0xdc(r25) /* 801C817C 001C50DC 54 80 07 BD */ rlwinm. r0, r4, 0, 0x1e, 0x1e /* 801C8180 001C50E0 40 82 00 0C */ bne lbl_801C818C /* 801C8184 001C50E4 54 80 07 7B */ rlwinm. r0, r4, 0, 0x1d, 0x1d /* 801C8188 001C50E8 41 82 00 08 */ beq lbl_801C8190 lbl_801C818C: /* 801C818C 001C50EC 3B A0 00 01 */ li r29, 1 lbl_801C8190: /* 801C8190 001C50F0 80 01 00 F0 */ lwz r0, 0xf0(r1) /* 801C8194 001C50F4 38 81 00 F4 */ addi r4, r1, 0xf4 /* 801C8198 001C50F8 54 00 10 3A */ slwi r0, r0, 2 /* 801C819C 001C50FC 7C 84 02 15 */ add. r4, r4, r0 /* 801C81A0 001C5100 41 82 00 08 */ beq lbl_801C81A8 /* 801C81A4 001C5104 90 64 00 00 */ stw r3, 0(r4) lbl_801C81A8: /* 801C81A8 001C5108 80 61 00 F0 */ lwz r3, 0xf0(r1) /* 801C81AC 001C510C 38 03 00 01 */ addi r0, r3, 1 /* 801C81B0 001C5110 90 01 00 F0 */ stw r0, 0xf0(r1) /* 801C81B4 001C5114 80 79 00 00 */ lwz r3, 0(r25) /* 801C81B8 001C5118 C0 23 00 08 */ lfs f1, 8(r3) /* 801C81BC 001C511C C0 43 00 0C */ lfs f2, 0xc(r3) /* 801C81C0 001C5120 C0 03 00 04 */ lfs f0, 4(r3) /* 801C81C4 001C5124 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801C81C8 001C5128 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801C81CC 001C512C D0 41 00 B8 */ stfs f2, 0xb8(r1) lbl_801C81D0: /* 801C81D0 001C5130 38 00 00 00 */ li r0, 0 /* 801C81D4 001C5134 3A E1 00 F4 */ addi r23, r1, 0xf4 /* 801C81D8 001C5138 90 01 00 DC */ stw r0, 0xdc(r1) /* 801C81DC 001C513C 3B 61 01 08 */ addi r27, r1, 0x108 /* 801C81E0 001C5140 3A C1 00 E0 */ addi r22, r1, 0xe0 /* 801C81E4 001C5144 3B 81 00 CC */ addi r28, r1, 0xcc /* 801C81E8 001C5148 90 01 00 C8 */ stw r0, 0xc8(r1) /* 801C81EC 001C514C 3A 60 00 01 */ li r19, 1 /* 801C81F0 001C5150 3A 80 00 00 */ li r20, 0 /* 801C81F4 001C5154 48 00 03 E0 */ b lbl_801C85D4 lbl_801C81F8: /* 801C81F8 001C5158 7E F8 BB 78 */ mr r24, r23 /* 801C81FC 001C515C 3A A0 00 00 */ li r21, 0 /* 801C8200 001C5160 48 00 03 C0 */ b lbl_801C85C0 lbl_801C8204: /* 801C8204 001C5164 80 9B 00 00 */ lwz r4, 0(r27) /* 801C8208 001C5168 80 B8 00 00 */ lwz r5, 0(r24) /* 801C820C 001C516C 7C 04 28 40 */ cmplw r4, r5 /* 801C8210 001C5170 40 82 02 E0 */ bne lbl_801C84F0 /* 801C8214 001C5174 80 79 00 DC */ lwz r3, 0xdc(r25) /* 801C8218 001C5178 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C821C 001C517C 40 82 00 28 */ bne lbl_801C8244 /* 801C8220 001C5180 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C8224 001C5184 40 82 00 20 */ bne lbl_801C8244 /* 801C8228 001C5188 56 B2 10 3A */ slwi r18, r21, 2 /* 801C822C 001C518C 38 81 00 BC */ addi r4, r1, 0xbc /* 801C8230 001C5190 7C 77 90 2E */ lwzx r3, r23, r18 /* 801C8234 001C5194 48 00 12 C9 */ bl DropToGround__9CPFRegionCFR9CVector3f /* 801C8238 001C5198 7C 77 90 2E */ lwzx r3, r23, r18 /* 801C823C 001C519C 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801C8240 001C51A0 48 00 12 BD */ bl DropToGround__9CPFRegionCFR9CVector3f lbl_801C8244: /* 801C8244 001C51A4 80 99 00 00 */ lwz r4, 0(r25) /* 801C8248 001C51A8 38 61 00 80 */ addi r3, r1, 0x80 /* 801C824C 001C51AC 38 A1 00 BC */ addi r5, r1, 0xbc /* 801C8250 001C51B0 3A 44 01 88 */ addi r18, r4, 0x188 /* 801C8254 001C51B4 7E 44 93 78 */ mr r4, r18 /* 801C8258 001C51B8 48 14 A8 91 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801C825C 001C51BC 80 19 00 04 */ lwz r0, 4(r25) /* 801C8260 001C51C0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8264 001C51C4 7C 7F 02 15 */ add. r3, r31, r0 /* 801C8268 001C51C8 41 82 00 1C */ beq lbl_801C8284 /* 801C826C 001C51CC C0 01 00 80 */ lfs f0, 0x80(r1) /* 801C8270 001C51D0 D0 03 00 00 */ stfs f0, 0(r3) /* 801C8274 001C51D4 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801C8278 001C51D8 D0 03 00 04 */ stfs f0, 4(r3) /* 801C827C 001C51DC C0 01 00 88 */ lfs f0, 0x88(r1) /* 801C8280 001C51E0 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C8284: /* 801C8284 001C51E4 80 B9 00 04 */ lwz r5, 4(r25) /* 801C8288 001C51E8 38 61 00 BC */ addi r3, r1, 0xbc /* 801C828C 001C51EC C0 22 AB 30 */ lfs f1, lbl_805AC850@sda21(r2) /* 801C8290 001C51F0 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801C8294 001C51F4 38 05 00 01 */ addi r0, r5, 1 /* 801C8298 001C51F8 90 19 00 04 */ stw r0, 4(r25) /* 801C829C 001C51FC 48 14 7C C9 */ bl close_enough__FRC9CVector3fRC9CVector3ff /* 801C82A0 001C5200 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C82A4 001C5204 40 82 00 48 */ bne lbl_801C82EC /* 801C82A8 001C5208 7E 44 93 78 */ mr r4, r18 /* 801C82AC 001C520C 38 61 00 74 */ addi r3, r1, 0x74 /* 801C82B0 001C5210 38 A1 00 B0 */ addi r5, r1, 0xb0 /* 801C82B4 001C5214 48 14 A8 35 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801C82B8 001C5218 80 19 00 04 */ lwz r0, 4(r25) /* 801C82BC 001C521C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C82C0 001C5220 7C 7F 02 15 */ add. r3, r31, r0 /* 801C82C4 001C5224 41 82 00 1C */ beq lbl_801C82E0 /* 801C82C8 001C5228 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801C82CC 001C522C D0 03 00 00 */ stfs f0, 0(r3) /* 801C82D0 001C5230 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801C82D4 001C5234 D0 03 00 04 */ stfs f0, 4(r3) /* 801C82D8 001C5238 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801C82DC 001C523C D0 03 00 08 */ stfs f0, 8(r3) lbl_801C82E0: /* 801C82E0 001C5240 80 79 00 04 */ lwz r3, 4(r25) /* 801C82E4 001C5244 38 03 00 01 */ addi r0, r3, 1 /* 801C82E8 001C5248 90 19 00 04 */ stw r0, 4(r25) lbl_801C82EC: /* 801C82EC 001C524C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801C82F0 001C5250 41 82 00 60 */ beq lbl_801C8350 /* 801C82F4 001C5254 C0 22 AB 30 */ lfs f1, lbl_805AC850@sda21(r2) /* 801C82F8 001C5258 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801C82FC 001C525C 38 81 00 A4 */ addi r4, r1, 0xa4 /* 801C8300 001C5260 48 14 7C 65 */ bl close_enough__FRC9CVector3fRC9CVector3ff /* 801C8304 001C5264 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C8308 001C5268 40 82 00 48 */ bne lbl_801C8350 /* 801C830C 001C526C 7E 44 93 78 */ mr r4, r18 /* 801C8310 001C5270 38 61 00 68 */ addi r3, r1, 0x68 /* 801C8314 001C5274 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 801C8318 001C5278 48 14 A7 D1 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801C831C 001C527C 80 19 00 04 */ lwz r0, 4(r25) /* 801C8320 001C5280 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8324 001C5284 7C 7F 02 15 */ add. r3, r31, r0 /* 801C8328 001C5288 41 82 00 1C */ beq lbl_801C8344 /* 801C832C 001C528C C0 01 00 68 */ lfs f0, 0x68(r1) /* 801C8330 001C5290 D0 03 00 00 */ stfs f0, 0(r3) /* 801C8334 001C5294 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801C8338 001C5298 D0 03 00 04 */ stfs f0, 4(r3) /* 801C833C 001C529C C0 01 00 70 */ lfs f0, 0x70(r1) /* 801C8340 001C52A0 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C8344: /* 801C8344 001C52A4 80 79 00 04 */ lwz r3, 4(r25) /* 801C8348 001C52A8 38 03 00 01 */ addi r0, r3, 1 /* 801C834C 001C52AC 90 19 00 04 */ stw r0, 4(r25) lbl_801C8350: /* 801C8350 001C52B0 38 80 00 00 */ li r4, 0 /* 801C8354 001C52B4 90 99 00 CC */ stw r4, 0xcc(r25) /* 801C8358 001C52B8 80 C1 00 C8 */ lwz r6, 0xc8(r1) /* 801C835C 001C52BC 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C8360 001C52C0 2C 06 00 00 */ cmpwi r6, 0 /* 801C8364 001C52C4 40 81 00 40 */ ble lbl_801C83A4 /* 801C8368 001C52C8 2C 06 00 08 */ cmpwi r6, 8 /* 801C836C 001C52CC 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8370 001C52D0 40 81 00 20 */ ble lbl_801C8390 /* 801C8374 001C52D4 38 05 00 07 */ addi r0, r5, 7 /* 801C8378 001C52D8 54 00 E8 FE */ srwi r0, r0, 3 /* 801C837C 001C52DC 7C 09 03 A6 */ mtctr r0 /* 801C8380 001C52E0 2C 05 00 00 */ cmpwi r5, 0 /* 801C8384 001C52E4 40 81 00 0C */ ble lbl_801C8390 lbl_801C8388: /* 801C8388 001C52E8 38 84 00 08 */ addi r4, r4, 8 /* 801C838C 001C52EC 42 00 FF FC */ bdnz lbl_801C8388 lbl_801C8390: /* 801C8390 001C52F0 7C 04 30 50 */ subf r0, r4, r6 /* 801C8394 001C52F4 7C 09 03 A6 */ mtctr r0 /* 801C8398 001C52F8 7C 04 30 00 */ cmpw r4, r6 /* 801C839C 001C52FC 40 80 00 08 */ bge lbl_801C83A4 lbl_801C83A0: /* 801C83A0 001C5300 42 00 00 00 */ bdnz lbl_801C83A0 lbl_801C83A4: /* 801C83A4 001C5304 80 C1 00 DC */ lwz r6, 0xdc(r1) /* 801C83A8 001C5308 38 80 00 00 */ li r4, 0 /* 801C83AC 001C530C 90 81 00 C8 */ stw r4, 0xc8(r1) /* 801C83B0 001C5310 2C 06 00 00 */ cmpwi r6, 0 /* 801C83B4 001C5314 40 81 00 40 */ ble lbl_801C83F4 /* 801C83B8 001C5318 2C 06 00 08 */ cmpwi r6, 8 /* 801C83BC 001C531C 38 A6 FF F8 */ addi r5, r6, -8 /* 801C83C0 001C5320 40 81 00 20 */ ble lbl_801C83E0 /* 801C83C4 001C5324 38 05 00 07 */ addi r0, r5, 7 /* 801C83C8 001C5328 54 00 E8 FE */ srwi r0, r0, 3 /* 801C83CC 001C532C 7C 09 03 A6 */ mtctr r0 /* 801C83D0 001C5330 2C 05 00 00 */ cmpwi r5, 0 /* 801C83D4 001C5334 40 81 00 0C */ ble lbl_801C83E0 lbl_801C83D8: /* 801C83D8 001C5338 38 84 00 08 */ addi r4, r4, 8 /* 801C83DC 001C533C 42 00 FF FC */ bdnz lbl_801C83D8 lbl_801C83E0: /* 801C83E0 001C5340 7C 04 30 50 */ subf r0, r4, r6 /* 801C83E4 001C5344 7C 09 03 A6 */ mtctr r0 /* 801C83E8 001C5348 7C 04 30 00 */ cmpw r4, r6 /* 801C83EC 001C534C 40 80 00 08 */ bge lbl_801C83F4 lbl_801C83F0: /* 801C83F0 001C5350 42 00 00 00 */ bdnz lbl_801C83F0 lbl_801C83F4: /* 801C83F4 001C5354 80 C1 00 F0 */ lwz r6, 0xf0(r1) /* 801C83F8 001C5358 38 80 00 00 */ li r4, 0 /* 801C83FC 001C535C 90 81 00 DC */ stw r4, 0xdc(r1) /* 801C8400 001C5360 2C 06 00 00 */ cmpwi r6, 0 /* 801C8404 001C5364 40 81 00 40 */ ble lbl_801C8444 /* 801C8408 001C5368 2C 06 00 08 */ cmpwi r6, 8 /* 801C840C 001C536C 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8410 001C5370 40 81 00 20 */ ble lbl_801C8430 /* 801C8414 001C5374 38 05 00 07 */ addi r0, r5, 7 /* 801C8418 001C5378 54 00 E8 FE */ srwi r0, r0, 3 /* 801C841C 001C537C 7C 09 03 A6 */ mtctr r0 /* 801C8420 001C5380 2C 05 00 00 */ cmpwi r5, 0 /* 801C8424 001C5384 40 81 00 0C */ ble lbl_801C8430 lbl_801C8428: /* 801C8428 001C5388 38 84 00 08 */ addi r4, r4, 8 /* 801C842C 001C538C 42 00 FF FC */ bdnz lbl_801C8428 lbl_801C8430: /* 801C8430 001C5390 7C 04 30 50 */ subf r0, r4, r6 /* 801C8434 001C5394 7C 09 03 A6 */ mtctr r0 /* 801C8438 001C5398 7C 04 30 00 */ cmpw r4, r6 /* 801C843C 001C539C 40 80 00 08 */ bge lbl_801C8444 lbl_801C8440: /* 801C8440 001C53A0 42 00 00 00 */ bdnz lbl_801C8440 lbl_801C8444: /* 801C8444 001C53A4 80 C1 01 04 */ lwz r6, 0x104(r1) /* 801C8448 001C53A8 38 80 00 00 */ li r4, 0 /* 801C844C 001C53AC 90 81 00 F0 */ stw r4, 0xf0(r1) /* 801C8450 001C53B0 2C 06 00 00 */ cmpwi r6, 0 /* 801C8454 001C53B4 40 81 00 40 */ ble lbl_801C8494 /* 801C8458 001C53B8 2C 06 00 08 */ cmpwi r6, 8 /* 801C845C 001C53BC 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8460 001C53C0 40 81 00 20 */ ble lbl_801C8480 /* 801C8464 001C53C4 38 05 00 07 */ addi r0, r5, 7 /* 801C8468 001C53C8 54 00 E8 FE */ srwi r0, r0, 3 /* 801C846C 001C53CC 7C 09 03 A6 */ mtctr r0 /* 801C8470 001C53D0 2C 05 00 00 */ cmpwi r5, 0 /* 801C8474 001C53D4 40 81 00 0C */ ble lbl_801C8480 lbl_801C8478: /* 801C8478 001C53D8 38 84 00 08 */ addi r4, r4, 8 /* 801C847C 001C53DC 42 00 FF FC */ bdnz lbl_801C8478 lbl_801C8480: /* 801C8480 001C53E0 7C 04 30 50 */ subf r0, r4, r6 /* 801C8484 001C53E4 7C 09 03 A6 */ mtctr r0 /* 801C8488 001C53E8 7C 04 30 00 */ cmpw r4, r6 /* 801C848C 001C53EC 40 80 00 08 */ bge lbl_801C8494 lbl_801C8490: /* 801C8490 001C53F0 42 00 00 00 */ bdnz lbl_801C8490 lbl_801C8494: /* 801C8494 001C53F4 80 C1 01 18 */ lwz r6, 0x118(r1) /* 801C8498 001C53F8 38 80 00 00 */ li r4, 0 /* 801C849C 001C53FC 90 81 01 04 */ stw r4, 0x104(r1) /* 801C84A0 001C5400 2C 06 00 00 */ cmpwi r6, 0 /* 801C84A4 001C5404 40 81 00 40 */ ble lbl_801C84E4 /* 801C84A8 001C5408 2C 06 00 08 */ cmpwi r6, 8 /* 801C84AC 001C540C 38 A6 FF F8 */ addi r5, r6, -8 /* 801C84B0 001C5410 40 81 00 20 */ ble lbl_801C84D0 /* 801C84B4 001C5414 38 05 00 07 */ addi r0, r5, 7 /* 801C84B8 001C5418 54 00 E8 FE */ srwi r0, r0, 3 /* 801C84BC 001C541C 7C 09 03 A6 */ mtctr r0 /* 801C84C0 001C5420 2C 05 00 00 */ cmpwi r5, 0 /* 801C84C4 001C5424 40 81 00 0C */ ble lbl_801C84D0 lbl_801C84C8: /* 801C84C8 001C5428 38 84 00 08 */ addi r4, r4, 8 /* 801C84CC 001C542C 42 00 FF FC */ bdnz lbl_801C84C8 lbl_801C84D0: /* 801C84D0 001C5430 7C 04 30 50 */ subf r0, r4, r6 /* 801C84D4 001C5434 7C 09 03 A6 */ mtctr r0 /* 801C84D8 001C5438 7C 04 30 00 */ cmpw r4, r6 /* 801C84DC 001C543C 40 80 00 08 */ bge lbl_801C84E4 lbl_801C84E0: /* 801C84E0 001C5440 42 00 00 00 */ bdnz lbl_801C84E0 lbl_801C84E4: /* 801C84E4 001C5444 38 00 00 00 */ li r0, 0 /* 801C84E8 001C5448 90 01 01 18 */ stw r0, 0x118(r1) /* 801C84EC 001C544C 48 00 08 74 */ b lbl_801C8D60 lbl_801C84F0: /* 801C84F0 001C5450 80 79 00 00 */ lwz r3, 0(r25) /* 801C84F4 001C5454 80 D9 00 DC */ lwz r6, 0xdc(r25) /* 801C84F8 001C5458 48 00 20 35 */ bl PathExists__7CPFAreaCFPC9CPFRegionPC9CPFRegionUi /* 801C84FC 001C545C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C8500 001C5460 41 82 00 B8 */ beq lbl_801C85B8 /* 801C8504 001C5464 80 A1 00 DC */ lwz r5, 0xdc(r1) /* 801C8508 001C5468 54 A0 10 3A */ slwi r0, r5, 2 /* 801C850C 001C546C 7C A6 2B 78 */ mr r6, r5 /* 801C8510 001C5470 7C 96 02 14 */ add r4, r22, r0 /* 801C8514 001C5474 48 00 00 14 */ b lbl_801C8528 lbl_801C8518: /* 801C8518 001C5478 80 64 00 00 */ lwz r3, 0(r4) /* 801C851C 001C547C 80 1B 00 00 */ lwz r0, 0(r27) /* 801C8520 001C5480 7C 03 00 40 */ cmplw r3, r0 /* 801C8524 001C5484 41 82 00 10 */ beq lbl_801C8534 lbl_801C8528: /* 801C8528 001C5488 34 C6 FF FF */ addic. r6, r6, -1 /* 801C852C 001C548C 38 84 FF FC */ addi r4, r4, -4 /* 801C8530 001C5490 40 80 FF E8 */ bge lbl_801C8518 lbl_801C8534: /* 801C8534 001C5494 2C 06 00 00 */ cmpwi r6, 0 /* 801C8538 001C5498 40 80 00 24 */ bge lbl_801C855C /* 801C853C 001C549C 54 A0 10 3A */ slwi r0, r5, 2 /* 801C8540 001C54A0 7C 76 02 15 */ add. r3, r22, r0 /* 801C8544 001C54A4 41 82 00 0C */ beq lbl_801C8550 /* 801C8548 001C54A8 80 1B 00 00 */ lwz r0, 0(r27) /* 801C854C 001C54AC 90 03 00 00 */ stw r0, 0(r3) lbl_801C8550: /* 801C8550 001C54B0 80 61 00 DC */ lwz r3, 0xdc(r1) /* 801C8554 001C54B4 38 03 00 01 */ addi r0, r3, 1 /* 801C8558 001C54B8 90 01 00 DC */ stw r0, 0xdc(r1) lbl_801C855C: /* 801C855C 001C54BC 80 A1 00 C8 */ lwz r5, 0xc8(r1) /* 801C8560 001C54C0 54 A0 10 3A */ slwi r0, r5, 2 /* 801C8564 001C54C4 7C A6 2B 78 */ mr r6, r5 /* 801C8568 001C54C8 7C 9C 02 14 */ add r4, r28, r0 /* 801C856C 001C54CC 48 00 00 14 */ b lbl_801C8580 lbl_801C8570: /* 801C8570 001C54D0 80 64 00 00 */ lwz r3, 0(r4) /* 801C8574 001C54D4 80 18 00 00 */ lwz r0, 0(r24) /* 801C8578 001C54D8 7C 03 00 40 */ cmplw r3, r0 /* 801C857C 001C54DC 41 82 00 10 */ beq lbl_801C858C lbl_801C8580: /* 801C8580 001C54E0 34 C6 FF FF */ addic. r6, r6, -1 /* 801C8584 001C54E4 38 84 FF FC */ addi r4, r4, -4 /* 801C8588 001C54E8 40 80 FF E8 */ bge lbl_801C8570 lbl_801C858C: /* 801C858C 001C54EC 2C 06 00 00 */ cmpwi r6, 0 /* 801C8590 001C54F0 40 80 00 24 */ bge lbl_801C85B4 /* 801C8594 001C54F4 54 A0 10 3A */ slwi r0, r5, 2 /* 801C8598 001C54F8 7C 7C 02 15 */ add. r3, r28, r0 /* 801C859C 001C54FC 41 82 00 0C */ beq lbl_801C85A8 /* 801C85A0 001C5500 80 18 00 00 */ lwz r0, 0(r24) /* 801C85A4 001C5504 90 03 00 00 */ stw r0, 0(r3) lbl_801C85A8: /* 801C85A8 001C5508 80 61 00 C8 */ lwz r3, 0xc8(r1) /* 801C85AC 001C550C 38 03 00 01 */ addi r0, r3, 1 /* 801C85B0 001C5510 90 01 00 C8 */ stw r0, 0xc8(r1) lbl_801C85B4: /* 801C85B4 001C5514 3A 60 00 00 */ li r19, 0 lbl_801C85B8: /* 801C85B8 001C5518 3B 18 00 04 */ addi r24, r24, 4 /* 801C85BC 001C551C 3A B5 00 01 */ addi r21, r21, 1 lbl_801C85C0: /* 801C85C0 001C5520 80 01 00 F0 */ lwz r0, 0xf0(r1) /* 801C85C4 001C5524 7C 15 00 00 */ cmpw r21, r0 /* 801C85C8 001C5528 41 80 FC 3C */ blt lbl_801C8204 /* 801C85CC 001C552C 3B 7B 00 04 */ addi r27, r27, 4 /* 801C85D0 001C5530 3A 94 00 01 */ addi r20, r20, 1 lbl_801C85D4: /* 801C85D4 001C5534 80 01 01 04 */ lwz r0, 0x104(r1) /* 801C85D8 001C5538 7C 14 00 00 */ cmpw r20, r0 /* 801C85DC 001C553C 41 80 FC 1C */ blt lbl_801C81F8 /* 801C85E0 001C5540 56 60 06 3F */ clrlwi. r0, r19, 0x18 /* 801C85E4 001C5544 40 82 00 24 */ bne lbl_801C8608 /* 801C85E8 001C5548 7F 23 CB 78 */ mr r3, r25 /* 801C85EC 001C554C 38 81 00 DC */ addi r4, r1, 0xdc /* 801C85F0 001C5550 38 A1 00 BC */ addi r5, r1, 0xbc /* 801C85F4 001C5554 38 C1 00 C8 */ addi r6, r1, 0xc8 /* 801C85F8 001C5558 38 E1 00 B0 */ addi r7, r1, 0xb0 /* 801C85FC 001C555C 4B FF ED B9 */ bl "Search__15CPathFindSearchFRQ24rstl30reserved_vectorRC9CVector3fRQ24rstl30reserved_vectorRC9CVector3f" /* 801C8600 001C5560 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C8604 001C5564 40 82 01 A8 */ bne lbl_801C87AC lbl_801C8608: /* 801C8608 001C5568 38 00 00 04 */ li r0, 4 /* 801C860C 001C556C 38 80 00 00 */ li r4, 0 /* 801C8610 001C5570 90 19 00 CC */ stw r0, 0xcc(r25) /* 801C8614 001C5574 80 C1 00 C8 */ lwz r6, 0xc8(r1) /* 801C8618 001C5578 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C861C 001C557C 2C 06 00 00 */ cmpwi r6, 0 /* 801C8620 001C5580 40 81 00 40 */ ble lbl_801C8660 /* 801C8624 001C5584 2C 06 00 08 */ cmpwi r6, 8 /* 801C8628 001C5588 38 A6 FF F8 */ addi r5, r6, -8 /* 801C862C 001C558C 40 81 00 20 */ ble lbl_801C864C /* 801C8630 001C5590 38 05 00 07 */ addi r0, r5, 7 /* 801C8634 001C5594 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8638 001C5598 7C 09 03 A6 */ mtctr r0 /* 801C863C 001C559C 2C 05 00 00 */ cmpwi r5, 0 /* 801C8640 001C55A0 40 81 00 0C */ ble lbl_801C864C lbl_801C8644: /* 801C8644 001C55A4 38 84 00 08 */ addi r4, r4, 8 /* 801C8648 001C55A8 42 00 FF FC */ bdnz lbl_801C8644 lbl_801C864C: /* 801C864C 001C55AC 7C 04 30 50 */ subf r0, r4, r6 /* 801C8650 001C55B0 7C 09 03 A6 */ mtctr r0 /* 801C8654 001C55B4 7C 04 30 00 */ cmpw r4, r6 /* 801C8658 001C55B8 40 80 00 08 */ bge lbl_801C8660 lbl_801C865C: /* 801C865C 001C55BC 42 00 00 00 */ bdnz lbl_801C865C lbl_801C8660: /* 801C8660 001C55C0 80 C1 00 DC */ lwz r6, 0xdc(r1) /* 801C8664 001C55C4 38 80 00 00 */ li r4, 0 /* 801C8668 001C55C8 90 81 00 C8 */ stw r4, 0xc8(r1) /* 801C866C 001C55CC 2C 06 00 00 */ cmpwi r6, 0 /* 801C8670 001C55D0 40 81 00 40 */ ble lbl_801C86B0 /* 801C8674 001C55D4 2C 06 00 08 */ cmpwi r6, 8 /* 801C8678 001C55D8 38 A6 FF F8 */ addi r5, r6, -8 /* 801C867C 001C55DC 40 81 00 20 */ ble lbl_801C869C /* 801C8680 001C55E0 38 05 00 07 */ addi r0, r5, 7 /* 801C8684 001C55E4 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8688 001C55E8 7C 09 03 A6 */ mtctr r0 /* 801C868C 001C55EC 2C 05 00 00 */ cmpwi r5, 0 /* 801C8690 001C55F0 40 81 00 0C */ ble lbl_801C869C lbl_801C8694: /* 801C8694 001C55F4 38 84 00 08 */ addi r4, r4, 8 /* 801C8698 001C55F8 42 00 FF FC */ bdnz lbl_801C8694 lbl_801C869C: /* 801C869C 001C55FC 7C 04 30 50 */ subf r0, r4, r6 /* 801C86A0 001C5600 7C 09 03 A6 */ mtctr r0 /* 801C86A4 001C5604 7C 04 30 00 */ cmpw r4, r6 /* 801C86A8 001C5608 40 80 00 08 */ bge lbl_801C86B0 lbl_801C86AC: /* 801C86AC 001C560C 42 00 00 00 */ bdnz lbl_801C86AC lbl_801C86B0: /* 801C86B0 001C5610 80 C1 00 F0 */ lwz r6, 0xf0(r1) /* 801C86B4 001C5614 38 80 00 00 */ li r4, 0 /* 801C86B8 001C5618 90 81 00 DC */ stw r4, 0xdc(r1) /* 801C86BC 001C561C 2C 06 00 00 */ cmpwi r6, 0 /* 801C86C0 001C5620 40 81 00 40 */ ble lbl_801C8700 /* 801C86C4 001C5624 2C 06 00 08 */ cmpwi r6, 8 /* 801C86C8 001C5628 38 A6 FF F8 */ addi r5, r6, -8 /* 801C86CC 001C562C 40 81 00 20 */ ble lbl_801C86EC /* 801C86D0 001C5630 38 05 00 07 */ addi r0, r5, 7 /* 801C86D4 001C5634 54 00 E8 FE */ srwi r0, r0, 3 /* 801C86D8 001C5638 7C 09 03 A6 */ mtctr r0 /* 801C86DC 001C563C 2C 05 00 00 */ cmpwi r5, 0 /* 801C86E0 001C5640 40 81 00 0C */ ble lbl_801C86EC lbl_801C86E4: /* 801C86E4 001C5644 38 84 00 08 */ addi r4, r4, 8 /* 801C86E8 001C5648 42 00 FF FC */ bdnz lbl_801C86E4 lbl_801C86EC: /* 801C86EC 001C564C 7C 04 30 50 */ subf r0, r4, r6 /* 801C86F0 001C5650 7C 09 03 A6 */ mtctr r0 /* 801C86F4 001C5654 7C 04 30 00 */ cmpw r4, r6 /* 801C86F8 001C5658 40 80 00 08 */ bge lbl_801C8700 lbl_801C86FC: /* 801C86FC 001C565C 42 00 00 00 */ bdnz lbl_801C86FC lbl_801C8700: /* 801C8700 001C5660 80 C1 01 04 */ lwz r6, 0x104(r1) /* 801C8704 001C5664 38 80 00 00 */ li r4, 0 /* 801C8708 001C5668 90 81 00 F0 */ stw r4, 0xf0(r1) /* 801C870C 001C566C 2C 06 00 00 */ cmpwi r6, 0 /* 801C8710 001C5670 40 81 00 40 */ ble lbl_801C8750 /* 801C8714 001C5674 2C 06 00 08 */ cmpwi r6, 8 /* 801C8718 001C5678 38 A6 FF F8 */ addi r5, r6, -8 /* 801C871C 001C567C 40 81 00 20 */ ble lbl_801C873C /* 801C8720 001C5680 38 05 00 07 */ addi r0, r5, 7 /* 801C8724 001C5684 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8728 001C5688 7C 09 03 A6 */ mtctr r0 /* 801C872C 001C568C 2C 05 00 00 */ cmpwi r5, 0 /* 801C8730 001C5690 40 81 00 0C */ ble lbl_801C873C lbl_801C8734: /* 801C8734 001C5694 38 84 00 08 */ addi r4, r4, 8 /* 801C8738 001C5698 42 00 FF FC */ bdnz lbl_801C8734 lbl_801C873C: /* 801C873C 001C569C 7C 04 30 50 */ subf r0, r4, r6 /* 801C8740 001C56A0 7C 09 03 A6 */ mtctr r0 /* 801C8744 001C56A4 7C 04 30 00 */ cmpw r4, r6 /* 801C8748 001C56A8 40 80 00 08 */ bge lbl_801C8750 lbl_801C874C: /* 801C874C 001C56AC 42 00 00 00 */ bdnz lbl_801C874C lbl_801C8750: /* 801C8750 001C56B0 80 C1 01 18 */ lwz r6, 0x118(r1) /* 801C8754 001C56B4 38 80 00 00 */ li r4, 0 /* 801C8758 001C56B8 90 81 01 04 */ stw r4, 0x104(r1) /* 801C875C 001C56BC 2C 06 00 00 */ cmpwi r6, 0 /* 801C8760 001C56C0 40 81 00 40 */ ble lbl_801C87A0 /* 801C8764 001C56C4 2C 06 00 08 */ cmpwi r6, 8 /* 801C8768 001C56C8 38 A6 FF F8 */ addi r5, r6, -8 /* 801C876C 001C56CC 40 81 00 20 */ ble lbl_801C878C /* 801C8770 001C56D0 38 05 00 07 */ addi r0, r5, 7 /* 801C8774 001C56D4 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8778 001C56D8 7C 09 03 A6 */ mtctr r0 /* 801C877C 001C56DC 2C 05 00 00 */ cmpwi r5, 0 /* 801C8780 001C56E0 40 81 00 0C */ ble lbl_801C878C lbl_801C8784: /* 801C8784 001C56E4 38 84 00 08 */ addi r4, r4, 8 /* 801C8788 001C56E8 42 00 FF FC */ bdnz lbl_801C8784 lbl_801C878C: /* 801C878C 001C56EC 7C 04 30 50 */ subf r0, r4, r6 /* 801C8790 001C56F0 7C 09 03 A6 */ mtctr r0 /* 801C8794 001C56F4 7C 04 30 00 */ cmpw r4, r6 /* 801C8798 001C56F8 40 80 00 08 */ bge lbl_801C87A0 lbl_801C879C: /* 801C879C 001C56FC 42 00 00 00 */ bdnz lbl_801C879C lbl_801C87A0: /* 801C87A0 001C5700 38 00 00 00 */ li r0, 0 /* 801C87A4 001C5704 90 01 01 18 */ stw r0, 0x118(r1) /* 801C87A8 001C5708 48 00 05 B8 */ b lbl_801C8D60 lbl_801C87AC: /* 801C87AC 001C570C 82 61 00 CC */ lwz r19, 0xcc(r1) /* 801C87B0 001C5710 3A 80 00 00 */ li r20, 0 /* 801C87B4 001C5714 83 81 00 E0 */ lwz r28, 0xe0(r1) /* 801C87B8 001C5718 7E 64 9B 78 */ mr r4, r19 lbl_801C87BC: /* 801C87BC 001C571C 80 64 00 4C */ lwz r3, 0x4c(r4) /* 801C87C0 001C5720 80 84 00 24 */ lwz r4, 0x24(r4) /* 801C87C4 001C5724 82 43 00 20 */ lwz r18, 0x20(r3) /* 801C87C8 001C5728 7E 43 93 78 */ mr r3, r18 /* 801C87CC 001C572C 48 00 0D 99 */ bl SetLinkTo__9CPFRegionFi /* 801C87D0 001C5730 7C 12 E0 40 */ cmplw r18, r28 /* 801C87D4 001C5734 7E 44 93 78 */ mr r4, r18 /* 801C87D8 001C5738 3A 94 00 01 */ addi r20, r20, 1 /* 801C87DC 001C573C 40 82 FF E0 */ bne lbl_801C87BC /* 801C87E0 001C5740 57 C3 06 3E */ clrlwi r3, r30, 0x18 /* 801C87E4 001C5744 3B 74 FF FF */ addi r27, r20, -1 /* 801C87E8 001C5748 7C 03 00 D0 */ neg r0, r3 /* 801C87EC 001C574C 3A E0 00 01 */ li r23, 1 /* 801C87F0 001C5750 7C 00 1B 78 */ or r0, r0, r3 /* 801C87F4 001C5754 54 03 0F FE */ srwi r3, r0, 0x1f /* 801C87F8 001C5758 3B C3 00 01 */ addi r30, r3, 1 /* 801C87FC 001C575C 7F 7E DA 14 */ add r27, r30, r27 /* 801C8800 001C5760 2C 1B 00 10 */ cmpwi r27, 0x10 /* 801C8804 001C5764 41 80 00 08 */ blt lbl_801C880C /* 801C8808 001C5768 3B 60 00 0F */ li r27, 0xf lbl_801C880C: /* 801C880C 001C576C 57 A3 06 3E */ clrlwi r3, r29, 0x18 /* 801C8810 001C5770 7C 03 00 D0 */ neg r0, r3 /* 801C8814 001C5774 7C 00 1B 78 */ or r0, r0, r3 /* 801C8818 001C5778 54 00 0F FE */ srwi r0, r0, 0x1f /* 801C881C 001C577C 7C 7B 02 14 */ add r3, r27, r0 /* 801C8820 001C5780 38 03 00 01 */ addi r0, r3, 1 /* 801C8824 001C5784 2C 00 00 10 */ cmpwi r0, 0x10 /* 801C8828 001C5788 41 80 00 08 */ blt lbl_801C8830 /* 801C882C 001C578C 3A E0 00 00 */ li r23, 0 lbl_801C8830: /* 801C8830 001C5790 80 79 00 DC */ lwz r3, 0xdc(r25) /* 801C8834 001C5794 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C8838 001C5798 40 82 00 24 */ bne lbl_801C885C /* 801C883C 001C579C 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C8840 001C57A0 40 82 00 1C */ bne lbl_801C885C /* 801C8844 001C57A4 7F 83 E3 78 */ mr r3, r28 /* 801C8848 001C57A8 38 81 00 BC */ addi r4, r1, 0xbc /* 801C884C 001C57AC 48 00 0C B1 */ bl DropToGround__9CPFRegionCFR9CVector3f /* 801C8850 001C57B0 7E 63 9B 78 */ mr r3, r19 /* 801C8854 001C57B4 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801C8858 001C57B8 48 00 0C A5 */ bl DropToGround__9CPFRegionCFR9CVector3f lbl_801C885C: /* 801C885C 001C57BC 80 01 01 18 */ lwz r0, 0x118(r1) /* 801C8860 001C57C0 3A C1 01 1C */ addi r22, r1, 0x11c /* 801C8864 001C57C4 C0 22 AB 34 */ lfs f1, lbl_805AC854@sda21(r2) /* 801C8868 001C57C8 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C886C 001C57CC C0 19 00 D0 */ lfs f0, 0xd0(r25) /* 801C8870 001C57D0 EF E1 00 32 */ fmuls f31, f1, f0 /* 801C8874 001C57D4 7C 76 02 15 */ add. r3, r22, r0 /* 801C8878 001C57D8 41 82 00 1C */ beq lbl_801C8894 /* 801C887C 001C57DC C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801C8880 001C57E0 C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 801C8884 001C57E4 D0 03 00 00 */ stfs f0, 0(r3) /* 801C8888 001C57E8 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801C888C 001C57EC D0 23 00 04 */ stfs f1, 4(r3) /* 801C8890 001C57F0 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C8894: /* 801C8894 001C57F4 80 61 01 18 */ lwz r3, 0x118(r1) /* 801C8898 001C57F8 7F 94 E3 78 */ mr r20, r28 /* 801C889C 001C57FC 7F D5 F3 78 */ mr r21, r30 /* 801C88A0 001C5800 38 03 00 01 */ addi r0, r3, 1 /* 801C88A4 001C5804 90 01 01 18 */ stw r0, 0x118(r1) /* 801C88A8 001C5808 48 00 00 D0 */ b lbl_801C8978 lbl_801C88AC: /* 801C88AC 001C580C 80 D4 00 4C */ lwz r6, 0x4c(r20) /* 801C88B0 001C5810 7E 84 A3 78 */ mr r4, r20 /* 801C88B4 001C5814 80 B9 00 00 */ lwz r5, 0(r25) /* 801C88B8 001C5818 38 61 00 5C */ addi r3, r1, 0x5c /* 801C88BC 001C581C 80 06 00 2C */ lwz r0, 0x2c(r6) /* 801C88C0 001C5820 80 F4 00 0C */ lwz r7, 0xc(r20) /* 801C88C4 001C5824 54 00 20 36 */ slwi r0, r0, 4 /* 801C88C8 001C5828 80 C5 01 54 */ lwz r6, 0x154(r5) /* 801C88CC 001C582C 7C A7 02 14 */ add r5, r7, r0 /* 801C88D0 001C5830 80 05 00 04 */ lwz r0, 4(r5) /* 801C88D4 001C5834 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801C88D8 001C5838 7F 06 02 14 */ add r24, r6, r0 /* 801C88DC 001C583C 48 00 0B B1 */ bl GetLinkMidPoint__9CPFRegionCFRC7CPFLink /* 801C88E0 001C5840 80 79 00 DC */ lwz r3, 0xdc(r25) /* 801C88E4 001C5844 C3 C1 00 5C */ lfs f30, 0x5c(r1) /* 801C88E8 001C5848 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801C88EC 001C584C C3 A1 00 60 */ lfs f29, 0x60(r1) /* 801C88F0 001C5850 C3 81 00 64 */ lfs f28, 0x64(r1) /* 801C88F4 001C5854 40 82 00 0C */ bne lbl_801C8900 /* 801C88F8 001C5858 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801C88FC 001C585C 41 82 00 4C */ beq lbl_801C8948 lbl_801C8900: /* 801C8900 001C5860 C0 18 00 14 */ lfs f0, 0x14(r24) /* 801C8904 001C5864 38 61 00 14 */ addi r3, r1, 0x14 /* 801C8908 001C5868 38 81 00 10 */ addi r4, r1, 0x10 /* 801C890C 001C586C D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C8910 001C5870 C0 14 00 14 */ lfs f0, 0x14(r20) /* 801C8914 001C5874 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801C8918 001C5878 4B EB 54 C9 */ bl "Min__5CMathFRCfRCf" /* 801C891C 001C587C C0 03 00 00 */ lfs f0, 0(r3) /* 801C8920 001C5880 EC 3F E0 2A */ fadds f1, f31, f28 /* 801C8924 001C5884 38 61 00 1C */ addi r3, r1, 0x1c /* 801C8928 001C5888 38 9A 00 08 */ addi r4, r26, 8 /* 801C892C 001C588C EC 00 E0 2A */ fadds f0, f0, f28 /* 801C8930 001C5890 38 A1 00 18 */ addi r5, r1, 0x18 /* 801C8934 001C5894 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801C8938 001C5898 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801C893C 001C589C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801C8940 001C58A0 4B E4 39 75 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C8944 001C58A4 C3 83 00 00 */ lfs f28, 0(r3) lbl_801C8948: /* 801C8948 001C58A8 80 01 01 18 */ lwz r0, 0x118(r1) /* 801C894C 001C58AC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8950 001C58B0 7C 76 02 15 */ add. r3, r22, r0 /* 801C8954 001C58B4 41 82 00 10 */ beq lbl_801C8964 /* 801C8958 001C58B8 D3 C3 00 00 */ stfs f30, 0(r3) /* 801C895C 001C58BC D3 A3 00 04 */ stfs f29, 4(r3) /* 801C8960 001C58C0 D3 83 00 08 */ stfs f28, 8(r3) lbl_801C8964: /* 801C8964 001C58C4 80 61 01 18 */ lwz r3, 0x118(r1) /* 801C8968 001C58C8 7F 14 C3 78 */ mr r20, r24 /* 801C896C 001C58CC 3A B5 00 01 */ addi r21, r21, 1 /* 801C8970 001C58D0 38 03 00 01 */ addi r0, r3, 1 /* 801C8974 001C58D4 90 01 01 18 */ stw r0, 0x118(r1) lbl_801C8978: /* 801C8978 001C58D8 7C 15 D8 00 */ cmpw r21, r27 /* 801C897C 001C58DC 40 81 FF 30 */ ble lbl_801C88AC /* 801C8980 001C58E0 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 801C8984 001C58E4 41 82 00 70 */ beq lbl_801C89F4 /* 801C8988 001C58E8 80 01 01 18 */ lwz r0, 0x118(r1) /* 801C898C 001C58EC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8990 001C58F0 7C 76 02 15 */ add. r3, r22, r0 /* 801C8994 001C58F4 41 82 00 1C */ beq lbl_801C89B0 /* 801C8998 001C58F8 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 801C899C 001C58FC C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 801C89A0 001C5900 D0 03 00 00 */ stfs f0, 0(r3) /* 801C89A4 001C5904 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801C89A8 001C5908 D0 23 00 04 */ stfs f1, 4(r3) /* 801C89AC 001C590C D0 03 00 08 */ stfs f0, 8(r3) lbl_801C89B0: /* 801C89B0 001C5910 80 61 01 18 */ lwz r3, 0x118(r1) /* 801C89B4 001C5914 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801C89B8 001C5918 38 03 00 01 */ addi r0, r3, 1 /* 801C89BC 001C591C 90 01 01 18 */ stw r0, 0x118(r1) /* 801C89C0 001C5920 41 82 00 34 */ beq lbl_801C89F4 /* 801C89C4 001C5924 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C89C8 001C5928 7C 76 02 15 */ add. r3, r22, r0 /* 801C89CC 001C592C 41 82 00 1C */ beq lbl_801C89E8 /* 801C89D0 001C5930 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801C89D4 001C5934 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 801C89D8 001C5938 D0 03 00 00 */ stfs f0, 0(r3) /* 801C89DC 001C593C C0 01 00 AC */ lfs f0, 0xac(r1) /* 801C89E0 001C5940 D0 23 00 04 */ stfs f1, 4(r3) /* 801C89E4 001C5944 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C89E8: /* 801C89E8 001C5948 80 61 01 18 */ lwz r3, 0x118(r1) /* 801C89EC 001C594C 38 03 00 01 */ addi r0, r3, 1 /* 801C89F0 001C5950 90 01 01 18 */ stw r0, 0x118(r1) lbl_801C89F4: /* 801C89F4 001C5954 1F 5E 00 0C */ mulli r26, r30, 0xc /* 801C89F8 001C5958 56 F2 06 3E */ clrlwi r18, r23, 0x18 /* 801C89FC 001C595C 3A 60 00 00 */ li r19, 0 lbl_801C8A00: /* 801C8A00 001C5960 7F 94 E3 78 */ mr r20, r28 /* 801C8A04 001C5964 7F D5 F3 78 */ mr r21, r30 /* 801C8A08 001C5968 7E F6 D2 14 */ add r23, r22, r26 /* 801C8A0C 001C596C 48 00 00 FC */ b lbl_801C8B08 lbl_801C8A10: /* 801C8A10 001C5970 80 74 00 4C */ lwz r3, 0x4c(r20) /* 801C8A14 001C5974 80 D9 00 DC */ lwz r6, 0xdc(r25) /* 801C8A18 001C5978 80 63 00 2C */ lwz r3, 0x2c(r3) /* 801C8A1C 001C597C 80 B4 00 0C */ lwz r5, 0xc(r20) /* 801C8A20 001C5980 54 C0 07 BD */ rlwinm. r0, r6, 0, 0x1e, 0x1e /* 801C8A24 001C5984 54 64 20 36 */ slwi r4, r3, 4 /* 801C8A28 001C5988 80 79 00 00 */ lwz r3, 0(r25) /* 801C8A2C 001C598C 7F 05 22 14 */ add r24, r5, r4 /* 801C8A30 001C5990 80 18 00 04 */ lwz r0, 4(r24) /* 801C8A34 001C5994 80 63 01 54 */ lwz r3, 0x154(r3) /* 801C8A38 001C5998 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801C8A3C 001C599C 7F A3 02 14 */ add r29, r3, r0 /* 801C8A40 001C59A0 40 82 00 0C */ bne lbl_801C8A4C /* 801C8A44 001C59A4 54 C0 07 7B */ rlwinm. r0, r6, 0, 0x1d, 0x1d /* 801C8A48 001C59A8 41 82 00 70 */ beq lbl_801C8AB8 lbl_801C8A4C: /* 801C8A4C 001C59AC C0 1D 00 14 */ lfs f0, 0x14(r29) /* 801C8A50 001C59B0 38 61 00 0C */ addi r3, r1, 0xc /* 801C8A54 001C59B4 38 81 00 08 */ addi r4, r1, 8 /* 801C8A58 001C59B8 D0 01 00 08 */ stfs f0, 8(r1) /* 801C8A5C 001C59BC C0 14 00 14 */ lfs f0, 0x14(r20) /* 801C8A60 001C59C0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801C8A64 001C59C4 4B EB 53 7D */ bl "Min__5CMathFRCfRCf" /* 801C8A68 001C59C8 C0 23 00 00 */ lfs f1, 0(r3) /* 801C8A6C 001C59CC 38 75 FF FF */ addi r3, r21, -1 /* 801C8A70 001C59D0 1C A3 00 0C */ mulli r5, r3, 0xc /* 801C8A74 001C59D4 38 15 00 01 */ addi r0, r21, 1 /* 801C8A78 001C59D8 FC 60 F8 90 */ fmr f3, f31 /* 801C8A7C 001C59DC C0 59 00 D4 */ lfs f2, 0xd4(r25) /* 801C8A80 001C59E0 7E 84 A3 78 */ mr r4, r20 /* 801C8A84 001C59E4 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8A88 001C59E8 7F 06 C3 78 */ mr r6, r24 /* 801C8A8C 001C59EC 38 61 00 50 */ addi r3, r1, 0x50 /* 801C8A90 001C59F0 7C B6 2A 14 */ add r5, r22, r5 /* 801C8A94 001C59F4 7C F6 02 14 */ add r7, r22, r0 /* 801C8A98 001C59F8 48 00 04 11 */ bl FitThroughLink3d__9CPFRegionCFRC9CVector3fRC7CPFLinkfRC9CVector3fff /* 801C8A9C 001C59FC C0 01 00 50 */ lfs f0, 0x50(r1) /* 801C8AA0 001C5A00 C0 21 00 54 */ lfs f1, 0x54(r1) /* 801C8AA4 001C5A04 D0 17 00 00 */ stfs f0, 0(r23) /* 801C8AA8 001C5A08 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801C8AAC 001C5A0C D0 37 00 04 */ stfs f1, 4(r23) /* 801C8AB0 001C5A10 D0 17 00 08 */ stfs f0, 8(r23) /* 801C8AB4 001C5A14 48 00 00 48 */ b lbl_801C8AFC lbl_801C8AB8: /* 801C8AB8 001C5A18 38 75 FF FF */ addi r3, r21, -1 /* 801C8ABC 001C5A1C 38 15 00 01 */ addi r0, r21, 1 /* 801C8AC0 001C5A20 1C A3 00 0C */ mulli r5, r3, 0xc /* 801C8AC4 001C5A24 C0 39 00 D4 */ lfs f1, 0xd4(r25) /* 801C8AC8 001C5A28 7E 84 A3 78 */ mr r4, r20 /* 801C8ACC 001C5A2C 7F 06 C3 78 */ mr r6, r24 /* 801C8AD0 001C5A30 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8AD4 001C5A34 38 61 00 44 */ addi r3, r1, 0x44 /* 801C8AD8 001C5A38 7C B6 2A 14 */ add r5, r22, r5 /* 801C8ADC 001C5A3C 7C F6 02 14 */ add r7, r22, r0 /* 801C8AE0 001C5A40 48 00 07 45 */ bl FitThroughLink2d__9CPFRegionCFRC9CVector3fRC7CPFLinkRC9CVector3ff /* 801C8AE4 001C5A44 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801C8AE8 001C5A48 C0 21 00 48 */ lfs f1, 0x48(r1) /* 801C8AEC 001C5A4C D0 17 00 00 */ stfs f0, 0(r23) /* 801C8AF0 001C5A50 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801C8AF4 001C5A54 D0 37 00 04 */ stfs f1, 4(r23) /* 801C8AF8 001C5A58 D0 17 00 08 */ stfs f0, 8(r23) lbl_801C8AFC: /* 801C8AFC 001C5A5C 7F B4 EB 78 */ mr r20, r29 /* 801C8B00 001C5A60 3A F7 00 0C */ addi r23, r23, 0xc /* 801C8B04 001C5A64 3A B5 00 01 */ addi r21, r21, 1 lbl_801C8B08: /* 801C8B08 001C5A68 28 12 00 00 */ cmplwi r18, 0 /* 801C8B0C 001C5A6C 38 1B FF FF */ addi r0, r27, -1 /* 801C8B10 001C5A70 41 82 00 08 */ beq lbl_801C8B18 /* 801C8B14 001C5A74 7F 60 DB 78 */ mr r0, r27 lbl_801C8B18: /* 801C8B18 001C5A78 7C 15 00 00 */ cmpw r21, r0 /* 801C8B1C 001C5A7C 40 81 FE F4 */ ble lbl_801C8A10 /* 801C8B20 001C5A80 3A 73 00 01 */ addi r19, r19, 1 /* 801C8B24 001C5A84 2C 13 00 02 */ cmpwi r19, 2 /* 801C8B28 001C5A88 41 80 FE D8 */ blt lbl_801C8A00 /* 801C8B2C 001C5A8C 80 79 00 00 */ lwz r3, 0(r25) /* 801C8B30 001C5A90 7E D3 B3 78 */ mr r19, r22 /* 801C8B34 001C5A94 3A 80 00 00 */ li r20, 0 /* 801C8B38 001C5A98 3A 43 01 88 */ addi r18, r3, 0x188 /* 801C8B3C 001C5A9C 48 00 00 7C */ b lbl_801C8BB8 lbl_801C8B40: /* 801C8B40 001C5AA0 38 03 FF FF */ addi r0, r3, -1 /* 801C8B44 001C5AA4 7C 14 00 00 */ cmpw r20, r0 /* 801C8B48 001C5AA8 41 82 00 24 */ beq lbl_801C8B6C /* 801C8B4C 001C5AAC 38 14 00 01 */ addi r0, r20, 1 /* 801C8B50 001C5AB0 C0 22 AB 30 */ lfs f1, lbl_805AC850@sda21(r2) /* 801C8B54 001C5AB4 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8B58 001C5AB8 7E 63 9B 78 */ mr r3, r19 /* 801C8B5C 001C5ABC 7C 96 02 14 */ add r4, r22, r0 /* 801C8B60 001C5AC0 48 14 74 05 */ bl close_enough__FRC9CVector3fRC9CVector3ff /* 801C8B64 001C5AC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C8B68 001C5AC8 40 82 00 48 */ bne lbl_801C8BB0 lbl_801C8B6C: /* 801C8B6C 001C5ACC 7E 44 93 78 */ mr r4, r18 /* 801C8B70 001C5AD0 7E 65 9B 78 */ mr r5, r19 /* 801C8B74 001C5AD4 38 61 00 38 */ addi r3, r1, 0x38 /* 801C8B78 001C5AD8 48 14 9F 71 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801C8B7C 001C5ADC 80 19 00 04 */ lwz r0, 4(r25) /* 801C8B80 001C5AE0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C8B84 001C5AE4 7C 7F 02 15 */ add. r3, r31, r0 /* 801C8B88 001C5AE8 41 82 00 1C */ beq lbl_801C8BA4 /* 801C8B8C 001C5AEC C0 01 00 38 */ lfs f0, 0x38(r1) /* 801C8B90 001C5AF0 D0 03 00 00 */ stfs f0, 0(r3) /* 801C8B94 001C5AF4 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801C8B98 001C5AF8 D0 03 00 04 */ stfs f0, 4(r3) /* 801C8B9C 001C5AFC C0 01 00 40 */ lfs f0, 0x40(r1) /* 801C8BA0 001C5B00 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C8BA4: /* 801C8BA4 001C5B04 80 79 00 04 */ lwz r3, 4(r25) /* 801C8BA8 001C5B08 38 03 00 01 */ addi r0, r3, 1 /* 801C8BAC 001C5B0C 90 19 00 04 */ stw r0, 4(r25) lbl_801C8BB0: /* 801C8BB0 001C5B10 3A 73 00 0C */ addi r19, r19, 0xc /* 801C8BB4 001C5B14 3A 94 00 01 */ addi r20, r20, 1 lbl_801C8BB8: /* 801C8BB8 001C5B18 80 61 01 18 */ lwz r3, 0x118(r1) /* 801C8BBC 001C5B1C 7C 14 18 00 */ cmpw r20, r3 /* 801C8BC0 001C5B20 41 80 FF 80 */ blt lbl_801C8B40 /* 801C8BC4 001C5B24 38 80 00 00 */ li r4, 0 /* 801C8BC8 001C5B28 90 99 00 CC */ stw r4, 0xcc(r25) /* 801C8BCC 001C5B2C 80 C1 00 C8 */ lwz r6, 0xc8(r1) /* 801C8BD0 001C5B30 80 79 00 CC */ lwz r3, 0xcc(r25) /* 801C8BD4 001C5B34 2C 06 00 00 */ cmpwi r6, 0 /* 801C8BD8 001C5B38 40 81 00 40 */ ble lbl_801C8C18 /* 801C8BDC 001C5B3C 2C 06 00 08 */ cmpwi r6, 8 /* 801C8BE0 001C5B40 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8BE4 001C5B44 40 81 00 20 */ ble lbl_801C8C04 /* 801C8BE8 001C5B48 38 05 00 07 */ addi r0, r5, 7 /* 801C8BEC 001C5B4C 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8BF0 001C5B50 7C 09 03 A6 */ mtctr r0 /* 801C8BF4 001C5B54 2C 05 00 00 */ cmpwi r5, 0 /* 801C8BF8 001C5B58 40 81 00 0C */ ble lbl_801C8C04 lbl_801C8BFC: /* 801C8BFC 001C5B5C 38 84 00 08 */ addi r4, r4, 8 /* 801C8C00 001C5B60 42 00 FF FC */ bdnz lbl_801C8BFC lbl_801C8C04: /* 801C8C04 001C5B64 7C 04 30 50 */ subf r0, r4, r6 /* 801C8C08 001C5B68 7C 09 03 A6 */ mtctr r0 /* 801C8C0C 001C5B6C 7C 04 30 00 */ cmpw r4, r6 /* 801C8C10 001C5B70 40 80 00 08 */ bge lbl_801C8C18 lbl_801C8C14: /* 801C8C14 001C5B74 42 00 00 00 */ bdnz lbl_801C8C14 lbl_801C8C18: /* 801C8C18 001C5B78 80 C1 00 DC */ lwz r6, 0xdc(r1) /* 801C8C1C 001C5B7C 38 80 00 00 */ li r4, 0 /* 801C8C20 001C5B80 90 81 00 C8 */ stw r4, 0xc8(r1) /* 801C8C24 001C5B84 2C 06 00 00 */ cmpwi r6, 0 /* 801C8C28 001C5B88 40 81 00 40 */ ble lbl_801C8C68 /* 801C8C2C 001C5B8C 2C 06 00 08 */ cmpwi r6, 8 /* 801C8C30 001C5B90 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8C34 001C5B94 40 81 00 20 */ ble lbl_801C8C54 /* 801C8C38 001C5B98 38 05 00 07 */ addi r0, r5, 7 /* 801C8C3C 001C5B9C 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8C40 001C5BA0 7C 09 03 A6 */ mtctr r0 /* 801C8C44 001C5BA4 2C 05 00 00 */ cmpwi r5, 0 /* 801C8C48 001C5BA8 40 81 00 0C */ ble lbl_801C8C54 lbl_801C8C4C: /* 801C8C4C 001C5BAC 38 84 00 08 */ addi r4, r4, 8 /* 801C8C50 001C5BB0 42 00 FF FC */ bdnz lbl_801C8C4C lbl_801C8C54: /* 801C8C54 001C5BB4 7C 04 30 50 */ subf r0, r4, r6 /* 801C8C58 001C5BB8 7C 09 03 A6 */ mtctr r0 /* 801C8C5C 001C5BBC 7C 04 30 00 */ cmpw r4, r6 /* 801C8C60 001C5BC0 40 80 00 08 */ bge lbl_801C8C68 lbl_801C8C64: /* 801C8C64 001C5BC4 42 00 00 00 */ bdnz lbl_801C8C64 lbl_801C8C68: /* 801C8C68 001C5BC8 80 C1 00 F0 */ lwz r6, 0xf0(r1) /* 801C8C6C 001C5BCC 38 80 00 00 */ li r4, 0 /* 801C8C70 001C5BD0 90 81 00 DC */ stw r4, 0xdc(r1) /* 801C8C74 001C5BD4 2C 06 00 00 */ cmpwi r6, 0 /* 801C8C78 001C5BD8 40 81 00 40 */ ble lbl_801C8CB8 /* 801C8C7C 001C5BDC 2C 06 00 08 */ cmpwi r6, 8 /* 801C8C80 001C5BE0 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8C84 001C5BE4 40 81 00 20 */ ble lbl_801C8CA4 /* 801C8C88 001C5BE8 38 05 00 07 */ addi r0, r5, 7 /* 801C8C8C 001C5BEC 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8C90 001C5BF0 7C 09 03 A6 */ mtctr r0 /* 801C8C94 001C5BF4 2C 05 00 00 */ cmpwi r5, 0 /* 801C8C98 001C5BF8 40 81 00 0C */ ble lbl_801C8CA4 lbl_801C8C9C: /* 801C8C9C 001C5BFC 38 84 00 08 */ addi r4, r4, 8 /* 801C8CA0 001C5C00 42 00 FF FC */ bdnz lbl_801C8C9C lbl_801C8CA4: /* 801C8CA4 001C5C04 7C 04 30 50 */ subf r0, r4, r6 /* 801C8CA8 001C5C08 7C 09 03 A6 */ mtctr r0 /* 801C8CAC 001C5C0C 7C 04 30 00 */ cmpw r4, r6 /* 801C8CB0 001C5C10 40 80 00 08 */ bge lbl_801C8CB8 lbl_801C8CB4: /* 801C8CB4 001C5C14 42 00 00 00 */ bdnz lbl_801C8CB4 lbl_801C8CB8: /* 801C8CB8 001C5C18 80 C1 01 04 */ lwz r6, 0x104(r1) /* 801C8CBC 001C5C1C 38 80 00 00 */ li r4, 0 /* 801C8CC0 001C5C20 90 81 00 F0 */ stw r4, 0xf0(r1) /* 801C8CC4 001C5C24 2C 06 00 00 */ cmpwi r6, 0 /* 801C8CC8 001C5C28 40 81 00 40 */ ble lbl_801C8D08 /* 801C8CCC 001C5C2C 2C 06 00 08 */ cmpwi r6, 8 /* 801C8CD0 001C5C30 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8CD4 001C5C34 40 81 00 20 */ ble lbl_801C8CF4 /* 801C8CD8 001C5C38 38 05 00 07 */ addi r0, r5, 7 /* 801C8CDC 001C5C3C 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8CE0 001C5C40 7C 09 03 A6 */ mtctr r0 /* 801C8CE4 001C5C44 2C 05 00 00 */ cmpwi r5, 0 /* 801C8CE8 001C5C48 40 81 00 0C */ ble lbl_801C8CF4 lbl_801C8CEC: /* 801C8CEC 001C5C4C 38 84 00 08 */ addi r4, r4, 8 /* 801C8CF0 001C5C50 42 00 FF FC */ bdnz lbl_801C8CEC lbl_801C8CF4: /* 801C8CF4 001C5C54 7C 04 30 50 */ subf r0, r4, r6 /* 801C8CF8 001C5C58 7C 09 03 A6 */ mtctr r0 /* 801C8CFC 001C5C5C 7C 04 30 00 */ cmpw r4, r6 /* 801C8D00 001C5C60 40 80 00 08 */ bge lbl_801C8D08 lbl_801C8D04: /* 801C8D04 001C5C64 42 00 00 00 */ bdnz lbl_801C8D04 lbl_801C8D08: /* 801C8D08 001C5C68 80 C1 01 18 */ lwz r6, 0x118(r1) /* 801C8D0C 001C5C6C 38 80 00 00 */ li r4, 0 /* 801C8D10 001C5C70 90 81 01 04 */ stw r4, 0x104(r1) /* 801C8D14 001C5C74 2C 06 00 00 */ cmpwi r6, 0 /* 801C8D18 001C5C78 40 81 00 40 */ ble lbl_801C8D58 /* 801C8D1C 001C5C7C 2C 06 00 08 */ cmpwi r6, 8 /* 801C8D20 001C5C80 38 A6 FF F8 */ addi r5, r6, -8 /* 801C8D24 001C5C84 40 81 00 20 */ ble lbl_801C8D44 /* 801C8D28 001C5C88 38 05 00 07 */ addi r0, r5, 7 /* 801C8D2C 001C5C8C 54 00 E8 FE */ srwi r0, r0, 3 /* 801C8D30 001C5C90 7C 09 03 A6 */ mtctr r0 /* 801C8D34 001C5C94 2C 05 00 00 */ cmpwi r5, 0 /* 801C8D38 001C5C98 40 81 00 0C */ ble lbl_801C8D44 lbl_801C8D3C: /* 801C8D3C 001C5C9C 38 84 00 08 */ addi r4, r4, 8 /* 801C8D40 001C5CA0 42 00 FF FC */ bdnz lbl_801C8D3C lbl_801C8D44: /* 801C8D44 001C5CA4 7C 04 30 50 */ subf r0, r4, r6 /* 801C8D48 001C5CA8 7C 09 03 A6 */ mtctr r0 /* 801C8D4C 001C5CAC 7C 04 30 00 */ cmpw r4, r6 /* 801C8D50 001C5CB0 40 80 00 08 */ bge lbl_801C8D58 lbl_801C8D54: /* 801C8D54 001C5CB4 42 00 00 00 */ bdnz lbl_801C8D54 lbl_801C8D58: /* 801C8D58 001C5CB8 38 00 00 00 */ li r0, 0 /* 801C8D5C 001C5CBC 90 01 01 18 */ stw r0, 0x118(r1) lbl_801C8D60: /* 801C8D60 001C5CC0 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 /* 801C8D64 001C5CC4 CB E1 02 50 */ lfd f31, 0x250(r1) /* 801C8D68 001C5CC8 E3 C1 02 48 */ psq_l f30, 584(r1), 0, qr0 /* 801C8D6C 001C5CCC CB C1 02 40 */ lfd f30, 0x240(r1) /* 801C8D70 001C5CD0 E3 A1 02 38 */ psq_l f29, 568(r1), 0, qr0 /* 801C8D74 001C5CD4 CB A1 02 30 */ lfd f29, 0x230(r1) /* 801C8D78 001C5CD8 E3 81 02 28 */ psq_l f28, 552(r1), 0, qr0 /* 801C8D7C 001C5CDC CB 81 02 20 */ lfd f28, 0x220(r1) /* 801C8D80 001C5CE0 BA 41 01 E8 */ lmw r18, 0x1e8(r1) /* 801C8D84 001C5CE4 80 01 02 64 */ lwz r0, 0x264(r1) /* 801C8D88 001C5CE8 7C 08 03 A6 */ mtlr r0 /* 801C8D8C 001C5CEC 38 21 02 60 */ addi r1, r1, 0x260 /* 801C8D90 001C5CF0 4E 80 00 20 */ blr .global __ct__15CPathFindSearchFP7CPFAreaUiff __ct__15CPathFindSearchFP7CPFAreaUiff: /* 801C8D94 001C5CF4 90 83 00 00 */ stw r4, 0(r3) /* 801C8D98 001C5CF8 38 80 00 00 */ li r4, 0 /* 801C8D9C 001C5CFC 38 00 00 01 */ li r0, 1 /* 801C8DA0 001C5D00 C0 02 AB 38 */ lfs f0, lbl_805AC858@sda21(r2) /* 801C8DA4 001C5D04 90 83 00 04 */ stw r4, 4(r3) /* 801C8DA8 001C5D08 7C 00 30 30 */ slw r0, r0, r6 /* 801C8DAC 001C5D0C 90 83 00 C8 */ stw r4, 0xc8(r3) /* 801C8DB0 001C5D10 D0 43 00 D0 */ stfs f2, 0xd0(r3) /* 801C8DB4 001C5D14 D0 23 00 D4 */ stfs f1, 0xd4(r3) /* 801C8DB8 001C5D18 D0 03 00 D8 */ stfs f0, 0xd8(r3) /* 801C8DBC 001C5D1C 90 A3 00 DC */ stw r5, 0xdc(r3) /* 801C8DC0 001C5D20 90 03 00 E0 */ stw r0, 0xe0(r3) /* 801C8DC4 001C5D24 4E 80 00 20 */ blr .global __ct__11CPFOpenListFv __ct__11CPFOpenListFv: /* 801C8DC8 001C5D28 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801C8DCC 001C5D2C 7C 08 02 A6 */ mflr r0 /* 801C8DD0 001C5D30 90 01 00 14 */ stw r0, 0x14(r1) /* 801C8DD4 001C5D34 38 00 00 00 */ li r0, 0 /* 801C8DD8 001C5D38 93 E1 00 0C */ stw r31, 0xc(r1) /* 801C8DDC 001C5D3C 7C 7F 1B 78 */ mr r31, r3 /* 801C8DE0 001C5D40 90 03 00 00 */ stw r0, 0(r3) /* 801C8DE4 001C5D44 38 7F 00 40 */ addi r3, r31, 0x40 /* 801C8DE8 001C5D48 90 1F 00 04 */ stw r0, 4(r31) /* 801C8DEC 001C5D4C 90 1F 00 08 */ stw r0, 8(r31) /* 801C8DF0 001C5D50 90 1F 00 0C */ stw r0, 0xc(r31) /* 801C8DF4 001C5D54 90 1F 00 10 */ stw r0, 0x10(r31) /* 801C8DF8 001C5D58 90 1F 00 14 */ stw r0, 0x14(r31) /* 801C8DFC 001C5D5C 90 1F 00 18 */ stw r0, 0x18(r31) /* 801C8E00 001C5D60 90 1F 00 1C */ stw r0, 0x1c(r31) /* 801C8E04 001C5D64 90 1F 00 20 */ stw r0, 0x20(r31) /* 801C8E08 001C5D68 90 1F 00 24 */ stw r0, 0x24(r31) /* 801C8E0C 001C5D6C 90 1F 00 28 */ stw r0, 0x28(r31) /* 801C8E10 001C5D70 90 1F 00 2C */ stw r0, 0x2c(r31) /* 801C8E14 001C5D74 90 1F 00 30 */ stw r0, 0x30(r31) /* 801C8E18 001C5D78 90 1F 00 34 */ stw r0, 0x34(r31) /* 801C8E1C 001C5D7C 90 1F 00 38 */ stw r0, 0x38(r31) /* 801C8E20 001C5D80 90 1F 00 3C */ stw r0, 0x3c(r31) /* 801C8E24 001C5D84 48 00 11 E9 */ bl __ct__9CPFRegionFv /* 801C8E28 001C5D88 38 7F 00 90 */ addi r3, r31, 0x90 /* 801C8E2C 001C5D8C 48 00 12 ED */ bl __ct__13CPFRegionDataFv /* 801C8E30 001C5D90 38 7F 00 90 */ addi r3, r31, 0x90 /* 801C8E34 001C5D94 38 1F 00 40 */ addi r0, r31, 0x40 /* 801C8E38 001C5D98 90 7F 00 8C */ stw r3, 0x8c(r31) /* 801C8E3C 001C5D9C 38 A0 00 00 */ li r5, 0 /* 801C8E40 001C5DA0 7F E3 FB 78 */ mr r3, r31 /* 801C8E44 001C5DA4 80 9F 00 8C */ lwz r4, 0x8c(r31) /* 801C8E48 001C5DA8 90 04 00 28 */ stw r0, 0x28(r4) /* 801C8E4C 001C5DAC 80 9F 00 8C */ lwz r4, 0x8c(r31) /* 801C8E50 001C5DB0 90 04 00 24 */ stw r0, 0x24(r4) /* 801C8E54 001C5DB4 90 BF 00 00 */ stw r5, 0(r31) /* 801C8E58 001C5DB8 90 BF 00 04 */ stw r5, 4(r31) /* 801C8E5C 001C5DBC 90 BF 00 08 */ stw r5, 8(r31) /* 801C8E60 001C5DC0 90 BF 00 0C */ stw r5, 0xc(r31) /* 801C8E64 001C5DC4 90 BF 00 10 */ stw r5, 0x10(r31) /* 801C8E68 001C5DC8 90 BF 00 14 */ stw r5, 0x14(r31) /* 801C8E6C 001C5DCC 90 BF 00 18 */ stw r5, 0x18(r31) /* 801C8E70 001C5DD0 90 BF 00 1C */ stw r5, 0x1c(r31) /* 801C8E74 001C5DD4 90 BF 00 20 */ stw r5, 0x20(r31) /* 801C8E78 001C5DD8 90 BF 00 24 */ stw r5, 0x24(r31) /* 801C8E7C 001C5DDC 90 BF 00 28 */ stw r5, 0x28(r31) /* 801C8E80 001C5DE0 90 BF 00 2C */ stw r5, 0x2c(r31) /* 801C8E84 001C5DE4 90 BF 00 30 */ stw r5, 0x30(r31) /* 801C8E88 001C5DE8 90 BF 00 34 */ stw r5, 0x34(r31) /* 801C8E8C 001C5DEC 90 BF 00 38 */ stw r5, 0x38(r31) /* 801C8E90 001C5DF0 90 BF 00 3C */ stw r5, 0x3c(r31) /* 801C8E94 001C5DF4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801C8E98 001C5DF8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801C8E9C 001C5DFC 7C 08 03 A6 */ mtlr r0 /* 801C8EA0 001C5E00 38 21 00 10 */ addi r1, r1, 0x10 /* 801C8EA4 001C5E04 4E 80 00 20 */ blr .global FitThroughLink3d__9CPFRegionCFRC9CVector3fRC7CPFLinkfRC9CVector3fff FitThroughLink3d__9CPFRegionCFRC9CVector3fRC7CPFLinkfRC9CVector3fff: /* 801C8EA8 001C5E08 94 21 FE D0 */ stwu r1, -0x130(r1) /* 801C8EAC 001C5E0C 7C 08 02 A6 */ mflr r0 /* 801C8EB0 001C5E10 90 01 01 34 */ stw r0, 0x134(r1) /* 801C8EB4 001C5E14 DB E1 01 20 */ stfd f31, 0x120(r1) /* 801C8EB8 001C5E18 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 801C8EBC 001C5E1C DB C1 01 10 */ stfd f30, 0x110(r1) /* 801C8EC0 001C5E20 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 /* 801C8EC4 001C5E24 DB A1 01 00 */ stfd f29, 0x100(r1) /* 801C8EC8 001C5E28 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 /* 801C8ECC 001C5E2C DB 81 00 F0 */ stfd f28, 0xf0(r1) /* 801C8ED0 001C5E30 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 /* 801C8ED4 001C5E34 DB 61 00 E0 */ stfd f27, 0xe0(r1) /* 801C8ED8 001C5E38 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 /* 801C8EDC 001C5E3C DB 41 00 D0 */ stfd f26, 0xd0(r1) /* 801C8EE0 001C5E40 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 /* 801C8EE4 001C5E44 DB 21 00 C0 */ stfd f25, 0xc0(r1) /* 801C8EE8 001C5E48 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 /* 801C8EEC 001C5E4C DB 01 00 B0 */ stfd f24, 0xb0(r1) /* 801C8EF0 001C5E50 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 /* 801C8EF4 001C5E54 DA E1 00 A0 */ stfd f23, 0xa0(r1) /* 801C8EF8 001C5E58 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 /* 801C8EFC 001C5E5C DA C1 00 90 */ stfd f22, 0x90(r1) /* 801C8F00 001C5E60 F2 C1 00 98 */ psq_st f22, 152(r1), 0, qr0 /* 801C8F04 001C5E64 BF 61 00 7C */ stmw r27, 0x7c(r1) /* 801C8F08 001C5E68 7C DD 33 78 */ mr r29, r6 /* 801C8F0C 001C5E6C 7C BC 2B 78 */ mr r28, r5 /* 801C8F10 001C5E70 81 06 00 00 */ lwz r8, 0(r6) /* 801C8F14 001C5E74 7C FE 3B 78 */ mr r30, r7 /* 801C8F18 001C5E78 80 A4 00 00 */ lwz r5, 0(r4) /* 801C8F1C 001C5E7C FC C0 10 18 */ frsp f6, f2 /* 801C8F20 001C5E80 38 C8 00 01 */ addi r6, r8, 1 /* 801C8F24 001C5E84 80 E4 00 04 */ lwz r7, 4(r4) /* 801C8F28 001C5E88 7C 06 2B D6 */ divw r0, r6, r5 /* 801C8F2C 001C5E8C C1 5C 00 04 */ lfs f10, 4(r28) /* 801C8F30 001C5E90 C1 1E 00 04 */ lfs f8, 4(r30) /* 801C8F34 001C5E94 C1 7C 00 00 */ lfs f11, 0(r28) /* 801C8F38 001C5E98 FF C0 08 90 */ fmr f30, f1 /* 801C8F3C 001C5E9C C0 FE 00 00 */ lfs f7, 0(r30) /* 801C8F40 001C5EA0 1C 88 00 18 */ mulli r4, r8, 0x18 /* 801C8F44 001C5EA4 C1 BC 00 08 */ lfs f13, 8(r28) /* 801C8F48 001C5EA8 C1 3E 00 08 */ lfs f9, 8(r30) /* 801C8F4C 001C5EAC FF E0 18 90 */ fmr f31, f3 /* 801C8F50 001C5EB0 C0 82 AB 40 */ lfs f4, lbl_805AC860@sda21(r2) /* 801C8F54 001C5EB4 7C 7B 1B 78 */ mr r27, r3 /* 801C8F58 001C5EB8 7F E7 22 14 */ add r31, r7, r4 /* 801C8F5C 001C5EBC C0 1D 00 08 */ lfs f0, 8(r29) /* 801C8F60 001C5EC0 C0 7F 00 04 */ lfs f3, 4(r31) /* 801C8F64 001C5EC4 7C 00 29 D6 */ mullw r0, r0, r5 /* 801C8F68 001C5EC8 C0 3F 00 00 */ lfs f1, 0(r31) /* 801C8F6C 001C5ECC EC A4 00 32 */ fmuls f5, f4, f0 /* 801C8F70 001C5ED0 C0 9F 00 08 */ lfs f4, 8(r31) /* 801C8F74 001C5ED4 EF 6A 18 28 */ fsubs f27, f10, f3 /* 801C8F78 001C5ED8 EC 03 40 28 */ fsubs f0, f3, f8 /* 801C8F7C 001C5EDC C1 5F 00 10 */ lfs f10, 0x10(r31) /* 801C8F80 001C5EE0 ED 8B 08 28 */ fsubs f12, f11, f1 /* 801C8F84 001C5EE4 ED 01 38 28 */ fsubs f8, f1, f7 /* 801C8F88 001C5EE8 7C 00 30 50 */ subf r0, r0, r6 /* 801C8F8C 001C5EEC 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801C8F90 001C5EF0 EF AD 20 28 */ fsubs f29, f13, f4 /* 801C8F94 001C5EF4 EE C4 48 28 */ fsubs f22, f4, f9 /* 801C8F98 001C5EF8 ED 3B 02 B2 */ fmuls f9, f27, f10 /* 801C8F9C 001C5EFC 7C 67 02 14 */ add r3, r7, r0 /* 801C8FA0 001C5F00 C1 7F 00 0C */ lfs f11, 0xc(r31) /* 801C8FA4 001C5F04 EC E0 02 B2 */ fmuls f7, f0, f10 /* 801C8FA8 001C5F08 C3 43 00 00 */ lfs f26, 0(r3) /* 801C8FAC 001C5F0C C2 E3 00 04 */ lfs f23, 4(r3) /* 801C8FB0 001C5F10 C1 A3 00 08 */ lfs f13, 8(r3) /* 801C8FB4 001C5F14 ED 2C 4A FA */ fmadds f9, f12, f11, f9 /* 801C8FB8 001C5F18 C1 5F 00 14 */ lfs f10, 0x14(r31) /* 801C8FBC 001C5F1C EC E8 3A FA */ fmadds f7, f8, f11, f7 /* 801C8FC0 001C5F20 D0 41 00 08 */ stfs f2, 8(r1) /* 801C8FC4 001C5F24 EF 3D 4A BA */ fmadds f25, f29, f10, f9 /* 801C8FC8 001C5F28 FC 06 28 40 */ fcmpo cr0, f6, f5 /* 801C8FCC 001C5F2C D1 81 00 64 */ stfs f12, 0x64(r1) /* 801C8FD0 001C5F30 EF 16 3A BA */ fmadds f24, f22, f10, f7 /* 801C8FD4 001C5F34 EF 5A 08 28 */ fsubs f26, f26, f1 /* 801C8FD8 001C5F38 D3 61 00 68 */ stfs f27, 0x68(r1) /* 801C8FDC 001C5F3C EF 77 18 28 */ fsubs f27, f23, f3 /* 801C8FE0 001C5F40 EF 8D 20 28 */ fsubs f28, f13, f4 /* 801C8FE4 001C5F44 D3 A1 00 6C */ stfs f29, 0x6c(r1) /* 801C8FE8 001C5F48 EE F9 C0 2A */ fadds f23, f25, f24 /* 801C8FEC 001C5F4C D1 01 00 58 */ stfs f8, 0x58(r1) /* 801C8FF0 001C5F50 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801C8FF4 001C5F54 D2 C1 00 60 */ stfs f22, 0x60(r1) /* 801C8FF8 001C5F58 40 80 01 14 */ bge lbl_801C910C /* 801C8FFC 001C5F5C FC 20 D0 90 */ fmr f1, f26 /* 801C9000 001C5F60 38 61 00 30 */ addi r3, r1, 0x30 /* 801C9004 001C5F64 FC 40 D8 90 */ fmr f2, f27 /* 801C9008 001C5F68 48 14 B1 F9 */ bl __ct__9CVector2fFff /* 801C900C 001C5F6C C0 21 00 30 */ lfs f1, 0x30(r1) /* 801C9010 001C5F70 38 61 00 38 */ addi r3, r1, 0x38 /* 801C9014 001C5F74 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801C9018 001C5F78 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801C901C 001C5F7C C0 3D 00 0C */ lfs f1, 0xc(r29) /* 801C9020 001C5F80 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801C9024 001C5F84 48 14 B1 29 */ bl __amu__9CVector2fFf /* 801C9028 001C5F88 C0 5C 00 04 */ lfs f2, 4(r28) /* 801C902C 001C5F8C 38 61 00 28 */ addi r3, r1, 0x28 /* 801C9030 001C5F90 C0 1F 00 04 */ lfs f0, 4(r31) /* 801C9034 001C5F94 C0 3C 00 00 */ lfs f1, 0(r28) /* 801C9038 001C5F98 EC 42 00 28 */ fsubs f2, f2, f0 /* 801C903C 001C5F9C C0 1F 00 00 */ lfs f0, 0(r31) /* 801C9040 001C5FA0 C0 7C 00 08 */ lfs f3, 8(r28) /* 801C9044 001C5FA4 EC 21 00 28 */ fsubs f1, f1, f0 /* 801C9048 001C5FA8 C0 1F 00 08 */ lfs f0, 8(r31) /* 801C904C 001C5FAC D0 41 00 50 */ stfs f2, 0x50(r1) /* 801C9050 001C5FB0 EC 03 00 28 */ fsubs f0, f3, f0 /* 801C9054 001C5FB4 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801C9058 001C5FB8 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801C905C 001C5FBC 48 14 B1 A5 */ bl __ct__9CVector2fFff /* 801C9060 001C5FC0 38 61 00 38 */ addi r3, r1, 0x38 /* 801C9064 001C5FC4 38 81 00 28 */ addi r4, r1, 0x28 /* 801C9068 001C5FC8 48 14 AF 41 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f /* 801C906C 001C5FCC C0 5E 00 04 */ lfs f2, 4(r30) /* 801C9070 001C5FD0 FF A0 08 90 */ fmr f29, f1 /* 801C9074 001C5FD4 C0 1F 00 04 */ lfs f0, 4(r31) /* 801C9078 001C5FD8 38 61 00 20 */ addi r3, r1, 0x20 /* 801C907C 001C5FDC C0 3E 00 00 */ lfs f1, 0(r30) /* 801C9080 001C5FE0 EC 42 00 28 */ fsubs f2, f2, f0 /* 801C9084 001C5FE4 C0 1F 00 00 */ lfs f0, 0(r31) /* 801C9088 001C5FE8 C0 7E 00 08 */ lfs f3, 8(r30) /* 801C908C 001C5FEC EC 21 00 28 */ fsubs f1, f1, f0 /* 801C9090 001C5FF0 C0 1F 00 08 */ lfs f0, 8(r31) /* 801C9094 001C5FF4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801C9098 001C5FF8 EC 03 00 28 */ fsubs f0, f3, f0 /* 801C909C 001C5FFC D0 21 00 40 */ stfs f1, 0x40(r1) /* 801C90A0 001C6000 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801C90A4 001C6004 48 14 B1 5D */ bl __ct__9CVector2fFff /* 801C90A8 001C6008 38 61 00 38 */ addi r3, r1, 0x38 /* 801C90AC 001C600C 38 81 00 20 */ addi r4, r1, 0x20 /* 801C90B0 001C6010 48 14 AE F9 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f /* 801C90B4 001C6014 C0 02 AB 44 */ lfs f0, lbl_805AC864@sda21(r2) /* 801C90B8 001C6018 FC 17 00 40 */ fcmpo cr0, f23, f0 /* 801C90BC 001C601C 40 81 00 50 */ ble lbl_801C910C /* 801C90C0 001C6020 C0 02 AB 48 */ lfs f0, lbl_805AC868@sda21(r2) /* 801C90C4 001C6024 EC 59 00 72 */ fmuls f2, f25, f1 /* 801C90C8 001C6028 C0 3D 00 08 */ lfs f1, 8(r29) /* 801C90CC 001C602C 38 61 00 08 */ addi r3, r1, 8 /* 801C90D0 001C6030 EC 60 B8 24 */ fdivs f3, f0, f23 /* 801C90D4 001C6034 C0 01 00 08 */ lfs f0, 8(r1) /* 801C90D8 001C6038 38 81 00 1C */ addi r4, r1, 0x1c /* 801C90DC 001C603C 38 A1 00 18 */ addi r5, r1, 0x18 /* 801C90E0 001C6040 EC 58 17 7A */ fmadds f2, f24, f29, f2 /* 801C90E4 001C6044 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C90E8 001C6048 EC 23 00 B2 */ fmuls f1, f3, f2 /* 801C90EC 001C604C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801C90F0 001C6050 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801C90F4 001C6054 4B E4 31 C1 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C90F8 001C6058 C0 23 00 00 */ lfs f1, 0(r3) /* 801C90FC 001C605C C0 1D 00 0C */ lfs f0, 0xc(r29) /* 801C9100 001C6060 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801C9104 001C6064 EC 01 00 32 */ fmuls f0, f1, f0 /* 801C9108 001C6068 D0 01 00 1C */ stfs f0, 0x1c(r1) lbl_801C910C: /* 801C910C 001C606C C0 C2 AB 40 */ lfs f6, lbl_805AC860@sda21(r2) /* 801C9110 001C6070 C0 FF 00 00 */ lfs f7, 0(r31) /* 801C9114 001C6074 EC A6 06 B2 */ fmuls f5, f6, f26 /* 801C9118 001C6078 C0 9F 00 04 */ lfs f4, 4(r31) /* 801C911C 001C607C EC 66 06 F2 */ fmuls f3, f6, f27 /* 801C9120 001C6080 C0 5F 00 08 */ lfs f2, 8(r31) /* 801C9124 001C6084 EC 26 07 32 */ fmuls f1, f6, f28 /* 801C9128 001C6088 EC 06 07 B2 */ fmuls f0, f6, f30 /* 801C912C 001C608C EF 67 28 2A */ fadds f27, f7, f5 /* 801C9130 001C6090 EF 44 18 2A */ fadds f26, f4, f3 /* 801C9134 001C6094 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801C9138 001C6098 EC A2 08 2A */ fadds f5, f2, f1 /* 801C913C 001C609C 40 80 00 68 */ bge lbl_801C91A4 /* 801C9140 001C60A0 C0 7C 00 08 */ lfs f3, 8(r28) /* 801C9144 001C60A4 EC 9F 28 2A */ fadds f4, f31, f5 /* 801C9148 001C60A8 C0 5E 00 08 */ lfs f2, 8(r30) /* 801C914C 001C60AC C0 02 AB 44 */ lfs f0, lbl_805AC864@sda21(r2) /* 801C9150 001C60B0 EC 23 10 2A */ fadds f1, f3, f2 /* 801C9154 001C60B4 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801C9158 001C60B8 FC 17 00 40 */ fcmpo cr0, f23, f0 /* 801C915C 001C60BC EC 06 00 72 */ fmuls f0, f6, f1 /* 801C9160 001C60C0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801C9164 001C60C4 40 81 00 1C */ ble lbl_801C9180 /* 801C9168 001C60C8 C0 22 AB 48 */ lfs f1, lbl_805AC868@sda21(r2) /* 801C916C 001C60CC EC 19 00 B2 */ fmuls f0, f25, f2 /* 801C9170 001C60D0 EC 21 B8 24 */ fdivs f1, f1, f23 /* 801C9174 001C60D4 EC 18 00 FA */ fmadds f0, f24, f3, f0 /* 801C9178 001C60D8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801C917C 001C60DC D0 01 00 10 */ stfs f0, 0x10(r1) lbl_801C9180: /* 801C9180 001C60E0 EC 1E 28 2A */ fadds f0, f30, f5 /* 801C9184 001C60E4 38 61 00 14 */ addi r3, r1, 0x14 /* 801C9188 001C60E8 38 81 00 10 */ addi r4, r1, 0x10 /* 801C918C 001C60EC 38 A1 00 0C */ addi r5, r1, 0xc /* 801C9190 001C60F0 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801C9194 001C60F4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801C9198 001C60F8 4B E4 31 1D */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C919C 001C60FC C0 03 00 00 */ lfs f0, 0(r3) /* 801C91A0 001C6100 48 00 00 14 */ b lbl_801C91B4 lbl_801C91A4: /* 801C91A4 001C6104 C0 3C 00 08 */ lfs f1, 8(r28) /* 801C91A8 001C6108 C0 1E 00 08 */ lfs f0, 8(r30) /* 801C91AC 001C610C EC 01 00 2A */ fadds f0, f1, f0 /* 801C91B0 001C6110 EC 06 00 32 */ fmuls f0, f6, f0 lbl_801C91B4: /* 801C91B4 001C6114 D3 7B 00 00 */ stfs f27, 0(r27) /* 801C91B8 001C6118 D3 5B 00 04 */ stfs f26, 4(r27) /* 801C91BC 001C611C D0 1B 00 08 */ stfs f0, 8(r27) /* 801C91C0 001C6120 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 801C91C4 001C6124 CB E1 01 20 */ lfd f31, 0x120(r1) /* 801C91C8 001C6128 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 /* 801C91CC 001C612C CB C1 01 10 */ lfd f30, 0x110(r1) /* 801C91D0 001C6130 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 /* 801C91D4 001C6134 CB A1 01 00 */ lfd f29, 0x100(r1) /* 801C91D8 001C6138 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 /* 801C91DC 001C613C CB 81 00 F0 */ lfd f28, 0xf0(r1) /* 801C91E0 001C6140 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 /* 801C91E4 001C6144 CB 61 00 E0 */ lfd f27, 0xe0(r1) /* 801C91E8 001C6148 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 /* 801C91EC 001C614C CB 41 00 D0 */ lfd f26, 0xd0(r1) /* 801C91F0 001C6150 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 /* 801C91F4 001C6154 CB 21 00 C0 */ lfd f25, 0xc0(r1) /* 801C91F8 001C6158 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 /* 801C91FC 001C615C CB 01 00 B0 */ lfd f24, 0xb0(r1) /* 801C9200 001C6160 E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 /* 801C9204 001C6164 CA E1 00 A0 */ lfd f23, 0xa0(r1) /* 801C9208 001C6168 E2 C1 00 98 */ psq_l f22, 152(r1), 0, qr0 /* 801C920C 001C616C CA C1 00 90 */ lfd f22, 0x90(r1) /* 801C9210 001C6170 BB 61 00 7C */ lmw r27, 0x7c(r1) /* 801C9214 001C6174 80 01 01 34 */ lwz r0, 0x134(r1) /* 801C9218 001C6178 7C 08 03 A6 */ mtlr r0 /* 801C921C 001C617C 38 21 01 30 */ addi r1, r1, 0x130 /* 801C9220 001C6180 4E 80 00 20 */ blr .global FitThroughLink2d__9CPFRegionCFRC9CVector3fRC7CPFLinkRC9CVector3ff FitThroughLink2d__9CPFRegionCFRC9CVector3fRC7CPFLinkRC9CVector3ff: /* 801C9224 001C6184 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801C9228 001C6188 7C 08 02 A6 */ mflr r0 /* 801C922C 001C618C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801C9230 001C6190 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801C9234 001C6194 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801C9238 001C6198 DB C1 00 90 */ stfd f30, 0x90(r1) /* 801C923C 001C619C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801C9240 001C61A0 DB A1 00 80 */ stfd f29, 0x80(r1) /* 801C9244 001C61A4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 801C9248 001C61A8 DB 81 00 70 */ stfd f28, 0x70(r1) /* 801C924C 001C61AC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 /* 801C9250 001C61B0 DB 61 00 60 */ stfd f27, 0x60(r1) /* 801C9254 001C61B4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 /* 801C9258 001C61B8 DB 41 00 50 */ stfd f26, 0x50(r1) /* 801C925C 001C61BC F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 /* 801C9260 001C61C0 BF 61 00 3C */ stmw r27, 0x3c(r1) /* 801C9264 001C61C4 7C DD 33 78 */ mr r29, r6 /* 801C9268 001C61C8 80 C4 00 00 */ lwz r6, 0(r4) /* 801C926C 001C61CC 81 1D 00 00 */ lwz r8, 0(r29) /* 801C9270 001C61D0 FC 40 08 18 */ frsp f2, f1 /* 801C9274 001C61D4 80 84 00 04 */ lwz r4, 4(r4) /* 801C9278 001C61D8 7C 7B 1B 78 */ mr r27, r3 /* 801C927C 001C61DC 38 68 00 01 */ addi r3, r8, 1 /* 801C9280 001C61E0 C0 62 AB 40 */ lfs f3, lbl_805AC860@sda21(r2) /* 801C9284 001C61E4 7C 03 33 D6 */ divw r0, r3, r6 /* 801C9288 001C61E8 C0 1D 00 08 */ lfs f0, 8(r29) /* 801C928C 001C61EC 7C BC 2B 78 */ mr r28, r5 /* 801C9290 001C61F0 D0 21 00 08 */ stfs f1, 8(r1) /* 801C9294 001C61F4 7C FE 3B 78 */ mr r30, r7 /* 801C9298 001C61F8 EC 03 00 32 */ fmuls f0, f3, f0 /* 801C929C 001C61FC 7C 00 31 D6 */ mullw r0, r0, r6 /* 801C92A0 001C6200 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801C92A4 001C6204 7C 00 18 50 */ subf r0, r0, r3 /* 801C92A8 001C6208 1C 68 00 18 */ mulli r3, r8, 0x18 /* 801C92AC 001C620C 7F E4 1A 14 */ add r31, r4, r3 /* 801C92B0 001C6210 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801C92B4 001C6214 C0 BF 00 00 */ lfs f5, 0(r31) /* 801C92B8 001C6218 C0 5F 00 04 */ lfs f2, 4(r31) /* 801C92BC 001C621C C0 1F 00 08 */ lfs f0, 8(r31) /* 801C92C0 001C6220 7C 64 02 14 */ add r3, r4, r0 /* 801C92C4 001C6224 C0 C3 00 00 */ lfs f6, 0(r3) /* 801C92C8 001C6228 C0 83 00 04 */ lfs f4, 4(r3) /* 801C92CC 001C622C C0 23 00 08 */ lfs f1, 8(r3) /* 801C92D0 001C6230 EF 86 28 28 */ fsubs f28, f6, f5 /* 801C92D4 001C6234 EF A4 10 28 */ fsubs f29, f4, f2 /* 801C92D8 001C6238 EF C1 00 28 */ fsubs f30, f1, f0 /* 801C92DC 001C623C D0 61 00 10 */ stfs f3, 0x10(r1) /* 801C92E0 001C6240 40 80 01 34 */ bge lbl_801C9414 /* 801C92E4 001C6244 FC 20 E0 90 */ fmr f1, f28 /* 801C92E8 001C6248 38 61 00 24 */ addi r3, r1, 0x24 /* 801C92EC 001C624C FC 40 E8 90 */ fmr f2, f29 /* 801C92F0 001C6250 48 14 AF 11 */ bl __ct__9CVector2fFff /* 801C92F4 001C6254 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801C92F8 001C6258 38 61 00 2C */ addi r3, r1, 0x2c /* 801C92FC 001C625C C0 01 00 28 */ lfs f0, 0x28(r1) /* 801C9300 001C6260 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801C9304 001C6264 C0 3D 00 0C */ lfs f1, 0xc(r29) /* 801C9308 001C6268 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801C930C 001C626C 48 14 AE 41 */ bl __amu__9CVector2fFf /* 801C9310 001C6270 C0 3C 00 04 */ lfs f1, 4(r28) /* 801C9314 001C6274 38 61 00 1C */ addi r3, r1, 0x1c /* 801C9318 001C6278 C0 1F 00 04 */ lfs f0, 4(r31) /* 801C931C 001C627C C0 7C 00 00 */ lfs f3, 0(r28) /* 801C9320 001C6280 EC 41 00 28 */ fsubs f2, f1, f0 /* 801C9324 001C6284 C0 3F 00 00 */ lfs f1, 0(r31) /* 801C9328 001C6288 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801C932C 001C628C EC 23 08 28 */ fsubs f1, f3, f1 /* 801C9330 001C6290 C0 BC 00 08 */ lfs f5, 8(r28) /* 801C9334 001C6294 C0 9F 00 08 */ lfs f4, 8(r31) /* 801C9338 001C6298 EC 02 00 32 */ fmuls f0, f2, f0 /* 801C933C 001C629C C0 7F 00 0C */ lfs f3, 0xc(r31) /* 801C9340 001C62A0 EC A5 20 28 */ fsubs f5, f5, f4 /* 801C9344 001C62A4 C0 9F 00 14 */ lfs f4, 0x14(r31) /* 801C9348 001C62A8 EC 01 00 FA */ fmadds f0, f1, f3, f0 /* 801C934C 001C62AC EF 65 01 3A */ fmadds f27, f5, f4, f0 /* 801C9350 001C62B0 48 14 AE B1 */ bl __ct__9CVector2fFff /* 801C9354 001C62B4 38 61 00 2C */ addi r3, r1, 0x2c /* 801C9358 001C62B8 38 81 00 1C */ addi r4, r1, 0x1c /* 801C935C 001C62BC 48 14 AC 4D */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f /* 801C9360 001C62C0 C0 5E 00 04 */ lfs f2, 4(r30) /* 801C9364 001C62C4 FF E0 08 90 */ fmr f31, f1 /* 801C9368 001C62C8 C0 1F 00 04 */ lfs f0, 4(r31) /* 801C936C 001C62CC 38 61 00 14 */ addi r3, r1, 0x14 /* 801C9370 001C62D0 C0 7E 00 00 */ lfs f3, 0(r30) /* 801C9374 001C62D4 EC 42 00 28 */ fsubs f2, f2, f0 /* 801C9378 001C62D8 C0 3F 00 00 */ lfs f1, 0(r31) /* 801C937C 001C62DC C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801C9380 001C62E0 EC 23 08 28 */ fsubs f1, f3, f1 /* 801C9384 001C62E4 C0 BE 00 08 */ lfs f5, 8(r30) /* 801C9388 001C62E8 C0 9F 00 08 */ lfs f4, 8(r31) /* 801C938C 001C62EC EC 02 00 32 */ fmuls f0, f2, f0 /* 801C9390 001C62F0 C0 7F 00 0C */ lfs f3, 0xc(r31) /* 801C9394 001C62F4 EC A5 20 28 */ fsubs f5, f5, f4 /* 801C9398 001C62F8 C0 9F 00 14 */ lfs f4, 0x14(r31) /* 801C939C 001C62FC EC 01 00 FA */ fmadds f0, f1, f3, f0 /* 801C93A0 001C6300 EC 05 01 3A */ fmadds f0, f5, f4, f0 /* 801C93A4 001C6304 FF 40 00 50 */ fneg f26, f0 /* 801C93A8 001C6308 48 14 AE 59 */ bl __ct__9CVector2fFff /* 801C93AC 001C630C 38 61 00 2C */ addi r3, r1, 0x2c /* 801C93B0 001C6310 38 81 00 14 */ addi r4, r1, 0x14 /* 801C93B4 001C6314 48 14 AB F5 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f /* 801C93B8 001C6318 EC 7B D0 2A */ fadds f3, f27, f26 /* 801C93BC 001C631C C0 02 AB 44 */ lfs f0, lbl_805AC864@sda21(r2) /* 801C93C0 001C6320 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801C93C4 001C6324 40 81 00 50 */ ble lbl_801C9414 /* 801C93C8 001C6328 C0 02 AB 48 */ lfs f0, lbl_805AC868@sda21(r2) /* 801C93CC 001C632C EC 5B 00 72 */ fmuls f2, f27, f1 /* 801C93D0 001C6330 C0 3D 00 08 */ lfs f1, 8(r29) /* 801C93D4 001C6334 38 61 00 08 */ addi r3, r1, 8 /* 801C93D8 001C6338 EC 60 18 24 */ fdivs f3, f0, f3 /* 801C93DC 001C633C C0 01 00 08 */ lfs f0, 8(r1) /* 801C93E0 001C6340 38 81 00 10 */ addi r4, r1, 0x10 /* 801C93E4 001C6344 38 A1 00 0C */ addi r5, r1, 0xc /* 801C93E8 001C6348 EC 5A 17 FA */ fmadds f2, f26, f31, f2 /* 801C93EC 001C634C EC 01 00 28 */ fsubs f0, f1, f0 /* 801C93F0 001C6350 EC 23 00 B2 */ fmuls f1, f3, f2 /* 801C93F4 001C6354 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801C93F8 001C6358 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801C93FC 001C635C 4B E4 2E B9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801C9400 001C6360 C0 23 00 00 */ lfs f1, 0(r3) /* 801C9404 001C6364 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 801C9408 001C6368 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801C940C 001C636C EC 01 00 32 */ fmuls f0, f1, f0 /* 801C9410 001C6370 D0 01 00 10 */ stfs f0, 0x10(r1) lbl_801C9414: /* 801C9414 001C6374 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801C9418 001C6378 C0 3F 00 00 */ lfs f1, 0(r31) /* 801C941C 001C637C EC 02 07 32 */ fmuls f0, f2, f28 /* 801C9420 001C6380 C0 BF 00 04 */ lfs f5, 4(r31) /* 801C9424 001C6384 EC 82 07 72 */ fmuls f4, f2, f29 /* 801C9428 001C6388 C0 7F 00 08 */ lfs f3, 8(r31) /* 801C942C 001C638C EC 42 07 B2 */ fmuls f2, f2, f30 /* 801C9430 001C6390 EC 01 00 2A */ fadds f0, f1, f0 /* 801C9434 001C6394 EC 85 20 2A */ fadds f4, f5, f4 /* 801C9438 001C6398 EC 23 10 2A */ fadds f1, f3, f2 /* 801C943C 001C639C D0 1B 00 00 */ stfs f0, 0(r27) /* 801C9440 001C63A0 D0 9B 00 04 */ stfs f4, 4(r27) /* 801C9444 001C63A4 D0 3B 00 08 */ stfs f1, 8(r27) /* 801C9448 001C63A8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801C944C 001C63AC CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801C9450 001C63B0 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801C9454 001C63B4 CB C1 00 90 */ lfd f30, 0x90(r1) /* 801C9458 001C63B8 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 801C945C 001C63BC CB A1 00 80 */ lfd f29, 0x80(r1) /* 801C9460 001C63C0 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 /* 801C9464 001C63C4 CB 81 00 70 */ lfd f28, 0x70(r1) /* 801C9468 001C63C8 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 /* 801C946C 001C63CC CB 61 00 60 */ lfd f27, 0x60(r1) /* 801C9470 001C63D0 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 /* 801C9474 001C63D4 CB 41 00 50 */ lfd f26, 0x50(r1) /* 801C9478 001C63D8 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 801C947C 001C63DC 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801C9480 001C63E0 7C 08 03 A6 */ mtlr r0 /* 801C9484 001C63E4 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801C9488 001C63E8 4E 80 00 20 */ blr .global GetLinkMidPoint__9CPFRegionCFRC7CPFLink GetLinkMidPoint__9CPFRegionCFRC7CPFLink: /* 801C948C 001C63EC 80 E5 00 00 */ lwz r7, 0(r5) /* 801C9490 001C63F0 80 A4 00 00 */ lwz r5, 0(r4) /* 801C9494 001C63F4 38 C7 00 01 */ addi r6, r7, 1 /* 801C9498 001C63F8 81 04 00 04 */ lwz r8, 4(r4) /* 801C949C 001C63FC 7C 06 2B D6 */ divw r0, r6, r5 /* 801C94A0 001C6400 C0 A2 AB 40 */ lfs f5, lbl_805AC860@sda21(r2) /* 801C94A4 001C6404 7C 00 29 D6 */ mullw r0, r0, r5 /* 801C94A8 001C6408 7C 00 30 50 */ subf r0, r0, r6 /* 801C94AC 001C640C 1C 87 00 18 */ mulli r4, r7, 0x18 /* 801C94B0 001C6410 7C 88 22 14 */ add r4, r8, r4 /* 801C94B4 001C6414 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801C94B8 001C6418 C0 24 00 00 */ lfs f1, 0(r4) /* 801C94BC 001C641C C0 84 00 04 */ lfs f4, 4(r4) /* 801C94C0 001C6420 C0 44 00 08 */ lfs f2, 8(r4) /* 801C94C4 001C6424 7C 88 02 14 */ add r4, r8, r0 /* 801C94C8 001C6428 C0 04 00 00 */ lfs f0, 0(r4) /* 801C94CC 001C642C C0 64 00 04 */ lfs f3, 4(r4) /* 801C94D0 001C6430 EC 01 00 2A */ fadds f0, f1, f0 /* 801C94D4 001C6434 C0 24 00 08 */ lfs f1, 8(r4) /* 801C94D8 001C6438 EC 64 18 2A */ fadds f3, f4, f3 /* 801C94DC 001C643C EC 22 08 2A */ fadds f1, f2, f1 /* 801C94E0 001C6440 EC 05 00 32 */ fmuls f0, f5, f0 /* 801C94E4 001C6444 EC 45 00 F2 */ fmuls f2, f5, f3 /* 801C94E8 001C6448 EC 25 00 72 */ fmuls f1, f5, f1 /* 801C94EC 001C644C D0 03 00 00 */ stfs f0, 0(r3) /* 801C94F0 001C6450 D0 43 00 04 */ stfs f2, 4(r3) /* 801C94F4 001C6454 D0 23 00 08 */ stfs f1, 8(r3) /* 801C94F8 001C6458 4E 80 00 20 */ blr .global DropToGround__9CPFRegionCFR9CVector3f DropToGround__9CPFRegionCFR9CVector3f: /* 801C94FC 001C645C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C9500 001C6460 80 A3 00 04 */ lwz r5, 4(r3) /* 801C9504 001C6464 C0 24 00 04 */ lfs f1, 4(r4) /* 801C9508 001C6468 C0 05 00 04 */ lfs f0, 4(r5) /* 801C950C 001C646C C0 44 00 00 */ lfs f2, 0(r4) /* 801C9510 001C6470 EC A1 00 28 */ fsubs f5, f1, f0 /* 801C9514 001C6474 C0 25 00 00 */ lfs f1, 0(r5) /* 801C9518 001C6478 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801C951C 001C647C EC 62 08 28 */ fsubs f3, f2, f1 /* 801C9520 001C6480 C0 84 00 08 */ lfs f4, 8(r4) /* 801C9524 001C6484 EC 05 00 32 */ fmuls f0, f5, f0 /* 801C9528 001C6488 C0 45 00 08 */ lfs f2, 8(r5) /* 801C952C 001C648C C0 23 00 18 */ lfs f1, 0x18(r3) /* 801C9530 001C6490 EC 84 10 28 */ fsubs f4, f4, f2 /* 801C9534 001C6494 C0 43 00 20 */ lfs f2, 0x20(r3) /* 801C9538 001C6498 EC 03 00 7A */ fmadds f0, f3, f1, f0 /* 801C953C 001C649C C0 24 00 08 */ lfs f1, 8(r4) /* 801C9540 001C64A0 D0 61 00 08 */ stfs f3, 8(r1) /* 801C9544 001C64A4 EC 04 00 BA */ fmadds f0, f4, f2, f0 /* 801C9548 001C64A8 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801C954C 001C64AC D0 81 00 10 */ stfs f4, 0x10(r1) /* 801C9550 001C64B0 EC 00 10 24 */ fdivs f0, f0, f2 /* 801C9554 001C64B4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801C9558 001C64B8 D0 04 00 08 */ stfs f0, 8(r4) /* 801C955C 001C64BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801C9560 001C64C0 4E 80 00 20 */ blr .global SetLinkTo__9CPFRegionFi SetLinkTo__9CPFRegionFi: /* 801C9564 001C64C4 80 03 00 08 */ lwz r0, 8(r3) /* 801C9568 001C64C8 38 E0 00 00 */ li r7, 0 /* 801C956C 001C64CC 38 C0 00 00 */ li r6, 0 /* 801C9570 001C64D0 7C 09 03 A6 */ mtctr r0 /* 801C9574 001C64D4 2C 00 00 00 */ cmpwi r0, 0 /* 801C9578 001C64D8 4C 81 00 20 */ blelr lbl_801C957C: /* 801C957C 001C64DC 80 A3 00 0C */ lwz r5, 0xc(r3) /* 801C9580 001C64E0 38 06 00 04 */ addi r0, r6, 4 /* 801C9584 001C64E4 7C 05 00 2E */ lwzx r0, r5, r0 /* 801C9588 001C64E8 7C 04 00 00 */ cmpw r4, r0 /* 801C958C 001C64EC 40 82 00 10 */ bne lbl_801C959C /* 801C9590 001C64F0 80 63 00 4C */ lwz r3, 0x4c(r3) /* 801C9594 001C64F4 90 E3 00 2C */ stw r7, 0x2c(r3) /* 801C9598 001C64F8 4E 80 00 20 */ blr lbl_801C959C: /* 801C959C 001C64FC 38 C6 00 10 */ addi r6, r6, 0x10 /* 801C95A0 001C6500 38 E7 00 01 */ addi r7, r7, 1 /* 801C95A4 001C6504 42 00 FF D8 */ bdnz lbl_801C957C .global sub_801c95a8 sub_801c95a8: /* 801C95A8 001C6508 4E 80 00 20 */ blr .global "FindBestPoint__9CPFRegionFRQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fUif" "FindBestPoint__9CPFRegionFRQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fUif": /* 801C95AC 001C650C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801C95B0 001C6510 7C 08 02 A6 */ mflr r0 /* 801C95B4 001C6514 90 01 00 74 */ stw r0, 0x74(r1) /* 801C95B8 001C6518 BE E1 00 4C */ stmw r23, 0x4c(r1) /* 801C95BC 001C651C 7C 7C 1B 78 */ mr r28, r3 /* 801C95C0 001C6520 54 D8 07 BD */ rlwinm. r24, r6, 0, 0x1e, 0x1e /* 801C95C4 001C6524 7C 9D 23 78 */ mr r29, r4 /* 801C95C8 001C6528 7C BE 2B 78 */ mr r30, r5 /* 801C95CC 001C652C 3B E0 00 00 */ li r31, 0 /* 801C95D0 001C6530 80 63 00 4C */ lwz r3, 0x4c(r3) /* 801C95D4 001C6534 D0 23 00 00 */ stfs f1, 0(r3) /* 801C95D8 001C6538 40 82 02 64 */ bne lbl_801C983C /* 801C95DC 001C653C 3A E0 00 00 */ li r23, 0 /* 801C95E0 001C6540 3B 20 00 00 */ li r25, 0 /* 801C95E4 001C6544 48 00 02 4C */ b lbl_801C9830 lbl_801C95E8: /* 801C95E8 001C6548 38 97 00 01 */ addi r4, r23, 1 /* 801C95EC 001C654C 80 FD 00 0C */ lwz r7, 0xc(r29) /* 801C95F0 001C6550 7C 64 2B D6 */ divw r3, r4, r5 /* 801C95F4 001C6554 80 1D 00 04 */ lwz r0, 4(r29) /* 801C95F8 001C6558 80 DC 00 04 */ lwz r6, 4(r28) /* 801C95FC 001C655C 90 E1 00 2C */ stw r7, 0x2c(r1) /* 801C9600 001C6560 7F 66 CA 14 */ add r27, r6, r25 /* 801C9604 001C6564 90 E1 00 28 */ stw r7, 0x28(r1) /* 801C9608 001C6568 7C 63 29 D6 */ mullw r3, r3, r5 /* 801C960C 001C656C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C9610 001C6570 7C 63 20 50 */ subf r3, r3, r4 /* 801C9614 001C6574 7C 07 02 14 */ add r0, r7, r0 /* 801C9618 001C6578 1C 63 00 18 */ mulli r3, r3, 0x18 /* 801C961C 001C657C 90 01 00 34 */ stw r0, 0x34(r1) /* 801C9620 001C6580 90 01 00 30 */ stw r0, 0x30(r1) /* 801C9624 001C6584 7F 46 1A 14 */ add r26, r6, r3 /* 801C9628 001C6588 48 00 00 08 */ b lbl_801C9630 lbl_801C962C: /* 801C962C 001C658C 38 E7 00 0C */ addi r7, r7, 0xc lbl_801C9630: /* 801C9630 001C6590 7C 07 00 40 */ cmplw r7, r0 /* 801C9634 001C6594 40 82 FF F8 */ bne lbl_801C962C /* 801C9638 001C6598 38 00 00 00 */ li r0, 0 /* 801C963C 001C659C 90 1D 00 04 */ stw r0, 4(r29) /* 801C9640 001C65A0 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9644 001C65A4 80 BD 00 08 */ lwz r5, 8(r29) /* 801C9648 001C65A8 7C 00 28 00 */ cmpw r0, r5 /* 801C964C 001C65AC 41 80 00 1C */ blt lbl_801C9668 /* 801C9650 001C65B0 2C 05 00 00 */ cmpwi r5, 0 /* 801C9654 001C65B4 7F A3 EB 78 */ mr r3, r29 /* 801C9658 001C65B8 38 80 00 04 */ li r4, 4 /* 801C965C 001C65BC 41 82 00 08 */ beq lbl_801C9664 /* 801C9660 001C65C0 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C9664: /* 801C9664 001C65C4 4B E9 46 95 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_801C9668: /* 801C9668 001C65C8 80 1D 00 04 */ lwz r0, 4(r29) /* 801C966C 001C65CC 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C9670 001C65D0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C9674 001C65D4 7C 63 02 15 */ add. r3, r3, r0 /* 801C9678 001C65D8 41 82 00 1C */ beq lbl_801C9694 /* 801C967C 001C65DC C0 1B 00 00 */ lfs f0, 0(r27) /* 801C9680 001C65E0 D0 03 00 00 */ stfs f0, 0(r3) /* 801C9684 001C65E4 C0 1B 00 04 */ lfs f0, 4(r27) /* 801C9688 001C65E8 D0 03 00 04 */ stfs f0, 4(r3) /* 801C968C 001C65EC C0 1B 00 08 */ lfs f0, 8(r27) /* 801C9690 001C65F0 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C9694: /* 801C9694 001C65F4 80 7D 00 04 */ lwz r3, 4(r29) /* 801C9698 001C65F8 38 03 00 01 */ addi r0, r3, 1 /* 801C969C 001C65FC 90 1D 00 04 */ stw r0, 4(r29) /* 801C96A0 001C6600 80 1D 00 04 */ lwz r0, 4(r29) /* 801C96A4 001C6604 80 BD 00 08 */ lwz r5, 8(r29) /* 801C96A8 001C6608 7C 00 28 00 */ cmpw r0, r5 /* 801C96AC 001C660C 41 80 00 1C */ blt lbl_801C96C8 /* 801C96B0 001C6610 2C 05 00 00 */ cmpwi r5, 0 /* 801C96B4 001C6614 7F A3 EB 78 */ mr r3, r29 /* 801C96B8 001C6618 38 80 00 04 */ li r4, 4 /* 801C96BC 001C661C 41 82 00 08 */ beq lbl_801C96C4 /* 801C96C0 001C6620 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C96C4: /* 801C96C4 001C6624 4B E9 46 35 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_801C96C8: /* 801C96C8 001C6628 80 1D 00 04 */ lwz r0, 4(r29) /* 801C96CC 001C662C 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C96D0 001C6630 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C96D4 001C6634 7C 63 02 15 */ add. r3, r3, r0 /* 801C96D8 001C6638 41 82 00 1C */ beq lbl_801C96F4 /* 801C96DC 001C663C C0 1B 00 00 */ lfs f0, 0(r27) /* 801C96E0 001C6640 D0 03 00 00 */ stfs f0, 0(r3) /* 801C96E4 001C6644 C0 1B 00 04 */ lfs f0, 4(r27) /* 801C96E8 001C6648 D0 03 00 04 */ stfs f0, 4(r3) /* 801C96EC 001C664C C0 1B 00 08 */ lfs f0, 8(r27) /* 801C96F0 001C6650 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C96F4: /* 801C96F4 001C6654 80 7D 00 04 */ lwz r3, 4(r29) /* 801C96F8 001C6658 38 03 00 01 */ addi r0, r3, 1 /* 801C96FC 001C665C 90 1D 00 04 */ stw r0, 4(r29) /* 801C9700 001C6660 80 7D 00 04 */ lwz r3, 4(r29) /* 801C9704 001C6664 80 9D 00 0C */ lwz r4, 0xc(r29) /* 801C9708 001C6668 38 03 FF FF */ addi r0, r3, -1 /* 801C970C 001C666C C0 1C 00 14 */ lfs f0, 0x14(r28) /* 801C9710 001C6670 1C 60 00 0C */ mulli r3, r0, 0xc /* 801C9714 001C6674 38 03 00 08 */ addi r0, r3, 8 /* 801C9718 001C6678 7C 24 04 2E */ lfsx f1, r4, r0 /* 801C971C 001C667C EC 01 00 2A */ fadds f0, f1, f0 /* 801C9720 001C6680 7C 04 05 2E */ stfsx f0, r4, r0 /* 801C9724 001C6684 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9728 001C6688 80 BD 00 08 */ lwz r5, 8(r29) /* 801C972C 001C668C 7C 00 28 00 */ cmpw r0, r5 /* 801C9730 001C6690 41 80 00 1C */ blt lbl_801C974C /* 801C9734 001C6694 2C 05 00 00 */ cmpwi r5, 0 /* 801C9738 001C6698 7F A3 EB 78 */ mr r3, r29 /* 801C973C 001C669C 38 80 00 04 */ li r4, 4 /* 801C9740 001C66A0 41 82 00 08 */ beq lbl_801C9748 /* 801C9744 001C66A4 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C9748: /* 801C9748 001C66A8 4B E9 45 B1 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_801C974C: /* 801C974C 001C66AC 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9750 001C66B0 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C9754 001C66B4 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C9758 001C66B8 7C 63 02 15 */ add. r3, r3, r0 /* 801C975C 001C66BC 41 82 00 1C */ beq lbl_801C9778 /* 801C9760 001C66C0 C0 1A 00 00 */ lfs f0, 0(r26) /* 801C9764 001C66C4 D0 03 00 00 */ stfs f0, 0(r3) /* 801C9768 001C66C8 C0 1A 00 04 */ lfs f0, 4(r26) /* 801C976C 001C66CC D0 03 00 04 */ stfs f0, 4(r3) /* 801C9770 001C66D0 C0 1A 00 08 */ lfs f0, 8(r26) /* 801C9774 001C66D4 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C9778: /* 801C9778 001C66D8 80 7D 00 04 */ lwz r3, 4(r29) /* 801C977C 001C66DC 38 03 00 01 */ addi r0, r3, 1 /* 801C9780 001C66E0 90 1D 00 04 */ stw r0, 4(r29) /* 801C9784 001C66E4 80 7D 00 04 */ lwz r3, 4(r29) /* 801C9788 001C66E8 80 9D 00 0C */ lwz r4, 0xc(r29) /* 801C978C 001C66EC 38 03 FF FF */ addi r0, r3, -1 /* 801C9790 001C66F0 C0 1C 00 14 */ lfs f0, 0x14(r28) /* 801C9794 001C66F4 1C 60 00 0C */ mulli r3, r0, 0xc /* 801C9798 001C66F8 38 03 00 08 */ addi r0, r3, 8 /* 801C979C 001C66FC 7C 24 04 2E */ lfsx f1, r4, r0 /* 801C97A0 001C6700 EC 01 00 2A */ fadds f0, f1, f0 /* 801C97A4 001C6704 7C 04 05 2E */ stfsx f0, r4, r0 /* 801C97A8 001C6708 80 1D 00 04 */ lwz r0, 4(r29) /* 801C97AC 001C670C 80 BD 00 08 */ lwz r5, 8(r29) /* 801C97B0 001C6710 7C 00 28 00 */ cmpw r0, r5 /* 801C97B4 001C6714 41 80 00 1C */ blt lbl_801C97D0 /* 801C97B8 001C6718 2C 05 00 00 */ cmpwi r5, 0 /* 801C97BC 001C671C 7F A3 EB 78 */ mr r3, r29 /* 801C97C0 001C6720 38 80 00 04 */ li r4, 4 /* 801C97C4 001C6724 41 82 00 08 */ beq lbl_801C97CC /* 801C97C8 001C6728 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C97CC: /* 801C97CC 001C672C 4B E9 45 2D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_801C97D0: /* 801C97D0 001C6730 80 1D 00 04 */ lwz r0, 4(r29) /* 801C97D4 001C6734 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C97D8 001C6738 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C97DC 001C673C 7C 63 02 15 */ add. r3, r3, r0 /* 801C97E0 001C6740 41 82 00 1C */ beq lbl_801C97FC /* 801C97E4 001C6744 C0 1A 00 00 */ lfs f0, 0(r26) /* 801C97E8 001C6748 D0 03 00 00 */ stfs f0, 0(r3) /* 801C97EC 001C674C C0 1A 00 04 */ lfs f0, 4(r26) /* 801C97F0 001C6750 D0 03 00 04 */ stfs f0, 4(r3) /* 801C97F4 001C6754 C0 1A 00 08 */ lfs f0, 8(r26) /* 801C97F8 001C6758 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C97FC: /* 801C97FC 001C675C 80 BD 00 04 */ lwz r5, 4(r29) /* 801C9800 001C6760 7F 83 E3 78 */ mr r3, r28 /* 801C9804 001C6764 7F A4 EB 78 */ mr r4, r29 /* 801C9808 001C6768 7F C6 F3 78 */ mr r6, r30 /* 801C980C 001C676C 38 05 00 01 */ addi r0, r5, 1 /* 801C9810 001C6770 38 BB 00 0C */ addi r5, r27, 0xc /* 801C9814 001C6774 90 1D 00 04 */ stw r0, 4(r29) /* 801C9818 001C6778 38 E0 00 01 */ li r7, 1 /* 801C981C 001C677C 48 00 02 45 */ bl "FindClosestPointOnPolygon__9CPFRegionFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fRC9CVector3fb" /* 801C9820 001C6780 7F E0 1B 78 */ or r0, r31, r3 /* 801C9824 001C6784 3A F7 00 01 */ addi r23, r23, 1 /* 801C9828 001C6788 54 1F 06 3E */ clrlwi r31, r0, 0x18 /* 801C982C 001C678C 3B 39 00 18 */ addi r25, r25, 0x18 lbl_801C9830: /* 801C9830 001C6790 80 BC 00 00 */ lwz r5, 0(r28) /* 801C9834 001C6794 7C 17 28 00 */ cmpw r23, r5 /* 801C9838 001C6798 41 80 FD B0 */ blt lbl_801C95E8 lbl_801C983C: /* 801C983C 001C679C 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9840 001C67A0 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C9844 001C67A4 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C9848 001C67A8 90 61 00 1C */ stw r3, 0x1c(r1) /* 801C984C 001C67AC 7C 03 02 14 */ add r0, r3, r0 /* 801C9850 001C67B0 90 61 00 18 */ stw r3, 0x18(r1) /* 801C9854 001C67B4 90 01 00 24 */ stw r0, 0x24(r1) /* 801C9858 001C67B8 90 01 00 20 */ stw r0, 0x20(r1) /* 801C985C 001C67BC 48 00 00 08 */ b lbl_801C9864 lbl_801C9860: /* 801C9860 001C67C0 38 63 00 0C */ addi r3, r3, 0xc lbl_801C9864: /* 801C9864 001C67C4 7C 03 00 40 */ cmplw r3, r0 /* 801C9868 001C67C8 40 82 FF F8 */ bne lbl_801C9860 /* 801C986C 001C67CC 3B 40 00 00 */ li r26, 0 /* 801C9870 001C67D0 93 5D 00 04 */ stw r26, 4(r29) /* 801C9874 001C67D4 7F 59 D3 78 */ mr r25, r26 /* 801C9878 001C67D8 48 00 00 74 */ b lbl_801C98EC lbl_801C987C: /* 801C987C 001C67DC 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9880 001C67E0 80 BD 00 08 */ lwz r5, 8(r29) /* 801C9884 001C67E4 80 7C 00 04 */ lwz r3, 4(r28) /* 801C9888 001C67E8 7C 00 28 00 */ cmpw r0, r5 /* 801C988C 001C67EC 7E E3 CA 14 */ add r23, r3, r25 /* 801C9890 001C67F0 41 80 00 1C */ blt lbl_801C98AC /* 801C9894 001C67F4 2C 05 00 00 */ cmpwi r5, 0 /* 801C9898 001C67F8 7F A3 EB 78 */ mr r3, r29 /* 801C989C 001C67FC 38 80 00 04 */ li r4, 4 /* 801C98A0 001C6800 41 82 00 08 */ beq lbl_801C98A8 /* 801C98A4 001C6804 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C98A8: /* 801C98A8 001C6808 4B E9 44 51 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_801C98AC: /* 801C98AC 001C680C 80 1D 00 04 */ lwz r0, 4(r29) /* 801C98B0 001C6810 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C98B4 001C6814 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C98B8 001C6818 7C 63 02 15 */ add. r3, r3, r0 /* 801C98BC 001C681C 41 82 00 1C */ beq lbl_801C98D8 /* 801C98C0 001C6820 C0 17 00 00 */ lfs f0, 0(r23) /* 801C98C4 001C6824 D0 03 00 00 */ stfs f0, 0(r3) /* 801C98C8 001C6828 C0 17 00 04 */ lfs f0, 4(r23) /* 801C98CC 001C682C D0 03 00 04 */ stfs f0, 4(r3) /* 801C98D0 001C6830 C0 17 00 08 */ lfs f0, 8(r23) /* 801C98D4 001C6834 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C98D8: /* 801C98D8 001C6838 80 7D 00 04 */ lwz r3, 4(r29) /* 801C98DC 001C683C 3B 39 00 18 */ addi r25, r25, 0x18 /* 801C98E0 001C6840 3B 5A 00 01 */ addi r26, r26, 1 /* 801C98E4 001C6844 38 03 00 01 */ addi r0, r3, 1 /* 801C98E8 001C6848 90 1D 00 04 */ stw r0, 4(r29) lbl_801C98EC: /* 801C98EC 001C684C 80 1C 00 00 */ lwz r0, 0(r28) /* 801C98F0 001C6850 7C 1A 00 00 */ cmpw r26, r0 /* 801C98F4 001C6854 41 80 FF 88 */ blt lbl_801C987C /* 801C98F8 001C6858 7F 83 E3 78 */ mr r3, r28 /* 801C98FC 001C685C 7F A4 EB 78 */ mr r4, r29 /* 801C9900 001C6860 7F C6 F3 78 */ mr r6, r30 /* 801C9904 001C6864 38 BC 00 18 */ addi r5, r28, 0x18 /* 801C9908 001C6868 38 E0 00 00 */ li r7, 0 /* 801C990C 001C686C 48 00 01 55 */ bl "FindClosestPointOnPolygon__9CPFRegionFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fRC9CVector3fb" /* 801C9910 001C6870 28 18 00 00 */ cmplwi r24, 0 /* 801C9914 001C6874 7F E0 1B 78 */ or r0, r31, r3 /* 801C9918 001C6878 54 18 06 3E */ clrlwi r24, r0, 0x18 /* 801C991C 001C687C 40 82 01 2C */ bne lbl_801C9A48 /* 801C9920 001C6880 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9924 001C6884 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C9928 001C6888 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C992C 001C688C 90 61 00 0C */ stw r3, 0xc(r1) /* 801C9930 001C6890 7C 03 02 14 */ add r0, r3, r0 /* 801C9934 001C6894 90 61 00 08 */ stw r3, 8(r1) /* 801C9938 001C6898 90 01 00 14 */ stw r0, 0x14(r1) /* 801C993C 001C689C 90 01 00 10 */ stw r0, 0x10(r1) /* 801C9940 001C68A0 48 00 00 08 */ b lbl_801C9948 lbl_801C9944: /* 801C9944 001C68A4 38 63 00 0C */ addi r3, r3, 0xc lbl_801C9948: /* 801C9948 001C68A8 7C 03 00 40 */ cmplw r3, r0 /* 801C994C 001C68AC 40 82 FF F8 */ bne lbl_801C9944 /* 801C9950 001C68B0 38 00 00 00 */ li r0, 0 /* 801C9954 001C68B4 90 1D 00 04 */ stw r0, 4(r29) /* 801C9958 001C68B8 80 7C 00 00 */ lwz r3, 0(r28) /* 801C995C 001C68BC 3B 43 FF FF */ addi r26, r3, -1 /* 801C9960 001C68C0 1F 3A 00 18 */ mulli r25, r26, 0x18 /* 801C9964 001C68C4 48 00 00 98 */ b lbl_801C99FC lbl_801C9968: /* 801C9968 001C68C8 80 1D 00 04 */ lwz r0, 4(r29) /* 801C996C 001C68CC 80 BD 00 08 */ lwz r5, 8(r29) /* 801C9970 001C68D0 80 7C 00 04 */ lwz r3, 4(r28) /* 801C9974 001C68D4 7C 00 28 00 */ cmpw r0, r5 /* 801C9978 001C68D8 7E E3 CA 14 */ add r23, r3, r25 /* 801C997C 001C68DC 41 80 00 1C */ blt lbl_801C9998 /* 801C9980 001C68E0 2C 05 00 00 */ cmpwi r5, 0 /* 801C9984 001C68E4 7F A3 EB 78 */ mr r3, r29 /* 801C9988 001C68E8 38 80 00 04 */ li r4, 4 /* 801C998C 001C68EC 41 82 00 08 */ beq lbl_801C9994 /* 801C9990 001C68F0 54 A4 08 3C */ slwi r4, r5, 1 lbl_801C9994: /* 801C9994 001C68F4 4B E9 43 65 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_801C9998: /* 801C9998 001C68F8 80 1D 00 04 */ lwz r0, 4(r29) /* 801C999C 001C68FC 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801C99A0 001C6900 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C99A4 001C6904 7C 63 02 15 */ add. r3, r3, r0 /* 801C99A8 001C6908 41 82 00 1C */ beq lbl_801C99C4 /* 801C99AC 001C690C C0 17 00 00 */ lfs f0, 0(r23) /* 801C99B0 001C6910 D0 03 00 00 */ stfs f0, 0(r3) /* 801C99B4 001C6914 C0 17 00 04 */ lfs f0, 4(r23) /* 801C99B8 001C6918 D0 03 00 04 */ stfs f0, 4(r3) /* 801C99BC 001C691C C0 17 00 08 */ lfs f0, 8(r23) /* 801C99C0 001C6920 D0 03 00 08 */ stfs f0, 8(r3) lbl_801C99C4: /* 801C99C4 001C6924 80 7D 00 04 */ lwz r3, 4(r29) /* 801C99C8 001C6928 3B 39 FF E8 */ addi r25, r25, -24 /* 801C99CC 001C692C 3B 5A FF FF */ addi r26, r26, -1 /* 801C99D0 001C6930 38 03 00 01 */ addi r0, r3, 1 /* 801C99D4 001C6934 90 1D 00 04 */ stw r0, 4(r29) /* 801C99D8 001C6938 80 7D 00 04 */ lwz r3, 4(r29) /* 801C99DC 001C693C 80 9D 00 0C */ lwz r4, 0xc(r29) /* 801C99E0 001C6940 38 03 FF FF */ addi r0, r3, -1 /* 801C99E4 001C6944 C0 1C 00 14 */ lfs f0, 0x14(r28) /* 801C99E8 001C6948 1C 60 00 0C */ mulli r3, r0, 0xc /* 801C99EC 001C694C 38 03 00 08 */ addi r0, r3, 8 /* 801C99F0 001C6950 7C 24 04 2E */ lfsx f1, r4, r0 /* 801C99F4 001C6954 EC 01 00 2A */ fadds f0, f1, f0 /* 801C99F8 001C6958 7C 04 05 2E */ stfsx f0, r4, r0 lbl_801C99FC: /* 801C99FC 001C695C 2C 1A 00 00 */ cmpwi r26, 0 /* 801C9A00 001C6960 40 80 FF 68 */ bge lbl_801C9968 /* 801C9A04 001C6964 C0 5C 00 20 */ lfs f2, 0x20(r28) /* 801C9A08 001C6968 7F 83 E3 78 */ mr r3, r28 /* 801C9A0C 001C696C C0 3C 00 1C */ lfs f1, 0x1c(r28) /* 801C9A10 001C6970 7F A4 EB 78 */ mr r4, r29 /* 801C9A14 001C6974 C0 1C 00 18 */ lfs f0, 0x18(r28) /* 801C9A18 001C6978 FC 40 10 50 */ fneg f2, f2 /* 801C9A1C 001C697C FC 20 08 50 */ fneg f1, f1 /* 801C9A20 001C6980 7F C6 F3 78 */ mr r6, r30 /* 801C9A24 001C6984 FC 00 00 50 */ fneg f0, f0 /* 801C9A28 001C6988 38 A1 00 38 */ addi r5, r1, 0x38 /* 801C9A2C 001C698C D0 41 00 40 */ stfs f2, 0x40(r1) /* 801C9A30 001C6990 38 E0 00 00 */ li r7, 0 /* 801C9A34 001C6994 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801C9A38 001C6998 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801C9A3C 001C699C 48 00 00 25 */ bl "FindClosestPointOnPolygon__9CPFRegionFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fRC9CVector3fb" /* 801C9A40 001C69A0 7F 00 1B 78 */ or r0, r24, r3 /* 801C9A44 001C69A4 54 18 06 3E */ clrlwi r24, r0, 0x18 lbl_801C9A48: /* 801C9A48 001C69A8 7F 03 C3 78 */ mr r3, r24 /* 801C9A4C 001C69AC BA E1 00 4C */ lmw r23, 0x4c(r1) /* 801C9A50 001C69B0 80 01 00 74 */ lwz r0, 0x74(r1) /* 801C9A54 001C69B4 7C 08 03 A6 */ mtlr r0 /* 801C9A58 001C69B8 38 21 00 70 */ addi r1, r1, 0x70 /* 801C9A5C 001C69BC 4E 80 00 20 */ blr .global "FindClosestPointOnPolygon__9CPFRegionFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fRC9CVector3fb" "FindClosestPointOnPolygon__9CPFRegionFRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fRC9CVector3fb": /* 801C9A60 001C69C0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801C9A64 001C69C4 7C 08 02 A6 */ mflr r0 /* 801C9A68 001C69C8 90 01 00 74 */ stw r0, 0x74(r1) /* 801C9A6C 001C69CC DB E1 00 60 */ stfd f31, 0x60(r1) /* 801C9A70 001C69D0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801C9A74 001C69D4 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801C9A78 001C69D8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801C9A7C 001C69DC DB A1 00 40 */ stfd f29, 0x40(r1) /* 801C9A80 001C69E0 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801C9A84 001C69E4 BF 21 00 24 */ stmw r25, 0x24(r1) /* 801C9A88 001C69E8 7C 9A 23 78 */ mr r26, r4 /* 801C9A8C 001C69EC 7C 79 1B 78 */ mr r25, r3 /* 801C9A90 001C69F0 83 E4 00 04 */ lwz r31, 4(r4) /* 801C9A94 001C69F4 7C DB 33 78 */ mr r27, r6 /* 801C9A98 001C69F8 7C FC 3B 78 */ mr r28, r7 /* 801C9A9C 001C69FC C0 02 AB 4C */ lfs f0, lbl_805AC86C@sda21(r2) /* 801C9AA0 001C6A00 3B C0 00 00 */ li r30, 0 /* 801C9AA4 001C6A04 39 00 00 00 */ li r8, 0 /* 801C9AA8 001C6A08 38 80 00 00 */ li r4, 0 /* 801C9AAC 001C6A0C 7F E9 03 A6 */ mtctr r31 /* 801C9AB0 001C6A10 2C 1F 00 00 */ cmpwi r31, 0 /* 801C9AB4 001C6A14 40 81 00 A4 */ ble lbl_801C9B58 lbl_801C9AB8: /* 801C9AB8 001C6A18 38 68 00 01 */ addi r3, r8, 1 /* 801C9ABC 001C6A1C 80 FA 00 0C */ lwz r7, 0xc(r26) /* 801C9AC0 001C6A20 7C 03 FB D6 */ divw r0, r3, r31 /* 801C9AC4 001C6A24 C1 85 00 08 */ lfs f12, 8(r5) /* 801C9AC8 001C6A28 7C C7 22 14 */ add r6, r7, r4 /* 801C9ACC 001C6A2C C1 45 00 00 */ lfs f10, 0(r5) /* 801C9AD0 001C6A30 C1 06 00 00 */ lfs f8, 0(r6) /* 801C9AD4 001C6A34 C0 3B 00 00 */ lfs f1, 0(r27) /* 801C9AD8 001C6A38 7C 00 F9 D6 */ mullw r0, r0, r31 /* 801C9ADC 001C6A3C C0 A6 00 08 */ lfs f5, 8(r6) /* 801C9AE0 001C6A40 C0 7B 00 08 */ lfs f3, 8(r27) /* 801C9AE4 001C6A44 EC 81 40 28 */ fsubs f4, f1, f8 /* 801C9AE8 001C6A48 C0 E6 00 04 */ lfs f7, 4(r6) /* 801C9AEC 001C6A4C C0 3B 00 04 */ lfs f1, 4(r27) /* 801C9AF0 001C6A50 7C 00 18 50 */ subf r0, r0, r3 /* 801C9AF4 001C6A54 C1 65 00 04 */ lfs f11, 4(r5) /* 801C9AF8 001C6A58 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C9AFC 001C6A5C EC 41 38 28 */ fsubs f2, f1, f7 /* 801C9B00 001C6A60 EC C3 28 28 */ fsubs f6, f3, f5 /* 801C9B04 001C6A64 7C 67 02 14 */ add r3, r7, r0 /* 801C9B08 001C6A68 C0 63 00 00 */ lfs f3, 0(r3) /* 801C9B0C 001C6A6C C0 23 00 08 */ lfs f1, 8(r3) /* 801C9B10 001C6A70 ED 23 40 28 */ fsubs f9, f3, f8 /* 801C9B14 001C6A74 C0 63 00 04 */ lfs f3, 4(r3) /* 801C9B18 001C6A78 ED 01 28 28 */ fsubs f8, f1, f5 /* 801C9B1C 001C6A7C EC E3 38 28 */ fsubs f7, f3, f7 /* 801C9B20 001C6A80 EC 2C 02 72 */ fmuls f1, f12, f9 /* 801C9B24 001C6A84 EC 6B 02 32 */ fmuls f3, f11, f8 /* 801C9B28 001C6A88 EC AA 01 F2 */ fmuls f5, f10, f7 /* 801C9B2C 001C6A8C EC 28 0A B8 */ fmsubs f1, f8, f10, f1 /* 801C9B30 001C6A90 EC 67 1B 38 */ fmsubs f3, f7, f12, f3 /* 801C9B34 001C6A94 EC A9 2A F8 */ fmsubs f5, f9, f11, f5 /* 801C9B38 001C6A98 EC 22 00 72 */ fmuls f1, f2, f1 /* 801C9B3C 001C6A9C EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801C9B40 001C6AA0 EC 26 09 7A */ fmadds f1, f6, f5, f1 /* 801C9B44 001C6AA4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C9B48 001C6AA8 41 80 00 10 */ blt lbl_801C9B58 /* 801C9B4C 001C6AAC 38 84 00 0C */ addi r4, r4, 0xc /* 801C9B50 001C6AB0 39 08 00 01 */ addi r8, r8, 1 /* 801C9B54 001C6AB4 42 00 FF 64 */ bdnz lbl_801C9AB8 lbl_801C9B58: /* 801C9B58 001C6AB8 7C 08 F8 00 */ cmpw r8, r31 /* 801C9B5C 001C6ABC 40 82 00 A4 */ bne lbl_801C9C00 /* 801C9B60 001C6AC0 80 7A 00 0C */ lwz r3, 0xc(r26) /* 801C9B64 001C6AC4 80 99 00 4C */ lwz r4, 0x4c(r25) /* 801C9B68 001C6AC8 C0 23 00 04 */ lfs f1, 4(r3) /* 801C9B6C 001C6ACC C0 1B 00 04 */ lfs f0, 4(r27) /* 801C9B70 001C6AD0 C0 63 00 00 */ lfs f3, 0(r3) /* 801C9B74 001C6AD4 C0 5B 00 00 */ lfs f2, 0(r27) /* 801C9B78 001C6AD8 EC 21 00 28 */ fsubs f1, f1, f0 /* 801C9B7C 001C6ADC C0 05 00 04 */ lfs f0, 4(r5) /* 801C9B80 001C6AE0 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C9B84 001C6AE4 C0 83 00 08 */ lfs f4, 8(r3) /* 801C9B88 001C6AE8 C0 7B 00 08 */ lfs f3, 8(r27) /* 801C9B8C 001C6AEC EC 01 00 32 */ fmuls f0, f1, f0 /* 801C9B90 001C6AF0 C0 25 00 00 */ lfs f1, 0(r5) /* 801C9B94 001C6AF4 EC 64 18 28 */ fsubs f3, f4, f3 /* 801C9B98 001C6AF8 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 801C9B9C 001C6AFC C0 45 00 08 */ lfs f2, 8(r5) /* 801C9BA0 001C6B00 C0 04 00 00 */ lfs f0, 0(r4) /* 801C9BA4 001C6B04 EC A3 08 BA */ fmadds f5, f3, f2, f1 /* 801C9BA8 001C6B08 EC 25 01 72 */ fmuls f1, f5, f5 /* 801C9BAC 001C6B0C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C9BB0 001C6B10 40 80 02 7C */ bge lbl_801C9E2C /* 801C9BB4 001C6B14 D0 24 00 00 */ stfs f1, 0(r4) /* 801C9BB8 001C6B18 3B C0 00 01 */ li r30, 1 /* 801C9BBC 001C6B1C C0 05 00 00 */ lfs f0, 0(r5) /* 801C9BC0 001C6B20 C0 65 00 04 */ lfs f3, 4(r5) /* 801C9BC4 001C6B24 EC 05 00 32 */ fmuls f0, f5, f0 /* 801C9BC8 001C6B28 C0 3B 00 00 */ lfs f1, 0(r27) /* 801C9BCC 001C6B2C C0 45 00 08 */ lfs f2, 8(r5) /* 801C9BD0 001C6B30 EC 65 00 F2 */ fmuls f3, f5, f3 /* 801C9BD4 001C6B34 C0 9B 00 04 */ lfs f4, 4(r27) /* 801C9BD8 001C6B38 EC 01 00 2A */ fadds f0, f1, f0 /* 801C9BDC 001C6B3C EC 25 00 B2 */ fmuls f1, f5, f2 /* 801C9BE0 001C6B40 C0 5B 00 08 */ lfs f2, 8(r27) /* 801C9BE4 001C6B44 80 79 00 4C */ lwz r3, 0x4c(r25) /* 801C9BE8 001C6B48 EC 64 18 2A */ fadds f3, f4, f3 /* 801C9BEC 001C6B4C D0 03 00 04 */ stfs f0, 4(r3) /* 801C9BF0 001C6B50 EC 02 08 2A */ fadds f0, f2, f1 /* 801C9BF4 001C6B54 D0 63 00 08 */ stfs f3, 8(r3) /* 801C9BF8 001C6B58 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801C9BFC 001C6B5C 48 00 02 30 */ b lbl_801C9E2C lbl_801C9C00: /* 801C9C00 001C6B60 39 00 00 00 */ li r8, 0 /* 801C9C04 001C6B64 C0 22 AB 4C */ lfs f1, lbl_805AC86C@sda21(r2) /* 801C9C08 001C6B68 7D 06 43 78 */ mr r6, r8 /* 801C9C0C 001C6B6C 3B A0 00 00 */ li r29, 0 /* 801C9C10 001C6B70 7F E9 03 A6 */ mtctr r31 /* 801C9C14 001C6B74 2C 1F 00 00 */ cmpwi r31, 0 /* 801C9C18 001C6B78 40 81 01 78 */ ble lbl_801C9D90 lbl_801C9C1C: /* 801C9C1C 001C6B7C 38 68 00 01 */ addi r3, r8, 1 /* 801C9C20 001C6B80 80 FA 00 0C */ lwz r7, 0xc(r26) /* 801C9C24 001C6B84 7C 03 FB D6 */ divw r0, r3, r31 /* 801C9C28 001C6B88 C3 C5 00 08 */ lfs f30, 8(r5) /* 801C9C2C 001C6B8C 7C 87 32 14 */ add r4, r7, r6 /* 801C9C30 001C6B90 C1 1B 00 04 */ lfs f8, 4(r27) /* 801C9C34 001C6B94 C0 04 00 00 */ lfs f0, 0(r4) /* 801C9C38 001C6B98 C0 44 00 08 */ lfs f2, 8(r4) /* 801C9C3C 001C6B9C 7C 00 F9 D6 */ mullw r0, r0, r31 /* 801C9C40 001C6BA0 C0 64 00 04 */ lfs f3, 4(r4) /* 801C9C44 001C6BA4 C1 A5 00 00 */ lfs f13, 0(r5) /* 801C9C48 001C6BA8 C3 A5 00 04 */ lfs f29, 4(r5) /* 801C9C4C 001C6BAC C1 5B 00 00 */ lfs f10, 0(r27) /* 801C9C50 001C6BB0 C0 DB 00 08 */ lfs f6, 8(r27) /* 801C9C54 001C6BB4 7C 00 18 50 */ subf r0, r0, r3 /* 801C9C58 001C6BB8 1C 00 00 0C */ mulli r0, r0, 0xc /* 801C9C5C 001C6BBC 7C 67 02 14 */ add r3, r7, r0 /* 801C9C60 001C6BC0 C1 23 00 00 */ lfs f9, 0(r3) /* 801C9C64 001C6BC4 C0 A3 00 08 */ lfs f5, 8(r3) /* 801C9C68 001C6BC8 EC 89 00 28 */ fsubs f4, f9, f0 /* 801C9C6C 001C6BCC C0 E3 00 04 */ lfs f7, 4(r3) /* 801C9C70 001C6BD0 ED 65 10 28 */ fsubs f11, f5, f2 /* 801C9C74 001C6BD4 ED 87 18 28 */ fsubs f12, f7, f3 /* 801C9C78 001C6BD8 EC 1E 01 32 */ fmuls f0, f30, f4 /* 801C9C7C 001C6BDC D0 81 00 08 */ stfs f4, 8(r1) /* 801C9C80 001C6BE0 EC 5D 02 F2 */ fmuls f2, f29, f11 /* 801C9C84 001C6BE4 EC E8 38 28 */ fsubs f7, f8, f7 /* 801C9C88 001C6BE8 D1 81 00 0C */ stfs f12, 0xc(r1) /* 801C9C8C 001C6BEC EC 0B 03 78 */ fmsubs f0, f11, f13, f0 /* 801C9C90 001C6BF0 EC 6D 03 32 */ fmuls f3, f13, f12 /* 801C9C94 001C6BF4 D1 61 00 10 */ stfs f11, 0x10(r1) /* 801C9C98 001C6BF8 ED 0A 48 28 */ fsubs f8, f10, f9 /* 801C9C9C 001C6BFC EC 4C 17 B8 */ fmsubs f2, f12, f30, f2 /* 801C9CA0 001C6C00 EC 07 00 32 */ fmuls f0, f7, f0 /* 801C9CA4 001C6C04 EC A6 28 28 */ fsubs f5, f6, f5 /* 801C9CA8 001C6C08 EC 64 1F 78 */ fmsubs f3, f4, f29, f3 /* 801C9CAC 001C6C0C EC 08 00 BA */ fmadds f0, f8, f2, f0 /* 801C9CB0 001C6C10 EC 05 00 FA */ fmadds f0, f5, f3, f0 /* 801C9CB4 001C6C14 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C9CB8 001C6C18 40 80 00 CC */ bge lbl_801C9D84 /* 801C9CBC 001C6C1C EC 07 03 32 */ fmuls f0, f7, f12 /* 801C9CC0 001C6C20 EC 08 01 3A */ fmadds f0, f8, f4, f0 /* 801C9CC4 001C6C24 EC 05 02 FA */ fmadds f0, f5, f11, f0 /* 801C9CC8 001C6C28 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C9CCC 001C6C2C 4C 40 13 82 */ cror 2, 0, 2 /* 801C9CD0 001C6C30 40 82 00 B4 */ bne lbl_801C9D84 /* 801C9CD4 001C6C34 EF C7 60 2A */ fadds f30, f7, f12 /* 801C9CD8 001C6C38 EF E8 20 2A */ fadds f31, f8, f4 /* 801C9CDC 001C6C3C EF A5 58 2A */ fadds f29, f5, f11 /* 801C9CE0 001C6C40 EC 1E 03 32 */ fmuls f0, f30, f12 /* 801C9CE4 001C6C44 EC 1F 01 3A */ fmadds f0, f31, f4, f0 /* 801C9CE8 001C6C48 EC 1D 02 FA */ fmadds f0, f29, f11, f0 /* 801C9CEC 001C6C4C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801C9CF0 001C6C50 4C 41 13 82 */ cror 2, 1, 2 /* 801C9CF4 001C6C54 40 82 00 90 */ bne lbl_801C9D84 /* 801C9CF8 001C6C58 38 61 00 08 */ addi r3, r1, 8 /* 801C9CFC 001C6C5C 3B A0 00 01 */ li r29, 1 /* 801C9D00 001C6C60 48 14 AB F9 */ bl Normalize__9CVector3fFv /* 801C9D04 001C6C64 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801C9D08 001C6C68 80 79 00 4C */ lwz r3, 0x4c(r25) /* 801C9D0C 001C6C6C EC 3E 00 B2 */ fmuls f1, f30, f2 /* 801C9D10 001C6C70 C0 61 00 08 */ lfs f3, 8(r1) /* 801C9D14 001C6C74 C0 81 00 10 */ lfs f4, 0x10(r1) /* 801C9D18 001C6C78 C0 03 00 00 */ lfs f0, 0(r3) /* 801C9D1C 001C6C7C EC 3F 08 FA */ fmadds f1, f31, f3, f1 /* 801C9D20 001C6C80 EC 3D 09 3A */ fmadds f1, f29, f4, f1 /* 801C9D24 001C6C84 EC 41 00 B2 */ fmuls f2, f1, f2 /* 801C9D28 001C6C88 EC 61 00 F2 */ fmuls f3, f1, f3 /* 801C9D2C 001C6C8C EC 21 01 32 */ fmuls f1, f1, f4 /* 801C9D30 001C6C90 EF DE 10 28 */ fsubs f30, f30, f2 /* 801C9D34 001C6C94 EF FF 18 28 */ fsubs f31, f31, f3 /* 801C9D38 001C6C98 EF BD 08 28 */ fsubs f29, f29, f1 /* 801C9D3C 001C6C9C EC 3E 07 B2 */ fmuls f1, f30, f30 /* 801C9D40 001C6CA0 EC 3F 0F FA */ fmadds f1, f31, f31, f1 /* 801C9D44 001C6CA4 EC 3D 0F 7A */ fmadds f1, f29, f29, f1 /* 801C9D48 001C6CA8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C9D4C 001C6CAC 40 80 00 44 */ bge lbl_801C9D90 /* 801C9D50 001C6CB0 D0 23 00 00 */ stfs f1, 0(r3) /* 801C9D54 001C6CB4 3B C0 00 01 */ li r30, 1 /* 801C9D58 001C6CB8 C0 1B 00 00 */ lfs f0, 0(r27) /* 801C9D5C 001C6CBC C0 5B 00 04 */ lfs f2, 4(r27) /* 801C9D60 001C6CC0 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801C9D64 001C6CC4 C0 3B 00 08 */ lfs f1, 8(r27) /* 801C9D68 001C6CC8 80 79 00 4C */ lwz r3, 0x4c(r25) /* 801C9D6C 001C6CCC EC 42 F0 28 */ fsubs f2, f2, f30 /* 801C9D70 001C6CD0 EC 21 E8 28 */ fsubs f1, f1, f29 /* 801C9D74 001C6CD4 D0 03 00 04 */ stfs f0, 4(r3) /* 801C9D78 001C6CD8 D0 43 00 08 */ stfs f2, 8(r3) /* 801C9D7C 001C6CDC D0 23 00 0C */ stfs f1, 0xc(r3) /* 801C9D80 001C6CE0 48 00 00 10 */ b lbl_801C9D90 lbl_801C9D84: /* 801C9D84 001C6CE4 38 C6 00 0C */ addi r6, r6, 0xc /* 801C9D88 001C6CE8 39 08 00 01 */ addi r8, r8, 1 /* 801C9D8C 001C6CEC 42 00 FE 90 */ bdnz lbl_801C9C1C lbl_801C9D90: /* 801C9D90 001C6CF0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801C9D94 001C6CF4 40 82 00 98 */ bne lbl_801C9E2C /* 801C9D98 001C6CF8 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801C9D9C 001C6CFC 40 82 00 90 */ bne lbl_801C9E2C /* 801C9DA0 001C6D00 38 A0 00 00 */ li r5, 0 /* 801C9DA4 001C6D04 7F E9 03 A6 */ mtctr r31 /* 801C9DA8 001C6D08 2C 1F 00 00 */ cmpwi r31, 0 /* 801C9DAC 001C6D0C 40 81 00 80 */ ble lbl_801C9E2C lbl_801C9DB0: /* 801C9DB0 001C6D10 80 1A 00 0C */ lwz r0, 0xc(r26) /* 801C9DB4 001C6D14 80 99 00 4C */ lwz r4, 0x4c(r25) /* 801C9DB8 001C6D18 7C 60 2A 14 */ add r3, r0, r5 /* 801C9DBC 001C6D1C C0 3B 00 04 */ lfs f1, 4(r27) /* 801C9DC0 001C6D20 C0 03 00 04 */ lfs f0, 4(r3) /* 801C9DC4 001C6D24 C0 7B 00 00 */ lfs f3, 0(r27) /* 801C9DC8 001C6D28 EC 81 00 28 */ fsubs f4, f1, f0 /* 801C9DCC 001C6D2C C0 23 00 00 */ lfs f1, 0(r3) /* 801C9DD0 001C6D30 C0 5B 00 08 */ lfs f2, 8(r27) /* 801C9DD4 001C6D34 C0 03 00 08 */ lfs f0, 8(r3) /* 801C9DD8 001C6D38 EC 63 08 28 */ fsubs f3, f3, f1 /* 801C9DDC 001C6D3C EC 24 01 32 */ fmuls f1, f4, f4 /* 801C9DE0 001C6D40 EC 42 00 28 */ fsubs f2, f2, f0 /* 801C9DE4 001C6D44 C0 04 00 00 */ lfs f0, 0(r4) /* 801C9DE8 001C6D48 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801C9DEC 001C6D4C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801C9DF0 001C6D50 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C9DF4 001C6D54 40 80 00 30 */ bge lbl_801C9E24 /* 801C9DF8 001C6D58 D0 24 00 00 */ stfs f1, 0(r4) /* 801C9DFC 001C6D5C 3B C0 00 01 */ li r30, 1 /* 801C9E00 001C6D60 80 1A 00 0C */ lwz r0, 0xc(r26) /* 801C9E04 001C6D64 80 99 00 4C */ lwz r4, 0x4c(r25) /* 801C9E08 001C6D68 7C 60 2A 14 */ add r3, r0, r5 /* 801C9E0C 001C6D6C C0 03 00 00 */ lfs f0, 0(r3) /* 801C9E10 001C6D70 D0 04 00 04 */ stfs f0, 4(r4) /* 801C9E14 001C6D74 C0 03 00 04 */ lfs f0, 4(r3) /* 801C9E18 001C6D78 D0 04 00 08 */ stfs f0, 8(r4) /* 801C9E1C 001C6D7C C0 03 00 08 */ lfs f0, 8(r3) /* 801C9E20 001C6D80 D0 04 00 0C */ stfs f0, 0xc(r4) lbl_801C9E24: /* 801C9E24 001C6D84 38 A5 00 0C */ addi r5, r5, 0xc /* 801C9E28 001C6D88 42 00 FF 88 */ bdnz lbl_801C9DB0 lbl_801C9E2C: /* 801C9E2C 001C6D8C 7F C3 F3 78 */ mr r3, r30 /* 801C9E30 001C6D90 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801C9E34 001C6D94 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801C9E38 001C6D98 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801C9E3C 001C6D9C CB C1 00 50 */ lfd f30, 0x50(r1) /* 801C9E40 001C6DA0 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801C9E44 001C6DA4 CB A1 00 40 */ lfd f29, 0x40(r1) /* 801C9E48 001C6DA8 BB 21 00 24 */ lmw r25, 0x24(r1) /* 801C9E4C 001C6DAC 80 01 00 74 */ lwz r0, 0x74(r1) /* 801C9E50 001C6DB0 7C 08 03 A6 */ mtlr r0 /* 801C9E54 001C6DB4 38 21 00 70 */ addi r1, r1, 0x70 /* 801C9E58 001C6DB8 4E 80 00 20 */ blr .global PointHeight__9CPFRegionCFRC9CVector3f PointHeight__9CPFRegionCFRC9CVector3f: /* 801C9E5C 001C6DBC 80 A3 00 04 */ lwz r5, 4(r3) /* 801C9E60 001C6DC0 C0 24 00 04 */ lfs f1, 4(r4) /* 801C9E64 001C6DC4 C0 05 00 04 */ lfs f0, 4(r5) /* 801C9E68 001C6DC8 C0 64 00 00 */ lfs f3, 0(r4) /* 801C9E6C 001C6DCC EC 21 00 28 */ fsubs f1, f1, f0 /* 801C9E70 001C6DD0 C0 45 00 00 */ lfs f2, 0(r5) /* 801C9E74 001C6DD4 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801C9E78 001C6DD8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801C9E7C 001C6DDC C0 84 00 08 */ lfs f4, 8(r4) /* 801C9E80 001C6DE0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801C9E84 001C6DE4 C0 65 00 08 */ lfs f3, 8(r5) /* 801C9E88 001C6DE8 C0 23 00 18 */ lfs f1, 0x18(r3) /* 801C9E8C 001C6DEC EC 84 18 28 */ fsubs f4, f4, f3 /* 801C9E90 001C6DF0 C0 63 00 20 */ lfs f3, 0x20(r3) /* 801C9E94 001C6DF4 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801C9E98 001C6DF8 EC 24 00 FA */ fmadds f1, f4, f3, f0 /* 801C9E9C 001C6DFC 4E 80 00 20 */ blr .global IsPointInside__9CPFRegionCFRC9CVector3f IsPointInside__9CPFRegionCFRC9CVector3f: /* 801C9EA0 001C6E00 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801C9EA4 001C6E04 7C 08 02 A6 */ mflr r0 /* 801C9EA8 001C6E08 90 01 00 24 */ stw r0, 0x24(r1) /* 801C9EAC 001C6E0C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801C9EB0 001C6E10 3B E0 00 00 */ li r31, 0 /* 801C9EB4 001C6E14 93 C1 00 18 */ stw r30, 0x18(r1) /* 801C9EB8 001C6E18 7C 9E 23 78 */ mr r30, r4 /* 801C9EBC 001C6E1C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801C9EC0 001C6E20 7C 7D 1B 78 */ mr r29, r3 /* 801C9EC4 001C6E24 38 7D 00 34 */ addi r3, r29, 0x34 /* 801C9EC8 001C6E28 48 16 D6 6D */ bl PointInside__6CAABoxCFRC9CVector3f /* 801C9ECC 001C6E2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801C9ED0 001C6E30 41 82 01 1C */ beq lbl_801C9FEC /* 801C9ED4 001C6E34 80 BD 00 00 */ lwz r5, 0(r29) /* 801C9ED8 001C6E38 38 C0 00 00 */ li r6, 0 /* 801C9EDC 001C6E3C C0 02 AB 4C */ lfs f0, lbl_805AC86C@sda21(r2) /* 801C9EE0 001C6E40 38 80 00 00 */ li r4, 0 /* 801C9EE4 001C6E44 7C A9 03 A6 */ mtctr r5 /* 801C9EE8 001C6E48 2C 05 00 00 */ cmpwi r5, 0 /* 801C9EEC 001C6E4C 40 81 00 5C */ ble lbl_801C9F48 lbl_801C9EF0: /* 801C9EF0 001C6E50 80 1D 00 04 */ lwz r0, 4(r29) /* 801C9EF4 001C6E54 C0 5E 00 04 */ lfs f2, 4(r30) /* 801C9EF8 001C6E58 7C 60 22 14 */ add r3, r0, r4 /* 801C9EFC 001C6E5C C0 9E 00 00 */ lfs f4, 0(r30) /* 801C9F00 001C6E60 C0 23 00 04 */ lfs f1, 4(r3) /* 801C9F04 001C6E64 C0 63 00 00 */ lfs f3, 0(r3) /* 801C9F08 001C6E68 EC 42 08 28 */ fsubs f2, f2, f1 /* 801C9F0C 001C6E6C C0 23 00 10 */ lfs f1, 0x10(r3) /* 801C9F10 001C6E70 EC 64 18 28 */ fsubs f3, f4, f3 /* 801C9F14 001C6E74 C0 BE 00 08 */ lfs f5, 8(r30) /* 801C9F18 001C6E78 C0 83 00 08 */ lfs f4, 8(r3) /* 801C9F1C 001C6E7C EC 22 00 72 */ fmuls f1, f2, f1 /* 801C9F20 001C6E80 C0 43 00 0C */ lfs f2, 0xc(r3) /* 801C9F24 001C6E84 EC A5 20 28 */ fsubs f5, f5, f4 /* 801C9F28 001C6E88 C0 83 00 14 */ lfs f4, 0x14(r3) /* 801C9F2C 001C6E8C EC 23 08 BA */ fmadds f1, f3, f2, f1 /* 801C9F30 001C6E90 EC 25 09 3A */ fmadds f1, f5, f4, f1 /* 801C9F34 001C6E94 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801C9F38 001C6E98 41 80 00 10 */ blt lbl_801C9F48 /* 801C9F3C 001C6E9C 38 84 00 18 */ addi r4, r4, 0x18 /* 801C9F40 001C6EA0 38 C6 00 01 */ addi r6, r6, 1 /* 801C9F44 001C6EA4 42 00 FF AC */ bdnz lbl_801C9EF0 lbl_801C9F48: /* 801C9F48 001C6EA8 7C 06 28 00 */ cmpw r6, r5 /* 801C9F4C 001C6EAC 40 82 00 A0 */ bne lbl_801C9FEC /* 801C9F50 001C6EB0 80 7D 00 04 */ lwz r3, 4(r29) /* 801C9F54 001C6EB4 C0 3E 00 04 */ lfs f1, 4(r30) /* 801C9F58 001C6EB8 C0 03 00 04 */ lfs f0, 4(r3) /* 801C9F5C 001C6EBC C0 5E 00 00 */ lfs f2, 0(r30) /* 801C9F60 001C6EC0 ED 01 00 28 */ fsubs f8, f1, f0 /* 801C9F64 001C6EC4 C0 03 00 00 */ lfs f0, 0(r3) /* 801C9F68 001C6EC8 C0 9D 00 1C */ lfs f4, 0x1c(r29) /* 801C9F6C 001C6ECC ED 22 00 28 */ fsubs f9, f2, f0 /* 801C9F70 001C6ED0 C0 5E 00 08 */ lfs f2, 8(r30) /* 801C9F74 001C6ED4 EC 08 01 32 */ fmuls f0, f8, f4 /* 801C9F78 001C6ED8 C0 23 00 08 */ lfs f1, 8(r3) /* 801C9F7C 001C6EDC C0 BD 00 18 */ lfs f5, 0x18(r29) /* 801C9F80 001C6EE0 EC E2 08 28 */ fsubs f7, f2, f1 /* 801C9F84 001C6EE4 C0 DD 00 20 */ lfs f6, 0x20(r29) /* 801C9F88 001C6EE8 EC 09 01 7A */ fmadds f0, f9, f5, f0 /* 801C9F8C 001C6EEC C0 62 AB 4C */ lfs f3, lbl_805AC86C@sda21(r2) /* 801C9F90 001C6EF0 EC 07 01 BA */ fmadds f0, f7, f6, f0 /* 801C9F94 001C6EF4 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801C9F98 001C6EF8 4C 41 13 82 */ cror 2, 1, 2 /* 801C9F9C 001C6EFC 40 82 00 50 */ bne lbl_801C9FEC /* 801C9FA0 001C6F00 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801C9FA4 001C6F04 C1 5D 00 14 */ lfs f10, 0x14(r29) /* 801C9FA8 001C6F08 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l /* 801C9FAC 001C6F0C C0 03 00 04 */ lfs f0, 4(r3) /* 801C9FB0 001C6F10 C0 43 00 00 */ lfs f2, 0(r3) /* 801C9FB4 001C6F14 EC 2A 00 32 */ fmuls f1, f10, f0 /* 801C9FB8 001C6F18 C0 03 00 08 */ lfs f0, 8(r3) /* 801C9FBC 001C6F1C EC 4A 00 B2 */ fmuls f2, f10, f2 /* 801C9FC0 001C6F20 EC 0A 00 32 */ fmuls f0, f10, f0 /* 801C9FC4 001C6F24 ED 08 08 28 */ fsubs f8, f8, f1 /* 801C9FC8 001C6F28 EC 29 10 28 */ fsubs f1, f9, f2 /* 801C9FCC 001C6F2C EC 47 00 28 */ fsubs f2, f7, f0 /* 801C9FD0 001C6F30 EC 08 01 32 */ fmuls f0, f8, f4 /* 801C9FD4 001C6F34 EC 01 01 7A */ fmadds f0, f1, f5, f0 /* 801C9FD8 001C6F38 EC 02 01 BA */ fmadds f0, f2, f6, f0 /* 801C9FDC 001C6F3C FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801C9FE0 001C6F40 4C 40 13 82 */ cror 2, 0, 2 /* 801C9FE4 001C6F44 40 82 00 08 */ bne lbl_801C9FEC /* 801C9FE8 001C6F48 3B E0 00 01 */ li r31, 1 lbl_801C9FEC: /* 801C9FEC 001C6F4C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801C9FF0 001C6F50 7F E3 FB 78 */ mr r3, r31 /* 801C9FF4 001C6F54 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801C9FF8 001C6F58 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801C9FFC 001C6F5C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801CA000 001C6F60 7C 08 03 A6 */ mtlr r0 /* 801CA004 001C6F64 38 21 00 20 */ addi r1, r1, 0x20 /* 801CA008 001C6F68 4E 80 00 20 */ blr .global __ct__9CPFRegionFv __ct__9CPFRegionFv: /* 801CA00C 001C6F6C 38 00 00 00 */ li r0, 0 /* 801CA010 001C6F70 C0 02 AB 4C */ lfs f0, lbl_805AC86C@sda21(r2) /* 801CA014 001C6F74 90 03 00 00 */ stw r0, 0(r3) /* 801CA018 001C6F78 3C A0 80 5A */ lis r5, skZero3f@ha /* 801CA01C 001C6F7C 3C 80 80 5A */ lis r4, lbl_805A6754@ha /* 801CA020 001C6F80 90 03 00 04 */ stw r0, 4(r3) /* 801CA024 001C6F84 90 03 00 08 */ stw r0, 8(r3) /* 801CA028 001C6F88 90 03 00 0C */ stw r0, 0xc(r3) /* 801CA02C 001C6F8C 90 03 00 10 */ stw r0, 0x10(r3) /* 801CA030 001C6F90 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801CA034 001C6F94 C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) /* 801CA038 001C6F98 D0 03 00 18 */ stfs f0, 0x18(r3) /* 801CA03C 001C6F9C C0 05 00 04 */ lfs f0, 4(r5) /* 801CA040 001C6FA0 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801CA044 001C6FA4 C0 05 00 08 */ lfs f0, 8(r5) /* 801CA048 001C6FA8 D0 03 00 20 */ stfs f0, 0x20(r3) /* 801CA04C 001C6FAC 90 03 00 24 */ stw r0, 0x24(r3) /* 801CA050 001C6FB0 C0 05 00 00 */ lfs f0, 0(r5) /* 801CA054 001C6FB4 D0 03 00 28 */ stfs f0, 0x28(r3) /* 801CA058 001C6FB8 C0 05 00 04 */ lfs f0, 4(r5) /* 801CA05C 001C6FBC D0 03 00 2C */ stfs f0, 0x2c(r3) /* 801CA060 001C6FC0 C0 05 00 08 */ lfs f0, 8(r5) /* 801CA064 001C6FC4 D0 03 00 30 */ stfs f0, 0x30(r3) /* 801CA068 001C6FC8 C4 04 67 54 */ lfsu f0, lbl_805A6754@l(r4) /* 801CA06C 001C6FCC D0 03 00 34 */ stfs f0, 0x34(r3) /* 801CA070 001C6FD0 C0 04 00 04 */ lfs f0, 4(r4) /* 801CA074 001C6FD4 D0 03 00 38 */ stfs f0, 0x38(r3) /* 801CA078 001C6FD8 C0 04 00 08 */ lfs f0, 8(r4) /* 801CA07C 001C6FDC D0 03 00 3C */ stfs f0, 0x3c(r3) /* 801CA080 001C6FE0 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801CA084 001C6FE4 D0 03 00 40 */ stfs f0, 0x40(r3) /* 801CA088 001C6FE8 C0 04 00 10 */ lfs f0, 0x10(r4) /* 801CA08C 001C6FEC D0 03 00 44 */ stfs f0, 0x44(r3) /* 801CA090 001C6FF0 C0 04 00 14 */ lfs f0, 0x14(r4) /* 801CA094 001C6FF4 D0 03 00 48 */ stfs f0, 0x48(r3) /* 801CA098 001C6FF8 4E 80 00 20 */ blr .global Fixup__9CPFRegionFR7CPFAreaRi Fixup__9CPFRegionFR7CPFAreaRi: /* 801CA09C 001C6FFC 80 03 00 00 */ lwz r0, 0(r3) /* 801CA0A0 001C7000 2C 00 00 00 */ cmpwi r0, 0 /* 801CA0A4 001C7004 41 82 00 18 */ beq lbl_801CA0BC /* 801CA0A8 001C7008 80 03 00 04 */ lwz r0, 4(r3) /* 801CA0AC 001C700C 80 C4 01 44 */ lwz r6, 0x144(r4) /* 801CA0B0 001C7010 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801CA0B4 001C7014 7C 06 02 14 */ add r0, r6, r0 /* 801CA0B8 001C7018 48 00 00 08 */ b lbl_801CA0C0 lbl_801CA0BC: /* 801CA0BC 001C701C 38 00 00 00 */ li r0, 0 lbl_801CA0C0: /* 801CA0C0 001C7020 90 03 00 04 */ stw r0, 4(r3) /* 801CA0C4 001C7024 80 03 00 08 */ lwz r0, 8(r3) /* 801CA0C8 001C7028 2C 00 00 00 */ cmpwi r0, 0 /* 801CA0CC 001C702C 41 82 00 18 */ beq lbl_801CA0E4 /* 801CA0D0 001C7030 80 03 00 0C */ lwz r0, 0xc(r3) /* 801CA0D4 001C7034 80 C4 01 4C */ lwz r6, 0x14c(r4) /* 801CA0D8 001C7038 54 00 20 36 */ slwi r0, r0, 4 /* 801CA0DC 001C703C 7C 06 02 14 */ add r0, r6, r0 /* 801CA0E0 001C7040 48 00 00 08 */ b lbl_801CA0E8 lbl_801CA0E4: /* 801CA0E4 001C7044 38 00 00 00 */ li r0, 0 lbl_801CA0E8: /* 801CA0E8 001C7048 90 03 00 0C */ stw r0, 0xc(r3) /* 801CA0EC 001C704C 80 03 00 24 */ lwz r0, 0x24(r3) /* 801CA0F0 001C7050 80 84 01 84 */ lwz r4, 0x184(r4) /* 801CA0F4 001C7054 1C 00 00 30 */ mulli r0, r0, 0x30 /* 801CA0F8 001C7058 7C 04 02 14 */ add r0, r4, r0 /* 801CA0FC 001C705C 90 03 00 4C */ stw r0, 0x4c(r3) /* 801CA100 001C7060 80 63 00 00 */ lwz r3, 0(r3) /* 801CA104 001C7064 80 05 00 00 */ lwz r0, 0(r5) /* 801CA108 001C7068 7C 03 00 00 */ cmpw r3, r0 /* 801CA10C 001C706C 4C 81 00 20 */ blelr /* 801CA110 001C7070 90 65 00 00 */ stw r3, 0(r5) /* 801CA114 001C7074 4E 80 00 20 */ blr .global __ct__13CPFRegionDataFv __ct__13CPFRegionDataFv: /* 801CA118 001C7078 C0 22 AB 4C */ lfs f1, lbl_805AC86C@sda21(r2) /* 801CA11C 001C707C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801CA120 001C7080 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801CA124 001C7084 38 80 FF FF */ li r4, -1 /* 801CA128 001C7088 D0 23 00 00 */ stfs f1, 0(r3) /* 801CA12C 001C708C 38 00 00 00 */ li r0, 0 /* 801CA130 001C7090 C0 05 00 00 */ lfs f0, 0(r5) /* 801CA134 001C7094 D0 03 00 04 */ stfs f0, 4(r3) /* 801CA138 001C7098 C0 05 00 04 */ lfs f0, 4(r5) /* 801CA13C 001C709C D0 03 00 08 */ stfs f0, 8(r3) /* 801CA140 001C70A0 C0 05 00 08 */ lfs f0, 8(r5) /* 801CA144 001C70A4 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801CA148 001C70A8 90 83 00 10 */ stw r4, 0x10(r3) /* 801CA14C 001C70AC D0 23 00 14 */ stfs f1, 0x14(r3) /* 801CA150 001C70B0 D0 23 00 18 */ stfs f1, 0x18(r3) /* 801CA154 001C70B4 D0 23 00 1C */ stfs f1, 0x1c(r3) /* 801CA158 001C70B8 90 03 00 20 */ stw r0, 0x20(r3) /* 801CA15C 001C70BC 90 03 00 24 */ stw r0, 0x24(r3) /* 801CA160 001C70C0 90 03 00 28 */ stw r0, 0x28(r3) /* 801CA164 001C70C4 90 03 00 2C */ stw r0, 0x2c(r3) /* 801CA168 001C70C8 4E 80 00 20 */ blr .global "FPathFindAreaFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer" "FPathFindAreaFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer": /* 801CA16C 001C70CC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CA170 001C70D0 7C 08 02 A6 */ mflr r0 /* 801CA174 001C70D4 3C 80 80 3D */ lis r4, lbl_803D1AA0@ha /* 801CA178 001C70D8 90 01 00 24 */ stw r0, 0x24(r1) /* 801CA17C 001C70DC 38 84 1A A0 */ addi r4, r4, lbl_803D1AA0@l /* 801CA180 001C70E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801CA184 001C70E4 7C DF 33 78 */ mr r31, r6 /* 801CA188 001C70E8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801CA18C 001C70EC 7C BE 2B 78 */ mr r30, r5 /* 801CA190 001C70F0 38 A0 00 00 */ li r5, 0 /* 801CA194 001C70F4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801CA198 001C70F8 7C 7D 1B 78 */ mr r29, r3 /* 801CA19C 001C70FC 38 60 01 B8 */ li r3, 0x1b8 /* 801CA1A0 001C7100 48 14 B6 CD */ bl __nw__FUlPCcPCc /* 801CA1A4 001C7104 7C 64 1B 79 */ or. r4, r3, r3 /* 801CA1A8 001C7108 41 82 00 14 */ beq lbl_801CA1BC /* 801CA1AC 001C710C 7F C4 F3 78 */ mr r4, r30 /* 801CA1B0 001C7110 7F E5 FB 78 */ mr r5, r31 /* 801CA1B4 001C7114 48 00 0A 09 */ bl "__ct__7CPFAreaFRCQ24rstl12auto_ptri" /* 801CA1B8 001C7118 7C 64 1B 78 */ mr r4, r3 lbl_801CA1BC: /* 801CA1BC 001C711C 7F A3 EB 78 */ mr r3, r29 /* 801CA1C0 001C7120 48 00 00 21 */ bl "GetIObjObjectFor__16TToken<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>" /* 801CA1C4 001C7124 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CA1C8 001C7128 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801CA1CC 001C712C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801CA1D0 001C7130 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801CA1D4 001C7134 7C 08 03 A6 */ mtlr r0 /* 801CA1D8 001C7138 38 21 00 20 */ addi r1, r1, 0x20 /* 801CA1DC 001C713C 4E 80 00 20 */ blr .global "GetIObjObjectFor__16TToken<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>" "GetIObjObjectFor__16TToken<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>": /* 801CA1E0 001C7140 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CA1E4 001C7144 7C 08 02 A6 */ mflr r0 /* 801CA1E8 001C7148 90 01 00 24 */ stw r0, 0x24(r1) /* 801CA1EC 001C714C 7C 04 00 D0 */ neg r0, r4 /* 801CA1F0 001C7150 7C 00 23 78 */ or r0, r0, r4 /* 801CA1F4 001C7154 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801CA1F8 001C7158 54 00 0F FE */ srwi r0, r0, 0x1f /* 801CA1FC 001C715C 7C 7F 1B 78 */ mr r31, r3 /* 801CA200 001C7160 38 61 00 08 */ addi r3, r1, 8 /* 801CA204 001C7164 90 81 00 14 */ stw r4, 0x14(r1) /* 801CA208 001C7168 38 81 00 10 */ addi r4, r1, 0x10 /* 801CA20C 001C716C 98 01 00 10 */ stb r0, 0x10(r1) /* 801CA210 001C7170 48 00 01 F1 */ bl "GetNewDerivedObject__34TObjOwnerDerivedFromIObj<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>" /* 801CA214 001C7174 80 61 00 0C */ lwz r3, 0xc(r1) /* 801CA218 001C7178 38 00 00 00 */ li r0, 0 /* 801CA21C 001C717C 98 01 00 08 */ stb r0, 8(r1) /* 801CA220 001C7180 7C 03 00 D0 */ neg r0, r3 /* 801CA224 001C7184 7C 00 1B 78 */ or r0, r0, r3 /* 801CA228 001C7188 54 00 0F FE */ srwi r0, r0, 0x1f /* 801CA22C 001C718C 98 1F 00 00 */ stb r0, 0(r31) /* 801CA230 001C7190 90 7F 00 04 */ stw r3, 4(r31) /* 801CA234 001C7194 88 01 00 08 */ lbz r0, 8(r1) /* 801CA238 001C7198 28 00 00 00 */ cmplwi r0, 0 /* 801CA23C 001C719C 41 82 00 24 */ beq lbl_801CA260 /* 801CA240 001C71A0 80 61 00 0C */ lwz r3, 0xc(r1) /* 801CA244 001C71A4 28 03 00 00 */ cmplwi r3, 0 /* 801CA248 001C71A8 41 82 00 18 */ beq lbl_801CA260 /* 801CA24C 001C71AC 81 83 00 00 */ lwz r12, 0(r3) /* 801CA250 001C71B0 38 80 00 01 */ li r4, 1 /* 801CA254 001C71B4 81 8C 00 08 */ lwz r12, 8(r12) /* 801CA258 001C71B8 7D 89 03 A6 */ mtctr r12 /* 801CA25C 001C71BC 4E 80 04 21 */ bctrl lbl_801CA260: /* 801CA260 001C71C0 38 61 00 10 */ addi r3, r1, 0x10 /* 801CA264 001C71C4 38 80 FF FF */ li r4, -1 /* 801CA268 001C71C8 48 00 02 61 */ bl "__dt__34TObjOwnerDerivedFromIObj<7CPFArea>Fv" /* 801CA26C 001C71CC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CA270 001C71D0 7F E3 FB 78 */ mr r3, r31 /* 801CA274 001C71D4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801CA278 001C71D8 7C 08 03 A6 */ mtlr r0 /* 801CA27C 001C71DC 38 21 00 20 */ addi r1, r1, 0x20 /* 801CA280 001C71E0 4E 80 00 20 */ blr .global sub_801ca284 sub_801ca284: /* 801CA284 001C71E4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CA288 001C71E8 7C 08 02 A6 */ mflr r0 /* 801CA28C 001C71EC 90 01 00 14 */ stw r0, 0x14(r1) /* 801CA290 001C71F0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CA294 001C71F4 7C 9F 23 78 */ mr r31, r4 /* 801CA298 001C71F8 93 C1 00 08 */ stw r30, 8(r1) /* 801CA29C 001C71FC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801CA2A0 001C7200 41 82 00 58 */ beq lbl_801CA2F8 /* 801CA2A4 001C7204 3C 60 80 3E */ lis r3, lbl_803E5718@ha /* 801CA2A8 001C7208 38 03 57 18 */ addi r0, r3, lbl_803E5718@l /* 801CA2AC 001C720C 90 1E 00 00 */ stw r0, 0(r30) /* 801CA2B0 001C7210 80 7E 00 04 */ lwz r3, 4(r30) /* 801CA2B4 001C7214 28 03 00 00 */ cmplwi r3, 0 /* 801CA2B8 001C7218 41 82 00 0C */ beq lbl_801CA2C4 /* 801CA2BC 001C721C 38 80 00 01 */ li r4, 1 /* 801CA2C0 001C7220 48 00 00 55 */ bl __dt__7CPFAreaFv lbl_801CA2C4: /* 801CA2C4 001C7224 28 1E 00 00 */ cmplwi r30, 0 /* 801CA2C8 001C7228 41 82 00 20 */ beq lbl_801CA2E8 /* 801CA2CC 001C722C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha /* 801CA2D0 001C7230 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l /* 801CA2D4 001C7234 90 1E 00 00 */ stw r0, 0(r30) /* 801CA2D8 001C7238 41 82 00 10 */ beq lbl_801CA2E8 /* 801CA2DC 001C723C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha /* 801CA2E0 001C7240 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l /* 801CA2E4 001C7244 90 1E 00 00 */ stw r0, 0(r30) lbl_801CA2E8: /* 801CA2E8 001C7248 7F E0 07 35 */ extsh. r0, r31 /* 801CA2EC 001C724C 40 81 00 0C */ ble lbl_801CA2F8 /* 801CA2F0 001C7250 7F C3 F3 78 */ mr r3, r30 /* 801CA2F4 001C7254 48 14 B6 3D */ bl Free__7CMemoryFPCv lbl_801CA2F8: /* 801CA2F8 001C7258 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CA2FC 001C725C 7F C3 F3 78 */ mr r3, r30 /* 801CA300 001C7260 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CA304 001C7264 83 C1 00 08 */ lwz r30, 8(r1) /* 801CA308 001C7268 7C 08 03 A6 */ mtlr r0 /* 801CA30C 001C726C 38 21 00 10 */ addi r1, r1, 0x10 /* 801CA310 001C7270 4E 80 00 20 */ blr .global __dt__7CPFAreaFv __dt__7CPFAreaFv: /* 801CA314 001C7274 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CA318 001C7278 7C 08 02 A6 */ mflr r0 /* 801CA31C 001C727C 90 01 00 34 */ stw r0, 0x34(r1) /* 801CA320 001C7280 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CA324 001C7284 7C 9F 23 78 */ mr r31, r4 /* 801CA328 001C7288 93 C1 00 28 */ stw r30, 0x28(r1) /* 801CA32C 001C728C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801CA330 001C7290 41 82 00 B4 */ beq lbl_801CA3E4 /* 801CA334 001C7294 34 1E 01 78 */ addic. r0, r30, 0x178 /* 801CA338 001C7298 41 82 00 44 */ beq lbl_801CA37C /* 801CA33C 001C729C 80 1E 01 7C */ lwz r0, 0x17c(r30) /* 801CA340 001C72A0 80 7E 01 84 */ lwz r3, 0x184(r30) /* 801CA344 001C72A4 1C 00 00 30 */ mulli r0, r0, 0x30 /* 801CA348 001C72A8 90 61 00 1C */ stw r3, 0x1c(r1) /* 801CA34C 001C72AC 7C 64 1B 78 */ mr r4, r3 /* 801CA350 001C72B0 7C 03 02 14 */ add r0, r3, r0 /* 801CA354 001C72B4 90 61 00 18 */ stw r3, 0x18(r1) /* 801CA358 001C72B8 90 01 00 24 */ stw r0, 0x24(r1) /* 801CA35C 001C72BC 90 01 00 20 */ stw r0, 0x20(r1) /* 801CA360 001C72C0 48 00 00 08 */ b lbl_801CA368 lbl_801CA364: /* 801CA364 001C72C4 38 84 00 30 */ addi r4, r4, 0x30 lbl_801CA368: /* 801CA368 001C72C8 7C 04 00 40 */ cmplw r4, r0 /* 801CA36C 001C72CC 40 82 FF F8 */ bne lbl_801CA364 /* 801CA370 001C72D0 28 03 00 00 */ cmplwi r3, 0 /* 801CA374 001C72D4 41 82 00 08 */ beq lbl_801CA37C /* 801CA378 001C72D8 48 14 B5 B9 */ bl Free__7CMemoryFPCv lbl_801CA37C: /* 801CA37C 001C72DC 34 1E 01 3C */ addic. r0, r30, 0x13c /* 801CA380 001C72E0 41 82 00 0C */ beq lbl_801CA38C /* 801CA384 001C72E4 80 7E 01 3C */ lwz r3, 0x13c(r30) /* 801CA388 001C72E8 48 14 B5 A9 */ bl Free__7CMemoryFPCv lbl_801CA38C: /* 801CA38C 001C72EC 34 1E 00 10 */ addic. r0, r30, 0x10 /* 801CA390 001C72F0 41 82 00 44 */ beq lbl_801CA3D4 /* 801CA394 001C72F4 80 1E 00 14 */ lwz r0, 0x14(r30) /* 801CA398 001C72F8 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 801CA39C 001C72FC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CA3A0 001C7300 90 61 00 0C */ stw r3, 0xc(r1) /* 801CA3A4 001C7304 7C 64 1B 78 */ mr r4, r3 /* 801CA3A8 001C7308 7C 03 02 14 */ add r0, r3, r0 /* 801CA3AC 001C730C 90 61 00 08 */ stw r3, 8(r1) /* 801CA3B0 001C7310 90 01 00 14 */ stw r0, 0x14(r1) /* 801CA3B4 001C7314 90 01 00 10 */ stw r0, 0x10(r1) /* 801CA3B8 001C7318 48 00 00 08 */ b lbl_801CA3C0 lbl_801CA3BC: /* 801CA3BC 001C731C 38 84 00 0C */ addi r4, r4, 0xc lbl_801CA3C0: /* 801CA3C0 001C7320 7C 04 00 40 */ cmplw r4, r0 /* 801CA3C4 001C7324 40 82 FF F8 */ bne lbl_801CA3BC /* 801CA3C8 001C7328 28 03 00 00 */ cmplwi r3, 0 /* 801CA3CC 001C732C 41 82 00 08 */ beq lbl_801CA3D4 /* 801CA3D0 001C7330 48 14 B5 61 */ bl Free__7CMemoryFPCv lbl_801CA3D4: /* 801CA3D4 001C7334 7F E0 07 35 */ extsh. r0, r31 /* 801CA3D8 001C7338 40 81 00 0C */ ble lbl_801CA3E4 /* 801CA3DC 001C733C 7F C3 F3 78 */ mr r3, r30 /* 801CA3E0 001C7340 48 14 B5 51 */ bl Free__7CMemoryFPCv lbl_801CA3E4: /* 801CA3E4 001C7344 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CA3E8 001C7348 7F C3 F3 78 */ mr r3, r30 /* 801CA3EC 001C734C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CA3F0 001C7350 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801CA3F4 001C7354 7C 08 03 A6 */ mtlr r0 /* 801CA3F8 001C7358 38 21 00 30 */ addi r1, r1, 0x30 /* 801CA3FC 001C735C 4E 80 00 20 */ blr .global "GetNewDerivedObject__34TObjOwnerDerivedFromIObj<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>" "GetNewDerivedObject__34TObjOwnerDerivedFromIObj<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>": /* 801CA400 001C7360 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CA404 001C7364 7C 08 02 A6 */ mflr r0 /* 801CA408 001C7368 90 01 00 14 */ stw r0, 0x14(r1) /* 801CA40C 001C736C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CA410 001C7370 7C 7F 1B 78 */ mr r31, r3 /* 801CA414 001C7374 48 00 00 19 */ bl "__ct__34TObjOwnerDerivedFromIObj<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>" /* 801CA418 001C7378 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CA41C 001C737C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CA420 001C7380 7C 08 03 A6 */ mtlr r0 /* 801CA424 001C7384 38 21 00 10 */ addi r1, r1, 0x10 /* 801CA428 001C7388 4E 80 00 20 */ blr .global "__ct__34TObjOwnerDerivedFromIObj<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>" "__ct__34TObjOwnerDerivedFromIObj<7CPFArea>FRCQ24rstl18auto_ptr<7CPFArea>": /* 801CA42C 001C738C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CA430 001C7390 7C 08 02 A6 */ mflr r0 /* 801CA434 001C7394 3C A0 80 3D */ lis r5, lbl_803D1AA0@ha /* 801CA438 001C7398 90 01 00 14 */ stw r0, 0x14(r1) /* 801CA43C 001C739C 38 05 1A A0 */ addi r0, r5, lbl_803D1AA0@l /* 801CA440 001C73A0 38 A0 00 00 */ li r5, 0 /* 801CA444 001C73A4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CA448 001C73A8 7C 9F 23 78 */ mr r31, r4 /* 801CA44C 001C73AC 7C 04 03 78 */ mr r4, r0 /* 801CA450 001C73B0 93 C1 00 08 */ stw r30, 8(r1) /* 801CA454 001C73B4 7C 7E 1B 78 */ mr r30, r3 /* 801CA458 001C73B8 38 60 00 08 */ li r3, 8 /* 801CA45C 001C73BC 48 14 B4 11 */ bl __nw__FUlPCcPCc /* 801CA460 001C73C0 28 03 00 00 */ cmplwi r3, 0 /* 801CA464 001C73C4 41 82 00 38 */ beq lbl_801CA49C /* 801CA468 001C73C8 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha /* 801CA46C 001C73CC 3C A0 80 3E */ lis r5, lbl_803D8D78@ha /* 801CA470 001C73D0 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l /* 801CA474 001C73D4 3C 80 80 3E */ lis r4, lbl_803E5718@ha /* 801CA478 001C73D8 90 03 00 00 */ stw r0, 0(r3) /* 801CA47C 001C73DC 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l /* 801CA480 001C73E0 38 A0 00 00 */ li r5, 0 /* 801CA484 001C73E4 38 04 57 18 */ addi r0, r4, lbl_803E5718@l /* 801CA488 001C73E8 90 C3 00 00 */ stw r6, 0(r3) /* 801CA48C 001C73EC 98 BF 00 00 */ stb r5, 0(r31) /* 801CA490 001C73F0 80 9F 00 04 */ lwz r4, 4(r31) /* 801CA494 001C73F4 90 83 00 04 */ stw r4, 4(r3) /* 801CA498 001C73F8 90 03 00 00 */ stw r0, 0(r3) lbl_801CA49C: /* 801CA49C 001C73FC 7C 03 00 D0 */ neg r0, r3 /* 801CA4A0 001C7400 7C 00 1B 78 */ or r0, r0, r3 /* 801CA4A4 001C7404 54 00 0F FE */ srwi r0, r0, 0x1f /* 801CA4A8 001C7408 98 1E 00 00 */ stb r0, 0(r30) /* 801CA4AC 001C740C 90 7E 00 04 */ stw r3, 4(r30) /* 801CA4B0 001C7410 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CA4B4 001C7414 83 C1 00 08 */ lwz r30, 8(r1) /* 801CA4B8 001C7418 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CA4BC 001C741C 7C 08 03 A6 */ mtlr r0 /* 801CA4C0 001C7420 38 21 00 10 */ addi r1, r1, 0x10 /* 801CA4C4 001C7424 4E 80 00 20 */ blr .global "__dt__34TObjOwnerDerivedFromIObj<7CPFArea>Fv" "__dt__34TObjOwnerDerivedFromIObj<7CPFArea>Fv": /* 801CA4C8 001C7428 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CA4CC 001C742C 7C 08 02 A6 */ mflr r0 /* 801CA4D0 001C7430 90 01 00 14 */ stw r0, 0x14(r1) /* 801CA4D4 001C7434 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CA4D8 001C7438 7C 9F 23 78 */ mr r31, r4 /* 801CA4DC 001C743C 93 C1 00 08 */ stw r30, 8(r1) /* 801CA4E0 001C7440 7C 7E 1B 79 */ or. r30, r3, r3 /* 801CA4E4 001C7444 41 82 00 2C */ beq lbl_801CA510 /* 801CA4E8 001C7448 88 1E 00 00 */ lbz r0, 0(r30) /* 801CA4EC 001C744C 28 00 00 00 */ cmplwi r0, 0 /* 801CA4F0 001C7450 41 82 00 10 */ beq lbl_801CA500 /* 801CA4F4 001C7454 80 7E 00 04 */ lwz r3, 4(r30) /* 801CA4F8 001C7458 38 80 00 01 */ li r4, 1 /* 801CA4FC 001C745C 4B FF FE 19 */ bl __dt__7CPFAreaFv lbl_801CA500: /* 801CA500 001C7460 7F E0 07 35 */ extsh. r0, r31 /* 801CA504 001C7464 40 81 00 0C */ ble lbl_801CA510 /* 801CA508 001C7468 7F C3 F3 78 */ mr r3, r30 /* 801CA50C 001C746C 48 14 B4 25 */ bl Free__7CMemoryFPCv lbl_801CA510: /* 801CA510 001C7470 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CA514 001C7474 7F C3 F3 78 */ mr r3, r30 /* 801CA518 001C7478 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CA51C 001C747C 83 C1 00 08 */ lwz r30, 8(r1) /* 801CA520 001C7480 7C 08 03 A6 */ mtlr r0 /* 801CA524 001C7484 38 21 00 10 */ addi r1, r1, 0x10 /* 801CA528 001C7488 4E 80 00 20 */ blr .global PathExists__7CPFAreaCFPC9CPFRegionPC9CPFRegionUi PathExists__7CPFAreaCFPC9CPFRegionPC9CPFRegionUi: /* 801CA52C 001C748C 7C 04 28 40 */ cmplw r4, r5 /* 801CA530 001C7490 41 82 00 0C */ beq lbl_801CA53C /* 801CA534 001C7494 54 C0 07 7B */ rlwinm. r0, r6, 0, 0x1d, 0x1d /* 801CA538 001C7498 41 82 00 0C */ beq lbl_801CA544 lbl_801CA53C: /* 801CA53C 001C749C 38 60 00 01 */ li r3, 1 /* 801CA540 001C74A0 4E 80 00 20 */ blr lbl_801CA544: /* 801CA544 001C74A4 80 04 00 24 */ lwz r0, 0x24(r4) /* 801CA548 001C74A8 80 85 00 24 */ lwz r4, 0x24(r5) /* 801CA54C 001C74AC 80 E3 01 50 */ lwz r7, 0x150(r3) /* 801CA550 001C74B0 7C 09 03 78 */ mr r9, r0 /* 801CA554 001C74B4 7C 00 20 00 */ cmpw r0, r4 /* 801CA558 001C74B8 7C 8A 23 78 */ mr r10, r4 /* 801CA55C 001C74BC 40 81 00 0C */ ble lbl_801CA568 /* 801CA560 001C74C0 7C 89 23 78 */ mr r9, r4 /* 801CA564 001C74C4 7C 0A 03 78 */ mr r10, r0 lbl_801CA568: /* 801CA568 001C74C8 7D 09 38 50 */ subf r8, r9, r7 /* 801CA56C 001C74CC 38 87 FF FF */ addi r4, r7, -1 /* 801CA570 001C74D0 38 A8 FF FF */ addi r5, r8, -1 /* 801CA574 001C74D4 54 C0 07 BD */ rlwinm. r0, r6, 0, 0x1e, 0x1e /* 801CA578 001C74D8 7C A5 41 D6 */ mullw r5, r5, r8 /* 801CA57C 001C74DC 38 C9 00 01 */ addi r6, r9, 1 /* 801CA580 001C74E0 54 A0 0F FE */ srwi r0, r5, 0x1f /* 801CA584 001C74E4 7C A0 2A 14 */ add r5, r0, r5 /* 801CA588 001C74E8 7C 87 21 D6 */ mullw r4, r7, r4 /* 801CA58C 001C74EC 7C A5 0E 70 */ srawi r5, r5, 1 /* 801CA590 001C74F0 54 80 0F FE */ srwi r0, r4, 0x1f /* 801CA594 001C74F4 7C 00 22 14 */ add r0, r0, r4 /* 801CA598 001C74F8 7C 00 0E 70 */ srawi r0, r0, 1 /* 801CA59C 001C74FC 7C 05 00 50 */ subf r0, r5, r0 /* 801CA5A0 001C7500 7C 0A 02 14 */ add r0, r10, r0 /* 801CA5A4 001C7504 7C 06 00 50 */ subf r0, r6, r0 /* 801CA5A8 001C7508 41 82 00 20 */ beq lbl_801CA5C8 /* 801CA5AC 001C750C 80 83 01 74 */ lwz r4, 0x174(r3) /* 801CA5B0 001C7510 54 03 E8 FA */ rlwinm r3, r0, 0x1d, 3, 0x1d /* 801CA5B4 001C7514 54 00 06 FE */ clrlwi r0, r0, 0x1b /* 801CA5B8 001C7518 7C 64 18 2E */ lwzx r3, r4, r3 /* 801CA5BC 001C751C 7C 60 04 30 */ srw r0, r3, r0 /* 801CA5C0 001C7520 54 03 07 FE */ clrlwi r3, r0, 0x1f /* 801CA5C4 001C7524 4E 80 00 20 */ blr lbl_801CA5C8: /* 801CA5C8 001C7528 80 83 01 6C */ lwz r4, 0x16c(r3) /* 801CA5CC 001C752C 54 03 E8 FA */ rlwinm r3, r0, 0x1d, 3, 0x1d /* 801CA5D0 001C7530 54 00 06 FE */ clrlwi r0, r0, 0x1b /* 801CA5D4 001C7534 7C 64 18 2E */ lwzx r3, r4, r3 /* 801CA5D8 001C7538 7C 60 04 30 */ srw r0, r3, r0 /* 801CA5DC 001C753C 54 03 07 FE */ clrlwi r3, r0, 0x1f /* 801CA5E0 001C7540 4E 80 00 20 */ blr .global "FindClosestReachablePoint__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUi" "FindClosestReachablePoint__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUi": /* 801CA5E4 001C7544 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801CA5E8 001C7548 3D 20 80 5A */ lis r9, skZero3f@ha /* 801CA5EC 001C754C C1 62 AB 50 */ lfs f11, lbl_805AC870@sda21(r2) /* 801CA5F0 001C7550 54 E0 07 7A */ rlwinm r0, r7, 0, 0x1d, 0x1d /* 801CA5F4 001C7554 BF 21 00 24 */ stmw r25, 0x24(r1) /* 801CA5F8 001C7558 54 EC 07 BC */ rlwinm r12, r7, 0, 0x1e, 0x1e /* 801CA5FC 001C755C 3B E0 00 00 */ li r31, 0 /* 801CA600 001C7560 39 60 00 00 */ li r11, 0 /* 801CA604 001C7564 C5 09 66 A0 */ lfsu f8, skZero3f@l(r9) /* 801CA608 001C7568 C1 29 00 04 */ lfs f9, 4(r9) /* 801CA60C 001C756C C1 49 00 08 */ lfs f10, 8(r9) /* 801CA610 001C7570 48 00 01 68 */ b lbl_801CA778 lbl_801CA614: /* 801CA614 001C7574 81 24 01 54 */ lwz r9, 0x154(r4) /* 801CA618 001C7578 7D 29 5A 14 */ add r9, r9, r11 /* 801CA61C 001C757C 83 29 00 10 */ lwz r25, 0x10(r9) /* 801CA620 001C7580 57 2A 06 3E */ clrlwi r10, r25, 0x18 /* 801CA624 001C7584 7C EA 50 39 */ and. r10, r7, r10 /* 801CA628 001C7588 41 82 01 48 */ beq lbl_801CA770 /* 801CA62C 001C758C 57 2A 86 3E */ rlwinm r10, r25, 0x10, 0x18, 0x1f /* 801CA630 001C7590 7D 0A 50 39 */ and. r10, r8, r10 /* 801CA634 001C7594 41 82 01 3C */ beq lbl_801CA770 /* 801CA638 001C7598 83 25 00 00 */ lwz r25, 0(r5) /* 801CA63C 001C759C 39 45 00 04 */ addi r10, r5, 4 /* 801CA640 001C75A0 7F 29 03 A6 */ mtctr r25 /* 801CA644 001C75A4 2C 19 00 00 */ cmpwi r25, 0 /* 801CA648 001C75A8 40 81 01 28 */ ble lbl_801CA770 lbl_801CA64C: /* 801CA64C 001C75AC 83 2A 00 00 */ lwz r25, 0(r10) /* 801CA650 001C75B0 7C 19 48 40 */ cmplw r25, r9 /* 801CA654 001C75B4 41 82 00 0C */ beq lbl_801CA660 /* 801CA658 001C75B8 28 00 00 00 */ cmplwi r0, 0 /* 801CA65C 001C75BC 41 82 00 0C */ beq lbl_801CA668 lbl_801CA660: /* 801CA660 001C75C0 3B 60 00 01 */ li r27, 1 /* 801CA664 001C75C4 48 00 00 9C */ b lbl_801CA700 lbl_801CA668: /* 801CA668 001C75C8 83 99 00 24 */ lwz r28, 0x24(r25) /* 801CA66C 001C75CC 83 29 00 24 */ lwz r25, 0x24(r9) /* 801CA670 001C75D0 83 44 01 50 */ lwz r26, 0x150(r4) /* 801CA674 001C75D4 7F 9B E3 78 */ mr r27, r28 /* 801CA678 001C75D8 7C 1C C8 00 */ cmpw r28, r25 /* 801CA67C 001C75DC 40 81 00 0C */ ble lbl_801CA688 /* 801CA680 001C75E0 7F 3B CB 78 */ mr r27, r25 /* 801CA684 001C75E4 7F 99 E3 78 */ mr r25, r28 lbl_801CA688: /* 801CA688 001C75E8 7F DB D0 50 */ subf r30, r27, r26 /* 801CA68C 001C75EC 3B 9A FF FF */ addi r28, r26, -1 /* 801CA690 001C75F0 3B BE FF FF */ addi r29, r30, -1 /* 801CA694 001C75F4 28 0C 00 00 */ cmplwi r12, 0 /* 801CA698 001C75F8 7F DD F1 D6 */ mullw r30, r29, r30 /* 801CA69C 001C75FC 3B 7B 00 01 */ addi r27, r27, 1 /* 801CA6A0 001C7600 7F BA E1 D6 */ mullw r29, r26, r28 /* 801CA6A4 001C7604 57 DC 0F FE */ srwi r28, r30, 0x1f /* 801CA6A8 001C7608 7F DC F2 14 */ add r30, r28, r30 /* 801CA6AC 001C760C 57 BC 0F FE */ srwi r28, r29, 0x1f /* 801CA6B0 001C7610 7F DE 0E 70 */ srawi r30, r30, 1 /* 801CA6B4 001C7614 7F 9C EA 14 */ add r28, r28, r29 /* 801CA6B8 001C7618 7F 9C 0E 70 */ srawi r28, r28, 1 /* 801CA6BC 001C761C 7F 9E E0 50 */ subf r28, r30, r28 /* 801CA6C0 001C7620 7F 99 E2 14 */ add r28, r25, r28 /* 801CA6C4 001C7624 7F 7B E0 50 */ subf r27, r27, r28 /* 801CA6C8 001C7628 41 82 00 20 */ beq lbl_801CA6E8 /* 801CA6CC 001C762C 83 C4 01 74 */ lwz r30, 0x174(r4) /* 801CA6D0 001C7630 57 7D E8 FA */ rlwinm r29, r27, 0x1d, 3, 0x1d /* 801CA6D4 001C7634 57 7C 06 FE */ clrlwi r28, r27, 0x1b /* 801CA6D8 001C7638 7F BE E8 2E */ lwzx r29, r30, r29 /* 801CA6DC 001C763C 7F BC E4 30 */ srw r28, r29, r28 /* 801CA6E0 001C7640 57 9B 07 FE */ clrlwi r27, r28, 0x1f /* 801CA6E4 001C7644 48 00 00 1C */ b lbl_801CA700 lbl_801CA6E8: /* 801CA6E8 001C7648 83 84 01 6C */ lwz r28, 0x16c(r4) /* 801CA6EC 001C764C 57 7D E8 FA */ rlwinm r29, r27, 0x1d, 3, 0x1d /* 801CA6F0 001C7650 57 7E 06 FE */ clrlwi r30, r27, 0x1b /* 801CA6F4 001C7654 7F BC E8 2E */ lwzx r29, r28, r29 /* 801CA6F8 001C7658 7F BE F4 30 */ srw r30, r29, r30 /* 801CA6FC 001C765C 57 DB 07 FE */ clrlwi r27, r30, 0x1f lbl_801CA700: /* 801CA700 001C7660 57 7E 06 3F */ clrlwi. r30, r27, 0x18 /* 801CA704 001C7664 41 82 00 64 */ beq lbl_801CA768 /* 801CA708 001C7668 C0 A9 00 2C */ lfs f5, 0x2c(r9) /* 801CA70C 001C766C C0 06 00 04 */ lfs f0, 4(r6) /* 801CA710 001C7670 C0 69 00 28 */ lfs f3, 0x28(r9) /* 801CA714 001C7674 EC E5 00 28 */ fsubs f7, f5, f0 /* 801CA718 001C7678 C0 06 00 00 */ lfs f0, 0(r6) /* 801CA71C 001C767C C0 89 00 30 */ lfs f4, 0x30(r9) /* 801CA720 001C7680 EC 43 00 28 */ fsubs f2, f3, f0 /* 801CA724 001C7684 C0 26 00 08 */ lfs f1, 8(r6) /* 801CA728 001C7688 EC 07 01 F2 */ fmuls f0, f7, f7 /* 801CA72C 001C768C EC C4 08 28 */ fsubs f6, f4, f1 /* 801CA730 001C7690 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 801CA734 001C7694 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801CA738 001C7698 D0 41 00 08 */ stfs f2, 8(r1) /* 801CA73C 001C769C EC 46 01 B2 */ fmuls f2, f6, f6 /* 801CA740 001C76A0 EC 01 00 2A */ fadds f0, f1, f0 /* 801CA744 001C76A4 D0 C1 00 10 */ stfs f6, 0x10(r1) /* 801CA748 001C76A8 EC 02 00 2A */ fadds f0, f2, f0 /* 801CA74C 001C76AC FC 00 58 40 */ fcmpo cr0, f0, f11 /* 801CA750 001C76B0 40 80 00 18 */ bge lbl_801CA768 /* 801CA754 001C76B4 FD 60 00 90 */ fmr f11, f0 /* 801CA758 001C76B8 FD 00 18 90 */ fmr f8, f3 /* 801CA75C 001C76BC FD 20 28 90 */ fmr f9, f5 /* 801CA760 001C76C0 FD 40 20 90 */ fmr f10, f4 /* 801CA764 001C76C4 48 00 00 0C */ b lbl_801CA770 lbl_801CA768: /* 801CA768 001C76C8 39 4A 00 04 */ addi r10, r10, 4 /* 801CA76C 001C76CC 42 00 FE E0 */ bdnz lbl_801CA64C lbl_801CA770: /* 801CA770 001C76D0 39 6B 00 50 */ addi r11, r11, 0x50 /* 801CA774 001C76D4 3B FF 00 01 */ addi r31, r31, 1 lbl_801CA778: /* 801CA778 001C76D8 81 24 01 50 */ lwz r9, 0x150(r4) /* 801CA77C 001C76DC 7C 1F 48 00 */ cmpw r31, r9 /* 801CA780 001C76E0 41 80 FE 94 */ blt lbl_801CA614 /* 801CA784 001C76E4 D1 03 00 00 */ stfs f8, 0(r3) /* 801CA788 001C76E8 D1 23 00 04 */ stfs f9, 4(r3) /* 801CA78C 001C76EC D1 43 00 08 */ stfs f10, 8(r3) /* 801CA790 001C76F0 BB 21 00 24 */ lmw r25, 0x24(r1) /* 801CA794 001C76F4 38 21 00 40 */ addi r1, r1, 0x40 /* 801CA798 001C76F8 4E 80 00 20 */ blr .global FindClosestRegion__7CPFAreaFRC9CVector3fUif FindClosestRegion__7CPFAreaFRC9CVector3fUif: /* 801CA79C 001C76FC 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801CA7A0 001C7700 7C 08 02 A6 */ mflr r0 /* 801CA7A4 001C7704 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801CA7A8 001C7708 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801CA7AC 001C770C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801CA7B0 001C7710 BE 41 00 98 */ stmw r18, 0x98(r1) /* 801CA7B4 001C7714 38 00 00 00 */ li r0, 0 /* 801CA7B8 001C7718 FF E0 08 90 */ fmr f31, f1 /* 801CA7BC 001C771C 90 01 00 08 */ stw r0, 8(r1) /* 801CA7C0 001C7720 7C 73 1B 78 */ mr r19, r3 /* 801CA7C4 001C7724 7C 94 23 78 */ mr r20, r4 /* 801CA7C8 001C7728 7C B5 2B 78 */ mr r21, r5 /* 801CA7CC 001C772C 7C D6 33 78 */ mr r22, r6 /* 801CA7D0 001C7730 3B 80 00 00 */ li r28, 0 /* 801CA7D4 001C7734 48 1B AB ED */ bl OSGetTick /* 801CA7D8 001C7738 80 73 01 58 */ lwz r3, 0x158(r19) /* 801CA7DC 001C773C FC 20 F8 90 */ fmr f1, f31 /* 801CA7E0 001C7740 80 D3 01 5C */ lwz r6, 0x15c(r19) /* 801CA7E4 001C7744 7E 85 A3 78 */ mr r5, r20 /* 801CA7E8 001C7748 38 03 FF FF */ addi r0, r3, -1 /* 801CA7EC 001C774C 38 81 00 08 */ addi r4, r1, 8 /* 801CA7F0 001C7750 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CA7F4 001C7754 3B 20 00 00 */ li r25, 0 /* 801CA7F8 001C7758 7C 66 02 14 */ add r3, r6, r0 /* 801CA7FC 001C775C 48 00 09 E9 */ bl "GetRegionListList__13CPFAreaOctreeFRQ24rstl54reserved_vector,32>RC9CVector3ff" /* 801CA800 001C7760 48 1B AB C1 */ bl OSGetTick /* 801CA804 001C7764 3B C1 00 0C */ addi r30, r1, 0xc /* 801CA808 001C7768 56 BD 07 BC */ rlwinm r29, r21, 0, 0x1e, 0x1e /* 801CA80C 001C776C 3B 60 00 00 */ li r27, 0 /* 801CA810 001C7770 48 00 01 A4 */ b lbl_801CA9B4 lbl_801CA814: /* 801CA814 001C7774 83 1E 00 00 */ lwz r24, 0(r30) /* 801CA818 001C7778 3B 40 00 00 */ li r26, 0 /* 801CA81C 001C777C 3B E0 00 00 */ li r31, 0 /* 801CA820 001C7780 48 00 01 80 */ b lbl_801CA9A0 lbl_801CA824: /* 801CA824 001C7784 80 78 00 04 */ lwz r3, 4(r24) /* 801CA828 001C7788 80 93 00 34 */ lwz r4, 0x34(r19) /* 801CA82C 001C778C 7E E3 F8 2E */ lwzx r23, r3, r31 /* 801CA830 001C7790 80 77 00 4C */ lwz r3, 0x4c(r23) /* 801CA834 001C7794 80 03 00 10 */ lwz r0, 0x10(r3) /* 801CA838 001C7798 7C 04 00 00 */ cmpw r4, r0 /* 801CA83C 001C779C 41 82 01 5C */ beq lbl_801CA998 /* 801CA840 001C77A0 80 77 00 10 */ lwz r3, 0x10(r23) /* 801CA844 001C77A4 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801CA848 001C77A8 7E A0 00 39 */ and. r0, r21, r0 /* 801CA84C 001C77AC 41 82 01 40 */ beq lbl_801CA98C /* 801CA850 001C77B0 54 60 86 3E */ rlwinm r0, r3, 0x10, 0x18, 0x1f /* 801CA854 001C77B4 7E C0 00 39 */ and. r0, r22, r0 /* 801CA858 001C77B8 41 82 01 34 */ beq lbl_801CA98C /* 801CA85C 001C77BC C0 17 00 34 */ lfs f0, 0x34(r23) /* 801CA860 001C77C0 38 00 00 00 */ li r0, 0 /* 801CA864 001C77C4 C0 34 00 00 */ lfs f1, 0(r20) /* 801CA868 001C77C8 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801CA86C 001C77CC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA870 001C77D0 4C 41 13 82 */ cror 2, 1, 2 /* 801CA874 001C77D4 40 82 00 74 */ bne lbl_801CA8E8 /* 801CA878 001C77D8 C0 17 00 40 */ lfs f0, 0x40(r23) /* 801CA87C 001C77DC EC 1F 00 2A */ fadds f0, f31, f0 /* 801CA880 001C77E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA884 001C77E4 4C 40 13 82 */ cror 2, 0, 2 /* 801CA888 001C77E8 40 82 00 60 */ bne lbl_801CA8E8 /* 801CA88C 001C77EC C0 17 00 38 */ lfs f0, 0x38(r23) /* 801CA890 001C77F0 C0 34 00 04 */ lfs f1, 4(r20) /* 801CA894 001C77F4 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801CA898 001C77F8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA89C 001C77FC 4C 41 13 82 */ cror 2, 1, 2 /* 801CA8A0 001C7800 40 82 00 48 */ bne lbl_801CA8E8 /* 801CA8A4 001C7804 C0 17 00 44 */ lfs f0, 0x44(r23) /* 801CA8A8 001C7808 EC 1F 00 2A */ fadds f0, f31, f0 /* 801CA8AC 001C780C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA8B0 001C7810 4C 40 13 82 */ cror 2, 0, 2 /* 801CA8B4 001C7814 40 82 00 34 */ bne lbl_801CA8E8 /* 801CA8B8 001C7818 C0 17 00 3C */ lfs f0, 0x3c(r23) /* 801CA8BC 001C781C C0 34 00 08 */ lfs f1, 8(r20) /* 801CA8C0 001C7820 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801CA8C4 001C7824 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA8C8 001C7828 4C 41 13 82 */ cror 2, 1, 2 /* 801CA8CC 001C782C 40 82 00 1C */ bne lbl_801CA8E8 /* 801CA8D0 001C7830 C0 17 00 48 */ lfs f0, 0x48(r23) /* 801CA8D4 001C7834 EC 1F 00 2A */ fadds f0, f31, f0 /* 801CA8D8 001C7838 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA8DC 001C783C 4C 40 13 82 */ cror 2, 0, 2 /* 801CA8E0 001C7840 40 82 00 08 */ bne lbl_801CA8E8 /* 801CA8E4 001C7844 38 00 00 01 */ li r0, 1 lbl_801CA8E8: /* 801CA8E8 001C7848 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801CA8EC 001C784C 41 82 00 A0 */ beq lbl_801CA98C /* 801CA8F0 001C7850 48 1B AA D1 */ bl OSGetTick /* 801CA8F4 001C7854 28 1D 00 00 */ cmplwi r29, 0 /* 801CA8F8 001C7858 7C 72 1B 78 */ mr r18, r3 /* 801CA8FC 001C785C 40 82 00 1C */ bne lbl_801CA918 /* 801CA900 001C7860 7E E3 BB 78 */ mr r3, r23 /* 801CA904 001C7864 7E 84 A3 78 */ mr r4, r20 /* 801CA908 001C7868 4B FF F5 55 */ bl PointHeight__9CPFRegionCFRC9CVector3f /* 801CA90C 001C786C C0 02 AB 54 */ lfs f0, lbl_805AC874@sda21(r2) /* 801CA910 001C7870 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CA914 001C7874 40 80 00 78 */ bge lbl_801CA98C lbl_801CA918: /* 801CA918 001C7878 EC 3F 07 F2 */ fmuls f1, f31, f31 /* 801CA91C 001C787C 7E E3 BB 78 */ mr r3, r23 /* 801CA920 001C7880 7E 85 A3 78 */ mr r5, r20 /* 801CA924 001C7884 7E A6 AB 78 */ mr r6, r21 /* 801CA928 001C7888 38 93 00 10 */ addi r4, r19, 0x10 /* 801CA92C 001C788C 4B FF EC 81 */ bl "FindBestPoint__9CPFRegionFRQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>RC9CVector3fUif" /* 801CA930 001C7890 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CA934 001C7894 41 82 00 4C */ beq lbl_801CA980 /* 801CA938 001C7898 80 77 00 4C */ lwz r3, 0x4c(r23) /* 801CA93C 001C789C C0 02 AB 58 */ lfs f0, lbl_805AC878@sda21(r2) /* 801CA940 001C78A0 C0 23 00 00 */ lfs f1, 0(r3) /* 801CA944 001C78A4 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801CA948 001C78A8 40 82 00 08 */ bne lbl_801CA950 /* 801CA94C 001C78AC 48 00 00 10 */ b lbl_801CA95C lbl_801CA950: /* 801CA950 001C78B0 FC 00 08 34 */ frsqrte f0, f1 /* 801CA954 001C78B4 FC 01 00 32 */ fmul f0, f1, f0 /* 801CA958 001C78B8 FC 00 00 18 */ frsp f0, f0 lbl_801CA95C: /* 801CA95C 001C78BC 80 77 00 4C */ lwz r3, 0x4c(r23) /* 801CA960 001C78C0 FF E0 00 90 */ fmr f31, f0 /* 801CA964 001C78C4 7E FC BB 78 */ mr r28, r23 /* 801CA968 001C78C8 C0 03 00 04 */ lfs f0, 4(r3) /* 801CA96C 001C78CC D0 13 00 04 */ stfs f0, 4(r19) /* 801CA970 001C78D0 C0 03 00 08 */ lfs f0, 8(r3) /* 801CA974 001C78D4 D0 13 00 08 */ stfs f0, 8(r19) /* 801CA978 001C78D8 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801CA97C 001C78DC D0 13 00 0C */ stfs f0, 0xc(r19) lbl_801CA980: /* 801CA980 001C78E0 48 1B AA 41 */ bl OSGetTick /* 801CA984 001C78E4 7C 12 18 50 */ subf r0, r18, r3 /* 801CA988 001C78E8 7F 39 02 14 */ add r25, r25, r0 lbl_801CA98C: /* 801CA98C 001C78EC 80 13 00 34 */ lwz r0, 0x34(r19) /* 801CA990 001C78F0 80 77 00 4C */ lwz r3, 0x4c(r23) /* 801CA994 001C78F4 90 03 00 10 */ stw r0, 0x10(r3) lbl_801CA998: /* 801CA998 001C78F8 3B FF 00 04 */ addi r31, r31, 4 /* 801CA99C 001C78FC 3B 5A 00 01 */ addi r26, r26, 1 lbl_801CA9A0: /* 801CA9A0 001C7900 80 18 00 00 */ lwz r0, 0(r24) /* 801CA9A4 001C7904 7C 1A 00 00 */ cmpw r26, r0 /* 801CA9A8 001C7908 41 80 FE 7C */ blt lbl_801CA824 /* 801CA9AC 001C790C 3B DE 00 04 */ addi r30, r30, 4 /* 801CA9B0 001C7910 3B 7B 00 01 */ addi r27, r27, 1 lbl_801CA9B4: /* 801CA9B4 001C7914 80 01 00 08 */ lwz r0, 8(r1) /* 801CA9B8 001C7918 7C 1B 00 00 */ cmpw r27, r0 /* 801CA9BC 001C791C 41 80 FE 58 */ blt lbl_801CA814 /* 801CA9C0 001C7920 48 1B AA 01 */ bl OSGetTick /* 801CA9C4 001C7924 80 73 00 34 */ lwz r3, 0x34(r19) /* 801CA9C8 001C7928 38 80 00 00 */ li r4, 0 /* 801CA9CC 001C792C 38 03 00 01 */ addi r0, r3, 1 /* 801CA9D0 001C7930 90 13 00 34 */ stw r0, 0x34(r19) /* 801CA9D4 001C7934 80 A1 00 08 */ lwz r5, 8(r1) /* 801CA9D8 001C7938 2C 05 00 00 */ cmpwi r5, 0 /* 801CA9DC 001C793C 40 81 00 40 */ ble lbl_801CAA1C /* 801CA9E0 001C7940 2C 05 00 08 */ cmpwi r5, 8 /* 801CA9E4 001C7944 38 65 FF F8 */ addi r3, r5, -8 /* 801CA9E8 001C7948 40 81 00 20 */ ble lbl_801CAA08 /* 801CA9EC 001C794C 38 03 00 07 */ addi r0, r3, 7 /* 801CA9F0 001C7950 54 00 E8 FE */ srwi r0, r0, 3 /* 801CA9F4 001C7954 7C 09 03 A6 */ mtctr r0 /* 801CA9F8 001C7958 2C 03 00 00 */ cmpwi r3, 0 /* 801CA9FC 001C795C 40 81 00 0C */ ble lbl_801CAA08 lbl_801CAA00: /* 801CAA00 001C7960 38 84 00 08 */ addi r4, r4, 8 /* 801CAA04 001C7964 42 00 FF FC */ bdnz lbl_801CAA00 lbl_801CAA08: /* 801CAA08 001C7968 7C 04 28 50 */ subf r0, r4, r5 /* 801CAA0C 001C796C 7C 09 03 A6 */ mtctr r0 /* 801CAA10 001C7970 7C 04 28 00 */ cmpw r4, r5 /* 801CAA14 001C7974 40 80 00 08 */ bge lbl_801CAA1C lbl_801CAA18: /* 801CAA18 001C7978 42 00 00 00 */ bdnz lbl_801CAA18 lbl_801CAA1C: /* 801CAA1C 001C797C 38 00 00 00 */ li r0, 0 /* 801CAA20 001C7980 7F 83 E3 78 */ mr r3, r28 /* 801CAA24 001C7984 90 01 00 08 */ stw r0, 8(r1) /* 801CAA28 001C7988 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801CAA2C 001C798C CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801CAA30 001C7990 BA 41 00 98 */ lmw r18, 0x98(r1) /* 801CAA34 001C7994 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801CAA38 001C7998 7C 08 03 A6 */ mtlr r0 /* 801CAA3C 001C799C 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801CAA40 001C79A0 4E 80 00 20 */ blr .global "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi" "FindRegions__7CPFAreaFRQ24rstl30reserved_vectorRC9CVector3fUiUi": /* 801CAA44 001C79A4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CAA48 001C79A8 7C 08 02 A6 */ mflr r0 /* 801CAA4C 001C79AC 90 01 00 34 */ stw r0, 0x34(r1) /* 801CAA50 001C79B0 BE C1 00 08 */ stmw r22, 8(r1) /* 801CAA54 001C79B4 7C B7 2B 78 */ mr r23, r5 /* 801CAA58 001C79B8 7C 96 23 78 */ mr r22, r4 /* 801CAA5C 001C79BC 7C D8 33 78 */ mr r24, r6 /* 801CAA60 001C79C0 7C F9 3B 78 */ mr r25, r7 /* 801CAA64 001C79C4 7E E4 BB 78 */ mr r4, r23 /* 801CAA68 001C79C8 48 00 00 D9 */ bl GetOctreeRegionList__7CPFAreaFRC9CVector3f /* 801CAA6C 001C79CC 7C 7F 1B 78 */ mr r31, r3 /* 801CAA70 001C79D0 57 1D 07 BC */ rlwinm r29, r24, 0, 0x1e, 0x1e /* 801CAA74 001C79D4 57 1C 07 7A */ rlwinm r28, r24, 0, 0x1d, 0x1d /* 801CAA78 001C79D8 3B 60 00 00 */ li r27, 0 /* 801CAA7C 001C79DC 3B C0 00 00 */ li r30, 0 /* 801CAA80 001C79E0 48 00 00 9C */ b lbl_801CAB1C lbl_801CAA84: /* 801CAA84 001C79E4 80 7F 00 04 */ lwz r3, 4(r31) /* 801CAA88 001C79E8 7F 43 F0 2E */ lwzx r26, r3, r30 /* 801CAA8C 001C79EC 80 7A 00 10 */ lwz r3, 0x10(r26) /* 801CAA90 001C79F0 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801CAA94 001C79F4 7F 00 00 39 */ and. r0, r24, r0 /* 801CAA98 001C79F8 41 82 00 7C */ beq lbl_801CAB14 /* 801CAA9C 001C79FC 54 60 86 3E */ rlwinm r0, r3, 0x10, 0x18, 0x1f /* 801CAAA0 001C7A00 7F 20 00 39 */ and. r0, r25, r0 /* 801CAAA4 001C7A04 41 82 00 70 */ beq lbl_801CAB14 /* 801CAAA8 001C7A08 7F 43 D3 78 */ mr r3, r26 /* 801CAAAC 001C7A0C 7E E4 BB 78 */ mr r4, r23 /* 801CAAB0 001C7A10 4B FF F3 F1 */ bl IsPointInside__9CPFRegionCFRC9CVector3f /* 801CAAB4 001C7A14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CAAB8 001C7A18 41 82 00 5C */ beq lbl_801CAB14 /* 801CAABC 001C7A1C 28 1D 00 00 */ cmplwi r29, 0 /* 801CAAC0 001C7A20 40 82 00 24 */ bne lbl_801CAAE4 /* 801CAAC4 001C7A24 28 1C 00 00 */ cmplwi r28, 0 /* 801CAAC8 001C7A28 40 82 00 1C */ bne lbl_801CAAE4 /* 801CAACC 001C7A2C 7F 43 D3 78 */ mr r3, r26 /* 801CAAD0 001C7A30 7E E4 BB 78 */ mr r4, r23 /* 801CAAD4 001C7A34 4B FF F3 89 */ bl PointHeight__9CPFRegionCFRC9CVector3f /* 801CAAD8 001C7A38 C0 02 AB 54 */ lfs f0, lbl_805AC874@sda21(r2) /* 801CAADC 001C7A3C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CAAE0 001C7A40 40 80 00 34 */ bge lbl_801CAB14 lbl_801CAAE4: /* 801CAAE4 001C7A44 80 16 00 00 */ lwz r0, 0(r22) /* 801CAAE8 001C7A48 54 00 10 3A */ slwi r0, r0, 2 /* 801CAAEC 001C7A4C 7C 76 02 14 */ add r3, r22, r0 /* 801CAAF0 001C7A50 34 63 00 04 */ addic. r3, r3, 4 /* 801CAAF4 001C7A54 41 82 00 08 */ beq lbl_801CAAFC /* 801CAAF8 001C7A58 93 43 00 00 */ stw r26, 0(r3) lbl_801CAAFC: /* 801CAAFC 001C7A5C 80 76 00 00 */ lwz r3, 0(r22) /* 801CAB00 001C7A60 38 03 00 01 */ addi r0, r3, 1 /* 801CAB04 001C7A64 90 16 00 00 */ stw r0, 0(r22) /* 801CAB08 001C7A68 80 16 00 00 */ lwz r0, 0(r22) /* 801CAB0C 001C7A6C 2C 00 00 04 */ cmpwi r0, 4 /* 801CAB10 001C7A70 41 82 00 18 */ beq lbl_801CAB28 lbl_801CAB14: /* 801CAB14 001C7A74 3B DE 00 04 */ addi r30, r30, 4 /* 801CAB18 001C7A78 3B 7B 00 01 */ addi r27, r27, 1 lbl_801CAB1C: /* 801CAB1C 001C7A7C 80 1F 00 00 */ lwz r0, 0(r31) /* 801CAB20 001C7A80 7C 1B 00 00 */ cmpw r27, r0 /* 801CAB24 001C7A84 41 80 FF 60 */ blt lbl_801CAA84 lbl_801CAB28: /* 801CAB28 001C7A88 80 76 00 00 */ lwz r3, 0(r22) /* 801CAB2C 001C7A8C BA C1 00 08 */ lmw r22, 8(r1) /* 801CAB30 001C7A90 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CAB34 001C7A94 7C 08 03 A6 */ mtlr r0 /* 801CAB38 001C7A98 38 21 00 30 */ addi r1, r1, 0x30 /* 801CAB3C 001C7A9C 4E 80 00 20 */ blr .global GetOctreeRegionList__7CPFAreaFRC9CVector3f GetOctreeRegionList__7CPFAreaFRC9CVector3f: /* 801CAB40 001C7AA0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CAB44 001C7AA4 7C 08 02 A6 */ mflr r0 /* 801CAB48 001C7AA8 90 01 00 14 */ stw r0, 0x14(r1) /* 801CAB4C 001C7AAC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CAB50 001C7AB0 7C 9F 23 78 */ mr r31, r4 /* 801CAB54 001C7AB4 93 C1 00 08 */ stw r30, 8(r1) /* 801CAB58 001C7AB8 7C 7E 1B 78 */ mr r30, r3 /* 801CAB5C 001C7ABC 88 03 00 30 */ lbz r0, 0x30(r3) /* 801CAB60 001C7AC0 28 00 00 00 */ cmplwi r0, 0 /* 801CAB64 001C7AC4 41 82 00 24 */ beq lbl_801CAB88 /* 801CAB68 001C7AC8 C0 22 AB 5C */ lfs f1, lbl_805AC87C@sda21(r2) /* 801CAB6C 001C7ACC 7F E3 FB 78 */ mr r3, r31 /* 801CAB70 001C7AD0 38 9E 00 24 */ addi r4, r30, 0x24 /* 801CAB74 001C7AD4 48 14 53 F1 */ bl close_enough__FRC9CVector3fRC9CVector3ff /* 801CAB78 001C7AD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CAB7C 001C7ADC 41 82 00 0C */ beq lbl_801CAB88 /* 801CAB80 001C7AE0 80 7E 00 20 */ lwz r3, 0x20(r30) /* 801CAB84 001C7AE4 48 00 00 20 */ b lbl_801CABA4 lbl_801CAB88: /* 801CAB88 001C7AE8 80 7E 01 58 */ lwz r3, 0x158(r30) /* 801CAB8C 001C7AEC 7F E4 FB 78 */ mr r4, r31 /* 801CAB90 001C7AF0 80 BE 01 5C */ lwz r5, 0x15c(r30) /* 801CAB94 001C7AF4 38 03 FF FF */ addi r0, r3, -1 /* 801CAB98 001C7AF8 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CAB9C 001C7AFC 7C 65 02 14 */ add r3, r5, r0 /* 801CABA0 001C7B00 48 00 0A C1 */ bl GetRegionList__13CPFAreaOctreeFRC9CVector3f lbl_801CABA4: /* 801CABA4 001C7B04 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CABA8 001C7B08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CABAC 001C7B0C 83 C1 00 08 */ lwz r30, 8(r1) /* 801CABB0 001C7B10 7C 08 03 A6 */ mtlr r0 /* 801CABB4 001C7B14 38 21 00 10 */ addi r1, r1, 0x10 /* 801CABB8 001C7B18 4E 80 00 20 */ blr .global "__ct__7CPFAreaFRCQ24rstl12auto_ptri" "__ct__7CPFAreaFRCQ24rstl12auto_ptri": /* 801CABBC 001C7B1C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801CABC0 001C7B20 7C 08 02 A6 */ mflr r0 /* 801CABC4 001C7B24 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801CABC8 001C7B28 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801CABCC 001C7B2C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801CABD0 001C7B30 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801CABD4 001C7B34 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801CABD8 001C7B38 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801CABDC 001C7B3C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801CABE0 001C7B40 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 801CABE4 001C7B44 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 801CABE8 001C7B48 DB 61 00 90 */ stfd f27, 0x90(r1) /* 801CABEC 001C7B4C F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 /* 801CABF0 001C7B50 DB 41 00 80 */ stfd f26, 0x80(r1) /* 801CABF4 001C7B54 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 /* 801CABF8 001C7B58 DB 21 00 70 */ stfd f25, 0x70(r1) /* 801CABFC 001C7B5C F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 /* 801CAC00 001C7B60 BF 01 00 50 */ stmw r24, 0x50(r1) /* 801CAC04 001C7B64 C0 02 AB 50 */ lfs f0, lbl_805AC870@sda21(r2) /* 801CAC08 001C7B68 7C 7F 1B 78 */ mr r31, r3 /* 801CAC0C 001C7B6C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801CAC10 001C7B70 38 00 00 00 */ li r0, 0 /* 801CAC14 001C7B74 D0 1F 00 00 */ stfs f0, 0(r31) /* 801CAC18 001C7B78 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801CAC1C 001C7B7C 7C 98 23 78 */ mr r24, r4 /* 801CAC20 001C7B80 38 7F 00 78 */ addi r3, r31, 0x78 /* 801CAC24 001C7B84 C0 05 00 00 */ lfs f0, 0(r5) /* 801CAC28 001C7B88 D0 1F 00 04 */ stfs f0, 4(r31) /* 801CAC2C 001C7B8C C0 05 00 04 */ lfs f0, 4(r5) /* 801CAC30 001C7B90 D0 1F 00 08 */ stfs f0, 8(r31) /* 801CAC34 001C7B94 C0 05 00 08 */ lfs f0, 8(r5) /* 801CAC38 001C7B98 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801CAC3C 001C7B9C 90 1F 00 14 */ stw r0, 0x14(r31) /* 801CAC40 001C7BA0 90 1F 00 18 */ stw r0, 0x18(r31) /* 801CAC44 001C7BA4 90 1F 00 1C */ stw r0, 0x1c(r31) /* 801CAC48 001C7BA8 90 1F 00 20 */ stw r0, 0x20(r31) /* 801CAC4C 001C7BAC C0 05 00 00 */ lfs f0, 0(r5) /* 801CAC50 001C7BB0 D0 1F 00 24 */ stfs f0, 0x24(r31) /* 801CAC54 001C7BB4 C0 05 00 04 */ lfs f0, 4(r5) /* 801CAC58 001C7BB8 D0 1F 00 28 */ stfs f0, 0x28(r31) /* 801CAC5C 001C7BBC C0 05 00 08 */ lfs f0, 8(r5) /* 801CAC60 001C7BC0 D0 1F 00 2C */ stfs f0, 0x2c(r31) /* 801CAC64 001C7BC4 98 1F 00 30 */ stb r0, 0x30(r31) /* 801CAC68 001C7BC8 90 1F 00 34 */ stw r0, 0x34(r31) /* 801CAC6C 001C7BCC 90 1F 00 38 */ stw r0, 0x38(r31) /* 801CAC70 001C7BD0 90 1F 00 3C */ stw r0, 0x3c(r31) /* 801CAC74 001C7BD4 90 1F 00 40 */ stw r0, 0x40(r31) /* 801CAC78 001C7BD8 90 1F 00 44 */ stw r0, 0x44(r31) /* 801CAC7C 001C7BDC 90 1F 00 48 */ stw r0, 0x48(r31) /* 801CAC80 001C7BE0 90 1F 00 4C */ stw r0, 0x4c(r31) /* 801CAC84 001C7BE4 90 1F 00 50 */ stw r0, 0x50(r31) /* 801CAC88 001C7BE8 90 1F 00 54 */ stw r0, 0x54(r31) /* 801CAC8C 001C7BEC 90 1F 00 58 */ stw r0, 0x58(r31) /* 801CAC90 001C7BF0 90 1F 00 5C */ stw r0, 0x5c(r31) /* 801CAC94 001C7BF4 90 1F 00 60 */ stw r0, 0x60(r31) /* 801CAC98 001C7BF8 90 1F 00 64 */ stw r0, 0x64(r31) /* 801CAC9C 001C7BFC 90 1F 00 68 */ stw r0, 0x68(r31) /* 801CACA0 001C7C00 90 1F 00 6C */ stw r0, 0x6c(r31) /* 801CACA4 001C7C04 90 1F 00 70 */ stw r0, 0x70(r31) /* 801CACA8 001C7C08 90 1F 00 74 */ stw r0, 0x74(r31) /* 801CACAC 001C7C0C 4B FF E1 1D */ bl __ct__11CPFOpenListFv /* 801CACB0 001C7C10 38 A0 00 00 */ li r5, 0 /* 801CACB4 001C7C14 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801CACB8 001C7C18 98 B8 00 00 */ stb r5, 0(r24) /* 801CACBC 001C7C1C 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 801CACC0 001C7C20 38 7F 01 88 */ addi r3, r31, 0x188 /* 801CACC4 001C7C24 80 18 00 04 */ lwz r0, 4(r24) /* 801CACC8 001C7C28 90 1F 01 3C */ stw r0, 0x13c(r31) /* 801CACCC 001C7C2C 90 BF 01 40 */ stw r5, 0x140(r31) /* 801CACD0 001C7C30 90 BF 01 44 */ stw r5, 0x144(r31) /* 801CACD4 001C7C34 90 BF 01 48 */ stw r5, 0x148(r31) /* 801CACD8 001C7C38 90 BF 01 4C */ stw r5, 0x14c(r31) /* 801CACDC 001C7C3C 90 BF 01 50 */ stw r5, 0x150(r31) /* 801CACE0 001C7C40 90 BF 01 54 */ stw r5, 0x154(r31) /* 801CACE4 001C7C44 90 BF 01 58 */ stw r5, 0x158(r31) /* 801CACE8 001C7C48 90 BF 01 5C */ stw r5, 0x15c(r31) /* 801CACEC 001C7C4C 90 BF 01 60 */ stw r5, 0x160(r31) /* 801CACF0 001C7C50 90 BF 01 64 */ stw r5, 0x164(r31) /* 801CACF4 001C7C54 90 BF 01 68 */ stw r5, 0x168(r31) /* 801CACF8 001C7C58 90 BF 01 6C */ stw r5, 0x16c(r31) /* 801CACFC 001C7C5C 90 BF 01 70 */ stw r5, 0x170(r31) /* 801CAD00 001C7C60 90 BF 01 74 */ stw r5, 0x174(r31) /* 801CAD04 001C7C64 90 BF 01 7C */ stw r5, 0x17c(r31) /* 801CAD08 001C7C68 90 BF 01 80 */ stw r5, 0x180(r31) /* 801CAD0C 001C7C6C 90 BF 01 84 */ stw r5, 0x184(r31) /* 801CAD10 001C7C70 48 14 7E 65 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801CAD14 001C7C74 80 9F 01 3C */ lwz r4, 0x13c(r31) /* 801CAD18 001C7C78 38 7F 01 78 */ addi r3, r31, 0x178 /* 801CAD1C 001C7C7C 80 04 00 04 */ lwz r0, 4(r4) /* 801CAD20 001C7C80 3B C4 00 08 */ addi r30, r4, 8 /* 801CAD24 001C7C84 90 1F 01 40 */ stw r0, 0x140(r31) /* 801CAD28 001C7C88 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801CAD2C 001C7C8C 93 DF 01 44 */ stw r30, 0x144(r31) /* 801CAD30 001C7C90 7F DE 02 14 */ add r30, r30, r0 /* 801CAD34 001C7C94 80 1E 00 00 */ lwz r0, 0(r30) /* 801CAD38 001C7C98 3B DE 00 04 */ addi r30, r30, 4 /* 801CAD3C 001C7C9C 7F C4 F3 78 */ mr r4, r30 /* 801CAD40 001C7CA0 90 1F 01 48 */ stw r0, 0x148(r31) /* 801CAD44 001C7CA4 54 00 20 36 */ slwi r0, r0, 4 /* 801CAD48 001C7CA8 7F DE 02 14 */ add r30, r30, r0 /* 801CAD4C 001C7CAC 90 9F 01 4C */ stw r4, 0x14c(r31) /* 801CAD50 001C7CB0 83 BE 00 00 */ lwz r29, 0(r30) /* 801CAD54 001C7CB4 3B DE 00 04 */ addi r30, r30, 4 /* 801CAD58 001C7CB8 93 BF 01 50 */ stw r29, 0x150(r31) /* 801CAD5C 001C7CBC 1C 1D 00 50 */ mulli r0, r29, 0x50 /* 801CAD60 001C7CC0 7F A4 EB 78 */ mr r4, r29 /* 801CAD64 001C7CC4 93 DF 01 54 */ stw r30, 0x154(r31) /* 801CAD68 001C7CC8 7F DE 02 14 */ add r30, r30, r0 /* 801CAD6C 001C7CCC 48 00 0B BD */ bl "reserve__Q24rstl50vector<13CPFRegionData,Q24rstl17rmemory_allocator>Fi" /* 801CAD70 001C7CD0 38 61 00 1C */ addi r3, r1, 0x1c /* 801CAD74 001C7CD4 4B FF F3 A5 */ bl __ct__13CPFRegionDataFv /* 801CAD78 001C7CD8 80 1F 01 7C */ lwz r0, 0x17c(r31) /* 801CAD7C 001C7CDC C3 E1 00 1C */ lfs f31, 0x1c(r1) /* 801CAD80 001C7CE0 7C 00 E8 00 */ cmpw r0, r29 /* 801CAD84 001C7CE4 C3 C1 00 20 */ lfs f30, 0x20(r1) /* 801CAD88 001C7CE8 C3 A1 00 24 */ lfs f29, 0x24(r1) /* 801CAD8C 001C7CEC C3 81 00 28 */ lfs f28, 0x28(r1) /* 801CAD90 001C7CF0 83 81 00 2C */ lwz r28, 0x2c(r1) /* 801CAD94 001C7CF4 C3 61 00 30 */ lfs f27, 0x30(r1) /* 801CAD98 001C7CF8 C3 41 00 34 */ lfs f26, 0x34(r1) /* 801CAD9C 001C7CFC C3 21 00 38 */ lfs f25, 0x38(r1) /* 801CADA0 001C7D00 83 61 00 3C */ lwz r27, 0x3c(r1) /* 801CADA4 001C7D04 83 41 00 40 */ lwz r26, 0x40(r1) /* 801CADA8 001C7D08 83 21 00 44 */ lwz r25, 0x44(r1) /* 801CADAC 001C7D0C 83 01 00 48 */ lwz r24, 0x48(r1) /* 801CADB0 001C7D10 41 82 00 B0 */ beq lbl_801CAE60 /* 801CADB4 001C7D14 7C 1D 00 00 */ cmpw r29, r0 /* 801CADB8 001C7D18 40 81 00 70 */ ble lbl_801CAE28 /* 801CADBC 001C7D1C 7F A4 EB 78 */ mr r4, r29 /* 801CADC0 001C7D20 38 7F 01 78 */ addi r3, r31, 0x178 /* 801CADC4 001C7D24 48 00 0B 65 */ bl "reserve__Q24rstl50vector<13CPFRegionData,Q24rstl17rmemory_allocator>Fi" /* 801CADC8 001C7D28 80 9F 01 7C */ lwz r4, 0x17c(r31) /* 801CADCC 001C7D2C 80 7F 01 84 */ lwz r3, 0x184(r31) /* 801CADD0 001C7D30 1C 04 00 30 */ mulli r0, r4, 0x30 /* 801CADD4 001C7D34 7C 84 E8 51 */ subf. r4, r4, r29 /* 801CADD8 001C7D38 7C 63 02 14 */ add r3, r3, r0 /* 801CADDC 001C7D3C 7C 89 03 A6 */ mtctr r4 /* 801CADE0 001C7D40 40 81 00 7C */ ble lbl_801CAE5C lbl_801CADE4: /* 801CADE4 001C7D44 28 03 00 00 */ cmplwi r3, 0 /* 801CADE8 001C7D48 41 82 00 34 */ beq lbl_801CAE1C /* 801CADEC 001C7D4C D3 E3 00 00 */ stfs f31, 0(r3) /* 801CADF0 001C7D50 D3 C3 00 04 */ stfs f30, 4(r3) /* 801CADF4 001C7D54 D3 A3 00 08 */ stfs f29, 8(r3) /* 801CADF8 001C7D58 D3 83 00 0C */ stfs f28, 0xc(r3) /* 801CADFC 001C7D5C 93 83 00 10 */ stw r28, 0x10(r3) /* 801CAE00 001C7D60 D3 63 00 14 */ stfs f27, 0x14(r3) /* 801CAE04 001C7D64 D3 43 00 18 */ stfs f26, 0x18(r3) /* 801CAE08 001C7D68 D3 23 00 1C */ stfs f25, 0x1c(r3) /* 801CAE0C 001C7D6C 93 63 00 20 */ stw r27, 0x20(r3) /* 801CAE10 001C7D70 93 43 00 24 */ stw r26, 0x24(r3) /* 801CAE14 001C7D74 93 23 00 28 */ stw r25, 0x28(r3) /* 801CAE18 001C7D78 93 03 00 2C */ stw r24, 0x2c(r3) lbl_801CAE1C: /* 801CAE1C 001C7D7C 38 63 00 30 */ addi r3, r3, 0x30 /* 801CAE20 001C7D80 42 00 FF C4 */ bdnz lbl_801CADE4 /* 801CAE24 001C7D84 48 00 00 38 */ b lbl_801CAE5C lbl_801CAE28: /* 801CAE28 001C7D88 1C 00 00 30 */ mulli r0, r0, 0x30 /* 801CAE2C 001C7D8C 80 9F 01 84 */ lwz r4, 0x184(r31) /* 801CAE30 001C7D90 7C 64 02 14 */ add r3, r4, r0 /* 801CAE34 001C7D94 1C 1D 00 30 */ mulli r0, r29, 0x30 /* 801CAE38 001C7D98 90 61 00 14 */ stw r3, 0x14(r1) /* 801CAE3C 001C7D9C 90 61 00 10 */ stw r3, 0x10(r1) /* 801CAE40 001C7DA0 7C 84 02 14 */ add r4, r4, r0 /* 801CAE44 001C7DA4 90 81 00 0C */ stw r4, 0xc(r1) /* 801CAE48 001C7DA8 90 81 00 08 */ stw r4, 8(r1) /* 801CAE4C 001C7DAC 48 00 00 08 */ b lbl_801CAE54 lbl_801CAE50: /* 801CAE50 001C7DB0 38 84 00 30 */ addi r4, r4, 0x30 lbl_801CAE54: /* 801CAE54 001C7DB4 7C 04 18 40 */ cmplw r4, r3 /* 801CAE58 001C7DB8 40 82 FF F8 */ bne lbl_801CAE50 lbl_801CAE5C: /* 801CAE5C 001C7DBC 93 BF 01 7C */ stw r29, 0x17c(r31) lbl_801CAE60: /* 801CAE60 001C7DC0 3B 00 00 00 */ li r24, 0 /* 801CAE64 001C7DC4 3B 20 00 00 */ li r25, 0 /* 801CAE68 001C7DC8 93 01 00 18 */ stw r24, 0x18(r1) /* 801CAE6C 001C7DCC 48 00 00 20 */ b lbl_801CAE8C lbl_801CAE70: /* 801CAE70 001C7DD0 80 1F 01 54 */ lwz r0, 0x154(r31) /* 801CAE74 001C7DD4 7F E4 FB 78 */ mr r4, r31 /* 801CAE78 001C7DD8 38 A1 00 18 */ addi r5, r1, 0x18 /* 801CAE7C 001C7DDC 7C 60 C2 14 */ add r3, r0, r24 /* 801CAE80 001C7DE0 4B FF F2 1D */ bl Fixup__9CPFRegionFR7CPFAreaRi /* 801CAE84 001C7DE4 3B 18 00 50 */ addi r24, r24, 0x50 /* 801CAE88 001C7DE8 3B 39 00 01 */ addi r25, r25, 1 lbl_801CAE8C: /* 801CAE8C 001C7DEC 7C 19 E8 00 */ cmpw r25, r29 /* 801CAE90 001C7DF0 41 80 FF E0 */ blt lbl_801CAE70 /* 801CAE94 001C7DF4 80 01 00 18 */ lwz r0, 0x18(r1) /* 801CAE98 001C7DF8 38 80 00 04 */ li r4, 4 /* 801CAE9C 001C7DFC 2C 00 00 04 */ cmpwi r0, 4 /* 801CAEA0 001C7E00 40 81 00 08 */ ble lbl_801CAEA8 /* 801CAEA4 001C7E04 7C 04 03 78 */ mr r4, r0 lbl_801CAEA8: /* 801CAEA8 001C7E08 90 81 00 18 */ stw r4, 0x18(r1) /* 801CAEAC 001C7E0C 38 7F 00 10 */ addi r3, r31, 0x10 /* 801CAEB0 001C7E10 4B E9 2E 49 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" /* 801CAEB4 001C7E14 38 1D FF FF */ addi r0, r29, -1 /* 801CAEB8 001C7E18 39 00 00 00 */ li r8, 0 /* 801CAEBC 001C7E1C 7C 7D 01 D6 */ mullw r3, r29, r0 /* 801CAEC0 001C7E20 54 60 0F FE */ srwi r0, r3, 0x1f /* 801CAEC4 001C7E24 7C 00 1A 14 */ add r0, r0, r3 /* 801CAEC8 001C7E28 7C 03 0E 70 */ srawi r3, r0, 1 /* 801CAECC 001C7E2C 38 03 00 1F */ addi r0, r3, 0x1f /* 801CAED0 001C7E30 7C 00 2E 70 */ srawi r0, r0, 5 /* 801CAED4 001C7E34 7C A0 01 94 */ addze r5, r0 /* 801CAED8 001C7E38 7C 7D E9 D6 */ mullw r3, r29, r29 /* 801CAEDC 001C7E3C 90 BF 01 68 */ stw r5, 0x168(r31) /* 801CAEE0 001C7E40 54 A4 10 3A */ slwi r4, r5, 2 /* 801CAEE4 001C7E44 93 DF 01 6C */ stw r30, 0x16c(r31) /* 801CAEE8 001C7E48 7F DE 22 14 */ add r30, r30, r4 /* 801CAEEC 001C7E4C 90 BF 01 70 */ stw r5, 0x170(r31) /* 801CAEF0 001C7E50 38 03 00 1F */ addi r0, r3, 0x1f /* 801CAEF4 001C7E54 7F C3 F3 78 */ mr r3, r30 /* 801CAEF8 001C7E58 7C 00 2E 70 */ srawi r0, r0, 5 /* 801CAEFC 001C7E5C 7F DE 22 14 */ add r30, r30, r4 /* 801CAF00 001C7E60 7C 00 01 94 */ addze r0, r0 /* 801CAF04 001C7E64 90 7F 01 74 */ stw r3, 0x174(r31) /* 801CAF08 001C7E68 7C 05 00 50 */ subf r0, r5, r0 /* 801CAF0C 001C7E6C 54 00 18 38 */ slwi r0, r0, 3 /* 801CAF10 001C7E70 7F DE 02 14 */ add r30, r30, r0 /* 801CAF14 001C7E74 80 7E 00 00 */ lwz r3, 0(r30) /* 801CAF18 001C7E78 3B DE 00 04 */ addi r30, r30, 4 /* 801CAF1C 001C7E7C 90 7F 01 60 */ stw r3, 0x160(r31) /* 801CAF20 001C7E80 2C 03 00 00 */ cmpwi r3, 0 /* 801CAF24 001C7E84 54 60 10 3A */ slwi r0, r3, 2 /* 801CAF28 001C7E88 93 DF 01 64 */ stw r30, 0x164(r31) /* 801CAF2C 001C7E8C 7F DE 02 14 */ add r30, r30, r0 /* 801CAF30 001C7E90 40 81 01 44 */ ble lbl_801CB074 /* 801CAF34 001C7E94 2C 03 00 08 */ cmpwi r3, 8 /* 801CAF38 001C7E98 38 A3 FF F8 */ addi r5, r3, -8 /* 801CAF3C 001C7E9C 40 81 01 04 */ ble lbl_801CB040 /* 801CAF40 001C7EA0 38 05 00 07 */ addi r0, r5, 7 /* 801CAF44 001C7EA4 7D 04 43 78 */ mr r4, r8 /* 801CAF48 001C7EA8 54 00 E8 FE */ srwi r0, r0, 3 /* 801CAF4C 001C7EAC 7C 09 03 A6 */ mtctr r0 /* 801CAF50 001C7EB0 2C 05 00 00 */ cmpwi r5, 0 /* 801CAF54 001C7EB4 40 81 00 EC */ ble lbl_801CB040 lbl_801CAF58: /* 801CAF58 001C7EB8 81 7F 01 64 */ lwz r11, 0x164(r31) /* 801CAF5C 001C7EBC 39 84 00 04 */ addi r12, r4, 4 /* 801CAF60 001C7EC0 81 5F 01 54 */ lwz r10, 0x154(r31) /* 801CAF64 001C7EC4 3B 04 00 08 */ addi r24, r4, 8 /* 801CAF68 001C7EC8 7C CB 20 2E */ lwzx r6, r11, r4 /* 801CAF6C 001C7ECC 3B 24 00 0C */ addi r25, r4, 0xc /* 801CAF70 001C7ED0 38 04 00 10 */ addi r0, r4, 0x10 /* 801CAF74 001C7ED4 38 A4 00 14 */ addi r5, r4, 0x14 /* 801CAF78 001C7ED8 1D 26 00 50 */ mulli r9, r6, 0x50 /* 801CAF7C 001C7EDC 38 C4 00 18 */ addi r6, r4, 0x18 /* 801CAF80 001C7EE0 38 E4 00 1C */ addi r7, r4, 0x1c /* 801CAF84 001C7EE4 39 08 00 08 */ addi r8, r8, 8 /* 801CAF88 001C7EE8 7D 2A 4A 14 */ add r9, r10, r9 /* 801CAF8C 001C7EEC 7D 2B 21 2E */ stwx r9, r11, r4 /* 801CAF90 001C7EF0 38 84 00 20 */ addi r4, r4, 0x20 /* 801CAF94 001C7EF4 81 7F 01 64 */ lwz r11, 0x164(r31) /* 801CAF98 001C7EF8 81 5F 01 54 */ lwz r10, 0x154(r31) /* 801CAF9C 001C7EFC 7D 2B 60 2E */ lwzx r9, r11, r12 /* 801CAFA0 001C7F00 1D 29 00 50 */ mulli r9, r9, 0x50 /* 801CAFA4 001C7F04 7D 2A 4A 14 */ add r9, r10, r9 /* 801CAFA8 001C7F08 7D 2B 61 2E */ stwx r9, r11, r12 /* 801CAFAC 001C7F0C 81 7F 01 64 */ lwz r11, 0x164(r31) /* 801CAFB0 001C7F10 81 5F 01 54 */ lwz r10, 0x154(r31) /* 801CAFB4 001C7F14 7D 2B C0 2E */ lwzx r9, r11, r24 /* 801CAFB8 001C7F18 1D 29 00 50 */ mulli r9, r9, 0x50 /* 801CAFBC 001C7F1C 7D 2A 4A 14 */ add r9, r10, r9 /* 801CAFC0 001C7F20 7D 2B C1 2E */ stwx r9, r11, r24 /* 801CAFC4 001C7F24 81 7F 01 64 */ lwz r11, 0x164(r31) /* 801CAFC8 001C7F28 81 5F 01 54 */ lwz r10, 0x154(r31) /* 801CAFCC 001C7F2C 7D 2B C8 2E */ lwzx r9, r11, r25 /* 801CAFD0 001C7F30 1D 29 00 50 */ mulli r9, r9, 0x50 /* 801CAFD4 001C7F34 7D 2A 4A 14 */ add r9, r10, r9 /* 801CAFD8 001C7F38 7D 2B C9 2E */ stwx r9, r11, r25 /* 801CAFDC 001C7F3C 81 7F 01 64 */ lwz r11, 0x164(r31) /* 801CAFE0 001C7F40 81 5F 01 54 */ lwz r10, 0x154(r31) /* 801CAFE4 001C7F44 7D 2B 00 2E */ lwzx r9, r11, r0 /* 801CAFE8 001C7F48 1D 29 00 50 */ mulli r9, r9, 0x50 /* 801CAFEC 001C7F4C 7D 2A 4A 14 */ add r9, r10, r9 /* 801CAFF0 001C7F50 7D 2B 01 2E */ stwx r9, r11, r0 /* 801CAFF4 001C7F54 81 5F 01 64 */ lwz r10, 0x164(r31) /* 801CAFF8 001C7F58 81 3F 01 54 */ lwz r9, 0x154(r31) /* 801CAFFC 001C7F5C 7C 0A 28 2E */ lwzx r0, r10, r5 /* 801CB000 001C7F60 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB004 001C7F64 7C 09 02 14 */ add r0, r9, r0 /* 801CB008 001C7F68 7C 0A 29 2E */ stwx r0, r10, r5 /* 801CB00C 001C7F6C 81 3F 01 64 */ lwz r9, 0x164(r31) /* 801CB010 001C7F70 80 BF 01 54 */ lwz r5, 0x154(r31) /* 801CB014 001C7F74 7C 09 30 2E */ lwzx r0, r9, r6 /* 801CB018 001C7F78 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB01C 001C7F7C 7C 05 02 14 */ add r0, r5, r0 /* 801CB020 001C7F80 7C 09 31 2E */ stwx r0, r9, r6 /* 801CB024 001C7F84 80 DF 01 64 */ lwz r6, 0x164(r31) /* 801CB028 001C7F88 80 BF 01 54 */ lwz r5, 0x154(r31) /* 801CB02C 001C7F8C 7C 06 38 2E */ lwzx r0, r6, r7 /* 801CB030 001C7F90 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB034 001C7F94 7C 05 02 14 */ add r0, r5, r0 /* 801CB038 001C7F98 7C 06 39 2E */ stwx r0, r6, r7 /* 801CB03C 001C7F9C 42 00 FF 1C */ bdnz lbl_801CAF58 lbl_801CB040: /* 801CB040 001C7FA0 7C 08 18 50 */ subf r0, r8, r3 /* 801CB044 001C7FA4 55 05 10 3A */ slwi r5, r8, 2 /* 801CB048 001C7FA8 7C 09 03 A6 */ mtctr r0 /* 801CB04C 001C7FAC 7C 08 18 00 */ cmpw r8, r3 /* 801CB050 001C7FB0 40 80 00 24 */ bge lbl_801CB074 lbl_801CB054: /* 801CB054 001C7FB4 80 9F 01 64 */ lwz r4, 0x164(r31) /* 801CB058 001C7FB8 80 7F 01 54 */ lwz r3, 0x154(r31) /* 801CB05C 001C7FBC 7C 04 28 2E */ lwzx r0, r4, r5 /* 801CB060 001C7FC0 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB064 001C7FC4 7C 03 02 14 */ add r0, r3, r0 /* 801CB068 001C7FC8 7C 04 29 2E */ stwx r0, r4, r5 /* 801CB06C 001C7FCC 38 A5 00 04 */ addi r5, r5, 4 /* 801CB070 001C7FD0 42 00 FF E4 */ bdnz lbl_801CB054 lbl_801CB074: /* 801CB074 001C7FD4 80 9E 00 00 */ lwz r4, 0(r30) /* 801CB078 001C7FD8 39 00 00 00 */ li r8, 0 /* 801CB07C 001C7FDC 38 1E 00 04 */ addi r0, r30, 4 /* 801CB080 001C7FE0 90 9F 01 58 */ stw r4, 0x158(r31) /* 801CB084 001C7FE4 7D 07 43 78 */ mr r7, r8 /* 801CB088 001C7FE8 90 1F 01 5C */ stw r0, 0x15c(r31) /* 801CB08C 001C7FEC 48 00 01 00 */ b lbl_801CB18C lbl_801CB090: /* 801CB090 001C7FF0 80 1F 01 5C */ lwz r0, 0x15c(r31) /* 801CB094 001C7FF4 7C C0 3A 14 */ add r6, r0, r7 /* 801CB098 001C7FF8 80 66 00 00 */ lwz r3, 0(r6) /* 801CB09C 001C7FFC 7C 03 00 D0 */ neg r0, r3 /* 801CB0A0 001C8000 7C 00 1B 78 */ or r0, r0, r3 /* 801CB0A4 001C8004 54 00 0F FE */ srwi r0, r0, 0x1f /* 801CB0A8 001C8008 98 06 00 00 */ stb r0, 0(r6) /* 801CB0AC 001C800C 88 06 00 00 */ lbz r0, 0(r6) /* 801CB0B0 001C8010 28 00 00 00 */ cmplwi r0, 0 /* 801CB0B4 001C8014 41 82 00 28 */ beq lbl_801CB0DC /* 801CB0B8 001C8018 80 06 00 48 */ lwz r0, 0x48(r6) /* 801CB0BC 001C801C 2C 00 00 00 */ cmpwi r0, 0 /* 801CB0C0 001C8020 41 82 00 C4 */ beq lbl_801CB184 /* 801CB0C4 001C8024 80 06 00 4C */ lwz r0, 0x4c(r6) /* 801CB0C8 001C8028 80 7F 01 64 */ lwz r3, 0x164(r31) /* 801CB0CC 001C802C 54 00 10 3A */ slwi r0, r0, 2 /* 801CB0D0 001C8030 7C 03 02 14 */ add r0, r3, r0 /* 801CB0D4 001C8034 90 06 00 4C */ stw r0, 0x4c(r6) /* 801CB0D8 001C8038 48 00 00 AC */ b lbl_801CB184 lbl_801CB0DC: /* 801CB0DC 001C803C 38 00 00 02 */ li r0, 2 /* 801CB0E0 001C8040 38 A0 00 00 */ li r5, 0 /* 801CB0E4 001C8044 7C 09 03 A6 */ mtctr r0 lbl_801CB0E8: /* 801CB0E8 001C8048 80 06 00 28 */ lwz r0, 0x28(r6) /* 801CB0EC 001C804C 2C 00 00 00 */ cmpwi r0, 0 /* 801CB0F0 001C8050 41 80 00 14 */ blt lbl_801CB104 /* 801CB0F4 001C8054 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB0F8 001C8058 80 7F 01 5C */ lwz r3, 0x15c(r31) /* 801CB0FC 001C805C 7C 03 02 14 */ add r0, r3, r0 /* 801CB100 001C8060 48 00 00 08 */ b lbl_801CB108 lbl_801CB104: /* 801CB104 001C8064 38 00 00 00 */ li r0, 0 lbl_801CB108: /* 801CB108 001C8068 90 06 00 28 */ stw r0, 0x28(r6) /* 801CB10C 001C806C 80 06 00 2C */ lwz r0, 0x2c(r6) /* 801CB110 001C8070 2C 00 00 00 */ cmpwi r0, 0 /* 801CB114 001C8074 41 80 00 14 */ blt lbl_801CB128 /* 801CB118 001C8078 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB11C 001C807C 80 7F 01 5C */ lwz r3, 0x15c(r31) /* 801CB120 001C8080 7C 03 02 14 */ add r0, r3, r0 /* 801CB124 001C8084 48 00 00 08 */ b lbl_801CB12C lbl_801CB128: /* 801CB128 001C8088 38 00 00 00 */ li r0, 0 lbl_801CB12C: /* 801CB12C 001C808C 90 06 00 2C */ stw r0, 0x2c(r6) /* 801CB130 001C8090 80 06 00 30 */ lwz r0, 0x30(r6) /* 801CB134 001C8094 2C 00 00 00 */ cmpwi r0, 0 /* 801CB138 001C8098 41 80 00 14 */ blt lbl_801CB14C /* 801CB13C 001C809C 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB140 001C80A0 80 7F 01 5C */ lwz r3, 0x15c(r31) /* 801CB144 001C80A4 7C 03 02 14 */ add r0, r3, r0 /* 801CB148 001C80A8 48 00 00 08 */ b lbl_801CB150 lbl_801CB14C: /* 801CB14C 001C80AC 38 00 00 00 */ li r0, 0 lbl_801CB150: /* 801CB150 001C80B0 90 06 00 30 */ stw r0, 0x30(r6) /* 801CB154 001C80B4 80 06 00 34 */ lwz r0, 0x34(r6) /* 801CB158 001C80B8 2C 00 00 00 */ cmpwi r0, 0 /* 801CB15C 001C80BC 41 80 00 14 */ blt lbl_801CB170 /* 801CB160 001C80C0 1C 00 00 50 */ mulli r0, r0, 0x50 /* 801CB164 001C80C4 80 7F 01 5C */ lwz r3, 0x15c(r31) /* 801CB168 001C80C8 7C 03 02 14 */ add r0, r3, r0 /* 801CB16C 001C80CC 48 00 00 08 */ b lbl_801CB174 lbl_801CB170: /* 801CB170 001C80D0 38 00 00 00 */ li r0, 0 lbl_801CB174: /* 801CB174 001C80D4 90 06 00 34 */ stw r0, 0x34(r6) /* 801CB178 001C80D8 38 C6 00 10 */ addi r6, r6, 0x10 /* 801CB17C 001C80DC 38 A5 00 03 */ addi r5, r5, 3 /* 801CB180 001C80E0 42 00 FF 68 */ bdnz lbl_801CB0E8 lbl_801CB184: /* 801CB184 001C80E4 38 E7 00 50 */ addi r7, r7, 0x50 /* 801CB188 001C80E8 39 08 00 01 */ addi r8, r8, 1 lbl_801CB18C: /* 801CB18C 001C80EC 7C 08 20 00 */ cmpw r8, r4 /* 801CB190 001C80F0 41 80 FF 00 */ blt lbl_801CB090 /* 801CB194 001C80F4 7F E3 FB 78 */ mr r3, r31 /* 801CB198 001C80F8 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801CB19C 001C80FC CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801CB1A0 001C8100 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801CB1A4 001C8104 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801CB1A8 001C8108 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801CB1AC 001C810C CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801CB1B0 001C8110 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 801CB1B4 001C8114 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 801CB1B8 001C8118 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 /* 801CB1BC 001C811C CB 61 00 90 */ lfd f27, 0x90(r1) /* 801CB1C0 001C8120 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 /* 801CB1C4 001C8124 CB 41 00 80 */ lfd f26, 0x80(r1) /* 801CB1C8 001C8128 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 /* 801CB1CC 001C812C CB 21 00 70 */ lfd f25, 0x70(r1) /* 801CB1D0 001C8130 BB 01 00 50 */ lmw r24, 0x50(r1) /* 801CB1D4 001C8134 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801CB1D8 001C8138 7C 08 03 A6 */ mtlr r0 /* 801CB1DC 001C813C 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801CB1E0 001C8140 4E 80 00 20 */ blr .global "GetRegionListList__13CPFAreaOctreeFRQ24rstl54reserved_vector,32>RC9CVector3ff" "GetRegionListList__13CPFAreaOctreeFRQ24rstl54reserved_vector,32>RC9CVector3ff": /* 801CB1E4 001C8144 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801CB1E8 001C8148 7C 08 02 A6 */ mflr r0 /* 801CB1EC 001C814C 90 01 00 64 */ stw r0, 0x64(r1) /* 801CB1F0 001C8150 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801CB1F4 001C8154 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801CB1F8 001C8158 DB C1 00 40 */ stfd f30, 0x40(r1) /* 801CB1FC 001C815C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 801CB200 001C8160 BE E1 00 1C */ stmw r23, 0x1c(r1) /* 801CB204 001C8164 7C 9B 23 78 */ mr r27, r4 /* 801CB208 001C8168 80 84 00 00 */ lwz r4, 0(r4) /* 801CB20C 001C816C FF E0 08 90 */ fmr f31, f1 /* 801CB210 001C8170 7C BC 2B 78 */ mr r28, r5 /* 801CB214 001C8174 2C 04 00 20 */ cmpwi r4, 0x20 /* 801CB218 001C8178 40 80 03 18 */ bge lbl_801CB530 /* 801CB21C 001C817C 88 03 00 00 */ lbz r0, 0(r3) /* 801CB220 001C8180 28 00 00 00 */ cmplwi r0, 0 /* 801CB224 001C8184 41 82 00 2C */ beq lbl_801CB250 /* 801CB228 001C8188 54 80 10 3A */ slwi r0, r4, 2 /* 801CB22C 001C818C 38 63 00 48 */ addi r3, r3, 0x48 /* 801CB230 001C8190 7C 9B 02 14 */ add r4, r27, r0 /* 801CB234 001C8194 34 84 00 04 */ addic. r4, r4, 4 /* 801CB238 001C8198 41 82 00 08 */ beq lbl_801CB240 /* 801CB23C 001C819C 90 64 00 00 */ stw r3, 0(r4) lbl_801CB240: /* 801CB240 001C81A0 80 7B 00 00 */ lwz r3, 0(r27) /* 801CB244 001C81A4 38 03 00 01 */ addi r0, r3, 1 /* 801CB248 001C81A8 90 1B 00 00 */ stw r0, 0(r27) /* 801CB24C 001C81AC 48 00 02 E4 */ b lbl_801CB530 lbl_801CB250: /* 801CB250 001C81B0 3B A0 00 00 */ li r29, 0 /* 801CB254 001C81B4 7C 7F 1B 78 */ mr r31, r3 lbl_801CB258: /* 801CB258 001C81B8 83 DF 00 28 */ lwz r30, 0x28(r31) /* 801CB25C 001C81BC 38 00 00 00 */ li r0, 0 /* 801CB260 001C81C0 C0 3C 00 00 */ lfs f1, 0(r28) /* 801CB264 001C81C4 C0 1E 00 04 */ lfs f0, 4(r30) /* 801CB268 001C81C8 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801CB26C 001C81CC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB270 001C81D0 4C 41 13 82 */ cror 2, 1, 2 /* 801CB274 001C81D4 40 82 00 74 */ bne lbl_801CB2E8 /* 801CB278 001C81D8 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801CB27C 001C81DC EC 1F 00 2A */ fadds f0, f31, f0 /* 801CB280 001C81E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB284 001C81E4 4C 40 13 82 */ cror 2, 0, 2 /* 801CB288 001C81E8 40 82 00 60 */ bne lbl_801CB2E8 /* 801CB28C 001C81EC C0 1E 00 08 */ lfs f0, 8(r30) /* 801CB290 001C81F0 C0 3C 00 04 */ lfs f1, 4(r28) /* 801CB294 001C81F4 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801CB298 001C81F8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB29C 001C81FC 4C 41 13 82 */ cror 2, 1, 2 /* 801CB2A0 001C8200 40 82 00 48 */ bne lbl_801CB2E8 /* 801CB2A4 001C8204 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 801CB2A8 001C8208 EC 1F 00 2A */ fadds f0, f31, f0 /* 801CB2AC 001C820C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB2B0 001C8210 4C 40 13 82 */ cror 2, 0, 2 /* 801CB2B4 001C8214 40 82 00 34 */ bne lbl_801CB2E8 /* 801CB2B8 001C8218 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801CB2BC 001C821C C0 3C 00 08 */ lfs f1, 8(r28) /* 801CB2C0 001C8220 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801CB2C4 001C8224 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB2C8 001C8228 4C 41 13 82 */ cror 2, 1, 2 /* 801CB2CC 001C822C 40 82 00 1C */ bne lbl_801CB2E8 /* 801CB2D0 001C8230 C0 1E 00 18 */ lfs f0, 0x18(r30) /* 801CB2D4 001C8234 EC 1F 00 2A */ fadds f0, f31, f0 /* 801CB2D8 001C8238 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB2DC 001C823C 4C 40 13 82 */ cror 2, 0, 2 /* 801CB2E0 001C8240 40 82 00 08 */ bne lbl_801CB2E8 /* 801CB2E4 001C8244 38 00 00 01 */ li r0, 1 lbl_801CB2E8: /* 801CB2E8 001C8248 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801CB2EC 001C824C 41 82 02 34 */ beq lbl_801CB520 /* 801CB2F0 001C8250 80 1B 00 00 */ lwz r0, 0(r27) /* 801CB2F4 001C8254 2C 00 00 20 */ cmpwi r0, 0x20 /* 801CB2F8 001C8258 40 80 02 28 */ bge lbl_801CB520 /* 801CB2FC 001C825C 88 1E 00 00 */ lbz r0, 0(r30) /* 801CB300 001C8260 28 00 00 00 */ cmplwi r0, 0 /* 801CB304 001C8264 41 82 00 38 */ beq lbl_801CB33C /* 801CB308 001C8268 38 1E 00 48 */ addi r0, r30, 0x48 /* 801CB30C 001C826C 7F 63 DB 78 */ mr r3, r27 /* 801CB310 001C8270 90 01 00 0C */ stw r0, 0xc(r1) /* 801CB314 001C8274 48 00 03 45 */ bl "data__Q24rstl54reserved_vector,32>Fv" /* 801CB318 001C8278 80 1B 00 00 */ lwz r0, 0(r27) /* 801CB31C 001C827C 38 81 00 0C */ addi r4, r1, 0xc /* 801CB320 001C8280 54 00 10 3A */ slwi r0, r0, 2 /* 801CB324 001C8284 7C 63 02 14 */ add r3, r3, r0 /* 801CB328 001C8288 48 00 03 1D */ bl sub_801cb644 /* 801CB32C 001C828C 80 7B 00 00 */ lwz r3, 0(r27) /* 801CB330 001C8290 38 03 00 01 */ addi r0, r3, 1 /* 801CB334 001C8294 90 1B 00 00 */ stw r0, 0(r27) /* 801CB338 001C8298 48 00 01 E8 */ b lbl_801CB520 lbl_801CB33C: /* 801CB33C 001C829C 3B 20 00 00 */ li r25, 0 lbl_801CB340: /* 801CB340 001C82A0 83 1E 00 28 */ lwz r24, 0x28(r30) /* 801CB344 001C82A4 3B 40 00 00 */ li r26, 0 /* 801CB348 001C82A8 38 78 00 04 */ addi r3, r24, 4 /* 801CB34C 001C82AC 48 00 02 F1 */ bl nullsub_44 /* 801CB350 001C82B0 38 80 00 00 */ li r4, 0 /* 801CB354 001C82B4 48 00 02 ED */ bl nullsub_45 /* 801CB358 001C82B8 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB35C 001C82BC 7F 83 E3 78 */ mr r3, r28 /* 801CB360 001C82C0 38 80 00 00 */ li r4, 0 /* 801CB364 001C82C4 EF C0 F8 28 */ fsubs f30, f0, f31 /* 801CB368 001C82C8 48 00 02 D9 */ bl nullsub_45 /* 801CB36C 001C82CC C0 03 00 00 */ lfs f0, 0(r3) /* 801CB370 001C82D0 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CB374 001C82D4 4C 41 13 82 */ cror 2, 1, 2 /* 801CB378 001C82D8 40 82 01 0C */ bne lbl_801CB484 /* 801CB37C 001C82DC 38 78 00 04 */ addi r3, r24, 4 /* 801CB380 001C82E0 48 00 02 B5 */ bl sub_801cb634 /* 801CB384 001C82E4 38 80 00 00 */ li r4, 0 /* 801CB388 001C82E8 48 00 02 B9 */ bl nullsub_45 /* 801CB38C 001C82EC C0 03 00 00 */ lfs f0, 0(r3) /* 801CB390 001C82F0 7F 83 E3 78 */ mr r3, r28 /* 801CB394 001C82F4 38 80 00 00 */ li r4, 0 /* 801CB398 001C82F8 EF DF 00 2A */ fadds f30, f31, f0 /* 801CB39C 001C82FC 48 00 02 A5 */ bl nullsub_45 /* 801CB3A0 001C8300 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB3A4 001C8304 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CB3A8 001C8308 4C 40 13 82 */ cror 2, 0, 2 /* 801CB3AC 001C830C 40 82 00 D8 */ bne lbl_801CB484 /* 801CB3B0 001C8310 38 78 00 04 */ addi r3, r24, 4 /* 801CB3B4 001C8314 48 00 02 89 */ bl nullsub_44 /* 801CB3B8 001C8318 38 80 00 01 */ li r4, 1 /* 801CB3BC 001C831C 48 00 02 71 */ bl sub_801cb62c /* 801CB3C0 001C8320 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB3C4 001C8324 7F 83 E3 78 */ mr r3, r28 /* 801CB3C8 001C8328 38 80 00 01 */ li r4, 1 /* 801CB3CC 001C832C EF C0 F8 28 */ fsubs f30, f0, f31 /* 801CB3D0 001C8330 48 00 02 5D */ bl sub_801cb62c /* 801CB3D4 001C8334 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB3D8 001C8338 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CB3DC 001C833C 4C 41 13 82 */ cror 2, 1, 2 /* 801CB3E0 001C8340 40 82 00 A4 */ bne lbl_801CB484 /* 801CB3E4 001C8344 38 78 00 04 */ addi r3, r24, 4 /* 801CB3E8 001C8348 48 00 02 4D */ bl sub_801cb634 /* 801CB3EC 001C834C 38 80 00 01 */ li r4, 1 /* 801CB3F0 001C8350 48 00 02 3D */ bl sub_801cb62c /* 801CB3F4 001C8354 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB3F8 001C8358 7F 83 E3 78 */ mr r3, r28 /* 801CB3FC 001C835C 38 80 00 01 */ li r4, 1 /* 801CB400 001C8360 EF DF 00 2A */ fadds f30, f31, f0 /* 801CB404 001C8364 48 00 02 29 */ bl sub_801cb62c /* 801CB408 001C8368 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB40C 001C836C FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CB410 001C8370 4C 40 13 82 */ cror 2, 0, 2 /* 801CB414 001C8374 40 82 00 70 */ bne lbl_801CB484 /* 801CB418 001C8378 38 78 00 04 */ addi r3, r24, 4 /* 801CB41C 001C837C 48 00 02 21 */ bl nullsub_44 /* 801CB420 001C8380 38 80 00 02 */ li r4, 2 /* 801CB424 001C8384 48 00 02 01 */ bl sub_801cb624 /* 801CB428 001C8388 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB42C 001C838C 7F 83 E3 78 */ mr r3, r28 /* 801CB430 001C8390 38 80 00 02 */ li r4, 2 /* 801CB434 001C8394 EF C0 F8 28 */ fsubs f30, f0, f31 /* 801CB438 001C8398 48 00 01 ED */ bl sub_801cb624 /* 801CB43C 001C839C C0 03 00 00 */ lfs f0, 0(r3) /* 801CB440 001C83A0 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CB444 001C83A4 4C 41 13 82 */ cror 2, 1, 2 /* 801CB448 001C83A8 40 82 00 3C */ bne lbl_801CB484 /* 801CB44C 001C83AC 38 78 00 04 */ addi r3, r24, 4 /* 801CB450 001C83B0 48 00 01 E5 */ bl sub_801cb634 /* 801CB454 001C83B4 38 80 00 02 */ li r4, 2 /* 801CB458 001C83B8 48 00 01 CD */ bl sub_801cb624 /* 801CB45C 001C83BC C0 03 00 00 */ lfs f0, 0(r3) /* 801CB460 001C83C0 7F 83 E3 78 */ mr r3, r28 /* 801CB464 001C83C4 38 80 00 02 */ li r4, 2 /* 801CB468 001C83C8 EF DF 00 2A */ fadds f30, f31, f0 /* 801CB46C 001C83CC 48 00 01 B9 */ bl sub_801cb624 /* 801CB470 001C83D0 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB474 001C83D4 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CB478 001C83D8 4C 40 13 82 */ cror 2, 0, 2 /* 801CB47C 001C83DC 40 82 00 08 */ bne lbl_801CB484 /* 801CB480 001C83E0 3B 40 00 01 */ li r26, 1 lbl_801CB484: /* 801CB484 001C83E4 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 801CB488 001C83E8 41 82 00 88 */ beq lbl_801CB510 /* 801CB48C 001C83EC 82 FE 00 28 */ lwz r23, 0x28(r30) /* 801CB490 001C83F0 7F 63 DB 78 */ mr r3, r27 /* 801CB494 001C83F4 48 00 01 81 */ bl "capacity__Q24rstl54reserved_vector,32>CFv" /* 801CB498 001C83F8 7C 7A 1B 78 */ mr r26, r3 /* 801CB49C 001C83FC 7F 63 DB 78 */ mr r3, r27 /* 801CB4A0 001C8400 48 00 01 7D */ bl "size__Q24rstl54reserved_vector,32>CFv" /* 801CB4A4 001C8404 7C 03 D0 00 */ cmpw r3, r26 /* 801CB4A8 001C8408 40 80 00 68 */ bge lbl_801CB510 /* 801CB4AC 001C840C 88 17 00 00 */ lbz r0, 0(r23) /* 801CB4B0 001C8410 28 00 00 00 */ cmplwi r0, 0 /* 801CB4B4 001C8414 41 82 00 1C */ beq lbl_801CB4D0 /* 801CB4B8 001C8418 38 17 00 48 */ addi r0, r23, 0x48 /* 801CB4BC 001C841C 7F 63 DB 78 */ mr r3, r27 /* 801CB4C0 001C8420 90 01 00 08 */ stw r0, 8(r1) /* 801CB4C4 001C8424 38 81 00 08 */ addi r4, r1, 8 /* 801CB4C8 001C8428 48 00 01 21 */ bl "push_back__Q24rstl54reserved_vector,32>FRCP31prereserved_vector" /* 801CB4CC 001C842C 48 00 00 44 */ b lbl_801CB510 lbl_801CB4D0: /* 801CB4D0 001C8430 3B 00 00 00 */ li r24, 0 lbl_801CB4D4: /* 801CB4D4 001C8434 FC 20 F8 90 */ fmr f1, f31 /* 801CB4D8 001C8438 80 77 00 28 */ lwz r3, 0x28(r23) /* 801CB4DC 001C843C 7F 84 E3 78 */ mr r4, r28 /* 801CB4E0 001C8440 48 00 00 75 */ bl IsPointInsidePaddedAABox__13CPFAreaOctreeCFRC9CVector3ff /* 801CB4E4 001C8444 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CB4E8 001C8448 41 82 00 18 */ beq lbl_801CB500 /* 801CB4EC 001C844C FC 20 F8 90 */ fmr f1, f31 /* 801CB4F0 001C8450 80 77 00 28 */ lwz r3, 0x28(r23) /* 801CB4F4 001C8454 7F 64 DB 78 */ mr r4, r27 /* 801CB4F8 001C8458 7F 85 E3 78 */ mr r5, r28 /* 801CB4FC 001C845C 4B FF FC E9 */ bl "GetRegionListList__13CPFAreaOctreeFRQ24rstl54reserved_vector,32>RC9CVector3ff" lbl_801CB500: /* 801CB500 001C8460 3B 18 00 01 */ addi r24, r24, 1 /* 801CB504 001C8464 3A F7 00 04 */ addi r23, r23, 4 /* 801CB508 001C8468 2C 18 00 08 */ cmpwi r24, 8 /* 801CB50C 001C846C 41 80 FF C8 */ blt lbl_801CB4D4 lbl_801CB510: /* 801CB510 001C8470 3B 39 00 01 */ addi r25, r25, 1 /* 801CB514 001C8474 3B DE 00 04 */ addi r30, r30, 4 /* 801CB518 001C8478 2C 19 00 08 */ cmpwi r25, 8 /* 801CB51C 001C847C 41 80 FE 24 */ blt lbl_801CB340 lbl_801CB520: /* 801CB520 001C8480 3B BD 00 01 */ addi r29, r29, 1 /* 801CB524 001C8484 3B FF 00 04 */ addi r31, r31, 4 /* 801CB528 001C8488 2C 1D 00 08 */ cmpwi r29, 8 /* 801CB52C 001C848C 41 80 FD 2C */ blt lbl_801CB258 lbl_801CB530: /* 801CB530 001C8490 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801CB534 001C8494 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801CB538 001C8498 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 801CB53C 001C849C CB C1 00 40 */ lfd f30, 0x40(r1) /* 801CB540 001C84A0 BA E1 00 1C */ lmw r23, 0x1c(r1) /* 801CB544 001C84A4 80 01 00 64 */ lwz r0, 0x64(r1) /* 801CB548 001C84A8 7C 08 03 A6 */ mtlr r0 /* 801CB54C 001C84AC 38 21 00 60 */ addi r1, r1, 0x60 /* 801CB550 001C84B0 4E 80 00 20 */ blr .global IsPointInsidePaddedAABox__13CPFAreaOctreeCFRC9CVector3ff IsPointInsidePaddedAABox__13CPFAreaOctreeCFRC9CVector3ff: /* 801CB554 001C84B4 C0 03 00 04 */ lfs f0, 4(r3) /* 801CB558 001C84B8 38 00 00 00 */ li r0, 0 /* 801CB55C 001C84BC C0 44 00 00 */ lfs f2, 0(r4) /* 801CB560 001C84C0 EC 00 08 28 */ fsubs f0, f0, f1 /* 801CB564 001C84C4 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB568 001C84C8 4C 41 13 82 */ cror 2, 1, 2 /* 801CB56C 001C84CC 40 82 00 74 */ bne lbl_801CB5E0 /* 801CB570 001C84D0 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801CB574 001C84D4 EC 01 00 2A */ fadds f0, f1, f0 /* 801CB578 001C84D8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB57C 001C84DC 4C 40 13 82 */ cror 2, 0, 2 /* 801CB580 001C84E0 40 82 00 60 */ bne lbl_801CB5E0 /* 801CB584 001C84E4 C0 03 00 08 */ lfs f0, 8(r3) /* 801CB588 001C84E8 C0 44 00 04 */ lfs f2, 4(r4) /* 801CB58C 001C84EC EC 00 08 28 */ fsubs f0, f0, f1 /* 801CB590 001C84F0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB594 001C84F4 4C 41 13 82 */ cror 2, 1, 2 /* 801CB598 001C84F8 40 82 00 48 */ bne lbl_801CB5E0 /* 801CB59C 001C84FC C0 03 00 14 */ lfs f0, 0x14(r3) /* 801CB5A0 001C8500 EC 01 00 2A */ fadds f0, f1, f0 /* 801CB5A4 001C8504 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB5A8 001C8508 4C 40 13 82 */ cror 2, 0, 2 /* 801CB5AC 001C850C 40 82 00 34 */ bne lbl_801CB5E0 /* 801CB5B0 001C8510 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801CB5B4 001C8514 C0 44 00 08 */ lfs f2, 8(r4) /* 801CB5B8 001C8518 EC 00 08 28 */ fsubs f0, f0, f1 /* 801CB5BC 001C851C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB5C0 001C8520 4C 41 13 82 */ cror 2, 1, 2 /* 801CB5C4 001C8524 40 82 00 1C */ bne lbl_801CB5E0 /* 801CB5C8 001C8528 C0 03 00 18 */ lfs f0, 0x18(r3) /* 801CB5CC 001C852C EC 01 00 2A */ fadds f0, f1, f0 /* 801CB5D0 001C8530 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB5D4 001C8534 4C 40 13 82 */ cror 2, 0, 2 /* 801CB5D8 001C8538 40 82 00 08 */ bne lbl_801CB5E0 /* 801CB5DC 001C853C 38 00 00 01 */ li r0, 1 lbl_801CB5E0: /* 801CB5E0 001C8540 7C 03 03 78 */ mr r3, r0 /* 801CB5E4 001C8544 4E 80 00 20 */ blr .global "push_back__Q24rstl54reserved_vector,32>FRCP31prereserved_vector" "push_back__Q24rstl54reserved_vector,32>FRCP31prereserved_vector": /* 801CB5E8 001C8548 80 03 00 00 */ lwz r0, 0(r3) /* 801CB5EC 001C854C 54 00 10 3A */ slwi r0, r0, 2 /* 801CB5F0 001C8550 7C A3 02 14 */ add r5, r3, r0 /* 801CB5F4 001C8554 34 A5 00 04 */ addic. r5, r5, 4 /* 801CB5F8 001C8558 41 82 00 0C */ beq lbl_801CB604 /* 801CB5FC 001C855C 80 04 00 00 */ lwz r0, 0(r4) /* 801CB600 001C8560 90 05 00 00 */ stw r0, 0(r5) lbl_801CB604: /* 801CB604 001C8564 80 83 00 00 */ lwz r4, 0(r3) /* 801CB608 001C8568 38 04 00 01 */ addi r0, r4, 1 /* 801CB60C 001C856C 90 03 00 00 */ stw r0, 0(r3) /* 801CB610 001C8570 4E 80 00 20 */ blr .global "capacity__Q24rstl54reserved_vector,32>CFv" "capacity__Q24rstl54reserved_vector,32>CFv": /* 801CB614 001C8574 38 60 00 20 */ li r3, 0x20 /* 801CB618 001C8578 4E 80 00 20 */ blr .global "size__Q24rstl54reserved_vector,32>CFv" "size__Q24rstl54reserved_vector,32>CFv": /* 801CB61C 001C857C 80 63 00 00 */ lwz r3, 0(r3) /* 801CB620 001C8580 4E 80 00 20 */ blr .global sub_801cb624 sub_801cb624: /* 801CB624 001C8584 38 63 00 08 */ addi r3, r3, 8 /* 801CB628 001C8588 4E 80 00 20 */ blr .global sub_801cb62c sub_801cb62c: /* 801CB62C 001C858C 38 63 00 04 */ addi r3, r3, 4 /* 801CB630 001C8590 4E 80 00 20 */ blr .global sub_801cb634 sub_801cb634: /* 801CB634 001C8594 38 63 00 0C */ addi r3, r3, 0xc /* 801CB638 001C8598 4E 80 00 20 */ blr .global nullsub_44 nullsub_44: /* 801CB63C 001C859C 4E 80 00 20 */ blr .global nullsub_45 nullsub_45: /* 801CB640 001C85A0 4E 80 00 20 */ blr .global sub_801cb644 sub_801cb644: /* 801CB644 001C85A4 28 03 00 00 */ cmplwi r3, 0 /* 801CB648 001C85A8 4D 82 00 20 */ beqlr /* 801CB64C 001C85AC 80 04 00 00 */ lwz r0, 0(r4) /* 801CB650 001C85B0 90 03 00 00 */ stw r0, 0(r3) /* 801CB654 001C85B4 4E 80 00 20 */ blr .global "data__Q24rstl54reserved_vector,32>Fv" "data__Q24rstl54reserved_vector,32>Fv": /* 801CB658 001C85B8 38 63 00 04 */ addi r3, r3, 4 /* 801CB65C 001C85BC 4E 80 00 20 */ blr .global GetRegionList__13CPFAreaOctreeFRC9CVector3f GetRegionList__13CPFAreaOctreeFRC9CVector3f: /* 801CB660 001C85C0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CB664 001C85C4 7C 08 02 A6 */ mflr r0 /* 801CB668 001C85C8 90 01 00 34 */ stw r0, 0x34(r1) /* 801CB66C 001C85CC DB E1 00 20 */ stfd f31, 0x20(r1) /* 801CB670 001C85D0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801CB674 001C85D4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801CB678 001C85D8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801CB67C 001C85DC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801CB680 001C85E0 88 03 00 00 */ lbz r0, 0(r3) /* 801CB684 001C85E4 7C 9F 23 78 */ mr r31, r4 /* 801CB688 001C85E8 28 00 00 00 */ cmplwi r0, 0 /* 801CB68C 001C85EC 41 82 00 0C */ beq lbl_801CB698 /* 801CB690 001C85F0 38 63 00 48 */ addi r3, r3, 0x48 /* 801CB694 001C85F4 48 00 02 28 */ b lbl_801CB8BC lbl_801CB698: /* 801CB698 001C85F8 C0 3F 00 00 */ lfs f1, 0(r31) /* 801CB69C 001C85FC 38 00 00 00 */ li r0, 0 /* 801CB6A0 001C8600 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801CB6A4 001C8604 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB6A8 001C8608 40 81 00 08 */ ble lbl_801CB6B0 /* 801CB6AC 001C860C 38 00 00 01 */ li r0, 1 lbl_801CB6B0: /* 801CB6B0 001C8610 C0 5F 00 04 */ lfs f2, 4(r31) /* 801CB6B4 001C8614 C0 03 00 20 */ lfs f0, 0x20(r3) /* 801CB6B8 001C8618 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB6BC 001C861C 40 81 00 08 */ ble lbl_801CB6C4 /* 801CB6C0 001C8620 60 00 00 02 */ ori r0, r0, 2 lbl_801CB6C4: /* 801CB6C4 001C8624 C0 7F 00 08 */ lfs f3, 8(r31) /* 801CB6C8 001C8628 C0 03 00 24 */ lfs f0, 0x24(r3) /* 801CB6CC 001C862C FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801CB6D0 001C8630 40 81 00 08 */ ble lbl_801CB6D8 /* 801CB6D4 001C8634 60 00 00 04 */ ori r0, r0, 4 lbl_801CB6D8: /* 801CB6D8 001C8638 54 00 10 3A */ slwi r0, r0, 2 /* 801CB6DC 001C863C 7C 63 02 14 */ add r3, r3, r0 /* 801CB6E0 001C8640 80 63 00 28 */ lwz r3, 0x28(r3) /* 801CB6E4 001C8644 88 03 00 00 */ lbz r0, 0(r3) /* 801CB6E8 001C8648 28 00 00 00 */ cmplwi r0, 0 /* 801CB6EC 001C864C 41 82 00 0C */ beq lbl_801CB6F8 /* 801CB6F0 001C8650 38 63 00 48 */ addi r3, r3, 0x48 /* 801CB6F4 001C8654 48 00 01 C8 */ b lbl_801CB8BC lbl_801CB6F8: /* 801CB6F8 001C8658 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801CB6FC 001C865C 38 00 00 00 */ li r0, 0 /* 801CB700 001C8660 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB704 001C8664 40 81 00 08 */ ble lbl_801CB70C /* 801CB708 001C8668 38 00 00 01 */ li r0, 1 lbl_801CB70C: /* 801CB70C 001C866C C0 03 00 20 */ lfs f0, 0x20(r3) /* 801CB710 001C8670 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB714 001C8674 40 81 00 08 */ ble lbl_801CB71C /* 801CB718 001C8678 60 00 00 02 */ ori r0, r0, 2 lbl_801CB71C: /* 801CB71C 001C867C C0 03 00 24 */ lfs f0, 0x24(r3) /* 801CB720 001C8680 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801CB724 001C8684 40 81 00 08 */ ble lbl_801CB72C /* 801CB728 001C8688 60 00 00 04 */ ori r0, r0, 4 lbl_801CB72C: /* 801CB72C 001C868C 54 00 10 3A */ slwi r0, r0, 2 /* 801CB730 001C8690 7C 63 02 14 */ add r3, r3, r0 /* 801CB734 001C8694 80 63 00 28 */ lwz r3, 0x28(r3) /* 801CB738 001C8698 88 03 00 00 */ lbz r0, 0(r3) /* 801CB73C 001C869C 28 00 00 00 */ cmplwi r0, 0 /* 801CB740 001C86A0 41 82 00 0C */ beq lbl_801CB74C /* 801CB744 001C86A4 38 63 00 48 */ addi r3, r3, 0x48 /* 801CB748 001C86A8 48 00 01 74 */ b lbl_801CB8BC lbl_801CB74C: /* 801CB74C 001C86AC C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801CB750 001C86B0 38 00 00 00 */ li r0, 0 /* 801CB754 001C86B4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB758 001C86B8 40 81 00 08 */ ble lbl_801CB760 /* 801CB75C 001C86BC 38 00 00 01 */ li r0, 1 lbl_801CB760: /* 801CB760 001C86C0 C0 03 00 20 */ lfs f0, 0x20(r3) /* 801CB764 001C86C4 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB768 001C86C8 40 81 00 08 */ ble lbl_801CB770 /* 801CB76C 001C86CC 60 00 00 02 */ ori r0, r0, 2 lbl_801CB770: /* 801CB770 001C86D0 C0 03 00 24 */ lfs f0, 0x24(r3) /* 801CB774 001C86D4 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801CB778 001C86D8 40 81 00 08 */ ble lbl_801CB780 /* 801CB77C 001C86DC 60 00 00 04 */ ori r0, r0, 4 lbl_801CB780: /* 801CB780 001C86E0 54 00 10 3A */ slwi r0, r0, 2 /* 801CB784 001C86E4 7C 63 02 14 */ add r3, r3, r0 /* 801CB788 001C86E8 80 63 00 28 */ lwz r3, 0x28(r3) /* 801CB78C 001C86EC 88 03 00 00 */ lbz r0, 0(r3) /* 801CB790 001C86F0 28 00 00 00 */ cmplwi r0, 0 /* 801CB794 001C86F4 41 82 00 0C */ beq lbl_801CB7A0 /* 801CB798 001C86F8 38 63 00 48 */ addi r3, r3, 0x48 /* 801CB79C 001C86FC 48 00 01 20 */ b lbl_801CB8BC lbl_801CB7A0: /* 801CB7A0 001C8700 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801CB7A4 001C8704 38 00 00 00 */ li r0, 0 /* 801CB7A8 001C8708 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB7AC 001C870C 40 81 00 08 */ ble lbl_801CB7B4 /* 801CB7B0 001C8710 38 00 00 01 */ li r0, 1 lbl_801CB7B4: /* 801CB7B4 001C8714 C0 03 00 20 */ lfs f0, 0x20(r3) /* 801CB7B8 001C8718 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801CB7BC 001C871C 40 81 00 08 */ ble lbl_801CB7C4 /* 801CB7C0 001C8720 60 00 00 02 */ ori r0, r0, 2 lbl_801CB7C4: /* 801CB7C4 001C8724 C0 03 00 24 */ lfs f0, 0x24(r3) /* 801CB7C8 001C8728 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801CB7CC 001C872C 40 81 00 08 */ ble lbl_801CB7D4 /* 801CB7D0 001C8730 60 00 00 04 */ ori r0, r0, 4 lbl_801CB7D4: /* 801CB7D4 001C8734 54 00 10 3A */ slwi r0, r0, 2 /* 801CB7D8 001C8738 7C 63 02 14 */ add r3, r3, r0 /* 801CB7DC 001C873C 83 C3 00 28 */ lwz r30, 0x28(r3) /* 801CB7E0 001C8740 88 1E 00 00 */ lbz r0, 0(r30) /* 801CB7E4 001C8744 28 00 00 00 */ cmplwi r0, 0 /* 801CB7E8 001C8748 41 82 00 0C */ beq lbl_801CB7F4 /* 801CB7EC 001C874C 38 7E 00 48 */ addi r3, r30, 0x48 /* 801CB7F0 001C8750 48 00 00 CC */ b lbl_801CB8BC lbl_801CB7F4: /* 801CB7F4 001C8754 38 7E 00 1C */ addi r3, r30, 0x1c /* 801CB7F8 001C8758 3B A0 00 00 */ li r29, 0 /* 801CB7FC 001C875C 38 80 00 00 */ li r4, 0 /* 801CB800 001C8760 4B FF FE 41 */ bl nullsub_45 /* 801CB804 001C8764 C3 E3 00 00 */ lfs f31, 0(r3) /* 801CB808 001C8768 7F E3 FB 78 */ mr r3, r31 /* 801CB80C 001C876C 38 80 00 00 */ li r4, 0 /* 801CB810 001C8770 4B FF FE 31 */ bl nullsub_45 /* 801CB814 001C8774 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB818 001C8778 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801CB81C 001C877C 40 81 00 08 */ ble lbl_801CB824 /* 801CB820 001C8780 3B A0 00 01 */ li r29, 1 lbl_801CB824: /* 801CB824 001C8784 38 7E 00 1C */ addi r3, r30, 0x1c /* 801CB828 001C8788 38 80 00 01 */ li r4, 1 /* 801CB82C 001C878C 4B FF FE 01 */ bl sub_801cb62c /* 801CB830 001C8790 C3 E3 00 00 */ lfs f31, 0(r3) /* 801CB834 001C8794 7F E3 FB 78 */ mr r3, r31 /* 801CB838 001C8798 38 80 00 01 */ li r4, 1 /* 801CB83C 001C879C 4B FF FD F1 */ bl sub_801cb62c /* 801CB840 001C87A0 C0 03 00 00 */ lfs f0, 0(r3) /* 801CB844 001C87A4 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801CB848 001C87A8 40 81 00 08 */ ble lbl_801CB850 /* 801CB84C 001C87AC 63 BD 00 02 */ ori r29, r29, 2 lbl_801CB850: /* 801CB850 001C87B0 38 7E 00 1C */ addi r3, r30, 0x1c /* 801CB854 001C87B4 38 80 00 02 */ li r4, 2 /* 801CB858 001C87B8 4B FF FD CD */ bl sub_801cb624 /* 801CB85C 001C87BC C3 E3 00 00 */ lfs f31, 0(r3) /* 801CB860 001C87C0 7F E3 FB 78 */ mr r3, r31 /* 801CB864 001C87C4 38 80 00 02 */ li r4, 2 /* 801CB868 001C87C8 4B FF FD BD */ bl sub_801cb624 /* 801CB86C 001C87CC C0 03 00 00 */ lfs f0, 0(r3) /* 801CB870 001C87D0 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801CB874 001C87D4 40 81 00 08 */ ble lbl_801CB87C /* 801CB878 001C87D8 63 BD 00 04 */ ori r29, r29, 4 lbl_801CB87C: /* 801CB87C 001C87DC 57 A0 10 3A */ slwi r0, r29, 2 /* 801CB880 001C87E0 7C 7E 02 14 */ add r3, r30, r0 /* 801CB884 001C87E4 83 A3 00 28 */ lwz r29, 0x28(r3) /* 801CB888 001C87E8 88 1D 00 00 */ lbz r0, 0(r29) /* 801CB88C 001C87EC 28 00 00 00 */ cmplwi r0, 0 /* 801CB890 001C87F0 41 82 00 0C */ beq lbl_801CB89C /* 801CB894 001C87F4 38 7D 00 48 */ addi r3, r29, 0x48 /* 801CB898 001C87F8 48 00 00 24 */ b lbl_801CB8BC lbl_801CB89C: /* 801CB89C 001C87FC 7F A3 EB 78 */ mr r3, r29 /* 801CB8A0 001C8800 7F E4 FB 78 */ mr r4, r31 /* 801CB8A4 001C8804 48 00 00 3D */ bl GetChildIndex__13CPFAreaOctreeCFRC9CVector3f /* 801CB8A8 001C8808 54 60 10 3A */ slwi r0, r3, 2 /* 801CB8AC 001C880C 7F E4 FB 78 */ mr r4, r31 /* 801CB8B0 001C8810 7C 7D 02 14 */ add r3, r29, r0 /* 801CB8B4 001C8814 80 63 00 28 */ lwz r3, 0x28(r3) /* 801CB8B8 001C8818 4B FF FD A9 */ bl GetRegionList__13CPFAreaOctreeFRC9CVector3f lbl_801CB8BC: /* 801CB8BC 001C881C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801CB8C0 001C8820 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CB8C4 001C8824 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801CB8C8 001C8828 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801CB8CC 001C882C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801CB8D0 001C8830 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801CB8D4 001C8834 7C 08 03 A6 */ mtlr r0 /* 801CB8D8 001C8838 38 21 00 30 */ addi r1, r1, 0x30 /* 801CB8DC 001C883C 4E 80 00 20 */ blr .global GetChildIndex__13CPFAreaOctreeCFRC9CVector3f GetChildIndex__13CPFAreaOctreeCFRC9CVector3f: /* 801CB8E0 001C8840 C0 24 00 00 */ lfs f1, 0(r4) /* 801CB8E4 001C8844 38 00 00 00 */ li r0, 0 /* 801CB8E8 001C8848 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801CB8EC 001C884C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB8F0 001C8850 40 81 00 08 */ ble lbl_801CB8F8 /* 801CB8F4 001C8854 38 00 00 01 */ li r0, 1 lbl_801CB8F8: /* 801CB8F8 001C8858 C0 24 00 04 */ lfs f1, 4(r4) /* 801CB8FC 001C885C C0 03 00 20 */ lfs f0, 0x20(r3) /* 801CB900 001C8860 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB904 001C8864 40 81 00 08 */ ble lbl_801CB90C /* 801CB908 001C8868 60 00 00 02 */ ori r0, r0, 2 lbl_801CB90C: /* 801CB90C 001C886C C0 24 00 08 */ lfs f1, 8(r4) /* 801CB910 001C8870 C0 03 00 24 */ lfs f0, 0x24(r3) /* 801CB914 001C8874 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CB918 001C8878 40 81 00 08 */ ble lbl_801CB920 /* 801CB91C 001C887C 60 00 00 04 */ ori r0, r0, 4 lbl_801CB920: /* 801CB920 001C8880 7C 03 03 78 */ mr r3, r0 /* 801CB924 001C8884 4E 80 00 20 */ blr .global "reserve__Q24rstl50vector<13CPFRegionData,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl50vector<13CPFRegionData,Q24rstl17rmemory_allocator>Fi": /* 801CB928 001C8888 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CB92C 001C888C 7C 08 02 A6 */ mflr r0 /* 801CB930 001C8890 90 01 00 34 */ stw r0, 0x34(r1) /* 801CB934 001C8894 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CB938 001C8898 7C 9F 23 78 */ mr r31, r4 /* 801CB93C 001C889C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801CB940 001C88A0 7C 7E 1B 78 */ mr r30, r3 /* 801CB944 001C88A4 93 A1 00 24 */ stw r29, 0x24(r1) /* 801CB948 001C88A8 80 03 00 08 */ lwz r0, 8(r3) /* 801CB94C 001C88AC 7C 1F 00 00 */ cmpw r31, r0 /* 801CB950 001C88B0 40 81 01 04 */ ble lbl_801CBA54 /* 801CB954 001C88B4 1C 7F 00 30 */ mulli r3, r31, 0x30 /* 801CB958 001C88B8 2C 03 00 00 */ cmpwi r3, 0 /* 801CB95C 001C88BC 40 82 00 0C */ bne lbl_801CB968 /* 801CB960 001C88C0 3B A0 00 00 */ li r29, 0 /* 801CB964 001C88C4 48 00 00 18 */ b lbl_801CB97C lbl_801CB968: /* 801CB968 001C88C8 3C 80 80 3D */ lis r4, lbl_803D1AA0@ha /* 801CB96C 001C88CC 38 A0 00 00 */ li r5, 0 /* 801CB970 001C88D0 38 84 1A A0 */ addi r4, r4, lbl_803D1AA0@l /* 801CB974 001C88D4 48 14 9E A5 */ bl __nwa__FUlPCcPCc /* 801CB978 001C88D8 7C 7D 1B 78 */ mr r29, r3 lbl_801CB97C: /* 801CB97C 001C88DC 80 1E 00 04 */ lwz r0, 4(r30) /* 801CB980 001C88E0 7F A4 EB 78 */ mr r4, r29 /* 801CB984 001C88E4 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801CB988 001C88E8 1C 00 00 30 */ mulli r0, r0, 0x30 /* 801CB98C 001C88EC 90 A1 00 10 */ stw r5, 0x10(r1) /* 801CB990 001C88F0 7C 65 02 14 */ add r3, r5, r0 /* 801CB994 001C88F4 90 A1 00 14 */ stw r5, 0x14(r1) /* 801CB998 001C88F8 90 61 00 08 */ stw r3, 8(r1) /* 801CB99C 001C88FC 90 61 00 0C */ stw r3, 0xc(r1) /* 801CB9A0 001C8900 48 00 00 74 */ b lbl_801CBA14 lbl_801CB9A4: /* 801CB9A4 001C8904 28 04 00 00 */ cmplwi r4, 0 /* 801CB9A8 001C8908 41 82 00 64 */ beq lbl_801CBA0C /* 801CB9AC 001C890C C0 05 00 00 */ lfs f0, 0(r5) /* 801CB9B0 001C8910 D0 04 00 00 */ stfs f0, 0(r4) /* 801CB9B4 001C8914 C0 05 00 04 */ lfs f0, 4(r5) /* 801CB9B8 001C8918 D0 04 00 04 */ stfs f0, 4(r4) /* 801CB9BC 001C891C C0 05 00 08 */ lfs f0, 8(r5) /* 801CB9C0 001C8920 D0 04 00 08 */ stfs f0, 8(r4) /* 801CB9C4 001C8924 C0 05 00 0C */ lfs f0, 0xc(r5) /* 801CB9C8 001C8928 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801CB9CC 001C892C 80 05 00 10 */ lwz r0, 0x10(r5) /* 801CB9D0 001C8930 90 04 00 10 */ stw r0, 0x10(r4) /* 801CB9D4 001C8934 C0 05 00 14 */ lfs f0, 0x14(r5) /* 801CB9D8 001C8938 D0 04 00 14 */ stfs f0, 0x14(r4) /* 801CB9DC 001C893C C0 05 00 18 */ lfs f0, 0x18(r5) /* 801CB9E0 001C8940 D0 04 00 18 */ stfs f0, 0x18(r4) /* 801CB9E4 001C8944 C0 05 00 1C */ lfs f0, 0x1c(r5) /* 801CB9E8 001C8948 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 801CB9EC 001C894C 80 05 00 20 */ lwz r0, 0x20(r5) /* 801CB9F0 001C8950 90 04 00 20 */ stw r0, 0x20(r4) /* 801CB9F4 001C8954 80 05 00 24 */ lwz r0, 0x24(r5) /* 801CB9F8 001C8958 90 04 00 24 */ stw r0, 0x24(r4) /* 801CB9FC 001C895C 80 05 00 28 */ lwz r0, 0x28(r5) /* 801CBA00 001C8960 90 04 00 28 */ stw r0, 0x28(r4) /* 801CBA04 001C8964 80 05 00 2C */ lwz r0, 0x2c(r5) /* 801CBA08 001C8968 90 04 00 2C */ stw r0, 0x2c(r4) lbl_801CBA0C: /* 801CBA0C 001C896C 38 84 00 30 */ addi r4, r4, 0x30 /* 801CBA10 001C8970 38 A5 00 30 */ addi r5, r5, 0x30 lbl_801CBA14: /* 801CBA14 001C8974 7C 05 18 40 */ cmplw r5, r3 /* 801CBA18 001C8978 40 82 FF 8C */ bne lbl_801CB9A4 /* 801CBA1C 001C897C 80 1E 00 04 */ lwz r0, 4(r30) /* 801CBA20 001C8980 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801CBA24 001C8984 1C 00 00 30 */ mulli r0, r0, 0x30 /* 801CBA28 001C8988 7C 64 1B 78 */ mr r4, r3 /* 801CBA2C 001C898C 7C 03 02 14 */ add r0, r3, r0 /* 801CBA30 001C8990 48 00 00 08 */ b lbl_801CBA38 lbl_801CBA34: /* 801CBA34 001C8994 38 84 00 30 */ addi r4, r4, 0x30 lbl_801CBA38: /* 801CBA38 001C8998 7C 04 00 40 */ cmplw r4, r0 /* 801CBA3C 001C899C 40 82 FF F8 */ bne lbl_801CBA34 /* 801CBA40 001C89A0 28 03 00 00 */ cmplwi r3, 0 /* 801CBA44 001C89A4 41 82 00 08 */ beq lbl_801CBA4C /* 801CBA48 001C89A8 48 14 9E E9 */ bl Free__7CMemoryFPCv lbl_801CBA4C: /* 801CBA4C 001C89AC 93 BE 00 0C */ stw r29, 0xc(r30) /* 801CBA50 001C89B0 93 FE 00 08 */ stw r31, 8(r30) lbl_801CBA54: /* 801CBA54 001C89B4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CBA58 001C89B8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CBA5C 001C89BC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801CBA60 001C89C0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801CBA64 001C89C4 7C 08 03 A6 */ mtlr r0 /* 801CBA68 001C89C8 38 21 00 30 */ addi r1, r1, 0x30 /* 801CBA6C 001C89CC 4E 80 00 20 */ blr .global RemainingPathDistance__15CPathFindSearchCFR9CVector3f RemainingPathDistance__15CPathFindSearchCFR9CVector3f: /* 801CBA70 001C89D0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801CBA74 001C89D4 7C 08 02 A6 */ mflr r0 /* 801CBA78 001C89D8 90 01 00 44 */ stw r0, 0x44(r1) /* 801CBA7C 001C89DC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801CBA80 001C89E0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801CBA84 001C89E4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CBA88 001C89E8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801CBA8C 001C89EC 93 A1 00 24 */ stw r29, 0x24(r1) /* 801CBA90 001C89F0 93 81 00 20 */ stw r28, 0x20(r1) /* 801CBA94 001C89F4 7C 7C 1B 78 */ mr r28, r3 /* 801CBA98 001C89F8 C3 E2 AB 60 */ lfs f31, lbl_805AC880@sda21(r2) /* 801CBA9C 001C89FC 83 E3 00 04 */ lwz r31, 4(r3) /* 801CBAA0 001C8A00 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801CBAA4 001C8A04 38 1F FF FF */ addi r0, r31, -1 /* 801CBAA8 001C8A08 7C 03 00 00 */ cmpw r3, r0 /* 801CBAAC 001C8A0C 40 80 00 C0 */ bge lbl_801CBB6C /* 801CBAB0 001C8A10 38 03 00 01 */ addi r0, r3, 1 /* 801CBAB4 001C8A14 3B BC 00 08 */ addi r29, r28, 8 /* 801CBAB8 001C8A18 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CBABC 001C8A1C C0 84 00 04 */ lfs f4, 4(r4) /* 801CBAC0 001C8A20 C0 44 00 08 */ lfs f2, 8(r4) /* 801CBAC4 001C8A24 38 61 00 14 */ addi r3, r1, 0x14 /* 801CBAC8 001C8A28 C0 04 00 00 */ lfs f0, 0(r4) /* 801CBACC 001C8A2C 7C 9D 02 14 */ add r4, r29, r0 /* 801CBAD0 001C8A30 C0 A4 00 04 */ lfs f5, 4(r4) /* 801CBAD4 001C8A34 C0 64 00 08 */ lfs f3, 8(r4) /* 801CBAD8 001C8A38 C0 24 00 00 */ lfs f1, 0(r4) /* 801CBADC 001C8A3C EC 85 20 28 */ fsubs f4, f5, f4 /* 801CBAE0 001C8A40 EC 43 10 28 */ fsubs f2, f3, f2 /* 801CBAE4 001C8A44 EC 01 00 28 */ fsubs f0, f1, f0 /* 801CBAE8 001C8A48 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801CBAEC 001C8A4C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CBAF0 001C8A50 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801CBAF4 001C8A54 48 14 8D C5 */ bl Magnitude__9CVector3fCFv /* 801CBAF8 001C8A58 80 7C 00 C8 */ lwz r3, 0xc8(r28) /* 801CBAFC 001C8A5C EF FF 08 2A */ fadds f31, f31, f1 /* 801CBB00 001C8A60 3B FF FF FF */ addi r31, r31, -1 /* 801CBB04 001C8A64 3B 83 00 01 */ addi r28, r3, 1 /* 801CBB08 001C8A68 1C 1C 00 0C */ mulli r0, r28, 0xc /* 801CBB0C 001C8A6C 7F DD 02 14 */ add r30, r29, r0 /* 801CBB10 001C8A70 48 00 00 54 */ b lbl_801CBB64 lbl_801CBB14: /* 801CBB14 001C8A74 38 1C 00 01 */ addi r0, r28, 1 /* 801CBB18 001C8A78 C0 9E 00 04 */ lfs f4, 4(r30) /* 801CBB1C 001C8A7C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CBB20 001C8A80 C0 5E 00 08 */ lfs f2, 8(r30) /* 801CBB24 001C8A84 C0 1E 00 00 */ lfs f0, 0(r30) /* 801CBB28 001C8A88 38 61 00 08 */ addi r3, r1, 8 /* 801CBB2C 001C8A8C 7C 9D 02 14 */ add r4, r29, r0 /* 801CBB30 001C8A90 C0 A4 00 04 */ lfs f5, 4(r4) /* 801CBB34 001C8A94 C0 64 00 08 */ lfs f3, 8(r4) /* 801CBB38 001C8A98 C0 24 00 00 */ lfs f1, 0(r4) /* 801CBB3C 001C8A9C EC 85 20 28 */ fsubs f4, f5, f4 /* 801CBB40 001C8AA0 EC 43 10 28 */ fsubs f2, f3, f2 /* 801CBB44 001C8AA4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801CBB48 001C8AA8 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801CBB4C 001C8AAC D0 01 00 08 */ stfs f0, 8(r1) /* 801CBB50 001C8AB0 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801CBB54 001C8AB4 48 14 8D 65 */ bl Magnitude__9CVector3fCFv /* 801CBB58 001C8AB8 EF FF 08 2A */ fadds f31, f31, f1 /* 801CBB5C 001C8ABC 3B DE 00 0C */ addi r30, r30, 0xc /* 801CBB60 001C8AC0 3B 9C 00 01 */ addi r28, r28, 1 lbl_801CBB64: /* 801CBB64 001C8AC4 7C 1C F8 00 */ cmpw r28, r31 /* 801CBB68 001C8AC8 41 80 FF AC */ blt lbl_801CBB14 lbl_801CBB6C: /* 801CBB6C 001C8ACC FC 20 F8 90 */ fmr f1, f31 /* 801CBB70 001C8AD0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801CBB74 001C8AD4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801CBB78 001C8AD8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801CBB7C 001C8ADC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CBB80 001C8AE0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801CBB84 001C8AE4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801CBB88 001C8AE8 83 81 00 20 */ lwz r28, 0x20(r1) /* 801CBB8C 001C8AEC 7C 08 03 A6 */ mtlr r0 /* 801CBB90 001C8AF0 38 21 00 40 */ addi r1, r1, 0x40 /* 801CBB94 001C8AF4 4E 80 00 20 */ blr .global GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3ff GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3ff: /* 801CBB98 001C8AF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CBB9C 001C8AFC 7C 08 02 A6 */ mflr r0 /* 801CBBA0 001C8B00 90 01 00 14 */ stw r0, 0x14(r1) /* 801CBBA4 001C8B04 80 C3 00 C8 */ lwz r6, 0xc8(r3) /* 801CBBA8 001C8B08 48 00 00 15 */ bl GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3fif /* 801CBBAC 001C8B0C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CBBB0 001C8B10 7C 08 03 A6 */ mtlr r0 /* 801CBBB4 001C8B14 38 21 00 10 */ addi r1, r1, 0x10 /* 801CBBB8 001C8B18 4E 80 00 20 */ blr .global GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3fif GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3fif: /* 801CBBBC 001C8B1C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801CBBC0 001C8B20 7C 08 02 A6 */ mflr r0 /* 801CBBC4 001C8B24 90 01 00 64 */ stw r0, 0x64(r1) /* 801CBBC8 001C8B28 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801CBBCC 001C8B2C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801CBBD0 001C8B30 BF 21 00 34 */ stmw r25, 0x34(r1) /* 801CBBD4 001C8B34 7C 79 1B 78 */ mr r25, r3 /* 801CBBD8 001C8B38 FF E0 08 90 */ fmr f31, f1 /* 801CBBDC 001C8B3C 83 E3 00 04 */ lwz r31, 4(r3) /* 801CBBE0 001C8B40 7C 9A 23 78 */ mr r26, r4 /* 801CBBE4 001C8B44 7C BB 2B 78 */ mr r27, r5 /* 801CBBE8 001C8B48 7C DC 33 78 */ mr r28, r6 /* 801CBBEC 001C8B4C 2C 1F 00 01 */ cmpwi r31, 1 /* 801CBBF0 001C8B50 40 81 01 A0 */ ble lbl_801CBD90 /* 801CBBF4 001C8B54 38 1F FF FF */ addi r0, r31, -1 /* 801CBBF8 001C8B58 7C 1C 00 00 */ cmpw r28, r0 /* 801CBBFC 001C8B5C 40 80 01 94 */ bge lbl_801CBD90 /* 801CBC00 001C8B60 38 1C 00 01 */ addi r0, r28, 1 /* 801CBC04 001C8B64 38 B9 00 08 */ addi r5, r25, 8 /* 801CBC08 001C8B68 1C 9C 00 0C */ mulli r4, r28, 0xc /* 801CBC0C 001C8B6C 38 61 00 20 */ addi r3, r1, 0x20 /* 801CBC10 001C8B70 7F C5 22 14 */ add r30, r5, r4 /* 801CBC14 001C8B74 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CBC18 001C8B78 C0 9E 00 04 */ lfs f4, 4(r30) /* 801CBC1C 001C8B7C C0 5E 00 08 */ lfs f2, 8(r30) /* 801CBC20 001C8B80 C0 1E 00 00 */ lfs f0, 0(r30) /* 801CBC24 001C8B84 7F A5 02 14 */ add r29, r5, r0 /* 801CBC28 001C8B88 C0 BD 00 04 */ lfs f5, 4(r29) /* 801CBC2C 001C8B8C C0 7D 00 08 */ lfs f3, 8(r29) /* 801CBC30 001C8B90 C0 3D 00 00 */ lfs f1, 0(r29) /* 801CBC34 001C8B94 EC 85 20 28 */ fsubs f4, f5, f4 /* 801CBC38 001C8B98 EC 43 10 28 */ fsubs f2, f3, f2 /* 801CBC3C 001C8B9C EC 01 00 28 */ fsubs f0, f1, f0 /* 801CBC40 001C8BA0 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801CBC44 001C8BA4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CBC48 001C8BA8 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801CBC4C 001C8BAC 48 14 8B 41 */ bl IsMagnitudeSafe__9CVector3fCFv /* 801CBC50 001C8BB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CBC54 001C8BB4 41 82 01 24 */ beq lbl_801CBD78 /* 801CBC58 001C8BB8 38 61 00 20 */ addi r3, r1, 0x20 /* 801CBC5C 001C8BBC 48 14 8C 5D */ bl Magnitude__9CVector3fCFv /* 801CBC60 001C8BC0 C0 02 AB 64 */ lfs f0, lbl_805AC884@sda21(r2) /* 801CBC64 001C8BC4 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801CBC68 001C8BC8 ED 20 08 24 */ fdivs f9, f0, f1 /* 801CBC6C 001C8BCC C0 C1 00 20 */ lfs f6, 0x20(r1) /* 801CBC70 001C8BD0 C0 81 00 28 */ lfs f4, 0x28(r1) /* 801CBC74 001C8BD4 C1 7B 00 04 */ lfs f11, 4(r27) /* 801CBC78 001C8BD8 C0 1E 00 04 */ lfs f0, 4(r30) /* 801CBC7C 001C8BDC C1 5B 00 00 */ lfs f10, 0(r27) /* 801CBC80 001C8BE0 EC A2 02 72 */ fmuls f5, f2, f9 /* 801CBC84 001C8BE4 C0 7E 00 00 */ lfs f3, 0(r30) /* 801CBC88 001C8BE8 EC EB 00 28 */ fsubs f7, f11, f0 /* 801CBC8C 001C8BEC C1 9B 00 08 */ lfs f12, 8(r27) /* 801CBC90 001C8BF0 EC C6 02 72 */ fmuls f6, f6, f9 /* 801CBC94 001C8BF4 C0 5E 00 08 */ lfs f2, 8(r30) /* 801CBC98 001C8BF8 ED 0A 18 28 */ fsubs f8, f10, f3 /* 801CBC9C 001C8BFC D0 A1 00 24 */ stfs f5, 0x24(r1) /* 801CBCA0 001C8C00 EC 07 01 72 */ fmuls f0, f7, f5 /* 801CBCA4 001C8C04 EC 64 02 72 */ fmuls f3, f4, f9 /* 801CBCA8 001C8C08 D0 C1 00 20 */ stfs f6, 0x20(r1) /* 801CBCAC 001C8C0C EC 4C 10 28 */ fsubs f2, f12, f2 /* 801CBCB0 001C8C10 EC 08 01 BA */ fmadds f0, f8, f6, f0 /* 801CBCB4 001C8C14 D1 01 00 08 */ stfs f8, 8(r1) /* 801CBCB8 001C8C18 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801CBCBC 001C8C1C EC 82 00 FA */ fmadds f4, f2, f3, f0 /* 801CBCC0 001C8C20 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 801CBCC4 001C8C24 EC 04 F8 2A */ fadds f0, f4, f31 /* 801CBCC8 001C8C28 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801CBCCC 001C8C2C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801CBCD0 001C8C30 4C 40 13 82 */ cror 2, 0, 2 /* 801CBCD4 001C8C34 40 82 00 40 */ bne lbl_801CBD14 /* 801CBCD8 001C8C38 EC 5F 01 B2 */ fmuls f2, f31, f6 /* 801CBCDC 001C8C3C 7F 23 CB 78 */ mr r3, r25 /* 801CBCE0 001C8C40 EC 3F 01 72 */ fmuls f1, f31, f5 /* 801CBCE4 001C8C44 7F 44 D3 78 */ mr r4, r26 /* 801CBCE8 001C8C48 EC 1F 00 F2 */ fmuls f0, f31, f3 /* 801CBCEC 001C8C4C 7F 86 E3 78 */ mr r6, r28 /* 801CBCF0 001C8C50 EC 4A 10 2A */ fadds f2, f10, f2 /* 801CBCF4 001C8C54 38 A1 00 14 */ addi r5, r1, 0x14 /* 801CBCF8 001C8C58 EC 2B 08 2A */ fadds f1, f11, f1 /* 801CBCFC 001C8C5C EC 0C 00 2A */ fadds f0, f12, f0 /* 801CBD00 001C8C60 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801CBD04 001C8C64 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801CBD08 001C8C68 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801CBD0C 001C8C6C 48 00 00 C5 */ bl GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3fi /* 801CBD10 001C8C70 48 00 00 80 */ b lbl_801CBD90 lbl_801CBD14: /* 801CBD14 001C8C74 EC 01 20 28 */ fsubs f0, f1, f4 /* 801CBD18 001C8C78 38 1F FF FE */ addi r0, r31, -2 /* 801CBD1C 001C8C7C 7C 1C 00 00 */ cmpw r28, r0 /* 801CBD20 001C8C80 EF FF 00 28 */ fsubs f31, f31, f0 /* 801CBD24 001C8C84 40 80 00 20 */ bge lbl_801CBD44 /* 801CBD28 001C8C88 FC 20 F8 90 */ fmr f1, f31 /* 801CBD2C 001C8C8C 7F 23 CB 78 */ mr r3, r25 /* 801CBD30 001C8C90 7F 44 D3 78 */ mr r4, r26 /* 801CBD34 001C8C94 7F A5 EB 78 */ mr r5, r29 /* 801CBD38 001C8C98 38 DC 00 01 */ addi r6, r28, 1 /* 801CBD3C 001C8C9C 4B FF FE 81 */ bl GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3fif /* 801CBD40 001C8CA0 48 00 00 50 */ b lbl_801CBD90 lbl_801CBD44: /* 801CBD44 001C8CA4 EC 1F 01 B2 */ fmuls f0, f31, f6 /* 801CBD48 001C8CA8 C0 3D 00 00 */ lfs f1, 0(r29) /* 801CBD4C 001C8CAC EC 9F 01 72 */ fmuls f4, f31, f5 /* 801CBD50 001C8CB0 C0 BD 00 04 */ lfs f5, 4(r29) /* 801CBD54 001C8CB4 EC 5F 00 F2 */ fmuls f2, f31, f3 /* 801CBD58 001C8CB8 C0 7D 00 08 */ lfs f3, 8(r29) /* 801CBD5C 001C8CBC EC 01 00 2A */ fadds f0, f1, f0 /* 801CBD60 001C8CC0 EC 85 20 2A */ fadds f4, f5, f4 /* 801CBD64 001C8CC4 EC 23 10 2A */ fadds f1, f3, f2 /* 801CBD68 001C8CC8 D0 1A 00 00 */ stfs f0, 0(r26) /* 801CBD6C 001C8CCC D0 9A 00 04 */ stfs f4, 4(r26) /* 801CBD70 001C8CD0 D0 3A 00 08 */ stfs f1, 8(r26) /* 801CBD74 001C8CD4 48 00 00 1C */ b lbl_801CBD90 lbl_801CBD78: /* 801CBD78 001C8CD8 C0 1D 00 00 */ lfs f0, 0(r29) /* 801CBD7C 001C8CDC D0 1A 00 00 */ stfs f0, 0(r26) /* 801CBD80 001C8CE0 C0 1D 00 04 */ lfs f0, 4(r29) /* 801CBD84 001C8CE4 D0 1A 00 04 */ stfs f0, 4(r26) /* 801CBD88 001C8CE8 C0 1D 00 08 */ lfs f0, 8(r29) /* 801CBD8C 001C8CEC D0 1A 00 08 */ stfs f0, 8(r26) lbl_801CBD90: /* 801CBD90 001C8CF0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801CBD94 001C8CF4 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801CBD98 001C8CF8 BB 21 00 34 */ lmw r25, 0x34(r1) /* 801CBD9C 001C8CFC 80 01 00 64 */ lwz r0, 0x64(r1) /* 801CBDA0 001C8D00 7C 08 03 A6 */ mtlr r0 /* 801CBDA4 001C8D04 38 21 00 60 */ addi r1, r1, 0x60 /* 801CBDA8 001C8D08 4E 80 00 20 */ blr .global GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3f GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3f: /* 801CBDAC 001C8D0C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CBDB0 001C8D10 7C 08 02 A6 */ mflr r0 /* 801CBDB4 001C8D14 90 01 00 14 */ stw r0, 0x14(r1) /* 801CBDB8 001C8D18 80 C3 00 C8 */ lwz r6, 0xc8(r3) /* 801CBDBC 001C8D1C 48 00 00 15 */ bl GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3fi /* 801CBDC0 001C8D20 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CBDC4 001C8D24 7C 08 03 A6 */ mtlr r0 /* 801CBDC8 001C8D28 38 21 00 10 */ addi r1, r1, 0x10 /* 801CBDCC 001C8D2C 4E 80 00 20 */ blr .global GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3fi GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3fi: /* 801CBDD0 001C8D30 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801CBDD4 001C8D34 7C 08 02 A6 */ mflr r0 /* 801CBDD8 001C8D38 90 01 00 94 */ stw r0, 0x94(r1) /* 801CBDDC 001C8D3C 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801CBDE0 001C8D40 93 C1 00 88 */ stw r30, 0x88(r1) /* 801CBDE4 001C8D44 7C BE 2B 78 */ mr r30, r5 /* 801CBDE8 001C8D48 93 A1 00 84 */ stw r29, 0x84(r1) /* 801CBDEC 001C8D4C 7C 9D 23 78 */ mr r29, r4 /* 801CBDF0 001C8D50 93 81 00 80 */ stw r28, 0x80(r1) /* 801CBDF4 001C8D54 80 E3 00 04 */ lwz r7, 4(r3) /* 801CBDF8 001C8D58 2C 07 00 01 */ cmpwi r7, 1 /* 801CBDFC 001C8D5C 40 81 02 28 */ ble lbl_801CC024 /* 801CBE00 001C8D60 38 07 FF FF */ addi r0, r7, -1 /* 801CBE04 001C8D64 7C 06 00 00 */ cmpw r6, r0 /* 801CBE08 001C8D68 40 80 02 1C */ bge lbl_801CC024 /* 801CBE0C 001C8D6C 2C 06 00 00 */ cmpwi r6, 0 /* 801CBE10 001C8D70 40 82 00 58 */ bne lbl_801CBE68 /* 801CBE14 001C8D74 C0 62 AB 68 */ lfs f3, lbl_805AC888@sda21(r2) /* 801CBE18 001C8D78 39 01 00 38 */ addi r8, r1, 0x38 /* 801CBE1C 001C8D7C C0 43 00 0C */ lfs f2, 0xc(r3) /* 801CBE20 001C8D80 C0 23 00 10 */ lfs f1, 0x10(r3) /* 801CBE24 001C8D84 C0 03 00 08 */ lfs f0, 8(r3) /* 801CBE28 001C8D88 EC A3 00 B2 */ fmuls f5, f3, f2 /* 801CBE2C 001C8D8C EC 83 00 72 */ fmuls f4, f3, f1 /* 801CBE30 001C8D90 C0 43 00 18 */ lfs f2, 0x18(r3) /* 801CBE34 001C8D94 EC 63 00 32 */ fmuls f3, f3, f0 /* 801CBE38 001C8D98 C0 23 00 1C */ lfs f1, 0x1c(r3) /* 801CBE3C 001C8D9C C0 03 00 14 */ lfs f0, 0x14(r3) /* 801CBE40 001C8DA0 EC 45 10 28 */ fsubs f2, f5, f2 /* 801CBE44 001C8DA4 EC 24 08 28 */ fsubs f1, f4, f1 /* 801CBE48 001C8DA8 D0 61 00 44 */ stfs f3, 0x44(r1) /* 801CBE4C 001C8DAC EC 03 00 28 */ fsubs f0, f3, f0 /* 801CBE50 001C8DB0 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 801CBE54 001C8DB4 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 801CBE58 001C8DB8 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801CBE5C 001C8DBC D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801CBE60 001C8DC0 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801CBE64 001C8DC4 48 00 00 14 */ b lbl_801CBE78 lbl_801CBE68: /* 801CBE68 001C8DC8 38 06 FF FF */ addi r0, r6, -1 /* 801CBE6C 001C8DCC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CBE70 001C8DD0 7D 03 02 14 */ add r8, r3, r0 /* 801CBE74 001C8DD4 39 08 00 08 */ addi r8, r8, 8 lbl_801CBE78: /* 801CBE78 001C8DD8 C0 08 00 00 */ lfs f0, 0(r8) /* 801CBE7C 001C8DDC 38 06 00 02 */ addi r0, r6, 2 /* 801CBE80 001C8DE0 38 86 00 01 */ addi r4, r6, 1 /* 801CBE84 001C8DE4 39 23 00 08 */ addi r9, r3, 8 /* 801CBE88 001C8DE8 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801CBE8C 001C8DEC 1C A6 00 0C */ mulli r5, r6, 0xc /* 801CBE90 001C8DF0 7C 00 38 00 */ cmpw r0, r7 /* 801CBE94 001C8DF4 C0 08 00 04 */ lfs f0, 4(r8) /* 801CBE98 001C8DF8 1C 64 00 0C */ mulli r3, r4, 0xc /* 801CBE9C 001C8DFC D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801CBEA0 001C8E00 7F E9 2A 14 */ add r31, r9, r5 /* 801CBEA4 001C8E04 C0 08 00 08 */ lfs f0, 8(r8) /* 801CBEA8 001C8E08 7F 89 1A 14 */ add r28, r9, r3 /* 801CBEAC 001C8E0C D0 01 00 70 */ stfs f0, 0x70(r1) /* 801CBEB0 001C8E10 41 80 00 70 */ blt lbl_801CBF20 /* 801CBEB4 001C8E14 38 07 FF FF */ addi r0, r7, -1 /* 801CBEB8 001C8E18 38 67 FF FE */ addi r3, r7, -2 /* 801CBEBC 001C8E1C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CBEC0 001C8E20 C0 62 AB 68 */ lfs f3, lbl_805AC888@sda21(r2) /* 801CBEC4 001C8E24 38 A1 00 20 */ addi r5, r1, 0x20 /* 801CBEC8 001C8E28 7C 89 02 14 */ add r4, r9, r0 /* 801CBECC 001C8E2C 1C 03 00 0C */ mulli r0, r3, 0xc /* 801CBED0 001C8E30 C0 44 00 04 */ lfs f2, 4(r4) /* 801CBED4 001C8E34 C0 24 00 08 */ lfs f1, 8(r4) /* 801CBED8 001C8E38 C0 04 00 00 */ lfs f0, 0(r4) /* 801CBEDC 001C8E3C EC A3 00 B2 */ fmuls f5, f3, f2 /* 801CBEE0 001C8E40 7C 69 02 14 */ add r3, r9, r0 /* 801CBEE4 001C8E44 EC 83 00 72 */ fmuls f4, f3, f1 /* 801CBEE8 001C8E48 C0 43 00 04 */ lfs f2, 4(r3) /* 801CBEEC 001C8E4C EC 63 00 32 */ fmuls f3, f3, f0 /* 801CBEF0 001C8E50 C0 23 00 08 */ lfs f1, 8(r3) /* 801CBEF4 001C8E54 C0 03 00 00 */ lfs f0, 0(r3) /* 801CBEF8 001C8E58 EC 45 10 28 */ fsubs f2, f5, f2 /* 801CBEFC 001C8E5C EC 24 08 28 */ fsubs f1, f4, f1 /* 801CBF00 001C8E60 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801CBF04 001C8E64 EC 03 00 28 */ fsubs f0, f3, f0 /* 801CBF08 001C8E68 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801CBF0C 001C8E6C D0 81 00 34 */ stfs f4, 0x34(r1) /* 801CBF10 001C8E70 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CBF14 001C8E74 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801CBF18 001C8E78 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801CBF1C 001C8E7C 48 00 00 0C */ b lbl_801CBF28 lbl_801CBF20: /* 801CBF20 001C8E80 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CBF24 001C8E84 7C A9 02 14 */ add r5, r9, r0 lbl_801CBF28: /* 801CBF28 001C8E88 C0 05 00 00 */ lfs f0, 0(r5) /* 801CBF2C 001C8E8C 38 61 00 50 */ addi r3, r1, 0x50 /* 801CBF30 001C8E90 C0 3C 00 04 */ lfs f1, 4(r28) /* 801CBF34 001C8E94 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801CBF38 001C8E98 C0 1F 00 04 */ lfs f0, 4(r31) /* 801CBF3C 001C8E9C C0 65 00 04 */ lfs f3, 4(r5) /* 801CBF40 001C8EA0 C0 5C 00 08 */ lfs f2, 8(r28) /* 801CBF44 001C8EA4 EC 81 00 28 */ fsubs f4, f1, f0 /* 801CBF48 001C8EA8 C0 1F 00 08 */ lfs f0, 8(r31) /* 801CBF4C 001C8EAC D0 61 00 60 */ stfs f3, 0x60(r1) /* 801CBF50 001C8EB0 C0 3C 00 00 */ lfs f1, 0(r28) /* 801CBF54 001C8EB4 EC 62 00 28 */ fsubs f3, f2, f0 /* 801CBF58 001C8EB8 C0 45 00 08 */ lfs f2, 8(r5) /* 801CBF5C 001C8EBC C0 1F 00 00 */ lfs f0, 0(r31) /* 801CBF60 001C8EC0 D0 41 00 64 */ stfs f2, 0x64(r1) /* 801CBF64 001C8EC4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801CBF68 001C8EC8 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801CBF6C 001C8ECC D0 01 00 50 */ stfs f0, 0x50(r1) /* 801CBF70 001C8ED0 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801CBF74 001C8ED4 48 14 88 19 */ bl IsMagnitudeSafe__9CVector3fCFv /* 801CBF78 001C8ED8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CBF7C 001C8EDC 41 82 00 90 */ beq lbl_801CC00C /* 801CBF80 001C8EE0 C0 3E 00 04 */ lfs f1, 4(r30) /* 801CBF84 001C8EE4 7F E5 FB 78 */ mr r5, r31 /* 801CBF88 001C8EE8 C0 1F 00 04 */ lfs f0, 4(r31) /* 801CBF8C 001C8EEC 7F 86 E3 78 */ mr r6, r28 /* 801CBF90 001C8EF0 C0 61 00 54 */ lfs f3, 0x54(r1) /* 801CBF94 001C8EF4 38 61 00 08 */ addi r3, r1, 8 /* 801CBF98 001C8EF8 EC A1 00 28 */ fsubs f5, f1, f0 /* 801CBF9C 001C8EFC C0 5E 00 00 */ lfs f2, 0(r30) /* 801CBFA0 001C8F00 C0 3F 00 00 */ lfs f1, 0(r31) /* 801CBFA4 001C8F04 EC 03 00 F2 */ fmuls f0, f3, f3 /* 801CBFA8 001C8F08 C0 C1 00 50 */ lfs f6, 0x50(r1) /* 801CBFAC 001C8F0C 38 81 00 68 */ addi r4, r1, 0x68 /* 801CBFB0 001C8F10 EC 42 08 28 */ fsubs f2, f2, f1 /* 801CBFB4 001C8F14 C0 9E 00 08 */ lfs f4, 8(r30) /* 801CBFB8 001C8F18 EC 25 00 F2 */ fmuls f1, f5, f3 /* 801CBFBC 001C8F1C C0 7F 00 08 */ lfs f3, 8(r31) /* 801CBFC0 001C8F20 EC 06 01 BA */ fmadds f0, f6, f6, f0 /* 801CBFC4 001C8F24 C0 E1 00 58 */ lfs f7, 0x58(r1) /* 801CBFC8 001C8F28 EC 64 18 28 */ fsubs f3, f4, f3 /* 801CBFCC 001C8F2C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801CBFD0 001C8F30 EC 22 09 BA */ fmadds f1, f2, f6, f1 /* 801CBFD4 001C8F34 38 E1 00 5C */ addi r7, r1, 0x5c /* 801CBFD8 001C8F38 EC 07 01 FA */ fmadds f0, f7, f7, f0 /* 801CBFDC 001C8F3C D0 A1 00 18 */ stfs f5, 0x18(r1) /* 801CBFE0 001C8F40 EC 23 09 FA */ fmadds f1, f3, f7, f1 /* 801CBFE4 001C8F44 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 801CBFE8 001C8F48 EC 21 00 24 */ fdivs f1, f1, f0 /* 801CBFEC 001C8F4C 48 14 90 D9 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 801CBFF0 001C8F50 C0 01 00 08 */ lfs f0, 8(r1) /* 801CBFF4 001C8F54 D0 1D 00 00 */ stfs f0, 0(r29) /* 801CBFF8 001C8F58 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801CBFFC 001C8F5C D0 1D 00 04 */ stfs f0, 4(r29) /* 801CC000 001C8F60 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801CC004 001C8F64 D0 1D 00 08 */ stfs f0, 8(r29) /* 801CC008 001C8F68 48 00 00 1C */ b lbl_801CC024 lbl_801CC00C: /* 801CC00C 001C8F6C C0 1F 00 00 */ lfs f0, 0(r31) /* 801CC010 001C8F70 D0 1D 00 00 */ stfs f0, 0(r29) /* 801CC014 001C8F74 C0 1F 00 04 */ lfs f0, 4(r31) /* 801CC018 001C8F78 D0 1D 00 04 */ stfs f0, 4(r29) /* 801CC01C 001C8F7C C0 1F 00 08 */ lfs f0, 8(r31) /* 801CC020 001C8F80 D0 1D 00 08 */ stfs f0, 8(r29) lbl_801CC024: /* 801CC024 001C8F84 80 01 00 94 */ lwz r0, 0x94(r1) /* 801CC028 001C8F88 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801CC02C 001C8F8C 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801CC030 001C8F90 83 A1 00 84 */ lwz r29, 0x84(r1) /* 801CC034 001C8F94 83 81 00 80 */ lwz r28, 0x80(r1) /* 801CC038 001C8F98 7C 08 03 A6 */ mtlr r0 /* 801CC03C 001C8F9C 38 21 00 90 */ addi r1, r1, 0x90 /* 801CC040 001C8FA0 4E 80 00 20 */ blr .global SegmentOver__15CPathFindSearchCFRC9CVector3f SegmentOver__15CPathFindSearchCFRC9CVector3f: /* 801CC044 001C8FA4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CC048 001C8FA8 38 00 00 01 */ li r0, 1 /* 801CC04C 001C8FAC 80 A3 00 04 */ lwz r5, 4(r3) /* 801CC050 001C8FB0 2C 05 00 01 */ cmpwi r5, 1 /* 801CC054 001C8FB4 40 81 00 CC */ ble lbl_801CC120 /* 801CC058 001C8FB8 80 C3 00 C8 */ lwz r6, 0xc8(r3) /* 801CC05C 001C8FBC 38 A5 FF FF */ addi r5, r5, -1 /* 801CC060 001C8FC0 7C 06 28 00 */ cmpw r6, r5 /* 801CC064 001C8FC4 40 80 00 BC */ bge lbl_801CC120 /* 801CC068 001C8FC8 38 06 00 02 */ addi r0, r6, 2 /* 801CC06C 001C8FCC 90 A1 00 08 */ stw r5, 8(r1) /* 801CC070 001C8FD0 7C 05 00 00 */ cmpw r5, r0 /* 801CC074 001C8FD4 38 A1 00 0C */ addi r5, r1, 0xc /* 801CC078 001C8FD8 90 01 00 0C */ stw r0, 0xc(r1) /* 801CC07C 001C8FDC 40 80 00 08 */ bge lbl_801CC084 /* 801CC080 001C8FE0 38 A1 00 08 */ addi r5, r1, 8 lbl_801CC084: /* 801CC084 001C8FE4 80 E3 00 C8 */ lwz r7, 0xc8(r3) /* 801CC088 001C8FE8 38 C3 00 08 */ addi r6, r3, 8 /* 801CC08C 001C8FEC 80 65 00 00 */ lwz r3, 0(r5) /* 801CC090 001C8FF0 38 07 00 01 */ addi r0, r7, 1 /* 801CC094 001C8FF4 C0 A4 00 04 */ lfs f5, 4(r4) /* 801CC098 001C8FF8 1C A7 00 0C */ mulli r5, r7, 0xc /* 801CC09C 001C8FFC C0 44 00 00 */ lfs f2, 0(r4) /* 801CC0A0 001C9000 C0 84 00 08 */ lfs f4, 8(r4) /* 801CC0A4 001C9004 C0 02 AB 60 */ lfs f0, lbl_805AC880@sda21(r2) /* 801CC0A8 001C9008 7C 86 2A 14 */ add r4, r6, r5 /* 801CC0AC 001C900C 1C 63 00 0C */ mulli r3, r3, 0xc /* 801CC0B0 001C9010 C0 24 00 04 */ lfs f1, 4(r4) /* 801CC0B4 001C9014 C1 04 00 00 */ lfs f8, 0(r4) /* 801CC0B8 001C9018 C0 C4 00 08 */ lfs f6, 8(r4) /* 801CC0BC 001C901C 7C 66 1A 14 */ add r3, r6, r3 /* 801CC0C0 001C9020 1C 00 00 0C */ mulli r0, r0, 0xc /* 801CC0C4 001C9024 C0 63 00 04 */ lfs f3, 4(r3) /* 801CC0C8 001C9028 C1 23 00 00 */ lfs f9, 0(r3) /* 801CC0CC 001C902C C0 E3 00 08 */ lfs f7, 8(r3) /* 801CC0D0 001C9030 ED 43 08 28 */ fsubs f10, f3, f1 /* 801CC0D4 001C9034 7C 66 02 14 */ add r3, r6, r0 /* 801CC0D8 001C9038 C0 63 00 04 */ lfs f3, 4(r3) /* 801CC0DC 001C903C ED 09 40 28 */ fsubs f8, f9, f8 /* 801CC0E0 001C9040 C0 23 00 00 */ lfs f1, 0(r3) /* 801CC0E4 001C9044 EC C7 30 28 */ fsubs f6, f7, f6 /* 801CC0E8 001C9048 EC A5 18 28 */ fsubs f5, f5, f3 /* 801CC0EC 001C904C C0 63 00 08 */ lfs f3, 8(r3) /* 801CC0F0 001C9050 EC 42 08 28 */ fsubs f2, f2, f1 /* 801CC0F4 001C9054 EC 64 18 28 */ fsubs f3, f4, f3 /* 801CC0F8 001C9058 EC 25 02 B2 */ fmuls f1, f5, f10 /* 801CC0FC 001C905C D0 A1 00 14 */ stfs f5, 0x14(r1) /* 801CC100 001C9060 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801CC104 001C9064 EC 22 0A 3A */ fmadds f1, f2, f8, f1 /* 801CC108 001C9068 D0 61 00 18 */ stfs f3, 0x18(r1) /* 801CC10C 001C906C EC 23 09 BA */ fmadds f1, f3, f6, f1 /* 801CC110 001C9070 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CC114 001C9074 4C 41 13 82 */ cror 2, 1, 2 /* 801CC118 001C9078 7C 00 00 26 */ mfcr r0 /* 801CC11C 001C907C 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f lbl_801CC120: /* 801CC120 001C9080 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 801CC124 001C9084 38 21 00 20 */ addi r1, r1, 0x20 /* 801CC128 001C9088 4E 80 00 20 */ blr .global ReturnToBasePosition__14CGunControllerFR13CStateManager ReturnToBasePosition__14CGunControllerFR13CStateManager: /* 801CC12C 001C908C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801CC130 001C9090 7C 08 02 A6 */ mflr r0 /* 801CC134 001C9094 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801CC138 001C9098 93 E1 00 DC */ stw r31, 0xdc(r1) /* 801CC13C 001C909C 7C 7F 1B 78 */ mr r31, r3 /* 801CC140 001C90A0 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 801CC144 001C90A4 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 801CC148 001C90A8 7C 9D 23 78 */ mr r29, r4 /* 801CC14C 001C90AC 80 83 00 00 */ lwz r4, 0(r3) /* 801CC150 001C90B0 38 61 00 10 */ addi r3, r1, 0x10 /* 801CC154 001C90B4 83 C4 00 10 */ lwz r30, 0x10(r4) /* 801CC158 001C90B8 48 11 6F 25 */ bl NoParameter__12CPASAnimParmFv /* 801CC15C 001C90BC 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC160 001C90C0 48 11 6F 1D */ bl NoParameter__12CPASAnimParmFv /* 801CC164 001C90C4 38 61 00 20 */ addi r3, r1, 0x20 /* 801CC168 001C90C8 48 11 6F 15 */ bl NoParameter__12CPASAnimParmFv /* 801CC16C 001C90CC 38 61 00 28 */ addi r3, r1, 0x28 /* 801CC170 001C90D0 48 11 6F 0D */ bl NoParameter__12CPASAnimParmFv /* 801CC174 001C90D4 38 61 00 30 */ addi r3, r1, 0x30 /* 801CC178 001C90D8 48 11 6F 05 */ bl NoParameter__12CPASAnimParmFv /* 801CC17C 001C90DC 38 61 00 38 */ addi r3, r1, 0x38 /* 801CC180 001C90E0 48 11 6E FD */ bl NoParameter__12CPASAnimParmFv /* 801CC184 001C90E4 38 61 00 40 */ addi r3, r1, 0x40 /* 801CC188 001C90E8 48 11 6E F5 */ bl NoParameter__12CPASAnimParmFv /* 801CC18C 001C90EC 38 61 00 48 */ addi r3, r1, 0x48 /* 801CC190 001C90F0 48 11 6E ED */ bl NoParameter__12CPASAnimParmFv /* 801CC194 001C90F4 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC198 001C90F8 38 01 00 10 */ addi r0, r1, 0x10 /* 801CC19C 001C90FC 90 61 00 08 */ stw r3, 8(r1) /* 801CC1A0 001C9100 38 61 00 80 */ addi r3, r1, 0x80 /* 801CC1A4 001C9104 38 A1 00 48 */ addi r5, r1, 0x48 /* 801CC1A8 001C9108 38 C1 00 40 */ addi r6, r1, 0x40 /* 801CC1AC 001C910C 90 01 00 0C */ stw r0, 0xc(r1) /* 801CC1B0 001C9110 38 E1 00 38 */ addi r7, r1, 0x38 /* 801CC1B4 001C9114 39 01 00 30 */ addi r8, r1, 0x30 /* 801CC1B8 001C9118 39 21 00 28 */ addi r9, r1, 0x28 /* 801CC1BC 001C911C 39 41 00 20 */ addi r10, r1, 0x20 /* 801CC1C0 001C9120 38 80 00 06 */ li r4, 6 /* 801CC1C4 001C9124 4B EB 11 01 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801CC1C8 001C9128 80 DD 09 00 */ lwz r6, 0x900(r29) /* 801CC1CC 001C912C 38 61 00 50 */ addi r3, r1, 0x50 /* 801CC1D0 001C9130 38 9E 00 3C */ addi r4, r30, 0x3c /* 801CC1D4 001C9134 38 A1 00 80 */ addi r5, r1, 0x80 /* 801CC1D8 001C9138 38 E0 FF FF */ li r7, -1 /* 801CC1DC 001C913C 48 11 8E 85 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801CC1E0 001C9140 34 A1 00 84 */ addic. r5, r1, 0x84 /* 801CC1E4 001C9144 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801CC1E8 001C9148 41 82 00 58 */ beq lbl_801CC240 /* 801CC1EC 001C914C 80 C5 00 00 */ lwz r6, 0(r5) /* 801CC1F0 001C9150 38 60 00 00 */ li r3, 0 /* 801CC1F4 001C9154 2C 06 00 00 */ cmpwi r6, 0 /* 801CC1F8 001C9158 40 81 00 40 */ ble lbl_801CC238 /* 801CC1FC 001C915C 2C 06 00 08 */ cmpwi r6, 8 /* 801CC200 001C9160 38 86 FF F8 */ addi r4, r6, -8 /* 801CC204 001C9164 40 81 00 20 */ ble lbl_801CC224 /* 801CC208 001C9168 38 04 00 07 */ addi r0, r4, 7 /* 801CC20C 001C916C 54 00 E8 FE */ srwi r0, r0, 3 /* 801CC210 001C9170 7C 09 03 A6 */ mtctr r0 /* 801CC214 001C9174 2C 04 00 00 */ cmpwi r4, 0 /* 801CC218 001C9178 40 81 00 0C */ ble lbl_801CC224 lbl_801CC21C: /* 801CC21C 001C917C 38 63 00 08 */ addi r3, r3, 8 /* 801CC220 001C9180 42 00 FF FC */ bdnz lbl_801CC21C lbl_801CC224: /* 801CC224 001C9184 7C 03 30 50 */ subf r0, r3, r6 /* 801CC228 001C9188 7C 09 03 A6 */ mtctr r0 /* 801CC22C 001C918C 7C 03 30 00 */ cmpw r3, r6 /* 801CC230 001C9190 40 80 00 08 */ bge lbl_801CC238 lbl_801CC234: /* 801CC234 001C9194 42 00 00 00 */ bdnz lbl_801CC234 lbl_801CC238: /* 801CC238 001C9198 38 00 00 00 */ li r0, 0 /* 801CC23C 001C919C 90 05 00 00 */ stw r0, 0(r5) lbl_801CC240: /* 801CC240 001C91A0 88 1E 02 20 */ lbz r0, 0x220(r30) /* 801CC244 001C91A4 39 00 00 00 */ li r8, 0 /* 801CC248 001C91A8 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 /* 801CC24C 001C91AC 38 E0 00 01 */ li r7, 1 /* 801CC250 001C91B0 98 1E 02 20 */ stb r0, 0x220(r30) /* 801CC254 001C91B4 38 00 FF FF */ li r0, -1 /* 801CC258 001C91B8 C0 02 AB 70 */ lfs f0, lbl_805AC890@sda21(r2) /* 801CC25C 001C91BC 7F C3 F3 78 */ mr r3, r30 /* 801CC260 001C91C0 88 DE 02 20 */ lbz r6, 0x220(r30) /* 801CC264 001C91C4 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 /* 801CC268 001C91C8 38 81 00 58 */ addi r4, r1, 0x58 /* 801CC26C 001C91CC 38 A0 00 00 */ li r5, 0 /* 801CC270 001C91D0 98 DE 02 20 */ stb r6, 0x220(r30) /* 801CC274 001C91D4 93 A1 00 58 */ stw r29, 0x58(r1) /* 801CC278 001C91D8 90 01 00 5C */ stw r0, 0x5c(r1) /* 801CC27C 001C91DC D0 01 00 60 */ stfs f0, 0x60(r1) /* 801CC280 001C91E0 98 E1 00 64 */ stb r7, 0x64(r1) /* 801CC284 001C91E4 91 01 00 68 */ stw r8, 0x68(r1) /* 801CC288 001C91E8 91 01 00 6C */ stw r8, 0x6c(r1) /* 801CC28C 001C91EC 99 01 00 70 */ stb r8, 0x70(r1) /* 801CC290 001C91F0 91 01 00 74 */ stw r8, 0x74(r1) /* 801CC294 001C91F4 91 01 00 78 */ stw r8, 0x78(r1) /* 801CC298 001C91F8 91 01 00 7C */ stw r8, 0x7c(r1) /* 801CC29C 001C91FC 4B E6 0A E1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801CC2A0 001C9200 93 BF 00 54 */ stw r29, 0x54(r31) /* 801CC2A4 001C9204 38 60 00 00 */ li r3, 0 /* 801CC2A8 001C9208 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801CC2AC 001C920C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801CC2B0 001C9210 98 1F 00 58 */ stb r0, 0x58(r31) /* 801CC2B4 001C9214 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 801CC2B8 001C9218 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 801CC2BC 001C921C 83 A1 00 D4 */ lwz r29, 0xd4(r1) /* 801CC2C0 001C9220 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801CC2C4 001C9224 7C 08 03 A6 */ mtlr r0 /* 801CC2C8 001C9228 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801CC2CC 001C922C 4E 80 00 20 */ blr .global Reset__14CGunControllerFv Reset__14CGunControllerFv: /* 801CC2D0 001C9230 88 03 00 58 */ lbz r0, 0x58(r3) /* 801CC2D4 001C9234 38 80 00 01 */ li r4, 1 /* 801CC2D8 001C9238 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801CC2DC 001C923C 38 80 00 00 */ li r4, 0 /* 801CC2E0 001C9240 98 03 00 58 */ stb r0, 0x58(r3) /* 801CC2E4 001C9244 88 03 00 58 */ lbz r0, 0x58(r3) /* 801CC2E8 001C9248 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801CC2EC 001C924C 98 03 00 58 */ stb r0, 0x58(r3) /* 801CC2F0 001C9250 90 83 00 50 */ stw r4, 0x50(r3) /* 801CC2F4 001C9254 4E 80 00 20 */ blr .global ReturnToDefault__14CGunControllerFR13CStateManagerf ReturnToDefault__14CGunControllerFR13CStateManagerf: /* 801CC2F8 001C9258 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CC2FC 001C925C 7C 08 02 A6 */ mflr r0 /* 801CC300 001C9260 7C 88 23 78 */ mr r8, r4 /* 801CC304 001C9264 90 01 00 14 */ stw r0, 0x14(r1) /* 801CC308 001C9268 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CC30C 001C926C 7C BF 2B 78 */ mr r31, r5 /* 801CC310 001C9270 93 C1 00 08 */ stw r30, 8(r1) /* 801CC314 001C9274 7C 7E 1B 78 */ mr r30, r3 /* 801CC318 001C9278 80 03 00 50 */ lwz r0, 0x50(r3) /* 801CC31C 001C927C 80 C3 00 00 */ lwz r6, 0(r3) /* 801CC320 001C9280 2C 00 00 05 */ cmpwi r0, 5 /* 801CC324 001C9284 80 E6 00 10 */ lwz r7, 0x10(r6) /* 801CC328 001C9288 41 82 00 9C */ beq lbl_801CC3C4 /* 801CC32C 001C928C 40 80 00 1C */ bge lbl_801CC348 /* 801CC330 001C9290 2C 00 00 03 */ cmpwi r0, 3 /* 801CC334 001C9294 41 82 00 70 */ beq lbl_801CC3A4 /* 801CC338 001C9298 40 80 00 24 */ bge lbl_801CC35C /* 801CC33C 001C929C 2C 00 00 02 */ cmpwi r0, 2 /* 801CC340 001C92A0 40 80 00 2C */ bge lbl_801CC36C /* 801CC344 001C92A4 48 00 00 98 */ b lbl_801CC3DC lbl_801CC348: /* 801CC348 001C92A8 2C 00 00 07 */ cmpwi r0, 7 /* 801CC34C 001C92AC 41 82 00 80 */ beq lbl_801CC3CC /* 801CC350 001C92B0 40 80 00 8C */ bge lbl_801CC3DC /* 801CC354 001C92B4 38 00 00 02 */ li r0, 2 /* 801CC358 001C92B8 90 1E 00 50 */ stw r0, 0x50(r30) lbl_801CC35C: /* 801CC35C 001C92BC 88 1E 00 18 */ lbz r0, 0x18(r30) /* 801CC360 001C92C0 38 60 00 00 */ li r3, 0 /* 801CC364 001C92C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC368 001C92C8 98 1E 00 18 */ stb r0, 0x18(r30) lbl_801CC36C: /* 801CC36C 001C92CC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801CC370 001C92D0 40 82 00 6C */ bne lbl_801CC3DC /* 801CC374 001C92D4 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801CC378 001C92D8 7C E4 3B 78 */ mr r4, r7 /* 801CC37C 001C92DC 80 DE 00 14 */ lwz r6, 0x14(r30) /* 801CC380 001C92E0 38 7E 00 04 */ addi r3, r30, 4 /* 801CC384 001C92E4 38 E0 00 02 */ li r7, 2 /* 801CC388 001C92E8 48 00 09 21 */ bl SetAnim__11CGSFreeLookFR9CAnimDataiiiR13CStateManagerf /* 801CC38C 001C92EC 90 7E 00 54 */ stw r3, 0x54(r30) /* 801CC390 001C92F0 38 60 00 00 */ li r3, 0 /* 801CC394 001C92F4 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC398 001C92F8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801CC39C 001C92FC 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC3A0 001C9300 48 00 00 3C */ b lbl_801CC3DC lbl_801CC3A4: /* 801CC3A4 001C9304 80 BE 00 28 */ lwz r5, 0x28(r30) /* 801CC3A8 001C9308 7C E4 3B 78 */ mr r4, r7 /* 801CC3AC 001C930C 7D 07 43 78 */ mr r7, r8 /* 801CC3B0 001C9310 38 7E 00 1C */ addi r3, r30, 0x1c /* 801CC3B4 001C9314 38 C0 00 02 */ li r6, 2 /* 801CC3B8 001C9318 48 00 0C E9 */ bl SetAnim__12CGSComboFireFR9CAnimDataiiR13CStateManagerf /* 801CC3BC 001C931C 90 7E 00 54 */ stw r3, 0x54(r30) /* 801CC3C0 001C9320 48 00 00 1C */ b lbl_801CC3DC lbl_801CC3C4: /* 801CC3C4 001C9324 4B FF FD 69 */ bl ReturnToBasePosition__14CGunControllerFR13CStateManager /* 801CC3C8 001C9328 48 00 00 14 */ b lbl_801CC3DC lbl_801CC3CC: /* 801CC3CC 001C932C 88 1E 00 18 */ lbz r0, 0x18(r30) /* 801CC3D0 001C9330 38 60 00 00 */ li r3, 0 /* 801CC3D4 001C9334 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC3D8 001C9338 98 1E 00 18 */ stb r0, 0x18(r30) lbl_801CC3DC: /* 801CC3DC 001C933C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801CC3E0 001C9340 41 82 00 0C */ beq lbl_801CC3EC /* 801CC3E4 001C9344 38 00 00 01 */ li r0, 1 /* 801CC3E8 001C9348 90 1E 00 50 */ stw r0, 0x50(r30) lbl_801CC3EC: /* 801CC3EC 001C934C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CC3F0 001C9350 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CC3F4 001C9354 83 C1 00 08 */ lwz r30, 8(r1) /* 801CC3F8 001C9358 7C 08 03 A6 */ mtlr r0 /* 801CC3FC 001C935C 38 21 00 10 */ addi r1, r1, 0x10 /* 801CC400 001C9360 4E 80 00 20 */ blr .global EnterIdle__14CGunControllerFR13CStateManager EnterIdle__14CGunControllerFR13CStateManager: /* 801CC404 001C9364 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801CC408 001C9368 7C 08 02 A6 */ mflr r0 /* 801CC40C 001C936C 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801CC410 001C9370 93 E1 00 EC */ stw r31, 0xec(r1) /* 801CC414 001C9374 7C 7F 1B 78 */ mr r31, r3 /* 801CC418 001C9378 38 61 00 60 */ addi r3, r1, 0x60 /* 801CC41C 001C937C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801CC420 001C9380 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 801CC424 001C9384 7C 9D 23 78 */ mr r29, r4 /* 801CC428 001C9388 48 11 6C 55 */ bl NoParameter__12CPASAnimParmFv /* 801CC42C 001C938C 80 61 00 60 */ lwz r3, 0x60(r1) /* 801CC430 001C9390 80 01 00 64 */ lwz r0, 0x64(r1) /* 801CC434 001C9394 90 61 00 68 */ stw r3, 0x68(r1) /* 801CC438 001C9398 90 01 00 6C */ stw r0, 0x6c(r1) /* 801CC43C 001C939C 80 1F 00 50 */ lwz r0, 0x50(r31) /* 801CC440 001C93A0 2C 00 00 03 */ cmpwi r0, 3 /* 801CC444 001C93A4 41 82 00 44 */ beq lbl_801CC488 /* 801CC448 001C93A8 40 80 01 DC */ bge lbl_801CC624 /* 801CC44C 001C93AC 2C 00 00 02 */ cmpwi r0, 2 /* 801CC450 001C93B0 40 80 00 08 */ bge lbl_801CC458 /* 801CC454 001C93B4 48 00 01 D0 */ b lbl_801CC624 lbl_801CC458: /* 801CC458 001C93B8 38 61 00 58 */ addi r3, r1, 0x58 /* 801CC45C 001C93BC 38 80 00 01 */ li r4, 1 /* 801CC460 001C93C0 48 11 6B 25 */ bl FromEnum__12CPASAnimParmFi /* 801CC464 001C93C4 80 81 00 58 */ lwz r4, 0x58(r1) /* 801CC468 001C93C8 38 60 00 01 */ li r3, 1 /* 801CC46C 001C93CC 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801CC470 001C93D0 90 81 00 68 */ stw r4, 0x68(r1) /* 801CC474 001C93D4 90 01 00 6C */ stw r0, 0x6c(r1) /* 801CC478 001C93D8 88 1F 00 18 */ lbz r0, 0x18(r31) /* 801CC47C 001C93DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC480 001C93E0 98 1F 00 18 */ stb r0, 0x18(r31) /* 801CC484 001C93E4 48 00 00 38 */ b lbl_801CC4BC lbl_801CC488: /* 801CC488 001C93E8 38 61 00 50 */ addi r3, r1, 0x50 /* 801CC48C 001C93EC 38 80 00 01 */ li r4, 1 /* 801CC490 001C93F0 48 11 6A F5 */ bl FromEnum__12CPASAnimParmFi /* 801CC494 001C93F4 80 81 00 50 */ lwz r4, 0x50(r1) /* 801CC498 001C93F8 38 60 00 01 */ li r3, 1 /* 801CC49C 001C93FC 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CC4A0 001C9400 90 81 00 68 */ stw r4, 0x68(r1) /* 801CC4A4 001C9404 90 01 00 6C */ stw r0, 0x6c(r1) /* 801CC4A8 001C9408 88 1F 00 2C */ lbz r0, 0x2c(r31) /* 801CC4AC 001C940C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801CC4B0 001C9410 98 1F 00 2C */ stb r0, 0x2c(r31) /* 801CC4B4 001C9414 48 00 00 08 */ b lbl_801CC4BC /* 801CC4B8 001C9418 48 00 01 6C */ b lbl_801CC624 lbl_801CC4BC: /* 801CC4BC 001C941C 80 9F 00 00 */ lwz r4, 0(r31) /* 801CC4C0 001C9420 38 61 00 10 */ addi r3, r1, 0x10 /* 801CC4C4 001C9424 83 C4 00 10 */ lwz r30, 0x10(r4) /* 801CC4C8 001C9428 48 11 6B B5 */ bl NoParameter__12CPASAnimParmFv /* 801CC4CC 001C942C 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC4D0 001C9430 48 11 6B AD */ bl NoParameter__12CPASAnimParmFv /* 801CC4D4 001C9434 38 61 00 20 */ addi r3, r1, 0x20 /* 801CC4D8 001C9438 48 11 6B A5 */ bl NoParameter__12CPASAnimParmFv /* 801CC4DC 001C943C 38 61 00 28 */ addi r3, r1, 0x28 /* 801CC4E0 001C9440 48 11 6B 9D */ bl NoParameter__12CPASAnimParmFv /* 801CC4E4 001C9444 38 61 00 30 */ addi r3, r1, 0x30 /* 801CC4E8 001C9448 48 11 6B 95 */ bl NoParameter__12CPASAnimParmFv /* 801CC4EC 001C944C 38 61 00 38 */ addi r3, r1, 0x38 /* 801CC4F0 001C9450 48 11 6B 8D */ bl NoParameter__12CPASAnimParmFv /* 801CC4F4 001C9454 38 61 00 40 */ addi r3, r1, 0x40 /* 801CC4F8 001C9458 48 11 6B 85 */ bl NoParameter__12CPASAnimParmFv /* 801CC4FC 001C945C 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC500 001C9460 38 01 00 10 */ addi r0, r1, 0x10 /* 801CC504 001C9464 90 61 00 08 */ stw r3, 8(r1) /* 801CC508 001C9468 38 61 00 98 */ addi r3, r1, 0x98 /* 801CC50C 001C946C 38 A1 00 68 */ addi r5, r1, 0x68 /* 801CC510 001C9470 38 C1 00 40 */ addi r6, r1, 0x40 /* 801CC514 001C9474 90 01 00 0C */ stw r0, 0xc(r1) /* 801CC518 001C9478 38 E1 00 38 */ addi r7, r1, 0x38 /* 801CC51C 001C947C 39 01 00 30 */ addi r8, r1, 0x30 /* 801CC520 001C9480 39 21 00 28 */ addi r9, r1, 0x28 /* 801CC524 001C9484 39 41 00 20 */ addi r10, r1, 0x20 /* 801CC528 001C9488 38 80 00 05 */ li r4, 5 /* 801CC52C 001C948C 4B EB 0D 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801CC530 001C9490 80 DD 09 00 */ lwz r6, 0x900(r29) /* 801CC534 001C9494 38 61 00 48 */ addi r3, r1, 0x48 /* 801CC538 001C9498 38 9E 00 3C */ addi r4, r30, 0x3c /* 801CC53C 001C949C 38 A1 00 98 */ addi r5, r1, 0x98 /* 801CC540 001C94A0 38 E0 FF FF */ li r7, -1 /* 801CC544 001C94A4 48 11 8B 1D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801CC548 001C94A8 34 A1 00 9C */ addic. r5, r1, 0x9c /* 801CC54C 001C94AC 83 A1 00 4C */ lwz r29, 0x4c(r1) /* 801CC550 001C94B0 41 82 00 58 */ beq lbl_801CC5A8 /* 801CC554 001C94B4 80 C5 00 00 */ lwz r6, 0(r5) /* 801CC558 001C94B8 38 60 00 00 */ li r3, 0 /* 801CC55C 001C94BC 2C 06 00 00 */ cmpwi r6, 0 /* 801CC560 001C94C0 40 81 00 40 */ ble lbl_801CC5A0 /* 801CC564 001C94C4 2C 06 00 08 */ cmpwi r6, 8 /* 801CC568 001C94C8 38 86 FF F8 */ addi r4, r6, -8 /* 801CC56C 001C94CC 40 81 00 20 */ ble lbl_801CC58C /* 801CC570 001C94D0 38 04 00 07 */ addi r0, r4, 7 /* 801CC574 001C94D4 54 00 E8 FE */ srwi r0, r0, 3 /* 801CC578 001C94D8 7C 09 03 A6 */ mtctr r0 /* 801CC57C 001C94DC 2C 04 00 00 */ cmpwi r4, 0 /* 801CC580 001C94E0 40 81 00 0C */ ble lbl_801CC58C lbl_801CC584: /* 801CC584 001C94E4 38 63 00 08 */ addi r3, r3, 8 /* 801CC588 001C94E8 42 00 FF FC */ bdnz lbl_801CC584 lbl_801CC58C: /* 801CC58C 001C94EC 7C 03 30 50 */ subf r0, r3, r6 /* 801CC590 001C94F0 7C 09 03 A6 */ mtctr r0 /* 801CC594 001C94F4 7C 03 30 00 */ cmpw r3, r6 /* 801CC598 001C94F8 40 80 00 08 */ bge lbl_801CC5A0 lbl_801CC59C: /* 801CC59C 001C94FC 42 00 00 00 */ bdnz lbl_801CC59C lbl_801CC5A0: /* 801CC5A0 001C9500 38 00 00 00 */ li r0, 0 /* 801CC5A4 001C9504 90 05 00 00 */ stw r0, 0(r5) lbl_801CC5A8: /* 801CC5A8 001C9508 88 1E 02 20 */ lbz r0, 0x220(r30) /* 801CC5AC 001C950C 39 00 00 00 */ li r8, 0 /* 801CC5B0 001C9510 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 /* 801CC5B4 001C9514 38 E0 00 01 */ li r7, 1 /* 801CC5B8 001C9518 98 1E 02 20 */ stb r0, 0x220(r30) /* 801CC5BC 001C951C 38 00 FF FF */ li r0, -1 /* 801CC5C0 001C9520 C0 02 AB 70 */ lfs f0, lbl_805AC890@sda21(r2) /* 801CC5C4 001C9524 7F C3 F3 78 */ mr r3, r30 /* 801CC5C8 001C9528 88 DE 02 20 */ lbz r6, 0x220(r30) /* 801CC5CC 001C952C 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 /* 801CC5D0 001C9530 38 81 00 70 */ addi r4, r1, 0x70 /* 801CC5D4 001C9534 38 A0 00 00 */ li r5, 0 /* 801CC5D8 001C9538 98 DE 02 20 */ stb r6, 0x220(r30) /* 801CC5DC 001C953C 93 A1 00 70 */ stw r29, 0x70(r1) /* 801CC5E0 001C9540 90 01 00 74 */ stw r0, 0x74(r1) /* 801CC5E4 001C9544 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801CC5E8 001C9548 98 E1 00 7C */ stb r7, 0x7c(r1) /* 801CC5EC 001C954C 91 01 00 80 */ stw r8, 0x80(r1) /* 801CC5F0 001C9550 91 01 00 84 */ stw r8, 0x84(r1) /* 801CC5F4 001C9554 99 01 00 88 */ stb r8, 0x88(r1) /* 801CC5F8 001C9558 91 01 00 8C */ stw r8, 0x8c(r1) /* 801CC5FC 001C955C 91 01 00 90 */ stw r8, 0x90(r1) /* 801CC600 001C9560 91 01 00 94 */ stw r8, 0x94(r1) /* 801CC604 001C9564 4B E6 07 79 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801CC608 001C9568 93 BF 00 54 */ stw r29, 0x54(r31) /* 801CC60C 001C956C 38 00 00 04 */ li r0, 4 /* 801CC610 001C9570 38 60 00 00 */ li r3, 0 /* 801CC614 001C9574 90 1F 00 50 */ stw r0, 0x50(r31) /* 801CC618 001C9578 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801CC61C 001C957C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801CC620 001C9580 98 1F 00 58 */ stb r0, 0x58(r31) lbl_801CC624: /* 801CC624 001C9584 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801CC628 001C9588 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801CC62C 001C958C 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801CC630 001C9590 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 801CC634 001C9594 7C 08 03 A6 */ mtlr r0 /* 801CC638 001C9598 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801CC63C 001C959C 4E 80 00 20 */ blr .global Update__14CGunControllerFfR13CStateManager Update__14CGunControllerFfR13CStateManager: /* 801CC640 001C95A0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801CC644 001C95A4 7C 08 02 A6 */ mflr r0 /* 801CC648 001C95A8 90 01 00 44 */ stw r0, 0x44(r1) /* 801CC64C 001C95AC 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801CC650 001C95B0 7C 9F 23 78 */ mr r31, r4 /* 801CC654 001C95B4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801CC658 001C95B8 7C 7E 1B 78 */ mr r30, r3 /* 801CC65C 001C95BC 38 60 00 00 */ li r3, 0 /* 801CC660 001C95C0 93 A1 00 34 */ stw r29, 0x34(r1) /* 801CC664 001C95C4 80 BE 00 00 */ lwz r5, 0(r30) /* 801CC668 001C95C8 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC66C 001C95CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC670 001C95D0 83 A5 00 10 */ lwz r29, 0x10(r5) /* 801CC674 001C95D4 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC678 001C95D8 80 1E 00 50 */ lwz r0, 0x50(r30) /* 801CC67C 001C95DC 28 00 00 07 */ cmplwi r0, 7 /* 801CC680 001C95E0 41 81 01 54 */ bgt lbl_801CC7D4 /* 801CC684 001C95E4 3C 60 80 3E */ lis r3, lbl_803E5728@ha /* 801CC688 001C95E8 54 00 10 3A */ slwi r0, r0, 2 /* 801CC68C 001C95EC 38 63 57 28 */ addi r3, r3, lbl_803E5728@l /* 801CC690 001C95F0 7C 03 00 2E */ lwzx r0, r3, r0 /* 801CC694 001C95F4 7C 09 03 A6 */ mtctr r0 /* 801CC698 001C95F8 4E 80 04 20 */ bctr /* 801CC69C 001C95FC 7F A4 EB 78 */ mr r4, r29 /* 801CC6A0 001C9600 7F E5 FB 78 */ mr r5, r31 /* 801CC6A4 001C9604 38 7E 00 04 */ addi r3, r30, 4 /* 801CC6A8 001C9608 48 00 08 39 */ bl Update__11CGSFreeLookFR9CAnimDatafR13CStateManager /* 801CC6AC 001C960C 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC6B0 001C9610 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC6B4 001C9614 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC6B8 001C9618 88 7E 00 58 */ lbz r3, 0x58(r30) /* 801CC6BC 001C961C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801CC6C0 001C9620 41 82 01 14 */ beq lbl_801CC7D4 /* 801CC6C4 001C9624 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801CC6C8 001C9628 41 82 01 0C */ beq lbl_801CC7D4 /* 801CC6CC 001C962C 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801CC6D0 001C9630 7F C3 F3 78 */ mr r3, r30 /* 801CC6D4 001C9634 7F E4 FB 78 */ mr r4, r31 /* 801CC6D8 001C9638 48 00 04 71 */ bl EnterComboFire__14CGunControllerFR13CStateManageri /* 801CC6DC 001C963C 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC6E0 001C9640 38 60 00 00 */ li r3, 0 /* 801CC6E4 001C9644 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC6E8 001C9648 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC6EC 001C964C 48 00 00 E8 */ b lbl_801CC7D4 /* 801CC6F0 001C9650 7F A4 EB 78 */ mr r4, r29 /* 801CC6F4 001C9654 7F E5 FB 78 */ mr r5, r31 /* 801CC6F8 001C9658 38 7E 00 1C */ addi r3, r30, 0x1c /* 801CC6FC 001C965C 48 00 0B 9D */ bl Update__12CGSComboFireFR9CAnimDatafR13CStateManager /* 801CC700 001C9660 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC704 001C9664 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC708 001C9668 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC70C 001C966C 48 00 00 C8 */ b lbl_801CC7D4 /* 801CC710 001C9670 7F A4 EB 78 */ mr r4, r29 /* 801CC714 001C9674 7F E5 FB 78 */ mr r5, r31 /* 801CC718 001C9678 38 7E 00 30 */ addi r3, r30, 0x30 /* 801CC71C 001C967C 48 02 4D A1 */ bl Update__9CGSFidgetFR9CAnimDatafR13CStateManager /* 801CC720 001C9680 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC724 001C9684 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC728 001C9688 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC72C 001C968C 48 00 00 A8 */ b lbl_801CC7D4 /* 801CC730 001C9690 3C 80 80 3D */ lis r4, lbl_803D1AA8@ha /* 801CC734 001C9694 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC738 001C9698 38 84 1A A8 */ addi r4, r4, lbl_803D1AA8@l /* 801CC73C 001C969C 4B E3 85 7D */ bl string_l__4rstlFPCc /* 801CC740 001C96A0 C0 22 AB 74 */ lfs f1, lbl_805AC894@sda21(r2) /* 801CC744 001C96A4 7F A3 EB 78 */ mr r3, r29 /* 801CC748 001C96A8 38 81 00 18 */ addi r4, r1, 0x18 /* 801CC74C 001C96AC 4B E5 FC A1 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CC750 001C96B0 7C 7D 1B 78 */ mr r29, r3 /* 801CC754 001C96B4 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC758 001C96B8 48 17 13 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801CC75C 001C96BC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801CC760 001C96C0 40 82 00 74 */ bne lbl_801CC7D4 /* 801CC764 001C96C4 80 9E 00 00 */ lwz r4, 0(r30) /* 801CC768 001C96C8 7F E8 FB 78 */ mr r8, r31 /* 801CC76C 001C96CC 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801CC770 001C96D0 38 7E 00 04 */ addi r3, r30, 4 /* 801CC774 001C96D4 80 84 00 10 */ lwz r4, 0x10(r4) /* 801CC778 001C96D8 38 E0 00 00 */ li r7, 0 /* 801CC77C 001C96DC 80 DE 00 14 */ lwz r6, 0x14(r30) /* 801CC780 001C96E0 C0 22 AB 78 */ lfs f1, lbl_805AC898@sda21(r2) /* 801CC784 001C96E4 48 00 05 25 */ bl SetAnim__11CGSFreeLookFR9CAnimDataiiiR13CStateManagerf /* 801CC788 001C96E8 90 7E 00 54 */ stw r3, 0x54(r30) /* 801CC78C 001C96EC 38 00 00 02 */ li r0, 2 /* 801CC790 001C96F0 90 1E 00 50 */ stw r0, 0x50(r30) /* 801CC794 001C96F4 48 00 00 40 */ b lbl_801CC7D4 /* 801CC798 001C96F8 3C 80 80 3D */ lis r4, lbl_803D1AA8@ha /* 801CC79C 001C96FC 38 61 00 08 */ addi r3, r1, 8 /* 801CC7A0 001C9700 38 84 1A A8 */ addi r4, r4, lbl_803D1AA8@l /* 801CC7A4 001C9704 4B E3 85 15 */ bl string_l__4rstlFPCc /* 801CC7A8 001C9708 C0 22 AB 74 */ lfs f1, lbl_805AC894@sda21(r2) /* 801CC7AC 001C970C 7F A3 EB 78 */ mr r3, r29 /* 801CC7B0 001C9710 38 81 00 08 */ addi r4, r1, 8 /* 801CC7B4 001C9714 4B E5 FC 39 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CC7B8 001C9718 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 801CC7BC 001C971C 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC7C0 001C9720 7C 64 00 34 */ cntlzw r4, r3 /* 801CC7C4 001C9724 50 80 16 30 */ rlwimi r0, r4, 2, 0x18, 0x18 /* 801CC7C8 001C9728 38 61 00 08 */ addi r3, r1, 8 /* 801CC7CC 001C972C 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC7D0 001C9730 48 17 13 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801CC7D4: /* 801CC7D4 001C9734 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC7D8 001C9738 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801CC7DC 001C973C 41 82 00 20 */ beq lbl_801CC7FC /* 801CC7E0 001C9740 38 80 00 00 */ li r4, 0 /* 801CC7E4 001C9744 38 60 00 01 */ li r3, 1 /* 801CC7E8 001C9748 90 9E 00 50 */ stw r4, 0x50(r30) /* 801CC7EC 001C974C 88 1E 00 58 */ lbz r0, 0x58(r30) /* 801CC7F0 001C9750 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801CC7F4 001C9754 98 1E 00 58 */ stb r0, 0x58(r30) /* 801CC7F8 001C9758 48 00 00 08 */ b lbl_801CC800 lbl_801CC7FC: /* 801CC7FC 001C975C 38 60 00 00 */ li r3, 0 lbl_801CC800: /* 801CC800 001C9760 80 01 00 44 */ lwz r0, 0x44(r1) /* 801CC804 001C9764 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801CC808 001C9768 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801CC80C 001C976C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801CC810 001C9770 7C 08 03 A6 */ mtlr r0 /* 801CC814 001C9774 38 21 00 40 */ addi r1, r1, 0x40 /* 801CC818 001C9778 4E 80 00 20 */ blr .global LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii LoadFidgetAnimAsync__14CGunControllerFR13CStateManageriii: /* 801CC81C 001C977C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CC820 001C9780 7C 08 02 A6 */ mflr r0 /* 801CC824 001C9784 7C 88 23 78 */ mr r8, r4 /* 801CC828 001C9788 90 01 00 14 */ stw r0, 0x14(r1) /* 801CC82C 001C978C 81 23 00 00 */ lwz r9, 0(r3) /* 801CC830 001C9790 38 63 00 30 */ addi r3, r3, 0x30 /* 801CC834 001C9794 80 89 00 10 */ lwz r4, 0x10(r9) /* 801CC838 001C9798 48 02 49 4D */ bl LoadAnimAsync__9CGSFidgetFR9CAnimDataiiiR13CStateManager /* 801CC83C 001C979C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CC840 001C97A0 7C 08 03 A6 */ mtlr r0 /* 801CC844 001C97A4 38 21 00 10 */ addi r1, r1, 0x10 /* 801CC848 001C97A8 4E 80 00 20 */ blr .global EnterStruck__14CGunControllerFR13CStateManagerf EnterStruck__14CGunControllerFR13CStateManagerf: /* 801CC84C 001C97AC 94 21 FE C0 */ stwu r1, -0x140(r1) /* 801CC850 001C97B0 7C 08 02 A6 */ mflr r0 /* 801CC854 001C97B4 90 01 01 44 */ stw r0, 0x144(r1) /* 801CC858 001C97B8 DB E1 01 30 */ stfd f31, 0x130(r1) /* 801CC85C 001C97BC F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 801CC860 001C97C0 BF 61 01 1C */ stmw r27, 0x11c(r1) /* 801CC864 001C97C4 7C 7C 1B 78 */ mr r28, r3 /* 801CC868 001C97C8 FF E0 08 90 */ fmr f31, f1 /* 801CC86C 001C97CC 80 03 00 50 */ lwz r0, 0x50(r3) /* 801CC870 001C97D0 7C 9D 23 78 */ mr r29, r4 /* 801CC874 001C97D4 7C BE 2B 78 */ mr r30, r5 /* 801CC878 001C97D8 7C DB 33 78 */ mr r27, r6 /* 801CC87C 001C97DC 2C 00 00 02 */ cmpwi r0, 2 /* 801CC880 001C97E0 41 82 00 20 */ beq lbl_801CC8A0 /* 801CC884 001C97E4 40 80 00 10 */ bge lbl_801CC894 /* 801CC888 001C97E8 2C 00 00 00 */ cmpwi r0, 0 /* 801CC88C 001C97EC 41 82 00 2C */ beq lbl_801CC8B8 /* 801CC890 001C97F0 48 00 02 54 */ b lbl_801CCAE4 lbl_801CC894: /* 801CC894 001C97F4 2C 00 00 05 */ cmpwi r0, 5 /* 801CC898 001C97F8 41 82 00 20 */ beq lbl_801CC8B8 /* 801CC89C 001C97FC 48 00 02 48 */ b lbl_801CCAE4 lbl_801CC8A0: /* 801CC8A0 001C9800 88 1C 00 18 */ lbz r0, 0x18(r28) /* 801CC8A4 001C9804 38 60 00 01 */ li r3, 1 /* 801CC8A8 001C9808 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CC8AC 001C980C 98 1C 00 18 */ stb r0, 0x18(r28) /* 801CC8B0 001C9810 48 00 00 08 */ b lbl_801CC8B8 /* 801CC8B4 001C9814 48 00 02 30 */ b lbl_801CCAE4 lbl_801CC8B8: /* 801CC8B8 001C9818 83 FC 00 10 */ lwz r31, 0x10(r28) /* 801CC8BC 001C981C 38 61 00 18 */ addi r3, r1, 0x18 /* 801CC8C0 001C9820 48 11 67 BD */ bl NoParameter__12CPASAnimParmFv /* 801CC8C4 001C9824 38 61 00 20 */ addi r3, r1, 0x20 /* 801CC8C8 001C9828 48 11 67 B5 */ bl NoParameter__12CPASAnimParmFv /* 801CC8CC 001C982C 38 61 00 28 */ addi r3, r1, 0x28 /* 801CC8D0 001C9830 48 11 67 AD */ bl NoParameter__12CPASAnimParmFv /* 801CC8D4 001C9834 38 61 00 30 */ addi r3, r1, 0x30 /* 801CC8D8 001C9838 48 11 67 A5 */ bl NoParameter__12CPASAnimParmFv /* 801CC8DC 001C983C 38 61 00 38 */ addi r3, r1, 0x38 /* 801CC8E0 001C9840 57 64 06 3E */ clrlwi r4, r27, 0x18 /* 801CC8E4 001C9844 48 11 66 D1 */ bl FromBool__12CPASAnimParmFb /* 801CC8E8 001C9848 38 61 00 40 */ addi r3, r1, 0x40 /* 801CC8EC 001C984C 57 C4 06 3E */ clrlwi r4, r30, 0x18 /* 801CC8F0 001C9850 48 11 66 C5 */ bl FromBool__12CPASAnimParmFb /* 801CC8F4 001C9854 FC 20 F8 90 */ fmr f1, f31 /* 801CC8F8 001C9858 38 61 00 48 */ addi r3, r1, 0x48 /* 801CC8FC 001C985C 48 11 66 ED */ bl FromReal32__12CPASAnimParmFf /* 801CC900 001C9860 7F E4 FB 78 */ mr r4, r31 /* 801CC904 001C9864 38 61 00 50 */ addi r3, r1, 0x50 /* 801CC908 001C9868 48 11 67 45 */ bl FromInt32__12CPASAnimParmFi /* 801CC90C 001C986C 38 61 00 20 */ addi r3, r1, 0x20 /* 801CC910 001C9870 38 01 00 18 */ addi r0, r1, 0x18 /* 801CC914 001C9874 90 61 00 08 */ stw r3, 8(r1) /* 801CC918 001C9878 38 61 00 80 */ addi r3, r1, 0x80 /* 801CC91C 001C987C 38 A1 00 50 */ addi r5, r1, 0x50 /* 801CC920 001C9880 38 C1 00 48 */ addi r6, r1, 0x48 /* 801CC924 001C9884 90 01 00 0C */ stw r0, 0xc(r1) /* 801CC928 001C9888 38 E1 00 40 */ addi r7, r1, 0x40 /* 801CC92C 001C988C 39 01 00 38 */ addi r8, r1, 0x38 /* 801CC930 001C9890 39 21 00 30 */ addi r9, r1, 0x30 /* 801CC934 001C9894 39 41 00 28 */ addi r10, r1, 0x28 /* 801CC938 001C9898 38 80 00 02 */ li r4, 2 /* 801CC93C 001C989C 4B EB 09 89 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801CC940 001C98A0 80 61 00 80 */ lwz r3, 0x80(r1) /* 801CC944 001C98A4 38 C1 00 84 */ addi r6, r1, 0x84 /* 801CC948 001C98A8 80 01 00 84 */ lwz r0, 0x84(r1) /* 801CC94C 001C98AC 3B E1 00 CC */ addi r31, r1, 0xcc /* 801CC950 001C98B0 90 61 00 C8 */ stw r3, 0xc8(r1) /* 801CC954 001C98B4 38 A6 00 04 */ addi r5, r6, 4 /* 801CC958 001C98B8 38 9F 00 04 */ addi r4, r31, 4 /* 801CC95C 001C98BC 90 01 00 CC */ stw r0, 0xcc(r1) /* 801CC960 001C98C0 7C 09 03 A6 */ mtctr r0 /* 801CC964 001C98C4 2C 00 00 00 */ cmpwi r0, 0 /* 801CC968 001C98C8 40 81 00 28 */ ble lbl_801CC990 lbl_801CC96C: /* 801CC96C 001C98CC 28 04 00 00 */ cmplwi r4, 0 /* 801CC970 001C98D0 41 82 00 14 */ beq lbl_801CC984 /* 801CC974 001C98D4 80 65 00 00 */ lwz r3, 0(r5) /* 801CC978 001C98D8 80 05 00 04 */ lwz r0, 4(r5) /* 801CC97C 001C98DC 90 64 00 00 */ stw r3, 0(r4) /* 801CC980 001C98E0 90 04 00 04 */ stw r0, 4(r4) lbl_801CC984: /* 801CC984 001C98E4 38 84 00 08 */ addi r4, r4, 8 /* 801CC988 001C98E8 38 A5 00 08 */ addi r5, r5, 8 /* 801CC98C 001C98EC 42 00 FF E0 */ bdnz lbl_801CC96C lbl_801CC990: /* 801CC990 001C98F0 28 06 00 00 */ cmplwi r6, 0 /* 801CC994 001C98F4 41 82 00 58 */ beq lbl_801CC9EC /* 801CC998 001C98F8 80 A1 00 84 */ lwz r5, 0x84(r1) /* 801CC99C 001C98FC 38 60 00 00 */ li r3, 0 /* 801CC9A0 001C9900 2C 05 00 00 */ cmpwi r5, 0 /* 801CC9A4 001C9904 40 81 00 40 */ ble lbl_801CC9E4 /* 801CC9A8 001C9908 2C 05 00 08 */ cmpwi r5, 8 /* 801CC9AC 001C990C 38 85 FF F8 */ addi r4, r5, -8 /* 801CC9B0 001C9910 40 81 00 20 */ ble lbl_801CC9D0 /* 801CC9B4 001C9914 38 04 00 07 */ addi r0, r4, 7 /* 801CC9B8 001C9918 54 00 E8 FE */ srwi r0, r0, 3 /* 801CC9BC 001C991C 7C 09 03 A6 */ mtctr r0 /* 801CC9C0 001C9920 2C 04 00 00 */ cmpwi r4, 0 /* 801CC9C4 001C9924 40 81 00 0C */ ble lbl_801CC9D0 lbl_801CC9C8: /* 801CC9C8 001C9928 38 63 00 08 */ addi r3, r3, 8 /* 801CC9CC 001C992C 42 00 FF FC */ bdnz lbl_801CC9C8 lbl_801CC9D0: /* 801CC9D0 001C9930 7C 03 28 50 */ subf r0, r3, r5 /* 801CC9D4 001C9934 7C 09 03 A6 */ mtctr r0 /* 801CC9D8 001C9938 7C 03 28 00 */ cmpw r3, r5 /* 801CC9DC 001C993C 40 80 00 08 */ bge lbl_801CC9E4 lbl_801CC9E0: /* 801CC9E0 001C9940 42 00 00 00 */ bdnz lbl_801CC9E0 lbl_801CC9E4: /* 801CC9E4 001C9944 38 00 00 00 */ li r0, 0 /* 801CC9E8 001C9948 90 01 00 84 */ stw r0, 0x84(r1) lbl_801CC9EC: /* 801CC9EC 001C994C 80 9C 00 00 */ lwz r4, 0(r28) /* 801CC9F0 001C9950 38 61 00 10 */ addi r3, r1, 0x10 /* 801CC9F4 001C9954 80 DD 09 00 */ lwz r6, 0x900(r29) /* 801CC9F8 001C9958 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 801CC9FC 001C995C 83 A4 00 10 */ lwz r29, 0x10(r4) /* 801CCA00 001C9960 38 E0 FF FF */ li r7, -1 /* 801CCA04 001C9964 38 9D 00 3C */ addi r4, r29, 0x3c /* 801CCA08 001C9968 48 11 86 59 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801CCA0C 001C996C 83 61 00 14 */ lwz r27, 0x14(r1) /* 801CCA10 001C9970 39 00 00 00 */ li r8, 0 /* 801CCA14 001C9974 88 1D 02 20 */ lbz r0, 0x220(r29) /* 801CCA18 001C9978 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 /* 801CCA1C 001C997C 38 E0 00 01 */ li r7, 1 /* 801CCA20 001C9980 C0 02 AB 70 */ lfs f0, lbl_805AC890@sda21(r2) /* 801CCA24 001C9984 98 1D 02 20 */ stb r0, 0x220(r29) /* 801CCA28 001C9988 38 00 FF FF */ li r0, -1 /* 801CCA2C 001C998C 7F A3 EB 78 */ mr r3, r29 /* 801CCA30 001C9990 38 81 00 58 */ addi r4, r1, 0x58 /* 801CCA34 001C9994 88 DD 02 20 */ lbz r6, 0x220(r29) /* 801CCA38 001C9998 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 /* 801CCA3C 001C999C 38 A0 00 00 */ li r5, 0 /* 801CCA40 001C99A0 98 DD 02 20 */ stb r6, 0x220(r29) /* 801CCA44 001C99A4 93 61 00 58 */ stw r27, 0x58(r1) /* 801CCA48 001C99A8 90 01 00 5C */ stw r0, 0x5c(r1) /* 801CCA4C 001C99AC D0 01 00 60 */ stfs f0, 0x60(r1) /* 801CCA50 001C99B0 98 E1 00 64 */ stb r7, 0x64(r1) /* 801CCA54 001C99B4 91 01 00 68 */ stw r8, 0x68(r1) /* 801CCA58 001C99B8 91 01 00 6C */ stw r8, 0x6c(r1) /* 801CCA5C 001C99BC 99 01 00 70 */ stb r8, 0x70(r1) /* 801CCA60 001C99C0 91 01 00 74 */ stw r8, 0x74(r1) /* 801CCA64 001C99C4 91 01 00 78 */ stw r8, 0x78(r1) /* 801CCA68 001C99C8 91 01 00 7C */ stw r8, 0x7c(r1) /* 801CCA6C 001C99CC 4B E6 03 11 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801CCA70 001C99D0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801CCA74 001C99D4 93 7C 00 54 */ stw r27, 0x54(r28) /* 801CCA78 001C99D8 38 00 00 06 */ li r0, 6 /* 801CCA7C 001C99DC 41 82 00 08 */ beq lbl_801CCA84 /* 801CCA80 001C99E0 38 00 00 07 */ li r0, 7 lbl_801CCA84: /* 801CCA84 001C99E4 28 1F 00 00 */ cmplwi r31, 0 /* 801CCA88 001C99E8 90 1C 00 50 */ stw r0, 0x50(r28) /* 801CCA8C 001C99EC 41 82 00 58 */ beq lbl_801CCAE4 /* 801CCA90 001C99F0 80 A1 00 CC */ lwz r5, 0xcc(r1) /* 801CCA94 001C99F4 38 60 00 00 */ li r3, 0 /* 801CCA98 001C99F8 2C 05 00 00 */ cmpwi r5, 0 /* 801CCA9C 001C99FC 40 81 00 40 */ ble lbl_801CCADC /* 801CCAA0 001C9A00 2C 05 00 08 */ cmpwi r5, 8 /* 801CCAA4 001C9A04 38 85 FF F8 */ addi r4, r5, -8 /* 801CCAA8 001C9A08 40 81 00 20 */ ble lbl_801CCAC8 /* 801CCAAC 001C9A0C 38 04 00 07 */ addi r0, r4, 7 /* 801CCAB0 001C9A10 54 00 E8 FE */ srwi r0, r0, 3 /* 801CCAB4 001C9A14 7C 09 03 A6 */ mtctr r0 /* 801CCAB8 001C9A18 2C 04 00 00 */ cmpwi r4, 0 /* 801CCABC 001C9A1C 40 81 00 0C */ ble lbl_801CCAC8 lbl_801CCAC0: /* 801CCAC0 001C9A20 38 63 00 08 */ addi r3, r3, 8 /* 801CCAC4 001C9A24 42 00 FF FC */ bdnz lbl_801CCAC0 lbl_801CCAC8: /* 801CCAC8 001C9A28 7C 03 28 50 */ subf r0, r3, r5 /* 801CCACC 001C9A2C 7C 09 03 A6 */ mtctr r0 /* 801CCAD0 001C9A30 7C 03 28 00 */ cmpw r3, r5 /* 801CCAD4 001C9A34 40 80 00 08 */ bge lbl_801CCADC lbl_801CCAD8: /* 801CCAD8 001C9A38 42 00 00 00 */ bdnz lbl_801CCAD8 lbl_801CCADC: /* 801CCADC 001C9A3C 38 00 00 00 */ li r0, 0 /* 801CCAE0 001C9A40 90 01 00 CC */ stw r0, 0xcc(r1) lbl_801CCAE4: /* 801CCAE4 001C9A44 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 801CCAE8 001C9A48 CB E1 01 30 */ lfd f31, 0x130(r1) /* 801CCAEC 001C9A4C BB 61 01 1C */ lmw r27, 0x11c(r1) /* 801CCAF0 001C9A50 80 01 01 44 */ lwz r0, 0x144(r1) /* 801CCAF4 001C9A54 7C 08 03 A6 */ mtlr r0 /* 801CCAF8 001C9A58 38 21 01 40 */ addi r1, r1, 0x140 /* 801CCAFC 001C9A5C 4E 80 00 20 */ blr .global EnterFidget__14CGunControllerFR13CStateManageriii EnterFidget__14CGunControllerFR13CStateManageriii: /* 801CCB00 001C9A60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CCB04 001C9A64 7C 08 02 A6 */ mflr r0 /* 801CCB08 001C9A68 7C 88 23 78 */ mr r8, r4 /* 801CCB0C 001C9A6C 90 01 00 14 */ stw r0, 0x14(r1) /* 801CCB10 001C9A70 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CCB14 001C9A74 7C 7F 1B 78 */ mr r31, r3 /* 801CCB18 001C9A78 81 23 00 00 */ lwz r9, 0(r3) /* 801CCB1C 001C9A7C 38 7F 00 30 */ addi r3, r31, 0x30 /* 801CCB20 001C9A80 80 89 00 10 */ lwz r4, 0x10(r9) /* 801CCB24 001C9A84 48 02 47 AD */ bl SetAnim__9CGSFidgetFR9CAnimDataiiiR13CStateManager /* 801CCB28 001C9A88 90 7F 00 54 */ stw r3, 0x54(r31) /* 801CCB2C 001C9A8C 38 00 00 05 */ li r0, 5 /* 801CCB30 001C9A90 90 1F 00 50 */ stw r0, 0x50(r31) /* 801CCB34 001C9A94 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CCB38 001C9A98 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CCB3C 001C9A9C 7C 08 03 A6 */ mtlr r0 /* 801CCB40 001C9AA0 38 21 00 10 */ addi r1, r1, 0x10 /* 801CCB44 001C9AA4 4E 80 00 20 */ blr .global EnterComboFire__14CGunControllerFR13CStateManageri EnterComboFire__14CGunControllerFR13CStateManageri: /* 801CCB48 001C9AA8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CCB4C 001C9AAC 7C 08 02 A6 */ mflr r0 /* 801CCB50 001C9AB0 90 01 00 14 */ stw r0, 0x14(r1) /* 801CCB54 001C9AB4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CCB58 001C9AB8 7C 7F 1B 78 */ mr r31, r3 /* 801CCB5C 001C9ABC 80 03 00 50 */ lwz r0, 0x50(r3) /* 801CCB60 001C9AC0 2C 00 00 02 */ cmpwi r0, 2 /* 801CCB64 001C9AC4 41 82 00 28 */ beq lbl_801CCB8C /* 801CCB68 001C9AC8 80 DF 00 00 */ lwz r6, 0(r31) /* 801CCB6C 001C9ACC 7C 87 23 78 */ mr r7, r4 /* 801CCB70 001C9AD0 C0 22 AB 78 */ lfs f1, lbl_805AC898@sda21(r2) /* 801CCB74 001C9AD4 38 7F 00 1C */ addi r3, r31, 0x1c /* 801CCB78 001C9AD8 80 86 00 10 */ lwz r4, 0x10(r6) /* 801CCB7C 001C9ADC 38 C0 00 00 */ li r6, 0 /* 801CCB80 001C9AE0 48 00 05 21 */ bl SetAnim__12CGSComboFireFR9CAnimDataiiR13CStateManagerf /* 801CCB84 001C9AE4 90 7F 00 54 */ stw r3, 0x54(r31) /* 801CCB88 001C9AE8 48 00 00 0C */ b lbl_801CCB94 lbl_801CCB8C: /* 801CCB8C 001C9AEC 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801CCB90 001C9AF0 90 1F 00 20 */ stw r0, 0x20(r31) lbl_801CCB94: /* 801CCB94 001C9AF4 38 00 00 03 */ li r0, 3 /* 801CCB98 001C9AF8 38 60 00 01 */ li r3, 1 /* 801CCB9C 001C9AFC 90 1F 00 50 */ stw r0, 0x50(r31) /* 801CCBA0 001C9B00 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801CCBA4 001C9B04 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801CCBA8 001C9B08 98 1F 00 58 */ stb r0, 0x58(r31) /* 801CCBAC 001C9B0C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CCBB0 001C9B10 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CCBB4 001C9B14 7C 08 03 A6 */ mtlr r0 /* 801CCBB8 001C9B18 38 21 00 10 */ addi r1, r1, 0x10 /* 801CCBBC 001C9B1C 4E 80 00 20 */ blr .global EnterFreeLook__14CGunControllerFR13CStateManagerii EnterFreeLook__14CGunControllerFR13CStateManagerii: /* 801CCBC0 001C9B20 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CCBC4 001C9B24 7C 08 02 A6 */ mflr r0 /* 801CCBC8 001C9B28 90 01 00 14 */ stw r0, 0x14(r1) /* 801CCBCC 001C9B2C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CCBD0 001C9B30 7C 7F 1B 78 */ mr r31, r3 /* 801CCBD4 001C9B34 80 03 00 50 */ lwz r0, 0x50(r3) /* 801CCBD8 001C9B38 2C 00 00 03 */ cmpwi r0, 3 /* 801CCBDC 001C9B3C 41 82 00 34 */ beq lbl_801CCC10 /* 801CCBE0 001C9B40 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801CCBE4 001C9B44 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801CCBE8 001C9B48 40 82 00 28 */ bne lbl_801CCC10 /* 801CCBEC 001C9B4C 80 FF 00 00 */ lwz r7, 0(r31) /* 801CCBF0 001C9B50 7C 88 23 78 */ mr r8, r4 /* 801CCBF4 001C9B54 C0 22 AB 78 */ lfs f1, lbl_805AC898@sda21(r2) /* 801CCBF8 001C9B58 38 7F 00 04 */ addi r3, r31, 4 /* 801CCBFC 001C9B5C 80 87 00 10 */ lwz r4, 0x10(r7) /* 801CCC00 001C9B60 38 E0 00 00 */ li r7, 0 /* 801CCC04 001C9B64 48 00 00 A5 */ bl SetAnim__11CGSFreeLookFR9CAnimDataiiiR13CStateManagerf /* 801CCC08 001C9B68 90 7F 00 54 */ stw r3, 0x54(r31) /* 801CCC0C 001C9B6C 48 00 00 0C */ b lbl_801CCC18 lbl_801CCC10: /* 801CCC10 001C9B70 80 1F 00 20 */ lwz r0, 0x20(r31) /* 801CCC14 001C9B74 90 1F 00 0C */ stw r0, 0xc(r31) lbl_801CCC18: /* 801CCC18 001C9B78 38 00 00 02 */ li r0, 2 /* 801CCC1C 001C9B7C 90 1F 00 50 */ stw r0, 0x50(r31) /* 801CCC20 001C9B80 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CCC24 001C9B84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CCC28 001C9B88 7C 08 03 A6 */ mtlr r0 /* 801CCC2C 001C9B8C 38 21 00 10 */ addi r1, r1, 0x10 /* 801CCC30 001C9B90 4E 80 00 20 */ blr .global __ct__14CGunControllerFR10CModelData __ct__14CGunControllerFR10CModelData: /* 801CCC34 001C9B94 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CCC38 001C9B98 7C 08 02 A6 */ mflr r0 /* 801CCC3C 001C9B9C 90 01 00 14 */ stw r0, 0x14(r1) /* 801CCC40 001C9BA0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CCC44 001C9BA4 7C 7F 1B 78 */ mr r31, r3 /* 801CCC48 001C9BA8 90 83 00 00 */ stw r4, 0(r3) /* 801CCC4C 001C9BAC 38 7F 00 04 */ addi r3, r31, 4 /* 801CCC50 001C9BB0 48 00 04 21 */ bl __ct__11CGSFreeLookFv /* 801CCC54 001C9BB4 38 7F 00 1C */ addi r3, r31, 0x1c /* 801CCC58 001C9BB8 48 00 08 01 */ bl __ct__12CGSComboFireFv /* 801CCC5C 001C9BBC 38 7F 00 30 */ addi r3, r31, 0x30 /* 801CCC60 001C9BC0 48 02 48 BD */ bl __ct__9CGSFidgetFv /* 801CCC64 001C9BC4 38 A0 00 00 */ li r5, 0 /* 801CCC68 001C9BC8 38 00 FF FF */ li r0, -1 /* 801CCC6C 001C9BCC 90 BF 00 50 */ stw r5, 0x50(r31) /* 801CCC70 001C9BD0 38 80 00 01 */ li r4, 1 /* 801CCC74 001C9BD4 7F E3 FB 78 */ mr r3, r31 /* 801CCC78 001C9BD8 90 1F 00 54 */ stw r0, 0x54(r31) /* 801CCC7C 001C9BDC 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801CCC80 001C9BE0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801CCC84 001C9BE4 98 1F 00 58 */ stb r0, 0x58(r31) /* 801CCC88 001C9BE8 88 1F 00 58 */ lbz r0, 0x58(r31) /* 801CCC8C 001C9BEC 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801CCC90 001C9BF0 98 1F 00 58 */ stb r0, 0x58(r31) /* 801CCC94 001C9BF4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CCC98 001C9BF8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CCC9C 001C9BFC 7C 08 03 A6 */ mtlr r0 /* 801CCCA0 001C9C00 38 21 00 10 */ addi r1, r1, 0x10 /* 801CCCA4 001C9C04 4E 80 00 20 */ blr .global SetAnim__11CGSFreeLookFR9CAnimDataiiiR13CStateManagerf SetAnim__11CGSFreeLookFR9CAnimDataiiiR13CStateManagerf: /* 801CCCA8 001C9C08 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801CCCAC 001C9C0C 7C 08 02 A6 */ mflr r0 /* 801CCCB0 001C9C10 90 01 01 14 */ stw r0, 0x114(r1) /* 801CCCB4 001C9C14 DB E1 01 00 */ stfd f31, 0x100(r1) /* 801CCCB8 001C9C18 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801CCCBC 001C9C1C BF 01 00 E0 */ stmw r24, 0xe0(r1) /* 801CCCC0 001C9C20 88 03 00 14 */ lbz r0, 0x14(r3) /* 801CCCC4 001C9C24 FF E0 08 90 */ fmr f31, f1 /* 801CCCC8 001C9C28 7C 7B 1B 78 */ mr r27, r3 /* 801CCCCC 001C9C2C 7C 9C 23 78 */ mr r28, r4 /* 801CCCD0 001C9C30 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801CCCD4 001C9C34 7C BD 2B 78 */ mr r29, r5 /* 801CCCD8 001C9C38 7C D8 33 78 */ mr r24, r6 /* 801CCCDC 001C9C3C 7C FE 3B 78 */ mr r30, r7 /* 801CCCE0 001C9C40 7D 1F 43 78 */ mr r31, r8 /* 801CCCE4 001C9C44 3B 40 00 01 */ li r26, 1 /* 801CCCE8 001C9C48 40 82 00 08 */ bne lbl_801CCCF0 /* 801CCCEC 001C9C4C 7F DA F3 78 */ mr r26, r30 lbl_801CCCF0: /* 801CCCF0 001C9C50 88 1B 00 14 */ lbz r0, 0x14(r27) /* 801CCCF4 001C9C54 38 60 00 00 */ li r3, 0 /* 801CCCF8 001C9C58 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CCCFC 001C9C5C 3B 3C 00 3C */ addi r25, r28, 0x3c /* 801CCD00 001C9C60 98 1B 00 14 */ stb r0, 0x14(r27) /* 801CCD04 001C9C64 38 61 00 18 */ addi r3, r1, 0x18 /* 801CCD08 001C9C68 48 11 63 75 */ bl NoParameter__12CPASAnimParmFv /* 801CCD0C 001C9C6C 38 61 00 20 */ addi r3, r1, 0x20 /* 801CCD10 001C9C70 48 11 63 6D */ bl NoParameter__12CPASAnimParmFv /* 801CCD14 001C9C74 38 61 00 28 */ addi r3, r1, 0x28 /* 801CCD18 001C9C78 48 11 63 65 */ bl NoParameter__12CPASAnimParmFv /* 801CCD1C 001C9C7C 38 61 00 30 */ addi r3, r1, 0x30 /* 801CCD20 001C9C80 48 11 63 5D */ bl NoParameter__12CPASAnimParmFv /* 801CCD24 001C9C84 38 61 00 38 */ addi r3, r1, 0x38 /* 801CCD28 001C9C88 48 11 63 55 */ bl NoParameter__12CPASAnimParmFv /* 801CCD2C 001C9C8C 7F 44 D3 78 */ mr r4, r26 /* 801CCD30 001C9C90 38 61 00 40 */ addi r3, r1, 0x40 /* 801CCD34 001C9C94 48 11 62 51 */ bl FromEnum__12CPASAnimParmFi /* 801CCD38 001C9C98 7F 04 C3 78 */ mr r4, r24 /* 801CCD3C 001C9C9C 38 61 00 48 */ addi r3, r1, 0x48 /* 801CCD40 001C9CA0 48 11 63 0D */ bl FromInt32__12CPASAnimParmFi /* 801CCD44 001C9CA4 7F A4 EB 78 */ mr r4, r29 /* 801CCD48 001C9CA8 38 61 00 50 */ addi r3, r1, 0x50 /* 801CCD4C 001C9CAC 48 11 63 01 */ bl FromInt32__12CPASAnimParmFi /* 801CCD50 001C9CB0 38 61 00 20 */ addi r3, r1, 0x20 /* 801CCD54 001C9CB4 38 01 00 18 */ addi r0, r1, 0x18 /* 801CCD58 001C9CB8 90 61 00 08 */ stw r3, 8(r1) /* 801CCD5C 001C9CBC 38 61 00 90 */ addi r3, r1, 0x90 /* 801CCD60 001C9CC0 38 A1 00 50 */ addi r5, r1, 0x50 /* 801CCD64 001C9CC4 38 C1 00 48 */ addi r6, r1, 0x48 /* 801CCD68 001C9CC8 90 01 00 0C */ stw r0, 0xc(r1) /* 801CCD6C 001C9CCC 38 E1 00 40 */ addi r7, r1, 0x40 /* 801CCD70 001C9CD0 39 01 00 38 */ addi r8, r1, 0x38 /* 801CCD74 001C9CD4 39 21 00 30 */ addi r9, r1, 0x30 /* 801CCD78 001C9CD8 39 41 00 28 */ addi r10, r1, 0x28 /* 801CCD7C 001C9CDC 38 80 00 03 */ li r4, 3 /* 801CCD80 001C9CE0 4B EB 05 45 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801CCD84 001C9CE4 80 DF 09 00 */ lwz r6, 0x900(r31) /* 801CCD88 001C9CE8 7F 24 CB 78 */ mr r4, r25 /* 801CCD8C 001C9CEC 38 61 00 58 */ addi r3, r1, 0x58 /* 801CCD90 001C9CF0 38 A1 00 90 */ addi r5, r1, 0x90 /* 801CCD94 001C9CF4 38 E0 FF FF */ li r7, -1 /* 801CCD98 001C9CF8 48 11 82 C9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801CCD9C 001C9CFC 34 A1 00 94 */ addic. r5, r1, 0x94 /* 801CCDA0 001C9D00 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801CCDA4 001C9D04 41 82 00 58 */ beq lbl_801CCDFC /* 801CCDA8 001C9D08 80 C5 00 00 */ lwz r6, 0(r5) /* 801CCDAC 001C9D0C 38 60 00 00 */ li r3, 0 /* 801CCDB0 001C9D10 2C 06 00 00 */ cmpwi r6, 0 /* 801CCDB4 001C9D14 40 81 00 40 */ ble lbl_801CCDF4 /* 801CCDB8 001C9D18 2C 06 00 08 */ cmpwi r6, 8 /* 801CCDBC 001C9D1C 38 86 FF F8 */ addi r4, r6, -8 /* 801CCDC0 001C9D20 40 81 00 20 */ ble lbl_801CCDE0 /* 801CCDC4 001C9D24 38 04 00 07 */ addi r0, r4, 7 /* 801CCDC8 001C9D28 54 00 E8 FE */ srwi r0, r0, 3 /* 801CCDCC 001C9D2C 7C 09 03 A6 */ mtctr r0 /* 801CCDD0 001C9D30 2C 04 00 00 */ cmpwi r4, 0 /* 801CCDD4 001C9D34 40 81 00 0C */ ble lbl_801CCDE0 lbl_801CCDD8: /* 801CCDD8 001C9D38 38 63 00 08 */ addi r3, r3, 8 /* 801CCDDC 001C9D3C 42 00 FF FC */ bdnz lbl_801CCDD8 lbl_801CCDE0: /* 801CCDE0 001C9D40 7C 03 30 50 */ subf r0, r3, r6 /* 801CCDE4 001C9D44 7C 09 03 A6 */ mtctr r0 /* 801CCDE8 001C9D48 7C 03 30 00 */ cmpw r3, r6 /* 801CCDEC 001C9D4C 40 80 00 08 */ bge lbl_801CCDF4 lbl_801CCDF0: /* 801CCDF0 001C9D50 42 00 00 00 */ bdnz lbl_801CCDF0 lbl_801CCDF4: /* 801CCDF4 001C9D54 38 00 00 00 */ li r0, 0 /* 801CCDF8 001C9D58 90 05 00 00 */ stw r0, 0(r5) lbl_801CCDFC: /* 801CCDFC 001C9D5C 7F 23 CB 78 */ mr r3, r25 /* 801CCE00 001C9D60 38 80 00 03 */ li r4, 3 /* 801CCE04 001C9D64 48 11 80 C1 */ bl GetAnimState__12CPASDatabaseCFi /* 801CCE08 001C9D68 7C 64 1B 78 */ mr r4, r3 /* 801CCE0C 001C9D6C 7F E5 FB 78 */ mr r5, r31 /* 801CCE10 001C9D70 38 61 00 10 */ addi r3, r1, 0x10 /* 801CCE14 001C9D74 38 C0 00 01 */ li r6, 1 /* 801CCE18 001C9D78 48 11 71 DD */ bl GetAnimParmData__13CPASAnimStateCFiUi /* 801CCE1C 001C9D7C 80 81 00 10 */ lwz r4, 0x10(r1) /* 801CCE20 001C9D80 38 61 00 60 */ addi r3, r1, 0x60 /* 801CCE24 001C9D84 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CCE28 001C9D88 90 81 00 60 */ stw r4, 0x60(r1) /* 801CCE2C 001C9D8C 90 01 00 64 */ stw r0, 0x64(r1) /* 801CCE30 001C9D90 93 BB 00 0C */ stw r29, 0xc(r27) /* 801CCE34 001C9D94 48 11 61 49 */ bl GetInt32Value__12CPASAnimParmCFv /* 801CCE38 001C9D98 C0 02 AB 80 */ lfs f0, lbl_805AC8A0@sda21(r2) /* 801CCE3C 001C9D9C 90 7B 00 10 */ stw r3, 0x10(r27) /* 801CCE40 001C9DA0 FC 00 F8 00 */ fcmpu cr0, f0, f31 /* 801CCE44 001C9DA4 93 5B 00 08 */ stw r26, 8(r27) /* 801CCE48 001C9DA8 41 82 00 10 */ beq lbl_801CCE58 /* 801CCE4C 001C9DAC D3 FB 00 00 */ stfs f31, 0(r27) /* 801CCE50 001C9DB0 93 FB 00 04 */ stw r31, 4(r27) /* 801CCE54 001C9DB4 48 00 00 6C */ b lbl_801CCEC0 lbl_801CCE58: /* 801CCE58 001C9DB8 20 7E 00 01 */ subfic r3, r30, 1 /* 801CCE5C 001C9DBC 88 1C 02 20 */ lbz r0, 0x220(r28) /* 801CCE60 001C9DC0 7C 63 00 34 */ cntlzw r3, r3 /* 801CCE64 001C9DC4 39 00 00 01 */ li r8, 1 /* 801CCE68 001C9DC8 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 /* 801CCE6C 001C9DCC C0 02 AB 84 */ lfs f0, lbl_805AC8A4@sda21(r2) /* 801CCE70 001C9DD0 98 1C 02 20 */ stb r0, 0x220(r28) /* 801CCE74 001C9DD4 38 C0 FF FF */ li r6, -1 /* 801CCE78 001C9DD8 38 00 00 00 */ li r0, 0 /* 801CCE7C 001C9DDC 7F 83 E3 78 */ mr r3, r28 /* 801CCE80 001C9DE0 88 FC 02 20 */ lbz r7, 0x220(r28) /* 801CCE84 001C9DE4 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 /* 801CCE88 001C9DE8 38 81 00 68 */ addi r4, r1, 0x68 /* 801CCE8C 001C9DEC 38 A0 00 00 */ li r5, 0 /* 801CCE90 001C9DF0 98 FC 02 20 */ stb r7, 0x220(r28) /* 801CCE94 001C9DF4 93 E1 00 68 */ stw r31, 0x68(r1) /* 801CCE98 001C9DF8 90 C1 00 6C */ stw r6, 0x6c(r1) /* 801CCE9C 001C9DFC D0 01 00 70 */ stfs f0, 0x70(r1) /* 801CCEA0 001C9E00 99 01 00 74 */ stb r8, 0x74(r1) /* 801CCEA4 001C9E04 90 01 00 78 */ stw r0, 0x78(r1) /* 801CCEA8 001C9E08 90 01 00 7C */ stw r0, 0x7c(r1) /* 801CCEAC 001C9E0C 98 01 00 80 */ stb r0, 0x80(r1) /* 801CCEB0 001C9E10 90 01 00 84 */ stw r0, 0x84(r1) /* 801CCEB4 001C9E14 90 01 00 88 */ stw r0, 0x88(r1) /* 801CCEB8 001C9E18 90 01 00 8C */ stw r0, 0x8c(r1) /* 801CCEBC 001C9E1C 4B E5 FE C1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb lbl_801CCEC0: /* 801CCEC0 001C9E20 7F E3 FB 78 */ mr r3, r31 /* 801CCEC4 001C9E24 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801CCEC8 001C9E28 CB E1 01 00 */ lfd f31, 0x100(r1) /* 801CCECC 001C9E2C BB 01 00 E0 */ lmw r24, 0xe0(r1) /* 801CCED0 001C9E30 80 01 01 14 */ lwz r0, 0x114(r1) /* 801CCED4 001C9E34 7C 08 03 A6 */ mtlr r0 /* 801CCED8 001C9E38 38 21 01 10 */ addi r1, r1, 0x110 /* 801CCEDC 001C9E3C 4E 80 00 20 */ blr .global Update__11CGSFreeLookFR9CAnimDatafR13CStateManager Update__11CGSFreeLookFR9CAnimDatafR13CStateManager: /* 801CCEE0 001C9E40 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CCEE4 001C9E44 7C 08 02 A6 */ mflr r0 /* 801CCEE8 001C9E48 90 01 00 54 */ stw r0, 0x54(r1) /* 801CCEEC 001C9E4C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801CCEF0 001C9E50 7C 9F 23 78 */ mr r31, r4 /* 801CCEF4 001C9E54 93 C1 00 48 */ stw r30, 0x48(r1) /* 801CCEF8 001C9E58 7C 7E 1B 78 */ mr r30, r3 /* 801CCEFC 001C9E5C 93 A1 00 44 */ stw r29, 0x44(r1) /* 801CCF00 001C9E60 93 81 00 40 */ stw r28, 0x40(r1) /* 801CCF04 001C9E64 7C BC 2B 78 */ mr r28, r5 /* 801CCF08 001C9E68 80 03 00 04 */ lwz r0, 4(r3) /* 801CCF0C 001C9E6C 2C 00 FF FF */ cmpwi r0, -1 /* 801CCF10 001C9E70 41 82 00 AC */ beq lbl_801CCFBC /* 801CCF14 001C9E74 C0 5E 00 00 */ lfs f2, 0(r30) /* 801CCF18 001C9E78 C0 02 AB 80 */ lfs f0, lbl_805AC8A0@sda21(r2) /* 801CCF1C 001C9E7C EC 22 08 28 */ fsubs f1, f2, f1 /* 801CCF20 001C9E80 D0 3E 00 00 */ stfs f1, 0(r30) /* 801CCF24 001C9E84 C0 3E 00 00 */ lfs f1, 0(r30) /* 801CCF28 001C9E88 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CCF2C 001C9E8C 4C 40 13 82 */ cror 2, 0, 2 /* 801CCF30 001C9E90 40 82 01 1C */ bne lbl_801CD04C /* 801CCF34 001C9E94 80 1E 00 08 */ lwz r0, 8(r30) /* 801CCF38 001C9E98 39 00 00 01 */ li r8, 1 /* 801CCF3C 001C9E9C 88 9F 02 20 */ lbz r4, 0x220(r31) /* 801CCF40 001C9EA0 38 C0 FF FF */ li r6, -1 /* 801CCF44 001C9EA4 20 00 00 01 */ subfic r0, r0, 1 /* 801CCF48 001C9EA8 C0 02 AB 84 */ lfs f0, lbl_805AC8A4@sda21(r2) /* 801CCF4C 001C9EAC 7C 03 00 34 */ cntlzw r3, r0 /* 801CCF50 001C9EB0 54 65 DE 3E */ rlwinm r5, r3, 0x1b, 0x18, 0x1f /* 801CCF54 001C9EB4 38 00 00 00 */ li r0, 0 /* 801CCF58 001C9EB8 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 /* 801CCF5C 001C9EBC 7F E3 FB 78 */ mr r3, r31 /* 801CCF60 001C9EC0 98 9F 02 20 */ stb r4, 0x220(r31) /* 801CCF64 001C9EC4 38 81 00 18 */ addi r4, r1, 0x18 /* 801CCF68 001C9EC8 38 A0 00 00 */ li r5, 0 /* 801CCF6C 001C9ECC 88 FF 02 20 */ lbz r7, 0x220(r31) /* 801CCF70 001C9ED0 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 /* 801CCF74 001C9ED4 98 FF 02 20 */ stb r7, 0x220(r31) /* 801CCF78 001C9ED8 80 FE 00 04 */ lwz r7, 4(r30) /* 801CCF7C 001C9EDC 90 E1 00 18 */ stw r7, 0x18(r1) /* 801CCF80 001C9EE0 90 C1 00 1C */ stw r6, 0x1c(r1) /* 801CCF84 001C9EE4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CCF88 001C9EE8 99 01 00 24 */ stb r8, 0x24(r1) /* 801CCF8C 001C9EEC 90 01 00 28 */ stw r0, 0x28(r1) /* 801CCF90 001C9EF0 90 01 00 2C */ stw r0, 0x2c(r1) /* 801CCF94 001C9EF4 98 01 00 30 */ stb r0, 0x30(r1) /* 801CCF98 001C9EF8 90 01 00 34 */ stw r0, 0x34(r1) /* 801CCF9C 001C9EFC 90 01 00 38 */ stw r0, 0x38(r1) /* 801CCFA0 001C9F00 90 01 00 3C */ stw r0, 0x3c(r1) /* 801CCFA4 001C9F04 4B E5 FD D9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801CCFA8 001C9F08 C0 02 AB 80 */ lfs f0, lbl_805AC8A0@sda21(r2) /* 801CCFAC 001C9F0C 38 00 FF FF */ li r0, -1 /* 801CCFB0 001C9F10 D0 1E 00 00 */ stfs f0, 0(r30) /* 801CCFB4 001C9F14 90 1E 00 04 */ stw r0, 4(r30) /* 801CCFB8 001C9F18 48 00 00 94 */ b lbl_801CD04C lbl_801CCFBC: /* 801CCFBC 001C9F1C 3C 80 80 3D */ lis r4, lbl_803D1AB8@ha /* 801CCFC0 001C9F20 38 61 00 08 */ addi r3, r1, 8 /* 801CCFC4 001C9F24 38 84 1A B8 */ addi r4, r4, lbl_803D1AB8@l /* 801CCFC8 001C9F28 4B E3 7C F1 */ bl string_l__4rstlFPCc /* 801CCFCC 001C9F2C C0 22 AB 88 */ lfs f1, lbl_805AC8A8@sda21(r2) /* 801CCFD0 001C9F30 7F E3 FB 78 */ mr r3, r31 /* 801CCFD4 001C9F34 38 81 00 08 */ addi r4, r1, 8 /* 801CCFD8 001C9F38 4B E5 F4 15 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CCFDC 001C9F3C 7C 7D 1B 78 */ mr r29, r3 /* 801CCFE0 001C9F40 38 61 00 08 */ addi r3, r1, 8 /* 801CCFE4 001C9F44 48 17 0A FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801CCFE8 001C9F48 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801CCFEC 001C9F4C 40 82 00 60 */ bne lbl_801CD04C /* 801CCFF0 001C9F50 80 1E 00 08 */ lwz r0, 8(r30) /* 801CCFF4 001C9F54 2C 00 00 01 */ cmpwi r0, 1 /* 801CCFF8 001C9F58 41 82 00 54 */ beq lbl_801CD04C /* 801CCFFC 001C9F5C 40 80 00 10 */ bge lbl_801CD00C /* 801CD000 001C9F60 2C 00 00 00 */ cmpwi r0, 0 /* 801CD004 001C9F64 40 80 00 14 */ bge lbl_801CD018 /* 801CD008 001C9F68 48 00 00 44 */ b lbl_801CD04C lbl_801CD00C: /* 801CD00C 001C9F6C 2C 00 00 03 */ cmpwi r0, 3 /* 801CD010 001C9F70 40 80 00 3C */ bge lbl_801CD04C /* 801CD014 001C9F74 48 00 00 28 */ b lbl_801CD03C lbl_801CD018: /* 801CD018 001C9F78 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801CD01C 001C9F7C 7F C3 F3 78 */ mr r3, r30 /* 801CD020 001C9F80 80 DE 00 10 */ lwz r6, 0x10(r30) /* 801CD024 001C9F84 7F E4 FB 78 */ mr r4, r31 /* 801CD028 001C9F88 C0 22 AB 80 */ lfs f1, lbl_805AC8A0@sda21(r2) /* 801CD02C 001C9F8C 7F 88 E3 78 */ mr r8, r28 /* 801CD030 001C9F90 38 E0 00 01 */ li r7, 1 /* 801CD034 001C9F94 4B FF FC 75 */ bl SetAnim__11CGSFreeLookFR9CAnimDataiiiR13CStateManagerf /* 801CD038 001C9F98 48 00 00 14 */ b lbl_801CD04C lbl_801CD03C: /* 801CD03C 001C9F9C 38 00 FF FF */ li r0, -1 /* 801CD040 001C9FA0 38 60 00 01 */ li r3, 1 /* 801CD044 001C9FA4 90 1E 00 08 */ stw r0, 8(r30) /* 801CD048 001C9FA8 48 00 00 08 */ b lbl_801CD050 lbl_801CD04C: /* 801CD04C 001C9FAC 38 60 00 00 */ li r3, 0 lbl_801CD050: /* 801CD050 001C9FB0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CD054 001C9FB4 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801CD058 001C9FB8 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801CD05C 001C9FBC 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801CD060 001C9FC0 83 81 00 40 */ lwz r28, 0x40(r1) /* 801CD064 001C9FC4 7C 08 03 A6 */ mtlr r0 /* 801CD068 001C9FC8 38 21 00 50 */ addi r1, r1, 0x50 /* 801CD06C 001C9FCC 4E 80 00 20 */ blr .global __ct__11CGSFreeLookFv __ct__11CGSFreeLookFv: /* 801CD070 001C9FD0 C0 02 AB 80 */ lfs f0, lbl_805AC8A0@sda21(r2) /* 801CD074 001C9FD4 38 00 FF FF */ li r0, -1 /* 801CD078 001C9FD8 38 80 00 00 */ li r4, 0 /* 801CD07C 001C9FDC D0 03 00 00 */ stfs f0, 0(r3) /* 801CD080 001C9FE0 90 03 00 04 */ stw r0, 4(r3) /* 801CD084 001C9FE4 90 03 00 08 */ stw r0, 8(r3) /* 801CD088 001C9FE8 90 83 00 0C */ stw r4, 0xc(r3) /* 801CD08C 001C9FEC 90 03 00 10 */ stw r0, 0x10(r3) /* 801CD090 001C9FF0 88 03 00 14 */ lbz r0, 0x14(r3) /* 801CD094 001C9FF4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801CD098 001C9FF8 98 03 00 14 */ stb r0, 0x14(r3) /* 801CD09C 001C9FFC 4E 80 00 20 */ blr .global SetAnim__12CGSComboFireFR9CAnimDataiiR13CStateManagerf SetAnim__12CGSComboFireFR9CAnimDataiiR13CStateManagerf: /* 801CD0A0 001CA000 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801CD0A4 001CA004 7C 08 02 A6 */ mflr r0 /* 801CD0A8 001CA008 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801CD0AC 001CA00C DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 801CD0B0 001CA010 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 801CD0B4 001CA014 BF 61 00 CC */ stmw r27, 0xcc(r1) /* 801CD0B8 001CA018 88 03 00 10 */ lbz r0, 0x10(r3) /* 801CD0BC 001CA01C FF E0 08 90 */ fmr f31, f1 /* 801CD0C0 001CA020 7C 7C 1B 78 */ mr r28, r3 /* 801CD0C4 001CA024 7C 9D 23 78 */ mr r29, r4 /* 801CD0C8 001CA028 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801CD0CC 001CA02C 7C BE 2B 78 */ mr r30, r5 /* 801CD0D0 001CA030 7C FF 3B 78 */ mr r31, r7 /* 801CD0D4 001CA034 3B 60 00 02 */ li r27, 2 /* 801CD0D8 001CA038 40 82 00 08 */ bne lbl_801CD0E0 /* 801CD0DC 001CA03C 7C DB 33 78 */ mr r27, r6 lbl_801CD0E0: /* 801CD0E0 001CA040 88 1C 00 10 */ lbz r0, 0x10(r28) /* 801CD0E4 001CA044 38 60 00 00 */ li r3, 0 /* 801CD0E8 001CA048 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801CD0EC 001CA04C 38 61 00 10 */ addi r3, r1, 0x10 /* 801CD0F0 001CA050 98 1C 00 10 */ stb r0, 0x10(r28) /* 801CD0F4 001CA054 48 11 5F 89 */ bl NoParameter__12CPASAnimParmFv /* 801CD0F8 001CA058 38 61 00 18 */ addi r3, r1, 0x18 /* 801CD0FC 001CA05C 48 11 5F 81 */ bl NoParameter__12CPASAnimParmFv /* 801CD100 001CA060 38 61 00 20 */ addi r3, r1, 0x20 /* 801CD104 001CA064 48 11 5F 79 */ bl NoParameter__12CPASAnimParmFv /* 801CD108 001CA068 38 61 00 28 */ addi r3, r1, 0x28 /* 801CD10C 001CA06C 48 11 5F 71 */ bl NoParameter__12CPASAnimParmFv /* 801CD110 001CA070 38 61 00 30 */ addi r3, r1, 0x30 /* 801CD114 001CA074 48 11 5F 69 */ bl NoParameter__12CPASAnimParmFv /* 801CD118 001CA078 38 61 00 38 */ addi r3, r1, 0x38 /* 801CD11C 001CA07C 48 11 5F 61 */ bl NoParameter__12CPASAnimParmFv /* 801CD120 001CA080 7F 64 DB 78 */ mr r4, r27 /* 801CD124 001CA084 38 61 00 40 */ addi r3, r1, 0x40 /* 801CD128 001CA088 48 11 5E 5D */ bl FromEnum__12CPASAnimParmFi /* 801CD12C 001CA08C 7F C4 F3 78 */ mr r4, r30 /* 801CD130 001CA090 38 61 00 48 */ addi r3, r1, 0x48 /* 801CD134 001CA094 48 11 5F 19 */ bl FromInt32__12CPASAnimParmFi /* 801CD138 001CA098 38 61 00 18 */ addi r3, r1, 0x18 /* 801CD13C 001CA09C 38 01 00 10 */ addi r0, r1, 0x10 /* 801CD140 001CA0A0 90 61 00 08 */ stw r3, 8(r1) /* 801CD144 001CA0A4 38 61 00 80 */ addi r3, r1, 0x80 /* 801CD148 001CA0A8 38 A1 00 48 */ addi r5, r1, 0x48 /* 801CD14C 001CA0AC 38 C1 00 40 */ addi r6, r1, 0x40 /* 801CD150 001CA0B0 90 01 00 0C */ stw r0, 0xc(r1) /* 801CD154 001CA0B4 38 E1 00 38 */ addi r7, r1, 0x38 /* 801CD158 001CA0B8 39 01 00 30 */ addi r8, r1, 0x30 /* 801CD15C 001CA0BC 39 21 00 28 */ addi r9, r1, 0x28 /* 801CD160 001CA0C0 39 41 00 20 */ addi r10, r1, 0x20 /* 801CD164 001CA0C4 38 80 00 04 */ li r4, 4 /* 801CD168 001CA0C8 4B EB 01 5D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801CD16C 001CA0CC 80 DF 09 00 */ lwz r6, 0x900(r31) /* 801CD170 001CA0D0 38 61 00 50 */ addi r3, r1, 0x50 /* 801CD174 001CA0D4 38 9D 00 3C */ addi r4, r29, 0x3c /* 801CD178 001CA0D8 38 A1 00 80 */ addi r5, r1, 0x80 /* 801CD17C 001CA0DC 38 E0 FF FF */ li r7, -1 /* 801CD180 001CA0E0 48 11 7E E1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801CD184 001CA0E4 34 A1 00 84 */ addic. r5, r1, 0x84 /* 801CD188 001CA0E8 83 E1 00 54 */ lwz r31, 0x54(r1) /* 801CD18C 001CA0EC 41 82 00 58 */ beq lbl_801CD1E4 /* 801CD190 001CA0F0 80 C5 00 00 */ lwz r6, 0(r5) /* 801CD194 001CA0F4 38 60 00 00 */ li r3, 0 /* 801CD198 001CA0F8 2C 06 00 00 */ cmpwi r6, 0 /* 801CD19C 001CA0FC 40 81 00 40 */ ble lbl_801CD1DC /* 801CD1A0 001CA100 2C 06 00 08 */ cmpwi r6, 8 /* 801CD1A4 001CA104 38 86 FF F8 */ addi r4, r6, -8 /* 801CD1A8 001CA108 40 81 00 20 */ ble lbl_801CD1C8 /* 801CD1AC 001CA10C 38 04 00 07 */ addi r0, r4, 7 /* 801CD1B0 001CA110 54 00 E8 FE */ srwi r0, r0, 3 /* 801CD1B4 001CA114 7C 09 03 A6 */ mtctr r0 /* 801CD1B8 001CA118 2C 04 00 00 */ cmpwi r4, 0 /* 801CD1BC 001CA11C 40 81 00 0C */ ble lbl_801CD1C8 lbl_801CD1C0: /* 801CD1C0 001CA120 38 63 00 08 */ addi r3, r3, 8 /* 801CD1C4 001CA124 42 00 FF FC */ bdnz lbl_801CD1C0 lbl_801CD1C8: /* 801CD1C8 001CA128 7C 03 30 50 */ subf r0, r3, r6 /* 801CD1CC 001CA12C 7C 09 03 A6 */ mtctr r0 /* 801CD1D0 001CA130 7C 03 30 00 */ cmpw r3, r6 /* 801CD1D4 001CA134 40 80 00 08 */ bge lbl_801CD1DC lbl_801CD1D8: /* 801CD1D8 001CA138 42 00 00 00 */ bdnz lbl_801CD1D8 lbl_801CD1DC: /* 801CD1DC 001CA13C 38 00 00 00 */ li r0, 0 /* 801CD1E0 001CA140 90 05 00 00 */ stw r0, 0(r5) lbl_801CD1E4: /* 801CD1E4 001CA144 88 1C 00 10 */ lbz r0, 0x10(r28) /* 801CD1E8 001CA148 39 00 00 00 */ li r8, 0 /* 801CD1EC 001CA14C 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 /* 801CD1F0 001CA150 C0 02 AB 90 */ lfs f0, lbl_805AC8B0@sda21(r2) /* 801CD1F4 001CA154 98 1C 00 10 */ stb r0, 0x10(r28) /* 801CD1F8 001CA158 FC 00 F8 00 */ fcmpu cr0, f0, f31 /* 801CD1FC 001CA15C 93 DC 00 0C */ stw r30, 0xc(r28) /* 801CD200 001CA160 93 7C 00 04 */ stw r27, 4(r28) /* 801CD204 001CA164 41 82 00 10 */ beq lbl_801CD214 /* 801CD208 001CA168 D3 FC 00 00 */ stfs f31, 0(r28) /* 801CD20C 001CA16C 93 FC 00 08 */ stw r31, 8(r28) /* 801CD210 001CA170 48 00 00 68 */ b lbl_801CD278 lbl_801CD214: /* 801CD214 001CA174 20 1B 00 01 */ subfic r0, r27, 1 /* 801CD218 001CA178 88 7D 02 20 */ lbz r3, 0x220(r29) /* 801CD21C 001CA17C 7C 00 00 34 */ cntlzw r0, r0 /* 801CD220 001CA180 38 E0 00 01 */ li r7, 1 /* 801CD224 001CA184 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 /* 801CD228 001CA188 C0 02 AB 94 */ lfs f0, lbl_805AC8B4@sda21(r2) /* 801CD22C 001CA18C 98 7D 02 20 */ stb r3, 0x220(r29) /* 801CD230 001CA190 38 00 FF FF */ li r0, -1 /* 801CD234 001CA194 7F A3 EB 78 */ mr r3, r29 /* 801CD238 001CA198 38 81 00 58 */ addi r4, r1, 0x58 /* 801CD23C 001CA19C 88 DD 02 20 */ lbz r6, 0x220(r29) /* 801CD240 001CA1A0 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 /* 801CD244 001CA1A4 38 A0 00 00 */ li r5, 0 /* 801CD248 001CA1A8 98 DD 02 20 */ stb r6, 0x220(r29) /* 801CD24C 001CA1AC 93 E1 00 58 */ stw r31, 0x58(r1) /* 801CD250 001CA1B0 90 01 00 5C */ stw r0, 0x5c(r1) /* 801CD254 001CA1B4 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801CD258 001CA1B8 98 E1 00 64 */ stb r7, 0x64(r1) /* 801CD25C 001CA1BC 91 01 00 68 */ stw r8, 0x68(r1) /* 801CD260 001CA1C0 91 01 00 6C */ stw r8, 0x6c(r1) /* 801CD264 001CA1C4 99 01 00 70 */ stb r8, 0x70(r1) /* 801CD268 001CA1C8 91 01 00 74 */ stw r8, 0x74(r1) /* 801CD26C 001CA1CC 91 01 00 78 */ stw r8, 0x78(r1) /* 801CD270 001CA1D0 91 01 00 7C */ stw r8, 0x7c(r1) /* 801CD274 001CA1D4 4B E5 FB 09 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb lbl_801CD278: /* 801CD278 001CA1D8 7F E3 FB 78 */ mr r3, r31 /* 801CD27C 001CA1DC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 801CD280 001CA1E0 CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 801CD284 001CA1E4 BB 61 00 CC */ lmw r27, 0xcc(r1) /* 801CD288 001CA1E8 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801CD28C 001CA1EC 7C 08 03 A6 */ mtlr r0 /* 801CD290 001CA1F0 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801CD294 001CA1F4 4E 80 00 20 */ blr .global Update__12CGSComboFireFR9CAnimDatafR13CStateManager Update__12CGSComboFireFR9CAnimDatafR13CStateManager: /* 801CD298 001CA1F8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CD29C 001CA1FC 7C 08 02 A6 */ mflr r0 /* 801CD2A0 001CA200 90 01 00 54 */ stw r0, 0x54(r1) /* 801CD2A4 001CA204 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801CD2A8 001CA208 7C 9F 23 78 */ mr r31, r4 /* 801CD2AC 001CA20C 93 C1 00 48 */ stw r30, 0x48(r1) /* 801CD2B0 001CA210 7C 7E 1B 78 */ mr r30, r3 /* 801CD2B4 001CA214 93 A1 00 44 */ stw r29, 0x44(r1) /* 801CD2B8 001CA218 93 81 00 40 */ stw r28, 0x40(r1) /* 801CD2BC 001CA21C 7C BC 2B 78 */ mr r28, r5 /* 801CD2C0 001CA220 80 03 00 08 */ lwz r0, 8(r3) /* 801CD2C4 001CA224 2C 00 FF FF */ cmpwi r0, -1 /* 801CD2C8 001CA228 41 82 00 AC */ beq lbl_801CD374 /* 801CD2CC 001CA22C C0 5E 00 00 */ lfs f2, 0(r30) /* 801CD2D0 001CA230 C0 02 AB 90 */ lfs f0, lbl_805AC8B0@sda21(r2) /* 801CD2D4 001CA234 EC 22 08 28 */ fsubs f1, f2, f1 /* 801CD2D8 001CA238 D0 3E 00 00 */ stfs f1, 0(r30) /* 801CD2DC 001CA23C C0 3E 00 00 */ lfs f1, 0(r30) /* 801CD2E0 001CA240 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CD2E4 001CA244 4C 40 13 82 */ cror 2, 0, 2 /* 801CD2E8 001CA248 40 82 01 4C */ bne lbl_801CD434 /* 801CD2EC 001CA24C 80 1E 00 04 */ lwz r0, 4(r30) /* 801CD2F0 001CA250 39 00 00 01 */ li r8, 1 /* 801CD2F4 001CA254 88 9F 02 20 */ lbz r4, 0x220(r31) /* 801CD2F8 001CA258 38 C0 FF FF */ li r6, -1 /* 801CD2FC 001CA25C 20 00 00 01 */ subfic r0, r0, 1 /* 801CD300 001CA260 C0 02 AB 94 */ lfs f0, lbl_805AC8B4@sda21(r2) /* 801CD304 001CA264 7C 03 00 34 */ cntlzw r3, r0 /* 801CD308 001CA268 54 65 DE 3E */ rlwinm r5, r3, 0x1b, 0x18, 0x1f /* 801CD30C 001CA26C 38 00 00 00 */ li r0, 0 /* 801CD310 001CA270 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 /* 801CD314 001CA274 7F E3 FB 78 */ mr r3, r31 /* 801CD318 001CA278 98 9F 02 20 */ stb r4, 0x220(r31) /* 801CD31C 001CA27C 38 81 00 18 */ addi r4, r1, 0x18 /* 801CD320 001CA280 38 A0 00 00 */ li r5, 0 /* 801CD324 001CA284 88 FF 02 20 */ lbz r7, 0x220(r31) /* 801CD328 001CA288 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 /* 801CD32C 001CA28C 98 FF 02 20 */ stb r7, 0x220(r31) /* 801CD330 001CA290 80 FE 00 08 */ lwz r7, 8(r30) /* 801CD334 001CA294 90 E1 00 18 */ stw r7, 0x18(r1) /* 801CD338 001CA298 90 C1 00 1C */ stw r6, 0x1c(r1) /* 801CD33C 001CA29C D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CD340 001CA2A0 99 01 00 24 */ stb r8, 0x24(r1) /* 801CD344 001CA2A4 90 01 00 28 */ stw r0, 0x28(r1) /* 801CD348 001CA2A8 90 01 00 2C */ stw r0, 0x2c(r1) /* 801CD34C 001CA2AC 98 01 00 30 */ stb r0, 0x30(r1) /* 801CD350 001CA2B0 90 01 00 34 */ stw r0, 0x34(r1) /* 801CD354 001CA2B4 90 01 00 38 */ stw r0, 0x38(r1) /* 801CD358 001CA2B8 90 01 00 3C */ stw r0, 0x3c(r1) /* 801CD35C 001CA2BC 4B E5 FA 21 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801CD360 001CA2C0 C0 02 AB 90 */ lfs f0, lbl_805AC8B0@sda21(r2) /* 801CD364 001CA2C4 38 00 FF FF */ li r0, -1 /* 801CD368 001CA2C8 D0 1E 00 00 */ stfs f0, 0(r30) /* 801CD36C 001CA2CC 90 1E 00 08 */ stw r0, 8(r30) /* 801CD370 001CA2D0 48 00 00 C4 */ b lbl_801CD434 lbl_801CD374: /* 801CD374 001CA2D4 3C 80 80 3D */ lis r4, lbl_803D1AC8@ha /* 801CD378 001CA2D8 38 61 00 08 */ addi r3, r1, 8 /* 801CD37C 001CA2DC 38 84 1A C8 */ addi r4, r4, lbl_803D1AC8@l /* 801CD380 001CA2E0 4B E3 79 39 */ bl string_l__4rstlFPCc /* 801CD384 001CA2E4 C0 22 AB 98 */ lfs f1, lbl_805AC8B8@sda21(r2) /* 801CD388 001CA2E8 7F E3 FB 78 */ mr r3, r31 /* 801CD38C 001CA2EC 38 81 00 08 */ addi r4, r1, 8 /* 801CD390 001CA2F0 4B E5 F0 5D */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CD394 001CA2F4 7C 7D 1B 78 */ mr r29, r3 /* 801CD398 001CA2F8 38 61 00 08 */ addi r3, r1, 8 /* 801CD39C 001CA2FC 48 17 07 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801CD3A0 001CA300 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801CD3A4 001CA304 40 82 00 90 */ bne lbl_801CD434 /* 801CD3A8 001CA308 80 1E 00 04 */ lwz r0, 4(r30) /* 801CD3AC 001CA30C 2C 00 00 01 */ cmpwi r0, 1 /* 801CD3B0 001CA310 41 82 00 84 */ beq lbl_801CD434 /* 801CD3B4 001CA314 40 80 00 10 */ bge lbl_801CD3C4 /* 801CD3B8 001CA318 2C 00 00 00 */ cmpwi r0, 0 /* 801CD3BC 001CA31C 40 80 00 14 */ bge lbl_801CD3D0 /* 801CD3C0 001CA320 48 00 00 74 */ b lbl_801CD434 lbl_801CD3C4: /* 801CD3C4 001CA324 2C 00 00 03 */ cmpwi r0, 3 /* 801CD3C8 001CA328 40 80 00 6C */ bge lbl_801CD434 /* 801CD3CC 001CA32C 48 00 00 58 */ b lbl_801CD424 lbl_801CD3D0: /* 801CD3D0 001CA330 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801CD3D4 001CA334 7F C3 F3 78 */ mr r3, r30 /* 801CD3D8 001CA338 C0 22 AB 90 */ lfs f1, lbl_805AC8B0@sda21(r2) /* 801CD3DC 001CA33C 7F E4 FB 78 */ mr r4, r31 /* 801CD3E0 001CA340 7F 87 E3 78 */ mr r7, r28 /* 801CD3E4 001CA344 38 C0 00 01 */ li r6, 1 /* 801CD3E8 001CA348 4B FF FC B9 */ bl SetAnim__12CGSComboFireFR9CAnimDataiiR13CStateManagerf /* 801CD3EC 001CA34C 80 1E 00 0C */ lwz r0, 0xc(r30) /* 801CD3F0 001CA350 2C 00 00 04 */ cmpwi r0, 4 /* 801CD3F4 001CA354 41 82 00 1C */ beq lbl_801CD410 /* 801CD3F8 001CA358 40 80 00 3C */ bge lbl_801CD434 /* 801CD3FC 001CA35C 2C 00 00 02 */ cmpwi r0, 2 /* 801CD400 001CA360 40 80 00 34 */ bge lbl_801CD434 /* 801CD404 001CA364 2C 00 00 00 */ cmpwi r0, 0 /* 801CD408 001CA368 40 80 00 08 */ bge lbl_801CD410 /* 801CD40C 001CA36C 48 00 00 28 */ b lbl_801CD434 lbl_801CD410: /* 801CD410 001CA370 88 1E 00 10 */ lbz r0, 0x10(r30) /* 801CD414 001CA374 38 60 00 01 */ li r3, 1 /* 801CD418 001CA378 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801CD41C 001CA37C 98 1E 00 10 */ stb r0, 0x10(r30) /* 801CD420 001CA380 48 00 00 14 */ b lbl_801CD434 lbl_801CD424: /* 801CD424 001CA384 38 00 FF FF */ li r0, -1 /* 801CD428 001CA388 38 60 00 01 */ li r3, 1 /* 801CD42C 001CA38C 90 1E 00 04 */ stw r0, 4(r30) /* 801CD430 001CA390 48 00 00 08 */ b lbl_801CD438 lbl_801CD434: /* 801CD434 001CA394 38 60 00 00 */ li r3, 0 lbl_801CD438: /* 801CD438 001CA398 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CD43C 001CA39C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801CD440 001CA3A0 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801CD444 001CA3A4 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801CD448 001CA3A8 83 81 00 40 */ lwz r28, 0x40(r1) /* 801CD44C 001CA3AC 7C 08 03 A6 */ mtlr r0 /* 801CD450 001CA3B0 38 21 00 50 */ addi r1, r1, 0x50 /* 801CD454 001CA3B4 4E 80 00 20 */ blr .global __ct__12CGSComboFireFv __ct__12CGSComboFireFv: /* 801CD458 001CA3B8 C0 02 AB 90 */ lfs f0, lbl_805AC8B0@sda21(r2) /* 801CD45C 001CA3BC 38 00 FF FF */ li r0, -1 /* 801CD460 001CA3C0 38 80 00 00 */ li r4, 0 /* 801CD464 001CA3C4 D0 03 00 00 */ stfs f0, 0(r3) /* 801CD468 001CA3C8 90 03 00 04 */ stw r0, 4(r3) /* 801CD46C 001CA3CC 90 03 00 08 */ stw r0, 8(r3) /* 801CD470 001CA3D0 90 03 00 0C */ stw r0, 0xc(r3) /* 801CD474 001CA3D4 88 03 00 10 */ lbz r0, 0x10(r3) /* 801CD478 001CA3D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801CD47C 001CA3DC 98 03 00 10 */ stb r0, 0x10(r3) /* 801CD480 001CA3E0 88 03 00 10 */ lbz r0, 0x10(r3) /* 801CD484 001CA3E4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801CD488 001CA3E8 98 03 00 10 */ stb r0, 0x10(r3) /* 801CD48C 001CA3EC 4E 80 00 20 */ blr .global UpdatePowerBombReadoutColors__17CHudBallInterfaceFv UpdatePowerBombReadoutColors__17CHudBallInterfaceFv: /* 801CD490 001CA3F0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CD494 001CA3F4 7C 08 02 A6 */ mflr r0 /* 801CD498 001CA3F8 90 01 00 24 */ stw r0, 0x24(r1) /* 801CD49C 001CA3FC 38 00 00 00 */ li r0, 0 /* 801CD4A0 001CA400 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801CD4A4 001CA404 7C 7F 1B 78 */ mr r31, r3 /* 801CD4A8 001CA408 93 C1 00 18 */ stw r30, 0x18(r1) /* 801CD4AC 001CA40C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801CD4B0 001CA410 80 83 00 40 */ lwz r4, 0x40(r3) /* 801CD4B4 001CA414 80 A3 00 44 */ lwz r5, 0x44(r3) /* 801CD4B8 001CA418 7C 64 00 D0 */ neg r3, r4 /* 801CD4BC 001CA41C 7C 63 20 78 */ andc r3, r3, r4 /* 801CD4C0 001CA420 7C 85 00 D0 */ neg r4, r5 /* 801CD4C4 001CA424 54 7D 0F FF */ rlwinm. r29, r3, 1, 0x1f, 0x1f /* 801CD4C8 001CA428 90 01 00 08 */ stw r0, 8(r1) /* 801CD4CC 001CA42C 7C 80 28 78 */ andc r0, r4, r5 /* 801CD4D0 001CA430 54 1E 0F FE */ srwi r30, r0, 0x1f /* 801CD4D4 001CA434 41 82 00 10 */ beq lbl_801CD4E4 /* 801CD4D8 001CA438 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801CD4DC 001CA43C 38 83 01 3C */ addi r4, r3, 0x13c /* 801CD4E0 001CA440 48 00 00 1C */ b lbl_801CD4FC lbl_801CD4E4: /* 801CD4E4 001CA444 28 1E 00 00 */ cmplwi r30, 0 /* 801CD4E8 001CA448 41 82 00 10 */ beq lbl_801CD4F8 /* 801CD4EC 001CA44C 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801CD4F0 001CA450 38 83 01 60 */ addi r4, r3, 0x160 /* 801CD4F4 001CA454 48 00 00 08 */ b lbl_801CD4FC lbl_801CD4F8: /* 801CD4F8 001CA458 38 81 00 08 */ addi r4, r1, 8 lbl_801CD4FC: /* 801CD4FC 001CA45C 80 7F 00 10 */ lwz r3, 0x10(r31) /* 801CD500 001CA460 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801CD504 001CA464 48 0F C1 65 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 801CD508 001CA468 28 1D 00 00 */ cmplwi r29, 0 /* 801CD50C 001CA46C 41 82 00 10 */ beq lbl_801CD51C /* 801CD510 001CA470 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801CD514 001CA474 38 83 01 40 */ addi r4, r3, 0x140 /* 801CD518 001CA478 48 00 00 1C */ b lbl_801CD534 lbl_801CD51C: /* 801CD51C 001CA47C 28 1E 00 00 */ cmplwi r30, 0 /* 801CD520 001CA480 41 82 00 10 */ beq lbl_801CD530 /* 801CD524 001CA484 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801CD528 001CA488 38 83 01 64 */ addi r4, r3, 0x164 /* 801CD52C 001CA48C 48 00 00 08 */ b lbl_801CD534 lbl_801CD530: /* 801CD530 001CA490 38 81 00 08 */ addi r4, r1, 8 lbl_801CD534: /* 801CD534 001CA494 80 7F 00 10 */ lwz r3, 0x10(r31) /* 801CD538 001CA498 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801CD53C 001CA49C 48 0F C0 DD */ bl SetOutlineColor__15CGuiTextSupportFRC6CColor /* 801CD540 001CA4A0 28 1D 00 00 */ cmplwi r29, 0 /* 801CD544 001CA4A4 38 60 00 00 */ li r3, 0 /* 801CD548 001CA4A8 41 82 00 14 */ beq lbl_801CD55C /* 801CD54C 001CA4AC 88 1F 00 4C */ lbz r0, 0x4c(r31) /* 801CD550 001CA4B0 28 00 00 00 */ cmplwi r0, 0 /* 801CD554 001CA4B4 41 82 00 08 */ beq lbl_801CD55C /* 801CD558 001CA4B8 38 60 00 01 */ li r3, 1 lbl_801CD55C: /* 801CD55C 001CA4BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CD560 001CA4C0 41 82 00 10 */ beq lbl_801CD570 /* 801CD564 001CA4C4 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801CD568 001CA4C8 38 83 01 50 */ addi r4, r3, 0x150 /* 801CD56C 001CA4CC 48 00 00 1C */ b lbl_801CD588 lbl_801CD570: /* 801CD570 001CA4D0 28 1E 00 00 */ cmplwi r30, 0 /* 801CD574 001CA4D4 41 82 00 10 */ beq lbl_801CD584 /* 801CD578 001CA4D8 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801CD57C 001CA4DC 38 83 01 68 */ addi r4, r3, 0x168 /* 801CD580 001CA4E0 48 00 00 08 */ b lbl_801CD588 lbl_801CD584: /* 801CD584 001CA4E4 38 81 00 08 */ addi r4, r1, 8 lbl_801CD588: /* 801CD588 001CA4E8 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801CD58C 001CA4EC 48 0F D2 E1 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801CD590 001CA4F0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CD594 001CA4F4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801CD598 001CA4F8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801CD59C 001CA4FC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801CD5A0 001CA500 7C 08 03 A6 */ mtlr r0 /* 801CD5A4 001CA504 38 21 00 20 */ addi r1, r1, 0x20 /* 801CD5A8 001CA508 4E 80 00 20 */ blr .global SetBallModeFactor__17CHudBallInterfaceFf SetBallModeFactor__17CHudBallInterfaceFf: /* 801CD5AC 001CA50C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CD5B0 001CA510 7C 08 02 A6 */ mflr r0 /* 801CD5B4 001CA514 C0 42 AB A4 */ lfs f2, lbl_805AC8C4@sda21(r2) /* 801CD5B8 001CA518 90 01 00 54 */ stw r0, 0x54(r1) /* 801CD5BC 001CA51C C0 82 AB A0 */ lfs f4, lbl_805AC8C0@sda21(r2) /* 801CD5C0 001CA520 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801CD5C4 001CA524 7C 7F 1B 78 */ mr r31, r3 /* 801CD5C8 001CA528 C0 62 AB A8 */ lfs f3, lbl_805AC8C8@sda21(r2) /* 801CD5CC 001CA52C 38 61 00 14 */ addi r3, r1, 0x14 /* 801CD5D0 001CA530 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) /* 801CD5D4 001CA534 C0 BF 00 38 */ lfs f5, 0x38(r31) /* 801CD5D8 001CA538 C0 04 02 54 */ lfs f0, 0x254(r4) /* 801CD5DC 001CA53C 38 81 00 08 */ addi r4, r1, 8 /* 801CD5E0 001CA540 EC 02 00 32 */ fmuls f0, f2, f0 /* 801CD5E4 001CA544 C0 5F 00 3C */ lfs f2, 0x3c(r31) /* 801CD5E8 001CA548 EC 84 00 32 */ fmuls f4, f4, f0 /* 801CD5EC 001CA54C C0 1F 00 34 */ lfs f0, 0x34(r31) /* 801CD5F0 001CA550 D0 01 00 08 */ stfs f0, 8(r1) /* 801CD5F4 001CA554 EC 01 21 38 */ fmsubs f0, f1, f4, f4 /* 801CD5F8 001CA558 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801CD5FC 001CA55C EC 00 00 F2 */ fmuls f0, f0, f3 /* 801CD600 001CA560 EC 00 10 2A */ fadds f0, f0, f2 /* 801CD604 001CA564 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801CD608 001CA568 48 14 5B 39 */ bl Translate__12CTransform4fFRC9CVector3f /* 801CD60C 001CA56C 83 FF 00 00 */ lwz r31, 0(r31) /* 801CD610 001CA570 38 81 00 14 */ addi r4, r1, 0x14 /* 801CD614 001CA574 38 7F 00 04 */ addi r3, r31, 4 /* 801CD618 001CA578 48 14 55 29 */ bl __as__12CTransform4fFRC12CTransform4f /* 801CD61C 001CA57C 7F E3 FB 78 */ mr r3, r31 /* 801CD620 001CA580 48 0F 71 C9 */ bl RecalculateTransforms__10CGuiObjectFv /* 801CD624 001CA584 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CD628 001CA588 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801CD62C 001CA58C 7C 08 03 A6 */ mtlr r0 /* 801CD630 001CA590 38 21 00 50 */ addi r1, r1, 0x50 /* 801CD634 001CA594 4E 80 00 20 */ blr .global SetBombParams__17CHudBallInterfaceFiiibbb SetBombParams__17CHudBallInterfaceFiiibbb: /* 801CD638 001CA598 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801CD63C 001CA59C 7C 08 02 A6 */ mflr r0 /* 801CD640 001CA5A0 90 01 00 44 */ stw r0, 0x44(r1) /* 801CD644 001CA5A4 BF 21 00 24 */ stmw r25, 0x24(r1) /* 801CD648 001CA5A8 7C 9C 23 78 */ mr r28, r4 /* 801CD64C 001CA5AC 7C 7D 1B 78 */ mr r29, r3 /* 801CD650 001CA5B0 7C BB 2B 78 */ mr r27, r5 /* 801CD654 001CA5B4 7C DE 33 78 */ mr r30, r6 /* 801CD658 001CA5B8 7C FF 3B 78 */ mr r31, r7 /* 801CD65C 001CA5BC 7D 1A 43 78 */ mr r26, r8 /* 801CD660 001CA5C0 7D 39 4B 78 */ mr r25, r9 /* 801CD664 001CA5C4 80 03 00 40 */ lwz r0, 0x40(r3) /* 801CD668 001CA5C8 7C 1C 00 00 */ cmpw r28, r0 /* 801CD66C 001CA5CC 40 82 00 0C */ bne lbl_801CD678 /* 801CD670 001CA5D0 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 801CD674 001CA5D4 41 82 00 58 */ beq lbl_801CD6CC lbl_801CD678: /* 801CD678 001CA5D8 3C 60 80 3D */ lis r3, lbl_803D1B60@ha /* 801CD67C 001CA5DC 7F 85 E3 78 */ mr r5, r28 /* 801CD680 001CA5E0 38 83 1B 60 */ addi r4, r3, lbl_803D1B60@l /* 801CD684 001CA5E4 38 61 00 0C */ addi r3, r1, 0xc /* 801CD688 001CA5E8 4C C6 31 82 */ crclr 6 /* 801CD68C 001CA5EC 48 1C 06 51 */ bl sprintf /* 801CD690 001CA5F0 38 61 00 10 */ addi r3, r1, 0x10 /* 801CD694 001CA5F4 38 81 00 0C */ addi r4, r1, 0xc /* 801CD698 001CA5F8 38 C1 00 08 */ addi r6, r1, 8 /* 801CD69C 001CA5FC 38 A0 FF FF */ li r5, -1 /* 801CD6A0 001CA600 48 17 0A F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801CD6A4 001CA604 80 7D 00 10 */ lwz r3, 0x10(r29) /* 801CD6A8 001CA608 38 81 00 10 */ addi r4, r1, 0x10 /* 801CD6AC 001CA60C 38 A0 00 00 */ li r5, 0 /* 801CD6B0 001CA610 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801CD6B4 001CA614 48 0F C4 55 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CD6B8 001CA618 38 61 00 10 */ addi r3, r1, 0x10 /* 801CD6BC 001CA61C 48 17 04 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801CD6C0 001CA620 93 9D 00 40 */ stw r28, 0x40(r29) /* 801CD6C4 001CA624 7F A3 EB 78 */ mr r3, r29 /* 801CD6C8 001CA628 4B FF FD C9 */ bl UpdatePowerBombReadoutColors__17CHudBallInterfaceFv lbl_801CD6CC: /* 801CD6CC 001CA62C 80 1D 00 44 */ lwz r0, 0x44(r29) /* 801CD6D0 001CA630 7C 1B 00 00 */ cmpw r27, r0 /* 801CD6D4 001CA634 40 82 00 0C */ bne lbl_801CD6E0 /* 801CD6D8 001CA638 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 801CD6DC 001CA63C 41 82 00 10 */ beq lbl_801CD6EC lbl_801CD6E0: /* 801CD6E0 001CA640 93 7D 00 44 */ stw r27, 0x44(r29) /* 801CD6E4 001CA644 7F A3 EB 78 */ mr r3, r29 /* 801CD6E8 001CA648 4B FF FD A9 */ bl UpdatePowerBombReadoutColors__17CHudBallInterfaceFv lbl_801CD6EC: /* 801CD6EC 001CA64C 88 1D 00 4C */ lbz r0, 0x4c(r29) /* 801CD6F0 001CA650 57 43 06 3E */ clrlwi r3, r26, 0x18 /* 801CD6F4 001CA654 7C 03 00 40 */ cmplw r3, r0 /* 801CD6F8 001CA658 41 82 00 10 */ beq lbl_801CD708 /* 801CD6FC 001CA65C 9B 5D 00 4C */ stb r26, 0x4c(r29) /* 801CD700 001CA660 7F A3 EB 78 */ mr r3, r29 /* 801CD704 001CA664 4B FF FD 8D */ bl UpdatePowerBombReadoutColors__17CHudBallInterfaceFv lbl_801CD708: /* 801CD708 001CA668 3B 9D 00 18 */ addi r28, r29, 0x18 /* 801CD70C 001CA66C 3B 7D 00 28 */ addi r27, r29, 0x28 /* 801CD710 001CA670 3B 40 00 00 */ li r26, 0 lbl_801CD714: /* 801CD714 001CA674 7F C0 D2 78 */ xor r0, r30, r26 /* 801CD718 001CA678 80 7C 00 00 */ lwz r3, 0(r28) /* 801CD71C 001CA67C 7C 05 0E 70 */ srawi r5, r0, 1 /* 801CD720 001CA680 38 80 00 00 */ li r4, 0 /* 801CD724 001CA684 7C 00 F0 38 */ and r0, r0, r30 /* 801CD728 001CA688 7C 00 28 50 */ subf r0, r0, r5 /* 801CD72C 001CA68C 54 19 0F FF */ rlwinm. r25, r0, 1, 0x1f, 0x1f /* 801CD730 001CA690 41 82 00 10 */ beq lbl_801CD740 /* 801CD734 001CA694 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801CD738 001CA698 41 82 00 08 */ beq lbl_801CD740 /* 801CD73C 001CA69C 38 80 00 01 */ li r4, 1 lbl_801CD740: /* 801CD740 001CA6A0 38 A0 00 01 */ li r5, 1 /* 801CD744 001CA6A4 48 0F CF A5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801CD748 001CA6A8 28 19 00 00 */ cmplwi r25, 0 /* 801CD74C 001CA6AC 80 7B 00 00 */ lwz r3, 0(r27) /* 801CD750 001CA6B0 38 80 00 00 */ li r4, 0 /* 801CD754 001CA6B4 40 82 00 10 */ bne lbl_801CD764 /* 801CD758 001CA6B8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801CD75C 001CA6BC 41 82 00 08 */ beq lbl_801CD764 /* 801CD760 001CA6C0 38 80 00 01 */ li r4, 1 lbl_801CD764: /* 801CD764 001CA6C4 38 A0 00 01 */ li r5, 1 /* 801CD768 001CA6C8 48 0F CF 81 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801CD76C 001CA6CC 3B 5A 00 01 */ addi r26, r26, 1 /* 801CD770 001CA6D0 3B 7B 00 04 */ addi r27, r27, 4 /* 801CD774 001CA6D4 2C 1A 00 03 */ cmpwi r26, 3 /* 801CD778 001CA6D8 3B 9C 00 04 */ addi r28, r28, 4 /* 801CD77C 001CA6DC 41 80 FF 98 */ blt lbl_801CD714 /* 801CD780 001CA6E0 93 DD 00 48 */ stw r30, 0x48(r29) /* 801CD784 001CA6E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801CD788 001CA6E8 38 80 00 00 */ li r4, 0 /* 801CD78C 001CA6EC 80 7D 00 08 */ lwz r3, 8(r29) /* 801CD790 001CA6F0 41 82 00 14 */ beq lbl_801CD7A4 /* 801CD794 001CA6F4 80 1D 00 44 */ lwz r0, 0x44(r29) /* 801CD798 001CA6F8 2C 00 00 00 */ cmpwi r0, 0 /* 801CD79C 001CA6FC 40 81 00 08 */ ble lbl_801CD7A4 /* 801CD7A0 001CA700 38 80 00 01 */ li r4, 1 lbl_801CD7A4: /* 801CD7A4 001CA704 38 A0 00 01 */ li r5, 1 /* 801CD7A8 001CA708 48 0F CF 41 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 801CD7AC 001CA70C BB 21 00 24 */ lmw r25, 0x24(r1) /* 801CD7B0 001CA710 80 01 00 44 */ lwz r0, 0x44(r1) /* 801CD7B4 001CA714 7C 08 03 A6 */ mtlr r0 /* 801CD7B8 001CA718 38 21 00 40 */ addi r1, r1, 0x40 /* 801CD7BC 001CA71C 4E 80 00 20 */ blr .global __ct__17CHudBallInterfaceFR9CGuiFrameiiibb __ct__17CHudBallInterfaceFR9CGuiFrameiiibb: /* 801CD7C0 001CA720 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801CD7C4 001CA724 7C 08 02 A6 */ mflr r0 /* 801CD7C8 001CA728 90 01 00 74 */ stw r0, 0x74(r1) /* 801CD7CC 001CA72C 38 00 00 00 */ li r0, 0 /* 801CD7D0 001CA730 BE 61 00 3C */ stmw r19, 0x3c(r1) /* 801CD7D4 001CA734 7C 73 1B 78 */ mr r19, r3 /* 801CD7D8 001CA738 7D 38 4B 78 */ mr r24, r9 /* 801CD7DC 001CA73C 7C D5 33 78 */ mr r21, r6 /* 801CD7E0 001CA740 7C F6 3B 78 */ mr r22, r7 /* 801CD7E4 001CA744 7C 94 23 78 */ mr r20, r4 /* 801CD7E8 001CA748 7D 17 43 78 */ mr r23, r8 /* 801CD7EC 001CA74C 90 03 00 14 */ stw r0, 0x14(r3) /* 801CD7F0 001CA750 3C 60 80 5A */ lis r3, skZero3f@ha /* 801CD7F4 001CA754 39 23 66 A0 */ addi r9, r3, skZero3f@l /* 801CD7F8 001CA758 90 13 00 24 */ stw r0, 0x24(r19) /* 801CD7FC 001CA75C 3C 60 80 3D */ lis r3, lbl_803D1AD8@ha /* 801CD800 001CA760 3B C3 1A D8 */ addi r30, r3, lbl_803D1AD8@l /* 801CD804 001CA764 C0 09 00 00 */ lfs f0, 0(r9) /* 801CD808 001CA768 7E 83 A3 78 */ mr r3, r20 /* 801CD80C 001CA76C 38 9E 00 00 */ addi r4, r30, 0 /* 801CD810 001CA770 D0 13 00 34 */ stfs f0, 0x34(r19) /* 801CD814 001CA774 C0 09 00 04 */ lfs f0, 4(r9) /* 801CD818 001CA778 D0 13 00 38 */ stfs f0, 0x38(r19) /* 801CD81C 001CA77C C0 09 00 08 */ lfs f0, 8(r9) /* 801CD820 001CA780 D0 13 00 3C */ stfs f0, 0x3c(r19) /* 801CD824 001CA784 90 B3 00 40 */ stw r5, 0x40(r19) /* 801CD828 001CA788 92 B3 00 44 */ stw r21, 0x44(r19) /* 801CD82C 001CA78C 92 D3 00 48 */ stw r22, 0x48(r19) /* 801CD830 001CA790 9B 13 00 4C */ stb r24, 0x4c(r19) /* 801CD834 001CA794 80 14 00 14 */ lwz r0, 0x14(r20) /* 801CD838 001CA798 90 13 00 00 */ stw r0, 0(r19) /* 801CD83C 001CA79C 48 0F 49 19 */ bl FindWidget__9CGuiFrameCFPCc /* 801CD840 001CA7A0 90 73 00 04 */ stw r3, 4(r19) /* 801CD844 001CA7A4 7E 83 A3 78 */ mr r3, r20 /* 801CD848 001CA7A8 38 9E 00 18 */ addi r4, r30, 0x18 /* 801CD84C 001CA7AC 48 0F 49 09 */ bl FindWidget__9CGuiFrameCFPCc /* 801CD850 001CA7B0 90 73 00 10 */ stw r3, 0x10(r19) /* 801CD854 001CA7B4 7E 83 A3 78 */ mr r3, r20 /* 801CD858 001CA7B8 38 9E 00 4C */ addi r4, r30, 0x4c /* 801CD85C 001CA7BC 48 0F 48 F9 */ bl FindWidget__9CGuiFrameCFPCc /* 801CD860 001CA7C0 90 73 00 0C */ stw r3, 0xc(r19) /* 801CD864 001CA7C4 7E 83 A3 78 */ mr r3, r20 /* 801CD868 001CA7C8 38 9E 00 74 */ addi r4, r30, 0x74 /* 801CD86C 001CA7CC 48 0F 48 E9 */ bl FindWidget__9CGuiFrameCFPCc /* 801CD870 001CA7D0 3C 80 80 3D */ lis r4, lbl_803D1B60@ha /* 801CD874 001CA7D4 90 73 00 08 */ stw r3, 8(r19) /* 801CD878 001CA7D8 3B E4 1B 60 */ addi r31, r4, lbl_803D1B60@l /* 801CD87C 001CA7DC 3B 73 00 14 */ addi r27, r19, 0x14 /* 801CD880 001CA7E0 3B 53 00 24 */ addi r26, r19, 0x24 /* 801CD884 001CA7E4 3B 20 00 00 */ li r25, 0 lbl_801CD888: /* 801CD888 001CA7E8 7F 25 CB 78 */ mr r5, r25 /* 801CD88C 001CA7EC 38 7F 00 05 */ addi r3, r31, 5 /* 801CD890 001CA7F0 38 9E 00 2C */ addi r4, r30, 0x2c /* 801CD894 001CA7F4 4C C6 31 82 */ crclr 6 /* 801CD898 001CA7F8 48 10 89 19 */ bl Stringize__7CBasicsFPCce /* 801CD89C 001CA7FC 7C 64 1B 78 */ mr r4, r3 /* 801CD8A0 001CA800 38 61 00 28 */ addi r3, r1, 0x28 /* 801CD8A4 001CA804 38 C1 00 08 */ addi r6, r1, 8 /* 801CD8A8 001CA808 38 A0 FF FF */ li r5, -1 /* 801CD8AC 001CA80C 48 17 08 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801CD8B0 001CA810 7E 83 A3 78 */ mr r3, r20 /* 801CD8B4 001CA814 38 81 00 28 */ addi r4, r1, 0x28 /* 801CD8B8 001CA818 48 0F 49 1D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CD8BC 001CA81C 81 83 00 00 */ lwz r12, 0(r3) /* 801CD8C0 001CA820 7C 7C 1B 78 */ mr r28, r3 /* 801CD8C4 001CA824 38 80 00 01 */ li r4, 1 /* 801CD8C8 001CA828 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 801CD8CC 001CA82C 7D 89 03 A6 */ mtctr r12 /* 801CD8D0 001CA830 4E 80 04 21 */ bctrl /* 801CD8D4 001CA834 81 9C 00 00 */ lwz r12, 0(r28) /* 801CD8D8 001CA838 7C 7D 1B 78 */ mr r29, r3 /* 801CD8DC 001CA83C 7F 83 E3 78 */ mr r3, r28 /* 801CD8E0 001CA840 38 80 00 00 */ li r4, 0 /* 801CD8E4 001CA844 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 801CD8E8 001CA848 7D 89 03 A6 */ mtctr r12 /* 801CD8EC 001CA84C 4E 80 04 21 */ bctrl /* 801CD8F0 001CA850 80 1B 00 00 */ lwz r0, 0(r27) /* 801CD8F4 001CA854 7C 7C 1B 78 */ mr r28, r3 /* 801CD8F8 001CA858 54 00 10 3A */ slwi r0, r0, 2 /* 801CD8FC 001CA85C 7C 7B 02 14 */ add r3, r27, r0 /* 801CD900 001CA860 34 63 00 04 */ addic. r3, r3, 4 /* 801CD904 001CA864 41 82 00 08 */ beq lbl_801CD90C /* 801CD908 001CA868 93 A3 00 00 */ stw r29, 0(r3) lbl_801CD90C: /* 801CD90C 001CA86C 80 73 00 14 */ lwz r3, 0x14(r19) /* 801CD910 001CA870 38 03 00 01 */ addi r0, r3, 1 /* 801CD914 001CA874 90 13 00 14 */ stw r0, 0x14(r19) /* 801CD918 001CA878 80 1A 00 00 */ lwz r0, 0(r26) /* 801CD91C 001CA87C 54 00 10 3A */ slwi r0, r0, 2 /* 801CD920 001CA880 7C 7A 02 14 */ add r3, r26, r0 /* 801CD924 001CA884 34 63 00 04 */ addic. r3, r3, 4 /* 801CD928 001CA888 41 82 00 08 */ beq lbl_801CD930 /* 801CD92C 001CA88C 93 83 00 00 */ stw r28, 0(r3) lbl_801CD930: /* 801CD930 001CA890 80 73 00 24 */ lwz r3, 0x24(r19) /* 801CD934 001CA894 28 1D 00 00 */ cmplwi r29, 0 /* 801CD938 001CA898 38 03 00 01 */ addi r0, r3, 1 /* 801CD93C 001CA89C 90 13 00 24 */ stw r0, 0x24(r19) /* 801CD940 001CA8A0 41 82 00 14 */ beq lbl_801CD954 /* 801CD944 001CA8A4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801CD948 001CA8A8 7F A3 EB 78 */ mr r3, r29 /* 801CD94C 001CA8AC 38 84 01 48 */ addi r4, r4, 0x148 /* 801CD950 001CA8B0 48 0F CF 1D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801CD954: /* 801CD954 001CA8B4 28 1C 00 00 */ cmplwi r28, 0 /* 801CD958 001CA8B8 41 82 00 14 */ beq lbl_801CD96C /* 801CD95C 001CA8BC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801CD960 001CA8C0 7F 83 E3 78 */ mr r3, r28 /* 801CD964 001CA8C4 38 84 01 4C */ addi r4, r4, 0x14c /* 801CD968 001CA8C8 48 0F CF 05 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801CD96C: /* 801CD96C 001CA8CC 38 61 00 28 */ addi r3, r1, 0x28 /* 801CD970 001CA8D0 48 17 01 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801CD974 001CA8D4 3B 39 00 01 */ addi r25, r25, 1 /* 801CD978 001CA8D8 2C 19 00 03 */ cmpwi r25, 3 /* 801CD97C 001CA8DC 41 80 FF 0C */ blt lbl_801CD888 /* 801CD980 001CA8E0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801CD984 001CA8E4 80 73 00 08 */ lwz r3, 8(r19) /* 801CD988 001CA8E8 38 84 01 5C */ addi r4, r4, 0x15c /* 801CD98C 001CA8EC 48 0F CE E1 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801CD990 001CA8F0 80 93 00 00 */ lwz r4, 0(r19) /* 801CD994 001CA8F4 38 61 00 1C */ addi r3, r1, 0x1c /* 801CD998 001CA8F8 48 0F 78 85 */ bl GetLocalPosition__10CGuiObjectCFv /* 801CD99C 001CA8FC C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801CD9A0 001CA900 38 61 00 0C */ addi r3, r1, 0xc /* 801CD9A4 001CA904 38 9E 00 5C */ addi r4, r30, 0x5c /* 801CD9A8 001CA908 D0 13 00 34 */ stfs f0, 0x34(r19) /* 801CD9AC 001CA90C C0 01 00 20 */ lfs f0, 0x20(r1) /* 801CD9B0 001CA910 D0 13 00 38 */ stfs f0, 0x38(r19) /* 801CD9B4 001CA914 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801CD9B8 001CA918 D0 13 00 3C */ stfs f0, 0x3c(r19) /* 801CD9BC 001CA91C 4B E3 72 FD */ bl string_l__4rstlFPCc /* 801CD9C0 001CA920 7E 83 A3 78 */ mr r3, r20 /* 801CD9C4 001CA924 38 81 00 0C */ addi r4, r1, 0xc /* 801CD9C8 001CA928 48 0F 48 0D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801CD9CC 001CA92C 7C 60 1B 78 */ mr r0, r3 /* 801CD9D0 001CA930 38 61 00 0C */ addi r3, r1, 0xc /* 801CD9D4 001CA934 7C 14 03 78 */ mr r20, r0 /* 801CD9D8 001CA938 48 17 01 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801CD9DC 001CA93C 28 14 00 00 */ cmplwi r20, 0 /* 801CD9E0 001CA940 41 82 00 14 */ beq lbl_801CD9F4 /* 801CD9E4 001CA944 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801CD9E8 001CA948 7E 83 A3 78 */ mr r3, r20 /* 801CD9EC 001CA94C 38 84 01 58 */ addi r4, r4, 0x158 /* 801CD9F0 001CA950 48 0F CE 7D */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801CD9F4: /* 801CD9F4 001CA954 80 93 00 40 */ lwz r4, 0x40(r19) /* 801CD9F8 001CA958 7E 63 9B 78 */ mr r3, r19 /* 801CD9FC 001CA95C 7E A5 AB 78 */ mr r5, r21 /* 801CDA00 001CA960 7E C6 B3 78 */ mr r6, r22 /* 801CDA04 001CA964 7E E7 BB 78 */ mr r7, r23 /* 801CDA08 001CA968 7F 08 C3 78 */ mr r8, r24 /* 801CDA0C 001CA96C 39 20 00 01 */ li r9, 1 /* 801CDA10 001CA970 4B FF FC 29 */ bl SetBombParams__17CHudBallInterfaceFiiibbb /* 801CDA14 001CA974 7E 63 9B 78 */ mr r3, r19 /* 801CDA18 001CA978 BA 61 00 3C */ lmw r19, 0x3c(r1) /* 801CDA1C 001CA97C 80 01 00 74 */ lwz r0, 0x74(r1) /* 801CDA20 001CA980 7C 08 03 A6 */ mtlr r0 /* 801CDA24 001CA984 38 21 00 70 */ addi r1, r1, 0x70 /* 801CDA28 001CA988 4E 80 00 20 */ blr .global __ct__15CTweakGuiColorsFR12CInputStream __ct__15CTweakGuiColorsFR12CInputStream: /* 801CDA2C 001CA98C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CDA30 001CA990 7C 08 02 A6 */ mflr r0 /* 801CDA34 001CA994 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha /* 801CDA38 001CA998 90 01 00 14 */ stw r0, 0x14(r1) /* 801CDA3C 001CA99C 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l /* 801CDA40 001CA9A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CDA44 001CA9A4 7C 9F 23 78 */ mr r31, r4 /* 801CDA48 001CA9A8 93 C1 00 08 */ stw r30, 8(r1) /* 801CDA4C 001CA9AC 7C 7E 1B 78 */ mr r30, r3 /* 801CDA50 001CA9B0 3C 60 80 3E */ lis r3, lbl_803E5748@ha /* 801CDA54 001CA9B4 90 1E 00 00 */ stw r0, 0(r30) /* 801CDA58 001CA9B8 38 03 57 48 */ addi r0, r3, lbl_803E5748@l /* 801CDA5C 001CA9BC 38 7E 00 04 */ addi r3, r30, 4 /* 801CDA60 001CA9C0 90 1E 00 00 */ stw r0, 0(r30) /* 801CDA64 001CA9C4 48 19 59 E9 */ bl __ct__6CColorFR12CInputStream /* 801CDA68 001CA9C8 7F E4 FB 78 */ mr r4, r31 /* 801CDA6C 001CA9CC 38 7E 00 08 */ addi r3, r30, 8 /* 801CDA70 001CA9D0 48 19 59 DD */ bl __ct__6CColorFR12CInputStream /* 801CDA74 001CA9D4 7F E4 FB 78 */ mr r4, r31 /* 801CDA78 001CA9D8 38 7E 00 0C */ addi r3, r30, 0xc /* 801CDA7C 001CA9DC 48 19 59 D1 */ bl __ct__6CColorFR12CInputStream /* 801CDA80 001CA9E0 7F E4 FB 78 */ mr r4, r31 /* 801CDA84 001CA9E4 38 7E 00 10 */ addi r3, r30, 0x10 /* 801CDA88 001CA9E8 48 19 59 C5 */ bl __ct__6CColorFR12CInputStream /* 801CDA8C 001CA9EC 7F E4 FB 78 */ mr r4, r31 /* 801CDA90 001CA9F0 38 7E 00 14 */ addi r3, r30, 0x14 /* 801CDA94 001CA9F4 48 19 59 B9 */ bl __ct__6CColorFR12CInputStream /* 801CDA98 001CA9F8 7F E4 FB 78 */ mr r4, r31 /* 801CDA9C 001CA9FC 38 7E 00 18 */ addi r3, r30, 0x18 /* 801CDAA0 001CAA00 48 19 59 AD */ bl __ct__6CColorFR12CInputStream /* 801CDAA4 001CAA04 7F E4 FB 78 */ mr r4, r31 /* 801CDAA8 001CAA08 38 7E 00 1C */ addi r3, r30, 0x1c /* 801CDAAC 001CAA0C 48 19 59 A1 */ bl __ct__6CColorFR12CInputStream /* 801CDAB0 001CAA10 7F E4 FB 78 */ mr r4, r31 /* 801CDAB4 001CAA14 38 7E 00 20 */ addi r3, r30, 0x20 /* 801CDAB8 001CAA18 48 19 59 95 */ bl __ct__6CColorFR12CInputStream /* 801CDABC 001CAA1C 7F E4 FB 78 */ mr r4, r31 /* 801CDAC0 001CAA20 38 7E 00 24 */ addi r3, r30, 0x24 /* 801CDAC4 001CAA24 48 19 59 89 */ bl __ct__6CColorFR12CInputStream /* 801CDAC8 001CAA28 7F E4 FB 78 */ mr r4, r31 /* 801CDACC 001CAA2C 38 7E 00 28 */ addi r3, r30, 0x28 /* 801CDAD0 001CAA30 48 19 59 7D */ bl __ct__6CColorFR12CInputStream /* 801CDAD4 001CAA34 7F E4 FB 78 */ mr r4, r31 /* 801CDAD8 001CAA38 38 7E 00 2C */ addi r3, r30, 0x2c /* 801CDADC 001CAA3C 48 19 59 71 */ bl __ct__6CColorFR12CInputStream /* 801CDAE0 001CAA40 7F E4 FB 78 */ mr r4, r31 /* 801CDAE4 001CAA44 38 7E 00 30 */ addi r3, r30, 0x30 /* 801CDAE8 001CAA48 48 19 59 65 */ bl __ct__6CColorFR12CInputStream /* 801CDAEC 001CAA4C 7F E4 FB 78 */ mr r4, r31 /* 801CDAF0 001CAA50 38 7E 00 34 */ addi r3, r30, 0x34 /* 801CDAF4 001CAA54 48 19 59 59 */ bl __ct__6CColorFR12CInputStream /* 801CDAF8 001CAA58 7F E4 FB 78 */ mr r4, r31 /* 801CDAFC 001CAA5C 38 7E 00 38 */ addi r3, r30, 0x38 /* 801CDB00 001CAA60 48 19 59 4D */ bl __ct__6CColorFR12CInputStream /* 801CDB04 001CAA64 7F E4 FB 78 */ mr r4, r31 /* 801CDB08 001CAA68 38 7E 00 3C */ addi r3, r30, 0x3c /* 801CDB0C 001CAA6C 48 19 59 41 */ bl __ct__6CColorFR12CInputStream /* 801CDB10 001CAA70 7F E4 FB 78 */ mr r4, r31 /* 801CDB14 001CAA74 38 7E 00 40 */ addi r3, r30, 0x40 /* 801CDB18 001CAA78 48 19 59 35 */ bl __ct__6CColorFR12CInputStream /* 801CDB1C 001CAA7C 7F E4 FB 78 */ mr r4, r31 /* 801CDB20 001CAA80 38 7E 00 44 */ addi r3, r30, 0x44 /* 801CDB24 001CAA84 48 19 59 29 */ bl __ct__6CColorFR12CInputStream /* 801CDB28 001CAA88 7F E4 FB 78 */ mr r4, r31 /* 801CDB2C 001CAA8C 38 7E 00 48 */ addi r3, r30, 0x48 /* 801CDB30 001CAA90 48 19 59 1D */ bl __ct__6CColorFR12CInputStream /* 801CDB34 001CAA94 7F E4 FB 78 */ mr r4, r31 /* 801CDB38 001CAA98 38 7E 00 4C */ addi r3, r30, 0x4c /* 801CDB3C 001CAA9C 48 19 59 11 */ bl __ct__6CColorFR12CInputStream /* 801CDB40 001CAAA0 7F E4 FB 78 */ mr r4, r31 /* 801CDB44 001CAAA4 38 7E 00 50 */ addi r3, r30, 0x50 /* 801CDB48 001CAAA8 48 19 59 05 */ bl __ct__6CColorFR12CInputStream /* 801CDB4C 001CAAAC 7F E4 FB 78 */ mr r4, r31 /* 801CDB50 001CAAB0 38 7E 00 54 */ addi r3, r30, 0x54 /* 801CDB54 001CAAB4 48 19 58 F9 */ bl __ct__6CColorFR12CInputStream /* 801CDB58 001CAAB8 7F E4 FB 78 */ mr r4, r31 /* 801CDB5C 001CAABC 38 7E 00 58 */ addi r3, r30, 0x58 /* 801CDB60 001CAAC0 48 19 58 ED */ bl __ct__6CColorFR12CInputStream /* 801CDB64 001CAAC4 7F E4 FB 78 */ mr r4, r31 /* 801CDB68 001CAAC8 38 7E 00 5C */ addi r3, r30, 0x5c /* 801CDB6C 001CAACC 48 19 58 E1 */ bl __ct__6CColorFR12CInputStream /* 801CDB70 001CAAD0 7F E4 FB 78 */ mr r4, r31 /* 801CDB74 001CAAD4 38 7E 00 60 */ addi r3, r30, 0x60 /* 801CDB78 001CAAD8 48 19 58 D5 */ bl __ct__6CColorFR12CInputStream /* 801CDB7C 001CAADC 7F E4 FB 78 */ mr r4, r31 /* 801CDB80 001CAAE0 38 7E 00 64 */ addi r3, r30, 0x64 /* 801CDB84 001CAAE4 48 19 58 C9 */ bl __ct__6CColorFR12CInputStream /* 801CDB88 001CAAE8 7F E4 FB 78 */ mr r4, r31 /* 801CDB8C 001CAAEC 38 7E 00 68 */ addi r3, r30, 0x68 /* 801CDB90 001CAAF0 48 19 58 BD */ bl __ct__6CColorFR12CInputStream /* 801CDB94 001CAAF4 7F E4 FB 78 */ mr r4, r31 /* 801CDB98 001CAAF8 38 7E 00 6C */ addi r3, r30, 0x6c /* 801CDB9C 001CAAFC 48 19 58 B1 */ bl __ct__6CColorFR12CInputStream /* 801CDBA0 001CAB00 7F E4 FB 78 */ mr r4, r31 /* 801CDBA4 001CAB04 38 7E 00 70 */ addi r3, r30, 0x70 /* 801CDBA8 001CAB08 48 19 58 A5 */ bl __ct__6CColorFR12CInputStream /* 801CDBAC 001CAB0C 7F E4 FB 78 */ mr r4, r31 /* 801CDBB0 001CAB10 38 7E 00 74 */ addi r3, r30, 0x74 /* 801CDBB4 001CAB14 48 19 58 99 */ bl __ct__6CColorFR12CInputStream /* 801CDBB8 001CAB18 7F E4 FB 78 */ mr r4, r31 /* 801CDBBC 001CAB1C 38 7E 00 78 */ addi r3, r30, 0x78 /* 801CDBC0 001CAB20 48 19 58 8D */ bl __ct__6CColorFR12CInputStream /* 801CDBC4 001CAB24 7F E4 FB 78 */ mr r4, r31 /* 801CDBC8 001CAB28 38 7E 00 7C */ addi r3, r30, 0x7c /* 801CDBCC 001CAB2C 48 19 58 81 */ bl __ct__6CColorFR12CInputStream /* 801CDBD0 001CAB30 7F E4 FB 78 */ mr r4, r31 /* 801CDBD4 001CAB34 38 7E 00 80 */ addi r3, r30, 0x80 /* 801CDBD8 001CAB38 48 19 58 75 */ bl __ct__6CColorFR12CInputStream /* 801CDBDC 001CAB3C 7F E4 FB 78 */ mr r4, r31 /* 801CDBE0 001CAB40 38 7E 00 84 */ addi r3, r30, 0x84 /* 801CDBE4 001CAB44 48 19 58 69 */ bl __ct__6CColorFR12CInputStream /* 801CDBE8 001CAB48 7F E4 FB 78 */ mr r4, r31 /* 801CDBEC 001CAB4C 38 7E 00 88 */ addi r3, r30, 0x88 /* 801CDBF0 001CAB50 48 19 58 5D */ bl __ct__6CColorFR12CInputStream /* 801CDBF4 001CAB54 7F E4 FB 78 */ mr r4, r31 /* 801CDBF8 001CAB58 38 7E 00 8C */ addi r3, r30, 0x8c /* 801CDBFC 001CAB5C 48 19 58 51 */ bl __ct__6CColorFR12CInputStream /* 801CDC00 001CAB60 7F E4 FB 78 */ mr r4, r31 /* 801CDC04 001CAB64 38 7E 00 90 */ addi r3, r30, 0x90 /* 801CDC08 001CAB68 48 19 58 45 */ bl __ct__6CColorFR12CInputStream /* 801CDC0C 001CAB6C 7F E4 FB 78 */ mr r4, r31 /* 801CDC10 001CAB70 38 7E 00 94 */ addi r3, r30, 0x94 /* 801CDC14 001CAB74 48 19 58 39 */ bl __ct__6CColorFR12CInputStream /* 801CDC18 001CAB78 7F E4 FB 78 */ mr r4, r31 /* 801CDC1C 001CAB7C 38 7E 00 98 */ addi r3, r30, 0x98 /* 801CDC20 001CAB80 48 19 58 2D */ bl __ct__6CColorFR12CInputStream /* 801CDC24 001CAB84 7F E4 FB 78 */ mr r4, r31 /* 801CDC28 001CAB88 38 7E 00 9C */ addi r3, r30, 0x9c /* 801CDC2C 001CAB8C 48 19 58 21 */ bl __ct__6CColorFR12CInputStream /* 801CDC30 001CAB90 7F E4 FB 78 */ mr r4, r31 /* 801CDC34 001CAB94 38 7E 00 A0 */ addi r3, r30, 0xa0 /* 801CDC38 001CAB98 48 19 58 15 */ bl __ct__6CColorFR12CInputStream /* 801CDC3C 001CAB9C 7F E4 FB 78 */ mr r4, r31 /* 801CDC40 001CABA0 38 7E 00 A4 */ addi r3, r30, 0xa4 /* 801CDC44 001CABA4 48 19 58 09 */ bl __ct__6CColorFR12CInputStream /* 801CDC48 001CABA8 7F E4 FB 78 */ mr r4, r31 /* 801CDC4C 001CABAC 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801CDC50 001CABB0 48 19 57 FD */ bl __ct__6CColorFR12CInputStream /* 801CDC54 001CABB4 7F E4 FB 78 */ mr r4, r31 /* 801CDC58 001CABB8 38 7E 00 AC */ addi r3, r30, 0xac /* 801CDC5C 001CABBC 48 19 57 F1 */ bl __ct__6CColorFR12CInputStream /* 801CDC60 001CABC0 7F E4 FB 78 */ mr r4, r31 /* 801CDC64 001CABC4 38 7E 00 B0 */ addi r3, r30, 0xb0 /* 801CDC68 001CABC8 48 19 57 E5 */ bl __ct__6CColorFR12CInputStream /* 801CDC6C 001CABCC 7F E4 FB 78 */ mr r4, r31 /* 801CDC70 001CABD0 38 7E 00 B4 */ addi r3, r30, 0xb4 /* 801CDC74 001CABD4 48 19 57 D9 */ bl __ct__6CColorFR12CInputStream /* 801CDC78 001CABD8 7F E4 FB 78 */ mr r4, r31 /* 801CDC7C 001CABDC 38 7E 00 B8 */ addi r3, r30, 0xb8 /* 801CDC80 001CABE0 48 19 57 CD */ bl __ct__6CColorFR12CInputStream /* 801CDC84 001CABE4 7F E4 FB 78 */ mr r4, r31 /* 801CDC88 001CABE8 38 7E 00 BC */ addi r3, r30, 0xbc /* 801CDC8C 001CABEC 48 19 57 C1 */ bl __ct__6CColorFR12CInputStream /* 801CDC90 001CABF0 7F E4 FB 78 */ mr r4, r31 /* 801CDC94 001CABF4 38 7E 00 C0 */ addi r3, r30, 0xc0 /* 801CDC98 001CABF8 48 19 57 B5 */ bl __ct__6CColorFR12CInputStream /* 801CDC9C 001CABFC 7F E4 FB 78 */ mr r4, r31 /* 801CDCA0 001CAC00 38 7E 00 C4 */ addi r3, r30, 0xc4 /* 801CDCA4 001CAC04 48 19 57 A9 */ bl __ct__6CColorFR12CInputStream /* 801CDCA8 001CAC08 7F E4 FB 78 */ mr r4, r31 /* 801CDCAC 001CAC0C 38 7E 00 C8 */ addi r3, r30, 0xc8 /* 801CDCB0 001CAC10 48 19 57 9D */ bl __ct__6CColorFR12CInputStream /* 801CDCB4 001CAC14 7F E4 FB 78 */ mr r4, r31 /* 801CDCB8 001CAC18 38 7E 00 CC */ addi r3, r30, 0xcc /* 801CDCBC 001CAC1C 48 19 57 91 */ bl __ct__6CColorFR12CInputStream /* 801CDCC0 001CAC20 7F E4 FB 78 */ mr r4, r31 /* 801CDCC4 001CAC24 38 7E 00 D0 */ addi r3, r30, 0xd0 /* 801CDCC8 001CAC28 48 19 57 85 */ bl __ct__6CColorFR12CInputStream /* 801CDCCC 001CAC2C 7F E4 FB 78 */ mr r4, r31 /* 801CDCD0 001CAC30 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 801CDCD4 001CAC34 48 19 57 79 */ bl __ct__6CColorFR12CInputStream /* 801CDCD8 001CAC38 7F E4 FB 78 */ mr r4, r31 /* 801CDCDC 001CAC3C 38 7E 00 D8 */ addi r3, r30, 0xd8 /* 801CDCE0 001CAC40 48 19 57 6D */ bl __ct__6CColorFR12CInputStream /* 801CDCE4 001CAC44 7F E4 FB 78 */ mr r4, r31 /* 801CDCE8 001CAC48 38 7E 00 DC */ addi r3, r30, 0xdc /* 801CDCEC 001CAC4C 48 19 57 61 */ bl __ct__6CColorFR12CInputStream /* 801CDCF0 001CAC50 7F E4 FB 78 */ mr r4, r31 /* 801CDCF4 001CAC54 38 7E 00 E0 */ addi r3, r30, 0xe0 /* 801CDCF8 001CAC58 48 19 57 55 */ bl __ct__6CColorFR12CInputStream /* 801CDCFC 001CAC5C 7F E4 FB 78 */ mr r4, r31 /* 801CDD00 001CAC60 38 7E 00 E4 */ addi r3, r30, 0xe4 /* 801CDD04 001CAC64 48 19 57 49 */ bl __ct__6CColorFR12CInputStream /* 801CDD08 001CAC68 7F E4 FB 78 */ mr r4, r31 /* 801CDD0C 001CAC6C 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801CDD10 001CAC70 48 19 57 3D */ bl __ct__6CColorFR12CInputStream /* 801CDD14 001CAC74 7F E4 FB 78 */ mr r4, r31 /* 801CDD18 001CAC78 38 7E 00 EC */ addi r3, r30, 0xec /* 801CDD1C 001CAC7C 48 19 57 31 */ bl __ct__6CColorFR12CInputStream /* 801CDD20 001CAC80 7F E4 FB 78 */ mr r4, r31 /* 801CDD24 001CAC84 38 7E 00 F0 */ addi r3, r30, 0xf0 /* 801CDD28 001CAC88 48 19 57 25 */ bl __ct__6CColorFR12CInputStream /* 801CDD2C 001CAC8C 7F E4 FB 78 */ mr r4, r31 /* 801CDD30 001CAC90 38 7E 00 F4 */ addi r3, r30, 0xf4 /* 801CDD34 001CAC94 48 19 57 19 */ bl __ct__6CColorFR12CInputStream /* 801CDD38 001CAC98 7F E4 FB 78 */ mr r4, r31 /* 801CDD3C 001CAC9C 38 7E 00 F8 */ addi r3, r30, 0xf8 /* 801CDD40 001CACA0 48 19 57 0D */ bl __ct__6CColorFR12CInputStream /* 801CDD44 001CACA4 7F E4 FB 78 */ mr r4, r31 /* 801CDD48 001CACA8 38 7E 00 FC */ addi r3, r30, 0xfc /* 801CDD4C 001CACAC 48 19 57 01 */ bl __ct__6CColorFR12CInputStream /* 801CDD50 001CACB0 7F E4 FB 78 */ mr r4, r31 /* 801CDD54 001CACB4 38 7E 01 00 */ addi r3, r30, 0x100 /* 801CDD58 001CACB8 48 19 56 F5 */ bl __ct__6CColorFR12CInputStream /* 801CDD5C 001CACBC 7F E4 FB 78 */ mr r4, r31 /* 801CDD60 001CACC0 38 7E 01 04 */ addi r3, r30, 0x104 /* 801CDD64 001CACC4 48 19 56 E9 */ bl __ct__6CColorFR12CInputStream /* 801CDD68 001CACC8 7F E4 FB 78 */ mr r4, r31 /* 801CDD6C 001CACCC 38 7E 01 08 */ addi r3, r30, 0x108 /* 801CDD70 001CACD0 48 19 56 DD */ bl __ct__6CColorFR12CInputStream /* 801CDD74 001CACD4 7F E4 FB 78 */ mr r4, r31 /* 801CDD78 001CACD8 38 7E 01 0C */ addi r3, r30, 0x10c /* 801CDD7C 001CACDC 48 19 56 D1 */ bl __ct__6CColorFR12CInputStream /* 801CDD80 001CACE0 7F E4 FB 78 */ mr r4, r31 /* 801CDD84 001CACE4 38 7E 01 10 */ addi r3, r30, 0x110 /* 801CDD88 001CACE8 48 19 56 C5 */ bl __ct__6CColorFR12CInputStream /* 801CDD8C 001CACEC 7F E4 FB 78 */ mr r4, r31 /* 801CDD90 001CACF0 38 7E 01 14 */ addi r3, r30, 0x114 /* 801CDD94 001CACF4 48 19 56 B9 */ bl __ct__6CColorFR12CInputStream /* 801CDD98 001CACF8 7F E4 FB 78 */ mr r4, r31 /* 801CDD9C 001CACFC 38 7E 01 18 */ addi r3, r30, 0x118 /* 801CDDA0 001CAD00 48 19 56 AD */ bl __ct__6CColorFR12CInputStream /* 801CDDA4 001CAD04 7F E4 FB 78 */ mr r4, r31 /* 801CDDA8 001CAD08 38 7E 01 1C */ addi r3, r30, 0x11c /* 801CDDAC 001CAD0C 48 19 56 A1 */ bl __ct__6CColorFR12CInputStream /* 801CDDB0 001CAD10 7F E4 FB 78 */ mr r4, r31 /* 801CDDB4 001CAD14 38 7E 01 20 */ addi r3, r30, 0x120 /* 801CDDB8 001CAD18 48 19 56 95 */ bl __ct__6CColorFR12CInputStream /* 801CDDBC 001CAD1C 7F E4 FB 78 */ mr r4, r31 /* 801CDDC0 001CAD20 38 7E 01 24 */ addi r3, r30, 0x124 /* 801CDDC4 001CAD24 48 19 56 89 */ bl __ct__6CColorFR12CInputStream /* 801CDDC8 001CAD28 7F E4 FB 78 */ mr r4, r31 /* 801CDDCC 001CAD2C 38 7E 01 28 */ addi r3, r30, 0x128 /* 801CDDD0 001CAD30 48 19 56 7D */ bl __ct__6CColorFR12CInputStream /* 801CDDD4 001CAD34 7F E4 FB 78 */ mr r4, r31 /* 801CDDD8 001CAD38 38 7E 01 2C */ addi r3, r30, 0x12c /* 801CDDDC 001CAD3C 48 19 56 71 */ bl __ct__6CColorFR12CInputStream /* 801CDDE0 001CAD40 7F E4 FB 78 */ mr r4, r31 /* 801CDDE4 001CAD44 38 7E 01 30 */ addi r3, r30, 0x130 /* 801CDDE8 001CAD48 48 19 56 65 */ bl __ct__6CColorFR12CInputStream /* 801CDDEC 001CAD4C 7F E4 FB 78 */ mr r4, r31 /* 801CDDF0 001CAD50 38 7E 01 34 */ addi r3, r30, 0x134 /* 801CDDF4 001CAD54 48 19 56 59 */ bl __ct__6CColorFR12CInputStream /* 801CDDF8 001CAD58 7F E4 FB 78 */ mr r4, r31 /* 801CDDFC 001CAD5C 38 7E 01 38 */ addi r3, r30, 0x138 /* 801CDE00 001CAD60 48 19 56 4D */ bl __ct__6CColorFR12CInputStream /* 801CDE04 001CAD64 7F E4 FB 78 */ mr r4, r31 /* 801CDE08 001CAD68 38 7E 01 3C */ addi r3, r30, 0x13c /* 801CDE0C 001CAD6C 48 19 56 41 */ bl __ct__6CColorFR12CInputStream /* 801CDE10 001CAD70 7F E4 FB 78 */ mr r4, r31 /* 801CDE14 001CAD74 38 7E 01 40 */ addi r3, r30, 0x140 /* 801CDE18 001CAD78 48 19 56 35 */ bl __ct__6CColorFR12CInputStream /* 801CDE1C 001CAD7C 7F E4 FB 78 */ mr r4, r31 /* 801CDE20 001CAD80 38 7E 01 44 */ addi r3, r30, 0x144 /* 801CDE24 001CAD84 48 19 56 29 */ bl __ct__6CColorFR12CInputStream /* 801CDE28 001CAD88 7F E4 FB 78 */ mr r4, r31 /* 801CDE2C 001CAD8C 38 7E 01 48 */ addi r3, r30, 0x148 /* 801CDE30 001CAD90 48 19 56 1D */ bl __ct__6CColorFR12CInputStream /* 801CDE34 001CAD94 7F E4 FB 78 */ mr r4, r31 /* 801CDE38 001CAD98 38 7E 01 4C */ addi r3, r30, 0x14c /* 801CDE3C 001CAD9C 48 19 56 11 */ bl __ct__6CColorFR12CInputStream /* 801CDE40 001CADA0 7F E4 FB 78 */ mr r4, r31 /* 801CDE44 001CADA4 38 7E 01 50 */ addi r3, r30, 0x150 /* 801CDE48 001CADA8 48 19 56 05 */ bl __ct__6CColorFR12CInputStream /* 801CDE4C 001CADAC 7F E4 FB 78 */ mr r4, r31 /* 801CDE50 001CADB0 38 7E 01 54 */ addi r3, r30, 0x154 /* 801CDE54 001CADB4 48 19 55 F9 */ bl __ct__6CColorFR12CInputStream /* 801CDE58 001CADB8 7F E4 FB 78 */ mr r4, r31 /* 801CDE5C 001CADBC 38 7E 01 58 */ addi r3, r30, 0x158 /* 801CDE60 001CADC0 48 19 55 ED */ bl __ct__6CColorFR12CInputStream /* 801CDE64 001CADC4 7F E4 FB 78 */ mr r4, r31 /* 801CDE68 001CADC8 38 7E 01 5C */ addi r3, r30, 0x15c /* 801CDE6C 001CADCC 48 19 55 E1 */ bl __ct__6CColorFR12CInputStream /* 801CDE70 001CADD0 7F E4 FB 78 */ mr r4, r31 /* 801CDE74 001CADD4 38 7E 01 60 */ addi r3, r30, 0x160 /* 801CDE78 001CADD8 48 19 55 D5 */ bl __ct__6CColorFR12CInputStream /* 801CDE7C 001CADDC 7F E4 FB 78 */ mr r4, r31 /* 801CDE80 001CADE0 38 7E 01 64 */ addi r3, r30, 0x164 /* 801CDE84 001CADE4 48 19 55 C9 */ bl __ct__6CColorFR12CInputStream /* 801CDE88 001CADE8 7F E4 FB 78 */ mr r4, r31 /* 801CDE8C 001CADEC 38 7E 01 68 */ addi r3, r30, 0x168 /* 801CDE90 001CADF0 48 19 55 BD */ bl __ct__6CColorFR12CInputStream /* 801CDE94 001CADF4 7F E4 FB 78 */ mr r4, r31 /* 801CDE98 001CADF8 38 7E 01 6C */ addi r3, r30, 0x16c /* 801CDE9C 001CADFC 48 19 55 B1 */ bl __ct__6CColorFR12CInputStream /* 801CDEA0 001CAE00 7F E4 FB 78 */ mr r4, r31 /* 801CDEA4 001CAE04 38 7E 01 70 */ addi r3, r30, 0x170 /* 801CDEA8 001CAE08 48 19 55 A5 */ bl __ct__6CColorFR12CInputStream /* 801CDEAC 001CAE0C 7F E4 FB 78 */ mr r4, r31 /* 801CDEB0 001CAE10 38 7E 01 74 */ addi r3, r30, 0x174 /* 801CDEB4 001CAE14 48 19 55 99 */ bl __ct__6CColorFR12CInputStream /* 801CDEB8 001CAE18 7F E4 FB 78 */ mr r4, r31 /* 801CDEBC 001CAE1C 38 7E 01 78 */ addi r3, r30, 0x178 /* 801CDEC0 001CAE20 48 19 55 8D */ bl __ct__6CColorFR12CInputStream /* 801CDEC4 001CAE24 7F E4 FB 78 */ mr r4, r31 /* 801CDEC8 001CAE28 38 7E 01 7C */ addi r3, r30, 0x17c /* 801CDECC 001CAE2C 48 19 55 81 */ bl __ct__6CColorFR12CInputStream /* 801CDED0 001CAE30 7F E4 FB 78 */ mr r4, r31 /* 801CDED4 001CAE34 38 7E 01 80 */ addi r3, r30, 0x180 /* 801CDED8 001CAE38 48 19 55 75 */ bl __ct__6CColorFR12CInputStream /* 801CDEDC 001CAE3C 7F E4 FB 78 */ mr r4, r31 /* 801CDEE0 001CAE40 38 7E 01 84 */ addi r3, r30, 0x184 /* 801CDEE4 001CAE44 48 19 55 69 */ bl __ct__6CColorFR12CInputStream /* 801CDEE8 001CAE48 7F E4 FB 78 */ mr r4, r31 /* 801CDEEC 001CAE4C 38 7E 01 88 */ addi r3, r30, 0x188 /* 801CDEF0 001CAE50 48 19 55 5D */ bl __ct__6CColorFR12CInputStream /* 801CDEF4 001CAE54 7F E4 FB 78 */ mr r4, r31 /* 801CDEF8 001CAE58 38 7E 01 8C */ addi r3, r30, 0x18c /* 801CDEFC 001CAE5C 48 19 55 51 */ bl __ct__6CColorFR12CInputStream /* 801CDF00 001CAE60 7F E4 FB 78 */ mr r4, r31 /* 801CDF04 001CAE64 38 7E 01 90 */ addi r3, r30, 0x190 /* 801CDF08 001CAE68 48 19 55 45 */ bl __ct__6CColorFR12CInputStream /* 801CDF0C 001CAE6C 7F E4 FB 78 */ mr r4, r31 /* 801CDF10 001CAE70 38 7E 01 94 */ addi r3, r30, 0x194 /* 801CDF14 001CAE74 48 19 55 39 */ bl __ct__6CColorFR12CInputStream /* 801CDF18 001CAE78 7F E4 FB 78 */ mr r4, r31 /* 801CDF1C 001CAE7C 38 7E 01 98 */ addi r3, r30, 0x198 /* 801CDF20 001CAE80 48 19 55 2D */ bl __ct__6CColorFR12CInputStream /* 801CDF24 001CAE84 7F E4 FB 78 */ mr r4, r31 /* 801CDF28 001CAE88 38 7E 01 9C */ addi r3, r30, 0x19c /* 801CDF2C 001CAE8C 48 19 55 21 */ bl __ct__6CColorFR12CInputStream /* 801CDF30 001CAE90 7F E4 FB 78 */ mr r4, r31 /* 801CDF34 001CAE94 38 7E 01 A0 */ addi r3, r30, 0x1a0 /* 801CDF38 001CAE98 48 19 55 15 */ bl __ct__6CColorFR12CInputStream /* 801CDF3C 001CAE9C 7F E4 FB 78 */ mr r4, r31 /* 801CDF40 001CAEA0 38 7E 01 A4 */ addi r3, r30, 0x1a4 /* 801CDF44 001CAEA4 48 19 55 09 */ bl __ct__6CColorFR12CInputStream /* 801CDF48 001CAEA8 7F E4 FB 78 */ mr r4, r31 /* 801CDF4C 001CAEAC 38 7E 01 A8 */ addi r3, r30, 0x1a8 /* 801CDF50 001CAEB0 48 19 54 FD */ bl __ct__6CColorFR12CInputStream /* 801CDF54 001CAEB4 7F E4 FB 78 */ mr r4, r31 /* 801CDF58 001CAEB8 38 7E 01 AC */ addi r3, r30, 0x1ac /* 801CDF5C 001CAEBC 48 19 54 F1 */ bl __ct__6CColorFR12CInputStream /* 801CDF60 001CAEC0 7F E4 FB 78 */ mr r4, r31 /* 801CDF64 001CAEC4 38 7E 01 B0 */ addi r3, r30, 0x1b0 /* 801CDF68 001CAEC8 48 19 54 E5 */ bl __ct__6CColorFR12CInputStream /* 801CDF6C 001CAECC 7F E4 FB 78 */ mr r4, r31 /* 801CDF70 001CAED0 38 7E 01 B4 */ addi r3, r30, 0x1b4 /* 801CDF74 001CAED4 48 19 54 D9 */ bl __ct__6CColorFR12CInputStream /* 801CDF78 001CAED8 7F E4 FB 78 */ mr r4, r31 /* 801CDF7C 001CAEDC 38 7E 01 B8 */ addi r3, r30, 0x1b8 /* 801CDF80 001CAEE0 48 19 54 CD */ bl __ct__6CColorFR12CInputStream /* 801CDF84 001CAEE4 7F E4 FB 78 */ mr r4, r31 /* 801CDF88 001CAEE8 38 7E 01 BC */ addi r3, r30, 0x1bc /* 801CDF8C 001CAEEC 48 19 54 C1 */ bl __ct__6CColorFR12CInputStream /* 801CDF90 001CAEF0 7F E4 FB 78 */ mr r4, r31 /* 801CDF94 001CAEF4 38 7E 01 C0 */ addi r3, r30, 0x1c0 /* 801CDF98 001CAEF8 48 19 54 B5 */ bl __ct__6CColorFR12CInputStream /* 801CDF9C 001CAEFC 7F E4 FB 78 */ mr r4, r31 /* 801CDFA0 001CAF00 38 7E 01 C4 */ addi r3, r30, 0x1c4 /* 801CDFA4 001CAF04 48 00 00 21 */ bl sub_801cdfc4 /* 801CDFA8 001CAF08 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CDFAC 001CAF0C 7F C3 F3 78 */ mr r3, r30 /* 801CDFB0 001CAF10 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CDFB4 001CAF14 83 C1 00 08 */ lwz r30, 8(r1) /* 801CDFB8 001CAF18 7C 08 03 A6 */ mtlr r0 /* 801CDFBC 001CAF1C 38 21 00 10 */ addi r1, r1, 0x10 /* 801CDFC0 001CAF20 4E 80 00 20 */ blr .global sub_801cdfc4 sub_801cdfc4: /* 801CDFC4 001CAF24 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CDFC8 001CAF28 7C 08 02 A6 */ mflr r0 /* 801CDFCC 001CAF2C 90 01 00 54 */ stw r0, 0x54(r1) /* 801CDFD0 001CAF30 BE C1 00 28 */ stmw r22, 0x28(r1) /* 801CDFD4 001CAF34 7C 97 23 78 */ mr r23, r4 /* 801CDFD8 001CAF38 7C 76 1B 78 */ mr r22, r3 /* 801CDFDC 001CAF3C 7E E3 BB 78 */ mr r3, r23 /* 801CDFE0 001CAF40 48 17 0C A5 */ bl ReadLong__12CInputStreamFv /* 801CDFE4 001CAF44 90 76 00 00 */ stw r3, 0(r22) /* 801CDFE8 001CAF48 3B F6 00 04 */ addi r31, r22, 4 /* 801CDFEC 001CAF4C 3B C1 00 0C */ addi r30, r1, 0xc /* 801CDFF0 001CAF50 3B A1 00 10 */ addi r29, r1, 0x10 /* 801CDFF4 001CAF54 3B 81 00 14 */ addi r28, r1, 0x14 /* 801CDFF8 001CAF58 3B 61 00 18 */ addi r27, r1, 0x18 /* 801CDFFC 001CAF5C 3B 41 00 1C */ addi r26, r1, 0x1c /* 801CE000 001CAF60 3B 21 00 20 */ addi r25, r1, 0x20 /* 801CE004 001CAF64 3B 00 00 00 */ li r24, 0 /* 801CE008 001CAF68 48 00 00 A0 */ b lbl_801CE0A8 lbl_801CE00C: /* 801CE00C 001CAF6C 7E E4 BB 78 */ mr r4, r23 /* 801CE010 001CAF70 38 61 00 08 */ addi r3, r1, 8 /* 801CE014 001CAF74 48 19 54 39 */ bl __ct__6CColorFR12CInputStream /* 801CE018 001CAF78 7F C3 F3 78 */ mr r3, r30 /* 801CE01C 001CAF7C 7E E4 BB 78 */ mr r4, r23 /* 801CE020 001CAF80 48 19 54 2D */ bl __ct__6CColorFR12CInputStream /* 801CE024 001CAF84 7F A3 EB 78 */ mr r3, r29 /* 801CE028 001CAF88 7E E4 BB 78 */ mr r4, r23 /* 801CE02C 001CAF8C 48 19 54 21 */ bl __ct__6CColorFR12CInputStream /* 801CE030 001CAF90 7F 83 E3 78 */ mr r3, r28 /* 801CE034 001CAF94 7E E4 BB 78 */ mr r4, r23 /* 801CE038 001CAF98 48 19 54 15 */ bl __ct__6CColorFR12CInputStream /* 801CE03C 001CAF9C 7F 63 DB 78 */ mr r3, r27 /* 801CE040 001CAFA0 7E E4 BB 78 */ mr r4, r23 /* 801CE044 001CAFA4 48 19 54 09 */ bl __ct__6CColorFR12CInputStream /* 801CE048 001CAFA8 7F 43 D3 78 */ mr r3, r26 /* 801CE04C 001CAFAC 7E E4 BB 78 */ mr r4, r23 /* 801CE050 001CAFB0 48 19 53 FD */ bl __ct__6CColorFR12CInputStream /* 801CE054 001CAFB4 7F 23 CB 78 */ mr r3, r25 /* 801CE058 001CAFB8 7E E4 BB 78 */ mr r4, r23 /* 801CE05C 001CAFBC 48 19 53 F1 */ bl __ct__6CColorFR12CInputStream /* 801CE060 001CAFC0 28 1F 00 00 */ cmplwi r31, 0 /* 801CE064 001CAFC4 41 82 00 3C */ beq lbl_801CE0A0 /* 801CE068 001CAFC8 80 01 00 08 */ lwz r0, 8(r1) /* 801CE06C 001CAFCC 90 1F 00 00 */ stw r0, 0(r31) /* 801CE070 001CAFD0 80 01 00 0C */ lwz r0, 0xc(r1) /* 801CE074 001CAFD4 90 1F 00 04 */ stw r0, 4(r31) /* 801CE078 001CAFD8 80 01 00 10 */ lwz r0, 0x10(r1) /* 801CE07C 001CAFDC 90 1F 00 08 */ stw r0, 8(r31) /* 801CE080 001CAFE0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CE084 001CAFE4 90 1F 00 0C */ stw r0, 0xc(r31) /* 801CE088 001CAFE8 80 01 00 18 */ lwz r0, 0x18(r1) /* 801CE08C 001CAFEC 90 1F 00 10 */ stw r0, 0x10(r31) /* 801CE090 001CAFF0 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801CE094 001CAFF4 90 1F 00 14 */ stw r0, 0x14(r31) /* 801CE098 001CAFF8 80 01 00 20 */ lwz r0, 0x20(r1) /* 801CE09C 001CAFFC 90 1F 00 18 */ stw r0, 0x18(r31) lbl_801CE0A0: /* 801CE0A0 001CB000 3B FF 00 1C */ addi r31, r31, 0x1c /* 801CE0A4 001CB004 3B 18 00 01 */ addi r24, r24, 1 lbl_801CE0A8: /* 801CE0A8 001CB008 80 16 00 00 */ lwz r0, 0(r22) /* 801CE0AC 001CB00C 7C 18 00 00 */ cmpw r24, r0 /* 801CE0B0 001CB010 41 80 FF 5C */ blt lbl_801CE00C /* 801CE0B4 001CB014 7E C3 B3 78 */ mr r3, r22 /* 801CE0B8 001CB018 BA C1 00 28 */ lmw r22, 0x28(r1) /* 801CE0BC 001CB01C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CE0C0 001CB020 7C 08 03 A6 */ mtlr r0 /* 801CE0C4 001CB024 38 21 00 50 */ addi r1, r1, 0x50 /* 801CE0C8 001CB028 4E 80 00 20 */ blr .global __dt__15CTweakGuiColorsFv __dt__15CTweakGuiColorsFv: /* 801CE0CC 001CB02C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CE0D0 001CB030 7C 08 02 A6 */ mflr r0 /* 801CE0D4 001CB034 90 01 00 14 */ stw r0, 0x14(r1) /* 801CE0D8 001CB038 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CE0DC 001CB03C 7C 7F 1B 79 */ or. r31, r3, r3 /* 801CE0E0 001CB040 41 82 00 90 */ beq lbl_801CE170 /* 801CE0E4 001CB044 3C 60 80 3E */ lis r3, lbl_803E5748@ha /* 801CE0E8 001CB048 34 1F 01 C4 */ addic. r0, r31, 0x1c4 /* 801CE0EC 001CB04C 38 03 57 48 */ addi r0, r3, lbl_803E5748@l /* 801CE0F0 001CB050 90 1F 00 00 */ stw r0, 0(r31) /* 801CE0F4 001CB054 41 82 00 58 */ beq lbl_801CE14C /* 801CE0F8 001CB058 80 DF 01 C4 */ lwz r6, 0x1c4(r31) /* 801CE0FC 001CB05C 38 60 00 00 */ li r3, 0 /* 801CE100 001CB060 2C 06 00 00 */ cmpwi r6, 0 /* 801CE104 001CB064 40 81 00 40 */ ble lbl_801CE144 /* 801CE108 001CB068 2C 06 00 08 */ cmpwi r6, 8 /* 801CE10C 001CB06C 38 A6 FF F8 */ addi r5, r6, -8 /* 801CE110 001CB070 40 81 00 20 */ ble lbl_801CE130 /* 801CE114 001CB074 38 05 00 07 */ addi r0, r5, 7 /* 801CE118 001CB078 54 00 E8 FE */ srwi r0, r0, 3 /* 801CE11C 001CB07C 7C 09 03 A6 */ mtctr r0 /* 801CE120 001CB080 2C 05 00 00 */ cmpwi r5, 0 /* 801CE124 001CB084 40 81 00 0C */ ble lbl_801CE130 lbl_801CE128: /* 801CE128 001CB088 38 63 00 08 */ addi r3, r3, 8 /* 801CE12C 001CB08C 42 00 FF FC */ bdnz lbl_801CE128 lbl_801CE130: /* 801CE130 001CB090 7C 03 30 50 */ subf r0, r3, r6 /* 801CE134 001CB094 7C 09 03 A6 */ mtctr r0 /* 801CE138 001CB098 7C 03 30 00 */ cmpw r3, r6 /* 801CE13C 001CB09C 40 80 00 08 */ bge lbl_801CE144 lbl_801CE140: /* 801CE140 001CB0A0 42 00 00 00 */ bdnz lbl_801CE140 lbl_801CE144: /* 801CE144 001CB0A4 38 00 00 00 */ li r0, 0 /* 801CE148 001CB0A8 90 1F 01 C4 */ stw r0, 0x1c4(r31) lbl_801CE14C: /* 801CE14C 001CB0AC 28 1F 00 00 */ cmplwi r31, 0 /* 801CE150 001CB0B0 41 82 00 10 */ beq lbl_801CE160 /* 801CE154 001CB0B4 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha /* 801CE158 001CB0B8 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l /* 801CE15C 001CB0BC 90 1F 00 00 */ stw r0, 0(r31) lbl_801CE160: /* 801CE160 001CB0C0 7C 80 07 35 */ extsh. r0, r4 /* 801CE164 001CB0C4 40 81 00 0C */ ble lbl_801CE170 /* 801CE168 001CB0C8 7F E3 FB 78 */ mr r3, r31 /* 801CE16C 001CB0CC 48 00 00 1D */ bl "__dl__29TOneStatic<15CTweakGuiColors>FPv" lbl_801CE170: /* 801CE170 001CB0D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CE174 001CB0D4 7F E3 FB 78 */ mr r3, r31 /* 801CE178 001CB0D8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CE17C 001CB0DC 7C 08 03 A6 */ mtlr r0 /* 801CE180 001CB0E0 38 21 00 10 */ addi r1, r1, 0x10 /* 801CE184 001CB0E4 4E 80 00 20 */ blr .global "__dl__29TOneStatic<15CTweakGuiColors>FPv" "__dl__29TOneStatic<15CTweakGuiColors>FPv": /* 801CE188 001CB0E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CE18C 001CB0EC 7C 08 02 A6 */ mflr r0 /* 801CE190 001CB0F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801CE194 001CB0F4 4B E6 8E 11 */ bl "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv" /* 801CE198 001CB0F8 80 83 00 00 */ lwz r4, 0(r3) /* 801CE19C 001CB0FC 38 04 FF FF */ addi r0, r4, -1 /* 801CE1A0 001CB100 90 03 00 00 */ stw r0, 0(r3) /* 801CE1A4 001CB104 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CE1A8 001CB108 7C 08 03 A6 */ mtlr r0 /* 801CE1AC 001CB10C 38 21 00 10 */ addi r1, r1, 0x10 /* 801CE1B0 001CB110 4E 80 00 20 */ blr .global __dt__10CFishCloudFv __dt__10CFishCloudFv: /* 801CE1B4 001CB114 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CE1B8 001CB118 7C 08 02 A6 */ mflr r0 /* 801CE1BC 001CB11C 90 01 00 54 */ stw r0, 0x54(r1) /* 801CE1C0 001CB120 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801CE1C4 001CB124 7C 9F 23 78 */ mr r31, r4 /* 801CE1C8 001CB128 93 C1 00 48 */ stw r30, 0x48(r1) /* 801CE1CC 001CB12C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801CE1D0 001CB130 93 A1 00 44 */ stw r29, 0x44(r1) /* 801CE1D4 001CB134 93 81 00 40 */ stw r28, 0x40(r1) /* 801CE1D8 001CB138 41 82 02 F8 */ beq lbl_801CE4D0 /* 801CE1DC 001CB13C 3C 60 80 3E */ lis r3, lbl_803E5758@ha /* 801CE1E0 001CB140 34 1E 02 1C */ addic. r0, r30, 0x21c /* 801CE1E4 001CB144 38 03 57 58 */ addi r0, r3, lbl_803E5758@l /* 801CE1E8 001CB148 90 1E 00 00 */ stw r0, 0(r30) /* 801CE1EC 001CB14C 41 82 00 58 */ beq lbl_801CE244 /* 801CE1F0 001CB150 80 BE 02 1C */ lwz r5, 0x21c(r30) /* 801CE1F4 001CB154 38 60 00 00 */ li r3, 0 /* 801CE1F8 001CB158 2C 05 00 00 */ cmpwi r5, 0 /* 801CE1FC 001CB15C 40 81 00 40 */ ble lbl_801CE23C /* 801CE200 001CB160 2C 05 00 08 */ cmpwi r5, 8 /* 801CE204 001CB164 38 85 FF F8 */ addi r4, r5, -8 /* 801CE208 001CB168 40 81 00 20 */ ble lbl_801CE228 /* 801CE20C 001CB16C 38 04 00 07 */ addi r0, r4, 7 /* 801CE210 001CB170 54 00 E8 FE */ srwi r0, r0, 3 /* 801CE214 001CB174 7C 09 03 A6 */ mtctr r0 /* 801CE218 001CB178 2C 04 00 00 */ cmpwi r4, 0 /* 801CE21C 001CB17C 40 81 00 0C */ ble lbl_801CE228 lbl_801CE220: /* 801CE220 001CB180 38 63 00 08 */ addi r3, r3, 8 /* 801CE224 001CB184 42 00 FF FC */ bdnz lbl_801CE220 lbl_801CE228: /* 801CE228 001CB188 7C 03 28 50 */ subf r0, r3, r5 /* 801CE22C 001CB18C 7C 09 03 A6 */ mtctr r0 /* 801CE230 001CB190 7C 03 28 00 */ cmpw r3, r5 /* 801CE234 001CB194 40 80 00 08 */ bge lbl_801CE23C lbl_801CE238: /* 801CE238 001CB198 42 00 00 00 */ bdnz lbl_801CE238 lbl_801CE23C: /* 801CE23C 001CB19C 38 00 00 00 */ li r0, 0 /* 801CE240 001CB1A0 90 1E 02 1C */ stw r0, 0x21c(r30) lbl_801CE244: /* 801CE244 001CB1A4 34 1E 01 F8 */ addic. r0, r30, 0x1f8 /* 801CE248 001CB1A8 41 82 00 60 */ beq lbl_801CE2A8 /* 801CE24C 001CB1AC 3B 9E 01 FC */ addi r28, r30, 0x1fc /* 801CE250 001CB1B0 3B A0 00 00 */ li r29, 0 /* 801CE254 001CB1B4 48 00 00 40 */ b lbl_801CE294 lbl_801CE258: /* 801CE258 001CB1B8 28 1C 00 00 */ cmplwi r28, 0 /* 801CE25C 001CB1BC 41 82 00 30 */ beq lbl_801CE28C /* 801CE260 001CB1C0 88 1C 00 00 */ lbz r0, 0(r28) /* 801CE264 001CB1C4 28 00 00 00 */ cmplwi r0, 0 /* 801CE268 001CB1C8 41 82 00 24 */ beq lbl_801CE28C /* 801CE26C 001CB1CC 80 7C 00 04 */ lwz r3, 4(r28) /* 801CE270 001CB1D0 28 03 00 00 */ cmplwi r3, 0 /* 801CE274 001CB1D4 41 82 00 18 */ beq lbl_801CE28C /* 801CE278 001CB1D8 81 83 00 00 */ lwz r12, 0(r3) /* 801CE27C 001CB1DC 38 80 00 01 */ li r4, 1 /* 801CE280 001CB1E0 81 8C 00 08 */ lwz r12, 8(r12) /* 801CE284 001CB1E4 7D 89 03 A6 */ mtctr r12 /* 801CE288 001CB1E8 4E 80 04 21 */ bctrl lbl_801CE28C: /* 801CE28C 001CB1EC 3B 9C 00 08 */ addi r28, r28, 8 /* 801CE290 001CB1F0 3B BD 00 01 */ addi r29, r29, 1 lbl_801CE294: /* 801CE294 001CB1F4 80 1E 01 F8 */ lwz r0, 0x1f8(r30) /* 801CE298 001CB1F8 7C 1D 00 00 */ cmpw r29, r0 /* 801CE29C 001CB1FC 41 80 FF BC */ blt lbl_801CE258 /* 801CE2A0 001CB200 38 00 00 00 */ li r0, 0 /* 801CE2A4 001CB204 90 1E 01 F8 */ stw r0, 0x1f8(r30) lbl_801CE2A8: /* 801CE2A8 001CB208 34 1E 01 C4 */ addic. r0, r30, 0x1c4 /* 801CE2AC 001CB20C 41 82 00 44 */ beq lbl_801CE2F0 /* 801CE2B0 001CB210 3B 9E 01 C8 */ addi r28, r30, 0x1c8 /* 801CE2B4 001CB214 3B A0 00 00 */ li r29, 0 /* 801CE2B8 001CB218 48 00 00 24 */ b lbl_801CE2DC lbl_801CE2BC: /* 801CE2BC 001CB21C 28 1C 00 00 */ cmplwi r28, 0 /* 801CE2C0 001CB220 41 82 00 14 */ beq lbl_801CE2D4 /* 801CE2C4 001CB224 41 82 00 10 */ beq lbl_801CE2D4 /* 801CE2C8 001CB228 7F 83 E3 78 */ mr r3, r28 /* 801CE2CC 001CB22C 38 80 00 00 */ li r4, 0 /* 801CE2D0 001CB230 48 17 2B 71 */ bl __dt__6CTokenFv lbl_801CE2D4: /* 801CE2D4 001CB234 3B 9C 00 0C */ addi r28, r28, 0xc /* 801CE2D8 001CB238 3B BD 00 01 */ addi r29, r29, 1 lbl_801CE2DC: /* 801CE2DC 001CB23C 80 1E 01 C4 */ lwz r0, 0x1c4(r30) /* 801CE2E0 001CB240 7C 1D 00 00 */ cmpw r29, r0 /* 801CE2E4 001CB244 41 80 FF D8 */ blt lbl_801CE2BC /* 801CE2E8 001CB248 38 00 00 00 */ li r0, 0 /* 801CE2EC 001CB24C 90 1E 01 C4 */ stw r0, 0x1c4(r30) lbl_801CE2F0: /* 801CE2F0 001CB250 34 1E 01 B0 */ addic. r0, r30, 0x1b0 /* 801CE2F4 001CB254 41 82 00 40 */ beq lbl_801CE334 /* 801CE2F8 001CB258 3B 9E 01 B4 */ addi r28, r30, 0x1b4 /* 801CE2FC 001CB25C 3B A0 00 00 */ li r29, 0 /* 801CE300 001CB260 48 00 00 20 */ b lbl_801CE320 lbl_801CE304: /* 801CE304 001CB264 28 1C 00 00 */ cmplwi r28, 0 /* 801CE308 001CB268 41 82 00 10 */ beq lbl_801CE318 /* 801CE30C 001CB26C 41 82 00 0C */ beq lbl_801CE318 /* 801CE310 001CB270 7F 83 E3 78 */ mr r3, r28 /* 801CE314 001CB274 48 00 50 4D */ bl sub_801d3360 lbl_801CE318: /* 801CE318 001CB278 3B 9C 00 04 */ addi r28, r28, 4 /* 801CE31C 001CB27C 3B BD 00 01 */ addi r29, r29, 1 lbl_801CE320: /* 801CE320 001CB280 80 1E 01 B0 */ lwz r0, 0x1b0(r30) /* 801CE324 001CB284 7C 1D 00 00 */ cmpw r29, r0 /* 801CE328 001CB288 41 80 FF DC */ blt lbl_801CE304 /* 801CE32C 001CB28C 38 00 00 00 */ li r0, 0 /* 801CE330 001CB290 90 1E 01 B0 */ stw r0, 0x1b0(r30) lbl_801CE334: /* 801CE334 001CB294 34 1E 01 9C */ addic. r0, r30, 0x19c /* 801CE338 001CB298 41 82 00 58 */ beq lbl_801CE390 /* 801CE33C 001CB29C 80 BE 01 9C */ lwz r5, 0x19c(r30) /* 801CE340 001CB2A0 38 60 00 00 */ li r3, 0 /* 801CE344 001CB2A4 2C 05 00 00 */ cmpwi r5, 0 /* 801CE348 001CB2A8 40 81 00 40 */ ble lbl_801CE388 /* 801CE34C 001CB2AC 2C 05 00 08 */ cmpwi r5, 8 /* 801CE350 001CB2B0 38 85 FF F8 */ addi r4, r5, -8 /* 801CE354 001CB2B4 40 81 00 20 */ ble lbl_801CE374 /* 801CE358 001CB2B8 38 04 00 07 */ addi r0, r4, 7 /* 801CE35C 001CB2BC 54 00 E8 FE */ srwi r0, r0, 3 /* 801CE360 001CB2C0 7C 09 03 A6 */ mtctr r0 /* 801CE364 001CB2C4 2C 04 00 00 */ cmpwi r4, 0 /* 801CE368 001CB2C8 40 81 00 0C */ ble lbl_801CE374 lbl_801CE36C: /* 801CE36C 001CB2CC 38 63 00 08 */ addi r3, r3, 8 /* 801CE370 001CB2D0 42 00 FF FC */ bdnz lbl_801CE36C lbl_801CE374: /* 801CE374 001CB2D4 7C 03 28 50 */ subf r0, r3, r5 /* 801CE378 001CB2D8 7C 09 03 A6 */ mtctr r0 /* 801CE37C 001CB2DC 7C 03 28 00 */ cmpw r3, r5 /* 801CE380 001CB2E0 40 80 00 08 */ bge lbl_801CE388 lbl_801CE384: /* 801CE384 001CB2E4 42 00 00 00 */ bdnz lbl_801CE384 lbl_801CE388: /* 801CE388 001CB2E8 38 00 00 00 */ li r0, 0 /* 801CE38C 001CB2EC 90 1E 01 9C */ stw r0, 0x19c(r30) lbl_801CE390: /* 801CE390 001CB2F0 34 1E 01 78 */ addic. r0, r30, 0x178 /* 801CE394 001CB2F4 41 82 00 48 */ beq lbl_801CE3DC /* 801CE398 001CB2F8 3B 9E 01 7C */ addi r28, r30, 0x17c /* 801CE39C 001CB2FC 3B A0 00 00 */ li r29, 0 /* 801CE3A0 001CB300 48 00 00 28 */ b lbl_801CE3C8 lbl_801CE3A4: /* 801CE3A4 001CB304 28 1C 00 00 */ cmplwi r28, 0 /* 801CE3A8 001CB308 41 82 00 18 */ beq lbl_801CE3C0 /* 801CE3AC 001CB30C 88 1C 00 00 */ lbz r0, 0(r28) /* 801CE3B0 001CB310 28 00 00 00 */ cmplwi r0, 0 /* 801CE3B4 001CB314 41 82 00 0C */ beq lbl_801CE3C0 /* 801CE3B8 001CB318 80 7C 00 04 */ lwz r3, 4(r28) /* 801CE3BC 001CB31C 48 14 75 75 */ bl Free__7CMemoryFPCv lbl_801CE3C0: /* 801CE3C0 001CB320 3B 9C 00 08 */ addi r28, r28, 8 /* 801CE3C4 001CB324 3B BD 00 01 */ addi r29, r29, 1 lbl_801CE3C8: /* 801CE3C8 001CB328 80 1E 01 78 */ lwz r0, 0x178(r30) /* 801CE3CC 001CB32C 7C 1D 00 00 */ cmpw r29, r0 /* 801CE3D0 001CB330 41 80 FF D4 */ blt lbl_801CE3A4 /* 801CE3D4 001CB334 38 00 00 00 */ li r0, 0 /* 801CE3D8 001CB338 90 1E 01 78 */ stw r0, 0x178(r30) lbl_801CE3DC: /* 801CE3DC 001CB33C 34 1E 01 08 */ addic. r0, r30, 0x108 /* 801CE3E0 001CB340 41 82 00 44 */ beq lbl_801CE424 /* 801CE3E4 001CB344 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801CE3E8 001CB348 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801CE3EC 001CB34C 54 00 20 36 */ slwi r0, r0, 4 /* 801CE3F0 001CB350 7C 03 02 14 */ add r0, r3, r0 /* 801CE3F4 001CB354 90 61 00 2C */ stw r3, 0x2c(r1) /* 801CE3F8 001CB358 7C 64 1B 78 */ mr r4, r3 /* 801CE3FC 001CB35C 90 01 00 34 */ stw r0, 0x34(r1) /* 801CE400 001CB360 90 01 00 30 */ stw r0, 0x30(r1) /* 801CE404 001CB364 90 61 00 28 */ stw r3, 0x28(r1) /* 801CE408 001CB368 48 00 00 08 */ b lbl_801CE410 lbl_801CE40C: /* 801CE40C 001CB36C 38 84 00 10 */ addi r4, r4, 0x10 lbl_801CE410: /* 801CE410 001CB370 7C 04 00 40 */ cmplw r4, r0 /* 801CE414 001CB374 40 82 FF F8 */ bne lbl_801CE40C /* 801CE418 001CB378 28 03 00 00 */ cmplwi r3, 0 /* 801CE41C 001CB37C 41 82 00 08 */ beq lbl_801CE424 /* 801CE420 001CB380 48 14 75 11 */ bl Free__7CMemoryFPCv lbl_801CE424: /* 801CE424 001CB384 34 1E 00 F8 */ addic. r0, r30, 0xf8 /* 801CE428 001CB388 41 82 00 44 */ beq lbl_801CE46C /* 801CE42C 001CB38C 80 1E 00 FC */ lwz r0, 0xfc(r30) /* 801CE430 001CB390 80 7E 01 04 */ lwz r3, 0x104(r30) /* 801CE434 001CB394 54 00 10 3A */ slwi r0, r0, 2 /* 801CE438 001CB398 7C 03 02 14 */ add r0, r3, r0 /* 801CE43C 001CB39C 90 61 00 1C */ stw r3, 0x1c(r1) /* 801CE440 001CB3A0 7C 64 1B 78 */ mr r4, r3 /* 801CE444 001CB3A4 90 01 00 24 */ stw r0, 0x24(r1) /* 801CE448 001CB3A8 90 01 00 20 */ stw r0, 0x20(r1) /* 801CE44C 001CB3AC 90 61 00 18 */ stw r3, 0x18(r1) /* 801CE450 001CB3B0 48 00 00 08 */ b lbl_801CE458 lbl_801CE454: /* 801CE454 001CB3B4 38 84 00 04 */ addi r4, r4, 4 lbl_801CE458: /* 801CE458 001CB3B8 7C 04 00 40 */ cmplw r4, r0 /* 801CE45C 001CB3BC 40 82 FF F8 */ bne lbl_801CE454 /* 801CE460 001CB3C0 28 03 00 00 */ cmplwi r3, 0 /* 801CE464 001CB3C4 41 82 00 08 */ beq lbl_801CE46C /* 801CE468 001CB3C8 48 14 74 C9 */ bl Free__7CMemoryFPCv lbl_801CE46C: /* 801CE46C 001CB3CC 34 1E 00 E8 */ addic. r0, r30, 0xe8 /* 801CE470 001CB3D0 41 82 00 44 */ beq lbl_801CE4B4 /* 801CE474 001CB3D4 80 1E 00 EC */ lwz r0, 0xec(r30) /* 801CE478 001CB3D8 80 7E 00 F4 */ lwz r3, 0xf4(r30) /* 801CE47C 001CB3DC 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CE480 001CB3E0 90 61 00 0C */ stw r3, 0xc(r1) /* 801CE484 001CB3E4 7C 64 1B 78 */ mr r4, r3 /* 801CE488 001CB3E8 7C 03 02 14 */ add r0, r3, r0 /* 801CE48C 001CB3EC 90 61 00 08 */ stw r3, 8(r1) /* 801CE490 001CB3F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801CE494 001CB3F4 90 01 00 10 */ stw r0, 0x10(r1) /* 801CE498 001CB3F8 48 00 00 08 */ b lbl_801CE4A0 lbl_801CE49C: /* 801CE49C 001CB3FC 38 84 00 24 */ addi r4, r4, 0x24 lbl_801CE4A0: /* 801CE4A0 001CB400 7C 04 00 40 */ cmplw r4, r0 /* 801CE4A4 001CB404 40 82 FF F8 */ bne lbl_801CE49C /* 801CE4A8 001CB408 28 03 00 00 */ cmplwi r3, 0 /* 801CE4AC 001CB40C 41 82 00 08 */ beq lbl_801CE4B4 /* 801CE4B0 001CB410 48 14 74 81 */ bl Free__7CMemoryFPCv lbl_801CE4B4: /* 801CE4B4 001CB414 7F C3 F3 78 */ mr r3, r30 /* 801CE4B8 001CB418 38 80 00 00 */ li r4, 0 /* 801CE4BC 001CB41C 4B E8 72 35 */ bl __dt__6CActorFv /* 801CE4C0 001CB420 7F E0 07 35 */ extsh. r0, r31 /* 801CE4C4 001CB424 40 81 00 0C */ ble lbl_801CE4D0 /* 801CE4C8 001CB428 7F C3 F3 78 */ mr r3, r30 /* 801CE4CC 001CB42C 48 14 74 65 */ bl Free__7CMemoryFPCv lbl_801CE4D0: /* 801CE4D0 001CB430 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CE4D4 001CB434 7F C3 F3 78 */ mr r3, r30 /* 801CE4D8 001CB438 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801CE4DC 001CB43C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801CE4E0 001CB440 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801CE4E4 001CB444 83 81 00 40 */ lwz r28, 0x40(r1) /* 801CE4E8 001CB448 7C 08 03 A6 */ mtlr r0 /* 801CE4EC 001CB44C 38 21 00 50 */ addi r1, r1, 0x50 /* 801CE4F0 001CB450 4E 80 00 20 */ blr .global sub_801ce4f4 sub_801ce4f4: /* 801CE4F4 001CB454 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CE4F8 001CB458 7C 08 02 A6 */ mflr r0 /* 801CE4FC 001CB45C 90 01 00 24 */ stw r0, 0x24(r1) /* 801CE500 001CB460 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801CE504 001CB464 93 C1 00 18 */ stw r30, 0x18(r1) /* 801CE508 001CB468 3B C0 00 00 */ li r30, 0 /* 801CE50C 001CB46C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801CE510 001CB470 7C 7D 1B 78 */ mr r29, r3 /* 801CE514 001CB474 3B FD 01 FC */ addi r31, r29, 0x1fc /* 801CE518 001CB478 48 00 00 24 */ b lbl_801CE53C lbl_801CE51C: /* 801CE51C 001CB47C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801CE520 001CB480 80 9F 00 04 */ lwz r4, 4(r31) /* 801CE524 001CB484 81 83 00 00 */ lwz r12, 0(r3) /* 801CE528 001CB488 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801CE52C 001CB48C 7D 89 03 A6 */ mtctr r12 /* 801CE530 001CB490 4E 80 04 21 */ bctrl /* 801CE534 001CB494 3B FF 00 08 */ addi r31, r31, 8 /* 801CE538 001CB498 3B DE 00 01 */ addi r30, r30, 1 lbl_801CE53C: /* 801CE53C 001CB49C 80 1D 01 F8 */ lwz r0, 0x1f8(r29) /* 801CE540 001CB4A0 7C 1E 00 00 */ cmpw r30, r0 /* 801CE544 001CB4A4 41 80 FF D8 */ blt lbl_801CE51C /* 801CE548 001CB4A8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CE54C 001CB4AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801CE550 001CB4B0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801CE554 001CB4B4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801CE558 001CB4B8 7C 08 03 A6 */ mtlr r0 /* 801CE55C 001CB4BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801CE560 001CB4C0 4E 80 00 20 */ blr .global sub_801ce564 sub_801ce564: /* 801CE564 001CB4C4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CE568 001CB4C8 7C 08 02 A6 */ mflr r0 /* 801CE56C 001CB4CC 90 01 00 24 */ stw r0, 0x24(r1) /* 801CE570 001CB4D0 DB E1 00 18 */ stfd f31, 0x18(r1) /* 801CE574 001CB4D4 FF E0 08 90 */ fmr f31, f1 /* 801CE578 001CB4D8 93 E1 00 14 */ stw r31, 0x14(r1) /* 801CE57C 001CB4DC 93 C1 00 10 */ stw r30, 0x10(r1) /* 801CE580 001CB4E0 3B C0 00 00 */ li r30, 0 /* 801CE584 001CB4E4 93 A1 00 0C */ stw r29, 0xc(r1) /* 801CE588 001CB4E8 7C 7D 1B 78 */ mr r29, r3 /* 801CE58C 001CB4EC 3B FD 01 FC */ addi r31, r29, 0x1fc /* 801CE590 001CB4F0 48 00 00 24 */ b lbl_801CE5B4 lbl_801CE594: /* 801CE594 001CB4F4 80 7F 00 04 */ lwz r3, 4(r31) /* 801CE598 001CB4F8 FC 20 F8 90 */ fmr f1, f31 /* 801CE59C 001CB4FC 81 83 00 00 */ lwz r12, 0(r3) /* 801CE5A0 001CB500 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801CE5A4 001CB504 7D 89 03 A6 */ mtctr r12 /* 801CE5A8 001CB508 4E 80 04 21 */ bctrl /* 801CE5AC 001CB50C 3B FF 00 08 */ addi r31, r31, 8 /* 801CE5B0 001CB510 3B DE 00 01 */ addi r30, r30, 1 lbl_801CE5B4: /* 801CE5B4 001CB514 80 1D 01 F8 */ lwz r0, 0x1f8(r29) /* 801CE5B8 001CB518 7C 1E 00 00 */ cmpw r30, r0 /* 801CE5BC 001CB51C 41 80 FF D8 */ blt lbl_801CE594 /* 801CE5C0 001CB520 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CE5C4 001CB524 CB E1 00 18 */ lfd f31, 0x18(r1) /* 801CE5C8 001CB528 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801CE5CC 001CB52C 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801CE5D0 001CB530 83 A1 00 0C */ lwz r29, 0xc(r1) /* 801CE5D4 001CB534 7C 08 03 A6 */ mtlr r0 /* 801CE5D8 001CB538 38 21 00 20 */ addi r1, r1, 0x20 /* 801CE5DC 001CB53C 4E 80 00 20 */ blr .global sub_801ce5e0 sub_801ce5e0: /* 801CE5E0 001CB540 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CE5E4 001CB544 7C 08 02 A6 */ mflr r0 /* 801CE5E8 001CB548 90 01 00 24 */ stw r0, 0x24(r1) /* 801CE5EC 001CB54C BF 61 00 0C */ stmw r27, 0xc(r1) /* 801CE5F0 001CB550 7C 7B 1B 78 */ mr r27, r3 /* 801CE5F4 001CB554 7C 9C 23 78 */ mr r28, r4 /* 801CE5F8 001CB558 3B A0 00 00 */ li r29, 0 /* 801CE5FC 001CB55C 3B FB 01 FC */ addi r31, r27, 0x1fc /* 801CE600 001CB560 3B DB 02 20 */ addi r30, r27, 0x220 /* 801CE604 001CB564 48 00 00 64 */ b lbl_801CE668 lbl_801CE608: /* 801CE608 001CB568 80 7F 00 04 */ lwz r3, 4(r31) /* 801CE60C 001CB56C 38 80 00 01 */ li r4, 1 /* 801CE610 001CB570 81 83 00 00 */ lwz r12, 0(r3) /* 801CE614 001CB574 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801CE618 001CB578 7D 89 03 A6 */ mtctr r12 /* 801CE61C 001CB57C 4E 80 04 21 */ bctrl /* 801CE620 001CB580 80 7F 00 04 */ lwz r3, 4(r31) /* 801CE624 001CB584 7F 84 E3 78 */ mr r4, r28 /* 801CE628 001CB588 81 83 00 00 */ lwz r12, 0(r3) /* 801CE62C 001CB58C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801CE630 001CB590 7D 89 03 A6 */ mtctr r12 /* 801CE634 001CB594 4E 80 04 21 */ bctrl /* 801CE638 001CB598 80 7F 00 04 */ lwz r3, 4(r31) /* 801CE63C 001CB59C 80 9E 00 00 */ lwz r4, 0(r30) /* 801CE640 001CB5A0 48 14 E2 81 */ bl ForceParticleCreation__11CElementGenFi /* 801CE644 001CB5A4 80 7F 00 04 */ lwz r3, 4(r31) /* 801CE648 001CB5A8 38 80 00 00 */ li r4, 0 /* 801CE64C 001CB5AC 81 83 00 00 */ lwz r12, 0(r3) /* 801CE650 001CB5B0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801CE654 001CB5B4 7D 89 03 A6 */ mtctr r12 /* 801CE658 001CB5B8 4E 80 04 21 */ bctrl /* 801CE65C 001CB5BC 3B FF 00 08 */ addi r31, r31, 8 /* 801CE660 001CB5C0 3B DE 00 04 */ addi r30, r30, 4 /* 801CE664 001CB5C4 3B BD 00 01 */ addi r29, r29, 1 lbl_801CE668: /* 801CE668 001CB5C8 80 1B 01 F8 */ lwz r0, 0x1f8(r27) /* 801CE66C 001CB5CC 7C 1D 00 00 */ cmpw r29, r0 /* 801CE670 001CB5D0 41 80 FF 98 */ blt lbl_801CE608 /* 801CE674 001CB5D4 BB 61 00 0C */ lmw r27, 0xc(r1) /* 801CE678 001CB5D8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CE67C 001CB5DC 7C 08 03 A6 */ mtlr r0 /* 801CE680 001CB5E0 38 21 00 20 */ addi r1, r1, 0x20 /* 801CE684 001CB5E4 4E 80 00 20 */ blr .global ApplyContainment__10CFishCloudFRQ210CFishCloud5CBoidRC6CAABox ApplyContainment__10CFishCloudFRQ210CFishCloud5CBoidRC6CAABox: /* 801CE688 001CB5E8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CE68C 001CB5EC 7C 08 02 A6 */ mflr r0 /* 801CE690 001CB5F0 90 01 00 54 */ stw r0, 0x54(r1) /* 801CE694 001CB5F4 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801CE698 001CB5F8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801CE69C 001CB5FC 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801CE6A0 001CB600 93 C1 00 38 */ stw r30, 0x38(r1) /* 801CE6A4 001CB604 93 A1 00 34 */ stw r29, 0x34(r1) /* 801CE6A8 001CB608 7C 7D 1B 78 */ mr r29, r3 /* 801CE6AC 001CB60C 7C 9E 23 78 */ mr r30, r4 /* 801CE6B0 001CB610 C3 E3 01 74 */ lfs f31, 0x174(r3) /* 801CE6B4 001CB614 7C BF 2B 78 */ mr r31, r5 /* 801CE6B8 001CB618 38 7E 00 0C */ addi r3, r30, 0xc /* 801CE6BC 001CB61C 48 14 60 3D */ bl CanBeNormalized__9CVector3fCFv /* 801CE6C0 001CB620 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CE6C4 001CB624 41 82 00 98 */ beq lbl_801CE75C /* 801CE6C8 001CB628 38 61 00 14 */ addi r3, r1, 0x14 /* 801CE6CC 001CB62C 38 9E 00 0C */ addi r4, r30, 0xc /* 801CE6D0 001CB630 48 14 61 81 */ bl AsNormalized__9CVector3fCFv /* 801CE6D4 001CB634 C0 7D 01 30 */ lfs f3, 0x130(r29) /* 801CE6D8 001CB638 7F A3 EB 78 */ mr r3, r29 /* 801CE6DC 001CB63C C0 41 00 18 */ lfs f2, 0x18(r1) /* 801CE6E0 001CB640 7F E4 FB 78 */ mr r4, r31 /* 801CE6E4 001CB644 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801CE6E8 001CB648 38 A1 00 20 */ addi r5, r1, 0x20 /* 801CE6EC 001CB64C C0 01 00 14 */ lfs f0, 0x14(r1) /* 801CE6F0 001CB650 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801CE6F4 001CB654 EC 23 00 72 */ fmuls f1, f3, f1 /* 801CE6F8 001CB658 C0 BE 00 04 */ lfs f5, 4(r30) /* 801CE6FC 001CB65C EC 03 00 32 */ fmuls f0, f3, f0 /* 801CE700 001CB660 C0 7E 00 08 */ lfs f3, 8(r30) /* 801CE704 001CB664 EC 9F 00 B2 */ fmuls f4, f31, f2 /* 801CE708 001CB668 EC 5F 00 72 */ fmuls f2, f31, f1 /* 801CE70C 001CB66C EC 1F 00 32 */ fmuls f0, f31, f0 /* 801CE710 001CB670 C0 3E 00 00 */ lfs f1, 0(r30) /* 801CE714 001CB674 EC 85 20 2A */ fadds f4, f5, f4 /* 801CE718 001CB678 EC 43 10 2A */ fadds f2, f3, f2 /* 801CE71C 001CB67C EC 01 00 2A */ fadds f0, f1, f0 /* 801CE720 001CB680 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801CE724 001CB684 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CE728 001CB688 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801CE72C 001CB68C 48 00 35 95 */ bl PointInBox__10CFishCloudCFRC6CAABoxRC9CVector3f /* 801CE730 001CB690 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CE734 001CB694 40 82 00 28 */ bne lbl_801CE75C /* 801CE738 001CB698 7F E4 FB 78 */ mr r4, r31 /* 801CE73C 001CB69C 38 61 00 08 */ addi r3, r1, 8 /* 801CE740 001CB6A0 48 16 8E CD */ bl GetCenterPoint__6CAABoxCFv /* 801CE744 001CB6A4 C0 22 AB B0 */ lfs f1, lbl_805AC8D0@sda21(r2) /* 801CE748 001CB6A8 7F A3 EB 78 */ mr r3, r29 /* 801CE74C 001CB6AC C0 5D 01 58 */ lfs f2, 0x158(r29) /* 801CE750 001CB6B0 7F C4 F3 78 */ mr r4, r30 /* 801CE754 001CB6B4 38 A1 00 08 */ addi r5, r1, 8 /* 801CE758 001CB6B8 48 00 00 49 */ bl ApplyAttraction__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff lbl_801CE75C: /* 801CE75C 001CB6BC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801CE760 001CB6C0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CE764 001CB6C4 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801CE768 001CB6C8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801CE76C 001CB6CC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801CE770 001CB6D0 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801CE774 001CB6D4 7C 08 03 A6 */ mtlr r0 /* 801CE778 001CB6D8 38 21 00 50 */ addi r1, r1, 0x50 /* 801CE77C 001CB6DC 4E 80 00 20 */ blr .global ApplyRepulsion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff ApplyRepulsion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff: /* 801CE780 001CB6E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801CE784 001CB6E4 7C 08 02 A6 */ mflr r0 /* 801CE788 001CB6E8 90 01 00 14 */ stw r0, 0x14(r1) /* 801CE78C 001CB6EC 48 00 01 31 */ bl ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff /* 801CE790 001CB6F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CE794 001CB6F4 7C 08 03 A6 */ mtlr r0 /* 801CE798 001CB6F8 38 21 00 10 */ addi r1, r1, 0x10 /* 801CE79C 001CB6FC 4E 80 00 20 */ blr .global ApplyAttraction__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff ApplyAttraction__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff: /* 801CE7A0 001CB700 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CE7A4 001CB704 7C 08 02 A6 */ mflr r0 /* 801CE7A8 001CB708 90 01 00 54 */ stw r0, 0x54(r1) /* 801CE7AC 001CB70C DB E1 00 40 */ stfd f31, 0x40(r1) /* 801CE7B0 001CB710 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801CE7B4 001CB714 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801CE7B8 001CB718 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801CE7BC 001CB71C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CE7C0 001CB720 7C 9F 23 78 */ mr r31, r4 /* 801CE7C4 001CB724 C0 85 00 04 */ lfs f4, 4(r5) /* 801CE7C8 001CB728 C0 04 00 04 */ lfs f0, 4(r4) /* 801CE7CC 001CB72C FF C0 08 90 */ fmr f30, f1 /* 801CE7D0 001CB730 C0 65 00 08 */ lfs f3, 8(r5) /* 801CE7D4 001CB734 FF E0 10 90 */ fmr f31, f2 /* 801CE7D8 001CB738 C0 44 00 08 */ lfs f2, 8(r4) /* 801CE7DC 001CB73C EC 84 00 28 */ fsubs f4, f4, f0 /* 801CE7E0 001CB740 C0 04 00 00 */ lfs f0, 0(r4) /* 801CE7E4 001CB744 C0 25 00 00 */ lfs f1, 0(r5) /* 801CE7E8 001CB748 EC 43 10 28 */ fsubs f2, f3, f2 /* 801CE7EC 001CB74C D0 81 00 18 */ stfs f4, 0x18(r1) /* 801CE7F0 001CB750 38 61 00 14 */ addi r3, r1, 0x14 /* 801CE7F4 001CB754 EC 01 00 28 */ fsubs f0, f1, f0 /* 801CE7F8 001CB758 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801CE7FC 001CB75C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CE800 001CB760 48 14 5E F9 */ bl CanBeNormalized__9CVector3fCFv /* 801CE804 001CB764 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CE808 001CB768 41 82 00 90 */ beq lbl_801CE898 /* 801CE80C 001CB76C C0 21 00 14 */ lfs f1, 0x14(r1) /* 801CE810 001CB770 EC 7E 07 B2 */ fmuls f3, f30, f30 /* 801CE814 001CB774 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801CE818 001CB778 EC 21 00 72 */ fmuls f1, f1, f1 /* 801CE81C 001CB77C C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801CE820 001CB780 EC 00 00 32 */ fmuls f0, f0, f0 /* 801CE824 001CB784 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801CE828 001CB788 EC 01 00 2A */ fadds f0, f1, f0 /* 801CE82C 001CB78C EC 02 00 2A */ fadds f0, f2, f0 /* 801CE830 001CB790 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801CE834 001CB794 40 80 00 64 */ bge lbl_801CE898 /* 801CE838 001CB798 EC 00 18 24 */ fdivs f0, f0, f3 /* 801CE83C 001CB79C C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801CE840 001CB7A0 38 61 00 08 */ addi r3, r1, 8 /* 801CE844 001CB7A4 38 81 00 14 */ addi r4, r1, 0x14 /* 801CE848 001CB7A8 EF C1 00 28 */ fsubs f30, f1, f0 /* 801CE84C 001CB7AC 48 14 60 05 */ bl AsNormalized__9CVector3fCFv /* 801CE850 001CB7B0 C0 01 00 08 */ lfs f0, 8(r1) /* 801CE854 001CB7B4 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801CE858 001CB7B8 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801CE85C 001CB7BC C0 41 00 10 */ lfs f2, 0x10(r1) /* 801CE860 001CB7C0 EC 7E 00 72 */ fmuls f3, f30, f1 /* 801CE864 001CB7C4 C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801CE868 001CB7C8 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801CE86C 001CB7CC EC 1F 00 32 */ fmuls f0, f31, f0 /* 801CE870 001CB7D0 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801CE874 001CB7D4 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801CE878 001CB7D8 EC 01 00 2A */ fadds f0, f1, f0 /* 801CE87C 001CB7DC D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801CE880 001CB7E0 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801CE884 001CB7E4 EC 00 18 2A */ fadds f0, f0, f3 /* 801CE888 001CB7E8 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801CE88C 001CB7EC C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801CE890 001CB7F0 EC 00 10 2A */ fadds f0, f0, f2 /* 801CE894 001CB7F4 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801CE898: /* 801CE898 001CB7F8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801CE89C 001CB7FC CB E1 00 40 */ lfd f31, 0x40(r1) /* 801CE8A0 001CB800 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801CE8A4 001CB804 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801CE8A8 001CB808 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CE8AC 001CB80C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CE8B0 001CB810 7C 08 03 A6 */ mtlr r0 /* 801CE8B4 001CB814 38 21 00 50 */ addi r1, r1, 0x50 /* 801CE8B8 001CB818 4E 80 00 20 */ blr .global ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff: /* 801CE8BC 001CB81C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CE8C0 001CB820 7C 08 02 A6 */ mflr r0 /* 801CE8C4 001CB824 90 01 00 54 */ stw r0, 0x54(r1) /* 801CE8C8 001CB828 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801CE8CC 001CB82C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801CE8D0 001CB830 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801CE8D4 001CB834 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801CE8D8 001CB838 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CE8DC 001CB83C 7C 9F 23 78 */ mr r31, r4 /* 801CE8E0 001CB840 C0 05 00 04 */ lfs f0, 4(r5) /* 801CE8E4 001CB844 C0 84 00 04 */ lfs f4, 4(r4) /* 801CE8E8 001CB848 FF C0 08 90 */ fmr f30, f1 /* 801CE8EC 001CB84C C0 64 00 08 */ lfs f3, 8(r4) /* 801CE8F0 001CB850 FF E0 10 90 */ fmr f31, f2 /* 801CE8F4 001CB854 C0 45 00 08 */ lfs f2, 8(r5) /* 801CE8F8 001CB858 EC 84 00 28 */ fsubs f4, f4, f0 /* 801CE8FC 001CB85C C0 24 00 00 */ lfs f1, 0(r4) /* 801CE900 001CB860 C0 05 00 00 */ lfs f0, 0(r5) /* 801CE904 001CB864 EC 43 10 28 */ fsubs f2, f3, f2 /* 801CE908 001CB868 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801CE90C 001CB86C 38 61 00 14 */ addi r3, r1, 0x14 /* 801CE910 001CB870 EC 01 00 28 */ fsubs f0, f1, f0 /* 801CE914 001CB874 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801CE918 001CB878 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CE91C 001CB87C 48 14 5D DD */ bl CanBeNormalized__9CVector3fCFv /* 801CE920 001CB880 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CE924 001CB884 41 82 00 90 */ beq lbl_801CE9B4 /* 801CE928 001CB888 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801CE92C 001CB88C EC 7E 07 B2 */ fmuls f3, f30, f30 /* 801CE930 001CB890 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801CE934 001CB894 EC 21 00 72 */ fmuls f1, f1, f1 /* 801CE938 001CB898 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801CE93C 001CB89C EC 00 00 32 */ fmuls f0, f0, f0 /* 801CE940 001CB8A0 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801CE944 001CB8A4 EC 01 00 2A */ fadds f0, f1, f0 /* 801CE948 001CB8A8 EC 02 00 2A */ fadds f0, f2, f0 /* 801CE94C 001CB8AC FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801CE950 001CB8B0 40 80 00 64 */ bge lbl_801CE9B4 /* 801CE954 001CB8B4 EC 00 18 24 */ fdivs f0, f0, f3 /* 801CE958 001CB8B8 C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801CE95C 001CB8BC 38 61 00 08 */ addi r3, r1, 8 /* 801CE960 001CB8C0 38 81 00 14 */ addi r4, r1, 0x14 /* 801CE964 001CB8C4 EF C1 00 28 */ fsubs f30, f1, f0 /* 801CE968 001CB8C8 48 14 5E E9 */ bl AsNormalized__9CVector3fCFv /* 801CE96C 001CB8CC C0 01 00 08 */ lfs f0, 8(r1) /* 801CE970 001CB8D0 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801CE974 001CB8D4 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801CE978 001CB8D8 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801CE97C 001CB8DC EC 7E 00 72 */ fmuls f3, f30, f1 /* 801CE980 001CB8E0 C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801CE984 001CB8E4 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801CE988 001CB8E8 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801CE98C 001CB8EC EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801CE990 001CB8F0 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801CE994 001CB8F4 EC 01 00 2A */ fadds f0, f1, f0 /* 801CE998 001CB8F8 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801CE99C 001CB8FC C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801CE9A0 001CB900 EC 00 18 2A */ fadds f0, f0, f3 /* 801CE9A4 001CB904 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801CE9A8 001CB908 C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801CE9AC 001CB90C EC 00 10 2A */ fadds f0, f0, f2 /* 801CE9B0 001CB910 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801CE9B4: /* 801CE9B4 001CB914 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801CE9B8 001CB918 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801CE9BC 001CB91C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801CE9C0 001CB920 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801CE9C4 001CB924 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CE9C8 001CB928 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CE9CC 001CB92C 7C 08 03 A6 */ mtlr r0 /* 801CE9D0 001CB930 38 21 00 50 */ addi r1, r1, 0x50 /* 801CE9D4 001CB934 4E 80 00 20 */ blr .global "ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector" "ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector": /* 801CE9D8 001CB938 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CE9DC 001CB93C 7C 08 02 A6 */ mflr r0 /* 801CE9E0 001CB940 90 01 00 24 */ stw r0, 0x24(r1) /* 801CE9E4 001CB944 80 05 00 00 */ lwz r0, 0(r5) /* 801CE9E8 001CB948 2C 00 00 00 */ cmpwi r0, 0 /* 801CE9EC 001CB94C 40 81 00 98 */ ble lbl_801CEA84 /* 801CE9F0 001CB950 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801CE9F4 001CB954 38 E5 00 04 */ addi r7, r5, 4 /* 801CE9F8 001CB958 C0 C2 AB BC */ lfs f6, lbl_805AC8DC@sda21(r2) /* 801CE9FC 001CB95C D0 01 00 08 */ stfs f0, 8(r1) /* 801CEA00 001CB960 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801CEA04 001CB964 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801CEA08 001CB968 48 00 00 54 */ b lbl_801CEA5C lbl_801CEA0C: /* 801CEA0C 001CB96C 80 C7 00 00 */ lwz r6, 0(r7) /* 801CEA10 001CB970 C0 04 00 04 */ lfs f0, 4(r4) /* 801CEA14 001CB974 C0 66 00 04 */ lfs f3, 4(r6) /* 801CEA18 001CB978 C0 A4 00 00 */ lfs f5, 0(r4) /* 801CEA1C 001CB97C EC 00 18 28 */ fsubs f0, f0, f3 /* 801CEA20 001CB980 C0 86 00 00 */ lfs f4, 0(r6) /* 801CEA24 001CB984 C0 44 00 08 */ lfs f2, 8(r4) /* 801CEA28 001CB988 C0 26 00 08 */ lfs f1, 8(r6) /* 801CEA2C 001CB98C EC A5 20 28 */ fsubs f5, f5, f4 /* 801CEA30 001CB990 EC 00 00 32 */ fmuls f0, f0, f0 /* 801CEA34 001CB994 EC 42 08 28 */ fsubs f2, f2, f1 /* 801CEA38 001CB998 EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 801CEA3C 001CB99C EC 02 00 BA */ fmadds f0, f2, f2, f0 /* 801CEA40 001CB9A0 FC 00 30 40 */ fcmpo cr0, f0, f6 /* 801CEA44 001CB9A4 40 80 00 14 */ bge lbl_801CEA58 /* 801CEA48 001CB9A8 FC C0 00 90 */ fmr f6, f0 /* 801CEA4C 001CB9AC D0 81 00 08 */ stfs f4, 8(r1) /* 801CEA50 001CB9B0 D0 61 00 0C */ stfs f3, 0xc(r1) /* 801CEA54 001CB9B4 D0 21 00 10 */ stfs f1, 0x10(r1) lbl_801CEA58: /* 801CEA58 001CB9B8 38 E7 00 04 */ addi r7, r7, 4 lbl_801CEA5C: /* 801CEA5C 001CB9BC 80 05 00 00 */ lwz r0, 0(r5) /* 801CEA60 001CB9C0 54 00 10 3A */ slwi r0, r0, 2 /* 801CEA64 001CB9C4 7C C5 02 14 */ add r6, r5, r0 /* 801CEA68 001CB9C8 38 06 00 04 */ addi r0, r6, 4 /* 801CEA6C 001CB9CC 7C 07 00 40 */ cmplw r7, r0 /* 801CEA70 001CB9D0 40 82 FF 9C */ bne lbl_801CEA0C /* 801CEA74 001CB9D4 C0 23 01 38 */ lfs f1, 0x138(r3) /* 801CEA78 001CB9D8 38 A1 00 08 */ addi r5, r1, 8 /* 801CEA7C 001CB9DC C0 43 01 44 */ lfs f2, 0x144(r3) /* 801CEA80 001CB9E0 4B FF FE 3D */ bl ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff lbl_801CEA84: /* 801CEA84 001CB9E4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CEA88 001CB9E8 7C 08 03 A6 */ mtlr r0 /* 801CEA8C 001CB9EC 38 21 00 20 */ addi r1, r1, 0x20 /* 801CEA90 001CB9F0 4E 80 00 20 */ blr .global ApplyCohesion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff ApplyCohesion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff: /* 801CEA94 001CB9F4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801CEA98 001CB9F8 7C 08 02 A6 */ mflr r0 /* 801CEA9C 001CB9FC 90 01 00 54 */ stw r0, 0x54(r1) /* 801CEAA0 001CBA00 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801CEAA4 001CBA04 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801CEAA8 001CBA08 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801CEAAC 001CBA0C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801CEAB0 001CBA10 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CEAB4 001CBA14 7C 9F 23 78 */ mr r31, r4 /* 801CEAB8 001CBA18 C0 85 00 04 */ lfs f4, 4(r5) /* 801CEABC 001CBA1C C0 04 00 04 */ lfs f0, 4(r4) /* 801CEAC0 001CBA20 FF C0 08 90 */ fmr f30, f1 /* 801CEAC4 001CBA24 C0 65 00 08 */ lfs f3, 8(r5) /* 801CEAC8 001CBA28 FF E0 10 90 */ fmr f31, f2 /* 801CEACC 001CBA2C C0 44 00 08 */ lfs f2, 8(r4) /* 801CEAD0 001CBA30 EC 84 00 28 */ fsubs f4, f4, f0 /* 801CEAD4 001CBA34 C0 04 00 00 */ lfs f0, 0(r4) /* 801CEAD8 001CBA38 C0 25 00 00 */ lfs f1, 0(r5) /* 801CEADC 001CBA3C EC 43 10 28 */ fsubs f2, f3, f2 /* 801CEAE0 001CBA40 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801CEAE4 001CBA44 38 61 00 14 */ addi r3, r1, 0x14 /* 801CEAE8 001CBA48 EC 01 00 28 */ fsubs f0, f1, f0 /* 801CEAEC 001CBA4C D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801CEAF0 001CBA50 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CEAF4 001CBA54 48 14 5C 05 */ bl CanBeNormalized__9CVector3fCFv /* 801CEAF8 001CBA58 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CEAFC 001CBA5C 41 82 00 8C */ beq lbl_801CEB88 /* 801CEB00 001CBA60 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801CEB04 001CBA64 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801CEB08 001CBA68 EC 21 00 72 */ fmuls f1, f1, f1 /* 801CEB0C 001CBA6C C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801CEB10 001CBA70 EC 00 00 32 */ fmuls f0, f0, f0 /* 801CEB14 001CBA74 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801CEB18 001CBA78 EC 01 00 2A */ fadds f0, f1, f0 /* 801CEB1C 001CBA7C EC 02 00 2A */ fadds f0, f2, f0 /* 801CEB20 001CBA80 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801CEB24 001CBA84 40 81 00 0C */ ble lbl_801CEB30 /* 801CEB28 001CBA88 C3 C2 AB B4 */ lfs f30, lbl_805AC8D4@sda21(r2) /* 801CEB2C 001CBA8C 48 00 00 08 */ b lbl_801CEB34 lbl_801CEB30: /* 801CEB30 001CBA90 EF C0 F0 24 */ fdivs f30, f0, f30 lbl_801CEB34: /* 801CEB34 001CBA94 38 61 00 08 */ addi r3, r1, 8 /* 801CEB38 001CBA98 38 81 00 14 */ addi r4, r1, 0x14 /* 801CEB3C 001CBA9C 48 14 5D 15 */ bl AsNormalized__9CVector3fCFv /* 801CEB40 001CBAA0 C0 01 00 08 */ lfs f0, 8(r1) /* 801CEB44 001CBAA4 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801CEB48 001CBAA8 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801CEB4C 001CBAAC C0 41 00 10 */ lfs f2, 0x10(r1) /* 801CEB50 001CBAB0 EC 7E 00 72 */ fmuls f3, f30, f1 /* 801CEB54 001CBAB4 C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801CEB58 001CBAB8 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801CEB5C 001CBABC EC 1F 00 32 */ fmuls f0, f31, f0 /* 801CEB60 001CBAC0 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801CEB64 001CBAC4 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801CEB68 001CBAC8 EC 01 00 2A */ fadds f0, f1, f0 /* 801CEB6C 001CBACC D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801CEB70 001CBAD0 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801CEB74 001CBAD4 EC 00 18 2A */ fadds f0, f0, f3 /* 801CEB78 001CBAD8 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801CEB7C 001CBADC C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801CEB80 001CBAE0 EC 00 10 2A */ fadds f0, f0, f2 /* 801CEB84 001CBAE4 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801CEB88: /* 801CEB88 001CBAE8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801CEB8C 001CBAEC CB E1 00 40 */ lfd f31, 0x40(r1) /* 801CEB90 001CBAF0 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801CEB94 001CBAF4 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801CEB98 001CBAF8 80 01 00 54 */ lwz r0, 0x54(r1) /* 801CEB9C 001CBAFC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CEBA0 001CBB00 7C 08 03 A6 */ mtlr r0 /* 801CEBA4 001CBB04 38 21 00 50 */ addi r1, r1, 0x50 /* 801CEBA8 001CBB08 4E 80 00 20 */ blr .global "ApplyCohesion__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector" "ApplyCohesion__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector": /* 801CEBAC 001CBB0C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801CEBB0 001CBB10 7C 08 02 A6 */ mflr r0 /* 801CEBB4 001CBB14 90 01 00 24 */ stw r0, 0x24(r1) /* 801CEBB8 001CBB18 80 05 00 00 */ lwz r0, 0(r5) /* 801CEBBC 001CBB1C 2C 00 00 00 */ cmpwi r0, 0 /* 801CEBC0 001CBB20 40 81 00 C4 */ ble lbl_801CEC84 /* 801CEBC4 001CBB24 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801CEBC8 001CBB28 39 05 00 04 */ addi r8, r5, 4 /* 801CEBCC 001CBB2C D0 01 00 08 */ stfs f0, 8(r1) /* 801CEBD0 001CBB30 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801CEBD4 001CBB34 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801CEBD8 001CBB38 48 00 00 3C */ b lbl_801CEC14 lbl_801CEBDC: /* 801CEBDC 001CBB3C 80 C8 00 00 */ lwz r6, 0(r8) /* 801CEBE0 001CBB40 39 08 00 04 */ addi r8, r8, 4 /* 801CEBE4 001CBB44 C0 21 00 08 */ lfs f1, 8(r1) /* 801CEBE8 001CBB48 C0 06 00 00 */ lfs f0, 0(r6) /* 801CEBEC 001CBB4C C0 41 00 0C */ lfs f2, 0xc(r1) /* 801CEBF0 001CBB50 EC 01 00 2A */ fadds f0, f1, f0 /* 801CEBF4 001CBB54 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801CEBF8 001CBB58 D0 01 00 08 */ stfs f0, 8(r1) /* 801CEBFC 001CBB5C C0 06 00 04 */ lfs f0, 4(r6) /* 801CEC00 001CBB60 EC 02 00 2A */ fadds f0, f2, f0 /* 801CEC04 001CBB64 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801CEC08 001CBB68 C0 06 00 08 */ lfs f0, 8(r6) /* 801CEC0C 001CBB6C EC 01 00 2A */ fadds f0, f1, f0 /* 801CEC10 001CBB70 D0 01 00 10 */ stfs f0, 0x10(r1) lbl_801CEC14: /* 801CEC14 001CBB74 80 E5 00 00 */ lwz r7, 0(r5) /* 801CEC18 001CBB78 54 E0 10 3A */ slwi r0, r7, 2 /* 801CEC1C 001CBB7C 7C C5 02 14 */ add r6, r5, r0 /* 801CEC20 001CBB80 38 06 00 04 */ addi r0, r6, 4 /* 801CEC24 001CBB84 7C 08 00 40 */ cmplw r8, r0 /* 801CEC28 001CBB88 40 82 FF B4 */ bne lbl_801CEBDC /* 801CEC2C 001CBB8C 6C E5 80 00 */ xoris r5, r7, 0x8000 /* 801CEC30 001CBB90 3C 00 43 30 */ lis r0, 0x4330 /* 801CEC34 001CBB94 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801CEC38 001CBB98 38 A1 00 08 */ addi r5, r1, 8 /* 801CEC3C 001CBB9C C8 22 AB C0 */ lfd f1, lbl_805AC8E0@sda21(r2) /* 801CEC40 001CBBA0 90 01 00 18 */ stw r0, 0x18(r1) /* 801CEC44 001CBBA4 C0 82 AB B4 */ lfs f4, lbl_805AC8D4@sda21(r2) /* 801CEC48 001CBBA8 C8 01 00 18 */ lfd f0, 0x18(r1) /* 801CEC4C 001CBBAC C0 41 00 0C */ lfs f2, 0xc(r1) /* 801CEC50 001CBBB0 EC 60 08 28 */ fsubs f3, f0, f1 /* 801CEC54 001CBBB4 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801CEC58 001CBBB8 C0 01 00 08 */ lfs f0, 8(r1) /* 801CEC5C 001CBBBC EC 64 18 24 */ fdivs f3, f4, f3 /* 801CEC60 001CBBC0 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801CEC64 001CBBC4 EC 23 00 72 */ fmuls f1, f3, f1 /* 801CEC68 001CBBC8 EC 03 00 32 */ fmuls f0, f3, f0 /* 801CEC6C 001CBBCC D0 41 00 0C */ stfs f2, 0xc(r1) /* 801CEC70 001CBBD0 D0 01 00 08 */ stfs f0, 8(r1) /* 801CEC74 001CBBD4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801CEC78 001CBBD8 C0 23 01 38 */ lfs f1, 0x138(r3) /* 801CEC7C 001CBBDC C0 43 01 3C */ lfs f2, 0x13c(r3) /* 801CEC80 001CBBE0 4B FF FE 15 */ bl ApplyCohesion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff lbl_801CEC84: /* 801CEC84 001CBBE4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801CEC88 001CBBE8 7C 08 03 A6 */ mtlr r0 /* 801CEC8C 001CBBEC 38 21 00 20 */ addi r1, r1, 0x20 /* 801CEC90 001CBBF0 4E 80 00 20 */ blr .global sub_801cec94 sub_801cec94: /* 801CEC94 001CBBF4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801CEC98 001CBBF8 7C 08 02 A6 */ mflr r0 /* 801CEC9C 001CBBFC 90 01 00 64 */ stw r0, 0x64(r1) /* 801CECA0 001CBC00 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801CECA4 001CBC04 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801CECA8 001CBC08 DB C1 00 40 */ stfd f30, 0x40(r1) /* 801CECAC 001CBC0C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 801CECB0 001CBC10 DB A1 00 30 */ stfd f29, 0x30(r1) /* 801CECB4 001CBC14 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 801CECB8 001CBC18 DB 81 00 20 */ stfd f28, 0x20(r1) /* 801CECBC 001CBC1C F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 /* 801CECC0 001CBC20 DB 61 00 10 */ stfd f27, 0x10(r1) /* 801CECC4 001CBC24 F3 61 00 18 */ psq_st f27, 24(r1), 0, qr0 /* 801CECC8 001CBC28 93 E1 00 0C */ stw r31, 0xc(r1) /* 801CECCC 001CBC2C 93 C1 00 08 */ stw r30, 8(r1) /* 801CECD0 001CBC30 7C BF 2B 78 */ mr r31, r5 /* 801CECD4 001CBC34 7C 7E 1B 78 */ mr r30, r3 /* 801CECD8 001CBC38 C3 A5 00 0C */ lfs f29, 0xc(r5) /* 801CECDC 001CBC3C C3 85 00 10 */ lfs f28, 0x10(r5) /* 801CECE0 001CBC40 80 64 09 00 */ lwz r3, 0x900(r4) /* 801CECE4 001CBC44 48 14 37 F9 */ bl Float__9CRandom16Fv /* 801CECE8 001CBC48 C0 02 AB CC */ lfs f0, lbl_805AC8EC@sda21(r2) /* 801CECEC 001CBC4C C0 42 AB C8 */ lfs f2, lbl_805AC8E8@sda21(r2) /* 801CECF0 001CBC50 EC 21 00 28 */ fsubs f1, f1, f0 /* 801CECF4 001CBC54 C0 1E 01 54 */ lfs f0, 0x154(r30) /* 801CECF8 001CBC58 EC 22 00 72 */ fmuls f1, f2, f1 /* 801CECFC 001CBC5C EF 60 00 72 */ fmuls f27, f0, f1 /* 801CED00 001CBC60 FC 20 D8 90 */ fmr f1, f27 /* 801CED04 001CBC64 48 14 60 41 */ bl FastCosR__5CMathFf /* 801CED08 001CBC68 EF FC 00 72 */ fmuls f31, f28, f1 /* 801CED0C 001CBC6C FC 20 D8 90 */ fmr f1, f27 /* 801CED10 001CBC70 48 14 60 E1 */ bl FastSinR__5CMathFf /* 801CED14 001CBC74 EF DD F8 7A */ fmadds f30, f29, f1, f31 /* 801CED18 001CBC78 FC 20 D8 90 */ fmr f1, f27 /* 801CED1C 001CBC7C 48 14 60 D5 */ bl FastSinR__5CMathFf /* 801CED20 001CBC80 EF FC 00 72 */ fmuls f31, f28, f1 /* 801CED24 001CBC84 FC 20 D8 90 */ fmr f1, f27 /* 801CED28 001CBC88 48 14 60 1D */ bl FastCosR__5CMathFf /* 801CED2C 001CBC8C EC 5D F8 78 */ fmsubs f2, f29, f1, f31 /* 801CED30 001CBC90 C0 9E 01 50 */ lfs f4, 0x150(r30) /* 801CED34 001CBC94 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801CED38 001CBC98 C0 7F 00 0C */ lfs f3, 0xc(r31) /* 801CED3C 001CBC9C EC 24 07 B2 */ fmuls f1, f4, f30 /* 801CED40 001CBCA0 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801CED44 001CBCA4 EC 04 00 32 */ fmuls f0, f4, f0 /* 801CED48 001CBCA8 EC 43 10 2A */ fadds f2, f3, f2 /* 801CED4C 001CBCAC D0 5F 00 0C */ stfs f2, 0xc(r31) /* 801CED50 001CBCB0 C0 5F 00 10 */ lfs f2, 0x10(r31) /* 801CED54 001CBCB4 EC 22 08 2A */ fadds f1, f2, f1 /* 801CED58 001CBCB8 D0 3F 00 10 */ stfs f1, 0x10(r31) /* 801CED5C 001CBCBC C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801CED60 001CBCC0 EC 01 00 2A */ fadds f0, f1, f0 /* 801CED64 001CBCC4 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 801CED68 001CBCC8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801CED6C 001CBCCC CB E1 00 50 */ lfd f31, 0x50(r1) /* 801CED70 001CBCD0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 801CED74 001CBCD4 CB C1 00 40 */ lfd f30, 0x40(r1) /* 801CED78 001CBCD8 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 801CED7C 001CBCDC CB A1 00 30 */ lfd f29, 0x30(r1) /* 801CED80 001CBCE0 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 /* 801CED84 001CBCE4 CB 81 00 20 */ lfd f28, 0x20(r1) /* 801CED88 001CBCE8 E3 61 00 18 */ psq_l f27, 24(r1), 0, qr0 /* 801CED8C 001CBCEC CB 61 00 10 */ lfd f27, 0x10(r1) /* 801CED90 001CBCF0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801CED94 001CBCF4 80 01 00 64 */ lwz r0, 0x64(r1) /* 801CED98 001CBCF8 83 C1 00 08 */ lwz r30, 8(r1) /* 801CED9C 001CBCFC 7C 08 03 A6 */ mtlr r0 /* 801CEDA0 001CBD00 38 21 00 60 */ addi r1, r1, 0x60 /* 801CEDA4 001CBD04 4E 80 00 20 */ blr .global "ApplyAlignment__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector" "ApplyAlignment__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector": /* 801CEDA8 001CBD08 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CEDAC 001CBD0C 7C 08 02 A6 */ mflr r0 /* 801CEDB0 001CBD10 90 01 00 34 */ stw r0, 0x34(r1) /* 801CEDB4 001CBD14 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CEDB8 001CBD18 7C 9F 23 78 */ mr r31, r4 /* 801CEDBC 001CBD1C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801CEDC0 001CBD20 7C 7E 1B 78 */ mr r30, r3 /* 801CEDC4 001CBD24 80 05 00 00 */ lwz r0, 0(r5) /* 801CEDC8 001CBD28 2C 00 00 00 */ cmpwi r0, 0 /* 801CEDCC 001CBD2C 40 81 01 2C */ ble lbl_801CEEF8 /* 801CEDD0 001CBD30 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801CEDD4 001CBD34 38 C5 00 04 */ addi r6, r5, 4 /* 801CEDD8 001CBD38 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CEDDC 001CBD3C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801CEDE0 001CBD40 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801CEDE4 001CBD44 48 00 00 3C */ b lbl_801CEE20 lbl_801CEDE8: /* 801CEDE8 001CBD48 80 66 00 00 */ lwz r3, 0(r6) /* 801CEDEC 001CBD4C 38 C6 00 04 */ addi r6, r6, 4 /* 801CEDF0 001CBD50 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801CEDF4 001CBD54 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801CEDF8 001CBD58 C0 41 00 18 */ lfs f2, 0x18(r1) /* 801CEDFC 001CBD5C EC 01 00 2A */ fadds f0, f1, f0 /* 801CEE00 001CBD60 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801CEE04 001CBD64 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CEE08 001CBD68 C0 03 00 10 */ lfs f0, 0x10(r3) /* 801CEE0C 001CBD6C EC 02 00 2A */ fadds f0, f2, f0 /* 801CEE10 001CBD70 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801CEE14 001CBD74 C0 03 00 14 */ lfs f0, 0x14(r3) /* 801CEE18 001CBD78 EC 01 00 2A */ fadds f0, f1, f0 /* 801CEE1C 001CBD7C D0 01 00 1C */ stfs f0, 0x1c(r1) lbl_801CEE20: /* 801CEE20 001CBD80 80 85 00 00 */ lwz r4, 0(r5) /* 801CEE24 001CBD84 54 80 10 3A */ slwi r0, r4, 2 /* 801CEE28 001CBD88 7C 65 02 14 */ add r3, r5, r0 /* 801CEE2C 001CBD8C 38 03 00 04 */ addi r0, r3, 4 /* 801CEE30 001CBD90 7C 06 00 40 */ cmplw r6, r0 /* 801CEE34 001CBD94 40 82 FF B4 */ bne lbl_801CEDE8 /* 801CEE38 001CBD98 6C 83 80 00 */ xoris r3, r4, 0x8000 /* 801CEE3C 001CBD9C 3C 00 43 30 */ lis r0, 0x4330 /* 801CEE40 001CBDA0 90 61 00 24 */ stw r3, 0x24(r1) /* 801CEE44 001CBDA4 38 61 00 08 */ addi r3, r1, 8 /* 801CEE48 001CBDA8 C8 22 AB C0 */ lfd f1, lbl_805AC8E0@sda21(r2) /* 801CEE4C 001CBDAC 38 81 00 14 */ addi r4, r1, 0x14 /* 801CEE50 001CBDB0 90 01 00 20 */ stw r0, 0x20(r1) /* 801CEE54 001CBDB4 C0 82 AB B4 */ lfs f4, lbl_805AC8D4@sda21(r2) /* 801CEE58 001CBDB8 C8 01 00 20 */ lfd f0, 0x20(r1) /* 801CEE5C 001CBDBC C0 41 00 18 */ lfs f2, 0x18(r1) /* 801CEE60 001CBDC0 EC 60 08 28 */ fsubs f3, f0, f1 /* 801CEE64 001CBDC4 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801CEE68 001CBDC8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801CEE6C 001CBDCC EC 64 18 24 */ fdivs f3, f4, f3 /* 801CEE70 001CBDD0 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801CEE74 001CBDD4 EC 23 00 72 */ fmuls f1, f3, f1 /* 801CEE78 001CBDD8 EC 03 00 32 */ fmuls f0, f3, f0 /* 801CEE7C 001CBDDC D0 41 00 18 */ stfs f2, 0x18(r1) /* 801CEE80 001CBDE0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CEE84 001CBDE4 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801CEE88 001CBDE8 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 801CEE8C 001CBDEC D0 01 00 08 */ stfs f0, 8(r1) /* 801CEE90 001CBDF0 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801CEE94 001CBDF4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801CEE98 001CBDF8 C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801CEE9C 001CBDFC D0 01 00 10 */ stfs f0, 0x10(r1) /* 801CEEA0 001CBE00 48 14 57 91 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801CEEA4 001CBE04 C0 02 AB C8 */ lfs f0, lbl_805AC8E8@sda21(r2) /* 801CEEA8 001CBE08 C0 9E 01 40 */ lfs f4, 0x140(r30) /* 801CEEAC 001CBE0C EC A1 00 24 */ fdivs f5, f1, f0 /* 801CEEB0 001CBE10 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801CEEB4 001CBE14 C0 61 00 18 */ lfs f3, 0x18(r1) /* 801CEEB8 001CBE18 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801CEEBC 001CBE1C C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801CEEC0 001CBE20 EC 04 00 32 */ fmuls f0, f4, f0 /* 801CEEC4 001CBE24 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801CEEC8 001CBE28 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801CEECC 001CBE2C EC 05 00 32 */ fmuls f0, f5, f0 /* 801CEED0 001CBE30 EC 65 00 F2 */ fmuls f3, f5, f3 /* 801CEED4 001CBE34 EC 45 00 B2 */ fmuls f2, f5, f2 /* 801CEED8 001CBE38 EC 01 00 2A */ fadds f0, f1, f0 /* 801CEEDC 001CBE3C D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801CEEE0 001CBE40 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 801CEEE4 001CBE44 EC 00 18 2A */ fadds f0, f0, f3 /* 801CEEE8 001CBE48 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801CEEEC 001CBE4C C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801CEEF0 001CBE50 EC 00 10 2A */ fadds f0, f0, f2 /* 801CEEF4 001CBE54 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801CEEF8: /* 801CEEF8 001CBE58 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CEEFC 001CBE5C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CEF00 001CBE60 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801CEF04 001CBE64 7C 08 03 A6 */ mtlr r0 /* 801CEF08 001CBE68 38 21 00 30 */ addi r1, r1, 0x30 /* 801CEF0C 001CBE6C 4E 80 00 20 */ blr .global sub_801cef10 sub_801cef10: /* 801CEF10 001CBE70 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801CEF14 001CBE74 7C 08 02 A6 */ mflr r0 /* 801CEF18 001CBE78 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801CEF1C 001CBE7C DB E1 00 90 */ stfd f31, 0x90(r1) /* 801CEF20 001CBE80 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801CEF24 001CBE84 DB C1 00 80 */ stfd f30, 0x80(r1) /* 801CEF28 001CBE88 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 801CEF2C 001CBE8C DB A1 00 70 */ stfd f29, 0x70(r1) /* 801CEF30 001CBE90 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 /* 801CEF34 001CBE94 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801CEF38 001CBE98 93 C1 00 68 */ stw r30, 0x68(r1) /* 801CEF3C 001CBE9C 7C 9E 23 78 */ mr r30, r4 /* 801CEF40 001CBEA0 C0 05 00 08 */ lfs f0, 8(r5) /* 801CEF44 001CBEA4 C0 64 00 08 */ lfs f3, 8(r4) /* 801CEF48 001CBEA8 FF A0 08 90 */ fmr f29, f1 /* 801CEF4C 001CBEAC C0 84 00 04 */ lfs f4, 4(r4) /* 801CEF50 001CBEB0 FF C0 10 90 */ fmr f30, f2 /* 801CEF54 001CBEB4 C0 45 00 04 */ lfs f2, 4(r5) /* 801CEF58 001CBEB8 EC 63 00 28 */ fsubs f3, f3, f0 /* 801CEF5C 001CBEBC C0 24 00 00 */ lfs f1, 0(r4) /* 801CEF60 001CBEC0 C0 05 00 00 */ lfs f0, 0(r5) /* 801CEF64 001CBEC4 EC 44 10 28 */ fsubs f2, f4, f2 /* 801CEF68 001CBEC8 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801CEF6C 001CBECC 7C DF 33 78 */ mr r31, r6 /* 801CEF70 001CBED0 EC 21 00 28 */ fsubs f1, f1, f0 /* 801CEF74 001CBED4 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801CEF78 001CBED8 D0 41 00 54 */ stfs f2, 0x54(r1) /* 801CEF7C 001CBEDC 38 61 00 50 */ addi r3, r1, 0x50 /* 801CEF80 001CBEE0 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801CEF84 001CBEE4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801CEF88 001CBEE8 48 14 59 31 */ bl Magnitude__9CVector3fCFv /* 801CEF8C 001CBEEC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801CEF90 001CBEF0 FF E0 08 90 */ fmr f31, f1 /* 801CEF94 001CBEF4 41 82 00 5C */ beq lbl_801CEFF0 /* 801CEF98 001CBEF8 38 61 00 2C */ addi r3, r1, 0x2c /* 801CEF9C 001CBEFC 38 81 00 50 */ addi r4, r1, 0x50 /* 801CEFA0 001CBF00 48 14 58 B1 */ bl AsNormalized__9CVector3fCFv /* 801CEFA4 001CBF04 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801CEFA8 001CBF08 C0 61 00 30 */ lfs f3, 0x30(r1) /* 801CEFAC 001CBF0C 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l /* 801CEFB0 001CBF10 C0 81 00 34 */ lfs f4, 0x34(r1) /* 801CEFB4 001CBF14 C0 A3 00 04 */ lfs f5, 4(r3) /* 801CEFB8 001CBF18 38 81 00 20 */ addi r4, r1, 0x20 /* 801CEFBC 001CBF1C C0 E3 00 00 */ lfs f7, 0(r3) /* 801CEFC0 001CBF20 C0 C3 00 08 */ lfs f6, 8(r3) /* 801CEFC4 001CBF24 EC 45 01 32 */ fmuls f2, f5, f4 /* 801CEFC8 001CBF28 C1 01 00 2C */ lfs f8, 0x2c(r1) /* 801CEFCC 001CBF2C EC 07 00 F2 */ fmuls f0, f7, f3 /* 801CEFD0 001CBF30 EC 26 02 32 */ fmuls f1, f6, f8 /* 801CEFD4 001CBF34 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 /* 801CEFD8 001CBF38 EC 08 01 78 */ fmsubs f0, f8, f5, f0 /* 801CEFDC 001CBF3C EC 24 09 F8 */ fmsubs f1, f4, f7, f1 /* 801CEFE0 001CBF40 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801CEFE4 001CBF44 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801CEFE8 001CBF48 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801CEFEC 001CBF4C 48 00 00 6C */ b lbl_801CF058 lbl_801CEFF0: /* 801CEFF0 001CBF50 C0 02 AB B4 */ lfs f0, lbl_805AC8D4@sda21(r2) /* 801CEFF4 001CBF54 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801CEFF8 001CBF58 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l /* 801CEFFC 001CBF5C C0 41 00 54 */ lfs f2, 0x54(r1) /* 801CF000 001CBF60 EC 60 F8 24 */ fdivs f3, f0, f31 /* 801CF004 001CBF64 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801CF008 001CBF68 C0 01 00 50 */ lfs f0, 0x50(r1) /* 801CF00C 001CBF6C 38 81 00 08 */ addi r4, r1, 8 /* 801CF010 001CBF70 C0 C3 00 04 */ lfs f6, 4(r3) /* 801CF014 001CBF74 C0 E3 00 08 */ lfs f7, 8(r3) /* 801CF018 001CBF78 EC A3 00 B2 */ fmuls f5, f3, f2 /* 801CF01C 001CBF7C C1 03 00 00 */ lfs f8, 0(r3) /* 801CF020 001CBF80 EC 83 00 72 */ fmuls f4, f3, f1 /* 801CF024 001CBF84 EC 63 00 32 */ fmuls f3, f3, f0 /* 801CF028 001CBF88 EC 45 01 F2 */ fmuls f2, f5, f7 /* 801CF02C 001CBF8C D0 A1 00 18 */ stfs f5, 0x18(r1) /* 801CF030 001CBF90 EC 24 02 32 */ fmuls f1, f4, f8 /* 801CF034 001CBF94 EC 03 01 B2 */ fmuls f0, f3, f6 /* 801CF038 001CBF98 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801CF03C 001CBF9C EC 46 11 38 */ fmsubs f2, f6, f4, f2 /* 801CF040 001CBFA0 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 /* 801CF044 001CBFA4 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801CF048 001CBFA8 EC 08 01 78 */ fmsubs f0, f8, f5, f0 /* 801CF04C 001CBFAC D0 41 00 08 */ stfs f2, 8(r1) /* 801CF050 001CBFB0 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801CF054 001CBFB4 D0 01 00 10 */ stfs f0, 0x10(r1) lbl_801CF058: /* 801CF058 001CBFB8 C0 04 00 00 */ lfs f0, 0(r4) /* 801CF05C 001CBFBC FC 1F F0 40 */ fcmpo cr0, f31, f30 /* 801CF060 001CBFC0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801CF064 001CBFC4 C0 04 00 04 */ lfs f0, 4(r4) /* 801CF068 001CBFC8 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801CF06C 001CBFCC C0 04 00 08 */ lfs f0, 8(r4) /* 801CF070 001CBFD0 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801CF074 001CBFD4 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801CF078 001CBFD8 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801CF07C 001CBFDC C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801CF080 001CBFE0 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801CF084 001CBFE4 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 801CF088 001CBFE8 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801CF08C 001CBFEC 40 81 00 0C */ ble lbl_801CF098 /* 801CF090 001CBFF0 C3 C2 AB B8 */ lfs f30, lbl_805AC8D8@sda21(r2) /* 801CF094 001CBFF4 48 00 00 10 */ b lbl_801CF0A4 lbl_801CF098: /* 801CF098 001CBFF8 EC 1F F0 24 */ fdivs f0, f31, f30 /* 801CF09C 001CBFFC C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801CF0A0 001CC000 EF C1 00 28 */ fsubs f30, f1, f0 lbl_801CF0A4: /* 801CF0A4 001CC004 38 61 00 38 */ addi r3, r1, 0x38 /* 801CF0A8 001CC008 38 81 00 44 */ addi r4, r1, 0x44 /* 801CF0AC 001CC00C 48 14 55 85 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801CF0B0 001CC010 C0 42 AB C8 */ lfs f2, lbl_805AC8E8@sda21(r2) /* 801CF0B4 001CC014 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801CF0B8 001CC018 EC 81 10 24 */ fdivs f4, f1, f2 /* 801CF0BC 001CC01C C0 61 00 48 */ lfs f3, 0x48(r1) /* 801CF0C0 001CC020 C0 41 00 4C */ lfs f2, 0x4c(r1) /* 801CF0C4 001CC024 C0 3E 00 0C */ lfs f1, 0xc(r30) /* 801CF0C8 001CC028 EC 84 07 B2 */ fmuls f4, f4, f30 /* 801CF0CC 001CC02C EC 1D 00 32 */ fmuls f0, f29, f0 /* 801CF0D0 001CC030 EC 7D 00 F2 */ fmuls f3, f29, f3 /* 801CF0D4 001CC034 EC 5D 00 B2 */ fmuls f2, f29, f2 /* 801CF0D8 001CC038 EC 04 00 32 */ fmuls f0, f4, f0 /* 801CF0DC 001CC03C EC 64 00 F2 */ fmuls f3, f4, f3 /* 801CF0E0 001CC040 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801CF0E4 001CC044 EC 01 00 2A */ fadds f0, f1, f0 /* 801CF0E8 001CC048 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 801CF0EC 001CC04C C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801CF0F0 001CC050 EC 00 18 2A */ fadds f0, f0, f3 /* 801CF0F4 001CC054 D0 1E 00 10 */ stfs f0, 0x10(r30) /* 801CF0F8 001CC058 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 801CF0FC 001CC05C EC 00 10 2A */ fadds f0, f0, f2 /* 801CF100 001CC060 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 801CF104 001CC064 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801CF108 001CC068 CB E1 00 90 */ lfd f31, 0x90(r1) /* 801CF10C 001CC06C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 801CF110 001CC070 CB C1 00 80 */ lfd f30, 0x80(r1) /* 801CF114 001CC074 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 /* 801CF118 001CC078 CB A1 00 70 */ lfd f29, 0x70(r1) /* 801CF11C 001CC07C 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801CF120 001CC080 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801CF124 001CC084 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801CF128 001CC088 7C 08 03 A6 */ mtlr r0 /* 801CF12C 001CC08C 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801CF130 001CC090 4E 80 00 20 */ blr .global "BuildBoidNearList__10CFishCloudFRC9CVector3ffRQ24rstl41reserved_vector" "BuildBoidNearList__10CFishCloudFRC9CVector3ffRQ24rstl41reserved_vector": /* 801CF134 001CC094 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CF138 001CC098 7C 08 02 A6 */ mflr r0 /* 801CF13C 001CC09C 90 01 00 34 */ stw r0, 0x34(r1) /* 801CF140 001CC0A0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801CF144 001CC0A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801CF148 001CC0A8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801CF14C 001CC0AC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801CF150 001CC0B0 93 A1 00 14 */ stw r29, 0x14(r1) /* 801CF154 001CC0B4 EF E1 00 72 */ fmuls f31, f1, f1 /* 801CF158 001CC0B8 7C 9D 23 78 */ mr r29, r4 /* 801CF15C 001CC0BC 7C BE 2B 78 */ mr r30, r5 /* 801CF160 001CC0C0 3B E0 00 19 */ li r31, 0x19 /* 801CF164 001CC0C4 48 00 03 E9 */ bl GetListAt__10CFishCloudFRC9CVector3f /* 801CF168 001CC0C8 48 00 00 80 */ b lbl_801CF1E8 lbl_801CF16C: /* 801CF16C 001CC0CC 88 03 00 20 */ lbz r0, 0x20(r3) /* 801CF170 001CC0D0 28 00 00 00 */ cmplwi r0, 0 /* 801CF174 001CC0D4 41 82 00 70 */ beq lbl_801CF1E4 /* 801CF178 001CC0D8 C0 23 00 04 */ lfs f1, 4(r3) /* 801CF17C 001CC0DC C0 1D 00 04 */ lfs f0, 4(r29) /* 801CF180 001CC0E0 C0 63 00 00 */ lfs f3, 0(r3) /* 801CF184 001CC0E4 EC 21 00 28 */ fsubs f1, f1, f0 /* 801CF188 001CC0E8 C0 1D 00 00 */ lfs f0, 0(r29) /* 801CF18C 001CC0EC C0 43 00 08 */ lfs f2, 8(r3) /* 801CF190 001CC0F0 EC 63 00 28 */ fsubs f3, f3, f0 /* 801CF194 001CC0F4 C0 1D 00 08 */ lfs f0, 8(r29) /* 801CF198 001CC0F8 EC 21 00 72 */ fmuls f1, f1, f1 /* 801CF19C 001CC0FC EC 42 00 28 */ fsubs f2, f2, f0 /* 801CF1A0 001CC100 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801CF1A4 001CC104 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801CF1A8 001CC108 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801CF1AC 001CC10C FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801CF1B0 001CC110 41 82 00 34 */ beq lbl_801CF1E4 /* 801CF1B4 001CC114 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801CF1B8 001CC118 40 80 00 2C */ bge lbl_801CF1E4 /* 801CF1BC 001CC11C 80 1E 00 00 */ lwz r0, 0(r30) /* 801CF1C0 001CC120 54 00 10 3A */ slwi r0, r0, 2 /* 801CF1C4 001CC124 7C 9E 02 14 */ add r4, r30, r0 /* 801CF1C8 001CC128 34 84 00 04 */ addic. r4, r4, 4 /* 801CF1CC 001CC12C 41 82 00 08 */ beq lbl_801CF1D4 /* 801CF1D0 001CC130 90 64 00 00 */ stw r3, 0(r4) lbl_801CF1D4: /* 801CF1D4 001CC134 80 9E 00 00 */ lwz r4, 0(r30) /* 801CF1D8 001CC138 3B FF FF FF */ addi r31, r31, -1 /* 801CF1DC 001CC13C 38 04 00 01 */ addi r0, r4, 1 /* 801CF1E0 001CC140 90 1E 00 00 */ stw r0, 0(r30) lbl_801CF1E4: /* 801CF1E4 001CC144 80 63 00 1C */ lwz r3, 0x1c(r3) lbl_801CF1E8: /* 801CF1E8 001CC148 28 03 00 00 */ cmplwi r3, 0 /* 801CF1EC 001CC14C 41 82 00 0C */ beq lbl_801CF1F8 /* 801CF1F0 001CC150 2C 1F 00 00 */ cmpwi r31, 0 /* 801CF1F4 001CC154 40 82 FF 78 */ bne lbl_801CF16C lbl_801CF1F8: /* 801CF1F8 001CC158 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801CF1FC 001CC15C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CF200 001CC160 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801CF204 001CC164 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801CF208 001CC168 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801CF20C 001CC16C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801CF210 001CC170 7C 08 03 A6 */ mtlr r0 /* 801CF214 001CC174 38 21 00 30 */ addi r1, r1, 0x30 /* 801CF218 001CC178 4E 80 00 20 */ blr .global sub_801cf21c sub_801cf21c: /* 801CF21C 001CC17C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801CF220 001CC180 7C 08 02 A6 */ mflr r0 /* 801CF224 001CC184 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801CF228 001CC188 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801CF22C 001CC18C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801CF230 001CC190 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801CF234 001CC194 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801CF238 001CC198 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801CF23C 001CC19C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801CF240 001CC1A0 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 801CF244 001CC1A4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 801CF248 001CC1A8 DB 61 00 90 */ stfd f27, 0x90(r1) /* 801CF24C 001CC1AC F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 /* 801CF250 001CC1B0 DB 41 00 80 */ stfd f26, 0x80(r1) /* 801CF254 001CC1B4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 /* 801CF258 001CC1B8 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801CF25C 001CC1BC 93 C1 00 78 */ stw r30, 0x78(r1) /* 801CF260 001CC1C0 93 A1 00 74 */ stw r29, 0x74(r1) /* 801CF264 001CC1C4 FF 40 08 90 */ fmr f26, f1 /* 801CF268 001CC1C8 7C 7D 1B 78 */ mr r29, r3 /* 801CF26C 001CC1CC 7C 9E 23 78 */ mr r30, r4 /* 801CF270 001CC1D0 7C BF 2B 78 */ mr r31, r5 /* 801CF274 001CC1D4 7F A4 EB 78 */ mr r4, r29 /* 801CF278 001CC1D8 38 61 00 20 */ addi r3, r1, 0x20 /* 801CF27C 001CC1DC EF FA 06 B2 */ fmuls f31, f26, f26 /* 801CF280 001CC1E0 48 00 2B 61 */ bl GetBoundingBox__10CFishCloudCFv /* 801CF284 001CC1E4 C0 FD 02 38 */ lfs f7, 0x238(r29) /* 801CF288 001CC1E8 C0 C1 00 20 */ lfs f6, 0x20(r1) /* 801CF28C 001CC1EC D0 E1 00 18 */ stfs f7, 0x18(r1) /* 801CF290 001CC1F0 C0 A1 00 24 */ lfs f5, 0x24(r1) /* 801CF294 001CC1F4 C0 1D 02 44 */ lfs f0, 0x244(r29) /* 801CF298 001CC1F8 C0 81 00 28 */ lfs f4, 0x28(r1) /* 801CF29C 001CC1FC EC 1A 00 32 */ fmuls f0, f26, f0 /* 801CF2A0 001CC200 C0 61 00 2C */ lfs f3, 0x2c(r1) /* 801CF2A4 001CC204 C0 41 00 30 */ lfs f2, 0x30(r1) /* 801CF2A8 001CC208 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801CF2AC 001CC20C FC 00 38 40 */ fcmpo cr0, f0, f7 /* 801CF2B0 001CC210 D0 C1 00 38 */ stfs f6, 0x38(r1) /* 801CF2B4 001CC214 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801CF2B8 001CC218 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801CF2BC 001CC21C D0 61 00 44 */ stfs f3, 0x44(r1) /* 801CF2C0 001CC220 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801CF2C4 001CC224 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801CF2C8 001CC228 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801CF2CC 001CC22C 40 80 00 0C */ bge lbl_801CF2D8 /* 801CF2D0 001CC230 38 61 00 18 */ addi r3, r1, 0x18 /* 801CF2D4 001CC234 48 00 00 08 */ b lbl_801CF2DC lbl_801CF2D8: /* 801CF2D8 001CC238 38 61 00 1C */ addi r3, r1, 0x1c lbl_801CF2DC: /* 801CF2DC 001CC23C C0 A3 00 00 */ lfs f5, 0(r3) /* 801CF2E0 001CC240 C0 3D 02 3C */ lfs f1, 0x23c(r29) /* 801CF2E4 001CC244 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801CF2E8 001CC248 C0 1D 02 48 */ lfs f0, 0x248(r29) /* 801CF2EC 001CC24C EC 1A 00 32 */ fmuls f0, f26, f0 /* 801CF2F0 001CC250 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801CF2F4 001CC254 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801CF2F8 001CC258 40 80 00 0C */ bge lbl_801CF304 /* 801CF2FC 001CC25C 38 61 00 10 */ addi r3, r1, 0x10 /* 801CF300 001CC260 48 00 00 08 */ b lbl_801CF308 lbl_801CF304: /* 801CF304 001CC264 38 61 00 14 */ addi r3, r1, 0x14 lbl_801CF308: /* 801CF308 001CC268 C0 C3 00 00 */ lfs f6, 0(r3) /* 801CF30C 001CC26C C0 3D 02 40 */ lfs f1, 0x240(r29) /* 801CF310 001CC270 D0 21 00 08 */ stfs f1, 8(r1) /* 801CF314 001CC274 C0 1D 02 4C */ lfs f0, 0x24c(r29) /* 801CF318 001CC278 EC 1A 00 32 */ fmuls f0, f26, f0 /* 801CF31C 001CC27C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801CF320 001CC280 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801CF324 001CC284 40 80 00 0C */ bge lbl_801CF330 /* 801CF328 001CC288 38 61 00 08 */ addi r3, r1, 8 /* 801CF32C 001CC28C 48 00 00 08 */ b lbl_801CF334 lbl_801CF330: /* 801CF330 001CC290 38 61 00 0C */ addi r3, r1, 0xc lbl_801CF334: /* 801CF334 001CC294 C0 02 AB D0 */ lfs f0, lbl_805AC8F0@sda21(r2) /* 801CF338 001CC298 38 A0 00 19 */ li r5, 0x19 /* 801CF33C 001CC29C C0 E3 00 00 */ lfs f7, 0(r3) /* 801CF340 001CC2A0 ED 00 28 28 */ fsubs f8, f0, f5 /* 801CF344 001CC2A4 C0 21 00 38 */ lfs f1, 0x38(r1) /* 801CF348 001CC2A8 EC 40 30 28 */ fsubs f2, f0, f6 /* 801CF34C 001CC2AC EC 60 38 28 */ fsubs f3, f0, f7 /* 801CF350 001CC2B0 48 00 01 A8 */ b lbl_801CF4F8 lbl_801CF354: /* 801CF354 001CC2B4 C0 1E 00 00 */ lfs f0, 0(r30) /* 801CF358 001CC2B8 ED 28 00 2A */ fadds f9, f8, f0 /* 801CF35C 001CC2BC FC 09 08 40 */ fcmpo cr0, f9, f1 /* 801CF360 001CC2C0 41 80 01 90 */ blt lbl_801CF4F0 /* 801CF364 001CC2C4 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801CF368 001CC2C8 FC 09 00 40 */ fcmpo cr0, f9, f0 /* 801CF36C 001CC2CC 4C 41 13 82 */ cror 2, 1, 2 /* 801CF370 001CC2D0 41 82 01 90 */ beq lbl_801CF500 /* 801CF374 001CC2D4 FD 40 10 90 */ fmr f10, f2 /* 801CF378 001CC2D8 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801CF37C 001CC2DC 48 00 01 6C */ b lbl_801CF4E8 lbl_801CF380: /* 801CF380 001CC2E0 C0 9E 00 04 */ lfs f4, 4(r30) /* 801CF384 001CC2E4 ED 6A 20 2A */ fadds f11, f10, f4 /* 801CF388 001CC2E8 FC 0B 00 40 */ fcmpo cr0, f11, f0 /* 801CF38C 001CC2EC 41 80 01 54 */ blt lbl_801CF4E0 /* 801CF390 001CC2F0 C0 81 00 48 */ lfs f4, 0x48(r1) /* 801CF394 001CC2F4 FC 0B 20 40 */ fcmpo cr0, f11, f4 /* 801CF398 001CC2F8 4C 41 13 82 */ cror 2, 1, 2 /* 801CF39C 001CC2FC 41 82 01 54 */ beq lbl_801CF4F0 /* 801CF3A0 001CC300 FD 80 18 90 */ fmr f12, f3 /* 801CF3A4 001CC304 C0 81 00 40 */ lfs f4, 0x40(r1) /* 801CF3A8 001CC308 48 00 01 30 */ b lbl_801CF4D8 lbl_801CF3AC: /* 801CF3AC 001CC30C C1 BE 00 08 */ lfs f13, 8(r30) /* 801CF3B0 001CC310 EF 4C 68 2A */ fadds f26, f12, f13 /* 801CF3B4 001CC314 FC 1A 20 40 */ fcmpo cr0, f26, f4 /* 801CF3B8 001CC318 41 80 01 18 */ blt lbl_801CF4D0 /* 801CF3BC 001CC31C C1 A1 00 4C */ lfs f13, 0x4c(r1) /* 801CF3C0 001CC320 FC 1A 68 40 */ fcmpo cr0, f26, f13 /* 801CF3C4 001CC324 4C 41 13 82 */ cror 2, 1, 2 /* 801CF3C8 001CC328 41 82 01 18 */ beq lbl_801CF4E0 /* 801CF3CC 001CC32C C3 C1 00 3C */ lfs f30, 0x3c(r1) /* 801CF3D0 001CC330 ED BA 20 28 */ fsubs f13, f26, f4 /* 801CF3D4 001CC334 C3 BD 02 4C */ lfs f29, 0x24c(r29) /* 801CF3D8 001CC338 EF CB F0 28 */ fsubs f30, f11, f30 /* 801CF3DC 001CC33C C3 9D 02 48 */ lfs f28, 0x248(r29) /* 801CF3E0 001CC340 C3 61 00 38 */ lfs f27, 0x38(r1) /* 801CF3E4 001CC344 ED BD 03 72 */ fmuls f13, f29, f13 /* 801CF3E8 001CC348 C3 5D 02 44 */ lfs f26, 0x244(r29) /* 801CF3EC 001CC34C EF BC 07 B2 */ fmuls f29, f28, f30 /* 801CF3F0 001CC350 EF 89 D8 28 */ fsubs f28, f9, f27 /* 801CF3F4 001CC354 FD A0 68 1E */ fctiwz f13, f13 /* 801CF3F8 001CC358 FF A0 E8 1E */ fctiwz f29, f29 /* 801CF3FC 001CC35C EF 9A 07 32 */ fmuls f28, f26, f28 /* 801CF400 001CC360 D9 A1 00 60 */ stfd f13, 0x60(r1) /* 801CF404 001CC364 DB A1 00 58 */ stfd f29, 0x58(r1) /* 801CF408 001CC368 FD A0 E0 1E */ fctiwz f13, f28 /* 801CF40C 001CC36C 80 01 00 64 */ lwz r0, 0x64(r1) /* 801CF410 001CC370 80 61 00 5C */ lwz r3, 0x5c(r1) /* 801CF414 001CC374 D9 A1 00 50 */ stfd f13, 0x50(r1) /* 801CF418 001CC378 1C 00 00 31 */ mulli r0, r0, 0x31 /* 801CF41C 001CC37C 80 81 00 54 */ lwz r4, 0x54(r1) /* 801CF420 001CC380 1C 63 00 07 */ mulli r3, r3, 7 /* 801CF424 001CC384 7C 03 02 14 */ add r0, r3, r0 /* 801CF428 001CC388 7C 04 02 15 */ add. r0, r4, r0 /* 801CF42C 001CC38C 41 80 00 A4 */ blt lbl_801CF4D0 /* 801CF430 001CC390 2C 00 01 57 */ cmpwi r0, 0x157 /* 801CF434 001CC394 40 80 00 AC */ bge lbl_801CF4E0 /* 801CF438 001CC398 80 7D 01 04 */ lwz r3, 0x104(r29) /* 801CF43C 001CC39C 54 00 10 3A */ slwi r0, r0, 2 /* 801CF440 001CC3A0 7C 83 00 2E */ lwzx r4, r3, r0 /* 801CF444 001CC3A4 48 00 00 84 */ b lbl_801CF4C8 lbl_801CF448: /* 801CF448 001CC3A8 88 04 00 20 */ lbz r0, 0x20(r4) /* 801CF44C 001CC3AC 28 00 00 00 */ cmplwi r0, 0 /* 801CF450 001CC3B0 41 82 00 74 */ beq lbl_801CF4C4 /* 801CF454 001CC3B4 C3 A4 00 04 */ lfs f29, 4(r4) /* 801CF458 001CC3B8 C1 BE 00 04 */ lfs f13, 4(r30) /* 801CF45C 001CC3BC C3 C4 00 00 */ lfs f30, 0(r4) /* 801CF460 001CC3C0 EF 5D 68 28 */ fsubs f26, f29, f13 /* 801CF464 001CC3C4 C1 BE 00 00 */ lfs f13, 0(r30) /* 801CF468 001CC3C8 C3 A4 00 08 */ lfs f29, 8(r4) /* 801CF46C 001CC3CC EF 7E 68 28 */ fsubs f27, f30, f13 /* 801CF470 001CC3D0 C1 BE 00 08 */ lfs f13, 8(r30) /* 801CF474 001CC3D4 EF DA 06 B2 */ fmuls f30, f26, f26 /* 801CF478 001CC3D8 EF 5D 68 28 */ fsubs f26, f29, f13 /* 801CF47C 001CC3DC C1 A2 AB B8 */ lfs f13, lbl_805AC8D8@sda21(r2) /* 801CF480 001CC3E0 EF DB F6 FA */ fmadds f30, f27, f27, f30 /* 801CF484 001CC3E4 EF 5A F6 BA */ fmadds f26, f26, f26, f30 /* 801CF488 001CC3E8 FC 0D D0 00 */ fcmpu cr0, f13, f26 /* 801CF48C 001CC3EC 41 82 00 38 */ beq lbl_801CF4C4 /* 801CF490 001CC3F0 FC 1A F8 40 */ fcmpo cr0, f26, f31 /* 801CF494 001CC3F4 40 80 00 30 */ bge lbl_801CF4C4 /* 801CF498 001CC3F8 80 1F 00 00 */ lwz r0, 0(r31) /* 801CF49C 001CC3FC 54 00 10 3A */ slwi r0, r0, 2 /* 801CF4A0 001CC400 7C 7F 02 14 */ add r3, r31, r0 /* 801CF4A4 001CC404 34 63 00 04 */ addic. r3, r3, 4 /* 801CF4A8 001CC408 41 82 00 08 */ beq lbl_801CF4B0 /* 801CF4AC 001CC40C 90 83 00 00 */ stw r4, 0(r3) lbl_801CF4B0: /* 801CF4B0 001CC410 80 7F 00 00 */ lwz r3, 0(r31) /* 801CF4B4 001CC414 34 A5 FF FF */ addic. r5, r5, -1 /* 801CF4B8 001CC418 38 03 00 01 */ addi r0, r3, 1 /* 801CF4BC 001CC41C 90 1F 00 00 */ stw r0, 0(r31) /* 801CF4C0 001CC420 41 82 00 40 */ beq lbl_801CF500 lbl_801CF4C4: /* 801CF4C4 001CC424 80 84 00 1C */ lwz r4, 0x1c(r4) lbl_801CF4C8: /* 801CF4C8 001CC428 28 04 00 00 */ cmplwi r4, 0 /* 801CF4CC 001CC42C 40 82 FF 7C */ bne lbl_801CF448 lbl_801CF4D0: /* 801CF4D0 001CC430 C1 BD 02 40 */ lfs f13, 0x240(r29) /* 801CF4D4 001CC434 ED 8C 68 2A */ fadds f12, f12, f13 lbl_801CF4D8: /* 801CF4D8 001CC438 FC 0C 38 40 */ fcmpo cr0, f12, f7 /* 801CF4DC 001CC43C 41 80 FE D0 */ blt lbl_801CF3AC lbl_801CF4E0: /* 801CF4E0 001CC440 C0 9D 02 3C */ lfs f4, 0x23c(r29) /* 801CF4E4 001CC444 ED 4A 20 2A */ fadds f10, f10, f4 lbl_801CF4E8: /* 801CF4E8 001CC448 FC 0A 30 40 */ fcmpo cr0, f10, f6 /* 801CF4EC 001CC44C 41 80 FE 94 */ blt lbl_801CF380 lbl_801CF4F0: /* 801CF4F0 001CC450 C0 1D 02 38 */ lfs f0, 0x238(r29) /* 801CF4F4 001CC454 ED 08 00 2A */ fadds f8, f8, f0 lbl_801CF4F8: /* 801CF4F8 001CC458 FC 08 28 40 */ fcmpo cr0, f8, f5 /* 801CF4FC 001CC45C 41 80 FE 58 */ blt lbl_801CF354 lbl_801CF500: /* 801CF500 001CC460 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801CF504 001CC464 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801CF508 001CC468 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801CF50C 001CC46C CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801CF510 001CC470 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801CF514 001CC474 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801CF518 001CC478 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 801CF51C 001CC47C CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 801CF520 001CC480 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 /* 801CF524 001CC484 CB 61 00 90 */ lfd f27, 0x90(r1) /* 801CF528 001CC488 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 /* 801CF52C 001CC48C CB 41 00 80 */ lfd f26, 0x80(r1) /* 801CF530 001CC490 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801CF534 001CC494 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801CF538 001CC498 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801CF53C 001CC49C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801CF540 001CC4A0 7C 08 03 A6 */ mtlr r0 /* 801CF544 001CC4A4 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801CF548 001CC4A8 4E 80 00 20 */ blr .global GetListAt__10CFishCloudFRC9CVector3f GetListAt__10CFishCloudFRC9CVector3f: /* 801CF54C 001CC4AC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801CF550 001CC4B0 7C 08 02 A6 */ mflr r0 /* 801CF554 001CC4B4 90 01 00 64 */ stw r0, 0x64(r1) /* 801CF558 001CC4B8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801CF55C 001CC4BC 7C 9F 23 78 */ mr r31, r4 /* 801CF560 001CC4C0 93 C1 00 58 */ stw r30, 0x58(r1) /* 801CF564 001CC4C4 7C 7E 1B 78 */ mr r30, r3 /* 801CF568 001CC4C8 7F C4 F3 78 */ mr r4, r30 /* 801CF56C 001CC4CC 38 61 00 08 */ addi r3, r1, 8 /* 801CF570 001CC4D0 48 00 28 71 */ bl GetBoundingBox__10CFishCloudCFv /* 801CF574 001CC4D4 C0 E1 00 0C */ lfs f7, 0xc(r1) /* 801CF578 001CC4D8 C0 C1 00 10 */ lfs f6, 0x10(r1) /* 801CF57C 001CC4DC C0 3F 00 04 */ lfs f1, 4(r31) /* 801CF580 001CC4E0 C0 1F 00 08 */ lfs f0, 8(r31) /* 801CF584 001CC4E4 C1 01 00 08 */ lfs f8, 8(r1) /* 801CF588 001CC4E8 EC 41 38 28 */ fsubs f2, f1, f7 /* 801CF58C 001CC4EC C0 7E 02 48 */ lfs f3, 0x248(r30) /* 801CF590 001CC4F0 EC 00 30 28 */ fsubs f0, f0, f6 /* 801CF594 001CC4F4 C0 3E 02 4C */ lfs f1, 0x24c(r30) /* 801CF598 001CC4F8 C0 9F 00 00 */ lfs f4, 0(r31) /* 801CF59C 001CC4FC EC 43 00 B2 */ fmuls f2, f3, f2 /* 801CF5A0 001CC500 EC 01 00 32 */ fmuls f0, f1, f0 /* 801CF5A4 001CC504 C0 BE 02 44 */ lfs f5, 0x244(r30) /* 801CF5A8 001CC508 EC 64 40 28 */ fsubs f3, f4, f8 /* 801CF5AC 001CC50C C0 81 00 14 */ lfs f4, 0x14(r1) /* 801CF5B0 001CC510 FC 20 10 1E */ fctiwz f1, f2 /* 801CF5B4 001CC514 FC 00 00 1E */ fctiwz f0, f0 /* 801CF5B8 001CC518 EC 45 00 F2 */ fmuls f2, f5, f3 /* 801CF5BC 001CC51C C0 61 00 18 */ lfs f3, 0x18(r1) /* 801CF5C0 001CC520 D8 21 00 40 */ stfd f1, 0x40(r1) /* 801CF5C4 001CC524 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801CF5C8 001CC528 D8 01 00 48 */ stfd f0, 0x48(r1) /* 801CF5CC 001CC52C FC 00 10 1E */ fctiwz f0, f2 /* 801CF5D0 001CC530 80 61 00 44 */ lwz r3, 0x44(r1) /* 801CF5D4 001CC534 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801CF5D8 001CC538 D8 01 00 38 */ stfd f0, 0x38(r1) /* 801CF5DC 001CC53C 1C 63 00 07 */ mulli r3, r3, 7 /* 801CF5E0 001CC540 80 81 00 3C */ lwz r4, 0x3c(r1) /* 801CF5E4 001CC544 1C 00 00 31 */ mulli r0, r0, 0x31 /* 801CF5E8 001CC548 D1 01 00 20 */ stfs f8, 0x20(r1) /* 801CF5EC 001CC54C D0 E1 00 24 */ stfs f7, 0x24(r1) /* 801CF5F0 001CC550 7C 03 02 14 */ add r0, r3, r0 /* 801CF5F4 001CC554 7C 04 02 15 */ add. r0, r4, r0 /* 801CF5F8 001CC558 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 801CF5FC 001CC55C D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801CF600 001CC560 D0 61 00 30 */ stfs f3, 0x30(r1) /* 801CF604 001CC564 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801CF608 001CC568 41 80 00 0C */ blt lbl_801CF614 /* 801CF60C 001CC56C 2C 00 01 57 */ cmpwi r0, 0x157 /* 801CF610 001CC570 41 80 00 0C */ blt lbl_801CF61C lbl_801CF614: /* 801CF614 001CC574 38 60 00 00 */ li r3, 0 /* 801CF618 001CC578 48 00 00 10 */ b lbl_801CF628 lbl_801CF61C: /* 801CF61C 001CC57C 80 7E 01 04 */ lwz r3, 0x104(r30) /* 801CF620 001CC580 54 00 10 3A */ slwi r0, r0, 2 /* 801CF624 001CC584 7C 63 00 2E */ lwzx r3, r3, r0 lbl_801CF628: /* 801CF628 001CC588 80 01 00 64 */ lwz r0, 0x64(r1) /* 801CF62C 001CC58C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801CF630 001CC590 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801CF634 001CC594 7C 08 03 A6 */ mtlr r0 /* 801CF638 001CC598 38 21 00 60 */ addi r1, r1, 0x60 /* 801CF63C 001CC59C 4E 80 00 20 */ blr .global UpdatePartitionList__10CFishCloudFv UpdatePartitionList__10CFishCloudFv: /* 801CF640 001CC5A0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801CF644 001CC5A4 7C 08 02 A6 */ mflr r0 /* 801CF648 001CC5A8 90 01 00 74 */ stw r0, 0x74(r1) /* 801CF64C 001CC5AC 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801CF650 001CC5B0 7C 7F 1B 78 */ mr r31, r3 /* 801CF654 001CC5B4 93 C1 00 68 */ stw r30, 0x68(r1) /* 801CF658 001CC5B8 93 A1 00 64 */ stw r29, 0x64(r1) /* 801CF65C 001CC5BC 80 03 00 FC */ lwz r0, 0xfc(r3) /* 801CF660 001CC5C0 80 63 01 04 */ lwz r3, 0x104(r3) /* 801CF664 001CC5C4 54 00 10 3A */ slwi r0, r0, 2 /* 801CF668 001CC5C8 7C 03 02 14 */ add r0, r3, r0 /* 801CF66C 001CC5CC 90 61 00 0C */ stw r3, 0xc(r1) /* 801CF670 001CC5D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801CF674 001CC5D4 90 01 00 10 */ stw r0, 0x10(r1) /* 801CF678 001CC5D8 90 61 00 08 */ stw r3, 8(r1) /* 801CF67C 001CC5DC 48 00 00 08 */ b lbl_801CF684 lbl_801CF680: /* 801CF680 001CC5E0 38 63 00 04 */ addi r3, r3, 4 lbl_801CF684: /* 801CF684 001CC5E4 7C 03 00 40 */ cmplw r3, r0 /* 801CF688 001CC5E8 40 82 FF F8 */ bne lbl_801CF680 /* 801CF68C 001CC5EC 3B C0 00 00 */ li r30, 0 /* 801CF690 001CC5F0 3B A0 00 00 */ li r29, 0 /* 801CF694 001CC5F4 93 DF 00 FC */ stw r30, 0xfc(r31) /* 801CF698 001CC5F8 48 00 00 50 */ b lbl_801CF6E8 lbl_801CF69C: /* 801CF69C 001CC5FC 80 1F 00 FC */ lwz r0, 0xfc(r31) /* 801CF6A0 001CC600 7C 00 28 00 */ cmpw r0, r5 /* 801CF6A4 001CC604 41 80 00 1C */ blt lbl_801CF6C0 /* 801CF6A8 001CC608 2C 05 00 00 */ cmpwi r5, 0 /* 801CF6AC 001CC60C 38 7F 00 F8 */ addi r3, r31, 0xf8 /* 801CF6B0 001CC610 38 80 00 04 */ li r4, 4 /* 801CF6B4 001CC614 41 82 00 08 */ beq lbl_801CF6BC /* 801CF6B8 001CC618 54 A4 08 3C */ slwi r4, r5, 1 lbl_801CF6BC: /* 801CF6BC 001CC61C 48 00 3E D1 */ bl "reserve__Q24rstl56vectorFi" lbl_801CF6C0: /* 801CF6C0 001CC620 80 1F 00 FC */ lwz r0, 0xfc(r31) /* 801CF6C4 001CC624 80 7F 01 04 */ lwz r3, 0x104(r31) /* 801CF6C8 001CC628 54 00 10 3A */ slwi r0, r0, 2 /* 801CF6CC 001CC62C 7C 63 02 15 */ add. r3, r3, r0 /* 801CF6D0 001CC630 41 82 00 08 */ beq lbl_801CF6D8 /* 801CF6D4 001CC634 93 C3 00 00 */ stw r30, 0(r3) lbl_801CF6D8: /* 801CF6D8 001CC638 80 7F 00 FC */ lwz r3, 0xfc(r31) /* 801CF6DC 001CC63C 3B BD 00 01 */ addi r29, r29, 1 /* 801CF6E0 001CC640 38 03 00 01 */ addi r0, r3, 1 /* 801CF6E4 001CC644 90 1F 00 FC */ stw r0, 0xfc(r31) lbl_801CF6E8: /* 801CF6E8 001CC648 80 BF 01 00 */ lwz r5, 0x100(r31) /* 801CF6EC 001CC64C 7C 1D 28 00 */ cmpw r29, r5 /* 801CF6F0 001CC650 41 80 FF AC */ blt lbl_801CF69C /* 801CF6F4 001CC654 7F E4 FB 78 */ mr r4, r31 /* 801CF6F8 001CC658 38 61 00 18 */ addi r3, r1, 0x18 /* 801CF6FC 001CC65C 48 00 26 E5 */ bl GetBoundingBox__10CFishCloudCFv /* 801CF700 001CC660 C1 01 00 18 */ lfs f8, 0x18(r1) /* 801CF704 001CC664 C0 E1 00 1C */ lfs f7, 0x1c(r1) /* 801CF708 001CC668 C0 A1 00 20 */ lfs f5, 0x20(r1) /* 801CF70C 001CC66C FC C0 40 18 */ frsp f6, f8 /* 801CF710 001CC670 C0 61 00 24 */ lfs f3, 0x24(r1) /* 801CF714 001CC674 FC 80 38 18 */ frsp f4, f7 /* 801CF718 001CC678 C0 41 00 28 */ lfs f2, 0x28(r1) /* 801CF71C 001CC67C FC 20 28 18 */ frsp f1, f5 /* 801CF720 001CC680 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801CF724 001CC684 D1 01 00 30 */ stfs f8, 0x30(r1) /* 801CF728 001CC688 80 BF 00 F4 */ lwz r5, 0xf4(r31) /* 801CF72C 001CC68C D0 E1 00 34 */ stfs f7, 0x34(r1) /* 801CF730 001CC690 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801CF734 001CC694 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801CF738 001CC698 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801CF73C 001CC69C D0 01 00 44 */ stfs f0, 0x44(r1) /* 801CF740 001CC6A0 48 00 00 90 */ b lbl_801CF7D0 lbl_801CF744: /* 801CF744 001CC6A4 C0 45 00 04 */ lfs f2, 4(r5) /* 801CF748 001CC6A8 C0 05 00 08 */ lfs f0, 8(r5) /* 801CF74C 001CC6AC EC 62 20 28 */ fsubs f3, f2, f4 /* 801CF750 001CC6B0 C0 BF 02 48 */ lfs f5, 0x248(r31) /* 801CF754 001CC6B4 EC 00 08 28 */ fsubs f0, f0, f1 /* 801CF758 001CC6B8 C0 5F 02 4C */ lfs f2, 0x24c(r31) /* 801CF75C 001CC6BC C0 E5 00 00 */ lfs f7, 0(r5) /* 801CF760 001CC6C0 EC 65 00 F2 */ fmuls f3, f5, f3 /* 801CF764 001CC6C4 EC 02 00 32 */ fmuls f0, f2, f0 /* 801CF768 001CC6C8 C1 1F 02 44 */ lfs f8, 0x244(r31) /* 801CF76C 001CC6CC EC A7 30 28 */ fsubs f5, f7, f6 /* 801CF770 001CC6D0 FC 40 18 1E */ fctiwz f2, f3 /* 801CF774 001CC6D4 FC 00 00 1E */ fctiwz f0, f0 /* 801CF778 001CC6D8 EC 68 01 72 */ fmuls f3, f8, f5 /* 801CF77C 001CC6DC D8 41 00 50 */ stfd f2, 0x50(r1) /* 801CF780 001CC6E0 D8 01 00 58 */ stfd f0, 0x58(r1) /* 801CF784 001CC6E4 FC 00 18 1E */ fctiwz f0, f3 /* 801CF788 001CC6E8 80 61 00 54 */ lwz r3, 0x54(r1) /* 801CF78C 001CC6EC 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801CF790 001CC6F0 D8 01 00 48 */ stfd f0, 0x48(r1) /* 801CF794 001CC6F4 1C 63 00 07 */ mulli r3, r3, 7 /* 801CF798 001CC6F8 80 81 00 4C */ lwz r4, 0x4c(r1) /* 801CF79C 001CC6FC 1C 00 00 31 */ mulli r0, r0, 0x31 /* 801CF7A0 001CC700 7C 03 02 14 */ add r0, r3, r0 /* 801CF7A4 001CC704 7C 04 02 15 */ add. r0, r4, r0 /* 801CF7A8 001CC708 41 80 00 24 */ blt lbl_801CF7CC /* 801CF7AC 001CC70C 2C 00 01 57 */ cmpwi r0, 0x157 /* 801CF7B0 001CC710 40 80 00 1C */ bge lbl_801CF7CC /* 801CF7B4 001CC714 80 7F 01 04 */ lwz r3, 0x104(r31) /* 801CF7B8 001CC718 54 04 10 3A */ slwi r4, r0, 2 /* 801CF7BC 001CC71C 7C 03 20 2E */ lwzx r0, r3, r4 /* 801CF7C0 001CC720 90 05 00 1C */ stw r0, 0x1c(r5) /* 801CF7C4 001CC724 80 7F 01 04 */ lwz r3, 0x104(r31) /* 801CF7C8 001CC728 7C A3 21 2E */ stwx r5, r3, r4 lbl_801CF7CC: /* 801CF7CC 001CC72C 38 A5 00 24 */ addi r5, r5, 0x24 lbl_801CF7D0: /* 801CF7D0 001CC730 80 1F 00 EC */ lwz r0, 0xec(r31) /* 801CF7D4 001CC734 80 7F 00 F4 */ lwz r3, 0xf4(r31) /* 801CF7D8 001CC738 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CF7DC 001CC73C 7C 03 02 14 */ add r0, r3, r0 /* 801CF7E0 001CC740 7C 05 00 40 */ cmplw r5, r0 /* 801CF7E4 001CC744 40 82 FF 60 */ bne lbl_801CF744 /* 801CF7E8 001CC748 80 01 00 74 */ lwz r0, 0x74(r1) /* 801CF7EC 001CC74C 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801CF7F0 001CC750 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801CF7F4 001CC754 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801CF7F8 001CC758 7C 08 03 A6 */ mtlr r0 /* 801CF7FC 001CC75C 38 21 00 70 */ addi r1, r1, 0x70 /* 801CF800 001CC760 4E 80 00 20 */ blr .global CreatePartitionList__10CFishCloudFv CreatePartitionList__10CFishCloudFv: /* 801CF804 001CC764 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801CF808 001CC768 7C 08 02 A6 */ mflr r0 /* 801CF80C 001CC76C 90 01 00 34 */ stw r0, 0x34(r1) /* 801CF810 001CC770 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801CF814 001CC774 7C 7F 1B 78 */ mr r31, r3 /* 801CF818 001CC778 38 61 00 08 */ addi r3, r1, 8 /* 801CF81C 001CC77C 7F E4 FB 78 */ mr r4, r31 /* 801CF820 001CC780 48 00 25 C1 */ bl GetBoundingBox__10CFishCloudCFv /* 801CF824 001CC784 38 7F 00 F8 */ addi r3, r31, 0xf8 /* 801CF828 001CC788 38 80 01 57 */ li r4, 0x157 /* 801CF82C 001CC78C 48 00 3D 61 */ bl "reserve__Q24rstl56vectorFi" /* 801CF830 001CC790 80 01 00 34 */ lwz r0, 0x34(r1) /* 801CF834 001CC794 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801CF838 001CC798 7C 08 03 A6 */ mtlr r0 /* 801CF83C 001CC79C 38 21 00 30 */ addi r1, r1, 0x30 /* 801CF840 001CC7A0 4E 80 00 20 */ blr .global Touch__10CFishCloudFR6CActorR13CStateManager Touch__10CFishCloudFR6CActorR13CStateManager: /* 801CF844 001CC7A4 94 21 FE D0 */ stwu r1, -0x130(r1) /* 801CF848 001CC7A8 7C 08 02 A6 */ mflr r0 /* 801CF84C 001CC7AC 90 01 01 34 */ stw r0, 0x134(r1) /* 801CF850 001CC7B0 DB E1 01 20 */ stfd f31, 0x120(r1) /* 801CF854 001CC7B4 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 801CF858 001CC7B8 DB C1 01 10 */ stfd f30, 0x110(r1) /* 801CF85C 001CC7BC F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 /* 801CF860 001CC7C0 DB A1 01 00 */ stfd f29, 0x100(r1) /* 801CF864 001CC7C4 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 /* 801CF868 001CC7C8 DB 81 00 F0 */ stfd f28, 0xf0(r1) /* 801CF86C 001CC7CC F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 /* 801CF870 001CC7D0 DB 61 00 E0 */ stfd f27, 0xe0(r1) /* 801CF874 001CC7D4 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 /* 801CF878 001CC7D8 DB 41 00 D0 */ stfd f26, 0xd0(r1) /* 801CF87C 001CC7DC F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 /* 801CF880 001CC7E0 BF 41 00 B8 */ stmw r26, 0xb8(r1) /* 801CF884 001CC7E4 7C 7C 1B 78 */ mr r28, r3 /* 801CF888 001CC7E8 7C 9D 23 78 */ mr r29, r4 /* 801CF88C 001CC7EC 7C BE 2B 78 */ mr r30, r5 /* 801CF890 001CC7F0 4B E8 4B 79 */ bl Touch__6CActorFR6CActorR13CStateManager /* 801CF894 001CC7F4 7F A4 EB 78 */ mr r4, r29 /* 801CF898 001CC7F8 38 61 00 10 */ addi r3, r1, 0x10 /* 801CF89C 001CC7FC 4B ED 60 69 */ bl "__ct__20TCastToPtr<7CWeapon>FR7CEntity" /* 801CF8A0 001CC800 83 E3 00 04 */ lwz r31, 4(r3) /* 801CF8A4 001CC804 28 1F 00 00 */ cmplwi r31, 0 /* 801CF8A8 001CC808 41 82 01 F8 */ beq lbl_801CFAA0 /* 801CF8AC 001CC80C 88 7C 02 50 */ lbz r3, 0x250(r28) /* 801CF8B0 001CC810 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801CF8B4 001CC814 40 82 00 84 */ bne lbl_801CF938 /* 801CF8B8 001CC818 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 801CF8BC 001CC81C 41 82 00 7C */ beq lbl_801CF938 /* 801CF8C0 001CC820 83 7C 00 F4 */ lwz r27, 0xf4(r28) /* 801CF8C4 001CC824 3B 40 00 00 */ li r26, 0 /* 801CF8C8 001CC828 48 00 00 58 */ b lbl_801CF920 lbl_801CF8CC: /* 801CF8CC 001CC82C 80 1C 01 18 */ lwz r0, 0x118(r28) /* 801CF8D0 001CC830 57 43 07 BE */ clrlwi r3, r26, 0x1e /* 801CF8D4 001CC834 54 00 07 BE */ clrlwi r0, r0, 0x1e /* 801CF8D8 001CC838 7C 03 00 00 */ cmpw r3, r0 /* 801CF8DC 001CC83C 40 82 00 3C */ bne lbl_801CF918 /* 801CF8E0 001CC840 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801CF8E4 001CC844 7F 83 E3 78 */ mr r3, r28 /* 801CF8E8 001CC848 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801CF8EC 001CC84C 7F 64 DB 78 */ mr r4, r27 /* 801CF8F0 001CC850 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801CF8F4 001CC854 38 A1 00 30 */ addi r5, r1, 0x30 /* 801CF8F8 001CC858 C0 22 AB D4 */ lfs f1, lbl_805AC8F4@sda21(r2) /* 801CF8FC 001CC85C D0 01 00 30 */ stfs f0, 0x30(r1) /* 801CF900 001CC860 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801CF904 001CC864 D0 61 00 38 */ stfs f3, 0x38(r1) /* 801CF908 001CC868 C0 5C 01 48 */ lfs f2, 0x148(r28) /* 801CF90C 001CC86C C0 1C 01 68 */ lfs f0, 0x168(r28) /* 801CF910 001CC870 EC 42 00 28 */ fsubs f2, f2, f0 /* 801CF914 001CC874 4B FF EE 6D */ bl ApplyRepulsion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff lbl_801CF918: /* 801CF918 001CC878 3B 7B 00 24 */ addi r27, r27, 0x24 /* 801CF91C 001CC87C 3B 5A 00 01 */ addi r26, r26, 1 lbl_801CF920: /* 801CF920 001CC880 80 1C 00 EC */ lwz r0, 0xec(r28) /* 801CF924 001CC884 80 7C 00 F4 */ lwz r3, 0xf4(r28) /* 801CF928 001CC888 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CF92C 001CC88C 7C 03 02 14 */ add r0, r3, r0 /* 801CF930 001CC890 7C 1B 00 40 */ cmplw r27, r0 /* 801CF934 001CC894 40 82 FF 98 */ bne lbl_801CF8CC lbl_801CF938: /* 801CF938 001CC898 88 1C 02 50 */ lbz r0, 0x250(r28) /* 801CF93C 001CC89C 38 60 00 01 */ li r3, 1 /* 801CF940 001CC8A0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801CF944 001CC8A4 98 1C 02 50 */ stb r0, 0x250(r28) /* 801CF948 001CC8A8 88 1C 02 50 */ lbz r0, 0x250(r28) /* 801CF94C 001CC8AC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801CF950 001CC8B0 41 82 01 50 */ beq lbl_801CFAA0 /* 801CF954 001CC8B4 7F E4 FB 78 */ mr r4, r31 /* 801CF958 001CC8B8 38 61 00 48 */ addi r3, r1, 0x48 /* 801CF95C 001CC8BC 81 9F 00 00 */ lwz r12, 0(r31) /* 801CF960 001CC8C0 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801CF964 001CC8C4 7D 89 03 A6 */ mtctr r12 /* 801CF968 001CC8C8 4E 80 04 21 */ bctrl /* 801CF96C 001CC8CC 88 01 00 60 */ lbz r0, 0x60(r1) /* 801CF970 001CC8D0 28 00 00 00 */ cmplwi r0, 0 /* 801CF974 001CC8D4 98 01 00 AC */ stb r0, 0xac(r1) /* 801CF978 001CC8D8 41 82 00 3C */ beq lbl_801CF9B4 /* 801CF97C 001CC8DC 34 61 00 94 */ addic. r3, r1, 0x94 /* 801CF980 001CC8E0 41 82 00 34 */ beq lbl_801CF9B4 /* 801CF984 001CC8E4 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801CF988 001CC8E8 D0 03 00 00 */ stfs f0, 0(r3) /* 801CF98C 001CC8EC C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801CF990 001CC8F0 D0 03 00 04 */ stfs f0, 4(r3) /* 801CF994 001CC8F4 C0 01 00 50 */ lfs f0, 0x50(r1) /* 801CF998 001CC8F8 D0 03 00 08 */ stfs f0, 8(r3) /* 801CF99C 001CC8FC C0 01 00 54 */ lfs f0, 0x54(r1) /* 801CF9A0 001CC900 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801CF9A4 001CC904 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801CF9A8 001CC908 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801CF9AC 001CC90C C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801CF9B0 001CC910 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801CF9B4: /* 801CF9B4 001CC914 88 01 00 AC */ lbz r0, 0xac(r1) /* 801CF9B8 001CC918 38 60 00 00 */ li r3, 0 /* 801CF9BC 001CC91C 98 61 00 60 */ stb r3, 0x60(r1) /* 801CF9C0 001CC920 28 00 00 00 */ cmplwi r0, 0 /* 801CF9C4 001CC924 41 82 00 D4 */ beq lbl_801CFA98 /* 801CF9C8 001CC928 C0 A1 00 94 */ lfs f5, 0x94(r1) /* 801CF9CC 001CC92C C0 81 00 98 */ lfs f4, 0x98(r1) /* 801CF9D0 001CC930 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 801CF9D4 001CC934 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 801CF9D8 001CC938 C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 801CF9DC 001CC93C C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801CF9E0 001CC940 D0 A1 00 7C */ stfs f5, 0x7c(r1) /* 801CF9E4 001CC944 D0 81 00 80 */ stfs f4, 0x80(r1) /* 801CF9E8 001CC948 D0 61 00 84 */ stfs f3, 0x84(r1) /* 801CF9EC 001CC94C D0 41 00 88 */ stfs f2, 0x88(r1) /* 801CF9F0 001CC950 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801CF9F4 001CC954 D0 01 00 90 */ stfs f0, 0x90(r1) /* 801CF9F8 001CC958 C3 5C 01 70 */ lfs f26, 0x170(r28) /* 801CF9FC 001CC95C 83 7C 00 F4 */ lwz r27, 0xf4(r28) /* 801CFA00 001CC960 48 00 00 80 */ b lbl_801CFA80 lbl_801CFA04: /* 801CFA04 001CC964 88 1B 00 20 */ lbz r0, 0x20(r27) /* 801CFA08 001CC968 28 00 00 00 */ cmplwi r0, 0 /* 801CFA0C 001CC96C 41 82 00 70 */ beq lbl_801CFA7C /* 801CFA10 001CC970 C0 7B 00 04 */ lfs f3, 4(r27) /* 801CFA14 001CC974 38 61 00 64 */ addi r3, r1, 0x64 /* 801CFA18 001CC978 C0 5B 00 08 */ lfs f2, 8(r27) /* 801CFA1C 001CC97C 38 81 00 24 */ addi r4, r1, 0x24 /* 801CFA20 001CC980 C0 1B 00 00 */ lfs f0, 0(r27) /* 801CFA24 001CC984 EC A3 D0 2A */ fadds f5, f3, f26 /* 801CFA28 001CC988 EC 82 D0 2A */ fadds f4, f2, f26 /* 801CFA2C 001CC98C 38 A1 00 18 */ addi r5, r1, 0x18 /* 801CFA30 001CC990 EC 20 D0 2A */ fadds f1, f0, f26 /* 801CFA34 001CC994 EC 63 D0 28 */ fsubs f3, f3, f26 /* 801CFA38 001CC998 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801CFA3C 001CC99C EC 42 D0 28 */ fsubs f2, f2, f26 /* 801CFA40 001CC9A0 EC 00 D0 28 */ fsubs f0, f0, f26 /* 801CFA44 001CC9A4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801CFA48 001CC9A8 D0 81 00 20 */ stfs f4, 0x20(r1) /* 801CFA4C 001CC9AC D0 01 00 24 */ stfs f0, 0x24(r1) /* 801CFA50 001CC9B0 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801CFA54 001CC9B4 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801CFA58 001CC9B8 48 16 8A B1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801CFA5C 001CC9BC 38 61 00 7C */ addi r3, r1, 0x7c /* 801CFA60 001CC9C0 38 81 00 64 */ addi r4, r1, 0x64 /* 801CFA64 001CC9C4 48 16 81 21 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 801CFA68 001CC9C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801CFA6C 001CC9CC 41 82 00 10 */ beq lbl_801CFA7C /* 801CFA70 001CC9D0 7F 83 E3 78 */ mr r3, r28 /* 801CFA74 001CC9D4 7F 64 DB 78 */ mr r4, r27 /* 801CFA78 001CC9D8 48 00 01 5D */ bl sub_801cfbd4 lbl_801CFA7C: /* 801CFA7C 001CC9DC 3B 7B 00 24 */ addi r27, r27, 0x24 lbl_801CFA80: /* 801CFA80 001CC9E0 80 1C 00 EC */ lwz r0, 0xec(r28) /* 801CFA84 001CC9E4 80 7C 00 F4 */ lwz r3, 0xf4(r28) /* 801CFA88 001CC9E8 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CFA8C 001CC9EC 7C 03 02 14 */ add r0, r3, r0 /* 801CFA90 001CC9F0 7C 1B 00 40 */ cmplw r27, r0 /* 801CFA94 001CC9F4 40 82 FF 70 */ bne lbl_801CFA04 lbl_801CFA98: /* 801CFA98 001CC9F8 38 00 00 00 */ li r0, 0 /* 801CFA9C 001CC9FC 98 01 00 AC */ stb r0, 0xac(r1) lbl_801CFAA0: /* 801CFAA0 001CCA00 88 1C 02 50 */ lbz r0, 0x250(r28) /* 801CFAA4 001CCA04 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801CFAA8 001CCA08 41 82 00 E8 */ beq lbl_801CFB90 /* 801CFAAC 001CCA0C 7F A4 EB 78 */ mr r4, r29 /* 801CFAB0 001CCA10 38 61 00 08 */ addi r3, r1, 8 /* 801CFAB4 001CCA14 4B ED C9 4D */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" /* 801CFAB8 001CCA18 80 63 00 04 */ lwz r3, 4(r3) /* 801CFABC 001CCA1C 28 03 00 00 */ cmplwi r3, 0 /* 801CFAC0 001CCA20 41 82 00 C0 */ beq lbl_801CFB80 /* 801CFAC4 001CCA24 83 BE 09 00 */ lwz r29, 0x900(r30) /* 801CFAC8 001CCA28 C3 83 00 40 */ lfs f28, 0x40(r3) /* 801CFACC 001CCA2C C3 63 00 50 */ lfs f27, 0x50(r3) /* 801CFAD0 001CCA30 C3 43 00 60 */ lfs f26, 0x60(r3) /* 801CFAD4 001CCA34 83 7C 00 F4 */ lwz r27, 0xf4(r28) /* 801CFAD8 001CCA38 C3 A2 AB B8 */ lfs f29, lbl_805AC8D8@sda21(r2) /* 801CFADC 001CCA3C C3 C2 AB E0 */ lfs f30, lbl_805AC900@sda21(r2) /* 801CFAE0 001CCA40 C3 E2 AB E4 */ lfs f31, lbl_805AC904@sda21(r2) /* 801CFAE4 001CCA44 48 00 00 84 */ b lbl_801CFB68 lbl_801CFAE8: /* 801CFAE8 001CCA48 D3 81 00 3C */ stfs f28, 0x3c(r1) /* 801CFAEC 001CCA4C D3 61 00 40 */ stfs f27, 0x40(r1) /* 801CFAF0 001CCA50 D3 41 00 44 */ stfs f26, 0x44(r1) /* 801CFAF4 001CCA54 C0 5B 00 08 */ lfs f2, 8(r27) /* 801CFAF8 001CCA58 EC 22 D0 28 */ fsubs f1, f2, f26 /* 801CFAFC 001CCA5C FC 01 E8 40 */ fcmpo cr0, f1, f29 /* 801CFB00 001CCA60 40 81 00 14 */ ble lbl_801CFB14 /* 801CFB04 001CCA64 C8 02 AB D8 */ lfd f0, lbl_805AC8F8@sda21(r2) /* 801CFB08 001CCA68 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801CFB0C 001CCA6C 40 80 00 08 */ bge lbl_801CFB14 /* 801CFB10 001CCA70 D0 41 00 44 */ stfs f2, 0x44(r1) lbl_801CFB14: /* 801CFB14 001CCA74 7F A3 EB 78 */ mr r3, r29 /* 801CFB18 001CCA78 48 14 29 C5 */ bl Float__9CRandom16Fv /* 801CFB1C 001CCA7C EC 3E F8 78 */ fmsubs f1, f30, f1, f31 /* 801CFB20 001CCA80 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801CFB24 001CCA84 7F A3 EB 78 */ mr r3, r29 /* 801CFB28 001CCA88 EC 00 08 2A */ fadds f0, f0, f1 /* 801CFB2C 001CCA8C D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801CFB30 001CCA90 48 14 29 AD */ bl Float__9CRandom16Fv /* 801CFB34 001CCA94 EC 5E F8 78 */ fmsubs f2, f30, f1, f31 /* 801CFB38 001CCA98 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801CFB3C 001CCA9C C0 22 AB D4 */ lfs f1, lbl_805AC8F4@sda21(r2) /* 801CFB40 001CCAA0 7F 83 E3 78 */ mr r3, r28 /* 801CFB44 001CCAA4 7F 64 DB 78 */ mr r4, r27 /* 801CFB48 001CCAA8 38 A1 00 3C */ addi r5, r1, 0x3c /* 801CFB4C 001CCAAC EC 00 10 2A */ fadds f0, f0, f2 /* 801CFB50 001CCAB0 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801CFB54 001CCAB4 C0 5C 01 4C */ lfs f2, 0x14c(r28) /* 801CFB58 001CCAB8 C0 1C 01 64 */ lfs f0, 0x164(r28) /* 801CFB5C 001CCABC EC 42 00 28 */ fsubs f2, f2, f0 /* 801CFB60 001CCAC0 4B FF EC 21 */ bl ApplyRepulsion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff /* 801CFB64 001CCAC4 3B 7B 00 24 */ addi r27, r27, 0x24 lbl_801CFB68: /* 801CFB68 001CCAC8 80 1C 00 EC */ lwz r0, 0xec(r28) /* 801CFB6C 001CCACC 80 7C 00 F4 */ lwz r3, 0xf4(r28) /* 801CFB70 001CCAD0 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CFB74 001CCAD4 7C 03 02 14 */ add r0, r3, r0 /* 801CFB78 001CCAD8 7C 1B 00 40 */ cmplw r27, r0 /* 801CFB7C 001CCADC 40 82 FF 6C */ bne lbl_801CFAE8 lbl_801CFB80: /* 801CFB80 001CCAE0 88 1C 02 50 */ lbz r0, 0x250(r28) /* 801CFB84 001CCAE4 38 60 00 01 */ li r3, 1 /* 801CFB88 001CCAE8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801CFB8C 001CCAEC 98 1C 02 50 */ stb r0, 0x250(r28) lbl_801CFB90: /* 801CFB90 001CCAF0 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 801CFB94 001CCAF4 CB E1 01 20 */ lfd f31, 0x120(r1) /* 801CFB98 001CCAF8 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 /* 801CFB9C 001CCAFC CB C1 01 10 */ lfd f30, 0x110(r1) /* 801CFBA0 001CCB00 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 /* 801CFBA4 001CCB04 CB A1 01 00 */ lfd f29, 0x100(r1) /* 801CFBA8 001CCB08 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 /* 801CFBAC 001CCB0C CB 81 00 F0 */ lfd f28, 0xf0(r1) /* 801CFBB0 001CCB10 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 /* 801CFBB4 001CCB14 CB 61 00 E0 */ lfd f27, 0xe0(r1) /* 801CFBB8 001CCB18 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 /* 801CFBBC 001CCB1C CB 41 00 D0 */ lfd f26, 0xd0(r1) /* 801CFBC0 001CCB20 BB 41 00 B8 */ lmw r26, 0xb8(r1) /* 801CFBC4 001CCB24 80 01 01 34 */ lwz r0, 0x134(r1) /* 801CFBC8 001CCB28 7C 08 03 A6 */ mtlr r0 /* 801CFBCC 001CCB2C 38 21 01 30 */ addi r1, r1, 0x130 /* 801CFBD0 001CCB30 4E 80 00 20 */ blr .global sub_801cfbd4 sub_801cfbd4: /* 801CFBD4 001CCB34 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801CFBD8 001CCB38 7C 08 02 A6 */ mflr r0 /* 801CFBDC 001CCB3C 90 01 00 44 */ stw r0, 0x44(r1) /* 801CFBE0 001CCB40 38 00 00 00 */ li r0, 0 /* 801CFBE4 001CCB44 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801CFBE8 001CCB48 7C 9F 23 78 */ mr r31, r4 /* 801CFBEC 001CCB4C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801CFBF0 001CCB50 7C 7E 1B 78 */ mr r30, r3 /* 801CFBF4 001CCB54 98 04 00 20 */ stb r0, 0x20(r4) /* 801CFBF8 001CCB58 4B FF E9 E9 */ bl sub_801ce5e0 /* 801CFBFC 001CCB5C 81 1E 00 04 */ lwz r8, 4(r30) /* 801CFC00 001CCB60 39 60 00 00 */ li r11, 0 /* 801CFC04 001CCB64 C0 A2 AB B8 */ lfs f5, lbl_805AC8D8@sda21(r2) /* 801CFC08 001CCB68 39 80 00 01 */ li r12, 1 /* 801CFC0C 001CCB6C C0 82 AB E8 */ lfs f4, lbl_805AC908@sda21(r2) /* 801CFC10 001CCB70 39 40 00 7F */ li r10, 0x7f /* 801CFC14 001CCB74 C0 62 AB E4 */ lfs f3, lbl_805AC904@sda21(r2) /* 801CFC18 001CCB78 39 20 00 14 */ li r9, 0x14 /* 801CFC1C 001CCB7C 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) /* 801CFC20 001CCB80 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801CFC24 001CCB84 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801CFC28 001CCB88 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801CFC2C 001CCB8C C0 46 00 00 */ lfs f2, 0(r6) /* 801CFC30 001CCB90 38 61 00 08 */ addi r3, r1, 8 /* 801CFC34 001CCB94 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801CFC38 001CCB98 38 81 00 0C */ addi r4, r1, 0xc /* 801CFC3C 001CCB9C C0 26 00 04 */ lfs f1, 4(r6) /* 801CFC40 001CCBA0 38 A0 00 01 */ li r5, 1 /* 801CFC44 001CCBA4 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 801CFC48 001CCBA8 38 E0 00 00 */ li r7, 0 /* 801CFC4C 001CCBAC C0 06 00 08 */ lfs f0, 8(r6) /* 801CFC50 001CCBB0 D0 A1 00 18 */ stfs f5, 0x18(r1) /* 801CFC54 001CCBB4 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) /* 801CFC58 001CCBB8 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801CFC5C 001CCBBC D0 A1 00 20 */ stfs f5, 0x20(r1) /* 801CFC60 001CCBC0 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801CFC64 001CCBC4 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801CFC68 001CCBC8 91 81 00 2C */ stw r12, 0x2c(r1) /* 801CFC6C 001CCBCC B1 61 00 30 */ sth r11, 0x30(r1) /* 801CFC70 001CCBD0 99 41 00 32 */ stb r10, 0x32(r1) /* 801CFC74 001CCBD4 99 21 00 33 */ stb r9, 0x33(r1) /* 801CFC78 001CCBD8 99 61 00 34 */ stb r11, 0x34(r1) /* 801CFC7C 001CCBDC 98 01 00 35 */ stb r0, 0x35(r1) /* 801CFC80 001CCBE0 C0 7F 00 00 */ lfs f3, 0(r31) /* 801CFC84 001CCBE4 D0 61 00 0C */ stfs f3, 0xc(r1) /* 801CFC88 001CCBE8 C0 7F 00 04 */ lfs f3, 4(r31) /* 801CFC8C 001CCBEC D0 61 00 10 */ stfs f3, 0x10(r1) /* 801CFC90 001CCBF0 C0 7F 00 08 */ lfs f3, 8(r31) /* 801CFC94 001CCBF4 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801CFC98 001CCBF8 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801CFC9C 001CCBFC D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801CFCA0 001CCC00 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CFCA4 001CCC04 A0 1E 02 34 */ lhz r0, 0x234(r30) /* 801CFCA8 001CCC08 B0 01 00 30 */ sth r0, 0x30(r1) /* 801CFCAC 001CCC0C 48 11 A3 35 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi /* 801CFCB0 001CCC10 80 01 00 44 */ lwz r0, 0x44(r1) /* 801CFCB4 001CCC14 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801CFCB8 001CCC18 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801CFCBC 001CCC1C 7C 08 03 A6 */ mtlr r0 /* 801CFCC0 001CCC20 38 21 00 40 */ addi r1, r1, 0x40 /* 801CFCC4 001CCC24 4E 80 00 20 */ blr .global Render__10CFishCloudCFRC13CStateManager Render__10CFishCloudCFRC13CStateManager: /* 801CFCC8 001CCC28 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801CFCCC 001CCC2C 7C 08 02 A6 */ mflr r0 /* 801CFCD0 001CCC30 90 01 00 74 */ stw r0, 0x74(r1) /* 801CFCD4 001CCC34 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801CFCD8 001CCC38 93 C1 00 68 */ stw r30, 0x68(r1) /* 801CFCDC 001CCC3C 7C 9E 23 78 */ mr r30, r4 /* 801CFCE0 001CCC40 93 A1 00 64 */ stw r29, 0x64(r1) /* 801CFCE4 001CCC44 7C 7D 1B 78 */ mr r29, r3 /* 801CFCE8 001CCC48 93 81 00 60 */ stw r28, 0x60(r1) /* 801CFCEC 001CCC4C 88 03 00 30 */ lbz r0, 0x30(r3) /* 801CFCF0 001CCC50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801CFCF4 001CCC54 41 82 02 3C */ beq lbl_801CFF30 /* 801CFCF8 001CCC58 C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801CFCFC 001CCC5C 38 80 00 00 */ li r4, 0 /* 801CFD00 001CCC60 80 BE 0F 34 */ lwz r5, 0xf34(r30) /* 801CFD04 001CCC64 38 00 00 03 */ li r0, 3 /* 801CFD08 001CCC68 FC 40 08 90 */ fmr f2, f1 /* 801CFD0C 001CCC6C 98 81 00 10 */ stb r4, 0x10(r1) /* 801CFD10 001CCC70 7C A5 00 34 */ cntlzw r5, r5 /* 801CFD14 001CCC74 FC 60 08 90 */ fmr f3, f1 /* 801CFD18 001CCC78 FC 80 08 90 */ fmr f4, f1 /* 801CFD1C 001CCC7C 98 81 00 11 */ stb r4, 0x11(r1) /* 801CFD20 001CCC80 B0 01 00 12 */ sth r0, 0x12(r1) /* 801CFD24 001CCC84 38 61 00 14 */ addi r3, r1, 0x14 /* 801CFD28 001CCC88 54 BF D9 7E */ srwi r31, r5, 5 /* 801CFD2C 001CCC8C 48 19 36 C1 */ bl __ct__6CColorFffff /* 801CFD30 001CCC90 88 61 00 10 */ lbz r3, 0x10(r1) /* 801CFD34 001CCC94 7F C4 F3 78 */ mr r4, r30 /* 801CFD38 001CCC98 88 C1 00 11 */ lbz r6, 0x11(r1) /* 801CFD3C 001CCC9C A0 A1 00 12 */ lhz r5, 0x12(r1) /* 801CFD40 001CCCA0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801CFD44 001CCCA4 98 61 00 18 */ stb r3, 0x18(r1) /* 801CFD48 001CCCA8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801CFD4C 001CCCAC 98 C1 00 19 */ stb r6, 0x19(r1) /* 801CFD50 001CCCB0 B0 A1 00 1A */ sth r5, 0x1a(r1) /* 801CFD54 001CCCB4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801CFD58 001CCCB8 80 63 00 00 */ lwz r3, 0(r3) /* 801CFD5C 001CCCBC 4B EC 17 FD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801CFD60 001CCCC0 2C 03 00 01 */ cmpwi r3, 1 /* 801CFD64 001CCCC4 40 82 00 38 */ bne lbl_801CFD9C /* 801CFD68 001CCCC8 80 1D 01 6C */ lwz r0, 0x16c(r29) /* 801CFD6C 001CCCCC 38 A0 00 05 */ li r5, 5 /* 801CFD70 001CCCD0 38 80 00 00 */ li r4, 0 /* 801CFD74 001CCCD4 38 60 00 03 */ li r3, 3 /* 801CFD78 001CCCD8 90 01 00 0C */ stw r0, 0xc(r1) /* 801CFD7C 001CCCDC 38 00 00 4C */ li r0, 0x4c /* 801CFD80 001CCCE0 98 01 00 0F */ stb r0, 0xf(r1) /* 801CFD84 001CCCE4 80 01 00 0C */ lwz r0, 0xc(r1) /* 801CFD88 001CCCE8 98 A1 00 18 */ stb r5, 0x18(r1) /* 801CFD8C 001CCCEC 98 81 00 19 */ stb r4, 0x19(r1) /* 801CFD90 001CCCF0 B0 61 00 1A */ sth r3, 0x1a(r1) /* 801CFD94 001CCCF4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801CFD98 001CCCF8 48 00 00 24 */ b lbl_801CFDBC lbl_801CFD9C: /* 801CFD9C 001CCCFC 80 BD 01 6C */ lwz r5, 0x16c(r29) /* 801CFDA0 001CCD00 38 80 00 01 */ li r4, 1 /* 801CFDA4 001CCD04 38 60 00 00 */ li r3, 0 /* 801CFDA8 001CCD08 38 00 00 03 */ li r0, 3 /* 801CFDAC 001CCD0C 98 81 00 18 */ stb r4, 0x18(r1) /* 801CFDB0 001CCD10 98 61 00 19 */ stb r3, 0x19(r1) /* 801CFDB4 001CCD14 B0 01 00 1A */ sth r0, 0x1a(r1) /* 801CFDB8 001CCD18 90 A1 00 1C */ stw r5, 0x1c(r1) lbl_801CFDBC: /* 801CFDBC 001CCD1C 7F A3 EB 78 */ mr r3, r29 /* 801CFDC0 001CCD20 4B FF E7 35 */ bl sub_801ce4f4 /* 801CFDC4 001CCD24 88 1D 02 50 */ lbz r0, 0x250(r29) /* 801CFDC8 001CCD28 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801CFDCC 001CCD2C 41 82 00 84 */ beq lbl_801CFE50 /* 801CFDD0 001CCD30 48 17 A1 DD */ bl White__6CColorFv /* 801CFDD4 001CCD34 7C 64 1B 78 */ mr r4, r3 /* 801CFDD8 001CCD38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801CFDDC 001CCD3C 81 83 00 00 */ lwz r12, 0(r3) /* 801CFDE0 001CCD40 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801CFDE4 001CCD44 7D 89 03 A6 */ mtctr r12 /* 801CFDE8 001CCD48 4E 80 04 21 */ bctrl /* 801CFDEC 001CCD4C 48 13 CB 91 */ bl DisableAllLights__9CGraphicsFv /* 801CFDF0 001CCD50 38 00 FF FF */ li r0, -1 /* 801CFDF4 001CCD54 83 DD 00 F4 */ lwz r30, 0xf4(r29) /* 801CFDF8 001CCD58 90 01 00 08 */ stw r0, 8(r1) /* 801CFDFC 001CCD5C 3B 80 00 00 */ li r28, 0 /* 801CFE00 001CCD60 48 00 00 34 */ b lbl_801CFE34 lbl_801CFE04: /* 801CFE04 001CCD64 88 1E 00 20 */ lbz r0, 0x20(r30) /* 801CFE08 001CCD68 28 00 00 00 */ cmplwi r0, 0 /* 801CFE0C 001CCD6C 41 82 00 20 */ beq lbl_801CFE2C /* 801CFE10 001CCD70 7F A3 EB 78 */ mr r3, r29 /* 801CFE14 001CCD74 7F 84 E3 78 */ mr r4, r28 /* 801CFE18 001CCD78 7F C5 F3 78 */ mr r5, r30 /* 801CFE1C 001CCD7C 7F E7 FB 78 */ mr r7, r31 /* 801CFE20 001CCD80 38 C1 00 08 */ addi r6, r1, 8 /* 801CFE24 001CCD84 39 01 00 18 */ addi r8, r1, 0x18 /* 801CFE28 001CCD88 48 00 01 29 */ bl sub_801cff50 lbl_801CFE2C: /* 801CFE2C 001CCD8C 3B DE 00 24 */ addi r30, r30, 0x24 /* 801CFE30 001CCD90 3B 9C 00 01 */ addi r28, r28, 1 lbl_801CFE34: /* 801CFE34 001CCD94 80 1D 00 EC */ lwz r0, 0xec(r29) /* 801CFE38 001CCD98 80 7D 00 F4 */ lwz r3, 0xf4(r29) /* 801CFE3C 001CCD9C 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CFE40 001CCDA0 7C 03 02 14 */ add r0, r3, r0 /* 801CFE44 001CCDA4 7C 1E 00 40 */ cmplw r30, r0 /* 801CFE48 001CCDA8 40 82 FF BC */ bne lbl_801CFE04 /* 801CFE4C 001CCDAC 48 00 00 E4 */ b lbl_801CFF30 lbl_801CFE50: /* 801CFE50 001CCDB0 83 FD 00 64 */ lwz r31, 0x64(r29) /* 801CFE54 001CCDB4 48 17 A1 59 */ bl White__6CColorFv /* 801CFE58 001CCDB8 7C 64 1B 78 */ mr r4, r3 /* 801CFE5C 001CCDBC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801CFE60 001CCDC0 81 83 00 00 */ lwz r12, 0(r3) /* 801CFE64 001CCDC4 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801CFE68 001CCDC8 7D 89 03 A6 */ mtctr r12 /* 801CFE6C 001CCDCC 4E 80 04 21 */ bctrl /* 801CFE70 001CCDD0 48 13 CB 0D */ bl DisableAllLights__9CGraphicsFv /* 801CFE74 001CCDD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801CFE78 001CCDD8 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801CFE7C 001CCDDC 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801CFE80 001CCDE0 81 83 00 00 */ lwz r12, 0(r3) /* 801CFE84 001CCDE4 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801CFE88 001CCDE8 7D 89 03 A6 */ mtctr r12 /* 801CFE8C 001CCDEC 4E 80 04 21 */ bctrl /* 801CFE90 001CCDF0 83 9D 00 F4 */ lwz r28, 0xf4(r29) /* 801CFE94 001CCDF4 48 00 00 84 */ b lbl_801CFF18 lbl_801CFE98: /* 801CFE98 001CCDF8 88 1C 00 20 */ lbz r0, 0x20(r28) /* 801CFE9C 001CCDFC 28 00 00 00 */ cmplwi r0, 0 /* 801CFEA0 001CCE00 41 82 00 74 */ beq lbl_801CFF14 /* 801CFEA4 001CCE04 C0 1C 00 18 */ lfs f0, 0x18(r28) /* 801CFEA8 001CCE08 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801CFEAC 001CCE0C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801CFEB0 001CCE10 7F 84 E3 78 */ mr r4, r28 /* 801CFEB4 001CCE14 D0 1F 00 00 */ stfs f0, 0(r31) /* 801CFEB8 001CCE18 38 61 00 2C */ addi r3, r1, 0x2c /* 801CFEBC 001CCE1C 38 A1 00 20 */ addi r5, r1, 0x20 /* 801CFEC0 001CCE20 D0 1F 00 04 */ stfs f0, 4(r31) /* 801CFEC4 001CCE24 D0 1F 00 08 */ stfs f0, 8(r31) /* 801CFEC8 001CCE28 C0 3C 00 04 */ lfs f1, 4(r28) /* 801CFECC 001CCE2C C0 1C 00 10 */ lfs f0, 0x10(r28) /* 801CFED0 001CCE30 C0 7C 00 08 */ lfs f3, 8(r28) /* 801CFED4 001CCE34 EC 81 00 2A */ fadds f4, f1, f0 /* 801CFED8 001CCE38 C0 5C 00 14 */ lfs f2, 0x14(r28) /* 801CFEDC 001CCE3C C0 3C 00 00 */ lfs f1, 0(r28) /* 801CFEE0 001CCE40 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 801CFEE4 001CCE44 EC 43 10 2A */ fadds f2, f3, f2 /* 801CFEE8 001CCE48 EC 01 00 2A */ fadds f0, f1, f0 /* 801CFEEC 001CCE4C D0 81 00 24 */ stfs f4, 0x24(r1) /* 801CFEF0 001CCE50 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801CFEF4 001CCE54 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801CFEF8 001CCE58 48 14 3C 19 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801CFEFC 001CCE5C 7F E3 FB 78 */ mr r3, r31 /* 801CFF00 001CCE60 7F C4 F3 78 */ mr r4, r30 /* 801CFF04 001CCE64 38 A1 00 2C */ addi r5, r1, 0x2c /* 801CFF08 001CCE68 38 E1 00 18 */ addi r7, r1, 0x18 /* 801CFF0C 001CCE6C 38 C0 00 00 */ li r6, 0 /* 801CFF10 001CCE70 4B F4 4E AD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_801CFF14: /* 801CFF14 001CCE74 3B 9C 00 24 */ addi r28, r28, 0x24 lbl_801CFF18: /* 801CFF18 001CCE78 80 1D 00 EC */ lwz r0, 0xec(r29) /* 801CFF1C 001CCE7C 80 7D 00 F4 */ lwz r3, 0xf4(r29) /* 801CFF20 001CCE80 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801CFF24 001CCE84 7C 03 02 14 */ add r0, r3, r0 /* 801CFF28 001CCE88 7C 1C 00 40 */ cmplw r28, r0 /* 801CFF2C 001CCE8C 40 82 FF 6C */ bne lbl_801CFE98 lbl_801CFF30: /* 801CFF30 001CCE90 80 01 00 74 */ lwz r0, 0x74(r1) /* 801CFF34 001CCE94 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801CFF38 001CCE98 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801CFF3C 001CCE9C 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801CFF40 001CCEA0 83 81 00 60 */ lwz r28, 0x60(r1) /* 801CFF44 001CCEA4 7C 08 03 A6 */ mtlr r0 /* 801CFF48 001CCEA8 38 21 00 70 */ addi r1, r1, 0x70 /* 801CFF4C 001CCEAC 4E 80 00 20 */ blr .global sub_801cff50 sub_801cff50: /* 801CFF50 001CCEB0 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801CFF54 001CCEB4 7C 08 02 A6 */ mflr r0 /* 801CFF58 001CCEB8 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801CFF5C 001CCEBC BE C1 00 A8 */ stmw r22, 0xa8(r1) /* 801CFF60 001CCEC0 7C 77 1B 78 */ mr r23, r3 /* 801CFF64 001CCEC4 54 9F 17 3A */ rlwinm r31, r4, 2, 0x1c, 0x1d /* 801CFF68 001CCEC8 54 9E 07 BE */ clrlwi r30, r4, 0x1e /* 801CFF6C 001CCECC 7C 77 FA 14 */ add r3, r23, r31 /* 801CFF70 001CCED0 7C D9 33 78 */ mr r25, r6 /* 801CFF74 001CCED4 7C B8 2B 78 */ mr r24, r5 /* 801CFF78 001CCED8 7C FA 3B 78 */ mr r26, r7 /* 801CFF7C 001CCEDC 7D 1B 43 78 */ mr r27, r8 /* 801CFF80 001CCEE0 38 80 00 00 */ li r4, 0 /* 801CFF84 001CCEE4 80 63 01 B4 */ lwz r3, 0x1b4(r3) /* 801CFF88 001CCEE8 83 A6 00 00 */ lwz r29, 0(r6) /* 801CFF8C 001CCEEC 80 63 00 00 */ lwz r3, 0(r3) /* 801CFF90 001CCEF0 82 C3 00 10 */ lwz r22, 0x10(r3) /* 801CFF94 001CCEF4 4B F4 4F C9 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 801CFF98 001CCEF8 38 00 00 01 */ li r0, 1 /* 801CFF9C 001CCEFC 7C 7C 1B 78 */ mr r28, r3 /* 801CFFA0 001CCF00 7C 04 F0 30 */ slw r4, r0, r30 /* 801CFFA4 001CCF04 7F A0 20 39 */ and. r0, r29, r4 /* 801CFFA8 001CCF08 41 82 00 44 */ beq lbl_801CFFEC /* 801CFFAC 001CCF0C 7E C3 B3 78 */ mr r3, r22 /* 801CFFB0 001CCF10 7F BD 20 78 */ andc r29, r29, r4 /* 801CFFB4 001CCF14 4B E5 CA AD */ bl BuildPose__9CAnimDataFv /* 801CFFB8 001CCF18 57 C0 18 38 */ slwi r0, r30, 3 /* 801CFFBC 001CCF1C 38 80 00 00 */ li r4, 0 /* 801CFFC0 001CCF20 7C 77 02 14 */ add r3, r23, r0 /* 801CFFC4 001CCF24 98 81 00 A4 */ stb r4, 0xa4(r1) /* 801CFFC8 001CCF28 80 E3 01 80 */ lwz r7, 0x180(r3) /* 801CFFCC 001CCF2C 7F 83 E3 78 */ mr r3, r28 /* 801CFFD0 001CCF30 38 96 02 24 */ addi r4, r22, 0x224 /* 801CFFD4 001CCF34 38 A1 00 5C */ addi r5, r1, 0x5c /* 801CFFD8 001CCF38 38 C0 00 00 */ li r6, 0 /* 801CFFDC 001CCF3C 48 18 2D 1D */ bl "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" /* 801CFFE0 001CCF40 38 61 00 5C */ addi r3, r1, 0x5c /* 801CFFE4 001CCF44 38 80 FF FF */ li r4, -1 /* 801CFFE8 001CCF48 4B EA 7C A5 */ bl sub_80077c8c lbl_801CFFEC: /* 801CFFEC 001CCF4C C0 38 00 04 */ lfs f1, 4(r24) /* 801CFFF0 001CCF50 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801CFFF4 001CCF54 C0 18 00 10 */ lfs f0, 0x10(r24) /* 801CFFF8 001CCF58 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801CFFFC 001CCF5C C0 78 00 08 */ lfs f3, 8(r24) /* 801D0000 001CCF60 7F 04 C3 78 */ mr r4, r24 /* 801D0004 001CCF64 EC 81 00 2A */ fadds f4, f1, f0 /* 801D0008 001CCF68 C0 58 00 14 */ lfs f2, 0x14(r24) /* 801D000C 001CCF6C C0 38 00 00 */ lfs f1, 0(r24) /* 801D0010 001CCF70 38 61 00 2C */ addi r3, r1, 0x2c /* 801D0014 001CCF74 C0 18 00 0C */ lfs f0, 0xc(r24) /* 801D0018 001CCF78 EC 43 10 2A */ fadds f2, f3, f2 /* 801D001C 001CCF7C EC 01 00 2A */ fadds f0, f1, f0 /* 801D0020 001CCF80 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801D0024 001CCF84 38 A1 00 20 */ addi r5, r1, 0x20 /* 801D0028 001CCF88 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801D002C 001CCF8C D0 01 00 20 */ stfs f0, 0x20(r1) /* 801D0030 001CCF90 48 14 3A E1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801D0034 001CCF94 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801D0038 001CCF98 38 81 00 2C */ addi r4, r1, 0x2c /* 801D003C 001CCF9C 81 83 00 00 */ lwz r12, 0(r3) /* 801D0040 001CCFA0 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801D0044 001CCFA4 7D 89 03 A6 */ mtctr r12 /* 801D0048 001CCFA8 4E 80 04 21 */ bctrl /* 801D004C 001CCFAC 57 C3 18 38 */ slwi r3, r30, 3 /* 801D0050 001CCFB0 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 801D0054 001CCFB4 7C 97 1A 14 */ add r4, r23, r3 /* 801D0058 001CCFB8 7C 77 FA 14 */ add r3, r23, r31 /* 801D005C 001CCFBC 83 C4 01 80 */ lwz r30, 0x180(r4) /* 801D0060 001CCFC0 83 E3 01 A0 */ lwz r31, 0x1a0(r3) /* 801D0064 001CCFC4 41 82 00 98 */ beq lbl_801D00FC /* 801D0068 001CCFC8 C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801D006C 001CCFCC 38 80 00 00 */ li r4, 0 /* 801D0070 001CCFD0 38 00 00 03 */ li r0, 3 /* 801D0074 001CCFD4 98 81 00 10 */ stb r4, 0x10(r1) /* 801D0078 001CCFD8 FC 40 08 90 */ fmr f2, f1 /* 801D007C 001CCFDC 38 61 00 14 */ addi r3, r1, 0x14 /* 801D0080 001CCFE0 FC 60 08 90 */ fmr f3, f1 /* 801D0084 001CCFE4 98 81 00 11 */ stb r4, 0x11(r1) /* 801D0088 001CCFE8 FC 80 08 90 */ fmr f4, f1 /* 801D008C 001CCFEC B0 01 00 12 */ sth r0, 0x12(r1) /* 801D0090 001CCFF0 48 19 33 5D */ bl __ct__6CColorFffff /* 801D0094 001CCFF4 A0 01 00 12 */ lhz r0, 0x12(r1) /* 801D0098 001CCFF8 39 40 00 00 */ li r10, 0 /* 801D009C 001CCFFC 88 61 00 10 */ lbz r3, 0x10(r1) /* 801D00A0 001CD000 39 20 00 40 */ li r9, 0x40 /* 801D00A4 001CD004 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d /* 801D00A8 001CD008 88 A1 00 11 */ lbz r5, 0x11(r1) /* 801D00AC 001CD00C 60 07 00 01 */ ori r7, r0, 1 /* 801D00B0 001CD010 81 61 00 14 */ lwz r11, 0x14(r1) /* 801D00B4 001CD014 38 00 FF FF */ li r0, -1 /* 801D00B8 001CD018 98 61 00 18 */ stb r3, 0x18(r1) /* 801D00BC 001CD01C 7F 83 E3 78 */ mr r3, r28 /* 801D00C0 001CD020 7F C4 F3 78 */ mr r4, r30 /* 801D00C4 001CD024 98 A1 00 19 */ stb r5, 0x19(r1) /* 801D00C8 001CD028 7F E5 FB 78 */ mr r5, r31 /* 801D00CC 001CD02C 38 C1 00 0C */ addi r6, r1, 0xc /* 801D00D0 001CD030 39 01 00 18 */ addi r8, r1, 0x18 /* 801D00D4 001CD034 B0 E1 00 1A */ sth r7, 0x1a(r1) /* 801D00D8 001CD038 38 E1 00 08 */ addi r7, r1, 8 /* 801D00DC 001CD03C 91 61 00 1C */ stw r11, 0x1c(r1) /* 801D00E0 001CD040 99 41 00 08 */ stb r10, 8(r1) /* 801D00E4 001CD044 99 41 00 09 */ stb r10, 9(r1) /* 801D00E8 001CD048 99 41 00 0A */ stb r10, 0xa(r1) /* 801D00EC 001CD04C 99 21 00 0B */ stb r9, 0xb(r1) /* 801D00F0 001CD050 90 01 00 0C */ stw r0, 0xc(r1) /* 801D00F4 001CD054 4B F4 62 C1 */ bl RenderThermal__10CModelDataCFPCfPCfRC6CColorRC6CColorRC11CModelFlags /* 801D00F8 001CD058 48 00 00 18 */ b lbl_801D0110 lbl_801D00FC: /* 801D00FC 001CD05C 7F 83 E3 78 */ mr r3, r28 /* 801D0100 001CD060 7F C4 F3 78 */ mr r4, r30 /* 801D0104 001CD064 7F E5 FB 78 */ mr r5, r31 /* 801D0108 001CD068 7F 66 DB 78 */ mr r6, r27 /* 801D010C 001CD06C 48 18 2D DD */ bl sub_80352ee8 lbl_801D0110: /* 801D0110 001CD070 93 B9 00 00 */ stw r29, 0(r25) /* 801D0114 001CD074 BA C1 00 A8 */ lmw r22, 0xa8(r1) /* 801D0118 001CD078 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801D011C 001CD07C 7C 08 03 A6 */ mtlr r0 /* 801D0120 001CD080 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801D0124 001CD084 4E 80 00 20 */ blr .global PreRender__10CFishCloudFR13CStateManagerRC14CFrustumPlanes PreRender__10CFishCloudFR13CStateManagerRC14CFrustumPlanes: /* 801D0128 001CD088 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D012C 001CD08C 7C 08 02 A6 */ mflr r0 /* 801D0130 001CD090 90 01 00 24 */ stw r0, 0x24(r1) /* 801D0134 001CD094 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D0138 001CD098 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D013C 001CD09C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D0140 001CD0A0 7C 7D 1B 78 */ mr r29, r3 /* 801D0144 001CD0A4 4B E8 4B 9D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes /* 801D0148 001CD0A8 88 1D 02 50 */ lbz r0, 0x250(r29) /* 801D014C 001CD0AC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801D0150 001CD0B0 41 82 00 2C */ beq lbl_801D017C /* 801D0154 001CD0B4 3B C0 00 00 */ li r30, 0 /* 801D0158 001CD0B8 3B FD 01 B4 */ addi r31, r29, 0x1b4 lbl_801D015C: /* 801D015C 001CD0BC 80 7F 00 00 */ lwz r3, 0(r31) /* 801D0160 001CD0C0 80 63 00 00 */ lwz r3, 0(r3) /* 801D0164 001CD0C4 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D0168 001CD0C8 4B E5 C8 9D */ bl PreRender__9CAnimDataFv /* 801D016C 001CD0CC 3B DE 00 01 */ addi r30, r30, 1 /* 801D0170 001CD0D0 3B FF 00 04 */ addi r31, r31, 4 /* 801D0174 001CD0D4 2C 1E 00 04 */ cmpwi r30, 4 /* 801D0178 001CD0D8 41 80 FF E4 */ blt lbl_801D015C lbl_801D017C: /* 801D017C 001CD0DC 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801D0180 001CD0E0 38 60 00 00 */ li r3, 0 /* 801D0184 001CD0E4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801D0188 001CD0E8 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801D018C 001CD0EC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D0190 001CD0F0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D0194 001CD0F4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D0198 001CD0F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D019C 001CD0FC 7C 08 03 A6 */ mtlr r0 /* 801D01A0 001CD100 38 21 00 20 */ addi r1, r1, 0x20 .global sub_801d01a4 sub_801d01a4: /* 801D01A4 001CD104 4E 80 00 20 */ blr .global Think__10CFishCloudFfR13CStateManager Think__10CFishCloudFfR13CStateManager: /* 801D01A8 001CD108 94 21 FE B0 */ stwu r1, -0x150(r1) /* 801D01AC 001CD10C 7C 08 02 A6 */ mflr r0 /* 801D01B0 001CD110 90 01 01 54 */ stw r0, 0x154(r1) /* 801D01B4 001CD114 DB E1 01 40 */ stfd f31, 0x140(r1) /* 801D01B8 001CD118 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 /* 801D01BC 001CD11C DB C1 01 30 */ stfd f30, 0x130(r1) /* 801D01C0 001CD120 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 /* 801D01C4 001CD124 BF 41 01 18 */ stmw r26, 0x118(r1) /* 801D01C8 001CD128 88 03 00 30 */ lbz r0, 0x30(r3) /* 801D01CC 001CD12C FF E0 08 90 */ fmr f31, f1 /* 801D01D0 001CD130 7C 7B 1B 78 */ mr r27, r3 /* 801D01D4 001CD134 7C 9C 23 78 */ mr r28, r4 /* 801D01D8 001CD138 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D01DC 001CD13C 41 82 07 2C */ beq lbl_801D0908 /* 801D01E0 001CD140 80 BB 00 04 */ lwz r5, 4(r27) /* 801D01E4 001CD144 80 9C 08 50 */ lwz r4, 0x850(r28) /* 801D01E8 001CD148 54 A3 18 38 */ slwi r3, r5, 3 /* 801D01EC 001CD14C 90 A1 00 2C */ stw r5, 0x2c(r1) /* 801D01F0 001CD150 80 84 00 20 */ lwz r4, 0x20(r4) /* 801D01F4 001CD154 38 03 00 04 */ addi r0, r3, 4 /* 801D01F8 001CD158 90 A1 00 30 */ stw r5, 0x30(r1) /* 801D01FC 001CD15C 7C 64 00 2E */ lwzx r3, r4, r0 /* 801D0200 001CD160 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 801D0204 001CD164 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D0208 001CD168 41 82 00 10 */ beq lbl_801D0218 /* 801D020C 001CD16C 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801D0210 001CD170 80 03 10 DC */ lwz r0, 0x10dc(r3) /* 801D0214 001CD174 48 00 00 08 */ b lbl_801D021C lbl_801D0218: /* 801D0218 001CD178 38 00 00 00 */ li r0, 0 lbl_801D021C: /* 801D021C 001CD17C 2C 00 00 01 */ cmpwi r0, 1 /* 801D0220 001CD180 40 82 06 E8 */ bne lbl_801D0908 /* 801D0224 001CD184 C0 1B 01 60 */ lfs f0, 0x160(r27) /* 801D0228 001CD188 C0 62 AB E4 */ lfs f3, lbl_805AC904@sda21(r2) /* 801D022C 001CD18C EC 40 07 F2 */ fmuls f2, f0, f31 /* 801D0230 001CD190 C0 3B 01 68 */ lfs f1, 0x168(r27) /* 801D0234 001CD194 C0 0D 91 90 */ lfs f0, lbl_805A7D50@sda21(r13) /* 801D0238 001CD198 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 /* 801D023C 001CD19C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D0240 001CD1A0 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801D0244 001CD1A4 40 80 00 0C */ bge lbl_801D0250 /* 801D0248 001CD1A8 38 61 00 28 */ addi r3, r1, 0x28 /* 801D024C 001CD1AC 48 00 00 08 */ b lbl_801D0254 lbl_801D0250: /* 801D0250 001CD1B0 38 6D 91 90 */ addi r3, r13, lbl_805A7D50@sda21 lbl_801D0254: /* 801D0254 001CD1B4 C0 03 00 00 */ lfs f0, 0(r3) /* 801D0258 001CD1B8 D0 1B 01 68 */ stfs f0, 0x168(r27) /* 801D025C 001CD1BC 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D0260 001CD1C0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801D0264 001CD1C4 41 82 00 34 */ beq lbl_801D0298 /* 801D0268 001CD1C8 C0 3B 01 60 */ lfs f1, 0x160(r27) /* 801D026C 001CD1CC C0 1B 01 68 */ lfs f0, 0x168(r27) /* 801D0270 001CD1D0 EC 21 07 FA */ fmadds f1, f1, f31, f0 /* 801D0274 001CD1D4 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801D0278 001CD1D8 C0 1B 01 48 */ lfs f0, 0x148(r27) /* 801D027C 001CD1DC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D0280 001CD1E0 40 80 00 0C */ bge lbl_801D028C /* 801D0284 001CD1E4 38 61 00 24 */ addi r3, r1, 0x24 /* 801D0288 001CD1E8 48 00 00 08 */ b lbl_801D0290 lbl_801D028C: /* 801D028C 001CD1EC 38 7B 01 48 */ addi r3, r27, 0x148 lbl_801D0290: /* 801D0290 001CD1F0 C0 03 00 00 */ lfs f0, 0(r3) /* 801D0294 001CD1F4 D0 1B 01 68 */ stfs f0, 0x168(r27) lbl_801D0298: /* 801D0298 001CD1F8 C0 1B 01 5C */ lfs f0, 0x15c(r27) /* 801D029C 001CD1FC C0 62 AB E4 */ lfs f3, lbl_805AC904@sda21(r2) /* 801D02A0 001CD200 EC 40 07 F2 */ fmuls f2, f0, f31 /* 801D02A4 001CD204 C0 3B 01 64 */ lfs f1, 0x164(r27) /* 801D02A8 001CD208 C0 0D 91 94 */ lfs f0, lbl_805A7D54@sda21(r13) /* 801D02AC 001CD20C EC 23 08 BC */ fnmsubs f1, f3, f2, f1 /* 801D02B0 001CD210 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D02B4 001CD214 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801D02B8 001CD218 40 80 00 0C */ bge lbl_801D02C4 /* 801D02BC 001CD21C 38 61 00 20 */ addi r3, r1, 0x20 /* 801D02C0 001CD220 48 00 00 08 */ b lbl_801D02C8 lbl_801D02C4: /* 801D02C4 001CD224 38 6D 91 94 */ addi r3, r13, lbl_805A7D54@sda21 lbl_801D02C8: /* 801D02C8 001CD228 C0 03 00 00 */ lfs f0, 0(r3) /* 801D02CC 001CD22C D0 1B 01 64 */ stfs f0, 0x164(r27) /* 801D02D0 001CD230 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D02D4 001CD234 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801D02D8 001CD238 41 82 00 34 */ beq lbl_801D030C /* 801D02DC 001CD23C C0 3B 01 5C */ lfs f1, 0x15c(r27) /* 801D02E0 001CD240 C0 1B 01 64 */ lfs f0, 0x164(r27) /* 801D02E4 001CD244 EC 21 07 FA */ fmadds f1, f1, f31, f0 /* 801D02E8 001CD248 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801D02EC 001CD24C C0 1B 01 4C */ lfs f0, 0x14c(r27) /* 801D02F0 001CD250 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D02F4 001CD254 40 80 00 0C */ bge lbl_801D0300 /* 801D02F8 001CD258 38 61 00 1C */ addi r3, r1, 0x1c /* 801D02FC 001CD25C 48 00 00 08 */ b lbl_801D0304 lbl_801D0300: /* 801D0300 001CD260 38 7B 01 4C */ addi r3, r27, 0x14c lbl_801D0304: /* 801D0304 001CD264 C0 03 00 00 */ lfs f0, 0(r3) /* 801D0308 001CD268 D0 1B 01 64 */ stfs f0, 0x164(r27) lbl_801D030C: /* 801D030C 001CD26C 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D0310 001CD270 38 80 00 00 */ li r4, 0 /* 801D0314 001CD274 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801D0318 001CD278 FC 20 F8 90 */ fmr f1, f31 /* 801D031C 001CD27C 98 1B 02 50 */ stb r0, 0x250(r27) /* 801D0320 001CD280 7F 63 DB 78 */ mr r3, r27 /* 801D0324 001CD284 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D0328 001CD288 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801D032C 001CD28C 98 1B 02 50 */ stb r0, 0x250(r27) /* 801D0330 001CD290 80 9B 01 18 */ lwz r4, 0x118(r27) /* 801D0334 001CD294 38 04 00 01 */ addi r0, r4, 1 /* 801D0338 001CD298 90 1B 01 18 */ stw r0, 0x118(r27) /* 801D033C 001CD29C 4B FF E2 29 */ bl sub_801ce564 /* 801D0340 001CD2A0 38 00 00 00 */ li r0, 0 /* 801D0344 001CD2A4 7F 63 DB 78 */ mr r3, r27 /* 801D0348 001CD2A8 90 01 00 AC */ stw r0, 0xac(r1) /* 801D034C 001CD2AC 4B FF F2 F5 */ bl UpdatePartitionList__10CFishCloudFv /* 801D0350 001CD2B0 83 FC 09 00 */ lwz r31, 0x900(r28) /* 801D0354 001CD2B4 7F 64 DB 78 */ mr r4, r27 /* 801D0358 001CD2B8 38 61 00 7C */ addi r3, r1, 0x7c /* 801D035C 001CD2BC 48 00 1A 85 */ bl GetBoundingBox__10CFishCloudCFv /* 801D0360 001CD2C0 C0 A1 00 7C */ lfs f5, 0x7c(r1) /* 801D0364 001CD2C4 3B A0 00 00 */ li r29, 0 /* 801D0368 001CD2C8 C0 81 00 80 */ lfs f4, 0x80(r1) /* 801D036C 001CD2CC C0 61 00 84 */ lfs f3, 0x84(r1) /* 801D0370 001CD2D0 C0 41 00 88 */ lfs f2, 0x88(r1) /* 801D0374 001CD2D4 C0 21 00 8C */ lfs f1, 0x8c(r1) /* 801D0378 001CD2D8 C0 01 00 90 */ lfs f0, 0x90(r1) /* 801D037C 001CD2DC D0 A1 00 94 */ stfs f5, 0x94(r1) /* 801D0380 001CD2E0 D0 81 00 98 */ stfs f4, 0x98(r1) /* 801D0384 001CD2E4 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 801D0388 001CD2E8 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 801D038C 001CD2EC D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801D0390 001CD2F0 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801D0394 001CD2F4 83 DB 00 F4 */ lwz r30, 0xf4(r27) /* 801D0398 001CD2F8 48 00 03 2C */ b lbl_801D06C4 lbl_801D039C: /* 801D039C 001CD2FC 88 1E 00 20 */ lbz r0, 0x20(r30) /* 801D03A0 001CD300 28 00 00 00 */ cmplwi r0, 0 /* 801D03A4 001CD304 41 82 03 18 */ beq lbl_801D06BC /* 801D03A8 001CD308 80 9B 01 1C */ lwz r4, 0x11c(r27) /* 801D03AC 001CD30C 80 1B 01 18 */ lwz r0, 0x118(r27) /* 801D03B0 001CD310 7F A3 20 38 */ and r3, r29, r4 /* 801D03B4 001CD314 7C 00 20 38 */ and r0, r0, r4 /* 801D03B8 001CD318 7C 03 00 00 */ cmpw r3, r0 /* 801D03BC 001CD31C 40 82 03 00 */ bne lbl_801D06BC /* 801D03C0 001CD320 80 A1 00 AC */ lwz r5, 0xac(r1) /* 801D03C4 001CD324 38 60 00 00 */ li r3, 0 /* 801D03C8 001CD328 2C 05 00 00 */ cmpwi r5, 0 /* 801D03CC 001CD32C 40 81 00 44 */ ble lbl_801D0410 /* 801D03D0 001CD330 2C 05 00 08 */ cmpwi r5, 8 /* 801D03D4 001CD334 38 85 FF F8 */ addi r4, r5, -8 /* 801D03D8 001CD338 40 81 00 20 */ ble lbl_801D03F8 /* 801D03DC 001CD33C 38 04 00 07 */ addi r0, r4, 7 /* 801D03E0 001CD340 54 00 E8 FE */ srwi r0, r0, 3 /* 801D03E4 001CD344 7C 09 03 A6 */ mtctr r0 /* 801D03E8 001CD348 2C 04 00 00 */ cmpwi r4, 0 /* 801D03EC 001CD34C 40 81 00 0C */ ble lbl_801D03F8 lbl_801D03F0: /* 801D03F0 001CD350 38 63 00 08 */ addi r3, r3, 8 /* 801D03F4 001CD354 42 00 FF FC */ bdnz lbl_801D03F0 lbl_801D03F8: /* 801D03F8 001CD358 7C 03 28 50 */ subf r0, r3, r5 /* 801D03FC 001CD35C 7C 09 03 A6 */ mtctr r0 /* 801D0400 001CD360 7C 03 28 00 */ cmpw r3, r5 /* 801D0404 001CD364 40 80 00 0C */ bge lbl_801D0410 lbl_801D0408: /* 801D0408 001CD368 38 63 00 01 */ addi r3, r3, 1 /* 801D040C 001CD36C 42 00 FF FC */ bdnz lbl_801D0408 lbl_801D0410: /* 801D0410 001CD370 38 00 00 00 */ li r0, 0 /* 801D0414 001CD374 90 01 00 AC */ stw r0, 0xac(r1) /* 801D0418 001CD378 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D041C 001CD37C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801D0420 001CD380 41 82 00 1C */ beq lbl_801D043C /* 801D0424 001CD384 C0 3B 01 38 */ lfs f1, 0x138(r27) /* 801D0428 001CD388 7F 63 DB 78 */ mr r3, r27 /* 801D042C 001CD38C 7F C4 F3 78 */ mr r4, r30 /* 801D0430 001CD390 38 A1 00 AC */ addi r5, r1, 0xac /* 801D0434 001CD394 4B FF ED 01 */ bl "BuildBoidNearList__10CFishCloudFRC9CVector3ffRQ24rstl41reserved_vector" /* 801D0438 001CD398 48 00 00 18 */ b lbl_801D0450 lbl_801D043C: /* 801D043C 001CD39C C0 3B 01 38 */ lfs f1, 0x138(r27) /* 801D0440 001CD3A0 7F 63 DB 78 */ mr r3, r27 /* 801D0444 001CD3A4 7F C4 F3 78 */ mr r4, r30 /* 801D0448 001CD3A8 38 A1 00 AC */ addi r5, r1, 0xac /* 801D044C 001CD3AC 4B FF ED D1 */ bl sub_801cf21c lbl_801D0450: /* 801D0450 001CD3B0 3B 40 00 00 */ li r26, 0 /* 801D0454 001CD3B4 C3 C2 AB EC */ lfs f30, lbl_805AC90C@sda21(r2) lbl_801D0458: /* 801D0458 001CD3B8 2C 1A 00 03 */ cmpwi r26, 3 /* 801D045C 001CD3BC 41 82 00 6C */ beq lbl_801D04C8 /* 801D0460 001CD3C0 40 80 00 14 */ bge lbl_801D0474 /* 801D0464 001CD3C4 2C 1A 00 01 */ cmpwi r26, 1 /* 801D0468 001CD3C8 41 82 00 18 */ beq lbl_801D0480 /* 801D046C 001CD3CC 40 80 00 28 */ bge lbl_801D0494 /* 801D0470 001CD3D0 48 00 00 9C */ b lbl_801D050C lbl_801D0474: /* 801D0474 001CD3D4 2C 1A 00 05 */ cmpwi r26, 5 /* 801D0478 001CD3D8 40 80 00 94 */ bge lbl_801D050C /* 801D047C 001CD3DC 48 00 00 80 */ b lbl_801D04FC lbl_801D0480: /* 801D0480 001CD3E0 7F 63 DB 78 */ mr r3, r27 /* 801D0484 001CD3E4 7F C4 F3 78 */ mr r4, r30 /* 801D0488 001CD3E8 38 A1 00 AC */ addi r5, r1, 0xac /* 801D048C 001CD3EC 4B FF E5 4D */ bl "ApplySeparation__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector" /* 801D0490 001CD3F0 48 00 00 7C */ b lbl_801D050C lbl_801D0494: /* 801D0494 001CD3F4 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D0498 001CD3F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D049C 001CD3FC 41 82 00 18 */ beq lbl_801D04B4 /* 801D04A0 001CD400 7F E3 FB 78 */ mr r3, r31 /* 801D04A4 001CD404 48 14 20 39 */ bl Float__9CRandom16Fv /* 801D04A8 001CD408 C0 1B 01 2C */ lfs f0, 0x12c(r27) /* 801D04AC 001CD40C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D04B0 001CD410 40 81 00 5C */ ble lbl_801D050C lbl_801D04B4: /* 801D04B4 001CD414 7F 63 DB 78 */ mr r3, r27 /* 801D04B8 001CD418 7F C4 F3 78 */ mr r4, r30 /* 801D04BC 001CD41C 38 A1 00 AC */ addi r5, r1, 0xac /* 801D04C0 001CD420 4B FF E6 ED */ bl "ApplyCohesion__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector" /* 801D04C4 001CD424 48 00 00 48 */ b lbl_801D050C lbl_801D04C8: /* 801D04C8 001CD428 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D04CC 001CD42C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D04D0 001CD430 41 82 00 18 */ beq lbl_801D04E8 /* 801D04D4 001CD434 7F E3 FB 78 */ mr r3, r31 /* 801D04D8 001CD438 48 14 20 05 */ bl Float__9CRandom16Fv /* 801D04DC 001CD43C C0 1B 01 2C */ lfs f0, 0x12c(r27) /* 801D04E0 001CD440 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D04E4 001CD444 40 81 00 28 */ ble lbl_801D050C lbl_801D04E8: /* 801D04E8 001CD448 7F 63 DB 78 */ mr r3, r27 /* 801D04EC 001CD44C 7F C4 F3 78 */ mr r4, r30 /* 801D04F0 001CD450 38 A1 00 AC */ addi r5, r1, 0xac /* 801D04F4 001CD454 4B FF E8 B5 */ bl "ApplyAlignment__10CFishCloudFRQ210CFishCloud5CBoidRCQ24rstl41reserved_vector" /* 801D04F8 001CD458 48 00 00 14 */ b lbl_801D050C lbl_801D04FC: /* 801D04FC 001CD45C 7F 63 DB 78 */ mr r3, r27 /* 801D0500 001CD460 7F 84 E3 78 */ mr r4, r28 /* 801D0504 001CD464 7F C5 F3 78 */ mr r5, r30 /* 801D0508 001CD468 4B FF E7 8D */ bl sub_801cec94 lbl_801D050C: /* 801D050C 001CD46C C0 3E 00 0C */ lfs f1, 0xc(r30) /* 801D0510 001CD470 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801D0514 001CD474 EC 21 00 72 */ fmuls f1, f1, f1 /* 801D0518 001CD478 C0 5E 00 14 */ lfs f2, 0x14(r30) /* 801D051C 001CD47C EC 00 00 32 */ fmuls f0, f0, f0 /* 801D0520 001CD480 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801D0524 001CD484 EC 01 00 2A */ fadds f0, f1, f0 /* 801D0528 001CD488 EC 02 00 2A */ fadds f0, f2, f0 /* 801D052C 001CD48C FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801D0530 001CD490 41 81 00 10 */ bgt lbl_801D0540 /* 801D0534 001CD494 3B 5A 00 01 */ addi r26, r26, 1 /* 801D0538 001CD498 2C 1A 00 05 */ cmpwi r26, 5 /* 801D053C 001CD49C 40 82 FF 1C */ bne lbl_801D0458 lbl_801D0540: /* 801D0540 001CD4A0 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D0544 001CD4A4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D0548 001CD4A8 40 82 01 74 */ bne lbl_801D06BC /* 801D054C 001CD4AC C0 3E 00 0C */ lfs f1, 0xc(r30) /* 801D0550 001CD4B0 C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801D0554 001CD4B4 EC 41 00 72 */ fmuls f2, f1, f1 /* 801D0558 001CD4B8 C0 7E 00 14 */ lfs f3, 0x14(r30) /* 801D055C 001CD4BC EC 20 00 32 */ fmuls f1, f0, f0 /* 801D0560 001CD4C0 C0 02 AB EC */ lfs f0, lbl_805AC90C@sda21(r2) /* 801D0564 001CD4C4 EC 63 00 F2 */ fmuls f3, f3, f3 /* 801D0568 001CD4C8 EC 22 08 2A */ fadds f1, f2, f1 /* 801D056C 001CD4CC EC 23 08 2A */ fadds f1, f3, f1 /* 801D0570 001CD4D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D0574 001CD4D4 40 80 01 48 */ bge lbl_801D06BC /* 801D0578 001CD4D8 83 5B 01 14 */ lwz r26, 0x114(r27) /* 801D057C 001CD4DC 48 00 01 28 */ b lbl_801D06A4 lbl_801D0580: /* 801D0580 001CD4E0 A0 1A 00 00 */ lhz r0, 0(r26) /* 801D0584 001CD4E4 7F 83 E3 78 */ mr r3, r28 /* 801D0588 001CD4E8 38 81 00 10 */ addi r4, r1, 0x10 /* 801D058C 001CD4EC B0 01 00 10 */ sth r0, 0x10(r1) /* 801D0590 001CD4F0 4B E7 BF E5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801D0594 001CD4F4 7C 64 1B 78 */ mr r4, r3 /* 801D0598 001CD4F8 38 61 00 34 */ addi r3, r1, 0x34 /* 801D059C 001CD4FC 4B ED F6 F5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801D05A0 001CD500 80 A3 00 04 */ lwz r5, 4(r3) /* 801D05A4 001CD504 28 05 00 00 */ cmplwi r5, 0 /* 801D05A8 001CD508 41 82 00 BC */ beq lbl_801D0664 /* 801D05AC 001CD50C 88 1A 00 0D */ lbz r0, 0xd(r26) /* 801D05B0 001CD510 28 00 00 00 */ cmplwi r0, 0 /* 801D05B4 001CD514 41 82 00 3C */ beq lbl_801D05F0 /* 801D05B8 001CD518 88 DA 00 0C */ lbz r6, 0xc(r26) /* 801D05BC 001CD51C 7F 63 DB 78 */ mr r3, r27 /* 801D05C0 001CD520 C0 5A 00 04 */ lfs f2, 4(r26) /* 801D05C4 001CD524 7F C4 F3 78 */ mr r4, r30 /* 801D05C8 001CD528 C0 65 00 60 */ lfs f3, 0x60(r5) /* 801D05CC 001CD52C C0 25 00 50 */ lfs f1, 0x50(r5) /* 801D05D0 001CD530 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801D05D4 001CD534 38 A1 00 54 */ addi r5, r1, 0x54 /* 801D05D8 001CD538 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801D05DC 001CD53C D0 21 00 58 */ stfs f1, 0x58(r1) /* 801D05E0 001CD540 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 801D05E4 001CD544 C0 3A 00 08 */ lfs f1, 8(r26) /* 801D05E8 001CD548 4B FF E9 29 */ bl sub_801cef10 /* 801D05EC 001CD54C 48 00 00 B4 */ b lbl_801D06A0 lbl_801D05F0: /* 801D05F0 001CD550 88 1A 00 0C */ lbz r0, 0xc(r26) /* 801D05F4 001CD554 28 00 00 00 */ cmplwi r0, 0 /* 801D05F8 001CD558 41 82 00 38 */ beq lbl_801D0630 /* 801D05FC 001CD55C C0 5A 00 08 */ lfs f2, 8(r26) /* 801D0600 001CD560 7F 63 DB 78 */ mr r3, r27 /* 801D0604 001CD564 C0 3A 00 04 */ lfs f1, 4(r26) /* 801D0608 001CD568 7F C4 F3 78 */ mr r4, r30 /* 801D060C 001CD56C C0 85 00 60 */ lfs f4, 0x60(r5) /* 801D0610 001CD570 C0 65 00 50 */ lfs f3, 0x50(r5) /* 801D0614 001CD574 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801D0618 001CD578 38 A1 00 48 */ addi r5, r1, 0x48 /* 801D061C 001CD57C D0 01 00 48 */ stfs f0, 0x48(r1) /* 801D0620 001CD580 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801D0624 001CD584 D0 81 00 50 */ stfs f4, 0x50(r1) /* 801D0628 001CD588 4B FF E1 59 */ bl ApplyRepulsion__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff /* 801D062C 001CD58C 48 00 00 74 */ b lbl_801D06A0 lbl_801D0630: /* 801D0630 001CD590 C0 5A 00 08 */ lfs f2, 8(r26) /* 801D0634 001CD594 7F 63 DB 78 */ mr r3, r27 /* 801D0638 001CD598 C0 3A 00 04 */ lfs f1, 4(r26) /* 801D063C 001CD59C 7F C4 F3 78 */ mr r4, r30 /* 801D0640 001CD5A0 C0 85 00 60 */ lfs f4, 0x60(r5) /* 801D0644 001CD5A4 C0 65 00 50 */ lfs f3, 0x50(r5) /* 801D0648 001CD5A8 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801D064C 001CD5AC 38 A1 00 3C */ addi r5, r1, 0x3c /* 801D0650 001CD5B0 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801D0654 001CD5B4 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801D0658 001CD5B8 D0 81 00 44 */ stfs f4, 0x44(r1) /* 801D065C 001CD5BC 4B FF E1 45 */ bl ApplyAttraction__10CFishCloudFRQ210CFishCloud5CBoidRC9CVector3fff /* 801D0660 001CD5C0 48 00 00 40 */ b lbl_801D06A0 lbl_801D0664: /* 801D0664 001CD5C4 88 1A 00 0C */ lbz r0, 0xc(r26) /* 801D0668 001CD5C8 28 00 00 00 */ cmplwi r0, 0 /* 801D066C 001CD5CC 41 82 00 1C */ beq lbl_801D0688 /* 801D0670 001CD5D0 A0 1A 00 00 */ lhz r0, 0(r26) /* 801D0674 001CD5D4 7F 63 DB 78 */ mr r3, r27 /* 801D0678 001CD5D8 38 81 00 0C */ addi r4, r1, 0xc /* 801D067C 001CD5DC B0 01 00 0C */ sth r0, 0xc(r1) /* 801D0680 001CD5E0 48 00 03 1D */ bl sub_801d099c /* 801D0684 001CD5E4 48 00 00 38 */ b lbl_801D06BC lbl_801D0688: /* 801D0688 001CD5E8 A0 1A 00 00 */ lhz r0, 0(r26) /* 801D068C 001CD5EC 7F 63 DB 78 */ mr r3, r27 /* 801D0690 001CD5F0 38 81 00 08 */ addi r4, r1, 8 /* 801D0694 001CD5F4 B0 01 00 08 */ sth r0, 8(r1) /* 801D0698 001CD5F8 48 00 04 F9 */ bl sub_801d0b90 /* 801D069C 001CD5FC 48 00 00 20 */ b lbl_801D06BC lbl_801D06A0: /* 801D06A0 001CD600 3B 5A 00 10 */ addi r26, r26, 0x10 lbl_801D06A4: /* 801D06A4 001CD604 80 1B 01 0C */ lwz r0, 0x10c(r27) /* 801D06A8 001CD608 80 7B 01 14 */ lwz r3, 0x114(r27) /* 801D06AC 001CD60C 54 00 20 36 */ slwi r0, r0, 4 /* 801D06B0 001CD610 7C 03 02 14 */ add r0, r3, r0 /* 801D06B4 001CD614 7C 1A 00 40 */ cmplw r26, r0 /* 801D06B8 001CD618 40 82 FE C8 */ bne lbl_801D0580 lbl_801D06BC: /* 801D06BC 001CD61C 3B DE 00 24 */ addi r30, r30, 0x24 /* 801D06C0 001CD620 3B BD 00 01 */ addi r29, r29, 1 lbl_801D06C4: /* 801D06C4 001CD624 80 1B 00 EC */ lwz r0, 0xec(r27) /* 801D06C8 001CD628 83 5B 00 F4 */ lwz r26, 0xf4(r27) /* 801D06CC 001CD62C 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801D06D0 001CD630 7C 1A 02 14 */ add r0, r26, r0 /* 801D06D4 001CD634 7C 1E 00 40 */ cmplw r30, r0 /* 801D06D8 001CD638 40 82 FC C4 */ bne lbl_801D039C /* 801D06DC 001CD63C 48 00 00 84 */ b lbl_801D0760 lbl_801D06E0: /* 801D06E0 001CD640 88 1A 00 20 */ lbz r0, 0x20(r26) /* 801D06E4 001CD644 28 00 00 00 */ cmplwi r0, 0 /* 801D06E8 001CD648 41 82 00 74 */ beq lbl_801D075C /* 801D06EC 001CD64C 7F 63 DB 78 */ mr r3, r27 /* 801D06F0 001CD650 7F 44 D3 78 */ mr r4, r26 /* 801D06F4 001CD654 38 A1 00 94 */ addi r5, r1, 0x94 /* 801D06F8 001CD658 4B FF DF 91 */ bl ApplyContainment__10CFishCloudFRQ210CFishCloud5CBoidRC6CAABox /* 801D06FC 001CD65C 3B BA 00 0C */ addi r29, r26, 0xc /* 801D0700 001CD660 7F A3 EB 78 */ mr r3, r29 /* 801D0704 001CD664 48 14 41 B5 */ bl Magnitude__9CVector3fCFv /* 801D0708 001CD668 C0 42 AB B8 */ lfs f2, lbl_805AC8D8@sda21(r2) /* 801D070C 001CD66C C0 02 AB F0 */ lfs f0, lbl_805AC910@sda21(r2) /* 801D0710 001CD670 EC 41 10 28 */ fsubs f2, f1, f2 /* 801D0714 001CD674 FC 40 12 10 */ fabs f2, f2 /* 801D0718 001CD678 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801D071C 001CD67C 41 80 00 30 */ blt lbl_801D074C /* 801D0720 001CD680 C0 42 AB B4 */ lfs f2, lbl_805AC8D4@sda21(r2) /* 801D0724 001CD684 C0 1D 00 00 */ lfs f0, 0(r29) /* 801D0728 001CD688 EC 22 08 24 */ fdivs f1, f2, f1 /* 801D072C 001CD68C EC 00 00 72 */ fmuls f0, f0, f1 /* 801D0730 001CD690 D0 1D 00 00 */ stfs f0, 0(r29) /* 801D0734 001CD694 C0 1D 00 04 */ lfs f0, 4(r29) /* 801D0738 001CD698 EC 00 00 72 */ fmuls f0, f0, f1 /* 801D073C 001CD69C D0 1D 00 04 */ stfs f0, 4(r29) /* 801D0740 001CD6A0 C0 1D 00 08 */ lfs f0, 8(r29) /* 801D0744 001CD6A4 EC 00 00 72 */ fmuls f0, f0, f1 /* 801D0748 001CD6A8 D0 1D 00 08 */ stfs f0, 8(r29) lbl_801D074C: /* 801D074C 001CD6AC C0 22 AB F4 */ lfs f1, lbl_805AC914@sda21(r2) /* 801D0750 001CD6B0 C0 1D 00 08 */ lfs f0, 8(r29) /* 801D0754 001CD6B4 EC 01 00 32 */ fmuls f0, f1, f0 /* 801D0758 001CD6B8 D0 1D 00 08 */ stfs f0, 8(r29) lbl_801D075C: /* 801D075C 001CD6BC 3B 5A 00 24 */ addi r26, r26, 0x24 lbl_801D0760: /* 801D0760 001CD6C0 80 1B 00 EC */ lwz r0, 0xec(r27) /* 801D0764 001CD6C4 80 7B 00 F4 */ lwz r3, 0xf4(r27) /* 801D0768 001CD6C8 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801D076C 001CD6CC 7C 03 02 14 */ add r0, r3, r0 /* 801D0770 001CD6D0 7C 1A 00 40 */ cmplw r26, r0 /* 801D0774 001CD6D4 40 82 FF 6C */ bne lbl_801D06E0 /* 801D0778 001CD6D8 C0 3B 01 2C */ lfs f1, 0x12c(r27) /* 801D077C 001CD6DC C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801D0780 001CD6E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D0784 001CD6E4 40 81 00 10 */ ble lbl_801D0794 /* 801D0788 001CD6E8 EC 01 F8 28 */ fsubs f0, f1, f31 /* 801D078C 001CD6EC D0 1B 01 2C */ stfs f0, 0x12c(r27) /* 801D0790 001CD6F0 48 00 00 18 */ b lbl_801D07A8 lbl_801D0794: /* 801D0794 001CD6F4 D0 1B 01 2C */ stfs f0, 0x12c(r27) /* 801D0798 001CD6F8 38 60 00 00 */ li r3, 0 /* 801D079C 001CD6FC 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D07A0 001CD700 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D07A4 001CD704 98 1B 02 50 */ stb r0, 0x250(r27) lbl_801D07A8: /* 801D07A8 001CD708 83 5B 00 F4 */ lwz r26, 0xf4(r27) /* 801D07AC 001CD70C 48 00 00 8C */ b lbl_801D0838 lbl_801D07B0: /* 801D07B0 001CD710 88 1A 00 20 */ lbz r0, 0x20(r26) /* 801D07B4 001CD714 28 00 00 00 */ cmplwi r0, 0 /* 801D07B8 001CD718 41 82 00 7C */ beq lbl_801D0834 /* 801D07BC 001CD71C C0 1A 00 0C */ lfs f0, 0xc(r26) /* 801D07C0 001CD720 7F 63 DB 78 */ mr r3, r27 /* 801D07C4 001CD724 C0 3A 00 10 */ lfs f1, 0x10(r26) /* 801D07C8 001CD728 7F 45 D3 78 */ mr r5, r26 /* 801D07CC 001CD72C EC 1F 00 32 */ fmuls f0, f31, f0 /* 801D07D0 001CD730 C0 9B 01 30 */ lfs f4, 0x130(r27) /* 801D07D4 001CD734 EC 7F 00 72 */ fmuls f3, f31, f1 /* 801D07D8 001CD738 C0 5A 00 14 */ lfs f2, 0x14(r26) /* 801D07DC 001CD73C C0 3A 00 00 */ lfs f1, 0(r26) /* 801D07E0 001CD740 38 81 00 94 */ addi r4, r1, 0x94 /* 801D07E4 001CD744 EC 04 00 32 */ fmuls f0, f4, f0 /* 801D07E8 001CD748 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801D07EC 001CD74C EC 64 00 F2 */ fmuls f3, f4, f3 /* 801D07F0 001CD750 EC 01 00 2A */ fadds f0, f1, f0 /* 801D07F4 001CD754 EC 24 00 B2 */ fmuls f1, f4, f2 /* 801D07F8 001CD758 D0 1A 00 00 */ stfs f0, 0(r26) /* 801D07FC 001CD75C C0 1A 00 04 */ lfs f0, 4(r26) /* 801D0800 001CD760 EC 00 18 2A */ fadds f0, f0, f3 /* 801D0804 001CD764 D0 1A 00 04 */ stfs f0, 4(r26) /* 801D0808 001CD768 C0 1A 00 08 */ lfs f0, 8(r26) /* 801D080C 001CD76C EC 00 08 2A */ fadds f0, f0, f1 /* 801D0810 001CD770 D0 1A 00 08 */ stfs f0, 8(r26) /* 801D0814 001CD774 48 00 14 AD */ bl PointInBox__10CFishCloudCFRC6CAABoxRC9CVector3f /* 801D0818 001CD778 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D081C 001CD77C 40 82 00 18 */ bne lbl_801D0834 /* 801D0820 001CD780 7F 63 DB 78 */ mr r3, r27 /* 801D0824 001CD784 7F 84 E3 78 */ mr r4, r28 /* 801D0828 001CD788 7F 45 D3 78 */ mr r5, r26 /* 801D082C 001CD78C 38 C1 00 94 */ addi r6, r1, 0x94 /* 801D0830 001CD790 48 00 0D 91 */ bl PlaceBoid__10CFishCloudFR13CStateManagerRQ210CFishCloud5CBoidRC6CAABox lbl_801D0834: /* 801D0834 001CD794 3B 5A 00 24 */ addi r26, r26, 0x24 lbl_801D0838: /* 801D0838 001CD798 80 1B 00 EC */ lwz r0, 0xec(r27) /* 801D083C 001CD79C 80 7B 00 F4 */ lwz r3, 0xf4(r27) /* 801D0840 001CD7A0 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801D0844 001CD7A4 7C 03 02 14 */ add r0, r3, r0 /* 801D0848 001CD7A8 7C 1A 00 40 */ cmplw r26, r0 /* 801D084C 001CD7AC 40 82 FF 64 */ bne lbl_801D07B0 /* 801D0850 001CD7B0 88 1B 02 50 */ lbz r0, 0x250(r27) /* 801D0854 001CD7B4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801D0858 001CD7B8 41 82 00 5C */ beq lbl_801D08B4 /* 801D085C 001CD7BC 3B A0 00 00 */ li r29, 0 /* 801D0860 001CD7C0 3B 5B 01 B4 */ addi r26, r27, 0x1b4 lbl_801D0864: /* 801D0864 001CD7C4 80 7A 00 00 */ lwz r3, 0(r26) /* 801D0868 001CD7C8 C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801D086C 001CD7CC 80 63 00 00 */ lwz r3, 0(r3) /* 801D0870 001CD7D0 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D0874 001CD7D4 4B E5 AB F5 */ bl SetPlaybackRate__9CAnimDataFf /* 801D0878 001CD7D8 80 1B 00 04 */ lwz r0, 4(r27) /* 801D087C 001CD7DC FC 20 F8 90 */ fmr f1, f31 /* 801D0880 001CD7E0 7F 85 E3 78 */ mr r5, r28 /* 801D0884 001CD7E4 38 61 00 60 */ addi r3, r1, 0x60 /* 801D0888 001CD7E8 90 01 00 18 */ stw r0, 0x18(r1) /* 801D088C 001CD7EC 38 C1 00 18 */ addi r6, r1, 0x18 /* 801D0890 001CD7F0 38 E0 00 01 */ li r7, 1 /* 801D0894 001CD7F4 80 9A 00 00 */ lwz r4, 0(r26) /* 801D0898 001CD7F8 90 01 00 14 */ stw r0, 0x14(r1) /* 801D089C 001CD7FC 80 84 00 00 */ lwz r4, 0(r4) /* 801D08A0 001CD800 4B F4 52 95 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801D08A4 001CD804 3B BD 00 01 */ addi r29, r29, 1 /* 801D08A8 001CD808 3B 5A 00 04 */ addi r26, r26, 4 /* 801D08AC 001CD80C 2C 1D 00 04 */ cmpwi r29, 4 /* 801D08B0 001CD810 41 80 FF B4 */ blt lbl_801D0864 lbl_801D08B4: /* 801D08B4 001CD814 80 A1 00 AC */ lwz r5, 0xac(r1) /* 801D08B8 001CD818 38 60 00 00 */ li r3, 0 /* 801D08BC 001CD81C 2C 05 00 00 */ cmpwi r5, 0 /* 801D08C0 001CD820 40 81 00 40 */ ble lbl_801D0900 /* 801D08C4 001CD824 2C 05 00 08 */ cmpwi r5, 8 /* 801D08C8 001CD828 38 85 FF F8 */ addi r4, r5, -8 /* 801D08CC 001CD82C 40 81 00 20 */ ble lbl_801D08EC /* 801D08D0 001CD830 38 04 00 07 */ addi r0, r4, 7 /* 801D08D4 001CD834 54 00 E8 FE */ srwi r0, r0, 3 /* 801D08D8 001CD838 7C 09 03 A6 */ mtctr r0 /* 801D08DC 001CD83C 2C 04 00 00 */ cmpwi r4, 0 /* 801D08E0 001CD840 40 81 00 0C */ ble lbl_801D08EC lbl_801D08E4: /* 801D08E4 001CD844 38 63 00 08 */ addi r3, r3, 8 /* 801D08E8 001CD848 42 00 FF FC */ bdnz lbl_801D08E4 lbl_801D08EC: /* 801D08EC 001CD84C 7C 03 28 50 */ subf r0, r3, r5 /* 801D08F0 001CD850 7C 09 03 A6 */ mtctr r0 /* 801D08F4 001CD854 7C 03 28 00 */ cmpw r3, r5 /* 801D08F8 001CD858 40 80 00 08 */ bge lbl_801D0900 lbl_801D08FC: /* 801D08FC 001CD85C 42 00 00 00 */ bdnz lbl_801D08FC lbl_801D0900: /* 801D0900 001CD860 38 00 00 00 */ li r0, 0 /* 801D0904 001CD864 90 01 00 AC */ stw r0, 0xac(r1) lbl_801D0908: /* 801D0908 001CD868 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 /* 801D090C 001CD86C CB E1 01 40 */ lfd f31, 0x140(r1) /* 801D0910 001CD870 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 /* 801D0914 001CD874 CB C1 01 30 */ lfd f30, 0x130(r1) /* 801D0918 001CD878 BB 41 01 18 */ lmw r26, 0x118(r1) /* 801D091C 001CD87C 80 01 01 54 */ lwz r0, 0x154(r1) /* 801D0920 001CD880 7C 08 03 A6 */ mtlr r0 /* 801D0924 001CD884 38 21 01 50 */ addi r1, r1, 0x150 /* 801D0928 001CD888 4E 80 00 20 */ blr .global GetTouchBounds__10CFishCloudCFv GetTouchBounds__10CFishCloudCFv: /* 801D092C 001CD88C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D0930 001CD890 7C 08 02 A6 */ mflr r0 /* 801D0934 001CD894 90 01 00 34 */ stw r0, 0x34(r1) /* 801D0938 001CD898 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D093C 001CD89C 7C 7F 1B 78 */ mr r31, r3 /* 801D0940 001CD8A0 38 61 00 08 */ addi r3, r1, 8 /* 801D0944 001CD8A4 48 00 14 9D */ bl GetBoundingBox__10CFishCloudCFv /* 801D0948 001CD8A8 38 00 00 01 */ li r0, 1 /* 801D094C 001CD8AC 28 1F 00 00 */ cmplwi r31, 0 /* 801D0950 001CD8B0 98 1F 00 18 */ stb r0, 0x18(r31) /* 801D0954 001CD8B4 41 82 00 34 */ beq lbl_801D0988 /* 801D0958 001CD8B8 C0 01 00 08 */ lfs f0, 8(r1) /* 801D095C 001CD8BC D0 1F 00 00 */ stfs f0, 0(r31) /* 801D0960 001CD8C0 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801D0964 001CD8C4 D0 1F 00 04 */ stfs f0, 4(r31) /* 801D0968 001CD8C8 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801D096C 001CD8CC D0 1F 00 08 */ stfs f0, 8(r31) /* 801D0970 001CD8D0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801D0974 001CD8D4 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801D0978 001CD8D8 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801D097C 001CD8DC D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801D0980 001CD8E0 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801D0984 001CD8E4 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801D0988: /* 801D0988 001CD8E8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D098C 001CD8EC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D0990 001CD8F0 7C 08 03 A6 */ mtlr r0 /* 801D0994 001CD8F4 38 21 00 30 */ addi r1, r1, 0x30 /* 801D0998 001CD8F8 4E 80 00 20 */ blr .global sub_801d099c sub_801d099c: /* 801D099C 001CD8FC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D09A0 001CD900 7C 08 02 A6 */ mflr r0 /* 801D09A4 001CD904 C0 22 AB B8 */ lfs f1, lbl_805AC8D8@sda21(r2) /* 801D09A8 001CD908 38 A0 00 01 */ li r5, 1 /* 801D09AC 001CD90C 90 01 00 54 */ stw r0, 0x54(r1) /* 801D09B0 001CD910 38 C0 00 00 */ li r6, 0 /* 801D09B4 001CD914 FC 40 08 90 */ fmr f2, f1 /* 801D09B8 001CD918 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801D09BC 001CD91C 93 C1 00 48 */ stw r30, 0x48(r1) /* 801D09C0 001CD920 7C 7E 1B 78 */ mr r30, r3 /* 801D09C4 001CD924 38 61 00 30 */ addi r3, r1, 0x30 /* 801D09C8 001CD928 48 00 24 F5 */ bl __ct__Q210CFishCloud15CModifierSourceFRC9TUniqueIdbff /* 801D09CC 001CD92C 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801D09D0 001CD930 38 61 00 0C */ addi r3, r1, 0xc /* 801D09D4 001CD934 80 DE 01 14 */ lwz r6, 0x114(r30) /* 801D09D8 001CD938 38 81 00 10 */ addi r4, r1, 0x10 /* 801D09DC 001CD93C 54 00 20 36 */ slwi r0, r0, 4 /* 801D09E0 001CD940 38 A1 00 14 */ addi r5, r1, 0x14 /* 801D09E4 001CD944 7C E6 02 14 */ add r7, r6, r0 /* 801D09E8 001CD948 38 C1 00 30 */ addi r6, r1, 0x30 /* 801D09EC 001CD94C 90 E1 00 24 */ stw r7, 0x24(r1) /* 801D09F0 001CD950 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801D09F4 001CD954 90 E1 00 20 */ stw r7, 0x20(r1) /* 801D09F8 001CD958 90 01 00 28 */ stw r0, 0x28(r1) /* 801D09FC 001CD95C 90 E1 00 14 */ stw r7, 0x14(r1) /* 801D0A00 001CD960 90 01 00 10 */ stw r0, 0x10(r1) /* 801D0A04 001CD964 48 00 29 B9 */ bl "lower_bound,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iteratorFi" /* 801D1374 001CE2D4 7F C4 F3 78 */ mr r4, r30 /* 801D1378 001CE2D8 38 61 00 30 */ addi r3, r1, 0x30 /* 801D137C 001CE2DC 48 00 09 FD */ bl GetUntransformedBoundingBox__10CFishCloudCFv /* 801D1380 001CE2E0 C0 01 00 30 */ lfs f0, 0x30(r1) /* 801D1384 001CE2E4 3B 80 00 00 */ li r28, 0 /* 801D1388 001CE2E8 C0 E1 00 34 */ lfs f7, 0x34(r1) /* 801D138C 001CE2EC C0 C1 00 38 */ lfs f6, 0x38(r1) /* 801D1390 001CE2F0 FE A0 00 18 */ frsp f21, f0 /* 801D1394 001CE2F4 C0 A1 00 3C */ lfs f5, 0x3c(r1) /* 801D1398 001CE2F8 FF C0 38 18 */ frsp f30, f7 /* 801D139C 001CE2FC C0 81 00 40 */ lfs f4, 0x40(r1) /* 801D13A0 001CE300 FF 80 30 18 */ frsp f28, f6 /* 801D13A4 001CE304 C0 61 00 44 */ lfs f3, 0x44(r1) /* 801D13A8 001CE308 FC 20 20 18 */ frsp f1, f4 /* 801D13AC 001CE30C D0 01 00 48 */ stfs f0, 0x48(r1) /* 801D13B0 001CE310 FC 40 18 18 */ frsp f2, f3 /* 801D13B4 001CE314 83 BF 09 00 */ lwz r29, 0x900(r31) /* 801D13B8 001CE318 FC 00 28 18 */ frsp f0, f5 /* 801D13BC 001CE31C D0 E1 00 4C */ stfs f7, 0x4c(r1) /* 801D13C0 001CE320 EF A2 E0 28 */ fsubs f29, f2, f28 /* 801D13C4 001CE324 D0 C1 00 50 */ stfs f6, 0x50(r1) /* 801D13C8 001CE328 EF E1 F0 28 */ fsubs f31, f1, f30 /* 801D13CC 001CE32C C2 C2 AB CC */ lfs f22, lbl_805AC8EC@sda21(r2) /* 801D13D0 001CE330 EF 60 A8 28 */ fsubs f27, f0, f21 /* 801D13D4 001CE334 D0 A1 00 54 */ stfs f5, 0x54(r1) /* 801D13D8 001CE338 D0 81 00 58 */ stfs f4, 0x58(r1) /* 801D13DC 001CE33C C2 E2 AB B8 */ lfs f23, lbl_805AC8D8@sda21(r2) /* 801D13E0 001CE340 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 801D13E4 001CE344 C3 02 AB E0 */ lfs f24, lbl_805AC900@sda21(r2) /* 801D13E8 001CE348 C3 22 AB F8 */ lfs f25, lbl_805AC918@sda21(r2) /* 801D13EC 001CE34C 48 00 01 24 */ b lbl_801D1510 lbl_801D13F0: /* 801D13F0 001CE350 7F A3 EB 78 */ mr r3, r29 /* 801D13F4 001CE354 48 14 10 E9 */ bl Float__9CRandom16Fv /* 801D13F8 001CE358 EE 81 E7 7A */ fmadds f20, f1, f29, f28 /* 801D13FC 001CE35C 7F A3 EB 78 */ mr r3, r29 /* 801D1400 001CE360 48 14 10 DD */ bl Float__9CRandom16Fv /* 801D1404 001CE364 EF 41 F7 FA */ fmadds f26, f1, f31, f30 /* 801D1408 001CE368 7F A3 EB 78 */ mr r3, r29 /* 801D140C 001CE36C 48 14 10 D1 */ bl Float__9CRandom16Fv /* 801D1410 001CE370 EC 01 AE FA */ fmadds f0, f1, f27, f21 /* 801D1414 001CE374 D3 41 00 28 */ stfs f26, 0x28(r1) /* 801D1418 001CE378 7F A3 EB 78 */ mr r3, r29 /* 801D141C 001CE37C D2 81 00 2C */ stfs f20, 0x2c(r1) /* 801D1420 001CE380 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801D1424 001CE384 48 14 10 B9 */ bl Float__9CRandom16Fv /* 801D1428 001CE388 EE 81 B0 28 */ fsubs f20, f1, f22 /* 801D142C 001CE38C 7F A3 EB 78 */ mr r3, r29 /* 801D1430 001CE390 48 14 10 AD */ bl Float__9CRandom16Fv /* 801D1434 001CE394 EC 01 B0 28 */ fsubs f0, f1, f22 /* 801D1438 001CE398 D2 81 00 10 */ stfs f20, 0x10(r1) /* 801D143C 001CE39C 7F A3 EB 78 */ mr r3, r29 /* 801D1440 001CE3A0 D2 E1 00 14 */ stfs f23, 0x14(r1) /* 801D1444 001CE3A4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801D1448 001CE3A8 48 14 10 95 */ bl Float__9CRandom16Fv /* 801D144C 001CE3AC C0 42 AB FC */ lfs f2, lbl_805AC91C@sda21(r2) /* 801D1450 001CE3B0 48 14 3E DD */ bl PowF__5CMathFff /* 801D1454 001CE3B4 EF 58 C8 7A */ fmadds f26, f24, f1, f25 /* 801D1458 001CE3B8 38 61 00 18 */ addi r3, r1, 0x18 /* 801D145C 001CE3BC 38 9E 00 34 */ addi r4, r30, 0x34 /* 801D1460 001CE3C0 38 A1 00 24 */ addi r5, r1, 0x24 /* 801D1464 001CE3C4 48 14 16 85 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801D1468 001CE3C8 FC 20 D0 90 */ fmr f1, f26 /* 801D146C 001CE3CC 38 61 00 60 */ addi r3, r1, 0x60 /* 801D1470 001CE3D0 38 81 00 18 */ addi r4, r1, 0x18 /* 801D1474 001CE3D4 38 A1 00 0C */ addi r5, r1, 0xc /* 801D1478 001CE3D8 48 00 19 CD */ bl __ct__Q210CFishCloud5CBoidFRC9CVector3fRC9CVector3ff /* 801D147C 001CE3DC 80 1E 00 EC */ lwz r0, 0xec(r30) /* 801D1480 001CE3E0 80 BE 00 F0 */ lwz r5, 0xf0(r30) /* 801D1484 001CE3E4 7C 00 28 00 */ cmpw r0, r5 /* 801D1488 001CE3E8 41 80 00 1C */ blt lbl_801D14A4 /* 801D148C 001CE3EC 2C 05 00 00 */ cmpwi r5, 0 /* 801D1490 001CE3F0 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801D1494 001CE3F4 38 80 00 04 */ li r4, 4 /* 801D1498 001CE3F8 41 82 00 08 */ beq lbl_801D14A0 /* 801D149C 001CE3FC 54 A4 08 3C */ slwi r4, r5, 1 lbl_801D14A0: /* 801D14A0 001CE400 48 00 21 D9 */ bl "reserve__Q24rstl55vectorFi" lbl_801D14A4: /* 801D14A4 001CE404 80 1E 00 EC */ lwz r0, 0xec(r30) /* 801D14A8 001CE408 80 7E 00 F4 */ lwz r3, 0xf4(r30) /* 801D14AC 001CE40C 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801D14B0 001CE410 7C 63 02 15 */ add. r3, r3, r0 /* 801D14B4 001CE414 41 82 00 4C */ beq lbl_801D1500 /* 801D14B8 001CE418 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801D14BC 001CE41C D0 03 00 00 */ stfs f0, 0(r3) /* 801D14C0 001CE420 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801D14C4 001CE424 D0 03 00 04 */ stfs f0, 4(r3) /* 801D14C8 001CE428 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801D14CC 001CE42C D0 03 00 08 */ stfs f0, 8(r3) /* 801D14D0 001CE430 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801D14D4 001CE434 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801D14D8 001CE438 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801D14DC 001CE43C D0 03 00 10 */ stfs f0, 0x10(r3) /* 801D14E0 001CE440 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801D14E4 001CE444 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801D14E8 001CE448 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801D14EC 001CE44C D0 03 00 18 */ stfs f0, 0x18(r3) /* 801D14F0 001CE450 80 01 00 7C */ lwz r0, 0x7c(r1) /* 801D14F4 001CE454 90 03 00 1C */ stw r0, 0x1c(r3) /* 801D14F8 001CE458 88 01 00 80 */ lbz r0, 0x80(r1) /* 801D14FC 001CE45C 98 03 00 20 */ stb r0, 0x20(r3) lbl_801D1500: /* 801D1500 001CE460 80 7E 00 EC */ lwz r3, 0xec(r30) /* 801D1504 001CE464 3B 9C 00 01 */ addi r28, r28, 1 /* 801D1508 001CE468 38 03 00 01 */ addi r0, r3, 1 /* 801D150C 001CE46C 90 1E 00 EC */ stw r0, 0xec(r30) lbl_801D1510: /* 801D1510 001CE470 80 1E 00 F0 */ lwz r0, 0xf0(r30) /* 801D1514 001CE474 7C 1C 00 00 */ cmpw r28, r0 /* 801D1518 001CE478 41 80 FE D8 */ blt lbl_801D13F0 /* 801D151C 001CE47C 7F C3 F3 78 */ mr r3, r30 /* 801D1520 001CE480 4B FF E2 E5 */ bl CreatePartitionList__10CFishCloudFv /* 801D1524 001CE484 88 1E 02 50 */ lbz r0, 0x250(r30) /* 801D1528 001CE488 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801D152C 001CE48C 41 82 00 14 */ beq lbl_801D1540 /* 801D1530 001CE490 7F C3 F3 78 */ mr r3, r30 /* 801D1534 001CE494 7F E4 FB 78 */ mr r4, r31 /* 801D1538 001CE498 38 A0 00 00 */ li r5, 0 /* 801D153C 001CE49C 48 00 09 ED */ bl sub_801d1f28 lbl_801D1540: /* 801D1540 001CE4A0 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 /* 801D1544 001CE4A4 CB E1 01 50 */ lfd f31, 0x150(r1) /* 801D1548 001CE4A8 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 /* 801D154C 001CE4AC CB C1 01 40 */ lfd f30, 0x140(r1) /* 801D1550 001CE4B0 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 /* 801D1554 001CE4B4 CB A1 01 30 */ lfd f29, 0x130(r1) /* 801D1558 001CE4B8 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 /* 801D155C 001CE4BC CB 81 01 20 */ lfd f28, 0x120(r1) /* 801D1560 001CE4C0 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 /* 801D1564 001CE4C4 CB 61 01 10 */ lfd f27, 0x110(r1) /* 801D1568 001CE4C8 E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 /* 801D156C 001CE4CC CB 41 01 00 */ lfd f26, 0x100(r1) /* 801D1570 001CE4D0 E3 21 00 F8 */ psq_l f25, 248(r1), 0, qr0 /* 801D1574 001CE4D4 CB 21 00 F0 */ lfd f25, 0xf0(r1) /* 801D1578 001CE4D8 E3 01 00 E8 */ psq_l f24, 232(r1), 0, qr0 /* 801D157C 001CE4DC CB 01 00 E0 */ lfd f24, 0xe0(r1) /* 801D1580 001CE4E0 E2 E1 00 D8 */ psq_l f23, 216(r1), 0, qr0 /* 801D1584 001CE4E4 CA E1 00 D0 */ lfd f23, 0xd0(r1) /* 801D1588 001CE4E8 E2 C1 00 C8 */ psq_l f22, 200(r1), 0, qr0 /* 801D158C 001CE4EC CA C1 00 C0 */ lfd f22, 0xc0(r1) /* 801D1590 001CE4F0 E2 A1 00 B8 */ psq_l f21, 184(r1), 0, qr0 /* 801D1594 001CE4F4 CA A1 00 B0 */ lfd f21, 0xb0(r1) /* 801D1598 001CE4F8 E2 81 00 A8 */ psq_l f20, 168(r1), 0, qr0 /* 801D159C 001CE4FC CA 81 00 A0 */ lfd f20, 0xa0(r1) /* 801D15A0 001CE500 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801D15A4 001CE504 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801D15A8 001CE508 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801D15AC 001CE50C 80 01 01 64 */ lwz r0, 0x164(r1) /* 801D15B0 001CE510 83 81 00 90 */ lwz r28, 0x90(r1) /* 801D15B4 001CE514 7C 08 03 A6 */ mtlr r0 /* 801D15B8 001CE518 38 21 01 60 */ addi r1, r1, 0x160 /* 801D15BC 001CE51C 4E 80 00 20 */ blr .global PlaceBoid__10CFishCloudFR13CStateManagerRQ210CFishCloud5CBoidRC6CAABox PlaceBoid__10CFishCloudFR13CStateManagerRQ210CFishCloud5CBoidRC6CAABox: /* 801D15C0 001CE520 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801D15C4 001CE524 7C 08 02 A6 */ mflr r0 /* 801D15C8 001CE528 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801D15CC 001CE52C DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801D15D0 001CE530 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801D15D4 001CE534 DB C1 00 90 */ stfd f30, 0x90(r1) /* 801D15D8 001CE538 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801D15DC 001CE53C DB A1 00 80 */ stfd f29, 0x80(r1) /* 801D15E0 001CE540 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 801D15E4 001CE544 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801D15E8 001CE548 93 C1 00 78 */ stw r30, 0x78(r1) /* 801D15EC 001CE54C 93 A1 00 74 */ stw r29, 0x74(r1) /* 801D15F0 001CE550 93 81 00 70 */ stw r28, 0x70(r1) /* 801D15F4 001CE554 7C 7C 1B 78 */ mr r28, r3 /* 801D15F8 001CE558 83 E4 09 00 */ lwz r31, 0x900(r4) /* 801D15FC 001CE55C 7C BD 2B 78 */ mr r29, r5 /* 801D1600 001CE560 7C DE 33 78 */ mr r30, r6 /* 801D1604 001CE564 7F 84 E3 78 */ mr r4, r28 /* 801D1608 001CE568 38 61 00 14 */ addi r3, r1, 0x14 /* 801D160C 001CE56C 7F C5 F3 78 */ mr r5, r30 /* 801D1610 001CE570 7F A6 EB 78 */ mr r6, r29 /* 801D1614 001CE574 48 00 02 41 */ bl FindClosestPlane__10CFishCloudCFRC6CAABoxRC9CVector3f /* 801D1618 001CE578 C0 E1 00 18 */ lfs f7, 0x18(r1) /* 801D161C 001CE57C 7F E3 FB 78 */ mr r3, r31 /* 801D1620 001CE580 C0 1D 00 04 */ lfs f0, 4(r29) /* 801D1624 001CE584 C1 01 00 14 */ lfs f8, 0x14(r1) /* 801D1628 001CE588 EC 07 00 32 */ fmuls f0, f7, f0 /* 801D162C 001CE58C C0 3D 00 00 */ lfs f1, 0(r29) /* 801D1630 001CE590 C0 62 AC 00 */ lfs f3, lbl_805AC920@sda21(r2) /* 801D1634 001CE594 C0 C1 00 1C */ lfs f6, 0x1c(r1) /* 801D1638 001CE598 EC 08 00 7A */ fmadds f0, f8, f1, f0 /* 801D163C 001CE59C C0 3D 00 08 */ lfs f1, 8(r29) /* 801D1640 001CE5A0 C0 A1 00 20 */ lfs f5, 0x20(r1) /* 801D1644 001CE5A4 EC 43 02 32 */ fmuls f2, f3, f8 /* 801D1648 001CE5A8 C0 9D 00 00 */ lfs f4, 0(r29) /* 801D164C 001CE5AC ED 43 01 F2 */ fmuls f10, f3, f7 /* 801D1650 001CE5B0 EC 06 00 7A */ fmadds f0, f6, f1, f0 /* 801D1654 001CE5B4 D1 01 00 30 */ stfs f8, 0x30(r1) /* 801D1658 001CE5B8 ED 23 01 B2 */ fmuls f9, f3, f6 /* 801D165C 001CE5BC D0 E1 00 34 */ stfs f7, 0x34(r1) /* 801D1660 001CE5C0 EC 00 28 28 */ fsubs f0, f0, f5 /* 801D1664 001CE5C4 D0 C1 00 38 */ stfs f6, 0x38(r1) /* 801D1668 001CE5C8 EC 60 02 32 */ fmuls f3, f0, f8 /* 801D166C 001CE5CC D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801D1670 001CE5D0 EC 20 01 F2 */ fmuls f1, f0, f7 /* 801D1674 001CE5D4 EC 00 01 B2 */ fmuls f0, f0, f6 /* 801D1678 001CE5D8 EC 43 10 2A */ fadds f2, f3, f2 /* 801D167C 001CE5DC EC 21 50 2A */ fadds f1, f1, f10 /* 801D1680 001CE5E0 EC 00 48 2A */ fadds f0, f0, f9 /* 801D1684 001CE5E4 EC 44 10 28 */ fsubs f2, f4, f2 /* 801D1688 001CE5E8 D0 5D 00 00 */ stfs f2, 0(r29) /* 801D168C 001CE5EC C0 5D 00 04 */ lfs f2, 4(r29) /* 801D1690 001CE5F0 EC 22 08 28 */ fsubs f1, f2, f1 /* 801D1694 001CE5F4 D0 3D 00 04 */ stfs f1, 4(r29) /* 801D1698 001CE5F8 C0 3D 00 08 */ lfs f1, 8(r29) /* 801D169C 001CE5FC EC 01 00 28 */ fsubs f0, f1, f0 /* 801D16A0 001CE600 D0 1D 00 08 */ stfs f0, 8(r29) /* 801D16A4 001CE604 48 14 0E 39 */ bl Float__9CRandom16Fv /* 801D16A8 001CE608 C0 02 AB CC */ lfs f0, lbl_805AC8EC@sda21(r2) /* 801D16AC 001CE60C 7F E3 FB 78 */ mr r3, r31 /* 801D16B0 001CE610 EF C1 00 28 */ fsubs f30, f1, f0 /* 801D16B4 001CE614 48 14 0E 29 */ bl Float__9CRandom16Fv /* 801D16B8 001CE618 C0 42 AB CC */ lfs f2, lbl_805AC8EC@sda21(r2) /* 801D16BC 001CE61C C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801D16C0 001CE620 EC 21 10 28 */ fsubs f1, f1, f2 /* 801D16C4 001CE624 D0 3D 00 0C */ stfs f1, 0xc(r29) /* 801D16C8 001CE628 D3 DD 00 10 */ stfs f30, 0x10(r29) /* 801D16CC 001CE62C D0 1D 00 14 */ stfs f0, 0x14(r29) /* 801D16D0 001CE630 88 1C 02 50 */ lbz r0, 0x250(r28) /* 801D16D4 001CE634 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801D16D8 001CE638 40 82 00 78 */ bne lbl_801D1750 /* 801D16DC 001CE63C 7F C3 F3 78 */ mr r3, r30 /* 801D16E0 001CE640 7F A4 EB 78 */ mr r4, r29 /* 801D16E4 001CE644 48 16 5E 51 */ bl PointInside__6CAABoxCFRC9CVector3f /* 801D16E8 001CE648 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D16EC 001CE64C 40 82 01 30 */ bne lbl_801D181C /* 801D16F0 001CE650 C3 BE 00 00 */ lfs f29, 0(r30) /* 801D16F4 001CE654 7F E3 FB 78 */ mr r3, r31 /* 801D16F8 001CE658 C3 DE 00 04 */ lfs f30, 4(r30) /* 801D16FC 001CE65C C3 FE 00 08 */ lfs f31, 8(r30) /* 801D1700 001CE660 48 14 0D DD */ bl Float__9CRandom16Fv /* 801D1704 001CE664 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 801D1708 001CE668 7F E3 FB 78 */ mr r3, r31 /* 801D170C 001CE66C EC 00 F8 28 */ fsubs f0, f0, f31 /* 801D1710 001CE670 EF E1 F8 3A */ fmadds f31, f1, f0, f31 /* 801D1714 001CE674 48 14 0D C9 */ bl Float__9CRandom16Fv /* 801D1718 001CE678 C0 5E 00 10 */ lfs f2, 0x10(r30) /* 801D171C 001CE67C 7F E3 FB 78 */ mr r3, r31 /* 801D1720 001CE680 C0 1E 00 04 */ lfs f0, 4(r30) /* 801D1724 001CE684 EC 02 00 28 */ fsubs f0, f2, f0 /* 801D1728 001CE688 EF C1 F0 3A */ fmadds f30, f1, f0, f30 /* 801D172C 001CE68C 48 14 0D B1 */ bl Float__9CRandom16Fv /* 801D1730 001CE690 C0 5E 00 0C */ lfs f2, 0xc(r30) /* 801D1734 001CE694 C0 1E 00 00 */ lfs f0, 0(r30) /* 801D1738 001CE698 EC 02 00 28 */ fsubs f0, f2, f0 /* 801D173C 001CE69C EC 01 E8 3A */ fmadds f0, f1, f0, f29 /* 801D1740 001CE6A0 D0 1D 00 00 */ stfs f0, 0(r29) /* 801D1744 001CE6A4 D3 DD 00 04 */ stfs f30, 4(r29) /* 801D1748 001CE6A8 D3 FD 00 08 */ stfs f31, 8(r29) /* 801D174C 001CE6AC 48 00 00 D0 */ b lbl_801D181C lbl_801D1750: /* 801D1750 001CE6B0 7F 83 E3 78 */ mr r3, r28 /* 801D1754 001CE6B4 7F C4 F3 78 */ mr r4, r30 /* 801D1758 001CE6B8 7F A5 EB 78 */ mr r5, r29 /* 801D175C 001CE6BC 48 00 05 65 */ bl PointInBox__10CFishCloudCFRC6CAABoxRC9CVector3f /* 801D1760 001CE6C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D1764 001CE6C4 40 82 00 B8 */ bne lbl_801D181C /* 801D1768 001CE6C8 7F 84 E3 78 */ mr r4, r28 /* 801D176C 001CE6CC 38 61 00 40 */ addi r3, r1, 0x40 /* 801D1770 001CE6D0 48 00 06 09 */ bl GetUntransformedBoundingBox__10CFishCloudCFv /* 801D1774 001CE6D4 C0 61 00 40 */ lfs f3, 0x40(r1) /* 801D1778 001CE6D8 7F E3 FB 78 */ mr r3, r31 /* 801D177C 001CE6DC C3 C1 00 44 */ lfs f30, 0x44(r1) /* 801D1780 001CE6E0 C3 E1 00 48 */ lfs f31, 0x48(r1) /* 801D1784 001CE6E4 C0 41 00 4C */ lfs f2, 0x4c(r1) /* 801D1788 001CE6E8 C0 21 00 50 */ lfs f1, 0x50(r1) /* 801D178C 001CE6EC C0 01 00 54 */ lfs f0, 0x54(r1) /* 801D1790 001CE6F0 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801D1794 001CE6F4 D3 C1 00 5C */ stfs f30, 0x5c(r1) /* 801D1798 001CE6F8 D3 E1 00 60 */ stfs f31, 0x60(r1) /* 801D179C 001CE6FC D0 41 00 64 */ stfs f2, 0x64(r1) /* 801D17A0 001CE700 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801D17A4 001CE704 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801D17A8 001CE708 48 14 0D 35 */ bl Float__9CRandom16Fv /* 801D17AC 001CE70C C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801D17B0 001CE710 7F E3 FB 78 */ mr r3, r31 /* 801D17B4 001CE714 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801D17B8 001CE718 EF E1 F8 3A */ fmadds f31, f1, f0, f31 /* 801D17BC 001CE71C 48 14 0D 21 */ bl Float__9CRandom16Fv /* 801D17C0 001CE720 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801D17C4 001CE724 7F E3 FB 78 */ mr r3, r31 /* 801D17C8 001CE728 C0 41 00 64 */ lfs f2, 0x64(r1) /* 801D17CC 001CE72C EC 60 F0 28 */ fsubs f3, f0, f30 /* 801D17D0 001CE730 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801D17D4 001CE734 EF A2 00 28 */ fsubs f29, f2, f0 /* 801D17D8 001CE738 EF C1 F0 FA */ fmadds f30, f1, f3, f30 /* 801D17DC 001CE73C 48 14 0D 01 */ bl Float__9CRandom16Fv /* 801D17E0 001CE740 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801D17E4 001CE744 38 61 00 08 */ addi r3, r1, 8 /* 801D17E8 001CE748 D3 C1 00 28 */ stfs f30, 0x28(r1) /* 801D17EC 001CE74C 38 9C 00 34 */ addi r4, r28, 0x34 /* 801D17F0 001CE750 EC 01 07 7A */ fmadds f0, f1, f29, f0 /* 801D17F4 001CE754 38 A1 00 24 */ addi r5, r1, 0x24 /* 801D17F8 001CE758 D3 E1 00 2C */ stfs f31, 0x2c(r1) /* 801D17FC 001CE75C D0 01 00 24 */ stfs f0, 0x24(r1) /* 801D1800 001CE760 48 14 12 E9 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801D1804 001CE764 C0 01 00 08 */ lfs f0, 8(r1) /* 801D1808 001CE768 D0 1D 00 00 */ stfs f0, 0(r29) /* 801D180C 001CE76C C0 01 00 0C */ lfs f0, 0xc(r1) /* 801D1810 001CE770 D0 1D 00 04 */ stfs f0, 4(r29) /* 801D1814 001CE774 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801D1818 001CE778 D0 1D 00 08 */ stfs f0, 8(r29) lbl_801D181C: /* 801D181C 001CE77C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801D1820 001CE780 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801D1824 001CE784 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801D1828 001CE788 CB C1 00 90 */ lfd f30, 0x90(r1) /* 801D182C 001CE78C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 801D1830 001CE790 CB A1 00 80 */ lfd f29, 0x80(r1) /* 801D1834 001CE794 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801D1838 001CE798 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801D183C 001CE79C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801D1840 001CE7A0 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801D1844 001CE7A4 83 81 00 70 */ lwz r28, 0x70(r1) /* 801D1848 001CE7A8 7C 08 03 A6 */ mtlr r0 /* 801D184C 001CE7AC 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801D1850 001CE7B0 4E 80 00 20 */ blr .global FindClosestPlane__10CFishCloudCFRC6CAABoxRC9CVector3f FindClosestPlane__10CFishCloudCFRC6CAABoxRC9CVector3f: /* 801D1854 001CE7B4 94 21 FD 50 */ stwu r1, -0x2b0(r1) /* 801D1858 001CE7B8 7C 08 02 A6 */ mflr r0 /* 801D185C 001CE7BC 90 01 02 B4 */ stw r0, 0x2b4(r1) /* 801D1860 001CE7C0 DB E1 02 A0 */ stfd f31, 0x2a0(r1) /* 801D1864 001CE7C4 F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 /* 801D1868 001CE7C8 DB C1 02 90 */ stfd f30, 0x290(r1) /* 801D186C 001CE7CC F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 /* 801D1870 001CE7D0 DB A1 02 80 */ stfd f29, 0x280(r1) /* 801D1874 001CE7D4 F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 /* 801D1878 001CE7D8 DB 81 02 70 */ stfd f28, 0x270(r1) /* 801D187C 001CE7DC F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 /* 801D1880 001CE7E0 DB 61 02 60 */ stfd f27, 0x260(r1) /* 801D1884 001CE7E4 F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 /* 801D1888 001CE7E8 BF 01 02 40 */ stmw r24, 0x240(r1) /* 801D188C 001CE7EC 88 04 02 50 */ lbz r0, 0x250(r4) /* 801D1890 001CE7F0 7C 9A 23 78 */ mr r26, r4 /* 801D1894 001CE7F4 7C 7F 1B 78 */ mr r31, r3 /* 801D1898 001CE7F8 7C B8 2B 78 */ mr r24, r5 /* 801D189C 001CE7FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801D18A0 001CE800 7C D9 33 78 */ mr r25, r6 /* 801D18A4 001CE804 40 82 01 98 */ bne lbl_801D1A3C /* 801D18A8 001CE808 C3 A2 AB BC */ lfs f29, lbl_805AC8DC@sda21(r2) /* 801D18AC 001CE80C 3B C1 02 10 */ addi r30, r1, 0x210 /* 801D18B0 001CE810 C3 62 AB B8 */ lfs f27, lbl_805AC8D8@sda21(r2) /* 801D18B4 001CE814 3B A1 02 1C */ addi r29, r1, 0x21c /* 801D18B8 001CE818 3B 81 02 28 */ addi r28, r1, 0x228 /* 801D18BC 001CE81C 3B 60 00 00 */ li r27, 0 /* 801D18C0 001CE820 3B 40 00 00 */ li r26, 0 lbl_801D18C4: /* 801D18C4 001CE824 7F 04 C3 78 */ mr r4, r24 /* 801D18C8 001CE828 7F 45 D3 78 */ mr r5, r26 /* 801D18CC 001CE82C 38 61 01 30 */ addi r3, r1, 0x130 /* 801D18D0 001CE830 38 C0 00 00 */ li r6, 0 /* 801D18D4 001CE834 48 16 63 21 */ bl GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi /* 801D18D8 001CE838 C1 81 01 30 */ lfs f12, 0x130(r1) /* 801D18DC 001CE83C 7F C4 F3 78 */ mr r4, r30 /* 801D18E0 001CE840 C1 61 01 34 */ lfs f11, 0x134(r1) /* 801D18E4 001CE844 7F 85 E3 78 */ mr r5, r28 /* 801D18E8 001CE848 C1 41 01 38 */ lfs f10, 0x138(r1) /* 801D18EC 001CE84C 7F A6 EB 78 */ mr r6, r29 /* 801D18F0 001CE850 C1 21 01 3C */ lfs f9, 0x13c(r1) /* 801D18F4 001CE854 38 61 00 54 */ addi r3, r1, 0x54 /* 801D18F8 001CE858 C1 01 01 40 */ lfs f8, 0x140(r1) /* 801D18FC 001CE85C C0 E1 01 44 */ lfs f7, 0x144(r1) /* 801D1900 001CE860 C0 C1 01 48 */ lfs f6, 0x148(r1) /* 801D1904 001CE864 C0 A1 01 4C */ lfs f5, 0x14c(r1) /* 801D1908 001CE868 C0 81 01 50 */ lfs f4, 0x150(r1) /* 801D190C 001CE86C C0 61 01 54 */ lfs f3, 0x154(r1) /* 801D1910 001CE870 C0 41 01 58 */ lfs f2, 0x158(r1) /* 801D1914 001CE874 C0 21 01 5C */ lfs f1, 0x15c(r1) /* 801D1918 001CE878 C0 01 01 60 */ lfs f0, 0x160(r1) /* 801D191C 001CE87C D1 81 02 00 */ stfs f12, 0x200(r1) /* 801D1920 001CE880 D1 61 02 04 */ stfs f11, 0x204(r1) /* 801D1924 001CE884 D1 41 02 08 */ stfs f10, 0x208(r1) /* 801D1928 001CE888 D1 21 02 0C */ stfs f9, 0x20c(r1) /* 801D192C 001CE88C D1 01 02 10 */ stfs f8, 0x210(r1) /* 801D1930 001CE890 D0 E1 02 14 */ stfs f7, 0x214(r1) /* 801D1934 001CE894 D0 C1 02 18 */ stfs f6, 0x218(r1) /* 801D1938 001CE898 D0 A1 02 1C */ stfs f5, 0x21c(r1) /* 801D193C 001CE89C D0 81 02 20 */ stfs f4, 0x220(r1) /* 801D1940 001CE8A0 D0 61 02 24 */ stfs f3, 0x224(r1) /* 801D1944 001CE8A4 D0 41 02 28 */ stfs f2, 0x228(r1) /* 801D1948 001CE8A8 D0 21 02 2C */ stfs f1, 0x22c(r1) /* 801D194C 001CE8AC D0 01 02 30 */ stfs f0, 0x230(r1) /* 801D1950 001CE8B0 48 16 57 59 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f /* 801D1954 001CE8B4 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801D1958 001CE8B8 C0 19 00 04 */ lfs f0, 4(r25) /* 801D195C 001CE8BC C0 41 00 54 */ lfs f2, 0x54(r1) /* 801D1960 001CE8C0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801D1964 001CE8C4 C0 39 00 00 */ lfs f1, 0(r25) /* 801D1968 001CE8C8 C0 81 00 5C */ lfs f4, 0x5c(r1) /* 801D196C 001CE8CC C0 79 00 08 */ lfs f3, 8(r25) /* 801D1970 001CE8D0 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 801D1974 001CE8D4 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801D1978 001CE8D8 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801D197C 001CE8DC EC 01 00 28 */ fsubs f0, f1, f0 /* 801D1980 001CE8E0 FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 801D1984 001CE8E4 4C 41 13 82 */ cror 2, 1, 2 /* 801D1988 001CE8E8 40 82 00 14 */ bne lbl_801D199C /* 801D198C 001CE8EC FC 00 E8 40 */ fcmpo cr0, f0, f29 /* 801D1990 001CE8F0 40 80 00 0C */ bge lbl_801D199C /* 801D1994 001CE8F4 7F 5B D3 78 */ mr r27, r26 /* 801D1998 001CE8F8 FF A0 00 90 */ fmr f29, f0 lbl_801D199C: /* 801D199C 001CE8FC 3B 5A 00 01 */ addi r26, r26, 1 /* 801D19A0 001CE900 2C 1A 00 06 */ cmpwi r26, 6 /* 801D19A4 001CE904 41 80 FF 20 */ blt lbl_801D18C4 /* 801D19A8 001CE908 7F 04 C3 78 */ mr r4, r24 /* 801D19AC 001CE90C 7F 65 DB 78 */ mr r5, r27 /* 801D19B0 001CE910 38 61 00 FC */ addi r3, r1, 0xfc /* 801D19B4 001CE914 38 C0 00 00 */ li r6, 0 /* 801D19B8 001CE918 48 16 62 3D */ bl GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi /* 801D19BC 001CE91C C1 81 00 FC */ lfs f12, 0xfc(r1) /* 801D19C0 001CE920 38 81 01 DC */ addi r4, r1, 0x1dc /* 801D19C4 001CE924 C1 61 01 00 */ lfs f11, 0x100(r1) /* 801D19C8 001CE928 38 C1 01 E8 */ addi r6, r1, 0x1e8 /* 801D19CC 001CE92C C1 41 01 04 */ lfs f10, 0x104(r1) /* 801D19D0 001CE930 38 A1 01 F4 */ addi r5, r1, 0x1f4 /* 801D19D4 001CE934 C1 21 01 08 */ lfs f9, 0x108(r1) /* 801D19D8 001CE938 7F E3 FB 78 */ mr r3, r31 /* 801D19DC 001CE93C C1 01 01 0C */ lfs f8, 0x10c(r1) /* 801D19E0 001CE940 C0 E1 01 10 */ lfs f7, 0x110(r1) /* 801D19E4 001CE944 C0 C1 01 14 */ lfs f6, 0x114(r1) /* 801D19E8 001CE948 C0 A1 01 18 */ lfs f5, 0x118(r1) /* 801D19EC 001CE94C C0 81 01 1C */ lfs f4, 0x11c(r1) /* 801D19F0 001CE950 C0 61 01 20 */ lfs f3, 0x120(r1) /* 801D19F4 001CE954 C0 41 01 24 */ lfs f2, 0x124(r1) /* 801D19F8 001CE958 C0 21 01 28 */ lfs f1, 0x128(r1) /* 801D19FC 001CE95C C0 01 01 2C */ lfs f0, 0x12c(r1) /* 801D1A00 001CE960 D1 81 01 CC */ stfs f12, 0x1cc(r1) /* 801D1A04 001CE964 D1 61 01 D0 */ stfs f11, 0x1d0(r1) /* 801D1A08 001CE968 D1 41 01 D4 */ stfs f10, 0x1d4(r1) /* 801D1A0C 001CE96C D1 21 01 D8 */ stfs f9, 0x1d8(r1) /* 801D1A10 001CE970 D1 01 01 DC */ stfs f8, 0x1dc(r1) /* 801D1A14 001CE974 D0 E1 01 E0 */ stfs f7, 0x1e0(r1) /* 801D1A18 001CE978 D0 C1 01 E4 */ stfs f6, 0x1e4(r1) /* 801D1A1C 001CE97C D0 A1 01 E8 */ stfs f5, 0x1e8(r1) /* 801D1A20 001CE980 D0 81 01 EC */ stfs f4, 0x1ec(r1) /* 801D1A24 001CE984 D0 61 01 F0 */ stfs f3, 0x1f0(r1) /* 801D1A28 001CE988 D0 41 01 F4 */ stfs f2, 0x1f4(r1) /* 801D1A2C 001CE98C D0 21 01 F8 */ stfs f1, 0x1f8(r1) /* 801D1A30 001CE990 D0 01 01 FC */ stfs f0, 0x1fc(r1) /* 801D1A34 001CE994 48 16 56 75 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f /* 801D1A38 001CE998 48 00 02 4C */ b lbl_801D1C84 lbl_801D1A3C: /* 801D1A3C 001CE99C C0 39 00 04 */ lfs f1, 4(r25) /* 801D1A40 001CE9A0 3B DA 00 34 */ addi r30, r26, 0x34 /* 801D1A44 001CE9A4 C0 1A 00 50 */ lfs f0, 0x50(r26) /* 801D1A48 001CE9A8 7F C4 F3 78 */ mr r4, r30 /* 801D1A4C 001CE9AC C0 79 00 08 */ lfs f3, 8(r25) /* 801D1A50 001CE9B0 38 61 00 38 */ addi r3, r1, 0x38 /* 801D1A54 001CE9B4 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801D1A58 001CE9B8 EC 81 00 28 */ fsubs f4, f1, f0 /* 801D1A5C 001CE9BC C0 39 00 00 */ lfs f1, 0(r25) /* 801D1A60 001CE9C0 38 A1 00 2C */ addi r5, r1, 0x2c /* 801D1A64 001CE9C4 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801D1A68 001CE9C8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801D1A6C 001CE9CC D0 81 00 30 */ stfs f4, 0x30(r1) /* 801D1A70 001CE9D0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D1A74 001CE9D4 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801D1A78 001CE9D8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801D1A7C 001CE9DC 48 14 0F A9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801D1A80 001CE9E0 C3 E1 00 38 */ lfs f31, 0x38(r1) /* 801D1A84 001CE9E4 7F 44 D3 78 */ mr r4, r26 /* 801D1A88 001CE9E8 C3 C1 00 3C */ lfs f30, 0x3c(r1) /* 801D1A8C 001CE9EC 38 61 00 64 */ addi r3, r1, 0x64 /* 801D1A90 001CE9F0 C3 A1 00 40 */ lfs f29, 0x40(r1) /* 801D1A94 001CE9F4 48 00 02 E5 */ bl GetUntransformedBoundingBox__10CFishCloudCFv /* 801D1A98 001CE9F8 C0 A1 00 64 */ lfs f5, 0x64(r1) /* 801D1A9C 001CE9FC 3B 81 01 A8 */ addi r28, r1, 0x1a8 /* 801D1AA0 001CEA00 C0 81 00 68 */ lfs f4, 0x68(r1) /* 801D1AA4 001CEA04 3B A1 01 B4 */ addi r29, r1, 0x1b4 /* 801D1AA8 001CEA08 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 801D1AAC 001CEA0C 3B 61 01 C0 */ addi r27, r1, 0x1c0 /* 801D1AB0 001CEA10 C0 41 00 70 */ lfs f2, 0x70(r1) /* 801D1AB4 001CEA14 3B 40 00 00 */ li r26, 0 /* 801D1AB8 001CEA18 C0 21 00 74 */ lfs f1, 0x74(r1) /* 801D1ABC 001CEA1C 3B 20 00 00 */ li r25, 0 /* 801D1AC0 001CEA20 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801D1AC4 001CEA24 D0 A1 00 7C */ stfs f5, 0x7c(r1) /* 801D1AC8 001CEA28 C3 82 AB BC */ lfs f28, lbl_805AC8DC@sda21(r2) /* 801D1ACC 001CEA2C D0 81 00 80 */ stfs f4, 0x80(r1) /* 801D1AD0 001CEA30 C3 62 AB B8 */ lfs f27, lbl_805AC8D8@sda21(r2) /* 801D1AD4 001CEA34 D0 61 00 84 */ stfs f3, 0x84(r1) /* 801D1AD8 001CEA38 D0 41 00 88 */ stfs f2, 0x88(r1) /* 801D1ADC 001CEA3C D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801D1AE0 001CEA40 D0 01 00 90 */ stfs f0, 0x90(r1) lbl_801D1AE4: /* 801D1AE4 001CEA44 7F 25 CB 78 */ mr r5, r25 /* 801D1AE8 001CEA48 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801D1AEC 001CEA4C 38 81 00 7C */ addi r4, r1, 0x7c /* 801D1AF0 001CEA50 38 C0 00 00 */ li r6, 0 /* 801D1AF4 001CEA54 48 16 61 01 */ bl GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi /* 801D1AF8 001CEA58 C1 81 00 C8 */ lfs f12, 0xc8(r1) /* 801D1AFC 001CEA5C 7F 84 E3 78 */ mr r4, r28 /* 801D1B00 001CEA60 C1 61 00 CC */ lfs f11, 0xcc(r1) /* 801D1B04 001CEA64 7F 65 DB 78 */ mr r5, r27 /* 801D1B08 001CEA68 C1 41 00 D0 */ lfs f10, 0xd0(r1) /* 801D1B0C 001CEA6C 7F A6 EB 78 */ mr r6, r29 /* 801D1B10 001CEA70 C1 21 00 D4 */ lfs f9, 0xd4(r1) /* 801D1B14 001CEA74 38 61 00 44 */ addi r3, r1, 0x44 /* 801D1B18 001CEA78 C1 01 00 D8 */ lfs f8, 0xd8(r1) /* 801D1B1C 001CEA7C C0 E1 00 DC */ lfs f7, 0xdc(r1) /* 801D1B20 001CEA80 C0 C1 00 E0 */ lfs f6, 0xe0(r1) /* 801D1B24 001CEA84 C0 A1 00 E4 */ lfs f5, 0xe4(r1) /* 801D1B28 001CEA88 C0 81 00 E8 */ lfs f4, 0xe8(r1) /* 801D1B2C 001CEA8C C0 61 00 EC */ lfs f3, 0xec(r1) /* 801D1B30 001CEA90 C0 41 00 F0 */ lfs f2, 0xf0(r1) /* 801D1B34 001CEA94 C0 21 00 F4 */ lfs f1, 0xf4(r1) /* 801D1B38 001CEA98 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 801D1B3C 001CEA9C D1 81 01 98 */ stfs f12, 0x198(r1) /* 801D1B40 001CEAA0 D1 61 01 9C */ stfs f11, 0x19c(r1) /* 801D1B44 001CEAA4 D1 41 01 A0 */ stfs f10, 0x1a0(r1) /* 801D1B48 001CEAA8 D1 21 01 A4 */ stfs f9, 0x1a4(r1) /* 801D1B4C 001CEAAC D1 01 01 A8 */ stfs f8, 0x1a8(r1) /* 801D1B50 001CEAB0 D0 E1 01 AC */ stfs f7, 0x1ac(r1) /* 801D1B54 001CEAB4 D0 C1 01 B0 */ stfs f6, 0x1b0(r1) /* 801D1B58 001CEAB8 D0 A1 01 B4 */ stfs f5, 0x1b4(r1) /* 801D1B5C 001CEABC D0 81 01 B8 */ stfs f4, 0x1b8(r1) /* 801D1B60 001CEAC0 D0 61 01 BC */ stfs f3, 0x1bc(r1) /* 801D1B64 001CEAC4 D0 41 01 C0 */ stfs f2, 0x1c0(r1) /* 801D1B68 001CEAC8 D0 21 01 C4 */ stfs f1, 0x1c4(r1) /* 801D1B6C 001CEACC D0 01 01 C8 */ stfs f0, 0x1c8(r1) /* 801D1B70 001CEAD0 48 16 55 39 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f /* 801D1B74 001CEAD4 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801D1B78 001CEAD8 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801D1B7C 001CEADC EC 20 07 B2 */ fmuls f1, f0, f30 /* 801D1B80 001CEAE0 C0 61 00 4C */ lfs f3, 0x4c(r1) /* 801D1B84 001CEAE4 C0 01 00 50 */ lfs f0, 0x50(r1) /* 801D1B88 001CEAE8 EC 22 0F FA */ fmadds f1, f2, f31, f1 /* 801D1B8C 001CEAEC EC 23 0F 7A */ fmadds f1, f3, f29, f1 /* 801D1B90 001CEAF0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D1B94 001CEAF4 FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 801D1B98 001CEAF8 4C 41 13 82 */ cror 2, 1, 2 /* 801D1B9C 001CEAFC 40 82 00 14 */ bne lbl_801D1BB0 /* 801D1BA0 001CEB00 FC 00 E0 40 */ fcmpo cr0, f0, f28 /* 801D1BA4 001CEB04 40 80 00 0C */ bge lbl_801D1BB0 /* 801D1BA8 001CEB08 7F 3A CB 78 */ mr r26, r25 /* 801D1BAC 001CEB0C FF 80 00 90 */ fmr f28, f0 lbl_801D1BB0: /* 801D1BB0 001CEB10 3B 39 00 01 */ addi r25, r25, 1 /* 801D1BB4 001CEB14 2C 19 00 06 */ cmpwi r25, 6 /* 801D1BB8 001CEB18 41 80 FF 2C */ blt lbl_801D1AE4 /* 801D1BBC 001CEB1C 7F 45 D3 78 */ mr r5, r26 /* 801D1BC0 001CEB20 38 61 00 94 */ addi r3, r1, 0x94 /* 801D1BC4 001CEB24 38 81 00 7C */ addi r4, r1, 0x7c /* 801D1BC8 001CEB28 38 C0 00 00 */ li r6, 0 /* 801D1BCC 001CEB2C 48 16 60 29 */ bl GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi /* 801D1BD0 001CEB30 C1 81 00 94 */ lfs f12, 0x94(r1) /* 801D1BD4 001CEB34 38 A1 01 80 */ addi r5, r1, 0x180 /* 801D1BD8 001CEB38 C1 61 00 98 */ lfs f11, 0x98(r1) /* 801D1BDC 001CEB3C 7F C4 F3 78 */ mr r4, r30 /* 801D1BE0 001CEB40 C1 41 00 9C */ lfs f10, 0x9c(r1) /* 801D1BE4 001CEB44 3B 81 01 74 */ addi r28, r1, 0x174 /* 801D1BE8 001CEB48 C1 21 00 A0 */ lfs f9, 0xa0(r1) /* 801D1BEC 001CEB4C 3B 61 01 8C */ addi r27, r1, 0x18c /* 801D1BF0 001CEB50 C1 01 00 A4 */ lfs f8, 0xa4(r1) /* 801D1BF4 001CEB54 38 61 00 08 */ addi r3, r1, 8 /* 801D1BF8 001CEB58 C0 E1 00 A8 */ lfs f7, 0xa8(r1) /* 801D1BFC 001CEB5C C0 C1 00 AC */ lfs f6, 0xac(r1) /* 801D1C00 001CEB60 C0 A1 00 B0 */ lfs f5, 0xb0(r1) /* 801D1C04 001CEB64 C0 81 00 B4 */ lfs f4, 0xb4(r1) /* 801D1C08 001CEB68 C0 61 00 B8 */ lfs f3, 0xb8(r1) /* 801D1C0C 001CEB6C C0 41 00 BC */ lfs f2, 0xbc(r1) /* 801D1C10 001CEB70 C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 801D1C14 001CEB74 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801D1C18 001CEB78 D1 81 01 64 */ stfs f12, 0x164(r1) /* 801D1C1C 001CEB7C D1 61 01 68 */ stfs f11, 0x168(r1) /* 801D1C20 001CEB80 D1 41 01 6C */ stfs f10, 0x16c(r1) /* 801D1C24 001CEB84 D1 21 01 70 */ stfs f9, 0x170(r1) /* 801D1C28 001CEB88 D1 01 01 74 */ stfs f8, 0x174(r1) /* 801D1C2C 001CEB8C D0 E1 01 78 */ stfs f7, 0x178(r1) /* 801D1C30 001CEB90 D0 C1 01 7C */ stfs f6, 0x17c(r1) /* 801D1C34 001CEB94 D0 A1 01 80 */ stfs f5, 0x180(r1) /* 801D1C38 001CEB98 D0 81 01 84 */ stfs f4, 0x184(r1) /* 801D1C3C 001CEB9C D0 61 01 88 */ stfs f3, 0x188(r1) /* 801D1C40 001CEBA0 D0 41 01 8C */ stfs f2, 0x18c(r1) /* 801D1C44 001CEBA4 D0 21 01 90 */ stfs f1, 0x190(r1) /* 801D1C48 001CEBA8 D0 01 01 94 */ stfs f0, 0x194(r1) /* 801D1C4C 001CEBAC 48 14 0E 9D */ bl __ml__12CTransform4fCFRC9CVector3f /* 801D1C50 001CEBB0 7F C4 F3 78 */ mr r4, r30 /* 801D1C54 001CEBB4 7F 65 DB 78 */ mr r5, r27 /* 801D1C58 001CEBB8 38 61 00 14 */ addi r3, r1, 0x14 /* 801D1C5C 001CEBBC 48 14 0E 8D */ bl __ml__12CTransform4fCFRC9CVector3f /* 801D1C60 001CEBC0 7F C4 F3 78 */ mr r4, r30 /* 801D1C64 001CEBC4 7F 85 E3 78 */ mr r5, r28 /* 801D1C68 001CEBC8 38 61 00 20 */ addi r3, r1, 0x20 /* 801D1C6C 001CEBCC 48 14 0E 7D */ bl __ml__12CTransform4fCFRC9CVector3f /* 801D1C70 001CEBD0 7F E3 FB 78 */ mr r3, r31 /* 801D1C74 001CEBD4 38 81 00 20 */ addi r4, r1, 0x20 /* 801D1C78 001CEBD8 38 A1 00 14 */ addi r5, r1, 0x14 /* 801D1C7C 001CEBDC 38 C1 00 08 */ addi r6, r1, 8 /* 801D1C80 001CEBE0 48 16 54 29 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f lbl_801D1C84: /* 801D1C84 001CEBE4 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 /* 801D1C88 001CEBE8 CB E1 02 A0 */ lfd f31, 0x2a0(r1) /* 801D1C8C 001CEBEC E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 /* 801D1C90 001CEBF0 CB C1 02 90 */ lfd f30, 0x290(r1) /* 801D1C94 001CEBF4 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 /* 801D1C98 001CEBF8 CB A1 02 80 */ lfd f29, 0x280(r1) /* 801D1C9C 001CEBFC E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 /* 801D1CA0 001CEC00 CB 81 02 70 */ lfd f28, 0x270(r1) /* 801D1CA4 001CEC04 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 /* 801D1CA8 001CEC08 CB 61 02 60 */ lfd f27, 0x260(r1) /* 801D1CAC 001CEC0C BB 01 02 40 */ lmw r24, 0x240(r1) /* 801D1CB0 001CEC10 80 01 02 B4 */ lwz r0, 0x2b4(r1) /* 801D1CB4 001CEC14 7C 08 03 A6 */ mtlr r0 /* 801D1CB8 001CEC18 38 21 02 B0 */ addi r1, r1, 0x2b0 /* 801D1CBC 001CEC1C 4E 80 00 20 */ blr .global PointInBox__10CFishCloudCFRC6CAABoxRC9CVector3f PointInBox__10CFishCloudCFRC6CAABoxRC9CVector3f: /* 801D1CC0 001CEC20 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D1CC4 001CEC24 7C 08 02 A6 */ mflr r0 /* 801D1CC8 001CEC28 7C A6 2B 78 */ mr r6, r5 /* 801D1CCC 001CEC2C 90 01 00 54 */ stw r0, 0x54(r1) /* 801D1CD0 001CEC30 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801D1CD4 001CEC34 7C 7F 1B 78 */ mr r31, r3 /* 801D1CD8 001CEC38 88 03 02 50 */ lbz r0, 0x250(r3) /* 801D1CDC 001CEC3C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801D1CE0 001CEC40 40 82 00 14 */ bne lbl_801D1CF4 /* 801D1CE4 001CEC44 7C 83 23 78 */ mr r3, r4 /* 801D1CE8 001CEC48 7C C4 33 78 */ mr r4, r6 /* 801D1CEC 001CEC4C 48 16 58 49 */ bl PointInside__6CAABoxCFRC9CVector3f /* 801D1CF0 001CEC50 48 00 00 74 */ b lbl_801D1D64 lbl_801D1CF4: /* 801D1CF4 001CEC54 C0 26 00 04 */ lfs f1, 4(r6) /* 801D1CF8 001CEC58 38 61 00 14 */ addi r3, r1, 0x14 /* 801D1CFC 001CEC5C C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801D1D00 001CEC60 38 9F 00 34 */ addi r4, r31, 0x34 /* 801D1D04 001CEC64 C0 66 00 08 */ lfs f3, 8(r6) /* 801D1D08 001CEC68 38 A1 00 08 */ addi r5, r1, 8 /* 801D1D0C 001CEC6C C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801D1D10 001CEC70 EC 81 00 28 */ fsubs f4, f1, f0 /* 801D1D14 001CEC74 C0 26 00 00 */ lfs f1, 0(r6) /* 801D1D18 001CEC78 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801D1D1C 001CEC7C EC 43 10 28 */ fsubs f2, f3, f2 /* 801D1D20 001CEC80 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801D1D24 001CEC84 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D1D28 001CEC88 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801D1D2C 001CEC8C D0 01 00 08 */ stfs f0, 8(r1) /* 801D1D30 001CEC90 48 14 0C F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801D1D34 001CEC94 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801D1D38 001CEC98 7F E4 FB 78 */ mr r4, r31 /* 801D1D3C 001CEC9C C0 21 00 18 */ lfs f1, 0x18(r1) /* 801D1D40 001CECA0 38 61 00 2C */ addi r3, r1, 0x2c /* 801D1D44 001CECA4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801D1D48 001CECA8 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801D1D4C 001CECAC D0 21 00 24 */ stfs f1, 0x24(r1) /* 801D1D50 001CECB0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801D1D54 001CECB4 48 00 00 25 */ bl GetUntransformedBoundingBox__10CFishCloudCFv /* 801D1D58 001CECB8 38 61 00 2C */ addi r3, r1, 0x2c /* 801D1D5C 001CECBC 38 81 00 20 */ addi r4, r1, 0x20 /* 801D1D60 001CECC0 48 16 57 D5 */ bl PointInside__6CAABoxCFRC9CVector3f lbl_801D1D64: /* 801D1D64 001CECC4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801D1D68 001CECC8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801D1D6C 001CECCC 7C 08 03 A6 */ mtlr r0 /* 801D1D70 001CECD0 38 21 00 50 */ addi r1, r1, 0x50 /* 801D1D74 001CECD4 4E 80 00 20 */ blr .global GetUntransformedBoundingBox__10CFishCloudCFv GetUntransformedBoundingBox__10CFishCloudCFv: /* 801D1D78 001CECD8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D1D7C 001CECDC 7C 08 02 A6 */ mflr r0 /* 801D1D80 001CECE0 C0 62 AC 04 */ lfs f3, lbl_805AC924@sda21(r2) /* 801D1D84 001CECE4 90 01 00 24 */ stw r0, 0x24(r1) /* 801D1D88 001CECE8 38 A1 00 14 */ addi r5, r1, 0x14 /* 801D1D8C 001CECEC C0 44 01 28 */ lfs f2, 0x128(r4) /* 801D1D90 001CECF0 C0 24 01 24 */ lfs f1, 0x124(r4) /* 801D1D94 001CECF4 C0 04 01 20 */ lfs f0, 0x120(r4) /* 801D1D98 001CECF8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801D1D9C 001CECFC EC 83 00 72 */ fmuls f4, f3, f1 /* 801D1DA0 001CED00 38 81 00 08 */ addi r4, r1, 8 /* 801D1DA4 001CED04 EC 63 00 32 */ fmuls f3, f3, f0 /* 801D1DA8 001CED08 FC 00 10 50 */ fneg f0, f2 /* 801D1DAC 001CED0C D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801D1DB0 001CED10 FC 20 20 50 */ fneg f1, f4 /* 801D1DB4 001CED14 FC 40 18 50 */ fneg f2, f3 /* 801D1DB8 001CED18 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801D1DBC 001CED1C D0 81 00 18 */ stfs f4, 0x18(r1) /* 801D1DC0 001CED20 D0 41 00 08 */ stfs f2, 8(r1) /* 801D1DC4 001CED24 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801D1DC8 001CED28 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801D1DCC 001CED2C 48 16 67 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801D1DD0 001CED30 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D1DD4 001CED34 7C 08 03 A6 */ mtlr r0 /* 801D1DD8 001CED38 38 21 00 20 */ addi r1, r1, 0x20 /* 801D1DDC 001CED3C 4E 80 00 20 */ blr .global GetBoundingBox__10CFishCloudCFv GetBoundingBox__10CFishCloudCFv: /* 801D1DE0 001CED40 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D1DE4 001CED44 7C 08 02 A6 */ mflr r0 /* 801D1DE8 001CED48 90 01 00 44 */ stw r0, 0x44(r1) /* 801D1DEC 001CED4C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D1DF0 001CED50 7C 9F 23 78 */ mr r31, r4 /* 801D1DF4 001CED54 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D1DF8 001CED58 7C 7E 1B 78 */ mr r30, r3 /* 801D1DFC 001CED5C 38 61 00 08 */ addi r3, r1, 8 /* 801D1E00 001CED60 4B FF FF 79 */ bl GetUntransformedBoundingBox__10CFishCloudCFv /* 801D1E04 001CED64 C0 A1 00 08 */ lfs f5, 8(r1) /* 801D1E08 001CED68 7F C3 F3 78 */ mr r3, r30 /* 801D1E0C 001CED6C C0 81 00 0C */ lfs f4, 0xc(r1) /* 801D1E10 001CED70 38 81 00 20 */ addi r4, r1, 0x20 /* 801D1E14 001CED74 C0 61 00 10 */ lfs f3, 0x10(r1) /* 801D1E18 001CED78 38 BF 00 34 */ addi r5, r31, 0x34 /* 801D1E1C 001CED7C C0 41 00 14 */ lfs f2, 0x14(r1) /* 801D1E20 001CED80 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801D1E24 001CED84 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801D1E28 001CED88 D0 A1 00 20 */ stfs f5, 0x20(r1) /* 801D1E2C 001CED8C D0 81 00 24 */ stfs f4, 0x24(r1) /* 801D1E30 001CED90 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801D1E34 001CED94 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801D1E38 001CED98 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801D1E3C 001CED9C D0 01 00 34 */ stfs f0, 0x34(r1) /* 801D1E40 001CEDA0 48 16 5A BD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 801D1E44 001CEDA4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D1E48 001CEDA8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D1E4C 001CEDAC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D1E50 001CEDB0 7C 08 03 A6 */ mtlr r0 /* 801D1E54 001CEDB4 38 21 00 40 */ addi r1, r1, 0x40 /* 801D1E58 001CEDB8 4E 80 00 20 */ blr .global CalculateRenderBounds__10CFishCloudFv CalculateRenderBounds__10CFishCloudFv: /* 801D1E5C 001CEDBC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D1E60 001CEDC0 7C 08 02 A6 */ mflr r0 /* 801D1E64 001CEDC4 90 01 00 44 */ stw r0, 0x44(r1) /* 801D1E68 001CEDC8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D1E6C 001CEDCC 7C 7F 1B 78 */ mr r31, r3 /* 801D1E70 001CEDD0 38 61 00 08 */ addi r3, r1, 8 /* 801D1E74 001CEDD4 7F E4 FB 78 */ mr r4, r31 /* 801D1E78 001CEDD8 4B FF FF 69 */ bl GetBoundingBox__10CFishCloudCFv /* 801D1E7C 001CEDDC C0 21 00 08 */ lfs f1, 8(r1) /* 801D1E80 001CEDE0 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801D1E84 001CEDE4 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801D1E88 001CEDE8 C0 61 00 10 */ lfs f3, 0x10(r1) /* 801D1E8C 001CEDEC D0 01 00 24 */ stfs f0, 0x24(r1) /* 801D1E90 001CEDF0 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801D1E94 001CEDF4 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801D1E98 001CEDF8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801D1E9C 001CEDFC 80 61 00 20 */ lwz r3, 0x20(r1) /* 801D1EA0 001CEE00 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801D1EA4 001CEE04 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D1EA8 001CEE08 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801D1EAC 001CEE0C 80 61 00 28 */ lwz r3, 0x28(r1) /* 801D1EB0 001CEE10 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801D1EB4 001CEE14 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 801D1EB8 001CEE18 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801D1EBC 001CEE1C D0 21 00 30 */ stfs f1, 0x30(r1) /* 801D1EC0 001CEE20 90 7F 00 A4 */ stw r3, 0xa4(r31) /* 801D1EC4 001CEE24 80 61 00 30 */ lwz r3, 0x30(r1) /* 801D1EC8 001CEE28 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801D1ECC 001CEE2C 90 1F 00 A8 */ stw r0, 0xa8(r31) /* 801D1ED0 001CEE30 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D1ED4 001CEE34 90 7F 00 AC */ stw r3, 0xac(r31) /* 801D1ED8 001CEE38 90 1F 00 B0 */ stw r0, 0xb0(r31) /* 801D1EDC 001CEE3C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D1EE0 001CEE40 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D1EE4 001CEE44 7C 08 03 A6 */ mtlr r0 /* 801D1EE8 001CEE48 38 21 00 40 */ addi r1, r1, 0x40 /* 801D1EEC 001CEE4C 4E 80 00 20 */ blr .global Accept__10CFishCloudFR8IVisitor Accept__10CFishCloudFR8IVisitor: /* 801D1EF0 001CEE50 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D1EF4 001CEE54 7C 08 02 A6 */ mflr r0 /* 801D1EF8 001CEE58 90 01 00 14 */ stw r0, 0x14(r1) /* 801D1EFC 001CEE5C 7C 60 1B 78 */ mr r0, r3 /* 801D1F00 001CEE60 7C 83 23 78 */ mr r3, r4 /* 801D1F04 001CEE64 81 84 00 00 */ lwz r12, 0(r4) /* 801D1F08 001CEE68 7C 04 03 78 */ mr r4, r0 /* 801D1F0C 001CEE6C 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801D1F10 001CEE70 7D 89 03 A6 */ mtctr r12 /* 801D1F14 001CEE74 4E 80 04 21 */ bctrl /* 801D1F18 001CEE78 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D1F1C 001CEE7C 7C 08 03 A6 */ mtlr r0 /* 801D1F20 001CEE80 38 21 00 10 */ addi r1, r1, 0x10 /* 801D1F24 001CEE84 4E 80 00 20 */ blr .global sub_801d1f28 sub_801d1f28: /* 801D1F28 001CEE88 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801D1F2C 001CEE8C 7C 08 02 A6 */ mflr r0 /* 801D1F30 001CEE90 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801D1F34 001CEE94 DB E1 00 90 */ stfd f31, 0x90(r1) /* 801D1F38 001CEE98 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801D1F3C 001CEE9C DB C1 00 80 */ stfd f30, 0x80(r1) /* 801D1F40 001CEEA0 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 801D1F44 001CEEA4 BE C1 00 58 */ stmw r22, 0x58(r1) /* 801D1F48 001CEEA8 7C 79 1B 78 */ mr r25, r3 /* 801D1F4C 001CEEAC 7C 9A 23 78 */ mr r26, r4 /* 801D1F50 001CEEB0 3B D9 01 7C */ addi r30, r25, 0x17c /* 801D1F54 001CEEB4 7C BB 2B 78 */ mr r27, r5 /* 801D1F58 001CEEB8 7F D8 F3 78 */ mr r24, r30 /* 801D1F5C 001CEEBC 3A E0 00 00 */ li r23, 0 /* 801D1F60 001CEEC0 48 00 00 28 */ b lbl_801D1F88 lbl_801D1F64: /* 801D1F64 001CEEC4 28 18 00 00 */ cmplwi r24, 0 /* 801D1F68 001CEEC8 41 82 00 18 */ beq lbl_801D1F80 /* 801D1F6C 001CEECC 88 18 00 00 */ lbz r0, 0(r24) /* 801D1F70 001CEED0 28 00 00 00 */ cmplwi r0, 0 /* 801D1F74 001CEED4 41 82 00 0C */ beq lbl_801D1F80 /* 801D1F78 001CEED8 80 78 00 04 */ lwz r3, 4(r24) /* 801D1F7C 001CEEDC 48 14 39 B5 */ bl Free__7CMemoryFPCv lbl_801D1F80: /* 801D1F80 001CEEE0 3B 18 00 08 */ addi r24, r24, 8 /* 801D1F84 001CEEE4 3A F7 00 01 */ addi r23, r23, 1 lbl_801D1F88: /* 801D1F88 001CEEE8 80 19 01 78 */ lwz r0, 0x178(r25) /* 801D1F8C 001CEEEC 7C 17 00 00 */ cmpw r23, r0 /* 801D1F90 001CEEF0 41 80 FF D4 */ blt lbl_801D1F64 /* 801D1F94 001CEEF4 38 60 00 00 */ li r3, 0 /* 801D1F98 001CEEF8 3B B9 01 A0 */ addi r29, r25, 0x1a0 /* 801D1F9C 001CEEFC 90 79 01 78 */ stw r3, 0x178(r25) /* 801D1FA0 001CEF00 80 B9 01 9C */ lwz r5, 0x19c(r25) /* 801D1FA4 001CEF04 2C 05 00 00 */ cmpwi r5, 0 /* 801D1FA8 001CEF08 40 81 00 40 */ ble lbl_801D1FE8 /* 801D1FAC 001CEF0C 2C 05 00 08 */ cmpwi r5, 8 /* 801D1FB0 001CEF10 38 85 FF F8 */ addi r4, r5, -8 /* 801D1FB4 001CEF14 40 81 00 20 */ ble lbl_801D1FD4 /* 801D1FB8 001CEF18 38 04 00 07 */ addi r0, r4, 7 /* 801D1FBC 001CEF1C 54 00 E8 FE */ srwi r0, r0, 3 /* 801D1FC0 001CEF20 7C 09 03 A6 */ mtctr r0 /* 801D1FC4 001CEF24 2C 04 00 00 */ cmpwi r4, 0 /* 801D1FC8 001CEF28 40 81 00 0C */ ble lbl_801D1FD4 lbl_801D1FCC: /* 801D1FCC 001CEF2C 38 63 00 08 */ addi r3, r3, 8 /* 801D1FD0 001CEF30 42 00 FF FC */ bdnz lbl_801D1FCC lbl_801D1FD4: /* 801D1FD4 001CEF34 7C 03 28 50 */ subf r0, r3, r5 /* 801D1FD8 001CEF38 7C 09 03 A6 */ mtctr r0 /* 801D1FDC 001CEF3C 7C 03 28 00 */ cmpw r3, r5 /* 801D1FE0 001CEF40 40 80 00 08 */ bge lbl_801D1FE8 lbl_801D1FE4: /* 801D1FE4 001CEF44 42 00 00 00 */ bdnz lbl_801D1FE4 lbl_801D1FE8: /* 801D1FE8 001CEF48 38 00 00 00 */ li r0, 0 /* 801D1FEC 001CEF4C 3C 60 80 3D */ lis r3, lbl_803D1B70@ha /* 801D1FF0 001CEF50 90 19 01 9C */ stw r0, 0x19c(r25) /* 801D1FF4 001CEF54 3B F9 01 B4 */ addi r31, r25, 0x1b4 /* 801D1FF8 001CEF58 CB C2 AB C0 */ lfd f30, lbl_805AC8E0@sda21(r2) /* 801D1FFC 001CEF5C 3A E3 1B 70 */ addi r23, r3, lbl_803D1B70@l /* 801D2000 001CEF60 C3 E2 AC 08 */ lfs f31, lbl_805AC928@sda21(r2) /* 801D2004 001CEF64 3B 80 00 00 */ li r28, 0 /* 801D2008 001CEF68 3F 00 43 30 */ lis r24, 0x4330 lbl_801D200C: /* 801D200C 001CEF6C 80 7F 00 00 */ lwz r3, 0(r31) /* 801D2010 001CEF70 7F 64 DB 78 */ mr r4, r27 /* 801D2014 001CEF74 80 63 00 00 */ lwz r3, 0(r3) /* 801D2018 001CEF78 4B F4 2F 45 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 801D201C 001CEF7C 38 81 00 10 */ addi r4, r1, 0x10 /* 801D2020 001CEF80 48 18 06 49 */ bl sub_80352668 /* 801D2024 001CEF84 80 19 01 78 */ lwz r0, 0x178(r25) /* 801D2028 001CEF88 7C 83 00 D0 */ neg r4, r3 /* 801D202C 001CEF8C 7C 84 1B 78 */ or r4, r4, r3 /* 801D2030 001CEF90 90 61 00 18 */ stw r3, 0x18(r1) /* 801D2034 001CEF94 54 00 18 38 */ slwi r0, r0, 3 /* 801D2038 001CEF98 54 84 0F FE */ srwi r4, r4, 0x1f /* 801D203C 001CEF9C 7C BE 02 15 */ add. r5, r30, r0 /* 801D2040 001CEFA0 98 81 00 14 */ stb r4, 0x14(r1) /* 801D2044 001CEFA4 41 82 00 14 */ beq lbl_801D2058 /* 801D2048 001CEFA8 98 85 00 00 */ stb r4, 0(r5) /* 801D204C 001CEFAC 38 00 00 00 */ li r0, 0 /* 801D2050 001CEFB0 90 65 00 04 */ stw r3, 4(r5) /* 801D2054 001CEFB4 98 01 00 14 */ stb r0, 0x14(r1) lbl_801D2058: /* 801D2058 001CEFB8 80 79 01 78 */ lwz r3, 0x178(r25) /* 801D205C 001CEFBC 88 01 00 14 */ lbz r0, 0x14(r1) /* 801D2060 001CEFC0 38 63 00 01 */ addi r3, r3, 1 /* 801D2064 001CEFC4 28 00 00 00 */ cmplwi r0, 0 /* 801D2068 001CEFC8 90 79 01 78 */ stw r3, 0x178(r25) /* 801D206C 001CEFCC 41 82 00 0C */ beq lbl_801D2078 /* 801D2070 001CEFD0 80 61 00 18 */ lwz r3, 0x18(r1) /* 801D2074 001CEFD4 48 14 38 BD */ bl Free__7CMemoryFPCv lbl_801D2078: /* 801D2078 001CEFD8 80 19 01 9C */ lwz r0, 0x19c(r25) /* 801D207C 001CEFDC 54 00 10 3A */ slwi r0, r0, 2 /* 801D2080 001CEFE0 7C 7D 02 15 */ add. r3, r29, r0 /* 801D2084 001CEFE4 41 82 00 0C */ beq lbl_801D2090 /* 801D2088 001CEFE8 80 01 00 10 */ lwz r0, 0x10(r1) /* 801D208C 001CEFEC 90 03 00 00 */ stw r0, 0(r3) lbl_801D2090: /* 801D2090 001CEFF0 80 79 01 9C */ lwz r3, 0x19c(r25) /* 801D2094 001CEFF4 38 80 00 01 */ li r4, 1 /* 801D2098 001CEFF8 38 03 00 01 */ addi r0, r3, 1 /* 801D209C 001CEFFC 90 19 01 9C */ stw r0, 0x19c(r25) /* 801D20A0 001CF000 80 7F 00 00 */ lwz r3, 0(r31) /* 801D20A4 001CF004 80 63 00 00 */ lwz r3, 0(r3) /* 801D20A8 001CF008 4B F4 34 B9 */ bl EnableLooping__10CModelDataFb /* 801D20AC 001CF00C 38 61 00 1C */ addi r3, r1, 0x1c /* 801D20B0 001CF010 38 97 00 07 */ addi r4, r23, 7 /* 801D20B4 001CF014 4B E3 2C 05 */ bl string_l__4rstlFPCc /* 801D20B8 001CF018 80 19 00 04 */ lwz r0, 4(r25) /* 801D20BC 001CF01C 38 81 00 1C */ addi r4, r1, 0x1c /* 801D20C0 001CF020 90 01 00 0C */ stw r0, 0xc(r1) /* 801D20C4 001CF024 80 7F 00 00 */ lwz r3, 0(r31) /* 801D20C8 001CF028 90 01 00 08 */ stw r0, 8(r1) /* 801D20CC 001CF02C 82 C3 00 00 */ lwz r22, 0(r3) /* 801D20D0 001CF030 80 76 00 10 */ lwz r3, 0x10(r22) /* 801D20D4 001CF034 4B E5 A3 99 */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801D20D8 001CF038 6F 80 80 00 */ xoris r0, r28, 0x8000 /* 801D20DC 001CF03C 93 01 00 48 */ stw r24, 0x48(r1) /* 801D20E0 001CF040 7E C4 B3 78 */ mr r4, r22 /* 801D20E4 001CF044 7F 45 D3 78 */ mr r5, r26 /* 801D20E8 001CF048 90 01 00 4C */ stw r0, 0x4c(r1) /* 801D20EC 001CF04C 38 61 00 2C */ addi r3, r1, 0x2c /* 801D20F0 001CF050 38 C1 00 0C */ addi r6, r1, 0xc /* 801D20F4 001CF054 38 E0 00 01 */ li r7, 1 /* 801D20F8 001CF058 C8 01 00 48 */ lfd f0, 0x48(r1) /* 801D20FC 001CF05C EC 00 F0 28 */ fsubs f0, f0, f30 /* 801D2100 001CF060 EC 00 07 F2 */ fmuls f0, f0, f31 /* 801D2104 001CF064 EC 20 00 72 */ fmuls f1, f0, f1 /* 801D2108 001CF068 4B F4 3A 2D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801D210C 001CF06C 38 61 00 1C */ addi r3, r1, 0x1c /* 801D2110 001CF070 48 16 B9 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801D2114 001CF074 3B 9C 00 01 */ addi r28, r28, 1 /* 801D2118 001CF078 3B FF 00 04 */ addi r31, r31, 4 /* 801D211C 001CF07C 2C 1C 00 04 */ cmpwi r28, 4 /* 801D2120 001CF080 41 80 FE EC */ blt lbl_801D200C /* 801D2124 001CF084 93 79 02 30 */ stw r27, 0x230(r25) /* 801D2128 001CF088 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801D212C 001CF08C CB E1 00 90 */ lfd f31, 0x90(r1) /* 801D2130 001CF090 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 801D2134 001CF094 CB C1 00 80 */ lfd f30, 0x80(r1) /* 801D2138 001CF098 BA C1 00 58 */ lmw r22, 0x58(r1) /* 801D213C 001CF09C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801D2140 001CF0A0 7C 08 03 A6 */ mtlr r0 /* 801D2144 001CF0A4 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801D2148 001CF0A8 4E 80 00 20 */ blr .global "__ct__10CFishCloudF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC10CModelDatafffff" "__ct__10CFishCloudF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC10CModelDatafffff": /* 801D214C 001CF0AC 94 21 FD 10 */ stwu r1, -0x2f0(r1) /* 801D2150 001CF0B0 7C 08 02 A6 */ mflr r0 /* 801D2154 001CF0B4 90 01 02 F4 */ stw r0, 0x2f4(r1) /* 801D2158 001CF0B8 DB E1 02 E0 */ stfd f31, 0x2e0(r1) /* 801D215C 001CF0BC F3 E1 02 E8 */ psq_st f31, 744(r1), 0, qr0 /* 801D2160 001CF0C0 DB C1 02 D0 */ stfd f30, 0x2d0(r1) /* 801D2164 001CF0C4 F3 C1 02 D8 */ psq_st f30, 728(r1), 0, qr0 /* 801D2168 001CF0C8 DB A1 02 C0 */ stfd f29, 0x2c0(r1) /* 801D216C 001CF0CC F3 A1 02 C8 */ psq_st f29, 712(r1), 0, qr0 /* 801D2170 001CF0D0 DB 81 02 B0 */ stfd f28, 0x2b0(r1) /* 801D2174 001CF0D4 F3 81 02 B8 */ psq_st f28, 696(r1), 0, qr0 /* 801D2178 001CF0D8 DB 61 02 A0 */ stfd f27, 0x2a0(r1) /* 801D217C 001CF0DC F3 61 02 A8 */ psq_st f27, 680(r1), 0, qr0 /* 801D2180 001CF0E0 DB 41 02 90 */ stfd f26, 0x290(r1) /* 801D2184 001CF0E4 F3 41 02 98 */ psq_st f26, 664(r1), 0, qr0 /* 801D2188 001CF0E8 DB 21 02 80 */ stfd f25, 0x280(r1) /* 801D218C 001CF0EC F3 21 02 88 */ psq_st f25, 648(r1), 0, qr0 /* 801D2190 001CF0F0 DB 01 02 70 */ stfd f24, 0x270(r1) /* 801D2194 001CF0F4 F3 01 02 78 */ psq_st f24, 632(r1), 0, qr0 /* 801D2198 001CF0F8 DA E1 02 60 */ stfd f23, 0x260(r1) /* 801D219C 001CF0FC F2 E1 02 68 */ psq_st f23, 616(r1), 0, qr0 /* 801D21A0 001CF100 DA C1 02 50 */ stfd f22, 0x250(r1) /* 801D21A4 001CF104 F2 C1 02 58 */ psq_st f22, 600(r1), 0, qr0 /* 801D21A8 001CF108 DA A1 02 40 */ stfd f21, 0x240(r1) /* 801D21AC 001CF10C F2 A1 02 48 */ psq_st f21, 584(r1), 0, qr0 /* 801D21B0 001CF110 DA 81 02 30 */ stfd f20, 0x230(r1) /* 801D21B4 001CF114 F2 81 02 38 */ psq_st f20, 568(r1), 0, qr0 /* 801D21B8 001CF118 DA 61 02 20 */ stfd f19, 0x220(r1) /* 801D21BC 001CF11C F2 61 02 28 */ psq_st f19, 552(r1), 0, qr0 /* 801D21C0 001CF120 DA 41 02 10 */ stfd f18, 0x210(r1) /* 801D21C4 001CF124 F2 41 02 18 */ psq_st f18, 536(r1), 0, qr0 /* 801D21C8 001CF128 BD C1 01 C8 */ stmw r14, 0x1c8(r1) /* 801D21CC 001CF12C FE 40 08 90 */ fmr f18, f1 /* 801D21D0 001CF130 7C 6F 1B 78 */ mr r15, r3 /* 801D21D4 001CF134 FE 60 10 90 */ fmr f19, f2 /* 801D21D8 001CF138 82 E1 02 F8 */ lwz r23, 0x2f8(r1) /* 801D21DC 001CF13C FE 80 18 90 */ fmr f20, f3 /* 801D21E0 001CF140 83 01 02 FC */ lwz r24, 0x2fc(r1) /* 801D21E4 001CF144 FE A0 20 90 */ fmr f21, f4 /* 801D21E8 001CF148 C3 41 03 00 */ lfs f26, 0x300(r1) /* 801D21EC 001CF14C FE C0 28 90 */ fmr f22, f5 /* 801D21F0 001CF150 C3 61 03 04 */ lfs f27, 0x304(r1) /* 801D21F4 001CF154 FE E0 30 90 */ fmr f23, f6 /* 801D21F8 001CF158 C3 81 03 08 */ lfs f28, 0x308(r1) /* 801D21FC 001CF15C FF 00 38 90 */ fmr f24, f7 /* 801D2200 001CF160 C3 A1 03 0C */ lfs f29, 0x30c(r1) /* 801D2204 001CF164 FF 20 40 90 */ fmr f25, f8 /* 801D2208 001CF168 C3 C1 03 10 */ lfs f30, 0x310(r1) /* 801D220C 001CF16C 83 21 03 14 */ lwz r25, 0x314(r1) /* 801D2210 001CF170 7C 90 23 78 */ mr r16, r4 /* 801D2214 001CF174 83 41 03 18 */ lwz r26, 0x318(r1) /* 801D2218 001CF178 7C B1 2B 78 */ mr r17, r5 /* 801D221C 001CF17C C3 E1 03 20 */ lfs f31, 0x320(r1) /* 801D2220 001CF180 7C D2 33 78 */ mr r18, r6 /* 801D2224 001CF184 83 61 03 24 */ lwz r27, 0x324(r1) /* 801D2228 001CF188 7C F3 3B 78 */ mr r19, r7 /* 801D222C 001CF18C 83 81 03 2C */ lwz r28, 0x32c(r1) /* 801D2230 001CF190 7D 14 43 78 */ mr r20, r8 /* 801D2234 001CF194 83 A1 03 34 */ lwz r29, 0x334(r1) /* 801D2238 001CF198 7D 35 4B 78 */ mr r21, r9 /* 801D223C 001CF19C 83 C1 03 3C */ lwz r30, 0x33c(r1) /* 801D2240 001CF1A0 7D 56 53 78 */ mr r22, r10 /* 801D2244 001CF1A4 83 E1 03 44 */ lwz r31, 0x344(r1) /* 801D2248 001CF1A8 38 61 01 54 */ addi r3, r1, 0x154 /* 801D224C 001CF1AC 89 C1 03 4F */ lbz r14, 0x34f(r1) /* 801D2250 001CF1B0 4B E4 8B E9 */ bl None__16CActorParametersFv /* 801D2254 001CF1B4 7D C5 73 78 */ mr r5, r14 /* 801D2258 001CF1B8 38 61 00 EC */ addi r3, r1, 0xec /* 801D225C 001CF1BC 38 81 01 54 */ addi r4, r1, 0x154 /* 801D2260 001CF1C0 4B F3 45 AD */ bl sub_8010680c /* 801D2264 001CF1C4 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801D2268 001CF1C8 38 00 00 00 */ li r0, 0 /* 801D226C 001CF1CC 80 AD 91 8C */ lwz r5, lbl_805A7D4C@sda21(r13) /* 801D2270 001CF1D0 38 60 00 00 */ li r3, 0 /* 801D2274 001CF1D4 B0 81 00 10 */ sth r4, 0x10(r1) /* 801D2278 001CF1D8 38 80 00 01 */ li r4, 1 /* 801D227C 001CF1DC 90 01 00 7C */ stw r0, 0x7c(r1) /* 801D2280 001CF1E0 90 01 00 78 */ stw r0, 0x78(r1) /* 801D2284 001CF1E4 48 1B 7C 71 */ bl __shl2i /* 801D2288 001CF1E8 80 A1 00 78 */ lwz r5, 0x78(r1) /* 801D228C 001CF1EC 39 61 00 EC */ addi r11, r1, 0xec /* 801D2290 001CF1F0 80 C1 00 7C */ lwz r6, 0x7c(r1) /* 801D2294 001CF1F4 38 01 00 10 */ addi r0, r1, 0x10 /* 801D2298 001CF1F8 7C A3 1B 78 */ or r3, r5, r3 /* 801D229C 001CF1FC A1 30 00 00 */ lhz r9, 0(r16) /* 801D22A0 001CF200 7C C4 23 78 */ or r4, r6, r4 /* 801D22A4 001CF204 90 61 00 78 */ stw r3, 0x78(r1) /* 801D22A8 001CF208 7D E3 7B 78 */ mr r3, r15 /* 801D22AC 001CF20C 7E 25 8B 78 */ mr r5, r17 /* 801D22B0 001CF210 90 81 00 7C */ stw r4, 0x7c(r1) /* 801D22B4 001CF214 7E 46 93 78 */ mr r6, r18 /* 801D22B8 001CF218 7E 67 9B 78 */ mr r7, r19 /* 801D22BC 001CF21C 7E A8 AB 78 */ mr r8, r21 /* 801D22C0 001CF220 B1 21 00 14 */ sth r9, 0x14(r1) /* 801D22C4 001CF224 7E C9 B3 78 */ mr r9, r22 /* 801D22C8 001CF228 38 81 00 14 */ addi r4, r1, 0x14 /* 801D22CC 001CF22C 39 41 00 78 */ addi r10, r1, 0x78 /* 801D22D0 001CF230 91 61 00 08 */ stw r11, 8(r1) /* 801D22D4 001CF234 90 01 00 0C */ stw r0, 0xc(r1) /* 801D22D8 001CF238 4B E8 35 49 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801D22DC 001CF23C 38 61 00 EC */ addi r3, r1, 0xec /* 801D22E0 001CF240 38 80 FF FF */ li r4, -1 /* 801D22E4 001CF244 4B F3 43 25 */ bl __dt__16CActorParametersFv /* 801D22E8 001CF248 38 61 01 54 */ addi r3, r1, 0x154 /* 801D22EC 001CF24C 38 80 FF FF */ li r4, -1 /* 801D22F0 001CF250 4B F3 43 19 */ bl __dt__16CActorParametersFv /* 801D22F4 001CF254 3C 60 80 3E */ lis r3, lbl_803E5758@ha /* 801D22F8 001CF258 38 00 00 01 */ li r0, 1 /* 801D22FC 001CF25C 38 63 57 58 */ addi r3, r3, lbl_803E5758@l /* 801D2300 001CF260 38 80 00 00 */ li r4, 0 /* 801D2304 001CF264 90 6F 00 00 */ stw r3, 0(r15) /* 801D2308 001CF268 7C 03 C8 30 */ slw r3, r0, r25 /* 801D230C 001CF26C 38 63 FF FF */ addi r3, r3, -1 /* 801D2310 001CF270 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801D2314 001CF274 90 8F 00 EC */ stw r4, 0xec(r15) /* 801D2318 001CF278 2C 1F FF FF */ cmpwi r31, -1 /* 801D231C 001CF27C 7F E0 FB 78 */ mr r0, r31 /* 801D2320 001CF280 90 8F 00 F0 */ stw r4, 0xf0(r15) /* 801D2324 001CF284 90 8F 00 F4 */ stw r4, 0xf4(r15) /* 801D2328 001CF288 90 8F 00 FC */ stw r4, 0xfc(r15) /* 801D232C 001CF28C 90 8F 01 00 */ stw r4, 0x100(r15) /* 801D2330 001CF290 90 8F 01 04 */ stw r4, 0x104(r15) /* 801D2334 001CF294 90 8F 01 0C */ stw r4, 0x10c(r15) /* 801D2338 001CF298 90 8F 01 10 */ stw r4, 0x110(r15) /* 801D233C 001CF29C 90 8F 01 14 */ stw r4, 0x114(r15) /* 801D2340 001CF2A0 90 6F 01 1C */ stw r3, 0x11c(r15) /* 801D2344 001CF2A4 C0 34 00 00 */ lfs f1, 0(r20) /* 801D2348 001CF2A8 D0 2F 01 20 */ stfs f1, 0x120(r15) /* 801D234C 001CF2AC C0 34 00 04 */ lfs f1, 4(r20) /* 801D2350 001CF2B0 D0 2F 01 24 */ stfs f1, 0x124(r15) /* 801D2354 001CF2B4 C0 34 00 08 */ lfs f1, 8(r20) /* 801D2358 001CF2B8 D0 2F 01 28 */ stfs f1, 0x128(r15) /* 801D235C 001CF2BC D0 0F 01 2C */ stfs f0, 0x12c(r15) /* 801D2360 001CF2C0 D2 4F 01 30 */ stfs f18, 0x130(r15) /* 801D2364 001CF2C4 93 0F 01 34 */ stw r24, 0x134(r15) /* 801D2368 001CF2C8 D2 6F 01 38 */ stfs f19, 0x138(r15) /* 801D236C 001CF2CC D2 8F 01 3C */ stfs f20, 0x13c(r15) /* 801D2370 001CF2D0 D2 AF 01 40 */ stfs f21, 0x140(r15) /* 801D2374 001CF2D4 D2 CF 01 44 */ stfs f22, 0x144(r15) /* 801D2378 001CF2D8 D2 EF 01 48 */ stfs f23, 0x148(r15) /* 801D237C 001CF2DC D3 0F 01 4C */ stfs f24, 0x14c(r15) /* 801D2380 001CF2E0 D3 4F 01 50 */ stfs f26, 0x150(r15) /* 801D2384 001CF2E4 D3 6F 01 54 */ stfs f27, 0x154(r15) /* 801D2388 001CF2E8 D3 2F 01 58 */ stfs f25, 0x158(r15) /* 801D238C 001CF2EC D3 AF 01 5C */ stfs f29, 0x15c(r15) /* 801D2390 001CF2F0 D3 8F 01 60 */ stfs f28, 0x160(r15) /* 801D2394 001CF2F4 D3 AF 01 64 */ stfs f29, 0x164(r15) /* 801D2398 001CF2F8 D3 8F 01 68 */ stfs f28, 0x168(r15) /* 801D239C 001CF2FC 80 7A 00 00 */ lwz r3, 0(r26) /* 801D23A0 001CF300 90 6F 01 6C */ stw r3, 0x16c(r15) /* 801D23A4 001CF304 D3 EF 01 70 */ stfs f31, 0x170(r15) /* 801D23A8 001CF308 D3 CF 01 74 */ stfs f30, 0x174(r15) /* 801D23AC 001CF30C 90 8F 01 78 */ stw r4, 0x178(r15) /* 801D23B0 001CF310 90 8F 01 9C */ stw r4, 0x19c(r15) /* 801D23B4 001CF314 90 8F 01 B0 */ stw r4, 0x1b0(r15) /* 801D23B8 001CF318 90 8F 01 C4 */ stw r4, 0x1c4(r15) /* 801D23BC 001CF31C 90 8F 01 F8 */ stw r4, 0x1f8(r15) /* 801D23C0 001CF320 90 8F 02 1C */ stw r4, 0x21c(r15) /* 801D23C4 001CF324 40 82 00 08 */ bne lbl_801D23CC /* 801D23C8 001CF328 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) lbl_801D23CC: /* 801D23CC 001CF32C 54 03 04 3E */ clrlwi r3, r0, 0x10 /* 801D23D0 001CF330 48 11 65 E1 */ bl TranslateSFXID__11CSfxManagerFUs /* 801D23D4 001CF334 B0 6F 02 34 */ sth r3, 0x234(r15) /* 801D23D8 001CF338 3C 60 80 5A */ lis r3, skZero3f@ha /* 801D23DC 001CF33C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801D23E0 001CF340 38 C0 00 00 */ li r6, 0 /* 801D23E4 001CF344 C0 05 00 00 */ lfs f0, 0(r5) /* 801D23E8 001CF348 38 6F 01 08 */ addi r3, r15, 0x108 /* 801D23EC 001CF34C 38 80 00 0A */ li r4, 0xa /* 801D23F0 001CF350 D0 0F 02 38 */ stfs f0, 0x238(r15) /* 801D23F4 001CF354 C0 05 00 04 */ lfs f0, 4(r5) /* 801D23F8 001CF358 D0 0F 02 3C */ stfs f0, 0x23c(r15) /* 801D23FC 001CF35C C0 05 00 08 */ lfs f0, 8(r5) /* 801D2400 001CF360 D0 0F 02 40 */ stfs f0, 0x240(r15) /* 801D2404 001CF364 C0 05 00 00 */ lfs f0, 0(r5) /* 801D2408 001CF368 D0 0F 02 44 */ stfs f0, 0x244(r15) /* 801D240C 001CF36C C0 05 00 04 */ lfs f0, 4(r5) /* 801D2410 001CF370 D0 0F 02 48 */ stfs f0, 0x248(r15) /* 801D2414 001CF374 C0 05 00 08 */ lfs f0, 8(r5) /* 801D2418 001CF378 D0 0F 02 4C */ stfs f0, 0x24c(r15) /* 801D241C 001CF37C 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D2420 001CF380 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801D2424 001CF384 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D2428 001CF388 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D242C 001CF38C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801D2430 001CF390 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D2434 001CF394 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D2438 001CF398 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 801D243C 001CF39C 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D2440 001CF3A0 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D2444 001CF3A4 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 801D2448 001CF3A8 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D244C 001CF3AC 88 01 03 1F */ lbz r0, 0x31f(r1) /* 801D2450 001CF3B0 88 AF 02 50 */ lbz r5, 0x250(r15) /* 801D2454 001CF3B4 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c /* 801D2458 001CF3B8 88 01 03 4B */ lbz r0, 0x34b(r1) /* 801D245C 001CF3BC 98 AF 02 50 */ stb r5, 0x250(r15) /* 801D2460 001CF3C0 88 AF 02 50 */ lbz r5, 0x250(r15) /* 801D2464 001CF3C4 50 05 17 7A */ rlwimi r5, r0, 2, 0x1d, 0x1d /* 801D2468 001CF3C8 98 AF 02 50 */ stb r5, 0x250(r15) /* 801D246C 001CF3CC 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D2470 001CF3D0 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e /* 801D2474 001CF3D4 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D2478 001CF3D8 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D247C 001CF3DC 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f /* 801D2480 001CF3E0 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D2484 001CF3E4 48 00 0F FD */ bl "reserve__Q24rstl66vectorFi" /* 801D2488 001CF3E8 C0 4F 00 34 */ lfs f2, 0x34(r15) /* 801D248C 001CF3EC 38 60 00 00 */ li r3, 0 /* 801D2490 001CF3F0 C0 02 AB B4 */ lfs f0, lbl_805AC8D4@sda21(r2) /* 801D2494 001CF3F4 7C 64 1B 78 */ mr r4, r3 /* 801D2498 001CF3F8 C0 AF 00 58 */ lfs f5, 0x58(r15) /* 801D249C 001CF3FC 7C 65 1B 78 */ mr r5, r3 /* 801D24A0 001CF400 EC 02 00 28 */ fsubs f0, f2, f0 /* 801D24A4 001CF404 C0 8F 00 48 */ lfs f4, 0x48(r15) /* 801D24A8 001CF408 C0 6F 00 38 */ lfs f3, 0x38(r15) /* 801D24AC 001CF40C 7C 66 1B 78 */ mr r6, r3 /* 801D24B0 001CF410 C0 EF 00 5C */ lfs f7, 0x5c(r15) /* 801D24B4 001CF414 7C 67 1B 78 */ mr r7, r3 /* 801D24B8 001CF418 C0 CF 00 4C */ lfs f6, 0x4c(r15) /* 801D24BC 001CF41C FD 40 02 10 */ fabs f10, f0 /* 801D24C0 001CF420 C8 22 AC 10 */ lfd f1, lbl_805AC930@sda21(r2) /* 801D24C4 001CF424 7C 68 1B 78 */ mr r8, r3 /* 801D24C8 001CF428 C0 0F 00 3C */ lfs f0, 0x3c(r15) /* 801D24CC 001CF42C 7C 69 1B 78 */ mr r9, r3 /* 801D24D0 001CF430 C1 2F 00 54 */ lfs f9, 0x54(r15) /* 801D24D4 001CF434 C1 0F 00 44 */ lfs f8, 0x44(r15) /* 801D24D8 001CF438 FC 0A 08 40 */ fcmpo cr0, f10, f1 /* 801D24DC 001CF43C D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 801D24E0 001CF440 7C 60 1B 78 */ mr r0, r3 /* 801D24E4 001CF444 D0 81 00 CC */ stfs f4, 0xcc(r1) /* 801D24E8 001CF448 D0 A1 00 D0 */ stfs f5, 0xd0(r1) /* 801D24EC 001CF44C D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801D24F0 001CF450 D0 C1 00 C0 */ stfs f6, 0xc0(r1) /* 801D24F4 001CF454 D0 E1 00 C4 */ stfs f7, 0xc4(r1) /* 801D24F8 001CF458 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801D24FC 001CF45C D1 01 00 B4 */ stfs f8, 0xb4(r1) /* 801D2500 001CF460 D1 21 00 B8 */ stfs f9, 0xb8(r1) /* 801D2504 001CF464 40 80 00 1C */ bge lbl_801D2520 /* 801D2508 001CF468 C0 02 AB B8 */ lfs f0, lbl_805AC8D8@sda21(r2) /* 801D250C 001CF46C EC 02 00 28 */ fsubs f0, f2, f0 /* 801D2510 001CF470 FC 00 02 10 */ fabs f0, f0 /* 801D2514 001CF474 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D2518 001CF478 40 80 00 08 */ bge lbl_801D2520 /* 801D251C 001CF47C 38 00 00 01 */ li r0, 1 lbl_801D2520: /* 801D2520 001CF480 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801D2524 001CF484 41 82 00 24 */ beq lbl_801D2548 /* 801D2528 001CF488 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 801D252C 001CF48C C0 22 AB B8 */ lfs f1, lbl_805AC8D8@sda21(r2) /* 801D2530 001CF490 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D2534 001CF494 EC 22 08 28 */ fsubs f1, f2, f1 /* 801D2538 001CF498 FC 20 0A 10 */ fabs f1, f1 /* 801D253C 001CF49C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D2540 001CF4A0 40 80 00 08 */ bge lbl_801D2548 /* 801D2544 001CF4A4 39 20 00 01 */ li r9, 1 lbl_801D2548: /* 801D2548 001CF4A8 55 20 06 3F */ clrlwi. r0, r9, 0x18 /* 801D254C 001CF4AC 41 82 00 24 */ beq lbl_801D2570 /* 801D2550 001CF4B0 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 801D2554 001CF4B4 C0 22 AB B8 */ lfs f1, lbl_805AC8D8@sda21(r2) /* 801D2558 001CF4B8 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D255C 001CF4BC EC 22 08 28 */ fsubs f1, f2, f1 /* 801D2560 001CF4C0 FC 20 0A 10 */ fabs f1, f1 /* 801D2564 001CF4C4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D2568 001CF4C8 40 80 00 08 */ bge lbl_801D2570 /* 801D256C 001CF4CC 39 00 00 01 */ li r8, 1 lbl_801D2570: /* 801D2570 001CF4D0 55 00 06 3F */ clrlwi. r0, r8, 0x18 /* 801D2574 001CF4D4 41 82 00 24 */ beq lbl_801D2598 /* 801D2578 001CF4D8 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 801D257C 001CF4DC C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801D2580 001CF4E0 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D2584 001CF4E4 EC 22 08 28 */ fsubs f1, f2, f1 /* 801D2588 001CF4E8 FC 20 0A 10 */ fabs f1, f1 /* 801D258C 001CF4EC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D2590 001CF4F0 40 80 00 08 */ bge lbl_801D2598 /* 801D2594 001CF4F4 38 E0 00 01 */ li r7, 1 lbl_801D2598: /* 801D2598 001CF4F8 54 E0 06 3F */ clrlwi. r0, r7, 0x18 /* 801D259C 001CF4FC 41 82 00 24 */ beq lbl_801D25C0 /* 801D25A0 001CF500 C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 801D25A4 001CF504 C0 22 AB B8 */ lfs f1, lbl_805AC8D8@sda21(r2) /* 801D25A8 001CF508 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D25AC 001CF50C EC 22 08 28 */ fsubs f1, f2, f1 /* 801D25B0 001CF510 FC 20 0A 10 */ fabs f1, f1 /* 801D25B4 001CF514 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D25B8 001CF518 40 80 00 08 */ bge lbl_801D25C0 /* 801D25BC 001CF51C 38 C0 00 01 */ li r6, 1 lbl_801D25C0: /* 801D25C0 001CF520 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 801D25C4 001CF524 41 82 00 24 */ beq lbl_801D25E8 /* 801D25C8 001CF528 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 801D25CC 001CF52C C0 22 AB B8 */ lfs f1, lbl_805AC8D8@sda21(r2) /* 801D25D0 001CF530 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D25D4 001CF534 EC 22 08 28 */ fsubs f1, f2, f1 /* 801D25D8 001CF538 FC 20 0A 10 */ fabs f1, f1 /* 801D25DC 001CF53C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D25E0 001CF540 40 80 00 08 */ bge lbl_801D25E8 /* 801D25E4 001CF544 38 A0 00 01 */ li r5, 1 lbl_801D25E8: /* 801D25E8 001CF548 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801D25EC 001CF54C 41 82 00 24 */ beq lbl_801D2610 /* 801D25F0 001CF550 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 801D25F4 001CF554 C0 22 AB B8 */ lfs f1, lbl_805AC8D8@sda21(r2) /* 801D25F8 001CF558 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D25FC 001CF55C EC 22 08 28 */ fsubs f1, f2, f1 /* 801D2600 001CF560 FC 20 0A 10 */ fabs f1, f1 /* 801D2604 001CF564 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D2608 001CF568 40 80 00 08 */ bge lbl_801D2610 /* 801D260C 001CF56C 38 80 00 01 */ li r4, 1 lbl_801D2610: /* 801D2610 001CF570 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801D2614 001CF574 41 82 00 24 */ beq lbl_801D2638 /* 801D2618 001CF578 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 801D261C 001CF57C C0 22 AB B4 */ lfs f1, lbl_805AC8D4@sda21(r2) /* 801D2620 001CF580 C8 02 AC 10 */ lfd f0, lbl_805AC930@sda21(r2) /* 801D2624 001CF584 EC 22 08 28 */ fsubs f1, f2, f1 /* 801D2628 001CF588 FC 20 0A 10 */ fabs f1, f1 /* 801D262C 001CF58C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D2630 001CF590 40 80 00 08 */ bge lbl_801D2638 /* 801D2634 001CF594 38 60 00 01 */ li r3, 1 lbl_801D2638: /* 801D2638 001CF598 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 801D263C 001CF59C 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D2640 001CF5A0 7C 63 00 34 */ cntlzw r3, r3 /* 801D2644 001CF5A4 50 60 0E 72 */ rlwimi r0, r3, 1, 0x19, 0x19 /* 801D2648 001CF5A8 98 0F 02 50 */ stb r0, 0x250(r15) /* 801D264C 001CF5AC 80 77 00 00 */ lwz r3, 0(r23) /* 801D2650 001CF5B0 3C 03 00 01 */ addis r0, r3, 1 /* 801D2654 001CF5B4 28 00 FF FF */ cmplwi r0, 0xffff /* 801D2658 001CF5B8 41 82 02 64 */ beq lbl_801D28BC /* 801D265C 001CF5BC 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D2660 001CF5C0 38 60 00 4C */ li r3, 0x4c /* 801D2664 001CF5C4 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D2668 001CF5C8 38 A0 00 00 */ li r5, 0 /* 801D266C 001CF5CC 48 14 32 01 */ bl __nw__FUlPCcPCc /* 801D2670 001CF5D0 7C 6E 1B 79 */ or. r14, r3, r3 /* 801D2674 001CF5D4 41 82 00 10 */ beq lbl_801D2684 /* 801D2678 001CF5D8 7E E4 BB 78 */ mr r4, r23 /* 801D267C 001CF5DC 4B F4 44 D9 */ bl __ct__10CModelDataFRC8CAnimRes /* 801D2680 001CF5E0 7C 6E 1B 78 */ mr r14, r3 lbl_801D2684: /* 801D2684 001CF5E4 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D2688 001CF5E8 38 60 00 08 */ li r3, 8 /* 801D268C 001CF5EC 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D2690 001CF5F0 38 A0 00 00 */ li r5, 0 /* 801D2694 001CF5F4 48 14 31 D9 */ bl __nw__FUlPCcPCc /* 801D2698 001CF5F8 28 03 00 00 */ cmplwi r3, 0 /* 801D269C 001CF5FC 41 82 00 10 */ beq lbl_801D26AC /* 801D26A0 001CF600 91 C3 00 00 */ stw r14, 0(r3) /* 801D26A4 001CF604 38 00 00 01 */ li r0, 1 /* 801D26A8 001CF608 90 03 00 04 */ stw r0, 4(r3) lbl_801D26AC: /* 801D26AC 001CF60C 90 61 00 24 */ stw r3, 0x24(r1) /* 801D26B0 001CF610 38 8F 01 B0 */ addi r4, r15, 0x1b0 /* 801D26B4 001CF614 80 0F 01 B0 */ lwz r0, 0x1b0(r15) /* 801D26B8 001CF618 54 00 10 3A */ slwi r0, r0, 2 /* 801D26BC 001CF61C 7C 84 02 14 */ add r4, r4, r0 /* 801D26C0 001CF620 34 84 00 04 */ addic. r4, r4, 4 /* 801D26C4 001CF624 41 82 00 18 */ beq lbl_801D26DC /* 801D26C8 001CF628 90 64 00 00 */ stw r3, 0(r4) /* 801D26CC 001CF62C 80 84 00 00 */ lwz r4, 0(r4) /* 801D26D0 001CF630 80 64 00 04 */ lwz r3, 4(r4) /* 801D26D4 001CF634 38 03 00 01 */ addi r0, r3, 1 /* 801D26D8 001CF638 90 04 00 04 */ stw r0, 4(r4) lbl_801D26DC: /* 801D26DC 001CF63C 80 8F 01 B0 */ lwz r4, 0x1b0(r15) /* 801D26E0 001CF640 38 61 00 24 */ addi r3, r1, 0x24 /* 801D26E4 001CF644 38 04 00 01 */ addi r0, r4, 1 /* 801D26E8 001CF648 90 0F 01 B0 */ stw r0, 0x1b0(r15) /* 801D26EC 001CF64C 48 00 0C 75 */ bl sub_801d3360 /* 801D26F0 001CF650 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D26F4 001CF654 38 60 00 4C */ li r3, 0x4c /* 801D26F8 001CF658 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D26FC 001CF65C 38 A0 00 00 */ li r5, 0 /* 801D2700 001CF660 48 14 31 6D */ bl __nw__FUlPCcPCc /* 801D2704 001CF664 7C 6E 1B 79 */ or. r14, r3, r3 /* 801D2708 001CF668 41 82 00 10 */ beq lbl_801D2718 /* 801D270C 001CF66C 7E E4 BB 78 */ mr r4, r23 /* 801D2710 001CF670 4B F4 44 45 */ bl __ct__10CModelDataFRC8CAnimRes /* 801D2714 001CF674 7C 6E 1B 78 */ mr r14, r3 lbl_801D2718: /* 801D2718 001CF678 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D271C 001CF67C 38 60 00 08 */ li r3, 8 /* 801D2720 001CF680 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D2724 001CF684 38 A0 00 00 */ li r5, 0 /* 801D2728 001CF688 48 14 31 45 */ bl __nw__FUlPCcPCc /* 801D272C 001CF68C 28 03 00 00 */ cmplwi r3, 0 /* 801D2730 001CF690 41 82 00 10 */ beq lbl_801D2740 /* 801D2734 001CF694 91 C3 00 00 */ stw r14, 0(r3) /* 801D2738 001CF698 38 00 00 01 */ li r0, 1 /* 801D273C 001CF69C 90 03 00 04 */ stw r0, 4(r3) lbl_801D2740: /* 801D2740 001CF6A0 90 61 00 20 */ stw r3, 0x20(r1) /* 801D2744 001CF6A4 38 8F 01 B0 */ addi r4, r15, 0x1b0 /* 801D2748 001CF6A8 80 0F 01 B0 */ lwz r0, 0x1b0(r15) /* 801D274C 001CF6AC 54 00 10 3A */ slwi r0, r0, 2 /* 801D2750 001CF6B0 7C 84 02 14 */ add r4, r4, r0 /* 801D2754 001CF6B4 34 84 00 04 */ addic. r4, r4, 4 /* 801D2758 001CF6B8 41 82 00 18 */ beq lbl_801D2770 /* 801D275C 001CF6BC 90 64 00 00 */ stw r3, 0(r4) /* 801D2760 001CF6C0 80 84 00 00 */ lwz r4, 0(r4) /* 801D2764 001CF6C4 80 64 00 04 */ lwz r3, 4(r4) /* 801D2768 001CF6C8 38 03 00 01 */ addi r0, r3, 1 /* 801D276C 001CF6CC 90 04 00 04 */ stw r0, 4(r4) lbl_801D2770: /* 801D2770 001CF6D0 80 8F 01 B0 */ lwz r4, 0x1b0(r15) /* 801D2774 001CF6D4 38 61 00 20 */ addi r3, r1, 0x20 /* 801D2778 001CF6D8 38 04 00 01 */ addi r0, r4, 1 /* 801D277C 001CF6DC 90 0F 01 B0 */ stw r0, 0x1b0(r15) /* 801D2780 001CF6E0 48 00 0B E1 */ bl sub_801d3360 /* 801D2784 001CF6E4 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D2788 001CF6E8 38 60 00 4C */ li r3, 0x4c /* 801D278C 001CF6EC 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D2790 001CF6F0 38 A0 00 00 */ li r5, 0 /* 801D2794 001CF6F4 48 14 30 D9 */ bl __nw__FUlPCcPCc /* 801D2798 001CF6F8 7C 6E 1B 79 */ or. r14, r3, r3 /* 801D279C 001CF6FC 41 82 00 10 */ beq lbl_801D27AC /* 801D27A0 001CF700 7E E4 BB 78 */ mr r4, r23 /* 801D27A4 001CF704 4B F4 43 B1 */ bl __ct__10CModelDataFRC8CAnimRes /* 801D27A8 001CF708 7C 6E 1B 78 */ mr r14, r3 lbl_801D27AC: /* 801D27AC 001CF70C 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D27B0 001CF710 38 60 00 08 */ li r3, 8 /* 801D27B4 001CF714 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D27B8 001CF718 38 A0 00 00 */ li r5, 0 /* 801D27BC 001CF71C 48 14 30 B1 */ bl __nw__FUlPCcPCc /* 801D27C0 001CF720 28 03 00 00 */ cmplwi r3, 0 /* 801D27C4 001CF724 41 82 00 10 */ beq lbl_801D27D4 /* 801D27C8 001CF728 91 C3 00 00 */ stw r14, 0(r3) /* 801D27CC 001CF72C 38 00 00 01 */ li r0, 1 /* 801D27D0 001CF730 90 03 00 04 */ stw r0, 4(r3) lbl_801D27D4: /* 801D27D4 001CF734 90 61 00 1C */ stw r3, 0x1c(r1) /* 801D27D8 001CF738 38 8F 01 B0 */ addi r4, r15, 0x1b0 /* 801D27DC 001CF73C 80 0F 01 B0 */ lwz r0, 0x1b0(r15) /* 801D27E0 001CF740 54 00 10 3A */ slwi r0, r0, 2 /* 801D27E4 001CF744 7C 84 02 14 */ add r4, r4, r0 /* 801D27E8 001CF748 34 84 00 04 */ addic. r4, r4, 4 /* 801D27EC 001CF74C 41 82 00 18 */ beq lbl_801D2804 /* 801D27F0 001CF750 90 64 00 00 */ stw r3, 0(r4) /* 801D27F4 001CF754 80 84 00 00 */ lwz r4, 0(r4) /* 801D27F8 001CF758 80 64 00 04 */ lwz r3, 4(r4) /* 801D27FC 001CF75C 38 03 00 01 */ addi r0, r3, 1 /* 801D2800 001CF760 90 04 00 04 */ stw r0, 4(r4) lbl_801D2804: /* 801D2804 001CF764 80 8F 01 B0 */ lwz r4, 0x1b0(r15) /* 801D2808 001CF768 38 61 00 1C */ addi r3, r1, 0x1c /* 801D280C 001CF76C 38 04 00 01 */ addi r0, r4, 1 /* 801D2810 001CF770 90 0F 01 B0 */ stw r0, 0x1b0(r15) /* 801D2814 001CF774 48 00 0B 4D */ bl sub_801d3360 /* 801D2818 001CF778 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D281C 001CF77C 38 60 00 4C */ li r3, 0x4c /* 801D2820 001CF780 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D2824 001CF784 38 A0 00 00 */ li r5, 0 /* 801D2828 001CF788 48 14 30 45 */ bl __nw__FUlPCcPCc /* 801D282C 001CF78C 7C 6E 1B 79 */ or. r14, r3, r3 /* 801D2830 001CF790 41 82 00 10 */ beq lbl_801D2840 /* 801D2834 001CF794 7E E4 BB 78 */ mr r4, r23 /* 801D2838 001CF798 4B F4 43 1D */ bl __ct__10CModelDataFRC8CAnimRes /* 801D283C 001CF79C 7C 6E 1B 78 */ mr r14, r3 lbl_801D2840: /* 801D2840 001CF7A0 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D2844 001CF7A4 38 60 00 08 */ li r3, 8 /* 801D2848 001CF7A8 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D284C 001CF7AC 38 A0 00 00 */ li r5, 0 /* 801D2850 001CF7B0 48 14 30 1D */ bl __nw__FUlPCcPCc /* 801D2854 001CF7B4 28 03 00 00 */ cmplwi r3, 0 /* 801D2858 001CF7B8 41 82 00 10 */ beq lbl_801D2868 /* 801D285C 001CF7BC 91 C3 00 00 */ stw r14, 0(r3) /* 801D2860 001CF7C0 38 00 00 01 */ li r0, 1 /* 801D2864 001CF7C4 90 03 00 04 */ stw r0, 4(r3) lbl_801D2868: /* 801D2868 001CF7C8 90 61 00 18 */ stw r3, 0x18(r1) /* 801D286C 001CF7CC 38 8F 01 B0 */ addi r4, r15, 0x1b0 /* 801D2870 001CF7D0 80 0F 01 B0 */ lwz r0, 0x1b0(r15) /* 801D2874 001CF7D4 54 00 10 3A */ slwi r0, r0, 2 /* 801D2878 001CF7D8 7C 84 02 14 */ add r4, r4, r0 /* 801D287C 001CF7DC 34 84 00 04 */ addic. r4, r4, 4 /* 801D2880 001CF7E0 41 82 00 18 */ beq lbl_801D2898 /* 801D2884 001CF7E4 90 64 00 00 */ stw r3, 0(r4) /* 801D2888 001CF7E8 80 84 00 00 */ lwz r4, 0(r4) /* 801D288C 001CF7EC 80 64 00 04 */ lwz r3, 4(r4) /* 801D2890 001CF7F0 38 03 00 01 */ addi r0, r3, 1 /* 801D2894 001CF7F4 90 04 00 04 */ stw r0, 4(r4) lbl_801D2898: /* 801D2898 001CF7F8 80 8F 01 B0 */ lwz r4, 0x1b0(r15) /* 801D289C 001CF7FC 38 61 00 18 */ addi r3, r1, 0x18 /* 801D28A0 001CF800 38 04 00 01 */ addi r0, r4, 1 /* 801D28A4 001CF804 90 0F 01 B0 */ stw r0, 0x1b0(r15) /* 801D28A8 001CF808 48 00 0A B9 */ bl sub_801d3360 /* 801D28AC 001CF80C 88 0F 02 50 */ lbz r0, 0x250(r15) /* 801D28B0 001CF810 38 60 00 01 */ li r3, 1 /* 801D28B4 001CF814 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801D28B8 001CF818 98 0F 02 50 */ stb r0, 0x250(r15) lbl_801D28BC: /* 801D28BC 001CF81C 3C 1B 00 01 */ addis r0, r27, 1 /* 801D28C0 001CF820 28 00 FF FF */ cmplwi r0, 0xffff /* 801D28C4 001CF824 41 82 00 A8 */ beq lbl_801D296C /* 801D28C8 001CF828 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801D28CC 001CF82C 93 61 00 74 */ stw r27, 0x74(r1) /* 801D28D0 001CF830 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801D28D4 001CF834 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D28D8 001CF838 90 01 00 70 */ stw r0, 0x70(r1) /* 801D28DC 001CF83C 38 61 00 68 */ addi r3, r1, 0x68 /* 801D28E0 001CF840 38 A1 00 70 */ addi r5, r1, 0x70 /* 801D28E4 001CF844 81 84 00 00 */ lwz r12, 0(r4) /* 801D28E8 001CF848 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D28EC 001CF84C 7D 89 03 A6 */ mtctr r12 /* 801D28F0 001CF850 4E 80 04 21 */ bctrl /* 801D28F4 001CF854 39 C1 00 A4 */ addi r14, r1, 0xa4 /* 801D28F8 001CF858 38 81 00 68 */ addi r4, r1, 0x68 /* 801D28FC 001CF85C 7D C3 73 78 */ mr r3, r14 /* 801D2900 001CF860 48 16 E5 A9 */ bl __ct__6CTokenFRC6CToken /* 801D2904 001CF864 7D C3 73 78 */ mr r3, r14 /* 801D2908 001CF868 48 16 E5 05 */ bl GetObj__6CTokenFv /* 801D290C 001CF86C 80 03 00 04 */ lwz r0, 4(r3) /* 801D2910 001CF870 38 6F 01 C4 */ addi r3, r15, 0x1c4 /* 801D2914 001CF874 90 01 00 AC */ stw r0, 0xac(r1) /* 801D2918 001CF878 80 0F 01 C4 */ lwz r0, 0x1c4(r15) /* 801D291C 001CF87C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D2920 001CF880 7D C3 02 14 */ add r14, r3, r0 /* 801D2924 001CF884 35 CE 00 04 */ addic. r14, r14, 4 /* 801D2928 001CF888 41 82 00 20 */ beq lbl_801D2948 /* 801D292C 001CF88C 7D C3 73 78 */ mr r3, r14 /* 801D2930 001CF890 38 81 00 A4 */ addi r4, r1, 0xa4 /* 801D2934 001CF894 48 16 E5 75 */ bl __ct__6CTokenFRC6CToken /* 801D2938 001CF898 80 01 00 AC */ lwz r0, 0xac(r1) /* 801D293C 001CF89C 7D C3 73 78 */ mr r3, r14 /* 801D2940 001CF8A0 90 0E 00 08 */ stw r0, 8(r14) /* 801D2944 001CF8A4 48 16 E4 41 */ bl Lock__6CTokenFv lbl_801D2948: /* 801D2948 001CF8A8 80 AF 01 C4 */ lwz r5, 0x1c4(r15) /* 801D294C 001CF8AC 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801D2950 001CF8B0 38 80 00 00 */ li r4, 0 /* 801D2954 001CF8B4 38 05 00 01 */ addi r0, r5, 1 /* 801D2958 001CF8B8 90 0F 01 C4 */ stw r0, 0x1c4(r15) /* 801D295C 001CF8BC 48 16 E4 E5 */ bl __dt__6CTokenFv /* 801D2960 001CF8C0 38 61 00 68 */ addi r3, r1, 0x68 /* 801D2964 001CF8C4 38 80 FF FF */ li r4, -1 /* 801D2968 001CF8C8 48 16 E4 D9 */ bl __dt__6CTokenFv lbl_801D296C: /* 801D296C 001CF8CC 3C 1C 00 01 */ addis r0, r28, 1 /* 801D2970 001CF8D0 28 00 FF FF */ cmplwi r0, 0xffff /* 801D2974 001CF8D4 41 82 00 A8 */ beq lbl_801D2A1C /* 801D2978 001CF8D8 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801D297C 001CF8DC 93 81 00 64 */ stw r28, 0x64(r1) /* 801D2980 001CF8E0 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801D2984 001CF8E4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D2988 001CF8E8 90 01 00 60 */ stw r0, 0x60(r1) /* 801D298C 001CF8EC 38 61 00 58 */ addi r3, r1, 0x58 /* 801D2990 001CF8F0 38 A1 00 60 */ addi r5, r1, 0x60 /* 801D2994 001CF8F4 81 84 00 00 */ lwz r12, 0(r4) /* 801D2998 001CF8F8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D299C 001CF8FC 7D 89 03 A6 */ mtctr r12 /* 801D29A0 001CF900 4E 80 04 21 */ bctrl /* 801D29A4 001CF904 39 C1 00 98 */ addi r14, r1, 0x98 /* 801D29A8 001CF908 38 81 00 58 */ addi r4, r1, 0x58 /* 801D29AC 001CF90C 7D C3 73 78 */ mr r3, r14 /* 801D29B0 001CF910 48 16 E4 F9 */ bl __ct__6CTokenFRC6CToken /* 801D29B4 001CF914 7D C3 73 78 */ mr r3, r14 /* 801D29B8 001CF918 48 16 E4 55 */ bl GetObj__6CTokenFv /* 801D29BC 001CF91C 80 03 00 04 */ lwz r0, 4(r3) /* 801D29C0 001CF920 38 6F 01 C4 */ addi r3, r15, 0x1c4 /* 801D29C4 001CF924 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801D29C8 001CF928 80 0F 01 C4 */ lwz r0, 0x1c4(r15) /* 801D29CC 001CF92C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D29D0 001CF930 7D C3 02 14 */ add r14, r3, r0 /* 801D29D4 001CF934 35 CE 00 04 */ addic. r14, r14, 4 /* 801D29D8 001CF938 41 82 00 20 */ beq lbl_801D29F8 /* 801D29DC 001CF93C 7D C3 73 78 */ mr r3, r14 /* 801D29E0 001CF940 38 81 00 98 */ addi r4, r1, 0x98 /* 801D29E4 001CF944 48 16 E4 C5 */ bl __ct__6CTokenFRC6CToken /* 801D29E8 001CF948 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801D29EC 001CF94C 7D C3 73 78 */ mr r3, r14 /* 801D29F0 001CF950 90 0E 00 08 */ stw r0, 8(r14) /* 801D29F4 001CF954 48 16 E3 91 */ bl Lock__6CTokenFv lbl_801D29F8: /* 801D29F8 001CF958 80 AF 01 C4 */ lwz r5, 0x1c4(r15) /* 801D29FC 001CF95C 38 61 00 98 */ addi r3, r1, 0x98 /* 801D2A00 001CF960 38 80 00 00 */ li r4, 0 /* 801D2A04 001CF964 38 05 00 01 */ addi r0, r5, 1 /* 801D2A08 001CF968 90 0F 01 C4 */ stw r0, 0x1c4(r15) /* 801D2A0C 001CF96C 48 16 E4 35 */ bl __dt__6CTokenFv /* 801D2A10 001CF970 38 61 00 58 */ addi r3, r1, 0x58 /* 801D2A14 001CF974 38 80 FF FF */ li r4, -1 /* 801D2A18 001CF978 48 16 E4 29 */ bl __dt__6CTokenFv lbl_801D2A1C: /* 801D2A1C 001CF97C 3C 1D 00 01 */ addis r0, r29, 1 /* 801D2A20 001CF980 28 00 FF FF */ cmplwi r0, 0xffff /* 801D2A24 001CF984 41 82 00 A8 */ beq lbl_801D2ACC /* 801D2A28 001CF988 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801D2A2C 001CF98C 93 A1 00 54 */ stw r29, 0x54(r1) /* 801D2A30 001CF990 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801D2A34 001CF994 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D2A38 001CF998 90 01 00 50 */ stw r0, 0x50(r1) /* 801D2A3C 001CF99C 38 61 00 48 */ addi r3, r1, 0x48 /* 801D2A40 001CF9A0 38 A1 00 50 */ addi r5, r1, 0x50 /* 801D2A44 001CF9A4 81 84 00 00 */ lwz r12, 0(r4) /* 801D2A48 001CF9A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D2A4C 001CF9AC 7D 89 03 A6 */ mtctr r12 /* 801D2A50 001CF9B0 4E 80 04 21 */ bctrl /* 801D2A54 001CF9B4 39 C1 00 8C */ addi r14, r1, 0x8c /* 801D2A58 001CF9B8 38 81 00 48 */ addi r4, r1, 0x48 /* 801D2A5C 001CF9BC 7D C3 73 78 */ mr r3, r14 /* 801D2A60 001CF9C0 48 16 E4 49 */ bl __ct__6CTokenFRC6CToken /* 801D2A64 001CF9C4 7D C3 73 78 */ mr r3, r14 /* 801D2A68 001CF9C8 48 16 E3 A5 */ bl GetObj__6CTokenFv /* 801D2A6C 001CF9CC 80 03 00 04 */ lwz r0, 4(r3) /* 801D2A70 001CF9D0 38 6F 01 C4 */ addi r3, r15, 0x1c4 /* 801D2A74 001CF9D4 90 01 00 94 */ stw r0, 0x94(r1) /* 801D2A78 001CF9D8 80 0F 01 C4 */ lwz r0, 0x1c4(r15) /* 801D2A7C 001CF9DC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D2A80 001CF9E0 7D C3 02 14 */ add r14, r3, r0 /* 801D2A84 001CF9E4 35 CE 00 04 */ addic. r14, r14, 4 /* 801D2A88 001CF9E8 41 82 00 20 */ beq lbl_801D2AA8 /* 801D2A8C 001CF9EC 7D C3 73 78 */ mr r3, r14 /* 801D2A90 001CF9F0 38 81 00 8C */ addi r4, r1, 0x8c /* 801D2A94 001CF9F4 48 16 E4 15 */ bl __ct__6CTokenFRC6CToken /* 801D2A98 001CF9F8 80 01 00 94 */ lwz r0, 0x94(r1) /* 801D2A9C 001CF9FC 7D C3 73 78 */ mr r3, r14 /* 801D2AA0 001CFA00 90 0E 00 08 */ stw r0, 8(r14) /* 801D2AA4 001CFA04 48 16 E2 E1 */ bl Lock__6CTokenFv lbl_801D2AA8: /* 801D2AA8 001CFA08 80 AF 01 C4 */ lwz r5, 0x1c4(r15) /* 801D2AAC 001CFA0C 38 61 00 8C */ addi r3, r1, 0x8c /* 801D2AB0 001CFA10 38 80 00 00 */ li r4, 0 /* 801D2AB4 001CFA14 38 05 00 01 */ addi r0, r5, 1 /* 801D2AB8 001CFA18 90 0F 01 C4 */ stw r0, 0x1c4(r15) /* 801D2ABC 001CFA1C 48 16 E3 85 */ bl __dt__6CTokenFv /* 801D2AC0 001CFA20 38 61 00 48 */ addi r3, r1, 0x48 /* 801D2AC4 001CFA24 38 80 FF FF */ li r4, -1 /* 801D2AC8 001CFA28 48 16 E3 79 */ bl __dt__6CTokenFv lbl_801D2ACC: /* 801D2ACC 001CFA2C 3C 1E 00 01 */ addis r0, r30, 1 /* 801D2AD0 001CFA30 28 00 FF FF */ cmplwi r0, 0xffff /* 801D2AD4 001CFA34 41 82 00 A8 */ beq lbl_801D2B7C /* 801D2AD8 001CFA38 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801D2ADC 001CFA3C 93 C1 00 44 */ stw r30, 0x44(r1) /* 801D2AE0 001CFA40 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801D2AE4 001CFA44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D2AE8 001CFA48 90 01 00 40 */ stw r0, 0x40(r1) /* 801D2AEC 001CFA4C 38 61 00 38 */ addi r3, r1, 0x38 /* 801D2AF0 001CFA50 38 A1 00 40 */ addi r5, r1, 0x40 /* 801D2AF4 001CFA54 81 84 00 00 */ lwz r12, 0(r4) /* 801D2AF8 001CFA58 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D2AFC 001CFA5C 7D 89 03 A6 */ mtctr r12 /* 801D2B00 001CFA60 4E 80 04 21 */ bctrl /* 801D2B04 001CFA64 39 C1 00 80 */ addi r14, r1, 0x80 /* 801D2B08 001CFA68 38 81 00 38 */ addi r4, r1, 0x38 /* 801D2B0C 001CFA6C 7D C3 73 78 */ mr r3, r14 /* 801D2B10 001CFA70 48 16 E3 99 */ bl __ct__6CTokenFRC6CToken /* 801D2B14 001CFA74 7D C3 73 78 */ mr r3, r14 /* 801D2B18 001CFA78 48 16 E2 F5 */ bl GetObj__6CTokenFv /* 801D2B1C 001CFA7C 80 03 00 04 */ lwz r0, 4(r3) /* 801D2B20 001CFA80 38 6F 01 C4 */ addi r3, r15, 0x1c4 /* 801D2B24 001CFA84 90 01 00 88 */ stw r0, 0x88(r1) /* 801D2B28 001CFA88 80 0F 01 C4 */ lwz r0, 0x1c4(r15) /* 801D2B2C 001CFA8C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D2B30 001CFA90 7D C3 02 14 */ add r14, r3, r0 /* 801D2B34 001CFA94 35 CE 00 04 */ addic. r14, r14, 4 /* 801D2B38 001CFA98 41 82 00 20 */ beq lbl_801D2B58 /* 801D2B3C 001CFA9C 7D C3 73 78 */ mr r3, r14 /* 801D2B40 001CFAA0 38 81 00 80 */ addi r4, r1, 0x80 /* 801D2B44 001CFAA4 48 16 E3 65 */ bl __ct__6CTokenFRC6CToken /* 801D2B48 001CFAA8 80 01 00 88 */ lwz r0, 0x88(r1) /* 801D2B4C 001CFAAC 7D C3 73 78 */ mr r3, r14 /* 801D2B50 001CFAB0 90 0E 00 08 */ stw r0, 8(r14) /* 801D2B54 001CFAB4 48 16 E2 31 */ bl Lock__6CTokenFv lbl_801D2B58: /* 801D2B58 001CFAB8 80 AF 01 C4 */ lwz r5, 0x1c4(r15) /* 801D2B5C 001CFABC 38 61 00 80 */ addi r3, r1, 0x80 /* 801D2B60 001CFAC0 38 80 00 00 */ li r4, 0 /* 801D2B64 001CFAC4 38 05 00 01 */ addi r0, r5, 1 /* 801D2B68 001CFAC8 90 0F 01 C4 */ stw r0, 0x1c4(r15) /* 801D2B6C 001CFACC 48 16 E2 D5 */ bl __dt__6CTokenFv /* 801D2B70 001CFAD0 38 61 00 38 */ addi r3, r1, 0x38 /* 801D2B74 001CFAD4 38 80 FF FF */ li r4, -1 /* 801D2B78 001CFAD8 48 16 E2 C9 */ bl __dt__6CTokenFv lbl_801D2B7C: /* 801D2B7C 001CFADC 3A 00 00 00 */ li r16, 0 /* 801D2B80 001CFAE0 3C 60 80 3D */ lis r3, lbl_803D1B70@ha /* 801D2B84 001CFAE4 7E 11 83 78 */ mr r17, r16 /* 801D2B88 001CFAE8 3A 4F 01 F8 */ addi r18, r15, 0x1f8 /* 801D2B8C 001CFAEC 39 C3 1B 70 */ addi r14, r3, lbl_803D1B70@l /* 801D2B90 001CFAF0 3A 60 00 00 */ li r19, 0 /* 801D2B94 001CFAF4 48 00 00 F8 */ b lbl_801D2C8C lbl_801D2B98: /* 801D2B98 001CFAF8 7D C4 73 78 */ mr r4, r14 /* 801D2B9C 001CFAFC 3A 80 00 00 */ li r20, 0 /* 801D2BA0 001CFB00 38 60 03 40 */ li r3, 0x340 /* 801D2BA4 001CFB04 38 A0 00 00 */ li r5, 0 /* 801D2BA8 001CFB08 48 14 2C C5 */ bl __nw__FUlPCcPCc /* 801D2BAC 001CFB0C 7C 75 1B 79 */ or. r21, r3, r3 /* 801D2BB0 001CFB10 41 82 00 30 */ beq lbl_801D2BE0 /* 801D2BB4 001CFB14 7C 8F 82 14 */ add r4, r15, r16 /* 801D2BB8 001CFB18 38 61 00 30 */ addi r3, r1, 0x30 /* 801D2BBC 001CFB1C 38 84 01 C8 */ addi r4, r4, 0x1c8 /* 801D2BC0 001CFB20 48 16 E2 E9 */ bl __ct__6CTokenFRC6CToken /* 801D2BC4 001CFB24 7E A3 AB 78 */ mr r3, r21 /* 801D2BC8 001CFB28 38 81 00 30 */ addi r4, r1, 0x30 /* 801D2BCC 001CFB2C 3A 80 00 01 */ li r20, 1 /* 801D2BD0 001CFB30 38 A0 00 00 */ li r5, 0 /* 801D2BD4 001CFB34 38 C0 00 01 */ li r6, 1 /* 801D2BD8 001CFB38 48 14 C8 09 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801D2BDC 001CFB3C 7C 75 1B 78 */ mr r21, r3 lbl_801D2BE0: /* 801D2BE0 001CFB40 80 12 00 00 */ lwz r0, 0(r18) /* 801D2BE4 001CFB44 7C 75 00 D0 */ neg r3, r21 /* 801D2BE8 001CFB48 7C 63 AB 78 */ or r3, r3, r21 /* 801D2BEC 001CFB4C 92 A1 00 2C */ stw r21, 0x2c(r1) /* 801D2BF0 001CFB50 54 00 18 38 */ slwi r0, r0, 3 /* 801D2BF4 001CFB54 7C 92 02 14 */ add r4, r18, r0 /* 801D2BF8 001CFB58 54 60 0F FE */ srwi r0, r3, 0x1f /* 801D2BFC 001CFB5C 34 84 00 04 */ addic. r4, r4, 4 /* 801D2C00 001CFB60 98 01 00 28 */ stb r0, 0x28(r1) /* 801D2C04 001CFB64 41 82 00 14 */ beq lbl_801D2C18 /* 801D2C08 001CFB68 98 04 00 00 */ stb r0, 0(r4) /* 801D2C0C 001CFB6C 38 00 00 00 */ li r0, 0 /* 801D2C10 001CFB70 92 A4 00 04 */ stw r21, 4(r4) /* 801D2C14 001CFB74 98 01 00 28 */ stb r0, 0x28(r1) lbl_801D2C18: /* 801D2C18 001CFB78 80 6F 01 F8 */ lwz r3, 0x1f8(r15) /* 801D2C1C 001CFB7C 88 01 00 28 */ lbz r0, 0x28(r1) /* 801D2C20 001CFB80 38 63 00 01 */ addi r3, r3, 1 /* 801D2C24 001CFB84 28 00 00 00 */ cmplwi r0, 0 /* 801D2C28 001CFB88 90 6F 01 F8 */ stw r3, 0x1f8(r15) /* 801D2C2C 001CFB8C 41 82 00 24 */ beq lbl_801D2C50 /* 801D2C30 001CFB90 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801D2C34 001CFB94 28 03 00 00 */ cmplwi r3, 0 /* 801D2C38 001CFB98 41 82 00 18 */ beq lbl_801D2C50 /* 801D2C3C 001CFB9C 81 83 00 00 */ lwz r12, 0(r3) /* 801D2C40 001CFBA0 38 80 00 01 */ li r4, 1 /* 801D2C44 001CFBA4 81 8C 00 08 */ lwz r12, 8(r12) /* 801D2C48 001CFBA8 7D 89 03 A6 */ mtctr r12 /* 801D2C4C 001CFBAC 4E 80 04 21 */ bctrl lbl_801D2C50: /* 801D2C50 001CFBB0 7E 80 07 75 */ extsb. r0, r20 /* 801D2C54 001CFBB4 41 82 00 10 */ beq lbl_801D2C64 /* 801D2C58 001CFBB8 38 61 00 30 */ addi r3, r1, 0x30 /* 801D2C5C 001CFBBC 38 80 00 00 */ li r4, 0 /* 801D2C60 001CFBC0 48 16 E1 E1 */ bl __dt__6CTokenFv lbl_801D2C64: /* 801D2C64 001CFBC4 7C 6F 8A 14 */ add r3, r15, r17 /* 801D2C68 001CFBC8 38 80 00 00 */ li r4, 0 /* 801D2C6C 001CFBCC 80 63 02 00 */ lwz r3, 0x200(r3) /* 801D2C70 001CFBD0 81 83 00 00 */ lwz r12, 0(r3) /* 801D2C74 001CFBD4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801D2C78 001CFBD8 7D 89 03 A6 */ mtctr r12 /* 801D2C7C 001CFBDC 4E 80 04 21 */ bctrl /* 801D2C80 001CFBE0 3A 10 00 0C */ addi r16, r16, 0xc /* 801D2C84 001CFBE4 3A 31 00 08 */ addi r17, r17, 8 /* 801D2C88 001CFBE8 3A 73 00 01 */ addi r19, r19, 1 lbl_801D2C8C: /* 801D2C8C 001CFBEC 80 0F 01 C4 */ lwz r0, 0x1c4(r15) /* 801D2C90 001CFBF0 7C 13 00 00 */ cmpw r19, r0 /* 801D2C94 001CFBF4 41 80 FF 04 */ blt lbl_801D2B98 /* 801D2C98 001CFBF8 38 6F 02 1C */ addi r3, r15, 0x21c /* 801D2C9C 001CFBFC 80 0F 02 1C */ lwz r0, 0x21c(r15) /* 801D2CA0 001CFC00 54 00 10 3A */ slwi r0, r0, 2 /* 801D2CA4 001CFC04 7C 63 02 14 */ add r3, r3, r0 /* 801D2CA8 001CFC08 34 63 00 04 */ addic. r3, r3, 4 /* 801D2CAC 001CFC0C 41 82 00 0C */ beq lbl_801D2CB8 /* 801D2CB0 001CFC10 80 01 03 28 */ lwz r0, 0x328(r1) /* 801D2CB4 001CFC14 90 03 00 00 */ stw r0, 0(r3) lbl_801D2CB8: /* 801D2CB8 001CFC18 80 6F 02 1C */ lwz r3, 0x21c(r15) /* 801D2CBC 001CFC1C 38 8F 02 1C */ addi r4, r15, 0x21c /* 801D2CC0 001CFC20 38 03 00 01 */ addi r0, r3, 1 /* 801D2CC4 001CFC24 90 0F 02 1C */ stw r0, 0x21c(r15) /* 801D2CC8 001CFC28 80 0F 02 1C */ lwz r0, 0x21c(r15) /* 801D2CCC 001CFC2C 54 00 10 3A */ slwi r0, r0, 2 /* 801D2CD0 001CFC30 7C 64 02 14 */ add r3, r4, r0 /* 801D2CD4 001CFC34 34 63 00 04 */ addic. r3, r3, 4 /* 801D2CD8 001CFC38 41 82 00 0C */ beq lbl_801D2CE4 /* 801D2CDC 001CFC3C 80 01 03 30 */ lwz r0, 0x330(r1) /* 801D2CE0 001CFC40 90 03 00 00 */ stw r0, 0(r3) lbl_801D2CE4: /* 801D2CE4 001CFC44 80 6F 02 1C */ lwz r3, 0x21c(r15) /* 801D2CE8 001CFC48 38 8F 02 1C */ addi r4, r15, 0x21c /* 801D2CEC 001CFC4C 38 03 00 01 */ addi r0, r3, 1 /* 801D2CF0 001CFC50 90 0F 02 1C */ stw r0, 0x21c(r15) /* 801D2CF4 001CFC54 80 0F 02 1C */ lwz r0, 0x21c(r15) /* 801D2CF8 001CFC58 54 00 10 3A */ slwi r0, r0, 2 /* 801D2CFC 001CFC5C 7C 64 02 14 */ add r3, r4, r0 /* 801D2D00 001CFC60 34 63 00 04 */ addic. r3, r3, 4 /* 801D2D04 001CFC64 41 82 00 0C */ beq lbl_801D2D10 /* 801D2D08 001CFC68 80 01 03 38 */ lwz r0, 0x338(r1) /* 801D2D0C 001CFC6C 90 03 00 00 */ stw r0, 0(r3) lbl_801D2D10: /* 801D2D10 001CFC70 80 6F 02 1C */ lwz r3, 0x21c(r15) /* 801D2D14 001CFC74 38 8F 02 1C */ addi r4, r15, 0x21c /* 801D2D18 001CFC78 38 03 00 01 */ addi r0, r3, 1 /* 801D2D1C 001CFC7C 90 0F 02 1C */ stw r0, 0x21c(r15) /* 801D2D20 001CFC80 80 0F 02 1C */ lwz r0, 0x21c(r15) /* 801D2D24 001CFC84 54 00 10 3A */ slwi r0, r0, 2 /* 801D2D28 001CFC88 7C 64 02 14 */ add r3, r4, r0 /* 801D2D2C 001CFC8C 34 63 00 04 */ addic. r3, r3, 4 /* 801D2D30 001CFC90 41 82 00 0C */ beq lbl_801D2D3C /* 801D2D34 001CFC94 80 01 03 40 */ lwz r0, 0x340(r1) /* 801D2D38 001CFC98 90 03 00 00 */ stw r0, 0(r3) lbl_801D2D3C: /* 801D2D3C 001CFC9C 80 AF 02 1C */ lwz r5, 0x21c(r15) /* 801D2D40 001CFCA0 7D E4 7B 78 */ mr r4, r15 /* 801D2D44 001CFCA4 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801D2D48 001CFCA8 38 05 00 01 */ addi r0, r5, 1 /* 801D2D4C 001CFCAC 90 0F 02 1C */ stw r0, 0x21c(r15) /* 801D2D50 001CFCB0 4B FF F0 91 */ bl GetBoundingBox__10CFishCloudCFv /* 801D2D54 001CFCB4 C0 21 00 E0 */ lfs f1, 0xe0(r1) /* 801D2D58 001CFCB8 7D E3 7B 78 */ mr r3, r15 /* 801D2D5C 001CFCBC C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 801D2D60 001CFCC0 C0 61 00 E4 */ lfs f3, 0xe4(r1) /* 801D2D64 001CFCC4 C0 41 00 D8 */ lfs f2, 0xd8(r1) /* 801D2D68 001CFCC8 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D2D6C 001CFCCC C0 A2 AC 18 */ lfs f5, lbl_805AC938@sda21(r2) /* 801D2D70 001CFCD0 EC 83 10 28 */ fsubs f4, f3, f2 /* 801D2D74 001CFCD4 C0 41 00 E8 */ lfs f2, 0xe8(r1) /* 801D2D78 001CFCD8 C0 21 00 DC */ lfs f1, 0xdc(r1) /* 801D2D7C 001CFCDC EC 05 00 32 */ fmuls f0, f5, f0 /* 801D2D80 001CFCE0 C0 62 AB B4 */ lfs f3, lbl_805AC8D4@sda21(r2) /* 801D2D84 001CFCE4 EC 22 08 28 */ fsubs f1, f2, f1 /* 801D2D88 001CFCE8 EC 45 01 32 */ fmuls f2, f5, f4 /* 801D2D8C 001CFCEC D0 0F 02 38 */ stfs f0, 0x238(r15) /* 801D2D90 001CFCF0 EC 05 00 72 */ fmuls f0, f5, f1 /* 801D2D94 001CFCF4 D0 4F 02 3C */ stfs f2, 0x23c(r15) /* 801D2D98 001CFCF8 D0 0F 02 40 */ stfs f0, 0x240(r15) /* 801D2D9C 001CFCFC C0 0F 02 38 */ lfs f0, 0x238(r15) /* 801D2DA0 001CFD00 C0 2F 02 3C */ lfs f1, 0x23c(r15) /* 801D2DA4 001CFD04 C0 4F 02 40 */ lfs f2, 0x240(r15) /* 801D2DA8 001CFD08 EC 03 00 24 */ fdivs f0, f3, f0 /* 801D2DAC 001CFD0C EC 23 08 24 */ fdivs f1, f3, f1 /* 801D2DB0 001CFD10 D0 0F 02 44 */ stfs f0, 0x244(r15) /* 801D2DB4 001CFD14 EC 03 10 24 */ fdivs f0, f3, f2 /* 801D2DB8 001CFD18 D0 2F 02 48 */ stfs f1, 0x248(r15) /* 801D2DBC 001CFD1C D0 0F 02 4C */ stfs f0, 0x24c(r15) /* 801D2DC0 001CFD20 E3 E1 02 E8 */ psq_l f31, 744(r1), 0, qr0 /* 801D2DC4 001CFD24 CB E1 02 E0 */ lfd f31, 0x2e0(r1) /* 801D2DC8 001CFD28 E3 C1 02 D8 */ psq_l f30, 728(r1), 0, qr0 /* 801D2DCC 001CFD2C CB C1 02 D0 */ lfd f30, 0x2d0(r1) /* 801D2DD0 001CFD30 E3 A1 02 C8 */ psq_l f29, 712(r1), 0, qr0 /* 801D2DD4 001CFD34 CB A1 02 C0 */ lfd f29, 0x2c0(r1) /* 801D2DD8 001CFD38 E3 81 02 B8 */ psq_l f28, 696(r1), 0, qr0 /* 801D2DDC 001CFD3C CB 81 02 B0 */ lfd f28, 0x2b0(r1) /* 801D2DE0 001CFD40 E3 61 02 A8 */ psq_l f27, 680(r1), 0, qr0 /* 801D2DE4 001CFD44 CB 61 02 A0 */ lfd f27, 0x2a0(r1) /* 801D2DE8 001CFD48 E3 41 02 98 */ psq_l f26, 664(r1), 0, qr0 /* 801D2DEC 001CFD4C CB 41 02 90 */ lfd f26, 0x290(r1) /* 801D2DF0 001CFD50 E3 21 02 88 */ psq_l f25, 648(r1), 0, qr0 /* 801D2DF4 001CFD54 CB 21 02 80 */ lfd f25, 0x280(r1) /* 801D2DF8 001CFD58 E3 01 02 78 */ psq_l f24, 632(r1), 0, qr0 /* 801D2DFC 001CFD5C CB 01 02 70 */ lfd f24, 0x270(r1) /* 801D2E00 001CFD60 E2 E1 02 68 */ psq_l f23, 616(r1), 0, qr0 /* 801D2E04 001CFD64 CA E1 02 60 */ lfd f23, 0x260(r1) /* 801D2E08 001CFD68 E2 C1 02 58 */ psq_l f22, 600(r1), 0, qr0 /* 801D2E0C 001CFD6C CA C1 02 50 */ lfd f22, 0x250(r1) /* 801D2E10 001CFD70 E2 A1 02 48 */ psq_l f21, 584(r1), 0, qr0 /* 801D2E14 001CFD74 CA A1 02 40 */ lfd f21, 0x240(r1) /* 801D2E18 001CFD78 E2 81 02 38 */ psq_l f20, 568(r1), 0, qr0 /* 801D2E1C 001CFD7C CA 81 02 30 */ lfd f20, 0x230(r1) /* 801D2E20 001CFD80 E2 61 02 28 */ psq_l f19, 552(r1), 0, qr0 /* 801D2E24 001CFD84 CA 61 02 20 */ lfd f19, 0x220(r1) /* 801D2E28 001CFD88 E2 41 02 18 */ psq_l f18, 536(r1), 0, qr0 /* 801D2E2C 001CFD8C CA 41 02 10 */ lfd f18, 0x210(r1) /* 801D2E30 001CFD90 B9 C1 01 C8 */ lmw r14, 0x1c8(r1) /* 801D2E34 001CFD94 80 01 02 F4 */ lwz r0, 0x2f4(r1) /* 801D2E38 001CFD98 7C 08 03 A6 */ mtlr r0 /* 801D2E3C 001CFD9C 38 21 02 F0 */ addi r1, r1, 0x2f0 /* 801D2E40 001CFDA0 4E 80 00 20 */ blr .global __ct__Q210CFishCloud5CBoidFRC9CVector3fRC9CVector3ff __ct__Q210CFishCloud5CBoidFRC9CVector3fRC9CVector3ff: /* 801D2E44 001CFDA4 C0 04 00 00 */ lfs f0, 0(r4) /* 801D2E48 001CFDA8 38 C0 00 00 */ li r6, 0 /* 801D2E4C 001CFDAC 38 00 00 01 */ li r0, 1 /* 801D2E50 001CFDB0 D0 03 00 00 */ stfs f0, 0(r3) /* 801D2E54 001CFDB4 C0 04 00 04 */ lfs f0, 4(r4) /* 801D2E58 001CFDB8 D0 03 00 04 */ stfs f0, 4(r3) /* 801D2E5C 001CFDBC C0 04 00 08 */ lfs f0, 8(r4) /* 801D2E60 001CFDC0 D0 03 00 08 */ stfs f0, 8(r3) /* 801D2E64 001CFDC4 C0 05 00 00 */ lfs f0, 0(r5) /* 801D2E68 001CFDC8 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801D2E6C 001CFDCC C0 05 00 04 */ lfs f0, 4(r5) /* 801D2E70 001CFDD0 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801D2E74 001CFDD4 C0 05 00 08 */ lfs f0, 8(r5) /* 801D2E78 001CFDD8 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801D2E7C 001CFDDC D0 23 00 18 */ stfs f1, 0x18(r3) /* 801D2E80 001CFDE0 90 C3 00 1C */ stw r6, 0x1c(r3) /* 801D2E84 001CFDE4 98 03 00 20 */ stb r0, 0x20(r3) /* 801D2E88 001CFDE8 4E 80 00 20 */ blr .global __lt__Q210CFishCloud15CModifierSourceCFRCQ210CFishCloud15CModifierSource __lt__Q210CFishCloud15CModifierSourceCFRCQ210CFishCloud15CModifierSource: /* 801D2E8C 001CFDEC A0 A3 00 00 */ lhz r5, 0(r3) /* 801D2E90 001CFDF0 A0 04 00 00 */ lhz r0, 0(r4) /* 801D2E94 001CFDF4 7C 05 00 40 */ cmplw r5, r0 /* 801D2E98 001CFDF8 40 82 00 18 */ bne lbl_801D2EB0 /* 801D2E9C 001CFDFC 88 63 00 0C */ lbz r3, 0xc(r3) /* 801D2EA0 001CFE00 88 04 00 0C */ lbz r0, 0xc(r4) /* 801D2EA4 001CFE04 7C 00 18 50 */ subf r0, r0, r3 /* 801D2EA8 001CFE08 54 03 0F FE */ srwi r3, r0, 0x1f /* 801D2EAC 001CFE0C 4E 80 00 20 */ blr lbl_801D2EB0: /* 801D2EB0 001CFE10 7C 00 28 50 */ subf r0, r0, r5 /* 801D2EB4 001CFE14 54 03 0F FE */ srwi r3, r0, 0x1f /* 801D2EB8 001CFE18 4E 80 00 20 */ blr .global __ct__Q210CFishCloud15CModifierSourceFRC9TUniqueIdbff __ct__Q210CFishCloud15CModifierSourceFRC9TUniqueIdbff: /* 801D2EBC 001CFE1C A0 04 00 00 */ lhz r0, 0(r4) /* 801D2EC0 001CFE20 B0 03 00 00 */ sth r0, 0(r3) /* 801D2EC4 001CFE24 D0 23 00 04 */ stfs f1, 4(r3) /* 801D2EC8 001CFE28 D0 43 00 08 */ stfs f2, 8(r3) /* 801D2ECC 001CFE2C 98 A3 00 0C */ stb r5, 0xc(r3) /* 801D2ED0 001CFE30 98 C3 00 0D */ stb r6, 0xd(r3) /* 801D2ED4 001CFE34 4E 80 00 20 */ blr .global RemoveSelf__18CFishCloudModifierFR13CStateManager RemoveSelf__18CFishCloudModifierFR13CStateManager: /* 801D2ED8 001CFE38 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D2EDC 001CFE3C 7C 08 02 A6 */ mflr r0 /* 801D2EE0 001CFE40 90 01 00 44 */ stw r0, 0x44(r1) /* 801D2EE4 001CFE44 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D2EE8 001CFE48 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D2EEC 001CFE4C 7C 9E 23 78 */ mr r30, r4 /* 801D2EF0 001CFE50 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D2EF4 001CFE54 7C 7D 1B 78 */ mr r29, r3 /* 801D2EF8 001CFE58 83 E3 00 2C */ lwz r31, 0x2c(r3) /* 801D2EFC 001CFE5C 48 00 00 AC */ b lbl_801D2FA8 lbl_801D2F00: /* 801D2F00 001CFE60 80 1F 00 00 */ lwz r0, 0(r31) /* 801D2F04 001CFE64 2C 00 00 19 */ cmpwi r0, 0x19 /* 801D2F08 001CFE68 40 82 00 9C */ bne lbl_801D2FA4 /* 801D2F0C 001CFE6C 80 1F 00 04 */ lwz r0, 4(r31) /* 801D2F10 001CFE70 2C 00 00 06 */ cmpwi r0, 6 /* 801D2F14 001CFE74 40 82 00 90 */ bne lbl_801D2FA4 /* 801D2F18 001CFE78 80 1F 00 08 */ lwz r0, 8(r31) /* 801D2F1C 001CFE7C 7F C4 F3 78 */ mr r4, r30 /* 801D2F20 001CFE80 38 61 00 1C */ addi r3, r1, 0x1c /* 801D2F24 001CFE84 38 A1 00 24 */ addi r5, r1, 0x24 /* 801D2F28 001CFE88 90 01 00 24 */ stw r0, 0x24(r1) /* 801D2F2C 001CFE8C 4B E7 4F F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801D2F30 001CFE90 A0 61 00 1C */ lhz r3, 0x1c(r1) /* 801D2F34 001CFE94 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801D2F38 001CFE98 B0 61 00 20 */ sth r3, 0x20(r1) /* 801D2F3C 001CFE9C 7C 03 00 40 */ cmplw r3, r0 /* 801D2F40 001CFEA0 41 82 00 64 */ beq lbl_801D2FA4 /* 801D2F44 001CFEA4 B0 61 00 18 */ sth r3, 0x18(r1) /* 801D2F48 001CFEA8 7F C3 F3 78 */ mr r3, r30 /* 801D2F4C 001CFEAC 38 81 00 18 */ addi r4, r1, 0x18 /* 801D2F50 001CFEB0 4B E7 96 25 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801D2F54 001CFEB4 7C 64 1B 78 */ mr r4, r3 /* 801D2F58 001CFEB8 38 61 00 28 */ addi r3, r1, 0x28 /* 801D2F5C 001CFEBC 4B ED B2 05 */ bl "__ct__24TCastToPtr<10CFishCloud>FP7CEntity" /* 801D2F60 001CFEC0 80 63 00 04 */ lwz r3, 4(r3) /* 801D2F64 001CFEC4 28 03 00 00 */ cmplwi r3, 0 /* 801D2F68 001CFEC8 41 82 00 3C */ beq lbl_801D2FA4 /* 801D2F6C 001CFECC 88 1D 00 F0 */ lbz r0, 0xf0(r29) /* 801D2F70 001CFED0 28 00 00 00 */ cmplwi r0, 0 /* 801D2F74 001CFED4 41 82 00 1C */ beq lbl_801D2F90 /* 801D2F78 001CFED8 A0 1D 00 08 */ lhz r0, 8(r29) /* 801D2F7C 001CFEDC 38 81 00 14 */ addi r4, r1, 0x14 /* 801D2F80 001CFEE0 B0 01 00 10 */ sth r0, 0x10(r1) /* 801D2F84 001CFEE4 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D2F88 001CFEE8 4B FF DA 15 */ bl sub_801d099c /* 801D2F8C 001CFEEC 48 00 00 18 */ b lbl_801D2FA4 lbl_801D2F90: /* 801D2F90 001CFEF0 A0 1D 00 08 */ lhz r0, 8(r29) /* 801D2F94 001CFEF4 38 81 00 0C */ addi r4, r1, 0xc /* 801D2F98 001CFEF8 B0 01 00 08 */ sth r0, 8(r1) /* 801D2F9C 001CFEFC B0 01 00 0C */ sth r0, 0xc(r1) /* 801D2FA0 001CFF00 4B FF DB F1 */ bl sub_801d0b90 lbl_801D2FA4: /* 801D2FA4 001CFF04 3B FF 00 0C */ addi r31, r31, 0xc lbl_801D2FA8: /* 801D2FA8 001CFF08 80 1D 00 24 */ lwz r0, 0x24(r29) /* 801D2FAC 001CFF0C 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 801D2FB0 001CFF10 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D2FB4 001CFF14 7C 03 02 14 */ add r0, r3, r0 /* 801D2FB8 001CFF18 7C 1F 00 40 */ cmplw r31, r0 /* 801D2FBC 001CFF1C 40 82 FF 44 */ bne lbl_801D2F00 /* 801D2FC0 001CFF20 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D2FC4 001CFF24 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D2FC8 001CFF28 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D2FCC 001CFF2C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801D2FD0 001CFF30 7C 08 03 A6 */ mtlr r0 /* 801D2FD4 001CFF34 38 21 00 40 */ addi r1, r1, 0x40 /* 801D2FD8 001CFF38 4E 80 00 20 */ blr .global AddSelf__18CFishCloudModifierFR13CStateManager AddSelf__18CFishCloudModifierFR13CStateManager: /* 801D2FDC 001CFF3C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D2FE0 001CFF40 7C 08 02 A6 */ mflr r0 /* 801D2FE4 001CFF44 90 01 00 44 */ stw r0, 0x44(r1) /* 801D2FE8 001CFF48 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D2FEC 001CFF4C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D2FF0 001CFF50 7C 9E 23 78 */ mr r30, r4 /* 801D2FF4 001CFF54 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D2FF8 001CFF58 7C 7D 1B 78 */ mr r29, r3 /* 801D2FFC 001CFF5C 83 E3 00 2C */ lwz r31, 0x2c(r3) /* 801D3000 001CFF60 48 00 00 C4 */ b lbl_801D30C4 lbl_801D3004: /* 801D3004 001CFF64 80 1F 00 00 */ lwz r0, 0(r31) /* 801D3008 001CFF68 2C 00 00 19 */ cmpwi r0, 0x19 /* 801D300C 001CFF6C 40 82 00 B4 */ bne lbl_801D30C0 /* 801D3010 001CFF70 80 1F 00 04 */ lwz r0, 4(r31) /* 801D3014 001CFF74 2C 00 00 06 */ cmpwi r0, 6 /* 801D3018 001CFF78 40 82 00 A8 */ bne lbl_801D30C0 /* 801D301C 001CFF7C 80 1F 00 08 */ lwz r0, 8(r31) /* 801D3020 001CFF80 7F C4 F3 78 */ mr r4, r30 /* 801D3024 001CFF84 38 61 00 1C */ addi r3, r1, 0x1c /* 801D3028 001CFF88 38 A1 00 24 */ addi r5, r1, 0x24 /* 801D302C 001CFF8C 90 01 00 24 */ stw r0, 0x24(r1) /* 801D3030 001CFF90 4B E7 4E ED */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801D3034 001CFF94 A0 61 00 1C */ lhz r3, 0x1c(r1) /* 801D3038 001CFF98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801D303C 001CFF9C B0 61 00 20 */ sth r3, 0x20(r1) /* 801D3040 001CFFA0 7C 03 00 40 */ cmplw r3, r0 /* 801D3044 001CFFA4 41 82 00 7C */ beq lbl_801D30C0 /* 801D3048 001CFFA8 B0 61 00 18 */ sth r3, 0x18(r1) /* 801D304C 001CFFAC 7F C3 F3 78 */ mr r3, r30 /* 801D3050 001CFFB0 38 81 00 18 */ addi r4, r1, 0x18 /* 801D3054 001CFFB4 4B E7 95 21 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801D3058 001CFFB8 7C 64 1B 78 */ mr r4, r3 /* 801D305C 001CFFBC 38 61 00 28 */ addi r3, r1, 0x28 /* 801D3060 001CFFC0 4B ED B1 01 */ bl "__ct__24TCastToPtr<10CFishCloud>FP7CEntity" /* 801D3064 001CFFC4 80 63 00 04 */ lwz r3, 4(r3) /* 801D3068 001CFFC8 28 03 00 00 */ cmplwi r3, 0 /* 801D306C 001CFFCC 41 82 00 54 */ beq lbl_801D30C0 /* 801D3070 001CFFD0 88 1D 00 F0 */ lbz r0, 0xf0(r29) /* 801D3074 001CFFD4 28 00 00 00 */ cmplwi r0, 0 /* 801D3078 001CFFD8 41 82 00 28 */ beq lbl_801D30A0 /* 801D307C 001CFFDC A0 1D 00 08 */ lhz r0, 8(r29) /* 801D3080 001CFFE0 38 81 00 14 */ addi r4, r1, 0x14 /* 801D3084 001CFFE4 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D3088 001CFFE8 88 BD 00 F1 */ lbz r5, 0xf1(r29) /* 801D308C 001CFFEC B0 01 00 10 */ sth r0, 0x10(r1) /* 801D3090 001CFFF0 C0 3D 00 E8 */ lfs f1, 0xe8(r29) /* 801D3094 001CFFF4 C0 5D 00 EC */ lfs f2, 0xec(r29) /* 801D3098 001CFFF8 4B FF DB ED */ bl sub_801d0c84 /* 801D309C 001CFFFC 48 00 00 24 */ b lbl_801D30C0 lbl_801D30A0: /* 801D30A0 001D0000 A0 1D 00 08 */ lhz r0, 8(r29) /* 801D30A4 001D0004 38 81 00 0C */ addi r4, r1, 0xc /* 801D30A8 001D0008 B0 01 00 0C */ sth r0, 0xc(r1) /* 801D30AC 001D000C 88 BD 00 F1 */ lbz r5, 0xf1(r29) /* 801D30B0 001D0010 B0 01 00 08 */ sth r0, 8(r1) /* 801D30B4 001D0014 C0 3D 00 E8 */ lfs f1, 0xe8(r29) /* 801D30B8 001D0018 C0 5D 00 EC */ lfs f2, 0xec(r29) /* 801D30BC 001D001C 4B FF E0 89 */ bl sub_801d1144 lbl_801D30C0: /* 801D30C0 001D0020 3B FF 00 0C */ addi r31, r31, 0xc lbl_801D30C4: /* 801D30C4 001D0024 80 1D 00 24 */ lwz r0, 0x24(r29) /* 801D30C8 001D0028 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 801D30CC 001D002C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D30D0 001D0030 7C 03 02 14 */ add r0, r3, r0 /* 801D30D4 001D0034 7C 1F 00 40 */ cmplw r31, r0 /* 801D30D8 001D0038 40 82 FF 2C */ bne lbl_801D3004 /* 801D30DC 001D003C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D30E0 001D0040 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D30E4 001D0044 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D30E8 001D0048 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801D30EC 001D004C 7C 08 03 A6 */ mtlr r0 /* 801D30F0 001D0050 38 21 00 40 */ addi r1, r1, 0x40 /* 801D30F4 001D0054 4E 80 00 20 */ blr .global AcceptScriptMsg__18CFishCloudModifierF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__18CFishCloudModifierF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801D30F8 001D0058 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D30FC 001D005C 7C 08 02 A6 */ mflr r0 /* 801D3100 001D0060 90 01 00 24 */ stw r0, 0x24(r1) /* 801D3104 001D0064 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D3108 001D0068 7C DF 33 78 */ mr r31, r6 /* 801D310C 001D006C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D3110 001D0070 7C 9E 23 78 */ mr r30, r4 /* 801D3114 001D0074 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D3118 001D0078 7C 7D 1B 78 */ mr r29, r3 /* 801D311C 001D007C A0 05 00 00 */ lhz r0, 0(r5) /* 801D3120 001D0080 38 A1 00 08 */ addi r5, r1, 8 /* 801D3124 001D0084 B0 01 00 08 */ sth r0, 8(r1) /* 801D3128 001D0088 4B E8 04 ED */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801D312C 001D008C 2C 1E 00 04 */ cmpwi r30, 4 /* 801D3130 001D0090 41 82 00 48 */ beq lbl_801D3178 /* 801D3134 001D0094 40 80 00 10 */ bge lbl_801D3144 /* 801D3138 001D0098 2C 1E 00 01 */ cmpwi r30, 1 /* 801D313C 001D009C 41 82 00 20 */ beq lbl_801D315C /* 801D3140 001D00A0 48 00 00 44 */ b lbl_801D3184 lbl_801D3144: /* 801D3144 001D00A4 2C 1E 00 23 */ cmpwi r30, 0x23 /* 801D3148 001D00A8 41 82 00 14 */ beq lbl_801D315C /* 801D314C 001D00AC 40 80 00 38 */ bge lbl_801D3184 /* 801D3150 001D00B0 2C 1E 00 22 */ cmpwi r30, 0x22 /* 801D3154 001D00B4 40 80 00 24 */ bge lbl_801D3178 /* 801D3158 001D00B8 48 00 00 2C */ b lbl_801D3184 lbl_801D315C: /* 801D315C 001D00BC 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801D3160 001D00C0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D3164 001D00C4 41 82 00 20 */ beq lbl_801D3184 /* 801D3168 001D00C8 7F A3 EB 78 */ mr r3, r29 /* 801D316C 001D00CC 7F E4 FB 78 */ mr r4, r31 /* 801D3170 001D00D0 4B FF FE 6D */ bl AddSelf__18CFishCloudModifierFR13CStateManager /* 801D3174 001D00D4 48 00 00 10 */ b lbl_801D3184 lbl_801D3178: /* 801D3178 001D00D8 7F A3 EB 78 */ mr r3, r29 /* 801D317C 001D00DC 7F E4 FB 78 */ mr r4, r31 /* 801D3180 001D00E0 4B FF FD 59 */ bl RemoveSelf__18CFishCloudModifierFR13CStateManager lbl_801D3184: /* 801D3184 001D00E4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D3188 001D00E8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D318C 001D00EC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D3190 001D00F0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D3194 001D00F4 7C 08 03 A6 */ mtlr r0 /* 801D3198 001D00F8 38 21 00 20 */ addi r1, r1, 0x20 /* 801D319C 001D00FC 4E 80 00 20 */ blr .global Accept__18CFishCloudModifierFR8IVisitor Accept__18CFishCloudModifierFR8IVisitor: /* 801D31A0 001D0100 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D31A4 001D0104 7C 08 02 A6 */ mflr r0 /* 801D31A8 001D0108 90 01 00 14 */ stw r0, 0x14(r1) /* 801D31AC 001D010C 7C 60 1B 78 */ mr r0, r3 /* 801D31B0 001D0110 7C 83 23 78 */ mr r3, r4 /* 801D31B4 001D0114 81 84 00 00 */ lwz r12, 0(r4) /* 801D31B8 001D0118 7C 04 03 78 */ mr r4, r0 /* 801D31BC 001D011C 81 8C 00 08 */ lwz r12, 8(r12) /* 801D31C0 001D0120 7D 89 03 A6 */ mtctr r12 /* 801D31C4 001D0124 4E 80 04 21 */ bctrl /* 801D31C8 001D0128 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D31CC 001D012C 7C 08 03 A6 */ mtlr r0 /* 801D31D0 001D0130 38 21 00 10 */ addi r1, r1, 0x10 /* 801D31D4 001D0134 4E 80 00 20 */ blr .global "__ct__18CFishCloudModifierF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbff" "__ct__18CFishCloudModifierF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbff": /* 801D31D8 001D0138 94 21 FE C0 */ stwu r1, -0x140(r1) /* 801D31DC 001D013C 7C 08 02 A6 */ mflr r0 /* 801D31E0 001D0140 90 01 01 44 */ stw r0, 0x144(r1) /* 801D31E4 001D0144 DB E1 01 38 */ stfd f31, 0x138(r1) /* 801D31E8 001D0148 FF E0 10 90 */ fmr f31, f2 /* 801D31EC 001D014C DB C1 01 30 */ stfd f30, 0x130(r1) /* 801D31F0 001D0150 FF C0 08 90 */ fmr f30, f1 /* 801D31F4 001D0154 BF 01 01 10 */ stmw r24, 0x110(r1) /* 801D31F8 001D0158 7C 7F 1B 78 */ mr r31, r3 /* 801D31FC 001D015C 7C 98 23 78 */ mr r24, r4 /* 801D3200 001D0160 7C B9 2B 78 */ mr r25, r5 /* 801D3204 001D0164 7C DA 33 78 */ mr r26, r6 /* 801D3208 001D0168 7C FB 3B 78 */ mr r27, r7 /* 801D320C 001D016C 7D 1C 43 78 */ mr r28, r8 /* 801D3210 001D0170 7D 3D 4B 78 */ mr r29, r9 /* 801D3214 001D0174 7D 5E 53 78 */ mr r30, r10 /* 801D3218 001D0178 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801D321C 001D017C 4B E6 75 89 */ bl CModelDataNull__10CModelDataFv /* 801D3220 001D0180 38 61 00 50 */ addi r3, r1, 0x50 /* 801D3224 001D0184 4B E4 7C 15 */ bl None__16CActorParametersFv /* 801D3228 001D0188 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801D322C 001D018C 38 00 00 00 */ li r0, 0 /* 801D3230 001D0190 80 AD 91 88 */ lwz r5, lbl_805A7D48@sda21(r13) /* 801D3234 001D0194 38 60 00 00 */ li r3, 0 /* 801D3238 001D0198 B0 81 00 10 */ sth r4, 0x10(r1) /* 801D323C 001D019C 38 80 00 01 */ li r4, 1 /* 801D3240 001D01A0 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D3244 001D01A4 90 01 00 18 */ stw r0, 0x18(r1) /* 801D3248 001D01A8 48 1B 6C AD */ bl __shl2i /* 801D324C 001D01AC 80 01 00 18 */ lwz r0, 0x18(r1) /* 801D3250 001D01B0 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801D3254 001D01B4 7C 03 1B 78 */ or r3, r0, r3 /* 801D3258 001D01B8 A0 18 00 00 */ lhz r0, 0(r24) /* 801D325C 001D01BC 7C A5 23 78 */ or r5, r5, r4 /* 801D3260 001D01C0 90 61 00 18 */ stw r3, 0x18(r1) /* 801D3264 001D01C4 7F 84 E3 78 */ mr r4, r28 /* 801D3268 001D01C8 38 61 00 20 */ addi r3, r1, 0x20 /* 801D326C 001D01CC 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801D3270 001D01D0 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D3274 001D01D4 48 13 FE CD */ bl Translate__12CTransform4fFRC9CVector3f /* 801D3278 001D01D8 38 61 00 50 */ addi r3, r1, 0x50 /* 801D327C 001D01DC 38 01 00 10 */ addi r0, r1, 0x10 /* 801D3280 001D01E0 90 61 00 08 */ stw r3, 8(r1) /* 801D3284 001D01E4 7F E3 FB 78 */ mr r3, r31 /* 801D3288 001D01E8 7F 25 CB 78 */ mr r5, r25 /* 801D328C 001D01EC 7F 46 D3 78 */ mr r6, r26 /* 801D3290 001D01F0 90 01 00 0C */ stw r0, 0xc(r1) /* 801D3294 001D01F4 7F 67 DB 78 */ mr r7, r27 /* 801D3298 001D01F8 38 81 00 14 */ addi r4, r1, 0x14 /* 801D329C 001D01FC 39 01 00 20 */ addi r8, r1, 0x20 /* 801D32A0 001D0200 39 21 00 B8 */ addi r9, r1, 0xb8 /* 801D32A4 001D0204 39 41 00 18 */ addi r10, r1, 0x18 /* 801D32A8 001D0208 4B E8 25 79 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801D32AC 001D020C 38 61 00 50 */ addi r3, r1, 0x50 /* 801D32B0 001D0210 38 80 FF FF */ li r4, -1 /* 801D32B4 001D0214 4B F3 33 55 */ bl __dt__16CActorParametersFv /* 801D32B8 001D0218 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801D32BC 001D021C 38 80 FF FF */ li r4, -1 /* 801D32C0 001D0220 4B F4 37 8D */ bl __dt__10CModelDataFv /* 801D32C4 001D0224 3C 80 80 3E */ lis r4, lbl_803E57C4@ha /* 801D32C8 001D0228 7F E3 FB 78 */ mr r3, r31 /* 801D32CC 001D022C 38 04 57 C4 */ addi r0, r4, lbl_803E57C4@l /* 801D32D0 001D0230 90 1F 00 00 */ stw r0, 0(r31) /* 801D32D4 001D0234 D3 DF 00 E8 */ stfs f30, 0xe8(r31) /* 801D32D8 001D0238 D3 FF 00 EC */ stfs f31, 0xec(r31) /* 801D32DC 001D023C 9B BF 00 F0 */ stb r29, 0xf0(r31) /* 801D32E0 001D0240 9B DF 00 F1 */ stb r30, 0xf1(r31) /* 801D32E4 001D0244 CB E1 01 38 */ lfd f31, 0x138(r1) /* 801D32E8 001D0248 CB C1 01 30 */ lfd f30, 0x130(r1) /* 801D32EC 001D024C BB 01 01 10 */ lmw r24, 0x110(r1) /* 801D32F0 001D0250 80 01 01 44 */ lwz r0, 0x144(r1) /* 801D32F4 001D0254 7C 08 03 A6 */ mtlr r0 /* 801D32F8 001D0258 38 21 01 40 */ addi r1, r1, 0x140 /* 801D32FC 001D025C 4E 80 00 20 */ blr .global __dt__18CFishCloudModifierFv __dt__18CFishCloudModifierFv: /* 801D3300 001D0260 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3304 001D0264 7C 08 02 A6 */ mflr r0 /* 801D3308 001D0268 90 01 00 14 */ stw r0, 0x14(r1) /* 801D330C 001D026C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3310 001D0270 7C 9F 23 78 */ mr r31, r4 /* 801D3314 001D0274 93 C1 00 08 */ stw r30, 8(r1) /* 801D3318 001D0278 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D331C 001D027C 41 82 00 28 */ beq lbl_801D3344 /* 801D3320 001D0280 3C A0 80 3E */ lis r5, lbl_803E57C4@ha /* 801D3324 001D0284 38 80 00 00 */ li r4, 0 /* 801D3328 001D0288 38 05 57 C4 */ addi r0, r5, lbl_803E57C4@l /* 801D332C 001D028C 90 1E 00 00 */ stw r0, 0(r30) /* 801D3330 001D0290 4B E8 23 C1 */ bl __dt__6CActorFv /* 801D3334 001D0294 7F E0 07 35 */ extsh. r0, r31 /* 801D3338 001D0298 40 81 00 0C */ ble lbl_801D3344 /* 801D333C 001D029C 7F C3 F3 78 */ mr r3, r30 /* 801D3340 001D02A0 48 14 25 F1 */ bl Free__7CMemoryFPCv lbl_801D3344: /* 801D3344 001D02A4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D3348 001D02A8 7F C3 F3 78 */ mr r3, r30 /* 801D334C 001D02AC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D3350 001D02B0 83 C1 00 08 */ lwz r30, 8(r1) /* 801D3354 001D02B4 7C 08 03 A6 */ mtlr r0 /* 801D3358 001D02B8 38 21 00 10 */ addi r1, r1, 0x10 /* 801D335C 001D02BC 4E 80 00 20 */ blr .global sub_801d3360 sub_801d3360: /* 801D3360 001D02C0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3364 001D02C4 7C 08 02 A6 */ mflr r0 /* 801D3368 001D02C8 90 01 00 14 */ stw r0, 0x14(r1) /* 801D336C 001D02CC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3370 001D02D0 7C 7F 1B 78 */ mr r31, r3 /* 801D3374 001D02D4 80 83 00 00 */ lwz r4, 0(r3) /* 801D3378 001D02D8 80 64 00 04 */ lwz r3, 4(r4) /* 801D337C 001D02DC 34 03 FF FF */ addic. r0, r3, -1 /* 801D3380 001D02E0 90 04 00 04 */ stw r0, 4(r4) /* 801D3384 001D02E4 41 81 00 24 */ bgt lbl_801D33A8 /* 801D3388 001D02E8 80 7F 00 00 */ lwz r3, 0(r31) /* 801D338C 001D02EC 38 80 00 01 */ li r4, 1 /* 801D3390 001D02F0 80 63 00 00 */ lwz r3, 0(r3) /* 801D3394 001D02F4 4B F4 36 B9 */ bl __dt__10CModelDataFv /* 801D3398 001D02F8 80 7F 00 00 */ lwz r3, 0(r31) /* 801D339C 001D02FC 28 03 00 00 */ cmplwi r3, 0 /* 801D33A0 001D0300 41 82 00 08 */ beq lbl_801D33A8 /* 801D33A4 001D0304 48 14 25 8D */ bl Free__7CMemoryFPCv lbl_801D33A8: /* 801D33A8 001D0308 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D33AC 001D030C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D33B0 001D0310 7C 08 03 A6 */ mtlr r0 /* 801D33B4 001D0314 38 21 00 10 */ addi r1, r1, 0x10 /* 801D33B8 001D0318 4E 80 00 20 */ blr .global "lower_bound,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>,Q210CFishCloud15CModifierSource>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>" /* 801D33F4 001D0354 80 1B 00 00 */ lwz r0, 0(r27) /* 801D33F8 001D0358 7C 7E 1B 78 */ mr r30, r3 /* 801D33FC 001D035C 90 01 00 10 */ stw r0, 0x10(r1) /* 801D3400 001D0360 48 00 00 5C */ b lbl_801D345C lbl_801D3404: /* 801D3404 001D0364 57 C3 0F FE */ srwi r3, r30, 0x1f /* 801D3408 001D0368 80 1B 00 00 */ lwz r0, 0(r27) /* 801D340C 001D036C 7C 83 F2 14 */ add r4, r3, r30 /* 801D3410 001D0370 38 61 00 10 */ addi r3, r1, 0x10 /* 801D3414 001D0374 7C 9D 0E 70 */ srawi r29, r4, 1 /* 801D3418 001D0378 90 01 00 10 */ stw r0, 0x10(r1) /* 801D341C 001D037C 7F A4 EB 78 */ mr r4, r29 /* 801D3420 001D0380 48 00 03 89 */ bl "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>i" /* 801D3424 001D0384 80 61 00 10 */ lwz r3, 0x10(r1) /* 801D3428 001D0388 7F 84 E3 78 */ mr r4, r28 /* 801D342C 001D038C 4B FF FA 61 */ bl __lt__Q210CFishCloud15CModifierSourceCFRCQ210CFishCloud15CModifierSource /* 801D3430 001D0390 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D3434 001D0394 41 82 00 24 */ beq lbl_801D3458 /* 801D3438 001D0398 80 01 00 10 */ lwz r0, 0x10(r1) /* 801D343C 001D039C 7C 7D F0 50 */ subf r3, r29, r30 /* 801D3440 001D03A0 3B C3 FF FF */ addi r30, r3, -1 /* 801D3444 001D03A4 90 1B 00 00 */ stw r0, 0(r27) /* 801D3448 001D03A8 80 7B 00 00 */ lwz r3, 0(r27) /* 801D344C 001D03AC 38 03 00 10 */ addi r0, r3, 0x10 /* 801D3450 001D03B0 90 1B 00 00 */ stw r0, 0(r27) /* 801D3454 001D03B4 48 00 00 08 */ b lbl_801D345C lbl_801D3458: /* 801D3458 001D03B8 7F BE EB 78 */ mr r30, r29 lbl_801D345C: /* 801D345C 001D03BC 2C 1E 00 00 */ cmpwi r30, 0 /* 801D3460 001D03C0 41 81 FF A4 */ bgt lbl_801D3404 /* 801D3464 001D03C4 80 1B 00 00 */ lwz r0, 0(r27) /* 801D3468 001D03C8 90 1F 00 00 */ stw r0, 0(r31) /* 801D346C 001D03CC BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801D3470 001D03D0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D3474 001D03D4 7C 08 03 A6 */ mtlr r0 /* 801D3478 001D03D8 38 21 00 30 */ addi r1, r1, 0x30 /* 801D347C 001D03DC 4E 80 00 20 */ blr .global "reserve__Q24rstl66vectorFi" "reserve__Q24rstl66vectorFi": /* 801D3480 001D03E0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D3484 001D03E4 7C 08 02 A6 */ mflr r0 /* 801D3488 001D03E8 90 01 00 34 */ stw r0, 0x34(r1) /* 801D348C 001D03EC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D3490 001D03F0 7C 9F 23 78 */ mr r31, r4 /* 801D3494 001D03F4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D3498 001D03F8 7C 7E 1B 78 */ mr r30, r3 /* 801D349C 001D03FC 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D34A0 001D0400 80 03 00 08 */ lwz r0, 8(r3) /* 801D34A4 001D0404 7C 1F 00 00 */ cmpw r31, r0 /* 801D34A8 001D0408 40 81 00 C8 */ ble lbl_801D3570 /* 801D34AC 001D040C 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b /* 801D34B0 001D0410 40 82 00 0C */ bne lbl_801D34BC /* 801D34B4 001D0414 3B A0 00 00 */ li r29, 0 /* 801D34B8 001D0418 48 00 00 18 */ b lbl_801D34D0 lbl_801D34BC: /* 801D34BC 001D041C 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D34C0 001D0420 38 A0 00 00 */ li r5, 0 /* 801D34C4 001D0424 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D34C8 001D0428 48 14 23 51 */ bl __nwa__FUlPCcPCc /* 801D34CC 001D042C 7C 7D 1B 78 */ mr r29, r3 lbl_801D34D0: /* 801D34D0 001D0430 80 1E 00 04 */ lwz r0, 4(r30) /* 801D34D4 001D0434 7F A4 EB 78 */ mr r4, r29 /* 801D34D8 001D0438 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801D34DC 001D043C 54 00 20 36 */ slwi r0, r0, 4 /* 801D34E0 001D0440 7C 65 02 14 */ add r3, r5, r0 /* 801D34E4 001D0444 90 A1 00 10 */ stw r5, 0x10(r1) /* 801D34E8 001D0448 90 61 00 08 */ stw r3, 8(r1) /* 801D34EC 001D044C 90 61 00 0C */ stw r3, 0xc(r1) /* 801D34F0 001D0450 90 A1 00 14 */ stw r5, 0x14(r1) /* 801D34F4 001D0454 48 00 00 3C */ b lbl_801D3530 lbl_801D34F8: /* 801D34F8 001D0458 28 04 00 00 */ cmplwi r4, 0 /* 801D34FC 001D045C 41 82 00 2C */ beq lbl_801D3528 /* 801D3500 001D0460 A0 05 00 00 */ lhz r0, 0(r5) /* 801D3504 001D0464 B0 04 00 00 */ sth r0, 0(r4) /* 801D3508 001D0468 C0 05 00 04 */ lfs f0, 4(r5) /* 801D350C 001D046C D0 04 00 04 */ stfs f0, 4(r4) /* 801D3510 001D0470 C0 05 00 08 */ lfs f0, 8(r5) /* 801D3514 001D0474 D0 04 00 08 */ stfs f0, 8(r4) /* 801D3518 001D0478 88 05 00 0C */ lbz r0, 0xc(r5) /* 801D351C 001D047C 98 04 00 0C */ stb r0, 0xc(r4) /* 801D3520 001D0480 88 05 00 0D */ lbz r0, 0xd(r5) /* 801D3524 001D0484 98 04 00 0D */ stb r0, 0xd(r4) lbl_801D3528: /* 801D3528 001D0488 38 84 00 10 */ addi r4, r4, 0x10 /* 801D352C 001D048C 38 A5 00 10 */ addi r5, r5, 0x10 lbl_801D3530: /* 801D3530 001D0490 7C 05 18 40 */ cmplw r5, r3 /* 801D3534 001D0494 40 82 FF C4 */ bne lbl_801D34F8 /* 801D3538 001D0498 80 1E 00 04 */ lwz r0, 4(r30) /* 801D353C 001D049C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801D3540 001D04A0 54 00 20 36 */ slwi r0, r0, 4 /* 801D3544 001D04A4 7C 64 1B 78 */ mr r4, r3 /* 801D3548 001D04A8 7C 03 02 14 */ add r0, r3, r0 /* 801D354C 001D04AC 48 00 00 08 */ b lbl_801D3554 lbl_801D3550: /* 801D3550 001D04B0 38 84 00 10 */ addi r4, r4, 0x10 lbl_801D3554: /* 801D3554 001D04B4 7C 04 00 40 */ cmplw r4, r0 /* 801D3558 001D04B8 40 82 FF F8 */ bne lbl_801D3550 /* 801D355C 001D04BC 28 03 00 00 */ cmplwi r3, 0 /* 801D3560 001D04C0 41 82 00 08 */ beq lbl_801D3568 /* 801D3564 001D04C4 48 14 23 CD */ bl Free__7CMemoryFPCv lbl_801D3568: /* 801D3568 001D04C8 93 BE 00 0C */ stw r29, 0xc(r30) /* 801D356C 001D04CC 93 FE 00 08 */ stw r31, 8(r30) lbl_801D3570: /* 801D3570 001D04D0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D3574 001D04D4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D3578 001D04D8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D357C 001D04DC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D3580 001D04E0 7C 08 03 A6 */ mtlr r0 /* 801D3584 001D04E4 38 21 00 30 */ addi r1, r1, 0x30 /* 801D3588 001D04E8 4E 80 00 20 */ blr .global "reserve__Q24rstl56vectorFi" "reserve__Q24rstl56vectorFi": /* 801D358C 001D04EC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D3590 001D04F0 7C 08 02 A6 */ mflr r0 /* 801D3594 001D04F4 90 01 00 34 */ stw r0, 0x34(r1) /* 801D3598 001D04F8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D359C 001D04FC 7C 9F 23 78 */ mr r31, r4 /* 801D35A0 001D0500 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D35A4 001D0504 7C 7E 1B 78 */ mr r30, r3 /* 801D35A8 001D0508 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D35AC 001D050C 80 03 00 08 */ lwz r0, 8(r3) /* 801D35B0 001D0510 7C 1F 00 00 */ cmpw r31, r0 /* 801D35B4 001D0514 40 81 00 A8 */ ble lbl_801D365C /* 801D35B8 001D0518 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d /* 801D35BC 001D051C 40 82 00 0C */ bne lbl_801D35C8 /* 801D35C0 001D0520 3B A0 00 00 */ li r29, 0 /* 801D35C4 001D0524 48 00 00 18 */ b lbl_801D35DC lbl_801D35C8: /* 801D35C8 001D0528 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D35CC 001D052C 38 A0 00 00 */ li r5, 0 /* 801D35D0 001D0530 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D35D4 001D0534 48 14 22 45 */ bl __nwa__FUlPCcPCc /* 801D35D8 001D0538 7C 7D 1B 78 */ mr r29, r3 lbl_801D35DC: /* 801D35DC 001D053C 80 1E 00 04 */ lwz r0, 4(r30) /* 801D35E0 001D0540 7F A4 EB 78 */ mr r4, r29 /* 801D35E4 001D0544 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801D35E8 001D0548 54 00 10 3A */ slwi r0, r0, 2 /* 801D35EC 001D054C 7C 65 02 14 */ add r3, r5, r0 /* 801D35F0 001D0550 90 A1 00 10 */ stw r5, 0x10(r1) /* 801D35F4 001D0554 90 61 00 08 */ stw r3, 8(r1) /* 801D35F8 001D0558 90 61 00 0C */ stw r3, 0xc(r1) /* 801D35FC 001D055C 90 A1 00 14 */ stw r5, 0x14(r1) /* 801D3600 001D0560 48 00 00 1C */ b lbl_801D361C lbl_801D3604: /* 801D3604 001D0564 28 04 00 00 */ cmplwi r4, 0 /* 801D3608 001D0568 41 82 00 0C */ beq lbl_801D3614 /* 801D360C 001D056C 80 05 00 00 */ lwz r0, 0(r5) /* 801D3610 001D0570 90 04 00 00 */ stw r0, 0(r4) lbl_801D3614: /* 801D3614 001D0574 38 84 00 04 */ addi r4, r4, 4 /* 801D3618 001D0578 38 A5 00 04 */ addi r5, r5, 4 lbl_801D361C: /* 801D361C 001D057C 7C 05 18 40 */ cmplw r5, r3 /* 801D3620 001D0580 40 82 FF E4 */ bne lbl_801D3604 /* 801D3624 001D0584 80 1E 00 04 */ lwz r0, 4(r30) /* 801D3628 001D0588 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801D362C 001D058C 54 00 10 3A */ slwi r0, r0, 2 /* 801D3630 001D0590 7C 64 1B 78 */ mr r4, r3 /* 801D3634 001D0594 7C 03 02 14 */ add r0, r3, r0 /* 801D3638 001D0598 48 00 00 08 */ b lbl_801D3640 lbl_801D363C: /* 801D363C 001D059C 38 84 00 04 */ addi r4, r4, 4 lbl_801D3640: /* 801D3640 001D05A0 7C 04 00 40 */ cmplw r4, r0 /* 801D3644 001D05A4 40 82 FF F8 */ bne lbl_801D363C /* 801D3648 001D05A8 28 03 00 00 */ cmplwi r3, 0 /* 801D364C 001D05AC 41 82 00 08 */ beq lbl_801D3654 /* 801D3650 001D05B0 48 14 22 E1 */ bl Free__7CMemoryFPCv lbl_801D3654: /* 801D3654 001D05B4 93 BE 00 0C */ stw r29, 0xc(r30) /* 801D3658 001D05B8 93 FE 00 08 */ stw r31, 8(r30) lbl_801D365C: /* 801D365C 001D05BC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D3660 001D05C0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D3664 001D05C4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D3668 001D05C8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D366C 001D05CC 7C 08 03 A6 */ mtlr r0 /* 801D3670 001D05D0 38 21 00 30 */ addi r1, r1, 0x30 /* 801D3674 001D05D4 4E 80 00 20 */ blr .global "reserve__Q24rstl55vectorFi" "reserve__Q24rstl55vectorFi": /* 801D3678 001D05D8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D367C 001D05DC 7C 08 02 A6 */ mflr r0 /* 801D3680 001D05E0 90 01 00 34 */ stw r0, 0x34(r1) /* 801D3684 001D05E4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D3688 001D05E8 7C 9F 23 78 */ mr r31, r4 /* 801D368C 001D05EC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D3690 001D05F0 7C 7E 1B 78 */ mr r30, r3 /* 801D3694 001D05F4 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D3698 001D05F8 80 03 00 08 */ lwz r0, 8(r3) /* 801D369C 001D05FC 7C 1F 00 00 */ cmpw r31, r0 /* 801D36A0 001D0600 40 81 00 EC */ ble lbl_801D378C /* 801D36A4 001D0604 1C 7F 00 24 */ mulli r3, r31, 0x24 /* 801D36A8 001D0608 2C 03 00 00 */ cmpwi r3, 0 /* 801D36AC 001D060C 40 82 00 0C */ bne lbl_801D36B8 /* 801D36B0 001D0610 3B A0 00 00 */ li r29, 0 /* 801D36B4 001D0614 48 00 00 18 */ b lbl_801D36CC lbl_801D36B8: /* 801D36B8 001D0618 3C 80 80 3D */ lis r4, lbl_803D1B70@ha /* 801D36BC 001D061C 38 A0 00 00 */ li r5, 0 /* 801D36C0 001D0620 38 84 1B 70 */ addi r4, r4, lbl_803D1B70@l /* 801D36C4 001D0624 48 14 21 55 */ bl __nwa__FUlPCcPCc /* 801D36C8 001D0628 7C 7D 1B 78 */ mr r29, r3 lbl_801D36CC: /* 801D36CC 001D062C 80 1E 00 04 */ lwz r0, 4(r30) /* 801D36D0 001D0630 7F A4 EB 78 */ mr r4, r29 /* 801D36D4 001D0634 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801D36D8 001D0638 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801D36DC 001D063C 90 A1 00 10 */ stw r5, 0x10(r1) /* 801D36E0 001D0640 7C 65 02 14 */ add r3, r5, r0 /* 801D36E4 001D0644 90 A1 00 14 */ stw r5, 0x14(r1) /* 801D36E8 001D0648 90 61 00 08 */ stw r3, 8(r1) /* 801D36EC 001D064C 90 61 00 0C */ stw r3, 0xc(r1) /* 801D36F0 001D0650 48 00 00 5C */ b lbl_801D374C lbl_801D36F4: /* 801D36F4 001D0654 28 04 00 00 */ cmplwi r4, 0 /* 801D36F8 001D0658 41 82 00 4C */ beq lbl_801D3744 /* 801D36FC 001D065C C0 05 00 00 */ lfs f0, 0(r5) /* 801D3700 001D0660 D0 04 00 00 */ stfs f0, 0(r4) /* 801D3704 001D0664 C0 05 00 04 */ lfs f0, 4(r5) /* 801D3708 001D0668 D0 04 00 04 */ stfs f0, 4(r4) /* 801D370C 001D066C C0 05 00 08 */ lfs f0, 8(r5) /* 801D3710 001D0670 D0 04 00 08 */ stfs f0, 8(r4) /* 801D3714 001D0674 C0 05 00 0C */ lfs f0, 0xc(r5) /* 801D3718 001D0678 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801D371C 001D067C C0 05 00 10 */ lfs f0, 0x10(r5) /* 801D3720 001D0680 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801D3724 001D0684 C0 05 00 14 */ lfs f0, 0x14(r5) /* 801D3728 001D0688 D0 04 00 14 */ stfs f0, 0x14(r4) /* 801D372C 001D068C C0 05 00 18 */ lfs f0, 0x18(r5) /* 801D3730 001D0690 D0 04 00 18 */ stfs f0, 0x18(r4) /* 801D3734 001D0694 80 05 00 1C */ lwz r0, 0x1c(r5) /* 801D3738 001D0698 90 04 00 1C */ stw r0, 0x1c(r4) /* 801D373C 001D069C 88 05 00 20 */ lbz r0, 0x20(r5) /* 801D3740 001D06A0 98 04 00 20 */ stb r0, 0x20(r4) lbl_801D3744: /* 801D3744 001D06A4 38 84 00 24 */ addi r4, r4, 0x24 /* 801D3748 001D06A8 38 A5 00 24 */ addi r5, r5, 0x24 lbl_801D374C: /* 801D374C 001D06AC 7C 05 18 40 */ cmplw r5, r3 /* 801D3750 001D06B0 40 82 FF A4 */ bne lbl_801D36F4 /* 801D3754 001D06B4 80 1E 00 04 */ lwz r0, 4(r30) /* 801D3758 001D06B8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801D375C 001D06BC 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801D3760 001D06C0 7C 64 1B 78 */ mr r4, r3 /* 801D3764 001D06C4 7C 03 02 14 */ add r0, r3, r0 /* 801D3768 001D06C8 48 00 00 08 */ b lbl_801D3770 lbl_801D376C: /* 801D376C 001D06CC 38 84 00 24 */ addi r4, r4, 0x24 lbl_801D3770: /* 801D3770 001D06D0 7C 04 00 40 */ cmplw r4, r0 /* 801D3774 001D06D4 40 82 FF F8 */ bne lbl_801D376C /* 801D3778 001D06D8 28 03 00 00 */ cmplwi r3, 0 /* 801D377C 001D06DC 41 82 00 08 */ beq lbl_801D3784 /* 801D3780 001D06E0 48 14 21 B1 */ bl Free__7CMemoryFPCv lbl_801D3784: /* 801D3784 001D06E4 93 BE 00 0C */ stw r29, 0xc(r30) /* 801D3788 001D06E8 93 FE 00 08 */ stw r31, 8(r30) lbl_801D378C: /* 801D378C 001D06EC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D3790 001D06F0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D3794 001D06F4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D3798 001D06F8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D379C 001D06FC 7C 08 03 A6 */ mtlr r0 /* 801D37A0 001D0700 38 21 00 30 */ addi r1, r1, 0x30 /* 801D37A4 001D0704 4E 80 00 20 */ blr .global "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>i" "advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>i": /* 801D37A8 001D0708 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D37AC 001D070C 7C 08 02 A6 */ mflr r0 /* 801D37B0 001D0710 90 01 00 14 */ stw r0, 0x14(r1) /* 801D37B4 001D0714 38 A1 00 0C */ addi r5, r1, 0xc /* 801D37B8 001D0718 88 01 00 08 */ lbz r0, 8(r1) /* 801D37BC 001D071C 98 01 00 0C */ stb r0, 0xc(r1) /* 801D37C0 001D0720 48 00 00 15 */ bl "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" /* 801D37C4 001D0724 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D37C8 001D0728 7C 08 03 A6 */ mtlr r0 /* 801D37CC 001D072C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D37D0 001D0730 4E 80 00 20 */ blr .global "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag" "__advance,Q24rstl17rmemory_allocator>,i>__4rstlFRQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>iQ24rstl26random_access_iterator_tag": /* 801D37D4 001D0734 80 A3 00 00 */ lwz r5, 0(r3) /* 801D37D8 001D0738 54 80 20 36 */ slwi r0, r4, 4 /* 801D37DC 001D073C 7C 05 02 14 */ add r0, r5, r0 /* 801D37E0 001D0740 90 03 00 00 */ stw r0, 0(r3) /* 801D37E4 001D0744 4E 80 00 20 */ blr .global "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>" "distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>": /* 801D37E8 001D0748 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D37EC 001D074C 7C 08 02 A6 */ mflr r0 /* 801D37F0 001D0750 90 01 00 24 */ stw r0, 0x24(r1) /* 801D37F4 001D0754 38 A1 00 0C */ addi r5, r1, 0xc /* 801D37F8 001D0758 88 E1 00 08 */ lbz r7, 8(r1) /* 801D37FC 001D075C 80 C4 00 00 */ lwz r6, 0(r4) /* 801D3800 001D0760 38 81 00 10 */ addi r4, r1, 0x10 /* 801D3804 001D0764 80 03 00 00 */ lwz r0, 0(r3) /* 801D3808 001D0768 38 61 00 14 */ addi r3, r1, 0x14 /* 801D380C 001D076C 90 C1 00 10 */ stw r6, 0x10(r1) /* 801D3810 001D0770 98 E1 00 0C */ stb r7, 0xc(r1) /* 801D3814 001D0774 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3818 001D0778 48 00 00 15 */ bl "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24r" /* 801D381C 001D077C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D3820 001D0780 7C 08 03 A6 */ mtlr r0 /* 801D3824 001D0784 38 21 00 20 */ addi r1, r1, 0x20 /* 801D3828 001D0788 4E 80 00 20 */ blr .global "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24r" "__distance,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl152pointer_iterator,Q24rstl17rmemory_allocator>Q24r": /* 801D382C 001D078C 80 63 00 00 */ lwz r3, 0(r3) /* 801D3830 001D0790 80 04 00 00 */ lwz r0, 0(r4) /* 801D3834 001D0794 7C 03 00 50 */ subf r0, r3, r0 /* 801D3838 001D0798 7C 00 26 70 */ srawi r0, r0, 4 /* 801D383C 001D079C 7C 60 01 94 */ addze r3, r0 /* 801D3840 001D07A0 4E 80 00 20 */ blr .global __ct__11CHealthInfoFR12CInputStream __ct__11CHealthInfoFR12CInputStream: /* 801D3844 001D07A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3848 001D07A8 7C 08 02 A6 */ mflr r0 /* 801D384C 001D07AC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3850 001D07B0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3854 001D07B4 7C 9F 23 78 */ mr r31, r4 /* 801D3858 001D07B8 93 C1 00 08 */ stw r30, 8(r1) /* 801D385C 001D07BC 7C 7E 1B 78 */ mr r30, r3 /* 801D3860 001D07C0 7F E3 FB 78 */ mr r3, r31 /* 801D3864 001D07C4 48 16 B4 21 */ bl ReadLong__12CInputStreamFv /* 801D3868 001D07C8 7F E3 FB 78 */ mr r3, r31 /* 801D386C 001D07CC 48 16 B3 BD */ bl ReadFloat__12CInputStreamFv /* 801D3870 001D07D0 D0 3E 00 00 */ stfs f1, 0(r30) /* 801D3874 001D07D4 7F E3 FB 78 */ mr r3, r31 /* 801D3878 001D07D8 48 16 B3 B1 */ bl ReadFloat__12CInputStreamFv /* 801D387C 001D07DC D0 3E 00 04 */ stfs f1, 4(r30) /* 801D3880 001D07E0 7F C3 F3 78 */ mr r3, r30 /* 801D3884 001D07E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D3888 001D07E8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D388C 001D07EC 83 C1 00 08 */ lwz r30, 8(r1) /* 801D3890 001D07F0 7C 08 03 A6 */ mtlr r0 /* 801D3894 001D07F4 38 21 00 10 */ addi r1, r1, 0x10 /* 801D3898 001D07F8 4E 80 00 20 */ blr .global SetDeferPowerupInit__10CGameStateFb SetDeferPowerupInit__10CGameStateFb: /* 801D389C 001D07FC 88 03 02 28 */ lbz r0, 0x228(r3) /* 801D38A0 001D0800 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801D38A4 001D0804 98 03 02 28 */ stb r0, 0x228(r3) /* 801D38A8 001D0808 4E 80 00 20 */ blr .global GetHardModeWeaponMultiplier__10CGameStateCFv GetHardModeWeaponMultiplier__10CGameStateCFv: /* 801D38AC 001D080C 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13) /* 801D38B0 001D0810 C0 23 00 64 */ lfs f1, 0x64(r3) /* 801D38B4 001D0814 4E 80 00 20 */ blr .global GetHardModeDamageMultiplier__10CGameStateCFv GetHardModeDamageMultiplier__10CGameStateCFv: /* 801D38B8 001D0818 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13) /* 801D38BC 001D081C C0 23 00 60 */ lfs f1, 0x60(r3) /* 801D38C0 001D0820 4E 80 00 20 */ blr .global SetHardMode__10CGameStateFb SetHardMode__10CGameStateFb: /* 801D38C4 001D0824 88 03 02 28 */ lbz r0, 0x228(r3) /* 801D38C8 001D0828 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D38CC 001D082C 98 03 02 28 */ stb r0, 0x228(r3) /* 801D38D0 001D0830 4E 80 00 20 */ blr .global SetTotalPlayTime__10CGameStateFd SetTotalPlayTime__10CGameStateFd: /* 801D38D4 001D0834 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D38D8 001D0838 7C 08 02 A6 */ mflr r0 /* 801D38DC 001D083C 38 A2 AC 20 */ addi r5, r2, lbl_805AC940@sda21 /* 801D38E0 001D0840 90 01 00 24 */ stw r0, 0x24(r1) /* 801D38E4 001D0844 38 81 00 08 */ addi r4, r1, 8 /* 801D38E8 001D0848 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D38EC 001D084C 7C 7F 1B 78 */ mr r31, r3 /* 801D38F0 001D0850 38 6D 91 B0 */ addi r3, r13, lbl_805A7D70@sda21 /* 801D38F4 001D0854 D8 21 00 08 */ stfd f1, 8(r1) /* 801D38F8 001D0858 48 00 27 D9 */ bl "Clamp__5CMathFRCdRCdRCd" /* 801D38FC 001D085C C8 03 00 00 */ lfd f0, 0(r3) /* 801D3900 001D0860 D8 1F 00 A0 */ stfd f0, 0xa0(r31) /* 801D3904 001D0864 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D3908 001D0868 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D390C 001D086C 7C 08 03 A6 */ mtlr r0 /* 801D3910 001D0870 38 21 00 20 */ addi r1, r1, 0x20 /* 801D3914 001D0874 4E 80 00 20 */ blr .global WorldTransitionManager__10CGameStateFv WorldTransitionManager__10CGameStateFv: /* 801D3918 001D0878 38 63 00 9C */ addi r3, r3, 0x9c /* 801D391C 001D087C 4E 80 00 20 */ blr .global GetPlayerState__10CGameStateCFv GetPlayerState__10CGameStateCFv: /* 801D3920 001D0880 80 04 00 98 */ lwz r0, 0x98(r4) /* 801D3924 001D0884 90 03 00 00 */ stw r0, 0(r3) /* 801D3928 001D0888 80 83 00 00 */ lwz r4, 0(r3) /* 801D392C 001D088C 80 64 00 04 */ lwz r3, 4(r4) /* 801D3930 001D0890 38 03 00 01 */ addi r0, r3, 1 /* 801D3934 001D0894 90 04 00 04 */ stw r0, 4(r4) /* 801D3938 001D0898 4E 80 00 20 */ blr .global PlayerState__10CGameStateFv PlayerState__10CGameStateFv: /* 801D393C 001D089C 38 63 00 98 */ addi r3, r3, 0x98 /* 801D3940 001D08A0 4E 80 00 20 */ blr .global SetCurrentWorldId__10CGameStateFUi SetCurrentWorldId__10CGameStateFUi: /* 801D3944 001D08A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3948 001D08A8 7C 08 02 A6 */ mflr r0 /* 801D394C 001D08AC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3950 001D08B0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3954 001D08B4 7C 9F 23 78 */ mr r31, r4 /* 801D3958 001D08B8 93 C1 00 08 */ stw r30, 8(r1) /* 801D395C 001D08BC 7C 7E 1B 78 */ mr r30, r3 /* 801D3960 001D08C0 48 00 00 79 */ bl StateForWorld__10CGameStateFUi /* 801D3964 001D08C4 93 FE 00 84 */ stw r31, 0x84(r30) /* 801D3968 001D08C8 7F E3 FB 78 */ mr r3, r31 /* 801D396C 001D08CC 4B E3 0F 11 */ bl EnsureWorldPakReady__5CMainFUi /* 801D3970 001D08D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D3974 001D08D4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D3978 001D08D8 83 C1 00 08 */ lwz r30, 8(r1) /* 801D397C 001D08DC 7C 08 03 A6 */ mtlr r0 /* 801D3980 001D08E0 38 21 00 10 */ addi r1, r1, 0x10 /* 801D3984 001D08E4 4E 80 00 20 */ blr .global GetCurrentWorldState__10CGameStateCFv GetCurrentWorldState__10CGameStateCFv: /* 801D3988 001D08E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D398C 001D08EC 7C 08 02 A6 */ mflr r0 /* 801D3990 001D08F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3994 001D08F4 80 83 00 84 */ lwz r4, 0x84(r3) /* 801D3998 001D08F8 48 00 00 41 */ bl StateForWorld__10CGameStateFUi /* 801D399C 001D08FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D39A0 001D0900 7C 08 03 A6 */ mtlr r0 /* 801D39A4 001D0904 38 21 00 10 */ addi r1, r1, 0x10 /* 801D39A8 001D0908 4E 80 00 20 */ blr .global CurrentWorldState__10CGameStateFv CurrentWorldState__10CGameStateFv: /* 801D39AC 001D090C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D39B0 001D0910 7C 08 02 A6 */ mflr r0 /* 801D39B4 001D0914 90 01 00 14 */ stw r0, 0x14(r1) /* 801D39B8 001D0918 80 83 00 84 */ lwz r4, 0x84(r3) /* 801D39BC 001D091C 48 00 00 1D */ bl StateForWorld__10CGameStateFUi /* 801D39C0 001D0920 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D39C4 001D0924 7C 08 03 A6 */ mtlr r0 /* 801D39C8 001D0928 38 21 00 10 */ addi r1, r1, 0x10 /* 801D39CC 001D092C 4E 80 00 20 */ blr .global CurrentWorldAssetId__10CGameStateCFv CurrentWorldAssetId__10CGameStateCFv: /* 801D39D0 001D0930 80 63 00 84 */ lwz r3, 0x84(r3) /* 801D39D4 001D0934 4E 80 00 20 */ blr .global StateForWorld__10CGameStateFUi StateForWorld__10CGameStateFUi: /* 801D39D8 001D0938 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D39DC 001D093C 7C 08 02 A6 */ mflr r0 /* 801D39E0 001D0940 90 01 00 34 */ stw r0, 0x34(r1) /* 801D39E4 001D0944 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D39E8 001D0948 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D39EC 001D094C 7C 9E 23 78 */ mr r30, r4 /* 801D39F0 001D0950 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D39F4 001D0954 7C 7D 1B 78 */ mr r29, r3 /* 801D39F8 001D0958 83 E3 00 94 */ lwz r31, 0x94(r3) /* 801D39FC 001D095C 48 00 00 18 */ b lbl_801D3A14 lbl_801D3A00: /* 801D3A00 001D0960 7F E3 FB 78 */ mr r3, r31 /* 801D3A04 001D0964 48 00 13 8D */ bl GetWorldAssetId__11CWorldStateCFv /* 801D3A08 001D0968 7C 1E 18 40 */ cmplw r30, r3 /* 801D3A0C 001D096C 41 82 00 20 */ beq lbl_801D3A2C /* 801D3A10 001D0970 3B FF 00 18 */ addi r31, r31, 0x18 lbl_801D3A14: /* 801D3A14 001D0974 80 1D 00 8C */ lwz r0, 0x8c(r29) /* 801D3A18 001D0978 80 7D 00 94 */ lwz r3, 0x94(r29) /* 801D3A1C 001D097C 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801D3A20 001D0980 7C 03 02 14 */ add r0, r3, r0 /* 801D3A24 001D0984 7C 1F 00 40 */ cmplw r31, r0 /* 801D3A28 001D0988 40 82 FF D8 */ bne lbl_801D3A00 lbl_801D3A2C: /* 801D3A2C 001D098C 80 9D 00 8C */ lwz r4, 0x8c(r29) /* 801D3A30 001D0990 80 7D 00 94 */ lwz r3, 0x94(r29) /* 801D3A34 001D0994 1C 04 00 18 */ mulli r0, r4, 0x18 /* 801D3A38 001D0998 7C 03 02 14 */ add r0, r3, r0 /* 801D3A3C 001D099C 7C 1F 00 40 */ cmplw r31, r0 /* 801D3A40 001D09A0 41 82 00 0C */ beq lbl_801D3A4C /* 801D3A44 001D09A4 7F E3 FB 78 */ mr r3, r31 /* 801D3A48 001D09A8 48 00 00 78 */ b lbl_801D3AC0 lbl_801D3A4C: /* 801D3A4C 001D09AC 38 7D 00 88 */ addi r3, r29, 0x88 /* 801D3A50 001D09B0 38 84 00 01 */ addi r4, r4, 1 /* 801D3A54 001D09B4 48 00 28 95 */ bl "reserve__Q24rstl48vector<11CWorldState,Q24rstl17rmemory_allocator>Fi" /* 801D3A58 001D09B8 7F C4 F3 78 */ mr r4, r30 /* 801D3A5C 001D09BC 38 61 00 08 */ addi r3, r1, 8 /* 801D3A60 001D09C0 48 00 16 11 */ bl __ct__11CWorldStateFUi /* 801D3A64 001D09C4 38 7D 00 88 */ addi r3, r29, 0x88 /* 801D3A68 001D09C8 38 81 00 08 */ addi r4, r1, 8 /* 801D3A6C 001D09CC 48 00 00 71 */ bl __ct__11CWorldStateFRC11CWorldState /* 801D3A70 001D09D0 34 61 00 1C */ addic. r3, r1, 0x1c /* 801D3A74 001D09D4 41 82 00 10 */ beq lbl_801D3A84 /* 801D3A78 001D09D8 28 03 00 00 */ cmplwi r3, 0 /* 801D3A7C 001D09DC 41 82 00 08 */ beq lbl_801D3A84 /* 801D3A80 001D09E0 4B E3 53 4D */ bl sub_80008dcc lbl_801D3A84: /* 801D3A84 001D09E4 34 61 00 14 */ addic. r3, r1, 0x14 /* 801D3A88 001D09E8 41 82 00 10 */ beq lbl_801D3A98 /* 801D3A8C 001D09EC 28 03 00 00 */ cmplwi r3, 0 /* 801D3A90 001D09F0 41 82 00 08 */ beq lbl_801D3A98 /* 801D3A94 001D09F4 4B E3 51 A9 */ bl sub_80008c3c lbl_801D3A98: /* 801D3A98 001D09F8 34 61 00 10 */ addic. r3, r1, 0x10 /* 801D3A9C 001D09FC 41 82 00 10 */ beq lbl_801D3AAC /* 801D3AA0 001D0A00 28 03 00 00 */ cmplwi r3, 0 /* 801D3AA4 001D0A04 41 82 00 08 */ beq lbl_801D3AAC /* 801D3AA8 001D0A08 4B E3 4B 99 */ bl __dt__11CWorldStateFv lbl_801D3AAC: /* 801D3AAC 001D0A0C 80 7D 00 8C */ lwz r3, 0x8c(r29) /* 801D3AB0 001D0A10 80 9D 00 94 */ lwz r4, 0x94(r29) /* 801D3AB4 001D0A14 38 03 FF FF */ addi r0, r3, -1 /* 801D3AB8 001D0A18 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801D3ABC 001D0A1C 7C 64 02 14 */ add r3, r4, r0 lbl_801D3AC0: /* 801D3AC0 001D0A20 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D3AC4 001D0A24 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D3AC8 001D0A28 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D3ACC 001D0A2C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D3AD0 001D0A30 7C 08 03 A6 */ mtlr r0 /* 801D3AD4 001D0A34 38 21 00 30 */ addi r1, r1, 0x30 /* 801D3AD8 001D0A38 4E 80 00 20 */ blr .global __ct__11CWorldStateFRC11CWorldState __ct__11CWorldStateFRC11CWorldState: /* 801D3ADC 001D0A3C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3AE0 001D0A40 7C 08 02 A6 */ mflr r0 /* 801D3AE4 001D0A44 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3AE8 001D0A48 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3AEC 001D0A4C 7C 9F 23 78 */ mr r31, r4 /* 801D3AF0 001D0A50 93 C1 00 08 */ stw r30, 8(r1) /* 801D3AF4 001D0A54 7C 7E 1B 78 */ mr r30, r3 /* 801D3AF8 001D0A58 80 03 00 04 */ lwz r0, 4(r3) /* 801D3AFC 001D0A5C 80 A3 00 08 */ lwz r5, 8(r3) /* 801D3B00 001D0A60 7C 00 28 00 */ cmpw r0, r5 /* 801D3B04 001D0A64 41 80 00 18 */ blt lbl_801D3B1C /* 801D3B08 001D0A68 2C 05 00 00 */ cmpwi r5, 0 /* 801D3B0C 001D0A6C 38 80 00 04 */ li r4, 4 /* 801D3B10 001D0A70 41 82 00 08 */ beq lbl_801D3B18 /* 801D3B14 001D0A74 54 A4 08 3C */ slwi r4, r5, 1 lbl_801D3B18: /* 801D3B18 001D0A78 48 00 27 D1 */ bl "reserve__Q24rstl48vector<11CWorldState,Q24rstl17rmemory_allocator>Fi" lbl_801D3B1C: /* 801D3B1C 001D0A7C 80 1E 00 04 */ lwz r0, 4(r30) /* 801D3B20 001D0A80 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801D3B24 001D0A84 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801D3B28 001D0A88 7C A3 02 15 */ add. r5, r3, r0 /* 801D3B2C 001D0A8C 41 82 00 64 */ beq lbl_801D3B90 /* 801D3B30 001D0A90 80 1F 00 00 */ lwz r0, 0(r31) /* 801D3B34 001D0A94 90 05 00 00 */ stw r0, 0(r5) /* 801D3B38 001D0A98 80 1F 00 04 */ lwz r0, 4(r31) /* 801D3B3C 001D0A9C 90 05 00 04 */ stw r0, 4(r5) /* 801D3B40 001D0AA0 80 1F 00 08 */ lwz r0, 8(r31) /* 801D3B44 001D0AA4 90 05 00 08 */ stw r0, 8(r5) /* 801D3B48 001D0AA8 80 85 00 08 */ lwz r4, 8(r5) /* 801D3B4C 001D0AAC 80 64 00 04 */ lwz r3, 4(r4) /* 801D3B50 001D0AB0 38 03 00 01 */ addi r0, r3, 1 /* 801D3B54 001D0AB4 90 04 00 04 */ stw r0, 4(r4) /* 801D3B58 001D0AB8 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801D3B5C 001D0ABC 90 05 00 0C */ stw r0, 0xc(r5) /* 801D3B60 001D0AC0 80 85 00 0C */ lwz r4, 0xc(r5) /* 801D3B64 001D0AC4 80 64 00 04 */ lwz r3, 4(r4) /* 801D3B68 001D0AC8 38 03 00 01 */ addi r0, r3, 1 /* 801D3B6C 001D0ACC 90 04 00 04 */ stw r0, 4(r4) /* 801D3B70 001D0AD0 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801D3B74 001D0AD4 90 05 00 10 */ stw r0, 0x10(r5) /* 801D3B78 001D0AD8 80 1F 00 14 */ lwz r0, 0x14(r31) /* 801D3B7C 001D0ADC 90 05 00 14 */ stw r0, 0x14(r5) /* 801D3B80 001D0AE0 80 85 00 14 */ lwz r4, 0x14(r5) /* 801D3B84 001D0AE4 80 64 00 04 */ lwz r3, 4(r4) /* 801D3B88 001D0AE8 38 03 00 01 */ addi r0, r3, 1 /* 801D3B8C 001D0AEC 90 04 00 04 */ stw r0, 4(r4) lbl_801D3B90: /* 801D3B90 001D0AF0 80 7E 00 04 */ lwz r3, 4(r30) /* 801D3B94 001D0AF4 38 03 00 01 */ addi r0, r3, 1 /* 801D3B98 001D0AF8 90 1E 00 04 */ stw r0, 4(r30) /* 801D3B9C 001D0AFC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D3BA0 001D0B00 83 C1 00 08 */ lwz r30, 8(r1) /* 801D3BA4 001D0B04 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D3BA8 001D0B08 7C 08 03 A6 */ mtlr r0 /* 801D3BAC 001D0B0C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D3BB0 001D0B10 4E 80 00 20 */ blr .global WriteBackupBuf__10CGameStateFv WriteBackupBuf__10CGameStateFv: /* 801D3BB4 001D0B14 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801D3BB8 001D0B18 7C 08 02 A6 */ mflr r0 /* 801D3BBC 001D0B1C 38 80 03 AC */ li r4, 0x3ac /* 801D3BC0 001D0B20 38 AD 91 AE */ addi r5, r13, lbl_805A7D6E@sda21 /* 801D3BC4 001D0B24 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801D3BC8 001D0B28 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801D3BCC 001D0B2C 7C 7F 1B 78 */ mr r31, r3 /* 801D3BD0 001D0B30 38 7F 02 18 */ addi r3, r31, 0x218 /* 801D3BD4 001D0B34 48 00 00 49 */ bl "resize__Q24rstl37vectorFiRCUc" /* 801D3BD8 001D0B38 80 9F 02 24 */ lwz r4, 0x224(r31) /* 801D3BDC 001D0B3C 38 61 00 08 */ addi r3, r1, 8 /* 801D3BE0 001D0B40 38 A0 03 AC */ li r5, 0x3ac /* 801D3BE4 001D0B44 38 C0 00 01 */ li r6, 1 /* 801D3BE8 001D0B48 38 E0 10 00 */ li r7, 0x1000 /* 801D3BEC 001D0B4C 48 16 B7 51 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi /* 801D3BF0 001D0B50 7F E3 FB 78 */ mr r3, r31 /* 801D3BF4 001D0B54 38 81 00 08 */ addi r4, r1, 8 /* 801D3BF8 001D0B58 48 00 04 91 */ bl PutTo__10CGameStateFR16CMemoryStreamOut /* 801D3BFC 001D0B5C 38 61 00 08 */ addi r3, r1, 8 /* 801D3C00 001D0B60 38 80 FF FF */ li r4, -1 /* 801D3C04 001D0B64 48 16 B6 BD */ bl __dt__16CMemoryStreamOutFv /* 801D3C08 001D0B68 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801D3C0C 001D0B6C 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801D3C10 001D0B70 7C 08 03 A6 */ mtlr r0 /* 801D3C14 001D0B74 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801D3C18 001D0B78 4E 80 00 20 */ blr .global "resize__Q24rstl37vectorFiRCUc" "resize__Q24rstl37vectorFiRCUc": /* 801D3C1C 001D0B7C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D3C20 001D0B80 7C 08 02 A6 */ mflr r0 /* 801D3C24 001D0B84 90 01 00 34 */ stw r0, 0x34(r1) /* 801D3C28 001D0B88 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D3C2C 001D0B8C 7C BF 2B 78 */ mr r31, r5 /* 801D3C30 001D0B90 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D3C34 001D0B94 7C 9E 23 78 */ mr r30, r4 /* 801D3C38 001D0B98 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D3C3C 001D0B9C 7C 7D 1B 78 */ mr r29, r3 /* 801D3C40 001D0BA0 93 81 00 20 */ stw r28, 0x20(r1) /* 801D3C44 001D0BA4 80 83 00 0C */ lwz r4, 0xc(r3) /* 801D3C48 001D0BA8 80 03 00 04 */ lwz r0, 4(r3) /* 801D3C4C 001D0BAC 90 81 00 0C */ stw r4, 0xc(r1) /* 801D3C50 001D0BB0 7C 64 02 14 */ add r3, r4, r0 /* 801D3C54 001D0BB4 7C 04 18 50 */ subf r0, r4, r3 /* 801D3C58 001D0BB8 90 61 00 14 */ stw r3, 0x14(r1) /* 801D3C5C 001D0BBC 90 61 00 10 */ stw r3, 0x10(r1) /* 801D3C60 001D0BC0 90 81 00 08 */ stw r4, 8(r1) /* 801D3C64 001D0BC4 7C 09 03 A6 */ mtctr r0 /* 801D3C68 001D0BC8 7C 04 18 40 */ cmplw r4, r3 /* 801D3C6C 001D0BCC 41 82 00 08 */ beq lbl_801D3C74 lbl_801D3C70: /* 801D3C70 001D0BD0 42 00 00 00 */ bdnz lbl_801D3C70 lbl_801D3C74: /* 801D3C74 001D0BD4 38 00 00 00 */ li r0, 0 /* 801D3C78 001D0BD8 7F A3 EB 78 */ mr r3, r29 /* 801D3C7C 001D0BDC 90 1D 00 04 */ stw r0, 4(r29) /* 801D3C80 001D0BE0 7F C4 F3 78 */ mr r4, r30 /* 801D3C84 001D0BE4 48 00 25 79 */ bl "reserve__Q24rstl37vectorFi" /* 801D3C88 001D0BE8 3B 80 00 00 */ li r28, 0 /* 801D3C8C 001D0BEC 48 00 00 54 */ b lbl_801D3CE0 lbl_801D3C90: /* 801D3C90 001D0BF0 80 1D 00 04 */ lwz r0, 4(r29) /* 801D3C94 001D0BF4 80 BD 00 08 */ lwz r5, 8(r29) /* 801D3C98 001D0BF8 7C 00 28 00 */ cmpw r0, r5 /* 801D3C9C 001D0BFC 41 80 00 1C */ blt lbl_801D3CB8 /* 801D3CA0 001D0C00 2C 05 00 00 */ cmpwi r5, 0 /* 801D3CA4 001D0C04 7F A3 EB 78 */ mr r3, r29 /* 801D3CA8 001D0C08 38 80 00 04 */ li r4, 4 /* 801D3CAC 001D0C0C 41 82 00 08 */ beq lbl_801D3CB4 /* 801D3CB0 001D0C10 54 A4 08 3C */ slwi r4, r5, 1 lbl_801D3CB4: /* 801D3CB4 001D0C14 48 00 25 49 */ bl "reserve__Q24rstl37vectorFi" lbl_801D3CB8: /* 801D3CB8 001D0C18 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801D3CBC 001D0C1C 80 1D 00 04 */ lwz r0, 4(r29) /* 801D3CC0 001D0C20 7C 63 02 15 */ add. r3, r3, r0 /* 801D3CC4 001D0C24 41 82 00 0C */ beq lbl_801D3CD0 /* 801D3CC8 001D0C28 88 1F 00 00 */ lbz r0, 0(r31) /* 801D3CCC 001D0C2C 98 03 00 00 */ stb r0, 0(r3) lbl_801D3CD0: /* 801D3CD0 001D0C30 80 7D 00 04 */ lwz r3, 4(r29) /* 801D3CD4 001D0C34 3B 9C 00 01 */ addi r28, r28, 1 /* 801D3CD8 001D0C38 38 03 00 01 */ addi r0, r3, 1 /* 801D3CDC 001D0C3C 90 1D 00 04 */ stw r0, 4(r29) lbl_801D3CE0: /* 801D3CE0 001D0C40 7C 1C F0 00 */ cmpw r28, r30 /* 801D3CE4 001D0C44 41 80 FF AC */ blt lbl_801D3C90 /* 801D3CE8 001D0C48 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D3CEC 001D0C4C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D3CF0 001D0C50 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D3CF4 001D0C54 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D3CF8 001D0C58 83 81 00 20 */ lwz r28, 0x20(r1) /* 801D3CFC 001D0C5C 7C 08 03 A6 */ mtlr r0 /* 801D3D00 001D0C60 38 21 00 30 */ addi r1, r1, 0x30 /* 801D3D04 001D0C64 4E 80 00 20 */ blr .global ExportPersistentOptions__10CGameStateFRC14CSystemOptions ExportPersistentOptions__10CGameStateFRC14CSystemOptions: /* 801D3D08 001D0C68 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3D0C 001D0C6C 7C 08 02 A6 */ mflr r0 /* 801D3D10 001D0C70 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3D14 001D0C74 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3D18 001D0C78 7C 9F 23 78 */ mr r31, r4 /* 801D3D1C 001D0C7C 93 C1 00 08 */ stw r30, 8(r1) /* 801D3D20 001D0C80 7C 7E 1B 78 */ mr r30, r3 /* 801D3D24 001D0C84 88 03 01 78 */ lbz r0, 0x178(r3) /* 801D3D28 001D0C88 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D3D2C 001D0C8C 41 82 00 10 */ beq lbl_801D3D3C /* 801D3D30 001D0C90 7F E3 FB 78 */ mr r3, r31 /* 801D3D34 001D0C94 38 80 00 01 */ li r4, 1 /* 801D3D38 001D0C98 48 00 14 D9 */ bl sub_801d5210 lbl_801D3D3C: /* 801D3D3C 001D0C9C 88 1E 01 78 */ lbz r0, 0x178(r30) /* 801D3D40 001D0CA0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801D3D44 001D0CA4 41 82 00 10 */ beq lbl_801D3D54 /* 801D3D48 001D0CA8 7F E3 FB 78 */ mr r3, r31 /* 801D3D4C 001D0CAC 38 80 00 01 */ li r4, 1 /* 801D3D50 001D0CB0 48 00 14 81 */ bl sub_801d51d0 lbl_801D3D54: /* 801D3D54 001D0CB4 38 DE 00 A8 */ addi r6, r30, 0xa8 /* 801D3D58 001D0CB8 7C 1F 30 40 */ cmplw r31, r6 /* 801D3D5C 001D0CBC 41 82 00 A0 */ beq lbl_801D3DFC /* 801D3D60 001D0CC0 80 BF 00 00 */ lwz r5, 0(r31) /* 801D3D64 001D0CC4 38 60 00 00 */ li r3, 0 /* 801D3D68 001D0CC8 2C 05 00 00 */ cmpwi r5, 0 /* 801D3D6C 001D0CCC 40 81 00 40 */ ble lbl_801D3DAC /* 801D3D70 001D0CD0 2C 05 00 08 */ cmpwi r5, 8 /* 801D3D74 001D0CD4 38 85 FF F8 */ addi r4, r5, -8 /* 801D3D78 001D0CD8 40 81 00 20 */ ble lbl_801D3D98 /* 801D3D7C 001D0CDC 38 04 00 07 */ addi r0, r4, 7 /* 801D3D80 001D0CE0 54 00 E8 FE */ srwi r0, r0, 3 /* 801D3D84 001D0CE4 7C 09 03 A6 */ mtctr r0 /* 801D3D88 001D0CE8 2C 04 00 00 */ cmpwi r4, 0 /* 801D3D8C 001D0CEC 40 81 00 0C */ ble lbl_801D3D98 lbl_801D3D90: /* 801D3D90 001D0CF0 38 63 00 08 */ addi r3, r3, 8 /* 801D3D94 001D0CF4 42 00 FF FC */ bdnz lbl_801D3D90 lbl_801D3D98: /* 801D3D98 001D0CF8 7C 03 28 50 */ subf r0, r3, r5 /* 801D3D9C 001D0CFC 7C 09 03 A6 */ mtctr r0 /* 801D3DA0 001D0D00 7C 03 28 00 */ cmpw r3, r5 /* 801D3DA4 001D0D04 40 80 00 08 */ bge lbl_801D3DAC lbl_801D3DA8: /* 801D3DA8 001D0D08 42 00 00 00 */ bdnz lbl_801D3DA8 lbl_801D3DAC: /* 801D3DAC 001D0D0C 38 00 00 00 */ li r0, 0 /* 801D3DB0 001D0D10 38 66 00 04 */ addi r3, r6, 4 /* 801D3DB4 001D0D14 90 1F 00 00 */ stw r0, 0(r31) /* 801D3DB8 001D0D18 38 9F 00 04 */ addi r4, r31, 4 /* 801D3DBC 001D0D1C 80 06 00 00 */ lwz r0, 0(r6) /* 801D3DC0 001D0D20 7C A6 02 14 */ add r5, r6, r0 /* 801D3DC4 001D0D24 38 A5 00 04 */ addi r5, r5, 4 /* 801D3DC8 001D0D28 7C 03 28 50 */ subf r0, r3, r5 /* 801D3DCC 001D0D2C 7C 09 03 A6 */ mtctr r0 /* 801D3DD0 001D0D30 7C 03 28 40 */ cmplw r3, r5 /* 801D3DD4 001D0D34 41 82 00 20 */ beq lbl_801D3DF4 lbl_801D3DD8: /* 801D3DD8 001D0D38 28 04 00 00 */ cmplwi r4, 0 /* 801D3DDC 001D0D3C 41 82 00 0C */ beq lbl_801D3DE8 /* 801D3DE0 001D0D40 88 03 00 00 */ lbz r0, 0(r3) /* 801D3DE4 001D0D44 98 04 00 00 */ stb r0, 0(r4) lbl_801D3DE8: /* 801D3DE8 001D0D48 38 84 00 01 */ addi r4, r4, 1 /* 801D3DEC 001D0D4C 38 63 00 01 */ addi r3, r3, 1 /* 801D3DF0 001D0D50 42 00 FF E8 */ bdnz lbl_801D3DD8 lbl_801D3DF4: /* 801D3DF4 001D0D54 80 06 00 00 */ lwz r0, 0(r6) /* 801D3DF8 001D0D58 90 1F 00 00 */ stw r0, 0(r31) lbl_801D3DFC: /* 801D3DFC 001D0D5C 88 1E 01 78 */ lbz r0, 0x178(r30) /* 801D3E00 001D0D60 7F E3 FB 78 */ mr r3, r31 /* 801D3E04 001D0D64 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f /* 801D3E08 001D0D68 48 00 13 B9 */ bl SetHasFusion__14CSystemOptionsFb /* 801D3E0C 001D0D6C 38 DE 00 A8 */ addi r6, r30, 0xa8 /* 801D3E10 001D0D70 7C 1F 30 40 */ cmplw r31, r6 /* 801D3E14 001D0D74 41 82 00 A0 */ beq lbl_801D3EB4 /* 801D3E18 001D0D78 80 BF 00 00 */ lwz r5, 0(r31) /* 801D3E1C 001D0D7C 38 60 00 00 */ li r3, 0 /* 801D3E20 001D0D80 2C 05 00 00 */ cmpwi r5, 0 /* 801D3E24 001D0D84 40 81 00 40 */ ble lbl_801D3E64 /* 801D3E28 001D0D88 2C 05 00 08 */ cmpwi r5, 8 /* 801D3E2C 001D0D8C 38 85 FF F8 */ addi r4, r5, -8 /* 801D3E30 001D0D90 40 81 00 20 */ ble lbl_801D3E50 /* 801D3E34 001D0D94 38 04 00 07 */ addi r0, r4, 7 /* 801D3E38 001D0D98 54 00 E8 FE */ srwi r0, r0, 3 /* 801D3E3C 001D0D9C 7C 09 03 A6 */ mtctr r0 /* 801D3E40 001D0DA0 2C 04 00 00 */ cmpwi r4, 0 /* 801D3E44 001D0DA4 40 81 00 0C */ ble lbl_801D3E50 lbl_801D3E48: /* 801D3E48 001D0DA8 38 63 00 08 */ addi r3, r3, 8 /* 801D3E4C 001D0DAC 42 00 FF FC */ bdnz lbl_801D3E48 lbl_801D3E50: /* 801D3E50 001D0DB0 7C 03 28 50 */ subf r0, r3, r5 /* 801D3E54 001D0DB4 7C 09 03 A6 */ mtctr r0 /* 801D3E58 001D0DB8 7C 03 28 00 */ cmpw r3, r5 /* 801D3E5C 001D0DBC 40 80 00 08 */ bge lbl_801D3E64 lbl_801D3E60: /* 801D3E60 001D0DC0 42 00 00 00 */ bdnz lbl_801D3E60 lbl_801D3E64: /* 801D3E64 001D0DC4 38 00 00 00 */ li r0, 0 /* 801D3E68 001D0DC8 38 66 00 04 */ addi r3, r6, 4 /* 801D3E6C 001D0DCC 90 1F 00 00 */ stw r0, 0(r31) /* 801D3E70 001D0DD0 38 9F 00 04 */ addi r4, r31, 4 /* 801D3E74 001D0DD4 80 06 00 00 */ lwz r0, 0(r6) /* 801D3E78 001D0DD8 7C A6 02 14 */ add r5, r6, r0 /* 801D3E7C 001D0DDC 38 A5 00 04 */ addi r5, r5, 4 /* 801D3E80 001D0DE0 7C 03 28 50 */ subf r0, r3, r5 /* 801D3E84 001D0DE4 7C 09 03 A6 */ mtctr r0 /* 801D3E88 001D0DE8 7C 03 28 40 */ cmplw r3, r5 /* 801D3E8C 001D0DEC 41 82 00 20 */ beq lbl_801D3EAC lbl_801D3E90: /* 801D3E90 001D0DF0 28 04 00 00 */ cmplwi r4, 0 /* 801D3E94 001D0DF4 41 82 00 0C */ beq lbl_801D3EA0 /* 801D3E98 001D0DF8 88 03 00 00 */ lbz r0, 0(r3) /* 801D3E9C 001D0DFC 98 04 00 00 */ stb r0, 0(r4) lbl_801D3EA0: /* 801D3EA0 001D0E00 38 84 00 01 */ addi r4, r4, 1 /* 801D3EA4 001D0E04 38 63 00 01 */ addi r3, r3, 1 /* 801D3EA8 001D0E08 42 00 FF E8 */ bdnz lbl_801D3E90 lbl_801D3EAC: /* 801D3EAC 001D0E0C 80 06 00 00 */ lwz r0, 0(r6) /* 801D3EB0 001D0E10 90 1F 00 00 */ stw r0, 0(r31) lbl_801D3EB4: /* 801D3EB4 001D0E14 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D3EB8 001D0E18 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D3EBC 001D0E1C 83 C1 00 08 */ lwz r30, 8(r1) /* 801D3EC0 001D0E20 7C 08 03 A6 */ mtlr r0 /* 801D3EC4 001D0E24 38 21 00 10 */ addi r1, r1, 0x10 /* 801D3EC8 001D0E28 4E 80 00 20 */ blr .global ImportPersistentOptions__10CGameStateFRC14CSystemOptions ImportPersistentOptions__10CGameStateFRC14CSystemOptions: /* 801D3ECC 001D0E2C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D3ED0 001D0E30 7C 08 02 A6 */ mflr r0 /* 801D3ED4 001D0E34 90 01 00 14 */ stw r0, 0x14(r1) /* 801D3ED8 001D0E38 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D3EDC 001D0E3C 7C 9F 23 78 */ mr r31, r4 /* 801D3EE0 001D0E40 93 C1 00 08 */ stw r30, 8(r1) /* 801D3EE4 001D0E44 7C 7E 1B 78 */ mr r30, r3 /* 801D3EE8 001D0E48 88 04 00 D0 */ lbz r0, 0xd0(r4) /* 801D3EEC 001D0E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D3EF0 001D0E50 41 82 00 10 */ beq lbl_801D3F00 /* 801D3EF4 001D0E54 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801D3EF8 001D0E58 38 80 00 01 */ li r4, 1 /* 801D3EFC 001D0E5C 48 00 13 15 */ bl sub_801d5210 lbl_801D3F00: /* 801D3F00 001D0E60 88 1F 00 D0 */ lbz r0, 0xd0(r31) /* 801D3F04 001D0E64 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801D3F08 001D0E68 41 82 00 10 */ beq lbl_801D3F18 /* 801D3F0C 001D0E6C 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801D3F10 001D0E70 38 80 00 01 */ li r4, 1 /* 801D3F14 001D0E74 48 00 12 BD */ bl sub_801d51d0 lbl_801D3F18: /* 801D3F18 001D0E78 38 DE 00 A8 */ addi r6, r30, 0xa8 /* 801D3F1C 001D0E7C 7C 06 F8 40 */ cmplw r6, r31 /* 801D3F20 001D0E80 41 82 00 A0 */ beq lbl_801D3FC0 /* 801D3F24 001D0E84 80 A6 00 00 */ lwz r5, 0(r6) /* 801D3F28 001D0E88 38 60 00 00 */ li r3, 0 /* 801D3F2C 001D0E8C 2C 05 00 00 */ cmpwi r5, 0 /* 801D3F30 001D0E90 40 81 00 40 */ ble lbl_801D3F70 /* 801D3F34 001D0E94 2C 05 00 08 */ cmpwi r5, 8 /* 801D3F38 001D0E98 38 85 FF F8 */ addi r4, r5, -8 /* 801D3F3C 001D0E9C 40 81 00 20 */ ble lbl_801D3F5C /* 801D3F40 001D0EA0 38 04 00 07 */ addi r0, r4, 7 /* 801D3F44 001D0EA4 54 00 E8 FE */ srwi r0, r0, 3 /* 801D3F48 001D0EA8 7C 09 03 A6 */ mtctr r0 /* 801D3F4C 001D0EAC 2C 04 00 00 */ cmpwi r4, 0 /* 801D3F50 001D0EB0 40 81 00 0C */ ble lbl_801D3F5C lbl_801D3F54: /* 801D3F54 001D0EB4 38 63 00 08 */ addi r3, r3, 8 /* 801D3F58 001D0EB8 42 00 FF FC */ bdnz lbl_801D3F54 lbl_801D3F5C: /* 801D3F5C 001D0EBC 7C 03 28 50 */ subf r0, r3, r5 /* 801D3F60 001D0EC0 7C 09 03 A6 */ mtctr r0 /* 801D3F64 001D0EC4 7C 03 28 00 */ cmpw r3, r5 /* 801D3F68 001D0EC8 40 80 00 08 */ bge lbl_801D3F70 lbl_801D3F6C: /* 801D3F6C 001D0ECC 42 00 00 00 */ bdnz lbl_801D3F6C lbl_801D3F70: /* 801D3F70 001D0ED0 38 00 00 00 */ li r0, 0 /* 801D3F74 001D0ED4 38 7F 00 04 */ addi r3, r31, 4 /* 801D3F78 001D0ED8 90 06 00 00 */ stw r0, 0(r6) /* 801D3F7C 001D0EDC 38 86 00 04 */ addi r4, r6, 4 /* 801D3F80 001D0EE0 80 1F 00 00 */ lwz r0, 0(r31) /* 801D3F84 001D0EE4 7C BF 02 14 */ add r5, r31, r0 /* 801D3F88 001D0EE8 38 A5 00 04 */ addi r5, r5, 4 /* 801D3F8C 001D0EEC 7C 03 28 50 */ subf r0, r3, r5 /* 801D3F90 001D0EF0 7C 09 03 A6 */ mtctr r0 /* 801D3F94 001D0EF4 7C 03 28 40 */ cmplw r3, r5 /* 801D3F98 001D0EF8 41 82 00 20 */ beq lbl_801D3FB8 lbl_801D3F9C: /* 801D3F9C 001D0EFC 28 04 00 00 */ cmplwi r4, 0 /* 801D3FA0 001D0F00 41 82 00 0C */ beq lbl_801D3FAC /* 801D3FA4 001D0F04 88 03 00 00 */ lbz r0, 0(r3) /* 801D3FA8 001D0F08 98 04 00 00 */ stb r0, 0(r4) lbl_801D3FAC: /* 801D3FAC 001D0F0C 38 84 00 01 */ addi r4, r4, 1 /* 801D3FB0 001D0F10 38 63 00 01 */ addi r3, r3, 1 /* 801D3FB4 001D0F14 42 00 FF E8 */ bdnz lbl_801D3F9C lbl_801D3FB8: /* 801D3FB8 001D0F18 80 1F 00 00 */ lwz r0, 0(r31) /* 801D3FBC 001D0F1C 90 06 00 00 */ stw r0, 0(r6) lbl_801D3FC0: /* 801D3FC0 001D0F20 7F E3 FB 78 */ mr r3, r31 /* 801D3FC4 001D0F24 48 00 12 45 */ bl GetLogScanCount__14CSystemOptionsFv /* 801D3FC8 001D0F28 7C 64 1B 78 */ mr r4, r3 /* 801D3FCC 001D0F2C 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801D3FD0 001D0F30 48 00 12 31 */ bl SetLogScanCount__14CSystemOptionsFi /* 801D3FD4 001D0F34 88 1F 00 D0 */ lbz r0, 0xd0(r31) /* 801D3FD8 001D0F38 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801D3FDC 001D0F3C 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f /* 801D3FE0 001D0F40 48 00 11 D1 */ bl SetAllItemsCollected__14CSystemOptionsFb /* 801D3FE4 001D0F44 88 1F 00 D0 */ lbz r0, 0xd0(r31) /* 801D3FE8 001D0F48 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801D3FEC 001D0F4C 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f /* 801D3FF0 001D0F50 48 00 12 01 */ bl SetHasHardMode__14CSystemOptionsFb /* 801D3FF4 001D0F54 88 1F 00 D0 */ lbz r0, 0xd0(r31) /* 801D3FF8 001D0F58 38 7E 00 A8 */ addi r3, r30, 0xa8 /* 801D3FFC 001D0F5C 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f /* 801D4000 001D0F60 48 00 11 E1 */ bl SetHardModeBeat__14CSystemOptionsFb /* 801D4004 001D0F64 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D4008 001D0F68 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D400C 001D0F6C 83 C1 00 08 */ lwz r30, 8(r1) /* 801D4010 001D0F70 7C 08 03 A6 */ mtlr r0 /* 801D4014 001D0F74 38 21 00 10 */ addi r1, r1, 0x10 /* 801D4018 001D0F78 4E 80 00 20 */ blr .global sub_801d401c sub_801d401c: /* 801D401C 001D0F7C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D4020 001D0F80 7C 08 02 A6 */ mflr r0 /* 801D4024 001D0F84 38 63 00 A8 */ addi r3, r3, 0xa8 /* 801D4028 001D0F88 90 01 00 14 */ stw r0, 0x14(r1) /* 801D402C 001D0F8C 48 00 15 65 */ bl PutTo__14CSystemOptionsFR13COutputStream /* 801D4030 001D0F90 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D4034 001D0F94 7C 08 03 A6 */ mtlr r0 /* 801D4038 001D0F98 38 21 00 10 */ addi r1, r1, 0x10 /* 801D403C 001D0F9C 4E 80 00 20 */ blr .global ReadSystemOptions__10CGameStateFR12CInputStream ReadSystemOptions__10CGameStateFR12CInputStream: /* 801D4040 001D0FA0 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801D4044 001D0FA4 7C 08 02 A6 */ mflr r0 /* 801D4048 001D0FA8 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801D404C 001D0FAC 93 E1 00 EC */ stw r31, 0xec(r1) /* 801D4050 001D0FB0 7C 7F 1B 78 */ mr r31, r3 /* 801D4054 001D0FB4 38 61 00 08 */ addi r3, r1, 8 /* 801D4058 001D0FB8 48 00 19 11 */ bl __ct__14CSystemOptionsFRC12CInputStream /* 801D405C 001D0FBC 38 7F 00 A8 */ addi r3, r31, 0xa8 /* 801D4060 001D0FC0 38 81 00 08 */ addi r4, r1, 8 /* 801D4064 001D0FC4 4B E2 F9 69 */ bl __as__14CSystemOptionsFRC14CSystemOptions /* 801D4068 001D0FC8 38 61 00 08 */ addi r3, r1, 8 /* 801D406C 001D0FCC 38 80 FF FF */ li r4, -1 /* 801D4070 001D0FD0 4B E3 01 69 */ bl __dt__14CSystemOptionsFv /* 801D4074 001D0FD4 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801D4078 001D0FD8 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801D407C 001D0FDC 7C 08 03 A6 */ mtlr r0 /* 801D4080 001D0FE0 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801D4084 001D0FE4 4E 80 00 20 */ blr .global PutTo__10CGameStateFR16CMemoryStreamOut PutTo__10CGameStateFR16CMemoryStreamOut: /* 801D4088 001D0FE8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D408C 001D0FEC 7C 08 02 A6 */ mflr r0 /* 801D4090 001D0FF0 90 01 00 54 */ stw r0, 0x54(r1) /* 801D4094 001D0FF4 BF 01 00 30 */ stmw r24, 0x30(r1) /* 801D4098 001D0FF8 7C 7E 1B 78 */ mr r30, r3 /* 801D409C 001D0FFC 7C 9F 23 78 */ mr r31, r4 /* 801D40A0 001D1000 3B 40 00 00 */ li r26, 0 /* 801D40A4 001D1004 48 00 00 1C */ b lbl_801D40C0 lbl_801D40A8: /* 801D40A8 001D1008 7C 9E D2 14 */ add r4, r30, r26 /* 801D40AC 001D100C 7F E3 FB 78 */ mr r3, r31 /* 801D40B0 001D1010 88 84 00 04 */ lbz r4, 4(r4) /* 801D40B4 001D1014 38 A0 00 08 */ li r5, 8 /* 801D40B8 001D1018 48 16 B3 05 */ bl WriteBits__13COutputStreamFii /* 801D40BC 001D101C 3B 5A 00 01 */ addi r26, r26, 1 lbl_801D40C0: /* 801D40C0 001D1020 80 1E 00 00 */ lwz r0, 0(r30) /* 801D40C4 001D1024 7C 1A 00 00 */ cmpw r26, r0 /* 801D40C8 001D1028 41 80 FF E0 */ blt lbl_801D40A8 /* 801D40CC 001D102C 48 1B 12 DD */ bl OSGetTime /* 801D40D0 001D1030 3C C0 80 00 */ lis r6, 0x800000F8@ha /* 801D40D4 001D1034 38 A0 00 00 */ li r5, 0 /* 801D40D8 001D1038 80 06 00 F8 */ lwz r0, 0x800000F8@l(r6) /* 801D40DC 001D103C 54 06 F0 BE */ srwi r6, r0, 2 /* 801D40E0 001D1040 48 1B 5A ED */ bl __div2i /* 801D40E4 001D1044 7F E3 FB 78 */ mr r3, r31 /* 801D40E8 001D1048 38 A0 00 20 */ li r5, 0x20 /* 801D40EC 001D104C 48 16 B2 D1 */ bl WriteBits__13COutputStreamFii /* 801D40F0 001D1050 88 1E 02 28 */ lbz r0, 0x228(r30) /* 801D40F4 001D1054 7F E3 FB 78 */ mr r3, r31 /* 801D40F8 001D1058 38 A0 00 01 */ li r5, 1 /* 801D40FC 001D105C 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f /* 801D4100 001D1060 7C 04 00 D0 */ neg r0, r4 /* 801D4104 001D1064 7C 00 23 78 */ or r0, r0, r4 /* 801D4108 001D1068 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D410C 001D106C 48 16 B2 B1 */ bl WriteBits__13COutputStreamFii /* 801D4110 001D1070 88 1E 02 28 */ lbz r0, 0x228(r30) /* 801D4114 001D1074 7F E3 FB 78 */ mr r3, r31 /* 801D4118 001D1078 38 A0 00 01 */ li r5, 1 /* 801D411C 001D107C 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f /* 801D4120 001D1080 7C 04 00 D0 */ neg r0, r4 /* 801D4124 001D1084 7C 00 23 78 */ or r0, r0, r4 /* 801D4128 001D1088 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D412C 001D108C 48 16 B2 91 */ bl WriteBits__13COutputStreamFii /* 801D4130 001D1090 80 9E 00 84 */ lwz r4, 0x84(r30) /* 801D4134 001D1094 7F E3 FB 78 */ mr r3, r31 /* 801D4138 001D1098 38 A0 00 20 */ li r5, 0x20 /* 801D413C 001D109C 48 16 B2 81 */ bl WriteBits__13COutputStreamFii /* 801D4140 001D10A0 80 9E 00 A0 */ lwz r4, 0xa0(r30) /* 801D4144 001D10A4 7F E3 FB 78 */ mr r3, r31 /* 801D4148 001D10A8 83 7E 00 A4 */ lwz r27, 0xa4(r30) /* 801D414C 001D10AC 38 A0 00 20 */ li r5, 0x20 /* 801D4150 001D10B0 48 16 B2 6D */ bl WriteBits__13COutputStreamFii /* 801D4154 001D10B4 38 00 FF FF */ li r0, -1 /* 801D4158 001D10B8 7F E3 FB 78 */ mr r3, r31 /* 801D415C 001D10BC 38 A0 00 20 */ li r5, 0x20 /* 801D4160 001D10C0 7F 64 00 38 */ and r4, r27, r0 /* 801D4164 001D10C4 48 16 B2 59 */ bl WriteBits__13COutputStreamFii /* 801D4168 001D10C8 80 7E 00 98 */ lwz r3, 0x98(r30) /* 801D416C 001D10CC 7F E4 FB 78 */ mr r4, r31 /* 801D4170 001D10D0 80 63 00 00 */ lwz r3, 0(r3) /* 801D4174 001D10D4 4B EB DD 49 */ bl PutTo__12CPlayerStateFR13COutPutStream /* 801D4178 001D10D8 7F E4 FB 78 */ mr r4, r31 /* 801D417C 001D10DC 38 7E 01 7C */ addi r3, r30, 0x17c /* 801D4180 001D10E0 48 03 B1 15 */ bl PutTo__12CGameOptionsFR16CMemoryStreamOut /* 801D4184 001D10E4 7F E4 FB 78 */ mr r4, r31 /* 801D4188 001D10E8 38 7E 01 F8 */ addi r3, r30, 0x1f8 /* 801D418C 001D10EC 48 09 3A 6D */ bl PutTo__16CGameHintManagerFR16CMemoryStreamOut /* 801D4190 001D10F0 83 8D A0 84 */ lwz r28, gpMemoryCard@sda21(r13) /* 801D4194 001D10F4 3C 60 53 41 */ lis r3, 0x53415657@ha /* 801D4198 001D10F8 3B A3 56 57 */ addi r29, r3, 0x53415657@l /* 801D419C 001D10FC 3B 01 00 18 */ addi r24, r1, 0x18 /* 801D41A0 001D1100 83 5C 00 18 */ lwz r26, 0x18(r28) /* 801D41A4 001D1104 48 00 00 84 */ b lbl_801D4228 lbl_801D41A8: /* 801D41A8 001D1108 83 3A 00 00 */ lwz r25, 0(r26) /* 801D41AC 001D110C 38 61 00 08 */ addi r3, r1, 8 /* 801D41B0 001D1110 80 1A 00 08 */ lwz r0, 8(r26) /* 801D41B4 001D1114 38 A1 00 10 */ addi r5, r1, 0x10 /* 801D41B8 001D1118 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D41BC 001D111C 93 A1 00 10 */ stw r29, 0x10(r1) /* 801D41C0 001D1120 90 01 00 14 */ stw r0, 0x14(r1) /* 801D41C4 001D1124 81 84 00 00 */ lwz r12, 0(r4) /* 801D41C8 001D1128 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D41CC 001D112C 7D 89 03 A6 */ mtctr r12 /* 801D41D0 001D1130 4E 80 04 21 */ bctrl /* 801D41D4 001D1134 7F 03 C3 78 */ mr r3, r24 /* 801D41D8 001D1138 38 81 00 08 */ addi r4, r1, 8 /* 801D41DC 001D113C 48 16 CC CD */ bl __ct__6CTokenFRC6CToken /* 801D41E0 001D1140 7F 03 C3 78 */ mr r3, r24 /* 801D41E4 001D1144 48 16 CC 29 */ bl GetObj__6CTokenFv /* 801D41E8 001D1148 80 03 00 04 */ lwz r0, 4(r3) /* 801D41EC 001D114C 38 61 00 08 */ addi r3, r1, 8 /* 801D41F0 001D1150 38 80 FF FF */ li r4, -1 /* 801D41F4 001D1154 90 01 00 20 */ stw r0, 0x20(r1) /* 801D41F8 001D1158 48 16 CC 49 */ bl __dt__6CTokenFv /* 801D41FC 001D115C 83 61 00 20 */ lwz r27, 0x20(r1) /* 801D4200 001D1160 7F C3 F3 78 */ mr r3, r30 /* 801D4204 001D1164 7F 24 CB 78 */ mr r4, r25 /* 801D4208 001D1168 4B FF F7 D1 */ bl StateForWorld__10CGameStateFUi /* 801D420C 001D116C 7F E4 FB 78 */ mr r4, r31 /* 801D4210 001D1170 7F 65 DB 78 */ mr r5, r27 /* 801D4214 001D1174 48 00 0B 85 */ bl PutTo__11CWorldStateFR16CMemoryStreamOut /* 801D4218 001D1178 38 61 00 18 */ addi r3, r1, 0x18 /* 801D421C 001D117C 38 80 00 00 */ li r4, 0 /* 801D4220 001D1180 48 16 CC 21 */ bl __dt__6CTokenFv /* 801D4224 001D1184 3B 5A 00 4C */ addi r26, r26, 0x4c lbl_801D4228: /* 801D4228 001D1188 80 1C 00 10 */ lwz r0, 0x10(r28) /* 801D422C 001D118C 80 7C 00 18 */ lwz r3, 0x18(r28) /* 801D4230 001D1190 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D4234 001D1194 7C 03 02 14 */ add r0, r3, r0 /* 801D4238 001D1198 7C 1A 00 40 */ cmplw r26, r0 /* 801D423C 001D119C 40 82 FF 6C */ bne lbl_801D41A8 /* 801D4240 001D11A0 BB 01 00 30 */ lmw r24, 0x30(r1) /* 801D4244 001D11A4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801D4248 001D11A8 7C 08 03 A6 */ mtlr r0 /* 801D424C 001D11AC 38 21 00 50 */ addi r1, r1, 0x50 /* 801D4250 001D11B0 4E 80 00 20 */ blr .global LoadGameFileState__10CGameStateFPCv LoadGameFileState__10CGameStateFPCv: /* 801D4254 001D11B4 94 21 FD E0 */ stwu r1, -0x220(r1) /* 801D4258 001D11B8 7C 08 02 A6 */ mflr r0 /* 801D425C 001D11BC 38 A0 10 00 */ li r5, 0x1000 /* 801D4260 001D11C0 90 01 02 24 */ stw r0, 0x224(r1) /* 801D4264 001D11C4 93 E1 02 1C */ stw r31, 0x21c(r1) /* 801D4268 001D11C8 7C 7F 1B 78 */ mr r31, r3 /* 801D426C 001D11CC 38 61 00 10 */ addi r3, r1, 0x10 /* 801D4270 001D11D0 93 C1 02 18 */ stw r30, 0x218(r1) /* 801D4274 001D11D4 93 A1 02 14 */ stw r29, 0x214(r1) /* 801D4278 001D11D8 48 16 AF 55 */ bl __ct__15CMemoryInStreamFPCvUl /* 801D427C 001D11DC 3B A0 00 00 */ li r29, 0 lbl_801D4280: /* 801D4280 001D11E0 38 61 00 10 */ addi r3, r1, 0x10 /* 801D4284 001D11E4 38 80 00 08 */ li r4, 8 /* 801D4288 001D11E8 48 16 AA B1 */ bl ReadBits__12CInputStreamFi /* 801D428C 001D11EC 3B BD 00 01 */ addi r29, r29, 1 /* 801D4290 001D11F0 2C 1D 00 80 */ cmpwi r29, 0x80 /* 801D4294 001D11F4 41 80 FF EC */ blt lbl_801D4280 /* 801D4298 001D11F8 38 61 00 10 */ addi r3, r1, 0x10 /* 801D429C 001D11FC 38 80 00 20 */ li r4, 0x20 /* 801D42A0 001D1200 48 16 AA 99 */ bl ReadBits__12CInputStreamFi /* 801D42A4 001D1204 7C 7D 1B 78 */ mr r29, r3 /* 801D42A8 001D1208 38 61 00 10 */ addi r3, r1, 0x10 /* 801D42AC 001D120C 38 80 00 01 */ li r4, 1 /* 801D42B0 001D1210 48 16 AA 89 */ bl ReadBits__12CInputStreamFi /* 801D42B4 001D1214 7C 03 00 D0 */ neg r0, r3 /* 801D42B8 001D1218 38 80 00 01 */ li r4, 1 /* 801D42BC 001D121C 7C 00 1B 78 */ or r0, r0, r3 /* 801D42C0 001D1220 38 61 00 10 */ addi r3, r1, 0x10 /* 801D42C4 001D1224 54 00 0F FE */ srwi r0, r0, 0x1f /* 801D42C8 001D1228 98 01 00 58 */ stb r0, 0x58(r1) /* 801D42CC 001D122C 48 16 AA 6D */ bl ReadBits__12CInputStreamFi /* 801D42D0 001D1230 38 61 00 10 */ addi r3, r1, 0x10 /* 801D42D4 001D1234 38 80 00 20 */ li r4, 0x20 /* 801D42D8 001D1238 48 16 AA 61 */ bl ReadBits__12CInputStreamFi /* 801D42DC 001D123C 90 61 00 40 */ stw r3, 0x40(r1) /* 801D42E0 001D1240 38 61 00 10 */ addi r3, r1, 0x10 /* 801D42E4 001D1244 38 80 00 20 */ li r4, 0x20 /* 801D42E8 001D1248 48 16 AA 51 */ bl ReadBits__12CInputStreamFi /* 801D42EC 001D124C 7C 7E 1B 78 */ mr r30, r3 /* 801D42F0 001D1250 38 61 00 10 */ addi r3, r1, 0x10 /* 801D42F4 001D1254 38 80 00 20 */ li r4, 0x20 /* 801D42F8 001D1258 48 16 AA 41 */ bl ReadBits__12CInputStreamFi /* 801D42FC 001D125C 38 00 00 00 */ li r0, 0 /* 801D4300 001D1260 93 C1 00 0C */ stw r30, 0xc(r1) /* 801D4304 001D1264 38 81 00 10 */ addi r4, r1, 0x10 /* 801D4308 001D1268 90 01 00 08 */ stw r0, 8(r1) /* 801D430C 001D126C 90 01 00 0C */ stw r0, 0xc(r1) /* 801D4310 001D1270 93 C1 00 08 */ stw r30, 8(r1) /* 801D4314 001D1274 90 61 00 0C */ stw r3, 0xc(r1) /* 801D4318 001D1278 38 61 00 60 */ addi r3, r1, 0x60 /* 801D431C 001D127C 93 C1 00 08 */ stw r30, 8(r1) /* 801D4320 001D1280 C8 01 00 08 */ lfd f0, 8(r1) /* 801D4324 001D1284 D8 01 00 38 */ stfd f0, 0x38(r1) /* 801D4328 001D1288 4B EB DD 01 */ bl __ct__12CPlayerStateFR12CInputStream /* 801D432C 001D128C C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801D4330 001D1290 38 61 00 60 */ addi r3, r1, 0x60 /* 801D4334 001D1294 38 80 00 18 */ li r4, 0x18 /* 801D4338 001D1298 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801D433C 001D129C 4B EB D7 B9 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType /* 801D4340 001D12A0 80 81 00 40 */ lwz r4, 0x40(r1) /* 801D4344 001D12A4 90 61 00 48 */ stw r3, 0x48(r1) /* 801D4348 001D12A8 3C 04 EA 72 */ addis r0, r4, 0xea72 /* 801D434C 001D12AC 28 00 FE 17 */ cmplwi r0, 0xfe17 /* 801D4350 001D12B0 93 A1 00 4C */ stw r29, 0x4c(r1) /* 801D4354 001D12B4 40 82 00 0C */ bne lbl_801D4360 /* 801D4358 001D12B8 38 00 00 00 */ li r0, 0 /* 801D435C 001D12BC 48 00 00 20 */ b lbl_801D437C lbl_801D4360: /* 801D4360 001D12C0 38 61 00 60 */ addi r3, r1, 0x60 /* 801D4364 001D12C4 4B EB D1 49 */ bl GetTotalPickupCount__12CPlayerStateFv /* 801D4368 001D12C8 7C 7E 1B 78 */ mr r30, r3 /* 801D436C 001D12CC 38 61 00 60 */ addi r3, r1, 0x60 /* 801D4370 001D12D0 4B EB CE C5 */ bl CalculateItemCollectionRate__12CPlayerStateFv /* 801D4374 001D12D4 1C 03 00 64 */ mulli r0, r3, 0x64 /* 801D4378 001D12D8 7C 00 F3 D6 */ divw r0, r0, r30 lbl_801D437C: /* 801D437C 001D12DC 80 A1 01 E4 */ lwz r5, 0x1e4(r1) /* 801D4380 001D12E0 90 01 00 50 */ stw r0, 0x50(r1) /* 801D4384 001D12E4 2C 05 00 00 */ cmpwi r5, 0 /* 801D4388 001D12E8 40 82 00 0C */ bne lbl_801D4394 /* 801D438C 001D12EC C0 22 AC 28 */ lfs f1, lbl_805AC948@sda21(r2) /* 801D4390 001D12F0 48 00 00 44 */ b lbl_801D43D4 lbl_801D4394: /* 801D4394 001D12F4 80 81 01 E0 */ lwz r4, 0x1e0(r1) /* 801D4398 001D12F8 3C 60 43 30 */ lis r3, 0x4330 /* 801D439C 001D12FC 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 801D43A0 001D1300 90 61 01 F8 */ stw r3, 0x1f8(r1) /* 801D43A4 001D1304 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 801D43A8 001D1308 C8 42 AC 30 */ lfd f2, lbl_805AC950@sda21(r2) /* 801D43AC 001D130C 90 81 01 FC */ stw r4, 0x1fc(r1) /* 801D43B0 001D1310 C0 62 AC 2C */ lfs f3, lbl_805AC94C@sda21(r2) /* 801D43B4 001D1314 C8 01 01 F8 */ lfd f0, 0x1f8(r1) /* 801D43B8 001D1318 90 01 02 04 */ stw r0, 0x204(r1) /* 801D43BC 001D131C EC 20 10 28 */ fsubs f1, f0, f2 /* 801D43C0 001D1320 90 61 02 00 */ stw r3, 0x200(r1) /* 801D43C4 001D1324 C8 01 02 00 */ lfd f0, 0x200(r1) /* 801D43C8 001D1328 EC 00 10 28 */ fsubs f0, f0, f2 /* 801D43CC 001D132C EC 01 00 24 */ fdivs f0, f1, f0 /* 801D43D0 001D1330 EC 23 00 32 */ fmuls f1, f3, f0 lbl_801D43D4: /* 801D43D4 001D1334 C8 01 00 38 */ lfd f0, 0x38(r1) /* 801D43D8 001D1338 38 61 00 60 */ addi r3, r1, 0x60 /* 801D43DC 001D133C D0 21 00 54 */ stfs f1, 0x54(r1) /* 801D43E0 001D1340 38 80 FF FF */ li r4, -1 /* 801D43E4 001D1344 C8 21 00 40 */ lfd f1, 0x40(r1) /* 801D43E8 001D1348 D8 1F 00 00 */ stfd f0, 0(r31) /* 801D43EC 001D134C C8 01 00 48 */ lfd f0, 0x48(r1) /* 801D43F0 001D1350 D8 3F 00 08 */ stfd f1, 8(r31) /* 801D43F4 001D1354 C8 21 00 50 */ lfd f1, 0x50(r1) /* 801D43F8 001D1358 D8 1F 00 10 */ stfd f0, 0x10(r31) /* 801D43FC 001D135C C8 01 00 58 */ lfd f0, 0x58(r1) /* 801D4400 001D1360 D8 3F 00 18 */ stfd f1, 0x18(r31) /* 801D4404 001D1364 D8 1F 00 20 */ stfd f0, 0x20(r31) /* 801D4408 001D1368 4B E3 4B 61 */ bl __dt__12CPlayerStateFv /* 801D440C 001D136C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha /* 801D4410 001D1370 38 61 00 10 */ addi r3, r1, 0x10 /* 801D4414 001D1374 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l /* 801D4418 001D1378 38 80 00 00 */ li r4, 0 /* 801D441C 001D137C 90 01 00 10 */ stw r0, 0x10(r1) /* 801D4420 001D1380 48 16 AC 8D */ bl __dt__12CInputStreamFv /* 801D4424 001D1384 80 01 02 24 */ lwz r0, 0x224(r1) /* 801D4428 001D1388 83 E1 02 1C */ lwz r31, 0x21c(r1) /* 801D442C 001D138C 83 C1 02 18 */ lwz r30, 0x218(r1) /* 801D4430 001D1390 83 A1 02 14 */ lwz r29, 0x214(r1) /* 801D4434 001D1394 7C 08 03 A6 */ mtlr r0 /* 801D4438 001D1398 38 21 02 20 */ addi r1, r1, 0x220 /* 801D443C 001D139C 4E 80 00 20 */ blr .global InitializeMemoryWorlds__10CGameStateFv InitializeMemoryWorlds__10CGameStateFv: /* 801D4440 001D13A0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D4444 001D13A4 7C 08 02 A6 */ mflr r0 /* 801D4448 001D13A8 90 01 00 34 */ stw r0, 0x34(r1) /* 801D444C 001D13AC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D4450 001D13B0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D4454 001D13B4 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D4458 001D13B8 7C 7D 1B 78 */ mr r29, r3 /* 801D445C 001D13BC 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) /* 801D4460 001D13C0 83 DF 00 18 */ lwz r30, 0x18(r31) /* 801D4464 001D13C4 48 00 00 80 */ b lbl_801D44E4 lbl_801D4468: /* 801D4468 001D13C8 80 9E 00 00 */ lwz r4, 0(r30) /* 801D446C 001D13CC 7F A3 EB 78 */ mr r3, r29 /* 801D4470 001D13D0 4B FF F5 69 */ bl StateForWorld__10CGameStateFUi /* 801D4474 001D13D4 48 00 08 C1 */ bl GetLayerState__11CWorldStateFv /* 801D4478 001D13D8 81 03 00 00 */ lwz r8, 0(r3) /* 801D447C 001D13DC 38 ED A9 28 */ addi r7, r13, lbl_805A94E8@sda21 /* 801D4480 001D13E0 38 9E 00 20 */ addi r4, r30, 0x20 /* 801D4484 001D13E4 38 A1 00 0C */ addi r5, r1, 0xc /* 801D4488 001D13E8 91 01 00 10 */ stw r8, 0x10(r1) /* 801D448C 001D13EC 38 C1 00 08 */ addi r6, r1, 8 /* 801D4490 001D13F0 80 68 00 04 */ lwz r3, 4(r8) /* 801D4494 001D13F4 38 03 00 01 */ addi r0, r3, 1 /* 801D4498 001D13F8 90 08 00 04 */ stw r0, 4(r8) /* 801D449C 001D13FC 90 E1 00 0C */ stw r7, 0xc(r1) /* 801D44A0 001D1400 80 67 00 04 */ lwz r3, 4(r7) /* 801D44A4 001D1404 38 03 00 01 */ addi r0, r3, 1 /* 801D44A8 001D1408 90 07 00 04 */ stw r0, 4(r7) /* 801D44AC 001D140C 90 E1 00 08 */ stw r7, 8(r1) /* 801D44B0 001D1410 80 67 00 04 */ lwz r3, 4(r7) /* 801D44B4 001D1414 38 03 00 01 */ addi r0, r3, 1 /* 801D44B8 001D1418 90 07 00 04 */ stw r0, 4(r7) /* 801D44BC 001D141C 80 61 00 10 */ lwz r3, 0x10(r1) /* 801D44C0 001D1420 80 63 00 00 */ lwz r3, 0(r3) /* 801D44C4 001D1424 48 05 FB 05 */ bl "InitializeWorldLayers__16CWorldLayerStateFQ24rstl6vector" /* 801D44C8 001D1428 38 61 00 08 */ addi r3, r1, 8 /* 801D44CC 001D142C 4B E8 59 99 */ bl sub_80059e64 /* 801D44D0 001D1430 38 61 00 0C */ addi r3, r1, 0xc /* 801D44D4 001D1434 4B E8 58 C5 */ bl sub_80059d98 /* 801D44D8 001D1438 38 61 00 10 */ addi r3, r1, 0x10 /* 801D44DC 001D143C 4B E3 48 F1 */ bl sub_80008dcc /* 801D44E0 001D1440 3B DE 00 4C */ addi r30, r30, 0x4c lbl_801D44E4: /* 801D44E4 001D1444 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801D44E8 001D1448 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801D44EC 001D144C 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D44F0 001D1450 7C 03 02 14 */ add r0, r3, r0 /* 801D44F4 001D1454 7C 1E 00 40 */ cmplw r30, r0 /* 801D44F8 001D1458 40 82 FF 70 */ bne lbl_801D4468 /* 801D44FC 001D145C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D4500 001D1460 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D4504 001D1464 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D4508 001D1468 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D450C 001D146C 7C 08 03 A6 */ mtlr r0 /* 801D4510 001D1470 38 21 00 30 */ addi r1, r1, 0x30 /* 801D4514 001D1474 4E 80 00 20 */ blr .global InitializeMemoryStates__10CGameStateFv InitializeMemoryStates__10CGameStateFv: /* 801D4518 001D1478 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D451C 001D147C 7C 08 02 A6 */ mflr r0 /* 801D4520 001D1480 90 01 00 14 */ stw r0, 0x14(r1) /* 801D4524 001D1484 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D4528 001D1488 7C 7F 1B 78 */ mr r31, r3 /* 801D452C 001D148C 80 63 00 98 */ lwz r3, 0x98(r3) /* 801D4530 001D1490 80 63 00 00 */ lwz r3, 0(r3) /* 801D4534 001D1494 4B EB D2 09 */ bl InitializeScanTimes__12CPlayerStateFv /* 801D4538 001D1498 38 7F 01 F8 */ addi r3, r31, 0x1f8 /* 801D453C 001D149C 48 09 35 69 */ bl InitializeMemoryState__12CHintOptionsFv /* 801D4540 001D14A0 7F E3 FB 78 */ mr r3, r31 /* 801D4544 001D14A4 4B FF FE FD */ bl InitializeMemoryWorlds__10CGameStateFv /* 801D4548 001D14A8 7F E3 FB 78 */ mr r3, r31 /* 801D454C 001D14AC 4B FF F6 69 */ bl WriteBackupBuf__10CGameStateFv /* 801D4550 001D14B0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D4554 001D14B4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D4558 001D14B8 7C 08 03 A6 */ mtlr r0 /* 801D455C 001D14BC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D4560 001D14C0 4E 80 00 20 */ blr .global __ct__10CGameStateFR12CInputStreami __ct__10CGameStateFR12CInputStreami: /* 801D4564 001D14C4 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801D4568 001D14C8 7C 08 02 A6 */ mflr r0 /* 801D456C 001D14CC 90 01 01 14 */ stw r0, 0x114(r1) /* 801D4570 001D14D0 38 00 00 10 */ li r0, 0x10 /* 801D4574 001D14D4 BE C1 00 E8 */ stmw r22, 0xe8(r1) /* 801D4578 001D14D8 7C 7D 1B 78 */ mr r29, r3 /* 801D457C 001D14DC 38 60 00 80 */ li r3, 0x80 /* 801D4580 001D14E0 7C 9E 23 78 */ mr r30, r4 /* 801D4584 001D14E4 7C BF 2B 78 */ mr r31, r5 /* 801D4588 001D14E8 38 9D 00 04 */ addi r4, r29, 4 /* 801D458C 001D14EC 90 7D 00 00 */ stw r3, 0(r29) /* 801D4590 001D14F0 38 60 00 00 */ li r3, 0 /* 801D4594 001D14F4 7C 09 03 A6 */ mtctr r0 lbl_801D4598: /* 801D4598 001D14F8 28 04 00 00 */ cmplwi r4, 0 /* 801D459C 001D14FC 41 82 00 0C */ beq lbl_801D45A8 /* 801D45A0 001D1500 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D45A4 001D1504 98 04 00 00 */ stb r0, 0(r4) lbl_801D45A8: /* 801D45A8 001D1508 34 84 00 01 */ addic. r4, r4, 1 /* 801D45AC 001D150C 41 82 00 0C */ beq lbl_801D45B8 /* 801D45B0 001D1510 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D45B4 001D1514 98 04 00 00 */ stb r0, 0(r4) lbl_801D45B8: /* 801D45B8 001D1518 34 84 00 01 */ addic. r4, r4, 1 /* 801D45BC 001D151C 41 82 00 0C */ beq lbl_801D45C8 /* 801D45C0 001D1520 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D45C4 001D1524 98 04 00 00 */ stb r0, 0(r4) lbl_801D45C8: /* 801D45C8 001D1528 34 84 00 01 */ addic. r4, r4, 1 /* 801D45CC 001D152C 41 82 00 0C */ beq lbl_801D45D8 /* 801D45D0 001D1530 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D45D4 001D1534 98 04 00 00 */ stb r0, 0(r4) lbl_801D45D8: /* 801D45D8 001D1538 34 84 00 01 */ addic. r4, r4, 1 /* 801D45DC 001D153C 41 82 00 0C */ beq lbl_801D45E8 /* 801D45E0 001D1540 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D45E4 001D1544 98 04 00 00 */ stb r0, 0(r4) lbl_801D45E8: /* 801D45E8 001D1548 34 84 00 01 */ addic. r4, r4, 1 /* 801D45EC 001D154C 41 82 00 0C */ beq lbl_801D45F8 /* 801D45F0 001D1550 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D45F4 001D1554 98 04 00 00 */ stb r0, 0(r4) lbl_801D45F8: /* 801D45F8 001D1558 34 84 00 01 */ addic. r4, r4, 1 /* 801D45FC 001D155C 41 82 00 0C */ beq lbl_801D4608 /* 801D4600 001D1560 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D4604 001D1564 98 04 00 00 */ stb r0, 0(r4) lbl_801D4608: /* 801D4608 001D1568 34 84 00 01 */ addic. r4, r4, 1 /* 801D460C 001D156C 41 82 00 0C */ beq lbl_801D4618 /* 801D4610 001D1570 88 0D 91 AD */ lbz r0, lbl_805A7D6D@sda21(r13) /* 801D4614 001D1574 98 04 00 00 */ stb r0, 0(r4) lbl_801D4618: /* 801D4618 001D1578 38 63 00 07 */ addi r3, r3, 7 /* 801D461C 001D157C 38 84 00 01 */ addi r4, r4, 1 /* 801D4620 001D1580 42 00 FF 78 */ bdnz lbl_801D4598 /* 801D4624 001D1584 38 00 FF FF */ li r0, -1 /* 801D4628 001D1588 3C 60 80 3D */ lis r3, lbl_803D1B88@ha /* 801D462C 001D158C 90 1D 00 84 */ stw r0, 0x84(r29) /* 801D4630 001D1590 38 00 00 00 */ li r0, 0 /* 801D4634 001D1594 38 83 1B 88 */ addi r4, r3, lbl_803D1B88@l /* 801D4638 001D1598 38 60 00 08 */ li r3, 8 /* 801D463C 001D159C 90 1D 00 8C */ stw r0, 0x8c(r29) /* 801D4640 001D15A0 38 A0 00 00 */ li r5, 0 /* 801D4644 001D15A4 90 1D 00 90 */ stw r0, 0x90(r29) /* 801D4648 001D15A8 90 1D 00 94 */ stw r0, 0x94(r29) /* 801D464C 001D15AC 48 14 12 21 */ bl __nw__FUlPCcPCc /* 801D4650 001D15B0 28 03 00 00 */ cmplwi r3, 0 /* 801D4654 001D15B4 41 82 00 14 */ beq lbl_801D4668 /* 801D4658 001D15B8 38 80 00 00 */ li r4, 0 /* 801D465C 001D15BC 38 00 00 01 */ li r0, 1 /* 801D4660 001D15C0 90 83 00 00 */ stw r4, 0(r3) /* 801D4664 001D15C4 90 03 00 04 */ stw r0, 4(r3) lbl_801D4668: /* 801D4668 001D15C8 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D466C 001D15CC 90 7D 00 98 */ stw r3, 0x98(r29) /* 801D4670 001D15D0 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4674 001D15D4 38 60 00 48 */ li r3, 0x48 /* 801D4678 001D15D8 38 A0 00 00 */ li r5, 0 /* 801D467C 001D15DC 48 14 11 F1 */ bl __nw__FUlPCcPCc /* 801D4680 001D15E0 7C 7C 1B 79 */ or. r28, r3, r3 /* 801D4684 001D15E4 41 82 00 0C */ beq lbl_801D4690 /* 801D4688 001D15E8 48 03 70 D1 */ bl __ct__18CWorldTransManagerFv /* 801D468C 001D15EC 7C 7C 1B 78 */ mr r28, r3 lbl_801D4690: /* 801D4690 001D15F0 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4694 001D15F4 38 60 00 08 */ li r3, 8 /* 801D4698 001D15F8 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D469C 001D15FC 38 A0 00 00 */ li r5, 0 /* 801D46A0 001D1600 48 14 11 CD */ bl __nw__FUlPCcPCc /* 801D46A4 001D1604 28 03 00 00 */ cmplwi r3, 0 /* 801D46A8 001D1608 41 82 00 10 */ beq lbl_801D46B8 /* 801D46AC 001D160C 93 83 00 00 */ stw r28, 0(r3) /* 801D46B0 001D1610 38 00 00 01 */ li r0, 1 /* 801D46B4 001D1614 90 03 00 04 */ stw r0, 4(r3) lbl_801D46B8: /* 801D46B8 001D1618 90 7D 00 9C */ stw r3, 0x9c(r29) /* 801D46BC 001D161C 38 7D 00 A8 */ addi r3, r29, 0xa8 /* 801D46C0 001D1620 C8 02 AC 38 */ lfd f0, lbl_805AC958@sda21(r2) /* 801D46C4 001D1624 D8 1D 00 A0 */ stfd f0, 0xa0(r29) /* 801D46C8 001D1628 48 00 18 41 */ bl __ct__14CSystemOptionsFv /* 801D46CC 001D162C 38 7D 01 7C */ addi r3, r29, 0x17c /* 801D46D0 001D1630 48 03 B1 01 */ bl __ct__12CGameOptionsFv /* 801D46D4 001D1634 38 7D 01 F8 */ addi r3, r29, 0x1f8 /* 801D46D8 001D1638 48 09 37 59 */ bl __ct__12CHintOptionsFv /* 801D46DC 001D163C 93 FD 02 0C */ stw r31, 0x20c(r29) /* 801D46E0 001D1640 38 60 00 00 */ li r3, 0 /* 801D46E4 001D1644 3B 00 00 00 */ li r24, 0 /* 801D46E8 001D1648 90 7D 02 14 */ stw r3, 0x214(r29) /* 801D46EC 001D164C 90 7D 02 10 */ stw r3, 0x210(r29) /* 801D46F0 001D1650 90 7D 02 1C */ stw r3, 0x21c(r29) /* 801D46F4 001D1654 90 7D 02 20 */ stw r3, 0x220(r29) /* 801D46F8 001D1658 90 7D 02 24 */ stw r3, 0x224(r29) /* 801D46FC 001D165C 88 1D 02 28 */ lbz r0, 0x228(r29) /* 801D4700 001D1660 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D4704 001D1664 98 1D 02 28 */ stb r0, 0x228(r29) /* 801D4708 001D1668 88 1D 02 28 */ lbz r0, 0x228(r29) /* 801D470C 001D166C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D4710 001D1670 98 1D 02 28 */ stb r0, 0x228(r29) /* 801D4714 001D1674 48 00 00 1C */ b lbl_801D4730 lbl_801D4718: /* 801D4718 001D1678 7F C3 F3 78 */ mr r3, r30 /* 801D471C 001D167C 38 80 00 08 */ li r4, 8 /* 801D4720 001D1680 48 16 A6 19 */ bl ReadBits__12CInputStreamFi /* 801D4724 001D1684 7C 9D C2 14 */ add r4, r29, r24 /* 801D4728 001D1688 3B 18 00 01 */ addi r24, r24, 1 /* 801D472C 001D168C 98 64 00 04 */ stb r3, 4(r4) lbl_801D4730: /* 801D4730 001D1690 80 1D 00 00 */ lwz r0, 0(r29) /* 801D4734 001D1694 7C 18 00 00 */ cmpw r24, r0 /* 801D4738 001D1698 41 80 FF E0 */ blt lbl_801D4718 /* 801D473C 001D169C 7F C3 F3 78 */ mr r3, r30 /* 801D4740 001D16A0 38 80 00 20 */ li r4, 0x20 /* 801D4744 001D16A4 48 16 A5 F5 */ bl ReadBits__12CInputStreamFi /* 801D4748 001D16A8 7F C3 F3 78 */ mr r3, r30 /* 801D474C 001D16AC 38 80 00 01 */ li r4, 1 /* 801D4750 001D16B0 48 16 A5 E9 */ bl ReadBits__12CInputStreamFi /* 801D4754 001D16B4 7C 83 00 D0 */ neg r4, r3 /* 801D4758 001D16B8 88 1D 02 28 */ lbz r0, 0x228(r29) /* 801D475C 001D16BC 7C 84 1B 78 */ or r4, r4, r3 /* 801D4760 001D16C0 7F C3 F3 78 */ mr r3, r30 /* 801D4764 001D16C4 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D4768 001D16C8 38 80 00 01 */ li r4, 1 /* 801D476C 001D16CC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801D4770 001D16D0 98 1D 02 28 */ stb r0, 0x228(r29) /* 801D4774 001D16D4 48 16 A5 C5 */ bl ReadBits__12CInputStreamFi /* 801D4778 001D16D8 7C 83 00 D0 */ neg r4, r3 /* 801D477C 001D16DC 88 1D 02 28 */ lbz r0, 0x228(r29) /* 801D4780 001D16E0 7C 84 1B 78 */ or r4, r4, r3 /* 801D4784 001D16E4 7F C3 F3 78 */ mr r3, r30 /* 801D4788 001D16E8 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D478C 001D16EC 38 80 00 20 */ li r4, 0x20 /* 801D4790 001D16F0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801D4794 001D16F4 98 1D 02 28 */ stb r0, 0x228(r29) /* 801D4798 001D16F8 48 16 A5 A1 */ bl ReadBits__12CInputStreamFi /* 801D479C 001D16FC 90 7D 00 84 */ stw r3, 0x84(r29) /* 801D47A0 001D1700 80 7D 00 84 */ lwz r3, 0x84(r29) /* 801D47A4 001D1704 4B E3 00 D9 */ bl EnsureWorldPakReady__5CMainFUi /* 801D47A8 001D1708 7F C3 F3 78 */ mr r3, r30 /* 801D47AC 001D170C 38 80 00 20 */ li r4, 0x20 /* 801D47B0 001D1710 48 16 A5 89 */ bl ReadBits__12CInputStreamFi /* 801D47B4 001D1714 7C 7C 1B 78 */ mr r28, r3 /* 801D47B8 001D1718 7F C3 F3 78 */ mr r3, r30 /* 801D47BC 001D171C 38 80 00 20 */ li r4, 0x20 /* 801D47C0 001D1720 48 16 A5 79 */ bl ReadBits__12CInputStreamFi /* 801D47C4 001D1724 38 00 00 00 */ li r0, 0 /* 801D47C8 001D1728 93 81 00 2C */ stw r28, 0x2c(r1) /* 801D47CC 001D172C 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D47D0 001D1730 38 A0 00 00 */ li r5, 0 /* 801D47D4 001D1734 90 01 00 28 */ stw r0, 0x28(r1) /* 801D47D8 001D1738 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D47DC 001D173C 90 01 00 2C */ stw r0, 0x2c(r1) /* 801D47E0 001D1740 93 81 00 28 */ stw r28, 0x28(r1) /* 801D47E4 001D1744 90 61 00 2C */ stw r3, 0x2c(r1) /* 801D47E8 001D1748 38 60 01 98 */ li r3, 0x198 /* 801D47EC 001D174C 93 81 00 28 */ stw r28, 0x28(r1) /* 801D47F0 001D1750 C8 01 00 28 */ lfd f0, 0x28(r1) /* 801D47F4 001D1754 D8 1D 00 A0 */ stfd f0, 0xa0(r29) /* 801D47F8 001D1758 48 14 10 75 */ bl __nw__FUlPCcPCc /* 801D47FC 001D175C 7C 7C 1B 79 */ or. r28, r3, r3 /* 801D4800 001D1760 41 82 00 10 */ beq lbl_801D4810 /* 801D4804 001D1764 7F C4 F3 78 */ mr r4, r30 /* 801D4808 001D1768 4B EB D8 21 */ bl __ct__12CPlayerStateFR12CInputStream /* 801D480C 001D176C 7C 7C 1B 78 */ mr r28, r3 lbl_801D4810: /* 801D4810 001D1770 38 7D 00 98 */ addi r3, r29, 0x98 /* 801D4814 001D1774 4B E3 46 F9 */ bl sub_80008f0c /* 801D4818 001D1778 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D481C 001D177C 38 60 00 08 */ li r3, 8 /* 801D4820 001D1780 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4824 001D1784 38 A0 00 00 */ li r5, 0 /* 801D4828 001D1788 48 14 10 45 */ bl __nw__FUlPCcPCc /* 801D482C 001D178C 28 03 00 00 */ cmplwi r3, 0 /* 801D4830 001D1790 41 82 00 10 */ beq lbl_801D4840 /* 801D4834 001D1794 93 83 00 00 */ stw r28, 0(r3) /* 801D4838 001D1798 38 00 00 01 */ li r0, 1 /* 801D483C 001D179C 90 03 00 04 */ stw r0, 4(r3) lbl_801D4840: /* 801D4840 001D17A0 90 7D 00 98 */ stw r3, 0x98(r29) /* 801D4844 001D17A4 7F C4 F3 78 */ mr r4, r30 /* 801D4848 001D17A8 38 61 00 68 */ addi r3, r1, 0x68 /* 801D484C 001D17AC 48 03 AC 59 */ bl __ct__12CGameOptionsFR12CInputStream /* 801D4850 001D17B0 38 7D 01 7C */ addi r3, r29, 0x17c /* 801D4854 001D17B4 38 81 00 68 */ addi r4, r1, 0x68 /* 801D4858 001D17B8 4B E2 EF 49 */ bl __as__12CGameOptionsFRC12CGameOptions /* 801D485C 001D17BC 38 61 00 68 */ addi r3, r1, 0x68 /* 801D4860 001D17C0 38 80 FF FF */ li r4, -1 /* 801D4864 001D17C4 4B E2 F7 21 */ bl __dt__12CGameOptionsFv /* 801D4868 001D17C8 7F C4 F3 78 */ mr r4, r30 /* 801D486C 001D17CC 38 61 00 54 */ addi r3, r1, 0x54 /* 801D4870 001D17D0 48 09 34 51 */ bl __ct__12CHintOptionsFR12CInputStream /* 801D4874 001D17D4 38 7D 01 F8 */ addi r3, r29, 0x1f8 /* 801D4878 001D17D8 38 81 00 54 */ addi r4, r1, 0x54 /* 801D487C 001D17DC 48 00 01 75 */ bl __ct__12CHintOptionsFR12CHintOptions /* 801D4880 001D17E0 80 01 00 58 */ lwz r0, 0x58(r1) /* 801D4884 001D17E4 80 61 00 60 */ lwz r3, 0x60(r1) /* 801D4888 001D17E8 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D488C 001D17EC 90 61 00 0C */ stw r3, 0xc(r1) /* 801D4890 001D17F0 7C 64 1B 78 */ mr r4, r3 /* 801D4894 001D17F4 7C 03 02 14 */ add r0, r3, r0 /* 801D4898 001D17F8 90 61 00 08 */ stw r3, 8(r1) /* 801D489C 001D17FC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D48A0 001D1800 90 01 00 10 */ stw r0, 0x10(r1) /* 801D48A4 001D1804 48 00 00 08 */ b lbl_801D48AC lbl_801D48A8: /* 801D48A8 001D1808 38 84 00 0C */ addi r4, r4, 0xc lbl_801D48AC: /* 801D48AC 001D180C 7C 04 00 40 */ cmplw r4, r0 /* 801D48B0 001D1810 40 82 FF F8 */ bne lbl_801D48A8 /* 801D48B4 001D1814 28 03 00 00 */ cmplwi r3, 0 /* 801D48B8 001D1818 41 82 00 08 */ beq lbl_801D48C0 /* 801D48BC 001D181C 48 14 10 75 */ bl Free__7CMemoryFPCv lbl_801D48C0: /* 801D48C0 001D1820 83 8D A0 84 */ lwz r28, gpMemoryCard@sda21(r13) /* 801D48C4 001D1824 38 7D 00 88 */ addi r3, r29, 0x88 /* 801D48C8 001D1828 80 9C 00 10 */ lwz r4, 0x10(r28) /* 801D48CC 001D182C 48 00 1A 1D */ bl "reserve__Q24rstl48vector<11CWorldState,Q24rstl17rmemory_allocator>Fi" /* 801D48D0 001D1830 3C 60 53 41 */ lis r3, 0x53415657@ha /* 801D48D4 001D1834 83 7C 00 18 */ lwz r27, 0x18(r28) /* 801D48D8 001D1838 3B 41 00 50 */ addi r26, r1, 0x50 /* 801D48DC 001D183C 3B 21 00 48 */ addi r25, r1, 0x48 /* 801D48E0 001D1840 3B 01 00 44 */ addi r24, r1, 0x44 /* 801D48E4 001D1844 3B E3 56 57 */ addi r31, r3, 0x53415657@l /* 801D48E8 001D1848 3A C1 00 30 */ addi r22, r1, 0x30 /* 801D48EC 001D184C 48 00 00 C4 */ b lbl_801D49B0 lbl_801D48F0: /* 801D48F0 001D1850 82 FB 00 00 */ lwz r23, 0(r27) /* 801D48F4 001D1854 38 61 00 18 */ addi r3, r1, 0x18 /* 801D48F8 001D1858 80 1B 00 08 */ lwz r0, 8(r27) /* 801D48FC 001D185C 38 A1 00 20 */ addi r5, r1, 0x20 /* 801D4900 001D1860 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D4904 001D1864 93 E1 00 20 */ stw r31, 0x20(r1) /* 801D4908 001D1868 90 01 00 24 */ stw r0, 0x24(r1) /* 801D490C 001D186C 81 84 00 00 */ lwz r12, 0(r4) /* 801D4910 001D1870 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D4914 001D1874 7D 89 03 A6 */ mtctr r12 /* 801D4918 001D1878 4E 80 04 21 */ bctrl /* 801D491C 001D187C 7E C3 B3 78 */ mr r3, r22 /* 801D4920 001D1880 38 81 00 18 */ addi r4, r1, 0x18 /* 801D4924 001D1884 48 16 C5 85 */ bl __ct__6CTokenFRC6CToken /* 801D4928 001D1888 7E C3 B3 78 */ mr r3, r22 /* 801D492C 001D188C 48 16 C4 E1 */ bl GetObj__6CTokenFv /* 801D4930 001D1890 80 03 00 04 */ lwz r0, 4(r3) /* 801D4934 001D1894 38 61 00 18 */ addi r3, r1, 0x18 /* 801D4938 001D1898 38 80 FF FF */ li r4, -1 /* 801D493C 001D189C 90 01 00 38 */ stw r0, 0x38(r1) /* 801D4940 001D18A0 48 16 C5 01 */ bl __dt__6CTokenFv /* 801D4944 001D18A4 80 C1 00 38 */ lwz r6, 0x38(r1) /* 801D4948 001D18A8 7F C4 F3 78 */ mr r4, r30 /* 801D494C 001D18AC 7E E5 BB 78 */ mr r5, r23 /* 801D4950 001D18B0 38 61 00 3C */ addi r3, r1, 0x3c /* 801D4954 001D18B4 48 00 04 E5 */ bl __ct__11CWorldStateFR12CInputStreamPCvR10CSaveWorld /* 801D4958 001D18B8 38 7D 00 88 */ addi r3, r29, 0x88 /* 801D495C 001D18BC 38 81 00 3C */ addi r4, r1, 0x3c /* 801D4960 001D18C0 4B FF F1 7D */ bl __ct__11CWorldStateFRC11CWorldState /* 801D4964 001D18C4 28 1A 00 00 */ cmplwi r26, 0 /* 801D4968 001D18C8 41 82 00 10 */ beq lbl_801D4978 /* 801D496C 001D18CC 41 82 00 0C */ beq lbl_801D4978 /* 801D4970 001D18D0 7F 43 D3 78 */ mr r3, r26 /* 801D4974 001D18D4 4B E3 44 59 */ bl sub_80008dcc lbl_801D4978: /* 801D4978 001D18D8 28 19 00 00 */ cmplwi r25, 0 /* 801D497C 001D18DC 41 82 00 10 */ beq lbl_801D498C /* 801D4980 001D18E0 41 82 00 0C */ beq lbl_801D498C /* 801D4984 001D18E4 7F 23 CB 78 */ mr r3, r25 /* 801D4988 001D18E8 4B E3 42 B5 */ bl sub_80008c3c lbl_801D498C: /* 801D498C 001D18EC 28 18 00 00 */ cmplwi r24, 0 /* 801D4990 001D18F0 41 82 00 10 */ beq lbl_801D49A0 /* 801D4994 001D18F4 41 82 00 0C */ beq lbl_801D49A0 /* 801D4998 001D18F8 7F 03 C3 78 */ mr r3, r24 /* 801D499C 001D18FC 4B E3 3C A5 */ bl __dt__11CWorldStateFv lbl_801D49A0: /* 801D49A0 001D1900 38 61 00 30 */ addi r3, r1, 0x30 /* 801D49A4 001D1904 38 80 00 00 */ li r4, 0 /* 801D49A8 001D1908 48 16 C4 99 */ bl __dt__6CTokenFv /* 801D49AC 001D190C 3B 7B 00 4C */ addi r27, r27, 0x4c lbl_801D49B0: /* 801D49B0 001D1910 80 1C 00 10 */ lwz r0, 0x10(r28) /* 801D49B4 001D1914 80 7C 00 18 */ lwz r3, 0x18(r28) /* 801D49B8 001D1918 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D49BC 001D191C 7C 03 02 14 */ add r0, r3, r0 /* 801D49C0 001D1920 7C 1B 00 40 */ cmplw r27, r0 /* 801D49C4 001D1924 40 82 FF 2C */ bne lbl_801D48F0 /* 801D49C8 001D1928 7F A3 EB 78 */ mr r3, r29 /* 801D49CC 001D192C 4B FF FA 75 */ bl InitializeMemoryWorlds__10CGameStateFv /* 801D49D0 001D1930 7F A3 EB 78 */ mr r3, r29 /* 801D49D4 001D1934 4B FF F1 E1 */ bl WriteBackupBuf__10CGameStateFv /* 801D49D8 001D1938 7F A3 EB 78 */ mr r3, r29 /* 801D49DC 001D193C BA C1 00 E8 */ lmw r22, 0xe8(r1) /* 801D49E0 001D1940 80 01 01 14 */ lwz r0, 0x114(r1) /* 801D49E4 001D1944 7C 08 03 A6 */ mtlr r0 /* 801D49E8 001D1948 38 21 01 10 */ addi r1, r1, 0x110 /* 801D49EC 001D194C 4E 80 00 20 */ blr .global __ct__12CHintOptionsFR12CHintOptions __ct__12CHintOptionsFR12CHintOptions: /* 801D49F0 001D1950 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D49F4 001D1954 7C 08 02 A6 */ mflr r0 /* 801D49F8 001D1958 90 01 00 14 */ stw r0, 0x14(r1) /* 801D49FC 001D195C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D4A00 001D1960 7C 9F 23 78 */ mr r31, r4 /* 801D4A04 001D1964 93 C1 00 08 */ stw r30, 8(r1) /* 801D4A08 001D1968 7C 7E 1B 78 */ mr r30, r3 /* 801D4A0C 001D196C 48 00 00 29 */ bl sub_801d4a34 /* 801D4A10 001D1970 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801D4A14 001D1974 7F C3 F3 78 */ mr r3, r30 /* 801D4A18 001D1978 90 1E 00 10 */ stw r0, 0x10(r30) /* 801D4A1C 001D197C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D4A20 001D1980 83 C1 00 08 */ lwz r30, 8(r1) /* 801D4A24 001D1984 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D4A28 001D1988 7C 08 03 A6 */ mtlr r0 /* 801D4A2C 001D198C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D4A30 001D1990 4E 80 00 20 */ blr .global sub_801d4a34 sub_801d4a34: /* 801D4A34 001D1994 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D4A38 001D1998 7C 08 02 A6 */ mflr r0 /* 801D4A3C 001D199C 90 01 00 24 */ stw r0, 0x24(r1) /* 801D4A40 001D19A0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D4A44 001D19A4 7C 7F 1B 78 */ mr r31, r3 /* 801D4A48 001D19A8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D4A4C 001D19AC 7C 9E 23 78 */ mr r30, r4 /* 801D4A50 001D19B0 7C 1F F0 40 */ cmplw r31, r30 /* 801D4A54 001D19B4 40 82 00 08 */ bne lbl_801D4A5C /* 801D4A58 001D19B8 48 00 00 C8 */ b lbl_801D4B20 lbl_801D4A5C: /* 801D4A5C 001D19BC 80 1F 00 04 */ lwz r0, 4(r31) /* 801D4A60 001D19C0 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801D4A64 001D19C4 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D4A68 001D19C8 90 61 00 0C */ stw r3, 0xc(r1) /* 801D4A6C 001D19CC 7C 03 02 14 */ add r0, r3, r0 /* 801D4A70 001D19D0 90 61 00 08 */ stw r3, 8(r1) /* 801D4A74 001D19D4 90 01 00 14 */ stw r0, 0x14(r1) /* 801D4A78 001D19D8 90 01 00 10 */ stw r0, 0x10(r1) /* 801D4A7C 001D19DC 48 00 00 08 */ b lbl_801D4A84 lbl_801D4A80: /* 801D4A80 001D19E0 38 63 00 0C */ addi r3, r3, 0xc lbl_801D4A84: /* 801D4A84 001D19E4 7C 03 00 40 */ cmplw r3, r0 /* 801D4A88 001D19E8 40 82 FF F8 */ bne lbl_801D4A80 /* 801D4A8C 001D19EC 38 00 00 00 */ li r0, 0 /* 801D4A90 001D19F0 90 1F 00 04 */ stw r0, 4(r31) /* 801D4A94 001D19F4 80 9E 00 04 */ lwz r4, 4(r30) /* 801D4A98 001D19F8 2C 04 00 00 */ cmpwi r4, 0 /* 801D4A9C 001D19FC 40 82 00 28 */ bne lbl_801D4AC4 /* 801D4AA0 001D1A00 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801D4AA4 001D1A04 28 03 00 00 */ cmplwi r3, 0 /* 801D4AA8 001D1A08 41 82 00 08 */ beq lbl_801D4AB0 /* 801D4AAC 001D1A0C 48 14 0E 85 */ bl Free__7CMemoryFPCv lbl_801D4AB0: /* 801D4AB0 001D1A10 38 00 00 00 */ li r0, 0 /* 801D4AB4 001D1A14 90 1F 00 04 */ stw r0, 4(r31) /* 801D4AB8 001D1A18 90 1F 00 08 */ stw r0, 8(r31) /* 801D4ABC 001D1A1C 90 1F 00 0C */ stw r0, 0xc(r31) /* 801D4AC0 001D1A20 48 00 00 5C */ b lbl_801D4B1C lbl_801D4AC4: /* 801D4AC4 001D1A24 7F E3 FB 78 */ mr r3, r31 /* 801D4AC8 001D1A28 48 00 16 35 */ bl sub_801d60fc /* 801D4ACC 001D1A2C 80 1E 00 04 */ lwz r0, 4(r30) /* 801D4AD0 001D1A30 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801D4AD4 001D1A34 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D4AD8 001D1A38 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801D4ADC 001D1A3C 7C 85 02 14 */ add r4, r5, r0 /* 801D4AE0 001D1A40 48 00 00 2C */ b lbl_801D4B0C lbl_801D4AE4: /* 801D4AE4 001D1A44 28 03 00 00 */ cmplwi r3, 0 /* 801D4AE8 001D1A48 41 82 00 1C */ beq lbl_801D4B04 /* 801D4AEC 001D1A4C 80 05 00 00 */ lwz r0, 0(r5) /* 801D4AF0 001D1A50 90 03 00 00 */ stw r0, 0(r3) /* 801D4AF4 001D1A54 C0 05 00 04 */ lfs f0, 4(r5) /* 801D4AF8 001D1A58 D0 03 00 04 */ stfs f0, 4(r3) /* 801D4AFC 001D1A5C 88 05 00 08 */ lbz r0, 8(r5) /* 801D4B00 001D1A60 98 03 00 08 */ stb r0, 8(r3) lbl_801D4B04: /* 801D4B04 001D1A64 38 63 00 0C */ addi r3, r3, 0xc /* 801D4B08 001D1A68 38 A5 00 0C */ addi r5, r5, 0xc lbl_801D4B0C: /* 801D4B0C 001D1A6C 7C 05 20 40 */ cmplw r5, r4 /* 801D4B10 001D1A70 40 82 FF D4 */ bne lbl_801D4AE4 /* 801D4B14 001D1A74 80 1E 00 04 */ lwz r0, 4(r30) /* 801D4B18 001D1A78 90 1F 00 04 */ stw r0, 4(r31) lbl_801D4B1C: /* 801D4B1C 001D1A7C 7F E3 FB 78 */ mr r3, r31 lbl_801D4B20: /* 801D4B20 001D1A80 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D4B24 001D1A84 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D4B28 001D1A88 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D4B2C 001D1A8C 7C 08 03 A6 */ mtlr r0 /* 801D4B30 001D1A90 38 21 00 20 */ addi r1, r1, 0x20 /* 801D4B34 001D1A94 4E 80 00 20 */ blr .global __ct__10CGameStateFv __ct__10CGameStateFv: /* 801D4B38 001D1A98 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D4B3C 001D1A9C 7C 08 02 A6 */ mflr r0 /* 801D4B40 001D1AA0 90 01 00 14 */ stw r0, 0x14(r1) /* 801D4B44 001D1AA4 38 00 00 10 */ li r0, 0x10 /* 801D4B48 001D1AA8 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D4B4C 001D1AAC 7C 7F 1B 78 */ mr r31, r3 /* 801D4B50 001D1AB0 38 60 00 80 */ li r3, 0x80 /* 801D4B54 001D1AB4 93 C1 00 08 */ stw r30, 8(r1) /* 801D4B58 001D1AB8 38 9F 00 04 */ addi r4, r31, 4 /* 801D4B5C 001D1ABC 90 7F 00 00 */ stw r3, 0(r31) /* 801D4B60 001D1AC0 38 60 00 00 */ li r3, 0 /* 801D4B64 001D1AC4 7C 09 03 A6 */ mtctr r0 lbl_801D4B68: /* 801D4B68 001D1AC8 28 04 00 00 */ cmplwi r4, 0 /* 801D4B6C 001D1ACC 41 82 00 0C */ beq lbl_801D4B78 /* 801D4B70 001D1AD0 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4B74 001D1AD4 98 04 00 00 */ stb r0, 0(r4) lbl_801D4B78: /* 801D4B78 001D1AD8 34 84 00 01 */ addic. r4, r4, 1 /* 801D4B7C 001D1ADC 41 82 00 0C */ beq lbl_801D4B88 /* 801D4B80 001D1AE0 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4B84 001D1AE4 98 04 00 00 */ stb r0, 0(r4) lbl_801D4B88: /* 801D4B88 001D1AE8 34 84 00 01 */ addic. r4, r4, 1 /* 801D4B8C 001D1AEC 41 82 00 0C */ beq lbl_801D4B98 /* 801D4B90 001D1AF0 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4B94 001D1AF4 98 04 00 00 */ stb r0, 0(r4) lbl_801D4B98: /* 801D4B98 001D1AF8 34 84 00 01 */ addic. r4, r4, 1 /* 801D4B9C 001D1AFC 41 82 00 0C */ beq lbl_801D4BA8 /* 801D4BA0 001D1B00 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4BA4 001D1B04 98 04 00 00 */ stb r0, 0(r4) lbl_801D4BA8: /* 801D4BA8 001D1B08 34 84 00 01 */ addic. r4, r4, 1 /* 801D4BAC 001D1B0C 41 82 00 0C */ beq lbl_801D4BB8 /* 801D4BB0 001D1B10 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4BB4 001D1B14 98 04 00 00 */ stb r0, 0(r4) lbl_801D4BB8: /* 801D4BB8 001D1B18 34 84 00 01 */ addic. r4, r4, 1 /* 801D4BBC 001D1B1C 41 82 00 0C */ beq lbl_801D4BC8 /* 801D4BC0 001D1B20 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4BC4 001D1B24 98 04 00 00 */ stb r0, 0(r4) lbl_801D4BC8: /* 801D4BC8 001D1B28 34 84 00 01 */ addic. r4, r4, 1 /* 801D4BCC 001D1B2C 41 82 00 0C */ beq lbl_801D4BD8 /* 801D4BD0 001D1B30 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4BD4 001D1B34 98 04 00 00 */ stb r0, 0(r4) lbl_801D4BD8: /* 801D4BD8 001D1B38 34 84 00 01 */ addic. r4, r4, 1 /* 801D4BDC 001D1B3C 41 82 00 0C */ beq lbl_801D4BE8 /* 801D4BE0 001D1B40 88 0D 91 AC */ lbz r0, lbl_805A7D6C@sda21(r13) /* 801D4BE4 001D1B44 98 04 00 00 */ stb r0, 0(r4) lbl_801D4BE8: /* 801D4BE8 001D1B48 38 63 00 07 */ addi r3, r3, 7 /* 801D4BEC 001D1B4C 38 84 00 01 */ addi r4, r4, 1 /* 801D4BF0 001D1B50 42 00 FF 78 */ bdnz lbl_801D4B68 /* 801D4BF4 001D1B54 38 00 FF FF */ li r0, -1 /* 801D4BF8 001D1B58 3C 60 80 3D */ lis r3, lbl_803D1B88@ha /* 801D4BFC 001D1B5C 90 1F 00 84 */ stw r0, 0x84(r31) /* 801D4C00 001D1B60 38 00 00 00 */ li r0, 0 /* 801D4C04 001D1B64 38 83 1B 88 */ addi r4, r3, lbl_803D1B88@l /* 801D4C08 001D1B68 38 60 01 98 */ li r3, 0x198 /* 801D4C0C 001D1B6C 90 1F 00 8C */ stw r0, 0x8c(r31) /* 801D4C10 001D1B70 38 A0 00 00 */ li r5, 0 /* 801D4C14 001D1B74 90 1F 00 90 */ stw r0, 0x90(r31) /* 801D4C18 001D1B78 90 1F 00 94 */ stw r0, 0x94(r31) /* 801D4C1C 001D1B7C 48 14 0C 51 */ bl __nw__FUlPCcPCc /* 801D4C20 001D1B80 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D4C24 001D1B84 41 82 00 0C */ beq lbl_801D4C30 /* 801D4C28 001D1B88 4B EB D6 A1 */ bl __ct__12CPlayerStateFv /* 801D4C2C 001D1B8C 7C 7E 1B 78 */ mr r30, r3 lbl_801D4C30: /* 801D4C30 001D1B90 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4C34 001D1B94 38 60 00 08 */ li r3, 8 /* 801D4C38 001D1B98 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4C3C 001D1B9C 38 A0 00 00 */ li r5, 0 /* 801D4C40 001D1BA0 48 14 0C 2D */ bl __nw__FUlPCcPCc /* 801D4C44 001D1BA4 28 03 00 00 */ cmplwi r3, 0 /* 801D4C48 001D1BA8 41 82 00 10 */ beq lbl_801D4C58 /* 801D4C4C 001D1BAC 93 C3 00 00 */ stw r30, 0(r3) /* 801D4C50 001D1BB0 38 00 00 01 */ li r0, 1 /* 801D4C54 001D1BB4 90 03 00 04 */ stw r0, 4(r3) lbl_801D4C58: /* 801D4C58 001D1BB8 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4C5C 001D1BBC 90 7F 00 98 */ stw r3, 0x98(r31) /* 801D4C60 001D1BC0 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4C64 001D1BC4 38 60 00 48 */ li r3, 0x48 /* 801D4C68 001D1BC8 38 A0 00 00 */ li r5, 0 /* 801D4C6C 001D1BCC 48 14 0C 01 */ bl __nw__FUlPCcPCc /* 801D4C70 001D1BD0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D4C74 001D1BD4 41 82 00 0C */ beq lbl_801D4C80 /* 801D4C78 001D1BD8 48 03 6A E1 */ bl __ct__18CWorldTransManagerFv /* 801D4C7C 001D1BDC 7C 7E 1B 78 */ mr r30, r3 lbl_801D4C80: /* 801D4C80 001D1BE0 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4C84 001D1BE4 38 60 00 08 */ li r3, 8 /* 801D4C88 001D1BE8 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4C8C 001D1BEC 38 A0 00 00 */ li r5, 0 /* 801D4C90 001D1BF0 48 14 0B DD */ bl __nw__FUlPCcPCc /* 801D4C94 001D1BF4 28 03 00 00 */ cmplwi r3, 0 /* 801D4C98 001D1BF8 41 82 00 10 */ beq lbl_801D4CA8 /* 801D4C9C 001D1BFC 93 C3 00 00 */ stw r30, 0(r3) /* 801D4CA0 001D1C00 38 00 00 01 */ li r0, 1 /* 801D4CA4 001D1C04 90 03 00 04 */ stw r0, 4(r3) lbl_801D4CA8: /* 801D4CA8 001D1C08 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801D4CAC 001D1C0C 38 7F 00 A8 */ addi r3, r31, 0xa8 /* 801D4CB0 001D1C10 C8 02 AC 38 */ lfd f0, lbl_805AC958@sda21(r2) /* 801D4CB4 001D1C14 D8 1F 00 A0 */ stfd f0, 0xa0(r31) /* 801D4CB8 001D1C18 48 00 12 51 */ bl __ct__14CSystemOptionsFv /* 801D4CBC 001D1C1C 38 7F 01 7C */ addi r3, r31, 0x17c /* 801D4CC0 001D1C20 48 03 AB 11 */ bl __ct__12CGameOptionsFv /* 801D4CC4 001D1C24 38 7F 01 F8 */ addi r3, r31, 0x1f8 /* 801D4CC8 001D1C28 48 09 31 69 */ bl __ct__12CHintOptionsFv /* 801D4CCC 001D1C2C 38 80 00 00 */ li r4, 0 /* 801D4CD0 001D1C30 38 60 00 01 */ li r3, 1 /* 801D4CD4 001D1C34 90 9F 02 0C */ stw r4, 0x20c(r31) /* 801D4CD8 001D1C38 90 9F 02 14 */ stw r4, 0x214(r31) /* 801D4CDC 001D1C3C 90 9F 02 10 */ stw r4, 0x210(r31) /* 801D4CE0 001D1C40 90 9F 02 1C */ stw r4, 0x21c(r31) /* 801D4CE4 001D1C44 90 9F 02 20 */ stw r4, 0x220(r31) /* 801D4CE8 001D1C48 90 9F 02 24 */ stw r4, 0x224(r31) /* 801D4CEC 001D1C4C 88 1F 02 28 */ lbz r0, 0x228(r31) /* 801D4CF0 001D1C50 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D4CF4 001D1C54 98 1F 02 28 */ stb r0, 0x228(r31) /* 801D4CF8 001D1C58 88 1F 02 28 */ lbz r0, 0x228(r31) /* 801D4CFC 001D1C5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D4D00 001D1C60 98 1F 02 28 */ stb r0, 0x228(r31) /* 801D4D04 001D1C64 80 0D A0 84 */ lwz r0, gpMemoryCard@sda21(r13) /* 801D4D08 001D1C68 28 00 00 00 */ cmplwi r0, 0 /* 801D4D0C 001D1C6C 41 82 00 0C */ beq lbl_801D4D18 /* 801D4D10 001D1C70 7F E3 FB 78 */ mr r3, r31 /* 801D4D14 001D1C74 4B FF F8 05 */ bl InitializeMemoryStates__10CGameStateFv lbl_801D4D18: /* 801D4D18 001D1C78 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D4D1C 001D1C7C 7F E3 FB 78 */ mr r3, r31 /* 801D4D20 001D1C80 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D4D24 001D1C84 83 C1 00 08 */ lwz r30, 8(r1) /* 801D4D28 001D1C88 7C 08 03 A6 */ mtlr r0 /* 801D4D2C 001D1C8C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D4D30 001D1C90 4E 80 00 20 */ blr .global GetLayerState__11CWorldStateFv GetLayerState__11CWorldStateFv: /* 801D4D34 001D1C94 38 63 00 14 */ addi r3, r3, 0x14 /* 801D4D38 001D1C98 4E 80 00 20 */ blr .global SetDesiredAreaAssetId__11CWorldStateFUi SetDesiredAreaAssetId__11CWorldStateFUi: /* 801D4D3C 001D1C9C 90 83 00 10 */ stw r4, 0x10(r3) /* 801D4D40 001D1CA0 4E 80 00 20 */ blr .global GetDesiredAreaAssetId__11CWorldStateCFv GetDesiredAreaAssetId__11CWorldStateCFv: /* 801D4D44 001D1CA4 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D4D48 001D1CA8 4E 80 00 20 */ blr .global SetAreaId__11CWorldStateF7TAreaId SetAreaId__11CWorldStateF7TAreaId: /* 801D4D4C 001D1CAC 80 04 00 00 */ lwz r0, 0(r4) /* 801D4D50 001D1CB0 90 03 00 04 */ stw r0, 4(r3) /* 801D4D54 001D1CB4 4E 80 00 20 */ blr .global GetCurrentArea__11CWorldStateCFv GetCurrentArea__11CWorldStateCFv: /* 801D4D58 001D1CB8 80 04 00 04 */ lwz r0, 4(r4) /* 801D4D5C 001D1CBC 90 03 00 00 */ stw r0, 0(r3) /* 801D4D60 001D1CC0 4E 80 00 20 */ blr .global GetMapWorldInfo__11CWorldStateCFv GetMapWorldInfo__11CWorldStateCFv: /* 801D4D64 001D1CC4 80 04 00 0C */ lwz r0, 0xc(r4) /* 801D4D68 001D1CC8 90 03 00 00 */ stw r0, 0(r3) /* 801D4D6C 001D1CCC 80 83 00 00 */ lwz r4, 0(r3) /* 801D4D70 001D1CD0 80 64 00 04 */ lwz r3, 4(r4) /* 801D4D74 001D1CD4 38 03 00 01 */ addi r0, r3, 1 /* 801D4D78 001D1CD8 90 04 00 04 */ stw r0, 4(r4) /* 801D4D7C 001D1CDC 4E 80 00 20 */ blr .global MapWorldInfo__11CWorldStateFv MapWorldInfo__11CWorldStateFv: /* 801D4D80 001D1CE0 38 63 00 0C */ addi r3, r3, 0xc /* 801D4D84 001D1CE4 4E 80 00 20 */ blr .global Mailbox__11CWorldStateFv Mailbox__11CWorldStateFv: /* 801D4D88 001D1CE8 38 63 00 08 */ addi r3, r3, 8 /* 801D4D8C 001D1CEC 4E 80 00 20 */ blr .global GetWorldAssetId__11CWorldStateCFv GetWorldAssetId__11CWorldStateCFv: /* 801D4D90 001D1CF0 80 63 00 00 */ lwz r3, 0(r3) /* 801D4D94 001D1CF4 4E 80 00 20 */ blr .global PutTo__11CWorldStateFR16CMemoryStreamOut PutTo__11CWorldStateFR16CMemoryStreamOut: /* 801D4D98 001D1CF8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D4D9C 001D1CFC 7C 08 02 A6 */ mflr r0 /* 801D4DA0 001D1D00 90 01 00 24 */ stw r0, 0x24(r1) /* 801D4DA4 001D1D04 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D4DA8 001D1D08 7C BF 2B 78 */ mr r31, r5 /* 801D4DAC 001D1D0C 38 A0 00 20 */ li r5, 0x20 /* 801D4DB0 001D1D10 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D4DB4 001D1D14 7C 9E 23 78 */ mr r30, r4 /* 801D4DB8 001D1D18 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D4DBC 001D1D1C 7C 7D 1B 78 */ mr r29, r3 /* 801D4DC0 001D1D20 80 83 00 04 */ lwz r4, 4(r3) /* 801D4DC4 001D1D24 7F C3 F3 78 */ mr r3, r30 /* 801D4DC8 001D1D28 48 16 A5 F5 */ bl WriteBits__13COutputStreamFii /* 801D4DCC 001D1D2C 80 9D 00 10 */ lwz r4, 0x10(r29) /* 801D4DD0 001D1D30 7F C3 F3 78 */ mr r3, r30 /* 801D4DD4 001D1D34 38 A0 00 20 */ li r5, 0x20 /* 801D4DD8 001D1D38 48 16 A5 E5 */ bl WriteBits__13COutputStreamFii /* 801D4DDC 001D1D3C 80 7D 00 08 */ lwz r3, 8(r29) /* 801D4DE0 001D1D40 7F C4 F3 78 */ mr r4, r30 /* 801D4DE4 001D1D44 7F E5 FB 78 */ mr r5, r31 /* 801D4DE8 001D1D48 80 63 00 00 */ lwz r3, 0(r3) /* 801D4DEC 001D1D4C 4B F0 CE D1 */ bl PutTo__14CScriptMailboxCFR13COutputStream /* 801D4DF0 001D1D50 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801D4DF4 001D1D54 7F C4 F3 78 */ mr r4, r30 /* 801D4DF8 001D1D58 80 DD 00 00 */ lwz r6, 0(r29) /* 801D4DFC 001D1D5C 7F E5 FB 78 */ mr r5, r31 /* 801D4E00 001D1D60 80 63 00 00 */ lwz r3, 0(r3) /* 801D4E04 001D1D64 4B F9 3D 99 */ bl PutTo__13CMapWorldInfoCFR13COutputStreamRC10CSaveWorldi /* 801D4E08 001D1D68 80 7D 00 14 */ lwz r3, 0x14(r29) /* 801D4E0C 001D1D6C 7F C4 F3 78 */ mr r4, r30 /* 801D4E10 001D1D70 7F E5 FB 78 */ mr r5, r31 /* 801D4E14 001D1D74 80 63 00 00 */ lwz r3, 0(r3) /* 801D4E18 001D1D78 48 05 F5 19 */ bl PutTo__16CWorldLayerStateFR16CMemoryStreamOut /* 801D4E1C 001D1D7C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D4E20 001D1D80 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D4E24 001D1D84 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D4E28 001D1D88 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D4E2C 001D1D8C 7C 08 03 A6 */ mtlr r0 /* 801D4E30 001D1D90 38 21 00 20 */ addi r1, r1, 0x20 /* 801D4E34 001D1D94 4E 80 00 20 */ blr .global __ct__11CWorldStateFR12CInputStreamPCvR10CSaveWorld __ct__11CWorldStateFR12CInputStreamPCvR10CSaveWorld: /* 801D4E38 001D1D98 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D4E3C 001D1D9C 7C 08 02 A6 */ mflr r0 /* 801D4E40 001D1DA0 90 01 00 24 */ stw r0, 0x24(r1) /* 801D4E44 001D1DA4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D4E48 001D1DA8 7C DF 33 78 */ mr r31, r6 /* 801D4E4C 001D1DAC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D4E50 001D1DB0 7C 9E 23 78 */ mr r30, r4 /* 801D4E54 001D1DB4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D4E58 001D1DB8 7C 7D 1B 78 */ mr r29, r3 /* 801D4E5C 001D1DBC 3C 60 80 3D */ lis r3, lbl_803D1B88@ha /* 801D4E60 001D1DC0 93 81 00 10 */ stw r28, 0x10(r1) /* 801D4E64 001D1DC4 38 03 1B 88 */ addi r0, r3, lbl_803D1B88@l /* 801D4E68 001D1DC8 7C 04 03 78 */ mr r4, r0 /* 801D4E6C 001D1DCC 38 60 00 08 */ li r3, 8 /* 801D4E70 001D1DD0 90 BD 00 00 */ stw r5, 0(r29) /* 801D4E74 001D1DD4 38 A0 FF FF */ li r5, -1 /* 801D4E78 001D1DD8 90 BD 00 04 */ stw r5, 4(r29) /* 801D4E7C 001D1DDC 38 A0 00 00 */ li r5, 0 /* 801D4E80 001D1DE0 48 14 09 ED */ bl __nw__FUlPCcPCc /* 801D4E84 001D1DE4 28 03 00 00 */ cmplwi r3, 0 /* 801D4E88 001D1DE8 41 82 00 14 */ beq lbl_801D4E9C /* 801D4E8C 001D1DEC 38 80 00 00 */ li r4, 0 /* 801D4E90 001D1DF0 38 00 00 01 */ li r0, 1 /* 801D4E94 001D1DF4 90 83 00 00 */ stw r4, 0(r3) /* 801D4E98 001D1DF8 90 03 00 04 */ stw r0, 4(r3) lbl_801D4E9C: /* 801D4E9C 001D1DFC 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4EA0 001D1E00 90 7D 00 08 */ stw r3, 8(r29) /* 801D4EA4 001D1E04 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4EA8 001D1E08 38 60 00 08 */ li r3, 8 /* 801D4EAC 001D1E0C 38 A0 00 00 */ li r5, 0 /* 801D4EB0 001D1E10 48 14 09 BD */ bl __nw__FUlPCcPCc /* 801D4EB4 001D1E14 28 03 00 00 */ cmplwi r3, 0 /* 801D4EB8 001D1E18 41 82 00 14 */ beq lbl_801D4ECC /* 801D4EBC 001D1E1C 38 80 00 00 */ li r4, 0 /* 801D4EC0 001D1E20 38 00 00 01 */ li r0, 1 /* 801D4EC4 001D1E24 90 83 00 00 */ stw r4, 0(r3) /* 801D4EC8 001D1E28 90 03 00 04 */ stw r0, 4(r3) lbl_801D4ECC: /* 801D4ECC 001D1E2C 90 7D 00 0C */ stw r3, 0xc(r29) /* 801D4ED0 001D1E30 38 00 FF FF */ li r0, -1 /* 801D4ED4 001D1E34 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4ED8 001D1E38 38 60 00 08 */ li r3, 8 /* 801D4EDC 001D1E3C 90 1D 00 10 */ stw r0, 0x10(r29) /* 801D4EE0 001D1E40 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4EE4 001D1E44 38 A0 00 00 */ li r5, 0 /* 801D4EE8 001D1E48 48 14 09 85 */ bl __nw__FUlPCcPCc /* 801D4EEC 001D1E4C 28 03 00 00 */ cmplwi r3, 0 /* 801D4EF0 001D1E50 41 82 00 14 */ beq lbl_801D4F04 /* 801D4EF4 001D1E54 38 80 00 00 */ li r4, 0 /* 801D4EF8 001D1E58 38 00 00 01 */ li r0, 1 /* 801D4EFC 001D1E5C 90 83 00 00 */ stw r4, 0(r3) /* 801D4F00 001D1E60 90 03 00 04 */ stw r0, 4(r3) lbl_801D4F04: /* 801D4F04 001D1E64 90 7D 00 14 */ stw r3, 0x14(r29) /* 801D4F08 001D1E68 7F C3 F3 78 */ mr r3, r30 /* 801D4F0C 001D1E6C 38 80 00 20 */ li r4, 0x20 /* 801D4F10 001D1E70 48 16 9E 29 */ bl ReadBits__12CInputStreamFi /* 801D4F14 001D1E74 90 7D 00 04 */ stw r3, 4(r29) /* 801D4F18 001D1E78 7F C3 F3 78 */ mr r3, r30 /* 801D4F1C 001D1E7C 38 80 00 20 */ li r4, 0x20 /* 801D4F20 001D1E80 48 16 9E 19 */ bl ReadBits__12CInputStreamFi /* 801D4F24 001D1E84 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4F28 001D1E88 90 7D 00 10 */ stw r3, 0x10(r29) /* 801D4F2C 001D1E8C 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4F30 001D1E90 38 60 08 04 */ li r3, 0x804 /* 801D4F34 001D1E94 38 A0 00 00 */ li r5, 0 /* 801D4F38 001D1E98 48 14 09 35 */ bl __nw__FUlPCcPCc /* 801D4F3C 001D1E9C 7C 7C 1B 79 */ or. r28, r3, r3 /* 801D4F40 001D1EA0 41 82 00 14 */ beq lbl_801D4F54 /* 801D4F44 001D1EA4 7F C4 F3 78 */ mr r4, r30 /* 801D4F48 001D1EA8 7F E5 FB 78 */ mr r5, r31 /* 801D4F4C 001D1EAC 4B F0 CF 6D */ bl __ct__14CScriptMailboxFR12CInputStreamRC10CSaveWorld /* 801D4F50 001D1EB0 7C 7C 1B 78 */ mr r28, r3 lbl_801D4F54: /* 801D4F54 001D1EB4 38 7D 00 08 */ addi r3, r29, 8 /* 801D4F58 001D1EB8 4B E3 36 E9 */ bl __dt__11CWorldStateFv /* 801D4F5C 001D1EBC 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4F60 001D1EC0 38 60 00 08 */ li r3, 8 /* 801D4F64 001D1EC4 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4F68 001D1EC8 38 A0 00 00 */ li r5, 0 /* 801D4F6C 001D1ECC 48 14 09 01 */ bl __nw__FUlPCcPCc /* 801D4F70 001D1ED0 28 03 00 00 */ cmplwi r3, 0 /* 801D4F74 001D1ED4 41 82 00 10 */ beq lbl_801D4F84 /* 801D4F78 001D1ED8 93 83 00 00 */ stw r28, 0(r3) /* 801D4F7C 001D1EDC 38 00 00 01 */ li r0, 1 /* 801D4F80 001D1EE0 90 03 00 04 */ stw r0, 4(r3) lbl_801D4F84: /* 801D4F84 001D1EE4 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4F88 001D1EE8 90 7D 00 08 */ stw r3, 8(r29) /* 801D4F8C 001D1EEC 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4F90 001D1EF0 38 60 00 3C */ li r3, 0x3c /* 801D4F94 001D1EF4 38 A0 00 00 */ li r5, 0 /* 801D4F98 001D1EF8 48 14 08 D5 */ bl __nw__FUlPCcPCc /* 801D4F9C 001D1EFC 7C 7C 1B 79 */ or. r28, r3, r3 /* 801D4FA0 001D1F00 41 82 00 18 */ beq lbl_801D4FB8 /* 801D4FA4 001D1F04 80 DD 00 00 */ lwz r6, 0(r29) /* 801D4FA8 001D1F08 7F C4 F3 78 */ mr r4, r30 /* 801D4FAC 001D1F0C 7F E5 FB 78 */ mr r5, r31 /* 801D4FB0 001D1F10 4B F9 3F 95 */ bl __ct__13CMapWorldInfoFR16CBitStreamReaderRC10CSaveWorldUi /* 801D4FB4 001D1F14 7C 7C 1B 78 */ mr r28, r3 lbl_801D4FB8: /* 801D4FB8 001D1F18 38 7D 00 0C */ addi r3, r29, 0xc /* 801D4FBC 001D1F1C 4B E3 3C 81 */ bl sub_80008c3c /* 801D4FC0 001D1F20 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4FC4 001D1F24 38 60 00 08 */ li r3, 8 /* 801D4FC8 001D1F28 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4FCC 001D1F2C 38 A0 00 00 */ li r5, 0 /* 801D4FD0 001D1F30 48 14 08 9D */ bl __nw__FUlPCcPCc /* 801D4FD4 001D1F34 28 03 00 00 */ cmplwi r3, 0 /* 801D4FD8 001D1F38 41 82 00 10 */ beq lbl_801D4FE8 /* 801D4FDC 001D1F3C 93 83 00 00 */ stw r28, 0(r3) /* 801D4FE0 001D1F40 38 00 00 01 */ li r0, 1 /* 801D4FE4 001D1F44 90 03 00 04 */ stw r0, 4(r3) lbl_801D4FE8: /* 801D4FE8 001D1F48 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D4FEC 001D1F4C 90 7D 00 0C */ stw r3, 0xc(r29) /* 801D4FF0 001D1F50 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D4FF4 001D1F54 38 60 00 24 */ li r3, 0x24 /* 801D4FF8 001D1F58 38 A0 00 00 */ li r5, 0 /* 801D4FFC 001D1F5C 48 14 08 71 */ bl __nw__FUlPCcPCc /* 801D5000 001D1F60 7C 7C 1B 79 */ or. r28, r3, r3 /* 801D5004 001D1F64 41 82 00 14 */ beq lbl_801D5018 /* 801D5008 001D1F68 7F C4 F3 78 */ mr r4, r30 /* 801D500C 001D1F6C 7F E5 FB 78 */ mr r5, r31 /* 801D5010 001D1F70 48 05 F4 11 */ bl __ct__16CWorldLayerStateFR16CBitStreamReaderRC10CSaveWorld /* 801D5014 001D1F74 7C 7C 1B 78 */ mr r28, r3 lbl_801D5018: /* 801D5018 001D1F78 38 7D 00 14 */ addi r3, r29, 0x14 /* 801D501C 001D1F7C 4B E3 3D B1 */ bl sub_80008dcc /* 801D5020 001D1F80 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D5024 001D1F84 38 60 00 08 */ li r3, 8 /* 801D5028 001D1F88 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D502C 001D1F8C 38 A0 00 00 */ li r5, 0 /* 801D5030 001D1F90 48 14 08 3D */ bl __nw__FUlPCcPCc /* 801D5034 001D1F94 28 03 00 00 */ cmplwi r3, 0 /* 801D5038 001D1F98 41 82 00 10 */ beq lbl_801D5048 /* 801D503C 001D1F9C 93 83 00 00 */ stw r28, 0(r3) /* 801D5040 001D1FA0 38 00 00 01 */ li r0, 1 /* 801D5044 001D1FA4 90 03 00 04 */ stw r0, 4(r3) lbl_801D5048: /* 801D5048 001D1FA8 90 7D 00 14 */ stw r3, 0x14(r29) /* 801D504C 001D1FAC 7F A3 EB 78 */ mr r3, r29 /* 801D5050 001D1FB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D5054 001D1FB4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D5058 001D1FB8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D505C 001D1FBC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D5060 001D1FC0 83 81 00 10 */ lwz r28, 0x10(r1) /* 801D5064 001D1FC4 7C 08 03 A6 */ mtlr r0 /* 801D5068 001D1FC8 38 21 00 20 */ addi r1, r1, 0x20 /* 801D506C 001D1FCC 4E 80 00 20 */ blr .global __ct__11CWorldStateFUi __ct__11CWorldStateFUi: /* 801D5070 001D1FD0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D5074 001D1FD4 7C 08 02 A6 */ mflr r0 /* 801D5078 001D1FD8 38 A0 00 00 */ li r5, 0 /* 801D507C 001D1FDC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D5080 001D1FE0 38 00 00 00 */ li r0, 0 /* 801D5084 001D1FE4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D5088 001D1FE8 7C 7F 1B 78 */ mr r31, r3 /* 801D508C 001D1FEC 3C 60 80 3D */ lis r3, lbl_803D1B88@ha /* 801D5090 001D1FF0 93 C1 00 08 */ stw r30, 8(r1) /* 801D5094 001D1FF4 90 9F 00 00 */ stw r4, 0(r31) /* 801D5098 001D1FF8 38 83 1B 88 */ addi r4, r3, lbl_803D1B88@l /* 801D509C 001D1FFC 38 60 08 04 */ li r3, 0x804 /* 801D50A0 001D2000 90 1F 00 04 */ stw r0, 4(r31) /* 801D50A4 001D2004 48 14 07 C9 */ bl __nw__FUlPCcPCc /* 801D50A8 001D2008 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D50AC 001D200C 41 82 00 0C */ beq lbl_801D50B8 /* 801D50B0 001D2010 4B F0 CF 7D */ bl __ct__14CScriptMailboxFv /* 801D50B4 001D2014 7C 7E 1B 78 */ mr r30, r3 lbl_801D50B8: /* 801D50B8 001D2018 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D50BC 001D201C 38 60 00 08 */ li r3, 8 /* 801D50C0 001D2020 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D50C4 001D2024 38 A0 00 00 */ li r5, 0 /* 801D50C8 001D2028 48 14 07 A5 */ bl __nw__FUlPCcPCc /* 801D50CC 001D202C 28 03 00 00 */ cmplwi r3, 0 /* 801D50D0 001D2030 41 82 00 10 */ beq lbl_801D50E0 /* 801D50D4 001D2034 93 C3 00 00 */ stw r30, 0(r3) /* 801D50D8 001D2038 38 00 00 01 */ li r0, 1 /* 801D50DC 001D203C 90 03 00 04 */ stw r0, 4(r3) lbl_801D50E0: /* 801D50E0 001D2040 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D50E4 001D2044 90 7F 00 08 */ stw r3, 8(r31) /* 801D50E8 001D2048 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D50EC 001D204C 38 60 00 3C */ li r3, 0x3c /* 801D50F0 001D2050 38 A0 00 00 */ li r5, 0 /* 801D50F4 001D2054 48 14 07 79 */ bl __nw__FUlPCcPCc /* 801D50F8 001D2058 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D50FC 001D205C 41 82 00 0C */ beq lbl_801D5108 /* 801D5100 001D2060 4B F9 42 85 */ bl __ct__13CMapWorldInfoFv /* 801D5104 001D2064 7C 7E 1B 78 */ mr r30, r3 lbl_801D5108: /* 801D5108 001D2068 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D510C 001D206C 38 60 00 08 */ li r3, 8 /* 801D5110 001D2070 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D5114 001D2074 38 A0 00 00 */ li r5, 0 /* 801D5118 001D2078 48 14 07 55 */ bl __nw__FUlPCcPCc /* 801D511C 001D207C 28 03 00 00 */ cmplwi r3, 0 /* 801D5120 001D2080 41 82 00 10 */ beq lbl_801D5130 /* 801D5124 001D2084 93 C3 00 00 */ stw r30, 0(r3) /* 801D5128 001D2088 38 00 00 01 */ li r0, 1 /* 801D512C 001D208C 90 03 00 04 */ stw r0, 4(r3) lbl_801D5130: /* 801D5130 001D2090 90 7F 00 0C */ stw r3, 0xc(r31) /* 801D5134 001D2094 38 00 FF FF */ li r0, -1 /* 801D5138 001D2098 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D513C 001D209C 38 60 00 24 */ li r3, 0x24 /* 801D5140 001D20A0 90 1F 00 10 */ stw r0, 0x10(r31) /* 801D5144 001D20A4 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D5148 001D20A8 38 A0 00 00 */ li r5, 0 /* 801D514C 001D20AC 48 14 07 21 */ bl __nw__FUlPCcPCc /* 801D5150 001D20B0 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D5154 001D20B4 41 82 00 0C */ beq lbl_801D5160 /* 801D5158 001D20B8 48 05 F4 7D */ bl __ct__13CGLXMemoryInfoFi /* 801D515C 001D20BC 7C 7E 1B 78 */ mr r30, r3 lbl_801D5160: /* 801D5160 001D20C0 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D5164 001D20C4 38 60 00 08 */ li r3, 8 /* 801D5168 001D20C8 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D516C 001D20CC 38 A0 00 00 */ li r5, 0 /* 801D5170 001D20D0 48 14 06 FD */ bl __nw__FUlPCcPCc /* 801D5174 001D20D4 28 03 00 00 */ cmplwi r3, 0 /* 801D5178 001D20D8 41 82 00 10 */ beq lbl_801D5188 /* 801D517C 001D20DC 93 C3 00 00 */ stw r30, 0(r3) /* 801D5180 001D20E0 38 00 00 01 */ li r0, 1 /* 801D5184 001D20E4 90 03 00 04 */ stw r0, 4(r3) lbl_801D5188: /* 801D5188 001D20E8 90 7F 00 14 */ stw r3, 0x14(r31) /* 801D518C 001D20EC 7F E3 FB 78 */ mr r3, r31 /* 801D5190 001D20F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D5194 001D20F4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D5198 001D20F8 83 C1 00 08 */ lwz r30, 8(r1) /* 801D519C 001D20FC 7C 08 03 A6 */ mtlr r0 /* 801D51A0 001D2100 38 21 00 10 */ addi r1, r1, 0x10 /* 801D51A4 001D2104 4E 80 00 20 */ blr .global SetAutoMapperKeyState__14CSystemOptionsFi SetAutoMapperKeyState__14CSystemOptionsFi: /* 801D51A8 001D2108 90 83 00 BC */ stw r4, 0xbc(r3) /* 801D51AC 001D210C 4E 80 00 20 */ blr .global SetAllItemsCollected__14CSystemOptionsFb SetAllItemsCollected__14CSystemOptionsFb: /* 801D51B0 001D2110 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D51B4 001D2114 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801D51B8 001D2118 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D51BC 001D211C 4E 80 00 20 */ blr .global SetHasFusion__14CSystemOptionsFb SetHasFusion__14CSystemOptionsFb: /* 801D51C0 001D2120 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D51C4 001D2124 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801D51C8 001D2128 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D51CC 001D212C 4E 80 00 20 */ blr .global sub_801d51d0 sub_801d51d0: /* 801D51D0 001D2130 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D51D4 001D2134 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801D51D8 001D2138 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D51DC 001D213C 4E 80 00 20 */ blr .global SetHardModeBeat__14CSystemOptionsFb SetHardModeBeat__14CSystemOptionsFb: /* 801D51E0 001D2140 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D51E4 001D2144 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801D51E8 001D2148 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D51EC 001D214C 4E 80 00 20 */ blr .global SetHasHardMode__14CSystemOptionsFb SetHasHardMode__14CSystemOptionsFb: /* 801D51F0 001D2150 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D51F4 001D2154 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801D51F8 001D2158 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D51FC 001D215C 4E 80 00 20 */ blr .global SetLogScanCount__14CSystemOptionsFi SetLogScanCount__14CSystemOptionsFi: /* 801D5200 001D2160 90 83 00 CC */ stw r4, 0xcc(r3) /* 801D5204 001D2164 4E 80 00 20 */ blr .global GetLogScanCount__14CSystemOptionsFv GetLogScanCount__14CSystemOptionsFv: /* 801D5208 001D2168 80 63 00 CC */ lwz r3, 0xcc(r3) /* 801D520C 001D216C 4E 80 00 20 */ blr .global sub_801d5210 sub_801d5210: /* 801D5210 001D2170 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D5214 001D2174 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D5218 001D2178 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D521C 001D217C 4E 80 00 20 */ blr .global sub_801d5220 sub_801d5220: /* 801D5220 001D2180 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D5224 001D2184 80 A3 00 C8 */ lwz r5, 0xc8(r3) /* 801D5228 001D2188 38 81 00 08 */ addi r4, r1, 8 /* 801D522C 001D218C 80 0D 91 A8 */ lwz r0, lbl_805A7D68@sda21(r13) /* 801D5230 001D2190 38 A5 00 01 */ addi r5, r5, 1 /* 801D5234 001D2194 7C 00 28 00 */ cmpw r0, r5 /* 801D5238 001D2198 90 A1 00 08 */ stw r5, 8(r1) /* 801D523C 001D219C 40 80 00 08 */ bge lbl_801D5244 /* 801D5240 001D21A0 38 8D 91 A8 */ addi r4, r13, lbl_805A7D68@sda21 lbl_801D5244: /* 801D5244 001D21A4 80 04 00 00 */ lwz r0, 0(r4) /* 801D5248 001D21A8 90 03 00 C8 */ stw r0, 0xc8(r3) /* 801D524C 001D21AC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D5250 001D21B0 4E 80 00 20 */ blr .global sub_801d5254 sub_801d5254: /* 801D5254 001D21B4 80 03 00 C8 */ lwz r0, 0xc8(r3) /* 801D5258 001D21B8 38 60 00 01 */ li r3, 1 /* 801D525C 001D21BC 7C 60 02 78 */ xor r0, r3, r0 /* 801D5260 001D21C0 7C 00 00 34 */ cntlzw r0, r0 /* 801D5264 001D21C4 7C 60 00 30 */ slw r0, r3, r0 /* 801D5268 001D21C8 54 03 0F FE */ srwi r3, r0, 0x1f /* 801D526C 001D21CC 4E 80 00 20 */ blr .global IncrementFrozenBallCount__14CSystemOptionsFv IncrementFrozenBallCount__14CSystemOptionsFv: /* 801D5270 001D21D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D5274 001D21D4 80 A3 00 C4 */ lwz r5, 0xc4(r3) /* 801D5278 001D21D8 38 81 00 08 */ addi r4, r1, 8 /* 801D527C 001D21DC 80 0D 91 A4 */ lwz r0, lbl_805A7D64@sda21(r13) /* 801D5280 001D21E0 38 A5 00 01 */ addi r5, r5, 1 /* 801D5284 001D21E4 7C 00 28 00 */ cmpw r0, r5 /* 801D5288 001D21E8 90 A1 00 08 */ stw r5, 8(r1) /* 801D528C 001D21EC 40 80 00 08 */ bge lbl_801D5294 /* 801D5290 001D21F0 38 8D 91 A4 */ addi r4, r13, lbl_805A7D64@sda21 lbl_801D5294: /* 801D5294 001D21F4 80 04 00 00 */ lwz r0, 0(r4) /* 801D5298 001D21F8 90 03 00 C4 */ stw r0, 0xc4(r3) /* 801D529C 001D21FC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D52A0 001D2200 4E 80 00 20 */ blr .global GetShowFrozenBallMessage__14CSystemOptionsCFv GetShowFrozenBallMessage__14CSystemOptionsCFv: /* 801D52A4 001D2204 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 801D52A8 001D2208 38 60 00 03 */ li r3, 3 /* 801D52AC 001D220C 7C 60 02 78 */ xor r0, r3, r0 /* 801D52B0 001D2210 7C 00 00 34 */ cntlzw r0, r0 /* 801D52B4 001D2214 7C 60 00 30 */ slw r0, r3, r0 /* 801D52B8 001D2218 54 03 0F FE */ srwi r3, r0, 0x1f /* 801D52BC 001D221C 4E 80 00 20 */ blr .global IncrementFrozenFpsCount__14CSystemOptionsFv IncrementFrozenFpsCount__14CSystemOptionsFv: /* 801D52C0 001D2220 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D52C4 001D2224 80 A3 00 C0 */ lwz r5, 0xc0(r3) /* 801D52C8 001D2228 38 81 00 08 */ addi r4, r1, 8 /* 801D52CC 001D222C 80 0D 91 A0 */ lwz r0, lbl_805A7D60@sda21(r13) /* 801D52D0 001D2230 38 A5 00 01 */ addi r5, r5, 1 /* 801D52D4 001D2234 7C 00 28 00 */ cmpw r0, r5 /* 801D52D8 001D2238 90 A1 00 08 */ stw r5, 8(r1) /* 801D52DC 001D223C 40 80 00 08 */ bge lbl_801D52E4 /* 801D52E0 001D2240 38 8D 91 A0 */ addi r4, r13, lbl_805A7D60@sda21 lbl_801D52E4: /* 801D52E4 001D2244 80 04 00 00 */ lwz r0, 0(r4) /* 801D52E8 001D2248 90 03 00 C0 */ stw r0, 0xc0(r3) /* 801D52EC 001D224C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D52F0 001D2250 4E 80 00 20 */ blr .global GetShowFrozenFpsMessage__14CSystemOptionsCFv GetShowFrozenFpsMessage__14CSystemOptionsCFv: /* 801D52F4 001D2254 80 03 00 C0 */ lwz r0, 0xc0(r3) /* 801D52F8 001D2258 38 60 00 03 */ li r3, 3 /* 801D52FC 001D225C 7C 60 02 78 */ xor r0, r3, r0 /* 801D5300 001D2260 7C 00 00 34 */ cntlzw r0, r0 /* 801D5304 001D2264 7C 60 00 30 */ slw r0, r3, r0 /* 801D5308 001D2268 54 03 0F FE */ srwi r3, r0, 0x1f /* 801D530C 001D226C 4E 80 00 20 */ blr .global SetCinematicState__14CSystemOptionsFUi9TEditorIdb SetCinematicState__14CSystemOptionsFUi9TEditorIdb: /* 801D5310 001D2270 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D5314 001D2274 7C 08 02 A6 */ mflr r0 /* 801D5318 001D2278 90 01 00 24 */ stw r0, 0x24(r1) /* 801D531C 001D227C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D5320 001D2280 7C 9F 23 78 */ mr r31, r4 /* 801D5324 001D2284 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D5328 001D2288 7C 7E 1B 78 */ mr r30, r3 /* 801D532C 001D228C 80 63 00 B8 */ lwz r3, 0xb8(r3) /* 801D5330 001D2290 81 1E 00 B0 */ lwz r8, 0xb0(r30) /* 801D5334 001D2294 90 61 00 10 */ stw r3, 0x10(r1) /* 801D5338 001D2298 55 00 18 38 */ slwi r0, r8, 3 /* 801D533C 001D229C 7C E3 02 14 */ add r7, r3, r0 /* 801D5340 001D22A0 48 00 00 70 */ b lbl_801D53B0 lbl_801D5344: /* 801D5344 001D22A4 80 C1 00 10 */ lwz r6, 0x10(r1) /* 801D5348 001D22A8 38 80 00 00 */ li r4, 0 /* 801D534C 001D22AC 80 1F 00 00 */ lwz r0, 0(r31) /* 801D5350 001D22B0 80 66 00 00 */ lwz r3, 0(r6) /* 801D5354 001D22B4 7C 03 00 40 */ cmplw r3, r0 /* 801D5358 001D22B8 40 82 00 20 */ bne lbl_801D5378 /* 801D535C 001D22BC 80 66 00 04 */ lwz r3, 4(r6) /* 801D5360 001D22C0 80 1F 00 04 */ lwz r0, 4(r31) /* 801D5364 001D22C4 54 63 01 BE */ clrlwi r3, r3, 6 /* 801D5368 001D22C8 54 00 01 BE */ clrlwi r0, r0, 6 /* 801D536C 001D22CC 7C 03 00 40 */ cmplw r3, r0 /* 801D5370 001D22D0 40 82 00 08 */ bne lbl_801D5378 /* 801D5374 001D22D4 38 80 00 01 */ li r4, 1 lbl_801D5378: /* 801D5378 001D22D8 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801D537C 001D22DC 41 82 00 28 */ beq lbl_801D53A4 /* 801D5380 001D22E0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801D5384 001D22E4 40 82 00 A4 */ bne lbl_801D5428 /* 801D5388 001D22E8 80 01 00 10 */ lwz r0, 0x10(r1) /* 801D538C 001D22EC 38 61 00 0C */ addi r3, r1, 0xc /* 801D5390 001D22F0 38 9E 00 AC */ addi r4, r30, 0xac /* 801D5394 001D22F4 38 A1 00 08 */ addi r5, r1, 8 /* 801D5398 001D22F8 90 01 00 08 */ stw r0, 8(r1) /* 801D539C 001D22FC 48 00 00 A5 */ bl sub_801d5440 /* 801D53A0 001D2300 48 00 00 88 */ b lbl_801D5428 lbl_801D53A4: /* 801D53A4 001D2304 80 61 00 10 */ lwz r3, 0x10(r1) /* 801D53A8 001D2308 38 03 00 08 */ addi r0, r3, 8 /* 801D53AC 001D230C 90 01 00 10 */ stw r0, 0x10(r1) lbl_801D53B0: /* 801D53B0 001D2310 80 01 00 10 */ lwz r0, 0x10(r1) /* 801D53B4 001D2314 7C 00 38 40 */ cmplw r0, r7 /* 801D53B8 001D2318 40 82 FF 8C */ bne lbl_801D5344 /* 801D53BC 001D231C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801D53C0 001D2320 41 82 00 68 */ beq lbl_801D5428 /* 801D53C4 001D2324 38 7E 00 AC */ addi r3, r30, 0xac /* 801D53C8 001D2328 38 88 00 01 */ addi r4, r8, 1 /* 801D53CC 001D232C 4B E3 37 79 */ bl sub_80008b44 /* 801D53D0 001D2330 80 1E 00 B0 */ lwz r0, 0xb0(r30) /* 801D53D4 001D2334 80 BE 00 B4 */ lwz r5, 0xb4(r30) /* 801D53D8 001D2338 7C 00 28 00 */ cmpw r0, r5 /* 801D53DC 001D233C 41 80 00 1C */ blt lbl_801D53F8 /* 801D53E0 001D2340 2C 05 00 00 */ cmpwi r5, 0 /* 801D53E4 001D2344 38 7E 00 AC */ addi r3, r30, 0xac /* 801D53E8 001D2348 38 80 00 04 */ li r4, 4 /* 801D53EC 001D234C 41 82 00 08 */ beq lbl_801D53F4 /* 801D53F0 001D2350 54 A4 08 3C */ slwi r4, r5, 1 lbl_801D53F4: /* 801D53F4 001D2354 4B E3 37 51 */ bl sub_80008b44 lbl_801D53F8: /* 801D53F8 001D2358 80 1E 00 B0 */ lwz r0, 0xb0(r30) /* 801D53FC 001D235C 80 7E 00 B8 */ lwz r3, 0xb8(r30) /* 801D5400 001D2360 54 00 18 38 */ slwi r0, r0, 3 /* 801D5404 001D2364 7C 63 02 15 */ add. r3, r3, r0 /* 801D5408 001D2368 41 82 00 14 */ beq lbl_801D541C /* 801D540C 001D236C 80 1F 00 00 */ lwz r0, 0(r31) /* 801D5410 001D2370 90 03 00 00 */ stw r0, 0(r3) /* 801D5414 001D2374 80 1F 00 04 */ lwz r0, 4(r31) /* 801D5418 001D2378 90 03 00 04 */ stw r0, 4(r3) lbl_801D541C: /* 801D541C 001D237C 80 7E 00 B0 */ lwz r3, 0xb0(r30) /* 801D5420 001D2380 38 03 00 01 */ addi r0, r3, 1 /* 801D5424 001D2384 90 1E 00 B0 */ stw r0, 0xb0(r30) lbl_801D5428: /* 801D5428 001D2388 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D542C 001D238C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D5430 001D2390 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D5434 001D2394 7C 08 03 A6 */ mtlr r0 /* 801D5438 001D2398 38 21 00 20 */ addi r1, r1, 0x20 /* 801D543C 001D239C 4E 80 00 20 */ blr .global sub_801d5440 sub_801d5440: /* 801D5440 001D23A0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D5444 001D23A4 7C 08 02 A6 */ mflr r0 /* 801D5448 001D23A8 90 01 00 24 */ stw r0, 0x24(r1) /* 801D544C 001D23AC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D5450 001D23B0 7C 7F 1B 78 */ mr r31, r3 /* 801D5454 001D23B4 80 C5 00 00 */ lwz r6, 0(r5) /* 801D5458 001D23B8 80 05 00 00 */ lwz r0, 0(r5) /* 801D545C 001D23BC 38 A1 00 10 */ addi r5, r1, 0x10 /* 801D5460 001D23C0 38 E6 00 08 */ addi r7, r6, 8 /* 801D5464 001D23C4 38 C1 00 0C */ addi r6, r1, 0xc /* 801D5468 001D23C8 90 E1 00 08 */ stw r7, 8(r1) /* 801D546C 001D23CC 90 E1 00 0C */ stw r7, 0xc(r1) /* 801D5470 001D23D0 90 01 00 10 */ stw r0, 0x10(r1) /* 801D5474 001D23D4 48 00 00 19 */ bl sub_801d548c /* 801D5478 001D23D8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D547C 001D23DC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D5480 001D23E0 7C 08 03 A6 */ mtlr r0 /* 801D5484 001D23E4 38 21 00 20 */ addi r1, r1, 0x20 /* 801D5488 001D23E8 4E 80 00 20 */ blr .global sub_801d548c sub_801d548c: /* 801D548C 001D23EC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D5490 001D23F0 80 E5 00 00 */ lwz r7, 0(r5) /* 801D5494 001D23F4 80 06 00 00 */ lwz r0, 0(r6) /* 801D5498 001D23F8 90 E1 00 0C */ stw r7, 0xc(r1) /* 801D549C 001D23FC 90 01 00 08 */ stw r0, 8(r1) /* 801D54A0 001D2400 48 00 00 08 */ b lbl_801D54A8 lbl_801D54A4: /* 801D54A4 001D2404 38 E7 00 08 */ addi r7, r7, 8 lbl_801D54A8: /* 801D54A8 001D2408 7C 07 00 40 */ cmplw r7, r0 /* 801D54AC 001D240C 40 82 FF F8 */ bne lbl_801D54A4 /* 801D54B0 001D2410 81 04 00 0C */ lwz r8, 0xc(r4) /* 801D54B4 001D2414 80 05 00 00 */ lwz r0, 0(r5) /* 801D54B8 001D2418 80 E6 00 00 */ lwz r7, 0(r6) /* 801D54BC 001D241C 7C 08 00 50 */ subf r0, r8, r0 /* 801D54C0 001D2420 7C 00 1E 70 */ srawi r0, r0, 3 /* 801D54C4 001D2424 7C C0 01 94 */ addze r6, r0 /* 801D54C8 001D2428 54 C0 18 38 */ slwi r0, r6, 3 /* 801D54CC 001D242C 7C C9 33 78 */ mr r9, r6 /* 801D54D0 001D2430 7D 08 02 14 */ add r8, r8, r0 /* 801D54D4 001D2434 48 00 00 28 */ b lbl_801D54FC lbl_801D54D8: /* 801D54D8 001D2438 28 08 00 00 */ cmplwi r8, 0 /* 801D54DC 001D243C 41 82 00 14 */ beq lbl_801D54F0 /* 801D54E0 001D2440 80 07 00 00 */ lwz r0, 0(r7) /* 801D54E4 001D2444 90 08 00 00 */ stw r0, 0(r8) /* 801D54E8 001D2448 80 07 00 04 */ lwz r0, 4(r7) /* 801D54EC 001D244C 90 08 00 04 */ stw r0, 4(r8) lbl_801D54F0: /* 801D54F0 001D2450 39 08 00 08 */ addi r8, r8, 8 /* 801D54F4 001D2454 39 29 00 01 */ addi r9, r9, 1 /* 801D54F8 001D2458 38 E7 00 08 */ addi r7, r7, 8 lbl_801D54FC: /* 801D54FC 001D245C 80 04 00 04 */ lwz r0, 4(r4) /* 801D5500 001D2460 80 C4 00 0C */ lwz r6, 0xc(r4) /* 801D5504 001D2464 54 00 18 38 */ slwi r0, r0, 3 /* 801D5508 001D2468 7C 06 02 14 */ add r0, r6, r0 /* 801D550C 001D246C 7C 07 00 40 */ cmplw r7, r0 /* 801D5510 001D2470 40 82 FF C8 */ bne lbl_801D54D8 /* 801D5514 001D2474 91 24 00 04 */ stw r9, 4(r4) /* 801D5518 001D2478 80 05 00 00 */ lwz r0, 0(r5) /* 801D551C 001D247C 90 03 00 00 */ stw r0, 0(r3) /* 801D5520 001D2480 38 21 00 10 */ addi r1, r1, 0x10 /* 801D5524 001D2484 4E 80 00 20 */ blr .global "GetCinematicState__14CSystemOptionsFRCQ24rstl19pair" "GetCinematicState__14CSystemOptionsFRCQ24rstl19pair": /* 801D5528 001D2488 80 03 00 B0 */ lwz r0, 0xb0(r3) /* 801D552C 001D248C 80 E3 00 B8 */ lwz r7, 0xb8(r3) /* 801D5530 001D2490 54 00 18 38 */ slwi r0, r0, 3 /* 801D5534 001D2494 7C C7 02 14 */ add r6, r7, r0 /* 801D5538 001D2498 48 00 00 48 */ b lbl_801D5580 lbl_801D553C: /* 801D553C 001D249C 80 67 00 00 */ lwz r3, 0(r7) /* 801D5540 001D24A0 38 A0 00 00 */ li r5, 0 /* 801D5544 001D24A4 80 04 00 00 */ lwz r0, 0(r4) /* 801D5548 001D24A8 7C 03 00 40 */ cmplw r3, r0 /* 801D554C 001D24AC 40 82 00 20 */ bne lbl_801D556C /* 801D5550 001D24B0 80 67 00 04 */ lwz r3, 4(r7) /* 801D5554 001D24B4 80 04 00 04 */ lwz r0, 4(r4) /* 801D5558 001D24B8 54 63 01 BE */ clrlwi r3, r3, 6 /* 801D555C 001D24BC 54 00 01 BE */ clrlwi r0, r0, 6 /* 801D5560 001D24C0 7C 03 00 40 */ cmplw r3, r0 /* 801D5564 001D24C4 40 82 00 08 */ bne lbl_801D556C /* 801D5568 001D24C8 38 A0 00 01 */ li r5, 1 lbl_801D556C: /* 801D556C 001D24CC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801D5570 001D24D0 41 82 00 0C */ beq lbl_801D557C /* 801D5574 001D24D4 38 60 00 01 */ li r3, 1 /* 801D5578 001D24D8 4E 80 00 20 */ blr lbl_801D557C: /* 801D557C 001D24DC 38 E7 00 08 */ addi r7, r7, 8 lbl_801D5580: /* 801D5580 001D24E0 7C 07 30 40 */ cmplw r7, r6 /* 801D5584 001D24E4 40 82 FF B8 */ bne lbl_801D553C /* 801D5588 001D24E8 38 60 00 00 */ li r3, 0 /* 801D558C 001D24EC 4E 80 00 20 */ blr .global PutTo__14CSystemOptionsFR13COutputStream PutTo__14CSystemOptionsFR13COutputStream: /* 801D5590 001D24F0 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801D5594 001D24F4 7C 08 02 A6 */ mflr r0 /* 801D5598 001D24F8 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801D559C 001D24FC BE 81 00 70 */ stmw r20, 0x70(r1) /* 801D55A0 001D2500 7C 76 1B 78 */ mr r22, r3 /* 801D55A4 001D2504 7C 97 23 78 */ mr r23, r4 /* 801D55A8 001D2508 3A 80 00 00 */ li r20, 0 lbl_801D55AC: /* 801D55AC 001D250C 7C 96 A2 14 */ add r4, r22, r20 /* 801D55B0 001D2510 7E E3 BB 78 */ mr r3, r23 /* 801D55B4 001D2514 88 84 00 04 */ lbz r4, 4(r4) /* 801D55B8 001D2518 38 A0 00 08 */ li r5, 8 /* 801D55BC 001D251C 48 16 9E 01 */ bl WriteBits__13COutputStreamFii /* 801D55C0 001D2520 3A 94 00 01 */ addi r20, r20, 1 /* 801D55C4 001D2524 2C 14 00 62 */ cmpwi r20, 0x62 /* 801D55C8 001D2528 41 80 FF E4 */ blt lbl_801D55AC /* 801D55CC 001D252C 3A A0 00 00 */ li r21, 0 /* 801D55D0 001D2530 3A 96 00 6C */ addi r20, r22, 0x6c lbl_801D55D4: /* 801D55D4 001D2534 88 94 00 00 */ lbz r4, 0(r20) /* 801D55D8 001D2538 7E E3 BB 78 */ mr r3, r23 /* 801D55DC 001D253C 38 A0 00 08 */ li r5, 8 /* 801D55E0 001D2540 48 16 9D DD */ bl WriteBits__13COutputStreamFii /* 801D55E4 001D2544 3A B5 00 01 */ addi r21, r21, 1 /* 801D55E8 001D2548 3A 94 00 01 */ addi r20, r20, 1 /* 801D55EC 001D254C 2C 15 00 40 */ cmpwi r21, 0x40 /* 801D55F0 001D2550 41 80 FF E4 */ blt lbl_801D55D4 /* 801D55F4 001D2554 38 60 00 03 */ li r3, 3 /* 801D55F8 001D2558 48 00 0A B9 */ bl sub_801d60b0 /* 801D55FC 001D255C 80 96 00 C0 */ lwz r4, 0xc0(r22) /* 801D5600 001D2560 7C 65 1B 78 */ mr r5, r3 /* 801D5604 001D2564 7E E3 BB 78 */ mr r3, r23 /* 801D5608 001D2568 48 16 9D B5 */ bl WriteBits__13COutputStreamFii /* 801D560C 001D256C 38 60 00 03 */ li r3, 3 /* 801D5610 001D2570 48 00 0A A1 */ bl sub_801d60b0 /* 801D5614 001D2574 80 96 00 C4 */ lwz r4, 0xc4(r22) /* 801D5618 001D2578 7C 65 1B 78 */ mr r5, r3 /* 801D561C 001D257C 7E E3 BB 78 */ mr r3, r23 /* 801D5620 001D2580 48 16 9D 9D */ bl WriteBits__13COutputStreamFii /* 801D5624 001D2584 38 60 00 01 */ li r3, 1 /* 801D5628 001D2588 48 00 0A 89 */ bl sub_801d60b0 /* 801D562C 001D258C 80 96 00 C8 */ lwz r4, 0xc8(r22) /* 801D5630 001D2590 7C 65 1B 78 */ mr r5, r3 /* 801D5634 001D2594 7E E3 BB 78 */ mr r3, r23 /* 801D5638 001D2598 48 16 9D 85 */ bl WriteBits__13COutputStreamFii /* 801D563C 001D259C 38 60 00 64 */ li r3, 0x64 /* 801D5640 001D25A0 48 00 0A 71 */ bl sub_801d60b0 /* 801D5644 001D25A4 80 96 00 CC */ lwz r4, 0xcc(r22) /* 801D5648 001D25A8 7C 65 1B 78 */ mr r5, r3 /* 801D564C 001D25AC 7E E3 BB 78 */ mr r3, r23 /* 801D5650 001D25B0 48 16 9D 6D */ bl WriteBits__13COutputStreamFii /* 801D5654 001D25B4 88 16 00 D0 */ lbz r0, 0xd0(r22) /* 801D5658 001D25B8 7E E3 BB 78 */ mr r3, r23 /* 801D565C 001D25BC 38 A0 00 01 */ li r5, 1 /* 801D5660 001D25C0 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f /* 801D5664 001D25C4 7C 04 00 D0 */ neg r0, r4 /* 801D5668 001D25C8 7C 00 23 78 */ or r0, r0, r4 /* 801D566C 001D25CC 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D5670 001D25D0 48 16 9D 4D */ bl WriteBits__13COutputStreamFii /* 801D5674 001D25D4 88 16 00 D0 */ lbz r0, 0xd0(r22) /* 801D5678 001D25D8 7E E3 BB 78 */ mr r3, r23 /* 801D567C 001D25DC 38 A0 00 01 */ li r5, 1 /* 801D5680 001D25E0 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f /* 801D5684 001D25E4 7C 04 00 D0 */ neg r0, r4 /* 801D5688 001D25E8 7C 00 23 78 */ or r0, r0, r4 /* 801D568C 001D25EC 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D5690 001D25F0 48 16 9D 2D */ bl WriteBits__13COutputStreamFii /* 801D5694 001D25F4 88 16 00 D0 */ lbz r0, 0xd0(r22) /* 801D5698 001D25F8 7E E3 BB 78 */ mr r3, r23 /* 801D569C 001D25FC 38 A0 00 01 */ li r5, 1 /* 801D56A0 001D2600 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f /* 801D56A4 001D2604 7C 04 00 D0 */ neg r0, r4 /* 801D56A8 001D2608 7C 00 23 78 */ or r0, r0, r4 /* 801D56AC 001D260C 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D56B0 001D2610 48 16 9D 0D */ bl WriteBits__13COutputStreamFii /* 801D56B4 001D2614 88 16 00 D0 */ lbz r0, 0xd0(r22) /* 801D56B8 001D2618 7E E3 BB 78 */ mr r3, r23 /* 801D56BC 001D261C 38 A0 00 01 */ li r5, 1 /* 801D56C0 001D2620 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f /* 801D56C4 001D2624 7C 04 00 D0 */ neg r0, r4 /* 801D56C8 001D2628 7C 00 23 78 */ or r0, r0, r4 /* 801D56CC 001D262C 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D56D0 001D2630 48 16 9C ED */ bl WriteBits__13COutputStreamFii /* 801D56D4 001D2634 88 16 00 D0 */ lbz r0, 0xd0(r22) /* 801D56D8 001D2638 7E E3 BB 78 */ mr r3, r23 /* 801D56DC 001D263C 38 A0 00 01 */ li r5, 1 /* 801D56E0 001D2640 54 04 F7 FE */ rlwinm r4, r0, 0x1e, 0x1f, 0x1f /* 801D56E4 001D2644 7C 04 00 D0 */ neg r0, r4 /* 801D56E8 001D2648 7C 00 23 78 */ or r0, r0, r4 /* 801D56EC 001D264C 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D56F0 001D2650 48 16 9C CD */ bl WriteBits__13COutputStreamFii /* 801D56F4 001D2654 80 96 00 BC */ lwz r4, 0xbc(r22) /* 801D56F8 001D2658 7E E3 BB 78 */ mr r3, r23 /* 801D56FC 001D265C 38 A0 00 02 */ li r5, 2 /* 801D5700 001D2660 48 16 9C BD */ bl WriteBits__13COutputStreamFii /* 801D5704 001D2664 83 CD A0 84 */ lwz r30, gpMemoryCard@sda21(r13) /* 801D5708 001D2668 3C 60 53 41 */ lis r3, 0x53415657@ha /* 801D570C 001D266C 3A 83 56 57 */ addi r20, r3, 0x53415657@l /* 801D5710 001D2670 3B 01 00 64 */ addi r24, r1, 0x64 /* 801D5714 001D2674 82 BE 00 18 */ lwz r21, 0x18(r30) /* 801D5718 001D2678 3B 40 00 00 */ li r26, 0 /* 801D571C 001D267C 48 00 00 70 */ b lbl_801D578C lbl_801D5720: /* 801D5720 001D2680 80 15 00 08 */ lwz r0, 8(r21) /* 801D5724 001D2684 38 61 00 38 */ addi r3, r1, 0x38 /* 801D5728 001D2688 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D572C 001D268C 38 A1 00 40 */ addi r5, r1, 0x40 /* 801D5730 001D2690 92 81 00 40 */ stw r20, 0x40(r1) /* 801D5734 001D2694 90 01 00 44 */ stw r0, 0x44(r1) /* 801D5738 001D2698 81 84 00 00 */ lwz r12, 0(r4) /* 801D573C 001D269C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D5740 001D26A0 7D 89 03 A6 */ mtctr r12 /* 801D5744 001D26A4 4E 80 04 21 */ bctrl /* 801D5748 001D26A8 7F 03 C3 78 */ mr r3, r24 /* 801D574C 001D26AC 38 81 00 38 */ addi r4, r1, 0x38 /* 801D5750 001D26B0 48 16 B7 59 */ bl __ct__6CTokenFRC6CToken /* 801D5754 001D26B4 7F 03 C3 78 */ mr r3, r24 /* 801D5758 001D26B8 48 16 B6 B5 */ bl GetObj__6CTokenFv /* 801D575C 001D26BC 80 03 00 04 */ lwz r0, 4(r3) /* 801D5760 001D26C0 38 61 00 38 */ addi r3, r1, 0x38 /* 801D5764 001D26C4 38 80 FF FF */ li r4, -1 /* 801D5768 001D26C8 90 01 00 6C */ stw r0, 0x6c(r1) /* 801D576C 001D26CC 48 16 B6 D5 */ bl __dt__6CTokenFv /* 801D5770 001D26D0 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 801D5774 001D26D4 38 61 00 64 */ addi r3, r1, 0x64 /* 801D5778 001D26D8 38 80 00 00 */ li r4, 0 /* 801D577C 001D26DC 80 05 00 08 */ lwz r0, 8(r5) /* 801D5780 001D26E0 7F 5A 02 14 */ add r26, r26, r0 /* 801D5784 001D26E4 48 16 B6 BD */ bl __dt__6CTokenFv /* 801D5788 001D26E8 3A B5 00 4C */ addi r21, r21, 0x4c lbl_801D578C: /* 801D578C 001D26EC 80 1E 00 10 */ lwz r0, 0x10(r30) /* 801D5790 001D26F0 80 7E 00 18 */ lwz r3, 0x18(r30) /* 801D5794 001D26F4 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D5798 001D26F8 7C 03 02 14 */ add r0, r3, r0 /* 801D579C 001D26FC 7C 15 00 40 */ cmplw r21, r0 /* 801D57A0 001D2700 40 82 FF 80 */ bne lbl_801D5720 /* 801D57A4 001D2704 38 00 00 00 */ li r0, 0 /* 801D57A8 001D2708 7F 44 D3 78 */ mr r4, r26 /* 801D57AC 001D270C 90 01 00 58 */ stw r0, 0x58(r1) /* 801D57B0 001D2710 38 61 00 54 */ addi r3, r1, 0x54 /* 801D57B4 001D2714 90 01 00 5C */ stw r0, 0x5c(r1) /* 801D57B8 001D2718 90 01 00 60 */ stw r0, 0x60(r1) /* 801D57BC 001D271C 4B EC C8 AD */ bl sub_800a2068 /* 801D57C0 001D2720 3C 60 53 41 */ lis r3, 0x53415657@ha /* 801D57C4 001D2724 83 9E 00 18 */ lwz r28, 0x18(r30) /* 801D57C8 001D2728 3B E3 56 57 */ addi r31, r3, 0x53415657@l /* 801D57CC 001D272C 3A A1 00 48 */ addi r21, r1, 0x48 /* 801D57D0 001D2730 48 00 00 FC */ b lbl_801D58CC lbl_801D57D4: /* 801D57D4 001D2734 83 3C 00 00 */ lwz r25, 0(r28) /* 801D57D8 001D2738 38 61 00 28 */ addi r3, r1, 0x28 /* 801D57DC 001D273C 80 1C 00 08 */ lwz r0, 8(r28) /* 801D57E0 001D2740 38 A1 00 30 */ addi r5, r1, 0x30 /* 801D57E4 001D2744 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D57E8 001D2748 93 E1 00 30 */ stw r31, 0x30(r1) /* 801D57EC 001D274C 90 01 00 34 */ stw r0, 0x34(r1) /* 801D57F0 001D2750 81 84 00 00 */ lwz r12, 0(r4) /* 801D57F4 001D2754 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D57F8 001D2758 7D 89 03 A6 */ mtctr r12 /* 801D57FC 001D275C 4E 80 04 21 */ bctrl /* 801D5800 001D2760 7E A3 AB 78 */ mr r3, r21 /* 801D5804 001D2764 38 81 00 28 */ addi r4, r1, 0x28 /* 801D5808 001D2768 48 16 B6 A1 */ bl __ct__6CTokenFRC6CToken /* 801D580C 001D276C 7E A3 AB 78 */ mr r3, r21 /* 801D5810 001D2770 48 16 B5 FD */ bl GetObj__6CTokenFv /* 801D5814 001D2774 80 03 00 04 */ lwz r0, 4(r3) /* 801D5818 001D2778 38 61 00 28 */ addi r3, r1, 0x28 /* 801D581C 001D277C 38 80 FF FF */ li r4, -1 /* 801D5820 001D2780 90 01 00 50 */ stw r0, 0x50(r1) /* 801D5824 001D2784 48 16 B6 1D */ bl __dt__6CTokenFv /* 801D5828 001D2788 93 21 00 18 */ stw r25, 0x18(r1) /* 801D582C 001D278C 3B 00 00 00 */ li r24, 0 /* 801D5830 001D2790 83 A1 00 50 */ lwz r29, 0x50(r1) /* 801D5834 001D2794 3B 60 00 00 */ li r27, 0 /* 801D5838 001D2798 48 00 00 78 */ b lbl_801D58B0 lbl_801D583C: /* 801D583C 001D279C 80 BD 00 10 */ lwz r5, 0x10(r29) /* 801D5840 001D27A0 7E C3 B3 78 */ mr r3, r22 /* 801D5844 001D27A4 38 81 00 20 */ addi r4, r1, 0x20 /* 801D5848 001D27A8 7C 05 D8 2E */ lwzx r0, r5, r27 /* 801D584C 001D27AC 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D5850 001D27B0 93 21 00 20 */ stw r25, 0x20(r1) /* 801D5854 001D27B4 90 01 00 24 */ stw r0, 0x24(r1) /* 801D5858 001D27B8 4B FF FC D1 */ bl "GetCinematicState__14CSystemOptionsFRCQ24rstl19pair" /* 801D585C 001D27BC 80 01 00 58 */ lwz r0, 0x58(r1) /* 801D5860 001D27C0 7C 74 1B 78 */ mr r20, r3 /* 801D5864 001D27C4 80 A1 00 5C */ lwz r5, 0x5c(r1) /* 801D5868 001D27C8 7C 00 28 00 */ cmpw r0, r5 /* 801D586C 001D27CC 41 80 00 1C */ blt lbl_801D5888 /* 801D5870 001D27D0 2C 05 00 00 */ cmpwi r5, 0 /* 801D5874 001D27D4 38 61 00 54 */ addi r3, r1, 0x54 /* 801D5878 001D27D8 38 80 00 04 */ li r4, 4 /* 801D587C 001D27DC 41 82 00 08 */ beq lbl_801D5884 /* 801D5880 001D27E0 54 A4 08 3C */ slwi r4, r5, 1 lbl_801D5884: /* 801D5884 001D27E4 4B EC C7 E5 */ bl sub_800a2068 lbl_801D5888: /* 801D5888 001D27E8 80 61 00 60 */ lwz r3, 0x60(r1) /* 801D588C 001D27EC 80 01 00 58 */ lwz r0, 0x58(r1) /* 801D5890 001D27F0 7C 63 02 15 */ add. r3, r3, r0 /* 801D5894 001D27F4 41 82 00 08 */ beq lbl_801D589C /* 801D5898 001D27F8 9A 83 00 00 */ stb r20, 0(r3) lbl_801D589C: /* 801D589C 001D27FC 80 61 00 58 */ lwz r3, 0x58(r1) /* 801D58A0 001D2800 3B 7B 00 04 */ addi r27, r27, 4 /* 801D58A4 001D2804 3B 18 00 01 */ addi r24, r24, 1 /* 801D58A8 001D2808 38 03 00 01 */ addi r0, r3, 1 /* 801D58AC 001D280C 90 01 00 58 */ stw r0, 0x58(r1) lbl_801D58B0: /* 801D58B0 001D2810 80 1D 00 08 */ lwz r0, 8(r29) /* 801D58B4 001D2814 7C 18 00 00 */ cmpw r24, r0 /* 801D58B8 001D2818 41 80 FF 84 */ blt lbl_801D583C /* 801D58BC 001D281C 38 61 00 48 */ addi r3, r1, 0x48 /* 801D58C0 001D2820 38 80 00 00 */ li r4, 0 /* 801D58C4 001D2824 48 16 B5 7D */ bl __dt__6CTokenFv /* 801D58C8 001D2828 3B 9C 00 4C */ addi r28, r28, 0x4c lbl_801D58CC: /* 801D58CC 001D282C 80 1E 00 10 */ lwz r0, 0x10(r30) /* 801D58D0 001D2830 80 7E 00 18 */ lwz r3, 0x18(r30) /* 801D58D4 001D2834 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D58D8 001D2838 7C 03 02 14 */ add r0, r3, r0 /* 801D58DC 001D283C 7C 1C 00 40 */ cmplw r28, r0 /* 801D58E0 001D2840 40 82 FE F4 */ bne lbl_801D57D4 /* 801D58E4 001D2844 3A 80 00 00 */ li r20, 0 /* 801D58E8 001D2848 48 00 00 28 */ b lbl_801D5910 lbl_801D58EC: /* 801D58EC 001D284C 80 81 00 60 */ lwz r4, 0x60(r1) /* 801D58F0 001D2850 7E E3 BB 78 */ mr r3, r23 /* 801D58F4 001D2854 38 A0 00 01 */ li r5, 1 /* 801D58F8 001D2858 7C 84 A0 AE */ lbzx r4, r4, r20 /* 801D58FC 001D285C 7C 04 00 D0 */ neg r0, r4 /* 801D5900 001D2860 7C 00 23 78 */ or r0, r0, r4 /* 801D5904 001D2864 54 04 0F FE */ srwi r4, r0, 0x1f /* 801D5908 001D2868 48 16 9A B5 */ bl WriteBits__13COutputStreamFii /* 801D590C 001D286C 3A 94 00 01 */ addi r20, r20, 1 lbl_801D5910: /* 801D5910 001D2870 7C 14 D0 00 */ cmpw r20, r26 /* 801D5914 001D2874 41 80 FF D8 */ blt lbl_801D58EC /* 801D5918 001D2878 80 61 00 60 */ lwz r3, 0x60(r1) /* 801D591C 001D287C 80 01 00 58 */ lwz r0, 0x58(r1) /* 801D5920 001D2880 90 61 00 0C */ stw r3, 0xc(r1) /* 801D5924 001D2884 7C 83 02 14 */ add r4, r3, r0 /* 801D5928 001D2888 7C 03 20 50 */ subf r0, r3, r4 /* 801D592C 001D288C 90 81 00 14 */ stw r4, 0x14(r1) /* 801D5930 001D2890 90 81 00 10 */ stw r4, 0x10(r1) /* 801D5934 001D2894 90 61 00 08 */ stw r3, 8(r1) /* 801D5938 001D2898 7C 09 03 A6 */ mtctr r0 /* 801D593C 001D289C 7C 03 20 40 */ cmplw r3, r4 /* 801D5940 001D28A0 41 82 00 08 */ beq lbl_801D5948 lbl_801D5944: /* 801D5944 001D28A4 42 00 00 00 */ bdnz lbl_801D5944 lbl_801D5948: /* 801D5948 001D28A8 28 03 00 00 */ cmplwi r3, 0 /* 801D594C 001D28AC 41 82 00 08 */ beq lbl_801D5954 /* 801D5950 001D28B0 48 13 FF E1 */ bl Free__7CMemoryFPCv lbl_801D5954: /* 801D5954 001D28B4 BA 81 00 70 */ lmw r20, 0x70(r1) /* 801D5958 001D28B8 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801D595C 001D28BC 7C 08 03 A6 */ mtlr r0 /* 801D5960 001D28C0 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801D5964 001D28C4 4E 80 00 20 */ blr .global __ct__14CSystemOptionsFRC12CInputStream __ct__14CSystemOptionsFRC12CInputStream: /* 801D5968 001D28C8 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801D596C 001D28CC 7C 08 02 A6 */ mflr r0 /* 801D5970 001D28D0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801D5974 001D28D4 38 00 00 0E */ li r0, 0xe /* 801D5978 001D28D8 BE C1 00 78 */ stmw r22, 0x78(r1) /* 801D597C 001D28DC 7C 7C 1B 78 */ mr r28, r3 /* 801D5980 001D28E0 38 60 00 62 */ li r3, 0x62 /* 801D5984 001D28E4 7C 9D 23 78 */ mr r29, r4 /* 801D5988 001D28E8 38 9C 00 04 */ addi r4, r28, 4 /* 801D598C 001D28EC 90 7C 00 00 */ stw r3, 0(r28) /* 801D5990 001D28F0 38 60 00 00 */ li r3, 0 /* 801D5994 001D28F4 7C 09 03 A6 */ mtctr r0 lbl_801D5998: /* 801D5998 001D28F8 28 04 00 00 */ cmplwi r4, 0 /* 801D599C 001D28FC 41 82 00 0C */ beq lbl_801D59A8 /* 801D59A0 001D2900 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D59A4 001D2904 98 04 00 00 */ stb r0, 0(r4) lbl_801D59A8: /* 801D59A8 001D2908 34 84 00 01 */ addic. r4, r4, 1 /* 801D59AC 001D290C 41 82 00 0C */ beq lbl_801D59B8 /* 801D59B0 001D2910 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D59B4 001D2914 98 04 00 00 */ stb r0, 0(r4) lbl_801D59B8: /* 801D59B8 001D2918 34 84 00 01 */ addic. r4, r4, 1 /* 801D59BC 001D291C 41 82 00 0C */ beq lbl_801D59C8 /* 801D59C0 001D2920 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D59C4 001D2924 98 04 00 00 */ stb r0, 0(r4) lbl_801D59C8: /* 801D59C8 001D2928 34 84 00 01 */ addic. r4, r4, 1 /* 801D59CC 001D292C 41 82 00 0C */ beq lbl_801D59D8 /* 801D59D0 001D2930 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D59D4 001D2934 98 04 00 00 */ stb r0, 0(r4) lbl_801D59D8: /* 801D59D8 001D2938 34 84 00 01 */ addic. r4, r4, 1 /* 801D59DC 001D293C 41 82 00 0C */ beq lbl_801D59E8 /* 801D59E0 001D2940 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D59E4 001D2944 98 04 00 00 */ stb r0, 0(r4) lbl_801D59E8: /* 801D59E8 001D2948 34 84 00 01 */ addic. r4, r4, 1 /* 801D59EC 001D294C 41 82 00 0C */ beq lbl_801D59F8 /* 801D59F0 001D2950 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D59F4 001D2954 98 04 00 00 */ stb r0, 0(r4) lbl_801D59F8: /* 801D59F8 001D2958 34 84 00 01 */ addic. r4, r4, 1 /* 801D59FC 001D295C 41 82 00 0C */ beq lbl_801D5A08 /* 801D5A00 001D2960 88 0D 91 9A */ lbz r0, lbl_805A7D5A@sda21(r13) /* 801D5A04 001D2964 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A08: /* 801D5A08 001D2968 38 63 00 06 */ addi r3, r3, 6 /* 801D5A0C 001D296C 38 84 00 01 */ addi r4, r4, 1 /* 801D5A10 001D2970 42 00 FF 88 */ bdnz lbl_801D5998 /* 801D5A14 001D2974 38 60 00 40 */ li r3, 0x40 /* 801D5A18 001D2978 38 00 00 08 */ li r0, 8 /* 801D5A1C 001D297C 90 7C 00 68 */ stw r3, 0x68(r28) /* 801D5A20 001D2980 38 9C 00 6C */ addi r4, r28, 0x6c /* 801D5A24 001D2984 38 60 00 00 */ li r3, 0 /* 801D5A28 001D2988 7C 09 03 A6 */ mtctr r0 lbl_801D5A2C: /* 801D5A2C 001D298C 28 04 00 00 */ cmplwi r4, 0 /* 801D5A30 001D2990 41 82 00 0C */ beq lbl_801D5A3C /* 801D5A34 001D2994 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A38 001D2998 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A3C: /* 801D5A3C 001D299C 34 84 00 01 */ addic. r4, r4, 1 /* 801D5A40 001D29A0 41 82 00 0C */ beq lbl_801D5A4C /* 801D5A44 001D29A4 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A48 001D29A8 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A4C: /* 801D5A4C 001D29AC 34 84 00 01 */ addic. r4, r4, 1 /* 801D5A50 001D29B0 41 82 00 0C */ beq lbl_801D5A5C /* 801D5A54 001D29B4 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A58 001D29B8 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A5C: /* 801D5A5C 001D29BC 34 84 00 01 */ addic. r4, r4, 1 /* 801D5A60 001D29C0 41 82 00 0C */ beq lbl_801D5A6C /* 801D5A64 001D29C4 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A68 001D29C8 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A6C: /* 801D5A6C 001D29CC 34 84 00 01 */ addic. r4, r4, 1 /* 801D5A70 001D29D0 41 82 00 0C */ beq lbl_801D5A7C /* 801D5A74 001D29D4 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A78 001D29D8 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A7C: /* 801D5A7C 001D29DC 34 84 00 01 */ addic. r4, r4, 1 /* 801D5A80 001D29E0 41 82 00 0C */ beq lbl_801D5A8C /* 801D5A84 001D29E4 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A88 001D29E8 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A8C: /* 801D5A8C 001D29EC 34 84 00 01 */ addic. r4, r4, 1 /* 801D5A90 001D29F0 41 82 00 0C */ beq lbl_801D5A9C /* 801D5A94 001D29F4 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5A98 001D29F8 98 04 00 00 */ stb r0, 0(r4) lbl_801D5A9C: /* 801D5A9C 001D29FC 34 84 00 01 */ addic. r4, r4, 1 /* 801D5AA0 001D2A00 41 82 00 0C */ beq lbl_801D5AAC /* 801D5AA4 001D2A04 88 0D 91 9B */ lbz r0, lbl_805A7D5B@sda21(r13) /* 801D5AA8 001D2A08 98 04 00 00 */ stb r0, 0(r4) lbl_801D5AAC: /* 801D5AAC 001D2A0C 38 63 00 07 */ addi r3, r3, 7 /* 801D5AB0 001D2A10 38 84 00 01 */ addi r4, r4, 1 /* 801D5AB4 001D2A14 42 00 FF 78 */ bdnz lbl_801D5A2C /* 801D5AB8 001D2A18 38 60 00 00 */ li r3, 0 /* 801D5ABC 001D2A1C 3B 00 00 00 */ li r24, 0 /* 801D5AC0 001D2A20 90 7C 00 B0 */ stw r3, 0xb0(r28) /* 801D5AC4 001D2A24 90 7C 00 B4 */ stw r3, 0xb4(r28) /* 801D5AC8 001D2A28 90 7C 00 B8 */ stw r3, 0xb8(r28) /* 801D5ACC 001D2A2C 90 7C 00 BC */ stw r3, 0xbc(r28) /* 801D5AD0 001D2A30 90 7C 00 C0 */ stw r3, 0xc0(r28) /* 801D5AD4 001D2A34 90 7C 00 C4 */ stw r3, 0xc4(r28) /* 801D5AD8 001D2A38 90 7C 00 C8 */ stw r3, 0xc8(r28) /* 801D5ADC 001D2A3C 90 7C 00 CC */ stw r3, 0xcc(r28) /* 801D5AE0 001D2A40 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5AE4 001D2A44 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D5AE8 001D2A48 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5AEC 001D2A4C 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5AF0 001D2A50 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D5AF4 001D2A54 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5AF8 001D2A58 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5AFC 001D2A5C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801D5B00 001D2A60 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5B04 001D2A64 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5B08 001D2A68 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801D5B0C 001D2A6C 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5B10 001D2A70 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5B14 001D2A74 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801D5B18 001D2A78 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5B1C 001D2A7C 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5B20 001D2A80 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801D5B24 001D2A84 98 1C 00 D0 */ stb r0, 0xd0(r28) lbl_801D5B28: /* 801D5B28 001D2A88 7F A3 EB 78 */ mr r3, r29 /* 801D5B2C 001D2A8C 7F 7C C2 14 */ add r27, r28, r24 /* 801D5B30 001D2A90 38 80 00 08 */ li r4, 8 /* 801D5B34 001D2A94 48 16 92 05 */ bl ReadBits__12CInputStreamFi /* 801D5B38 001D2A98 3B 18 00 01 */ addi r24, r24, 1 /* 801D5B3C 001D2A9C 98 7B 00 04 */ stb r3, 4(r27) /* 801D5B40 001D2AA0 2C 18 00 62 */ cmpwi r24, 0x62 /* 801D5B44 001D2AA4 41 80 FF E4 */ blt lbl_801D5B28 /* 801D5B48 001D2AA8 3B 00 00 00 */ li r24, 0 lbl_801D5B4C: /* 801D5B4C 001D2AAC 7F A3 EB 78 */ mr r3, r29 /* 801D5B50 001D2AB0 7F 7C C2 14 */ add r27, r28, r24 /* 801D5B54 001D2AB4 38 80 00 08 */ li r4, 8 /* 801D5B58 001D2AB8 48 16 91 E1 */ bl ReadBits__12CInputStreamFi /* 801D5B5C 001D2ABC 3B 18 00 01 */ addi r24, r24, 1 /* 801D5B60 001D2AC0 98 7B 00 6C */ stb r3, 0x6c(r27) /* 801D5B64 001D2AC4 2C 18 00 40 */ cmpwi r24, 0x40 /* 801D5B68 001D2AC8 41 80 FF E4 */ blt lbl_801D5B4C /* 801D5B6C 001D2ACC 38 60 00 03 */ li r3, 3 /* 801D5B70 001D2AD0 48 00 05 41 */ bl sub_801d60b0 /* 801D5B74 001D2AD4 7C 64 1B 78 */ mr r4, r3 /* 801D5B78 001D2AD8 7F A3 EB 78 */ mr r3, r29 /* 801D5B7C 001D2ADC 48 16 91 BD */ bl ReadBits__12CInputStreamFi /* 801D5B80 001D2AE0 90 7C 00 C0 */ stw r3, 0xc0(r28) /* 801D5B84 001D2AE4 38 60 00 03 */ li r3, 3 /* 801D5B88 001D2AE8 48 00 05 29 */ bl sub_801d60b0 /* 801D5B8C 001D2AEC 7C 64 1B 78 */ mr r4, r3 /* 801D5B90 001D2AF0 7F A3 EB 78 */ mr r3, r29 /* 801D5B94 001D2AF4 48 16 91 A5 */ bl ReadBits__12CInputStreamFi /* 801D5B98 001D2AF8 90 7C 00 C4 */ stw r3, 0xc4(r28) /* 801D5B9C 001D2AFC 38 60 00 01 */ li r3, 1 /* 801D5BA0 001D2B00 48 00 05 11 */ bl sub_801d60b0 /* 801D5BA4 001D2B04 7C 64 1B 78 */ mr r4, r3 /* 801D5BA8 001D2B08 7F A3 EB 78 */ mr r3, r29 /* 801D5BAC 001D2B0C 48 16 91 8D */ bl ReadBits__12CInputStreamFi /* 801D5BB0 001D2B10 90 7C 00 C8 */ stw r3, 0xc8(r28) /* 801D5BB4 001D2B14 38 60 00 64 */ li r3, 0x64 /* 801D5BB8 001D2B18 48 00 04 F9 */ bl sub_801d60b0 /* 801D5BBC 001D2B1C 7C 64 1B 78 */ mr r4, r3 /* 801D5BC0 001D2B20 7F A3 EB 78 */ mr r3, r29 /* 801D5BC4 001D2B24 48 16 91 75 */ bl ReadBits__12CInputStreamFi /* 801D5BC8 001D2B28 90 7C 00 CC */ stw r3, 0xcc(r28) /* 801D5BCC 001D2B2C 7F A3 EB 78 */ mr r3, r29 /* 801D5BD0 001D2B30 38 80 00 01 */ li r4, 1 /* 801D5BD4 001D2B34 48 16 91 65 */ bl ReadBits__12CInputStreamFi /* 801D5BD8 001D2B38 7C 83 00 D0 */ neg r4, r3 /* 801D5BDC 001D2B3C 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5BE0 001D2B40 7C 84 1B 78 */ or r4, r4, r3 /* 801D5BE4 001D2B44 7F A3 EB 78 */ mr r3, r29 /* 801D5BE8 001D2B48 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D5BEC 001D2B4C 38 80 00 01 */ li r4, 1 /* 801D5BF0 001D2B50 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801D5BF4 001D2B54 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5BF8 001D2B58 48 16 91 41 */ bl ReadBits__12CInputStreamFi /* 801D5BFC 001D2B5C 7C 83 00 D0 */ neg r4, r3 /* 801D5C00 001D2B60 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5C04 001D2B64 7C 84 1B 78 */ or r4, r4, r3 /* 801D5C08 001D2B68 7F A3 EB 78 */ mr r3, r29 /* 801D5C0C 001D2B6C 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D5C10 001D2B70 38 80 00 01 */ li r4, 1 /* 801D5C14 001D2B74 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801D5C18 001D2B78 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5C1C 001D2B7C 48 16 91 1D */ bl ReadBits__12CInputStreamFi /* 801D5C20 001D2B80 7C 83 00 D0 */ neg r4, r3 /* 801D5C24 001D2B84 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5C28 001D2B88 7C 84 1B 78 */ or r4, r4, r3 /* 801D5C2C 001D2B8C 7F A3 EB 78 */ mr r3, r29 /* 801D5C30 001D2B90 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D5C34 001D2B94 38 80 00 01 */ li r4, 1 /* 801D5C38 001D2B98 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 801D5C3C 001D2B9C 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5C40 001D2BA0 48 16 90 F9 */ bl ReadBits__12CInputStreamFi /* 801D5C44 001D2BA4 7C 83 00 D0 */ neg r4, r3 /* 801D5C48 001D2BA8 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5C4C 001D2BAC 7C 84 1B 78 */ or r4, r4, r3 /* 801D5C50 001D2BB0 7F A3 EB 78 */ mr r3, r29 /* 801D5C54 001D2BB4 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D5C58 001D2BB8 38 80 00 01 */ li r4, 1 /* 801D5C5C 001D2BBC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801D5C60 001D2BC0 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5C64 001D2BC4 48 16 90 D5 */ bl ReadBits__12CInputStreamFi /* 801D5C68 001D2BC8 7C 83 00 D0 */ neg r4, r3 /* 801D5C6C 001D2BCC 88 1C 00 D0 */ lbz r0, 0xd0(r28) /* 801D5C70 001D2BD0 7C 84 1B 78 */ or r4, r4, r3 /* 801D5C74 001D2BD4 7F A3 EB 78 */ mr r3, r29 /* 801D5C78 001D2BD8 54 85 0F FE */ srwi r5, r4, 0x1f /* 801D5C7C 001D2BDC 38 80 00 02 */ li r4, 2 /* 801D5C80 001D2BE0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801D5C84 001D2BE4 98 1C 00 D0 */ stb r0, 0xd0(r28) /* 801D5C88 001D2BE8 48 16 90 B1 */ bl ReadBits__12CInputStreamFi /* 801D5C8C 001D2BEC 90 7C 00 BC */ stw r3, 0xbc(r28) /* 801D5C90 001D2BF0 3C 60 53 41 */ lis r3, 0x53415657@ha /* 801D5C94 001D2BF4 3B 63 56 57 */ addi r27, r3, 0x53415657@l /* 801D5C98 001D2BF8 3A C1 00 64 */ addi r22, r1, 0x64 /* 801D5C9C 001D2BFC 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) /* 801D5CA0 001D2C00 3B C0 00 00 */ li r30, 0 /* 801D5CA4 001D2C04 83 5F 00 18 */ lwz r26, 0x18(r31) /* 801D5CA8 001D2C08 48 00 00 70 */ b lbl_801D5D18 lbl_801D5CAC: /* 801D5CAC 001D2C0C 80 1A 00 08 */ lwz r0, 8(r26) /* 801D5CB0 001D2C10 38 61 00 38 */ addi r3, r1, 0x38 /* 801D5CB4 001D2C14 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D5CB8 001D2C18 38 A1 00 40 */ addi r5, r1, 0x40 /* 801D5CBC 001D2C1C 93 61 00 40 */ stw r27, 0x40(r1) /* 801D5CC0 001D2C20 90 01 00 44 */ stw r0, 0x44(r1) /* 801D5CC4 001D2C24 81 84 00 00 */ lwz r12, 0(r4) /* 801D5CC8 001D2C28 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D5CCC 001D2C2C 7D 89 03 A6 */ mtctr r12 /* 801D5CD0 001D2C30 4E 80 04 21 */ bctrl /* 801D5CD4 001D2C34 7E C3 B3 78 */ mr r3, r22 /* 801D5CD8 001D2C38 38 81 00 38 */ addi r4, r1, 0x38 /* 801D5CDC 001D2C3C 48 16 B1 CD */ bl __ct__6CTokenFRC6CToken /* 801D5CE0 001D2C40 7E C3 B3 78 */ mr r3, r22 /* 801D5CE4 001D2C44 48 16 B1 29 */ bl GetObj__6CTokenFv /* 801D5CE8 001D2C48 80 03 00 04 */ lwz r0, 4(r3) /* 801D5CEC 001D2C4C 38 61 00 38 */ addi r3, r1, 0x38 /* 801D5CF0 001D2C50 38 80 FF FF */ li r4, -1 /* 801D5CF4 001D2C54 90 01 00 6C */ stw r0, 0x6c(r1) /* 801D5CF8 001D2C58 48 16 B1 49 */ bl __dt__6CTokenFv /* 801D5CFC 001D2C5C 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 801D5D00 001D2C60 38 61 00 64 */ addi r3, r1, 0x64 /* 801D5D04 001D2C64 38 80 00 00 */ li r4, 0 /* 801D5D08 001D2C68 80 05 00 08 */ lwz r0, 8(r5) /* 801D5D0C 001D2C6C 7F DE 02 14 */ add r30, r30, r0 /* 801D5D10 001D2C70 48 16 B1 31 */ bl __dt__6CTokenFv /* 801D5D14 001D2C74 3B 5A 00 4C */ addi r26, r26, 0x4c lbl_801D5D18: /* 801D5D18 001D2C78 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801D5D1C 001D2C7C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801D5D20 001D2C80 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D5D24 001D2C84 7C 03 02 14 */ add r0, r3, r0 /* 801D5D28 001D2C88 7C 1A 00 40 */ cmplw r26, r0 /* 801D5D2C 001D2C8C 40 82 FF 80 */ bne lbl_801D5CAC /* 801D5D30 001D2C90 2C 1E 00 00 */ cmpwi r30, 0 /* 801D5D34 001D2C94 93 C1 00 58 */ stw r30, 0x58(r1) /* 801D5D38 001D2C98 93 C1 00 5C */ stw r30, 0x5c(r1) /* 801D5D3C 001D2C9C 40 82 00 10 */ bne lbl_801D5D4C /* 801D5D40 001D2CA0 38 00 00 00 */ li r0, 0 /* 801D5D44 001D2CA4 90 01 00 60 */ stw r0, 0x60(r1) /* 801D5D48 001D2CA8 48 00 00 1C */ b lbl_801D5D64 lbl_801D5D4C: /* 801D5D4C 001D2CAC 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D5D50 001D2CB0 7F C3 F3 78 */ mr r3, r30 /* 801D5D54 001D2CB4 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D5D58 001D2CB8 38 A0 00 00 */ li r5, 0 /* 801D5D5C 001D2CBC 48 13 FA BD */ bl __nwa__FUlPCcPCc /* 801D5D60 001D2CC0 90 61 00 60 */ stw r3, 0x60(r1) lbl_801D5D64: /* 801D5D64 001D2CC4 80 61 00 60 */ lwz r3, 0x60(r1) /* 801D5D68 001D2CC8 7F C9 03 A6 */ mtctr r30 /* 801D5D6C 001D2CCC 2C 1E 00 00 */ cmpwi r30, 0 /* 801D5D70 001D2CD0 40 81 00 1C */ ble lbl_801D5D8C lbl_801D5D74: /* 801D5D74 001D2CD4 28 03 00 00 */ cmplwi r3, 0 /* 801D5D78 001D2CD8 41 82 00 0C */ beq lbl_801D5D84 /* 801D5D7C 001D2CDC 88 0D 91 9C */ lbz r0, lbl_805A7D5C@sda21(r13) /* 801D5D80 001D2CE0 98 03 00 00 */ stb r0, 0(r3) lbl_801D5D84: /* 801D5D84 001D2CE4 38 63 00 01 */ addi r3, r3, 1 /* 801D5D88 001D2CE8 42 00 FF EC */ bdnz lbl_801D5D74 lbl_801D5D8C: /* 801D5D8C 001D2CEC 83 61 00 60 */ lwz r27, 0x60(r1) /* 801D5D90 001D2CF0 3B 00 00 00 */ li r24, 0 /* 801D5D94 001D2CF4 48 00 00 28 */ b lbl_801D5DBC lbl_801D5D98: /* 801D5D98 001D2CF8 7F A3 EB 78 */ mr r3, r29 /* 801D5D9C 001D2CFC 38 80 00 01 */ li r4, 1 /* 801D5DA0 001D2D00 48 16 8F 99 */ bl ReadBits__12CInputStreamFi /* 801D5DA4 001D2D04 7C 03 00 D0 */ neg r0, r3 /* 801D5DA8 001D2D08 3B 18 00 01 */ addi r24, r24, 1 /* 801D5DAC 001D2D0C 7C 00 1B 78 */ or r0, r0, r3 /* 801D5DB0 001D2D10 54 00 0F FE */ srwi r0, r0, 0x1f /* 801D5DB4 001D2D14 98 1B 00 00 */ stb r0, 0(r27) /* 801D5DB8 001D2D18 3B 7B 00 01 */ addi r27, r27, 1 lbl_801D5DBC: /* 801D5DBC 001D2D1C 7C 18 F0 00 */ cmpw r24, r30 /* 801D5DC0 001D2D20 41 80 FF D8 */ blt lbl_801D5D98 /* 801D5DC4 001D2D24 3C 60 53 41 */ lis r3, 0x53415657@ha /* 801D5DC8 001D2D28 83 C1 00 60 */ lwz r30, 0x60(r1) /* 801D5DCC 001D2D2C 83 3F 00 18 */ lwz r25, 0x18(r31) /* 801D5DD0 001D2D30 3B 63 56 57 */ addi r27, r3, 0x53415657@l /* 801D5DD4 001D2D34 3B A1 00 48 */ addi r29, r1, 0x48 /* 801D5DD8 001D2D38 48 00 00 C4 */ b lbl_801D5E9C lbl_801D5DDC: /* 801D5DDC 001D2D3C 82 F9 00 00 */ lwz r23, 0(r25) /* 801D5DE0 001D2D40 38 61 00 28 */ addi r3, r1, 0x28 /* 801D5DE4 001D2D44 80 19 00 08 */ lwz r0, 8(r25) /* 801D5DE8 001D2D48 38 A1 00 30 */ addi r5, r1, 0x30 /* 801D5DEC 001D2D4C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D5DF0 001D2D50 93 61 00 30 */ stw r27, 0x30(r1) /* 801D5DF4 001D2D54 90 01 00 34 */ stw r0, 0x34(r1) /* 801D5DF8 001D2D58 81 84 00 00 */ lwz r12, 0(r4) /* 801D5DFC 001D2D5C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D5E00 001D2D60 7D 89 03 A6 */ mtctr r12 /* 801D5E04 001D2D64 4E 80 04 21 */ bctrl /* 801D5E08 001D2D68 7F A3 EB 78 */ mr r3, r29 /* 801D5E0C 001D2D6C 38 81 00 28 */ addi r4, r1, 0x28 /* 801D5E10 001D2D70 48 16 B0 99 */ bl __ct__6CTokenFRC6CToken /* 801D5E14 001D2D74 7F A3 EB 78 */ mr r3, r29 /* 801D5E18 001D2D78 48 16 AF F5 */ bl GetObj__6CTokenFv /* 801D5E1C 001D2D7C 80 03 00 04 */ lwz r0, 4(r3) /* 801D5E20 001D2D80 38 61 00 28 */ addi r3, r1, 0x28 /* 801D5E24 001D2D84 38 80 FF FF */ li r4, -1 /* 801D5E28 001D2D88 90 01 00 50 */ stw r0, 0x50(r1) /* 801D5E2C 001D2D8C 48 16 B0 15 */ bl __dt__6CTokenFv /* 801D5E30 001D2D90 83 41 00 50 */ lwz r26, 0x50(r1) /* 801D5E34 001D2D94 3A C0 00 00 */ li r22, 0 /* 801D5E38 001D2D98 3B 00 00 00 */ li r24, 0 /* 801D5E3C 001D2D9C 48 00 00 44 */ b lbl_801D5E80 lbl_801D5E40: /* 801D5E40 001D2DA0 88 1E 00 00 */ lbz r0, 0(r30) /* 801D5E44 001D2DA4 28 00 00 00 */ cmplwi r0, 0 /* 801D5E48 001D2DA8 41 82 00 2C */ beq lbl_801D5E74 /* 801D5E4C 001D2DAC 80 BA 00 10 */ lwz r5, 0x10(r26) /* 801D5E50 001D2DB0 7F 83 E3 78 */ mr r3, r28 /* 801D5E54 001D2DB4 92 E1 00 18 */ stw r23, 0x18(r1) /* 801D5E58 001D2DB8 38 81 00 20 */ addi r4, r1, 0x20 /* 801D5E5C 001D2DBC 7C 05 C0 2E */ lwzx r0, r5, r24 /* 801D5E60 001D2DC0 38 A0 00 01 */ li r5, 1 /* 801D5E64 001D2DC4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D5E68 001D2DC8 92 E1 00 20 */ stw r23, 0x20(r1) /* 801D5E6C 001D2DCC 90 01 00 24 */ stw r0, 0x24(r1) /* 801D5E70 001D2DD0 4B FF F4 A1 */ bl SetCinematicState__14CSystemOptionsFUi9TEditorIdb lbl_801D5E74: /* 801D5E74 001D2DD4 3B DE 00 01 */ addi r30, r30, 1 /* 801D5E78 001D2DD8 3B 18 00 04 */ addi r24, r24, 4 /* 801D5E7C 001D2DDC 3A D6 00 01 */ addi r22, r22, 1 lbl_801D5E80: /* 801D5E80 001D2DE0 80 1A 00 08 */ lwz r0, 8(r26) /* 801D5E84 001D2DE4 7C 16 00 00 */ cmpw r22, r0 /* 801D5E88 001D2DE8 41 80 FF B8 */ blt lbl_801D5E40 /* 801D5E8C 001D2DEC 38 61 00 48 */ addi r3, r1, 0x48 /* 801D5E90 001D2DF0 38 80 00 00 */ li r4, 0 /* 801D5E94 001D2DF4 48 16 AF AD */ bl __dt__6CTokenFv /* 801D5E98 001D2DF8 3B 39 00 4C */ addi r25, r25, 0x4c lbl_801D5E9C: /* 801D5E9C 001D2DFC 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801D5EA0 001D2E00 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801D5EA4 001D2E04 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801D5EA8 001D2E08 7C 03 02 14 */ add r0, r3, r0 /* 801D5EAC 001D2E0C 7C 19 00 40 */ cmplw r25, r0 /* 801D5EB0 001D2E10 40 82 FF 2C */ bne lbl_801D5DDC /* 801D5EB4 001D2E14 80 61 00 60 */ lwz r3, 0x60(r1) /* 801D5EB8 001D2E18 80 01 00 58 */ lwz r0, 0x58(r1) /* 801D5EBC 001D2E1C 90 61 00 0C */ stw r3, 0xc(r1) /* 801D5EC0 001D2E20 7C 83 02 14 */ add r4, r3, r0 /* 801D5EC4 001D2E24 7C 03 20 50 */ subf r0, r3, r4 /* 801D5EC8 001D2E28 90 81 00 14 */ stw r4, 0x14(r1) /* 801D5ECC 001D2E2C 90 81 00 10 */ stw r4, 0x10(r1) /* 801D5ED0 001D2E30 90 61 00 08 */ stw r3, 8(r1) /* 801D5ED4 001D2E34 7C 09 03 A6 */ mtctr r0 /* 801D5ED8 001D2E38 7C 03 20 40 */ cmplw r3, r4 /* 801D5EDC 001D2E3C 41 82 00 08 */ beq lbl_801D5EE4 lbl_801D5EE0: /* 801D5EE0 001D2E40 42 00 00 00 */ bdnz lbl_801D5EE0 lbl_801D5EE4: /* 801D5EE4 001D2E44 28 03 00 00 */ cmplwi r3, 0 /* 801D5EE8 001D2E48 41 82 00 08 */ beq lbl_801D5EF0 /* 801D5EEC 001D2E4C 48 13 FA 45 */ bl Free__7CMemoryFPCv lbl_801D5EF0: /* 801D5EF0 001D2E50 7F 83 E3 78 */ mr r3, r28 /* 801D5EF4 001D2E54 BA C1 00 78 */ lmw r22, 0x78(r1) /* 801D5EF8 001D2E58 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801D5EFC 001D2E5C 7C 08 03 A6 */ mtlr r0 /* 801D5F00 001D2E60 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801D5F04 001D2E64 4E 80 00 20 */ blr .global __ct__14CSystemOptionsFv __ct__14CSystemOptionsFv: /* 801D5F08 001D2E68 38 80 00 62 */ li r4, 0x62 /* 801D5F0C 001D2E6C 38 00 00 0E */ li r0, 0xe /* 801D5F10 001D2E70 90 83 00 00 */ stw r4, 0(r3) /* 801D5F14 001D2E74 38 A3 00 04 */ addi r5, r3, 4 /* 801D5F18 001D2E78 38 80 00 00 */ li r4, 0 /* 801D5F1C 001D2E7C 7C 09 03 A6 */ mtctr r0 lbl_801D5F20: /* 801D5F20 001D2E80 28 05 00 00 */ cmplwi r5, 0 /* 801D5F24 001D2E84 41 82 00 0C */ beq lbl_801D5F30 /* 801D5F28 001D2E88 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F2C 001D2E8C 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F30: /* 801D5F30 001D2E90 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5F34 001D2E94 41 82 00 0C */ beq lbl_801D5F40 /* 801D5F38 001D2E98 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F3C 001D2E9C 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F40: /* 801D5F40 001D2EA0 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5F44 001D2EA4 41 82 00 0C */ beq lbl_801D5F50 /* 801D5F48 001D2EA8 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F4C 001D2EAC 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F50: /* 801D5F50 001D2EB0 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5F54 001D2EB4 41 82 00 0C */ beq lbl_801D5F60 /* 801D5F58 001D2EB8 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F5C 001D2EBC 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F60: /* 801D5F60 001D2EC0 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5F64 001D2EC4 41 82 00 0C */ beq lbl_801D5F70 /* 801D5F68 001D2EC8 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F6C 001D2ECC 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F70: /* 801D5F70 001D2ED0 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5F74 001D2ED4 41 82 00 0C */ beq lbl_801D5F80 /* 801D5F78 001D2ED8 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F7C 001D2EDC 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F80: /* 801D5F80 001D2EE0 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5F84 001D2EE4 41 82 00 0C */ beq lbl_801D5F90 /* 801D5F88 001D2EE8 88 0D 91 98 */ lbz r0, lbl_805A7D58@sda21(r13) /* 801D5F8C 001D2EEC 98 05 00 00 */ stb r0, 0(r5) lbl_801D5F90: /* 801D5F90 001D2EF0 38 84 00 06 */ addi r4, r4, 6 /* 801D5F94 001D2EF4 38 A5 00 01 */ addi r5, r5, 1 /* 801D5F98 001D2EF8 42 00 FF 88 */ bdnz lbl_801D5F20 /* 801D5F9C 001D2EFC 38 80 00 40 */ li r4, 0x40 /* 801D5FA0 001D2F00 38 00 00 08 */ li r0, 8 /* 801D5FA4 001D2F04 90 83 00 68 */ stw r4, 0x68(r3) /* 801D5FA8 001D2F08 38 A3 00 6C */ addi r5, r3, 0x6c /* 801D5FAC 001D2F0C 38 80 00 00 */ li r4, 0 /* 801D5FB0 001D2F10 7C 09 03 A6 */ mtctr r0 lbl_801D5FB4: /* 801D5FB4 001D2F14 28 05 00 00 */ cmplwi r5, 0 /* 801D5FB8 001D2F18 41 82 00 0C */ beq lbl_801D5FC4 /* 801D5FBC 001D2F1C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D5FC0 001D2F20 98 05 00 00 */ stb r0, 0(r5) lbl_801D5FC4: /* 801D5FC4 001D2F24 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5FC8 001D2F28 41 82 00 0C */ beq lbl_801D5FD4 /* 801D5FCC 001D2F2C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D5FD0 001D2F30 98 05 00 00 */ stb r0, 0(r5) lbl_801D5FD4: /* 801D5FD4 001D2F34 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5FD8 001D2F38 41 82 00 0C */ beq lbl_801D5FE4 /* 801D5FDC 001D2F3C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D5FE0 001D2F40 98 05 00 00 */ stb r0, 0(r5) lbl_801D5FE4: /* 801D5FE4 001D2F44 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5FE8 001D2F48 41 82 00 0C */ beq lbl_801D5FF4 /* 801D5FEC 001D2F4C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D5FF0 001D2F50 98 05 00 00 */ stb r0, 0(r5) lbl_801D5FF4: /* 801D5FF4 001D2F54 34 A5 00 01 */ addic. r5, r5, 1 /* 801D5FF8 001D2F58 41 82 00 0C */ beq lbl_801D6004 /* 801D5FFC 001D2F5C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D6000 001D2F60 98 05 00 00 */ stb r0, 0(r5) lbl_801D6004: /* 801D6004 001D2F64 34 A5 00 01 */ addic. r5, r5, 1 /* 801D6008 001D2F68 41 82 00 0C */ beq lbl_801D6014 /* 801D600C 001D2F6C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D6010 001D2F70 98 05 00 00 */ stb r0, 0(r5) lbl_801D6014: /* 801D6014 001D2F74 34 A5 00 01 */ addic. r5, r5, 1 /* 801D6018 001D2F78 41 82 00 0C */ beq lbl_801D6024 /* 801D601C 001D2F7C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D6020 001D2F80 98 05 00 00 */ stb r0, 0(r5) lbl_801D6024: /* 801D6024 001D2F84 34 A5 00 01 */ addic. r5, r5, 1 /* 801D6028 001D2F88 41 82 00 0C */ beq lbl_801D6034 /* 801D602C 001D2F8C 88 0D 91 99 */ lbz r0, lbl_805A7D59@sda21(r13) /* 801D6030 001D2F90 98 05 00 00 */ stb r0, 0(r5) lbl_801D6034: /* 801D6034 001D2F94 38 84 00 07 */ addi r4, r4, 7 /* 801D6038 001D2F98 38 A5 00 01 */ addi r5, r5, 1 /* 801D603C 001D2F9C 42 00 FF 78 */ bdnz lbl_801D5FB4 /* 801D6040 001D2FA0 38 80 00 00 */ li r4, 0 /* 801D6044 001D2FA4 90 83 00 B0 */ stw r4, 0xb0(r3) /* 801D6048 001D2FA8 90 83 00 B4 */ stw r4, 0xb4(r3) /* 801D604C 001D2FAC 90 83 00 B8 */ stw r4, 0xb8(r3) /* 801D6050 001D2FB0 90 83 00 BC */ stw r4, 0xbc(r3) /* 801D6054 001D2FB4 90 83 00 C0 */ stw r4, 0xc0(r3) /* 801D6058 001D2FB8 90 83 00 C4 */ stw r4, 0xc4(r3) /* 801D605C 001D2FBC 90 83 00 C8 */ stw r4, 0xc8(r3) /* 801D6060 001D2FC0 90 83 00 CC */ stw r4, 0xcc(r3) /* 801D6064 001D2FC4 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D6068 001D2FC8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D606C 001D2FCC 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D6070 001D2FD0 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D6074 001D2FD4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801D6078 001D2FD8 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D607C 001D2FDC 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D6080 001D2FE0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801D6084 001D2FE4 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D6088 001D2FE8 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D608C 001D2FEC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801D6090 001D2FF0 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D6094 001D2FF4 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D6098 001D2FF8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801D609C 001D2FFC 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D60A0 001D3000 88 03 00 D0 */ lbz r0, 0xd0(r3) /* 801D60A4 001D3004 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801D60A8 001D3008 98 03 00 D0 */ stb r0, 0xd0(r3) /* 801D60AC 001D300C 4E 80 00 20 */ blr .global sub_801d60b0 sub_801d60b0: /* 801D60B0 001D3010 38 80 00 00 */ li r4, 0 /* 801D60B4 001D3014 48 00 00 0C */ b lbl_801D60C0 lbl_801D60B8: /* 801D60B8 001D3018 54 63 F8 7E */ srwi r3, r3, 1 /* 801D60BC 001D301C 38 84 00 01 */ addi r4, r4, 1 lbl_801D60C0: /* 801D60C0 001D3020 28 03 00 00 */ cmplwi r3, 0 /* 801D60C4 001D3024 40 82 FF F4 */ bne lbl_801D60B8 /* 801D60C8 001D3028 7C 83 23 78 */ mr r3, r4 /* 801D60CC 001D302C 4E 80 00 20 */ blr .global "Clamp__5CMathFRCdRCdRCd" "Clamp__5CMathFRCdRCdRCd": /* 801D60D0 001D3030 C8 03 00 00 */ lfd f0, 0(r3) /* 801D60D4 001D3034 C8 24 00 00 */ lfd f1, 0(r4) /* 801D60D8 001D3038 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D60DC 001D303C 4D 81 00 20 */ bgtlr /* 801D60E0 001D3040 C8 05 00 00 */ lfd f0, 0(r5) /* 801D60E4 001D3044 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D60E8 001D3048 40 80 00 0C */ bge lbl_801D60F4 /* 801D60EC 001D304C 7C A3 2B 78 */ mr r3, r5 /* 801D60F0 001D3050 4E 80 00 20 */ blr lbl_801D60F4: /* 801D60F4 001D3054 7C 83 23 78 */ mr r3, r4 /* 801D60F8 001D3058 4E 80 00 20 */ blr .global sub_801d60fc sub_801d60fc: /* 801D60FC 001D305C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D6100 001D3060 7C 08 02 A6 */ mflr r0 /* 801D6104 001D3064 90 01 00 34 */ stw r0, 0x34(r1) /* 801D6108 001D3068 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D610C 001D306C 7C 9F 23 78 */ mr r31, r4 /* 801D6110 001D3070 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D6114 001D3074 7C 7E 1B 78 */ mr r30, r3 /* 801D6118 001D3078 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D611C 001D307C 80 03 00 08 */ lwz r0, 8(r3) /* 801D6120 001D3080 7C 1F 00 00 */ cmpw r31, r0 /* 801D6124 001D3084 40 81 00 BC */ ble lbl_801D61E0 /* 801D6128 001D3088 1C 7F 00 0C */ mulli r3, r31, 0xc /* 801D612C 001D308C 2C 03 00 00 */ cmpwi r3, 0 /* 801D6130 001D3090 40 82 00 0C */ bne lbl_801D613C /* 801D6134 001D3094 3B A0 00 00 */ li r29, 0 /* 801D6138 001D3098 48 00 00 18 */ b lbl_801D6150 lbl_801D613C: /* 801D613C 001D309C 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D6140 001D30A0 38 A0 00 00 */ li r5, 0 /* 801D6144 001D30A4 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D6148 001D30A8 48 13 F6 D1 */ bl __nwa__FUlPCcPCc /* 801D614C 001D30AC 7C 7D 1B 78 */ mr r29, r3 lbl_801D6150: /* 801D6150 001D30B0 80 1E 00 04 */ lwz r0, 4(r30) /* 801D6154 001D30B4 7F A4 EB 78 */ mr r4, r29 /* 801D6158 001D30B8 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801D615C 001D30BC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D6160 001D30C0 90 A1 00 10 */ stw r5, 0x10(r1) /* 801D6164 001D30C4 7C 65 02 14 */ add r3, r5, r0 /* 801D6168 001D30C8 90 A1 00 14 */ stw r5, 0x14(r1) /* 801D616C 001D30CC 90 61 00 08 */ stw r3, 8(r1) /* 801D6170 001D30D0 90 61 00 0C */ stw r3, 0xc(r1) /* 801D6174 001D30D4 48 00 00 2C */ b lbl_801D61A0 lbl_801D6178: /* 801D6178 001D30D8 28 04 00 00 */ cmplwi r4, 0 /* 801D617C 001D30DC 41 82 00 1C */ beq lbl_801D6198 /* 801D6180 001D30E0 80 05 00 00 */ lwz r0, 0(r5) /* 801D6184 001D30E4 90 04 00 00 */ stw r0, 0(r4) /* 801D6188 001D30E8 C0 05 00 04 */ lfs f0, 4(r5) /* 801D618C 001D30EC D0 04 00 04 */ stfs f0, 4(r4) /* 801D6190 001D30F0 88 05 00 08 */ lbz r0, 8(r5) /* 801D6194 001D30F4 98 04 00 08 */ stb r0, 8(r4) lbl_801D6198: /* 801D6198 001D30F8 38 84 00 0C */ addi r4, r4, 0xc /* 801D619C 001D30FC 38 A5 00 0C */ addi r5, r5, 0xc lbl_801D61A0: /* 801D61A0 001D3100 7C 05 18 40 */ cmplw r5, r3 /* 801D61A4 001D3104 40 82 FF D4 */ bne lbl_801D6178 /* 801D61A8 001D3108 80 1E 00 04 */ lwz r0, 4(r30) /* 801D61AC 001D310C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801D61B0 001D3110 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D61B4 001D3114 7C 64 1B 78 */ mr r4, r3 /* 801D61B8 001D3118 7C 03 02 14 */ add r0, r3, r0 /* 801D61BC 001D311C 48 00 00 08 */ b lbl_801D61C4 lbl_801D61C0: /* 801D61C0 001D3120 38 84 00 0C */ addi r4, r4, 0xc lbl_801D61C4: /* 801D61C4 001D3124 7C 04 00 40 */ cmplw r4, r0 /* 801D61C8 001D3128 40 82 FF F8 */ bne lbl_801D61C0 /* 801D61CC 001D312C 28 03 00 00 */ cmplwi r3, 0 /* 801D61D0 001D3130 41 82 00 08 */ beq lbl_801D61D8 /* 801D61D4 001D3134 48 13 F7 5D */ bl Free__7CMemoryFPCv lbl_801D61D8: /* 801D61D8 001D3138 93 BE 00 0C */ stw r29, 0xc(r30) /* 801D61DC 001D313C 93 FE 00 08 */ stw r31, 8(r30) lbl_801D61E0: /* 801D61E0 001D3140 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D61E4 001D3144 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D61E8 001D3148 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D61EC 001D314C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D61F0 001D3150 7C 08 03 A6 */ mtlr r0 /* 801D61F4 001D3154 38 21 00 30 */ addi r1, r1, 0x30 /* 801D61F8 001D3158 4E 80 00 20 */ blr .global "reserve__Q24rstl37vectorFi" "reserve__Q24rstl37vectorFi": /* 801D61FC 001D315C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D6200 001D3160 7C 08 02 A6 */ mflr r0 /* 801D6204 001D3164 90 01 00 34 */ stw r0, 0x34(r1) /* 801D6208 001D3168 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D620C 001D316C 7C 9F 23 78 */ mr r31, r4 /* 801D6210 001D3170 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D6214 001D3174 7C 7E 1B 78 */ mr r30, r3 /* 801D6218 001D3178 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D621C 001D317C 80 03 00 08 */ lwz r0, 8(r3) /* 801D6220 001D3180 7C 1F 00 00 */ cmpw r31, r0 /* 801D6224 001D3184 40 81 00 A8 */ ble lbl_801D62CC /* 801D6228 001D3188 7F E3 FB 79 */ or. r3, r31, r31 /* 801D622C 001D318C 40 82 00 0C */ bne lbl_801D6238 /* 801D6230 001D3190 3B A0 00 00 */ li r29, 0 /* 801D6234 001D3194 48 00 00 18 */ b lbl_801D624C lbl_801D6238: /* 801D6238 001D3198 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D623C 001D319C 38 A0 00 00 */ li r5, 0 /* 801D6240 001D31A0 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D6244 001D31A4 48 13 F5 D5 */ bl __nwa__FUlPCcPCc /* 801D6248 001D31A8 7C 7D 1B 78 */ mr r29, r3 lbl_801D624C: /* 801D624C 001D31AC 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801D6250 001D31B0 7F A4 EB 78 */ mr r4, r29 /* 801D6254 001D31B4 80 1E 00 04 */ lwz r0, 4(r30) /* 801D6258 001D31B8 90 A1 00 10 */ stw r5, 0x10(r1) /* 801D625C 001D31BC 7C 65 02 14 */ add r3, r5, r0 /* 801D6260 001D31C0 7C 05 18 50 */ subf r0, r5, r3 /* 801D6264 001D31C4 90 61 00 08 */ stw r3, 8(r1) /* 801D6268 001D31C8 90 61 00 0C */ stw r3, 0xc(r1) /* 801D626C 001D31CC 90 A1 00 14 */ stw r5, 0x14(r1) /* 801D6270 001D31D0 7C 09 03 A6 */ mtctr r0 /* 801D6274 001D31D4 7C 05 18 40 */ cmplw r5, r3 /* 801D6278 001D31D8 41 82 00 20 */ beq lbl_801D6298 lbl_801D627C: /* 801D627C 001D31DC 28 04 00 00 */ cmplwi r4, 0 /* 801D6280 001D31E0 41 82 00 0C */ beq lbl_801D628C /* 801D6284 001D31E4 88 05 00 00 */ lbz r0, 0(r5) /* 801D6288 001D31E8 98 04 00 00 */ stb r0, 0(r4) lbl_801D628C: /* 801D628C 001D31EC 38 84 00 01 */ addi r4, r4, 1 /* 801D6290 001D31F0 38 A5 00 01 */ addi r5, r5, 1 /* 801D6294 001D31F4 42 00 FF E8 */ bdnz lbl_801D627C lbl_801D6298: /* 801D6298 001D31F8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801D629C 001D31FC 80 1E 00 04 */ lwz r0, 4(r30) /* 801D62A0 001D3200 7C 83 02 14 */ add r4, r3, r0 /* 801D62A4 001D3204 7C 03 20 50 */ subf r0, r3, r4 /* 801D62A8 001D3208 7C 09 03 A6 */ mtctr r0 /* 801D62AC 001D320C 7C 03 20 40 */ cmplw r3, r4 /* 801D62B0 001D3210 41 82 00 08 */ beq lbl_801D62B8 lbl_801D62B4: /* 801D62B4 001D3214 42 00 00 00 */ bdnz lbl_801D62B4 lbl_801D62B8: /* 801D62B8 001D3218 28 03 00 00 */ cmplwi r3, 0 /* 801D62BC 001D321C 41 82 00 08 */ beq lbl_801D62C4 /* 801D62C0 001D3220 48 13 F6 71 */ bl Free__7CMemoryFPCv lbl_801D62C4: /* 801D62C4 001D3224 93 BE 00 0C */ stw r29, 0xc(r30) /* 801D62C8 001D3228 93 FE 00 08 */ stw r31, 8(r30) lbl_801D62CC: /* 801D62CC 001D322C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D62D0 001D3230 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D62D4 001D3234 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D62D8 001D3238 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D62DC 001D323C 7C 08 03 A6 */ mtlr r0 /* 801D62E0 001D3240 38 21 00 30 */ addi r1, r1, 0x30 /* 801D62E4 001D3244 4E 80 00 20 */ blr .global "reserve__Q24rstl48vector<11CWorldState,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl48vector<11CWorldState,Q24rstl17rmemory_allocator>Fi": /* 801D62E8 001D3248 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D62EC 001D324C 7C 08 02 A6 */ mflr r0 /* 801D62F0 001D3250 90 01 00 34 */ stw r0, 0x34(r1) /* 801D62F4 001D3254 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801D62F8 001D3258 7C 9E 23 78 */ mr r30, r4 /* 801D62FC 001D325C 7C 7D 1B 78 */ mr r29, r3 /* 801D6300 001D3260 80 03 00 08 */ lwz r0, 8(r3) /* 801D6304 001D3264 7C 1E 00 00 */ cmpw r30, r0 /* 801D6308 001D3268 40 81 00 E8 */ ble lbl_801D63F0 /* 801D630C 001D326C 1C 7E 00 18 */ mulli r3, r30, 0x18 /* 801D6310 001D3270 2C 03 00 00 */ cmpwi r3, 0 /* 801D6314 001D3274 40 82 00 0C */ bne lbl_801D6320 /* 801D6318 001D3278 3B E0 00 00 */ li r31, 0 /* 801D631C 001D327C 48 00 00 18 */ b lbl_801D6334 lbl_801D6320: /* 801D6320 001D3280 3C 80 80 3D */ lis r4, lbl_803D1B88@ha /* 801D6324 001D3284 38 A0 00 00 */ li r5, 0 /* 801D6328 001D3288 38 84 1B 88 */ addi r4, r4, lbl_803D1B88@l /* 801D632C 001D328C 48 13 F4 ED */ bl __nwa__FUlPCcPCc /* 801D6330 001D3290 7C 7F 1B 78 */ mr r31, r3 lbl_801D6334: /* 801D6334 001D3294 80 1D 00 04 */ lwz r0, 4(r29) /* 801D6338 001D3298 7F E5 FB 78 */ mr r5, r31 /* 801D633C 001D329C 80 DD 00 0C */ lwz r6, 0xc(r29) /* 801D6340 001D32A0 38 61 00 14 */ addi r3, r1, 0x14 /* 801D6344 001D32A4 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801D6348 001D32A8 38 81 00 0C */ addi r4, r1, 0xc /* 801D634C 001D32AC 7C C6 02 14 */ add r6, r6, r0 /* 801D6350 001D32B0 90 C1 00 0C */ stw r6, 0xc(r1) /* 801D6354 001D32B4 80 1D 00 0C */ lwz r0, 0xc(r29) /* 801D6358 001D32B8 90 C1 00 08 */ stw r6, 8(r1) /* 801D635C 001D32BC 90 01 00 10 */ stw r0, 0x10(r1) /* 801D6360 001D32C0 90 01 00 14 */ stw r0, 0x14(r1) /* 801D6364 001D32C4 48 00 00 A1 */ bl sub_801d6404 /* 801D6368 001D32C8 80 1D 00 04 */ lwz r0, 4(r29) /* 801D636C 001D32CC 83 7D 00 0C */ lwz r27, 0xc(r29) /* 801D6370 001D32D0 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801D6374 001D32D4 7F 9B 02 14 */ add r28, r27, r0 /* 801D6378 001D32D8 48 00 00 58 */ b lbl_801D63D0 lbl_801D637C: /* 801D637C 001D32DC 28 1B 00 00 */ cmplwi r27, 0 /* 801D6380 001D32E0 41 82 00 4C */ beq lbl_801D63CC /* 801D6384 001D32E4 34 1B 00 14 */ addic. r0, r27, 0x14 /* 801D6388 001D32E8 41 82 00 14 */ beq lbl_801D639C /* 801D638C 001D32EC 34 1B 00 14 */ addic. r0, r27, 0x14 /* 801D6390 001D32F0 41 82 00 0C */ beq lbl_801D639C /* 801D6394 001D32F4 38 7B 00 14 */ addi r3, r27, 0x14 /* 801D6398 001D32F8 4B E3 2A 35 */ bl sub_80008dcc lbl_801D639C: /* 801D639C 001D32FC 34 1B 00 0C */ addic. r0, r27, 0xc /* 801D63A0 001D3300 41 82 00 14 */ beq lbl_801D63B4 /* 801D63A4 001D3304 34 1B 00 0C */ addic. r0, r27, 0xc /* 801D63A8 001D3308 41 82 00 0C */ beq lbl_801D63B4 /* 801D63AC 001D330C 38 7B 00 0C */ addi r3, r27, 0xc /* 801D63B0 001D3310 4B E3 28 8D */ bl sub_80008c3c lbl_801D63B4: /* 801D63B4 001D3314 34 1B 00 08 */ addic. r0, r27, 8 /* 801D63B8 001D3318 41 82 00 14 */ beq lbl_801D63CC /* 801D63BC 001D331C 34 1B 00 08 */ addic. r0, r27, 8 /* 801D63C0 001D3320 41 82 00 0C */ beq lbl_801D63CC /* 801D63C4 001D3324 38 7B 00 08 */ addi r3, r27, 8 /* 801D63C8 001D3328 4B E3 22 79 */ bl __dt__11CWorldStateFv lbl_801D63CC: /* 801D63CC 001D332C 3B 7B 00 18 */ addi r27, r27, 0x18 lbl_801D63D0: /* 801D63D0 001D3330 7C 1B E0 40 */ cmplw r27, r28 /* 801D63D4 001D3334 40 82 FF A8 */ bne lbl_801D637C /* 801D63D8 001D3338 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801D63DC 001D333C 28 03 00 00 */ cmplwi r3, 0 /* 801D63E0 001D3340 41 82 00 08 */ beq lbl_801D63E8 /* 801D63E4 001D3344 48 13 F5 4D */ bl Free__7CMemoryFPCv lbl_801D63E8: /* 801D63E8 001D3348 93 FD 00 0C */ stw r31, 0xc(r29) /* 801D63EC 001D334C 93 DD 00 08 */ stw r30, 8(r29) lbl_801D63F0: /* 801D63F0 001D3350 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801D63F4 001D3354 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D63F8 001D3358 7C 08 03 A6 */ mtlr r0 /* 801D63FC 001D335C 38 21 00 30 */ addi r1, r1, 0x30 /* 801D6400 001D3360 4E 80 00 20 */ blr .global sub_801d6404 sub_801d6404: /* 801D6404 001D3364 80 E3 00 00 */ lwz r7, 0(r3) /* 801D6408 001D3368 48 00 00 74 */ b lbl_801D647C lbl_801D640C: /* 801D640C 001D336C 28 05 00 00 */ cmplwi r5, 0 /* 801D6410 001D3370 41 82 00 64 */ beq lbl_801D6474 /* 801D6414 001D3374 80 07 00 00 */ lwz r0, 0(r7) /* 801D6418 001D3378 90 05 00 00 */ stw r0, 0(r5) /* 801D641C 001D337C 80 07 00 04 */ lwz r0, 4(r7) /* 801D6420 001D3380 90 05 00 04 */ stw r0, 4(r5) /* 801D6424 001D3384 80 07 00 08 */ lwz r0, 8(r7) /* 801D6428 001D3388 90 05 00 08 */ stw r0, 8(r5) /* 801D642C 001D338C 80 C5 00 08 */ lwz r6, 8(r5) /* 801D6430 001D3390 80 66 00 04 */ lwz r3, 4(r6) /* 801D6434 001D3394 38 03 00 01 */ addi r0, r3, 1 /* 801D6438 001D3398 90 06 00 04 */ stw r0, 4(r6) /* 801D643C 001D339C 80 07 00 0C */ lwz r0, 0xc(r7) /* 801D6440 001D33A0 90 05 00 0C */ stw r0, 0xc(r5) /* 801D6444 001D33A4 80 C5 00 0C */ lwz r6, 0xc(r5) /* 801D6448 001D33A8 80 66 00 04 */ lwz r3, 4(r6) /* 801D644C 001D33AC 38 03 00 01 */ addi r0, r3, 1 /* 801D6450 001D33B0 90 06 00 04 */ stw r0, 4(r6) /* 801D6454 001D33B4 80 07 00 10 */ lwz r0, 0x10(r7) /* 801D6458 001D33B8 90 05 00 10 */ stw r0, 0x10(r5) /* 801D645C 001D33BC 80 07 00 14 */ lwz r0, 0x14(r7) /* 801D6460 001D33C0 90 05 00 14 */ stw r0, 0x14(r5) /* 801D6464 001D33C4 80 C5 00 14 */ lwz r6, 0x14(r5) /* 801D6468 001D33C8 80 66 00 04 */ lwz r3, 4(r6) /* 801D646C 001D33CC 38 03 00 01 */ addi r0, r3, 1 /* 801D6470 001D33D0 90 06 00 04 */ stw r0, 4(r6) lbl_801D6474: /* 801D6474 001D33D4 38 A5 00 18 */ addi r5, r5, 0x18 /* 801D6478 001D33D8 38 E7 00 18 */ addi r7, r7, 0x18 lbl_801D647C: /* 801D647C 001D33DC 80 04 00 00 */ lwz r0, 0(r4) /* 801D6480 001D33E0 7C 07 00 40 */ cmplw r7, r0 /* 801D6484 001D33E4 40 82 FF 88 */ bne lbl_801D640C /* 801D6488 001D33E8 7C A3 2B 78 */ mr r3, r5 /* 801D648C 001D33EC 4E 80 00 20 */ blr .global Render__17CScriptVisorFlareCFRC13CStateManager Render__17CScriptVisorFlareCFRC13CStateManager: /* 801D6490 001D33F0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D6494 001D33F4 7C 08 02 A6 */ mflr r0 /* 801D6498 001D33F8 7C 85 23 78 */ mr r5, r4 /* 801D649C 001D33FC 7C 66 1B 78 */ mr r6, r3 /* 801D64A0 001D3400 90 01 00 24 */ stw r0, 0x24(r1) /* 801D64A4 001D3404 38 81 00 08 */ addi r4, r1, 8 /* 801D64A8 001D3408 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801D64AC 001D340C C0 23 00 50 */ lfs f1, 0x50(r3) /* 801D64B0 001D3410 38 66 00 E8 */ addi r3, r6, 0xe8 /* 801D64B4 001D3414 C0 06 00 40 */ lfs f0, 0x40(r6) /* 801D64B8 001D3418 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801D64BC 001D341C D0 01 00 08 */ stfs f0, 8(r1) /* 801D64C0 001D3420 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801D64C4 001D3424 48 03 15 BD */ bl Render__11CVisorFlareCFRC9CVector3fRC13CStateManager /* 801D64C8 001D3428 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D64CC 001D342C 7C 08 03 A6 */ mtlr r0 /* 801D64D0 001D3430 38 21 00 20 */ addi r1, r1, 0x20 /* 801D64D4 001D3434 4E 80 00 20 */ blr .global AddToRenderer__17CScriptVisorFlareCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__17CScriptVisorFlareCFRC14CFrustumPlanesRC13CStateManager: /* 801D64D8 001D3438 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D64DC 001D343C 7C 08 02 A6 */ mflr r0 /* 801D64E0 001D3440 90 01 00 44 */ stw r0, 0x44(r1) /* 801D64E4 001D3444 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D64E8 001D3448 7C BF 2B 78 */ mr r31, r5 /* 801D64EC 001D344C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D64F0 001D3450 7C 7E 1B 78 */ mr r30, r3 /* 801D64F4 001D3454 88 03 01 1C */ lbz r0, 0x11c(r3) /* 801D64F8 001D3458 28 00 00 00 */ cmplwi r0, 0 /* 801D64FC 001D345C 41 82 00 4C */ beq lbl_801D6548 /* 801D6500 001D3460 80 DF 08 4C */ lwz r6, 0x84c(r31) /* 801D6504 001D3464 7F C4 F3 78 */ mr r4, r30 /* 801D6508 001D3468 38 61 00 14 */ addi r3, r1, 0x14 /* 801D650C 001D346C C0 46 00 60 */ lfs f2, 0x60(r6) /* 801D6510 001D3470 C0 26 00 50 */ lfs f1, 0x50(r6) /* 801D6514 001D3474 C0 06 00 40 */ lfs f0, 0x40(r6) /* 801D6518 001D3478 D0 01 00 08 */ stfs f0, 8(r1) /* 801D651C 001D347C D0 21 00 0C */ stfs f1, 0xc(r1) /* 801D6520 001D3480 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801D6524 001D3484 81 9E 00 00 */ lwz r12, 0(r30) /* 801D6528 001D3488 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801D652C 001D348C 7D 89 03 A6 */ mtctr r12 /* 801D6530 001D3490 4E 80 04 21 */ bctrl /* 801D6534 001D3494 7F C3 F3 78 */ mr r3, r30 /* 801D6538 001D3498 7F E4 FB 78 */ mr r4, r31 /* 801D653C 001D349C 38 A1 00 08 */ addi r5, r1, 8 /* 801D6540 001D34A0 38 C1 00 14 */ addi r6, r1, 0x14 /* 801D6544 001D34A4 4B E7 E5 65 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f lbl_801D6548: /* 801D6548 001D34A8 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D654C 001D34AC 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D6550 001D34B0 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D6554 001D34B4 7C 08 03 A6 */ mtlr r0 /* 801D6558 001D34B8 38 21 00 40 */ addi r1, r1, 0x40 /* 801D655C 001D34BC 4E 80 00 20 */ blr .global PreRender__17CScriptVisorFlareFR13CStateManagerRC14CFrustumPlanes PreRender__17CScriptVisorFlareFR13CStateManagerRC14CFrustumPlanes: /* 801D6560 001D34C0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D6564 001D34C4 7C 08 02 A6 */ mflr r0 /* 801D6568 001D34C8 90 01 00 24 */ stw r0, 0x24(r1) /* 801D656C 001D34CC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D6570 001D34D0 7C 7F 1B 78 */ mr r31, r3 /* 801D6574 001D34D4 A0 03 00 08 */ lhz r0, 8(r3) /* 801D6578 001D34D8 7C 83 23 78 */ mr r3, r4 /* 801D657C 001D34DC 38 81 00 08 */ addi r4, r1, 8 /* 801D6580 001D34E0 B0 01 00 08 */ sth r0, 8(r1) /* 801D6584 001D34E4 4B E6 E3 55 */ bl RenderLast__13CStateManagerFRC9TUniqueId /* 801D6588 001D34E8 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801D658C 001D34EC 7C 00 00 34 */ cntlzw r0, r0 /* 801D6590 001D34F0 54 00 D9 7E */ srwi r0, r0, 5 /* 801D6594 001D34F4 98 1F 01 1C */ stb r0, 0x11c(r31) /* 801D6598 001D34F8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D659C 001D34FC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D65A0 001D3500 7C 08 03 A6 */ mtlr r0 /* 801D65A4 001D3504 38 21 00 20 */ addi r1, r1, 0x20 /* 801D65A8 001D3508 4E 80 00 20 */ blr .global AcceptScriptMsg__17CScriptVisorFlareF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__17CScriptVisorFlareF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801D65AC 001D350C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D65B0 001D3510 7C 08 02 A6 */ mflr r0 /* 801D65B4 001D3514 90 01 00 14 */ stw r0, 0x14(r1) /* 801D65B8 001D3518 A0 05 00 00 */ lhz r0, 0(r5) /* 801D65BC 001D351C 38 A1 00 08 */ addi r5, r1, 8 /* 801D65C0 001D3520 B0 01 00 08 */ sth r0, 8(r1) /* 801D65C4 001D3524 4B E7 D0 51 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801D65C8 001D3528 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D65CC 001D352C 7C 08 03 A6 */ mtlr r0 /* 801D65D0 001D3530 38 21 00 10 */ addi r1, r1, 0x10 /* 801D65D4 001D3534 4E 80 00 20 */ blr .global Think__17CScriptVisorFlareFfR13CStateManager Think__17CScriptVisorFlareFfR13CStateManager: /* 801D65D8 001D3538 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D65DC 001D353C 7C 08 02 A6 */ mflr r0 /* 801D65E0 001D3540 90 01 00 24 */ stw r0, 0x24(r1) /* 801D65E4 001D3544 88 03 00 30 */ lbz r0, 0x30(r3) /* 801D65E8 001D3548 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D65EC 001D354C 41 82 00 30 */ beq lbl_801D661C /* 801D65F0 001D3550 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801D65F4 001D3554 7C 65 1B 78 */ mr r5, r3 /* 801D65F8 001D3558 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801D65FC 001D355C 7C 86 23 78 */ mr r6, r4 /* 801D6600 001D3560 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D6604 001D3564 38 63 00 E8 */ addi r3, r3, 0xe8 /* 801D6608 001D3568 38 81 00 08 */ addi r4, r1, 8 /* 801D660C 001D356C D0 01 00 08 */ stfs f0, 8(r1) /* 801D6610 001D3570 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801D6614 001D3574 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801D6618 001D3578 48 03 19 41 */ bl Update__11CVisorFlareFfRC9CVector3fPC6CActorR13CStateManager lbl_801D661C: /* 801D661C 001D357C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D6620 001D3580 7C 08 03 A6 */ mtlr r0 /* 801D6624 001D3584 38 21 00 20 */ addi r1, r1, 0x20 /* 801D6628 001D3588 4E 80 00 20 */ blr .global Accept__17CScriptVisorFlareFR8IVisitor Accept__17CScriptVisorFlareFR8IVisitor: /* 801D662C 001D358C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D6630 001D3590 7C 08 02 A6 */ mflr r0 /* 801D6634 001D3594 90 01 00 14 */ stw r0, 0x14(r1) /* 801D6638 001D3598 7C 60 1B 78 */ mr r0, r3 /* 801D663C 001D359C 7C 83 23 78 */ mr r3, r4 /* 801D6640 001D35A0 81 84 00 00 */ lwz r12, 0(r4) /* 801D6644 001D35A4 7C 04 03 78 */ mr r4, r0 /* 801D6648 001D35A8 81 8C 00 D0 */ lwz r12, 0xd0(r12) /* 801D664C 001D35AC 7D 89 03 A6 */ mtctr r12 /* 801D6650 001D35B0 4E 80 04 21 */ bctrl /* 801D6654 001D35B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D6658 001D35B8 7C 08 03 A6 */ mtlr r0 /* 801D665C 001D35BC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D6660 001D35C0 4E 80 00 20 */ blr .global __dt__17CScriptVisorFlareFv __dt__17CScriptVisorFlareFv: /* 801D6664 001D35C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D6668 001D35C8 7C 08 02 A6 */ mflr r0 /* 801D666C 001D35CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D6670 001D35D0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D6674 001D35D4 7C 9F 23 78 */ mr r31, r4 /* 801D6678 001D35D8 93 C1 00 08 */ stw r30, 8(r1) /* 801D667C 001D35DC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D6680 001D35E0 41 82 00 38 */ beq lbl_801D66B8 /* 801D6684 001D35E4 3C 80 80 3E */ lis r4, lbl_803E5830@ha /* 801D6688 001D35E8 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801D668C 001D35EC 38 04 58 30 */ addi r0, r4, lbl_803E5830@l /* 801D6690 001D35F0 38 80 FF FF */ li r4, -1 /* 801D6694 001D35F4 90 1E 00 00 */ stw r0, 0(r30) /* 801D6698 001D35F8 48 00 00 3D */ bl sub_801d66d4 /* 801D669C 001D35FC 7F C3 F3 78 */ mr r3, r30 /* 801D66A0 001D3600 38 80 00 00 */ li r4, 0 /* 801D66A4 001D3604 4B E7 F0 4D */ bl __dt__6CActorFv /* 801D66A8 001D3608 7F E0 07 35 */ extsh. r0, r31 /* 801D66AC 001D360C 40 81 00 0C */ ble lbl_801D66B8 /* 801D66B0 001D3610 7F C3 F3 78 */ mr r3, r30 /* 801D66B4 001D3614 48 13 F2 7D */ bl Free__7CMemoryFPCv lbl_801D66B8: /* 801D66B8 001D3618 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D66BC 001D361C 7F C3 F3 78 */ mr r3, r30 /* 801D66C0 001D3620 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D66C4 001D3624 83 C1 00 08 */ lwz r30, 8(r1) /* 801D66C8 001D3628 7C 08 03 A6 */ mtlr r0 /* 801D66CC 001D362C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D66D0 001D3630 4E 80 00 20 */ blr .global sub_801d66d4 sub_801d66d4: /* 801D66D4 001D3634 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D66D8 001D3638 7C 08 02 A6 */ mflr r0 /* 801D66DC 001D363C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D66E0 001D3640 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D66E4 001D3644 7C 9F 23 78 */ mr r31, r4 /* 801D66E8 001D3648 93 C1 00 08 */ stw r30, 8(r1) /* 801D66EC 001D364C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D66F0 001D3650 41 82 00 20 */ beq lbl_801D6710 /* 801D66F4 001D3654 38 7E 00 04 */ addi r3, r30, 4 /* 801D66F8 001D3658 38 80 FF FF */ li r4, -1 /* 801D66FC 001D365C 4B EF 70 BD */ bl sub_800cd7b8 /* 801D6700 001D3660 7F E0 07 35 */ extsh. r0, r31 /* 801D6704 001D3664 40 81 00 0C */ ble lbl_801D6710 /* 801D6708 001D3668 7F C3 F3 78 */ mr r3, r30 /* 801D670C 001D366C 48 13 F2 25 */ bl Free__7CMemoryFPCv lbl_801D6710: /* 801D6710 001D3670 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D6714 001D3674 7F C3 F3 78 */ mr r3, r30 /* 801D6718 001D3678 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D671C 001D367C 83 C1 00 08 */ lwz r30, 8(r1) /* 801D6720 001D3680 7C 08 03 A6 */ mtlr r0 /* 801D6724 001D3684 38 21 00 10 */ addi r1, r1, 0x10 /* 801D6728 001D3688 4E 80 00 20 */ blr .global "__ct__17CScriptVisorFlareF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC9CVector3fQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector" "__ct__17CScriptVisorFlareF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC9CVector3fQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector": /* 801D672C 001D368C 94 21 FE B0 */ stwu r1, -0x150(r1) /* 801D6730 001D3690 7C 08 02 A6 */ mflr r0 /* 801D6734 001D3694 90 01 01 54 */ stw r0, 0x154(r1) /* 801D6738 001D3698 DB E1 01 48 */ stfd f31, 0x148(r1) /* 801D673C 001D369C FF E0 18 90 */ fmr f31, f3 /* 801D6740 001D36A0 DB C1 01 40 */ stfd f30, 0x140(r1) /* 801D6744 001D36A4 FF C0 10 90 */ fmr f30, f2 /* 801D6748 001D36A8 DB A1 01 38 */ stfd f29, 0x138(r1) /* 801D674C 001D36AC FF A0 08 90 */ fmr f29, f1 /* 801D6750 001D36B0 BE A1 01 0C */ stmw r21, 0x10c(r1) /* 801D6754 001D36B4 7C 76 1B 78 */ mr r22, r3 /* 801D6758 001D36B8 83 A1 01 58 */ lwz r29, 0x158(r1) /* 801D675C 001D36BC 7C 95 23 78 */ mr r21, r4 /* 801D6760 001D36C0 83 C1 01 5C */ lwz r30, 0x15c(r1) /* 801D6764 001D36C4 7C B7 2B 78 */ mr r23, r5 /* 801D6768 001D36C8 83 E1 01 60 */ lwz r31, 0x160(r1) /* 801D676C 001D36CC 7C D8 33 78 */ mr r24, r6 /* 801D6770 001D36D0 7C F9 3B 78 */ mr r25, r7 /* 801D6774 001D36D4 7D 1A 43 78 */ mr r26, r8 /* 801D6778 001D36D8 7D 3B 4B 78 */ mr r27, r9 /* 801D677C 001D36DC 7D 5C 53 78 */ mr r28, r10 /* 801D6780 001D36E0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801D6784 001D36E4 4B E6 40 21 */ bl CModelDataNull__10CModelDataFv /* 801D6788 001D36E8 38 61 00 50 */ addi r3, r1, 0x50 /* 801D678C 001D36EC 4B E4 46 AD */ bl None__16CActorParametersFv /* 801D6790 001D36F0 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801D6794 001D36F4 38 00 00 00 */ li r0, 0 /* 801D6798 001D36F8 80 AD 91 B8 */ lwz r5, lbl_805A7D78@sda21(r13) /* 801D679C 001D36FC 38 60 00 00 */ li r3, 0 /* 801D67A0 001D3700 B0 81 00 10 */ sth r4, 0x10(r1) /* 801D67A4 001D3704 38 80 00 01 */ li r4, 1 /* 801D67A8 001D3708 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D67AC 001D370C 90 01 00 18 */ stw r0, 0x18(r1) /* 801D67B0 001D3710 48 1B 37 45 */ bl __shl2i /* 801D67B4 001D3714 80 01 00 18 */ lwz r0, 0x18(r1) /* 801D67B8 001D3718 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801D67BC 001D371C 7C 03 1B 78 */ or r3, r0, r3 /* 801D67C0 001D3720 A0 15 00 00 */ lhz r0, 0(r21) /* 801D67C4 001D3724 7C A5 23 78 */ or r5, r5, r4 /* 801D67C8 001D3728 90 61 00 18 */ stw r3, 0x18(r1) /* 801D67CC 001D372C 7F 44 D3 78 */ mr r4, r26 /* 801D67D0 001D3730 38 61 00 20 */ addi r3, r1, 0x20 /* 801D67D4 001D3734 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801D67D8 001D3738 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D67DC 001D373C 48 13 C9 65 */ bl Translate__12CTransform4fFRC9CVector3f /* 801D67E0 001D3740 38 61 00 50 */ addi r3, r1, 0x50 /* 801D67E4 001D3744 38 01 00 10 */ addi r0, r1, 0x10 /* 801D67E8 001D3748 90 61 00 08 */ stw r3, 8(r1) /* 801D67EC 001D374C 7E C3 B3 78 */ mr r3, r22 /* 801D67F0 001D3750 7F 25 CB 78 */ mr r5, r25 /* 801D67F4 001D3754 7E E6 BB 78 */ mr r6, r23 /* 801D67F8 001D3758 90 01 00 0C */ stw r0, 0xc(r1) /* 801D67FC 001D375C 7F 07 C3 78 */ mr r7, r24 /* 801D6800 001D3760 38 81 00 14 */ addi r4, r1, 0x14 /* 801D6804 001D3764 39 01 00 20 */ addi r8, r1, 0x20 /* 801D6808 001D3768 39 21 00 B8 */ addi r9, r1, 0xb8 /* 801D680C 001D376C 39 41 00 18 */ addi r10, r1, 0x18 /* 801D6810 001D3770 4B E7 F0 11 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801D6814 001D3774 38 61 00 50 */ addi r3, r1, 0x50 /* 801D6818 001D3778 38 80 FF FF */ li r4, -1 /* 801D681C 001D377C 4B F2 FD ED */ bl __dt__16CActorParametersFv /* 801D6820 001D3780 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801D6824 001D3784 38 80 FF FF */ li r4, -1 /* 801D6828 001D3788 4B F4 02 25 */ bl __dt__10CModelDataFv /* 801D682C 001D378C 3C 60 80 3E */ lis r3, lbl_803E5830@ha /* 801D6830 001D3790 FC 20 E8 90 */ fmr f1, f29 /* 801D6834 001D3794 38 03 58 30 */ addi r0, r3, lbl_803E5830@l /* 801D6838 001D3798 FC 40 F0 90 */ fmr f2, f30 /* 801D683C 001D379C FC 60 F8 90 */ fmr f3, f31 /* 801D6840 001D37A0 90 16 00 00 */ stw r0, 0(r22) /* 801D6844 001D37A4 7F 64 DB 78 */ mr r4, r27 /* 801D6848 001D37A8 7F 85 E3 78 */ mr r5, r28 /* 801D684C 001D37AC 7F A6 EB 78 */ mr r6, r29 /* 801D6850 001D37B0 7F C7 F3 78 */ mr r7, r30 /* 801D6854 001D37B4 7F E8 FB 78 */ mr r8, r31 /* 801D6858 001D37B8 38 76 00 E8 */ addi r3, r22, 0xe8 /* 801D685C 001D37BC 48 03 1A 7D */ bl "__ct__11CVisorFlareFQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector" /* 801D6860 001D37C0 38 00 00 01 */ li r0, 1 /* 801D6864 001D37C4 38 80 00 02 */ li r4, 2 /* 801D6868 001D37C8 98 16 01 1C */ stb r0, 0x11c(r22) /* 801D686C 001D37CC 7E C3 B3 78 */ mr r3, r22 /* 801D6870 001D37D0 88 16 00 E6 */ lbz r0, 0xe6(r22) /* 801D6874 001D37D4 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c /* 801D6878 001D37D8 98 16 00 E6 */ stb r0, 0xe6(r22) /* 801D687C 001D37DC CB E1 01 48 */ lfd f31, 0x148(r1) /* 801D6880 001D37E0 CB C1 01 40 */ lfd f30, 0x140(r1) /* 801D6884 001D37E4 CB A1 01 38 */ lfd f29, 0x138(r1) /* 801D6888 001D37E8 BA A1 01 0C */ lmw r21, 0x10c(r1) /* 801D688C 001D37EC 80 01 01 54 */ lwz r0, 0x154(r1) /* 801D6890 001D37F0 7C 08 03 A6 */ mtlr r0 /* 801D6894 001D37F4 38 21 01 50 */ addi r1, r1, 0x150 /* 801D6898 001D37F8 4E 80 00 20 */ blr .global StartTransition__22CScriptWorldTeleporterFv StartTransition__22CScriptWorldTeleporterFv: /* 801D689C 001D37FC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D68A0 001D3800 7C 08 02 A6 */ mflr r0 /* 801D68A4 001D3804 90 01 00 34 */ stw r0, 0x34(r1) /* 801D68A8 001D3808 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D68AC 001D380C 7C 7F 1B 78 */ mr r31, r3 /* 801D68B0 001D3810 88 A3 00 40 */ lbz r5, 0x40(r3) /* 801D68B4 001D3814 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f /* 801D68B8 001D3818 40 82 00 DC */ bne lbl_801D6994 /* 801D68BC 001D381C 80 FF 00 3C */ lwz r7, 0x3c(r31) /* 801D68C0 001D3820 80 64 08 C4 */ lwz r3, 0x8c4(r4) /* 801D68C4 001D3824 2C 07 00 01 */ cmpwi r7, 1 /* 801D68C8 001D3828 80 63 00 00 */ lwz r3, 0(r3) /* 801D68CC 001D382C 40 82 00 84 */ bne lbl_801D6950 /* 801D68D0 001D3830 80 DF 00 50 */ lwz r6, 0x50(r31) /* 801D68D4 001D3834 3C 06 00 01 */ addis r0, r6, 1 /* 801D68D8 001D3838 28 00 FF FF */ cmplwi r0, 0xffff /* 801D68DC 001D383C 41 82 00 74 */ beq lbl_801D6950 /* 801D68E0 001D3840 81 5F 00 54 */ lwz r10, 0x54(r31) /* 801D68E4 001D3844 3C 0A 00 01 */ addis r0, r10, 1 /* 801D68E8 001D3848 28 00 FF FF */ cmplwi r0, 0xffff /* 801D68EC 001D384C 41 82 00 64 */ beq lbl_801D6950 /* 801D68F0 001D3850 80 FF 00 58 */ lwz r7, 0x58(r31) /* 801D68F4 001D3854 38 00 00 01 */ li r0, 1 /* 801D68F8 001D3858 54 A9 CF FE */ rlwinm r9, r5, 0x19, 0x1f, 0x1f /* 801D68FC 001D385C 38 81 00 08 */ addi r4, r1, 8 /* 801D6900 001D3860 90 C1 00 08 */ stw r6, 8(r1) /* 801D6904 001D3864 38 DF 00 6C */ addi r6, r31, 0x6c /* 801D6908 001D3868 39 1F 00 7C */ addi r8, r31, 0x7c /* 801D690C 001D386C 90 E1 00 0C */ stw r7, 0xc(r1) /* 801D6910 001D3870 C0 1F 00 5C */ lfs f0, 0x5c(r31) /* 801D6914 001D3874 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801D6918 001D3878 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801D691C 001D387C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801D6920 001D3880 C0 1F 00 64 */ lfs f0, 0x64(r31) /* 801D6924 001D3884 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801D6928 001D3888 98 01 00 1C */ stb r0, 0x1c(r1) /* 801D692C 001D388C 91 41 00 20 */ stw r10, 0x20(r1) /* 801D6930 001D3890 80 BF 00 68 */ lwz r5, 0x68(r31) /* 801D6934 001D3894 80 FF 00 78 */ lwz r7, 0x78(r31) /* 801D6938 001D3898 48 03 42 71 */ bl EnableTransition__18CWorldTransManagerFRC8CAnimResUiRC9CVector3fUiRC9CVector3fb /* 801D693C 001D389C 88 1F 00 40 */ lbz r0, 0x40(r31) /* 801D6940 001D38A0 38 60 00 01 */ li r3, 1 /* 801D6944 001D38A4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D6948 001D38A8 98 1F 00 40 */ stb r0, 0x40(r31) /* 801D694C 001D38AC 48 00 00 48 */ b lbl_801D6994 lbl_801D6950: /* 801D6950 001D38B0 2C 07 00 02 */ cmpwi r7, 2 /* 801D6954 001D38B4 40 82 00 3C */ bne lbl_801D6990 /* 801D6958 001D38B8 88 1F 00 40 */ lbz r0, 0x40(r31) /* 801D695C 001D38BC 38 C0 00 00 */ li r6, 0 /* 801D6960 001D38C0 80 9F 00 8C */ lwz r4, 0x8c(r31) /* 801D6964 001D38C4 80 BF 00 90 */ lwz r5, 0x90(r31) /* 801D6968 001D38C8 54 07 E7 FE */ rlwinm r7, r0, 0x1c, 0x1f, 0x1f /* 801D696C 001D38CC C0 3F 00 44 */ lfs f1, 0x44(r31) /* 801D6970 001D38D0 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801D6974 001D38D4 C0 7F 00 4C */ lfs f3, 0x4c(r31) /* 801D6978 001D38D8 48 03 2C 79 */ bl EnableTransition__18CWorldTransManagerFviibbfff /* 801D697C 001D38DC 88 1F 00 40 */ lbz r0, 0x40(r31) /* 801D6980 001D38E0 38 60 00 01 */ li r3, 1 /* 801D6984 001D38E4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D6988 001D38E8 98 1F 00 40 */ stb r0, 0x40(r31) /* 801D698C 001D38EC 48 00 00 08 */ b lbl_801D6994 lbl_801D6990: /* 801D6990 001D38F0 48 03 4A F9 */ bl DisableTransition__18CWorldTransManagerFv lbl_801D6994: /* 801D6994 001D38F4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D6998 001D38F8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D699C 001D38FC 7C 08 03 A6 */ mtlr r0 /* 801D69A0 001D3900 38 21 00 30 */ addi r1, r1, 0x30 /* 801D69A4 001D3904 4E 80 00 20 */ blr .global AcceptScriptMsg__22CScriptWorldTeleporterF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__22CScriptWorldTeleporterF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801D69A8 001D3908 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D69AC 001D390C 7C 08 02 A6 */ mflr r0 /* 801D69B0 001D3910 90 01 00 34 */ stw r0, 0x34(r1) /* 801D69B4 001D3914 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801D69B8 001D3918 7C 7C 1B 78 */ mr r28, r3 /* 801D69BC 001D391C 7C 9D 23 78 */ mr r29, r4 /* 801D69C0 001D3920 7C BE 2B 78 */ mr r30, r5 /* 801D69C4 001D3924 7C DF 33 78 */ mr r31, r6 /* 801D69C8 001D3928 88 03 00 30 */ lbz r0, 0x30(r3) /* 801D69CC 001D392C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D69D0 001D3930 41 82 01 2C */ beq lbl_801D6AFC /* 801D69D4 001D3934 80 9F 08 C4 */ lwz r4, 0x8c4(r31) /* 801D69D8 001D3938 2C 1D 00 0F */ cmpwi r29, 0xf /* 801D69DC 001D393C 83 64 00 00 */ lwz r27, 0(r4) /* 801D69E0 001D3940 41 82 00 FC */ beq lbl_801D6ADC /* 801D69E4 001D3944 40 80 00 10 */ bge lbl_801D69F4 /* 801D69E8 001D3948 2C 1D 00 0D */ cmpwi r29, 0xd /* 801D69EC 001D394C 41 82 00 14 */ beq lbl_801D6A00 /* 801D69F0 001D3950 48 00 01 0C */ b lbl_801D6AFC lbl_801D69F4: /* 801D69F4 001D3954 2C 1D 00 14 */ cmpwi r29, 0x14 /* 801D69F8 001D3958 41 82 00 BC */ beq lbl_801D6AB4 /* 801D69FC 001D395C 48 00 01 00 */ b lbl_801D6AFC lbl_801D6A00: /* 801D6A00 001D3960 80 7F 08 50 */ lwz r3, 0x850(r31) /* 801D6A04 001D3964 38 80 00 01 */ li r4, 1 /* 801D6A08 001D3968 4B E7 F5 ED */ bl SetLoadPauseState__6CWorldFb /* 801D6A0C 001D396C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 801D6A10 001D3970 4B FF CF C1 */ bl CurrentWorldAssetId__10CGameStateCFv /* 801D6A14 001D3974 7C 60 1B 78 */ mr r0, r3 /* 801D6A18 001D3978 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 801D6A1C 001D397C 80 9C 00 34 */ lwz r4, 0x34(r28) /* 801D6A20 001D3980 7C 1A 03 78 */ mr r26, r0 /* 801D6A24 001D3984 4B FF CF 21 */ bl SetCurrentWorldId__10CGameStateFUi /* 801D6A28 001D3988 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801D6A2C 001D398C 80 9C 00 34 */ lwz r4, 0x34(r28) /* 801D6A30 001D3990 38 63 00 04 */ addi r3, r3, 4 /* 801D6A34 001D3994 48 16 52 99 */ bl GetResourceTypeById__10CResLoaderCFUi /* 801D6A38 001D3998 3C 03 B2 B4 */ addis r0, r3, 0xb2b4 /* 801D6A3C 001D399C 28 00 56 4C */ cmplwi r0, 0x564c /* 801D6A40 001D39A0 40 82 00 4C */ bne lbl_801D6A8C /* 801D6A44 001D39A4 7F 83 E3 78 */ mr r3, r28 /* 801D6A48 001D39A8 7F E4 FB 78 */ mr r4, r31 /* 801D6A4C 001D39AC 4B FF FE 51 */ bl StartTransition__22CScriptWorldTeleporterFv /* 801D6A50 001D39B0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 801D6A54 001D39B4 80 9C 00 34 */ lwz r4, 0x34(r28) /* 801D6A58 001D39B8 4B FF CE ED */ bl SetCurrentWorldId__10CGameStateFUi /* 801D6A5C 001D39BC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 801D6A60 001D39C0 4B FF CF 4D */ bl CurrentWorldState__10CGameStateFv /* 801D6A64 001D39C4 80 9C 00 38 */ lwz r4, 0x38(r28) /* 801D6A68 001D39C8 4B FF E2 D5 */ bl SetDesiredAreaAssetId__11CWorldStateFUi /* 801D6A6C 001D39CC 80 8D A0 78 */ lwz r4, gpMain@sda21(r13) /* 801D6A70 001D39D0 38 00 00 00 */ li r0, 0 /* 801D6A74 001D39D4 38 60 00 01 */ li r3, 1 /* 801D6A78 001D39D8 90 04 01 2C */ stw r0, 0x12c(r4) /* 801D6A7C 001D39DC 88 1F 0F 94 */ lbz r0, 0xf94(r31) /* 801D6A80 001D39E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D6A84 001D39E4 98 1F 0F 94 */ stb r0, 0xf94(r31) /* 801D6A88 001D39E8 48 00 00 74 */ b lbl_801D6AFC lbl_801D6A8C: /* 801D6A8C 001D39EC 88 1C 00 40 */ lbz r0, 0x40(r28) /* 801D6A90 001D39F0 38 60 00 00 */ li r3, 0 /* 801D6A94 001D39F4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D6A98 001D39F8 7F 63 DB 78 */ mr r3, r27 /* 801D6A9C 001D39FC 98 1C 00 40 */ stb r0, 0x40(r28) /* 801D6AA0 001D3A00 48 03 49 E9 */ bl DisableTransition__18CWorldTransManagerFv /* 801D6AA4 001D3A04 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 801D6AA8 001D3A08 7F 44 D3 78 */ mr r4, r26 /* 801D6AAC 001D3A0C 4B FF CE 99 */ bl SetCurrentWorldId__10CGameStateFUi /* 801D6AB0 001D3A10 48 00 00 4C */ b lbl_801D6AFC lbl_801D6AB4: /* 801D6AB4 001D3A14 7F E4 FB 78 */ mr r4, r31 /* 801D6AB8 001D3A18 4B FF FD E5 */ bl StartTransition__22CScriptWorldTeleporterFv /* 801D6ABC 001D3A1C A0 9C 00 88 */ lhz r4, 0x88(r28) /* 801D6AC0 001D3A20 7F 63 DB 78 */ mr r3, r27 /* 801D6AC4 001D3A24 88 BC 00 8A */ lbz r5, 0x8a(r28) /* 801D6AC8 001D3A28 88 DC 00 8B */ lbz r6, 0x8b(r28) /* 801D6ACC 001D3A2C 48 03 2E 99 */ bl sub_80209964 /* 801D6AD0 001D3A30 7F 63 DB 78 */ mr r3, r27 /* 801D6AD4 001D3A34 48 03 2E ED */ bl sub_802099c0 /* 801D6AD8 001D3A38 48 00 00 24 */ b lbl_801D6AFC lbl_801D6ADC: /* 801D6ADC 001D3A3C 88 1C 00 40 */ lbz r0, 0x40(r28) /* 801D6AE0 001D3A40 38 60 00 00 */ li r3, 0 /* 801D6AE4 001D3A44 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D6AE8 001D3A48 7F 63 DB 78 */ mr r3, r27 /* 801D6AEC 001D3A4C 98 1C 00 40 */ stb r0, 0x40(r28) /* 801D6AF0 001D3A50 48 03 49 99 */ bl DisableTransition__18CWorldTransManagerFv /* 801D6AF4 001D3A54 7F 63 DB 78 */ mr r3, r27 /* 801D6AF8 001D3A58 48 03 2E 7D */ bl sub_80209974 lbl_801D6AFC: /* 801D6AFC 001D3A5C A0 1E 00 00 */ lhz r0, 0(r30) /* 801D6B00 001D3A60 7F 83 E3 78 */ mr r3, r28 /* 801D6B04 001D3A64 7F A4 EB 78 */ mr r4, r29 /* 801D6B08 001D3A68 7F E6 FB 78 */ mr r6, r31 /* 801D6B0C 001D3A6C B0 01 00 08 */ sth r0, 8(r1) /* 801D6B10 001D3A70 38 A1 00 08 */ addi r5, r1, 8 /* 801D6B14 001D3A74 4B E7 A6 49 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801D6B18 001D3A78 BB 41 00 18 */ lmw r26, 0x18(r1) /* 801D6B1C 001D3A7C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D6B20 001D3A80 7C 08 03 A6 */ mtlr r0 /* 801D6B24 001D3A84 38 21 00 30 */ addi r1, r1, 0x30 /* 801D6B28 001D3A88 4E 80 00 20 */ blr .global Accept__22CScriptWorldTeleporterFR8IVisitor Accept__22CScriptWorldTeleporterFR8IVisitor: /* 801D6B2C 001D3A8C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D6B30 001D3A90 7C 08 02 A6 */ mflr r0 /* 801D6B34 001D3A94 90 01 00 14 */ stw r0, 0x14(r1) /* 801D6B38 001D3A98 7C 60 1B 78 */ mr r0, r3 /* 801D6B3C 001D3A9C 7C 83 23 78 */ mr r3, r4 /* 801D6B40 001D3AA0 81 84 00 00 */ lwz r12, 0(r4) /* 801D6B44 001D3AA4 7C 04 03 78 */ mr r4, r0 /* 801D6B48 001D3AA8 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801D6B4C 001D3AAC 7D 89 03 A6 */ mtctr r12 /* 801D6B50 001D3AB0 4E 80 04 21 */ bctrl /* 801D6B54 001D3AB4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D6B58 001D3AB8 7C 08 03 A6 */ mtlr r0 /* 801D6B5C 001D3ABC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D6B60 001D3AC0 4E 80 00 20 */ blr .global __dt__22CScriptWorldTeleporterFv __dt__22CScriptWorldTeleporterFv: /* 801D6B64 001D3AC4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D6B68 001D3AC8 7C 08 02 A6 */ mflr r0 /* 801D6B6C 001D3ACC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D6B70 001D3AD0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D6B74 001D3AD4 7C 9F 23 78 */ mr r31, r4 /* 801D6B78 001D3AD8 93 C1 00 08 */ stw r30, 8(r1) /* 801D6B7C 001D3ADC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D6B80 001D3AE0 41 82 00 28 */ beq lbl_801D6BA8 /* 801D6B84 001D3AE4 3C A0 80 3E */ lis r5, lbl_803E58A0@ha /* 801D6B88 001D3AE8 38 80 00 00 */ li r4, 0 /* 801D6B8C 001D3AEC 38 05 58 A0 */ addi r0, r5, lbl_803E58A0@l /* 801D6B90 001D3AF0 90 1E 00 00 */ stw r0, 0(r30) /* 801D6B94 001D3AF4 4B E7 A6 E1 */ bl __dt__7CEntityFv /* 801D6B98 001D3AF8 7F E0 07 35 */ extsh. r0, r31 /* 801D6B9C 001D3AFC 40 81 00 0C */ ble lbl_801D6BA8 /* 801D6BA0 001D3B00 7F C3 F3 78 */ mr r3, r30 /* 801D6BA4 001D3B04 48 13 ED 8D */ bl Free__7CMemoryFPCv lbl_801D6BA8: /* 801D6BA8 001D3B08 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D6BAC 001D3B0C 7F C3 F3 78 */ mr r3, r30 /* 801D6BB0 001D3B10 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D6BB4 001D3B14 83 C1 00 08 */ lwz r30, 8(r1) /* 801D6BB8 001D3B18 7C 08 03 A6 */ mtlr r0 /* 801D6BBC 001D3B1C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D6BC0 001D3B20 4E 80 00 20 */ blr .global "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUiUiUiRC9CVector3fUiRC9CVector3fUiRC9CVector3fb" "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUiUiUiRC9CVector3fUiRC9CVector3fUiRC9CVector3fb": /* 801D6BC4 001D3B24 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801D6BC8 001D3B28 7C 08 02 A6 */ mflr r0 /* 801D6BCC 001D3B2C 90 01 00 74 */ stw r0, 0x74(r1) /* 801D6BD0 001D3B30 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801D6BD4 001D3B34 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801D6BD8 001D3B38 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801D6BDC 001D3B3C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801D6BE0 001D3B40 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801D6BE4 001D3B44 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801D6BE8 001D3B48 BE E1 00 1C */ stmw r23, 0x1c(r1) /* 801D6BEC 001D3B4C A0 04 00 00 */ lhz r0, 0(r4) /* 801D6BF0 001D3B50 7C A4 2B 78 */ mr r4, r5 /* 801D6BF4 001D3B54 FF A0 08 90 */ fmr f29, f1 /* 801D6BF8 001D3B58 7C C5 33 78 */ mr r5, r6 /* 801D6BFC 001D3B5C FF C0 10 90 */ fmr f30, f2 /* 801D6C00 001D3B60 B0 01 00 08 */ sth r0, 8(r1) /* 801D6C04 001D3B64 7C E6 3B 78 */ mr r6, r7 /* 801D6C08 001D3B68 7C 87 23 78 */ mr r7, r4 /* 801D6C0C 001D3B6C FF E0 18 90 */ fmr f31, f3 /* 801D6C10 001D3B70 8B 61 00 7B */ lbz r27, 0x7b(r1) /* 801D6C14 001D3B74 8B 81 00 7F */ lbz r28, 0x7f(r1) /* 801D6C18 001D3B78 7C 77 1B 78 */ mr r23, r3 /* 801D6C1C 001D3B7C 83 A1 00 80 */ lwz r29, 0x80(r1) /* 801D6C20 001D3B80 7D 18 43 78 */ mr r24, r8 /* 801D6C24 001D3B84 83 C1 00 84 */ lwz r30, 0x84(r1) /* 801D6C28 001D3B88 7D 39 4B 78 */ mr r25, r9 /* 801D6C2C 001D3B8C 8B E1 00 8B */ lbz r31, 0x8b(r1) /* 801D6C30 001D3B90 7D 5A 53 78 */ mr r26, r10 /* 801D6C34 001D3B94 38 81 00 08 */ addi r4, r1, 8 /* 801D6C38 001D3B98 4B E7 A6 ED */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801D6C3C 001D3B9C 3C 80 80 3E */ lis r4, lbl_803E58A0@ha /* 801D6C40 001D3BA0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801D6C44 001D3BA4 38 04 58 A0 */ addi r0, r4, lbl_803E58A0@l /* 801D6C48 001D3BA8 38 A0 00 02 */ li r5, 2 /* 801D6C4C 001D3BAC 90 17 00 00 */ stw r0, 0(r23) /* 801D6C50 001D3BB0 38 C0 00 00 */ li r6, 0 /* 801D6C54 001D3BB4 38 00 FF FF */ li r0, -1 /* 801D6C58 001D3BB8 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801D6C5C 001D3BBC 93 17 00 34 */ stw r24, 0x34(r23) /* 801D6C60 001D3BC0 57 43 04 3E */ clrlwi r3, r26, 0x10 /* 801D6C64 001D3BC4 93 37 00 38 */ stw r25, 0x38(r23) /* 801D6C68 001D3BC8 90 B7 00 3C */ stw r5, 0x3c(r23) /* 801D6C6C 001D3BCC 88 B7 00 40 */ lbz r5, 0x40(r23) /* 801D6C70 001D3BD0 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 /* 801D6C74 001D3BD4 98 B7 00 40 */ stb r5, 0x40(r23) /* 801D6C78 001D3BD8 88 B7 00 40 */ lbz r5, 0x40(r23) /* 801D6C7C 001D3BDC 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 /* 801D6C80 001D3BE0 98 B7 00 40 */ stb r5, 0x40(r23) /* 801D6C84 001D3BE4 88 B7 00 40 */ lbz r5, 0x40(r23) /* 801D6C88 001D3BE8 53 E5 26 F6 */ rlwimi r5, r31, 4, 0x1b, 0x1b /* 801D6C8C 001D3BEC 98 B7 00 40 */ stb r5, 0x40(r23) /* 801D6C90 001D3BF0 D3 B7 00 44 */ stfs f29, 0x44(r23) /* 801D6C94 001D3BF4 D3 D7 00 48 */ stfs f30, 0x48(r23) /* 801D6C98 001D3BF8 D3 F7 00 4C */ stfs f31, 0x4c(r23) /* 801D6C9C 001D3BFC 90 17 00 50 */ stw r0, 0x50(r23) /* 801D6CA0 001D3C00 90 17 00 54 */ stw r0, 0x54(r23) /* 801D6CA4 001D3C04 90 D7 00 58 */ stw r6, 0x58(r23) /* 801D6CA8 001D3C08 C0 04 00 00 */ lfs f0, 0(r4) /* 801D6CAC 001D3C0C D0 17 00 5C */ stfs f0, 0x5c(r23) /* 801D6CB0 001D3C10 C0 04 00 04 */ lfs f0, 4(r4) /* 801D6CB4 001D3C14 D0 17 00 60 */ stfs f0, 0x60(r23) /* 801D6CB8 001D3C18 C0 04 00 08 */ lfs f0, 8(r4) /* 801D6CBC 001D3C1C D0 17 00 64 */ stfs f0, 0x64(r23) /* 801D6CC0 001D3C20 90 17 00 68 */ stw r0, 0x68(r23) /* 801D6CC4 001D3C24 C0 04 00 00 */ lfs f0, 0(r4) /* 801D6CC8 001D3C28 D0 17 00 6C */ stfs f0, 0x6c(r23) /* 801D6CCC 001D3C2C C0 04 00 04 */ lfs f0, 4(r4) /* 801D6CD0 001D3C30 D0 17 00 70 */ stfs f0, 0x70(r23) /* 801D6CD4 001D3C34 C0 04 00 08 */ lfs f0, 8(r4) /* 801D6CD8 001D3C38 D0 17 00 74 */ stfs f0, 0x74(r23) /* 801D6CDC 001D3C3C 90 17 00 78 */ stw r0, 0x78(r23) /* 801D6CE0 001D3C40 C0 04 00 00 */ lfs f0, 0(r4) /* 801D6CE4 001D3C44 D0 17 00 7C */ stfs f0, 0x7c(r23) /* 801D6CE8 001D3C48 C0 04 00 04 */ lfs f0, 4(r4) /* 801D6CEC 001D3C4C D0 17 00 80 */ stfs f0, 0x80(r23) /* 801D6CF0 001D3C50 C0 04 00 08 */ lfs f0, 8(r4) /* 801D6CF4 001D3C54 D0 17 00 84 */ stfs f0, 0x84(r23) /* 801D6CF8 001D3C58 48 11 1C B9 */ bl TranslateSFXID__11CSfxManagerFUs /* 801D6CFC 001D3C5C B0 77 00 88 */ sth r3, 0x88(r23) /* 801D6D00 001D3C60 7E E3 BB 78 */ mr r3, r23 /* 801D6D04 001D3C64 9B 77 00 8A */ stb r27, 0x8a(r23) /* 801D6D08 001D3C68 9B 97 00 8B */ stb r28, 0x8b(r23) /* 801D6D0C 001D3C6C 93 B7 00 8C */ stw r29, 0x8c(r23) /* 801D6D10 001D3C70 93 D7 00 90 */ stw r30, 0x90(r23) /* 801D6D14 001D3C74 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801D6D18 001D3C78 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801D6D1C 001D3C7C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801D6D20 001D3C80 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801D6D24 001D3C84 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801D6D28 001D3C88 CB A1 00 40 */ lfd f29, 0x40(r1) /* 801D6D2C 001D3C8C BA E1 00 1C */ lmw r23, 0x1c(r1) /* 801D6D30 001D3C90 80 01 00 74 */ lwz r0, 0x74(r1) /* 801D6D34 001D3C94 7C 08 03 A6 */ mtlr r0 /* 801D6D38 001D3C98 38 21 00 70 */ addi r1, r1, 0x70 /* 801D6D3C 001D3C9C 4E 80 00 20 */ blr .global "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": /* 801D6D40 001D3CA0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D6D44 001D3CA4 7C 08 02 A6 */ mflr r0 /* 801D6D48 001D3CA8 90 01 00 54 */ stw r0, 0x54(r1) /* 801D6D4C 001D3CAC BE 21 00 14 */ stmw r17, 0x14(r1) /* 801D6D50 001D3CB0 7C 78 1B 78 */ mr r24, r3 /* 801D6D54 001D3CB4 83 81 00 58 */ lwz r28, 0x58(r1) /* 801D6D58 001D3CB8 7D 19 43 78 */ mr r25, r8 /* 801D6D5C 001D3CBC 83 A1 00 5C */ lwz r29, 0x5c(r1) /* 801D6D60 001D3CC0 7D 3A 4B 78 */ mr r26, r9 /* 801D6D64 001D3CC4 83 C1 00 60 */ lwz r30, 0x60(r1) /* 801D6D68 001D3CC8 7D 5B 53 78 */ mr r27, r10 /* 801D6D6C 001D3CCC 83 E1 00 64 */ lwz r31, 0x64(r1) /* 801D6D70 001D3CD0 82 21 00 68 */ lwz r17, 0x68(r1) /* 801D6D74 001D3CD4 82 41 00 6C */ lwz r18, 0x6c(r1) /* 801D6D78 001D3CD8 82 61 00 70 */ lwz r19, 0x70(r1) /* 801D6D7C 001D3CDC 8A 81 00 77 */ lbz r20, 0x77(r1) /* 801D6D80 001D3CE0 A2 A1 00 7A */ lhz r21, 0x7a(r1) /* 801D6D84 001D3CE4 8A C1 00 7F */ lbz r22, 0x7f(r1) /* 801D6D88 001D3CE8 8A E1 00 83 */ lbz r23, 0x83(r1) /* 801D6D8C 001D3CEC A0 04 00 00 */ lhz r0, 0(r4) /* 801D6D90 001D3CF0 7C A4 2B 78 */ mr r4, r5 /* 801D6D94 001D3CF4 7C C5 33 78 */ mr r5, r6 /* 801D6D98 001D3CF8 7C E6 3B 78 */ mr r6, r7 /* 801D6D9C 001D3CFC B0 01 00 08 */ sth r0, 8(r1) /* 801D6DA0 001D3D00 7C 87 23 78 */ mr r7, r4 /* 801D6DA4 001D3D04 38 81 00 08 */ addi r4, r1, 8 /* 801D6DA8 001D3D08 4B E7 A5 7D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801D6DAC 001D3D0C 3C 60 80 3E */ lis r3, lbl_803E58A0@ha /* 801D6DB0 001D3D10 38 00 00 01 */ li r0, 1 /* 801D6DB4 001D3D14 38 63 58 A0 */ addi r3, r3, lbl_803E58A0@l /* 801D6DB8 001D3D18 38 80 00 00 */ li r4, 0 /* 801D6DBC 001D3D1C 90 78 00 00 */ stw r3, 0(r24) /* 801D6DC0 001D3D20 7E A3 AB 78 */ mr r3, r21 /* 801D6DC4 001D3D24 C0 42 AC 40 */ lfs f2, lbl_805AC960@sda21(r2) /* 801D6DC8 001D3D28 93 38 00 34 */ stw r25, 0x34(r24) /* 801D6DCC 001D3D2C C0 22 AC 44 */ lfs f1, lbl_805AC964@sda21(r2) /* 801D6DD0 001D3D30 93 58 00 38 */ stw r26, 0x38(r24) /* 801D6DD4 001D3D34 C0 02 AC 48 */ lfs f0, lbl_805AC968@sda21(r2) /* 801D6DD8 001D3D38 90 18 00 3C */ stw r0, 0x3c(r24) /* 801D6DDC 001D3D3C 88 18 00 40 */ lbz r0, 0x40(r24) /* 801D6DE0 001D3D40 52 80 3E 30 */ rlwimi r0, r20, 7, 0x18, 0x18 /* 801D6DE4 001D3D44 98 18 00 40 */ stb r0, 0x40(r24) /* 801D6DE8 001D3D48 88 18 00 40 */ lbz r0, 0x40(r24) /* 801D6DEC 001D3D4C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801D6DF0 001D3D50 98 18 00 40 */ stb r0, 0x40(r24) /* 801D6DF4 001D3D54 88 18 00 40 */ lbz r0, 0x40(r24) /* 801D6DF8 001D3D58 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801D6DFC 001D3D5C 98 18 00 40 */ stb r0, 0x40(r24) /* 801D6E00 001D3D60 D0 58 00 44 */ stfs f2, 0x44(r24) /* 801D6E04 001D3D64 D0 38 00 48 */ stfs f1, 0x48(r24) /* 801D6E08 001D3D68 D0 18 00 4C */ stfs f0, 0x4c(r24) /* 801D6E0C 001D3D6C 93 78 00 50 */ stw r27, 0x50(r24) /* 801D6E10 001D3D70 93 98 00 54 */ stw r28, 0x54(r24) /* 801D6E14 001D3D74 93 B8 00 58 */ stw r29, 0x58(r24) /* 801D6E18 001D3D78 C0 1E 00 00 */ lfs f0, 0(r30) /* 801D6E1C 001D3D7C D0 18 00 5C */ stfs f0, 0x5c(r24) /* 801D6E20 001D3D80 C0 1E 00 04 */ lfs f0, 4(r30) /* 801D6E24 001D3D84 D0 18 00 60 */ stfs f0, 0x60(r24) /* 801D6E28 001D3D88 C0 1E 00 08 */ lfs f0, 8(r30) /* 801D6E2C 001D3D8C D0 18 00 64 */ stfs f0, 0x64(r24) /* 801D6E30 001D3D90 93 F8 00 68 */ stw r31, 0x68(r24) /* 801D6E34 001D3D94 C0 11 00 00 */ lfs f0, 0(r17) /* 801D6E38 001D3D98 D0 18 00 6C */ stfs f0, 0x6c(r24) /* 801D6E3C 001D3D9C C0 11 00 04 */ lfs f0, 4(r17) /* 801D6E40 001D3DA0 D0 18 00 70 */ stfs f0, 0x70(r24) /* 801D6E44 001D3DA4 C0 11 00 08 */ lfs f0, 8(r17) /* 801D6E48 001D3DA8 D0 18 00 74 */ stfs f0, 0x74(r24) /* 801D6E4C 001D3DAC 92 58 00 78 */ stw r18, 0x78(r24) /* 801D6E50 001D3DB0 C0 13 00 00 */ lfs f0, 0(r19) /* 801D6E54 001D3DB4 D0 18 00 7C */ stfs f0, 0x7c(r24) /* 801D6E58 001D3DB8 C0 13 00 04 */ lfs f0, 4(r19) /* 801D6E5C 001D3DBC D0 18 00 80 */ stfs f0, 0x80(r24) /* 801D6E60 001D3DC0 C0 13 00 08 */ lfs f0, 8(r19) /* 801D6E64 001D3DC4 D0 18 00 84 */ stfs f0, 0x84(r24) /* 801D6E68 001D3DC8 48 11 1B 49 */ bl TranslateSFXID__11CSfxManagerFUs /* 801D6E6C 001D3DCC B0 78 00 88 */ sth r3, 0x88(r24) /* 801D6E70 001D3DD0 7F 03 C3 78 */ mr r3, r24 /* 801D6E74 001D3DD4 9A D8 00 8A */ stb r22, 0x8a(r24) /* 801D6E78 001D3DD8 9A F8 00 8B */ stb r23, 0x8b(r24) /* 801D6E7C 001D3DDC BA 21 00 14 */ lmw r17, 0x14(r1) /* 801D6E80 001D3DE0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801D6E84 001D3DE4 7C 08 03 A6 */ mtlr r0 /* 801D6E88 001D3DE8 38 21 00 50 */ addi r1, r1, 0x50 /* 801D6E8C 001D3DEC 4E 80 00 20 */ blr .global "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUi" "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUi": /* 801D6E90 001D3DF0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D6E94 001D3DF4 7C 08 02 A6 */ mflr r0 /* 801D6E98 001D3DF8 90 01 00 24 */ stw r0, 0x24(r1) /* 801D6E9C 001D3DFC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D6EA0 001D3E00 7D 3F 4B 78 */ mr r31, r9 /* 801D6EA4 001D3E04 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D6EA8 001D3E08 7D 1E 43 78 */ mr r30, r8 /* 801D6EAC 001D3E0C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D6EB0 001D3E10 7C 7D 1B 78 */ mr r29, r3 /* 801D6EB4 001D3E14 A0 04 00 00 */ lhz r0, 0(r4) /* 801D6EB8 001D3E18 7C A4 2B 78 */ mr r4, r5 /* 801D6EBC 001D3E1C 7C C5 33 78 */ mr r5, r6 /* 801D6EC0 001D3E20 7C E6 3B 78 */ mr r6, r7 /* 801D6EC4 001D3E24 B0 01 00 08 */ sth r0, 8(r1) /* 801D6EC8 001D3E28 7C 87 23 78 */ mr r7, r4 /* 801D6ECC 001D3E2C 38 81 00 08 */ addi r4, r1, 8 /* 801D6ED0 001D3E30 4B E7 A4 55 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801D6ED4 001D3E34 3C 80 80 3E */ lis r4, lbl_803E58A0@ha /* 801D6ED8 001D3E38 3C 60 80 5A */ lis r3, skZero3f@ha /* 801D6EDC 001D3E3C 38 04 58 A0 */ addi r0, r4, lbl_803E58A0@l /* 801D6EE0 001D3E40 38 E0 00 00 */ li r7, 0 /* 801D6EE4 001D3E44 90 1D 00 00 */ stw r0, 0(r29) /* 801D6EE8 001D3E48 38 A0 FF FF */ li r5, -1 /* 801D6EEC 001D3E4C C0 42 AC 40 */ lfs f2, lbl_805AC960@sda21(r2) /* 801D6EF0 001D3E50 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801D6EF4 001D3E54 93 DD 00 34 */ stw r30, 0x34(r29) /* 801D6EF8 001D3E58 7F A3 EB 78 */ mr r3, r29 /* 801D6EFC 001D3E5C C0 22 AC 44 */ lfs f1, lbl_805AC964@sda21(r2) /* 801D6F00 001D3E60 93 FD 00 38 */ stw r31, 0x38(r29) /* 801D6F04 001D3E64 C0 02 AC 48 */ lfs f0, lbl_805AC968@sda21(r2) /* 801D6F08 001D3E68 90 FD 00 3C */ stw r7, 0x3c(r29) /* 801D6F0C 001D3E6C A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 801D6F10 001D3E70 88 DD 00 40 */ lbz r6, 0x40(r29) /* 801D6F14 001D3E74 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 /* 801D6F18 001D3E78 98 DD 00 40 */ stb r6, 0x40(r29) /* 801D6F1C 001D3E7C 88 DD 00 40 */ lbz r6, 0x40(r29) /* 801D6F20 001D3E80 50 E6 36 72 */ rlwimi r6, r7, 6, 0x19, 0x19 /* 801D6F24 001D3E84 98 DD 00 40 */ stb r6, 0x40(r29) /* 801D6F28 001D3E88 88 DD 00 40 */ lbz r6, 0x40(r29) /* 801D6F2C 001D3E8C 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b /* 801D6F30 001D3E90 98 DD 00 40 */ stb r6, 0x40(r29) /* 801D6F34 001D3E94 D0 5D 00 44 */ stfs f2, 0x44(r29) /* 801D6F38 001D3E98 D0 3D 00 48 */ stfs f1, 0x48(r29) /* 801D6F3C 001D3E9C D0 1D 00 4C */ stfs f0, 0x4c(r29) /* 801D6F40 001D3EA0 90 BD 00 50 */ stw r5, 0x50(r29) /* 801D6F44 001D3EA4 90 BD 00 54 */ stw r5, 0x54(r29) /* 801D6F48 001D3EA8 90 FD 00 58 */ stw r7, 0x58(r29) /* 801D6F4C 001D3EAC C0 04 00 00 */ lfs f0, 0(r4) /* 801D6F50 001D3EB0 D0 1D 00 5C */ stfs f0, 0x5c(r29) /* 801D6F54 001D3EB4 C0 04 00 04 */ lfs f0, 4(r4) /* 801D6F58 001D3EB8 D0 1D 00 60 */ stfs f0, 0x60(r29) /* 801D6F5C 001D3EBC C0 04 00 08 */ lfs f0, 8(r4) /* 801D6F60 001D3EC0 D0 1D 00 64 */ stfs f0, 0x64(r29) /* 801D6F64 001D3EC4 90 BD 00 68 */ stw r5, 0x68(r29) /* 801D6F68 001D3EC8 C0 04 00 00 */ lfs f0, 0(r4) /* 801D6F6C 001D3ECC D0 1D 00 6C */ stfs f0, 0x6c(r29) /* 801D6F70 001D3ED0 C0 04 00 04 */ lfs f0, 4(r4) /* 801D6F74 001D3ED4 D0 1D 00 70 */ stfs f0, 0x70(r29) /* 801D6F78 001D3ED8 C0 04 00 08 */ lfs f0, 8(r4) /* 801D6F7C 001D3EDC D0 1D 00 74 */ stfs f0, 0x74(r29) /* 801D6F80 001D3EE0 90 BD 00 78 */ stw r5, 0x78(r29) /* 801D6F84 001D3EE4 C0 04 00 00 */ lfs f0, 0(r4) /* 801D6F88 001D3EE8 D0 1D 00 7C */ stfs f0, 0x7c(r29) /* 801D6F8C 001D3EEC C0 04 00 04 */ lfs f0, 4(r4) /* 801D6F90 001D3EF0 D0 1D 00 80 */ stfs f0, 0x80(r29) /* 801D6F94 001D3EF4 C0 04 00 08 */ lfs f0, 8(r4) /* 801D6F98 001D3EF8 D0 1D 00 84 */ stfs f0, 0x84(r29) /* 801D6F9C 001D3EFC B0 1D 00 88 */ sth r0, 0x88(r29) /* 801D6FA0 001D3F00 98 FD 00 8A */ stb r7, 0x8a(r29) /* 801D6FA4 001D3F04 98 FD 00 8B */ stb r7, 0x8b(r29) /* 801D6FA8 001D3F08 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D6FAC 001D3F0C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D6FB0 001D3F10 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D6FB4 001D3F14 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D6FB8 001D3F18 7C 08 03 A6 */ mtlr r0 /* 801D6FBC 001D3F1C 38 21 00 20 */ addi r1, r1, 0x20 /* 801D6FC0 001D3F20 4E 80 00 20 */ blr .global Accept__15CScriptVisorGooFR8IVisitor Accept__15CScriptVisorGooFR8IVisitor: /* 801D6FC4 001D3F24 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D6FC8 001D3F28 7C 08 02 A6 */ mflr r0 /* 801D6FCC 001D3F2C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D6FD0 001D3F30 7C 60 1B 78 */ mr r0, r3 /* 801D6FD4 001D3F34 7C 83 23 78 */ mr r3, r4 /* 801D6FD8 001D3F38 81 84 00 00 */ lwz r12, 0(r4) /* 801D6FDC 001D3F3C 7C 04 03 78 */ mr r4, r0 /* 801D6FE0 001D3F40 81 8C 00 08 */ lwz r12, 8(r12) /* 801D6FE4 001D3F44 7D 89 03 A6 */ mtctr r12 /* 801D6FE8 001D3F48 4E 80 04 21 */ bctrl /* 801D6FEC 001D3F4C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D6FF0 001D3F50 7C 08 03 A6 */ mtlr r0 /* 801D6FF4 001D3F54 38 21 00 10 */ addi r1, r1, 0x10 /* 801D6FF8 001D3F58 4E 80 00 20 */ blr .global AddToRenderer__15CScriptVisorGooCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__15CScriptVisorGooCFRC14CFrustumPlanesRC13CStateManager: /* 801D6FFC 001D3F5C 4E 80 00 20 */ blr .global Render__15CScriptVisorGooCFRC13CStateManager Render__15CScriptVisorGooCFRC13CStateManager: /* 801D7000 001D3F60 4E 80 00 20 */ blr .global AcceptScriptMsg__15CScriptVisorGooF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__15CScriptVisorGooF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801D7004 001D3F64 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D7008 001D3F68 7C 08 02 A6 */ mflr r0 /* 801D700C 001D3F6C 90 01 00 24 */ stw r0, 0x24(r1) /* 801D7010 001D3F70 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D7014 001D3F74 7C DF 33 78 */ mr r31, r6 /* 801D7018 001D3F78 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D701C 001D3F7C 7C BE 2B 78 */ mr r30, r5 /* 801D7020 001D3F80 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D7024 001D3F84 7C 9D 23 78 */ mr r29, r4 /* 801D7028 001D3F88 2C 1D 00 01 */ cmpwi r29, 1 /* 801D702C 001D3F8C 93 81 00 10 */ stw r28, 0x10(r1) /* 801D7030 001D3F90 7C 7C 1B 78 */ mr r28, r3 /* 801D7034 001D3F94 41 82 00 08 */ beq lbl_801D703C /* 801D7038 001D3F98 48 00 00 34 */ b lbl_801D706C lbl_801D703C: /* 801D703C 001D3F9C 80 7C 00 FC */ lwz r3, 0xfc(r28) /* 801D7040 001D3FA0 3C 03 00 01 */ addis r0, r3, 1 /* 801D7044 001D3FA4 28 00 FF FF */ cmplwi r0, 0xffff /* 801D7048 001D3FA8 41 82 00 0C */ beq lbl_801D7054 /* 801D704C 001D3FAC 38 7C 00 E8 */ addi r3, r28, 0xe8 /* 801D7050 001D3FB0 48 16 9D 35 */ bl Lock__6CTokenFv lbl_801D7054: /* 801D7054 001D3FB4 80 7C 01 00 */ lwz r3, 0x100(r28) /* 801D7058 001D3FB8 3C 03 00 01 */ addis r0, r3, 1 /* 801D705C 001D3FBC 28 00 FF FF */ cmplwi r0, 0xffff /* 801D7060 001D3FC0 41 82 00 0C */ beq lbl_801D706C /* 801D7064 001D3FC4 38 7C 00 F0 */ addi r3, r28, 0xf0 /* 801D7068 001D3FC8 48 16 9D 1D */ bl Lock__6CTokenFv lbl_801D706C: /* 801D706C 001D3FCC A0 1E 00 00 */ lhz r0, 0(r30) /* 801D7070 001D3FD0 7F 83 E3 78 */ mr r3, r28 /* 801D7074 001D3FD4 7F A4 EB 78 */ mr r4, r29 /* 801D7078 001D3FD8 7F E6 FB 78 */ mr r6, r31 /* 801D707C 001D3FDC B0 01 00 08 */ sth r0, 8(r1) /* 801D7080 001D3FE0 38 A1 00 08 */ addi r5, r1, 8 /* 801D7084 001D3FE4 4B E7 C5 91 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801D7088 001D3FE8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D708C 001D3FEC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D7090 001D3FF0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D7094 001D3FF4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D7098 001D3FF8 83 81 00 10 */ lwz r28, 0x10(r1) /* 801D709C 001D3FFC 7C 08 03 A6 */ mtlr r0 /* 801D70A0 001D4000 38 21 00 20 */ addi r1, r1, 0x20 /* 801D70A4 001D4004 4E 80 00 20 */ blr .global GetTouchBounds__15CScriptVisorGooCFv GetTouchBounds__15CScriptVisorGooCFv: /* 801D70A8 001D4008 38 00 00 00 */ li r0, 0 /* 801D70AC 001D400C 98 03 00 18 */ stb r0, 0x18(r3) /* 801D70B0 001D4010 4E 80 00 20 */ blr .global Touch__15CScriptVisorGooFR6CActorR13CStateManager Touch__15CScriptVisorGooFR6CActorR13CStateManager: /* 801D70B4 001D4014 4E 80 00 20 */ blr .global Think__15CScriptVisorGooFfR13CStateManager Think__15CScriptVisorGooFfR13CStateManager: /* 801D70B8 001D4018 94 21 FE A0 */ stwu r1, -0x160(r1) /* 801D70BC 001D401C 7C 08 02 A6 */ mflr r0 /* 801D70C0 001D4020 90 01 01 64 */ stw r0, 0x164(r1) /* 801D70C4 001D4024 DB E1 01 50 */ stfd f31, 0x150(r1) /* 801D70C8 001D4028 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 /* 801D70CC 001D402C DB C1 01 40 */ stfd f30, 0x140(r1) /* 801D70D0 001D4030 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 /* 801D70D4 001D4034 DB A1 01 30 */ stfd f29, 0x130(r1) /* 801D70D8 001D4038 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 /* 801D70DC 001D403C DB 81 01 20 */ stfd f28, 0x120(r1) /* 801D70E0 001D4040 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 /* 801D70E4 001D4044 BE A1 00 F4 */ stmw r21, 0xf4(r1) /* 801D70E8 001D4048 88 03 00 30 */ lbz r0, 0x30(r3) /* 801D70EC 001D404C 7C 7C 1B 78 */ mr r28, r3 /* 801D70F0 001D4050 7C 9D 23 78 */ mr r29, r4 /* 801D70F4 001D4054 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D70F8 001D4058 41 82 04 78 */ beq lbl_801D7570 /* 801D70FC 001D405C 80 7C 00 FC */ lwz r3, 0xfc(r28) /* 801D7100 001D4060 38 80 00 00 */ li r4, 0 /* 801D7104 001D4064 3C 03 00 01 */ addis r0, r3, 1 /* 801D7108 001D4068 28 00 FF FF */ cmplwi r0, 0xffff /* 801D710C 001D406C 41 82 00 44 */ beq lbl_801D7150 /* 801D7110 001D4070 80 7C 00 E8 */ lwz r3, 0xe8(r28) /* 801D7114 001D4074 80 03 00 10 */ lwz r0, 0x10(r3) /* 801D7118 001D4078 28 00 00 00 */ cmplwi r0, 0 /* 801D711C 001D407C 41 82 00 48 */ beq lbl_801D7164 /* 801D7120 001D4080 80 7C 01 00 */ lwz r3, 0x100(r28) /* 801D7124 001D4084 3C 03 00 01 */ addis r0, r3, 1 /* 801D7128 001D4088 28 00 FF FF */ cmplwi r0, 0xffff /* 801D712C 001D408C 41 82 00 1C */ beq lbl_801D7148 /* 801D7130 001D4090 80 7C 00 F0 */ lwz r3, 0xf0(r28) /* 801D7134 001D4094 80 03 00 10 */ lwz r0, 0x10(r3) /* 801D7138 001D4098 28 00 00 00 */ cmplwi r0, 0 /* 801D713C 001D409C 41 82 00 28 */ beq lbl_801D7164 /* 801D7140 001D40A0 38 80 00 01 */ li r4, 1 /* 801D7144 001D40A4 48 00 00 20 */ b lbl_801D7164 lbl_801D7148: /* 801D7148 001D40A8 38 80 00 01 */ li r4, 1 /* 801D714C 001D40AC 48 00 00 18 */ b lbl_801D7164 lbl_801D7150: /* 801D7150 001D40B0 80 7C 00 F0 */ lwz r3, 0xf0(r28) /* 801D7154 001D40B4 80 03 00 10 */ lwz r0, 0x10(r3) /* 801D7158 001D40B8 28 00 00 00 */ cmplwi r0, 0 /* 801D715C 001D40BC 41 82 00 08 */ beq lbl_801D7164 /* 801D7160 001D40C0 38 80 00 01 */ li r4, 1 lbl_801D7164: /* 801D7164 001D40C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801D7168 001D40C8 41 82 04 08 */ beq lbl_801D7570 /* 801D716C 001D40CC 80 9D 08 4C */ lwz r4, 0x84c(r29) /* 801D7170 001D40D0 3A A0 00 00 */ li r21, 0 /* 801D7174 001D40D4 80 04 02 F4 */ lwz r0, 0x2f4(r4) /* 801D7178 001D40D8 2C 00 00 00 */ cmpwi r0, 0 /* 801D717C 001D40DC 40 82 03 DC */ bne lbl_801D7558 /* 801D7180 001D40E0 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801D7184 001D40E4 48 0A DB F9 */ bl GetEyePosition__7CPlayerCFv /* 801D7188 001D40E8 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801D718C 001D40EC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801D7190 001D40F0 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801D7194 001D40F4 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801D7198 001D40F8 C0 41 00 AC */ lfs f2, 0xac(r1) /* 801D719C 001D40FC EC 81 00 28 */ fsubs f4, f1, f0 /* 801D71A0 001D4100 C0 3C 00 40 */ lfs f1, 0x40(r28) /* 801D71A4 001D4104 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801D71A8 001D4108 EC 43 10 28 */ fsubs f2, f3, f2 /* 801D71AC 001D410C D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801D71B0 001D4110 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D71B4 001D4114 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 801D71B8 001D4118 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801D71BC 001D411C 48 13 D6 FD */ bl Magnitude__9CVector3fCFv /* 801D71C0 001D4120 FF E0 08 90 */ fmr f31, f1 /* 801D71C4 001D4124 C0 1C 01 04 */ lfs f0, 0x104(r28) /* 801D71C8 001D4128 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801D71CC 001D412C 4C 41 13 82 */ cror 2, 1, 2 /* 801D71D0 001D4130 40 82 03 88 */ bne lbl_801D7558 /* 801D71D4 001D4134 C0 1C 01 08 */ lfs f0, 0x108(r28) /* 801D71D8 001D4138 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801D71DC 001D413C 4C 40 13 82 */ cror 2, 0, 2 /* 801D71E0 001D4140 40 82 03 78 */ bne lbl_801D7558 /* 801D71E4 001D4144 88 1C 01 18 */ lbz r0, 0x118(r28) /* 801D71E8 001D4148 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D71EC 001D414C 41 82 00 D8 */ beq lbl_801D72C4 /* 801D71F0 001D4150 80 9D 08 70 */ lwz r4, 0x870(r29) /* 801D71F4 001D4154 7F A5 EB 78 */ mr r5, r29 /* 801D71F8 001D4158 38 61 00 BC */ addi r3, r1, 0xbc /* 801D71FC 001D415C 4B E3 37 6D */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 801D7200 001D4160 C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 801D7204 001D4164 38 61 00 98 */ addi r3, r1, 0x98 /* 801D7208 001D4168 C0 21 00 D0 */ lfs f1, 0xd0(r1) /* 801D720C 001D416C 38 81 00 8C */ addi r4, r1, 0x8c /* 801D7210 001D4170 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801D7214 001D4174 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801D7218 001D4178 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801D721C 001D417C D0 41 00 94 */ stfs f2, 0x94(r1) /* 801D7220 001D4180 48 13 D6 31 */ bl AsNormalized__9CVector3fCFv /* 801D7224 001D4184 C0 02 AC 50 */ lfs f0, lbl_805AC970@sda21(r2) /* 801D7228 001D4188 38 61 00 80 */ addi r3, r1, 0x80 /* 801D722C 001D418C C3 C1 00 98 */ lfs f30, 0x98(r1) /* 801D7230 001D4190 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801D7234 001D4194 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801D7238 001D4198 C3 A1 00 9C */ lfs f29, 0x9c(r1) /* 801D723C 001D419C C3 81 00 A0 */ lfs f28, 0xa0(r1) /* 801D7240 001D41A0 48 13 D6 11 */ bl AsNormalized__9CVector3fCFv /* 801D7244 001D41A4 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801D7248 001D41A8 C0 21 00 80 */ lfs f1, 0x80(r1) /* 801D724C 001D41AC EC 00 07 72 */ fmuls f0, f0, f29 /* 801D7250 001D41B0 C0 41 00 88 */ lfs f2, 0x88(r1) /* 801D7254 001D41B4 EC 01 07 BA */ fmadds f0, f1, f30, f0 /* 801D7258 001D41B8 EC 22 07 3A */ fmadds f1, f2, f28, f0 /* 801D725C 001D41BC 48 13 DA 79 */ bl FastArcCosR__5CMathFf /* 801D7260 001D41C0 C0 42 AC 58 */ lfs f2, lbl_805AC978@sda21(r2) /* 801D7264 001D41C4 C0 02 AC 5C */ lfs f0, lbl_805AC97C@sda21(r2) /* 801D7268 001D41C8 EC 22 00 72 */ fmuls f1, f2, f1 /* 801D726C 001D41CC C0 42 AC 54 */ lfs f2, lbl_805AC974@sda21(r2) /* 801D7270 001D41D0 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801D7274 001D41D4 EC 62 00 72 */ fmuls f3, f2, f1 /* 801D7278 001D41D8 40 80 00 34 */ bge lbl_801D72AC /* 801D727C 001D41DC EC 20 F8 24 */ fdivs f1, f0, f31 /* 801D7280 001D41E0 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801D7284 001D41E4 C0 0D 91 C0 */ lfs f0, lbl_805A7D80@sda21(r13) /* 801D7288 001D41E8 EC 22 00 72 */ fmuls f1, f2, f1 /* 801D728C 001D41EC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D7290 001D41F0 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801D7294 001D41F4 40 80 00 0C */ bge lbl_801D72A0 /* 801D7298 001D41F8 38 6D 91 C0 */ addi r3, r13, lbl_805A7D80@sda21 /* 801D729C 001D41FC 48 00 00 08 */ b lbl_801D72A4 lbl_801D72A0: /* 801D72A0 001D4200 38 61 00 24 */ addi r3, r1, 0x24 lbl_801D72A4: /* 801D72A4 001D4204 C0 03 00 00 */ lfs f0, 0(r3) /* 801D72A8 001D4208 D0 01 00 24 */ stfs f0, 0x24(r1) lbl_801D72AC: /* 801D72AC 001D420C C0 01 00 24 */ lfs f0, 0x24(r1) /* 801D72B0 001D4210 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801D72B4 001D4214 4C 40 13 82 */ cror 2, 0, 2 /* 801D72B8 001D4218 40 82 00 10 */ bne lbl_801D72C8 /* 801D72BC 001D421C 3A A0 00 01 */ li r21, 1 /* 801D72C0 001D4220 48 00 00 08 */ b lbl_801D72C8 lbl_801D72C4: /* 801D72C4 001D4224 3A A0 00 01 */ li r21, 1 lbl_801D72C8: /* 801D72C8 001D4228 56 A0 06 3F */ clrlwi. r0, r21, 0x18 /* 801D72CC 001D422C 41 82 02 8C */ beq lbl_801D7558 /* 801D72D0 001D4230 C0 5C 01 08 */ lfs f2, 0x108(r28) /* 801D72D4 001D4234 C0 1C 01 04 */ lfs f0, 0x104(r28) /* 801D72D8 001D4238 EC 82 F8 28 */ fsubs f4, f2, f31 /* 801D72DC 001D423C C0 22 AC 60 */ lfs f1, lbl_805AC980@sda21(r2) /* 801D72E0 001D4240 EC 62 00 28 */ fsubs f3, f2, f0 /* 801D72E4 001D4244 C0 1C 01 10 */ lfs f0, 0x110(r28) /* 801D72E8 001D4248 C0 5C 01 0C */ lfs f2, 0x10c(r28) /* 801D72EC 001D424C 80 7D 09 00 */ lwz r3, 0x900(r29) /* 801D72F0 001D4250 EC 64 18 24 */ fdivs f3, f4, f3 /* 801D72F4 001D4254 EC 21 18 28 */ fsubs f1, f1, f3 /* 801D72F8 001D4258 EC 01 00 32 */ fmuls f0, f1, f0 /* 801D72FC 001D425C EF 83 00 BA */ fmadds f28, f3, f2, f0 /* 801D7300 001D4260 48 13 B1 DD */ bl Float__9CRandom16Fv /* 801D7304 001D4264 C0 02 AC 64 */ lfs f0, lbl_805AC984@sda21(r2) /* 801D7308 001D4268 EC 00 00 72 */ fmuls f0, f0, f1 /* 801D730C 001D426C FC 00 E0 40 */ fcmpo cr0, f0, f28 /* 801D7310 001D4270 4C 40 13 82 */ cror 2, 0, 2 /* 801D7314 001D4274 40 82 02 44 */ bne lbl_801D7558 /* 801D7318 001D4278 3C 60 80 3D */ lis r3, lbl_803D1B90@ha /* 801D731C 001D427C 3B 60 00 00 */ li r27, 0 /* 801D7320 001D4280 38 83 1B 90 */ addi r4, r3, lbl_803D1B90@l /* 801D7324 001D4284 3B 40 00 00 */ li r26, 0 /* 801D7328 001D4288 3B 20 00 00 */ li r25, 0 /* 801D732C 001D428C 3B 00 00 00 */ li r24, 0 /* 801D7330 001D4290 3A E0 00 00 */ li r23, 0 /* 801D7334 001D4294 38 60 01 10 */ li r3, 0x110 /* 801D7338 001D4298 38 A0 00 00 */ li r5, 0 /* 801D733C 001D429C 48 13 E5 31 */ bl __nw__FUlPCcPCc /* 801D7340 001D42A0 7C 7F 1B 79 */ or. r31, r3, r3 /* 801D7344 001D42A4 41 82 01 24 */ beq lbl_801D7468 /* 801D7348 001D42A8 80 7C 00 FC */ lwz r3, 0xfc(r28) /* 801D734C 001D42AC 3C 03 00 01 */ addis r0, r3, 1 /* 801D7350 001D42B0 28 00 FF FF */ cmplwi r0, 0xffff /* 801D7354 001D42B4 41 82 00 28 */ beq lbl_801D737C /* 801D7358 001D42B8 38 00 00 01 */ li r0, 1 /* 801D735C 001D42BC 34 61 00 34 */ addic. r3, r1, 0x34 /* 801D7360 001D42C0 98 01 00 3C */ stb r0, 0x3c(r1) /* 801D7364 001D42C4 38 9C 00 E8 */ addi r4, r28, 0xe8 /* 801D7368 001D42C8 41 82 00 08 */ beq lbl_801D7370 /* 801D736C 001D42CC 48 16 9B 3D */ bl __ct__6CTokenFRC6CToken lbl_801D7370: /* 801D7370 001D42D0 3B C1 00 34 */ addi r30, r1, 0x34 /* 801D7374 001D42D4 3B 00 00 01 */ li r24, 1 /* 801D7378 001D42D8 48 00 00 14 */ b lbl_801D738C lbl_801D737C: /* 801D737C 001D42DC 38 00 00 00 */ li r0, 0 /* 801D7380 001D42E0 3B C1 00 28 */ addi r30, r1, 0x28 /* 801D7384 001D42E4 98 01 00 30 */ stb r0, 0x30(r1) /* 801D7388 001D42E8 3A E0 00 01 */ li r23, 1 lbl_801D738C: /* 801D738C 001D42EC 80 7C 01 00 */ lwz r3, 0x100(r28) /* 801D7390 001D42F0 3C 03 00 01 */ addis r0, r3, 1 /* 801D7394 001D42F4 28 00 FF FF */ cmplwi r0, 0xffff /* 801D7398 001D42F8 41 82 00 28 */ beq lbl_801D73C0 /* 801D739C 001D42FC 38 00 00 01 */ li r0, 1 /* 801D73A0 001D4300 34 61 00 4C */ addic. r3, r1, 0x4c /* 801D73A4 001D4304 98 01 00 54 */ stb r0, 0x54(r1) /* 801D73A8 001D4308 38 9C 00 F0 */ addi r4, r28, 0xf0 /* 801D73AC 001D430C 41 82 00 08 */ beq lbl_801D73B4 /* 801D73B0 001D4310 48 16 9A F9 */ bl __ct__6CTokenFRC6CToken lbl_801D73B4: /* 801D73B4 001D4314 3A A1 00 4C */ addi r21, r1, 0x4c /* 801D73B8 001D4318 3B 40 00 01 */ li r26, 1 /* 801D73BC 001D431C 48 00 00 14 */ b lbl_801D73D0 lbl_801D73C0: /* 801D73C0 001D4320 38 00 00 00 */ li r0, 0 /* 801D73C4 001D4324 3A A1 00 40 */ addi r21, r1, 0x40 /* 801D73C8 001D4328 98 01 00 48 */ stb r0, 0x48(r1) /* 801D73CC 001D432C 3B 20 00 01 */ li r25, 1 lbl_801D73D0: /* 801D73D0 001D4330 7F A4 EB 78 */ mr r4, r29 /* 801D73D4 001D4334 38 61 00 18 */ addi r3, r1, 0x18 /* 801D73D8 001D4338 4B E7 5D 05 */ bl AllocateUniqueId__13CStateManagerFv /* 801D73DC 001D433C A0 01 00 18 */ lhz r0, 0x18(r1) /* 801D73E0 001D4340 3C 60 80 3D */ lis r3, lbl_803D1B90@ha /* 801D73E4 001D4344 38 83 1B 90 */ addi r4, r3, lbl_803D1B90@l /* 801D73E8 001D4348 38 61 00 58 */ addi r3, r1, 0x58 /* 801D73EC 001D434C B0 01 00 1C */ sth r0, 0x1c(r1) /* 801D73F0 001D4350 38 84 00 07 */ addi r4, r4, 7 /* 801D73F4 001D4354 4B E2 D8 C5 */ bl string_l__4rstlFPCc /* 801D73F8 001D4358 C0 22 AC 60 */ lfs f1, lbl_805AC980@sda21(r2) /* 801D73FC 001D435C 7F A3 EB 78 */ mr r3, r29 /* 801D7400 001D4360 C0 02 AC 68 */ lfs f0, lbl_805AC988@sda21(r2) /* 801D7404 001D4364 3B 60 00 01 */ li r27, 1 /* 801D7408 001D4368 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801D740C 001D436C D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801D7410 001D4370 D0 21 00 70 */ stfs f1, 0x70(r1) /* 801D7414 001D4374 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801D7418 001D4378 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801D741C 001D437C D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801D7420 001D4380 4B F5 8E 0D */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager /* 801D7424 001D4384 7C 76 1B 78 */ mr r22, r3 /* 801D7428 001D4388 7F A3 EB 78 */ mr r3, r29 /* 801D742C 001D438C 4B F5 8D CD */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager /* 801D7430 001D4390 38 61 00 68 */ addi r3, r1, 0x68 /* 801D7434 001D4394 38 01 00 74 */ addi r0, r1, 0x74 /* 801D7438 001D4398 90 61 00 08 */ stw r3, 8(r1) /* 801D743C 001D439C 7F E3 FB 78 */ mr r3, r31 /* 801D7440 001D43A0 7F C4 F3 78 */ mr r4, r30 /* 801D7444 001D43A4 7E A5 AB 78 */ mr r5, r21 /* 801D7448 001D43A8 90 01 00 0C */ stw r0, 0xc(r1) /* 801D744C 001D43AC 7E C9 B3 78 */ mr r9, r22 /* 801D7450 001D43B0 38 C1 00 1C */ addi r6, r1, 0x1c /* 801D7454 001D43B4 39 01 00 58 */ addi r8, r1, 0x58 /* 801D7458 001D43B8 39 5C 01 14 */ addi r10, r28, 0x114 /* 801D745C 001D43BC 38 E0 00 01 */ li r7, 1 /* 801D7460 001D43C0 4B F5 8A 99 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" /* 801D7464 001D43C4 7C 7F 1B 78 */ mr r31, r3 lbl_801D7468: /* 801D7468 001D43C8 7F A3 EB 78 */ mr r3, r29 /* 801D746C 001D43CC 7F E4 FB 78 */ mr r4, r31 /* 801D7470 001D43D0 4B E7 58 85 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801D7474 001D43D4 7E E0 07 75 */ extsb. r0, r23 /* 801D7478 001D43D8 41 82 00 28 */ beq lbl_801D74A0 /* 801D747C 001D43DC 88 01 00 30 */ lbz r0, 0x30(r1) /* 801D7480 001D43E0 28 00 00 00 */ cmplwi r0, 0 /* 801D7484 001D43E4 41 82 00 14 */ beq lbl_801D7498 /* 801D7488 001D43E8 34 61 00 28 */ addic. r3, r1, 0x28 /* 801D748C 001D43EC 41 82 00 0C */ beq lbl_801D7498 /* 801D7490 001D43F0 38 80 00 00 */ li r4, 0 /* 801D7494 001D43F4 48 16 99 AD */ bl __dt__6CTokenFv lbl_801D7498: /* 801D7498 001D43F8 38 00 00 00 */ li r0, 0 /* 801D749C 001D43FC 98 01 00 30 */ stb r0, 0x30(r1) lbl_801D74A0: /* 801D74A0 001D4400 7F 00 07 75 */ extsb. r0, r24 /* 801D74A4 001D4404 41 82 00 28 */ beq lbl_801D74CC /* 801D74A8 001D4408 88 01 00 3C */ lbz r0, 0x3c(r1) /* 801D74AC 001D440C 28 00 00 00 */ cmplwi r0, 0 /* 801D74B0 001D4410 41 82 00 14 */ beq lbl_801D74C4 /* 801D74B4 001D4414 34 61 00 34 */ addic. r3, r1, 0x34 /* 801D74B8 001D4418 41 82 00 0C */ beq lbl_801D74C4 /* 801D74BC 001D441C 38 80 00 00 */ li r4, 0 /* 801D74C0 001D4420 48 16 99 81 */ bl __dt__6CTokenFv lbl_801D74C4: /* 801D74C4 001D4424 38 00 00 00 */ li r0, 0 /* 801D74C8 001D4428 98 01 00 3C */ stb r0, 0x3c(r1) lbl_801D74CC: /* 801D74CC 001D442C 7F 20 07 75 */ extsb. r0, r25 /* 801D74D0 001D4430 41 82 00 28 */ beq lbl_801D74F8 /* 801D74D4 001D4434 88 01 00 48 */ lbz r0, 0x48(r1) /* 801D74D8 001D4438 28 00 00 00 */ cmplwi r0, 0 /* 801D74DC 001D443C 41 82 00 14 */ beq lbl_801D74F0 /* 801D74E0 001D4440 34 61 00 40 */ addic. r3, r1, 0x40 /* 801D74E4 001D4444 41 82 00 0C */ beq lbl_801D74F0 /* 801D74E8 001D4448 38 80 00 00 */ li r4, 0 /* 801D74EC 001D444C 48 16 99 55 */ bl __dt__6CTokenFv lbl_801D74F0: /* 801D74F0 001D4450 38 00 00 00 */ li r0, 0 /* 801D74F4 001D4454 98 01 00 48 */ stb r0, 0x48(r1) lbl_801D74F8: /* 801D74F8 001D4458 7F 40 07 75 */ extsb. r0, r26 /* 801D74FC 001D445C 41 82 00 28 */ beq lbl_801D7524 /* 801D7500 001D4460 88 01 00 54 */ lbz r0, 0x54(r1) /* 801D7504 001D4464 28 00 00 00 */ cmplwi r0, 0 /* 801D7508 001D4468 41 82 00 14 */ beq lbl_801D751C /* 801D750C 001D446C 34 61 00 4C */ addic. r3, r1, 0x4c /* 801D7510 001D4470 41 82 00 0C */ beq lbl_801D751C /* 801D7514 001D4474 38 80 00 00 */ li r4, 0 /* 801D7518 001D4478 48 16 99 29 */ bl __dt__6CTokenFv lbl_801D751C: /* 801D751C 001D447C 38 00 00 00 */ li r0, 0 /* 801D7520 001D4480 98 01 00 54 */ stb r0, 0x54(r1) lbl_801D7524: /* 801D7524 001D4484 7F 60 07 75 */ extsb. r0, r27 /* 801D7528 001D4488 41 82 00 0C */ beq lbl_801D7534 /* 801D752C 001D448C 38 61 00 58 */ addi r3, r1, 0x58 /* 801D7530 001D4490 48 16 65 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801D7534: /* 801D7534 001D4494 A0 9C 00 F8 */ lhz r4, 0xf8(r28) /* 801D7538 001D4498 38 61 00 20 */ addi r3, r1, 0x20 /* 801D753C 001D449C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 801D7540 001D44A0 38 A0 00 7F */ li r5, 0x7f /* 801D7544 001D44A4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801D7548 001D44A8 38 C0 00 40 */ li r6, 0x40 /* 801D754C 001D44AC 38 E0 00 00 */ li r7, 0 /* 801D7550 001D44B0 39 20 00 00 */ li r9, 0 /* 801D7554 001D44B4 48 11 28 21 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_801D7558: /* 801D7558 001D44B8 A0 1C 00 08 */ lhz r0, 8(r28) /* 801D755C 001D44BC 7F A3 EB 78 */ mr r3, r29 /* 801D7560 001D44C0 38 81 00 14 */ addi r4, r1, 0x14 /* 801D7564 001D44C4 B0 01 00 10 */ sth r0, 0x10(r1) /* 801D7568 001D44C8 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D756C 001D44CC 4B E7 4D 01 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_801D7570: /* 801D7570 001D44D0 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 /* 801D7574 001D44D4 CB E1 01 50 */ lfd f31, 0x150(r1) /* 801D7578 001D44D8 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 /* 801D757C 001D44DC CB C1 01 40 */ lfd f30, 0x140(r1) /* 801D7580 001D44E0 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 /* 801D7584 001D44E4 CB A1 01 30 */ lfd f29, 0x130(r1) /* 801D7588 001D44E8 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 /* 801D758C 001D44EC CB 81 01 20 */ lfd f28, 0x120(r1) /* 801D7590 001D44F0 BA A1 00 F4 */ lmw r21, 0xf4(r1) /* 801D7594 001D44F4 80 01 01 64 */ lwz r0, 0x164(r1) /* 801D7598 001D44F8 7C 08 03 A6 */ mtlr r0 /* 801D759C 001D44FC 38 21 01 60 */ addi r1, r1, 0x160 /* 801D75A0 001D4500 4E 80 00 20 */ blr .global __dt__15CScriptVisorGooFv __dt__15CScriptVisorGooFv: /* 801D75A4 001D4504 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D75A8 001D4508 7C 08 02 A6 */ mflr r0 /* 801D75AC 001D450C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D75B0 001D4510 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D75B4 001D4514 7C 9F 23 78 */ mr r31, r4 /* 801D75B8 001D4518 93 C1 00 08 */ stw r30, 8(r1) /* 801D75BC 001D451C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D75C0 001D4520 41 82 00 54 */ beq lbl_801D7614 /* 801D75C4 001D4524 3C 60 80 3E */ lis r3, lbl_803E58C0@ha /* 801D75C8 001D4528 34 1E 00 F0 */ addic. r0, r30, 0xf0 /* 801D75CC 001D452C 38 03 58 C0 */ addi r0, r3, lbl_803E58C0@l /* 801D75D0 001D4530 90 1E 00 00 */ stw r0, 0(r30) /* 801D75D4 001D4534 41 82 00 10 */ beq lbl_801D75E4 /* 801D75D8 001D4538 38 7E 00 F0 */ addi r3, r30, 0xf0 /* 801D75DC 001D453C 38 80 00 00 */ li r4, 0 /* 801D75E0 001D4540 48 16 98 61 */ bl __dt__6CTokenFv lbl_801D75E4: /* 801D75E4 001D4544 34 1E 00 E8 */ addic. r0, r30, 0xe8 /* 801D75E8 001D4548 41 82 00 10 */ beq lbl_801D75F8 /* 801D75EC 001D454C 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801D75F0 001D4550 38 80 00 00 */ li r4, 0 /* 801D75F4 001D4554 48 16 98 4D */ bl __dt__6CTokenFv lbl_801D75F8: /* 801D75F8 001D4558 7F C3 F3 78 */ mr r3, r30 /* 801D75FC 001D455C 38 80 00 00 */ li r4, 0 /* 801D7600 001D4560 4B E7 E0 F1 */ bl __dt__6CActorFv /* 801D7604 001D4564 7F E0 07 35 */ extsh. r0, r31 /* 801D7608 001D4568 40 81 00 0C */ ble lbl_801D7614 /* 801D760C 001D456C 7F C3 F3 78 */ mr r3, r30 /* 801D7610 001D4570 48 13 E3 21 */ bl Free__7CMemoryFPCv lbl_801D7614: /* 801D7614 001D4574 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D7618 001D4578 7F C3 F3 78 */ mr r3, r30 /* 801D761C 001D457C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D7620 001D4580 83 C1 00 08 */ lwz r30, 8(r1) /* 801D7624 001D4584 7C 08 03 A6 */ mtlr r0 /* 801D7628 001D4588 38 21 00 10 */ addi r1, r1, 0x10 /* 801D762C 001D458C 4E 80 00 20 */ blr .global "__ct__15CScriptVisorGooF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUiUiffffRC6CColoribb" "__ct__15CScriptVisorGooF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUiUiffffRC6CColoribb": /* 801D7630 001D4590 94 21 FE 80 */ stwu r1, -0x180(r1) /* 801D7634 001D4594 7C 08 02 A6 */ mflr r0 /* 801D7638 001D4598 90 01 01 84 */ stw r0, 0x184(r1) /* 801D763C 001D459C DB E1 01 70 */ stfd f31, 0x170(r1) /* 801D7640 001D45A0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 /* 801D7644 001D45A4 DB C1 01 60 */ stfd f30, 0x160(r1) /* 801D7648 001D45A8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 /* 801D764C 001D45AC DB A1 01 50 */ stfd f29, 0x150(r1) /* 801D7650 001D45B0 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 /* 801D7654 001D45B4 BE A1 01 24 */ stmw r21, 0x124(r1) /* 801D7658 001D45B8 FF A0 08 90 */ fmr f29, f1 /* 801D765C 001D45BC 7C 7A 1B 78 */ mr r26, r3 /* 801D7660 001D45C0 FF C0 18 90 */ fmr f30, f3 /* 801D7664 001D45C4 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801D7668 001D45C8 FF E0 20 90 */ fmr f31, f4 /* 801D766C 001D45CC 83 C1 01 88 */ lwz r30, 0x188(r1) /* 801D7670 001D45D0 8B E1 01 8F */ lbz r31, 0x18f(r1) /* 801D7674 001D45D4 7C 95 23 78 */ mr r21, r4 /* 801D7678 001D45D8 8B 21 01 93 */ lbz r25, 0x193(r1) /* 801D767C 001D45DC 7C B6 2B 78 */ mr r22, r5 /* 801D7680 001D45E0 7C D7 33 78 */ mr r23, r6 /* 801D7684 001D45E4 7C F8 3B 78 */ mr r24, r7 /* 801D7688 001D45E8 7D 1B 43 78 */ mr r27, r8 /* 801D768C 001D45EC 7D 3C 4B 78 */ mr r28, r9 /* 801D7690 001D45F0 7D 5D 53 78 */ mr r29, r10 /* 801D7694 001D45F4 38 61 00 D0 */ addi r3, r1, 0xd0 /* 801D7698 001D45F8 4B E6 31 0D */ bl CModelDataNull__10CModelDataFv /* 801D769C 001D45FC 38 61 00 68 */ addi r3, r1, 0x68 /* 801D76A0 001D4600 4B E4 37 99 */ bl None__16CActorParametersFv /* 801D76A4 001D4604 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801D76A8 001D4608 38 80 00 00 */ li r4, 0 /* 801D76AC 001D460C A1 95 00 00 */ lhz r12, 0(r21) /* 801D76B0 001D4610 39 61 00 68 */ addi r11, r1, 0x68 /* 801D76B4 001D4614 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D76B8 001D4618 38 01 00 14 */ addi r0, r1, 0x14 /* 801D76BC 001D461C 7F 43 D3 78 */ mr r3, r26 /* 801D76C0 001D4620 7F 25 CB 78 */ mr r5, r25 /* 801D76C4 001D4624 90 81 00 64 */ stw r4, 0x64(r1) /* 801D76C8 001D4628 7E C6 B3 78 */ mr r6, r22 /* 801D76CC 001D462C 7E E7 BB 78 */ mr r7, r23 /* 801D76D0 001D4630 7F 08 C3 78 */ mr r8, r24 /* 801D76D4 001D4634 90 81 00 60 */ stw r4, 0x60(r1) /* 801D76D8 001D4638 38 81 00 18 */ addi r4, r1, 0x18 /* 801D76DC 001D463C 39 21 00 D0 */ addi r9, r1, 0xd0 /* 801D76E0 001D4640 39 41 00 60 */ addi r10, r1, 0x60 /* 801D76E4 001D4644 B1 81 00 18 */ sth r12, 0x18(r1) /* 801D76E8 001D4648 91 61 00 08 */ stw r11, 8(r1) /* 801D76EC 001D464C 90 01 00 0C */ stw r0, 0xc(r1) /* 801D76F0 001D4650 4B E7 E1 31 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801D76F4 001D4654 38 61 00 68 */ addi r3, r1, 0x68 /* 801D76F8 001D4658 38 80 FF FF */ li r4, -1 /* 801D76FC 001D465C 4B F2 EF 0D */ bl __dt__16CActorParametersFv /* 801D7700 001D4660 38 61 00 D0 */ addi r3, r1, 0xd0 /* 801D7704 001D4664 38 80 FF FF */ li r4, -1 /* 801D7708 001D4668 4B F3 F3 45 */ bl __dt__10CModelDataFv /* 801D770C 001D466C 3C 60 80 3E */ lis r3, lbl_803E58C0@ha /* 801D7710 001D4670 3A BA 00 E8 */ addi r21, r26, 0xe8 /* 801D7714 001D4674 38 03 58 C0 */ addi r0, r3, lbl_803E58C0@l /* 801D7718 001D4678 38 61 00 28 */ addi r3, r1, 0x28 /* 801D771C 001D467C 90 1A 00 00 */ stw r0, 0(r26) /* 801D7720 001D4680 38 80 00 00 */ li r4, 0 /* 801D7724 001D4684 4B EB 82 1D */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" /* 801D7728 001D4688 38 00 00 00 */ li r0, 0 /* 801D772C 001D468C 80 81 00 2C */ lwz r4, 0x2c(r1) /* 801D7730 001D4690 98 01 00 28 */ stb r0, 0x28(r1) /* 801D7734 001D4694 7E A3 AB 78 */ mr r3, r21 /* 801D7738 001D4698 48 16 97 CD */ bl __ct__6CTokenFP4IObj /* 801D773C 001D469C 88 01 00 28 */ lbz r0, 0x28(r1) /* 801D7740 001D46A0 28 00 00 00 */ cmplwi r0, 0 /* 801D7744 001D46A4 41 82 00 24 */ beq lbl_801D7768 /* 801D7748 001D46A8 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801D774C 001D46AC 28 03 00 00 */ cmplwi r3, 0 /* 801D7750 001D46B0 41 82 00 18 */ beq lbl_801D7768 /* 801D7754 001D46B4 81 83 00 00 */ lwz r12, 0(r3) /* 801D7758 001D46B8 38 80 00 01 */ li r4, 1 /* 801D775C 001D46BC 81 8C 00 08 */ lwz r12, 8(r12) /* 801D7760 001D46C0 7D 89 03 A6 */ mtctr r12 /* 801D7764 001D46C4 4E 80 04 21 */ bctrl lbl_801D7768: /* 801D7768 001D46C8 3A BA 00 F0 */ addi r21, r26, 0xf0 /* 801D776C 001D46CC 38 61 00 20 */ addi r3, r1, 0x20 /* 801D7770 001D46D0 38 80 00 00 */ li r4, 0 /* 801D7774 001D46D4 4B EB 82 ED */ bl "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FP20CElectricDescription" /* 801D7778 001D46D8 38 00 00 00 */ li r0, 0 /* 801D777C 001D46DC 80 81 00 24 */ lwz r4, 0x24(r1) /* 801D7780 001D46E0 98 01 00 20 */ stb r0, 0x20(r1) /* 801D7784 001D46E4 7E A3 AB 78 */ mr r3, r21 /* 801D7788 001D46E8 48 16 97 7D */ bl __ct__6CTokenFP4IObj /* 801D778C 001D46EC 88 01 00 20 */ lbz r0, 0x20(r1) /* 801D7790 001D46F0 28 00 00 00 */ cmplwi r0, 0 /* 801D7794 001D46F4 41 82 00 24 */ beq lbl_801D77B8 /* 801D7798 001D46F8 80 61 00 24 */ lwz r3, 0x24(r1) /* 801D779C 001D46FC 28 03 00 00 */ cmplwi r3, 0 /* 801D77A0 001D4700 41 82 00 18 */ beq lbl_801D77B8 /* 801D77A4 001D4704 81 83 00 00 */ lwz r12, 0(r3) /* 801D77A8 001D4708 38 80 00 01 */ li r4, 1 /* 801D77AC 001D470C 81 8C 00 08 */ lwz r12, 8(r12) /* 801D77B0 001D4710 7D 89 03 A6 */ mtctr r12 /* 801D77B4 001D4714 4E 80 04 21 */ bctrl lbl_801D77B8: /* 801D77B8 001D4718 57 C3 04 3E */ clrlwi r3, r30, 0x10 /* 801D77BC 001D471C 48 11 11 F5 */ bl TranslateSFXID__11CSfxManagerFUs /* 801D77C0 001D4720 B0 7A 00 F8 */ sth r3, 0xf8(r26) /* 801D77C4 001D4724 C0 02 AC 6C */ lfs f0, lbl_805AC98C@sda21(r2) /* 801D77C8 001D4728 93 7A 00 FC */ stw r27, 0xfc(r26) /* 801D77CC 001D472C EC 20 E8 2A */ fadds f1, f0, f29 /* 801D77D0 001D4730 93 9A 01 00 */ stw r28, 0x100(r26) /* 801D77D4 001D4734 D3 BA 01 04 */ stfs f29, 0x104(r26) /* 801D77D8 001D4738 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801D77DC 001D473C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801D77E0 001D4740 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801D77E4 001D4744 40 80 00 0C */ bge lbl_801D77F0 /* 801D77E8 001D4748 38 61 00 1C */ addi r3, r1, 0x1c /* 801D77EC 001D474C 48 00 00 08 */ b lbl_801D77F4 lbl_801D77F0: /* 801D77F0 001D4750 38 61 00 10 */ addi r3, r1, 0x10 lbl_801D77F4: /* 801D77F4 001D4754 C0 03 00 00 */ lfs f0, 0(r3) /* 801D77F8 001D4758 3C 1B 00 01 */ addis r0, r27, 1 /* 801D77FC 001D475C 28 00 FF FF */ cmplwi r0, 0xffff /* 801D7800 001D4760 7F E3 00 34 */ cntlzw r3, r31 /* 801D7804 001D4764 D0 1A 01 08 */ stfs f0, 0x108(r26) /* 801D7808 001D4768 D3 DA 01 0C */ stfs f30, 0x10c(r26) /* 801D780C 001D476C D3 FA 01 10 */ stfs f31, 0x110(r26) /* 801D7810 001D4770 80 1D 00 00 */ lwz r0, 0(r29) /* 801D7814 001D4774 90 1A 01 14 */ stw r0, 0x114(r26) /* 801D7818 001D4778 88 1A 01 18 */ lbz r0, 0x118(r26) /* 801D781C 001D477C 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 /* 801D7820 001D4780 98 1A 01 18 */ stb r0, 0x118(r26) /* 801D7824 001D4784 41 82 00 60 */ beq lbl_801D7884 /* 801D7828 001D4788 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801D782C 001D478C 93 61 00 5C */ stw r27, 0x5c(r1) /* 801D7830 001D4790 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801D7834 001D4794 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D7838 001D4798 90 01 00 58 */ stw r0, 0x58(r1) /* 801D783C 001D479C 38 61 00 50 */ addi r3, r1, 0x50 /* 801D7840 001D47A0 38 A1 00 58 */ addi r5, r1, 0x58 /* 801D7844 001D47A4 81 84 00 00 */ lwz r12, 0(r4) /* 801D7848 001D47A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D784C 001D47AC 7D 89 03 A6 */ mtctr r12 /* 801D7850 001D47B0 4E 80 04 21 */ bctrl /* 801D7854 001D47B4 38 61 00 48 */ addi r3, r1, 0x48 /* 801D7858 001D47B8 38 81 00 50 */ addi r4, r1, 0x50 /* 801D785C 001D47BC 48 16 96 4D */ bl __ct__6CTokenFRC6CToken /* 801D7860 001D47C0 38 7A 00 E8 */ addi r3, r26, 0xe8 /* 801D7864 001D47C4 38 81 00 48 */ addi r4, r1, 0x48 /* 801D7868 001D47C8 48 16 94 5D */ bl __as__6CTokenFRC6CToken /* 801D786C 001D47CC 38 61 00 48 */ addi r3, r1, 0x48 /* 801D7870 001D47D0 38 80 00 00 */ li r4, 0 /* 801D7874 001D47D4 48 16 95 CD */ bl __dt__6CTokenFv /* 801D7878 001D47D8 38 61 00 50 */ addi r3, r1, 0x50 /* 801D787C 001D47DC 38 80 FF FF */ li r4, -1 /* 801D7880 001D47E0 48 16 95 C1 */ bl __dt__6CTokenFv lbl_801D7884: /* 801D7884 001D47E4 3C 1C 00 01 */ addis r0, r28, 1 /* 801D7888 001D47E8 28 00 FF FF */ cmplwi r0, 0xffff /* 801D788C 001D47EC 41 82 00 60 */ beq lbl_801D78EC /* 801D7890 001D47F0 3C 60 45 4C */ lis r3, 0x454C5343@ha /* 801D7894 001D47F4 93 81 00 44 */ stw r28, 0x44(r1) /* 801D7898 001D47F8 38 03 53 43 */ addi r0, r3, 0x454C5343@l /* 801D789C 001D47FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801D78A0 001D4800 90 01 00 40 */ stw r0, 0x40(r1) /* 801D78A4 001D4804 38 61 00 38 */ addi r3, r1, 0x38 /* 801D78A8 001D4808 38 A1 00 40 */ addi r5, r1, 0x40 /* 801D78AC 001D480C 81 84 00 00 */ lwz r12, 0(r4) /* 801D78B0 001D4810 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801D78B4 001D4814 7D 89 03 A6 */ mtctr r12 /* 801D78B8 001D4818 4E 80 04 21 */ bctrl /* 801D78BC 001D481C 38 61 00 30 */ addi r3, r1, 0x30 /* 801D78C0 001D4820 38 81 00 38 */ addi r4, r1, 0x38 /* 801D78C4 001D4824 48 16 95 E5 */ bl __ct__6CTokenFRC6CToken /* 801D78C8 001D4828 38 7A 00 F0 */ addi r3, r26, 0xf0 /* 801D78CC 001D482C 38 81 00 30 */ addi r4, r1, 0x30 /* 801D78D0 001D4830 48 16 93 F5 */ bl __as__6CTokenFRC6CToken /* 801D78D4 001D4834 38 61 00 30 */ addi r3, r1, 0x30 /* 801D78D8 001D4838 38 80 00 00 */ li r4, 0 /* 801D78DC 001D483C 48 16 95 65 */ bl __dt__6CTokenFv /* 801D78E0 001D4840 38 61 00 38 */ addi r3, r1, 0x38 /* 801D78E4 001D4844 38 80 FF FF */ li r4, -1 /* 801D78E8 001D4848 48 16 95 59 */ bl __dt__6CTokenFv lbl_801D78EC: /* 801D78EC 001D484C 7F 43 D3 78 */ mr r3, r26 /* 801D78F0 001D4850 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 /* 801D78F4 001D4854 CB E1 01 70 */ lfd f31, 0x170(r1) /* 801D78F8 001D4858 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 /* 801D78FC 001D485C CB C1 01 60 */ lfd f30, 0x160(r1) /* 801D7900 001D4860 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 /* 801D7904 001D4864 CB A1 01 50 */ lfd f29, 0x150(r1) /* 801D7908 001D4868 BA A1 01 24 */ lmw r21, 0x124(r1) /* 801D790C 001D486C 80 01 01 84 */ lwz r0, 0x184(r1) /* 801D7910 001D4870 7C 08 03 A6 */ mtlr r0 /* 801D7914 001D4874 38 21 01 80 */ addi r1, r1, 0x180 /* 801D7918 001D4878 4E 80 00 20 */ blr .global __dt__9CJellyZapFv __dt__9CJellyZapFv: /* 801D791C 001D487C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D7920 001D4880 7C 08 02 A6 */ mflr r0 /* 801D7924 001D4884 90 01 00 14 */ stw r0, 0x14(r1) /* 801D7928 001D4888 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D792C 001D488C 7C 9F 23 78 */ mr r31, r4 /* 801D7930 001D4890 93 C1 00 08 */ stw r30, 8(r1) /* 801D7934 001D4894 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D7938 001D4898 41 82 00 28 */ beq lbl_801D7960 /* 801D793C 001D489C 3C A0 80 3E */ lis r5, lbl_803E5954@ha /* 801D7940 001D48A0 38 80 00 00 */ li r4, 0 /* 801D7944 001D48A4 38 05 59 54 */ addi r0, r5, lbl_803E5954@l /* 801D7948 001D48A8 90 1E 00 00 */ stw r0, 0(r30) /* 801D794C 001D48AC 4B E9 FC 25 */ bl __dt__10CPatternedFv /* 801D7950 001D48B0 7F E0 07 35 */ extsh. r0, r31 /* 801D7954 001D48B4 40 81 00 0C */ ble lbl_801D7960 /* 801D7958 001D48B8 7F C3 F3 78 */ mr r3, r30 /* 801D795C 001D48BC 48 13 DF D5 */ bl Free__7CMemoryFPCv lbl_801D7960: /* 801D7960 001D48C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D7964 001D48C4 7F C3 F3 78 */ mr r3, r30 /* 801D7968 001D48C8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D796C 001D48CC 83 C1 00 08 */ lwz r30, 8(r1) /* 801D7970 001D48D0 7C 08 03 A6 */ mtlr r0 /* 801D7974 001D48D4 38 21 00 10 */ addi r1, r1, 0x10 /* 801D7978 001D48D8 4E 80 00 20 */ blr .global KnockBack__9CJellyZapFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef KnockBack__9CJellyZapFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: /* 801D797C 001D48DC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D7980 001D48E0 7C 08 02 A6 */ mflr r0 /* 801D7984 001D48E4 90 01 00 44 */ stw r0, 0x44(r1) /* 801D7988 001D48E8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D798C 001D48EC 7C BF 2B 78 */ mr r31, r5 /* 801D7990 001D48F0 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D7994 001D48F4 7C 7E 1B 78 */ mr r30, r3 /* 801D7998 001D48F8 80 06 00 00 */ lwz r0, 0(r6) /* 801D799C 001D48FC 2C 00 00 01 */ cmpwi r0, 1 /* 801D79A0 001D4900 40 82 00 6C */ bne lbl_801D7A0C /* 801D79A4 001D4904 C0 02 AC 70 */ lfs f0, lbl_805AC990@sda21(r2) /* 801D79A8 001D4908 7C 85 23 78 */ mr r5, r4 /* 801D79AC 001D490C 38 61 00 14 */ addi r3, r1, 0x14 /* 801D79B0 001D4910 38 9E 00 34 */ addi r4, r30, 0x34 /* 801D79B4 001D4914 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801D79B8 001D4918 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801D79BC 001D491C D0 01 00 34 */ stfs f0, 0x34(r1) /* 801D79C0 001D4920 48 13 B0 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801D79C4 001D4924 38 61 00 20 */ addi r3, r1, 0x20 /* 801D79C8 001D4928 38 81 00 14 */ addi r4, r1, 0x14 /* 801D79CC 001D492C 48 13 C4 05 */ bl __ct__11CUnitVectorFRC9CVector3f /* 801D79D0 001D4930 C0 3E 04 FC */ lfs f1, 0x4fc(r30) /* 801D79D4 001D4934 7F C3 F3 78 */ mr r3, r30 /* 801D79D8 001D4938 80 C1 00 20 */ lwz r6, 0x20(r1) /* 801D79DC 001D493C 7F E4 FB 78 */ mr r4, r31 /* 801D79E0 001D4940 80 E1 00 24 */ lwz r7, 0x24(r1) /* 801D79E4 001D4944 38 A1 00 2C */ addi r5, r1, 0x2c /* 801D79E8 001D4948 80 01 00 28 */ lwz r0, 0x28(r1) /* 801D79EC 001D494C 90 C1 00 08 */ stw r6, 8(r1) /* 801D79F0 001D4950 38 C1 00 08 */ addi r6, r1, 8 /* 801D79F4 001D4954 90 E1 00 0C */ stw r7, 0xc(r1) /* 801D79F8 001D4958 90 01 00 10 */ stw r0, 0x10(r1) /* 801D79FC 001D495C 81 9E 00 00 */ lwz r12, 0(r30) /* 801D7A00 001D4960 81 8C 02 90 */ lwz r12, 0x290(r12) /* 801D7A04 001D4964 7D 89 03 A6 */ mtctr r12 /* 801D7A08 001D4968 4E 80 04 21 */ bctrl lbl_801D7A0C: /* 801D7A0C 001D496C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D7A10 001D4970 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D7A14 001D4974 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D7A18 001D4978 7C 08 03 A6 */ mtlr r0 /* 801D7A1C 001D497C 38 21 00 40 */ addi r1, r1, 0x40 /* 801D7A20 001D4980 4E 80 00 20 */ blr .global ClosestToPlayer__9CJellyZapCFR13CStateManager ClosestToPlayer__9CJellyZapCFR13CStateManager: /* 801D7A24 001D4984 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801D7A28 001D4988 7C 08 02 A6 */ mflr r0 /* 801D7A2C 001D498C 90 01 00 94 */ stw r0, 0x94(r1) /* 801D7A30 001D4990 DB E1 00 80 */ stfd f31, 0x80(r1) /* 801D7A34 001D4994 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801D7A38 001D4998 DB C1 00 70 */ stfd f30, 0x70(r1) /* 801D7A3C 001D499C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 801D7A40 001D49A0 DB A1 00 60 */ stfd f29, 0x60(r1) /* 801D7A44 001D49A4 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 801D7A48 001D49A8 DB 81 00 50 */ stfd f28, 0x50(r1) /* 801D7A4C 001D49AC F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 /* 801D7A50 001D49B0 DB 61 00 40 */ stfd f27, 0x40(r1) /* 801D7A54 001D49B4 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 /* 801D7A58 001D49B8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D7A5C 001D49BC 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D7A60 001D49C0 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D7A64 001D49C4 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 801D7A68 001D49C8 7C 7D 1B 78 */ mr r29, r3 /* 801D7A6C 001D49CC 83 E4 08 20 */ lwz r31, 0x820(r4) /* 801D7A70 001D49D0 C3 C5 00 50 */ lfs f30, 0x50(r5) /* 801D7A74 001D49D4 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801D7A78 001D49D8 C3 E5 00 40 */ lfs f31, 0x40(r5) /* 801D7A7C 001D49DC EC 9E 00 28 */ fsubs f4, f30, f0 /* 801D7A80 001D49E0 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D7A84 001D49E4 C3 A5 00 60 */ lfs f29, 0x60(r5) /* 801D7A88 001D49E8 EC 5F 00 28 */ fsubs f2, f31, f0 /* 801D7A8C 001D49EC C0 23 00 60 */ lfs f1, 0x60(r3) /* 801D7A90 001D49F0 EC 04 01 32 */ fmuls f0, f4, f4 /* 801D7A94 001D49F4 EC 7D 08 28 */ fsubs f3, f29, f1 /* 801D7A98 001D49F8 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801D7A9C 001D49FC EC 22 00 B2 */ fmuls f1, f2, f2 /* 801D7AA0 001D4A00 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801D7AA4 001D4A04 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801D7AA8 001D4A08 AB DF 20 08 */ lha r30, 0x2008(r31) /* 801D7AAC 001D4A0C EC 01 00 2A */ fadds f0, f1, f0 /* 801D7AB0 001D4A10 D0 61 00 20 */ stfs f3, 0x20(r1) /* 801D7AB4 001D4A14 EF 82 00 2A */ fadds f28, f2, f0 /* 801D7AB8 001D4A18 FF 60 E0 90 */ fmr f27, f28 /* 801D7ABC 001D4A1C 48 00 00 B8 */ b lbl_801D7B74 lbl_801D7AC0: /* 801D7AC0 001D4A20 7F E3 FB 78 */ mr r3, r31 /* 801D7AC4 001D4A24 7F C4 F3 78 */ mr r4, r30 /* 801D7AC8 001D4A28 4B E3 82 4D */ bl __vc__11CObjectListFi /* 801D7ACC 001D4A2C 7C 60 1B 78 */ mr r0, r3 /* 801D7AD0 001D4A30 38 61 00 08 */ addi r3, r1, 8 /* 801D7AD4 001D4A34 7C 04 03 78 */ mr r4, r0 /* 801D7AD8 001D4A38 4B EC DA 31 */ bl sub_800a5508 /* 801D7ADC 001D4A3C 4B EC DA 01 */ bl "CastTo<9CJellyZap>__10CPatternedFP7CEntity" /* 801D7AE0 001D4A40 28 03 00 00 */ cmplwi r3, 0 /* 801D7AE4 001D4A44 41 82 00 74 */ beq lbl_801D7B58 /* 801D7AE8 001D4A48 80 83 00 04 */ lwz r4, 4(r3) /* 801D7AEC 001D4A4C 80 1D 00 04 */ lwz r0, 4(r29) /* 801D7AF0 001D4A50 7C 04 00 00 */ cmpw r4, r0 /* 801D7AF4 001D4A54 40 82 00 64 */ bne lbl_801D7B58 /* 801D7AF8 001D4A58 7C 03 E8 40 */ cmplw r3, r29 /* 801D7AFC 001D4A5C 41 82 00 5C */ beq lbl_801D7B58 /* 801D7B00 001D4A60 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801D7B04 001D4A64 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D7B08 001D4A68 EC 5E 08 28 */ fsubs f2, f30, f1 /* 801D7B0C 001D4A6C C0 23 00 60 */ lfs f1, 0x60(r3) /* 801D7B10 001D4A70 EC 7F 00 28 */ fsubs f3, f31, f0 /* 801D7B14 001D4A74 EC 9D 08 28 */ fsubs f4, f29, f1 /* 801D7B18 001D4A78 EC 02 00 B2 */ fmuls f0, f2, f2 /* 801D7B1C 001D4A7C D0 41 00 10 */ stfs f2, 0x10(r1) /* 801D7B20 001D4A80 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801D7B24 001D4A84 EC 44 01 32 */ fmuls f2, f4, f4 /* 801D7B28 001D4A88 D0 61 00 0C */ stfs f3, 0xc(r1) /* 801D7B2C 001D4A8C EC 01 00 2A */ fadds f0, f1, f0 /* 801D7B30 001D4A90 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801D7B34 001D4A94 EC 02 00 2A */ fadds f0, f2, f0 /* 801D7B38 001D4A98 FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 801D7B3C 001D4A9C 40 80 00 08 */ bge lbl_801D7B44 /* 801D7B40 001D4AA0 FF 60 00 90 */ fmr f27, f0 lbl_801D7B44: /* 801D7B44 001D4AA4 88 03 05 B8 */ lbz r0, 0x5b8(r3) /* 801D7B48 001D4AA8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801D7B4C 001D4AAC 41 82 00 0C */ beq lbl_801D7B58 /* 801D7B50 001D4AB0 38 60 00 00 */ li r3, 0 /* 801D7B54 001D4AB4 48 00 00 40 */ b lbl_801D7B94 lbl_801D7B58: /* 801D7B58 001D4AB8 2C 1E FF FF */ cmpwi r30, -1 /* 801D7B5C 001D4ABC 41 82 00 14 */ beq lbl_801D7B70 /* 801D7B60 001D4AC0 57 C3 18 38 */ slwi r3, r30, 3 /* 801D7B64 001D4AC4 38 03 00 08 */ addi r0, r3, 8 /* 801D7B68 001D4AC8 7F DF 02 AE */ lhax r30, r31, r0 /* 801D7B6C 001D4ACC 48 00 00 08 */ b lbl_801D7B74 lbl_801D7B70: /* 801D7B70 001D4AD0 3B C0 FF FF */ li r30, -1 lbl_801D7B74: /* 801D7B74 001D4AD4 2C 1E FF FF */ cmpwi r30, -1 /* 801D7B78 001D4AD8 40 82 FF 48 */ bne lbl_801D7AC0 /* 801D7B7C 001D4ADC EC 3B E0 28 */ fsubs f1, f27, f28 /* 801D7B80 001D4AE0 C0 02 AC 74 */ lfs f0, lbl_805AC994@sda21(r2) /* 801D7B84 001D4AE4 FC 20 0A 10 */ fabs f1, f1 /* 801D7B88 001D4AE8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D7B8C 001D4AEC 7C 00 00 26 */ mfcr r0 /* 801D7B90 001D4AF0 54 03 0F FE */ srwi r3, r0, 0x1f lbl_801D7B94: /* 801D7B94 001D4AF4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801D7B98 001D4AF8 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801D7B9C 001D4AFC E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 801D7BA0 001D4B00 CB C1 00 70 */ lfd f30, 0x70(r1) /* 801D7BA4 001D4B04 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 801D7BA8 001D4B08 CB A1 00 60 */ lfd f29, 0x60(r1) /* 801D7BAC 001D4B0C E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 /* 801D7BB0 001D4B10 CB 81 00 50 */ lfd f28, 0x50(r1) /* 801D7BB4 001D4B14 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 /* 801D7BB8 001D4B18 CB 61 00 40 */ lfd f27, 0x40(r1) /* 801D7BBC 001D4B1C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D7BC0 001D4B20 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D7BC4 001D4B24 80 01 00 94 */ lwz r0, 0x94(r1) /* 801D7BC8 001D4B28 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801D7BCC 001D4B2C 7C 08 03 A6 */ mtlr r0 /* 801D7BD0 001D4B30 38 21 00 90 */ addi r1, r1, 0x90 /* 801D7BD4 001D4B34 4E 80 00 20 */ blr .global RemoveSelfFromFishCloud__9CJellyZapFR13CStateManager RemoveSelfFromFishCloud__9CJellyZapFR13CStateManager: /* 801D7BD8 001D4B38 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D7BDC 001D4B3C 7C 08 02 A6 */ mflr r0 /* 801D7BE0 001D4B40 90 01 00 44 */ stw r0, 0x44(r1) /* 801D7BE4 001D4B44 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D7BE8 001D4B48 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D7BEC 001D4B4C 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D7BF0 001D4B50 7C 9D 23 78 */ mr r29, r4 /* 801D7BF4 001D4B54 93 81 00 30 */ stw r28, 0x30(r1) /* 801D7BF8 001D4B58 7C 7C 1B 78 */ mr r28, r3 /* 801D7BFC 001D4B5C 83 C3 00 2C */ lwz r30, 0x2c(r3) /* 801D7C00 001D4B60 48 00 00 A4 */ b lbl_801D7CA4 lbl_801D7C04: /* 801D7C04 001D4B64 80 1E 00 00 */ lwz r0, 0(r30) /* 801D7C08 001D4B68 2C 00 00 19 */ cmpwi r0, 0x19 /* 801D7C0C 001D4B6C 40 82 00 94 */ bne lbl_801D7CA0 /* 801D7C10 001D4B70 80 1E 00 04 */ lwz r0, 4(r30) /* 801D7C14 001D4B74 2C 00 00 06 */ cmpwi r0, 6 /* 801D7C18 001D4B78 40 82 00 88 */ bne lbl_801D7CA0 /* 801D7C1C 001D4B7C 80 1E 00 08 */ lwz r0, 8(r30) /* 801D7C20 001D4B80 7F A4 EB 78 */ mr r4, r29 /* 801D7C24 001D4B84 38 61 00 1C */ addi r3, r1, 0x1c /* 801D7C28 001D4B88 38 A1 00 24 */ addi r5, r1, 0x24 /* 801D7C2C 001D4B8C 90 01 00 24 */ stw r0, 0x24(r1) /* 801D7C30 001D4B90 4B E7 02 ED */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801D7C34 001D4B94 A0 61 00 1C */ lhz r3, 0x1c(r1) /* 801D7C38 001D4B98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801D7C3C 001D4B9C B0 61 00 20 */ sth r3, 0x20(r1) /* 801D7C40 001D4BA0 7C 03 00 40 */ cmplw r3, r0 /* 801D7C44 001D4BA4 41 82 00 5C */ beq lbl_801D7CA0 /* 801D7C48 001D4BA8 B0 61 00 18 */ sth r3, 0x18(r1) /* 801D7C4C 001D4BAC 7F A3 EB 78 */ mr r3, r29 /* 801D7C50 001D4BB0 38 81 00 18 */ addi r4, r1, 0x18 /* 801D7C54 001D4BB4 4B E7 49 21 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801D7C58 001D4BB8 7C 64 1B 78 */ mr r4, r3 /* 801D7C5C 001D4BBC 38 61 00 28 */ addi r3, r1, 0x28 /* 801D7C60 001D4BC0 4B ED 65 01 */ bl "__ct__24TCastToPtr<10CFishCloud>FP7CEntity" /* 801D7C64 001D4BC4 83 E3 00 04 */ lwz r31, 4(r3) /* 801D7C68 001D4BC8 28 1F 00 00 */ cmplwi r31, 0 /* 801D7C6C 001D4BCC 41 82 00 34 */ beq lbl_801D7CA0 /* 801D7C70 001D4BD0 A0 1C 00 08 */ lhz r0, 8(r28) /* 801D7C74 001D4BD4 7F E3 FB 78 */ mr r3, r31 /* 801D7C78 001D4BD8 38 81 00 14 */ addi r4, r1, 0x14 /* 801D7C7C 001D4BDC B0 01 00 10 */ sth r0, 0x10(r1) /* 801D7C80 001D4BE0 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D7C84 001D4BE4 4B FF 8F 0D */ bl sub_801d0b90 /* 801D7C88 001D4BE8 A0 1C 00 08 */ lhz r0, 8(r28) /* 801D7C8C 001D4BEC 7F E3 FB 78 */ mr r3, r31 /* 801D7C90 001D4BF0 38 81 00 0C */ addi r4, r1, 0xc /* 801D7C94 001D4BF4 B0 01 00 08 */ sth r0, 8(r1) /* 801D7C98 001D4BF8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801D7C9C 001D4BFC 4B FF 8D 01 */ bl sub_801d099c lbl_801D7CA0: /* 801D7CA0 001D4C00 3B DE 00 0C */ addi r30, r30, 0xc lbl_801D7CA4: /* 801D7CA4 001D4C04 80 1C 00 24 */ lwz r0, 0x24(r28) /* 801D7CA8 001D4C08 80 7C 00 2C */ lwz r3, 0x2c(r28) /* 801D7CAC 001D4C0C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D7CB0 001D4C10 7C 03 02 14 */ add r0, r3, r0 /* 801D7CB4 001D4C14 7C 1E 00 40 */ cmplw r30, r0 /* 801D7CB8 001D4C18 40 82 FF 4C */ bne lbl_801D7C04 /* 801D7CBC 001D4C1C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D7CC0 001D4C20 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D7CC4 001D4C24 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D7CC8 001D4C28 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801D7CCC 001D4C2C 83 81 00 30 */ lwz r28, 0x30(r1) /* 801D7CD0 001D4C30 7C 08 03 A6 */ mtlr r0 /* 801D7CD4 001D4C34 38 21 00 40 */ addi r1, r1, 0x40 /* 801D7CD8 001D4C38 4E 80 00 20 */ blr .global AddSelfToFishCloud__9CJellyZapFR13CStateManagerffb AddSelfToFishCloud__9CJellyZapFR13CStateManagerffb: /* 801D7CDC 001D4C3C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D7CE0 001D4C40 7C 08 02 A6 */ mflr r0 /* 801D7CE4 001D4C44 90 01 00 54 */ stw r0, 0x54(r1) /* 801D7CE8 001D4C48 DB E1 00 48 */ stfd f31, 0x48(r1) /* 801D7CEC 001D4C4C FF E0 10 90 */ fmr f31, f2 /* 801D7CF0 001D4C50 DB C1 00 40 */ stfd f30, 0x40(r1) /* 801D7CF4 001D4C54 FF C0 08 90 */ fmr f30, f1 /* 801D7CF8 001D4C58 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D7CFC 001D4C5C 7C BF 2B 78 */ mr r31, r5 /* 801D7D00 001D4C60 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D7D04 001D4C64 7C 9E 23 78 */ mr r30, r4 /* 801D7D08 001D4C68 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D7D0C 001D4C6C 7C 7D 1B 78 */ mr r29, r3 /* 801D7D10 001D4C70 93 81 00 30 */ stw r28, 0x30(r1) /* 801D7D14 001D4C74 83 83 00 2C */ lwz r28, 0x2c(r3) /* 801D7D18 001D4C78 48 00 00 C0 */ b lbl_801D7DD8 lbl_801D7D1C: /* 801D7D1C 001D4C7C 80 1C 00 00 */ lwz r0, 0(r28) /* 801D7D20 001D4C80 2C 00 00 19 */ cmpwi r0, 0x19 /* 801D7D24 001D4C84 40 82 00 B0 */ bne lbl_801D7DD4 /* 801D7D28 001D4C88 80 1C 00 04 */ lwz r0, 4(r28) /* 801D7D2C 001D4C8C 2C 00 00 06 */ cmpwi r0, 6 /* 801D7D30 001D4C90 40 82 00 A4 */ bne lbl_801D7DD4 /* 801D7D34 001D4C94 80 1C 00 08 */ lwz r0, 8(r28) /* 801D7D38 001D4C98 7F C4 F3 78 */ mr r4, r30 /* 801D7D3C 001D4C9C 38 61 00 1C */ addi r3, r1, 0x1c /* 801D7D40 001D4CA0 38 A1 00 24 */ addi r5, r1, 0x24 /* 801D7D44 001D4CA4 90 01 00 24 */ stw r0, 0x24(r1) /* 801D7D48 001D4CA8 4B E7 01 D5 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801D7D4C 001D4CAC A0 61 00 1C */ lhz r3, 0x1c(r1) /* 801D7D50 001D4CB0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801D7D54 001D4CB4 B0 61 00 20 */ sth r3, 0x20(r1) /* 801D7D58 001D4CB8 7C 03 00 40 */ cmplw r3, r0 /* 801D7D5C 001D4CBC 41 82 00 78 */ beq lbl_801D7DD4 /* 801D7D60 001D4CC0 B0 61 00 18 */ sth r3, 0x18(r1) /* 801D7D64 001D4CC4 7F C3 F3 78 */ mr r3, r30 /* 801D7D68 001D4CC8 38 81 00 18 */ addi r4, r1, 0x18 /* 801D7D6C 001D4CCC 4B E7 48 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801D7D70 001D4CD0 7C 64 1B 78 */ mr r4, r3 /* 801D7D74 001D4CD4 38 61 00 28 */ addi r3, r1, 0x28 /* 801D7D78 001D4CD8 4B ED 63 E9 */ bl "__ct__24TCastToPtr<10CFishCloud>FP7CEntity" /* 801D7D7C 001D4CDC 80 63 00 04 */ lwz r3, 4(r3) /* 801D7D80 001D4CE0 28 03 00 00 */ cmplwi r3, 0 /* 801D7D84 001D4CE4 41 82 00 50 */ beq lbl_801D7DD4 /* 801D7D88 001D4CE8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801D7D8C 001D4CEC 41 82 00 28 */ beq lbl_801D7DB4 /* 801D7D90 001D4CF0 A0 1D 00 08 */ lhz r0, 8(r29) /* 801D7D94 001D4CF4 FC 20 F0 90 */ fmr f1, f30 /* 801D7D98 001D4CF8 FC 40 F8 90 */ fmr f2, f31 /* 801D7D9C 001D4CFC 38 81 00 14 */ addi r4, r1, 0x14 /* 801D7DA0 001D4D00 B0 01 00 10 */ sth r0, 0x10(r1) /* 801D7DA4 001D4D04 38 A0 00 00 */ li r5, 0 /* 801D7DA8 001D4D08 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D7DAC 001D4D0C 4B FF 8E D9 */ bl sub_801d0c84 /* 801D7DB0 001D4D10 48 00 00 24 */ b lbl_801D7DD4 lbl_801D7DB4: /* 801D7DB4 001D4D14 A0 1D 00 08 */ lhz r0, 8(r29) /* 801D7DB8 001D4D18 FC 20 F0 90 */ fmr f1, f30 /* 801D7DBC 001D4D1C FC 40 F8 90 */ fmr f2, f31 /* 801D7DC0 001D4D20 38 81 00 0C */ addi r4, r1, 0xc /* 801D7DC4 001D4D24 B0 01 00 08 */ sth r0, 8(r1) /* 801D7DC8 001D4D28 38 A0 00 00 */ li r5, 0 /* 801D7DCC 001D4D2C B0 01 00 0C */ sth r0, 0xc(r1) /* 801D7DD0 001D4D30 4B FF 93 75 */ bl sub_801d1144 lbl_801D7DD4: /* 801D7DD4 001D4D34 3B 9C 00 0C */ addi r28, r28, 0xc lbl_801D7DD8: /* 801D7DD8 001D4D38 80 1D 00 24 */ lwz r0, 0x24(r29) /* 801D7DDC 001D4D3C 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 801D7DE0 001D4D40 1C 00 00 0C */ mulli r0, r0, 0xc /* 801D7DE4 001D4D44 7C 03 02 14 */ add r0, r3, r0 /* 801D7DE8 001D4D48 7C 1C 00 40 */ cmplw r28, r0 /* 801D7DEC 001D4D4C 40 82 FF 30 */ bne lbl_801D7D1C /* 801D7DF0 001D4D50 80 01 00 54 */ lwz r0, 0x54(r1) /* 801D7DF4 001D4D54 CB E1 00 48 */ lfd f31, 0x48(r1) /* 801D7DF8 001D4D58 CB C1 00 40 */ lfd f30, 0x40(r1) /* 801D7DFC 001D4D5C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D7E00 001D4D60 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D7E04 001D4D64 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801D7E08 001D4D68 83 81 00 30 */ lwz r28, 0x30(r1) /* 801D7E0C 001D4D6C 7C 08 03 A6 */ mtlr r0 /* 801D7E10 001D4D70 38 21 00 50 */ addi r1, r1, 0x50 /* 801D7E14 001D4D74 4E 80 00 20 */ blr .global AddRepulsor__9CJellyZapFR13CStateManager AddRepulsor__9CJellyZapFR13CStateManager: /* 801D7E18 001D4D78 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D7E1C 001D4D7C 7C 08 02 A6 */ mflr r0 /* 801D7E20 001D4D80 38 A0 00 01 */ li r5, 1 /* 801D7E24 001D4D84 90 01 00 14 */ stw r0, 0x14(r1) /* 801D7E28 001D4D88 C0 23 05 A0 */ lfs f1, 0x5a0(r3) /* 801D7E2C 001D4D8C C0 43 05 9C */ lfs f2, 0x59c(r3) /* 801D7E30 001D4D90 4B FF FE AD */ bl AddSelfToFishCloud__9CJellyZapFR13CStateManagerffb /* 801D7E34 001D4D94 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D7E38 001D4D98 7C 08 03 A6 */ mtlr r0 /* 801D7E3C 001D4D9C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D7E40 001D4DA0 4E 80 00 20 */ blr .global RemoveAllAttractors__9CJellyZapFR13CStateManager RemoveAllAttractors__9CJellyZapFR13CStateManager: /* 801D7E44 001D4DA4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D7E48 001D4DA8 7C 08 02 A6 */ mflr r0 /* 801D7E4C 001D4DAC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D7E50 001D4DB0 4B FF FD 89 */ bl RemoveSelfFromFishCloud__9CJellyZapFR13CStateManager /* 801D7E54 001D4DB4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D7E58 001D4DB8 7C 08 03 A6 */ mtlr r0 /* 801D7E5C 001D4DBC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D7E60 001D4DC0 4E 80 00 20 */ blr .global AddAttractor__9CJellyZapFR13CStateManager AddAttractor__9CJellyZapFR13CStateManager: /* 801D7E64 001D4DC4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D7E68 001D4DC8 7C 08 02 A6 */ mflr r0 /* 801D7E6C 001D4DCC 38 A0 00 01 */ li r5, 1 /* 801D7E70 001D4DD0 90 01 00 14 */ stw r0, 0x14(r1) /* 801D7E74 001D4DD4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D7E78 001D4DD8 7C 9F 23 78 */ mr r31, r4 /* 801D7E7C 001D4DDC 93 C1 00 08 */ stw r30, 8(r1) /* 801D7E80 001D4DE0 7C 7E 1B 78 */ mr r30, r3 /* 801D7E84 001D4DE4 C0 23 05 A0 */ lfs f1, 0x5a0(r3) /* 801D7E88 001D4DE8 C0 43 05 9C */ lfs f2, 0x59c(r3) /* 801D7E8C 001D4DEC 4B FF FE 51 */ bl AddSelfToFishCloud__9CJellyZapFR13CStateManagerffb /* 801D7E90 001D4DF0 C0 3E 05 A4 */ lfs f1, 0x5a4(r30) /* 801D7E94 001D4DF4 7F C3 F3 78 */ mr r3, r30 /* 801D7E98 001D4DF8 C0 5E 05 9C */ lfs f2, 0x59c(r30) /* 801D7E9C 001D4DFC 7F E4 FB 78 */ mr r4, r31 /* 801D7EA0 001D4E00 38 A0 00 00 */ li r5, 0 /* 801D7EA4 001D4E04 4B FF FE 39 */ bl AddSelfToFishCloud__9CJellyZapFR13CStateManagerffb /* 801D7EA8 001D4E08 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D7EAC 001D4E0C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D7EB0 001D4E10 83 C1 00 08 */ lwz r30, 8(r1) /* 801D7EB4 001D4E14 7C 08 03 A6 */ mtlr r0 /* 801D7EB8 001D4E18 38 21 00 10 */ addi r1, r1, 0x10 /* 801D7EBC 001D4E1C 4E 80 00 20 */ blr .global Flinch__9CJellyZapFR13CStateManager9EStateMsgf Flinch__9CJellyZapFR13CStateManager9EStateMsgf: /* 801D7EC0 001D4E20 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D7EC4 001D4E24 7C 08 02 A6 */ mflr r0 /* 801D7EC8 001D4E28 2C 05 00 01 */ cmpwi r5, 1 /* 801D7ECC 001D4E2C 90 01 00 24 */ stw r0, 0x24(r1) /* 801D7ED0 001D4E30 41 82 00 44 */ beq lbl_801D7F14 /* 801D7ED4 001D4E34 40 80 00 10 */ bge lbl_801D7EE4 /* 801D7ED8 001D4E38 2C 05 00 00 */ cmpwi r5, 0 /* 801D7EDC 001D4E3C 40 80 00 14 */ bge lbl_801D7EF0 /* 801D7EE0 001D4E40 48 00 00 70 */ b lbl_801D7F50 lbl_801D7EE4: /* 801D7EE4 001D4E44 2C 05 00 03 */ cmpwi r5, 3 /* 801D7EE8 001D4E48 40 80 00 68 */ bge lbl_801D7F50 /* 801D7EEC 001D4E4C 48 00 00 5C */ b lbl_801D7F48 lbl_801D7EF0: /* 801D7EF0 001D4E50 88 83 04 00 */ lbz r4, 0x400(r3) /* 801D7EF4 001D4E54 38 00 00 00 */ li r0, 0 /* 801D7EF8 001D4E58 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 801D7EFC 001D4E5C 38 00 00 01 */ li r0, 1 /* 801D7F00 001D4E60 98 83 04 00 */ stb r4, 0x400(r3) /* 801D7F04 001D4E64 90 03 03 2C */ stw r0, 0x32c(r3) /* 801D7F08 001D4E68 C0 03 05 B0 */ lfs f0, 0x5b0(r3) /* 801D7F0C 001D4E6C D0 03 03 40 */ stfs f0, 0x340(r3) /* 801D7F10 001D4E70 48 00 00 40 */ b lbl_801D7F50 lbl_801D7F14: /* 801D7F14 001D4E74 3C A0 80 3E */ lis r5, lbl_803E5948@ha /* 801D7F18 001D4E78 38 C1 00 08 */ addi r6, r1, 8 /* 801D7F1C 001D4E7C 39 45 59 48 */ addi r10, r5, lbl_803E5948@l /* 801D7F20 001D4E80 38 A0 00 06 */ li r5, 6 /* 801D7F24 001D4E84 81 2A 00 00 */ lwz r9, 0(r10) /* 801D7F28 001D4E88 38 E0 00 00 */ li r7, 0 /* 801D7F2C 001D4E8C 81 0A 00 04 */ lwz r8, 4(r10) /* 801D7F30 001D4E90 80 0A 00 08 */ lwz r0, 8(r10) /* 801D7F34 001D4E94 91 21 00 08 */ stw r9, 8(r1) /* 801D7F38 001D4E98 91 01 00 0C */ stw r8, 0xc(r1) /* 801D7F3C 001D4E9C 90 01 00 10 */ stw r0, 0x10(r1) /* 801D7F40 001D4EA0 4B EA 48 75 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801D7F44 001D4EA4 48 00 00 0C */ b lbl_801D7F50 lbl_801D7F48: /* 801D7F48 001D4EA8 38 00 00 00 */ li r0, 0 /* 801D7F4C 001D4EAC 90 03 03 2C */ stw r0, 0x32c(r3) lbl_801D7F50: /* 801D7F50 001D4EB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D7F54 001D4EB4 7C 08 03 A6 */ mtlr r0 /* 801D7F58 001D4EB8 38 21 00 20 */ addi r1, r1, 0x20 /* 801D7F5C 001D4EBC 4E 80 00 20 */ blr .global Attack__9CJellyZapFR13CStateManager9EStateMsgf Attack__9CJellyZapFR13CStateManager9EStateMsgf: /* 801D7F60 001D4EC0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D7F64 001D4EC4 7C 08 02 A6 */ mflr r0 /* 801D7F68 001D4EC8 2C 05 00 01 */ cmpwi r5, 1 /* 801D7F6C 001D4ECC 90 01 00 54 */ stw r0, 0x54(r1) /* 801D7F70 001D4ED0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801D7F74 001D4ED4 7C 9F 23 78 */ mr r31, r4 /* 801D7F78 001D4ED8 93 C1 00 48 */ stw r30, 0x48(r1) /* 801D7F7C 001D4EDC 7C 7E 1B 78 */ mr r30, r3 /* 801D7F80 001D4EE0 41 82 01 28 */ beq lbl_801D80A8 /* 801D7F84 001D4EE4 40 80 00 10 */ bge lbl_801D7F94 /* 801D7F88 001D4EE8 2C 05 00 00 */ cmpwi r5, 0 /* 801D7F8C 001D4EEC 40 80 00 14 */ bge lbl_801D7FA0 /* 801D7F90 001D4EF0 48 00 01 64 */ b lbl_801D80F4 lbl_801D7F94: /* 801D7F94 001D4EF4 2C 05 00 03 */ cmpwi r5, 3 /* 801D7F98 001D4EF8 40 80 01 5C */ bge lbl_801D80F4 /* 801D7F9C 001D4EFC 48 00 01 40 */ b lbl_801D80DC lbl_801D7FA0: /* 801D7FA0 001D4F00 38 00 00 01 */ li r0, 1 /* 801D7FA4 001D4F04 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801D7FA8 001D4F08 4B FF FE 71 */ bl AddRepulsor__9CJellyZapFR13CStateManager /* 801D7FAC 001D4F0C 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D7FB0 001D4F10 38 60 00 01 */ li r3, 1 /* 801D7FB4 001D4F14 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D7FB8 001D4F18 38 61 00 3C */ addi r3, r1, 0x3c /* 801D7FBC 001D4F1C 98 1E 05 B8 */ stb r0, 0x5b8(r30) /* 801D7FC0 001D4F20 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801D7FC4 001D4F24 C0 FE 00 60 */ lfs f7, 0x60(r30) /* 801D7FC8 001D4F28 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 801D7FCC 001D4F2C C0 84 00 50 */ lfs f4, 0x50(r4) /* 801D7FD0 001D4F30 C0 DE 00 50 */ lfs f6, 0x50(r30) /* 801D7FD4 001D4F34 EC 47 28 28 */ fsubs f2, f7, f5 /* 801D7FD8 001D4F38 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801D7FDC 001D4F3C C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801D7FE0 001D4F40 EC 66 20 28 */ fsubs f3, f6, f4 /* 801D7FE4 001D4F44 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801D7FE8 001D4F48 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D7FEC 001D4F4C D0 81 00 28 */ stfs f4, 0x28(r1) /* 801D7FF0 001D4F50 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801D7FF4 001D4F54 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801D7FF8 001D4F58 D0 C1 00 34 */ stfs f6, 0x34(r1) /* 801D7FFC 001D4F5C D0 E1 00 38 */ stfs f7, 0x38(r1) /* 801D8000 001D4F60 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801D8004 001D4F64 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801D8008 001D4F68 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801D800C 001D4F6C 48 13 C8 AD */ bl Magnitude__9CVector3fCFv /* 801D8010 001D4F70 C0 1E 05 7C */ lfs f0, 0x57c(r30) /* 801D8014 001D4F74 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D8018 001D4F78 40 80 00 84 */ bge lbl_801D809C /* 801D801C 001D4F7C EC 41 00 24 */ fdivs f2, f1, f0 /* 801D8020 001D4F80 C0 62 AC 80 */ lfs f3, lbl_805AC9A0@sda21(r2) /* 801D8024 001D4F84 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801D8028 001D4F88 C0 82 AC 7C */ lfs f4, lbl_805AC99C@sda21(r2) /* 801D802C 001D4F8C C0 22 AC 78 */ lfs f1, lbl_805AC998@sda21(r2) /* 801D8030 001D4F90 C0 03 07 40 */ lfs f0, 0x740(r3) /* 801D8034 001D4F94 EC 43 10 28 */ fsubs f2, f3, f2 /* 801D8038 001D4F98 EC 24 08 BA */ fmadds f1, f4, f2, f1 /* 801D803C 001D4F9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D8040 001D4FA0 40 81 00 34 */ ble lbl_801D8074 /* 801D8044 001D4FA4 C0 42 80 F8 */ lfs f2, lbl_805A9E18@sda21(r2) /* 801D8048 001D4FA8 C0 62 80 FC */ lfs f3, lbl_805A9E1C@sda21(r2) /* 801D804C 001D4FAC 4B E3 B0 21 */ bl SetHudDisable__7CPlayerFfff /* 801D8050 001D4FB0 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801D8054 001D4FB4 7F E6 FB 78 */ mr r6, r31 /* 801D8058 001D4FB8 38 81 00 14 */ addi r4, r1, 0x14 /* 801D805C 001D4FBC 38 A0 00 08 */ li r5, 8 /* 801D8060 001D4FC0 A0 03 03 10 */ lhz r0, 0x310(r3) /* 801D8064 001D4FC4 B0 01 00 14 */ sth r0, 0x14(r1) /* 801D8068 001D4FC8 B0 01 00 10 */ sth r0, 0x10(r1) /* 801D806C 001D4FCC 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801D8070 001D4FD0 4B FA 31 E5 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager lbl_801D8074: /* 801D8074 001D4FD4 A0 1E 00 08 */ lhz r0, 8(r30) /* 801D8078 001D4FD8 38 81 00 0C */ addi r4, r1, 0xc /* 801D807C 001D4FDC C0 22 AC 84 */ lfs f1, lbl_805AC9A4@sda21(r2) /* 801D8080 001D4FE0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801D8084 001D4FE4 FC 40 08 90 */ fmr f2, f1 /* 801D8088 001D4FE8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801D808C 001D4FEC B0 01 00 08 */ sth r0, 8(r1) /* 801D8090 001D4FF0 80 63 00 00 */ lwz r3, 0(r3) /* 801D8094 001D4FF4 38 63 01 88 */ addi r3, r3, 0x188 /* 801D8098 001D4FF8 4B FE 8A A1 */ bl AddSource__19CStaticInterferenceF9TUniqueId lbl_801D809C: /* 801D809C 001D4FFC C0 1E 05 AC */ lfs f0, 0x5ac(r30) /* 801D80A0 001D5000 D0 1E 03 40 */ stfs f0, 0x340(r30) /* 801D80A4 001D5004 48 00 00 50 */ b lbl_801D80F4 lbl_801D80A8: /* 801D80A8 001D5008 3C A0 80 3E */ lis r5, lbl_803E593C@ha /* 801D80AC 001D500C 38 C1 00 18 */ addi r6, r1, 0x18 /* 801D80B0 001D5010 39 45 59 3C */ addi r10, r5, lbl_803E593C@l /* 801D80B4 001D5014 38 A0 00 07 */ li r5, 7 /* 801D80B8 001D5018 81 2A 00 00 */ lwz r9, 0(r10) /* 801D80BC 001D501C 38 E0 00 01 */ li r7, 1 /* 801D80C0 001D5020 81 0A 00 04 */ lwz r8, 4(r10) /* 801D80C4 001D5024 80 0A 00 08 */ lwz r0, 8(r10) /* 801D80C8 001D5028 91 21 00 18 */ stw r9, 0x18(r1) /* 801D80CC 001D502C 91 01 00 1C */ stw r8, 0x1c(r1) /* 801D80D0 001D5030 90 01 00 20 */ stw r0, 0x20(r1) /* 801D80D4 001D5034 4B EA 46 E1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801D80D8 001D5038 48 00 00 1C */ b lbl_801D80F4 lbl_801D80DC: /* 801D80DC 001D503C 4B FF FD 69 */ bl RemoveAllAttractors__9CJellyZapFR13CStateManager /* 801D80E0 001D5040 38 60 00 00 */ li r3, 0 /* 801D80E4 001D5044 90 7E 03 2C */ stw r3, 0x32c(r30) /* 801D80E8 001D5048 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D80EC 001D504C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D80F0 001D5050 98 1E 05 B8 */ stb r0, 0x5b8(r30) lbl_801D80F4: /* 801D80F4 001D5054 80 01 00 54 */ lwz r0, 0x54(r1) /* 801D80F8 001D5058 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801D80FC 001D505C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801D8100 001D5060 7C 08 03 A6 */ mtlr r0 /* 801D8104 001D5064 38 21 00 50 */ addi r1, r1, 0x50 /* 801D8108 001D5068 4E 80 00 20 */ blr .global GetDamageVulnerability__9CJellyZapCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__9CJellyZapCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 801D810C 001D506C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8110 001D5070 7C 08 02 A6 */ mflr r0 /* 801D8114 001D5074 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8118 001D5078 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D811C 001D507C 7C 7F 1B 78 */ mr r31, r3 /* 801D8120 001D5080 48 00 00 71 */ bl sub801d8190__9CJellyZapFv /* 801D8124 001D5084 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D8128 001D5088 41 82 00 10 */ beq lbl_801D8138 /* 801D812C 001D508C 3C 60 80 57 */ lis r3, lbl_8056D780@ha /* 801D8130 001D5090 38 63 D7 80 */ addi r3, r3, lbl_8056D780@l /* 801D8134 001D5094 48 00 00 0C */ b lbl_801D8140 lbl_801D8138: /* 801D8138 001D5098 7F E3 FB 78 */ mr r3, r31 /* 801D813C 001D509C 4B EC AC 35 */ bl GetDamageVulnerability__3CAiCFv lbl_801D8140: /* 801D8140 001D50A0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8144 001D50A4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D8148 001D50A8 7C 08 03 A6 */ mtlr r0 /* 801D814C 001D50AC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8150 001D50B0 4E 80 00 20 */ blr .global GetCollisionResponseType__9CJellyZapCFRC9CVector3fRC9CVector3fRC11CWeaponModei GetCollisionResponseType__9CJellyZapCFRC9CVector3fRC9CVector3fRC11CWeaponModei: /* 801D8154 001D50B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8158 001D50B8 7C 08 02 A6 */ mflr r0 /* 801D815C 001D50BC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8160 001D50C0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D8164 001D50C4 3B E0 00 27 */ li r31, 0x27 /* 801D8168 001D50C8 48 00 00 29 */ bl sub801d8190__9CJellyZapFv /* 801D816C 001D50CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D8170 001D50D0 41 82 00 08 */ beq lbl_801D8178 /* 801D8174 001D50D4 3B E0 00 59 */ li r31, 0x59 lbl_801D8178: /* 801D8178 001D50D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D817C 001D50DC 7F E3 FB 78 */ mr r3, r31 /* 801D8180 001D50E0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D8184 001D50E4 7C 08 03 A6 */ mtlr r0 /* 801D8188 001D50E8 38 21 00 10 */ addi r1, r1, 0x10 /* 801D818C 001D50EC 4E 80 00 20 */ blr .global sub801d8190__9CJellyZapFv sub801d8190__9CJellyZapFv: /* 801D8190 001D50F0 80 83 05 68 */ lwz r4, 0x568(r3) /* 801D8194 001D50F4 20 64 00 01 */ subfic r3, r4, 1 /* 801D8198 001D50F8 38 04 FF FF */ addi r0, r4, -1 /* 801D819C 001D50FC 7C 60 03 78 */ or r0, r3, r0 /* 801D81A0 001D5100 54 03 0F FE */ srwi r3, r0, 0x1f /* 801D81A4 001D5104 4E 80 00 20 */ blr .global Suck__9CJellyZapFR13CStateManager9EStateMsgf Suck__9CJellyZapFR13CStateManager9EStateMsgf: /* 801D81A8 001D5108 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801D81AC 001D510C 7C 08 02 A6 */ mflr r0 /* 801D81B0 001D5110 90 01 00 84 */ stw r0, 0x84(r1) /* 801D81B4 001D5114 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801D81B8 001D5118 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801D81BC 001D511C DB C1 00 60 */ stfd f30, 0x60(r1) /* 801D81C0 001D5120 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 801D81C4 001D5124 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801D81C8 001D5128 93 C1 00 58 */ stw r30, 0x58(r1) /* 801D81CC 001D512C 93 A1 00 54 */ stw r29, 0x54(r1) /* 801D81D0 001D5130 93 81 00 50 */ stw r28, 0x50(r1) /* 801D81D4 001D5134 7C 9F 23 78 */ mr r31, r4 /* 801D81D8 001D5138 FF C0 08 90 */ fmr f30, f1 /* 801D81DC 001D513C 80 C4 08 B8 */ lwz r6, 0x8b8(r4) /* 801D81E0 001D5140 2C 05 00 01 */ cmpwi r5, 1 /* 801D81E4 001D5144 7C 7E 1B 78 */ mr r30, r3 /* 801D81E8 001D5148 80 C6 00 00 */ lwz r6, 0(r6) /* 801D81EC 001D514C 83 86 00 20 */ lwz r28, 0x20(r6) /* 801D81F0 001D5150 41 82 00 68 */ beq lbl_801D8258 /* 801D81F4 001D5154 40 80 00 10 */ bge lbl_801D8204 /* 801D81F8 001D5158 2C 05 00 00 */ cmpwi r5, 0 /* 801D81FC 001D515C 40 80 00 14 */ bge lbl_801D8210 /* 801D8200 001D5160 48 00 02 90 */ b lbl_801D8490 lbl_801D8204: /* 801D8204 001D5164 2C 05 00 03 */ cmpwi r5, 3 /* 801D8208 001D5168 40 80 02 88 */ bge lbl_801D8490 /* 801D820C 001D516C 48 00 02 0C */ b lbl_801D8418 lbl_801D8210: /* 801D8210 001D5170 38 00 00 01 */ li r0, 1 /* 801D8214 001D5174 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801D8218 001D5178 4B FF FC 2D */ bl RemoveAllAttractors__9CJellyZapFR13CStateManager /* 801D821C 001D517C 38 80 00 01 */ li r4, 1 /* 801D8220 001D5180 38 60 00 00 */ li r3, 0 /* 801D8224 001D5184 90 9E 05 68 */ stw r4, 0x568(r30) /* 801D8228 001D5188 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801D822C 001D518C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D8230 001D5190 98 1E 04 00 */ stb r0, 0x400(r30) /* 801D8234 001D5194 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D8238 001D5198 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D823C 001D519C 98 1E 05 B8 */ stb r0, 0x5b8(r30) /* 801D8240 001D51A0 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D8244 001D51A4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801D8248 001D51A8 98 1E 05 B8 */ stb r0, 0x5b8(r30) /* 801D824C 001D51AC C0 1E 05 B4 */ lfs f0, 0x5b4(r30) /* 801D8250 001D51B0 D0 1E 03 40 */ stfs f0, 0x340(r30) /* 801D8254 001D51B4 48 00 02 3C */ b lbl_801D8490 lbl_801D8258: /* 801D8258 001D51B8 3C A0 80 3E */ lis r5, lbl_803E5930@ha /* 801D825C 001D51BC 38 C1 00 2C */ addi r6, r1, 0x2c /* 801D8260 001D51C0 39 45 59 30 */ addi r10, r5, lbl_803E5930@l /* 801D8264 001D51C4 38 A0 00 0A */ li r5, 0xa /* 801D8268 001D51C8 81 2A 00 00 */ lwz r9, 0(r10) /* 801D826C 001D51CC 38 E0 00 00 */ li r7, 0 /* 801D8270 001D51D0 81 0A 00 04 */ lwz r8, 4(r10) /* 801D8274 001D51D4 80 0A 00 08 */ lwz r0, 8(r10) /* 801D8278 001D51D8 91 21 00 2C */ stw r9, 0x2c(r1) /* 801D827C 001D51DC 91 01 00 30 */ stw r8, 0x30(r1) /* 801D8280 001D51E0 90 01 00 34 */ stw r0, 0x34(r1) /* 801D8284 001D51E4 4B EA 45 31 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801D8288 001D51E8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801D828C 001D51EC 38 80 00 15 */ li r4, 0x15 /* 801D8290 001D51F0 C0 42 AC 80 */ lfs f2, lbl_805AC9A0@sda21(r2) /* 801D8294 001D51F4 C0 82 AC 70 */ lfs f4, lbl_805AC990@sda21(r2) /* 801D8298 001D51F8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D829C 001D51FC FF E0 10 90 */ fmr f31, f2 /* 801D82A0 001D5200 C0 A3 00 50 */ lfs f5, 0x50(r3) /* 801D82A4 001D5204 EC 20 20 2A */ fadds f1, f0, f4 /* 801D82A8 001D5208 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801D82AC 001D520C C0 63 00 60 */ lfs f3, 0x60(r3) /* 801D82B0 001D5210 EC A5 20 2A */ fadds f5, f5, f4 /* 801D82B4 001D5214 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801D82B8 001D5218 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D82BC 001D521C EC 43 10 2A */ fadds f2, f3, f2 /* 801D82C0 001D5220 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801D82C4 001D5224 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801D82C8 001D5228 EC 65 20 28 */ fsubs f3, f5, f4 /* 801D82CC 001D522C D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801D82D0 001D5230 EC 02 08 28 */ fsubs f0, f2, f1 /* 801D82D4 001D5234 D0 63 00 20 */ stfs f3, 0x20(r3) /* 801D82D8 001D5238 D0 03 00 24 */ stfs f0, 0x24(r3) /* 801D82DC 001D523C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801D82E0 001D5240 83 BF 08 4C */ lwz r29, 0x84c(r31) /* 801D82E4 001D5244 80 63 00 00 */ lwz r3, 0(r3) /* 801D82E8 001D5248 4B EB 97 D9 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 801D82EC 001D524C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D82F0 001D5250 41 82 00 08 */ beq lbl_801D82F8 /* 801D82F4 001D5254 C3 E2 AC 88 */ lfs f31, lbl_805AC9A8@sda21(r2) lbl_801D82F8: /* 801D82F8 001D5258 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801D82FC 001D525C 38 61 00 38 */ addi r3, r1, 0x38 /* 801D8300 001D5260 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801D8304 001D5264 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 801D8308 001D5268 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801D830C 001D526C EC 81 00 28 */ fsubs f4, f1, f0 /* 801D8310 001D5270 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 801D8314 001D5274 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801D8318 001D5278 EC 43 10 28 */ fsubs f2, f3, f2 /* 801D831C 001D527C EC 01 00 28 */ fsubs f0, f1, f0 /* 801D8320 001D5280 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801D8324 001D5284 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801D8328 001D5288 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801D832C 001D528C 48 13 C5 8D */ bl Magnitude__9CVector3fCFv /* 801D8330 001D5290 80 1D 02 F8 */ lwz r0, 0x2f8(r29) /* 801D8334 001D5294 C0 62 AC 8C */ lfs f3, lbl_805AC9AC@sda21(r2) /* 801D8338 001D5298 2C 00 00 01 */ cmpwi r0, 1 /* 801D833C 001D529C 40 82 00 0C */ bne lbl_801D8348 /* 801D8340 001D52A0 C0 5E 05 94 */ lfs f2, 0x594(r30) /* 801D8344 001D52A4 48 00 00 18 */ b lbl_801D835C lbl_801D8348: /* 801D8348 001D52A8 2C 1C 00 01 */ cmpwi r28, 1 /* 801D834C 001D52AC 40 82 00 0C */ bne lbl_801D8358 /* 801D8350 001D52B0 C0 5E 05 90 */ lfs f2, 0x590(r30) /* 801D8354 001D52B4 48 00 00 08 */ b lbl_801D835C lbl_801D8358: /* 801D8358 001D52B8 C0 5E 05 8C */ lfs f2, 0x58c(r30) lbl_801D835C: /* 801D835C 001D52BC C0 02 AC 80 */ lfs f0, lbl_805AC9A0@sda21(r2) /* 801D8360 001D52C0 EC 83 00 B2 */ fmuls f4, f3, f2 /* 801D8364 001D52C4 C0 41 00 3C */ lfs f2, 0x3c(r1) /* 801D8368 001D52C8 EC A0 08 24 */ fdivs f5, f0, f1 /* 801D836C 001D52CC C0 21 00 40 */ lfs f1, 0x40(r1) /* 801D8370 001D52D0 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801D8374 001D52D4 C0 7D 00 E8 */ lfs f3, 0xe8(r29) /* 801D8378 001D52D8 FC 40 10 50 */ fneg f2, f2 /* 801D837C 001D52DC FC 20 08 50 */ fneg f1, f1 /* 801D8380 001D52E0 FC 00 00 50 */ fneg f0, f0 /* 801D8384 001D52E4 EC 45 00 B2 */ fmuls f2, f5, f2 /* 801D8388 001D52E8 EC 25 00 72 */ fmuls f1, f5, f1 /* 801D838C 001D52EC EC 05 00 32 */ fmuls f0, f5, f0 /* 801D8390 001D52F0 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801D8394 001D52F4 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801D8398 001D52F8 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801D839C 001D52FC EC 1F 00 32 */ fmuls f0, f31, f0 /* 801D83A0 001D5300 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801D83A4 001D5304 EC 23 00 72 */ fmuls f1, f3, f1 /* 801D83A8 001D5308 EC 03 00 32 */ fmuls f0, f3, f0 /* 801D83AC 001D530C EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801D83B0 001D5310 EC 3E 00 72 */ fmuls f1, f30, f1 /* 801D83B4 001D5314 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801D83B8 001D5318 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801D83BC 001D531C D0 01 00 20 */ stfs f0, 0x20(r1) /* 801D83C0 001D5320 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801D83C4 001D5324 4B E4 31 71 */ bl Identity__10CAxisAngleFv /* 801D83C8 001D5328 7C 65 1B 78 */ mr r5, r3 /* 801D83CC 001D532C 7F A3 EB 78 */ mr r3, r29 /* 801D83D0 001D5330 38 81 00 20 */ addi r4, r1, 0x20 /* 801D83D4 001D5334 4B F4 3F C5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 801D83D8 001D5338 7F A3 EB 78 */ mr r3, r29 /* 801D83DC 001D533C 4B F4 2D A1 */ bl UseCollisionImpulses__13CPhysicsActorFv /* 801D83E0 001D5340 C0 02 AC 78 */ lfs f0, lbl_805AC998@sda21(r2) /* 801D83E4 001D5344 38 81 00 14 */ addi r4, r1, 0x14 /* 801D83E8 001D5348 C0 22 AC 88 */ lfs f1, lbl_805AC9A8@sda21(r2) /* 801D83EC 001D534C EC 00 07 B2 */ fmuls f0, f0, f30 /* 801D83F0 001D5350 FC 40 08 90 */ fmr f2, f1 /* 801D83F4 001D5354 D0 1D 02 D4 */ stfs f0, 0x2d4(r29) /* 801D83F8 001D5358 A0 1E 00 08 */ lhz r0, 8(r30) /* 801D83FC 001D535C B0 01 00 14 */ sth r0, 0x14(r1) /* 801D8400 001D5360 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801D8404 001D5364 B0 01 00 10 */ sth r0, 0x10(r1) /* 801D8408 001D5368 80 63 00 00 */ lwz r3, 0(r3) /* 801D840C 001D536C 38 63 01 88 */ addi r3, r3, 0x188 /* 801D8410 001D5370 4B FE 87 29 */ bl AddSource__19CStaticInterferenceF9TUniqueId /* 801D8414 001D5374 48 00 00 7C */ b lbl_801D8490 lbl_801D8418: /* 801D8418 001D5378 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801D841C 001D537C 38 00 00 0A */ li r0, 0xa /* 801D8420 001D5380 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801D8424 001D5384 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D8428 001D5388 38 81 00 18 */ addi r4, r1, 0x18 /* 801D842C 001D538C 90 61 00 18 */ stw r3, 0x18(r1) /* 801D8430 001D5390 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801D8434 001D5394 38 63 00 04 */ addi r3, r3, 4 /* 801D8438 001D5398 4B F5 93 81 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801D843C 001D539C 34 01 00 18 */ addic. r0, r1, 0x18 /* 801D8440 001D53A0 41 82 00 10 */ beq lbl_801D8450 /* 801D8444 001D53A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801D8448 001D53A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801D844C 001D53AC 90 01 00 18 */ stw r0, 0x18(r1) lbl_801D8450: /* 801D8450 001D53B0 A0 1E 00 08 */ lhz r0, 8(r30) /* 801D8454 001D53B4 38 81 00 0C */ addi r4, r1, 0xc /* 801D8458 001D53B8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801D845C 001D53BC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801D8460 001D53C0 B0 01 00 08 */ sth r0, 8(r1) /* 801D8464 001D53C4 80 63 00 00 */ lwz r3, 0(r3) /* 801D8468 001D53C8 38 63 01 88 */ addi r3, r3, 0x188 /* 801D846C 001D53CC 4B FE 85 49 */ bl sub_801c09b4 /* 801D8470 001D53D0 38 60 00 00 */ li r3, 0 /* 801D8474 001D53D4 90 7E 03 2C */ stw r3, 0x32c(r30) /* 801D8478 001D53D8 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D847C 001D53DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D8480 001D53E0 98 1E 05 B8 */ stb r0, 0x5b8(r30) /* 801D8484 001D53E4 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D8488 001D53E8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801D848C 001D53EC 98 1E 05 B8 */ stb r0, 0x5b8(r30) lbl_801D8490: /* 801D8490 001D53F0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801D8494 001D53F4 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801D8498 001D53F8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 801D849C 001D53FC CB C1 00 60 */ lfd f30, 0x60(r1) /* 801D84A0 001D5400 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801D84A4 001D5404 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801D84A8 001D5408 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801D84AC 001D540C 80 01 00 84 */ lwz r0, 0x84(r1) /* 801D84B0 001D5410 83 81 00 50 */ lwz r28, 0x50(r1) /* 801D84B4 001D5414 7C 08 03 A6 */ mtlr r0 /* 801D84B8 001D5418 38 21 00 80 */ addi r1, r1, 0x80 /* 801D84BC 001D541C 4E 80 00 20 */ blr .global Active__9CJellyZapFR13CStateManager9EStateMsgf Active__9CJellyZapFR13CStateManager9EStateMsgf: /* 801D84C0 001D5420 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801D84C4 001D5424 7C 08 02 A6 */ mflr r0 /* 801D84C8 001D5428 90 01 00 54 */ stw r0, 0x54(r1) /* 801D84CC 001D542C DB E1 00 40 */ stfd f31, 0x40(r1) /* 801D84D0 001D5430 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801D84D4 001D5434 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D84D8 001D5438 FF E0 08 90 */ fmr f31, f1 /* 801D84DC 001D543C 2C 05 00 01 */ cmpwi r5, 1 /* 801D84E0 001D5440 7C 7F 1B 78 */ mr r31, r3 /* 801D84E4 001D5444 41 82 00 50 */ beq lbl_801D8534 /* 801D84E8 001D5448 40 80 00 10 */ bge lbl_801D84F8 /* 801D84EC 001D544C 2C 05 00 00 */ cmpwi r5, 0 /* 801D84F0 001D5450 40 80 00 14 */ bge lbl_801D8504 /* 801D84F4 001D5454 48 00 01 1C */ b lbl_801D8610 lbl_801D84F8: /* 801D84F8 001D5458 2C 05 00 03 */ cmpwi r5, 3 /* 801D84FC 001D545C 40 80 01 14 */ bge lbl_801D8610 /* 801D8500 001D5460 48 00 01 00 */ b lbl_801D8600 lbl_801D8504: /* 801D8504 001D5464 88 1F 05 B8 */ lbz r0, 0x5b8(r31) /* 801D8508 001D5468 38 60 00 01 */ li r3, 1 /* 801D850C 001D546C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D8510 001D5470 38 80 00 02 */ li r4, 2 /* 801D8514 001D5474 98 1F 05 B8 */ stb r0, 0x5b8(r31) /* 801D8518 001D5478 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801D851C 001D547C 4B F6 24 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801D8520 001D5480 38 00 00 00 */ li r0, 0 /* 801D8524 001D5484 90 1F 05 68 */ stw r0, 0x568(r31) /* 801D8528 001D5488 C0 1F 03 D0 */ lfs f0, 0x3d0(r31) /* 801D852C 001D548C D0 1F 03 40 */ stfs f0, 0x340(r31) /* 801D8530 001D5490 48 00 00 E0 */ b lbl_801D8610 lbl_801D8534: /* 801D8534 001D5494 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801D8538 001D5498 C0 C2 AC 70 */ lfs f6, lbl_805AC990@sda21(r2) /* 801D853C 001D549C C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D8540 001D54A0 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801D8544 001D54A4 EC 20 30 2A */ fadds f1, f0, f6 /* 801D8548 001D54A8 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801D854C 001D54AC EC A2 30 2A */ fadds f5, f2, f6 /* 801D8550 001D54B0 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801D8554 001D54B4 C0 62 AC 80 */ lfs f3, lbl_805AC9A0@sda21(r2) /* 801D8558 001D54B8 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 801D855C 001D54BC EC 01 00 28 */ fsubs f0, f1, f0 /* 801D8560 001D54C0 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801D8564 001D54C4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801D8568 001D54C8 EC 42 18 2A */ fadds f2, f2, f3 /* 801D856C 001D54CC EC 85 20 28 */ fsubs f4, f5, f4 /* 801D8570 001D54D0 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801D8574 001D54D4 EC 02 08 28 */ fsubs f0, f2, f1 /* 801D8578 001D54D8 D0 83 00 20 */ stfs f4, 0x20(r3) /* 801D857C 001D54DC D0 03 00 24 */ stfs f0, 0x24(r3) /* 801D8580 001D54E0 88 1F 05 B8 */ lbz r0, 0x5b8(r31) /* 801D8584 001D54E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801D8588 001D54E8 41 82 00 88 */ beq lbl_801D8610 /* 801D858C 001D54EC C0 1F 05 98 */ lfs f0, 0x598(r31) /* 801D8590 001D54F0 38 61 00 08 */ addi r3, r1, 8 /* 801D8594 001D54F4 38 9F 00 34 */ addi r4, r31, 0x34 /* 801D8598 001D54F8 38 A1 00 2C */ addi r5, r1, 0x2c /* 801D859C 001D54FC EC 20 01 B2 */ fmuls f1, f0, f6 /* 801D85A0 001D5500 EC 00 00 F2 */ fmuls f0, f0, f3 /* 801D85A4 001D5504 EC 3F 00 72 */ fmuls f1, f31, f1 /* 801D85A8 001D5508 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801D85AC 001D550C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801D85B0 001D5510 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801D85B4 001D5514 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801D85B8 001D5518 48 13 A4 6D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801D85BC 001D551C FC 20 F8 90 */ fmr f1, f31 /* 801D85C0 001D5520 7F E4 FB 78 */ mr r4, r31 /* 801D85C4 001D5524 38 61 00 14 */ addi r3, r1, 0x14 /* 801D85C8 001D5528 38 A1 00 08 */ addi r5, r1, 8 /* 801D85CC 001D552C 4B F4 2A 3D */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff /* 801D85D0 001D5530 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801D85D4 001D5534 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801D85D8 001D5538 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801D85DC 001D553C D0 41 00 20 */ stfs f2, 0x20(r1) /* 801D85E0 001D5540 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801D85E4 001D5544 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801D85E8 001D5548 4B E4 2F 4D */ bl Identity__10CAxisAngleFv /* 801D85EC 001D554C 7C 65 1B 78 */ mr r5, r3 /* 801D85F0 001D5550 7F E3 FB 78 */ mr r3, r31 /* 801D85F4 001D5554 38 81 00 20 */ addi r4, r1, 0x20 /* 801D85F8 001D5558 4B F4 3C 0D */ bl ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 801D85FC 001D555C 48 00 00 14 */ b lbl_801D8610 lbl_801D8600: /* 801D8600 001D5560 88 1F 05 B8 */ lbz r0, 0x5b8(r31) /* 801D8604 001D5564 38 60 00 00 */ li r3, 0 /* 801D8608 001D5568 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D860C 001D556C 98 1F 05 B8 */ stb r0, 0x5b8(r31) lbl_801D8610: /* 801D8610 001D5570 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801D8614 001D5574 80 01 00 54 */ lwz r0, 0x54(r1) /* 801D8618 001D5578 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801D861C 001D557C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D8620 001D5580 7C 08 03 A6 */ mtlr r0 /* 801D8624 001D5584 38 21 00 50 */ addi r1, r1, 0x50 /* 801D8628 001D5588 4E 80 00 20 */ blr .global InActive__9CJellyZapFR13CStateManager9EStateMsgf InActive__9CJellyZapFR13CStateManager9EStateMsgf: /* 801D862C 001D558C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8630 001D5590 7C 08 02 A6 */ mflr r0 /* 801D8634 001D5594 2C 05 00 00 */ cmpwi r5, 0 /* 801D8638 001D5598 90 01 00 14 */ stw r0, 0x14(r1) /* 801D863C 001D559C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D8640 001D55A0 7C 9F 23 78 */ mr r31, r4 /* 801D8644 001D55A4 93 C1 00 08 */ stw r30, 8(r1) /* 801D8648 001D55A8 7C 7E 1B 78 */ mr r30, r3 /* 801D864C 001D55AC 41 82 00 08 */ beq lbl_801D8654 /* 801D8650 001D55B0 48 00 00 34 */ b lbl_801D8684 lbl_801D8654: /* 801D8654 001D55B4 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801D8658 001D55B8 38 60 00 00 */ li r3, 0 /* 801D865C 001D55BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D8660 001D55C0 38 80 00 01 */ li r4, 1 /* 801D8664 001D55C4 98 1E 04 00 */ stb r0, 0x400(r30) /* 801D8668 001D55C8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801D866C 001D55CC 4B F6 23 6D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801D8670 001D55D0 7F C3 F3 78 */ mr r3, r30 /* 801D8674 001D55D4 7F E4 FB 78 */ mr r4, r31 /* 801D8678 001D55D8 4B FF F7 ED */ bl AddAttractor__9CJellyZapFR13CStateManager /* 801D867C 001D55DC 38 00 00 00 */ li r0, 0 /* 801D8680 001D55E0 90 1E 05 68 */ stw r0, 0x568(r30) lbl_801D8684: /* 801D8684 001D55E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8688 001D55E8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D868C 001D55EC 83 C1 00 08 */ lwz r30, 8(r1) /* 801D8690 001D55F0 7C 08 03 A6 */ mtlr r0 /* 801D8694 001D55F4 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8698 001D55F8 4E 80 00 20 */ blr .global ShouldAttack__9CJellyZapFR13CStateManagerf ShouldAttack__9CJellyZapFR13CStateManagerf: /* 801D869C 001D55FC C0 23 03 38 */ lfs f1, 0x338(r3) /* 801D86A0 001D5600 C0 03 05 A8 */ lfs f0, 0x5a8(r3) /* 801D86A4 001D5604 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D86A8 001D5608 7C 00 00 26 */ mfcr r0 /* 801D86AC 001D560C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801D86B0 001D5610 4E 80 00 20 */ blr .global ShouldSpecialAttack__9CJellyZapFR13CStateManagerf ShouldSpecialAttack__9CJellyZapFR13CStateManagerf: /* 801D86B4 001D5614 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D86B8 001D5618 7C 08 02 A6 */ mflr r0 /* 801D86BC 001D561C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D86C0 001D5620 4B FF F3 65 */ bl ClosestToPlayer__9CJellyZapCFR13CStateManager /* 801D86C4 001D5624 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D86C8 001D5628 7C 08 03 A6 */ mtlr r0 /* 801D86CC 001D562C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D86D0 001D5630 4E 80 00 20 */ blr .global InAttackPosition__9CJellyZapFR13CStateManagerf InAttackPosition__9CJellyZapFR13CStateManagerf: /* 801D86D4 001D5634 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D86D8 001D5638 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801D86DC 001D563C 88 04 00 E6 */ lbz r0, 0xe6(r4) /* 801D86E0 001D5640 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f /* 801D86E4 001D5644 40 82 00 0C */ bne lbl_801D86F0 /* 801D86E8 001D5648 38 60 00 00 */ li r3, 0 /* 801D86EC 001D564C 48 00 00 68 */ b lbl_801D8754 lbl_801D86F0: /* 801D86F0 001D5650 C0 E4 00 50 */ lfs f7, 0x50(r4) /* 801D86F4 001D5654 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801D86F8 001D5658 C0 64 00 40 */ lfs f3, 0x40(r4) /* 801D86FC 001D565C EC C7 00 28 */ fsubs f6, f7, f0 /* 801D8700 001D5660 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D8704 001D5664 C1 04 00 60 */ lfs f8, 0x60(r4) /* 801D8708 001D5668 EC 83 00 28 */ fsubs f4, f3, f0 /* 801D870C 001D566C C0 03 00 60 */ lfs f0, 0x60(r3) /* 801D8710 001D5670 EC 26 01 B2 */ fmuls f1, f6, f6 /* 801D8714 001D5674 EC A8 00 28 */ fsubs f5, f8, f0 /* 801D8718 001D5678 C0 03 05 88 */ lfs f0, 0x588(r3) /* 801D871C 001D567C EC 44 01 32 */ fmuls f2, f4, f4 /* 801D8720 001D5680 EC 00 00 32 */ fmuls f0, f0, f0 /* 801D8724 001D5684 D0 61 00 08 */ stfs f3, 8(r1) /* 801D8728 001D5688 EC 65 01 72 */ fmuls f3, f5, f5 /* 801D872C 001D568C EC 22 08 2A */ fadds f1, f2, f1 /* 801D8730 001D5690 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 801D8734 001D5694 D1 01 00 10 */ stfs f8, 0x10(r1) /* 801D8738 001D5698 EC 23 08 2A */ fadds f1, f3, f1 /* 801D873C 001D569C D0 81 00 14 */ stfs f4, 0x14(r1) /* 801D8740 001D56A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D8744 001D56A4 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 801D8748 001D56A8 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801D874C 001D56AC 7C 00 00 26 */ mfcr r0 /* 801D8750 001D56B0 54 03 0F FE */ srwi r3, r0, 0x1f lbl_801D8754: /* 801D8754 001D56B4 38 21 00 20 */ addi r1, r1, 0x20 /* 801D8758 001D56B8 4E 80 00 20 */ blr .global InDetectionRange__9CJellyZapFR13CStateManagerf InDetectionRange__9CJellyZapFR13CStateManagerf: /* 801D875C 001D56BC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8760 001D56C0 7C 08 02 A6 */ mflr r0 /* 801D8764 001D56C4 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8768 001D56C8 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 801D876C 001D56CC 88 05 00 E6 */ lbz r0, 0xe6(r5) /* 801D8770 001D56D0 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f /* 801D8774 001D56D4 40 82 00 0C */ bne lbl_801D8780 /* 801D8778 001D56D8 38 60 00 00 */ li r3, 0 /* 801D877C 001D56DC 48 00 00 08 */ b lbl_801D8784 lbl_801D8780: /* 801D8780 001D56E0 48 01 DB ED */ bl InDetectionRange__10CPatternedFR13CStateManagerf lbl_801D8784: /* 801D8784 001D56E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8788 001D56E8 7C 08 03 A6 */ mtlr r0 /* 801D878C 001D56EC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8790 001D56F0 4E 80 00 20 */ blr .global DoUserAnimEvent__9CJellyZapFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__9CJellyZapFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 801D8794 001D56F4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801D8798 001D56F8 7C 08 02 A6 */ mflr r0 /* 801D879C 001D56FC 90 01 00 64 */ stw r0, 0x64(r1) /* 801D87A0 001D5700 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801D87A4 001D5704 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801D87A8 001D5708 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801D87AC 001D570C 93 C1 00 48 */ stw r30, 0x48(r1) /* 801D87B0 001D5710 93 A1 00 44 */ stw r29, 0x44(r1) /* 801D87B4 001D5714 93 81 00 40 */ stw r28, 0x40(r1) /* 801D87B8 001D5718 88 0D A4 B0 */ lbz r0, lbl_805A9070@sda21(r13) /* 801D87BC 001D571C FF E0 08 90 */ fmr f31, f1 /* 801D87C0 001D5720 7C 7C 1B 78 */ mr r28, r3 /* 801D87C4 001D5724 7C 9D 23 78 */ mr r29, r4 /* 801D87C8 001D5728 7C 00 07 75 */ extsb. r0, r0 /* 801D87CC 001D572C 7C BE 2B 78 */ mr r30, r5 /* 801D87D0 001D5730 7C DF 33 78 */ mr r31, r6 /* 801D87D4 001D5734 40 82 00 40 */ bne lbl_801D8814 /* 801D87D8 001D5738 80 AD 91 D0 */ lwz r5, lbl_805A7D90@sda21(r13) /* 801D87DC 001D573C 38 60 00 00 */ li r3, 0 /* 801D87E0 001D5740 38 80 00 01 */ li r4, 1 /* 801D87E4 001D5744 48 1B 17 11 */ bl __shl2i /* 801D87E8 001D5748 3C A0 80 47 */ lis r5, lbl_8046C920@ha /* 801D87EC 001D574C 38 C0 00 01 */ li r6, 1 /* 801D87F0 001D5750 38 A5 C9 20 */ addi r5, r5, lbl_8046C920@l /* 801D87F4 001D5754 38 00 00 00 */ li r0, 0 /* 801D87F8 001D5758 90 C1 00 30 */ stw r6, 0x30(r1) /* 801D87FC 001D575C 90 85 00 04 */ stw r4, 4(r5) /* 801D8800 001D5760 90 65 00 00 */ stw r3, 0(r5) /* 801D8804 001D5764 90 05 00 0C */ stw r0, 0xc(r5) /* 801D8808 001D5768 90 05 00 08 */ stw r0, 8(r5) /* 801D880C 001D576C 90 C5 00 10 */ stw r6, 0x10(r5) /* 801D8810 001D5770 98 CD A4 B0 */ stb r6, lbl_805A9070@sda21(r13) lbl_801D8814: /* 801D8814 001D5774 2C 1F 00 08 */ cmpwi r31, 8 /* 801D8818 001D5778 38 00 00 00 */ li r0, 0 /* 801D881C 001D577C 41 82 00 08 */ beq lbl_801D8824 /* 801D8820 001D5780 48 00 00 4C */ b lbl_801D886C lbl_801D8824: /* 801D8824 001D5784 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801D8828 001D5788 3C 60 80 47 */ lis r3, lbl_8046C920@ha /* 801D882C 001D578C C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801D8830 001D5790 39 03 C9 20 */ addi r8, r3, lbl_8046C920@l /* 801D8834 001D5794 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801D8838 001D5798 7F A3 EB 78 */ mr r3, r29 /* 801D883C 001D579C 7F 85 E3 78 */ mr r5, r28 /* 801D8840 001D57A0 38 81 00 0C */ addi r4, r1, 0xc /* 801D8844 001D57A4 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801D8848 001D57A8 38 C1 00 10 */ addi r6, r1, 0x10 /* 801D884C 001D57AC 38 FC 05 6C */ addi r7, r28, 0x56c /* 801D8850 001D57B0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801D8854 001D57B4 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801D8858 001D57B8 A0 1C 00 08 */ lhz r0, 8(r28) /* 801D885C 001D57BC B0 01 00 08 */ sth r0, 8(r1) /* 801D8860 001D57C0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801D8864 001D57C4 4B E7 04 49 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter /* 801D8868 001D57C8 38 00 00 01 */ li r0, 1 lbl_801D886C: /* 801D886C 001D57CC 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801D8870 001D57D0 40 82 00 1C */ bne lbl_801D888C /* 801D8874 001D57D4 FC 20 F8 90 */ fmr f1, f31 /* 801D8878 001D57D8 7F 83 E3 78 */ mr r3, r28 /* 801D887C 001D57DC 7F A4 EB 78 */ mr r4, r29 /* 801D8880 001D57E0 7F C5 F3 78 */ mr r5, r30 /* 801D8884 001D57E4 7F E6 FB 78 */ mr r6, r31 /* 801D8888 001D57E8 4B EA 06 29 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_801D888C: /* 801D888C 001D57EC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801D8890 001D57F0 80 01 00 64 */ lwz r0, 0x64(r1) /* 801D8894 001D57F4 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801D8898 001D57F8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801D889C 001D57FC 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801D88A0 001D5800 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801D88A4 001D5804 83 81 00 40 */ lwz r28, 0x40(r1) /* 801D88A8 001D5808 7C 08 03 A6 */ mtlr r0 /* 801D88AC 001D580C 38 21 00 60 */ addi r1, r1, 0x60 /* 801D88B0 001D5810 4E 80 00 20 */ blr .global AcceptScriptMsg__9CJellyZapF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__9CJellyZapF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801D88B4 001D5814 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D88B8 001D5818 7C 08 02 A6 */ mflr r0 /* 801D88BC 001D581C 90 01 00 24 */ stw r0, 0x24(r1) /* 801D88C0 001D5820 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D88C4 001D5824 7C DF 33 78 */ mr r31, r6 /* 801D88C8 001D5828 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D88CC 001D582C 7C 9E 23 78 */ mr r30, r4 /* 801D88D0 001D5830 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D88D4 001D5834 7C 7D 1B 78 */ mr r29, r3 /* 801D88D8 001D5838 A0 05 00 00 */ lhz r0, 0(r5) /* 801D88DC 001D583C 38 A1 00 08 */ addi r5, r1, 8 /* 801D88E0 001D5840 B0 01 00 08 */ sth r0, 8(r1) /* 801D88E4 001D5844 4B EA 42 95 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801D88E8 001D5848 2C 1E 00 04 */ cmpwi r30, 4 /* 801D88EC 001D584C 41 82 00 4C */ beq lbl_801D8938 /* 801D88F0 001D5850 40 80 00 10 */ bge lbl_801D8900 /* 801D88F4 001D5854 2C 1E 00 01 */ cmpwi r30, 1 /* 801D88F8 001D5858 41 82 00 20 */ beq lbl_801D8918 /* 801D88FC 001D585C 48 00 00 48 */ b lbl_801D8944 lbl_801D8900: /* 801D8900 001D5860 2C 1E 00 22 */ cmpwi r30, 0x22 /* 801D8904 001D5864 41 82 00 34 */ beq lbl_801D8938 /* 801D8908 001D5868 40 80 00 3C */ bge lbl_801D8944 /* 801D890C 001D586C 2C 1E 00 21 */ cmpwi r30, 0x21 /* 801D8910 001D5870 40 80 00 18 */ bge lbl_801D8928 /* 801D8914 001D5874 48 00 00 30 */ b lbl_801D8944 lbl_801D8918: /* 801D8918 001D5878 7F A3 EB 78 */ mr r3, r29 /* 801D891C 001D587C 7F E4 FB 78 */ mr r4, r31 /* 801D8920 001D5880 4B FF F5 45 */ bl AddAttractor__9CJellyZapFR13CStateManager /* 801D8924 001D5884 48 00 00 20 */ b lbl_801D8944 lbl_801D8928: /* 801D8928 001D5888 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801D892C 001D588C 7F E4 FB 78 */ mr r4, r31 /* 801D8930 001D5890 4B F6 23 C1 */ bl Activate__15CBodyControllerFR13CStateManager /* 801D8934 001D5894 48 00 00 10 */ b lbl_801D8944 lbl_801D8938: /* 801D8938 001D5898 7F A3 EB 78 */ mr r3, r29 /* 801D893C 001D589C 7F E4 FB 78 */ mr r4, r31 /* 801D8940 001D58A0 4B FF F5 05 */ bl RemoveAllAttractors__9CJellyZapFR13CStateManager lbl_801D8944: /* 801D8944 001D58A4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D8948 001D58A8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D894C 001D58AC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D8950 001D58B0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D8954 001D58B4 7C 08 03 A6 */ mtlr r0 /* 801D8958 001D58B8 38 21 00 20 */ addi r1, r1, 0x20 /* 801D895C 001D58BC 4E 80 00 20 */ blr .global Think__9CJellyZapFfR13CStateManager Think__9CJellyZapFfR13CStateManager: /* 801D8960 001D58C0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D8964 001D58C4 7C 08 02 A6 */ mflr r0 /* 801D8968 001D58C8 90 01 00 44 */ stw r0, 0x44(r1) /* 801D896C 001D58CC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801D8970 001D58D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801D8974 001D58D4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D8978 001D58D8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D897C 001D58DC FF E0 08 90 */ fmr f31, f1 /* 801D8980 001D58E0 7C 7E 1B 78 */ mr r30, r3 /* 801D8984 001D58E4 7C 9F 23 78 */ mr r31, r4 /* 801D8988 001D58E8 4B EA 11 91 */ bl Think__10CPatternedFfR13CStateManager /* 801D898C 001D58EC 88 1E 00 30 */ lbz r0, 0x30(r30) /* 801D8990 001D58F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D8994 001D58F4 41 82 00 CC */ beq lbl_801D8A60 /* 801D8998 001D58F8 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D899C 001D58FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D89A0 001D5900 41 82 00 54 */ beq lbl_801D89F4 /* 801D89A4 001D5904 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801D89A8 001D5908 FC 20 F8 90 */ fmr f1, f31 /* 801D89AC 001D590C C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801D89B0 001D5910 38 81 00 18 */ addi r4, r1, 0x18 /* 801D89B4 001D5914 C0 C3 00 60 */ lfs f6, 0x60(r3) /* 801D89B8 001D5918 C0 A3 00 50 */ lfs f5, 0x50(r3) /* 801D89BC 001D591C C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801D89C0 001D5920 EC 46 00 28 */ fsubs f2, f6, f0 /* 801D89C4 001D5924 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801D89C8 001D5928 C0 9E 00 40 */ lfs f4, 0x40(r30) /* 801D89CC 001D592C EC 65 18 28 */ fsubs f3, f5, f3 /* 801D89D0 001D5930 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801D89D4 001D5934 EC 00 20 28 */ fsubs f0, f0, f4 /* 801D89D8 001D5938 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 801D89DC 001D593C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801D89E0 001D5940 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801D89E4 001D5944 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801D89E8 001D5948 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801D89EC 001D594C D0 C1 00 14 */ stfs f6, 0x14(r1) /* 801D89F0 001D5950 4B F6 1C B5 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff lbl_801D89F4: /* 801D89F4 001D5954 C0 1E 05 0C */ lfs f0, 0x50c(r30) /* 801D89F8 001D5958 D0 01 00 08 */ stfs f0, 8(r1) /* 801D89FC 001D595C 88 1E 05 B8 */ lbz r0, 0x5b8(r30) /* 801D8A00 001D5960 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801D8A04 001D5964 41 82 00 30 */ beq lbl_801D8A34 /* 801D8A08 001D5968 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801D8A0C 001D596C 4B F6 16 C1 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801D8A10 001D5970 C0 02 AC 70 */ lfs f0, lbl_805AC990@sda21(r2) /* 801D8A14 001D5974 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801D8A18 001D5978 40 82 00 1C */ bne lbl_801D8A34 /* 801D8A1C 001D597C C0 02 AC 90 */ lfs f0, lbl_805AC9B0@sda21(r2) /* 801D8A20 001D5980 C0 21 00 08 */ lfs f1, 8(r1) /* 801D8A24 001D5984 EC 1F 00 24 */ fdivs f0, f31, f0 /* 801D8A28 001D5988 EC 01 00 2A */ fadds f0, f1, f0 /* 801D8A2C 001D598C D0 01 00 08 */ stfs f0, 8(r1) /* 801D8A30 001D5990 48 00 00 18 */ b lbl_801D8A48 lbl_801D8A34: /* 801D8A34 001D5994 C0 02 AC 94 */ lfs f0, lbl_805AC9B4@sda21(r2) /* 801D8A38 001D5998 C0 21 00 08 */ lfs f1, 8(r1) /* 801D8A3C 001D599C EC 1F 00 24 */ fdivs f0, f31, f0 /* 801D8A40 001D59A0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D8A44 001D59A4 D0 01 00 08 */ stfs f0, 8(r1) lbl_801D8A48: /* 801D8A48 001D59A8 38 81 00 08 */ addi r4, r1, 8 /* 801D8A4C 001D59AC 38 6D 91 C8 */ addi r3, r13, lbl_805A7D88@sda21 /* 801D8A50 001D59B0 38 AD 91 CC */ addi r5, r13, lbl_805A7D8C@sda21 /* 801D8A54 001D59B4 4B E3 38 61 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801D8A58 001D59B8 C0 03 00 00 */ lfs f0, 0(r3) /* 801D8A5C 001D59BC D0 1E 05 0C */ stfs f0, 0x50c(r30) lbl_801D8A60: /* 801D8A60 001D59C0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801D8A64 001D59C4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D8A68 001D59C8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801D8A6C 001D59CC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D8A70 001D59D0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D8A74 001D59D4 7C 08 03 A6 */ mtlr r0 /* 801D8A78 001D59D8 38 21 00 40 */ addi r1, r1, 0x40 /* 801D8A7C 001D59DC 4E 80 00 20 */ blr .global Accept__9CJellyZapFR8IVisitor Accept__9CJellyZapFR8IVisitor: /* 801D8A80 001D59E0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8A84 001D59E4 7C 08 02 A6 */ mflr r0 /* 801D8A88 001D59E8 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8A8C 001D59EC 7C 60 1B 78 */ mr r0, r3 /* 801D8A90 001D59F0 7C 83 23 78 */ mr r3, r4 /* 801D8A94 001D59F4 81 84 00 00 */ lwz r12, 0(r4) /* 801D8A98 001D59F8 7C 04 03 78 */ mr r4, r0 /* 801D8A9C 001D59FC 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801D8AA0 001D5A00 7D 89 03 A6 */ mtctr r12 /* 801D8AA4 001D5A04 4E 80 04 21 */ bctrl /* 801D8AA8 001D5A08 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8AAC 001D5A0C 7C 08 03 A6 */ mtlr r0 /* 801D8AB0 001D5A10 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8AB4 001D5A14 4E 80 00 20 */ blr .global "__ct__9CJellyZapF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC11CDamageInfofffffffffffRC14CPatternedInfoRC16CActorParameters" "__ct__9CJellyZapF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC11CDamageInfofffffffffffRC14CPatternedInfoRC16CActorParameters": /* 801D8AB8 001D5A18 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801D8ABC 001D5A1C 7C 08 02 A6 */ mflr r0 /* 801D8AC0 001D5A20 90 01 01 04 */ stw r0, 0x104(r1) /* 801D8AC4 001D5A24 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 801D8AC8 001D5A28 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 801D8ACC 001D5A2C DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 801D8AD0 001D5A30 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 /* 801D8AD4 001D5A34 DB A1 00 D0 */ stfd f29, 0xd0(r1) /* 801D8AD8 001D5A38 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 /* 801D8ADC 001D5A3C DB 81 00 C0 */ stfd f28, 0xc0(r1) /* 801D8AE0 001D5A40 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 /* 801D8AE4 001D5A44 DB 61 00 B0 */ stfd f27, 0xb0(r1) /* 801D8AE8 001D5A48 F3 61 00 B8 */ psq_st f27, 184(r1), 0, qr0 /* 801D8AEC 001D5A4C DB 41 00 A0 */ stfd f26, 0xa0(r1) /* 801D8AF0 001D5A50 F3 41 00 A8 */ psq_st f26, 168(r1), 0, qr0 /* 801D8AF4 001D5A54 DB 21 00 90 */ stfd f25, 0x90(r1) /* 801D8AF8 001D5A58 F3 21 00 98 */ psq_st f25, 152(r1), 0, qr0 /* 801D8AFC 001D5A5C DB 01 00 80 */ stfd f24, 0x80(r1) /* 801D8B00 001D5A60 F3 01 00 88 */ psq_st f24, 136(r1), 0, qr0 /* 801D8B04 001D5A64 DA E1 00 70 */ stfd f23, 0x70(r1) /* 801D8B08 001D5A68 F2 E1 00 78 */ psq_st f23, 120(r1), 0, qr0 /* 801D8B0C 001D5A6C DA C1 00 60 */ stfd f22, 0x60(r1) /* 801D8B10 001D5A70 F2 C1 00 68 */ psq_st f22, 104(r1), 0, qr0 /* 801D8B14 001D5A74 DA A1 00 50 */ stfd f21, 0x50(r1) /* 801D8B18 001D5A78 F2 A1 00 58 */ psq_st f21, 88(r1), 0, qr0 /* 801D8B1C 001D5A7C DA 81 00 40 */ stfd f20, 0x40(r1) /* 801D8B20 001D5A80 F2 81 00 48 */ psq_st f20, 72(r1), 0, qr0 /* 801D8B24 001D5A84 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D8B28 001D5A88 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D8B2C 001D5A8C 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D8B30 001D5A90 A0 04 00 00 */ lhz r0, 0(r4) /* 801D8B34 001D5A94 7C CC 33 78 */ mr r12, r6 /* 801D8B38 001D5A98 7D 0B 43 78 */ mr r11, r8 /* 801D8B3C 001D5A9C 7D 3E 4B 78 */ mr r30, r9 /* 801D8B40 001D5AA0 B0 01 00 20 */ sth r0, 0x20(r1) /* 801D8B44 001D5AA4 7D 5F 53 78 */ mr r31, r10 /* 801D8B48 001D5AA8 80 81 01 18 */ lwz r4, 0x118(r1) /* 801D8B4C 001D5AAC 7C A6 2B 78 */ mr r6, r5 /* 801D8B50 001D5AB0 7C E9 3B 78 */ mr r9, r7 /* 801D8B54 001D5AB4 38 00 00 01 */ li r0, 1 /* 801D8B58 001D5AB8 90 81 00 08 */ stw r4, 8(r1) /* 801D8B5C 001D5ABC FE 80 08 90 */ fmr f20, f1 /* 801D8B60 001D5AC0 80 81 01 1C */ lwz r4, 0x11c(r1) /* 801D8B64 001D5AC4 FE A0 10 90 */ fmr f21, f2 /* 801D8B68 001D5AC8 90 01 00 0C */ stw r0, 0xc(r1) /* 801D8B6C 001D5ACC FE C0 18 90 */ fmr f22, f3 /* 801D8B70 001D5AD0 FE E0 20 90 */ fmr f23, f4 /* 801D8B74 001D5AD4 90 01 00 10 */ stw r0, 0x10(r1) /* 801D8B78 001D5AD8 FF 00 28 90 */ fmr f24, f5 /* 801D8B7C 001D5ADC FF 20 30 90 */ fmr f25, f6 /* 801D8B80 001D5AE0 C3 81 01 08 */ lfs f28, 0x108(r1) /* 801D8B84 001D5AE4 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8B88 001D5AE8 FF 40 38 90 */ fmr f26, f7 /* 801D8B8C 001D5AEC C3 A1 01 0C */ lfs f29, 0x10c(r1) /* 801D8B90 001D5AF0 90 81 00 18 */ stw r4, 0x18(r1) /* 801D8B94 001D5AF4 FF 60 40 90 */ fmr f27, f8 /* 801D8B98 001D5AF8 C3 C1 01 10 */ lfs f30, 0x110(r1) /* 801D8B9C 001D5AFC 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D8BA0 001D5B00 C3 E1 01 14 */ lfs f31, 0x114(r1) /* 801D8BA4 001D5B04 7C 7D 1B 78 */ mr r29, r3 /* 801D8BA8 001D5B08 7D 88 63 78 */ mr r8, r12 /* 801D8BAC 001D5B0C 7D 6A 5B 78 */ mr r10, r11 /* 801D8BB0 001D5B10 38 A1 00 20 */ addi r5, r1, 0x20 /* 801D8BB4 001D5B14 38 80 00 10 */ li r4, 0x10 /* 801D8BB8 001D5B18 38 E0 00 00 */ li r7, 0 /* 801D8BBC 001D5B1C 4B EA 48 95 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801D8BC0 001D5B20 3C 60 80 3E */ lis r3, lbl_803E5954@ha /* 801D8BC4 001D5B24 38 C0 00 00 */ li r6, 0 /* 801D8BC8 001D5B28 38 03 59 54 */ addi r0, r3, lbl_803E5954@l /* 801D8BCC 001D5B2C 38 80 00 01 */ li r4, 1 /* 801D8BD0 001D5B30 90 1D 00 00 */ stw r0, 0(r29) /* 801D8BD4 001D5B34 7F A3 EB 78 */ mr r3, r29 /* 801D8BD8 001D5B38 90 DD 05 68 */ stw r6, 0x568(r29) /* 801D8BDC 001D5B3C 80 1E 00 00 */ lwz r0, 0(r30) /* 801D8BE0 001D5B40 90 1D 05 6C */ stw r0, 0x56c(r29) /* 801D8BE4 001D5B44 88 1E 00 04 */ lbz r0, 4(r30) /* 801D8BE8 001D5B48 98 1D 05 70 */ stb r0, 0x570(r29) /* 801D8BEC 001D5B4C C0 1E 00 08 */ lfs f0, 8(r30) /* 801D8BF0 001D5B50 D0 1D 05 74 */ stfs f0, 0x574(r29) /* 801D8BF4 001D5B54 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801D8BF8 001D5B58 D0 1D 05 78 */ stfs f0, 0x578(r29) /* 801D8BFC 001D5B5C C0 1E 00 10 */ lfs f0, 0x10(r30) /* 801D8C00 001D5B60 D0 1D 05 7C */ stfs f0, 0x57c(r29) /* 801D8C04 001D5B64 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 801D8C08 001D5B68 D0 1D 05 80 */ stfs f0, 0x580(r29) /* 801D8C0C 001D5B6C 88 1E 00 18 */ lbz r0, 0x18(r30) /* 801D8C10 001D5B70 98 1D 05 84 */ stb r0, 0x584(r29) /* 801D8C14 001D5B74 D2 9D 05 88 */ stfs f20, 0x588(r29) /* 801D8C18 001D5B78 D2 BD 05 8C */ stfs f21, 0x58c(r29) /* 801D8C1C 001D5B7C D2 FD 05 90 */ stfs f23, 0x590(r29) /* 801D8C20 001D5B80 D2 DD 05 94 */ stfs f22, 0x594(r29) /* 801D8C24 001D5B84 D3 7D 05 98 */ stfs f27, 0x598(r29) /* 801D8C28 001D5B88 D3 9D 05 9C */ stfs f28, 0x59c(r29) /* 801D8C2C 001D5B8C D3 BD 05 A0 */ stfs f29, 0x5a0(r29) /* 801D8C30 001D5B90 D3 DD 05 A4 */ stfs f30, 0x5a4(r29) /* 801D8C34 001D5B94 D3 1D 05 A8 */ stfs f24, 0x5a8(r29) /* 801D8C38 001D5B98 D3 3D 05 AC */ stfs f25, 0x5ac(r29) /* 801D8C3C 001D5B9C D3 5D 05 B0 */ stfs f26, 0x5b0(r29) /* 801D8C40 001D5BA0 D3 FD 05 B4 */ stfs f31, 0x5b4(r29) /* 801D8C44 001D5BA4 88 1D 05 B8 */ lbz r0, 0x5b8(r29) /* 801D8C48 001D5BA8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801D8C4C 001D5BAC 98 1D 05 B8 */ stb r0, 0x5b8(r29) /* 801D8C50 001D5BB0 88 1D 05 B8 */ lbz r0, 0x5b8(r29) /* 801D8C54 001D5BB4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801D8C58 001D5BB8 98 1D 05 B8 */ stb r0, 0x5b8(r29) /* 801D8C5C 001D5BBC 88 1D 05 B8 */ lbz r0, 0x5b8(r29) /* 801D8C60 001D5BC0 53 E0 2E B4 */ rlwimi r0, r31, 5, 0x1a, 0x1a /* 801D8C64 001D5BC4 98 1D 05 B8 */ stb r0, 0x5b8(r29) /* 801D8C68 001D5BC8 4B E9 EB ED */ bl UpdateThermalFrozenState__10CPatternedFb /* 801D8C6C 001D5BCC C0 02 AC 70 */ lfs f0, lbl_805AC990@sda21(r2) /* 801D8C70 001D5BD0 7F A3 EB 78 */ mr r3, r29 /* 801D8C74 001D5BD4 D0 1D 05 0C */ stfs f0, 0x50c(r29) /* 801D8C78 001D5BD8 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 801D8C7C 001D5BDC CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 801D8C80 001D5BE0 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 /* 801D8C84 001D5BE4 CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 801D8C88 001D5BE8 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 /* 801D8C8C 001D5BEC CB A1 00 D0 */ lfd f29, 0xd0(r1) /* 801D8C90 001D5BF0 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 /* 801D8C94 001D5BF4 CB 81 00 C0 */ lfd f28, 0xc0(r1) /* 801D8C98 001D5BF8 E3 61 00 B8 */ psq_l f27, 184(r1), 0, qr0 /* 801D8C9C 001D5BFC CB 61 00 B0 */ lfd f27, 0xb0(r1) /* 801D8CA0 001D5C00 E3 41 00 A8 */ psq_l f26, 168(r1), 0, qr0 /* 801D8CA4 001D5C04 CB 41 00 A0 */ lfd f26, 0xa0(r1) /* 801D8CA8 001D5C08 E3 21 00 98 */ psq_l f25, 152(r1), 0, qr0 /* 801D8CAC 001D5C0C CB 21 00 90 */ lfd f25, 0x90(r1) /* 801D8CB0 001D5C10 E3 01 00 88 */ psq_l f24, 136(r1), 0, qr0 /* 801D8CB4 001D5C14 CB 01 00 80 */ lfd f24, 0x80(r1) /* 801D8CB8 001D5C18 E2 E1 00 78 */ psq_l f23, 120(r1), 0, qr0 /* 801D8CBC 001D5C1C CA E1 00 70 */ lfd f23, 0x70(r1) /* 801D8CC0 001D5C20 E2 C1 00 68 */ psq_l f22, 104(r1), 0, qr0 /* 801D8CC4 001D5C24 CA C1 00 60 */ lfd f22, 0x60(r1) /* 801D8CC8 001D5C28 E2 A1 00 58 */ psq_l f21, 88(r1), 0, qr0 /* 801D8CCC 001D5C2C CA A1 00 50 */ lfd f21, 0x50(r1) /* 801D8CD0 001D5C30 E2 81 00 48 */ psq_l f20, 72(r1), 0, qr0 /* 801D8CD4 001D5C34 CA 81 00 40 */ lfd f20, 0x40(r1) /* 801D8CD8 001D5C38 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801D8CDC 001D5C3C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801D8CE0 001D5C40 80 01 01 04 */ lwz r0, 0x104(r1) /* 801D8CE4 001D5C44 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801D8CE8 001D5C48 7C 08 03 A6 */ mtlr r0 /* 801D8CEC 001D5C4C 38 21 01 00 */ addi r1, r1, 0x100 /* 801D8CF0 001D5C50 4E 80 00 20 */ blr .global __dt__23CScriptControllerActionFv __dt__23CScriptControllerActionFv: /* 801D8CF4 001D5C54 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8CF8 001D5C58 7C 08 02 A6 */ mflr r0 /* 801D8CFC 001D5C5C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8D00 001D5C60 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D8D04 001D5C64 7C 9F 23 78 */ mr r31, r4 /* 801D8D08 001D5C68 93 C1 00 08 */ stw r30, 8(r1) /* 801D8D0C 001D5C6C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D8D10 001D5C70 41 82 00 28 */ beq lbl_801D8D38 /* 801D8D14 001D5C74 3C A0 80 3E */ lis r5, lbl_803E5C20@ha /* 801D8D18 001D5C78 38 80 00 00 */ li r4, 0 /* 801D8D1C 001D5C7C 38 05 5C 20 */ addi r0, r5, lbl_803E5C20@l /* 801D8D20 001D5C80 90 1E 00 00 */ stw r0, 0(r30) /* 801D8D24 001D5C84 4B E7 85 51 */ bl __dt__7CEntityFv /* 801D8D28 001D5C88 7F E0 07 35 */ extsh. r0, r31 /* 801D8D2C 001D5C8C 40 81 00 0C */ ble lbl_801D8D38 /* 801D8D30 001D5C90 7F C3 F3 78 */ mr r3, r30 /* 801D8D34 001D5C94 48 13 CB FD */ bl Free__7CMemoryFPCv lbl_801D8D38: /* 801D8D38 001D5C98 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8D3C 001D5C9C 7F C3 F3 78 */ mr r3, r30 /* 801D8D40 001D5CA0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D8D44 001D5CA4 83 C1 00 08 */ lwz r30, 8(r1) /* 801D8D48 001D5CA8 7C 08 03 A6 */ mtlr r0 /* 801D8D4C 001D5CAC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8D50 001D5CB0 4E 80 00 20 */ blr .global nullsub_51 nullsub_51: /* 801D8D54 001D5CB4 4E 80 00 20 */ blr .global Think__23CScriptControllerActionFfR13CStateManager Think__23CScriptControllerActionFfR13CStateManager: /* 801D8D58 001D5CB8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D8D5C 001D5CBC 7C 08 02 A6 */ mflr r0 /* 801D8D60 001D5CC0 90 01 00 24 */ stw r0, 0x24(r1) /* 801D8D64 001D5CC4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D8D68 001D5CC8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D8D6C 001D5CCC 7C 9E 23 78 */ mr r30, r4 /* 801D8D70 001D5CD0 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D8D74 001D5CD4 7C 7D 1B 78 */ mr r29, r3 /* 801D8D78 001D5CD8 88 63 00 3C */ lbz r3, 0x3c(r3) /* 801D8D7C 001D5CDC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801D8D80 001D5CE0 54 7F DF FE */ rlwinm r31, r3, 0x1b, 0x1f, 0x1f /* 801D8D84 001D5CE4 41 82 00 40 */ beq lbl_801D8DC4 /* 801D8D88 001D5CE8 80 1D 00 38 */ lwz r0, 0x38(r29) /* 801D8D8C 001D5CEC 2C 00 00 00 */ cmpwi r0, 0 /* 801D8D90 001D5CF0 41 82 00 08 */ beq lbl_801D8D98 /* 801D8D94 001D5CF4 48 00 00 6C */ b lbl_801D8E00 lbl_801D8D98: /* 801D8D98 001D5CF8 88 1E 0F 94 */ lbz r0, 0xf94(r30) /* 801D8D9C 001D5CFC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801D8DA0 001D5D00 41 82 00 14 */ beq lbl_801D8DB4 /* 801D8DA4 001D5D04 38 00 00 01 */ li r0, 1 /* 801D8DA8 001D5D08 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a /* 801D8DAC 001D5D0C 98 7D 00 3C */ stb r3, 0x3c(r29) /* 801D8DB0 001D5D10 48 00 00 50 */ b lbl_801D8E00 lbl_801D8DB4: /* 801D8DB4 001D5D14 38 00 00 00 */ li r0, 0 /* 801D8DB8 001D5D18 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a /* 801D8DBC 001D5D1C 98 7D 00 3C */ stb r3, 0x3c(r29) /* 801D8DC0 001D5D20 48 00 00 40 */ b lbl_801D8E00 lbl_801D8DC4: /* 801D8DC4 001D5D24 80 7D 00 34 */ lwz r3, 0x34(r29) /* 801D8DC8 001D5D28 4B FF FF 8D */ bl nullsub_51 /* 801D8DCC 001D5D2C 38 9E 0B 54 */ addi r4, r30, 0xb54 /* 801D8DD0 001D5D30 4B E3 3A A5 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 801D8DD4 001D5D34 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D8DD8 001D5D38 41 82 00 18 */ beq lbl_801D8DF0 /* 801D8DDC 001D5D3C 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 801D8DE0 001D5D40 38 60 00 01 */ li r3, 1 /* 801D8DE4 001D5D44 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801D8DE8 001D5D48 98 1D 00 3C */ stb r0, 0x3c(r29) /* 801D8DEC 001D5D4C 48 00 00 14 */ b lbl_801D8E00 lbl_801D8DF0: /* 801D8DF0 001D5D50 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 801D8DF4 001D5D54 38 60 00 00 */ li r3, 0 /* 801D8DF8 001D5D58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801D8DFC 001D5D5C 98 1D 00 3C */ stb r0, 0x3c(r29) lbl_801D8E00: /* 801D8E00 001D5D60 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801D8E04 001D5D64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D8E08 001D5D68 41 82 00 80 */ beq lbl_801D8E88 /* 801D8E0C 001D5D6C 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 801D8E10 001D5D70 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f /* 801D8E14 001D5D74 7C 00 F8 40 */ cmplw r0, r31 /* 801D8E18 001D5D78 41 82 00 70 */ beq lbl_801D8E88 /* 801D8E1C 001D5D7C 28 00 00 00 */ cmplwi r0, 0 /* 801D8E20 001D5D80 41 82 00 1C */ beq lbl_801D8E3C /* 801D8E24 001D5D84 7F A3 EB 78 */ mr r3, r29 /* 801D8E28 001D5D88 7F C5 F3 78 */ mr r5, r30 /* 801D8E2C 001D5D8C 38 80 00 08 */ li r4, 8 /* 801D8E30 001D5D90 38 C0 FF FF */ li r6, -1 /* 801D8E34 001D5D94 4B E7 82 8D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801D8E38 001D5D98 48 00 00 50 */ b lbl_801D8E88 lbl_801D8E3C: /* 801D8E3C 001D5D9C 7F A3 EB 78 */ mr r3, r29 /* 801D8E40 001D5DA0 7F C5 F3 78 */ mr r5, r30 /* 801D8E44 001D5DA4 38 80 00 02 */ li r4, 2 /* 801D8E48 001D5DA8 38 C0 FF FF */ li r6, -1 /* 801D8E4C 001D5DAC 4B E7 82 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801D8E50 001D5DB0 88 1D 00 3C */ lbz r0, 0x3c(r29) /* 801D8E54 001D5DB4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801D8E58 001D5DB8 41 82 00 30 */ beq lbl_801D8E88 /* 801D8E5C 001D5DBC 7F A3 EB 78 */ mr r3, r29 /* 801D8E60 001D5DC0 38 80 00 00 */ li r4, 0 /* 801D8E64 001D5DC4 81 9D 00 00 */ lwz r12, 0(r29) /* 801D8E68 001D5DC8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801D8E6C 001D5DCC 7D 89 03 A6 */ mtctr r12 /* 801D8E70 001D5DD0 4E 80 04 21 */ bctrl /* 801D8E74 001D5DD4 7F A3 EB 78 */ mr r3, r29 /* 801D8E78 001D5DD8 7F C5 F3 78 */ mr r5, r30 /* 801D8E7C 001D5DDC 38 80 00 05 */ li r4, 5 /* 801D8E80 001D5DE0 38 C0 FF FF */ li r6, -1 /* 801D8E84 001D5DE4 4B E7 82 3D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801D8E88: /* 801D8E88 001D5DE8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D8E8C 001D5DEC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D8E90 001D5DF0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D8E94 001D5DF4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D8E98 001D5DF8 7C 08 03 A6 */ mtlr r0 /* 801D8E9C 001D5DFC 38 21 00 20 */ addi r1, r1, 0x20 /* 801D8EA0 001D5E00 4E 80 00 20 */ blr .global Accept__23CScriptControllerActionFR8IVisitor Accept__23CScriptControllerActionFR8IVisitor: /* 801D8EA4 001D5E04 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8EA8 001D5E08 7C 08 02 A6 */ mflr r0 /* 801D8EAC 001D5E0C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8EB0 001D5E10 7C 60 1B 78 */ mr r0, r3 /* 801D8EB4 001D5E14 7C 83 23 78 */ mr r3, r4 /* 801D8EB8 001D5E18 81 84 00 00 */ lwz r12, 0(r4) /* 801D8EBC 001D5E1C 7C 04 03 78 */ mr r4, r0 /* 801D8EC0 001D5E20 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801D8EC4 001D5E24 7D 89 03 A6 */ mtctr r12 /* 801D8EC8 001D5E28 4E 80 04 21 */ bctrl /* 801D8ECC 001D5E2C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8ED0 001D5E30 7C 08 03 A6 */ mtlr r0 /* 801D8ED4 001D5E34 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8ED8 001D5E38 4E 80 00 20 */ blr .global "__ct__23CScriptControllerActionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobQ223CScriptControllerAction9ECommandsb" "__ct__23CScriptControllerActionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobQ223CScriptControllerAction9ECommandsb": /* 801D8EDC 001D5E3C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D8EE0 001D5E40 7C 08 02 A6 */ mflr r0 /* 801D8EE4 001D5E44 90 01 00 34 */ stw r0, 0x34(r1) /* 801D8EE8 001D5E48 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801D8EEC 001D5E4C 7C 7B 1B 78 */ mr r27, r3 /* 801D8EF0 001D5E50 8B E1 00 3B */ lbz r31, 0x3b(r1) /* 801D8EF4 001D5E54 7D 1C 43 78 */ mr r28, r8 /* 801D8EF8 001D5E58 7D 3D 4B 78 */ mr r29, r9 /* 801D8EFC 001D5E5C 7D 5E 53 78 */ mr r30, r10 /* 801D8F00 001D5E60 A0 04 00 00 */ lhz r0, 0(r4) /* 801D8F04 001D5E64 7C A4 2B 78 */ mr r4, r5 /* 801D8F08 001D5E68 7C C5 33 78 */ mr r5, r6 /* 801D8F0C 001D5E6C 7C E6 3B 78 */ mr r6, r7 /* 801D8F10 001D5E70 B0 01 00 08 */ sth r0, 8(r1) /* 801D8F14 001D5E74 7C 87 23 78 */ mr r7, r4 /* 801D8F18 001D5E78 38 81 00 08 */ addi r4, r1, 8 /* 801D8F1C 001D5E7C 4B E7 84 09 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801D8F20 001D5E80 3C 60 80 3E */ lis r3, lbl_803E5C20@ha /* 801D8F24 001D5E84 38 80 00 00 */ li r4, 0 /* 801D8F28 001D5E88 38 03 5C 20 */ addi r0, r3, lbl_803E5C20@l /* 801D8F2C 001D5E8C 90 1B 00 00 */ stw r0, 0(r27) /* 801D8F30 001D5E90 7F 63 DB 78 */ mr r3, r27 /* 801D8F34 001D5E94 93 9B 00 34 */ stw r28, 0x34(r27) /* 801D8F38 001D5E98 93 DB 00 38 */ stw r30, 0x38(r27) /* 801D8F3C 001D5E9C 88 1B 00 3C */ lbz r0, 0x3c(r27) /* 801D8F40 001D5EA0 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 /* 801D8F44 001D5EA4 98 1B 00 3C */ stb r0, 0x3c(r27) /* 801D8F48 001D5EA8 88 1B 00 3C */ lbz r0, 0x3c(r27) /* 801D8F4C 001D5EAC 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 /* 801D8F50 001D5EB0 98 1B 00 3C */ stb r0, 0x3c(r27) /* 801D8F54 001D5EB4 88 1B 00 3C */ lbz r0, 0x3c(r27) /* 801D8F58 001D5EB8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801D8F5C 001D5EBC 98 1B 00 3C */ stb r0, 0x3c(r27) /* 801D8F60 001D5EC0 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801D8F64 001D5EC4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D8F68 001D5EC8 7C 08 03 A6 */ mtlr r0 /* 801D8F6C 001D5ECC 38 21 00 30 */ addi r1, r1, 0x30 /* 801D8F70 001D5ED0 4E 80 00 20 */ blr .global LoadAnimations__10CGunMotionFv LoadAnimations__10CGunMotionFv: /* 801D8F74 001D5ED4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8F78 001D5ED8 7C 08 02 A6 */ mflr r0 /* 801D8F7C 001D5EDC 7C 65 1B 78 */ mr r5, r3 /* 801D8F80 001D5EE0 38 80 00 00 */ li r4, 0 /* 801D8F84 001D5EE4 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8F88 001D5EE8 38 C5 00 A8 */ addi r6, r5, 0xa8 /* 801D8F8C 001D5EEC 38 A0 00 0E */ li r5, 0xe /* 801D8F90 001D5EF0 38 E0 00 01 */ li r7, 1 /* 801D8F94 001D5EF4 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D8F98 001D5EF8 48 0B 22 D5 */ bl "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" /* 801D8F9C 001D5EFC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8FA0 001D5F00 7C 08 03 A6 */ mtlr r0 /* 801D8FA4 001D5F04 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8FA8 001D5F08 4E 80 00 20 */ blr .global EnterFidget__10CGunMotionFR13CStateManagerQ28SamusGun11EFidgetTypei EnterFidget__10CGunMotionFR13CStateManagerQ28SamusGun11EFidgetTypei: /* 801D8FAC 001D5F0C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D8FB0 001D5F10 7C 08 02 A6 */ mflr r0 /* 801D8FB4 001D5F14 38 E0 00 01 */ li r7, 1 /* 801D8FB8 001D5F18 90 01 00 14 */ stw r0, 0x14(r1) /* 801D8FBC 001D5F1C 88 03 00 B8 */ lbz r0, 0xb8(r3) /* 801D8FC0 001D5F20 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 801D8FC4 001D5F24 7C C7 33 78 */ mr r7, r6 /* 801D8FC8 001D5F28 38 C0 00 00 */ li r6, 0 /* 801D8FCC 001D5F2C 98 03 00 B8 */ stb r0, 0xb8(r3) /* 801D8FD0 001D5F30 38 63 00 4C */ addi r3, r3, 0x4c /* 801D8FD4 001D5F34 4B FF 3B 2D */ bl EnterFidget__14CGunControllerFR13CStateManageriii /* 801D8FD8 001D5F38 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D8FDC 001D5F3C 7C 08 03 A6 */ mtlr r0 /* 801D8FE0 001D5F40 38 21 00 10 */ addi r1, r1, 0x10 /* 801D8FE4 001D5F44 4E 80 00 20 */ blr .global BasePosition__10CGunMotionFb BasePosition__10CGunMotionFb: /* 801D8FE8 001D5F48 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D8FEC 001D5F4C 7C 08 02 A6 */ mflr r0 /* 801D8FF0 001D5F50 39 00 00 00 */ li r8, 0 /* 801D8FF4 001D5F54 90 01 00 34 */ stw r0, 0x34(r1) /* 801D8FF8 001D5F58 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801D8FFC 001D5F5C 38 80 00 01 */ li r4, 1 /* 801D9000 001D5F60 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D9004 001D5F64 88 A3 02 20 */ lbz r5, 0x220(r3) /* 801D9008 001D5F68 51 05 36 72 */ rlwimi r5, r8, 6, 0x19, 0x19 /* 801D900C 001D5F6C 98 A3 02 20 */ stb r5, 0x220(r3) /* 801D9010 001D5F70 88 03 02 20 */ lbz r0, 0x220(r3) /* 801D9014 001D5F74 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D9018 001D5F78 98 03 02 20 */ stb r0, 0x220(r3) /* 801D901C 001D5F7C 41 82 00 08 */ beq lbl_801D9024 /* 801D9020 001D5F80 39 00 00 06 */ li r8, 6 lbl_801D9024: /* 801D9024 001D5F84 C0 02 AC 98 */ lfs f0, lbl_805AC9B8@sda21(r2) /* 801D9028 001D5F88 38 00 00 00 */ li r0, 0 /* 801D902C 001D5F8C 38 E0 FF FF */ li r7, -1 /* 801D9030 001D5F90 38 C0 00 01 */ li r6, 1 /* 801D9034 001D5F94 91 01 00 08 */ stw r8, 8(r1) /* 801D9038 001D5F98 38 81 00 08 */ addi r4, r1, 8 /* 801D903C 001D5F9C 38 A0 00 00 */ li r5, 0 /* 801D9040 001D5FA0 90 E1 00 0C */ stw r7, 0xc(r1) /* 801D9044 001D5FA4 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801D9048 001D5FA8 98 C1 00 14 */ stb r6, 0x14(r1) /* 801D904C 001D5FAC 90 01 00 18 */ stw r0, 0x18(r1) /* 801D9050 001D5FB0 90 01 00 1C */ stw r0, 0x1c(r1) /* 801D9054 001D5FB4 98 01 00 20 */ stb r0, 0x20(r1) /* 801D9058 001D5FB8 90 01 00 24 */ stw r0, 0x24(r1) /* 801D905C 001D5FBC 90 01 00 28 */ stw r0, 0x28(r1) /* 801D9060 001D5FC0 90 01 00 2C */ stw r0, 0x2c(r1) /* 801D9064 001D5FC4 4B E5 3D 19 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801D9068 001D5FC8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D906C 001D5FCC 7C 08 03 A6 */ mtlr r0 /* 801D9070 001D5FD0 38 21 00 30 */ addi r1, r1, 0x30 /* 801D9074 001D5FD4 4E 80 00 20 */ blr .global GetFreeLookSetId__10CGunMotionCFv GetFreeLookSetId__10CGunMotionCFv: /* 801D9078 001D5FD8 80 63 00 60 */ lwz r3, 0x60(r3) /* 801D907C 001D5FDC 4E 80 00 20 */ blr .global ReturnToDefault__10CGunMotionFR13CStateManager ReturnToDefault__10CGunMotionFR13CStateManager: /* 801D9080 001D5FE0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9084 001D5FE4 7C 08 02 A6 */ mflr r0 /* 801D9088 001D5FE8 C0 22 AC 9C */ lfs f1, lbl_805AC9BC@sda21(r2) /* 801D908C 001D5FEC 38 63 00 4C */ addi r3, r3, 0x4c /* 801D9090 001D5FF0 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9094 001D5FF4 4B FF 32 65 */ bl ReturnToDefault__14CGunControllerFR13CStateManagerf /* 801D9098 001D5FF8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D909C 001D5FFC 7C 08 03 A6 */ mtlr r0 /* 801D90A0 001D6000 38 21 00 10 */ addi r1, r1, 0x10 /* 801D90A4 001D6004 4E 80 00 20 */ blr .global Draw__10CGunMotionCFRC13CStateManagerRC12CTransform4f Draw__10CGunMotionCFRC13CStateManagerRC12CTransform4f: /* 801D90A8 001D6008 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D90AC 001D600C 7C 08 02 A6 */ mflr r0 /* 801D90B0 001D6010 C0 22 AC 98 */ lfs f1, lbl_805AC9B8@sda21(r2) /* 801D90B4 001D6014 38 C0 00 00 */ li r6, 0 /* 801D90B8 001D6018 90 01 00 24 */ stw r0, 0x24(r1) /* 801D90BC 001D601C 38 00 00 03 */ li r0, 3 /* 801D90C0 001D6020 FC 40 08 90 */ fmr f2, f1 /* 801D90C4 001D6024 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D90C8 001D6028 FC 60 08 90 */ fmr f3, f1 /* 801D90CC 001D602C FC 80 08 90 */ fmr f4, f1 /* 801D90D0 001D6030 7C BF 2B 78 */ mr r31, r5 /* 801D90D4 001D6034 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D90D8 001D6038 7C 9E 23 78 */ mr r30, r4 /* 801D90DC 001D603C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D90E0 001D6040 7C 7D 1B 78 */ mr r29, r3 /* 801D90E4 001D6044 38 61 00 0C */ addi r3, r1, 0xc /* 801D90E8 001D6048 98 C1 00 08 */ stb r6, 8(r1) /* 801D90EC 001D604C 98 C1 00 09 */ stb r6, 9(r1) /* 801D90F0 001D6050 B0 01 00 0A */ sth r0, 0xa(r1) /* 801D90F4 001D6054 48 18 A2 F9 */ bl __ct__6CColorFffff /* 801D90F8 001D6058 7F A3 EB 78 */ mr r3, r29 /* 801D90FC 001D605C 7F C4 F3 78 */ mr r4, r30 /* 801D9100 001D6060 7F E5 FB 78 */ mr r5, r31 /* 801D9104 001D6064 38 E1 00 08 */ addi r7, r1, 8 /* 801D9108 001D6068 38 C0 00 00 */ li r6, 0 /* 801D910C 001D606C 4B F3 BC B1 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 801D9110 001D6070 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D9114 001D6074 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D9118 001D6078 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D911C 001D607C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D9120 001D6080 7C 08 03 A6 */ mtlr r0 /* 801D9124 001D6084 38 21 00 20 */ addi r1, r1, 0x20 /* 801D9128 001D6088 4E 80 00 20 */ blr .global Update__10CGunMotionFfR13CStateManager Update__10CGunMotionFfR13CStateManager: /* 801D912C 001D608C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801D9130 001D6090 7C 08 02 A6 */ mflr r0 /* 801D9134 001D6094 38 E0 00 01 */ li r7, 1 /* 801D9138 001D6098 90 01 00 44 */ stw r0, 0x44(r1) /* 801D913C 001D609C 38 C1 00 08 */ addi r6, r1, 8 /* 801D9140 001D60A0 DB E1 00 38 */ stfd f31, 0x38(r1) /* 801D9144 001D60A4 FF E0 08 90 */ fmr f31, f1 /* 801D9148 001D60A8 93 E1 00 34 */ stw r31, 0x34(r1) /* 801D914C 001D60AC 7C 9F 23 78 */ mr r31, r4 /* 801D9150 001D60B0 7F E5 FB 78 */ mr r5, r31 /* 801D9154 001D60B4 93 C1 00 30 */ stw r30, 0x30(r1) /* 801D9158 001D60B8 7C 7E 1B 78 */ mr r30, r3 /* 801D915C 001D60BC 7F C4 F3 78 */ mr r4, r30 /* 801D9160 001D60C0 38 61 00 0C */ addi r3, r1, 0xc /* 801D9164 001D60C4 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801D9168 001D60C8 90 01 00 08 */ stw r0, 8(r1) /* 801D916C 001D60CC 4B F3 C9 C9 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801D9170 001D60D0 FC 20 F8 90 */ fmr f1, f31 /* 801D9174 001D60D4 7F E4 FB 78 */ mr r4, r31 /* 801D9178 001D60D8 38 7E 00 4C */ addi r3, r30, 0x4c /* 801D917C 001D60DC 4B FF 34 C5 */ bl Update__14CGunControllerFfR13CStateManager /* 801D9180 001D60E0 2C 03 00 01 */ cmpwi r3, 1 /* 801D9184 001D60E4 41 82 00 08 */ beq lbl_801D918C /* 801D9188 001D60E8 48 00 00 14 */ b lbl_801D919C lbl_801D918C: /* 801D918C 001D60EC 88 1E 00 B8 */ lbz r0, 0xb8(r30) /* 801D9190 001D60F0 38 60 00 00 */ li r3, 0 /* 801D9194 001D60F4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801D9198 001D60F8 98 1E 00 B8 */ stb r0, 0xb8(r30) lbl_801D919C: /* 801D919C 001D60FC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801D91A0 001D6100 CB E1 00 38 */ lfd f31, 0x38(r1) /* 801D91A4 001D6104 83 E1 00 34 */ lwz r31, 0x34(r1) /* 801D91A8 001D6108 83 C1 00 30 */ lwz r30, 0x30(r1) /* 801D91AC 001D610C 7C 08 03 A6 */ mtlr r0 /* 801D91B0 001D6110 38 21 00 40 */ addi r1, r1, 0x40 /* 801D91B4 001D6114 4E 80 00 20 */ blr .global PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb PlayPasAnim__10CGunMotionFQ28SamusGun15EAnimationStateR13CStateManagerfb: /* 801D91B8 001D6118 94 21 FD E0 */ stwu r1, -0x220(r1) /* 801D91BC 001D611C 7C 08 02 A6 */ mflr r0 /* 801D91C0 001D6120 90 01 02 24 */ stw r0, 0x224(r1) /* 801D91C4 001D6124 DB E1 02 10 */ stfd f31, 0x210(r1) /* 801D91C8 001D6128 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 /* 801D91CC 001D612C BF 21 01 F4 */ stmw r25, 0x1f4(r1) /* 801D91D0 001D6130 7C 7E 1B 78 */ mr r30, r3 /* 801D91D4 001D6134 7C 99 23 78 */ mr r25, r4 /* 801D91D8 001D6138 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D91DC 001D613C FF E0 08 90 */ fmr f31, f1 /* 801D91E0 001D6140 2C 19 00 03 */ cmpwi r25, 3 /* 801D91E4 001D6144 7C BA 2B 78 */ mr r26, r5 /* 801D91E8 001D6148 7C DB 33 78 */ mr r27, r6 /* 801D91EC 001D614C 3B A3 00 3C */ addi r29, r3, 0x3c /* 801D91F0 001D6150 3B E0 00 01 */ li r31, 1 /* 801D91F4 001D6154 3B 80 FF FF */ li r28, -1 /* 801D91F8 001D6158 41 82 03 24 */ beq lbl_801D951C /* 801D91FC 001D615C 40 80 00 1C */ bge lbl_801D9218 /* 801D9200 001D6160 2C 19 00 01 */ cmpwi r25, 1 /* 801D9204 001D6164 41 82 03 40 */ beq lbl_801D9544 /* 801D9208 001D6168 40 80 02 0C */ bge lbl_801D9414 /* 801D920C 001D616C 2C 19 00 00 */ cmpwi r25, 0 /* 801D9210 001D6170 40 80 00 18 */ bge lbl_801D9228 /* 801D9214 001D6174 48 00 03 30 */ b lbl_801D9544 lbl_801D9218: /* 801D9218 001D6178 2C 19 00 05 */ cmpwi r25, 5 /* 801D921C 001D617C 41 82 01 00 */ beq lbl_801D931C /* 801D9220 001D6180 40 80 03 24 */ bge lbl_801D9544 /* 801D9224 001D6184 48 00 03 10 */ b lbl_801D9534 lbl_801D9228: /* 801D9228 001D6188 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801D922C 001D618C 48 10 9E 51 */ bl NoParameter__12CPASAnimParmFv /* 801D9230 001D6190 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801D9234 001D6194 48 10 9E 49 */ bl NoParameter__12CPASAnimParmFv /* 801D9238 001D6198 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801D923C 001D619C 48 10 9E 41 */ bl NoParameter__12CPASAnimParmFv /* 801D9240 001D61A0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801D9244 001D61A4 48 10 9E 39 */ bl NoParameter__12CPASAnimParmFv /* 801D9248 001D61A8 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801D924C 001D61AC 48 10 9E 31 */ bl NoParameter__12CPASAnimParmFv /* 801D9250 001D61B0 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801D9254 001D61B4 48 10 9E 29 */ bl NoParameter__12CPASAnimParmFv /* 801D9258 001D61B8 38 61 00 D0 */ addi r3, r1, 0xd0 /* 801D925C 001D61BC 48 10 9E 21 */ bl NoParameter__12CPASAnimParmFv /* 801D9260 001D61C0 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801D9264 001D61C4 48 10 9E 19 */ bl NoParameter__12CPASAnimParmFv /* 801D9268 001D61C8 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801D926C 001D61CC 38 01 00 A0 */ addi r0, r1, 0xa0 /* 801D9270 001D61D0 90 61 00 08 */ stw r3, 8(r1) /* 801D9274 001D61D4 7F 24 CB 78 */ mr r4, r25 /* 801D9278 001D61D8 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 801D927C 001D61DC 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 801D9280 001D61E0 90 01 00 0C */ stw r0, 0xc(r1) /* 801D9284 001D61E4 38 C1 00 D0 */ addi r6, r1, 0xd0 /* 801D9288 001D61E8 38 E1 00 C8 */ addi r7, r1, 0xc8 /* 801D928C 001D61EC 39 01 00 C0 */ addi r8, r1, 0xc0 /* 801D9290 001D61F0 39 21 00 B8 */ addi r9, r1, 0xb8 /* 801D9294 001D61F4 39 41 00 B0 */ addi r10, r1, 0xb0 /* 801D9298 001D61F8 4B EA 40 2D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801D929C 001D61FC 80 DA 09 00 */ lwz r6, 0x900(r26) /* 801D92A0 001D6200 7F A4 EB 78 */ mr r4, r29 /* 801D92A4 001D6204 38 61 00 E0 */ addi r3, r1, 0xe0 /* 801D92A8 001D6208 38 A1 01 A0 */ addi r5, r1, 0x1a0 /* 801D92AC 001D620C 38 E0 FF FF */ li r7, -1 /* 801D92B0 001D6210 48 10 BD B1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801D92B4 001D6214 34 C1 01 A4 */ addic. r6, r1, 0x1a4 /* 801D92B8 001D6218 80 81 00 E4 */ lwz r4, 0xe4(r1) /* 801D92BC 001D621C 41 82 00 58 */ beq lbl_801D9314 /* 801D92C0 001D6220 80 E6 00 00 */ lwz r7, 0(r6) /* 801D92C4 001D6224 38 60 00 00 */ li r3, 0 /* 801D92C8 001D6228 2C 07 00 00 */ cmpwi r7, 0 /* 801D92CC 001D622C 40 81 00 40 */ ble lbl_801D930C /* 801D92D0 001D6230 2C 07 00 08 */ cmpwi r7, 8 /* 801D92D4 001D6234 38 A7 FF F8 */ addi r5, r7, -8 /* 801D92D8 001D6238 40 81 00 20 */ ble lbl_801D92F8 /* 801D92DC 001D623C 38 05 00 07 */ addi r0, r5, 7 /* 801D92E0 001D6240 54 00 E8 FE */ srwi r0, r0, 3 /* 801D92E4 001D6244 7C 09 03 A6 */ mtctr r0 /* 801D92E8 001D6248 2C 05 00 00 */ cmpwi r5, 0 /* 801D92EC 001D624C 40 81 00 0C */ ble lbl_801D92F8 lbl_801D92F0: /* 801D92F0 001D6250 38 63 00 08 */ addi r3, r3, 8 /* 801D92F4 001D6254 42 00 FF FC */ bdnz lbl_801D92F0 lbl_801D92F8: /* 801D92F8 001D6258 7C 03 38 50 */ subf r0, r3, r7 /* 801D92FC 001D625C 7C 09 03 A6 */ mtctr r0 /* 801D9300 001D6260 7C 03 38 00 */ cmpw r3, r7 /* 801D9304 001D6264 40 80 00 08 */ bge lbl_801D930C lbl_801D9308: /* 801D9308 001D6268 42 00 00 00 */ bdnz lbl_801D9308 lbl_801D930C: /* 801D930C 001D626C 38 00 00 00 */ li r0, 0 /* 801D9310 001D6270 90 06 00 00 */ stw r0, 0(r6) lbl_801D9314: /* 801D9314 001D6274 7C 9C 23 78 */ mr r28, r4 /* 801D9318 001D6278 48 00 02 2C */ b lbl_801D9544 lbl_801D931C: /* 801D931C 001D627C 38 61 00 58 */ addi r3, r1, 0x58 /* 801D9320 001D6280 48 10 9D 5D */ bl NoParameter__12CPASAnimParmFv /* 801D9324 001D6284 38 61 00 60 */ addi r3, r1, 0x60 /* 801D9328 001D6288 48 10 9D 55 */ bl NoParameter__12CPASAnimParmFv /* 801D932C 001D628C 38 61 00 68 */ addi r3, r1, 0x68 /* 801D9330 001D6290 48 10 9D 4D */ bl NoParameter__12CPASAnimParmFv /* 801D9334 001D6294 38 61 00 70 */ addi r3, r1, 0x70 /* 801D9338 001D6298 48 10 9D 45 */ bl NoParameter__12CPASAnimParmFv /* 801D933C 001D629C 38 61 00 78 */ addi r3, r1, 0x78 /* 801D9340 001D62A0 48 10 9D 3D */ bl NoParameter__12CPASAnimParmFv /* 801D9344 001D62A4 38 61 00 80 */ addi r3, r1, 0x80 /* 801D9348 001D62A8 48 10 9D 35 */ bl NoParameter__12CPASAnimParmFv /* 801D934C 001D62AC 38 61 00 88 */ addi r3, r1, 0x88 /* 801D9350 001D62B0 48 10 9D 2D */ bl NoParameter__12CPASAnimParmFv /* 801D9354 001D62B4 38 61 00 90 */ addi r3, r1, 0x90 /* 801D9358 001D62B8 38 80 00 00 */ li r4, 0 /* 801D935C 001D62BC 48 10 9C 29 */ bl FromEnum__12CPASAnimParmFi /* 801D9360 001D62C0 38 61 00 60 */ addi r3, r1, 0x60 /* 801D9364 001D62C4 38 01 00 58 */ addi r0, r1, 0x58 /* 801D9368 001D62C8 90 61 00 08 */ stw r3, 8(r1) /* 801D936C 001D62CC 7F 24 CB 78 */ mr r4, r25 /* 801D9370 001D62D0 38 61 01 58 */ addi r3, r1, 0x158 /* 801D9374 001D62D4 38 A1 00 90 */ addi r5, r1, 0x90 /* 801D9378 001D62D8 90 01 00 0C */ stw r0, 0xc(r1) /* 801D937C 001D62DC 38 C1 00 88 */ addi r6, r1, 0x88 /* 801D9380 001D62E0 38 E1 00 80 */ addi r7, r1, 0x80 /* 801D9384 001D62E4 39 01 00 78 */ addi r8, r1, 0x78 /* 801D9388 001D62E8 39 21 00 70 */ addi r9, r1, 0x70 /* 801D938C 001D62EC 39 41 00 68 */ addi r10, r1, 0x68 /* 801D9390 001D62F0 4B EA 3F 35 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801D9394 001D62F4 80 DA 09 00 */ lwz r6, 0x900(r26) /* 801D9398 001D62F8 7F A4 EB 78 */ mr r4, r29 /* 801D939C 001D62FC 38 61 00 98 */ addi r3, r1, 0x98 /* 801D93A0 001D6300 38 A1 01 58 */ addi r5, r1, 0x158 /* 801D93A4 001D6304 38 E0 FF FF */ li r7, -1 /* 801D93A8 001D6308 48 10 BC B9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801D93AC 001D630C 34 C1 01 5C */ addic. r6, r1, 0x15c /* 801D93B0 001D6310 80 81 00 9C */ lwz r4, 0x9c(r1) /* 801D93B4 001D6314 41 82 00 58 */ beq lbl_801D940C /* 801D93B8 001D6318 80 E6 00 00 */ lwz r7, 0(r6) /* 801D93BC 001D631C 38 60 00 00 */ li r3, 0 /* 801D93C0 001D6320 2C 07 00 00 */ cmpwi r7, 0 /* 801D93C4 001D6324 40 81 00 40 */ ble lbl_801D9404 /* 801D93C8 001D6328 2C 07 00 08 */ cmpwi r7, 8 /* 801D93CC 001D632C 38 A7 FF F8 */ addi r5, r7, -8 /* 801D93D0 001D6330 40 81 00 20 */ ble lbl_801D93F0 /* 801D93D4 001D6334 38 05 00 07 */ addi r0, r5, 7 /* 801D93D8 001D6338 54 00 E8 FE */ srwi r0, r0, 3 /* 801D93DC 001D633C 7C 09 03 A6 */ mtctr r0 /* 801D93E0 001D6340 2C 05 00 00 */ cmpwi r5, 0 /* 801D93E4 001D6344 40 81 00 0C */ ble lbl_801D93F0 lbl_801D93E8: /* 801D93E8 001D6348 38 63 00 08 */ addi r3, r3, 8 /* 801D93EC 001D634C 42 00 FF FC */ bdnz lbl_801D93E8 lbl_801D93F0: /* 801D93F0 001D6350 7C 03 38 50 */ subf r0, r3, r7 /* 801D93F4 001D6354 7C 09 03 A6 */ mtctr r0 /* 801D93F8 001D6358 7C 03 38 00 */ cmpw r3, r7 /* 801D93FC 001D635C 40 80 00 08 */ bge lbl_801D9404 lbl_801D9400: /* 801D9400 001D6360 42 00 00 00 */ bdnz lbl_801D9400 lbl_801D9404: /* 801D9404 001D6364 38 00 00 00 */ li r0, 0 /* 801D9408 001D6368 90 06 00 00 */ stw r0, 0(r6) lbl_801D940C: /* 801D940C 001D636C 7C 9C 23 78 */ mr r28, r4 /* 801D9410 001D6370 48 00 01 34 */ b lbl_801D9544 lbl_801D9414: /* 801D9414 001D6374 38 61 00 10 */ addi r3, r1, 0x10 /* 801D9418 001D6378 48 10 9C 65 */ bl NoParameter__12CPASAnimParmFv /* 801D941C 001D637C 38 61 00 18 */ addi r3, r1, 0x18 /* 801D9420 001D6380 48 10 9C 5D */ bl NoParameter__12CPASAnimParmFv /* 801D9424 001D6384 38 61 00 20 */ addi r3, r1, 0x20 /* 801D9428 001D6388 48 10 9C 55 */ bl NoParameter__12CPASAnimParmFv /* 801D942C 001D638C 38 61 00 28 */ addi r3, r1, 0x28 /* 801D9430 001D6390 48 10 9C 4D */ bl NoParameter__12CPASAnimParmFv /* 801D9434 001D6394 38 61 00 30 */ addi r3, r1, 0x30 /* 801D9438 001D6398 38 80 00 00 */ li r4, 0 /* 801D943C 001D639C 48 10 9B 79 */ bl FromBool__12CPASAnimParmFb /* 801D9440 001D63A0 38 61 00 38 */ addi r3, r1, 0x38 /* 801D9444 001D63A4 57 64 06 3E */ clrlwi r4, r27, 0x18 /* 801D9448 001D63A8 48 10 9B 6D */ bl FromBool__12CPASAnimParmFb /* 801D944C 001D63AC FC 20 F8 90 */ fmr f1, f31 /* 801D9450 001D63B0 38 61 00 40 */ addi r3, r1, 0x40 /* 801D9454 001D63B4 48 10 9B 95 */ bl FromReal32__12CPASAnimParmFf /* 801D9458 001D63B8 38 61 00 48 */ addi r3, r1, 0x48 /* 801D945C 001D63BC 38 80 00 00 */ li r4, 0 /* 801D9460 001D63C0 48 10 9B ED */ bl FromInt32__12CPASAnimParmFi /* 801D9464 001D63C4 38 61 00 18 */ addi r3, r1, 0x18 /* 801D9468 001D63C8 38 01 00 10 */ addi r0, r1, 0x10 /* 801D946C 001D63CC 90 61 00 08 */ stw r3, 8(r1) /* 801D9470 001D63D0 7F 24 CB 78 */ mr r4, r25 /* 801D9474 001D63D4 38 61 01 10 */ addi r3, r1, 0x110 /* 801D9478 001D63D8 38 A1 00 48 */ addi r5, r1, 0x48 /* 801D947C 001D63DC 90 01 00 0C */ stw r0, 0xc(r1) /* 801D9480 001D63E0 38 C1 00 40 */ addi r6, r1, 0x40 /* 801D9484 001D63E4 38 E1 00 38 */ addi r7, r1, 0x38 /* 801D9488 001D63E8 39 01 00 30 */ addi r8, r1, 0x30 /* 801D948C 001D63EC 39 21 00 28 */ addi r9, r1, 0x28 /* 801D9490 001D63F0 39 41 00 20 */ addi r10, r1, 0x20 /* 801D9494 001D63F4 4B EA 3E 31 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801D9498 001D63F8 80 DA 09 00 */ lwz r6, 0x900(r26) /* 801D949C 001D63FC 7F A4 EB 78 */ mr r4, r29 /* 801D94A0 001D6400 38 61 00 50 */ addi r3, r1, 0x50 /* 801D94A4 001D6404 38 A1 01 10 */ addi r5, r1, 0x110 /* 801D94A8 001D6408 38 E0 FF FF */ li r7, -1 /* 801D94AC 001D640C 48 10 BB B5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801D94B0 001D6410 34 C1 01 14 */ addic. r6, r1, 0x114 /* 801D94B4 001D6414 80 81 00 54 */ lwz r4, 0x54(r1) /* 801D94B8 001D6418 41 82 00 58 */ beq lbl_801D9510 /* 801D94BC 001D641C 80 E6 00 00 */ lwz r7, 0(r6) /* 801D94C0 001D6420 38 60 00 00 */ li r3, 0 /* 801D94C4 001D6424 2C 07 00 00 */ cmpwi r7, 0 /* 801D94C8 001D6428 40 81 00 40 */ ble lbl_801D9508 /* 801D94CC 001D642C 2C 07 00 08 */ cmpwi r7, 8 /* 801D94D0 001D6430 38 A7 FF F8 */ addi r5, r7, -8 /* 801D94D4 001D6434 40 81 00 20 */ ble lbl_801D94F4 /* 801D94D8 001D6438 38 05 00 07 */ addi r0, r5, 7 /* 801D94DC 001D643C 54 00 E8 FE */ srwi r0, r0, 3 /* 801D94E0 001D6440 7C 09 03 A6 */ mtctr r0 /* 801D94E4 001D6444 2C 05 00 00 */ cmpwi r5, 0 /* 801D94E8 001D6448 40 81 00 0C */ ble lbl_801D94F4 lbl_801D94EC: /* 801D94EC 001D644C 38 63 00 08 */ addi r3, r3, 8 /* 801D94F0 001D6450 42 00 FF FC */ bdnz lbl_801D94EC lbl_801D94F4: /* 801D94F4 001D6454 7C 03 38 50 */ subf r0, r3, r7 /* 801D94F8 001D6458 7C 09 03 A6 */ mtctr r0 /* 801D94FC 001D645C 7C 03 38 00 */ cmpw r3, r7 /* 801D9500 001D6460 40 80 00 08 */ bge lbl_801D9508 lbl_801D9504: /* 801D9504 001D6464 42 00 00 00 */ bdnz lbl_801D9504 lbl_801D9508: /* 801D9508 001D6468 38 00 00 00 */ li r0, 0 /* 801D950C 001D646C 90 06 00 00 */ stw r0, 0(r6) lbl_801D9510: /* 801D9510 001D6470 7C 9C 23 78 */ mr r28, r4 /* 801D9514 001D6474 3B E0 00 00 */ li r31, 0 /* 801D9518 001D6478 48 00 00 2C */ b lbl_801D9544 lbl_801D951C: /* 801D951C 001D647C 7F 44 D3 78 */ mr r4, r26 /* 801D9520 001D6480 38 7E 00 4C */ addi r3, r30, 0x4c /* 801D9524 001D6484 38 A0 00 00 */ li r5, 0 /* 801D9528 001D6488 38 C0 FF FF */ li r6, -1 /* 801D952C 001D648C 4B FF 36 95 */ bl EnterFreeLook__14CGunControllerFR13CStateManagerii /* 801D9530 001D6490 48 00 00 14 */ b lbl_801D9544 lbl_801D9534: /* 801D9534 001D6494 7F 44 D3 78 */ mr r4, r26 /* 801D9538 001D6498 38 7E 00 4C */ addi r3, r30, 0x4c /* 801D953C 001D649C 38 A0 00 00 */ li r5, 0 /* 801D9540 001D64A0 4B FF 36 09 */ bl EnterComboFire__14CGunControllerFR13CStateManageri lbl_801D9544: /* 801D9544 001D64A4 2C 1C FF FF */ cmpwi r28, -1 /* 801D9548 001D64A8 41 82 00 70 */ beq lbl_801D95B8 /* 801D954C 001D64AC 88 1E 00 B8 */ lbz r0, 0xb8(r30) /* 801D9550 001D64B0 39 20 00 01 */ li r9, 1 /* 801D9554 001D64B4 51 20 3E 30 */ rlwimi r0, r9, 7, 0x18, 0x18 /* 801D9558 001D64B8 C0 02 AC 98 */ lfs f0, lbl_805AC9B8@sda21(r2) /* 801D955C 001D64BC 98 1E 00 B8 */ stb r0, 0xb8(r30) /* 801D9560 001D64C0 38 C0 FF FF */ li r6, -1 /* 801D9564 001D64C4 38 00 00 00 */ li r0, 0 /* 801D9568 001D64C8 38 81 00 E8 */ addi r4, r1, 0xe8 /* 801D956C 001D64CC 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801D9570 001D64D0 38 A0 00 00 */ li r5, 0 /* 801D9574 001D64D4 88 E3 02 20 */ lbz r7, 0x220(r3) /* 801D9578 001D64D8 53 E7 36 72 */ rlwimi r7, r31, 6, 0x19, 0x19 /* 801D957C 001D64DC 98 E3 02 20 */ stb r7, 0x220(r3) /* 801D9580 001D64E0 88 E3 02 20 */ lbz r7, 0x220(r3) /* 801D9584 001D64E4 51 27 3E 30 */ rlwimi r7, r9, 7, 0x18, 0x18 /* 801D9588 001D64E8 98 E3 02 20 */ stb r7, 0x220(r3) /* 801D958C 001D64EC 93 81 00 E8 */ stw r28, 0xe8(r1) /* 801D9590 001D64F0 90 C1 00 EC */ stw r6, 0xec(r1) /* 801D9594 001D64F4 D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 801D9598 001D64F8 99 21 00 F4 */ stb r9, 0xf4(r1) /* 801D959C 001D64FC 90 01 00 F8 */ stw r0, 0xf8(r1) /* 801D95A0 001D6500 90 01 00 FC */ stw r0, 0xfc(r1) /* 801D95A4 001D6504 98 01 01 00 */ stb r0, 0x100(r1) /* 801D95A8 001D6508 90 01 01 04 */ stw r0, 0x104(r1) /* 801D95AC 001D650C 90 01 01 08 */ stw r0, 0x108(r1) /* 801D95B0 001D6510 90 01 01 0C */ stw r0, 0x10c(r1) /* 801D95B4 001D6514 4B E5 37 C9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb lbl_801D95B8: /* 801D95B8 001D6518 57 E3 06 3E */ clrlwi r3, r31, 0x18 /* 801D95BC 001D651C E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 /* 801D95C0 001D6520 CB E1 02 10 */ lfd f31, 0x210(r1) /* 801D95C4 001D6524 BB 21 01 F4 */ lmw r25, 0x1f4(r1) /* 801D95C8 001D6528 80 01 02 24 */ lwz r0, 0x224(r1) /* 801D95CC 001D652C 7C 08 03 A6 */ mtlr r0 /* 801D95D0 001D6530 38 21 02 20 */ addi r1, r1, 0x220 /* 801D95D4 001D6534 4E 80 00 20 */ blr .global __dt__10CGunMotionFv __dt__10CGunMotionFv: /* 801D95D8 001D6538 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D95DC 001D653C 7C 08 02 A6 */ mflr r0 /* 801D95E0 001D6540 90 01 00 34 */ stw r0, 0x34(r1) /* 801D95E4 001D6544 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D95E8 001D6548 93 C1 00 28 */ stw r30, 0x28(r1) /* 801D95EC 001D654C 93 A1 00 24 */ stw r29, 0x24(r1) /* 801D95F0 001D6550 7C 9D 23 78 */ mr r29, r4 /* 801D95F4 001D6554 93 81 00 20 */ stw r28, 0x20(r1) /* 801D95F8 001D6558 7C 7C 1B 79 */ or. r28, r3, r3 /* 801D95FC 001D655C 41 82 00 80 */ beq lbl_801D967C /* 801D9600 001D6560 34 1C 00 A8 */ addic. r0, r28, 0xa8 /* 801D9604 001D6564 41 82 00 50 */ beq lbl_801D9654 /* 801D9608 001D6568 80 1C 00 AC */ lwz r0, 0xac(r28) /* 801D960C 001D656C 83 DC 00 B4 */ lwz r30, 0xb4(r28) /* 801D9610 001D6570 54 00 18 38 */ slwi r0, r0, 3 /* 801D9614 001D6574 7F FE 02 14 */ add r31, r30, r0 /* 801D9618 001D6578 93 C1 00 0C */ stw r30, 0xc(r1) /* 801D961C 001D657C 93 E1 00 14 */ stw r31, 0x14(r1) /* 801D9620 001D6580 93 E1 00 10 */ stw r31, 0x10(r1) /* 801D9624 001D6584 93 C1 00 08 */ stw r30, 8(r1) /* 801D9628 001D6588 48 00 00 14 */ b lbl_801D963C lbl_801D962C: /* 801D962C 001D658C 7F C3 F3 78 */ mr r3, r30 /* 801D9630 001D6590 38 80 FF FF */ li r4, -1 /* 801D9634 001D6594 48 16 78 0D */ bl __dt__6CTokenFv /* 801D9638 001D6598 3B DE 00 08 */ addi r30, r30, 8 lbl_801D963C: /* 801D963C 001D659C 7C 1E F8 40 */ cmplw r30, r31 /* 801D9640 001D65A0 40 82 FF EC */ bne lbl_801D962C /* 801D9644 001D65A4 80 7C 00 B4 */ lwz r3, 0xb4(r28) /* 801D9648 001D65A8 28 03 00 00 */ cmplwi r3, 0 /* 801D964C 001D65AC 41 82 00 08 */ beq lbl_801D9654 /* 801D9650 001D65B0 48 13 C2 E1 */ bl Free__7CMemoryFPCv lbl_801D9654: /* 801D9654 001D65B4 38 7C 00 4C */ addi r3, r28, 0x4c /* 801D9658 001D65B8 38 80 FF FF */ li r4, -1 /* 801D965C 001D65BC 4B F4 44 C1 */ bl __dt__14CGunControllerFv /* 801D9660 001D65C0 7F 83 E3 78 */ mr r3, r28 /* 801D9664 001D65C4 38 80 FF FF */ li r4, -1 /* 801D9668 001D65C8 4B F3 D3 E5 */ bl __dt__10CModelDataFv /* 801D966C 001D65CC 7F A0 07 35 */ extsh. r0, r29 /* 801D9670 001D65D0 40 81 00 0C */ ble lbl_801D967C /* 801D9674 001D65D4 7F 83 E3 78 */ mr r3, r28 /* 801D9678 001D65D8 48 13 C2 B9 */ bl Free__7CMemoryFPCv lbl_801D967C: /* 801D967C 001D65DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D9680 001D65E0 7F 83 E3 78 */ mr r3, r28 /* 801D9684 001D65E4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D9688 001D65E8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801D968C 001D65EC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801D9690 001D65F0 83 81 00 20 */ lwz r28, 0x20(r1) /* 801D9694 001D65F4 7C 08 03 A6 */ mtlr r0 /* 801D9698 001D65F8 38 21 00 30 */ addi r1, r1, 0x30 /* 801D969C 001D65FC 4E 80 00 20 */ blr .global __ct__10CGunMotionFUiRC9CVector3f __ct__10CGunMotionFUiRC9CVector3f: /* 801D96A0 001D6600 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801D96A4 001D6604 7C 08 02 A6 */ mflr r0 /* 801D96A8 001D6608 90 01 00 34 */ stw r0, 0x34(r1) /* 801D96AC 001D660C 38 00 00 00 */ li r0, 0 /* 801D96B0 001D6610 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801D96B4 001D6614 7C 7F 1B 78 */ mr r31, r3 /* 801D96B8 001D6618 C0 45 00 00 */ lfs f2, 0(r5) /* 801D96BC 001D661C C0 25 00 04 */ lfs f1, 4(r5) /* 801D96C0 001D6620 C0 05 00 08 */ lfs f0, 8(r5) /* 801D96C4 001D6624 90 81 00 08 */ stw r4, 8(r1) /* 801D96C8 001D6628 38 81 00 08 */ addi r4, r1, 8 /* 801D96CC 001D662C 90 01 00 0C */ stw r0, 0xc(r1) /* 801D96D0 001D6630 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801D96D4 001D6634 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801D96D8 001D6638 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801D96DC 001D663C 98 01 00 1C */ stb r0, 0x1c(r1) /* 801D96E0 001D6640 90 01 00 20 */ stw r0, 0x20(r1) /* 801D96E4 001D6644 4B F3 D4 71 */ bl __ct__10CModelDataFRC8CAnimRes /* 801D96E8 001D6648 7F E4 FB 78 */ mr r4, r31 /* 801D96EC 001D664C 38 7F 00 4C */ addi r3, r31, 0x4c /* 801D96F0 001D6650 4B FF 35 45 */ bl __ct__14CGunControllerFR10CModelData /* 801D96F4 001D6654 38 80 00 00 */ li r4, 0 /* 801D96F8 001D6658 7F E3 FB 78 */ mr r3, r31 /* 801D96FC 001D665C 90 9F 00 AC */ stw r4, 0xac(r31) /* 801D9700 001D6660 90 9F 00 B0 */ stw r4, 0xb0(r31) /* 801D9704 001D6664 90 9F 00 B4 */ stw r4, 0xb4(r31) /* 801D9708 001D6668 88 1F 00 B8 */ lbz r0, 0xb8(r31) /* 801D970C 001D666C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801D9710 001D6670 98 1F 00 B8 */ stb r0, 0xb8(r31) /* 801D9714 001D6674 4B FF F8 61 */ bl LoadAnimations__10CGunMotionFv /* 801D9718 001D6678 80 01 00 34 */ lwz r0, 0x34(r1) /* 801D971C 001D667C 7F E3 FB 78 */ mr r3, r31 /* 801D9720 001D6680 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801D9724 001D6684 7C 08 03 A6 */ mtlr r0 /* 801D9728 001D6688 38 21 00 30 */ addi r1, r1, 0x30 /* 801D972C 001D668C 4E 80 00 20 */ blr .global __dt__13CScriptSwitchFv __dt__13CScriptSwitchFv: /* 801D9730 001D6690 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9734 001D6694 7C 08 02 A6 */ mflr r0 /* 801D9738 001D6698 90 01 00 14 */ stw r0, 0x14(r1) /* 801D973C 001D669C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D9740 001D66A0 7C 9F 23 78 */ mr r31, r4 /* 801D9744 001D66A4 93 C1 00 08 */ stw r30, 8(r1) /* 801D9748 001D66A8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801D974C 001D66AC 41 82 00 28 */ beq lbl_801D9774 /* 801D9750 001D66B0 3C A0 80 3E */ lis r5, lbl_803E5C40@ha /* 801D9754 001D66B4 38 80 00 00 */ li r4, 0 /* 801D9758 001D66B8 38 05 5C 40 */ addi r0, r5, lbl_803E5C40@l /* 801D975C 001D66BC 90 1E 00 00 */ stw r0, 0(r30) /* 801D9760 001D66C0 4B E7 7B 15 */ bl __dt__7CEntityFv /* 801D9764 001D66C4 7F E0 07 35 */ extsh. r0, r31 /* 801D9768 001D66C8 40 81 00 0C */ ble lbl_801D9774 /* 801D976C 001D66CC 7F C3 F3 78 */ mr r3, r30 /* 801D9770 001D66D0 48 13 C1 C1 */ bl Free__7CMemoryFPCv lbl_801D9774: /* 801D9774 001D66D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9778 001D66D8 7F C3 F3 78 */ mr r3, r30 /* 801D977C 001D66DC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9780 001D66E0 83 C1 00 08 */ lwz r30, 8(r1) /* 801D9784 001D66E4 7C 08 03 A6 */ mtlr r0 /* 801D9788 001D66E8 38 21 00 10 */ addi r1, r1, 0x10 /* 801D978C 001D66EC 4E 80 00 20 */ blr .global AcceptScriptMsg__13CScriptSwitchF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__13CScriptSwitchF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801D9790 001D66F0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D9794 001D66F4 7C 08 02 A6 */ mflr r0 /* 801D9798 001D66F8 90 01 00 24 */ stw r0, 0x24(r1) /* 801D979C 001D66FC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D97A0 001D6700 7C DF 33 78 */ mr r31, r6 /* 801D97A4 001D6704 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D97A8 001D6708 7C BE 2B 78 */ mr r30, r5 /* 801D97AC 001D670C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D97B0 001D6710 7C 9D 23 78 */ mr r29, r4 /* 801D97B4 001D6714 93 81 00 10 */ stw r28, 0x10(r1) /* 801D97B8 001D6718 7C 7C 1B 78 */ mr r28, r3 /* 801D97BC 001D671C 88 03 00 30 */ lbz r0, 0x30(r3) /* 801D97C0 001D6720 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801D97C4 001D6724 41 82 00 84 */ beq lbl_801D9848 /* 801D97C8 001D6728 2C 1D 00 09 */ cmpwi r29, 9 /* 801D97CC 001D672C 41 82 00 20 */ beq lbl_801D97EC /* 801D97D0 001D6730 40 80 00 10 */ bge lbl_801D97E0 /* 801D97D4 001D6734 2C 1D 00 03 */ cmpwi r29, 3 /* 801D97D8 001D6738 41 82 00 20 */ beq lbl_801D97F8 /* 801D97DC 001D673C 48 00 00 6C */ b lbl_801D9848 lbl_801D97E0: /* 801D97E0 001D6740 2C 1D 00 0D */ cmpwi r29, 0xd /* 801D97E4 001D6744 41 82 00 20 */ beq lbl_801D9804 /* 801D97E8 001D6748 48 00 00 60 */ b lbl_801D9848 lbl_801D97EC: /* 801D97EC 001D674C 38 00 00 01 */ li r0, 1 /* 801D97F0 001D6750 98 1C 00 34 */ stb r0, 0x34(r28) /* 801D97F4 001D6754 48 00 00 54 */ b lbl_801D9848 lbl_801D97F8: /* 801D97F8 001D6758 38 00 00 00 */ li r0, 0 /* 801D97FC 001D675C 98 1C 00 34 */ stb r0, 0x34(r28) /* 801D9800 001D6760 48 00 00 48 */ b lbl_801D9848 lbl_801D9804: /* 801D9804 001D6764 88 1C 00 34 */ lbz r0, 0x34(r28) /* 801D9808 001D6768 28 00 00 00 */ cmplwi r0, 0 /* 801D980C 001D676C 41 82 00 2C */ beq lbl_801D9838 /* 801D9810 001D6770 7F E5 FB 78 */ mr r5, r31 /* 801D9814 001D6774 38 80 00 08 */ li r4, 8 /* 801D9818 001D6778 38 C0 FF FF */ li r6, -1 /* 801D981C 001D677C 4B E7 78 A5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801D9820 001D6780 88 1C 00 35 */ lbz r0, 0x35(r28) /* 801D9824 001D6784 28 00 00 00 */ cmplwi r0, 0 /* 801D9828 001D6788 41 82 00 20 */ beq lbl_801D9848 /* 801D982C 001D678C 38 00 00 00 */ li r0, 0 /* 801D9830 001D6790 98 1C 00 34 */ stb r0, 0x34(r28) /* 801D9834 001D6794 48 00 00 14 */ b lbl_801D9848 lbl_801D9838: /* 801D9838 001D6798 7F E5 FB 78 */ mr r5, r31 /* 801D983C 001D679C 38 80 00 02 */ li r4, 2 /* 801D9840 001D67A0 38 C0 FF FF */ li r6, -1 /* 801D9844 001D67A4 4B E7 78 7D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801D9848: /* 801D9848 001D67A8 A0 1E 00 00 */ lhz r0, 0(r30) /* 801D984C 001D67AC 7F 83 E3 78 */ mr r3, r28 /* 801D9850 001D67B0 7F A4 EB 78 */ mr r4, r29 /* 801D9854 001D67B4 7F E6 FB 78 */ mr r6, r31 /* 801D9858 001D67B8 B0 01 00 08 */ sth r0, 8(r1) /* 801D985C 001D67BC 38 A1 00 08 */ addi r5, r1, 8 /* 801D9860 001D67C0 4B E7 78 FD */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801D9864 001D67C4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D9868 001D67C8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D986C 001D67CC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D9870 001D67D0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D9874 001D67D4 83 81 00 10 */ lwz r28, 0x10(r1) /* 801D9878 001D67D8 7C 08 03 A6 */ mtlr r0 /* 801D987C 001D67DC 38 21 00 20 */ addi r1, r1, 0x20 /* 801D9880 001D67E0 4E 80 00 20 */ blr .global Accept__13CScriptSwitchFR8IVisitor Accept__13CScriptSwitchFR8IVisitor: /* 801D9884 001D67E4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9888 001D67E8 7C 08 02 A6 */ mflr r0 /* 801D988C 001D67EC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9890 001D67F0 7C 60 1B 78 */ mr r0, r3 /* 801D9894 001D67F4 7C 83 23 78 */ mr r3, r4 /* 801D9898 001D67F8 81 84 00 00 */ lwz r12, 0(r4) /* 801D989C 001D67FC 7C 04 03 78 */ mr r4, r0 /* 801D98A0 001D6800 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801D98A4 001D6804 7D 89 03 A6 */ mtctr r12 /* 801D98A8 001D6808 4E 80 04 21 */ bctrl /* 801D98AC 001D680C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D98B0 001D6810 7C 08 03 A6 */ mtlr r0 /* 801D98B4 001D6814 38 21 00 10 */ addi r1, r1, 0x10 /* 801D98B8 001D6818 4E 80 00 20 */ blr .global "__ct__13CScriptSwitchF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb" "__ct__13CScriptSwitchF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb": /* 801D98BC 001D681C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D98C0 001D6820 7C 08 02 A6 */ mflr r0 /* 801D98C4 001D6824 90 01 00 24 */ stw r0, 0x24(r1) /* 801D98C8 001D6828 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D98CC 001D682C 7D 3F 4B 78 */ mr r31, r9 /* 801D98D0 001D6830 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D98D4 001D6834 7D 1E 43 78 */ mr r30, r8 /* 801D98D8 001D6838 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D98DC 001D683C 7C 7D 1B 78 */ mr r29, r3 /* 801D98E0 001D6840 A0 04 00 00 */ lhz r0, 0(r4) /* 801D98E4 001D6844 7C A4 2B 78 */ mr r4, r5 /* 801D98E8 001D6848 7C C5 33 78 */ mr r5, r6 /* 801D98EC 001D684C 7C E6 3B 78 */ mr r6, r7 /* 801D98F0 001D6850 B0 01 00 08 */ sth r0, 8(r1) /* 801D98F4 001D6854 7C 87 23 78 */ mr r7, r4 /* 801D98F8 001D6858 38 81 00 08 */ addi r4, r1, 8 /* 801D98FC 001D685C 4B E7 7A 29 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801D9900 001D6860 3C 80 80 3E */ lis r4, lbl_803E5C40@ha /* 801D9904 001D6864 7F A3 EB 78 */ mr r3, r29 /* 801D9908 001D6868 38 04 5C 40 */ addi r0, r4, lbl_803E5C40@l /* 801D990C 001D686C 90 1D 00 00 */ stw r0, 0(r29) /* 801D9910 001D6870 9B DD 00 34 */ stb r30, 0x34(r29) /* 801D9914 001D6874 9B FD 00 35 */ stb r31, 0x35(r29) /* 801D9918 001D6878 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D991C 001D687C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D9920 001D6880 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D9924 001D6884 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D9928 001D6888 7C 08 03 A6 */ mtlr r0 /* 801D992C 001D688C 38 21 00 20 */ addi r1, r1, 0x20 /* 801D9930 001D6890 4E 80 00 20 */ blr .global __dt__8CABSIdleFv __dt__8CABSIdleFv: /* 801D9934 001D6894 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9938 001D6898 7C 08 02 A6 */ mflr r0 /* 801D993C 001D689C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9940 001D68A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D9944 001D68A4 7C 7F 1B 79 */ or. r31, r3, r3 /* 801D9948 001D68A8 41 82 00 30 */ beq lbl_801D9978 /* 801D994C 001D68AC 3C 60 80 3E */ lis r3, lbl_803E5C60@ha /* 801D9950 001D68B0 38 03 5C 60 */ addi r0, r3, lbl_803E5C60@l /* 801D9954 001D68B4 90 1F 00 00 */ stw r0, 0(r31) /* 801D9958 001D68B8 41 82 00 10 */ beq lbl_801D9968 /* 801D995C 001D68BC 3C 60 80 3E */ lis r3, lbl_803E1350@ha /* 801D9960 001D68C0 38 03 13 50 */ addi r0, r3, lbl_803E1350@l /* 801D9964 001D68C4 90 1F 00 00 */ stw r0, 0(r31) lbl_801D9968: /* 801D9968 001D68C8 7C 80 07 35 */ extsh. r0, r4 /* 801D996C 001D68CC 40 81 00 0C */ ble lbl_801D9978 /* 801D9970 001D68D0 7F E3 FB 78 */ mr r3, r31 /* 801D9974 001D68D4 48 13 BF BD */ bl Free__7CMemoryFPCv lbl_801D9978: /* 801D9978 001D68D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D997C 001D68DC 7F E3 FB 78 */ mr r3, r31 /* 801D9980 001D68E0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9984 001D68E4 7C 08 03 A6 */ mtlr r0 /* 801D9988 001D68E8 38 21 00 10 */ addi r1, r1, 0x10 /* 801D998C 001D68EC 4E 80 00 20 */ blr .global Start__8CABSIdleFR15CBodyControllerR13CStateManager Start__8CABSIdleFR15CBodyControllerR13CStateManager: /* 801D9990 001D68F0 4E 80 00 20 */ blr .global Shutdown__8CABSIdleFR15CBodyController Shutdown__8CABSIdleFR15CBodyController: /* 801D9994 001D68F4 4E 80 00 20 */ blr .global GetBodyStateTransition__8CABSIdleFfR15CBodyController GetBodyStateTransition__8CABSIdleFfR15CBodyController: /* 801D9998 001D68F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D999C 001D68FC 7C 08 02 A6 */ mflr r0 /* 801D99A0 001D6900 90 01 00 14 */ stw r0, 0x14(r1) /* 801D99A4 001D6904 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D99A8 001D6908 3B E4 00 04 */ addi r31, r4, 4 /* 801D99AC 001D690C 38 80 00 1A */ li r4, 0x1a /* 801D99B0 001D6910 7F E3 FB 78 */ mr r3, r31 /* 801D99B4 001D6914 4B F5 7A 9D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D99B8 001D6918 28 03 00 00 */ cmplwi r3, 0 /* 801D99BC 001D691C 41 82 00 0C */ beq lbl_801D99C8 /* 801D99C0 001D6920 38 60 00 18 */ li r3, 0x18 /* 801D99C4 001D6924 48 00 00 3C */ b lbl_801D9A00 lbl_801D99C8: /* 801D99C8 001D6928 7F E3 FB 78 */ mr r3, r31 /* 801D99CC 001D692C 38 80 00 19 */ li r4, 0x19 /* 801D99D0 001D6930 4B F5 7A 81 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D99D4 001D6934 28 03 00 00 */ cmplwi r3, 0 /* 801D99D8 001D6938 41 82 00 0C */ beq lbl_801D99E4 /* 801D99DC 001D693C 38 60 00 17 */ li r3, 0x17 /* 801D99E0 001D6940 48 00 00 20 */ b lbl_801D9A00 lbl_801D99E4: /* 801D99E4 001D6944 7F E3 FB 78 */ mr r3, r31 /* 801D99E8 001D6948 38 80 00 18 */ li r4, 0x18 /* 801D99EC 001D694C 4B F5 7A 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D99F0 001D6950 28 03 00 00 */ cmplwi r3, 0 /* 801D99F4 001D6954 38 60 FF FF */ li r3, -1 /* 801D99F8 001D6958 41 82 00 08 */ beq lbl_801D9A00 /* 801D99FC 001D695C 38 60 00 16 */ li r3, 0x16 lbl_801D9A00: /* 801D9A00 001D6960 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9A04 001D6964 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9A08 001D6968 7C 08 03 A6 */ mtlr r0 /* 801D9A0C 001D696C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9A10 001D6970 4E 80 00 20 */ blr .global UpdateBody__8CABSIdleFfR15CBodyControllerR13CStateManager UpdateBody__8CABSIdleFfR15CBodyControllerR13CStateManager: /* 801D9A14 001D6974 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9A18 001D6978 7C 08 02 A6 */ mflr r0 /* 801D9A1C 001D697C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9A20 001D6980 4B FF FF 79 */ bl GetBodyStateTransition__8CABSIdleFfR15CBodyController /* 801D9A24 001D6984 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9A28 001D6988 7C 08 03 A6 */ mtlr r0 /* 801D9A2C 001D698C 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9A30 001D6990 4E 80 00 20 */ blr .global __dt__10CABSFlinchFv __dt__10CABSFlinchFv: /* 801D9A34 001D6994 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9A38 001D6998 7C 08 02 A6 */ mflr r0 /* 801D9A3C 001D699C 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9A40 001D69A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D9A44 001D69A4 7C 7F 1B 79 */ or. r31, r3, r3 /* 801D9A48 001D69A8 41 82 00 30 */ beq lbl_801D9A78 /* 801D9A4C 001D69AC 3C 60 80 3E */ lis r3, lbl_803E5C80@ha /* 801D9A50 001D69B0 38 03 5C 80 */ addi r0, r3, lbl_803E5C80@l /* 801D9A54 001D69B4 90 1F 00 00 */ stw r0, 0(r31) /* 801D9A58 001D69B8 41 82 00 10 */ beq lbl_801D9A68 /* 801D9A5C 001D69BC 3C 60 80 3E */ lis r3, lbl_803E1350@ha /* 801D9A60 001D69C0 38 03 13 50 */ addi r0, r3, lbl_803E1350@l /* 801D9A64 001D69C4 90 1F 00 00 */ stw r0, 0(r31) lbl_801D9A68: /* 801D9A68 001D69C8 7C 80 07 35 */ extsh. r0, r4 /* 801D9A6C 001D69CC 40 81 00 0C */ ble lbl_801D9A78 /* 801D9A70 001D69D0 7F E3 FB 78 */ mr r3, r31 /* 801D9A74 001D69D4 48 13 BE BD */ bl Free__7CMemoryFPCv lbl_801D9A78: /* 801D9A78 001D69D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9A7C 001D69DC 7F E3 FB 78 */ mr r3, r31 /* 801D9A80 001D69E0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9A84 001D69E4 7C 08 03 A6 */ mtlr r0 /* 801D9A88 001D69E8 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9A8C 001D69EC 4E 80 00 20 */ blr .global GetBodyStateTransition__10CABSFlinchFfR15CBodyController GetBodyStateTransition__10CABSFlinchFfR15CBodyController: /* 801D9A90 001D69F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9A94 001D69F4 7C 08 02 A6 */ mflr r0 /* 801D9A98 001D69F8 38 64 00 04 */ addi r3, r4, 4 /* 801D9A9C 001D69FC 38 80 00 1A */ li r4, 0x1a /* 801D9AA0 001D6A00 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9AA4 001D6A04 4B F5 79 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D9AA8 001D6A08 28 03 00 00 */ cmplwi r3, 0 /* 801D9AAC 001D6A0C 38 60 FF FF */ li r3, -1 /* 801D9AB0 001D6A10 41 82 00 08 */ beq lbl_801D9AB8 /* 801D9AB4 001D6A14 38 60 00 18 */ li r3, 0x18 lbl_801D9AB8: /* 801D9AB8 001D6A18 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9ABC 001D6A1C 7C 08 03 A6 */ mtlr r0 /* 801D9AC0 001D6A20 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9AC4 001D6A24 4E 80 00 20 */ blr .global Shutdown__10CABSFlinchFR15CBodyController Shutdown__10CABSFlinchFR15CBodyController: /* 801D9AC8 001D6A28 4E 80 00 20 */ blr .global UpdateBody__10CABSFlinchFfR15CBodyControllerR13CStateManager UpdateBody__10CABSFlinchFfR15CBodyControllerR13CStateManager: /* 801D9ACC 001D6A2C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801D9AD0 001D6A30 7C 08 02 A6 */ mflr r0 /* 801D9AD4 001D6A34 90 01 00 24 */ stw r0, 0x24(r1) /* 801D9AD8 001D6A38 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801D9ADC 001D6A3C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801D9AE0 001D6A40 7C 9E 23 78 */ mr r30, r4 /* 801D9AE4 001D6A44 93 A1 00 14 */ stw r29, 0x14(r1) /* 801D9AE8 001D6A48 7C 7D 1B 78 */ mr r29, r3 /* 801D9AEC 001D6A4C 4B FF FF A5 */ bl GetBodyStateTransition__10CABSFlinchFfR15CBodyController /* 801D9AF0 001D6A50 7C 7F 1B 78 */ mr r31, r3 /* 801D9AF4 001D6A54 2C 1F FF FF */ cmpwi r31, -1 /* 801D9AF8 001D6A58 40 82 00 58 */ bne lbl_801D9B50 /* 801D9AFC 001D6A5C 80 7E 00 00 */ lwz r3, 0(r30) /* 801D9B00 001D6A60 80 9D 00 08 */ lwz r4, 8(r29) /* 801D9B04 001D6A64 80 63 00 64 */ lwz r3, 0x64(r3) /* 801D9B08 001D6A68 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D9B0C 001D6A6C 4B E5 05 7D */ bl GetAdditiveAnimationTree__9CAnimDataCFUi /* 801D9B10 001D6A70 7C 64 1B 78 */ mr r4, r3 /* 801D9B14 001D6A74 38 61 00 08 */ addi r3, r1, 8 /* 801D9B18 001D6A78 80 84 00 00 */ lwz r4, 0(r4) /* 801D9B1C 001D6A7C 80 84 00 00 */ lwz r4, 0(r4) /* 801D9B20 001D6A80 81 84 00 00 */ lwz r12, 0(r4) /* 801D9B24 001D6A84 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801D9B28 001D6A88 7D 89 03 A6 */ mtctr r12 /* 801D9B2C 001D6A8C 4E 80 04 21 */ bctrl /* 801D9B30 001D6A90 C0 41 00 08 */ lfs f2, 8(r1) /* 801D9B34 001D6A94 C0 22 AC A0 */ lfs f1, lbl_805AC9C0@sda21(r2) /* 801D9B38 001D6A98 C0 02 AC A4 */ lfs f0, lbl_805AC9C4@sda21(r2) /* 801D9B3C 001D6A9C EC 22 08 28 */ fsubs f1, f2, f1 /* 801D9B40 001D6AA0 FC 20 0A 10 */ fabs f1, f1 /* 801D9B44 001D6AA4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D9B48 001D6AA8 40 80 00 08 */ bge lbl_801D9B50 /* 801D9B4C 001D6AAC 3B E0 00 15 */ li r31, 0x15 lbl_801D9B50: /* 801D9B50 001D6AB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801D9B54 001D6AB4 7F E3 FB 78 */ mr r3, r31 /* 801D9B58 001D6AB8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801D9B5C 001D6ABC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801D9B60 001D6AC0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801D9B64 001D6AC4 7C 08 03 A6 */ mtlr r0 /* 801D9B68 001D6AC8 38 21 00 20 */ addi r1, r1, 0x20 /* 801D9B6C 001D6ACC 4E 80 00 20 */ blr .global Start__10CABSFlinchFR15CBodyControllerR13CStateManager Start__10CABSFlinchFR15CBodyControllerR13CStateManager: /* 801D9B70 001D6AD0 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801D9B74 001D6AD4 7C 08 02 A6 */ mflr r0 /* 801D9B78 001D6AD8 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801D9B7C 001D6ADC 93 E1 00 AC */ stw r31, 0xac(r1) /* 801D9B80 001D6AE0 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801D9B84 001D6AE4 7C BE 2B 78 */ mr r30, r5 /* 801D9B88 001D6AE8 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 801D9B8C 001D6AEC 7C 9D 23 78 */ mr r29, r4 /* 801D9B90 001D6AF0 38 80 00 19 */ li r4, 0x19 /* 801D9B94 001D6AF4 93 81 00 A0 */ stw r28, 0xa0(r1) /* 801D9B98 001D6AF8 7C 7C 1B 78 */ mr r28, r3 /* 801D9B9C 001D6AFC 38 7D 00 04 */ addi r3, r29, 4 /* 801D9BA0 001D6B00 4B F5 78 B1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D9BA4 001D6B04 C0 03 00 08 */ lfs f0, 8(r3) /* 801D9BA8 001D6B08 7F A3 EB 78 */ mr r3, r29 /* 801D9BAC 001D6B0C D0 1C 00 04 */ stfs f0, 4(r28) /* 801D9BB0 001D6B10 4B F6 08 A5 */ bl GetPASDatabase__15CBodyControllerCFv /* 801D9BB4 001D6B14 7C 60 1B 78 */ mr r0, r3 /* 801D9BB8 001D6B18 38 61 00 18 */ addi r3, r1, 0x18 /* 801D9BBC 001D6B1C 7C 1F 03 78 */ mr r31, r0 /* 801D9BC0 001D6B20 48 10 94 BD */ bl NoParameter__12CPASAnimParmFv /* 801D9BC4 001D6B24 38 61 00 20 */ addi r3, r1, 0x20 /* 801D9BC8 001D6B28 48 10 94 B5 */ bl NoParameter__12CPASAnimParmFv /* 801D9BCC 001D6B2C 38 61 00 28 */ addi r3, r1, 0x28 /* 801D9BD0 001D6B30 48 10 94 AD */ bl NoParameter__12CPASAnimParmFv /* 801D9BD4 001D6B34 38 61 00 30 */ addi r3, r1, 0x30 /* 801D9BD8 001D6B38 48 10 94 A5 */ bl NoParameter__12CPASAnimParmFv /* 801D9BDC 001D6B3C 38 61 00 38 */ addi r3, r1, 0x38 /* 801D9BE0 001D6B40 48 10 94 9D */ bl NoParameter__12CPASAnimParmFv /* 801D9BE4 001D6B44 38 61 00 40 */ addi r3, r1, 0x40 /* 801D9BE8 001D6B48 48 10 94 95 */ bl NoParameter__12CPASAnimParmFv /* 801D9BEC 001D6B4C 38 61 00 48 */ addi r3, r1, 0x48 /* 801D9BF0 001D6B50 48 10 94 8D */ bl NoParameter__12CPASAnimParmFv /* 801D9BF4 001D6B54 38 61 00 50 */ addi r3, r1, 0x50 /* 801D9BF8 001D6B58 48 10 94 85 */ bl NoParameter__12CPASAnimParmFv /* 801D9BFC 001D6B5C 38 61 00 20 */ addi r3, r1, 0x20 /* 801D9C00 001D6B60 38 01 00 18 */ addi r0, r1, 0x18 /* 801D9C04 001D6B64 90 61 00 08 */ stw r3, 8(r1) /* 801D9C08 001D6B68 38 61 00 58 */ addi r3, r1, 0x58 /* 801D9C0C 001D6B6C 38 A1 00 50 */ addi r5, r1, 0x50 /* 801D9C10 001D6B70 38 C1 00 48 */ addi r6, r1, 0x48 /* 801D9C14 001D6B74 90 01 00 0C */ stw r0, 0xc(r1) /* 801D9C18 001D6B78 38 E1 00 40 */ addi r7, r1, 0x40 /* 801D9C1C 001D6B7C 39 01 00 38 */ addi r8, r1, 0x38 /* 801D9C20 001D6B80 39 21 00 30 */ addi r9, r1, 0x30 /* 801D9C24 001D6B84 39 41 00 28 */ addi r10, r1, 0x28 /* 801D9C28 001D6B88 38 80 00 17 */ li r4, 0x17 /* 801D9C2C 001D6B8C 4B EA 36 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801D9C30 001D6B90 80 DE 09 00 */ lwz r6, 0x900(r30) /* 801D9C34 001D6B94 7F E4 FB 78 */ mr r4, r31 /* 801D9C38 001D6B98 38 61 00 10 */ addi r3, r1, 0x10 /* 801D9C3C 001D6B9C 38 A1 00 58 */ addi r5, r1, 0x58 /* 801D9C40 001D6BA0 38 E0 FF FF */ li r7, -1 /* 801D9C44 001D6BA4 48 10 B4 1D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801D9C48 001D6BA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9C4C 001D6BAC 38 A0 00 00 */ li r5, 0 /* 801D9C50 001D6BB0 38 C0 00 01 */ li r6, 1 /* 801D9C54 001D6BB4 90 1C 00 08 */ stw r0, 8(r28) /* 801D9C58 001D6BB8 80 7D 00 00 */ lwz r3, 0(r29) /* 801D9C5C 001D6BBC 80 9C 00 08 */ lwz r4, 8(r28) /* 801D9C60 001D6BC0 80 63 00 64 */ lwz r3, 0x64(r3) /* 801D9C64 001D6BC4 C0 3C 00 04 */ lfs f1, 4(r28) /* 801D9C68 001D6BC8 80 63 00 10 */ lwz r3, 0x10(r3) /* 801D9C6C 001D6BCC 4B E5 05 65 */ bl AddAdditiveAnimation__9CAnimDataFUifbb /* 801D9C70 001D6BD0 34 A1 00 5C */ addic. r5, r1, 0x5c /* 801D9C74 001D6BD4 41 82 00 58 */ beq lbl_801D9CCC /* 801D9C78 001D6BD8 80 C5 00 00 */ lwz r6, 0(r5) /* 801D9C7C 001D6BDC 38 60 00 00 */ li r3, 0 /* 801D9C80 001D6BE0 2C 06 00 00 */ cmpwi r6, 0 /* 801D9C84 001D6BE4 40 81 00 40 */ ble lbl_801D9CC4 /* 801D9C88 001D6BE8 2C 06 00 08 */ cmpwi r6, 8 /* 801D9C8C 001D6BEC 38 86 FF F8 */ addi r4, r6, -8 /* 801D9C90 001D6BF0 40 81 00 20 */ ble lbl_801D9CB0 /* 801D9C94 001D6BF4 38 04 00 07 */ addi r0, r4, 7 /* 801D9C98 001D6BF8 54 00 E8 FE */ srwi r0, r0, 3 /* 801D9C9C 001D6BFC 7C 09 03 A6 */ mtctr r0 /* 801D9CA0 001D6C00 2C 04 00 00 */ cmpwi r4, 0 /* 801D9CA4 001D6C04 40 81 00 0C */ ble lbl_801D9CB0 lbl_801D9CA8: /* 801D9CA8 001D6C08 38 63 00 08 */ addi r3, r3, 8 /* 801D9CAC 001D6C0C 42 00 FF FC */ bdnz lbl_801D9CA8 lbl_801D9CB0: /* 801D9CB0 001D6C10 7C 03 30 50 */ subf r0, r3, r6 /* 801D9CB4 001D6C14 7C 09 03 A6 */ mtctr r0 /* 801D9CB8 001D6C18 7C 03 30 00 */ cmpw r3, r6 /* 801D9CBC 001D6C1C 40 80 00 08 */ bge lbl_801D9CC4 lbl_801D9CC0: /* 801D9CC0 001D6C20 42 00 00 00 */ bdnz lbl_801D9CC0 lbl_801D9CC4: /* 801D9CC4 001D6C24 38 00 00 00 */ li r0, 0 /* 801D9CC8 001D6C28 90 05 00 00 */ stw r0, 0(r5) lbl_801D9CCC: /* 801D9CCC 001D6C2C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801D9CD0 001D6C30 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801D9CD4 001D6C34 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801D9CD8 001D6C38 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 801D9CDC 001D6C3C 83 81 00 A0 */ lwz r28, 0xa0(r1) /* 801D9CE0 001D6C40 7C 08 03 A6 */ mtlr r0 /* 801D9CE4 001D6C44 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801D9CE8 001D6C48 4E 80 00 20 */ blr .global __ct__10CABSFlinchFv __ct__10CABSFlinchFv: /* 801D9CEC 001D6C4C 3C A0 80 3E */ lis r5, lbl_803E1350@ha /* 801D9CF0 001D6C50 3C 80 80 3E */ lis r4, lbl_803E5C80@ha /* 801D9CF4 001D6C54 38 05 13 50 */ addi r0, r5, lbl_803E1350@l /* 801D9CF8 001D6C58 C0 02 AC A8 */ lfs f0, lbl_805AC9C8@sda21(r2) /* 801D9CFC 001D6C5C 90 03 00 00 */ stw r0, 0(r3) /* 801D9D00 001D6C60 38 84 5C 80 */ addi r4, r4, lbl_803E5C80@l /* 801D9D04 001D6C64 38 00 00 00 */ li r0, 0 /* 801D9D08 001D6C68 90 83 00 00 */ stw r4, 0(r3) /* 801D9D0C 001D6C6C D0 03 00 04 */ stfs f0, 4(r3) /* 801D9D10 001D6C70 90 03 00 08 */ stw r0, 8(r3) /* 801D9D14 001D6C74 4E 80 00 20 */ blr .global __dt__7CABSAimFv __dt__7CABSAimFv: /* 801D9D18 001D6C78 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9D1C 001D6C7C 7C 08 02 A6 */ mflr r0 /* 801D9D20 001D6C80 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9D24 001D6C84 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D9D28 001D6C88 7C 7F 1B 79 */ or. r31, r3, r3 /* 801D9D2C 001D6C8C 41 82 00 30 */ beq lbl_801D9D5C /* 801D9D30 001D6C90 3C 60 80 3E */ lis r3, lbl_803E5CA0@ha /* 801D9D34 001D6C94 38 03 5C A0 */ addi r0, r3, lbl_803E5CA0@l /* 801D9D38 001D6C98 90 1F 00 00 */ stw r0, 0(r31) /* 801D9D3C 001D6C9C 41 82 00 10 */ beq lbl_801D9D4C /* 801D9D40 001D6CA0 3C 60 80 3E */ lis r3, lbl_803E1350@ha /* 801D9D44 001D6CA4 38 03 13 50 */ addi r0, r3, lbl_803E1350@l /* 801D9D48 001D6CA8 90 1F 00 00 */ stw r0, 0(r31) lbl_801D9D4C: /* 801D9D4C 001D6CAC 7C 80 07 35 */ extsh. r0, r4 /* 801D9D50 001D6CB0 40 81 00 0C */ ble lbl_801D9D5C /* 801D9D54 001D6CB4 7F E3 FB 78 */ mr r3, r31 /* 801D9D58 001D6CB8 48 13 BB D9 */ bl Free__7CMemoryFPCv lbl_801D9D5C: /* 801D9D5C 001D6CBC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9D60 001D6CC0 7F E3 FB 78 */ mr r3, r31 /* 801D9D64 001D6CC4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9D68 001D6CC8 7C 08 03 A6 */ mtlr r0 /* 801D9D6C 001D6CCC 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9D70 001D6CD0 4E 80 00 20 */ blr .global GetBodyStateTransition__7CABSAimFfR15CBodyController GetBodyStateTransition__7CABSAimFfR15CBodyController: /* 801D9D74 001D6CD4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9D78 001D6CD8 7C 08 02 A6 */ mflr r0 /* 801D9D7C 001D6CDC 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9D80 001D6CE0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D9D84 001D6CE4 3B E4 00 04 */ addi r31, r4, 4 /* 801D9D88 001D6CE8 38 80 00 1A */ li r4, 0x1a /* 801D9D8C 001D6CEC 93 C1 00 08 */ stw r30, 8(r1) /* 801D9D90 001D6CF0 7C 7E 1B 78 */ mr r30, r3 /* 801D9D94 001D6CF4 7F E3 FB 78 */ mr r3, r31 /* 801D9D98 001D6CF8 4B F5 76 B9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D9D9C 001D6CFC 28 03 00 00 */ cmplwi r3, 0 /* 801D9DA0 001D6D00 41 82 00 0C */ beq lbl_801D9DAC /* 801D9DA4 001D6D04 38 60 00 18 */ li r3, 0x18 /* 801D9DA8 001D6D08 48 00 00 4C */ b lbl_801D9DF4 lbl_801D9DAC: /* 801D9DAC 001D6D0C 7F E3 FB 78 */ mr r3, r31 /* 801D9DB0 001D6D10 38 80 00 19 */ li r4, 0x19 /* 801D9DB4 001D6D14 4B F5 76 9D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D9DB8 001D6D18 28 03 00 00 */ cmplwi r3, 0 /* 801D9DBC 001D6D1C 41 82 00 0C */ beq lbl_801D9DC8 /* 801D9DC0 001D6D20 38 60 00 17 */ li r3, 0x17 /* 801D9DC4 001D6D24 48 00 00 30 */ b lbl_801D9DF4 lbl_801D9DC8: /* 801D9DC8 001D6D28 7F E3 FB 78 */ mr r3, r31 /* 801D9DCC 001D6D2C 38 80 00 17 */ li r4, 0x17 /* 801D9DD0 001D6D30 4B F5 76 81 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801D9DD4 001D6D34 28 03 00 00 */ cmplwi r3, 0 /* 801D9DD8 001D6D38 40 82 00 10 */ bne lbl_801D9DE8 /* 801D9DDC 001D6D3C 88 1E 00 04 */ lbz r0, 4(r30) /* 801D9DE0 001D6D40 28 00 00 00 */ cmplwi r0, 0 /* 801D9DE4 001D6D44 41 82 00 0C */ beq lbl_801D9DF0 lbl_801D9DE8: /* 801D9DE8 001D6D48 38 60 00 15 */ li r3, 0x15 /* 801D9DEC 001D6D4C 48 00 00 08 */ b lbl_801D9DF4 lbl_801D9DF0: /* 801D9DF0 001D6D50 38 60 FF FF */ li r3, -1 lbl_801D9DF4: /* 801D9DF4 001D6D54 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9DF8 001D6D58 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9DFC 001D6D5C 83 C1 00 08 */ lwz r30, 8(r1) /* 801D9E00 001D6D60 7C 08 03 A6 */ mtlr r0 /* 801D9E04 001D6D64 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9E08 001D6D68 4E 80 00 20 */ blr .global Shutdown__7CABSAimFR15CBodyController Shutdown__7CABSAimFR15CBodyController: /* 801D9E0C 001D6D6C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801D9E10 001D6D70 7C 08 02 A6 */ mflr r0 /* 801D9E14 001D6D74 C0 02 AC B0 */ lfs f0, lbl_805AC9D0@sda21(r2) /* 801D9E18 001D6D78 90 01 00 14 */ stw r0, 0x14(r1) /* 801D9E1C 001D6D7C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801D9E20 001D6D80 93 C1 00 08 */ stw r30, 8(r1) /* 801D9E24 001D6D84 7C 7E 1B 78 */ mr r30, r3 /* 801D9E28 001D6D88 80 64 00 00 */ lwz r3, 0(r4) /* 801D9E2C 001D6D8C C0 3E 00 28 */ lfs f1, 0x28(r30) /* 801D9E30 001D6D90 80 63 00 64 */ lwz r3, 0x64(r3) /* 801D9E34 001D6D94 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801D9E38 001D6D98 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801D9E3C 001D6D9C 41 82 00 2C */ beq lbl_801D9E68 /* 801D9E40 001D6DA0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D9E44 001D6DA4 7F E3 FB 78 */ mr r3, r31 /* 801D9E48 001D6DA8 40 80 00 0C */ bge lbl_801D9E54 /* 801D9E4C 001D6DAC 38 00 00 00 */ li r0, 0 /* 801D9E50 001D6DB0 48 00 00 08 */ b lbl_801D9E58 lbl_801D9E54: /* 801D9E54 001D6DB4 38 00 00 01 */ li r0, 1 lbl_801D9E58: /* 801D9E58 001D6DB8 54 00 10 3A */ slwi r0, r0, 2 /* 801D9E5C 001D6DBC 7C 9E 02 14 */ add r4, r30, r0 /* 801D9E60 001D6DC0 80 84 00 08 */ lwz r4, 8(r4) /* 801D9E64 001D6DC4 4B E5 02 F5 */ bl DelAdditiveAnimation__9CAnimDataFUi lbl_801D9E68: /* 801D9E68 001D6DC8 C0 02 AC B0 */ lfs f0, lbl_805AC9D0@sda21(r2) /* 801D9E6C 001D6DCC C0 3E 00 30 */ lfs f1, 0x30(r30) /* 801D9E70 001D6DD0 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801D9E74 001D6DD4 41 82 00 2C */ beq lbl_801D9EA0 /* 801D9E78 001D6DD8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801D9E7C 001D6DDC 7F E3 FB 78 */ mr r3, r31 /* 801D9E80 001D6DE0 40 81 00 0C */ ble lbl_801D9E8C /* 801D9E84 001D6DE4 38 00 00 02 */ li r0, 2 /* 801D9E88 001D6DE8 48 00 00 08 */ b lbl_801D9E90 lbl_801D9E8C: /* 801D9E8C 001D6DEC 38 00 00 03 */ li r0, 3 lbl_801D9E90: /* 801D9E90 001D6DF0 54 00 10 3A */ slwi r0, r0, 2 /* 801D9E94 001D6DF4 7C 9E 02 14 */ add r4, r30, r0 /* 801D9E98 001D6DF8 80 84 00 08 */ lwz r4, 8(r4) /* 801D9E9C 001D6DFC 4B E5 02 BD */ bl DelAdditiveAnimation__9CAnimDataFUi lbl_801D9EA0: /* 801D9EA0 001D6E00 80 01 00 14 */ lwz r0, 0x14(r1) /* 801D9EA4 001D6E04 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801D9EA8 001D6E08 83 C1 00 08 */ lwz r30, 8(r1) /* 801D9EAC 001D6E0C 7C 08 03 A6 */ mtlr r0 /* 801D9EB0 001D6E10 38 21 00 10 */ addi r1, r1, 0x10 /* 801D9EB4 001D6E14 4E 80 00 20 */ blr .global UpdateBody__7CABSAimFfR15CBodyControllerR13CStateManager UpdateBody__7CABSAimFfR15CBodyControllerR13CStateManager: /* 801D9EB8 001D6E18 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801D9EBC 001D6E1C 7C 08 02 A6 */ mflr r0 /* 801D9EC0 001D6E20 90 01 00 74 */ stw r0, 0x74(r1) /* 801D9EC4 001D6E24 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801D9EC8 001D6E28 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801D9ECC 001D6E2C DB C1 00 50 */ stfd f30, 0x50(r1) /* 801D9ED0 001D6E30 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801D9ED4 001D6E34 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801D9ED8 001D6E38 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801D9EDC 001D6E3C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801D9EE0 001D6E40 93 C1 00 38 */ stw r30, 0x38(r1) /* 801D9EE4 001D6E44 93 A1 00 34 */ stw r29, 0x34(r1) /* 801D9EE8 001D6E48 FF C0 08 90 */ fmr f30, f1 /* 801D9EEC 001D6E4C 7C 7E 1B 78 */ mr r30, r3 /* 801D9EF0 001D6E50 7C 9D 23 78 */ mr r29, r4 /* 801D9EF4 001D6E54 4B FF FE 81 */ bl GetBodyStateTransition__7CABSAimFfR15CBodyController /* 801D9EF8 001D6E58 7C 7F 1B 78 */ mr r31, r3 /* 801D9EFC 001D6E5C 2C 1F FF FF */ cmpwi r31, -1 /* 801D9F00 001D6E60 40 82 02 F4 */ bne lbl_801DA1F4 /* 801D9F04 001D6E64 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 801D9F08 001D6E68 38 61 00 20 */ addi r3, r1, 0x20 /* 801D9F0C 001D6E6C D0 01 00 20 */ stfs f0, 0x20(r1) /* 801D9F10 001D6E70 C0 1D 00 2C */ lfs f0, 0x2c(r29) /* 801D9F14 001D6E74 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801D9F18 001D6E78 C0 1D 00 30 */ lfs f0, 0x30(r29) /* 801D9F1C 001D6E7C D0 01 00 28 */ stfs f0, 0x28(r1) /* 801D9F20 001D6E80 48 13 A7 D9 */ bl CanBeNormalized__9CVector3fCFv /* 801D9F24 001D6E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801D9F28 001D6E88 41 82 02 CC */ beq lbl_801DA1F4 /* 801D9F2C 001D6E8C C0 21 00 20 */ lfs f1, 0x20(r1) /* 801D9F30 001D6E90 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801D9F34 001D6E94 48 1B AD 39 */ bl atan2 /* 801D9F38 001D6E98 FC 00 08 18 */ frsp f0, f1 /* 801D9F3C 001D6E9C 38 61 00 0C */ addi r3, r1, 0xc /* 801D9F40 001D6EA0 38 81 00 1C */ addi r4, r1, 0x1c /* 801D9F44 001D6EA4 38 BE 00 1C */ addi r5, r30, 0x1c /* 801D9F48 001D6EA8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801D9F4C 001D6EAC C0 1E 00 18 */ lfs f0, 0x18(r30) /* 801D9F50 001D6EB0 FC 00 00 50 */ fneg f0, f0 /* 801D9F54 001D6EB4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801D9F58 001D6EB8 4B E3 23 5D */ bl "Clamp__5CMathFRCfRCfRCf" /* 801D9F5C 001D6EBC C0 23 00 00 */ lfs f1, 0(r3) /* 801D9F60 001D6EC0 38 81 00 18 */ addi r4, r1, 0x18 /* 801D9F64 001D6EC4 C0 02 AC BC */ lfs f0, lbl_805AC9DC@sda21(r2) /* 801D9F68 001D6EC8 38 6D 91 D8 */ addi r3, r13, lbl_805A7D98@sda21 /* 801D9F6C 001D6ECC D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801D9F70 001D6ED0 38 A2 AC B4 */ addi r5, r2, lbl_805AC9D4@sda21 /* 801D9F74 001D6ED4 EC 40 00 72 */ fmuls f2, f0, f1 /* 801D9F78 001D6ED8 C0 22 AC C0 */ lfs f1, lbl_805AC9E0@sda21(r2) /* 801D9F7C 001D6EDC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801D9F80 001D6EE0 C0 1E 00 28 */ lfs f0, 0x28(r30) /* 801D9F84 001D6EE4 EC 02 00 28 */ fsubs f0, f2, f0 /* 801D9F88 001D6EE8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801D9F8C 001D6EEC EC 00 F0 24 */ fdivs f0, f0, f30 /* 801D9F90 001D6EF0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801D9F94 001D6EF4 4B E3 23 21 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801D9F98 001D6EF8 C0 23 00 00 */ lfs f1, 0(r3) /* 801D9F9C 001D6EFC 38 81 00 14 */ addi r4, r1, 0x14 /* 801D9FA0 001D6F00 38 6D 91 DC */ addi r3, r13, lbl_805A7D9C@sda21 /* 801D9FA4 001D6F04 38 A2 AC B8 */ addi r5, r2, lbl_805AC9D8@sda21 /* 801D9FA8 001D6F08 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801D9FAC 001D6F0C C0 1E 00 2C */ lfs f0, 0x2c(r30) /* 801D9FB0 001D6F10 EC 01 00 28 */ fsubs f0, f1, f0 /* 801D9FB4 001D6F14 EC 00 F0 24 */ fdivs f0, f0, f30 /* 801D9FB8 001D6F18 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801D9FBC 001D6F1C 4B E3 22 F9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801D9FC0 001D6F20 C0 23 00 00 */ lfs f1, 0(r3) /* 801D9FC4 001D6F24 C0 1E 00 2C */ lfs f0, 0x2c(r30) /* 801D9FC8 001D6F28 EC 1E 00 7A */ fmadds f0, f30, f1, f0 /* 801D9FCC 001D6F2C D0 1E 00 2C */ stfs f0, 0x2c(r30) /* 801D9FD0 001D6F30 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801D9FD4 001D6F34 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801D9FD8 001D6F38 EC 21 00 72 */ fmuls f1, f1, f1 /* 801D9FDC 001D6F3C EC 00 00 32 */ fmuls f0, f0, f0 /* 801D9FE0 001D6F40 EC 21 00 2A */ fadds f1, f1, f0 /* 801D9FE4 001D6F44 48 13 B5 1D */ bl SqrtF__5CMathFf /* 801D9FE8 001D6F48 FC 40 08 90 */ fmr f2, f1 /* 801D9FEC 001D6F4C C0 21 00 28 */ lfs f1, 0x28(r1) /* 801D9FF0 001D6F50 48 1B AC 7D */ bl atan2 /* 801D9FF4 001D6F54 FC 00 08 18 */ frsp f0, f1 /* 801D9FF8 001D6F58 38 61 00 08 */ addi r3, r1, 8 /* 801D9FFC 001D6F5C 38 81 00 10 */ addi r4, r1, 0x10 /* 801DA000 001D6F60 38 BE 00 20 */ addi r5, r30, 0x20 /* 801DA004 001D6F64 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801DA008 001D6F68 C0 1E 00 24 */ lfs f0, 0x24(r30) /* 801DA00C 001D6F6C FC 00 00 50 */ fneg f0, f0 /* 801DA010 001D6F70 D0 01 00 08 */ stfs f0, 8(r1) /* 801DA014 001D6F74 4B E3 22 A1 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801DA018 001D6F78 C0 23 00 00 */ lfs f1, 0(r3) /* 801DA01C 001D6F7C 38 81 00 18 */ addi r4, r1, 0x18 /* 801DA020 001D6F80 C0 02 AC BC */ lfs f0, lbl_805AC9DC@sda21(r2) /* 801DA024 001D6F84 38 6D 91 E0 */ addi r3, r13, lbl_805A7DA0@sda21 /* 801DA028 001D6F88 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801DA02C 001D6F8C 38 A2 AC B4 */ addi r5, r2, lbl_805AC9D4@sda21 /* 801DA030 001D6F90 EC 40 00 72 */ fmuls f2, f0, f1 /* 801DA034 001D6F94 C0 22 AC C0 */ lfs f1, lbl_805AC9E0@sda21(r2) /* 801DA038 001D6F98 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801DA03C 001D6F9C C0 1E 00 30 */ lfs f0, 0x30(r30) /* 801DA040 001D6FA0 EC 02 00 28 */ fsubs f0, f2, f0 /* 801DA044 001D6FA4 EC 01 00 32 */ fmuls f0, f1, f0 /* 801DA048 001D6FA8 EC 00 F0 24 */ fdivs f0, f0, f30 /* 801DA04C 001D6FAC D0 01 00 18 */ stfs f0, 0x18(r1) /* 801DA050 001D6FB0 4B E3 22 65 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801DA054 001D6FB4 C0 23 00 00 */ lfs f1, 0(r3) /* 801DA058 001D6FB8 38 81 00 14 */ addi r4, r1, 0x14 /* 801DA05C 001D6FBC 38 6D 91 E4 */ addi r3, r13, lbl_805A7DA4@sda21 /* 801DA060 001D6FC0 38 A2 AC B8 */ addi r5, r2, lbl_805AC9D8@sda21 /* 801DA064 001D6FC4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801DA068 001D6FC8 C0 1E 00 34 */ lfs f0, 0x34(r30) /* 801DA06C 001D6FCC EC 01 00 28 */ fsubs f0, f1, f0 /* 801DA070 001D6FD0 EC 00 F0 24 */ fdivs f0, f0, f30 /* 801DA074 001D6FD4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801DA078 001D6FD8 4B E3 22 3D */ bl "Clamp__5CMathFRCfRCfRCf" /* 801DA07C 001D6FDC C0 23 00 00 */ lfs f1, 0(r3) /* 801DA080 001D6FE0 C0 1E 00 34 */ lfs f0, 0x34(r30) /* 801DA084 001D6FE4 EC 1E 00 7A */ fmadds f0, f30, f1, f0 /* 801DA088 001D6FE8 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 801DA08C 001D6FEC C0 1E 00 2C */ lfs f0, 0x2c(r30) /* 801DA090 001D6FF0 C0 7E 00 28 */ lfs f3, 0x28(r30) /* 801DA094 001D6FF4 80 7D 00 00 */ lwz r3, 0(r29) /* 801DA098 001D6FF8 EF FE 18 3A */ fmadds f31, f30, f0, f3 /* 801DA09C 001D6FFC C0 3E 00 34 */ lfs f1, 0x34(r30) /* 801DA0A0 001D7000 C0 1E 00 30 */ lfs f0, 0x30(r30) /* 801DA0A4 001D7004 80 63 00 64 */ lwz r3, 0x64(r3) /* 801DA0A8 001D7008 FC 1F 18 00 */ fcmpu cr0, f31, f3 /* 801DA0AC 001D700C EF BE 00 7A */ fmadds f29, f30, f1, f0 /* 801DA0B0 001D7010 83 A3 00 10 */ lwz r29, 0x10(r3) /* 801DA0B4 001D7014 41 82 00 98 */ beq lbl_801DA14C /* 801DA0B8 001D7018 FC 00 1A 10 */ fabs f0, f3 /* 801DA0BC 001D701C C0 22 AC B0 */ lfs f1, lbl_805AC9D0@sda21(r2) /* 801DA0C0 001D7020 FC 40 FA 10 */ fabs f2, f31 /* 801DA0C4 001D7024 FC 00 00 18 */ frsp f0, f0 /* 801DA0C8 001D7028 FF C0 10 18 */ frsp f30, f2 /* 801DA0CC 001D702C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DA0D0 001D7030 40 81 00 3C */ ble lbl_801DA10C /* 801DA0D4 001D7034 EC 03 07 F2 */ fmuls f0, f3, f31 /* 801DA0D8 001D7038 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DA0DC 001D703C 4C 40 13 82 */ cror 2, 0, 2 /* 801DA0E0 001D7040 40 82 00 2C */ bne lbl_801DA10C /* 801DA0E4 001D7044 FC 03 08 40 */ fcmpo cr0, f3, f1 /* 801DA0E8 001D7048 7F A3 EB 78 */ mr r3, r29 /* 801DA0EC 001D704C 40 80 00 0C */ bge lbl_801DA0F8 /* 801DA0F0 001D7050 38 00 00 00 */ li r0, 0 /* 801DA0F4 001D7054 48 00 00 08 */ b lbl_801DA0FC lbl_801DA0F8: /* 801DA0F8 001D7058 38 00 00 01 */ li r0, 1 lbl_801DA0FC: /* 801DA0FC 001D705C 54 00 10 3A */ slwi r0, r0, 2 /* 801DA100 001D7060 7C 9E 02 14 */ add r4, r30, r0 /* 801DA104 001D7064 80 84 00 08 */ lwz r4, 8(r4) /* 801DA108 001D7068 4B E5 00 51 */ bl DelAdditiveAnimation__9CAnimDataFUi lbl_801DA10C: /* 801DA10C 001D706C C0 02 AC B0 */ lfs f0, lbl_805AC9D0@sda21(r2) /* 801DA110 001D7070 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801DA114 001D7074 40 81 00 38 */ ble lbl_801DA14C /* 801DA118 001D7078 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801DA11C 001D707C 7F A3 EB 78 */ mr r3, r29 /* 801DA120 001D7080 40 80 00 0C */ bge lbl_801DA12C /* 801DA124 001D7084 38 00 00 00 */ li r0, 0 /* 801DA128 001D7088 48 00 00 08 */ b lbl_801DA130 lbl_801DA12C: /* 801DA12C 001D708C 38 00 00 01 */ li r0, 1 lbl_801DA130: /* 801DA130 001D7090 54 00 10 3A */ slwi r0, r0, 2 /* 801DA134 001D7094 FC 20 F0 90 */ fmr f1, f30 /* 801DA138 001D7098 7C 9E 02 14 */ add r4, r30, r0 /* 801DA13C 001D709C 38 A0 00 00 */ li r5, 0 /* 801DA140 001D70A0 80 84 00 08 */ lwz r4, 8(r4) /* 801DA144 001D70A4 38 C0 00 00 */ li r6, 0 /* 801DA148 001D70A8 4B E5 00 89 */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_801DA14C: /* 801DA14C 001D70AC C0 5E 00 30 */ lfs f2, 0x30(r30) /* 801DA150 001D70B0 FC 1D 10 00 */ fcmpu cr0, f29, f2 /* 801DA154 001D70B4 41 82 00 98 */ beq lbl_801DA1EC /* 801DA158 001D70B8 FC 00 12 10 */ fabs f0, f2 /* 801DA15C 001D70BC C0 22 AC B0 */ lfs f1, lbl_805AC9D0@sda21(r2) /* 801DA160 001D70C0 FC 60 EA 10 */ fabs f3, f29 /* 801DA164 001D70C4 FC 00 00 18 */ frsp f0, f0 /* 801DA168 001D70C8 FF C0 18 18 */ frsp f30, f3 /* 801DA16C 001D70CC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DA170 001D70D0 40 81 00 3C */ ble lbl_801DA1AC /* 801DA174 001D70D4 EC 02 07 72 */ fmuls f0, f2, f29 /* 801DA178 001D70D8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DA17C 001D70DC 4C 40 13 82 */ cror 2, 0, 2 /* 801DA180 001D70E0 40 82 00 2C */ bne lbl_801DA1AC /* 801DA184 001D70E4 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801DA188 001D70E8 7F A3 EB 78 */ mr r3, r29 /* 801DA18C 001D70EC 40 81 00 0C */ ble lbl_801DA198 /* 801DA190 001D70F0 38 00 00 02 */ li r0, 2 /* 801DA194 001D70F4 48 00 00 08 */ b lbl_801DA19C lbl_801DA198: /* 801DA198 001D70F8 38 00 00 03 */ li r0, 3 lbl_801DA19C: /* 801DA19C 001D70FC 54 00 10 3A */ slwi r0, r0, 2 /* 801DA1A0 001D7100 7C 9E 02 14 */ add r4, r30, r0 /* 801DA1A4 001D7104 80 84 00 08 */ lwz r4, 8(r4) /* 801DA1A8 001D7108 4B E4 FF B1 */ bl DelAdditiveAnimation__9CAnimDataFUi lbl_801DA1AC: /* 801DA1AC 001D710C C0 02 AC B0 */ lfs f0, lbl_805AC9D0@sda21(r2) /* 801DA1B0 001D7110 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801DA1B4 001D7114 40 81 00 38 */ ble lbl_801DA1EC /* 801DA1B8 001D7118 FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 801DA1BC 001D711C 7F A3 EB 78 */ mr r3, r29 /* 801DA1C0 001D7120 40 81 00 0C */ ble lbl_801DA1CC /* 801DA1C4 001D7124 38 00 00 02 */ li r0, 2 /* 801DA1C8 001D7128 48 00 00 08 */ b lbl_801DA1D0 lbl_801DA1CC: /* 801DA1CC 001D712C 38 00 00 03 */ li r0, 3 lbl_801DA1D0: /* 801DA1D0 001D7130 54 00 10 3A */ slwi r0, r0, 2 /* 801DA1D4 001D7134 FC 20 F0 90 */ fmr f1, f30 /* 801DA1D8 001D7138 7C 9E 02 14 */ add r4, r30, r0 /* 801DA1DC 001D713C 38 A0 00 00 */ li r5, 0 /* 801DA1E0 001D7140 80 84 00 08 */ lwz r4, 8(r4) /* 801DA1E4 001D7144 38 C0 00 00 */ li r6, 0 /* 801DA1E8 001D7148 4B E4 FF E9 */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_801DA1EC: /* 801DA1EC 001D714C D3 FE 00 28 */ stfs f31, 0x28(r30) /* 801DA1F0 001D7150 D3 BE 00 30 */ stfs f29, 0x30(r30) lbl_801DA1F4: /* 801DA1F4 001D7154 7F E3 FB 78 */ mr r3, r31 /* 801DA1F8 001D7158 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801DA1FC 001D715C CB E1 00 60 */ lfd f31, 0x60(r1) /* 801DA200 001D7160 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801DA204 001D7164 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801DA208 001D7168 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801DA20C 001D716C CB A1 00 40 */ lfd f29, 0x40(r1) /* 801DA210 001D7170 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801DA214 001D7174 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801DA218 001D7178 80 01 00 74 */ lwz r0, 0x74(r1) /* 801DA21C 001D717C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801DA220 001D7180 7C 08 03 A6 */ mtlr r0 /* 801DA224 001D7184 38 21 00 70 */ addi r1, r1, 0x70 /* 801DA228 001D7188 4E 80 00 20 */ blr .global Start__7CABSAimFR15CBodyControllerR13CStateManager Start__7CABSAimFR15CBodyControllerR13CStateManager: /* 801DA22C 001D718C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801DA230 001D7190 7C 08 02 A6 */ mflr r0 /* 801DA234 001D7194 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801DA238 001D7198 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 801DA23C 001D719C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 801DA240 001D71A0 BE E1 00 BC */ stmw r23, 0xbc(r1) /* 801DA244 001D71A4 7C 9A 23 78 */ mr r26, r4 /* 801DA248 001D71A8 7C 79 1B 78 */ mr r25, r3 /* 801DA24C 001D71AC 7C BB 2B 78 */ mr r27, r5 /* 801DA250 001D71B0 38 80 00 18 */ li r4, 0x18 /* 801DA254 001D71B4 38 7A 00 04 */ addi r3, r26, 4 /* 801DA258 001D71B8 4B F5 71 F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DA25C 001D71BC 7F 43 D3 78 */ mr r3, r26 /* 801DA260 001D71C0 4B F6 01 F5 */ bl GetPASDatabase__15CBodyControllerCFv /* 801DA264 001D71C4 38 80 00 16 */ li r4, 0x16 /* 801DA268 001D71C8 48 10 AC 5D */ bl GetAnimState__12CPASDatabaseCFi /* 801DA26C 001D71CC C3 E2 AC C4 */ lfs f31, lbl_805AC9E4@sda21(r2) /* 801DA270 001D71D0 7C 7D 1B 78 */ mr r29, r3 /* 801DA274 001D71D4 7F 3F CB 78 */ mr r31, r25 /* 801DA278 001D71D8 3B C1 00 6C */ addi r30, r1, 0x6c /* 801DA27C 001D71DC 3A E1 00 28 */ addi r23, r1, 0x28 /* 801DA280 001D71E0 3B 01 00 20 */ addi r24, r1, 0x20 /* 801DA284 001D71E4 3B 80 00 00 */ li r28, 0 lbl_801DA288: /* 801DA288 001D71E8 38 61 00 20 */ addi r3, r1, 0x20 /* 801DA28C 001D71EC 48 10 8D F1 */ bl NoParameter__12CPASAnimParmFv /* 801DA290 001D71F0 38 61 00 28 */ addi r3, r1, 0x28 /* 801DA294 001D71F4 48 10 8D E9 */ bl NoParameter__12CPASAnimParmFv /* 801DA298 001D71F8 38 61 00 30 */ addi r3, r1, 0x30 /* 801DA29C 001D71FC 48 10 8D E1 */ bl NoParameter__12CPASAnimParmFv /* 801DA2A0 001D7200 38 61 00 38 */ addi r3, r1, 0x38 /* 801DA2A4 001D7204 48 10 8D D9 */ bl NoParameter__12CPASAnimParmFv /* 801DA2A8 001D7208 38 61 00 40 */ addi r3, r1, 0x40 /* 801DA2AC 001D720C 48 10 8D D1 */ bl NoParameter__12CPASAnimParmFv /* 801DA2B0 001D7210 38 61 00 48 */ addi r3, r1, 0x48 /* 801DA2B4 001D7214 48 10 8D C9 */ bl NoParameter__12CPASAnimParmFv /* 801DA2B8 001D7218 38 61 00 50 */ addi r3, r1, 0x50 /* 801DA2BC 001D721C 48 10 8D C1 */ bl NoParameter__12CPASAnimParmFv /* 801DA2C0 001D7220 7F 84 E3 78 */ mr r4, r28 /* 801DA2C4 001D7224 38 61 00 58 */ addi r3, r1, 0x58 /* 801DA2C8 001D7228 48 10 8C BD */ bl FromEnum__12CPASAnimParmFi /* 801DA2CC 001D722C 92 E1 00 08 */ stw r23, 8(r1) /* 801DA2D0 001D7230 38 61 00 68 */ addi r3, r1, 0x68 /* 801DA2D4 001D7234 38 A1 00 58 */ addi r5, r1, 0x58 /* 801DA2D8 001D7238 38 C1 00 50 */ addi r6, r1, 0x50 /* 801DA2DC 001D723C 93 01 00 0C */ stw r24, 0xc(r1) /* 801DA2E0 001D7240 38 E1 00 48 */ addi r7, r1, 0x48 /* 801DA2E4 001D7244 39 01 00 40 */ addi r8, r1, 0x40 /* 801DA2E8 001D7248 39 21 00 38 */ addi r9, r1, 0x38 /* 801DA2EC 001D724C 39 41 00 30 */ addi r10, r1, 0x30 /* 801DA2F0 001D7250 38 80 00 16 */ li r4, 0x16 /* 801DA2F4 001D7254 4B EA 2F D1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801DA2F8 001D7258 7F 43 D3 78 */ mr r3, r26 /* 801DA2FC 001D725C 4B F6 01 59 */ bl GetPASDatabase__15CBodyControllerCFv /* 801DA300 001D7260 80 DB 09 00 */ lwz r6, 0x900(r27) /* 801DA304 001D7264 7C 64 1B 78 */ mr r4, r3 /* 801DA308 001D7268 38 61 00 18 */ addi r3, r1, 0x18 /* 801DA30C 001D726C 38 A1 00 68 */ addi r5, r1, 0x68 /* 801DA310 001D7270 38 E0 FF FF */ li r7, -1 /* 801DA314 001D7274 48 10 AD 4D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801DA318 001D7278 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801DA31C 001D727C 7F A4 EB 78 */ mr r4, r29 /* 801DA320 001D7280 38 61 00 10 */ addi r3, r1, 0x10 /* 801DA324 001D7284 38 C0 00 01 */ li r6, 1 /* 801DA328 001D7288 90 1F 00 08 */ stw r0, 8(r31) /* 801DA32C 001D728C 80 BF 00 08 */ lwz r5, 8(r31) /* 801DA330 001D7290 48 10 9C C5 */ bl GetAnimParmData__13CPASAnimStateCFiUi /* 801DA334 001D7294 80 81 00 10 */ lwz r4, 0x10(r1) /* 801DA338 001D7298 38 61 00 60 */ addi r3, r1, 0x60 /* 801DA33C 001D729C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DA340 001D72A0 90 81 00 60 */ stw r4, 0x60(r1) /* 801DA344 001D72A4 90 01 00 64 */ stw r0, 0x64(r1) /* 801DA348 001D72A8 48 10 8C 25 */ bl GetReal32Value__12CPASAnimParmCFv /* 801DA34C 001D72AC EC 1F 00 72 */ fmuls f0, f31, f1 /* 801DA350 001D72B0 28 1E 00 00 */ cmplwi r30, 0 /* 801DA354 001D72B4 D0 1F 00 18 */ stfs f0, 0x18(r31) /* 801DA358 001D72B8 41 82 00 5C */ beq lbl_801DA3B4 /* 801DA35C 001D72BC 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 801DA360 001D72C0 38 60 00 00 */ li r3, 0 /* 801DA364 001D72C4 2C 05 00 00 */ cmpwi r5, 0 /* 801DA368 001D72C8 40 81 00 44 */ ble lbl_801DA3AC /* 801DA36C 001D72CC 2C 05 00 08 */ cmpwi r5, 8 /* 801DA370 001D72D0 38 85 FF F8 */ addi r4, r5, -8 /* 801DA374 001D72D4 40 81 00 20 */ ble lbl_801DA394 /* 801DA378 001D72D8 38 04 00 07 */ addi r0, r4, 7 /* 801DA37C 001D72DC 54 00 E8 FE */ srwi r0, r0, 3 /* 801DA380 001D72E0 7C 09 03 A6 */ mtctr r0 /* 801DA384 001D72E4 2C 04 00 00 */ cmpwi r4, 0 /* 801DA388 001D72E8 40 81 00 0C */ ble lbl_801DA394 lbl_801DA38C: /* 801DA38C 001D72EC 38 63 00 08 */ addi r3, r3, 8 /* 801DA390 001D72F0 42 00 FF FC */ bdnz lbl_801DA38C lbl_801DA394: /* 801DA394 001D72F4 7C 03 28 50 */ subf r0, r3, r5 /* 801DA398 001D72F8 7C 09 03 A6 */ mtctr r0 /* 801DA39C 001D72FC 7C 03 28 00 */ cmpw r3, r5 /* 801DA3A0 001D7300 40 80 00 0C */ bge lbl_801DA3AC lbl_801DA3A4: /* 801DA3A4 001D7304 38 63 00 01 */ addi r3, r3, 1 /* 801DA3A8 001D7308 42 00 FF FC */ bdnz lbl_801DA3A4 lbl_801DA3AC: /* 801DA3AC 001D730C 38 00 00 00 */ li r0, 0 /* 801DA3B0 001D7310 90 01 00 6C */ stw r0, 0x6c(r1) lbl_801DA3B4: /* 801DA3B4 001D7314 3B 9C 00 01 */ addi r28, r28, 1 /* 801DA3B8 001D7318 3B FF 00 04 */ addi r31, r31, 4 /* 801DA3BC 001D731C 2C 1C 00 04 */ cmpwi r28, 4 /* 801DA3C0 001D7320 41 80 FE C8 */ blt lbl_801DA288 /* 801DA3C4 001D7324 80 7A 00 00 */ lwz r3, 0(r26) /* 801DA3C8 001D7328 80 99 00 08 */ lwz r4, 8(r25) /* 801DA3CC 001D732C 80 63 00 64 */ lwz r3, 0x64(r3) /* 801DA3D0 001D7330 82 E3 00 10 */ lwz r23, 0x10(r3) /* 801DA3D4 001D7334 7E E3 BB 78 */ mr r3, r23 /* 801DA3D8 001D7338 4B E4 FD 39 */ bl GetAdditiveAnimationWeight__9CAnimDataFUi /* 801DA3DC 001D733C FC 00 08 50 */ fneg f0, f1 /* 801DA3E0 001D7340 7E E3 BB 78 */ mr r3, r23 /* 801DA3E4 001D7344 D0 19 00 28 */ stfs f0, 0x28(r25) /* 801DA3E8 001D7348 80 99 00 0C */ lwz r4, 0xc(r25) /* 801DA3EC 001D734C 4B E4 FD 25 */ bl GetAdditiveAnimationWeight__9CAnimDataFUi /* 801DA3F0 001D7350 C0 19 00 28 */ lfs f0, 0x28(r25) /* 801DA3F4 001D7354 7E E3 BB 78 */ mr r3, r23 /* 801DA3F8 001D7358 EC 00 08 2A */ fadds f0, f0, f1 /* 801DA3FC 001D735C D0 19 00 28 */ stfs f0, 0x28(r25) /* 801DA400 001D7360 80 99 00 14 */ lwz r4, 0x14(r25) /* 801DA404 001D7364 4B E4 FD 0D */ bl GetAdditiveAnimationWeight__9CAnimDataFUi /* 801DA408 001D7368 FC 00 08 50 */ fneg f0, f1 /* 801DA40C 001D736C 7E E3 BB 78 */ mr r3, r23 /* 801DA410 001D7370 D0 19 00 30 */ stfs f0, 0x30(r25) /* 801DA414 001D7374 80 99 00 10 */ lwz r4, 0x10(r25) /* 801DA418 001D7378 4B E4 FC F9 */ bl GetAdditiveAnimationWeight__9CAnimDataFUi /* 801DA41C 001D737C C0 19 00 30 */ lfs f0, 0x30(r25) /* 801DA420 001D7380 38 00 00 00 */ li r0, 0 /* 801DA424 001D7384 38 7A 00 04 */ addi r3, r26, 4 /* 801DA428 001D7388 38 80 00 17 */ li r4, 0x17 /* 801DA42C 001D738C EC 00 08 2A */ fadds f0, f0, f1 /* 801DA430 001D7390 D0 19 00 30 */ stfs f0, 0x30(r25) /* 801DA434 001D7394 98 19 00 04 */ stb r0, 4(r25) /* 801DA438 001D7398 4B F5 70 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DA43C 001D739C 28 03 00 00 */ cmplwi r3, 0 /* 801DA440 001D73A0 41 82 00 0C */ beq lbl_801DA44C /* 801DA444 001D73A4 38 00 00 01 */ li r0, 1 /* 801DA448 001D73A8 98 19 00 04 */ stb r0, 4(r25) lbl_801DA44C: /* 801DA44C 001D73AC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 801DA450 001D73B0 CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 801DA454 001D73B4 BA E1 00 BC */ lmw r23, 0xbc(r1) /* 801DA458 001D73B8 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801DA45C 001D73BC 7C 08 03 A6 */ mtlr r0 /* 801DA460 001D73C0 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801DA464 001D73C4 4E 80 00 20 */ blr .global __ct__7CABSAimFv __ct__7CABSAimFv: /* 801DA468 001D73C8 3C A0 80 3E */ lis r5, lbl_803E1350@ha /* 801DA46C 001D73CC 3C 80 80 3E */ lis r4, lbl_803E5CA0@ha /* 801DA470 001D73D0 38 A5 13 50 */ addi r5, r5, lbl_803E1350@l /* 801DA474 001D73D4 38 00 00 00 */ li r0, 0 /* 801DA478 001D73D8 90 A3 00 00 */ stw r5, 0(r3) /* 801DA47C 001D73DC 38 84 5C A0 */ addi r4, r4, lbl_803E5CA0@l /* 801DA480 001D73E0 C0 02 AC B0 */ lfs f0, lbl_805AC9D0@sda21(r2) /* 801DA484 001D73E4 90 83 00 00 */ stw r4, 0(r3) /* 801DA488 001D73E8 98 03 00 04 */ stb r0, 4(r3) /* 801DA48C 001D73EC D0 03 00 28 */ stfs f0, 0x28(r3) /* 801DA490 001D73F0 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 801DA494 001D73F4 D0 03 00 30 */ stfs f0, 0x30(r3) /* 801DA498 001D73F8 D0 03 00 34 */ stfs f0, 0x34(r3) /* 801DA49C 001D73FC 4E 80 00 20 */ blr .global __dt__24CScriptPlayerStateChangeFv __dt__24CScriptPlayerStateChangeFv: /* 801DA4A0 001D7400 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DA4A4 001D7404 7C 08 02 A6 */ mflr r0 /* 801DA4A8 001D7408 90 01 00 14 */ stw r0, 0x14(r1) /* 801DA4AC 001D740C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DA4B0 001D7410 7C 9F 23 78 */ mr r31, r4 /* 801DA4B4 001D7414 93 C1 00 08 */ stw r30, 8(r1) /* 801DA4B8 001D7418 7C 7E 1B 79 */ or. r30, r3, r3 /* 801DA4BC 001D741C 41 82 00 28 */ beq lbl_801DA4E4 /* 801DA4C0 001D7420 3C A0 80 3E */ lis r5, lbl_803E5CC0@ha /* 801DA4C4 001D7424 38 80 00 00 */ li r4, 0 /* 801DA4C8 001D7428 38 05 5C C0 */ addi r0, r5, lbl_803E5CC0@l /* 801DA4CC 001D742C 90 1E 00 00 */ stw r0, 0(r30) /* 801DA4D0 001D7430 4B E7 6D A5 */ bl __dt__7CEntityFv /* 801DA4D4 001D7434 7F E0 07 35 */ extsh. r0, r31 /* 801DA4D8 001D7438 40 81 00 0C */ ble lbl_801DA4E4 /* 801DA4DC 001D743C 7F C3 F3 78 */ mr r3, r30 /* 801DA4E0 001D7440 48 13 B4 51 */ bl Free__7CMemoryFPCv lbl_801DA4E4: /* 801DA4E4 001D7444 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DA4E8 001D7448 7F C3 F3 78 */ mr r3, r30 /* 801DA4EC 001D744C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DA4F0 001D7450 83 C1 00 08 */ lwz r30, 8(r1) /* 801DA4F4 001D7454 7C 08 03 A6 */ mtlr r0 /* 801DA4F8 001D7458 38 21 00 10 */ addi r1, r1, 0x10 /* 801DA4FC 001D745C 4E 80 00 20 */ blr .global AcceptScriptMsg__24CScriptPlayerStateChangeF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__24CScriptPlayerStateChangeF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801DA500 001D7460 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DA504 001D7464 7C 08 02 A6 */ mflr r0 /* 801DA508 001D7468 90 01 00 34 */ stw r0, 0x34(r1) /* 801DA50C 001D746C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801DA510 001D7470 7C 7B 1B 78 */ mr r27, r3 /* 801DA514 001D7474 7C 9C 23 78 */ mr r28, r4 /* 801DA518 001D7478 7C BD 2B 78 */ mr r29, r5 /* 801DA51C 001D747C 7C DE 33 78 */ mr r30, r6 /* 801DA520 001D7480 88 03 00 30 */ lbz r0, 0x30(r3) /* 801DA524 001D7484 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801DA528 001D7488 41 82 00 C8 */ beq lbl_801DA5F0 /* 801DA52C 001D748C 2C 1C 00 0D */ cmpwi r28, 0xd /* 801DA530 001D7490 40 82 00 C0 */ bne lbl_801DA5F0 /* 801DA534 001D7494 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801DA538 001D7498 80 9B 00 34 */ lwz r4, 0x34(r27) /* 801DA53C 001D749C 80 63 00 00 */ lwz r3, 0(r3) /* 801DA540 001D74A0 80 BB 00 3C */ lwz r5, 0x3c(r27) /* 801DA544 001D74A4 4B EB 78 25 */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei /* 801DA548 001D74A8 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801DA54C 001D74AC 80 9B 00 34 */ lwz r4, 0x34(r27) /* 801DA550 001D74B0 80 63 00 00 */ lwz r3, 0(r3) /* 801DA554 001D74B4 80 BB 00 38 */ lwz r5, 0x38(r27) /* 801DA558 001D74B8 4B EB 76 99 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei /* 801DA55C 001D74BC 80 7B 00 44 */ lwz r3, 0x44(r27) /* 801DA560 001D74C0 2C 03 00 00 */ cmpwi r3, 0 /* 801DA564 001D74C4 41 82 00 8C */ beq lbl_801DA5F0 /* 801DA568 001D74C8 80 1B 00 40 */ lwz r0, 0x40(r27) /* 801DA56C 001D74CC 2C 00 00 01 */ cmpwi r0, 1 /* 801DA570 001D74D0 41 82 00 08 */ beq lbl_801DA578 /* 801DA574 001D74D4 48 00 00 7C */ b lbl_801DA5F0 lbl_801DA578: /* 801DA578 001D74D8 20 03 00 01 */ subfic r0, r3, 1 /* 801DA57C 001D74DC 38 60 00 18 */ li r3, 0x18 /* 801DA580 001D74E0 7C 00 00 34 */ cntlzw r0, r0 /* 801DA584 001D74E4 54 1F D9 7E */ srwi r31, r0, 5 /* 801DA588 001D74E8 7F E4 FB 78 */ mr r4, r31 /* 801DA58C 001D74EC 4B E3 21 FD */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA590 001D74F0 7F E4 FB 78 */ mr r4, r31 /* 801DA594 001D74F4 38 60 00 1C */ li r3, 0x1c /* 801DA598 001D74F8 4B E3 21 F1 */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA59C 001D74FC 7F E4 FB 78 */ mr r4, r31 /* 801DA5A0 001D7500 38 60 00 20 */ li r3, 0x20 /* 801DA5A4 001D7504 4B E3 21 E5 */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA5A8 001D7508 7F E4 FB 78 */ mr r4, r31 /* 801DA5AC 001D750C 38 60 00 19 */ li r3, 0x19 /* 801DA5B0 001D7510 4B E3 21 D9 */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA5B4 001D7514 7F E4 FB 78 */ mr r4, r31 /* 801DA5B8 001D7518 38 60 00 1D */ li r3, 0x1d /* 801DA5BC 001D751C 4B E3 21 CD */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA5C0 001D7520 7F E4 FB 78 */ mr r4, r31 /* 801DA5C4 001D7524 38 60 00 1A */ li r3, 0x1a /* 801DA5C8 001D7528 4B E3 21 C1 */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA5CC 001D752C 7F E4 FB 78 */ mr r4, r31 /* 801DA5D0 001D7530 38 60 00 1E */ li r3, 0x1e /* 801DA5D4 001D7534 4B E3 21 B5 */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA5D8 001D7538 7F E4 FB 78 */ mr r4, r31 /* 801DA5DC 001D753C 38 60 00 1B */ li r3, 0x1b /* 801DA5E0 001D7540 4B E3 21 A9 */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb /* 801DA5E4 001D7544 7F E4 FB 78 */ mr r4, r31 /* 801DA5E8 001D7548 38 60 00 1F */ li r3, 0x1f /* 801DA5EC 001D754C 4B E3 21 9D */ bl SetCommandFiltered__13ControlMapperFQ213ControlMapper9ECommandsb lbl_801DA5F0: /* 801DA5F0 001D7550 A0 1D 00 00 */ lhz r0, 0(r29) /* 801DA5F4 001D7554 7F 63 DB 78 */ mr r3, r27 /* 801DA5F8 001D7558 7F 84 E3 78 */ mr r4, r28 /* 801DA5FC 001D755C 7F C6 F3 78 */ mr r6, r30 /* 801DA600 001D7560 B0 01 00 08 */ sth r0, 8(r1) /* 801DA604 001D7564 38 A1 00 08 */ addi r5, r1, 8 /* 801DA608 001D7568 4B E7 6B 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801DA60C 001D756C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801DA610 001D7570 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DA614 001D7574 7C 08 03 A6 */ mtlr r0 /* 801DA618 001D7578 38 21 00 30 */ addi r1, r1, 0x30 /* 801DA61C 001D757C 4E 80 00 20 */ blr .global Accept__24CScriptPlayerStateChangeFR8IVisitor Accept__24CScriptPlayerStateChangeFR8IVisitor: /* 801DA620 001D7580 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DA624 001D7584 7C 08 02 A6 */ mflr r0 /* 801DA628 001D7588 90 01 00 14 */ stw r0, 0x14(r1) /* 801DA62C 001D758C 7C 60 1B 78 */ mr r0, r3 /* 801DA630 001D7590 7C 83 23 78 */ mr r3, r4 /* 801DA634 001D7594 81 84 00 00 */ lwz r12, 0(r4) /* 801DA638 001D7598 7C 04 03 78 */ mr r4, r0 /* 801DA63C 001D759C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801DA640 001D75A0 7D 89 03 A6 */ mtctr r12 /* 801DA644 001D75A4 4E 80 04 21 */ bctrl /* 801DA648 001D75A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DA64C 001D75AC 7C 08 03 A6 */ mtlr r0 /* 801DA650 001D75B0 38 21 00 10 */ addi r1, r1, 0x10 /* 801DA654 001D75B4 4E 80 00 20 */ blr .global "__ct__24CScriptPlayerStateChangeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobiiiQ224CScriptPlayerStateChange8EControlQ224CScriptPlayerStateChange21EControlCommandOption" "__ct__24CScriptPlayerStateChangeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobiiiQ224CScriptPlayerStateChange8EControlQ224CScriptPlayerStateChange21EControlCommandOption": /* 801DA658 001D75B8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DA65C 001D75BC 7C 08 02 A6 */ mflr r0 /* 801DA660 001D75C0 90 01 00 34 */ stw r0, 0x34(r1) /* 801DA664 001D75C4 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801DA668 001D75C8 7C 7A 1B 78 */ mr r26, r3 /* 801DA66C 001D75CC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801DA670 001D75D0 7D 1B 43 78 */ mr r27, r8 /* 801DA674 001D75D4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801DA678 001D75D8 7D 3C 4B 78 */ mr r28, r9 /* 801DA67C 001D75DC 7D 5D 53 78 */ mr r29, r10 /* 801DA680 001D75E0 A0 04 00 00 */ lhz r0, 0(r4) /* 801DA684 001D75E4 7C A4 2B 78 */ mr r4, r5 /* 801DA688 001D75E8 7C C5 33 78 */ mr r5, r6 /* 801DA68C 001D75EC 7C E6 3B 78 */ mr r6, r7 /* 801DA690 001D75F0 B0 01 00 08 */ sth r0, 8(r1) /* 801DA694 001D75F4 7C 87 23 78 */ mr r7, r4 /* 801DA698 001D75F8 38 81 00 08 */ addi r4, r1, 8 /* 801DA69C 001D75FC 4B E7 6C 89 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DA6A0 001D7600 3C 80 80 3E */ lis r4, lbl_803E5CC0@ha /* 801DA6A4 001D7604 7F 43 D3 78 */ mr r3, r26 /* 801DA6A8 001D7608 38 04 5C C0 */ addi r0, r4, lbl_803E5CC0@l /* 801DA6AC 001D760C 90 1A 00 00 */ stw r0, 0(r26) /* 801DA6B0 001D7610 93 7A 00 34 */ stw r27, 0x34(r26) /* 801DA6B4 001D7614 93 9A 00 38 */ stw r28, 0x38(r26) /* 801DA6B8 001D7618 93 BA 00 3C */ stw r29, 0x3c(r26) /* 801DA6BC 001D761C 93 DA 00 40 */ stw r30, 0x40(r26) /* 801DA6C0 001D7620 93 FA 00 44 */ stw r31, 0x44(r26) /* 801DA6C4 001D7624 BB 41 00 18 */ lmw r26, 0x18(r1) /* 801DA6C8 001D7628 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DA6CC 001D762C 7C 08 03 A6 */ mtlr r0 /* 801DA6D0 001D7630 38 21 00 30 */ addi r1, r1, 0x30 /* 801DA6D4 001D7634 4E 80 00 20 */ blr .global __dt__8CThardusFv __dt__8CThardusFv: /* 801DA6D8 001D7638 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801DA6DC 001D763C 7C 08 02 A6 */ mflr r0 /* 801DA6E0 001D7640 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801DA6E4 001D7644 93 E1 00 CC */ stw r31, 0xcc(r1) /* 801DA6E8 001D7648 7C 9F 23 78 */ mr r31, r4 /* 801DA6EC 001D764C 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 801DA6F0 001D7650 7C 7E 1B 79 */ or. r30, r3, r3 /* 801DA6F4 001D7654 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 801DA6F8 001D7658 93 81 00 C0 */ stw r28, 0xc0(r1) /* 801DA6FC 001D765C 41 82 05 00 */ beq lbl_801DABFC /* 801DA700 001D7660 3C 60 80 3E */ lis r3, lbl_803E5CE0@ha /* 801DA704 001D7664 34 1E 09 1C */ addic. r0, r30, 0x91c /* 801DA708 001D7668 38 03 5C E0 */ addi r0, r3, lbl_803E5CE0@l /* 801DA70C 001D766C 90 1E 00 00 */ stw r0, 0(r30) /* 801DA710 001D7670 41 82 00 18 */ beq lbl_801DA728 /* 801DA714 001D7674 34 1E 09 1C */ addic. r0, r30, 0x91c /* 801DA718 001D7678 41 82 00 10 */ beq lbl_801DA728 /* 801DA71C 001D767C 38 7E 09 1C */ addi r3, r30, 0x91c /* 801DA720 001D7680 38 80 00 00 */ li r4, 0 /* 801DA724 001D7684 48 16 67 1D */ bl __dt__6CTokenFv lbl_801DA728: /* 801DA728 001D7688 34 1E 09 0C */ addic. r0, r30, 0x90c /* 801DA72C 001D768C 41 82 00 44 */ beq lbl_801DA770 /* 801DA730 001D7690 80 1E 09 10 */ lwz r0, 0x910(r30) /* 801DA734 001D7694 80 7E 09 18 */ lwz r3, 0x918(r30) /* 801DA738 001D7698 54 00 10 3A */ slwi r0, r0, 2 /* 801DA73C 001D769C 7C 03 02 14 */ add r0, r3, r0 /* 801DA740 001D76A0 90 61 00 AC */ stw r3, 0xac(r1) /* 801DA744 001D76A4 7C 64 1B 78 */ mr r4, r3 /* 801DA748 001D76A8 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801DA74C 001D76AC 90 01 00 B0 */ stw r0, 0xb0(r1) /* 801DA750 001D76B0 90 61 00 A8 */ stw r3, 0xa8(r1) /* 801DA754 001D76B4 48 00 00 08 */ b lbl_801DA75C lbl_801DA758: /* 801DA758 001D76B8 38 84 00 04 */ addi r4, r4, 4 lbl_801DA75C: /* 801DA75C 001D76BC 7C 04 00 40 */ cmplw r4, r0 /* 801DA760 001D76C0 40 82 FF F8 */ bne lbl_801DA758 /* 801DA764 001D76C4 28 03 00 00 */ cmplwi r3, 0 /* 801DA768 001D76C8 41 82 00 08 */ beq lbl_801DA770 /* 801DA76C 001D76CC 48 13 B1 C5 */ bl Free__7CMemoryFPCv lbl_801DA770: /* 801DA770 001D76D0 34 1E 08 F4 */ addic. r0, r30, 0x8f4 /* 801DA774 001D76D4 41 82 00 44 */ beq lbl_801DA7B8 /* 801DA778 001D76D8 80 1E 08 F8 */ lwz r0, 0x8f8(r30) /* 801DA77C 001D76DC 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801DA780 001D76E0 54 00 08 3C */ slwi r0, r0, 1 /* 801DA784 001D76E4 7C 03 02 14 */ add r0, r3, r0 /* 801DA788 001D76E8 90 61 00 9C */ stw r3, 0x9c(r1) /* 801DA78C 001D76EC 7C 64 1B 78 */ mr r4, r3 /* 801DA790 001D76F0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801DA794 001D76F4 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801DA798 001D76F8 90 61 00 98 */ stw r3, 0x98(r1) /* 801DA79C 001D76FC 48 00 00 08 */ b lbl_801DA7A4 lbl_801DA7A0: /* 801DA7A0 001D7700 38 84 00 02 */ addi r4, r4, 2 lbl_801DA7A4: /* 801DA7A4 001D7704 7C 04 00 40 */ cmplw r4, r0 /* 801DA7A8 001D7708 40 82 FF F8 */ bne lbl_801DA7A0 /* 801DA7AC 001D770C 28 03 00 00 */ cmplwi r3, 0 /* 801DA7B0 001D7710 41 82 00 08 */ beq lbl_801DA7B8 /* 801DA7B4 001D7714 48 13 B1 7D */ bl Free__7CMemoryFPCv lbl_801DA7B8: /* 801DA7B8 001D7718 34 1E 07 F0 */ addic. r0, r30, 0x7f0 /* 801DA7BC 001D771C 41 82 00 60 */ beq lbl_801DA81C /* 801DA7C0 001D7720 34 1E 07 F4 */ addic. r0, r30, 0x7f4 /* 801DA7C4 001D7724 41 82 00 58 */ beq lbl_801DA81C /* 801DA7C8 001D7728 80 BE 07 F4 */ lwz r5, 0x7f4(r30) /* 801DA7CC 001D772C 38 60 00 00 */ li r3, 0 /* 801DA7D0 001D7730 2C 05 00 00 */ cmpwi r5, 0 /* 801DA7D4 001D7734 40 81 00 40 */ ble lbl_801DA814 /* 801DA7D8 001D7738 2C 05 00 08 */ cmpwi r5, 8 /* 801DA7DC 001D773C 38 85 FF F8 */ addi r4, r5, -8 /* 801DA7E0 001D7740 40 81 00 20 */ ble lbl_801DA800 /* 801DA7E4 001D7744 38 04 00 07 */ addi r0, r4, 7 /* 801DA7E8 001D7748 54 00 E8 FE */ srwi r0, r0, 3 /* 801DA7EC 001D774C 7C 09 03 A6 */ mtctr r0 /* 801DA7F0 001D7750 2C 04 00 00 */ cmpwi r4, 0 /* 801DA7F4 001D7754 40 81 00 0C */ ble lbl_801DA800 lbl_801DA7F8: /* 801DA7F8 001D7758 38 63 00 08 */ addi r3, r3, 8 /* 801DA7FC 001D775C 42 00 FF FC */ bdnz lbl_801DA7F8 lbl_801DA800: /* 801DA800 001D7760 7C 03 28 50 */ subf r0, r3, r5 /* 801DA804 001D7764 7C 09 03 A6 */ mtctr r0 /* 801DA808 001D7768 7C 03 28 00 */ cmpw r3, r5 /* 801DA80C 001D776C 40 80 00 08 */ bge lbl_801DA814 lbl_801DA810: /* 801DA810 001D7770 42 00 00 00 */ bdnz lbl_801DA810 lbl_801DA814: /* 801DA814 001D7774 38 00 00 00 */ li r0, 0 /* 801DA818 001D7778 90 1E 07 F4 */ stw r0, 0x7f4(r30) lbl_801DA81C: /* 801DA81C 001D777C 34 1E 07 A8 */ addic. r0, r30, 0x7a8 /* 801DA820 001D7780 41 82 00 44 */ beq lbl_801DA864 /* 801DA824 001D7784 80 1E 07 AC */ lwz r0, 0x7ac(r30) /* 801DA828 001D7788 80 7E 07 B4 */ lwz r3, 0x7b4(r30) /* 801DA82C 001D778C 54 00 08 3C */ slwi r0, r0, 1 /* 801DA830 001D7790 7C 03 02 14 */ add r0, r3, r0 /* 801DA834 001D7794 90 61 00 8C */ stw r3, 0x8c(r1) /* 801DA838 001D7798 7C 64 1B 78 */ mr r4, r3 /* 801DA83C 001D779C 90 01 00 94 */ stw r0, 0x94(r1) /* 801DA840 001D77A0 90 01 00 90 */ stw r0, 0x90(r1) /* 801DA844 001D77A4 90 61 00 88 */ stw r3, 0x88(r1) /* 801DA848 001D77A8 48 00 00 08 */ b lbl_801DA850 lbl_801DA84C: /* 801DA84C 001D77AC 38 84 00 02 */ addi r4, r4, 2 lbl_801DA850: /* 801DA850 001D77B0 7C 04 00 40 */ cmplw r4, r0 /* 801DA854 001D77B4 40 82 FF F8 */ bne lbl_801DA84C /* 801DA858 001D77B8 28 03 00 00 */ cmplwi r3, 0 /* 801DA85C 001D77BC 41 82 00 08 */ beq lbl_801DA864 /* 801DA860 001D77C0 48 13 B0 D1 */ bl Free__7CMemoryFPCv lbl_801DA864: /* 801DA864 001D77C4 34 1E 07 98 */ addic. r0, r30, 0x798 /* 801DA868 001D77C8 41 82 00 44 */ beq lbl_801DA8AC /* 801DA86C 001D77CC 80 1E 07 9C */ lwz r0, 0x79c(r30) /* 801DA870 001D77D0 80 7E 07 A4 */ lwz r3, 0x7a4(r30) /* 801DA874 001D77D4 54 00 08 3C */ slwi r0, r0, 1 /* 801DA878 001D77D8 7C 03 02 14 */ add r0, r3, r0 /* 801DA87C 001D77DC 90 61 00 7C */ stw r3, 0x7c(r1) /* 801DA880 001D77E0 7C 64 1B 78 */ mr r4, r3 /* 801DA884 001D77E4 90 01 00 84 */ stw r0, 0x84(r1) /* 801DA888 001D77E8 90 01 00 80 */ stw r0, 0x80(r1) /* 801DA88C 001D77EC 90 61 00 78 */ stw r3, 0x78(r1) /* 801DA890 001D77F0 48 00 00 08 */ b lbl_801DA898 lbl_801DA894: /* 801DA894 001D77F4 38 84 00 02 */ addi r4, r4, 2 lbl_801DA898: /* 801DA898 001D77F8 7C 04 00 40 */ cmplw r4, r0 /* 801DA89C 001D77FC 40 82 FF F8 */ bne lbl_801DA894 /* 801DA8A0 001D7800 28 03 00 00 */ cmplwi r3, 0 /* 801DA8A4 001D7804 41 82 00 08 */ beq lbl_801DA8AC /* 801DA8A8 001D7808 48 13 B0 89 */ bl Free__7CMemoryFPCv lbl_801DA8AC: /* 801DA8AC 001D780C 34 1E 06 C0 */ addic. r0, r30, 0x6c0 /* 801DA8B0 001D7810 41 82 00 44 */ beq lbl_801DA8F4 /* 801DA8B4 001D7814 80 1E 06 C4 */ lwz r0, 0x6c4(r30) /* 801DA8B8 001D7818 80 7E 06 CC */ lwz r3, 0x6cc(r30) /* 801DA8BC 001D781C 54 00 08 3C */ slwi r0, r0, 1 /* 801DA8C0 001D7820 7C 03 02 14 */ add r0, r3, r0 /* 801DA8C4 001D7824 90 61 00 6C */ stw r3, 0x6c(r1) /* 801DA8C8 001D7828 7C 64 1B 78 */ mr r4, r3 /* 801DA8CC 001D782C 90 01 00 74 */ stw r0, 0x74(r1) /* 801DA8D0 001D7830 90 01 00 70 */ stw r0, 0x70(r1) /* 801DA8D4 001D7834 90 61 00 68 */ stw r3, 0x68(r1) /* 801DA8D8 001D7838 48 00 00 08 */ b lbl_801DA8E0 lbl_801DA8DC: /* 801DA8DC 001D783C 38 84 00 02 */ addi r4, r4, 2 lbl_801DA8E0: /* 801DA8E0 001D7840 7C 04 00 40 */ cmplw r4, r0 /* 801DA8E4 001D7844 40 82 FF F8 */ bne lbl_801DA8DC /* 801DA8E8 001D7848 28 03 00 00 */ cmplwi r3, 0 /* 801DA8EC 001D784C 41 82 00 08 */ beq lbl_801DA8F4 /* 801DA8F0 001D7850 48 13 B0 41 */ bl Free__7CMemoryFPCv lbl_801DA8F4: /* 801DA8F4 001D7854 34 1E 06 B0 */ addic. r0, r30, 0x6b0 /* 801DA8F8 001D7858 41 82 00 40 */ beq lbl_801DA938 /* 801DA8FC 001D785C 80 7E 06 BC */ lwz r3, 0x6bc(r30) /* 801DA900 001D7860 80 1E 06 B4 */ lwz r0, 0x6b4(r30) /* 801DA904 001D7864 90 61 00 5C */ stw r3, 0x5c(r1) /* 801DA908 001D7868 7C 83 02 14 */ add r4, r3, r0 /* 801DA90C 001D786C 7C 03 20 50 */ subf r0, r3, r4 /* 801DA910 001D7870 90 81 00 64 */ stw r4, 0x64(r1) /* 801DA914 001D7874 90 81 00 60 */ stw r4, 0x60(r1) /* 801DA918 001D7878 90 61 00 58 */ stw r3, 0x58(r1) /* 801DA91C 001D787C 7C 09 03 A6 */ mtctr r0 /* 801DA920 001D7880 7C 03 20 40 */ cmplw r3, r4 /* 801DA924 001D7884 41 82 00 08 */ beq lbl_801DA92C lbl_801DA928: /* 801DA928 001D7888 42 00 00 00 */ bdnz lbl_801DA928 lbl_801DA92C: /* 801DA92C 001D788C 28 03 00 00 */ cmplwi r3, 0 /* 801DA930 001D7890 41 82 00 08 */ beq lbl_801DA938 /* 801DA934 001D7894 48 13 AF FD */ bl Free__7CMemoryFPCv lbl_801DA938: /* 801DA938 001D7898 34 1E 06 64 */ addic. r0, r30, 0x664 /* 801DA93C 001D789C 41 82 00 58 */ beq lbl_801DA994 /* 801DA940 001D78A0 80 BE 06 64 */ lwz r5, 0x664(r30) /* 801DA944 001D78A4 38 60 00 00 */ li r3, 0 /* 801DA948 001D78A8 2C 05 00 00 */ cmpwi r5, 0 /* 801DA94C 001D78AC 40 81 00 40 */ ble lbl_801DA98C /* 801DA950 001D78B0 2C 05 00 08 */ cmpwi r5, 8 /* 801DA954 001D78B4 38 85 FF F8 */ addi r4, r5, -8 /* 801DA958 001D78B8 40 81 00 20 */ ble lbl_801DA978 /* 801DA95C 001D78BC 38 04 00 07 */ addi r0, r4, 7 /* 801DA960 001D78C0 54 00 E8 FE */ srwi r0, r0, 3 /* 801DA964 001D78C4 7C 09 03 A6 */ mtctr r0 /* 801DA968 001D78C8 2C 04 00 00 */ cmpwi r4, 0 /* 801DA96C 001D78CC 40 81 00 0C */ ble lbl_801DA978 lbl_801DA970: /* 801DA970 001D78D0 38 63 00 08 */ addi r3, r3, 8 /* 801DA974 001D78D4 42 00 FF FC */ bdnz lbl_801DA970 lbl_801DA978: /* 801DA978 001D78D8 7C 03 28 50 */ subf r0, r3, r5 /* 801DA97C 001D78DC 7C 09 03 A6 */ mtctr r0 /* 801DA980 001D78E0 7C 03 28 00 */ cmpw r3, r5 /* 801DA984 001D78E4 40 80 00 08 */ bge lbl_801DA98C lbl_801DA988: /* 801DA988 001D78E8 42 00 00 00 */ bdnz lbl_801DA988 lbl_801DA98C: /* 801DA98C 001D78EC 38 00 00 00 */ li r0, 0 /* 801DA990 001D78F0 90 1E 06 64 */ stw r0, 0x664(r30) lbl_801DA994: /* 801DA994 001D78F4 34 1E 06 34 */ addic. r0, r30, 0x634 /* 801DA998 001D78F8 41 82 00 44 */ beq lbl_801DA9DC /* 801DA99C 001D78FC 80 1E 06 38 */ lwz r0, 0x638(r30) /* 801DA9A0 001D7900 80 7E 06 40 */ lwz r3, 0x640(r30) /* 801DA9A4 001D7904 54 00 08 3C */ slwi r0, r0, 1 /* 801DA9A8 001D7908 7C 03 02 14 */ add r0, r3, r0 /* 801DA9AC 001D790C 90 61 00 4C */ stw r3, 0x4c(r1) /* 801DA9B0 001D7910 7C 64 1B 78 */ mr r4, r3 /* 801DA9B4 001D7914 90 01 00 54 */ stw r0, 0x54(r1) /* 801DA9B8 001D7918 90 01 00 50 */ stw r0, 0x50(r1) /* 801DA9BC 001D791C 90 61 00 48 */ stw r3, 0x48(r1) /* 801DA9C0 001D7920 48 00 00 08 */ b lbl_801DA9C8 lbl_801DA9C4: /* 801DA9C4 001D7924 38 84 00 02 */ addi r4, r4, 2 lbl_801DA9C8: /* 801DA9C8 001D7928 7C 04 00 40 */ cmplw r4, r0 /* 801DA9CC 001D792C 40 82 FF F8 */ bne lbl_801DA9C4 /* 801DA9D0 001D7930 28 03 00 00 */ cmplwi r3, 0 /* 801DA9D4 001D7934 41 82 00 08 */ beq lbl_801DA9DC /* 801DA9D8 001D7938 48 13 AF 59 */ bl Free__7CMemoryFPCv lbl_801DA9DC: /* 801DA9DC 001D793C 34 1E 06 20 */ addic. r0, r30, 0x620 /* 801DA9E0 001D7940 41 82 00 44 */ beq lbl_801DAA24 /* 801DA9E4 001D7944 80 1E 06 24 */ lwz r0, 0x624(r30) /* 801DA9E8 001D7948 80 7E 06 2C */ lwz r3, 0x62c(r30) /* 801DA9EC 001D794C 54 00 08 3C */ slwi r0, r0, 1 /* 801DA9F0 001D7950 7C 03 02 14 */ add r0, r3, r0 /* 801DA9F4 001D7954 90 61 00 3C */ stw r3, 0x3c(r1) /* 801DA9F8 001D7958 7C 64 1B 78 */ mr r4, r3 /* 801DA9FC 001D795C 90 01 00 44 */ stw r0, 0x44(r1) /* 801DAA00 001D7960 90 01 00 40 */ stw r0, 0x40(r1) /* 801DAA04 001D7964 90 61 00 38 */ stw r3, 0x38(r1) /* 801DAA08 001D7968 48 00 00 08 */ b lbl_801DAA10 lbl_801DAA0C: /* 801DAA0C 001D796C 38 84 00 02 */ addi r4, r4, 2 lbl_801DAA10: /* 801DAA10 001D7970 7C 04 00 40 */ cmplw r4, r0 /* 801DAA14 001D7974 40 82 FF F8 */ bne lbl_801DAA0C /* 801DAA18 001D7978 28 03 00 00 */ cmplwi r3, 0 /* 801DAA1C 001D797C 41 82 00 08 */ beq lbl_801DAA24 /* 801DAA20 001D7980 48 13 AF 11 */ bl Free__7CMemoryFPCv lbl_801DAA24: /* 801DAA24 001D7984 34 1E 06 10 */ addic. r0, r30, 0x610 /* 801DAA28 001D7988 41 82 00 44 */ beq lbl_801DAA6C /* 801DAA2C 001D798C 80 1E 06 14 */ lwz r0, 0x614(r30) /* 801DAA30 001D7990 80 7E 06 1C */ lwz r3, 0x61c(r30) /* 801DAA34 001D7994 54 00 08 3C */ slwi r0, r0, 1 /* 801DAA38 001D7998 7C 03 02 14 */ add r0, r3, r0 /* 801DAA3C 001D799C 90 61 00 2C */ stw r3, 0x2c(r1) /* 801DAA40 001D79A0 7C 64 1B 78 */ mr r4, r3 /* 801DAA44 001D79A4 90 01 00 34 */ stw r0, 0x34(r1) /* 801DAA48 001D79A8 90 01 00 30 */ stw r0, 0x30(r1) /* 801DAA4C 001D79AC 90 61 00 28 */ stw r3, 0x28(r1) /* 801DAA50 001D79B0 48 00 00 08 */ b lbl_801DAA58 lbl_801DAA54: /* 801DAA54 001D79B4 38 84 00 02 */ addi r4, r4, 2 lbl_801DAA58: /* 801DAA58 001D79B8 7C 04 00 40 */ cmplw r4, r0 /* 801DAA5C 001D79BC 40 82 FF F8 */ bne lbl_801DAA54 /* 801DAA60 001D79C0 28 03 00 00 */ cmplwi r3, 0 /* 801DAA64 001D79C4 41 82 00 08 */ beq lbl_801DAA6C /* 801DAA68 001D79C8 48 13 AE C9 */ bl Free__7CMemoryFPCv lbl_801DAA6C: /* 801DAA6C 001D79CC 34 1E 05 F8 */ addic. r0, r30, 0x5f8 /* 801DAA70 001D79D0 41 82 00 10 */ beq lbl_801DAA80 /* 801DAA74 001D79D4 80 7E 05 F8 */ lwz r3, 0x5f8(r30) /* 801DAA78 001D79D8 38 80 00 01 */ li r4, 1 /* 801DAA7C 001D79DC 4B FC CE 61 */ bl sub_801a78dc lbl_801DAA80: /* 801DAA80 001D79E0 34 1E 05 F4 */ addic. r0, r30, 0x5f4 /* 801DAA84 001D79E4 41 82 00 10 */ beq lbl_801DAA94 /* 801DAA88 001D79E8 80 7E 05 F4 */ lwz r3, 0x5f4(r30) /* 801DAA8C 001D79EC 38 80 00 01 */ li r4, 1 /* 801DAA90 001D79F0 4B FC CE 4D */ bl sub_801a78dc lbl_801DAA94: /* 801DAA94 001D79F4 34 1E 05 F0 */ addic. r0, r30, 0x5f0 /* 801DAA98 001D79F8 41 82 00 10 */ beq lbl_801DAAA8 /* 801DAA9C 001D79FC 80 7E 05 F0 */ lwz r3, 0x5f0(r30) /* 801DAAA0 001D7A00 38 80 00 01 */ li r4, 1 /* 801DAAA4 001D7A04 4B FC CE 39 */ bl sub_801a78dc lbl_801DAAA8: /* 801DAAA8 001D7A08 34 1E 05 DC */ addic. r0, r30, 0x5dc /* 801DAAAC 001D7A0C 41 82 00 50 */ beq lbl_801DAAFC /* 801DAAB0 001D7A10 80 1E 05 E0 */ lwz r0, 0x5e0(r30) /* 801DAAB4 001D7A14 83 9E 05 E8 */ lwz r28, 0x5e8(r30) /* 801DAAB8 001D7A18 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801DAABC 001D7A1C 93 81 00 1C */ stw r28, 0x1c(r1) /* 801DAAC0 001D7A20 7F BC 02 14 */ add r29, r28, r0 /* 801DAAC4 001D7A24 93 81 00 18 */ stw r28, 0x18(r1) /* 801DAAC8 001D7A28 93 A1 00 24 */ stw r29, 0x24(r1) /* 801DAACC 001D7A2C 93 A1 00 20 */ stw r29, 0x20(r1) /* 801DAAD0 001D7A30 48 00 00 14 */ b lbl_801DAAE4 lbl_801DAAD4: /* 801DAAD4 001D7A34 7F 83 E3 78 */ mr r3, r28 /* 801DAAD8 001D7A38 38 80 FF FF */ li r4, -1 /* 801DAADC 001D7A3C 4B F3 BF 71 */ bl __dt__10CModelDataFv /* 801DAAE0 001D7A40 3B 9C 00 4C */ addi r28, r28, 0x4c lbl_801DAAE4: /* 801DAAE4 001D7A44 7C 1C E8 40 */ cmplw r28, r29 /* 801DAAE8 001D7A48 40 82 FF EC */ bne lbl_801DAAD4 /* 801DAAEC 001D7A4C 80 7E 05 E8 */ lwz r3, 0x5e8(r30) /* 801DAAF0 001D7A50 28 03 00 00 */ cmplwi r3, 0 /* 801DAAF4 001D7A54 41 82 00 08 */ beq lbl_801DAAFC /* 801DAAF8 001D7A58 48 13 AE 39 */ bl Free__7CMemoryFPCv lbl_801DAAFC: /* 801DAAFC 001D7A5C 34 1E 05 CC */ addic. r0, r30, 0x5cc /* 801DAB00 001D7A60 41 82 00 50 */ beq lbl_801DAB50 /* 801DAB04 001D7A64 80 1E 05 D0 */ lwz r0, 0x5d0(r30) /* 801DAB08 001D7A68 83 9E 05 D8 */ lwz r28, 0x5d8(r30) /* 801DAB0C 001D7A6C 1C 00 00 4C */ mulli r0, r0, 0x4c /* 801DAB10 001D7A70 93 81 00 0C */ stw r28, 0xc(r1) /* 801DAB14 001D7A74 7F BC 02 14 */ add r29, r28, r0 /* 801DAB18 001D7A78 93 81 00 08 */ stw r28, 8(r1) /* 801DAB1C 001D7A7C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801DAB20 001D7A80 93 A1 00 10 */ stw r29, 0x10(r1) /* 801DAB24 001D7A84 48 00 00 14 */ b lbl_801DAB38 lbl_801DAB28: /* 801DAB28 001D7A88 7F 83 E3 78 */ mr r3, r28 /* 801DAB2C 001D7A8C 38 80 FF FF */ li r4, -1 /* 801DAB30 001D7A90 4B F3 BF 1D */ bl __dt__10CModelDataFv /* 801DAB34 001D7A94 3B 9C 00 4C */ addi r28, r28, 0x4c lbl_801DAB38: /* 801DAB38 001D7A98 7C 1C E8 40 */ cmplw r28, r29 /* 801DAB3C 001D7A9C 40 82 FF EC */ bne lbl_801DAB28 /* 801DAB40 001D7AA0 80 7E 05 D8 */ lwz r3, 0x5d8(r30) /* 801DAB44 001D7AA4 28 03 00 00 */ cmplwi r3, 0 /* 801DAB48 001D7AA8 41 82 00 08 */ beq lbl_801DAB50 /* 801DAB4C 001D7AAC 48 13 AD E5 */ bl Free__7CMemoryFPCv lbl_801DAB50: /* 801DAB50 001D7AB0 34 1E 05 78 */ addic. r0, r30, 0x578 /* 801DAB54 001D7AB4 41 82 00 8C */ beq lbl_801DABE0 /* 801DAB58 001D7AB8 38 DE 05 7C */ addi r6, r30, 0x57c /* 801DAB5C 001D7ABC 38 60 00 00 */ li r3, 0 /* 801DAB60 001D7AC0 48 00 00 6C */ b lbl_801DABCC lbl_801DAB64: /* 801DAB64 001D7AC4 28 06 00 00 */ cmplwi r6, 0 /* 801DAB68 001D7AC8 41 82 00 5C */ beq lbl_801DABC4 /* 801DAB6C 001D7ACC 80 E6 00 00 */ lwz r7, 0(r6) /* 801DAB70 001D7AD0 38 80 00 00 */ li r4, 0 /* 801DAB74 001D7AD4 2C 07 00 00 */ cmpwi r7, 0 /* 801DAB78 001D7AD8 40 81 00 44 */ ble lbl_801DABBC /* 801DAB7C 001D7ADC 2C 07 00 08 */ cmpwi r7, 8 /* 801DAB80 001D7AE0 38 A7 FF F8 */ addi r5, r7, -8 /* 801DAB84 001D7AE4 40 81 00 20 */ ble lbl_801DABA4 /* 801DAB88 001D7AE8 38 05 00 07 */ addi r0, r5, 7 /* 801DAB8C 001D7AEC 54 00 E8 FE */ srwi r0, r0, 3 /* 801DAB90 001D7AF0 7C 09 03 A6 */ mtctr r0 /* 801DAB94 001D7AF4 2C 05 00 00 */ cmpwi r5, 0 /* 801DAB98 001D7AF8 40 81 00 0C */ ble lbl_801DABA4 lbl_801DAB9C: /* 801DAB9C 001D7AFC 38 84 00 08 */ addi r4, r4, 8 /* 801DABA0 001D7B00 42 00 FF FC */ bdnz lbl_801DAB9C lbl_801DABA4: /* 801DABA4 001D7B04 7C 04 38 50 */ subf r0, r4, r7 /* 801DABA8 001D7B08 7C 09 03 A6 */ mtctr r0 /* 801DABAC 001D7B0C 7C 04 38 00 */ cmpw r4, r7 /* 801DABB0 001D7B10 40 80 00 0C */ bge lbl_801DABBC lbl_801DABB4: /* 801DABB4 001D7B14 38 84 00 01 */ addi r4, r4, 1 /* 801DABB8 001D7B18 42 00 FF FC */ bdnz lbl_801DABB4 lbl_801DABBC: /* 801DABBC 001D7B1C 38 00 00 00 */ li r0, 0 /* 801DABC0 001D7B20 90 06 00 00 */ stw r0, 0(r6) lbl_801DABC4: /* 801DABC4 001D7B24 38 C6 00 24 */ addi r6, r6, 0x24 /* 801DABC8 001D7B28 38 63 00 01 */ addi r3, r3, 1 lbl_801DABCC: /* 801DABCC 001D7B2C 80 1E 05 78 */ lwz r0, 0x578(r30) /* 801DABD0 001D7B30 7C 03 00 00 */ cmpw r3, r0 /* 801DABD4 001D7B34 41 80 FF 90 */ blt lbl_801DAB64 /* 801DABD8 001D7B38 38 00 00 00 */ li r0, 0 /* 801DABDC 001D7B3C 90 1E 05 78 */ stw r0, 0x578(r30) lbl_801DABE0: /* 801DABE0 001D7B40 7F C3 F3 78 */ mr r3, r30 /* 801DABE4 001D7B44 38 80 00 00 */ li r4, 0 /* 801DABE8 001D7B48 4B E9 C9 89 */ bl __dt__10CPatternedFv /* 801DABEC 001D7B4C 7F E0 07 35 */ extsh. r0, r31 /* 801DABF0 001D7B50 40 81 00 0C */ ble lbl_801DABFC /* 801DABF4 001D7B54 7F C3 F3 78 */ mr r3, r30 /* 801DABF8 001D7B58 48 13 AD 39 */ bl Free__7CMemoryFPCv lbl_801DABFC: /* 801DABFC 001D7B5C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801DAC00 001D7B60 7F C3 F3 78 */ mr r3, r30 /* 801DAC04 001D7B64 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 801DAC08 001D7B68 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 801DAC0C 001D7B6C 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 801DAC10 001D7B70 83 81 00 C0 */ lwz r28, 0xc0(r1) /* 801DAC14 001D7B74 7C 08 03 A6 */ mtlr r0 /* 801DAC18 001D7B78 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801DAC1C 001D7B7C 4E 80 00 20 */ blr .global CanRenderUnsorted__8CThardusCFRC13CStateManager CanRenderUnsorted__8CThardusCFRC13CStateManager: /* 801DAC20 001D7B80 38 60 00 00 */ li r3, 0 /* 801DAC24 001D7B84 4E 80 00 20 */ blr .global GetSearchPath__8CThardusFv GetSearchPath__8CThardusFv: /* 801DAC28 001D7B88 38 63 07 F0 */ addi r3, r3, 0x7f0 /* 801DAC2C 001D7B8C 4E 80 00 20 */ blr .global sub_801dac30 sub_801dac30: /* 801DAC30 001D7B90 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801DAC34 001D7B94 7C 08 02 A6 */ mflr r0 /* 801DAC38 001D7B98 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801DAC3C 001D7B9C DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 801DAC40 001D7BA0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 801DAC44 001D7BA4 BF 01 00 A0 */ stmw r24, 0xa0(r1) /* 801DAC48 001D7BA8 7C 99 23 78 */ mr r25, r4 /* 801DAC4C 001D7BAC 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 801DAC50 001D7BB0 83 B9 06 64 */ lwz r29, 0x664(r25) /* 801DAC54 001D7BB4 7C 78 1B 78 */ mr r24, r3 /* 801DAC58 001D7BB8 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) /* 801DAC5C 001D7BBC 7C BA 2B 78 */ mr r26, r5 /* 801DAC60 001D7BC0 C0 04 00 04 */ lfs f0, 4(r4) /* 801DAC64 001D7BC4 38 61 00 48 */ addi r3, r1, 0x48 /* 801DAC68 001D7BC8 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801DAC6C 001D7BCC D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801DAC70 001D7BD0 C0 59 00 50 */ lfs f2, 0x50(r25) /* 801DAC74 001D7BD4 C0 39 00 40 */ lfs f1, 0x40(r25) /* 801DAC78 001D7BD8 C0 19 00 60 */ lfs f0, 0x60(r25) /* 801DAC7C 001D7BDC D0 21 00 88 */ stfs f1, 0x88(r1) /* 801DAC80 001D7BE0 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801DAC84 001D7BE4 D0 01 00 90 */ stfs f0, 0x90(r1) /* 801DAC88 001D7BE8 48 13 95 79 */ bl __ct__9CVector2fFff /* 801DAC8C 001D7BEC C0 21 00 48 */ lfs f1, 0x48(r1) /* 801DAC90 001D7BF0 3B D9 06 68 */ addi r30, r25, 0x668 /* 801DAC94 001D7BF4 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801DAC98 001D7BF8 3B 80 00 00 */ li r28, 0 /* 801DAC9C 001D7BFC D0 21 00 60 */ stfs f1, 0x60(r1) /* 801DACA0 001D7C00 3B E0 00 00 */ li r31, 0 /* 801DACA4 001D7C04 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801DACA8 001D7C08 48 00 00 C8 */ b lbl_801DAD70 lbl_801DACAC: /* 801DACAC 001D7C0C 7C 1E FA 2E */ lhzx r0, r30, r31 /* 801DACB0 001D7C10 7F 43 D3 78 */ mr r3, r26 /* 801DACB4 001D7C14 38 81 00 08 */ addi r4, r1, 8 /* 801DACB8 001D7C18 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DACBC 001D7C1C B0 01 00 08 */ sth r0, 8(r1) /* 801DACC0 001D7C20 4B E7 18 E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DACC4 001D7C24 7C 64 1B 78 */ mr r4, r3 /* 801DACC8 001D7C28 38 61 00 10 */ addi r3, r1, 0x10 /* 801DACCC 001D7C2C 4B ED 13 B5 */ bl "__ct__22TCastToPtr<9CRepulsor>FP7CEntity" /* 801DACD0 001D7C30 83 63 00 04 */ lwz r27, 4(r3) /* 801DACD4 001D7C34 38 61 00 40 */ addi r3, r1, 0x40 /* 801DACD8 001D7C38 C0 5B 00 50 */ lfs f2, 0x50(r27) /* 801DACDC 001D7C3C C0 3B 00 40 */ lfs f1, 0x40(r27) /* 801DACE0 001D7C40 C0 1B 00 60 */ lfs f0, 0x60(r27) /* 801DACE4 001D7C44 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801DACE8 001D7C48 D0 41 00 80 */ stfs f2, 0x80(r1) /* 801DACEC 001D7C4C D0 01 00 84 */ stfs f0, 0x84(r1) /* 801DACF0 001D7C50 48 13 95 11 */ bl __ct__9CVector2fFff /* 801DACF4 001D7C54 C0 21 00 40 */ lfs f1, 0x40(r1) /* 801DACF8 001D7C58 38 61 00 38 */ addi r3, r1, 0x38 /* 801DACFC 001D7C5C C0 01 00 44 */ lfs f0, 0x44(r1) /* 801DAD00 001D7C60 38 81 00 60 */ addi r4, r1, 0x60 /* 801DAD04 001D7C64 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801DAD08 001D7C68 38 A1 00 58 */ addi r5, r1, 0x58 /* 801DAD0C 001D7C6C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801DAD10 001D7C70 C3 FB 00 E8 */ lfs f31, 0xe8(r27) /* 801DAD14 001D7C74 48 13 92 25 */ bl __mi__FRC9CVector2fRC9CVector2f /* 801DAD18 001D7C78 C0 21 00 38 */ lfs f1, 0x38(r1) /* 801DAD1C 001D7C7C 38 61 00 50 */ addi r3, r1, 0x50 /* 801DAD20 001D7C80 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801DAD24 001D7C84 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801DAD28 001D7C88 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801DAD2C 001D7C8C 48 13 93 B1 */ bl MagSquared__9CVector2fCFv /* 801DAD30 001D7C90 EC 1F 07 F2 */ fmuls f0, f31, f31 /* 801DAD34 001D7C94 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DAD38 001D7C98 40 80 00 30 */ bge lbl_801DAD68 /* 801DAD3C 001D7C9C 48 13 A7 C5 */ bl SqrtF__5CMathFf /* 801DAD40 001D7CA0 7F 25 CB 78 */ mr r5, r25 /* 801DAD44 001D7CA4 38 61 00 30 */ addi r3, r1, 0x30 /* 801DAD48 001D7CA8 38 99 04 5C */ addi r4, r25, 0x45c /* 801DAD4C 001D7CAC 38 C1 00 58 */ addi r6, r1, 0x58 /* 801DAD50 001D7CB0 4B F6 38 0D */ bl Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f /* 801DAD54 001D7CB4 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801DAD58 001D7CB8 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801DAD5C 001D7CBC D0 21 00 68 */ stfs f1, 0x68(r1) /* 801DAD60 001D7CC0 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801DAD64 001D7CC4 48 00 00 14 */ b lbl_801DAD78 lbl_801DAD68: /* 801DAD68 001D7CC8 3B 9C 00 01 */ addi r28, r28, 1 /* 801DAD6C 001D7CCC 3B FF 00 02 */ addi r31, r31, 2 lbl_801DAD70: /* 801DAD70 001D7CD0 7C 1C E8 40 */ cmplw r28, r29 /* 801DAD74 001D7CD4 41 80 FF 38 */ blt lbl_801DACAC lbl_801DAD78: /* 801DAD78 001D7CD8 38 61 00 68 */ addi r3, r1, 0x68 /* 801DAD7C 001D7CDC 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 801DAD80 001D7CE0 48 13 91 89 */ bl __eq__FRC9CVector2fRC9CVector2f /* 801DAD84 001D7CE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DAD88 001D7CE8 40 82 00 78 */ bne lbl_801DAE00 /* 801DAD8C 001D7CEC C0 59 07 80 */ lfs f2, 0x780(r25) /* 801DAD90 001D7CF0 38 61 00 20 */ addi r3, r1, 0x20 /* 801DAD94 001D7CF4 C0 39 07 70 */ lfs f1, 0x770(r25) /* 801DAD98 001D7CF8 C0 19 07 90 */ lfs f0, 0x790(r25) /* 801DAD9C 001D7CFC D0 21 00 70 */ stfs f1, 0x70(r1) /* 801DADA0 001D7D00 D0 41 00 74 */ stfs f2, 0x74(r1) /* 801DADA4 001D7D04 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801DADA8 001D7D08 48 13 94 59 */ bl __ct__9CVector2fFff /* 801DADAC 001D7D0C 7F 25 CB 78 */ mr r5, r25 /* 801DADB0 001D7D10 38 61 00 28 */ addi r3, r1, 0x28 /* 801DADB4 001D7D14 38 99 04 5C */ addi r4, r25, 0x45c /* 801DADB8 001D7D18 38 C1 00 20 */ addi r6, r1, 0x20 /* 801DADBC 001D7D1C 4B F6 36 F5 */ bl Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff /* 801DADC0 001D7D20 C0 21 00 68 */ lfs f1, 0x68(r1) /* 801DADC4 001D7D24 38 61 00 18 */ addi r3, r1, 0x18 /* 801DADC8 001D7D28 C0 42 AC DC */ lfs f2, lbl_805AC9FC@sda21(r2) /* 801DADCC 001D7D2C C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801DADD0 001D7D30 EC 21 00 B2 */ fmuls f1, f1, f2 /* 801DADD4 001D7D34 C0 81 00 28 */ lfs f4, 0x28(r1) /* 801DADD8 001D7D38 C0 62 AC D8 */ lfs f3, lbl_805AC9F8@sda21(r2) /* 801DADDC 001D7D3C EC 00 00 B2 */ fmuls f0, f0, f2 /* 801DADE0 001D7D40 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801DADE4 001D7D44 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801DADE8 001D7D48 EC 42 00 FA */ fmadds f2, f2, f3, f0 /* 801DADEC 001D7D4C 48 13 94 15 */ bl __ct__9CVector2fFff /* 801DADF0 001D7D50 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801DADF4 001D7D54 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801DADF8 001D7D58 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801DADFC 001D7D5C D0 01 00 6C */ stfs f0, 0x6c(r1) lbl_801DAE00: /* 801DAE00 001D7D60 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801DAE04 001D7D64 D0 18 00 00 */ stfs f0, 0(r24) /* 801DAE08 001D7D68 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801DAE0C 001D7D6C D0 18 00 04 */ stfs f0, 4(r24) /* 801DAE10 001D7D70 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 801DAE14 001D7D74 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 801DAE18 001D7D78 BB 01 00 A0 */ lmw r24, 0xa0(r1) /* 801DAE1C 001D7D7C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801DAE20 001D7D80 7C 08 03 A6 */ mtlr r0 /* 801DAE24 001D7D84 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801DAE28 001D7D88 4E 80 00 20 */ blr .global sub_801dae2c sub_801dae2c: /* 801DAE2C 001D7D8C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801DAE30 001D7D90 7C 08 02 A6 */ mflr r0 /* 801DAE34 001D7D94 90 01 00 84 */ stw r0, 0x84(r1) /* 801DAE38 001D7D98 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801DAE3C 001D7D9C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801DAE40 001D7DA0 BF 21 00 54 */ stmw r25, 0x54(r1) /* 801DAE44 001D7DA4 7C 7C 1B 78 */ mr r28, r3 /* 801DAE48 001D7DA8 7C 9D 23 78 */ mr r29, r4 /* 801DAE4C 001D7DAC 80 63 05 F0 */ lwz r3, 0x5f0(r3) /* 801DAE50 001D7DB0 7C BE 2B 78 */ mr r30, r5 /* 801DAE54 001D7DB4 4B FC C3 F5 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DAE58 001D7DB8 80 9C 06 1C */ lwz r4, 0x61c(r28) /* 801DAE5C 001D7DBC 57 D9 08 3C */ slwi r25, r30, 1 /* 801DAE60 001D7DC0 7C 7B 1B 78 */ mr r27, r3 /* 801DAE64 001D7DC4 7F A3 EB 78 */ mr r3, r29 /* 801DAE68 001D7DC8 7C 04 CA 2E */ lhzx r0, r4, r25 /* 801DAE6C 001D7DCC 38 81 00 18 */ addi r4, r1, 0x18 /* 801DAE70 001D7DD0 B0 01 00 20 */ sth r0, 0x20(r1) /* 801DAE74 001D7DD4 B0 01 00 18 */ sth r0, 0x18(r1) /* 801DAE78 001D7DD8 4B E7 16 FD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DAE7C 001D7DDC 7C 60 1B 78 */ mr r0, r3 /* 801DAE80 001D7DE0 80 7C 05 F0 */ lwz r3, 0x5f0(r28) /* 801DAE84 001D7DE4 7C 1F 03 78 */ mr r31, r0 /* 801DAE88 001D7DE8 7F C4 F3 78 */ mr r4, r30 /* 801DAE8C 001D7DEC 4B FC C3 AD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801DAE90 001D7DF0 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801DAE94 001D7DF4 7F A3 EB 78 */ mr r3, r29 /* 801DAE98 001D7DF8 38 81 00 14 */ addi r4, r1, 0x14 /* 801DAE9C 001D7DFC B0 01 00 1C */ sth r0, 0x1c(r1) /* 801DAEA0 001D7E00 B0 01 00 14 */ sth r0, 0x14(r1) /* 801DAEA4 001D7E04 4B E7 16 D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DAEA8 001D7E08 7C 64 1B 78 */ mr r4, r3 /* 801DAEAC 001D7E0C 38 61 00 24 */ addi r3, r1, 0x24 /* 801DAEB0 001D7E10 4B ED 44 9D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801DAEB4 001D7E14 28 1F 00 00 */ cmplwi r31, 0 /* 801DAEB8 001D7E18 83 43 00 04 */ lwz r26, 4(r3) /* 801DAEBC 001D7E1C 41 82 01 8C */ beq lbl_801DB048 /* 801DAEC0 001D7E20 28 1A 00 00 */ cmplwi r26, 0 /* 801DAEC4 001D7E24 41 82 01 84 */ beq lbl_801DB048 /* 801DAEC8 001D7E28 88 1F 03 35 */ lbz r0, 0x335(r31) /* 801DAECC 001D7E2C 28 00 00 00 */ cmplwi r0, 0 /* 801DAED0 001D7E30 40 82 01 78 */ bne lbl_801DB048 /* 801DAED4 001D7E34 7F E3 FB 78 */ mr r3, r31 /* 801DAED8 001D7E38 48 00 80 89 */ bl UsePhazonModel__16CDestroyableRockFv /* 801DAEDC 001D7E3C 38 1B FF FF */ addi r0, r27, -1 /* 801DAEE0 001D7E40 7C 1E 00 40 */ cmplw r30, r0 /* 801DAEE4 001D7E44 40 82 00 14 */ bne lbl_801DAEF8 /* 801DAEE8 001D7E48 C0 22 AC E0 */ lfs f1, lbl_805ACA00@sda21(r2) /* 801DAEEC 001D7E4C C0 1C 06 A4 */ lfs f0, 0x6a4(r28) /* 801DAEF0 001D7E50 EF E1 00 32 */ fmuls f31, f1, f0 /* 801DAEF4 001D7E54 48 00 00 08 */ b lbl_801DAEFC lbl_801DAEF8: /* 801DAEF8 001D7E58 C3 FC 06 A4 */ lfs f31, 0x6a4(r28) lbl_801DAEFC: /* 801DAEFC 001D7E5C 7F E3 FB 78 */ mr r3, r31 /* 801DAF00 001D7E60 7F A4 EB 78 */ mr r4, r29 /* 801DAF04 001D7E64 81 9F 00 00 */ lwz r12, 0(r31) /* 801DAF08 001D7E68 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DAF0C 001D7E6C 7D 89 03 A6 */ mtctr r12 /* 801DAF10 001D7E70 4E 80 04 21 */ bctrl /* 801DAF14 001D7E74 D3 E3 00 00 */ stfs f31, 0(r3) /* 801DAF18 001D7E78 7F A4 EB 78 */ mr r4, r29 /* 801DAF1C 001D7E7C C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DAF20 001D7E80 D0 03 00 04 */ stfs f0, 4(r3) /* 801DAF24 001D7E84 7F 43 D3 78 */ mr r3, r26 /* 801DAF28 001D7E88 81 9A 00 00 */ lwz r12, 0(r26) /* 801DAF2C 001D7E8C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DAF30 001D7E90 7D 89 03 A6 */ mtctr r12 /* 801DAF34 001D7E94 4E 80 04 21 */ bctrl /* 801DAF38 001D7E98 D3 E3 00 00 */ stfs f31, 0(r3) /* 801DAF3C 001D7E9C 38 00 00 01 */ li r0, 1 /* 801DAF40 001D7EA0 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DAF44 001D7EA4 38 81 00 10 */ addi r4, r1, 0x10 /* 801DAF48 001D7EA8 D0 03 00 04 */ stfs f0, 4(r3) /* 801DAF4C 001D7EAC 7F A3 EB 78 */ mr r3, r29 /* 801DAF50 001D7EB0 80 BC 06 BC */ lwz r5, 0x6bc(r28) /* 801DAF54 001D7EB4 7C 05 F1 AE */ stbx r0, r5, r30 /* 801DAF58 001D7EB8 80 BC 06 CC */ lwz r5, 0x6cc(r28) /* 801DAF5C 001D7EBC 7C 05 CA 2E */ lhzx r0, r5, r25 /* 801DAF60 001D7EC0 B0 01 00 10 */ sth r0, 0x10(r1) /* 801DAF64 001D7EC4 4B E7 16 11 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DAF68 001D7EC8 81 83 00 00 */ lwz r12, 0(r3) /* 801DAF6C 001D7ECC 38 80 00 01 */ li r4, 1 /* 801DAF70 001D7ED0 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801DAF74 001D7ED4 7D 89 03 A6 */ mtctr r12 /* 801DAF78 001D7ED8 4E 80 04 21 */ bctrl /* 801DAF7C 001D7EDC C0 02 AC E4 */ lfs f0, lbl_805ACA04@sda21(r2) /* 801DAF80 001D7EE0 D0 1F 03 2C */ stfs f0, 0x32c(r31) /* 801DAF84 001D7EE4 80 7D 08 B8 */ lwz r3, 0x8b8(r29) /* 801DAF88 001D7EE8 80 63 00 00 */ lwz r3, 0(r3) /* 801DAF8C 001D7EEC 80 03 00 14 */ lwz r0, 0x14(r3) /* 801DAF90 001D7EF0 2C 00 00 03 */ cmpwi r0, 3 /* 801DAF94 001D7EF4 40 82 00 14 */ bne lbl_801DAFA8 /* 801DAF98 001D7EF8 40 82 00 3C */ bne lbl_801DAFD4 /* 801DAF9C 001D7EFC 80 1C 07 C4 */ lwz r0, 0x7c4(r28) /* 801DAFA0 001D7F00 2C 00 00 03 */ cmpwi r0, 3 /* 801DAFA4 001D7F04 41 82 00 30 */ beq lbl_801DAFD4 lbl_801DAFA8: /* 801DAFA8 001D7F08 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801DAFAC 001D7F0C 7F 83 E3 78 */ mr r3, r28 /* 801DAFB0 001D7F10 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801DAFB4 001D7F14 7F A4 EB 78 */ mr r4, r29 /* 801DAFB8 001D7F18 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801DAFBC 001D7F1C 38 A1 00 2C */ addi r5, r1, 0x2c /* 801DAFC0 001D7F20 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801DAFC4 001D7F24 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801DAFC8 001D7F28 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801DAFCC 001D7F2C 80 DC 06 D4 */ lwz r6, 0x6d4(r28) /* 801DAFD0 001D7F30 48 00 14 75 */ bl sub_801dc444 lbl_801DAFD4: /* 801DAFD4 001D7F34 80 BC 09 18 */ lwz r5, 0x918(r28) /* 801DAFD8 001D7F38 57 C0 10 3A */ slwi r0, r30, 2 /* 801DAFDC 001D7F3C 7F 83 E3 78 */ mr r3, r28 /* 801DAFE0 001D7F40 7F A4 EB 78 */ mr r4, r29 /* 801DAFE4 001D7F44 7F E5 05 2E */ stfsx f31, r5, r0 /* 801DAFE8 001D7F48 7F E5 FB 78 */ mr r5, r31 /* 801DAFEC 001D7F4C 48 00 0C 71 */ bl sub_801dbc5c /* 801DAFF0 001D7F50 C0 9F 00 60 */ lfs f4, 0x60(r31) /* 801DAFF4 001D7F54 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DAFF8 001D7F58 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801DAFFC 001D7F5C 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801DB000 001D7F60 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801DB004 001D7F64 38 00 00 01 */ li r0, 1 /* 801DB008 001D7F68 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801DB00C 001D7F6C 7F 83 E3 78 */ mr r3, r28 /* 801DB010 001D7F70 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801DB014 001D7F74 39 21 00 38 */ addi r9, r1, 0x38 /* 801DB018 001D7F78 C0 42 AC E8 */ lfs f2, lbl_805ACA08@sda21(r2) /* 801DB01C 001D7F7C 38 A0 00 00 */ li r5, 0 /* 801DB020 001D7F80 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801DB024 001D7F84 38 C0 00 14 */ li r6, 0x14 /* 801DB028 001D7F88 C0 62 AC EC */ lfs f3, lbl_805ACA0C@sda21(r2) /* 801DB02C 001D7F8C 38 E0 00 7F */ li r7, 0x7f /* 801DB030 001D7F90 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801DB034 001D7F94 93 A1 00 08 */ stw r29, 8(r1) /* 801DB038 001D7F98 90 01 00 0C */ stw r0, 0xc(r1) /* 801DB03C 001D7F9C 80 9C 07 60 */ lwz r4, 0x760(r28) /* 801DB040 001D7FA0 81 5D 08 CC */ lwz r10, 0x8cc(r29) /* 801DB044 001D7FA4 4B E7 7E ED */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager lbl_801DB048: /* 801DB048 001D7FA8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801DB04C 001D7FAC CB E1 00 70 */ lfd f31, 0x70(r1) /* 801DB050 001D7FB0 BB 21 00 54 */ lmw r25, 0x54(r1) /* 801DB054 001D7FB4 80 01 00 84 */ lwz r0, 0x84(r1) /* 801DB058 001D7FB8 7C 08 03 A6 */ mtlr r0 /* 801DB05C 001D7FBC 38 21 00 80 */ addi r1, r1, 0x80 /* 801DB060 001D7FC0 4E 80 00 20 */ blr .global GetSortingBounds__8CThardusCFRC12CTransform4f GetSortingBounds__8CThardusCFRC12CTransform4f: /* 801DB064 001D7FC4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801DB068 001D7FC8 7C 08 02 A6 */ mflr r0 /* 801DB06C 001D7FCC 90 01 00 74 */ stw r0, 0x74(r1) /* 801DB070 001D7FD0 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801DB074 001D7FD4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801DB078 001D7FD8 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801DB07C 001D7FDC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801DB080 001D7FE0 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801DB084 001D7FE4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801DB088 001D7FE8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801DB08C 001D7FEC 38 84 00 9C */ addi r4, r4, 0x9c /* 801DB090 001D7FF0 7C 7F 1B 78 */ mr r31, r3 /* 801DB094 001D7FF4 C0 64 00 0C */ lfs f3, 0xc(r4) /* 801DB098 001D7FF8 38 61 00 20 */ addi r3, r1, 0x20 /* 801DB09C 001D7FFC C0 44 00 00 */ lfs f2, 0(r4) /* 801DB0A0 001D8000 C0 24 00 10 */ lfs f1, 0x10(r4) /* 801DB0A4 001D8004 C0 04 00 04 */ lfs f0, 4(r4) /* 801DB0A8 001D8008 EC 63 10 28 */ fsubs f3, f3, f2 /* 801DB0AC 001D800C C0 82 AC F0 */ lfs f4, lbl_805ACA10@sda21(r2) /* 801DB0B0 001D8010 EC 41 00 28 */ fsubs f2, f1, f0 /* 801DB0B4 001D8014 C0 24 00 14 */ lfs f1, 0x14(r4) /* 801DB0B8 001D8018 C0 04 00 08 */ lfs f0, 8(r4) /* 801DB0BC 001D801C EF A4 00 F2 */ fmuls f29, f4, f3 /* 801DB0C0 001D8020 EC 01 00 28 */ fsubs f0, f1, f0 /* 801DB0C4 001D8024 EF C4 00 B2 */ fmuls f30, f4, f2 /* 801DB0C8 001D8028 EF E4 00 32 */ fmuls f31, f4, f0 /* 801DB0CC 001D802C 48 15 C5 41 */ bl GetCenterPoint__6CAABoxCFv /* 801DB0D0 001D8030 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801DB0D4 001D8034 7F E3 FB 78 */ mr r3, r31 /* 801DB0D8 001D8038 C0 A1 00 28 */ lfs f5, 0x28(r1) /* 801DB0DC 001D803C 38 81 00 14 */ addi r4, r1, 0x14 /* 801DB0E0 001D8040 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801DB0E4 001D8044 EC 01 F0 2A */ fadds f0, f1, f30 /* 801DB0E8 001D8048 EC 65 F8 2A */ fadds f3, f5, f31 /* 801DB0EC 001D804C 38 A1 00 08 */ addi r5, r1, 8 /* 801DB0F0 001D8050 EC 82 E8 2A */ fadds f4, f2, f29 /* 801DB0F4 001D8054 EC 42 E8 28 */ fsubs f2, f2, f29 /* 801DB0F8 001D8058 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801DB0FC 001D805C EC 21 F0 28 */ fsubs f1, f1, f30 /* 801DB100 001D8060 EC 05 F8 28 */ fsubs f0, f5, f31 /* 801DB104 001D8064 D0 81 00 08 */ stfs f4, 8(r1) /* 801DB108 001D8068 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801DB10C 001D806C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801DB110 001D8070 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801DB114 001D8074 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801DB118 001D8078 48 15 D3 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801DB11C 001D807C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801DB120 001D8080 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801DB124 001D8084 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801DB128 001D8088 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801DB12C 001D808C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801DB130 001D8090 CB A1 00 40 */ lfd f29, 0x40(r1) /* 801DB134 001D8094 80 01 00 74 */ lwz r0, 0x74(r1) /* 801DB138 001D8098 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801DB13C 001D809C 7C 08 03 A6 */ mtlr r0 /* 801DB140 001D80A0 38 21 00 70 */ addi r1, r1, 0x70 /* 801DB144 001D80A4 4E 80 00 20 */ blr .global sub_801db148 sub_801db148: /* 801DB148 001D80A8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801DB14C 001D80AC 7C 08 02 A6 */ mflr r0 /* 801DB150 001D80B0 90 01 00 54 */ stw r0, 0x54(r1) /* 801DB154 001D80B4 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801DB158 001D80B8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801DB15C 001D80BC DB C1 00 30 */ stfd f30, 0x30(r1) /* 801DB160 001D80C0 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801DB164 001D80C4 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801DB168 001D80C8 7C 7A 1B 78 */ mr r26, r3 /* 801DB16C 001D80CC C3 C2 AC DC */ lfs f30, lbl_805AC9FC@sda21(r2) /* 801DB170 001D80D0 83 A3 06 14 */ lwz r29, 0x614(r3) /* 801DB174 001D80D4 7C 9B 23 78 */ mr r27, r4 /* 801DB178 001D80D8 83 83 06 48 */ lwz r28, 0x648(r3) /* 801DB17C 001D80DC 3B DD FF FF */ addi r30, r29, -1 /* 801DB180 001D80E0 57 9F 08 3C */ slwi r31, r28, 1 /* 801DB184 001D80E4 48 00 00 74 */ b lbl_801DB1F8 lbl_801DB188: /* 801DB188 001D80E8 7C 1C F0 40 */ cmplw r28, r30 /* 801DB18C 001D80EC 40 82 00 14 */ bne lbl_801DB1A0 /* 801DB190 001D80F0 C0 22 AC E0 */ lfs f1, lbl_805ACA00@sda21(r2) /* 801DB194 001D80F4 C0 1A 06 A4 */ lfs f0, 0x6a4(r26) /* 801DB198 001D80F8 EF E1 00 32 */ fmuls f31, f1, f0 /* 801DB19C 001D80FC 48 00 00 08 */ b lbl_801DB1A4 lbl_801DB1A0: /* 801DB1A0 001D8100 C3 FA 06 A4 */ lfs f31, 0x6a4(r26) lbl_801DB1A4: /* 801DB1A4 001D8104 80 BA 06 1C */ lwz r5, 0x61c(r26) /* 801DB1A8 001D8108 7F 63 DB 78 */ mr r3, r27 /* 801DB1AC 001D810C 38 81 00 08 */ addi r4, r1, 8 /* 801DB1B0 001D8110 7C 05 FA 2E */ lhzx r0, r5, r31 /* 801DB1B4 001D8114 B0 01 00 08 */ sth r0, 8(r1) /* 801DB1B8 001D8118 4B E7 13 BD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DB1BC 001D811C 28 03 00 00 */ cmplwi r3, 0 /* 801DB1C0 001D8120 41 82 00 30 */ beq lbl_801DB1F0 /* 801DB1C4 001D8124 88 03 03 35 */ lbz r0, 0x335(r3) /* 801DB1C8 001D8128 28 00 00 00 */ cmplwi r0, 0 /* 801DB1CC 001D812C 40 82 00 08 */ bne lbl_801DB1D4 /* 801DB1D0 001D8130 EF DE F8 2A */ fadds f30, f30, f31 lbl_801DB1D4: /* 801DB1D4 001D8134 81 83 00 00 */ lwz r12, 0(r3) /* 801DB1D8 001D8138 7F 64 DB 78 */ mr r4, r27 /* 801DB1DC 001D813C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DB1E0 001D8140 7D 89 03 A6 */ mtctr r12 /* 801DB1E4 001D8144 4E 80 04 21 */ bctrl /* 801DB1E8 001D8148 C0 03 00 00 */ lfs f0, 0(r3) /* 801DB1EC 001D814C EF DE 00 2A */ fadds f30, f30, f0 lbl_801DB1F0: /* 801DB1F0 001D8150 3B 9C 00 01 */ addi r28, r28, 1 /* 801DB1F4 001D8154 3B FF 00 02 */ addi r31, r31, 2 lbl_801DB1F8: /* 801DB1F8 001D8158 7C 1C E8 40 */ cmplw r28, r29 /* 801DB1FC 001D815C 41 80 FF 8C */ blt lbl_801DB188 /* 801DB200 001D8160 7F 43 D3 78 */ mr r3, r26 /* 801DB204 001D8164 7F 64 DB 78 */ mr r4, r27 /* 801DB208 001D8168 81 9A 00 00 */ lwz r12, 0(r26) /* 801DB20C 001D816C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DB210 001D8170 7D 89 03 A6 */ mtctr r12 /* 801DB214 001D8174 4E 80 04 21 */ bctrl /* 801DB218 001D8178 D3 C3 00 00 */ stfs f30, 0(r3) /* 801DB21C 001D817C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801DB220 001D8180 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801DB224 001D8184 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801DB228 001D8188 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801DB22C 001D818C BB 41 00 18 */ lmw r26, 0x18(r1) /* 801DB230 001D8190 80 01 00 54 */ lwz r0, 0x54(r1) /* 801DB234 001D8194 7C 08 03 A6 */ mtlr r0 /* 801DB238 001D8198 38 21 00 50 */ addi r1, r1, 0x50 /* 801DB23C 001D819C 4E 80 00 20 */ blr .global CodeTrigger__8CThardusFR13CStateManagerf CodeTrigger__8CThardusFR13CStateManagerf: /* 801DB240 001D81A0 88 63 09 5C */ lbz r3, 0x95c(r3) /* 801DB244 001D81A4 4E 80 00 20 */ blr .global Faint__8CThardusFR13CStateManager9EStateMsgf Faint__8CThardusFR13CStateManager9EStateMsgf: /* 801DB248 001D81A8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801DB24C 001D81AC 7C 08 02 A6 */ mflr r0 /* 801DB250 001D81B0 2C 05 00 01 */ cmpwi r5, 1 /* 801DB254 001D81B4 90 01 00 44 */ stw r0, 0x44(r1) /* 801DB258 001D81B8 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 801DB25C 001D81BC 7C 7B 1B 78 */ mr r27, r3 /* 801DB260 001D81C0 7C 9C 23 78 */ mr r28, r4 /* 801DB264 001D81C4 41 82 00 94 */ beq lbl_801DB2F8 /* 801DB268 001D81C8 40 80 01 84 */ bge lbl_801DB3EC /* 801DB26C 001D81CC 2C 05 00 00 */ cmpwi r5, 0 /* 801DB270 001D81D0 40 80 00 0C */ bge lbl_801DB27C /* 801DB274 001D81D4 48 00 01 78 */ b lbl_801DB3EC /* 801DB278 001D81D8 48 00 01 74 */ b lbl_801DB3EC lbl_801DB27C: /* 801DB27C 001D81DC 38 00 00 00 */ li r0, 0 /* 801DB280 001D81E0 7F 85 E3 78 */ mr r5, r28 /* 801DB284 001D81E4 90 1B 05 EC */ stw r0, 0x5ec(r27) /* 801DB288 001D81E8 38 80 FF FF */ li r4, -1 /* 801DB28C 001D81EC 98 1B 09 3C */ stb r0, 0x93c(r27) /* 801DB290 001D81F0 48 00 02 D1 */ bl sub_801db560 /* 801DB294 001D81F4 83 DB 07 9C */ lwz r30, 0x79c(r27) /* 801DB298 001D81F8 3B A0 00 00 */ li r29, 0 /* 801DB29C 001D81FC 3B E0 00 00 */ li r31, 0 /* 801DB2A0 001D8200 48 00 00 44 */ b lbl_801DB2E4 lbl_801DB2A4: /* 801DB2A4 001D8204 80 BB 07 A4 */ lwz r5, 0x7a4(r27) /* 801DB2A8 001D8208 7F 83 E3 78 */ mr r3, r28 /* 801DB2AC 001D820C 38 81 00 08 */ addi r4, r1, 8 /* 801DB2B0 001D8210 7C 05 FA 2E */ lhzx r0, r5, r31 /* 801DB2B4 001D8214 B0 01 00 08 */ sth r0, 8(r1) /* 801DB2B8 001D8218 4B E7 12 BD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DB2BC 001D821C 7C 64 1B 78 */ mr r4, r3 /* 801DB2C0 001D8220 38 61 00 0C */ addi r3, r1, 0xc /* 801DB2C4 001D8224 4B EC A0 D9 */ bl sub_800a539c /* 801DB2C8 001D8228 4B EC A0 A9 */ bl "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity" /* 801DB2CC 001D822C 28 03 00 00 */ cmplwi r3, 0 /* 801DB2D0 001D8230 41 82 00 0C */ beq lbl_801DB2DC /* 801DB2D4 001D8234 7F 84 E3 78 */ mr r4, r28 /* 801DB2D8 001D8238 48 02 8A 81 */ bl sub_80203d58 lbl_801DB2DC: /* 801DB2DC 001D823C 3B BD 00 01 */ addi r29, r29, 1 /* 801DB2E0 001D8240 3B FF 00 02 */ addi r31, r31, 2 lbl_801DB2E4: /* 801DB2E4 001D8244 7C 1D F0 40 */ cmplw r29, r30 /* 801DB2E8 001D8248 41 80 FF BC */ blt lbl_801DB2A4 /* 801DB2EC 001D824C 38 00 00 01 */ li r0, 1 /* 801DB2F0 001D8250 98 1B 09 4D */ stb r0, 0x94d(r27) /* 801DB2F4 001D8254 48 00 00 F8 */ b lbl_801DB3EC lbl_801DB2F8: /* 801DB2F8 001D8258 80 1B 05 EC */ lwz r0, 0x5ec(r27) /* 801DB2FC 001D825C 2C 00 00 01 */ cmpwi r0, 1 /* 801DB300 001D8260 41 82 00 EC */ beq lbl_801DB3EC /* 801DB304 001D8264 40 80 00 10 */ bge lbl_801DB314 /* 801DB308 001D8268 2C 00 00 00 */ cmpwi r0, 0 /* 801DB30C 001D826C 40 80 00 14 */ bge lbl_801DB320 /* 801DB310 001D8270 48 00 00 DC */ b lbl_801DB3EC lbl_801DB314: /* 801DB314 001D8274 2C 00 00 03 */ cmpwi r0, 3 /* 801DB318 001D8278 40 80 00 D4 */ bge lbl_801DB3EC /* 801DB31C 001D827C 48 00 00 B8 */ b lbl_801DB3D4 lbl_801DB320: /* 801DB320 001D8280 80 FB 04 50 */ lwz r7, 0x450(r27) /* 801DB324 001D8284 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 801DB328 001D8288 2C 00 00 06 */ cmpwi r0, 6 /* 801DB32C 001D828C 40 82 00 10 */ bne lbl_801DB33C /* 801DB330 001D8290 38 00 00 02 */ li r0, 2 /* 801DB334 001D8294 90 1B 05 EC */ stw r0, 0x5ec(r27) /* 801DB338 001D8298 48 00 00 B4 */ b lbl_801DB3EC lbl_801DB33C: /* 801DB33C 001D829C 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801DB340 001D82A0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DB344 001D82A4 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801DB348 001D82A8 38 A5 AA 68 */ addi r5, r5, lbl_803DAA68@l /* 801DB34C 001D82AC 3C 80 80 3E */ lis r4, lbl_803DAA44@ha /* 801DB350 001D82B0 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DB354 001D82B4 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l /* 801DB358 001D82B8 C0 23 00 04 */ lfs f1, 4(r3) /* 801DB35C 001D82BC C0 03 00 08 */ lfs f0, 8(r3) /* 801DB360 001D82C0 38 C0 00 04 */ li r6, 4 /* 801DB364 001D82C4 38 00 00 06 */ li r0, 6 /* 801DB368 001D82C8 3B E7 00 04 */ addi r31, r7, 4 /* 801DB36C 001D82CC 90 C1 00 14 */ stw r6, 0x14(r1) /* 801DB370 001D82D0 38 80 00 04 */ li r4, 4 /* 801DB374 001D82D4 7F E3 FB 78 */ mr r3, r31 /* 801DB378 001D82D8 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DB37C 001D82DC D0 41 00 18 */ stfs f2, 0x18(r1) /* 801DB380 001D82E0 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801DB384 001D82E4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801DB388 001D82E8 90 01 00 24 */ stw r0, 0x24(r1) /* 801DB38C 001D82EC 4B F5 60 AD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DB390 001D82F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DB394 001D82F4 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 801DB398 001D82F8 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 801DB39C 001D82FC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DB3A0 001D8300 90 1F 00 F8 */ stw r0, 0xf8(r31) /* 801DB3A4 001D8304 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DB3A8 001D8308 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801DB3AC 001D830C 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801DB3B0 001D8310 90 BF 00 FC */ stw r5, 0xfc(r31) /* 801DB3B4 001D8314 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801DB3B8 001D8318 90 7F 01 00 */ stw r3, 0x100(r31) /* 801DB3BC 001D831C 80 61 00 24 */ lwz r3, 0x24(r1) /* 801DB3C0 001D8320 90 BF 01 04 */ stw r5, 0x104(r31) /* 801DB3C4 001D8324 90 81 00 10 */ stw r4, 0x10(r1) /* 801DB3C8 001D8328 90 7F 01 08 */ stw r3, 0x108(r31) /* 801DB3CC 001D832C 90 01 00 10 */ stw r0, 0x10(r1) /* 801DB3D0 001D8330 48 00 00 1C */ b lbl_801DB3EC lbl_801DB3D4: /* 801DB3D4 001D8334 80 7B 04 50 */ lwz r3, 0x450(r27) /* 801DB3D8 001D8338 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DB3DC 001D833C 2C 00 00 06 */ cmpwi r0, 6 /* 801DB3E0 001D8340 41 82 00 0C */ beq lbl_801DB3EC /* 801DB3E4 001D8344 38 00 00 03 */ li r0, 3 /* 801DB3E8 001D8348 90 1B 05 EC */ stw r0, 0x5ec(r27) lbl_801DB3EC: /* 801DB3EC 001D834C BB 61 00 2C */ lmw r27, 0x2c(r1) /* 801DB3F0 001D8350 80 01 00 44 */ lwz r0, 0x44(r1) /* 801DB3F4 001D8354 7C 08 03 A6 */ mtlr r0 /* 801DB3F8 001D8358 38 21 00 40 */ addi r1, r1, 0x40 /* 801DB3FC 001D835C 4E 80 00 20 */ blr .global DoubleSnap__8CThardusFR13CStateManager9EStateMsgf DoubleSnap__8CThardusFR13CStateManager9EStateMsgf: /* 801DB400 001D8360 4E 80 00 20 */ blr .global GetAimPosition__8CThardusCFRC13CStateManagerf GetAimPosition__8CThardusCFRC13CStateManagerf: /* 801DB404 001D8364 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801DB408 001D8368 7C 08 02 A6 */ mflr r0 /* 801DB40C 001D836C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801DB410 001D8370 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801DB414 001D8374 7C 9F 23 78 */ mr r31, r4 /* 801DB418 001D8378 93 C1 00 98 */ stw r30, 0x98(r1) /* 801DB41C 001D837C 7C 7E 1B 78 */ mr r30, r3 /* 801DB420 001D8380 93 A1 00 94 */ stw r29, 0x94(r1) /* 801DB424 001D8384 3B A0 00 00 */ li r29, 0 /* 801DB428 001D8388 93 81 00 90 */ stw r28, 0x90(r1) /* 801DB42C 001D838C 3B 80 00 00 */ li r28, 0 /* 801DB430 001D8390 88 04 09 3C */ lbz r0, 0x93c(r4) /* 801DB434 001D8394 28 00 00 00 */ cmplwi r0, 0 /* 801DB438 001D8398 41 82 00 2C */ beq lbl_801DB464 /* 801DB43C 001D839C 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DB440 001D83A0 38 61 00 20 */ addi r3, r1, 0x20 /* 801DB444 001D83A4 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DB448 001D83A8 38 C1 00 0C */ addi r6, r1, 0xc /* 801DB44C 001D83AC 38 84 01 7C */ addi r4, r4, 0x17c /* 801DB450 001D83B0 38 A0 FF FF */ li r5, -1 /* 801DB454 001D83B4 48 16 2D 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801DB458 001D83B8 38 A1 00 20 */ addi r5, r1, 0x20 /* 801DB45C 001D83BC 3B A0 00 01 */ li r29, 1 /* 801DB460 001D83C0 48 00 00 24 */ b lbl_801DB484 lbl_801DB464: /* 801DB464 001D83C4 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DB468 001D83C8 38 61 00 10 */ addi r3, r1, 0x10 /* 801DB46C 001D83CC 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DB470 001D83D0 38 C1 00 08 */ addi r6, r1, 8 /* 801DB474 001D83D4 38 A0 FF FF */ li r5, -1 /* 801DB478 001D83D8 48 16 2D 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801DB47C 001D83DC 3B 80 00 01 */ li r28, 1 /* 801DB480 001D83E0 38 A1 00 10 */ addi r5, r1, 0x10 lbl_801DB484: /* 801DB484 001D83E4 7F E4 FB 78 */ mr r4, r31 /* 801DB488 001D83E8 38 61 00 30 */ addi r3, r1, 0x30 /* 801DB48C 001D83EC 4B E9 D4 ED */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DB490 001D83F0 38 61 00 60 */ addi r3, r1, 0x60 /* 801DB494 001D83F4 38 81 00 30 */ addi r4, r1, 0x30 /* 801DB498 001D83F8 48 13 76 DD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801DB49C 001D83FC 7F 80 07 75 */ extsb. r0, r28 /* 801DB4A0 001D8400 41 82 00 0C */ beq lbl_801DB4AC /* 801DB4A4 001D8404 38 61 00 10 */ addi r3, r1, 0x10 /* 801DB4A8 001D8408 48 16 26 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DB4AC: /* 801DB4AC 001D840C 7F A0 07 75 */ extsb. r0, r29 /* 801DB4B0 001D8410 41 82 00 0C */ beq lbl_801DB4BC /* 801DB4B4 001D8414 38 61 00 20 */ addi r3, r1, 0x20 /* 801DB4B8 001D8418 48 16 26 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DB4BC: /* 801DB4BC 001D841C C0 41 00 8C */ lfs f2, 0x8c(r1) /* 801DB4C0 001D8420 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801DB4C4 001D8424 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801DB4C8 001D8428 D0 1E 00 00 */ stfs f0, 0(r30) /* 801DB4CC 001D842C D0 3E 00 04 */ stfs f1, 4(r30) /* 801DB4D0 001D8430 D0 5E 00 08 */ stfs f2, 8(r30) /* 801DB4D4 001D8434 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801DB4D8 001D8438 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801DB4DC 001D843C 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801DB4E0 001D8440 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801DB4E4 001D8444 83 81 00 90 */ lwz r28, 0x90(r1) /* 801DB4E8 001D8448 7C 08 03 A6 */ mtlr r0 /* 801DB4EC 001D844C 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801DB4F0 001D8450 4E 80 00 20 */ blr .global GetOrbitPosition__8CThardusCFRC13CStateManager GetOrbitPosition__8CThardusCFRC13CStateManager: /* 801DB4F4 001D8454 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DB4F8 001D8458 7C 08 02 A6 */ mflr r0 /* 801DB4FC 001D845C C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DB500 001D8460 90 01 00 14 */ stw r0, 0x14(r1) /* 801DB504 001D8464 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DB508 001D8468 7C 7F 1B 78 */ mr r31, r3 /* 801DB50C 001D846C 81 84 00 00 */ lwz r12, 0(r4) /* 801DB510 001D8470 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801DB514 001D8474 7D 89 03 A6 */ mtctr r12 /* 801DB518 001D8478 4E 80 04 21 */ bctrl /* 801DB51C 001D847C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DB520 001D8480 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DB524 001D8484 7C 08 03 A6 */ mtlr r0 /* 801DB528 001D8488 38 21 00 10 */ addi r1, r1, 0x10 /* 801DB52C 001D848C 4E 80 00 20 */ blr .global IsDizzy__8CThardusFR13CStateManagerf IsDizzy__8CThardusFR13CStateManagerf: /* 801DB530 001D8490 C0 23 03 38 */ lfs f1, 0x338(r3) /* 801DB534 001D8494 C0 02 AC F4 */ lfs f0, lbl_805ACA14@sda21(r2) /* 801DB538 001D8498 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DB53C 001D849C 7C 00 00 26 */ mfcr r0 /* 801DB540 001D84A0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801DB544 001D84A4 4E 80 00 20 */ blr .global ShouldCallForBackup__8CThardusFR13CStateManagerf ShouldCallForBackup__8CThardusFR13CStateManagerf: /* 801DB548 001D84A8 C0 23 03 38 */ lfs f1, 0x338(r3) /* 801DB54C 001D84AC C0 02 AC F8 */ lfs f0, lbl_805ACA18@sda21(r2) /* 801DB550 001D84B0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DB554 001D84B4 7C 00 00 26 */ mfcr r0 /* 801DB558 001D84B8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801DB55C 001D84BC 4E 80 00 20 */ blr .global sub_801db560 sub_801db560: /* 801DB560 001D84C0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DB564 001D84C4 7C 08 02 A6 */ mflr r0 /* 801DB568 001D84C8 2C 04 00 02 */ cmpwi r4, 2 /* 801DB56C 001D84CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801DB570 001D84D0 90 83 06 44 */ stw r4, 0x644(r3) /* 801DB574 001D84D4 41 82 00 14 */ beq lbl_801DB588 /* 801DB578 001D84D8 40 80 00 2C */ bge lbl_801DB5A4 /* 801DB57C 001D84DC 2C 04 00 01 */ cmpwi r4, 1 /* 801DB580 001D84E0 40 80 00 18 */ bge lbl_801DB598 /* 801DB584 001D84E4 48 00 00 20 */ b lbl_801DB5A4 lbl_801DB588: /* 801DB588 001D84E8 38 80 00 0D */ li r4, 0xd /* 801DB58C 001D84EC 38 C0 FF FF */ li r6, -1 /* 801DB590 001D84F0 4B E7 5B 31 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801DB594 001D84F4 48 00 00 10 */ b lbl_801DB5A4 lbl_801DB598: /* 801DB598 001D84F8 38 80 00 0C */ li r4, 0xc /* 801DB59C 001D84FC 38 C0 FF FF */ li r6, -1 /* 801DB5A0 001D8500 4B E7 5B 21 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801DB5A4: /* 801DB5A4 001D8504 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DB5A8 001D8508 7C 08 03 A6 */ mtlr r0 /* 801DB5AC 001D850C 38 21 00 10 */ addi r1, r1, 0x10 /* 801DB5B0 001D8510 4E 80 00 20 */ blr .global sub_801db5b4 sub_801db5b4: /* 801DB5B4 001D8514 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DB5B8 001D8518 7C 08 02 A6 */ mflr r0 /* 801DB5BC 001D851C 90 01 00 14 */ stw r0, 0x14(r1) /* 801DB5C0 001D8520 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DB5C4 001D8524 7C 7F 1B 78 */ mr r31, r3 /* 801DB5C8 001D8528 80 A4 08 B8 */ lwz r5, 0x8b8(r4) /* 801DB5CC 001D852C 80 65 00 00 */ lwz r3, 0(r5) /* 801DB5D0 001D8530 4B EB 5F 89 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801DB5D4 001D8534 2C 03 00 03 */ cmpwi r3, 3 /* 801DB5D8 001D8538 40 82 00 28 */ bne lbl_801DB600 /* 801DB5DC 001D853C 88 1F 09 3A */ lbz r0, 0x93a(r31) /* 801DB5E0 001D8540 38 60 00 00 */ li r3, 0 /* 801DB5E4 001D8544 28 00 00 00 */ cmplwi r0, 0 /* 801DB5E8 001D8548 41 82 00 10 */ beq lbl_801DB5F8 /* 801DB5EC 001D854C 80 1F 07 C4 */ lwz r0, 0x7c4(r31) /* 801DB5F0 001D8550 2C 00 00 00 */ cmpwi r0, 0 /* 801DB5F4 001D8554 40 82 00 10 */ bne lbl_801DB604 lbl_801DB5F8: /* 801DB5F8 001D8558 38 60 00 01 */ li r3, 1 /* 801DB5FC 001D855C 48 00 00 08 */ b lbl_801DB604 lbl_801DB600: /* 801DB600 001D8560 38 60 00 01 */ li r3, 1 lbl_801DB604: /* 801DB604 001D8564 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DB608 001D8568 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DB60C 001D856C 7C 08 03 A6 */ mtlr r0 /* 801DB610 001D8570 38 21 00 10 */ addi r1, r1, 0x10 /* 801DB614 001D8574 4E 80 00 20 */ blr .global sub_801db618 sub_801db618: /* 801DB618 001D8578 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801DB61C 001D857C 7C 08 02 A6 */ mflr r0 /* 801DB620 001D8580 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801DB624 001D8584 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 801DB628 001D8588 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801DB62C 001D858C DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801DB630 001D8590 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801DB634 001D8594 DB A1 00 90 */ stfd f29, 0x90(r1) /* 801DB638 001D8598 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 801DB63C 001D859C DB 81 00 80 */ stfd f28, 0x80(r1) /* 801DB640 001D85A0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 /* 801DB644 001D85A4 DB 61 00 70 */ stfd f27, 0x70(r1) /* 801DB648 001D85A8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 /* 801DB64C 001D85AC DB 41 00 60 */ stfd f26, 0x60(r1) /* 801DB650 001D85B0 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 /* 801DB654 001D85B4 DB 21 00 50 */ stfd f25, 0x50(r1) /* 801DB658 001D85B8 F3 21 00 58 */ psq_st f25, 88(r1), 0, qr0 /* 801DB65C 001D85BC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801DB660 001D85C0 93 C1 00 48 */ stw r30, 0x48(r1) /* 801DB664 001D85C4 FF E0 08 90 */ fmr f31, f1 /* 801DB668 001D85C8 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DB66C 001D85CC 7C 9E 23 78 */ mr r30, r4 /* 801DB670 001D85D0 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801DB674 001D85D4 40 81 01 70 */ ble lbl_801DB7E4 /* 801DB678 001D85D8 83 FE 08 4C */ lwz r31, 0x84c(r30) /* 801DB67C 001D85DC C0 23 00 50 */ lfs f1, 0x50(r3) /* 801DB680 001D85E0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801DB684 001D85E4 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801DB688 001D85E8 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801DB68C 001D85EC EC 81 00 28 */ fsubs f4, f1, f0 /* 801DB690 001D85F0 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801DB694 001D85F4 38 61 00 34 */ addi r3, r1, 0x34 /* 801DB698 001D85F8 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801DB69C 001D85FC EC 43 10 28 */ fsubs f2, f3, f2 /* 801DB6A0 001D8600 EC 01 00 28 */ fsubs f0, f1, f0 /* 801DB6A4 001D8604 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801DB6A8 001D8608 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801DB6AC 001D860C D0 01 00 34 */ stfs f0, 0x34(r1) /* 801DB6B0 001D8610 48 13 92 09 */ bl Magnitude__9CVector3fCFv /* 801DB6B4 001D8614 80 1F 02 B0 */ lwz r0, 0x2b0(r31) /* 801DB6B8 001D8618 2C 00 00 02 */ cmpwi r0, 2 /* 801DB6BC 001D861C 40 82 00 0C */ bne lbl_801DB6C8 /* 801DB6C0 001D8620 80 1F 02 AC */ lwz r0, 0x2ac(r31) /* 801DB6C4 001D8624 48 00 00 08 */ b lbl_801DB6CC lbl_801DB6C8: /* 801DB6C8 001D8628 38 00 00 04 */ li r0, 4 lbl_801DB6CC: /* 801DB6CC 001D862C 2C 00 00 01 */ cmpwi r0, 1 /* 801DB6D0 001D8630 41 82 01 14 */ beq lbl_801DB7E4 /* 801DB6D4 001D8634 88 1F 09 C4 */ lbz r0, 0x9c4(r31) /* 801DB6D8 001D8638 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801DB6DC 001D863C 40 82 01 08 */ bne lbl_801DB7E4 /* 801DB6E0 001D8640 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801DB6E4 001D8644 C0 02 AD 00 */ lfs f0, lbl_805ACA20@sda21(r2) /* 801DB6E8 001D8648 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l /* 801DB6EC 001D864C C0 62 AC FC */ lfs f3, lbl_805ACA1C@sda21(r2) /* 801DB6F0 001D8650 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DB6F4 001D8654 C0 44 00 00 */ lfs f2, 0(r4) /* 801DB6F8 001D8658 C0 24 00 04 */ lfs f1, 4(r4) /* 801DB6FC 001D865C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DB700 001D8660 C0 04 00 08 */ lfs f0, 8(r4) /* 801DB704 001D8664 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801DB708 001D8668 C7 63 66 A0 */ lfsu f27, skZero3f@l(r3) /* 801DB70C 001D866C EC 23 00 72 */ fmuls f1, f3, f1 /* 801DB710 001D8670 EC 03 00 32 */ fmuls f0, f3, f0 /* 801DB714 001D8674 EF 9F 00 B2 */ fmuls f28, f31, f2 /* 801DB718 001D8678 C3 43 00 04 */ lfs f26, 4(r3) /* 801DB71C 001D867C EF BF 00 72 */ fmuls f29, f31, f1 /* 801DB720 001D8680 C3 23 00 08 */ lfs f25, 8(r3) /* 801DB724 001D8684 EF DF 00 32 */ fmuls f30, f31, f0 /* 801DB728 001D8688 40 81 00 70 */ ble lbl_801DB798 /* 801DB72C 001D868C C0 21 00 34 */ lfs f1, 0x34(r1) /* 801DB730 001D8690 38 61 00 08 */ addi r3, r1, 8 /* 801DB734 001D8694 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801DB738 001D8698 48 13 8A C9 */ bl __ct__9CVector2fFff /* 801DB73C 001D869C C0 41 00 08 */ lfs f2, 8(r1) /* 801DB740 001D86A0 38 61 00 28 */ addi r3, r1, 0x28 /* 801DB744 001D86A4 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801DB748 001D86A8 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DB74C 001D86AC D0 41 00 28 */ stfs f2, 0x28(r1) /* 801DB750 001D86B0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801DB754 001D86B4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801DB758 001D86B8 48 13 8F A1 */ bl CanBeNormalized__9CVector3fCFv /* 801DB75C 001D86BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DB760 001D86C0 41 82 00 38 */ beq lbl_801DB798 /* 801DB764 001D86C4 38 61 00 1C */ addi r3, r1, 0x1c /* 801DB768 001D86C8 38 81 00 28 */ addi r4, r1, 0x28 /* 801DB76C 001D86CC 48 13 90 E5 */ bl AsNormalized__9CVector3fCFv /* 801DB770 001D86D0 C0 62 AD 04 */ lfs f3, lbl_805ACA24@sda21(r2) /* 801DB774 001D86D4 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801DB778 001D86D8 C0 21 00 20 */ lfs f1, 0x20(r1) /* 801DB77C 001D86DC C0 01 00 24 */ lfs f0, 0x24(r1) /* 801DB780 001D86E0 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801DB784 001D86E4 EC 23 00 72 */ fmuls f1, f3, f1 /* 801DB788 001D86E8 EC 03 00 32 */ fmuls f0, f3, f0 /* 801DB78C 001D86EC EF 7F 00 B2 */ fmuls f27, f31, f2 /* 801DB790 001D86F0 EF 5F 00 72 */ fmuls f26, f31, f1 /* 801DB794 001D86F4 EF 3F 00 32 */ fmuls f25, f31, f0 lbl_801DB798: /* 801DB798 001D86F8 EC 5C D8 2A */ fadds f2, f28, f27 /* 801DB79C 001D86FC C0 7F 00 E8 */ lfs f3, 0xe8(r31) /* 801DB7A0 001D8700 EC 3D D0 2A */ fadds f1, f29, f26 /* 801DB7A4 001D8704 EC 1E C8 2A */ fadds f0, f30, f25 /* 801DB7A8 001D8708 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801DB7AC 001D870C EC 23 00 72 */ fmuls f1, f3, f1 /* 801DB7B0 001D8710 EC 03 00 32 */ fmuls f0, f3, f0 /* 801DB7B4 001D8714 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801DB7B8 001D8718 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801DB7BC 001D871C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801DB7C0 001D8720 4B E3 FD 75 */ bl Identity__10CAxisAngleFv /* 801DB7C4 001D8724 7C 65 1B 78 */ mr r5, r3 /* 801DB7C8 001D8728 7F E3 FB 78 */ mr r3, r31 /* 801DB7CC 001D872C 38 81 00 10 */ addi r4, r1, 0x10 /* 801DB7D0 001D8730 4B F4 0B C9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 801DB7D4 001D8734 7F E3 FB 78 */ mr r3, r31 /* 801DB7D8 001D8738 7F C5 F3 78 */ mr r5, r30 /* 801DB7DC 001D873C 38 80 00 02 */ li r4, 2 /* 801DB7E0 001D8740 48 0A AC 0D */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager lbl_801DB7E4: /* 801DB7E4 001D8744 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 801DB7E8 001D8748 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 801DB7EC 001D874C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 801DB7F0 001D8750 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 801DB7F4 001D8754 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 801DB7F8 001D8758 CB A1 00 90 */ lfd f29, 0x90(r1) /* 801DB7FC 001D875C E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 /* 801DB800 001D8760 CB 81 00 80 */ lfd f28, 0x80(r1) /* 801DB804 001D8764 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 /* 801DB808 001D8768 CB 61 00 70 */ lfd f27, 0x70(r1) /* 801DB80C 001D876C E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 /* 801DB810 001D8770 CB 41 00 60 */ lfd f26, 0x60(r1) /* 801DB814 001D8774 E3 21 00 58 */ psq_l f25, 88(r1), 0, qr0 /* 801DB818 001D8778 CB 21 00 50 */ lfd f25, 0x50(r1) /* 801DB81C 001D877C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801DB820 001D8780 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801DB824 001D8784 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801DB828 001D8788 7C 08 03 A6 */ mtlr r0 /* 801DB82C 001D878C 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801DB830 001D8790 4E 80 00 20 */ blr .global StartAttack__8CThardusFR13CStateManagerf StartAttack__8CThardusFR13CStateManagerf: /* 801DB834 001D8794 38 60 00 01 */ li r3, 1 /* 801DB838 001D8798 4E 80 00 20 */ blr .global Suck__8CThardusFR13CStateManager9EStateMsgf Suck__8CThardusFR13CStateManager9EStateMsgf: /* 801DB83C 001D879C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DB840 001D87A0 7C 08 02 A6 */ mflr r0 /* 801DB844 001D87A4 2C 05 00 01 */ cmpwi r5, 1 /* 801DB848 001D87A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801DB84C 001D87AC 41 82 00 48 */ beq lbl_801DB894 /* 801DB850 001D87B0 40 80 00 10 */ bge lbl_801DB860 /* 801DB854 001D87B4 2C 05 00 00 */ cmpwi r5, 0 /* 801DB858 001D87B8 40 80 00 14 */ bge lbl_801DB86C /* 801DB85C 001D87BC 48 00 00 38 */ b lbl_801DB894 lbl_801DB860: /* 801DB860 001D87C0 2C 05 00 03 */ cmpwi r5, 3 /* 801DB864 001D87C4 40 80 00 30 */ bge lbl_801DB894 /* 801DB868 001D87C8 48 00 00 24 */ b lbl_801DB88C lbl_801DB86C: /* 801DB86C 001D87CC 38 00 00 01 */ li r0, 1 /* 801DB870 001D87D0 7C 85 23 78 */ mr r5, r4 /* 801DB874 001D87D4 98 03 09 09 */ stb r0, 0x909(r3) /* 801DB878 001D87D8 38 80 00 07 */ li r4, 7 /* 801DB87C 001D87DC 38 C0 FF FF */ li r6, -1 /* 801DB880 001D87E0 98 03 09 3D */ stb r0, 0x93d(r3) /* 801DB884 001D87E4 4B E7 58 3D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801DB888 001D87E8 48 00 00 0C */ b lbl_801DB894 lbl_801DB88C: /* 801DB88C 001D87EC 38 00 00 01 */ li r0, 1 /* 801DB890 001D87F0 98 03 06 89 */ stb r0, 0x689(r3) lbl_801DB894: /* 801DB894 001D87F4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DB898 001D87F8 7C 08 03 A6 */ mtlr r0 /* 801DB89C 001D87FC 38 21 00 10 */ addi r1, r1, 0x10 /* 801DB8A0 001D8800 4E 80 00 20 */ blr .global Explode__8CThardusFR13CStateManager9EStateMsgf Explode__8CThardusFR13CStateManager9EStateMsgf: /* 801DB8A4 001D8804 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DB8A8 001D8808 7C 08 02 A6 */ mflr r0 /* 801DB8AC 001D880C 2C 05 00 01 */ cmpwi r5, 1 /* 801DB8B0 001D8810 90 01 00 34 */ stw r0, 0x34(r1) /* 801DB8B4 001D8814 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801DB8B8 001D8818 7C 9F 23 78 */ mr r31, r4 /* 801DB8BC 001D881C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801DB8C0 001D8820 7C 7E 1B 78 */ mr r30, r3 /* 801DB8C4 001D8824 41 82 00 60 */ beq lbl_801DB924 /* 801DB8C8 001D8828 40 80 00 10 */ bge lbl_801DB8D8 /* 801DB8CC 001D882C 2C 05 00 00 */ cmpwi r5, 0 /* 801DB8D0 001D8830 40 80 00 14 */ bge lbl_801DB8E4 /* 801DB8D4 001D8834 48 00 01 34 */ b lbl_801DBA08 lbl_801DB8D8: /* 801DB8D8 001D8838 2C 05 00 03 */ cmpwi r5, 3 /* 801DB8DC 001D883C 40 80 01 2C */ bge lbl_801DBA08 /* 801DB8E0 001D8840 48 00 01 14 */ b lbl_801DB9F4 lbl_801DB8E4: /* 801DB8E4 001D8844 38 00 00 00 */ li r0, 0 /* 801DB8E8 001D8848 38 61 00 08 */ addi r3, r1, 8 /* 801DB8EC 001D884C 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DB8F0 001D8850 80 1E 09 04 */ lwz r0, 0x904(r30) /* 801DB8F4 001D8854 90 01 00 08 */ stw r0, 8(r1) /* 801DB8F8 001D8858 48 10 E4 51 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 801DB8FC 001D885C 38 00 00 01 */ li r0, 1 /* 801DB900 001D8860 7F C3 F3 78 */ mr r3, r30 /* 801DB904 001D8864 98 1E 09 09 */ stb r0, 0x909(r30) /* 801DB908 001D8868 7F E5 FB 78 */ mr r5, r31 /* 801DB90C 001D886C 38 80 00 01 */ li r4, 1 /* 801DB910 001D8870 38 C0 FF FF */ li r6, -1 /* 801DB914 001D8874 98 1E 09 3D */ stb r0, 0x93d(r30) /* 801DB918 001D8878 98 1E 09 09 */ stb r0, 0x909(r30) /* 801DB91C 001D887C 4B E7 57 A5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801DB920 001D8880 48 00 00 E8 */ b lbl_801DBA08 lbl_801DB924: /* 801DB924 001D8884 80 1E 05 EC */ lwz r0, 0x5ec(r30) /* 801DB928 001D8888 2C 00 00 01 */ cmpwi r0, 1 /* 801DB92C 001D888C 41 82 00 DC */ beq lbl_801DBA08 /* 801DB930 001D8890 40 80 00 10 */ bge lbl_801DB940 /* 801DB934 001D8894 2C 00 00 00 */ cmpwi r0, 0 /* 801DB938 001D8898 40 80 00 14 */ bge lbl_801DB94C /* 801DB93C 001D889C 48 00 00 CC */ b lbl_801DBA08 lbl_801DB940: /* 801DB940 001D88A0 2C 00 00 03 */ cmpwi r0, 3 /* 801DB944 001D88A4 40 80 00 C4 */ bge lbl_801DBA08 /* 801DB948 001D88A8 48 00 00 90 */ b lbl_801DB9D8 lbl_801DB94C: /* 801DB94C 001D88AC 80 9E 04 50 */ lwz r4, 0x450(r30) /* 801DB950 001D88B0 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801DB954 001D88B4 2C 00 00 03 */ cmpwi r0, 3 /* 801DB958 001D88B8 40 82 00 10 */ bne lbl_801DB968 /* 801DB95C 001D88BC 38 00 00 02 */ li r0, 2 /* 801DB960 001D88C0 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DB964 001D88C4 48 00 00 A4 */ b lbl_801DBA08 lbl_801DB968: /* 801DB968 001D88C8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DB96C 001D88CC 38 C0 00 01 */ li r6, 1 /* 801DB970 001D88D0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DB974 001D88D4 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha /* 801DB978 001D88D8 90 01 00 0C */ stw r0, 0xc(r1) /* 801DB97C 001D88DC 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l /* 801DB980 001D88E0 38 00 00 00 */ li r0, 0 /* 801DB984 001D88E4 3B E4 00 04 */ addi r31, r4, 4 /* 801DB988 001D88E8 90 C1 00 10 */ stw r6, 0x10(r1) /* 801DB98C 001D88EC 7F E3 FB 78 */ mr r3, r31 /* 801DB990 001D88F0 38 80 00 01 */ li r4, 1 /* 801DB994 001D88F4 90 A1 00 0C */ stw r5, 0xc(r1) /* 801DB998 001D88F8 90 01 00 14 */ stw r0, 0x14(r1) /* 801DB99C 001D88FC 90 C1 00 18 */ stw r6, 0x18(r1) /* 801DB9A0 001D8900 4B F5 5A 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DB9A4 001D8904 80 01 00 10 */ lwz r0, 0x10(r1) /* 801DB9A8 001D8908 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha /* 801DB9AC 001D890C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l /* 801DB9B0 001D8910 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DB9B4 001D8914 90 1F 00 C8 */ stw r0, 0xc8(r31) /* 801DB9B8 001D8918 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DB9BC 001D891C 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801DB9C0 001D8920 90 81 00 0C */ stw r4, 0xc(r1) /* 801DB9C4 001D8924 80 61 00 18 */ lwz r3, 0x18(r1) /* 801DB9C8 001D8928 90 BF 00 CC */ stw r5, 0xcc(r31) /* 801DB9CC 001D892C 90 7F 00 D0 */ stw r3, 0xd0(r31) /* 801DB9D0 001D8930 90 01 00 0C */ stw r0, 0xc(r1) /* 801DB9D4 001D8934 48 00 00 34 */ b lbl_801DBA08 lbl_801DB9D8: /* 801DB9D8 001D8938 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DB9DC 001D893C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DB9E0 001D8940 2C 00 00 03 */ cmpwi r0, 3 /* 801DB9E4 001D8944 41 82 00 24 */ beq lbl_801DBA08 /* 801DB9E8 001D8948 38 00 00 03 */ li r0, 3 /* 801DB9EC 001D894C 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DB9F0 001D8950 48 00 00 18 */ b lbl_801DBA08 lbl_801DB9F4: /* 801DB9F4 001D8954 38 60 00 01 */ li r3, 1 /* 801DB9F8 001D8958 38 00 00 00 */ li r0, 0 /* 801DB9FC 001D895C 98 7E 08 F0 */ stb r3, 0x8f0(r30) /* 801DBA00 001D8960 98 1E 09 09 */ stb r0, 0x909(r30) /* 801DBA04 001D8964 98 1E 09 3D */ stb r0, 0x93d(r30) lbl_801DBA08: /* 801DBA08 001D8968 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DBA0C 001D896C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801DBA10 001D8970 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801DBA14 001D8974 7C 08 03 A6 */ mtlr r0 /* 801DBA18 001D8978 38 21 00 30 */ addi r1, r1, 0x30 /* 801DBA1C 001D897C 4E 80 00 20 */ blr .global sub_801dba20 sub_801dba20: /* 801DBA20 001D8980 94 21 FE A0 */ stwu r1, -0x160(r1) /* 801DBA24 001D8984 7C 08 02 A6 */ mflr r0 /* 801DBA28 001D8988 90 01 01 64 */ stw r0, 0x164(r1) /* 801DBA2C 001D898C DB E1 01 50 */ stfd f31, 0x150(r1) /* 801DBA30 001D8990 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 /* 801DBA34 001D8994 DB C1 01 40 */ stfd f30, 0x140(r1) /* 801DBA38 001D8998 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 /* 801DBA3C 001D899C DB A1 01 30 */ stfd f29, 0x130(r1) /* 801DBA40 001D89A0 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 /* 801DBA44 001D89A4 DB 81 01 20 */ stfd f28, 0x120(r1) /* 801DBA48 001D89A8 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 /* 801DBA4C 001D89AC 93 E1 01 1C */ stw r31, 0x11c(r1) /* 801DBA50 001D89B0 93 C1 01 18 */ stw r30, 0x118(r1) /* 801DBA54 001D89B4 93 A1 01 14 */ stw r29, 0x114(r1) /* 801DBA58 001D89B8 7C 9F 23 78 */ mr r31, r4 /* 801DBA5C 001D89BC 7C 7E 1B 78 */ mr r30, r3 /* 801DBA60 001D89C0 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801DBA64 001D89C4 FF 80 08 90 */ fmr f28, f1 /* 801DBA68 001D89C8 C0 25 00 04 */ lfs f1, 4(r5) /* 801DBA6C 001D89CC FF A0 10 90 */ fmr f29, f2 /* 801DBA70 001D89D0 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801DBA74 001D89D4 FF C0 18 90 */ fmr f30, f3 /* 801DBA78 001D89D8 C0 65 00 08 */ lfs f3, 8(r5) /* 801DBA7C 001D89DC C0 43 00 60 */ lfs f2, 0x60(r3) /* 801DBA80 001D89E0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801DBA84 001D89E4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801DBA88 001D89E8 38 61 00 28 */ addi r3, r1, 0x28 /* 801DBA8C 001D89EC C0 25 00 00 */ lfs f1, 0(r5) /* 801DBA90 001D89F0 EC 43 10 28 */ fsubs f2, f3, f2 /* 801DBA94 001D89F4 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801DBA98 001D89F8 EC 01 00 28 */ fsubs f0, f1, f0 /* 801DBA9C 001D89FC D0 41 00 30 */ stfs f2, 0x30(r1) /* 801DBAA0 001D8A00 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801DBAA4 001D8A04 48 13 8E 15 */ bl Magnitude__9CVector3fCFv /* 801DBAA8 001D8A08 EC 5C E8 24 */ fdivs f2, f28, f29 /* 801DBAAC 001D8A0C C0 0D 92 24 */ lfs f0, lbl_805A7DE4@sda21(r13) /* 801DBAB0 001D8A10 EC 21 E0 BC */ fnmsubs f1, f1, f2, f28 /* 801DBAB4 001D8A14 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DBAB8 001D8A18 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801DBABC 001D8A1C 40 80 00 0C */ bge lbl_801DBAC8 /* 801DBAC0 001D8A20 38 A1 00 0C */ addi r5, r1, 0xc /* 801DBAC4 001D8A24 48 00 00 08 */ b lbl_801DBACC lbl_801DBAC8: /* 801DBAC8 001D8A28 38 AD 92 24 */ addi r5, r13, lbl_805A7DE4@sda21 lbl_801DBACC: /* 801DBACC 001D8A2C 80 9F 08 70 */ lwz r4, 0x870(r31) /* 801DBAD0 001D8A30 38 61 00 08 */ addi r3, r1, 8 /* 801DBAD4 001D8A34 C3 E5 00 00 */ lfs f31, 0(r5) /* 801DBAD8 001D8A38 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 801DBADC 001D8A3C A3 A5 00 08 */ lhz r29, 8(r5) /* 801DBAE0 001D8A40 4B E3 00 F9 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 801DBAE4 001D8A44 A0 01 00 08 */ lhz r0, 8(r1) /* 801DBAE8 001D8A48 7C 00 E8 40 */ cmplw r0, r29 /* 801DBAEC 001D8A4C 40 82 00 98 */ bne lbl_801DBB84 /* 801DBAF0 001D8A50 C0 BE 00 40 */ lfs f5, 0x40(r30) /* 801DBAF4 001D8A54 FC 20 F0 90 */ fmr f1, f30 /* 801DBAF8 001D8A58 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801DBAFC 001D8A5C FC 40 E0 90 */ fmr f2, f28 /* 801DBB00 001D8A60 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801DBB04 001D8A64 FC 60 E8 90 */ fmr f3, f29 /* 801DBB08 001D8A68 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801DBB0C 001D8A6C 38 61 00 34 */ addi r3, r1, 0x34 /* 801DBB10 001D8A70 38 81 00 1C */ addi r4, r1, 0x1c /* 801DBB14 001D8A74 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801DBB18 001D8A78 80 C1 00 10 */ lwz r6, 0x10(r1) /* 801DBB1C 001D8A7C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801DBB20 001D8A80 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801DBB24 001D8A84 80 01 00 18 */ lwz r0, 0x18(r1) /* 801DBB28 001D8A88 90 C1 00 1C */ stw r6, 0x1c(r1) /* 801DBB2C 001D8A8C 90 A1 00 20 */ stw r5, 0x20(r1) /* 801DBB30 001D8A90 90 01 00 24 */ stw r0, 0x24(r1) /* 801DBB34 001D8A94 4B F8 19 91 */ bl BuildMissileShakeData__16CCameraShakeDataFfffRC9CVector3f /* 801DBB38 001D8A98 80 7F 08 70 */ lwz r3, 0x870(r31) /* 801DBB3C 001D8A9C 38 81 00 34 */ addi r4, r1, 0x34 /* 801DBB40 001D8AA0 38 A0 00 01 */ li r5, 1 /* 801DBB44 001D8AA4 4B E2 EE DD */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801DBB48 001D8AA8 34 81 00 B4 */ addic. r4, r1, 0xb4 /* 801DBB4C 001D8AAC 41 82 00 10 */ beq lbl_801DBB5C /* 801DBB50 001D8AB0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801DBB54 001D8AB4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801DBB58 001D8AB8 90 04 00 00 */ stw r0, 0(r4) lbl_801DBB5C: /* 801DBB5C 001D8ABC 34 81 00 78 */ addic. r4, r1, 0x78 /* 801DBB60 001D8AC0 41 82 00 10 */ beq lbl_801DBB70 /* 801DBB64 001D8AC4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801DBB68 001D8AC8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801DBB6C 001D8ACC 90 04 00 00 */ stw r0, 0(r4) lbl_801DBB70: /* 801DBB70 001D8AD0 34 81 00 3C */ addic. r4, r1, 0x3c /* 801DBB74 001D8AD4 41 82 00 10 */ beq lbl_801DBB84 /* 801DBB78 001D8AD8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801DBB7C 001D8ADC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801DBB80 001D8AE0 90 04 00 00 */ stw r0, 0(r4) lbl_801DBB84: /* 801DBB84 001D8AE4 88 1E 09 08 */ lbz r0, 0x908(r30) /* 801DBB88 001D8AE8 28 00 00 00 */ cmplwi r0, 0 /* 801DBB8C 001D8AEC 41 82 00 14 */ beq lbl_801DBBA0 /* 801DBB90 001D8AF0 FC 20 F8 90 */ fmr f1, f31 /* 801DBB94 001D8AF4 7F C3 F3 78 */ mr r3, r30 /* 801DBB98 001D8AF8 7F E4 FB 78 */ mr r4, r31 /* 801DBB9C 001D8AFC 4B FF FA 7D */ bl sub_801db618 lbl_801DBBA0: /* 801DBBA0 001D8B00 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 /* 801DBBA4 001D8B04 CB E1 01 50 */ lfd f31, 0x150(r1) /* 801DBBA8 001D8B08 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 /* 801DBBAC 001D8B0C CB C1 01 40 */ lfd f30, 0x140(r1) /* 801DBBB0 001D8B10 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 /* 801DBBB4 001D8B14 CB A1 01 30 */ lfd f29, 0x130(r1) /* 801DBBB8 001D8B18 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 /* 801DBBBC 001D8B1C CB 81 01 20 */ lfd f28, 0x120(r1) /* 801DBBC0 001D8B20 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 801DBBC4 001D8B24 83 C1 01 18 */ lwz r30, 0x118(r1) /* 801DBBC8 001D8B28 80 01 01 64 */ lwz r0, 0x164(r1) /* 801DBBCC 001D8B2C 83 A1 01 14 */ lwz r29, 0x114(r1) /* 801DBBD0 001D8B30 7C 08 03 A6 */ mtlr r0 /* 801DBBD4 001D8B34 38 21 01 60 */ addi r1, r1, 0x160 /* 801DBBD8 001D8B38 4E 80 00 20 */ blr .global sub_801dbbdc sub_801dbbdc: /* 801DBBDC 001D8B3C 80 84 08 B8 */ lwz r4, 0x8b8(r4) /* 801DBBE0 001D8B40 80 84 00 00 */ lwz r4, 0(r4) /* 801DBBE4 001D8B44 80 04 00 14 */ lwz r0, 0x14(r4) /* 801DBBE8 001D8B48 2C 00 00 03 */ cmpwi r0, 3 /* 801DBBEC 001D8B4C 40 82 00 0C */ bne lbl_801DBBF8 /* 801DBBF0 001D8B50 38 00 00 01 */ li r0, 1 /* 801DBBF4 001D8B54 98 03 06 88 */ stb r0, 0x688(r3) lbl_801DBBF8: /* 801DBBF8 001D8B58 80 03 07 C4 */ lwz r0, 0x7c4(r3) /* 801DBBFC 001D8B5C 2C 00 00 00 */ cmpwi r0, 0 /* 801DBC00 001D8B60 41 82 00 0C */ beq lbl_801DBC0C /* 801DBC04 001D8B64 2C 00 00 02 */ cmpwi r0, 2 /* 801DBC08 001D8B68 40 82 00 14 */ bne lbl_801DBC1C lbl_801DBC0C: /* 801DBC0C 001D8B6C 38 00 00 01 */ li r0, 1 /* 801DBC10 001D8B70 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DBC14 001D8B74 90 03 07 C4 */ stw r0, 0x7c4(r3) /* 801DBC18 001D8B78 D0 03 07 B8 */ stfs f0, 0x7b8(r3) lbl_801DBC1C: /* 801DBC1C 001D8B7C A0 05 00 08 */ lhz r0, 8(r5) /* 801DBC20 001D8B80 B0 03 09 28 */ sth r0, 0x928(r3) /* 801DBC24 001D8B84 C0 45 00 60 */ lfs f2, 0x60(r5) /* 801DBC28 001D8B88 C0 25 00 50 */ lfs f1, 0x50(r5) /* 801DBC2C 001D8B8C C0 05 00 40 */ lfs f0, 0x40(r5) /* 801DBC30 001D8B90 D0 03 09 2C */ stfs f0, 0x92c(r3) /* 801DBC34 001D8B94 D0 23 09 30 */ stfs f1, 0x930(r3) /* 801DBC38 001D8B98 D0 43 09 34 */ stfs f2, 0x934(r3) /* 801DBC3C 001D8B9C 4E 80 00 20 */ blr .global sub_801dbc40 sub_801dbc40: /* 801DBC40 001D8BA0 C0 22 AD 08 */ lfs f1, lbl_805ACA28@sda21(r2) /* 801DBC44 001D8BA4 38 00 00 00 */ li r0, 0 /* 801DBC48 001D8BA8 C0 03 07 BC */ lfs f0, 0x7bc(r3) /* 801DBC4C 001D8BAC EC 01 00 2A */ fadds f0, f1, f0 /* 801DBC50 001D8BB0 D0 03 07 B8 */ stfs f0, 0x7b8(r3) /* 801DBC54 001D8BB4 98 03 09 38 */ stb r0, 0x938(r3) /* 801DBC58 001D8BB8 4E 80 00 20 */ blr .global sub_801dbc5c sub_801dbc5c: /* 801DBC5C 001D8BBC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DBC60 001D8BC0 7C 08 02 A6 */ mflr r0 /* 801DBC64 001D8BC4 90 01 00 14 */ stw r0, 0x14(r1) /* 801DBC68 001D8BC8 88 03 09 38 */ lbz r0, 0x938(r3) /* 801DBC6C 001D8BCC 28 00 00 00 */ cmplwi r0, 0 /* 801DBC70 001D8BD0 40 82 00 18 */ bne lbl_801DBC88 /* 801DBC74 001D8BD4 38 C0 00 01 */ li r6, 1 /* 801DBC78 001D8BD8 38 00 00 00 */ li r0, 0 /* 801DBC7C 001D8BDC 98 C3 09 38 */ stb r6, 0x938(r3) /* 801DBC80 001D8BE0 98 03 09 39 */ stb r0, 0x939(r3) /* 801DBC84 001D8BE4 4B FF FF 59 */ bl sub_801dbbdc lbl_801DBC88: /* 801DBC88 001D8BE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DBC8C 001D8BEC 7C 08 03 A6 */ mtlr r0 /* 801DBC90 001D8BF0 38 21 00 10 */ addi r1, r1, 0x10 /* 801DBC94 001D8BF4 4E 80 00 20 */ blr .global sub_801dbc98 sub_801dbc98: /* 801DBC98 001D8BF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DBC9C 001D8BFC 7C 08 02 A6 */ mflr r0 /* 801DBCA0 001D8C00 90 01 00 14 */ stw r0, 0x14(r1) /* 801DBCA4 001D8C04 88 03 09 38 */ lbz r0, 0x938(r3) /* 801DBCA8 001D8C08 28 00 00 00 */ cmplwi r0, 0 /* 801DBCAC 001D8C0C 40 82 00 14 */ bne lbl_801DBCC0 /* 801DBCB0 001D8C10 D0 23 07 BC */ stfs f1, 0x7bc(r3) /* 801DBCB4 001D8C14 38 00 00 01 */ li r0, 1 /* 801DBCB8 001D8C18 98 03 09 39 */ stb r0, 0x939(r3) /* 801DBCBC 001D8C1C 4B FF FF 21 */ bl sub_801dbbdc lbl_801DBCC0: /* 801DBCC0 001D8C20 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DBCC4 001D8C24 7C 08 03 A6 */ mtlr r0 /* 801DBCC8 001D8C28 38 21 00 10 */ addi r1, r1, 0x10 /* 801DBCCC 001D8C2C 4E 80 00 20 */ blr .global PathFind__8CThardusFR13CStateManager9EStateMsgf PathFind__8CThardusFR13CStateManager9EStateMsgf: /* 801DBCD0 001D8C30 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801DBCD4 001D8C34 7C 08 02 A6 */ mflr r0 /* 801DBCD8 001D8C38 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801DBCDC 001D8C3C DB E1 00 90 */ stfd f31, 0x90(r1) /* 801DBCE0 001D8C40 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801DBCE4 001D8C44 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801DBCE8 001D8C48 93 C1 00 88 */ stw r30, 0x88(r1) /* 801DBCEC 001D8C4C FF E0 08 90 */ fmr f31, f1 /* 801DBCF0 001D8C50 2C 05 00 01 */ cmpwi r5, 1 /* 801DBCF4 001D8C54 7C 7E 1B 78 */ mr r30, r3 /* 801DBCF8 001D8C58 7C 9F 23 78 */ mr r31, r4 /* 801DBCFC 001D8C5C 41 82 00 90 */ beq lbl_801DBD8C /* 801DBD00 001D8C60 40 80 00 10 */ bge lbl_801DBD10 /* 801DBD04 001D8C64 2C 05 00 00 */ cmpwi r5, 0 /* 801DBD08 001D8C68 40 80 00 14 */ bge lbl_801DBD1C /* 801DBD0C 001D8C6C 48 00 01 B4 */ b lbl_801DBEC0 lbl_801DBD10: /* 801DBD10 001D8C70 2C 05 00 03 */ cmpwi r5, 3 /* 801DBD14 001D8C74 40 80 01 AC */ bge lbl_801DBEC0 /* 801DBD18 001D8C78 48 00 01 A0 */ b lbl_801DBEB8 lbl_801DBD1C: /* 801DBD1C 001D8C7C 7F C4 F3 78 */ mr r4, r30 /* 801DBD20 001D8C80 7F E5 FB 78 */ mr r5, r31 /* 801DBD24 001D8C84 38 61 00 5C */ addi r3, r1, 0x5c /* 801DBD28 001D8C88 48 00 28 29 */ bl sub_801de550 /* 801DBD2C 001D8C8C C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801DBD30 001D8C90 FC 20 F8 90 */ fmr f1, f31 /* 801DBD34 001D8C94 7F C3 F3 78 */ mr r3, r30 /* 801DBD38 001D8C98 7F E4 FB 78 */ mr r4, r31 /* 801DBD3C 001D8C9C D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 801DBD40 001D8CA0 38 A0 00 00 */ li r5, 0 /* 801DBD44 001D8CA4 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801DBD48 001D8CA8 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 801DBD4C 001D8CAC C0 01 00 64 */ lfs f0, 0x64(r1) /* 801DBD50 001D8CB0 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) /* 801DBD54 001D8CB4 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801DBD58 001D8CB8 D0 1E 07 D8 */ stfs f0, 0x7d8(r30) /* 801DBD5C 001D8CBC C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801DBD60 001D8CC0 D0 1E 07 DC */ stfs f0, 0x7dc(r30) /* 801DBD64 001D8CC4 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801DBD68 001D8CC8 D0 1E 07 E0 */ stfs f0, 0x7e0(r30) /* 801DBD6C 001D8CCC C0 1E 07 D8 */ lfs f0, 0x7d8(r30) /* 801DBD70 001D8CD0 D0 1E 07 E4 */ stfs f0, 0x7e4(r30) /* 801DBD74 001D8CD4 C0 1E 07 DC */ lfs f0, 0x7dc(r30) /* 801DBD78 001D8CD8 D0 1E 07 E8 */ stfs f0, 0x7e8(r30) /* 801DBD7C 001D8CDC C0 1E 07 E0 */ lfs f0, 0x7e0(r30) /* 801DBD80 001D8CE0 D0 1E 07 EC */ stfs f0, 0x7ec(r30) /* 801DBD84 001D8CE4 48 01 A9 49 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801DBD88 001D8CE8 48 00 01 38 */ b lbl_801DBEC0 lbl_801DBD8C: /* 801DBD8C 001D8CEC C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801DBD90 001D8CF0 38 61 00 20 */ addi r3, r1, 0x20 /* 801DBD94 001D8CF4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801DBD98 001D8CF8 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801DBD9C 001D8CFC D0 21 00 50 */ stfs f1, 0x50(r1) /* 801DBDA0 001D8D00 D0 41 00 54 */ stfs f2, 0x54(r1) /* 801DBDA4 001D8D04 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801DBDA8 001D8D08 48 13 84 59 */ bl __ct__9CVector2fFff /* 801DBDAC 001D8D0C C0 21 00 20 */ lfs f1, 0x20(r1) /* 801DBDB0 001D8D10 38 61 00 18 */ addi r3, r1, 0x18 /* 801DBDB4 001D8D14 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801DBDB8 001D8D18 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801DBDBC 001D8D1C D0 01 00 34 */ stfs f0, 0x34(r1) /* 801DBDC0 001D8D20 C0 3E 07 E4 */ lfs f1, 0x7e4(r30) /* 801DBDC4 001D8D24 C0 5E 07 E8 */ lfs f2, 0x7e8(r30) /* 801DBDC8 001D8D28 48 13 84 39 */ bl __ct__9CVector2fFff /* 801DBDCC 001D8D2C C0 21 00 18 */ lfs f1, 0x18(r1) /* 801DBDD0 001D8D30 38 61 00 10 */ addi r3, r1, 0x10 /* 801DBDD4 001D8D34 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801DBDD8 001D8D38 38 81 00 30 */ addi r4, r1, 0x30 /* 801DBDDC 001D8D3C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801DBDE0 001D8D40 38 A1 00 28 */ addi r5, r1, 0x28 /* 801DBDE4 001D8D44 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801DBDE8 001D8D48 48 13 81 51 */ bl __mi__FRC9CVector2fRC9CVector2f /* 801DBDEC 001D8D4C C0 41 00 10 */ lfs f2, 0x10(r1) /* 801DBDF0 001D8D50 38 61 00 44 */ addi r3, r1, 0x44 /* 801DBDF4 001D8D54 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801DBDF8 001D8D58 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DBDFC 001D8D5C D0 41 00 44 */ stfs f2, 0x44(r1) /* 801DBE00 001D8D60 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801DBE04 001D8D64 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801DBE08 001D8D68 48 13 8A B1 */ bl Magnitude__9CVector3fCFv /* 801DBE0C 001D8D6C C0 02 AD 00 */ lfs f0, lbl_805ACA20@sda21(r2) /* 801DBE10 001D8D70 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DBE14 001D8D74 40 80 00 7C */ bge lbl_801DBE90 /* 801DBE18 001D8D78 7F C4 F3 78 */ mr r4, r30 /* 801DBE1C 001D8D7C 7F E5 FB 78 */ mr r5, r31 /* 801DBE20 001D8D80 38 61 00 38 */ addi r3, r1, 0x38 /* 801DBE24 001D8D84 48 00 26 11 */ bl sub_801de434 /* 801DBE28 001D8D88 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801DBE2C 001D8D8C FC 20 F8 90 */ fmr f1, f31 /* 801DBE30 001D8D90 7F C3 F3 78 */ mr r3, r30 /* 801DBE34 001D8D94 7F E4 FB 78 */ mr r4, r31 /* 801DBE38 001D8D98 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 801DBE3C 001D8D9C 38 A0 00 00 */ li r5, 0 /* 801DBE40 001D8DA0 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801DBE44 001D8DA4 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 801DBE48 001D8DA8 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801DBE4C 001D8DAC D0 1E 02 E8 */ stfs f0, 0x2e8(r30) /* 801DBE50 001D8DB0 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801DBE54 001D8DB4 D0 1E 07 D8 */ stfs f0, 0x7d8(r30) /* 801DBE58 001D8DB8 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801DBE5C 001D8DBC D0 1E 07 DC */ stfs f0, 0x7dc(r30) /* 801DBE60 001D8DC0 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801DBE64 001D8DC4 D0 1E 07 E0 */ stfs f0, 0x7e0(r30) /* 801DBE68 001D8DC8 C0 1E 07 D8 */ lfs f0, 0x7d8(r30) /* 801DBE6C 001D8DCC D0 1E 07 E4 */ stfs f0, 0x7e4(r30) /* 801DBE70 001D8DD0 C0 1E 07 DC */ lfs f0, 0x7dc(r30) /* 801DBE74 001D8DD4 D0 1E 07 E8 */ stfs f0, 0x7e8(r30) /* 801DBE78 001D8DD8 C0 1E 07 E0 */ lfs f0, 0x7e0(r30) /* 801DBE7C 001D8DDC D0 1E 07 EC */ stfs f0, 0x7ec(r30) /* 801DBE80 001D8DE0 48 01 A8 4D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801DBE84 001D8DE4 80 7E 06 60 */ lwz r3, 0x660(r30) /* 801DBE88 001D8DE8 38 03 00 01 */ addi r0, r3, 1 /* 801DBE8C 001D8DEC 90 1E 06 60 */ stw r0, 0x660(r30) lbl_801DBE90: /* 801DBE90 001D8DF0 FC 20 F8 90 */ fmr f1, f31 /* 801DBE94 001D8DF4 7F C4 F3 78 */ mr r4, r30 /* 801DBE98 001D8DF8 7F E5 FB 78 */ mr r5, r31 /* 801DBE9C 001D8DFC 38 61 00 08 */ addi r3, r1, 8 /* 801DBEA0 001D8E00 48 00 07 6D */ bl sub_801dc60c /* 801DBEA4 001D8E04 C0 01 00 08 */ lfs f0, 8(r1) /* 801DBEA8 001D8E08 D0 1E 06 50 */ stfs f0, 0x650(r30) /* 801DBEAC 001D8E0C C0 01 00 0C */ lfs f0, 0xc(r1) /* 801DBEB0 001D8E10 D0 1E 06 54 */ stfs f0, 0x654(r30) /* 801DBEB4 001D8E14 48 00 00 0C */ b lbl_801DBEC0 lbl_801DBEB8: /* 801DBEB8 001D8E18 38 00 00 00 */ li r0, 0 /* 801DBEBC 001D8E1C 98 1E 08 D4 */ stb r0, 0x8d4(r30) lbl_801DBEC0: /* 801DBEC0 001D8E20 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DBEC4 001D8E24 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801DBEC8 001D8E28 C0 DE 06 54 */ lfs f6, 0x654(r30) /* 801DBECC 001D8E2C 38 81 00 68 */ addi r4, r1, 0x68 /* 801DBED0 001D8E30 C0 BE 06 50 */ lfs f5, 0x650(r30) /* 801DBED4 001D8E34 C0 82 AC DC */ lfs f4, lbl_805AC9FC@sda21(r2) /* 801DBED8 001D8E38 C0 43 00 04 */ lfs f2, 4(r3) /* 801DBEDC 001D8E3C C0 23 00 08 */ lfs f1, 8(r3) /* 801DBEE0 001D8E40 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DBEE4 001D8E44 D0 A1 00 68 */ stfs f5, 0x68(r1) /* 801DBEE8 001D8E48 D0 C1 00 6C */ stfs f6, 0x6c(r1) /* 801DBEEC 001D8E4C D0 81 00 70 */ stfs f4, 0x70(r1) /* 801DBEF0 001D8E50 D0 61 00 74 */ stfs f3, 0x74(r1) /* 801DBEF4 001D8E54 D0 41 00 78 */ stfs f2, 0x78(r1) /* 801DBEF8 001D8E58 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801DBEFC 001D8E5C D0 01 00 80 */ stfs f0, 0x80(r1) /* 801DBF00 001D8E60 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DBF04 001D8E64 38 63 00 04 */ addi r3, r3, 4 /* 801DBF08 001D8E68 4B F5 58 11 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801DBF0C 001D8E6C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801DBF10 001D8E70 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801DBF14 001D8E74 CB E1 00 90 */ lfd f31, 0x90(r1) /* 801DBF18 001D8E78 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801DBF1C 001D8E7C 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801DBF20 001D8E80 7C 08 03 A6 */ mtlr r0 /* 801DBF24 001D8E84 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801DBF28 001D8E88 4E 80 00 20 */ blr .global PathFound__8CThardusFR13CStateManagerf PathFound__8CThardusFR13CStateManagerf: /* 801DBF2C 001D8E8C 88 63 08 D4 */ lbz r3, 0x8d4(r3) /* 801DBF30 001D8E90 4E 80 00 20 */ blr .global sub_801dbf34 sub_801dbf34: /* 801DBF34 001D8E94 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801DBF38 001D8E98 7C 08 02 A6 */ mflr r0 /* 801DBF3C 001D8E9C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801DBF40 001D8EA0 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801DBF44 001D8EA4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801DBF48 001D8EA8 DB C1 00 90 */ stfd f30, 0x90(r1) /* 801DBF4C 001D8EAC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801DBF50 001D8EB0 DB A1 00 80 */ stfd f29, 0x80(r1) /* 801DBF54 001D8EB4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 801DBF58 001D8EB8 DB 81 00 70 */ stfd f28, 0x70(r1) /* 801DBF5C 001D8EBC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 /* 801DBF60 001D8EC0 DB 61 00 60 */ stfd f27, 0x60(r1) /* 801DBF64 001D8EC4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 /* 801DBF68 001D8EC8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801DBF6C 001D8ECC 93 C1 00 58 */ stw r30, 0x58(r1) /* 801DBF70 001D8ED0 93 A1 00 54 */ stw r29, 0x54(r1) /* 801DBF74 001D8ED4 7C 7D 1B 78 */ mr r29, r3 /* 801DBF78 001D8ED8 FF A0 08 90 */ fmr f29, f1 /* 801DBF7C 001D8EDC 80 03 07 C4 */ lwz r0, 0x7c4(r3) /* 801DBF80 001D8EE0 7C 9E 23 78 */ mr r30, r4 /* 801DBF84 001D8EE4 2C 00 00 00 */ cmpwi r0, 0 /* 801DBF88 001D8EE8 40 82 00 10 */ bne lbl_801DBF98 /* 801DBF8C 001D8EEC 38 00 00 00 */ li r0, 0 /* 801DBF90 001D8EF0 98 1D 09 3A */ stb r0, 0x93a(r29) /* 801DBF94 001D8EF4 48 00 02 F0 */ b lbl_801DC284 lbl_801DBF98: /* 801DBF98 001D8EF8 A0 7D 09 28 */ lhz r3, 0x928(r29) /* 801DBF9C 001D8EFC 3B E0 00 00 */ li r31, 0 /* 801DBFA0 001D8F00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801DBFA4 001D8F04 C3 E2 AC DC */ lfs f31, lbl_805AC9FC@sda21(r2) /* 801DBFA8 001D8F08 7C 03 00 40 */ cmplw r3, r0 /* 801DBFAC 001D8F0C C3 C2 AC D8 */ lfs f30, lbl_805AC9F8@sda21(r2) /* 801DBFB0 001D8F10 41 82 00 54 */ beq lbl_801DC004 /* 801DBFB4 001D8F14 A0 1D 09 28 */ lhz r0, 0x928(r29) /* 801DBFB8 001D8F18 7F C3 F3 78 */ mr r3, r30 /* 801DBFBC 001D8F1C 38 81 00 08 */ addi r4, r1, 8 /* 801DBFC0 001D8F20 B0 01 00 08 */ sth r0, 8(r1) /* 801DBFC4 001D8F24 4B E7 05 E1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DBFC8 001D8F28 7C 64 1B 78 */ mr r4, r3 /* 801DBFCC 001D8F2C 38 61 00 0C */ addi r3, r1, 0xc /* 801DBFD0 001D8F30 4B ED 3C C1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801DBFD4 001D8F34 80 63 00 04 */ lwz r3, 4(r3) /* 801DBFD8 001D8F38 28 03 00 00 */ cmplwi r3, 0 /* 801DBFDC 001D8F3C 41 82 00 20 */ beq lbl_801DBFFC /* 801DBFE0 001D8F40 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801DBFE4 001D8F44 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801DBFE8 001D8F48 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801DBFEC 001D8F4C D0 1D 09 2C */ stfs f0, 0x92c(r29) /* 801DBFF0 001D8F50 D0 3D 09 30 */ stfs f1, 0x930(r29) /* 801DBFF4 001D8F54 D0 5D 09 34 */ stfs f2, 0x934(r29) /* 801DBFF8 001D8F58 48 00 00 0C */ b lbl_801DC004 lbl_801DBFFC: /* 801DBFFC 001D8F5C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801DC000 001D8F60 B0 1D 09 28 */ sth r0, 0x928(r29) lbl_801DC004: /* 801DC004 001D8F64 88 1D 09 39 */ lbz r0, 0x939(r29) /* 801DC008 001D8F68 28 00 00 00 */ cmplwi r0, 0 /* 801DC00C 001D8F6C 40 82 00 88 */ bne lbl_801DC094 /* 801DC010 001D8F70 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801DC014 001D8F74 7F C4 F3 78 */ mr r4, r30 /* 801DC018 001D8F78 4B E2 FB 01 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 801DC01C 001D8F7C C0 3D 09 30 */ lfs f1, 0x930(r29) /* 801DC020 001D8F80 38 81 00 38 */ addi r4, r1, 0x38 /* 801DC024 001D8F84 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801DC028 001D8F88 C0 7D 09 34 */ lfs f3, 0x934(r29) /* 801DC02C 001D8F8C C0 43 00 60 */ lfs f2, 0x60(r3) /* 801DC030 001D8F90 EC 81 00 28 */ fsubs f4, f1, f0 /* 801DC034 001D8F94 C0 3D 09 2C */ lfs f1, 0x92c(r29) /* 801DC038 001D8F98 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801DC03C 001D8F9C EC 43 10 28 */ fsubs f2, f3, f2 /* 801DC040 001D8FA0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801DC044 001D8FA4 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801DC048 001D8FA8 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801DC04C 001D8FAC D0 01 00 38 */ stfs f0, 0x38(r1) /* 801DC050 001D8FB0 C3 63 00 58 */ lfs f27, 0x58(r3) /* 801DC054 001D8FB4 C3 83 00 48 */ lfs f28, 0x48(r3) /* 801DC058 001D8FB8 C3 C3 00 38 */ lfs f30, 0x38(r3) /* 801DC05C 001D8FBC 38 61 00 2C */ addi r3, r1, 0x2c /* 801DC060 001D8FC0 48 13 87 F1 */ bl AsNormalized__9CVector3fCFv /* 801DC064 001D8FC4 C0 01 00 30 */ lfs f0, 0x30(r1) /* 801DC068 001D8FC8 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801DC06C 001D8FCC EC 20 07 32 */ fmuls f1, f0, f28 /* 801DC070 001D8FD0 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801DC074 001D8FD4 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DC078 001D8FD8 EC 22 0F BA */ fmadds f1, f2, f30, f1 /* 801DC07C 001D8FDC EC 23 0E FA */ fmadds f1, f3, f27, f1 /* 801DC080 001D8FE0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DC084 001D8FE4 40 80 00 0C */ bge lbl_801DC090 /* 801DC088 001D8FE8 FF C0 00 90 */ fmr f30, f0 /* 801DC08C 001D8FEC 48 00 00 08 */ b lbl_801DC094 lbl_801DC090: /* 801DC090 001D8FF0 EF C1 00 72 */ fmuls f30, f1, f1 lbl_801DC094: /* 801DC094 001D8FF4 80 1D 07 C4 */ lwz r0, 0x7c4(r29) /* 801DC098 001D8FF8 2C 00 00 02 */ cmpwi r0, 2 /* 801DC09C 001D8FFC 41 82 00 8C */ beq lbl_801DC128 /* 801DC0A0 001D9000 40 80 00 10 */ bge lbl_801DC0B0 /* 801DC0A4 001D9004 2C 00 00 01 */ cmpwi r0, 1 /* 801DC0A8 001D9008 40 80 00 14 */ bge lbl_801DC0BC /* 801DC0AC 001D900C 48 00 01 54 */ b lbl_801DC200 lbl_801DC0B0: /* 801DC0B0 001D9010 2C 00 00 04 */ cmpwi r0, 4 /* 801DC0B4 001D9014 40 80 01 4C */ bge lbl_801DC200 /* 801DC0B8 001D9018 48 00 00 CC */ b lbl_801DC184 lbl_801DC0BC: /* 801DC0BC 001D901C C0 02 AC D0 */ lfs f0, lbl_805AC9F0@sda21(r2) /* 801DC0C0 001D9020 C0 5D 07 B8 */ lfs f2, 0x7b8(r29) /* 801DC0C4 001D9024 FC 00 10 40 */ fcmpo cr0, f0, f2 /* 801DC0C8 001D9028 40 80 00 0C */ bge lbl_801DC0D4 /* 801DC0CC 001D902C 38 62 AC D0 */ addi r3, r2, lbl_805AC9F0@sda21 /* 801DC0D0 001D9030 48 00 00 08 */ b lbl_801DC0D8 lbl_801DC0D4: /* 801DC0D4 001D9034 38 7D 07 B8 */ addi r3, r29, 0x7b8 lbl_801DC0D8: /* 801DC0D8 001D9038 C0 02 AD 0C */ lfs f0, lbl_805ACA2C@sda21(r2) /* 801DC0DC 001D903C C0 23 00 00 */ lfs f1, 0(r3) /* 801DC0E0 001D9040 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801DC0E4 001D9044 EF E1 00 24 */ fdivs f31, f1, f0 /* 801DC0E8 001D9048 40 81 00 14 */ ble lbl_801DC0FC /* 801DC0EC 001D904C 38 00 00 03 */ li r0, 3 /* 801DC0F0 001D9050 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DC0F4 001D9054 90 1D 07 C4 */ stw r0, 0x7c4(r29) /* 801DC0F8 001D9058 D0 1D 07 B8 */ stfs f0, 0x7b8(r29) lbl_801DC0FC: /* 801DC0FC 001D905C C0 1D 07 B8 */ lfs f0, 0x7b8(r29) /* 801DC100 001D9060 EC 00 E8 2A */ fadds f0, f0, f29 /* 801DC104 001D9064 D0 1D 07 B8 */ stfs f0, 0x7b8(r29) /* 801DC108 001D9068 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801DC10C 001D906C 80 63 00 00 */ lwz r3, 0(r3) /* 801DC110 001D9070 80 03 00 14 */ lwz r0, 0x14(r3) /* 801DC114 001D9074 2C 00 00 03 */ cmpwi r0, 3 /* 801DC118 001D9078 40 82 00 E8 */ bne lbl_801DC200 /* 801DC11C 001D907C 38 00 00 01 */ li r0, 1 /* 801DC120 001D9080 98 1D 06 88 */ stb r0, 0x688(r29) /* 801DC124 001D9084 48 00 00 DC */ b lbl_801DC200 lbl_801DC128: /* 801DC128 001D9088 C0 02 AC D4 */ lfs f0, lbl_805AC9F4@sda21(r2) /* 801DC12C 001D908C C0 7D 07 B8 */ lfs f3, 0x7b8(r29) /* 801DC130 001D9090 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801DC134 001D9094 40 80 00 0C */ bge lbl_801DC140 /* 801DC138 001D9098 38 62 AC D4 */ addi r3, r2, lbl_805AC9F4@sda21 /* 801DC13C 001D909C 48 00 00 08 */ b lbl_801DC144 lbl_801DC140: /* 801DC140 001D90A0 38 7D 07 B8 */ addi r3, r29, 0x7b8 lbl_801DC144: /* 801DC144 001D90A4 C0 02 AC E0 */ lfs f0, lbl_805ACA00@sda21(r2) /* 801DC148 001D90A8 C0 43 00 00 */ lfs f2, 0(r3) /* 801DC14C 001D90AC C0 22 AC F8 */ lfs f1, lbl_805ACA18@sda21(r2) /* 801DC150 001D90B0 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 801DC154 001D90B4 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DC158 001D90B8 EF E2 00 7C */ fnmsubs f31, f2, f1, f0 /* 801DC15C 001D90BC 40 81 00 18 */ ble lbl_801DC174 /* 801DC160 001D90C0 38 00 00 00 */ li r0, 0 /* 801DC164 001D90C4 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DC168 001D90C8 90 1D 07 C4 */ stw r0, 0x7c4(r29) /* 801DC16C 001D90CC D0 1D 07 B8 */ stfs f0, 0x7b8(r29) /* 801DC170 001D90D0 D0 1D 07 C0 */ stfs f0, 0x7c0(r29) lbl_801DC174: /* 801DC174 001D90D4 C0 1D 07 B8 */ lfs f0, 0x7b8(r29) /* 801DC178 001D90D8 EC 00 E8 2A */ fadds f0, f0, f29 /* 801DC17C 001D90DC D0 1D 07 B8 */ stfs f0, 0x7b8(r29) /* 801DC180 001D90E0 48 00 00 80 */ b lbl_801DC200 lbl_801DC184: /* 801DC184 001D90E4 C0 3D 07 B8 */ lfs f1, 0x7b8(r29) /* 801DC188 001D90E8 C0 1D 07 BC */ lfs f0, 0x7bc(r29) /* 801DC18C 001D90EC C3 E2 AC D8 */ lfs f31, lbl_805AC9F8@sda21(r2) /* 801DC190 001D90F0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DC194 001D90F4 40 81 00 20 */ ble lbl_801DC1B4 /* 801DC198 001D90F8 88 1D 09 38 */ lbz r0, 0x938(r29) /* 801DC19C 001D90FC 28 00 00 00 */ cmplwi r0, 0 /* 801DC1A0 001D9100 40 82 00 14 */ bne lbl_801DC1B4 /* 801DC1A4 001D9104 38 00 00 02 */ li r0, 2 /* 801DC1A8 001D9108 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DC1AC 001D910C 90 1D 07 C4 */ stw r0, 0x7c4(r29) /* 801DC1B0 001D9110 D0 1D 07 B8 */ stfs f0, 0x7b8(r29) lbl_801DC1B4: /* 801DC1B4 001D9114 C0 1D 07 B8 */ lfs f0, 0x7b8(r29) /* 801DC1B8 001D9118 EC 00 E8 2A */ fadds f0, f0, f29 /* 801DC1BC 001D911C D0 1D 07 B8 */ stfs f0, 0x7b8(r29) /* 801DC1C0 001D9120 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801DC1C4 001D9124 80 63 00 00 */ lwz r3, 0(r3) /* 801DC1C8 001D9128 80 03 00 14 */ lwz r0, 0x14(r3) /* 801DC1CC 001D912C 2C 00 00 03 */ cmpwi r0, 3 /* 801DC1D0 001D9130 40 82 00 30 */ bne lbl_801DC200 /* 801DC1D4 001D9134 38 80 00 01 */ li r4, 1 /* 801DC1D8 001D9138 38 60 00 00 */ li r3, 0 /* 801DC1DC 001D913C 98 9D 06 88 */ stb r4, 0x688(r29) /* 801DC1E0 001D9140 88 1D 09 38 */ lbz r0, 0x938(r29) /* 801DC1E4 001D9144 28 00 00 00 */ cmplwi r0, 0 /* 801DC1E8 001D9148 41 82 00 14 */ beq lbl_801DC1FC /* 801DC1EC 001D914C C0 02 AD 10 */ lfs f0, lbl_805ACA30@sda21(r2) /* 801DC1F0 001D9150 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801DC1F4 001D9154 40 81 00 08 */ ble lbl_801DC1FC /* 801DC1F8 001D9158 7C 83 23 78 */ mr r3, r4 lbl_801DC1FC: /* 801DC1FC 001D915C 7C 7F 1B 78 */ mr r31, r3 lbl_801DC200: /* 801DC200 001D9160 EF FF 07 B2 */ fmuls f31, f31, f30 /* 801DC204 001D9164 C0 02 AD 14 */ lfs f0, lbl_805ACA34@sda21(r2) /* 801DC208 001D9168 57 E3 06 3E */ clrlwi r3, r31, 0x18 /* 801DC20C 001D916C D3 FD 07 C0 */ stfs f31, 0x7c0(r29) /* 801DC210 001D9170 EC 20 07 F2 */ fmuls f1, f0, f31 /* 801DC214 001D9174 C0 1E 0F 28 */ lfs f0, 0xf28(r30) /* 801DC218 001D9178 EC 00 08 2A */ fadds f0, f0, f1 /* 801DC21C 001D917C D0 1E 0F 28 */ stfs f0, 0xf28(r30) /* 801DC220 001D9180 D0 3D 05 0C */ stfs f1, 0x50c(r29) /* 801DC224 001D9184 88 1D 09 3A */ lbz r0, 0x93a(r29) /* 801DC228 001D9188 7C 03 00 40 */ cmplw r3, r0 /* 801DC22C 001D918C 41 82 00 58 */ beq lbl_801DC284 /* 801DC230 001D9190 28 03 00 00 */ cmplwi r3, 0 /* 801DC234 001D9194 41 82 00 4C */ beq lbl_801DC280 /* 801DC238 001D9198 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 801DC23C 001D919C 38 80 00 12 */ li r4, 0x12 /* 801DC240 001D91A0 48 17 A4 BD */ bl GetString__12CStringTableCFi /* 801DC244 001D91A4 7C 64 1B 78 */ mr r4, r3 /* 801DC248 001D91A8 38 61 00 1C */ addi r3, r1, 0x1c /* 801DC24C 001D91AC 4B E3 97 A5 */ bl wstring_l__4rstlFPCw /* 801DC250 001D91B0 C0 02 AD 18 */ lfs f0, lbl_805ACA38@sda21(r2) /* 801DC254 001D91B4 38 00 00 00 */ li r0, 0 /* 801DC258 001D91B8 38 A0 00 01 */ li r5, 1 /* 801DC25C 001D91BC 98 01 00 19 */ stb r0, 0x19(r1) /* 801DC260 001D91C0 38 61 00 1C */ addi r3, r1, 0x1c /* 801DC264 001D91C4 38 81 00 14 */ addi r4, r1, 0x14 /* 801DC268 001D91C8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801DC26C 001D91CC 98 A1 00 18 */ stb r5, 0x18(r1) /* 801DC270 001D91D0 98 01 00 1A */ stb r0, 0x1a(r1) /* 801DC274 001D91D4 4B E8 F9 F5 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo /* 801DC278 001D91D8 38 61 00 1C */ addi r3, r1, 0x1c /* 801DC27C 001D91DC 48 16 0E B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DC280: /* 801DC280 001D91E0 9B FD 09 3A */ stb r31, 0x93a(r29) lbl_801DC284: /* 801DC284 001D91E4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801DC288 001D91E8 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801DC28C 001D91EC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801DC290 001D91F0 CB C1 00 90 */ lfd f30, 0x90(r1) /* 801DC294 001D91F4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 801DC298 001D91F8 CB A1 00 80 */ lfd f29, 0x80(r1) /* 801DC29C 001D91FC E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 /* 801DC2A0 001D9200 CB 81 00 70 */ lfd f28, 0x70(r1) /* 801DC2A4 001D9204 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 /* 801DC2A8 001D9208 CB 61 00 60 */ lfd f27, 0x60(r1) /* 801DC2AC 001D920C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801DC2B0 001D9210 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801DC2B4 001D9214 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801DC2B8 001D9218 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801DC2BC 001D921C 7C 08 03 A6 */ mtlr r0 /* 801DC2C0 001D9220 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801DC2C4 001D9224 4E 80 00 20 */ blr .global sub_801dc2c8 sub_801dc2c8: /* 801DC2C8 001D9228 80 83 06 14 */ lwz r4, 0x614(r3) /* 801DC2CC 001D922C 80 63 06 48 */ lwz r3, 0x648(r3) /* 801DC2D0 001D9230 38 04 FF FF */ addi r0, r4, -1 /* 801DC2D4 001D9234 7C 03 00 50 */ subf r0, r3, r0 /* 801DC2D8 001D9238 7C 00 00 34 */ cntlzw r0, r0 /* 801DC2DC 001D923C 54 03 D9 7E */ srwi r3, r0, 5 /* 801DC2E0 001D9240 4E 80 00 20 */ blr .global CoverBlown__8CThardusFR13CStateManagerf CoverBlown__8CThardusFR13CStateManagerf: /* 801DC2E4 001D9244 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DC2E8 001D9248 7C 08 02 A6 */ mflr r0 /* 801DC2EC 001D924C 90 01 00 14 */ stw r0, 0x14(r1) /* 801DC2F0 001D9250 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DC2F4 001D9254 3B E0 00 00 */ li r31, 0 /* 801DC2F8 001D9258 80 03 05 C4 */ lwz r0, 0x5c4(r3) /* 801DC2FC 001D925C 2C 00 00 02 */ cmpwi r0, 2 /* 801DC300 001D9260 40 82 00 24 */ bne lbl_801DC324 /* 801DC304 001D9264 81 83 00 00 */ lwz r12, 0(r3) /* 801DC308 001D9268 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DC30C 001D926C 81 8C 02 4C */ lwz r12, 0x24c(r12) /* 801DC310 001D9270 7D 89 03 A6 */ mtctr r12 /* 801DC314 001D9274 4E 80 04 21 */ bctrl /* 801DC318 001D9278 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DC31C 001D927C 40 82 00 08 */ bne lbl_801DC324 /* 801DC320 001D9280 3B E0 00 01 */ li r31, 1 lbl_801DC324: /* 801DC324 001D9284 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DC328 001D9288 7F E3 FB 78 */ mr r3, r31 /* 801DC32C 001D928C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DC330 001D9290 7C 08 03 A6 */ mtlr r0 /* 801DC334 001D9294 38 21 00 10 */ addi r1, r1, 0x10 /* 801DC338 001D9298 4E 80 00 20 */ blr .global AttackOver__8CThardusFR13CStateManagerf AttackOver__8CThardusFR13CStateManagerf: /* 801DC33C 001D929C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DC340 001D92A0 7C 08 02 A6 */ mflr r0 /* 801DC344 001D92A4 90 01 00 24 */ stw r0, 0x24(r1) /* 801DC348 001D92A8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DC34C 001D92AC 7C 7F 1B 78 */ mr r31, r3 /* 801DC350 001D92B0 80 03 05 C4 */ lwz r0, 0x5c4(r3) /* 801DC354 001D92B4 2C 00 00 01 */ cmpwi r0, 1 /* 801DC358 001D92B8 40 82 00 80 */ bne lbl_801DC3D8 /* 801DC35C 001D92BC 88 1F 09 4D */ lbz r0, 0x94d(r31) /* 801DC360 001D92C0 28 00 00 00 */ cmplwi r0, 0 /* 801DC364 001D92C4 40 82 00 74 */ bne lbl_801DC3D8 /* 801DC368 001D92C8 80 9F 09 40 */ lwz r4, 0x940(r31) /* 801DC36C 001D92CC 3C 00 43 30 */ lis r0, 0x4330 /* 801DC370 001D92D0 90 01 00 10 */ stw r0, 0x10(r1) /* 801DC374 001D92D4 C8 22 AD 20 */ lfd f1, lbl_805ACA40@sda21(r2) /* 801DC378 001D92D8 90 81 00 14 */ stw r4, 0x14(r1) /* 801DC37C 001D92DC C0 42 AD 1C */ lfs f2, lbl_805ACA3C@sda21(r2) /* 801DC380 001D92E0 C8 01 00 10 */ lfd f0, 0x10(r1) /* 801DC384 001D92E4 EC 00 08 28 */ fsubs f0, f0, f1 /* 801DC388 001D92E8 EC 02 00 32 */ fmuls f0, f2, f0 /* 801DC38C 001D92EC D0 01 00 08 */ stfs f0, 8(r1) /* 801DC390 001D92F0 4B FF FF 39 */ bl sub_801dc2c8 /* 801DC394 001D92F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DC398 001D92F8 41 82 00 0C */ beq lbl_801DC3A4 /* 801DC39C 001D92FC C0 21 00 08 */ lfs f1, 8(r1) /* 801DC3A0 001D9300 48 00 00 24 */ b lbl_801DC3C4 lbl_801DC3A4: /* 801DC3A4 001D9304 C0 21 00 08 */ lfs f1, 8(r1) /* 801DC3A8 001D9308 C0 02 AC CC */ lfs f0, lbl_805AC9EC@sda21(r2) /* 801DC3AC 001D930C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DC3B0 001D9310 40 80 00 0C */ bge lbl_801DC3BC /* 801DC3B4 001D9314 38 62 AC CC */ addi r3, r2, lbl_805AC9EC@sda21 /* 801DC3B8 001D9318 48 00 00 08 */ b lbl_801DC3C0 lbl_801DC3BC: /* 801DC3BC 001D931C 38 61 00 08 */ addi r3, r1, 8 lbl_801DC3C0: /* 801DC3C0 001D9320 C0 23 00 00 */ lfs f1, 0(r3) lbl_801DC3C4: /* 801DC3C4 001D9324 C0 1F 03 38 */ lfs f0, 0x338(r31) /* 801DC3C8 001D9328 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DC3CC 001D932C 40 81 00 60 */ ble lbl_801DC42C /* 801DC3D0 001D9330 38 60 00 01 */ li r3, 1 /* 801DC3D4 001D9334 48 00 00 5C */ b lbl_801DC430 lbl_801DC3D8: /* 801DC3D8 001D9338 7F E3 FB 78 */ mr r3, r31 /* 801DC3DC 001D933C 4B FF FE ED */ bl sub_801dc2c8 /* 801DC3E0 001D9340 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DC3E4 001D9344 40 82 00 28 */ bne lbl_801DC40C /* 801DC3E8 001D9348 88 1F 09 3B */ lbz r0, 0x93b(r31) /* 801DC3EC 001D934C 28 00 00 00 */ cmplwi r0, 0 /* 801DC3F0 001D9350 40 82 00 1C */ bne lbl_801DC40C /* 801DC3F4 001D9354 88 1F 09 4D */ lbz r0, 0x94d(r31) /* 801DC3F8 001D9358 28 00 00 00 */ cmplwi r0, 0 /* 801DC3FC 001D935C 40 82 00 10 */ bne lbl_801DC40C /* 801DC400 001D9360 80 1F 05 C4 */ lwz r0, 0x5c4(r31) /* 801DC404 001D9364 2C 00 FF FF */ cmpwi r0, -1 /* 801DC408 001D9368 40 82 00 0C */ bne lbl_801DC414 lbl_801DC40C: /* 801DC40C 001D936C 38 60 00 01 */ li r3, 1 /* 801DC410 001D9370 48 00 00 20 */ b lbl_801DC430 lbl_801DC414: /* 801DC414 001D9374 C0 3F 03 38 */ lfs f1, 0x338(r31) /* 801DC418 001D9378 C0 02 AD 10 */ lfs f0, lbl_805ACA30@sda21(r2) /* 801DC41C 001D937C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DC420 001D9380 40 81 00 0C */ ble lbl_801DC42C /* 801DC424 001D9384 38 60 00 01 */ li r3, 1 /* 801DC428 001D9388 48 00 00 08 */ b lbl_801DC430 lbl_801DC42C: /* 801DC42C 001D938C 38 60 00 00 */ li r3, 0 lbl_801DC430: /* 801DC430 001D9390 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DC434 001D9394 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DC438 001D9398 7C 08 03 A6 */ mtlr r0 /* 801DC43C 001D939C 38 21 00 20 */ addi r1, r1, 0x20 /* 801DC440 001D93A0 4E 80 00 20 */ blr .global sub_801dc444 sub_801dc444: /* 801DC444 001D93A4 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801DC448 001D93A8 7C 08 02 A6 */ mflr r0 /* 801DC44C 001D93AC 3C E0 80 3D */ lis r7, lbl_803D1CB8@ha /* 801DC450 001D93B0 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801DC454 001D93B4 38 E7 1C B8 */ addi r7, r7, lbl_803D1CB8@l /* 801DC458 001D93B8 93 E1 00 DC */ stw r31, 0xdc(r1) /* 801DC45C 001D93BC 7C DF 33 78 */ mr r31, r6 /* 801DC460 001D93C0 38 C1 00 0C */ addi r6, r1, 0xc /* 801DC464 001D93C4 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 801DC468 001D93C8 7C BE 2B 78 */ mr r30, r5 /* 801DC46C 001D93CC 38 A0 FF FF */ li r5, -1 /* 801DC470 001D93D0 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 801DC474 001D93D4 7C 9D 23 78 */ mr r29, r4 /* 801DC478 001D93D8 38 87 01 88 */ addi r4, r7, 0x188 /* 801DC47C 001D93DC 93 81 00 D0 */ stw r28, 0xd0(r1) /* 801DC480 001D93E0 7C 7C 1B 78 */ mr r28, r3 /* 801DC484 001D93E4 38 61 00 90 */ addi r3, r1, 0x90 /* 801DC488 001D93E8 48 16 1D 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801DC48C 001D93EC 7F E4 FB 78 */ mr r4, r31 /* 801DC490 001D93F0 38 61 00 80 */ addi r3, r1, 0x80 /* 801DC494 001D93F4 48 16 24 01 */ bl CreateFromInteger__13CStringExtrasFi /* 801DC498 001D93F8 38 61 00 70 */ addi r3, r1, 0x70 /* 801DC49C 001D93FC 38 81 00 90 */ addi r4, r1, 0x90 /* 801DC4A0 001D9400 38 A1 00 80 */ addi r5, r1, 0x80 /* 801DC4A4 001D9404 4B E2 87 B9 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC4A8 001D9408 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DC4AC 001D940C 38 61 00 60 */ addi r3, r1, 0x60 /* 801DC4B0 001D9410 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DC4B4 001D9414 38 C1 00 08 */ addi r6, r1, 8 /* 801DC4B8 001D9418 38 84 01 94 */ addi r4, r4, 0x194 /* 801DC4BC 001D941C 38 A0 FF FF */ li r5, -1 /* 801DC4C0 001D9420 48 16 1C D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801DC4C4 001D9424 38 61 00 50 */ addi r3, r1, 0x50 /* 801DC4C8 001D9428 38 81 00 70 */ addi r4, r1, 0x70 /* 801DC4CC 001D942C 38 A1 00 60 */ addi r5, r1, 0x60 /* 801DC4D0 001D9430 4B E2 87 8D */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC4D4 001D9434 80 9C 06 F4 */ lwz r4, 0x6f4(r28) /* 801DC4D8 001D9438 38 61 00 40 */ addi r3, r1, 0x40 /* 801DC4DC 001D943C 38 04 00 01 */ addi r0, r4, 1 /* 801DC4E0 001D9440 90 1C 06 F4 */ stw r0, 0x6f4(r28) /* 801DC4E4 001D9444 48 16 23 B1 */ bl CreateFromInteger__13CStringExtrasFi /* 801DC4E8 001D9448 38 61 00 30 */ addi r3, r1, 0x30 /* 801DC4EC 001D944C 38 81 00 50 */ addi r4, r1, 0x50 /* 801DC4F0 001D9450 38 A1 00 40 */ addi r5, r1, 0x40 /* 801DC4F4 001D9454 4B E2 87 69 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC4F8 001D9458 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801DC4FC 001D945C 38 81 00 30 */ addi r4, r1, 0x30 /* 801DC500 001D9460 48 16 1C 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC504 001D9464 38 61 00 30 */ addi r3, r1, 0x30 /* 801DC508 001D9468 48 16 15 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC50C 001D946C 38 61 00 40 */ addi r3, r1, 0x40 /* 801DC510 001D9470 48 16 15 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC514 001D9474 38 61 00 50 */ addi r3, r1, 0x50 /* 801DC518 001D9478 48 16 15 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC51C 001D947C 38 61 00 60 */ addi r3, r1, 0x60 /* 801DC520 001D9480 48 16 15 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC524 001D9484 38 61 00 70 */ addi r3, r1, 0x70 /* 801DC528 001D9488 48 16 15 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC52C 001D948C 38 61 00 80 */ addi r3, r1, 0x80 /* 801DC530 001D9490 48 16 15 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC534 001D9494 38 61 00 90 */ addi r3, r1, 0x90 /* 801DC538 001D9498 48 16 15 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC53C 001D949C 81 7C 00 04 */ lwz r11, 4(r28) /* 801DC540 001D94A0 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801DC544 001D94A4 C0 02 AC E0 */ lfs f0, lbl_805ACA00@sda21(r2) /* 801DC548 001D94A8 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801DC54C 001D94AC 91 61 00 14 */ stw r11, 0x14(r1) /* 801DC550 001D94B0 38 60 00 00 */ li r3, 0 /* 801DC554 001D94B4 C0 7E 00 00 */ lfs f3, 0(r30) /* 801DC558 001D94B8 7F A8 EB 78 */ mr r8, r29 /* 801DC55C 001D94BC 80 BC 00 64 */ lwz r5, 0x64(r28) /* 801DC560 001D94C0 38 81 00 A0 */ addi r4, r1, 0xa0 /* 801DC564 001D94C4 C0 5E 00 04 */ lfs f2, 4(r30) /* 801DC568 001D94C8 38 C1 00 B0 */ addi r6, r1, 0xb0 /* 801DC56C 001D94CC C0 E5 00 00 */ lfs f7, 0(r5) /* 801DC570 001D94D0 38 E1 00 24 */ addi r7, r1, 0x24 /* 801DC574 001D94D4 C0 C5 00 04 */ lfs f6, 4(r5) /* 801DC578 001D94D8 39 21 00 14 */ addi r9, r1, 0x14 /* 801DC57C 001D94DC C0 A5 00 08 */ lfs f5, 8(r5) /* 801DC580 001D94E0 EC 80 01 F2 */ fmuls f4, f0, f7 /* 801DC584 001D94E4 ED 20 01 B2 */ fmuls f9, f0, f6 /* 801DC588 001D94E8 C0 3E 00 08 */ lfs f1, 8(r30) /* 801DC58C 001D94EC ED 00 01 72 */ fmuls f8, f0, f5 /* 801DC590 001D94F0 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DC594 001D94F4 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801DC598 001D94F8 38 A0 00 40 */ li r5, 0x40 /* 801DC59C 001D94FC D1 21 00 28 */ stfs f9, 0x28(r1) /* 801DC5A0 001D9500 39 40 00 00 */ li r10, 0 /* 801DC5A4 001D9504 D1 01 00 2C */ stfs f8, 0x2c(r1) /* 801DC5A8 001D9508 90 61 00 B0 */ stw r3, 0xb0(r1) /* 801DC5AC 001D950C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801DC5B0 001D9510 93 E1 00 B8 */ stw r31, 0xb8(r1) /* 801DC5B4 001D9514 D0 61 00 BC */ stfs f3, 0xbc(r1) /* 801DC5B8 001D9518 D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 801DC5BC 001D951C D0 21 00 C4 */ stfs f1, 0xc4(r1) /* 801DC5C0 001D9520 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 801DC5C4 001D9524 80 7C 00 64 */ lwz r3, 0x64(r28) /* 801DC5C8 001D9528 91 61 00 10 */ stw r11, 0x10(r1) /* 801DC5CC 001D952C 80 63 00 10 */ lwz r3, 0x10(r3) /* 801DC5D0 001D9530 D0 E1 00 18 */ stfs f7, 0x18(r1) /* 801DC5D4 001D9534 38 63 01 20 */ addi r3, r3, 0x120 /* 801DC5D8 001D9538 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 801DC5DC 001D953C D0 A1 00 20 */ stfs f5, 0x20(r1) /* 801DC5E0 001D9540 4B ED C9 85 */ bl "AddAuxiliaryParticleEffect__17CParticleDatabaseFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>iRC22CAuxiliaryParticleDataRC9CVector3fR13CStateManager7TAreaIdi" /* 801DC5E4 001D9544 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801DC5E8 001D9548 48 16 14 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC5EC 001D954C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801DC5F0 001D9550 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 801DC5F4 001D9554 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 801DC5F8 001D9558 83 A1 00 D4 */ lwz r29, 0xd4(r1) /* 801DC5FC 001D955C 83 81 00 D0 */ lwz r28, 0xd0(r1) /* 801DC600 001D9560 7C 08 03 A6 */ mtlr r0 /* 801DC604 001D9564 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801DC608 001D9568 4E 80 00 20 */ blr .global sub_801dc60c sub_801dc60c: /* 801DC60C 001D956C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801DC610 001D9570 7C 08 02 A6 */ mflr r0 /* 801DC614 001D9574 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801DC618 001D9578 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801DC61C 001D957C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801DC620 001D9580 DB C1 00 90 */ stfd f30, 0x90(r1) /* 801DC624 001D9584 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801DC628 001D9588 DB A1 00 80 */ stfd f29, 0x80(r1) /* 801DC62C 001D958C F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 801DC630 001D9590 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801DC634 001D9594 93 C1 00 78 */ stw r30, 0x78(r1) /* 801DC638 001D9598 93 A1 00 74 */ stw r29, 0x74(r1) /* 801DC63C 001D959C 93 81 00 70 */ stw r28, 0x70(r1) /* 801DC640 001D95A0 7C 9D 23 78 */ mr r29, r4 /* 801DC644 001D95A4 7C 7C 1B 78 */ mr r28, r3 /* 801DC648 001D95A8 7F A3 EB 78 */ mr r3, r29 /* 801DC64C 001D95AC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801DC650 001D95B0 81 9D 00 00 */ lwz r12, 0(r29) /* 801DC654 001D95B4 3B E4 66 A0 */ addi r31, r4, skZero3f@l /* 801DC658 001D95B8 FF A0 08 90 */ fmr f29, f1 /* 801DC65C 001D95BC 7C BE 2B 78 */ mr r30, r5 /* 801DC660 001D95C0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801DC664 001D95C4 C3 FF 00 00 */ lfs f31, 0(r31) /* 801DC668 001D95C8 C3 DF 00 04 */ lfs f30, 4(r31) /* 801DC66C 001D95CC 7D 89 03 A6 */ mtctr r12 /* 801DC670 001D95D0 4E 80 04 21 */ bctrl /* 801DC674 001D95D4 28 03 00 00 */ cmplwi r3, 0 /* 801DC678 001D95D8 41 82 00 C8 */ beq lbl_801DC740 /* 801DC67C 001D95DC 7F A3 EB 78 */ mr r3, r29 /* 801DC680 001D95E0 81 9D 00 00 */ lwz r12, 0(r29) /* 801DC684 001D95E4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801DC688 001D95E8 7D 89 03 A6 */ mtctr r12 /* 801DC68C 001D95EC 4E 80 04 21 */ bctrl /* 801DC690 001D95F0 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801DC694 001D95F4 2C 00 00 00 */ cmpwi r0, 0 /* 801DC698 001D95F8 41 82 00 88 */ beq lbl_801DC720 /* 801DC69C 001D95FC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DC6A0 001D9600 C0 3F 00 04 */ lfs f1, 4(r31) /* 801DC6A4 001D9604 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801DC6A8 001D9608 7F A3 EB 78 */ mr r3, r29 /* 801DC6AC 001D960C C0 44 00 00 */ lfs f2, 0(r4) /* 801DC6B0 001D9610 C0 04 00 08 */ lfs f0, 8(r4) /* 801DC6B4 001D9614 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801DC6B8 001D9618 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801DC6BC 001D961C D0 01 00 68 */ stfs f0, 0x68(r1) /* 801DC6C0 001D9620 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801DC6C4 001D9624 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801DC6C8 001D9628 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801DC6CC 001D962C D0 01 00 48 */ stfs f0, 0x48(r1) /* 801DC6D0 001D9630 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801DC6D4 001D9634 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801DC6D8 001D9638 81 9D 00 00 */ lwz r12, 0(r29) /* 801DC6DC 001D963C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801DC6E0 001D9640 7D 89 03 A6 */ mtctr r12 /* 801DC6E4 001D9644 4E 80 04 21 */ bctrl /* 801DC6E8 001D9648 38 81 00 48 */ addi r4, r1, 0x48 /* 801DC6EC 001D964C 38 A1 00 60 */ addi r5, r1, 0x60 /* 801DC6F0 001D9650 4B FE AA 0D */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f /* 801DC6F4 001D9654 2C 03 00 00 */ cmpwi r3, 0 /* 801DC6F8 001D9658 40 82 00 48 */ bne lbl_801DC740 /* 801DC6FC 001D965C C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DC700 001D9660 7F A5 EB 78 */ mr r5, r29 /* 801DC704 001D9664 38 61 00 3C */ addi r3, r1, 0x3c /* 801DC708 001D9668 38 9D 04 5C */ addi r4, r29, 0x45c /* 801DC70C 001D966C 38 DD 07 D8 */ addi r6, r29, 0x7d8 /* 801DC710 001D9670 4B F6 24 0D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801DC714 001D9674 C3 E1 00 3C */ lfs f31, 0x3c(r1) /* 801DC718 001D9678 C3 C1 00 40 */ lfs f30, 0x40(r1) /* 801DC71C 001D967C 48 00 00 24 */ b lbl_801DC740 lbl_801DC720: /* 801DC720 001D9680 FC 20 E8 90 */ fmr f1, f29 /* 801DC724 001D9684 7F A3 EB 78 */ mr r3, r29 /* 801DC728 001D9688 7F C4 F3 78 */ mr r4, r30 /* 801DC72C 001D968C 38 A0 00 01 */ li r5, 1 /* 801DC730 001D9690 48 01 9F 9D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 801DC734 001D9694 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801DC738 001D9698 C3 E3 00 04 */ lfs f31, 4(r3) /* 801DC73C 001D969C C3 C3 00 08 */ lfs f30, 8(r3) lbl_801DC740: /* 801DC740 001D96A0 FC 20 F8 90 */ fmr f1, f31 /* 801DC744 001D96A4 38 61 00 18 */ addi r3, r1, 0x18 /* 801DC748 001D96A8 FC 40 F0 90 */ fmr f2, f30 /* 801DC74C 001D96AC 48 13 7A B5 */ bl __ct__9CVector2fFff /* 801DC750 001D96B0 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801DC754 001D96B4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801DC758 001D96B8 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801DC75C 001D96BC D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801DC760 001D96C0 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801DC764 001D96C4 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801DC768 001D96C8 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801DC76C 001D96CC D0 01 00 54 */ stfs f0, 0x54(r1) /* 801DC770 001D96D0 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801DC774 001D96D4 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801DC778 001D96D8 88 1D 08 D4 */ lbz r0, 0x8d4(r29) /* 801DC77C 001D96DC 28 00 00 00 */ cmplwi r0, 0 /* 801DC780 001D96E0 41 82 00 1C */ beq lbl_801DC79C /* 801DC784 001D96E4 41 82 00 60 */ beq lbl_801DC7E4 /* 801DC788 001D96E8 38 7D 07 F0 */ addi r3, r29, 0x7f0 /* 801DC78C 001D96EC 38 81 00 54 */ addi r4, r1, 0x54 /* 801DC790 001D96F0 4B FE A3 A5 */ bl OnPath__15CPathFindSearchCFRC9CVector3f /* 801DC794 001D96F4 2C 03 00 00 */ cmpwi r3, 0 /* 801DC798 001D96F8 41 82 00 4C */ beq lbl_801DC7E4 lbl_801DC79C: /* 801DC79C 001D96FC 7F A4 EB 78 */ mr r4, r29 /* 801DC7A0 001D9700 7F C5 F3 78 */ mr r5, r30 /* 801DC7A4 001D9704 38 61 00 10 */ addi r3, r1, 0x10 /* 801DC7A8 001D9708 4B FF E4 89 */ bl sub_801dac30 /* 801DC7AC 001D970C C0 21 00 10 */ lfs f1, 0x10(r1) /* 801DC7B0 001D9710 38 61 00 20 */ addi r3, r1, 0x20 /* 801DC7B4 001D9714 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801DC7B8 001D9718 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 801DC7BC 001D971C D0 21 00 20 */ stfs f1, 0x20(r1) /* 801DC7C0 001D9720 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801DC7C4 001D9724 48 13 77 45 */ bl __eq__FRC9CVector2fRC9CVector2f /* 801DC7C8 001D9728 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DC7CC 001D972C 40 82 00 18 */ bne lbl_801DC7E4 /* 801DC7D0 001D9730 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801DC7D4 001D9734 D0 1C 00 00 */ stfs f0, 0(r28) /* 801DC7D8 001D9738 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801DC7DC 001D973C D0 1C 00 04 */ stfs f0, 4(r28) /* 801DC7E0 001D9740 48 00 00 60 */ b lbl_801DC840 lbl_801DC7E4: /* 801DC7E4 001D9744 38 61 00 28 */ addi r3, r1, 0x28 /* 801DC7E8 001D9748 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 801DC7EC 001D974C 48 13 77 1D */ bl __eq__FRC9CVector2fRC9CVector2f /* 801DC7F0 001D9750 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DC7F4 001D9754 41 82 00 3C */ beq lbl_801DC830 /* 801DC7F8 001D9758 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DC7FC 001D975C 7F A5 EB 78 */ mr r5, r29 /* 801DC800 001D9760 38 61 00 30 */ addi r3, r1, 0x30 /* 801DC804 001D9764 38 9D 04 5C */ addi r4, r29, 0x45c /* 801DC808 001D9768 38 DD 07 D8 */ addi r6, r29, 0x7d8 /* 801DC80C 001D976C 4B F6 23 11 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801DC810 001D9770 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801DC814 001D9774 38 61 00 08 */ addi r3, r1, 8 /* 801DC818 001D9778 C0 41 00 34 */ lfs f2, 0x34(r1) /* 801DC81C 001D977C 48 13 79 E5 */ bl __ct__9CVector2fFff /* 801DC820 001D9780 C0 21 00 08 */ lfs f1, 8(r1) /* 801DC824 001D9784 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801DC828 001D9788 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801DC82C 001D978C D0 01 00 2C */ stfs f0, 0x2c(r1) lbl_801DC830: /* 801DC830 001D9790 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801DC834 001D9794 D0 1C 00 00 */ stfs f0, 0(r28) /* 801DC838 001D9798 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801DC83C 001D979C D0 1C 00 04 */ stfs f0, 4(r28) lbl_801DC840: /* 801DC840 001D97A0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801DC844 001D97A4 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801DC848 001D97A8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801DC84C 001D97AC CB C1 00 90 */ lfd f30, 0x90(r1) /* 801DC850 001D97B0 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 801DC854 001D97B4 CB A1 00 80 */ lfd f29, 0x80(r1) /* 801DC858 001D97B8 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801DC85C 001D97BC 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801DC860 001D97C0 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801DC864 001D97C4 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801DC868 001D97C8 83 81 00 70 */ lwz r28, 0x70(r1) /* 801DC86C 001D97CC 7C 08 03 A6 */ mtlr r0 /* 801DC870 001D97D0 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801DC874 001D97D4 4E 80 00 20 */ blr .global sub_801dc878 sub_801dc878: /* 801DC878 001D97D8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DC87C 001D97DC 7C 08 02 A6 */ mflr r0 /* 801DC880 001D97E0 3C A0 80 3D */ lis r5, lbl_803D1CB8@ha /* 801DC884 001D97E4 90 01 00 24 */ stw r0, 0x24(r1) /* 801DC888 001D97E8 38 A5 1C B8 */ addi r5, r5, lbl_803D1CB8@l /* 801DC88C 001D97EC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DC890 001D97F0 7C 9F 23 78 */ mr r31, r4 /* 801DC894 001D97F4 38 85 01 96 */ addi r4, r5, 0x196 /* 801DC898 001D97F8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801DC89C 001D97FC 7C 7E 1B 78 */ mr r30, r3 /* 801DC8A0 001D9800 38 61 00 08 */ addi r3, r1, 8 /* 801DC8A4 001D9804 4B E2 84 15 */ bl string_l__4rstlFPCc /* 801DC8A8 001D9808 7F C3 F3 78 */ mr r3, r30 /* 801DC8AC 001D980C 4B EC 60 4D */ bl GetStateMachine__3CAiFv /* 801DC8B0 001D9810 7C 66 1B 78 */ mr r6, r3 /* 801DC8B4 001D9814 7F E4 FB 78 */ mr r4, r31 /* 801DC8B8 001D9818 7F C5 F3 78 */ mr r5, r30 /* 801DC8BC 001D981C 38 7E 03 30 */ addi r3, r30, 0x330 /* 801DC8C0 001D9820 38 E1 00 08 */ addi r7, r1, 8 /* 801DC8C4 001D9824 4B EA 33 41 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC8C8 001D9828 38 61 00 08 */ addi r3, r1, 8 /* 801DC8CC 001D982C 48 16 12 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC8D0 001D9830 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DC8D4 001D9834 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DC8D8 001D9838 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801DC8DC 001D983C 7C 08 03 A6 */ mtlr r0 /* 801DC8E0 001D9840 38 21 00 20 */ addi r1, r1, 0x20 /* 801DC8E4 001D9844 4E 80 00 20 */ blr .global sub_801dc8e8 sub_801dc8e8: /* 801DC8E8 001D9848 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DC8EC 001D984C 7C 08 02 A6 */ mflr r0 /* 801DC8F0 001D9850 3C A0 80 3D */ lis r5, lbl_803D1CB8@ha /* 801DC8F4 001D9854 90 01 00 24 */ stw r0, 0x24(r1) /* 801DC8F8 001D9858 38 A5 1C B8 */ addi r5, r5, lbl_803D1CB8@l /* 801DC8FC 001D985C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DC900 001D9860 7C 9F 23 78 */ mr r31, r4 /* 801DC904 001D9864 38 85 01 9B */ addi r4, r5, 0x19b /* 801DC908 001D9868 93 C1 00 18 */ stw r30, 0x18(r1) /* 801DC90C 001D986C 7C 7E 1B 78 */ mr r30, r3 /* 801DC910 001D9870 38 61 00 08 */ addi r3, r1, 8 /* 801DC914 001D9874 4B E2 83 A5 */ bl string_l__4rstlFPCc /* 801DC918 001D9878 7F C3 F3 78 */ mr r3, r30 /* 801DC91C 001D987C 4B EC 5F DD */ bl GetStateMachine__3CAiFv /* 801DC920 001D9880 7C 66 1B 78 */ mr r6, r3 /* 801DC924 001D9884 7F E4 FB 78 */ mr r4, r31 /* 801DC928 001D9888 7F C5 F3 78 */ mr r5, r30 /* 801DC92C 001D988C 38 7E 03 30 */ addi r3, r30, 0x330 /* 801DC930 001D9890 38 E1 00 08 */ addi r7, r1, 8 /* 801DC934 001D9894 4B EA 32 D1 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC938 001D9898 38 61 00 08 */ addi r3, r1, 8 /* 801DC93C 001D989C 48 16 11 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC940 001D98A0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DC944 001D98A4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DC948 001D98A8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801DC94C 001D98AC 7C 08 03 A6 */ mtlr r0 /* 801DC950 001D98B0 38 21 00 20 */ addi r1, r1, 0x20 /* 801DC954 001D98B4 4E 80 00 20 */ blr .global sub_801dc958 sub_801dc958: /* 801DC958 001D98B8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DC95C 001D98BC 7C 08 02 A6 */ mflr r0 /* 801DC960 001D98C0 3C A0 80 3D */ lis r5, lbl_803D1CB8@ha /* 801DC964 001D98C4 90 01 00 24 */ stw r0, 0x24(r1) /* 801DC968 001D98C8 38 A5 1C B8 */ addi r5, r5, lbl_803D1CB8@l /* 801DC96C 001D98CC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DC970 001D98D0 7C 9F 23 78 */ mr r31, r4 /* 801DC974 001D98D4 38 85 01 A6 */ addi r4, r5, 0x1a6 /* 801DC978 001D98D8 93 C1 00 18 */ stw r30, 0x18(r1) /* 801DC97C 001D98DC 7C 7E 1B 78 */ mr r30, r3 /* 801DC980 001D98E0 38 61 00 08 */ addi r3, r1, 8 /* 801DC984 001D98E4 4B E2 83 35 */ bl string_l__4rstlFPCc /* 801DC988 001D98E8 7F C3 F3 78 */ mr r3, r30 /* 801DC98C 001D98EC 4B EC 5F 6D */ bl GetStateMachine__3CAiFv /* 801DC990 001D98F0 7C 66 1B 78 */ mr r6, r3 /* 801DC994 001D98F4 7F E4 FB 78 */ mr r4, r31 /* 801DC998 001D98F8 7F C5 F3 78 */ mr r5, r30 /* 801DC99C 001D98FC 38 7E 03 30 */ addi r3, r30, 0x330 /* 801DC9A0 001D9900 38 E1 00 08 */ addi r7, r1, 8 /* 801DC9A4 001D9904 4B EA 32 61 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DC9A8 001D9908 38 61 00 08 */ addi r3, r1, 8 /* 801DC9AC 001D990C 48 16 11 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DC9B0 001D9910 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DC9B4 001D9914 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DC9B8 001D9918 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801DC9BC 001D991C 7C 08 03 A6 */ mtlr r0 /* 801DC9C0 001D9920 38 21 00 20 */ addi r1, r1, 0x20 /* 801DC9C4 001D9924 4E 80 00 20 */ blr .global sub_801dc9c8 sub_801dc9c8: /* 801DC9C8 001D9928 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DC9CC 001D992C 7C 08 02 A6 */ mflr r0 /* 801DC9D0 001D9930 90 01 00 24 */ stw r0, 0x24(r1) /* 801DC9D4 001D9934 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DC9D8 001D9938 7C 9F 23 78 */ mr r31, r4 /* 801DC9DC 001D993C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801DC9E0 001D9940 7C 7E 1B 78 */ mr r30, r3 /* 801DC9E4 001D9944 80 03 06 44 */ lwz r0, 0x644(r3) /* 801DC9E8 001D9948 2C 00 00 01 */ cmpwi r0, 1 /* 801DC9EC 001D994C 41 82 00 40 */ beq lbl_801DCA2C /* 801DC9F0 001D9950 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DC9F4 001D9954 38 61 00 08 */ addi r3, r1, 8 /* 801DC9F8 001D9958 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DC9FC 001D995C 38 84 01 AD */ addi r4, r4, 0x1ad /* 801DCA00 001D9960 4B E2 82 B9 */ bl string_l__4rstlFPCc /* 801DCA04 001D9964 7F C3 F3 78 */ mr r3, r30 /* 801DCA08 001D9968 4B EC 5E F1 */ bl GetStateMachine__3CAiFv /* 801DCA0C 001D996C 7C 66 1B 78 */ mr r6, r3 /* 801DCA10 001D9970 7F E4 FB 78 */ mr r4, r31 /* 801DCA14 001D9974 7F C5 F3 78 */ mr r5, r30 /* 801DCA18 001D9978 38 7E 03 30 */ addi r3, r30, 0x330 /* 801DCA1C 001D997C 38 E1 00 08 */ addi r7, r1, 8 /* 801DCA20 001D9980 4B EA 31 E5 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DCA24 001D9984 38 61 00 08 */ addi r3, r1, 8 /* 801DCA28 001D9988 48 16 10 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DCA2C: /* 801DCA2C 001D998C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DCA30 001D9990 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DCA34 001D9994 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801DCA38 001D9998 7C 08 03 A6 */ mtlr r0 /* 801DCA3C 001D999C 38 21 00 20 */ addi r1, r1, 0x20 /* 801DCA40 001D99A0 4E 80 00 20 */ blr .global AggressionCheck__8CThardusFR13CStateManagerf AggressionCheck__8CThardusFR13CStateManagerf: /* 801DCA44 001D99A4 C0 23 03 38 */ lfs f1, 0x338(r3) /* 801DCA48 001D99A8 C0 02 AC E8 */ lfs f0, lbl_805ACA08@sda21(r2) /* 801DCA4C 001D99AC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DCA50 001D99B0 7C 00 00 26 */ mfcr r0 /* 801DCA54 001D99B4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801DCA58 001D99B8 4E 80 00 20 */ blr .global Shuffle__8CThardusFR13CStateManager9EStateMsgf Shuffle__8CThardusFR13CStateManager9EStateMsgf: /* 801DCA5C 001D99BC 4E 80 00 20 */ blr .global Enraged__8CThardusFR13CStateManager9EStateMsgf Enraged__8CThardusFR13CStateManager9EStateMsgf: /* 801DCA60 001D99C0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DCA64 001D99C4 7C 08 02 A6 */ mflr r0 /* 801DCA68 001D99C8 2C 05 00 01 */ cmpwi r5, 1 /* 801DCA6C 001D99CC 90 01 00 24 */ stw r0, 0x24(r1) /* 801DCA70 001D99D0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DCA74 001D99D4 41 82 00 38 */ beq lbl_801DCAAC /* 801DCA78 001D99D8 40 80 00 10 */ bge lbl_801DCA88 /* 801DCA7C 001D99DC 2C 05 00 00 */ cmpwi r5, 0 /* 801DCA80 001D99E0 40 80 00 14 */ bge lbl_801DCA94 /* 801DCA84 001D99E4 48 00 00 F4 */ b lbl_801DCB78 lbl_801DCA88: /* 801DCA88 001D99E8 2C 05 00 03 */ cmpwi r5, 3 /* 801DCA8C 001D99EC 40 80 00 EC */ bge lbl_801DCB78 /* 801DCA90 001D99F0 48 00 00 E0 */ b lbl_801DCB70 lbl_801DCA94: /* 801DCA94 001D99F4 38 80 00 00 */ li r4, 0 /* 801DCA98 001D99F8 38 00 00 01 */ li r0, 1 /* 801DCA9C 001D99FC 90 83 05 EC */ stw r4, 0x5ec(r3) /* 801DCAA0 001D9A00 98 03 06 88 */ stb r0, 0x688(r3) /* 801DCAA4 001D9A04 98 03 09 08 */ stb r0, 0x908(r3) /* 801DCAA8 001D9A08 48 00 00 D0 */ b lbl_801DCB78 lbl_801DCAAC: /* 801DCAAC 001D9A0C 80 03 05 EC */ lwz r0, 0x5ec(r3) /* 801DCAB0 001D9A10 2C 00 00 01 */ cmpwi r0, 1 /* 801DCAB4 001D9A14 41 82 00 C4 */ beq lbl_801DCB78 /* 801DCAB8 001D9A18 40 80 00 10 */ bge lbl_801DCAC8 /* 801DCABC 001D9A1C 2C 00 00 00 */ cmpwi r0, 0 /* 801DCAC0 001D9A20 40 80 00 14 */ bge lbl_801DCAD4 /* 801DCAC4 001D9A24 48 00 00 B4 */ b lbl_801DCB78 lbl_801DCAC8: /* 801DCAC8 001D9A28 2C 00 00 03 */ cmpwi r0, 3 /* 801DCACC 001D9A2C 40 80 00 AC */ bge lbl_801DCB78 /* 801DCAD0 001D9A30 48 00 00 84 */ b lbl_801DCB54 lbl_801DCAD4: /* 801DCAD4 001D9A34 80 C3 04 50 */ lwz r6, 0x450(r3) /* 801DCAD8 001D9A38 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801DCADC 001D9A3C 2C 00 00 10 */ cmpwi r0, 0x10 /* 801DCAE0 001D9A40 40 82 00 10 */ bne lbl_801DCAF0 /* 801DCAE4 001D9A44 38 00 00 02 */ li r0, 2 /* 801DCAE8 001D9A48 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DCAEC 001D9A4C 48 00 00 8C */ b lbl_801DCB78 lbl_801DCAF0: /* 801DCAF0 001D9A50 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801DCAF4 001D9A54 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801DCAF8 001D9A58 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801DCAFC 001D9A5C 38 80 00 12 */ li r4, 0x12 /* 801DCB00 001D9A60 90 01 00 08 */ stw r0, 8(r1) /* 801DCB04 001D9A64 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l /* 801DCB08 001D9A68 38 00 00 00 */ li r0, 0 /* 801DCB0C 001D9A6C 3B E6 00 04 */ addi r31, r6, 4 /* 801DCB10 001D9A70 90 81 00 0C */ stw r4, 0xc(r1) /* 801DCB14 001D9A74 7F E3 FB 78 */ mr r3, r31 /* 801DCB18 001D9A78 38 80 00 12 */ li r4, 0x12 /* 801DCB1C 001D9A7C 90 A1 00 08 */ stw r5, 8(r1) /* 801DCB20 001D9A80 90 01 00 10 */ stw r0, 0x10(r1) /* 801DCB24 001D9A84 4B F5 49 15 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DCB28 001D9A88 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DCB2C 001D9A8C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801DCB30 001D9A90 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 801DCB34 001D9A94 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DCB38 001D9A98 90 1F 02 14 */ stw r0, 0x214(r31) /* 801DCB3C 001D9A9C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DCB40 001D9AA0 80 61 00 10 */ lwz r3, 0x10(r1) /* 801DCB44 001D9AA4 90 81 00 08 */ stw r4, 8(r1) /* 801DCB48 001D9AA8 90 7F 02 18 */ stw r3, 0x218(r31) /* 801DCB4C 001D9AAC 90 01 00 08 */ stw r0, 8(r1) /* 801DCB50 001D9AB0 48 00 00 28 */ b lbl_801DCB78 lbl_801DCB54: /* 801DCB54 001D9AB4 80 83 04 50 */ lwz r4, 0x450(r3) /* 801DCB58 001D9AB8 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801DCB5C 001D9ABC 2C 00 00 10 */ cmpwi r0, 0x10 /* 801DCB60 001D9AC0 41 82 00 18 */ beq lbl_801DCB78 /* 801DCB64 001D9AC4 38 00 00 03 */ li r0, 3 /* 801DCB68 001D9AC8 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DCB6C 001D9ACC 48 00 00 0C */ b lbl_801DCB78 lbl_801DCB70: /* 801DCB70 001D9AD0 38 00 00 00 */ li r0, 0 /* 801DCB74 001D9AD4 98 03 09 08 */ stb r0, 0x908(r3) lbl_801DCB78: /* 801DCB78 001D9AD8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DCB7C 001D9ADC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DCB80 001D9AE0 7C 08 03 A6 */ mtlr r0 /* 801DCB84 001D9AE4 38 21 00 20 */ addi r1, r1, 0x20 /* 801DCB88 001D9AE8 4E 80 00 20 */ blr .global Growth__8CThardusFR13CStateManager9EStateMsgf Growth__8CThardusFR13CStateManager9EStateMsgf: /* 801DCB8C 001D9AEC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801DCB90 001D9AF0 7C 08 02 A6 */ mflr r0 /* 801DCB94 001D9AF4 2C 05 00 01 */ cmpwi r5, 1 /* 801DCB98 001D9AF8 90 01 00 54 */ stw r0, 0x54(r1) /* 801DCB9C 001D9AFC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801DCBA0 001D9B00 7C 9F 23 78 */ mr r31, r4 /* 801DCBA4 001D9B04 93 C1 00 48 */ stw r30, 0x48(r1) /* 801DCBA8 001D9B08 7C 7E 1B 78 */ mr r30, r3 /* 801DCBAC 001D9B0C 41 82 00 58 */ beq lbl_801DCC04 /* 801DCBB0 001D9B10 40 80 00 10 */ bge lbl_801DCBC0 /* 801DCBB4 001D9B14 2C 05 00 00 */ cmpwi r5, 0 /* 801DCBB8 001D9B18 40 80 00 14 */ bge lbl_801DCBCC /* 801DCBBC 001D9B1C 48 00 01 A0 */ b lbl_801DCD5C lbl_801DCBC0: /* 801DCBC0 001D9B20 2C 05 00 03 */ cmpwi r5, 3 /* 801DCBC4 001D9B24 40 80 01 98 */ bge lbl_801DCD5C /* 801DCBC8 001D9B28 48 00 01 10 */ b lbl_801DCCD8 lbl_801DCBCC: /* 801DCBCC 001D9B2C 38 00 00 00 */ li r0, 0 /* 801DCBD0 001D9B30 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 801DCBD4 001D9B34 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DCBD8 001D9B38 38 61 00 24 */ addi r3, r1, 0x24 /* 801DCBDC 001D9B3C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801DCBE0 001D9B40 38 80 07 AD */ li r4, 0x7ad /* 801DCBE4 001D9B44 38 A0 00 7F */ li r5, 0x7f /* 801DCBE8 001D9B48 38 C0 00 40 */ li r6, 0x40 /* 801DCBEC 001D9B4C 38 E0 00 00 */ li r7, 0 /* 801DCBF0 001D9B50 39 20 00 01 */ li r9, 1 /* 801DCBF4 001D9B54 48 10 D1 81 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 801DCBF8 001D9B58 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DCBFC 001D9B5C 90 1E 09 04 */ stw r0, 0x904(r30) /* 801DCC00 001D9B60 48 00 01 5C */ b lbl_801DCD5C lbl_801DCC04: /* 801DCC04 001D9B64 80 1E 05 EC */ lwz r0, 0x5ec(r30) /* 801DCC08 001D9B68 2C 00 00 01 */ cmpwi r0, 1 /* 801DCC0C 001D9B6C 41 82 01 50 */ beq lbl_801DCD5C /* 801DCC10 001D9B70 40 80 00 10 */ bge lbl_801DCC20 /* 801DCC14 001D9B74 2C 00 00 00 */ cmpwi r0, 0 /* 801DCC18 001D9B78 40 80 00 14 */ bge lbl_801DCC2C /* 801DCC1C 001D9B7C 48 00 01 40 */ b lbl_801DCD5C lbl_801DCC20: /* 801DCC20 001D9B80 2C 00 00 03 */ cmpwi r0, 3 /* 801DCC24 001D9B84 40 80 01 38 */ bge lbl_801DCD5C /* 801DCC28 001D9B88 48 00 00 94 */ b lbl_801DCCBC lbl_801DCC2C: /* 801DCC2C 001D9B8C 80 FE 04 50 */ lwz r7, 0x450(r30) /* 801DCC30 001D9B90 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 801DCC34 001D9B94 2C 00 00 03 */ cmpwi r0, 3 /* 801DCC38 001D9B98 40 82 00 10 */ bne lbl_801DCC48 /* 801DCC3C 001D9B9C 38 00 00 02 */ li r0, 2 /* 801DCC40 001D9BA0 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DCC44 001D9BA4 48 00 01 18 */ b lbl_801DCD5C lbl_801DCC48: /* 801DCC48 001D9BA8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801DCC4C 001D9BAC 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha /* 801DCC50 001D9BB0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801DCC54 001D9BB4 38 80 00 01 */ li r4, 1 /* 801DCC58 001D9BB8 90 01 00 34 */ stw r0, 0x34(r1) /* 801DCC5C 001D9BBC 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l /* 801DCC60 001D9BC0 38 A0 00 00 */ li r5, 0 /* 801DCC64 001D9BC4 38 00 00 02 */ li r0, 2 /* 801DCC68 001D9BC8 3B E7 00 04 */ addi r31, r7, 4 /* 801DCC6C 001D9BCC 90 81 00 38 */ stw r4, 0x38(r1) /* 801DCC70 001D9BD0 7F E3 FB 78 */ mr r3, r31 /* 801DCC74 001D9BD4 38 80 00 01 */ li r4, 1 /* 801DCC78 001D9BD8 90 C1 00 34 */ stw r6, 0x34(r1) /* 801DCC7C 001D9BDC 90 A1 00 3C */ stw r5, 0x3c(r1) /* 801DCC80 001D9BE0 90 01 00 40 */ stw r0, 0x40(r1) /* 801DCC84 001D9BE4 4B F5 47 B5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DCC88 001D9BE8 80 01 00 38 */ lwz r0, 0x38(r1) /* 801DCC8C 001D9BEC 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha /* 801DCC90 001D9BF0 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l /* 801DCC94 001D9BF4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DCC98 001D9BF8 90 1F 00 C8 */ stw r0, 0xc8(r31) /* 801DCC9C 001D9BFC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DCCA0 001D9C00 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 801DCCA4 001D9C04 90 81 00 34 */ stw r4, 0x34(r1) /* 801DCCA8 001D9C08 80 61 00 40 */ lwz r3, 0x40(r1) /* 801DCCAC 001D9C0C 90 BF 00 CC */ stw r5, 0xcc(r31) /* 801DCCB0 001D9C10 90 7F 00 D0 */ stw r3, 0xd0(r31) /* 801DCCB4 001D9C14 90 01 00 34 */ stw r0, 0x34(r1) /* 801DCCB8 001D9C18 48 00 00 A4 */ b lbl_801DCD5C lbl_801DCCBC: /* 801DCCBC 001D9C1C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DCCC0 001D9C20 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DCCC4 001D9C24 2C 00 00 03 */ cmpwi r0, 3 /* 801DCCC8 001D9C28 41 82 00 94 */ beq lbl_801DCD5C /* 801DCCCC 001D9C2C 38 00 00 03 */ li r0, 3 /* 801DCCD0 001D9C30 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DCCD4 001D9C34 48 00 00 88 */ b lbl_801DCD5C lbl_801DCCD8: /* 801DCCD8 001D9C38 A0 1E 06 4C */ lhz r0, 0x64c(r30) /* 801DCCDC 001D9C3C 7F E3 FB 78 */ mr r3, r31 /* 801DCCE0 001D9C40 38 81 00 18 */ addi r4, r1, 0x18 /* 801DCCE4 001D9C44 B0 01 00 18 */ sth r0, 0x18(r1) /* 801DCCE8 001D9C48 4B E6 F8 8D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DCCEC 001D9C4C 7C 64 1B 78 */ mr r4, r3 /* 801DCCF0 001D9C50 38 61 00 2C */ addi r3, r1, 0x2c /* 801DCCF4 001D9C54 4B EC DA 25 */ bl "__ct__32TCastToPtr<18CScriptDistanceFog>FP7CEntity" /* 801DCCF8 001D9C58 80 C3 00 04 */ lwz r6, 4(r3) /* 801DCCFC 001D9C5C 7F E4 FB 78 */ mr r4, r31 /* 801DCD00 001D9C60 38 61 00 20 */ addi r3, r1, 0x20 /* 801DCD04 001D9C64 38 A1 00 14 */ addi r5, r1, 0x14 /* 801DCD08 001D9C68 A0 06 00 08 */ lhz r0, 8(r6) /* 801DCD0C 001D9C6C B0 01 00 10 */ sth r0, 0x10(r1) /* 801DCD10 001D9C70 B0 01 00 14 */ sth r0, 0x14(r1) /* 801DCD14 001D9C74 4B E6 B1 AD */ bl GetEditorIdForUniqueId__13CStateManagerCF9TUniqueId /* 801DCD18 001D9C78 81 01 00 20 */ lwz r8, 0x20(r1) /* 801DCD1C 001D9C7C 7F E3 FB 78 */ mr r3, r31 /* 801DCD20 001D9C80 38 81 00 0C */ addi r4, r1, 0xc /* 801DCD24 001D9C84 38 A1 00 1C */ addi r5, r1, 0x1c /* 801DCD28 001D9C88 91 01 00 1C */ stw r8, 0x1c(r1) /* 801DCD2C 001D9C8C 38 C0 00 01 */ li r6, 1 /* 801DCD30 001D9C90 38 E0 FF FF */ li r7, -1 /* 801DCD34 001D9C94 A0 1E 00 08 */ lhz r0, 8(r30) /* 801DCD38 001D9C98 91 01 00 28 */ stw r8, 0x28(r1) /* 801DCD3C 001D9C9C B0 01 00 08 */ sth r0, 8(r1) /* 801DCD40 001D9CA0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DCD44 001D9CA4 4B E6 AD F9 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState /* 801DCD48 001D9CA8 7F C3 F3 78 */ mr r3, r30 /* 801DCD4C 001D9CAC 7F E5 FB 78 */ mr r5, r31 /* 801DCD50 001D9CB0 38 80 00 12 */ li r4, 0x12 /* 801DCD54 001D9CB4 38 C0 FF FF */ li r6, -1 /* 801DCD58 001D9CB8 4B E7 43 69 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801DCD5C: /* 801DCD5C 001D9CBC 80 01 00 54 */ lwz r0, 0x54(r1) /* 801DCD60 001D9CC0 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801DCD64 001D9CC4 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801DCD68 001D9CC8 7C 08 03 A6 */ mtlr r0 /* 801DCD6C 001D9CCC 38 21 00 50 */ addi r1, r1, 0x50 /* 801DCD70 001D9CD0 4E 80 00 20 */ blr .global Flinch__8CThardusFR13CStateManager9EStateMsgf Flinch__8CThardusFR13CStateManager9EStateMsgf: /* 801DCD74 001D9CD4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801DCD78 001D9CD8 7C 08 02 A6 */ mflr r0 /* 801DCD7C 001D9CDC 2C 05 00 01 */ cmpwi r5, 1 /* 801DCD80 001D9CE0 90 01 00 44 */ stw r0, 0x44(r1) /* 801DCD84 001D9CE4 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 801DCD88 001D9CE8 7C 7F 1B 78 */ mr r31, r3 /* 801DCD8C 001D9CEC 7C 9B 23 78 */ mr r27, r4 /* 801DCD90 001D9CF0 41 82 00 A8 */ beq lbl_801DCE38 /* 801DCD94 001D9CF4 40 80 01 FC */ bge lbl_801DCF90 /* 801DCD98 001D9CF8 2C 05 00 00 */ cmpwi r5, 0 /* 801DCD9C 001D9CFC 40 80 00 0C */ bge lbl_801DCDA8 /* 801DCDA0 001D9D00 48 00 01 F0 */ b lbl_801DCF90 /* 801DCDA4 001D9D04 48 00 01 EC */ b lbl_801DCF90 lbl_801DCDA8: /* 801DCDA8 001D9D08 3B C0 00 00 */ li r30, 0 /* 801DCDAC 001D9D0C 3B 80 00 00 */ li r28, 0 /* 801DCDB0 001D9D10 93 DF 05 EC */ stw r30, 0x5ec(r31) /* 801DCDB4 001D9D14 83 BF 07 9C */ lwz r29, 0x79c(r31) /* 801DCDB8 001D9D18 48 00 00 44 */ b lbl_801DCDFC lbl_801DCDBC: /* 801DCDBC 001D9D1C 80 BF 07 A4 */ lwz r5, 0x7a4(r31) /* 801DCDC0 001D9D20 7F 63 DB 78 */ mr r3, r27 /* 801DCDC4 001D9D24 38 81 00 08 */ addi r4, r1, 8 /* 801DCDC8 001D9D28 7C 05 F2 2E */ lhzx r0, r5, r30 /* 801DCDCC 001D9D2C B0 01 00 08 */ sth r0, 8(r1) /* 801DCDD0 001D9D30 4B E6 F7 A5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DCDD4 001D9D34 7C 64 1B 78 */ mr r4, r3 /* 801DCDD8 001D9D38 38 61 00 0C */ addi r3, r1, 0xc /* 801DCDDC 001D9D3C 4B EC 85 C1 */ bl sub_800a539c /* 801DCDE0 001D9D40 4B EC 85 91 */ bl "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity" /* 801DCDE4 001D9D44 28 03 00 00 */ cmplwi r3, 0 /* 801DCDE8 001D9D48 41 82 00 0C */ beq lbl_801DCDF4 /* 801DCDEC 001D9D4C 7F 64 DB 78 */ mr r4, r27 /* 801DCDF0 001D9D50 48 02 6F 69 */ bl sub_80203d58 lbl_801DCDF4: /* 801DCDF4 001D9D54 3B 9C 00 01 */ addi r28, r28, 1 /* 801DCDF8 001D9D58 3B DE 00 02 */ addi r30, r30, 2 lbl_801DCDFC: /* 801DCDFC 001D9D5C 7C 1C E8 40 */ cmplw r28, r29 /* 801DCE00 001D9D60 41 80 FF BC */ blt lbl_801DCDBC /* 801DCE04 001D9D64 38 C0 00 01 */ li r6, 1 /* 801DCE08 001D9D68 38 00 00 00 */ li r0, 0 /* 801DCE0C 001D9D6C 98 DF 09 3B */ stb r6, 0x93b(r31) /* 801DCE10 001D9D70 7F E3 FB 78 */ mr r3, r31 /* 801DCE14 001D9D74 7F 65 DB 78 */ mr r5, r27 /* 801DCE18 001D9D78 38 80 FF FF */ li r4, -1 /* 801DCE1C 001D9D7C 98 DF 09 3D */ stb r6, 0x93d(r31) /* 801DCE20 001D9D80 98 DF 09 09 */ stb r6, 0x909(r31) /* 801DCE24 001D9D84 98 1F 09 3C */ stb r0, 0x93c(r31) /* 801DCE28 001D9D88 4B FF E7 39 */ bl sub_801db560 /* 801DCE2C 001D9D8C 38 00 00 01 */ li r0, 1 /* 801DCE30 001D9D90 98 1F 09 4D */ stb r0, 0x94d(r31) /* 801DCE34 001D9D94 48 00 01 5C */ b lbl_801DCF90 lbl_801DCE38: /* 801DCE38 001D9D98 80 1F 06 48 */ lwz r0, 0x648(r31) /* 801DCE3C 001D9D9C 38 E0 FF FF */ li r7, -1 /* 801DCE40 001D9DA0 2C 00 00 04 */ cmpwi r0, 4 /* 801DCE44 001D9DA4 41 82 00 48 */ beq lbl_801DCE8C /* 801DCE48 001D9DA8 40 80 00 1C */ bge lbl_801DCE64 /* 801DCE4C 001D9DAC 2C 00 00 02 */ cmpwi r0, 2 /* 801DCE50 001D9DB0 41 82 00 2C */ beq lbl_801DCE7C /* 801DCE54 001D9DB4 40 80 00 30 */ bge lbl_801DCE84 /* 801DCE58 001D9DB8 2C 00 00 01 */ cmpwi r0, 1 /* 801DCE5C 001D9DBC 40 80 00 18 */ bge lbl_801DCE74 /* 801DCE60 001D9DC0 48 00 00 40 */ b lbl_801DCEA0 lbl_801DCE64: /* 801DCE64 001D9DC4 2C 00 00 06 */ cmpwi r0, 6 /* 801DCE68 001D9DC8 41 82 00 34 */ beq lbl_801DCE9C /* 801DCE6C 001D9DCC 40 80 00 34 */ bge lbl_801DCEA0 /* 801DCE70 001D9DD0 48 00 00 24 */ b lbl_801DCE94 lbl_801DCE74: /* 801DCE74 001D9DD4 38 E0 00 00 */ li r7, 0 /* 801DCE78 001D9DD8 48 00 00 28 */ b lbl_801DCEA0 lbl_801DCE7C: /* 801DCE7C 001D9DDC 38 E0 00 01 */ li r7, 1 /* 801DCE80 001D9DE0 48 00 00 20 */ b lbl_801DCEA0 lbl_801DCE84: /* 801DCE84 001D9DE4 38 E0 00 02 */ li r7, 2 /* 801DCE88 001D9DE8 48 00 00 18 */ b lbl_801DCEA0 lbl_801DCE8C: /* 801DCE8C 001D9DEC 38 E0 00 03 */ li r7, 3 /* 801DCE90 001D9DF0 48 00 00 10 */ b lbl_801DCEA0 lbl_801DCE94: /* 801DCE94 001D9DF4 38 E0 00 04 */ li r7, 4 /* 801DCE98 001D9DF8 48 00 00 08 */ b lbl_801DCEA0 lbl_801DCE9C: /* 801DCE9C 001D9DFC 38 E0 00 05 */ li r7, 5 lbl_801DCEA0: /* 801DCEA0 001D9E00 80 1F 05 EC */ lwz r0, 0x5ec(r31) /* 801DCEA4 001D9E04 2C 00 00 01 */ cmpwi r0, 1 /* 801DCEA8 001D9E08 41 82 00 E8 */ beq lbl_801DCF90 /* 801DCEAC 001D9E0C 40 80 00 10 */ bge lbl_801DCEBC /* 801DCEB0 001D9E10 2C 00 00 00 */ cmpwi r0, 0 /* 801DCEB4 001D9E14 40 80 00 14 */ bge lbl_801DCEC8 /* 801DCEB8 001D9E18 48 00 00 D8 */ b lbl_801DCF90 lbl_801DCEBC: /* 801DCEBC 001D9E1C 2C 00 00 03 */ cmpwi r0, 3 /* 801DCEC0 001D9E20 40 80 00 D0 */ bge lbl_801DCF90 /* 801DCEC4 001D9E24 48 00 00 B4 */ b lbl_801DCF78 lbl_801DCEC8: /* 801DCEC8 001D9E28 80 DF 04 50 */ lwz r6, 0x450(r31) /* 801DCECC 001D9E2C 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801DCED0 001D9E30 2C 00 00 06 */ cmpwi r0, 6 /* 801DCED4 001D9E34 40 82 00 10 */ bne lbl_801DCEE4 /* 801DCED8 001D9E38 38 00 00 02 */ li r0, 2 /* 801DCEDC 001D9E3C 90 1F 05 EC */ stw r0, 0x5ec(r31) /* 801DCEE0 001D9E40 48 00 00 B0 */ b lbl_801DCF90 lbl_801DCEE4: /* 801DCEE4 001D9E44 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801DCEE8 001D9E48 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DCEEC 001D9E4C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801DCEF0 001D9E50 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l /* 801DCEF4 001D9E54 3C 80 80 3E */ lis r4, lbl_803DAA44@ha /* 801DCEF8 001D9E58 90 01 00 10 */ stw r0, 0x10(r1) /* 801DCEFC 001D9E5C 38 04 AA 44 */ addi r0, r4, lbl_803DAA44@l /* 801DCF00 001D9E60 C0 23 00 04 */ lfs f1, 4(r3) /* 801DCF04 001D9E64 C0 03 00 08 */ lfs f0, 8(r3) /* 801DCF08 001D9E68 38 A0 00 04 */ li r5, 4 /* 801DCF0C 001D9E6C 3B C6 00 04 */ addi r30, r6, 4 /* 801DCF10 001D9E70 90 A1 00 14 */ stw r5, 0x14(r1) /* 801DCF14 001D9E74 7F C3 F3 78 */ mr r3, r30 /* 801DCF18 001D9E78 38 80 00 04 */ li r4, 4 /* 801DCF1C 001D9E7C 90 01 00 10 */ stw r0, 0x10(r1) /* 801DCF20 001D9E80 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801DCF24 001D9E84 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801DCF28 001D9E88 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801DCF2C 001D9E8C 90 E1 00 24 */ stw r7, 0x24(r1) /* 801DCF30 001D9E90 4B F5 45 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DCF34 001D9E94 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DCF38 001D9E98 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 801DCF3C 001D9E9C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 801DCF40 001D9EA0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DCF44 001D9EA4 90 1E 00 F8 */ stw r0, 0xf8(r30) /* 801DCF48 001D9EA8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DCF4C 001D9EAC 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801DCF50 001D9EB0 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801DCF54 001D9EB4 90 BE 00 FC */ stw r5, 0xfc(r30) /* 801DCF58 001D9EB8 80 A1 00 20 */ lwz r5, 0x20(r1) /* 801DCF5C 001D9EBC 90 7E 01 00 */ stw r3, 0x100(r30) /* 801DCF60 001D9EC0 80 61 00 24 */ lwz r3, 0x24(r1) /* 801DCF64 001D9EC4 90 BE 01 04 */ stw r5, 0x104(r30) /* 801DCF68 001D9EC8 90 81 00 10 */ stw r4, 0x10(r1) /* 801DCF6C 001D9ECC 90 7E 01 08 */ stw r3, 0x108(r30) /* 801DCF70 001D9ED0 90 01 00 10 */ stw r0, 0x10(r1) /* 801DCF74 001D9ED4 48 00 00 1C */ b lbl_801DCF90 lbl_801DCF78: /* 801DCF78 001D9ED8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801DCF7C 001D9EDC 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DCF80 001D9EE0 2C 00 00 06 */ cmpwi r0, 6 /* 801DCF84 001D9EE4 41 82 00 0C */ beq lbl_801DCF90 /* 801DCF88 001D9EE8 38 00 00 03 */ li r0, 3 /* 801DCF8C 001D9EEC 90 1F 05 EC */ stw r0, 0x5ec(r31) lbl_801DCF90: /* 801DCF90 001D9EF0 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 801DCF94 001D9EF4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801DCF98 001D9EF8 7C 08 03 A6 */ mtlr r0 /* 801DCF9C 001D9EFC 38 21 00 40 */ addi r1, r1, 0x40 /* 801DCFA0 001D9F00 4E 80 00 20 */ blr .global sub_801dcfa4 sub_801dcfa4: /* 801DCFA4 001D9F04 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801DCFA8 001D9F08 7C 08 02 A6 */ mflr r0 /* 801DCFAC 001D9F0C 90 01 00 74 */ stw r0, 0x74(r1) /* 801DCFB0 001D9F10 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801DCFB4 001D9F14 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801DCFB8 001D9F18 BE E1 00 3C */ stmw r23, 0x3c(r1) /* 801DCFBC 001D9F1C 7C 7A 1B 78 */ mr r26, r3 /* 801DCFC0 001D9F20 7C 9B 23 78 */ mr r27, r4 /* 801DCFC4 001D9F24 80 63 05 F0 */ lwz r3, 0x5f0(r3) /* 801DCFC8 001D9F28 4B FC A2 81 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DCFCC 001D9F2C 7C 7F 1B 78 */ mr r31, r3 /* 801DCFD0 001D9F30 3B A0 00 00 */ li r29, 0 /* 801DCFD4 001D9F34 3B 20 00 00 */ li r25, 0 /* 801DCFD8 001D9F38 3B 00 00 00 */ li r24, 0 /* 801DCFDC 001D9F3C 48 00 02 EC */ b lbl_801DD2C8 lbl_801DCFE0: /* 801DCFE0 001D9F40 80 7A 05 F0 */ lwz r3, 0x5f0(r26) /* 801DCFE4 001D9F44 7F A4 EB 78 */ mr r4, r29 /* 801DCFE8 001D9F48 4B FC A2 51 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801DCFEC 001D9F4C A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801DCFF0 001D9F50 7F 63 DB 78 */ mr r3, r27 /* 801DCFF4 001D9F54 38 81 00 18 */ addi r4, r1, 0x18 /* 801DCFF8 001D9F58 B0 01 00 20 */ sth r0, 0x20(r1) /* 801DCFFC 001D9F5C B0 01 00 18 */ sth r0, 0x18(r1) /* 801DD000 001D9F60 4B E6 F5 75 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD004 001D9F64 7C 64 1B 78 */ mr r4, r3 /* 801DD008 001D9F68 38 61 00 24 */ addi r3, r1, 0x24 /* 801DD00C 001D9F6C 4B ED 23 41 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801DD010 001D9F70 83 C3 00 04 */ lwz r30, 4(r3) /* 801DD014 001D9F74 28 1E 00 00 */ cmplwi r30, 0 /* 801DD018 001D9F78 41 82 02 A4 */ beq lbl_801DD2BC /* 801DD01C 001D9F7C 88 1E 00 30 */ lbz r0, 0x30(r30) /* 801DD020 001D9F80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801DD024 001D9F84 41 82 02 98 */ beq lbl_801DD2BC /* 801DD028 001D9F88 80 BA 06 1C */ lwz r5, 0x61c(r26) /* 801DD02C 001D9F8C 7F 63 DB 78 */ mr r3, r27 /* 801DD030 001D9F90 38 81 00 14 */ addi r4, r1, 0x14 /* 801DD034 001D9F94 7C 05 C2 2E */ lhzx r0, r5, r24 /* 801DD038 001D9F98 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801DD03C 001D9F9C B0 01 00 14 */ sth r0, 0x14(r1) /* 801DD040 001D9FA0 4B E6 F5 35 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD044 001D9FA4 7C 7C 1B 79 */ or. r28, r3, r3 /* 801DD048 001D9FA8 41 82 02 74 */ beq lbl_801DD2BC /* 801DD04C 001D9FAC 88 1A 09 09 */ lbz r0, 0x909(r26) /* 801DD050 001D9FB0 28 00 00 00 */ cmplwi r0, 0 /* 801DD054 001D9FB4 41 82 00 30 */ beq lbl_801DD084 /* 801DD058 001D9FB8 7F C3 F3 78 */ mr r3, r30 /* 801DD05C 001D9FBC 80 BA 09 18 */ lwz r5, 0x918(r26) /* 801DD060 001D9FC0 81 9E 00 00 */ lwz r12, 0(r30) /* 801DD064 001D9FC4 7F 64 DB 78 */ mr r4, r27 /* 801DD068 001D9FC8 7F E5 CC 2E */ lfsx f31, r5, r25 /* 801DD06C 001D9FCC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DD070 001D9FD0 7D 89 03 A6 */ mtctr r12 /* 801DD074 001D9FD4 4E 80 04 21 */ bctrl /* 801DD078 001D9FD8 D3 E3 00 00 */ stfs f31, 0(r3) /* 801DD07C 001D9FDC C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DD080 001D9FE0 D0 03 00 04 */ stfs f0, 4(r3) lbl_801DD084: /* 801DD084 001D9FE4 80 1A 06 48 */ lwz r0, 0x648(r26) /* 801DD088 001D9FE8 7C 1D 00 40 */ cmplw r29, r0 /* 801DD08C 001D9FEC 40 82 00 10 */ bne lbl_801DD09C /* 801DD090 001D9FF0 88 1A 09 3D */ lbz r0, 0x93d(r26) /* 801DD094 001D9FF4 28 00 00 00 */ cmplwi r0, 0 /* 801DD098 001D9FF8 41 82 00 20 */ beq lbl_801DD0B8 lbl_801DD09C: /* 801DD09C 001D9FFC 3C 80 80 57 */ lis r4, lbl_8056D718@ha /* 801DD0A0 001DA000 7F C3 F3 78 */ mr r3, r30 /* 801DD0A4 001DA004 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l /* 801DD0A8 001DA008 4B FC BA F1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801DD0AC 001DA00C C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DD0B0 001DA010 D0 1C 03 2C */ stfs f0, 0x32c(r28) /* 801DD0B4 001DA014 48 00 00 2C */ b lbl_801DD0E0 lbl_801DD0B8: /* 801DD0B8 001DA018 7F 83 E3 78 */ mr r3, r28 /* 801DD0BC 001DA01C 81 9C 00 00 */ lwz r12, 0(r28) /* 801DD0C0 001DA020 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801DD0C4 001DA024 7D 89 03 A6 */ mtctr r12 /* 801DD0C8 001DA028 4E 80 04 21 */ bctrl /* 801DD0CC 001DA02C 7C 64 1B 78 */ mr r4, r3 /* 801DD0D0 001DA030 7F C3 F3 78 */ mr r3, r30 /* 801DD0D4 001DA034 4B FC BA C5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801DD0D8 001DA038 C0 02 AD 14 */ lfs f0, lbl_805ACA34@sda21(r2) /* 801DD0DC 001DA03C D0 1C 03 2C */ stfs f0, 0x32c(r28) lbl_801DD0E0: /* 801DD0E0 001DA040 7F C3 F3 78 */ mr r3, r30 /* 801DD0E4 001DA044 7F 64 DB 78 */ mr r4, r27 /* 801DD0E8 001DA048 81 9E 00 00 */ lwz r12, 0(r30) /* 801DD0EC 001DA04C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DD0F0 001DA050 7D 89 03 A6 */ mtctr r12 /* 801DD0F4 001DA054 4E 80 04 21 */ bctrl /* 801DD0F8 001DA058 7C 77 1B 79 */ or. r23, r3, r3 /* 801DD0FC 001DA05C 41 82 01 C0 */ beq lbl_801DD2BC /* 801DD100 001DA060 C0 37 00 00 */ lfs f1, 0(r23) /* 801DD104 001DA064 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DD108 001DA068 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DD10C 001DA06C 4C 40 13 82 */ cror 2, 0, 2 /* 801DD110 001DA070 40 82 01 6C */ bne lbl_801DD27C /* 801DD114 001DA074 88 1C 03 35 */ lbz r0, 0x335(r28) /* 801DD118 001DA078 28 00 00 00 */ cmplwi r0, 0 /* 801DD11C 001DA07C 41 82 01 40 */ beq lbl_801DD25C /* 801DD120 001DA080 7F 83 E3 78 */ mr r3, r28 /* 801DD124 001DA084 38 80 00 00 */ li r4, 0 /* 801DD128 001DA088 81 9C 00 00 */ lwz r12, 0(r28) /* 801DD12C 001DA08C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801DD130 001DA090 7D 89 03 A6 */ mtctr r12 /* 801DD134 001DA094 4E 80 04 21 */ bctrl /* 801DD138 001DA098 7F C3 F3 78 */ mr r3, r30 /* 801DD13C 001DA09C 38 80 00 00 */ li r4, 0 /* 801DD140 001DA0A0 81 9E 00 00 */ lwz r12, 0(r30) /* 801DD144 001DA0A4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801DD148 001DA0A8 7D 89 03 A6 */ mtctr r12 /* 801DD14C 001DA0AC 4E 80 04 21 */ bctrl /* 801DD150 001DA0B0 80 BA 06 CC */ lwz r5, 0x6cc(r26) /* 801DD154 001DA0B4 7F 63 DB 78 */ mr r3, r27 /* 801DD158 001DA0B8 38 81 00 10 */ addi r4, r1, 0x10 /* 801DD15C 001DA0BC 7C 05 C2 2E */ lhzx r0, r5, r24 /* 801DD160 001DA0C0 B0 01 00 10 */ sth r0, 0x10(r1) /* 801DD164 001DA0C4 4B E6 F4 11 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD168 001DA0C8 81 83 00 00 */ lwz r12, 0(r3) /* 801DD16C 001DA0CC 38 80 00 00 */ li r4, 0 /* 801DD170 001DA0D0 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801DD174 001DA0D4 7D 89 03 A6 */ mtctr r12 /* 801DD178 001DA0D8 4E 80 04 21 */ bctrl /* 801DD17C 001DA0DC 80 BA 06 48 */ lwz r5, 0x648(r26) /* 801DD180 001DA0E0 7F 43 D3 78 */ mr r3, r26 /* 801DD184 001DA0E4 7F 64 DB 78 */ mr r4, r27 /* 801DD188 001DA0E8 38 05 00 01 */ addi r0, r5, 1 /* 801DD18C 001DA0EC 90 1A 06 48 */ stw r0, 0x648(r26) /* 801DD190 001DA0F0 4B FF F7 C9 */ bl sub_801dc958 /* 801DD194 001DA0F4 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801DD198 001DA0F8 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801DD19C 001DA0FC C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801DD1A0 001DA100 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801DD1A4 001DA104 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801DD1A8 001DA108 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801DD1AC 001DA10C 80 7B 08 B8 */ lwz r3, 0x8b8(r27) /* 801DD1B0 001DA110 80 63 00 00 */ lwz r3, 0(r3) /* 801DD1B4 001DA114 80 03 00 14 */ lwz r0, 0x14(r3) /* 801DD1B8 001DA118 2C 00 00 03 */ cmpwi r0, 3 /* 801DD1BC 001DA11C 40 82 00 14 */ bne lbl_801DD1D0 /* 801DD1C0 001DA120 40 82 00 24 */ bne lbl_801DD1E4 /* 801DD1C4 001DA124 80 1A 07 C4 */ lwz r0, 0x7c4(r26) /* 801DD1C8 001DA128 2C 00 00 03 */ cmpwi r0, 3 /* 801DD1CC 001DA12C 41 82 00 18 */ beq lbl_801DD1E4 lbl_801DD1D0: /* 801DD1D0 001DA130 80 DA 06 D8 */ lwz r6, 0x6d8(r26) /* 801DD1D4 001DA134 7F 43 D3 78 */ mr r3, r26 /* 801DD1D8 001DA138 7F 64 DB 78 */ mr r4, r27 /* 801DD1DC 001DA13C 38 A1 00 2C */ addi r5, r1, 0x2c /* 801DD1E0 001DA140 4B FF F2 65 */ bl sub_801dc444 lbl_801DD1E4: /* 801DD1E4 001DA144 93 61 00 08 */ stw r27, 8(r1) /* 801DD1E8 001DA148 38 00 00 01 */ li r0, 1 /* 801DD1EC 001DA14C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DD1F0 001DA150 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801DD1F4 001DA154 90 01 00 0C */ stw r0, 0xc(r1) /* 801DD1F8 001DA158 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801DD1FC 001DA15C C0 42 AC E8 */ lfs f2, lbl_805ACA08@sda21(r2) /* 801DD200 001DA160 7F 43 D3 78 */ mr r3, r26 /* 801DD204 001DA164 80 9A 07 58 */ lwz r4, 0x758(r26) /* 801DD208 001DA168 39 21 00 2C */ addi r9, r1, 0x2c /* 801DD20C 001DA16C C0 62 AC EC */ lfs f3, lbl_805ACA0C@sda21(r2) /* 801DD210 001DA170 38 A0 00 00 */ li r5, 0 /* 801DD214 001DA174 81 5B 08 CC */ lwz r10, 0x8cc(r27) /* 801DD218 001DA178 38 C0 00 14 */ li r6, 0x14 /* 801DD21C 001DA17C 38 E0 00 7F */ li r7, 0x7f /* 801DD220 001DA180 4B E7 5D 11 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager /* 801DD224 001DA184 7F 43 D3 78 */ mr r3, r26 /* 801DD228 001DA188 4B FF F0 A1 */ bl sub_801dc2c8 /* 801DD22C 001DA18C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DD230 001DA190 41 82 00 1C */ beq lbl_801DD24C /* 801DD234 001DA194 88 1A 08 F0 */ lbz r0, 0x8f0(r26) /* 801DD238 001DA198 28 00 00 00 */ cmplwi r0, 0 /* 801DD23C 001DA19C 40 82 00 10 */ bne lbl_801DD24C /* 801DD240 001DA1A0 7F 43 D3 78 */ mr r3, r26 /* 801DD244 001DA1A4 7F 64 DB 78 */ mr r4, r27 /* 801DD248 001DA1A8 4B FF F6 A1 */ bl sub_801dc8e8 lbl_801DD24C: /* 801DD24C 001DA1AC 7F 43 D3 78 */ mr r3, r26 /* 801DD250 001DA1B0 7F 64 DB 78 */ mr r4, r27 /* 801DD254 001DA1B4 4B FF E9 ED */ bl sub_801dbc40 /* 801DD258 001DA1B8 48 00 00 64 */ b lbl_801DD2BC lbl_801DD25C: /* 801DD25C 001DA1BC 7F 43 D3 78 */ mr r3, r26 /* 801DD260 001DA1C0 7F 64 DB 78 */ mr r4, r27 /* 801DD264 001DA1C4 7F A5 EB 78 */ mr r5, r29 /* 801DD268 001DA1C8 4B FF DB C5 */ bl sub_801dae2c /* 801DD26C 001DA1CC 7F 43 D3 78 */ mr r3, r26 /* 801DD270 001DA1D0 7F 64 DB 78 */ mr r4, r27 /* 801DD274 001DA1D4 4B FF F7 55 */ bl sub_801dc9c8 /* 801DD278 001DA1D8 48 00 00 44 */ b lbl_801DD2BC lbl_801DD27C: /* 801DD27C 001DA1DC 7F 83 E3 78 */ mr r3, r28 /* 801DD280 001DA1E0 7F 64 DB 78 */ mr r4, r27 /* 801DD284 001DA1E4 81 9C 00 00 */ lwz r12, 0(r28) /* 801DD288 001DA1E8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DD28C 001DA1EC 7D 89 03 A6 */ mtctr r12 /* 801DD290 001DA1F0 4E 80 04 21 */ bctrl /* 801DD294 001DA1F4 C0 17 00 00 */ lfs f0, 0(r23) /* 801DD298 001DA1F8 D0 03 00 00 */ stfs f0, 0(r3) /* 801DD29C 001DA1FC C0 17 00 04 */ lfs f0, 4(r23) /* 801DD2A0 001DA200 D0 03 00 04 */ stfs f0, 4(r3) /* 801DD2A4 001DA204 88 1A 09 09 */ lbz r0, 0x909(r26) /* 801DD2A8 001DA208 28 00 00 00 */ cmplwi r0, 0 /* 801DD2AC 001DA20C 40 82 00 10 */ bne lbl_801DD2BC /* 801DD2B0 001DA210 C0 17 00 00 */ lfs f0, 0(r23) /* 801DD2B4 001DA214 80 7A 09 18 */ lwz r3, 0x918(r26) /* 801DD2B8 001DA218 7C 03 CD 2E */ stfsx f0, r3, r25 lbl_801DD2BC: /* 801DD2BC 001DA21C 3B BD 00 01 */ addi r29, r29, 1 /* 801DD2C0 001DA220 3B 39 00 04 */ addi r25, r25, 4 /* 801DD2C4 001DA224 3B 18 00 02 */ addi r24, r24, 2 lbl_801DD2C8: /* 801DD2C8 001DA228 7C 1D F8 40 */ cmplw r29, r31 /* 801DD2CC 001DA22C 41 80 FD 14 */ blt lbl_801DCFE0 /* 801DD2D0 001DA230 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801DD2D4 001DA234 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801DD2D8 001DA238 BA E1 00 3C */ lmw r23, 0x3c(r1) /* 801DD2DC 001DA23C 80 01 00 74 */ lwz r0, 0x74(r1) /* 801DD2E0 001DA240 7C 08 03 A6 */ mtlr r0 /* 801DD2E4 001DA244 38 21 00 70 */ addi r1, r1, 0x70 /* 801DD2E8 001DA248 4E 80 00 20 */ blr .global sub_801dd2ec sub_801dd2ec: /* 801DD2EC 001DA24C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801DD2F0 001DA250 7C 08 02 A6 */ mflr r0 /* 801DD2F4 001DA254 90 01 00 44 */ stw r0, 0x44(r1) /* 801DD2F8 001DA258 BE E1 00 1C */ stmw r23, 0x1c(r1) /* 801DD2FC 001DA25C 7C 77 1B 78 */ mr r23, r3 /* 801DD300 001DA260 7C 98 23 78 */ mr r24, r4 /* 801DD304 001DA264 7C B9 2B 78 */ mr r25, r5 /* 801DD308 001DA268 7C DA 33 78 */ mr r26, r6 /* 801DD30C 001DA26C 3B 60 00 00 */ li r27, 0 /* 801DD310 001DA270 3B E0 00 00 */ li r31, 0 /* 801DD314 001DA274 3B AD A4 B8 */ addi r29, r13, lbl_805A9078@sda21 /* 801DD318 001DA278 83 83 06 38 */ lwz r28, 0x638(r3) /* 801DD31C 001DA27C 48 00 00 A4 */ b lbl_801DD3C0 lbl_801DD320: /* 801DD320 001DA280 80 B7 06 40 */ lwz r5, 0x640(r23) /* 801DD324 001DA284 7F 43 D3 78 */ mr r3, r26 /* 801DD328 001DA288 38 81 00 08 */ addi r4, r1, 8 /* 801DD32C 001DA28C 7C 05 FA 2E */ lhzx r0, r5, r31 /* 801DD330 001DA290 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DD334 001DA294 B0 01 00 08 */ sth r0, 8(r1) /* 801DD338 001DA298 4B E6 F2 3D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD33C 001DA29C 7C 64 1B 78 */ mr r4, r3 /* 801DD340 001DA2A0 38 61 00 10 */ addi r3, r1, 0x10 /* 801DD344 001DA2A4 4B ED 20 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801DD348 001DA2A8 83 C3 00 04 */ lwz r30, 4(r3) /* 801DD34C 001DA2AC 28 1E 00 00 */ cmplwi r30, 0 /* 801DD350 001DA2B0 41 82 00 68 */ beq lbl_801DD3B8 /* 801DD354 001DA2B4 2C 18 00 01 */ cmpwi r24, 1 /* 801DD358 001DA2B8 41 82 00 28 */ beq lbl_801DD380 /* 801DD35C 001DA2BC 40 80 00 34 */ bge lbl_801DD390 /* 801DD360 001DA2C0 2C 18 00 00 */ cmpwi r24, 0 /* 801DD364 001DA2C4 40 80 00 08 */ bge lbl_801DD36C /* 801DD368 001DA2C8 48 00 00 28 */ b lbl_801DD390 lbl_801DD36C: /* 801DD36C 001DA2CC 7F C3 F3 78 */ mr r3, r30 /* 801DD370 001DA2D0 7F 24 CB 78 */ mr r4, r25 /* 801DD374 001DA2D4 7F 45 D3 78 */ mr r5, r26 /* 801DD378 001DA2D8 4B E7 6F D9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801DD37C 001DA2DC 48 00 00 14 */ b lbl_801DD390 lbl_801DD380: /* 801DD380 001DA2E0 7F C3 F3 78 */ mr r3, r30 /* 801DD384 001DA2E4 7F 24 CB 78 */ mr r4, r25 /* 801DD388 001DA2E8 7F 45 D3 78 */ mr r5, r26 /* 801DD38C 001DA2EC 4B E7 6B F5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_801DD390: /* 801DD390 001DA2F0 7F C3 F3 78 */ mr r3, r30 /* 801DD394 001DA2F4 7F 44 D3 78 */ mr r4, r26 /* 801DD398 001DA2F8 81 9E 00 00 */ lwz r12, 0(r30) /* 801DD39C 001DA2FC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DD3A0 001DA300 7D 89 03 A6 */ mtctr r12 /* 801DD3A4 001DA304 4E 80 04 21 */ bctrl /* 801DD3A8 001DA308 C0 0D A4 B8 */ lfs f0, lbl_805A9078@sda21(r13) /* 801DD3AC 001DA30C D0 03 00 00 */ stfs f0, 0(r3) /* 801DD3B0 001DA310 C0 1D 00 04 */ lfs f0, 4(r29) /* 801DD3B4 001DA314 D0 03 00 04 */ stfs f0, 4(r3) lbl_801DD3B8: /* 801DD3B8 001DA318 3B 7B 00 01 */ addi r27, r27, 1 /* 801DD3BC 001DA31C 3B FF 00 02 */ addi r31, r31, 2 lbl_801DD3C0: /* 801DD3C0 001DA320 7C 1B E0 40 */ cmplw r27, r28 /* 801DD3C4 001DA324 41 80 FF 5C */ blt lbl_801DD320 /* 801DD3C8 001DA328 BA E1 00 1C */ lmw r23, 0x1c(r1) /* 801DD3CC 001DA32C 80 01 00 44 */ lwz r0, 0x44(r1) /* 801DD3D0 001DA330 7C 08 03 A6 */ mtlr r0 /* 801DD3D4 001DA334 38 21 00 40 */ addi r1, r1, 0x40 /* 801DD3D8 001DA338 4E 80 00 20 */ blr .global sub_801dd3dc sub_801dd3dc: /* 801DD3DC 001DA33C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801DD3E0 001DA340 7C 08 02 A6 */ mflr r0 /* 801DD3E4 001DA344 90 01 00 64 */ stw r0, 0x64(r1) /* 801DD3E8 001DA348 BE 81 00 30 */ stmw r20, 0x30(r1) /* 801DD3EC 001DA34C 7C 9E 23 78 */ mr r30, r4 /* 801DD3F0 001DA350 7C BF 2B 78 */ mr r31, r5 /* 801DD3F4 001DA354 7C D5 33 78 */ mr r21, r6 /* 801DD3F8 001DA358 7C F4 3B 78 */ mr r20, r7 /* 801DD3FC 001DA35C 7F C3 F3 78 */ mr r3, r30 /* 801DD400 001DA360 4B FC 9E 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DD404 001DA364 7C 7B 1B 78 */ mr r27, r3 /* 801DD408 001DA368 7E A5 AB 78 */ mr r5, r21 /* 801DD40C 001DA36C 3A A0 00 00 */ li r21, 0 /* 801DD410 001DA370 38 60 00 00 */ li r3, 0 /* 801DD414 001DA374 38 80 00 01 */ li r4, 1 /* 801DD418 001DA378 48 1A CA DD */ bl __shl2i /* 801DD41C 001DA37C 7C 9C 23 78 */ mr r28, r4 /* 801DD420 001DA380 7C 7D 1B 78 */ mr r29, r3 /* 801DD424 001DA384 7F 96 E0 F8 */ nor r22, r28, r28 /* 801DD428 001DA388 7F B7 E8 F8 */ nor r23, r29, r29 /* 801DD42C 001DA38C 48 00 00 B4 */ b lbl_801DD4E0 lbl_801DD430: /* 801DD430 001DA390 7F C3 F3 78 */ mr r3, r30 /* 801DD434 001DA394 7E A4 AB 78 */ mr r4, r21 /* 801DD438 001DA398 4B FC 9E 01 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801DD43C 001DA39C A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801DD440 001DA3A0 7E 83 A3 78 */ mr r3, r20 /* 801DD444 001DA3A4 38 81 00 08 */ addi r4, r1, 8 /* 801DD448 001DA3A8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DD44C 001DA3AC B0 01 00 08 */ sth r0, 8(r1) /* 801DD450 001DA3B0 4B E6 F1 25 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD454 001DA3B4 7C 64 1B 78 */ mr r4, r3 /* 801DD458 001DA3B8 38 61 00 10 */ addi r3, r1, 0x10 /* 801DD45C 001DA3BC 4B ED 28 35 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801DD460 001DA3C0 83 43 00 04 */ lwz r26, 4(r3) /* 801DD464 001DA3C4 28 1A 00 00 */ cmplwi r26, 0 /* 801DD468 001DA3C8 41 82 00 74 */ beq lbl_801DD4DC /* 801DD46C 001DA3CC 7F 43 D3 78 */ mr r3, r26 /* 801DD470 001DA3D0 4B E7 64 4D */ bl GetMaterialFilter__6CActorCFv /* 801DD474 001DA3D4 2C 1F 00 01 */ cmpwi r31, 1 /* 801DD478 001DA3D8 83 23 00 08 */ lwz r25, 8(r3) /* 801DD47C 001DA3DC 83 03 00 0C */ lwz r24, 0xc(r3) /* 801DD480 001DA3E0 41 82 00 20 */ beq lbl_801DD4A0 /* 801DD484 001DA3E4 40 80 00 24 */ bge lbl_801DD4A8 /* 801DD488 001DA3E8 2C 1F 00 00 */ cmpwi r31, 0 /* 801DD48C 001DA3EC 40 80 00 08 */ bge lbl_801DD494 /* 801DD490 001DA3F0 48 00 00 18 */ b lbl_801DD4A8 lbl_801DD494: /* 801DD494 001DA3F4 7F 18 E3 78 */ or r24, r24, r28 /* 801DD498 001DA3F8 7F 39 EB 78 */ or r25, r25, r29 /* 801DD49C 001DA3FC 48 00 00 0C */ b lbl_801DD4A8 lbl_801DD4A0: /* 801DD4A0 001DA400 7F 18 B0 38 */ and r24, r24, r22 /* 801DD4A4 001DA404 7F 39 B8 38 */ and r25, r25, r23 lbl_801DD4A8: /* 801DD4A8 001DA408 7F 43 D3 78 */ mr r3, r26 /* 801DD4AC 001DA40C 4B E7 64 11 */ bl GetMaterialFilter__6CActorCFv /* 801DD4B0 001DA410 80 A3 00 00 */ lwz r5, 0(r3) /* 801DD4B4 001DA414 38 00 00 03 */ li r0, 3 /* 801DD4B8 001DA418 80 C3 00 04 */ lwz r6, 4(r3) /* 801DD4BC 001DA41C 7F 43 D3 78 */ mr r3, r26 /* 801DD4C0 001DA420 38 81 00 18 */ addi r4, r1, 0x18 /* 801DD4C4 001DA424 90 C1 00 1C */ stw r6, 0x1c(r1) /* 801DD4C8 001DA428 90 A1 00 18 */ stw r5, 0x18(r1) /* 801DD4CC 001DA42C 93 01 00 24 */ stw r24, 0x24(r1) /* 801DD4D0 001DA430 93 21 00 20 */ stw r25, 0x20(r1) /* 801DD4D4 001DA434 90 01 00 28 */ stw r0, 0x28(r1) /* 801DD4D8 001DA438 4B E7 63 C9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter lbl_801DD4DC: /* 801DD4DC 001DA43C 3A B5 00 01 */ addi r21, r21, 1 lbl_801DD4E0: /* 801DD4E0 001DA440 7C 15 D8 40 */ cmplw r21, r27 /* 801DD4E4 001DA444 41 80 FF 4C */ blt lbl_801DD430 /* 801DD4E8 001DA448 BA 81 00 30 */ lmw r20, 0x30(r1) /* 801DD4EC 001DA44C 80 01 00 64 */ lwz r0, 0x64(r1) /* 801DD4F0 001DA450 7C 08 03 A6 */ mtlr r0 /* 801DD4F4 001DA454 38 21 00 60 */ addi r1, r1, 0x60 /* 801DD4F8 001DA458 4E 80 00 20 */ blr .global sub_801dd4fc sub_801dd4fc: /* 801DD4FC 001DA45C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801DD500 001DA460 7C 08 02 A6 */ mflr r0 /* 801DD504 001DA464 90 01 00 54 */ stw r0, 0x54(r1) /* 801DD508 001DA468 BE A1 00 24 */ stmw r21, 0x24(r1) /* 801DD50C 001DA46C 7C 9E 23 78 */ mr r30, r4 /* 801DD510 001DA470 7C 7D 1B 78 */ mr r29, r3 /* 801DD514 001DA474 7F C3 F3 78 */ mr r3, r30 /* 801DD518 001DA478 4B FC 9D 31 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DD51C 001DA47C 3C 80 80 3D */ lis r4, lbl_803D1BBC@ha /* 801DD520 001DA480 7C 7A 1B 78 */ mr r26, r3 /* 801DD524 001DA484 3B 64 1B BC */ addi r27, r4, lbl_803D1BBC@l /* 801DD528 001DA488 3B E0 00 00 */ li r31, 0 /* 801DD52C 001DA48C 48 00 00 C0 */ b lbl_801DD5EC lbl_801DD530: /* 801DD530 001DA490 7F C3 F3 78 */ mr r3, r30 /* 801DD534 001DA494 7F E4 FB 78 */ mr r4, r31 /* 801DD538 001DA498 4B FC 9D 01 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801DD53C 001DA49C A3 03 00 3C */ lhz r24, 0x3c(r3) /* 801DD540 001DA4A0 7F 77 DB 78 */ mr r23, r27 /* 801DD544 001DA4A4 3B 23 00 2C */ addi r25, r3, 0x2c /* 801DD548 001DA4A8 3A C0 00 00 */ li r22, 0 /* 801DD54C 001DA4AC 3A A0 00 00 */ li r21, 0 lbl_801DD550: /* 801DD550 001DA4B0 80 97 00 00 */ lwz r4, 0(r23) /* 801DD554 001DA4B4 38 61 00 08 */ addi r3, r1, 8 /* 801DD558 001DA4B8 4B E2 77 61 */ bl string_l__4rstlFPCc /* 801DD55C 001DA4BC 7F 23 CB 78 */ mr r3, r25 /* 801DD560 001DA4C0 38 81 00 08 */ addi r4, r1, 8 /* 801DD564 001DA4C4 4B E7 50 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" /* 801DD568 001DA4C8 7C 7C 1B 78 */ mr r28, r3 /* 801DD56C 001DA4CC 38 61 00 08 */ addi r3, r1, 8 /* 801DD570 001DA4D0 48 16 05 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DD574 001DA4D4 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801DD578 001DA4D8 41 82 00 0C */ beq lbl_801DD584 /* 801DD57C 001DA4DC 3A C0 00 01 */ li r22, 1 /* 801DD580 001DA4E0 48 00 00 14 */ b lbl_801DD594 lbl_801DD584: /* 801DD584 001DA4E4 3A B5 00 01 */ addi r21, r21, 1 /* 801DD588 001DA4E8 3A F7 00 04 */ addi r23, r23, 4 /* 801DD58C 001DA4EC 28 15 00 07 */ cmplwi r21, 7 /* 801DD590 001DA4F0 41 80 FF C0 */ blt lbl_801DD550 lbl_801DD594: /* 801DD594 001DA4F4 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 801DD598 001DA4F8 40 82 00 50 */ bne lbl_801DD5E8 /* 801DD59C 001DA4FC 80 1D 06 38 */ lwz r0, 0x638(r29) /* 801DD5A0 001DA500 80 BD 06 3C */ lwz r5, 0x63c(r29) /* 801DD5A4 001DA504 7C 00 28 00 */ cmpw r0, r5 /* 801DD5A8 001DA508 41 80 00 1C */ blt lbl_801DD5C4 /* 801DD5AC 001DA50C 2C 05 00 00 */ cmpwi r5, 0 /* 801DD5B0 001DA510 38 7D 06 34 */ addi r3, r29, 0x634 /* 801DD5B4 001DA514 38 80 00 04 */ li r4, 4 /* 801DD5B8 001DA518 41 82 00 08 */ beq lbl_801DD5C0 /* 801DD5BC 001DA51C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801DD5C0: /* 801DD5C0 001DA520 4B E2 EE 49 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_801DD5C4: /* 801DD5C4 001DA524 80 1D 06 38 */ lwz r0, 0x638(r29) /* 801DD5C8 001DA528 80 7D 06 40 */ lwz r3, 0x640(r29) /* 801DD5CC 001DA52C 54 00 08 3C */ slwi r0, r0, 1 /* 801DD5D0 001DA530 7C 63 02 15 */ add. r3, r3, r0 /* 801DD5D4 001DA534 41 82 00 08 */ beq lbl_801DD5DC /* 801DD5D8 001DA538 B3 03 00 00 */ sth r24, 0(r3) lbl_801DD5DC: /* 801DD5DC 001DA53C 80 7D 06 38 */ lwz r3, 0x638(r29) /* 801DD5E0 001DA540 38 03 00 01 */ addi r0, r3, 1 /* 801DD5E4 001DA544 90 1D 06 38 */ stw r0, 0x638(r29) lbl_801DD5E8: /* 801DD5E8 001DA548 3B FF 00 01 */ addi r31, r31, 1 lbl_801DD5EC: /* 801DD5EC 001DA54C 7C 1F D0 40 */ cmplw r31, r26 /* 801DD5F0 001DA550 41 80 FF 40 */ blt lbl_801DD530 /* 801DD5F4 001DA554 BA A1 00 24 */ lmw r21, 0x24(r1) /* 801DD5F8 001DA558 80 01 00 54 */ lwz r0, 0x54(r1) /* 801DD5FC 001DA55C 7C 08 03 A6 */ mtlr r0 /* 801DD600 001DA560 38 21 00 50 */ addi r1, r1, 0x50 /* 801DD604 001DA564 4E 80 00 20 */ blr .global sub_801dd608 sub_801dd608: /* 801DD608 001DA568 94 21 FE 70 */ stwu r1, -0x190(r1) /* 801DD60C 001DA56C 7C 08 02 A6 */ mflr r0 /* 801DD610 001DA570 90 01 01 94 */ stw r0, 0x194(r1) /* 801DD614 001DA574 BE E1 01 6C */ stmw r23, 0x16c(r1) /* 801DD618 001DA578 7C 79 1B 78 */ mr r25, r3 /* 801DD61C 001DA57C 3C 60 80 3D */ lis r3, lbl_803D1BA0@ha /* 801DD620 001DA580 7C 9A 23 78 */ mr r26, r4 /* 801DD624 001DA584 3B A3 1B A0 */ addi r29, r3, lbl_803D1BA0@l /* 801DD628 001DA588 3B F9 00 34 */ addi r31, r25, 0x34 /* 801DD62C 001DA58C 3B C1 00 3C */ addi r30, r1, 0x3c /* 801DD630 001DA590 3B 60 00 00 */ li r27, 0 /* 801DD634 001DA594 3B 00 00 00 */ li r24, 0 /* 801DD638 001DA598 80 B9 00 64 */ lwz r5, 0x64(r25) /* 801DD63C 001DA59C 83 99 06 14 */ lwz r28, 0x614(r25) /* 801DD640 001DA5A0 C0 05 00 00 */ lfs f0, 0(r5) /* 801DD644 001DA5A4 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801DD648 001DA5A8 C0 05 00 04 */ lfs f0, 4(r5) /* 801DD64C 001DA5AC D0 01 00 40 */ stfs f0, 0x40(r1) /* 801DD650 001DA5B0 C0 05 00 08 */ lfs f0, 8(r5) /* 801DD654 001DA5B4 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801DD658 001DA5B8 48 00 01 58 */ b lbl_801DD7B0 lbl_801DD65C: /* 801DD65C 001DA5BC 80 9D 00 00 */ lwz r4, 0(r29) /* 801DD660 001DA5C0 38 61 00 2C */ addi r3, r1, 0x2c /* 801DD664 001DA5C4 38 C1 00 08 */ addi r6, r1, 8 /* 801DD668 001DA5C8 38 A0 FF FF */ li r5, -1 /* 801DD66C 001DA5CC 48 16 0B 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801DD670 001DA5D0 80 99 00 64 */ lwz r4, 0x64(r25) /* 801DD674 001DA5D4 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801DD678 001DA5D8 38 A1 00 2C */ addi r5, r1, 0x2c /* 801DD67C 001DA5DC 38 C0 00 00 */ li r6, 0 /* 801DD680 001DA5E0 80 84 00 10 */ lwz r4, 0x10(r4) /* 801DD684 001DA5E4 4B E4 EC FD */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" /* 801DD688 001DA5E8 38 61 01 38 */ addi r3, r1, 0x138 /* 801DD68C 001DA5EC 38 81 00 D8 */ addi r4, r1, 0xd8 /* 801DD690 001DA5F0 48 13 54 E5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801DD694 001DA5F4 38 61 00 2C */ addi r3, r1, 0x2c /* 801DD698 001DA5F8 48 16 04 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DD69C 001DA5FC 7F C4 F3 78 */ mr r4, r30 /* 801DD6A0 001DA600 38 61 00 48 */ addi r3, r1, 0x48 /* 801DD6A4 001DA604 48 13 5B 21 */ bl Scale__12CTransform4fFRC9CVector3f /* 801DD6A8 001DA608 38 61 00 78 */ addi r3, r1, 0x78 /* 801DD6AC 001DA60C 38 81 00 48 */ addi r4, r1, 0x48 /* 801DD6B0 001DA610 38 A1 01 38 */ addi r5, r1, 0x138 /* 801DD6B4 001DA614 48 13 52 9D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801DD6B8 001DA618 7F E4 FB 78 */ mr r4, r31 /* 801DD6BC 001DA61C 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801DD6C0 001DA620 38 A1 00 78 */ addi r5, r1, 0x78 /* 801DD6C4 001DA624 48 13 52 8D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801DD6C8 001DA628 38 61 01 08 */ addi r3, r1, 0x108 /* 801DD6CC 001DA62C 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801DD6D0 001DA630 48 13 54 A5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801DD6D4 001DA634 80 B9 06 1C */ lwz r5, 0x61c(r25) /* 801DD6D8 001DA638 7F 43 D3 78 */ mr r3, r26 /* 801DD6DC 001DA63C 38 81 00 10 */ addi r4, r1, 0x10 /* 801DD6E0 001DA640 7C 05 C2 2E */ lhzx r0, r5, r24 /* 801DD6E4 001DA644 B0 01 00 18 */ sth r0, 0x18(r1) /* 801DD6E8 001DA648 B0 01 00 10 */ sth r0, 0x10(r1) /* 801DD6EC 001DA64C 4B E6 EE 89 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD6F0 001DA650 7C 64 1B 78 */ mr r4, r3 /* 801DD6F4 001DA654 38 61 00 24 */ addi r3, r1, 0x24 /* 801DD6F8 001DA658 4B ED 25 99 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801DD6FC 001DA65C 82 E3 00 04 */ lwz r23, 4(r3) /* 801DD700 001DA660 28 17 00 00 */ cmplwi r23, 0 /* 801DD704 001DA664 41 82 00 38 */ beq lbl_801DD73C /* 801DD708 001DA668 38 77 00 34 */ addi r3, r23, 0x34 /* 801DD70C 001DA66C 38 81 01 08 */ addi r4, r1, 0x108 /* 801DD710 001DA670 48 13 54 31 */ bl __as__12CTransform4fFRC12CTransform4f /* 801DD714 001DA674 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 801DD718 001DA678 38 60 00 01 */ li r3, 1 /* 801DD71C 001DA67C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801DD720 001DA680 98 17 00 E4 */ stb r0, 0xe4(r23) /* 801DD724 001DA684 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 801DD728 001DA688 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801DD72C 001DA68C 98 17 00 E4 */ stb r0, 0xe4(r23) /* 801DD730 001DA690 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 801DD734 001DA694 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801DD738 001DA698 98 17 00 E4 */ stb r0, 0xe4(r23) lbl_801DD73C: /* 801DD73C 001DA69C 80 B9 06 CC */ lwz r5, 0x6cc(r25) /* 801DD740 001DA6A0 7F 43 D3 78 */ mr r3, r26 /* 801DD744 001DA6A4 38 81 00 0C */ addi r4, r1, 0xc /* 801DD748 001DA6A8 7C 05 C2 2E */ lhzx r0, r5, r24 /* 801DD74C 001DA6AC B0 01 00 14 */ sth r0, 0x14(r1) /* 801DD750 001DA6B0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DD754 001DA6B4 4B E6 EE 21 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DD758 001DA6B8 7C 64 1B 78 */ mr r4, r3 /* 801DD75C 001DA6BC 38 61 00 1C */ addi r3, r1, 0x1c /* 801DD760 001DA6C0 4B ED 03 25 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 801DD764 001DA6C4 82 E3 00 04 */ lwz r23, 4(r3) /* 801DD768 001DA6C8 28 17 00 00 */ cmplwi r23, 0 /* 801DD76C 001DA6CC 41 82 00 38 */ beq lbl_801DD7A4 /* 801DD770 001DA6D0 38 77 00 34 */ addi r3, r23, 0x34 /* 801DD774 001DA6D4 38 81 01 08 */ addi r4, r1, 0x108 /* 801DD778 001DA6D8 48 13 53 C9 */ bl __as__12CTransform4fFRC12CTransform4f /* 801DD77C 001DA6DC 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 801DD780 001DA6E0 38 60 00 01 */ li r3, 1 /* 801DD784 001DA6E4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801DD788 001DA6E8 98 17 00 E4 */ stb r0, 0xe4(r23) /* 801DD78C 001DA6EC 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 801DD790 001DA6F0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801DD794 001DA6F4 98 17 00 E4 */ stb r0, 0xe4(r23) /* 801DD798 001DA6F8 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 801DD79C 001DA6FC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801DD7A0 001DA700 98 17 00 E4 */ stb r0, 0xe4(r23) lbl_801DD7A4: /* 801DD7A4 001DA704 3B BD 00 04 */ addi r29, r29, 4 /* 801DD7A8 001DA708 3B 7B 00 01 */ addi r27, r27, 1 /* 801DD7AC 001DA70C 3B 18 00 02 */ addi r24, r24, 2 lbl_801DD7B0: /* 801DD7B0 001DA710 7C 1B E0 40 */ cmplw r27, r28 /* 801DD7B4 001DA714 41 80 FE A8 */ blt lbl_801DD65C /* 801DD7B8 001DA718 BA E1 01 6C */ lmw r23, 0x16c(r1) /* 801DD7BC 001DA71C 80 01 01 94 */ lwz r0, 0x194(r1) /* 801DD7C0 001DA720 7C 08 03 A6 */ mtlr r0 /* 801DD7C4 001DA724 38 21 01 90 */ addi r1, r1, 0x190 /* 801DD7C8 001DA728 4E 80 00 20 */ blr .global sub_801dd7cc sub_801dd7cc: /* 801DD7CC 001DA72C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801DD7D0 001DA730 7C 08 02 A6 */ mflr r0 /* 801DD7D4 001DA734 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801DD7D8 001DA738 BF 21 00 D4 */ stmw r25, 0xd4(r1) /* 801DD7DC 001DA73C 7C B9 2B 78 */ mr r25, r5 /* 801DD7E0 001DA740 7C DA 33 78 */ mr r26, r6 /* 801DD7E4 001DA744 7C 9E 23 78 */ mr r30, r4 /* 801DD7E8 001DA748 3B A1 00 6C */ addi r29, r1, 0x6c /* 801DD7EC 001DA74C 3B 81 00 B0 */ addi r28, r1, 0xb0 /* 801DD7F0 001DA750 3B 60 00 00 */ li r27, 0 /* 801DD7F4 001DA754 80 63 00 64 */ lwz r3, 0x64(r3) /* 801DD7F8 001DA758 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801DD7FC 001DA75C 48 00 01 38 */ b lbl_801DD934 lbl_801DD800: /* 801DD800 001DA760 80 9E 00 00 */ lwz r4, 0(r30) /* 801DD804 001DA764 38 61 00 30 */ addi r3, r1, 0x30 /* 801DD808 001DA768 4B E2 74 B1 */ bl string_l__4rstlFPCc /* 801DD80C 001DA76C 7F E4 FB 78 */ mr r4, r31 /* 801DD810 001DA770 38 61 00 0C */ addi r3, r1, 0xc /* 801DD814 001DA774 38 A1 00 30 */ addi r5, r1, 0x30 /* 801DD818 001DA778 4B E5 10 21 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DD81C 001DA77C 88 01 00 0C */ lbz r0, 0xc(r1) /* 801DD820 001DA780 38 61 00 30 */ addi r3, r1, 0x30 /* 801DD824 001DA784 98 01 00 10 */ stb r0, 0x10(r1) /* 801DD828 001DA788 48 16 02 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DD82C 001DA78C 88 01 00 10 */ lbz r0, 0x10(r1) /* 801DD830 001DA790 28 00 00 FF */ cmplwi r0, 0xff /* 801DD834 001DA794 41 82 00 F8 */ beq lbl_801DD92C /* 801DD838 001DA798 80 9E 00 00 */ lwz r4, 0(r30) /* 801DD83C 001DA79C 38 61 00 14 */ addi r3, r1, 0x14 /* 801DD840 001DA7A0 4B E2 74 79 */ bl string_l__4rstlFPCc /* 801DD844 001DA7A4 C0 7E 00 0C */ lfs f3, 0xc(r30) /* 801DD848 001DA7A8 38 61 00 40 */ addi r3, r1, 0x40 /* 801DD84C 001DA7AC C0 5E 00 08 */ lfs f2, 8(r30) /* 801DD850 001DA7B0 38 81 00 08 */ addi r4, r1, 8 /* 801DD854 001DA7B4 C0 1E 00 04 */ lfs f0, 4(r30) /* 801DD858 001DA7B8 38 A1 00 24 */ addi r5, r1, 0x24 /* 801DD85C 001DA7BC 88 01 00 10 */ lbz r0, 0x10(r1) /* 801DD860 001DA7C0 38 C1 00 14 */ addi r6, r1, 0x14 /* 801DD864 001DA7C4 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801DD868 001DA7C8 C0 22 AD 28 */ lfs f1, lbl_805ACA48@sda21(r2) /* 801DD86C 001DA7CC D0 41 00 28 */ stfs f2, 0x28(r1) /* 801DD870 001DA7D0 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801DD874 001DA7D4 98 01 00 08 */ stb r0, 8(r1) /* 801DD878 001DA7D8 4B FC AE 19 */ bl "AABoxCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801DD87C 001DA7DC 80 E1 00 40 */ lwz r7, 0x40(r1) /* 801DD880 001DA7E0 7F 83 E3 78 */ mr r3, r28 /* 801DD884 001DA7E4 80 C1 00 44 */ lwz r6, 0x44(r1) /* 801DD888 001DA7E8 7F A4 EB 78 */ mr r4, r29 /* 801DD88C 001DA7EC 88 A1 00 48 */ lbz r5, 0x48(r1) /* 801DD890 001DA7F0 88 01 00 49 */ lbz r0, 0x49(r1) /* 801DD894 001DA7F4 C0 E1 00 4C */ lfs f7, 0x4c(r1) /* 801DD898 001DA7F8 C0 C1 00 50 */ lfs f6, 0x50(r1) /* 801DD89C 001DA7FC C0 A1 00 54 */ lfs f5, 0x54(r1) /* 801DD8A0 001DA800 C0 81 00 58 */ lfs f4, 0x58(r1) /* 801DD8A4 001DA804 C0 61 00 5C */ lfs f3, 0x5c(r1) /* 801DD8A8 001DA808 C0 41 00 60 */ lfs f2, 0x60(r1) /* 801DD8AC 001DA80C C0 21 00 64 */ lfs f1, 0x64(r1) /* 801DD8B0 001DA810 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801DD8B4 001DA814 90 E1 00 84 */ stw r7, 0x84(r1) /* 801DD8B8 001DA818 90 C1 00 88 */ stw r6, 0x88(r1) /* 801DD8BC 001DA81C 98 A1 00 8C */ stb r5, 0x8c(r1) /* 801DD8C0 001DA820 98 01 00 8D */ stb r0, 0x8d(r1) /* 801DD8C4 001DA824 D0 E1 00 90 */ stfs f7, 0x90(r1) /* 801DD8C8 001DA828 D0 C1 00 94 */ stfs f6, 0x94(r1) /* 801DD8CC 001DA82C D0 A1 00 98 */ stfs f5, 0x98(r1) /* 801DD8D0 001DA830 D0 81 00 9C */ stfs f4, 0x9c(r1) /* 801DD8D4 001DA834 D0 61 00 A0 */ stfs f3, 0xa0(r1) /* 801DD8D8 001DA838 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801DD8DC 001DA83C D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801DD8E0 001DA840 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801DD8E4 001DA844 48 16 08 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DD8E8 001DA848 A0 01 00 7C */ lhz r0, 0x7c(r1) /* 801DD8EC 001DA84C 28 1D 00 00 */ cmplwi r29, 0 /* 801DD8F0 001DA850 C0 01 00 80 */ lfs f0, 0x80(r1) /* 801DD8F4 001DA854 B0 01 00 C0 */ sth r0, 0xc0(r1) /* 801DD8F8 001DA858 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801DD8FC 001DA85C 41 82 00 0C */ beq lbl_801DD908 /* 801DD900 001DA860 7F A3 EB 78 */ mr r3, r29 /* 801DD904 001DA864 48 16 01 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DD908: /* 801DD908 001DA868 38 61 00 14 */ addi r3, r1, 0x14 /* 801DD90C 001DA86C 48 16 01 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DD910 001DA870 7F 43 D3 78 */ mr r3, r26 /* 801DD914 001DA874 38 81 00 84 */ addi r4, r1, 0x84 /* 801DD918 001DA878 4B F7 89 19 */ bl sub_80156230 /* 801DD91C 001DA87C 28 1C 00 00 */ cmplwi r28, 0 /* 801DD920 001DA880 41 82 00 0C */ beq lbl_801DD92C /* 801DD924 001DA884 7F 83 E3 78 */ mr r3, r28 /* 801DD928 001DA888 48 16 01 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DD92C: /* 801DD92C 001DA88C 3B DE 00 10 */ addi r30, r30, 0x10 /* 801DD930 001DA890 3B 7B 00 01 */ addi r27, r27, 1 lbl_801DD934: /* 801DD934 001DA894 7C 1B C8 00 */ cmpw r27, r25 /* 801DD938 001DA898 41 80 FE C8 */ blt lbl_801DD800 /* 801DD93C 001DA89C BB 21 00 D4 */ lmw r25, 0xd4(r1) /* 801DD940 001DA8A0 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801DD944 001DA8A4 7C 08 03 A6 */ mtlr r0 /* 801DD948 001DA8A8 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801DD94C 001DA8AC 4E 80 00 20 */ blr .global sub_801dd950 sub_801dd950: /* 801DD950 001DA8B0 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801DD954 001DA8B4 7C 08 02 A6 */ mflr r0 /* 801DD958 001DA8B8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801DD95C 001DA8BC BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 801DD960 001DA8C0 7C B9 2B 78 */ mr r25, r5 /* 801DD964 001DA8C4 7C DA 33 78 */ mr r26, r6 /* 801DD968 001DA8C8 7C 9E 23 78 */ mr r30, r4 /* 801DD96C 001DA8CC 3B A1 00 60 */ addi r29, r1, 0x60 /* 801DD970 001DA8D0 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 801DD974 001DA8D4 3B 60 00 00 */ li r27, 0 /* 801DD978 001DA8D8 80 63 00 64 */ lwz r3, 0x64(r3) /* 801DD97C 001DA8DC 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801DD980 001DA8E0 48 00 01 20 */ b lbl_801DDAA0 lbl_801DD984: /* 801DD984 001DA8E4 80 9E 00 00 */ lwz r4, 0(r30) /* 801DD988 001DA8E8 38 61 00 24 */ addi r3, r1, 0x24 /* 801DD98C 001DA8EC 4B E2 73 2D */ bl string_l__4rstlFPCc /* 801DD990 001DA8F0 7F E4 FB 78 */ mr r4, r31 /* 801DD994 001DA8F4 38 61 00 0C */ addi r3, r1, 0xc /* 801DD998 001DA8F8 38 A1 00 24 */ addi r5, r1, 0x24 /* 801DD99C 001DA8FC 4B E5 0E 9D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DD9A0 001DA900 88 01 00 0C */ lbz r0, 0xc(r1) /* 801DD9A4 001DA904 38 61 00 24 */ addi r3, r1, 0x24 /* 801DD9A8 001DA908 98 01 00 10 */ stb r0, 0x10(r1) /* 801DD9AC 001DA90C 48 16 01 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DD9B0 001DA910 88 01 00 10 */ lbz r0, 0x10(r1) /* 801DD9B4 001DA914 28 00 00 FF */ cmplwi r0, 0xff /* 801DD9B8 001DA918 41 82 00 E0 */ beq lbl_801DDA98 /* 801DD9BC 001DA91C 80 9E 00 00 */ lwz r4, 0(r30) /* 801DD9C0 001DA920 38 61 00 14 */ addi r3, r1, 0x14 /* 801DD9C4 001DA924 4B E2 72 F5 */ bl string_l__4rstlFPCc /* 801DD9C8 001DA928 88 01 00 10 */ lbz r0, 0x10(r1) /* 801DD9CC 001DA92C 38 61 00 34 */ addi r3, r1, 0x34 /* 801DD9D0 001DA930 C0 3E 00 04 */ lfs f1, 4(r30) /* 801DD9D4 001DA934 38 81 00 08 */ addi r4, r1, 8 /* 801DD9D8 001DA938 98 01 00 08 */ stb r0, 8(r1) /* 801DD9DC 001DA93C 38 A1 00 14 */ addi r5, r1, 0x14 /* 801DD9E0 001DA940 C0 42 AD 28 */ lfs f2, lbl_805ACA48@sda21(r2) /* 801DD9E4 001DA944 4B FC AE 29 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801DD9E8 001DA948 80 E1 00 34 */ lwz r7, 0x34(r1) /* 801DD9EC 001DA94C 7F 83 E3 78 */ mr r3, r28 /* 801DD9F0 001DA950 80 C1 00 38 */ lwz r6, 0x38(r1) /* 801DD9F4 001DA954 7F A4 EB 78 */ mr r4, r29 /* 801DD9F8 001DA958 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 801DD9FC 001DA95C 88 01 00 3D */ lbz r0, 0x3d(r1) /* 801DDA00 001DA960 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 801DDA04 001DA964 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 801DDA08 001DA968 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 801DDA0C 001DA96C C0 81 00 4C */ lfs f4, 0x4c(r1) /* 801DDA10 001DA970 C0 61 00 50 */ lfs f3, 0x50(r1) /* 801DDA14 001DA974 C0 41 00 54 */ lfs f2, 0x54(r1) /* 801DDA18 001DA978 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801DDA1C 001DA97C C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801DDA20 001DA980 90 E1 00 78 */ stw r7, 0x78(r1) /* 801DDA24 001DA984 90 C1 00 7C */ stw r6, 0x7c(r1) /* 801DDA28 001DA988 98 A1 00 80 */ stb r5, 0x80(r1) /* 801DDA2C 001DA98C 98 01 00 81 */ stb r0, 0x81(r1) /* 801DDA30 001DA990 D0 E1 00 84 */ stfs f7, 0x84(r1) /* 801DDA34 001DA994 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 801DDA38 001DA998 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 801DDA3C 001DA99C D0 81 00 90 */ stfs f4, 0x90(r1) /* 801DDA40 001DA9A0 D0 61 00 94 */ stfs f3, 0x94(r1) /* 801DDA44 001DA9A4 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801DDA48 001DA9A8 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801DDA4C 001DA9AC D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801DDA50 001DA9B0 48 16 07 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801DDA54 001DA9B4 A0 01 00 70 */ lhz r0, 0x70(r1) /* 801DDA58 001DA9B8 28 1D 00 00 */ cmplwi r29, 0 /* 801DDA5C 001DA9BC C0 01 00 74 */ lfs f0, 0x74(r1) /* 801DDA60 001DA9C0 B0 01 00 B4 */ sth r0, 0xb4(r1) /* 801DDA64 001DA9C4 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801DDA68 001DA9C8 41 82 00 0C */ beq lbl_801DDA74 /* 801DDA6C 001DA9CC 7F A3 EB 78 */ mr r3, r29 /* 801DDA70 001DA9D0 48 16 00 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DDA74: /* 801DDA74 001DA9D4 38 61 00 14 */ addi r3, r1, 0x14 /* 801DDA78 001DA9D8 48 16 00 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801DDA7C 001DA9DC 7F 43 D3 78 */ mr r3, r26 /* 801DDA80 001DA9E0 38 81 00 78 */ addi r4, r1, 0x78 /* 801DDA84 001DA9E4 4B F7 87 AD */ bl sub_80156230 /* 801DDA88 001DA9E8 28 1C 00 00 */ cmplwi r28, 0 /* 801DDA8C 001DA9EC 41 82 00 0C */ beq lbl_801DDA98 /* 801DDA90 001DA9F0 7F 83 E3 78 */ mr r3, r28 /* 801DDA94 001DA9F4 48 16 00 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801DDA98: /* 801DDA98 001DA9F8 3B DE 00 08 */ addi r30, r30, 8 /* 801DDA9C 001DA9FC 3B 7B 00 01 */ addi r27, r27, 1 lbl_801DDAA0: /* 801DDAA0 001DAA00 7C 1B C8 00 */ cmpw r27, r25 /* 801DDAA4 001DAA04 41 80 FE E0 */ blt lbl_801DD984 /* 801DDAA8 001DAA08 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 801DDAAC 001DAA0C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801DDAB0 001DAA10 7C 08 03 A6 */ mtlr r0 /* 801DDAB4 001DAA14 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801DDAB8 001DAA18 4E 80 00 20 */ blr .global sub_801ddabc sub_801ddabc: /* 801DDABC 001DAA1C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801DDAC0 001DAA20 7C 08 02 A6 */ mflr r0 /* 801DDAC4 001DAA24 90 01 00 64 */ stw r0, 0x64(r1) /* 801DDAC8 001DAA28 BE A1 00 34 */ stmw r21, 0x34(r1) /* 801DDACC 001DAA2C 7C 7B 1B 78 */ mr r27, r3 /* 801DDAD0 001DAA30 7C 9C 23 78 */ mr r28, r4 /* 801DDAD4 001DAA34 7C BD 2B 78 */ mr r29, r5 /* 801DDAD8 001DAA38 3B E0 00 00 */ li r31, 0 /* 801DDADC 001DAA3C 48 00 00 E4 */ b lbl_801DDBC0 lbl_801DDAE0: /* 801DDAE0 001DAA40 80 7C 00 00 */ lwz r3, 0(r28) /* 801DDAE4 001DAA44 7F E4 FB 78 */ mr r4, r31 /* 801DDAE8 001DAA48 4B FC 97 51 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801DDAEC 001DAA4C A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801DDAF0 001DAA50 7F A3 EB 78 */ mr r3, r29 /* 801DDAF4 001DAA54 38 81 00 08 */ addi r4, r1, 8 /* 801DDAF8 001DAA58 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DDAFC 001DAA5C B0 01 00 08 */ sth r0, 8(r1) /* 801DDB00 001DAA60 4B E6 EA 75 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DDB04 001DAA64 7C 7E 1B 79 */ or. r30, r3, r3 /* 801DDB08 001DAA68 41 82 00 B4 */ beq lbl_801DDBBC /* 801DDB0C 001DAA6C 7F A5 EB 78 */ mr r5, r29 /* 801DDB10 001DAA70 38 80 00 1B */ li r4, 0x1b /* 801DDB14 001DAA74 4B E7 68 3D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801DDB18 001DAA78 7F C3 F3 78 */ mr r3, r30 /* 801DDB1C 001DAA7C 7F A5 EB 78 */ mr r5, r29 /* 801DDB20 001DAA80 38 80 00 15 */ li r4, 0x15 /* 801DDB24 001DAA84 4B E7 68 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801DDB28 001DAA88 7F C3 F3 78 */ mr r3, r30 /* 801DDB2C 001DAA8C 7F A5 EB 78 */ mr r5, r29 /* 801DDB30 001DAA90 38 80 00 2B */ li r4, 0x2b /* 801DDB34 001DAA94 4B E7 68 1D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801DDB38 001DAA98 7F C3 F3 78 */ mr r3, r30 /* 801DDB3C 001DAA9C 7F A5 EB 78 */ mr r5, r29 /* 801DDB40 001DAAA0 38 80 00 3A */ li r4, 0x3a /* 801DDB44 001DAAA4 4B E7 68 0D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801DDB48 001DAAA8 7F 63 DB 78 */ mr r3, r27 /* 801DDB4C 001DAAAC 4B E7 5D 71 */ bl GetMaterialFilter__6CActorCFv /* 801DDB50 001DAAB0 83 43 00 00 */ lwz r26, 0(r3) /* 801DDB54 001DAAB4 83 23 00 04 */ lwz r25, 4(r3) /* 801DDB58 001DAAB8 7F 63 DB 78 */ mr r3, r27 /* 801DDB5C 001DAABC 4B E7 5D 61 */ bl GetMaterialFilter__6CActorCFv /* 801DDB60 001DAAC0 83 03 00 08 */ lwz r24, 8(r3) /* 801DDB64 001DAAC4 82 E3 00 0C */ lwz r23, 0xc(r3) /* 801DDB68 001DAAC8 7F C3 F3 78 */ mr r3, r30 /* 801DDB6C 001DAACC 4B E7 5D 51 */ bl GetMaterialFilter__6CActorCFv /* 801DDB70 001DAAD0 82 C3 00 00 */ lwz r22, 0(r3) /* 801DDB74 001DAAD4 82 A3 00 04 */ lwz r21, 4(r3) /* 801DDB78 001DAAD8 7F C3 F3 78 */ mr r3, r30 /* 801DDB7C 001DAADC 4B E7 5D 41 */ bl GetMaterialFilter__6CActorCFv /* 801DDB80 001DAAE0 80 03 00 08 */ lwz r0, 8(r3) /* 801DDB84 001DAAE4 7F 24 AB 78 */ or r4, r25, r21 /* 801DDB88 001DAAE8 80 63 00 0C */ lwz r3, 0xc(r3) /* 801DDB8C 001DAAEC 7F 45 B3 78 */ or r5, r26, r22 /* 801DDB90 001DAAF0 7F 06 03 78 */ or r6, r24, r0 /* 801DDB94 001DAAF4 38 00 00 03 */ li r0, 3 /* 801DDB98 001DAAF8 7E E7 1B 78 */ or r7, r23, r3 /* 801DDB9C 001DAAFC 90 81 00 14 */ stw r4, 0x14(r1) /* 801DDBA0 001DAB00 7F C3 F3 78 */ mr r3, r30 /* 801DDBA4 001DAB04 38 81 00 10 */ addi r4, r1, 0x10 /* 801DDBA8 001DAB08 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DDBAC 001DAB0C 90 E1 00 1C */ stw r7, 0x1c(r1) /* 801DDBB0 001DAB10 90 C1 00 18 */ stw r6, 0x18(r1) /* 801DDBB4 001DAB14 90 01 00 20 */ stw r0, 0x20(r1) /* 801DDBB8 001DAB18 4B E7 5C E9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter lbl_801DDBBC: /* 801DDBBC 001DAB1C 3B FF 00 01 */ addi r31, r31, 1 lbl_801DDBC0: /* 801DDBC0 001DAB20 80 7C 00 00 */ lwz r3, 0(r28) /* 801DDBC4 001DAB24 4B FC 96 85 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DDBC8 001DAB28 7C 1F 18 40 */ cmplw r31, r3 /* 801DDBCC 001DAB2C 41 80 FF 14 */ blt lbl_801DDAE0 /* 801DDBD0 001DAB30 BA A1 00 34 */ lmw r21, 0x34(r1) /* 801DDBD4 001DAB34 80 01 00 64 */ lwz r0, 0x64(r1) /* 801DDBD8 001DAB38 7C 08 03 A6 */ mtlr r0 /* 801DDBDC 001DAB3C 38 21 00 60 */ addi r1, r1, 0x60 /* 801DDBE0 001DAB40 4E 80 00 20 */ blr .global sub_801ddbe4 sub_801ddbe4: /* 801DDBE4 001DAB44 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801DDBE8 001DAB48 7C 08 02 A6 */ mflr r0 /* 801DDBEC 001DAB4C 3C A0 80 3D */ lis r5, lbl_803D1BA0@ha /* 801DDBF0 001DAB50 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801DDBF4 001DAB54 38 00 00 00 */ li r0, 0 /* 801DDBF8 001DAB58 BF 21 00 84 */ stmw r25, 0x84(r1) /* 801DDBFC 001DAB5C 7C 7E 1B 78 */ mr r30, r3 /* 801DDC00 001DAB60 7C 9F 23 78 */ mr r31, r4 /* 801DDC04 001DAB64 3B 65 1B A0 */ addi r27, r5, lbl_803D1BA0@l /* 801DDC08 001DAB68 38 61 00 70 */ addi r3, r1, 0x70 /* 801DDC0C 001DAB6C 38 80 00 07 */ li r4, 7 /* 801DDC10 001DAB70 90 01 00 74 */ stw r0, 0x74(r1) /* 801DDC14 001DAB74 90 01 00 78 */ stw r0, 0x78(r1) /* 801DDC18 001DAB78 90 01 00 7C */ stw r0, 0x7c(r1) /* 801DDC1C 001DAB7C 90 01 00 64 */ stw r0, 0x64(r1) /* 801DDC20 001DAB80 90 01 00 68 */ stw r0, 0x68(r1) /* 801DDC24 001DAB84 90 01 00 6C */ stw r0, 0x6c(r1) /* 801DDC28 001DAB88 4B F7 8B 91 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801DDC2C 001DAB8C 38 61 00 60 */ addi r3, r1, 0x60 /* 801DDC30 001DAB90 38 80 00 05 */ li r4, 5 /* 801DDC34 001DAB94 4B F7 8B 85 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801DDC38 001DAB98 7F C3 F3 78 */ mr r3, r30 /* 801DDC3C 001DAB9C 38 9B 00 98 */ addi r4, r27, 0x98 /* 801DDC40 001DABA0 38 C1 00 70 */ addi r6, r1, 0x70 /* 801DDC44 001DABA4 38 A0 00 07 */ li r5, 7 /* 801DDC48 001DABA8 4B FF FD 09 */ bl sub_801dd950 /* 801DDC4C 001DABAC 7F C3 F3 78 */ mr r3, r30 /* 801DDC50 001DABB0 38 9B 00 D0 */ addi r4, r27, 0xd0 /* 801DDC54 001DABB4 38 C1 00 60 */ addi r6, r1, 0x60 /* 801DDC58 001DABB8 38 A0 00 05 */ li r5, 5 /* 801DDC5C 001DABBC 4B FF FC F5 */ bl sub_801dd950 /* 801DDC60 001DABC0 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DDC64 001DABC4 38 60 00 18 */ li r3, 0x18 /* 801DDC68 001DABC8 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DDC6C 001DABCC 38 A0 00 00 */ li r5, 0 /* 801DDC70 001DABD0 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801DDC74 001DABD4 48 13 7B F9 */ bl __nw__FUlPCcPCc /* 801DDC78 001DABD8 7C 7C 1B 79 */ or. r28, r3, r3 /* 801DDC7C 001DABDC 41 82 00 38 */ beq lbl_801DDCB4 /* 801DDC80 001DABE0 81 3E 00 04 */ lwz r9, 4(r30) /* 801DDC84 001DABE4 7F E4 FB 78 */ mr r4, r31 /* 801DDC88 001DABE8 38 A1 00 24 */ addi r5, r1, 0x24 /* 801DDC8C 001DABEC 38 C1 00 44 */ addi r6, r1, 0x44 /* 801DDC90 001DABF0 91 21 00 44 */ stw r9, 0x44(r1) /* 801DDC94 001DABF4 38 E1 00 70 */ addi r7, r1, 0x70 /* 801DDC98 001DABF8 39 00 00 01 */ li r8, 1 /* 801DDC9C 001DABFC A0 1E 00 08 */ lhz r0, 8(r30) /* 801DDCA0 001DAC00 91 21 00 40 */ stw r9, 0x40(r1) /* 801DDCA4 001DAC04 B0 01 00 20 */ sth r0, 0x20(r1) /* 801DDCA8 001DAC08 B0 01 00 24 */ sth r0, 0x24(r1) /* 801DDCAC 001DAC0C 4B FC 9C 85 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801DDCB0 001DAC10 7C 7C 1B 78 */ mr r28, r3 lbl_801DDCB4: /* 801DDCB4 001DAC14 80 7E 05 F0 */ lwz r3, 0x5f0(r30) /* 801DDCB8 001DAC18 38 80 00 01 */ li r4, 1 /* 801DDCBC 001DAC1C 4B FC 9C 21 */ bl sub_801a78dc /* 801DDCC0 001DAC20 93 9E 05 F0 */ stw r28, 0x5f0(r30) /* 801DDCC4 001DAC24 7F C3 F3 78 */ mr r3, r30 /* 801DDCC8 001DAC28 7F E5 FB 78 */ mr r5, r31 /* 801DDCCC 001DAC2C 38 9E 05 F0 */ addi r4, r30, 0x5f0 /* 801DDCD0 001DAC30 4B FF FD ED */ bl sub_801ddabc /* 801DDCD4 001DAC34 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DDCD8 001DAC38 38 60 00 18 */ li r3, 0x18 /* 801DDCDC 001DAC3C 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DDCE0 001DAC40 38 A0 00 00 */ li r5, 0 /* 801DDCE4 001DAC44 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801DDCE8 001DAC48 48 13 7B 85 */ bl __nw__FUlPCcPCc /* 801DDCEC 001DAC4C 7C 7C 1B 79 */ or. r28, r3, r3 /* 801DDCF0 001DAC50 41 82 00 38 */ beq lbl_801DDD28 /* 801DDCF4 001DAC54 81 3E 00 04 */ lwz r9, 4(r30) /* 801DDCF8 001DAC58 7F E4 FB 78 */ mr r4, r31 /* 801DDCFC 001DAC5C 38 A1 00 1C */ addi r5, r1, 0x1c /* 801DDD00 001DAC60 38 C1 00 3C */ addi r6, r1, 0x3c /* 801DDD04 001DAC64 91 21 00 3C */ stw r9, 0x3c(r1) /* 801DDD08 001DAC68 38 E1 00 60 */ addi r7, r1, 0x60 /* 801DDD0C 001DAC6C 39 00 00 01 */ li r8, 1 /* 801DDD10 001DAC70 A0 1E 00 08 */ lhz r0, 8(r30) /* 801DDD14 001DAC74 91 21 00 38 */ stw r9, 0x38(r1) /* 801DDD18 001DAC78 B0 01 00 18 */ sth r0, 0x18(r1) /* 801DDD1C 001DAC7C B0 01 00 1C */ sth r0, 0x1c(r1) /* 801DDD20 001DAC80 4B FC 9C 11 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801DDD24 001DAC84 7C 7C 1B 78 */ mr r28, r3 lbl_801DDD28: /* 801DDD28 001DAC88 80 7E 05 F4 */ lwz r3, 0x5f4(r30) /* 801DDD2C 001DAC8C 38 80 00 01 */ li r4, 1 /* 801DDD30 001DAC90 4B FC 9B AD */ bl sub_801a78dc /* 801DDD34 001DAC94 93 9E 05 F4 */ stw r28, 0x5f4(r30) /* 801DDD38 001DAC98 7F C3 F3 78 */ mr r3, r30 /* 801DDD3C 001DAC9C 7F E5 FB 78 */ mr r5, r31 /* 801DDD40 001DACA0 38 9E 05 F4 */ addi r4, r30, 0x5f4 /* 801DDD44 001DACA4 4B FF FD 79 */ bl sub_801ddabc /* 801DDD48 001DACA8 38 00 00 00 */ li r0, 0 /* 801DDD4C 001DACAC 38 61 00 50 */ addi r3, r1, 0x50 /* 801DDD50 001DACB0 90 01 00 54 */ stw r0, 0x54(r1) /* 801DDD54 001DACB4 38 80 00 02 */ li r4, 2 /* 801DDD58 001DACB8 90 01 00 58 */ stw r0, 0x58(r1) /* 801DDD5C 001DACBC 90 01 00 5C */ stw r0, 0x5c(r1) /* 801DDD60 001DACC0 4B F7 8A 59 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801DDD64 001DACC4 7F C3 F3 78 */ mr r3, r30 /* 801DDD68 001DACC8 38 9B 00 F8 */ addi r4, r27, 0xf8 /* 801DDD6C 001DACCC 38 C1 00 50 */ addi r6, r1, 0x50 /* 801DDD70 001DACD0 38 A0 00 02 */ li r5, 2 /* 801DDD74 001DACD4 4B FF FA 59 */ bl sub_801dd7cc /* 801DDD78 001DACD8 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801DDD7C 001DACDC 38 60 00 18 */ li r3, 0x18 /* 801DDD80 001DACE0 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801DDD84 001DACE4 38 A0 00 00 */ li r5, 0 /* 801DDD88 001DACE8 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801DDD8C 001DACEC 48 13 7A E1 */ bl __nw__FUlPCcPCc /* 801DDD90 001DACF0 7C 7B 1B 79 */ or. r27, r3, r3 /* 801DDD94 001DACF4 41 82 00 38 */ beq lbl_801DDDCC /* 801DDD98 001DACF8 81 3E 00 04 */ lwz r9, 4(r30) /* 801DDD9C 001DACFC 7F E4 FB 78 */ mr r4, r31 /* 801DDDA0 001DAD00 38 A1 00 14 */ addi r5, r1, 0x14 /* 801DDDA4 001DAD04 38 C1 00 34 */ addi r6, r1, 0x34 /* 801DDDA8 001DAD08 91 21 00 34 */ stw r9, 0x34(r1) /* 801DDDAC 001DAD0C 38 E1 00 50 */ addi r7, r1, 0x50 /* 801DDDB0 001DAD10 39 00 00 01 */ li r8, 1 /* 801DDDB4 001DAD14 A0 1E 00 08 */ lhz r0, 8(r30) /* 801DDDB8 001DAD18 91 21 00 30 */ stw r9, 0x30(r1) /* 801DDDBC 001DAD1C B0 01 00 10 */ sth r0, 0x10(r1) /* 801DDDC0 001DAD20 B0 01 00 14 */ sth r0, 0x14(r1) /* 801DDDC4 001DAD24 4B FC 9B 6D */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801DDDC8 001DAD28 7C 7B 1B 78 */ mr r27, r3 lbl_801DDDCC: /* 801DDDCC 001DAD2C 80 7E 05 F8 */ lwz r3, 0x5f8(r30) /* 801DDDD0 001DAD30 38 80 00 01 */ li r4, 1 /* 801DDDD4 001DAD34 4B FC 9B 09 */ bl sub_801a78dc /* 801DDDD8 001DAD38 93 7E 05 F8 */ stw r27, 0x5f8(r30) /* 801DDDDC 001DAD3C 7F C3 F3 78 */ mr r3, r30 /* 801DDDE0 001DAD40 7F E5 FB 78 */ mr r5, r31 /* 801DDDE4 001DAD44 38 9E 05 F8 */ addi r4, r30, 0x5f8 /* 801DDDE8 001DAD48 4B FF FC D5 */ bl sub_801ddabc /* 801DDDEC 001DAD4C 83 9E 05 F0 */ lwz r28, 0x5f0(r30) /* 801DDDF0 001DAD50 80 7E 05 F4 */ lwz r3, 0x5f4(r30) /* 801DDDF4 001DAD54 4B FC 94 55 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DDDF8 001DAD58 7C 7B 1B 78 */ mr r27, r3 /* 801DDDFC 001DAD5C 7F 83 E3 78 */ mr r3, r28 /* 801DDE00 001DAD60 4B FC 94 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DDE04 001DAD64 7F 43 DA 14 */ add r26, r3, r27 /* 801DDE08 001DAD68 80 7E 05 F8 */ lwz r3, 0x5f8(r30) /* 801DDE0C 001DAD6C 4B FC 94 3D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DDE10 001DAD70 7C 60 1B 78 */ mr r0, r3 /* 801DDE14 001DAD74 38 7E 06 34 */ addi r3, r30, 0x634 /* 801DDE18 001DAD78 7C 9A 02 14 */ add r4, r26, r0 /* 801DDE1C 001DAD7C 4B E2 E5 ED */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 801DDE20 001DAD80 80 9E 05 F4 */ lwz r4, 0x5f4(r30) /* 801DDE24 001DAD84 7F C3 F3 78 */ mr r3, r30 /* 801DDE28 001DAD88 4B FF F6 D5 */ bl sub_801dd4fc /* 801DDE2C 001DAD8C 80 9E 05 F8 */ lwz r4, 0x5f8(r30) /* 801DDE30 001DAD90 7F C3 F3 78 */ mr r3, r30 /* 801DDE34 001DAD94 4B FF F6 C9 */ bl sub_801dd4fc /* 801DDE38 001DAD98 80 7E 05 F0 */ lwz r3, 0x5f0(r30) /* 801DDE3C 001DAD9C 4B FC 94 0D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801DDE40 001DADA0 7C 7B 1B 78 */ mr r27, r3 /* 801DDE44 001DADA4 3B 20 00 00 */ li r25, 0 /* 801DDE48 001DADA8 3B A0 00 00 */ li r29, 0 /* 801DDE4C 001DADAC 48 00 01 00 */ b lbl_801DDF4C lbl_801DDE50: /* 801DDE50 001DADB0 80 7E 05 F0 */ lwz r3, 0x5f0(r30) /* 801DDE54 001DADB4 7F 24 CB 78 */ mr r4, r25 /* 801DDE58 001DADB8 4B FC 93 E1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801DDE5C 001DADBC 80 BE 06 1C */ lwz r5, 0x61c(r30) /* 801DDE60 001DADC0 38 81 00 0C */ addi r4, r1, 0xc /* 801DDE64 001DADC4 A0 C3 00 3C */ lhz r6, 0x3c(r3) /* 801DDE68 001DADC8 7F E3 FB 78 */ mr r3, r31 /* 801DDE6C 001DADCC 7C 05 EA 2E */ lhzx r0, r5, r29 /* 801DDE70 001DADD0 B0 C1 00 2C */ sth r6, 0x2c(r1) /* 801DDE74 001DADD4 B0 01 00 28 */ sth r0, 0x28(r1) /* 801DDE78 001DADD8 B0 C1 00 0C */ sth r6, 0xc(r1) /* 801DDE7C 001DADDC 4B E6 E6 F9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DDE80 001DADE0 7C 64 1B 78 */ mr r4, r3 /* 801DDE84 001DADE4 38 61 00 48 */ addi r3, r1, 0x48 /* 801DDE88 001DADE8 4B ED 14 C5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801DDE8C 001DADEC 83 43 00 04 */ lwz r26, 4(r3) /* 801DDE90 001DADF0 7F E3 FB 78 */ mr r3, r31 /* 801DDE94 001DADF4 A0 01 00 28 */ lhz r0, 0x28(r1) /* 801DDE98 001DADF8 38 81 00 08 */ addi r4, r1, 8 /* 801DDE9C 001DADFC B0 01 00 08 */ sth r0, 8(r1) /* 801DDEA0 001DAE00 4B E6 E6 D5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DDEA4 001DAE04 28 1A 00 00 */ cmplwi r26, 0 /* 801DDEA8 001DAE08 7C 7C 1B 78 */ mr r28, r3 /* 801DDEAC 001DAE0C 41 82 00 98 */ beq lbl_801DDF44 /* 801DDEB0 001DAE10 28 1C 00 00 */ cmplwi r28, 0 /* 801DDEB4 001DAE14 41 82 00 90 */ beq lbl_801DDF44 /* 801DDEB8 001DAE18 28 19 00 00 */ cmplwi r25, 0 /* 801DDEBC 001DAE1C 41 82 00 20 */ beq lbl_801DDEDC /* 801DDEC0 001DAE20 3C 80 80 57 */ lis r4, lbl_8056D718@ha /* 801DDEC4 001DAE24 7F 43 D3 78 */ mr r3, r26 /* 801DDEC8 001DAE28 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l /* 801DDECC 001DAE2C 4B FC AC CD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801DDED0 001DAE30 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DDED4 001DAE34 D0 1C 03 2C */ stfs f0, 0x32c(r28) /* 801DDED8 001DAE38 48 00 00 28 */ b lbl_801DDF00 lbl_801DDEDC: /* 801DDEDC 001DAE3C 81 83 00 00 */ lwz r12, 0(r3) /* 801DDEE0 001DAE40 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801DDEE4 001DAE44 7D 89 03 A6 */ mtctr r12 /* 801DDEE8 001DAE48 4E 80 04 21 */ bctrl /* 801DDEEC 001DAE4C 7C 64 1B 78 */ mr r4, r3 /* 801DDEF0 001DAE50 7F 43 D3 78 */ mr r3, r26 /* 801DDEF4 001DAE54 4B FC AC A5 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801DDEF8 001DAE58 C0 02 AD 14 */ lfs f0, lbl_805ACA34@sda21(r2) /* 801DDEFC 001DAE5C D0 1C 03 2C */ stfs f0, 0x32c(r28) lbl_801DDF00: /* 801DDF00 001DAE60 7F 83 E3 78 */ mr r3, r28 /* 801DDF04 001DAE64 7F E4 FB 78 */ mr r4, r31 /* 801DDF08 001DAE68 81 9C 00 00 */ lwz r12, 0(r28) /* 801DDF0C 001DAE6C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DDF10 001DAE70 7D 89 03 A6 */ mtctr r12 /* 801DDF14 001DAE74 4E 80 04 21 */ bctrl /* 801DDF18 001DAE78 7C 7C 1B 78 */ mr r28, r3 /* 801DDF1C 001DAE7C 7F 43 D3 78 */ mr r3, r26 /* 801DDF20 001DAE80 81 9A 00 00 */ lwz r12, 0(r26) /* 801DDF24 001DAE84 7F E4 FB 78 */ mr r4, r31 /* 801DDF28 001DAE88 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DDF2C 001DAE8C 7D 89 03 A6 */ mtctr r12 /* 801DDF30 001DAE90 4E 80 04 21 */ bctrl /* 801DDF34 001DAE94 C0 1C 00 00 */ lfs f0, 0(r28) /* 801DDF38 001DAE98 D0 03 00 00 */ stfs f0, 0(r3) /* 801DDF3C 001DAE9C C0 1C 00 04 */ lfs f0, 4(r28) /* 801DDF40 001DAEA0 D0 03 00 04 */ stfs f0, 4(r3) lbl_801DDF44: /* 801DDF44 001DAEA4 3B 39 00 01 */ addi r25, r25, 1 /* 801DDF48 001DAEA8 3B BD 00 02 */ addi r29, r29, 2 lbl_801DDF4C: /* 801DDF4C 001DAEAC 7C 19 D8 40 */ cmplw r25, r27 /* 801DDF50 001DAEB0 41 80 FF 00 */ blt lbl_801DDE50 /* 801DDF54 001DAEB4 38 61 00 50 */ addi r3, r1, 0x50 /* 801DDF58 001DAEB8 38 80 FF FF */ li r4, -1 /* 801DDF5C 001DAEBC 4B F7 83 D1 */ bl sub_8015632c /* 801DDF60 001DAEC0 38 61 00 60 */ addi r3, r1, 0x60 /* 801DDF64 001DAEC4 38 80 FF FF */ li r4, -1 /* 801DDF68 001DAEC8 4B F7 83 C5 */ bl sub_8015632c /* 801DDF6C 001DAECC 38 61 00 70 */ addi r3, r1, 0x70 /* 801DDF70 001DAED0 38 80 FF FF */ li r4, -1 /* 801DDF74 001DAED4 4B F7 83 B9 */ bl sub_8015632c /* 801DDF78 001DAED8 BB 21 00 84 */ lmw r25, 0x84(r1) /* 801DDF7C 001DAEDC 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801DDF80 001DAEE0 7C 08 03 A6 */ mtlr r0 /* 801DDF84 001DAEE4 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801DDF88 001DAEE8 4E 80 00 20 */ blr .global Generate__8CThardusFR13CStateManager9EStateMsgf Generate__8CThardusFR13CStateManager9EStateMsgf: /* 801DDF8C 001DAEEC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DDF90 001DAEF0 7C 08 02 A6 */ mflr r0 /* 801DDF94 001DAEF4 2C 05 00 01 */ cmpwi r5, 1 /* 801DDF98 001DAEF8 90 01 00 24 */ stw r0, 0x24(r1) /* 801DDF9C 001DAEFC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DDFA0 001DAF00 41 82 00 2C */ beq lbl_801DDFCC /* 801DDFA4 001DAF04 40 80 00 10 */ bge lbl_801DDFB4 /* 801DDFA8 001DAF08 2C 05 00 00 */ cmpwi r5, 0 /* 801DDFAC 001DAF0C 40 80 00 14 */ bge lbl_801DDFC0 /* 801DDFB0 001DAF10 48 00 00 E4 */ b lbl_801DE094 lbl_801DDFB4: /* 801DDFB4 001DAF14 2C 05 00 03 */ cmpwi r5, 3 /* 801DDFB8 001DAF18 40 80 00 DC */ bge lbl_801DE094 /* 801DDFBC 001DAF1C 48 00 00 D0 */ b lbl_801DE08C lbl_801DDFC0: /* 801DDFC0 001DAF20 38 00 00 00 */ li r0, 0 /* 801DDFC4 001DAF24 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DDFC8 001DAF28 48 00 00 CC */ b lbl_801DE094 lbl_801DDFCC: /* 801DDFCC 001DAF2C 80 03 05 EC */ lwz r0, 0x5ec(r3) /* 801DDFD0 001DAF30 2C 00 00 01 */ cmpwi r0, 1 /* 801DDFD4 001DAF34 41 82 00 C0 */ beq lbl_801DE094 /* 801DDFD8 001DAF38 40 80 00 10 */ bge lbl_801DDFE8 /* 801DDFDC 001DAF3C 2C 00 00 00 */ cmpwi r0, 0 /* 801DDFE0 001DAF40 40 80 00 14 */ bge lbl_801DDFF4 /* 801DDFE4 001DAF44 48 00 00 B0 */ b lbl_801DE094 lbl_801DDFE8: /* 801DDFE8 001DAF48 2C 00 00 03 */ cmpwi r0, 3 /* 801DDFEC 001DAF4C 40 80 00 A8 */ bge lbl_801DE094 /* 801DDFF0 001DAF50 48 00 00 80 */ b lbl_801DE070 lbl_801DDFF4: /* 801DDFF4 001DAF54 80 83 04 50 */ lwz r4, 0x450(r3) /* 801DDFF8 001DAF58 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801DDFFC 001DAF5C 2C 00 00 01 */ cmpwi r0, 1 /* 801DE000 001DAF60 40 82 00 10 */ bne lbl_801DE010 /* 801DE004 001DAF64 38 00 00 02 */ li r0, 2 /* 801DE008 001DAF68 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DE00C 001DAF6C 48 00 00 88 */ b lbl_801DE094 lbl_801DE010: /* 801DE010 001DAF70 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DE014 001DAF74 38 A0 00 00 */ li r5, 0 /* 801DE018 001DAF78 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DE01C 001DAF7C 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801DE020 001DAF80 90 01 00 08 */ stw r0, 8(r1) /* 801DE024 001DAF84 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 801DE028 001DAF88 3B E4 00 04 */ addi r31, r4, 4 /* 801DE02C 001DAF8C 38 80 00 00 */ li r4, 0 /* 801DE030 001DAF90 90 A1 00 0C */ stw r5, 0xc(r1) /* 801DE034 001DAF94 7F E3 FB 78 */ mr r3, r31 /* 801DE038 001DAF98 90 01 00 08 */ stw r0, 8(r1) /* 801DE03C 001DAF9C 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DE040 001DAFA0 4B F5 33 F9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DE044 001DAFA4 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DE048 001DAFA8 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801DE04C 001DAFAC 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 801DE050 001DAFB0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DE054 001DAFB4 90 1F 00 BC */ stw r0, 0xbc(r31) /* 801DE058 001DAFB8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DE05C 001DAFBC 80 61 00 10 */ lwz r3, 0x10(r1) /* 801DE060 001DAFC0 90 81 00 08 */ stw r4, 8(r1) /* 801DE064 001DAFC4 90 7F 00 C0 */ stw r3, 0xc0(r31) /* 801DE068 001DAFC8 90 01 00 08 */ stw r0, 8(r1) /* 801DE06C 001DAFCC 48 00 00 28 */ b lbl_801DE094 lbl_801DE070: /* 801DE070 001DAFD0 80 83 04 50 */ lwz r4, 0x450(r3) /* 801DE074 001DAFD4 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801DE078 001DAFD8 2C 00 00 01 */ cmpwi r0, 1 /* 801DE07C 001DAFDC 41 82 00 18 */ beq lbl_801DE094 /* 801DE080 001DAFE0 38 00 00 03 */ li r0, 3 /* 801DE084 001DAFE4 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DE088 001DAFE8 48 00 00 0C */ b lbl_801DE094 lbl_801DE08C: /* 801DE08C 001DAFEC 38 00 00 00 */ li r0, 0 /* 801DE090 001DAFF0 98 03 09 3D */ stb r0, 0x93d(r3) lbl_801DE094: /* 801DE094 001DAFF4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DE098 001DAFF8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DE09C 001DAFFC 7C 08 03 A6 */ mtlr r0 /* 801DE0A0 001DB000 38 21 00 20 */ addi r1, r1, 0x20 /* 801DE0A4 001DB004 4E 80 00 20 */ blr .global HearPlayer__8CThardusFR13CStateManagerf HearPlayer__8CThardusFR13CStateManagerf: /* 801DE0A8 001DB008 88 63 05 C8 */ lbz r3, 0x5c8(r3) /* 801DE0AC 001DB00C 4E 80 00 20 */ blr .global Touch__8CThardusFR6CActorR13CStateManager Touch__8CThardusFR6CActorR13CStateManager: /* 801DE0B0 001DB010 4E 80 00 20 */ blr .global sub_801de0b4 sub_801de0b4: /* 801DE0B4 001DB014 80 03 05 EC */ lwz r0, 0x5ec(r3) /* 801DE0B8 001DB018 20 00 00 03 */ subfic r0, r0, 3 /* 801DE0BC 001DB01C 7C 00 00 34 */ cntlzw r0, r0 /* 801DE0C0 001DB020 54 03 D9 7E */ srwi r3, r0, 5 /* 801DE0C4 001DB024 4E 80 00 20 */ blr .global Cover__8CThardusFR13CStateManager9EStateMsgf Cover__8CThardusFR13CStateManager9EStateMsgf: /* 801DE0C8 001DB028 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DE0CC 001DB02C 7C 08 02 A6 */ mflr r0 /* 801DE0D0 001DB030 2C 05 00 01 */ cmpwi r5, 1 /* 801DE0D4 001DB034 90 01 00 14 */ stw r0, 0x14(r1) /* 801DE0D8 001DB038 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DE0DC 001DB03C 7C 9F 23 78 */ mr r31, r4 /* 801DE0E0 001DB040 93 C1 00 08 */ stw r30, 8(r1) /* 801DE0E4 001DB044 7C 7E 1B 78 */ mr r30, r3 /* 801DE0E8 001DB048 41 82 00 70 */ beq lbl_801DE158 /* 801DE0EC 001DB04C 40 80 00 10 */ bge lbl_801DE0FC /* 801DE0F0 001DB050 2C 05 00 00 */ cmpwi r5, 0 /* 801DE0F4 001DB054 40 80 00 14 */ bge lbl_801DE108 /* 801DE0F8 001DB058 48 00 00 60 */ b lbl_801DE158 lbl_801DE0FC: /* 801DE0FC 001DB05C 2C 05 00 03 */ cmpwi r5, 3 /* 801DE100 001DB060 40 80 00 58 */ bge lbl_801DE158 /* 801DE104 001DB064 48 00 00 4C */ b lbl_801DE150 lbl_801DE108: /* 801DE108 001DB068 7F E5 FB 78 */ mr r5, r31 /* 801DE10C 001DB06C 38 80 00 01 */ li r4, 1 /* 801DE110 001DB070 4B FF D4 51 */ bl sub_801db560 /* 801DE114 001DB074 38 00 00 00 */ li r0, 0 /* 801DE118 001DB078 98 1E 09 3D */ stb r0, 0x93d(r30) /* 801DE11C 001DB07C 98 1E 09 09 */ stb r0, 0x909(r30) /* 801DE120 001DB080 80 7E 06 14 */ lwz r3, 0x614(r30) /* 801DE124 001DB084 80 9E 06 48 */ lwz r4, 0x648(r30) /* 801DE128 001DB088 38 03 FF FE */ addi r0, r3, -2 /* 801DE12C 001DB08C 7C 04 00 40 */ cmplw r4, r0 /* 801DE130 001DB090 41 80 00 0C */ blt lbl_801DE13C /* 801DE134 001DB094 C0 02 AD 2C */ lfs f0, lbl_805ACA4C@sda21(r2) /* 801DE138 001DB098 D0 1E 06 90 */ stfs f0, 0x690(r30) lbl_801DE13C: /* 801DE13C 001DB09C 7F C3 F3 78 */ mr r3, r30 /* 801DE140 001DB0A0 7F E5 FB 78 */ mr r5, r31 /* 801DE144 001DB0A4 38 80 00 33 */ li r4, 0x33 /* 801DE148 001DB0A8 4B E7 62 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801DE14C 001DB0AC 48 00 00 0C */ b lbl_801DE158 lbl_801DE150: /* 801DE150 001DB0B0 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DE154 001DB0B4 D0 1E 06 90 */ stfs f0, 0x690(r30) lbl_801DE158: /* 801DE158 001DB0B8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DE15C 001DB0BC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DE160 001DB0C0 83 C1 00 08 */ lwz r30, 8(r1) /* 801DE164 001DB0C4 7C 08 03 A6 */ mtlr r0 /* 801DE168 001DB0C8 38 21 00 10 */ addi r1, r1, 0x10 /* 801DE16C 001DB0CC 4E 80 00 20 */ blr .global GetUp__8CThardusFR13CStateManager9EStateMsgf GetUp__8CThardusFR13CStateManager9EStateMsgf: /* 801DE170 001DB0D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DE174 001DB0D4 7C 08 02 A6 */ mflr r0 /* 801DE178 001DB0D8 2C 05 00 00 */ cmpwi r5, 0 /* 801DE17C 001DB0DC 90 01 00 14 */ stw r0, 0x14(r1) /* 801DE180 001DB0E0 41 82 00 0C */ beq lbl_801DE18C /* 801DE184 001DB0E4 41 80 00 14 */ blt lbl_801DE198 /* 801DE188 001DB0E8 48 00 00 10 */ b lbl_801DE198 lbl_801DE18C: /* 801DE18C 001DB0EC 7C 85 23 78 */ mr r5, r4 /* 801DE190 001DB0F0 38 80 00 33 */ li r4, 0x33 /* 801DE194 001DB0F4 4B E7 5D ED */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_801DE198: /* 801DE198 001DB0F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DE19C 001DB0FC 7C 08 03 A6 */ mtlr r0 /* 801DE1A0 001DB100 38 21 00 10 */ addi r1, r1, 0x10 /* 801DE1A4 001DB104 4E 80 00 20 */ blr .global sub_801de1a8 sub_801de1a8: /* 801DE1A8 001DB108 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801DE1AC 001DB10C 7C 08 02 A6 */ mflr r0 /* 801DE1B0 001DB110 90 01 00 44 */ stw r0, 0x44(r1) /* 801DE1B4 001DB114 BF 21 00 24 */ stmw r25, 0x24(r1) /* 801DE1B8 001DB118 7C DF 33 78 */ mr r31, r6 /* 801DE1BC 001DB11C 7C 7C 1B 78 */ mr r28, r3 /* 801DE1C0 001DB120 7C 9D 23 78 */ mr r29, r4 /* 801DE1C4 001DB124 7C BE 2B 78 */ mr r30, r5 /* 801DE1C8 001DB128 80 06 00 00 */ lwz r0, 0(r6) /* 801DE1CC 001DB12C 28 00 00 10 */ cmplwi r0, 0x10 /* 801DE1D0 001DB130 40 80 00 F4 */ bge lbl_801DE2C4 /* 801DE1D4 001DB134 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801DE1D8 001DB138 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801DE1DC 001DB13C 41 82 00 E8 */ beq lbl_801DE2C4 /* 801DE1E0 001DB140 7F A3 EB 78 */ mr r3, r29 /* 801DE1E4 001DB144 38 80 00 00 */ li r4, 0 /* 801DE1E8 001DB148 81 9D 00 00 */ lwz r12, 0(r29) /* 801DE1EC 001DB14C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801DE1F0 001DB150 7D 89 03 A6 */ mtctr r12 /* 801DE1F4 001DB154 4E 80 04 21 */ bctrl /* 801DE1F8 001DB158 80 1F 00 00 */ lwz r0, 0(r31) /* 801DE1FC 001DB15C A0 9D 00 08 */ lhz r4, 8(r29) /* 801DE200 001DB160 54 00 08 3C */ slwi r0, r0, 1 /* 801DE204 001DB164 7C 7F 02 14 */ add r3, r31, r0 /* 801DE208 001DB168 34 63 00 04 */ addic. r3, r3, 4 /* 801DE20C 001DB16C 41 82 00 08 */ beq lbl_801DE214 /* 801DE210 001DB170 B0 83 00 00 */ sth r4, 0(r3) lbl_801DE214: /* 801DE214 001DB174 80 7F 00 00 */ lwz r3, 0(r31) /* 801DE218 001DB178 3B 20 00 00 */ li r25, 0 /* 801DE21C 001DB17C 3B 60 00 00 */ li r27, 0 /* 801DE220 001DB180 38 03 00 01 */ addi r0, r3, 1 /* 801DE224 001DB184 90 1F 00 00 */ stw r0, 0(r31) /* 801DE228 001DB188 83 5D 00 24 */ lwz r26, 0x24(r29) /* 801DE22C 001DB18C 48 00 00 78 */ b lbl_801DE2A4 lbl_801DE230: /* 801DE230 001DB190 80 BD 00 2C */ lwz r5, 0x2c(r29) /* 801DE234 001DB194 38 1B 00 08 */ addi r0, r27, 8 /* 801DE238 001DB198 7F C4 F3 78 */ mr r4, r30 /* 801DE23C 001DB19C 38 61 00 0C */ addi r3, r1, 0xc /* 801DE240 001DB1A0 7C 05 00 2E */ lwzx r0, r5, r0 /* 801DE244 001DB1A4 38 A1 00 14 */ addi r5, r1, 0x14 /* 801DE248 001DB1A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801DE24C 001DB1AC 4B E6 9C D1 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801DE250 001DB1B0 A0 61 00 0C */ lhz r3, 0xc(r1) /* 801DE254 001DB1B4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801DE258 001DB1B8 B0 61 00 10 */ sth r3, 0x10(r1) /* 801DE25C 001DB1BC 7C 03 00 40 */ cmplw r3, r0 /* 801DE260 001DB1C0 41 82 00 3C */ beq lbl_801DE29C /* 801DE264 001DB1C4 B0 61 00 08 */ sth r3, 8(r1) /* 801DE268 001DB1C8 7F C3 F3 78 */ mr r3, r30 /* 801DE26C 001DB1CC 38 81 00 08 */ addi r4, r1, 8 /* 801DE270 001DB1D0 4B E6 E3 05 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801DE274 001DB1D4 7C 64 1B 78 */ mr r4, r3 /* 801DE278 001DB1D8 38 61 00 18 */ addi r3, r1, 0x18 /* 801DE27C 001DB1DC 4B EC 82 D1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE280 001DB1E0 80 83 00 04 */ lwz r4, 4(r3) /* 801DE284 001DB1E4 28 04 00 00 */ cmplwi r4, 0 /* 801DE288 001DB1E8 41 82 00 14 */ beq lbl_801DE29C /* 801DE28C 001DB1EC 7F 83 E3 78 */ mr r3, r28 /* 801DE290 001DB1F0 7F C5 F3 78 */ mr r5, r30 /* 801DE294 001DB1F4 7F E6 FB 78 */ mr r6, r31 /* 801DE298 001DB1F8 4B FF FF 11 */ bl sub_801de1a8 lbl_801DE29C: /* 801DE29C 001DB1FC 3B 39 00 01 */ addi r25, r25, 1 /* 801DE2A0 001DB200 3B 7B 00 0C */ addi r27, r27, 0xc lbl_801DE2A4: /* 801DE2A4 001DB204 7C 19 D0 40 */ cmplw r25, r26 /* 801DE2A8 001DB208 41 80 FF 88 */ blt lbl_801DE230 /* 801DE2AC 001DB20C 7F A3 EB 78 */ mr r3, r29 /* 801DE2B0 001DB210 38 80 00 01 */ li r4, 1 /* 801DE2B4 001DB214 81 9D 00 00 */ lwz r12, 0(r29) /* 801DE2B8 001DB218 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801DE2BC 001DB21C 7D 89 03 A6 */ mtctr r12 /* 801DE2C0 001DB220 4E 80 04 21 */ bctrl lbl_801DE2C4: /* 801DE2C4 001DB224 BB 21 00 24 */ lmw r25, 0x24(r1) /* 801DE2C8 001DB228 80 01 00 44 */ lwz r0, 0x44(r1) /* 801DE2CC 001DB22C 7C 08 03 A6 */ mtlr r0 /* 801DE2D0 001DB230 38 21 00 40 */ addi r1, r1, 0x40 /* 801DE2D4 001DB234 4E 80 00 20 */ blr .global Render__8CThardusCFRC13CStateManager Render__8CThardusCFRC13CStateManager: /* 801DE2D8 001DB238 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DE2DC 001DB23C 7C 08 02 A6 */ mflr r0 /* 801DE2E0 001DB240 90 01 00 14 */ stw r0, 0x14(r1) /* 801DE2E4 001DB244 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DE2E8 001DB248 7C 9F 23 78 */ mr r31, r4 /* 801DE2EC 001DB24C 93 C1 00 08 */ stw r30, 8(r1) /* 801DE2F0 001DB250 7C 7E 1B 78 */ mr r30, r3 /* 801DE2F4 001DB254 4B E9 9D 39 */ bl Render__10CPatternedCFRC13CStateManager /* 801DE2F8 001DB258 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801DE2FC 001DB25C 7F E4 FB 78 */ mr r4, r31 /* 801DE300 001DB260 80 63 00 00 */ lwz r3, 0(r3) /* 801DE304 001DB264 4B EB 32 55 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801DE308 001DB268 2C 03 00 03 */ cmpwi r3, 3 /* 801DE30C 001DB26C 40 82 00 1C */ bne lbl_801DE328 /* 801DE310 001DB270 80 1E 07 C4 */ lwz r0, 0x7c4(r30) /* 801DE314 001DB274 2C 00 00 00 */ cmpwi r0, 0 /* 801DE318 001DB278 41 82 00 10 */ beq lbl_801DE328 /* 801DE31C 001DB27C C0 3E 07 C0 */ lfs f1, 0x7c0(r30) /* 801DE320 001DB280 7F C3 F3 78 */ mr r3, r30 /* 801DE324 001DB284 48 00 4F 7D */ bl sub_801e32a0 lbl_801DE328: /* 801DE328 001DB288 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DE32C 001DB28C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DE330 001DB290 83 C1 00 08 */ lwz r30, 8(r1) /* 801DE334 001DB294 7C 08 03 A6 */ mtlr r0 /* 801DE338 001DB298 38 21 00 10 */ addi r1, r1, 0x10 /* 801DE33C 001DB29C 4E 80 00 20 */ blr .global PreRender__8CThardusFR13CStateManagerRC14CFrustumPlanes PreRender__8CThardusFR13CStateManagerRC14CFrustumPlanes: /* 801DE340 001DB2A0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DE344 001DB2A4 7C 08 02 A6 */ mflr r0 /* 801DE348 001DB2A8 90 01 00 24 */ stw r0, 0x24(r1) /* 801DE34C 001DB2AC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DE350 001DB2B0 7C 7F 1B 78 */ mr r31, r3 /* 801DE354 001DB2B4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801DE358 001DB2B8 7C 9E 23 78 */ mr r30, r4 /* 801DE35C 001DB2BC 4B E9 9F 81 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes /* 801DE360 001DB2C0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801DE364 001DB2C4 7F C4 F3 78 */ mr r4, r30 /* 801DE368 001DB2C8 80 63 00 00 */ lwz r3, 0(r3) /* 801DE36C 001DB2CC 4B EB 31 ED */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801DE370 001DB2D0 2C 03 00 03 */ cmpwi r3, 3 /* 801DE374 001DB2D4 40 82 00 5C */ bne lbl_801DE3D0 /* 801DE378 001DB2D8 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801DE37C 001DB2DC 38 80 00 00 */ li r4, 0 /* 801DE380 001DB2E0 38 00 00 03 */ li r0, 3 /* 801DE384 001DB2E4 98 81 00 10 */ stb r4, 0x10(r1) /* 801DE388 001DB2E8 FC 40 08 90 */ fmr f2, f1 /* 801DE38C 001DB2EC 38 61 00 14 */ addi r3, r1, 0x14 /* 801DE390 001DB2F0 FC 60 08 90 */ fmr f3, f1 /* 801DE394 001DB2F4 98 81 00 11 */ stb r4, 0x11(r1) /* 801DE398 001DB2F8 FC 80 08 90 */ fmr f4, f1 /* 801DE39C 001DB2FC B0 01 00 12 */ sth r0, 0x12(r1) /* 801DE3A0 001DB300 48 18 50 4D */ bl __ct__6CColorFffff /* 801DE3A4 001DB304 A0 01 00 12 */ lhz r0, 0x12(r1) /* 801DE3A8 001DB308 88 81 00 11 */ lbz r4, 0x11(r1) /* 801DE3AC 001DB30C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d /* 801DE3B0 001DB310 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801DE3B4 001DB314 88 01 00 10 */ lbz r0, 0x10(r1) /* 801DE3B8 001DB318 60 63 00 01 */ ori r3, r3, 1 /* 801DE3BC 001DB31C 98 1F 00 B4 */ stb r0, 0xb4(r31) /* 801DE3C0 001DB320 98 9F 00 B5 */ stb r4, 0xb5(r31) /* 801DE3C4 001DB324 B0 7F 00 B6 */ sth r3, 0xb6(r31) /* 801DE3C8 001DB328 90 BF 00 B8 */ stw r5, 0xb8(r31) /* 801DE3CC 001DB32C 48 00 00 50 */ b lbl_801DE41C lbl_801DE3D0: /* 801DE3D0 001DB330 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801DE3D4 001DB334 38 80 00 00 */ li r4, 0 /* 801DE3D8 001DB338 38 00 00 03 */ li r0, 3 /* 801DE3DC 001DB33C 98 81 00 08 */ stb r4, 8(r1) /* 801DE3E0 001DB340 FC 40 08 90 */ fmr f2, f1 /* 801DE3E4 001DB344 38 61 00 0C */ addi r3, r1, 0xc /* 801DE3E8 001DB348 FC 60 08 90 */ fmr f3, f1 /* 801DE3EC 001DB34C 98 81 00 09 */ stb r4, 9(r1) /* 801DE3F0 001DB350 FC 80 08 90 */ fmr f4, f1 /* 801DE3F4 001DB354 B0 01 00 0A */ sth r0, 0xa(r1) /* 801DE3F8 001DB358 48 18 4F F5 */ bl __ct__6CColorFffff /* 801DE3FC 001DB35C 88 01 00 08 */ lbz r0, 8(r1) /* 801DE400 001DB360 98 1F 00 B4 */ stb r0, 0xb4(r31) /* 801DE404 001DB364 88 01 00 09 */ lbz r0, 9(r1) /* 801DE408 001DB368 98 1F 00 B5 */ stb r0, 0xb5(r31) /* 801DE40C 001DB36C A0 01 00 0A */ lhz r0, 0xa(r1) /* 801DE410 001DB370 B0 1F 00 B6 */ sth r0, 0xb6(r31) /* 801DE414 001DB374 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DE418 001DB378 90 1F 00 B8 */ stw r0, 0xb8(r31) lbl_801DE41C: /* 801DE41C 001DB37C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DE420 001DB380 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DE424 001DB384 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801DE428 001DB388 7C 08 03 A6 */ mtlr r0 /* 801DE42C 001DB38C 38 21 00 20 */ addi r1, r1, 0x20 /* 801DE430 001DB390 4E 80 00 20 */ blr .global sub_801de434 sub_801de434: /* 801DE434 001DB394 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DE438 001DB398 7C 08 02 A6 */ mflr r0 /* 801DE43C 001DB39C 90 01 00 34 */ stw r0, 0x34(r1) /* 801DE440 001DB3A0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801DE444 001DB3A4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801DE448 001DB3A8 93 A1 00 24 */ stw r29, 0x24(r1) /* 801DE44C 001DB3AC 7C BD 2B 78 */ mr r29, r5 /* 801DE450 001DB3B0 93 81 00 20 */ stw r28, 0x20(r1) /* 801DE454 001DB3B4 7C 7C 1B 78 */ mr r28, r3 /* 801DE458 001DB3B8 88 04 08 F1 */ lbz r0, 0x8f1(r4) /* 801DE45C 001DB3BC 7C 00 07 74 */ extsb r0, r0 /* 801DE460 001DB3C0 2C 00 FF FF */ cmpwi r0, -1 /* 801DE464 001DB3C4 41 82 00 B0 */ beq lbl_801DE514 /* 801DE468 001DB3C8 8B C4 08 F2 */ lbz r30, 0x8f2(r4) /* 801DE46C 001DB3CC 7F C3 07 74 */ extsb r3, r30 /* 801DE470 001DB3D0 2C 03 FF FF */ cmpwi r3, -1 /* 801DE474 001DB3D4 41 82 00 A0 */ beq lbl_801DE514 /* 801DE478 001DB3D8 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801DE47C 001DB3DC 38 C3 00 01 */ addi r6, r3, 1 /* 801DE480 001DB3E0 7F A3 EB 78 */ mr r3, r29 /* 801DE484 001DB3E4 7F E4 02 14 */ add r31, r4, r0 /* 801DE488 001DB3E8 84 BF 05 7C */ lwzu r5, 0x57c(r31) /* 801DE48C 001DB3EC 7C 06 2B D6 */ divw r0, r6, r5 /* 801DE490 001DB3F0 7C 00 29 D6 */ mullw r0, r0, r5 /* 801DE494 001DB3F4 7C 00 30 50 */ subf r0, r0, r6 /* 801DE498 001DB3F8 98 04 08 F2 */ stb r0, 0x8f2(r4) /* 801DE49C 001DB3FC 88 04 08 F2 */ lbz r0, 0x8f2(r4) /* 801DE4A0 001DB400 38 81 00 0C */ addi r4, r1, 0xc /* 801DE4A4 001DB404 7C 00 07 74 */ extsb r0, r0 /* 801DE4A8 001DB408 54 00 08 3C */ slwi r0, r0, 1 /* 801DE4AC 001DB40C 7C BF 02 14 */ add r5, r31, r0 /* 801DE4B0 001DB410 A0 05 00 04 */ lhz r0, 4(r5) /* 801DE4B4 001DB414 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DE4B8 001DB418 4B E6 E0 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DE4BC 001DB41C 7C 64 1B 78 */ mr r4, r3 /* 801DE4C0 001DB420 38 61 00 18 */ addi r3, r1, 0x18 /* 801DE4C4 001DB424 4B EC 80 89 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE4C8 001DB428 7F C0 07 74 */ extsb r0, r30 /* 801DE4CC 001DB42C 83 C3 00 04 */ lwz r30, 4(r3) /* 801DE4D0 001DB430 54 00 08 3C */ slwi r0, r0, 1 /* 801DE4D4 001DB434 7F A3 EB 78 */ mr r3, r29 /* 801DE4D8 001DB438 7C BF 02 14 */ add r5, r31, r0 /* 801DE4DC 001DB43C 38 81 00 08 */ addi r4, r1, 8 /* 801DE4E0 001DB440 A0 05 00 04 */ lhz r0, 4(r5) /* 801DE4E4 001DB444 B0 01 00 08 */ sth r0, 8(r1) /* 801DE4E8 001DB448 4B E6 E0 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DE4EC 001DB44C 7C 64 1B 78 */ mr r4, r3 /* 801DE4F0 001DB450 38 61 00 10 */ addi r3, r1, 0x10 /* 801DE4F4 001DB454 4B EC 80 59 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE4F8 001DB458 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801DE4FC 001DB45C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801DE500 001DB460 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801DE504 001DB464 D0 1C 00 00 */ stfs f0, 0(r28) /* 801DE508 001DB468 D0 3C 00 04 */ stfs f1, 4(r28) /* 801DE50C 001DB46C D0 5C 00 08 */ stfs f2, 8(r28) /* 801DE510 001DB470 48 00 00 20 */ b lbl_801DE530 lbl_801DE514: /* 801DE514 001DB474 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DE518 001DB478 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801DE51C 001DB47C D0 1C 00 00 */ stfs f0, 0(r28) /* 801DE520 001DB480 C0 03 00 04 */ lfs f0, 4(r3) /* 801DE524 001DB484 D0 1C 00 04 */ stfs f0, 4(r28) /* 801DE528 001DB488 C0 03 00 08 */ lfs f0, 8(r3) /* 801DE52C 001DB48C D0 1C 00 08 */ stfs f0, 8(r28) lbl_801DE530: /* 801DE530 001DB490 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DE534 001DB494 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801DE538 001DB498 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801DE53C 001DB49C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801DE540 001DB4A0 83 81 00 20 */ lwz r28, 0x20(r1) /* 801DE544 001DB4A4 7C 08 03 A6 */ mtlr r0 /* 801DE548 001DB4A8 38 21 00 30 */ addi r1, r1, 0x30 /* 801DE54C 001DB4AC 4E 80 00 20 */ blr .global sub_801de550 sub_801de550: /* 801DE550 001DB4B0 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 801DE554 001DB4B4 7C 08 02 A6 */ mflr r0 /* 801DE558 001DB4B8 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 801DE55C 001DB4BC DB E1 01 90 */ stfd f31, 0x190(r1) /* 801DE560 001DB4C0 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 801DE564 001DB4C4 DB C1 01 80 */ stfd f30, 0x180(r1) /* 801DE568 001DB4C8 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 801DE56C 001DB4CC DB A1 01 70 */ stfd f29, 0x170(r1) /* 801DE570 001DB4D0 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 801DE574 001DB4D4 BE 61 01 3C */ stmw r19, 0x13c(r1) /* 801DE578 001DB4D8 7C 9E 23 78 */ mr r30, r4 /* 801DE57C 001DB4DC 7C 7D 1B 78 */ mr r29, r3 /* 801DE580 001DB4E0 83 24 05 78 */ lwz r25, 0x578(r4) /* 801DE584 001DB4E4 7C BF 2B 78 */ mr r31, r5 /* 801DE588 001DB4E8 3B 40 FF FF */ li r26, -1 /* 801DE58C 001DB4EC 3A A0 FF FF */ li r21, -1 /* 801DE590 001DB4F0 28 19 00 00 */ cmplwi r25, 0 /* 801DE594 001DB4F4 41 82 03 AC */ beq lbl_801DE940 /* 801DE598 001DB4F8 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801DE59C 001DB4FC 38 00 00 00 */ li r0, 0 /* 801DE5A0 001DB500 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801DE5A4 001DB504 7F 24 CB 78 */ mr r4, r25 /* 801DE5A8 001DB508 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801DE5AC 001DB50C 38 61 01 1C */ addi r3, r1, 0x11c /* 801DE5B0 001DB510 D0 21 01 14 */ stfs f1, 0x114(r1) /* 801DE5B4 001DB514 D0 01 01 10 */ stfs f0, 0x110(r1) /* 801DE5B8 001DB518 D0 41 01 18 */ stfs f2, 0x118(r1) /* 801DE5BC 001DB51C 90 01 01 20 */ stw r0, 0x120(r1) /* 801DE5C0 001DB520 90 01 01 24 */ stw r0, 0x124(r1) /* 801DE5C4 001DB524 90 01 01 28 */ stw r0, 0x128(r1) /* 801DE5C8 001DB528 4B E8 55 5D */ bl "reserve__Q24rstl37vectorFi" /* 801DE5CC 001DB52C C0 5E 00 48 */ lfs f2, 0x48(r30) /* 801DE5D0 001DB530 38 61 00 8C */ addi r3, r1, 0x8c /* 801DE5D4 001DB534 C0 3E 00 38 */ lfs f1, 0x38(r30) /* 801DE5D8 001DB538 C0 1E 00 58 */ lfs f0, 0x58(r30) /* 801DE5DC 001DB53C D0 21 01 04 */ stfs f1, 0x104(r1) /* 801DE5E0 001DB540 D0 41 01 08 */ stfs f2, 0x108(r1) /* 801DE5E4 001DB544 D0 01 01 0C */ stfs f0, 0x10c(r1) /* 801DE5E8 001DB548 48 13 5C 19 */ bl __ct__9CVector2fFff /* 801DE5EC 001DB54C 38 61 00 94 */ addi r3, r1, 0x94 /* 801DE5F0 001DB550 38 81 00 8C */ addi r4, r1, 0x8c /* 801DE5F4 001DB554 48 13 5A 8D */ bl AsNormalized__9CVector2fCFv /* 801DE5F8 001DB558 3B 9E 05 7C */ addi r28, r30, 0x57c /* 801DE5FC 001DB55C 3B 60 00 00 */ li r27, 0 /* 801DE600 001DB560 3A C0 00 00 */ li r22, 0 /* 801DE604 001DB564 48 00 01 24 */ b lbl_801DE728 lbl_801DE608: /* 801DE608 001DB568 7E BC B2 14 */ add r21, r28, r22 /* 801DE60C 001DB56C C3 C2 AD 30 */ lfs f30, lbl_805ACA50@sda21(r2) /* 801DE610 001DB570 82 95 00 00 */ lwz r20, 0(r21) /* 801DE614 001DB574 3B 00 00 00 */ li r24, 0 /* 801DE618 001DB578 3A 60 00 00 */ li r19, 0 /* 801DE61C 001DB57C 3A E0 00 00 */ li r23, 0 /* 801DE620 001DB580 48 00 00 AC */ b lbl_801DE6CC lbl_801DE624: /* 801DE624 001DB584 7C 95 BA 14 */ add r4, r21, r23 /* 801DE628 001DB588 7F E3 FB 78 */ mr r3, r31 /* 801DE62C 001DB58C A0 04 00 04 */ lhz r0, 4(r4) /* 801DE630 001DB590 38 81 00 18 */ addi r4, r1, 0x18 /* 801DE634 001DB594 B0 01 00 18 */ sth r0, 0x18(r1) /* 801DE638 001DB598 4B E6 DF 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DE63C 001DB59C 7C 64 1B 78 */ mr r4, r3 /* 801DE640 001DB5A0 38 61 00 44 */ addi r3, r1, 0x44 /* 801DE644 001DB5A4 4B EC 7F 09 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE648 001DB5A8 80 83 00 04 */ lwz r4, 4(r3) /* 801DE64C 001DB5AC 38 61 00 84 */ addi r3, r1, 0x84 /* 801DE650 001DB5B0 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801DE654 001DB5B4 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801DE658 001DB5B8 C0 04 00 60 */ lfs f0, 0x60(r4) /* 801DE65C 001DB5BC D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 801DE660 001DB5C0 D0 41 00 FC */ stfs f2, 0xfc(r1) /* 801DE664 001DB5C4 D0 01 01 00 */ stfs f0, 0x100(r1) /* 801DE668 001DB5C8 48 13 5B 99 */ bl __ct__9CVector2fFff /* 801DE66C 001DB5CC C0 21 00 84 */ lfs f1, 0x84(r1) /* 801DE670 001DB5D0 38 61 00 74 */ addi r3, r1, 0x74 /* 801DE674 001DB5D4 C0 01 00 88 */ lfs f0, 0x88(r1) /* 801DE678 001DB5D8 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 801DE67C 001DB5DC C0 21 01 10 */ lfs f1, 0x110(r1) /* 801DE680 001DB5E0 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 801DE684 001DB5E4 C0 41 01 14 */ lfs f2, 0x114(r1) /* 801DE688 001DB5E8 48 13 5B 79 */ bl __ct__9CVector2fFff /* 801DE68C 001DB5EC 38 61 00 7C */ addi r3, r1, 0x7c /* 801DE690 001DB5F0 38 81 00 CC */ addi r4, r1, 0xcc /* 801DE694 001DB5F4 38 A1 00 74 */ addi r5, r1, 0x74 /* 801DE698 001DB5F8 48 13 58 A1 */ bl __mi__FRC9CVector2fRC9CVector2f /* 801DE69C 001DB5FC C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801DE6A0 001DB600 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801DE6A4 001DB604 C0 01 00 80 */ lfs f0, 0x80(r1) /* 801DE6A8 001DB608 D0 21 00 C4 */ stfs f1, 0xc4(r1) /* 801DE6AC 001DB60C D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 801DE6B0 001DB610 48 13 5A 45 */ bl Magnitude__9CVector2fCFv /* 801DE6B4 001DB614 FC 01 F0 40 */ fcmpo cr0, f1, f30 /* 801DE6B8 001DB618 40 80 00 0C */ bge lbl_801DE6C4 /* 801DE6BC 001DB61C 7E 78 9B 78 */ mr r24, r19 /* 801DE6C0 001DB620 FF C0 08 90 */ fmr f30, f1 lbl_801DE6C4: /* 801DE6C4 001DB624 3A 73 00 01 */ addi r19, r19, 1 /* 801DE6C8 001DB628 3A F7 00 02 */ addi r23, r23, 2 lbl_801DE6CC: /* 801DE6CC 001DB62C 7C 13 A0 40 */ cmplw r19, r20 /* 801DE6D0 001DB630 41 80 FF 54 */ blt lbl_801DE624 /* 801DE6D4 001DB634 80 01 01 20 */ lwz r0, 0x120(r1) /* 801DE6D8 001DB638 80 A1 01 24 */ lwz r5, 0x124(r1) /* 801DE6DC 001DB63C 7C 00 28 00 */ cmpw r0, r5 /* 801DE6E0 001DB640 41 80 00 1C */ blt lbl_801DE6FC /* 801DE6E4 001DB644 2C 05 00 00 */ cmpwi r5, 0 /* 801DE6E8 001DB648 38 61 01 1C */ addi r3, r1, 0x11c /* 801DE6EC 001DB64C 38 80 00 04 */ li r4, 4 /* 801DE6F0 001DB650 41 82 00 08 */ beq lbl_801DE6F8 /* 801DE6F4 001DB654 54 A4 08 3C */ slwi r4, r5, 1 lbl_801DE6F8: /* 801DE6F8 001DB658 4B E8 54 2D */ bl "reserve__Q24rstl37vectorFi" lbl_801DE6FC: /* 801DE6FC 001DB65C 80 01 01 20 */ lwz r0, 0x120(r1) /* 801DE700 001DB660 80 61 01 28 */ lwz r3, 0x128(r1) /* 801DE704 001DB664 54 00 10 3A */ slwi r0, r0, 2 /* 801DE708 001DB668 7C 63 02 15 */ add. r3, r3, r0 /* 801DE70C 001DB66C 41 82 00 08 */ beq lbl_801DE714 /* 801DE710 001DB670 93 03 00 00 */ stw r24, 0(r3) lbl_801DE714: /* 801DE714 001DB674 80 61 01 20 */ lwz r3, 0x120(r1) /* 801DE718 001DB678 3B 7B 00 01 */ addi r27, r27, 1 /* 801DE71C 001DB67C 3A D6 00 24 */ addi r22, r22, 0x24 /* 801DE720 001DB680 38 03 00 01 */ addi r0, r3, 1 /* 801DE724 001DB684 90 01 01 20 */ stw r0, 0x120(r1) lbl_801DE728: /* 801DE728 001DB688 7C 1B C8 40 */ cmplw r27, r25 /* 801DE72C 001DB68C 41 80 FE DC */ blt lbl_801DE608 /* 801DE730 001DB690 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801DE734 001DB694 38 61 00 6C */ addi r3, r1, 0x6c /* 801DE738 001DB698 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801DE73C 001DB69C C0 24 00 40 */ lfs f1, 0x40(r4) /* 801DE740 001DB6A0 C0 04 00 60 */ lfs f0, 0x60(r4) /* 801DE744 001DB6A4 D0 21 00 EC */ stfs f1, 0xec(r1) /* 801DE748 001DB6A8 D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 801DE74C 001DB6AC D0 01 00 F4 */ stfs f0, 0xf4(r1) /* 801DE750 001DB6B0 48 13 5A B1 */ bl __ct__9CVector2fFff /* 801DE754 001DB6B4 C3 E2 AC DC */ lfs f31, lbl_805AC9FC@sda21(r2) /* 801DE758 001DB6B8 3B 00 00 00 */ li r24, 0 /* 801DE75C 001DB6BC C0 21 00 6C */ lfs f1, 0x6c(r1) /* 801DE760 001DB6C0 3B 60 00 00 */ li r27, 0 /* 801DE764 001DB6C4 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801DE768 001DB6C8 FF C0 F8 90 */ fmr f30, f31 /* 801DE76C 001DB6CC D0 21 00 BC */ stfs f1, 0xbc(r1) /* 801DE770 001DB6D0 3A E0 00 00 */ li r23, 0 /* 801DE774 001DB6D4 3A C0 00 00 */ li r22, 0 /* 801DE778 001DB6D8 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801DE77C 001DB6DC 48 00 01 5C */ b lbl_801DE8D8 lbl_801DE780: /* 801DE780 001DB6E0 80 A1 01 28 */ lwz r5, 0x128(r1) /* 801DE784 001DB6E4 7C DC B2 14 */ add r6, r28, r22 /* 801DE788 001DB6E8 7F E3 FB 78 */ mr r3, r31 /* 801DE78C 001DB6EC 38 81 00 14 */ addi r4, r1, 0x14 /* 801DE790 001DB6F0 7C 05 B8 2E */ lwzx r0, r5, r23 /* 801DE794 001DB6F4 54 00 08 3C */ slwi r0, r0, 1 /* 801DE798 001DB6F8 7C A6 02 14 */ add r5, r6, r0 /* 801DE79C 001DB6FC A0 05 00 04 */ lhz r0, 4(r5) /* 801DE7A0 001DB700 B0 01 00 14 */ sth r0, 0x14(r1) /* 801DE7A4 001DB704 4B E6 DE 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DE7A8 001DB708 7C 64 1B 78 */ mr r4, r3 /* 801DE7AC 001DB70C 38 61 00 3C */ addi r3, r1, 0x3c /* 801DE7B0 001DB710 4B EC 7D 9D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE7B4 001DB714 82 63 00 04 */ lwz r19, 4(r3) /* 801DE7B8 001DB718 7F E5 FB 78 */ mr r5, r31 /* 801DE7BC 001DB71C 38 61 00 0C */ addi r3, r1, 0xc /* 801DE7C0 001DB720 7E 64 9B 78 */ mr r4, r19 /* 801DE7C4 001DB724 4B E9 89 71 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801DE7C8 001DB728 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801DE7CC 001DB72C 7F E3 FB 78 */ mr r3, r31 /* 801DE7D0 001DB730 38 81 00 10 */ addi r4, r1, 0x10 /* 801DE7D4 001DB734 B0 01 00 10 */ sth r0, 0x10(r1) /* 801DE7D8 001DB738 4B E6 DD CD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DE7DC 001DB73C 7C 64 1B 78 */ mr r4, r3 /* 801DE7E0 001DB740 38 61 00 34 */ addi r3, r1, 0x34 /* 801DE7E4 001DB744 4B EC 7D 69 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE7E8 001DB748 C0 53 00 50 */ lfs f2, 0x50(r19) /* 801DE7EC 001DB74C C0 33 00 40 */ lfs f1, 0x40(r19) /* 801DE7F0 001DB750 C0 13 00 60 */ lfs f0, 0x60(r19) /* 801DE7F4 001DB754 82 63 00 04 */ lwz r19, 4(r3) /* 801DE7F8 001DB758 38 61 00 64 */ addi r3, r1, 0x64 /* 801DE7FC 001DB75C D0 21 00 E0 */ stfs f1, 0xe0(r1) /* 801DE800 001DB760 D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 801DE804 001DB764 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 801DE808 001DB768 48 13 59 F9 */ bl __ct__9CVector2fFff /* 801DE80C 001DB76C C0 21 00 64 */ lfs f1, 0x64(r1) /* 801DE810 001DB770 38 61 00 5C */ addi r3, r1, 0x5c /* 801DE814 001DB774 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801DE818 001DB778 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801DE81C 001DB77C D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801DE820 001DB780 C0 53 00 50 */ lfs f2, 0x50(r19) /* 801DE824 001DB784 C0 33 00 40 */ lfs f1, 0x40(r19) /* 801DE828 001DB788 C0 13 00 60 */ lfs f0, 0x60(r19) /* 801DE82C 001DB78C D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801DE830 001DB790 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801DE834 001DB794 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801DE838 001DB798 48 13 59 C9 */ bl __ct__9CVector2fFff /* 801DE83C 001DB79C C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801DE840 001DB7A0 38 61 00 54 */ addi r3, r1, 0x54 /* 801DE844 001DB7A4 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801DE848 001DB7A8 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801DE84C 001DB7AC D0 21 00 AC */ stfs f1, 0xac(r1) /* 801DE850 001DB7B0 38 A1 00 BC */ addi r5, r1, 0xbc /* 801DE854 001DB7B4 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801DE858 001DB7B8 48 13 56 E1 */ bl __mi__FRC9CVector2fRC9CVector2f /* 801DE85C 001DB7BC C0 21 00 54 */ lfs f1, 0x54(r1) /* 801DE860 001DB7C0 38 61 00 4C */ addi r3, r1, 0x4c /* 801DE864 001DB7C4 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801DE868 001DB7C8 38 81 00 AC */ addi r4, r1, 0xac /* 801DE86C 001DB7CC D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801DE870 001DB7D0 38 A1 00 BC */ addi r5, r1, 0xbc /* 801DE874 001DB7D4 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801DE878 001DB7D8 48 13 56 C1 */ bl __mi__FRC9CVector2fRC9CVector2f /* 801DE87C 001DB7DC C0 21 00 4C */ lfs f1, 0x4c(r1) /* 801DE880 001DB7E0 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801DE884 001DB7E4 C0 01 00 50 */ lfs f0, 0x50(r1) /* 801DE888 001DB7E8 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801DE88C 001DB7EC D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801DE890 001DB7F0 48 13 58 65 */ bl Magnitude__9CVector2fCFv /* 801DE894 001DB7F4 FF A0 08 90 */ fmr f29, f1 /* 801DE898 001DB7F8 38 61 00 9C */ addi r3, r1, 0x9c /* 801DE89C 001DB7FC 48 13 58 59 */ bl Magnitude__9CVector2fCFv /* 801DE8A0 001DB800 FC 1D F8 40 */ fcmpo cr0, f29, f31 /* 801DE8A4 001DB804 40 81 00 18 */ ble lbl_801DE8BC /* 801DE8A8 001DB808 FC 01 E8 40 */ fcmpo cr0, f1, f29 /* 801DE8AC 001DB80C 4C 41 13 82 */ cror 2, 1, 2 /* 801DE8B0 001DB810 40 82 00 0C */ bne lbl_801DE8BC /* 801DE8B4 001DB814 7F 7A 07 74 */ extsb r26, r27 /* 801DE8B8 001DB818 FF E0 E8 90 */ fmr f31, f29 lbl_801DE8BC: /* 801DE8BC 001DB81C FC 1D F0 40 */ fcmpo cr0, f29, f30 /* 801DE8C0 001DB820 40 81 00 0C */ ble lbl_801DE8CC /* 801DE8C4 001DB824 7F 78 07 74 */ extsb r24, r27 /* 801DE8C8 001DB828 FF C0 E8 90 */ fmr f30, f29 lbl_801DE8CC: /* 801DE8CC 001DB82C 3B 7B 00 01 */ addi r27, r27, 1 /* 801DE8D0 001DB830 3A F7 00 04 */ addi r23, r23, 4 /* 801DE8D4 001DB834 3A D6 00 24 */ addi r22, r22, 0x24 lbl_801DE8D8: /* 801DE8D8 001DB838 7C 1B C8 40 */ cmplw r27, r25 /* 801DE8DC 001DB83C 41 80 FE A4 */ blt lbl_801DE780 /* 801DE8E0 001DB840 7F 40 07 74 */ extsb r0, r26 /* 801DE8E4 001DB844 2C 00 FF FF */ cmpwi r0, -1 /* 801DE8E8 001DB848 40 82 00 08 */ bne lbl_801DE8F0 /* 801DE8EC 001DB84C 7F 1A C3 78 */ mr r26, r24 lbl_801DE8F0: /* 801DE8F0 001DB850 80 01 01 20 */ lwz r0, 0x120(r1) /* 801DE8F4 001DB854 7F 44 07 74 */ extsb r4, r26 /* 801DE8F8 001DB858 80 61 01 28 */ lwz r3, 0x128(r1) /* 801DE8FC 001DB85C 54 84 10 3A */ slwi r4, r4, 2 /* 801DE900 001DB860 54 00 10 3A */ slwi r0, r0, 2 /* 801DE904 001DB864 7C 03 02 14 */ add r0, r3, r0 /* 801DE908 001DB868 7C 83 20 2E */ lwzx r4, r3, r4 /* 801DE90C 001DB86C 90 01 00 28 */ stw r0, 0x28(r1) /* 801DE910 001DB870 7C 65 1B 78 */ mr r5, r3 /* 801DE914 001DB874 7C 95 07 74 */ extsb r21, r4 /* 801DE918 001DB878 90 01 00 24 */ stw r0, 0x24(r1) /* 801DE91C 001DB87C 90 61 00 20 */ stw r3, 0x20(r1) /* 801DE920 001DB880 90 61 00 1C */ stw r3, 0x1c(r1) /* 801DE924 001DB884 48 00 00 08 */ b lbl_801DE92C lbl_801DE928: /* 801DE928 001DB888 38 A5 00 04 */ addi r5, r5, 4 lbl_801DE92C: /* 801DE92C 001DB88C 7C 05 00 40 */ cmplw r5, r0 /* 801DE930 001DB890 40 82 FF F8 */ bne lbl_801DE928 /* 801DE934 001DB894 28 03 00 00 */ cmplwi r3, 0 /* 801DE938 001DB898 41 82 00 08 */ beq lbl_801DE940 /* 801DE93C 001DB89C 48 13 6F F5 */ bl Free__7CMemoryFPCv lbl_801DE940: /* 801DE940 001DB8A0 7F 43 07 74 */ extsb r3, r26 /* 801DE944 001DB8A4 2C 03 FF FF */ cmpwi r3, -1 /* 801DE948 001DB8A8 41 82 00 68 */ beq lbl_801DE9B0 /* 801DE94C 001DB8AC 7E A0 07 74 */ extsb r0, r21 /* 801DE950 001DB8B0 2C 00 FF FF */ cmpwi r0, -1 /* 801DE954 001DB8B4 41 82 00 5C */ beq lbl_801DE9B0 /* 801DE958 001DB8B8 1C 83 00 24 */ mulli r4, r3, 0x24 /* 801DE95C 001DB8BC 9B 5E 08 F1 */ stb r26, 0x8f1(r30) /* 801DE960 001DB8C0 54 00 08 3C */ slwi r0, r0, 1 /* 801DE964 001DB8C4 9A BE 08 F2 */ stb r21, 0x8f2(r30) /* 801DE968 001DB8C8 7F E3 FB 78 */ mr r3, r31 /* 801DE96C 001DB8CC 7C 9E 22 14 */ add r4, r30, r4 /* 801DE970 001DB8D0 7C A4 02 14 */ add r5, r4, r0 /* 801DE974 001DB8D4 38 81 00 08 */ addi r4, r1, 8 /* 801DE978 001DB8D8 A0 05 05 80 */ lhz r0, 0x580(r5) /* 801DE97C 001DB8DC B0 01 00 08 */ sth r0, 8(r1) /* 801DE980 001DB8E0 4B E6 DC 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801DE984 001DB8E4 7C 64 1B 78 */ mr r4, r3 /* 801DE988 001DB8E8 38 61 00 2C */ addi r3, r1, 0x2c /* 801DE98C 001DB8EC 4B EC 7B C1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801DE990 001DB8F0 80 63 00 04 */ lwz r3, 4(r3) /* 801DE994 001DB8F4 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801DE998 001DB8F8 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801DE99C 001DB8FC C0 03 00 40 */ lfs f0, 0x40(r3) /* 801DE9A0 001DB900 D0 1D 00 00 */ stfs f0, 0(r29) /* 801DE9A4 001DB904 D0 3D 00 04 */ stfs f1, 4(r29) /* 801DE9A8 001DB908 D0 5D 00 08 */ stfs f2, 8(r29) /* 801DE9AC 001DB90C 48 00 00 20 */ b lbl_801DE9CC lbl_801DE9B0: /* 801DE9B0 001DB910 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DE9B4 001DB914 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801DE9B8 001DB918 D0 1D 00 00 */ stfs f0, 0(r29) /* 801DE9BC 001DB91C C0 03 00 04 */ lfs f0, 4(r3) /* 801DE9C0 001DB920 D0 1D 00 04 */ stfs f0, 4(r29) /* 801DE9C4 001DB924 C0 03 00 08 */ lfs f0, 8(r3) /* 801DE9C8 001DB928 D0 1D 00 08 */ stfs f0, 8(r29) lbl_801DE9CC: /* 801DE9CC 001DB92C E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 801DE9D0 001DB930 CB E1 01 90 */ lfd f31, 0x190(r1) /* 801DE9D4 001DB934 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 801DE9D8 001DB938 CB C1 01 80 */ lfd f30, 0x180(r1) /* 801DE9DC 001DB93C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 801DE9E0 001DB940 CB A1 01 70 */ lfd f29, 0x170(r1) /* 801DE9E4 001DB944 BA 61 01 3C */ lmw r19, 0x13c(r1) /* 801DE9E8 001DB948 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 801DE9EC 001DB94C 7C 08 03 A6 */ mtlr r0 /* 801DE9F0 001DB950 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 801DE9F4 001DB954 4E 80 00 20 */ blr .global sub_801de9f8 sub_801de9f8: /* 801DE9F8 001DB958 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DE9FC 001DB95C 7C 08 02 A6 */ mflr r0 /* 801DEA00 001DB960 90 01 00 34 */ stw r0, 0x34(r1) /* 801DEA04 001DB964 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801DEA08 001DB968 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801DEA0C 001DB96C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DEA10 001DB970 7C 7F 1B 78 */ mr r31, r3 /* 801DEA14 001DB974 80 64 09 00 */ lwz r3, 0x900(r4) /* 801DEA18 001DB978 48 13 3A C5 */ bl Float__9CRandom16Fv /* 801DEA1C 001DB97C FF E0 08 90 */ fmr f31, f1 /* 801DEA20 001DB980 7F E3 FB 78 */ mr r3, r31 /* 801DEA24 001DB984 4B FF D8 A5 */ bl sub_801dc2c8 /* 801DEA28 001DB988 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DEA2C 001DB98C 41 82 00 1C */ beq lbl_801DEA48 /* 801DEA30 001DB990 C0 02 AD 34 */ lfs f0, lbl_805ACA54@sda21(r2) /* 801DEA34 001DB994 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801DEA38 001DB998 40 80 00 10 */ bge lbl_801DEA48 /* 801DEA3C 001DB99C 38 00 00 01 */ li r0, 1 /* 801DEA40 001DB9A0 98 1F 09 3B */ stb r0, 0x93b(r31) /* 801DEA44 001DB9A4 48 00 00 7C */ b lbl_801DEAC0 lbl_801DEA48: /* 801DEA48 001DB9A8 C0 22 AD 38 */ lfs f1, lbl_805ACA58@sda21(r2) /* 801DEA4C 001DB9AC C0 0D 92 20 */ lfs f0, lbl_805A7DE0@sda21(r13) /* 801DEA50 001DB9B0 EC 3F 08 28 */ fsubs f1, f31, f1 /* 801DEA54 001DB9B4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801DEA58 001DB9B8 D0 21 00 08 */ stfs f1, 8(r1) /* 801DEA5C 001DB9BC 40 80 00 0C */ bge lbl_801DEA68 /* 801DEA60 001DB9C0 38 61 00 08 */ addi r3, r1, 8 /* 801DEA64 001DB9C4 48 00 00 08 */ b lbl_801DEA6C lbl_801DEA68: /* 801DEA68 001DB9C8 38 6D 92 20 */ addi r3, r13, lbl_805A7DE0@sda21 lbl_801DEA6C: /* 801DEA6C 001DB9CC C0 23 00 00 */ lfs f1, 0(r3) /* 801DEA70 001DB9D0 C0 02 AD 3C */ lfs f0, lbl_805ACA5C@sda21(r2) /* 801DEA74 001DB9D4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DEA78 001DB9D8 40 80 00 10 */ bge lbl_801DEA88 /* 801DEA7C 001DB9DC 38 00 00 00 */ li r0, 0 /* 801DEA80 001DB9E0 90 1F 05 C4 */ stw r0, 0x5c4(r31) /* 801DEA84 001DB9E4 48 00 00 28 */ b lbl_801DEAAC lbl_801DEA88: /* 801DEA88 001DB9E8 C0 02 AD 14 */ lfs f0, lbl_805ACA34@sda21(r2) /* 801DEA8C 001DB9EC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DEA90 001DB9F0 4C 40 13 82 */ cror 2, 0, 2 /* 801DEA94 001DB9F4 40 82 00 10 */ bne lbl_801DEAA4 /* 801DEA98 001DB9F8 38 00 00 01 */ li r0, 1 /* 801DEA9C 001DB9FC 90 1F 05 C4 */ stw r0, 0x5c4(r31) /* 801DEAA0 001DBA00 48 00 00 0C */ b lbl_801DEAAC lbl_801DEAA4: /* 801DEAA4 001DBA04 38 00 00 02 */ li r0, 2 /* 801DEAA8 001DBA08 90 1F 05 C4 */ stw r0, 0x5c4(r31) lbl_801DEAAC: /* 801DEAAC 001DBA0C 80 7F 05 74 */ lwz r3, 0x574(r31) /* 801DEAB0 001DBA10 C0 02 AD 34 */ lfs f0, lbl_805ACA54@sda21(r2) /* 801DEAB4 001DBA14 38 03 00 01 */ addi r0, r3, 1 /* 801DEAB8 001DBA18 90 1F 05 74 */ stw r0, 0x574(r31) /* 801DEABC 001DBA1C D0 1F 09 44 */ stfs f0, 0x944(r31) lbl_801DEAC0: /* 801DEAC0 001DBA20 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801DEAC4 001DBA24 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DEAC8 001DBA28 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801DEACC 001DBA2C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DEAD0 001DBA30 7C 08 03 A6 */ mtlr r0 /* 801DEAD4 001DBA34 38 21 00 30 */ addi r1, r1, 0x30 /* 801DEAD8 001DBA38 4E 80 00 20 */ blr .global sub_801deadc sub_801deadc: /* 801DEADC 001DBA3C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DEAE0 001DBA40 7C 08 02 A6 */ mflr r0 /* 801DEAE4 001DBA44 90 01 00 14 */ stw r0, 0x14(r1) /* 801DEAE8 001DBA48 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DEAEC 001DBA4C 7C 9F 23 78 */ mr r31, r4 /* 801DEAF0 001DBA50 93 C1 00 08 */ stw r30, 8(r1) /* 801DEAF4 001DBA54 7C 7E 1B 78 */ mr r30, r3 /* 801DEAF8 001DBA58 80 03 05 74 */ lwz r0, 0x574(r3) /* 801DEAFC 001DBA5C 28 00 00 00 */ cmplwi r0, 0 /* 801DEB00 001DBA60 41 82 00 44 */ beq lbl_801DEB44 /* 801DEB04 001DBA64 4B FF D7 C5 */ bl sub_801dc2c8 /* 801DEB08 001DBA68 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DEB0C 001DBA6C 41 82 00 28 */ beq lbl_801DEB34 /* 801DEB10 001DBA70 80 1E 05 C4 */ lwz r0, 0x5c4(r30) /* 801DEB14 001DBA74 2C 00 00 00 */ cmpwi r0, 0 /* 801DEB18 001DBA78 40 82 00 1C */ bne lbl_801DEB34 /* 801DEB1C 001DBA7C C0 3E 09 44 */ lfs f1, 0x944(r30) /* 801DEB20 001DBA80 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DEB24 001DBA84 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DEB28 001DBA88 40 81 00 0C */ ble lbl_801DEB34 /* 801DEB2C 001DBA8C D0 1E 09 44 */ stfs f0, 0x944(r30) /* 801DEB30 001DBA90 48 00 00 18 */ b lbl_801DEB48 lbl_801DEB34: /* 801DEB34 001DBA94 7F C3 F3 78 */ mr r3, r30 /* 801DEB38 001DBA98 7F E4 FB 78 */ mr r4, r31 /* 801DEB3C 001DBA9C 4B FF FE BD */ bl sub_801de9f8 /* 801DEB40 001DBAA0 48 00 00 08 */ b lbl_801DEB48 lbl_801DEB44: /* 801DEB44 001DBAA4 4B FF FE B5 */ bl sub_801de9f8 lbl_801DEB48: /* 801DEB48 001DBAA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DEB4C 001DBAAC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DEB50 001DBAB0 83 C1 00 08 */ lwz r30, 8(r1) /* 801DEB54 001DBAB4 7C 08 03 A6 */ mtlr r0 /* 801DEB58 001DBAB8 38 21 00 10 */ addi r1, r1, 0x10 /* 801DEB5C 001DBABC 4E 80 00 20 */ blr .global ShouldTurn__8CThardusFR13CStateManagerf ShouldTurn__8CThardusFR13CStateManagerf: /* 801DEB60 001DBAC0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801DEB64 001DBAC4 7C 08 02 A6 */ mflr r0 /* 801DEB68 001DBAC8 90 01 00 64 */ stw r0, 0x64(r1) /* 801DEB6C 001DBACC 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801DEB70 001DBAD0 7C 7F 1B 78 */ mr r31, r3 /* 801DEB74 001DBAD4 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801DEB78 001DBAD8 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801DEB7C 001DBADC 38 61 00 10 */ addi r3, r1, 0x10 /* 801DEB80 001DBAE0 C0 84 00 50 */ lfs f4, 0x50(r4) /* 801DEB84 001DBAE4 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801DEB88 001DBAE8 EC 44 08 28 */ fsubs f2, f4, f1 /* 801DEB8C 001DBAEC C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801DEB90 001DBAF0 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 801DEB94 001DBAF4 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801DEB98 001DBAF8 EC 20 08 28 */ fsubs f1, f0, f1 /* 801DEB9C 001DBAFC D0 01 00 34 */ stfs f0, 0x34(r1) /* 801DEBA0 001DBB00 EC 65 18 28 */ fsubs f3, f5, f3 /* 801DEBA4 001DBB04 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801DEBA8 001DBB08 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801DEBAC 001DBB0C D0 21 00 40 */ stfs f1, 0x40(r1) /* 801DEBB0 001DBB10 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801DEBB4 001DBB14 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801DEBB8 001DBB18 48 13 56 49 */ bl __ct__9CVector2fFff /* 801DEBBC 001DBB1C C0 21 00 10 */ lfs f1, 0x10(r1) /* 801DEBC0 001DBB20 38 61 00 08 */ addi r3, r1, 8 /* 801DEBC4 001DBB24 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801DEBC8 001DBB28 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801DEBCC 001DBB2C D0 01 00 24 */ stfs f0, 0x24(r1) /* 801DEBD0 001DBB30 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801DEBD4 001DBB34 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 801DEBD8 001DBB38 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801DEBDC 001DBB3C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801DEBE0 001DBB40 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801DEBE4 001DBB44 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801DEBE8 001DBB48 48 13 56 19 */ bl __ct__9CVector2fFff /* 801DEBEC 001DBB4C C0 21 00 08 */ lfs f1, 8(r1) /* 801DEBF0 001DBB50 38 61 00 18 */ addi r3, r1, 0x18 /* 801DEBF4 001DBB54 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801DEBF8 001DBB58 38 81 00 20 */ addi r4, r1, 0x20 /* 801DEBFC 001DBB5C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801DEC00 001DBB60 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801DEC04 001DBB64 48 13 53 C1 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 801DEC08 001DBB68 FC 20 0A 10 */ fabs f1, f1 /* 801DEC0C 001DBB6C C0 02 AD 40 */ lfs f0, lbl_805ACA60@sda21(r2) /* 801DEC10 001DBB70 FC 20 08 18 */ frsp f1, f1 /* 801DEC14 001DBB74 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DEC18 001DBB78 7C 00 00 26 */ mfcr r0 /* 801DEC1C 001DBB7C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801DEC20 001DBB80 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801DEC24 001DBB84 80 01 00 64 */ lwz r0, 0x64(r1) /* 801DEC28 001DBB88 7C 08 03 A6 */ mtlr r0 /* 801DEC2C 001DBB8C 38 21 00 60 */ addi r1, r1, 0x60 /* 801DEC30 001DBB90 4E 80 00 20 */ blr .global HitSomething__8CThardusFR13CStateManagerf HitSomething__8CThardusFR13CStateManagerf: /* 801DEC34 001DBB94 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DEC38 001DBB98 7C 08 02 A6 */ mflr r0 /* 801DEC3C 001DBB9C 90 01 00 14 */ stw r0, 0x14(r1) /* 801DEC40 001DBBA0 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801DEC44 001DBBA4 4B E3 70 B9 */ bl GetFrozenState__7CPlayerCFv /* 801DEC48 001DBBA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DEC4C 001DBBAC 7C 08 03 A6 */ mtlr r0 /* 801DEC50 001DBBB0 38 21 00 10 */ addi r1, r1, 0x10 /* 801DEC54 001DBBB4 4E 80 00 20 */ blr .global sub_801dec58 sub_801dec58: /* 801DEC58 001DBBB8 80 03 05 70 */ lwz r0, 0x570(r3) /* 801DEC5C 001DBBBC 38 80 00 00 */ li r4, 0 /* 801DEC60 001DBBC0 28 00 00 01 */ cmplwi r0, 1 /* 801DEC64 001DBBC4 40 80 00 10 */ bge lbl_801DEC74 /* 801DEC68 001DBBC8 88 03 09 3B */ lbz r0, 0x93b(r3) /* 801DEC6C 001DBBCC 28 00 00 00 */ cmplwi r0, 0 /* 801DEC70 001DBBD0 41 82 00 08 */ beq lbl_801DEC78 lbl_801DEC74: /* 801DEC74 001DBBD4 38 80 00 01 */ li r4, 1 lbl_801DEC78: /* 801DEC78 001DBBD8 7C 83 23 78 */ mr r3, r4 /* 801DEC7C 001DBBDC 4E 80 00 20 */ blr .global sub_801dec80 sub_801dec80: /* 801DEC80 001DBBE0 38 00 4E 20 */ li r0, 0x4e20 /* 801DEC84 001DBBE4 90 03 06 8C */ stw r0, 0x68c(r3) /* 801DEC88 001DBBE8 4E 80 00 20 */ blr .global ShouldMove__8CThardusFR13CStateManagerf ShouldMove__8CThardusFR13CStateManagerf: /* 801DEC8C 001DBBEC 80 83 05 74 */ lwz r4, 0x574(r3) /* 801DEC90 001DBBF0 38 A0 00 00 */ li r5, 0 /* 801DEC94 001DBBF4 80 03 06 8C */ lwz r0, 0x68c(r3) /* 801DEC98 001DBBF8 7C 04 00 40 */ cmplw r4, r0 /* 801DEC9C 001DBBFC 41 81 00 10 */ bgt lbl_801DECAC /* 801DECA0 001DBC00 88 03 09 3B */ lbz r0, 0x93b(r3) /* 801DECA4 001DBC04 28 00 00 00 */ cmplwi r0, 0 /* 801DECA8 001DBC08 41 82 00 08 */ beq lbl_801DECB0 lbl_801DECAC: /* 801DECAC 001DBC0C 38 A0 00 01 */ li r5, 1 lbl_801DECB0: /* 801DECB0 001DBC10 7C A3 2B 78 */ mr r3, r5 /* 801DECB4 001DBC14 4E 80 00 20 */ blr .global CoveringFire__8CThardusFR13CStateManagerf CoveringFire__8CThardusFR13CStateManagerf: /* 801DECB8 001DBC18 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DECBC 001DBC1C 7C 08 02 A6 */ mflr r0 /* 801DECC0 001DBC20 90 01 00 14 */ stw r0, 0x14(r1) /* 801DECC4 001DBC24 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DECC8 001DBC28 3B E0 00 00 */ li r31, 0 /* 801DECCC 001DBC2C 80 03 05 C4 */ lwz r0, 0x5c4(r3) /* 801DECD0 001DBC30 2C 00 00 00 */ cmpwi r0, 0 /* 801DECD4 001DBC34 40 82 00 24 */ bne lbl_801DECF8 /* 801DECD8 001DBC38 81 83 00 00 */ lwz r12, 0(r3) /* 801DECDC 001DBC3C C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DECE0 001DBC40 81 8C 02 4C */ lwz r12, 0x24c(r12) /* 801DECE4 001DBC44 7D 89 03 A6 */ mtctr r12 /* 801DECE8 001DBC48 4E 80 04 21 */ bctrl /* 801DECEC 001DBC4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DECF0 001DBC50 40 82 00 08 */ bne lbl_801DECF8 /* 801DECF4 001DBC54 3B E0 00 01 */ li r31, 1 lbl_801DECF8: /* 801DECF8 001DBC58 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DECFC 001DBC5C 7F E3 FB 78 */ mr r3, r31 /* 801DED00 001DBC60 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DED04 001DBC64 7C 08 03 A6 */ mtlr r0 /* 801DED08 001DBC68 38 21 00 10 */ addi r1, r1, 0x10 /* 801DED0C 001DBC6C 4E 80 00 20 */ blr .global HasAttackPattern__8CThardusFR13CStateManagerf HasAttackPattern__8CThardusFR13CStateManagerf: /* 801DED10 001DBC70 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801DED14 001DBC74 7C 08 02 A6 */ mflr r0 /* 801DED18 001DBC78 90 01 00 14 */ stw r0, 0x14(r1) /* 801DED1C 001DBC7C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801DED20 001DBC80 3B E0 00 00 */ li r31, 0 /* 801DED24 001DBC84 80 03 05 C4 */ lwz r0, 0x5c4(r3) /* 801DED28 001DBC88 2C 00 00 01 */ cmpwi r0, 1 /* 801DED2C 001DBC8C 40 82 00 24 */ bne lbl_801DED50 /* 801DED30 001DBC90 81 83 00 00 */ lwz r12, 0(r3) /* 801DED34 001DBC94 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DED38 001DBC98 81 8C 02 4C */ lwz r12, 0x24c(r12) /* 801DED3C 001DBC9C 7D 89 03 A6 */ mtctr r12 /* 801DED40 001DBCA0 4E 80 04 21 */ bctrl /* 801DED44 001DBCA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DED48 001DBCA8 40 82 00 08 */ bne lbl_801DED50 /* 801DED4C 001DBCAC 3B E0 00 01 */ li r31, 1 lbl_801DED50: /* 801DED50 001DBCB0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DED54 001DBCB4 7F E3 FB 78 */ mr r3, r31 /* 801DED58 001DBCB8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801DED5C 001DBCBC 7C 08 03 A6 */ mtlr r0 /* 801DED60 001DBCC0 38 21 00 10 */ addi r1, r1, 0x10 /* 801DED64 001DBCC4 4E 80 00 20 */ blr .global InRange__8CThardusFR13CStateManagerf InRange__8CThardusFR13CStateManagerf: /* 801DED68 001DBCC8 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801DED6C 001DBCCC 7C 08 02 A6 */ mflr r0 /* 801DED70 001DBCD0 90 01 00 64 */ stw r0, 0x64(r1) /* 801DED74 001DBCD4 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801DED78 001DBCD8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801DED7C 001DBCDC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801DED80 001DBCE0 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801DED84 001DBCE4 7C 9F 23 78 */ mr r31, r4 /* 801DED88 001DBCE8 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801DED8C 001DBCEC 80 83 00 64 */ lwz r4, 0x64(r3) /* 801DED90 001DBCF0 C0 03 00 60 */ lfs f0, 0x60(r3) /* 801DED94 001DBCF4 38 61 00 08 */ addi r3, r1, 8 /* 801DED98 001DBCF8 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801DED9C 001DBCFC C3 E4 00 00 */ lfs f31, 0(r4) /* 801DEDA0 001DBD00 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801DEDA4 001DBD04 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801DEDA8 001DBD08 48 13 54 59 */ bl __ct__9CVector2fFff /* 801DEDAC 001DBD0C 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801DEDB0 001DBD10 38 61 00 10 */ addi r3, r1, 0x10 /* 801DEDB4 001DBD14 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801DEDB8 001DBD18 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801DEDBC 001DBD1C C0 04 00 60 */ lfs f0, 0x60(r4) /* 801DEDC0 001DBD20 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801DEDC4 001DBD24 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801DEDC8 001DBD28 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801DEDCC 001DBD2C 48 13 54 35 */ bl __ct__9CVector2fFff /* 801DEDD0 001DBD30 38 61 00 18 */ addi r3, r1, 0x18 /* 801DEDD4 001DBD34 38 81 00 10 */ addi r4, r1, 0x10 /* 801DEDD8 001DBD38 38 A1 00 08 */ addi r5, r1, 8 /* 801DEDDC 001DBD3C 48 13 51 5D */ bl __mi__FRC9CVector2fRC9CVector2f /* 801DEDE0 001DBD40 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801DEDE4 001DBD44 38 61 00 20 */ addi r3, r1, 0x20 /* 801DEDE8 001DBD48 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801DEDEC 001DBD4C D0 21 00 20 */ stfs f1, 0x20(r1) /* 801DEDF0 001DBD50 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801DEDF4 001DBD54 48 13 53 01 */ bl Magnitude__9CVector2fCFv /* 801DEDF8 001DBD58 C0 02 AD 00 */ lfs f0, lbl_805ACA20@sda21(r2) /* 801DEDFC 001DBD5C EC 00 07 F2 */ fmuls f0, f0, f31 /* 801DEE00 001DBD60 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DEE04 001DBD64 7C 00 00 26 */ mfcr r0 /* 801DEE08 001DBD68 54 03 0F FE */ srwi r3, r0, 0x1f /* 801DEE0C 001DBD6C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801DEE10 001DBD70 80 01 00 64 */ lwz r0, 0x64(r1) /* 801DEE14 001DBD74 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801DEE18 001DBD78 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801DEE1C 001DBD7C 7C 08 03 A6 */ mtlr r0 /* 801DEE20 001DBD80 38 21 00 60 */ addi r1, r1, 0x60 /* 801DEE24 001DBD84 4E 80 00 20 */ blr .global ShouldTaunt__8CThardusFR13CStateManagerf ShouldTaunt__8CThardusFR13CStateManagerf: /* 801DEE28 001DBD88 38 60 00 00 */ li r3, 0 /* 801DEE2C 001DBD8C 4E 80 00 20 */ blr .global InPosition__8CThardusFR13CStateManagerf InPosition__8CThardusFR13CStateManagerf: /* 801DEE30 001DBD90 80 63 06 60 */ lwz r3, 0x660(r3) /* 801DEE34 001DBD94 38 00 00 03 */ li r0, 3 /* 801DEE38 001DBD98 7C 60 02 78 */ xor r0, r3, r0 /* 801DEE3C 001DBD9C 7C 00 00 34 */ cntlzw r0, r0 /* 801DEE40 001DBDA0 7C 60 00 30 */ slw r0, r3, r0 /* 801DEE44 001DBDA4 54 03 0F FE */ srwi r3, r0, 0x1f /* 801DEE48 001DBDA8 4E 80 00 20 */ blr .global Dead__8CThardusFR13CStateManager9EStateMsgf Dead__8CThardusFR13CStateManager9EStateMsgf: /* 801DEE4C 001DBDAC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DEE50 001DBDB0 7C 08 02 A6 */ mflr r0 /* 801DEE54 001DBDB4 90 01 00 24 */ stw r0, 0x24(r1) /* 801DEE58 001DBDB8 DB E1 00 18 */ stfd f31, 0x18(r1) /* 801DEE5C 001DBDBC FF E0 08 90 */ fmr f31, f1 /* 801DEE60 001DBDC0 93 E1 00 14 */ stw r31, 0x14(r1) /* 801DEE64 001DBDC4 7C BF 2B 79 */ or. r31, r5, r5 /* 801DEE68 001DBDC8 93 C1 00 10 */ stw r30, 0x10(r1) /* 801DEE6C 001DBDCC 7C 9E 23 78 */ mr r30, r4 /* 801DEE70 001DBDD0 93 A1 00 0C */ stw r29, 0xc(r1) /* 801DEE74 001DBDD4 7C 7D 1B 78 */ mr r29, r3 /* 801DEE78 001DBDD8 41 82 00 0C */ beq lbl_801DEE84 /* 801DEE7C 001DBDDC 41 80 00 48 */ blt lbl_801DEEC4 /* 801DEE80 001DBDE0 48 00 00 44 */ b lbl_801DEEC4 lbl_801DEE84: /* 801DEE84 001DBDE4 38 7D 00 34 */ addi r3, r29, 0x34 /* 801DEE88 001DBDE8 38 9D 07 64 */ addi r4, r29, 0x764 /* 801DEE8C 001DBDEC 48 13 3C B5 */ bl __as__12CTransform4fFRC12CTransform4f /* 801DEE90 001DBDF0 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801DEE94 001DBDF4 38 A0 00 01 */ li r5, 1 /* 801DEE98 001DBDF8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801DEE9C 001DBDFC 7F A3 EB 78 */ mr r3, r29 /* 801DEEA0 001DBE00 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801DEEA4 001DBE04 7F C4 F3 78 */ mr r4, r30 /* 801DEEA8 001DBE08 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801DEEAC 001DBE0C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801DEEB0 001DBE10 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801DEEB4 001DBE14 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801DEEB8 001DBE18 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801DEEBC 001DBE1C 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801DEEC0 001DBE20 4B FF CD 81 */ bl sub_801dbc40 lbl_801DEEC4: /* 801DEEC4 001DBE24 FC 20 F8 90 */ fmr f1, f31 /* 801DEEC8 001DBE28 7F A3 EB 78 */ mr r3, r29 /* 801DEECC 001DBE2C 7F C4 F3 78 */ mr r4, r30 /* 801DEED0 001DBE30 7F E5 FB 78 */ mr r5, r31 /* 801DEED4 001DBE34 48 01 7A F1 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf /* 801DEED8 001DBE38 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DEEDC 001DBE3C CB E1 00 18 */ lfd f31, 0x18(r1) /* 801DEEE0 001DBE40 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801DEEE4 001DBE44 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801DEEE8 001DBE48 83 A1 00 0C */ lwz r29, 0xc(r1) /* 801DEEEC 001DBE4C 7C 08 03 A6 */ mtlr r0 /* 801DEEF0 001DBE50 38 21 00 20 */ addi r1, r1, 0x20 /* 801DEEF4 001DBE54 4E 80 00 20 */ blr .global Attack__8CThardusFR13CStateManager9EStateMsgf Attack__8CThardusFR13CStateManager9EStateMsgf: /* 801DEEF8 001DBE58 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801DEEFC 001DBE5C 7C 08 02 A6 */ mflr r0 /* 801DEF00 001DBE60 2C 05 00 01 */ cmpwi r5, 1 /* 801DEF04 001DBE64 90 01 00 54 */ stw r0, 0x54(r1) /* 801DEF08 001DBE68 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801DEF0C 001DBE6C 93 C1 00 48 */ stw r30, 0x48(r1) /* 801DEF10 001DBE70 7C 7E 1B 78 */ mr r30, r3 /* 801DEF14 001DBE74 41 82 00 34 */ beq lbl_801DEF48 /* 801DEF18 001DBE78 40 80 02 04 */ bge lbl_801DF11C /* 801DEF1C 001DBE7C 2C 05 00 00 */ cmpwi r5, 0 /* 801DEF20 001DBE80 40 80 00 0C */ bge lbl_801DEF2C /* 801DEF24 001DBE84 48 00 01 F8 */ b lbl_801DF11C /* 801DEF28 001DBE88 48 00 01 F4 */ b lbl_801DF11C lbl_801DEF2C: /* 801DEF2C 001DBE8C 38 80 00 00 */ li r4, 0 /* 801DEF30 001DBE90 90 9E 05 EC */ stw r4, 0x5ec(r30) /* 801DEF34 001DBE94 80 7E 05 70 */ lwz r3, 0x570(r30) /* 801DEF38 001DBE98 38 03 00 01 */ addi r0, r3, 1 /* 801DEF3C 001DBE9C 90 1E 05 70 */ stw r0, 0x570(r30) /* 801DEF40 001DBEA0 90 9E 05 EC */ stw r4, 0x5ec(r30) /* 801DEF44 001DBEA4 48 00 01 D8 */ b lbl_801DF11C lbl_801DEF48: /* 801DEF48 001DBEA8 80 1E 05 EC */ lwz r0, 0x5ec(r30) /* 801DEF4C 001DBEAC 2C 00 00 01 */ cmpwi r0, 1 /* 801DEF50 001DBEB0 41 82 01 CC */ beq lbl_801DF11C /* 801DEF54 001DBEB4 40 80 00 10 */ bge lbl_801DEF64 /* 801DEF58 001DBEB8 2C 00 00 00 */ cmpwi r0, 0 /* 801DEF5C 001DBEBC 40 80 00 14 */ bge lbl_801DEF70 /* 801DEF60 001DBEC0 48 00 01 BC */ b lbl_801DF11C lbl_801DEF64: /* 801DEF64 001DBEC4 2C 00 00 03 */ cmpwi r0, 3 /* 801DEF68 001DBEC8 40 80 01 B4 */ bge lbl_801DF11C /* 801DEF6C 001DBECC 48 00 01 98 */ b lbl_801DF104 lbl_801DEF70: /* 801DEF70 001DBED0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DEF74 001DBED4 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DEF78 001DBED8 2C 00 00 07 */ cmpwi r0, 7 /* 801DEF7C 001DBEDC 40 82 00 10 */ bne lbl_801DEF8C /* 801DEF80 001DBEE0 38 00 00 02 */ li r0, 2 /* 801DEF84 001DBEE4 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DEF88 001DBEE8 48 00 01 94 */ b lbl_801DF11C lbl_801DEF8C: /* 801DEF8C 001DBEEC 80 64 09 00 */ lwz r3, 0x900(r4) /* 801DEF90 001DBEF0 48 13 35 4D */ bl Float__9CRandom16Fv /* 801DEF94 001DBEF4 C0 02 AC F8 */ lfs f0, lbl_805ACA18@sda21(r2) /* 801DEF98 001DBEF8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DEF9C 001DBEFC 40 81 00 AC */ ble lbl_801DF048 /* 801DEFA0 001DBF00 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801DEFA4 001DBF04 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DEFA8 001DBF08 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801DEFAC 001DBF0C 38 E4 AA 68 */ addi r7, r4, lbl_803DAA68@l /* 801DEFB0 001DBF10 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 801DEFB4 001DBF14 90 E1 00 24 */ stw r7, 0x24(r1) /* 801DEFB8 001DBF18 38 00 00 00 */ li r0, 0 /* 801DEFBC 001DBF1C C0 23 00 04 */ lfs f1, 4(r3) /* 801DEFC0 001DBF20 C0 03 00 08 */ lfs f0, 8(r3) /* 801DEFC4 001DBF24 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l /* 801DEFC8 001DBF28 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DEFCC 001DBF2C 38 C0 00 05 */ li r6, 5 /* 801DEFD0 001DBF30 90 C1 00 28 */ stw r6, 0x28(r1) /* 801DEFD4 001DBF34 38 80 00 05 */ li r4, 5 /* 801DEFD8 001DBF38 3B E3 00 04 */ addi r31, r3, 4 /* 801DEFDC 001DBF3C 90 A1 00 24 */ stw r5, 0x24(r1) /* 801DEFE0 001DBF40 7F E3 FB 78 */ mr r3, r31 /* 801DEFE4 001DBF44 90 01 00 2C */ stw r0, 0x2c(r1) /* 801DEFE8 001DBF48 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801DEFEC 001DBF4C D0 21 00 34 */ stfs f1, 0x34(r1) /* 801DEFF0 001DBF50 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801DEFF4 001DBF54 98 01 00 3C */ stb r0, 0x3c(r1) /* 801DEFF8 001DBF58 4B F5 24 41 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DEFFC 001DBF5C 80 01 00 28 */ lwz r0, 0x28(r1) /* 801DF000 001DBF60 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801DF004 001DBF64 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801DF008 001DBF68 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF00C 001DBF6C 90 1F 01 10 */ stw r0, 0x110(r31) /* 801DF010 001DBF70 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DF014 001DBF74 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801DF018 001DBF78 80 A1 00 30 */ lwz r5, 0x30(r1) /* 801DF01C 001DBF7C 90 7F 01 14 */ stw r3, 0x114(r31) /* 801DF020 001DBF80 80 61 00 34 */ lwz r3, 0x34(r1) /* 801DF024 001DBF84 90 BF 01 18 */ stw r5, 0x118(r31) /* 801DF028 001DBF88 80 A1 00 38 */ lwz r5, 0x38(r1) /* 801DF02C 001DBF8C 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801DF030 001DBF90 88 61 00 3C */ lbz r3, 0x3c(r1) /* 801DF034 001DBF94 90 BF 01 20 */ stw r5, 0x120(r31) /* 801DF038 001DBF98 90 81 00 24 */ stw r4, 0x24(r1) /* 801DF03C 001DBF9C 98 7F 01 24 */ stb r3, 0x124(r31) /* 801DF040 001DBFA0 90 01 00 24 */ stw r0, 0x24(r1) /* 801DF044 001DBFA4 48 00 00 B0 */ b lbl_801DF0F4 lbl_801DF048: /* 801DF048 001DBFA8 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801DF04C 001DBFAC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DF050 001DBFB0 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801DF054 001DBFB4 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DF058 001DBFB8 39 05 AA 68 */ addi r8, r5, lbl_803DAA68@l /* 801DF05C 001DBFBC C0 44 00 00 */ lfs f2, 0(r4) /* 801DF060 001DBFC0 C0 24 00 04 */ lfs f1, 4(r4) /* 801DF064 001DBFC4 3C C0 80 3E */ lis r6, lbl_803DA9D8@ha /* 801DF068 001DBFC8 C0 04 00 08 */ lfs f0, 8(r4) /* 801DF06C 001DBFCC 38 E0 00 05 */ li r7, 5 /* 801DF070 001DBFD0 38 A0 00 01 */ li r5, 1 /* 801DF074 001DBFD4 38 00 00 00 */ li r0, 0 /* 801DF078 001DBFD8 3B E3 00 04 */ addi r31, r3, 4 /* 801DF07C 001DBFDC 91 01 00 08 */ stw r8, 8(r1) /* 801DF080 001DBFE0 38 C6 A9 D8 */ addi r6, r6, lbl_803DA9D8@l /* 801DF084 001DBFE4 38 80 00 05 */ li r4, 5 /* 801DF088 001DBFE8 90 E1 00 0C */ stw r7, 0xc(r1) /* 801DF08C 001DBFEC 7F E3 FB 78 */ mr r3, r31 /* 801DF090 001DBFF0 90 C1 00 08 */ stw r6, 8(r1) /* 801DF094 001DBFF4 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DF098 001DBFF8 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801DF09C 001DBFFC D0 21 00 18 */ stfs f1, 0x18(r1) /* 801DF0A0 001DC000 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801DF0A4 001DC004 98 01 00 20 */ stb r0, 0x20(r1) /* 801DF0A8 001DC008 4B F5 23 91 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DF0AC 001DC00C 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DF0B0 001DC010 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801DF0B4 001DC014 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801DF0B8 001DC018 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF0BC 001DC01C 90 1F 01 10 */ stw r0, 0x110(r31) /* 801DF0C0 001DC020 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DF0C4 001DC024 80 61 00 10 */ lwz r3, 0x10(r1) /* 801DF0C8 001DC028 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801DF0CC 001DC02C 90 7F 01 14 */ stw r3, 0x114(r31) /* 801DF0D0 001DC030 80 61 00 18 */ lwz r3, 0x18(r1) /* 801DF0D4 001DC034 90 BF 01 18 */ stw r5, 0x118(r31) /* 801DF0D8 001DC038 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801DF0DC 001DC03C 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801DF0E0 001DC040 88 61 00 20 */ lbz r3, 0x20(r1) /* 801DF0E4 001DC044 90 BF 01 20 */ stw r5, 0x120(r31) /* 801DF0E8 001DC048 90 81 00 08 */ stw r4, 8(r1) /* 801DF0EC 001DC04C 98 7F 01 24 */ stb r3, 0x124(r31) /* 801DF0F0 001DC050 90 01 00 08 */ stw r0, 8(r1) lbl_801DF0F4: /* 801DF0F4 001DC054 80 7E 05 70 */ lwz r3, 0x570(r30) /* 801DF0F8 001DC058 38 03 00 01 */ addi r0, r3, 1 /* 801DF0FC 001DC05C 90 1E 05 70 */ stw r0, 0x570(r30) /* 801DF100 001DC060 48 00 00 1C */ b lbl_801DF11C lbl_801DF104: /* 801DF104 001DC064 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DF108 001DC068 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DF10C 001DC06C 2C 00 00 07 */ cmpwi r0, 7 /* 801DF110 001DC070 41 82 00 0C */ beq lbl_801DF11C /* 801DF114 001DC074 38 00 00 03 */ li r0, 3 /* 801DF118 001DC078 90 1E 05 EC */ stw r0, 0x5ec(r30) lbl_801DF11C: /* 801DF11C 001DC07C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801DF120 001DC080 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801DF124 001DC084 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801DF128 001DC088 7C 08 03 A6 */ mtlr r0 /* 801DF12C 001DC08C 38 21 00 50 */ addi r1, r1, 0x50 /* 801DF130 001DC090 4E 80 00 20 */ blr .global LoopedAttack__8CThardusFR13CStateManager9EStateMsgf LoopedAttack__8CThardusFR13CStateManager9EStateMsgf: /* 801DF134 001DC094 94 21 FE 20 */ stwu r1, -0x1e0(r1) /* 801DF138 001DC098 7C 08 02 A6 */ mflr r0 /* 801DF13C 001DC09C 90 01 01 E4 */ stw r0, 0x1e4(r1) /* 801DF140 001DC0A0 DB E1 01 D0 */ stfd f31, 0x1d0(r1) /* 801DF144 001DC0A4 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 /* 801DF148 001DC0A8 DB C1 01 C0 */ stfd f30, 0x1c0(r1) /* 801DF14C 001DC0AC F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 /* 801DF150 001DC0B0 93 E1 01 BC */ stw r31, 0x1bc(r1) /* 801DF154 001DC0B4 93 C1 01 B8 */ stw r30, 0x1b8(r1) /* 801DF158 001DC0B8 93 A1 01 B4 */ stw r29, 0x1b4(r1) /* 801DF15C 001DC0BC 93 81 01 B0 */ stw r28, 0x1b0(r1) /* 801DF160 001DC0C0 2C 05 00 01 */ cmpwi r5, 1 /* 801DF164 001DC0C4 7C 7F 1B 78 */ mr r31, r3 /* 801DF168 001DC0C8 7C 9C 23 78 */ mr r28, r4 /* 801DF16C 001DC0CC 41 82 00 44 */ beq lbl_801DF1B0 /* 801DF170 001DC0D0 40 80 04 40 */ bge lbl_801DF5B0 /* 801DF174 001DC0D4 2C 05 00 00 */ cmpwi r5, 0 /* 801DF178 001DC0D8 40 80 00 0C */ bge lbl_801DF184 /* 801DF17C 001DC0DC 48 00 04 34 */ b lbl_801DF5B0 /* 801DF180 001DC0E0 48 00 04 30 */ b lbl_801DF5B0 lbl_801DF184: /* 801DF184 001DC0E4 38 00 00 00 */ li r0, 0 /* 801DF188 001DC0E8 90 1F 06 58 */ stw r0, 0x658(r31) /* 801DF18C 001DC0EC 90 1F 06 60 */ stw r0, 0x660(r31) /* 801DF190 001DC0F0 90 1F 05 70 */ stw r0, 0x570(r31) /* 801DF194 001DC0F4 90 1F 05 74 */ stw r0, 0x574(r31) /* 801DF198 001DC0F8 4B FF FA E9 */ bl sub_801dec80 /* 801DF19C 001DC0FC 38 60 00 00 */ li r3, 0 /* 801DF1A0 001DC100 38 00 FF FF */ li r0, -1 /* 801DF1A4 001DC104 98 7F 09 3B */ stb r3, 0x93b(r31) /* 801DF1A8 001DC108 90 1F 05 C4 */ stw r0, 0x5c4(r31) /* 801DF1AC 001DC10C 48 00 04 04 */ b lbl_801DF5B0 lbl_801DF1B0: /* 801DF1B0 001DC110 80 1F 06 58 */ lwz r0, 0x658(r31) /* 801DF1B4 001DC114 C0 FF 00 60 */ lfs f7, 0x60(r31) /* 801DF1B8 001DC118 C0 DF 00 50 */ lfs f6, 0x50(r31) /* 801DF1BC 001DC11C 2C 00 00 01 */ cmpwi r0, 1 /* 801DF1C0 001DC120 C0 BF 00 40 */ lfs f5, 0x40(r31) /* 801DF1C4 001DC124 D0 C1 00 CC */ stfs f6, 0xcc(r1) /* 801DF1C8 001DC128 D0 A1 00 C8 */ stfs f5, 0xc8(r1) /* 801DF1CC 001DC12C D0 E1 00 D0 */ stfs f7, 0xd0(r1) /* 801DF1D0 001DC130 41 82 01 3C */ beq lbl_801DF30C /* 801DF1D4 001DC134 40 80 03 58 */ bge lbl_801DF52C /* 801DF1D8 001DC138 2C 00 00 00 */ cmpwi r0, 0 /* 801DF1DC 001DC13C 40 80 00 0C */ bge lbl_801DF1E8 /* 801DF1E0 001DC140 48 00 03 4C */ b lbl_801DF52C /* 801DF1E4 001DC144 48 00 03 48 */ b lbl_801DF52C lbl_801DF1E8: /* 801DF1E8 001DC148 80 BC 08 4C */ lwz r5, 0x84c(r28) /* 801DF1EC 001DC14C 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801DF1F0 001DC150 38 81 00 A4 */ addi r4, r1, 0xa4 /* 801DF1F4 001DC154 C0 85 00 60 */ lfs f4, 0x60(r5) /* 801DF1F8 001DC158 C0 05 00 50 */ lfs f0, 0x50(r5) /* 801DF1FC 001DC15C C0 25 00 40 */ lfs f1, 0x40(r5) /* 801DF200 001DC160 EC 44 38 28 */ fsubs f2, f4, f7 /* 801DF204 001DC164 EC 60 30 28 */ fsubs f3, f0, f6 /* 801DF208 001DC168 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801DF20C 001DC16C EC 01 28 28 */ fsubs f0, f1, f5 /* 801DF210 001DC170 D0 21 00 BC */ stfs f1, 0xbc(r1) /* 801DF214 001DC174 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 801DF218 001DC178 D0 01 00 98 */ stfs f0, 0x98(r1) /* 801DF21C 001DC17C D0 61 00 9C */ stfs f3, 0x9c(r1) /* 801DF220 001DC180 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 801DF224 001DC184 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801DF228 001DC188 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 801DF22C 001DC18C D0 41 00 AC */ stfs f2, 0xac(r1) /* 801DF230 001DC190 48 13 56 21 */ bl AsNormalized__9CVector3fCFv /* 801DF234 001DC194 C3 E1 00 B0 */ lfs f31, 0xb0(r1) /* 801DF238 001DC198 7F E4 FB 78 */ mr r4, r31 /* 801DF23C 001DC19C C3 C1 00 B4 */ lfs f30, 0xb4(r1) /* 801DF240 001DC1A0 7F 85 E3 78 */ mr r5, r28 /* 801DF244 001DC1A4 38 61 00 28 */ addi r3, r1, 0x28 /* 801DF248 001DC1A8 4B FF B9 E9 */ bl sub_801dac30 /* 801DF24C 001DC1AC C0 21 00 28 */ lfs f1, 0x28(r1) /* 801DF250 001DC1B0 38 61 00 38 */ addi r3, r1, 0x38 /* 801DF254 001DC1B4 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801DF258 001DC1B8 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 801DF25C 001DC1BC D0 21 00 38 */ stfs f1, 0x38(r1) /* 801DF260 001DC1C0 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801DF264 001DC1C4 48 13 4C A5 */ bl __eq__FRC9CVector2fRC9CVector2f /* 801DF268 001DC1C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DF26C 001DC1CC 40 82 00 18 */ bne lbl_801DF284 /* 801DF270 001DC1D0 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801DF274 001DC1D4 D0 1F 06 50 */ stfs f0, 0x650(r31) /* 801DF278 001DC1D8 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801DF27C 001DC1DC D0 1F 06 54 */ stfs f0, 0x654(r31) /* 801DF280 001DC1E0 48 00 00 30 */ b lbl_801DF2B0 lbl_801DF284: /* 801DF284 001DC1E4 FC 20 F8 90 */ fmr f1, f31 /* 801DF288 001DC1E8 38 61 00 18 */ addi r3, r1, 0x18 /* 801DF28C 001DC1EC FC 40 F0 90 */ fmr f2, f30 /* 801DF290 001DC1F0 48 13 4F 71 */ bl __ct__9CVector2fFff /* 801DF294 001DC1F4 38 61 00 20 */ addi r3, r1, 0x20 /* 801DF298 001DC1F8 38 81 00 18 */ addi r4, r1, 0x18 /* 801DF29C 001DC1FC 48 13 4D E5 */ bl AsNormalized__9CVector2fCFv /* 801DF2A0 001DC200 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801DF2A4 001DC204 D0 1F 06 50 */ stfs f0, 0x650(r31) /* 801DF2A8 001DC208 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801DF2AC 001DC20C D0 1F 06 54 */ stfs f0, 0x654(r31) lbl_801DF2B0: /* 801DF2B0 001DC210 C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 801DF2B4 001DC214 38 61 00 8C */ addi r3, r1, 0x8c /* 801DF2B8 001DC218 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 801DF2BC 001DC21C C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 801DF2C0 001DC220 EC 61 00 28 */ fsubs f3, f1, f0 /* 801DF2C4 001DC224 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 801DF2C8 001DC228 C0 21 00 BC */ lfs f1, 0xbc(r1) /* 801DF2CC 001DC22C EC 42 00 28 */ fsubs f2, f2, f0 /* 801DF2D0 001DC230 C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 801DF2D4 001DC234 D0 61 00 84 */ stfs f3, 0x84(r1) /* 801DF2D8 001DC238 EC 01 00 28 */ fsubs f0, f1, f0 /* 801DF2DC 001DC23C D0 41 00 88 */ stfs f2, 0x88(r1) /* 801DF2E0 001DC240 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801DF2E4 001DC244 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801DF2E8 001DC248 D0 61 00 90 */ stfs f3, 0x90(r1) /* 801DF2EC 001DC24C D0 41 00 94 */ stfs f2, 0x94(r1) /* 801DF2F0 001DC250 48 13 55 C9 */ bl Magnitude__9CVector3fCFv /* 801DF2F4 001DC254 C0 1F 06 98 */ lfs f0, 0x698(r31) /* 801DF2F8 001DC258 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DF2FC 001DC25C 40 80 02 30 */ bge lbl_801DF52C /* 801DF300 001DC260 38 00 00 01 */ li r0, 1 /* 801DF304 001DC264 90 1F 06 58 */ stw r0, 0x658(r31) /* 801DF308 001DC268 48 00 02 24 */ b lbl_801DF52C lbl_801DF30C: /* 801DF30C 001DC26C 3C 60 80 57 */ lis r3, lbl_8057206C@ha /* 801DF310 001DC270 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DF314 001DC274 38 A3 20 6C */ addi r5, r3, lbl_8057206C@l /* 801DF318 001DC278 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DF31C 001DC27C C0 85 00 04 */ lfs f4, 4(r5) /* 801DF320 001DC280 38 61 00 64 */ addi r3, r1, 0x64 /* 801DF324 001DC284 C0 65 00 08 */ lfs f3, 8(r5) /* 801DF328 001DC288 38 9F 00 34 */ addi r4, r31, 0x34 /* 801DF32C 001DC28C C0 45 00 00 */ lfs f2, 0(r5) /* 801DF330 001DC290 EC 86 20 2A */ fadds f4, f6, f4 /* 801DF334 001DC294 EC 67 18 2A */ fadds f3, f7, f3 /* 801DF338 001DC298 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801DF33C 001DC29C EC 45 10 2A */ fadds f2, f5, f2 /* 801DF340 001DC2A0 D0 81 00 E4 */ stfs f4, 0xe4(r1) /* 801DF344 001DC2A4 D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 801DF348 001DC2A8 D0 61 00 E8 */ stfs f3, 0xe8(r1) /* 801DF34C 001DC2AC D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801DF350 001DC2B0 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801DF354 001DC2B4 48 13 2D D5 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 801DF358 001DC2B8 38 61 01 50 */ addi r3, r1, 0x150 /* 801DF35C 001DC2BC 38 81 00 64 */ addi r4, r1, 0x64 /* 801DF360 001DC2C0 48 13 2D 2D */ bl BuildTransform__11CQuaternionCFv /* 801DF364 001DC2C4 38 61 00 74 */ addi r3, r1, 0x74 /* 801DF368 001DC2C8 38 81 01 50 */ addi r4, r1, 0x150 /* 801DF36C 001DC2CC 38 A1 00 58 */ addi r5, r1, 0x58 /* 801DF370 001DC2D0 48 13 0F 25 */ bl __ml__9CMatrix3fCFRC9CVector3f /* 801DF374 001DC2D4 C0 41 00 74 */ lfs f2, 0x74(r1) /* 801DF378 001DC2D8 38 60 00 00 */ li r3, 0 /* 801DF37C 001DC2DC C0 21 00 78 */ lfs f1, 0x78(r1) /* 801DF380 001DC2E0 38 80 00 01 */ li r4, 1 /* 801DF384 001DC2E4 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801DF388 001DC2E8 80 AD 92 14 */ lwz r5, lbl_805A7DD4@sda21(r13) /* 801DF38C 001DC2EC D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 801DF390 001DC2F0 D0 21 00 D8 */ stfs f1, 0xd8(r1) /* 801DF394 001DC2F4 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801DF398 001DC2F8 48 1A AB 5D */ bl __shl2i /* 801DF39C 001DC2FC 80 AD 92 18 */ lwz r5, lbl_805A7DD8@sda21(r13) /* 801DF3A0 001DC300 7C 9D 23 78 */ mr r29, r4 /* 801DF3A4 001DC304 7C 7E 1B 78 */ mr r30, r3 /* 801DF3A8 001DC308 38 60 00 00 */ li r3, 0 /* 801DF3AC 001DC30C 38 80 00 01 */ li r4, 1 /* 801DF3B0 001DC310 48 1A AB 45 */ bl __shl2i /* 801DF3B4 001DC314 80 AD 92 1C */ lwz r5, lbl_805A7DDC@sda21(r13) /* 801DF3B8 001DC318 7F BD 23 78 */ or r29, r29, r4 /* 801DF3BC 001DC31C 7F DE 1B 78 */ or r30, r30, r3 /* 801DF3C0 001DC320 38 60 00 00 */ li r3, 0 /* 801DF3C4 001DC324 38 80 00 01 */ li r4, 1 /* 801DF3C8 001DC328 48 1A AB 2D */ bl __shl2i /* 801DF3CC 001DC32C 7F BD 23 78 */ or r29, r29, r4 /* 801DF3D0 001DC330 7F DE 1B 78 */ or r30, r30, r3 /* 801DF3D4 001DC334 39 00 00 00 */ li r8, 0 /* 801DF3D8 001DC338 38 00 00 01 */ li r0, 1 /* 801DF3DC 001DC33C 93 A1 01 0C */ stw r29, 0x10c(r1) /* 801DF3E0 001DC340 7F 84 E3 78 */ mr r4, r28 /* 801DF3E4 001DC344 C0 22 AD 44 */ lfs f1, lbl_805ACA64@sda21(r2) /* 801DF3E8 001DC348 38 61 01 20 */ addi r3, r1, 0x120 /* 801DF3EC 001DC34C 93 C1 01 08 */ stw r30, 0x108(r1) /* 801DF3F0 001DC350 38 A1 00 E0 */ addi r5, r1, 0xe0 /* 801DF3F4 001DC354 38 C1 00 D4 */ addi r6, r1, 0xd4 /* 801DF3F8 001DC358 38 E1 01 08 */ addi r7, r1, 0x108 /* 801DF3FC 001DC35C 91 01 01 14 */ stw r8, 0x114(r1) /* 801DF400 001DC360 91 01 01 10 */ stw r8, 0x110(r1) /* 801DF404 001DC364 90 01 01 18 */ stw r0, 0x118(r1) /* 801DF408 001DC368 4B E6 DB 91 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801DF40C 001DC36C 88 81 01 40 */ lbz r4, 0x140(r1) /* 801DF410 001DC370 C0 E1 01 20 */ lfs f7, 0x120(r1) /* 801DF414 001DC374 C0 C1 01 24 */ lfs f6, 0x124(r1) /* 801DF418 001DC378 28 04 00 00 */ cmplwi r4, 0 /* 801DF41C 001DC37C C0 A1 01 28 */ lfs f5, 0x128(r1) /* 801DF420 001DC380 C0 81 01 2C */ lfs f4, 0x12c(r1) /* 801DF424 001DC384 C0 61 01 30 */ lfs f3, 0x130(r1) /* 801DF428 001DC388 C0 41 01 34 */ lfs f2, 0x134(r1) /* 801DF42C 001DC38C C0 21 01 38 */ lfs f1, 0x138(r1) /* 801DF430 001DC390 C0 01 01 3C */ lfs f0, 0x13c(r1) /* 801DF434 001DC394 80 01 01 48 */ lwz r0, 0x148(r1) /* 801DF438 001DC398 80 61 01 4C */ lwz r3, 0x14c(r1) /* 801DF43C 001DC39C D0 E1 01 78 */ stfs f7, 0x178(r1) /* 801DF440 001DC3A0 D0 C1 01 7C */ stfs f6, 0x17c(r1) /* 801DF444 001DC3A4 D0 A1 01 80 */ stfs f5, 0x180(r1) /* 801DF448 001DC3A8 D0 81 01 84 */ stfs f4, 0x184(r1) /* 801DF44C 001DC3AC D0 61 01 88 */ stfs f3, 0x188(r1) /* 801DF450 001DC3B0 D0 41 01 8C */ stfs f2, 0x18c(r1) /* 801DF454 001DC3B4 D0 21 01 90 */ stfs f1, 0x190(r1) /* 801DF458 001DC3B8 D0 01 01 94 */ stfs f0, 0x194(r1) /* 801DF45C 001DC3BC 98 81 01 98 */ stb r4, 0x198(r1) /* 801DF460 001DC3C0 90 61 01 A4 */ stw r3, 0x1a4(r1) /* 801DF464 001DC3C4 90 01 01 A0 */ stw r0, 0x1a0(r1) /* 801DF468 001DC3C8 41 82 00 80 */ beq lbl_801DF4E8 /* 801DF46C 001DC3CC D0 DF 08 D8 */ stfs f6, 0x8d8(r31) /* 801DF470 001DC3D0 38 61 00 4C */ addi r3, r1, 0x4c /* 801DF474 001DC3D4 D0 BF 08 DC */ stfs f5, 0x8dc(r31) /* 801DF478 001DC3D8 D0 9F 08 E0 */ stfs f4, 0x8e0(r31) /* 801DF47C 001DC3DC C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 801DF480 001DC3E0 D0 1F 08 E4 */ stfs f0, 0x8e4(r31) /* 801DF484 001DC3E4 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801DF488 001DC3E8 D0 1F 08 E8 */ stfs f0, 0x8e8(r31) /* 801DF48C 001DC3EC C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 801DF490 001DC3F0 D0 1F 08 EC */ stfs f0, 0x8ec(r31) /* 801DF494 001DC3F4 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801DF498 001DC3F8 C0 21 00 E8 */ lfs f1, 0xe8(r1) /* 801DF49C 001DC3FC EC 45 00 28 */ fsubs f2, f5, f0 /* 801DF4A0 001DC400 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 801DF4A4 001DC404 EC 24 08 28 */ fsubs f1, f4, f1 /* 801DF4A8 001DC408 EC 06 00 28 */ fsubs f0, f6, f0 /* 801DF4AC 001DC40C D0 41 00 44 */ stfs f2, 0x44(r1) /* 801DF4B0 001DC410 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801DF4B4 001DC414 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801DF4B8 001DC418 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801DF4BC 001DC41C D0 41 00 50 */ stfs f2, 0x50(r1) /* 801DF4C0 001DC420 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801DF4C4 001DC424 48 13 53 F5 */ bl Magnitude__9CVector3fCFv /* 801DF4C8 001DC428 C0 02 AD 48 */ lfs f0, lbl_805ACA68@sda21(r2) /* 801DF4CC 001DC42C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DF4D0 001DC430 40 80 00 5C */ bge lbl_801DF52C /* 801DF4D4 001DC434 38 60 00 02 */ li r3, 2 /* 801DF4D8 001DC438 38 00 00 01 */ li r0, 1 /* 801DF4DC 001DC43C 90 7F 06 58 */ stw r3, 0x658(r31) /* 801DF4E0 001DC440 98 1F 08 D4 */ stb r0, 0x8d4(r31) /* 801DF4E4 001DC444 48 00 00 48 */ b lbl_801DF52C lbl_801DF4E8: /* 801DF4E8 001DC448 7F E4 FB 78 */ mr r4, r31 /* 801DF4EC 001DC44C 7F 85 E3 78 */ mr r5, r28 /* 801DF4F0 001DC450 38 61 00 10 */ addi r3, r1, 0x10 /* 801DF4F4 001DC454 4B FF B7 3D */ bl sub_801dac30 /* 801DF4F8 001DC458 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801DF4FC 001DC45C 38 61 00 30 */ addi r3, r1, 0x30 /* 801DF500 001DC460 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801DF504 001DC464 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 801DF508 001DC468 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801DF50C 001DC46C D0 01 00 34 */ stfs f0, 0x34(r1) /* 801DF510 001DC470 48 13 49 F9 */ bl __eq__FRC9CVector2fRC9CVector2f /* 801DF514 001DC474 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DF518 001DC478 40 82 00 14 */ bne lbl_801DF52C /* 801DF51C 001DC47C C0 01 00 30 */ lfs f0, 0x30(r1) /* 801DF520 001DC480 D0 1F 06 50 */ stfs f0, 0x650(r31) /* 801DF524 001DC484 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801DF528 001DC488 D0 1F 06 54 */ stfs f0, 0x654(r31) lbl_801DF52C: /* 801DF52C 001DC48C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF530 001DC490 38 00 00 0D */ li r0, 0xd /* 801DF534 001DC494 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801DF538 001DC498 90 01 00 0C */ stw r0, 0xc(r1) /* 801DF53C 001DC49C 38 81 00 08 */ addi r4, r1, 8 /* 801DF540 001DC4A0 90 61 00 08 */ stw r3, 8(r1) /* 801DF544 001DC4A4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801DF548 001DC4A8 38 63 00 04 */ addi r3, r3, 4 /* 801DF54C 001DC4AC 4B F5 22 6D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801DF550 001DC4B0 34 01 00 08 */ addic. r0, r1, 8 /* 801DF554 001DC4B4 41 82 00 10 */ beq lbl_801DF564 /* 801DF558 001DC4B8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF55C 001DC4BC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DF560 001DC4C0 90 01 00 08 */ stw r0, 8(r1) lbl_801DF564: /* 801DF564 001DC4C4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DF568 001DC4C8 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801DF56C 001DC4CC C0 DF 06 54 */ lfs f6, 0x654(r31) /* 801DF570 001DC4D0 38 81 00 EC */ addi r4, r1, 0xec /* 801DF574 001DC4D4 C0 BF 06 50 */ lfs f5, 0x650(r31) /* 801DF578 001DC4D8 C0 82 AC DC */ lfs f4, lbl_805AC9FC@sda21(r2) /* 801DF57C 001DC4DC C0 43 00 04 */ lfs f2, 4(r3) /* 801DF580 001DC4E0 C0 23 00 08 */ lfs f1, 8(r3) /* 801DF584 001DC4E4 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DF588 001DC4E8 D0 A1 00 EC */ stfs f5, 0xec(r1) /* 801DF58C 001DC4EC D0 C1 00 F0 */ stfs f6, 0xf0(r1) /* 801DF590 001DC4F0 D0 81 00 F4 */ stfs f4, 0xf4(r1) /* 801DF594 001DC4F4 D0 61 00 F8 */ stfs f3, 0xf8(r1) /* 801DF598 001DC4F8 D0 41 00 FC */ stfs f2, 0xfc(r1) /* 801DF59C 001DC4FC D0 21 01 00 */ stfs f1, 0x100(r1) /* 801DF5A0 001DC500 D0 01 01 04 */ stfs f0, 0x104(r1) /* 801DF5A4 001DC504 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801DF5A8 001DC508 38 63 00 04 */ addi r3, r3, 4 /* 801DF5AC 001DC50C 4B F5 21 6D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801DF5B0: /* 801DF5B0 001DC510 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 /* 801DF5B4 001DC514 CB E1 01 D0 */ lfd f31, 0x1d0(r1) /* 801DF5B8 001DC518 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 /* 801DF5BC 001DC51C CB C1 01 C0 */ lfd f30, 0x1c0(r1) /* 801DF5C0 001DC520 83 E1 01 BC */ lwz r31, 0x1bc(r1) /* 801DF5C4 001DC524 83 C1 01 B8 */ lwz r30, 0x1b8(r1) /* 801DF5C8 001DC528 83 A1 01 B4 */ lwz r29, 0x1b4(r1) /* 801DF5CC 001DC52C 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 801DF5D0 001DC530 83 81 01 B0 */ lwz r28, 0x1b0(r1) /* 801DF5D4 001DC534 7C 08 03 A6 */ mtlr r0 /* 801DF5D8 001DC538 38 21 01 E0 */ addi r1, r1, 0x1e0 /* 801DF5DC 001DC53C 4E 80 00 20 */ blr .global TelegraphAttack__8CThardusFR13CStateManager9EStateMsgf TelegraphAttack__8CThardusFR13CStateManager9EStateMsgf: /* 801DF5E0 001DC540 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DF5E4 001DC544 7C 08 02 A6 */ mflr r0 /* 801DF5E8 001DC548 2C 05 00 01 */ cmpwi r5, 1 /* 801DF5EC 001DC54C 90 01 00 34 */ stw r0, 0x34(r1) /* 801DF5F0 001DC550 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801DF5F4 001DC554 93 C1 00 28 */ stw r30, 0x28(r1) /* 801DF5F8 001DC558 7C 7E 1B 78 */ mr r30, r3 /* 801DF5FC 001DC55C 41 82 00 24 */ beq lbl_801DF620 /* 801DF600 001DC560 40 80 01 2C */ bge lbl_801DF72C /* 801DF604 001DC564 2C 05 00 00 */ cmpwi r5, 0 /* 801DF608 001DC568 40 80 00 0C */ bge lbl_801DF614 /* 801DF60C 001DC56C 48 00 01 20 */ b lbl_801DF72C /* 801DF610 001DC570 48 00 01 1C */ b lbl_801DF72C lbl_801DF614: /* 801DF614 001DC574 38 00 00 00 */ li r0, 0 /* 801DF618 001DC578 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF61C 001DC57C 48 00 01 10 */ b lbl_801DF72C lbl_801DF620: /* 801DF620 001DC580 80 1E 05 EC */ lwz r0, 0x5ec(r30) /* 801DF624 001DC584 2C 00 00 01 */ cmpwi r0, 1 /* 801DF628 001DC588 41 82 01 04 */ beq lbl_801DF72C /* 801DF62C 001DC58C 40 80 00 10 */ bge lbl_801DF63C /* 801DF630 001DC590 2C 00 00 00 */ cmpwi r0, 0 /* 801DF634 001DC594 40 80 00 14 */ bge lbl_801DF648 /* 801DF638 001DC598 48 00 00 F4 */ b lbl_801DF72C lbl_801DF63C: /* 801DF63C 001DC59C 2C 00 00 03 */ cmpwi r0, 3 /* 801DF640 001DC5A0 40 80 00 EC */ bge lbl_801DF72C /* 801DF644 001DC5A4 48 00 00 D0 */ b lbl_801DF714 lbl_801DF648: /* 801DF648 001DC5A8 81 1E 04 50 */ lwz r8, 0x450(r30) /* 801DF64C 001DC5AC 80 08 02 B8 */ lwz r0, 0x2b8(r8) /* 801DF650 001DC5B0 2C 00 00 12 */ cmpwi r0, 0x12 /* 801DF654 001DC5B4 40 82 00 10 */ bne lbl_801DF664 /* 801DF658 001DC5B8 38 00 00 02 */ li r0, 2 /* 801DF65C 001DC5BC 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF660 001DC5C0 48 00 00 CC */ b lbl_801DF72C lbl_801DF664: /* 801DF664 001DC5C4 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801DF668 001DC5C8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DF66C 001DC5CC C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801DF670 001DC5D0 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l /* 801DF674 001DC5D4 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha /* 801DF678 001DC5D8 90 C1 00 08 */ stw r6, 8(r1) /* 801DF67C 001DC5DC 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l /* 801DF680 001DC5E0 C0 23 00 04 */ lfs f1, 4(r3) /* 801DF684 001DC5E4 C0 03 00 08 */ lfs f0, 8(r3) /* 801DF688 001DC5E8 38 E0 00 06 */ li r7, 6 /* 801DF68C 001DC5EC 38 A0 00 01 */ li r5, 1 /* 801DF690 001DC5F0 38 00 00 00 */ li r0, 0 /* 801DF694 001DC5F4 3B E8 00 04 */ addi r31, r8, 4 /* 801DF698 001DC5F8 90 E1 00 0C */ stw r7, 0xc(r1) /* 801DF69C 001DC5FC 7F E3 FB 78 */ mr r3, r31 /* 801DF6A0 001DC600 38 80 00 06 */ li r4, 6 /* 801DF6A4 001DC604 90 C1 00 08 */ stw r6, 8(r1) /* 801DF6A8 001DC608 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DF6AC 001DC60C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801DF6B0 001DC610 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801DF6B4 001DC614 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801DF6B8 001DC618 98 01 00 20 */ stb r0, 0x20(r1) /* 801DF6BC 001DC61C 4B F5 1D 7D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DF6C0 001DC620 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DF6C4 001DC624 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801DF6C8 001DC628 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 801DF6CC 001DC62C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF6D0 001DC630 90 1F 01 2C */ stw r0, 0x12c(r31) /* 801DF6D4 001DC634 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801DF6D8 001DC638 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801DF6DC 001DC63C 38 00 00 00 */ li r0, 0 /* 801DF6E0 001DC640 80 C1 00 14 */ lwz r6, 0x14(r1) /* 801DF6E4 001DC644 90 BF 01 30 */ stw r5, 0x130(r31) /* 801DF6E8 001DC648 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801DF6EC 001DC64C 90 DF 01 34 */ stw r6, 0x134(r31) /* 801DF6F0 001DC650 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 801DF6F4 001DC654 90 BF 01 38 */ stw r5, 0x138(r31) /* 801DF6F8 001DC658 88 A1 00 20 */ lbz r5, 0x20(r1) /* 801DF6FC 001DC65C 90 DF 01 3C */ stw r6, 0x13c(r31) /* 801DF700 001DC660 98 BF 01 40 */ stb r5, 0x140(r31) /* 801DF704 001DC664 90 81 00 08 */ stw r4, 8(r1) /* 801DF708 001DC668 90 61 00 08 */ stw r3, 8(r1) /* 801DF70C 001DC66C 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF710 001DC670 48 00 00 1C */ b lbl_801DF72C lbl_801DF714: /* 801DF714 001DC674 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DF718 001DC678 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DF71C 001DC67C 2C 00 00 12 */ cmpwi r0, 0x12 /* 801DF720 001DC680 41 82 00 0C */ beq lbl_801DF72C /* 801DF724 001DC684 38 00 00 03 */ li r0, 3 /* 801DF728 001DC688 90 1E 05 EC */ stw r0, 0x5ec(r30) lbl_801DF72C: /* 801DF72C 001DC68C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DF730 001DC690 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801DF734 001DC694 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801DF738 001DC698 7C 08 03 A6 */ mtlr r0 /* 801DF73C 001DC69C 38 21 00 30 */ addi r1, r1, 0x30 /* 801DF740 001DC6A0 4E 80 00 20 */ blr .global ProjectileAttack__8CThardusFR13CStateManager9EStateMsgf ProjectileAttack__8CThardusFR13CStateManager9EStateMsgf: /* 801DF744 001DC6A4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DF748 001DC6A8 7C 08 02 A6 */ mflr r0 /* 801DF74C 001DC6AC 2C 05 00 01 */ cmpwi r5, 1 /* 801DF750 001DC6B0 90 01 00 34 */ stw r0, 0x34(r1) /* 801DF754 001DC6B4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801DF758 001DC6B8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801DF75C 001DC6BC 7C 7E 1B 78 */ mr r30, r3 /* 801DF760 001DC6C0 41 82 00 24 */ beq lbl_801DF784 /* 801DF764 001DC6C4 40 80 01 28 */ bge lbl_801DF88C /* 801DF768 001DC6C8 2C 05 00 00 */ cmpwi r5, 0 /* 801DF76C 001DC6CC 40 80 00 0C */ bge lbl_801DF778 /* 801DF770 001DC6D0 48 00 01 1C */ b lbl_801DF88C /* 801DF774 001DC6D4 48 00 01 18 */ b lbl_801DF88C lbl_801DF778: /* 801DF778 001DC6D8 38 00 00 00 */ li r0, 0 /* 801DF77C 001DC6DC 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF780 001DC6E0 48 00 01 0C */ b lbl_801DF88C lbl_801DF784: /* 801DF784 001DC6E4 80 1E 05 EC */ lwz r0, 0x5ec(r30) /* 801DF788 001DC6E8 2C 00 00 01 */ cmpwi r0, 1 /* 801DF78C 001DC6EC 41 82 01 00 */ beq lbl_801DF88C /* 801DF790 001DC6F0 40 80 00 10 */ bge lbl_801DF7A0 /* 801DF794 001DC6F4 2C 00 00 00 */ cmpwi r0, 0 /* 801DF798 001DC6F8 40 80 00 14 */ bge lbl_801DF7AC /* 801DF79C 001DC6FC 48 00 00 F0 */ b lbl_801DF88C lbl_801DF7A0: /* 801DF7A0 001DC700 2C 00 00 03 */ cmpwi r0, 3 /* 801DF7A4 001DC704 40 80 00 E8 */ bge lbl_801DF88C /* 801DF7A8 001DC708 48 00 00 CC */ b lbl_801DF874 lbl_801DF7AC: /* 801DF7AC 001DC70C 80 DE 04 50 */ lwz r6, 0x450(r30) /* 801DF7B0 001DC710 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801DF7B4 001DC714 2C 00 00 12 */ cmpwi r0, 0x12 /* 801DF7B8 001DC718 40 82 00 10 */ bne lbl_801DF7C8 /* 801DF7BC 001DC71C 38 00 00 02 */ li r0, 2 /* 801DF7C0 001DC720 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF7C4 001DC724 48 00 00 C8 */ b lbl_801DF88C lbl_801DF7C8: /* 801DF7C8 001DC728 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801DF7CC 001DC72C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DF7D0 001DC730 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801DF7D4 001DC734 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l /* 801DF7D8 001DC738 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha /* 801DF7DC 001DC73C 90 A1 00 08 */ stw r5, 8(r1) /* 801DF7E0 001DC740 38 00 00 00 */ li r0, 0 /* 801DF7E4 001DC744 C0 23 00 04 */ lfs f1, 4(r3) /* 801DF7E8 001DC748 C0 03 00 08 */ lfs f0, 8(r3) /* 801DF7EC 001DC74C 38 A4 A9 CC */ addi r5, r4, lbl_803DA9CC@l /* 801DF7F0 001DC750 38 60 00 06 */ li r3, 6 /* 801DF7F4 001DC754 3B E6 00 04 */ addi r31, r6, 4 /* 801DF7F8 001DC758 90 61 00 0C */ stw r3, 0xc(r1) /* 801DF7FC 001DC75C 38 80 00 06 */ li r4, 6 /* 801DF800 001DC760 7F E3 FB 78 */ mr r3, r31 /* 801DF804 001DC764 90 A1 00 08 */ stw r5, 8(r1) /* 801DF808 001DC768 90 01 00 10 */ stw r0, 0x10(r1) /* 801DF80C 001DC76C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801DF810 001DC770 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801DF814 001DC774 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801DF818 001DC778 98 01 00 20 */ stb r0, 0x20(r1) /* 801DF81C 001DC77C 4B F5 1C 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DF820 001DC780 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DF824 001DC784 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 801DF828 001DC788 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 801DF82C 001DC78C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF830 001DC790 90 1F 01 2C */ stw r0, 0x12c(r31) /* 801DF834 001DC794 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801DF838 001DC798 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801DF83C 001DC79C 38 00 00 00 */ li r0, 0 /* 801DF840 001DC7A0 80 C1 00 14 */ lwz r6, 0x14(r1) /* 801DF844 001DC7A4 90 BF 01 30 */ stw r5, 0x130(r31) /* 801DF848 001DC7A8 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801DF84C 001DC7AC 90 DF 01 34 */ stw r6, 0x134(r31) /* 801DF850 001DC7B0 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 801DF854 001DC7B4 90 BF 01 38 */ stw r5, 0x138(r31) /* 801DF858 001DC7B8 88 A1 00 20 */ lbz r5, 0x20(r1) /* 801DF85C 001DC7BC 90 DF 01 3C */ stw r6, 0x13c(r31) /* 801DF860 001DC7C0 98 BF 01 40 */ stb r5, 0x140(r31) /* 801DF864 001DC7C4 90 81 00 08 */ stw r4, 8(r1) /* 801DF868 001DC7C8 90 61 00 08 */ stw r3, 8(r1) /* 801DF86C 001DC7CC 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF870 001DC7D0 48 00 00 1C */ b lbl_801DF88C lbl_801DF874: /* 801DF874 001DC7D4 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DF878 001DC7D8 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DF87C 001DC7DC 2C 00 00 12 */ cmpwi r0, 0x12 /* 801DF880 001DC7E0 41 82 00 0C */ beq lbl_801DF88C /* 801DF884 001DC7E4 38 00 00 03 */ li r0, 3 /* 801DF888 001DC7E8 90 1E 05 EC */ stw r0, 0x5ec(r30) lbl_801DF88C: /* 801DF88C 001DC7EC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DF890 001DC7F0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801DF894 001DC7F4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801DF898 001DC7F8 7C 08 03 A6 */ mtlr r0 /* 801DF89C 001DC7FC 38 21 00 30 */ addi r1, r1, 0x30 /* 801DF8A0 001DC800 4E 80 00 20 */ blr .global Taunt__8CThardusFR13CStateManager9EStateMsgf Taunt__8CThardusFR13CStateManager9EStateMsgf: /* 801DF8A4 001DC804 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801DF8A8 001DC808 7C 08 02 A6 */ mflr r0 /* 801DF8AC 001DC80C 2C 05 00 01 */ cmpwi r5, 1 /* 801DF8B0 001DC810 90 01 00 24 */ stw r0, 0x24(r1) /* 801DF8B4 001DC814 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801DF8B8 001DC818 41 82 00 24 */ beq lbl_801DF8DC /* 801DF8BC 001DC81C 40 80 00 E0 */ bge lbl_801DF99C /* 801DF8C0 001DC820 2C 05 00 00 */ cmpwi r5, 0 /* 801DF8C4 001DC824 40 80 00 0C */ bge lbl_801DF8D0 /* 801DF8C8 001DC828 48 00 00 D4 */ b lbl_801DF99C /* 801DF8CC 001DC82C 48 00 00 D0 */ b lbl_801DF99C lbl_801DF8D0: /* 801DF8D0 001DC830 38 00 00 00 */ li r0, 0 /* 801DF8D4 001DC834 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DF8D8 001DC838 48 00 00 C4 */ b lbl_801DF99C lbl_801DF8DC: /* 801DF8DC 001DC83C 80 03 05 EC */ lwz r0, 0x5ec(r3) /* 801DF8E0 001DC840 2C 00 00 01 */ cmpwi r0, 1 /* 801DF8E4 001DC844 41 82 00 B8 */ beq lbl_801DF99C /* 801DF8E8 001DC848 40 80 00 10 */ bge lbl_801DF8F8 /* 801DF8EC 001DC84C 2C 00 00 00 */ cmpwi r0, 0 /* 801DF8F0 001DC850 40 80 00 14 */ bge lbl_801DF904 /* 801DF8F4 001DC854 48 00 00 A8 */ b lbl_801DF99C lbl_801DF8F8: /* 801DF8F8 001DC858 2C 00 00 03 */ cmpwi r0, 3 /* 801DF8FC 001DC85C 40 80 00 A0 */ bge lbl_801DF99C /* 801DF900 001DC860 48 00 00 84 */ b lbl_801DF984 lbl_801DF904: /* 801DF904 001DC864 80 C3 04 50 */ lwz r6, 0x450(r3) /* 801DF908 001DC868 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801DF90C 001DC86C 2C 00 00 10 */ cmpwi r0, 0x10 /* 801DF910 001DC870 40 82 00 10 */ bne lbl_801DF920 /* 801DF914 001DC874 38 00 00 02 */ li r0, 2 /* 801DF918 001DC878 90 03 05 EC */ stw r0, 0x5ec(r3) /* 801DF91C 001DC87C 48 00 00 80 */ b lbl_801DF99C lbl_801DF920: /* 801DF920 001DC880 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801DF924 001DC884 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801DF928 001DC888 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801DF92C 001DC88C 38 80 00 12 */ li r4, 0x12 /* 801DF930 001DC890 90 01 00 08 */ stw r0, 8(r1) /* 801DF934 001DC894 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l /* 801DF938 001DC898 38 00 00 01 */ li r0, 1 /* 801DF93C 001DC89C 3B E6 00 04 */ addi r31, r6, 4 /* 801DF940 001DC8A0 90 81 00 0C */ stw r4, 0xc(r1) /* 801DF944 001DC8A4 7F E3 FB 78 */ mr r3, r31 /* 801DF948 001DC8A8 38 80 00 12 */ li r4, 0x12 /* 801DF94C 001DC8AC 90 A1 00 08 */ stw r5, 8(r1) /* 801DF950 001DC8B0 90 01 00 10 */ stw r0, 0x10(r1) /* 801DF954 001DC8B4 4B F5 1A E5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DF958 001DC8B8 80 01 00 0C */ lwz r0, 0xc(r1) /* 801DF95C 001DC8BC 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801DF960 001DC8C0 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 801DF964 001DC8C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DF968 001DC8C8 90 1F 02 14 */ stw r0, 0x214(r31) /* 801DF96C 001DC8CC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DF970 001DC8D0 80 61 00 10 */ lwz r3, 0x10(r1) /* 801DF974 001DC8D4 90 81 00 08 */ stw r4, 8(r1) /* 801DF978 001DC8D8 90 7F 02 18 */ stw r3, 0x218(r31) /* 801DF97C 001DC8DC 90 01 00 08 */ stw r0, 8(r1) /* 801DF980 001DC8E0 48 00 00 1C */ b lbl_801DF99C lbl_801DF984: /* 801DF984 001DC8E4 80 83 04 50 */ lwz r4, 0x450(r3) /* 801DF988 001DC8E8 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801DF98C 001DC8EC 2C 00 00 10 */ cmpwi r0, 0x10 /* 801DF990 001DC8F0 41 82 00 0C */ beq lbl_801DF99C /* 801DF994 001DC8F4 38 00 00 03 */ li r0, 3 /* 801DF998 001DC8F8 90 03 05 EC */ stw r0, 0x5ec(r3) lbl_801DF99C: /* 801DF99C 001DC8FC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801DF9A0 001DC900 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801DF9A4 001DC904 7C 08 03 A6 */ mtlr r0 /* 801DF9A8 001DC908 38 21 00 20 */ addi r1, r1, 0x20 /* 801DF9AC 001DC90C 4E 80 00 20 */ blr .global TargetPatrol__8CThardusFR13CStateManager9EStateMsgf TargetPatrol__8CThardusFR13CStateManager9EStateMsgf: /* 801DF9B0 001DC910 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801DF9B4 001DC914 7C 08 02 A6 */ mflr r0 /* 801DF9B8 001DC918 2C 05 00 01 */ cmpwi r5, 1 /* 801DF9BC 001DC91C 90 01 00 34 */ stw r0, 0x34(r1) /* 801DF9C0 001DC920 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801DF9C4 001DC924 7C 9F 23 78 */ mr r31, r4 /* 801DF9C8 001DC928 93 C1 00 28 */ stw r30, 0x28(r1) /* 801DF9CC 001DC92C 7C 7E 1B 78 */ mr r30, r3 /* 801DF9D0 001DC930 41 82 00 68 */ beq lbl_801DFA38 /* 801DF9D4 001DC934 40 80 01 24 */ bge lbl_801DFAF8 /* 801DF9D8 001DC938 2C 05 00 00 */ cmpwi r5, 0 /* 801DF9DC 001DC93C 40 80 00 0C */ bge lbl_801DF9E8 /* 801DF9E0 001DC940 48 00 01 18 */ b lbl_801DFAF8 /* 801DF9E4 001DC944 48 00 01 14 */ b lbl_801DFAF8 lbl_801DF9E8: /* 801DF9E8 001DC948 38 00 00 00 */ li r0, 0 /* 801DF9EC 001DC94C 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DF9F0 001DC950 88 1E 09 5E */ lbz r0, 0x95e(r30) /* 801DF9F4 001DC954 28 00 00 00 */ cmplwi r0, 0 /* 801DF9F8 001DC958 40 82 01 00 */ bne lbl_801DFAF8 /* 801DF9FC 001DC95C 81 83 00 00 */ lwz r12, 0(r3) /* 801DFA00 001DC960 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801DFA04 001DC964 7D 89 03 A6 */ mtctr r12 /* 801DFA08 001DC968 4E 80 04 21 */ bctrl /* 801DFA0C 001DC96C C0 23 00 00 */ lfs f1, 0(r3) /* 801DFA10 001DC970 7F E3 FB 78 */ mr r3, r31 /* 801DFA14 001DC974 A0 1E 00 08 */ lhz r0, 8(r30) /* 801DFA18 001DC978 38 81 00 0C */ addi r4, r1, 0xc /* 801DFA1C 001DC97C 38 A0 00 58 */ li r5, 0x58 /* 801DFA20 001DC980 B0 01 00 08 */ sth r0, 8(r1) /* 801DFA24 001DC984 B0 01 00 0C */ sth r0, 0xc(r1) /* 801DFA28 001DC988 4B E6 45 1D */ bl SetBossParams__13CStateManagerF9TUniqueIdfUi /* 801DFA2C 001DC98C 38 00 00 01 */ li r0, 1 /* 801DFA30 001DC990 98 1E 09 5E */ stb r0, 0x95e(r30) /* 801DFA34 001DC994 48 00 00 C4 */ b lbl_801DFAF8 lbl_801DFA38: /* 801DFA38 001DC998 80 1E 05 EC */ lwz r0, 0x5ec(r30) /* 801DFA3C 001DC99C 2C 00 00 01 */ cmpwi r0, 1 /* 801DFA40 001DC9A0 41 82 00 B8 */ beq lbl_801DFAF8 /* 801DFA44 001DC9A4 40 80 00 10 */ bge lbl_801DFA54 /* 801DFA48 001DC9A8 2C 00 00 00 */ cmpwi r0, 0 /* 801DFA4C 001DC9AC 40 80 00 14 */ bge lbl_801DFA60 /* 801DFA50 001DC9B0 48 00 00 A8 */ b lbl_801DFAF8 lbl_801DFA54: /* 801DFA54 001DC9B4 2C 00 00 03 */ cmpwi r0, 3 /* 801DFA58 001DC9B8 40 80 00 A0 */ bge lbl_801DFAF8 /* 801DFA5C 001DC9BC 48 00 00 84 */ b lbl_801DFAE0 lbl_801DFA60: /* 801DFA60 001DC9C0 80 DE 04 50 */ lwz r6, 0x450(r30) /* 801DFA64 001DC9C4 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 801DFA68 001DC9C8 2C 00 00 10 */ cmpwi r0, 0x10 /* 801DFA6C 001DC9CC 40 82 00 10 */ bne lbl_801DFA7C /* 801DFA70 001DC9D0 38 00 00 02 */ li r0, 2 /* 801DFA74 001DC9D4 90 1E 05 EC */ stw r0, 0x5ec(r30) /* 801DFA78 001DC9D8 48 00 00 80 */ b lbl_801DFAF8 lbl_801DFA7C: /* 801DFA7C 001DC9DC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801DFA80 001DC9E0 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801DFA84 001DC9E4 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801DFA88 001DC9E8 38 80 00 12 */ li r4, 0x12 /* 801DFA8C 001DC9EC 90 01 00 10 */ stw r0, 0x10(r1) /* 801DFA90 001DC9F0 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l /* 801DFA94 001DC9F4 38 00 00 01 */ li r0, 1 /* 801DFA98 001DC9F8 3B E6 00 04 */ addi r31, r6, 4 /* 801DFA9C 001DC9FC 90 81 00 14 */ stw r4, 0x14(r1) /* 801DFAA0 001DCA00 7F E3 FB 78 */ mr r3, r31 /* 801DFAA4 001DCA04 38 80 00 12 */ li r4, 0x12 /* 801DFAA8 001DCA08 90 A1 00 10 */ stw r5, 0x10(r1) /* 801DFAAC 001DCA0C 90 01 00 18 */ stw r0, 0x18(r1) /* 801DFAB0 001DCA10 4B F5 19 89 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801DFAB4 001DCA14 80 01 00 14 */ lwz r0, 0x14(r1) /* 801DFAB8 001DCA18 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 801DFABC 001DCA1C 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 801DFAC0 001DCA20 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801DFAC4 001DCA24 90 1F 02 14 */ stw r0, 0x214(r31) /* 801DFAC8 001DCA28 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801DFACC 001DCA2C 80 61 00 18 */ lwz r3, 0x18(r1) /* 801DFAD0 001DCA30 90 81 00 10 */ stw r4, 0x10(r1) /* 801DFAD4 001DCA34 90 7F 02 18 */ stw r3, 0x218(r31) /* 801DFAD8 001DCA38 90 01 00 10 */ stw r0, 0x10(r1) /* 801DFADC 001DCA3C 48 00 00 1C */ b lbl_801DFAF8 lbl_801DFAE0: /* 801DFAE0 001DCA40 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DFAE4 001DCA44 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801DFAE8 001DCA48 2C 00 00 10 */ cmpwi r0, 0x10 /* 801DFAEC 001DCA4C 41 82 00 0C */ beq lbl_801DFAF8 /* 801DFAF0 001DCA50 38 00 00 03 */ li r0, 3 /* 801DFAF4 001DCA54 90 1E 05 EC */ stw r0, 0x5ec(r30) lbl_801DFAF8: /* 801DFAF8 001DCA58 80 01 00 34 */ lwz r0, 0x34(r1) /* 801DFAFC 001DCA5C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801DFB00 001DCA60 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801DFB04 001DCA64 7C 08 03 A6 */ mtlr r0 /* 801DFB08 001DCA68 38 21 00 30 */ addi r1, r1, 0x30 /* 801DFB0C 001DCA6C 4E 80 00 20 */ blr .global Patrol__8CThardusFR13CStateManager9EStateMsgf Patrol__8CThardusFR13CStateManager9EStateMsgf: /* 801DFB10 001DCA70 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801DFB14 001DCA74 7C 08 02 A6 */ mflr r0 /* 801DFB18 001DCA78 2C 05 00 01 */ cmpwi r5, 1 /* 801DFB1C 001DCA7C 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801DFB20 001DCA80 93 E1 00 DC */ stw r31, 0xdc(r1) /* 801DFB24 001DCA84 7C 9F 23 78 */ mr r31, r4 /* 801DFB28 001DCA88 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 801DFB2C 001DCA8C 7C 7E 1B 78 */ mr r30, r3 /* 801DFB30 001DCA90 41 82 00 48 */ beq lbl_801DFB78 /* 801DFB34 001DCA94 40 80 00 10 */ bge lbl_801DFB44 /* 801DFB38 001DCA98 2C 05 00 00 */ cmpwi r5, 0 /* 801DFB3C 001DCA9C 40 80 00 14 */ bge lbl_801DFB50 /* 801DFB40 001DCAA0 48 00 01 C4 */ b lbl_801DFD04 lbl_801DFB44: /* 801DFB44 001DCAA4 2C 05 00 03 */ cmpwi r5, 3 /* 801DFB48 001DCAA8 40 80 01 BC */ bge lbl_801DFD04 /* 801DFB4C 001DCAAC 48 00 01 AC */ b lbl_801DFCF8 lbl_801DFB50: /* 801DFB50 001DCAB0 38 00 FF FF */ li r0, -1 /* 801DFB54 001DCAB4 90 1E 06 58 */ stw r0, 0x658(r30) /* 801DFB58 001DCAB8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801DFB5C 001DCABC C0 43 00 60 */ lfs f2, 0x60(r3) /* 801DFB60 001DCAC0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801DFB64 001DCAC4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801DFB68 001DCAC8 D0 1E 09 50 */ stfs f0, 0x950(r30) /* 801DFB6C 001DCACC D0 3E 09 54 */ stfs f1, 0x954(r30) /* 801DFB70 001DCAD0 D0 5E 09 58 */ stfs f2, 0x958(r30) /* 801DFB74 001DCAD4 48 00 01 90 */ b lbl_801DFD04 lbl_801DFB78: /* 801DFB78 001DCAD8 81 83 00 00 */ lwz r12, 0(r3) /* 801DFB7C 001DCADC C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801DFB80 001DCAE0 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 801DFB84 001DCAE4 7D 89 03 A6 */ mtctr r12 /* 801DFB88 001DCAE8 4E 80 04 21 */ bctrl /* 801DFB8C 001DCAEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DFB90 001DCAF0 41 82 01 74 */ beq lbl_801DFD04 /* 801DFB94 001DCAF4 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801DFB98 001DCAF8 38 61 00 3C */ addi r3, r1, 0x3c /* 801DFB9C 001DCAFC C0 02 AD 4C */ lfs f0, lbl_805ACA6C@sda21(r2) /* 801DFBA0 001DCB00 38 81 00 8C */ addi r4, r1, 0x8c /* 801DFBA4 001DCB04 C0 65 00 60 */ lfs f3, 0x60(r5) /* 801DFBA8 001DCB08 C0 45 00 50 */ lfs f2, 0x50(r5) /* 801DFBAC 001DCB0C C0 25 00 40 */ lfs f1, 0x40(r5) /* 801DFBB0 001DCB10 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801DFBB4 001DCB14 D0 41 00 90 */ stfs f2, 0x90(r1) /* 801DFBB8 001DCB18 D0 61 00 94 */ stfs f3, 0x94(r1) /* 801DFBBC 001DCB1C D0 01 00 08 */ stfs f0, 8(r1) /* 801DFBC0 001DCB20 48 13 4C 91 */ bl AsNormalized__9CVector3fCFv /* 801DFBC4 001DCB24 38 61 00 48 */ addi r3, r1, 0x48 /* 801DFBC8 001DCB28 38 81 00 3C */ addi r4, r1, 0x3c /* 801DFBCC 001DCB2C 48 13 42 05 */ bl __ct__11CUnitVectorFRC9CVector3f /* 801DFBD0 001DCB30 7C 7F 1B 78 */ mr r31, r3 /* 801DFBD4 001DCB34 38 61 00 54 */ addi r3, r1, 0x54 /* 801DFBD8 001DCB38 38 9E 09 50 */ addi r4, r30, 0x950 /* 801DFBDC 001DCB3C 48 13 41 F5 */ bl __ct__11CUnitVectorFRC9CVector3f /* 801DFBE0 001DCB40 7C 64 1B 78 */ mr r4, r3 /* 801DFBE4 001DCB44 7F E5 FB 78 */ mr r5, r31 /* 801DFBE8 001DCB48 38 61 00 60 */ addi r3, r1, 0x60 /* 801DFBEC 001DCB4C 38 C1 00 08 */ addi r6, r1, 8 /* 801DFBF0 001DCB50 48 13 1A A5 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 801DFBF4 001DCB54 C0 61 00 60 */ lfs f3, 0x60(r1) /* 801DFBF8 001DCB58 38 61 00 30 */ addi r3, r1, 0x30 /* 801DFBFC 001DCB5C C0 41 00 64 */ lfs f2, 0x64(r1) /* 801DFC00 001DCB60 38 81 00 24 */ addi r4, r1, 0x24 /* 801DFC04 001DCB64 C0 21 00 68 */ lfs f1, 0x68(r1) /* 801DFC08 001DCB68 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801DFC0C 001DCB6C D0 61 00 7C */ stfs f3, 0x7c(r1) /* 801DFC10 001DCB70 C0 A1 00 90 */ lfs f5, 0x90(r1) /* 801DFC14 001DCB74 D0 41 00 80 */ stfs f2, 0x80(r1) /* 801DFC18 001DCB78 C0 61 00 94 */ lfs f3, 0x94(r1) /* 801DFC1C 001DCB7C D0 21 00 84 */ stfs f1, 0x84(r1) /* 801DFC20 001DCB80 C0 21 00 8C */ lfs f1, 0x8c(r1) /* 801DFC24 001DCB84 D0 01 00 88 */ stfs f0, 0x88(r1) /* 801DFC28 001DCB88 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801DFC2C 001DCB8C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801DFC30 001DCB90 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801DFC34 001DCB94 EC 85 20 28 */ fsubs f4, f5, f4 /* 801DFC38 001DCB98 EC 43 10 28 */ fsubs f2, f3, f2 /* 801DFC3C 001DCB9C EC 01 00 28 */ fsubs f0, f1, f0 /* 801DFC40 001DCBA0 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801DFC44 001DCBA4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801DFC48 001DCBA8 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801DFC4C 001DCBAC D0 01 00 24 */ stfs f0, 0x24(r1) /* 801DFC50 001DCBB0 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801DFC54 001DCBB4 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801DFC58 001DCBB8 48 13 4B F9 */ bl AsNormalized__9CVector3fCFv /* 801DFC5C 001DCBBC C0 41 00 30 */ lfs f2, 0x30(r1) /* 801DFC60 001DCBC0 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801DFC64 001DCBC4 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801DFC68 001DCBC8 38 81 00 7C */ addi r4, r1, 0x7c /* 801DFC6C 001DCBCC C0 01 00 38 */ lfs f0, 0x38(r1) /* 801DFC70 001DCBD0 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801DFC74 001DCBD4 D0 21 00 74 */ stfs f1, 0x74(r1) /* 801DFC78 001DCBD8 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801DFC7C 001DCBDC 48 13 24 11 */ bl BuildTransform__11CQuaternionCFv /* 801DFC80 001DCBE0 38 61 00 0C */ addi r3, r1, 0xc /* 801DFC84 001DCBE4 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801DFC88 001DCBE8 38 A1 00 70 */ addi r5, r1, 0x70 /* 801DFC8C 001DCBEC 48 13 06 09 */ bl __ml__9CMatrix3fCFRC9CVector3f /* 801DFC90 001DCBF0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DFC94 001DCBF4 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 801DFC98 001DCBF8 C0 61 00 70 */ lfs f3, 0x70(r1) /* 801DFC9C 001DCBFC 38 81 00 98 */ addi r4, r1, 0x98 /* 801DFCA0 001DCC00 C0 41 00 74 */ lfs f2, 0x74(r1) /* 801DFCA4 001DCC04 C0 A3 00 04 */ lfs f5, 4(r3) /* 801DFCA8 001DCC08 C0 83 00 08 */ lfs f4, 8(r3) /* 801DFCAC 001DCC0C C0 21 00 78 */ lfs f1, 0x78(r1) /* 801DFCB0 001DCC10 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DFCB4 001DCC14 D0 C1 00 98 */ stfs f6, 0x98(r1) /* 801DFCB8 001DCC18 D0 A1 00 9C */ stfs f5, 0x9c(r1) /* 801DFCBC 001DCC1C D0 81 00 A0 */ stfs f4, 0xa0(r1) /* 801DFCC0 001DCC20 D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 801DFCC4 001DCC24 D0 41 00 A8 */ stfs f2, 0xa8(r1) /* 801DFCC8 001DCC28 D0 21 00 AC */ stfs f1, 0xac(r1) /* 801DFCCC 001DCC2C D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801DFCD0 001DCC30 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801DFCD4 001DCC34 38 63 00 04 */ addi r3, r3, 4 /* 801DFCD8 001DCC38 4B F5 1A 41 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801DFCDC 001DCC3C C0 01 00 8C */ lfs f0, 0x8c(r1) /* 801DFCE0 001DCC40 D0 1E 09 50 */ stfs f0, 0x950(r30) /* 801DFCE4 001DCC44 C0 01 00 90 */ lfs f0, 0x90(r1) /* 801DFCE8 001DCC48 D0 1E 09 54 */ stfs f0, 0x954(r30) /* 801DFCEC 001DCC4C C0 01 00 94 */ lfs f0, 0x94(r1) /* 801DFCF0 001DCC50 D0 1E 09 58 */ stfs f0, 0x958(r30) /* 801DFCF4 001DCC54 48 00 00 10 */ b lbl_801DFD04 lbl_801DFCF8: /* 801DFCF8 001DCC58 4B FF ED E5 */ bl sub_801deadc /* 801DFCFC 001DCC5C 38 00 00 00 */ li r0, 0 /* 801DFD00 001DCC60 98 1E 09 4D */ stb r0, 0x94d(r30) lbl_801DFD04: /* 801DFD04 001DCC64 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801DFD08 001DCC68 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 801DFD0C 001DCC6C 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 801DFD10 001DCC70 7C 08 03 A6 */ mtlr r0 /* 801DFD14 001DCC74 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801DFD18 001DCC78 4E 80 00 20 */ blr .global Think__8CThardusFfR13CStateManager Think__8CThardusFfR13CStateManager: /* 801DFD1C 001DCC7C 94 21 FE 40 */ stwu r1, -0x1c0(r1) /* 801DFD20 001DCC80 7C 08 02 A6 */ mflr r0 /* 801DFD24 001DCC84 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 801DFD28 001DCC88 DB E1 01 B0 */ stfd f31, 0x1b0(r1) /* 801DFD2C 001DCC8C F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 /* 801DFD30 001DCC90 BF 01 01 90 */ stmw r24, 0x190(r1) /* 801DFD34 001DCC94 88 03 00 30 */ lbz r0, 0x30(r3) /* 801DFD38 001DCC98 FF E0 08 90 */ fmr f31, f1 /* 801DFD3C 001DCC9C 7C 7A 1B 78 */ mr r26, r3 /* 801DFD40 001DCCA0 7C 9B 23 78 */ mr r27, r4 /* 801DFD44 001DCCA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801DFD48 001DCCA8 41 82 07 FC */ beq lbl_801E0544 /* 801DFD4C 001DCCAC 80 7A 04 50 */ lwz r3, 0x450(r26) /* 801DFD50 001DCCB0 88 03 03 00 */ lbz r0, 0x300(r3) /* 801DFD54 001DCCB4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801DFD58 001DCCB8 41 82 07 EC */ beq lbl_801E0544 /* 801DFD5C 001DCCBC 80 1A 09 24 */ lwz r0, 0x924(r26) /* 801DFD60 001DCCC0 28 00 00 00 */ cmplwi r0, 0 /* 801DFD64 001DCCC4 40 82 00 30 */ bne lbl_801DFD94 /* 801DFD68 001DCCC8 88 1A 09 20 */ lbz r0, 0x920(r26) /* 801DFD6C 001DCCCC 28 00 00 00 */ cmplwi r0, 0 /* 801DFD70 001DCCD0 41 82 00 24 */ beq lbl_801DFD94 /* 801DFD74 001DCCD4 80 7A 09 1C */ lwz r3, 0x91c(r26) /* 801DFD78 001DCCD8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801DFD7C 001DCCDC 28 00 00 00 */ cmplwi r0, 0 /* 801DFD80 001DCCE0 41 82 00 14 */ beq lbl_801DFD94 /* 801DFD84 001DCCE4 38 7A 09 1C */ addi r3, r26, 0x91c /* 801DFD88 001DCCE8 48 16 10 85 */ bl GetObj__6CTokenFv /* 801DFD8C 001DCCEC 80 03 00 04 */ lwz r0, 4(r3) /* 801DFD90 001DCCF0 90 1A 09 24 */ stw r0, 0x924(r26) lbl_801DFD94: /* 801DFD94 001DCCF4 88 1A 07 C8 */ lbz r0, 0x7c8(r26) /* 801DFD98 001DCCF8 28 00 00 00 */ cmplwi r0, 0 /* 801DFD9C 001DCCFC 41 82 01 40 */ beq lbl_801DFEDC /* 801DFDA0 001DCD00 81 3B 08 4C */ lwz r9, 0x84c(r27) /* 801DFDA4 001DCD04 C0 3A 07 D0 */ lfs f1, 0x7d0(r26) /* 801DFDA8 001DCD08 C0 49 00 50 */ lfs f2, 0x50(r9) /* 801DFDAC 001DCD0C C0 69 00 60 */ lfs f3, 0x60(r9) /* 801DFDB0 001DCD10 C0 1A 07 D4 */ lfs f0, 0x7d4(r26) /* 801DFDB4 001DCD14 EC C2 08 28 */ fsubs f6, f2, f1 /* 801DFDB8 001DCD18 C0 49 00 40 */ lfs f2, 0x40(r9) /* 801DFDBC 001DCD1C C0 3A 07 CC */ lfs f1, 0x7cc(r26) /* 801DFDC0 001DCD20 EC A3 00 28 */ fsubs f5, f3, f0 /* 801DFDC4 001DCD24 EC 06 01 B2 */ fmuls f0, f6, f6 /* 801DFDC8 001DCD28 C0 82 AD 00 */ lfs f4, lbl_805ACA20@sda21(r2) /* 801DFDCC 001DCD2C EC 62 08 28 */ fsubs f3, f2, f1 /* 801DFDD0 001DCD30 D0 C1 00 98 */ stfs f6, 0x98(r1) /* 801DFDD4 001DCD34 EC 45 01 72 */ fmuls f2, f5, f5 /* 801DFDD8 001DCD38 D0 A1 00 9C */ stfs f5, 0x9c(r1) /* 801DFDDC 001DCD3C EC 23 00 F2 */ fmuls f1, f3, f3 /* 801DFDE0 001DCD40 D0 61 00 94 */ stfs f3, 0x94(r1) /* 801DFDE4 001DCD44 80 7A 00 64 */ lwz r3, 0x64(r26) /* 801DFDE8 001DCD48 EC 01 00 2A */ fadds f0, f1, f0 /* 801DFDEC 001DCD4C C0 63 00 00 */ lfs f3, 0(r3) /* 801DFDF0 001DCD50 EC 22 00 2A */ fadds f1, f2, f0 /* 801DFDF4 001DCD54 EC 44 00 F2 */ fmuls f2, f4, f3 /* 801DFDF8 001DCD58 EC 02 00 B2 */ fmuls f0, f2, f2 /* 801DFDFC 001DCD5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801DFE00 001DCD60 40 80 00 DC */ bge lbl_801DFEDC /* 801DFE04 001DCD64 88 C1 00 3C */ lbz r6, 0x3c(r1) /* 801DFE08 001DCD68 38 80 00 00 */ li r4, 0 /* 801DFE0C 001DCD6C 50 86 3E 30 */ rlwimi r6, r4, 7, 0x18, 0x18 /* 801DFE10 001DCD70 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DFE14 001DCD74 54 C5 06 3E */ clrlwi r5, r6, 0x18 /* 801DFE18 001DCD78 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 801DFE1C 001DCD7C 39 00 00 09 */ li r8, 9 /* 801DFE20 001DCD80 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801DFE24 001DCD84 50 85 36 72 */ rlwimi r5, r4, 6, 0x19, 0x19 /* 801DFE28 001DCD88 91 01 00 A0 */ stw r8, 0xa0(r1) /* 801DFE2C 001DCD8C 54 A7 06 3E */ clrlwi r7, r5, 0x18 /* 801DFE30 001DCD90 38 61 00 88 */ addi r3, r1, 0x88 /* 801DFE34 001DCD94 50 87 2E B4 */ rlwimi r7, r4, 5, 0x1a, 0x1a /* 801DFE38 001DCD98 98 C1 00 3C */ stb r6, 0x3c(r1) /* 801DFE3C 001DCD9C 38 81 00 94 */ addi r4, r1, 0x94 /* 801DFE40 001DCDA0 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801DFE44 001DCDA4 98 A1 00 3C */ stb r5, 0x3c(r1) /* 801DFE48 001DCDA8 98 E1 00 A4 */ stb r7, 0xa4(r1) /* 801DFE4C 001DCDAC D0 01 00 AC */ stfs f0, 0xac(r1) /* 801DFE50 001DCDB0 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801DFE54 001DCDB4 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801DFE58 001DCDB8 98 01 00 B8 */ stb r0, 0xb8(r1) /* 801DFE5C 001DCDBC A0 DA 00 08 */ lhz r6, 8(r26) /* 801DFE60 001DCDC0 91 01 00 38 */ stw r8, 0x38(r1) /* 801DFE64 001DCDC4 B0 C1 00 1C */ sth r6, 0x1c(r1) /* 801DFE68 001DCDC8 A0 A9 00 08 */ lhz r5, 8(r9) /* 801DFE6C 001DCDCC 98 E1 00 3C */ stb r7, 0x3c(r1) /* 801DFE70 001DCDD0 B0 A1 00 24 */ sth r5, 0x24(r1) /* 801DFE74 001DCDD4 A0 1A 00 08 */ lhz r0, 8(r26) /* 801DFE78 001DCDD8 B0 C1 00 18 */ sth r6, 0x18(r1) /* 801DFE7C 001DCDDC B0 A1 00 20 */ sth r5, 0x20(r1) /* 801DFE80 001DCDE0 B0 01 00 28 */ sth r0, 0x28(r1) /* 801DFE84 001DCDE4 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801DFE88 001DCDE8 48 13 49 C9 */ bl AsNormalized__9CVector3fCFv /* 801DFE8C 001DCDEC 3C 80 80 5A */ lis r4, lbl_8059FD18@ha /* 801DFE90 001DCDF0 7F 63 DB 78 */ mr r3, r27 /* 801DFE94 001DCDF4 39 04 FD 18 */ addi r8, r4, lbl_8059FD18@l /* 801DFE98 001DCDF8 38 A1 00 24 */ addi r5, r1, 0x24 /* 801DFE9C 001DCDFC 38 81 00 2C */ addi r4, r1, 0x2c /* 801DFEA0 001DCE00 38 C1 00 1C */ addi r6, r1, 0x1c /* 801DFEA4 001DCE04 38 E1 00 A0 */ addi r7, r1, 0xa0 /* 801DFEA8 001DCE08 39 21 00 88 */ addi r9, r1, 0x88 /* 801DFEAC 001DCE0C 4B E6 A1 F5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801DFEB0 001DCE10 38 00 00 01 */ li r0, 1 /* 801DFEB4 001DCE14 3C 60 80 5A */ lis r3, skZero3f@ha /* 801DFEB8 001DCE18 98 1A 06 88 */ stb r0, 0x688(r26) /* 801DFEBC 001DCE1C 38 00 00 00 */ li r0, 0 /* 801DFEC0 001DCE20 98 1A 07 C8 */ stb r0, 0x7c8(r26) /* 801DFEC4 001DCE24 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801DFEC8 001DCE28 D0 1A 07 CC */ stfs f0, 0x7cc(r26) /* 801DFECC 001DCE2C C0 03 00 04 */ lfs f0, 4(r3) /* 801DFED0 001DCE30 D0 1A 07 D0 */ stfs f0, 0x7d0(r26) /* 801DFED4 001DCE34 C0 03 00 08 */ lfs f0, 8(r3) /* 801DFED8 001DCE38 D0 1A 07 D4 */ stfs f0, 0x7d4(r26) lbl_801DFEDC: /* 801DFEDC 001DCE3C FC 20 F8 90 */ fmr f1, f31 /* 801DFEE0 001DCE40 7F 43 D3 78 */ mr r3, r26 /* 801DFEE4 001DCE44 7F 64 DB 78 */ mr r4, r27 /* 801DFEE8 001DCE48 4B FF C0 4D */ bl sub_801dbf34 /* 801DFEEC 001DCE4C 83 FA 06 14 */ lwz r31, 0x614(r26) /* 801DFEF0 001DCE50 7F 43 D3 78 */ mr r3, r26 /* 801DFEF4 001DCE54 4B FF C3 D5 */ bl sub_801dc2c8 /* 801DFEF8 001DCE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801DFEFC 001DCE5C 41 82 00 24 */ beq lbl_801DFF20 /* 801DFF00 001DCE60 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DFF04 001DCE64 7F 43 D3 78 */ mr r3, r26 /* 801DFF08 001DCE68 7F 65 DB 78 */ mr r5, r27 /* 801DFF0C 001DCE6C 38 80 00 11 */ li r4, 0x11 /* 801DFF10 001DCE70 D0 1A 06 90 */ stfs f0, 0x690(r26) /* 801DFF14 001DCE74 38 C0 FF FF */ li r6, -1 /* 801DFF18 001DCE78 4B E7 11 A9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801DFF1C 001DCE7C 48 00 00 2C */ b lbl_801DFF48 lbl_801DFF20: /* 801DFF20 001DCE80 80 7A 06 14 */ lwz r3, 0x614(r26) /* 801DFF24 001DCE84 80 9A 06 48 */ lwz r4, 0x648(r26) /* 801DFF28 001DCE88 38 03 FF FE */ addi r0, r3, -2 /* 801DFF2C 001DCE8C 7C 04 00 40 */ cmplw r4, r0 /* 801DFF30 001DCE90 41 80 00 10 */ blt lbl_801DFF40 /* 801DFF34 001DCE94 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DFF38 001DCE98 D0 1A 06 90 */ stfs f0, 0x690(r26) /* 801DFF3C 001DCE9C 48 00 00 0C */ b lbl_801DFF48 lbl_801DFF40: /* 801DFF40 001DCEA0 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DFF44 001DCEA4 D0 1A 06 90 */ stfs f0, 0x690(r26) lbl_801DFF48: /* 801DFF48 001DCEA8 88 1A 09 3C */ lbz r0, 0x93c(r26) /* 801DFF4C 001DCEAC 28 00 00 00 */ cmplwi r0, 0 /* 801DFF50 001DCEB0 40 82 00 28 */ bne lbl_801DFF78 /* 801DFF54 001DCEB4 C0 3A 06 90 */ lfs f1, 0x690(r26) /* 801DFF58 001DCEB8 38 60 00 00 */ li r3, 0 /* 801DFF5C 001DCEBC C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801DFF60 001DCEC0 D0 3A 03 B4 */ stfs f1, 0x3b4(r26) /* 801DFF64 001DCEC4 88 1A 04 02 */ lbz r0, 0x402(r26) /* 801DFF68 001DCEC8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801DFF6C 001DCECC 98 1A 04 02 */ stb r0, 0x402(r26) /* 801DFF70 001DCED0 D0 1A 05 04 */ stfs f0, 0x504(r26) /* 801DFF74 001DCED4 48 00 00 2C */ b lbl_801DFFA0 lbl_801DFF78: /* 801DFF78 001DCED8 C0 5A 06 90 */ lfs f2, 0x690(r26) /* 801DFF7C 001DCEDC 38 60 00 01 */ li r3, 1 /* 801DFF80 001DCEE0 C0 3A 06 94 */ lfs f1, 0x694(r26) /* 801DFF84 001DCEE4 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801DFF88 001DCEE8 EC 22 00 72 */ fmuls f1, f2, f1 /* 801DFF8C 001DCEEC D0 3A 03 B4 */ stfs f1, 0x3b4(r26) /* 801DFF90 001DCEF0 88 1A 04 02 */ lbz r0, 0x402(r26) /* 801DFF94 001DCEF4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801DFF98 001DCEF8 98 1A 04 02 */ stb r0, 0x402(r26) /* 801DFF9C 001DCEFC D0 1A 05 04 */ stfs f0, 0x504(r26) lbl_801DFFA0: /* 801DFFA0 001DCF00 FC 20 F8 90 */ fmr f1, f31 /* 801DFFA4 001DCF04 7F 43 D3 78 */ mr r3, r26 /* 801DFFA8 001DCF08 7F 64 DB 78 */ mr r4, r27 /* 801DFFAC 001DCF0C 4B E9 9B 6D */ bl Think__10CPatternedFfR13CStateManager /* 801DFFB0 001DCF10 80 1A 06 48 */ lwz r0, 0x648(r26) /* 801DFFB4 001DCF14 28 00 00 03 */ cmplwi r0, 3 /* 801DFFB8 001DCF18 41 80 00 1C */ blt lbl_801DFFD4 /* 801DFFBC 001DCF1C 88 1A 06 89 */ lbz r0, 0x689(r26) /* 801DFFC0 001DCF20 28 00 00 00 */ cmplwi r0, 0 /* 801DFFC4 001DCF24 40 82 00 10 */ bne lbl_801DFFD4 /* 801DFFC8 001DCF28 7F 43 D3 78 */ mr r3, r26 /* 801DFFCC 001DCF2C 7F 64 DB 78 */ mr r4, r27 /* 801DFFD0 001DCF30 4B FF C8 A9 */ bl sub_801dc878 lbl_801DFFD4: /* 801DFFD4 001DCF34 FC 20 F8 90 */ fmr f1, f31 /* 801DFFD8 001DCF38 80 7A 05 F0 */ lwz r3, 0x5f0(r26) /* 801DFFDC 001DCF3C 7F 64 DB 78 */ mr r4, r27 /* 801DFFE0 001DCF40 38 A0 00 00 */ li r5, 0 /* 801DFFE4 001DCF44 4B FC 74 6D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801DFFE8 001DCF48 FC 20 F8 90 */ fmr f1, f31 /* 801DFFEC 001DCF4C 80 7A 05 F4 */ lwz r3, 0x5f4(r26) /* 801DFFF0 001DCF50 7F 64 DB 78 */ mr r4, r27 /* 801DFFF4 001DCF54 38 A0 00 00 */ li r5, 0 /* 801DFFF8 001DCF58 4B FC 74 59 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801DFFFC 001DCF5C FC 20 F8 90 */ fmr f1, f31 /* 801E0000 001DCF60 80 7A 05 F8 */ lwz r3, 0x5f8(r26) /* 801E0004 001DCF64 7F 64 DB 78 */ mr r4, r27 /* 801E0008 001DCF68 38 A0 00 00 */ li r5, 0 /* 801E000C 001DCF6C 4B FC 74 45 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801E0010 001DCF70 7F 43 D3 78 */ mr r3, r26 /* 801E0014 001DCF74 7F 64 DB 78 */ mr r4, r27 /* 801E0018 001DCF78 4B FF D5 F1 */ bl sub_801dd608 /* 801E001C 001DCF7C 7F 43 D3 78 */ mr r3, r26 /* 801E0020 001DCF80 7F 64 DB 78 */ mr r4, r27 /* 801E0024 001DCF84 4B FF CF 81 */ bl sub_801dcfa4 /* 801E0028 001DCF88 80 7A 06 48 */ lwz r3, 0x648(r26) /* 801E002C 001DCF8C 80 1A 06 14 */ lwz r0, 0x614(r26) /* 801E0030 001DCF90 7C 03 00 40 */ cmplw r3, r0 /* 801E0034 001DCF94 41 80 00 28 */ blt lbl_801E005C /* 801E0038 001DCF98 81 9A 00 00 */ lwz r12, 0(r26) /* 801E003C 001DCF9C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801E0040 001DCFA0 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801E0044 001DCFA4 7F 43 D3 78 */ mr r3, r26 /* 801E0048 001DCFA8 81 8C 00 84 */ lwz r12, 0x84(r12) /* 801E004C 001DCFAC 7F 64 DB 78 */ mr r4, r27 /* 801E0050 001DCFB0 38 C0 00 14 */ li r6, 0x14 /* 801E0054 001DCFB4 7D 89 03 A6 */ mtctr r12 /* 801E0058 001DCFB8 4E 80 04 21 */ bctrl lbl_801E005C: /* 801E005C 001DCFBC 80 7B 08 B8 */ lwz r3, 0x8b8(r27) /* 801E0060 001DCFC0 80 63 00 00 */ lwz r3, 0(r3) /* 801E0064 001DCFC4 80 03 00 14 */ lwz r0, 0x14(r3) /* 801E0068 001DCFC8 2C 00 00 03 */ cmpwi r0, 3 /* 801E006C 001DCFCC 40 82 00 F8 */ bne lbl_801E0164 /* 801E0070 001DCFD0 88 1A 04 02 */ lbz r0, 0x402(r26) /* 801E0074 001DCFD4 38 60 00 00 */ li r3, 0 /* 801E0078 001DCFD8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801E007C 001DCFDC 7F 43 D3 78 */ mr r3, r26 /* 801E0080 001DCFE0 98 1A 04 02 */ stb r0, 0x402(r26) /* 801E0084 001DCFE4 7F 66 DB 78 */ mr r6, r27 /* 801E0088 001DCFE8 38 80 00 00 */ li r4, 0 /* 801E008C 001DCFEC 38 A0 00 12 */ li r5, 0x12 /* 801E0090 001DCFF0 4B FF D2 5D */ bl sub_801dd2ec /* 801E0094 001DCFF4 3B 00 00 00 */ li r24, 0 /* 801E0098 001DCFF8 3B 20 00 00 */ li r25, 0 /* 801E009C 001DCFFC 48 00 00 A8 */ b lbl_801E0144 lbl_801E00A0: /* 801E00A0 001DD000 80 BA 06 1C */ lwz r5, 0x61c(r26) /* 801E00A4 001DD004 7F 63 DB 78 */ mr r3, r27 /* 801E00A8 001DD008 38 81 00 14 */ addi r4, r1, 0x14 /* 801E00AC 001DD00C 7C 05 CA 2E */ lhzx r0, r5, r25 /* 801E00B0 001DD010 B0 01 00 14 */ sth r0, 0x14(r1) /* 801E00B4 001DD014 4B E6 C4 C1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E00B8 001DD018 7C 7C 1B 79 */ or. r28, r3, r3 /* 801E00BC 001DD01C 41 82 00 80 */ beq lbl_801E013C /* 801E00C0 001DD020 80 1A 06 48 */ lwz r0, 0x648(r26) /* 801E00C4 001DD024 7C 18 00 40 */ cmplw r24, r0 /* 801E00C8 001DD028 40 82 00 54 */ bne lbl_801E011C /* 801E00CC 001DD02C 88 1A 06 88 */ lbz r0, 0x688(r26) /* 801E00D0 001DD030 28 00 00 00 */ cmplwi r0, 0 /* 801E00D4 001DD034 40 82 00 48 */ bne lbl_801E011C /* 801E00D8 001DD038 88 1A 09 3C */ lbz r0, 0x93c(r26) /* 801E00DC 001DD03C 28 00 00 00 */ cmplwi r0, 0 /* 801E00E0 001DD040 40 82 00 3C */ bne lbl_801E011C /* 801E00E4 001DD044 88 1A 09 09 */ lbz r0, 0x909(r26) /* 801E00E8 001DD048 28 00 00 00 */ cmplwi r0, 0 /* 801E00EC 001DD04C 40 82 00 30 */ bne lbl_801E011C /* 801E00F0 001DD050 88 1A 09 3D */ lbz r0, 0x93d(r26) /* 801E00F4 001DD054 28 00 00 00 */ cmplwi r0, 0 /* 801E00F8 001DD058 40 82 00 24 */ bne lbl_801E011C /* 801E00FC 001DD05C 7F 65 DB 78 */ mr r5, r27 /* 801E0100 001DD060 38 80 00 29 */ li r4, 0x29 /* 801E0104 001DD064 4B E7 42 4D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E0108 001DD068 7F 83 E3 78 */ mr r3, r28 /* 801E010C 001DD06C 7F 65 DB 78 */ mr r5, r27 /* 801E0110 001DD070 38 80 00 28 */ li r4, 0x28 /* 801E0114 001DD074 4B E7 42 3D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E0118 001DD078 48 00 00 24 */ b lbl_801E013C lbl_801E011C: /* 801E011C 001DD07C 7F 83 E3 78 */ mr r3, r28 /* 801E0120 001DD080 7F 65 DB 78 */ mr r5, r27 /* 801E0124 001DD084 38 80 00 29 */ li r4, 0x29 /* 801E0128 001DD088 4B E7 3E 59 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E012C 001DD08C 7F 83 E3 78 */ mr r3, r28 /* 801E0130 001DD090 7F 65 DB 78 */ mr r5, r27 /* 801E0134 001DD094 38 80 00 28 */ li r4, 0x28 /* 801E0138 001DD098 4B E7 3E 49 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_801E013C: /* 801E013C 001DD09C 3B 18 00 01 */ addi r24, r24, 1 /* 801E0140 001DD0A0 3B 39 00 02 */ addi r25, r25, 2 lbl_801E0144: /* 801E0144 001DD0A4 7C 18 F8 40 */ cmplw r24, r31 /* 801E0148 001DD0A8 41 80 FF 58 */ blt lbl_801E00A0 /* 801E014C 001DD0AC 88 1A 06 88 */ lbz r0, 0x688(r26) /* 801E0150 001DD0B0 28 00 00 00 */ cmplwi r0, 0 /* 801E0154 001DD0B4 41 82 01 D8 */ beq lbl_801E032C /* 801E0158 001DD0B8 38 00 00 00 */ li r0, 0 /* 801E015C 001DD0BC 98 1A 06 88 */ stb r0, 0x688(r26) /* 801E0160 001DD0C0 48 00 01 CC */ b lbl_801E032C lbl_801E0164: /* 801E0164 001DD0C4 88 1A 04 02 */ lbz r0, 0x402(r26) /* 801E0168 001DD0C8 38 60 00 01 */ li r3, 1 /* 801E016C 001DD0CC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801E0170 001DD0D0 7F 43 D3 78 */ mr r3, r26 /* 801E0174 001DD0D4 98 1A 04 02 */ stb r0, 0x402(r26) /* 801E0178 001DD0D8 7F 66 DB 78 */ mr r6, r27 /* 801E017C 001DD0DC 38 80 00 01 */ li r4, 1 /* 801E0180 001DD0E0 38 A0 00 12 */ li r5, 0x12 /* 801E0184 001DD0E4 4B FF D1 69 */ bl sub_801dd2ec /* 801E0188 001DD0E8 83 DA 06 14 */ lwz r30, 0x614(r26) /* 801E018C 001DD0EC 3B A0 00 00 */ li r29, 0 /* 801E0190 001DD0F0 3B 20 00 00 */ li r25, 0 /* 801E0194 001DD0F4 48 00 01 90 */ b lbl_801E0324 lbl_801E0198: /* 801E0198 001DD0F8 80 BA 06 1C */ lwz r5, 0x61c(r26) /* 801E019C 001DD0FC 7F 63 DB 78 */ mr r3, r27 /* 801E01A0 001DD100 38 81 00 10 */ addi r4, r1, 0x10 /* 801E01A4 001DD104 7C 05 CA 2E */ lhzx r0, r5, r25 /* 801E01A8 001DD108 B0 01 00 10 */ sth r0, 0x10(r1) /* 801E01AC 001DD10C 4B E6 C3 C9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E01B0 001DD110 7C 7C 1B 79 */ or. r28, r3, r3 /* 801E01B4 001DD114 41 82 01 68 */ beq lbl_801E031C /* 801E01B8 001DD118 88 1A 06 88 */ lbz r0, 0x688(r26) /* 801E01BC 001DD11C 3B FC 00 10 */ addi r31, r28, 0x10 /* 801E01C0 001DD120 28 00 00 00 */ cmplwi r0, 0 /* 801E01C4 001DD124 40 82 00 28 */ bne lbl_801E01EC /* 801E01C8 001DD128 88 1A 09 3C */ lbz r0, 0x93c(r26) /* 801E01CC 001DD12C 28 00 00 00 */ cmplwi r0, 0 /* 801E01D0 001DD130 40 82 00 1C */ bne lbl_801E01EC /* 801E01D4 001DD134 88 1A 09 09 */ lbz r0, 0x909(r26) /* 801E01D8 001DD138 28 00 00 00 */ cmplwi r0, 0 /* 801E01DC 001DD13C 40 82 00 10 */ bne lbl_801E01EC /* 801E01E0 001DD140 88 1A 09 3D */ lbz r0, 0x93d(r26) /* 801E01E4 001DD144 28 00 00 00 */ cmplwi r0, 0 /* 801E01E8 001DD148 41 82 00 30 */ beq lbl_801E0218 lbl_801E01EC: /* 801E01EC 001DD14C 38 00 00 00 */ li r0, 0 /* 801E01F0 001DD150 7F 83 E3 78 */ mr r3, r28 /* 801E01F4 001DD154 98 1A 06 88 */ stb r0, 0x688(r26) /* 801E01F8 001DD158 7F 65 DB 78 */ mr r5, r27 /* 801E01FC 001DD15C 38 80 00 29 */ li r4, 0x29 /* 801E0200 001DD160 4B E7 3D 81 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E0204 001DD164 7F 83 E3 78 */ mr r3, r28 /* 801E0208 001DD168 7F 65 DB 78 */ mr r5, r27 /* 801E020C 001DD16C 38 80 00 28 */ li r4, 0x28 /* 801E0210 001DD170 4B E7 3D 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E0214 001DD174 48 00 01 08 */ b lbl_801E031C lbl_801E0218: /* 801E0218 001DD178 80 82 AC C8 */ lwz r4, lbl_805AC9E8@sda21(r2) /* 801E021C 001DD17C 38 61 00 78 */ addi r3, r1, 0x78 /* 801E0220 001DD180 4B E2 4A 99 */ bl string_l__4rstlFPCc /* 801E0224 001DD184 7F E3 FB 78 */ mr r3, r31 /* 801E0228 001DD188 38 81 00 78 */ addi r4, r1, 0x78 /* 801E022C 001DD18C 4B E7 23 B5 */ 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" /* 801E0230 001DD190 7C 78 1B 78 */ mr r24, r3 /* 801E0234 001DD194 38 61 00 78 */ addi r3, r1, 0x78 /* 801E0238 001DD198 48 15 D8 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E023C 001DD19C 57 00 06 3F */ clrlwi. r0, r24, 0x18 /* 801E0240 001DD1A0 41 82 00 48 */ beq lbl_801E0288 /* 801E0244 001DD1A4 80 7A 06 BC */ lwz r3, 0x6bc(r26) /* 801E0248 001DD1A8 80 9A 06 48 */ lwz r4, 0x648(r26) /* 801E024C 001DD1AC 7C 03 20 AE */ lbzx r0, r3, r4 /* 801E0250 001DD1B0 28 00 00 00 */ cmplwi r0, 0 /* 801E0254 001DD1B4 41 82 00 34 */ beq lbl_801E0288 /* 801E0258 001DD1B8 38 1E FF FF */ addi r0, r30, -1 /* 801E025C 001DD1BC 7C 04 00 40 */ cmplw r4, r0 /* 801E0260 001DD1C0 41 82 00 28 */ beq lbl_801E0288 /* 801E0264 001DD1C4 7F 83 E3 78 */ mr r3, r28 /* 801E0268 001DD1C8 7F 65 DB 78 */ mr r5, r27 /* 801E026C 001DD1CC 38 80 00 29 */ li r4, 0x29 /* 801E0270 001DD1D0 4B E7 3D 11 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E0274 001DD1D4 7F 83 E3 78 */ mr r3, r28 /* 801E0278 001DD1D8 7F 65 DB 78 */ mr r5, r27 /* 801E027C 001DD1DC 38 80 00 28 */ li r4, 0x28 /* 801E0280 001DD1E0 4B E7 3D 01 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E0284 001DD1E4 48 00 00 98 */ b lbl_801E031C lbl_801E0288: /* 801E0288 001DD1E8 80 7A 06 BC */ lwz r3, 0x6bc(r26) /* 801E028C 001DD1EC 7C 03 E8 AE */ lbzx r0, r3, r29 /* 801E0290 001DD1F0 28 00 00 00 */ cmplwi r0, 0 /* 801E0294 001DD1F4 40 82 00 44 */ bne lbl_801E02D8 /* 801E0298 001DD1F8 80 82 AC C8 */ lwz r4, lbl_805AC9E8@sda21(r2) /* 801E029C 001DD1FC 38 61 00 68 */ addi r3, r1, 0x68 /* 801E02A0 001DD200 4B E2 4A 19 */ bl string_l__4rstlFPCc /* 801E02A4 001DD204 7F E3 FB 78 */ mr r3, r31 /* 801E02A8 001DD208 38 81 00 68 */ addi r4, r1, 0x68 /* 801E02AC 001DD20C 4B E7 23 35 */ 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" /* 801E02B0 001DD210 7C 7F 1B 78 */ mr r31, r3 /* 801E02B4 001DD214 38 61 00 68 */ addi r3, r1, 0x68 /* 801E02B8 001DD218 48 15 D8 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E02BC 001DD21C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801E02C0 001DD220 41 82 00 3C */ beq lbl_801E02FC /* 801E02C4 001DD224 80 7A 06 BC */ lwz r3, 0x6bc(r26) /* 801E02C8 001DD228 80 1A 06 48 */ lwz r0, 0x648(r26) /* 801E02CC 001DD22C 7C 03 00 AE */ lbzx r0, r3, r0 /* 801E02D0 001DD230 28 00 00 00 */ cmplwi r0, 0 /* 801E02D4 001DD234 40 82 00 28 */ bne lbl_801E02FC lbl_801E02D8: /* 801E02D8 001DD238 7F 83 E3 78 */ mr r3, r28 /* 801E02DC 001DD23C 7F 65 DB 78 */ mr r5, r27 /* 801E02E0 001DD240 38 80 00 29 */ li r4, 0x29 /* 801E02E4 001DD244 4B E7 40 6D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E02E8 001DD248 7F 83 E3 78 */ mr r3, r28 /* 801E02EC 001DD24C 7F 65 DB 78 */ mr r5, r27 /* 801E02F0 001DD250 38 80 00 28 */ li r4, 0x28 /* 801E02F4 001DD254 4B E7 40 5D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E02F8 001DD258 48 00 00 24 */ b lbl_801E031C lbl_801E02FC: /* 801E02FC 001DD25C 7F 83 E3 78 */ mr r3, r28 /* 801E0300 001DD260 7F 65 DB 78 */ mr r5, r27 /* 801E0304 001DD264 38 80 00 29 */ li r4, 0x29 /* 801E0308 001DD268 4B E7 3C 79 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E030C 001DD26C 7F 83 E3 78 */ mr r3, r28 /* 801E0310 001DD270 7F 65 DB 78 */ mr r5, r27 /* 801E0314 001DD274 38 80 00 28 */ li r4, 0x28 /* 801E0318 001DD278 4B E7 3C 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_801E031C: /* 801E031C 001DD27C 3B BD 00 01 */ addi r29, r29, 1 /* 801E0320 001DD280 3B 39 00 02 */ addi r25, r25, 2 lbl_801E0324: /* 801E0324 001DD284 7C 1D F0 40 */ cmplw r29, r30 /* 801E0328 001DD288 41 80 FE 70 */ blt lbl_801E0198 lbl_801E032C: /* 801E032C 001DD28C 80 1A 06 44 */ lwz r0, 0x644(r26) /* 801E0330 001DD290 2C 00 00 01 */ cmpwi r0, 1 /* 801E0334 001DD294 40 82 01 BC */ bne lbl_801E04F0 /* 801E0338 001DD298 80 9A 05 F0 */ lwz r4, 0x5f0(r26) /* 801E033C 001DD29C 7F 43 D3 78 */ mr r3, r26 /* 801E0340 001DD2A0 7F 67 DB 78 */ mr r7, r27 /* 801E0344 001DD2A4 38 A0 00 00 */ li r5, 0 /* 801E0348 001DD2A8 38 C0 00 20 */ li r6, 0x20 /* 801E034C 001DD2AC 4B FF D0 91 */ bl sub_801dd3dc /* 801E0350 001DD2B0 80 9A 05 F4 */ lwz r4, 0x5f4(r26) /* 801E0354 001DD2B4 7F 43 D3 78 */ mr r3, r26 /* 801E0358 001DD2B8 7F 67 DB 78 */ mr r7, r27 /* 801E035C 001DD2BC 38 A0 00 00 */ li r5, 0 /* 801E0360 001DD2C0 38 C0 00 20 */ li r6, 0x20 /* 801E0364 001DD2C4 4B FF D0 79 */ bl sub_801dd3dc /* 801E0368 001DD2C8 80 9A 05 F8 */ lwz r4, 0x5f8(r26) /* 801E036C 001DD2CC 7F 43 D3 78 */ mr r3, r26 /* 801E0370 001DD2D0 7F 67 DB 78 */ mr r7, r27 /* 801E0374 001DD2D4 38 A0 00 00 */ li r5, 0 /* 801E0378 001DD2D8 38 C0 00 20 */ li r6, 0x20 /* 801E037C 001DD2DC 4B FF D0 61 */ bl sub_801dd3dc /* 801E0380 001DD2E0 88 1A 09 3C */ lbz r0, 0x93c(r26) /* 801E0384 001DD2E4 28 00 00 00 */ cmplwi r0, 0 /* 801E0388 001DD2E8 41 82 01 B0 */ beq lbl_801E0538 /* 801E038C 001DD2EC C0 3A 06 F8 */ lfs f1, 0x6f8(r26) /* 801E0390 001DD2F0 C0 02 AD 34 */ lfs f0, lbl_805ACA54@sda21(r2) /* 801E0394 001DD2F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E0398 001DD2F8 4C 41 13 82 */ cror 2, 1, 2 /* 801E039C 001DD2FC 40 82 00 C4 */ bne lbl_801E0460 /* 801E03A0 001DD300 80 9B 08 70 */ lwz r4, 0x870(r27) /* 801E03A4 001DD304 38 61 00 0C */ addi r3, r1, 0xc /* 801E03A8 001DD308 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 801E03AC 001DD30C A3 05 00 08 */ lhz r24, 8(r5) /* 801E03B0 001DD310 4B E2 B8 29 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 801E03B4 001DD314 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801E03B8 001DD318 7C 00 C0 40 */ cmplw r0, r24 /* 801E03BC 001DD31C 40 82 00 98 */ bne lbl_801E0454 /* 801E03C0 001DD320 C0 3A 00 40 */ lfs f1, 0x40(r26) /* 801E03C4 001DD324 38 61 00 BC */ addi r3, r1, 0xbc /* 801E03C8 001DD328 C0 5A 00 50 */ lfs f2, 0x50(r26) /* 801E03CC 001DD32C 38 81 00 5C */ addi r4, r1, 0x5c /* 801E03D0 001DD330 C0 1A 00 60 */ lfs f0, 0x60(r26) /* 801E03D4 001DD334 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801E03D8 001DD338 C0 22 AD 0C */ lfs f1, lbl_805ACA2C@sda21(r2) /* 801E03DC 001DD33C D0 41 00 54 */ stfs f2, 0x54(r1) /* 801E03E0 001DD340 80 C1 00 50 */ lwz r6, 0x50(r1) /* 801E03E4 001DD344 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801E03E8 001DD348 80 A1 00 54 */ lwz r5, 0x54(r1) /* 801E03EC 001DD34C 80 01 00 58 */ lwz r0, 0x58(r1) /* 801E03F0 001DD350 90 C1 00 5C */ stw r6, 0x5c(r1) /* 801E03F4 001DD354 C0 42 AD 10 */ lfs f2, lbl_805ACA30@sda21(r2) /* 801E03F8 001DD358 90 A1 00 60 */ stw r5, 0x60(r1) /* 801E03FC 001DD35C C0 62 AD 50 */ lfs f3, lbl_805ACA70@sda21(r2) /* 801E0400 001DD360 90 01 00 64 */ stw r0, 0x64(r1) /* 801E0404 001DD364 4B F7 D0 C1 */ bl BuildMissileShakeData__16CCameraShakeDataFfffRC9CVector3f /* 801E0408 001DD368 80 7B 08 70 */ lwz r3, 0x870(r27) /* 801E040C 001DD36C 38 81 00 BC */ addi r4, r1, 0xbc /* 801E0410 001DD370 38 A0 00 01 */ li r5, 1 /* 801E0414 001DD374 4B E2 A6 0D */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801E0418 001DD378 34 81 01 3C */ addic. r4, r1, 0x13c /* 801E041C 001DD37C 41 82 00 10 */ beq lbl_801E042C /* 801E0420 001DD380 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801E0424 001DD384 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801E0428 001DD388 90 04 00 00 */ stw r0, 0(r4) lbl_801E042C: /* 801E042C 001DD38C 34 81 01 00 */ addic. r4, r1, 0x100 /* 801E0430 001DD390 41 82 00 10 */ beq lbl_801E0440 /* 801E0434 001DD394 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801E0438 001DD398 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801E043C 001DD39C 90 04 00 00 */ stw r0, 0(r4) lbl_801E0440: /* 801E0440 001DD3A0 34 81 00 C4 */ addic. r4, r1, 0xc4 /* 801E0444 001DD3A4 41 82 00 10 */ beq lbl_801E0454 /* 801E0448 001DD3A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801E044C 001DD3AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801E0450 001DD3B0 90 04 00 00 */ stw r0, 0(r4) lbl_801E0454: /* 801E0454 001DD3B4 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E0458 001DD3B8 D0 1A 06 F8 */ stfs f0, 0x6f8(r26) /* 801E045C 001DD3BC 48 00 00 0C */ b lbl_801E0468 lbl_801E0460: /* 801E0460 001DD3C0 EC 01 F8 2A */ fadds f0, f1, f31 /* 801E0464 001DD3C4 D0 1A 06 F8 */ stfs f0, 0x6f8(r26) lbl_801E0468: /* 801E0468 001DD3C8 80 9B 08 70 */ lwz r4, 0x870(r27) /* 801E046C 001DD3CC 38 61 00 08 */ addi r3, r1, 8 /* 801E0470 001DD3D0 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 801E0474 001DD3D4 A3 05 00 08 */ lhz r24, 8(r5) /* 801E0478 001DD3D8 4B E2 B7 61 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 801E047C 001DD3DC A0 01 00 08 */ lhz r0, 8(r1) /* 801E0480 001DD3E0 7C 00 C0 40 */ cmplw r0, r24 /* 801E0484 001DD3E4 41 82 00 B4 */ beq lbl_801E0538 /* 801E0488 001DD3E8 88 1A 09 5D */ lbz r0, 0x95d(r26) /* 801E048C 001DD3EC 28 00 00 01 */ cmplwi r0, 1 /* 801E0490 001DD3F0 40 80 00 A8 */ bge lbl_801E0538 /* 801E0494 001DD3F4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 801E0498 001DD3F8 38 80 00 68 */ li r4, 0x68 /* 801E049C 001DD3FC 48 17 62 61 */ bl GetString__12CStringTableCFi /* 801E04A0 001DD400 7C 60 1B 78 */ mr r0, r3 /* 801E04A4 001DD404 38 61 00 40 */ addi r3, r1, 0x40 /* 801E04A8 001DD408 7C 04 03 78 */ mr r4, r0 /* 801E04AC 001DD40C 4B E3 55 45 */ bl wstring_l__4rstlFPCw /* 801E04B0 001DD410 C0 02 AD 18 */ lfs f0, lbl_805ACA38@sda21(r2) /* 801E04B4 001DD414 38 00 00 00 */ li r0, 0 /* 801E04B8 001DD418 38 A0 00 01 */ li r5, 1 /* 801E04BC 001DD41C 98 01 00 35 */ stb r0, 0x35(r1) /* 801E04C0 001DD420 38 61 00 40 */ addi r3, r1, 0x40 /* 801E04C4 001DD424 38 81 00 30 */ addi r4, r1, 0x30 /* 801E04C8 001DD428 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801E04CC 001DD42C 98 A1 00 34 */ stb r5, 0x34(r1) /* 801E04D0 001DD430 98 01 00 36 */ stb r0, 0x36(r1) /* 801E04D4 001DD434 4B E8 B7 95 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo /* 801E04D8 001DD438 38 61 00 40 */ addi r3, r1, 0x40 /* 801E04DC 001DD43C 48 15 CC 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E04E0 001DD440 88 7A 09 5D */ lbz r3, 0x95d(r26) /* 801E04E4 001DD444 38 03 00 01 */ addi r0, r3, 1 /* 801E04E8 001DD448 98 1A 09 5D */ stb r0, 0x95d(r26) /* 801E04EC 001DD44C 48 00 00 4C */ b lbl_801E0538 lbl_801E04F0: /* 801E04F0 001DD450 80 9A 05 F0 */ lwz r4, 0x5f0(r26) /* 801E04F4 001DD454 7F 43 D3 78 */ mr r3, r26 /* 801E04F8 001DD458 7F 67 DB 78 */ mr r7, r27 /* 801E04FC 001DD45C 38 A0 00 01 */ li r5, 1 /* 801E0500 001DD460 38 C0 00 20 */ li r6, 0x20 /* 801E0504 001DD464 4B FF CE D9 */ bl sub_801dd3dc /* 801E0508 001DD468 80 9A 05 F4 */ lwz r4, 0x5f4(r26) /* 801E050C 001DD46C 7F 43 D3 78 */ mr r3, r26 /* 801E0510 001DD470 7F 67 DB 78 */ mr r7, r27 /* 801E0514 001DD474 38 A0 00 01 */ li r5, 1 /* 801E0518 001DD478 38 C0 00 20 */ li r6, 0x20 /* 801E051C 001DD47C 4B FF CE C1 */ bl sub_801dd3dc /* 801E0520 001DD480 80 9A 05 F8 */ lwz r4, 0x5f8(r26) /* 801E0524 001DD484 7F 43 D3 78 */ mr r3, r26 /* 801E0528 001DD488 7F 67 DB 78 */ mr r7, r27 /* 801E052C 001DD48C 38 A0 00 01 */ li r5, 1 /* 801E0530 001DD490 38 C0 00 20 */ li r6, 0x20 /* 801E0534 001DD494 4B FF CE A9 */ bl sub_801dd3dc lbl_801E0538: /* 801E0538 001DD498 7F 43 D3 78 */ mr r3, r26 /* 801E053C 001DD49C 7F 64 DB 78 */ mr r4, r27 /* 801E0540 001DD4A0 4B FF AC 09 */ bl sub_801db148 lbl_801E0544: /* 801E0544 001DD4A4 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 /* 801E0548 001DD4A8 CB E1 01 B0 */ lfd f31, 0x1b0(r1) /* 801E054C 001DD4AC BB 01 01 90 */ lmw r24, 0x190(r1) /* 801E0550 001DD4B0 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 801E0554 001DD4B4 7C 08 03 A6 */ mtlr r0 /* 801E0558 001DD4B8 38 21 01 C0 */ addi r1, r1, 0x1c0 .global sub_801e055c sub_801e055c: /* 801E055C 001DD4BC 4E 80 00 20 */ blr .global DoUserAnimEvent__8CThardusFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__8CThardusFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 801E0560 001DD4C0 94 21 FA 90 */ stwu r1, -0x570(r1) /* 801E0564 001DD4C4 7C 08 02 A6 */ mflr r0 /* 801E0568 001DD4C8 90 01 05 74 */ stw r0, 0x574(r1) /* 801E056C 001DD4CC DB E1 05 60 */ stfd f31, 0x560(r1) /* 801E0570 001DD4D0 F3 E1 05 68 */ psq_st f31, 1384(r1), 0, qr0 /* 801E0574 001DD4D4 DB C1 05 50 */ stfd f30, 0x550(r1) /* 801E0578 001DD4D8 F3 C1 05 58 */ psq_st f30, 1368(r1), 0, qr0 /* 801E057C 001DD4DC DB A1 05 40 */ stfd f29, 0x540(r1) /* 801E0580 001DD4E0 F3 A1 05 48 */ psq_st f29, 1352(r1), 0, qr0 /* 801E0584 001DD4E4 DB 81 05 30 */ stfd f28, 0x530(r1) /* 801E0588 001DD4E8 F3 81 05 38 */ psq_st f28, 1336(r1), 0, qr0 /* 801E058C 001DD4EC DB 61 05 20 */ stfd f27, 0x520(r1) /* 801E0590 001DD4F0 F3 61 05 28 */ psq_st f27, 1320(r1), 0, qr0 /* 801E0594 001DD4F4 BE E1 04 FC */ stmw r23, 0x4fc(r1) /* 801E0598 001DD4F8 28 06 00 11 */ cmplwi r6, 0x11 /* 801E059C 001DD4FC 7C 7E 1B 78 */ mr r30, r3 /* 801E05A0 001DD500 7C 9F 23 78 */ mr r31, r4 /* 801E05A4 001DD504 41 81 0A D8 */ bgt lbl_801E107C /* 801E05A8 001DD508 3C E0 80 3E */ lis r7, lbl_803E5FAC@ha /* 801E05AC 001DD50C 54 C0 10 3A */ slwi r0, r6, 2 /* 801E05B0 001DD510 38 E7 5F AC */ addi r7, r7, lbl_803E5FAC@l /* 801E05B4 001DD514 7C 07 00 2E */ lwzx r0, r7, r0 /* 801E05B8 001DD518 7C 09 03 A6 */ mtctr r0 /* 801E05BC 001DD51C 4E 80 04 20 */ bctr /* 801E05C0 001DD520 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E05C4 001DD524 48 13 1F 5D */ bl Next__9CRandom16Fv /* 801E05C8 001DD528 54 64 0F FE */ srwi r4, r3, 0x1f /* 801E05CC 001DD52C 54 60 07 FE */ clrlwi r0, r3, 0x1f /* 801E05D0 001DD530 7C 00 22 78 */ xor r0, r0, r4 /* 801E05D4 001DD534 7F C3 F3 78 */ mr r3, r30 /* 801E05D8 001DD538 7E E4 00 50 */ subf r23, r4, r0 /* 801E05DC 001DD53C 4B FF BC ED */ bl sub_801dc2c8 /* 801E05E0 001DD540 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E05E4 001DD544 38 60 00 03 */ li r3, 3 /* 801E05E8 001DD548 41 82 00 08 */ beq lbl_801E05F0 /* 801E05EC 001DD54C 38 60 00 06 */ li r3, 6 lbl_801E05F0: /* 801E05F0 001DD550 7F 97 18 50 */ subf r28, r23, r3 /* 801E05F4 001DD554 93 9E 09 40 */ stw r28, 0x940(r30) /* 801E05F8 001DD558 80 1E 07 9C */ lwz r0, 0x79c(r30) /* 801E05FC 001DD55C 80 7E 07 A4 */ lwz r3, 0x7a4(r30) /* 801E0600 001DD560 54 00 08 3C */ slwi r0, r0, 1 /* 801E0604 001DD564 7C 03 02 14 */ add r0, r3, r0 /* 801E0608 001DD568 90 61 00 70 */ stw r3, 0x70(r1) /* 801E060C 001DD56C 90 01 00 78 */ stw r0, 0x78(r1) /* 801E0610 001DD570 90 01 00 74 */ stw r0, 0x74(r1) /* 801E0614 001DD574 90 61 00 6C */ stw r3, 0x6c(r1) /* 801E0618 001DD578 48 00 00 08 */ b lbl_801E0620 lbl_801E061C: /* 801E061C 001DD57C 38 63 00 02 */ addi r3, r3, 2 lbl_801E0620: /* 801E0620 001DD580 7C 03 00 40 */ cmplw r3, r0 /* 801E0624 001DD584 40 82 FF F8 */ bne lbl_801E061C /* 801E0628 001DD588 38 00 00 00 */ li r0, 0 /* 801E062C 001DD58C 3C 60 80 3D */ lis r3, lbl_803D1BD8@ha /* 801E0630 001DD590 90 1E 07 9C */ stw r0, 0x79c(r30) /* 801E0634 001DD594 3B A3 1B D8 */ addi r29, r3, lbl_803D1BD8@l /* 801E0638 001DD598 3B 60 00 00 */ li r27, 0 /* 801E063C 001DD59C 48 00 02 F4 */ b lbl_801E0930 lbl_801E0640: /* 801E0640 001DD5A0 7F E4 FB 78 */ mr r4, r31 /* 801E0644 001DD5A4 38 61 00 EC */ addi r3, r1, 0xec /* 801E0648 001DD5A8 38 BE 06 0C */ addi r5, r30, 0x60c /* 801E064C 001DD5AC 4B E6 7C 9D */ bl GenerateObject__13CStateManagerF9TEditorId /* 801E0650 001DD5B0 A0 81 00 F0 */ lhz r4, 0xf0(r1) /* 801E0654 001DD5B4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E0658 001DD5B8 54 83 04 3E */ clrlwi r3, r4, 0x10 /* 801E065C 001DD5BC B0 81 00 58 */ sth r4, 0x58(r1) /* 801E0660 001DD5C0 7C 03 00 40 */ cmplw r3, r0 /* 801E0664 001DD5C4 41 82 02 C4 */ beq lbl_801E0928 /* 801E0668 001DD5C8 B0 81 00 50 */ sth r4, 0x50(r1) /* 801E066C 001DD5CC 7F E3 FB 78 */ mr r3, r31 /* 801E0670 001DD5D0 38 81 00 50 */ addi r4, r1, 0x50 /* 801E0674 001DD5D4 4B E6 BF 01 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E0678 001DD5D8 7C 64 1B 78 */ mr r4, r3 /* 801E067C 001DD5DC 38 61 00 88 */ addi r3, r1, 0x88 /* 801E0680 001DD5E0 4B EC 4D 1D */ bl sub_800a539c /* 801E0684 001DD5E4 4B EC 4C ED */ bl "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity" /* 801E0688 001DD5E8 7C 7A 1B 79 */ or. r26, r3, r3 /* 801E068C 001DD5EC 41 82 02 9C */ beq lbl_801E0928 /* 801E0690 001DD5F0 81 83 00 00 */ lwz r12, 0(r3) /* 801E0694 001DD5F4 38 80 00 01 */ li r4, 1 /* 801E0698 001DD5F8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E069C 001DD5FC 7D 89 03 A6 */ mtctr r12 /* 801E06A0 001DD600 4E 80 04 21 */ bctrl /* 801E06A4 001DD604 7F 43 D3 78 */ mr r3, r26 /* 801E06A8 001DD608 7F E4 FB 78 */ mr r4, r31 /* 801E06AC 001DD60C 38 A0 00 01 */ li r5, 1 /* 801E06B0 001DD610 48 02 38 65 */ bl SetChildrenActive__22CThardusRockProjectileFR13CStateManagerb /* 801E06B4 001DD614 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801E06B8 001DD618 38 61 03 B0 */ addi r3, r1, 0x3b0 /* 801E06BC 001DD61C 38 9E 00 34 */ addi r4, r30, 0x34 /* 801E06C0 001DD620 C3 85 00 00 */ lfs f28, 0(r5) /* 801E06C4 001DD624 C3 65 00 04 */ lfs f27, 4(r5) /* 801E06C8 001DD628 C3 C5 00 08 */ lfs f30, 8(r5) /* 801E06CC 001DD62C 48 13 2A 29 */ bl BuildMatrix3f__12CTransform4fCFv /* 801E06D0 001DD630 38 61 04 C4 */ addi r3, r1, 0x4c4 /* 801E06D4 001DD634 38 81 03 B0 */ addi r4, r1, 0x3b0 /* 801E06D8 001DD638 48 12 F9 4D */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 801E06DC 001DD63C 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E06E0 001DD640 48 13 1E 41 */ bl Next__9CRandom16Fv /* 801E06E4 001DD644 54 64 0F FE */ srwi r4, r3, 0x1f /* 801E06E8 001DD648 54 60 07 FE */ clrlwi r0, r3, 0x1f /* 801E06EC 001DD64C 7C 00 22 78 */ xor r0, r0, r4 /* 801E06F0 001DD650 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E06F4 001DD654 7E E4 00 50 */ subf r23, r4, r0 /* 801E06F8 001DD658 48 13 1D E5 */ bl Float__9CRandom16Fv /* 801E06FC 001DD65C 2C 17 00 00 */ cmpwi r23, 0 /* 801E0700 001DD660 40 81 00 0C */ ble lbl_801E070C /* 801E0704 001DD664 FF A0 08 90 */ fmr f29, f1 /* 801E0708 001DD668 48 00 00 08 */ b lbl_801E0710 lbl_801E070C: /* 801E070C 001DD66C FF A0 08 50 */ fneg f29, f1 lbl_801E0710: /* 801E0710 001DD670 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E0714 001DD674 48 13 1D C9 */ bl Float__9CRandom16Fv /* 801E0718 001DD678 C0 42 AD 54 */ lfs f2, lbl_805ACA74@sda21(r2) /* 801E071C 001DD67C FF E0 08 90 */ fmr f31, f1 /* 801E0720 001DD680 C0 3D 00 04 */ lfs f1, 4(r29) /* 801E0724 001DD684 38 61 01 80 */ addi r3, r1, 0x180 /* 801E0728 001DD688 C0 1D 00 08 */ lfs f0, 8(r29) /* 801E072C 001DD68C 38 81 04 C4 */ addi r4, r1, 0x4c4 /* 801E0730 001DD690 EC 42 0F 7A */ fmadds f2, f2, f29, f1 /* 801E0734 001DD694 EC 20 06 F2 */ fmuls f1, f0, f27 /* 801E0738 001DD698 C0 02 AD 18 */ lfs f0, lbl_805ACA38@sda21(r2) /* 801E073C 001DD69C 38 A1 01 74 */ addi r5, r1, 0x174 /* 801E0740 001DD6A0 EC 42 07 32 */ fmuls f2, f2, f28 /* 801E0744 001DD6A4 D0 01 01 7C */ stfs f0, 0x17c(r1) /* 801E0748 001DD6A8 D0 21 01 78 */ stfs f1, 0x178(r1) /* 801E074C 001DD6AC D0 41 01 74 */ stfs f2, 0x174(r1) /* 801E0750 001DD6B0 48 12 FB 45 */ bl __ml__9CMatrix3fCFRC9CVector3f /* 801E0754 001DD6B4 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801E0758 001DD6B8 3C 60 80 5A */ lis r3, lbl_8059FD18@ha /* 801E075C 001DD6BC C0 41 01 84 */ lfs f2, 0x184(r1) /* 801E0760 001DD6C0 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l /* 801E0764 001DD6C4 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801E0768 001DD6C8 7F E4 FB 78 */ mr r4, r31 /* 801E076C 001DD6CC EC A3 10 2A */ fadds f5, f3, f2 /* 801E0770 001DD6D0 C0 01 01 88 */ lfs f0, 0x188(r1) /* 801E0774 001DD6D4 C0 7E 00 40 */ lfs f3, 0x40(r30) /* 801E0778 001DD6D8 38 61 03 80 */ addi r3, r1, 0x380 /* 801E077C 001DD6DC EC 81 00 2A */ fadds f4, f1, f0 /* 801E0780 001DD6E0 C0 42 AC DC */ lfs f2, lbl_805AC9FC@sda21(r2) /* 801E0784 001DD6E4 C0 21 01 80 */ lfs f1, 0x180(r1) /* 801E0788 001DD6E8 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 801E078C 001DD6EC C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801E0790 001DD6F0 38 C1 01 68 */ addi r6, r1, 0x168 /* 801E0794 001DD6F4 EC 63 08 2A */ fadds f3, f3, f1 /* 801E0798 001DD6F8 D0 A1 01 AC */ stfs f5, 0x1ac(r1) /* 801E079C 001DD6FC C0 22 AD 44 */ lfs f1, lbl_805ACA64@sda21(r2) /* 801E07A0 001DD700 D0 81 01 B0 */ stfs f4, 0x1b0(r1) /* 801E07A4 001DD704 D0 61 01 A8 */ stfs f3, 0x1a8(r1) /* 801E07A8 001DD708 D0 41 01 68 */ stfs f2, 0x168(r1) /* 801E07AC 001DD70C D0 01 01 6C */ stfs f0, 0x16c(r1) /* 801E07B0 001DD710 D0 41 01 70 */ stfs f2, 0x170(r1) /* 801E07B4 001DD714 4B E6 C7 E5 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801E07B8 001DD718 C0 02 AD 58 */ lfs f0, lbl_805ACA78@sda21(r2) /* 801E07BC 001DD71C 38 61 03 50 */ addi r3, r1, 0x350 /* 801E07C0 001DD720 C0 41 01 AC */ lfs f2, 0x1ac(r1) /* 801E07C4 001DD724 38 81 04 C4 */ addi r4, r1, 0x4c4 /* 801E07C8 001DD728 EC 20 F8 2A */ fadds f1, f0, f31 /* 801E07CC 001DD72C C0 62 AC DC */ lfs f3, lbl_805AC9FC@sda21(r2) /* 801E07D0 001DD730 C0 01 01 A8 */ lfs f0, 0x1a8(r1) /* 801E07D4 001DD734 38 A1 01 9C */ addi r5, r1, 0x19c /* 801E07D8 001DD738 EC 82 18 2A */ fadds f4, f2, f3 /* 801E07DC 001DD73C C0 41 01 B0 */ lfs f2, 0x1b0(r1) /* 801E07E0 001DD740 EC 21 07 B2 */ fmuls f1, f1, f30 /* 801E07E4 001DD744 EC 00 18 2A */ fadds f0, f0, f3 /* 801E07E8 001DD748 D0 81 01 A0 */ stfs f4, 0x1a0(r1) /* 801E07EC 001DD74C EC 22 08 2A */ fadds f1, f2, f1 /* 801E07F0 001DD750 D0 01 01 9C */ stfs f0, 0x19c(r1) /* 801E07F4 001DD754 D0 21 01 A4 */ stfs f1, 0x1a4(r1) /* 801E07F8 001DD758 48 13 2A 81 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 801E07FC 001DD75C 38 7A 00 34 */ addi r3, r26, 0x34 /* 801E0800 001DD760 38 81 03 50 */ addi r4, r1, 0x350 /* 801E0804 001DD764 48 13 23 3D */ bl __as__12CTransform4fFRC12CTransform4f /* 801E0808 001DD768 3C 00 43 30 */ lis r0, 0x4330 /* 801E080C 001DD76C 93 61 04 EC */ stw r27, 0x4ec(r1) /* 801E0810 001DD770 88 7A 00 E4 */ lbz r3, 0xe4(r26) /* 801E0814 001DD774 38 80 00 01 */ li r4, 1 /* 801E0818 001DD778 90 01 04 E8 */ stw r0, 0x4e8(r1) /* 801E081C 001DD77C 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b /* 801E0820 001DD780 C8 62 AD 20 */ lfd f3, lbl_805ACA40@sda21(r2) /* 801E0824 001DD784 C8 01 04 E8 */ lfd f0, 0x4e8(r1) /* 801E0828 001DD788 98 7A 00 E4 */ stb r3, 0xe4(r26) /* 801E082C 001DD78C EC 00 18 28 */ fsubs f0, f0, f3 /* 801E0830 001DD790 C0 82 AC F8 */ lfs f4, lbl_805ACA18@sda21(r2) /* 801E0834 001DD794 88 7A 00 E4 */ lbz r3, 0xe4(r26) /* 801E0838 001DD798 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c /* 801E083C 001DD79C 93 61 04 F4 */ stw r27, 0x4f4(r1) /* 801E0840 001DD7A0 EC 44 20 3A */ fmadds f2, f4, f0, f4 /* 801E0844 001DD7A4 90 01 04 F0 */ stw r0, 0x4f0(r1) /* 801E0848 001DD7A8 C0 22 AD 3C */ lfs f1, lbl_805ACA5C@sda21(r2) /* 801E084C 001DD7AC C8 01 04 F0 */ lfd f0, 0x4f0(r1) /* 801E0850 001DD7B0 EC 44 10 2A */ fadds f2, f4, f2 /* 801E0854 001DD7B4 98 7A 00 E4 */ stb r3, 0xe4(r26) /* 801E0858 001DD7B8 EC 00 18 28 */ fsubs f0, f0, f3 /* 801E085C 001DD7BC 88 1A 00 E4 */ lbz r0, 0xe4(r26) /* 801E0860 001DD7C0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801E0864 001DD7C4 98 1A 00 E4 */ stb r0, 0xe4(r26) /* 801E0868 001DD7C8 EC 01 08 3A */ fmadds f0, f1, f0, f1 /* 801E086C 001DD7CC 90 9A 05 6C */ stw r4, 0x56c(r26) /* 801E0870 001DD7D0 EC 04 00 2A */ fadds f0, f4, f0 /* 801E0874 001DD7D4 D0 5A 05 A8 */ stfs f2, 0x5a8(r26) /* 801E0878 001DD7D8 D0 1A 05 AC */ stfs f0, 0x5ac(r26) /* 801E087C 001DD7DC A0 7E 00 08 */ lhz r3, 8(r30) /* 801E0880 001DD7E0 B0 7A 05 D0 */ sth r3, 0x5d0(r26) /* 801E0884 001DD7E4 80 1E 06 DC */ lwz r0, 0x6dc(r30) /* 801E0888 001DD7E8 B0 61 00 48 */ sth r3, 0x48(r1) /* 801E088C 001DD7EC 90 1A 05 C4 */ stw r0, 0x5c4(r26) /* 801E0890 001DD7F0 80 1E 06 E0 */ lwz r0, 0x6e0(r30) /* 801E0894 001DD7F4 B0 61 00 4C */ sth r3, 0x4c(r1) /* 801E0898 001DD7F8 90 1A 05 C8 */ stw r0, 0x5c8(r26) /* 801E089C 001DD7FC 80 1E 06 E4 */ lwz r0, 0x6e4(r30) /* 801E08A0 001DD800 90 1A 05 CC */ stw r0, 0x5cc(r26) /* 801E08A4 001DD804 80 1E 07 5C */ lwz r0, 0x75c(r30) /* 801E08A8 001DD808 90 1A 05 D4 */ stw r0, 0x5d4(r26) /* 801E08AC 001DD80C 80 1E 07 58 */ lwz r0, 0x758(r30) /* 801E08B0 001DD810 90 1A 05 D8 */ stw r0, 0x5d8(r26) /* 801E08B4 001DD814 80 7E 06 14 */ lwz r3, 0x614(r30) /* 801E08B8 001DD818 80 9E 06 48 */ lwz r4, 0x648(r30) /* 801E08BC 001DD81C 38 63 FF FE */ addi r3, r3, -2 /* 801E08C0 001DD820 7C 03 20 50 */ subf r0, r3, r4 /* 801E08C4 001DD824 7C 83 1B 38 */ orc r3, r4, r3 /* 801E08C8 001DD828 54 00 F8 7E */ srwi r0, r0, 1 /* 801E08CC 001DD82C 7C 00 18 50 */ subf r0, r0, r3 /* 801E08D0 001DD830 54 00 0F FE */ srwi r0, r0, 0x1f /* 801E08D4 001DD834 98 1A 05 DE */ stb r0, 0x5de(r26) /* 801E08D8 001DD838 80 1E 07 9C */ lwz r0, 0x79c(r30) /* 801E08DC 001DD83C 80 BE 07 A0 */ lwz r5, 0x7a0(r30) /* 801E08E0 001DD840 A2 FA 00 08 */ lhz r23, 8(r26) /* 801E08E4 001DD844 7C 00 28 00 */ cmpw r0, r5 /* 801E08E8 001DD848 41 80 00 1C */ blt lbl_801E0904 /* 801E08EC 001DD84C 2C 05 00 00 */ cmpwi r5, 0 /* 801E08F0 001DD850 38 7E 07 98 */ addi r3, r30, 0x798 /* 801E08F4 001DD854 38 80 00 04 */ li r4, 4 /* 801E08F8 001DD858 41 82 00 08 */ beq lbl_801E0900 /* 801E08FC 001DD85C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E0900: /* 801E0900 001DD860 4B E2 BB 09 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_801E0904: /* 801E0904 001DD864 80 1E 07 9C */ lwz r0, 0x79c(r30) /* 801E0908 001DD868 80 7E 07 A4 */ lwz r3, 0x7a4(r30) /* 801E090C 001DD86C 54 00 08 3C */ slwi r0, r0, 1 /* 801E0910 001DD870 7C 63 02 15 */ add. r3, r3, r0 /* 801E0914 001DD874 41 82 00 08 */ beq lbl_801E091C /* 801E0918 001DD878 B2 E3 00 00 */ sth r23, 0(r3) lbl_801E091C: /* 801E091C 001DD87C 80 7E 07 9C */ lwz r3, 0x79c(r30) /* 801E0920 001DD880 38 03 00 01 */ addi r0, r3, 1 /* 801E0924 001DD884 90 1E 07 9C */ stw r0, 0x79c(r30) lbl_801E0928: /* 801E0928 001DD888 3B BD 00 10 */ addi r29, r29, 0x10 /* 801E092C 001DD88C 3B 7B 00 01 */ addi r27, r27, 1 lbl_801E0930: /* 801E0930 001DD890 7C 1B E0 40 */ cmplw r27, r28 /* 801E0934 001DD894 41 80 FD 0C */ blt lbl_801E0640 /* 801E0938 001DD898 48 00 07 44 */ b lbl_801E107C /* 801E093C 001DD89C 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E0940 001DD8A0 48 13 1B E1 */ bl Next__9CRandom16Fv /* 801E0944 001DD8A4 38 00 00 00 */ li r0, 0 /* 801E0948 001DD8A8 54 63 07 FE */ clrlwi r3, r3, 0x1f /* 801E094C 001DD8AC 90 01 01 90 */ stw r0, 0x190(r1) /* 801E0950 001DD8B0 3B 43 00 02 */ addi r26, r3, 2 /* 801E0954 001DD8B4 38 61 01 8C */ addi r3, r1, 0x18c /* 801E0958 001DD8B8 90 01 01 94 */ stw r0, 0x194(r1) /* 801E095C 001DD8BC 90 01 01 98 */ stw r0, 0x198(r1) /* 801E0960 001DD8C0 83 7E 08 F8 */ lwz r27, 0x8f8(r30) /* 801E0964 001DD8C4 7F 64 DB 78 */ mr r4, r27 /* 801E0968 001DD8C8 4B E8 31 BD */ bl "reserve__Q24rstl37vectorFi" /* 801E096C 001DD8CC 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801E0970 001DD8D0 3B 80 00 00 */ li r28, 0 /* 801E0974 001DD8D4 3A E0 00 00 */ li r23, 0 /* 801E0978 001DD8D8 C3 63 00 40 */ lfs f27, 0x40(r3) /* 801E097C 001DD8DC C3 83 00 50 */ lfs f28, 0x50(r3) /* 801E0980 001DD8E0 C3 A3 00 60 */ lfs f29, 0x60(r3) /* 801E0984 001DD8E4 48 00 00 B8 */ b lbl_801E0A3C lbl_801E0988: /* 801E0988 001DD8E8 80 BE 09 00 */ lwz r5, 0x900(r30) /* 801E098C 001DD8EC 7F E3 FB 78 */ mr r3, r31 /* 801E0990 001DD8F0 38 81 00 44 */ addi r4, r1, 0x44 /* 801E0994 001DD8F4 7C 05 BA 2E */ lhzx r0, r5, r23 /* 801E0998 001DD8F8 B0 01 00 44 */ sth r0, 0x44(r1) /* 801E099C 001DD8FC 4B E6 BB D9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E09A0 001DD900 7C 64 1B 78 */ mr r4, r3 /* 801E09A4 001DD904 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801E09A8 001DD908 4B EC 5B A5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801E09AC 001DD90C 80 63 00 04 */ lwz r3, 4(r3) /* 801E09B0 001DD910 28 03 00 00 */ cmplwi r3, 0 /* 801E09B4 001DD914 41 82 00 80 */ beq lbl_801E0A34 /* 801E09B8 001DD918 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801E09BC 001DD91C C0 43 00 40 */ lfs f2, 0x40(r3) /* 801E09C0 001DD920 EC 60 E0 28 */ fsubs f3, f0, f28 /* 801E09C4 001DD924 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801E09C8 001DD928 EC 82 D8 28 */ fsubs f4, f2, f27 /* 801E09CC 001DD92C C0 02 AD 00 */ lfs f0, lbl_805ACA20@sda21(r2) /* 801E09D0 001DD930 EC 41 E8 28 */ fsubs f2, f1, f29 /* 801E09D4 001DD934 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801E09D8 001DD938 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801E09DC 001DD93C EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801E09E0 001DD940 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E09E4 001DD944 40 81 00 50 */ ble lbl_801E0A34 /* 801E09E8 001DD948 80 01 01 90 */ lwz r0, 0x190(r1) /* 801E09EC 001DD94C 80 A1 01 94 */ lwz r5, 0x194(r1) /* 801E09F0 001DD950 7C 00 28 00 */ cmpw r0, r5 /* 801E09F4 001DD954 41 80 00 1C */ blt lbl_801E0A10 /* 801E09F8 001DD958 2C 05 00 00 */ cmpwi r5, 0 /* 801E09FC 001DD95C 38 61 01 8C */ addi r3, r1, 0x18c /* 801E0A00 001DD960 38 80 00 04 */ li r4, 4 /* 801E0A04 001DD964 41 82 00 08 */ beq lbl_801E0A0C /* 801E0A08 001DD968 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E0A0C: /* 801E0A0C 001DD96C 4B E8 31 19 */ bl "reserve__Q24rstl37vectorFi" lbl_801E0A10: /* 801E0A10 001DD970 80 01 01 90 */ lwz r0, 0x190(r1) /* 801E0A14 001DD974 80 61 01 98 */ lwz r3, 0x198(r1) /* 801E0A18 001DD978 54 00 10 3A */ slwi r0, r0, 2 /* 801E0A1C 001DD97C 7C 63 02 15 */ add. r3, r3, r0 /* 801E0A20 001DD980 41 82 00 08 */ beq lbl_801E0A28 /* 801E0A24 001DD984 93 83 00 00 */ stw r28, 0(r3) lbl_801E0A28: /* 801E0A28 001DD988 80 61 01 90 */ lwz r3, 0x190(r1) /* 801E0A2C 001DD98C 38 03 00 01 */ addi r0, r3, 1 /* 801E0A30 001DD990 90 01 01 90 */ stw r0, 0x190(r1) lbl_801E0A34: /* 801E0A34 001DD994 3B 9C 00 01 */ addi r28, r28, 1 /* 801E0A38 001DD998 3A F7 00 02 */ addi r23, r23, 2 lbl_801E0A3C: /* 801E0A3C 001DD99C 7C 1C D8 40 */ cmplw r28, r27 /* 801E0A40 001DD9A0 41 80 FF 48 */ blt lbl_801E0988 /* 801E0A44 001DD9A4 83 21 01 90 */ lwz r25, 0x190(r1) /* 801E0A48 001DD9A8 3B 00 00 00 */ li r24, 0 /* 801E0A4C 001DD9AC 48 00 00 98 */ b lbl_801E0AE4 lbl_801E0A50: /* 801E0A50 001DD9B0 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E0A54 001DD9B4 48 13 1A CD */ bl Next__9CRandom16Fv /* 801E0A58 001DD9B8 7C 03 CB 96 */ divwu r0, r3, r25 /* 801E0A5C 001DD9BC 80 BE 09 00 */ lwz r5, 0x900(r30) /* 801E0A60 001DD9C0 38 81 00 40 */ addi r4, r1, 0x40 /* 801E0A64 001DD9C4 7C 00 C9 D6 */ mullw r0, r0, r25 /* 801E0A68 001DD9C8 7C 00 18 50 */ subf r0, r0, r3 /* 801E0A6C 001DD9CC 7F E3 FB 78 */ mr r3, r31 /* 801E0A70 001DD9D0 54 00 08 3C */ slwi r0, r0, 1 /* 801E0A74 001DD9D4 7C 05 02 2E */ lhzx r0, r5, r0 /* 801E0A78 001DD9D8 B0 01 00 54 */ sth r0, 0x54(r1) /* 801E0A7C 001DD9DC B0 01 00 40 */ sth r0, 0x40(r1) /* 801E0A80 001DD9E0 4B E6 BA F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E0A84 001DD9E4 7C 64 1B 78 */ mr r4, r3 /* 801E0A88 001DD9E8 38 61 00 DC */ addi r3, r1, 0xdc /* 801E0A8C 001DD9EC 4B EC 5A C1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801E0A90 001DD9F0 82 E3 00 04 */ lwz r23, 4(r3) /* 801E0A94 001DD9F4 28 17 00 00 */ cmplwi r23, 0 /* 801E0A98 001DD9F8 41 82 00 48 */ beq lbl_801E0AE0 /* 801E0A9C 001DD9FC 7E E3 BB 78 */ mr r3, r23 /* 801E0AA0 001DDA00 38 80 00 01 */ li r4, 1 /* 801E0AA4 001DDA04 81 97 00 00 */ lwz r12, 0(r23) /* 801E0AA8 001DDA08 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E0AAC 001DDA0C 7D 89 03 A6 */ mtctr r12 /* 801E0AB0 001DDA10 4E 80 04 21 */ bctrl /* 801E0AB4 001DDA14 7F C3 F3 78 */ mr r3, r30 /* 801E0AB8 001DDA18 7F E5 FB 78 */ mr r5, r31 /* 801E0ABC 001DDA1C 38 80 00 09 */ li r4, 9 /* 801E0AC0 001DDA20 38 C0 FF FF */ li r6, -1 /* 801E0AC4 001DDA24 4B E7 05 FD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 801E0AC8 001DDA28 7E E3 BB 78 */ mr r3, r23 /* 801E0ACC 001DDA2C 38 80 00 00 */ li r4, 0 /* 801E0AD0 001DDA30 81 97 00 00 */ lwz r12, 0(r23) /* 801E0AD4 001DDA34 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E0AD8 001DDA38 7D 89 03 A6 */ mtctr r12 /* 801E0ADC 001DDA3C 4E 80 04 21 */ bctrl lbl_801E0AE0: /* 801E0AE0 001DDA40 3B 18 00 01 */ addi r24, r24, 1 lbl_801E0AE4: /* 801E0AE4 001DDA44 7C 18 D0 40 */ cmplw r24, r26 /* 801E0AE8 001DDA48 41 80 FF 68 */ blt lbl_801E0A50 /* 801E0AEC 001DDA4C 80 01 01 90 */ lwz r0, 0x190(r1) /* 801E0AF0 001DDA50 80 61 01 98 */ lwz r3, 0x198(r1) /* 801E0AF4 001DDA54 54 00 10 3A */ slwi r0, r0, 2 /* 801E0AF8 001DDA58 7C 03 02 14 */ add r0, r3, r0 /* 801E0AFC 001DDA5C 90 61 00 60 */ stw r3, 0x60(r1) /* 801E0B00 001DDA60 7C 64 1B 78 */ mr r4, r3 /* 801E0B04 001DDA64 90 01 00 68 */ stw r0, 0x68(r1) /* 801E0B08 001DDA68 90 01 00 64 */ stw r0, 0x64(r1) /* 801E0B0C 001DDA6C 90 61 00 5C */ stw r3, 0x5c(r1) /* 801E0B10 001DDA70 48 00 00 08 */ b lbl_801E0B18 lbl_801E0B14: /* 801E0B14 001DDA74 38 84 00 04 */ addi r4, r4, 4 lbl_801E0B18: /* 801E0B18 001DDA78 7C 04 00 40 */ cmplw r4, r0 /* 801E0B1C 001DDA7C 40 82 FF F8 */ bne lbl_801E0B14 /* 801E0B20 001DDA80 28 03 00 00 */ cmplwi r3, 0 /* 801E0B24 001DDA84 41 82 05 58 */ beq lbl_801E107C /* 801E0B28 001DDA88 48 13 4E 09 */ bl Free__7CMemoryFPCv /* 801E0B2C 001DDA8C 48 00 05 50 */ b lbl_801E107C /* 801E0B30 001DDA90 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E0B34 001DDA94 38 61 01 58 */ addi r3, r1, 0x158 /* 801E0B38 001DDA98 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E0B3C 001DDA9C 38 C1 00 2C */ addi r6, r1, 0x2c /* 801E0B40 001DDAA0 38 84 01 BA */ addi r4, r4, 0x1ba /* 801E0B44 001DDAA4 38 A0 FF FF */ li r5, -1 /* 801E0B48 001DDAA8 48 15 D6 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801E0B4C 001DDAAC 7F C4 F3 78 */ mr r4, r30 /* 801E0B50 001DDAB0 38 61 03 20 */ addi r3, r1, 0x320 /* 801E0B54 001DDAB4 38 A1 01 58 */ addi r5, r1, 0x158 /* 801E0B58 001DDAB8 4B E9 7E 21 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801E0B5C 001DDABC 38 61 04 94 */ addi r3, r1, 0x494 /* 801E0B60 001DDAC0 38 81 03 20 */ addi r4, r1, 0x320 /* 801E0B64 001DDAC4 48 13 20 11 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E0B68 001DDAC8 38 61 01 58 */ addi r3, r1, 0x158 /* 801E0B6C 001DDACC 48 15 CF 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E0B70 001DDAD0 80 AD 92 10 */ lwz r5, lbl_805A7DD0@sda21(r13) /* 801E0B74 001DDAD4 38 60 00 00 */ li r3, 0 /* 801E0B78 001DDAD8 38 80 00 01 */ li r4, 1 /* 801E0B7C 001DDADC 48 1A 93 79 */ bl __shl2i /* 801E0B80 001DDAE0 C0 61 04 A0 */ lfs f3, 0x4a0(r1) /* 801E0B84 001DDAE4 39 00 00 00 */ li r8, 0 /* 801E0B88 001DDAE8 C0 41 04 B0 */ lfs f2, 0x4b0(r1) /* 801E0B8C 001DDAEC 38 00 00 01 */ li r0, 1 /* 801E0B90 001DDAF0 C0 01 04 C0 */ lfs f0, 0x4c0(r1) /* 801E0B94 001DDAF4 3C A0 80 5A */ lis r5, lbl_805A6700@ha /* 801E0B98 001DDAF8 90 81 01 EC */ stw r4, 0x1ec(r1) /* 801E0B9C 001DDAFC 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l /* 801E0BA0 001DDB00 C0 22 AD 44 */ lfs f1, lbl_805ACA64@sda21(r2) /* 801E0BA4 001DDB04 7F E4 FB 78 */ mr r4, r31 /* 801E0BA8 001DDB08 90 61 01 E8 */ stw r3, 0x1e8(r1) /* 801E0BAC 001DDB0C 38 61 02 F0 */ addi r3, r1, 0x2f0 /* 801E0BB0 001DDB10 38 A1 01 4C */ addi r5, r1, 0x14c /* 801E0BB4 001DDB14 38 E1 01 E8 */ addi r7, r1, 0x1e8 /* 801E0BB8 001DDB18 91 01 01 F4 */ stw r8, 0x1f4(r1) /* 801E0BBC 001DDB1C 91 01 01 F0 */ stw r8, 0x1f0(r1) /* 801E0BC0 001DDB20 90 01 01 F8 */ stw r0, 0x1f8(r1) /* 801E0BC4 001DDB24 D0 61 01 4C */ stfs f3, 0x14c(r1) /* 801E0BC8 001DDB28 D0 41 01 50 */ stfs f2, 0x150(r1) /* 801E0BCC 001DDB2C D0 01 01 54 */ stfs f0, 0x154(r1) /* 801E0BD0 001DDB30 4B E6 C3 C9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801E0BD4 001DDB34 C0 01 02 F4 */ lfs f0, 0x2f4(r1) /* 801E0BD8 001DDB38 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801E0BDC 001DDB3C C0 82 AC DC */ lfs f4, lbl_805AC9FC@sda21(r2) /* 801E0BE0 001DDB40 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801E0BE4 001DDB44 C0 41 02 F8 */ lfs f2, 0x2f8(r1) /* 801E0BE8 001DDB48 38 61 02 C0 */ addi r3, r1, 0x2c0 /* 801E0BEC 001DDB4C EC 60 20 2A */ fadds f3, f0, f4 /* 801E0BF0 001DDB50 80 FF 08 4C */ lwz r7, 0x84c(r31) /* 801E0BF4 001DDB54 EC 42 20 2A */ fadds f2, f2, f4 /* 801E0BF8 001DDB58 C0 21 02 FC */ lfs f1, 0x2fc(r1) /* 801E0BFC 001DDB5C C0 02 AC E0 */ lfs f0, lbl_805ACA00@sda21(r2) /* 801E0C00 001DDB60 38 81 01 40 */ addi r4, r1, 0x140 /* 801E0C04 001DDB64 EC 01 00 2A */ fadds f0, f1, f0 /* 801E0C08 001DDB68 C0 A7 00 60 */ lfs f5, 0x60(r7) /* 801E0C0C 001DDB6C C0 87 00 50 */ lfs f4, 0x50(r7) /* 801E0C10 001DDB70 38 A1 01 34 */ addi r5, r1, 0x134 /* 801E0C14 001DDB74 C0 27 00 40 */ lfs f1, 0x40(r7) /* 801E0C18 001DDB78 D0 21 01 34 */ stfs f1, 0x134(r1) /* 801E0C1C 001DDB7C D0 81 01 38 */ stfs f4, 0x138(r1) /* 801E0C20 001DDB80 D0 A1 01 3C */ stfs f5, 0x13c(r1) /* 801E0C24 001DDB84 D0 61 01 40 */ stfs f3, 0x140(r1) /* 801E0C28 001DDB88 D0 41 01 44 */ stfs f2, 0x144(r1) /* 801E0C2C 001DDB8C D0 01 01 48 */ stfs f0, 0x148(r1) /* 801E0C30 001DDB90 48 13 2E E1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801E0C34 001DDB94 38 61 04 64 */ addi r3, r1, 0x464 /* 801E0C38 001DDB98 38 81 02 C0 */ addi r4, r1, 0x2c0 /* 801E0C3C 001DDB9C 48 13 1F 39 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E0C40 001DDBA0 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E0C44 001DDBA4 C0 22 AD 5C */ lfs f1, lbl_805ACA7C@sda21(r2) /* 801E0C48 001DDBA8 C0 42 AD 18 */ lfs f2, lbl_805ACA38@sda21(r2) /* 801E0C4C 001DDBAC 48 13 18 F9 */ bl Range__9CRandom16Fff /* 801E0C50 001DDBB0 C0 02 AD 60 */ lfs f0, lbl_805ACA80@sda21(r2) /* 801E0C54 001DDBB4 38 61 04 64 */ addi r3, r1, 0x464 /* 801E0C58 001DDBB8 38 81 00 84 */ addi r4, r1, 0x84 /* 801E0C5C 001DDBBC EC 00 00 72 */ fmuls f0, f0, f1 /* 801E0C60 001DDBC0 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801E0C64 001DDBC4 48 13 28 59 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle /* 801E0C68 001DDBC8 3C 60 80 3D */ lis r3, lbl_803D1CB8@ha /* 801E0C6C 001DDBCC 3B 40 00 00 */ li r26, 0 /* 801E0C70 001DDBD0 38 63 1C B8 */ addi r3, r3, lbl_803D1CB8@l /* 801E0C74 001DDBD4 3B 60 00 00 */ li r27, 0 /* 801E0C78 001DDBD8 38 83 01 B3 */ addi r4, r3, 0x1b3 /* 801E0C7C 001DDBDC 3B 80 00 00 */ li r28, 0 /* 801E0C80 001DDBE0 3B 20 00 00 */ li r25, 0 /* 801E0C84 001DDBE4 3B 00 00 00 */ li r24, 0 /* 801E0C88 001DDBE8 3A E0 00 00 */ li r23, 0 /* 801E0C8C 001DDBEC 38 60 01 98 */ li r3, 0x198 /* 801E0C90 001DDBF0 38 A0 00 00 */ li r5, 0 /* 801E0C94 001DDBF4 48 13 4B D9 */ bl __nw__FUlPCcPCc /* 801E0C98 001DDBF8 7C 7D 1B 79 */ or. r29, r3, r3 /* 801E0C9C 001DDBFC 41 82 01 F0 */ beq lbl_801E0E8C /* 801E0CA0 001DDC00 80 DE 06 00 */ lwz r6, 0x600(r30) /* 801E0CA4 001DDC04 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801E0CA8 001DDC08 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801E0CAC 001DDC0C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E0CB0 001DDC10 90 01 00 9C */ stw r0, 0x9c(r1) /* 801E0CB4 001DDC14 38 61 00 94 */ addi r3, r1, 0x94 /* 801E0CB8 001DDC18 38 A1 00 9C */ addi r5, r1, 0x9c /* 801E0CBC 001DDC1C 90 C1 00 A0 */ stw r6, 0xa0(r1) /* 801E0CC0 001DDC20 81 84 00 00 */ lwz r12, 0(r4) /* 801E0CC4 001DDC24 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E0CC8 001DDC28 7D 89 03 A6 */ mtctr r12 /* 801E0CCC 001DDC2C 4E 80 04 21 */ bctrl /* 801E0CD0 001DDC30 38 61 00 8C */ addi r3, r1, 0x8c /* 801E0CD4 001DDC34 38 81 00 94 */ addi r4, r1, 0x94 /* 801E0CD8 001DDC38 3B 00 00 01 */ li r24, 1 /* 801E0CDC 001DDC3C 48 16 01 CD */ bl __ct__6CTokenFRC6CToken /* 801E0CE0 001DDC40 80 DE 06 04 */ lwz r6, 0x604(r30) /* 801E0CE4 001DDC44 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801E0CE8 001DDC48 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801E0CEC 001DDC4C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E0CF0 001DDC50 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801E0CF4 001DDC54 38 61 00 AC */ addi r3, r1, 0xac /* 801E0CF8 001DDC58 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 801E0CFC 001DDC5C 3A E0 00 01 */ li r23, 1 /* 801E0D00 001DDC60 90 C1 00 B8 */ stw r6, 0xb8(r1) /* 801E0D04 001DDC64 81 84 00 00 */ lwz r12, 0(r4) /* 801E0D08 001DDC68 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E0D0C 001DDC6C 7D 89 03 A6 */ mtctr r12 /* 801E0D10 001DDC70 4E 80 04 21 */ bctrl /* 801E0D14 001DDC74 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801E0D18 001DDC78 38 81 00 AC */ addi r4, r1, 0xac /* 801E0D1C 001DDC7C 3B 80 00 01 */ li r28, 1 /* 801E0D20 001DDC80 48 16 01 89 */ bl __ct__6CTokenFRC6CToken /* 801E0D24 001DDC84 80 DE 06 08 */ lwz r6, 0x608(r30) /* 801E0D28 001DDC88 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801E0D2C 001DDC8C 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801E0D30 001DDC90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E0D34 001DDC94 90 01 00 CC */ stw r0, 0xcc(r1) /* 801E0D38 001DDC98 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801E0D3C 001DDC9C 38 A1 00 CC */ addi r5, r1, 0xcc /* 801E0D40 001DDCA0 3B 20 00 01 */ li r25, 1 /* 801E0D44 001DDCA4 90 C1 00 D0 */ stw r6, 0xd0(r1) /* 801E0D48 001DDCA8 81 84 00 00 */ lwz r12, 0(r4) /* 801E0D4C 001DDCAC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E0D50 001DDCB0 7D 89 03 A6 */ mtctr r12 /* 801E0D54 001DDCB4 4E 80 04 21 */ bctrl /* 801E0D58 001DDCB8 38 61 00 BC */ addi r3, r1, 0xbc /* 801E0D5C 001DDCBC 38 81 00 C4 */ addi r4, r1, 0xc4 /* 801E0D60 001DDCC0 3B 40 00 01 */ li r26, 1 /* 801E0D64 001DDCC4 48 16 01 45 */ bl __ct__6CTokenFRC6CToken /* 801E0D68 001DDCC8 7F E4 FB 78 */ mr r4, r31 /* 801E0D6C 001DDCCC 38 61 00 30 */ addi r3, r1, 0x30 /* 801E0D70 001DDCD0 3B 60 00 01 */ li r27, 1 /* 801E0D74 001DDCD4 4B E6 C3 69 */ bl AllocateUniqueId__13CStateManagerFv /* 801E0D78 001DDCD8 A0 01 00 30 */ lhz r0, 0x30(r1) /* 801E0D7C 001DDCDC 38 E0 00 01 */ li r7, 1 /* 801E0D80 001DDCE0 88 61 00 D8 */ lbz r3, 0xd8(r1) /* 801E0D84 001DDCE4 38 A0 00 00 */ li r5, 0 /* 801E0D88 001DDCE8 B0 01 00 34 */ sth r0, 0x34(r1) /* 801E0D8C 001DDCEC 50 A3 3E 30 */ rlwimi r3, r5, 7, 0x18, 0x18 /* 801E0D90 001DDCF0 54 64 06 3E */ clrlwi r4, r3, 0x18 /* 801E0D94 001DDCF4 88 01 01 CC */ lbz r0, 0x1cc(r1) /* 801E0D98 001DDCF8 81 3E 00 04 */ lwz r9, 4(r30) /* 801E0D9C 001DDCFC 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 /* 801E0DA0 001DDD00 98 61 00 D8 */ stb r3, 0xd8(r1) /* 801E0DA4 001DDD04 54 86 06 3E */ clrlwi r6, r4, 0x18 /* 801E0DA8 001DDD08 50 A6 2E B4 */ rlwimi r6, r5, 5, 0x1a, 0x1a /* 801E0DAC 001DDD0C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801E0DB0 001DDD10 91 21 00 80 */ stw r9, 0x80(r1) /* 801E0DB4 001DDD14 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 801E0DB8 001DDD18 C0 62 AD 64 */ lfs f3, lbl_805ACA84@sda21(r2) /* 801E0DBC 001DDD1C 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801E0DC0 001DDD20 98 81 00 D8 */ stb r4, 0xd8(r1) /* 801E0DC4 001DDD24 38 81 01 1C */ addi r4, r1, 0x11c /* 801E0DC8 001DDD28 A1 05 00 08 */ lhz r8, 8(r5) /* 801E0DCC 001DDD2C 38 A1 01 28 */ addi r5, r1, 0x128 /* 801E0DD0 001DDD30 C0 22 AD 68 */ lfs f1, lbl_805ACA88@sda21(r2) /* 801E0DD4 001DDD34 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801E0DD8 001DDD38 C0 42 AC DC */ lfs f2, lbl_805AC9FC@sda21(r2) /* 801E0DDC 001DDD3C 91 21 00 7C */ stw r9, 0x7c(r1) /* 801E0DE0 001DDD40 B1 01 00 38 */ sth r8, 0x38(r1) /* 801E0DE4 001DDD44 B1 01 00 3C */ sth r8, 0x3c(r1) /* 801E0DE8 001DDD48 90 E1 00 D4 */ stw r7, 0xd4(r1) /* 801E0DEC 001DDD4C 98 C1 00 D8 */ stb r6, 0xd8(r1) /* 801E0DF0 001DDD50 90 E1 01 B4 */ stw r7, 0x1b4(r1) /* 801E0DF4 001DDD54 98 C1 01 B8 */ stb r6, 0x1b8(r1) /* 801E0DF8 001DDD58 D0 61 01 BC */ stfs f3, 0x1bc(r1) /* 801E0DFC 001DDD5C D0 61 01 C0 */ stfs f3, 0x1c0(r1) /* 801E0E00 001DDD60 D0 41 01 C4 */ stfs f2, 0x1c4(r1) /* 801E0E04 001DDD64 D0 41 01 C8 */ stfs f2, 0x1c8(r1) /* 801E0E08 001DDD68 98 01 01 CC */ stb r0, 0x1cc(r1) /* 801E0E0C 001DDD6C D0 21 01 1C */ stfs f1, 0x11c(r1) /* 801E0E10 001DDD70 D0 21 01 20 */ stfs f1, 0x120(r1) /* 801E0E14 001DDD74 D0 21 01 24 */ stfs f1, 0x124(r1) /* 801E0E18 001DDD78 D0 01 01 28 */ stfs f0, 0x128(r1) /* 801E0E1C 001DDD7C D0 01 01 2C */ stfs f0, 0x12c(r1) /* 801E0E20 001DDD80 D0 01 01 30 */ stfs f0, 0x130(r1) /* 801E0E24 001DDD84 48 15 76 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801E0E28 001DDD88 38 01 04 64 */ addi r0, r1, 0x464 /* 801E0E2C 001DDD8C 38 A1 01 B4 */ addi r5, r1, 0x1b4 /* 801E0E30 001DDD90 90 01 00 08 */ stw r0, 8(r1) /* 801E0E34 001DDD94 38 00 0A AD */ li r0, 0xaad /* 801E0E38 001DDD98 C0 42 AD 6C */ lfs f2, lbl_805ACA8C@sda21(r2) /* 801E0E3C 001DDD9C 38 81 00 8C */ addi r4, r1, 0x8c /* 801E0E40 001DDDA0 90 A1 00 0C */ stw r5, 0xc(r1) /* 801E0E44 001DDDA4 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 801E0E48 001DDDA8 38 C1 00 BC */ addi r6, r1, 0xbc /* 801E0E4C 001DDDAC 38 E1 00 34 */ addi r7, r1, 0x34 /* 801E0E50 001DDDB0 90 61 00 10 */ stw r3, 0x10(r1) /* 801E0E54 001DDDB4 7F A3 EB 78 */ mr r3, r29 /* 801E0E58 001DDDB8 39 01 00 80 */ addi r8, r1, 0x80 /* 801E0E5C 001DDDBC 39 21 00 3C */ addi r9, r1, 0x3c /* 801E0E60 001DDDC0 81 7E 06 E8 */ lwz r11, 0x6e8(r30) /* 801E0E64 001DDDC4 39 40 00 01 */ li r10, 1 /* 801E0E68 001DDDC8 91 61 00 14 */ stw r11, 0x14(r1) /* 801E0E6C 001DDDCC A1 7E 06 EC */ lhz r11, 0x6ec(r30) /* 801E0E70 001DDDD0 91 61 00 18 */ stw r11, 0x18(r1) /* 801E0E74 001DDDD4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801E0E78 001DDDD8 80 1E 06 F0 */ lwz r0, 0x6f0(r30) /* 801E0E7C 001DDDDC 90 01 00 20 */ stw r0, 0x20(r1) /* 801E0E80 001DDDE0 C0 3E 06 AC */ lfs f1, 0x6ac(r30) /* 801E0E84 001DDDE4 48 01 2B 75 */ bl "__ct__20CIceAttackProjectileF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId9TUniqueIdbRC12CTransform4fRC11CDamageInfoRC6CAABoxff" /* 801E0E88 001DDDE8 7C 7D 1B 78 */ mr r29, r3 lbl_801E0E8C: /* 801E0E8C 001DDDEC 7F E3 FB 78 */ mr r3, r31 /* 801E0E90 001DDDF0 7F A4 EB 78 */ mr r4, r29 /* 801E0E94 001DDDF4 4B E6 BE 61 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801E0E98 001DDDF8 7E E0 07 75 */ extsb. r0, r23 /* 801E0E9C 001DDDFC 41 82 00 10 */ beq lbl_801E0EAC /* 801E0EA0 001DDE00 38 61 00 8C */ addi r3, r1, 0x8c /* 801E0EA4 001DDE04 38 80 00 00 */ li r4, 0 /* 801E0EA8 001DDE08 48 15 FF 99 */ bl __dt__6CTokenFv lbl_801E0EAC: /* 801E0EAC 001DDE0C 7F 00 07 75 */ extsb. r0, r24 /* 801E0EB0 001DDE10 41 82 00 10 */ beq lbl_801E0EC0 /* 801E0EB4 001DDE14 38 61 00 94 */ addi r3, r1, 0x94 /* 801E0EB8 001DDE18 38 80 FF FF */ li r4, -1 /* 801E0EBC 001DDE1C 48 15 FF 85 */ bl __dt__6CTokenFv lbl_801E0EC0: /* 801E0EC0 001DDE20 7F 20 07 75 */ extsb. r0, r25 /* 801E0EC4 001DDE24 41 82 00 10 */ beq lbl_801E0ED4 /* 801E0EC8 001DDE28 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801E0ECC 001DDE2C 38 80 00 00 */ li r4, 0 /* 801E0ED0 001DDE30 48 15 FF 71 */ bl __dt__6CTokenFv lbl_801E0ED4: /* 801E0ED4 001DDE34 7F 80 07 75 */ extsb. r0, r28 /* 801E0ED8 001DDE38 41 82 00 10 */ beq lbl_801E0EE8 /* 801E0EDC 001DDE3C 38 61 00 AC */ addi r3, r1, 0xac /* 801E0EE0 001DDE40 38 80 FF FF */ li r4, -1 /* 801E0EE4 001DDE44 48 15 FF 5D */ bl __dt__6CTokenFv lbl_801E0EE8: /* 801E0EE8 001DDE48 7F 60 07 75 */ extsb. r0, r27 /* 801E0EEC 001DDE4C 41 82 00 10 */ beq lbl_801E0EFC /* 801E0EF0 001DDE50 38 61 00 BC */ addi r3, r1, 0xbc /* 801E0EF4 001DDE54 38 80 00 00 */ li r4, 0 /* 801E0EF8 001DDE58 48 15 FF 49 */ bl __dt__6CTokenFv lbl_801E0EFC: /* 801E0EFC 001DDE5C 7F 40 07 75 */ extsb. r0, r26 /* 801E0F00 001DDE60 41 82 01 7C */ beq lbl_801E107C /* 801E0F04 001DDE64 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801E0F08 001DDE68 38 80 FF FF */ li r4, -1 /* 801E0F0C 001DDE6C 48 15 FF 35 */ bl __dt__6CTokenFv /* 801E0F10 001DDE70 48 00 01 6C */ b lbl_801E107C /* 801E0F14 001DDE74 C0 9E 00 60 */ lfs f4, 0x60(r30) /* 801E0F18 001DDE78 38 A1 01 10 */ addi r5, r1, 0x110 /* 801E0F1C 001DDE7C C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801E0F20 001DDE80 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801E0F24 001DDE84 C0 22 AD 70 */ lfs f1, lbl_805ACA90@sda21(r2) /* 801E0F28 001DDE88 D0 01 01 10 */ stfs f0, 0x110(r1) /* 801E0F2C 001DDE8C C0 42 AD 50 */ lfs f2, lbl_805ACA70@sda21(r2) /* 801E0F30 001DDE90 D0 61 01 14 */ stfs f3, 0x114(r1) /* 801E0F34 001DDE94 C0 62 AC D8 */ lfs f3, lbl_805AC9F8@sda21(r2) /* 801E0F38 001DDE98 D0 81 01 18 */ stfs f4, 0x118(r1) /* 801E0F3C 001DDE9C 4B FF AA E5 */ bl sub_801dba20 /* 801E0F40 001DDEA0 48 00 01 3C */ b lbl_801E107C /* 801E0F44 001DDEA4 38 00 00 01 */ li r0, 1 /* 801E0F48 001DDEA8 38 61 04 34 */ addi r3, r1, 0x434 /* 801E0F4C 001DDEAC 98 1E 07 C8 */ stb r0, 0x7c8(r30) /* 801E0F50 001DDEB0 38 9E 00 34 */ addi r4, r30, 0x34 /* 801E0F54 001DDEB4 48 13 1C 21 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E0F58 001DDEB8 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E0F5C 001DDEBC 38 61 01 00 */ addi r3, r1, 0x100 /* 801E0F60 001DDEC0 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E0F64 001DDEC4 38 C1 00 28 */ addi r6, r1, 0x28 /* 801E0F68 001DDEC8 38 84 01 C2 */ addi r4, r4, 0x1c2 /* 801E0F6C 001DDECC 38 A0 FF FF */ li r5, -1 /* 801E0F70 001DDED0 48 15 D2 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801E0F74 001DDED4 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801E0F78 001DDED8 38 61 02 90 */ addi r3, r1, 0x290 /* 801E0F7C 001DDEDC 38 A1 01 00 */ addi r5, r1, 0x100 /* 801E0F80 001DDEE0 38 C0 00 00 */ li r6, 0 /* 801E0F84 001DDEE4 80 84 00 10 */ lwz r4, 0x10(r4) /* 801E0F88 001DDEE8 4B E4 B3 F9 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" /* 801E0F8C 001DDEEC 38 61 04 04 */ addi r3, r1, 0x404 /* 801E0F90 001DDEF0 38 81 02 90 */ addi r4, r1, 0x290 /* 801E0F94 001DDEF4 48 13 1B E1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E0F98 001DDEF8 38 61 01 00 */ addi r3, r1, 0x100 /* 801E0F9C 001DDEFC 48 15 CB 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E0FA0 001DDF00 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801E0FA4 001DDF04 38 61 02 00 */ addi r3, r1, 0x200 /* 801E0FA8 001DDF08 38 81 00 F4 */ addi r4, r1, 0xf4 /* 801E0FAC 001DDF0C C0 05 00 00 */ lfs f0, 0(r5) /* 801E0FB0 001DDF10 D0 01 00 F4 */ stfs f0, 0xf4(r1) /* 801E0FB4 001DDF14 C0 05 00 04 */ lfs f0, 4(r5) /* 801E0FB8 001DDF18 D0 01 00 F8 */ stfs f0, 0xf8(r1) /* 801E0FBC 001DDF1C C0 05 00 08 */ lfs f0, 8(r5) /* 801E0FC0 001DDF20 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 801E0FC4 001DDF24 48 13 22 01 */ bl Scale__12CTransform4fFRC9CVector3f /* 801E0FC8 001DDF28 38 61 02 30 */ addi r3, r1, 0x230 /* 801E0FCC 001DDF2C 38 81 02 00 */ addi r4, r1, 0x200 /* 801E0FD0 001DDF30 38 A1 04 04 */ addi r5, r1, 0x404 /* 801E0FD4 001DDF34 48 13 19 7D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801E0FD8 001DDF38 38 61 02 60 */ addi r3, r1, 0x260 /* 801E0FDC 001DDF3C 38 81 04 34 */ addi r4, r1, 0x434 /* 801E0FE0 001DDF40 38 A1 02 30 */ addi r5, r1, 0x230 /* 801E0FE4 001DDF44 48 13 19 6D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 801E0FE8 001DDF48 38 61 03 D4 */ addi r3, r1, 0x3d4 /* 801E0FEC 001DDF4C 38 81 02 60 */ addi r4, r1, 0x260 /* 801E0FF0 001DDF50 48 13 1B 85 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E0FF4 001DDF54 C0 41 04 00 */ lfs f2, 0x400(r1) /* 801E0FF8 001DDF58 C0 21 03 F0 */ lfs f1, 0x3f0(r1) /* 801E0FFC 001DDF5C C0 01 03 E0 */ lfs f0, 0x3e0(r1) /* 801E1000 001DDF60 D0 1E 07 CC */ stfs f0, 0x7cc(r30) /* 801E1004 001DDF64 D0 3E 07 D0 */ stfs f1, 0x7d0(r30) /* 801E1008 001DDF68 D0 5E 07 D4 */ stfs f2, 0x7d4(r30) /* 801E100C 001DDF6C 48 00 00 70 */ b lbl_801E107C /* 801E1010 001DDF70 38 00 00 00 */ li r0, 0 /* 801E1014 001DDF74 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E1018 001DDF78 98 1E 07 C8 */ stb r0, 0x7c8(r30) /* 801E101C 001DDF7C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801E1020 001DDF80 D0 1E 07 CC */ stfs f0, 0x7cc(r30) /* 801E1024 001DDF84 C0 03 00 04 */ lfs f0, 4(r3) /* 801E1028 001DDF88 D0 1E 07 D0 */ stfs f0, 0x7d0(r30) /* 801E102C 001DDF8C C0 03 00 08 */ lfs f0, 8(r3) /* 801E1030 001DDF90 D0 1E 07 D4 */ stfs f0, 0x7d4(r30) /* 801E1034 001DDF94 48 00 00 48 */ b lbl_801E107C /* 801E1038 001DDF98 80 1E 06 44 */ lwz r0, 0x644(r30) /* 801E103C 001DDF9C 2C 00 00 01 */ cmpwi r0, 1 /* 801E1040 001DDFA0 40 82 00 3C */ bne lbl_801E107C /* 801E1044 001DDFA4 38 00 00 01 */ li r0, 1 /* 801E1048 001DDFA8 98 1E 09 3C */ stb r0, 0x93c(r30) /* 801E104C 001DDFAC 98 1E 06 88 */ stb r0, 0x688(r30) /* 801E1050 001DDFB0 48 00 00 2C */ b lbl_801E107C /* 801E1054 001DDFB4 38 00 00 00 */ li r0, 0 /* 801E1058 001DDFB8 98 1E 09 3C */ stb r0, 0x93c(r30) /* 801E105C 001DDFBC 48 00 00 20 */ b lbl_801E107C /* 801E1060 001DDFC0 7F E5 FB 78 */ mr r5, r31 /* 801E1064 001DDFC4 38 80 00 02 */ li r4, 2 /* 801E1068 001DDFC8 4B FF A4 F9 */ bl sub_801db560 /* 801E106C 001DDFCC 48 00 00 10 */ b lbl_801E107C /* 801E1070 001DDFD0 4B E9 7E 41 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType /* 801E1074 001DDFD4 48 00 00 08 */ b lbl_801E107C /* 801E1078 001DDFD8 4B E9 7E 39 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_801E107C: /* 801E107C 001DDFDC E3 E1 05 68 */ psq_l f31, 1384(r1), 0, qr0 /* 801E1080 001DDFE0 CB E1 05 60 */ lfd f31, 0x560(r1) /* 801E1084 001DDFE4 E3 C1 05 58 */ psq_l f30, 1368(r1), 0, qr0 /* 801E1088 001DDFE8 CB C1 05 50 */ lfd f30, 0x550(r1) /* 801E108C 001DDFEC E3 A1 05 48 */ psq_l f29, 1352(r1), 0, qr0 /* 801E1090 001DDFF0 CB A1 05 40 */ lfd f29, 0x540(r1) /* 801E1094 001DDFF4 E3 81 05 38 */ psq_l f28, 1336(r1), 0, qr0 /* 801E1098 001DDFF8 CB 81 05 30 */ lfd f28, 0x530(r1) /* 801E109C 001DDFFC E3 61 05 28 */ psq_l f27, 1320(r1), 0, qr0 /* 801E10A0 001DE000 CB 61 05 20 */ lfd f27, 0x520(r1) /* 801E10A4 001DE004 BA E1 04 FC */ lmw r23, 0x4fc(r1) /* 801E10A8 001DE008 80 01 05 74 */ lwz r0, 0x574(r1) /* 801E10AC 001DE00C 7C 08 03 A6 */ mtlr r0 /* 801E10B0 001DE010 38 21 05 70 */ addi r1, r1, 0x570 /* 801E10B4 001DE014 4E 80 00 20 */ blr .global AcceptScriptMsg__8CThardusF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__8CThardusF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801E10B8 001DE018 94 21 FB A0 */ stwu r1, -0x460(r1) /* 801E10BC 001DE01C 7C 08 02 A6 */ mflr r0 /* 801E10C0 001DE020 90 01 04 64 */ stw r0, 0x464(r1) /* 801E10C4 001DE024 DB E1 04 50 */ stfd f31, 0x450(r1) /* 801E10C8 001DE028 F3 E1 04 58 */ psq_st f31, 1112(r1), 0, qr0 /* 801E10CC 001DE02C BE 41 04 18 */ stmw r18, 0x418(r1) /* 801E10D0 001DE030 7C B4 2B 78 */ mr r20, r5 /* 801E10D4 001DE034 7C 7F 1B 78 */ mr r31, r3 /* 801E10D8 001DE038 A0 05 00 00 */ lhz r0, 0(r5) /* 801E10DC 001DE03C 7C 92 23 78 */ mr r18, r4 /* 801E10E0 001DE040 7C DE 33 78 */ mr r30, r6 /* 801E10E4 001DE044 38 A1 00 B0 */ addi r5, r1, 0xb0 /* 801E10E8 001DE048 B0 01 00 B0 */ sth r0, 0xb0(r1) /* 801E10EC 001DE04C 4B E9 BA 8D */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801E10F0 001DE050 38 12 FF F6 */ addi r0, r18, -10 /* 801E10F4 001DE054 28 00 00 1F */ cmplwi r0, 0x1f /* 801E10F8 001DE058 41 81 10 D8 */ bgt lbl_801E21D0 /* 801E10FC 001DE05C 3C 60 80 3E */ lis r3, lbl_803E5FF4@ha /* 801E1100 001DE060 54 00 10 3A */ slwi r0, r0, 2 /* 801E1104 001DE064 38 63 5F F4 */ addi r3, r3, lbl_803E5FF4@l /* 801E1108 001DE068 7C 03 00 2E */ lwzx r0, r3, r0 /* 801E110C 001DE06C 7C 09 03 A6 */ mtctr r0 /* 801E1110 001DE070 4E 80 04 20 */ bctr /* 801E1114 001DE074 88 1F 05 C8 */ lbz r0, 0x5c8(r31) /* 801E1118 001DE078 28 00 00 00 */ cmplwi r0, 0 /* 801E111C 001DE07C 40 82 10 B4 */ bne lbl_801E21D0 /* 801E1120 001DE080 38 00 00 01 */ li r0, 1 /* 801E1124 001DE084 98 1F 05 C8 */ stb r0, 0x5c8(r31) /* 801E1128 001DE088 48 00 10 A8 */ b lbl_801E21D0 /* 801E112C 001DE08C 83 5F 05 D0 */ lwz r26, 0x5d0(r31) /* 801E1130 001DE090 38 7F 06 10 */ addi r3, r31, 0x610 /* 801E1134 001DE094 7F 52 D3 78 */ mr r18, r26 /* 801E1138 001DE098 7F 44 D3 78 */ mr r4, r26 /* 801E113C 001DE09C 4B E2 B2 CD */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 801E1140 001DE0A0 7E 44 93 78 */ mr r4, r18 /* 801E1144 001DE0A4 38 7F 06 B0 */ addi r3, r31, 0x6b0 /* 801E1148 001DE0A8 4B EC 0F 21 */ bl sub_800a2068 /* 801E114C 001DE0AC 7E 44 93 78 */ mr r4, r18 /* 801E1150 001DE0B0 38 7F 06 C0 */ addi r3, r31, 0x6c0 /* 801E1154 001DE0B4 4B E2 B2 B5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 801E1158 001DE0B8 7E 44 93 78 */ mr r4, r18 /* 801E115C 001DE0BC 38 7F 09 0C */ addi r3, r31, 0x90c /* 801E1160 001DE0C0 4B E7 CC 99 */ bl "reserve__Q24rstl36vectorFi" /* 801E1164 001DE0C4 3C 60 80 3D */ lis r3, lbl_803D1CB8@ha /* 801E1168 001DE0C8 3B 01 02 3C */ addi r24, r1, 0x23c /* 801E116C 001DE0CC 3B 3A FF FF */ addi r25, r26, -1 /* 801E1170 001DE0D0 3B 80 00 00 */ li r28, 0 /* 801E1174 001DE0D4 3B A3 1C B8 */ addi r29, r3, lbl_803D1CB8@l /* 801E1178 001DE0D8 3B 60 00 00 */ li r27, 0 /* 801E117C 001DE0DC 48 00 05 14 */ b lbl_801E1690 lbl_801E1180: /* 801E1180 001DE0E0 7C 1C C8 40 */ cmplw r28, r25 /* 801E1184 001DE0E4 40 82 00 14 */ bne lbl_801E1198 /* 801E1188 001DE0E8 C0 22 AC E0 */ lfs f1, lbl_805ACA00@sda21(r2) /* 801E118C 001DE0EC C0 1F 06 A8 */ lfs f0, 0x6a8(r31) /* 801E1190 001DE0F0 EF E1 00 32 */ fmuls f31, f1, f0 /* 801E1194 001DE0F4 48 00 00 08 */ b lbl_801E119C lbl_801E1198: /* 801E1198 001DE0F8 C3 FF 06 A8 */ lfs f31, 0x6a8(r31) lbl_801E119C: /* 801E119C 001DE0FC 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 801E11A0 001DE100 38 9D 00 DA */ addi r4, r29, 0xda /* 801E11A4 001DE104 38 C1 00 34 */ addi r6, r1, 0x34 /* 801E11A8 001DE108 38 A0 FF FF */ li r5, -1 /* 801E11AC 001DE10C 48 15 CF E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801E11B0 001DE110 7F C4 F3 78 */ mr r4, r30 /* 801E11B4 001DE114 38 61 00 AC */ addi r3, r1, 0xac /* 801E11B8 001DE118 4B E6 BF 25 */ bl AllocateUniqueId__13CStateManagerFv /* 801E11BC 001DE11C A0 01 00 AC */ lhz r0, 0xac(r1) /* 801E11C0 001DE120 38 9D 01 B3 */ addi r4, r29, 0x1b3 /* 801E11C4 001DE124 3A E0 00 00 */ li r23, 0 /* 801E11C8 001DE128 3A C0 00 00 */ li r22, 0 /* 801E11CC 001DE12C B0 01 00 CC */ sth r0, 0xcc(r1) /* 801E11D0 001DE130 3A 40 00 00 */ li r18, 0 /* 801E11D4 001DE134 38 60 03 48 */ li r3, 0x348 /* 801E11D8 001DE138 38 A0 00 00 */ li r5, 0 /* 801E11DC 001DE13C 48 13 46 91 */ bl __nw__FUlPCcPCc /* 801E11E0 001DE140 7C 75 1B 79 */ or. r21, r3, r3 /* 801E11E4 001DE144 41 82 02 00 */ beq lbl_801E13E4 /* 801E11E8 001DE148 81 3F 05 E8 */ lwz r9, 0x5e8(r31) /* 801E11EC 001DE14C 38 00 00 0F */ li r0, 0xf /* 801E11F0 001DE150 81 01 01 08 */ lwz r8, 0x108(r1) /* 801E11F4 001DE154 50 08 E0 06 */ rlwimi r8, r0, 0x1c, 0, 3 /* 801E11F8 001DE158 38 60 00 00 */ li r3, 0 /* 801E11FC 001DE15C C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E1200 001DE160 91 01 01 08 */ stw r8, 0x108(r1) /* 801E1204 001DE164 50 68 D9 08 */ rlwimi r8, r3, 0x1b, 4, 4 /* 801E1208 001DE168 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E120C 001DE16C 38 00 FF FF */ li r0, -1 /* 801E1210 001DE170 80 ED 92 00 */ lwz r7, lbl_805A7DC0@sda21(r13) /* 801E1214 001DE174 FC 40 08 90 */ fmr f2, f1 /* 801E1218 001DE178 80 CD 92 04 */ lwz r6, lbl_805A7DC4@sda21(r13) /* 801E121C 001DE17C FC 60 08 90 */ fmr f3, f1 /* 801E1220 001DE180 80 AD 91 F8 */ lwz r5, lbl_805A7DB8@sda21(r13) /* 801E1224 001DE184 FC 80 08 90 */ fmr f4, f1 /* 801E1228 001DE188 80 8D 91 FC */ lwz r4, lbl_805A7DBC@sda21(r13) /* 801E122C 001DE18C 91 01 01 08 */ stw r8, 0x108(r1) /* 801E1230 001DE190 50 68 D1 4A */ rlwimi r8, r3, 0x1a, 5, 5 /* 801E1234 001DE194 7E 89 DA 14 */ add r20, r9, r27 /* 801E1238 001DE198 38 61 01 00 */ addi r3, r1, 0x100 /* 801E123C 001DE19C 91 01 01 08 */ stw r8, 0x108(r1) /* 801E1240 001DE1A0 90 E1 01 70 */ stw r7, 0x170(r1) /* 801E1244 001DE1A4 90 C1 01 74 */ stw r6, 0x174(r1) /* 801E1248 001DE1A8 90 A1 01 68 */ stw r5, 0x168(r1) /* 801E124C 001DE1AC 90 81 01 6C */ stw r4, 0x16c(r1) /* 801E1250 001DE1B0 90 01 01 04 */ stw r0, 0x104(r1) /* 801E1254 001DE1B4 D0 01 01 90 */ stfs f0, 0x190(r1) /* 801E1258 001DE1B8 D0 01 01 94 */ stfs f0, 0x194(r1) /* 801E125C 001DE1BC D0 01 01 98 */ stfs f0, 0x198(r1) /* 801E1260 001DE1C0 48 18 21 8D */ bl __ct__6CColorFffff /* 801E1264 001DE1C4 38 80 FF FF */ li r4, -1 /* 801E1268 001DE1C8 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E126C 001DE1CC 90 81 00 08 */ stw r4, 8(r1) /* 801E1270 001DE1D0 7C 66 1B 78 */ mr r6, r3 /* 801E1274 001DE1D4 38 00 00 00 */ li r0, 0 /* 801E1278 001DE1D8 FC 40 08 90 */ fmr f2, f1 /* 801E127C 001DE1DC 90 81 00 0C */ stw r4, 0xc(r1) /* 801E1280 001DE1E0 FC 60 08 90 */ fmr f3, f1 /* 801E1284 001DE1E4 38 61 02 90 */ addi r3, r1, 0x290 /* 801E1288 001DE1E8 39 41 01 90 */ addi r10, r1, 0x190 /* 801E128C 001DE1EC 90 01 00 10 */ stw r0, 0x10(r1) /* 801E1290 001DE1F0 38 80 00 00 */ li r4, 0 /* 801E1294 001DE1F4 38 A0 FF FF */ li r5, -1 /* 801E1298 001DE1F8 90 01 00 14 */ stw r0, 0x14(r1) /* 801E129C 001DE1FC 38 E0 00 01 */ li r7, 1 /* 801E12A0 001DE200 39 00 00 02 */ li r8, 2 /* 801E12A4 001DE204 39 20 00 00 */ li r9, 0 /* 801E12A8 001DE208 4B F2 54 51 */ bl __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii /* 801E12AC 001DE20C C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E12B0 001DE210 38 00 00 00 */ li r0, 0 /* 801E12B4 001DE214 90 01 00 08 */ stw r0, 8(r1) /* 801E12B8 001DE218 38 61 03 AC */ addi r3, r1, 0x3ac /* 801E12BC 001DE21C FC 40 08 90 */ fmr f2, f1 /* 801E12C0 001DE220 C0 62 AC D8 */ lfs f3, lbl_805AC9F8@sda21(r2) /* 801E12C4 001DE224 90 01 00 0C */ stw r0, 0xc(r1) /* 801E12C8 001DE228 38 81 02 90 */ addi r4, r1, 0x290 /* 801E12CC 001DE22C 38 A1 01 04 */ addi r5, r1, 0x104 /* 801E12D0 001DE230 38 C1 01 68 */ addi r6, r1, 0x168 /* 801E12D4 001DE234 38 E1 01 70 */ addi r7, r1, 0x170 /* 801E12D8 001DE238 39 01 01 08 */ addi r8, r1, 0x108 /* 801E12DC 001DE23C 3A E0 00 01 */ li r23, 1 /* 801E12E0 001DE240 39 20 00 01 */ li r9, 1 /* 801E12E4 001DE244 39 40 00 01 */ li r10, 1 /* 801E12E8 001DE248 4B F2 55 E1 */ bl sub_801068c8 /* 801E12EC 001DE24C C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E12F0 001DE250 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801E12F4 001DE254 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801E12F8 001DE258 D3 E1 01 60 */ stfs f31, 0x160(r1) /* 801E12FC 001DE25C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 801E1300 001DE260 38 61 02 38 */ addi r3, r1, 0x238 /* 801E1304 001DE264 D0 01 01 64 */ stfs f0, 0x164(r1) /* 801E1308 001DE268 38 81 00 F8 */ addi r4, r1, 0xf8 /* 801E130C 001DE26C 38 C1 00 FC */ addi r6, r1, 0xfc /* 801E1310 001DE270 3A C0 00 01 */ li r22, 1 /* 801E1314 001DE274 80 FF 05 D8 */ lwz r7, 0x5d8(r31) /* 801E1318 001DE278 90 01 00 FC */ stw r0, 0xfc(r1) /* 801E131C 001DE27C 7E 67 DA 14 */ add r19, r7, r27 /* 801E1320 001DE280 80 1F 00 04 */ lwz r0, 4(r31) /* 801E1324 001DE284 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801E1328 001DE288 90 01 00 F8 */ stw r0, 0xf8(r1) /* 801E132C 001DE28C 4B E7 01 59 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801E1330 001DE290 A0 81 00 CC */ lhz r4, 0xcc(r1) /* 801E1334 001DE294 39 60 00 02 */ li r11, 2 /* 801E1338 001DE298 38 00 00 01 */ li r0, 1 /* 801E133C 001DE29C 38 61 03 44 */ addi r3, r1, 0x344 /* 801E1340 001DE2A0 B0 81 00 A8 */ sth r4, 0xa8(r1) /* 801E1344 001DE2A4 3A 40 00 01 */ li r18, 1 /* 801E1348 001DE2A8 38 80 00 01 */ li r4, 1 /* 801E134C 001DE2AC 38 A0 00 02 */ li r5, 2 /* 801E1350 001DE2B0 91 61 00 08 */ stw r11, 8(r1) /* 801E1354 001DE2B4 38 C0 00 01 */ li r6, 1 /* 801E1358 001DE2B8 38 E0 00 01 */ li r7, 1 /* 801E135C 001DE2BC 39 00 00 01 */ li r8, 1 /* 801E1360 001DE2C0 91 61 00 0C */ stw r11, 0xc(r1) /* 801E1364 001DE2C4 39 20 00 01 */ li r9, 1 /* 801E1368 001DE2C8 39 40 00 01 */ li r10, 1 /* 801E136C 001DE2CC 91 61 00 10 */ stw r11, 0x10(r1) /* 801E1370 001DE2D0 91 61 00 14 */ stw r11, 0x14(r1) /* 801E1374 001DE2D4 91 61 00 18 */ stw r11, 0x18(r1) /* 801E1378 001DE2D8 91 61 00 1C */ stw r11, 0x1c(r1) /* 801E137C 001DE2DC 91 61 00 20 */ stw r11, 0x20(r1) /* 801E1380 001DE2E0 91 61 00 24 */ stw r11, 0x24(r1) /* 801E1384 001DE2E4 90 01 00 28 */ stw r0, 0x28(r1) /* 801E1388 001DE2E8 4B F2 15 AD */ bl __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType /* 801E138C 001DE2EC 90 61 00 08 */ stw r3, 8(r1) /* 801E1390 001DE2F0 38 1F 00 68 */ addi r0, r31, 0x68 /* 801E1394 001DE2F4 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801E1398 001DE2F8 38 A1 03 AC */ addi r5, r1, 0x3ac /* 801E139C 001DE2FC 90 01 00 0C */ stw r0, 0xc(r1) /* 801E13A0 001DE300 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 801E13A4 001DE304 38 00 00 00 */ li r0, 0 /* 801E13A8 001DE308 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E13AC 001DE30C 80 9F 06 30 */ lwz r4, 0x630(r31) /* 801E13B0 001DE310 7E A3 AB 78 */ mr r3, r21 /* 801E13B4 001DE314 7E 69 9B 78 */ mr r9, r19 /* 801E13B8 001DE318 38 C1 01 C4 */ addi r6, r1, 0x1c4 /* 801E13BC 001DE31C 90 81 00 10 */ stw r4, 0x10(r1) /* 801E13C0 001DE320 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801E13C4 001DE324 38 E1 02 38 */ addi r7, r1, 0x238 /* 801E13C8 001DE328 39 41 01 60 */ addi r10, r1, 0x160 /* 801E13CC 001DE32C 90 A1 00 14 */ stw r5, 0x14(r1) /* 801E13D0 001DE330 38 A0 00 01 */ li r5, 1 /* 801E13D4 001DE334 92 81 00 18 */ stw r20, 0x18(r1) /* 801E13D8 001DE338 90 01 00 1C */ stw r0, 0x1c(r1) /* 801E13DC 001DE33C 48 00 22 CD */ bl "__ct__16CDestroyableRockF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDatafRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersRC10CModelData" /* 801E13E0 001DE340 7C 75 1B 78 */ mr r21, r3 lbl_801E13E4: /* 801E13E4 001DE344 7E 40 07 75 */ extsb. r0, r18 /* 801E13E8 001DE348 7E B3 AB 78 */ mr r19, r21 /* 801E13EC 001DE34C 41 82 00 4C */ beq lbl_801E1438 /* 801E13F0 001DE350 28 18 00 00 */ cmplwi r24, 0 /* 801E13F4 001DE354 41 82 00 44 */ beq lbl_801E1438 /* 801E13F8 001DE358 80 01 02 40 */ lwz r0, 0x240(r1) /* 801E13FC 001DE35C 80 61 02 48 */ lwz r3, 0x248(r1) /* 801E1400 001DE360 1C 00 00 0C */ mulli r0, r0, 0xc /* 801E1404 001DE364 90 61 00 D4 */ stw r3, 0xd4(r1) /* 801E1408 001DE368 7C 64 1B 78 */ mr r4, r3 /* 801E140C 001DE36C 7C 03 02 14 */ add r0, r3, r0 /* 801E1410 001DE370 90 61 00 D0 */ stw r3, 0xd0(r1) /* 801E1414 001DE374 90 01 00 DC */ stw r0, 0xdc(r1) /* 801E1418 001DE378 90 01 00 D8 */ stw r0, 0xd8(r1) /* 801E141C 001DE37C 48 00 00 08 */ b lbl_801E1424 lbl_801E1420: /* 801E1420 001DE380 38 84 00 0C */ addi r4, r4, 0xc lbl_801E1424: /* 801E1424 001DE384 7C 04 00 40 */ cmplw r4, r0 /* 801E1428 001DE388 40 82 FF F8 */ bne lbl_801E1420 /* 801E142C 001DE38C 28 03 00 00 */ cmplwi r3, 0 /* 801E1430 001DE390 41 82 00 08 */ beq lbl_801E1438 /* 801E1434 001DE394 48 13 44 FD */ bl Free__7CMemoryFPCv lbl_801E1438: /* 801E1438 001DE398 7E C0 07 75 */ extsb. r0, r22 /* 801E143C 001DE39C 41 82 00 10 */ beq lbl_801E144C /* 801E1440 001DE3A0 38 61 03 AC */ addi r3, r1, 0x3ac /* 801E1444 001DE3A4 38 80 FF FF */ li r4, -1 /* 801E1448 001DE3A8 4B F2 51 C1 */ bl __dt__16CActorParametersFv lbl_801E144C: /* 801E144C 001DE3AC 7E E0 07 75 */ extsb. r0, r23 /* 801E1450 001DE3B0 41 82 00 10 */ beq lbl_801E1460 /* 801E1454 001DE3B4 38 61 02 90 */ addi r3, r1, 0x290 /* 801E1458 001DE3B8 38 80 FF FF */ li r4, -1 /* 801E145C 001DE3BC 4B F2 51 AD */ bl __dt__16CActorParametersFv lbl_801E1460: /* 801E1460 001DE3C0 7F C3 F3 78 */ mr r3, r30 /* 801E1464 001DE3C4 7E 64 9B 78 */ mr r4, r19 /* 801E1468 001DE3C8 4B E6 B8 8D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801E146C 001DE3CC 80 1F 06 14 */ lwz r0, 0x614(r31) /* 801E1470 001DE3D0 80 BF 06 18 */ lwz r5, 0x618(r31) /* 801E1474 001DE3D4 7C 00 28 00 */ cmpw r0, r5 /* 801E1478 001DE3D8 41 80 00 1C */ blt lbl_801E1494 /* 801E147C 001DE3DC 2C 05 00 00 */ cmpwi r5, 0 /* 801E1480 001DE3E0 38 7F 06 10 */ addi r3, r31, 0x610 /* 801E1484 001DE3E4 38 80 00 04 */ li r4, 4 /* 801E1488 001DE3E8 41 82 00 08 */ beq lbl_801E1490 /* 801E148C 001DE3EC 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E1490: /* 801E1490 001DE3F0 4B E2 AF 79 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_801E1494: /* 801E1494 001DE3F4 80 1F 06 14 */ lwz r0, 0x614(r31) /* 801E1498 001DE3F8 80 7F 06 1C */ lwz r3, 0x61c(r31) /* 801E149C 001DE3FC 54 00 08 3C */ slwi r0, r0, 1 /* 801E14A0 001DE400 7C 63 02 15 */ add. r3, r3, r0 /* 801E14A4 001DE404 41 82 00 0C */ beq lbl_801E14B0 /* 801E14A8 001DE408 A0 01 00 CC */ lhz r0, 0xcc(r1) /* 801E14AC 001DE40C B0 03 00 00 */ sth r0, 0(r3) lbl_801E14B0: /* 801E14B0 001DE410 80 7F 06 14 */ lwz r3, 0x614(r31) /* 801E14B4 001DE414 38 03 00 01 */ addi r0, r3, 1 /* 801E14B8 001DE418 90 1F 06 14 */ stw r0, 0x614(r31) /* 801E14BC 001DE41C 80 1F 06 B4 */ lwz r0, 0x6b4(r31) /* 801E14C0 001DE420 80 BF 06 B8 */ lwz r5, 0x6b8(r31) /* 801E14C4 001DE424 7C 00 28 00 */ cmpw r0, r5 /* 801E14C8 001DE428 41 80 00 1C */ blt lbl_801E14E4 /* 801E14CC 001DE42C 2C 05 00 00 */ cmpwi r5, 0 /* 801E14D0 001DE430 38 7F 06 B0 */ addi r3, r31, 0x6b0 /* 801E14D4 001DE434 38 80 00 04 */ li r4, 4 /* 801E14D8 001DE438 41 82 00 08 */ beq lbl_801E14E0 /* 801E14DC 001DE43C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E14E0: /* 801E14E0 001DE440 4B EC 0B 89 */ bl sub_800a2068 lbl_801E14E4: /* 801E14E4 001DE444 80 7F 06 BC */ lwz r3, 0x6bc(r31) /* 801E14E8 001DE448 80 1F 06 B4 */ lwz r0, 0x6b4(r31) /* 801E14EC 001DE44C 7C 63 02 15 */ add. r3, r3, r0 /* 801E14F0 001DE450 41 82 00 0C */ beq lbl_801E14FC /* 801E14F4 001DE454 88 0D 92 08 */ lbz r0, lbl_805A7DC8@sda21(r13) /* 801E14F8 001DE458 98 03 00 00 */ stb r0, 0(r3) lbl_801E14FC: /* 801E14FC 001DE45C 80 BF 06 B4 */ lwz r5, 0x6b4(r31) /* 801E1500 001DE460 7F C4 F3 78 */ mr r4, r30 /* 801E1504 001DE464 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801E1508 001DE468 38 05 00 01 */ addi r0, r5, 1 /* 801E150C 001DE46C 90 1F 06 B4 */ stw r0, 0x6b4(r31) /* 801E1510 001DE470 4B E6 BB CD */ bl AllocateUniqueId__13CStateManagerFv /* 801E1514 001DE474 A0 01 00 A4 */ lhz r0, 0xa4(r1) /* 801E1518 001DE478 38 61 01 B4 */ addi r3, r1, 0x1b4 /* 801E151C 001DE47C 38 9D 00 DA */ addi r4, r29, 0xda /* 801E1520 001DE480 38 C1 00 30 */ addi r6, r1, 0x30 /* 801E1524 001DE484 B0 01 00 C8 */ sth r0, 0xc8(r1) /* 801E1528 001DE488 38 A0 FF FF */ li r5, -1 /* 801E152C 001DE48C 48 15 CC 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 801E1530 001DE490 38 9D 01 B3 */ addi r4, r29, 0x1b3 /* 801E1534 001DE494 38 60 01 48 */ li r3, 0x148 /* 801E1538 001DE498 38 A0 00 00 */ li r5, 0 /* 801E153C 001DE49C 48 13 43 31 */ bl __nw__FUlPCcPCc /* 801E1540 001DE4A0 7C 73 1B 79 */ or. r19, r3, r3 /* 801E1544 001DE4A4 41 82 00 74 */ beq lbl_801E15B8 /* 801E1548 001DE4A8 A0 61 00 CC */ lhz r3, 0xcc(r1) /* 801E154C 001DE4AC A0 01 00 C8 */ lhz r0, 0xc8(r1) /* 801E1550 001DE4B0 B0 61 00 A0 */ sth r3, 0xa0(r1) /* 801E1554 001DE4B4 80 7F 00 04 */ lwz r3, 4(r31) /* 801E1558 001DE4B8 90 61 00 EC */ stw r3, 0xec(r1) /* 801E155C 001DE4BC 90 61 00 F0 */ stw r3, 0xf0(r1) /* 801E1560 001DE4C0 B0 01 00 9C */ sth r0, 0x9c(r1) /* 801E1564 001DE4C4 48 16 8A 31 */ bl Blue__6CColorFv /* 801E1568 001DE4C8 3C 80 80 5A */ lis r4, skZero3f@ha /* 801E156C 001DE4CC 7C 65 1B 78 */ mr r5, r3 /* 801E1570 001DE4D0 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801E1574 001DE4D4 38 61 02 F4 */ addi r3, r1, 0x2f4 /* 801E1578 001DE4D8 48 12 4E BD */ bl BuildPoint__6CLightFRC9CVector3fRC6CColor /* 801E157C 001DE4DC 38 00 00 00 */ li r0, 0 /* 801E1580 001DE4E0 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801E1584 001DE4E4 90 01 00 08 */ stw r0, 8(r1) /* 801E1588 001DE4E8 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 801E158C 001DE4EC C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E1590 001DE4F0 7E 63 9B 78 */ mr r3, r19 /* 801E1594 001DE4F4 90 01 00 0C */ stw r0, 0xc(r1) /* 801E1598 001DE4F8 38 81 00 9C */ addi r4, r1, 0x9c /* 801E159C 001DE4FC 38 A1 00 F0 */ addi r5, r1, 0xf0 /* 801E15A0 001DE500 38 E1 01 B4 */ addi r7, r1, 0x1b4 /* 801E15A4 001DE504 39 21 00 A0 */ addi r9, r1, 0xa0 /* 801E15A8 001DE508 39 41 02 F4 */ addi r10, r1, 0x2f4 /* 801E15AC 001DE50C 38 C0 00 00 */ li r6, 0 /* 801E15B0 001DE510 4B ED 42 75 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" /* 801E15B4 001DE514 7C 73 1B 78 */ mr r19, r3 lbl_801E15B8: /* 801E15B8 001DE518 7E 63 9B 78 */ mr r3, r19 /* 801E15BC 001DE51C 38 80 00 00 */ li r4, 0 /* 801E15C0 001DE520 81 93 00 00 */ lwz r12, 0(r19) /* 801E15C4 001DE524 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E15C8 001DE528 7D 89 03 A6 */ mtctr r12 /* 801E15CC 001DE52C 4E 80 04 21 */ bctrl /* 801E15D0 001DE530 7F C3 F3 78 */ mr r3, r30 /* 801E15D4 001DE534 7E 64 9B 78 */ mr r4, r19 /* 801E15D8 001DE538 4B E6 B5 3D */ bl AddObject__13CStateManagerFR7CEntity /* 801E15DC 001DE53C 80 1F 06 C4 */ lwz r0, 0x6c4(r31) /* 801E15E0 001DE540 80 BF 06 C8 */ lwz r5, 0x6c8(r31) /* 801E15E4 001DE544 7C 00 28 00 */ cmpw r0, r5 /* 801E15E8 001DE548 41 80 00 1C */ blt lbl_801E1604 /* 801E15EC 001DE54C 2C 05 00 00 */ cmpwi r5, 0 /* 801E15F0 001DE550 38 7F 06 C0 */ addi r3, r31, 0x6c0 /* 801E15F4 001DE554 38 80 00 04 */ li r4, 4 /* 801E15F8 001DE558 41 82 00 08 */ beq lbl_801E1600 /* 801E15FC 001DE55C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E1600: /* 801E1600 001DE560 4B E2 AE 09 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_801E1604: /* 801E1604 001DE564 80 1F 06 C4 */ lwz r0, 0x6c4(r31) /* 801E1608 001DE568 80 7F 06 CC */ lwz r3, 0x6cc(r31) /* 801E160C 001DE56C 54 00 08 3C */ slwi r0, r0, 1 /* 801E1610 001DE570 7C 63 02 15 */ add. r3, r3, r0 /* 801E1614 001DE574 41 82 00 0C */ beq lbl_801E1620 /* 801E1618 001DE578 A0 01 00 C8 */ lhz r0, 0xc8(r1) /* 801E161C 001DE57C B0 03 00 00 */ sth r0, 0(r3) lbl_801E1620: /* 801E1620 001DE580 80 7F 06 C4 */ lwz r3, 0x6c4(r31) /* 801E1624 001DE584 38 03 00 01 */ addi r0, r3, 1 /* 801E1628 001DE588 90 1F 06 C4 */ stw r0, 0x6c4(r31) /* 801E162C 001DE58C 80 1F 09 10 */ lwz r0, 0x910(r31) /* 801E1630 001DE590 80 BF 09 14 */ lwz r5, 0x914(r31) /* 801E1634 001DE594 7C 00 28 00 */ cmpw r0, r5 /* 801E1638 001DE598 41 80 00 1C */ blt lbl_801E1654 /* 801E163C 001DE59C 2C 05 00 00 */ cmpwi r5, 0 /* 801E1640 001DE5A0 38 7F 09 0C */ addi r3, r31, 0x90c /* 801E1644 001DE5A4 38 80 00 04 */ li r4, 4 /* 801E1648 001DE5A8 41 82 00 08 */ beq lbl_801E1650 /* 801E164C 001DE5AC 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E1650: /* 801E1650 001DE5B0 4B E7 C7 A9 */ bl "reserve__Q24rstl36vectorFi" lbl_801E1654: /* 801E1654 001DE5B4 80 1F 09 10 */ lwz r0, 0x910(r31) /* 801E1658 001DE5B8 80 7F 09 18 */ lwz r3, 0x918(r31) /* 801E165C 001DE5BC 54 00 10 3A */ slwi r0, r0, 2 /* 801E1660 001DE5C0 7C 63 02 15 */ add. r3, r3, r0 /* 801E1664 001DE5C4 41 82 00 08 */ beq lbl_801E166C /* 801E1668 001DE5C8 D3 E3 00 00 */ stfs f31, 0(r3) lbl_801E166C: /* 801E166C 001DE5CC 80 9F 09 10 */ lwz r4, 0x910(r31) /* 801E1670 001DE5D0 38 61 01 B4 */ addi r3, r1, 0x1b4 /* 801E1674 001DE5D4 38 04 00 01 */ addi r0, r4, 1 /* 801E1678 001DE5D8 90 1F 09 10 */ stw r0, 0x910(r31) /* 801E167C 001DE5DC 48 15 C4 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E1680 001DE5E0 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 801E1684 001DE5E4 48 15 C4 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E1688 001DE5E8 3B 9C 00 01 */ addi r28, r28, 1 /* 801E168C 001DE5EC 3B 7B 00 4C */ addi r27, r27, 0x4c lbl_801E1690: /* 801E1690 001DE5F0 7C 1C D0 40 */ cmplw r28, r26 /* 801E1694 001DE5F4 41 80 FA EC */ blt lbl_801E1180 /* 801E1698 001DE5F8 7F E3 FB 78 */ mr r3, r31 /* 801E169C 001DE5FC 7F C5 F3 78 */ mr r5, r30 /* 801E16A0 001DE600 38 80 00 1B */ li r4, 0x1b /* 801E16A4 001DE604 4B E7 2C AD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E16A8 001DE608 7F E3 FB 78 */ mr r3, r31 /* 801E16AC 001DE60C 7F C5 F3 78 */ mr r5, r30 /* 801E16B0 001DE610 38 80 00 15 */ li r4, 0x15 /* 801E16B4 001DE614 4B E7 2C 9D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E16B8 001DE618 7F E3 FB 78 */ mr r3, r31 /* 801E16BC 001DE61C 7F C5 F3 78 */ mr r5, r30 /* 801E16C0 001DE620 38 80 00 29 */ li r4, 0x29 /* 801E16C4 001DE624 4B E7 28 BD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E16C8 001DE628 7F E3 FB 78 */ mr r3, r31 /* 801E16CC 001DE62C 7F C5 F3 78 */ mr r5, r30 /* 801E16D0 001DE630 38 80 00 28 */ li r4, 0x28 /* 801E16D4 001DE634 4B E7 28 AD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E16D8 001DE638 7F E3 FB 78 */ mr r3, r31 /* 801E16DC 001DE63C 7F C4 F3 78 */ mr r4, r30 /* 801E16E0 001DE640 4B FF C5 05 */ bl sub_801ddbe4 /* 801E16E4 001DE644 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801E16E8 001DE648 38 80 00 02 */ li r4, 2 /* 801E16EC 001DE64C 4B F5 94 B9 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState /* 801E16F0 001DE650 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801E16F4 001DE654 7F C4 F3 78 */ mr r4, r30 /* 801E16F8 001DE658 4B F5 95 F9 */ bl Activate__15CBodyControllerFR13CStateManager /* 801E16FC 001DE65C 80 DF 04 50 */ lwz r6, 0x450(r31) /* 801E1700 001DE660 38 80 00 01 */ li r4, 1 /* 801E1704 001DE664 7F E3 FB 78 */ mr r3, r31 /* 801E1708 001DE668 7F C5 F3 78 */ mr r5, r30 /* 801E170C 001DE66C 88 06 02 D8 */ lbz r0, 0x2d8(r6) /* 801E1710 001DE670 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801E1714 001DE674 38 80 00 00 */ li r4, 0 /* 801E1718 001DE678 98 06 02 D8 */ stb r0, 0x2d8(r6) /* 801E171C 001DE67C 4B FF 9E 45 */ bl sub_801db560 /* 801E1720 001DE680 7F E3 FB 78 */ mr r3, r31 /* 801E1724 001DE684 7F C4 F3 78 */ mr r4, r30 /* 801E1728 001DE688 4B FF D5 59 */ bl sub_801dec80 /* 801E172C 001DE68C 7F E3 FB 78 */ mr r3, r31 /* 801E1730 001DE690 7F C5 F3 78 */ mr r5, r30 /* 801E1734 001DE694 38 80 00 33 */ li r4, 0x33 /* 801E1738 001DE698 4B E7 2C 19 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E173C 001DE69C 48 00 0A 94 */ b lbl_801E21D0 /* 801E1740 001DE6A0 80 7F 05 F0 */ lwz r3, 0x5f0(r31) /* 801E1744 001DE6A4 7F C4 F3 78 */ mr r4, r30 /* 801E1748 001DE6A8 4B FC 5C 7D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801E174C 001DE6AC 80 7F 05 F4 */ lwz r3, 0x5f4(r31) /* 801E1750 001DE6B0 7F C4 F3 78 */ mr r4, r30 /* 801E1754 001DE6B4 4B FC 5C 71 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801E1758 001DE6B8 80 7F 05 F8 */ lwz r3, 0x5f8(r31) /* 801E175C 001DE6BC 7F C4 F3 78 */ mr r4, r30 /* 801E1760 001DE6C0 4B FC 5C 65 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801E1764 001DE6C4 A0 1F 06 4C */ lhz r0, 0x64c(r31) /* 801E1768 001DE6C8 7F C3 F3 78 */ mr r3, r30 /* 801E176C 001DE6CC 38 81 00 98 */ addi r4, r1, 0x98 /* 801E1770 001DE6D0 B0 01 00 98 */ sth r0, 0x98(r1) /* 801E1774 001DE6D4 4B E6 AA F9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801E1778 001DE6D8 82 7F 06 14 */ lwz r19, 0x614(r31) /* 801E177C 001DE6DC 3A 80 00 00 */ li r20, 0 /* 801E1780 001DE6E0 3A 40 00 00 */ li r18, 0 /* 801E1784 001DE6E4 48 00 00 24 */ b lbl_801E17A8 lbl_801E1788: /* 801E1788 001DE6E8 80 BF 06 1C */ lwz r5, 0x61c(r31) /* 801E178C 001DE6EC 7F C3 F3 78 */ mr r3, r30 /* 801E1790 001DE6F0 38 81 00 94 */ addi r4, r1, 0x94 /* 801E1794 001DE6F4 7C 05 92 2E */ lhzx r0, r5, r18 /* 801E1798 001DE6F8 B0 01 00 94 */ sth r0, 0x94(r1) /* 801E179C 001DE6FC 4B E6 AA D1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801E17A0 001DE700 3A 94 00 01 */ addi r20, r20, 1 /* 801E17A4 001DE704 3A 52 00 02 */ addi r18, r18, 2 lbl_801E17A8: /* 801E17A8 001DE708 7C 14 98 40 */ cmplw r20, r19 /* 801E17AC 001DE70C 41 80 FF DC */ blt lbl_801E1788 /* 801E17B0 001DE710 82 9F 06 C4 */ lwz r20, 0x6c4(r31) /* 801E17B4 001DE714 3A 60 00 00 */ li r19, 0 /* 801E17B8 001DE718 3A 40 00 00 */ li r18, 0 /* 801E17BC 001DE71C 48 00 00 24 */ b lbl_801E17E0 lbl_801E17C0: /* 801E17C0 001DE720 80 BF 06 CC */ lwz r5, 0x6cc(r31) /* 801E17C4 001DE724 7F C3 F3 78 */ mr r3, r30 /* 801E17C8 001DE728 38 81 00 90 */ addi r4, r1, 0x90 /* 801E17CC 001DE72C 7C 05 92 2E */ lhzx r0, r5, r18 /* 801E17D0 001DE730 B0 01 00 90 */ sth r0, 0x90(r1) /* 801E17D4 001DE734 4B E6 AA 99 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801E17D8 001DE738 3A 73 00 01 */ addi r19, r19, 1 /* 801E17DC 001DE73C 3A 52 00 02 */ addi r18, r18, 2 lbl_801E17E0: /* 801E17E0 001DE740 7C 13 A0 40 */ cmplw r19, r20 /* 801E17E4 001DE744 41 80 FF DC */ blt lbl_801E17C0 /* 801E17E8 001DE748 48 00 09 E8 */ b lbl_801E21D0 /* 801E17EC 001DE74C 88 1F 09 4C */ lbz r0, 0x94c(r31) /* 801E17F0 001DE750 28 00 00 00 */ cmplwi r0, 0 /* 801E17F4 001DE754 40 82 09 DC */ bne lbl_801E21D0 /* 801E17F8 001DE758 38 00 00 01 */ li r0, 1 /* 801E17FC 001DE75C 38 7F 07 64 */ addi r3, r31, 0x764 /* 801E1800 001DE760 98 1F 09 4C */ stb r0, 0x94c(r31) /* 801E1804 001DE764 38 9F 00 34 */ addi r4, r31, 0x34 /* 801E1808 001DE768 48 13 13 39 */ bl __as__12CTransform4fFRC12CTransform4f /* 801E180C 001DE76C 83 7F 00 24 */ lwz r27, 0x24(r31) /* 801E1810 001DE770 3B 3F 05 7C */ addi r25, r31, 0x57c /* 801E1814 001DE774 3B 01 02 D4 */ addi r24, r1, 0x2d4 /* 801E1818 001DE778 3B BF 06 68 */ addi r29, r31, 0x668 /* 801E181C 001DE77C 3B 80 00 00 */ li r28, 0 /* 801E1820 001DE780 3B 40 00 00 */ li r26, 0 /* 801E1824 001DE784 48 00 03 48 */ b lbl_801E1B6C lbl_801E1828: /* 801E1828 001DE788 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 801E182C 001DE78C 7F C4 F3 78 */ mr r4, r30 /* 801E1830 001DE790 38 61 00 8C */ addi r3, r1, 0x8c /* 801E1834 001DE794 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 801E1838 001DE798 7E 40 D2 14 */ add r18, r0, r26 /* 801E183C 001DE79C 80 12 00 08 */ lwz r0, 8(r18) /* 801E1840 001DE7A0 90 01 00 E8 */ stw r0, 0xe8(r1) /* 801E1844 001DE7A4 4B E6 66 D9 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801E1848 001DE7A8 A0 61 00 8C */ lhz r3, 0x8c(r1) /* 801E184C 001DE7AC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801E1850 001DE7B0 B0 61 00 C4 */ sth r3, 0xc4(r1) /* 801E1854 001DE7B4 7C 03 20 40 */ cmplw r3, r4 /* 801E1858 001DE7B8 41 82 03 0C */ beq lbl_801E1B64 /* 801E185C 001DE7BC 80 12 00 00 */ lwz r0, 0(r18) /* 801E1860 001DE7C0 2C 00 00 0D */ cmpwi r0, 0xd /* 801E1864 001DE7C4 40 82 01 D8 */ bne lbl_801E1A3C /* 801E1868 001DE7C8 B0 61 00 88 */ sth r3, 0x88(r1) /* 801E186C 001DE7CC 7F C3 F3 78 */ mr r3, r30 /* 801E1870 001DE7D0 38 81 00 88 */ addi r4, r1, 0x88 /* 801E1874 001DE7D4 4B E6 AD 01 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1878 001DE7D8 7C 64 1B 78 */ mr r4, r3 /* 801E187C 001DE7DC 38 61 01 58 */ addi r3, r1, 0x158 /* 801E1880 001DE7E0 4B EC 4C CD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801E1884 001DE7E4 80 83 00 04 */ lwz r4, 4(r3) /* 801E1888 001DE7E8 28 04 00 00 */ cmplwi r4, 0 /* 801E188C 001DE7EC 41 82 00 D0 */ beq lbl_801E195C /* 801E1890 001DE7F0 38 00 00 00 */ li r0, 0 /* 801E1894 001DE7F4 7F E3 FB 78 */ mr r3, r31 /* 801E1898 001DE7F8 90 01 02 D0 */ stw r0, 0x2d0(r1) /* 801E189C 001DE7FC 7F C5 F3 78 */ mr r5, r30 /* 801E18A0 001DE800 38 C1 02 D0 */ addi r6, r1, 0x2d0 /* 801E18A4 001DE804 4B FF C9 05 */ bl sub_801de1a8 /* 801E18A8 001DE808 80 1F 05 78 */ lwz r0, 0x578(r31) /* 801E18AC 001DE80C 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801E18B0 001DE810 7C 79 02 15 */ add. r3, r25, r0 /* 801E18B4 001DE814 41 82 00 40 */ beq lbl_801E18F4 /* 801E18B8 001DE818 80 01 02 D0 */ lwz r0, 0x2d0(r1) /* 801E18BC 001DE81C 7F 05 C3 78 */ mr r5, r24 /* 801E18C0 001DE820 38 83 00 04 */ addi r4, r3, 4 /* 801E18C4 001DE824 90 03 00 00 */ stw r0, 0(r3) /* 801E18C8 001DE828 80 03 00 00 */ lwz r0, 0(r3) /* 801E18CC 001DE82C 7C 09 03 A6 */ mtctr r0 /* 801E18D0 001DE830 2C 00 00 00 */ cmpwi r0, 0 /* 801E18D4 001DE834 40 81 00 20 */ ble lbl_801E18F4 lbl_801E18D8: /* 801E18D8 001DE838 28 04 00 00 */ cmplwi r4, 0 /* 801E18DC 001DE83C 41 82 00 0C */ beq lbl_801E18E8 /* 801E18E0 001DE840 A0 05 00 00 */ lhz r0, 0(r5) /* 801E18E4 001DE844 B0 04 00 00 */ sth r0, 0(r4) lbl_801E18E8: /* 801E18E8 001DE848 38 84 00 02 */ addi r4, r4, 2 /* 801E18EC 001DE84C 38 A5 00 02 */ addi r5, r5, 2 /* 801E18F0 001DE850 42 00 FF E8 */ bdnz lbl_801E18D8 lbl_801E18F4: /* 801E18F4 001DE854 80 7F 05 78 */ lwz r3, 0x578(r31) /* 801E18F8 001DE858 38 80 00 00 */ li r4, 0 /* 801E18FC 001DE85C 38 03 00 01 */ addi r0, r3, 1 /* 801E1900 001DE860 90 1F 05 78 */ stw r0, 0x578(r31) /* 801E1904 001DE864 80 A1 02 D0 */ lwz r5, 0x2d0(r1) /* 801E1908 001DE868 2C 05 00 00 */ cmpwi r5, 0 /* 801E190C 001DE86C 40 81 00 44 */ ble lbl_801E1950 /* 801E1910 001DE870 2C 05 00 08 */ cmpwi r5, 8 /* 801E1914 001DE874 38 65 FF F8 */ addi r3, r5, -8 /* 801E1918 001DE878 40 81 00 20 */ ble lbl_801E1938 /* 801E191C 001DE87C 38 03 00 07 */ addi r0, r3, 7 /* 801E1920 001DE880 54 00 E8 FE */ srwi r0, r0, 3 /* 801E1924 001DE884 7C 09 03 A6 */ mtctr r0 /* 801E1928 001DE888 2C 03 00 00 */ cmpwi r3, 0 /* 801E192C 001DE88C 40 81 00 0C */ ble lbl_801E1938 lbl_801E1930: /* 801E1930 001DE890 38 84 00 08 */ addi r4, r4, 8 /* 801E1934 001DE894 42 00 FF FC */ bdnz lbl_801E1930 lbl_801E1938: /* 801E1938 001DE898 7C 04 28 50 */ subf r0, r4, r5 /* 801E193C 001DE89C 7C 09 03 A6 */ mtctr r0 /* 801E1940 001DE8A0 7C 04 28 00 */ cmpw r4, r5 /* 801E1944 001DE8A4 40 80 00 0C */ bge lbl_801E1950 lbl_801E1948: /* 801E1948 001DE8A8 38 84 00 01 */ addi r4, r4, 1 /* 801E194C 001DE8AC 42 00 FF FC */ bdnz lbl_801E1948 lbl_801E1950: /* 801E1950 001DE8B0 38 00 00 00 */ li r0, 0 /* 801E1954 001DE8B4 90 01 02 D0 */ stw r0, 0x2d0(r1) /* 801E1958 001DE8B8 48 00 02 0C */ b lbl_801E1B64 lbl_801E195C: /* 801E195C 001DE8BC A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E1960 001DE8C0 7F C3 F3 78 */ mr r3, r30 /* 801E1964 001DE8C4 38 81 00 84 */ addi r4, r1, 0x84 /* 801E1968 001DE8C8 B0 01 00 84 */ sth r0, 0x84(r1) /* 801E196C 001DE8CC 4B E6 AC 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1970 001DE8D0 7C 64 1B 78 */ mr r4, r3 /* 801E1974 001DE8D4 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801E1978 001DE8D8 4B EC 3A 25 */ bl sub_800a539c /* 801E197C 001DE8DC 4B EC 39 F5 */ bl "CastTo<22CThardusRockProjectile>__10CPatternedFP7CEntity" /* 801E1980 001DE8E0 28 03 00 00 */ cmplwi r3, 0 /* 801E1984 001DE8E4 41 82 00 2C */ beq lbl_801E19B0 /* 801E1988 001DE8E8 A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E198C 001DE8EC 38 80 00 00 */ li r4, 0 /* 801E1990 001DE8F0 B0 1F 05 FC */ sth r0, 0x5fc(r31) /* 801E1994 001DE8F4 80 12 00 08 */ lwz r0, 8(r18) /* 801E1998 001DE8F8 90 1F 06 0C */ stw r0, 0x60c(r31) /* 801E199C 001DE8FC 81 83 00 00 */ lwz r12, 0(r3) /* 801E19A0 001DE900 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E19A4 001DE904 7D 89 03 A6 */ mtctr r12 /* 801E19A8 001DE908 4E 80 04 21 */ bctrl /* 801E19AC 001DE90C 48 00 01 B8 */ b lbl_801E1B64 lbl_801E19B0: /* 801E19B0 001DE910 A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E19B4 001DE914 7F C3 F3 78 */ mr r3, r30 /* 801E19B8 001DE918 38 81 00 80 */ addi r4, r1, 0x80 /* 801E19BC 001DE91C B0 01 00 80 */ sth r0, 0x80(r1) /* 801E19C0 001DE920 4B E6 AB E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801E19C4 001DE924 7C 64 1B 78 */ mr r4, r3 /* 801E19C8 001DE928 38 61 01 30 */ addi r3, r1, 0x130 /* 801E19CC 001DE92C 4B EC A6 B5 */ bl "__ct__22TCastToPtr<9CRepulsor>FP7CEntity" /* 801E19D0 001DE930 80 03 00 04 */ lwz r0, 4(r3) /* 801E19D4 001DE934 28 00 00 00 */ cmplwi r0, 0 /* 801E19D8 001DE938 41 82 00 2C */ beq lbl_801E1A04 /* 801E19DC 001DE93C 80 1F 06 64 */ lwz r0, 0x664(r31) /* 801E19E0 001DE940 54 00 08 3C */ slwi r0, r0, 1 /* 801E19E4 001DE944 7C 7D 02 15 */ add. r3, r29, r0 /* 801E19E8 001DE948 41 82 00 0C */ beq lbl_801E19F4 /* 801E19EC 001DE94C A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E19F0 001DE950 B0 03 00 00 */ sth r0, 0(r3) lbl_801E19F4: /* 801E19F4 001DE954 80 7F 06 64 */ lwz r3, 0x664(r31) /* 801E19F8 001DE958 38 03 00 01 */ addi r0, r3, 1 /* 801E19FC 001DE95C 90 1F 06 64 */ stw r0, 0x664(r31) /* 801E1A00 001DE960 48 00 01 64 */ b lbl_801E1B64 lbl_801E1A04: /* 801E1A04 001DE964 A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E1A08 001DE968 7F C3 F3 78 */ mr r3, r30 /* 801E1A0C 001DE96C 38 81 00 7C */ addi r4, r1, 0x7c /* 801E1A10 001DE970 B0 01 00 7C */ sth r0, 0x7c(r1) /* 801E1A14 001DE974 4B E6 AB 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801E1A18 001DE978 7C 64 1B 78 */ mr r4, r3 /* 801E1A1C 001DE97C 38 61 01 28 */ addi r3, r1, 0x128 /* 801E1A20 001DE980 4B EC 8C F9 */ bl "__ct__32TCastToPtr<18CScriptDistanceFog>FP7CEntity" /* 801E1A24 001DE984 80 03 00 04 */ lwz r0, 4(r3) /* 801E1A28 001DE988 28 00 00 00 */ cmplwi r0, 0 /* 801E1A2C 001DE98C 41 82 01 38 */ beq lbl_801E1B64 /* 801E1A30 001DE990 A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E1A34 001DE994 B0 1F 06 4C */ sth r0, 0x64c(r31) /* 801E1A38 001DE998 48 00 01 2C */ b lbl_801E1B64 lbl_801E1A3C: /* 801E1A3C 001DE99C 2C 00 00 09 */ cmpwi r0, 9 /* 801E1A40 001DE9A0 40 82 00 A4 */ bne lbl_801E1AE4 /* 801E1A44 001DE9A4 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 801E1A48 001DE9A8 7C 00 20 40 */ cmplw r0, r4 /* 801E1A4C 001DE9AC 41 82 01 18 */ beq lbl_801E1B64 /* 801E1A50 001DE9B0 B0 61 00 78 */ sth r3, 0x78(r1) /* 801E1A54 001DE9B4 7F C3 F3 78 */ mr r3, r30 /* 801E1A58 001DE9B8 38 81 00 78 */ addi r4, r1, 0x78 /* 801E1A5C 001DE9BC 4B E6 AB 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1A60 001DE9C0 7C 64 1B 78 */ mr r4, r3 /* 801E1A64 001DE9C4 38 61 01 50 */ addi r3, r1, 0x150 /* 801E1A68 001DE9C8 4B EC 4A E5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801E1A6C 001DE9CC 82 43 00 04 */ lwz r18, 4(r3) /* 801E1A70 001DE9D0 28 12 00 00 */ cmplwi r18, 0 /* 801E1A74 001DE9D4 41 82 00 F0 */ beq lbl_801E1B64 /* 801E1A78 001DE9D8 80 1F 08 F8 */ lwz r0, 0x8f8(r31) /* 801E1A7C 001DE9DC 80 BF 08 FC */ lwz r5, 0x8fc(r31) /* 801E1A80 001DE9E0 7C 00 28 00 */ cmpw r0, r5 /* 801E1A84 001DE9E4 41 80 00 1C */ blt lbl_801E1AA0 /* 801E1A88 001DE9E8 2C 05 00 00 */ cmpwi r5, 0 /* 801E1A8C 001DE9EC 38 7F 08 F4 */ addi r3, r31, 0x8f4 /* 801E1A90 001DE9F0 38 80 00 04 */ li r4, 4 /* 801E1A94 001DE9F4 41 82 00 08 */ beq lbl_801E1A9C /* 801E1A98 001DE9F8 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E1A9C: /* 801E1A9C 001DE9FC 4B E2 A9 6D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_801E1AA0: /* 801E1AA0 001DEA00 80 1F 08 F8 */ lwz r0, 0x8f8(r31) /* 801E1AA4 001DEA04 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E1AA8 001DEA08 54 00 08 3C */ slwi r0, r0, 1 /* 801E1AAC 001DEA0C 7C 63 02 15 */ add. r3, r3, r0 /* 801E1AB0 001DEA10 41 82 00 0C */ beq lbl_801E1ABC /* 801E1AB4 001DEA14 A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E1AB8 001DEA18 B0 03 00 00 */ sth r0, 0(r3) lbl_801E1ABC: /* 801E1ABC 001DEA1C 80 BF 08 F8 */ lwz r5, 0x8f8(r31) /* 801E1AC0 001DEA20 7E 43 93 78 */ mr r3, r18 /* 801E1AC4 001DEA24 38 80 00 00 */ li r4, 0 /* 801E1AC8 001DEA28 38 05 00 01 */ addi r0, r5, 1 /* 801E1ACC 001DEA2C 90 1F 08 F8 */ stw r0, 0x8f8(r31) /* 801E1AD0 001DEA30 81 92 00 00 */ lwz r12, 0(r18) /* 801E1AD4 001DEA34 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E1AD8 001DEA38 7D 89 03 A6 */ mtctr r12 /* 801E1ADC 001DEA3C 4E 80 04 21 */ bctrl /* 801E1AE0 001DEA40 48 00 00 84 */ b lbl_801E1B64 lbl_801E1AE4: /* 801E1AE4 001DEA44 2C 00 00 0E */ cmpwi r0, 0xe /* 801E1AE8 001DEA48 40 82 00 7C */ bne lbl_801E1B64 /* 801E1AEC 001DEA4C B0 61 00 74 */ sth r3, 0x74(r1) /* 801E1AF0 001DEA50 7F C3 F3 78 */ mr r3, r30 /* 801E1AF4 001DEA54 38 81 00 74 */ addi r4, r1, 0x74 /* 801E1AF8 001DEA58 4B E6 AA AD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801E1AFC 001DEA5C 7C 64 1B 78 */ mr r4, r3 /* 801E1B00 001DEA60 38 61 01 20 */ addi r3, r1, 0x120 /* 801E1B04 001DEA64 4B EC 57 5D */ bl "__ct__26TCastToPtr<12CScriptTimer>FP7CEntity" /* 801E1B08 001DEA68 80 03 00 04 */ lwz r0, 4(r3) /* 801E1B0C 001DEA6C 28 00 00 00 */ cmplwi r0, 0 /* 801E1B10 001DEA70 41 82 00 54 */ beq lbl_801E1B64 /* 801E1B14 001DEA74 80 1F 07 AC */ lwz r0, 0x7ac(r31) /* 801E1B18 001DEA78 80 BF 07 B0 */ lwz r5, 0x7b0(r31) /* 801E1B1C 001DEA7C 7C 00 28 00 */ cmpw r0, r5 /* 801E1B20 001DEA80 41 80 00 1C */ blt lbl_801E1B3C /* 801E1B24 001DEA84 2C 05 00 00 */ cmpwi r5, 0 /* 801E1B28 001DEA88 38 7F 07 A8 */ addi r3, r31, 0x7a8 /* 801E1B2C 001DEA8C 38 80 00 04 */ li r4, 4 /* 801E1B30 001DEA90 41 82 00 08 */ beq lbl_801E1B38 /* 801E1B34 001DEA94 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E1B38: /* 801E1B38 001DEA98 4B E2 A8 D1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_801E1B3C: /* 801E1B3C 001DEA9C 80 1F 07 AC */ lwz r0, 0x7ac(r31) /* 801E1B40 001DEAA0 80 7F 07 B4 */ lwz r3, 0x7b4(r31) /* 801E1B44 001DEAA4 54 00 08 3C */ slwi r0, r0, 1 /* 801E1B48 001DEAA8 7C 63 02 15 */ add. r3, r3, r0 /* 801E1B4C 001DEAAC 41 82 00 0C */ beq lbl_801E1B58 /* 801E1B50 001DEAB0 A0 01 00 C4 */ lhz r0, 0xc4(r1) /* 801E1B54 001DEAB4 B0 03 00 00 */ sth r0, 0(r3) lbl_801E1B58: /* 801E1B58 001DEAB8 80 7F 07 AC */ lwz r3, 0x7ac(r31) /* 801E1B5C 001DEABC 38 03 00 01 */ addi r0, r3, 1 /* 801E1B60 001DEAC0 90 1F 07 AC */ stw r0, 0x7ac(r31) lbl_801E1B64: /* 801E1B64 001DEAC4 3B 9C 00 01 */ addi r28, r28, 1 /* 801E1B68 001DEAC8 3B 5A 00 0C */ addi r26, r26, 0xc lbl_801E1B6C: /* 801E1B6C 001DEACC 7C 1C D8 40 */ cmplw r28, r27 /* 801E1B70 001DEAD0 41 80 FC B8 */ blt lbl_801E1828 /* 801E1B74 001DEAD4 80 BF 00 04 */ lwz r5, 4(r31) /* 801E1B78 001DEAD8 80 9E 08 50 */ lwz r4, 0x850(r30) /* 801E1B7C 001DEADC 54 A3 18 38 */ slwi r3, r5, 3 /* 801E1B80 001DEAE0 90 A1 01 0C */ stw r5, 0x10c(r1) /* 801E1B84 001DEAE4 80 84 00 20 */ lwz r4, 0x20(r4) /* 801E1B88 001DEAE8 38 03 00 04 */ addi r0, r3, 4 /* 801E1B8C 001DEAEC 90 A1 00 E0 */ stw r5, 0xe0(r1) /* 801E1B90 001DEAF0 7C 64 00 2E */ lwzx r3, r4, r0 /* 801E1B94 001DEAF4 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801E1B98 001DEAF8 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 801E1B9C 001DEAFC 90 1F 07 F0 */ stw r0, 0x7f0(r31) /* 801E1BA0 001DEB00 48 00 06 30 */ b lbl_801E21D0 /* 801E1BA4 001DEB04 A0 14 00 00 */ lhz r0, 0(r20) /* 801E1BA8 001DEB08 7F C3 F3 78 */ mr r3, r30 /* 801E1BAC 001DEB0C 38 81 00 70 */ addi r4, r1, 0x70 /* 801E1BB0 001DEB10 B0 01 00 70 */ sth r0, 0x70(r1) /* 801E1BB4 001DEB14 4B E6 A9 C1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1BB8 001DEB18 7C 60 1B 78 */ mr r0, r3 /* 801E1BBC 001DEB1C 38 61 01 48 */ addi r3, r1, 0x148 /* 801E1BC0 001DEB20 7C 04 03 78 */ mr r4, r0 /* 801E1BC4 001DEB24 4B EC D7 89 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801E1BC8 001DEB28 80 83 00 04 */ lwz r4, 4(r3) /* 801E1BCC 001DEB2C 28 04 00 00 */ cmplwi r4, 0 /* 801E1BD0 001DEB30 41 82 06 00 */ beq lbl_801E21D0 /* 801E1BD4 001DEB34 38 61 00 6C */ addi r3, r1, 0x6c /* 801E1BD8 001DEB38 4B FC 6F B5 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801E1BDC 001DEB3C A0 01 00 6C */ lhz r0, 0x6c(r1) /* 801E1BE0 001DEB40 7F C3 F3 78 */ mr r3, r30 /* 801E1BE4 001DEB44 38 81 00 68 */ addi r4, r1, 0x68 /* 801E1BE8 001DEB48 B0 01 00 C0 */ sth r0, 0xc0(r1) /* 801E1BEC 001DEB4C B0 01 00 68 */ sth r0, 0x68(r1) /* 801E1BF0 001DEB50 4B E6 A9 85 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1BF4 001DEB54 7C 60 1B 78 */ mr r0, r3 /* 801E1BF8 001DEB58 38 61 01 40 */ addi r3, r1, 0x140 /* 801E1BFC 001DEB5C 7C 04 03 78 */ mr r4, r0 /* 801E1C00 001DEB60 4B EC A7 95 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" /* 801E1C04 001DEB64 82 63 00 04 */ lwz r19, 4(r3) /* 801E1C08 001DEB68 28 13 00 00 */ cmplwi r19, 0 /* 801E1C0C 001DEB6C 41 82 02 10 */ beq lbl_801E1E1C /* 801E1C10 001DEB70 C0 3F 04 20 */ lfs f1, 0x420(r31) /* 801E1C14 001DEB74 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E1C18 001DEB78 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E1C1C 001DEB7C 4C 40 13 82 */ cror 2, 0, 2 /* 801E1C20 001DEB80 40 82 05 B0 */ bne lbl_801E21D0 /* 801E1C24 001DEB84 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 801E1C28 001DEB88 C4 43 67 24 */ lfsu f2, lbl_805A6724@l(r3) /* 801E1C2C 001DEB8C C3 E2 AC D8 */ lfs f31, lbl_805AC9F8@sda21(r2) /* 801E1C30 001DEB90 C0 23 00 04 */ lfs f1, 4(r3) /* 801E1C34 001DEB94 C0 03 00 08 */ lfs f0, 8(r3) /* 801E1C38 001DEB98 D0 41 01 A8 */ stfs f2, 0x1a8(r1) /* 801E1C3C 001DEB9C D0 21 01 AC */ stfs f1, 0x1ac(r1) /* 801E1C40 001DEBA0 D0 01 01 B0 */ stfs f0, 0x1b0(r1) /* 801E1C44 001DEBA4 80 1F 06 44 */ lwz r0, 0x644(r31) /* 801E1C48 001DEBA8 2C 00 00 01 */ cmpwi r0, 1 /* 801E1C4C 001DEBAC 40 82 00 60 */ bne lbl_801E1CAC /* 801E1C50 001DEBB0 C3 E2 AC E0 */ lfs f31, lbl_805ACA00@sda21(r2) /* 801E1C54 001DEBB4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801E1C58 001DEBB8 48 13 08 C9 */ bl Next__9CRandom16Fv /* 801E1C5C 001DEBBC 54 64 0F FE */ srwi r4, r3, 0x1f /* 801E1C60 001DEBC0 54 60 07 FE */ clrlwi r0, r3, 0x1f /* 801E1C64 001DEBC4 7C 00 22 78 */ xor r0, r0, r4 /* 801E1C68 001DEBC8 7C 04 00 51 */ subf. r0, r4, r0 /* 801E1C6C 001DEBCC 41 82 00 24 */ beq lbl_801E1C90 /* 801E1C70 001DEBD0 3C 60 80 5A */ lis r3, lbl_805A670C@ha /* 801E1C74 001DEBD4 C4 43 67 0C */ lfsu f2, lbl_805A670C@l(r3) /* 801E1C78 001DEBD8 C0 23 00 04 */ lfs f1, 4(r3) /* 801E1C7C 001DEBDC C0 03 00 08 */ lfs f0, 8(r3) /* 801E1C80 001DEBE0 D0 41 01 A8 */ stfs f2, 0x1a8(r1) /* 801E1C84 001DEBE4 D0 21 01 AC */ stfs f1, 0x1ac(r1) /* 801E1C88 001DEBE8 D0 01 01 B0 */ stfs f0, 0x1b0(r1) /* 801E1C8C 001DEBEC 48 00 00 20 */ b lbl_801E1CAC lbl_801E1C90: /* 801E1C90 001DEBF0 3C 60 80 5A */ lis r3, lbl_805A6718@ha /* 801E1C94 001DEBF4 C4 43 67 18 */ lfsu f2, lbl_805A6718@l(r3) /* 801E1C98 001DEBF8 C0 23 00 04 */ lfs f1, 4(r3) /* 801E1C9C 001DEBFC C0 03 00 08 */ lfs f0, 8(r3) /* 801E1CA0 001DEC00 D0 41 01 A8 */ stfs f2, 0x1a8(r1) /* 801E1CA4 001DEC04 D0 21 01 AC */ stfs f1, 0x1ac(r1) /* 801E1CA8 001DEC08 D0 01 01 B0 */ stfs f0, 0x1b0(r1) lbl_801E1CAC: /* 801E1CAC 001DEC0C 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801E1CB0 001DEC10 4B E3 40 4D */ bl GetFrozenState__7CPlayerCFv /* 801E1CB4 001DEC14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E1CB8 001DEC18 41 82 00 10 */ beq lbl_801E1CC8 /* 801E1CBC 001DEC1C 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801E1CC0 001DEC20 7F C4 F3 78 */ mr r4, r30 /* 801E1CC4 001DEC24 4B E3 3D 69 */ bl UnFreeze__7CPlayerFR13CStateManager lbl_801E1CC8: /* 801E1CC8 001DEC28 38 61 02 6C */ addi r3, r1, 0x26c /* 801E1CCC 001DEC2C 38 9F 00 34 */ addi r4, r31, 0x34 /* 801E1CD0 001DEC30 48 13 14 25 */ bl BuildMatrix3f__12CTransform4fCFv /* 801E1CD4 001DEC34 38 61 01 84 */ addi r3, r1, 0x184 /* 801E1CD8 001DEC38 38 81 02 6C */ addi r4, r1, 0x26c /* 801E1CDC 001DEC3C 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 801E1CE0 001DEC40 48 12 E5 B5 */ bl __ml__9CMatrix3fCFRC9CVector3f /* 801E1CE4 001DEC44 C0 41 01 84 */ lfs f2, 0x184(r1) /* 801E1CE8 001DEC48 7F E4 FB 78 */ mr r4, r31 /* 801E1CEC 001DEC4C C0 21 01 88 */ lfs f1, 0x188(r1) /* 801E1CF0 001DEC50 38 61 02 1C */ addi r3, r1, 0x21c /* 801E1CF4 001DEC54 C0 01 01 8C */ lfs f0, 0x18c(r1) /* 801E1CF8 001DEC58 D0 41 01 A8 */ stfs f2, 0x1a8(r1) /* 801E1CFC 001DEC5C D0 21 01 AC */ stfs f1, 0x1ac(r1) /* 801E1D00 001DEC60 D0 01 01 B0 */ stfs f0, 0x1b0(r1) /* 801E1D04 001DEC64 81 9F 00 00 */ lwz r12, 0(r31) /* 801E1D08 001DEC68 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801E1D0C 001DEC6C 7D 89 03 A6 */ mtctr r12 /* 801E1D10 001DEC70 4E 80 04 21 */ bctrl /* 801E1D14 001DEC74 80 1F 06 44 */ lwz r0, 0x644(r31) /* 801E1D18 001DEC78 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E1D1C 001DEC7C 80 81 02 1C */ lwz r4, 0x21c(r1) /* 801E1D20 001DEC80 3A 83 66 A0 */ addi r20, r3, skZero3f@l /* 801E1D24 001DEC84 88 61 02 20 */ lbz r3, 0x220(r1) /* 801E1D28 001DEC88 2C 00 00 01 */ cmpwi r0, 1 /* 801E1D2C 001DEC8C C0 61 02 24 */ lfs f3, 0x224(r1) /* 801E1D30 001DEC90 C0 41 02 28 */ lfs f2, 0x228(r1) /* 801E1D34 001DEC94 C0 21 02 2C */ lfs f1, 0x22c(r1) /* 801E1D38 001DEC98 C0 01 02 30 */ lfs f0, 0x230(r1) /* 801E1D3C 001DEC9C 88 01 02 34 */ lbz r0, 0x234(r1) /* 801E1D40 001DECA0 90 81 02 50 */ stw r4, 0x250(r1) /* 801E1D44 001DECA4 98 61 02 54 */ stb r3, 0x254(r1) /* 801E1D48 001DECA8 D0 61 02 58 */ stfs f3, 0x258(r1) /* 801E1D4C 001DECAC D0 41 02 5C */ stfs f2, 0x25c(r1) /* 801E1D50 001DECB0 D0 21 02 60 */ stfs f1, 0x260(r1) /* 801E1D54 001DECB4 D0 01 02 64 */ stfs f0, 0x264(r1) /* 801E1D58 001DECB8 98 01 02 68 */ stb r0, 0x268(r1) /* 801E1D5C 001DECBC 40 82 00 08 */ bne lbl_801E1D64 /* 801E1D60 001DECC0 3A 81 01 A8 */ addi r20, r1, 0x1a8 lbl_801E1D64: /* 801E1D64 001DECC4 80 AD 92 0C */ lwz r5, lbl_805A7DCC@sda21(r13) /* 801E1D68 001DECC8 38 60 00 00 */ li r3, 0 /* 801E1D6C 001DECCC 38 80 00 01 */ li r4, 1 /* 801E1D70 001DECD0 48 1A 81 85 */ bl __shl2i /* 801E1D74 001DECD4 C0 01 02 58 */ lfs f0, 0x258(r1) /* 801E1D78 001DECD8 3A 40 00 00 */ li r18, 0 /* 801E1D7C 001DECDC C0 21 02 64 */ lfs f1, 0x264(r1) /* 801E1D80 001DECE0 39 80 00 03 */ li r12, 3 /* 801E1D84 001DECE4 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801E1D88 001DECE8 C0 41 02 60 */ lfs f2, 0x260(r1) /* 801E1D8C 001DECEC 81 61 02 50 */ lwz r11, 0x250(r1) /* 801E1D90 001DECF0 7E 89 A3 78 */ mr r9, r20 /* 801E1D94 001DECF4 89 41 02 54 */ lbz r10, 0x254(r1) /* 801E1D98 001DECF8 38 A1 00 5C */ addi r5, r1, 0x5c /* 801E1D9C 001DECFC 88 01 02 18 */ lbz r0, 0x218(r1) /* 801E1DA0 001DED00 52 40 3E 30 */ rlwimi r0, r18, 7, 0x18, 0x18 /* 801E1DA4 001DED04 90 81 01 EC */ stw r4, 0x1ec(r1) /* 801E1DA8 001DED08 38 81 00 64 */ addi r4, r1, 0x64 /* 801E1DAC 001DED0C 38 C1 00 54 */ addi r6, r1, 0x54 /* 801E1DB0 001DED10 38 E1 02 00 */ addi r7, r1, 0x200 /* 801E1DB4 001DED14 90 61 01 E8 */ stw r3, 0x1e8(r1) /* 801E1DB8 001DED18 7F C3 F3 78 */ mr r3, r30 /* 801E1DBC 001DED1C 39 01 01 E8 */ addi r8, r1, 0x1e8 /* 801E1DC0 001DED20 92 41 01 F4 */ stw r18, 0x1f4(r1) /* 801E1DC4 001DED24 92 41 01 F0 */ stw r18, 0x1f0(r1) /* 801E1DC8 001DED28 91 81 01 F8 */ stw r12, 0x1f8(r1) /* 801E1DCC 001DED2C 91 61 02 00 */ stw r11, 0x200(r1) /* 801E1DD0 001DED30 99 41 02 04 */ stb r10, 0x204(r1) /* 801E1DD4 001DED34 D0 01 02 08 */ stfs f0, 0x208(r1) /* 801E1DD8 001DED38 D0 01 02 0C */ stfs f0, 0x20c(r1) /* 801E1DDC 001DED3C D0 41 02 10 */ stfs f2, 0x210(r1) /* 801E1DE0 001DED40 D0 21 02 14 */ stfs f1, 0x214(r1) /* 801E1DE4 001DED44 98 01 02 18 */ stb r0, 0x218(r1) /* 801E1DE8 001DED48 A0 1F 00 08 */ lhz r0, 8(r31) /* 801E1DEC 001DED4C B0 01 00 54 */ sth r0, 0x54(r1) /* 801E1DF0 001DED50 A1 53 00 08 */ lhz r10, 8(r19) /* 801E1DF4 001DED54 B0 01 00 50 */ sth r0, 0x50(r1) /* 801E1DF8 001DED58 B1 41 00 5C */ sth r10, 0x5c(r1) /* 801E1DFC 001DED5C A0 1F 00 08 */ lhz r0, 8(r31) /* 801E1E00 001DED60 B1 41 00 58 */ sth r10, 0x58(r1) /* 801E1E04 001DED64 B0 01 00 60 */ sth r0, 0x60(r1) /* 801E1E08 001DED68 B0 01 00 64 */ sth r0, 0x64(r1) /* 801E1E0C 001DED6C 4B E6 82 95 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801E1E10 001DED70 C0 1F 04 24 */ lfs f0, 0x424(r31) /* 801E1E14 001DED74 D0 1F 04 20 */ stfs f0, 0x420(r31) /* 801E1E18 001DED78 48 00 03 B8 */ b lbl_801E21D0 lbl_801E1E1C: /* 801E1E1C 001DED7C A0 01 00 C0 */ lhz r0, 0xc0(r1) /* 801E1E20 001DED80 7F C3 F3 78 */ mr r3, r30 /* 801E1E24 001DED84 38 81 00 4C */ addi r4, r1, 0x4c /* 801E1E28 001DED88 B0 01 00 4C */ sth r0, 0x4c(r1) /* 801E1E2C 001DED8C 4B E6 A7 79 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801E1E30 001DED90 7C 64 1B 78 */ mr r4, r3 /* 801E1E34 001DED94 38 61 01 18 */ addi r3, r1, 0x118 /* 801E1E38 001DED98 4B EC DC 05 */ bl "__ct__18TCastToPtr<5CBomb>FP7CEntity" /* 801E1E3C 001DED9C 80 03 00 04 */ lwz r0, 4(r3) /* 801E1E40 001DEDA0 28 00 00 00 */ cmplwi r0, 0 /* 801E1E44 001DEDA4 41 82 03 8C */ beq lbl_801E21D0 /* 801E1E48 001DEDA8 80 1F 06 44 */ lwz r0, 0x644(r31) /* 801E1E4C 001DEDAC 2C 00 00 01 */ cmpwi r0, 1 /* 801E1E50 001DEDB0 40 82 03 80 */ bne lbl_801E21D0 /* 801E1E54 001DEDB4 88 1F 09 3C */ lbz r0, 0x93c(r31) /* 801E1E58 001DEDB8 28 00 00 00 */ cmplwi r0, 0 /* 801E1E5C 001DEDBC 41 82 03 74 */ beq lbl_801E21D0 /* 801E1E60 001DEDC0 80 BF 06 48 */ lwz r5, 0x648(r31) /* 801E1E64 001DEDC4 7F E3 FB 78 */ mr r3, r31 /* 801E1E68 001DEDC8 7F C4 F3 78 */ mr r4, r30 /* 801E1E6C 001DEDCC 4B FF 8F C1 */ bl sub_801dae2c /* 801E1E70 001DEDD0 48 00 03 60 */ b lbl_801E21D0 /* 801E1E74 001DEDD4 A0 14 00 00 */ lhz r0, 0(r20) /* 801E1E78 001DEDD8 7F C3 F3 78 */ mr r3, r30 /* 801E1E7C 001DEDDC 38 81 00 48 */ addi r4, r1, 0x48 /* 801E1E80 001DEDE0 B0 01 00 48 */ sth r0, 0x48(r1) /* 801E1E84 001DEDE4 4B E6 A6 F1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1E88 001DEDE8 7C 64 1B 78 */ mr r4, r3 /* 801E1E8C 001DEDEC 38 61 01 38 */ addi r3, r1, 0x138 /* 801E1E90 001DEDF0 4B EC D4 BD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801E1E94 001DEDF4 80 83 00 04 */ lwz r4, 4(r3) /* 801E1E98 001DEDF8 28 04 00 00 */ cmplwi r4, 0 /* 801E1E9C 001DEDFC 41 82 03 34 */ beq lbl_801E21D0 /* 801E1EA0 001DEE00 38 61 00 44 */ addi r3, r1, 0x44 /* 801E1EA4 001DEE04 4B FC 6C E9 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801E1EA8 001DEE08 A0 01 00 44 */ lhz r0, 0x44(r1) /* 801E1EAC 001DEE0C 80 7F 05 F0 */ lwz r3, 0x5f0(r31) /* 801E1EB0 001DEE10 B0 01 00 BC */ sth r0, 0xbc(r1) /* 801E1EB4 001DEE14 4B FC 53 95 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801E1EB8 001DEE18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E1EBC 001DEE1C 7C 72 1B 78 */ mr r18, r3 /* 801E1EC0 001DEE20 3A 60 00 00 */ li r19, 0 /* 801E1EC4 001DEE24 B0 01 00 B8 */ sth r0, 0xb8(r1) /* 801E1EC8 001DEE28 48 00 00 38 */ b lbl_801E1F00 lbl_801E1ECC: /* 801E1ECC 001DEE2C 80 7F 05 F0 */ lwz r3, 0x5f0(r31) /* 801E1ED0 001DEE30 7E 64 9B 78 */ mr r4, r19 /* 801E1ED4 001DEE34 4B FC 53 65 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801E1ED8 001DEE38 A0 94 00 00 */ lhz r4, 0(r20) /* 801E1EDC 001DEE3C A0 03 00 3C */ lhz r0, 0x3c(r3) /* 801E1EE0 001DEE40 7C 04 00 40 */ cmplw r4, r0 /* 801E1EE4 001DEE44 40 82 00 18 */ bne lbl_801E1EFC /* 801E1EE8 001DEE48 80 7F 06 1C */ lwz r3, 0x61c(r31) /* 801E1EEC 001DEE4C 56 60 08 3C */ slwi r0, r19, 1 /* 801E1EF0 001DEE50 7C 03 02 2E */ lhzx r0, r3, r0 /* 801E1EF4 001DEE54 B0 01 00 B8 */ sth r0, 0xb8(r1) /* 801E1EF8 001DEE58 48 00 00 10 */ b lbl_801E1F08 lbl_801E1EFC: /* 801E1EFC 001DEE5C 3A 73 00 01 */ addi r19, r19, 1 lbl_801E1F00: /* 801E1F00 001DEE60 7C 13 90 40 */ cmplw r19, r18 /* 801E1F04 001DEE64 41 80 FF C8 */ blt lbl_801E1ECC lbl_801E1F08: /* 801E1F08 001DEE68 A0 61 00 B8 */ lhz r3, 0xb8(r1) /* 801E1F0C 001DEE6C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E1F10 001DEE70 7C 03 00 40 */ cmplw r3, r0 /* 801E1F14 001DEE74 41 82 02 BC */ beq lbl_801E21D0 /* 801E1F18 001DEE78 A0 01 00 B8 */ lhz r0, 0xb8(r1) /* 801E1F1C 001DEE7C 7F C3 F3 78 */ mr r3, r30 /* 801E1F20 001DEE80 38 81 00 40 */ addi r4, r1, 0x40 /* 801E1F24 001DEE84 B0 01 00 40 */ sth r0, 0x40(r1) /* 801E1F28 001DEE88 4B E6 A6 4D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E1F2C 001DEE8C 7C 73 1B 79 */ or. r19, r3, r3 /* 801E1F30 001DEE90 41 82 02 A0 */ beq lbl_801E21D0 /* 801E1F34 001DEE94 A0 01 00 BC */ lhz r0, 0xbc(r1) /* 801E1F38 001DEE98 7F C3 F3 78 */ mr r3, r30 /* 801E1F3C 001DEE9C 38 81 00 3C */ addi r4, r1, 0x3c /* 801E1F40 001DEEA0 B0 01 00 3C */ sth r0, 0x3c(r1) /* 801E1F44 001DEEA4 4B E6 A6 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801E1F48 001DEEA8 7C 64 1B 78 */ mr r4, r3 /* 801E1F4C 001DEEAC 38 61 01 10 */ addi r3, r1, 0x110 /* 801E1F50 001DEEB0 4B EC B7 BD */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 801E1F54 001DEEB4 82 83 00 04 */ lwz r20, 4(r3) /* 801E1F58 001DEEB8 28 14 00 00 */ cmplwi r20, 0 /* 801E1F5C 001DEEBC 41 82 02 74 */ beq lbl_801E21D0 /* 801E1F60 001DEEC0 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801E1F64 001DEEC4 80 04 02 D0 */ lwz r0, 0x2d0(r4) /* 801E1F68 001DEEC8 2C 00 00 18 */ cmpwi r0, 0x18 /* 801E1F6C 001DEECC 41 82 00 98 */ beq lbl_801E2004 /* 801E1F70 001DEED0 C0 33 03 24 */ lfs f1, 0x324(r19) /* 801E1F74 001DEED4 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E1F78 001DEED8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E1F7C 001DEEDC 4C 40 13 82 */ cror 2, 0, 2 /* 801E1F80 001DEEE0 40 82 00 84 */ bne lbl_801E2004 /* 801E1F84 001DEEE4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801E1F88 001DEEE8 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801E1F8C 001DEEEC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801E1F90 001DEEF0 3C 60 80 3E */ lis r3, lbl_803E10C8@ha /* 801E1F94 001DEEF4 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 801E1F98 001DEEF8 38 C3 10 C8 */ addi r6, r3, lbl_803E10C8@l /* 801E1F9C 001DEEFC 38 60 00 1A */ li r3, 0x1a /* 801E1FA0 001DEF00 38 A0 00 05 */ li r5, 5 /* 801E1FA4 001DEF04 38 00 00 00 */ li r0, 0 /* 801E1FA8 001DEF08 3A 44 00 04 */ addi r18, r4, 4 /* 801E1FAC 001DEF0C 90 61 01 D8 */ stw r3, 0x1d8(r1) /* 801E1FB0 001DEF10 7E 43 93 78 */ mr r3, r18 /* 801E1FB4 001DEF14 38 80 00 1A */ li r4, 0x1a /* 801E1FB8 001DEF18 90 C1 01 D4 */ stw r6, 0x1d4(r1) /* 801E1FBC 001DEF1C D0 01 01 DC */ stfs f0, 0x1dc(r1) /* 801E1FC0 001DEF20 90 A1 01 E0 */ stw r5, 0x1e0(r1) /* 801E1FC4 001DEF24 98 01 01 E4 */ stb r0, 0x1e4(r1) /* 801E1FC8 001DEF28 4B F4 F4 71 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801E1FCC 001DEF2C 80 01 01 D8 */ lwz r0, 0x1d8(r1) /* 801E1FD0 001DEF30 3C 60 80 3E */ lis r3, lbl_803E10C8@ha /* 801E1FD4 001DEF34 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l /* 801E1FD8 001DEF38 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801E1FDC 001DEF3C 90 12 02 88 */ stw r0, 0x288(r18) /* 801E1FE0 001DEF40 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801E1FE4 001DEF44 C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 801E1FE8 001DEF48 80 A1 01 E0 */ lwz r5, 0x1e0(r1) /* 801E1FEC 001DEF4C D0 12 02 8C */ stfs f0, 0x28c(r18) /* 801E1FF0 001DEF50 88 61 01 E4 */ lbz r3, 0x1e4(r1) /* 801E1FF4 001DEF54 90 B2 02 90 */ stw r5, 0x290(r18) /* 801E1FF8 001DEF58 90 81 01 D4 */ stw r4, 0x1d4(r1) /* 801E1FFC 001DEF5C 98 72 02 94 */ stb r3, 0x294(r18) /* 801E2000 001DEF60 90 01 01 D4 */ stw r0, 0x1d4(r1) lbl_801E2004: /* 801E2004 001DEF64 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E2008 001DEF68 7E 63 9B 78 */ mr r3, r19 /* 801E200C 001DEF6C 38 81 01 78 */ addi r4, r1, 0x178 /* 801E2010 001DEF70 D0 21 01 78 */ stfs f1, 0x178(r1) /* 801E2014 001DEF74 D0 21 01 7C */ stfs f1, 0x17c(r1) /* 801E2018 001DEF78 D0 21 01 80 */ stfs f1, 0x180(r1) /* 801E201C 001DEF7C 81 93 00 00 */ lwz r12, 0(r19) /* 801E2020 001DEF80 81 8C 00 90 */ lwz r12, 0x90(r12) /* 801E2024 001DEF84 7D 89 03 A6 */ mtctr r12 /* 801E2028 001DEF88 4E 80 04 21 */ bctrl /* 801E202C 001DEF8C C0 54 00 60 */ lfs f2, 0x60(r20) /* 801E2030 001DEF90 C0 34 00 50 */ lfs f1, 0x50(r20) /* 801E2034 001DEF94 C0 14 00 40 */ lfs f0, 0x40(r20) /* 801E2038 001DEF98 D0 01 01 9C */ stfs f0, 0x19c(r1) /* 801E203C 001DEF9C D0 21 01 A0 */ stfs f1, 0x1a0(r1) /* 801E2040 001DEFA0 D0 41 01 A4 */ stfs f2, 0x1a4(r1) /* 801E2044 001DEFA4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801E2048 001DEFA8 80 63 00 00 */ lwz r3, 0(r3) /* 801E204C 001DEFAC 80 03 00 14 */ lwz r0, 0x14(r3) /* 801E2050 001DEFB0 2C 00 00 03 */ cmpwi r0, 3 /* 801E2054 001DEFB4 40 82 00 14 */ bne lbl_801E2068 /* 801E2058 001DEFB8 40 82 00 24 */ bne lbl_801E207C /* 801E205C 001DEFBC 80 1F 07 C4 */ lwz r0, 0x7c4(r31) /* 801E2060 001DEFC0 2C 00 00 03 */ cmpwi r0, 3 /* 801E2064 001DEFC4 41 82 00 18 */ beq lbl_801E207C lbl_801E2068: /* 801E2068 001DEFC8 80 DF 06 D0 */ lwz r6, 0x6d0(r31) /* 801E206C 001DEFCC 7F E3 FB 78 */ mr r3, r31 /* 801E2070 001DEFD0 7F C4 F3 78 */ mr r4, r30 /* 801E2074 001DEFD4 38 A1 01 9C */ addi r5, r1, 0x19c /* 801E2078 001DEFD8 4B FF A3 CD */ bl sub_801dc444 lbl_801E207C: /* 801E207C 001DEFDC 88 13 03 35 */ lbz r0, 0x335(r19) /* 801E2080 001DEFE0 28 00 00 00 */ cmplwi r0, 0 /* 801E2084 001DEFE4 41 82 00 48 */ beq lbl_801E20CC /* 801E2088 001DEFE8 93 C1 00 08 */ stw r30, 8(r1) /* 801E208C 001DEFEC 38 00 00 00 */ li r0, 0 /* 801E2090 001DEFF0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E2094 001DEFF4 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E2098 001DEFF8 90 01 00 0C */ stw r0, 0xc(r1) /* 801E209C 001DEFFC 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801E20A0 001DF000 C0 42 AC E8 */ lfs f2, lbl_805ACA08@sda21(r2) /* 801E20A4 001DF004 7F E3 FB 78 */ mr r3, r31 /* 801E20A8 001DF008 C0 62 AC EC */ lfs f3, lbl_805ACA0C@sda21(r2) /* 801E20AC 001DF00C 39 21 01 9C */ addi r9, r1, 0x19c /* 801E20B0 001DF010 81 5E 08 CC */ lwz r10, 0x8cc(r30) /* 801E20B4 001DF014 38 80 0A C0 */ li r4, 0xac0 /* 801E20B8 001DF018 38 A0 00 00 */ li r5, 0 /* 801E20BC 001DF01C 38 C0 00 14 */ li r6, 0x14 /* 801E20C0 001DF020 38 E0 00 7F */ li r7, 0x7f /* 801E20C4 001DF024 4B E7 0E 6D */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager /* 801E20C8 001DF028 48 00 01 08 */ b lbl_801E21D0 lbl_801E20CC: /* 801E20CC 001DF02C 93 C1 00 08 */ stw r30, 8(r1) /* 801E20D0 001DF030 38 00 00 01 */ li r0, 1 /* 801E20D4 001DF034 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E20D8 001DF038 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E20DC 001DF03C 90 01 00 0C */ stw r0, 0xc(r1) /* 801E20E0 001DF040 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 801E20E4 001DF044 C0 42 AC E8 */ lfs f2, lbl_805ACA08@sda21(r2) /* 801E20E8 001DF048 7F E3 FB 78 */ mr r3, r31 /* 801E20EC 001DF04C 80 9F 07 5C */ lwz r4, 0x75c(r31) /* 801E20F0 001DF050 39 21 01 9C */ addi r9, r1, 0x19c /* 801E20F4 001DF054 C0 62 AC EC */ lfs f3, lbl_805ACA0C@sda21(r2) /* 801E20F8 001DF058 38 A0 00 00 */ li r5, 0 /* 801E20FC 001DF05C 81 5E 08 CC */ lwz r10, 0x8cc(r30) /* 801E2100 001DF060 38 C0 00 14 */ li r6, 0x14 /* 801E2104 001DF064 38 E0 00 7F */ li r7, 0x7f /* 801E2108 001DF068 4B E7 0E 29 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager /* 801E210C 001DF06C 48 00 00 C4 */ b lbl_801E21D0 /* 801E2110 001DF070 81 9F 00 00 */ lwz r12, 0(r31) /* 801E2114 001DF074 3C 80 80 5A */ lis r4, skZero3f@ha /* 801E2118 001DF078 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801E211C 001DF07C 7F E3 FB 78 */ mr r3, r31 /* 801E2120 001DF080 81 8C 00 84 */ lwz r12, 0x84(r12) /* 801E2124 001DF084 7F C4 F3 78 */ mr r4, r30 /* 801E2128 001DF088 38 C0 00 14 */ li r6, 0x14 /* 801E212C 001DF08C 7D 89 03 A6 */ mtctr r12 /* 801E2130 001DF090 4E 80 04 21 */ bctrl /* 801E2134 001DF094 48 00 00 9C */ b lbl_801E21D0 /* 801E2138 001DF098 80 7F 06 14 */ lwz r3, 0x614(r31) /* 801E213C 001DF09C 82 9F 06 48 */ lwz r20, 0x648(r31) /* 801E2140 001DF0A0 3A 63 FF FF */ addi r19, r3, -1 /* 801E2144 001DF0A4 56 92 08 3C */ slwi r18, r20, 1 /* 801E2148 001DF0A8 48 00 00 50 */ b lbl_801E2198 lbl_801E214C: /* 801E214C 001DF0AC 80 BF 06 1C */ lwz r5, 0x61c(r31) /* 801E2150 001DF0B0 7F C3 F3 78 */ mr r3, r30 /* 801E2154 001DF0B4 38 81 00 38 */ addi r4, r1, 0x38 /* 801E2158 001DF0B8 7C 05 92 2E */ lhzx r0, r5, r18 /* 801E215C 001DF0BC B0 01 00 B4 */ sth r0, 0xb4(r1) /* 801E2160 001DF0C0 B0 01 00 38 */ sth r0, 0x38(r1) /* 801E2164 001DF0C4 4B E6 A4 11 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E2168 001DF0C8 28 03 00 00 */ cmplwi r3, 0 /* 801E216C 001DF0CC 41 82 00 18 */ beq lbl_801E2184 /* 801E2170 001DF0D0 81 83 00 00 */ lwz r12, 0(r3) /* 801E2174 001DF0D4 38 80 00 00 */ li r4, 0 /* 801E2178 001DF0D8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E217C 001DF0DC 7D 89 03 A6 */ mtctr r12 /* 801E2180 001DF0E0 4E 80 04 21 */ bctrl lbl_801E2184: /* 801E2184 001DF0E4 80 7F 06 48 */ lwz r3, 0x648(r31) /* 801E2188 001DF0E8 3A 94 00 01 */ addi r20, r20, 1 /* 801E218C 001DF0EC 3A 52 00 02 */ addi r18, r18, 2 /* 801E2190 001DF0F0 38 03 00 01 */ addi r0, r3, 1 /* 801E2194 001DF0F4 90 1F 06 48 */ stw r0, 0x648(r31) lbl_801E2198: /* 801E2198 001DF0F8 7C 14 98 40 */ cmplw r20, r19 /* 801E219C 001DF0FC 41 80 FF B0 */ blt lbl_801E214C /* 801E21A0 001DF100 48 00 00 30 */ b lbl_801E21D0 /* 801E21A4 001DF104 38 00 00 01 */ li r0, 1 /* 801E21A8 001DF108 38 80 00 00 */ li r4, 0 /* 801E21AC 001DF10C 98 1F 09 5C */ stb r0, 0x95c(r31) /* 801E21B0 001DF110 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801E21B4 001DF114 4B F5 89 F1 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState /* 801E21B8 001DF118 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801E21BC 001DF11C 38 80 00 05 */ li r4, 5 /* 801E21C0 001DF120 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801E21C4 001DF124 4B F5 1F 19 */ bl SetState__14CBodyStateInfoFQ23pas15EAnimationState /* 801E21C8 001DF128 38 00 00 00 */ li r0, 0 /* 801E21CC 001DF12C 98 1F 09 3D */ stb r0, 0x93d(r31) lbl_801E21D0: /* 801E21D0 001DF130 E3 E1 04 58 */ psq_l f31, 1112(r1), 0, qr0 /* 801E21D4 001DF134 CB E1 04 50 */ lfd f31, 0x450(r1) /* 801E21D8 001DF138 BA 41 04 18 */ lmw r18, 0x418(r1) /* 801E21DC 001DF13C 80 01 04 64 */ lwz r0, 0x464(r1) /* 801E21E0 001DF140 7C 08 03 A6 */ mtlr r0 /* 801E21E4 001DF144 38 21 04 60 */ addi r1, r1, 0x460 /* 801E21E8 001DF148 4E 80 00 20 */ blr .global Accept__8CThardusFR8IVisitor Accept__8CThardusFR8IVisitor: /* 801E21EC 001DF14C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E21F0 001DF150 7C 08 02 A6 */ mflr r0 /* 801E21F4 001DF154 90 01 00 14 */ stw r0, 0x14(r1) /* 801E21F8 001DF158 7C 60 1B 78 */ mr r0, r3 /* 801E21FC 001DF15C 7C 83 23 78 */ mr r3, r4 /* 801E2200 001DF160 81 84 00 00 */ lwz r12, 0(r4) /* 801E2204 001DF164 7C 04 03 78 */ mr r4, r0 /* 801E2208 001DF168 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801E220C 001DF16C 7D 89 03 A6 */ mtctr r12 /* 801E2210 001DF170 4E 80 04 21 */ bctrl /* 801E2214 001DF174 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E2218 001DF178 7C 08 03 A6 */ mtlr r0 /* 801E221C 001DF17C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E2220 001DF180 4E 80 00 20 */ blr .global "__ct__8CThardusF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>UiUiUifffffff" "__ct__8CThardusF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>UiUiUifffffff": /* 801E2224 001DF184 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 801E2228 001DF188 7C 08 02 A6 */ mflr r0 /* 801E222C 001DF18C 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 801E2230 001DF190 DB E1 01 A0 */ stfd f31, 0x1a0(r1) /* 801E2234 001DF194 F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 /* 801E2238 001DF198 DB C1 01 90 */ stfd f30, 0x190(r1) /* 801E223C 001DF19C F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 /* 801E2240 001DF1A0 DB A1 01 80 */ stfd f29, 0x180(r1) /* 801E2244 001DF1A4 F3 A1 01 88 */ psq_st f29, 392(r1), 0, qr0 /* 801E2248 001DF1A8 DB 81 01 70 */ stfd f28, 0x170(r1) /* 801E224C 001DF1AC F3 81 01 78 */ psq_st f28, 376(r1), 0, qr0 /* 801E2250 001DF1B0 DB 61 01 60 */ stfd f27, 0x160(r1) /* 801E2254 001DF1B4 F3 61 01 68 */ psq_st f27, 360(r1), 0, qr0 /* 801E2258 001DF1B8 DB 41 01 50 */ stfd f26, 0x150(r1) /* 801E225C 001DF1BC F3 41 01 58 */ psq_st f26, 344(r1), 0, qr0 /* 801E2260 001DF1C0 BD C1 01 08 */ stmw r14, 0x108(r1) /* 801E2264 001DF1C4 A0 04 00 00 */ lhz r0, 0(r4) /* 801E2268 001DF1C8 7D 50 53 78 */ mr r16, r10 /* 801E226C 001DF1CC 7C CB 33 78 */ mr r11, r6 /* 801E2270 001DF1D0 7D 0A 43 78 */ mr r10, r8 /* 801E2274 001DF1D4 B0 01 00 20 */ sth r0, 0x20(r1) /* 801E2278 001DF1D8 38 C0 00 00 */ li r6, 0 /* 801E227C 001DF1DC 38 00 00 01 */ li r0, 1 /* 801E2280 001DF1E0 FF 40 08 90 */ fmr f26, f1 /* 801E2284 001DF1E4 92 01 00 08 */ stw r16, 8(r1) /* 801E2288 001DF1E8 38 80 00 02 */ li r4, 2 /* 801E228C 001DF1EC FF 60 10 90 */ fmr f27, f2 /* 801E2290 001DF1F0 82 21 01 B8 */ lwz r17, 0x1b8(r1) /* 801E2294 001DF1F4 90 C1 00 0C */ stw r6, 0xc(r1) /* 801E2298 001DF1F8 7C A6 2B 78 */ mr r6, r5 /* 801E229C 001DF1FC FF 80 18 90 */ fmr f28, f3 /* 801E22A0 001DF200 90 01 00 10 */ stw r0, 0x10(r1) /* 801E22A4 001DF204 FF A0 20 90 */ fmr f29, f4 /* 801E22A8 001DF208 82 41 01 BC */ lwz r18, 0x1bc(r1) /* 801E22AC 001DF20C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E22B0 001DF210 FF C0 28 90 */ fmr f30, f5 /* 801E22B4 001DF214 FF E0 30 90 */ fmr f31, f6 /* 801E22B8 001DF218 82 61 01 C8 */ lwz r19, 0x1c8(r1) /* 801E22BC 001DF21C 91 21 00 18 */ stw r9, 0x18(r1) /* 801E22C0 001DF220 7C E9 3B 78 */ mr r9, r7 /* 801E22C4 001DF224 82 81 01 CC */ lwz r20, 0x1cc(r1) /* 801E22C8 001DF228 7C 6F 1B 78 */ mr r15, r3 /* 801E22CC 001DF22C 90 81 00 1C */ stw r4, 0x1c(r1) /* 801E22D0 001DF230 7D 68 5B 78 */ mr r8, r11 /* 801E22D4 001DF234 82 A1 01 D0 */ lwz r21, 0x1d0(r1) /* 801E22D8 001DF238 38 A1 00 20 */ addi r5, r1, 0x20 /* 801E22DC 001DF23C 82 C1 01 D4 */ lwz r22, 0x1d4(r1) /* 801E22E0 001DF240 38 80 00 24 */ li r4, 0x24 /* 801E22E4 001DF244 82 E1 01 D8 */ lwz r23, 0x1d8(r1) /* 801E22E8 001DF248 38 E0 00 00 */ li r7, 0 /* 801E22EC 001DF24C 83 01 01 DC */ lwz r24, 0x1dc(r1) /* 801E22F0 001DF250 83 21 01 E0 */ lwz r25, 0x1e0(r1) /* 801E22F4 001DF254 83 41 01 E4 */ lwz r26, 0x1e4(r1) /* 801E22F8 001DF258 83 61 01 E8 */ lwz r27, 0x1e8(r1) /* 801E22FC 001DF25C 83 81 01 EC */ lwz r28, 0x1ec(r1) /* 801E2300 001DF260 83 A1 01 F0 */ lwz r29, 0x1f0(r1) /* 801E2304 001DF264 83 C1 01 F4 */ lwz r30, 0x1f4(r1) /* 801E2308 001DF268 83 E1 01 F8 */ lwz r31, 0x1f8(r1) /* 801E230C 001DF26C 81 C1 01 FC */ lwz r14, 0x1fc(r1) /* 801E2310 001DF270 4B E9 B1 41 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801E2314 001DF274 3C 60 80 3E */ lis r3, lbl_803E5CE0@ha /* 801E2318 001DF278 38 A0 00 00 */ li r5, 0 /* 801E231C 001DF27C 38 63 5C E0 */ addi r3, r3, lbl_803E5CE0@l /* 801E2320 001DF280 38 00 00 01 */ li r0, 1 /* 801E2324 001DF284 90 6F 00 00 */ stw r3, 0(r15) /* 801E2328 001DF288 7E 24 8B 78 */ mr r4, r17 /* 801E232C 001DF28C 38 6F 05 CC */ addi r3, r15, 0x5cc /* 801E2330 001DF290 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 801E2334 001DF294 B0 CF 05 6C */ sth r6, 0x56c(r15) /* 801E2338 001DF298 90 AF 05 70 */ stw r5, 0x570(r15) /* 801E233C 001DF29C 90 AF 05 74 */ stw r5, 0x574(r15) /* 801E2340 001DF2A0 90 AF 05 78 */ stw r5, 0x578(r15) /* 801E2344 001DF2A4 90 0F 05 C4 */ stw r0, 0x5c4(r15) /* 801E2348 001DF2A8 98 AF 05 C8 */ stb r5, 0x5c8(r15) /* 801E234C 001DF2AC 48 00 0A C1 */ bl sub_801e2e0c /* 801E2350 001DF2B0 7E 44 93 78 */ mr r4, r18 /* 801E2354 001DF2B4 38 6F 05 DC */ addi r3, r15, 0x5dc /* 801E2358 001DF2B8 48 00 0A B5 */ bl sub_801e2e0c /* 801E235C 001DF2BC 38 A0 FF FF */ li r5, -1 /* 801E2360 001DF2C0 38 80 00 00 */ li r4, 0 /* 801E2364 001DF2C4 90 AF 05 EC */ stw r5, 0x5ec(r15) /* 801E2368 001DF2C8 38 6F 06 50 */ addi r3, r15, 0x650 /* 801E236C 001DF2CC C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E2370 001DF2D0 90 8F 05 F0 */ stw r4, 0x5f0(r15) /* 801E2374 001DF2D4 C0 42 AC D8 */ lfs f2, lbl_805AC9F8@sda21(r2) /* 801E2378 001DF2D8 90 8F 05 F4 */ stw r4, 0x5f4(r15) /* 801E237C 001DF2DC 90 8F 05 F8 */ stw r4, 0x5f8(r15) /* 801E2380 001DF2E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E2384 001DF2E4 B0 0F 05 FC */ sth r0, 0x5fc(r15) /* 801E2388 001DF2E8 80 01 01 C0 */ lwz r0, 0x1c0(r1) /* 801E238C 001DF2EC 90 0F 06 00 */ stw r0, 0x600(r15) /* 801E2390 001DF2F0 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 801E2394 001DF2F4 90 0F 06 04 */ stw r0, 0x604(r15) /* 801E2398 001DF2F8 92 6F 06 08 */ stw r19, 0x608(r15) /* 801E239C 001DF2FC 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 801E23A0 001DF300 90 0F 06 0C */ stw r0, 0x60c(r15) /* 801E23A4 001DF304 90 8F 06 14 */ stw r4, 0x614(r15) /* 801E23A8 001DF308 90 8F 06 18 */ stw r4, 0x618(r15) /* 801E23AC 001DF30C 90 8F 06 1C */ stw r4, 0x61c(r15) /* 801E23B0 001DF310 90 8F 06 24 */ stw r4, 0x624(r15) /* 801E23B4 001DF314 90 8F 06 28 */ stw r4, 0x628(r15) /* 801E23B8 001DF318 90 8F 06 2C */ stw r4, 0x62c(r15) /* 801E23BC 001DF31C 92 8F 06 30 */ stw r20, 0x630(r15) /* 801E23C0 001DF320 90 8F 06 38 */ stw r4, 0x638(r15) /* 801E23C4 001DF324 90 8F 06 3C */ stw r4, 0x63c(r15) /* 801E23C8 001DF328 90 8F 06 40 */ stw r4, 0x640(r15) /* 801E23CC 001DF32C 90 AF 06 44 */ stw r5, 0x644(r15) /* 801E23D0 001DF330 90 8F 06 48 */ stw r4, 0x648(r15) /* 801E23D4 001DF334 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E23D8 001DF338 B0 0F 06 4C */ sth r0, 0x64c(r15) /* 801E23DC 001DF33C 48 13 1E 25 */ bl __ct__9CVector2fFff /* 801E23E0 001DF340 38 80 FF FF */ li r4, -1 /* 801E23E4 001DF344 38 00 00 00 */ li r0, 0 /* 801E23E8 001DF348 90 8F 06 58 */ stw r4, 0x658(r15) /* 801E23EC 001DF34C 57 83 04 3E */ clrlwi r3, r28, 0x10 /* 801E23F0 001DF350 C0 02 AC D8 */ lfs f0, lbl_805AC9F8@sda21(r2) /* 801E23F4 001DF354 90 8F 06 5C */ stw r4, 0x65c(r15) /* 801E23F8 001DF358 90 0F 06 60 */ stw r0, 0x660(r15) /* 801E23FC 001DF35C 90 0F 06 64 */ stw r0, 0x664(r15) /* 801E2400 001DF360 98 0F 06 88 */ stb r0, 0x688(r15) /* 801E2404 001DF364 98 0F 06 89 */ stb r0, 0x689(r15) /* 801E2408 001DF368 90 0F 06 8C */ stw r0, 0x68c(r15) /* 801E240C 001DF36C D0 0F 06 90 */ stfs f0, 0x690(r15) /* 801E2410 001DF370 D3 4F 06 94 */ stfs f26, 0x694(r15) /* 801E2414 001DF374 D3 6F 06 98 */ stfs f27, 0x698(r15) /* 801E2418 001DF378 D3 8F 06 A0 */ stfs f28, 0x6a0(r15) /* 801E241C 001DF37C D3 AF 06 A4 */ stfs f29, 0x6a4(r15) /* 801E2420 001DF380 D3 CF 06 A8 */ stfs f30, 0x6a8(r15) /* 801E2424 001DF384 D3 EF 06 AC */ stfs f31, 0x6ac(r15) /* 801E2428 001DF388 90 0F 06 B4 */ stw r0, 0x6b4(r15) /* 801E242C 001DF38C 90 0F 06 B8 */ stw r0, 0x6b8(r15) /* 801E2430 001DF390 90 0F 06 BC */ stw r0, 0x6bc(r15) /* 801E2434 001DF394 90 0F 06 C4 */ stw r0, 0x6c4(r15) /* 801E2438 001DF398 90 0F 06 C8 */ stw r0, 0x6c8(r15) /* 801E243C 001DF39C 90 0F 06 CC */ stw r0, 0x6cc(r15) /* 801E2440 001DF3A0 92 AF 06 D0 */ stw r21, 0x6d0(r15) /* 801E2444 001DF3A4 92 CF 06 D4 */ stw r22, 0x6d4(r15) /* 801E2448 001DF3A8 92 EF 06 D8 */ stw r23, 0x6d8(r15) /* 801E244C 001DF3AC 93 0F 06 DC */ stw r24, 0x6dc(r15) /* 801E2450 001DF3B0 93 2F 06 E0 */ stw r25, 0x6e0(r15) /* 801E2454 001DF3B4 93 4F 06 E4 */ stw r26, 0x6e4(r15) /* 801E2458 001DF3B8 93 6F 06 E8 */ stw r27, 0x6e8(r15) /* 801E245C 001DF3BC 48 10 65 55 */ bl TranslateSFXID__11CSfxManagerFUs /* 801E2460 001DF3C0 B0 6F 06 EC */ sth r3, 0x6ec(r15) /* 801E2464 001DF3C4 3C 60 80 1E */ lis r3, sub_801e2dd0@ha /* 801E2468 001DF3C8 38 83 2D D0 */ addi r4, r3, sub_801e2dd0@l /* 801E246C 001DF3CC 38 00 00 00 */ li r0, 0 /* 801E2470 001DF3D0 93 AF 06 F0 */ stw r29, 0x6f0(r15) /* 801E2474 001DF3D4 38 6F 06 FC */ addi r3, r15, 0x6fc /* 801E2478 001DF3D8 C0 02 AD 34 */ lfs f0, lbl_805ACA54@sda21(r2) /* 801E247C 001DF3DC 38 A0 00 00 */ li r5, 0 /* 801E2480 001DF3E0 90 0F 06 F4 */ stw r0, 0x6f4(r15) /* 801E2484 001DF3E4 38 C0 00 14 */ li r6, 0x14 /* 801E2488 001DF3E8 38 E0 00 04 */ li r7, 4 /* 801E248C 001DF3EC D0 0F 06 F8 */ stfs f0, 0x6f8(r15) /* 801E2490 001DF3F0 48 1A 72 BD */ bl __construct_array /* 801E2494 001DF3F4 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 801E2498 001DF3F8 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801E249C 001DF3FC 38 A3 67 24 */ addi r5, r3, lbl_805A6724@l /* 801E24A0 001DF400 C0 05 00 00 */ lfs f0, 0(r5) /* 801E24A4 001DF404 38 6F 07 64 */ addi r3, r15, 0x764 /* 801E24A8 001DF408 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801E24AC 001DF40C D0 0F 07 4C */ stfs f0, 0x74c(r15) /* 801E24B0 001DF410 C0 05 00 04 */ lfs f0, 4(r5) /* 801E24B4 001DF414 D0 0F 07 50 */ stfs f0, 0x750(r15) /* 801E24B8 001DF418 C0 05 00 08 */ lfs f0, 8(r5) /* 801E24BC 001DF41C D0 0F 07 54 */ stfs f0, 0x754(r15) /* 801E24C0 001DF420 93 CF 07 58 */ stw r30, 0x758(r15) /* 801E24C4 001DF424 93 EF 07 5C */ stw r31, 0x75c(r15) /* 801E24C8 001DF428 91 CF 07 60 */ stw r14, 0x760(r15) /* 801E24CC 001DF42C 48 13 06 A9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E24D0 001DF430 38 00 00 00 */ li r0, 0 /* 801E24D4 001DF434 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E24D8 001DF438 90 0F 07 94 */ stw r0, 0x794(r15) /* 801E24DC 001DF43C 39 C3 66 A0 */ addi r14, r3, skZero3f@l /* 801E24E0 001DF440 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E24E4 001DF444 38 6F 07 F0 */ addi r3, r15, 0x7f0 /* 801E24E8 001DF448 90 0F 07 9C */ stw r0, 0x79c(r15) /* 801E24EC 001DF44C 38 80 00 00 */ li r4, 0 /* 801E24F0 001DF450 C0 62 AC DC */ lfs f3, lbl_805AC9FC@sda21(r2) /* 801E24F4 001DF454 FC 40 08 90 */ fmr f2, f1 /* 801E24F8 001DF458 90 0F 07 A0 */ stw r0, 0x7a0(r15) /* 801E24FC 001DF45C 38 A0 00 01 */ li r5, 1 /* 801E2500 001DF460 C0 02 AD 00 */ lfs f0, lbl_805ACA20@sda21(r2) /* 801E2504 001DF464 90 0F 07 A4 */ stw r0, 0x7a4(r15) /* 801E2508 001DF468 90 0F 07 AC */ stw r0, 0x7ac(r15) /* 801E250C 001DF46C 90 0F 07 B0 */ stw r0, 0x7b0(r15) /* 801E2510 001DF470 90 0F 07 B4 */ stw r0, 0x7b4(r15) /* 801E2514 001DF474 D0 6F 07 B8 */ stfs f3, 0x7b8(r15) /* 801E2518 001DF478 D0 0F 07 BC */ stfs f0, 0x7bc(r15) /* 801E251C 001DF47C 90 0F 07 C4 */ stw r0, 0x7c4(r15) /* 801E2520 001DF480 98 0F 07 C8 */ stb r0, 0x7c8(r15) /* 801E2524 001DF484 C0 0E 00 00 */ lfs f0, 0(r14) /* 801E2528 001DF488 D0 0F 07 CC */ stfs f0, 0x7cc(r15) /* 801E252C 001DF48C C0 0E 00 04 */ lfs f0, 4(r14) /* 801E2530 001DF490 D0 0F 07 D0 */ stfs f0, 0x7d0(r15) /* 801E2534 001DF494 C0 0E 00 08 */ lfs f0, 8(r14) /* 801E2538 001DF498 D0 0F 07 D4 */ stfs f0, 0x7d4(r15) /* 801E253C 001DF49C C0 0E 00 00 */ lfs f0, 0(r14) /* 801E2540 001DF4A0 D0 0F 07 D8 */ stfs f0, 0x7d8(r15) /* 801E2544 001DF4A4 C0 0E 00 04 */ lfs f0, 4(r14) /* 801E2548 001DF4A8 D0 0F 07 DC */ stfs f0, 0x7dc(r15) /* 801E254C 001DF4AC C0 0E 00 08 */ lfs f0, 8(r14) /* 801E2550 001DF4B0 D0 0F 07 E0 */ stfs f0, 0x7e0(r15) /* 801E2554 001DF4B4 C0 0E 00 00 */ lfs f0, 0(r14) /* 801E2558 001DF4B8 D0 0F 07 E4 */ stfs f0, 0x7e4(r15) /* 801E255C 001DF4BC C0 0E 00 04 */ lfs f0, 4(r14) /* 801E2560 001DF4C0 D0 0F 07 E8 */ stfs f0, 0x7e8(r15) /* 801E2564 001DF4C4 C0 0E 00 08 */ lfs f0, 8(r14) /* 801E2568 001DF4C8 D0 0F 07 EC */ stfs f0, 0x7ec(r15) /* 801E256C 001DF4CC 80 D0 01 0C */ lwz r6, 0x10c(r16) /* 801E2570 001DF4D0 4B FE 68 25 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 801E2574 001DF4D4 38 00 00 00 */ li r0, 0 /* 801E2578 001DF4D8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E257C 001DF4DC 98 0F 08 D4 */ stb r0, 0x8d4(r15) /* 801E2580 001DF4E0 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801E2584 001DF4E4 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E2588 001DF4E8 38 61 00 64 */ addi r3, r1, 0x64 /* 801E258C 001DF4EC C0 06 00 00 */ lfs f0, 0(r6) /* 801E2590 001DF4F0 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E2594 001DF4F4 38 A4 01 CA */ addi r5, r4, 0x1ca /* 801E2598 001DF4F8 D0 0F 08 D8 */ stfs f0, 0x8d8(r15) /* 801E259C 001DF4FC C0 0E 00 04 */ lfs f0, 4(r14) /* 801E25A0 001DF500 D0 0F 08 DC */ stfs f0, 0x8dc(r15) /* 801E25A4 001DF504 C0 0E 00 08 */ lfs f0, 8(r14) /* 801E25A8 001DF508 D0 0F 08 E0 */ stfs f0, 0x8e0(r15) /* 801E25AC 001DF50C C0 06 00 00 */ lfs f0, 0(r6) /* 801E25B0 001DF510 D0 0F 08 E4 */ stfs f0, 0x8e4(r15) /* 801E25B4 001DF514 C0 0E 00 04 */ lfs f0, 4(r14) /* 801E25B8 001DF518 D0 0F 08 E8 */ stfs f0, 0x8e8(r15) /* 801E25BC 001DF51C C0 0E 00 08 */ lfs f0, 8(r14) /* 801E25C0 001DF520 D0 0F 08 EC */ stfs f0, 0x8ec(r15) /* 801E25C4 001DF524 98 0F 08 F0 */ stb r0, 0x8f0(r15) /* 801E25C8 001DF528 90 0F 08 F8 */ stw r0, 0x8f8(r15) /* 801E25CC 001DF52C 90 0F 08 FC */ stw r0, 0x8fc(r15) /* 801E25D0 001DF530 90 0F 09 00 */ stw r0, 0x900(r15) /* 801E25D4 001DF534 90 0F 09 04 */ stw r0, 0x904(r15) /* 801E25D8 001DF538 98 0F 09 08 */ stb r0, 0x908(r15) /* 801E25DC 001DF53C 98 0F 09 09 */ stb r0, 0x909(r15) /* 801E25E0 001DF540 90 0F 09 10 */ stw r0, 0x910(r15) /* 801E25E4 001DF544 90 0F 09 14 */ stw r0, 0x914(r15) /* 801E25E8 001DF548 90 0F 09 18 */ stw r0, 0x918(r15) /* 801E25EC 001DF54C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E25F0 001DF550 81 84 00 00 */ lwz r12, 0(r4) /* 801E25F4 001DF554 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E25F8 001DF558 7D 89 03 A6 */ mtctr r12 /* 801E25FC 001DF55C 4E 80 04 21 */ bctrl /* 801E2600 001DF560 3A 0F 09 1C */ addi r16, r15, 0x91c /* 801E2604 001DF564 38 81 00 64 */ addi r4, r1, 0x64 /* 801E2608 001DF568 7E 03 83 78 */ mr r3, r16 /* 801E260C 001DF56C 48 15 E8 9D */ bl __ct__6CTokenFRC6CToken /* 801E2610 001DF570 38 00 00 00 */ li r0, 0 /* 801E2614 001DF574 38 61 00 64 */ addi r3, r1, 0x64 /* 801E2618 001DF578 90 10 00 08 */ stw r0, 8(r16) /* 801E261C 001DF57C 38 80 FF FF */ li r4, -1 /* 801E2620 001DF580 48 15 E8 21 */ bl __dt__6CTokenFv /* 801E2624 001DF584 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E2628 001DF588 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E262C 001DF58C 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801E2630 001DF590 38 A0 00 00 */ li r5, 0 /* 801E2634 001DF594 B0 0F 09 28 */ sth r0, 0x928(r15) /* 801E2638 001DF598 38 80 00 01 */ li r4, 1 /* 801E263C 001DF59C C0 02 AD 34 */ lfs f0, lbl_805ACA54@sda21(r2) /* 801E2640 001DF5A0 7D E3 7B 78 */ mr r3, r15 /* 801E2644 001DF5A4 C0 26 00 00 */ lfs f1, 0(r6) /* 801E2648 001DF5A8 D0 2F 09 2C */ stfs f1, 0x92c(r15) /* 801E264C 001DF5AC C0 2E 00 04 */ lfs f1, 4(r14) /* 801E2650 001DF5B0 D0 2F 09 30 */ stfs f1, 0x930(r15) /* 801E2654 001DF5B4 C0 2E 00 08 */ lfs f1, 8(r14) /* 801E2658 001DF5B8 D0 2F 09 34 */ stfs f1, 0x934(r15) /* 801E265C 001DF5BC 98 AF 09 38 */ stb r5, 0x938(r15) /* 801E2660 001DF5C0 98 AF 09 39 */ stb r5, 0x939(r15) /* 801E2664 001DF5C4 98 AF 09 3A */ stb r5, 0x93a(r15) /* 801E2668 001DF5C8 98 AF 09 3B */ stb r5, 0x93b(r15) /* 801E266C 001DF5CC 98 AF 09 3C */ stb r5, 0x93c(r15) /* 801E2670 001DF5D0 98 8F 09 3D */ stb r4, 0x93d(r15) /* 801E2674 001DF5D4 90 AF 09 40 */ stw r5, 0x940(r15) /* 801E2678 001DF5D8 D0 0F 09 44 */ stfs f0, 0x944(r15) /* 801E267C 001DF5DC 98 AF 09 4C */ stb r5, 0x94c(r15) /* 801E2680 001DF5E0 98 AF 09 4D */ stb r5, 0x94d(r15) /* 801E2684 001DF5E4 C0 06 00 00 */ lfs f0, 0(r6) /* 801E2688 001DF5E8 D0 0F 09 50 */ stfs f0, 0x950(r15) /* 801E268C 001DF5EC C0 0E 00 04 */ lfs f0, 4(r14) /* 801E2690 001DF5F0 D0 0F 09 54 */ stfs f0, 0x954(r15) /* 801E2694 001DF5F4 C0 0E 00 08 */ lfs f0, 8(r14) /* 801E2698 001DF5F8 D0 0F 09 58 */ stfs f0, 0x958(r15) /* 801E269C 001DF5FC 98 AF 09 5C */ stb r5, 0x95c(r15) /* 801E26A0 001DF600 98 AF 09 5D */ stb r5, 0x95d(r15) /* 801E26A4 001DF604 98 AF 09 5E */ stb r5, 0x95e(r15) /* 801E26A8 001DF608 88 0F 00 E7 */ lbz r0, 0xe7(r15) /* 801E26AC 001DF60C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 801E26B0 001DF610 98 0F 00 E7 */ stb r0, 0xe7(r15) /* 801E26B4 001DF614 88 0F 00 F8 */ lbz r0, 0xf8(r15) /* 801E26B8 001DF618 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801E26BC 001DF61C 98 0F 00 F8 */ stb r0, 0xf8(r15) /* 801E26C0 001DF620 4B E7 11 FD */ bl GetMaterialFilter__6CActorCFv /* 801E26C4 001DF624 80 AD 91 EC */ lwz r5, lbl_805A7DAC@sda21(r13) /* 801E26C8 001DF628 38 80 00 01 */ li r4, 1 /* 801E26CC 001DF62C 81 C3 00 08 */ lwz r14, 8(r3) /* 801E26D0 001DF630 82 03 00 0C */ lwz r16, 0xc(r3) /* 801E26D4 001DF634 38 60 00 00 */ li r3, 0 /* 801E26D8 001DF638 48 1A 78 1D */ bl __shl2i /* 801E26DC 001DF63C 80 AD 91 F0 */ lwz r5, lbl_805A7DB0@sda21(r13) /* 801E26E0 001DF640 7C 92 23 78 */ mr r18, r4 /* 801E26E4 001DF644 7C 71 1B 78 */ mr r17, r3 /* 801E26E8 001DF648 38 60 00 00 */ li r3, 0 /* 801E26EC 001DF64C 38 80 00 01 */ li r4, 1 /* 801E26F0 001DF650 48 1A 78 05 */ bl __shl2i /* 801E26F4 001DF654 80 AD 91 F4 */ lwz r5, lbl_805A7DB4@sda21(r13) /* 801E26F8 001DF658 7E 52 23 78 */ or r18, r18, r4 /* 801E26FC 001DF65C 7E 31 1B 78 */ or r17, r17, r3 /* 801E2700 001DF660 38 60 00 00 */ li r3, 0 /* 801E2704 001DF664 38 80 00 01 */ li r4, 1 /* 801E2708 001DF668 48 1A 77 ED */ bl __shl2i /* 801E270C 001DF66C 7E 31 1B 78 */ or r17, r17, r3 /* 801E2710 001DF670 7E 52 23 78 */ or r18, r18, r4 /* 801E2714 001DF674 7D E3 7B 78 */ mr r3, r15 /* 801E2718 001DF678 7E 10 93 78 */ or r16, r16, r18 /* 801E271C 001DF67C 7D CE 8B 78 */ or r14, r14, r17 /* 801E2720 001DF680 4B E7 11 9D */ bl GetMaterialFilter__6CActorCFv /* 801E2724 001DF684 80 A3 00 00 */ lwz r5, 0(r3) /* 801E2728 001DF688 38 00 00 03 */ li r0, 3 /* 801E272C 001DF68C 80 C3 00 04 */ lwz r6, 4(r3) /* 801E2730 001DF690 7D E3 7B 78 */ mr r3, r15 /* 801E2734 001DF694 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801E2738 001DF698 90 C1 00 B4 */ stw r6, 0xb4(r1) /* 801E273C 001DF69C 90 A1 00 B0 */ stw r5, 0xb0(r1) /* 801E2740 001DF6A0 92 01 00 BC */ stw r16, 0xbc(r1) /* 801E2744 001DF6A4 91 C1 00 B8 */ stw r14, 0xb8(r1) /* 801E2748 001DF6A8 90 01 00 C0 */ stw r0, 0xc0(r1) /* 801E274C 001DF6AC 4B E7 11 55 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801E2750 001DF6B0 38 00 00 00 */ li r0, 0 /* 801E2754 001DF6B4 38 61 00 9C */ addi r3, r1, 0x9c /* 801E2758 001DF6B8 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801E275C 001DF6BC 38 80 00 06 */ li r4, 6 /* 801E2760 001DF6C0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801E2764 001DF6C4 90 01 00 A8 */ stw r0, 0xa8(r1) /* 801E2768 001DF6C8 4B E8 13 BD */ bl "reserve__Q24rstl37vectorFi" /* 801E276C 001DF6CC 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E2770 001DF6D0 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 801E2774 001DF6D4 7C 00 28 00 */ cmpw r0, r5 /* 801E2778 001DF6D8 41 80 00 1C */ blt lbl_801E2794 /* 801E277C 001DF6DC 2C 05 00 00 */ cmpwi r5, 0 /* 801E2780 001DF6E0 38 61 00 9C */ addi r3, r1, 0x9c /* 801E2784 001DF6E4 38 80 00 04 */ li r4, 4 /* 801E2788 001DF6E8 41 82 00 08 */ beq lbl_801E2790 /* 801E278C 001DF6EC 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E2790: /* 801E2790 001DF6F0 4B E8 13 95 */ bl "reserve__Q24rstl37vectorFi" lbl_801E2794: /* 801E2794 001DF6F4 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E2798 001DF6F8 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E279C 001DF6FC 54 00 10 3A */ slwi r0, r0, 2 /* 801E27A0 001DF700 7C 63 02 15 */ add. r3, r3, r0 /* 801E27A4 001DF704 41 82 00 08 */ beq lbl_801E27AC /* 801E27A8 001DF708 92 A3 00 00 */ stw r21, 0(r3) lbl_801E27AC: /* 801E27AC 001DF70C 80 61 00 A0 */ lwz r3, 0xa0(r1) /* 801E27B0 001DF710 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 801E27B4 001DF714 38 03 00 01 */ addi r0, r3, 1 /* 801E27B8 001DF718 7C 00 28 00 */ cmpw r0, r5 /* 801E27BC 001DF71C 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801E27C0 001DF720 41 80 00 1C */ blt lbl_801E27DC /* 801E27C4 001DF724 2C 05 00 00 */ cmpwi r5, 0 /* 801E27C8 001DF728 38 61 00 9C */ addi r3, r1, 0x9c /* 801E27CC 001DF72C 38 80 00 04 */ li r4, 4 /* 801E27D0 001DF730 41 82 00 08 */ beq lbl_801E27D8 /* 801E27D4 001DF734 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E27D8: /* 801E27D8 001DF738 4B E8 13 4D */ bl "reserve__Q24rstl37vectorFi" lbl_801E27DC: /* 801E27DC 001DF73C 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E27E0 001DF740 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E27E4 001DF744 54 00 10 3A */ slwi r0, r0, 2 /* 801E27E8 001DF748 7C 63 02 15 */ add. r3, r3, r0 /* 801E27EC 001DF74C 41 82 00 08 */ beq lbl_801E27F4 /* 801E27F0 001DF750 92 C3 00 00 */ stw r22, 0(r3) lbl_801E27F4: /* 801E27F4 001DF754 80 61 00 A0 */ lwz r3, 0xa0(r1) /* 801E27F8 001DF758 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 801E27FC 001DF75C 38 03 00 01 */ addi r0, r3, 1 /* 801E2800 001DF760 7C 00 28 00 */ cmpw r0, r5 /* 801E2804 001DF764 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801E2808 001DF768 41 80 00 1C */ blt lbl_801E2824 /* 801E280C 001DF76C 2C 05 00 00 */ cmpwi r5, 0 /* 801E2810 001DF770 38 61 00 9C */ addi r3, r1, 0x9c /* 801E2814 001DF774 38 80 00 04 */ li r4, 4 /* 801E2818 001DF778 41 82 00 08 */ beq lbl_801E2820 /* 801E281C 001DF77C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E2820: /* 801E2820 001DF780 4B E8 13 05 */ bl "reserve__Q24rstl37vectorFi" lbl_801E2824: /* 801E2824 001DF784 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E2828 001DF788 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E282C 001DF78C 54 00 10 3A */ slwi r0, r0, 2 /* 801E2830 001DF790 7C 63 02 15 */ add. r3, r3, r0 /* 801E2834 001DF794 41 82 00 08 */ beq lbl_801E283C /* 801E2838 001DF798 92 E3 00 00 */ stw r23, 0(r3) lbl_801E283C: /* 801E283C 001DF79C 80 61 00 A0 */ lwz r3, 0xa0(r1) /* 801E2840 001DF7A0 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 801E2844 001DF7A4 38 03 00 01 */ addi r0, r3, 1 /* 801E2848 001DF7A8 7C 00 28 00 */ cmpw r0, r5 /* 801E284C 001DF7AC 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801E2850 001DF7B0 41 80 00 1C */ blt lbl_801E286C /* 801E2854 001DF7B4 2C 05 00 00 */ cmpwi r5, 0 /* 801E2858 001DF7B8 38 61 00 9C */ addi r3, r1, 0x9c /* 801E285C 001DF7BC 38 80 00 04 */ li r4, 4 /* 801E2860 001DF7C0 41 82 00 08 */ beq lbl_801E2868 /* 801E2864 001DF7C4 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E2868: /* 801E2868 001DF7C8 4B E8 12 BD */ bl "reserve__Q24rstl37vectorFi" lbl_801E286C: /* 801E286C 001DF7CC 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E2870 001DF7D0 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E2874 001DF7D4 54 00 10 3A */ slwi r0, r0, 2 /* 801E2878 001DF7D8 7C 63 02 15 */ add. r3, r3, r0 /* 801E287C 001DF7DC 41 82 00 08 */ beq lbl_801E2884 /* 801E2880 001DF7E0 93 03 00 00 */ stw r24, 0(r3) lbl_801E2884: /* 801E2884 001DF7E4 80 61 00 A0 */ lwz r3, 0xa0(r1) /* 801E2888 001DF7E8 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 801E288C 001DF7EC 38 03 00 01 */ addi r0, r3, 1 /* 801E2890 001DF7F0 7C 00 28 00 */ cmpw r0, r5 /* 801E2894 001DF7F4 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801E2898 001DF7F8 41 80 00 1C */ blt lbl_801E28B4 /* 801E289C 001DF7FC 2C 05 00 00 */ cmpwi r5, 0 /* 801E28A0 001DF800 38 61 00 9C */ addi r3, r1, 0x9c /* 801E28A4 001DF804 38 80 00 04 */ li r4, 4 /* 801E28A8 001DF808 41 82 00 08 */ beq lbl_801E28B0 /* 801E28AC 001DF80C 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E28B0: /* 801E28B0 001DF810 4B E8 12 75 */ bl "reserve__Q24rstl37vectorFi" lbl_801E28B4: /* 801E28B4 001DF814 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E28B8 001DF818 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E28BC 001DF81C 54 00 10 3A */ slwi r0, r0, 2 /* 801E28C0 001DF820 7C 63 02 15 */ add. r3, r3, r0 /* 801E28C4 001DF824 41 82 00 08 */ beq lbl_801E28CC /* 801E28C8 001DF828 93 23 00 00 */ stw r25, 0(r3) lbl_801E28CC: /* 801E28CC 001DF82C 80 61 00 A0 */ lwz r3, 0xa0(r1) /* 801E28D0 001DF830 80 A1 00 A4 */ lwz r5, 0xa4(r1) /* 801E28D4 001DF834 38 03 00 01 */ addi r0, r3, 1 /* 801E28D8 001DF838 7C 00 28 00 */ cmpw r0, r5 /* 801E28DC 001DF83C 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801E28E0 001DF840 41 80 00 1C */ blt lbl_801E28FC /* 801E28E4 001DF844 2C 05 00 00 */ cmpwi r5, 0 /* 801E28E8 001DF848 38 61 00 9C */ addi r3, r1, 0x9c /* 801E28EC 001DF84C 38 80 00 04 */ li r4, 4 /* 801E28F0 001DF850 41 82 00 08 */ beq lbl_801E28F8 /* 801E28F4 001DF854 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E28F8: /* 801E28F8 001DF858 4B E8 12 2D */ bl "reserve__Q24rstl37vectorFi" lbl_801E28FC: /* 801E28FC 001DF85C 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E2900 001DF860 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E2904 001DF864 54 00 10 3A */ slwi r0, r0, 2 /* 801E2908 001DF868 7C 63 02 15 */ add. r3, r3, r0 /* 801E290C 001DF86C 41 82 00 08 */ beq lbl_801E2914 /* 801E2910 001DF870 93 43 00 00 */ stw r26, 0(r3) lbl_801E2914: /* 801E2914 001DF874 80 81 00 A0 */ lwz r4, 0xa0(r1) /* 801E2918 001DF878 38 00 00 00 */ li r0, 0 /* 801E291C 001DF87C 90 01 00 90 */ stw r0, 0x90(r1) /* 801E2920 001DF880 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801E2924 001DF884 38 A4 00 01 */ addi r5, r4, 1 /* 801E2928 001DF888 38 81 00 9C */ addi r4, r1, 0x9c /* 801E292C 001DF88C 90 A1 00 A0 */ stw r5, 0xa0(r1) /* 801E2930 001DF890 38 A1 00 8C */ addi r5, r1, 0x8c /* 801E2934 001DF894 38 C1 00 7C */ addi r6, r1, 0x7c /* 801E2938 001DF898 38 E1 00 6C */ addi r7, r1, 0x6c /* 801E293C 001DF89C 90 01 00 94 */ stw r0, 0x94(r1) /* 801E2940 001DF8A0 90 01 00 98 */ stw r0, 0x98(r1) /* 801E2944 001DF8A4 90 01 00 80 */ stw r0, 0x80(r1) /* 801E2948 001DF8A8 90 01 00 84 */ stw r0, 0x84(r1) /* 801E294C 001DF8AC 90 01 00 88 */ stw r0, 0x88(r1) /* 801E2950 001DF8B0 90 01 00 70 */ stw r0, 0x70(r1) /* 801E2954 001DF8B4 90 01 00 74 */ stw r0, 0x74(r1) /* 801E2958 001DF8B8 90 01 00 78 */ stw r0, 0x78(r1) /* 801E295C 001DF8BC 48 00 01 D9 */ bl sub_801e2b34 /* 801E2960 001DF8C0 80 6F 00 64 */ lwz r3, 0x64(r15) /* 801E2964 001DF8C4 38 81 00 C8 */ addi r4, r1, 0xc8 /* 801E2968 001DF8C8 80 63 00 10 */ lwz r3, 0x10(r3) /* 801E296C 001DF8CC 38 63 01 20 */ addi r3, r3, 0x120 /* 801E2970 001DF8D0 4B ED 79 25 */ bl CacheParticleDesc__17CParticleDatabaseFRCQ213CharacterInfo16CParticleResData /* 801E2974 001DF8D4 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801E2978 001DF8D8 38 80 FF FF */ li r4, -1 /* 801E297C 001DF8DC 4B E4 CA 21 */ bl __dt__Q214CCharacterInfo16CParticleResDataFv /* 801E2980 001DF8E0 80 01 00 70 */ lwz r0, 0x70(r1) /* 801E2984 001DF8E4 80 61 00 78 */ lwz r3, 0x78(r1) /* 801E2988 001DF8E8 54 00 10 3A */ slwi r0, r0, 2 /* 801E298C 001DF8EC 7C 03 02 14 */ add r0, r3, r0 /* 801E2990 001DF8F0 90 61 00 58 */ stw r3, 0x58(r1) /* 801E2994 001DF8F4 7C 64 1B 78 */ mr r4, r3 /* 801E2998 001DF8F8 90 01 00 60 */ stw r0, 0x60(r1) /* 801E299C 001DF8FC 90 01 00 5C */ stw r0, 0x5c(r1) /* 801E29A0 001DF900 90 61 00 54 */ stw r3, 0x54(r1) /* 801E29A4 001DF904 48 00 00 08 */ b lbl_801E29AC lbl_801E29A8: /* 801E29A8 001DF908 38 84 00 04 */ addi r4, r4, 4 lbl_801E29AC: /* 801E29AC 001DF90C 7C 04 00 40 */ cmplw r4, r0 /* 801E29B0 001DF910 40 82 FF F8 */ bne lbl_801E29A8 /* 801E29B4 001DF914 28 03 00 00 */ cmplwi r3, 0 /* 801E29B8 001DF918 41 82 00 08 */ beq lbl_801E29C0 /* 801E29BC 001DF91C 48 13 2F 75 */ bl Free__7CMemoryFPCv lbl_801E29C0: /* 801E29C0 001DF920 80 01 00 80 */ lwz r0, 0x80(r1) /* 801E29C4 001DF924 80 61 00 88 */ lwz r3, 0x88(r1) /* 801E29C8 001DF928 54 00 10 3A */ slwi r0, r0, 2 /* 801E29CC 001DF92C 7C 03 02 14 */ add r0, r3, r0 /* 801E29D0 001DF930 90 61 00 48 */ stw r3, 0x48(r1) /* 801E29D4 001DF934 7C 64 1B 78 */ mr r4, r3 /* 801E29D8 001DF938 90 01 00 50 */ stw r0, 0x50(r1) /* 801E29DC 001DF93C 90 01 00 4C */ stw r0, 0x4c(r1) /* 801E29E0 001DF940 90 61 00 44 */ stw r3, 0x44(r1) /* 801E29E4 001DF944 48 00 00 08 */ b lbl_801E29EC lbl_801E29E8: /* 801E29E8 001DF948 38 84 00 04 */ addi r4, r4, 4 lbl_801E29EC: /* 801E29EC 001DF94C 7C 04 00 40 */ cmplw r4, r0 /* 801E29F0 001DF950 40 82 FF F8 */ bne lbl_801E29E8 /* 801E29F4 001DF954 28 03 00 00 */ cmplwi r3, 0 /* 801E29F8 001DF958 41 82 00 08 */ beq lbl_801E2A00 /* 801E29FC 001DF95C 48 13 2F 35 */ bl Free__7CMemoryFPCv lbl_801E2A00: /* 801E2A00 001DF960 80 01 00 90 */ lwz r0, 0x90(r1) /* 801E2A04 001DF964 80 61 00 98 */ lwz r3, 0x98(r1) /* 801E2A08 001DF968 54 00 10 3A */ slwi r0, r0, 2 /* 801E2A0C 001DF96C 7C 03 02 14 */ add r0, r3, r0 /* 801E2A10 001DF970 90 61 00 38 */ stw r3, 0x38(r1) /* 801E2A14 001DF974 7C 64 1B 78 */ mr r4, r3 /* 801E2A18 001DF978 90 01 00 40 */ stw r0, 0x40(r1) /* 801E2A1C 001DF97C 90 01 00 3C */ stw r0, 0x3c(r1) /* 801E2A20 001DF980 90 61 00 34 */ stw r3, 0x34(r1) /* 801E2A24 001DF984 48 00 00 08 */ b lbl_801E2A2C lbl_801E2A28: /* 801E2A28 001DF988 38 84 00 04 */ addi r4, r4, 4 lbl_801E2A2C: /* 801E2A2C 001DF98C 7C 04 00 40 */ cmplw r4, r0 /* 801E2A30 001DF990 40 82 FF F8 */ bne lbl_801E2A28 /* 801E2A34 001DF994 28 03 00 00 */ cmplwi r3, 0 /* 801E2A38 001DF998 41 82 00 08 */ beq lbl_801E2A40 /* 801E2A3C 001DF99C 48 13 2E F5 */ bl Free__7CMemoryFPCv lbl_801E2A40: /* 801E2A40 001DF9A0 38 6F 07 98 */ addi r3, r15, 0x798 /* 801E2A44 001DF9A4 38 80 00 06 */ li r4, 6 /* 801E2A48 001DF9A8 4B E2 99 C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 801E2A4C 001DF9AC 38 6F 07 A8 */ addi r3, r15, 0x7a8 /* 801E2A50 001DF9B0 38 80 00 10 */ li r4, 0x10 /* 801E2A54 001DF9B4 4B E2 99 B5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 801E2A58 001DF9B8 7D E3 7B 78 */ mr r3, r15 /* 801E2A5C 001DF9BC 38 80 00 01 */ li r4, 1 /* 801E2A60 001DF9C0 4B E9 4D F5 */ bl UpdateThermalFrozenState__10CPatternedFb /* 801E2A64 001DF9C4 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E2A68 001DF9C8 38 6F 08 F4 */ addi r3, r15, 0x8f4 /* 801E2A6C 001DF9CC 38 80 00 10 */ li r4, 0x10 /* 801E2A70 001DF9D0 D0 0F 00 D0 */ stfs f0, 0xd0(r15) /* 801E2A74 001DF9D4 D0 0F 05 0C */ stfs f0, 0x50c(r15) /* 801E2A78 001DF9D8 4B E2 99 91 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 801E2A7C 001DF9DC 38 6F 09 1C */ addi r3, r15, 0x91c /* 801E2A80 001DF9E0 48 15 E3 05 */ bl Lock__6CTokenFv /* 801E2A84 001DF9E4 88 0F 04 03 */ lbz r0, 0x403(r15) /* 801E2A88 001DF9E8 38 60 00 00 */ li r3, 0 /* 801E2A8C 001DF9EC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801E2A90 001DF9F0 38 6F 04 60 */ addi r3, r15, 0x460 /* 801E2A94 001DF9F4 98 0F 04 03 */ stb r0, 0x403(r15) /* 801E2A98 001DF9F8 38 80 00 00 */ li r4, 0 /* 801E2A9C 001DF9FC 48 05 12 C9 */ bl SetAutoResetImpulse__20CKnockBackControllerFb /* 801E2AA0 001DFA00 C0 22 AD 74 */ lfs f1, lbl_805ACA94@sda21(r2) /* 801E2AA4 001DFA04 7D E3 7B 78 */ mr r3, r15 /* 801E2AA8 001DFA08 4B F3 7F E1 */ bl SetMass__13CPhysicsActorFf /* 801E2AAC 001DFA0C 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801E2AB0 001DFA10 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 801E2AB4 001DFA14 54 00 10 3A */ slwi r0, r0, 2 /* 801E2AB8 001DFA18 7C 03 02 14 */ add r0, r3, r0 /* 801E2ABC 001DFA1C 90 61 00 28 */ stw r3, 0x28(r1) /* 801E2AC0 001DFA20 7C 64 1B 78 */ mr r4, r3 /* 801E2AC4 001DFA24 90 01 00 30 */ stw r0, 0x30(r1) /* 801E2AC8 001DFA28 90 01 00 2C */ stw r0, 0x2c(r1) /* 801E2ACC 001DFA2C 90 61 00 24 */ stw r3, 0x24(r1) /* 801E2AD0 001DFA30 48 00 00 08 */ b lbl_801E2AD8 lbl_801E2AD4: /* 801E2AD4 001DFA34 38 84 00 04 */ addi r4, r4, 4 lbl_801E2AD8: /* 801E2AD8 001DFA38 7C 04 00 40 */ cmplw r4, r0 /* 801E2ADC 001DFA3C 40 82 FF F8 */ bne lbl_801E2AD4 /* 801E2AE0 001DFA40 28 03 00 00 */ cmplwi r3, 0 /* 801E2AE4 001DFA44 41 82 00 08 */ beq lbl_801E2AEC /* 801E2AE8 001DFA48 48 13 2E 49 */ bl Free__7CMemoryFPCv lbl_801E2AEC: /* 801E2AEC 001DFA4C 7D E3 7B 78 */ mr r3, r15 /* 801E2AF0 001DFA50 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 /* 801E2AF4 001DFA54 CB E1 01 A0 */ lfd f31, 0x1a0(r1) /* 801E2AF8 001DFA58 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 /* 801E2AFC 001DFA5C CB C1 01 90 */ lfd f30, 0x190(r1) /* 801E2B00 001DFA60 E3 A1 01 88 */ psq_l f29, 392(r1), 0, qr0 /* 801E2B04 001DFA64 CB A1 01 80 */ lfd f29, 0x180(r1) /* 801E2B08 001DFA68 E3 81 01 78 */ psq_l f28, 376(r1), 0, qr0 /* 801E2B0C 001DFA6C CB 81 01 70 */ lfd f28, 0x170(r1) /* 801E2B10 001DFA70 E3 61 01 68 */ psq_l f27, 360(r1), 0, qr0 /* 801E2B14 001DFA74 CB 61 01 60 */ lfd f27, 0x160(r1) /* 801E2B18 001DFA78 E3 41 01 58 */ psq_l f26, 344(r1), 0, qr0 /* 801E2B1C 001DFA7C CB 41 01 50 */ lfd f26, 0x150(r1) /* 801E2B20 001DFA80 B9 C1 01 08 */ lmw r14, 0x108(r1) /* 801E2B24 001DFA84 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 801E2B28 001DFA88 7C 08 03 A6 */ mtlr r0 /* 801E2B2C 001DFA8C 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 801E2B30 001DFA90 4E 80 00 20 */ blr .global sub_801e2b34 sub_801e2b34: /* 801E2B34 001DFA94 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E2B38 001DFA98 7C 08 02 A6 */ mflr r0 /* 801E2B3C 001DFA9C 90 01 00 24 */ stw r0, 0x24(r1) /* 801E2B40 001DFAA0 BF 61 00 0C */ stmw r27, 0xc(r1) /* 801E2B44 001DFAA4 7C 9B 23 78 */ mr r27, r4 /* 801E2B48 001DFAA8 7C 7C 1B 78 */ mr r28, r3 /* 801E2B4C 001DFAAC 7C BD 2B 78 */ mr r29, r5 /* 801E2B50 001DFAB0 7C DE 33 78 */ mr r30, r6 /* 801E2B54 001DFAB4 7C FF 3B 78 */ mr r31, r7 /* 801E2B58 001DFAB8 80 04 00 04 */ lwz r0, 4(r4) /* 801E2B5C 001DFABC 90 03 00 04 */ stw r0, 4(r3) /* 801E2B60 001DFAC0 80 04 00 08 */ lwz r0, 8(r4) /* 801E2B64 001DFAC4 90 03 00 08 */ stw r0, 8(r3) /* 801E2B68 001DFAC8 80 04 00 04 */ lwz r0, 4(r4) /* 801E2B6C 001DFACC 2C 00 00 00 */ cmpwi r0, 0 /* 801E2B70 001DFAD0 40 82 00 1C */ bne lbl_801E2B8C /* 801E2B74 001DFAD4 80 1B 00 08 */ lwz r0, 8(r27) /* 801E2B78 001DFAD8 2C 00 00 00 */ cmpwi r0, 0 /* 801E2B7C 001DFADC 40 82 00 10 */ bne lbl_801E2B8C /* 801E2B80 001DFAE0 38 00 00 00 */ li r0, 0 /* 801E2B84 001DFAE4 90 1C 00 0C */ stw r0, 0xc(r28) /* 801E2B88 001DFAE8 48 00 00 68 */ b lbl_801E2BF0 lbl_801E2B8C: /* 801E2B8C 001DFAEC 80 1C 00 08 */ lwz r0, 8(r28) /* 801E2B90 001DFAF0 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 801E2B94 001DFAF4 40 82 00 10 */ bne lbl_801E2BA4 /* 801E2B98 001DFAF8 38 00 00 00 */ li r0, 0 /* 801E2B9C 001DFAFC 90 1C 00 0C */ stw r0, 0xc(r28) /* 801E2BA0 001DFB00 48 00 00 1C */ b lbl_801E2BBC lbl_801E2BA4: /* 801E2BA4 001DFB04 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E2BA8 001DFB08 38 A0 00 00 */ li r5, 0 /* 801E2BAC 001DFB0C 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E2BB0 001DFB10 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801E2BB4 001DFB14 48 13 2C 65 */ bl __nwa__FUlPCcPCc /* 801E2BB8 001DFB18 90 7C 00 0C */ stw r3, 0xc(r28) lbl_801E2BBC: /* 801E2BBC 001DFB1C 80 1C 00 04 */ lwz r0, 4(r28) /* 801E2BC0 001DFB20 80 9B 00 0C */ lwz r4, 0xc(r27) /* 801E2BC4 001DFB24 80 7C 00 0C */ lwz r3, 0xc(r28) /* 801E2BC8 001DFB28 7C 09 03 A6 */ mtctr r0 /* 801E2BCC 001DFB2C 2C 00 00 00 */ cmpwi r0, 0 /* 801E2BD0 001DFB30 40 81 00 20 */ ble lbl_801E2BF0 lbl_801E2BD4: /* 801E2BD4 001DFB34 28 03 00 00 */ cmplwi r3, 0 /* 801E2BD8 001DFB38 41 82 00 0C */ beq lbl_801E2BE4 /* 801E2BDC 001DFB3C 80 04 00 00 */ lwz r0, 0(r4) /* 801E2BE0 001DFB40 90 03 00 00 */ stw r0, 0(r3) lbl_801E2BE4: /* 801E2BE4 001DFB44 38 63 00 04 */ addi r3, r3, 4 /* 801E2BE8 001DFB48 38 84 00 04 */ addi r4, r4, 4 /* 801E2BEC 001DFB4C 42 00 FF E8 */ bdnz lbl_801E2BD4 lbl_801E2BF0: /* 801E2BF0 001DFB50 80 1D 00 04 */ lwz r0, 4(r29) /* 801E2BF4 001DFB54 90 1C 00 14 */ stw r0, 0x14(r28) /* 801E2BF8 001DFB58 80 1D 00 08 */ lwz r0, 8(r29) /* 801E2BFC 001DFB5C 90 1C 00 18 */ stw r0, 0x18(r28) /* 801E2C00 001DFB60 80 1D 00 04 */ lwz r0, 4(r29) /* 801E2C04 001DFB64 2C 00 00 00 */ cmpwi r0, 0 /* 801E2C08 001DFB68 40 82 00 1C */ bne lbl_801E2C24 /* 801E2C0C 001DFB6C 80 1D 00 08 */ lwz r0, 8(r29) /* 801E2C10 001DFB70 2C 00 00 00 */ cmpwi r0, 0 /* 801E2C14 001DFB74 40 82 00 10 */ bne lbl_801E2C24 /* 801E2C18 001DFB78 38 00 00 00 */ li r0, 0 /* 801E2C1C 001DFB7C 90 1C 00 1C */ stw r0, 0x1c(r28) /* 801E2C20 001DFB80 48 00 00 68 */ b lbl_801E2C88 lbl_801E2C24: /* 801E2C24 001DFB84 80 1C 00 18 */ lwz r0, 0x18(r28) /* 801E2C28 001DFB88 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 801E2C2C 001DFB8C 40 82 00 10 */ bne lbl_801E2C3C /* 801E2C30 001DFB90 38 00 00 00 */ li r0, 0 /* 801E2C34 001DFB94 90 1C 00 1C */ stw r0, 0x1c(r28) /* 801E2C38 001DFB98 48 00 00 1C */ b lbl_801E2C54 lbl_801E2C3C: /* 801E2C3C 001DFB9C 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E2C40 001DFBA0 38 A0 00 00 */ li r5, 0 /* 801E2C44 001DFBA4 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E2C48 001DFBA8 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801E2C4C 001DFBAC 48 13 2B CD */ bl __nwa__FUlPCcPCc /* 801E2C50 001DFBB0 90 7C 00 1C */ stw r3, 0x1c(r28) lbl_801E2C54: /* 801E2C54 001DFBB4 80 1C 00 14 */ lwz r0, 0x14(r28) /* 801E2C58 001DFBB8 80 9D 00 0C */ lwz r4, 0xc(r29) /* 801E2C5C 001DFBBC 80 7C 00 1C */ lwz r3, 0x1c(r28) /* 801E2C60 001DFBC0 7C 09 03 A6 */ mtctr r0 /* 801E2C64 001DFBC4 2C 00 00 00 */ cmpwi r0, 0 /* 801E2C68 001DFBC8 40 81 00 20 */ ble lbl_801E2C88 lbl_801E2C6C: /* 801E2C6C 001DFBCC 28 03 00 00 */ cmplwi r3, 0 /* 801E2C70 001DFBD0 41 82 00 0C */ beq lbl_801E2C7C /* 801E2C74 001DFBD4 80 04 00 00 */ lwz r0, 0(r4) /* 801E2C78 001DFBD8 90 03 00 00 */ stw r0, 0(r3) lbl_801E2C7C: /* 801E2C7C 001DFBDC 38 63 00 04 */ addi r3, r3, 4 /* 801E2C80 001DFBE0 38 84 00 04 */ addi r4, r4, 4 /* 801E2C84 001DFBE4 42 00 FF E8 */ bdnz lbl_801E2C6C lbl_801E2C88: /* 801E2C88 001DFBE8 80 1E 00 04 */ lwz r0, 4(r30) /* 801E2C8C 001DFBEC 90 1C 00 24 */ stw r0, 0x24(r28) /* 801E2C90 001DFBF0 80 1E 00 08 */ lwz r0, 8(r30) /* 801E2C94 001DFBF4 90 1C 00 28 */ stw r0, 0x28(r28) /* 801E2C98 001DFBF8 80 1E 00 04 */ lwz r0, 4(r30) /* 801E2C9C 001DFBFC 2C 00 00 00 */ cmpwi r0, 0 /* 801E2CA0 001DFC00 40 82 00 1C */ bne lbl_801E2CBC /* 801E2CA4 001DFC04 80 1E 00 08 */ lwz r0, 8(r30) /* 801E2CA8 001DFC08 2C 00 00 00 */ cmpwi r0, 0 /* 801E2CAC 001DFC0C 40 82 00 10 */ bne lbl_801E2CBC /* 801E2CB0 001DFC10 38 00 00 00 */ li r0, 0 /* 801E2CB4 001DFC14 90 1C 00 2C */ stw r0, 0x2c(r28) /* 801E2CB8 001DFC18 48 00 00 68 */ b lbl_801E2D20 lbl_801E2CBC: /* 801E2CBC 001DFC1C 80 1C 00 28 */ lwz r0, 0x28(r28) /* 801E2CC0 001DFC20 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 801E2CC4 001DFC24 40 82 00 10 */ bne lbl_801E2CD4 /* 801E2CC8 001DFC28 38 00 00 00 */ li r0, 0 /* 801E2CCC 001DFC2C 90 1C 00 2C */ stw r0, 0x2c(r28) /* 801E2CD0 001DFC30 48 00 00 1C */ b lbl_801E2CEC lbl_801E2CD4: /* 801E2CD4 001DFC34 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E2CD8 001DFC38 38 A0 00 00 */ li r5, 0 /* 801E2CDC 001DFC3C 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E2CE0 001DFC40 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801E2CE4 001DFC44 48 13 2B 35 */ bl __nwa__FUlPCcPCc /* 801E2CE8 001DFC48 90 7C 00 2C */ stw r3, 0x2c(r28) lbl_801E2CEC: /* 801E2CEC 001DFC4C 80 1C 00 24 */ lwz r0, 0x24(r28) /* 801E2CF0 001DFC50 80 9E 00 0C */ lwz r4, 0xc(r30) /* 801E2CF4 001DFC54 80 7C 00 2C */ lwz r3, 0x2c(r28) /* 801E2CF8 001DFC58 7C 09 03 A6 */ mtctr r0 /* 801E2CFC 001DFC5C 2C 00 00 00 */ cmpwi r0, 0 /* 801E2D00 001DFC60 40 81 00 20 */ ble lbl_801E2D20 lbl_801E2D04: /* 801E2D04 001DFC64 28 03 00 00 */ cmplwi r3, 0 /* 801E2D08 001DFC68 41 82 00 0C */ beq lbl_801E2D14 /* 801E2D0C 001DFC6C 80 04 00 00 */ lwz r0, 0(r4) /* 801E2D10 001DFC70 90 03 00 00 */ stw r0, 0(r3) lbl_801E2D14: /* 801E2D14 001DFC74 38 63 00 04 */ addi r3, r3, 4 /* 801E2D18 001DFC78 38 84 00 04 */ addi r4, r4, 4 /* 801E2D1C 001DFC7C 42 00 FF E8 */ bdnz lbl_801E2D04 lbl_801E2D20: /* 801E2D20 001DFC80 80 1F 00 04 */ lwz r0, 4(r31) /* 801E2D24 001DFC84 90 1C 00 34 */ stw r0, 0x34(r28) /* 801E2D28 001DFC88 80 1F 00 08 */ lwz r0, 8(r31) /* 801E2D2C 001DFC8C 90 1C 00 38 */ stw r0, 0x38(r28) /* 801E2D30 001DFC90 80 1F 00 04 */ lwz r0, 4(r31) /* 801E2D34 001DFC94 2C 00 00 00 */ cmpwi r0, 0 /* 801E2D38 001DFC98 40 82 00 1C */ bne lbl_801E2D54 /* 801E2D3C 001DFC9C 80 1F 00 08 */ lwz r0, 8(r31) /* 801E2D40 001DFCA0 2C 00 00 00 */ cmpwi r0, 0 /* 801E2D44 001DFCA4 40 82 00 10 */ bne lbl_801E2D54 /* 801E2D48 001DFCA8 38 00 00 00 */ li r0, 0 /* 801E2D4C 001DFCAC 90 1C 00 3C */ stw r0, 0x3c(r28) /* 801E2D50 001DFCB0 48 00 00 68 */ b lbl_801E2DB8 lbl_801E2D54: /* 801E2D54 001DFCB4 80 1C 00 38 */ lwz r0, 0x38(r28) /* 801E2D58 001DFCB8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 801E2D5C 001DFCBC 40 82 00 10 */ bne lbl_801E2D6C /* 801E2D60 001DFCC0 38 00 00 00 */ li r0, 0 /* 801E2D64 001DFCC4 90 1C 00 3C */ stw r0, 0x3c(r28) /* 801E2D68 001DFCC8 48 00 00 1C */ b lbl_801E2D84 lbl_801E2D6C: /* 801E2D6C 001DFCCC 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E2D70 001DFCD0 38 A0 00 00 */ li r5, 0 /* 801E2D74 001DFCD4 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E2D78 001DFCD8 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801E2D7C 001DFCDC 48 13 2A 9D */ bl __nwa__FUlPCcPCc /* 801E2D80 001DFCE0 90 7C 00 3C */ stw r3, 0x3c(r28) lbl_801E2D84: /* 801E2D84 001DFCE4 80 1C 00 34 */ lwz r0, 0x34(r28) /* 801E2D88 001DFCE8 80 9F 00 0C */ lwz r4, 0xc(r31) /* 801E2D8C 001DFCEC 80 7C 00 3C */ lwz r3, 0x3c(r28) /* 801E2D90 001DFCF0 7C 09 03 A6 */ mtctr r0 /* 801E2D94 001DFCF4 2C 00 00 00 */ cmpwi r0, 0 /* 801E2D98 001DFCF8 40 81 00 20 */ ble lbl_801E2DB8 lbl_801E2D9C: /* 801E2D9C 001DFCFC 28 03 00 00 */ cmplwi r3, 0 /* 801E2DA0 001DFD00 41 82 00 0C */ beq lbl_801E2DAC /* 801E2DA4 001DFD04 80 04 00 00 */ lwz r0, 0(r4) /* 801E2DA8 001DFD08 90 03 00 00 */ stw r0, 0(r3) lbl_801E2DAC: /* 801E2DAC 001DFD0C 38 63 00 04 */ addi r3, r3, 4 /* 801E2DB0 001DFD10 38 84 00 04 */ addi r4, r4, 4 /* 801E2DB4 001DFD14 42 00 FF E8 */ bdnz lbl_801E2D9C lbl_801E2DB8: /* 801E2DB8 001DFD18 7F 83 E3 78 */ mr r3, r28 /* 801E2DBC 001DFD1C BB 61 00 0C */ lmw r27, 0xc(r1) /* 801E2DC0 001DFD20 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E2DC4 001DFD24 7C 08 03 A6 */ mtlr r0 /* 801E2DC8 001DFD28 38 21 00 20 */ addi r1, r1, 0x20 /* 801E2DCC 001DFD2C 4E 80 00 20 */ blr .global sub_801e2dd0 sub_801e2dd0: /* 801E2DD0 001DFD30 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E2DD4 001DFD34 3C 80 80 5A */ lis r4, skZero3f@ha /* 801E2DD8 001DFD38 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801E2DDC 001DFD3C 38 80 00 00 */ li r4, 0 /* 801E2DE0 001DFD40 B0 03 00 00 */ sth r0, 0(r3) /* 801E2DE4 001DFD44 C0 05 00 00 */ lfs f0, 0(r5) /* 801E2DE8 001DFD48 D0 03 00 04 */ stfs f0, 4(r3) /* 801E2DEC 001DFD4C C0 05 00 04 */ lfs f0, 4(r5) /* 801E2DF0 001DFD50 D0 03 00 08 */ stfs f0, 8(r3) /* 801E2DF4 001DFD54 C0 05 00 08 */ lfs f0, 8(r5) /* 801E2DF8 001DFD58 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801E2DFC 001DFD5C 88 03 00 10 */ lbz r0, 0x10(r3) /* 801E2E00 001DFD60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801E2E04 001DFD64 98 03 00 10 */ stb r0, 0x10(r3) /* 801E2E08 001DFD68 4E 80 00 20 */ blr .global sub_801e2e0c sub_801e2e0c: /* 801E2E0C 001DFD6C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E2E10 001DFD70 7C 08 02 A6 */ mflr r0 /* 801E2E14 001DFD74 90 01 00 14 */ stw r0, 0x14(r1) /* 801E2E18 001DFD78 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E2E1C 001DFD7C 7C 9F 23 78 */ mr r31, r4 /* 801E2E20 001DFD80 93 C1 00 08 */ stw r30, 8(r1) /* 801E2E24 001DFD84 7C 7E 1B 78 */ mr r30, r3 /* 801E2E28 001DFD88 80 04 00 04 */ lwz r0, 4(r4) /* 801E2E2C 001DFD8C 90 03 00 04 */ stw r0, 4(r3) /* 801E2E30 001DFD90 80 04 00 08 */ lwz r0, 8(r4) /* 801E2E34 001DFD94 90 03 00 08 */ stw r0, 8(r3) /* 801E2E38 001DFD98 80 04 00 04 */ lwz r0, 4(r4) /* 801E2E3C 001DFD9C 2C 00 00 00 */ cmpwi r0, 0 /* 801E2E40 001DFDA0 40 82 00 1C */ bne lbl_801E2E5C /* 801E2E44 001DFDA4 80 1F 00 08 */ lwz r0, 8(r31) /* 801E2E48 001DFDA8 2C 00 00 00 */ cmpwi r0, 0 /* 801E2E4C 001DFDAC 40 82 00 10 */ bne lbl_801E2E5C /* 801E2E50 001DFDB0 38 00 00 00 */ li r0, 0 /* 801E2E54 001DFDB4 90 1E 00 0C */ stw r0, 0xc(r30) /* 801E2E58 001DFDB8 48 00 00 48 */ b lbl_801E2EA0 lbl_801E2E5C: /* 801E2E5C 001DFDBC 80 1E 00 08 */ lwz r0, 8(r30) /* 801E2E60 001DFDC0 1C 60 00 4C */ mulli r3, r0, 0x4c /* 801E2E64 001DFDC4 2C 03 00 00 */ cmpwi r3, 0 /* 801E2E68 001DFDC8 40 82 00 10 */ bne lbl_801E2E78 /* 801E2E6C 001DFDCC 38 00 00 00 */ li r0, 0 /* 801E2E70 001DFDD0 90 1E 00 0C */ stw r0, 0xc(r30) /* 801E2E74 001DFDD4 48 00 00 1C */ b lbl_801E2E90 lbl_801E2E78: /* 801E2E78 001DFDD8 3C 80 80 3D */ lis r4, lbl_803D1CB8@ha /* 801E2E7C 001DFDDC 38 A0 00 00 */ li r5, 0 /* 801E2E80 001DFDE0 38 84 1C B8 */ addi r4, r4, lbl_803D1CB8@l /* 801E2E84 001DFDE4 38 84 01 B3 */ addi r4, r4, 0x1b3 /* 801E2E88 001DFDE8 48 13 29 91 */ bl __nwa__FUlPCcPCc /* 801E2E8C 001DFDEC 90 7E 00 0C */ stw r3, 0xc(r30) lbl_801E2E90: /* 801E2E90 001DFDF0 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801E2E94 001DFDF4 80 9E 00 04 */ lwz r4, 4(r30) /* 801E2E98 001DFDF8 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801E2E9C 001DFDFC 48 00 00 21 */ bl sub_801e2ebc lbl_801E2EA0: /* 801E2EA0 001DFE00 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E2EA4 001DFE04 7F C3 F3 78 */ mr r3, r30 /* 801E2EA8 001DFE08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E2EAC 001DFE0C 83 C1 00 08 */ lwz r30, 8(r1) /* 801E2EB0 001DFE10 7C 08 03 A6 */ mtlr r0 /* 801E2EB4 001DFE14 38 21 00 10 */ addi r1, r1, 0x10 /* 801E2EB8 001DFE18 4E 80 00 20 */ blr .global sub_801e2ebc sub_801e2ebc: /* 801E2EBC 001DFE1C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E2EC0 001DFE20 7C 08 02 A6 */ mflr r0 /* 801E2EC4 001DFE24 90 01 00 24 */ stw r0, 0x24(r1) /* 801E2EC8 001DFE28 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E2ECC 001DFE2C 7C 7F 1B 78 */ mr r31, r3 /* 801E2ED0 001DFE30 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E2ED4 001DFE34 7C BE 2B 78 */ mr r30, r5 /* 801E2ED8 001DFE38 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E2EDC 001DFE3C 3B A0 00 00 */ li r29, 0 /* 801E2EE0 001DFE40 93 81 00 10 */ stw r28, 0x10(r1) /* 801E2EE4 001DFE44 7C 9C 23 78 */ mr r28, r4 /* 801E2EE8 001DFE48 48 00 00 1C */ b lbl_801E2F04 lbl_801E2EEC: /* 801E2EEC 001DFE4C 7F C3 F3 78 */ mr r3, r30 /* 801E2EF0 001DFE50 7F E4 FB 78 */ mr r4, r31 /* 801E2EF4 001DFE54 48 00 00 3D */ bl sub_801e2f30 /* 801E2EF8 001DFE58 3B DE 00 4C */ addi r30, r30, 0x4c /* 801E2EFC 001DFE5C 3B BD 00 01 */ addi r29, r29, 1 /* 801E2F00 001DFE60 3B FF 00 4C */ addi r31, r31, 0x4c lbl_801E2F04: /* 801E2F04 001DFE64 7C 1D E0 00 */ cmpw r29, r28 /* 801E2F08 001DFE68 41 80 FF E4 */ blt lbl_801E2EEC /* 801E2F0C 001DFE6C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E2F10 001DFE70 7F C3 F3 78 */ mr r3, r30 /* 801E2F14 001DFE74 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E2F18 001DFE78 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E2F1C 001DFE7C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E2F20 001DFE80 83 81 00 10 */ lwz r28, 0x10(r1) /* 801E2F24 001DFE84 7C 08 03 A6 */ mtlr r0 /* 801E2F28 001DFE88 38 21 00 20 */ addi r1, r1, 0x20 /* 801E2F2C 001DFE8C 4E 80 00 20 */ blr .global sub_801e2f30 sub_801e2f30: /* 801E2F30 001DFE90 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E2F34 001DFE94 7C 08 02 A6 */ mflr r0 /* 801E2F38 001DFE98 28 03 00 00 */ cmplwi r3, 0 /* 801E2F3C 001DFE9C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E2F40 001DFEA0 41 82 00 08 */ beq lbl_801E2F48 /* 801E2F44 001DFEA4 4B E3 5E 49 */ bl __ct__10CModelDataFRC10CModelData lbl_801E2F48: /* 801E2F48 001DFEA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E2F4C 001DFEAC 7C 08 03 A6 */ mtlr r0 /* 801E2F50 001DFEB0 38 21 00 10 */ addi r1, r1, 0x10 /* 801E2F54 001DFEB4 4E 80 00 20 */ blr .global CanRenderUnsorted__16CDestroyableRockCFRC13CStateManager CanRenderUnsorted__16CDestroyableRockCFRC13CStateManager: /* 801E2F58 001DFEB8 38 60 00 01 */ li r3, 1 /* 801E2F5C 001DFEBC 4E 80 00 20 */ blr .global UsePhazonModel__16CDestroyableRockFv UsePhazonModel__16CDestroyableRockFv: /* 801E2F60 001DFEC0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E2F64 001DFEC4 7C 08 02 A6 */ mflr r0 /* 801E2F68 001DFEC8 90 01 00 14 */ stw r0, 0x14(r1) /* 801E2F6C 001DFECC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E2F70 001DFED0 7C 7F 1B 78 */ mr r31, r3 /* 801E2F74 001DFED4 38 9F 02 D8 */ addi r4, r31, 0x2d8 /* 801E2F78 001DFED8 4B E7 20 B9 */ bl SetModelData__6CActorFRC10CModelData /* 801E2F7C 001DFEDC 38 00 00 01 */ li r0, 1 /* 801E2F80 001DFEE0 98 1F 03 35 */ stb r0, 0x335(r31) /* 801E2F84 001DFEE4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E2F88 001DFEE8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E2F8C 001DFEEC 7C 08 03 A6 */ mtlr r0 /* 801E2F90 001DFEF0 38 21 00 10 */ addi r1, r1, 0x10 /* 801E2F94 001DFEF4 4E 80 00 20 */ blr .global TakeDamage__16CDestroyableRockFRC9CVector3ff TakeDamage__16CDestroyableRockFRC9CVector3ff: /* 801E2F98 001DFEF8 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E2F9C 001DFEFC C0 02 AC E0 */ lfs f0, lbl_805ACA00@sda21(r2) /* 801E2FA0 001DFF00 D0 23 03 24 */ stfs f1, 0x324(r3) /* 801E2FA4 001DFF04 D0 03 03 28 */ stfs f0, 0x328(r3) /* 801E2FA8 001DFF08 4E 80 00 20 */ blr .global GetAimPosition__16CDestroyableRockCFRC13CStateManagerf GetAimPosition__16CDestroyableRockCFRC13CStateManagerf: /* 801E2FAC 001DFF0C C0 44 00 60 */ lfs f2, 0x60(r4) /* 801E2FB0 001DFF10 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801E2FB4 001DFF14 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801E2FB8 001DFF18 D0 03 00 00 */ stfs f0, 0(r3) /* 801E2FBC 001DFF1C D0 23 00 04 */ stfs f1, 4(r3) /* 801E2FC0 001DFF20 D0 43 00 08 */ stfs f2, 8(r3) /* 801E2FC4 001DFF24 4E 80 00 20 */ blr .global GetOrbitPosition__16CDestroyableRockCFRC13CStateManager GetOrbitPosition__16CDestroyableRockCFRC13CStateManager: /* 801E2FC8 001DFF28 C0 44 00 60 */ lfs f2, 0x60(r4) /* 801E2FCC 001DFF2C C0 24 00 50 */ lfs f1, 0x50(r4) /* 801E2FD0 001DFF30 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801E2FD4 001DFF34 D0 03 00 00 */ stfs f0, 0(r3) /* 801E2FD8 001DFF38 D0 23 00 04 */ stfs f1, 4(r3) /* 801E2FDC 001DFF3C D0 43 00 08 */ stfs f2, 8(r3) /* 801E2FE0 001DFF40 4E 80 00 20 */ blr .global KnockBack__16CDestroyableRockFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef KnockBack__16CDestroyableRockFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: /* 801E2FE4 001DFF44 4E 80 00 20 */ blr .global Death__16CDestroyableRockFRC9CVector3fR13CStateManager Death__16CDestroyableRockFRC9CVector3fR13CStateManager: /* 801E2FE8 001DFF48 38 00 00 01 */ li r0, 1 /* 801E2FEC 001DFF4C 98 03 03 34 */ stb r0, 0x334(r3) /* 801E2FF0 001DFF50 4E 80 00 20 */ blr .global GetTouchBounds__16CDestroyableRockCFv GetTouchBounds__16CDestroyableRockCFv: /* 801E2FF4 001DFF54 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E2FF8 001DFF58 7C 08 02 A6 */ mflr r0 /* 801E2FFC 001DFF5C 7C 85 23 78 */ mr r5, r4 /* 801E3000 001DFF60 90 01 00 34 */ stw r0, 0x34(r1) /* 801E3004 001DFF64 38 A5 00 34 */ addi r5, r5, 0x34 /* 801E3008 001DFF68 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E300C 001DFF6C 7C 7F 1B 78 */ mr r31, r3 /* 801E3010 001DFF70 38 61 00 08 */ addi r3, r1, 8 /* 801E3014 001DFF74 80 84 00 64 */ lwz r4, 0x64(r4) /* 801E3018 001DFF78 4B F3 27 9D */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 801E301C 001DFF7C 38 00 00 01 */ li r0, 1 /* 801E3020 001DFF80 28 1F 00 00 */ cmplwi r31, 0 /* 801E3024 001DFF84 98 1F 00 18 */ stb r0, 0x18(r31) /* 801E3028 001DFF88 41 82 00 34 */ beq lbl_801E305C /* 801E302C 001DFF8C C0 01 00 08 */ lfs f0, 8(r1) /* 801E3030 001DFF90 D0 1F 00 00 */ stfs f0, 0(r31) /* 801E3034 001DFF94 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801E3038 001DFF98 D0 1F 00 04 */ stfs f0, 4(r31) /* 801E303C 001DFF9C C0 01 00 10 */ lfs f0, 0x10(r1) /* 801E3040 001DFFA0 D0 1F 00 08 */ stfs f0, 8(r31) /* 801E3044 001DFFA4 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801E3048 001DFFA8 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801E304C 001DFFAC C0 01 00 18 */ lfs f0, 0x18(r1) /* 801E3050 001DFFB0 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801E3054 001DFFB4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801E3058 001DFFB8 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_801E305C: /* 801E305C 001DFFBC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E3060 001DFFC0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E3064 001DFFC4 7C 08 03 A6 */ mtlr r0 /* 801E3068 001DFFC8 38 21 00 30 */ addi r1, r1, 0x30 /* 801E306C 001DFFCC 4E 80 00 20 */ blr .global AcceptScriptMsg__16CDestroyableRockF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__16CDestroyableRockF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801E3070 001DFFD0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E3074 001DFFD4 7C 08 02 A6 */ mflr r0 /* 801E3078 001DFFD8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E307C 001DFFDC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E3080 001DFFE0 7C DF 33 78 */ mr r31, r6 /* 801E3084 001DFFE4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E3088 001DFFE8 7C 9E 23 78 */ mr r30, r4 /* 801E308C 001DFFEC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E3090 001DFFF0 7C 7D 1B 78 */ mr r29, r3 /* 801E3094 001DFFF4 A0 05 00 00 */ lhz r0, 0(r5) /* 801E3098 001DFFF8 38 A1 00 08 */ addi r5, r1, 8 /* 801E309C 001DFFFC B0 01 00 08 */ sth r0, 8(r1) /* 801E30A0 001E0000 4B EB FC 05 */ bl AcceptScriptMsg__3CAiF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801E30A4 001E0004 2C 1E 00 21 */ cmpwi r30, 0x21 /* 801E30A8 001E0008 41 82 00 08 */ beq lbl_801E30B0 /* 801E30AC 001E000C 48 00 00 24 */ b lbl_801E30D0 lbl_801E30B0: /* 801E30B0 001E0010 7F A3 EB 78 */ mr r3, r29 /* 801E30B4 001E0014 7F E5 FB 78 */ mr r5, r31 /* 801E30B8 001E0018 38 80 00 12 */ li r4, 0x12 /* 801E30BC 001E001C 4B E7 12 95 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801E30C0 001E0020 7F A3 EB 78 */ mr r3, r29 /* 801E30C4 001E0024 7F E5 FB 78 */ mr r5, r31 /* 801E30C8 001E0028 38 80 00 15 */ li r4, 0x15 /* 801E30CC 001E002C 4B E7 12 85 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_801E30D0: /* 801E30D0 001E0030 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E30D4 001E0034 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E30D8 001E0038 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E30DC 001E003C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E30E0 001E0040 7C 08 03 A6 */ mtlr r0 /* 801E30E4 001E0044 38 21 00 20 */ addi r1, r1, 0x20 /* 801E30E8 001E0048 4E 80 00 20 */ blr .global Accept__16CDestroyableRockFR8IVisitor Accept__16CDestroyableRockFR8IVisitor: /* 801E30EC 001E004C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E30F0 001E0050 7C 08 02 A6 */ mflr r0 /* 801E30F4 001E0054 90 01 00 14 */ stw r0, 0x14(r1) /* 801E30F8 001E0058 7C 60 1B 78 */ mr r0, r3 /* 801E30FC 001E005C 7C 83 23 78 */ mr r3, r4 /* 801E3100 001E0060 81 84 00 00 */ lwz r12, 0(r4) /* 801E3104 001E0064 7C 04 03 78 */ mr r4, r0 /* 801E3108 001E0068 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E310C 001E006C 7D 89 03 A6 */ mtctr r12 /* 801E3110 001E0070 4E 80 04 21 */ bctrl /* 801E3114 001E0074 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E3118 001E0078 7C 08 03 A6 */ mtlr r0 /* 801E311C 001E007C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E3120 001E0080 4E 80 00 20 */ blr .global Render__16CDestroyableRockCFRC13CStateManager Render__16CDestroyableRockCFRC13CStateManager: /* 801E3124 001E0084 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E3128 001E0088 7C 08 02 A6 */ mflr r0 /* 801E312C 001E008C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E3130 001E0090 4B F3 73 B9 */ bl Render__13CPhysicsActorCFRC13CStateManager /* 801E3134 001E0094 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E3138 001E0098 7C 08 03 A6 */ mtlr r0 /* 801E313C 001E009C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E3140 001E00A0 4E 80 00 20 */ blr .global PreRender__16CDestroyableRockFR13CStateManagerRC14CFrustumPlanes PreRender__16CDestroyableRockFR13CStateManagerRC14CFrustumPlanes: /* 801E3144 001E00A4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E3148 001E00A8 7C 08 02 A6 */ mflr r0 /* 801E314C 001E00AC 90 01 00 34 */ stw r0, 0x34(r1) /* 801E3150 001E00B0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E3154 001E00B4 7C BF 2B 78 */ mr r31, r5 /* 801E3158 001E00B8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E315C 001E00BC 7C 9E 23 78 */ mr r30, r4 /* 801E3160 001E00C0 93 A1 00 24 */ stw r29, 0x24(r1) /* 801E3164 001E00C4 7C 7D 1B 78 */ mr r29, r3 /* 801E3168 001E00C8 88 03 00 30 */ lbz r0, 0x30(r3) /* 801E316C 001E00CC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E3170 001E00D0 41 82 01 04 */ beq lbl_801E3274 /* 801E3174 001E00D4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) /* 801E3178 001E00D8 80 63 00 00 */ lwz r3, 0(r3) /* 801E317C 001E00DC 4B EA E3 DD */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801E3180 001E00E0 2C 03 00 03 */ cmpwi r3, 3 /* 801E3184 001E00E4 40 82 00 5C */ bne lbl_801E31E0 /* 801E3188 001E00E8 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E318C 001E00EC 38 80 00 00 */ li r4, 0 /* 801E3190 001E00F0 38 00 00 03 */ li r0, 3 /* 801E3194 001E00F4 98 81 00 10 */ stb r4, 0x10(r1) /* 801E3198 001E00F8 FC 40 08 90 */ fmr f2, f1 /* 801E319C 001E00FC 38 61 00 14 */ addi r3, r1, 0x14 /* 801E31A0 001E0100 FC 60 08 90 */ fmr f3, f1 /* 801E31A4 001E0104 98 81 00 11 */ stb r4, 0x11(r1) /* 801E31A8 001E0108 FC 80 08 90 */ fmr f4, f1 /* 801E31AC 001E010C B0 01 00 12 */ sth r0, 0x12(r1) /* 801E31B0 001E0110 48 18 02 3D */ bl __ct__6CColorFffff /* 801E31B4 001E0114 A0 01 00 12 */ lhz r0, 0x12(r1) /* 801E31B8 001E0118 88 81 00 11 */ lbz r4, 0x11(r1) /* 801E31BC 001E011C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d /* 801E31C0 001E0120 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801E31C4 001E0124 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E31C8 001E0128 60 63 00 01 */ ori r3, r3, 1 /* 801E31CC 001E012C 98 1D 00 B4 */ stb r0, 0xb4(r29) /* 801E31D0 001E0130 98 9D 00 B5 */ stb r4, 0xb5(r29) /* 801E31D4 001E0134 B0 7D 00 B6 */ sth r3, 0xb6(r29) /* 801E31D8 001E0138 90 BD 00 B8 */ stw r5, 0xb8(r29) /* 801E31DC 001E013C 48 00 00 98 */ b lbl_801E3274 lbl_801E31E0: /* 801E31E0 001E0140 88 7D 03 30 */ lbz r3, 0x330(r29) /* 801E31E4 001E0144 88 1D 03 31 */ lbz r0, 0x331(r29) /* 801E31E8 001E0148 88 9D 03 32 */ lbz r4, 0x332(r29) /* 801E31EC 001E014C 7C 60 00 38 */ and r0, r3, r0 /* 801E31F0 001E0150 7C 80 00 38 */ and r0, r4, r0 /* 801E31F4 001E0154 2C 00 00 FF */ cmpwi r0, 0xff /* 801E31F8 001E0158 40 80 00 30 */ bge lbl_801E3228 /* 801E31FC 001E015C 38 00 00 FF */ li r0, 0xff /* 801E3200 001E0160 38 80 00 02 */ li r4, 2 /* 801E3204 001E0164 98 1D 03 33 */ stb r0, 0x333(r29) /* 801E3208 001E0168 38 60 00 00 */ li r3, 0 /* 801E320C 001E016C 38 00 00 03 */ li r0, 3 /* 801E3210 001E0170 80 BD 03 30 */ lwz r5, 0x330(r29) /* 801E3214 001E0174 98 9D 00 B4 */ stb r4, 0xb4(r29) /* 801E3218 001E0178 98 7D 00 B5 */ stb r3, 0xb5(r29) /* 801E321C 001E017C B0 1D 00 B6 */ sth r0, 0xb6(r29) /* 801E3220 001E0180 90 BD 00 B8 */ stw r5, 0xb8(r29) /* 801E3224 001E0184 48 00 00 50 */ b lbl_801E3274 lbl_801E3228: /* 801E3228 001E0188 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E322C 001E018C 38 80 00 00 */ li r4, 0 /* 801E3230 001E0190 38 00 00 03 */ li r0, 3 /* 801E3234 001E0194 98 81 00 08 */ stb r4, 8(r1) /* 801E3238 001E0198 FC 40 08 90 */ fmr f2, f1 /* 801E323C 001E019C 38 61 00 0C */ addi r3, r1, 0xc /* 801E3240 001E01A0 FC 60 08 90 */ fmr f3, f1 /* 801E3244 001E01A4 98 81 00 09 */ stb r4, 9(r1) /* 801E3248 001E01A8 FC 80 08 90 */ fmr f4, f1 /* 801E324C 001E01AC B0 01 00 0A */ sth r0, 0xa(r1) /* 801E3250 001E01B0 48 18 01 9D */ bl __ct__6CColorFffff /* 801E3254 001E01B4 88 01 00 08 */ lbz r0, 8(r1) /* 801E3258 001E01B8 98 1D 00 B4 */ stb r0, 0xb4(r29) /* 801E325C 001E01BC 88 01 00 09 */ lbz r0, 9(r1) /* 801E3260 001E01C0 98 1D 00 B5 */ stb r0, 0xb5(r29) /* 801E3264 001E01C4 A0 01 00 0A */ lhz r0, 0xa(r1) /* 801E3268 001E01C8 B0 1D 00 B6 */ sth r0, 0xb6(r29) /* 801E326C 001E01CC 80 01 00 0C */ lwz r0, 0xc(r1) /* 801E3270 001E01D0 90 1D 00 B8 */ stw r0, 0xb8(r29) lbl_801E3274: /* 801E3274 001E01D4 7F A3 EB 78 */ mr r3, r29 /* 801E3278 001E01D8 7F C4 F3 78 */ mr r4, r30 /* 801E327C 001E01DC 7F E5 FB 78 */ mr r5, r31 /* 801E3280 001E01E0 4B E7 1A 61 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes /* 801E3284 001E01E4 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E3288 001E01E8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E328C 001E01EC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E3290 001E01F0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801E3294 001E01F4 7C 08 03 A6 */ mtlr r0 /* 801E3298 001E01F8 38 21 00 30 */ addi r1, r1, 0x30 /* 801E329C 001E01FC 4E 80 00 20 */ blr .global sub_801e32a0 sub_801e32a0: /* 801E32A0 001E0200 94 21 FE C0 */ stwu r1, -0x140(r1) /* 801E32A4 001E0204 7C 08 02 A6 */ mflr r0 /* 801E32A8 001E0208 90 01 01 44 */ stw r0, 0x144(r1) /* 801E32AC 001E020C DB E1 01 30 */ stfd f31, 0x130(r1) /* 801E32B0 001E0210 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 801E32B4 001E0214 DB C1 01 20 */ stfd f30, 0x120(r1) /* 801E32B8 001E0218 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 /* 801E32BC 001E021C DB A1 01 10 */ stfd f29, 0x110(r1) /* 801E32C0 001E0220 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 /* 801E32C4 001E0224 DB 81 01 00 */ stfd f28, 0x100(r1) /* 801E32C8 001E0228 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 /* 801E32CC 001E022C DB 61 00 F0 */ stfd f27, 0xf0(r1) /* 801E32D0 001E0230 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 /* 801E32D4 001E0234 DB 41 00 E0 */ stfd f26, 0xe0(r1) /* 801E32D8 001E0238 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 /* 801E32DC 001E023C DB 21 00 D0 */ stfd f25, 0xd0(r1) /* 801E32E0 001E0240 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 /* 801E32E4 001E0244 DB 01 00 C0 */ stfd f24, 0xc0(r1) /* 801E32E8 001E0248 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 /* 801E32EC 001E024C DA E1 00 B0 */ stfd f23, 0xb0(r1) /* 801E32F0 001E0250 F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0 /* 801E32F4 001E0254 DA C1 00 A0 */ stfd f22, 0xa0(r1) /* 801E32F8 001E0258 F2 C1 00 A8 */ psq_st f22, 168(r1), 0, qr0 /* 801E32FC 001E025C DA A1 00 90 */ stfd f21, 0x90(r1) /* 801E3300 001E0260 F2 A1 00 98 */ psq_st f21, 152(r1), 0, qr0 /* 801E3304 001E0264 DA 81 00 80 */ stfd f20, 0x80(r1) /* 801E3308 001E0268 F2 81 00 88 */ psq_st f20, 136(r1), 0, qr0 /* 801E330C 001E026C 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801E3310 001E0270 7C 7F 1B 78 */ mr r31, r3 /* 801E3314 001E0274 FE 80 08 90 */ fmr f20, f1 /* 801E3318 001E0278 80 63 09 24 */ lwz r3, 0x924(r3) /* 801E331C 001E027C 28 03 00 00 */ cmplwi r3, 0 /* 801E3320 001E0280 41 82 01 CC */ beq lbl_801E34EC /* 801E3324 001E0284 38 80 00 00 */ li r4, 0 /* 801E3328 001E0288 38 A0 00 01 */ li r5, 1 /* 801E332C 001E028C 48 12 C4 11 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 801E3330 001E0290 C0 02 AD 78 */ lfs f0, lbl_805ACA98@sda21(r2) /* 801E3334 001E0294 3C 60 80 5A */ lis r3, lbl_805A61D4@ha /* 801E3338 001E0298 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l /* 801E333C 001E029C C3 3F 09 2C */ lfs f25, 0x92c(r31) /* 801E3340 001E02A0 EC 80 05 32 */ fmuls f4, f0, f20 /* 801E3344 001E02A4 C0 24 00 00 */ lfs f1, 0(r4) /* 801E3348 001E02A8 C0 04 00 10 */ lfs f0, 0x10(r4) /* 801E334C 001E02AC 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801E3350 001E02B0 C0 64 00 20 */ lfs f3, 0x20(r4) /* 801E3354 001E02B4 38 63 66 70 */ addi r3, r3, skIdentity4f@l /* 801E3358 001E02B8 C0 44 00 08 */ lfs f2, 8(r4) /* 801E335C 001E02BC EF 84 00 72 */ fmuls f28, f4, f1 /* 801E3360 001E02C0 C0 24 00 18 */ lfs f1, 0x18(r4) /* 801E3364 001E02C4 EF A4 00 32 */ fmuls f29, f4, f0 /* 801E3368 001E02C8 C0 04 00 28 */ lfs f0, 0x28(r4) /* 801E336C 001E02CC EF C4 00 F2 */ fmuls f30, f4, f3 /* 801E3370 001E02D0 EF E4 00 B2 */ fmuls f31, f4, f2 /* 801E3374 001E02D4 EF 44 00 72 */ fmuls f26, f4, f1 /* 801E3378 001E02D8 C3 1F 09 30 */ lfs f24, 0x930(r31) /* 801E337C 001E02DC EF 64 00 32 */ fmuls f27, f4, f0 /* 801E3380 001E02E0 C2 FF 09 34 */ lfs f23, 0x934(r31) /* 801E3384 001E02E4 48 12 92 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f /* 801E3388 001E02E8 38 60 00 01 */ li r3, 1 /* 801E338C 001E02EC 38 80 00 01 */ li r4, 1 /* 801E3390 001E02F0 38 A0 00 01 */ li r5, 1 /* 801E3394 001E02F4 38 C0 00 00 */ li r6, 0 /* 801E3398 001E02F8 48 12 86 B9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp /* 801E339C 001E02FC 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha /* 801E33A0 001E0300 38 60 00 00 */ li r3, 0 /* 801E33A4 001E0304 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l /* 801E33A8 001E0308 48 12 6F 11 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 801E33AC 001E030C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 801E33B0 001E0310 38 60 00 01 */ li r3, 1 /* 801E33B4 001E0314 48 12 6F 05 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 801E33B8 001E0318 38 60 00 00 */ li r3, 0 /* 801E33BC 001E031C 38 80 00 07 */ li r4, 7 /* 801E33C0 001E0320 38 A0 00 00 */ li r5, 0 /* 801E33C4 001E0324 48 12 86 D1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb /* 801E33C8 001E0328 FC 20 A0 90 */ fmr f1, f20 /* 801E33CC 001E032C 38 61 00 08 */ addi r3, r1, 8 /* 801E33D0 001E0330 FC 40 A0 90 */ fmr f2, f20 /* 801E33D4 001E0334 FC 60 A0 90 */ fmr f3, f20 /* 801E33D8 001E0338 FC 80 A0 90 */ fmr f4, f20 /* 801E33DC 001E033C 48 18 00 11 */ bl __ct__6CColorFffff /* 801E33E0 001E0340 38 61 00 08 */ addi r3, r1, 8 /* 801E33E4 001E0344 48 12 81 65 */ bl StreamColor__9CGraphicsFRC6CColor /* 801E33E8 001E0348 38 60 00 A0 */ li r3, 0xa0 /* 801E33EC 001E034C 48 12 82 7D */ bl StreamBegin__9CGraphicsF13ERglPrimitive /* 801E33F0 001E0350 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E33F4 001E0354 FC 40 08 90 */ fmr f2, f1 /* 801E33F8 001E0358 48 12 80 6D */ bl StreamTexcoord__9CGraphicsFff /* 801E33FC 001E035C EE D9 E0 28 */ fsubs f22, f25, f28 /* 801E3400 001E0360 38 61 00 60 */ addi r3, r1, 0x60 /* 801E3404 001E0364 EE B8 E8 28 */ fsubs f21, f24, f29 /* 801E3408 001E0368 EE 97 F0 28 */ fsubs f20, f23, f30 /* 801E340C 001E036C EC 16 F8 2A */ fadds f0, f22, f31 /* 801E3410 001E0370 D2 C1 00 54 */ stfs f22, 0x54(r1) /* 801E3414 001E0374 EC 55 D0 2A */ fadds f2, f21, f26 /* 801E3418 001E0378 EC 34 D8 2A */ fadds f1, f20, f27 /* 801E341C 001E037C D2 A1 00 58 */ stfs f21, 0x58(r1) /* 801E3420 001E0380 D2 81 00 5C */ stfs f20, 0x5c(r1) /* 801E3424 001E0384 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801E3428 001E0388 D0 41 00 64 */ stfs f2, 0x64(r1) /* 801E342C 001E038C D0 21 00 68 */ stfs f1, 0x68(r1) /* 801E3430 001E0390 48 12 81 91 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 801E3434 001E0394 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E3438 001E0398 C0 42 AC DC */ lfs f2, lbl_805AC9FC@sda21(r2) /* 801E343C 001E039C 48 12 80 29 */ bl StreamTexcoord__9CGraphicsFff /* 801E3440 001E03A0 EC 55 D0 28 */ fsubs f2, f21, f26 /* 801E3444 001E03A4 D2 C1 00 3C */ stfs f22, 0x3c(r1) /* 801E3448 001E03A8 EC 34 D8 28 */ fsubs f1, f20, f27 /* 801E344C 001E03AC 38 61 00 48 */ addi r3, r1, 0x48 /* 801E3450 001E03B0 EC 16 F8 28 */ fsubs f0, f22, f31 /* 801E3454 001E03B4 D2 A1 00 40 */ stfs f21, 0x40(r1) /* 801E3458 001E03B8 D2 81 00 44 */ stfs f20, 0x44(r1) /* 801E345C 001E03BC D0 01 00 48 */ stfs f0, 0x48(r1) /* 801E3460 001E03C0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801E3464 001E03C4 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801E3468 001E03C8 48 12 81 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 801E346C 001E03CC C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E3470 001E03D0 FC 40 08 90 */ fmr f2, f1 /* 801E3474 001E03D4 48 12 7F F1 */ bl StreamTexcoord__9CGraphicsFff /* 801E3478 001E03D8 EE 99 E0 2A */ fadds f20, f25, f28 /* 801E347C 001E03DC 38 61 00 30 */ addi r3, r1, 0x30 /* 801E3480 001E03E0 EE B8 E8 2A */ fadds f21, f24, f29 /* 801E3484 001E03E4 EE D7 F0 2A */ fadds f22, f23, f30 /* 801E3488 001E03E8 EC 14 F8 28 */ fsubs f0, f20, f31 /* 801E348C 001E03EC D2 81 00 24 */ stfs f20, 0x24(r1) /* 801E3490 001E03F0 EC 55 D0 28 */ fsubs f2, f21, f26 /* 801E3494 001E03F4 EC 36 D8 28 */ fsubs f1, f22, f27 /* 801E3498 001E03F8 D2 A1 00 28 */ stfs f21, 0x28(r1) /* 801E349C 001E03FC D2 C1 00 2C */ stfs f22, 0x2c(r1) /* 801E34A0 001E0400 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801E34A4 001E0404 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801E34A8 001E0408 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801E34AC 001E040C 48 12 81 15 */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 801E34B0 001E0410 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E34B4 001E0414 C0 42 AC D8 */ lfs f2, lbl_805AC9F8@sda21(r2) /* 801E34B8 001E0418 48 12 7F AD */ bl StreamTexcoord__9CGraphicsFff /* 801E34BC 001E041C EC 55 D0 2A */ fadds f2, f21, f26 /* 801E34C0 001E0420 D2 81 00 0C */ stfs f20, 0xc(r1) /* 801E34C4 001E0424 EC 36 D8 2A */ fadds f1, f22, f27 /* 801E34C8 001E0428 38 61 00 18 */ addi r3, r1, 0x18 /* 801E34CC 001E042C EC 14 F8 2A */ fadds f0, f20, f31 /* 801E34D0 001E0430 D2 A1 00 10 */ stfs f21, 0x10(r1) /* 801E34D4 001E0434 D2 C1 00 14 */ stfs f22, 0x14(r1) /* 801E34D8 001E0438 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801E34DC 001E043C D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801E34E0 001E0440 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801E34E4 001E0444 48 12 80 DD */ bl StreamVertex__9CGraphicsFRC9CVector3f /* 801E34E8 001E0448 48 12 7F 29 */ bl StreamEnd__9CGraphicsFv lbl_801E34EC: /* 801E34EC 001E044C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 801E34F0 001E0450 CB E1 01 30 */ lfd f31, 0x130(r1) /* 801E34F4 001E0454 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 /* 801E34F8 001E0458 CB C1 01 20 */ lfd f30, 0x120(r1) /* 801E34FC 001E045C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 /* 801E3500 001E0460 CB A1 01 10 */ lfd f29, 0x110(r1) /* 801E3504 001E0464 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 /* 801E3508 001E0468 CB 81 01 00 */ lfd f28, 0x100(r1) /* 801E350C 001E046C E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 /* 801E3510 001E0470 CB 61 00 F0 */ lfd f27, 0xf0(r1) /* 801E3514 001E0474 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 /* 801E3518 001E0478 CB 41 00 E0 */ lfd f26, 0xe0(r1) /* 801E351C 001E047C E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 /* 801E3520 001E0480 CB 21 00 D0 */ lfd f25, 0xd0(r1) /* 801E3524 001E0484 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 /* 801E3528 001E0488 CB 01 00 C0 */ lfd f24, 0xc0(r1) /* 801E352C 001E048C E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0 /* 801E3530 001E0490 CA E1 00 B0 */ lfd f23, 0xb0(r1) /* 801E3534 001E0494 E2 C1 00 A8 */ psq_l f22, 168(r1), 0, qr0 /* 801E3538 001E0498 CA C1 00 A0 */ lfd f22, 0xa0(r1) /* 801E353C 001E049C E2 A1 00 98 */ psq_l f21, 152(r1), 0, qr0 /* 801E3540 001E04A0 CA A1 00 90 */ lfd f21, 0x90(r1) /* 801E3544 001E04A4 E2 81 00 88 */ psq_l f20, 136(r1), 0, qr0 /* 801E3548 001E04A8 CA 81 00 80 */ lfd f20, 0x80(r1) /* 801E354C 001E04AC 80 01 01 44 */ lwz r0, 0x144(r1) /* 801E3550 001E04B0 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801E3554 001E04B4 7C 08 03 A6 */ mtlr r0 /* 801E3558 001E04B8 38 21 01 40 */ addi r1, r1, 0x140 /* 801E355C 001E04BC 4E 80 00 20 */ blr .global Think__16CDestroyableRockFfR13CStateManager Think__16CDestroyableRockFfR13CStateManager: /* 801E3560 001E04C0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E3564 001E04C4 7C 08 02 A6 */ mflr r0 /* 801E3568 001E04C8 90 01 00 54 */ stw r0, 0x54(r1) /* 801E356C 001E04CC DB E1 00 40 */ stfd f31, 0x40(r1) /* 801E3570 001E04D0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801E3574 001E04D4 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801E3578 001E04D8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801E357C 001E04DC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E3580 001E04E0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E3584 001E04E4 93 A1 00 24 */ stw r29, 0x24(r1) /* 801E3588 001E04E8 88 03 00 30 */ lbz r0, 0x30(r3) /* 801E358C 001E04EC FF C0 08 90 */ fmr f30, f1 /* 801E3590 001E04F0 7C 7D 1B 78 */ mr r29, r3 /* 801E3594 001E04F4 7C 9E 23 78 */ mr r30, r4 /* 801E3598 001E04F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E359C 001E04FC 41 82 00 C0 */ beq lbl_801E365C /* 801E35A0 001E0500 C0 3D 03 24 */ lfs f1, 0x324(r29) /* 801E35A4 001E0504 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E35A8 001E0508 C3 FD 03 2C */ lfs f31, 0x32c(r29) /* 801E35AC 001E050C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E35B0 001E0510 40 81 00 98 */ ble lbl_801E3648 /* 801E35B4 001E0514 EC 01 F0 28 */ fsubs f0, f1, f30 /* 801E35B8 001E0518 38 81 00 14 */ addi r4, r1, 0x14 /* 801E35BC 001E051C 38 6D 91 E8 */ addi r3, r13, lbl_805A7DA8@sda21 /* 801E35C0 001E0520 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E35C4 001E0524 4B E6 C1 6D */ bl "Max__5CMathFRCfRCf" /* 801E35C8 001E0528 C0 42 AC DC */ lfs f2, lbl_805AC9FC@sda21(r2) /* 801E35CC 001E052C C0 03 00 00 */ lfs f0, 0(r3) /* 801E35D0 001E0530 38 61 00 08 */ addi r3, r1, 8 /* 801E35D4 001E0534 FC 60 10 90 */ fmr f3, f2 /* 801E35D8 001E0538 C0 22 AC F8 */ lfs f1, lbl_805ACA18@sda21(r2) /* 801E35DC 001E053C D0 1D 03 24 */ stfs f0, 0x324(r29) /* 801E35E0 001E0540 C0 82 AC D8 */ lfs f4, lbl_805AC9F8@sda21(r2) /* 801E35E4 001E0544 48 17 FE 09 */ bl __ct__6CColorFffff /* 801E35E8 001E0548 C0 22 AC DC */ lfs f1, lbl_805AC9FC@sda21(r2) /* 801E35EC 001E054C 7C 7F 1B 78 */ mr r31, r3 /* 801E35F0 001E0550 C0 82 AC D8 */ lfs f4, lbl_805AC9F8@sda21(r2) /* 801E35F4 001E0554 38 61 00 0C */ addi r3, r1, 0xc /* 801E35F8 001E0558 FC 40 08 90 */ fmr f2, f1 /* 801E35FC 001E055C FC 60 08 90 */ fmr f3, f1 /* 801E3600 001E0560 48 17 FD ED */ bl __ct__6CColorFffff /* 801E3604 001E0564 C0 3D 03 24 */ lfs f1, 0x324(r29) /* 801E3608 001E0568 7C 64 1B 78 */ mr r4, r3 /* 801E360C 001E056C 7F E5 FB 78 */ mr r5, r31 /* 801E3610 001E0570 38 61 00 10 */ addi r3, r1, 0x10 /* 801E3614 001E0574 48 17 FC 99 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801E3618 001E0578 80 01 00 10 */ lwz r0, 0x10(r1) /* 801E361C 001E057C 90 1D 03 30 */ stw r0, 0x330(r29) /* 801E3620 001E0580 88 1D 03 35 */ lbz r0, 0x335(r29) /* 801E3624 001E0584 28 00 00 00 */ cmplwi r0, 0 /* 801E3628 001E0588 41 82 00 14 */ beq lbl_801E363C /* 801E362C 001E058C C0 22 AC F8 */ lfs f1, lbl_805ACA18@sda21(r2) /* 801E3630 001E0590 C0 1D 03 24 */ lfs f0, 0x324(r29) /* 801E3634 001E0594 EF E1 F8 3A */ fmadds f31, f1, f0, f31 /* 801E3638 001E0598 48 00 00 10 */ b lbl_801E3648 lbl_801E363C: /* 801E363C 001E059C C0 22 AD 0C */ lfs f1, lbl_805ACA2C@sda21(r2) /* 801E3640 001E05A0 C0 1D 03 24 */ lfs f0, 0x324(r29) /* 801E3644 001E05A4 EF E1 F8 3A */ fmadds f31, f1, f0, f31 lbl_801E3648: /* 801E3648 001E05A8 FC 20 F0 90 */ fmr f1, f30 /* 801E364C 001E05AC D3 FD 00 D0 */ stfs f31, 0xd0(r29) /* 801E3650 001E05B0 7F A3 EB 78 */ mr r3, r29 /* 801E3654 001E05B4 7F C4 F3 78 */ mr r4, r30 /* 801E3658 001E05B8 4B E6 DA 61 */ bl Think__7CEntityFfR13CStateManager lbl_801E365C: /* 801E365C 001E05BC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801E3660 001E05C0 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801E3664 001E05C4 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801E3668 001E05C8 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801E366C 001E05CC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E3670 001E05D0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E3674 001E05D4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E3678 001E05D8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801E367C 001E05DC 7C 08 03 A6 */ mtlr r0 /* 801E3680 001E05E0 38 21 00 50 */ addi r1, r1, 0x50 /* 801E3684 001E05E4 4E 80 00 20 */ blr .global PreThink__16CDestroyableRockFfR13CStateManager PreThink__16CDestroyableRockFfR13CStateManager: /* 801E3688 001E05E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E368C 001E05EC 7C 08 02 A6 */ mflr r0 /* 801E3690 001E05F0 90 01 00 14 */ stw r0, 0x14(r1) /* 801E3694 001E05F4 4B E6 DA 29 */ bl PreThink__7CEntityFfR13CStateManager /* 801E3698 001E05F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E369C 001E05FC 7C 08 03 A6 */ mtlr r0 /* 801E36A0 001E0600 38 21 00 10 */ addi r1, r1, 0x10 /* 801E36A4 001E0604 4E 80 00 20 */ blr .global "__ct__16CDestroyableRockF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDatafRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersRC10CModelData" "__ct__16CDestroyableRockF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDatafRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersRC10CModelData": /* 801E36A8 001E0608 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801E36AC 001E060C 7C 08 02 A6 */ mflr r0 /* 801E36B0 001E0610 90 01 00 94 */ stw r0, 0x94(r1) /* 801E36B4 001E0614 DB E1 00 80 */ stfd f31, 0x80(r1) /* 801E36B8 001E0618 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801E36BC 001E061C BE 61 00 4C */ stmw r19, 0x4c(r1) /* 801E36C0 001E0620 A0 04 00 00 */ lhz r0, 0(r4) /* 801E36C4 001E0624 7D 37 4B 78 */ mr r23, r9 /* 801E36C8 001E0628 FF E0 08 90 */ fmr f31, f1 /* 801E36CC 001E062C 7C 7F 1B 78 */ mr r31, r3 /* 801E36D0 001E0630 B0 01 00 20 */ sth r0, 0x20(r1) /* 801E36D4 001E0634 7C B3 2B 78 */ mr r19, r5 /* 801E36D8 001E0638 83 21 00 98 */ lwz r25, 0x98(r1) /* 801E36DC 001E063C 7C D4 33 78 */ mr r20, r6 /* 801E36E0 001E0640 83 41 00 9C */ lwz r26, 0x9c(r1) /* 801E36E4 001E0644 7C F5 3B 78 */ mr r21, r7 /* 801E36E8 001E0648 83 61 00 A0 */ lwz r27, 0xa0(r1) /* 801E36EC 001E064C 7D 16 43 78 */ mr r22, r8 /* 801E36F0 001E0650 83 81 00 A4 */ lwz r28, 0xa4(r1) /* 801E36F4 001E0654 7D 58 53 78 */ mr r24, r10 /* 801E36F8 001E0658 83 A1 00 A8 */ lwz r29, 0xa8(r1) /* 801E36FC 001E065C 7E E4 BB 78 */ mr r4, r23 /* 801E3700 001E0660 83 C1 00 AC */ lwz r30, 0xac(r1) /* 801E3704 001E0664 38 61 00 24 */ addi r3, r1, 0x24 /* 801E3708 001E0668 4B F3 1E BD */ bl GetBounds__10CModelDataCFv /* 801E370C 001E066C 93 01 00 08 */ stw r24, 8(r1) /* 801E3710 001E0670 FC 20 F8 90 */ fmr f1, f31 /* 801E3714 001E0674 C0 42 AD 34 */ lfs f2, lbl_805ACA54@sda21(r2) /* 801E3718 001E0678 7F E3 FB 78 */ mr r3, r31 /* 801E371C 001E067C 93 21 00 0C */ stw r25, 0xc(r1) /* 801E3720 001E0680 7E 65 9B 78 */ mr r5, r19 /* 801E3724 001E0684 C0 62 AD 14 */ lfs f3, lbl_805ACA34@sda21(r2) /* 801E3728 001E0688 93 41 00 10 */ stw r26, 0x10(r1) /* 801E372C 001E068C 7E 86 A3 78 */ mr r6, r20 /* 801E3730 001E0690 7E A7 AB 78 */ mr r7, r21 /* 801E3734 001E0694 7E C8 B3 78 */ mr r8, r22 /* 801E3738 001E0698 93 61 00 14 */ stw r27, 0x14(r1) /* 801E373C 001E069C 7E E9 BB 78 */ mr r9, r23 /* 801E3740 001E06A0 38 81 00 20 */ addi r4, r1, 0x20 /* 801E3744 001E06A4 39 41 00 24 */ addi r10, r1, 0x24 /* 801E3748 001E06A8 93 81 00 18 */ stw r28, 0x18(r1) /* 801E374C 001E06AC 4B EB F6 B5 */ bl "__ct__3CAiF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxfRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersff" /* 801E3750 001E06B0 3C 60 80 3E */ lis r3, lbl_803E6074@ha /* 801E3754 001E06B4 7F A4 EB 78 */ mr r4, r29 /* 801E3758 001E06B8 38 03 60 74 */ addi r0, r3, lbl_803E6074@l /* 801E375C 001E06BC 38 7F 02 D8 */ addi r3, r31, 0x2d8 /* 801E3760 001E06C0 90 1F 00 00 */ stw r0, 0(r31) /* 801E3764 001E06C4 4B E3 56 29 */ bl __ct__10CModelDataFRC10CModelData /* 801E3768 001E06C8 C0 02 AC DC */ lfs f0, lbl_805AC9FC@sda21(r2) /* 801E376C 001E06CC 38 7F 03 30 */ addi r3, r31, 0x330 /* 801E3770 001E06D0 C0 22 AC D8 */ lfs f1, lbl_805AC9F8@sda21(r2) /* 801E3774 001E06D4 D0 1F 03 24 */ stfs f0, 0x324(r31) /* 801E3778 001E06D8 FC 40 08 90 */ fmr f2, f1 /* 801E377C 001E06DC D0 1F 03 28 */ stfs f0, 0x328(r31) /* 801E3780 001E06E0 FC 60 08 90 */ fmr f3, f1 /* 801E3784 001E06E4 FC 80 08 90 */ fmr f4, f1 /* 801E3788 001E06E8 C0 1C 00 64 */ lfs f0, 0x64(r28) /* 801E378C 001E06EC D0 1F 03 2C */ stfs f0, 0x32c(r31) /* 801E3790 001E06F0 48 17 FC 5D */ bl __ct__6CColorFffff /* 801E3794 001E06F4 38 C0 00 00 */ li r6, 0 /* 801E3798 001E06F8 7F C0 00 34 */ cntlzw r0, r30 /* 801E379C 001E06FC 98 DF 03 34 */ stb r6, 0x334(r31) /* 801E37A0 001E0700 54 00 D9 7E */ srwi r0, r0, 5 /* 801E37A4 001E0704 38 A0 00 01 */ li r5, 1 /* 801E37A8 001E0708 7F E3 FB 78 */ mr r3, r31 /* 801E37AC 001E070C 98 DF 03 35 */ stb r6, 0x335(r31) /* 801E37B0 001E0710 38 80 00 00 */ li r4, 0 /* 801E37B4 001E0714 C0 18 00 00 */ lfs f0, 0(r24) /* 801E37B8 001E0718 D0 1F 03 38 */ stfs f0, 0x338(r31) /* 801E37BC 001E071C C0 18 00 04 */ lfs f0, 4(r24) /* 801E37C0 001E0720 D0 1F 03 3C */ stfs f0, 0x33c(r31) /* 801E37C4 001E0724 98 1F 03 41 */ stb r0, 0x341(r31) /* 801E37C8 001E0728 88 1F 00 E7 */ lbz r0, 0xe7(r31) /* 801E37CC 001E072C 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e /* 801E37D0 001E0730 98 1F 00 E7 */ stb r0, 0xe7(r31) /* 801E37D4 001E0734 88 1F 02 EC */ lbz r0, 0x2ec(r31) /* 801E37D8 001E0738 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801E37DC 001E073C 98 1F 02 EC */ stb r0, 0x2ec(r31) /* 801E37E0 001E0740 4B E6 F5 8D */ bl CreateShadow__6CActorFb /* 801E37E4 001E0744 7F E3 FB 78 */ mr r3, r31 /* 801E37E8 001E0748 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801E37EC 001E074C CB E1 00 80 */ lfd f31, 0x80(r1) /* 801E37F0 001E0750 BA 61 00 4C */ lmw r19, 0x4c(r1) /* 801E37F4 001E0754 80 01 00 94 */ lwz r0, 0x94(r1) /* 801E37F8 001E0758 7C 08 03 A6 */ mtlr r0 /* 801E37FC 001E075C 38 21 00 90 */ addi r1, r1, 0x90 .global sub_801e3800 sub_801e3800: /* 801E3800 001E0760 4E 80 00 20 */ blr .global __dt__16CDestroyableRockFv __dt__16CDestroyableRockFv: /* 801E3804 001E0764 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E3808 001E0768 7C 08 02 A6 */ mflr r0 /* 801E380C 001E076C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E3810 001E0770 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E3814 001E0774 7C 9F 23 78 */ mr r31, r4 /* 801E3818 001E0778 93 C1 00 08 */ stw r30, 8(r1) /* 801E381C 001E077C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801E3820 001E0780 41 82 00 38 */ beq lbl_801E3858 /* 801E3824 001E0784 3C 80 80 3E */ lis r4, lbl_803E6074@ha /* 801E3828 001E0788 38 7E 02 D8 */ addi r3, r30, 0x2d8 /* 801E382C 001E078C 38 04 60 74 */ addi r0, r4, lbl_803E6074@l /* 801E3830 001E0790 38 80 FF FF */ li r4, -1 /* 801E3834 001E0794 90 1E 00 00 */ stw r0, 0(r30) /* 801E3838 001E0798 4B F3 32 15 */ bl __dt__10CModelDataFv /* 801E383C 001E079C 7F C3 F3 78 */ mr r3, r30 /* 801E3840 001E07A0 38 80 00 00 */ li r4, 0 /* 801E3844 001E07A4 4B EB F5 3D */ bl __dt__3CAiFv /* 801E3848 001E07A8 7F E0 07 35 */ extsh. r0, r31 /* 801E384C 001E07AC 40 81 00 0C */ ble lbl_801E3858 /* 801E3850 001E07B0 7F C3 F3 78 */ mr r3, r30 /* 801E3854 001E07B4 48 13 20 DD */ bl Free__7CMemoryFPCv lbl_801E3858: /* 801E3858 001E07B8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E385C 001E07BC 7F C3 F3 78 */ mr r3, r30 /* 801E3860 001E07C0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E3864 001E07C4 83 C1 00 08 */ lwz r30, 8(r1) /* 801E3868 001E07C8 7C 08 03 A6 */ mtlr r0 /* 801E386C 001E07CC 38 21 00 10 */ addi r1, r1, 0x10 /* 801E3870 001E07D0 4E 80 00 20 */ blr .global __sinit_CThardus_cpp __sinit_CThardus_cpp: /* 801E3874 001E07D4 C0 02 AD 30 */ lfs f0, lbl_805ACA50@sda21(r2) /* 801E3878 001E07D8 3C 60 80 57 */ lis r3, lbl_8057206C@ha /* 801E387C 001E07DC C0 42 AC DC */ lfs f2, lbl_805AC9FC@sda21(r2) /* 801E3880 001E07E0 38 83 20 6C */ addi r4, r3, lbl_8057206C@l /* 801E3884 001E07E4 C0 22 AD 00 */ lfs f1, lbl_805ACA20@sda21(r2) /* 801E3888 001E07E8 38 6D A4 B8 */ addi r3, r13, lbl_805A9078@sda21 /* 801E388C 001E07EC D0 44 00 00 */ stfs f2, 0(r4) /* 801E3890 001E07F0 D0 44 00 04 */ stfs f2, 4(r4) /* 801E3894 001E07F4 D0 24 00 08 */ stfs f1, 8(r4) /* 801E3898 001E07F8 D0 0D A4 B8 */ stfs f0, lbl_805A9078@sda21(r13) /* 801E389C 001E07FC D0 23 00 04 */ stfs f1, 4(r3) /* 801E38A0 001E0800 4E 80 00 20 */ blr .global GetAshyTexture__20CActorModelParticlesFR5CActor GetAshyTexture__20CActorModelParticlesFR5CActor: /* 801E38A4 001E0804 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E38A8 001E0808 7C 08 02 A6 */ mflr r0 /* 801E38AC 001E080C 90 01 00 34 */ stw r0, 0x34(r1) /* 801E38B0 001E0810 38 A1 00 0C */ addi r5, r1, 0xc /* 801E38B4 001E0814 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E38B8 001E0818 7C 7F 1B 78 */ mr r31, r3 /* 801E38BC 001E081C 38 61 00 10 */ addi r3, r1, 0x10 /* 801E38C0 001E0820 A0 04 00 08 */ lhz r0, 8(r4) /* 801E38C4 001E0824 7F E4 FB 78 */ mr r4, r31 /* 801E38C8 001E0828 B0 01 00 08 */ sth r0, 8(r1) /* 801E38CC 001E082C B0 01 00 0C */ sth r0, 0xc(r1) /* 801E38D0 001E0830 48 00 0A 1D */ bl FindSystem__20CActorModelParticlesCF9TUniqueId /* 801E38D4 001E0834 80 61 00 10 */ lwz r3, 0x10(r1) /* 801E38D8 001E0838 80 1F 00 08 */ lwz r0, 8(r31) /* 801E38DC 001E083C 7C 03 00 40 */ cmplw r3, r0 /* 801E38E0 001E0840 41 82 00 4C */ beq lbl_801E392C /* 801E38E4 001E0844 38 83 00 E4 */ addi r4, r3, 0xe4 /* 801E38E8 001E0848 88 03 00 E8 */ lbz r0, 0xe8(r3) /* 801E38EC 001E084C 28 00 00 00 */ cmplwi r0, 0 /* 801E38F0 001E0850 41 82 00 3C */ beq lbl_801E392C /* 801E38F4 001E0854 80 64 00 00 */ lwz r3, 0(r4) /* 801E38F8 001E0858 80 03 00 10 */ lwz r0, 0x10(r3) /* 801E38FC 001E085C 28 00 00 00 */ cmplwi r0, 0 /* 801E3900 001E0860 41 82 00 2C */ beq lbl_801E392C /* 801E3904 001E0864 38 61 00 14 */ addi r3, r1, 0x14 /* 801E3908 001E0868 48 15 D5 A1 */ bl __ct__6CTokenFRC6CToken /* 801E390C 001E086C 38 61 00 14 */ addi r3, r1, 0x14 /* 801E3910 001E0870 48 15 D4 FD */ bl GetObj__6CTokenFv /* 801E3914 001E0874 83 E3 00 04 */ lwz r31, 4(r3) /* 801E3918 001E0878 38 61 00 14 */ addi r3, r1, 0x14 /* 801E391C 001E087C 38 80 00 00 */ li r4, 0 /* 801E3920 001E0880 48 15 D5 21 */ bl __dt__6CTokenFv /* 801E3924 001E0884 7F E3 FB 78 */ mr r3, r31 /* 801E3928 001E0888 48 00 00 08 */ b lbl_801E3930 lbl_801E392C: /* 801E392C 001E088C 38 60 00 00 */ li r3, 0 lbl_801E3930: /* 801E3930 001E0890 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E3934 001E0894 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E3938 001E0898 7C 08 03 A6 */ mtlr r0 /* 801E393C 001E089C 38 21 00 30 */ addi r1, r1, 0x30 /* 801E3940 001E08A0 4E 80 00 20 */ blr .global StartBurnDeath__20CActorModelParticlesFR5CActor StartBurnDeath__20CActorModelParticlesFR5CActor: /* 801E3944 001E08A4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E3948 001E08A8 7C 08 02 A6 */ mflr r0 /* 801E394C 001E08AC 90 01 00 34 */ stw r0, 0x34(r1) /* 801E3950 001E08B0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E3954 001E08B4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E3958 001E08B8 7C 9E 23 78 */ mr r30, r4 /* 801E395C 001E08BC 7C 64 1B 78 */ mr r4, r3 /* 801E3960 001E08C0 38 61 00 0C */ addi r3, r1, 0xc /* 801E3964 001E08C4 7F C5 F3 78 */ mr r5, r30 /* 801E3968 001E08C8 48 00 09 BD */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E396C 001E08CC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E3970 001E08D0 7F C3 F3 78 */ mr r3, r30 /* 801E3974 001E08D4 48 00 3B 05 */ bl IsMediumOrLarge__FRCActor /* 801E3978 001E08D8 54 64 06 3E */ clrlwi r4, r3, 0x18 /* 801E397C 001E08DC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E3980 001E08E0 7C 04 00 D0 */ neg r0, r4 /* 801E3984 001E08E4 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801E3988 001E08E8 7C 00 23 78 */ or r0, r0, r4 /* 801E398C 001E08EC C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801E3990 001E08F0 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801E3994 001E08F4 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801E3998 001E08F8 7C 03 FE 70 */ srawi r3, r0, 0x1f /* 801E399C 001E08FC A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801E39A0 001E0900 38 03 04 7E */ addi r0, r3, 0x47e /* 801E39A4 001E0904 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801E39A8 001E0908 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801E39AC 001E090C 54 04 04 3E */ clrlwi r4, r0, 0x10 /* 801E39B0 001E0910 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801E39B4 001E0914 38 61 00 08 */ addi r3, r1, 8 /* 801E39B8 001E0918 38 A1 00 10 */ addi r5, r1, 0x10 /* 801E39BC 001E091C 38 E0 00 01 */ li r7, 1 /* 801E39C0 001E0920 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801E39C4 001E0924 39 00 00 00 */ li r8, 0 /* 801E39C8 001E0928 48 10 68 E9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801E39CC 001E092C 38 7F 00 E4 */ addi r3, r31, 0xe4 /* 801E39D0 001E0930 48 15 D3 B5 */ bl Lock__6CTokenFv /* 801E39D4 001E0934 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E39D8 001E0938 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E39DC 001E093C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E39E0 001E0940 7C 08 03 A6 */ mtlr r0 /* 801E39E4 001E0944 38 21 00 30 */ addi r1, r1, 0x30 /* 801E39E8 001E0948 4E 80 00 20 */ blr .global UpdateLoad__20CActorModelParticlesFv UpdateLoad__20CActorModelParticlesFv: /* 801E39EC 001E094C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E39F0 001E0950 7C 08 02 A6 */ mflr r0 /* 801E39F4 001E0954 90 01 00 24 */ stw r0, 0x24(r1) /* 801E39F8 001E0958 BF 61 00 0C */ stmw r27, 0xc(r1) /* 801E39FC 001E095C 7C 7B 1B 78 */ mr r27, r3 /* 801E3A00 001E0960 88 03 00 E4 */ lbz r0, 0xe4(r3) /* 801E3A04 001E0964 28 00 00 00 */ cmplwi r0, 0 /* 801E3A08 001E0968 41 82 00 78 */ beq lbl_801E3A80 /* 801E3A0C 001E096C 38 00 00 00 */ li r0, 0 /* 801E3A10 001E0970 3B DB 00 54 */ addi r30, r27, 0x54 /* 801E3A14 001E0974 98 1B 00 E5 */ stb r0, 0xe5(r27) /* 801E3A18 001E0978 3B A0 00 00 */ li r29, 0 /* 801E3A1C 001E097C 3B E0 00 01 */ li r31, 1 lbl_801E3A20: /* 801E3A20 001E0980 7F E3 E8 30 */ slw r3, r31, r29 /* 801E3A24 001E0984 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 801E3A28 001E0988 54 7C 06 3E */ clrlwi r28, r3, 0x18 /* 801E3A2C 001E098C 7C 00 E0 39 */ and. r0, r0, r28 /* 801E3A30 001E0990 41 82 00 30 */ beq lbl_801E3A60 /* 801E3A34 001E0994 7F C3 F3 78 */ mr r3, r30 /* 801E3A38 001E0998 48 00 37 15 */ bl UpdateLoad__Q220CActorModelParticles10DependencyFv /* 801E3A3C 001E099C 88 1E 00 14 */ lbz r0, 0x14(r30) /* 801E3A40 001E09A0 28 00 00 00 */ cmplwi r0, 0 /* 801E3A44 001E09A4 41 82 00 1C */ beq lbl_801E3A60 /* 801E3A48 001E09A8 88 1B 00 E5 */ lbz r0, 0xe5(r27) /* 801E3A4C 001E09AC 7C 00 E3 78 */ or r0, r0, r28 /* 801E3A50 001E09B0 98 1B 00 E5 */ stb r0, 0xe5(r27) /* 801E3A54 001E09B4 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 801E3A58 001E09B8 7C 00 E0 78 */ andc r0, r0, r28 /* 801E3A5C 001E09BC 98 1B 00 E4 */ stb r0, 0xe4(r27) lbl_801E3A60: /* 801E3A60 001E09C0 3B BD 00 01 */ addi r29, r29, 1 /* 801E3A64 001E09C4 3B DE 00 18 */ addi r30, r30, 0x18 /* 801E3A68 001E09C8 2C 1D 00 06 */ cmpwi r29, 6 /* 801E3A6C 001E09CC 41 80 FF B4 */ blt lbl_801E3A20 /* 801E3A70 001E09D0 88 7B 00 E6 */ lbz r3, 0xe6(r27) /* 801E3A74 001E09D4 88 1B 00 E5 */ lbz r0, 0xe5(r27) /* 801E3A78 001E09D8 7C 60 03 78 */ or r0, r3, r0 /* 801E3A7C 001E09DC 98 1B 00 E6 */ stb r0, 0xe6(r27) lbl_801E3A80: /* 801E3A80 001E09E0 BB 61 00 0C */ lmw r27, 0xc(r1) /* 801E3A84 001E09E4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E3A88 001E09E8 7C 08 03 A6 */ mtlr r0 /* 801E3A8C 001E09EC 38 21 00 20 */ addi r1, r1, 0x20 /* 801E3A90 001E09F0 4E 80 00 20 */ blr .global DecrementDependency__20CActorModelParticlesF11EDependency DecrementDependency__20CActorModelParticlesF11EDependency: /* 801E3A94 001E09F4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E3A98 001E09F8 7C 08 02 A6 */ mflr r0 /* 801E3A9C 001E09FC 90 01 00 24 */ stw r0, 0x24(r1) /* 801E3AA0 001E0A00 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E3AA4 001E0A04 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E3AA8 001E0A08 7C 9E 23 78 */ mr r30, r4 /* 801E3AAC 001E0A0C 1C 1E 00 18 */ mulli r0, r30, 0x18 /* 801E3AB0 001E0A10 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E3AB4 001E0A14 7C 7D 1B 78 */ mr r29, r3 /* 801E3AB8 001E0A18 7F FD 02 14 */ add r31, r29, r0 /* 801E3ABC 001E0A1C 3B FF 00 54 */ addi r31, r31, 0x54 /* 801E3AC0 001E0A20 7F E3 FB 78 */ mr r3, r31 /* 801E3AC4 001E0A24 48 00 37 F1 */ bl Decrement__Q220CActorModelParticles10Dependency /* 801E3AC8 001E0A28 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801E3ACC 001E0A2C 2C 00 00 00 */ cmpwi r0, 0 /* 801E3AD0 001E0A30 40 82 00 38 */ bne lbl_801E3B08 /* 801E3AD4 001E0A34 38 60 00 01 */ li r3, 1 /* 801E3AD8 001E0A38 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801E3ADC 001E0A3C 7C 63 F0 30 */ slw r3, r3, r30 /* 801E3AE0 001E0A40 7C 63 18 F8 */ nor r3, r3, r3 /* 801E3AE4 001E0A44 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 801E3AE8 001E0A48 7C 00 18 38 */ and r0, r0, r3 /* 801E3AEC 001E0A4C 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801E3AF0 001E0A50 88 1D 00 E6 */ lbz r0, 0xe6(r29) /* 801E3AF4 001E0A54 7C 00 18 38 */ and r0, r0, r3 /* 801E3AF8 001E0A58 98 1D 00 E6 */ stb r0, 0xe6(r29) /* 801E3AFC 001E0A5C 88 1D 00 E5 */ lbz r0, 0xe5(r29) /* 801E3B00 001E0A60 7C 00 18 38 */ and r0, r0, r3 /* 801E3B04 001E0A64 98 1D 00 E5 */ stb r0, 0xe5(r29) lbl_801E3B08: /* 801E3B08 001E0A68 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E3B0C 001E0A6C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E3B10 001E0A70 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E3B14 001E0A74 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E3B18 001E0A78 7C 08 03 A6 */ mtlr r0 /* 801E3B1C 001E0A7C 38 21 00 20 */ addi r1, r1, 0x20 /* 801E3B20 001E0A80 4E 80 00 20 */ blr .global IncrementDependency__20CActorModelParticlesFi IncrementDependency__20CActorModelParticlesFi: /* 801E3B24 001E0A84 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E3B28 001E0A88 7C 08 02 A6 */ mflr r0 /* 801E3B2C 001E0A8C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E3B30 001E0A90 1C 04 00 18 */ mulli r0, r4, 0x18 /* 801E3B34 001E0A94 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E3B38 001E0A98 93 C1 00 08 */ stw r30, 8(r1) /* 801E3B3C 001E0A9C 7C 7E 1B 78 */ mr r30, r3 /* 801E3B40 001E0AA0 38 60 00 01 */ li r3, 1 /* 801E3B44 001E0AA4 7C 64 20 30 */ slw r4, r3, r4 /* 801E3B48 001E0AA8 7C 7E 02 14 */ add r3, r30, r0 /* 801E3B4C 001E0AAC 54 9F 06 3E */ clrlwi r31, r4, 0x18 /* 801E3B50 001E0AB0 38 63 00 54 */ addi r3, r3, 0x54 /* 801E3B54 001E0AB4 48 00 37 99 */ bl Increment__Q220CActorModelParticles10Dependency /* 801E3B58 001E0AB8 88 1E 00 E6 */ lbz r0, 0xe6(r30) /* 801E3B5C 001E0ABC 7C 00 F8 39 */ and. r0, r0, r31 /* 801E3B60 001E0AC0 40 82 00 10 */ bne lbl_801E3B70 /* 801E3B64 001E0AC4 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801E3B68 001E0AC8 7C 00 FB 78 */ or r0, r0, r31 /* 801E3B6C 001E0ACC 98 1E 00 E4 */ stb r0, 0xe4(r30) lbl_801E3B70: /* 801E3B70 001E0AD0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E3B74 001E0AD4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E3B78 001E0AD8 83 C1 00 08 */ lwz r30, 8(r1) /* 801E3B7C 001E0ADC 7C 08 03 A6 */ mtlr r0 /* 801E3B80 001E0AE0 38 21 00 10 */ addi r1, r1, 0x10 /* 801E3B84 001E0AE4 4E 80 00 20 */ blr .global LoadParticleDGRPs__20CActorModelParticlesFv LoadParticleDGRPs__20CActorModelParticlesFv: /* 801E3B88 001E0AE8 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801E3B8C 001E0AEC 7C 08 02 A6 */ mflr r0 /* 801E3B90 001E0AF0 3C A0 80 3D */ lis r5, lbl_803D1E98@ha /* 801E3B94 001E0AF4 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E3B98 001E0AF8 90 01 00 94 */ stw r0, 0x94(r1) /* 801E3B9C 001E0AFC BF 41 00 78 */ stmw r26, 0x78(r1) /* 801E3BA0 001E0B00 3B A5 1E 98 */ addi r29, r5, lbl_803D1E98@l /* 801E3BA4 001E0B04 7C 7A 1B 78 */ mr r26, r3 /* 801E3BA8 001E0B08 3B C4 1E B0 */ addi r30, r4, lbl_803D1EB0@l /* 801E3BAC 001E0B0C 3B 60 00 00 */ li r27, 0 lbl_801E3BB0: /* 801E3BB0 001E0B10 80 9D 00 00 */ lwz r4, 0(r29) /* 801E3BB4 001E0B14 38 61 00 38 */ addi r3, r1, 0x38 /* 801E3BB8 001E0B18 4B E2 11 01 */ bl string_l__4rstlFPCc /* 801E3BBC 001E0B1C 38 61 00 28 */ addi r3, r1, 0x28 /* 801E3BC0 001E0B20 38 9E 00 56 */ addi r4, r30, 0x56 /* 801E3BC4 001E0B24 4B E2 10 F5 */ bl string_l__4rstlFPCc /* 801E3BC8 001E0B28 38 61 00 18 */ addi r3, r1, 0x18 /* 801E3BCC 001E0B2C 38 81 00 38 */ addi r4, r1, 0x38 /* 801E3BD0 001E0B30 38 A1 00 28 */ addi r5, r1, 0x28 /* 801E3BD4 001E0B34 4B E2 10 89 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801E3BD8 001E0B38 38 61 00 48 */ addi r3, r1, 0x48 /* 801E3BDC 001E0B3C 38 81 00 18 */ addi r4, r1, 0x18 /* 801E3BE0 001E0B40 48 15 A5 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801E3BE4 001E0B44 38 61 00 18 */ addi r3, r1, 0x18 /* 801E3BE8 001E0B48 48 15 9E F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E3BEC 001E0B4C 38 61 00 28 */ addi r3, r1, 0x28 /* 801E3BF0 001E0B50 48 15 9E F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E3BF4 001E0B54 38 61 00 38 */ addi r3, r1, 0x38 /* 801E3BF8 001E0B58 48 15 9E E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E3BFC 001E0B5C 80 81 00 48 */ lwz r4, 0x48(r1) /* 801E3C00 001E0B60 38 61 00 58 */ addi r3, r1, 0x58 /* 801E3C04 001E0B64 48 00 37 21 */ bl GetParticleDGRPTokens__20CActorModelParticlesFRCQ24rstl6string /* 801E3C08 001E0B68 38 7A 00 50 */ addi r3, r26, 0x50 /* 801E3C0C 001E0B6C 38 81 00 58 */ addi r4, r1, 0x58 /* 801E3C10 001E0B70 48 00 00 7D */ bl sub_801e3c8c /* 801E3C14 001E0B74 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801E3C18 001E0B78 83 81 00 64 */ lwz r28, 0x64(r1) /* 801E3C1C 001E0B7C 54 00 18 38 */ slwi r0, r0, 3 /* 801E3C20 001E0B80 7F FC 02 14 */ add r31, r28, r0 /* 801E3C24 001E0B84 93 81 00 0C */ stw r28, 0xc(r1) /* 801E3C28 001E0B88 93 E1 00 14 */ stw r31, 0x14(r1) /* 801E3C2C 001E0B8C 93 E1 00 10 */ stw r31, 0x10(r1) /* 801E3C30 001E0B90 93 81 00 08 */ stw r28, 8(r1) /* 801E3C34 001E0B94 48 00 00 14 */ b lbl_801E3C48 lbl_801E3C38: /* 801E3C38 001E0B98 7F 83 E3 78 */ mr r3, r28 /* 801E3C3C 001E0B9C 38 80 FF FF */ li r4, -1 /* 801E3C40 001E0BA0 48 15 D2 01 */ bl __dt__6CTokenFv /* 801E3C44 001E0BA4 3B 9C 00 08 */ addi r28, r28, 8 lbl_801E3C48: /* 801E3C48 001E0BA8 7C 1C F8 40 */ cmplw r28, r31 /* 801E3C4C 001E0BAC 40 82 FF EC */ bne lbl_801E3C38 /* 801E3C50 001E0BB0 80 61 00 64 */ lwz r3, 0x64(r1) /* 801E3C54 001E0BB4 28 03 00 00 */ cmplwi r3, 0 /* 801E3C58 001E0BB8 41 82 00 08 */ beq lbl_801E3C60 /* 801E3C5C 001E0BBC 48 13 1C D5 */ bl Free__7CMemoryFPCv lbl_801E3C60: /* 801E3C60 001E0BC0 38 61 00 48 */ addi r3, r1, 0x48 /* 801E3C64 001E0BC4 48 15 9E 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801E3C68 001E0BC8 3B 7B 00 01 */ addi r27, r27, 1 /* 801E3C6C 001E0BCC 3B BD 00 04 */ addi r29, r29, 4 /* 801E3C70 001E0BD0 2C 1B 00 06 */ cmpwi r27, 6 /* 801E3C74 001E0BD4 41 80 FF 3C */ blt lbl_801E3BB0 /* 801E3C78 001E0BD8 BB 41 00 78 */ lmw r26, 0x78(r1) /* 801E3C7C 001E0BDC 80 01 00 94 */ lwz r0, 0x94(r1) /* 801E3C80 001E0BE0 7C 08 03 A6 */ mtlr r0 /* 801E3C84 001E0BE4 38 21 00 90 */ addi r1, r1, 0x90 /* 801E3C88 001E0BE8 4E 80 00 20 */ blr .global sub_801e3c8c sub_801e3c8c: /* 801E3C8C 001E0BEC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E3C90 001E0BF0 7C 08 02 A6 */ mflr r0 /* 801E3C94 001E0BF4 90 01 00 34 */ stw r0, 0x34(r1) /* 801E3C98 001E0BF8 BF 21 00 14 */ stmw r25, 0x14(r1) /* 801E3C9C 001E0BFC 7C 7E 1B 78 */ mr r30, r3 /* 801E3CA0 001E0C00 7C 9F 23 78 */ mr r31, r4 /* 801E3CA4 001E0C04 80 03 00 00 */ lwz r0, 0(r3) /* 801E3CA8 001E0C08 1C 00 00 18 */ mulli r0, r0, 0x18 /* 801E3CAC 001E0C0C 7F BE 02 14 */ add r29, r30, r0 /* 801E3CB0 001E0C10 37 BD 00 04 */ addic. r29, r29, 4 /* 801E3CB4 001E0C14 41 82 00 B4 */ beq lbl_801E3D68 /* 801E3CB8 001E0C18 80 1F 00 04 */ lwz r0, 4(r31) /* 801E3CBC 001E0C1C 90 1D 00 04 */ stw r0, 4(r29) /* 801E3CC0 001E0C20 80 1F 00 08 */ lwz r0, 8(r31) /* 801E3CC4 001E0C24 90 1D 00 08 */ stw r0, 8(r29) /* 801E3CC8 001E0C28 80 1F 00 04 */ lwz r0, 4(r31) /* 801E3CCC 001E0C2C 2C 00 00 00 */ cmpwi r0, 0 /* 801E3CD0 001E0C30 40 82 00 1C */ bne lbl_801E3CEC /* 801E3CD4 001E0C34 80 1F 00 08 */ lwz r0, 8(r31) /* 801E3CD8 001E0C38 2C 00 00 00 */ cmpwi r0, 0 /* 801E3CDC 001E0C3C 40 82 00 10 */ bne lbl_801E3CEC /* 801E3CE0 001E0C40 38 00 00 00 */ li r0, 0 /* 801E3CE4 001E0C44 90 1D 00 0C */ stw r0, 0xc(r29) /* 801E3CE8 001E0C48 48 00 00 70 */ b lbl_801E3D58 lbl_801E3CEC: /* 801E3CEC 001E0C4C 80 1D 00 08 */ lwz r0, 8(r29) /* 801E3CF0 001E0C50 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c /* 801E3CF4 001E0C54 40 82 00 10 */ bne lbl_801E3D04 /* 801E3CF8 001E0C58 38 00 00 00 */ li r0, 0 /* 801E3CFC 001E0C5C 90 1D 00 0C */ stw r0, 0xc(r29) /* 801E3D00 001E0C60 48 00 00 1C */ b lbl_801E3D1C lbl_801E3D04: /* 801E3D04 001E0C64 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E3D08 001E0C68 38 A0 00 00 */ li r5, 0 /* 801E3D0C 001E0C6C 38 84 1E B0 */ addi r4, r4, lbl_803D1EB0@l /* 801E3D10 001E0C70 38 84 00 5C */ addi r4, r4, 0x5c /* 801E3D14 001E0C74 48 13 1B 05 */ bl __nwa__FUlPCcPCc /* 801E3D18 001E0C78 90 7D 00 0C */ stw r3, 0xc(r29) lbl_801E3D1C: /* 801E3D1C 001E0C7C 83 3D 00 04 */ lwz r25, 4(r29) /* 801E3D20 001E0C80 3B 80 00 00 */ li r28, 0 /* 801E3D24 001E0C84 83 5F 00 0C */ lwz r26, 0xc(r31) /* 801E3D28 001E0C88 83 7D 00 0C */ lwz r27, 0xc(r29) /* 801E3D2C 001E0C8C 48 00 00 24 */ b lbl_801E3D50 lbl_801E3D30: /* 801E3D30 001E0C90 28 1B 00 00 */ cmplwi r27, 0 /* 801E3D34 001E0C94 41 82 00 10 */ beq lbl_801E3D44 /* 801E3D38 001E0C98 7F 63 DB 78 */ mr r3, r27 /* 801E3D3C 001E0C9C 7F 44 D3 78 */ mr r4, r26 /* 801E3D40 001E0CA0 48 15 D1 69 */ bl __ct__6CTokenFRC6CToken lbl_801E3D44: /* 801E3D44 001E0CA4 3B 7B 00 08 */ addi r27, r27, 8 /* 801E3D48 001E0CA8 3B 9C 00 01 */ addi r28, r28, 1 /* 801E3D4C 001E0CAC 3B 5A 00 08 */ addi r26, r26, 8 lbl_801E3D50: /* 801E3D50 001E0CB0 7C 1C C8 00 */ cmpw r28, r25 /* 801E3D54 001E0CB4 41 80 FF DC */ blt lbl_801E3D30 lbl_801E3D58: /* 801E3D58 001E0CB8 80 1F 00 10 */ lwz r0, 0x10(r31) /* 801E3D5C 001E0CBC 90 1D 00 10 */ stw r0, 0x10(r29) /* 801E3D60 001E0CC0 88 1F 00 14 */ lbz r0, 0x14(r31) /* 801E3D64 001E0CC4 98 1D 00 14 */ stb r0, 0x14(r29) lbl_801E3D68: /* 801E3D68 001E0CC8 80 7E 00 00 */ lwz r3, 0(r30) /* 801E3D6C 001E0CCC 38 03 00 01 */ addi r0, r3, 1 /* 801E3D70 001E0CD0 90 1E 00 00 */ stw r0, 0(r30) /* 801E3D74 001E0CD4 BB 21 00 14 */ lmw r25, 0x14(r1) /* 801E3D78 001E0CD8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E3D7C 001E0CDC 7C 08 03 A6 */ mtlr r0 /* 801E3D80 001E0CE0 38 21 00 30 */ addi r1, r1, 0x30 /* 801E3D84 001E0CE4 4E 80 00 20 */ blr .global MakeIceGen__20CActorModelParticlesFv MakeIceGen__20CActorModelParticlesFv: /* 801E3D88 001E0CE8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E3D8C 001E0CEC 7C 08 02 A6 */ mflr r0 /* 801E3D90 001E0CF0 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E3D94 001E0CF4 38 A0 00 00 */ li r5, 0 /* 801E3D98 001E0CF8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E3D9C 001E0CFC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E3DA0 001E0D00 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E3DA4 001E0D04 7C 7E 1B 78 */ mr r30, r3 /* 801E3DA8 001E0D08 38 64 1E B0 */ addi r3, r4, lbl_803D1EB0@l /* 801E3DAC 001E0D0C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E3DB0 001E0D10 38 83 00 5C */ addi r4, r3, 0x5c /* 801E3DB4 001E0D14 3B A0 00 00 */ li r29, 0 /* 801E3DB8 001E0D18 38 60 03 40 */ li r3, 0x340 /* 801E3DBC 001E0D1C 48 13 1A B1 */ bl __nw__FUlPCcPCc /* 801E3DC0 001E0D20 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E3DC4 001E0D24 41 82 00 2C */ beq lbl_801E3DF0 /* 801E3DC8 001E0D28 38 61 00 08 */ addi r3, r1, 8 /* 801E3DCC 001E0D2C 38 9E 00 28 */ addi r4, r30, 0x28 /* 801E3DD0 001E0D30 48 15 D0 D9 */ bl __ct__6CTokenFRC6CToken /* 801E3DD4 001E0D34 7F E3 FB 78 */ mr r3, r31 /* 801E3DD8 001E0D38 38 81 00 08 */ addi r4, r1, 8 /* 801E3DDC 001E0D3C 3B A0 00 01 */ li r29, 1 /* 801E3DE0 001E0D40 38 A0 00 00 */ li r5, 0 /* 801E3DE4 001E0D44 38 C0 00 01 */ li r6, 1 /* 801E3DE8 001E0D48 48 13 B5 F9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801E3DEC 001E0D4C 7C 7F 1B 78 */ mr r31, r3 lbl_801E3DF0: /* 801E3DF0 001E0D50 7F A0 07 75 */ extsb. r0, r29 /* 801E3DF4 001E0D54 41 82 00 10 */ beq lbl_801E3E04 /* 801E3DF8 001E0D58 38 61 00 08 */ addi r3, r1, 8 /* 801E3DFC 001E0D5C 38 80 00 00 */ li r4, 0 /* 801E3E00 001E0D60 48 15 D0 41 */ bl __dt__6CTokenFv lbl_801E3E04: /* 801E3E04 001E0D64 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E3E08 001E0D68 7F E3 FB 78 */ mr r3, r31 /* 801E3E0C 001E0D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E3E10 001E0D70 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E3E14 001E0D74 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E3E18 001E0D78 7C 08 03 A6 */ mtlr r0 /* 801E3E1C 001E0D7C 38 21 00 20 */ addi r1, r1, 0x20 /* 801E3E20 001E0D80 4E 80 00 20 */ blr .global Render__20CActorModelParticlesCFRC6CActor Render__20CActorModelParticlesCFRC6CActor: /* 801E3E24 001E0D84 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801E3E28 001E0D88 7C 08 02 A6 */ mflr r0 /* 801E3E2C 001E0D8C 3C C0 80 5A */ lis r6, lbl_805A6204@ha /* 801E3E30 001E0D90 90 01 00 64 */ stw r0, 0x64(r1) /* 801E3E34 001E0D94 38 06 62 04 */ addi r0, r6, lbl_805A6204@l /* 801E3E38 001E0D98 BF 41 00 48 */ stmw r26, 0x48(r1) /* 801E3E3C 001E0D9C 7C 7A 1B 78 */ mr r26, r3 /* 801E3E40 001E0DA0 7C 9D 23 78 */ mr r29, r4 /* 801E3E44 001E0DA4 7C BE 2B 78 */ mr r30, r5 /* 801E3E48 001E0DA8 38 61 00 18 */ addi r3, r1, 0x18 /* 801E3E4C 001E0DAC 7C 04 03 78 */ mr r4, r0 /* 801E3E50 001E0DB0 48 12 ED 25 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E3E54 001E0DB4 A0 1E 00 08 */ lhz r0, 8(r30) /* 801E3E58 001E0DB8 7F 44 D3 78 */ mr r4, r26 /* 801E3E5C 001E0DBC 38 61 00 14 */ addi r3, r1, 0x14 /* 801E3E60 001E0DC0 38 A1 00 08 */ addi r5, r1, 8 /* 801E3E64 001E0DC4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801E3E68 001E0DC8 B0 01 00 08 */ sth r0, 8(r1) /* 801E3E6C 001E0DCC 48 00 04 81 */ bl FindSystem__20CActorModelParticlesCF9TUniqueId /* 801E3E70 001E0DD0 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801E3E74 001E0DD4 80 1A 00 08 */ lwz r0, 8(r26) /* 801E3E78 001E0DD8 7C 1F 00 40 */ cmplw r31, r0 /* 801E3E7C 001E0DDC 41 82 01 D0 */ beq lbl_801E404C /* 801E3E80 001E0DE0 80 BF 00 0C */ lwz r5, 0xc(r31) /* 801E3E84 001E0DE4 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801E3E88 001E0DE8 7C 05 00 00 */ cmpw r5, r0 /* 801E3E8C 001E0DEC 41 82 00 48 */ beq lbl_801E3ED4 /* 801E3E90 001E0DF0 80 9D 08 50 */ lwz r4, 0x850(r29) /* 801E3E94 001E0DF4 54 A3 18 38 */ slwi r3, r5, 3 /* 801E3E98 001E0DF8 38 03 00 04 */ addi r0, r3, 4 /* 801E3E9C 001E0DFC 90 A1 00 10 */ stw r5, 0x10(r1) /* 801E3EA0 001E0E00 80 64 00 20 */ lwz r3, 0x20(r4) /* 801E3EA4 001E0E04 7C 63 00 2E */ lwzx r3, r3, r0 /* 801E3EA8 001E0E08 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 801E3EAC 001E0E0C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E3EB0 001E0E10 41 82 01 9C */ beq lbl_801E404C /* 801E3EB4 001E0E14 41 82 00 10 */ beq lbl_801E3EC4 /* 801E3EB8 001E0E18 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801E3EBC 001E0E1C 80 03 10 DC */ lwz r0, 0x10dc(r3) /* 801E3EC0 001E0E20 48 00 00 08 */ b lbl_801E3EC8 lbl_801E3EC4: /* 801E3EC4 001E0E24 38 00 00 00 */ li r0, 0 lbl_801E3EC8: /* 801E3EC8 001E0E28 2C 00 00 00 */ cmpwi r0, 0 /* 801E3ECC 001E0E2C 40 82 00 08 */ bne lbl_801E3ED4 /* 801E3ED0 001E0E30 48 00 01 7C */ b lbl_801E404C lbl_801E3ED4: /* 801E3ED4 001E0E34 80 7D 0F 34 */ lwz r3, 0xf34(r29) /* 801E3ED8 001E0E38 7C 03 00 D0 */ neg r0, r3 /* 801E3EDC 001E0E3C 2C 03 00 01 */ cmpwi r3, 1 /* 801E3EE0 001E0E40 7C 00 1B 78 */ or r0, r0, r3 /* 801E3EE4 001E0E44 54 1B 0F FE */ srwi r27, r0, 0x1f /* 801E3EE8 001E0E48 41 82 00 A8 */ beq lbl_801E3F90 /* 801E3EEC 001E0E4C 3B 40 00 00 */ li r26, 0 /* 801E3EF0 001E0E50 3B 9F 00 14 */ addi r28, r31, 0x14 lbl_801E3EF4: /* 801E3EF4 001E0E54 80 7C 00 04 */ lwz r3, 4(r28) /* 801E3EF8 001E0E58 28 03 00 00 */ cmplwi r3, 0 /* 801E3EFC 001E0E5C 41 82 00 14 */ beq lbl_801E3F10 /* 801E3F00 001E0E60 81 83 00 00 */ lwz r12, 0(r3) /* 801E3F04 001E0E64 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E3F08 001E0E68 7D 89 03 A6 */ mtctr r12 /* 801E3F0C 001E0E6C 4E 80 04 21 */ bctrl lbl_801E3F10: /* 801E3F10 001E0E70 3B 5A 00 01 */ addi r26, r26, 1 /* 801E3F14 001E0E74 3B 9C 00 0C */ addi r28, r28, 0xc /* 801E3F18 001E0E78 2C 1A 00 08 */ cmpwi r26, 8 /* 801E3F1C 001E0E7C 41 80 FF D8 */ blt lbl_801E3EF4 /* 801E3F20 001E0E80 80 1D 0F 34 */ lwz r0, 0xf34(r29) /* 801E3F24 001E0E84 2C 00 00 00 */ cmpwi r0, 0 /* 801E3F28 001E0E88 41 82 00 20 */ beq lbl_801E3F48 /* 801E3F2C 001E0E8C 80 7F 00 84 */ lwz r3, 0x84(r31) /* 801E3F30 001E0E90 28 03 00 00 */ cmplwi r3, 0 /* 801E3F34 001E0E94 41 82 00 14 */ beq lbl_801E3F48 /* 801E3F38 001E0E98 81 83 00 00 */ lwz r12, 0(r3) /* 801E3F3C 001E0E9C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E3F40 001E0EA0 7D 89 03 A6 */ mtctr r12 /* 801E3F44 001E0EA4 4E 80 04 21 */ bctrl lbl_801E3F48: /* 801E3F48 001E0EA8 80 7F 00 C4 */ lwz r3, 0xc4(r31) /* 801E3F4C 001E0EAC 28 03 00 00 */ cmplwi r3, 0 /* 801E3F50 001E0EB0 41 82 00 14 */ beq lbl_801E3F64 /* 801E3F54 001E0EB4 81 83 00 00 */ lwz r12, 0(r3) /* 801E3F58 001E0EB8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E3F5C 001E0EBC 7D 89 03 A6 */ mtctr r12 /* 801E3F60 001E0EC0 4E 80 04 21 */ bctrl lbl_801E3F64: /* 801E3F64 001E0EC4 80 7F 00 CC */ lwz r3, 0xcc(r31) /* 801E3F68 001E0EC8 28 03 00 00 */ cmplwi r3, 0 /* 801E3F6C 001E0ECC 41 82 00 14 */ beq lbl_801E3F80 /* 801E3F70 001E0ED0 81 83 00 00 */ lwz r12, 0(r3) /* 801E3F74 001E0ED4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E3F78 001E0ED8 7D 89 03 A6 */ mtctr r12 /* 801E3F7C 001E0EDC 4E 80 04 21 */ bctrl lbl_801E3F80: /* 801E3F80 001E0EE0 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E3F84 001E0EE4 38 60 00 01 */ li r3, 1 /* 801E3F88 001E0EE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E3F8C 001E0EEC 98 1F 01 34 */ stb r0, 0x134(r31) lbl_801E3F90: /* 801E3F90 001E0EF0 28 1B 00 00 */ cmplwi r27, 0 /* 801E3F94 001E0EF4 41 82 00 B0 */ beq lbl_801E4044 /* 801E3F98 001E0EF8 3B 9F 00 98 */ addi r28, r31, 0x98 /* 801E3F9C 001E0EFC 7F 9A E3 78 */ mr r26, r28 /* 801E3FA0 001E0F00 48 00 00 1C */ b lbl_801E3FBC lbl_801E3FA4: /* 801E3FA4 001E0F04 80 7A 00 04 */ lwz r3, 4(r26) /* 801E3FA8 001E0F08 81 83 00 00 */ lwz r12, 0(r3) /* 801E3FAC 001E0F0C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E3FB0 001E0F10 7D 89 03 A6 */ mtctr r12 /* 801E3FB4 001E0F14 4E 80 04 21 */ bctrl /* 801E3FB8 001E0F18 3B 5A 00 08 */ addi r26, r26, 8 lbl_801E3FBC: /* 801E3FBC 001E0F1C 80 1F 00 94 */ lwz r0, 0x94(r31) /* 801E3FC0 001E0F20 54 00 18 38 */ slwi r0, r0, 3 /* 801E3FC4 001E0F24 7C 1C 02 14 */ add r0, r28, r0 /* 801E3FC8 001E0F28 7C 1A 00 40 */ cmplw r26, r0 /* 801E3FCC 001E0F2C 40 82 FF D8 */ bne lbl_801E3FA4 /* 801E3FD0 001E0F30 80 7F 00 E0 */ lwz r3, 0xe0(r31) /* 801E3FD4 001E0F34 28 03 00 00 */ cmplwi r3, 0 /* 801E3FD8 001E0F38 41 82 00 40 */ beq lbl_801E4018 /* 801E3FDC 001E0F3C 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801E3FE0 001E0F40 38 80 00 00 */ li r4, 0 /* 801E3FE4 001E0F44 28 05 00 00 */ cmplwi r5, 0 /* 801E3FE8 001E0F48 41 82 00 20 */ beq lbl_801E4008 /* 801E3FEC 001E0F4C 80 05 00 10 */ lwz r0, 0x10(r5) /* 801E3FF0 001E0F50 28 00 00 00 */ cmplwi r0, 0 /* 801E3FF4 001E0F54 40 82 00 10 */ bne lbl_801E4004 /* 801E3FF8 001E0F58 88 05 00 28 */ lbz r0, 0x28(r5) /* 801E3FFC 001E0F5C 28 00 00 00 */ cmplwi r0, 0 /* 801E4000 001E0F60 41 82 00 08 */ beq lbl_801E4008 lbl_801E4004: /* 801E4004 001E0F64 38 80 00 01 */ li r4, 1 lbl_801E4008: /* 801E4008 001E0F68 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801E400C 001E0F6C 41 82 00 0C */ beq lbl_801E4018 /* 801E4010 001E0F70 38 9E 00 34 */ addi r4, r30, 0x34 /* 801E4014 001E0F74 48 08 63 AD */ bl Draw__20CRainSplashGeneratorCFRC12CTransform4f lbl_801E4018: /* 801E4018 001E0F78 80 7F 00 F0 */ lwz r3, 0xf0(r31) /* 801E401C 001E0F7C 28 03 00 00 */ cmplwi r3, 0 /* 801E4020 001E0F80 41 82 00 14 */ beq lbl_801E4034 /* 801E4024 001E0F84 81 83 00 00 */ lwz r12, 0(r3) /* 801E4028 001E0F88 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E402C 001E0F8C 7D 89 03 A6 */ mtctr r12 /* 801E4030 001E0F90 4E 80 04 21 */ bctrl lbl_801E4034: /* 801E4034 001E0F94 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E4038 001E0F98 38 60 00 01 */ li r3, 1 /* 801E403C 001E0F9C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801E4040 001E0FA0 98 1F 01 34 */ stb r0, 0x134(r31) lbl_801E4044: /* 801E4044 001E0FA4 38 61 00 18 */ addi r3, r1, 0x18 /* 801E4048 001E0FA8 48 12 85 99 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f lbl_801E404C: /* 801E404C 001E0FAC BB 41 00 48 */ lmw r26, 0x48(r1) /* 801E4050 001E0FB0 80 01 00 64 */ lwz r0, 0x64(r1) /* 801E4054 001E0FB4 7C 08 03 A6 */ mtlr r0 /* 801E4058 001E0FB8 38 21 00 60 */ addi r1, r1, 0x60 /* 801E405C 001E0FBC 4E 80 00 20 */ blr .global AddStragglersToRenderer__20CActorModelParticlesCFRC13CStateManager AddStragglersToRenderer__20CActorModelParticlesCFRC13CStateManager: /* 801E4060 001E0FC0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E4064 001E0FC4 7C 08 02 A6 */ mflr r0 /* 801E4068 001E0FC8 90 01 00 34 */ stw r0, 0x34(r1) /* 801E406C 001E0FCC BF 21 00 14 */ stmw r25, 0x14(r1) /* 801E4070 001E0FD0 7C 9C 23 78 */ mr r28, r4 /* 801E4074 001E0FD4 7C 7B 1B 78 */ mr r27, r3 /* 801E4078 001E0FD8 80 A4 0F 34 */ lwz r5, 0xf34(r4) /* 801E407C 001E0FDC 83 E3 00 04 */ lwz r31, 4(r3) /* 801E4080 001E0FE0 7C 05 00 D0 */ neg r0, r5 /* 801E4084 001E0FE4 20 85 00 01 */ subfic r4, r5, 1 /* 801E4088 001E0FE8 38 65 FF FF */ addi r3, r5, -1 /* 801E408C 001E0FEC 7C 83 1B 78 */ or r3, r4, r3 /* 801E4090 001E0FF0 7C 00 2B 78 */ or r0, r0, r5 /* 801E4094 001E0FF4 54 7E 0F FE */ srwi r30, r3, 0x1f /* 801E4098 001E0FF8 54 1D 0F FE */ srwi r29, r0, 0x1f /* 801E409C 001E0FFC 48 00 01 F8 */ b lbl_801E4294 lbl_801E40A0: /* 801E40A0 001E1000 80 BF 00 0C */ lwz r5, 0xc(r31) /* 801E40A4 001E1004 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 801E40A8 001E1008 7C 05 00 00 */ cmpw r5, r0 /* 801E40AC 001E100C 41 82 00 44 */ beq lbl_801E40F0 /* 801E40B0 001E1010 80 9C 08 50 */ lwz r4, 0x850(r28) /* 801E40B4 001E1014 54 A3 18 38 */ slwi r3, r5, 3 /* 801E40B8 001E1018 38 03 00 04 */ addi r0, r3, 4 /* 801E40BC 001E101C 90 A1 00 0C */ stw r5, 0xc(r1) /* 801E40C0 001E1020 80 64 00 20 */ lwz r3, 0x20(r4) /* 801E40C4 001E1024 7C 63 00 2E */ lwzx r3, r3, r0 /* 801E40C8 001E1028 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 801E40CC 001E102C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E40D0 001E1030 41 82 01 C0 */ beq lbl_801E4290 /* 801E40D4 001E1034 41 82 00 10 */ beq lbl_801E40E4 /* 801E40D8 001E1038 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801E40DC 001E103C 80 03 10 DC */ lwz r0, 0x10dc(r3) /* 801E40E0 001E1040 48 00 00 08 */ b lbl_801E40E8 lbl_801E40E4: /* 801E40E4 001E1044 38 00 00 00 */ li r0, 0 lbl_801E40E8: /* 801E40E8 001E1048 2C 00 00 00 */ cmpwi r0, 0 /* 801E40EC 001E104C 41 82 01 A4 */ beq lbl_801E4290 lbl_801E40F0: /* 801E40F0 001E1050 A0 1F 00 08 */ lhz r0, 8(r31) /* 801E40F4 001E1054 7F 83 E3 78 */ mr r3, r28 /* 801E40F8 001E1058 38 81 00 08 */ addi r4, r1, 8 /* 801E40FC 001E105C B0 01 00 08 */ sth r0, 8(r1) /* 801E4100 001E1060 4B E6 84 A5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801E4104 001E1064 28 03 00 00 */ cmplwi r3, 0 /* 801E4108 001E1068 41 82 00 50 */ beq lbl_801E4158 /* 801E410C 001E106C 28 1E 00 00 */ cmplwi r30, 0 /* 801E4110 001E1070 41 82 00 10 */ beq lbl_801E4120 /* 801E4114 001E1074 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E4118 001E1078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E411C 001E107C 40 82 00 18 */ bne lbl_801E4134 lbl_801E4120: /* 801E4120 001E1080 28 1D 00 00 */ cmplwi r29, 0 /* 801E4124 001E1084 41 82 00 34 */ beq lbl_801E4158 /* 801E4128 001E1088 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E412C 001E108C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801E4130 001E1090 41 82 00 28 */ beq lbl_801E4158 lbl_801E4134: /* 801E4134 001E1094 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E4138 001E1098 38 60 00 00 */ li r3, 0 /* 801E413C 001E109C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E4140 001E10A0 98 1F 01 34 */ stb r0, 0x134(r31) /* 801E4144 001E10A4 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801E4148 001E10A8 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E414C 001E10AC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801E4150 001E10B0 98 1F 01 34 */ stb r0, 0x134(r31) /* 801E4154 001E10B4 48 00 01 3C */ b lbl_801E4290 lbl_801E4158: /* 801E4158 001E10B8 28 1E 00 00 */ cmplwi r30, 0 /* 801E415C 001E10BC 41 82 00 A8 */ beq lbl_801E4204 /* 801E4160 001E10C0 3B 20 00 00 */ li r25, 0 /* 801E4164 001E10C4 3B 5F 00 14 */ addi r26, r31, 0x14 lbl_801E4168: /* 801E4168 001E10C8 80 9A 00 04 */ lwz r4, 4(r26) /* 801E416C 001E10CC 28 04 00 00 */ cmplwi r4, 0 /* 801E4170 001E10D0 41 82 00 18 */ beq lbl_801E4188 /* 801E4174 001E10D4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E4178 001E10D8 81 83 00 00 */ lwz r12, 0(r3) /* 801E417C 001E10DC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E4180 001E10E0 7D 89 03 A6 */ mtctr r12 /* 801E4184 001E10E4 4E 80 04 21 */ bctrl lbl_801E4188: /* 801E4188 001E10E8 3B 39 00 01 */ addi r25, r25, 1 /* 801E418C 001E10EC 3B 5A 00 0C */ addi r26, r26, 0xc /* 801E4190 001E10F0 2C 19 00 08 */ cmpwi r25, 8 /* 801E4194 001E10F4 41 80 FF D4 */ blt lbl_801E4168 /* 801E4198 001E10F8 80 1C 0F 34 */ lwz r0, 0xf34(r28) /* 801E419C 001E10FC 2C 00 00 00 */ cmpwi r0, 0 /* 801E41A0 001E1100 41 82 00 24 */ beq lbl_801E41C4 /* 801E41A4 001E1104 80 9F 00 84 */ lwz r4, 0x84(r31) /* 801E41A8 001E1108 28 04 00 00 */ cmplwi r4, 0 /* 801E41AC 001E110C 41 82 00 18 */ beq lbl_801E41C4 /* 801E41B0 001E1110 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E41B4 001E1114 81 83 00 00 */ lwz r12, 0(r3) /* 801E41B8 001E1118 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E41BC 001E111C 7D 89 03 A6 */ mtctr r12 /* 801E41C0 001E1120 4E 80 04 21 */ bctrl lbl_801E41C4: /* 801E41C4 001E1124 80 9F 00 C4 */ lwz r4, 0xc4(r31) /* 801E41C8 001E1128 28 04 00 00 */ cmplwi r4, 0 /* 801E41CC 001E112C 41 82 00 18 */ beq lbl_801E41E4 /* 801E41D0 001E1130 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E41D4 001E1134 81 83 00 00 */ lwz r12, 0(r3) /* 801E41D8 001E1138 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E41DC 001E113C 7D 89 03 A6 */ mtctr r12 /* 801E41E0 001E1140 4E 80 04 21 */ bctrl lbl_801E41E4: /* 801E41E4 001E1144 80 9F 00 CC */ lwz r4, 0xcc(r31) /* 801E41E8 001E1148 28 04 00 00 */ cmplwi r4, 0 /* 801E41EC 001E114C 41 82 00 18 */ beq lbl_801E4204 /* 801E41F0 001E1150 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E41F4 001E1154 81 83 00 00 */ lwz r12, 0(r3) /* 801E41F8 001E1158 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E41FC 001E115C 7D 89 03 A6 */ mtctr r12 /* 801E4200 001E1160 4E 80 04 21 */ bctrl lbl_801E4204: /* 801E4204 001E1164 28 1D 00 00 */ cmplwi r29, 0 /* 801E4208 001E1168 41 82 00 60 */ beq lbl_801E4268 /* 801E420C 001E116C 3B 5F 00 98 */ addi r26, r31, 0x98 /* 801E4210 001E1170 7F 59 D3 78 */ mr r25, r26 /* 801E4214 001E1174 48 00 00 20 */ b lbl_801E4234 lbl_801E4218: /* 801E4218 001E1178 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E421C 001E117C 80 99 00 04 */ lwz r4, 4(r25) /* 801E4220 001E1180 81 83 00 00 */ lwz r12, 0(r3) /* 801E4224 001E1184 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E4228 001E1188 7D 89 03 A6 */ mtctr r12 /* 801E422C 001E118C 4E 80 04 21 */ bctrl /* 801E4230 001E1190 3B 39 00 08 */ addi r25, r25, 8 lbl_801E4234: /* 801E4234 001E1194 80 1F 00 94 */ lwz r0, 0x94(r31) /* 801E4238 001E1198 54 00 18 38 */ slwi r0, r0, 3 /* 801E423C 001E119C 7C 1A 02 14 */ add r0, r26, r0 /* 801E4240 001E11A0 7C 19 00 40 */ cmplw r25, r0 /* 801E4244 001E11A4 40 82 FF D4 */ bne lbl_801E4218 /* 801E4248 001E11A8 80 9F 00 F0 */ lwz r4, 0xf0(r31) /* 801E424C 001E11AC 28 04 00 00 */ cmplwi r4, 0 /* 801E4250 001E11B0 41 82 00 18 */ beq lbl_801E4268 /* 801E4254 001E11B4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E4258 001E11B8 81 83 00 00 */ lwz r12, 0(r3) /* 801E425C 001E11BC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E4260 001E11C0 7D 89 03 A6 */ mtctr r12 /* 801E4264 001E11C4 4E 80 04 21 */ bctrl lbl_801E4268: /* 801E4268 001E11C8 28 1E 00 00 */ cmplwi r30, 0 /* 801E426C 001E11CC 41 82 00 24 */ beq lbl_801E4290 /* 801E4270 001E11D0 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E4274 001E11D4 38 60 00 00 */ li r3, 0 /* 801E4278 001E11D8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E427C 001E11DC 98 1F 01 34 */ stb r0, 0x134(r31) /* 801E4280 001E11E0 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801E4284 001E11E4 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E4288 001E11E8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801E428C 001E11EC 98 1F 01 34 */ stb r0, 0x134(r31) lbl_801E4290: /* 801E4290 001E11F0 83 FF 00 04 */ lwz r31, 4(r31) lbl_801E4294: /* 801E4294 001E11F4 80 1B 00 08 */ lwz r0, 8(r27) /* 801E4298 001E11F8 7C 1F 00 40 */ cmplw r31, r0 /* 801E429C 001E11FC 40 82 FE 04 */ bne lbl_801E40A0 /* 801E42A0 001E1200 BB 21 00 14 */ lmw r25, 0x14(r1) /* 801E42A4 001E1204 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E42A8 001E1208 7C 08 03 A6 */ mtlr r0 /* 801E42AC 001E120C 38 21 00 30 */ addi r1, r1, 0x30 /* 801E42B0 001E1210 4E 80 00 20 */ blr .global FindSystem__20CActorModelParticlesF9TUniqueId FindSystem__20CActorModelParticlesF9TUniqueId: /* 801E42B4 001E1214 80 C4 00 04 */ lwz r6, 4(r4) /* 801E42B8 001E1218 80 E4 00 08 */ lwz r7, 8(r4) /* 801E42BC 001E121C 48 00 00 20 */ b lbl_801E42DC lbl_801E42C0: /* 801E42C0 001E1220 A0 86 00 08 */ lhz r4, 8(r6) /* 801E42C4 001E1224 A0 05 00 00 */ lhz r0, 0(r5) /* 801E42C8 001E1228 7C 04 00 40 */ cmplw r4, r0 /* 801E42CC 001E122C 40 82 00 0C */ bne lbl_801E42D8 /* 801E42D0 001E1230 90 C3 00 00 */ stw r6, 0(r3) /* 801E42D4 001E1234 4E 80 00 20 */ blr lbl_801E42D8: /* 801E42D8 001E1238 80 C6 00 04 */ lwz r6, 4(r6) lbl_801E42DC: /* 801E42DC 001E123C 7C 06 38 40 */ cmplw r6, r7 /* 801E42E0 001E1240 40 82 FF E0 */ bne lbl_801E42C0 /* 801E42E4 001E1244 90 E3 00 00 */ stw r7, 0(r3) /* 801E42E8 001E1248 4E 80 00 20 */ blr .global FindSystem__20CActorModelParticlesCF9TUniqueId FindSystem__20CActorModelParticlesCF9TUniqueId: /* 801E42EC 001E124C 80 C4 00 04 */ lwz r6, 4(r4) /* 801E42F0 001E1250 80 E4 00 08 */ lwz r7, 8(r4) /* 801E42F4 001E1254 48 00 00 20 */ b lbl_801E4314 lbl_801E42F8: /* 801E42F8 001E1258 A0 86 00 08 */ lhz r4, 8(r6) /* 801E42FC 001E125C A0 05 00 00 */ lhz r0, 0(r5) /* 801E4300 001E1260 7C 04 00 40 */ cmplw r4, r0 /* 801E4304 001E1264 40 82 00 0C */ bne lbl_801E4310 /* 801E4308 001E1268 90 C3 00 00 */ stw r6, 0(r3) /* 801E430C 001E126C 4E 80 00 20 */ blr lbl_801E4310: /* 801E4310 001E1270 80 C6 00 04 */ lwz r6, 4(r6) lbl_801E4314: /* 801E4314 001E1274 7C 06 38 40 */ cmplw r6, r7 /* 801E4318 001E1278 40 82 FF E0 */ bne lbl_801E42F8 /* 801E431C 001E127C 90 E3 00 00 */ stw r7, 0(r3) /* 801E4320 001E1280 4E 80 00 20 */ blr .global FindOrCreateSystem__20CActorModelParticlesFR6CActor FindOrCreateSystem__20CActorModelParticlesFR6CActor: /* 801E4324 001E1284 94 21 FE B0 */ stwu r1, -0x150(r1) /* 801E4328 001E1288 7C 08 02 A6 */ mflr r0 /* 801E432C 001E128C 90 01 01 54 */ stw r0, 0x154(r1) /* 801E4330 001E1290 93 E1 01 4C */ stw r31, 0x14c(r1) /* 801E4334 001E1294 7C 9F 23 78 */ mr r31, r4 /* 801E4338 001E1298 93 C1 01 48 */ stw r30, 0x148(r1) /* 801E433C 001E129C 7C 7E 1B 78 */ mr r30, r3 /* 801E4340 001E12A0 88 05 00 E5 */ lbz r0, 0xe5(r5) /* 801E4344 001E12A4 A0 65 00 08 */ lhz r3, 8(r5) /* 801E4348 001E12A8 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801E434C 001E12AC 41 82 00 30 */ beq lbl_801E437C /* 801E4350 001E12B0 80 9F 00 04 */ lwz r4, 4(r31) /* 801E4354 001E12B4 80 DF 00 08 */ lwz r6, 8(r31) /* 801E4358 001E12B8 48 00 00 1C */ b lbl_801E4374 lbl_801E435C: /* 801E435C 001E12BC A0 04 00 08 */ lhz r0, 8(r4) /* 801E4360 001E12C0 7C 00 18 40 */ cmplw r0, r3 /* 801E4364 001E12C4 40 82 00 0C */ bne lbl_801E4370 /* 801E4368 001E12C8 90 9E 00 00 */ stw r4, 0(r30) /* 801E436C 001E12CC 48 00 00 58 */ b lbl_801E43C4 lbl_801E4370: /* 801E4370 001E12D0 80 84 00 04 */ lwz r4, 4(r4) lbl_801E4374: /* 801E4374 001E12D4 7C 04 30 40 */ cmplw r4, r6 /* 801E4378 001E12D8 40 82 FF E4 */ bne lbl_801E435C lbl_801E437C: /* 801E437C 001E12DC 88 05 00 E5 */ lbz r0, 0xe5(r5) /* 801E4380 001E12E0 38 60 00 01 */ li r3, 1 /* 801E4384 001E12E4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801E4388 001E12E8 7C A4 2B 78 */ mr r4, r5 /* 801E438C 001E12EC 98 05 00 E5 */ stb r0, 0xe5(r5) /* 801E4390 001E12F0 7F E5 FB 78 */ mr r5, r31 /* 801E4394 001E12F4 38 61 00 0C */ addi r3, r1, 0xc /* 801E4398 001E12F8 48 00 2B 91 */ bl __ct__Q220CActorModelParticles5CItemFRC9TUniqueIdR20CActorModelParticles /* 801E439C 001E12FC 80 1F 00 04 */ lwz r0, 4(r31) /* 801E43A0 001E1300 7F C3 F3 78 */ mr r3, r30 /* 801E43A4 001E1304 7F E4 FB 78 */ mr r4, r31 /* 801E43A8 001E1308 38 A1 00 08 */ addi r5, r1, 8 /* 801E43AC 001E130C 90 01 00 08 */ stw r0, 8(r1) /* 801E43B0 001E1310 38 C1 00 0C */ addi r6, r1, 0xc /* 801E43B4 001E1314 48 00 00 29 */ bl sub_801e43dc /* 801E43B8 001E1318 38 61 00 0C */ addi r3, r1, 0xc /* 801E43BC 001E131C 38 80 FF FF */ li r4, -1 /* 801E43C0 001E1320 48 00 29 01 */ bl __dt__Q220CActorModelParticles5CItemFv lbl_801E43C4: /* 801E43C4 001E1324 80 01 01 54 */ lwz r0, 0x154(r1) /* 801E43C8 001E1328 83 E1 01 4C */ lwz r31, 0x14c(r1) /* 801E43CC 001E132C 83 C1 01 48 */ lwz r30, 0x148(r1) /* 801E43D0 001E1330 7C 08 03 A6 */ mtlr r0 /* 801E43D4 001E1334 38 21 01 50 */ addi r1, r1, 0x150 /* 801E43D8 001E1338 4E 80 00 20 */ blr .global sub_801e43dc sub_801e43dc: /* 801E43DC 001E133C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E43E0 001E1340 7C 08 02 A6 */ mflr r0 /* 801E43E4 001E1344 90 01 00 14 */ stw r0, 0x14(r1) /* 801E43E8 001E1348 7C 80 23 78 */ mr r0, r4 /* 801E43EC 001E134C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E43F0 001E1350 7C 7F 1B 78 */ mr r31, r3 /* 801E43F4 001E1354 7C 03 03 78 */ mr r3, r0 /* 801E43F8 001E1358 80 85 00 00 */ lwz r4, 0(r5) /* 801E43FC 001E135C 7C C5 33 78 */ mr r5, r6 /* 801E4400 001E1360 48 00 00 1D */ bl sub_801e441c /* 801E4404 001E1364 90 7F 00 00 */ stw r3, 0(r31) /* 801E4408 001E1368 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E440C 001E136C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E4410 001E1370 7C 08 03 A6 */ mtlr r0 /* 801E4414 001E1374 38 21 00 10 */ addi r1, r1, 0x10 /* 801E4418 001E1378 4E 80 00 20 */ blr .global sub_801e441c sub_801e441c: /* 801E441C 001E137C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E4420 001E1380 7C 08 02 A6 */ mflr r0 /* 801E4424 001E1384 7C A6 2B 78 */ mr r6, r5 /* 801E4428 001E1388 90 01 00 14 */ stw r0, 0x14(r1) /* 801E442C 001E138C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E4430 001E1390 7C 9F 23 78 */ mr r31, r4 /* 801E4434 001E1394 7F E5 FB 78 */ mr r5, r31 /* 801E4438 001E1398 93 C1 00 08 */ stw r30, 8(r1) /* 801E443C 001E139C 7C 7E 1B 78 */ mr r30, r3 /* 801E4440 001E13A0 80 84 00 00 */ lwz r4, 0(r4) /* 801E4444 001E13A4 48 00 00 49 */ bl sub_801e448c /* 801E4448 001E13A8 80 1E 00 04 */ lwz r0, 4(r30) /* 801E444C 001E13AC 7C 1F 00 40 */ cmplw r31, r0 /* 801E4450 001E13B0 40 82 00 08 */ bne lbl_801E4458 /* 801E4454 001E13B4 90 7E 00 04 */ stw r3, 4(r30) lbl_801E4458: /* 801E4458 001E13B8 80 83 00 00 */ lwz r4, 0(r3) /* 801E445C 001E13BC 90 64 00 04 */ stw r3, 4(r4) /* 801E4460 001E13C0 80 83 00 04 */ lwz r4, 4(r3) /* 801E4464 001E13C4 90 64 00 00 */ stw r3, 0(r4) /* 801E4468 001E13C8 80 9E 00 14 */ lwz r4, 0x14(r30) /* 801E446C 001E13CC 38 04 00 01 */ addi r0, r4, 1 /* 801E4470 001E13D0 90 1E 00 14 */ stw r0, 0x14(r30) /* 801E4474 001E13D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E4478 001E13D8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E447C 001E13DC 83 C1 00 08 */ lwz r30, 8(r1) /* 801E4480 001E13E0 7C 08 03 A6 */ mtlr r0 /* 801E4484 001E13E4 38 21 00 10 */ addi r1, r1, 0x10 /* 801E4488 001E13E8 4E 80 00 20 */ blr .global sub_801e448c sub_801e448c: /* 801E448C 001E13EC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E4490 001E13F0 7C 08 02 A6 */ mflr r0 /* 801E4494 001E13F4 3C 60 80 3D */ lis r3, lbl_803D1EB0@ha /* 801E4498 001E13F8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E449C 001E13FC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E44A0 001E1400 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E44A4 001E1404 7C DE 33 78 */ mr r30, r6 /* 801E44A8 001E1408 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E44AC 001E140C 7C BD 2B 78 */ mr r29, r5 /* 801E44B0 001E1410 38 A3 1E B0 */ addi r5, r3, lbl_803D1EB0@l /* 801E44B4 001E1414 38 60 01 40 */ li r3, 0x140 /* 801E44B8 001E1418 93 81 00 10 */ stw r28, 0x10(r1) /* 801E44BC 001E141C 7C 9C 23 78 */ mr r28, r4 /* 801E44C0 001E1420 38 85 00 5C */ addi r4, r5, 0x5c /* 801E44C4 001E1424 38 A0 00 00 */ li r5, 0 /* 801E44C8 001E1428 48 13 13 51 */ bl __nwa__FUlPCcPCc /* 801E44CC 001E142C 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E44D0 001E1430 41 82 00 0C */ beq lbl_801E44DC /* 801E44D4 001E1434 93 9F 00 00 */ stw r28, 0(r31) /* 801E44D8 001E1438 93 BF 00 04 */ stw r29, 4(r31) lbl_801E44DC: /* 801E44DC 001E143C 34 7F 00 08 */ addic. r3, r31, 8 /* 801E44E0 001E1440 41 82 00 0C */ beq lbl_801E44EC /* 801E44E4 001E1444 7F C4 F3 78 */ mr r4, r30 /* 801E44E8 001E1448 48 00 00 29 */ bl sub_801e4510 lbl_801E44EC: /* 801E44EC 001E144C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E44F0 001E1450 7F E3 FB 78 */ mr r3, r31 /* 801E44F4 001E1454 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E44F8 001E1458 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E44FC 001E145C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E4500 001E1460 83 81 00 10 */ lwz r28, 0x10(r1) /* 801E4504 001E1464 7C 08 03 A6 */ mtlr r0 /* 801E4508 001E1468 38 21 00 20 */ addi r1, r1, 0x20 /* 801E450C 001E146C 4E 80 00 20 */ blr .global sub_801e4510 sub_801e4510: /* 801E4510 001E1470 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E4514 001E1474 7C 08 02 A6 */ mflr r0 /* 801E4518 001E1478 90 01 00 14 */ stw r0, 0x14(r1) /* 801E451C 001E147C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E4520 001E1480 7C 9F 23 78 */ mr r31, r4 /* 801E4524 001E1484 93 C1 00 08 */ stw r30, 8(r1) /* 801E4528 001E1488 7C 7E 1B 78 */ mr r30, r3 /* 801E452C 001E148C 38 BE 00 0C */ addi r5, r30, 0xc /* 801E4530 001E1490 A0 04 00 00 */ lhz r0, 0(r4) /* 801E4534 001E1494 38 9F 00 0C */ addi r4, r31, 0xc /* 801E4538 001E1498 B0 03 00 00 */ sth r0, 0(r3) /* 801E453C 001E149C 38 60 00 00 */ li r3, 0 /* 801E4540 001E14A0 80 1F 00 04 */ lwz r0, 4(r31) /* 801E4544 001E14A4 90 1E 00 04 */ stw r0, 4(r30) /* 801E4548 001E14A8 80 1F 00 08 */ lwz r0, 8(r31) /* 801E454C 001E14AC 90 1E 00 08 */ stw r0, 8(r30) /* 801E4550 001E14B0 80 1E 00 08 */ lwz r0, 8(r30) /* 801E4554 001E14B4 7C 09 03 A6 */ mtctr r0 /* 801E4558 001E14B8 2C 00 00 00 */ cmpwi r0, 0 /* 801E455C 001E14BC 40 81 00 34 */ ble lbl_801E4590 lbl_801E4560: /* 801E4560 001E14C0 28 05 00 00 */ cmplwi r5, 0 /* 801E4564 001E14C4 41 82 00 20 */ beq lbl_801E4584 /* 801E4568 001E14C8 88 04 00 00 */ lbz r0, 0(r4) /* 801E456C 001E14CC 98 05 00 00 */ stb r0, 0(r5) /* 801E4570 001E14D0 80 04 00 04 */ lwz r0, 4(r4) /* 801E4574 001E14D4 90 05 00 04 */ stw r0, 4(r5) /* 801E4578 001E14D8 98 64 00 00 */ stb r3, 0(r4) /* 801E457C 001E14DC 80 04 00 08 */ lwz r0, 8(r4) /* 801E4580 001E14E0 90 05 00 08 */ stw r0, 8(r5) lbl_801E4584: /* 801E4584 001E14E4 38 A5 00 0C */ addi r5, r5, 0xc /* 801E4588 001E14E8 38 84 00 0C */ addi r4, r4, 0xc /* 801E458C 001E14EC 42 00 FF D4 */ bdnz lbl_801E4560 lbl_801E4590: /* 801E4590 001E14F0 C0 1F 00 6C */ lfs f0, 0x6c(r31) /* 801E4594 001E14F4 38 60 00 00 */ li r3, 0 /* 801E4598 001E14F8 38 BE 00 90 */ addi r5, r30, 0x90 /* 801E459C 001E14FC 38 9F 00 90 */ addi r4, r31, 0x90 /* 801E45A0 001E1500 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 801E45A4 001E1504 88 1F 00 70 */ lbz r0, 0x70(r31) /* 801E45A8 001E1508 98 1E 00 70 */ stb r0, 0x70(r30) /* 801E45AC 001E150C 80 1F 00 74 */ lwz r0, 0x74(r31) /* 801E45B0 001E1510 90 1E 00 74 */ stw r0, 0x74(r30) /* 801E45B4 001E1514 88 1F 00 78 */ lbz r0, 0x78(r31) /* 801E45B8 001E1518 98 1E 00 78 */ stb r0, 0x78(r30) /* 801E45BC 001E151C 80 1F 00 7C */ lwz r0, 0x7c(r31) /* 801E45C0 001E1520 90 1E 00 7C */ stw r0, 0x7c(r30) /* 801E45C4 001E1524 98 7F 00 78 */ stb r3, 0x78(r31) /* 801E45C8 001E1528 80 1F 00 80 */ lwz r0, 0x80(r31) /* 801E45CC 001E152C 90 1E 00 80 */ stw r0, 0x80(r30) /* 801E45D0 001E1530 80 1F 00 84 */ lwz r0, 0x84(r31) /* 801E45D4 001E1534 90 1E 00 84 */ stw r0, 0x84(r30) /* 801E45D8 001E1538 80 1F 00 88 */ lwz r0, 0x88(r31) /* 801E45DC 001E153C 90 1E 00 88 */ stw r0, 0x88(r30) /* 801E45E0 001E1540 80 1F 00 8C */ lwz r0, 0x8c(r31) /* 801E45E4 001E1544 90 1E 00 8C */ stw r0, 0x8c(r30) /* 801E45E8 001E1548 80 1E 00 8C */ lwz r0, 0x8c(r30) /* 801E45EC 001E154C 7C 09 03 A6 */ mtctr r0 /* 801E45F0 001E1550 2C 00 00 00 */ cmpwi r0, 0 /* 801E45F4 001E1554 40 81 00 2C */ ble lbl_801E4620 lbl_801E45F8: /* 801E45F8 001E1558 28 05 00 00 */ cmplwi r5, 0 /* 801E45FC 001E155C 41 82 00 18 */ beq lbl_801E4614 /* 801E4600 001E1560 88 04 00 00 */ lbz r0, 0(r4) /* 801E4604 001E1564 98 05 00 00 */ stb r0, 0(r5) /* 801E4608 001E1568 80 04 00 04 */ lwz r0, 4(r4) /* 801E460C 001E156C 90 05 00 04 */ stw r0, 4(r5) /* 801E4610 001E1570 98 64 00 00 */ stb r3, 0(r4) lbl_801E4614: /* 801E4614 001E1574 38 A5 00 08 */ addi r5, r5, 8 /* 801E4618 001E1578 38 84 00 08 */ addi r4, r4, 8 /* 801E461C 001E157C 42 00 FF DC */ bdnz lbl_801E45F8 lbl_801E4620: /* 801E4620 001E1580 80 1F 00 B0 */ lwz r0, 0xb0(r31) /* 801E4624 001E1584 38 A0 00 00 */ li r5, 0 /* 801E4628 001E1588 38 7E 00 DC */ addi r3, r30, 0xdc /* 801E462C 001E158C 38 9F 00 DC */ addi r4, r31, 0xdc /* 801E4630 001E1590 90 1E 00 B0 */ stw r0, 0xb0(r30) /* 801E4634 001E1594 80 1F 00 B4 */ lwz r0, 0xb4(r31) /* 801E4638 001E1598 90 1E 00 B4 */ stw r0, 0xb4(r30) /* 801E463C 001E159C 88 1F 00 B8 */ lbz r0, 0xb8(r31) /* 801E4640 001E15A0 98 1E 00 B8 */ stb r0, 0xb8(r30) /* 801E4644 001E15A4 80 1F 00 BC */ lwz r0, 0xbc(r31) /* 801E4648 001E15A8 90 1E 00 BC */ stw r0, 0xbc(r30) /* 801E464C 001E15AC 98 BF 00 B8 */ stb r5, 0xb8(r31) /* 801E4650 001E15B0 88 1F 00 C0 */ lbz r0, 0xc0(r31) /* 801E4654 001E15B4 98 1E 00 C0 */ stb r0, 0xc0(r30) /* 801E4658 001E15B8 80 1F 00 C4 */ lwz r0, 0xc4(r31) /* 801E465C 001E15BC 90 1E 00 C4 */ stw r0, 0xc4(r30) /* 801E4660 001E15C0 98 BF 00 C0 */ stb r5, 0xc0(r31) /* 801E4664 001E15C4 80 1F 00 C8 */ lwz r0, 0xc8(r31) /* 801E4668 001E15C8 90 1E 00 C8 */ stw r0, 0xc8(r30) /* 801E466C 001E15CC 80 1F 00 CC */ lwz r0, 0xcc(r31) /* 801E4670 001E15D0 90 1E 00 CC */ stw r0, 0xcc(r30) /* 801E4674 001E15D4 80 1F 00 D0 */ lwz r0, 0xd0(r31) /* 801E4678 001E15D8 90 1E 00 D0 */ stw r0, 0xd0(r30) /* 801E467C 001E15DC 88 1F 00 D4 */ lbz r0, 0xd4(r31) /* 801E4680 001E15E0 98 1E 00 D4 */ stb r0, 0xd4(r30) /* 801E4684 001E15E4 80 1F 00 D8 */ lwz r0, 0xd8(r31) /* 801E4688 001E15E8 90 1E 00 D8 */ stw r0, 0xd8(r30) /* 801E468C 001E15EC 98 BF 00 D4 */ stb r5, 0xd4(r31) /* 801E4690 001E15F0 48 15 C8 19 */ bl __ct__6CTokenFRC6CToken /* 801E4694 001E15F4 88 BF 00 E4 */ lbz r5, 0xe4(r31) /* 801E4698 001E15F8 38 00 00 00 */ li r0, 0 /* 801E469C 001E15FC 38 7E 00 F8 */ addi r3, r30, 0xf8 /* 801E46A0 001E1600 38 9F 00 F8 */ addi r4, r31, 0xf8 /* 801E46A4 001E1604 98 BE 00 E4 */ stb r5, 0xe4(r30) /* 801E46A8 001E1608 80 BF 00 E8 */ lwz r5, 0xe8(r31) /* 801E46AC 001E160C 90 BE 00 E8 */ stw r5, 0xe8(r30) /* 801E46B0 001E1610 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801E46B4 001E1614 C0 1F 00 EC */ lfs f0, 0xec(r31) /* 801E46B8 001E1618 D0 1E 00 EC */ stfs f0, 0xec(r30) /* 801E46BC 001E161C C0 1F 00 F0 */ lfs f0, 0xf0(r31) /* 801E46C0 001E1620 D0 1E 00 F0 */ stfs f0, 0xf0(r30) /* 801E46C4 001E1624 C0 1F 00 F4 */ lfs f0, 0xf4(r31) /* 801E46C8 001E1628 D0 1E 00 F4 */ stfs f0, 0xf4(r30) /* 801E46CC 001E162C 48 12 E4 A9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E46D0 001E1630 80 1F 01 28 */ lwz r0, 0x128(r31) /* 801E46D4 001E1634 7F C3 F3 78 */ mr r3, r30 /* 801E46D8 001E1638 90 1E 01 28 */ stw r0, 0x128(r30) /* 801E46DC 001E163C 88 1F 01 2C */ lbz r0, 0x12c(r31) /* 801E46E0 001E1640 98 1E 01 2C */ stb r0, 0x12c(r30) /* 801E46E4 001E1644 C0 1F 01 30 */ lfs f0, 0x130(r31) /* 801E46E8 001E1648 D0 1E 01 30 */ stfs f0, 0x130(r30) /* 801E46EC 001E164C 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E46F0 001E1650 98 1E 01 34 */ stb r0, 0x134(r30) /* 801E46F4 001E1654 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E46F8 001E1658 83 C1 00 08 */ lwz r30, 8(r1) /* 801E46FC 001E165C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E4700 001E1660 7C 08 03 A6 */ mtlr r0 /* 801E4704 001E1664 38 21 00 10 */ addi r1, r1, 0x10 /* 801E4708 001E1668 4E 80 00 20 */ blr .global "__dt__Q24rstl32auto_ptr<20CRainSplashGenerator>" "__dt__Q24rstl32auto_ptr<20CRainSplashGenerator>": /* 801E470C 001E166C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E4710 001E1670 7C 08 02 A6 */ mflr r0 /* 801E4714 001E1674 90 01 00 14 */ stw r0, 0x14(r1) /* 801E4718 001E1678 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E471C 001E167C 7C 9F 23 78 */ mr r31, r4 /* 801E4720 001E1680 93 C1 00 08 */ stw r30, 8(r1) /* 801E4724 001E1684 7C 7E 1B 79 */ or. r30, r3, r3 /* 801E4728 001E1688 41 82 00 2C */ beq lbl_801E4754 /* 801E472C 001E168C 88 1E 00 00 */ lbz r0, 0(r30) /* 801E4730 001E1690 28 00 00 00 */ cmplwi r0, 0 /* 801E4734 001E1694 41 82 00 10 */ beq lbl_801E4744 /* 801E4738 001E1698 80 7E 00 04 */ lwz r3, 4(r30) /* 801E473C 001E169C 38 80 00 01 */ li r4, 1 /* 801E4740 001E16A0 4B E5 E8 91 */ bl __dt__20CRainSplashGeneratorFv lbl_801E4744: /* 801E4744 001E16A4 7F E0 07 35 */ extsh. r0, r31 /* 801E4748 001E16A8 40 81 00 0C */ ble lbl_801E4754 /* 801E474C 001E16AC 7F C3 F3 78 */ mr r3, r30 /* 801E4750 001E16B0 48 13 11 E1 */ bl Free__7CMemoryFPCv lbl_801E4754: /* 801E4754 001E16B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E4758 001E16B8 7F C3 F3 78 */ mr r3, r30 /* 801E475C 001E16BC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E4760 001E16C0 83 C1 00 08 */ lwz r30, 8(r1) /* 801E4764 001E16C4 7C 08 03 A6 */ mtlr r0 /* 801E4768 001E16C8 38 21 00 10 */ addi r1, r1, 0x10 /* 801E476C 001E16CC 4E 80 00 20 */ blr .global SetupHook__20CActorModelParticlesCF9TUniqueId SetupHook__20CActorModelParticlesCF9TUniqueId: /* 801E4770 001E16D0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E4774 001E16D4 7C 08 02 A6 */ mflr r0 /* 801E4778 001E16D8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E477C 001E16DC 38 A1 00 08 */ addi r5, r1, 8 /* 801E4780 001E16E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E4784 001E16E4 7C 7F 1B 78 */ mr r31, r3 /* 801E4788 001E16E8 38 61 00 0C */ addi r3, r1, 0xc /* 801E478C 001E16EC A0 04 00 00 */ lhz r0, 0(r4) /* 801E4790 001E16F0 7F E4 FB 78 */ mr r4, r31 /* 801E4794 001E16F4 B0 01 00 08 */ sth r0, 8(r1) /* 801E4798 001E16F8 4B FF FB 55 */ bl FindSystem__20CActorModelParticlesCF9TUniqueId /* 801E479C 001E16FC 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E47A0 001E1700 80 1F 00 08 */ lwz r0, 8(r31) /* 801E47A4 001E1704 7C 03 00 40 */ cmplw r3, r0 /* 801E47A8 001E1708 41 82 00 14 */ beq lbl_801E47BC /* 801E47AC 001E170C 3C 80 80 1E */ lis r4, PointGenerator__20CActorModelParticlesFUiPC9CVector3fPC9CVector3fi@ha /* 801E47B0 001E1710 38 63 00 08 */ addi r3, r3, 8 /* 801E47B4 001E1714 38 84 4E 20 */ addi r4, r4, PointGenerator__20CActorModelParticlesFUiPC9CVector3fPC9CVector3fi@l /* 801E47B8 001E1718 48 16 DF 5D */ bl SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v lbl_801E47BC: /* 801E47BC 001E171C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E47C0 001E1720 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E47C4 001E1724 7C 08 03 A6 */ mtlr r0 /* 801E47C8 001E1728 38 21 00 20 */ addi r1, r1, 0x20 /* 801E47CC 001E172C 4E 80 00 20 */ blr .global GeneratePoints__Q220CActorModelParticles5CItemFPC9CVector3fPC9CVector3fi GeneratePoints__Q220CActorModelParticles5CItemFPC9CVector3fPC9CVector3fi: /* 801E47D0 001E1730 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801E47D4 001E1734 7C 08 02 A6 */ mflr r0 /* 801E47D8 001E1738 90 01 01 14 */ stw r0, 0x114(r1) /* 801E47DC 001E173C DB E1 01 00 */ stfd f31, 0x100(r1) /* 801E47E0 001E1740 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801E47E4 001E1744 BE E1 00 DC */ stmw r23, 0xdc(r1) /* 801E47E8 001E1748 7C 7A 1B 78 */ mr r26, r3 /* 801E47EC 001E174C 7C 9B 23 78 */ mr r27, r4 /* 801E47F0 001E1750 7C BC 2B 78 */ mr r28, r5 /* 801E47F4 001E1754 7C DD 33 78 */ mr r29, r6 /* 801E47F8 001E1758 3B 1A 00 0C */ addi r24, r26, 0xc /* 801E47FC 001E175C 3B 20 00 00 */ li r25, 0 lbl_801E4800: /* 801E4800 001E1760 83 D8 00 04 */ lwz r30, 4(r24) /* 801E4804 001E1764 28 1E 00 00 */ cmplwi r30, 0 /* 801E4808 001E1768 41 82 00 98 */ beq lbl_801E48A0 /* 801E480C 001E176C 80 98 00 08 */ lwz r4, 8(r24) /* 801E4810 001E1770 38 61 00 14 */ addi r3, r1, 0x14 /* 801E4814 001E1774 48 12 DD D9 */ bl __ct__9CRandom16FUi /* 801E4818 001E1778 38 61 00 14 */ addi r3, r1, 0x14 /* 801E481C 001E177C 48 12 DC C1 */ bl Float__9CRandom16Fv /* 801E4820 001E1780 38 7D FF FF */ addi r3, r29, -1 /* 801E4824 001E1784 3C 00 43 30 */ lis r0, 0x4330 /* 801E4828 001E1788 6C 64 80 00 */ xoris r4, r3, 0x8000 /* 801E482C 001E178C 90 01 00 C8 */ stw r0, 0xc8(r1) /* 801E4830 001E1790 C8 42 AD 88 */ lfd f2, lbl_805ACAA8@sda21(r2) /* 801E4834 001E1794 7F C3 F3 78 */ mr r3, r30 /* 801E4838 001E1798 90 81 00 CC */ stw r4, 0xcc(r1) /* 801E483C 001E179C 38 81 00 44 */ addi r4, r1, 0x44 /* 801E4840 001E17A0 C0 BA 00 F4 */ lfs f5, 0xf4(r26) /* 801E4844 001E17A4 C8 01 00 C8 */ lfd f0, 0xc8(r1) /* 801E4848 001E17A8 C0 7A 00 F0 */ lfs f3, 0xf0(r26) /* 801E484C 001E17AC EC 00 10 28 */ fsubs f0, f0, f2 /* 801E4850 001E17B0 C0 5A 00 EC */ lfs f2, 0xec(r26) /* 801E4854 001E17B4 EC 01 00 32 */ fmuls f0, f1, f0 /* 801E4858 001E17B8 FC 00 00 1E */ fctiwz f0, f0 /* 801E485C 001E17BC D8 01 00 D0 */ stfd f0, 0xd0(r1) /* 801E4860 001E17C0 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801E4864 001E17C4 1C 00 00 0C */ mulli r0, r0, 0xc /* 801E4868 001E17C8 7C BB 02 14 */ add r5, r27, r0 /* 801E486C 001E17CC C0 85 00 08 */ lfs f4, 8(r5) /* 801E4870 001E17D0 C0 25 00 04 */ lfs f1, 4(r5) /* 801E4874 001E17D4 C0 05 00 00 */ lfs f0, 0(r5) /* 801E4878 001E17D8 EC 85 01 32 */ fmuls f4, f5, f4 /* 801E487C 001E17DC EC 23 00 72 */ fmuls f1, f3, f1 /* 801E4880 001E17E0 EC 02 00 32 */ fmuls f0, f2, f0 /* 801E4884 001E17E4 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 801E4888 001E17E8 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801E488C 001E17EC D0 21 00 48 */ stfs f1, 0x48(r1) /* 801E4890 001E17F0 81 9E 00 00 */ lwz r12, 0(r30) /* 801E4894 001E17F4 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801E4898 001E17F8 7D 89 03 A6 */ mtctr r12 /* 801E489C 001E17FC 4E 80 04 21 */ bctrl lbl_801E48A0: /* 801E48A0 001E1800 3B 39 00 01 */ addi r25, r25, 1 /* 801E48A4 001E1804 3B 18 00 0C */ addi r24, r24, 0xc /* 801E48A8 001E1808 2C 19 00 08 */ cmpwi r25, 8 /* 801E48AC 001E180C 41 80 FF 54 */ blt lbl_801E4800 /* 801E48B0 001E1810 80 1A 00 84 */ lwz r0, 0x84(r26) /* 801E48B4 001E1814 2C 00 00 00 */ cmpwi r0, 0 /* 801E48B8 001E1818 40 81 01 90 */ ble lbl_801E4A48 /* 801E48BC 001E181C 80 9A 00 88 */ lwz r4, 0x88(r26) /* 801E48C0 001E1820 38 61 00 10 */ addi r3, r1, 0x10 /* 801E48C4 001E1824 48 12 DD 29 */ bl __ct__9CRandom16FUi /* 801E48C8 001E1828 80 7A 00 84 */ lwz r3, 0x84(r26) /* 801E48CC 001E182C 80 0D 92 2C */ lwz r0, lbl_805A7DEC@sda21(r13) /* 801E48D0 001E1830 7C 03 00 00 */ cmpw r3, r0 /* 801E48D4 001E1834 40 80 00 0C */ bge lbl_801E48E0 /* 801E48D8 001E1838 38 7A 00 84 */ addi r3, r26, 0x84 /* 801E48DC 001E183C 48 00 00 08 */ b lbl_801E48E4 lbl_801E48E0: /* 801E48E0 001E1840 38 6D 92 2C */ addi r3, r13, lbl_805A7DEC@sda21 lbl_801E48E4: /* 801E48E4 001E1844 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 801E48E8 001E1848 83 E3 00 00 */ lwz r31, 0(r3) /* 801E48EC 001E184C 80 7A 00 80 */ lwz r3, 0x80(r26) /* 801E48F0 001E1850 3B 24 66 F4 */ addi r25, r4, lbl_805A66F4@l /* 801E48F4 001E1854 C3 E2 AD 80 */ lfs f31, lbl_805ACAA0@sda21(r2) /* 801E48F8 001E1858 3B C0 00 00 */ li r30, 0 /* 801E48FC 001E185C 48 00 01 2C */ b lbl_801E4A28 lbl_801E4900: /* 801E4900 001E1860 7F 64 DB 78 */ mr r4, r27 /* 801E4904 001E1864 7F A5 EB 78 */ mr r5, r29 /* 801E4908 001E1868 38 C1 00 10 */ addi r6, r1, 0x10 /* 801E490C 001E186C 48 00 04 45 */ bl GetNextBestPt__FiPC9CVector3fiR9CRandom16 /* 801E4910 001E1870 7C 77 1B 78 */ mr r23, r3 /* 801E4914 001E1874 C0 BA 00 F4 */ lfs f5, 0xf4(r26) /* 801E4918 001E1878 1F 17 00 0C */ mulli r24, r23, 0xc /* 801E491C 001E187C C0 7A 00 F0 */ lfs f3, 0xf0(r26) /* 801E4920 001E1880 C0 3A 00 EC */ lfs f1, 0xec(r26) /* 801E4924 001E1884 38 81 00 38 */ addi r4, r1, 0x38 /* 801E4928 001E1888 7C 7B C2 14 */ add r3, r27, r24 /* 801E492C 001E188C C0 83 00 08 */ lfs f4, 8(r3) /* 801E4930 001E1890 C0 43 00 04 */ lfs f2, 4(r3) /* 801E4934 001E1894 C0 03 00 00 */ lfs f0, 0(r3) /* 801E4938 001E1898 EC 85 01 32 */ fmuls f4, f5, f4 /* 801E493C 001E189C EC 43 00 B2 */ fmuls f2, f3, f2 /* 801E4940 001E18A0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801E4944 001E18A4 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801E4948 001E18A8 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801E494C 001E18AC D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801E4950 001E18B0 80 7A 00 7C */ lwz r3, 0x7c(r26) /* 801E4954 001E18B4 81 83 00 00 */ lwz r12, 0(r3) /* 801E4958 001E18B8 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801E495C 001E18BC 7D 89 03 A6 */ mtctr r12 /* 801E4960 001E18C0 4E 80 04 21 */ bctrl /* 801E4964 001E18C4 7C 9C C2 14 */ add r4, r28, r24 /* 801E4968 001E18C8 38 61 00 5C */ addi r3, r1, 0x5c /* 801E496C 001E18CC C0 04 00 08 */ lfs f0, 8(r4) /* 801E4970 001E18D0 C0 24 00 00 */ lfs f1, 0(r4) /* 801E4974 001E18D4 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801E4978 001E18D8 C0 04 00 04 */ lfs f0, 4(r4) /* 801E497C 001E18DC D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801E4980 001E18E0 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801E4984 001E18E4 D3 E1 00 64 */ stfs f31, 0x64(r1) /* 801E4988 001E18E8 48 12 FD 71 */ bl CanBeNormalized__9CVector3fCFv /* 801E498C 001E18EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E4990 001E18F0 41 82 00 84 */ beq lbl_801E4A14 /* 801E4994 001E18F4 38 61 00 5C */ addi r3, r1, 0x5c /* 801E4998 001E18F8 48 12 FF 61 */ bl Normalize__9CVector3fFv /* 801E499C 001E18FC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 801E49A0 001E1900 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E49A4 001E1904 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l /* 801E49A8 001E1908 C0 81 00 60 */ lfs f4, 0x60(r1) /* 801E49AC 001E190C C0 46 00 00 */ lfs f2, 0(r6) /* 801E49B0 001E1910 38 E3 66 A0 */ addi r7, r3, skZero3f@l /* 801E49B4 001E1914 C0 A1 00 64 */ lfs f5, 0x64(r1) /* 801E49B8 001E1918 38 61 00 98 */ addi r3, r1, 0x98 /* 801E49BC 001E191C EC 02 01 32 */ fmuls f0, f2, f4 /* 801E49C0 001E1920 C0 D9 00 04 */ lfs f6, 4(r25) /* 801E49C4 001E1924 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801E49C8 001E1928 38 81 00 2C */ addi r4, r1, 0x2c /* 801E49CC 001E192C C0 F9 00 08 */ lfs f7, 8(r25) /* 801E49D0 001E1930 EC 66 01 72 */ fmuls f3, f6, f5 /* 801E49D4 001E1934 EC 01 01 B8 */ fmsubs f0, f1, f6, f0 /* 801E49D8 001E1938 38 A1 00 5C */ addi r5, r1, 0x5c /* 801E49DC 001E193C EC 27 00 72 */ fmuls f1, f7, f1 /* 801E49E0 001E1940 EC 64 19 F8 */ fmsubs f3, f4, f7, f3 /* 801E49E4 001E1944 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801E49E8 001E1948 EC 05 08 B8 */ fmsubs f0, f5, f2, f1 /* 801E49EC 001E194C D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801E49F0 001E1950 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801E49F4 001E1954 83 1A 00 7C */ lwz r24, 0x7c(r26) /* 801E49F8 001E1958 48 12 E4 65 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 /* 801E49FC 001E195C 7F 03 C3 78 */ mr r3, r24 /* 801E4A00 001E1960 38 81 00 98 */ addi r4, r1, 0x98 /* 801E4A04 001E1964 81 98 00 00 */ lwz r12, 0(r24) /* 801E4A08 001E1968 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801E4A0C 001E196C 7D 89 03 A6 */ mtctr r12 /* 801E4A10 001E1970 4E 80 04 21 */ bctrl lbl_801E4A14: /* 801E4A14 001E1974 80 7A 00 7C */ lwz r3, 0x7c(r26) /* 801E4A18 001E1978 38 80 00 01 */ li r4, 1 /* 801E4A1C 001E197C 48 13 7E A5 */ bl ForceParticleCreation__11CElementGenFi /* 801E4A20 001E1980 7E E3 BB 78 */ mr r3, r23 /* 801E4A24 001E1984 3B DE 00 01 */ addi r30, r30, 1 lbl_801E4A28: /* 801E4A28 001E1988 7C 1E F8 00 */ cmpw r30, r31 /* 801E4A2C 001E198C 41 80 FE D4 */ blt lbl_801E4900 /* 801E4A30 001E1990 80 1A 00 84 */ lwz r0, 0x84(r26) /* 801E4A34 001E1994 7C 1F 00 50 */ subf r0, r31, r0 /* 801E4A38 001E1998 90 1A 00 84 */ stw r0, 0x84(r26) /* 801E4A3C 001E199C 80 01 00 10 */ lwz r0, 0x10(r1) /* 801E4A40 001E19A0 90 1A 00 88 */ stw r0, 0x88(r26) /* 801E4A44 001E19A4 90 7A 00 80 */ stw r3, 0x80(r26) lbl_801E4A48: /* 801E4A48 001E19A8 80 1A 00 B0 */ lwz r0, 0xb0(r26) /* 801E4A4C 001E19AC 2C 00 FF FF */ cmpwi r0, -1 /* 801E4A50 001E19B0 41 82 01 48 */ beq lbl_801E4B98 /* 801E4A54 001E19B4 80 9A 00 B4 */ lwz r4, 0xb4(r26) /* 801E4A58 001E19B8 38 61 00 0C */ addi r3, r1, 0xc /* 801E4A5C 001E19BC 48 12 DB 91 */ bl __ct__9CRandom16FUi /* 801E4A60 001E19C0 80 7A 01 28 */ lwz r3, 0x128(r26) /* 801E4A64 001E19C4 4B FF F3 25 */ bl MakeIceGen__20CActorModelParticlesFv /* 801E4A68 001E19C8 38 9A 00 F8 */ addi r4, r26, 0xf8 /* 801E4A6C 001E19CC 7C 77 1B 78 */ mr r23, r3 /* 801E4A70 001E19D0 48 13 A1 15 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f /* 801E4A74 001E19D4 80 7A 00 B0 */ lwz r3, 0xb0(r26) /* 801E4A78 001E19D8 7F 64 DB 78 */ mr r4, r27 /* 801E4A7C 001E19DC 7F A5 EB 78 */ mr r5, r29 /* 801E4A80 001E19E0 38 C1 00 0C */ addi r6, r1, 0xc /* 801E4A84 001E19E4 48 00 02 CD */ bl GetNextBestPt__FiPC9CVector3fiR9CRandom16 /* 801E4A88 001E19E8 7C 7E 1B 78 */ mr r30, r3 /* 801E4A8C 001E19EC C0 BA 00 F4 */ lfs f5, 0xf4(r26) /* 801E4A90 001E19F0 1F 1E 00 0C */ mulli r24, r30, 0xc /* 801E4A94 001E19F4 C0 7A 00 F0 */ lfs f3, 0xf0(r26) /* 801E4A98 001E19F8 C0 3A 00 EC */ lfs f1, 0xec(r26) /* 801E4A9C 001E19FC 7E E3 BB 78 */ mr r3, r23 /* 801E4AA0 001E1A00 38 81 00 20 */ addi r4, r1, 0x20 /* 801E4AA4 001E1A04 7C BB C2 14 */ add r5, r27, r24 /* 801E4AA8 001E1A08 C0 85 00 08 */ lfs f4, 8(r5) /* 801E4AAC 001E1A0C C0 45 00 04 */ lfs f2, 4(r5) /* 801E4AB0 001E1A10 7C 1B C4 2E */ lfsx f0, r27, r24 /* 801E4AB4 001E1A14 EC 85 01 32 */ fmuls f4, f5, f4 /* 801E4AB8 001E1A18 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801E4ABC 001E1A1C EC 01 00 32 */ fmuls f0, f1, f0 /* 801E4AC0 001E1A20 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801E4AC4 001E1A24 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801E4AC8 001E1A28 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801E4ACC 001E1A2C 81 97 00 00 */ lwz r12, 0(r23) /* 801E4AD0 001E1A30 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801E4AD4 001E1A34 7D 89 03 A6 */ mtctr r12 /* 801E4AD8 001E1A38 4E 80 04 21 */ bctrl /* 801E4ADC 001E1A3C 38 61 00 50 */ addi r3, r1, 0x50 /* 801E4AE0 001E1A40 7C 9C C2 14 */ add r4, r28, r24 /* 801E4AE4 001E1A44 48 12 F2 ED */ bl __ct__11CUnitVectorFRC9CVector3f /* 801E4AE8 001E1A48 38 61 00 68 */ addi r3, r1, 0x68 /* 801E4AEC 001E1A4C 38 81 00 50 */ addi r4, r1, 0x50 /* 801E4AF0 001E1A50 48 12 EE E9 */ bl MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f /* 801E4AF4 001E1A54 7E E3 BB 78 */ mr r3, r23 /* 801E4AF8 001E1A58 38 81 00 68 */ addi r4, r1, 0x68 /* 801E4AFC 001E1A5C 81 97 00 00 */ lwz r12, 0(r23) /* 801E4B00 001E1A60 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801E4B04 001E1A64 7D 89 03 A6 */ mtctr r12 /* 801E4B08 001E1A68 4E 80 04 21 */ bctrl /* 801E4B0C 001E1A6C 80 1A 00 8C */ lwz r0, 0x8c(r26) /* 801E4B10 001E1A70 7C 77 00 D0 */ neg r3, r23 /* 801E4B14 001E1A74 7C 63 BB 78 */ or r3, r3, r23 /* 801E4B18 001E1A78 92 E1 00 1C */ stw r23, 0x1c(r1) /* 801E4B1C 001E1A7C 54 00 18 38 */ slwi r0, r0, 3 /* 801E4B20 001E1A80 7C 9A 02 14 */ add r4, r26, r0 /* 801E4B24 001E1A84 54 60 0F FE */ srwi r0, r3, 0x1f /* 801E4B28 001E1A88 34 84 00 90 */ addic. r4, r4, 0x90 /* 801E4B2C 001E1A8C 98 01 00 18 */ stb r0, 0x18(r1) /* 801E4B30 001E1A90 41 82 00 14 */ beq lbl_801E4B44 /* 801E4B34 001E1A94 98 04 00 00 */ stb r0, 0(r4) /* 801E4B38 001E1A98 38 00 00 00 */ li r0, 0 /* 801E4B3C 001E1A9C 92 E4 00 04 */ stw r23, 4(r4) /* 801E4B40 001E1AA0 98 01 00 18 */ stb r0, 0x18(r1) lbl_801E4B44: /* 801E4B44 001E1AA4 80 7A 00 8C */ lwz r3, 0x8c(r26) /* 801E4B48 001E1AA8 88 01 00 18 */ lbz r0, 0x18(r1) /* 801E4B4C 001E1AAC 38 63 00 01 */ addi r3, r3, 1 /* 801E4B50 001E1AB0 28 00 00 00 */ cmplwi r0, 0 /* 801E4B54 001E1AB4 90 7A 00 8C */ stw r3, 0x8c(r26) /* 801E4B58 001E1AB8 41 82 00 24 */ beq lbl_801E4B7C /* 801E4B5C 001E1ABC 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801E4B60 001E1AC0 28 03 00 00 */ cmplwi r3, 0 /* 801E4B64 001E1AC4 41 82 00 18 */ beq lbl_801E4B7C /* 801E4B68 001E1AC8 81 83 00 00 */ lwz r12, 0(r3) /* 801E4B6C 001E1ACC 38 80 00 01 */ li r4, 1 /* 801E4B70 001E1AD0 81 8C 00 08 */ lwz r12, 8(r12) /* 801E4B74 001E1AD4 7D 89 03 A6 */ mtctr r12 /* 801E4B78 001E1AD8 4E 80 04 21 */ bctrl lbl_801E4B7C: /* 801E4B7C 001E1ADC 80 1A 00 8C */ lwz r0, 0x8c(r26) /* 801E4B80 001E1AE0 2C 00 00 04 */ cmpwi r0, 4 /* 801E4B84 001E1AE4 40 82 00 10 */ bne lbl_801E4B94 /* 801E4B88 001E1AE8 38 00 FF FF */ li r0, -1 /* 801E4B8C 001E1AEC 90 1A 00 B0 */ stw r0, 0xb0(r26) /* 801E4B90 001E1AF0 48 00 00 08 */ b lbl_801E4B98 lbl_801E4B94: /* 801E4B94 001E1AF4 93 DA 00 B0 */ stw r30, 0xb0(r26) lbl_801E4B98: /* 801E4B98 001E1AF8 80 7A 00 C4 */ lwz r3, 0xc4(r26) /* 801E4B9C 001E1AFC 28 03 00 00 */ cmplwi r3, 0 /* 801E4BA0 001E1B00 41 82 01 6C */ beq lbl_801E4D0C /* 801E4BA4 001E1B04 81 83 00 00 */ lwz r12, 0(r3) /* 801E4BA8 001E1B08 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801E4BAC 001E1B0C 7D 89 03 A6 */ mtctr r12 /* 801E4BB0 001E1B10 4E 80 04 21 */ bctrl /* 801E4BB4 001E1B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E4BB8 001E1B18 41 82 01 54 */ beq lbl_801E4D0C /* 801E4BBC 001E1B1C 80 9A 00 CC */ lwz r4, 0xcc(r26) /* 801E4BC0 001E1B20 38 61 00 08 */ addi r3, r1, 8 /* 801E4BC4 001E1B24 48 12 DA 29 */ bl __ct__9CRandom16FUi /* 801E4BC8 001E1B28 80 6D 92 34 */ lwz r3, lbl_805A7DF4@sda21(r13) /* 801E4BCC 001E1B2C 38 8D 92 30 */ addi r4, r13, lbl_805A7DF0@sda21 /* 801E4BD0 001E1B30 80 0D 92 30 */ lwz r0, lbl_805A7DF0@sda21(r13) /* 801E4BD4 001E1B34 7C 03 00 00 */ cmpw r3, r0 /* 801E4BD8 001E1B38 40 80 00 08 */ bge lbl_801E4BE0 /* 801E4BDC 001E1B3C 38 8D 92 34 */ addi r4, r13, lbl_805A7DF4@sda21 lbl_801E4BE0: /* 801E4BE0 001E1B40 83 C4 00 00 */ lwz r30, 0(r4) /* 801E4BE4 001E1B44 3B E0 00 00 */ li r31, 0 /* 801E4BE8 001E1B48 80 7A 00 C8 */ lwz r3, 0xc8(r26) /* 801E4BEC 001E1B4C 48 00 01 0C */ b lbl_801E4CF8 lbl_801E4BF0: /* 801E4BF0 001E1B50 38 61 00 08 */ addi r3, r1, 8 /* 801E4BF4 001E1B54 38 BD FF FF */ addi r5, r29, -1 /* 801E4BF8 001E1B58 38 80 00 00 */ li r4, 0 /* 801E4BFC 001E1B5C 48 12 D9 99 */ bl Range__9CRandom16Fii /* 801E4C00 001E1B60 1C 63 00 0C */ mulli r3, r3, 0xc /* 801E4C04 001E1B64 80 9A 00 C4 */ lwz r4, 0xc4(r26) /* 801E4C08 001E1B68 C0 9A 00 F4 */ lfs f4, 0xf4(r26) /* 801E4C0C 001E1B6C 88 04 01 84 */ lbz r0, 0x184(r4) /* 801E4C10 001E1B70 7C 7B 1A 14 */ add r3, r27, r3 /* 801E4C14 001E1B74 C0 7A 00 F0 */ lfs f3, 0xf0(r26) /* 801E4C18 001E1B78 C0 03 00 08 */ lfs f0, 8(r3) /* 801E4C1C 001E1B7C 28 00 00 00 */ cmplwi r0, 0 /* 801E4C20 001E1B80 C0 43 00 04 */ lfs f2, 4(r3) /* 801E4C24 001E1B84 C0 3A 00 EC */ lfs f1, 0xec(r26) /* 801E4C28 001E1B88 EC 84 00 32 */ fmuls f4, f4, f0 /* 801E4C2C 001E1B8C C0 03 00 00 */ lfs f0, 0(r3) /* 801E4C30 001E1B90 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801E4C34 001E1B94 EC 01 00 32 */ fmuls f0, f1, f0 /* 801E4C38 001E1B98 40 82 00 24 */ bne lbl_801E4C5C /* 801E4C3C 001E1B9C 34 64 01 78 */ addic. r3, r4, 0x178 /* 801E4C40 001E1BA0 41 82 00 10 */ beq lbl_801E4C50 /* 801E4C44 001E1BA4 D0 03 00 00 */ stfs f0, 0(r3) /* 801E4C48 001E1BA8 D0 43 00 04 */ stfs f2, 4(r3) /* 801E4C4C 001E1BAC D0 83 00 08 */ stfs f4, 8(r3) lbl_801E4C50: /* 801E4C50 001E1BB0 38 00 00 01 */ li r0, 1 /* 801E4C54 001E1BB4 98 04 01 84 */ stb r0, 0x184(r4) /* 801E4C58 001E1BB8 48 00 00 10 */ b lbl_801E4C68 lbl_801E4C5C: /* 801E4C5C 001E1BBC D0 04 01 78 */ stfs f0, 0x178(r4) /* 801E4C60 001E1BC0 D0 44 01 7C */ stfs f2, 0x17c(r4) /* 801E4C64 001E1BC4 D0 84 01 80 */ stfs f4, 0x180(r4) lbl_801E4C68: /* 801E4C68 001E1BC8 38 61 00 08 */ addi r3, r1, 8 /* 801E4C6C 001E1BCC 38 BD FF FF */ addi r5, r29, -1 /* 801E4C70 001E1BD0 38 80 00 00 */ li r4, 0 /* 801E4C74 001E1BD4 48 12 D9 21 */ bl Range__9CRandom16Fii /* 801E4C78 001E1BD8 7C 77 1B 78 */ mr r23, r3 /* 801E4C7C 001E1BDC 80 9A 00 C4 */ lwz r4, 0xc4(r26) /* 801E4C80 001E1BE0 1C 77 00 0C */ mulli r3, r23, 0xc /* 801E4C84 001E1BE4 C0 BA 00 F4 */ lfs f5, 0xf4(r26) /* 801E4C88 001E1BE8 88 04 01 A4 */ lbz r0, 0x1a4(r4) /* 801E4C8C 001E1BEC C0 7A 00 F0 */ lfs f3, 0xf0(r26) /* 801E4C90 001E1BF0 7C 7B 1A 14 */ add r3, r27, r3 /* 801E4C94 001E1BF4 C0 3A 00 EC */ lfs f1, 0xec(r26) /* 801E4C98 001E1BF8 C0 83 00 08 */ lfs f4, 8(r3) /* 801E4C9C 001E1BFC 28 00 00 00 */ cmplwi r0, 0 /* 801E4CA0 001E1C00 C0 43 00 04 */ lfs f2, 4(r3) /* 801E4CA4 001E1C04 C0 03 00 00 */ lfs f0, 0(r3) /* 801E4CA8 001E1C08 EC 85 01 32 */ fmuls f4, f5, f4 /* 801E4CAC 001E1C0C EC 43 00 B2 */ fmuls f2, f3, f2 /* 801E4CB0 001E1C10 EC 01 00 32 */ fmuls f0, f1, f0 /* 801E4CB4 001E1C14 40 82 00 24 */ bne lbl_801E4CD8 /* 801E4CB8 001E1C18 34 64 01 98 */ addic. r3, r4, 0x198 /* 801E4CBC 001E1C1C 41 82 00 10 */ beq lbl_801E4CCC /* 801E4CC0 001E1C20 D0 03 00 00 */ stfs f0, 0(r3) /* 801E4CC4 001E1C24 D0 43 00 04 */ stfs f2, 4(r3) /* 801E4CC8 001E1C28 D0 83 00 08 */ stfs f4, 8(r3) lbl_801E4CCC: /* 801E4CCC 001E1C2C 38 00 00 01 */ li r0, 1 /* 801E4CD0 001E1C30 98 04 01 A4 */ stb r0, 0x1a4(r4) /* 801E4CD4 001E1C34 48 00 00 10 */ b lbl_801E4CE4 lbl_801E4CD8: /* 801E4CD8 001E1C38 D0 04 01 98 */ stfs f0, 0x198(r4) /* 801E4CDC 001E1C3C D0 44 01 9C */ stfs f2, 0x19c(r4) /* 801E4CE0 001E1C40 D0 84 01 A0 */ stfs f4, 0x1a0(r4) lbl_801E4CE4: /* 801E4CE4 001E1C44 80 7A 00 C4 */ lwz r3, 0xc4(r26) /* 801E4CE8 001E1C48 38 80 00 01 */ li r4, 1 /* 801E4CEC 001E1C4C 48 17 A2 51 */ bl ForceParticleCreation__17CParticleElectricFi /* 801E4CF0 001E1C50 7E E3 BB 78 */ mr r3, r23 /* 801E4CF4 001E1C54 3B FF 00 01 */ addi r31, r31, 1 lbl_801E4CF8: /* 801E4CF8 001E1C58 7C 1F F0 00 */ cmpw r31, r30 /* 801E4CFC 001E1C5C 41 80 FE F4 */ blt lbl_801E4BF0 /* 801E4D00 001E1C60 80 01 00 08 */ lwz r0, 8(r1) /* 801E4D04 001E1C64 90 1A 00 CC */ stw r0, 0xcc(r26) /* 801E4D08 001E1C68 90 7A 00 C8 */ stw r3, 0xc8(r26) lbl_801E4D0C: /* 801E4D0C 001E1C6C 80 7A 00 D8 */ lwz r3, 0xd8(r26) /* 801E4D10 001E1C70 28 03 00 00 */ cmplwi r3, 0 /* 801E4D14 001E1C74 41 82 00 14 */ beq lbl_801E4D28 /* 801E4D18 001E1C78 7F 64 DB 78 */ mr r4, r27 /* 801E4D1C 001E1C7C 7F 85 E3 78 */ mr r5, r28 /* 801E4D20 001E1C80 7F A6 EB 78 */ mr r6, r29 /* 801E4D24 001E1C84 48 08 58 BD */ bl GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi lbl_801E4D28: /* 801E4D28 001E1C88 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801E4D2C 001E1C8C CB E1 01 00 */ lfd f31, 0x100(r1) /* 801E4D30 001E1C90 BA E1 00 DC */ lmw r23, 0xdc(r1) /* 801E4D34 001E1C94 80 01 01 14 */ lwz r0, 0x114(r1) /* 801E4D38 001E1C98 7C 08 03 A6 */ mtlr r0 /* 801E4D3C 001E1C9C 38 21 01 10 */ addi r1, r1, 0x110 /* 801E4D40 001E1CA0 4E 80 00 20 */ blr .global GetParticleEmission__17CParticleElectricFv GetParticleEmission__17CParticleElectricFv: /* 801E4D44 001E1CA4 88 03 04 50 */ lbz r0, 0x450(r3) /* 801E4D48 001E1CA8 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801E4D4C 001E1CAC 4E 80 00 20 */ blr .global GetNextBestPt__FiPC9CVector3fiR9CRandom16 GetNextBestPt__FiPC9CVector3fiR9CRandom16: /* 801E4D50 001E1CB0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E4D54 001E1CB4 7C 08 02 A6 */ mflr r0 /* 801E4D58 001E1CB8 90 01 00 44 */ stw r0, 0x44(r1) /* 801E4D5C 001E1CBC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801E4D60 001E1CC0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801E4D64 001E1CC4 BF 41 00 18 */ stmw r26, 0x18(r1) /* 801E4D68 001E1CC8 1C 03 00 0C */ mulli r0, r3, 0xc /* 801E4D6C 001E1CCC 7C 9A 23 78 */ mr r26, r4 /* 801E4D70 001E1CD0 C3 E2 AD 80 */ lfs f31, lbl_805ACAA0@sda21(r2) /* 801E4D74 001E1CD4 7C BB 2B 78 */ mr r27, r5 /* 801E4D78 001E1CD8 7C DC 33 78 */ mr r28, r6 /* 801E4D7C 001E1CDC 7C 7F 1B 78 */ mr r31, r3 /* 801E4D80 001E1CE0 3B A0 00 00 */ li r29, 0 /* 801E4D84 001E1CE4 7F DA 02 14 */ add r30, r26, r0 lbl_801E4D88: /* 801E4D88 001E1CE8 7F 83 E3 78 */ mr r3, r28 /* 801E4D8C 001E1CEC 38 BB FF FF */ addi r5, r27, -1 /* 801E4D90 001E1CF0 38 80 00 00 */ li r4, 0 /* 801E4D94 001E1CF4 48 12 D8 01 */ bl Range__9CRandom16Fii /* 801E4D98 001E1CF8 1C 03 00 0C */ mulli r0, r3, 0xc /* 801E4D9C 001E1CFC C0 7E 00 04 */ lfs f3, 4(r30) /* 801E4DA0 001E1D00 C0 3E 00 00 */ lfs f1, 0(r30) /* 801E4DA4 001E1D04 C0 9E 00 08 */ lfs f4, 8(r30) /* 801E4DA8 001E1D08 7C 9A 02 14 */ add r4, r26, r0 /* 801E4DAC 001E1D0C C0 44 00 04 */ lfs f2, 4(r4) /* 801E4DB0 001E1D10 C0 04 00 00 */ lfs f0, 0(r4) /* 801E4DB4 001E1D14 EC A3 10 28 */ fsubs f5, f3, f2 /* 801E4DB8 001E1D18 C0 44 00 08 */ lfs f2, 8(r4) /* 801E4DBC 001E1D1C EC 61 00 28 */ fsubs f3, f1, f0 /* 801E4DC0 001E1D20 EC 84 10 28 */ fsubs f4, f4, f2 /* 801E4DC4 001E1D24 EC 05 01 72 */ fmuls f0, f5, f5 /* 801E4DC8 001E1D28 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801E4DCC 001E1D2C EC 23 00 F2 */ fmuls f1, f3, f3 /* 801E4DD0 001E1D30 EC 44 01 32 */ fmuls f2, f4, f4 /* 801E4DD4 001E1D34 D0 61 00 08 */ stfs f3, 8(r1) /* 801E4DD8 001E1D38 EC 01 00 2A */ fadds f0, f1, f0 /* 801E4DDC 001E1D3C D0 81 00 10 */ stfs f4, 0x10(r1) /* 801E4DE0 001E1D40 EC 02 00 2A */ fadds f0, f2, f0 /* 801E4DE4 001E1D44 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801E4DE8 001E1D48 40 81 00 0C */ ble lbl_801E4DF4 /* 801E4DEC 001E1D4C 7C 7F 1B 78 */ mr r31, r3 /* 801E4DF0 001E1D50 FF E0 00 90 */ fmr f31, f0 lbl_801E4DF4: /* 801E4DF4 001E1D54 3B BD 00 01 */ addi r29, r29, 1 /* 801E4DF8 001E1D58 2C 1D 00 0A */ cmpwi r29, 0xa /* 801E4DFC 001E1D5C 41 80 FF 8C */ blt lbl_801E4D88 /* 801E4E00 001E1D60 7F E3 FB 78 */ mr r3, r31 /* 801E4E04 001E1D64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801E4E08 001E1D68 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801E4E0C 001E1D6C BB 41 00 18 */ lmw r26, 0x18(r1) /* 801E4E10 001E1D70 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E4E14 001E1D74 7C 08 03 A6 */ mtlr r0 /* 801E4E18 001E1D78 38 21 00 40 */ addi r1, r1, 0x40 /* 801E4E1C 001E1D7C 4E 80 00 20 */ blr .global PointGenerator__20CActorModelParticlesFUiPC9CVector3fPC9CVector3fi PointGenerator__20CActorModelParticlesFUiPC9CVector3fPC9CVector3fi: /* 801E4E20 001E1D80 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E4E24 001E1D84 7C 08 02 A6 */ mflr r0 /* 801E4E28 001E1D88 90 01 00 14 */ stw r0, 0x14(r1) /* 801E4E2C 001E1D8C 4B FF F9 A5 */ bl GeneratePoints__Q220CActorModelParticles5CItemFPC9CVector3fPC9CVector3fi /* 801E4E30 001E1D90 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E4E34 001E1D94 7C 08 03 A6 */ mtlr r0 /* 801E4E38 001E1D98 38 21 00 10 */ addi r1, r1, 0x10 /* 801E4E3C 001E1D9C 4E 80 00 20 */ blr .global RemoveRainSplashGenerator__20CActorModelParticlesFR6CActor RemoveRainSplashGenerator__20CActorModelParticlesFR6CActor: /* 801E4E40 001E1DA0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E4E44 001E1DA4 7C 08 02 A6 */ mflr r0 /* 801E4E48 001E1DA8 7C 85 23 78 */ mr r5, r4 /* 801E4E4C 001E1DAC 7C 64 1B 78 */ mr r4, r3 /* 801E4E50 001E1DB0 90 01 00 24 */ stw r0, 0x24(r1) /* 801E4E54 001E1DB4 38 61 00 08 */ addi r3, r1, 8 /* 801E4E58 001E1DB8 4B FF F4 CD */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E4E5C 001E1DBC 80 61 00 08 */ lwz r3, 8(r1) /* 801E4E60 001E1DC0 80 03 00 E0 */ lwz r0, 0xe0(r3) /* 801E4E64 001E1DC4 28 00 00 00 */ cmplwi r0, 0 /* 801E4E68 001E1DC8 41 82 00 28 */ beq lbl_801E4E90 /* 801E4E6C 001E1DCC 38 00 00 00 */ li r0, 0 /* 801E4E70 001E1DD0 38 63 00 DC */ addi r3, r3, 0xdc /* 801E4E74 001E1DD4 98 01 00 0C */ stb r0, 0xc(r1) /* 801E4E78 001E1DD8 38 81 00 0C */ addi r4, r1, 0xc /* 801E4E7C 001E1DDC 90 01 00 10 */ stw r0, 0x10(r1) /* 801E4E80 001E1DE0 48 00 00 21 */ bl "__as__Q24rstl32auto_ptr<20CRainSplashGenerator>FRCQ24rstl32auto_ptr<20CRainSplashGenerator>" /* 801E4E84 001E1DE4 38 61 00 0C */ addi r3, r1, 0xc /* 801E4E88 001E1DE8 38 80 FF FF */ li r4, -1 /* 801E4E8C 001E1DEC 4B FF F8 81 */ bl "__dt__Q24rstl32auto_ptr<20CRainSplashGenerator>" lbl_801E4E90: /* 801E4E90 001E1DF0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E4E94 001E1DF4 7C 08 03 A6 */ mtlr r0 /* 801E4E98 001E1DF8 38 21 00 20 */ addi r1, r1, 0x20 /* 801E4E9C 001E1DFC 4E 80 00 20 */ blr .global "__as__Q24rstl32auto_ptr<20CRainSplashGenerator>FRCQ24rstl32auto_ptr<20CRainSplashGenerator>" "__as__Q24rstl32auto_ptr<20CRainSplashGenerator>FRCQ24rstl32auto_ptr<20CRainSplashGenerator>": /* 801E4EA0 001E1E00 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E4EA4 001E1E04 7C 08 02 A6 */ mflr r0 /* 801E4EA8 001E1E08 90 01 00 14 */ stw r0, 0x14(r1) /* 801E4EAC 001E1E0C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E4EB0 001E1E10 7C 9F 23 78 */ mr r31, r4 /* 801E4EB4 001E1E14 93 C1 00 08 */ stw r30, 8(r1) /* 801E4EB8 001E1E18 7C 7E 1B 78 */ mr r30, r3 /* 801E4EBC 001E1E1C 7C 1F F0 40 */ cmplw r31, r30 /* 801E4EC0 001E1E20 41 82 00 34 */ beq lbl_801E4EF4 /* 801E4EC4 001E1E24 88 1E 00 00 */ lbz r0, 0(r30) /* 801E4EC8 001E1E28 28 00 00 00 */ cmplwi r0, 0 /* 801E4ECC 001E1E2C 41 82 00 10 */ beq lbl_801E4EDC /* 801E4ED0 001E1E30 80 7E 00 04 */ lwz r3, 4(r30) /* 801E4ED4 001E1E34 38 80 00 01 */ li r4, 1 /* 801E4ED8 001E1E38 4B E5 E0 F9 */ bl __dt__20CRainSplashGeneratorFv lbl_801E4EDC: /* 801E4EDC 001E1E3C 88 7F 00 00 */ lbz r3, 0(r31) /* 801E4EE0 001E1E40 38 00 00 00 */ li r0, 0 /* 801E4EE4 001E1E44 98 7E 00 00 */ stb r3, 0(r30) /* 801E4EE8 001E1E48 80 7F 00 04 */ lwz r3, 4(r31) /* 801E4EEC 001E1E4C 90 7E 00 04 */ stw r3, 4(r30) /* 801E4EF0 001E1E50 98 1F 00 00 */ stb r0, 0(r31) lbl_801E4EF4: /* 801E4EF4 001E1E54 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E4EF8 001E1E58 7F C3 F3 78 */ mr r3, r30 /* 801E4EFC 001E1E5C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E4F00 001E1E60 83 C1 00 08 */ lwz r30, 8(r1) /* 801E4F04 001E1E64 7C 08 03 A6 */ mtlr r0 /* 801E4F08 001E1E68 38 21 00 10 */ addi r1, r1, 0x10 /* 801E4F0C 001E1E6C 4E 80 00 20 */ blr .global AddRainSplashGenerator__20CActorModelParticlesFR6CActorR13CStateManageriif AddRainSplashGenerator__20CActorModelParticlesFR6CActorR13CStateManageriif: /* 801E4F10 001E1E70 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E4F14 001E1E74 7C 08 02 A6 */ mflr r0 /* 801E4F18 001E1E78 90 01 00 44 */ stw r0, 0x44(r1) /* 801E4F1C 001E1E7C DB E1 00 30 */ stfd f31, 0x30(r1) /* 801E4F20 001E1E80 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801E4F24 001E1E84 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E4F28 001E1E88 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E4F2C 001E1E8C 93 A1 00 24 */ stw r29, 0x24(r1) /* 801E4F30 001E1E90 93 81 00 20 */ stw r28, 0x20(r1) /* 801E4F34 001E1E94 FF E0 08 90 */ fmr f31, f1 /* 801E4F38 001E1E98 7C 9C 23 78 */ mr r28, r4 /* 801E4F3C 001E1E9C 7C 64 1B 78 */ mr r4, r3 /* 801E4F40 001E1EA0 7C DD 33 78 */ mr r29, r6 /* 801E4F44 001E1EA4 7C FE 3B 78 */ mr r30, r7 /* 801E4F48 001E1EA8 7F 85 E3 78 */ mr r5, r28 /* 801E4F4C 001E1EAC 38 61 00 08 */ addi r3, r1, 8 /* 801E4F50 001E1EB0 4B FF F3 D5 */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E4F54 001E1EB4 83 E1 00 08 */ lwz r31, 8(r1) /* 801E4F58 001E1EB8 80 1F 00 E0 */ lwz r0, 0xe0(r31) /* 801E4F5C 001E1EBC 28 00 00 00 */ cmplwi r0, 0 /* 801E4F60 001E1EC0 40 82 00 BC */ bne lbl_801E501C /* 801E4F64 001E1EC4 80 9C 00 64 */ lwz r4, 0x64(r28) /* 801E4F68 001E1EC8 38 60 00 00 */ li r3, 0 /* 801E4F6C 001E1ECC 28 04 00 00 */ cmplwi r4, 0 /* 801E4F70 001E1ED0 41 82 00 20 */ beq lbl_801E4F90 /* 801E4F74 001E1ED4 80 04 00 10 */ lwz r0, 0x10(r4) /* 801E4F78 001E1ED8 28 00 00 00 */ cmplwi r0, 0 /* 801E4F7C 001E1EDC 40 82 00 10 */ bne lbl_801E4F8C /* 801E4F80 001E1EE0 88 04 00 28 */ lbz r0, 0x28(r4) /* 801E4F84 001E1EE4 28 00 00 00 */ cmplwi r0, 0 /* 801E4F88 001E1EE8 41 82 00 08 */ beq lbl_801E4F90 lbl_801E4F8C: /* 801E4F8C 001E1EEC 38 60 00 01 */ li r3, 1 lbl_801E4F90: /* 801E4F90 001E1EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E4F94 001E1EF4 41 82 00 88 */ beq lbl_801E501C /* 801E4F98 001E1EF8 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E4F9C 001E1EFC 38 60 00 4C */ li r3, 0x4c /* 801E4FA0 001E1F00 38 84 1E B0 */ addi r4, r4, lbl_803D1EB0@l /* 801E4FA4 001E1F04 38 A0 00 00 */ li r5, 0 /* 801E4FA8 001E1F08 38 84 00 5C */ addi r4, r4, 0x5c /* 801E4FAC 001E1F0C 48 13 08 C1 */ bl __nw__FUlPCcPCc /* 801E4FB0 001E1F10 7C 64 1B 79 */ or. r4, r3, r3 /* 801E4FB4 001E1F14 41 82 00 3C */ beq lbl_801E4FF0 /* 801E4FB8 001E1F18 80 FC 00 64 */ lwz r7, 0x64(r28) /* 801E4FBC 001E1F1C FC 20 F8 90 */ fmr f1, f31 /* 801E4FC0 001E1F20 C0 42 AD 90 */ lfs f2, lbl_805ACAB0@sda21(r2) /* 801E4FC4 001E1F24 7F A5 EB 78 */ mr r5, r29 /* 801E4FC8 001E1F28 C0 07 00 00 */ lfs f0, 0(r7) /* 801E4FCC 001E1F2C 7F C6 F3 78 */ mr r6, r30 /* 801E4FD0 001E1F30 38 81 00 14 */ addi r4, r1, 0x14 /* 801E4FD4 001E1F34 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E4FD8 001E1F38 C0 07 00 04 */ lfs f0, 4(r7) /* 801E4FDC 001E1F3C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801E4FE0 001E1F40 C0 07 00 08 */ lfs f0, 8(r7) /* 801E4FE4 001E1F44 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801E4FE8 001E1F48 48 08 57 51 */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff /* 801E4FEC 001E1F4C 7C 64 1B 78 */ mr r4, r3 lbl_801E4FF0: /* 801E4FF0 001E1F50 7C 04 00 D0 */ neg r0, r4 /* 801E4FF4 001E1F54 90 81 00 10 */ stw r4, 0x10(r1) /* 801E4FF8 001E1F58 7C 00 23 78 */ or r0, r0, r4 /* 801E4FFC 001E1F5C 38 7F 00 DC */ addi r3, r31, 0xdc /* 801E5000 001E1F60 54 00 0F FE */ srwi r0, r0, 0x1f /* 801E5004 001E1F64 38 81 00 0C */ addi r4, r1, 0xc /* 801E5008 001E1F68 98 01 00 0C */ stb r0, 0xc(r1) /* 801E500C 001E1F6C 4B FF FE 95 */ bl "__as__Q24rstl32auto_ptr<20CRainSplashGenerator>FRCQ24rstl32auto_ptr<20CRainSplashGenerator>" /* 801E5010 001E1F70 38 61 00 0C */ addi r3, r1, 0xc /* 801E5014 001E1F74 38 80 FF FF */ li r4, -1 /* 801E5018 001E1F78 4B FF F6 F5 */ bl "__dt__Q24rstl32auto_ptr<20CRainSplashGenerator>" lbl_801E501C: /* 801E501C 001E1F7C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801E5020 001E1F80 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E5024 001E1F84 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801E5028 001E1F88 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E502C 001E1F8C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E5030 001E1F90 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801E5034 001E1F94 83 81 00 20 */ lwz r28, 0x20(r1) /* 801E5038 001E1F98 7C 08 03 A6 */ mtlr r0 /* 801E503C 001E1F9C 38 21 00 40 */ addi r1, r1, 0x40 /* 801E5040 001E1FA0 4E 80 00 20 */ blr .global StopThermalHotParticles__20CActorModelParticlesFR5CActor StopThermalHotParticles__20CActorModelParticlesFR5CActor: /* 801E5044 001E1FA4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E5048 001E1FA8 7C 08 02 A6 */ mflr r0 /* 801E504C 001E1FAC 90 01 00 34 */ stw r0, 0x34(r1) /* 801E5050 001E1FB0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E5054 001E1FB4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E5058 001E1FB8 93 A1 00 24 */ stw r29, 0x24(r1) /* 801E505C 001E1FBC 7C 7D 1B 78 */ mr r29, r3 /* 801E5060 001E1FC0 88 04 00 E5 */ lbz r0, 0xe5(r4) /* 801E5064 001E1FC4 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801E5068 001E1FC8 41 82 00 6C */ beq lbl_801E50D4 /* 801E506C 001E1FCC A0 04 00 08 */ lhz r0, 8(r4) /* 801E5070 001E1FD0 7F A4 EB 78 */ mr r4, r29 /* 801E5074 001E1FD4 38 61 00 10 */ addi r3, r1, 0x10 /* 801E5078 001E1FD8 38 A1 00 0C */ addi r5, r1, 0xc /* 801E507C 001E1FDC B0 01 00 08 */ sth r0, 8(r1) /* 801E5080 001E1FE0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801E5084 001E1FE4 4B FF F2 31 */ bl FindSystem__20CActorModelParticlesF9TUniqueId /* 801E5088 001E1FE8 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801E508C 001E1FEC 80 1D 00 08 */ lwz r0, 8(r29) /* 801E5090 001E1FF0 7C 1E 00 40 */ cmplw r30, r0 /* 801E5094 001E1FF4 41 82 00 40 */ beq lbl_801E50D4 /* 801E5098 001E1FF8 3B A0 00 00 */ li r29, 0 /* 801E509C 001E1FFC 3B E0 00 00 */ li r31, 0 lbl_801E50A0: /* 801E50A0 001E2000 7C 7E FA 14 */ add r3, r30, r31 /* 801E50A4 001E2004 80 63 00 18 */ lwz r3, 0x18(r3) /* 801E50A8 001E2008 28 03 00 00 */ cmplwi r3, 0 /* 801E50AC 001E200C 41 82 00 18 */ beq lbl_801E50C4 /* 801E50B0 001E2010 81 83 00 00 */ lwz r12, 0(r3) /* 801E50B4 001E2014 38 80 00 00 */ li r4, 0 /* 801E50B8 001E2018 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E50BC 001E201C 7D 89 03 A6 */ mtctr r12 /* 801E50C0 001E2020 4E 80 04 21 */ bctrl lbl_801E50C4: /* 801E50C4 001E2024 3B BD 00 01 */ addi r29, r29, 1 /* 801E50C8 001E2028 3B FF 00 0C */ addi r31, r31, 0xc /* 801E50CC 001E202C 2C 1D 00 08 */ cmpwi r29, 8 /* 801E50D0 001E2030 41 80 FF D0 */ blt lbl_801E50A0 lbl_801E50D4: /* 801E50D4 001E2034 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E50D8 001E2038 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E50DC 001E203C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E50E0 001E2040 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801E50E4 001E2044 7C 08 03 A6 */ mtlr r0 /* 801E50E8 001E2048 38 21 00 30 */ addi r1, r1, 0x30 /* 801E50EC 001E204C 4E 80 00 20 */ blr .global LightDudeOnFire__20CActorModelParticlesFR5CActor LightDudeOnFire__20CActorModelParticlesFR5CActor: /* 801E50F0 001E2050 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E50F4 001E2054 7C 08 02 A6 */ mflr r0 /* 801E50F8 001E2058 7C 85 23 78 */ mr r5, r4 /* 801E50FC 001E205C 7C 64 1B 78 */ mr r4, r3 /* 801E5100 001E2060 90 01 00 24 */ stw r0, 0x24(r1) /* 801E5104 001E2064 38 61 00 08 */ addi r3, r1, 8 /* 801E5108 001E2068 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E510C 001E206C 4B FF F2 19 */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E5110 001E2070 83 E1 00 08 */ lwz r31, 8(r1) /* 801E5114 001E2074 38 80 00 00 */ li r4, 0 /* 801E5118 001E2078 38 7F 00 08 */ addi r3, r31, 8 /* 801E511C 001E207C 48 00 08 E9 */ bl EnsureLoaded__Q220CActorModelParticles5CItemFi /* 801E5120 001E2080 C0 3F 00 74 */ lfs f1, 0x74(r31) /* 801E5124 001E2084 C0 02 AD 80 */ lfs f0, lbl_805ACAA0@sda21(r2) /* 801E5128 001E2088 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E512C 001E208C 4C 40 13 82 */ cror 2, 0, 2 /* 801E5130 001E2090 40 82 00 0C */ bne lbl_801E513C /* 801E5134 001E2094 38 00 00 01 */ li r0, 1 /* 801E5138 001E2098 98 1F 00 78 */ stb r0, 0x78(r31) lbl_801E513C: /* 801E513C 001E209C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E5140 001E20A0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E5144 001E20A4 7C 08 03 A6 */ mtlr r0 /* 801E5148 001E20A8 38 21 00 20 */ addi r1, r1, 0x20 /* 801E514C 001E20AC 4E 80 00 20 */ blr .global StopElectric__20CActorModelParticlesFR5CActor StopElectric__20CActorModelParticlesFR5CActor: /* 801E5150 001E20B0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E5154 001E20B4 7C 08 02 A6 */ mflr r0 /* 801E5158 001E20B8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E515C 001E20BC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E5160 001E20C0 7C 7F 1B 78 */ mr r31, r3 /* 801E5164 001E20C4 88 04 00 E5 */ lbz r0, 0xe5(r4) /* 801E5168 001E20C8 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801E516C 001E20CC 41 82 00 50 */ beq lbl_801E51BC /* 801E5170 001E20D0 A0 04 00 08 */ lhz r0, 8(r4) /* 801E5174 001E20D4 7F E4 FB 78 */ mr r4, r31 /* 801E5178 001E20D8 38 61 00 10 */ addi r3, r1, 0x10 /* 801E517C 001E20DC 38 A1 00 0C */ addi r5, r1, 0xc /* 801E5180 001E20E0 B0 01 00 08 */ sth r0, 8(r1) /* 801E5184 001E20E4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801E5188 001E20E8 4B FF F1 2D */ bl FindSystem__20CActorModelParticlesF9TUniqueId /* 801E518C 001E20EC 80 61 00 10 */ lwz r3, 0x10(r1) /* 801E5190 001E20F0 80 1F 00 08 */ lwz r0, 8(r31) /* 801E5194 001E20F4 7C 03 00 40 */ cmplw r3, r0 /* 801E5198 001E20F8 41 82 00 24 */ beq lbl_801E51BC /* 801E519C 001E20FC 80 63 00 CC */ lwz r3, 0xcc(r3) /* 801E51A0 001E2100 28 03 00 00 */ cmplwi r3, 0 /* 801E51A4 001E2104 41 82 00 18 */ beq lbl_801E51BC /* 801E51A8 001E2108 81 83 00 00 */ lwz r12, 0(r3) /* 801E51AC 001E210C 38 80 00 00 */ li r4, 0 /* 801E51B0 001E2110 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E51B4 001E2114 7D 89 03 A6 */ mtctr r12 /* 801E51B8 001E2118 4E 80 04 21 */ bctrl lbl_801E51BC: /* 801E51BC 001E211C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E51C0 001E2120 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E51C4 001E2124 7C 08 03 A6 */ mtlr r0 /* 801E51C8 001E2128 38 21 00 20 */ addi r1, r1, 0x20 /* 801E51CC 001E212C 4E 80 00 20 */ blr .global LoadAndStartElectric__20CActorModelParticlesFR6CActor LoadAndStartElectric__20CActorModelParticlesFR6CActor: /* 801E51D0 001E2130 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E51D4 001E2134 7C 08 02 A6 */ mflr r0 /* 801E51D8 001E2138 7C 85 23 78 */ mr r5, r4 /* 801E51DC 001E213C 7C 64 1B 78 */ mr r4, r3 /* 801E51E0 001E2140 90 01 00 24 */ stw r0, 0x24(r1) /* 801E51E4 001E2144 38 61 00 08 */ addi r3, r1, 8 /* 801E51E8 001E2148 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E51EC 001E214C 4B FF F1 39 */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E51F0 001E2150 80 81 00 08 */ lwz r4, 8(r1) /* 801E51F4 001E2154 80 64 00 CC */ lwz r3, 0xcc(r4) /* 801E51F8 001E2158 28 03 00 00 */ cmplwi r3, 0 /* 801E51FC 001E215C 40 82 00 14 */ bne lbl_801E5210 /* 801E5200 001E2160 38 64 00 08 */ addi r3, r4, 8 /* 801E5204 001E2164 38 80 00 04 */ li r4, 4 /* 801E5208 001E2168 48 00 07 FD */ bl EnsureLoaded__Q220CActorModelParticles5CItemFi /* 801E520C 001E216C 48 00 00 38 */ b lbl_801E5244 lbl_801E5210: /* 801E5210 001E2170 81 83 00 00 */ lwz r12, 0(r3) /* 801E5214 001E2174 7C 7F 1B 78 */ mr r31, r3 /* 801E5218 001E2178 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801E521C 001E217C 7D 89 03 A6 */ mtctr r12 /* 801E5220 001E2180 4E 80 04 21 */ bctrl /* 801E5224 001E2184 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E5228 001E2188 40 82 00 1C */ bne lbl_801E5244 /* 801E522C 001E218C 7F E3 FB 78 */ mr r3, r31 /* 801E5230 001E2190 38 80 00 01 */ li r4, 1 /* 801E5234 001E2194 81 9F 00 00 */ lwz r12, 0(r31) /* 801E5238 001E2198 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E523C 001E219C 7D 89 03 A6 */ mtctr r12 /* 801E5240 001E21A0 4E 80 04 21 */ bctrl lbl_801E5244: /* 801E5244 001E21A4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E5248 001E21A8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E524C 001E21AC 7C 08 03 A6 */ mtlr r0 /* 801E5250 001E21B0 38 21 00 20 */ addi r1, r1, 0x20 /* 801E5254 001E21B4 4E 80 00 20 */ blr .global StartIce__20CActorModelParticlesFR6CActorR13CStateManager StartIce__20CActorModelParticlesFR6CActorR13CStateManager: /* 801E5258 001E21B8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E525C 001E21BC 7C 08 02 A6 */ mflr r0 /* 801E5260 001E21C0 7C 85 23 78 */ mr r5, r4 /* 801E5264 001E21C4 7C 64 1B 78 */ mr r4, r3 /* 801E5268 001E21C8 90 01 00 14 */ stw r0, 0x14(r1) /* 801E526C 001E21CC 38 61 00 08 */ addi r3, r1, 8 /* 801E5270 001E21D0 4B FF F0 B5 */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E5274 001E21D4 80 61 00 08 */ lwz r3, 8(r1) /* 801E5278 001E21D8 38 80 00 01 */ li r4, 1 /* 801E527C 001E21DC 38 63 00 08 */ addi r3, r3, 8 /* 801E5280 001E21E0 48 00 07 85 */ bl EnsureLoaded__Q220CActorModelParticles5CItemFi /* 801E5284 001E21E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E5288 001E21E8 7C 08 03 A6 */ mtlr r0 /* 801E528C 001E21EC 38 21 00 10 */ addi r1, r1, 0x10 /* 801E5290 001E21F0 4E 80 00 20 */ blr .global EnsureElectricLoaded__20CActorModelParticlesR5CActor EnsureElectricLoaded__20CActorModelParticlesR5CActor: /* 801E5294 001E21F4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E5298 001E21F8 7C 08 02 A6 */ mflr r0 /* 801E529C 001E21FC 7C 85 23 78 */ mr r5, r4 /* 801E52A0 001E2200 7C 64 1B 78 */ mr r4, r3 /* 801E52A4 001E2204 90 01 00 14 */ stw r0, 0x14(r1) /* 801E52A8 001E2208 38 61 00 08 */ addi r3, r1, 8 /* 801E52AC 001E220C 4B FF F0 79 */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E52B0 001E2210 80 61 00 08 */ lwz r3, 8(r1) /* 801E52B4 001E2214 38 80 00 05 */ li r4, 5 /* 801E52B8 001E2218 38 63 00 08 */ addi r3, r3, 8 /* 801E52BC 001E221C 48 00 07 49 */ bl EnsureLoaded__Q220CActorModelParticles5CItemFi /* 801E52C0 001E2220 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E52C4 001E2224 7C 08 03 A6 */ mtlr r0 /* 801E52C8 001E2228 38 21 00 10 */ addi r1, r1, 0x10 /* 801E52CC 001E222C 4E 80 00 20 */ blr .global EnsureFirePopLoaded__20CActorModelParticlesR5CActor EnsureFirePopLoaded__20CActorModelParticlesR5CActor: /* 801E52D0 001E2230 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E52D4 001E2234 7C 08 02 A6 */ mflr r0 /* 801E52D8 001E2238 7C 85 23 78 */ mr r5, r4 /* 801E52DC 001E223C 7C 64 1B 78 */ mr r4, r3 /* 801E52E0 001E2240 90 01 00 14 */ stw r0, 0x14(r1) /* 801E52E4 001E2244 38 61 00 08 */ addi r3, r1, 8 /* 801E52E8 001E2248 4B FF F0 3D */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E52EC 001E224C 80 61 00 08 */ lwz r3, 8(r1) /* 801E52F0 001E2250 38 80 00 03 */ li r4, 3 /* 801E52F4 001E2254 38 63 00 08 */ addi r3, r3, 8 /* 801E52F8 001E2258 48 00 07 0D */ bl EnsureLoaded__Q220CActorModelParticles5CItemFi /* 801E52FC 001E225C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E5300 001E2260 7C 08 03 A6 */ mtlr r0 /* 801E5304 001E2264 38 21 00 10 */ addi r1, r1, 0x10 /* 801E5308 001E2268 4E 80 00 20 */ blr .global EnsureIceBreakLoaded__20CActorModelParticlesR5CActor EnsureIceBreakLoaded__20CActorModelParticlesR5CActor: /* 801E530C 001E226C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E5310 001E2270 7C 08 02 A6 */ mflr r0 /* 801E5314 001E2274 7C 85 23 78 */ mr r5, r4 /* 801E5318 001E2278 7C 64 1B 78 */ mr r4, r3 /* 801E531C 001E227C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E5320 001E2280 38 61 00 08 */ addi r3, r1, 8 /* 801E5324 001E2284 4B FF F0 01 */ bl FindOrCreateSystem__20CActorModelParticlesFR6CActor /* 801E5328 001E2288 80 61 00 08 */ lwz r3, 8(r1) /* 801E532C 001E228C 38 80 00 02 */ li r4, 2 /* 801E5330 001E2290 38 63 00 08 */ addi r3, r3, 8 /* 801E5334 001E2294 48 00 06 D1 */ bl EnsureLoaded__Q220CActorModelParticles5CItemFi /* 801E5338 001E2298 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E533C 001E229C 7C 08 03 A6 */ mtlr r0 /* 801E5340 001E22A0 38 21 00 10 */ addi r1, r1, 0x10 /* 801E5344 001E22A4 4E 80 00 20 */ blr .global MakeOnFireGen__20CActorModelParticlesFv MakeOnFireGen__20CActorModelParticlesFv: /* 801E5348 001E22A8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E534C 001E22AC 7C 08 02 A6 */ mflr r0 /* 801E5350 001E22B0 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E5354 001E22B4 38 A0 00 00 */ li r5, 0 /* 801E5358 001E22B8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E535C 001E22BC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E5360 001E22C0 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E5364 001E22C4 7C 7E 1B 78 */ mr r30, r3 /* 801E5368 001E22C8 38 64 1E B0 */ addi r3, r4, lbl_803D1EB0@l /* 801E536C 001E22CC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E5370 001E22D0 38 83 00 5C */ addi r4, r3, 0x5c /* 801E5374 001E22D4 3B A0 00 00 */ li r29, 0 /* 801E5378 001E22D8 38 60 03 40 */ li r3, 0x340 /* 801E537C 001E22DC 48 13 04 F1 */ bl __nw__FUlPCcPCc /* 801E5380 001E22E0 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E5384 001E22E4 41 82 00 2C */ beq lbl_801E53B0 /* 801E5388 001E22E8 38 61 00 08 */ addi r3, r1, 8 /* 801E538C 001E22EC 38 9E 00 18 */ addi r4, r30, 0x18 /* 801E5390 001E22F0 48 15 BB 19 */ bl __ct__6CTokenFRC6CToken /* 801E5394 001E22F4 7F E3 FB 78 */ mr r3, r31 /* 801E5398 001E22F8 38 81 00 08 */ addi r4, r1, 8 /* 801E539C 001E22FC 3B A0 00 01 */ li r29, 1 /* 801E53A0 001E2300 38 A0 00 00 */ li r5, 0 /* 801E53A4 001E2304 38 C0 00 01 */ li r6, 1 /* 801E53A8 001E2308 48 13 A0 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801E53AC 001E230C 7C 7F 1B 78 */ mr r31, r3 lbl_801E53B0: /* 801E53B0 001E2310 7F A0 07 75 */ extsb. r0, r29 /* 801E53B4 001E2314 41 82 00 10 */ beq lbl_801E53C4 /* 801E53B8 001E2318 38 61 00 08 */ addi r3, r1, 8 /* 801E53BC 001E231C 38 80 00 00 */ li r4, 0 /* 801E53C0 001E2320 48 15 BA 81 */ bl __dt__6CTokenFv lbl_801E53C4: /* 801E53C4 001E2324 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E53C8 001E2328 7F E3 FB 78 */ mr r3, r31 /* 801E53CC 001E232C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E53D0 001E2330 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E53D4 001E2334 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E53D8 001E2338 7C 08 03 A6 */ mtlr r0 /* 801E53DC 001E233C 38 21 00 20 */ addi r1, r1, 0x20 /* 801E53E0 001E2340 4E 80 00 20 */ blr .global MakeElectricGen__20CActorModelParticlesFv MakeElectricGen__20CActorModelParticlesFv: /* 801E53E4 001E2344 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E53E8 001E2348 7C 08 02 A6 */ mflr r0 /* 801E53EC 001E234C 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E53F0 001E2350 38 A0 00 00 */ li r5, 0 /* 801E53F4 001E2354 90 01 00 24 */ stw r0, 0x24(r1) /* 801E53F8 001E2358 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E53FC 001E235C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E5400 001E2360 7C 7E 1B 78 */ mr r30, r3 /* 801E5404 001E2364 38 64 1E B0 */ addi r3, r4, lbl_803D1EB0@l /* 801E5408 001E2368 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E540C 001E236C 38 83 00 5C */ addi r4, r3, 0x5c /* 801E5410 001E2370 3B A0 00 00 */ li r29, 0 /* 801E5414 001E2374 38 60 04 58 */ li r3, 0x458 /* 801E5418 001E2378 48 13 04 55 */ bl __nw__FUlPCcPCc /* 801E541C 001E237C 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E5420 001E2380 41 82 00 24 */ beq lbl_801E5444 /* 801E5424 001E2384 38 61 00 08 */ addi r3, r1, 8 /* 801E5428 001E2388 38 9E 00 40 */ addi r4, r30, 0x40 /* 801E542C 001E238C 48 15 BA 7D */ bl __ct__6CTokenFRC6CToken /* 801E5430 001E2390 7F E3 FB 78 */ mr r3, r31 /* 801E5434 001E2394 38 81 00 08 */ addi r4, r1, 8 /* 801E5438 001E2398 3B A0 00 01 */ li r29, 1 /* 801E543C 001E239C 48 17 CD 35 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" /* 801E5440 001E23A0 7C 7F 1B 78 */ mr r31, r3 lbl_801E5444: /* 801E5444 001E23A4 7F A0 07 75 */ extsb. r0, r29 /* 801E5448 001E23A8 41 82 00 10 */ beq lbl_801E5458 /* 801E544C 001E23AC 38 61 00 08 */ addi r3, r1, 8 /* 801E5450 001E23B0 38 80 00 00 */ li r4, 0 /* 801E5454 001E23B4 48 15 B9 ED */ bl __dt__6CTokenFv lbl_801E5458: /* 801E5458 001E23B8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E545C 001E23BC 7F E3 FB 78 */ mr r3, r31 /* 801E5460 001E23C0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E5464 001E23C4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E5468 001E23C8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E546C 001E23CC 7C 08 03 A6 */ mtlr r0 /* 801E5470 001E23D0 38 21 00 20 */ addi r1, r1, 0x20 /* 801E5474 001E23D4 4E 80 00 20 */ blr .global MakeIcePopGen__20CActorModelParticlesFv MakeIcePopGen__20CActorModelParticlesFv: /* 801E5478 001E23D8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E547C 001E23DC 7C 08 02 A6 */ mflr r0 /* 801E5480 001E23E0 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E5484 001E23E4 38 A0 00 00 */ li r5, 0 /* 801E5488 001E23E8 90 01 00 24 */ stw r0, 0x24(r1) /* 801E548C 001E23EC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E5490 001E23F0 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E5494 001E23F4 7C 7E 1B 78 */ mr r30, r3 /* 801E5498 001E23F8 38 64 1E B0 */ addi r3, r4, lbl_803D1EB0@l /* 801E549C 001E23FC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E54A0 001E2400 38 83 00 5C */ addi r4, r3, 0x5c /* 801E54A4 001E2404 3B A0 00 00 */ li r29, 0 /* 801E54A8 001E2408 38 60 03 40 */ li r3, 0x340 /* 801E54AC 001E240C 48 13 03 C1 */ bl __nw__FUlPCcPCc /* 801E54B0 001E2410 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E54B4 001E2414 41 82 00 2C */ beq lbl_801E54E0 /* 801E54B8 001E2418 38 61 00 08 */ addi r3, r1, 8 /* 801E54BC 001E241C 38 9E 00 38 */ addi r4, r30, 0x38 /* 801E54C0 001E2420 48 15 B9 E9 */ bl __ct__6CTokenFRC6CToken /* 801E54C4 001E2424 7F E3 FB 78 */ mr r3, r31 /* 801E54C8 001E2428 38 81 00 08 */ addi r4, r1, 8 /* 801E54CC 001E242C 3B A0 00 01 */ li r29, 1 /* 801E54D0 001E2430 38 A0 00 00 */ li r5, 0 /* 801E54D4 001E2434 38 C0 00 01 */ li r6, 1 /* 801E54D8 001E2438 48 13 9F 09 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801E54DC 001E243C 7C 7F 1B 78 */ mr r31, r3 lbl_801E54E0: /* 801E54E0 001E2440 7F A0 07 75 */ extsb. r0, r29 /* 801E54E4 001E2444 41 82 00 10 */ beq lbl_801E54F4 /* 801E54E8 001E2448 38 61 00 08 */ addi r3, r1, 8 /* 801E54EC 001E244C 38 80 00 00 */ li r4, 0 /* 801E54F0 001E2450 48 15 B9 51 */ bl __dt__6CTokenFv lbl_801E54F4: /* 801E54F4 001E2454 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E54F8 001E2458 7F E3 FB 78 */ mr r3, r31 /* 801E54FC 001E245C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E5500 001E2460 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E5504 001E2464 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E5508 001E2468 7C 08 03 A6 */ mtlr r0 /* 801E550C 001E246C 38 21 00 20 */ addi r1, r1, 0x20 /* 801E5510 001E2470 4E 80 00 20 */ blr .global MakeFirePopGen__20CActorModelParticlesFv MakeFirePopGen__20CActorModelParticlesFv: /* 801E5514 001E2474 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E5518 001E2478 7C 08 02 A6 */ mflr r0 /* 801E551C 001E247C 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E5520 001E2480 38 A0 00 00 */ li r5, 0 /* 801E5524 001E2484 90 01 00 24 */ stw r0, 0x24(r1) /* 801E5528 001E2488 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E552C 001E248C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E5530 001E2490 7C 7E 1B 78 */ mr r30, r3 /* 801E5534 001E2494 38 64 1E B0 */ addi r3, r4, lbl_803D1EB0@l /* 801E5538 001E2498 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E553C 001E249C 38 83 00 5C */ addi r4, r3, 0x5c /* 801E5540 001E24A0 3B A0 00 00 */ li r29, 0 /* 801E5544 001E24A4 38 60 03 40 */ li r3, 0x340 /* 801E5548 001E24A8 48 13 03 25 */ bl __nw__FUlPCcPCc /* 801E554C 001E24AC 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E5550 001E24B0 41 82 00 2C */ beq lbl_801E557C /* 801E5554 001E24B4 38 61 00 08 */ addi r3, r1, 8 /* 801E5558 001E24B8 38 9E 00 30 */ addi r4, r30, 0x30 /* 801E555C 001E24BC 48 15 B9 4D */ bl __ct__6CTokenFRC6CToken /* 801E5560 001E24C0 7F E3 FB 78 */ mr r3, r31 /* 801E5564 001E24C4 38 81 00 08 */ addi r4, r1, 8 /* 801E5568 001E24C8 3B A0 00 01 */ li r29, 1 /* 801E556C 001E24CC 38 A0 00 00 */ li r5, 0 /* 801E5570 001E24D0 38 C0 00 01 */ li r6, 1 /* 801E5574 001E24D4 48 13 9E 6D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801E5578 001E24D8 7C 7F 1B 78 */ mr r31, r3 lbl_801E557C: /* 801E557C 001E24DC 7F A0 07 75 */ extsb. r0, r29 /* 801E5580 001E24E0 41 82 00 10 */ beq lbl_801E5590 /* 801E5584 001E24E4 38 61 00 08 */ addi r3, r1, 8 /* 801E5588 001E24E8 38 80 00 00 */ li r4, 0 /* 801E558C 001E24EC 48 15 B8 B5 */ bl __dt__6CTokenFv lbl_801E5590: /* 801E5590 001E24F0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E5594 001E24F4 7F E3 FB 78 */ mr r3, r31 /* 801E5598 001E24F8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E559C 001E24FC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E55A0 001E2500 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E55A4 001E2504 7C 08 03 A6 */ mtlr r0 /* 801E55A8 001E2508 38 21 00 20 */ addi r1, r1, 0x20 /* 801E55AC 001E250C 4E 80 00 20 */ blr .global MakeAshGen__20CActorModelParticlesFv MakeAshGen__20CActorModelParticlesFv: /* 801E55B0 001E2510 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E55B4 001E2514 7C 08 02 A6 */ mflr r0 /* 801E55B8 001E2518 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E55BC 001E251C 38 A0 00 00 */ li r5, 0 /* 801E55C0 001E2520 90 01 00 24 */ stw r0, 0x24(r1) /* 801E55C4 001E2524 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E55C8 001E2528 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E55CC 001E252C 7C 7E 1B 78 */ mr r30, r3 /* 801E55D0 001E2530 38 64 1E B0 */ addi r3, r4, lbl_803D1EB0@l /* 801E55D4 001E2534 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E55D8 001E2538 38 83 00 5C */ addi r4, r3, 0x5c /* 801E55DC 001E253C 3B A0 00 00 */ li r29, 0 /* 801E55E0 001E2540 38 60 03 40 */ li r3, 0x340 /* 801E55E4 001E2544 48 13 02 89 */ bl __nw__FUlPCcPCc /* 801E55E8 001E2548 7C 7F 1B 79 */ or. r31, r3, r3 /* 801E55EC 001E254C 41 82 00 2C */ beq lbl_801E5618 /* 801E55F0 001E2550 38 61 00 08 */ addi r3, r1, 8 /* 801E55F4 001E2554 38 9E 00 20 */ addi r4, r30, 0x20 /* 801E55F8 001E2558 48 15 B8 B1 */ bl __ct__6CTokenFRC6CToken /* 801E55FC 001E255C 7F E3 FB 78 */ mr r3, r31 /* 801E5600 001E2560 38 81 00 08 */ addi r4, r1, 8 /* 801E5604 001E2564 3B A0 00 01 */ li r29, 1 /* 801E5608 001E2568 38 A0 00 00 */ li r5, 0 /* 801E560C 001E256C 38 C0 00 01 */ li r6, 1 /* 801E5610 001E2570 48 13 9D D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801E5614 001E2574 7C 7F 1B 78 */ mr r31, r3 lbl_801E5618: /* 801E5618 001E2578 7F A0 07 75 */ extsb. r0, r29 /* 801E561C 001E257C 41 82 00 10 */ beq lbl_801E562C /* 801E5620 001E2580 38 61 00 08 */ addi r3, r1, 8 /* 801E5624 001E2584 38 80 00 00 */ li r4, 0 /* 801E5628 001E2588 48 15 B8 19 */ bl __dt__6CTokenFv lbl_801E562C: /* 801E562C 001E258C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E5630 001E2590 7F E3 FB 78 */ mr r3, r31 /* 801E5634 001E2594 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E5638 001E2598 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E563C 001E259C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E5640 001E25A0 7C 08 03 A6 */ mtlr r0 /* 801E5644 001E25A4 38 21 00 20 */ addi r1, r1, 0x20 /* 801E5648 001E25A8 4E 80 00 20 */ blr .global Update__20CActorModelParticlesFfR13CStateManager Update__20CActorModelParticlesFfR13CStateManager: /* 801E564C 001E25AC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E5650 001E25B0 7C 08 02 A6 */ mflr r0 /* 801E5654 001E25B4 90 01 00 34 */ stw r0, 0x34(r1) /* 801E5658 001E25B8 DB E1 00 28 */ stfd f31, 0x28(r1) /* 801E565C 001E25BC FF E0 08 90 */ fmr f31, f1 /* 801E5660 001E25C0 93 E1 00 24 */ stw r31, 0x24(r1) /* 801E5664 001E25C4 93 C1 00 20 */ stw r30, 0x20(r1) /* 801E5668 001E25C8 7C 9E 23 78 */ mr r30, r4 /* 801E566C 001E25CC 93 A1 00 1C */ stw r29, 0x1c(r1) /* 801E5670 001E25D0 7C 7D 1B 78 */ mr r29, r3 /* 801E5674 001E25D4 4B FF E3 79 */ bl UpdateLoad__20CActorModelParticlesFv /* 801E5678 001E25D8 83 FD 00 04 */ lwz r31, 4(r29) /* 801E567C 001E25DC 48 00 00 60 */ b lbl_801E56DC lbl_801E5680: /* 801E5680 001E25E0 FC 20 F8 90 */ fmr f1, f31 /* 801E5684 001E25E4 7F C4 F3 78 */ mr r4, r30 /* 801E5688 001E25E8 38 7F 00 08 */ addi r3, r31, 8 /* 801E568C 001E25EC 48 00 13 D9 */ bl Update__Q220CActorModelParticles5CItemFfR13CStateManager /* 801E5690 001E25F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E5694 001E25F4 40 82 00 44 */ bne lbl_801E56D8 /* 801E5698 001E25F8 A0 1F 00 08 */ lhz r0, 8(r31) /* 801E569C 001E25FC 7F C3 F3 78 */ mr r3, r30 /* 801E56A0 001E2600 38 81 00 08 */ addi r4, r1, 8 /* 801E56A4 001E2604 B0 01 00 08 */ sth r0, 8(r1) /* 801E56A8 001E2608 4B E6 6E CD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E56AC 001E260C 28 03 00 00 */ cmplwi r3, 0 /* 801E56B0 001E2610 41 82 00 14 */ beq lbl_801E56C4 /* 801E56B4 001E2614 88 03 00 E5 */ lbz r0, 0xe5(r3) /* 801E56B8 001E2618 38 80 00 00 */ li r4, 0 /* 801E56BC 001E261C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 801E56C0 001E2620 98 03 00 E5 */ stb r0, 0xe5(r3) lbl_801E56C4: /* 801E56C4 001E2624 7F A3 EB 78 */ mr r3, r29 /* 801E56C8 001E2628 7F E4 FB 78 */ mr r4, r31 /* 801E56CC 001E262C 48 00 1D F9 */ bl sub_801e74c4 /* 801E56D0 001E2630 7C 7F 1B 78 */ mr r31, r3 /* 801E56D4 001E2634 48 00 00 08 */ b lbl_801E56DC lbl_801E56D8: /* 801E56D8 001E2638 83 FF 00 04 */ lwz r31, 4(r31) lbl_801E56DC: /* 801E56DC 001E263C 80 1D 00 08 */ lwz r0, 8(r29) /* 801E56E0 001E2640 7C 1F 00 40 */ cmplw r31, r0 /* 801E56E4 001E2644 40 82 FF 9C */ bne lbl_801E5680 /* 801E56E8 001E2648 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E56EC 001E264C CB E1 00 28 */ lfd f31, 0x28(r1) /* 801E56F0 001E2650 83 E1 00 24 */ lwz r31, 0x24(r1) /* 801E56F4 001E2654 83 C1 00 20 */ lwz r30, 0x20(r1) /* 801E56F8 001E2658 83 A1 00 1C */ lwz r29, 0x1c(r1) /* 801E56FC 001E265C 7C 08 03 A6 */ mtlr r0 /* 801E5700 001E2660 38 21 00 30 */ addi r1, r1, 0x30 /* 801E5704 001E2664 4E 80 00 20 */ blr .global __ct__20CActorModelParticlesFv __ct__20CActorModelParticlesFv: /* 801E5708 001E2668 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E570C 001E266C 7C 08 02 A6 */ mflr r0 /* 801E5710 001E2670 90 01 00 54 */ stw r0, 0x54(r1) /* 801E5714 001E2674 38 00 00 00 */ li r0, 0 /* 801E5718 001E2678 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801E571C 001E267C 7C 7F 1B 78 */ mr r31, r3 /* 801E5720 001E2680 38 BF 00 0C */ addi r5, r31, 0xc /* 801E5724 001E2684 3C 60 80 3D */ lis r3, lbl_803D1E98@ha /* 801E5728 001E2688 90 BF 00 04 */ stw r5, 4(r31) /* 801E572C 001E268C 80 83 1E 98 */ lwz r4, lbl_803D1E98@l(r3) /* 801E5730 001E2690 90 BF 00 08 */ stw r5, 8(r31) /* 801E5734 001E2694 90 A5 00 00 */ stw r5, 0(r5) /* 801E5738 001E2698 90 BF 00 10 */ stw r5, 0x10(r31) /* 801E573C 001E269C 90 1F 00 14 */ stw r0, 0x14(r31) /* 801E5740 001E26A0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E5744 001E26A4 81 83 00 00 */ lwz r12, 0(r3) /* 801E5748 001E26A8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E574C 001E26AC 7D 89 03 A6 */ mtctr r12 /* 801E5750 001E26B0 4E 80 04 21 */ bctrl /* 801E5754 001E26B4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E5758 001E26B8 7C 65 1B 78 */ mr r5, r3 /* 801E575C 001E26BC 38 61 00 38 */ addi r3, r1, 0x38 /* 801E5760 001E26C0 81 84 00 00 */ lwz r12, 0(r4) /* 801E5764 001E26C4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E5768 001E26C8 7D 89 03 A6 */ mtctr r12 /* 801E576C 001E26CC 4E 80 04 21 */ bctrl /* 801E5770 001E26D0 38 7F 00 18 */ addi r3, r31, 0x18 /* 801E5774 001E26D4 38 81 00 38 */ addi r4, r1, 0x38 /* 801E5778 001E26D8 48 15 B7 31 */ bl __ct__6CTokenFRC6CToken /* 801E577C 001E26DC 38 61 00 38 */ addi r3, r1, 0x38 /* 801E5780 001E26E0 38 80 FF FF */ li r4, -1 /* 801E5784 001E26E4 48 15 B6 BD */ bl __dt__6CTokenFv /* 801E5788 001E26E8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E578C 001E26EC 3C 80 80 3D */ lis r4, lbl_803D1E98@ha /* 801E5790 001E26F0 38 84 1E 98 */ addi r4, r4, lbl_803D1E98@l /* 801E5794 001E26F4 81 83 00 00 */ lwz r12, 0(r3) /* 801E5798 001E26F8 80 84 00 08 */ lwz r4, 8(r4) /* 801E579C 001E26FC 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E57A0 001E2700 7D 89 03 A6 */ mtctr r12 /* 801E57A4 001E2704 4E 80 04 21 */ bctrl /* 801E57A8 001E2708 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E57AC 001E270C 7C 65 1B 78 */ mr r5, r3 /* 801E57B0 001E2710 38 61 00 30 */ addi r3, r1, 0x30 /* 801E57B4 001E2714 81 84 00 00 */ lwz r12, 0(r4) /* 801E57B8 001E2718 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E57BC 001E271C 7D 89 03 A6 */ mtctr r12 /* 801E57C0 001E2720 4E 80 04 21 */ bctrl /* 801E57C4 001E2724 38 7F 00 20 */ addi r3, r31, 0x20 /* 801E57C8 001E2728 38 81 00 30 */ addi r4, r1, 0x30 /* 801E57CC 001E272C 48 15 B6 DD */ bl __ct__6CTokenFRC6CToken /* 801E57D0 001E2730 38 61 00 30 */ addi r3, r1, 0x30 /* 801E57D4 001E2734 38 80 FF FF */ li r4, -1 /* 801E57D8 001E2738 48 15 B6 69 */ bl __dt__6CTokenFv /* 801E57DC 001E273C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E57E0 001E2740 3C 80 80 3D */ lis r4, lbl_803D1E98@ha /* 801E57E4 001E2744 38 84 1E 98 */ addi r4, r4, lbl_803D1E98@l /* 801E57E8 001E2748 81 83 00 00 */ lwz r12, 0(r3) /* 801E57EC 001E274C 80 84 00 04 */ lwz r4, 4(r4) /* 801E57F0 001E2750 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E57F4 001E2754 7D 89 03 A6 */ mtctr r12 /* 801E57F8 001E2758 4E 80 04 21 */ bctrl /* 801E57FC 001E275C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E5800 001E2760 7C 65 1B 78 */ mr r5, r3 /* 801E5804 001E2764 38 61 00 28 */ addi r3, r1, 0x28 /* 801E5808 001E2768 81 84 00 00 */ lwz r12, 0(r4) /* 801E580C 001E276C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E5810 001E2770 7D 89 03 A6 */ mtctr r12 /* 801E5814 001E2774 4E 80 04 21 */ bctrl /* 801E5818 001E2778 38 7F 00 28 */ addi r3, r31, 0x28 /* 801E581C 001E277C 38 81 00 28 */ addi r4, r1, 0x28 /* 801E5820 001E2780 48 15 B6 89 */ bl __ct__6CTokenFRC6CToken /* 801E5824 001E2784 38 61 00 28 */ addi r3, r1, 0x28 /* 801E5828 001E2788 38 80 FF FF */ li r4, -1 /* 801E582C 001E278C 48 15 B6 15 */ bl __dt__6CTokenFv /* 801E5830 001E2790 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E5834 001E2794 3C 80 80 3D */ lis r4, lbl_803D1E98@ha /* 801E5838 001E2798 38 84 1E 98 */ addi r4, r4, lbl_803D1E98@l /* 801E583C 001E279C 81 83 00 00 */ lwz r12, 0(r3) /* 801E5840 001E27A0 80 84 00 0C */ lwz r4, 0xc(r4) /* 801E5844 001E27A4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E5848 001E27A8 7D 89 03 A6 */ mtctr r12 /* 801E584C 001E27AC 4E 80 04 21 */ bctrl /* 801E5850 001E27B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E5854 001E27B4 7C 65 1B 78 */ mr r5, r3 /* 801E5858 001E27B8 38 61 00 20 */ addi r3, r1, 0x20 /* 801E585C 001E27BC 81 84 00 00 */ lwz r12, 0(r4) /* 801E5860 001E27C0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E5864 001E27C4 7D 89 03 A6 */ mtctr r12 /* 801E5868 001E27C8 4E 80 04 21 */ bctrl /* 801E586C 001E27CC 38 7F 00 30 */ addi r3, r31, 0x30 /* 801E5870 001E27D0 38 81 00 20 */ addi r4, r1, 0x20 /* 801E5874 001E27D4 48 15 B6 35 */ bl __ct__6CTokenFRC6CToken /* 801E5878 001E27D8 38 61 00 20 */ addi r3, r1, 0x20 /* 801E587C 001E27DC 38 80 FF FF */ li r4, -1 /* 801E5880 001E27E0 48 15 B5 C1 */ bl __dt__6CTokenFv /* 801E5884 001E27E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E5888 001E27E8 3C 80 80 3D */ lis r4, lbl_803D1E98@ha /* 801E588C 001E27EC 38 84 1E 98 */ addi r4, r4, lbl_803D1E98@l /* 801E5890 001E27F0 81 83 00 00 */ lwz r12, 0(r3) /* 801E5894 001E27F4 80 84 00 14 */ lwz r4, 0x14(r4) /* 801E5898 001E27F8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E589C 001E27FC 7D 89 03 A6 */ mtctr r12 /* 801E58A0 001E2800 4E 80 04 21 */ bctrl /* 801E58A4 001E2804 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E58A8 001E2808 7C 65 1B 78 */ mr r5, r3 /* 801E58AC 001E280C 38 61 00 18 */ addi r3, r1, 0x18 /* 801E58B0 001E2810 81 84 00 00 */ lwz r12, 0(r4) /* 801E58B4 001E2814 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E58B8 001E2818 7D 89 03 A6 */ mtctr r12 /* 801E58BC 001E281C 4E 80 04 21 */ bctrl /* 801E58C0 001E2820 38 7F 00 38 */ addi r3, r31, 0x38 /* 801E58C4 001E2824 38 81 00 18 */ addi r4, r1, 0x18 /* 801E58C8 001E2828 48 15 B5 E1 */ bl __ct__6CTokenFRC6CToken /* 801E58CC 001E282C 38 61 00 18 */ addi r3, r1, 0x18 /* 801E58D0 001E2830 38 80 FF FF */ li r4, -1 /* 801E58D4 001E2834 48 15 B5 6D */ bl __dt__6CTokenFv /* 801E58D8 001E2838 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E58DC 001E283C 3C 80 80 3D */ lis r4, lbl_803D1E98@ha /* 801E58E0 001E2840 38 84 1E 98 */ addi r4, r4, lbl_803D1E98@l /* 801E58E4 001E2844 81 83 00 00 */ lwz r12, 0(r3) /* 801E58E8 001E2848 80 84 00 10 */ lwz r4, 0x10(r4) /* 801E58EC 001E284C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E58F0 001E2850 7D 89 03 A6 */ mtctr r12 /* 801E58F4 001E2854 4E 80 04 21 */ bctrl /* 801E58F8 001E2858 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E58FC 001E285C 7C 65 1B 78 */ mr r5, r3 /* 801E5900 001E2860 38 61 00 10 */ addi r3, r1, 0x10 /* 801E5904 001E2864 81 84 00 00 */ lwz r12, 0(r4) /* 801E5908 001E2868 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E590C 001E286C 7D 89 03 A6 */ mtctr r12 /* 801E5910 001E2870 4E 80 04 21 */ bctrl /* 801E5914 001E2874 38 7F 00 40 */ addi r3, r31, 0x40 /* 801E5918 001E2878 38 81 00 10 */ addi r4, r1, 0x10 /* 801E591C 001E287C 48 15 B5 8D */ bl __ct__6CTokenFRC6CToken /* 801E5920 001E2880 38 61 00 10 */ addi r3, r1, 0x10 /* 801E5924 001E2884 38 80 FF FF */ li r4, -1 /* 801E5928 001E2888 48 15 B5 19 */ bl __dt__6CTokenFv /* 801E592C 001E288C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 801E5930 001E2890 3C 80 80 3D */ lis r4, lbl_803D1EB0@ha /* 801E5934 001E2894 38 84 1E B0 */ addi r4, r4, lbl_803D1EB0@l /* 801E5938 001E2898 81 83 00 00 */ lwz r12, 0(r3) /* 801E593C 001E289C 38 84 00 63 */ addi r4, r4, 0x63 /* 801E5940 001E28A0 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E5944 001E28A4 7D 89 03 A6 */ mtctr r12 /* 801E5948 001E28A8 4E 80 04 21 */ bctrl /* 801E594C 001E28AC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E5950 001E28B0 7C 65 1B 78 */ mr r5, r3 /* 801E5954 001E28B4 38 61 00 08 */ addi r3, r1, 8 /* 801E5958 001E28B8 81 84 00 00 */ lwz r12, 0(r4) /* 801E595C 001E28BC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E5960 001E28C0 7D 89 03 A6 */ mtctr r12 /* 801E5964 001E28C4 4E 80 04 21 */ bctrl /* 801E5968 001E28C8 38 7F 00 48 */ addi r3, r31, 0x48 /* 801E596C 001E28CC 38 81 00 08 */ addi r4, r1, 8 /* 801E5970 001E28D0 48 15 B5 39 */ bl __ct__6CTokenFRC6CToken /* 801E5974 001E28D4 38 61 00 08 */ addi r3, r1, 8 /* 801E5978 001E28D8 38 80 FF FF */ li r4, -1 /* 801E597C 001E28DC 48 15 B4 C5 */ bl __dt__6CTokenFv /* 801E5980 001E28E0 38 00 00 00 */ li r0, 0 /* 801E5984 001E28E4 7F E3 FB 78 */ mr r3, r31 /* 801E5988 001E28E8 90 1F 00 50 */ stw r0, 0x50(r31) /* 801E598C 001E28EC 4B FF E1 FD */ bl LoadParticleDGRPs__20CActorModelParticlesFv /* 801E5990 001E28F0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E5994 001E28F4 7F E3 FB 78 */ mr r3, r31 /* 801E5998 001E28F8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801E599C 001E28FC 7C 08 03 A6 */ mtlr r0 /* 801E59A0 001E2900 38 21 00 50 */ addi r1, r1, 0x50 /* 801E59A4 001E2904 4E 80 00 20 */ blr .global Unlock__Q220CActorModelParticles5CItemF11EDependency Unlock__Q220CActorModelParticles5CItemF11EDependency: /* 801E59A8 001E2908 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E59AC 001E290C 7C 08 02 A6 */ mflr r0 /* 801E59B0 001E2910 90 01 00 14 */ stw r0, 0x14(r1) /* 801E59B4 001E2914 38 00 00 01 */ li r0, 1 /* 801E59B8 001E2918 7C 00 20 30 */ slw r0, r0, r4 /* 801E59BC 001E291C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E59C0 001E2920 54 1F 06 3E */ clrlwi r31, r0, 0x18 /* 801E59C4 001E2924 93 C1 00 08 */ stw r30, 8(r1) /* 801E59C8 001E2928 7C 7E 1B 78 */ mr r30, r3 /* 801E59CC 001E292C 88 63 01 34 */ lbz r3, 0x134(r3) /* 801E59D0 001E2930 7C 60 F8 39 */ and. r0, r3, r31 /* 801E59D4 001E2934 41 82 00 18 */ beq lbl_801E59EC /* 801E59D8 001E2938 80 7E 01 28 */ lwz r3, 0x128(r30) /* 801E59DC 001E293C 4B FF E0 B9 */ bl DecrementDependency__20CActorModelParticlesF11EDependency /* 801E59E0 001E2940 88 1E 01 34 */ lbz r0, 0x134(r30) /* 801E59E4 001E2944 7C 00 F8 78 */ andc r0, r0, r31 /* 801E59E8 001E2948 98 1E 01 34 */ stb r0, 0x134(r30) lbl_801E59EC: /* 801E59EC 001E294C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E59F0 001E2950 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E59F4 001E2954 83 C1 00 08 */ lwz r30, 8(r1) /* 801E59F8 001E2958 7C 08 03 A6 */ mtlr r0 /* 801E59FC 001E295C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E5A00 001E2960 4E 80 00 20 */ blr .global EnsureLoaded__Q220CActorModelParticles5CItemFi EnsureLoaded__Q220CActorModelParticles5CItemFi: /* 801E5A04 001E2964 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E5A08 001E2968 7C 08 02 A6 */ mflr r0 /* 801E5A0C 001E296C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E5A10 001E2970 38 00 00 01 */ li r0, 1 /* 801E5A14 001E2974 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E5A18 001E2978 93 C1 00 08 */ stw r30, 8(r1) /* 801E5A1C 001E297C 7C 7E 1B 78 */ mr r30, r3 /* 801E5A20 001E2980 7C 03 20 30 */ slw r3, r0, r4 /* 801E5A24 001E2984 88 1E 01 34 */ lbz r0, 0x134(r30) /* 801E5A28 001E2988 54 7F 06 3E */ clrlwi r31, r3, 0x18 /* 801E5A2C 001E298C 7C 00 F8 39 */ and. r0, r0, r31 /* 801E5A30 001E2990 40 82 00 18 */ bne lbl_801E5A48 /* 801E5A34 001E2994 80 7E 01 28 */ lwz r3, 0x128(r30) /* 801E5A38 001E2998 4B FF E0 ED */ bl IncrementDependency__20CActorModelParticlesFi /* 801E5A3C 001E299C 88 1E 01 34 */ lbz r0, 0x134(r30) /* 801E5A40 001E29A0 7C 00 FB 78 */ or r0, r0, r31 /* 801E5A44 001E29A4 98 1E 01 34 */ stb r0, 0x134(r30) lbl_801E5A48: /* 801E5A48 001E29A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E5A4C 001E29AC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E5A50 001E29B0 83 C1 00 08 */ lwz r30, 8(r1) /* 801E5A54 001E29B4 7C 08 03 A6 */ mtlr r0 /* 801E5A58 001E29B8 38 21 00 10 */ addi r1, r1, 0x10 /* 801E5A5C 001E29BC 4E 80 00 20 */ blr .global UpdateOnFire__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager UpdateOnFire__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager: /* 801E5A60 001E29C0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801E5A64 001E29C4 7C 08 02 A6 */ mflr r0 /* 801E5A68 001E29C8 90 01 00 74 */ stw r0, 0x74(r1) /* 801E5A6C 001E29CC DB E1 00 60 */ stfd f31, 0x60(r1) /* 801E5A70 001E29D0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801E5A74 001E29D4 BF 21 00 44 */ stmw r25, 0x44(r1) /* 801E5A78 001E29D8 7C 7B 1B 78 */ mr r27, r3 /* 801E5A7C 001E29DC FF E0 08 90 */ fmr f31, f1 /* 801E5A80 001E29E0 C0 23 00 6C */ lfs f1, 0x6c(r3) /* 801E5A84 001E29E4 7C 9C 23 78 */ mr r28, r4 /* 801E5A88 001E29E8 C0 02 AD 80 */ lfs f0, lbl_805ACAA0@sda21(r2) /* 801E5A8C 001E29EC 7C BD 2B 78 */ mr r29, r5 /* 801E5A90 001E29F0 EC 21 F8 28 */ fsubs f1, f1, f31 /* 801E5A94 001E29F4 3B E0 00 00 */ li r31, 0 /* 801E5A98 001E29F8 3B C0 00 00 */ li r30, 0 /* 801E5A9C 001E29FC D0 23 00 6C */ stfs f1, 0x6c(r3) /* 801E5AA0 001E2A00 C0 23 00 6C */ lfs f1, 0x6c(r3) /* 801E5AA4 001E2A04 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E5AA8 001E2A08 40 80 00 08 */ bge lbl_801E5AB0 /* 801E5AAC 001E2A0C D0 1B 00 6C */ stfs f0, 0x6c(r27) lbl_801E5AB0: /* 801E5AB0 001E2A10 88 1B 01 34 */ lbz r0, 0x134(r27) /* 801E5AB4 001E2A14 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801E5AB8 001E2A18 41 82 03 44 */ beq lbl_801E5DFC /* 801E5ABC 001E2A1C 80 7B 01 28 */ lwz r3, 0x128(r27) /* 801E5AC0 001E2A20 88 03 00 E6 */ lbz r0, 0xe6(r3) /* 801E5AC4 001E2A24 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801E5AC8 001E2A28 41 82 03 30 */ beq lbl_801E5DF8 /* 801E5ACC 001E2A2C 88 1B 00 70 */ lbz r0, 0x70(r27) /* 801E5AD0 001E2A30 28 00 00 00 */ cmplwi r0, 0 /* 801E5AD4 001E2A34 41 82 02 20 */ beq lbl_801E5CF4 /* 801E5AD8 001E2A38 28 1C 00 00 */ cmplwi r28, 0 /* 801E5ADC 001E2A3C 41 82 02 18 */ beq lbl_801E5CF4 /* 801E5AE0 001E2A40 80 1B 00 7C */ lwz r0, 0x7c(r27) /* 801E5AE4 001E2A44 3B 40 00 01 */ li r26, 1 /* 801E5AE8 001E2A48 28 00 00 00 */ cmplwi r0, 0 /* 801E5AEC 001E2A4C 40 82 00 10 */ bne lbl_801E5AFC /* 801E5AF0 001E2A50 88 1B 00 E0 */ lbz r0, 0xe0(r27) /* 801E5AF4 001E2A54 28 00 00 00 */ cmplwi r0, 0 /* 801E5AF8 001E2A58 41 82 00 0C */ beq lbl_801E5B04 lbl_801E5AFC: /* 801E5AFC 001E2A5C 3B 40 00 00 */ li r26, 0 /* 801E5B00 001E2A60 48 00 00 A4 */ b lbl_801E5BA4 lbl_801E5B04: /* 801E5B04 001E2A64 7F 83 E3 78 */ mr r3, r28 /* 801E5B08 001E2A68 48 00 19 71 */ bl IsMediumOrLarge__FRCActor /* 801E5B0C 001E2A6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E5B10 001E2A70 40 82 00 94 */ bne lbl_801E5BA4 /* 801E5B14 001E2A74 80 1B 00 10 */ lwz r0, 0x10(r27) /* 801E5B18 001E2A78 38 60 00 00 */ li r3, 0 /* 801E5B1C 001E2A7C 28 00 00 00 */ cmplwi r0, 0 /* 801E5B20 001E2A80 41 82 00 08 */ beq lbl_801E5B28 /* 801E5B24 001E2A84 38 60 00 01 */ li r3, 1 lbl_801E5B28: /* 801E5B28 001E2A88 80 1B 00 1C */ lwz r0, 0x1c(r27) /* 801E5B2C 001E2A8C 28 00 00 00 */ cmplwi r0, 0 /* 801E5B30 001E2A90 41 82 00 08 */ beq lbl_801E5B38 /* 801E5B34 001E2A94 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B38: /* 801E5B38 001E2A98 80 1B 00 28 */ lwz r0, 0x28(r27) /* 801E5B3C 001E2A9C 28 00 00 00 */ cmplwi r0, 0 /* 801E5B40 001E2AA0 41 82 00 08 */ beq lbl_801E5B48 /* 801E5B44 001E2AA4 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B48: /* 801E5B48 001E2AA8 80 1B 00 34 */ lwz r0, 0x34(r27) /* 801E5B4C 001E2AAC 28 00 00 00 */ cmplwi r0, 0 /* 801E5B50 001E2AB0 41 82 00 08 */ beq lbl_801E5B58 /* 801E5B54 001E2AB4 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B58: /* 801E5B58 001E2AB8 80 1B 00 40 */ lwz r0, 0x40(r27) /* 801E5B5C 001E2ABC 28 00 00 00 */ cmplwi r0, 0 /* 801E5B60 001E2AC0 41 82 00 08 */ beq lbl_801E5B68 /* 801E5B64 001E2AC4 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B68: /* 801E5B68 001E2AC8 80 1B 00 4C */ lwz r0, 0x4c(r27) /* 801E5B6C 001E2ACC 28 00 00 00 */ cmplwi r0, 0 /* 801E5B70 001E2AD0 41 82 00 08 */ beq lbl_801E5B78 /* 801E5B74 001E2AD4 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B78: /* 801E5B78 001E2AD8 80 1B 00 58 */ lwz r0, 0x58(r27) /* 801E5B7C 001E2ADC 28 00 00 00 */ cmplwi r0, 0 /* 801E5B80 001E2AE0 41 82 00 08 */ beq lbl_801E5B88 /* 801E5B84 001E2AE4 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B88: /* 801E5B88 001E2AE8 80 1B 00 64 */ lwz r0, 0x64(r27) /* 801E5B8C 001E2AEC 28 00 00 00 */ cmplwi r0, 0 /* 801E5B90 001E2AF0 41 82 00 08 */ beq lbl_801E5B98 /* 801E5B94 001E2AF4 38 63 00 01 */ addi r3, r3, 1 lbl_801E5B98: /* 801E5B98 001E2AF8 2C 03 00 04 */ cmpwi r3, 4 /* 801E5B9C 001E2AFC 41 80 00 08 */ blt lbl_801E5BA4 /* 801E5BA0 001E2B00 3B 40 00 00 */ li r26, 0 lbl_801E5BA4: /* 801E5BA4 001E2B04 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 801E5BA8 001E2B08 41 82 00 D4 */ beq lbl_801E5C7C /* 801E5BAC 001E2B0C 38 00 00 08 */ li r0, 8 /* 801E5BB0 001E2B10 3B 5B 00 0C */ addi r26, r27, 0xc /* 801E5BB4 001E2B14 7C 09 03 A6 */ mtctr r0 lbl_801E5BB8: /* 801E5BB8 001E2B18 80 1A 00 04 */ lwz r0, 4(r26) /* 801E5BBC 001E2B1C 28 00 00 00 */ cmplwi r0, 0 /* 801E5BC0 001E2B20 40 82 00 B4 */ bne lbl_801E5C74 /* 801E5BC4 001E2B24 80 7D 09 00 */ lwz r3, 0x900(r29) /* 801E5BC8 001E2B28 48 12 C9 59 */ bl Next__9CRandom16Fv /* 801E5BCC 001E2B2C 90 7A 00 08 */ stw r3, 8(r26) /* 801E5BD0 001E2B30 80 7B 01 28 */ lwz r3, 0x128(r27) /* 801E5BD4 001E2B34 4B FF F7 75 */ bl MakeOnFireGen__20CActorModelParticlesFv /* 801E5BD8 001E2B38 7C 83 00 D0 */ neg r4, r3 /* 801E5BDC 001E2B3C 38 01 00 1C */ addi r0, r1, 0x1c /* 801E5BE0 001E2B40 7C 84 1B 78 */ or r4, r4, r3 /* 801E5BE4 001E2B44 90 61 00 20 */ stw r3, 0x20(r1) /* 801E5BE8 001E2B48 54 83 0F FE */ srwi r3, r4, 0x1f /* 801E5BEC 001E2B4C 7C 00 D0 40 */ cmplw r0, r26 /* 801E5BF0 001E2B50 98 61 00 1C */ stb r3, 0x1c(r1) /* 801E5BF4 001E2B54 41 82 00 48 */ beq lbl_801E5C3C /* 801E5BF8 001E2B58 88 1A 00 00 */ lbz r0, 0(r26) /* 801E5BFC 001E2B5C 28 00 00 00 */ cmplwi r0, 0 /* 801E5C00 001E2B60 41 82 00 24 */ beq lbl_801E5C24 /* 801E5C04 001E2B64 80 7A 00 04 */ lwz r3, 4(r26) /* 801E5C08 001E2B68 28 03 00 00 */ cmplwi r3, 0 /* 801E5C0C 001E2B6C 41 82 00 18 */ beq lbl_801E5C24 /* 801E5C10 001E2B70 81 83 00 00 */ lwz r12, 0(r3) /* 801E5C14 001E2B74 38 80 00 01 */ li r4, 1 /* 801E5C18 001E2B78 81 8C 00 08 */ lwz r12, 8(r12) /* 801E5C1C 001E2B7C 7D 89 03 A6 */ mtctr r12 /* 801E5C20 001E2B80 4E 80 04 21 */ bctrl lbl_801E5C24: /* 801E5C24 001E2B84 88 61 00 1C */ lbz r3, 0x1c(r1) /* 801E5C28 001E2B88 38 00 00 00 */ li r0, 0 /* 801E5C2C 001E2B8C 98 7A 00 00 */ stb r3, 0(r26) /* 801E5C30 001E2B90 80 61 00 20 */ lwz r3, 0x20(r1) /* 801E5C34 001E2B94 90 7A 00 04 */ stw r3, 4(r26) /* 801E5C38 001E2B98 98 01 00 1C */ stb r0, 0x1c(r1) lbl_801E5C3C: /* 801E5C3C 001E2B9C 88 01 00 1C */ lbz r0, 0x1c(r1) /* 801E5C40 001E2BA0 28 00 00 00 */ cmplwi r0, 0 /* 801E5C44 001E2BA4 41 82 00 24 */ beq lbl_801E5C68 /* 801E5C48 001E2BA8 80 61 00 20 */ lwz r3, 0x20(r1) /* 801E5C4C 001E2BAC 28 03 00 00 */ cmplwi r3, 0 /* 801E5C50 001E2BB0 41 82 00 18 */ beq lbl_801E5C68 /* 801E5C54 001E2BB4 81 83 00 00 */ lwz r12, 0(r3) /* 801E5C58 001E2BB8 38 80 00 01 */ li r4, 1 /* 801E5C5C 001E2BBC 81 8C 00 08 */ lwz r12, 8(r12) /* 801E5C60 001E2BC0 7D 89 03 A6 */ mtctr r12 /* 801E5C64 001E2BC4 4E 80 04 21 */ bctrl lbl_801E5C68: /* 801E5C68 001E2BC8 C0 02 AD 94 */ lfs f0, lbl_805ACAB4@sda21(r2) /* 801E5C6C 001E2BCC D0 1B 00 6C */ stfs f0, 0x6c(r27) /* 801E5C70 001E2BD0 48 00 00 0C */ b lbl_801E5C7C lbl_801E5C74: /* 801E5C74 001E2BD4 3B 5A 00 0C */ addi r26, r26, 0xc /* 801E5C78 001E2BD8 42 00 FF 40 */ bdnz lbl_801E5BB8 lbl_801E5C7C: /* 801E5C7C 001E2BDC 80 1B 00 74 */ lwz r0, 0x74(r27) /* 801E5C80 001E2BE0 28 00 00 00 */ cmplwi r0, 0 /* 801E5C84 001E2BE4 40 82 00 68 */ bne lbl_801E5CEC /* 801E5C88 001E2BE8 7F 83 E3 78 */ mr r3, r28 /* 801E5C8C 001E2BEC 48 00 17 ED */ bl IsMediumOrLarge__FRCActor /* 801E5C90 001E2BF0 54 63 06 3E */ clrlwi r3, r3, 0x18 /* 801E5C94 001E2BF4 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801E5C98 001E2BF8 7C 03 00 D0 */ neg r0, r3 /* 801E5C9C 001E2BFC C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801E5CA0 001E2C00 7C 00 1B 78 */ or r0, r0, r3 /* 801E5CA4 001E2C04 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801E5CA8 001E2C08 7C 04 FE 70 */ srawi r4, r0, 0x1f /* 801E5CAC 001E2C0C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E5CB0 001E2C10 38 04 04 80 */ addi r0, r4, 0x480 /* 801E5CB4 001E2C14 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801E5CB8 001E2C18 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801E5CBC 001E2C1C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801E5CC0 001E2C20 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801E5CC4 001E2C24 54 04 04 3E */ clrlwi r4, r0, 0x10 /* 801E5CC8 001E2C28 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801E5CCC 001E2C2C 38 61 00 10 */ addi r3, r1, 0x10 /* 801E5CD0 001E2C30 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801E5CD4 001E2C34 38 A1 00 30 */ addi r5, r1, 0x30 /* 801E5CD8 001E2C38 38 E0 00 01 */ li r7, 1 /* 801E5CDC 001E2C3C 39 00 00 01 */ li r8, 1 /* 801E5CE0 001E2C40 48 10 45 D1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801E5CE4 001E2C44 80 01 00 10 */ lwz r0, 0x10(r1) /* 801E5CE8 001E2C48 90 1B 00 74 */ stw r0, 0x74(r27) lbl_801E5CEC: /* 801E5CEC 001E2C4C 38 00 00 00 */ li r0, 0 /* 801E5CF0 001E2C50 98 1B 00 70 */ stb r0, 0x70(r27) lbl_801E5CF4: /* 801E5CF4 001E2C54 3B A0 00 00 */ li r29, 0 /* 801E5CF8 001E2C58 3B 5B 00 0C */ addi r26, r27, 0xc lbl_801E5CFC: /* 801E5CFC 001E2C5C 80 7A 00 04 */ lwz r3, 4(r26) /* 801E5D00 001E2C60 28 03 00 00 */ cmplwi r3, 0 /* 801E5D04 001E2C64 41 82 00 E0 */ beq lbl_801E5DE4 /* 801E5D08 001E2C68 81 83 00 00 */ lwz r12, 0(r3) /* 801E5D0C 001E2C6C 7C 79 1B 78 */ mr r25, r3 /* 801E5D10 001E2C70 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801E5D14 001E2C74 7D 89 03 A6 */ mtctr r12 /* 801E5D18 001E2C78 4E 80 04 21 */ bctrl /* 801E5D1C 001E2C7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E5D20 001E2C80 41 82 00 90 */ beq lbl_801E5DB0 /* 801E5D24 001E2C84 38 01 00 14 */ addi r0, r1, 0x14 /* 801E5D28 001E2C88 38 60 00 00 */ li r3, 0 /* 801E5D2C 001E2C8C 7C 00 D0 40 */ cmplw r0, r26 /* 801E5D30 001E2C90 98 61 00 14 */ stb r3, 0x14(r1) /* 801E5D34 001E2C94 90 61 00 18 */ stw r3, 0x18(r1) /* 801E5D38 001E2C98 41 82 00 48 */ beq lbl_801E5D80 /* 801E5D3C 001E2C9C 88 1A 00 00 */ lbz r0, 0(r26) /* 801E5D40 001E2CA0 28 00 00 00 */ cmplwi r0, 0 /* 801E5D44 001E2CA4 41 82 00 24 */ beq lbl_801E5D68 /* 801E5D48 001E2CA8 80 7A 00 04 */ lwz r3, 4(r26) /* 801E5D4C 001E2CAC 28 03 00 00 */ cmplwi r3, 0 /* 801E5D50 001E2CB0 41 82 00 18 */ beq lbl_801E5D68 /* 801E5D54 001E2CB4 81 83 00 00 */ lwz r12, 0(r3) /* 801E5D58 001E2CB8 38 80 00 01 */ li r4, 1 /* 801E5D5C 001E2CBC 81 8C 00 08 */ lwz r12, 8(r12) /* 801E5D60 001E2CC0 7D 89 03 A6 */ mtctr r12 /* 801E5D64 001E2CC4 4E 80 04 21 */ bctrl lbl_801E5D68: /* 801E5D68 001E2CC8 88 61 00 14 */ lbz r3, 0x14(r1) /* 801E5D6C 001E2CCC 38 00 00 00 */ li r0, 0 /* 801E5D70 001E2CD0 98 7A 00 00 */ stb r3, 0(r26) /* 801E5D74 001E2CD4 80 61 00 18 */ lwz r3, 0x18(r1) /* 801E5D78 001E2CD8 90 7A 00 04 */ stw r3, 4(r26) /* 801E5D7C 001E2CDC 98 01 00 14 */ stb r0, 0x14(r1) lbl_801E5D80: /* 801E5D80 001E2CE0 88 01 00 14 */ lbz r0, 0x14(r1) /* 801E5D84 001E2CE4 28 00 00 00 */ cmplwi r0, 0 /* 801E5D88 001E2CE8 41 82 00 5C */ beq lbl_801E5DE4 /* 801E5D8C 001E2CEC 80 61 00 18 */ lwz r3, 0x18(r1) /* 801E5D90 001E2CF0 28 03 00 00 */ cmplwi r3, 0 /* 801E5D94 001E2CF4 41 82 00 50 */ beq lbl_801E5DE4 /* 801E5D98 001E2CF8 81 83 00 00 */ lwz r12, 0(r3) /* 801E5D9C 001E2CFC 38 80 00 01 */ li r4, 1 /* 801E5DA0 001E2D00 81 8C 00 08 */ lwz r12, 8(r12) /* 801E5DA4 001E2D04 7D 89 03 A6 */ mtctr r12 /* 801E5DA8 001E2D08 4E 80 04 21 */ bctrl /* 801E5DAC 001E2D0C 48 00 00 38 */ b lbl_801E5DE4 lbl_801E5DB0: /* 801E5DB0 001E2D10 28 1C 00 00 */ cmplwi r28, 0 /* 801E5DB4 001E2D14 41 82 00 10 */ beq lbl_801E5DC4 /* 801E5DB8 001E2D18 7F 23 CB 78 */ mr r3, r25 /* 801E5DBC 001E2D1C 38 9C 00 34 */ addi r4, r28, 0x34 /* 801E5DC0 001E2D20 48 13 8D C5 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f lbl_801E5DC4: /* 801E5DC4 001E2D24 7F 23 CB 78 */ mr r3, r25 /* 801E5DC8 001E2D28 FC 20 F8 90 */ fmr f1, f31 /* 801E5DCC 001E2D2C 81 99 00 00 */ lwz r12, 0(r25) /* 801E5DD0 001E2D30 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E5DD4 001E2D34 7D 89 03 A6 */ mtctr r12 /* 801E5DD8 001E2D38 4E 80 04 21 */ bctrl /* 801E5DDC 001E2D3C 3B C0 00 01 */ li r30, 1 /* 801E5DE0 001E2D40 3B E0 00 01 */ li r31, 1 lbl_801E5DE4: /* 801E5DE4 001E2D44 3B BD 00 01 */ addi r29, r29, 1 /* 801E5DE8 001E2D48 3B 5A 00 0C */ addi r26, r26, 0xc /* 801E5DEC 001E2D4C 2C 1D 00 08 */ cmpwi r29, 8 /* 801E5DF0 001E2D50 41 80 FF 0C */ blt lbl_801E5CFC /* 801E5DF4 001E2D54 48 00 00 08 */ b lbl_801E5DFC lbl_801E5DF8: /* 801E5DF8 001E2D58 3B C0 00 01 */ li r30, 1 lbl_801E5DFC: /* 801E5DFC 001E2D5C 80 1B 00 74 */ lwz r0, 0x74(r27) /* 801E5E00 001E2D60 28 00 00 00 */ cmplwi r0, 0 /* 801E5E04 001E2D64 41 82 00 60 */ beq lbl_801E5E64 /* 801E5E08 001E2D68 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801E5E0C 001E2D6C 41 82 00 40 */ beq lbl_801E5E4C /* 801E5E10 001E2D70 C0 5B 01 24 */ lfs f2, 0x124(r27) /* 801E5E14 001E2D74 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E5E18 001E2D78 C0 3B 01 14 */ lfs f1, 0x114(r27) /* 801E5E1C 001E2D7C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801E5E20 001E2D80 C0 1B 01 04 */ lfs f0, 0x104(r27) /* 801E5E24 001E2D84 38 61 00 0C */ addi r3, r1, 0xc /* 801E5E28 001E2D88 38 81 00 24 */ addi r4, r1, 0x24 /* 801E5E2C 001E2D8C 38 C0 00 7F */ li r6, 0x7f /* 801E5E30 001E2D90 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801E5E34 001E2D94 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801E5E38 001E2D98 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801E5E3C 001E2D9C 80 1B 00 74 */ lwz r0, 0x74(r27) /* 801E5E40 001E2DA0 90 01 00 0C */ stw r0, 0xc(r1) /* 801E5E44 001E2DA4 48 10 40 6D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc /* 801E5E48 001E2DA8 48 00 00 1C */ b lbl_801E5E64 lbl_801E5E4C: /* 801E5E4C 001E2DAC 80 1B 00 74 */ lwz r0, 0x74(r27) /* 801E5E50 001E2DB0 38 61 00 08 */ addi r3, r1, 8 /* 801E5E54 001E2DB4 90 01 00 08 */ stw r0, 8(r1) /* 801E5E58 001E2DB8 48 10 40 2D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 801E5E5C 001E2DBC 38 00 00 00 */ li r0, 0 /* 801E5E60 001E2DC0 90 1B 00 74 */ stw r0, 0x74(r27) lbl_801E5E64: /* 801E5E64 001E2DC4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801E5E68 001E2DC8 40 82 00 10 */ bne lbl_801E5E78 /* 801E5E6C 001E2DCC 7F 63 DB 78 */ mr r3, r27 /* 801E5E70 001E2DD0 38 80 00 00 */ li r4, 0 /* 801E5E74 001E2DD4 4B FF FB 35 */ bl Unlock__Q220CActorModelParticles5CItemF11EDependency lbl_801E5E78: /* 801E5E78 001E2DD8 7F C3 F3 78 */ mr r3, r30 /* 801E5E7C 001E2DDC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801E5E80 001E2DE0 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801E5E84 001E2DE4 BB 21 00 44 */ lmw r25, 0x44(r1) /* 801E5E88 001E2DE8 80 01 00 74 */ lwz r0, 0x74(r1) /* 801E5E8C 001E2DEC 7C 08 03 A6 */ mtlr r0 /* 801E5E90 001E2DF0 38 21 00 70 */ addi r1, r1, 0x70 /* 801E5E94 001E2DF4 4E 80 00 20 */ blr .global sub_801e5e98 sub_801e5e98: /* 801E5E98 001E2DF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E5E9C 001E2DFC 7C 08 02 A6 */ mflr r0 /* 801E5EA0 001E2E00 28 04 00 00 */ cmplwi r4, 0 /* 801E5EA4 001E2E04 90 01 00 14 */ stw r0, 0x14(r1) /* 801E5EA8 001E2E08 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E5EAC 001E2E0C 7C 7F 1B 78 */ mr r31, r3 /* 801E5EB0 001E2E10 40 82 00 0C */ bne lbl_801E5EBC /* 801E5EB4 001E2E14 38 7F 00 DC */ addi r3, r31, 0xdc /* 801E5EB8 001E2E18 48 15 AE 89 */ bl Unlock__6CTokenFv lbl_801E5EBC: /* 801E5EBC 001E2E1C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E5EC0 001E2E20 88 7F 00 E0 */ lbz r3, 0xe0(r31) /* 801E5EC4 001E2E24 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E5EC8 001E2E28 7C 08 03 A6 */ mtlr r0 /* 801E5ECC 001E2E2C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E5ED0 001E2E30 4E 80 00 20 */ blr .global UpdateAshGen__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager UpdateAshGen__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager: /* 801E5ED4 001E2E34 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E5ED8 001E2E38 7C 08 02 A6 */ mflr r0 /* 801E5EDC 001E2E3C 90 01 00 44 */ stw r0, 0x44(r1) /* 801E5EE0 001E2E40 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801E5EE4 001E2E44 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801E5EE8 001E2E48 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E5EEC 001E2E4C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E5EF0 001E2E50 93 A1 00 24 */ stw r29, 0x24(r1) /* 801E5EF4 001E2E54 93 81 00 20 */ stw r28, 0x20(r1) /* 801E5EF8 001E2E58 7C 7C 1B 78 */ mr r28, r3 /* 801E5EFC 001E2E5C FF E0 08 90 */ fmr f31, f1 /* 801E5F00 001E2E60 80 63 00 7C */ lwz r3, 0x7c(r3) /* 801E5F04 001E2E64 7C 9D 23 78 */ mr r29, r4 /* 801E5F08 001E2E68 7C BE 2B 78 */ mr r30, r5 /* 801E5F0C 001E2E6C 28 03 00 00 */ cmplwi r3, 0 /* 801E5F10 001E2E70 41 82 00 EC */ beq lbl_801E5FFC /* 801E5F14 001E2E74 80 1C 00 84 */ lwz r0, 0x84(r28) /* 801E5F18 001E2E78 2C 00 00 00 */ cmpwi r0, 0 /* 801E5F1C 001E2E7C 40 82 00 AC */ bne lbl_801E5FC8 /* 801E5F20 001E2E80 81 83 00 00 */ lwz r12, 0(r3) /* 801E5F24 001E2E84 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801E5F28 001E2E88 7D 89 03 A6 */ mtctr r12 /* 801E5F2C 001E2E8C 4E 80 04 21 */ bctrl /* 801E5F30 001E2E90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E5F34 001E2E94 41 82 00 94 */ beq lbl_801E5FC8 /* 801E5F38 001E2E98 38 61 00 10 */ addi r3, r1, 0x10 /* 801E5F3C 001E2E9C 38 1C 00 78 */ addi r0, r28, 0x78 /* 801E5F40 001E2EA0 38 80 00 00 */ li r4, 0 /* 801E5F44 001E2EA4 7C 03 00 40 */ cmplw r3, r0 /* 801E5F48 001E2EA8 98 81 00 10 */ stb r4, 0x10(r1) /* 801E5F4C 001E2EAC 90 81 00 14 */ stw r4, 0x14(r1) /* 801E5F50 001E2EB0 41 82 00 48 */ beq lbl_801E5F98 /* 801E5F54 001E2EB4 88 1C 00 78 */ lbz r0, 0x78(r28) /* 801E5F58 001E2EB8 28 00 00 00 */ cmplwi r0, 0 /* 801E5F5C 001E2EBC 41 82 00 24 */ beq lbl_801E5F80 /* 801E5F60 001E2EC0 80 7C 00 7C */ lwz r3, 0x7c(r28) /* 801E5F64 001E2EC4 28 03 00 00 */ cmplwi r3, 0 /* 801E5F68 001E2EC8 41 82 00 18 */ beq lbl_801E5F80 /* 801E5F6C 001E2ECC 81 83 00 00 */ lwz r12, 0(r3) /* 801E5F70 001E2ED0 38 80 00 01 */ li r4, 1 /* 801E5F74 001E2ED4 81 8C 00 08 */ lwz r12, 8(r12) /* 801E5F78 001E2ED8 7D 89 03 A6 */ mtctr r12 /* 801E5F7C 001E2EDC 4E 80 04 21 */ bctrl lbl_801E5F80: /* 801E5F80 001E2EE0 88 61 00 10 */ lbz r3, 0x10(r1) /* 801E5F84 001E2EE4 38 00 00 00 */ li r0, 0 /* 801E5F88 001E2EE8 98 7C 00 78 */ stb r3, 0x78(r28) /* 801E5F8C 001E2EEC 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E5F90 001E2EF0 90 7C 00 7C */ stw r3, 0x7c(r28) /* 801E5F94 001E2EF4 98 01 00 10 */ stb r0, 0x10(r1) lbl_801E5F98: /* 801E5F98 001E2EF8 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E5F9C 001E2EFC 28 00 00 00 */ cmplwi r0, 0 /* 801E5FA0 001E2F00 41 82 01 8C */ beq lbl_801E612C /* 801E5FA4 001E2F04 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E5FA8 001E2F08 28 03 00 00 */ cmplwi r3, 0 /* 801E5FAC 001E2F0C 41 82 01 80 */ beq lbl_801E612C /* 801E5FB0 001E2F10 81 83 00 00 */ lwz r12, 0(r3) /* 801E5FB4 001E2F14 38 80 00 01 */ li r4, 1 /* 801E5FB8 001E2F18 81 8C 00 08 */ lwz r12, 8(r12) /* 801E5FBC 001E2F1C 7D 89 03 A6 */ mtctr r12 /* 801E5FC0 001E2F20 4E 80 04 21 */ bctrl /* 801E5FC4 001E2F24 48 00 01 68 */ b lbl_801E612C lbl_801E5FC8: /* 801E5FC8 001E2F28 28 1D 00 00 */ cmplwi r29, 0 /* 801E5FCC 001E2F2C 41 82 00 10 */ beq lbl_801E5FDC /* 801E5FD0 001E2F30 80 7C 00 7C */ lwz r3, 0x7c(r28) /* 801E5FD4 001E2F34 38 9D 00 34 */ addi r4, r29, 0x34 /* 801E5FD8 001E2F38 48 13 8B AD */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f lbl_801E5FDC: /* 801E5FDC 001E2F3C 80 7C 00 7C */ lwz r3, 0x7c(r28) /* 801E5FE0 001E2F40 FC 20 F8 90 */ fmr f1, f31 /* 801E5FE4 001E2F44 81 83 00 00 */ lwz r12, 0(r3) /* 801E5FE8 001E2F48 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E5FEC 001E2F4C 7D 89 03 A6 */ mtctr r12 /* 801E5FF0 001E2F50 4E 80 04 21 */ bctrl /* 801E5FF4 001E2F54 38 60 00 01 */ li r3, 1 /* 801E5FF8 001E2F58 48 00 01 44 */ b lbl_801E613C lbl_801E5FFC: /* 801E5FFC 001E2F5C 88 1C 01 34 */ lbz r0, 0x134(r28) /* 801E6000 001E2F60 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d /* 801E6004 001E2F64 41 82 01 28 */ beq lbl_801E612C /* 801E6008 001E2F68 28 1D 00 00 */ cmplwi r29, 0 /* 801E600C 001E2F6C 41 82 01 20 */ beq lbl_801E612C /* 801E6010 001E2F70 80 7C 01 28 */ lwz r3, 0x128(r28) /* 801E6014 001E2F74 88 03 00 E6 */ lbz r0, 0xe6(r3) /* 801E6018 001E2F78 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d /* 801E601C 001E2F7C 41 82 01 08 */ beq lbl_801E6124 /* 801E6020 001E2F80 4B FF F5 91 */ bl MakeAshGen__20CActorModelParticlesFv /* 801E6024 001E2F84 7C 7F 1B 78 */ mr r31, r3 /* 801E6028 001E2F88 38 81 00 08 */ addi r4, r1, 8 /* 801E602C 001E2F8C 7C 7F 00 D0 */ neg r3, r31 /* 801E6030 001E2F90 38 1C 00 78 */ addi r0, r28, 0x78 /* 801E6034 001E2F94 7C 63 FB 78 */ or r3, r3, r31 /* 801E6038 001E2F98 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E603C 001E2F9C 7C 04 00 40 */ cmplw r4, r0 /* 801E6040 001E2FA0 54 60 0F FE */ srwi r0, r3, 0x1f /* 801E6044 001E2FA4 98 01 00 08 */ stb r0, 8(r1) /* 801E6048 001E2FA8 41 82 00 48 */ beq lbl_801E6090 /* 801E604C 001E2FAC 88 1C 00 78 */ lbz r0, 0x78(r28) /* 801E6050 001E2FB0 28 00 00 00 */ cmplwi r0, 0 /* 801E6054 001E2FB4 41 82 00 24 */ beq lbl_801E6078 /* 801E6058 001E2FB8 80 7C 00 7C */ lwz r3, 0x7c(r28) /* 801E605C 001E2FBC 28 03 00 00 */ cmplwi r3, 0 /* 801E6060 001E2FC0 41 82 00 18 */ beq lbl_801E6078 /* 801E6064 001E2FC4 81 83 00 00 */ lwz r12, 0(r3) /* 801E6068 001E2FC8 38 80 00 01 */ li r4, 1 /* 801E606C 001E2FCC 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6070 001E2FD0 7D 89 03 A6 */ mtctr r12 /* 801E6074 001E2FD4 4E 80 04 21 */ bctrl lbl_801E6078: /* 801E6078 001E2FD8 88 61 00 08 */ lbz r3, 8(r1) /* 801E607C 001E2FDC 38 00 00 00 */ li r0, 0 /* 801E6080 001E2FE0 98 7C 00 78 */ stb r3, 0x78(r28) /* 801E6084 001E2FE4 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E6088 001E2FE8 90 7C 00 7C */ stw r3, 0x7c(r28) /* 801E608C 001E2FEC 98 01 00 08 */ stb r0, 8(r1) lbl_801E6090: /* 801E6090 001E2FF0 88 01 00 08 */ lbz r0, 8(r1) /* 801E6094 001E2FF4 28 00 00 00 */ cmplwi r0, 0 /* 801E6098 001E2FF8 41 82 00 24 */ beq lbl_801E60BC /* 801E609C 001E2FFC 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E60A0 001E3000 28 03 00 00 */ cmplwi r3, 0 /* 801E60A4 001E3004 41 82 00 18 */ beq lbl_801E60BC /* 801E60A8 001E3008 81 83 00 00 */ lwz r12, 0(r3) /* 801E60AC 001E300C 38 80 00 01 */ li r4, 1 /* 801E60B0 001E3010 81 8C 00 08 */ lwz r12, 8(r12) /* 801E60B4 001E3014 7D 89 03 A6 */ mtctr r12 /* 801E60B8 001E3018 4E 80 04 21 */ bctrl lbl_801E60BC: /* 801E60BC 001E301C 38 00 00 00 */ li r0, 0 /* 801E60C0 001E3020 7F E3 FB 78 */ mr r3, r31 /* 801E60C4 001E3024 90 1C 00 80 */ stw r0, 0x80(r28) /* 801E60C8 001E3028 38 9D 00 34 */ addi r4, r29, 0x34 /* 801E60CC 001E302C 48 13 8A B9 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f /* 801E60D0 001E3030 7F A3 EB 78 */ mr r3, r29 /* 801E60D4 001E3034 48 00 13 A5 */ bl IsMediumOrLarge__FRCActor /* 801E60D8 001E3038 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E60DC 001E303C 41 82 00 0C */ beq lbl_801E60E8 /* 801E60E0 001E3040 C0 42 AD 98 */ lfs f2, lbl_805ACAB8@sda21(r2) /* 801E60E4 001E3044 48 00 00 08 */ b lbl_801E60EC lbl_801E60E8: /* 801E60E8 001E3048 C0 42 AD 94 */ lfs f2, lbl_805ACAB4@sda21(r2) lbl_801E60EC: /* 801E60EC 001E304C 80 7F 00 90 */ lwz r3, 0x90(r31) /* 801E60F0 001E3050 3C 00 43 30 */ lis r0, 0x4330 /* 801E60F4 001E3054 90 01 00 18 */ stw r0, 0x18(r1) /* 801E60F8 001E3058 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 801E60FC 001E305C C8 22 AD 88 */ lfd f1, lbl_805ACAA8@sda21(r2) /* 801E6100 001E3060 90 01 00 1C */ stw r0, 0x1c(r1) /* 801E6104 001E3064 C8 01 00 18 */ lfd f0, 0x18(r1) /* 801E6108 001E3068 EC 00 08 28 */ fsubs f0, f0, f1 /* 801E610C 001E306C EC 22 00 32 */ fmuls f1, f2, f0 /* 801E6110 001E3070 48 1A 38 45 */ bl __cvt_fp2unsigned /* 801E6114 001E3074 90 7C 00 84 */ stw r3, 0x84(r28) /* 801E6118 001E3078 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801E611C 001E307C 48 12 C4 05 */ bl Next__9CRandom16Fv /* 801E6120 001E3080 90 7C 00 88 */ stw r3, 0x88(r28) lbl_801E6124: /* 801E6124 001E3084 38 60 00 01 */ li r3, 1 /* 801E6128 001E3088 48 00 00 14 */ b lbl_801E613C lbl_801E612C: /* 801E612C 001E308C 7F 83 E3 78 */ mr r3, r28 /* 801E6130 001E3090 38 80 00 02 */ li r4, 2 /* 801E6134 001E3094 4B FF F8 75 */ bl Unlock__Q220CActorModelParticles5CItemF11EDependency /* 801E6138 001E3098 38 60 00 00 */ li r3, 0 lbl_801E613C: /* 801E613C 001E309C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801E6140 001E30A0 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E6144 001E30A4 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801E6148 001E30A8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E614C 001E30AC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E6150 001E30B0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801E6154 001E30B4 83 81 00 20 */ lwz r28, 0x20(r1) /* 801E6158 001E30B8 7C 08 03 A6 */ mtlr r0 /* 801E615C 001E30BC 38 21 00 40 */ addi r1, r1, 0x40 /* 801E6160 001E30C0 4E 80 00 20 */ blr .global UpdateIcePop__Q220CActorModelParticles5CItemFfR6CActor UpdateIcePop__Q220CActorModelParticles5CItemFfR6CActor: /* 801E6164 001E30C4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E6168 001E30C8 7C 08 02 A6 */ mflr r0 /* 801E616C 001E30CC 90 01 00 44 */ stw r0, 0x44(r1) /* 801E6170 001E30D0 DB E1 00 38 */ stfd f31, 0x38(r1) /* 801E6174 001E30D4 FF E0 08 90 */ fmr f31, f1 /* 801E6178 001E30D8 93 E1 00 34 */ stw r31, 0x34(r1) /* 801E617C 001E30DC 7C 7F 1B 78 */ mr r31, r3 /* 801E6180 001E30E0 93 C1 00 30 */ stw r30, 0x30(r1) /* 801E6184 001E30E4 93 A1 00 2C */ stw r29, 0x2c(r1) /* 801E6188 001E30E8 7C 9D 23 78 */ mr r29, r4 /* 801E618C 001E30EC 80 63 00 E8 */ lwz r3, 0xe8(r3) /* 801E6190 001E30F0 28 03 00 00 */ cmplwi r3, 0 /* 801E6194 001E30F4 41 82 00 CC */ beq lbl_801E6260 /* 801E6198 001E30F8 81 83 00 00 */ lwz r12, 0(r3) /* 801E619C 001E30FC 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801E61A0 001E3100 7D 89 03 A6 */ mtctr r12 /* 801E61A4 001E3104 4E 80 04 21 */ bctrl /* 801E61A8 001E3108 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E61AC 001E310C 41 82 00 94 */ beq lbl_801E6240 /* 801E61B0 001E3110 38 61 00 10 */ addi r3, r1, 0x10 /* 801E61B4 001E3114 38 1F 00 E4 */ addi r0, r31, 0xe4 /* 801E61B8 001E3118 38 80 00 00 */ li r4, 0 /* 801E61BC 001E311C 7C 03 00 40 */ cmplw r3, r0 /* 801E61C0 001E3120 98 81 00 10 */ stb r4, 0x10(r1) /* 801E61C4 001E3124 90 81 00 14 */ stw r4, 0x14(r1) /* 801E61C8 001E3128 41 82 00 48 */ beq lbl_801E6210 /* 801E61CC 001E312C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801E61D0 001E3130 28 00 00 00 */ cmplwi r0, 0 /* 801E61D4 001E3134 41 82 00 24 */ beq lbl_801E61F8 /* 801E61D8 001E3138 80 7F 00 E8 */ lwz r3, 0xe8(r31) /* 801E61DC 001E313C 28 03 00 00 */ cmplwi r3, 0 /* 801E61E0 001E3140 41 82 00 18 */ beq lbl_801E61F8 /* 801E61E4 001E3144 81 83 00 00 */ lwz r12, 0(r3) /* 801E61E8 001E3148 38 80 00 01 */ li r4, 1 /* 801E61EC 001E314C 81 8C 00 08 */ lwz r12, 8(r12) /* 801E61F0 001E3150 7D 89 03 A6 */ mtctr r12 /* 801E61F4 001E3154 4E 80 04 21 */ bctrl lbl_801E61F8: /* 801E61F8 001E3158 88 61 00 10 */ lbz r3, 0x10(r1) /* 801E61FC 001E315C 38 00 00 00 */ li r0, 0 /* 801E6200 001E3160 98 7F 00 E4 */ stb r3, 0xe4(r31) /* 801E6204 001E3164 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E6208 001E3168 90 7F 00 E8 */ stw r3, 0xe8(r31) /* 801E620C 001E316C 98 01 00 10 */ stb r0, 0x10(r1) lbl_801E6210: /* 801E6210 001E3170 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E6214 001E3174 28 00 00 00 */ cmplwi r0, 0 /* 801E6218 001E3178 41 82 01 48 */ beq lbl_801E6360 /* 801E621C 001E317C 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E6220 001E3180 28 03 00 00 */ cmplwi r3, 0 /* 801E6224 001E3184 41 82 01 3C */ beq lbl_801E6360 /* 801E6228 001E3188 81 83 00 00 */ lwz r12, 0(r3) /* 801E622C 001E318C 38 80 00 01 */ li r4, 1 /* 801E6230 001E3190 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6234 001E3194 7D 89 03 A6 */ mtctr r12 /* 801E6238 001E3198 4E 80 04 21 */ bctrl /* 801E623C 001E319C 48 00 01 24 */ b lbl_801E6360 lbl_801E6240: /* 801E6240 001E31A0 80 7F 00 E8 */ lwz r3, 0xe8(r31) /* 801E6244 001E31A4 FC 20 F8 90 */ fmr f1, f31 /* 801E6248 001E31A8 81 83 00 00 */ lwz r12, 0(r3) /* 801E624C 001E31AC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E6250 001E31B0 7D 89 03 A6 */ mtctr r12 /* 801E6254 001E31B4 4E 80 04 21 */ bctrl /* 801E6258 001E31B8 38 60 00 01 */ li r3, 1 /* 801E625C 001E31BC 48 00 01 14 */ b lbl_801E6370 lbl_801E6260: /* 801E6260 001E31C0 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E6264 001E31C4 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a /* 801E6268 001E31C8 41 82 00 F8 */ beq lbl_801E6360 /* 801E626C 001E31CC 28 1D 00 00 */ cmplwi r29, 0 /* 801E6270 001E31D0 41 82 00 F0 */ beq lbl_801E6360 /* 801E6274 001E31D4 80 7F 01 28 */ lwz r3, 0x128(r31) /* 801E6278 001E31D8 88 03 00 E6 */ lbz r0, 0xe6(r3) /* 801E627C 001E31DC 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a /* 801E6280 001E31E0 41 82 00 D8 */ beq lbl_801E6358 /* 801E6284 001E31E4 4B FF F1 F5 */ bl MakeIcePopGen__20CActorModelParticlesFv /* 801E6288 001E31E8 81 83 00 00 */ lwz r12, 0(r3) /* 801E628C 001E31EC 7C 7E 1B 78 */ mr r30, r3 /* 801E6290 001E31F0 38 9D 00 34 */ addi r4, r29, 0x34 /* 801E6294 001E31F4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E6298 001E31F8 7D 89 03 A6 */ mtctr r12 /* 801E629C 001E31FC 4E 80 04 21 */ bctrl /* 801E62A0 001E3200 38 61 00 18 */ addi r3, r1, 0x18 /* 801E62A4 001E3204 38 9D 00 9C */ addi r4, r29, 0x9c /* 801E62A8 001E3208 48 15 13 65 */ bl GetCenterPoint__6CAABoxCFv /* 801E62AC 001E320C 7F C3 F3 78 */ mr r3, r30 /* 801E62B0 001E3210 38 81 00 18 */ addi r4, r1, 0x18 /* 801E62B4 001E3214 81 9E 00 00 */ lwz r12, 0(r30) /* 801E62B8 001E3218 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801E62BC 001E321C 7D 89 03 A6 */ mtctr r12 /* 801E62C0 001E3220 4E 80 04 21 */ bctrl /* 801E62C4 001E3224 7C 1E 00 D0 */ neg r0, r30 /* 801E62C8 001E3228 38 61 00 08 */ addi r3, r1, 8 /* 801E62CC 001E322C 7C 04 F3 78 */ or r4, r0, r30 /* 801E62D0 001E3230 38 1F 00 E4 */ addi r0, r31, 0xe4 /* 801E62D4 001E3234 54 84 0F FE */ srwi r4, r4, 0x1f /* 801E62D8 001E3238 93 C1 00 0C */ stw r30, 0xc(r1) /* 801E62DC 001E323C 7C 03 00 40 */ cmplw r3, r0 /* 801E62E0 001E3240 98 81 00 08 */ stb r4, 8(r1) /* 801E62E4 001E3244 41 82 00 48 */ beq lbl_801E632C /* 801E62E8 001E3248 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801E62EC 001E324C 28 00 00 00 */ cmplwi r0, 0 /* 801E62F0 001E3250 41 82 00 24 */ beq lbl_801E6314 /* 801E62F4 001E3254 80 7F 00 E8 */ lwz r3, 0xe8(r31) /* 801E62F8 001E3258 28 03 00 00 */ cmplwi r3, 0 /* 801E62FC 001E325C 41 82 00 18 */ beq lbl_801E6314 /* 801E6300 001E3260 81 83 00 00 */ lwz r12, 0(r3) /* 801E6304 001E3264 38 80 00 01 */ li r4, 1 /* 801E6308 001E3268 81 8C 00 08 */ lwz r12, 8(r12) /* 801E630C 001E326C 7D 89 03 A6 */ mtctr r12 /* 801E6310 001E3270 4E 80 04 21 */ bctrl lbl_801E6314: /* 801E6314 001E3274 88 61 00 08 */ lbz r3, 8(r1) /* 801E6318 001E3278 38 00 00 00 */ li r0, 0 /* 801E631C 001E327C 98 7F 00 E4 */ stb r3, 0xe4(r31) /* 801E6320 001E3280 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E6324 001E3284 90 7F 00 E8 */ stw r3, 0xe8(r31) /* 801E6328 001E3288 98 01 00 08 */ stb r0, 8(r1) lbl_801E632C: /* 801E632C 001E328C 88 01 00 08 */ lbz r0, 8(r1) /* 801E6330 001E3290 28 00 00 00 */ cmplwi r0, 0 /* 801E6334 001E3294 41 82 00 24 */ beq lbl_801E6358 /* 801E6338 001E3298 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E633C 001E329C 28 03 00 00 */ cmplwi r3, 0 /* 801E6340 001E32A0 41 82 00 18 */ beq lbl_801E6358 /* 801E6344 001E32A4 81 83 00 00 */ lwz r12, 0(r3) /* 801E6348 001E32A8 38 80 00 01 */ li r4, 1 /* 801E634C 001E32AC 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6350 001E32B0 7D 89 03 A6 */ mtctr r12 /* 801E6354 001E32B4 4E 80 04 21 */ bctrl lbl_801E6358: /* 801E6358 001E32B8 38 60 00 01 */ li r3, 1 /* 801E635C 001E32BC 48 00 00 14 */ b lbl_801E6370 lbl_801E6360: /* 801E6360 001E32C0 7F E3 FB 78 */ mr r3, r31 /* 801E6364 001E32C4 38 80 00 05 */ li r4, 5 /* 801E6368 001E32C8 4B FF F6 41 */ bl Unlock__Q220CActorModelParticles5CItemF11EDependency /* 801E636C 001E32CC 38 60 00 00 */ li r3, 0 lbl_801E6370: /* 801E6370 001E32D0 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E6374 001E32D4 CB E1 00 38 */ lfd f31, 0x38(r1) /* 801E6378 001E32D8 83 E1 00 34 */ lwz r31, 0x34(r1) /* 801E637C 001E32DC 83 C1 00 30 */ lwz r30, 0x30(r1) /* 801E6380 001E32E0 83 A1 00 2C */ lwz r29, 0x2c(r1) /* 801E6384 001E32E4 7C 08 03 A6 */ mtlr r0 /* 801E6388 001E32E8 38 21 00 40 */ addi r1, r1, 0x40 /* 801E638C 001E32EC 4E 80 00 20 */ blr .global UpdateFirePop__Q220CActorModelParticles5CItemFfR6CActor UpdateFirePop__Q220CActorModelParticles5CItemFfR6CActor: /* 801E6390 001E32F0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E6394 001E32F4 7C 08 02 A6 */ mflr r0 /* 801E6398 001E32F8 90 01 00 44 */ stw r0, 0x44(r1) /* 801E639C 001E32FC DB E1 00 38 */ stfd f31, 0x38(r1) /* 801E63A0 001E3300 FF E0 08 90 */ fmr f31, f1 /* 801E63A4 001E3304 93 E1 00 34 */ stw r31, 0x34(r1) /* 801E63A8 001E3308 7C 7F 1B 78 */ mr r31, r3 /* 801E63AC 001E330C 93 C1 00 30 */ stw r30, 0x30(r1) /* 801E63B0 001E3310 93 A1 00 2C */ stw r29, 0x2c(r1) /* 801E63B4 001E3314 7C 9D 23 78 */ mr r29, r4 /* 801E63B8 001E3318 80 63 00 BC */ lwz r3, 0xbc(r3) /* 801E63BC 001E331C 28 03 00 00 */ cmplwi r3, 0 /* 801E63C0 001E3320 41 82 00 CC */ beq lbl_801E648C /* 801E63C4 001E3324 81 83 00 00 */ lwz r12, 0(r3) /* 801E63C8 001E3328 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801E63CC 001E332C 7D 89 03 A6 */ mtctr r12 /* 801E63D0 001E3330 4E 80 04 21 */ bctrl /* 801E63D4 001E3334 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E63D8 001E3338 41 82 00 94 */ beq lbl_801E646C /* 801E63DC 001E333C 38 61 00 10 */ addi r3, r1, 0x10 /* 801E63E0 001E3340 38 1F 00 B8 */ addi r0, r31, 0xb8 /* 801E63E4 001E3344 38 80 00 00 */ li r4, 0 /* 801E63E8 001E3348 7C 03 00 40 */ cmplw r3, r0 /* 801E63EC 001E334C 98 81 00 10 */ stb r4, 0x10(r1) /* 801E63F0 001E3350 90 81 00 14 */ stw r4, 0x14(r1) /* 801E63F4 001E3354 41 82 00 48 */ beq lbl_801E643C /* 801E63F8 001E3358 88 1F 00 B8 */ lbz r0, 0xb8(r31) /* 801E63FC 001E335C 28 00 00 00 */ cmplwi r0, 0 /* 801E6400 001E3360 41 82 00 24 */ beq lbl_801E6424 /* 801E6404 001E3364 80 7F 00 BC */ lwz r3, 0xbc(r31) /* 801E6408 001E3368 28 03 00 00 */ cmplwi r3, 0 /* 801E640C 001E336C 41 82 00 18 */ beq lbl_801E6424 /* 801E6410 001E3370 81 83 00 00 */ lwz r12, 0(r3) /* 801E6414 001E3374 38 80 00 01 */ li r4, 1 /* 801E6418 001E3378 81 8C 00 08 */ lwz r12, 8(r12) /* 801E641C 001E337C 7D 89 03 A6 */ mtctr r12 /* 801E6420 001E3380 4E 80 04 21 */ bctrl lbl_801E6424: /* 801E6424 001E3384 88 61 00 10 */ lbz r3, 0x10(r1) /* 801E6428 001E3388 38 00 00 00 */ li r0, 0 /* 801E642C 001E338C 98 7F 00 B8 */ stb r3, 0xb8(r31) /* 801E6430 001E3390 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E6434 001E3394 90 7F 00 BC */ stw r3, 0xbc(r31) /* 801E6438 001E3398 98 01 00 10 */ stb r0, 0x10(r1) lbl_801E643C: /* 801E643C 001E339C 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E6440 001E33A0 28 00 00 00 */ cmplwi r0, 0 /* 801E6444 001E33A4 41 82 01 48 */ beq lbl_801E658C /* 801E6448 001E33A8 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E644C 001E33AC 28 03 00 00 */ cmplwi r3, 0 /* 801E6450 001E33B0 41 82 01 3C */ beq lbl_801E658C /* 801E6454 001E33B4 81 83 00 00 */ lwz r12, 0(r3) /* 801E6458 001E33B8 38 80 00 01 */ li r4, 1 /* 801E645C 001E33BC 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6460 001E33C0 7D 89 03 A6 */ mtctr r12 /* 801E6464 001E33C4 4E 80 04 21 */ bctrl /* 801E6468 001E33C8 48 00 01 24 */ b lbl_801E658C lbl_801E646C: /* 801E646C 001E33CC 80 7F 00 BC */ lwz r3, 0xbc(r31) /* 801E6470 001E33D0 FC 20 F8 90 */ fmr f1, f31 /* 801E6474 001E33D4 81 83 00 00 */ lwz r12, 0(r3) /* 801E6478 001E33D8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E647C 001E33DC 7D 89 03 A6 */ mtctr r12 /* 801E6480 001E33E0 4E 80 04 21 */ bctrl /* 801E6484 001E33E4 38 60 00 01 */ li r3, 1 /* 801E6488 001E33E8 48 00 01 14 */ b lbl_801E659C lbl_801E648C: /* 801E648C 001E33EC 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E6490 001E33F0 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 801E6494 001E33F4 41 82 00 F8 */ beq lbl_801E658C /* 801E6498 001E33F8 28 1D 00 00 */ cmplwi r29, 0 /* 801E649C 001E33FC 41 82 00 F0 */ beq lbl_801E658C /* 801E64A0 001E3400 80 7F 01 28 */ lwz r3, 0x128(r31) /* 801E64A4 001E3404 88 03 00 E6 */ lbz r0, 0xe6(r3) /* 801E64A8 001E3408 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 801E64AC 001E340C 41 82 00 D8 */ beq lbl_801E6584 /* 801E64B0 001E3410 4B FF F0 65 */ bl MakeFirePopGen__20CActorModelParticlesFv /* 801E64B4 001E3414 81 83 00 00 */ lwz r12, 0(r3) /* 801E64B8 001E3418 7C 7E 1B 78 */ mr r30, r3 /* 801E64BC 001E341C 38 9D 00 34 */ addi r4, r29, 0x34 /* 801E64C0 001E3420 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E64C4 001E3424 7D 89 03 A6 */ mtctr r12 /* 801E64C8 001E3428 4E 80 04 21 */ bctrl /* 801E64CC 001E342C 38 61 00 18 */ addi r3, r1, 0x18 /* 801E64D0 001E3430 38 9D 00 9C */ addi r4, r29, 0x9c /* 801E64D4 001E3434 48 15 11 39 */ bl GetCenterPoint__6CAABoxCFv /* 801E64D8 001E3438 7F C3 F3 78 */ mr r3, r30 /* 801E64DC 001E343C 38 81 00 18 */ addi r4, r1, 0x18 /* 801E64E0 001E3440 81 9E 00 00 */ lwz r12, 0(r30) /* 801E64E4 001E3444 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801E64E8 001E3448 7D 89 03 A6 */ mtctr r12 /* 801E64EC 001E344C 4E 80 04 21 */ bctrl /* 801E64F0 001E3450 7C 1E 00 D0 */ neg r0, r30 /* 801E64F4 001E3454 38 61 00 08 */ addi r3, r1, 8 /* 801E64F8 001E3458 7C 04 F3 78 */ or r4, r0, r30 /* 801E64FC 001E345C 38 1F 00 B8 */ addi r0, r31, 0xb8 /* 801E6500 001E3460 54 84 0F FE */ srwi r4, r4, 0x1f /* 801E6504 001E3464 93 C1 00 0C */ stw r30, 0xc(r1) /* 801E6508 001E3468 7C 03 00 40 */ cmplw r3, r0 /* 801E650C 001E346C 98 81 00 08 */ stb r4, 8(r1) /* 801E6510 001E3470 41 82 00 48 */ beq lbl_801E6558 /* 801E6514 001E3474 88 1F 00 B8 */ lbz r0, 0xb8(r31) /* 801E6518 001E3478 28 00 00 00 */ cmplwi r0, 0 /* 801E651C 001E347C 41 82 00 24 */ beq lbl_801E6540 /* 801E6520 001E3480 80 7F 00 BC */ lwz r3, 0xbc(r31) /* 801E6524 001E3484 28 03 00 00 */ cmplwi r3, 0 /* 801E6528 001E3488 41 82 00 18 */ beq lbl_801E6540 /* 801E652C 001E348C 81 83 00 00 */ lwz r12, 0(r3) /* 801E6530 001E3490 38 80 00 01 */ li r4, 1 /* 801E6534 001E3494 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6538 001E3498 7D 89 03 A6 */ mtctr r12 /* 801E653C 001E349C 4E 80 04 21 */ bctrl lbl_801E6540: /* 801E6540 001E34A0 88 61 00 08 */ lbz r3, 8(r1) /* 801E6544 001E34A4 38 00 00 00 */ li r0, 0 /* 801E6548 001E34A8 98 7F 00 B8 */ stb r3, 0xb8(r31) /* 801E654C 001E34AC 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E6550 001E34B0 90 7F 00 BC */ stw r3, 0xbc(r31) /* 801E6554 001E34B4 98 01 00 08 */ stb r0, 8(r1) lbl_801E6558: /* 801E6558 001E34B8 88 01 00 08 */ lbz r0, 8(r1) /* 801E655C 001E34BC 28 00 00 00 */ cmplwi r0, 0 /* 801E6560 001E34C0 41 82 00 24 */ beq lbl_801E6584 /* 801E6564 001E34C4 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E6568 001E34C8 28 03 00 00 */ cmplwi r3, 0 /* 801E656C 001E34CC 41 82 00 18 */ beq lbl_801E6584 /* 801E6570 001E34D0 81 83 00 00 */ lwz r12, 0(r3) /* 801E6574 001E34D4 38 80 00 01 */ li r4, 1 /* 801E6578 001E34D8 81 8C 00 08 */ lwz r12, 8(r12) /* 801E657C 001E34DC 7D 89 03 A6 */ mtctr r12 /* 801E6580 001E34E0 4E 80 04 21 */ bctrl lbl_801E6584: /* 801E6584 001E34E4 38 60 00 01 */ li r3, 1 /* 801E6588 001E34E8 48 00 00 14 */ b lbl_801E659C lbl_801E658C: /* 801E658C 001E34EC 7F E3 FB 78 */ mr r3, r31 /* 801E6590 001E34F0 38 80 00 03 */ li r4, 3 /* 801E6594 001E34F4 4B FF F4 15 */ bl Unlock__Q220CActorModelParticles5CItemF11EDependency /* 801E6598 001E34F8 38 60 00 00 */ li r3, 0 lbl_801E659C: /* 801E659C 001E34FC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E65A0 001E3500 CB E1 00 38 */ lfd f31, 0x38(r1) /* 801E65A4 001E3504 83 E1 00 34 */ lwz r31, 0x34(r1) /* 801E65A8 001E3508 83 C1 00 30 */ lwz r30, 0x30(r1) /* 801E65AC 001E350C 83 A1 00 2C */ lwz r29, 0x2c(r1) /* 801E65B0 001E3510 7C 08 03 A6 */ mtlr r0 /* 801E65B4 001E3514 38 21 00 40 */ addi r1, r1, 0x40 /* 801E65B8 001E3518 4E 80 00 20 */ blr .global sub_801e65bc sub_801e65bc: /* 801E65BC 001E351C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E65C0 001E3520 7C 08 02 A6 */ mflr r0 /* 801E65C4 001E3524 90 01 00 34 */ stw r0, 0x34(r1) /* 801E65C8 001E3528 DB E1 00 28 */ stfd f31, 0x28(r1) /* 801E65CC 001E352C FF E0 08 90 */ fmr f31, f1 /* 801E65D0 001E3530 BF 61 00 14 */ stmw r27, 0x14(r1) /* 801E65D4 001E3534 7C 7F 1B 78 */ mr r31, r3 /* 801E65D8 001E3538 80 03 00 B0 */ lwz r0, 0xb0(r3) /* 801E65DC 001E353C 2C 00 FF FF */ cmpwi r0, -1 /* 801E65E0 001E3540 41 82 00 0C */ beq lbl_801E65EC /* 801E65E4 001E3544 38 60 00 01 */ li r3, 1 /* 801E65E8 001E3548 48 00 01 30 */ b lbl_801E6718 lbl_801E65EC: /* 801E65EC 001E354C 80 1F 00 8C */ lwz r0, 0x8c(r31) /* 801E65F0 001E3550 2C 00 00 00 */ cmpwi r0, 0 /* 801E65F4 001E3554 41 82 00 D4 */ beq lbl_801E66C8 /* 801E65F8 001E3558 3B BF 00 90 */ addi r29, r31, 0x90 /* 801E65FC 001E355C 3B 80 00 00 */ li r28, 0 /* 801E6600 001E3560 7F BB EB 78 */ mr r27, r29 /* 801E6604 001E3564 48 00 00 44 */ b lbl_801E6648 lbl_801E6608: /* 801E6608 001E3568 83 DB 00 04 */ lwz r30, 4(r27) /* 801E660C 001E356C 7F C3 F3 78 */ mr r3, r30 /* 801E6610 001E3570 81 9E 00 00 */ lwz r12, 0(r30) /* 801E6614 001E3574 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801E6618 001E3578 7D 89 03 A6 */ mtctr r12 /* 801E661C 001E357C 4E 80 04 21 */ bctrl /* 801E6620 001E3580 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6624 001E3584 40 82 00 08 */ bne lbl_801E662C /* 801E6628 001E3588 3B 80 00 01 */ li r28, 1 lbl_801E662C: /* 801E662C 001E358C 7F C3 F3 78 */ mr r3, r30 /* 801E6630 001E3590 FC 20 F8 90 */ fmr f1, f31 /* 801E6634 001E3594 81 9E 00 00 */ lwz r12, 0(r30) /* 801E6638 001E3598 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E663C 001E359C 7D 89 03 A6 */ mtctr r12 /* 801E6640 001E35A0 4E 80 04 21 */ bctrl /* 801E6644 001E35A4 3B 7B 00 08 */ addi r27, r27, 8 lbl_801E6648: /* 801E6648 001E35A8 80 1F 00 8C */ lwz r0, 0x8c(r31) /* 801E664C 001E35AC 54 00 18 38 */ slwi r0, r0, 3 /* 801E6650 001E35B0 7C 1D 02 14 */ add r0, r29, r0 /* 801E6654 001E35B4 7C 1B 00 40 */ cmplw r27, r0 /* 801E6658 001E35B8 40 82 FF B0 */ bne lbl_801E6608 /* 801E665C 001E35BC 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801E6660 001E35C0 40 82 00 60 */ bne lbl_801E66C0 /* 801E6664 001E35C4 3B C0 00 00 */ li r30, 0 /* 801E6668 001E35C8 48 00 00 40 */ b lbl_801E66A8 lbl_801E666C: /* 801E666C 001E35CC 28 1D 00 00 */ cmplwi r29, 0 /* 801E6670 001E35D0 41 82 00 30 */ beq lbl_801E66A0 /* 801E6674 001E35D4 88 1D 00 00 */ lbz r0, 0(r29) /* 801E6678 001E35D8 28 00 00 00 */ cmplwi r0, 0 /* 801E667C 001E35DC 41 82 00 24 */ beq lbl_801E66A0 /* 801E6680 001E35E0 80 7D 00 04 */ lwz r3, 4(r29) /* 801E6684 001E35E4 28 03 00 00 */ cmplwi r3, 0 /* 801E6688 001E35E8 41 82 00 18 */ beq lbl_801E66A0 /* 801E668C 001E35EC 81 83 00 00 */ lwz r12, 0(r3) /* 801E6690 001E35F0 38 80 00 01 */ li r4, 1 /* 801E6694 001E35F4 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6698 001E35F8 7D 89 03 A6 */ mtctr r12 /* 801E669C 001E35FC 4E 80 04 21 */ bctrl lbl_801E66A0: /* 801E66A0 001E3600 3B BD 00 08 */ addi r29, r29, 8 /* 801E66A4 001E3604 3B DE 00 01 */ addi r30, r30, 1 lbl_801E66A8: /* 801E66A8 001E3608 80 1F 00 8C */ lwz r0, 0x8c(r31) /* 801E66AC 001E360C 7C 1E 00 00 */ cmpw r30, r0 /* 801E66B0 001E3610 41 80 FF BC */ blt lbl_801E666C /* 801E66B4 001E3614 38 00 00 00 */ li r0, 0 /* 801E66B8 001E3618 90 1F 00 8C */ stw r0, 0x8c(r31) /* 801E66BC 001E361C 48 00 00 4C */ b lbl_801E6708 lbl_801E66C0: /* 801E66C0 001E3620 38 60 00 01 */ li r3, 1 /* 801E66C4 001E3624 48 00 00 54 */ b lbl_801E6718 lbl_801E66C8: /* 801E66C8 001E3628 88 1F 01 34 */ lbz r0, 0x134(r31) /* 801E66CC 001E362C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 801E66D0 001E3630 41 82 00 38 */ beq lbl_801E6708 /* 801E66D4 001E3634 28 04 00 00 */ cmplwi r4, 0 /* 801E66D8 001E3638 41 82 00 30 */ beq lbl_801E6708 /* 801E66DC 001E363C 80 7F 01 28 */ lwz r3, 0x128(r31) /* 801E66E0 001E3640 88 03 00 E6 */ lbz r0, 0xe6(r3) /* 801E66E4 001E3644 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 801E66E8 001E3648 41 82 00 18 */ beq lbl_801E6700 /* 801E66EC 001E364C 38 00 00 00 */ li r0, 0 /* 801E66F0 001E3650 90 1F 00 B0 */ stw r0, 0xb0(r31) /* 801E66F4 001E3654 80 65 09 00 */ lwz r3, 0x900(r5) /* 801E66F8 001E3658 48 12 BE 29 */ bl Next__9CRandom16Fv /* 801E66FC 001E365C 90 7F 00 B4 */ stw r3, 0xb4(r31) lbl_801E6700: /* 801E6700 001E3660 38 60 00 01 */ li r3, 1 /* 801E6704 001E3664 48 00 00 14 */ b lbl_801E6718 lbl_801E6708: /* 801E6708 001E3668 7F E3 FB 78 */ mr r3, r31 /* 801E670C 001E366C 38 80 00 01 */ li r4, 1 /* 801E6710 001E3670 4B FF F2 99 */ bl Unlock__Q220CActorModelParticles5CItemF11EDependency /* 801E6714 001E3674 38 60 00 00 */ li r3, 0 lbl_801E6718: /* 801E6718 001E3678 CB E1 00 28 */ lfd f31, 0x28(r1) /* 801E671C 001E367C BB 61 00 14 */ lmw r27, 0x14(r1) /* 801E6720 001E3680 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E6724 001E3684 7C 08 03 A6 */ mtlr r0 /* 801E6728 001E3688 38 21 00 30 */ addi r1, r1, 0x30 /* 801E672C 001E368C 4E 80 00 20 */ blr .global UpdateElectric__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager UpdateElectric__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager: /* 801E6730 001E3690 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801E6734 001E3694 7C 08 02 A6 */ mflr r0 /* 801E6738 001E3698 90 01 00 84 */ stw r0, 0x84(r1) /* 801E673C 001E369C DB E1 00 70 */ stfd f31, 0x70(r1) /* 801E6740 001E36A0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801E6744 001E36A4 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801E6748 001E36A8 93 C1 00 68 */ stw r30, 0x68(r1) /* 801E674C 001E36AC 93 A1 00 64 */ stw r29, 0x64(r1) /* 801E6750 001E36B0 93 81 00 60 */ stw r28, 0x60(r1) /* 801E6754 001E36B4 7C 7E 1B 78 */ mr r30, r3 /* 801E6758 001E36B8 FF E0 08 90 */ fmr f31, f1 /* 801E675C 001E36BC 80 63 00 C4 */ lwz r3, 0xc4(r3) /* 801E6760 001E36C0 7C 9C 23 78 */ mr r28, r4 /* 801E6764 001E36C4 7C BF 2B 78 */ mr r31, r5 /* 801E6768 001E36C8 28 03 00 00 */ cmplwi r3, 0 /* 801E676C 001E36CC 41 82 01 64 */ beq lbl_801E68D0 /* 801E6770 001E36D0 81 83 00 00 */ lwz r12, 0(r3) /* 801E6774 001E36D4 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801E6778 001E36D8 7D 89 03 A6 */ mtctr r12 /* 801E677C 001E36DC 4E 80 04 21 */ bctrl /* 801E6780 001E36E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6784 001E36E4 41 82 00 94 */ beq lbl_801E6818 /* 801E6788 001E36E8 38 61 00 10 */ addi r3, r1, 0x10 /* 801E678C 001E36EC 38 1E 00 C0 */ addi r0, r30, 0xc0 /* 801E6790 001E36F0 38 80 00 00 */ li r4, 0 /* 801E6794 001E36F4 7C 03 00 40 */ cmplw r3, r0 /* 801E6798 001E36F8 98 81 00 10 */ stb r4, 0x10(r1) /* 801E679C 001E36FC 90 81 00 14 */ stw r4, 0x14(r1) /* 801E67A0 001E3700 41 82 00 48 */ beq lbl_801E67E8 /* 801E67A4 001E3704 88 1E 00 C0 */ lbz r0, 0xc0(r30) /* 801E67A8 001E3708 28 00 00 00 */ cmplwi r0, 0 /* 801E67AC 001E370C 41 82 00 24 */ beq lbl_801E67D0 /* 801E67B0 001E3710 80 7E 00 C4 */ lwz r3, 0xc4(r30) /* 801E67B4 001E3714 28 03 00 00 */ cmplwi r3, 0 /* 801E67B8 001E3718 41 82 00 18 */ beq lbl_801E67D0 /* 801E67BC 001E371C 81 83 00 00 */ lwz r12, 0(r3) /* 801E67C0 001E3720 38 80 00 01 */ li r4, 1 /* 801E67C4 001E3724 81 8C 00 08 */ lwz r12, 8(r12) /* 801E67C8 001E3728 7D 89 03 A6 */ mtctr r12 /* 801E67CC 001E372C 4E 80 04 21 */ bctrl lbl_801E67D0: /* 801E67D0 001E3730 88 61 00 10 */ lbz r3, 0x10(r1) /* 801E67D4 001E3734 38 00 00 00 */ li r0, 0 /* 801E67D8 001E3738 98 7E 00 C0 */ stb r3, 0xc0(r30) /* 801E67DC 001E373C 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E67E0 001E3740 90 7E 00 C4 */ stw r3, 0xc4(r30) /* 801E67E4 001E3744 98 01 00 10 */ stb r0, 0x10(r1) lbl_801E67E8: /* 801E67E8 001E3748 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E67EC 001E374C 28 00 00 00 */ cmplwi r0, 0 /* 801E67F0 001E3750 41 82 01 C8 */ beq lbl_801E69B8 /* 801E67F4 001E3754 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E67F8 001E3758 28 03 00 00 */ cmplwi r3, 0 /* 801E67FC 001E375C 41 82 01 BC */ beq lbl_801E69B8 /* 801E6800 001E3760 81 83 00 00 */ lwz r12, 0(r3) /* 801E6804 001E3764 38 80 00 01 */ li r4, 1 /* 801E6808 001E3768 81 8C 00 08 */ lwz r12, 8(r12) /* 801E680C 001E376C 7D 89 03 A6 */ mtctr r12 /* 801E6810 001E3770 4E 80 04 21 */ bctrl /* 801E6814 001E3774 48 00 01 A4 */ b lbl_801E69B8 lbl_801E6818: /* 801E6818 001E3778 28 1C 00 00 */ cmplwi r28, 0 /* 801E681C 001E377C 41 82 00 68 */ beq lbl_801E6884 /* 801E6820 001E3780 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801E6824 001E3784 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E6828 001E3788 41 82 00 5C */ beq lbl_801E6884 /* 801E682C 001E378C 83 BE 00 C4 */ lwz r29, 0xc4(r30) /* 801E6830 001E3790 38 61 00 24 */ addi r3, r1, 0x24 /* 801E6834 001E3794 38 9C 00 34 */ addi r4, r28, 0x34 /* 801E6838 001E3798 48 12 C4 09 */ bl GetRotation__12CTransform4fCFv /* 801E683C 001E379C 7F A3 EB 78 */ mr r3, r29 /* 801E6840 001E37A0 38 81 00 24 */ addi r4, r1, 0x24 /* 801E6844 001E37A4 81 9D 00 00 */ lwz r12, 0(r29) /* 801E6848 001E37A8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801E684C 001E37AC 7D 89 03 A6 */ mtctr r12 /* 801E6850 001E37B0 4E 80 04 21 */ bctrl /* 801E6854 001E37B4 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801E6858 001E37B8 38 81 00 18 */ addi r4, r1, 0x18 /* 801E685C 001E37BC C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801E6860 001E37C0 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801E6864 001E37C4 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801E6868 001E37C8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801E686C 001E37CC D0 41 00 20 */ stfs f2, 0x20(r1) /* 801E6870 001E37D0 80 7E 00 C4 */ lwz r3, 0xc4(r30) /* 801E6874 001E37D4 81 83 00 00 */ lwz r12, 0(r3) /* 801E6878 001E37D8 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801E687C 001E37DC 7D 89 03 A6 */ mtctr r12 /* 801E6880 001E37E0 4E 80 04 21 */ bctrl lbl_801E6884: /* 801E6884 001E37E4 28 1C 00 00 */ cmplwi r28, 0 /* 801E6888 001E37E8 41 82 00 10 */ beq lbl_801E6898 /* 801E688C 001E37EC 88 1C 00 30 */ lbz r0, 0x30(r28) /* 801E6890 001E37F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E6894 001E37F4 41 82 01 24 */ beq lbl_801E69B8 lbl_801E6898: /* 801E6898 001E37F8 80 7E 00 C4 */ lwz r3, 0xc4(r30) /* 801E689C 001E37FC 38 9E 00 D0 */ addi r4, r30, 0xd0 /* 801E68A0 001E3800 81 83 00 00 */ lwz r12, 0(r3) /* 801E68A4 001E3804 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801E68A8 001E3808 7D 89 03 A6 */ mtctr r12 /* 801E68AC 001E380C 4E 80 04 21 */ bctrl /* 801E68B0 001E3810 80 7E 00 C4 */ lwz r3, 0xc4(r30) /* 801E68B4 001E3814 FC 20 F8 90 */ fmr f1, f31 /* 801E68B8 001E3818 81 83 00 00 */ lwz r12, 0(r3) /* 801E68BC 001E381C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E68C0 001E3820 7D 89 03 A6 */ mtctr r12 /* 801E68C4 001E3824 4E 80 04 21 */ bctrl /* 801E68C8 001E3828 38 60 00 01 */ li r3, 1 /* 801E68CC 001E382C 48 00 00 FC */ b lbl_801E69C8 lbl_801E68D0: /* 801E68D0 001E3830 88 1E 01 34 */ lbz r0, 0x134(r30) /* 801E68D4 001E3834 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b /* 801E68D8 001E3838 41 82 00 E0 */ beq lbl_801E69B8 /* 801E68DC 001E383C 80 7E 01 28 */ lwz r3, 0x128(r30) /* 801E68E0 001E3840 88 03 00 E6 */ lbz r0, 0xe6(r3) /* 801E68E4 001E3844 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b /* 801E68E8 001E3848 41 82 00 C8 */ beq lbl_801E69B0 /* 801E68EC 001E384C 4B FF EA F9 */ bl MakeElectricGen__20CActorModelParticlesFv /* 801E68F0 001E3850 81 83 00 00 */ lwz r12, 0(r3) /* 801E68F4 001E3854 7C 7D 1B 78 */ mr r29, r3 /* 801E68F8 001E3858 38 9E 00 D0 */ addi r4, r30, 0xd0 /* 801E68FC 001E385C 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801E6900 001E3860 7D 89 03 A6 */ mtctr r12 /* 801E6904 001E3864 4E 80 04 21 */ bctrl /* 801E6908 001E3868 7C 1D 00 D0 */ neg r0, r29 /* 801E690C 001E386C 38 61 00 08 */ addi r3, r1, 8 /* 801E6910 001E3870 7C 04 EB 78 */ or r4, r0, r29 /* 801E6914 001E3874 38 1E 00 C0 */ addi r0, r30, 0xc0 /* 801E6918 001E3878 54 84 0F FE */ srwi r4, r4, 0x1f /* 801E691C 001E387C 93 A1 00 0C */ stw r29, 0xc(r1) /* 801E6920 001E3880 7C 03 00 40 */ cmplw r3, r0 /* 801E6924 001E3884 98 81 00 08 */ stb r4, 8(r1) /* 801E6928 001E3888 41 82 00 48 */ beq lbl_801E6970 /* 801E692C 001E388C 88 1E 00 C0 */ lbz r0, 0xc0(r30) /* 801E6930 001E3890 28 00 00 00 */ cmplwi r0, 0 /* 801E6934 001E3894 41 82 00 24 */ beq lbl_801E6958 /* 801E6938 001E3898 80 7E 00 C4 */ lwz r3, 0xc4(r30) /* 801E693C 001E389C 28 03 00 00 */ cmplwi r3, 0 /* 801E6940 001E38A0 41 82 00 18 */ beq lbl_801E6958 /* 801E6944 001E38A4 81 83 00 00 */ lwz r12, 0(r3) /* 801E6948 001E38A8 38 80 00 01 */ li r4, 1 /* 801E694C 001E38AC 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6950 001E38B0 7D 89 03 A6 */ mtctr r12 /* 801E6954 001E38B4 4E 80 04 21 */ bctrl lbl_801E6958: /* 801E6958 001E38B8 88 61 00 08 */ lbz r3, 8(r1) /* 801E695C 001E38BC 38 00 00 00 */ li r0, 0 /* 801E6960 001E38C0 98 7E 00 C0 */ stb r3, 0xc0(r30) /* 801E6964 001E38C4 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E6968 001E38C8 90 7E 00 C4 */ stw r3, 0xc4(r30) /* 801E696C 001E38CC 98 01 00 08 */ stb r0, 8(r1) lbl_801E6970: /* 801E6970 001E38D0 88 01 00 08 */ lbz r0, 8(r1) /* 801E6974 001E38D4 28 00 00 00 */ cmplwi r0, 0 /* 801E6978 001E38D8 41 82 00 24 */ beq lbl_801E699C /* 801E697C 001E38DC 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E6980 001E38E0 28 03 00 00 */ cmplwi r3, 0 /* 801E6984 001E38E4 41 82 00 18 */ beq lbl_801E699C /* 801E6988 001E38E8 81 83 00 00 */ lwz r12, 0(r3) /* 801E698C 001E38EC 38 80 00 01 */ li r4, 1 /* 801E6990 001E38F0 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6994 001E38F4 7D 89 03 A6 */ mtctr r12 /* 801E6998 001E38F8 4E 80 04 21 */ bctrl lbl_801E699C: /* 801E699C 001E38FC 38 00 00 00 */ li r0, 0 /* 801E69A0 001E3900 90 1E 00 C8 */ stw r0, 0xc8(r30) /* 801E69A4 001E3904 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E69A8 001E3908 48 12 BB 79 */ bl Next__9CRandom16Fv /* 801E69AC 001E390C 90 7E 00 CC */ stw r3, 0xcc(r30) lbl_801E69B0: /* 801E69B0 001E3910 38 60 00 01 */ li r3, 1 /* 801E69B4 001E3914 48 00 00 14 */ b lbl_801E69C8 lbl_801E69B8: /* 801E69B8 001E3918 7F C3 F3 78 */ mr r3, r30 /* 801E69BC 001E391C 38 80 00 04 */ li r4, 4 /* 801E69C0 001E3920 4B FF EF E9 */ bl Unlock__Q220CActorModelParticles5CItemF11EDependency /* 801E69C4 001E3924 38 60 00 00 */ li r3, 0 lbl_801E69C8: /* 801E69C8 001E3928 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801E69CC 001E392C 80 01 00 84 */ lwz r0, 0x84(r1) /* 801E69D0 001E3930 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801E69D4 001E3934 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801E69D8 001E3938 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801E69DC 001E393C 83 A1 00 64 */ lwz r29, 0x64(r1) /* 801E69E0 001E3940 83 81 00 60 */ lwz r28, 0x60(r1) /* 801E69E4 001E3944 7C 08 03 A6 */ mtlr r0 /* 801E69E8 001E3948 38 21 00 80 */ addi r1, r1, 0x80 /* 801E69EC 001E394C 4E 80 00 20 */ blr .global sub_801e69f0 sub_801e69f0: /* 801E69F0 001E3950 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E69F4 001E3954 7C 08 02 A6 */ mflr r0 /* 801E69F8 001E3958 90 01 00 14 */ stw r0, 0x14(r1) /* 801E69FC 001E395C 80 83 00 D8 */ lwz r4, 0xd8(r3) /* 801E6A00 001E3960 28 04 00 00 */ cmplwi r4, 0 /* 801E6A04 001E3964 41 82 00 4C */ beq lbl_801E6A50 /* 801E6A08 001E3968 88 04 00 48 */ lbz r0, 0x48(r4) /* 801E6A0C 001E396C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801E6A10 001E3970 40 82 00 2C */ bne lbl_801E6A3C /* 801E6A14 001E3974 38 00 00 00 */ li r0, 0 /* 801E6A18 001E3978 38 63 00 D4 */ addi r3, r3, 0xd4 /* 801E6A1C 001E397C 98 01 00 08 */ stb r0, 8(r1) /* 801E6A20 001E3980 38 81 00 08 */ addi r4, r1, 8 /* 801E6A24 001E3984 90 01 00 0C */ stw r0, 0xc(r1) /* 801E6A28 001E3988 4B FF E4 79 */ bl "__as__Q24rstl32auto_ptr<20CRainSplashGenerator>FRCQ24rstl32auto_ptr<20CRainSplashGenerator>" /* 801E6A2C 001E398C 38 61 00 08 */ addi r3, r1, 8 /* 801E6A30 001E3990 38 80 FF FF */ li r4, -1 /* 801E6A34 001E3994 4B FF DC D9 */ bl "__dt__Q24rstl32auto_ptr<20CRainSplashGenerator>" /* 801E6A38 001E3998 48 00 00 18 */ b lbl_801E6A50 lbl_801E6A3C: /* 801E6A3C 001E399C 7C 83 23 78 */ mr r3, r4 /* 801E6A40 001E39A0 7C A4 2B 78 */ mr r4, r5 /* 801E6A44 001E39A4 48 08 39 A9 */ bl Update__20CRainSplashGeneratorFfR13CStateManager /* 801E6A48 001E39A8 38 60 00 01 */ li r3, 1 /* 801E6A4C 001E39AC 48 00 00 08 */ b lbl_801E6A54 lbl_801E6A50: /* 801E6A50 001E39B0 38 60 00 00 */ li r3, 0 lbl_801E6A54: /* 801E6A54 001E39B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E6A58 001E39B8 7C 08 03 A6 */ mtlr r0 /* 801E6A5C 001E39BC 38 21 00 10 */ addi r1, r1, 0x10 /* 801E6A60 001E39C0 4E 80 00 20 */ blr .global Update__Q220CActorModelParticles5CItemFfR13CStateManager Update__Q220CActorModelParticles5CItemFfR13CStateManager: /* 801E6A64 001E39C4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E6A68 001E39C8 7C 08 02 A6 */ mflr r0 /* 801E6A6C 001E39CC 90 01 00 34 */ stw r0, 0x34(r1) /* 801E6A70 001E39D0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801E6A74 001E39D4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801E6A78 001E39D8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E6A7C 001E39DC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E6A80 001E39E0 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E6A84 001E39E4 93 81 00 10 */ stw r28, 0x10(r1) /* 801E6A88 001E39E8 7C 7C 1B 78 */ mr r28, r3 /* 801E6A8C 001E39EC 7C 9D 23 78 */ mr r29, r4 /* 801E6A90 001E39F0 A0 03 00 00 */ lhz r0, 0(r3) /* 801E6A94 001E39F4 FF E0 08 90 */ fmr f31, f1 /* 801E6A98 001E39F8 7F A3 EB 78 */ mr r3, r29 /* 801E6A9C 001E39FC 38 81 00 08 */ addi r4, r1, 8 /* 801E6AA0 001E3A00 B0 01 00 08 */ sth r0, 8(r1) /* 801E6AA4 001E3A04 3B E0 00 00 */ li r31, 0 /* 801E6AA8 001E3A08 4B E6 5A CD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E6AAC 001E3A0C 7C 7E 1B 79 */ or. r30, r3, r3 /* 801E6AB0 001E3A10 41 82 00 68 */ beq lbl_801E6B18 /* 801E6AB4 001E3A14 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801E6AB8 001E3A18 38 60 00 00 */ li r3, 0 /* 801E6ABC 001E3A1C 28 05 00 00 */ cmplwi r5, 0 /* 801E6AC0 001E3A20 41 82 00 20 */ beq lbl_801E6AE0 /* 801E6AC4 001E3A24 80 05 00 10 */ lwz r0, 0x10(r5) /* 801E6AC8 001E3A28 28 00 00 00 */ cmplwi r0, 0 /* 801E6ACC 001E3A2C 40 82 00 10 */ bne lbl_801E6ADC /* 801E6AD0 001E3A30 88 05 00 28 */ lbz r0, 0x28(r5) /* 801E6AD4 001E3A34 28 00 00 00 */ cmplwi r0, 0 /* 801E6AD8 001E3A38 41 82 00 08 */ beq lbl_801E6AE0 lbl_801E6ADC: /* 801E6ADC 001E3A3C 38 60 00 01 */ li r3, 1 lbl_801E6AE0: /* 801E6AE0 001E3A40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6AE4 001E3A44 41 82 00 34 */ beq lbl_801E6B18 /* 801E6AE8 001E3A48 C0 25 00 04 */ lfs f1, 4(r5) /* 801E6AEC 001E3A4C 38 7C 00 F8 */ addi r3, r28, 0xf8 /* 801E6AF0 001E3A50 C0 45 00 08 */ lfs f2, 8(r5) /* 801E6AF4 001E3A54 38 9E 00 34 */ addi r4, r30, 0x34 /* 801E6AF8 001E3A58 C0 05 00 00 */ lfs f0, 0(r5) /* 801E6AFC 001E3A5C D0 1C 00 EC */ stfs f0, 0xec(r28) /* 801E6B00 001E3A60 D0 3C 00 F0 */ stfs f1, 0xf0(r28) /* 801E6B04 001E3A64 D0 5C 00 F4 */ stfs f2, 0xf4(r28) /* 801E6B08 001E3A68 48 12 C0 39 */ bl __as__12CTransform4fFRC12CTransform4f /* 801E6B0C 001E3A6C 80 1E 00 04 */ lwz r0, 4(r30) /* 801E6B10 001E3A70 90 1C 00 04 */ stw r0, 4(r28) /* 801E6B14 001E3A74 48 00 00 88 */ b lbl_801E6B9C lbl_801E6B18: /* 801E6B18 001E3A78 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801E6B1C 001E3A7C 38 60 00 00 */ li r3, 0 /* 801E6B20 001E3A80 38 00 FF FF */ li r0, -1 /* 801E6B24 001E3A84 B0 9C 00 00 */ sth r4, 0(r28) /* 801E6B28 001E3A88 90 7C 00 84 */ stw r3, 0x84(r28) /* 801E6B2C 001E3A8C 90 1C 00 B0 */ stw r0, 0xb0(r28) /* 801E6B30 001E3A90 80 7C 00 C4 */ lwz r3, 0xc4(r28) /* 801E6B34 001E3A94 28 03 00 00 */ cmplwi r3, 0 /* 801E6B38 001E3A98 41 82 00 18 */ beq lbl_801E6B50 /* 801E6B3C 001E3A9C 81 83 00 00 */ lwz r12, 0(r3) /* 801E6B40 001E3AA0 38 80 00 00 */ li r4, 0 /* 801E6B44 001E3AA4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E6B48 001E3AA8 7D 89 03 A6 */ mtctr r12 /* 801E6B4C 001E3AAC 4E 80 04 21 */ bctrl lbl_801E6B50: /* 801E6B50 001E3AB0 80 1C 00 74 */ lwz r0, 0x74(r28) /* 801E6B54 001E3AB4 28 00 00 00 */ cmplwi r0, 0 /* 801E6B58 001E3AB8 41 82 00 1C */ beq lbl_801E6B74 /* 801E6B5C 001E3ABC 80 1C 00 74 */ lwz r0, 0x74(r28) /* 801E6B60 001E3AC0 38 61 00 0C */ addi r3, r1, 0xc /* 801E6B64 001E3AC4 90 01 00 0C */ stw r0, 0xc(r1) /* 801E6B68 001E3AC8 48 10 33 1D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 801E6B6C 001E3ACC 38 00 00 00 */ li r0, 0 /* 801E6B70 001E3AD0 90 1C 00 74 */ stw r0, 0x74(r28) lbl_801E6B74: /* 801E6B74 001E3AD4 C0 3C 01 30 */ lfs f1, 0x130(r28) /* 801E6B78 001E3AD8 C0 02 AD 80 */ lfs f0, lbl_805ACAA0@sda21(r2) /* 801E6B7C 001E3ADC EC 21 F8 28 */ fsubs f1, f1, f31 /* 801E6B80 001E3AE0 D0 3C 01 30 */ stfs f1, 0x130(r28) /* 801E6B84 001E3AE4 C0 3C 01 30 */ lfs f1, 0x130(r28) /* 801E6B88 001E3AE8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E6B8C 001E3AEC 4C 40 13 82 */ cror 2, 0, 2 /* 801E6B90 001E3AF0 40 82 00 0C */ bne lbl_801E6B9C /* 801E6B94 001E3AF4 38 60 00 00 */ li r3, 0 /* 801E6B98 001E3AF8 48 00 01 00 */ b lbl_801E6C98 lbl_801E6B9C: /* 801E6B9C 001E3AFC FC 20 F8 90 */ fmr f1, f31 /* 801E6BA0 001E3B00 7F 83 E3 78 */ mr r3, r28 /* 801E6BA4 001E3B04 7F C4 F3 78 */ mr r4, r30 /* 801E6BA8 001E3B08 7F A5 EB 78 */ mr r5, r29 /* 801E6BAC 001E3B0C 4B FF EE B5 */ bl UpdateOnFire__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager /* 801E6BB0 001E3B10 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6BB4 001E3B14 41 82 00 08 */ beq lbl_801E6BBC /* 801E6BB8 001E3B18 3B E0 00 01 */ li r31, 1 lbl_801E6BBC: /* 801E6BBC 001E3B1C FC 20 F8 90 */ fmr f1, f31 /* 801E6BC0 001E3B20 7F 83 E3 78 */ mr r3, r28 /* 801E6BC4 001E3B24 7F C4 F3 78 */ mr r4, r30 /* 801E6BC8 001E3B28 7F A5 EB 78 */ mr r5, r29 /* 801E6BCC 001E3B2C 4B FF F3 09 */ bl UpdateAshGen__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager /* 801E6BD0 001E3B30 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6BD4 001E3B34 41 82 00 08 */ beq lbl_801E6BDC /* 801E6BD8 001E3B38 3B E0 00 01 */ li r31, 1 lbl_801E6BDC: /* 801E6BDC 001E3B3C FC 20 F8 90 */ fmr f1, f31 /* 801E6BE0 001E3B40 7F 83 E3 78 */ mr r3, r28 /* 801E6BE4 001E3B44 7F C4 F3 78 */ mr r4, r30 /* 801E6BE8 001E3B48 7F A5 EB 78 */ mr r5, r29 /* 801E6BEC 001E3B4C 4B FF F9 D1 */ bl sub_801e65bc /* 801E6BF0 001E3B50 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6BF4 001E3B54 41 82 00 08 */ beq lbl_801E6BFC /* 801E6BF8 001E3B58 3B E0 00 01 */ li r31, 1 lbl_801E6BFC: /* 801E6BFC 001E3B5C FC 20 F8 90 */ fmr f1, f31 /* 801E6C00 001E3B60 7F 83 E3 78 */ mr r3, r28 /* 801E6C04 001E3B64 7F C4 F3 78 */ mr r4, r30 /* 801E6C08 001E3B68 4B FF F7 89 */ bl UpdateFirePop__Q220CActorModelParticles5CItemFfR6CActor /* 801E6C0C 001E3B6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6C10 001E3B70 41 82 00 08 */ beq lbl_801E6C18 /* 801E6C14 001E3B74 3B E0 00 01 */ li r31, 1 lbl_801E6C18: /* 801E6C18 001E3B78 FC 20 F8 90 */ fmr f1, f31 /* 801E6C1C 001E3B7C 7F 83 E3 78 */ mr r3, r28 /* 801E6C20 001E3B80 7F C4 F3 78 */ mr r4, r30 /* 801E6C24 001E3B84 7F A5 EB 78 */ mr r5, r29 /* 801E6C28 001E3B88 4B FF FB 09 */ bl UpdateElectric__Q220CActorModelParticles5CItemFfR6CActorR13CStateManager /* 801E6C2C 001E3B8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6C30 001E3B90 41 82 00 08 */ beq lbl_801E6C38 /* 801E6C34 001E3B94 3B E0 00 01 */ li r31, 1 lbl_801E6C38: /* 801E6C38 001E3B98 FC 20 F8 90 */ fmr f1, f31 /* 801E6C3C 001E3B9C 7F 83 E3 78 */ mr r3, r28 /* 801E6C40 001E3BA0 7F C4 F3 78 */ mr r4, r30 /* 801E6C44 001E3BA4 7F A5 EB 78 */ mr r5, r29 /* 801E6C48 001E3BA8 4B FF FD A9 */ bl sub_801e69f0 /* 801E6C4C 001E3BAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6C50 001E3BB0 41 82 00 08 */ beq lbl_801E6C58 /* 801E6C54 001E3BB4 3B E0 00 01 */ li r31, 1 lbl_801E6C58: /* 801E6C58 001E3BB8 FC 20 F8 90 */ fmr f1, f31 /* 801E6C5C 001E3BBC 7F 83 E3 78 */ mr r3, r28 /* 801E6C60 001E3BC0 7F C4 F3 78 */ mr r4, r30 /* 801E6C64 001E3BC4 7F A5 EB 78 */ mr r5, r29 /* 801E6C68 001E3BC8 4B FF F2 31 */ bl sub_801e5e98 /* 801E6C6C 001E3BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6C70 001E3BD0 41 82 00 08 */ beq lbl_801E6C78 /* 801E6C74 001E3BD4 3B E0 00 01 */ li r31, 1 lbl_801E6C78: /* 801E6C78 001E3BD8 FC 20 F8 90 */ fmr f1, f31 /* 801E6C7C 001E3BDC 7F 83 E3 78 */ mr r3, r28 /* 801E6C80 001E3BE0 7F C4 F3 78 */ mr r4, r30 /* 801E6C84 001E3BE4 4B FF F4 E1 */ bl UpdateIcePop__Q220CActorModelParticles5CItemFfR6CActor /* 801E6C88 001E3BE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E6C8C 001E3BEC 41 82 00 08 */ beq lbl_801E6C94 /* 801E6C90 001E3BF0 3B E0 00 01 */ li r31, 1 lbl_801E6C94: /* 801E6C94 001E3BF4 7F E3 FB 78 */ mr r3, r31 lbl_801E6C98: /* 801E6C98 001E3BF8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801E6C9C 001E3BFC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E6CA0 001E3C00 CB E1 00 20 */ lfd f31, 0x20(r1) /* 801E6CA4 001E3C04 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E6CA8 001E3C08 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E6CAC 001E3C0C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E6CB0 001E3C10 83 81 00 10 */ lwz r28, 0x10(r1) /* 801E6CB4 001E3C14 7C 08 03 A6 */ mtlr r0 /* 801E6CB8 001E3C18 38 21 00 30 */ addi r1, r1, 0x30 /* 801E6CBC 001E3C1C 4E 80 00 20 */ blr .global __dt__Q220CActorModelParticles5CItemFv __dt__Q220CActorModelParticles5CItemFv: /* 801E6CC0 001E3C20 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E6CC4 001E3C24 7C 08 02 A6 */ mflr r0 /* 801E6CC8 001E3C28 90 01 00 24 */ stw r0, 0x24(r1) /* 801E6CCC 001E3C2C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E6CD0 001E3C30 7C 9F 23 78 */ mr r31, r4 /* 801E6CD4 001E3C34 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E6CD8 001E3C38 7C 7E 1B 79 */ or. r30, r3, r3 /* 801E6CDC 001E3C3C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E6CE0 001E3C40 93 81 00 10 */ stw r28, 0x10(r1) /* 801E6CE4 001E3C44 41 82 02 20 */ beq lbl_801E6F04 /* 801E6CE8 001E3C48 80 1E 00 74 */ lwz r0, 0x74(r30) /* 801E6CEC 001E3C4C 28 00 00 00 */ cmplwi r0, 0 /* 801E6CF0 001E3C50 41 82 00 14 */ beq lbl_801E6D04 /* 801E6CF4 001E3C54 80 1E 00 74 */ lwz r0, 0x74(r30) /* 801E6CF8 001E3C58 38 61 00 08 */ addi r3, r1, 8 /* 801E6CFC 001E3C5C 90 01 00 08 */ stw r0, 8(r1) /* 801E6D00 001E3C60 48 10 31 85 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle lbl_801E6D04: /* 801E6D04 001E3C64 88 1E 01 34 */ lbz r0, 0x134(r30) /* 801E6D08 001E3C68 28 00 00 00 */ cmplwi r0, 0 /* 801E6D0C 001E3C6C 41 82 00 34 */ beq lbl_801E6D40 /* 801E6D10 001E3C70 3B 80 00 00 */ li r28, 0 /* 801E6D14 001E3C74 3B A0 00 01 */ li r29, 1 lbl_801E6D18: /* 801E6D18 001E3C78 88 7E 01 34 */ lbz r3, 0x134(r30) /* 801E6D1C 001E3C7C 7F A0 E0 30 */ slw r0, r29, r28 /* 801E6D20 001E3C80 7C 60 00 39 */ and. r0, r3, r0 /* 801E6D24 001E3C84 41 82 00 10 */ beq lbl_801E6D34 /* 801E6D28 001E3C88 80 7E 01 28 */ lwz r3, 0x128(r30) /* 801E6D2C 001E3C8C 7F 84 E3 78 */ mr r4, r28 /* 801E6D30 001E3C90 4B FF CD 65 */ bl DecrementDependency__20CActorModelParticlesF11EDependency lbl_801E6D34: /* 801E6D34 001E3C94 3B 9C 00 01 */ addi r28, r28, 1 /* 801E6D38 001E3C98 2C 1C 00 06 */ cmpwi r28, 6 /* 801E6D3C 001E3C9C 41 80 FF DC */ blt lbl_801E6D18 lbl_801E6D40: /* 801E6D40 001E3CA0 34 1E 00 E4 */ addic. r0, r30, 0xe4 /* 801E6D44 001E3CA4 41 82 00 30 */ beq lbl_801E6D74 /* 801E6D48 001E3CA8 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801E6D4C 001E3CAC 28 00 00 00 */ cmplwi r0, 0 /* 801E6D50 001E3CB0 41 82 00 24 */ beq lbl_801E6D74 /* 801E6D54 001E3CB4 80 7E 00 E8 */ lwz r3, 0xe8(r30) /* 801E6D58 001E3CB8 28 03 00 00 */ cmplwi r3, 0 /* 801E6D5C 001E3CBC 41 82 00 18 */ beq lbl_801E6D74 /* 801E6D60 001E3CC0 81 83 00 00 */ lwz r12, 0(r3) /* 801E6D64 001E3CC4 38 80 00 01 */ li r4, 1 /* 801E6D68 001E3CC8 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6D6C 001E3CCC 7D 89 03 A6 */ mtctr r12 /* 801E6D70 001E3CD0 4E 80 04 21 */ bctrl lbl_801E6D74: /* 801E6D74 001E3CD4 38 7E 00 DC */ addi r3, r30, 0xdc /* 801E6D78 001E3CD8 38 80 FF FF */ li r4, -1 /* 801E6D7C 001E3CDC 48 15 A0 C5 */ bl __dt__6CTokenFv /* 801E6D80 001E3CE0 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 801E6D84 001E3CE4 38 80 FF FF */ li r4, -1 /* 801E6D88 001E3CE8 4B FF D9 85 */ bl "__dt__Q24rstl32auto_ptr<20CRainSplashGenerator>" /* 801E6D8C 001E3CEC 34 1E 00 C0 */ addic. r0, r30, 0xc0 /* 801E6D90 001E3CF0 41 82 00 30 */ beq lbl_801E6DC0 /* 801E6D94 001E3CF4 88 1E 00 C0 */ lbz r0, 0xc0(r30) /* 801E6D98 001E3CF8 28 00 00 00 */ cmplwi r0, 0 /* 801E6D9C 001E3CFC 41 82 00 24 */ beq lbl_801E6DC0 /* 801E6DA0 001E3D00 80 7E 00 C4 */ lwz r3, 0xc4(r30) /* 801E6DA4 001E3D04 28 03 00 00 */ cmplwi r3, 0 /* 801E6DA8 001E3D08 41 82 00 18 */ beq lbl_801E6DC0 /* 801E6DAC 001E3D0C 81 83 00 00 */ lwz r12, 0(r3) /* 801E6DB0 001E3D10 38 80 00 01 */ li r4, 1 /* 801E6DB4 001E3D14 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6DB8 001E3D18 7D 89 03 A6 */ mtctr r12 /* 801E6DBC 001E3D1C 4E 80 04 21 */ bctrl lbl_801E6DC0: /* 801E6DC0 001E3D20 34 1E 00 B8 */ addic. r0, r30, 0xb8 /* 801E6DC4 001E3D24 41 82 00 30 */ beq lbl_801E6DF4 /* 801E6DC8 001E3D28 88 1E 00 B8 */ lbz r0, 0xb8(r30) /* 801E6DCC 001E3D2C 28 00 00 00 */ cmplwi r0, 0 /* 801E6DD0 001E3D30 41 82 00 24 */ beq lbl_801E6DF4 /* 801E6DD4 001E3D34 80 7E 00 BC */ lwz r3, 0xbc(r30) /* 801E6DD8 001E3D38 28 03 00 00 */ cmplwi r3, 0 /* 801E6DDC 001E3D3C 41 82 00 18 */ beq lbl_801E6DF4 /* 801E6DE0 001E3D40 81 83 00 00 */ lwz r12, 0(r3) /* 801E6DE4 001E3D44 38 80 00 01 */ li r4, 1 /* 801E6DE8 001E3D48 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6DEC 001E3D4C 7D 89 03 A6 */ mtctr r12 /* 801E6DF0 001E3D50 4E 80 04 21 */ bctrl lbl_801E6DF4: /* 801E6DF4 001E3D54 34 1E 00 8C */ addic. r0, r30, 0x8c /* 801E6DF8 001E3D58 41 82 00 60 */ beq lbl_801E6E58 /* 801E6DFC 001E3D5C 3B 9E 00 90 */ addi r28, r30, 0x90 /* 801E6E00 001E3D60 3B A0 00 00 */ li r29, 0 /* 801E6E04 001E3D64 48 00 00 40 */ b lbl_801E6E44 lbl_801E6E08: /* 801E6E08 001E3D68 28 1C 00 00 */ cmplwi r28, 0 /* 801E6E0C 001E3D6C 41 82 00 30 */ beq lbl_801E6E3C /* 801E6E10 001E3D70 88 1C 00 00 */ lbz r0, 0(r28) /* 801E6E14 001E3D74 28 00 00 00 */ cmplwi r0, 0 /* 801E6E18 001E3D78 41 82 00 24 */ beq lbl_801E6E3C /* 801E6E1C 001E3D7C 80 7C 00 04 */ lwz r3, 4(r28) /* 801E6E20 001E3D80 28 03 00 00 */ cmplwi r3, 0 /* 801E6E24 001E3D84 41 82 00 18 */ beq lbl_801E6E3C /* 801E6E28 001E3D88 81 83 00 00 */ lwz r12, 0(r3) /* 801E6E2C 001E3D8C 38 80 00 01 */ li r4, 1 /* 801E6E30 001E3D90 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6E34 001E3D94 7D 89 03 A6 */ mtctr r12 /* 801E6E38 001E3D98 4E 80 04 21 */ bctrl lbl_801E6E3C: /* 801E6E3C 001E3D9C 3B 9C 00 08 */ addi r28, r28, 8 /* 801E6E40 001E3DA0 3B BD 00 01 */ addi r29, r29, 1 lbl_801E6E44: /* 801E6E44 001E3DA4 80 1E 00 8C */ lwz r0, 0x8c(r30) /* 801E6E48 001E3DA8 7C 1D 00 00 */ cmpw r29, r0 /* 801E6E4C 001E3DAC 41 80 FF BC */ blt lbl_801E6E08 /* 801E6E50 001E3DB0 38 00 00 00 */ li r0, 0 /* 801E6E54 001E3DB4 90 1E 00 8C */ stw r0, 0x8c(r30) lbl_801E6E58: /* 801E6E58 001E3DB8 34 1E 00 78 */ addic. r0, r30, 0x78 /* 801E6E5C 001E3DBC 41 82 00 30 */ beq lbl_801E6E8C /* 801E6E60 001E3DC0 88 1E 00 78 */ lbz r0, 0x78(r30) /* 801E6E64 001E3DC4 28 00 00 00 */ cmplwi r0, 0 /* 801E6E68 001E3DC8 41 82 00 24 */ beq lbl_801E6E8C /* 801E6E6C 001E3DCC 80 7E 00 7C */ lwz r3, 0x7c(r30) /* 801E6E70 001E3DD0 28 03 00 00 */ cmplwi r3, 0 /* 801E6E74 001E3DD4 41 82 00 18 */ beq lbl_801E6E8C /* 801E6E78 001E3DD8 81 83 00 00 */ lwz r12, 0(r3) /* 801E6E7C 001E3DDC 38 80 00 01 */ li r4, 1 /* 801E6E80 001E3DE0 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6E84 001E3DE4 7D 89 03 A6 */ mtctr r12 /* 801E6E88 001E3DE8 4E 80 04 21 */ bctrl lbl_801E6E8C: /* 801E6E8C 001E3DEC 34 1E 00 08 */ addic. r0, r30, 8 /* 801E6E90 001E3DF0 41 82 00 64 */ beq lbl_801E6EF4 /* 801E6E94 001E3DF4 3B 9E 00 0C */ addi r28, r30, 0xc /* 801E6E98 001E3DF8 3B A0 00 00 */ li r29, 0 /* 801E6E9C 001E3DFC 48 00 00 44 */ b lbl_801E6EE0 lbl_801E6EA0: /* 801E6EA0 001E3E00 28 1C 00 00 */ cmplwi r28, 0 /* 801E6EA4 001E3E04 41 82 00 34 */ beq lbl_801E6ED8 /* 801E6EA8 001E3E08 41 82 00 30 */ beq lbl_801E6ED8 /* 801E6EAC 001E3E0C 88 1C 00 00 */ lbz r0, 0(r28) /* 801E6EB0 001E3E10 28 00 00 00 */ cmplwi r0, 0 /* 801E6EB4 001E3E14 41 82 00 24 */ beq lbl_801E6ED8 /* 801E6EB8 001E3E18 80 7C 00 04 */ lwz r3, 4(r28) /* 801E6EBC 001E3E1C 28 03 00 00 */ cmplwi r3, 0 /* 801E6EC0 001E3E20 41 82 00 18 */ beq lbl_801E6ED8 /* 801E6EC4 001E3E24 81 83 00 00 */ lwz r12, 0(r3) /* 801E6EC8 001E3E28 38 80 00 01 */ li r4, 1 /* 801E6ECC 001E3E2C 81 8C 00 08 */ lwz r12, 8(r12) /* 801E6ED0 001E3E30 7D 89 03 A6 */ mtctr r12 /* 801E6ED4 001E3E34 4E 80 04 21 */ bctrl lbl_801E6ED8: /* 801E6ED8 001E3E38 3B 9C 00 0C */ addi r28, r28, 0xc /* 801E6EDC 001E3E3C 3B BD 00 01 */ addi r29, r29, 1 lbl_801E6EE0: /* 801E6EE0 001E3E40 80 1E 00 08 */ lwz r0, 8(r30) /* 801E6EE4 001E3E44 7C 1D 00 00 */ cmpw r29, r0 /* 801E6EE8 001E3E48 41 80 FF B8 */ blt lbl_801E6EA0 /* 801E6EEC 001E3E4C 38 00 00 00 */ li r0, 0 /* 801E6EF0 001E3E50 90 1E 00 08 */ stw r0, 8(r30) lbl_801E6EF4: /* 801E6EF4 001E3E54 7F E0 07 35 */ extsh. r0, r31 /* 801E6EF8 001E3E58 40 81 00 0C */ ble lbl_801E6F04 /* 801E6EFC 001E3E5C 7F C3 F3 78 */ mr r3, r30 /* 801E6F00 001E3E60 48 12 EA 31 */ bl Free__7CMemoryFPCv lbl_801E6F04: /* 801E6F04 001E3E64 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E6F08 001E3E68 7F C3 F3 78 */ mr r3, r30 /* 801E6F0C 001E3E6C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E6F10 001E3E70 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E6F14 001E3E74 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E6F18 001E3E78 83 81 00 10 */ lwz r28, 0x10(r1) /* 801E6F1C 001E3E7C 7C 08 03 A6 */ mtlr r0 /* 801E6F20 001E3E80 38 21 00 20 */ addi r1, r1, 0x20 /* 801E6F24 001E3E84 4E 80 00 20 */ blr .global __ct__Q220CActorModelParticles5CItemFRC9TUniqueIdR20CActorModelParticles __ct__Q220CActorModelParticles5CItemFRC9TUniqueIdR20CActorModelParticles: /* 801E6F28 001E3E88 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E6F2C 001E3E8C 7C 08 02 A6 */ mflr r0 /* 801E6F30 001E3E90 38 C0 00 00 */ li r6, 0 /* 801E6F34 001E3E94 90 01 00 34 */ stw r0, 0x34(r1) /* 801E6F38 001E3E98 38 00 00 02 */ li r0, 2 /* 801E6F3C 001E3E9C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E6F40 001E3EA0 7C BF 2B 78 */ mr r31, r5 /* 801E6F44 001E3EA4 7C C5 33 78 */ mr r5, r6 /* 801E6F48 001E3EA8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E6F4C 001E3EAC 7C 7E 1B 78 */ mr r30, r3 /* 801E6F50 001E3EB0 38 60 00 08 */ li r3, 8 /* 801E6F54 001E3EB4 A0 E4 00 08 */ lhz r7, 8(r4) /* 801E6F58 001E3EB8 98 C1 00 08 */ stb r6, 8(r1) /* 801E6F5C 001E3EBC B0 FE 00 00 */ sth r7, 0(r30) /* 801E6F60 001E3EC0 38 FE 00 0C */ addi r7, r30, 0xc /* 801E6F64 001E3EC4 80 84 00 04 */ lwz r4, 4(r4) /* 801E6F68 001E3EC8 90 C1 00 0C */ stw r6, 0xc(r1) /* 801E6F6C 001E3ECC 90 9E 00 04 */ stw r4, 4(r30) /* 801E6F70 001E3ED0 80 8D 92 28 */ lwz r4, lbl_805A7DE8@sda21(r13) /* 801E6F74 001E3ED4 98 C1 00 10 */ stb r6, 0x10(r1) /* 801E6F78 001E3ED8 90 C1 00 14 */ stw r6, 0x14(r1) /* 801E6F7C 001E3EDC 98 C1 00 08 */ stb r6, 8(r1) /* 801E6F80 001E3EE0 90 81 00 18 */ stw r4, 0x18(r1) /* 801E6F84 001E3EE4 90 7E 00 08 */ stw r3, 8(r30) /* 801E6F88 001E3EE8 7C 09 03 A6 */ mtctr r0 lbl_801E6F8C: /* 801E6F8C 001E3EEC 28 07 00 00 */ cmplwi r7, 0 /* 801E6F90 001E3EF0 41 82 00 18 */ beq lbl_801E6FA8 /* 801E6F94 001E3EF4 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E6F98 001E3EF8 98 07 00 00 */ stb r0, 0(r7) /* 801E6F9C 001E3EFC 90 C7 00 04 */ stw r6, 4(r7) /* 801E6FA0 001E3F00 98 C1 00 10 */ stb r6, 0x10(r1) /* 801E6FA4 001E3F04 90 87 00 08 */ stw r4, 8(r7) lbl_801E6FA8: /* 801E6FA8 001E3F08 34 E7 00 0C */ addic. r7, r7, 0xc /* 801E6FAC 001E3F0C 41 82 00 18 */ beq lbl_801E6FC4 /* 801E6FB0 001E3F10 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E6FB4 001E3F14 98 07 00 00 */ stb r0, 0(r7) /* 801E6FB8 001E3F18 90 C7 00 04 */ stw r6, 4(r7) /* 801E6FBC 001E3F1C 98 C1 00 10 */ stb r6, 0x10(r1) /* 801E6FC0 001E3F20 90 87 00 08 */ stw r4, 8(r7) lbl_801E6FC4: /* 801E6FC4 001E3F24 34 E7 00 0C */ addic. r7, r7, 0xc /* 801E6FC8 001E3F28 41 82 00 18 */ beq lbl_801E6FE0 /* 801E6FCC 001E3F2C 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E6FD0 001E3F30 98 07 00 00 */ stb r0, 0(r7) /* 801E6FD4 001E3F34 90 C7 00 04 */ stw r6, 4(r7) /* 801E6FD8 001E3F38 98 C1 00 10 */ stb r6, 0x10(r1) /* 801E6FDC 001E3F3C 90 87 00 08 */ stw r4, 8(r7) lbl_801E6FE0: /* 801E6FE0 001E3F40 34 E7 00 0C */ addic. r7, r7, 0xc /* 801E6FE4 001E3F44 41 82 00 18 */ beq lbl_801E6FFC /* 801E6FE8 001E3F48 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E6FEC 001E3F4C 98 07 00 00 */ stb r0, 0(r7) /* 801E6FF0 001E3F50 90 C7 00 04 */ stw r6, 4(r7) /* 801E6FF4 001E3F54 98 C1 00 10 */ stb r6, 0x10(r1) /* 801E6FF8 001E3F58 90 87 00 08 */ stw r4, 8(r7) lbl_801E6FFC: /* 801E6FFC 001E3F5C 38 A5 00 03 */ addi r5, r5, 3 /* 801E7000 001E3F60 38 E7 00 0C */ addi r7, r7, 0xc /* 801E7004 001E3F64 42 00 FF 88 */ bdnz lbl_801E6F8C /* 801E7008 001E3F68 88 01 00 10 */ lbz r0, 0x10(r1) /* 801E700C 001E3F6C 28 00 00 00 */ cmplwi r0, 0 /* 801E7010 001E3F70 41 82 00 24 */ beq lbl_801E7034 /* 801E7014 001E3F74 80 61 00 14 */ lwz r3, 0x14(r1) /* 801E7018 001E3F78 28 03 00 00 */ cmplwi r3, 0 /* 801E701C 001E3F7C 41 82 00 18 */ beq lbl_801E7034 /* 801E7020 001E3F80 81 83 00 00 */ lwz r12, 0(r3) /* 801E7024 001E3F84 38 80 00 01 */ li r4, 1 /* 801E7028 001E3F88 81 8C 00 08 */ lwz r12, 8(r12) /* 801E702C 001E3F8C 7D 89 03 A6 */ mtctr r12 /* 801E7030 001E3F90 4E 80 04 21 */ bctrl lbl_801E7034: /* 801E7034 001E3F94 88 01 00 08 */ lbz r0, 8(r1) /* 801E7038 001E3F98 28 00 00 00 */ cmplwi r0, 0 /* 801E703C 001E3F9C 41 82 00 24 */ beq lbl_801E7060 /* 801E7040 001E3FA0 80 61 00 0C */ lwz r3, 0xc(r1) /* 801E7044 001E3FA4 28 03 00 00 */ cmplwi r3, 0 /* 801E7048 001E3FA8 41 82 00 18 */ beq lbl_801E7060 /* 801E704C 001E3FAC 81 83 00 00 */ lwz r12, 0(r3) /* 801E7050 001E3FB0 38 80 00 01 */ li r4, 1 /* 801E7054 001E3FB4 81 8C 00 08 */ lwz r12, 8(r12) /* 801E7058 001E3FB8 7D 89 03 A6 */ mtctr r12 /* 801E705C 001E3FBC 4E 80 04 21 */ bctrl lbl_801E7060: /* 801E7060 001E3FC0 C0 02 AD 80 */ lfs f0, lbl_805ACAA0@sda21(r2) /* 801E7064 001E3FC4 38 80 00 00 */ li r4, 0 /* 801E7068 001E3FC8 38 60 FF FF */ li r3, -1 /* 801E706C 001E3FCC 38 00 00 63 */ li r0, 0x63 /* 801E7070 001E3FD0 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 801E7074 001E3FD4 98 9E 00 70 */ stb r4, 0x70(r30) /* 801E7078 001E3FD8 90 9E 00 74 */ stw r4, 0x74(r30) /* 801E707C 001E3FDC 98 9E 00 78 */ stb r4, 0x78(r30) /* 801E7080 001E3FE0 90 9E 00 7C */ stw r4, 0x7c(r30) /* 801E7084 001E3FE4 90 9E 00 80 */ stw r4, 0x80(r30) /* 801E7088 001E3FE8 90 7E 00 84 */ stw r3, 0x84(r30) /* 801E708C 001E3FEC 90 1E 00 88 */ stw r0, 0x88(r30) /* 801E7090 001E3FF0 90 9E 00 8C */ stw r4, 0x8c(r30) /* 801E7094 001E3FF4 90 7E 00 B0 */ stw r3, 0xb0(r30) /* 801E7098 001E3FF8 90 1E 00 B4 */ stw r0, 0xb4(r30) /* 801E709C 001E3FFC 98 9E 00 B8 */ stb r4, 0xb8(r30) /* 801E70A0 001E4000 90 9E 00 BC */ stw r4, 0xbc(r30) /* 801E70A4 001E4004 98 9E 00 C0 */ stb r4, 0xc0(r30) /* 801E70A8 001E4008 90 9E 00 C4 */ stw r4, 0xc4(r30) /* 801E70AC 001E400C 90 9E 00 C8 */ stw r4, 0xc8(r30) /* 801E70B0 001E4010 90 1E 00 CC */ stw r0, 0xcc(r30) /* 801E70B4 001E4014 48 16 2E F9 */ bl White__6CColorFv /* 801E70B8 001E4018 80 A3 00 00 */ lwz r5, 0(r3) /* 801E70BC 001E401C 38 00 00 00 */ li r0, 0 /* 801E70C0 001E4020 38 7E 00 DC */ addi r3, r30, 0xdc /* 801E70C4 001E4024 38 9F 00 48 */ addi r4, r31, 0x48 /* 801E70C8 001E4028 90 BE 00 D0 */ stw r5, 0xd0(r30) /* 801E70CC 001E402C 98 1E 00 D4 */ stb r0, 0xd4(r30) /* 801E70D0 001E4030 90 1E 00 D8 */ stw r0, 0xd8(r30) /* 801E70D4 001E4034 48 15 9D D5 */ bl __ct__6CTokenFRC6CToken /* 801E70D8 001E4038 38 00 00 00 */ li r0, 0 /* 801E70DC 001E403C 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801E70E0 001E4040 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801E70E4 001E4044 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 801E70E8 001E4048 C0 02 AD 98 */ lfs f0, lbl_805ACAB8@sda21(r2) /* 801E70EC 001E404C 38 7E 00 F8 */ addi r3, r30, 0xf8 /* 801E70F0 001E4050 90 1E 00 E8 */ stw r0, 0xe8(r30) /* 801E70F4 001E4054 D0 1E 00 EC */ stfs f0, 0xec(r30) /* 801E70F8 001E4058 D0 1E 00 F0 */ stfs f0, 0xf0(r30) /* 801E70FC 001E405C D0 1E 00 F4 */ stfs f0, 0xf4(r30) /* 801E7100 001E4060 48 12 BA 75 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E7104 001E4064 93 FE 01 28 */ stw r31, 0x128(r30) /* 801E7108 001E4068 38 80 00 00 */ li r4, 0 /* 801E710C 001E406C C0 02 AD 9C */ lfs f0, lbl_805ACABC@sda21(r2) /* 801E7110 001E4070 7F C3 F3 78 */ mr r3, r30 /* 801E7114 001E4074 88 1E 01 2C */ lbz r0, 0x12c(r30) /* 801E7118 001E4078 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801E711C 001E407C 98 1E 01 2C */ stb r0, 0x12c(r30) /* 801E7120 001E4080 88 1E 01 2C */ lbz r0, 0x12c(r30) /* 801E7124 001E4084 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801E7128 001E4088 98 1E 01 2C */ stb r0, 0x12c(r30) /* 801E712C 001E408C D0 1E 01 30 */ stfs f0, 0x130(r30) /* 801E7130 001E4090 98 9E 01 34 */ stb r4, 0x134(r30) /* 801E7134 001E4094 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E7138 001E4098 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E713C 001E409C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E7140 001E40A0 7C 08 03 A6 */ mtlr r0 /* 801E7144 001E40A4 38 21 00 30 */ addi r1, r1, 0x30 /* 801E7148 001E40A8 4E 80 00 20 */ blr .global UpdateLoad__Q220CActorModelParticles10DependencyFv UpdateLoad__Q220CActorModelParticles10DependencyFv: /* 801E714C 001E40AC 88 03 00 14 */ lbz r0, 0x14(r3) /* 801E7150 001E40B0 28 00 00 00 */ cmplwi r0, 0 /* 801E7154 001E40B4 4C 82 00 20 */ bnelr /* 801E7158 001E40B8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801E715C 001E40BC 2C 00 00 00 */ cmpwi r0, 0 /* 801E7160 001E40C0 40 82 00 08 */ bne lbl_801E7168 /* 801E7164 001E40C4 4E 80 00 20 */ blr lbl_801E7168: /* 801E7168 001E40C8 80 03 00 04 */ lwz r0, 4(r3) /* 801E716C 001E40CC 38 E0 00 00 */ li r7, 0 /* 801E7170 001E40D0 80 C3 00 0C */ lwz r6, 0xc(r3) /* 801E7174 001E40D4 54 00 18 38 */ slwi r0, r0, 3 /* 801E7178 001E40D8 7C A6 02 14 */ add r5, r6, r0 /* 801E717C 001E40DC 48 00 00 20 */ b lbl_801E719C lbl_801E7180: /* 801E7180 001E40E0 80 86 00 00 */ lwz r4, 0(r6) /* 801E7184 001E40E4 80 04 00 10 */ lwz r0, 0x10(r4) /* 801E7188 001E40E8 28 00 00 00 */ cmplwi r0, 0 /* 801E718C 001E40EC 40 82 00 0C */ bne lbl_801E7198 /* 801E7190 001E40F0 38 E0 00 01 */ li r7, 1 /* 801E7194 001E40F4 48 00 00 10 */ b lbl_801E71A4 lbl_801E7198: /* 801E7198 001E40F8 38 C6 00 08 */ addi r6, r6, 8 lbl_801E719C: /* 801E719C 001E40FC 7C 06 28 40 */ cmplw r6, r5 /* 801E71A0 001E4100 40 82 FF E0 */ bne lbl_801E7180 lbl_801E71A4: /* 801E71A4 001E4104 54 E0 06 3F */ clrlwi. r0, r7, 0x18 /* 801E71A8 001E4108 4C 82 00 20 */ bnelr /* 801E71AC 001E410C 38 00 00 01 */ li r0, 1 /* 801E71B0 001E4110 98 03 00 14 */ stb r0, 0x14(r3) /* 801E71B4 001E4114 4E 80 00 20 */ blr .global Unload__Q220CActorModelParticles10Dependency Unload__Q220CActorModelParticles10Dependency: /* 801E71B8 001E4118 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E71BC 001E411C 7C 08 02 A6 */ mflr r0 /* 801E71C0 001E4120 90 01 00 14 */ stw r0, 0x14(r1) /* 801E71C4 001E4124 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E71C8 001E4128 93 C1 00 08 */ stw r30, 8(r1) /* 801E71CC 001E412C 7C 7E 1B 78 */ mr r30, r3 /* 801E71D0 001E4130 83 E3 00 0C */ lwz r31, 0xc(r3) /* 801E71D4 001E4134 48 00 00 10 */ b lbl_801E71E4 lbl_801E71D8: /* 801E71D8 001E4138 7F E3 FB 78 */ mr r3, r31 /* 801E71DC 001E413C 48 15 9B 65 */ bl Unlock__6CTokenFv /* 801E71E0 001E4140 3B FF 00 08 */ addi r31, r31, 8 lbl_801E71E4: /* 801E71E4 001E4144 80 1E 00 04 */ lwz r0, 4(r30) /* 801E71E8 001E4148 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801E71EC 001E414C 54 00 18 38 */ slwi r0, r0, 3 /* 801E71F0 001E4150 7C 03 02 14 */ add r0, r3, r0 /* 801E71F4 001E4154 7C 1F 00 40 */ cmplw r31, r0 /* 801E71F8 001E4158 40 82 FF E0 */ bne lbl_801E71D8 /* 801E71FC 001E415C 38 00 00 00 */ li r0, 0 /* 801E7200 001E4160 98 1E 00 14 */ stb r0, 0x14(r30) /* 801E7204 001E4164 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E7208 001E4168 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E720C 001E416C 83 C1 00 08 */ lwz r30, 8(r1) /* 801E7210 001E4170 7C 08 03 A6 */ mtlr r0 /* 801E7214 001E4174 38 21 00 10 */ addi r1, r1, 0x10 /* 801E7218 001E4178 4E 80 00 20 */ blr .global Load__Q220CActorModelParticles10Dependency Load__Q220CActorModelParticles10Dependency: /* 801E721C 001E417C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E7220 001E4180 7C 08 02 A6 */ mflr r0 /* 801E7224 001E4184 38 80 00 00 */ li r4, 0 /* 801E7228 001E4188 90 01 00 14 */ stw r0, 0x14(r1) /* 801E722C 001E418C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E7230 001E4190 93 C1 00 08 */ stw r30, 8(r1) /* 801E7234 001E4194 7C 7E 1B 78 */ mr r30, r3 /* 801E7238 001E4198 83 E3 00 0C */ lwz r31, 0xc(r3) /* 801E723C 001E419C 48 00 00 38 */ b lbl_801E7274 lbl_801E7240: /* 801E7240 001E41A0 88 1F 00 04 */ lbz r0, 4(r31) /* 801E7244 001E41A4 28 00 00 00 */ cmplwi r0, 0 /* 801E7248 001E41A8 40 82 00 14 */ bne lbl_801E725C /* 801E724C 001E41AC 7F E3 FB 78 */ mr r3, r31 /* 801E7250 001E41B0 48 15 9B 35 */ bl Lock__6CTokenFv /* 801E7254 001E41B4 38 80 00 01 */ li r4, 1 /* 801E7258 001E41B8 48 00 00 18 */ b lbl_801E7270 lbl_801E725C: /* 801E725C 001E41BC 80 7F 00 00 */ lwz r3, 0(r31) /* 801E7260 001E41C0 80 03 00 10 */ lwz r0, 0x10(r3) /* 801E7264 001E41C4 28 00 00 00 */ cmplwi r0, 0 /* 801E7268 001E41C8 40 82 00 08 */ bne lbl_801E7270 /* 801E726C 001E41CC 38 80 00 01 */ li r4, 1 lbl_801E7270: /* 801E7270 001E41D0 3B FF 00 08 */ addi r31, r31, 8 lbl_801E7274: /* 801E7274 001E41D4 80 1E 00 04 */ lwz r0, 4(r30) /* 801E7278 001E41D8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801E727C 001E41DC 54 00 18 38 */ slwi r0, r0, 3 /* 801E7280 001E41E0 7C 03 02 14 */ add r0, r3, r0 /* 801E7284 001E41E4 7C 1F 00 40 */ cmplw r31, r0 /* 801E7288 001E41E8 40 82 FF B8 */ bne lbl_801E7240 /* 801E728C 001E41EC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 801E7290 001E41F0 40 82 00 0C */ bne lbl_801E729C /* 801E7294 001E41F4 38 00 00 01 */ li r0, 1 /* 801E7298 001E41F8 98 1E 00 14 */ stb r0, 0x14(r30) lbl_801E729C: /* 801E729C 001E41FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E72A0 001E4200 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E72A4 001E4204 83 C1 00 08 */ lwz r30, 8(r1) /* 801E72A8 001E4208 7C 08 03 A6 */ mtlr r0 /* 801E72AC 001E420C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E72B0 001E4210 4E 80 00 20 */ blr .global Decrement__Q220CActorModelParticles10Dependency Decrement__Q220CActorModelParticles10Dependency: /* 801E72B4 001E4214 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E72B8 001E4218 7C 08 02 A6 */ mflr r0 /* 801E72BC 001E421C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E72C0 001E4220 80 83 00 10 */ lwz r4, 0x10(r3) /* 801E72C4 001E4224 38 04 FF FF */ addi r0, r4, -1 /* 801E72C8 001E4228 90 03 00 10 */ stw r0, 0x10(r3) /* 801E72CC 001E422C 80 03 00 10 */ lwz r0, 0x10(r3) /* 801E72D0 001E4230 2C 00 00 00 */ cmpwi r0, 0 /* 801E72D4 001E4234 41 81 00 08 */ bgt lbl_801E72DC /* 801E72D8 001E4238 4B FF FE E1 */ bl Unload__Q220CActorModelParticles10Dependency lbl_801E72DC: /* 801E72DC 001E423C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E72E0 001E4240 7C 08 03 A6 */ mtlr r0 /* 801E72E4 001E4244 38 21 00 10 */ addi r1, r1, 0x10 /* 801E72E8 001E4248 4E 80 00 20 */ blr .global Increment__Q220CActorModelParticles10Dependency Increment__Q220CActorModelParticles10Dependency: /* 801E72EC 001E424C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E72F0 001E4250 7C 08 02 A6 */ mflr r0 /* 801E72F4 001E4254 90 01 00 14 */ stw r0, 0x14(r1) /* 801E72F8 001E4258 80 83 00 10 */ lwz r4, 0x10(r3) /* 801E72FC 001E425C 38 04 00 01 */ addi r0, r4, 1 /* 801E7300 001E4260 90 03 00 10 */ stw r0, 0x10(r3) /* 801E7304 001E4264 80 03 00 10 */ lwz r0, 0x10(r3) /* 801E7308 001E4268 2C 00 00 01 */ cmpwi r0, 1 /* 801E730C 001E426C 40 82 00 08 */ bne lbl_801E7314 /* 801E7310 001E4270 4B FF FF 0D */ bl Load__Q220CActorModelParticles10Dependency lbl_801E7314: /* 801E7314 001E4274 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E7318 001E4278 7C 08 03 A6 */ mtlr r0 /* 801E731C 001E427C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E7320 001E4280 4E 80 00 20 */ blr .global GetParticleDGRPTokens__20CActorModelParticlesFRCQ24rstl6string GetParticleDGRPTokens__20CActorModelParticlesFRCQ24rstl6string: /* 801E7324 001E4284 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E7328 001E4288 7C 08 02 A6 */ mflr r0 /* 801E732C 001E428C 7C 85 23 78 */ mr r5, r4 /* 801E7330 001E4290 90 01 00 44 */ stw r0, 0x44(r1) /* 801E7334 001E4294 38 00 00 00 */ li r0, 0 /* 801E7338 001E4298 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801E733C 001E429C 7C 7F 1B 78 */ mr r31, r3 /* 801E7340 001E42A0 93 C1 00 38 */ stw r30, 0x38(r1) /* 801E7344 001E42A4 93 A1 00 34 */ stw r29, 0x34(r1) /* 801E7348 001E42A8 90 03 00 04 */ stw r0, 4(r3) /* 801E734C 001E42AC 38 61 00 10 */ addi r3, r1, 0x10 /* 801E7350 001E42B0 90 1F 00 08 */ stw r0, 8(r31) /* 801E7354 001E42B4 90 1F 00 0C */ stw r0, 0xc(r31) /* 801E7358 001E42B8 90 1F 00 10 */ stw r0, 0x10(r31) /* 801E735C 001E42BC 98 1F 00 14 */ stb r0, 0x14(r31) /* 801E7360 001E42C0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E7364 001E42C4 81 84 00 00 */ lwz r12, 0(r4) /* 801E7368 001E42C8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801E736C 001E42CC 7D 89 03 A6 */ mtctr r12 /* 801E7370 001E42D0 4E 80 04 21 */ bctrl /* 801E7374 001E42D4 3B A1 00 18 */ addi r29, r1, 0x18 /* 801E7378 001E42D8 38 81 00 10 */ addi r4, r1, 0x10 /* 801E737C 001E42DC 7F A3 EB 78 */ mr r3, r29 /* 801E7380 001E42E0 48 15 9B 29 */ bl __ct__6CTokenFRC6CToken /* 801E7384 001E42E4 7F A3 EB 78 */ mr r3, r29 /* 801E7388 001E42E8 48 15 9A 85 */ bl GetObj__6CTokenFv /* 801E738C 001E42EC 80 03 00 04 */ lwz r0, 4(r3) /* 801E7390 001E42F0 38 61 00 10 */ addi r3, r1, 0x10 /* 801E7394 001E42F4 38 80 FF FF */ li r4, -1 /* 801E7398 001E42F8 90 01 00 20 */ stw r0, 0x20(r1) /* 801E739C 001E42FC 48 15 9A A5 */ bl __dt__6CTokenFv /* 801E73A0 001E4300 83 C1 00 20 */ lwz r30, 0x20(r1) /* 801E73A4 001E4304 7F E3 FB 78 */ mr r3, r31 /* 801E73A8 001E4308 80 9E 00 04 */ lwz r4, 4(r30) /* 801E73AC 001E430C 4B E2 15 B1 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" /* 801E73B0 001E4310 83 BE 00 0C */ lwz r29, 0xc(r30) /* 801E73B4 001E4314 48 00 00 80 */ b lbl_801E7434 lbl_801E73B8: /* 801E73B8 001E4318 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801E73BC 001E431C 7F A5 EB 78 */ mr r5, r29 /* 801E73C0 001E4320 38 61 00 08 */ addi r3, r1, 8 /* 801E73C4 001E4324 81 84 00 00 */ lwz r12, 0(r4) /* 801E73C8 001E4328 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E73CC 001E432C 7D 89 03 A6 */ mtctr r12 /* 801E73D0 001E4330 4E 80 04 21 */ bctrl /* 801E73D4 001E4334 80 1F 00 04 */ lwz r0, 4(r31) /* 801E73D8 001E4338 80 BF 00 08 */ lwz r5, 8(r31) /* 801E73DC 001E433C 7C 00 28 00 */ cmpw r0, r5 /* 801E73E0 001E4340 41 80 00 1C */ blt lbl_801E73FC /* 801E73E4 001E4344 2C 05 00 00 */ cmpwi r5, 0 /* 801E73E8 001E4348 7F E3 FB 78 */ mr r3, r31 /* 801E73EC 001E434C 38 80 00 04 */ li r4, 4 /* 801E73F0 001E4350 41 82 00 08 */ beq lbl_801E73F8 /* 801E73F4 001E4354 54 A4 08 3C */ slwi r4, r5, 1 lbl_801E73F8: /* 801E73F8 001E4358 4B E2 15 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" lbl_801E73FC: /* 801E73FC 001E435C 80 1F 00 04 */ lwz r0, 4(r31) /* 801E7400 001E4360 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801E7404 001E4364 54 00 18 38 */ slwi r0, r0, 3 /* 801E7408 001E4368 7C 63 02 15 */ add. r3, r3, r0 /* 801E740C 001E436C 41 82 00 0C */ beq lbl_801E7418 /* 801E7410 001E4370 38 81 00 08 */ addi r4, r1, 8 /* 801E7414 001E4374 48 15 9A 95 */ bl __ct__6CTokenFRC6CToken lbl_801E7418: /* 801E7418 001E4378 80 BF 00 04 */ lwz r5, 4(r31) /* 801E741C 001E437C 38 61 00 08 */ addi r3, r1, 8 /* 801E7420 001E4380 38 80 FF FF */ li r4, -1 /* 801E7424 001E4384 38 05 00 01 */ addi r0, r5, 1 /* 801E7428 001E4388 90 1F 00 04 */ stw r0, 4(r31) /* 801E742C 001E438C 48 15 9A 15 */ bl __dt__6CTokenFv /* 801E7430 001E4390 3B BD 00 08 */ addi r29, r29, 8 lbl_801E7434: /* 801E7434 001E4394 80 1E 00 04 */ lwz r0, 4(r30) /* 801E7438 001E4398 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801E743C 001E439C 54 00 18 38 */ slwi r0, r0, 3 /* 801E7440 001E43A0 7C 03 02 14 */ add r0, r3, r0 /* 801E7444 001E43A4 7C 1D 00 40 */ cmplw r29, r0 /* 801E7448 001E43A8 40 82 FF 70 */ bne lbl_801E73B8 /* 801E744C 001E43AC 38 61 00 18 */ addi r3, r1, 0x18 /* 801E7450 001E43B0 38 80 00 00 */ li r4, 0 /* 801E7454 001E43B4 48 15 99 ED */ bl __dt__6CTokenFv /* 801E7458 001E43B8 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E745C 001E43BC 7F E3 FB 78 */ mr r3, r31 /* 801E7460 001E43C0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801E7464 001E43C4 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801E7468 001E43C8 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801E746C 001E43CC 7C 08 03 A6 */ mtlr r0 /* 801E7470 001E43D0 38 21 00 40 */ addi r1, r1, 0x40 /* 801E7474 001E43D4 4E 80 00 20 */ blr .global IsMediumOrLarge__FRCActor IsMediumOrLarge__FRCActor: /* 801E7478 001E43D8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E747C 001E43DC 7C 08 02 A6 */ mflr r0 /* 801E7480 001E43E0 7C 64 1B 78 */ mr r4, r3 /* 801E7484 001E43E4 90 01 00 14 */ stw r0, 0x14(r1) /* 801E7488 001E43E8 38 61 00 08 */ addi r3, r1, 8 /* 801E748C 001E43EC 4B EC 55 D1 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 801E7490 001E43F0 80 63 00 04 */ lwz r3, 4(r3) /* 801E7494 001E43F4 28 03 00 00 */ cmplwi r3, 0 /* 801E7498 001E43F8 41 82 00 18 */ beq lbl_801E74B0 /* 801E749C 001E43FC 80 63 04 60 */ lwz r3, 0x460(r3) /* 801E74A0 001E4400 7C 03 00 D0 */ neg r0, r3 /* 801E74A4 001E4404 7C 00 1B 78 */ or r0, r0, r3 /* 801E74A8 001E4408 54 03 0F FE */ srwi r3, r0, 0x1f /* 801E74AC 001E440C 48 00 00 08 */ b lbl_801E74B4 lbl_801E74B0: /* 801E74B0 001E4410 38 60 00 00 */ li r3, 0 lbl_801E74B4: /* 801E74B4 001E4414 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E74B8 001E4418 7C 08 03 A6 */ mtlr r0 /* 801E74BC 001E441C 38 21 00 10 */ addi r1, r1, 0x10 /* 801E74C0 001E4420 4E 80 00 20 */ blr .global sub_801e74c4 sub_801e74c4: /* 801E74C4 001E4424 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E74C8 001E4428 7C 08 02 A6 */ mflr r0 /* 801E74CC 001E442C 90 01 00 24 */ stw r0, 0x24(r1) /* 801E74D0 001E4430 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E74D4 001E4434 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E74D8 001E4438 7C 9E 23 78 */ mr r30, r4 /* 801E74DC 001E443C 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E74E0 001E4440 7C 7D 1B 78 */ mr r29, r3 /* 801E74E4 001E4444 80 03 00 04 */ lwz r0, 4(r3) /* 801E74E8 001E4448 83 E4 00 04 */ lwz r31, 4(r4) /* 801E74EC 001E444C 7C 1E 00 40 */ cmplw r30, r0 /* 801E74F0 001E4450 40 82 00 08 */ bne lbl_801E74F8 /* 801E74F4 001E4454 93 FD 00 04 */ stw r31, 4(r29) lbl_801E74F8: /* 801E74F8 001E4458 80 1E 00 04 */ lwz r0, 4(r30) /* 801E74FC 001E445C 38 7E 00 08 */ addi r3, r30, 8 /* 801E7500 001E4460 80 BE 00 00 */ lwz r5, 0(r30) /* 801E7504 001E4464 38 80 FF FF */ li r4, -1 /* 801E7508 001E4468 90 05 00 04 */ stw r0, 4(r5) /* 801E750C 001E446C 80 1E 00 00 */ lwz r0, 0(r30) /* 801E7510 001E4470 80 BE 00 04 */ lwz r5, 4(r30) /* 801E7514 001E4474 90 05 00 00 */ stw r0, 0(r5) /* 801E7518 001E4478 4B FF F7 A9 */ bl __dt__Q220CActorModelParticles5CItemFv /* 801E751C 001E447C 28 1E 00 00 */ cmplwi r30, 0 /* 801E7520 001E4480 41 82 00 0C */ beq lbl_801E752C /* 801E7524 001E4484 7F C3 F3 78 */ mr r3, r30 /* 801E7528 001E4488 48 12 E4 09 */ bl Free__7CMemoryFPCv lbl_801E752C: /* 801E752C 001E448C 80 9D 00 14 */ lwz r4, 0x14(r29) /* 801E7530 001E4490 7F E3 FB 78 */ mr r3, r31 /* 801E7534 001E4494 38 04 FF FF */ addi r0, r4, -1 /* 801E7538 001E4498 90 1D 00 14 */ stw r0, 0x14(r29) /* 801E753C 001E449C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E7540 001E44A0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E7544 001E44A4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E7548 001E44A8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E754C 001E44AC 7C 08 03 A6 */ mtlr r0 /* 801E7550 001E44B0 38 21 00 20 */ addi r1, r1, 0x20 /* 801E7554 001E44B4 4E 80 00 20 */ blr .global UpdateEffects__17CWallCrawlerSwarmFR13CStateManagerR9CAnimData UpdateEffects__17CWallCrawlerSwarmFR13CStateManagerR9CAnimData: /* 801E7558 001E44B8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801E755C 001E44BC 7C 08 02 A6 */ mflr r0 /* 801E7560 001E44C0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801E7564 001E44C4 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801E7568 001E44C8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801E756C 001E44CC DB C1 00 90 */ stfd f30, 0x90(r1) /* 801E7570 001E44D0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801E7574 001E44D4 DB A1 00 80 */ stfd f29, 0x80(r1) /* 801E7578 001E44D8 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 801E757C 001E44DC BE E1 00 5C */ stmw r23, 0x5c(r1) /* 801E7580 001E44E0 7C B9 2B 78 */ mr r25, r5 /* 801E7584 001E44E4 3C A0 80 57 */ lis r5, lbl_8056C9EC@ha /* 801E7588 001E44E8 83 79 02 18 */ lwz r27, 0x218(r25) /* 801E758C 001E44EC 38 A5 C9 EC */ addi r5, r5, lbl_8056C9EC@l /* 801E7590 001E44F0 90 C1 00 08 */ stw r6, 8(r1) /* 801E7594 001E44F4 7C 77 1B 78 */ mr r23, r3 /* 801E7598 001E44F8 2C 1B 00 00 */ cmpwi r27, 0 /* 801E759C 001E44FC 7C 98 23 78 */ mr r24, r4 /* 801E75A0 001E4500 3B 85 00 04 */ addi r28, r5, 4 /* 801E75A4 001E4504 40 81 01 90 */ ble lbl_801E7734 /* 801E75A8 001E4508 28 1C 00 00 */ cmplwi r28, 0 /* 801E75AC 001E450C 41 82 01 88 */ beq lbl_801E7734 /* 801E75B0 001E4510 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E75B4 001E4514 3B 40 00 00 */ li r26, 0 /* 801E75B8 001E4518 3B C3 66 A0 */ addi r30, r3, skZero3f@l /* 801E75BC 001E451C 48 00 01 70 */ b lbl_801E772C lbl_801E75C0: /* 801E75C0 001E4520 A0 1C 00 18 */ lhz r0, 0x18(r28) /* 801E75C4 001E4524 80 7C 00 30 */ lwz r3, 0x30(r28) /* 801E75C8 001E4528 2C 00 00 08 */ cmpwi r0, 8 /* 801E75CC 001E452C 40 82 01 58 */ bne lbl_801E7724 /* 801E75D0 001E4530 2C 03 FF FF */ cmpwi r3, -1 /* 801E75D4 001E4534 41 82 00 10 */ beq lbl_801E75E4 /* 801E75D8 001E4538 80 19 02 04 */ lwz r0, 0x204(r25) /* 801E75DC 001E453C 7C 03 00 00 */ cmpw r3, r0 /* 801E75E0 001E4540 40 82 01 44 */ bne lbl_801E7724 lbl_801E75E4: /* 801E75E4 001E4544 83 FC 00 38 */ lwz r31, 0x38(r28) /* 801E75E8 001E4548 83 B7 00 04 */ lwz r29, 4(r23) /* 801E75EC 001E454C 57 E3 04 3E */ clrlwi r3, r31, 0x10 /* 801E75F0 001E4550 48 10 13 C1 */ bl TranslateSFXID__11CSfxManagerFUs /* 801E75F4 001E4554 57 E0 00 01 */ rlwinm. r0, r31, 0, 0, 0 /* 801E75F8 001E4558 7C 7F 1B 78 */ mr r31, r3 /* 801E75FC 001E455C 40 82 01 28 */ bne lbl_801E7724 /* 801E7600 001E4560 80 D8 08 4C */ lwz r6, 0x84c(r24) /* 801E7604 001E4564 7E E4 BB 78 */ mr r4, r23 /* 801E7608 001E4568 38 61 00 10 */ addi r3, r1, 0x10 /* 801E760C 001E456C 38 A1 00 1C */ addi r5, r1, 0x1c /* 801E7610 001E4570 C0 46 00 60 */ lfs f2, 0x60(r6) /* 801E7614 001E4574 C0 26 00 50 */ lfs f1, 0x50(r6) /* 801E7618 001E4578 C0 06 00 40 */ lfs f0, 0x40(r6) /* 801E761C 001E457C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801E7620 001E4580 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801E7624 001E4584 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801E7628 001E4588 48 00 01 39 */ bl FindClosestCell__17CWallCrawlerSwarmCFRC9CVector3f /* 801E762C 001E458C 88 0D A4 D8 */ lbz r0, lbl_805A9098@sda21(r13) /* 801E7630 001E4590 C3 E1 00 10 */ lfs f31, 0x10(r1) /* 801E7634 001E4594 7C 00 07 75 */ extsb. r0, r0 /* 801E7638 001E4598 C3 C1 00 14 */ lfs f30, 0x14(r1) /* 801E763C 001E459C C3 A1 00 18 */ lfs f29, 0x18(r1) /* 801E7640 001E45A0 40 82 00 14 */ bne lbl_801E7654 /* 801E7644 001E45A4 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801E7648 001E45A8 38 00 00 01 */ li r0, 1 /* 801E764C 001E45AC 98 0D A4 D8 */ stb r0, lbl_805A9098@sda21(r13) /* 801E7650 001E45B0 D0 0D A4 D4 */ stfs f0, lbl_805A9094@sda21(r13) lbl_801E7654: /* 801E7654 001E45B4 88 0D A4 E0 */ lbz r0, lbl_805A90A0@sda21(r13) /* 801E7658 001E45B8 7C 00 07 75 */ extsb. r0, r0 /* 801E765C 001E45BC 40 82 00 14 */ bne lbl_801E7670 /* 801E7660 001E45C0 C0 1C 00 3C */ lfs f0, 0x3c(r28) /* 801E7664 001E45C4 38 00 00 01 */ li r0, 1 /* 801E7668 001E45C8 98 0D A4 E0 */ stb r0, lbl_805A90A0@sda21(r13) /* 801E766C 001E45CC D0 0D A4 DC */ stfs f0, lbl_805A909C@sda21(r13) lbl_801E7670: /* 801E7670 001E45D0 38 81 00 08 */ addi r4, r1, 8 /* 801E7674 001E45D4 38 6D 92 5C */ addi r3, r13, lbl_805A7E1C@sda21 /* 801E7678 001E45D8 38 AD 92 60 */ addi r5, r13, lbl_805A7E20@sda21 /* 801E767C 001E45DC 4B E7 29 E9 */ bl "Clamp__5CMathFRCiRCiRCi" /* 801E7680 001E45E0 81 83 00 00 */ lwz r12, 0(r3) /* 801E7684 001E45E4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801E7688 001E45E8 C0 A2 AD A0 */ lfs f5, lbl_805ACAC0@sda21(r2) /* 801E768C 001E45EC 39 40 00 00 */ li r10, 0 /* 801E7690 001E45F0 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801E7694 001E45F4 B1 41 00 4C */ sth r10, 0x4c(r1) /* 801E7698 001E45F8 C0 8D A4 D4 */ lfs f4, lbl_805A9094@sda21(r13) /* 801E769C 001E45FC 39 60 00 01 */ li r11, 1 /* 801E76A0 001E4600 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 801E76A4 001E4604 39 20 00 14 */ li r9, 0x14 /* 801E76A8 001E4608 C0 6D A4 DC */ lfs f3, lbl_805A909C@sda21(r13) /* 801E76AC 001E460C 7F A8 EB 78 */ mr r8, r29 /* 801E76B0 001E4610 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801E76B4 001E4614 38 61 00 0C */ addi r3, r1, 0xc /* 801E76B8 001E4618 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) /* 801E76BC 001E461C 38 A0 00 01 */ li r5, 1 /* 801E76C0 001E4620 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801E76C4 001E4624 38 E0 00 00 */ li r7, 0 /* 801E76C8 001E4628 C0 44 00 00 */ lfs f2, 0(r4) /* 801E76CC 001E462C 38 81 00 28 */ addi r4, r1, 0x28 /* 801E76D0 001E4630 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 801E76D4 001E4634 C0 3E 00 04 */ lfs f1, 4(r30) /* 801E76D8 001E4638 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801E76DC 001E463C C0 1E 00 08 */ lfs f0, 8(r30) /* 801E76E0 001E4640 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801E76E4 001E4644 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) /* 801E76E8 001E4648 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801E76EC 001E464C D0 61 00 44 */ stfs f3, 0x44(r1) /* 801E76F0 001E4650 91 61 00 48 */ stw r11, 0x48(r1) /* 801E76F4 001E4654 99 81 00 4E */ stb r12, 0x4e(r1) /* 801E76F8 001E4658 99 21 00 4F */ stb r9, 0x4f(r1) /* 801E76FC 001E465C 99 41 00 50 */ stb r10, 0x50(r1) /* 801E7700 001E4660 98 01 00 51 */ stb r0, 0x51(r1) /* 801E7704 001E4664 D3 E1 00 28 */ stfs f31, 0x28(r1) /* 801E7708 001E4668 D3 C1 00 2C */ stfs f30, 0x2c(r1) /* 801E770C 001E466C D3 A1 00 30 */ stfs f29, 0x30(r1) /* 801E7710 001E4670 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801E7714 001E4674 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801E7718 001E4678 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801E771C 001E467C B3 E1 00 4C */ sth r31, 0x4c(r1) /* 801E7720 001E4680 48 10 28 C1 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi lbl_801E7724: /* 801E7724 001E4684 3B 9C 00 44 */ addi r28, r28, 0x44 /* 801E7728 001E4688 3B 5A 00 01 */ addi r26, r26, 1 lbl_801E772C: /* 801E772C 001E468C 7C 1A D8 00 */ cmpw r26, r27 /* 801E7730 001E4690 41 80 FE 90 */ blt lbl_801E75C0 lbl_801E7734: /* 801E7734 001E4694 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801E7738 001E4698 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801E773C 001E469C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801E7740 001E46A0 CB C1 00 90 */ lfd f30, 0x90(r1) /* 801E7744 001E46A4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 801E7748 001E46A8 CB A1 00 80 */ lfd f29, 0x80(r1) /* 801E774C 001E46AC BA E1 00 5C */ lmw r23, 0x5c(r1) /* 801E7750 001E46B0 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801E7754 001E46B4 7C 08 03 A6 */ mtlr r0 /* 801E7758 001E46B8 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801E775C 001E46BC 4E 80 00 20 */ blr .global FindClosestCell__17CWallCrawlerSwarmCFRC9CVector3f FindClosestCell__17CWallCrawlerSwarmCFRC9CVector3f: /* 801E7760 001E46C0 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801E7764 001E46C4 7C 08 02 A6 */ mflr r0 /* 801E7768 001E46C8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801E776C 001E46CC DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801E7770 001E46D0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801E7774 001E46D4 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801E7778 001E46D8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801E777C 001E46DC DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801E7780 001E46E0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801E7784 001E46E4 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 801E7788 001E46E8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 801E778C 001E46EC DB 61 00 90 */ stfd f27, 0x90(r1) /* 801E7790 001E46F0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 /* 801E7794 001E46F4 BE C1 00 68 */ stmw r22, 0x68(r1) /* 801E7798 001E46F8 3C C0 80 5A */ lis r6, skZero3f@ha /* 801E779C 001E46FC 7C 97 23 78 */ mr r23, r4 /* 801E77A0 001E4700 38 86 66 A0 */ addi r4, r6, skZero3f@l /* 801E77A4 001E4704 C3 82 AD A4 */ lfs f28, lbl_805ACAC4@sda21(r2) /* 801E77A8 001E4708 C3 E4 00 00 */ lfs f31, 0(r4) /* 801E77AC 001E470C 7C 76 1B 78 */ mr r22, r3 /* 801E77B0 001E4710 C3 C4 00 04 */ lfs f30, 4(r4) /* 801E77B4 001E4714 7C B8 2B 78 */ mr r24, r5 /* 801E77B8 001E4718 C3 A4 00 08 */ lfs f29, 8(r4) /* 801E77BC 001E471C 3B 57 01 6C */ addi r26, r23, 0x16c /* 801E77C0 001E4720 3B 80 00 00 */ li r28, 0 lbl_801E77C4: /* 801E77C4 001E4724 7F 9B E3 78 */ mr r27, r28 /* 801E77C8 001E4728 3B A0 00 00 */ li r29, 0 lbl_801E77CC: /* 801E77CC 001E472C 7F 7E DB 78 */ mr r30, r27 /* 801E77D0 001E4730 57 7F 10 3A */ slwi r31, r27, 2 /* 801E77D4 001E4734 3B 20 00 00 */ li r25, 0 lbl_801E77D8: /* 801E77D8 001E4738 7C 1A F8 2E */ lwzx r0, r26, r31 /* 801E77DC 001E473C 28 00 00 00 */ cmplwi r0, 0 /* 801E77E0 001E4740 41 82 00 C4 */ beq lbl_801E78A4 /* 801E77E4 001E4744 C0 22 AD A8 */ lfs f1, lbl_805ACAC8@sda21(r2) /* 801E77E8 001E4748 7E E4 BB 78 */ mr r4, r23 /* 801E77EC 001E474C 7F 85 E3 78 */ mr r5, r28 /* 801E77F0 001E4750 7F A6 EB 78 */ mr r6, r29 /* 801E77F4 001E4754 7F 27 CB 78 */ mr r7, r25 /* 801E77F8 001E4758 38 61 00 2C */ addi r3, r1, 0x2c /* 801E77FC 001E475C 48 00 27 C5 */ bl BoxForPosition__17CWallCrawlerSwarmCFiiif /* 801E7800 001E4760 C0 A1 00 2C */ lfs f5, 0x2c(r1) /* 801E7804 001E4764 38 61 00 14 */ addi r3, r1, 0x14 /* 801E7808 001E4768 C0 81 00 30 */ lfs f4, 0x30(r1) /* 801E780C 001E476C 38 81 00 44 */ addi r4, r1, 0x44 /* 801E7810 001E4770 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801E7814 001E4774 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801E7818 001E4778 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801E781C 001E477C C0 01 00 40 */ lfs f0, 0x40(r1) /* 801E7820 001E4780 D0 A1 00 44 */ stfs f5, 0x44(r1) /* 801E7824 001E4784 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801E7828 001E4788 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801E782C 001E478C D0 41 00 50 */ stfs f2, 0x50(r1) /* 801E7830 001E4790 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801E7834 001E4794 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801E7838 001E4798 48 14 FD D5 */ bl GetCenterPoint__6CAABoxCFv /* 801E783C 001E479C C0 41 00 18 */ lfs f2, 0x18(r1) /* 801E7840 001E47A0 C0 18 00 04 */ lfs f0, 4(r24) /* 801E7844 001E47A4 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801E7848 001E47A8 EC 82 00 28 */ fsubs f4, f2, f0 /* 801E784C 001E47AC C0 18 00 00 */ lfs f0, 0(r24) /* 801E7850 001E47B0 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 801E7854 001E47B4 EC 41 00 28 */ fsubs f2, f1, f0 /* 801E7858 001E47B8 C0 38 00 08 */ lfs f1, 8(r24) /* 801E785C 001E47BC EC 04 01 32 */ fmuls f0, f4, f4 /* 801E7860 001E47C0 EC 63 08 28 */ fsubs f3, f3, f1 /* 801E7864 001E47C4 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801E7868 001E47C8 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801E786C 001E47CC D0 41 00 20 */ stfs f2, 0x20(r1) /* 801E7870 001E47D0 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801E7874 001E47D4 EC 01 00 2A */ fadds f0, f1, f0 /* 801E7878 001E47D8 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801E787C 001E47DC EF 62 00 2A */ fadds f27, f2, f0 /* 801E7880 001E47E0 FC 1B E0 40 */ fcmpo cr0, f27, f28 /* 801E7884 001E47E4 40 80 00 20 */ bge lbl_801E78A4 /* 801E7888 001E47E8 38 61 00 08 */ addi r3, r1, 8 /* 801E788C 001E47EC 38 81 00 44 */ addi r4, r1, 0x44 /* 801E7890 001E47F0 48 14 FD 7D */ bl GetCenterPoint__6CAABoxCFv /* 801E7894 001E47F4 FF 80 D8 90 */ fmr f28, f27 /* 801E7898 001E47F8 C3 E1 00 08 */ lfs f31, 8(r1) /* 801E789C 001E47FC C3 C1 00 0C */ lfs f30, 0xc(r1) /* 801E78A0 001E4800 C3 A1 00 10 */ lfs f29, 0x10(r1) lbl_801E78A4: /* 801E78A4 001E4804 3B 39 00 01 */ addi r25, r25, 1 /* 801E78A8 001E4808 3B FF 00 64 */ addi r31, r31, 0x64 /* 801E78AC 001E480C 2C 19 00 05 */ cmpwi r25, 5 /* 801E78B0 001E4810 3B DE 00 19 */ addi r30, r30, 0x19 /* 801E78B4 001E4814 41 80 FF 24 */ blt lbl_801E77D8 /* 801E78B8 001E4818 3B BD 00 01 */ addi r29, r29, 1 /* 801E78BC 001E481C 3B 7B 00 05 */ addi r27, r27, 5 /* 801E78C0 001E4820 2C 1D 00 05 */ cmpwi r29, 5 /* 801E78C4 001E4824 41 80 FF 08 */ blt lbl_801E77CC /* 801E78C8 001E4828 3B 9C 00 01 */ addi r28, r28, 1 /* 801E78CC 001E482C 2C 1C 00 05 */ cmpwi r28, 5 /* 801E78D0 001E4830 41 80 FE F4 */ blt lbl_801E77C4 /* 801E78D4 001E4834 D3 F6 00 00 */ stfs f31, 0(r22) /* 801E78D8 001E4838 D3 D6 00 04 */ stfs f30, 4(r22) /* 801E78DC 001E483C D3 B6 00 08 */ stfs f29, 8(r22) /* 801E78E0 001E4840 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801E78E4 001E4844 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801E78E8 001E4848 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801E78EC 001E484C CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801E78F0 001E4850 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801E78F4 001E4854 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801E78F8 001E4858 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 801E78FC 001E485C CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 801E7900 001E4860 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 /* 801E7904 001E4864 CB 61 00 90 */ lfd f27, 0x90(r1) /* 801E7908 001E4868 BA C1 00 68 */ lmw r22, 0x68(r1) /* 801E790C 001E486C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801E7910 001E4870 7C 08 03 A6 */ mtlr r0 /* 801E7914 001E4874 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801E7918 001E4878 4E 80 00 20 */ blr .global FreezeCollision__17CWallCrawlerSwarmFRC11CMarkerGridf FreezeCollision__17CWallCrawlerSwarmFRC11CMarkerGridf: /* 801E791C 001E487C 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801E7920 001E4880 7C 08 02 A6 */ mflr r0 /* 801E7924 001E4884 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801E7928 001E4888 DB E1 00 90 */ stfd f31, 0x90(r1) /* 801E792C 001E488C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 801E7930 001E4890 DB C1 00 80 */ stfd f30, 0x80(r1) /* 801E7934 001E4894 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 801E7938 001E4898 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801E793C 001E489C 93 C1 00 78 */ stw r30, 0x78(r1) /* 801E7940 001E48A0 93 A1 00 74 */ stw r29, 0x74(r1) /* 801E7944 001E48A4 7C 7D 1B 78 */ mr r29, r3 /* 801E7948 001E48A8 C0 22 AD AC */ lfs f1, lbl_805ACACC@sda21(r2) /* 801E794C 001E48AC C0 43 03 78 */ lfs f2, 0x378(r3) /* 801E7950 001E48B0 7C 9E 23 78 */ mr r30, r4 /* 801E7954 001E48B4 C0 02 AD B0 */ lfs f0, lbl_805ACAD0@sda21(r2) /* 801E7958 001E48B8 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801E795C 001E48BC 83 E3 01 14 */ lwz r31, 0x114(r3) /* 801E7960 001E48C0 EF E1 10 2A */ fadds f31, f1, f2 /* 801E7964 001E48C4 EF C0 10 2A */ fadds f30, f0, f2 /* 801E7968 001E48C8 48 00 00 C8 */ b lbl_801E7A30 lbl_801E796C: /* 801E796C 001E48CC 88 1F 00 80 */ lbz r0, 0x80(r31) /* 801E7970 001E48D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E7974 001E48D4 41 82 00 B8 */ beq lbl_801E7A2C /* 801E7978 001E48D8 C1 1F 00 2C */ lfs f8, 0x2c(r31) /* 801E797C 001E48DC 38 61 00 38 */ addi r3, r1, 0x38 /* 801E7980 001E48E0 C0 FF 00 1C */ lfs f7, 0x1c(r31) /* 801E7984 001E48E4 38 81 00 2C */ addi r4, r1, 0x2c /* 801E7988 001E48E8 C0 5F 00 0C */ lfs f2, 0xc(r31) /* 801E798C 001E48EC EC A8 F0 2A */ fadds f5, f8, f30 /* 801E7990 001E48F0 EC C7 F8 2A */ fadds f6, f7, f31 /* 801E7994 001E48F4 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 801E7998 001E48F8 EC 22 F8 2A */ fadds f1, f2, f31 /* 801E799C 001E48FC 38 A1 00 14 */ addi r5, r1, 0x14 /* 801E79A0 001E4900 EC 87 F8 28 */ fsubs f4, f7, f31 /* 801E79A4 001E4904 EC 68 F0 28 */ fsubs f3, f8, f30 /* 801E79A8 001E4908 EC 02 F8 28 */ fsubs f0, f2, f31 /* 801E79AC 001E490C D0 41 00 08 */ stfs f2, 8(r1) /* 801E79B0 001E4910 D1 01 00 10 */ stfs f8, 0x10(r1) /* 801E79B4 001E4914 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801E79B8 001E4918 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 801E79BC 001E491C D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801E79C0 001E4920 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801E79C4 001E4924 D0 E1 00 24 */ stfs f7, 0x24(r1) /* 801E79C8 001E4928 D1 01 00 28 */ stfs f8, 0x28(r1) /* 801E79CC 001E492C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801E79D0 001E4930 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801E79D4 001E4934 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801E79D8 001E4938 48 15 0B 31 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801E79DC 001E493C C0 A1 00 38 */ lfs f5, 0x38(r1) /* 801E79E0 001E4940 7F C3 F3 78 */ mr r3, r30 /* 801E79E4 001E4944 C0 81 00 3C */ lfs f4, 0x3c(r1) /* 801E79E8 001E4948 38 81 00 50 */ addi r4, r1, 0x50 /* 801E79EC 001E494C C0 61 00 40 */ lfs f3, 0x40(r1) /* 801E79F0 001E4950 38 A0 00 01 */ li r5, 1 /* 801E79F4 001E4954 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801E79F8 001E4958 C0 21 00 48 */ lfs f1, 0x48(r1) /* 801E79FC 001E495C C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801E7A00 001E4960 D0 A1 00 50 */ stfs f5, 0x50(r1) /* 801E7A04 001E4964 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801E7A08 001E4968 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801E7A0C 001E496C D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801E7A10 001E4970 D0 21 00 60 */ stfs f1, 0x60(r1) /* 801E7A14 001E4974 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801E7A18 001E4978 4B FD 05 A9 */ bl AABoxTouchesData__11CMarkerGridCFRC6CAABoxUi /* 801E7A1C 001E497C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E7A20 001E4980 41 82 00 0C */ beq lbl_801E7A2C /* 801E7A24 001E4984 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801E7A28 001E4988 D0 1F 00 48 */ stfs f0, 0x48(r31) lbl_801E7A2C: /* 801E7A2C 001E498C 3B FF 00 84 */ addi r31, r31, 0x84 lbl_801E7A30: /* 801E7A30 001E4990 80 1D 01 0C */ lwz r0, 0x10c(r29) /* 801E7A34 001E4994 80 7D 01 14 */ lwz r3, 0x114(r29) /* 801E7A38 001E4998 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E7A3C 001E499C 7C 03 02 14 */ add r0, r3, r0 /* 801E7A40 001E49A0 7C 1F 00 40 */ cmplw r31, r0 /* 801E7A44 001E49A4 40 82 FF 28 */ bne lbl_801E796C /* 801E7A48 001E49A8 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 801E7A4C 001E49AC CB E1 00 90 */ lfd f31, 0x90(r1) /* 801E7A50 001E49B0 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 801E7A54 001E49B4 CB C1 00 80 */ lfd f30, 0x80(r1) /* 801E7A58 001E49B8 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801E7A5C 001E49BC 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801E7A60 001E49C0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801E7A64 001E49C4 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801E7A68 001E49C8 7C 08 03 A6 */ mtlr r0 /* 801E7A6C 001E49CC 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801E7A70 001E49D0 4E 80 00 20 */ blr .global RenderParticles__17CWallCrawlerSwarmCFv RenderParticles__17CWallCrawlerSwarmCFv: /* 801E7A74 001E49D4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E7A78 001E49D8 7C 08 02 A6 */ mflr r0 /* 801E7A7C 001E49DC 90 01 00 24 */ stw r0, 0x24(r1) /* 801E7A80 001E49E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E7A84 001E49E4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E7A88 001E49E8 3B C0 00 00 */ li r30, 0 /* 801E7A8C 001E49EC 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E7A90 001E49F0 7C 7D 1B 78 */ mr r29, r3 /* 801E7A94 001E49F4 3B FD 05 28 */ addi r31, r29, 0x528 /* 801E7A98 001E49F8 48 00 00 24 */ b lbl_801E7ABC lbl_801E7A9C: /* 801E7A9C 001E49FC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E7AA0 001E4A00 80 9F 00 04 */ lwz r4, 4(r31) /* 801E7AA4 001E4A04 81 83 00 00 */ lwz r12, 0(r3) /* 801E7AA8 001E4A08 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801E7AAC 001E4A0C 7D 89 03 A6 */ mtctr r12 /* 801E7AB0 001E4A10 4E 80 04 21 */ bctrl /* 801E7AB4 001E4A14 3B FF 00 08 */ addi r31, r31, 8 /* 801E7AB8 001E4A18 3B DE 00 01 */ addi r30, r30, 1 lbl_801E7ABC: /* 801E7ABC 001E4A1C 80 1D 05 24 */ lwz r0, 0x524(r29) /* 801E7AC0 001E4A20 7C 1E 00 00 */ cmpw r30, r0 /* 801E7AC4 001E4A24 41 80 FF D8 */ blt lbl_801E7A9C /* 801E7AC8 001E4A28 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E7ACC 001E4A2C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E7AD0 001E4A30 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E7AD4 001E4A34 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E7AD8 001E4A38 7C 08 03 A6 */ mtlr r0 /* 801E7ADC 001E4A3C 38 21 00 20 */ addi r1, r1, 0x20 /* 801E7AE0 001E4A40 4E 80 00 20 */ blr .global UpdateParticles__17CWallCrawlerSwarmFf UpdateParticles__17CWallCrawlerSwarmFf: /* 801E7AE4 001E4A44 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E7AE8 001E4A48 7C 08 02 A6 */ mflr r0 /* 801E7AEC 001E4A4C 90 01 00 24 */ stw r0, 0x24(r1) /* 801E7AF0 001E4A50 DB E1 00 18 */ stfd f31, 0x18(r1) /* 801E7AF4 001E4A54 FF E0 08 90 */ fmr f31, f1 /* 801E7AF8 001E4A58 93 E1 00 14 */ stw r31, 0x14(r1) /* 801E7AFC 001E4A5C 93 C1 00 10 */ stw r30, 0x10(r1) /* 801E7B00 001E4A60 3B C0 00 00 */ li r30, 0 /* 801E7B04 001E4A64 93 A1 00 0C */ stw r29, 0xc(r1) /* 801E7B08 001E4A68 7C 7D 1B 78 */ mr r29, r3 /* 801E7B0C 001E4A6C 3B FD 05 28 */ addi r31, r29, 0x528 /* 801E7B10 001E4A70 48 00 00 24 */ b lbl_801E7B34 lbl_801E7B14: /* 801E7B14 001E4A74 80 7F 00 04 */ lwz r3, 4(r31) /* 801E7B18 001E4A78 FC 20 F8 90 */ fmr f1, f31 /* 801E7B1C 001E4A7C 81 83 00 00 */ lwz r12, 0(r3) /* 801E7B20 001E4A80 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801E7B24 001E4A84 7D 89 03 A6 */ mtctr r12 /* 801E7B28 001E4A88 4E 80 04 21 */ bctrl /* 801E7B2C 001E4A8C 3B FF 00 08 */ addi r31, r31, 8 /* 801E7B30 001E4A90 3B DE 00 01 */ addi r30, r30, 1 lbl_801E7B34: /* 801E7B34 001E4A94 80 1D 05 24 */ lwz r0, 0x524(r29) /* 801E7B38 001E4A98 7C 1E 00 00 */ cmpw r30, r0 /* 801E7B3C 001E4A9C 41 80 FF D8 */ blt lbl_801E7B14 /* 801E7B40 001E4AA0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E7B44 001E4AA4 CB E1 00 18 */ lfd f31, 0x18(r1) /* 801E7B48 001E4AA8 83 E1 00 14 */ lwz r31, 0x14(r1) /* 801E7B4C 001E4AAC 83 C1 00 10 */ lwz r30, 0x10(r1) /* 801E7B50 001E4AB0 83 A1 00 0C */ lwz r29, 0xc(r1) /* 801E7B54 001E4AB4 7C 08 03 A6 */ mtlr r0 /* 801E7B58 001E4AB8 38 21 00 20 */ addi r1, r1, 0x20 /* 801E7B5C 001E4ABC 4E 80 00 20 */ blr .global AddParticle__17CWallCrawlerSwarmFRC12CTransform4f AddParticle__17CWallCrawlerSwarmFRC12CTransform4f: /* 801E7B60 001E4AC0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E7B64 001E4AC4 7C 08 02 A6 */ mflr r0 /* 801E7B68 001E4AC8 3C A0 80 3D */ lis r5, lbl_803D1F20@ha /* 801E7B6C 001E4ACC 90 01 00 34 */ stw r0, 0x34(r1) /* 801E7B70 001E4AD0 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801E7B74 001E4AD4 7C 7B 1B 78 */ mr r27, r3 /* 801E7B78 001E4AD8 3B C5 1F 20 */ addi r30, r5, lbl_803D1F20@l /* 801E7B7C 001E4ADC 7C 9C 23 78 */ mr r28, r4 /* 801E7B80 001E4AE0 3B FB 05 28 */ addi r31, r27, 0x528 /* 801E7B84 001E4AE4 3B A0 00 00 */ li r29, 0 /* 801E7B88 001E4AE8 48 00 00 7C */ b lbl_801E7C04 lbl_801E7B8C: /* 801E7B8C 001E4AEC 80 7F 00 04 */ lwz r3, 4(r31) /* 801E7B90 001E4AF0 38 80 00 01 */ li r4, 1 /* 801E7B94 001E4AF4 81 83 00 00 */ lwz r12, 0(r3) /* 801E7B98 001E4AF8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E7B9C 001E4AFC 7D 89 03 A6 */ mtctr r12 /* 801E7BA0 001E4B00 4E 80 04 21 */ bctrl /* 801E7BA4 001E4B04 C0 5C 00 2C */ lfs f2, 0x2c(r28) /* 801E7BA8 001E4B08 38 81 00 08 */ addi r4, r1, 8 /* 801E7BAC 001E4B0C C0 3C 00 1C */ lfs f1, 0x1c(r28) /* 801E7BB0 001E4B10 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 801E7BB4 001E4B14 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801E7BB8 001E4B18 D0 01 00 08 */ stfs f0, 8(r1) /* 801E7BBC 001E4B1C D0 41 00 10 */ stfs f2, 0x10(r1) /* 801E7BC0 001E4B20 80 7F 00 04 */ lwz r3, 4(r31) /* 801E7BC4 001E4B24 81 83 00 00 */ lwz r12, 0(r3) /* 801E7BC8 001E4B28 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801E7BCC 001E4B2C 7D 89 03 A6 */ mtctr r12 /* 801E7BD0 001E4B30 4E 80 04 21 */ bctrl /* 801E7BD4 001E4B34 80 7F 00 04 */ lwz r3, 4(r31) /* 801E7BD8 001E4B38 80 9E 00 00 */ lwz r4, 0(r30) /* 801E7BDC 001E4B3C 48 13 4C E5 */ bl ForceParticleCreation__11CElementGenFi /* 801E7BE0 001E4B40 80 7F 00 04 */ lwz r3, 4(r31) /* 801E7BE4 001E4B44 38 80 00 00 */ li r4, 0 /* 801E7BE8 001E4B48 81 83 00 00 */ lwz r12, 0(r3) /* 801E7BEC 001E4B4C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E7BF0 001E4B50 7D 89 03 A6 */ mtctr r12 /* 801E7BF4 001E4B54 4E 80 04 21 */ bctrl /* 801E7BF8 001E4B58 3B FF 00 08 */ addi r31, r31, 8 /* 801E7BFC 001E4B5C 3B DE 00 04 */ addi r30, r30, 4 /* 801E7C00 001E4B60 3B BD 00 01 */ addi r29, r29, 1 lbl_801E7C04: /* 801E7C04 001E4B64 80 1B 05 24 */ lwz r0, 0x524(r27) /* 801E7C08 001E4B68 7C 1D 00 00 */ cmpw r29, r0 /* 801E7C0C 001E4B6C 41 80 FF 80 */ blt lbl_801E7B8C /* 801E7C10 001E4B70 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801E7C14 001E4B74 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E7C18 001E4B78 7C 08 03 A6 */ mtlr r0 /* 801E7C1C 001E4B7C 38 21 00 30 */ addi r1, r1, 0x30 /* 801E7C20 001E4B80 4E 80 00 20 */ blr .global KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff: /* 801E7C24 001E4B84 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E7C28 001E4B88 7C 08 02 A6 */ mflr r0 /* 801E7C2C 001E4B8C 90 01 00 54 */ stw r0, 0x54(r1) /* 801E7C30 001E4B90 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801E7C34 001E4B94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801E7C38 001E4B98 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801E7C3C 001E4B9C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801E7C40 001E4BA0 DB A1 00 20 */ stfd f29, 0x20(r1) /* 801E7C44 001E4BA4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 /* 801E7C48 001E4BA8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E7C4C 001E4BAC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801E7C50 001E4BB0 93 A1 00 14 */ stw r29, 0x14(r1) /* 801E7C54 001E4BB4 7C 9E 23 78 */ mr r30, r4 /* 801E7C58 001E4BB8 7C 7D 1B 78 */ mr r29, r3 /* 801E7C5C 001E4BBC C0 64 00 2C */ lfs f3, 0x2c(r4) /* 801E7C60 001E4BC0 FF A0 08 90 */ fmr f29, f1 /* 801E7C64 001E4BC4 C0 24 00 1C */ lfs f1, 0x1c(r4) /* 801E7C68 001E4BC8 FF C0 10 90 */ fmr f30, f2 /* 801E7C6C 001E4BCC C0 04 00 0C */ lfs f0, 0xc(r4) /* 801E7C70 001E4BD0 7C BF 2B 78 */ mr r31, r5 /* 801E7C74 001E4BD4 D0 03 01 30 */ stfs f0, 0x130(r3) /* 801E7C78 001E4BD8 D0 23 01 34 */ stfs f1, 0x134(r3) /* 801E7C7C 001E4BDC D0 63 01 38 */ stfs f3, 0x138(r3) /* 801E7C80 001E4BE0 4B FF FE E1 */ bl AddParticle__17CWallCrawlerSwarmFRC12CTransform4f /* 801E7C84 001E4BE4 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801E7C88 001E4BE8 38 60 00 00 */ li r3, 0 /* 801E7C8C 001E4BEC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E7C90 001E4BF0 98 1E 00 80 */ stb r0, 0x80(r30) /* 801E7C94 001E4BF4 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E7C98 001E4BF8 48 12 A8 45 */ bl Float__9CRandom16Fv /* 801E7C9C 001E4BFC FF E0 08 90 */ fmr f31, f1 /* 801E7CA0 001E4C00 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801E7CA4 001E4C04 48 12 A8 39 */ bl Float__9CRandom16Fv /* 801E7CA8 001E4C08 FC 01 E8 40 */ fcmpo cr0, f1, f29 /* 801E7CAC 001E4C0C 40 80 00 18 */ bge lbl_801E7CC4 /* 801E7CB0 001E4C10 7F A3 EB 78 */ mr r3, r29 /* 801E7CB4 001E4C14 7F E5 FB 78 */ mr r5, r31 /* 801E7CB8 001E4C18 38 80 00 14 */ li r4, 0x14 /* 801E7CBC 001E4C1C 38 C0 FF FF */ li r6, -1 /* 801E7CC0 001E4C20 4B E6 94 01 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801E7CC4: /* 801E7CC4 001E4C24 FC 1F F0 40 */ fcmpo cr0, f31, f30 /* 801E7CC8 001E4C28 40 80 00 18 */ bge lbl_801E7CE0 /* 801E7CCC 001E4C2C 7F A3 EB 78 */ mr r3, r29 /* 801E7CD0 001E4C30 7F E5 FB 78 */ mr r5, r31 /* 801E7CD4 001E4C34 38 80 00 0E */ li r4, 0xe /* 801E7CD8 001E4C38 38 C0 FF FF */ li r6, -1 /* 801E7CDC 001E4C3C 4B E6 93 E5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_801E7CE0: /* 801E7CE0 001E4C40 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801E7CE4 001E4C44 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801E7CE8 001E4C48 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801E7CEC 001E4C4C CB C1 00 30 */ lfd f30, 0x30(r1) /* 801E7CF0 001E4C50 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 /* 801E7CF4 001E4C54 CB A1 00 20 */ lfd f29, 0x20(r1) /* 801E7CF8 001E4C58 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E7CFC 001E4C5C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801E7D00 001E4C60 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E7D04 001E4C64 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801E7D08 001E4C68 7C 08 03 A6 */ mtlr r0 /* 801E7D0C 001E4C6C 38 21 00 50 */ addi r1, r1, 0x50 /* 801E7D10 001E4C70 4E 80 00 20 */ blr .global sub_801e7d14 sub_801e7d14: /* 801E7D14 001E4C74 80 04 04 2C */ lwz r0, 0x42c(r4) /* 801E7D18 001E4C78 2C 00 FF FF */ cmpwi r0, -1 /* 801E7D1C 001E4C7C 40 82 00 20 */ bne lbl_801E7D3C /* 801E7D20 001E4C80 C0 04 01 24 */ lfs f0, 0x124(r4) /* 801E7D24 001E4C84 D0 03 00 00 */ stfs f0, 0(r3) /* 801E7D28 001E4C88 C0 04 01 28 */ lfs f0, 0x128(r4) /* 801E7D2C 001E4C8C D0 03 00 04 */ stfs f0, 4(r3) /* 801E7D30 001E4C90 C0 04 01 2C */ lfs f0, 0x12c(r4) /* 801E7D34 001E4C94 D0 03 00 08 */ stfs f0, 8(r3) /* 801E7D38 001E4C98 4E 80 00 20 */ blr lbl_801E7D3C: /* 801E7D3C 001E4C9C 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E7D40 001E4CA0 80 A4 01 14 */ lwz r5, 0x114(r4) /* 801E7D44 001E4CA4 7C A5 02 14 */ add r5, r5, r0 /* 801E7D48 001E4CA8 C0 45 00 2C */ lfs f2, 0x2c(r5) /* 801E7D4C 001E4CAC C0 25 00 1C */ lfs f1, 0x1c(r5) /* 801E7D50 001E4CB0 C0 05 00 0C */ lfs f0, 0xc(r5) /* 801E7D54 001E4CB4 D0 04 01 24 */ stfs f0, 0x124(r4) /* 801E7D58 001E4CB8 D0 24 01 28 */ stfs f1, 0x128(r4) /* 801E7D5C 001E4CBC D0 44 01 2C */ stfs f2, 0x12c(r4) /* 801E7D60 001E4CC0 C0 04 01 24 */ lfs f0, 0x124(r4) /* 801E7D64 001E4CC4 D0 03 00 00 */ stfs f0, 0(r3) /* 801E7D68 001E4CC8 C0 04 01 28 */ lfs f0, 0x128(r4) /* 801E7D6C 001E4CCC D0 03 00 04 */ stfs f0, 4(r3) /* 801E7D70 001E4CD0 C0 04 01 2C */ lfs f0, 0x12c(r4) /* 801E7D74 001E4CD4 D0 03 00 08 */ stfs f0, 8(r3) /* 801E7D78 001E4CD8 4E 80 00 20 */ blr .global sub_801e7d7c sub_801e7d7c: /* 801E7D7C 001E4CDC 80 04 04 2C */ lwz r0, 0x42c(r4) /* 801E7D80 001E4CE0 2C 00 FF FF */ cmpwi r0, -1 /* 801E7D84 001E4CE4 40 82 00 20 */ bne lbl_801E7DA4 /* 801E7D88 001E4CE8 C0 04 01 24 */ lfs f0, 0x124(r4) /* 801E7D8C 001E4CEC D0 03 00 00 */ stfs f0, 0(r3) /* 801E7D90 001E4CF0 C0 04 01 28 */ lfs f0, 0x128(r4) /* 801E7D94 001E4CF4 D0 03 00 04 */ stfs f0, 4(r3) /* 801E7D98 001E4CF8 C0 04 01 2C */ lfs f0, 0x12c(r4) /* 801E7D9C 001E4CFC D0 03 00 08 */ stfs f0, 8(r3) /* 801E7DA0 001E4D00 4E 80 00 20 */ blr lbl_801E7DA4: /* 801E7DA4 001E4D04 1C A0 00 84 */ mulli r5, r0, 0x84 /* 801E7DA8 001E4D08 80 04 01 14 */ lwz r0, 0x114(r4) /* 801E7DAC 001E4D0C C0 44 01 24 */ lfs f2, 0x124(r4) /* 801E7DB0 001E4D10 C0 C4 01 28 */ lfs f6, 0x128(r4) /* 801E7DB4 001E4D14 38 A5 00 30 */ addi r5, r5, 0x30 /* 801E7DB8 001E4D18 C0 84 01 2C */ lfs f4, 0x12c(r4) /* 801E7DBC 001E4D1C 7C A0 2A 14 */ add r5, r0, r5 /* 801E7DC0 001E4D20 C0 05 00 00 */ lfs f0, 0(r5) /* 801E7DC4 001E4D24 C0 A5 00 04 */ lfs f5, 4(r5) /* 801E7DC8 001E4D28 EC 01 00 32 */ fmuls f0, f1, f0 /* 801E7DCC 001E4D2C C0 65 00 08 */ lfs f3, 8(r5) /* 801E7DD0 001E4D30 EC A1 01 72 */ fmuls f5, f1, f5 /* 801E7DD4 001E4D34 EC 21 00 F2 */ fmuls f1, f1, f3 /* 801E7DD8 001E4D38 EC 02 00 2A */ fadds f0, f2, f0 /* 801E7DDC 001E4D3C EC 46 28 2A */ fadds f2, f6, f5 /* 801E7DE0 001E4D40 EC 24 08 2A */ fadds f1, f4, f1 /* 801E7DE4 001E4D44 D0 03 00 00 */ stfs f0, 0(r3) /* 801E7DE8 001E4D48 D0 43 00 04 */ stfs f2, 4(r3) /* 801E7DEC 001E4D4C D0 23 00 08 */ stfs f1, 8(r3) /* 801E7DF0 001E4D50 4E 80 00 20 */ blr .global sub_801e7df4 sub_801e7df4: /* 801E7DF4 001E4D54 94 21 FE C0 */ stwu r1, -0x140(r1) /* 801E7DF8 001E4D58 7C 08 02 A6 */ mflr r0 /* 801E7DFC 001E4D5C 90 01 01 44 */ stw r0, 0x144(r1) /* 801E7E00 001E4D60 DB E1 01 30 */ stfd f31, 0x130(r1) /* 801E7E04 001E4D64 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 801E7E08 001E4D68 DB C1 01 20 */ stfd f30, 0x120(r1) /* 801E7E0C 001E4D6C F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 /* 801E7E10 001E4D70 DB A1 01 10 */ stfd f29, 0x110(r1) /* 801E7E14 001E4D74 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 /* 801E7E18 001E4D78 DB 81 01 00 */ stfd f28, 0x100(r1) /* 801E7E1C 001E4D7C F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 /* 801E7E20 001E4D80 DB 61 00 F0 */ stfd f27, 0xf0(r1) /* 801E7E24 001E4D84 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 /* 801E7E28 001E4D88 93 E1 00 EC */ stw r31, 0xec(r1) /* 801E7E2C 001E4D8C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801E7E30 001E4D90 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 801E7E34 001E4D94 93 81 00 E0 */ stw r28, 0xe0(r1) /* 801E7E38 001E4D98 7C 9C 23 78 */ mr r28, r4 /* 801E7E3C 001E4D9C 7C 7F 1B 78 */ mr r31, r3 /* 801E7E40 001E4DA0 80 84 08 70 */ lwz r4, 0x870(r4) /* 801E7E44 001E4DA4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801E7E48 001E4DA8 80 84 00 7C */ lwz r4, 0x7c(r4) /* 801E7E4C 001E4DAC 38 84 00 34 */ addi r4, r4, 0x34 /* 801E7E50 001E4DB0 48 12 AD 25 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801E7E54 001E4DB4 80 1F 04 2C */ lwz r0, 0x42c(r31) /* 801E7E58 001E4DB8 C0 A1 00 D4 */ lfs f5, 0xd4(r1) /* 801E7E5C 001E4DBC C0 81 00 B4 */ lfs f4, 0xb4(r1) /* 801E7E60 001E4DC0 2C 00 FF FF */ cmpwi r0, -1 /* 801E7E64 001E4DC4 C0 61 00 C4 */ lfs f3, 0xc4(r1) /* 801E7E68 001E4DC8 D0 81 00 38 */ stfs f4, 0x38(r1) /* 801E7E6C 001E4DCC C3 A1 00 CC */ lfs f29, 0xcc(r1) /* 801E7E70 001E4DD0 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801E7E74 001E4DD4 C3 C1 00 BC */ lfs f30, 0xbc(r1) /* 801E7E78 001E4DD8 D0 A1 00 40 */ stfs f5, 0x40(r1) /* 801E7E7C 001E4DDC C3 E1 00 AC */ lfs f31, 0xac(r1) /* 801E7E80 001E4DE0 41 82 00 F8 */ beq lbl_801E7F78 /* 801E7E84 001E4DE4 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E7E88 001E4DE8 80 7F 01 14 */ lwz r3, 0x114(r31) /* 801E7E8C 001E4DEC 7C 83 02 14 */ add r4, r3, r0 /* 801E7E90 001E4DF0 88 04 00 80 */ lbz r0, 0x80(r4) /* 801E7E94 001E4DF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E7E98 001E4DF8 41 82 00 D8 */ beq lbl_801E7F70 /* 801E7E9C 001E4DFC C0 44 00 1C */ lfs f2, 0x1c(r4) /* 801E7EA0 001E4E00 38 61 00 2C */ addi r3, r1, 0x2c /* 801E7EA4 001E4E04 C0 24 00 2C */ lfs f1, 0x2c(r4) /* 801E7EA8 001E4E08 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801E7EAC 001E4E0C EC 42 18 28 */ fsubs f2, f2, f3 /* 801E7EB0 001E4E10 EC 21 28 28 */ fsubs f1, f1, f5 /* 801E7EB4 001E4E14 EC 00 20 28 */ fsubs f0, f0, f4 /* 801E7EB8 001E4E18 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801E7EBC 001E4E1C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801E7EC0 001E4E20 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801E7EC4 001E4E24 48 12 C9 F5 */ bl Magnitude__9CVector3fCFv /* 801E7EC8 001E4E28 FF 60 08 90 */ fmr f27, f1 /* 801E7ECC 001E4E2C C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801E7ED0 001E4E30 C0 61 00 30 */ lfs f3, 0x30(r1) /* 801E7ED4 001E4E34 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801E7ED8 001E4E38 EC A4 D8 24 */ fdivs f5, f4, f27 /* 801E7EDC 001E4E3C C0 21 00 34 */ lfs f1, 0x34(r1) /* 801E7EE0 001E4E40 C0 02 AD B8 */ lfs f0, lbl_805ACAD8@sda21(r2) /* 801E7EE4 001E4E44 EC 85 00 F2 */ fmuls f4, f5, f3 /* 801E7EE8 001E4E48 EC 65 00 72 */ fmuls f3, f5, f1 /* 801E7EEC 001E4E4C EC 45 00 B2 */ fmuls f2, f5, f2 /* 801E7EF0 001E4E50 EC 3E 01 32 */ fmuls f1, f30, f4 /* 801E7EF4 001E4E54 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801E7EF8 001E4E58 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801E7EFC 001E4E5C EC 3F 08 BA */ fmadds f1, f31, f2, f1 /* 801E7F00 001E4E60 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801E7F04 001E4E64 EC 3D 08 FA */ fmadds f1, f29, f3, f1 /* 801E7F08 001E4E68 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E7F0C 001E4E6C 40 81 00 64 */ ble lbl_801E7F70 /* 801E7F10 001E4E70 80 AD 92 58 */ lwz r5, lbl_805A7E18@sda21(r13) /* 801E7F14 001E4E74 38 60 00 00 */ li r3, 0 /* 801E7F18 001E4E78 38 80 00 01 */ li r4, 1 /* 801E7F1C 001E4E7C 48 1A 1F D9 */ bl __shl2i /* 801E7F20 001E4E80 39 00 00 01 */ li r8, 1 /* 801E7F24 001E4E84 38 00 00 00 */ li r0, 0 /* 801E7F28 001E4E88 90 81 00 64 */ stw r4, 0x64(r1) /* 801E7F2C 001E4E8C FC 20 D8 90 */ fmr f1, f27 /* 801E7F30 001E4E90 7F 84 E3 78 */ mr r4, r28 /* 801E7F34 001E4E94 38 A1 00 38 */ addi r5, r1, 0x38 /* 801E7F38 001E4E98 90 61 00 60 */ stw r3, 0x60(r1) /* 801E7F3C 001E4E9C 38 61 00 78 */ addi r3, r1, 0x78 /* 801E7F40 001E4EA0 38 C1 00 20 */ addi r6, r1, 0x20 /* 801E7F44 001E4EA4 91 01 00 58 */ stw r8, 0x58(r1) /* 801E7F48 001E4EA8 38 E1 00 60 */ addi r7, r1, 0x60 /* 801E7F4C 001E4EAC 90 01 00 6C */ stw r0, 0x6c(r1) /* 801E7F50 001E4EB0 90 01 00 68 */ stw r0, 0x68(r1) /* 801E7F54 001E4EB4 91 01 00 70 */ stw r8, 0x70(r1) /* 801E7F58 001E4EB8 4B E6 50 41 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801E7F5C 001E4EBC 88 01 00 98 */ lbz r0, 0x98(r1) /* 801E7F60 001E4EC0 28 00 00 00 */ cmplwi r0, 0 /* 801E7F64 001E4EC4 40 82 00 0C */ bne lbl_801E7F70 /* 801E7F68 001E4EC8 80 7F 04 2C */ lwz r3, 0x42c(r31) /* 801E7F6C 001E4ECC 48 00 00 F0 */ b lbl_801E805C lbl_801E7F70: /* 801E7F70 001E4ED0 38 60 FF FF */ li r3, -1 /* 801E7F74 001E4ED4 48 00 00 E8 */ b lbl_801E805C lbl_801E7F78: /* 801E7F78 001E4ED8 C3 82 AD B0 */ lfs f28, lbl_805ACAD0@sda21(r2) /* 801E7F7C 001E4EDC 7F 84 E3 78 */ mr r4, r28 /* 801E7F80 001E4EE0 80 7C 08 4C */ lwz r3, 0x84c(r28) /* 801E7F84 001E4EE4 3B A0 00 00 */ li r29, 0 /* 801E7F88 001E4EE8 3B 80 FF FF */ li r28, -1 /* 801E7F8C 001E4EEC 4B F9 70 CD */ bl GetOrbitMaxTargetDistance__7CPlayerCFRC13CStateManager /* 801E7F90 001E4EF0 EF 61 00 72 */ fmuls f27, f1, f1 /* 801E7F94 001E4EF4 83 DF 01 14 */ lwz r30, 0x114(r31) /* 801E7F98 001E4EF8 48 00 00 A8 */ b lbl_801E8040 lbl_801E7F9C: /* 801E7F9C 001E4EFC 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801E7FA0 001E4F00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E7FA4 001E4F04 41 82 00 94 */ beq lbl_801E8038 /* 801E7FA8 001E4F08 C0 7E 00 1C */ lfs f3, 0x1c(r30) /* 801E7FAC 001E4F0C C0 41 00 3C */ lfs f2, 0x3c(r1) /* 801E7FB0 001E4F10 C0 3E 00 0C */ lfs f1, 0xc(r30) /* 801E7FB4 001E4F14 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801E7FB8 001E4F18 EC 83 10 28 */ fsubs f4, f3, f2 /* 801E7FBC 001E4F1C C0 7E 00 2C */ lfs f3, 0x2c(r30) /* 801E7FC0 001E4F20 EC 41 00 28 */ fsubs f2, f1, f0 /* 801E7FC4 001E4F24 C0 21 00 40 */ lfs f1, 0x40(r1) /* 801E7FC8 001E4F28 EC 04 01 32 */ fmuls f0, f4, f4 /* 801E7FCC 001E4F2C D0 81 00 18 */ stfs f4, 0x18(r1) /* 801E7FD0 001E4F30 EC 63 08 28 */ fsubs f3, f3, f1 /* 801E7FD4 001E4F34 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801E7FD8 001E4F38 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801E7FDC 001E4F3C EC 43 00 F2 */ fmuls f2, f3, f3 /* 801E7FE0 001E4F40 EC 01 00 2A */ fadds f0, f1, f0 /* 801E7FE4 001E4F44 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 801E7FE8 001E4F48 EC 02 00 2A */ fadds f0, f2, f0 /* 801E7FEC 001E4F4C FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 801E7FF0 001E4F50 41 81 00 48 */ bgt lbl_801E8038 /* 801E7FF4 001E4F54 38 61 00 14 */ addi r3, r1, 0x14 /* 801E7FF8 001E4F58 48 12 C7 01 */ bl CanBeNormalized__9CVector3fCFv /* 801E7FFC 001E4F5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E8000 001E4F60 41 82 00 38 */ beq lbl_801E8038 /* 801E8004 001E4F64 38 61 00 08 */ addi r3, r1, 8 /* 801E8008 001E4F68 38 81 00 14 */ addi r4, r1, 0x14 /* 801E800C 001E4F6C 48 12 C8 45 */ bl AsNormalized__9CVector3fCFv /* 801E8010 001E4F70 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801E8014 001E4F74 C0 21 00 08 */ lfs f1, 8(r1) /* 801E8018 001E4F78 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801E801C 001E4F7C C0 41 00 10 */ lfs f2, 0x10(r1) /* 801E8020 001E4F80 EC 1F 00 7A */ fmadds f0, f31, f1, f0 /* 801E8024 001E4F84 EC 1D 00 BA */ fmadds f0, f29, f2, f0 /* 801E8028 001E4F88 FC 00 E0 40 */ fcmpo cr0, f0, f28 /* 801E802C 001E4F8C 40 81 00 0C */ ble lbl_801E8038 /* 801E8030 001E4F90 7F BC EB 78 */ mr r28, r29 /* 801E8034 001E4F94 FF 80 00 90 */ fmr f28, f0 lbl_801E8038: /* 801E8038 001E4F98 3B DE 00 84 */ addi r30, r30, 0x84 /* 801E803C 001E4F9C 3B BD 00 01 */ addi r29, r29, 1 lbl_801E8040: /* 801E8040 001E4FA0 80 1F 01 0C */ lwz r0, 0x10c(r31) /* 801E8044 001E4FA4 80 7F 01 14 */ lwz r3, 0x114(r31) /* 801E8048 001E4FA8 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E804C 001E4FAC 7C 03 02 14 */ add r0, r3, r0 /* 801E8050 001E4FB0 7C 1E 00 40 */ cmplw r30, r0 /* 801E8054 001E4FB4 40 82 FF 48 */ bne lbl_801E7F9C /* 801E8058 001E4FB8 7F 83 E3 78 */ mr r3, r28 lbl_801E805C: /* 801E805C 001E4FBC E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 801E8060 001E4FC0 CB E1 01 30 */ lfd f31, 0x130(r1) /* 801E8064 001E4FC4 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 /* 801E8068 001E4FC8 CB C1 01 20 */ lfd f30, 0x120(r1) /* 801E806C 001E4FCC E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 /* 801E8070 001E4FD0 CB A1 01 10 */ lfd f29, 0x110(r1) /* 801E8074 001E4FD4 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 /* 801E8078 001E4FD8 CB 81 01 00 */ lfd f28, 0x100(r1) /* 801E807C 001E4FDC E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 /* 801E8080 001E4FE0 CB 61 00 F0 */ lfd f27, 0xf0(r1) /* 801E8084 001E4FE4 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801E8088 001E4FE8 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801E808C 001E4FEC 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 801E8090 001E4FF0 80 01 01 44 */ lwz r0, 0x144(r1) /* 801E8094 001E4FF4 83 81 00 E0 */ lwz r28, 0xe0(r1) /* 801E8098 001E4FF8 7C 08 03 A6 */ mtlr r0 /* 801E809C 001E4FFC 38 21 01 40 */ addi r1, r1, 0x140 /* 801E80A0 001E5000 4E 80 00 20 */ blr .global sub_801e80a4 sub_801e80a4: /* 801E80A4 001E5004 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E80A8 001E5008 7C 08 02 A6 */ mflr r0 /* 801E80AC 001E500C C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801E80B0 001E5010 90 01 00 54 */ stw r0, 0x54(r1) /* 801E80B4 001E5014 C0 42 AD B4 */ lfs f2, lbl_805ACAD4@sda21(r2) /* 801E80B8 001E5018 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801E80BC 001E501C 7C BF 2B 78 */ mr r31, r5 /* 801E80C0 001E5020 93 C1 00 48 */ stw r30, 0x48(r1) /* 801E80C4 001E5024 7C 9E 23 78 */ mr r30, r4 /* 801E80C8 001E5028 93 A1 00 44 */ stw r29, 0x44(r1) /* 801E80CC 001E502C 7C 7D 1B 78 */ mr r29, r3 /* 801E80D0 001E5030 4B FF FB 55 */ bl KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff /* 801E80D4 001E5034 80 AD 92 54 */ lwz r5, lbl_805A7E14@sda21(r13) /* 801E80D8 001E5038 38 60 00 00 */ li r3, 0 /* 801E80DC 001E503C 38 80 00 01 */ li r4, 1 /* 801E80E0 001E5040 48 1A 1E 15 */ bl __shl2i /* 801E80E4 001E5044 39 20 00 00 */ li r9, 0 /* 801E80E8 001E5048 38 00 00 01 */ li r0, 1 /* 801E80EC 001E504C 90 81 00 24 */ stw r4, 0x24(r1) /* 801E80F0 001E5050 7F A5 EB 78 */ mr r5, r29 /* 801E80F4 001E5054 38 81 00 0C */ addi r4, r1, 0xc /* 801E80F8 001E5058 38 C1 00 10 */ addi r6, r1, 0x10 /* 801E80FC 001E505C 90 61 00 20 */ stw r3, 0x20(r1) /* 801E8100 001E5060 7F E3 FB 78 */ mr r3, r31 /* 801E8104 001E5064 38 FD 03 A0 */ addi r7, r29, 0x3a0 /* 801E8108 001E5068 39 01 00 20 */ addi r8, r1, 0x20 /* 801E810C 001E506C 91 21 00 2C */ stw r9, 0x2c(r1) /* 801E8110 001E5070 91 21 00 28 */ stw r9, 0x28(r1) /* 801E8114 001E5074 90 01 00 30 */ stw r0, 0x30(r1) /* 801E8118 001E5078 C0 5E 00 2C */ lfs f2, 0x2c(r30) /* 801E811C 001E507C C0 3E 00 1C */ lfs f1, 0x1c(r30) /* 801E8120 001E5080 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801E8124 001E5084 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801E8128 001E5088 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801E812C 001E508C D0 41 00 18 */ stfs f2, 0x18(r1) /* 801E8130 001E5090 A0 1D 00 08 */ lhz r0, 8(r29) /* 801E8134 001E5094 B0 01 00 08 */ sth r0, 8(r1) /* 801E8138 001E5098 B0 01 00 0C */ sth r0, 0xc(r1) /* 801E813C 001E509C 4B E6 0B 71 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter /* 801E8140 001E50A0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E8144 001E50A4 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801E8148 001E50A8 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801E814C 001E50AC 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801E8150 001E50B0 7C 08 03 A6 */ mtlr r0 /* 801E8154 001E50B4 38 21 00 50 */ addi r1, r1, 0x50 /* 801E8158 001E50B8 4E 80 00 20 */ blr .global sub_801e815c sub_801e815c: /* 801E815C 001E50BC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E8160 001E50C0 ED 61 00 72 */ fmuls f11, f1, f1 /* 801E8164 001E50C4 ED 43 10 28 */ fsubs f10, f3, f2 /* 801E8168 001E50C8 80 C3 01 14 */ lwz r6, 0x114(r3) /* 801E816C 001E50CC 48 00 00 A0 */ b lbl_801E820C lbl_801E8170: /* 801E8170 001E50D0 88 06 00 80 */ lbz r0, 0x80(r6) /* 801E8174 001E50D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E8178 001E50D8 41 82 00 90 */ beq lbl_801E8208 /* 801E817C 001E50DC C0 06 00 48 */ lfs f0, 0x48(r6) /* 801E8180 001E50E0 C0 A2 AD A0 */ lfs f5, lbl_805ACAC0@sda21(r2) /* 801E8184 001E50E4 FC 00 28 40 */ fcmpo cr0, f0, f5 /* 801E8188 001E50E8 4C 40 13 82 */ cror 2, 0, 2 /* 801E818C 001E50EC 40 82 00 7C */ bne lbl_801E8208 /* 801E8190 001E50F0 C1 06 00 1C */ lfs f8, 0x1c(r6) /* 801E8194 001E50F4 C0 66 00 0C */ lfs f3, 0xc(r6) /* 801E8198 001E50F8 C0 24 00 04 */ lfs f1, 4(r4) /* 801E819C 001E50FC C0 04 00 00 */ lfs f0, 0(r4) /* 801E81A0 001E5100 EC E8 08 28 */ fsubs f7, f8, f1 /* 801E81A4 001E5104 C1 26 00 2C */ lfs f9, 0x2c(r6) /* 801E81A8 001E5108 EC 83 00 28 */ fsubs f4, f3, f0 /* 801E81AC 001E510C C0 04 00 08 */ lfs f0, 8(r4) /* 801E81B0 001E5110 D0 61 00 08 */ stfs f3, 8(r1) /* 801E81B4 001E5114 EC C9 00 28 */ fsubs f6, f9, f0 /* 801E81B8 001E5118 EC 24 01 32 */ fmuls f1, f4, f4 /* 801E81BC 001E511C D1 01 00 0C */ stfs f8, 0xc(r1) /* 801E81C0 001E5120 EC 07 01 F2 */ fmuls f0, f7, f7 /* 801E81C4 001E5124 EC 66 01 B2 */ fmuls f3, f6, f6 /* 801E81C8 001E5128 D1 21 00 10 */ stfs f9, 0x10(r1) /* 801E81CC 001E512C EC 01 00 2A */ fadds f0, f1, f0 /* 801E81D0 001E5130 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801E81D4 001E5134 D0 E1 00 18 */ stfs f7, 0x18(r1) /* 801E81D8 001E5138 EC 03 00 2A */ fadds f0, f3, f0 /* 801E81DC 001E513C D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 801E81E0 001E5140 FC 00 58 40 */ fcmpo cr0, f0, f11 /* 801E81E4 001E5144 40 80 00 24 */ bge lbl_801E8208 /* 801E81E8 001E5148 EC 00 58 24 */ fdivs f0, f0, f11 /* 801E81EC 001E514C C0 26 00 4C */ lfs f1, 0x4c(r6) /* 801E81F0 001E5150 EC 00 12 BA */ fmadds f0, f0, f10, f2 /* 801E81F4 001E5154 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E81F8 001E5158 41 81 00 0C */ bgt lbl_801E8204 /* 801E81FC 001E515C FC 05 08 00 */ fcmpu cr0, f5, f1 /* 801E8200 001E5160 40 82 00 08 */ bne lbl_801E8208 lbl_801E8204: /* 801E8204 001E5164 D0 06 00 4C */ stfs f0, 0x4c(r6) lbl_801E8208: /* 801E8208 001E5168 38 C6 00 84 */ addi r6, r6, 0x84 lbl_801E820C: /* 801E820C 001E516C 80 03 01 0C */ lwz r0, 0x10c(r3) /* 801E8210 001E5170 80 A3 01 14 */ lwz r5, 0x114(r3) /* 801E8214 001E5174 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E8218 001E5178 7C 05 02 14 */ add r0, r5, r0 /* 801E821C 001E517C 7C 06 00 40 */ cmplw r6, r0 /* 801E8220 001E5180 40 82 FF 50 */ bne lbl_801E8170 /* 801E8224 001E5184 38 21 00 20 */ addi r1, r1, 0x20 /* 801E8228 001E5188 4E 80 00 20 */ blr .global Touch__17CWallCrawlerSwarmFR6CActorR13CStateManager Touch__17CWallCrawlerSwarmFR6CActorR13CStateManager: /* 801E822C 001E518C 94 21 FD A0 */ stwu r1, -0x260(r1) /* 801E8230 001E5190 7C 08 02 A6 */ mflr r0 /* 801E8234 001E5194 90 01 02 64 */ stw r0, 0x264(r1) /* 801E8238 001E5198 DB E1 02 50 */ stfd f31, 0x250(r1) /* 801E823C 001E519C F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 /* 801E8240 001E51A0 DB C1 02 40 */ stfd f30, 0x240(r1) /* 801E8244 001E51A4 F3 C1 02 48 */ psq_st f30, 584(r1), 0, qr0 /* 801E8248 001E51A8 BF 41 02 28 */ stmw r26, 0x228(r1) /* 801E824C 001E51AC 7C 7C 1B 78 */ mr r28, r3 /* 801E8250 001E51B0 7C 9E 23 78 */ mr r30, r4 /* 801E8254 001E51B4 7C BD 2B 78 */ mr r29, r5 /* 801E8258 001E51B8 4B E6 C1 B1 */ bl Touch__6CActorFR6CActorR13CStateManager /* 801E825C 001E51BC 7F C4 F3 78 */ mr r4, r30 /* 801E8260 001E51C0 38 61 00 48 */ addi r3, r1, 0x48 /* 801E8264 001E51C4 4B EC 55 15 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" /* 801E8268 001E51C8 83 43 00 04 */ lwz r26, 4(r3) /* 801E826C 001E51CC 28 1A 00 00 */ cmplwi r26, 0 /* 801E8270 001E51D0 41 82 01 B0 */ beq lbl_801E8420 /* 801E8274 001E51D4 3B 7A 01 2C */ addi r27, r26, 0x12c /* 801E8278 001E51D8 38 7C 03 C4 */ addi r3, r28, 0x3c4 /* 801E827C 001E51DC 7F 64 DB 78 */ mr r4, r27 /* 801E8280 001E51E0 38 A0 00 00 */ li r5, 0 /* 801E8284 001E51E4 4B F1 A4 85 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode /* 801E8288 001E51E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E828C 001E51EC 41 82 01 94 */ beq lbl_801E8420 /* 801E8290 001E51F0 7F 44 D3 78 */ mr r4, r26 /* 801E8294 001E51F4 38 61 01 70 */ addi r3, r1, 0x170 /* 801E8298 001E51F8 81 9A 00 00 */ lwz r12, 0(r26) /* 801E829C 001E51FC 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801E82A0 001E5200 7D 89 03 A6 */ mtctr r12 /* 801E82A4 001E5204 4E 80 04 21 */ bctrl /* 801E82A8 001E5208 88 01 01 88 */ lbz r0, 0x188(r1) /* 801E82AC 001E520C 28 00 00 00 */ cmplwi r0, 0 /* 801E82B0 001E5210 98 01 02 1C */ stb r0, 0x21c(r1) /* 801E82B4 001E5214 41 82 00 3C */ beq lbl_801E82F0 /* 801E82B8 001E5218 34 61 02 04 */ addic. r3, r1, 0x204 /* 801E82BC 001E521C 41 82 00 34 */ beq lbl_801E82F0 /* 801E82C0 001E5220 C0 01 01 70 */ lfs f0, 0x170(r1) /* 801E82C4 001E5224 D0 03 00 00 */ stfs f0, 0(r3) /* 801E82C8 001E5228 C0 01 01 74 */ lfs f0, 0x174(r1) /* 801E82CC 001E522C D0 03 00 04 */ stfs f0, 4(r3) /* 801E82D0 001E5230 C0 01 01 78 */ lfs f0, 0x178(r1) /* 801E82D4 001E5234 D0 03 00 08 */ stfs f0, 8(r3) /* 801E82D8 001E5238 C0 01 01 7C */ lfs f0, 0x17c(r1) /* 801E82DC 001E523C D0 03 00 0C */ stfs f0, 0xc(r3) /* 801E82E0 001E5240 C0 01 01 80 */ lfs f0, 0x180(r1) /* 801E82E4 001E5244 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801E82E8 001E5248 C0 01 01 84 */ lfs f0, 0x184(r1) /* 801E82EC 001E524C D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801E82F0: /* 801E82F0 001E5250 88 01 02 1C */ lbz r0, 0x21c(r1) /* 801E82F4 001E5254 38 60 00 00 */ li r3, 0 /* 801E82F8 001E5258 98 61 01 88 */ stb r3, 0x188(r1) /* 801E82FC 001E525C 28 00 00 00 */ cmplwi r0, 0 /* 801E8300 001E5260 41 82 01 18 */ beq lbl_801E8418 /* 801E8304 001E5264 C0 21 02 04 */ lfs f1, 0x204(r1) /* 801E8308 001E5268 C0 A1 02 08 */ lfs f5, 0x208(r1) /* 801E830C 001E526C C0 81 02 0C */ lfs f4, 0x20c(r1) /* 801E8310 001E5270 C0 61 02 10 */ lfs f3, 0x210(r1) /* 801E8314 001E5274 C0 41 02 14 */ lfs f2, 0x214(r1) /* 801E8318 001E5278 C0 01 02 18 */ lfs f0, 0x218(r1) /* 801E831C 001E527C D0 21 01 EC */ stfs f1, 0x1ec(r1) /* 801E8320 001E5280 C0 22 AD A8 */ lfs f1, lbl_805ACAC8@sda21(r2) /* 801E8324 001E5284 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) /* 801E8328 001E5288 D0 81 01 F4 */ stfs f4, 0x1f4(r1) /* 801E832C 001E528C D0 61 01 F8 */ stfs f3, 0x1f8(r1) /* 801E8330 001E5290 D0 41 01 FC */ stfs f2, 0x1fc(r1) /* 801E8334 001E5294 D0 01 02 00 */ stfs f0, 0x200(r1) /* 801E8338 001E5298 C0 1C 03 78 */ lfs f0, 0x378(r28) /* 801E833C 001E529C 83 5C 01 14 */ lwz r26, 0x114(r28) /* 801E8340 001E52A0 EC 01 00 2A */ fadds f0, f1, f0 /* 801E8344 001E52A4 EF C0 00 32 */ fmuls f30, f0, f0 /* 801E8348 001E52A8 48 00 00 B8 */ b lbl_801E8400 lbl_801E834C: /* 801E834C 001E52AC 88 1A 00 80 */ lbz r0, 0x80(r26) /* 801E8350 001E52B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E8354 001E52B4 41 82 00 A8 */ beq lbl_801E83FC /* 801E8358 001E52B8 C0 DA 00 2C */ lfs f6, 0x2c(r26) /* 801E835C 001E52BC 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 801E8360 001E52C0 C0 BA 00 1C */ lfs f5, 0x1c(r26) /* 801E8364 001E52C4 38 81 00 C8 */ addi r4, r1, 0xc8 /* 801E8368 001E52C8 C0 3A 00 0C */ lfs f1, 0xc(r26) /* 801E836C 001E52CC EC 06 F0 2A */ fadds f0, f6, f30 /* 801E8370 001E52D0 EC 65 F0 2A */ fadds f3, f5, f30 /* 801E8374 001E52D4 38 A1 00 BC */ addi r5, r1, 0xbc /* 801E8378 001E52D8 EC 81 F0 2A */ fadds f4, f1, f30 /* 801E837C 001E52DC EC 41 F0 28 */ fsubs f2, f1, f30 /* 801E8380 001E52E0 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801E8384 001E52E4 EC 25 F0 28 */ fsubs f1, f5, f30 /* 801E8388 001E52E8 EC 06 F0 28 */ fsubs f0, f6, f30 /* 801E838C 001E52EC D0 81 00 BC */ stfs f4, 0xbc(r1) /* 801E8390 001E52F0 D0 61 00 C0 */ stfs f3, 0xc0(r1) /* 801E8394 001E52F4 D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 801E8398 001E52F8 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 801E839C 001E52FC D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 801E83A0 001E5300 48 15 01 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801E83A4 001E5304 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 801E83A8 001E5308 38 81 01 EC */ addi r4, r1, 0x1ec /* 801E83AC 001E530C 48 14 F7 D9 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 801E83B0 001E5310 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E83B4 001E5314 41 82 00 48 */ beq lbl_801E83FC /* 801E83B8 001E5318 7F 63 DB 78 */ mr r3, r27 /* 801E83BC 001E531C 38 9C 03 C4 */ addi r4, r28, 0x3c4 /* 801E83C0 001E5320 4B ED B1 3D */ bl GetDamage__11CDamageInfoCFRC20CDamageVulnerability /* 801E83C4 001E5324 C0 5A 00 78 */ lfs f2, 0x78(r26) /* 801E83C8 001E5328 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E83CC 001E532C EC 22 08 28 */ fsubs f1, f2, f1 /* 801E83D0 001E5330 D0 3A 00 78 */ stfs f1, 0x78(r26) /* 801E83D4 001E5334 C0 3A 00 78 */ lfs f1, 0x78(r26) /* 801E83D8 001E5338 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E83DC 001E533C 4C 40 13 82 */ cror 2, 0, 2 /* 801E83E0 001E5340 40 82 00 1C */ bne lbl_801E83FC /* 801E83E4 001E5344 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E83E8 001E5348 7F 83 E3 78 */ mr r3, r28 /* 801E83EC 001E534C C0 42 AD A8 */ lfs f2, lbl_805ACAC8@sda21(r2) /* 801E83F0 001E5350 7F 44 D3 78 */ mr r4, r26 /* 801E83F4 001E5354 7F A5 EB 78 */ mr r5, r29 /* 801E83F8 001E5358 4B FF F8 2D */ bl KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff lbl_801E83FC: /* 801E83FC 001E535C 3B 5A 00 84 */ addi r26, r26, 0x84 lbl_801E8400: /* 801E8400 001E5360 80 1C 01 0C */ lwz r0, 0x10c(r28) /* 801E8404 001E5364 80 7C 01 14 */ lwz r3, 0x114(r28) /* 801E8408 001E5368 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E840C 001E536C 7C 03 02 14 */ add r0, r3, r0 /* 801E8410 001E5370 7C 1A 00 40 */ cmplw r26, r0 /* 801E8414 001E5374 40 82 FF 38 */ bne lbl_801E834C lbl_801E8418: /* 801E8418 001E5378 38 00 00 00 */ li r0, 0 /* 801E841C 001E537C 98 01 02 1C */ stb r0, 0x21c(r1) lbl_801E8420: /* 801E8420 001E5380 7F C4 F3 78 */ mr r4, r30 /* 801E8424 001E5384 38 61 00 40 */ addi r3, r1, 0x40 /* 801E8428 001E5388 4B EC 3F D9 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" /* 801E842C 001E538C 83 E3 00 04 */ lwz r31, 4(r3) /* 801E8430 001E5390 28 1F 00 00 */ cmplwi r31, 0 /* 801E8434 001E5394 41 82 04 18 */ beq lbl_801E884C /* 801E8438 001E5398 C3 FC 03 80 */ lfs f31, 0x380(r28) /* 801E843C 001E539C C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801E8440 001E53A0 C8 02 AD C0 */ lfd f0, lbl_805ACAE0@sda21(r2) /* 801E8444 001E53A4 EC 3F 08 28 */ fsubs f1, f31, f1 /* 801E8448 001E53A8 FC 20 0A 10 */ fabs f1, f1 /* 801E844C 001E53AC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E8450 001E53B0 40 80 00 08 */ bge lbl_801E8458 /* 801E8454 001E53B4 C3 FC 03 78 */ lfs f31, 0x378(r28) lbl_801E8458: /* 801E8458 001E53B8 7F E4 FB 78 */ mr r4, r31 /* 801E845C 001E53BC 38 61 01 54 */ addi r3, r1, 0x154 /* 801E8460 001E53C0 81 9F 00 00 */ lwz r12, 0(r31) /* 801E8464 001E53C4 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801E8468 001E53C8 7D 89 03 A6 */ mtctr r12 /* 801E846C 001E53CC 4E 80 04 21 */ bctrl /* 801E8470 001E53D0 C0 A1 01 54 */ lfs f5, 0x154(r1) /* 801E8474 001E53D4 38 00 00 00 */ li r0, 0 /* 801E8478 001E53D8 C0 81 01 58 */ lfs f4, 0x158(r1) /* 801E847C 001E53DC C0 61 01 5C */ lfs f3, 0x15c(r1) /* 801E8480 001E53E0 C0 41 01 60 */ lfs f2, 0x160(r1) /* 801E8484 001E53E4 C0 21 01 64 */ lfs f1, 0x164(r1) /* 801E8488 001E53E8 C0 01 01 68 */ lfs f0, 0x168(r1) /* 801E848C 001E53EC D0 A1 01 BC */ stfs f5, 0x1bc(r1) /* 801E8490 001E53F0 D0 81 01 C0 */ stfs f4, 0x1c0(r1) /* 801E8494 001E53F4 D0 61 01 C4 */ stfs f3, 0x1c4(r1) /* 801E8498 001E53F8 D0 41 01 C8 */ stfs f2, 0x1c8(r1) /* 801E849C 001E53FC D0 21 01 CC */ stfs f1, 0x1cc(r1) /* 801E84A0 001E5400 D0 01 01 D0 */ stfs f0, 0x1d0(r1) /* 801E84A4 001E5404 98 01 01 6C */ stb r0, 0x16c(r1) /* 801E84A8 001E5408 C3 DC 03 7C */ lfs f30, 0x37c(r28) /* 801E84AC 001E540C 83 DC 01 14 */ lwz r30, 0x114(r28) /* 801E84B0 001E5410 48 00 03 84 */ b lbl_801E8834 lbl_801E84B4: /* 801E84B4 001E5414 88 7E 00 80 */ lbz r3, 0x80(r30) /* 801E84B8 001E5418 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801E84BC 001E541C 41 82 03 74 */ beq lbl_801E8830 /* 801E84C0 001E5420 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801E84C4 001E5424 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E84C8 001E5428 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E84CC 001E542C 4C 40 13 82 */ cror 2, 0, 2 /* 801E84D0 001E5430 40 82 03 60 */ bne lbl_801E8830 /* 801E84D4 001E5434 80 1C 05 58 */ lwz r0, 0x558(r28) /* 801E84D8 001E5438 2C 00 00 01 */ cmpwi r0, 1 /* 801E84DC 001E543C 40 82 00 F4 */ bne lbl_801E85D0 /* 801E84E0 001E5440 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801E84E4 001E5444 41 82 00 EC */ beq lbl_801E85D0 /* 801E84E8 001E5448 C1 1E 00 2C */ lfs f8, 0x2c(r30) /* 801E84EC 001E544C 38 61 01 3C */ addi r3, r1, 0x13c /* 801E84F0 001E5450 C0 FE 00 1C */ lfs f7, 0x1c(r30) /* 801E84F4 001E5454 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801E84F8 001E5458 C0 5E 00 0C */ lfs f2, 0xc(r30) /* 801E84FC 001E545C EC A8 F0 2A */ fadds f5, f8, f30 /* 801E8500 001E5460 EC C7 F0 2A */ fadds f6, f7, f30 /* 801E8504 001E5464 D0 E1 00 90 */ stfs f7, 0x90(r1) /* 801E8508 001E5468 EC 22 F0 2A */ fadds f1, f2, f30 /* 801E850C 001E546C 38 A1 00 98 */ addi r5, r1, 0x98 /* 801E8510 001E5470 EC 87 F0 28 */ fsubs f4, f7, f30 /* 801E8514 001E5474 EC 68 F0 28 */ fsubs f3, f8, f30 /* 801E8518 001E5478 EC 02 F0 28 */ fsubs f0, f2, f30 /* 801E851C 001E547C D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801E8520 001E5480 D1 01 00 94 */ stfs f8, 0x94(r1) /* 801E8524 001E5484 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801E8528 001E5488 D0 C1 00 9C */ stfs f6, 0x9c(r1) /* 801E852C 001E548C D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 801E8530 001E5490 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801E8534 001E5494 D0 E1 00 A8 */ stfs f7, 0xa8(r1) /* 801E8538 001E5498 D1 01 00 AC */ stfs f8, 0xac(r1) /* 801E853C 001E549C D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801E8540 001E54A0 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801E8544 001E54A4 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 801E8548 001E54A8 48 14 FF C1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801E854C 001E54AC C0 A1 01 3C */ lfs f5, 0x13c(r1) /* 801E8550 001E54B0 38 61 01 BC */ addi r3, r1, 0x1bc /* 801E8554 001E54B4 C0 81 01 40 */ lfs f4, 0x140(r1) /* 801E8558 001E54B8 38 81 01 A4 */ addi r4, r1, 0x1a4 /* 801E855C 001E54BC C0 61 01 44 */ lfs f3, 0x144(r1) /* 801E8560 001E54C0 C0 41 01 48 */ lfs f2, 0x148(r1) /* 801E8564 001E54C4 C0 21 01 4C */ lfs f1, 0x14c(r1) /* 801E8568 001E54C8 C0 01 01 50 */ lfs f0, 0x150(r1) /* 801E856C 001E54CC D0 A1 01 A4 */ stfs f5, 0x1a4(r1) /* 801E8570 001E54D0 D0 81 01 A8 */ stfs f4, 0x1a8(r1) /* 801E8574 001E54D4 D0 61 01 AC */ stfs f3, 0x1ac(r1) /* 801E8578 001E54D8 D0 41 01 B0 */ stfs f2, 0x1b0(r1) /* 801E857C 001E54DC D0 21 01 B4 */ stfs f1, 0x1b4(r1) /* 801E8580 001E54E0 D0 01 01 B8 */ stfs f0, 0x1b8(r1) /* 801E8584 001E54E4 48 14 F6 01 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 801E8588 001E54E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E858C 001E54EC 41 82 00 44 */ beq lbl_801E85D0 /* 801E8590 001E54F0 7F 83 E3 78 */ mr r3, r28 /* 801E8594 001E54F4 7F C4 F3 78 */ mr r4, r30 /* 801E8598 001E54F8 7F A5 EB 78 */ mr r5, r29 /* 801E859C 001E54FC 4B FF FB 09 */ bl sub_801e80a4 /* 801E85A0 001E5500 C0 22 AD B0 */ lfs f1, lbl_805ACAD0@sda21(r2) /* 801E85A4 001E5504 7F 83 E3 78 */ mr r3, r28 /* 801E85A8 001E5508 C0 BE 00 2C */ lfs f5, 0x2c(r30) /* 801E85AC 001E550C 38 81 00 80 */ addi r4, r1, 0x80 /* 801E85B0 001E5510 C0 9E 00 1C */ lfs f4, 0x1c(r30) /* 801E85B4 001E5514 FC 40 08 90 */ fmr f2, f1 /* 801E85B8 001E5518 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801E85BC 001E551C C0 62 AD C8 */ lfs f3, lbl_805ACAE8@sda21(r2) /* 801E85C0 001E5520 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801E85C4 001E5524 D0 81 00 84 */ stfs f4, 0x84(r1) /* 801E85C8 001E5528 D0 A1 00 88 */ stfs f5, 0x88(r1) /* 801E85CC 001E552C 4B FF FB 91 */ bl sub_801e815c lbl_801E85D0: /* 801E85D0 001E5530 C1 1E 00 2C */ lfs f8, 0x2c(r30) /* 801E85D4 001E5534 38 61 01 24 */ addi r3, r1, 0x124 /* 801E85D8 001E5538 C0 FE 00 1C */ lfs f7, 0x1c(r30) /* 801E85DC 001E553C 38 81 00 74 */ addi r4, r1, 0x74 /* 801E85E0 001E5540 C0 5E 00 0C */ lfs f2, 0xc(r30) /* 801E85E4 001E5544 EC A8 F8 2A */ fadds f5, f8, f31 /* 801E85E8 001E5548 EC C7 F8 2A */ fadds f6, f7, f31 /* 801E85EC 001E554C D0 E1 00 54 */ stfs f7, 0x54(r1) /* 801E85F0 001E5550 EC 22 F8 2A */ fadds f1, f2, f31 /* 801E85F4 001E5554 38 A1 00 5C */ addi r5, r1, 0x5c /* 801E85F8 001E5558 EC 87 F8 28 */ fsubs f4, f7, f31 /* 801E85FC 001E555C EC 68 F8 28 */ fsubs f3, f8, f31 /* 801E8600 001E5560 EC 02 F8 28 */ fsubs f0, f2, f31 /* 801E8604 001E5564 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801E8608 001E5568 D1 01 00 58 */ stfs f8, 0x58(r1) /* 801E860C 001E556C D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801E8610 001E5570 D0 C1 00 60 */ stfs f6, 0x60(r1) /* 801E8614 001E5574 D0 A1 00 64 */ stfs f5, 0x64(r1) /* 801E8618 001E5578 D0 41 00 68 */ stfs f2, 0x68(r1) /* 801E861C 001E557C D0 E1 00 6C */ stfs f7, 0x6c(r1) /* 801E8620 001E5580 D1 01 00 70 */ stfs f8, 0x70(r1) /* 801E8624 001E5584 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801E8628 001E5588 D0 81 00 78 */ stfs f4, 0x78(r1) /* 801E862C 001E558C D0 61 00 7C */ stfs f3, 0x7c(r1) /* 801E8630 001E5590 48 14 FE D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801E8634 001E5594 C0 A1 01 24 */ lfs f5, 0x124(r1) /* 801E8638 001E5598 38 61 01 BC */ addi r3, r1, 0x1bc /* 801E863C 001E559C C0 81 01 28 */ lfs f4, 0x128(r1) /* 801E8640 001E55A0 38 81 01 8C */ addi r4, r1, 0x18c /* 801E8644 001E55A4 C0 61 01 2C */ lfs f3, 0x12c(r1) /* 801E8648 001E55A8 C0 41 01 30 */ lfs f2, 0x130(r1) /* 801E864C 001E55AC C0 21 01 34 */ lfs f1, 0x134(r1) /* 801E8650 001E55B0 C0 01 01 38 */ lfs f0, 0x138(r1) /* 801E8654 001E55B4 D0 A1 01 8C */ stfs f5, 0x18c(r1) /* 801E8658 001E55B8 D0 81 01 90 */ stfs f4, 0x190(r1) /* 801E865C 001E55BC D0 61 01 94 */ stfs f3, 0x194(r1) /* 801E8660 001E55C0 D0 41 01 98 */ stfs f2, 0x198(r1) /* 801E8664 001E55C4 D0 21 01 9C */ stfs f1, 0x19c(r1) /* 801E8668 001E55C8 D0 01 01 A0 */ stfs f0, 0x1a0(r1) /* 801E866C 001E55CC 48 14 F5 19 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 801E8670 001E55D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E8674 001E55D4 41 82 01 BC */ beq lbl_801E8830 /* 801E8678 001E55D8 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801E867C 001E55DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801E8680 001E55E0 41 82 00 FC */ beq lbl_801E877C /* 801E8684 001E55E4 80 1C 05 58 */ lwz r0, 0x558(r28) /* 801E8688 001E55E8 2C 00 00 00 */ cmpwi r0, 0 /* 801E868C 001E55EC 40 82 00 F0 */ bne lbl_801E877C /* 801E8690 001E55F0 80 AD 92 38 */ lwz r5, lbl_805A7DF8@sda21(r13) /* 801E8694 001E55F4 38 60 00 00 */ li r3, 0 /* 801E8698 001E55F8 38 80 00 01 */ li r4, 1 /* 801E869C 001E55FC 48 1A 18 59 */ bl __shl2i /* 801E86A0 001E5600 38 E0 00 00 */ li r7, 0 /* 801E86A4 001E5604 89 81 00 3C */ lbz r12, 0x3c(r1) /* 801E86A8 001E5608 50 EC 3E 30 */ rlwimi r12, r7, 7, 0x18, 0x18 /* 801E86AC 001E560C C0 22 AD CC */ lfs f1, lbl_805ACAEC@sda21(r2) /* 801E86B0 001E5610 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E86B4 001E5614 55 8A 06 3E */ clrlwi r10, r12, 0x18 /* 801E86B8 001E5618 3B 60 00 09 */ li r27, 9 /* 801E86BC 001E561C 88 01 01 20 */ lbz r0, 0x120(r1) /* 801E86C0 001E5620 50 EA 36 72 */ rlwimi r10, r7, 6, 0x19, 0x19 /* 801E86C4 001E5624 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 801E86C8 001E5628 55 4B 06 3E */ clrlwi r11, r10, 0x18 /* 801E86CC 001E562C 3B 40 00 03 */ li r26, 3 /* 801E86D0 001E5630 50 EB 2E B4 */ rlwimi r11, r7, 5, 0x1a, 0x1a /* 801E86D4 001E5634 90 81 00 F4 */ stw r4, 0xf4(r1) /* 801E86D8 001E5638 3C A0 80 5A */ lis r5, skZero3f@ha /* 801E86DC 001E563C 38 81 00 34 */ addi r4, r1, 0x34 /* 801E86E0 001E5640 90 61 00 F0 */ stw r3, 0xf0(r1) /* 801E86E4 001E5644 39 25 66 A0 */ addi r9, r5, skZero3f@l /* 801E86E8 001E5648 7F A3 EB 78 */ mr r3, r29 /* 801E86EC 001E564C 38 A1 00 2C */ addi r5, r1, 0x2c /* 801E86F0 001E5650 99 81 00 3C */ stb r12, 0x3c(r1) /* 801E86F4 001E5654 38 C1 00 24 */ addi r6, r1, 0x24 /* 801E86F8 001E5658 39 01 00 F0 */ addi r8, r1, 0xf0 /* 801E86FC 001E565C 99 41 00 3C */ stb r10, 0x3c(r1) /* 801E8700 001E5660 90 E1 00 FC */ stw r7, 0xfc(r1) /* 801E8704 001E5664 90 E1 00 F8 */ stw r7, 0xf8(r1) /* 801E8708 001E5668 38 E1 01 08 */ addi r7, r1, 0x108 /* 801E870C 001E566C 93 41 01 00 */ stw r26, 0x100(r1) /* 801E8710 001E5670 93 61 01 08 */ stw r27, 0x108(r1) /* 801E8714 001E5674 99 61 01 0C */ stb r11, 0x10c(r1) /* 801E8718 001E5678 D0 21 01 10 */ stfs f1, 0x110(r1) /* 801E871C 001E567C D0 21 01 14 */ stfs f1, 0x114(r1) /* 801E8720 001E5680 D0 01 01 18 */ stfs f0, 0x118(r1) /* 801E8724 001E5684 D0 01 01 1C */ stfs f0, 0x11c(r1) /* 801E8728 001E5688 98 01 01 20 */ stb r0, 0x120(r1) /* 801E872C 001E568C A0 1C 00 08 */ lhz r0, 8(r28) /* 801E8730 001E5690 93 61 00 38 */ stw r27, 0x38(r1) /* 801E8734 001E5694 B0 01 00 24 */ sth r0, 0x24(r1) /* 801E8738 001E5698 81 5D 08 4C */ lwz r10, 0x84c(r29) /* 801E873C 001E569C B0 01 00 20 */ sth r0, 0x20(r1) /* 801E8740 001E56A0 A1 4A 00 08 */ lhz r10, 8(r10) /* 801E8744 001E56A4 99 61 00 3C */ stb r11, 0x3c(r1) /* 801E8748 001E56A8 B1 41 00 2C */ sth r10, 0x2c(r1) /* 801E874C 001E56AC A0 1C 00 08 */ lhz r0, 8(r28) /* 801E8750 001E56B0 B1 41 00 28 */ sth r10, 0x28(r1) /* 801E8754 001E56B4 B0 01 00 30 */ sth r0, 0x30(r1) /* 801E8758 001E56B8 B0 01 00 34 */ sth r0, 0x34(r1) /* 801E875C 001E56BC 4B E6 19 45 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801E8760 001E56C0 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801E8764 001E56C4 7F 83 E3 78 */ mr r3, r28 /* 801E8768 001E56C8 C0 42 AD B4 */ lfs f2, lbl_805ACAD4@sda21(r2) /* 801E876C 001E56CC 7F C4 F3 78 */ mr r4, r30 /* 801E8770 001E56D0 7F A5 EB 78 */ mr r5, r29 /* 801E8774 001E56D4 4B FF F4 B1 */ bl KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff /* 801E8778 001E56D8 48 00 00 B8 */ b lbl_801E8830 lbl_801E877C: /* 801E877C 001E56DC 80 1C 05 58 */ lwz r0, 0x558(r28) /* 801E8780 001E56E0 2C 00 00 01 */ cmpwi r0, 1 /* 801E8784 001E56E4 40 82 00 18 */ bne lbl_801E879C /* 801E8788 001E56E8 7F 83 E3 78 */ mr r3, r28 /* 801E878C 001E56EC 7F C4 F3 78 */ mr r4, r30 /* 801E8790 001E56F0 7F A5 EB 78 */ mr r5, r29 /* 801E8794 001E56F4 4B FF F9 11 */ bl sub_801e80a4 /* 801E8798 001E56F8 48 00 00 98 */ b lbl_801E8830 lbl_801E879C: /* 801E879C 001E56FC C0 3C 03 6C */ lfs f1, 0x36c(r28) /* 801E87A0 001E5700 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E87A4 001E5704 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E87A8 001E5708 4C 40 13 82 */ cror 2, 0, 2 /* 801E87AC 001E570C 40 82 00 84 */ bne lbl_801E8830 /* 801E87B0 001E5710 80 AD 92 38 */ lwz r5, lbl_805A7DF8@sda21(r13) /* 801E87B4 001E5714 38 60 00 00 */ li r3, 0 /* 801E87B8 001E5718 38 80 00 01 */ li r4, 1 /* 801E87BC 001E571C 48 1A 17 39 */ bl __shl2i /* 801E87C0 001E5720 39 40 00 00 */ li r10, 0 /* 801E87C4 001E5724 38 00 00 03 */ li r0, 3 /* 801E87C8 001E5728 90 81 00 DC */ stw r4, 0xdc(r1) /* 801E87CC 001E572C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801E87D0 001E5730 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801E87D4 001E5734 38 A1 00 14 */ addi r5, r1, 0x14 /* 801E87D8 001E5738 90 61 00 D8 */ stw r3, 0xd8(r1) /* 801E87DC 001E573C 38 81 00 1C */ addi r4, r1, 0x1c /* 801E87E0 001E5740 7F A3 EB 78 */ mr r3, r29 /* 801E87E4 001E5744 38 C1 00 0C */ addi r6, r1, 0xc /* 801E87E8 001E5748 91 41 00 E4 */ stw r10, 0xe4(r1) /* 801E87EC 001E574C 38 FC 03 84 */ addi r7, r28, 0x384 /* 801E87F0 001E5750 39 01 00 D8 */ addi r8, r1, 0xd8 /* 801E87F4 001E5754 91 41 00 E0 */ stw r10, 0xe0(r1) /* 801E87F8 001E5758 90 01 00 E8 */ stw r0, 0xe8(r1) /* 801E87FC 001E575C A0 1C 00 08 */ lhz r0, 8(r28) /* 801E8800 001E5760 B0 01 00 0C */ sth r0, 0xc(r1) /* 801E8804 001E5764 A1 5F 00 08 */ lhz r10, 8(r31) /* 801E8808 001E5768 B0 01 00 08 */ sth r0, 8(r1) /* 801E880C 001E576C B1 41 00 14 */ sth r10, 0x14(r1) /* 801E8810 001E5770 A0 1C 00 08 */ lhz r0, 8(r28) /* 801E8814 001E5774 B1 41 00 10 */ sth r10, 0x10(r1) /* 801E8818 001E5778 B0 01 00 18 */ sth r0, 0x18(r1) /* 801E881C 001E577C B0 01 00 1C */ sth r0, 0x1c(r1) /* 801E8820 001E5780 4B E6 18 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801E8824 001E5784 C0 1C 03 70 */ lfs f0, 0x370(r28) /* 801E8828 001E5788 D0 1C 03 6C */ stfs f0, 0x36c(r28) /* 801E882C 001E578C 48 00 00 20 */ b lbl_801E884C lbl_801E8830: /* 801E8830 001E5790 3B DE 00 84 */ addi r30, r30, 0x84 lbl_801E8834: /* 801E8834 001E5794 80 1C 01 0C */ lwz r0, 0x10c(r28) /* 801E8838 001E5798 80 7C 01 14 */ lwz r3, 0x114(r28) /* 801E883C 001E579C 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E8840 001E57A0 7C 03 02 14 */ add r0, r3, r0 /* 801E8844 001E57A4 7C 1E 00 40 */ cmplw r30, r0 /* 801E8848 001E57A8 40 82 FC 6C */ bne lbl_801E84B4 lbl_801E884C: /* 801E884C 001E57AC E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 /* 801E8850 001E57B0 CB E1 02 50 */ lfd f31, 0x250(r1) /* 801E8854 001E57B4 E3 C1 02 48 */ psq_l f30, 584(r1), 0, qr0 /* 801E8858 001E57B8 CB C1 02 40 */ lfd f30, 0x240(r1) /* 801E885C 001E57BC BB 41 02 28 */ lmw r26, 0x228(r1) /* 801E8860 001E57C0 80 01 02 64 */ lwz r0, 0x264(r1) /* 801E8864 001E57C4 7C 08 03 A6 */ mtlr r0 /* 801E8868 001E57C8 38 21 02 60 */ addi r1, r1, 0x260 /* 801E886C 001E57CC 4E 80 00 20 */ blr .global ApplyRadiusDamage__17CWallCrawlerSwarmF9CVector3ffR13CStateManager ApplyRadiusDamage__17CWallCrawlerSwarmF9CVector3ffR13CStateManager: /* 801E8870 001E57D0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E8874 001E57D4 7C 08 02 A6 */ mflr r0 /* 801E8878 001E57D8 90 01 00 44 */ stw r0, 0x44(r1) /* 801E887C 001E57DC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801E8880 001E57E0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801E8884 001E57E4 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801E8888 001E57E8 7C BD 2B 78 */ mr r29, r5 /* 801E888C 001E57EC 7C 7B 1B 78 */ mr r27, r3 /* 801E8890 001E57F0 C0 05 00 10 */ lfs f0, 0x10(r5) /* 801E8894 001E57F4 7C 9C 23 78 */ mr r28, r4 /* 801E8898 001E57F8 83 E3 01 14 */ lwz r31, 0x114(r3) /* 801E889C 001E57FC 7C DE 33 78 */ mr r30, r6 /* 801E88A0 001E5800 EF E0 00 32 */ fmuls f31, f0, f0 /* 801E88A4 001E5804 48 00 00 A4 */ b lbl_801E8948 lbl_801E88A8: /* 801E88A8 001E5808 88 1F 00 80 */ lbz r0, 0x80(r31) /* 801E88AC 001E580C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E88B0 001E5810 41 82 00 94 */ beq lbl_801E8944 /* 801E88B4 001E5814 C0 5F 00 1C */ lfs f2, 0x1c(r31) /* 801E88B8 001E5818 C0 1C 00 04 */ lfs f0, 4(r28) /* 801E88BC 001E581C C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801E88C0 001E5820 EC 82 00 28 */ fsubs f4, f2, f0 /* 801E88C4 001E5824 C0 1C 00 00 */ lfs f0, 0(r28) /* 801E88C8 001E5828 C0 7F 00 2C */ lfs f3, 0x2c(r31) /* 801E88CC 001E582C EC 41 00 28 */ fsubs f2, f1, f0 /* 801E88D0 001E5830 C0 3C 00 08 */ lfs f1, 8(r28) /* 801E88D4 001E5834 EC 04 01 32 */ fmuls f0, f4, f4 /* 801E88D8 001E5838 EC 63 08 28 */ fsubs f3, f3, f1 /* 801E88DC 001E583C D0 81 00 0C */ stfs f4, 0xc(r1) /* 801E88E0 001E5840 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801E88E4 001E5844 D0 41 00 08 */ stfs f2, 8(r1) /* 801E88E8 001E5848 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801E88EC 001E584C EC 01 00 2A */ fadds f0, f1, f0 /* 801E88F0 001E5850 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801E88F4 001E5854 EC 02 00 2A */ fadds f0, f2, f0 /* 801E88F8 001E5858 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801E88FC 001E585C 40 80 00 48 */ bge lbl_801E8944 /* 801E8900 001E5860 7F A3 EB 78 */ mr r3, r29 /* 801E8904 001E5864 38 9B 03 C4 */ addi r4, r27, 0x3c4 /* 801E8908 001E5868 4B ED AB 91 */ bl GetRadiusDamage__11CDamageInfoCFRC20CDamageVulnerability /* 801E890C 001E586C C0 5F 00 78 */ lfs f2, 0x78(r31) /* 801E8910 001E5870 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E8914 001E5874 EC 22 08 28 */ fsubs f1, f2, f1 /* 801E8918 001E5878 D0 3F 00 78 */ stfs f1, 0x78(r31) /* 801E891C 001E587C C0 3F 00 78 */ lfs f1, 0x78(r31) /* 801E8920 001E5880 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E8924 001E5884 4C 40 13 82 */ cror 2, 0, 2 /* 801E8928 001E5888 40 82 00 1C */ bne lbl_801E8944 /* 801E892C 001E588C C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E8930 001E5890 7F 63 DB 78 */ mr r3, r27 /* 801E8934 001E5894 C0 42 AD A8 */ lfs f2, lbl_805ACAC8@sda21(r2) /* 801E8938 001E5898 7F E4 FB 78 */ mr r4, r31 /* 801E893C 001E589C 7F C5 F3 78 */ mr r5, r30 /* 801E8940 001E58A0 4B FF F2 E5 */ bl KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff lbl_801E8944: /* 801E8944 001E58A4 3B FF 00 84 */ addi r31, r31, 0x84 lbl_801E8948: /* 801E8948 001E58A8 80 1B 01 0C */ lwz r0, 0x10c(r27) /* 801E894C 001E58AC 80 7B 01 14 */ lwz r3, 0x114(r27) /* 801E8950 001E58B0 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E8954 001E58B4 7C 03 02 14 */ add r0, r3, r0 /* 801E8958 001E58B8 7C 1F 00 40 */ cmplw r31, r0 /* 801E895C 001E58BC 40 82 FF 4C */ bne lbl_801E88A8 /* 801E8960 001E58C0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801E8964 001E58C4 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801E8968 001E58C8 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801E896C 001E58CC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E8970 001E58D0 7C 08 03 A6 */ mtlr r0 /* 801E8974 001E58D4 38 21 00 40 */ addi r1, r1, 0x40 /* 801E8978 001E58D8 4E 80 00 20 */ blr .global GetWaypointForState__17CWallCrawlerSwarmF18EScriptObjectStateR13CStateManager GetWaypointForState__17CWallCrawlerSwarmF18EScriptObjectStateR13CStateManager: /* 801E897C 001E58DC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E8980 001E58E0 7C 08 02 A6 */ mflr r0 /* 801E8984 001E58E4 90 01 00 24 */ stw r0, 0x24(r1) /* 801E8988 001E58E8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801E898C 001E58EC 7C 7F 1B 78 */ mr r31, r3 /* 801E8990 001E58F0 80 E4 00 2C */ lwz r7, 0x2c(r4) /* 801E8994 001E58F4 48 00 00 3C */ b lbl_801E89D0 lbl_801E8998: /* 801E8998 001E58F8 80 07 00 00 */ lwz r0, 0(r7) /* 801E899C 001E58FC 7C 05 00 00 */ cmpw r5, r0 /* 801E89A0 001E5900 40 82 00 2C */ bne lbl_801E89CC /* 801E89A4 001E5904 80 07 00 04 */ lwz r0, 4(r7) /* 801E89A8 001E5908 2C 00 00 06 */ cmpwi r0, 6 /* 801E89AC 001E590C 40 82 00 20 */ bne lbl_801E89CC /* 801E89B0 001E5910 80 07 00 08 */ lwz r0, 8(r7) /* 801E89B4 001E5914 7F E3 FB 78 */ mr r3, r31 /* 801E89B8 001E5918 7C C4 33 78 */ mr r4, r6 /* 801E89BC 001E591C 38 A1 00 08 */ addi r5, r1, 8 /* 801E89C0 001E5920 90 01 00 08 */ stw r0, 8(r1) /* 801E89C4 001E5924 4B E5 F5 59 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801E89C8 001E5928 48 00 00 28 */ b lbl_801E89F0 lbl_801E89CC: /* 801E89CC 001E592C 38 E7 00 0C */ addi r7, r7, 0xc lbl_801E89D0: /* 801E89D0 001E5930 80 04 00 24 */ lwz r0, 0x24(r4) /* 801E89D4 001E5934 80 64 00 2C */ lwz r3, 0x2c(r4) /* 801E89D8 001E5938 1C 00 00 0C */ mulli r0, r0, 0xc /* 801E89DC 001E593C 7C 03 02 14 */ add r0, r3, r0 /* 801E89E0 001E5940 7C 07 00 40 */ cmplw r7, r0 /* 801E89E4 001E5944 40 82 FF B4 */ bne lbl_801E8998 /* 801E89E8 001E5948 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E89EC 001E594C B0 1F 00 00 */ sth r0, 0(r31) lbl_801E89F0: /* 801E89F0 001E5950 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E89F4 001E5954 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801E89F8 001E5958 7C 08 03 A6 */ mtlr r0 /* 801E89FC 001E595C 38 21 00 20 */ addi r1, r1, 0x20 /* 801E8A00 001E5960 4E 80 00 20 */ blr .global MoveToWayPoint__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerR9CVector3f MoveToWayPoint__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerR9CVector3f: /* 801E8A04 001E5964 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801E8A08 001E5968 7C 08 02 A6 */ mflr r0 /* 801E8A0C 001E596C 90 01 00 94 */ stw r0, 0x94(r1) /* 801E8A10 001E5970 DB E1 00 80 */ stfd f31, 0x80(r1) /* 801E8A14 001E5974 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801E8A18 001E5978 BF 61 00 6C */ stmw r27, 0x6c(r1) /* 801E8A1C 001E597C 7C 9C 23 78 */ mr r28, r4 /* 801E8A20 001E5980 7C BD 2B 78 */ mr r29, r5 /* 801E8A24 001E5984 A0 04 00 3C */ lhz r0, 0x3c(r4) /* 801E8A28 001E5988 7C 7B 1B 78 */ mr r27, r3 /* 801E8A2C 001E598C 7C DE 33 78 */ mr r30, r6 /* 801E8A30 001E5990 7F A3 EB 78 */ mr r3, r29 /* 801E8A34 001E5994 B0 01 00 10 */ sth r0, 0x10(r1) /* 801E8A38 001E5998 38 81 00 10 */ addi r4, r1, 0x10 /* 801E8A3C 001E599C 4B E6 3B 39 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E8A40 001E59A0 7C 64 1B 78 */ mr r4, r3 /* 801E8A44 001E59A4 38 61 00 1C */ addi r3, r1, 0x1c /* 801E8A48 001E59A8 4B EB DB 05 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801E8A4C 001E59AC 80 83 00 04 */ lwz r4, 4(r3) /* 801E8A50 001E59B0 28 04 00 00 */ cmplwi r4, 0 /* 801E8A54 001E59B4 7C 9F 23 78 */ mr r31, r4 /* 801E8A58 001E59B8 41 82 01 68 */ beq lbl_801E8BC0 /* 801E8A5C 001E59BC C0 E4 00 50 */ lfs f7, 0x50(r4) /* 801E8A60 001E59C0 C0 1C 00 1C */ lfs f0, 0x1c(r28) /* 801E8A64 001E59C4 C0 64 00 40 */ lfs f3, 0x40(r4) /* 801E8A68 001E59C8 EC C7 00 28 */ fsubs f6, f7, f0 /* 801E8A6C 001E59CC C0 1C 00 0C */ lfs f0, 0xc(r28) /* 801E8A70 001E59D0 C1 04 00 60 */ lfs f8, 0x60(r4) /* 801E8A74 001E59D4 EC 83 00 28 */ fsubs f4, f3, f0 /* 801E8A78 001E59D8 C0 1C 00 2C */ lfs f0, 0x2c(r28) /* 801E8A7C 001E59DC EC 26 01 B2 */ fmuls f1, f6, f6 /* 801E8A80 001E59E0 EC A8 00 28 */ fsubs f5, f8, f0 /* 801E8A84 001E59E4 C0 1B 01 64 */ lfs f0, 0x164(r27) /* 801E8A88 001E59E8 EC 44 01 32 */ fmuls f2, f4, f4 /* 801E8A8C 001E59EC EC 00 00 32 */ fmuls f0, f0, f0 /* 801E8A90 001E59F0 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801E8A94 001E59F4 EC 65 01 72 */ fmuls f3, f5, f5 /* 801E8A98 001E59F8 EC 22 08 2A */ fadds f1, f2, f1 /* 801E8A9C 001E59FC D0 E1 00 4C */ stfs f7, 0x4c(r1) /* 801E8AA0 001E5A00 D1 01 00 50 */ stfs f8, 0x50(r1) /* 801E8AA4 001E5A04 EC 23 08 2A */ fadds f1, f3, f1 /* 801E8AA8 001E5A08 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801E8AAC 001E5A0C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E8AB0 001E5A10 D0 C1 00 58 */ stfs f6, 0x58(r1) /* 801E8AB4 001E5A14 D0 A1 00 5C */ stfs f5, 0x5c(r1) /* 801E8AB8 001E5A18 40 80 00 80 */ bge lbl_801E8B38 /* 801E8ABC 001E5A1C 7F A5 EB 78 */ mr r5, r29 /* 801E8AC0 001E5A20 38 61 00 0C */ addi r3, r1, 0xc /* 801E8AC4 001E5A24 4B E8 E6 71 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801E8AC8 001E5A28 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801E8ACC 001E5A2C B0 1C 00 3C */ sth r0, 0x3c(r28) /* 801E8AD0 001E5A30 A0 7C 00 3C */ lhz r3, 0x3c(r28) /* 801E8AD4 001E5A34 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801E8AD8 001E5A38 7C 03 00 40 */ cmplw r3, r0 /* 801E8ADC 001E5A3C 40 82 00 38 */ bne lbl_801E8B14 /* 801E8AE0 001E5A40 80 1B 05 58 */ lwz r0, 0x558(r27) /* 801E8AE4 001E5A44 2C 00 00 01 */ cmpwi r0, 1 /* 801E8AE8 001E5A48 40 82 00 18 */ bne lbl_801E8B00 /* 801E8AEC 001E5A4C 7F 63 DB 78 */ mr r3, r27 /* 801E8AF0 001E5A50 7F 84 E3 78 */ mr r4, r28 /* 801E8AF4 001E5A54 7F A5 EB 78 */ mr r5, r29 /* 801E8AF8 001E5A58 48 00 1D 45 */ bl sub_801ea83c /* 801E8AFC 001E5A5C 48 00 00 3C */ b lbl_801E8B38 lbl_801E8B00: /* 801E8B00 001E5A60 88 1C 00 80 */ lbz r0, 0x80(r28) /* 801E8B04 001E5A64 38 60 00 00 */ li r3, 0 /* 801E8B08 001E5A68 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E8B0C 001E5A6C 98 1C 00 80 */ stb r0, 0x80(r28) /* 801E8B10 001E5A70 48 00 00 B0 */ b lbl_801E8BC0 lbl_801E8B14: /* 801E8B14 001E5A74 A0 1C 00 3C */ lhz r0, 0x3c(r28) /* 801E8B18 001E5A78 7F A3 EB 78 */ mr r3, r29 /* 801E8B1C 001E5A7C 38 81 00 08 */ addi r4, r1, 8 /* 801E8B20 001E5A80 B0 01 00 08 */ sth r0, 8(r1) /* 801E8B24 001E5A84 4B E6 3A 51 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801E8B28 001E5A88 7C 64 1B 78 */ mr r4, r3 /* 801E8B2C 001E5A8C 38 61 00 14 */ addi r3, r1, 0x14 /* 801E8B30 001E5A90 4B EB DA 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801E8B34 001E5A94 83 E3 00 04 */ lwz r31, 4(r3) lbl_801E8B38: /* 801E8B38 001E5A98 C0 BF 00 60 */ lfs f5, 0x60(r31) /* 801E8B3C 001E5A9C 38 61 00 3C */ addi r3, r1, 0x3c /* 801E8B40 001E5AA0 C0 1C 00 2C */ lfs f0, 0x2c(r28) /* 801E8B44 001E5AA4 38 81 00 30 */ addi r4, r1, 0x30 /* 801E8B48 001E5AA8 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 801E8B4C 001E5AAC C0 7C 00 1C */ lfs f3, 0x1c(r28) /* 801E8B50 001E5AB0 EC 45 00 28 */ fsubs f2, f5, f0 /* 801E8B54 001E5AB4 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801E8B58 001E5AB8 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 801E8B5C 001E5ABC EC 64 18 28 */ fsubs f3, f4, f3 /* 801E8B60 001E5AC0 C3 FB 01 4C */ lfs f31, 0x14c(r27) /* 801E8B64 001E5AC4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801E8B68 001E5AC8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801E8B6C 001E5ACC D0 81 00 28 */ stfs f4, 0x28(r1) /* 801E8B70 001E5AD0 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801E8B74 001E5AD4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801E8B78 001E5AD8 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801E8B7C 001E5ADC D0 41 00 38 */ stfs f2, 0x38(r1) /* 801E8B80 001E5AE0 48 12 BC D1 */ bl AsNormalized__9CVector3fCFv /* 801E8B84 001E5AE4 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801E8B88 001E5AE8 C0 61 00 40 */ lfs f3, 0x40(r1) /* 801E8B8C 001E5AEC EC 1F 00 32 */ fmuls f0, f31, f0 /* 801E8B90 001E5AF0 C0 3E 00 00 */ lfs f1, 0(r30) /* 801E8B94 001E5AF4 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801E8B98 001E5AF8 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801E8B9C 001E5AFC EC 01 00 2A */ fadds f0, f1, f0 /* 801E8BA0 001E5B00 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 801E8BA4 001E5B04 D0 1E 00 00 */ stfs f0, 0(r30) /* 801E8BA8 001E5B08 C0 1E 00 04 */ lfs f0, 4(r30) /* 801E8BAC 001E5B0C EC 00 18 2A */ fadds f0, f0, f3 /* 801E8BB0 001E5B10 D0 1E 00 04 */ stfs f0, 4(r30) /* 801E8BB4 001E5B14 C0 1E 00 08 */ lfs f0, 8(r30) /* 801E8BB8 001E5B18 EC 00 08 2A */ fadds f0, f0, f1 /* 801E8BBC 001E5B1C D0 1E 00 08 */ stfs f0, 8(r30) lbl_801E8BC0: /* 801E8BC0 001E5B20 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801E8BC4 001E5B24 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801E8BC8 001E5B28 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 801E8BCC 001E5B2C 80 01 00 94 */ lwz r0, 0x94(r1) /* 801E8BD0 001E5B30 7C 08 03 A6 */ mtlr r0 /* 801E8BD4 001E5B34 38 21 00 90 */ addi r1, r1, 0x90 /* 801E8BD8 001E5B38 4E 80 00 20 */ blr .global "ApplyAlignment__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f" "ApplyAlignment__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f": /* 801E8BDC 001E5B3C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801E8BE0 001E5B40 7C 08 02 A6 */ mflr r0 /* 801E8BE4 001E5B44 90 01 00 34 */ stw r0, 0x34(r1) /* 801E8BE8 001E5B48 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E8BEC 001E5B4C 7C DF 33 78 */ mr r31, r6 /* 801E8BF0 001E5B50 93 C1 00 28 */ stw r30, 0x28(r1) /* 801E8BF4 001E5B54 7C 7E 1B 78 */ mr r30, r3 /* 801E8BF8 001E5B58 80 05 00 00 */ lwz r0, 0(r5) /* 801E8BFC 001E5B5C 2C 00 00 00 */ cmpwi r0, 0 /* 801E8C00 001E5B60 40 81 01 2C */ ble lbl_801E8D2C /* 801E8C04 001E5B64 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E8C08 001E5B68 38 E5 00 04 */ addi r7, r5, 4 /* 801E8C0C 001E5B6C D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E8C10 001E5B70 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801E8C14 001E5B74 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801E8C18 001E5B78 48 00 00 3C */ b lbl_801E8C54 lbl_801E8C1C: /* 801E8C1C 001E5B7C 80 67 00 00 */ lwz r3, 0(r7) /* 801E8C20 001E5B80 38 E7 00 04 */ addi r7, r7, 4 /* 801E8C24 001E5B84 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801E8C28 001E5B88 C0 23 00 04 */ lfs f1, 4(r3) /* 801E8C2C 001E5B8C C0 83 00 24 */ lfs f4, 0x24(r3) /* 801E8C30 001E5B90 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801E8C34 001E5B94 EC 42 08 2A */ fadds f2, f2, f1 /* 801E8C38 001E5B98 C0 63 00 14 */ lfs f3, 0x14(r3) /* 801E8C3C 001E5B9C C0 21 00 18 */ lfs f1, 0x18(r1) /* 801E8C40 001E5BA0 EC 00 20 2A */ fadds f0, f0, f4 /* 801E8C44 001E5BA4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801E8C48 001E5BA8 EC 21 18 2A */ fadds f1, f1, f3 /* 801E8C4C 001E5BAC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801E8C50 001E5BB0 D0 21 00 18 */ stfs f1, 0x18(r1) lbl_801E8C54: /* 801E8C54 001E5BB4 80 C5 00 00 */ lwz r6, 0(r5) /* 801E8C58 001E5BB8 54 C0 10 3A */ slwi r0, r6, 2 /* 801E8C5C 001E5BBC 7C 65 02 14 */ add r3, r5, r0 /* 801E8C60 001E5BC0 38 03 00 04 */ addi r0, r3, 4 /* 801E8C64 001E5BC4 7C 07 00 40 */ cmplw r7, r0 /* 801E8C68 001E5BC8 40 82 FF B4 */ bne lbl_801E8C1C /* 801E8C6C 001E5BCC 6C C3 80 00 */ xoris r3, r6, 0x8000 /* 801E8C70 001E5BD0 3C 00 43 30 */ lis r0, 0x4330 /* 801E8C74 001E5BD4 90 61 00 24 */ stw r3, 0x24(r1) /* 801E8C78 001E5BD8 38 61 00 08 */ addi r3, r1, 8 /* 801E8C7C 001E5BDC C8 22 AD E0 */ lfd f1, lbl_805ACB00@sda21(r2) /* 801E8C80 001E5BE0 90 01 00 20 */ stw r0, 0x20(r1) /* 801E8C84 001E5BE4 C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801E8C88 001E5BE8 C8 01 00 20 */ lfd f0, 0x20(r1) /* 801E8C8C 001E5BEC C0 41 00 18 */ lfs f2, 0x18(r1) /* 801E8C90 001E5BF0 EC 60 08 28 */ fsubs f3, f0, f1 /* 801E8C94 001E5BF4 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801E8C98 001E5BF8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801E8C9C 001E5BFC EC 64 18 24 */ fdivs f3, f4, f3 /* 801E8CA0 001E5C00 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801E8CA4 001E5C04 EC 23 00 72 */ fmuls f1, f3, f1 /* 801E8CA8 001E5C08 EC 03 00 32 */ fmuls f0, f3, f0 /* 801E8CAC 001E5C0C D0 41 00 18 */ stfs f2, 0x18(r1) /* 801E8CB0 001E5C10 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E8CB4 001E5C14 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801E8CB8 001E5C18 C0 44 00 24 */ lfs f2, 0x24(r4) /* 801E8CBC 001E5C1C C0 24 00 14 */ lfs f1, 0x14(r4) /* 801E8CC0 001E5C20 C0 04 00 04 */ lfs f0, 4(r4) /* 801E8CC4 001E5C24 38 81 00 14 */ addi r4, r1, 0x14 /* 801E8CC8 001E5C28 D0 01 00 08 */ stfs f0, 8(r1) /* 801E8CCC 001E5C2C D0 21 00 0C */ stfs f1, 0xc(r1) /* 801E8CD0 001E5C30 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801E8CD4 001E5C34 48 12 B9 5D */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801E8CD8 001E5C38 C0 02 AD DC */ lfs f0, lbl_805ACAFC@sda21(r2) /* 801E8CDC 001E5C3C C0 9E 01 44 */ lfs f4, 0x144(r30) /* 801E8CE0 001E5C40 EC A1 00 24 */ fdivs f5, f1, f0 /* 801E8CE4 001E5C44 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801E8CE8 001E5C48 C0 61 00 18 */ lfs f3, 0x18(r1) /* 801E8CEC 001E5C4C C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801E8CF0 001E5C50 C0 3F 00 00 */ lfs f1, 0(r31) /* 801E8CF4 001E5C54 EC 04 00 32 */ fmuls f0, f4, f0 /* 801E8CF8 001E5C58 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801E8CFC 001E5C5C EC 44 00 B2 */ fmuls f2, f4, f2 /* 801E8D00 001E5C60 EC 05 00 32 */ fmuls f0, f5, f0 /* 801E8D04 001E5C64 EC 65 00 F2 */ fmuls f3, f5, f3 /* 801E8D08 001E5C68 EC 45 00 B2 */ fmuls f2, f5, f2 /* 801E8D0C 001E5C6C EC 01 00 2A */ fadds f0, f1, f0 /* 801E8D10 001E5C70 D0 1F 00 00 */ stfs f0, 0(r31) /* 801E8D14 001E5C74 C0 1F 00 04 */ lfs f0, 4(r31) /* 801E8D18 001E5C78 EC 00 18 2A */ fadds f0, f0, f3 /* 801E8D1C 001E5C7C D0 1F 00 04 */ stfs f0, 4(r31) /* 801E8D20 001E5C80 C0 1F 00 08 */ lfs f0, 8(r31) /* 801E8D24 001E5C84 EC 00 10 2A */ fadds f0, f0, f2 /* 801E8D28 001E5C88 D0 1F 00 08 */ stfs f0, 8(r31) lbl_801E8D2C: /* 801E8D2C 001E5C8C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E8D30 001E5C90 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E8D34 001E5C94 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801E8D38 001E5C98 7C 08 03 A6 */ mtlr r0 /* 801E8D3C 001E5C9C 38 21 00 30 */ addi r1, r1, 0x30 /* 801E8D40 001E5CA0 4E 80 00 20 */ blr .global ApplyAttraction__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f ApplyAttraction__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f: /* 801E8D44 001E5CA4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E8D48 001E5CA8 7C 08 02 A6 */ mflr r0 /* 801E8D4C 001E5CAC 90 01 00 54 */ stw r0, 0x54(r1) /* 801E8D50 001E5CB0 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801E8D54 001E5CB4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801E8D58 001E5CB8 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801E8D5C 001E5CBC F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801E8D60 001E5CC0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E8D64 001E5CC4 C0 85 00 04 */ lfs f4, 4(r5) /* 801E8D68 001E5CC8 FF C0 08 90 */ fmr f30, f1 /* 801E8D6C 001E5CCC C0 04 00 1C */ lfs f0, 0x1c(r4) /* 801E8D70 001E5CD0 FF E0 10 90 */ fmr f31, f2 /* 801E8D74 001E5CD4 C0 65 00 08 */ lfs f3, 8(r5) /* 801E8D78 001E5CD8 7C DF 33 78 */ mr r31, r6 /* 801E8D7C 001E5CDC C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801E8D80 001E5CE0 C0 25 00 00 */ lfs f1, 0(r5) /* 801E8D84 001E5CE4 EC 84 00 28 */ fsubs f4, f4, f0 /* 801E8D88 001E5CE8 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801E8D8C 001E5CEC EC 43 10 28 */ fsubs f2, f3, f2 /* 801E8D90 001E5CF0 38 61 00 14 */ addi r3, r1, 0x14 /* 801E8D94 001E5CF4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801E8D98 001E5CF8 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801E8D9C 001E5CFC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801E8DA0 001E5D00 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E8DA4 001E5D04 48 12 B9 55 */ bl CanBeNormalized__9CVector3fCFv /* 801E8DA8 001E5D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E8DAC 001E5D0C 41 82 00 98 */ beq lbl_801E8E44 /* 801E8DB0 001E5D10 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801E8DB4 001E5D14 EC 7E 07 B2 */ fmuls f3, f30, f30 /* 801E8DB8 001E5D18 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801E8DBC 001E5D1C EC 21 00 72 */ fmuls f1, f1, f1 /* 801E8DC0 001E5D20 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801E8DC4 001E5D24 EC 00 00 32 */ fmuls f0, f0, f0 /* 801E8DC8 001E5D28 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801E8DCC 001E5D2C EC 01 00 2A */ fadds f0, f1, f0 /* 801E8DD0 001E5D30 EC 02 00 2A */ fadds f0, f2, f0 /* 801E8DD4 001E5D34 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801E8DD8 001E5D38 40 81 00 0C */ ble lbl_801E8DE4 /* 801E8DDC 001E5D3C C3 C2 AD A0 */ lfs f30, lbl_805ACAC0@sda21(r2) /* 801E8DE0 001E5D40 48 00 00 10 */ b lbl_801E8DF0 lbl_801E8DE4: /* 801E8DE4 001E5D44 EC 00 18 24 */ fdivs f0, f0, f3 /* 801E8DE8 001E5D48 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E8DEC 001E5D4C EF C1 00 28 */ fsubs f30, f1, f0 lbl_801E8DF0: /* 801E8DF0 001E5D50 38 61 00 08 */ addi r3, r1, 8 /* 801E8DF4 001E5D54 38 81 00 14 */ addi r4, r1, 0x14 /* 801E8DF8 001E5D58 48 12 BA 59 */ bl AsNormalized__9CVector3fCFv /* 801E8DFC 001E5D5C C0 01 00 08 */ lfs f0, 8(r1) /* 801E8E00 001E5D60 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801E8E04 001E5D64 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801E8E08 001E5D68 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801E8E0C 001E5D6C EC 7E 00 72 */ fmuls f3, f30, f1 /* 801E8E10 001E5D70 C0 3F 00 00 */ lfs f1, 0(r31) /* 801E8E14 001E5D74 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801E8E18 001E5D78 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801E8E1C 001E5D7C EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801E8E20 001E5D80 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801E8E24 001E5D84 EC 01 00 2A */ fadds f0, f1, f0 /* 801E8E28 001E5D88 D0 1F 00 00 */ stfs f0, 0(r31) /* 801E8E2C 001E5D8C C0 1F 00 04 */ lfs f0, 4(r31) /* 801E8E30 001E5D90 EC 00 18 2A */ fadds f0, f0, f3 /* 801E8E34 001E5D94 D0 1F 00 04 */ stfs f0, 4(r31) /* 801E8E38 001E5D98 C0 1F 00 08 */ lfs f0, 8(r31) /* 801E8E3C 001E5D9C EC 00 10 2A */ fadds f0, f0, f2 /* 801E8E40 001E5DA0 D0 1F 00 08 */ stfs f0, 8(r31) lbl_801E8E44: /* 801E8E44 001E5DA4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801E8E48 001E5DA8 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801E8E4C 001E5DAC E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801E8E50 001E5DB0 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801E8E54 001E5DB4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E8E58 001E5DB8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E8E5C 001E5DBC 7C 08 03 A6 */ mtlr r0 /* 801E8E60 001E5DC0 38 21 00 50 */ addi r1, r1, 0x50 /* 801E8E64 001E5DC4 4E 80 00 20 */ blr .global ApplyCohesion__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f ApplyCohesion__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f: /* 801E8E68 001E5DC8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E8E6C 001E5DCC 7C 08 02 A6 */ mflr r0 /* 801E8E70 001E5DD0 90 01 00 54 */ stw r0, 0x54(r1) /* 801E8E74 001E5DD4 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801E8E78 001E5DD8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801E8E7C 001E5DDC DB C1 00 30 */ stfd f30, 0x30(r1) /* 801E8E80 001E5DE0 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801E8E84 001E5DE4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E8E88 001E5DE8 C0 85 00 04 */ lfs f4, 4(r5) /* 801E8E8C 001E5DEC FF C0 08 90 */ fmr f30, f1 /* 801E8E90 001E5DF0 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 801E8E94 001E5DF4 FF E0 10 90 */ fmr f31, f2 /* 801E8E98 001E5DF8 C0 65 00 08 */ lfs f3, 8(r5) /* 801E8E9C 001E5DFC 7C DF 33 78 */ mr r31, r6 /* 801E8EA0 001E5E00 C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801E8EA4 001E5E04 C0 25 00 00 */ lfs f1, 0(r5) /* 801E8EA8 001E5E08 EC 84 00 28 */ fsubs f4, f4, f0 /* 801E8EAC 001E5E0C C0 04 00 0C */ lfs f0, 0xc(r4) /* 801E8EB0 001E5E10 EC 43 10 28 */ fsubs f2, f3, f2 /* 801E8EB4 001E5E14 38 61 00 14 */ addi r3, r1, 0x14 /* 801E8EB8 001E5E18 EC 01 00 28 */ fsubs f0, f1, f0 /* 801E8EBC 001E5E1C D0 81 00 18 */ stfs f4, 0x18(r1) /* 801E8EC0 001E5E20 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801E8EC4 001E5E24 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E8EC8 001E5E28 48 12 B8 31 */ bl CanBeNormalized__9CVector3fCFv /* 801E8ECC 001E5E2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E8ED0 001E5E30 41 82 00 90 */ beq lbl_801E8F60 /* 801E8ED4 001E5E34 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801E8ED8 001E5E38 EC 7E 07 B2 */ fmuls f3, f30, f30 /* 801E8EDC 001E5E3C C0 01 00 18 */ lfs f0, 0x18(r1) /* 801E8EE0 001E5E40 EC 21 00 72 */ fmuls f1, f1, f1 /* 801E8EE4 001E5E44 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801E8EE8 001E5E48 EC 00 00 32 */ fmuls f0, f0, f0 /* 801E8EEC 001E5E4C EC 42 00 B2 */ fmuls f2, f2, f2 /* 801E8EF0 001E5E50 EC 01 00 2A */ fadds f0, f1, f0 /* 801E8EF4 001E5E54 EC 02 00 2A */ fadds f0, f2, f0 /* 801E8EF8 001E5E58 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801E8EFC 001E5E5C 40 81 00 0C */ ble lbl_801E8F08 /* 801E8F00 001E5E60 C3 C2 AD B4 */ lfs f30, lbl_805ACAD4@sda21(r2) /* 801E8F04 001E5E64 48 00 00 08 */ b lbl_801E8F0C lbl_801E8F08: /* 801E8F08 001E5E68 EF C0 18 24 */ fdivs f30, f0, f3 lbl_801E8F0C: /* 801E8F0C 001E5E6C 38 61 00 08 */ addi r3, r1, 8 /* 801E8F10 001E5E70 38 81 00 14 */ addi r4, r1, 0x14 /* 801E8F14 001E5E74 48 12 B9 3D */ bl AsNormalized__9CVector3fCFv /* 801E8F18 001E5E78 C0 01 00 08 */ lfs f0, 8(r1) /* 801E8F1C 001E5E7C C0 21 00 0C */ lfs f1, 0xc(r1) /* 801E8F20 001E5E80 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801E8F24 001E5E84 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801E8F28 001E5E88 EC 7E 00 72 */ fmuls f3, f30, f1 /* 801E8F2C 001E5E8C C0 3F 00 00 */ lfs f1, 0(r31) /* 801E8F30 001E5E90 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801E8F34 001E5E94 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801E8F38 001E5E98 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801E8F3C 001E5E9C EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801E8F40 001E5EA0 EC 01 00 2A */ fadds f0, f1, f0 /* 801E8F44 001E5EA4 D0 1F 00 00 */ stfs f0, 0(r31) /* 801E8F48 001E5EA8 C0 1F 00 04 */ lfs f0, 4(r31) /* 801E8F4C 001E5EAC EC 00 18 2A */ fadds f0, f0, f3 /* 801E8F50 001E5EB0 D0 1F 00 04 */ stfs f0, 4(r31) /* 801E8F54 001E5EB4 C0 1F 00 08 */ lfs f0, 8(r31) /* 801E8F58 001E5EB8 EC 00 10 2A */ fadds f0, f0, f2 /* 801E8F5C 001E5EBC D0 1F 00 08 */ stfs f0, 8(r31) lbl_801E8F60: /* 801E8F60 001E5EC0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801E8F64 001E5EC4 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801E8F68 001E5EC8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801E8F6C 001E5ECC CB C1 00 30 */ lfd f30, 0x30(r1) /* 801E8F70 001E5ED0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E8F74 001E5ED4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E8F78 001E5ED8 7C 08 03 A6 */ mtlr r0 /* 801E8F7C 001E5EDC 38 21 00 50 */ addi r1, r1, 0x50 /* 801E8F80 001E5EE0 4E 80 00 20 */ blr .global "ApplyCohesion__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f" "ApplyCohesion__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f": /* 801E8F84 001E5EE4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E8F88 001E5EE8 7C 08 02 A6 */ mflr r0 /* 801E8F8C 001E5EEC 90 01 00 24 */ stw r0, 0x24(r1) /* 801E8F90 001E5EF0 80 05 00 00 */ lwz r0, 0(r5) /* 801E8F94 001E5EF4 2C 00 00 00 */ cmpwi r0, 0 /* 801E8F98 001E5EF8 40 81 00 C4 */ ble lbl_801E905C /* 801E8F9C 001E5EFC C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E8FA0 001E5F00 39 25 00 04 */ addi r9, r5, 4 /* 801E8FA4 001E5F04 D0 01 00 08 */ stfs f0, 8(r1) /* 801E8FA8 001E5F08 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801E8FAC 001E5F0C D0 01 00 10 */ stfs f0, 0x10(r1) /* 801E8FB0 001E5F10 48 00 00 3C */ b lbl_801E8FEC lbl_801E8FB4: /* 801E8FB4 001E5F14 80 E9 00 00 */ lwz r7, 0(r9) /* 801E8FB8 001E5F18 39 29 00 04 */ addi r9, r9, 4 /* 801E8FBC 001E5F1C C0 41 00 08 */ lfs f2, 8(r1) /* 801E8FC0 001E5F20 C0 27 00 0C */ lfs f1, 0xc(r7) /* 801E8FC4 001E5F24 C0 87 00 2C */ lfs f4, 0x2c(r7) /* 801E8FC8 001E5F28 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801E8FCC 001E5F2C EC 42 08 2A */ fadds f2, f2, f1 /* 801E8FD0 001E5F30 C0 67 00 1C */ lfs f3, 0x1c(r7) /* 801E8FD4 001E5F34 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801E8FD8 001E5F38 EC 00 20 2A */ fadds f0, f0, f4 /* 801E8FDC 001E5F3C D0 41 00 08 */ stfs f2, 8(r1) /* 801E8FE0 001E5F40 EC 21 18 2A */ fadds f1, f1, f3 /* 801E8FE4 001E5F44 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801E8FE8 001E5F48 D0 21 00 0C */ stfs f1, 0xc(r1) lbl_801E8FEC: /* 801E8FEC 001E5F4C 81 05 00 00 */ lwz r8, 0(r5) /* 801E8FF0 001E5F50 55 00 10 3A */ slwi r0, r8, 2 /* 801E8FF4 001E5F54 7C E5 02 14 */ add r7, r5, r0 /* 801E8FF8 001E5F58 38 07 00 04 */ addi r0, r7, 4 /* 801E8FFC 001E5F5C 7C 09 00 40 */ cmplw r9, r0 /* 801E9000 001E5F60 40 82 FF B4 */ bne lbl_801E8FB4 /* 801E9004 001E5F64 6D 05 80 00 */ xoris r5, r8, 0x8000 /* 801E9008 001E5F68 3C 00 43 30 */ lis r0, 0x4330 /* 801E900C 001E5F6C 90 A1 00 1C */ stw r5, 0x1c(r1) /* 801E9010 001E5F70 38 A1 00 08 */ addi r5, r1, 8 /* 801E9014 001E5F74 C8 22 AD E0 */ lfd f1, lbl_805ACB00@sda21(r2) /* 801E9018 001E5F78 90 01 00 18 */ stw r0, 0x18(r1) /* 801E901C 001E5F7C C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801E9020 001E5F80 C8 01 00 18 */ lfd f0, 0x18(r1) /* 801E9024 001E5F84 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801E9028 001E5F88 EC 60 08 28 */ fsubs f3, f0, f1 /* 801E902C 001E5F8C C0 21 00 10 */ lfs f1, 0x10(r1) /* 801E9030 001E5F90 C0 01 00 08 */ lfs f0, 8(r1) /* 801E9034 001E5F94 EC 64 18 24 */ fdivs f3, f4, f3 /* 801E9038 001E5F98 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801E903C 001E5F9C EC 23 00 72 */ fmuls f1, f3, f1 /* 801E9040 001E5FA0 EC 03 00 32 */ fmuls f0, f3, f0 /* 801E9044 001E5FA4 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801E9048 001E5FA8 D0 01 00 08 */ stfs f0, 8(r1) /* 801E904C 001E5FAC D0 21 00 10 */ stfs f1, 0x10(r1) /* 801E9050 001E5FB0 C0 23 01 3C */ lfs f1, 0x13c(r3) /* 801E9054 001E5FB4 C0 43 01 40 */ lfs f2, 0x140(r3) /* 801E9058 001E5FB8 4B FF FE 11 */ bl ApplyCohesion__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f lbl_801E905C: /* 801E905C 001E5FBC 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E9060 001E5FC0 7C 08 03 A6 */ mtlr r0 /* 801E9064 001E5FC4 38 21 00 20 */ addi r1, r1, 0x20 /* 801E9068 001E5FC8 4E 80 00 20 */ blr .global ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f: /* 801E906C 001E5FCC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E9070 001E5FD0 7C 08 02 A6 */ mflr r0 /* 801E9074 001E5FD4 90 01 00 54 */ stw r0, 0x54(r1) /* 801E9078 001E5FD8 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801E907C 001E5FDC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801E9080 001E5FE0 DB C1 00 30 */ stfd f30, 0x30(r1) /* 801E9084 001E5FE4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801E9088 001E5FE8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801E908C 001E5FEC C0 84 00 1C */ lfs f4, 0x1c(r4) /* 801E9090 001E5FF0 FF C0 08 90 */ fmr f30, f1 /* 801E9094 001E5FF4 C0 05 00 04 */ lfs f0, 4(r5) /* 801E9098 001E5FF8 FF E0 10 90 */ fmr f31, f2 /* 801E909C 001E5FFC C0 64 00 2C */ lfs f3, 0x2c(r4) /* 801E90A0 001E6000 7C DF 33 78 */ mr r31, r6 /* 801E90A4 001E6004 C0 45 00 08 */ lfs f2, 8(r5) /* 801E90A8 001E6008 C0 24 00 0C */ lfs f1, 0xc(r4) /* 801E90AC 001E600C EC 84 00 28 */ fsubs f4, f4, f0 /* 801E90B0 001E6010 C0 05 00 00 */ lfs f0, 0(r5) /* 801E90B4 001E6014 EC 43 10 28 */ fsubs f2, f3, f2 /* 801E90B8 001E6018 38 61 00 14 */ addi r3, r1, 0x14 /* 801E90BC 001E601C EC 01 00 28 */ fsubs f0, f1, f0 /* 801E90C0 001E6020 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801E90C4 001E6024 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801E90C8 001E6028 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E90CC 001E602C 48 12 B6 2D */ bl CanBeNormalized__9CVector3fCFv /* 801E90D0 001E6030 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E90D4 001E6034 41 82 00 90 */ beq lbl_801E9164 /* 801E90D8 001E6038 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801E90DC 001E603C EC 7E 07 B2 */ fmuls f3, f30, f30 /* 801E90E0 001E6040 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801E90E4 001E6044 EC 21 00 72 */ fmuls f1, f1, f1 /* 801E90E8 001E6048 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801E90EC 001E604C EC 00 00 32 */ fmuls f0, f0, f0 /* 801E90F0 001E6050 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801E90F4 001E6054 EC 01 00 2A */ fadds f0, f1, f0 /* 801E90F8 001E6058 EC 02 00 2A */ fadds f0, f2, f0 /* 801E90FC 001E605C FC 00 18 40 */ fcmpo cr0, f0, f3 /* 801E9100 001E6060 40 80 00 64 */ bge lbl_801E9164 /* 801E9104 001E6064 EC 00 18 24 */ fdivs f0, f0, f3 /* 801E9108 001E6068 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E910C 001E606C 38 61 00 08 */ addi r3, r1, 8 /* 801E9110 001E6070 38 81 00 14 */ addi r4, r1, 0x14 /* 801E9114 001E6074 EF C1 00 28 */ fsubs f30, f1, f0 /* 801E9118 001E6078 48 12 B7 39 */ bl AsNormalized__9CVector3fCFv /* 801E911C 001E607C C0 01 00 08 */ lfs f0, 8(r1) /* 801E9120 001E6080 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801E9124 001E6084 EC 1E 00 32 */ fmuls f0, f30, f0 /* 801E9128 001E6088 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801E912C 001E608C EC 7E 00 72 */ fmuls f3, f30, f1 /* 801E9130 001E6090 C0 3F 00 00 */ lfs f1, 0(r31) /* 801E9134 001E6094 EC 5E 00 B2 */ fmuls f2, f30, f2 /* 801E9138 001E6098 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801E913C 001E609C EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801E9140 001E60A0 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801E9144 001E60A4 EC 01 00 2A */ fadds f0, f1, f0 /* 801E9148 001E60A8 D0 1F 00 00 */ stfs f0, 0(r31) /* 801E914C 001E60AC C0 1F 00 04 */ lfs f0, 4(r31) /* 801E9150 001E60B0 EC 00 18 2A */ fadds f0, f0, f3 /* 801E9154 001E60B4 D0 1F 00 04 */ stfs f0, 4(r31) /* 801E9158 001E60B8 C0 1F 00 08 */ lfs f0, 8(r31) /* 801E915C 001E60BC EC 00 10 2A */ fadds f0, f0, f2 /* 801E9160 001E60C0 D0 1F 00 08 */ stfs f0, 8(r31) lbl_801E9164: /* 801E9164 001E60C4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801E9168 001E60C8 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801E916C 001E60CC E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801E9170 001E60D0 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801E9174 001E60D4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E9178 001E60D8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801E917C 001E60DC 7C 08 03 A6 */ mtlr r0 /* 801E9180 001E60E0 38 21 00 50 */ addi r1, r1, 0x50 /* 801E9184 001E60E4 4E 80 00 20 */ blr .global "ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f" "ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f": /* 801E9188 001E60E8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801E918C 001E60EC 7C 08 02 A6 */ mflr r0 /* 801E9190 001E60F0 90 01 00 24 */ stw r0, 0x24(r1) /* 801E9194 001E60F4 80 05 00 00 */ lwz r0, 0(r5) /* 801E9198 001E60F8 2C 00 00 00 */ cmpwi r0, 0 /* 801E919C 001E60FC 40 81 00 A0 */ ble lbl_801E923C /* 801E91A0 001E6100 C0 C2 AD A0 */ lfs f6, lbl_805ACAC0@sda21(r2) /* 801E91A4 001E6104 39 05 00 04 */ addi r8, r5, 4 /* 801E91A8 001E6108 C0 E2 AD A4 */ lfs f7, lbl_805ACAC4@sda21(r2) /* 801E91AC 001E610C D0 C1 00 08 */ stfs f6, 8(r1) /* 801E91B0 001E6110 D0 C1 00 0C */ stfs f6, 0xc(r1) /* 801E91B4 001E6114 D0 C1 00 10 */ stfs f6, 0x10(r1) /* 801E91B8 001E6118 48 00 00 5C */ b lbl_801E9214 lbl_801E91BC: /* 801E91BC 001E611C 80 E8 00 00 */ lwz r7, 0(r8) /* 801E91C0 001E6120 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 801E91C4 001E6124 C0 67 00 1C */ lfs f3, 0x1c(r7) /* 801E91C8 001E6128 C0 A4 00 0C */ lfs f5, 0xc(r4) /* 801E91CC 001E612C EC 00 18 28 */ fsubs f0, f0, f3 /* 801E91D0 001E6130 C0 87 00 0C */ lfs f4, 0xc(r7) /* 801E91D4 001E6134 C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801E91D8 001E6138 C0 27 00 2C */ lfs f1, 0x2c(r7) /* 801E91DC 001E613C EC A5 20 28 */ fsubs f5, f5, f4 /* 801E91E0 001E6140 EC 00 00 32 */ fmuls f0, f0, f0 /* 801E91E4 001E6144 EC 42 08 28 */ fsubs f2, f2, f1 /* 801E91E8 001E6148 EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 801E91EC 001E614C EC 02 00 BA */ fmadds f0, f2, f2, f0 /* 801E91F0 001E6150 FC 06 00 00 */ fcmpu cr0, f6, f0 /* 801E91F4 001E6154 41 82 00 1C */ beq lbl_801E9210 /* 801E91F8 001E6158 FC 00 38 40 */ fcmpo cr0, f0, f7 /* 801E91FC 001E615C 40 80 00 14 */ bge lbl_801E9210 /* 801E9200 001E6160 FC E0 00 90 */ fmr f7, f0 /* 801E9204 001E6164 D0 81 00 08 */ stfs f4, 8(r1) /* 801E9208 001E6168 D0 61 00 0C */ stfs f3, 0xc(r1) /* 801E920C 001E616C D0 21 00 10 */ stfs f1, 0x10(r1) lbl_801E9210: /* 801E9210 001E6170 39 08 00 04 */ addi r8, r8, 4 lbl_801E9214: /* 801E9214 001E6174 80 05 00 00 */ lwz r0, 0(r5) /* 801E9218 001E6178 54 00 10 3A */ slwi r0, r0, 2 /* 801E921C 001E617C 7C E5 02 14 */ add r7, r5, r0 /* 801E9220 001E6180 38 07 00 04 */ addi r0, r7, 4 /* 801E9224 001E6184 7C 08 00 40 */ cmplw r8, r0 /* 801E9228 001E6188 40 82 FF 94 */ bne lbl_801E91BC /* 801E922C 001E618C C0 23 01 3C */ lfs f1, 0x13c(r3) /* 801E9230 001E6190 38 A1 00 08 */ addi r5, r1, 8 /* 801E9234 001E6194 C0 43 01 48 */ lfs f2, 0x148(r3) /* 801E9238 001E6198 4B FF FE 35 */ bl ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f lbl_801E923C: /* 801E923C 001E619C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801E9240 001E61A0 7C 08 03 A6 */ mtlr r0 /* 801E9244 001E61A4 38 21 00 20 */ addi r1, r1, 0x20 /* 801E9248 001E61A8 4E 80 00 20 */ blr .global "BuildBoidNearList__17CWallCrawlerSwarmFRCQ217CWallCrawlerSwarm5CBoidfRQ24rstl48reserved_vector" "BuildBoidNearList__17CWallCrawlerSwarmFRCQ217CWallCrawlerSwarm5CBoidfRQ24rstl48reserved_vector": /* 801E924C 001E61AC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801E9250 001E61B0 7C 08 02 A6 */ mflr r0 /* 801E9254 001E61B4 90 01 00 54 */ stw r0, 0x54(r1) /* 801E9258 001E61B8 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801E925C 001E61BC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801E9260 001E61C0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801E9264 001E61C4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801E9268 001E61C8 7C 9E 23 78 */ mr r30, r4 /* 801E926C 001E61CC FF E0 08 90 */ fmr f31, f1 /* 801E9270 001E61D0 C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801E9274 001E61D4 7C BF 2B 78 */ mr r31, r5 /* 801E9278 001E61D8 C0 24 00 1C */ lfs f1, 0x1c(r4) /* 801E927C 001E61DC 38 81 00 20 */ addi r4, r1, 0x20 /* 801E9280 001E61E0 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801E9284 001E61E4 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801E9288 001E61E8 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801E928C 001E61EC D0 41 00 28 */ stfs f2, 0x28(r1) /* 801E9290 001E61F0 48 00 0E E9 */ bl GetListAt__17CWallCrawlerSwarmFRC9CVector3f /* 801E9294 001E61F4 C1 1E 00 0C */ lfs f8, 0xc(r30) /* 801E9298 001E61F8 C1 3E 00 1C */ lfs f9, 0x1c(r30) /* 801E929C 001E61FC C1 5E 00 2C */ lfs f10, 0x2c(r30) /* 801E92A0 001E6200 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E92A4 001E6204 48 00 00 80 */ b lbl_801E9324 lbl_801E92A8: /* 801E92A8 001E6208 C0 63 00 1C */ lfs f3, 0x1c(r3) /* 801E92AC 001E620C C0 23 00 0C */ lfs f1, 0xc(r3) /* 801E92B0 001E6210 EC C3 48 28 */ fsubs f6, f3, f9 /* 801E92B4 001E6214 C0 E3 00 2C */ lfs f7, 0x2c(r3) /* 801E92B8 001E6218 EC 81 40 28 */ fsubs f4, f1, f8 /* 801E92BC 001E621C D0 21 00 08 */ stfs f1, 8(r1) /* 801E92C0 001E6220 EC A7 50 28 */ fsubs f5, f7, f10 /* 801E92C4 001E6224 EC 26 01 B2 */ fmuls f1, f6, f6 /* 801E92C8 001E6228 EC 44 01 32 */ fmuls f2, f4, f4 /* 801E92CC 001E622C D0 61 00 0C */ stfs f3, 0xc(r1) /* 801E92D0 001E6230 EC 65 01 72 */ fmuls f3, f5, f5 /* 801E92D4 001E6234 D0 E1 00 10 */ stfs f7, 0x10(r1) /* 801E92D8 001E6238 EC 22 08 2A */ fadds f1, f2, f1 /* 801E92DC 001E623C D0 81 00 14 */ stfs f4, 0x14(r1) /* 801E92E0 001E6240 EC 23 08 2A */ fadds f1, f3, f1 /* 801E92E4 001E6244 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 801E92E8 001E6248 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801E92EC 001E624C FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801E92F0 001E6250 41 82 00 30 */ beq lbl_801E9320 /* 801E92F4 001E6254 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801E92F8 001E6258 40 80 00 28 */ bge lbl_801E9320 /* 801E92FC 001E625C 80 1F 00 00 */ lwz r0, 0(r31) /* 801E9300 001E6260 54 00 10 3A */ slwi r0, r0, 2 /* 801E9304 001E6264 7C 9F 02 14 */ add r4, r31, r0 /* 801E9308 001E6268 34 84 00 04 */ addic. r4, r4, 4 /* 801E930C 001E626C 41 82 00 08 */ beq lbl_801E9314 /* 801E9310 001E6270 90 64 00 00 */ stw r3, 0(r4) lbl_801E9314: /* 801E9314 001E6274 80 9F 00 00 */ lwz r4, 0(r31) /* 801E9318 001E6278 38 04 00 01 */ addi r0, r4, 1 /* 801E931C 001E627C 90 1F 00 00 */ stw r0, 0(r31) lbl_801E9320: /* 801E9320 001E6280 80 63 00 44 */ lwz r3, 0x44(r3) lbl_801E9324: /* 801E9324 001E6284 28 03 00 00 */ cmplwi r3, 0 /* 801E9328 001E6288 41 82 00 10 */ beq lbl_801E9338 /* 801E932C 001E628C 80 1F 00 00 */ lwz r0, 0(r31) /* 801E9330 001E6290 2C 00 00 32 */ cmpwi r0, 0x32 /* 801E9334 001E6294 41 80 FF 74 */ blt lbl_801E92A8 lbl_801E9338: /* 801E9338 001E6298 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801E933C 001E629C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801E9340 001E62A0 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801E9344 001E62A4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801E9348 001E62A8 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801E934C 001E62AC 7C 08 03 A6 */ mtlr r0 /* 801E9350 001E62B0 38 21 00 50 */ addi r1, r1, 0x50 /* 801E9354 001E62B4 4E 80 00 20 */ blr .global Render__17CWallCrawlerSwarmCFRC13CStateManager Render__17CWallCrawlerSwarmCFRC13CStateManager: /* 801E9358 001E62B8 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801E935C 001E62BC 7C 08 02 A6 */ mflr r0 /* 801E9360 001E62C0 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801E9364 001E62C4 BE 41 00 B8 */ stmw r18, 0xb8(r1) /* 801E9368 001E62C8 7C 7E 1B 78 */ mr r30, r3 /* 801E936C 001E62CC 38 60 FF FF */ li r3, -1 /* 801E9370 001E62D0 7C 9F 23 78 */ mr r31, r4 /* 801E9374 001E62D4 88 1E 05 60 */ lbz r0, 0x560(r30) /* 801E9378 001E62D8 90 61 00 24 */ stw r3, 0x24(r1) /* 801E937C 001E62DC 54 18 CF FF */ rlwinm. r24, r0, 0x19, 0x1f, 0x1f /* 801E9380 001E62E0 54 17 D7 FE */ rlwinm r23, r0, 0x1a, 0x1f, 0x1f /* 801E9384 001E62E4 40 82 00 38 */ bne lbl_801E93BC /* 801E9388 001E62E8 48 12 35 F5 */ bl DisableAllLights__9CGraphicsFv /* 801E938C 001E62EC C0 22 AD B0 */ lfs f1, lbl_805ACAD0@sda21(r2) /* 801E9390 001E62F0 38 61 00 18 */ addi r3, r1, 0x18 /* 801E9394 001E62F4 C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801E9398 001E62F8 FC 40 08 90 */ fmr f2, f1 /* 801E939C 001E62FC FC 60 08 90 */ fmr f3, f1 /* 801E93A0 001E6300 48 17 A0 4D */ bl __ct__6CColorFffff /* 801E93A4 001E6304 7C 64 1B 78 */ mr r4, r3 /* 801E93A8 001E6308 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E93AC 001E630C 81 83 00 00 */ lwz r12, 0(r3) /* 801E93B0 001E6310 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801E93B4 001E6314 7D 89 03 A6 */ mtctr r12 /* 801E93B8 001E6318 4E 80 04 21 */ bctrl lbl_801E93BC: /* 801E93BC 001E631C C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E93C0 001E6320 38 80 00 00 */ li r4, 0 /* 801E93C4 001E6324 80 BF 0F 34 */ lwz r5, 0xf34(r31) /* 801E93C8 001E6328 38 00 00 03 */ li r0, 3 /* 801E93CC 001E632C FC 40 08 90 */ fmr f2, f1 /* 801E93D0 001E6330 98 81 00 30 */ stb r4, 0x30(r1) /* 801E93D4 001E6334 7C A5 00 34 */ cntlzw r5, r5 /* 801E93D8 001E6338 FC 60 08 90 */ fmr f3, f1 /* 801E93DC 001E633C FC 80 08 90 */ fmr f4, f1 /* 801E93E0 001E6340 98 81 00 31 */ stb r4, 0x31(r1) /* 801E93E4 001E6344 B0 01 00 32 */ sth r0, 0x32(r1) /* 801E93E8 001E6348 38 61 00 34 */ addi r3, r1, 0x34 /* 801E93EC 001E634C 54 B6 D9 7E */ srwi r22, r5, 5 /* 801E93F0 001E6350 48 17 9F FD */ bl __ct__6CColorFffff /* 801E93F4 001E6354 88 61 00 30 */ lbz r3, 0x30(r1) /* 801E93F8 001E6358 7F E4 FB 78 */ mr r4, r31 /* 801E93FC 001E635C 88 C1 00 31 */ lbz r6, 0x31(r1) /* 801E9400 001E6360 A0 A1 00 32 */ lhz r5, 0x32(r1) /* 801E9404 001E6364 80 01 00 34 */ lwz r0, 0x34(r1) /* 801E9408 001E6368 98 61 00 38 */ stb r3, 0x38(r1) /* 801E940C 001E636C 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 801E9410 001E6370 98 C1 00 39 */ stb r6, 0x39(r1) /* 801E9414 001E6374 B0 A1 00 3A */ sth r5, 0x3a(r1) /* 801E9418 001E6378 90 01 00 3C */ stw r0, 0x3c(r1) /* 801E941C 001E637C 80 63 00 00 */ lwz r3, 0(r3) /* 801E9420 001E6380 4B EA 81 39 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 801E9424 001E6384 2C 03 00 01 */ cmpwi r3, 1 /* 801E9428 001E6388 40 82 00 54 */ bne lbl_801E947C /* 801E942C 001E638C C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E9430 001E6390 38 A0 00 05 */ li r5, 5 /* 801E9434 001E6394 38 80 00 00 */ li r4, 0 /* 801E9438 001E6398 38 00 00 03 */ li r0, 3 /* 801E943C 001E639C FC 40 08 90 */ fmr f2, f1 /* 801E9440 001E63A0 98 A1 00 28 */ stb r5, 0x28(r1) /* 801E9444 001E63A4 FC 60 08 90 */ fmr f3, f1 /* 801E9448 001E63A8 C0 82 AD AC */ lfs f4, lbl_805ACACC@sda21(r2) /* 801E944C 001E63AC 98 81 00 29 */ stb r4, 0x29(r1) /* 801E9450 001E63B0 38 61 00 2C */ addi r3, r1, 0x2c /* 801E9454 001E63B4 B0 01 00 2A */ sth r0, 0x2a(r1) /* 801E9458 001E63B8 48 17 9F 95 */ bl __ct__6CColorFffff /* 801E945C 001E63BC 88 A1 00 28 */ lbz r5, 0x28(r1) /* 801E9460 001E63C0 88 81 00 29 */ lbz r4, 0x29(r1) /* 801E9464 001E63C4 A0 61 00 2A */ lhz r3, 0x2a(r1) /* 801E9468 001E63C8 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801E946C 001E63CC 98 A1 00 38 */ stb r5, 0x38(r1) /* 801E9470 001E63D0 98 81 00 39 */ stb r4, 0x39(r1) /* 801E9474 001E63D4 B0 61 00 3A */ sth r3, 0x3a(r1) /* 801E9478 001E63D8 90 01 00 3C */ stw r0, 0x3c(r1) lbl_801E947C: /* 801E947C 001E63DC 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) /* 801E9480 001E63E0 39 20 00 02 */ li r9, 2 /* 801E9484 001E63E4 28 07 00 00 */ cmplwi r7, 0 /* 801E9488 001E63E8 41 82 00 08 */ beq lbl_801E9490 /* 801E948C 001E63EC 39 20 00 01 */ li r9, 1 lbl_801E9490: /* 801E9490 001E63F0 28 07 00 00 */ cmplwi r7, 0 /* 801E9494 001E63F4 39 00 00 00 */ li r8, 0 /* 801E9498 001E63F8 41 82 00 08 */ beq lbl_801E94A0 /* 801E949C 001E63FC 39 00 00 02 */ li r8, 2 lbl_801E94A0: /* 801E94A0 001E6400 28 07 00 00 */ cmplwi r7, 0 /* 801E94A4 001E6404 38 60 00 00 */ li r3, 0 /* 801E94A8 001E6408 38 00 00 00 */ li r0, 0 /* 801E94AC 001E640C 41 82 00 18 */ beq lbl_801E94C4 /* 801E94B0 001E6410 28 18 00 00 */ cmplwi r24, 0 /* 801E94B4 001E6414 41 82 00 10 */ beq lbl_801E94C4 /* 801E94B8 001E6418 28 17 00 00 */ cmplwi r23, 0 /* 801E94BC 001E641C 40 82 00 08 */ bne lbl_801E94C4 /* 801E94C0 001E6420 38 00 00 01 */ li r0, 1 lbl_801E94C4: /* 801E94C4 001E6424 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 801E94C8 001E6428 38 A0 00 00 */ li r5, 0 /* 801E94CC 001E642C 7C 04 00 D0 */ neg r0, r4 /* 801E94D0 001E6430 38 C0 00 00 */ li r6, 0 /* 801E94D4 001E6434 7C 00 23 78 */ or r0, r0, r4 /* 801E94D8 001E6438 54 04 0F FE */ srwi r4, r0, 0x1f /* 801E94DC 001E643C 48 11 F7 F1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 801E94E0 001E6440 3B 60 00 00 */ li r27, 0 /* 801E94E4 001E6444 3B 3E 01 6C */ addi r25, r30, 0x16c lbl_801E94E8: /* 801E94E8 001E6448 7F 7A DB 78 */ mr r26, r27 /* 801E94EC 001E644C 3B 80 00 00 */ li r28, 0 lbl_801E94F0: /* 801E94F0 001E6450 7F 5D D3 78 */ mr r29, r26 /* 801E94F4 001E6454 57 52 10 3A */ slwi r18, r26, 2 /* 801E94F8 001E6458 3A A0 00 00 */ li r21, 0 lbl_801E94FC: /* 801E94FC 001E645C 7E 99 90 2E */ lwzx r20, r25, r18 /* 801E9500 001E6460 28 14 00 00 */ cmplwi r20, 0 /* 801E9504 001E6464 41 82 01 1C */ beq lbl_801E9620 /* 801E9508 001E6468 28 18 00 00 */ cmplwi r24, 0 /* 801E950C 001E646C 41 82 01 0C */ beq lbl_801E9618 /* 801E9510 001E6470 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801E9514 001E6474 7F C4 F3 78 */ mr r4, r30 /* 801E9518 001E6478 7F 65 DB 78 */ mr r5, r27 /* 801E951C 001E647C 7F 86 E3 78 */ mr r6, r28 /* 801E9520 001E6480 7E A7 AB 78 */ mr r7, r21 /* 801E9524 001E6484 38 61 00 70 */ addi r3, r1, 0x70 /* 801E9528 001E6488 48 00 0A 99 */ bl BoxForPosition__17CWallCrawlerSwarmCFiiif /* 801E952C 001E648C C0 A1 00 70 */ lfs f5, 0x70(r1) /* 801E9530 001E6490 28 17 00 00 */ cmplwi r23, 0 /* 801E9534 001E6494 C0 81 00 74 */ lfs f4, 0x74(r1) /* 801E9538 001E6498 C0 61 00 78 */ lfs f3, 0x78(r1) /* 801E953C 001E649C C0 41 00 7C */ lfs f2, 0x7c(r1) /* 801E9540 001E64A0 C0 21 00 80 */ lfs f1, 0x80(r1) /* 801E9544 001E64A4 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801E9548 001E64A8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 801E954C 001E64AC D0 81 00 A4 */ stfs f4, 0xa4(r1) /* 801E9550 001E64B0 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 801E9554 001E64B4 D0 41 00 AC */ stfs f2, 0xac(r1) /* 801E9558 001E64B8 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801E955C 001E64BC D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801E9560 001E64C0 41 82 00 74 */ beq lbl_801E95D4 /* 801E9564 001E64C4 80 1E 01 00 */ lwz r0, 0x100(r30) /* 801E9568 001E64C8 57 A3 07 BE */ clrlwi r3, r29, 0x1e /* 801E956C 001E64CC 54 00 07 BE */ clrlwi r0, r0, 0x1e /* 801E9570 001E64D0 7C 03 00 00 */ cmpw r3, r0 /* 801E9574 001E64D4 40 82 00 A4 */ bne lbl_801E9618 /* 801E9578 001E64D8 7F C4 F3 78 */ mr r4, r30 /* 801E957C 001E64DC 7F E5 FB 78 */ mr r5, r31 /* 801E9580 001E64E0 38 61 00 14 */ addi r3, r1, 0x14 /* 801E9584 001E64E4 38 C1 00 A0 */ addi r6, r1, 0xa0 /* 801E9588 001E64E8 48 00 05 D1 */ bl SoftwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox /* 801E958C 001E64EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E9590 001E64F0 7E 93 A3 78 */ mr r19, r20 /* 801E9594 001E64F4 90 01 00 20 */ stw r0, 0x20(r1) /* 801E9598 001E64F8 48 00 00 30 */ b lbl_801E95C8 lbl_801E959C: /* 801E959C 001E64FC 88 13 00 80 */ lbz r0, 0x80(r19) /* 801E95A0 001E6500 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E95A4 001E6504 41 82 00 20 */ beq lbl_801E95C4 /* 801E95A8 001E6508 C0 22 AD AC */ lfs f1, lbl_805ACACC@sda21(r2) /* 801E95AC 001E650C 38 61 00 10 */ addi r3, r1, 0x10 /* 801E95B0 001E6510 38 93 00 40 */ addi r4, r19, 0x40 /* 801E95B4 001E6514 38 A1 00 20 */ addi r5, r1, 0x20 /* 801E95B8 001E6518 48 17 9C F5 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801E95BC 001E651C 80 01 00 10 */ lwz r0, 0x10(r1) /* 801E95C0 001E6520 90 13 00 40 */ stw r0, 0x40(r19) lbl_801E95C4: /* 801E95C4 001E6524 82 73 00 44 */ lwz r19, 0x44(r19) lbl_801E95C8: /* 801E95C8 001E6528 28 13 00 00 */ cmplwi r19, 0 /* 801E95CC 001E652C 40 82 FF D0 */ bne lbl_801E959C /* 801E95D0 001E6530 48 00 00 48 */ b lbl_801E9618 lbl_801E95D4: /* 801E95D4 001E6534 7F C3 F3 78 */ mr r3, r30 /* 801E95D8 001E6538 7F E4 FB 78 */ mr r4, r31 /* 801E95DC 001E653C 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 801E95E0 001E6540 48 00 07 E1 */ bl HardwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox /* 801E95E4 001E6544 48 00 00 34 */ b lbl_801E9618 lbl_801E95E8: /* 801E95E8 001E6548 88 74 00 80 */ lbz r3, 0x80(r20) /* 801E95EC 001E654C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801E95F0 001E6550 41 82 00 24 */ beq lbl_801E9614 /* 801E95F4 001E6554 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801E95F8 001E6558 41 82 00 1C */ beq lbl_801E9614 /* 801E95FC 001E655C 7F C3 F3 78 */ mr r3, r30 /* 801E9600 001E6560 7E 84 A3 78 */ mr r4, r20 /* 801E9604 001E6564 7E C6 B3 78 */ mr r6, r22 /* 801E9608 001E6568 38 A1 00 24 */ addi r5, r1, 0x24 /* 801E960C 001E656C 38 E1 00 38 */ addi r7, r1, 0x38 /* 801E9610 001E6570 48 00 02 3D */ bl RenderBoid__17CWallCrawlerSwarmCFPQ217CWallCrawlerSwarm5CBoidPb lbl_801E9614: /* 801E9614 001E6574 82 94 00 44 */ lwz r20, 0x44(r20) lbl_801E9618: /* 801E9618 001E6578 28 14 00 00 */ cmplwi r20, 0 /* 801E961C 001E657C 40 82 FF CC */ bne lbl_801E95E8 lbl_801E9620: /* 801E9620 001E6580 3A B5 00 01 */ addi r21, r21, 1 /* 801E9624 001E6584 3A 52 00 64 */ addi r18, r18, 0x64 /* 801E9628 001E6588 2C 15 00 05 */ cmpwi r21, 5 /* 801E962C 001E658C 3B BD 00 19 */ addi r29, r29, 0x19 /* 801E9630 001E6590 41 80 FE CC */ blt lbl_801E94FC /* 801E9634 001E6594 3B 9C 00 01 */ addi r28, r28, 1 /* 801E9638 001E6598 3B 5A 00 05 */ addi r26, r26, 5 /* 801E963C 001E659C 2C 1C 00 05 */ cmpwi r28, 5 /* 801E9640 001E65A0 41 80 FE B0 */ blt lbl_801E94F0 /* 801E9644 001E65A4 3B 7B 00 01 */ addi r27, r27, 1 /* 801E9648 001E65A8 2C 1B 00 05 */ cmpwi r27, 5 /* 801E964C 001E65AC 41 80 FE 9C */ blt lbl_801E94E8 /* 801E9650 001E65B0 82 5E 03 60 */ lwz r18, 0x360(r30) /* 801E9654 001E65B4 3A 60 00 00 */ li r19, 0 /* 801E9658 001E65B8 48 00 01 34 */ b lbl_801E978C lbl_801E965C: /* 801E965C 001E65BC 88 72 00 80 */ lbz r3, 0x80(r18) /* 801E9660 001E65C0 3A 73 00 01 */ addi r19, r19, 1 /* 801E9664 001E65C4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801E9668 001E65C8 41 82 01 20 */ beq lbl_801E9788 /* 801E966C 001E65CC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801E9670 001E65D0 41 82 01 18 */ beq lbl_801E9788 /* 801E9674 001E65D4 28 18 00 00 */ cmplwi r24, 0 /* 801E9678 001E65D8 41 82 00 F8 */ beq lbl_801E9770 /* 801E967C 001E65DC C0 D2 00 2C */ lfs f6, 0x2c(r18) /* 801E9680 001E65E0 38 61 00 58 */ addi r3, r1, 0x58 /* 801E9684 001E65E4 C0 FE 03 74 */ lfs f7, 0x374(r30) /* 801E9688 001E65E8 38 81 00 4C */ addi r4, r1, 0x4c /* 801E968C 001E65EC C0 B2 00 1C */ lfs f5, 0x1c(r18) /* 801E9690 001E65F0 38 A1 00 40 */ addi r5, r1, 0x40 /* 801E9694 001E65F4 C0 32 00 0C */ lfs f1, 0xc(r18) /* 801E9698 001E65F8 EC 06 38 2A */ fadds f0, f6, f7 /* 801E969C 001E65FC EC 65 38 2A */ fadds f3, f5, f7 /* 801E96A0 001E6600 EC 81 38 2A */ fadds f4, f1, f7 /* 801E96A4 001E6604 EC 41 38 28 */ fsubs f2, f1, f7 /* 801E96A8 001E6608 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801E96AC 001E660C EC 25 38 28 */ fsubs f1, f5, f7 /* 801E96B0 001E6610 EC 06 38 28 */ fsubs f0, f6, f7 /* 801E96B4 001E6614 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801E96B8 001E6618 D0 61 00 44 */ stfs f3, 0x44(r1) /* 801E96BC 001E661C D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801E96C0 001E6620 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801E96C4 001E6624 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801E96C8 001E6628 48 14 EE 41 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801E96CC 001E662C C0 A1 00 58 */ lfs f5, 0x58(r1) /* 801E96D0 001E6630 28 17 00 00 */ cmplwi r23, 0 /* 801E96D4 001E6634 C0 81 00 5C */ lfs f4, 0x5c(r1) /* 801E96D8 001E6638 C0 61 00 60 */ lfs f3, 0x60(r1) /* 801E96DC 001E663C C0 41 00 64 */ lfs f2, 0x64(r1) /* 801E96E0 001E6640 C0 21 00 68 */ lfs f1, 0x68(r1) /* 801E96E4 001E6644 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801E96E8 001E6648 D0 A1 00 88 */ stfs f5, 0x88(r1) /* 801E96EC 001E664C D0 81 00 8C */ stfs f4, 0x8c(r1) /* 801E96F0 001E6650 D0 61 00 90 */ stfs f3, 0x90(r1) /* 801E96F4 001E6654 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801E96F8 001E6658 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801E96FC 001E665C D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801E9700 001E6660 41 82 00 60 */ beq lbl_801E9760 /* 801E9704 001E6664 80 1E 01 00 */ lwz r0, 0x100(r30) /* 801E9708 001E6668 56 63 07 BE */ clrlwi r3, r19, 0x1e /* 801E970C 001E666C 54 00 07 BE */ clrlwi r0, r0, 0x1e /* 801E9710 001E6670 7C 03 00 00 */ cmpw r3, r0 /* 801E9714 001E6674 40 82 00 5C */ bne lbl_801E9770 /* 801E9718 001E6678 7F C4 F3 78 */ mr r4, r30 /* 801E971C 001E667C 7F E5 FB 78 */ mr r5, r31 /* 801E9720 001E6680 38 61 00 0C */ addi r3, r1, 0xc /* 801E9724 001E6684 38 C1 00 88 */ addi r6, r1, 0x88 /* 801E9728 001E6688 48 00 04 31 */ bl SoftwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox /* 801E972C 001E668C 80 01 00 0C */ lwz r0, 0xc(r1) /* 801E9730 001E6690 90 01 00 1C */ stw r0, 0x1c(r1) /* 801E9734 001E6694 88 12 00 80 */ lbz r0, 0x80(r18) /* 801E9738 001E6698 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E973C 001E669C 41 82 00 34 */ beq lbl_801E9770 /* 801E9740 001E66A0 C0 22 AD AC */ lfs f1, lbl_805ACACC@sda21(r2) /* 801E9744 001E66A4 38 61 00 08 */ addi r3, r1, 8 /* 801E9748 001E66A8 38 92 00 40 */ addi r4, r18, 0x40 /* 801E974C 001E66AC 38 A1 00 1C */ addi r5, r1, 0x1c /* 801E9750 001E66B0 48 17 9B 5D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801E9754 001E66B4 80 01 00 08 */ lwz r0, 8(r1) /* 801E9758 001E66B8 90 12 00 40 */ stw r0, 0x40(r18) /* 801E975C 001E66BC 48 00 00 14 */ b lbl_801E9770 lbl_801E9760: /* 801E9760 001E66C0 7F C3 F3 78 */ mr r3, r30 /* 801E9764 001E66C4 7F E4 FB 78 */ mr r4, r31 /* 801E9768 001E66C8 38 A1 00 88 */ addi r5, r1, 0x88 /* 801E976C 001E66CC 48 00 06 55 */ bl HardwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox lbl_801E9770: /* 801E9770 001E66D0 7F C3 F3 78 */ mr r3, r30 /* 801E9774 001E66D4 7E 44 93 78 */ mr r4, r18 /* 801E9778 001E66D8 7E C6 B3 78 */ mr r6, r22 /* 801E977C 001E66DC 38 A1 00 24 */ addi r5, r1, 0x24 /* 801E9780 001E66E0 38 E1 00 38 */ addi r7, r1, 0x38 /* 801E9784 001E66E4 48 00 00 C9 */ bl RenderBoid__17CWallCrawlerSwarmCFPQ217CWallCrawlerSwarm5CBoidPb lbl_801E9788: /* 801E9788 001E66E8 82 52 00 44 */ lwz r18, 0x44(r18) lbl_801E978C: /* 801E978C 001E66EC 28 12 00 00 */ cmplwi r18, 0 /* 801E9790 001E66F0 40 82 FE CC */ bne lbl_801E965C /* 801E9794 001E66F4 48 12 31 E9 */ bl DisableAllLights__9CGraphicsFv /* 801E9798 001E66F8 7F C3 F3 78 */ mr r3, r30 /* 801E979C 001E66FC 4B E6 B2 2D */ bl DrawTouchBounds__6CActorCFv /* 801E97A0 001E6700 BA 41 00 B8 */ lmw r18, 0xb8(r1) /* 801E97A4 001E6704 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801E97A8 001E6708 7C 08 03 A6 */ mtlr r0 /* 801E97AC 001E670C 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801E97B0 001E6710 4E 80 00 20 */ blr .global AddToRenderer__17CWallCrawlerSwarmCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__17CWallCrawlerSwarmCFRC14CFrustumPlanesRC13CStateManager: /* 801E97B4 001E6714 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801E97B8 001E6718 7C 08 02 A6 */ mflr r0 /* 801E97BC 001E671C 90 01 00 14 */ stw r0, 0x14(r1) /* 801E97C0 001E6720 93 E1 00 0C */ stw r31, 0xc(r1) /* 801E97C4 001E6724 7C BF 2B 78 */ mr r31, r5 /* 801E97C8 001E6728 93 C1 00 08 */ stw r30, 8(r1) /* 801E97CC 001E672C 7C 7E 1B 78 */ mr r30, r3 /* 801E97D0 001E6730 88 03 00 30 */ lbz r0, 0x30(r3) /* 801E97D4 001E6734 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801E97D8 001E6738 41 82 00 5C */ beq lbl_801E9834 /* 801E97DC 001E673C 4B FF E2 99 */ bl RenderParticles__17CWallCrawlerSwarmCFv /* 801E97E0 001E6740 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801E97E4 001E6744 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801E97E8 001E6748 40 82 00 4C */ bne lbl_801E9834 /* 801E97EC 001E674C 7F C3 F3 78 */ mr r3, r30 /* 801E97F0 001E6750 7F E4 FB 78 */ mr r4, r31 /* 801E97F4 001E6754 81 9E 00 00 */ lwz r12, 0(r30) /* 801E97F8 001E6758 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801E97FC 001E675C 7D 89 03 A6 */ mtctr r12 /* 801E9800 001E6760 4E 80 04 21 */ bctrl /* 801E9804 001E6764 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801E9808 001E6768 41 82 00 20 */ beq lbl_801E9828 /* 801E980C 001E676C 7F C3 F3 78 */ mr r3, r30 /* 801E9810 001E6770 7F E4 FB 78 */ mr r4, r31 /* 801E9814 001E6774 81 9E 00 00 */ lwz r12, 0(r30) /* 801E9818 001E6778 81 8C 00 28 */ lwz r12, 0x28(r12) /* 801E981C 001E677C 7D 89 03 A6 */ mtctr r12 /* 801E9820 001E6780 4E 80 04 21 */ bctrl /* 801E9824 001E6784 48 00 00 10 */ b lbl_801E9834 lbl_801E9828: /* 801E9828 001E6788 7F C3 F3 78 */ mr r3, r30 /* 801E982C 001E678C 7F E4 FB 78 */ mr r4, r31 /* 801E9830 001E6790 4B E6 B1 9D */ bl EnsureRendered__6CActorCFRC13CStateManager lbl_801E9834: /* 801E9834 001E6794 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E9838 001E6798 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801E983C 001E679C 83 C1 00 08 */ lwz r30, 8(r1) /* 801E9840 001E67A0 7C 08 03 A6 */ mtlr r0 /* 801E9844 001E67A4 38 21 00 10 */ addi r1, r1, 0x10 /* 801E9848 001E67A8 4E 80 00 20 */ blr .global RenderBoid__17CWallCrawlerSwarmCFPQ217CWallCrawlerSwarm5CBoidPb RenderBoid__17CWallCrawlerSwarmCFPQ217CWallCrawlerSwarm5CBoidPb: /* 801E984C 001E67AC 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801E9850 001E67B0 7C 08 02 A6 */ mflr r0 /* 801E9854 001E67B4 90 01 01 14 */ stw r0, 0x114(r1) /* 801E9858 001E67B8 DB E1 01 00 */ stfd f31, 0x100(r1) /* 801E985C 001E67BC F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801E9860 001E67C0 BE C1 00 D8 */ stmw r22, 0xd8(r1) /* 801E9864 001E67C4 7C 97 23 78 */ mr r23, r4 /* 801E9868 001E67C8 88 84 00 80 */ lbz r4, 0x80(r4) /* 801E986C 001E67CC 7C 76 1B 78 */ mr r22, r3 /* 801E9870 001E67D0 80 77 00 7C */ lwz r3, 0x7c(r23) /* 801E9874 001E67D4 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f /* 801E9878 001E67D8 83 85 00 00 */ lwz r28, 0(r5) /* 801E987C 001E67DC 7C B8 2B 78 */ mr r24, r5 /* 801E9880 001E67E0 7C D9 33 78 */ mr r25, r6 /* 801E9884 001E67E4 7C FA 3B 78 */ mr r26, r7 /* 801E9888 001E67E8 54 7D 97 BE */ rlwinm r29, r3, 0x12, 0x1e, 0x1f /* 801E988C 001E67EC 41 82 00 0C */ beq lbl_801E9898 /* 801E9890 001E67F0 3B A0 00 08 */ li r29, 8 /* 801E9894 001E67F4 48 00 00 30 */ b lbl_801E98C4 lbl_801E9898: /* 801E9898 001E67F8 C0 37 00 48 */ lfs f1, 0x48(r23) /* 801E989C 001E67FC C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E98A0 001E6800 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E98A4 001E6804 40 81 00 0C */ ble lbl_801E98B0 /* 801E98A8 001E6808 3B A0 00 09 */ li r29, 9 /* 801E98AC 001E680C 48 00 00 18 */ b lbl_801E98C4 lbl_801E98B0: /* 801E98B0 001E6810 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f /* 801E98B4 001E6814 40 82 00 0C */ bne lbl_801E98C0 /* 801E98B8 001E6818 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f /* 801E98BC 001E681C 41 82 00 08 */ beq lbl_801E98C4 lbl_801E98C0: /* 801E98C0 001E6820 3B BD 00 04 */ addi r29, r29, 4 lbl_801E98C4: /* 801E98C4 001E6824 57 BE 10 3A */ slwi r30, r29, 2 /* 801E98C8 001E6828 80 96 04 DC */ lwz r4, 0x4dc(r22) /* 801E98CC 001E682C 7C 76 F2 14 */ add r3, r22, r30 /* 801E98D0 001E6830 80 63 04 B4 */ lwz r3, 0x4b4(r3) /* 801E98D4 001E6834 80 63 00 00 */ lwz r3, 0(r3) /* 801E98D8 001E6838 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801E98DC 001E683C 4B F2 B6 81 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 801E98E0 001E6840 38 00 00 01 */ li r0, 1 /* 801E98E4 001E6844 7C 7B 1B 78 */ mr r27, r3 /* 801E98E8 001E6848 7C 04 E8 30 */ slw r4, r0, r29 /* 801E98EC 001E684C 7F 80 20 39 */ and. r0, r28, r4 /* 801E98F0 001E6850 41 82 00 44 */ beq lbl_801E9934 /* 801E98F4 001E6854 7F E3 FB 78 */ mr r3, r31 /* 801E98F8 001E6858 7F 9C 20 78 */ andc r28, r28, r4 /* 801E98FC 001E685C 4B E4 31 65 */ bl BuildPose__9CAnimDataFv /* 801E9900 001E6860 57 A0 18 38 */ slwi r0, r29, 3 /* 801E9904 001E6864 38 80 00 00 */ li r4, 0 /* 801E9908 001E6868 7C 76 02 14 */ add r3, r22, r0 /* 801E990C 001E686C 98 81 00 D0 */ stb r4, 0xd0(r1) /* 801E9910 001E6870 80 E3 04 38 */ lwz r7, 0x438(r3) /* 801E9914 001E6874 7F 63 DB 78 */ mr r3, r27 /* 801E9918 001E6878 38 9F 02 24 */ addi r4, r31, 0x224 /* 801E991C 001E687C 38 A1 00 88 */ addi r5, r1, 0x88 /* 801E9920 001E6880 38 C0 00 00 */ li r6, 0 /* 801E9924 001E6884 48 16 93 D5 */ bl "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" /* 801E9928 001E6888 38 61 00 88 */ addi r3, r1, 0x88 /* 801E992C 001E688C 38 80 FF FF */ li r4, -1 /* 801E9930 001E6890 4B E8 E3 5D */ bl sub_80077c8c lbl_801E9934: /* 801E9934 001E6894 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E9938 001E6898 38 97 00 40 */ addi r4, r23, 0x40 /* 801E993C 001E689C 81 83 00 00 */ lwz r12, 0(r3) /* 801E9940 001E68A0 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801E9944 001E68A4 7D 89 03 A6 */ mtctr r12 /* 801E9948 001E68A8 4E 80 04 21 */ bctrl /* 801E994C 001E68AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E9950 001E68B0 7E E4 BB 78 */ mr r4, r23 /* 801E9954 001E68B4 81 83 00 00 */ lwz r12, 0(r3) /* 801E9958 001E68B8 81 8C 00 30 */ lwz r12, 0x30(r12) /* 801E995C 001E68BC 7D 89 03 A6 */ mtctr r12 /* 801E9960 001E68C0 4E 80 04 21 */ bctrl /* 801E9964 001E68C4 C3 F7 00 48 */ lfs f31, 0x48(r23) /* 801E9968 001E68C8 57 A0 18 38 */ slwi r0, r29, 3 /* 801E996C 001E68CC C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801E9970 001E68D0 7C 96 02 14 */ add r4, r22, r0 /* 801E9974 001E68D4 7C 76 F2 14 */ add r3, r22, r30 /* 801E9978 001E68D8 83 A4 04 38 */ lwz r29, 0x438(r4) /* 801E997C 001E68DC FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801E9980 001E68E0 83 C3 04 88 */ lwz r30, 0x488(r3) /* 801E9984 001E68E4 40 81 00 FC */ ble lbl_801E9A80 /* 801E9988 001E68E8 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 801E998C 001E68EC 40 82 00 F4 */ bne lbl_801E9A80 /* 801E9990 001E68F0 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E9994 001E68F4 38 80 00 00 */ li r4, 0 /* 801E9998 001E68F8 38 00 00 03 */ li r0, 3 /* 801E999C 001E68FC 98 81 00 34 */ stb r4, 0x34(r1) /* 801E99A0 001E6900 FC 40 08 90 */ fmr f2, f1 /* 801E99A4 001E6904 38 61 00 38 */ addi r3, r1, 0x38 /* 801E99A8 001E6908 FC 60 08 90 */ fmr f3, f1 /* 801E99AC 001E690C 98 81 00 35 */ stb r4, 0x35(r1) /* 801E99B0 001E6910 FC 80 08 90 */ fmr f4, f1 /* 801E99B4 001E6914 B0 01 00 36 */ sth r0, 0x36(r1) /* 801E99B8 001E6918 48 17 9A 35 */ bl __ct__6CColorFffff /* 801E99BC 001E691C 7F 63 DB 78 */ mr r3, r27 /* 801E99C0 001E6920 7F A4 EB 78 */ mr r4, r29 /* 801E99C4 001E6924 7F C5 F3 78 */ mr r5, r30 /* 801E99C8 001E6928 38 C1 00 34 */ addi r6, r1, 0x34 /* 801E99CC 001E692C 48 16 95 1D */ bl sub_80352ee8 /* 801E99D0 001E6930 88 1F 00 F0 */ lbz r0, 0xf0(r31) /* 801E99D4 001E6934 28 00 00 00 */ cmplwi r0, 0 /* 801E99D8 001E6938 41 82 01 58 */ beq lbl_801E9B30 /* 801E99DC 001E693C 48 16 05 D1 */ bl White__6CColorFv /* 801E99E0 001E6940 7C 64 1B 78 */ mr r4, r3 /* 801E99E4 001E6944 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801E99E8 001E6948 81 83 00 00 */ lwz r12, 0(r3) /* 801E99EC 001E694C 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 801E99F0 001E6950 7D 89 03 A6 */ mtctr r12 /* 801E99F4 001E6954 4E 80 04 21 */ bctrl /* 801E99F8 001E6958 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E99FC 001E695C 38 00 00 00 */ li r0, 0 /* 801E9A00 001E6960 82 DF 00 EC */ lwz r22, 0xec(r31) /* 801E9A04 001E6964 38 61 00 10 */ addi r3, r1, 0x10 /* 801E9A08 001E6968 EC 01 F8 28 */ fsubs f0, f1, f31 /* 801E9A0C 001E696C FC 40 08 90 */ fmr f2, f1 /* 801E9A10 001E6970 98 01 00 84 */ stb r0, 0x84(r1) /* 801E9A14 001E6974 FC 60 08 90 */ fmr f3, f1 /* 801E9A18 001E6978 FC 80 0F EE */ fsel f4, f0, f31, f1 /* 801E9A1C 001E697C 48 17 99 D1 */ bl __ct__6CColorFffff /* 801E9A20 001E6980 39 20 00 03 */ li r9, 3 /* 801E9A24 001E6984 81 01 00 10 */ lwz r8, 0x10(r1) /* 801E9A28 001E6988 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d /* 801E9A2C 001E698C 39 60 00 05 */ li r11, 5 /* 801E9A30 001E6990 39 40 00 00 */ li r10, 0 /* 801E9A34 001E6994 99 61 00 24 */ stb r11, 0x24(r1) /* 801E9A38 001E6998 60 00 00 03 */ ori r0, r0, 3 /* 801E9A3C 001E699C 7F E3 FB 78 */ mr r3, r31 /* 801E9A40 001E69A0 99 41 00 25 */ stb r10, 0x25(r1) /* 801E9A44 001E69A4 7E C4 B3 78 */ mr r4, r22 /* 801E9A48 001E69A8 38 A1 00 2C */ addi r5, r1, 0x2c /* 801E9A4C 001E69AC 38 C1 00 3C */ addi r6, r1, 0x3c /* 801E9A50 001E69B0 B1 21 00 26 */ sth r9, 0x26(r1) /* 801E9A54 001E69B4 38 E0 00 00 */ li r7, 0 /* 801E9A58 001E69B8 91 01 00 28 */ stw r8, 0x28(r1) /* 801E9A5C 001E69BC 99 61 00 2C */ stb r11, 0x2c(r1) /* 801E9A60 001E69C0 99 41 00 2D */ stb r10, 0x2d(r1) /* 801E9A64 001E69C4 B0 01 00 2E */ sth r0, 0x2e(r1) /* 801E9A68 001E69C8 91 01 00 30 */ stw r8, 0x30(r1) /* 801E9A6C 001E69CC 4B E4 2E B1 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" /* 801E9A70 001E69D0 38 61 00 3C */ addi r3, r1, 0x3c /* 801E9A74 001E69D4 38 80 FF FF */ li r4, -1 /* 801E9A78 001E69D8 4B E8 E2 15 */ bl sub_80077c8c /* 801E9A7C 001E69DC 48 00 00 B4 */ b lbl_801E9B30 lbl_801E9A80: /* 801E9A80 001E69E0 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 801E9A84 001E69E4 41 82 00 98 */ beq lbl_801E9B1C /* 801E9A88 001E69E8 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801E9A8C 001E69EC 38 80 00 00 */ li r4, 0 /* 801E9A90 001E69F0 38 00 00 03 */ li r0, 3 /* 801E9A94 001E69F4 98 81 00 14 */ stb r4, 0x14(r1) /* 801E9A98 001E69F8 FC 40 08 90 */ fmr f2, f1 /* 801E9A9C 001E69FC 38 61 00 18 */ addi r3, r1, 0x18 /* 801E9AA0 001E6A00 FC 60 08 90 */ fmr f3, f1 /* 801E9AA4 001E6A04 98 81 00 15 */ stb r4, 0x15(r1) /* 801E9AA8 001E6A08 FC 80 08 90 */ fmr f4, f1 /* 801E9AAC 001E6A0C B0 01 00 16 */ sth r0, 0x16(r1) /* 801E9AB0 001E6A10 48 17 99 3D */ bl __ct__6CColorFffff /* 801E9AB4 001E6A14 A0 01 00 16 */ lhz r0, 0x16(r1) /* 801E9AB8 001E6A18 39 40 00 00 */ li r10, 0 /* 801E9ABC 001E6A1C 88 61 00 14 */ lbz r3, 0x14(r1) /* 801E9AC0 001E6A20 39 20 00 40 */ li r9, 0x40 /* 801E9AC4 001E6A24 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d /* 801E9AC8 001E6A28 88 A1 00 15 */ lbz r5, 0x15(r1) /* 801E9ACC 001E6A2C 60 07 00 01 */ ori r7, r0, 1 /* 801E9AD0 001E6A30 81 61 00 18 */ lwz r11, 0x18(r1) /* 801E9AD4 001E6A34 38 00 FF FF */ li r0, -1 /* 801E9AD8 001E6A38 98 61 00 1C */ stb r3, 0x1c(r1) /* 801E9ADC 001E6A3C 7F 63 DB 78 */ mr r3, r27 /* 801E9AE0 001E6A40 7F A4 EB 78 */ mr r4, r29 /* 801E9AE4 001E6A44 98 A1 00 1D */ stb r5, 0x1d(r1) /* 801E9AE8 001E6A48 7F C5 F3 78 */ mr r5, r30 /* 801E9AEC 001E6A4C 38 C1 00 0C */ addi r6, r1, 0xc /* 801E9AF0 001E6A50 39 01 00 1C */ addi r8, r1, 0x1c /* 801E9AF4 001E6A54 B0 E1 00 1E */ sth r7, 0x1e(r1) /* 801E9AF8 001E6A58 38 E1 00 08 */ addi r7, r1, 8 /* 801E9AFC 001E6A5C 91 61 00 20 */ stw r11, 0x20(r1) /* 801E9B00 001E6A60 99 41 00 08 */ stb r10, 8(r1) /* 801E9B04 001E6A64 99 41 00 09 */ stb r10, 9(r1) /* 801E9B08 001E6A68 99 41 00 0A */ stb r10, 0xa(r1) /* 801E9B0C 001E6A6C 99 21 00 0B */ stb r9, 0xb(r1) /* 801E9B10 001E6A70 90 01 00 0C */ stw r0, 0xc(r1) /* 801E9B14 001E6A74 4B F2 C8 A1 */ bl RenderThermal__10CModelDataCFPCfPCfRC6CColorRC6CColorRC11CModelFlags /* 801E9B18 001E6A78 48 00 00 18 */ b lbl_801E9B30 lbl_801E9B1C: /* 801E9B1C 001E6A7C 7F 63 DB 78 */ mr r3, r27 /* 801E9B20 001E6A80 7F A4 EB 78 */ mr r4, r29 /* 801E9B24 001E6A84 7F C5 F3 78 */ mr r5, r30 /* 801E9B28 001E6A88 7F 46 D3 78 */ mr r6, r26 /* 801E9B2C 001E6A8C 48 16 93 BD */ bl sub_80352ee8 lbl_801E9B30: /* 801E9B30 001E6A90 93 98 00 00 */ stw r28, 0(r24) /* 801E9B34 001E6A94 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801E9B38 001E6A98 CB E1 01 00 */ lfd f31, 0x100(r1) /* 801E9B3C 001E6A9C BA C1 00 D8 */ lmw r22, 0xd8(r1) /* 801E9B40 001E6AA0 80 01 01 14 */ lwz r0, 0x114(r1) /* 801E9B44 001E6AA4 7C 08 03 A6 */ mtlr r0 /* 801E9B48 001E6AA8 38 21 01 10 */ addi r1, r1, 0x110 /* 801E9B4C 001E6AAC 4E 80 00 20 */ blr .global CanRenderUnsorted__17CWallCrawlerSwarmCFRC13CStateManager CanRenderUnsorted__17CWallCrawlerSwarmCFRC13CStateManager: /* 801E9B50 001E6AB0 38 60 00 01 */ li r3, 1 /* 801E9B54 001E6AB4 4E 80 00 20 */ blr .global SoftwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox SoftwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox: /* 801E9B58 001E6AB8 94 21 FC 70 */ stwu r1, -0x390(r1) /* 801E9B5C 001E6ABC 7C 08 02 A6 */ mflr r0 /* 801E9B60 001E6AC0 90 01 03 94 */ stw r0, 0x394(r1) /* 801E9B64 001E6AC4 DB E1 03 80 */ stfd f31, 0x380(r1) /* 801E9B68 001E6AC8 F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0 /* 801E9B6C 001E6ACC DB C1 03 70 */ stfd f30, 0x370(r1) /* 801E9B70 001E6AD0 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0 /* 801E9B74 001E6AD4 DB A1 03 60 */ stfd f29, 0x360(r1) /* 801E9B78 001E6AD8 F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0 /* 801E9B7C 001E6ADC DB 81 03 50 */ stfd f28, 0x350(r1) /* 801E9B80 001E6AE0 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0 /* 801E9B84 001E6AE4 DB 61 03 40 */ stfd f27, 0x340(r1) /* 801E9B88 001E6AE8 F3 61 03 48 */ psq_st f27, 840(r1), 0, qr0 /* 801E9B8C 001E6AEC 93 E1 03 3C */ stw r31, 0x33c(r1) /* 801E9B90 001E6AF0 93 C1 03 38 */ stw r30, 0x338(r1) /* 801E9B94 001E6AF4 93 A1 03 34 */ stw r29, 0x334(r1) /* 801E9B98 001E6AF8 93 81 03 30 */ stw r28, 0x330(r1) /* 801E9B9C 001E6AFC 3C E0 80 5A */ lis r7, skZero3f@ha /* 801E9BA0 001E6B00 7C 7F 1B 78 */ mr r31, r3 /* 801E9BA4 001E6B04 38 67 66 A0 */ addi r3, r7, skZero3f@l /* 801E9BA8 001E6B08 7C 9E 23 78 */ mr r30, r4 /* 801E9BAC 001E6B0C 80 83 00 00 */ lwz r4, 0(r3) /* 801E9BB0 001E6B10 7C BD 2B 78 */ mr r29, r5 /* 801E9BB4 001E6B14 80 E3 00 04 */ lwz r7, 4(r3) /* 801E9BB8 001E6B18 7C DC 33 78 */ mr r28, r6 /* 801E9BBC 001E6B1C 80 03 00 08 */ lwz r0, 8(r3) /* 801E9BC0 001E6B20 38 61 00 48 */ addi r3, r1, 0x48 /* 801E9BC4 001E6B24 90 81 00 3C */ stw r4, 0x3c(r1) /* 801E9BC8 001E6B28 38 A1 00 3C */ addi r5, r1, 0x3c /* 801E9BCC 001E6B2C C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) /* 801E9BD0 001E6B30 38 80 00 08 */ li r4, 8 /* 801E9BD4 001E6B34 90 E1 00 40 */ stw r7, 0x40(r1) /* 801E9BD8 001E6B38 38 C0 00 04 */ li r6, 4 /* 801E9BDC 001E6B3C 38 E0 00 04 */ li r7, 4 /* 801E9BE0 001E6B40 39 00 00 00 */ li r8, 0 /* 801E9BE4 001E6B44 90 01 00 44 */ stw r0, 0x44(r1) /* 801E9BE8 001E6B48 39 20 00 00 */ li r9, 0 /* 801E9BEC 001E6B4C 39 40 00 00 */ li r10, 0 /* 801E9BF0 001E6B50 4B F1 B5 DD */ bl __ct__12CActorLightsFUi9CVector3fiif /* 801E9BF4 001E6B54 88 01 02 E0 */ lbz r0, 0x2e0(r1) /* 801E9BF8 001E6B58 38 60 00 01 */ li r3, 1 /* 801E9BFC 001E6B5C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E9C00 001E6B60 80 FE 00 04 */ lwz r7, 4(r30) /* 801E9C04 001E6B64 98 01 02 E0 */ stb r0, 0x2e0(r1) /* 801E9C08 001E6B68 38 C0 00 00 */ li r6, 0 /* 801E9C0C 001E6B6C 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801E9C10 001E6B70 54 E3 18 38 */ slwi r3, r7, 3 /* 801E9C14 001E6B74 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801E9C18 001E6B78 80 BD 08 50 */ lwz r5, 0x850(r29) /* 801E9C1C 001E6B7C 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 801E9C20 001E6B80 98 01 02 E0 */ stb r0, 0x2e0(r1) /* 801E9C24 001E6B84 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b /* 801E9C28 001E6B88 38 03 00 04 */ addi r0, r3, 4 /* 801E9C2C 001E6B8C 98 81 02 E0 */ stb r4, 0x2e0(r1) /* 801E9C30 001E6B90 7F A4 EB 78 */ mr r4, r29 /* 801E9C34 001E6B94 7F 86 E3 78 */ mr r6, r28 /* 801E9C38 001E6B98 38 61 00 48 */ addi r3, r1, 0x48 /* 801E9C3C 001E6B9C 80 A5 00 20 */ lwz r5, 0x20(r5) /* 801E9C40 001E6BA0 90 E1 00 18 */ stw r7, 0x18(r1) /* 801E9C44 001E6BA4 7C A5 00 2E */ lwzx r5, r5, r0 /* 801E9C48 001E6BA8 90 E1 00 1C */ stw r7, 0x1c(r1) /* 801E9C4C 001E6BAC 4B F1 A1 75 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox /* 801E9C50 001E6BB0 7F A4 EB 78 */ mr r4, r29 /* 801E9C54 001E6BB4 7F 85 E3 78 */ mr r5, r28 /* 801E9C58 001E6BB8 38 61 00 48 */ addi r3, r1, 0x48 /* 801E9C5C 001E6BBC 4B F1 9A B5 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox /* 801E9C60 001E6BC0 C0 21 02 D0 */ lfs f1, 0x2d0(r1) /* 801E9C64 001E6BC4 38 61 00 14 */ addi r3, r1, 0x14 /* 801E9C68 001E6BC8 C0 41 02 D4 */ lfs f2, 0x2d4(r1) /* 801E9C6C 001E6BCC C0 61 02 D8 */ lfs f3, 0x2d8(r1) /* 801E9C70 001E6BD0 C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801E9C74 001E6BD4 48 17 97 79 */ bl __ct__6CColorFffff /* 801E9C78 001E6BD8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801E9C7C 001E6BDC 7F 84 E3 78 */ mr r4, r28 /* 801E9C80 001E6BE0 38 61 00 30 */ addi r3, r1, 0x30 /* 801E9C84 001E6BE4 90 01 00 20 */ stw r0, 0x20(r1) /* 801E9C88 001E6BE8 48 14 D9 85 */ bl GetCenterPoint__6CAABoxCFv /* 801E9C8C 001E6BEC C3 E1 00 30 */ lfs f31, 0x30(r1) /* 801E9C90 001E6BF0 3B 80 00 00 */ li r28, 0 /* 801E9C94 001E6BF4 C3 C1 00 34 */ lfs f30, 0x34(r1) /* 801E9C98 001E6BF8 C3 A1 00 38 */ lfs f29, 0x38(r1) /* 801E9C9C 001E6BFC C3 62 AD B4 */ lfs f27, lbl_805ACAD4@sda21(r2) /* 801E9CA0 001E6C00 C3 82 AD E8 */ lfs f28, lbl_805ACB08@sda21(r2) /* 801E9CA4 001E6C04 48 00 00 B0 */ b lbl_801E9D54 lbl_801E9CA8: /* 801E9CA8 001E6C08 7F 84 E3 78 */ mr r4, r28 /* 801E9CAC 001E6C0C 38 61 00 48 */ addi r3, r1, 0x48 /* 801E9CB0 001E6C10 4B F1 B3 B5 */ bl GetLight__12CActorLightsCFUi /* 801E9CB4 001E6C14 7C 7E 1B 78 */ mr r30, r3 /* 801E9CB8 001E6C18 38 61 00 24 */ addi r3, r1, 0x24 /* 801E9CBC 001E6C1C C0 5E 00 04 */ lfs f2, 4(r30) /* 801E9CC0 001E6C20 C0 3E 00 08 */ lfs f1, 8(r30) /* 801E9CC4 001E6C24 C0 1E 00 00 */ lfs f0, 0(r30) /* 801E9CC8 001E6C28 EC 42 F0 28 */ fsubs f2, f2, f30 /* 801E9CCC 001E6C2C EC 21 E8 28 */ fsubs f1, f1, f29 /* 801E9CD0 001E6C30 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801E9CD4 001E6C34 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801E9CD8 001E6C38 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801E9CDC 001E6C3C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801E9CE0 001E6C40 48 12 AB D9 */ bl Magnitude__9CVector3fCFv /* 801E9CE4 001E6C44 C0 1E 00 2C */ lfs f0, 0x2c(r30) /* 801E9CE8 001E6C48 C0 7E 00 28 */ lfs f3, 0x28(r30) /* 801E9CEC 001E6C4C C0 5E 00 24 */ lfs f2, 0x24(r30) /* 801E9CF0 001E6C50 EC 81 00 32 */ fmuls f4, f1, f0 /* 801E9CF4 001E6C54 C0 0D 92 50 */ lfs f0, lbl_805A7E10@sda21(r13) /* 801E9CF8 001E6C58 EC 41 10 FA */ fmadds f2, f1, f3, f2 /* 801E9CFC 001E6C5C EC 21 11 3A */ fmadds f1, f1, f4, f2 /* 801E9D00 001E6C60 EC 3B 08 24 */ fdivs f1, f27, f1 /* 801E9D04 001E6C64 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801E9D08 001E6C68 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801E9D0C 001E6C6C 40 80 00 0C */ bge lbl_801E9D18 /* 801E9D10 001E6C70 3B A1 00 10 */ addi r29, r1, 0x10 /* 801E9D14 001E6C74 48 00 00 08 */ b lbl_801E9D1C lbl_801E9D18: /* 801E9D18 001E6C78 3B AD 92 50 */ addi r29, r13, lbl_805A7E10@sda21 lbl_801E9D1C: /* 801E9D1C 001E6C7C 48 16 02 99 */ bl Black__6CColorFv /* 801E9D20 001E6C80 C0 1D 00 00 */ lfs f0, 0(r29) /* 801E9D24 001E6C84 7C 64 1B 78 */ mr r4, r3 /* 801E9D28 001E6C88 38 61 00 08 */ addi r3, r1, 8 /* 801E9D2C 001E6C8C 38 BE 00 18 */ addi r5, r30, 0x18 /* 801E9D30 001E6C90 EC 3C 00 32 */ fmuls f1, f28, f0 /* 801E9D34 001E6C94 48 17 95 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 801E9D38 001E6C98 38 61 00 0C */ addi r3, r1, 0xc /* 801E9D3C 001E6C9C 38 81 00 20 */ addi r4, r1, 0x20 /* 801E9D40 001E6CA0 38 A1 00 08 */ addi r5, r1, 8 /* 801E9D44 001E6CA4 48 17 93 6D */ bl Add__6CColorFRC6CColorRC6CColor /* 801E9D48 001E6CA8 80 01 00 0C */ lwz r0, 0xc(r1) /* 801E9D4C 001E6CAC 3B 9C 00 01 */ addi r28, r28, 1 /* 801E9D50 001E6CB0 90 01 00 20 */ stw r0, 0x20(r1) lbl_801E9D54: /* 801E9D54 001E6CB4 38 61 00 48 */ addi r3, r1, 0x48 /* 801E9D58 001E6CB8 4B F1 B3 59 */ bl GetActiveLightCount__12CActorLightsCFv /* 801E9D5C 001E6CBC 7C 1C 18 40 */ cmplw r28, r3 /* 801E9D60 001E6CC0 41 80 FF 48 */ blt lbl_801E9CA8 /* 801E9D64 001E6CC4 80 01 00 20 */ lwz r0, 0x20(r1) /* 801E9D68 001E6CC8 38 61 00 48 */ addi r3, r1, 0x48 /* 801E9D6C 001E6CCC 38 80 FF FF */ li r4, -1 /* 801E9D70 001E6CD0 90 1F 00 00 */ stw r0, 0(r31) /* 801E9D74 001E6CD4 4B F1 B3 61 */ bl __dt__12CActorLightsFv /* 801E9D78 001E6CD8 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0 /* 801E9D7C 001E6CDC CB E1 03 80 */ lfd f31, 0x380(r1) /* 801E9D80 001E6CE0 E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0 /* 801E9D84 001E6CE4 CB C1 03 70 */ lfd f30, 0x370(r1) /* 801E9D88 001E6CE8 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0 /* 801E9D8C 001E6CEC CB A1 03 60 */ lfd f29, 0x360(r1) /* 801E9D90 001E6CF0 E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0 /* 801E9D94 001E6CF4 CB 81 03 50 */ lfd f28, 0x350(r1) /* 801E9D98 001E6CF8 E3 61 03 48 */ psq_l f27, 840(r1), 0, qr0 /* 801E9D9C 001E6CFC CB 61 03 40 */ lfd f27, 0x340(r1) /* 801E9DA0 001E6D00 83 E1 03 3C */ lwz r31, 0x33c(r1) /* 801E9DA4 001E6D04 83 C1 03 38 */ lwz r30, 0x338(r1) /* 801E9DA8 001E6D08 83 A1 03 34 */ lwz r29, 0x334(r1) /* 801E9DAC 001E6D0C 80 01 03 94 */ lwz r0, 0x394(r1) /* 801E9DB0 001E6D10 83 81 03 30 */ lwz r28, 0x330(r1) /* 801E9DB4 001E6D14 7C 08 03 A6 */ mtlr r0 /* 801E9DB8 001E6D18 38 21 03 90 */ addi r1, r1, 0x390 /* 801E9DBC 001E6D1C 4E 80 00 20 */ blr .global HardwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox HardwareLight__17CWallCrawlerSwarmCFRC13CStateManagerRC6CAABox: /* 801E9DC0 001E6D20 94 21 FC F0 */ stwu r1, -0x310(r1) /* 801E9DC4 001E6D24 7C 08 02 A6 */ mflr r0 /* 801E9DC8 001E6D28 3C C0 80 5A */ lis r6, lbl_805A0004@ha /* 801E9DCC 001E6D2C C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) /* 801E9DD0 001E6D30 90 01 03 14 */ stw r0, 0x314(r1) /* 801E9DD4 001E6D34 39 00 00 00 */ li r8, 0 /* 801E9DD8 001E6D38 39 20 00 00 */ li r9, 0 /* 801E9DDC 001E6D3C 39 40 00 00 */ li r10, 0 /* 801E9DE0 001E6D40 93 E1 03 0C */ stw r31, 0x30c(r1) /* 801E9DE4 001E6D44 7C BF 2B 78 */ mr r31, r5 /* 801E9DE8 001E6D48 38 A1 00 10 */ addi r5, r1, 0x10 /* 801E9DEC 001E6D4C 93 C1 03 08 */ stw r30, 0x308(r1) /* 801E9DF0 001E6D50 7C 9E 23 78 */ mr r30, r4 /* 801E9DF4 001E6D54 93 A1 03 04 */ stw r29, 0x304(r1) /* 801E9DF8 001E6D58 7C 7D 1B 78 */ mr r29, r3 /* 801E9DFC 001E6D5C 38 61 00 1C */ addi r3, r1, 0x1c /* 801E9E00 001E6D60 84 86 66 A0 */ lwzu r4, 0x66a0(r6) /* 801E9E04 001E6D64 80 E6 00 04 */ lwz r7, lbl_805A0004@l(r6) /* 801E9E08 001E6D68 80 06 00 08 */ lwz r0, 8(r6) /* 801E9E0C 001E6D6C 38 C0 00 04 */ li r6, 4 /* 801E9E10 001E6D70 90 81 00 10 */ stw r4, 0x10(r1) /* 801E9E14 001E6D74 38 80 00 08 */ li r4, 8 /* 801E9E18 001E6D78 90 E1 00 14 */ stw r7, 0x14(r1) /* 801E9E1C 001E6D7C 38 E0 00 04 */ li r7, 4 /* 801E9E20 001E6D80 90 01 00 18 */ stw r0, 0x18(r1) /* 801E9E24 001E6D84 4B F1 B3 A9 */ bl __ct__12CActorLightsFUi9CVector3fiif /* 801E9E28 001E6D88 88 01 02 B4 */ lbz r0, 0x2b4(r1) /* 801E9E2C 001E6D8C 38 60 00 01 */ li r3, 1 /* 801E9E30 001E6D90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801E9E34 001E6D94 80 FD 00 04 */ lwz r7, 4(r29) /* 801E9E38 001E6D98 98 01 02 B4 */ stb r0, 0x2b4(r1) /* 801E9E3C 001E6D9C 38 C0 00 00 */ li r6, 0 /* 801E9E40 001E6DA0 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 801E9E44 001E6DA4 54 E3 18 38 */ slwi r3, r7, 3 /* 801E9E48 001E6DA8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801E9E4C 001E6DAC 80 BE 08 50 */ lwz r5, 0x850(r30) /* 801E9E50 001E6DB0 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 801E9E54 001E6DB4 98 01 02 B4 */ stb r0, 0x2b4(r1) /* 801E9E58 001E6DB8 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b /* 801E9E5C 001E6DBC 38 03 00 04 */ addi r0, r3, 4 /* 801E9E60 001E6DC0 98 81 02 B4 */ stb r4, 0x2b4(r1) /* 801E9E64 001E6DC4 7F C4 F3 78 */ mr r4, r30 /* 801E9E68 001E6DC8 7F E6 FB 78 */ mr r6, r31 /* 801E9E6C 001E6DCC 38 61 00 1C */ addi r3, r1, 0x1c /* 801E9E70 001E6DD0 80 A5 00 20 */ lwz r5, 0x20(r5) /* 801E9E74 001E6DD4 90 E1 00 08 */ stw r7, 8(r1) /* 801E9E78 001E6DD8 7C A5 00 2E */ lwzx r5, r5, r0 /* 801E9E7C 001E6DDC 90 E1 00 0C */ stw r7, 0xc(r1) /* 801E9E80 001E6DE0 4B F1 9F 41 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox /* 801E9E84 001E6DE4 7F C4 F3 78 */ mr r4, r30 /* 801E9E88 001E6DE8 7F E5 FB 78 */ mr r5, r31 /* 801E9E8C 001E6DEC 38 61 00 1C */ addi r3, r1, 0x1c /* 801E9E90 001E6DF0 4B F1 98 81 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox /* 801E9E94 001E6DF4 38 61 00 1C */ addi r3, r1, 0x1c /* 801E9E98 001E6DF8 4B F1 AE F1 */ bl ActivateLights__12CActorLightsCFv /* 801E9E9C 001E6DFC 38 61 00 1C */ addi r3, r1, 0x1c /* 801E9EA0 001E6E00 38 80 FF FF */ li r4, -1 /* 801E9EA4 001E6E04 4B F1 B2 31 */ bl __dt__12CActorLightsFv /* 801E9EA8 001E6E08 80 01 03 14 */ lwz r0, 0x314(r1) /* 801E9EAC 001E6E0C 83 E1 03 0C */ lwz r31, 0x30c(r1) /* 801E9EB0 001E6E10 83 C1 03 08 */ lwz r30, 0x308(r1) /* 801E9EB4 001E6E14 83 A1 03 04 */ lwz r29, 0x304(r1) /* 801E9EB8 001E6E18 7C 08 03 A6 */ mtlr r0 /* 801E9EBC 001E6E1C 38 21 03 10 */ addi r1, r1, 0x310 /* 801E9EC0 001E6E20 4E 80 00 20 */ blr .global PreRender__17CWallCrawlerSwarmFR13CStateManagerRC14CFrustumPlanes PreRender__17CWallCrawlerSwarmFR13CStateManagerRC14CFrustumPlanes: /* 801E9EC4 001E6E24 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801E9EC8 001E6E28 7C 08 02 A6 */ mflr r0 /* 801E9ECC 001E6E2C 90 01 00 44 */ stw r0, 0x44(r1) /* 801E9ED0 001E6E30 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 801E9ED4 001E6E34 7C 7F 1B 78 */ mr r31, r3 /* 801E9ED8 001E6E38 7C BB 2B 78 */ mr r27, r5 /* 801E9EDC 001E6E3C 3B A0 00 00 */ li r29, 0 /* 801E9EE0 001E6E40 3B DF 04 B4 */ addi r30, r31, 0x4b4 /* 801E9EE4 001E6E44 3B 80 00 00 */ li r28, 0 lbl_801E9EE8: /* 801E9EE8 001E6E48 80 7E 00 00 */ lwz r3, 0(r30) /* 801E9EEC 001E6E4C 80 63 00 00 */ lwz r3, 0(r3) /* 801E9EF0 001E6E50 80 63 00 10 */ lwz r3, 0x10(r3) /* 801E9EF4 001E6E54 4B E4 2B 11 */ bl PreRender__9CAnimDataFv /* 801E9EF8 001E6E58 3B 9C 00 01 */ addi r28, r28, 1 /* 801E9EFC 001E6E5C 3B DE 00 04 */ addi r30, r30, 4 /* 801E9F00 001E6E60 2C 1C 00 05 */ cmpwi r28, 5 /* 801E9F04 001E6E64 41 80 FF E4 */ blt lbl_801E9EE8 /* 801E9F08 001E6E68 83 DF 01 14 */ lwz r30, 0x114(r31) /* 801E9F0C 001E6E6C 48 00 00 74 */ b lbl_801E9F80 lbl_801E9F10: /* 801E9F10 001E6E70 88 7E 00 80 */ lbz r3, 0x80(r30) /* 801E9F14 001E6E74 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801E9F18 001E6E78 41 82 00 58 */ beq lbl_801E9F70 /* 801E9F1C 001E6E7C C0 22 AD EC */ lfs f1, lbl_805ACB0C@sda21(r2) /* 801E9F20 001E6E80 7F 63 DB 78 */ mr r3, r27 /* 801E9F24 001E6E84 C0 1F 03 74 */ lfs f0, 0x374(r31) /* 801E9F28 001E6E88 38 81 00 14 */ addi r4, r1, 0x14 /* 801E9F2C 001E6E8C C0 7E 00 2C */ lfs f3, 0x2c(r30) /* 801E9F30 001E6E90 C0 5E 00 1C */ lfs f2, 0x1c(r30) /* 801E9F34 001E6E94 EC 21 00 32 */ fmuls f1, f1, f0 /* 801E9F38 001E6E98 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801E9F3C 001E6E9C D0 41 00 0C */ stfs f2, 0xc(r1) /* 801E9F40 001E6EA0 D0 01 00 08 */ stfs f0, 8(r1) /* 801E9F44 001E6EA4 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801E9F48 001E6EA8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801E9F4C 001E6EAC D0 41 00 18 */ stfs f2, 0x18(r1) /* 801E9F50 001E6EB0 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 801E9F54 001E6EB4 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801E9F58 001E6EB8 48 15 B0 D5 */ bl SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere /* 801E9F5C 001E6EBC 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801E9F60 001E6EC0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801E9F64 001E6EC4 3B A0 00 01 */ li r29, 1 /* 801E9F68 001E6EC8 98 1E 00 80 */ stb r0, 0x80(r30) /* 801E9F6C 001E6ECC 48 00 00 10 */ b lbl_801E9F7C lbl_801E9F70: /* 801E9F70 001E6ED0 38 00 00 00 */ li r0, 0 /* 801E9F74 001E6ED4 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 /* 801E9F78 001E6ED8 98 7E 00 80 */ stb r3, 0x80(r30) lbl_801E9F7C: /* 801E9F7C 001E6EDC 3B DE 00 84 */ addi r30, r30, 0x84 lbl_801E9F80: /* 801E9F80 001E6EE0 80 1F 01 0C */ lwz r0, 0x10c(r31) /* 801E9F84 001E6EE4 80 7F 01 14 */ lwz r3, 0x114(r31) /* 801E9F88 001E6EE8 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801E9F8C 001E6EEC 7C 03 02 14 */ add r0, r3, r0 /* 801E9F90 001E6EF0 7C 1E 00 40 */ cmplw r30, r0 /* 801E9F94 001E6EF4 40 82 FF 7C */ bne lbl_801E9F10 /* 801E9F98 001E6EF8 57 A3 06 3E */ clrlwi r3, r29, 0x18 /* 801E9F9C 001E6EFC 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801E9FA0 001E6F00 7C 63 00 34 */ cntlzw r3, r3 /* 801E9FA4 001E6F04 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e /* 801E9FA8 001E6F08 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801E9FAC 001E6F0C BB 61 00 2C */ lmw r27, 0x2c(r1) /* 801E9FB0 001E6F10 80 01 00 44 */ lwz r0, 0x44(r1) /* 801E9FB4 001E6F14 7C 08 03 A6 */ mtlr r0 /* 801E9FB8 001E6F18 38 21 00 40 */ addi r1, r1, 0x40 /* 801E9FBC 001E6F1C 4E 80 00 20 */ blr .global BoxForPosition__17CWallCrawlerSwarmCFiiif BoxForPosition__17CWallCrawlerSwarmCFiiif: /* 801E9FC0 001E6F20 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801E9FC4 001E6F24 7C 08 02 A6 */ mflr r0 /* 801E9FC8 001E6F28 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801E9FCC 001E6F2C DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 801E9FD0 001E6F30 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801E9FD4 001E6F34 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801E9FD8 001E6F38 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801E9FDC 001E6F3C DB A1 00 90 */ stfd f29, 0x90(r1) /* 801E9FE0 001E6F40 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 801E9FE4 001E6F44 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801E9FE8 001E6F48 93 C1 00 88 */ stw r30, 0x88(r1) /* 801E9FEC 001E6F4C 93 A1 00 84 */ stw r29, 0x84(r1) /* 801E9FF0 001E6F50 93 81 00 80 */ stw r28, 0x80(r1) /* 801E9FF4 001E6F54 FF E0 08 90 */ fmr f31, f1 /* 801E9FF8 001E6F58 7C 7C 1B 78 */ mr r28, r3 /* 801E9FFC 001E6F5C 7C BD 2B 78 */ mr r29, r5 /* 801EA000 001E6F60 7C DE 33 78 */ mr r30, r6 /* 801EA004 001E6F64 7C FF 3B 78 */ mr r31, r7 /* 801EA008 001E6F68 38 61 00 20 */ addi r3, r1, 0x20 /* 801EA00C 001E6F6C 48 00 2E 91 */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801EA010 001E6F70 C0 A1 00 20 */ lfs f5, 0x20(r1) /* 801EA014 001E6F74 3D 20 43 30 */ lis r9, 0x4330 /* 801EA018 001E6F78 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801EA01C 001E6F7C 38 9D 00 01 */ addi r4, r29, 1 /* 801EA020 001E6F80 C0 81 00 24 */ lfs f4, 0x24(r1) /* 801EA024 001E6F84 38 7E 00 01 */ addi r3, r30, 1 /* 801EA028 001E6F88 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801EA02C 001E6F8C ED 02 28 28 */ fsubs f8, f2, f5 /* 801EA030 001E6F90 C0 61 00 28 */ lfs f3, 0x28(r1) /* 801EA034 001E6F94 38 1F 00 01 */ addi r0, r31, 1 /* 801EA038 001E6F98 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801EA03C 001E6F9C EC E1 20 28 */ fsubs f7, f1, f4 /* 801EA040 001E6FA0 C1 22 AD D4 */ lfs f9, lbl_805ACAF4@sda21(r2) /* 801EA044 001E6FA4 EC C0 18 28 */ fsubs f6, f0, f3 /* 801EA048 001E6FA8 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 801EA04C 001E6FAC EF C8 48 24 */ fdivs f30, f8, f9 /* 801EA050 001E6FB0 6C 65 80 00 */ xoris r5, r3, 0x8000 /* 801EA054 001E6FB4 6C 08 80 00 */ xoris r8, r0, 0x8000 /* 801EA058 001E6FB8 6F A7 80 00 */ xoris r7, r29, 0x8000 /* 801EA05C 001E6FBC 6F C6 80 00 */ xoris r6, r30, 0x8000 /* 801EA060 001E6FC0 6F E0 80 00 */ xoris r0, r31, 0x8000 /* 801EA064 001E6FC4 EF A7 48 24 */ fdivs f29, f7, f9 /* 801EA068 001E6FC8 90 81 00 54 */ stw r4, 0x54(r1) /* 801EA06C 001E6FCC C9 A2 AD E0 */ lfd f13, lbl_805ACB00@sda21(r2) /* 801EA070 001E6FD0 7F 83 E3 78 */ mr r3, r28 /* 801EA074 001E6FD4 91 21 00 50 */ stw r9, 0x50(r1) /* 801EA078 001E6FD8 38 81 00 14 */ addi r4, r1, 0x14 /* 801EA07C 001E6FDC C9 01 00 50 */ lfd f8, 0x50(r1) /* 801EA080 001E6FE0 EC C6 48 24 */ fdivs f6, f6, f9 /* 801EA084 001E6FE4 90 A1 00 5C */ stw r5, 0x5c(r1) /* 801EA088 001E6FE8 38 A1 00 08 */ addi r5, r1, 8 /* 801EA08C 001E6FEC 91 21 00 58 */ stw r9, 0x58(r1) /* 801EA090 001E6FF0 C8 E1 00 58 */ lfd f7, 0x58(r1) /* 801EA094 001E6FF4 91 01 00 64 */ stw r8, 0x64(r1) /* 801EA098 001E6FF8 91 21 00 60 */ stw r9, 0x60(r1) /* 801EA09C 001E6FFC ED 08 68 28 */ fsubs f8, f8, f13 /* 801EA0A0 001E7000 ED 27 68 28 */ fsubs f9, f7, f13 /* 801EA0A4 001E7004 C8 E1 00 60 */ lfd f7, 0x60(r1) /* 801EA0A8 001E7008 ED 68 2F BA */ fmadds f11, f8, f30, f5 /* 801EA0AC 001E700C 90 E1 00 6C */ stw r7, 0x6c(r1) /* 801EA0B0 001E7010 ED 07 68 28 */ fsubs f8, f7, f13 /* 801EA0B4 001E7014 91 21 00 68 */ stw r9, 0x68(r1) /* 801EA0B8 001E7018 ED 49 27 7A */ fmadds f10, f9, f29, f4 /* 801EA0BC 001E701C ED 9F 58 2A */ fadds f12, f31, f11 /* 801EA0C0 001E7020 C8 E1 00 68 */ lfd f7, 0x68(r1) /* 801EA0C4 001E7024 ED 28 19 BA */ fmadds f9, f8, f6, f3 /* 801EA0C8 001E7028 ED 7F 50 2A */ fadds f11, f31, f10 /* 801EA0CC 001E702C 90 C1 00 74 */ stw r6, 0x74(r1) /* 801EA0D0 001E7030 ED 07 68 28 */ fsubs f8, f7, f13 /* 801EA0D4 001E7034 91 21 00 70 */ stw r9, 0x70(r1) /* 801EA0D8 001E7038 ED 5F 48 2A */ fadds f10, f31, f9 /* 801EA0DC 001E703C C8 E1 00 70 */ lfd f7, 0x70(r1) /* 801EA0E0 001E7040 ED 28 2F BA */ fmadds f9, f8, f30, f5 /* 801EA0E4 001E7044 90 01 00 7C */ stw r0, 0x7c(r1) /* 801EA0E8 001E7048 ED 07 68 28 */ fsubs f8, f7, f13 /* 801EA0EC 001E704C 91 21 00 78 */ stw r9, 0x78(r1) /* 801EA0F0 001E7050 ED 29 F8 28 */ fsubs f9, f9, f31 /* 801EA0F4 001E7054 C8 E1 00 78 */ lfd f7, 0x78(r1) /* 801EA0F8 001E7058 ED 08 27 7A */ fmadds f8, f8, f29, f4 /* 801EA0FC 001E705C D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801EA100 001E7060 EC A7 68 28 */ fsubs f5, f7, f13 /* 801EA104 001E7064 EC E8 F8 28 */ fsubs f7, f8, f31 /* 801EA108 001E7068 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801EA10C 001E706C EC 85 19 BA */ fmadds f4, f5, f6, f3 /* 801EA110 001E7070 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801EA114 001E7074 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801EA118 001E7078 EC 44 F8 28 */ fsubs f2, f4, f31 /* 801EA11C 001E707C D0 21 00 48 */ stfs f1, 0x48(r1) /* 801EA120 001E7080 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801EA124 001E7084 D1 81 00 08 */ stfs f12, 8(r1) /* 801EA128 001E7088 D1 61 00 0C */ stfs f11, 0xc(r1) /* 801EA12C 001E708C D1 41 00 10 */ stfs f10, 0x10(r1) /* 801EA130 001E7090 D1 21 00 14 */ stfs f9, 0x14(r1) /* 801EA134 001E7094 D0 E1 00 18 */ stfs f7, 0x18(r1) /* 801EA138 001E7098 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801EA13C 001E709C 48 14 E3 CD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801EA140 001E70A0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 801EA144 001E70A4 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 801EA148 001E70A8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 801EA14C 001E70AC CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 801EA150 001E70B0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 801EA154 001E70B4 CB A1 00 90 */ lfd f29, 0x90(r1) /* 801EA158 001E70B8 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801EA15C 001E70BC 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801EA160 001E70C0 83 A1 00 84 */ lwz r29, 0x84(r1) /* 801EA164 001E70C4 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801EA168 001E70C8 83 81 00 80 */ lwz r28, 0x80(r1) /* 801EA16C 001E70CC 7C 08 03 A6 */ mtlr r0 /* 801EA170 001E70D0 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801EA174 001E70D4 4E 80 00 20 */ blr .global GetListAt__17CWallCrawlerSwarmFRC9CVector3f GetListAt__17CWallCrawlerSwarmFRC9CVector3f: /* 801EA178 001E70D8 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801EA17C 001E70DC 7C 08 02 A6 */ mflr r0 /* 801EA180 001E70E0 90 01 00 64 */ stw r0, 0x64(r1) /* 801EA184 001E70E4 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801EA188 001E70E8 7C 9F 23 78 */ mr r31, r4 /* 801EA18C 001E70EC 93 C1 00 58 */ stw r30, 0x58(r1) /* 801EA190 001E70F0 7C 7E 1B 78 */ mr r30, r3 /* 801EA194 001E70F4 7F C4 F3 78 */ mr r4, r30 /* 801EA198 001E70F8 38 61 00 08 */ addi r3, r1, 8 /* 801EA19C 001E70FC 48 00 2D 01 */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801EA1A0 001E7100 C1 61 00 0C */ lfs f11, 0xc(r1) /* 801EA1A4 001E7104 C1 01 00 18 */ lfs f8, 0x18(r1) /* 801EA1A8 001E7108 C1 41 00 10 */ lfs f10, 0x10(r1) /* 801EA1AC 001E710C C0 E1 00 1C */ lfs f7, 0x1c(r1) /* 801EA1B0 001E7110 EC 08 58 28 */ fsubs f0, f8, f11 /* 801EA1B4 001E7114 C0 A2 AD D4 */ lfs f5, lbl_805ACAF4@sda21(r2) /* 801EA1B8 001E7118 EC 47 50 28 */ fsubs f2, f7, f10 /* 801EA1BC 001E711C C1 81 00 08 */ lfs f12, 8(r1) /* 801EA1C0 001E7120 C1 21 00 14 */ lfs f9, 0x14(r1) /* 801EA1C4 001E7124 EC 80 28 24 */ fdivs f4, f0, f5 /* 801EA1C8 001E7128 C0 DF 00 04 */ lfs f6, 4(r31) /* 801EA1CC 001E712C C0 7F 00 08 */ lfs f3, 8(r31) /* 801EA1D0 001E7130 C0 3F 00 00 */ lfs f1, 0(r31) /* 801EA1D4 001E7134 D1 81 00 20 */ stfs f12, 0x20(r1) /* 801EA1D8 001E7138 D1 61 00 24 */ stfs f11, 0x24(r1) /* 801EA1DC 001E713C EC 09 60 28 */ fsubs f0, f9, f12 /* 801EA1E0 001E7140 D1 41 00 28 */ stfs f10, 0x28(r1) /* 801EA1E4 001E7144 EC C6 58 28 */ fsubs f6, f6, f11 /* 801EA1E8 001E7148 EC 42 28 24 */ fdivs f2, f2, f5 /* 801EA1EC 001E714C D1 21 00 2C */ stfs f9, 0x2c(r1) /* 801EA1F0 001E7150 D1 01 00 30 */ stfs f8, 0x30(r1) /* 801EA1F4 001E7154 D0 E1 00 34 */ stfs f7, 0x34(r1) /* 801EA1F8 001E7158 EC 63 50 28 */ fsubs f3, f3, f10 /* 801EA1FC 001E715C EC 86 20 24 */ fdivs f4, f6, f4 /* 801EA200 001E7160 EC 43 10 24 */ fdivs f2, f3, f2 /* 801EA204 001E7164 FC 60 20 1E */ fctiwz f3, f4 /* 801EA208 001E7168 FC 40 10 1E */ fctiwz f2, f2 /* 801EA20C 001E716C EC 00 28 24 */ fdivs f0, f0, f5 /* 801EA210 001E7170 D8 61 00 38 */ stfd f3, 0x38(r1) /* 801EA214 001E7174 D8 41 00 40 */ stfd f2, 0x40(r1) /* 801EA218 001E7178 80 01 00 3C */ lwz r0, 0x3c(r1) /* 801EA21C 001E717C 80 81 00 44 */ lwz r4, 0x44(r1) /* 801EA220 001E7180 1C 60 00 05 */ mulli r3, r0, 5 /* 801EA224 001E7184 EC 21 60 28 */ fsubs f1, f1, f12 /* 801EA228 001E7188 1C 04 00 19 */ mulli r0, r4, 0x19 /* 801EA22C 001E718C EC 01 00 24 */ fdivs f0, f1, f0 /* 801EA230 001E7190 7C 63 02 14 */ add r3, r3, r0 /* 801EA234 001E7194 FC 00 00 1E */ fctiwz f0, f0 /* 801EA238 001E7198 D8 01 00 48 */ stfd f0, 0x48(r1) /* 801EA23C 001E719C 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801EA240 001E71A0 7C 60 1A 15 */ add. r3, r0, r3 /* 801EA244 001E71A4 41 80 00 0C */ blt lbl_801EA250 /* 801EA248 001E71A8 2C 03 00 7D */ cmpwi r3, 0x7d /* 801EA24C 001E71AC 41 80 00 0C */ blt lbl_801EA258 lbl_801EA250: /* 801EA250 001E71B0 80 7E 03 60 */ lwz r3, 0x360(r30) /* 801EA254 001E71B4 48 00 00 10 */ b lbl_801EA264 lbl_801EA258: /* 801EA258 001E71B8 54 60 10 3A */ slwi r0, r3, 2 /* 801EA25C 001E71BC 7C 7E 02 14 */ add r3, r30, r0 /* 801EA260 001E71C0 80 63 01 6C */ lwz r3, 0x16c(r3) lbl_801EA264: /* 801EA264 001E71C4 80 01 00 64 */ lwz r0, 0x64(r1) /* 801EA268 001E71C8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801EA26C 001E71CC 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801EA270 001E71D0 7C 08 03 A6 */ mtlr r0 /* 801EA274 001E71D4 38 21 00 60 */ addi r1, r1, 0x60 /* 801EA278 001E71D8 4E 80 00 20 */ blr .global UpdatePartition__17CWallCrawlerSwarmFv UpdatePartition__17CWallCrawlerSwarmFv: /* 801EA27C 001E71DC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801EA280 001E71E0 7C 08 02 A6 */ mflr r0 /* 801EA284 001E71E4 90 01 00 74 */ stw r0, 0x74(r1) /* 801EA288 001E71E8 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801EA28C 001E71EC 93 C1 00 68 */ stw r30, 0x68(r1) /* 801EA290 001E71F0 7C 7E 1B 78 */ mr r30, r3 /* 801EA294 001E71F4 38 60 00 00 */ li r3, 0 /* 801EA298 001E71F8 80 BE 01 68 */ lwz r5, 0x168(r30) /* 801EA29C 001E71FC 3B FE 01 6C */ addi r31, r30, 0x16c /* 801EA2A0 001E7200 2C 05 00 00 */ cmpwi r5, 0 /* 801EA2A4 001E7204 40 81 00 40 */ ble lbl_801EA2E4 /* 801EA2A8 001E7208 2C 05 00 08 */ cmpwi r5, 8 /* 801EA2AC 001E720C 38 85 FF F8 */ addi r4, r5, -8 /* 801EA2B0 001E7210 40 81 00 20 */ ble lbl_801EA2D0 /* 801EA2B4 001E7214 38 04 00 07 */ addi r0, r4, 7 /* 801EA2B8 001E7218 54 00 E8 FE */ srwi r0, r0, 3 /* 801EA2BC 001E721C 7C 09 03 A6 */ mtctr r0 /* 801EA2C0 001E7220 2C 04 00 00 */ cmpwi r4, 0 /* 801EA2C4 001E7224 40 81 00 0C */ ble lbl_801EA2D0 lbl_801EA2C8: /* 801EA2C8 001E7228 38 63 00 08 */ addi r3, r3, 8 /* 801EA2CC 001E722C 42 00 FF FC */ bdnz lbl_801EA2C8 lbl_801EA2D0: /* 801EA2D0 001E7230 7C 03 28 50 */ subf r0, r3, r5 /* 801EA2D4 001E7234 7C 09 03 A6 */ mtctr r0 /* 801EA2D8 001E7238 7C 03 28 00 */ cmpw r3, r5 /* 801EA2DC 001E723C 40 80 00 08 */ bge lbl_801EA2E4 lbl_801EA2E0: /* 801EA2E0 001E7240 42 00 00 00 */ bdnz lbl_801EA2E0 lbl_801EA2E4: /* 801EA2E4 001E7244 38 80 00 00 */ li r4, 0 /* 801EA2E8 001E7248 38 00 00 19 */ li r0, 0x19 /* 801EA2EC 001E724C 90 9E 01 68 */ stw r4, 0x168(r30) /* 801EA2F0 001E7250 38 A0 00 00 */ li r5, 0 /* 801EA2F4 001E7254 7C 09 03 A6 */ mtctr r0 lbl_801EA2F8: /* 801EA2F8 001E7258 80 1E 01 68 */ lwz r0, 0x168(r30) /* 801EA2FC 001E725C 54 00 10 3A */ slwi r0, r0, 2 /* 801EA300 001E7260 7C 7F 02 15 */ add. r3, r31, r0 /* 801EA304 001E7264 41 82 00 08 */ beq lbl_801EA30C /* 801EA308 001E7268 90 83 00 00 */ stw r4, 0(r3) lbl_801EA30C: /* 801EA30C 001E726C 80 7E 01 68 */ lwz r3, 0x168(r30) /* 801EA310 001E7270 38 03 00 01 */ addi r0, r3, 1 /* 801EA314 001E7274 90 1E 01 68 */ stw r0, 0x168(r30) /* 801EA318 001E7278 80 1E 01 68 */ lwz r0, 0x168(r30) /* 801EA31C 001E727C 54 00 10 3A */ slwi r0, r0, 2 /* 801EA320 001E7280 7C 7F 02 15 */ add. r3, r31, r0 /* 801EA324 001E7284 41 82 00 08 */ beq lbl_801EA32C /* 801EA328 001E7288 90 83 00 00 */ stw r4, 0(r3) lbl_801EA32C: /* 801EA32C 001E728C 80 7E 01 68 */ lwz r3, 0x168(r30) /* 801EA330 001E7290 38 03 00 01 */ addi r0, r3, 1 /* 801EA334 001E7294 90 1E 01 68 */ stw r0, 0x168(r30) /* 801EA338 001E7298 80 1E 01 68 */ lwz r0, 0x168(r30) /* 801EA33C 001E729C 54 00 10 3A */ slwi r0, r0, 2 /* 801EA340 001E72A0 7C 7F 02 15 */ add. r3, r31, r0 /* 801EA344 001E72A4 41 82 00 08 */ beq lbl_801EA34C /* 801EA348 001E72A8 90 83 00 00 */ stw r4, 0(r3) lbl_801EA34C: /* 801EA34C 001E72AC 80 7E 01 68 */ lwz r3, 0x168(r30) /* 801EA350 001E72B0 38 03 00 01 */ addi r0, r3, 1 /* 801EA354 001E72B4 90 1E 01 68 */ stw r0, 0x168(r30) /* 801EA358 001E72B8 80 1E 01 68 */ lwz r0, 0x168(r30) /* 801EA35C 001E72BC 54 00 10 3A */ slwi r0, r0, 2 /* 801EA360 001E72C0 7C 7F 02 15 */ add. r3, r31, r0 /* 801EA364 001E72C4 41 82 00 08 */ beq lbl_801EA36C /* 801EA368 001E72C8 90 83 00 00 */ stw r4, 0(r3) lbl_801EA36C: /* 801EA36C 001E72CC 80 7E 01 68 */ lwz r3, 0x168(r30) /* 801EA370 001E72D0 38 03 00 01 */ addi r0, r3, 1 /* 801EA374 001E72D4 90 1E 01 68 */ stw r0, 0x168(r30) /* 801EA378 001E72D8 80 1E 01 68 */ lwz r0, 0x168(r30) /* 801EA37C 001E72DC 54 00 10 3A */ slwi r0, r0, 2 /* 801EA380 001E72E0 7C 7F 02 15 */ add. r3, r31, r0 /* 801EA384 001E72E4 41 82 00 08 */ beq lbl_801EA38C /* 801EA388 001E72E8 90 83 00 00 */ stw r4, 0(r3) lbl_801EA38C: /* 801EA38C 001E72EC 80 7E 01 68 */ lwz r3, 0x168(r30) /* 801EA390 001E72F0 38 A5 00 04 */ addi r5, r5, 4 /* 801EA394 001E72F4 38 03 00 01 */ addi r0, r3, 1 /* 801EA398 001E72F8 90 1E 01 68 */ stw r0, 0x168(r30) /* 801EA39C 001E72FC 42 00 FF 5C */ bdnz lbl_801EA2F8 /* 801EA3A0 001E7300 38 00 00 00 */ li r0, 0 /* 801EA3A4 001E7304 7F C4 F3 78 */ mr r4, r30 /* 801EA3A8 001E7308 90 1E 03 60 */ stw r0, 0x360(r30) /* 801EA3AC 001E730C 38 61 00 14 */ addi r3, r1, 0x14 /* 801EA3B0 001E7310 48 00 2A ED */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801EA3B4 001E7314 C1 21 00 14 */ lfs f9, 0x14(r1) /* 801EA3B8 001E7318 C0 C1 00 20 */ lfs f6, 0x20(r1) /* 801EA3BC 001E731C C1 01 00 18 */ lfs f8, 0x18(r1) /* 801EA3C0 001E7320 C0 A1 00 24 */ lfs f5, 0x24(r1) /* 801EA3C4 001E7324 EC 66 48 28 */ fsubs f3, f6, f9 /* 801EA3C8 001E7328 C0 E1 00 1C */ lfs f7, 0x1c(r1) /* 801EA3CC 001E732C C0 81 00 28 */ lfs f4, 0x28(r1) /* 801EA3D0 001E7330 EC 25 40 28 */ fsubs f1, f5, f8 /* 801EA3D4 001E7334 C0 42 AD D4 */ lfs f2, lbl_805ACAF4@sda21(r2) /* 801EA3D8 001E7338 EC 04 38 28 */ fsubs f0, f4, f7 /* 801EA3DC 001E733C D1 21 00 2C */ stfs f9, 0x2c(r1) /* 801EA3E0 001E7340 ED 23 10 24 */ fdivs f9, f3, f2 /* 801EA3E4 001E7344 80 DE 01 14 */ lwz r6, 0x114(r30) /* 801EA3E8 001E7348 D1 01 00 30 */ stfs f8, 0x30(r1) /* 801EA3EC 001E734C D0 E1 00 34 */ stfs f7, 0x34(r1) /* 801EA3F0 001E7350 D0 C1 00 38 */ stfs f6, 0x38(r1) /* 801EA3F4 001E7354 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801EA3F8 001E7358 EC C1 10 24 */ fdivs f6, f1, f2 /* 801EA3FC 001E735C D0 81 00 40 */ stfs f4, 0x40(r1) /* 801EA400 001E7360 EC E0 10 24 */ fdivs f7, f0, f2 /* 801EA404 001E7364 48 00 00 E0 */ b lbl_801EA4E4 lbl_801EA408: /* 801EA408 001E7368 88 06 00 80 */ lbz r0, 0x80(r6) /* 801EA40C 001E736C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EA410 001E7370 41 82 00 D0 */ beq lbl_801EA4E0 /* 801EA414 001E7374 C0 A6 00 2C */ lfs f5, 0x2c(r6) /* 801EA418 001E7378 C0 86 00 1C */ lfs f4, 0x1c(r6) /* 801EA41C 001E737C C0 21 00 30 */ lfs f1, 0x30(r1) /* 801EA420 001E7380 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801EA424 001E7384 EC 24 08 28 */ fsubs f1, f4, f1 /* 801EA428 001E7388 C0 66 00 0C */ lfs f3, 0xc(r6) /* 801EA42C 001E738C EC 05 00 28 */ fsubs f0, f5, f0 /* 801EA430 001E7390 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801EA434 001E7394 D0 61 00 08 */ stfs f3, 8(r1) /* 801EA438 001E7398 EC 21 30 24 */ fdivs f1, f1, f6 /* 801EA43C 001E739C D0 81 00 0C */ stfs f4, 0xc(r1) /* 801EA440 001E73A0 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801EA444 001E73A4 EC 00 38 24 */ fdivs f0, f0, f7 /* 801EA448 001E73A8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801EA44C 001E73AC FC 20 08 1E */ fctiwz f1, f1 /* 801EA450 001E73B0 FC 00 00 1E */ fctiwz f0, f0 /* 801EA454 001E73B4 EC 42 48 24 */ fdivs f2, f2, f9 /* 801EA458 001E73B8 D8 21 00 50 */ stfd f1, 0x50(r1) /* 801EA45C 001E73BC D8 01 00 58 */ stfd f0, 0x58(r1) /* 801EA460 001E73C0 80 81 00 54 */ lwz r4, 0x54(r1) /* 801EA464 001E73C4 80 A1 00 5C */ lwz r5, 0x5c(r1) /* 801EA468 001E73C8 1C 64 00 05 */ mulli r3, r4, 5 /* 801EA46C 001E73CC FC 00 10 1E */ fctiwz f0, f2 /* 801EA470 001E73D0 1C 05 00 19 */ mulli r0, r5, 0x19 /* 801EA474 001E73D4 D8 01 00 48 */ stfd f0, 0x48(r1) /* 801EA478 001E73D8 7C 63 02 14 */ add r3, r3, r0 /* 801EA47C 001E73DC 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801EA480 001E73E0 7C 60 1A 15 */ add. r3, r0, r3 /* 801EA484 001E73E4 41 80 00 3C */ blt lbl_801EA4C0 /* 801EA488 001E73E8 2C 03 00 7D */ cmpwi r3, 0x7d /* 801EA48C 001E73EC 40 80 00 34 */ bge lbl_801EA4C0 /* 801EA490 001E73F0 2C 00 00 00 */ cmpwi r0, 0 /* 801EA494 001E73F4 41 80 00 2C */ blt lbl_801EA4C0 /* 801EA498 001E73F8 2C 00 00 05 */ cmpwi r0, 5 /* 801EA49C 001E73FC 40 80 00 24 */ bge lbl_801EA4C0 /* 801EA4A0 001E7400 2C 04 00 00 */ cmpwi r4, 0 /* 801EA4A4 001E7404 41 80 00 1C */ blt lbl_801EA4C0 /* 801EA4A8 001E7408 2C 04 00 05 */ cmpwi r4, 5 /* 801EA4AC 001E740C 40 80 00 14 */ bge lbl_801EA4C0 /* 801EA4B0 001E7410 2C 05 00 00 */ cmpwi r5, 0 /* 801EA4B4 001E7414 41 80 00 0C */ blt lbl_801EA4C0 /* 801EA4B8 001E7418 2C 05 00 05 */ cmpwi r5, 5 /* 801EA4BC 001E741C 41 80 00 14 */ blt lbl_801EA4D0 lbl_801EA4C0: /* 801EA4C0 001E7420 80 1E 03 60 */ lwz r0, 0x360(r30) /* 801EA4C4 001E7424 90 06 00 44 */ stw r0, 0x44(r6) /* 801EA4C8 001E7428 90 DE 03 60 */ stw r6, 0x360(r30) /* 801EA4CC 001E742C 48 00 00 14 */ b lbl_801EA4E0 lbl_801EA4D0: /* 801EA4D0 001E7430 54 63 10 3A */ slwi r3, r3, 2 /* 801EA4D4 001E7434 7C 1F 18 2E */ lwzx r0, r31, r3 /* 801EA4D8 001E7438 90 06 00 44 */ stw r0, 0x44(r6) /* 801EA4DC 001E743C 7C DF 19 2E */ stwx r6, r31, r3 lbl_801EA4E0: /* 801EA4E0 001E7440 38 C6 00 84 */ addi r6, r6, 0x84 lbl_801EA4E4: /* 801EA4E4 001E7444 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EA4E8 001E7448 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801EA4EC 001E744C 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EA4F0 001E7450 7C 03 02 14 */ add r0, r3, r0 /* 801EA4F4 001E7454 7C 06 00 40 */ cmplw r6, r0 /* 801EA4F8 001E7458 40 82 FF 10 */ bne lbl_801EA408 /* 801EA4FC 001E745C 80 01 00 74 */ lwz r0, 0x74(r1) /* 801EA500 001E7460 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801EA504 001E7464 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801EA508 001E7468 7C 08 03 A6 */ mtlr r0 /* 801EA50C 001E746C 38 21 00 70 */ addi r1, r1, 0x70 /* 801EA510 001E7470 4E 80 00 20 */ blr .global LaunchBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3f LaunchBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3f: /* 801EA514 001E7474 94 21 FE C0 */ stwu r1, -0x140(r1) /* 801EA518 001E7478 7C 08 02 A6 */ mflr r0 /* 801EA51C 001E747C 90 01 01 44 */ stw r0, 0x144(r1) /* 801EA520 001E7480 DB E1 01 30 */ stfd f31, 0x130(r1) /* 801EA524 001E7484 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 801EA528 001E7488 DB C1 01 20 */ stfd f30, 0x120(r1) /* 801EA52C 001E748C F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 /* 801EA530 001E7490 DB A1 01 10 */ stfd f29, 0x110(r1) /* 801EA534 001E7494 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 /* 801EA538 001E7498 DB 81 01 00 */ stfd f28, 0x100(r1) /* 801EA53C 001E749C F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 /* 801EA540 001E74A0 DB 61 00 F0 */ stfd f27, 0xf0(r1) /* 801EA544 001E74A4 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 /* 801EA548 001E74A8 DB 41 00 E0 */ stfd f26, 0xe0(r1) /* 801EA54C 001E74AC F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 /* 801EA550 001E74B0 DB 21 00 D0 */ stfd f25, 0xd0(r1) /* 801EA554 001E74B4 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 /* 801EA558 001E74B8 DB 01 00 C0 */ stfd f24, 0xc0(r1) /* 801EA55C 001E74BC F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 /* 801EA560 001E74C0 93 E1 00 BC */ stw r31, 0xbc(r1) /* 801EA564 001E74C4 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 801EA568 001E74C8 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 801EA56C 001E74CC 7C 9F 23 78 */ mr r31, r4 /* 801EA570 001E74D0 88 0D A4 C8 */ lbz r0, lbl_805A9088@sda21(r13) /* 801EA574 001E74D4 C0 44 00 2C */ lfs f2, 0x2c(r4) /* 801EA578 001E74D8 7C 7E 1B 78 */ mr r30, r3 /* 801EA57C 001E74DC C0 24 00 1C */ lfs f1, 0x1c(r4) /* 801EA580 001E74E0 7C 00 07 75 */ extsb. r0, r0 /* 801EA584 001E74E4 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801EA588 001E74E8 7C BD 2B 78 */ mr r29, r5 /* 801EA58C 001E74EC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801EA590 001E74F0 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801EA594 001E74F4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801EA598 001E74F8 40 82 00 28 */ bne lbl_801EA5C0 /* 801EA59C 001E74FC C0 22 AD C8 */ lfs f1, lbl_805ACAE8@sda21(r2) /* 801EA5A0 001E7500 C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) /* 801EA5A4 001E7504 EC 21 00 24 */ fdivs f1, f1, f0 /* 801EA5A8 001E7508 48 12 AF 59 */ bl SqrtF__5CMathFf /* 801EA5AC 001E750C C0 02 AD EC */ lfs f0, lbl_805ACB0C@sda21(r2) /* 801EA5B0 001E7510 38 00 00 01 */ li r0, 1 /* 801EA5B4 001E7514 98 0D A4 C8 */ stb r0, lbl_805A9088@sda21(r13) /* 801EA5B8 001E7518 EC 00 00 72 */ fmuls f0, f0, f1 /* 801EA5BC 001E751C D0 0D A4 C4 */ stfs f0, lbl_805A9084@sda21(r13) lbl_801EA5C0: /* 801EA5C0 001E7520 88 0D A4 D0 */ lbz r0, lbl_805A9090@sda21(r13) /* 801EA5C4 001E7524 7C 00 07 75 */ extsb. r0, r0 /* 801EA5C8 001E7528 40 82 00 1C */ bne lbl_801EA5E4 /* 801EA5CC 001E752C C0 22 AD F0 */ lfs f1, lbl_805ACB10@sda21(r2) /* 801EA5D0 001E7530 38 00 00 01 */ li r0, 1 /* 801EA5D4 001E7534 C0 0D A4 C4 */ lfs f0, lbl_805A9084@sda21(r13) /* 801EA5D8 001E7538 98 0D A4 D0 */ stb r0, lbl_805A9090@sda21(r13) /* 801EA5DC 001E753C EC 01 00 24 */ fdivs f0, f1, f0 /* 801EA5E0 001E7540 D0 0D A4 CC */ stfs f0, lbl_805A908C@sda21(r13) lbl_801EA5E4: /* 801EA5E4 001E7544 C0 3D 00 04 */ lfs f1, 4(r29) /* 801EA5E8 001E7548 38 61 00 30 */ addi r3, r1, 0x30 /* 801EA5EC 001E754C C0 01 00 40 */ lfs f0, 0x40(r1) /* 801EA5F0 001E7550 C0 62 96 A0 */ lfs f3, lbl_805AB3C0@sda21(r2) /* 801EA5F4 001E7554 EC 81 00 28 */ fsubs f4, f1, f0 /* 801EA5F8 001E7558 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EA5FC 001E755C C0 5D 00 00 */ lfs f2, 0(r29) /* 801EA600 001E7560 FF 40 18 50 */ fneg f26, f3 /* 801EA604 001E7564 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801EA608 001E7568 C0 7D 00 08 */ lfs f3, 8(r29) /* 801EA60C 001E756C EC 22 08 28 */ fsubs f1, f2, f1 /* 801EA610 001E7570 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801EA614 001E7574 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801EA618 001E7578 EF C3 10 28 */ fsubs f30, f3, f2 /* 801EA61C 001E757C D0 21 00 30 */ stfs f1, 0x30(r1) /* 801EA620 001E7580 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801EA624 001E7584 48 12 A2 95 */ bl Magnitude__9CVector3fCFv /* 801EA628 001E7588 FF E0 08 90 */ fmr f31, f1 /* 801EA62C 001E758C 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801EA630 001E7590 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 801EA634 001E7594 7F E3 FB 78 */ mr r3, r31 /* 801EA638 001E7598 48 12 85 71 */ bl SetRotation__12CTransform4fFRC12CTransform4f /* 801EA63C 001E759C C0 02 AD DC */ lfs f0, lbl_805ACAFC@sda21(r2) /* 801EA640 001E75A0 38 61 00 18 */ addi r3, r1, 0x18 /* 801EA644 001E75A4 38 81 00 30 */ addi r4, r1, 0x30 /* 801EA648 001E75A8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801EA64C 001E75AC C0 5F 00 24 */ lfs f2, 0x24(r31) /* 801EA650 001E75B0 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801EA654 001E75B4 C0 1F 00 04 */ lfs f0, 4(r31) /* 801EA658 001E75B8 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801EA65C 001E75BC D0 21 00 28 */ stfs f1, 0x28(r1) /* 801EA660 001E75C0 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801EA664 001E75C4 48 12 A1 ED */ bl AsNormalized__9CVector3fCFv /* 801EA668 001E75C8 38 61 00 48 */ addi r3, r1, 0x48 /* 801EA66C 001E75CC 38 81 00 24 */ addi r4, r1, 0x24 /* 801EA670 001E75D0 38 A1 00 18 */ addi r5, r1, 0x18 /* 801EA674 001E75D4 38 C1 00 0C */ addi r6, r1, 0xc /* 801EA678 001E75D8 48 00 47 35 */ bl LookAt__F9CVector3f9CVector3ff /* 801EA67C 001E75DC 7F E5 FB 78 */ mr r5, r31 /* 801EA680 001E75E0 38 61 00 78 */ addi r3, r1, 0x78 /* 801EA684 001E75E4 38 81 00 48 */ addi r4, r1, 0x48 /* 801EA688 001E75E8 48 12 88 A9 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801EA68C 001E75EC 7F E3 FB 78 */ mr r3, r31 /* 801EA690 001E75F0 38 81 00 78 */ addi r4, r1, 0x78 /* 801EA694 001E75F4 48 12 84 AD */ bl __as__12CTransform4fFRC12CTransform4f /* 801EA698 001E75F8 C0 4D A4 CC */ lfs f2, lbl_805A908C@sda21(r13) /* 801EA69C 001E75FC C0 1F 00 04 */ lfs f0, 4(r31) /* 801EA6A0 001E7600 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801EA6A4 001E7604 EF A2 00 32 */ fmuls f29, f2, f0 /* 801EA6A8 001E7608 C0 02 AD B0 */ lfs f0, lbl_805ACAD0@sda21(r2) /* 801EA6AC 001E760C C0 82 AD F4 */ lfs f4, lbl_805ACB14@sda21(r2) /* 801EA6B0 001E7610 EF 82 00 72 */ fmuls f28, f2, f1 /* 801EA6B4 001E7614 EF 60 00 B2 */ fmuls f27, f0, f2 /* 801EA6B8 001E7618 FC 1F 20 40 */ fcmpo cr0, f31, f4 /* 801EA6BC 001E761C 40 81 00 D4 */ ble lbl_801EA790 /* 801EA6C0 001E7620 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EA6C4 001E7624 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801EA6C8 001E7628 EC A0 F8 24 */ fdivs f5, f0, f31 /* 801EA6CC 001E762C C0 61 00 30 */ lfs f3, 0x30(r1) /* 801EA6D0 001E7630 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801EA6D4 001E7634 EC 41 01 72 */ fmuls f2, f1, f5 /* 801EA6D8 001E7638 EC 63 01 72 */ fmuls f3, f3, f5 /* 801EA6DC 001E763C EC 20 01 72 */ fmuls f1, f0, f5 /* 801EA6E0 001E7640 EC 02 07 32 */ fmuls f0, f2, f28 /* 801EA6E4 001E7644 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801EA6E8 001E7648 D0 61 00 30 */ stfs f3, 0x30(r1) /* 801EA6EC 001E764C EC 03 07 7A */ fmadds f0, f3, f29, f0 /* 801EA6F0 001E7650 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801EA6F4 001E7654 EF 01 06 FA */ fmadds f24, f1, f27, f0 /* 801EA6F8 001E7658 FC 18 20 40 */ fcmpo cr0, f24, f4 /* 801EA6FC 001E765C 40 81 00 94 */ ble lbl_801EA790 /* 801EA700 001E7660 C3 22 AD A0 */ lfs f25, lbl_805ACAC0@sda21(r2) /* 801EA704 001E7664 FC 1E C8 40 */ fcmpo cr0, f30, f25 /* 801EA708 001E7668 7C 00 00 26 */ mfcr r0 /* 801EA70C 001E766C FC 20 D0 90 */ fmr f1, f26 /* 801EA710 001E7670 FC 40 D8 90 */ fmr f2, f27 /* 801EA714 001E7674 54 1D 0F FE */ srwi r29, r0, 0x1f /* 801EA718 001E7678 FC 60 F0 50 */ fneg f3, f30 /* 801EA71C 001E767C 38 61 00 14 */ addi r3, r1, 0x14 /* 801EA720 001E7680 38 81 00 10 */ addi r4, r1, 0x10 /* 801EA724 001E7684 4B F5 3C D1 */ bl SolveQuadratic__18CSteeringBehaviorsFfffRfRf /* 801EA728 001E7688 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EA72C 001E768C 41 82 00 18 */ beq lbl_801EA744 /* 801EA730 001E7690 28 1D 00 00 */ cmplwi r29, 0 /* 801EA734 001E7694 41 82 00 0C */ beq lbl_801EA740 /* 801EA738 001E7698 C3 21 00 10 */ lfs f25, 0x10(r1) /* 801EA73C 001E769C 48 00 00 08 */ b lbl_801EA744 lbl_801EA740: /* 801EA740 001E76A0 C3 21 00 14 */ lfs f25, 0x14(r1) lbl_801EA744: /* 801EA744 001E76A4 28 1D 00 00 */ cmplwi r29, 0 /* 801EA748 001E76A8 40 82 00 0C */ bne lbl_801EA754 /* 801EA74C 001E76AC EC 1F C0 24 */ fdivs f0, f31, f24 /* 801EA750 001E76B0 EF 39 00 2A */ fadds f25, f25, f0 lbl_801EA754: /* 801EA754 001E76B4 C0 02 AD F8 */ lfs f0, lbl_805ACB18@sda21(r2) /* 801EA758 001E76B8 FC 19 00 40 */ fcmpo cr0, f25, f0 /* 801EA75C 001E76BC 40 80 00 34 */ bge lbl_801EA790 /* 801EA760 001E76C0 EC BF C8 24 */ fdivs f5, f31, f25 /* 801EA764 001E76C4 C0 41 00 30 */ lfs f2, 0x30(r1) /* 801EA768 001E76C8 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801EA76C 001E76CC C0 22 AD B0 */ lfs f1, lbl_805ACAD0@sda21(r2) /* 801EA770 001E76D0 C0 62 AD FC */ lfs f3, lbl_805ACB1C@sda21(r2) /* 801EA774 001E76D4 EC 85 00 B2 */ fmuls f4, f5, f2 /* 801EA778 001E76D8 EC 45 00 32 */ fmuls f2, f5, f0 /* 801EA77C 001E76DC EC 1E C8 24 */ fdivs f0, f30, f25 /* 801EA780 001E76E0 EC 21 06 B2 */ fmuls f1, f1, f26 /* 801EA784 001E76E4 EF A3 01 32 */ fmuls f29, f3, f4 /* 801EA788 001E76E8 EF 83 00 B2 */ fmuls f28, f3, f2 /* 801EA78C 001E76EC EF 61 06 7C */ fnmsubs f27, f1, f25, f0 lbl_801EA790: /* 801EA790 001E76F0 D3 BF 00 30 */ stfs f29, 0x30(r31) /* 801EA794 001E76F4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801EA798 001E76F8 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801EA79C 001E76FC 38 80 00 01 */ li r4, 1 /* 801EA7A0 001E7700 D3 9F 00 34 */ stfs f28, 0x34(r31) /* 801EA7A4 001E7704 38 61 00 08 */ addi r3, r1, 8 /* 801EA7A8 001E7708 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801EA7AC 001E770C 38 A1 00 3C */ addi r5, r1, 0x3c /* 801EA7B0 001E7710 D3 7F 00 38 */ stfs f27, 0x38(r31) /* 801EA7B4 001E7714 38 E0 00 01 */ li r7, 1 /* 801EA7B8 001E7718 39 00 00 00 */ li r8, 0 /* 801EA7BC 001E771C 88 1F 00 80 */ lbz r0, 0x80(r31) /* 801EA7C0 001E7720 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801EA7C4 001E7724 98 1F 00 80 */ stb r0, 0x80(r31) /* 801EA7C8 001E7728 A0 1F 00 7E */ lhz r0, 0x7e(r31) /* 801EA7CC 001E772C 50 80 34 B2 */ rlwimi r0, r4, 6, 0x12, 0x19 /* 801EA7D0 001E7730 B0 1F 00 7E */ sth r0, 0x7e(r31) /* 801EA7D4 001E7734 A0 9E 05 5C */ lhz r4, 0x55c(r30) /* 801EA7D8 001E7738 81 5E 00 04 */ lwz r10, 4(r30) /* 801EA7DC 001E773C 48 0F FA D5 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801EA7E0 001E7740 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 801EA7E4 001E7744 CB E1 01 30 */ lfd f31, 0x130(r1) /* 801EA7E8 001E7748 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 /* 801EA7EC 001E774C CB C1 01 20 */ lfd f30, 0x120(r1) /* 801EA7F0 001E7750 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 /* 801EA7F4 001E7754 CB A1 01 10 */ lfd f29, 0x110(r1) /* 801EA7F8 001E7758 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 /* 801EA7FC 001E775C CB 81 01 00 */ lfd f28, 0x100(r1) /* 801EA800 001E7760 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 /* 801EA804 001E7764 CB 61 00 F0 */ lfd f27, 0xf0(r1) /* 801EA808 001E7768 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 /* 801EA80C 001E776C CB 41 00 E0 */ lfd f26, 0xe0(r1) /* 801EA810 001E7770 E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 /* 801EA814 001E7774 CB 21 00 D0 */ lfd f25, 0xd0(r1) /* 801EA818 001E7778 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 /* 801EA81C 001E777C CB 01 00 C0 */ lfd f24, 0xc0(r1) /* 801EA820 001E7780 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 801EA824 001E7784 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 801EA828 001E7788 80 01 01 44 */ lwz r0, 0x144(r1) /* 801EA82C 001E778C 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 801EA830 001E7790 7C 08 03 A6 */ mtlr r0 /* 801EA834 001E7794 38 21 01 40 */ addi r1, r1, 0x140 /* 801EA838 001E7798 4E 80 00 20 */ blr .global sub_801ea83c sub_801ea83c: /* 801EA83C 001E779C 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801EA840 001E77A0 7C 08 02 A6 */ mflr r0 /* 801EA844 001E77A4 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801EA848 001E77A8 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 801EA84C 001E77AC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 801EA850 001E77B0 DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 801EA854 001E77B4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 /* 801EA858 001E77B8 93 E1 00 AC */ stw r31, 0xac(r1) /* 801EA85C 001E77BC 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801EA860 001E77C0 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 801EA864 001E77C4 7C 9E 23 78 */ mr r30, r4 /* 801EA868 001E77C8 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801EA86C 001E77CC C0 5E 00 24 */ lfs f2, 0x24(r30) /* 801EA870 001E77D0 7C 7D 1B 78 */ mr r29, r3 /* 801EA874 001E77D4 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801EA878 001E77D8 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801EA87C 001E77DC C0 1E 00 04 */ lfs f0, 4(r30) /* 801EA880 001E77E0 7C BF 2B 78 */ mr r31, r5 /* 801EA884 001E77E4 7F C3 F3 78 */ mr r3, r30 /* 801EA888 001E77E8 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801EA88C 001E77EC D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801EA890 001E77F0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801EA894 001E77F4 48 12 83 15 */ bl SetRotation__12CTransform4fFRC12CTransform4f /* 801EA898 001E77F8 C0 02 AD DC */ lfs f0, lbl_805ACAFC@sda21(r2) /* 801EA89C 001E77FC 38 61 00 34 */ addi r3, r1, 0x34 /* 801EA8A0 001E7800 38 81 00 1C */ addi r4, r1, 0x1c /* 801EA8A4 001E7804 38 A1 00 28 */ addi r5, r1, 0x28 /* 801EA8A8 001E7808 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801EA8AC 001E780C 38 C1 00 0C */ addi r6, r1, 0xc /* 801EA8B0 001E7810 C0 5E 00 24 */ lfs f2, 0x24(r30) /* 801EA8B4 001E7814 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801EA8B8 001E7818 C0 1E 00 04 */ lfs f0, 4(r30) /* 801EA8BC 001E781C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801EA8C0 001E7820 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801EA8C4 001E7824 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801EA8C8 001E7828 48 00 44 E5 */ bl LookAt__F9CVector3f9CVector3ff /* 801EA8CC 001E782C 7F C5 F3 78 */ mr r5, r30 /* 801EA8D0 001E7830 38 61 00 64 */ addi r3, r1, 0x64 /* 801EA8D4 001E7834 38 81 00 34 */ addi r4, r1, 0x34 /* 801EA8D8 001E7838 48 12 86 59 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801EA8DC 001E783C 7F C3 F3 78 */ mr r3, r30 /* 801EA8E0 001E7840 38 81 00 64 */ addi r4, r1, 0x64 /* 801EA8E4 001E7844 48 12 82 5D */ bl __as__12CTransform4fFRC12CTransform4f /* 801EA8E8 001E7848 3C 60 80 5A */ lis r3, skZero3f@ha /* 801EA8EC 001E784C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801EA8F0 001E7850 D0 1E 00 30 */ stfs f0, 0x30(r30) /* 801EA8F4 001E7854 C0 03 00 04 */ lfs f0, 4(r3) /* 801EA8F8 001E7858 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 801EA8FC 001E785C C0 03 00 08 */ lfs f0, 8(r3) /* 801EA900 001E7860 D0 1E 00 38 */ stfs f0, 0x38(r30) /* 801EA904 001E7864 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801EA908 001E7868 48 12 7B D5 */ bl Float__9CRandom16Fv /* 801EA90C 001E786C C0 02 AE 00 */ lfs f0, lbl_805ACB20@sda21(r2) /* 801EA910 001E7870 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801EA914 001E7874 EF E0 00 72 */ fmuls f31, f0, f1 /* 801EA918 001E7878 48 12 7B C5 */ bl Float__9CRandom16Fv /* 801EA91C 001E787C C0 1D 01 58 */ lfs f0, 0x158(r29) /* 801EA920 001E7880 EF C0 00 72 */ fmuls f30, f0, f1 /* 801EA924 001E7884 FC 20 F8 90 */ fmr f1, f31 /* 801EA928 001E7888 48 12 A4 1D */ bl FastCosR__5CMathFf /* 801EA92C 001E788C EC 1E 00 72 */ fmuls f0, f30, f1 /* 801EA930 001E7890 FC 20 F8 90 */ fmr f1, f31 /* 801EA934 001E7894 D0 1E 00 30 */ stfs f0, 0x30(r30) /* 801EA938 001E7898 48 12 A4 B9 */ bl FastSinR__5CMathFf /* 801EA93C 001E789C EC 1E 00 72 */ fmuls f0, f30, f1 /* 801EA940 001E78A0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801EA944 001E78A4 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801EA948 001E78A8 38 E0 00 01 */ li r7, 1 /* 801EA94C 001E78AC 38 80 00 05 */ li r4, 5 /* 801EA950 001E78B0 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801EA954 001E78B4 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 801EA958 001E78B8 38 61 00 08 */ addi r3, r1, 8 /* 801EA95C 001E78BC 38 A1 00 10 */ addi r5, r1, 0x10 /* 801EA960 001E78C0 39 00 00 00 */ li r8, 0 /* 801EA964 001E78C4 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EA968 001E78C8 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a /* 801EA96C 001E78CC 38 E0 00 01 */ li r7, 1 /* 801EA970 001E78D0 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EA974 001E78D4 A0 1E 00 7E */ lhz r0, 0x7e(r30) /* 801EA978 001E78D8 50 80 34 B2 */ rlwimi r0, r4, 6, 0x12, 0x19 /* 801EA97C 001E78DC B0 1E 00 7E */ sth r0, 0x7e(r30) /* 801EA980 001E78E0 81 5D 00 04 */ lwz r10, 4(r29) /* 801EA984 001E78E4 C0 5E 00 2C */ lfs f2, 0x2c(r30) /* 801EA988 001E78E8 C0 3E 00 1C */ lfs f1, 0x1c(r30) /* 801EA98C 001E78EC C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801EA990 001E78F0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801EA994 001E78F4 D0 21 00 14 */ stfs f1, 0x14(r1) /* 801EA998 001E78F8 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801EA99C 001E78FC A0 9D 05 5C */ lhz r4, 0x55c(r29) /* 801EA9A0 001E7900 48 0F F9 11 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801EA9A4 001E7904 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 801EA9A8 001E7908 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 801EA9AC 001E790C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 /* 801EA9B0 001E7910 CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 801EA9B4 001E7914 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801EA9B8 001E7918 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801EA9BC 001E791C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801EA9C0 001E7920 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 801EA9C4 001E7924 7C 08 03 A6 */ mtlr r0 /* 801EA9C8 001E7928 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801EA9CC 001E792C 4E 80 00 20 */ blr .global Think__17CWallCrawlerSwarmFfR13CStateManager Think__17CWallCrawlerSwarmFfR13CStateManager: /* 801EA9D0 001E7930 94 21 C6 E0 */ stwu r1, -0x3920(r1) /* 801EA9D4 001E7934 7C 08 02 A6 */ mflr r0 /* 801EA9D8 001E7938 90 01 39 24 */ stw r0, 0x3924(r1) /* 801EA9DC 001E793C 38 00 39 18 */ li r0, 0x3918 /* 801EA9E0 001E7940 DB E1 39 10 */ stfd f31, 0x3910(r1) /* 801EA9E4 001E7944 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 801EA9E8 001E7948 38 00 39 08 */ li r0, 0x3908 /* 801EA9EC 001E794C DB C1 39 00 */ stfd f30, 0x3900(r1) /* 801EA9F0 001E7950 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 /* 801EA9F4 001E7954 38 00 38 F8 */ li r0, 0x38f8 /* 801EA9F8 001E7958 DB A1 38 F0 */ stfd f29, 0x38f0(r1) /* 801EA9FC 001E795C 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 /* 801EAA00 001E7960 BE 61 38 BC */ stmw r19, 0x38bc(r1) /* 801EAA04 001E7964 88 03 00 30 */ lbz r0, 0x30(r3) /* 801EAA08 001E7968 FF E0 08 90 */ fmr f31, f1 /* 801EAA0C 001E796C 7C 7E 1B 78 */ mr r30, r3 /* 801EAA10 001E7970 7C 9F 23 78 */ mr r31, r4 /* 801EAA14 001E7974 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EAA18 001E7978 41 82 0E A4 */ beq lbl_801EB8BC /* 801EAA1C 001E797C 88 1E 05 60 */ lbz r0, 0x560(r30) /* 801EAA20 001E7980 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801EAA24 001E7984 41 82 00 28 */ beq lbl_801EAA4C /* 801EAA28 001E7988 7F E3 FB 78 */ mr r3, r31 /* 801EAA2C 001E798C 4B F2 A4 B1 */ bl GetRenderingModel__10CModelDataFRC13CStateManager /* 801EAA30 001E7990 80 1E 04 DC */ lwz r0, 0x4dc(r30) /* 801EAA34 001E7994 7C 65 1B 78 */ mr r5, r3 /* 801EAA38 001E7998 7C 00 28 00 */ cmpw r0, r5 /* 801EAA3C 001E799C 41 82 00 10 */ beq lbl_801EAA4C /* 801EAA40 001E79A0 7F C3 F3 78 */ mr r3, r30 /* 801EAA44 001E79A4 7F E4 FB 78 */ mr r4, r31 /* 801EAA48 001E79A8 48 00 28 E1 */ bl AllocateSkinnedModels__17CWallCrawlerSwarmFR13CStateManagerQ210CModelData11EWhichModel lbl_801EAA4C: /* 801EAA4C 001E79AC 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 801EAA50 001E79B0 38 60 00 01 */ li r3, 1 /* 801EAA54 001E79B4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801EAA58 001E79B8 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 801EAA5C 001E79BC C0 1E 03 68 */ lfs f0, 0x368(r30) /* 801EAA60 001E79C0 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801EAA64 001E79C4 D0 1E 03 68 */ stfs f0, 0x368(r30) /* 801EAA68 001E79C8 C0 1E 03 6C */ lfs f0, 0x36c(r30) /* 801EAA6C 001E79CC EC 00 F8 28 */ fsubs f0, f0, f31 /* 801EAA70 001E79D0 D0 1E 03 6C */ stfs f0, 0x36c(r30) /* 801EAA74 001E79D4 80 7E 01 00 */ lwz r3, 0x100(r30) /* 801EAA78 001E79D8 38 03 00 01 */ addi r0, r3, 1 /* 801EAA7C 001E79DC 90 1E 01 00 */ stw r0, 0x100(r30) /* 801EAA80 001E79E0 80 BE 00 04 */ lwz r5, 4(r30) /* 801EAA84 001E79E4 80 9F 08 50 */ lwz r4, 0x850(r31) /* 801EAA88 001E79E8 54 A3 18 38 */ slwi r3, r5, 3 /* 801EAA8C 001E79EC 90 A1 00 20 */ stw r5, 0x20(r1) /* 801EAA90 001E79F0 80 84 00 20 */ lwz r4, 0x20(r4) /* 801EAA94 001E79F4 38 03 00 04 */ addi r0, r3, 4 /* 801EAA98 001E79F8 90 A1 00 24 */ stw r5, 0x24(r1) /* 801EAA9C 001E79FC 7C 64 00 2E */ lwzx r3, r4, r0 /* 801EAAA0 001E7A00 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 801EAAA4 001E7A04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EAAA8 001E7A08 41 82 00 10 */ beq lbl_801EAAB8 /* 801EAAAC 001E7A0C 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801EAAB0 001E7A10 80 03 10 DC */ lwz r0, 0x10dc(r3) /* 801EAAB4 001E7A14 48 00 00 08 */ b lbl_801EAABC lbl_801EAAB8: /* 801EAAB8 001E7A18 38 00 00 00 */ li r0, 0 lbl_801EAABC: /* 801EAABC 001E7A1C 2C 00 00 01 */ cmpwi r0, 1 /* 801EAAC0 001E7A20 41 82 00 40 */ beq lbl_801EAB00 /* 801EAAC4 001E7A24 C0 3E 01 04 */ lfs f1, 0x104(r30) /* 801EAAC8 001E7A28 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EAACC 001E7A2C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EAAD0 001E7A30 40 81 00 0C */ ble lbl_801EAADC /* 801EAAD4 001E7A34 EC 01 F8 28 */ fsubs f0, f1, f31 /* 801EAAD8 001E7A38 D0 1E 01 04 */ stfs f0, 0x104(r30) lbl_801EAADC: /* 801EAADC 001E7A3C C0 3E 01 04 */ lfs f1, 0x104(r30) /* 801EAAE0 001E7A40 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EAAE4 001E7A44 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EAAE8 001E7A48 4C 40 13 82 */ cror 2, 0, 2 /* 801EAAEC 001E7A4C 41 82 0D D0 */ beq lbl_801EB8BC /* 801EAAF0 001E7A50 80 1E 01 00 */ lwz r0, 0x100(r30) /* 801EAAF4 001E7A54 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 801EAAF8 001E7A58 41 82 00 10 */ beq lbl_801EAB08 /* 801EAAFC 001E7A5C 48 00 0D C0 */ b lbl_801EB8BC lbl_801EAB00: /* 801EAB00 001E7A60 C0 02 AE 04 */ lfs f0, lbl_805ACB24@sda21(r2) /* 801EAB04 001E7A64 D0 1E 01 04 */ stfs f0, 0x104(r30) lbl_801EAB08: /* 801EAB08 001E7A68 FC 20 F8 90 */ fmr f1, f31 /* 801EAB0C 001E7A6C 7F C3 F3 78 */ mr r3, r30 /* 801EAB10 001E7A70 4B FF CF D5 */ bl UpdateParticles__17CWallCrawlerSwarmFf /* 801EAB14 001E7A74 7F C3 F3 78 */ mr r3, r30 /* 801EAB18 001E7A78 7F E4 FB 78 */ mr r4, r31 /* 801EAB1C 001E7A7C 4B FF D2 D9 */ bl sub_801e7df4 /* 801EAB20 001E7A80 90 7E 04 2C */ stw r3, 0x42c(r30) /* 801EAB24 001E7A84 80 7E 04 2C */ lwz r3, 0x42c(r30) /* 801EAB28 001E7A88 88 1E 00 E7 */ lbz r0, 0xe7(r30) /* 801EAB2C 001E7A8C 20 83 FF FF */ subfic r4, r3, -1 /* 801EAB30 001E7A90 38 63 00 01 */ addi r3, r3, 1 /* 801EAB34 001E7A94 7C 83 1B 78 */ or r3, r4, r3 /* 801EAB38 001E7A98 50 60 0F FE */ rlwimi r0, r3, 1, 0x1f, 0x1f /* 801EAB3C 001E7A9C 98 1E 00 E7 */ stb r0, 0xe7(r30) /* 801EAB40 001E7AA0 80 1E 04 2C */ lwz r0, 0x42c(r30) /* 801EAB44 001E7AA4 2C 00 FF FF */ cmpwi r0, -1 /* 801EAB48 001E7AA8 40 82 00 1C */ bne lbl_801EAB64 /* 801EAB4C 001E7AAC 7F C3 F3 78 */ mr r3, r30 /* 801EAB50 001E7AB0 7F E6 FB 78 */ mr r6, r31 /* 801EAB54 001E7AB4 38 80 00 28 */ li r4, 0x28 /* 801EAB58 001E7AB8 38 A0 00 29 */ li r5, 0x29 /* 801EAB5C 001E7ABC 4B E6 93 79 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 801EAB60 001E7AC0 48 00 00 B4 */ b lbl_801EAC14 lbl_801EAB64: /* 801EAB64 001E7AC4 7F C3 F3 78 */ mr r3, r30 /* 801EAB68 001E7AC8 7F E6 FB 78 */ mr r6, r31 /* 801EAB6C 001E7ACC 38 80 00 28 */ li r4, 0x28 /* 801EAB70 001E7AD0 38 A0 00 29 */ li r5, 0x29 /* 801EAB74 001E7AD4 4B E6 97 41 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 801EAB78 001E7AD8 48 00 00 9C */ b lbl_801EAC14 lbl_801EAB7C: /* 801EAB7C 001E7ADC 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EAB80 001E7AE0 38 C0 00 00 */ li r6, 0 /* 801EAB84 001E7AE4 38 A0 00 00 */ li r5, 0 /* 801EAB88 001E7AE8 38 80 00 00 */ li r4, 0 /* 801EAB8C 001E7AEC 7C 09 03 A6 */ mtctr r0 /* 801EAB90 001E7AF0 2C 00 00 00 */ cmpwi r0, 0 /* 801EAB94 001E7AF4 40 81 00 5C */ ble lbl_801EABF0 lbl_801EAB98: /* 801EAB98 001E7AF8 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801EAB9C 001E7AFC 38 04 00 80 */ addi r0, r4, 0x80 /* 801EABA0 001E7B00 7C 03 00 AE */ lbzx r0, r3, r0 /* 801EABA4 001E7B04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EABA8 001E7B08 40 82 00 3C */ bne lbl_801EABE4 /* 801EABAC 001E7B0C 7F C3 F3 78 */ mr r3, r30 /* 801EABB0 001E7B10 7F E4 FB 78 */ mr r4, r31 /* 801EABB4 001E7B14 48 00 24 11 */ bl CreateBoid__17CWallCrawlerSwarmFR13CStateManageri /* 801EABB8 001E7B18 80 7E 05 50 */ lwz r3, 0x550(r30) /* 801EABBC 001E7B1C 38 C0 00 01 */ li r6, 1 /* 801EABC0 001E7B20 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801EABC4 001E7B24 38 03 00 01 */ addi r0, r3, 1 /* 801EABC8 001E7B28 90 1E 05 50 */ stw r0, 0x550(r30) /* 801EABCC 001E7B2C C0 1E 03 64 */ lfs f0, 0x364(r30) /* 801EABD0 001E7B30 C0 5E 03 68 */ lfs f2, 0x368(r30) /* 801EABD4 001E7B34 EC 01 00 24 */ fdivs f0, f1, f0 /* 801EABD8 001E7B38 EC 02 00 2A */ fadds f0, f2, f0 /* 801EABDC 001E7B3C D0 1E 03 68 */ stfs f0, 0x368(r30) /* 801EABE0 001E7B40 48 00 00 10 */ b lbl_801EABF0 lbl_801EABE4: /* 801EABE4 001E7B44 38 84 00 84 */ addi r4, r4, 0x84 /* 801EABE8 001E7B48 38 A5 00 01 */ addi r5, r5, 1 /* 801EABEC 001E7B4C 42 00 FF AC */ bdnz lbl_801EAB98 lbl_801EABF0: /* 801EABF0 001E7B50 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 801EABF4 001E7B54 40 82 00 24 */ bne lbl_801EAC18 /* 801EABF8 001E7B58 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801EABFC 001E7B5C C0 1E 03 64 */ lfs f0, 0x364(r30) /* 801EAC00 001E7B60 C0 5E 03 68 */ lfs f2, 0x368(r30) /* 801EAC04 001E7B64 EC 01 00 24 */ fdivs f0, f1, f0 /* 801EAC08 001E7B68 EC 02 00 2A */ fadds f0, f2, f0 /* 801EAC0C 001E7B6C D0 1E 03 68 */ stfs f0, 0x368(r30) /* 801EAC10 001E7B70 48 00 00 30 */ b lbl_801EAC40 lbl_801EAC14: /* 801EAC14 001E7B74 C3 C2 AD A0 */ lfs f30, lbl_805ACAC0@sda21(r2) lbl_801EAC18: /* 801EAC18 001E7B78 80 7E 05 4C */ lwz r3, 0x54c(r30) /* 801EAC1C 001E7B7C 2C 03 00 00 */ cmpwi r3, 0 /* 801EAC20 001E7B80 41 82 00 10 */ beq lbl_801EAC30 /* 801EAC24 001E7B84 80 1E 05 50 */ lwz r0, 0x550(r30) /* 801EAC28 001E7B88 7C 00 18 00 */ cmpw r0, r3 /* 801EAC2C 001E7B8C 40 80 00 14 */ bge lbl_801EAC40 lbl_801EAC30: /* 801EAC30 001E7B90 C0 1E 03 68 */ lfs f0, 0x368(r30) /* 801EAC34 001E7B94 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 801EAC38 001E7B98 4C 40 13 82 */ cror 2, 0, 2 /* 801EAC3C 001E7B9C 41 82 FF 40 */ beq lbl_801EAB7C lbl_801EAC40: /* 801EAC40 001E7BA0 7F C3 F3 78 */ mr r3, r30 /* 801EAC44 001E7BA4 4B FF F6 39 */ bl UpdatePartition__17CWallCrawlerSwarmFv /* 801EAC48 001E7BA8 7F C4 F3 78 */ mr r4, r30 /* 801EAC4C 001E7BAC 38 61 01 8C */ addi r3, r1, 0x18c /* 801EAC50 001E7BB0 48 00 22 4D */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801EAC54 001E7BB4 7F C4 F3 78 */ mr r4, r30 /* 801EAC58 001E7BB8 38 61 01 74 */ addi r3, r1, 0x174 /* 801EAC5C 001E7BBC 3A A0 00 00 */ li r21, 0 /* 801EAC60 001E7BC0 48 00 22 3D */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801EAC64 001E7BC4 80 61 01 74 */ lwz r3, 0x174(r1) /* 801EAC68 001E7BC8 3A C1 1D 84 */ addi r22, r1, 0x1d84 /* 801EAC6C 001E7BCC 80 01 01 78 */ lwz r0, 0x178(r1) /* 801EAC70 001E7BD0 3A F6 00 04 */ addi r23, r22, 4 /* 801EAC74 001E7BD4 3B 1E 01 6C */ addi r24, r30, 0x16c /* 801EAC78 001E7BD8 3B 40 00 00 */ li r26, 0 /* 801EAC7C 001E7BDC 90 7E 00 E8 */ stw r3, 0xe8(r30) /* 801EAC80 001E7BE0 90 1E 00 EC */ stw r0, 0xec(r30) /* 801EAC84 001E7BE4 80 01 01 7C */ lwz r0, 0x17c(r1) /* 801EAC88 001E7BE8 90 1E 00 F0 */ stw r0, 0xf0(r30) /* 801EAC8C 001E7BEC 80 61 01 80 */ lwz r3, 0x180(r1) /* 801EAC90 001E7BF0 80 01 01 84 */ lwz r0, 0x184(r1) /* 801EAC94 001E7BF4 90 7E 00 F4 */ stw r3, 0xf4(r30) /* 801EAC98 001E7BF8 90 1E 00 F8 */ stw r0, 0xf8(r30) /* 801EAC9C 001E7BFC 80 01 01 88 */ lwz r0, 0x188(r1) /* 801EACA0 001E7C00 90 1E 00 FC */ stw r0, 0xfc(r30) lbl_801EACA4: /* 801EACA4 001E7C04 7F 59 D3 78 */ mr r25, r26 /* 801EACA8 001E7C08 3B 60 00 00 */ li r27, 0 lbl_801EACAC: /* 801EACAC 001E7C0C 7F 3C CB 78 */ mr r28, r25 /* 801EACB0 001E7C10 57 3D 10 3A */ slwi r29, r25, 2 /* 801EACB4 001E7C14 3A 80 00 00 */ li r20, 0 lbl_801EACB8: /* 801EACB8 001E7C18 7E 78 E8 2E */ lwzx r19, r24, r29 /* 801EACBC 001E7C1C 28 13 00 00 */ cmplwi r19, 0 /* 801EACC0 001E7C20 41 82 01 E4 */ beq lbl_801EAEA4 /* 801EACC4 001E7C24 C0 22 AD B0 */ lfs f1, lbl_805ACAD0@sda21(r2) /* 801EACC8 001E7C28 7F C4 F3 78 */ mr r4, r30 /* 801EACCC 001E7C2C C0 1E 03 74 */ lfs f0, 0x374(r30) /* 801EACD0 001E7C30 7F 45 D3 78 */ mr r5, r26 /* 801EACD4 001E7C34 7F 66 DB 78 */ mr r6, r27 /* 801EACD8 001E7C38 7E 87 A3 78 */ mr r7, r20 /* 801EACDC 001E7C3C EC 21 00 2A */ fadds f1, f1, f0 /* 801EACE0 001E7C40 38 61 01 5C */ addi r3, r1, 0x15c /* 801EACE4 001E7C44 4B FF F2 DD */ bl BoxForPosition__17CWallCrawlerSwarmCFiiif /* 801EACE8 001E7C48 38 61 1D 6C */ addi r3, r1, 0x1d6c /* 801EACEC 001E7C4C 38 81 01 5C */ addi r4, r1, 0x15c /* 801EACF0 001E7C50 48 0B 8D A1 */ bl __ct__19CAreaCollisionCacheFRC6CAABox /* 801EACF4 001E7C54 7F E3 FB 78 */ mr r3, r31 /* 801EACF8 001E7C58 38 81 1D 6C */ addi r4, r1, 0x1d6c /* 801EACFC 001E7C5C 4B F9 99 C9 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache /* 801EAD00 001E7C60 48 00 01 04 */ b lbl_801EAE04 lbl_801EAD04: /* 801EAD04 001E7C64 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EAD08 001E7C68 3A B5 00 01 */ addi r21, r21, 1 /* 801EAD0C 001E7C6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EAD10 001E7C70 41 82 00 9C */ beq lbl_801EADAC /* 801EAD14 001E7C74 80 1E 05 58 */ lwz r0, 0x558(r30) /* 801EAD18 001E7C78 2C 00 00 01 */ cmpwi r0, 1 /* 801EAD1C 001E7C7C 40 82 00 6C */ bne lbl_801EAD88 /* 801EAD20 001E7C80 C3 BE 03 7C */ lfs f29, 0x37c(r30) /* 801EAD24 001E7C84 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801EAD28 001E7C88 C0 53 00 1C */ lfs f2, 0x1c(r19) /* 801EAD2C 001E7C8C 38 81 00 CC */ addi r4, r1, 0xcc /* 801EAD30 001E7C90 C0 33 00 2C */ lfs f1, 0x2c(r19) /* 801EAD34 001E7C94 C0 13 00 0C */ lfs f0, 0xc(r19) /* 801EAD38 001E7C98 EC 42 E8 2A */ fadds f2, f2, f29 /* 801EAD3C 001E7C9C EC 21 E8 2A */ fadds f1, f1, f29 /* 801EAD40 001E7CA0 EC 00 E8 2A */ fadds f0, f0, f29 /* 801EAD44 001E7CA4 D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 801EAD48 001E7CA8 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801EAD4C 001E7CAC D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801EAD50 001E7CB0 48 14 CD B9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801EAD54 001E7CB4 C0 53 00 1C */ lfs f2, 0x1c(r19) /* 801EAD58 001E7CB8 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801EAD5C 001E7CBC C0 33 00 2C */ lfs f1, 0x2c(r19) /* 801EAD60 001E7CC0 38 81 00 C0 */ addi r4, r1, 0xc0 /* 801EAD64 001E7CC4 C0 13 00 0C */ lfs f0, 0xc(r19) /* 801EAD68 001E7CC8 EC 42 E8 28 */ fsubs f2, f2, f29 /* 801EAD6C 001E7CCC EC 21 E8 28 */ fsubs f1, f1, f29 /* 801EAD70 001E7CD0 EC 00 E8 28 */ fsubs f0, f0, f29 /* 801EAD74 001E7CD4 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801EAD78 001E7CD8 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801EAD7C 001E7CDC D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 801EAD80 001E7CE0 48 14 CD 89 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 801EAD84 001E7CE4 48 00 00 28 */ b lbl_801EADAC lbl_801EAD88: /* 801EAD88 001E7CE8 C0 53 00 2C */ lfs f2, 0x2c(r19) /* 801EAD8C 001E7CEC 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801EAD90 001E7CF0 C0 33 00 1C */ lfs f1, 0x1c(r19) /* 801EAD94 001E7CF4 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801EAD98 001E7CF8 C0 13 00 0C */ lfs f0, 0xc(r19) /* 801EAD9C 001E7CFC D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801EADA0 001E7D00 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 801EADA4 001E7D04 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801EADA8 001E7D08 48 14 CD 61 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801EADAC: /* 801EADAC 001E7D0C 80 7E 01 00 */ lwz r3, 0x100(r30) /* 801EADB0 001E7D10 56 A0 07 FE */ clrlwi r0, r21, 0x1f /* 801EADB4 001E7D14 54 63 07 FE */ clrlwi r3, r3, 0x1f /* 801EADB8 001E7D18 7C 03 00 00 */ cmpw r3, r0 /* 801EADBC 001E7D1C 40 82 00 20 */ bne lbl_801EADDC /* 801EADC0 001E7D20 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EADC4 001E7D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EADC8 001E7D28 41 82 00 14 */ beq lbl_801EADDC /* 801EADCC 001E7D2C C0 33 00 48 */ lfs f1, 0x48(r19) /* 801EADD0 001E7D30 C0 02 AD A8 */ lfs f0, lbl_805ACAC8@sda21(r2) /* 801EADD4 001E7D34 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EADD8 001E7D38 41 80 00 10 */ blt lbl_801EADE8 lbl_801EADDC: /* 801EADDC 001E7D3C 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EADE0 001E7D40 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801EADE4 001E7D44 41 82 00 1C */ beq lbl_801EAE00 lbl_801EADE8: /* 801EADE8 001E7D48 FC 20 F8 90 */ fmr f1, f31 /* 801EADEC 001E7D4C 7F C3 F3 78 */ mr r3, r30 /* 801EADF0 001E7D50 7F E5 FB 78 */ mr r5, r31 /* 801EADF4 001E7D54 7E 66 9B 78 */ mr r6, r19 /* 801EADF8 001E7D58 38 81 1D 6C */ addi r4, r1, 0x1d6c /* 801EADFC 001E7D5C 48 00 0D 8D */ bl UpdateBoid__17CWallCrawlerSwarmFR19CAreaCollisionCacheR13CStateManagerfRQ217CWallCrawlerSwarm5CBoid lbl_801EAE00: /* 801EAE00 001E7D60 82 73 00 44 */ lwz r19, 0x44(r19) lbl_801EAE04: /* 801EAE04 001E7D64 28 13 00 00 */ cmplwi r19, 0 /* 801EAE08 001E7D68 40 82 FE FC */ bne lbl_801EAD04 /* 801EAE0C 001E7D6C 28 16 00 00 */ cmplwi r22, 0 /* 801EAE10 001E7D70 41 82 00 94 */ beq lbl_801EAEA4 /* 801EAE14 001E7D74 7E E6 BB 78 */ mr r6, r23 /* 801EAE18 001E7D78 38 60 00 00 */ li r3, 0 /* 801EAE1C 001E7D7C 48 00 00 74 */ b lbl_801EAE90 lbl_801EAE20: /* 801EAE20 001E7D80 28 06 00 00 */ cmplwi r6, 0 /* 801EAE24 001E7D84 41 82 00 64 */ beq lbl_801EAE88 /* 801EAE28 001E7D88 34 06 00 04 */ addic. r0, r6, 4 /* 801EAE2C 001E7D8C 41 82 00 5C */ beq lbl_801EAE88 /* 801EAE30 001E7D90 80 E6 00 04 */ lwz r7, 4(r6) /* 801EAE34 001E7D94 38 80 00 00 */ li r4, 0 /* 801EAE38 001E7D98 2C 07 00 00 */ cmpwi r7, 0 /* 801EAE3C 001E7D9C 40 81 00 44 */ ble lbl_801EAE80 /* 801EAE40 001E7DA0 2C 07 00 08 */ cmpwi r7, 8 /* 801EAE44 001E7DA4 38 A7 FF F8 */ addi r5, r7, -8 /* 801EAE48 001E7DA8 40 81 00 20 */ ble lbl_801EAE68 /* 801EAE4C 001E7DAC 38 05 00 07 */ addi r0, r5, 7 /* 801EAE50 001E7DB0 54 00 E8 FE */ srwi r0, r0, 3 /* 801EAE54 001E7DB4 7C 09 03 A6 */ mtctr r0 /* 801EAE58 001E7DB8 2C 05 00 00 */ cmpwi r5, 0 /* 801EAE5C 001E7DBC 40 81 00 0C */ ble lbl_801EAE68 lbl_801EAE60: /* 801EAE60 001E7DC0 38 84 00 08 */ addi r4, r4, 8 /* 801EAE64 001E7DC4 42 00 FF FC */ bdnz lbl_801EAE60 lbl_801EAE68: /* 801EAE68 001E7DC8 7C 04 38 50 */ subf r0, r4, r7 /* 801EAE6C 001E7DCC 7C 09 03 A6 */ mtctr r0 /* 801EAE70 001E7DD0 7C 04 38 00 */ cmpw r4, r7 /* 801EAE74 001E7DD4 40 80 00 0C */ bge lbl_801EAE80 lbl_801EAE78: /* 801EAE78 001E7DD8 38 84 00 01 */ addi r4, r4, 1 /* 801EAE7C 001E7DDC 42 00 FF FC */ bdnz lbl_801EAE78 lbl_801EAE80: /* 801EAE80 001E7DE0 38 00 00 00 */ li r0, 0 /* 801EAE84 001E7DE4 90 06 00 04 */ stw r0, 4(r6) lbl_801EAE88: /* 801EAE88 001E7DE8 38 C6 09 0C */ addi r6, r6, 0x90c /* 801EAE8C 001E7DEC 38 63 00 01 */ addi r3, r3, 1 lbl_801EAE90: /* 801EAE90 001E7DF0 80 16 00 00 */ lwz r0, 0(r22) /* 801EAE94 001E7DF4 7C 03 00 00 */ cmpw r3, r0 /* 801EAE98 001E7DF8 41 80 FF 88 */ blt lbl_801EAE20 /* 801EAE9C 001E7DFC 38 00 00 00 */ li r0, 0 /* 801EAEA0 001E7E00 90 16 00 00 */ stw r0, 0(r22) lbl_801EAEA4: /* 801EAEA4 001E7E04 3A 94 00 01 */ addi r20, r20, 1 /* 801EAEA8 001E7E08 3B BD 00 64 */ addi r29, r29, 0x64 /* 801EAEAC 001E7E0C 2C 14 00 05 */ cmpwi r20, 5 /* 801EAEB0 001E7E10 3B 9C 00 19 */ addi r28, r28, 0x19 /* 801EAEB4 001E7E14 41 80 FE 04 */ blt lbl_801EACB8 /* 801EAEB8 001E7E18 3B 7B 00 01 */ addi r27, r27, 1 /* 801EAEBC 001E7E1C 3B 39 00 05 */ addi r25, r25, 5 /* 801EAEC0 001E7E20 2C 1B 00 05 */ cmpwi r27, 5 /* 801EAEC4 001E7E24 41 80 FD E8 */ blt lbl_801EACAC /* 801EAEC8 001E7E28 3B 5A 00 01 */ addi r26, r26, 1 /* 801EAECC 001E7E2C 2C 1A 00 05 */ cmpwi r26, 5 /* 801EAED0 001E7E30 41 80 FD D4 */ blt lbl_801EACA4 /* 801EAED4 001E7E34 3A C1 02 40 */ addi r22, r1, 0x240 /* 801EAED8 001E7E38 82 7E 03 60 */ lwz r19, 0x360(r30) /* 801EAEDC 001E7E3C 3A F6 00 04 */ addi r23, r22, 4 /* 801EAEE0 001E7E40 48 00 01 A0 */ b lbl_801EB080 lbl_801EAEE4: /* 801EAEE4 001E7E44 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EAEE8 001E7E48 3A B5 00 01 */ addi r21, r21, 1 /* 801EAEEC 001E7E4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EAEF0 001E7E50 41 82 00 28 */ beq lbl_801EAF18 /* 801EAEF4 001E7E54 C0 53 00 2C */ lfs f2, 0x2c(r19) /* 801EAEF8 001E7E58 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801EAEFC 001E7E5C C0 33 00 1C */ lfs f1, 0x1c(r19) /* 801EAF00 001E7E60 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801EAF04 001E7E64 C0 13 00 0C */ lfs f0, 0xc(r19) /* 801EAF08 001E7E68 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801EAF0C 001E7E6C D0 21 00 AC */ stfs f1, 0xac(r1) /* 801EAF10 001E7E70 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801EAF14 001E7E74 48 14 CB F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_801EAF18: /* 801EAF18 001E7E78 80 7E 01 00 */ lwz r3, 0x100(r30) /* 801EAF1C 001E7E7C 56 A0 07 FE */ clrlwi r0, r21, 0x1f /* 801EAF20 001E7E80 54 63 07 FE */ clrlwi r3, r3, 0x1f /* 801EAF24 001E7E84 7C 03 00 00 */ cmpw r3, r0 /* 801EAF28 001E7E88 40 82 00 20 */ bne lbl_801EAF48 /* 801EAF2C 001E7E8C 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EAF30 001E7E90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EAF34 001E7E94 41 82 00 14 */ beq lbl_801EAF48 /* 801EAF38 001E7E98 C0 33 00 48 */ lfs f1, 0x48(r19) /* 801EAF3C 001E7E9C C0 02 AD A8 */ lfs f0, lbl_805ACAC8@sda21(r2) /* 801EAF40 001E7EA0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EAF44 001E7EA4 41 80 00 10 */ blt lbl_801EAF54 lbl_801EAF48: /* 801EAF48 001E7EA8 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EAF4C 001E7EAC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801EAF50 001E7EB0 41 82 01 2C */ beq lbl_801EB07C lbl_801EAF54: /* 801EAF54 001E7EB4 C0 22 AD B0 */ lfs f1, lbl_805ACAD0@sda21(r2) /* 801EAF58 001E7EB8 38 61 01 DC */ addi r3, r1, 0x1dc /* 801EAF5C 001E7EBC C0 1E 03 74 */ lfs f0, 0x374(r30) /* 801EAF60 001E7EC0 38 81 00 9C */ addi r4, r1, 0x9c /* 801EAF64 001E7EC4 C0 82 AD D0 */ lfs f4, lbl_805ACAF0@sda21(r2) /* 801EAF68 001E7EC8 38 A1 00 90 */ addi r5, r1, 0x90 /* 801EAF6C 001E7ECC EC 21 00 2A */ fadds f1, f1, f0 /* 801EAF70 001E7ED0 C0 73 00 1C */ lfs f3, 0x1c(r19) /* 801EAF74 001E7ED4 C0 53 00 2C */ lfs f2, 0x2c(r19) /* 801EAF78 001E7ED8 C0 13 00 0C */ lfs f0, 0xc(r19) /* 801EAF7C 001E7EDC EC C4 08 2A */ fadds f6, f4, f1 /* 801EAF80 001E7EE0 EC A3 30 2A */ fadds f5, f3, f6 /* 801EAF84 001E7EE4 EC 82 30 2A */ fadds f4, f2, f6 /* 801EAF88 001E7EE8 EC 20 30 2A */ fadds f1, f0, f6 /* 801EAF8C 001E7EEC EC 63 30 28 */ fsubs f3, f3, f6 /* 801EAF90 001E7EF0 D0 A1 00 94 */ stfs f5, 0x94(r1) /* 801EAF94 001E7EF4 EC 42 30 28 */ fsubs f2, f2, f6 /* 801EAF98 001E7EF8 EC 00 30 28 */ fsubs f0, f0, f6 /* 801EAF9C 001E7EFC D0 21 00 90 */ stfs f1, 0x90(r1) /* 801EAFA0 001E7F00 D0 81 00 98 */ stfs f4, 0x98(r1) /* 801EAFA4 001E7F04 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801EAFA8 001E7F08 D0 61 00 A0 */ stfs f3, 0xa0(r1) /* 801EAFAC 001E7F0C D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 801EAFB0 001E7F10 48 14 D5 59 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801EAFB4 001E7F14 38 61 02 28 */ addi r3, r1, 0x228 /* 801EAFB8 001E7F18 38 81 01 DC */ addi r4, r1, 0x1dc /* 801EAFBC 001E7F1C 48 0B 8A D5 */ bl __ct__19CAreaCollisionCacheFRC6CAABox /* 801EAFC0 001E7F20 7F E3 FB 78 */ mr r3, r31 /* 801EAFC4 001E7F24 38 81 02 28 */ addi r4, r1, 0x228 /* 801EAFC8 001E7F28 4B F9 96 FD */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache /* 801EAFCC 001E7F2C FC 20 F8 90 */ fmr f1, f31 /* 801EAFD0 001E7F30 7F C3 F3 78 */ mr r3, r30 /* 801EAFD4 001E7F34 7F E5 FB 78 */ mr r5, r31 /* 801EAFD8 001E7F38 7E 66 9B 78 */ mr r6, r19 /* 801EAFDC 001E7F3C 38 81 02 28 */ addi r4, r1, 0x228 /* 801EAFE0 001E7F40 48 00 0B A9 */ bl UpdateBoid__17CWallCrawlerSwarmFR19CAreaCollisionCacheR13CStateManagerfRQ217CWallCrawlerSwarm5CBoid /* 801EAFE4 001E7F44 28 16 00 00 */ cmplwi r22, 0 /* 801EAFE8 001E7F48 41 82 00 94 */ beq lbl_801EB07C /* 801EAFEC 001E7F4C 7E E6 BB 78 */ mr r6, r23 /* 801EAFF0 001E7F50 38 60 00 00 */ li r3, 0 /* 801EAFF4 001E7F54 48 00 00 74 */ b lbl_801EB068 lbl_801EAFF8: /* 801EAFF8 001E7F58 28 06 00 00 */ cmplwi r6, 0 /* 801EAFFC 001E7F5C 41 82 00 64 */ beq lbl_801EB060 /* 801EB000 001E7F60 34 06 00 04 */ addic. r0, r6, 4 /* 801EB004 001E7F64 41 82 00 5C */ beq lbl_801EB060 /* 801EB008 001E7F68 80 E6 00 04 */ lwz r7, 4(r6) /* 801EB00C 001E7F6C 38 80 00 00 */ li r4, 0 /* 801EB010 001E7F70 2C 07 00 00 */ cmpwi r7, 0 /* 801EB014 001E7F74 40 81 00 44 */ ble lbl_801EB058 /* 801EB018 001E7F78 2C 07 00 08 */ cmpwi r7, 8 /* 801EB01C 001E7F7C 38 A7 FF F8 */ addi r5, r7, -8 /* 801EB020 001E7F80 40 81 00 20 */ ble lbl_801EB040 /* 801EB024 001E7F84 38 05 00 07 */ addi r0, r5, 7 /* 801EB028 001E7F88 54 00 E8 FE */ srwi r0, r0, 3 /* 801EB02C 001E7F8C 7C 09 03 A6 */ mtctr r0 /* 801EB030 001E7F90 2C 05 00 00 */ cmpwi r5, 0 /* 801EB034 001E7F94 40 81 00 0C */ ble lbl_801EB040 lbl_801EB038: /* 801EB038 001E7F98 38 84 00 08 */ addi r4, r4, 8 /* 801EB03C 001E7F9C 42 00 FF FC */ bdnz lbl_801EB038 lbl_801EB040: /* 801EB040 001E7FA0 7C 04 38 50 */ subf r0, r4, r7 /* 801EB044 001E7FA4 7C 09 03 A6 */ mtctr r0 /* 801EB048 001E7FA8 7C 04 38 00 */ cmpw r4, r7 /* 801EB04C 001E7FAC 40 80 00 0C */ bge lbl_801EB058 lbl_801EB050: /* 801EB050 001E7FB0 38 84 00 01 */ addi r4, r4, 1 /* 801EB054 001E7FB4 42 00 FF FC */ bdnz lbl_801EB050 lbl_801EB058: /* 801EB058 001E7FB8 38 00 00 00 */ li r0, 0 /* 801EB05C 001E7FBC 90 06 00 04 */ stw r0, 4(r6) lbl_801EB060: /* 801EB060 001E7FC0 38 C6 09 0C */ addi r6, r6, 0x90c /* 801EB064 001E7FC4 38 63 00 01 */ addi r3, r3, 1 lbl_801EB068: /* 801EB068 001E7FC8 80 01 02 40 */ lwz r0, 0x240(r1) /* 801EB06C 001E7FCC 7C 03 00 00 */ cmpw r3, r0 /* 801EB070 001E7FD0 41 80 FF 88 */ blt lbl_801EAFF8 /* 801EB074 001E7FD4 38 00 00 00 */ li r0, 0 /* 801EB078 001E7FD8 90 01 02 40 */ stw r0, 0x240(r1) lbl_801EB07C: /* 801EB07C 001E7FDC 82 73 00 44 */ lwz r19, 0x44(r19) lbl_801EB080: /* 801EB080 001E7FE0 28 13 00 00 */ cmplwi r19, 0 /* 801EB084 001E7FE4 40 82 FE 60 */ bne lbl_801EAEE4 /* 801EB088 001E7FE8 3A DE 04 B4 */ addi r22, r30, 0x4b4 /* 801EB08C 001E7FEC C0 3E 01 60 */ lfs f1, 0x160(r30) /* 801EB090 001E7FF0 80 7E 04 D4 */ lwz r3, 0x4d4(r30) /* 801EB094 001E7FF4 80 63 00 00 */ lwz r3, 0(r3) /* 801EB098 001E7FF8 80 63 00 10 */ lwz r3, 0x10(r3) /* 801EB09C 001E7FFC 4B E4 03 CD */ bl SetPlaybackRate__9CAnimDataFf /* 801EB0A0 001E8000 80 1E 00 04 */ lwz r0, 4(r30) /* 801EB0A4 001E8004 FC 20 F8 90 */ fmr f1, f31 /* 801EB0A8 001E8008 7F E5 FB 78 */ mr r5, r31 /* 801EB0AC 001E800C 38 61 01 40 */ addi r3, r1, 0x140 /* 801EB0B0 001E8010 90 01 00 1C */ stw r0, 0x1c(r1) /* 801EB0B4 001E8014 38 C1 00 1C */ addi r6, r1, 0x1c /* 801EB0B8 001E8018 38 E0 00 01 */ li r7, 1 /* 801EB0BC 001E801C 80 96 00 20 */ lwz r4, 0x20(r22) /* 801EB0C0 001E8020 90 01 00 18 */ stw r0, 0x18(r1) /* 801EB0C4 001E8024 80 84 00 00 */ lwz r4, 0(r4) /* 801EB0C8 001E8028 4B F2 AA 6D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801EB0CC 001E802C 3C C0 80 5A */ lis r6, skZero3f@ha /* 801EB0D0 001E8030 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) /* 801EB0D4 001E8034 3C 60 80 5A */ lis r3, lbl_805A6660@ha /* 801EB0D8 001E8038 80 A2 D7 48 */ lwz r5, lbl_805AF468@sda21(r2) /* 801EB0DC 001E803C 38 83 66 60 */ addi r4, r3, lbl_805A6660@l /* 801EB0E0 001E8040 C0 26 00 04 */ lfs f1, 4(r6) /* 801EB0E4 001E8044 C0 64 00 00 */ lfs f3, 0(r4) /* 801EB0E8 001E8048 39 00 00 00 */ li r8, 0 /* 801EB0EC 001E804C C0 46 00 08 */ lfs f2, 8(r6) /* 801EB0F0 001E8050 38 60 00 00 */ li r3, 0 /* 801EB0F4 001E8054 C0 84 00 04 */ lfs f4, 4(r4) /* 801EB0F8 001E8058 39 20 00 00 */ li r9, 0 /* 801EB0FC 001E805C C0 A4 00 08 */ lfs f5, 8(r4) /* 801EB100 001E8060 C0 C4 00 0C */ lfs f6, 0xc(r4) /* 801EB104 001E8064 80 82 D7 4C */ lwz r4, lbl_805AF46C@sda21(r2) /* 801EB108 001E8068 D0 01 01 C0 */ stfs f0, 0x1c0(r1) /* 801EB10C 001E806C D0 21 01 C4 */ stfs f1, 0x1c4(r1) /* 801EB110 001E8070 D0 41 01 C8 */ stfs f2, 0x1c8(r1) /* 801EB114 001E8074 D0 61 01 CC */ stfs f3, 0x1cc(r1) /* 801EB118 001E8078 D0 81 01 D0 */ stfs f4, 0x1d0(r1) /* 801EB11C 001E807C D0 A1 01 D4 */ stfs f5, 0x1d4(r1) /* 801EB120 001E8080 D0 C1 01 D8 */ stfs f6, 0x1d8(r1) /* 801EB124 001E8084 D0 01 01 A4 */ stfs f0, 0x1a4(r1) /* 801EB128 001E8088 D0 21 01 A8 */ stfs f1, 0x1a8(r1) /* 801EB12C 001E808C D0 41 01 AC */ stfs f2, 0x1ac(r1) /* 801EB130 001E8090 D0 61 01 B0 */ stfs f3, 0x1b0(r1) /* 801EB134 001E8094 D0 81 01 B4 */ stfs f4, 0x1b4(r1) /* 801EB138 001E8098 D0 A1 01 B8 */ stfs f5, 0x1b8(r1) /* 801EB13C 001E809C D0 C1 01 BC */ stfs f6, 0x1bc(r1) /* 801EB140 001E80A0 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EB144 001E80A4 80 FE 01 14 */ lwz r7, 0x114(r30) /* 801EB148 001E80A8 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EB14C 001E80AC 90 A1 00 2C */ stw r5, 0x2c(r1) /* 801EB150 001E80B0 90 81 00 28 */ stw r4, 0x28(r1) /* 801EB154 001E80B4 7C C7 02 14 */ add r6, r7, r0 /* 801EB158 001E80B8 48 00 00 5C */ b lbl_801EB1B4 lbl_801EB15C: /* 801EB15C 001E80BC 88 87 00 80 */ lbz r4, 0x80(r7) /* 801EB160 001E80C0 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f /* 801EB164 001E80C4 41 82 00 48 */ beq lbl_801EB1AC /* 801EB168 001E80C8 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f /* 801EB16C 001E80CC 40 82 00 40 */ bne lbl_801EB1AC /* 801EB170 001E80D0 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f /* 801EB174 001E80D4 40 82 00 0C */ bne lbl_801EB180 /* 801EB178 001E80D8 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f /* 801EB17C 001E80DC 41 82 00 1C */ beq lbl_801EB198 lbl_801EB180: /* 801EB180 001E80E0 55 20 07 BE */ clrlwi r0, r9, 0x1e /* 801EB184 001E80E4 38 81 00 28 */ addi r4, r1, 0x28 /* 801EB188 001E80E8 38 A0 00 01 */ li r5, 1 /* 801EB18C 001E80EC 38 63 00 01 */ addi r3, r3, 1 /* 801EB190 001E80F0 7C A4 01 AE */ stbx r5, r4, r0 /* 801EB194 001E80F4 48 00 00 18 */ b lbl_801EB1AC lbl_801EB198: /* 801EB198 001E80F8 55 20 07 BE */ clrlwi r0, r9, 0x1e /* 801EB19C 001E80FC 38 81 00 2C */ addi r4, r1, 0x2c /* 801EB1A0 001E8100 38 A0 00 01 */ li r5, 1 /* 801EB1A4 001E8104 39 08 00 01 */ addi r8, r8, 1 /* 801EB1A8 001E8108 7C A4 01 AE */ stbx r5, r4, r0 lbl_801EB1AC: /* 801EB1AC 001E810C 38 E7 00 84 */ addi r7, r7, 0x84 /* 801EB1B0 001E8110 39 29 00 01 */ addi r9, r9, 1 lbl_801EB1B4: /* 801EB1B4 001E8114 7C 07 30 40 */ cmplw r7, r6 /* 801EB1B8 001E8118 40 82 FF A4 */ bne lbl_801EB15C /* 801EB1BC 001E811C 1F 68 00 2C */ mulli r27, r8, 0x2c /* 801EB1C0 001E8120 7E D8 B3 78 */ mr r24, r22 /* 801EB1C4 001E8124 3B 21 00 2C */ addi r25, r1, 0x2c /* 801EB1C8 001E8128 3B 41 00 28 */ addi r26, r1, 0x28 /* 801EB1CC 001E812C 1F 83 00 2C */ mulli r28, r3, 0x2c /* 801EB1D0 001E8130 3A 60 00 00 */ li r19, 0 lbl_801EB1D4: /* 801EB1D4 001E8134 80 78 00 00 */ lwz r3, 0(r24) /* 801EB1D8 001E8138 C0 3E 01 60 */ lfs f1, 0x160(r30) /* 801EB1DC 001E813C 80 63 00 00 */ lwz r3, 0(r3) /* 801EB1E0 001E8140 80 63 00 10 */ lwz r3, 0x10(r3) /* 801EB1E4 001E8144 4B E4 02 85 */ bl SetPlaybackRate__9CAnimDataFf /* 801EB1E8 001E8148 80 1E 00 04 */ lwz r0, 4(r30) /* 801EB1EC 001E814C FC 20 F8 90 */ fmr f1, f31 /* 801EB1F0 001E8150 7F E5 FB 78 */ mr r5, r31 /* 801EB1F4 001E8154 38 61 01 24 */ addi r3, r1, 0x124 /* 801EB1F8 001E8158 90 01 00 14 */ stw r0, 0x14(r1) /* 801EB1FC 001E815C 38 C1 00 14 */ addi r6, r1, 0x14 /* 801EB200 001E8160 38 E0 00 01 */ li r7, 1 /* 801EB204 001E8164 80 98 00 00 */ lwz r4, 0(r24) /* 801EB208 001E8168 90 01 00 10 */ stw r0, 0x10(r1) /* 801EB20C 001E816C 80 84 00 00 */ lwz r4, 0(r4) /* 801EB210 001E8170 4B F2 A9 25 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801EB214 001E8174 81 01 01 24 */ lwz r8, 0x124(r1) /* 801EB218 001E8178 38 13 00 04 */ addi r0, r19, 4 /* 801EB21C 001E817C 80 E1 01 28 */ lwz r7, 0x128(r1) /* 801EB220 001E8180 54 1D 10 3A */ slwi r29, r0, 2 /* 801EB224 001E8184 80 C1 01 2C */ lwz r6, 0x12c(r1) /* 801EB228 001E8188 80 A1 01 30 */ lwz r5, 0x130(r1) /* 801EB22C 001E818C 80 81 01 34 */ lwz r4, 0x134(r1) /* 801EB230 001E8190 80 61 01 38 */ lwz r3, 0x138(r1) /* 801EB234 001E8194 80 01 01 3C */ lwz r0, 0x13c(r1) /* 801EB238 001E8198 91 01 01 C0 */ stw r8, 0x1c0(r1) /* 801EB23C 001E819C 90 E1 01 C4 */ stw r7, 0x1c4(r1) /* 801EB240 001E81A0 90 C1 01 C8 */ stw r6, 0x1c8(r1) /* 801EB244 001E81A4 90 A1 01 CC */ stw r5, 0x1cc(r1) /* 801EB248 001E81A8 90 81 01 D0 */ stw r4, 0x1d0(r1) /* 801EB24C 001E81AC 90 61 01 D4 */ stw r3, 0x1d4(r1) /* 801EB250 001E81B0 90 01 01 D8 */ stw r0, 0x1d8(r1) /* 801EB254 001E81B4 7C 76 E8 2E */ lwzx r3, r22, r29 /* 801EB258 001E81B8 C0 3E 01 60 */ lfs f1, 0x160(r30) /* 801EB25C 001E81BC 80 63 00 00 */ lwz r3, 0(r3) /* 801EB260 001E81C0 80 63 00 10 */ lwz r3, 0x10(r3) /* 801EB264 001E81C4 4B E4 02 05 */ bl SetPlaybackRate__9CAnimDataFf /* 801EB268 001E81C8 80 1E 00 04 */ lwz r0, 4(r30) /* 801EB26C 001E81CC FC 20 F8 90 */ fmr f1, f31 /* 801EB270 001E81D0 7F E5 FB 78 */ mr r5, r31 /* 801EB274 001E81D4 38 61 01 08 */ addi r3, r1, 0x108 /* 801EB278 001E81D8 90 01 00 0C */ stw r0, 0xc(r1) /* 801EB27C 001E81DC 38 C1 00 0C */ addi r6, r1, 0xc /* 801EB280 001E81E0 38 E0 00 01 */ li r7, 1 /* 801EB284 001E81E4 7C 96 E8 2E */ lwzx r4, r22, r29 /* 801EB288 001E81E8 90 01 00 08 */ stw r0, 8(r1) /* 801EB28C 001E81EC 80 84 00 00 */ lwz r4, 0(r4) /* 801EB290 001E81F0 4B F2 A8 A5 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801EB294 001E81F4 81 01 01 08 */ lwz r8, 0x108(r1) /* 801EB298 001E81F8 80 E1 01 0C */ lwz r7, 0x10c(r1) /* 801EB29C 001E81FC 80 C1 01 10 */ lwz r6, 0x110(r1) /* 801EB2A0 001E8200 80 A1 01 14 */ lwz r5, 0x114(r1) /* 801EB2A4 001E8204 80 81 01 18 */ lwz r4, 0x118(r1) /* 801EB2A8 001E8208 80 61 01 1C */ lwz r3, 0x11c(r1) /* 801EB2AC 001E820C 80 01 01 20 */ lwz r0, 0x120(r1) /* 801EB2B0 001E8210 91 01 01 A4 */ stw r8, 0x1a4(r1) /* 801EB2B4 001E8214 90 E1 01 A8 */ stw r7, 0x1a8(r1) /* 801EB2B8 001E8218 90 C1 01 AC */ stw r6, 0x1ac(r1) /* 801EB2BC 001E821C 90 A1 01 B0 */ stw r5, 0x1b0(r1) /* 801EB2C0 001E8220 90 81 01 B4 */ stw r4, 0x1b4(r1) /* 801EB2C4 001E8224 90 61 01 B8 */ stw r3, 0x1b8(r1) /* 801EB2C8 001E8228 90 01 01 BC */ stw r0, 0x1bc(r1) /* 801EB2CC 001E822C 80 78 00 00 */ lwz r3, 0(r24) /* 801EB2D0 001E8230 80 83 00 00 */ lwz r4, 0(r3) /* 801EB2D4 001E8234 80 04 00 10 */ lwz r0, 0x10(r4) /* 801EB2D8 001E8238 28 00 00 00 */ cmplwi r0, 0 /* 801EB2DC 001E823C 41 82 00 2C */ beq lbl_801EB308 /* 801EB2E0 001E8240 88 19 00 00 */ lbz r0, 0(r25) /* 801EB2E4 001E8244 28 00 00 00 */ cmplwi r0, 0 /* 801EB2E8 001E8248 41 82 00 20 */ beq lbl_801EB308 /* 801EB2EC 001E824C 80 1E 05 48 */ lwz r0, 0x548(r30) /* 801EB2F0 001E8250 7F C3 F3 78 */ mr r3, r30 /* 801EB2F4 001E8254 80 A4 00 10 */ lwz r5, 0x10(r4) /* 801EB2F8 001E8258 7F E4 FB 78 */ mr r4, r31 /* 801EB2FC 001E825C 7C DB 03 D6 */ divw r6, r27, r0 /* 801EB300 001E8260 38 C6 00 53 */ addi r6, r6, 0x53 /* 801EB304 001E8264 4B FF C2 55 */ bl UpdateEffects__17CWallCrawlerSwarmFR13CStateManagerR9CAnimData lbl_801EB308: /* 801EB308 001E8268 7C 76 E8 2E */ lwzx r3, r22, r29 /* 801EB30C 001E826C 80 63 00 00 */ lwz r3, 0(r3) /* 801EB310 001E8270 80 A3 00 10 */ lwz r5, 0x10(r3) /* 801EB314 001E8274 28 05 00 00 */ cmplwi r5, 0 /* 801EB318 001E8278 41 82 00 28 */ beq lbl_801EB340 /* 801EB31C 001E827C 88 1A 00 00 */ lbz r0, 0(r26) /* 801EB320 001E8280 28 00 00 00 */ cmplwi r0, 0 /* 801EB324 001E8284 41 82 00 1C */ beq lbl_801EB340 /* 801EB328 001E8288 80 1E 05 48 */ lwz r0, 0x548(r30) /* 801EB32C 001E828C 7F C3 F3 78 */ mr r3, r30 /* 801EB330 001E8290 7F E4 FB 78 */ mr r4, r31 /* 801EB334 001E8294 7C DC 03 D6 */ divw r6, r28, r0 /* 801EB338 001E8298 38 C6 00 53 */ addi r6, r6, 0x53 /* 801EB33C 001E829C 4B FF C2 1D */ bl UpdateEffects__17CWallCrawlerSwarmFR13CStateManagerR9CAnimData lbl_801EB340: /* 801EB340 001E82A0 1E F3 00 84 */ mulli r23, r19, 0x84 /* 801EB344 001E82A4 7E 74 9B 78 */ mr r20, r19 /* 801EB348 001E82A8 48 00 02 08 */ b lbl_801EB550 lbl_801EB34C: /* 801EB34C 001E82AC 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB350 001E82B0 7C 80 BA 14 */ add r4, r0, r23 /* 801EB354 001E82B4 88 64 00 80 */ lbz r3, 0x80(r4) /* 801EB358 001E82B8 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801EB35C 001E82BC 41 82 01 EC */ beq lbl_801EB548 /* 801EB360 001E82C0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801EB364 001E82C4 41 82 00 44 */ beq lbl_801EB3A8 /* 801EB368 001E82C8 C0 04 00 30 */ lfs f0, 0x30(r4) /* 801EB36C 001E82CC C0 64 00 34 */ lfs f3, 0x34(r4) /* 801EB370 001E82D0 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801EB374 001E82D4 C0 24 00 0C */ lfs f1, 0xc(r4) /* 801EB378 001E82D8 C0 44 00 38 */ lfs f2, 0x38(r4) /* 801EB37C 001E82DC EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801EB380 001E82E0 EC 01 00 2A */ fadds f0, f1, f0 /* 801EB384 001E82E4 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 801EB388 001E82E8 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801EB38C 001E82EC C0 04 00 1C */ lfs f0, 0x1c(r4) /* 801EB390 001E82F0 EC 00 18 2A */ fadds f0, f0, f3 /* 801EB394 001E82F4 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 801EB398 001E82F8 C0 04 00 2C */ lfs f0, 0x2c(r4) /* 801EB39C 001E82FC EC 00 08 2A */ fadds f0, f0, f1 /* 801EB3A0 001E8300 D0 04 00 2C */ stfs f0, 0x2c(r4) /* 801EB3A4 001E8304 48 00 01 A4 */ b lbl_801EB548 lbl_801EB3A8: /* 801EB3A8 001E8308 C0 24 00 48 */ lfs f1, 0x48(r4) /* 801EB3AC 001E830C C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EB3B0 001E8310 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EB3B4 001E8314 40 81 00 50 */ ble lbl_801EB404 /* 801EB3B8 001E8318 EC 01 F8 28 */ fsubs f0, f1, f31 /* 801EB3BC 001E831C D0 04 00 48 */ stfs f0, 0x48(r4) /* 801EB3C0 001E8320 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB3C4 001E8324 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801EB3C8 001E8328 7E A0 BA 14 */ add r21, r0, r23 /* 801EB3CC 001E832C 48 12 71 11 */ bl Float__9CRandom16Fv /* 801EB3D0 001E8330 C0 42 AE 08 */ lfs f2, lbl_805ACB28@sda21(r2) /* 801EB3D4 001E8334 C0 15 00 48 */ lfs f0, 0x48(r21) /* 801EB3D8 001E8338 EC 22 00 72 */ fmuls f1, f2, f1 /* 801EB3DC 001E833C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801EB3E0 001E8340 40 80 01 68 */ bge lbl_801EB548 /* 801EB3E4 001E8344 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB3E8 001E8348 7F C3 F3 78 */ mr r3, r30 /* 801EB3EC 001E834C C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801EB3F0 001E8350 7F E5 FB 78 */ mr r5, r31 /* 801EB3F4 001E8354 C0 42 AE 0C */ lfs f2, lbl_805ACB2C@sda21(r2) /* 801EB3F8 001E8358 7C 80 BA 14 */ add r4, r0, r23 /* 801EB3FC 001E835C 4B FF C8 29 */ bl KillBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerff /* 801EB400 001E8360 48 00 01 48 */ b lbl_801EB548 lbl_801EB404: /* 801EB404 001E8364 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801EB408 001E8368 40 82 00 0C */ bne lbl_801EB414 /* 801EB40C 001E836C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 801EB410 001E8370 41 82 00 A0 */ beq lbl_801EB4B0 lbl_801EB414: /* 801EB414 001E8374 38 61 00 84 */ addi r3, r1, 0x84 /* 801EB418 001E8378 38 A1 01 A4 */ addi r5, r1, 0x1a4 /* 801EB41C 001E837C 48 12 76 65 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801EB420 001E8380 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EB424 001E8384 38 77 00 30 */ addi r3, r23, 0x30 /* 801EB428 001E8388 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB42C 001E838C EC 80 F8 24 */ fdivs f4, f0, f31 /* 801EB430 001E8390 C0 62 AD D0 */ lfs f3, lbl_805ACAF0@sda21(r2) /* 801EB434 001E8394 C0 01 00 84 */ lfs f0, 0x84(r1) /* 801EB438 001E8398 7C 60 1A 14 */ add r3, r0, r3 /* 801EB43C 001E839C C0 41 00 88 */ lfs f2, 0x88(r1) /* 801EB440 001E83A0 C0 21 00 8C */ lfs f1, 0x8c(r1) /* 801EB444 001E83A4 EC 03 00 32 */ fmuls f0, f3, f0 /* 801EB448 001E83A8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801EB44C 001E83AC EC 23 00 72 */ fmuls f1, f3, f1 /* 801EB450 001E83B0 EC 04 00 32 */ fmuls f0, f4, f0 /* 801EB454 001E83B4 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801EB458 001E83B8 EC 24 00 72 */ fmuls f1, f4, f1 /* 801EB45C 001E83BC D0 03 00 00 */ stfs f0, 0(r3) /* 801EB460 001E83C0 D0 43 00 04 */ stfs f2, 4(r3) /* 801EB464 001E83C4 D0 23 00 08 */ stfs f1, 8(r3) /* 801EB468 001E83C8 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB46C 001E83CC 7C 60 BA 14 */ add r3, r0, r23 /* 801EB470 001E83D0 C0 03 00 30 */ lfs f0, 0x30(r3) /* 801EB474 001E83D4 C0 23 00 0C */ lfs f1, 0xc(r3) /* 801EB478 001E83D8 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801EB47C 001E83DC C0 63 00 34 */ lfs f3, 0x34(r3) /* 801EB480 001E83E0 C0 43 00 38 */ lfs f2, 0x38(r3) /* 801EB484 001E83E4 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801EB488 001E83E8 EC 01 00 2A */ fadds f0, f1, f0 /* 801EB48C 001E83EC EC 3F 00 B2 */ fmuls f1, f31, f2 /* 801EB490 001E83F0 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801EB494 001E83F4 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801EB498 001E83F8 EC 00 18 2A */ fadds f0, f0, f3 /* 801EB49C 001E83FC D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801EB4A0 001E8400 C0 03 00 2C */ lfs f0, 0x2c(r3) /* 801EB4A4 001E8404 EC 00 08 2A */ fadds f0, f0, f1 /* 801EB4A8 001E8408 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 801EB4AC 001E840C 48 00 00 9C */ b lbl_801EB548 lbl_801EB4B0: /* 801EB4B0 001E8410 38 61 00 78 */ addi r3, r1, 0x78 /* 801EB4B4 001E8414 38 A1 01 C0 */ addi r5, r1, 0x1c0 /* 801EB4B8 001E8418 48 12 75 C9 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801EB4BC 001E841C C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EB4C0 001E8420 38 77 00 30 */ addi r3, r23, 0x30 /* 801EB4C4 001E8424 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB4C8 001E8428 EC 80 F8 24 */ fdivs f4, f0, f31 /* 801EB4CC 001E842C C0 62 AD D0 */ lfs f3, lbl_805ACAF0@sda21(r2) /* 801EB4D0 001E8430 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801EB4D4 001E8434 7C 60 1A 14 */ add r3, r0, r3 /* 801EB4D8 001E8438 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 801EB4DC 001E843C C0 21 00 80 */ lfs f1, 0x80(r1) /* 801EB4E0 001E8440 EC 03 00 32 */ fmuls f0, f3, f0 /* 801EB4E4 001E8444 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801EB4E8 001E8448 EC 23 00 72 */ fmuls f1, f3, f1 /* 801EB4EC 001E844C EC 04 00 32 */ fmuls f0, f4, f0 /* 801EB4F0 001E8450 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801EB4F4 001E8454 EC 24 00 72 */ fmuls f1, f4, f1 /* 801EB4F8 001E8458 D0 03 00 00 */ stfs f0, 0(r3) /* 801EB4FC 001E845C D0 43 00 04 */ stfs f2, 4(r3) /* 801EB500 001E8460 D0 23 00 08 */ stfs f1, 8(r3) /* 801EB504 001E8464 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801EB508 001E8468 7C 60 BA 14 */ add r3, r0, r23 /* 801EB50C 001E846C C0 03 00 30 */ lfs f0, 0x30(r3) /* 801EB510 001E8470 C0 23 00 0C */ lfs f1, 0xc(r3) /* 801EB514 001E8474 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801EB518 001E8478 C0 63 00 34 */ lfs f3, 0x34(r3) /* 801EB51C 001E847C C0 43 00 38 */ lfs f2, 0x38(r3) /* 801EB520 001E8480 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801EB524 001E8484 EC 01 00 2A */ fadds f0, f1, f0 /* 801EB528 001E8488 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 801EB52C 001E848C D0 03 00 0C */ stfs f0, 0xc(r3) /* 801EB530 001E8490 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 801EB534 001E8494 EC 00 18 2A */ fadds f0, f0, f3 /* 801EB538 001E8498 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801EB53C 001E849C C0 03 00 2C */ lfs f0, 0x2c(r3) /* 801EB540 001E84A0 EC 00 08 2A */ fadds f0, f0, f1 /* 801EB544 001E84A4 D0 03 00 2C */ stfs f0, 0x2c(r3) lbl_801EB548: /* 801EB548 001E84A8 3A F7 02 10 */ addi r23, r23, 0x210 /* 801EB54C 001E84AC 3A 94 00 04 */ addi r20, r20, 4 lbl_801EB550: /* 801EB550 001E84B0 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EB554 001E84B4 7C 14 00 00 */ cmpw r20, r0 /* 801EB558 001E84B8 41 80 FD F4 */ blt lbl_801EB34C /* 801EB55C 001E84BC 3A 73 00 01 */ addi r19, r19, 1 /* 801EB560 001E84C0 3B 39 00 01 */ addi r25, r25, 1 /* 801EB564 001E84C4 2C 13 00 04 */ cmpwi r19, 4 /* 801EB568 001E84C8 3B 5A 00 01 */ addi r26, r26, 1 /* 801EB56C 001E84CC 3B 18 00 04 */ addi r24, r24, 4 /* 801EB570 001E84D0 41 80 FC 64 */ blt lbl_801EB1D4 /* 801EB574 001E84D4 80 1E 05 58 */ lwz r0, 0x558(r30) /* 801EB578 001E84D8 2C 00 00 02 */ cmpwi r0, 2 /* 801EB57C 001E84DC 40 82 00 C4 */ bne lbl_801EB640 /* 801EB580 001E84E0 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801EB584 001E84E4 82 7E 01 14 */ lwz r19, 0x114(r30) /* 801EB588 001E84E8 C3 C3 00 40 */ lfs f30, 0x40(r3) /* 801EB58C 001E84EC C3 E3 00 50 */ lfs f31, 0x50(r3) /* 801EB590 001E84F0 C3 A3 00 60 */ lfs f29, 0x60(r3) /* 801EB594 001E84F4 48 00 00 94 */ b lbl_801EB628 lbl_801EB598: /* 801EB598 001E84F8 88 73 00 80 */ lbz r3, 0x80(r19) /* 801EB59C 001E84FC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801EB5A0 001E8500 41 82 00 84 */ beq lbl_801EB624 /* 801EB5A4 001E8504 C0 53 00 48 */ lfs f2, 0x48(r19) /* 801EB5A8 001E8508 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EB5AC 001E850C C0 02 AD D8 */ lfs f0, lbl_805ACAF8@sda21(r2) /* 801EB5B0 001E8510 EC 22 08 28 */ fsubs f1, f2, f1 /* 801EB5B4 001E8514 FC 20 0A 10 */ fabs f1, f1 /* 801EB5B8 001E8518 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EB5BC 001E851C 40 80 00 68 */ bge lbl_801EB624 /* 801EB5C0 001E8520 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801EB5C4 001E8524 40 82 00 60 */ bne lbl_801EB624 /* 801EB5C8 001E8528 C0 53 00 1C */ lfs f2, 0x1c(r19) /* 801EB5CC 001E852C 38 61 00 6C */ addi r3, r1, 0x6c /* 801EB5D0 001E8530 C0 33 00 2C */ lfs f1, 0x2c(r19) /* 801EB5D4 001E8534 C0 13 00 0C */ lfs f0, 0xc(r19) /* 801EB5D8 001E8538 EC 5F 10 28 */ fsubs f2, f31, f2 /* 801EB5DC 001E853C EC 3D 08 28 */ fsubs f1, f29, f1 /* 801EB5E0 001E8540 EC 1E 00 28 */ fsubs f0, f30, f0 /* 801EB5E4 001E8544 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801EB5E8 001E8548 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801EB5EC 001E854C D0 21 00 74 */ stfs f1, 0x74(r1) /* 801EB5F0 001E8550 48 12 92 C9 */ bl Magnitude__9CVector3fCFv /* 801EB5F4 001E8554 C0 1E 01 54 */ lfs f0, 0x154(r30) /* 801EB5F8 001E8558 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EB5FC 001E855C 40 80 00 18 */ bge lbl_801EB614 /* 801EB600 001E8560 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EB604 001E8564 38 60 00 01 */ li r3, 1 /* 801EB608 001E8568 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801EB60C 001E856C 98 13 00 80 */ stb r0, 0x80(r19) /* 801EB610 001E8570 48 00 00 14 */ b lbl_801EB624 lbl_801EB614: /* 801EB614 001E8574 88 13 00 80 */ lbz r0, 0x80(r19) /* 801EB618 001E8578 38 60 00 00 */ li r3, 0 /* 801EB61C 001E857C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801EB620 001E8580 98 13 00 80 */ stb r0, 0x80(r19) lbl_801EB624: /* 801EB624 001E8584 3A 73 00 84 */ addi r19, r19, 0x84 lbl_801EB628: /* 801EB628 001E8588 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EB62C 001E858C 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801EB630 001E8590 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EB634 001E8594 7C 03 02 14 */ add r0, r3, r0 /* 801EB638 001E8598 7C 13 00 40 */ cmplw r19, r0 /* 801EB63C 001E859C 40 82 FF 5C */ bne lbl_801EB598 lbl_801EB640: /* 801EB640 001E85A0 80 1E 05 58 */ lwz r0, 0x558(r30) /* 801EB644 001E85A4 2C 00 00 00 */ cmpwi r0, 0 /* 801EB648 001E85A8 40 82 02 74 */ bne lbl_801EB8BC /* 801EB64C 001E85AC 80 1E 05 54 */ lwz r0, 0x554(r30) /* 801EB650 001E85B0 2C 00 00 00 */ cmpwi r0, 0 /* 801EB654 001E85B4 40 81 02 68 */ ble lbl_801EB8BC /* 801EB658 001E85B8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801EB65C 001E85BC 88 0D A4 C0 */ lbz r0, lbl_805A9080@sda21(r13) /* 801EB660 001E85C0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801EB664 001E85C4 C0 62 AD A0 */ lfs f3, lbl_805ACAC0@sda21(r2) /* 801EB668 001E85C8 7C 00 07 75 */ extsb. r0, r0 /* 801EB66C 001E85CC C0 03 00 40 */ lfs f0, 0x40(r3) /* 801EB670 001E85D0 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801EB674 001E85D4 EC 81 18 2A */ fadds f4, f1, f3 /* 801EB678 001E85D8 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801EB67C 001E85DC EC 00 18 2A */ fadds f0, f0, f3 /* 801EB680 001E85E0 EC 22 08 2A */ fadds f1, f2, f1 /* 801EB684 001E85E4 D0 81 00 E8 */ stfs f4, 0xe8(r1) /* 801EB688 001E85E8 D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 801EB68C 001E85EC D0 21 00 EC */ stfs f1, 0xec(r1) /* 801EB690 001E85F0 40 82 00 40 */ bne lbl_801EB6D0 /* 801EB694 001E85F4 80 AD 92 4C */ lwz r5, lbl_805A7E0C@sda21(r13) /* 801EB698 001E85F8 38 60 00 00 */ li r3, 0 /* 801EB69C 001E85FC 38 80 00 01 */ li r4, 1 /* 801EB6A0 001E8600 48 19 E8 55 */ bl __shl2i /* 801EB6A4 001E8604 3C A0 80 47 */ lis r5, lbl_8046C938@ha /* 801EB6A8 001E8608 38 C0 00 01 */ li r6, 1 /* 801EB6AC 001E860C 38 A5 C9 38 */ addi r5, r5, lbl_8046C938@l /* 801EB6B0 001E8610 38 00 00 00 */ li r0, 0 /* 801EB6B4 001E8614 90 C1 01 00 */ stw r6, 0x100(r1) /* 801EB6B8 001E8618 90 85 00 04 */ stw r4, 4(r5) /* 801EB6BC 001E861C 90 65 00 00 */ stw r3, 0(r5) /* 801EB6C0 001E8620 90 05 00 0C */ stw r0, 0xc(r5) /* 801EB6C4 001E8624 90 05 00 08 */ stw r0, 8(r5) /* 801EB6C8 001E8628 90 C5 00 10 */ stw r6, 0x10(r5) /* 801EB6CC 001E862C 98 CD A4 C0 */ stb r6, lbl_805A9080@sda21(r13) lbl_801EB6D0: /* 801EB6D0 001E8630 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EB6D4 001E8634 3A 60 00 00 */ li r19, 0 /* 801EB6D8 001E8638 82 DE 01 14 */ lwz r22, 0x114(r30) /* 801EB6DC 001E863C 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EB6E0 001E8640 7E C4 B3 78 */ mr r4, r22 /* 801EB6E4 001E8644 7C B6 02 14 */ add r5, r22, r0 /* 801EB6E8 001E8648 48 00 00 20 */ b lbl_801EB708 lbl_801EB6EC: /* 801EB6EC 001E864C 88 64 00 80 */ lbz r3, 0x80(r4) /* 801EB6F0 001E8650 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801EB6F4 001E8654 41 82 00 10 */ beq lbl_801EB704 /* 801EB6F8 001E8658 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801EB6FC 001E865C 41 82 00 08 */ beq lbl_801EB704 /* 801EB700 001E8660 3A 73 00 01 */ addi r19, r19, 1 lbl_801EB704: /* 801EB704 001E8664 38 84 00 84 */ addi r4, r4, 0x84 lbl_801EB708: /* 801EB708 001E8668 7C 04 28 40 */ cmplw r4, r5 /* 801EB70C 001E866C 40 82 FF E0 */ bne lbl_801EB6EC /* 801EB710 001E8670 80 1E 05 54 */ lwz r0, 0x554(r30) /* 801EB714 001E8674 7C 13 00 00 */ cmpw r19, r0 /* 801EB718 001E8678 40 80 01 A4 */ bge lbl_801EB8BC /* 801EB71C 001E867C 48 00 01 7C */ b lbl_801EB898 lbl_801EB720: /* 801EB720 001E8680 88 76 00 80 */ lbz r3, 0x80(r22) /* 801EB724 001E8684 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 801EB728 001E8688 41 82 01 6C */ beq lbl_801EB894 /* 801EB72C 001E868C C0 56 00 48 */ lfs f2, 0x48(r22) /* 801EB730 001E8690 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EB734 001E8694 C0 02 AD D8 */ lfs f0, lbl_805ACAF8@sda21(r2) /* 801EB738 001E8698 EC 22 08 28 */ fsubs f1, f2, f1 /* 801EB73C 001E869C FC 20 0A 10 */ fabs f1, f1 /* 801EB740 001E86A0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EB744 001E86A4 40 80 01 50 */ bge lbl_801EB894 /* 801EB748 001E86A8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f /* 801EB74C 001E86AC 40 82 01 48 */ bne lbl_801EB894 /* 801EB750 001E86B0 C0 F6 00 1C */ lfs f7, 0x1c(r22) /* 801EB754 001E86B4 C0 76 00 0C */ lfs f3, 0xc(r22) /* 801EB758 001E86B8 C0 21 00 E8 */ lfs f1, 0xe8(r1) /* 801EB75C 001E86BC C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801EB760 001E86C0 EC C7 08 28 */ fsubs f6, f7, f1 /* 801EB764 001E86C4 C1 16 00 2C */ lfs f8, 0x2c(r22) /* 801EB768 001E86C8 EC 83 00 28 */ fsubs f4, f3, f0 /* 801EB76C 001E86CC C0 21 00 EC */ lfs f1, 0xec(r1) /* 801EB770 001E86D0 C0 02 AE 10 */ lfs f0, lbl_805ACB30@sda21(r2) /* 801EB774 001E86D4 EC A8 08 28 */ fsubs f5, f8, f1 /* 801EB778 001E86D8 EC 44 01 32 */ fmuls f2, f4, f4 /* 801EB77C 001E86DC D0 61 00 54 */ stfs f3, 0x54(r1) /* 801EB780 001E86E0 EC 26 01 B2 */ fmuls f1, f6, f6 /* 801EB784 001E86E4 EC 65 01 72 */ fmuls f3, f5, f5 /* 801EB788 001E86E8 D0 E1 00 58 */ stfs f7, 0x58(r1) /* 801EB78C 001E86EC EC 22 08 2A */ fadds f1, f2, f1 /* 801EB790 001E86F0 D1 01 00 5C */ stfs f8, 0x5c(r1) /* 801EB794 001E86F4 D0 81 00 60 */ stfs f4, 0x60(r1) /* 801EB798 001E86F8 EC 23 08 2A */ fadds f1, f3, f1 /* 801EB79C 001E86FC D0 C1 00 64 */ stfs f6, 0x64(r1) /* 801EB7A0 001E8700 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EB7A4 001E8704 D0 A1 00 68 */ stfs f5, 0x68(r1) /* 801EB7A8 001E8708 40 80 00 EC */ bge lbl_801EB894 /* 801EB7AC 001E870C 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801EB7B0 001E8710 48 12 6D 2D */ bl Float__9CRandom16Fv /* 801EB7B4 001E8714 C0 02 AE 14 */ lfs f0, lbl_805ACB34@sda21(r2) /* 801EB7B8 001E8718 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EB7BC 001E871C 4C 40 13 82 */ cror 2, 0, 2 /* 801EB7C0 001E8720 40 82 00 D4 */ bne lbl_801EB894 /* 801EB7C4 001E8724 C0 B6 00 2C */ lfs f5, 0x2c(r22) /* 801EB7C8 001E8728 38 61 00 48 */ addi r3, r1, 0x48 /* 801EB7CC 001E872C C0 01 00 EC */ lfs f0, 0xec(r1) /* 801EB7D0 001E8730 C0 96 00 1C */ lfs f4, 0x1c(r22) /* 801EB7D4 001E8734 C0 56 00 0C */ lfs f2, 0xc(r22) /* 801EB7D8 001E8738 EC 60 28 28 */ fsubs f3, f0, f5 /* 801EB7DC 001E873C C0 21 00 E8 */ lfs f1, 0xe8(r1) /* 801EB7E0 001E8740 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 801EB7E4 001E8744 EC 21 20 28 */ fsubs f1, f1, f4 /* 801EB7E8 001E8748 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801EB7EC 001E874C EC 00 10 28 */ fsubs f0, f0, f2 /* 801EB7F0 001E8750 D0 81 00 DC */ stfs f4, 0xdc(r1) /* 801EB7F4 001E8754 D0 A1 00 E0 */ stfs f5, 0xe0(r1) /* 801EB7F8 001E8758 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801EB7FC 001E875C D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801EB800 001E8760 D0 61 00 50 */ stfs f3, 0x50(r1) /* 801EB804 001E8764 48 12 90 B5 */ bl Magnitude__9CVector3fCFv /* 801EB808 001E8768 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EB80C 001E876C 3C 60 80 47 */ lis r3, lbl_8046C938@ha /* 801EB810 001E8770 38 E3 C9 38 */ addi r7, r3, lbl_8046C938@l /* 801EB814 001E8774 C0 81 00 E8 */ lfs f4, 0xe8(r1) /* 801EB818 001E8778 EC C0 08 24 */ fdivs f6, f0, f1 /* 801EB81C 001E877C C0 41 00 DC */ lfs f2, 0xdc(r1) /* 801EB820 001E8780 C0 61 00 EC */ lfs f3, 0xec(r1) /* 801EB824 001E8784 7F E4 FB 78 */ mr r4, r31 /* 801EB828 001E8788 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 801EB82C 001E878C 38 61 01 F8 */ addi r3, r1, 0x1f8 /* 801EB830 001E8790 EC 84 10 28 */ fsubs f4, f4, f2 /* 801EB834 001E8794 C0 41 00 E4 */ lfs f2, 0xe4(r1) /* 801EB838 001E8798 EC 63 00 28 */ fsubs f3, f3, f0 /* 801EB83C 001E879C C0 01 00 D8 */ lfs f0, 0xd8(r1) /* 801EB840 001E87A0 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 801EB844 001E87A4 38 C1 00 3C */ addi r6, r1, 0x3c /* 801EB848 001E87A8 EC 42 00 28 */ fsubs f2, f2, f0 /* 801EB84C 001E87AC D0 81 00 34 */ stfs f4, 0x34(r1) /* 801EB850 001E87B0 EC A6 01 32 */ fmuls f5, f6, f4 /* 801EB854 001E87B4 EC 86 00 F2 */ fmuls f4, f6, f3 /* 801EB858 001E87B8 D0 61 00 38 */ stfs f3, 0x38(r1) /* 801EB85C 001E87BC EC 06 00 B2 */ fmuls f0, f6, f2 /* 801EB860 001E87C0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801EB864 001E87C4 D0 A1 00 40 */ stfs f5, 0x40(r1) /* 801EB868 001E87C8 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801EB86C 001E87CC D0 81 00 44 */ stfs f4, 0x44(r1) /* 801EB870 001E87D0 4B E6 17 29 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801EB874 001E87D4 88 01 02 18 */ lbz r0, 0x218(r1) /* 801EB878 001E87D8 28 00 00 00 */ cmplwi r0, 0 /* 801EB87C 001E87DC 40 82 00 18 */ bne lbl_801EB894 /* 801EB880 001E87E0 7F C3 F3 78 */ mr r3, r30 /* 801EB884 001E87E4 7E C4 B3 78 */ mr r4, r22 /* 801EB888 001E87E8 38 A1 00 E4 */ addi r5, r1, 0xe4 /* 801EB88C 001E87EC 4B FF EC 89 */ bl LaunchBoid__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3f /* 801EB890 001E87F0 3A 73 00 01 */ addi r19, r19, 1 lbl_801EB894: /* 801EB894 001E87F4 3A D6 00 84 */ addi r22, r22, 0x84 lbl_801EB898: /* 801EB898 001E87F8 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EB89C 001E87FC 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801EB8A0 001E8800 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EB8A4 001E8804 7C 03 02 14 */ add r0, r3, r0 /* 801EB8A8 001E8808 7C 16 00 40 */ cmplw r22, r0 /* 801EB8AC 001E880C 41 82 00 10 */ beq lbl_801EB8BC /* 801EB8B0 001E8810 80 1E 05 54 */ lwz r0, 0x554(r30) /* 801EB8B4 001E8814 7C 13 00 00 */ cmpw r19, r0 /* 801EB8B8 001E8818 41 80 FE 68 */ blt lbl_801EB720 lbl_801EB8BC: /* 801EB8BC 001E881C 38 00 39 18 */ li r0, 0x3918 /* 801EB8C0 001E8820 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 801EB8C4 001E8824 CB E1 39 10 */ lfd f31, 0x3910(r1) /* 801EB8C8 001E8828 38 00 39 08 */ li r0, 0x3908 /* 801EB8CC 001E882C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 /* 801EB8D0 001E8830 CB C1 39 00 */ lfd f30, 0x3900(r1) /* 801EB8D4 001E8834 38 00 38 F8 */ li r0, 0x38f8 /* 801EB8D8 001E8838 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 /* 801EB8DC 001E883C CB A1 38 F0 */ lfd f29, 0x38f0(r1) /* 801EB8E0 001E8840 BA 61 38 BC */ lmw r19, 0x38bc(r1) /* 801EB8E4 001E8844 80 01 39 24 */ lwz r0, 0x3924(r1) /* 801EB8E8 001E8848 7C 08 03 A6 */ mtlr r0 /* 801EB8EC 001E884C 38 21 39 20 */ addi r1, r1, 0x3920 /* 801EB8F0 001E8850 4E 80 00 20 */ blr .global AddDoorRepulsors__17CWallCrawlerSwarmFR13CStateManager AddDoorRepulsors__17CWallCrawlerSwarmFR13CStateManager: /* 801EB8F4 001E8854 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801EB8F8 001E8858 7C 08 02 A6 */ mflr r0 /* 801EB8FC 001E885C 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801EB900 001E8860 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 801EB904 001E8864 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801EB908 001E8868 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801EB90C 001E886C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801EB910 001E8870 DB A1 00 90 */ stfd f29, 0x90(r1) /* 801EB914 001E8874 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 801EB918 001E8878 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801EB91C 001E887C 93 C1 00 88 */ stw r30, 0x88(r1) /* 801EB920 001E8880 93 A1 00 84 */ stw r29, 0x84(r1) /* 801EB924 001E8884 93 81 00 80 */ stw r28, 0x80(r1) /* 801EB928 001E8888 83 E4 08 20 */ lwz r31, 0x820(r4) /* 801EB92C 001E888C 7C 7D 1B 78 */ mr r29, r3 /* 801EB930 001E8890 3B C0 00 00 */ li r30, 0 /* 801EB934 001E8894 AB 9F 20 08 */ lha r28, 0x2008(r31) /* 801EB938 001E8898 48 00 00 5C */ b lbl_801EB994 lbl_801EB93C: /* 801EB93C 001E889C 7F E3 FB 78 */ mr r3, r31 /* 801EB940 001E88A0 7F 84 E3 78 */ mr r4, r28 /* 801EB944 001E88A4 4B E2 43 D1 */ bl __vc__11CObjectListFi /* 801EB948 001E88A8 7C 60 1B 78 */ mr r0, r3 /* 801EB94C 001E88AC 38 61 00 10 */ addi r3, r1, 0x10 /* 801EB950 001E88B0 7C 04 03 78 */ mr r4, r0 /* 801EB954 001E88B4 4B EB E7 9D */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" /* 801EB958 001E88B8 80 63 00 04 */ lwz r3, 4(r3) /* 801EB95C 001E88BC 28 03 00 00 */ cmplwi r3, 0 /* 801EB960 001E88C0 41 82 00 18 */ beq lbl_801EB978 /* 801EB964 001E88C4 80 63 00 04 */ lwz r3, 4(r3) /* 801EB968 001E88C8 80 1D 00 04 */ lwz r0, 4(r29) /* 801EB96C 001E88CC 7C 03 00 00 */ cmpw r3, r0 /* 801EB970 001E88D0 40 82 00 08 */ bne lbl_801EB978 /* 801EB974 001E88D4 3B DE 00 01 */ addi r30, r30, 1 lbl_801EB978: /* 801EB978 001E88D8 2C 1C FF FF */ cmpwi r28, -1 /* 801EB97C 001E88DC 41 82 00 14 */ beq lbl_801EB990 /* 801EB980 001E88E0 57 83 18 38 */ slwi r3, r28, 3 /* 801EB984 001E88E4 38 03 00 08 */ addi r0, r3, 8 /* 801EB988 001E88E8 7F 9F 02 AE */ lhax r28, r31, r0 /* 801EB98C 001E88EC 48 00 00 08 */ b lbl_801EB994 lbl_801EB990: /* 801EB990 001E88F0 3B 80 FF FF */ li r28, -1 lbl_801EB994: /* 801EB994 001E88F4 2C 1C FF FF */ cmpwi r28, -1 /* 801EB998 001E88F8 40 82 FF A4 */ bne lbl_801EB93C /* 801EB99C 001E88FC 7F C4 F3 78 */ mr r4, r30 /* 801EB9A0 001E8900 38 7D 04 E0 */ addi r3, r29, 0x4e0 /* 801EB9A4 001E8904 48 00 37 41 */ bl sub_801ef0e4 /* 801EB9A8 001E8908 AB DF 20 08 */ lha r30, 0x2008(r31) /* 801EB9AC 001E890C 48 00 01 9C */ b lbl_801EBB48 lbl_801EB9B0: /* 801EB9B0 001E8910 7F E3 FB 78 */ mr r3, r31 /* 801EB9B4 001E8914 7F C4 F3 78 */ mr r4, r30 /* 801EB9B8 001E8918 4B E2 43 5D */ bl __vc__11CObjectListFi /* 801EB9BC 001E891C 7C 60 1B 78 */ mr r0, r3 /* 801EB9C0 001E8920 38 61 00 08 */ addi r3, r1, 8 /* 801EB9C4 001E8924 7C 04 03 78 */ mr r4, r0 /* 801EB9C8 001E8928 4B EB E7 29 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" /* 801EB9CC 001E892C 80 83 00 04 */ lwz r4, 4(r3) /* 801EB9D0 001E8930 28 04 00 00 */ cmplwi r4, 0 /* 801EB9D4 001E8934 41 82 01 58 */ beq lbl_801EBB2C /* 801EB9D8 001E8938 80 64 00 04 */ lwz r3, 4(r4) /* 801EB9DC 001E893C 80 1D 00 04 */ lwz r0, 4(r29) /* 801EB9E0 001E8940 7C 03 00 00 */ cmpw r3, r0 /* 801EB9E4 001E8944 40 82 01 48 */ bne lbl_801EBB2C /* 801EB9E8 001E8948 81 84 00 00 */ lwz r12, 0(r4) /* 801EB9EC 001E894C 38 61 00 3C */ addi r3, r1, 0x3c /* 801EB9F0 001E8950 81 8C 00 40 */ lwz r12, 0x40(r12) /* 801EB9F4 001E8954 7D 89 03 A6 */ mtctr r12 /* 801EB9F8 001E8958 4E 80 04 21 */ bctrl /* 801EB9FC 001E895C 88 01 00 54 */ lbz r0, 0x54(r1) /* 801EBA00 001E8960 28 00 00 00 */ cmplwi r0, 0 /* 801EBA04 001E8964 98 01 00 70 */ stb r0, 0x70(r1) /* 801EBA08 001E8968 41 82 00 3C */ beq lbl_801EBA44 /* 801EBA0C 001E896C 34 61 00 58 */ addic. r3, r1, 0x58 /* 801EBA10 001E8970 41 82 00 34 */ beq lbl_801EBA44 /* 801EBA14 001E8974 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801EBA18 001E8978 D0 03 00 00 */ stfs f0, 0(r3) /* 801EBA1C 001E897C C0 01 00 40 */ lfs f0, 0x40(r1) /* 801EBA20 001E8980 D0 03 00 04 */ stfs f0, 4(r3) /* 801EBA24 001E8984 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801EBA28 001E8988 D0 03 00 08 */ stfs f0, 8(r3) /* 801EBA2C 001E898C C0 01 00 48 */ lfs f0, 0x48(r1) /* 801EBA30 001E8990 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801EBA34 001E8994 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801EBA38 001E8998 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801EBA3C 001E899C C0 01 00 50 */ lfs f0, 0x50(r1) /* 801EBA40 001E89A0 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801EBA44: /* 801EBA44 001E89A4 88 01 00 70 */ lbz r0, 0x70(r1) /* 801EBA48 001E89A8 38 60 00 00 */ li r3, 0 /* 801EBA4C 001E89AC 98 61 00 54 */ stb r3, 0x54(r1) /* 801EBA50 001E89B0 28 00 00 00 */ cmplwi r0, 0 /* 801EBA54 001E89B4 41 82 00 D0 */ beq lbl_801EBB24 /* 801EBA58 001E89B8 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801EBA5C 001E89BC 38 61 00 30 */ addi r3, r1, 0x30 /* 801EBA60 001E89C0 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801EBA64 001E89C4 C0 61 00 60 */ lfs f3, 0x60(r1) /* 801EBA68 001E89C8 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 801EBA6C 001E89CC EC 81 00 28 */ fsubs f4, f1, f0 /* 801EBA70 001E89D0 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801EBA74 001E89D4 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801EBA78 001E89D8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801EBA7C 001E89DC D0 81 00 34 */ stfs f4, 0x34(r1) /* 801EBA80 001E89E0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801EBA84 001E89E4 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801EBA88 001E89E8 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801EBA8C 001E89EC 48 12 8E 2D */ bl Magnitude__9CVector3fCFv /* 801EBA90 001E89F0 FF E0 08 90 */ fmr f31, f1 /* 801EBA94 001E89F4 38 61 00 18 */ addi r3, r1, 0x18 /* 801EBA98 001E89F8 38 81 00 58 */ addi r4, r1, 0x58 /* 801EBA9C 001E89FC 48 14 BB 71 */ bl GetCenterPoint__6CAABoxCFv /* 801EBAA0 001E8A00 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801EBAA4 001E8A04 80 01 00 20 */ lwz r0, 0x20(r1) /* 801EBAA8 001E8A08 C0 02 AE 18 */ lfs f0, lbl_805ACB38@sda21(r2) /* 801EBAAC 001E8A0C 90 61 00 28 */ stw r3, 0x28(r1) /* 801EBAB0 001E8A10 80 61 00 18 */ lwz r3, 0x18(r1) /* 801EBAB4 001E8A14 EF A0 07 F2 */ fmuls f29, f0, f31 /* 801EBAB8 001E8A18 90 01 00 2C */ stw r0, 0x2c(r1) /* 801EBABC 001E8A1C 80 1D 04 E4 */ lwz r0, 0x4e4(r29) /* 801EBAC0 001E8A20 80 BD 04 E8 */ lwz r5, 0x4e8(r29) /* 801EBAC4 001E8A24 90 61 00 24 */ stw r3, 0x24(r1) /* 801EBAC8 001E8A28 7C 00 28 00 */ cmpw r0, r5 /* 801EBACC 001E8A2C C3 E1 00 28 */ lfs f31, 0x28(r1) /* 801EBAD0 001E8A30 C3 C1 00 2C */ lfs f30, 0x2c(r1) /* 801EBAD4 001E8A34 41 80 00 1C */ blt lbl_801EBAF0 /* 801EBAD8 001E8A38 2C 05 00 00 */ cmpwi r5, 0 /* 801EBADC 001E8A3C 38 7D 04 E0 */ addi r3, r29, 0x4e0 /* 801EBAE0 001E8A40 38 80 00 04 */ li r4, 4 /* 801EBAE4 001E8A44 41 82 00 08 */ beq lbl_801EBAEC /* 801EBAE8 001E8A48 54 A4 08 3C */ slwi r4, r5, 1 lbl_801EBAEC: /* 801EBAEC 001E8A4C 48 00 35 F9 */ bl sub_801ef0e4 lbl_801EBAF0: /* 801EBAF0 001E8A50 80 1D 04 E4 */ lwz r0, 0x4e4(r29) /* 801EBAF4 001E8A54 80 7D 04 EC */ lwz r3, 0x4ec(r29) /* 801EBAF8 001E8A58 54 00 20 36 */ slwi r0, r0, 4 /* 801EBAFC 001E8A5C 7C 63 02 15 */ add. r3, r3, r0 /* 801EBB00 001E8A60 41 82 00 18 */ beq lbl_801EBB18 /* 801EBB04 001E8A64 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801EBB08 001E8A68 D0 03 00 00 */ stfs f0, 0(r3) /* 801EBB0C 001E8A6C D3 E3 00 04 */ stfs f31, 4(r3) /* 801EBB10 001E8A70 D3 C3 00 08 */ stfs f30, 8(r3) /* 801EBB14 001E8A74 D3 A3 00 0C */ stfs f29, 0xc(r3) lbl_801EBB18: /* 801EBB18 001E8A78 80 7D 04 E4 */ lwz r3, 0x4e4(r29) /* 801EBB1C 001E8A7C 38 03 00 01 */ addi r0, r3, 1 /* 801EBB20 001E8A80 90 1D 04 E4 */ stw r0, 0x4e4(r29) lbl_801EBB24: /* 801EBB24 001E8A84 38 00 00 00 */ li r0, 0 /* 801EBB28 001E8A88 98 01 00 70 */ stb r0, 0x70(r1) lbl_801EBB2C: /* 801EBB2C 001E8A8C 2C 1E FF FF */ cmpwi r30, -1 /* 801EBB30 001E8A90 41 82 00 14 */ beq lbl_801EBB44 /* 801EBB34 001E8A94 57 C3 18 38 */ slwi r3, r30, 3 /* 801EBB38 001E8A98 38 03 00 08 */ addi r0, r3, 8 /* 801EBB3C 001E8A9C 7F DF 02 AE */ lhax r30, r31, r0 /* 801EBB40 001E8AA0 48 00 00 08 */ b lbl_801EBB48 lbl_801EBB44: /* 801EBB44 001E8AA4 3B C0 FF FF */ li r30, -1 lbl_801EBB48: /* 801EBB48 001E8AA8 2C 1E FF FF */ cmpwi r30, -1 /* 801EBB4C 001E8AAC 40 82 FE 64 */ bne lbl_801EB9B0 /* 801EBB50 001E8AB0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 801EBB54 001E8AB4 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 801EBB58 001E8AB8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 801EBB5C 001E8ABC CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 801EBB60 001E8AC0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 801EBB64 001E8AC4 CB A1 00 90 */ lfd f29, 0x90(r1) /* 801EBB68 001E8AC8 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801EBB6C 001E8ACC 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801EBB70 001E8AD0 83 A1 00 84 */ lwz r29, 0x84(r1) /* 801EBB74 001E8AD4 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801EBB78 001E8AD8 83 81 00 80 */ lwz r28, 0x80(r1) /* 801EBB7C 001E8ADC 7C 08 03 A6 */ mtlr r0 /* 801EBB80 001E8AE0 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801EBB84 001E8AE4 4E 80 00 20 */ blr .global UpdateBoid__17CWallCrawlerSwarmFR19CAreaCollisionCacheR13CStateManagerfRQ217CWallCrawlerSwarm5CBoid UpdateBoid__17CWallCrawlerSwarmFR19CAreaCollisionCacheR13CStateManagerfRQ217CWallCrawlerSwarm5CBoid: /* 801EBB88 001E8AE8 94 21 FA E0 */ stwu r1, -0x520(r1) /* 801EBB8C 001E8AEC 7C 08 02 A6 */ mflr r0 /* 801EBB90 001E8AF0 90 01 05 24 */ stw r0, 0x524(r1) /* 801EBB94 001E8AF4 DB E1 05 10 */ stfd f31, 0x510(r1) /* 801EBB98 001E8AF8 F3 E1 05 18 */ psq_st f31, 1304(r1), 0, qr0 /* 801EBB9C 001E8AFC DB C1 05 00 */ stfd f30, 0x500(r1) /* 801EBBA0 001E8B00 F3 C1 05 08 */ psq_st f30, 1288(r1), 0, qr0 /* 801EBBA4 001E8B04 DB A1 04 F0 */ stfd f29, 0x4f0(r1) /* 801EBBA8 001E8B08 F3 A1 04 F8 */ psq_st f29, 1272(r1), 0, qr0 /* 801EBBAC 001E8B0C DB 81 04 E0 */ stfd f28, 0x4e0(r1) /* 801EBBB0 001E8B10 F3 81 04 E8 */ psq_st f28, 1256(r1), 0, qr0 /* 801EBBB4 001E8B14 DB 61 04 D0 */ stfd f27, 0x4d0(r1) /* 801EBBB8 001E8B18 F3 61 04 D8 */ psq_st f27, 1240(r1), 0, qr0 /* 801EBBBC 001E8B1C DB 41 04 C0 */ stfd f26, 0x4c0(r1) /* 801EBBC0 001E8B20 F3 41 04 C8 */ psq_st f26, 1224(r1), 0, qr0 /* 801EBBC4 001E8B24 DB 21 04 B0 */ stfd f25, 0x4b0(r1) /* 801EBBC8 001E8B28 F3 21 04 B8 */ psq_st f25, 1208(r1), 0, qr0 /* 801EBBCC 001E8B2C DB 01 04 A0 */ stfd f24, 0x4a0(r1) /* 801EBBD0 001E8B30 F3 01 04 A8 */ psq_st f24, 1192(r1), 0, qr0 /* 801EBBD4 001E8B34 DA E1 04 90 */ stfd f23, 0x490(r1) /* 801EBBD8 001E8B38 F2 E1 04 98 */ psq_st f23, 1176(r1), 0, qr0 /* 801EBBDC 001E8B3C DA C1 04 80 */ stfd f22, 0x480(r1) /* 801EBBE0 001E8B40 F2 C1 04 88 */ psq_st f22, 1160(r1), 0, qr0 /* 801EBBE4 001E8B44 DA A1 04 70 */ stfd f21, 0x470(r1) /* 801EBBE8 001E8B48 F2 A1 04 78 */ psq_st f21, 1144(r1), 0, qr0 /* 801EBBEC 001E8B4C DA 81 04 60 */ stfd f20, 0x460(r1) /* 801EBBF0 001E8B50 F2 81 04 68 */ psq_st f20, 1128(r1), 0, qr0 /* 801EBBF4 001E8B54 DA 61 04 50 */ stfd f19, 0x450(r1) /* 801EBBF8 001E8B58 F2 61 04 58 */ psq_st f19, 1112(r1), 0, qr0 /* 801EBBFC 001E8B5C BF 41 04 38 */ stmw r26, 0x438(r1) /* 801EBC00 001E8B60 7C DE 33 78 */ mr r30, r6 /* 801EBC04 001E8B64 88 C6 00 80 */ lbz r6, 0x80(r6) /* 801EBC08 001E8B68 FE 60 08 90 */ fmr f19, f1 /* 801EBC0C 001E8B6C 7C 7B 1B 78 */ mr r27, r3 /* 801EBC10 001E8B70 54 C0 E7 FF */ rlwinm. r0, r6, 0x1c, 0x1f, 0x1f /* 801EBC14 001E8B74 7C 9C 23 78 */ mr r28, r4 /* 801EBC18 001E8B78 7C BD 2B 78 */ mr r29, r5 /* 801EBC1C 001E8B7C 41 82 00 48 */ beq lbl_801EBC64 /* 801EBC20 001E8B80 80 1B 05 58 */ lwz r0, 0x558(r27) /* 801EBC24 001E8B84 2C 00 00 01 */ cmpwi r0, 1 /* 801EBC28 001E8B88 40 82 09 2C */ bne lbl_801EC554 /* 801EBC2C 001E8B8C C0 5E 00 4C */ lfs f2, 0x4c(r30) /* 801EBC30 001E8B90 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EBC34 001E8B94 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801EBC38 001E8B98 40 81 09 1C */ ble lbl_801EC554 /* 801EBC3C 001E8B9C C0 02 AD EC */ lfs f0, lbl_805ACB0C@sda21(r2) /* 801EBC40 001E8BA0 EC 00 14 FC */ fnmsubs f0, f0, f19, f2 /* 801EBC44 001E8BA4 D0 1E 00 4C */ stfs f0, 0x4c(r30) /* 801EBC48 001E8BA8 C0 1E 00 4C */ lfs f0, 0x4c(r30) /* 801EBC4C 001E8BAC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801EBC50 001E8BB0 4C 40 13 82 */ cror 2, 0, 2 /* 801EBC54 001E8BB4 40 82 09 00 */ bne lbl_801EC554 /* 801EBC58 001E8BB8 7F C4 F3 78 */ mr r4, r30 /* 801EBC5C 001E8BBC 4B FF C4 49 */ bl sub_801e80a4 /* 801EBC60 001E8BC0 48 00 08 F4 */ b lbl_801EC554 lbl_801EBC64: /* 801EBC64 001E8BC4 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f /* 801EBC68 001E8BC8 41 82 03 2C */ beq lbl_801EBF94 /* 801EBC6C 001E8BCC C0 02 AD EC */ lfs f0, lbl_805ACB0C@sda21(r2) /* 801EBC70 001E8BD0 38 7E 00 30 */ addi r3, r30, 0x30 /* 801EBC74 001E8BD4 C2 DB 03 74 */ lfs f22, 0x374(r27) /* 801EBC78 001E8BD8 EE A0 05 B2 */ fmuls f21, f0, f22 /* 801EBC7C 001E8BDC 48 12 8C 3D */ bl Magnitude__9CVector3fCFv /* 801EBC80 001E8BE0 C3 A2 AD B4 */ lfs f29, lbl_805ACAD4@sda21(r2) /* 801EBC84 001E8BE4 EE 81 04 F2 */ fmuls f20, f1, f19 /* 801EBC88 001E8BE8 C0 5E 00 30 */ lfs f2, 0x30(r30) /* 801EBC8C 001E8BEC 3B A0 00 00 */ li r29, 0 /* 801EBC90 001E8BF0 EC 7D 08 24 */ fdivs f3, f29, f1 /* 801EBC94 001E8BF4 C0 3E 00 34 */ lfs f1, 0x34(r30) /* 801EBC98 001E8BF8 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801EBC9C 001E8BFC C3 9E 00 0C */ lfs f28, 0xc(r30) /* 801EBCA0 001E8C00 C3 7E 00 1C */ lfs f27, 0x1c(r30) /* 801EBCA4 001E8C04 C3 5E 00 2C */ lfs f26, 0x2c(r30) /* 801EBCA8 001E8C08 FC 40 10 50 */ fneg f2, f2 /* 801EBCAC 001E8C0C C3 C2 AD A0 */ lfs f30, lbl_805ACAC0@sda21(r2) /* 801EBCB0 001E8C10 FC 20 08 50 */ fneg f1, f1 /* 801EBCB4 001E8C14 C3 E2 AD D0 */ lfs f31, lbl_805ACAF0@sda21(r2) /* 801EBCB8 001E8C18 FC 00 00 50 */ fneg f0, f0 /* 801EBCBC 001E8C1C EC 43 00 B2 */ fmuls f2, f3, f2 /* 801EBCC0 001E8C20 EC 23 00 72 */ fmuls f1, f3, f1 /* 801EBCC4 001E8C24 EC 03 00 32 */ fmuls f0, f3, f0 /* 801EBCC8 001E8C28 EF 36 00 B2 */ fmuls f25, f22, f2 /* 801EBCCC 001E8C2C EF 16 00 72 */ fmuls f24, f22, f1 /* 801EBCD0 001E8C30 EE F6 00 32 */ fmuls f23, f22, f0 /* 801EBCD4 001E8C34 48 00 02 38 */ b lbl_801EBF0C lbl_801EBCD8: /* 801EBCD8 001E8C38 D3 C1 01 08 */ stfs f30, 0x108(r1) /* 801EBCDC 001E8C3C 38 61 03 3C */ addi r3, r1, 0x33c /* 801EBCE0 001E8C40 38 81 01 20 */ addi r4, r1, 0x120 /* 801EBCE4 001E8C44 38 A1 01 14 */ addi r5, r1, 0x114 /* 801EBCE8 001E8C48 D3 C1 01 0C */ stfs f30, 0x10c(r1) /* 801EBCEC 001E8C4C 38 C1 01 08 */ addi r6, r1, 0x108 /* 801EBCF0 001E8C50 38 E0 FF FF */ li r7, -1 /* 801EBCF4 001E8C54 D3 A1 01 10 */ stfs f29, 0x110(r1) /* 801EBCF8 001E8C58 D3 C1 01 14 */ stfs f30, 0x114(r1) /* 801EBCFC 001E8C5C D3 A1 01 18 */ stfs f29, 0x118(r1) /* 801EBD00 001E8C60 D3 C1 01 1C */ stfs f30, 0x11c(r1) /* 801EBD04 001E8C64 D3 A1 01 20 */ stfs f29, 0x120(r1) /* 801EBD08 001E8C68 D3 C1 01 24 */ stfs f30, 0x124(r1) /* 801EBD0C 001E8C6C D3 C1 01 28 */ stfs f30, 0x128(r1) /* 801EBD10 001E8C70 48 0B 6A 19 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi /* 801EBD14 001E8C74 C0 7E 00 34 */ lfs f3, 0x34(r30) /* 801EBD18 001E8C78 FC 20 A8 90 */ fmr f1, f21 /* 801EBD1C 001E8C7C C0 5E 00 38 */ lfs f2, 0x38(r30) /* 801EBD20 001E8C80 7F 63 DB 78 */ mr r3, r27 /* 801EBD24 001E8C84 C0 1E 00 30 */ lfs f0, 0x30(r30) /* 801EBD28 001E8C88 EC 73 00 F2 */ fmuls f3, f19, f3 /* 801EBD2C 001E8C8C EC 53 00 B2 */ fmuls f2, f19, f2 /* 801EBD30 001E8C90 EC 13 00 32 */ fmuls f0, f19, f0 /* 801EBD34 001E8C94 7F 84 E3 78 */ mr r4, r28 /* 801EBD38 001E8C98 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 801EBD3C 001E8C9C 38 A1 00 FC */ addi r5, r1, 0xfc /* 801EBD40 001E8CA0 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801EBD44 001E8CA4 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801EBD48 001E8CA8 EC 7B 18 2A */ fadds f3, f27, f3 /* 801EBD4C 001E8CAC 38 C1 03 3C */ addi r6, r1, 0x33c /* 801EBD50 001E8CB0 EC 5A 10 2A */ fadds f2, f26, f2 /* 801EBD54 001E8CB4 EC 1C 00 2A */ fadds f0, f28, f0 /* 801EBD58 001E8CB8 D0 61 01 8C */ stfs f3, 0x18c(r1) /* 801EBD5C 001E8CBC D0 01 01 88 */ stfs f0, 0x188(r1) /* 801EBD60 001E8CC0 80 E1 01 8C */ lwz r7, 0x18c(r1) /* 801EBD64 001E8CC4 D0 41 01 90 */ stfs f2, 0x190(r1) /* 801EBD68 001E8CC8 81 01 01 88 */ lwz r8, 0x188(r1) /* 801EBD6C 001E8CCC 80 01 01 90 */ lwz r0, 0x190(r1) /* 801EBD70 001E8CD0 91 01 00 FC */ stw r8, 0xfc(r1) /* 801EBD74 001E8CD4 90 E1 01 00 */ stw r7, 0x100(r1) /* 801EBD78 001E8CD8 90 01 01 04 */ stw r0, 0x104(r1) /* 801EBD7C 001E8CDC 48 00 08 55 */ bl FindBestSurface__17CWallCrawlerSwarmFRC19CAreaCollisionCache9CVector3ffR17CCollisionSurface /* 801EBD80 001E8CE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EBD84 001E8CE4 41 82 01 78 */ beq lbl_801EBEFC /* 801EBD88 001E8CE8 A0 1E 00 7E */ lhz r0, 0x7e(r30) /* 801EBD8C 001E8CEC 54 00 D6 3F */ rlwinm. r0, r0, 0x1a, 0x18, 0x1f /* 801EBD90 001E8CF0 40 82 01 6C */ bne lbl_801EBEFC /* 801EBD94 001E8CF4 80 1B 05 58 */ lwz r0, 0x558(r27) /* 801EBD98 001E8CF8 2C 00 00 01 */ cmpwi r0, 1 /* 801EBD9C 001E8CFC 41 82 00 60 */ beq lbl_801EBDFC /* 801EBDA0 001E8D00 C0 02 AD DC */ lfs f0, lbl_805ACAFC@sda21(r2) /* 801EBDA4 001E8D04 38 61 00 E4 */ addi r3, r1, 0xe4 /* 801EBDA8 001E8D08 38 81 03 3C */ addi r4, r1, 0x33c /* 801EBDAC 001E8D0C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801EBDB0 001E8D10 C0 5E 00 28 */ lfs f2, 0x28(r30) /* 801EBDB4 001E8D14 C0 3E 00 18 */ lfs f1, 0x18(r30) /* 801EBDB8 001E8D18 C0 1E 00 08 */ lfs f0, 8(r30) /* 801EBDBC 001E8D1C D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 801EBDC0 001E8D20 D0 21 00 F4 */ stfs f1, 0xf4(r1) /* 801EBDC4 001E8D24 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 801EBDC8 001E8D28 48 0B 68 DD */ bl GetNormal__17CCollisionSurfaceCFv /* 801EBDCC 001E8D2C 38 61 02 B4 */ addi r3, r1, 0x2b4 /* 801EBDD0 001E8D30 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801EBDD4 001E8D34 38 A1 00 E4 */ addi r5, r1, 0xe4 /* 801EBDD8 001E8D38 38 C1 00 18 */ addi r6, r1, 0x18 /* 801EBDDC 001E8D3C 48 00 2F D1 */ bl LookAt__F9CVector3f9CVector3ff /* 801EBDE0 001E8D40 7F C5 F3 78 */ mr r5, r30 /* 801EBDE4 001E8D44 38 61 02 E4 */ addi r3, r1, 0x2e4 /* 801EBDE8 001E8D48 38 81 02 B4 */ addi r4, r1, 0x2b4 /* 801EBDEC 001E8D4C 48 12 71 45 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801EBDF0 001E8D50 7F C3 F3 78 */ mr r3, r30 /* 801EBDF4 001E8D54 38 81 02 E4 */ addi r4, r1, 0x2e4 /* 801EBDF8 001E8D58 48 12 6D 49 */ bl __as__12CTransform4fFRC12CTransform4f lbl_801EBDFC: /* 801EBDFC 001E8D5C 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801EBE00 001E8D60 38 81 03 3C */ addi r4, r1, 0x33c /* 801EBE04 001E8D64 48 0B 68 31 */ bl GetPlane__17CCollisionSurfaceCFv /* 801EBE08 001E8D68 C0 C1 00 D8 */ lfs f6, 0xd8(r1) /* 801EBE0C 001E8D6C 38 60 00 00 */ li r3, 0 /* 801EBE10 001E8D70 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 801EBE14 001E8D74 C0 E1 00 D4 */ lfs f7, 0xd4(r1) /* 801EBE18 001E8D78 EC 06 00 32 */ fmuls f0, f6, f0 /* 801EBE1C 001E8D7C C0 5E 00 0C */ lfs f2, 0xc(r30) /* 801EBE20 001E8D80 C0 A1 00 DC */ lfs f5, 0xdc(r1) /* 801EBE24 001E8D84 C0 81 00 E0 */ lfs f4, 0xe0(r1) /* 801EBE28 001E8D88 EC 27 00 BA */ fmadds f1, f7, f2, f0 /* 801EBE2C 001E8D8C C0 7E 00 2C */ lfs f3, 0x2c(r30) /* 801EBE30 001E8D90 C0 02 AE 1C */ lfs f0, lbl_805ACB3C@sda21(r2) /* 801EBE34 001E8D94 D0 E1 01 78 */ stfs f7, 0x178(r1) /* 801EBE38 001E8D98 EC 25 08 FA */ fmadds f1, f5, f3, f1 /* 801EBE3C 001E8D9C D0 C1 01 7C */ stfs f6, 0x17c(r1) /* 801EBE40 001E8DA0 EC 21 20 28 */ fsubs f1, f1, f4 /* 801EBE44 001E8DA4 D0 A1 01 80 */ stfs f5, 0x180(r1) /* 801EBE48 001E8DA8 D0 81 01 84 */ stfs f4, 0x184(r1) /* 801EBE4C 001E8DAC EC 21 B0 28 */ fsubs f1, f1, f22 /* 801EBE50 001E8DB0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801EBE54 001E8DB4 FC 00 00 50 */ fneg f0, f0 /* 801EBE58 001E8DB8 EC 60 01 F2 */ fmuls f3, f0, f7 /* 801EBE5C 001E8DBC EC 20 01 B2 */ fmuls f1, f0, f6 /* 801EBE60 001E8DC0 EC 00 01 72 */ fmuls f0, f0, f5 /* 801EBE64 001E8DC4 EC 42 18 2A */ fadds f2, f2, f3 /* 801EBE68 001E8DC8 D0 5E 00 0C */ stfs f2, 0xc(r30) /* 801EBE6C 001E8DCC C0 5E 00 1C */ lfs f2, 0x1c(r30) /* 801EBE70 001E8DD0 EC 22 08 2A */ fadds f1, f2, f1 /* 801EBE74 001E8DD4 D0 3E 00 1C */ stfs f1, 0x1c(r30) /* 801EBE78 001E8DD8 C0 3E 00 2C */ lfs f1, 0x2c(r30) /* 801EBE7C 001E8DDC EC 01 00 2A */ fadds f0, f1, f0 /* 801EBE80 001E8DE0 D0 1E 00 2C */ stfs f0, 0x2c(r30) /* 801EBE84 001E8DE4 98 7E 00 7C */ stb r3, 0x7c(r30) /* 801EBE88 001E8DE8 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EBE8C 001E8DEC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801EBE90 001E8DF0 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EBE94 001E8DF4 80 1B 05 58 */ lwz r0, 0x558(r27) /* 801EBE98 001E8DF8 2C 00 00 01 */ cmpwi r0, 1 /* 801EBE9C 001E8DFC 40 82 00 5C */ bne lbl_801EBEF8 /* 801EBEA0 001E8E00 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EBEA4 001E8E04 38 60 00 01 */ li r3, 1 /* 801EBEA8 001E8E08 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801EBEAC 001E8E0C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801EBEB0 001E8E10 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EBEB4 001E8E14 3C 60 80 5A */ lis r3, skZero3f@ha /* 801EBEB8 001E8E18 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801EBEBC 001E8E1C 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 801EBEC0 001E8E20 C0 1B 01 5C */ lfs f0, 0x15c(r27) /* 801EBEC4 001E8E24 38 61 00 14 */ addi r3, r1, 0x14 /* 801EBEC8 001E8E28 38 E0 00 01 */ li r7, 1 /* 801EBECC 001E8E2C 39 00 00 00 */ li r8, 0 /* 801EBED0 001E8E30 D0 1E 00 4C */ stfs f0, 0x4c(r30) /* 801EBED4 001E8E34 81 5B 00 04 */ lwz r10, 4(r27) /* 801EBED8 001E8E38 C0 5E 00 2C */ lfs f2, 0x2c(r30) /* 801EBEDC 001E8E3C C0 3E 00 1C */ lfs f1, 0x1c(r30) /* 801EBEE0 001E8E40 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801EBEE4 001E8E44 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 801EBEE8 001E8E48 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 801EBEEC 001E8E4C D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 801EBEF0 001E8E50 A0 9B 05 5E */ lhz r4, 0x55e(r27) /* 801EBEF4 001E8E54 48 0F E3 BD */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi lbl_801EBEF8: /* 801EBEF8 001E8E58 3B A0 00 01 */ li r29, 1 lbl_801EBEFC: /* 801EBEFC 001E8E5C EE 94 B0 28 */ fsubs f20, f20, f22 /* 801EBF00 001E8E60 EF 9C C8 2A */ fadds f28, f28, f25 /* 801EBF04 001E8E64 EF 7B C0 2A */ fadds f27, f27, f24 /* 801EBF08 001E8E68 EF 5A B8 2A */ fadds f26, f26, f23 lbl_801EBF0C: /* 801EBF0C 001E8E6C FC 14 F0 40 */ fcmpo cr0, f20, f30 /* 801EBF10 001E8E70 4C 41 13 82 */ cror 2, 1, 2 /* 801EBF14 001E8E74 40 82 00 0C */ bne lbl_801EBF20 /* 801EBF18 001E8E78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801EBF1C 001E8E7C 41 82 FD BC */ beq lbl_801EBCD8 lbl_801EBF20: /* 801EBF20 001E8E80 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801EBF24 001E8E84 40 82 06 30 */ bne lbl_801EC554 /* 801EBF28 001E8E88 C0 22 96 A0 */ lfs f1, lbl_805AB3C0@sda21(r2) /* 801EBF2C 001E8E8C 80 1B 05 58 */ lwz r0, 0x558(r27) /* 801EBF30 001E8E90 FC 00 08 90 */ fmr f0, f1 /* 801EBF34 001E8E94 2C 00 00 01 */ cmpwi r0, 1 /* 801EBF38 001E8E98 40 82 00 0C */ bne lbl_801EBF44 /* 801EBF3C 001E8E9C C0 02 AE 20 */ lfs f0, lbl_805ACB40@sda21(r2) /* 801EBF40 001E8EA0 EC 00 00 72 */ fmuls f0, f0, f1 lbl_801EBF44: /* 801EBF44 001E8EA4 C0 42 AD A0 */ lfs f2, lbl_805ACAC0@sda21(r2) /* 801EBF48 001E8EA8 FC 00 00 50 */ fneg f0, f0 /* 801EBF4C 001E8EAC C0 3E 00 30 */ lfs f1, 0x30(r30) /* 801EBF50 001E8EB0 EC 53 00 B2 */ fmuls f2, f19, f2 /* 801EBF54 001E8EB4 EC 13 00 32 */ fmuls f0, f19, f0 /* 801EBF58 001E8EB8 EC 21 10 2A */ fadds f1, f1, f2 /* 801EBF5C 001E8EBC D0 3E 00 30 */ stfs f1, 0x30(r30) /* 801EBF60 001E8EC0 C0 3E 00 34 */ lfs f1, 0x34(r30) /* 801EBF64 001E8EC4 EC 21 10 2A */ fadds f1, f1, f2 /* 801EBF68 001E8EC8 D0 3E 00 34 */ stfs f1, 0x34(r30) /* 801EBF6C 001E8ECC C0 3E 00 38 */ lfs f1, 0x38(r30) /* 801EBF70 001E8ED0 EC 01 00 2A */ fadds f0, f1, f0 /* 801EBF74 001E8ED4 D0 1E 00 38 */ stfs f0, 0x38(r30) /* 801EBF78 001E8ED8 A0 7E 00 7E */ lhz r3, 0x7e(r30) /* 801EBF7C 001E8EDC 54 64 D6 3F */ rlwinm. r4, r3, 0x1a, 0x18, 0x1f /* 801EBF80 001E8EE0 41 82 05 D4 */ beq lbl_801EC554 /* 801EBF84 001E8EE4 38 04 FF FF */ addi r0, r4, -1 /* 801EBF88 001E8EE8 50 03 34 B2 */ rlwimi r3, r0, 6, 0x12, 0x19 /* 801EBF8C 001E8EEC B0 7E 00 7E */ sth r3, 0x7e(r30) /* 801EBF90 001E8EF0 48 00 05 C4 */ b lbl_801EC554 lbl_801EBF94: /* 801EBF94 001E8EF4 88 1E 00 7C */ lbz r0, 0x7c(r30) /* 801EBF98 001E8EF8 28 00 00 1E */ cmplwi r0, 0x1e /* 801EBF9C 001E8EFC 41 80 00 14 */ blt lbl_801EBFB0 /* 801EBFA0 001E8F00 38 00 00 00 */ li r0, 0 /* 801EBFA4 001E8F04 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 /* 801EBFA8 001E8F08 98 DE 00 80 */ stb r6, 0x80(r30) /* 801EBFAC 001E8F0C 48 00 05 A8 */ b lbl_801EC554 lbl_801EBFB0: /* 801EBFB0 001E8F10 C0 02 AD EC */ lfs f0, lbl_805ACB0C@sda21(r2) /* 801EBFB4 001E8F14 38 61 03 14 */ addi r3, r1, 0x314 /* 801EBFB8 001E8F18 C2 DB 03 74 */ lfs f22, 0x374(r27) /* 801EBFBC 001E8F1C 38 81 00 BC */ addi r4, r1, 0xbc /* 801EBFC0 001E8F20 C3 DE 00 2C */ lfs f30, 0x2c(r30) /* 801EBFC4 001E8F24 38 A1 00 B0 */ addi r5, r1, 0xb0 /* 801EBFC8 001E8F28 C3 BE 00 1C */ lfs f29, 0x1c(r30) /* 801EBFCC 001E8F2C EE A0 05 B2 */ fmuls f21, f0, f22 /* 801EBFD0 001E8F30 C2 9E 00 0C */ lfs f20, 0xc(r30) /* 801EBFD4 001E8F34 38 C1 00 A4 */ addi r6, r1, 0xa4 /* 801EBFD8 001E8F38 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EBFDC 001E8F3C 3B E0 00 00 */ li r31, 0 /* 801EBFE0 001E8F40 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EBFE4 001E8F44 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 801EBFE8 001E8F48 38 E0 FF FF */ li r7, -1 /* 801EBFEC 001E8F4C D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801EBFF0 001E8F50 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801EBFF4 001E8F54 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801EBFF8 001E8F58 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801EBFFC 001E8F5C D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 801EC000 001E8F60 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801EC004 001E8F64 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801EC008 001E8F68 D0 21 00 C4 */ stfs f1, 0xc4(r1) /* 801EC00C 001E8F6C 48 0B 67 1D */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi /* 801EC010 001E8F70 C0 7E 00 30 */ lfs f3, 0x30(r30) /* 801EC014 001E8F74 FC 20 A8 90 */ fmr f1, f21 /* 801EC018 001E8F78 C0 5E 00 34 */ lfs f2, 0x34(r30) /* 801EC01C 001E8F7C 7F 63 DB 78 */ mr r3, r27 /* 801EC020 001E8F80 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801EC024 001E8F84 EC 73 00 F2 */ fmuls f3, f19, f3 /* 801EC028 001E8F88 C0 82 AD D0 */ lfs f4, lbl_805ACAF0@sda21(r2) /* 801EC02C 001E8F8C EC 53 00 B2 */ fmuls f2, f19, f2 /* 801EC030 001E8F90 7F 84 E3 78 */ mr r4, r28 /* 801EC034 001E8F94 EC 13 00 32 */ fmuls f0, f19, f0 /* 801EC038 001E8F98 38 A1 00 98 */ addi r5, r1, 0x98 /* 801EC03C 001E8F9C EC 64 00 F2 */ fmuls f3, f4, f3 /* 801EC040 001E8FA0 38 C1 03 14 */ addi r6, r1, 0x314 /* 801EC044 001E8FA4 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801EC048 001E8FA8 EC 04 00 32 */ fmuls f0, f4, f0 /* 801EC04C 001E8FAC EC 74 18 2A */ fadds f3, f20, f3 /* 801EC050 001E8FB0 EC 5D 10 2A */ fadds f2, f29, f2 /* 801EC054 001E8FB4 EC 1E 00 2A */ fadds f0, f30, f0 /* 801EC058 001E8FB8 D0 61 01 6C */ stfs f3, 0x16c(r1) /* 801EC05C 001E8FBC D0 41 01 70 */ stfs f2, 0x170(r1) /* 801EC060 001E8FC0 81 01 01 6C */ lwz r8, 0x16c(r1) /* 801EC064 001E8FC4 D0 01 01 74 */ stfs f0, 0x174(r1) /* 801EC068 001E8FC8 80 E1 01 70 */ lwz r7, 0x170(r1) /* 801EC06C 001E8FCC 80 01 01 74 */ lwz r0, 0x174(r1) /* 801EC070 001E8FD0 91 01 00 98 */ stw r8, 0x98(r1) /* 801EC074 001E8FD4 90 E1 00 9C */ stw r7, 0x9c(r1) /* 801EC078 001E8FD8 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801EC07C 001E8FDC 48 00 05 55 */ bl FindBestSurface__17CWallCrawlerSwarmFRC19CAreaCollisionCache9CVector3ffR17CCollisionSurface /* 801EC080 001E8FE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EC084 001E8FE4 41 82 01 64 */ beq lbl_801EC1E8 /* 801EC088 001E8FE8 80 A1 03 14 */ lwz r5, 0x314(r1) /* 801EC08C 001E8FEC 38 61 00 80 */ addi r3, r1, 0x80 /* 801EC090 001E8FF0 80 01 03 18 */ lwz r0, 0x318(r1) /* 801EC094 001E8FF4 38 81 03 14 */ addi r4, r1, 0x314 /* 801EC098 001E8FF8 C0 02 AE 28 */ lfs f0, lbl_805ACB48@sda21(r2) /* 801EC09C 001E8FFC 90 BE 00 50 */ stw r5, 0x50(r30) /* 801EC0A0 001E9000 EC 00 04 F2 */ fmuls f0, f0, f19 /* 801EC0A4 001E9004 C0 22 AE 24 */ lfs f1, lbl_805ACB44@sda21(r2) /* 801EC0A8 001E9008 90 1E 00 54 */ stw r0, 0x54(r30) /* 801EC0AC 001E900C 80 01 03 1C */ lwz r0, 0x31c(r1) /* 801EC0B0 001E9010 EC 01 00 32 */ fmuls f0, f1, f0 /* 801EC0B4 001E9014 90 1E 00 58 */ stw r0, 0x58(r30) /* 801EC0B8 001E9018 80 A1 03 20 */ lwz r5, 0x320(r1) /* 801EC0BC 001E901C 80 01 03 24 */ lwz r0, 0x324(r1) /* 801EC0C0 001E9020 90 BE 00 5C */ stw r5, 0x5c(r30) /* 801EC0C4 001E9024 90 1E 00 60 */ stw r0, 0x60(r30) /* 801EC0C8 001E9028 80 01 03 28 */ lwz r0, 0x328(r1) /* 801EC0CC 001E902C 90 1E 00 64 */ stw r0, 0x64(r30) /* 801EC0D0 001E9030 80 A1 03 2C */ lwz r5, 0x32c(r1) /* 801EC0D4 001E9034 80 01 03 30 */ lwz r0, 0x330(r1) /* 801EC0D8 001E9038 90 BE 00 68 */ stw r5, 0x68(r30) /* 801EC0DC 001E903C 90 1E 00 6C */ stw r0, 0x6c(r30) /* 801EC0E0 001E9040 80 01 03 34 */ lwz r0, 0x334(r1) /* 801EC0E4 001E9044 90 1E 00 70 */ stw r0, 0x70(r30) /* 801EC0E8 001E9048 80 01 03 38 */ lwz r0, 0x338(r1) /* 801EC0EC 001E904C 90 1E 00 74 */ stw r0, 0x74(r30) /* 801EC0F0 001E9050 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801EC0F4 001E9054 C0 5E 00 28 */ lfs f2, 0x28(r30) /* 801EC0F8 001E9058 C0 3E 00 18 */ lfs f1, 0x18(r30) /* 801EC0FC 001E905C C0 1E 00 08 */ lfs f0, 8(r30) /* 801EC100 001E9060 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801EC104 001E9064 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801EC108 001E9068 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801EC10C 001E906C 48 0B 65 99 */ bl GetNormal__17CCollisionSurfaceCFv /* 801EC110 001E9070 38 61 02 54 */ addi r3, r1, 0x254 /* 801EC114 001E9074 38 81 00 8C */ addi r4, r1, 0x8c /* 801EC118 001E9078 38 A1 00 80 */ addi r5, r1, 0x80 /* 801EC11C 001E907C 38 C1 00 10 */ addi r6, r1, 0x10 /* 801EC120 001E9080 48 00 2C 8D */ bl LookAt__F9CVector3f9CVector3ff /* 801EC124 001E9084 7F C5 F3 78 */ mr r5, r30 /* 801EC128 001E9088 38 61 02 84 */ addi r3, r1, 0x284 /* 801EC12C 001E908C 38 81 02 54 */ addi r4, r1, 0x254 /* 801EC130 001E9090 48 12 6E 01 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801EC134 001E9094 7F C3 F3 78 */ mr r3, r30 /* 801EC138 001E9098 38 81 02 84 */ addi r4, r1, 0x284 /* 801EC13C 001E909C 48 12 6A 05 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EC140 001E90A0 38 61 00 70 */ addi r3, r1, 0x70 /* 801EC144 001E90A4 38 81 03 14 */ addi r4, r1, 0x314 /* 801EC148 001E90A8 48 0B 64 ED */ bl GetPlane__17CCollisionSurfaceCFv /* 801EC14C 001E90AC C0 E1 00 74 */ lfs f7, 0x74(r1) /* 801EC150 001E90B0 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 801EC154 001E90B4 C1 01 00 70 */ lfs f8, 0x70(r1) /* 801EC158 001E90B8 EC 07 00 32 */ fmuls f0, f7, f0 /* 801EC15C 001E90BC C0 7E 00 0C */ lfs f3, 0xc(r30) /* 801EC160 001E90C0 C0 C1 00 78 */ lfs f6, 0x78(r1) /* 801EC164 001E90C4 C0 A1 00 7C */ lfs f5, 0x7c(r1) /* 801EC168 001E90C8 EC 48 00 FA */ fmadds f2, f8, f3, f0 /* 801EC16C 001E90CC C0 9E 00 2C */ lfs f4, 0x2c(r30) /* 801EC170 001E90D0 C0 22 AD D0 */ lfs f1, lbl_805ACAF0@sda21(r2) /* 801EC174 001E90D4 C0 1B 03 74 */ lfs f0, 0x374(r27) /* 801EC178 001E90D8 EC 46 11 3A */ fmadds f2, f6, f4, f2 /* 801EC17C 001E90DC D1 01 01 5C */ stfs f8, 0x15c(r1) /* 801EC180 001E90E0 EC 01 00 32 */ fmuls f0, f1, f0 /* 801EC184 001E90E4 D0 E1 01 60 */ stfs f7, 0x160(r1) /* 801EC188 001E90E8 EC 22 28 28 */ fsubs f1, f2, f5 /* 801EC18C 001E90EC D0 C1 01 64 */ stfs f6, 0x164(r1) /* 801EC190 001E90F0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EC194 001E90F4 D0 A1 01 68 */ stfs f5, 0x168(r1) /* 801EC198 001E90F8 4C 40 13 82 */ cror 2, 0, 2 /* 801EC19C 001E90FC 40 82 00 4C */ bne lbl_801EC1E8 /* 801EC1A0 001E9100 EC 21 B0 28 */ fsubs f1, f1, f22 /* 801EC1A4 001E9104 C0 02 AE 1C */ lfs f0, lbl_805ACB3C@sda21(r2) /* 801EC1A8 001E9108 38 00 00 00 */ li r0, 0 /* 801EC1AC 001E910C 3B E0 00 01 */ li r31, 1 /* 801EC1B0 001E9110 EC 01 00 28 */ fsubs f0, f1, f0 /* 801EC1B4 001E9114 FC 00 00 50 */ fneg f0, f0 /* 801EC1B8 001E9118 EC 40 02 32 */ fmuls f2, f0, f8 /* 801EC1BC 001E911C EC 20 01 F2 */ fmuls f1, f0, f7 /* 801EC1C0 001E9120 EC 00 01 B2 */ fmuls f0, f0, f6 /* 801EC1C4 001E9124 EC 43 10 2A */ fadds f2, f3, f2 /* 801EC1C8 001E9128 D0 5E 00 0C */ stfs f2, 0xc(r30) /* 801EC1CC 001E912C C0 5E 00 1C */ lfs f2, 0x1c(r30) /* 801EC1D0 001E9130 EC 22 08 2A */ fadds f1, f2, f1 /* 801EC1D4 001E9134 D0 3E 00 1C */ stfs f1, 0x1c(r30) /* 801EC1D8 001E9138 C0 3E 00 2C */ lfs f1, 0x2c(r30) /* 801EC1DC 001E913C EC 01 00 2A */ fadds f0, f1, f0 /* 801EC1E0 001E9140 D0 1E 00 2C */ stfs f0, 0x2c(r30) /* 801EC1E4 001E9144 98 1E 00 7C */ stb r0, 0x7c(r30) lbl_801EC1E8: /* 801EC1E8 001E9148 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801EC1EC 001E914C 40 82 00 84 */ bne lbl_801EC270 /* 801EC1F0 001E9150 38 7E 00 30 */ addi r3, r30, 0x30 /* 801EC1F4 001E9154 48 12 86 C5 */ bl Magnitude__9CVector3fCFv /* 801EC1F8 001E9158 EC 01 B0 24 */ fdivs f0, f1, f22 /* 801EC1FC 001E915C 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 801EC200 001E9160 38 81 00 64 */ addi r4, r1, 0x64 /* 801EC204 001E9164 38 A1 00 58 */ addi r5, r1, 0x58 /* 801EC208 001E9168 38 C1 00 0C */ addi r6, r1, 0xc /* 801EC20C 001E916C EC 00 04 F2 */ fmuls f0, f0, f19 /* 801EC210 001E9170 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801EC214 001E9174 C0 5E 00 24 */ lfs f2, 0x24(r30) /* 801EC218 001E9178 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801EC21C 001E917C C0 1E 00 04 */ lfs f0, 4(r30) /* 801EC220 001E9180 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801EC224 001E9184 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801EC228 001E9188 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801EC22C 001E918C C0 5E 00 28 */ lfs f2, 0x28(r30) /* 801EC230 001E9190 C0 3E 00 18 */ lfs f1, 0x18(r30) /* 801EC234 001E9194 C0 1E 00 08 */ lfs f0, 8(r30) /* 801EC238 001E9198 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801EC23C 001E919C D0 21 00 68 */ stfs f1, 0x68(r1) /* 801EC240 001E91A0 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801EC244 001E91A4 48 00 2B 69 */ bl LookAt__F9CVector3f9CVector3ff /* 801EC248 001E91A8 7F C5 F3 78 */ mr r5, r30 /* 801EC24C 001E91AC 38 61 02 24 */ addi r3, r1, 0x224 /* 801EC250 001E91B0 38 81 01 F4 */ addi r4, r1, 0x1f4 /* 801EC254 001E91B4 48 12 6C DD */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801EC258 001E91B8 7F C3 F3 78 */ mr r3, r30 /* 801EC25C 001E91BC 38 81 02 24 */ addi r4, r1, 0x224 /* 801EC260 001E91C0 48 12 68 E1 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EC264 001E91C4 88 7E 00 7C */ lbz r3, 0x7c(r30) /* 801EC268 001E91C8 38 03 00 01 */ addi r0, r3, 1 /* 801EC26C 001E91CC 98 1E 00 7C */ stb r0, 0x7c(r30) lbl_801EC270: /* 801EC270 001E91D0 38 00 00 00 */ li r0, 0 /* 801EC274 001E91D4 7F 63 DB 78 */ mr r3, r27 /* 801EC278 001E91D8 90 01 03 64 */ stw r0, 0x364(r1) /* 801EC27C 001E91DC 7F C4 F3 78 */ mr r4, r30 /* 801EC280 001E91E0 38 A1 03 64 */ addi r5, r1, 0x364 /* 801EC284 001E91E4 C0 3B 01 3C */ lfs f1, 0x13c(r27) /* 801EC288 001E91E8 4B FF CF C5 */ bl "BuildBoidNearList__17CWallCrawlerSwarmFRCQ217CWallCrawlerSwarm5CBoidfRQ24rstl48reserved_vector" /* 801EC28C 001E91EC C0 62 AD AC */ lfs f3, lbl_805ACACC@sda21(r2) /* 801EC290 001E91F0 3B 40 00 00 */ li r26, 0 /* 801EC294 001E91F4 C0 5E 00 14 */ lfs f2, 0x14(r30) /* 801EC298 001E91F8 3B 80 00 00 */ li r28, 0 /* 801EC29C 001E91FC C0 3E 00 24 */ lfs f1, 0x24(r30) /* 801EC2A0 001E9200 C0 1E 00 04 */ lfs f0, 4(r30) /* 801EC2A4 001E9204 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801EC2A8 001E9208 EC 23 00 72 */ fmuls f1, f3, f1 /* 801EC2AC 001E920C C2 82 AE 30 */ lfs f20, lbl_805ACB50@sda21(r2) /* 801EC2B0 001E9210 EC 03 00 32 */ fmuls f0, f3, f0 /* 801EC2B4 001E9214 D0 41 01 54 */ stfs f2, 0x154(r1) /* 801EC2B8 001E9218 D0 01 01 50 */ stfs f0, 0x150(r1) /* 801EC2BC 001E921C D0 21 01 58 */ stfs f1, 0x158(r1) lbl_801EC2C0: /* 801EC2C0 001E9220 28 1A 00 07 */ cmplwi r26, 7 /* 801EC2C4 001E9224 41 81 01 44 */ bgt lbl_801EC408 /* 801EC2C8 001E9228 3C 60 80 3E */ lis r3, lbl_803E6374@ha /* 801EC2CC 001E922C 38 63 63 74 */ addi r3, r3, lbl_803E6374@l /* 801EC2D0 001E9230 7C 03 E0 2E */ lwzx r0, r3, r28 /* 801EC2D4 001E9234 7C 09 03 A6 */ mtctr r0 /* 801EC2D8 001E9238 4E 80 04 20 */ bctr /* 801EC2DC 001E923C 83 FB 04 EC */ lwz r31, 0x4ec(r27) /* 801EC2E0 001E9240 48 00 00 74 */ b lbl_801EC354 lbl_801EC2E4: /* 801EC2E4 001E9244 C0 5F 00 04 */ lfs f2, 4(r31) /* 801EC2E8 001E9248 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 801EC2EC 001E924C C0 3F 00 00 */ lfs f1, 0(r31) /* 801EC2F0 001E9250 EC C2 00 28 */ fsubs f6, f2, f0 /* 801EC2F4 001E9254 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 801EC2F8 001E9258 C0 7F 00 08 */ lfs f3, 8(r31) /* 801EC2FC 001E925C EC 81 00 28 */ fsubs f4, f1, f0 /* 801EC300 001E9260 C0 1E 00 2C */ lfs f0, 0x2c(r30) /* 801EC304 001E9264 EC 46 01 B2 */ fmuls f2, f6, f6 /* 801EC308 001E9268 EC A3 00 28 */ fsubs f5, f3, f0 /* 801EC30C 001E926C C0 3F 00 0C */ lfs f1, 0xc(r31) /* 801EC310 001E9270 EC 64 01 32 */ fmuls f3, f4, f4 /* 801EC314 001E9274 EC 01 00 72 */ fmuls f0, f1, f1 /* 801EC318 001E9278 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 801EC31C 001E927C EC 85 01 72 */ fmuls f4, f5, f5 /* 801EC320 001E9280 EC 43 10 2A */ fadds f2, f3, f2 /* 801EC324 001E9284 D0 C1 00 50 */ stfs f6, 0x50(r1) /* 801EC328 001E9288 D0 A1 00 54 */ stfs f5, 0x54(r1) /* 801EC32C 001E928C EC 44 10 2A */ fadds f2, f4, f2 /* 801EC330 001E9290 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801EC334 001E9294 40 80 00 1C */ bge lbl_801EC350 /* 801EC338 001E9298 C0 42 AE 2C */ lfs f2, lbl_805ACB4C@sda21(r2) /* 801EC33C 001E929C 7F 63 DB 78 */ mr r3, r27 /* 801EC340 001E92A0 7F C4 F3 78 */ mr r4, r30 /* 801EC344 001E92A4 7F E5 FB 78 */ mr r5, r31 /* 801EC348 001E92A8 38 C1 01 50 */ addi r6, r1, 0x150 /* 801EC34C 001E92AC 4B FF CD 21 */ bl ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f lbl_801EC350: /* 801EC350 001E92B0 3B FF 00 10 */ addi r31, r31, 0x10 lbl_801EC354: /* 801EC354 001E92B4 80 1B 04 E4 */ lwz r0, 0x4e4(r27) /* 801EC358 001E92B8 80 7B 04 EC */ lwz r3, 0x4ec(r27) /* 801EC35C 001E92BC 54 00 20 36 */ slwi r0, r0, 4 /* 801EC360 001E92C0 7C 03 02 14 */ add r0, r3, r0 /* 801EC364 001E92C4 7C 1F 00 40 */ cmplw r31, r0 /* 801EC368 001E92C8 40 82 FF 7C */ bne lbl_801EC2E4 /* 801EC36C 001E92CC 48 00 00 9C */ b lbl_801EC408 /* 801EC370 001E92D0 7F 63 DB 78 */ mr r3, r27 /* 801EC374 001E92D4 7F C4 F3 78 */ mr r4, r30 /* 801EC378 001E92D8 38 A1 03 64 */ addi r5, r1, 0x364 /* 801EC37C 001E92DC 38 C1 01 50 */ addi r6, r1, 0x150 /* 801EC380 001E92E0 4B FF CE 09 */ bl "ApplySeparation__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f" /* 801EC384 001E92E4 48 00 00 84 */ b lbl_801EC408 /* 801EC388 001E92E8 7F 63 DB 78 */ mr r3, r27 /* 801EC38C 001E92EC 7F C4 F3 78 */ mr r4, r30 /* 801EC390 001E92F0 7F A5 EB 78 */ mr r5, r29 /* 801EC394 001E92F4 38 C1 01 50 */ addi r6, r1, 0x150 /* 801EC398 001E92F8 4B FF C6 6D */ bl MoveToWayPoint__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidR13CStateManagerR9CVector3f /* 801EC39C 001E92FC 48 00 00 6C */ b lbl_801EC408 /* 801EC3A0 001E9300 7F 63 DB 78 */ mr r3, r27 /* 801EC3A4 001E9304 7F C4 F3 78 */ mr r4, r30 /* 801EC3A8 001E9308 38 A1 03 64 */ addi r5, r1, 0x364 /* 801EC3AC 001E930C 38 C1 01 50 */ addi r6, r1, 0x150 /* 801EC3B0 001E9310 4B FF CB D5 */ bl "ApplyCohesion__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f" /* 801EC3B4 001E9314 48 00 00 54 */ b lbl_801EC408 /* 801EC3B8 001E9318 7F 63 DB 78 */ mr r3, r27 /* 801EC3BC 001E931C 7F C4 F3 78 */ mr r4, r30 /* 801EC3C0 001E9320 38 A1 03 64 */ addi r5, r1, 0x364 /* 801EC3C4 001E9324 38 C1 01 50 */ addi r6, r1, 0x150 /* 801EC3C8 001E9328 4B FF C8 15 */ bl "ApplyAlignment__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRCQ24rstl48reserved_vectorR9CVector3f" /* 801EC3CC 001E932C 48 00 00 3C */ b lbl_801EC408 /* 801EC3D0 001E9330 80 FD 08 4C */ lwz r7, 0x84c(r29) /* 801EC3D4 001E9334 7F 63 DB 78 */ mr r3, r27 /* 801EC3D8 001E9338 7F C4 F3 78 */ mr r4, r30 /* 801EC3DC 001E933C 38 A1 00 40 */ addi r5, r1, 0x40 /* 801EC3E0 001E9340 C0 47 00 60 */ lfs f2, 0x60(r7) /* 801EC3E4 001E9344 38 C1 01 50 */ addi r6, r1, 0x150 /* 801EC3E8 001E9348 C0 27 00 50 */ lfs f1, 0x50(r7) /* 801EC3EC 001E934C C0 07 00 40 */ lfs f0, 0x40(r7) /* 801EC3F0 001E9350 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801EC3F4 001E9354 D0 21 00 44 */ stfs f1, 0x44(r1) /* 801EC3F8 001E9358 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801EC3FC 001E935C C0 3B 01 54 */ lfs f1, 0x154(r27) /* 801EC400 001E9360 C0 5B 01 50 */ lfs f2, 0x150(r27) /* 801EC404 001E9364 4B FF C9 41 */ bl ApplyAttraction__17CWallCrawlerSwarmFRQ217CWallCrawlerSwarm5CBoidRC9CVector3fffR9CVector3f lbl_801EC408: /* 801EC408 001E9368 C0 21 01 50 */ lfs f1, 0x150(r1) /* 801EC40C 001E936C C0 01 01 54 */ lfs f0, 0x154(r1) /* 801EC410 001E9370 EC 21 00 72 */ fmuls f1, f1, f1 /* 801EC414 001E9374 C0 41 01 58 */ lfs f2, 0x158(r1) /* 801EC418 001E9378 EC 00 00 32 */ fmuls f0, f0, f0 /* 801EC41C 001E937C EC 42 00 B2 */ fmuls f2, f2, f2 /* 801EC420 001E9380 EC 01 00 2A */ fadds f0, f1, f0 /* 801EC424 001E9384 EC 02 00 2A */ fadds f0, f2, f0 /* 801EC428 001E9388 FC 00 A0 40 */ fcmpo cr0, f0, f20 /* 801EC42C 001E938C 4C 41 13 82 */ cror 2, 1, 2 /* 801EC430 001E9390 41 82 00 14 */ beq lbl_801EC444 /* 801EC434 001E9394 3B 5A 00 01 */ addi r26, r26, 1 /* 801EC438 001E9398 3B 9C 00 04 */ addi r28, r28, 4 /* 801EC43C 001E939C 2C 1A 00 08 */ cmpwi r26, 8 /* 801EC440 001E93A0 41 80 FE 80 */ blt lbl_801EC2C0 lbl_801EC444: /* 801EC444 001E93A4 C0 5E 00 28 */ lfs f2, 0x28(r30) /* 801EC448 001E93A8 7F 64 DB 78 */ mr r4, r27 /* 801EC44C 001E93AC C0 3E 00 18 */ lfs f1, 0x18(r30) /* 801EC450 001E93B0 38 61 00 34 */ addi r3, r1, 0x34 /* 801EC454 001E93B4 C0 1E 00 08 */ lfs f0, 8(r30) /* 801EC458 001E93B8 38 A1 01 50 */ addi r5, r1, 0x150 /* 801EC45C 001E93BC 38 C1 00 28 */ addi r6, r1, 0x28 /* 801EC460 001E93C0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801EC464 001E93C4 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801EC468 001E93C8 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801EC46C 001E93CC 48 00 09 29 */ bl ProjectVectorToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3f /* 801EC470 001E93D0 C0 41 00 34 */ lfs f2, 0x34(r1) /* 801EC474 001E93D4 38 61 00 1C */ addi r3, r1, 0x1c /* 801EC478 001E93D8 C0 21 00 38 */ lfs f1, 0x38(r1) /* 801EC47C 001E93DC 38 81 01 44 */ addi r4, r1, 0x144 /* 801EC480 001E93E0 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801EC484 001E93E4 D0 41 01 44 */ stfs f2, 0x144(r1) /* 801EC488 001E93E8 D0 21 01 48 */ stfs f1, 0x148(r1) /* 801EC48C 001E93EC D0 01 01 4C */ stfs f0, 0x14c(r1) /* 801EC490 001E93F0 C0 5E 00 24 */ lfs f2, 0x24(r30) /* 801EC494 001E93F4 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 801EC498 001E93F8 C0 1E 00 04 */ lfs f0, 4(r30) /* 801EC49C 001E93FC D0 01 01 38 */ stfs f0, 0x138(r1) /* 801EC4A0 001E9400 D0 21 01 3C */ stfs f1, 0x13c(r1) /* 801EC4A4 001E9404 D0 41 01 40 */ stfs f2, 0x140(r1) /* 801EC4A8 001E9408 48 12 83 A9 */ bl AsNormalized__9CVector3fCFv /* 801EC4AC 001E940C C0 02 AD DC */ lfs f0, lbl_805ACAFC@sda21(r2) /* 801EC4B0 001E9410 38 61 01 94 */ addi r3, r1, 0x194 /* 801EC4B4 001E9414 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 801EC4B8 001E9418 38 81 01 38 */ addi r4, r1, 0x138 /* 801EC4BC 001E941C EC 00 04 F2 */ fmuls f0, f0, f19 /* 801EC4C0 001E9420 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801EC4C4 001E9424 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801EC4C8 001E9428 38 A1 01 2C */ addi r5, r1, 0x12c /* 801EC4CC 001E942C D0 61 01 2C */ stfs f3, 0x12c(r1) /* 801EC4D0 001E9430 38 C1 00 08 */ addi r6, r1, 8 /* 801EC4D4 001E9434 D0 41 01 30 */ stfs f2, 0x130(r1) /* 801EC4D8 001E9438 D0 21 01 34 */ stfs f1, 0x134(r1) /* 801EC4DC 001E943C D0 01 00 08 */ stfs f0, 8(r1) /* 801EC4E0 001E9440 48 00 28 CD */ bl LookAt__F9CVector3f9CVector3ff /* 801EC4E4 001E9444 7F C5 F3 78 */ mr r5, r30 /* 801EC4E8 001E9448 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 801EC4EC 001E944C 38 81 01 94 */ addi r4, r1, 0x194 /* 801EC4F0 001E9450 48 12 6A 41 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f /* 801EC4F4 001E9454 7F C3 F3 78 */ mr r3, r30 /* 801EC4F8 001E9458 38 81 01 C4 */ addi r4, r1, 0x1c4 /* 801EC4FC 001E945C 48 12 66 45 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EC500 001E9460 80 A1 03 64 */ lwz r5, 0x364(r1) /* 801EC504 001E9464 38 60 00 00 */ li r3, 0 /* 801EC508 001E9468 2C 05 00 00 */ cmpwi r5, 0 /* 801EC50C 001E946C 40 81 00 40 */ ble lbl_801EC54C /* 801EC510 001E9470 2C 05 00 08 */ cmpwi r5, 8 /* 801EC514 001E9474 38 85 FF F8 */ addi r4, r5, -8 /* 801EC518 001E9478 40 81 00 20 */ ble lbl_801EC538 /* 801EC51C 001E947C 38 04 00 07 */ addi r0, r4, 7 /* 801EC520 001E9480 54 00 E8 FE */ srwi r0, r0, 3 /* 801EC524 001E9484 7C 09 03 A6 */ mtctr r0 /* 801EC528 001E9488 2C 04 00 00 */ cmpwi r4, 0 /* 801EC52C 001E948C 40 81 00 0C */ ble lbl_801EC538 lbl_801EC530: /* 801EC530 001E9490 38 63 00 08 */ addi r3, r3, 8 /* 801EC534 001E9494 42 00 FF FC */ bdnz lbl_801EC530 lbl_801EC538: /* 801EC538 001E9498 7C 03 28 50 */ subf r0, r3, r5 /* 801EC53C 001E949C 7C 09 03 A6 */ mtctr r0 /* 801EC540 001E94A0 7C 03 28 00 */ cmpw r3, r5 /* 801EC544 001E94A4 40 80 00 08 */ bge lbl_801EC54C lbl_801EC548: /* 801EC548 001E94A8 42 00 00 00 */ bdnz lbl_801EC548 lbl_801EC54C: /* 801EC54C 001E94AC 38 00 00 00 */ li r0, 0 /* 801EC550 001E94B0 90 01 03 64 */ stw r0, 0x364(r1) lbl_801EC554: /* 801EC554 001E94B4 E3 E1 05 18 */ psq_l f31, 1304(r1), 0, qr0 /* 801EC558 001E94B8 CB E1 05 10 */ lfd f31, 0x510(r1) /* 801EC55C 001E94BC E3 C1 05 08 */ psq_l f30, 1288(r1), 0, qr0 /* 801EC560 001E94C0 CB C1 05 00 */ lfd f30, 0x500(r1) /* 801EC564 001E94C4 E3 A1 04 F8 */ psq_l f29, 1272(r1), 0, qr0 /* 801EC568 001E94C8 CB A1 04 F0 */ lfd f29, 0x4f0(r1) /* 801EC56C 001E94CC E3 81 04 E8 */ psq_l f28, 1256(r1), 0, qr0 /* 801EC570 001E94D0 CB 81 04 E0 */ lfd f28, 0x4e0(r1) /* 801EC574 001E94D4 E3 61 04 D8 */ psq_l f27, 1240(r1), 0, qr0 /* 801EC578 001E94D8 CB 61 04 D0 */ lfd f27, 0x4d0(r1) /* 801EC57C 001E94DC E3 41 04 C8 */ psq_l f26, 1224(r1), 0, qr0 /* 801EC580 001E94E0 CB 41 04 C0 */ lfd f26, 0x4c0(r1) /* 801EC584 001E94E4 E3 21 04 B8 */ psq_l f25, 1208(r1), 0, qr0 /* 801EC588 001E94E8 CB 21 04 B0 */ lfd f25, 0x4b0(r1) /* 801EC58C 001E94EC E3 01 04 A8 */ psq_l f24, 1192(r1), 0, qr0 /* 801EC590 001E94F0 CB 01 04 A0 */ lfd f24, 0x4a0(r1) /* 801EC594 001E94F4 E2 E1 04 98 */ psq_l f23, 1176(r1), 0, qr0 /* 801EC598 001E94F8 CA E1 04 90 */ lfd f23, 0x490(r1) /* 801EC59C 001E94FC E2 C1 04 88 */ psq_l f22, 1160(r1), 0, qr0 /* 801EC5A0 001E9500 CA C1 04 80 */ lfd f22, 0x480(r1) /* 801EC5A4 001E9504 E2 A1 04 78 */ psq_l f21, 1144(r1), 0, qr0 /* 801EC5A8 001E9508 CA A1 04 70 */ lfd f21, 0x470(r1) /* 801EC5AC 001E950C E2 81 04 68 */ psq_l f20, 1128(r1), 0, qr0 /* 801EC5B0 001E9510 CA 81 04 60 */ lfd f20, 0x460(r1) /* 801EC5B4 001E9514 E2 61 04 58 */ psq_l f19, 1112(r1), 0, qr0 /* 801EC5B8 001E9518 CA 61 04 50 */ lfd f19, 0x450(r1) /* 801EC5BC 001E951C BB 41 04 38 */ lmw r26, 0x438(r1) /* 801EC5C0 001E9520 80 01 05 24 */ lwz r0, 0x524(r1) /* 801EC5C4 001E9524 7C 08 03 A6 */ mtlr r0 /* 801EC5C8 001E9528 38 21 05 20 */ addi r1, r1, 0x520 /* 801EC5CC 001E952C 4E 80 00 20 */ blr .global FindBestSurface__17CWallCrawlerSwarmFRC19CAreaCollisionCache9CVector3ffR17CCollisionSurface FindBestSurface__17CWallCrawlerSwarmFRC19CAreaCollisionCache9CVector3ffR17CCollisionSurface: /* 801EC5D0 001E9530 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801EC5D4 001E9534 7C 08 02 A6 */ mflr r0 /* 801EC5D8 001E9538 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801EC5DC 001E953C DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 801EC5E0 001E9540 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 801EC5E4 001E9544 DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 801EC5E8 001E9548 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 /* 801EC5EC 001E954C BE 41 00 78 */ stmw r18, 0x78(r1) /* 801EC5F0 001E9550 7C B4 2B 78 */ mr r20, r5 /* 801EC5F4 001E9554 7C 93 23 78 */ mr r19, r4 /* 801EC5F8 001E9558 C0 65 00 00 */ lfs f3, 0(r5) /* 801EC5FC 001E955C EF E1 00 72 */ fmuls f31, f1, f1 /* 801EC600 001E9560 C0 45 00 04 */ lfs f2, 4(r5) /* 801EC604 001E9564 7C 72 1B 78 */ mr r18, r3 /* 801EC608 001E9568 C0 05 00 08 */ lfs f0, 8(r5) /* 801EC60C 001E956C 7C D5 33 78 */ mr r21, r6 /* 801EC610 001E9570 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801EC614 001E9574 3B B3 00 1C */ addi r29, r19, 0x1c /* 801EC618 001E9578 3B 60 00 00 */ li r27, 0 /* 801EC61C 001E957C D0 41 00 40 */ stfs f2, 0x40(r1) /* 801EC620 001E9580 3B 40 00 00 */ li r26, 0 /* 801EC624 001E9584 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801EC628 001E9588 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801EC62C 001E958C 48 00 01 A8 */ b lbl_801EC7D4 lbl_801EC630: /* 801EC630 001E9590 3B DD 00 08 */ addi r30, r29, 8 /* 801EC634 001E9594 3B 20 00 00 */ li r25, 0 /* 801EC638 001E9598 48 00 01 88 */ b lbl_801EC7C0 lbl_801EC63C: /* 801EC63C 001E959C 7F C4 F3 78 */ mr r4, r30 /* 801EC640 001E95A0 38 61 00 3C */ addi r3, r1, 0x3c /* 801EC644 001E95A4 48 0E 8B B9 */ bl Sphere_AABox_Bool__17CCollidableSphereFRC7CSphereRC6CAABox /* 801EC648 001E95A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EC64C 001E95AC 41 82 01 6C */ beq lbl_801EC7B8 /* 801EC650 001E95B0 7F C4 F3 78 */ mr r4, r30 /* 801EC654 001E95B4 38 61 00 08 */ addi r3, r1, 8 /* 801EC658 001E95B8 48 0B 66 E5 */ bl GetTriangleArray__Q212CAreaOctTree4NodeCFv /* 801EC65C 001E95BC 83 81 00 08 */ lwz r28, 8(r1) /* 801EC660 001E95C0 3A C1 00 4C */ addi r22, r1, 0x4c /* 801EC664 001E95C4 83 FE 00 1C */ lwz r31, 0x1c(r30) /* 801EC668 001E95C8 3A E0 00 00 */ li r23, 0 /* 801EC66C 001E95CC A3 1C 00 18 */ lhz r24, 0x18(r28) /* 801EC670 001E95D0 48 00 01 40 */ b lbl_801EC7B0 lbl_801EC674: /* 801EC674 001E95D4 A0 BC 00 1A */ lhz r5, 0x1a(r28) /* 801EC678 001E95D8 7F E4 FB 78 */ mr r4, r31 /* 801EC67C 001E95DC 38 61 00 4C */ addi r3, r1, 0x4c /* 801EC680 001E95E0 48 0B 63 B5 */ bl GetMasterListTriangle__12CAreaOctTreeCFUs /* 801EC684 001E95E4 7E C4 B3 78 */ mr r4, r22 /* 801EC688 001E95E8 38 61 00 1C */ addi r3, r1, 0x1c /* 801EC68C 001E95EC 48 0B 5F A9 */ bl GetPlane__17CCollisionSurfaceCFv /* 801EC690 001E95F0 C0 81 00 20 */ lfs f4, 0x20(r1) /* 801EC694 001E95F4 C0 14 00 04 */ lfs f0, 4(r20) /* 801EC698 001E95F8 C0 A1 00 1C */ lfs f5, 0x1c(r1) /* 801EC69C 001E95FC EC 04 00 32 */ fmuls f0, f4, f0 /* 801EC6A0 001E9600 C0 34 00 00 */ lfs f1, 0(r20) /* 801EC6A4 001E9604 C0 61 00 24 */ lfs f3, 0x24(r1) /* 801EC6A8 001E9608 C0 41 00 28 */ lfs f2, 0x28(r1) /* 801EC6AC 001E960C EC 05 00 7A */ fmadds f0, f5, f1, f0 /* 801EC6B0 001E9610 C0 34 00 08 */ lfs f1, 8(r20) /* 801EC6B4 001E9614 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801EC6B8 001E9618 EC 03 00 7A */ fmadds f0, f3, f1, f0 /* 801EC6BC 001E961C D0 81 00 30 */ stfs f4, 0x30(r1) /* 801EC6C0 001E9620 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801EC6C4 001E9624 EC 00 10 28 */ fsubs f0, f0, f2 /* 801EC6C8 001E9628 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801EC6CC 001E962C FC 00 02 10 */ fabs f0, f0 /* 801EC6D0 001E9630 FF C0 00 18 */ frsp f30, f0 /* 801EC6D4 001E9634 FC 1E F8 40 */ fcmpo cr0, f30, f31 /* 801EC6D8 001E9638 40 80 00 D0 */ bge lbl_801EC7A8 /* 801EC6DC 001E963C 7E 43 93 78 */ mr r3, r18 /* 801EC6E0 001E9640 7E C4 B3 78 */ mr r4, r22 /* 801EC6E4 001E9644 7E 85 A3 78 */ mr r5, r20 /* 801EC6E8 001E9648 38 C1 00 2C */ addi r6, r1, 0x2c /* 801EC6EC 001E964C 48 00 05 91 */ bl PointOnSurface__17CWallCrawlerSwarmFRC17CCollisionSurfaceRC9CVector3fRC6CPlane /* 801EC6F0 001E9650 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EC6F4 001E9654 41 82 00 B4 */ beq lbl_801EC7A8 /* 801EC6F8 001E9658 C0 82 AD A0 */ lfs f4, lbl_805ACAC0@sda21(r2) /* 801EC6FC 001E965C FC 04 F0 00 */ fcmpu cr0, f4, f30 /* 801EC700 001E9660 40 82 00 08 */ bne lbl_801EC708 /* 801EC704 001E9664 48 00 00 10 */ b lbl_801EC714 lbl_801EC708: /* 801EC708 001E9668 FC 00 F0 34 */ frsqrte f0, f30 /* 801EC70C 001E966C FC 9E 00 32 */ fmul f4, f30, f0 /* 801EC710 001E9670 FC 80 20 18 */ frsp f4, f4 lbl_801EC714: /* 801EC714 001E9674 C0 74 00 00 */ lfs f3, 0(r20) /* 801EC718 001E9678 FC 00 20 18 */ frsp f0, f4 /* 801EC71C 001E967C C0 54 00 04 */ lfs f2, 4(r20) /* 801EC720 001E9680 FF E0 F0 90 */ fmr f31, f30 /* 801EC724 001E9684 C0 34 00 08 */ lfs f1, 8(r20) /* 801EC728 001E9688 3B 60 00 01 */ li r27, 1 /* 801EC72C 001E968C D0 61 00 0C */ stfs f3, 0xc(r1) /* 801EC730 001E9690 80 61 00 4C */ lwz r3, 0x4c(r1) /* 801EC734 001E9694 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801EC738 001E9698 80 01 00 0C */ lwz r0, 0xc(r1) /* 801EC73C 001E969C D0 21 00 14 */ stfs f1, 0x14(r1) /* 801EC740 001E96A0 80 A1 00 10 */ lwz r5, 0x10(r1) /* 801EC744 001E96A4 80 81 00 14 */ lwz r4, 0x14(r1) /* 801EC748 001E96A8 90 01 00 3C */ stw r0, 0x3c(r1) /* 801EC74C 001E96AC 80 01 00 50 */ lwz r0, 0x50(r1) /* 801EC750 001E96B0 90 A1 00 40 */ stw r5, 0x40(r1) /* 801EC754 001E96B4 90 81 00 44 */ stw r4, 0x44(r1) /* 801EC758 001E96B8 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801EC75C 001E96BC 90 75 00 00 */ stw r3, 0(r21) /* 801EC760 001E96C0 90 15 00 04 */ stw r0, 4(r21) /* 801EC764 001E96C4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801EC768 001E96C8 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801EC76C 001E96CC 90 15 00 08 */ stw r0, 8(r21) /* 801EC770 001E96D0 80 61 00 58 */ lwz r3, 0x58(r1) /* 801EC774 001E96D4 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801EC778 001E96D8 90 75 00 0C */ stw r3, 0xc(r21) /* 801EC77C 001E96DC 90 15 00 10 */ stw r0, 0x10(r21) /* 801EC780 001E96E0 80 01 00 60 */ lwz r0, 0x60(r1) /* 801EC784 001E96E4 90 15 00 14 */ stw r0, 0x14(r21) /* 801EC788 001E96E8 80 61 00 64 */ lwz r3, 0x64(r1) /* 801EC78C 001E96EC 80 01 00 68 */ lwz r0, 0x68(r1) /* 801EC790 001E96F0 90 75 00 18 */ stw r3, 0x18(r21) /* 801EC794 001E96F4 90 15 00 1C */ stw r0, 0x1c(r21) /* 801EC798 001E96F8 80 01 00 6C */ lwz r0, 0x6c(r1) /* 801EC79C 001E96FC 90 15 00 20 */ stw r0, 0x20(r21) /* 801EC7A0 001E9700 80 01 00 70 */ lwz r0, 0x70(r1) /* 801EC7A4 001E9704 90 15 00 24 */ stw r0, 0x24(r21) lbl_801EC7A8: /* 801EC7A8 001E9708 3B 9C 00 02 */ addi r28, r28, 2 /* 801EC7AC 001E970C 3A F7 00 01 */ addi r23, r23, 1 lbl_801EC7B0: /* 801EC7B0 001E9710 7C 17 C0 00 */ cmpw r23, r24 /* 801EC7B4 001E9714 41 80 FE C0 */ blt lbl_801EC674 lbl_801EC7B8: /* 801EC7B8 001E9718 3B DE 00 24 */ addi r30, r30, 0x24 /* 801EC7BC 001E971C 3B 39 00 01 */ addi r25, r25, 1 lbl_801EC7C0: /* 801EC7C0 001E9720 80 1D 00 04 */ lwz r0, 4(r29) /* 801EC7C4 001E9724 7C 19 00 00 */ cmpw r25, r0 /* 801EC7C8 001E9728 41 80 FE 74 */ blt lbl_801EC63C /* 801EC7CC 001E972C 3B BD 09 0C */ addi r29, r29, 0x90c /* 801EC7D0 001E9730 3B 5A 00 01 */ addi r26, r26, 1 lbl_801EC7D4: /* 801EC7D4 001E9734 80 13 00 18 */ lwz r0, 0x18(r19) /* 801EC7D8 001E9738 7C 1A 00 00 */ cmpw r26, r0 /* 801EC7DC 001E973C 41 80 FE 54 */ blt lbl_801EC630 /* 801EC7E0 001E9740 7F 63 DB 78 */ mr r3, r27 /* 801EC7E4 001E9744 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 801EC7E8 001E9748 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 801EC7EC 001E974C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 /* 801EC7F0 001E9750 CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 801EC7F4 001E9754 BA 41 00 78 */ lmw r18, 0x78(r1) /* 801EC7F8 001E9758 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801EC7FC 001E975C 7C 08 03 A6 */ mtlr r0 /* 801EC800 001E9760 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801EC804 001E9764 4E 80 00 20 */ blr .global FindBestCollisionInBox__17CWallCrawlerSwarmFR13CStateManagerRC9CVector3f FindBestCollisionInBox__17CWallCrawlerSwarmFR13CStateManagerRC9CVector3f: /* 801EC808 001E9768 94 21 E3 30 */ stwu r1, -0x1cd0(r1) /* 801EC80C 001E976C 7C 08 02 A6 */ mflr r0 /* 801EC810 001E9770 90 01 1C D4 */ stw r0, 0x1cd4(r1) /* 801EC814 001E9774 38 00 1C C8 */ li r0, 0x1cc8 /* 801EC818 001E9778 DB E1 1C C0 */ stfd f31, 0x1cc0(r1) /* 801EC81C 001E977C 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 801EC820 001E9780 38 00 1C B8 */ li r0, 0x1cb8 /* 801EC824 001E9784 DB C1 1C B0 */ stfd f30, 0x1cb0(r1) /* 801EC828 001E9788 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 /* 801EC82C 001E978C 38 00 1C A8 */ li r0, 0x1ca8 /* 801EC830 001E9790 DB A1 1C A0 */ stfd f29, 0x1ca0(r1) /* 801EC834 001E9794 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 /* 801EC838 001E9798 38 00 1C 98 */ li r0, 0x1c98 /* 801EC83C 001E979C DB 81 1C 90 */ stfd f28, 0x1c90(r1) /* 801EC840 001E97A0 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 /* 801EC844 001E97A4 38 00 1C 88 */ li r0, 0x1c88 /* 801EC848 001E97A8 DB 61 1C 80 */ stfd f27, 0x1c80(r1) /* 801EC84C 001E97AC 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 /* 801EC850 001E97B0 38 00 1C 78 */ li r0, 0x1c78 /* 801EC854 001E97B4 DB 41 1C 70 */ stfd f26, 0x1c70(r1) /* 801EC858 001E97B8 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 /* 801EC85C 001E97BC 38 00 1C 68 */ li r0, 0x1c68 /* 801EC860 001E97C0 DB 21 1C 60 */ stfd f25, 0x1c60(r1) /* 801EC864 001E97C4 13 21 00 0E */ psq_stx f25, r1, r0, 0, qr0 /* 801EC868 001E97C8 38 00 1C 58 */ li r0, 0x1c58 /* 801EC86C 001E97CC DB 01 1C 50 */ stfd f24, 0x1c50(r1) /* 801EC870 001E97D0 13 01 00 0E */ psq_stx f24, r1, r0, 0, qr0 /* 801EC874 001E97D4 38 00 1C 48 */ li r0, 0x1c48 /* 801EC878 001E97D8 DA E1 1C 40 */ stfd f23, 0x1c40(r1) /* 801EC87C 001E97DC 12 E1 00 0E */ psq_stx f23, r1, r0, 0, qr0 /* 801EC880 001E97E0 38 00 1C 38 */ li r0, 0x1c38 /* 801EC884 001E97E4 DA C1 1C 30 */ stfd f22, 0x1c30(r1) /* 801EC888 001E97E8 12 C1 00 0E */ psq_stx f22, r1, r0, 0, qr0 /* 801EC88C 001E97EC BF 41 1C 18 */ stmw r26, 0x1c18(r1) /* 801EC890 001E97F0 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EC894 001E97F4 7C 7A 1B 78 */ mr r26, r3 /* 801EC898 001E97F8 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EC89C 001E97FC 7C 9B 23 78 */ mr r27, r4 /* 801EC8A0 001E9800 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801EC8A4 001E9804 7C BC 2B 78 */ mr r28, r5 /* 801EC8A8 001E9808 7C DD 33 78 */ mr r29, r6 /* 801EC8AC 001E980C 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801EC8B0 001E9810 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801EC8B4 001E9814 38 81 00 68 */ addi r4, r1, 0x68 /* 801EC8B8 001E9818 38 A1 00 5C */ addi r5, r1, 0x5c /* 801EC8BC 001E981C 38 C1 00 50 */ addi r6, r1, 0x50 /* 801EC8C0 001E9820 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801EC8C4 001E9824 38 E0 FF FF */ li r7, -1 /* 801EC8C8 001E9828 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801EC8CC 001E982C D0 01 00 60 */ stfs f0, 0x60(r1) /* 801EC8D0 001E9830 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801EC8D4 001E9834 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801EC8D8 001E9838 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801EC8DC 001E983C D0 21 00 70 */ stfs f1, 0x70(r1) /* 801EC8E0 001E9840 48 0B 5E 49 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi /* 801EC8E4 001E9844 7F 64 DB 78 */ mr r4, r27 /* 801EC8E8 001E9848 38 61 00 74 */ addi r3, r1, 0x74 /* 801EC8EC 001E984C 48 00 05 B1 */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801EC8F0 001E9850 C0 61 00 80 */ lfs f3, 0x80(r1) /* 801EC8F4 001E9854 3B E1 00 E4 */ addi r31, r1, 0xe4 /* 801EC8F8 001E9858 C0 41 00 74 */ lfs f2, 0x74(r1) /* 801EC8FC 001E985C 3B DF 00 04 */ addi r30, r31, 4 /* 801EC900 001E9860 C0 21 00 84 */ lfs f1, 0x84(r1) /* 801EC904 001E9864 C0 01 00 78 */ lfs f0, 0x78(r1) /* 801EC908 001E9868 EC 63 10 28 */ fsubs f3, f3, f2 /* 801EC90C 001E986C C0 82 AD B0 */ lfs f4, lbl_805ACAD0@sda21(r2) /* 801EC910 001E9870 EC 41 00 28 */ fsubs f2, f1, f0 /* 801EC914 001E9874 C3 22 AD A8 */ lfs f25, lbl_805ACAC8@sda21(r2) /* 801EC918 001E9878 C0 21 00 88 */ lfs f1, 0x88(r1) /* 801EC91C 001E987C EF E4 00 F2 */ fmuls f31, f4, f3 /* 801EC920 001E9880 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801EC924 001E9884 FE E0 C8 90 */ fmr f23, f25 /* 801EC928 001E9888 EC 01 00 28 */ fsubs f0, f1, f0 /* 801EC92C 001E988C C2 C2 AD EC */ lfs f22, lbl_805ACB0C@sda21(r2) /* 801EC930 001E9890 EF C4 00 B2 */ fmuls f30, f4, f2 /* 801EC934 001E9894 C3 02 AD B4 */ lfs f24, lbl_805ACAD4@sda21(r2) /* 801EC938 001E9898 EF A4 00 32 */ fmuls f29, f4, f0 /* 801EC93C 001E989C 48 00 02 5C */ b lbl_801ECB98 lbl_801EC940: /* 801EC940 001E98A0 EF 99 07 F2 */ fmuls f28, f25, f31 /* 801EC944 001E98A4 C0 1D 00 00 */ lfs f0, 0(r29) /* 801EC948 001E98A8 EF 79 07 B2 */ fmuls f27, f25, f30 /* 801EC94C 001E98AC C0 7D 00 04 */ lfs f3, 4(r29) /* 801EC950 001E98B0 EF 59 07 72 */ fmuls f26, f25, f29 /* 801EC954 001E98B4 C0 5D 00 08 */ lfs f2, 8(r29) /* 801EC958 001E98B8 EC A3 D8 2A */ fadds f5, f3, f27 /* 801EC95C 001E98BC D3 81 00 20 */ stfs f28, 0x20(r1) /* 801EC960 001E98C0 EC 82 D0 2A */ fadds f4, f2, f26 /* 801EC964 001E98C4 38 61 00 8C */ addi r3, r1, 0x8c /* 801EC968 001E98C8 EC 20 E0 2A */ fadds f1, f0, f28 /* 801EC96C 001E98CC D3 61 00 24 */ stfs f27, 0x24(r1) /* 801EC970 001E98D0 EC 63 D8 28 */ fsubs f3, f3, f27 /* 801EC974 001E98D4 D3 41 00 28 */ stfs f26, 0x28(r1) /* 801EC978 001E98D8 EC 42 D0 28 */ fsubs f2, f2, f26 /* 801EC97C 001E98DC 38 81 00 44 */ addi r4, r1, 0x44 /* 801EC980 001E98E0 EC 00 E0 28 */ fsubs f0, f0, f28 /* 801EC984 001E98E4 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801EC988 001E98E8 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801EC98C 001E98EC 38 A1 00 2C */ addi r5, r1, 0x2c /* 801EC990 001E98F0 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801EC994 001E98F4 D3 81 00 38 */ stfs f28, 0x38(r1) /* 801EC998 001E98F8 D3 61 00 3C */ stfs f27, 0x3c(r1) /* 801EC99C 001E98FC D3 41 00 40 */ stfs f26, 0x40(r1) /* 801EC9A0 001E9900 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801EC9A4 001E9904 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801EC9A8 001E9908 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801EC9AC 001E990C 48 14 BB 5D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801EC9B0 001E9910 38 61 00 CC */ addi r3, r1, 0xcc /* 801EC9B4 001E9914 38 81 00 8C */ addi r4, r1, 0x8c /* 801EC9B8 001E9918 48 0B 70 D9 */ bl __ct__19CAreaCollisionCacheFRC6CAABox /* 801EC9BC 001E991C 7F 83 E3 78 */ mr r3, r28 /* 801EC9C0 001E9920 38 81 00 CC */ addi r4, r1, 0xcc /* 801EC9C4 001E9924 4B F9 7D 01 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache /* 801EC9C8 001E9928 80 BD 00 00 */ lwz r5, 0(r29) /* 801EC9CC 001E992C 38 61 00 08 */ addi r3, r1, 8 /* 801EC9D0 001E9930 80 9D 00 04 */ lwz r4, 4(r29) /* 801EC9D4 001E9934 80 1D 00 08 */ lwz r0, 8(r29) /* 801EC9D8 001E9938 D3 81 00 08 */ stfs f28, 8(r1) /* 801EC9DC 001E993C D3 61 00 0C */ stfs f27, 0xc(r1) /* 801EC9E0 001E9940 D3 41 00 10 */ stfs f26, 0x10(r1) /* 801EC9E4 001E9944 90 A1 00 14 */ stw r5, 0x14(r1) /* 801EC9E8 001E9948 90 81 00 18 */ stw r4, 0x18(r1) /* 801EC9EC 001E994C 90 01 00 1C */ stw r0, 0x1c(r1) /* 801EC9F0 001E9950 48 12 7E C9 */ bl Magnitude__9CVector3fCFv /* 801EC9F4 001E9954 EC 36 00 72 */ fmuls f1, f22, f1 /* 801EC9F8 001E9958 7F 63 DB 78 */ mr r3, r27 /* 801EC9FC 001E995C 38 81 00 CC */ addi r4, r1, 0xcc /* 801ECA00 001E9960 38 A1 00 14 */ addi r5, r1, 0x14 /* 801ECA04 001E9964 38 C1 00 A4 */ addi r6, r1, 0xa4 /* 801ECA08 001E9968 4B FF FB C9 */ bl FindBestSurface__17CWallCrawlerSwarmFRC19CAreaCollisionCache9CVector3ffR17CCollisionSurface /* 801ECA0C 001E996C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801ECA10 001E9970 41 82 00 EC */ beq lbl_801ECAFC /* 801ECA14 001E9974 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801ECA18 001E9978 28 1F 00 00 */ cmplwi r31, 0 /* 801ECA1C 001E997C D0 1A 00 00 */ stfs f0, 0(r26) /* 801ECA20 001E9980 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801ECA24 001E9984 D0 1A 00 04 */ stfs f0, 4(r26) /* 801ECA28 001E9988 C0 01 00 AC */ lfs f0, 0xac(r1) /* 801ECA2C 001E998C D0 1A 00 08 */ stfs f0, 8(r26) /* 801ECA30 001E9990 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 801ECA34 001E9994 D0 1A 00 0C */ stfs f0, 0xc(r26) /* 801ECA38 001E9998 C0 01 00 B4 */ lfs f0, 0xb4(r1) /* 801ECA3C 001E999C D0 1A 00 10 */ stfs f0, 0x10(r26) /* 801ECA40 001E99A0 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801ECA44 001E99A4 D0 1A 00 14 */ stfs f0, 0x14(r26) /* 801ECA48 001E99A8 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801ECA4C 001E99AC D0 1A 00 18 */ stfs f0, 0x18(r26) /* 801ECA50 001E99B0 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801ECA54 001E99B4 D0 1A 00 1C */ stfs f0, 0x1c(r26) /* 801ECA58 001E99B8 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801ECA5C 001E99BC D0 1A 00 20 */ stfs f0, 0x20(r26) /* 801ECA60 001E99C0 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 801ECA64 001E99C4 90 1A 00 24 */ stw r0, 0x24(r26) /* 801ECA68 001E99C8 41 82 01 88 */ beq lbl_801ECBF0 /* 801ECA6C 001E99CC 38 60 00 00 */ li r3, 0 /* 801ECA70 001E99D0 48 00 00 74 */ b lbl_801ECAE4 lbl_801ECA74: /* 801ECA74 001E99D4 28 1E 00 00 */ cmplwi r30, 0 /* 801ECA78 001E99D8 41 82 00 64 */ beq lbl_801ECADC /* 801ECA7C 001E99DC 34 1E 00 04 */ addic. r0, r30, 4 /* 801ECA80 001E99E0 41 82 00 5C */ beq lbl_801ECADC /* 801ECA84 001E99E4 80 DE 00 04 */ lwz r6, 4(r30) /* 801ECA88 001E99E8 38 80 00 00 */ li r4, 0 /* 801ECA8C 001E99EC 2C 06 00 00 */ cmpwi r6, 0 /* 801ECA90 001E99F0 40 81 00 44 */ ble lbl_801ECAD4 /* 801ECA94 001E99F4 2C 06 00 08 */ cmpwi r6, 8 /* 801ECA98 001E99F8 38 A6 FF F8 */ addi r5, r6, -8 /* 801ECA9C 001E99FC 40 81 00 20 */ ble lbl_801ECABC /* 801ECAA0 001E9A00 38 05 00 07 */ addi r0, r5, 7 /* 801ECAA4 001E9A04 54 00 E8 FE */ srwi r0, r0, 3 /* 801ECAA8 001E9A08 7C 09 03 A6 */ mtctr r0 /* 801ECAAC 001E9A0C 2C 05 00 00 */ cmpwi r5, 0 /* 801ECAB0 001E9A10 40 81 00 0C */ ble lbl_801ECABC lbl_801ECAB4: /* 801ECAB4 001E9A14 38 84 00 08 */ addi r4, r4, 8 /* 801ECAB8 001E9A18 42 00 FF FC */ bdnz lbl_801ECAB4 lbl_801ECABC: /* 801ECABC 001E9A1C 7C 04 30 50 */ subf r0, r4, r6 /* 801ECAC0 001E9A20 7C 09 03 A6 */ mtctr r0 /* 801ECAC4 001E9A24 7C 04 30 00 */ cmpw r4, r6 /* 801ECAC8 001E9A28 40 80 00 0C */ bge lbl_801ECAD4 lbl_801ECACC: /* 801ECACC 001E9A2C 38 84 00 01 */ addi r4, r4, 1 /* 801ECAD0 001E9A30 42 00 FF FC */ bdnz lbl_801ECACC lbl_801ECAD4: /* 801ECAD4 001E9A34 38 00 00 00 */ li r0, 0 /* 801ECAD8 001E9A38 90 1E 00 04 */ stw r0, 4(r30) lbl_801ECADC: /* 801ECADC 001E9A3C 3B DE 09 0C */ addi r30, r30, 0x90c /* 801ECAE0 001E9A40 38 63 00 01 */ addi r3, r3, 1 lbl_801ECAE4: /* 801ECAE4 001E9A44 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801ECAE8 001E9A48 7C 03 00 00 */ cmpw r3, r0 /* 801ECAEC 001E9A4C 41 80 FF 88 */ blt lbl_801ECA74 /* 801ECAF0 001E9A50 38 00 00 00 */ li r0, 0 /* 801ECAF4 001E9A54 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801ECAF8 001E9A58 48 00 00 F8 */ b lbl_801ECBF0 lbl_801ECAFC: /* 801ECAFC 001E9A5C 28 1F 00 00 */ cmplwi r31, 0 /* 801ECB00 001E9A60 41 82 00 94 */ beq lbl_801ECB94 /* 801ECB04 001E9A64 7F C6 F3 78 */ mr r6, r30 /* 801ECB08 001E9A68 38 60 00 00 */ li r3, 0 /* 801ECB0C 001E9A6C 48 00 00 74 */ b lbl_801ECB80 lbl_801ECB10: /* 801ECB10 001E9A70 28 06 00 00 */ cmplwi r6, 0 /* 801ECB14 001E9A74 41 82 00 64 */ beq lbl_801ECB78 /* 801ECB18 001E9A78 34 06 00 04 */ addic. r0, r6, 4 /* 801ECB1C 001E9A7C 41 82 00 5C */ beq lbl_801ECB78 /* 801ECB20 001E9A80 80 E6 00 04 */ lwz r7, 4(r6) /* 801ECB24 001E9A84 38 80 00 00 */ li r4, 0 /* 801ECB28 001E9A88 2C 07 00 00 */ cmpwi r7, 0 /* 801ECB2C 001E9A8C 40 81 00 44 */ ble lbl_801ECB70 /* 801ECB30 001E9A90 2C 07 00 08 */ cmpwi r7, 8 /* 801ECB34 001E9A94 38 A7 FF F8 */ addi r5, r7, -8 /* 801ECB38 001E9A98 40 81 00 20 */ ble lbl_801ECB58 /* 801ECB3C 001E9A9C 38 05 00 07 */ addi r0, r5, 7 /* 801ECB40 001E9AA0 54 00 E8 FE */ srwi r0, r0, 3 /* 801ECB44 001E9AA4 7C 09 03 A6 */ mtctr r0 /* 801ECB48 001E9AA8 2C 05 00 00 */ cmpwi r5, 0 /* 801ECB4C 001E9AAC 40 81 00 0C */ ble lbl_801ECB58 lbl_801ECB50: /* 801ECB50 001E9AB0 38 84 00 08 */ addi r4, r4, 8 /* 801ECB54 001E9AB4 42 00 FF FC */ bdnz lbl_801ECB50 lbl_801ECB58: /* 801ECB58 001E9AB8 7C 04 38 50 */ subf r0, r4, r7 /* 801ECB5C 001E9ABC 7C 09 03 A6 */ mtctr r0 /* 801ECB60 001E9AC0 7C 04 38 00 */ cmpw r4, r7 /* 801ECB64 001E9AC4 40 80 00 0C */ bge lbl_801ECB70 lbl_801ECB68: /* 801ECB68 001E9AC8 38 84 00 01 */ addi r4, r4, 1 /* 801ECB6C 001E9ACC 42 00 FF FC */ bdnz lbl_801ECB68 lbl_801ECB70: /* 801ECB70 001E9AD0 38 00 00 00 */ li r0, 0 /* 801ECB74 001E9AD4 90 06 00 04 */ stw r0, 4(r6) lbl_801ECB78: /* 801ECB78 001E9AD8 38 C6 09 0C */ addi r6, r6, 0x90c /* 801ECB7C 001E9ADC 38 63 00 01 */ addi r3, r3, 1 lbl_801ECB80: /* 801ECB80 001E9AE0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801ECB84 001E9AE4 7C 03 00 00 */ cmpw r3, r0 /* 801ECB88 001E9AE8 41 80 FF 88 */ blt lbl_801ECB10 /* 801ECB8C 001E9AEC 38 00 00 00 */ li r0, 0 /* 801ECB90 001E9AF0 90 01 00 E4 */ stw r0, 0xe4(r1) lbl_801ECB94: /* 801ECB94 001E9AF4 EF 39 B8 2A */ fadds f25, f25, f23 lbl_801ECB98: /* 801ECB98 001E9AF8 FC 19 C0 40 */ fcmpo cr0, f25, f24 /* 801ECB9C 001E9AFC 41 80 FD A4 */ blt lbl_801EC940 /* 801ECBA0 001E9B00 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 801ECBA4 001E9B04 D0 1A 00 00 */ stfs f0, 0(r26) /* 801ECBA8 001E9B08 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801ECBAC 001E9B0C D0 1A 00 04 */ stfs f0, 4(r26) /* 801ECBB0 001E9B10 C0 01 00 AC */ lfs f0, 0xac(r1) /* 801ECBB4 001E9B14 D0 1A 00 08 */ stfs f0, 8(r26) /* 801ECBB8 001E9B18 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 801ECBBC 001E9B1C D0 1A 00 0C */ stfs f0, 0xc(r26) /* 801ECBC0 001E9B20 C0 01 00 B4 */ lfs f0, 0xb4(r1) /* 801ECBC4 001E9B24 D0 1A 00 10 */ stfs f0, 0x10(r26) /* 801ECBC8 001E9B28 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801ECBCC 001E9B2C D0 1A 00 14 */ stfs f0, 0x14(r26) /* 801ECBD0 001E9B30 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801ECBD4 001E9B34 D0 1A 00 18 */ stfs f0, 0x18(r26) /* 801ECBD8 001E9B38 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801ECBDC 001E9B3C D0 1A 00 1C */ stfs f0, 0x1c(r26) /* 801ECBE0 001E9B40 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801ECBE4 001E9B44 D0 1A 00 20 */ stfs f0, 0x20(r26) /* 801ECBE8 001E9B48 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 801ECBEC 001E9B4C 90 1A 00 24 */ stw r0, 0x24(r26) lbl_801ECBF0: /* 801ECBF0 001E9B50 38 00 1C C8 */ li r0, 0x1cc8 /* 801ECBF4 001E9B54 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 801ECBF8 001E9B58 CB E1 1C C0 */ lfd f31, 0x1cc0(r1) /* 801ECBFC 001E9B5C 38 00 1C B8 */ li r0, 0x1cb8 /* 801ECC00 001E9B60 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 /* 801ECC04 001E9B64 CB C1 1C B0 */ lfd f30, 0x1cb0(r1) /* 801ECC08 001E9B68 38 00 1C A8 */ li r0, 0x1ca8 /* 801ECC0C 001E9B6C 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 /* 801ECC10 001E9B70 CB A1 1C A0 */ lfd f29, 0x1ca0(r1) /* 801ECC14 001E9B74 38 00 1C 98 */ li r0, 0x1c98 /* 801ECC18 001E9B78 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 /* 801ECC1C 001E9B7C CB 81 1C 90 */ lfd f28, 0x1c90(r1) /* 801ECC20 001E9B80 38 00 1C 88 */ li r0, 0x1c88 /* 801ECC24 001E9B84 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 /* 801ECC28 001E9B88 CB 61 1C 80 */ lfd f27, 0x1c80(r1) /* 801ECC2C 001E9B8C 38 00 1C 78 */ li r0, 0x1c78 /* 801ECC30 001E9B90 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 /* 801ECC34 001E9B94 CB 41 1C 70 */ lfd f26, 0x1c70(r1) /* 801ECC38 001E9B98 38 00 1C 68 */ li r0, 0x1c68 /* 801ECC3C 001E9B9C 13 21 00 0C */ psq_lx f25, r1, r0, 0, qr0 /* 801ECC40 001E9BA0 CB 21 1C 60 */ lfd f25, 0x1c60(r1) /* 801ECC44 001E9BA4 38 00 1C 58 */ li r0, 0x1c58 /* 801ECC48 001E9BA8 13 01 00 0C */ psq_lx f24, r1, r0, 0, qr0 /* 801ECC4C 001E9BAC CB 01 1C 50 */ lfd f24, 0x1c50(r1) /* 801ECC50 001E9BB0 38 00 1C 48 */ li r0, 0x1c48 /* 801ECC54 001E9BB4 12 E1 00 0C */ psq_lx f23, r1, r0, 0, qr0 /* 801ECC58 001E9BB8 CA E1 1C 40 */ lfd f23, 0x1c40(r1) /* 801ECC5C 001E9BBC 38 00 1C 38 */ li r0, 0x1c38 /* 801ECC60 001E9BC0 12 C1 00 0C */ psq_lx f22, r1, r0, 0, qr0 /* 801ECC64 001E9BC4 CA C1 1C 30 */ lfd f22, 0x1c30(r1) /* 801ECC68 001E9BC8 BB 41 1C 18 */ lmw r26, 0x1c18(r1) /* 801ECC6C 001E9BCC 80 01 1C D4 */ lwz r0, 0x1cd4(r1) /* 801ECC70 001E9BD0 7C 08 03 A6 */ mtlr r0 /* 801ECC74 001E9BD4 38 21 1C D0 */ addi r1, r1, 0x1cd0 /* 801ECC78 001E9BD8 4E 80 00 20 */ blr .global PointOnSurface__17CWallCrawlerSwarmFRC17CCollisionSurfaceRC9CVector3fRC6CPlane PointOnSurface__17CWallCrawlerSwarmFRC17CCollisionSurfaceRC9CVector3fRC6CPlane: /* 801ECC7C 001E9BDC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801ECC80 001E9BE0 7C 08 02 A6 */ mflr r0 /* 801ECC84 001E9BE4 90 01 00 34 */ stw r0, 0x34(r1) /* 801ECC88 001E9BE8 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801ECC8C 001E9BEC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801ECC90 001E9BF0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801ECC94 001E9BF4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801ECC98 001E9BF8 7C 60 1B 78 */ mr r0, r3 /* 801ECC9C 001E9BFC 7C 9E 23 78 */ mr r30, r4 /* 801ECCA0 001E9C00 7C DF 33 78 */ mr r31, r6 /* 801ECCA4 001E9C04 38 61 00 08 */ addi r3, r1, 8 /* 801ECCA8 001E9C08 7C 04 03 78 */ mr r4, r0 /* 801ECCAC 001E9C0C 7F C6 F3 78 */ mr r6, r30 /* 801ECCB0 001E9C10 7F E7 FB 78 */ mr r7, r31 /* 801ECCB4 001E9C14 48 00 01 2D */ bl ProjectPointToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3fRC9CVector3f /* 801ECCB8 001E9C18 38 00 00 03 */ li r0, 3 /* 801ECCBC 001E9C1C 7F C4 F3 78 */ mr r4, r30 /* 801ECCC0 001E9C20 C1 81 00 08 */ lfs f12, 8(r1) /* 801ECCC4 001E9C24 38 A0 00 00 */ li r5, 0 /* 801ECCC8 001E9C28 C1 A1 00 0C */ lfs f13, 0xc(r1) /* 801ECCCC 001E9C2C C3 E1 00 10 */ lfs f31, 0x10(r1) /* 801ECCD0 001E9C30 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801ECCD4 001E9C34 7C 09 03 A6 */ mtctr r0 lbl_801ECCD8: /* 801ECCD8 001E9C38 38 65 00 02 */ addi r3, r5, 2 /* 801ECCDC 001E9C3C 2C 03 00 02 */ cmpwi r3, 2 /* 801ECCE0 001E9C40 38 03 FF FD */ addi r0, r3, -3 /* 801ECCE4 001E9C44 40 82 00 08 */ bne lbl_801ECCEC /* 801ECCE8 001E9C48 7C 60 1B 78 */ mr r0, r3 lbl_801ECCEC: /* 801ECCEC 001E9C4C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801ECCF0 001E9C50 C0 64 00 00 */ lfs f3, 0(r4) /* 801ECCF4 001E9C54 C0 A4 00 08 */ lfs f5, 8(r4) /* 801ECCF8 001E9C58 C0 84 00 04 */ lfs f4, 4(r4) /* 801ECCFC 001E9C5C ED 6C 18 28 */ fsubs f11, f12, f3 /* 801ECD00 001E9C60 7C 7E 02 14 */ add r3, r30, r0 /* 801ECD04 001E9C64 C0 23 00 08 */ lfs f1, 8(r3) /* 801ECD08 001E9C68 ED 3F 28 28 */ fsubs f9, f31, f5 /* 801ECD0C 001E9C6C C0 43 00 00 */ lfs f2, 0(r3) /* 801ECD10 001E9C70 ED 4D 20 28 */ fsubs f10, f13, f4 /* 801ECD14 001E9C74 EC E1 28 28 */ fsubs f7, f1, f5 /* 801ECD18 001E9C78 C0 23 00 04 */ lfs f1, 4(r3) /* 801ECD1C 001E9C7C EC C2 18 28 */ fsubs f6, f2, f3 /* 801ECD20 001E9C80 ED 01 20 28 */ fsubs f8, f1, f4 /* 801ECD24 001E9C84 C0 5F 00 04 */ lfs f2, 4(r31) /* 801ECD28 001E9C88 EC 27 02 F2 */ fmuls f1, f7, f11 /* 801ECD2C 001E9C8C EC A6 02 B2 */ fmuls f5, f6, f10 /* 801ECD30 001E9C90 C0 9F 00 00 */ lfs f4, 0(r31) /* 801ECD34 001E9C94 EC 68 02 72 */ fmuls f3, f8, f9 /* 801ECD38 001E9C98 EC 29 09 B8 */ fmsubs f1, f9, f6, f1 /* 801ECD3C 001E9C9C C0 DF 00 08 */ lfs f6, 8(r31) /* 801ECD40 001E9CA0 EC AB 2A 38 */ fmsubs f5, f11, f8, f5 /* 801ECD44 001E9CA4 EC 6A 19 F8 */ fmsubs f3, f10, f7, f3 /* 801ECD48 001E9CA8 EC 22 00 72 */ fmuls f1, f2, f1 /* 801ECD4C 001E9CAC EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801ECD50 001E9CB0 EC 26 09 7A */ fmadds f1, f6, f5, f1 /* 801ECD54 001E9CB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801ECD58 001E9CB8 40 80 00 0C */ bge lbl_801ECD64 /* 801ECD5C 001E9CBC 38 60 00 00 */ li r3, 0 /* 801ECD60 001E9CC0 48 00 00 14 */ b lbl_801ECD74 lbl_801ECD64: /* 801ECD64 001E9CC4 38 84 00 0C */ addi r4, r4, 0xc /* 801ECD68 001E9CC8 38 A5 00 01 */ addi r5, r5, 1 /* 801ECD6C 001E9CCC 42 00 FF 6C */ bdnz lbl_801ECCD8 /* 801ECD70 001E9CD0 38 60 00 01 */ li r3, 1 lbl_801ECD74: /* 801ECD74 001E9CD4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801ECD78 001E9CD8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801ECD7C 001E9CDC CB E1 00 20 */ lfd f31, 0x20(r1) /* 801ECD80 001E9CE0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801ECD84 001E9CE4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801ECD88 001E9CE8 7C 08 03 A6 */ mtlr r0 /* 801ECD8C 001E9CEC 38 21 00 30 */ addi r1, r1, 0x30 /* 801ECD90 001E9CF0 4E 80 00 20 */ blr .global ProjectVectorToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3f ProjectVectorToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3f: /* 801ECD94 001E9CF4 C0 C5 00 04 */ lfs f6, 4(r5) /* 801ECD98 001E9CF8 C0 66 00 04 */ lfs f3, 4(r6) /* 801ECD9C 001E9CFC C0 A5 00 00 */ lfs f5, 0(r5) /* 801ECDA0 001E9D00 EC 06 00 F2 */ fmuls f0, f6, f3 /* 801ECDA4 001E9D04 C0 26 00 00 */ lfs f1, 0(r6) /* 801ECDA8 001E9D08 C0 E5 00 08 */ lfs f7, 8(r5) /* 801ECDAC 001E9D0C C0 86 00 08 */ lfs f4, 8(r6) /* 801ECDB0 001E9D10 EC 05 00 7A */ fmadds f0, f5, f1, f0 /* 801ECDB4 001E9D14 EC 07 01 3A */ fmadds f0, f7, f4, f0 /* 801ECDB8 001E9D18 EC 40 00 72 */ fmuls f2, f0, f1 /* 801ECDBC 001E9D1C EC 20 00 F2 */ fmuls f1, f0, f3 /* 801ECDC0 001E9D20 EC 00 01 32 */ fmuls f0, f0, f4 /* 801ECDC4 001E9D24 EC 45 10 28 */ fsubs f2, f5, f2 /* 801ECDC8 001E9D28 EC 26 08 28 */ fsubs f1, f6, f1 /* 801ECDCC 001E9D2C EC 07 00 28 */ fsubs f0, f7, f0 /* 801ECDD0 001E9D30 D0 43 00 00 */ stfs f2, 0(r3) /* 801ECDD4 001E9D34 D0 23 00 04 */ stfs f1, 4(r3) /* 801ECDD8 001E9D38 D0 03 00 08 */ stfs f0, 8(r3) /* 801ECDDC 001E9D3C 4E 80 00 20 */ blr .global ProjectPointToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3fRC9CVector3f ProjectPointToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3fRC9CVector3f: /* 801ECDE0 001E9D40 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801ECDE4 001E9D44 C1 05 00 04 */ lfs f8, 4(r5) /* 801ECDE8 001E9D48 C0 06 00 04 */ lfs f0, 4(r6) /* 801ECDEC 001E9D4C C0 E5 00 00 */ lfs f7, 0(r5) /* 801ECDF0 001E9D50 EC 48 00 28 */ fsubs f2, f8, f0 /* 801ECDF4 001E9D54 C0 06 00 00 */ lfs f0, 0(r6) /* 801ECDF8 001E9D58 C0 A7 00 04 */ lfs f5, 4(r7) /* 801ECDFC 001E9D5C EC 67 00 28 */ fsubs f3, f7, f0 /* 801ECE00 001E9D60 C1 25 00 08 */ lfs f9, 8(r5) /* 801ECE04 001E9D64 C0 26 00 08 */ lfs f1, 8(r6) /* 801ECE08 001E9D68 EC 02 01 72 */ fmuls f0, f2, f5 /* 801ECE0C 001E9D6C C0 87 00 00 */ lfs f4, 0(r7) /* 801ECE10 001E9D70 EC 29 08 28 */ fsubs f1, f9, f1 /* 801ECE14 001E9D74 C0 C7 00 08 */ lfs f6, 8(r7) /* 801ECE18 001E9D78 EC 03 01 3A */ fmadds f0, f3, f4, f0 /* 801ECE1C 001E9D7C D0 41 00 0C */ stfs f2, 0xc(r1) /* 801ECE20 001E9D80 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801ECE24 001E9D84 EC 01 01 BA */ fmadds f0, f1, f6, f0 /* 801ECE28 001E9D88 D0 61 00 08 */ stfs f3, 8(r1) /* 801ECE2C 001E9D8C EC 40 01 32 */ fmuls f2, f0, f4 /* 801ECE30 001E9D90 EC 20 01 72 */ fmuls f1, f0, f5 /* 801ECE34 001E9D94 EC 00 01 B2 */ fmuls f0, f0, f6 /* 801ECE38 001E9D98 EC 47 10 28 */ fsubs f2, f7, f2 /* 801ECE3C 001E9D9C EC 28 08 28 */ fsubs f1, f8, f1 /* 801ECE40 001E9DA0 EC 09 00 28 */ fsubs f0, f9, f0 /* 801ECE44 001E9DA4 D0 43 00 00 */ stfs f2, 0(r3) /* 801ECE48 001E9DA8 D0 23 00 04 */ stfs f1, 4(r3) /* 801ECE4C 001E9DAC D0 03 00 08 */ stfs f0, 8(r3) /* 801ECE50 001E9DB0 38 21 00 20 */ addi r1, r1, 0x20 /* 801ECE54 001E9DB4 4E 80 00 20 */ blr .global GetTouchBounds__17CWallCrawlerSwarmCFv GetTouchBounds__17CWallCrawlerSwarmCFv: /* 801ECE58 001E9DB8 38 00 00 01 */ li r0, 1 /* 801ECE5C 001E9DBC 28 03 00 00 */ cmplwi r3, 0 /* 801ECE60 001E9DC0 98 03 00 18 */ stb r0, 0x18(r3) /* 801ECE64 001E9DC4 4D 82 00 20 */ beqlr /* 801ECE68 001E9DC8 C0 04 00 E8 */ lfs f0, 0xe8(r4) /* 801ECE6C 001E9DCC D0 03 00 00 */ stfs f0, 0(r3) /* 801ECE70 001E9DD0 C0 04 00 EC */ lfs f0, 0xec(r4) /* 801ECE74 001E9DD4 D0 03 00 04 */ stfs f0, 4(r3) /* 801ECE78 001E9DD8 C0 04 00 F0 */ lfs f0, 0xf0(r4) /* 801ECE7C 001E9DDC D0 03 00 08 */ stfs f0, 8(r3) /* 801ECE80 001E9DE0 C0 04 00 F4 */ lfs f0, 0xf4(r4) /* 801ECE84 001E9DE4 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801ECE88 001E9DE8 C0 04 00 F8 */ lfs f0, 0xf8(r4) /* 801ECE8C 001E9DEC D0 03 00 10 */ stfs f0, 0x10(r3) /* 801ECE90 001E9DF0 C0 04 00 FC */ lfs f0, 0xfc(r4) /* 801ECE94 001E9DF4 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801ECE98 001E9DF8 4E 80 00 20 */ blr .global GetBoundingBox__17CWallCrawlerSwarmCFv GetBoundingBox__17CWallCrawlerSwarmCFv: /* 801ECE9C 001E9DFC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801ECEA0 001E9E00 7C 08 02 A6 */ mflr r0 /* 801ECEA4 001E9E04 C0 42 AE 18 */ lfs f2, lbl_805ACB38@sda21(r2) /* 801ECEA8 001E9E08 90 01 00 44 */ stw r0, 0x44(r1) /* 801ECEAC 001E9E0C 38 A1 00 14 */ addi r5, r1, 0x14 /* 801ECEB0 001E9E10 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801ECEB4 001E9E14 7C 9F 23 78 */ mr r31, r4 /* 801ECEB8 001E9E18 93 C1 00 38 */ stw r30, 0x38(r1) /* 801ECEBC 001E9E1C 7C 7E 1B 78 */ mr r30, r3 /* 801ECEC0 001E9E20 38 61 00 20 */ addi r3, r1, 0x20 /* 801ECEC4 001E9E24 C0 04 01 20 */ lfs f0, 0x120(r4) /* 801ECEC8 001E9E28 38 81 00 08 */ addi r4, r1, 8 /* 801ECECC 001E9E2C C0 3F 01 1C */ lfs f1, 0x11c(r31) /* 801ECED0 001E9E30 EC A2 00 32 */ fmuls f5, f2, f0 /* 801ECED4 001E9E34 C0 1F 01 18 */ lfs f0, 0x118(r31) /* 801ECED8 001E9E38 EC 82 00 72 */ fmuls f4, f2, f1 /* 801ECEDC 001E9E3C EC 62 00 32 */ fmuls f3, f2, f0 /* 801ECEE0 001E9E40 FC 00 28 50 */ fneg f0, f5 /* 801ECEE4 001E9E44 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801ECEE8 001E9E48 FC 20 20 50 */ fneg f1, f4 /* 801ECEEC 001E9E4C FC 40 18 50 */ fneg f2, f3 /* 801ECEF0 001E9E50 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801ECEF4 001E9E54 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801ECEF8 001E9E58 D0 41 00 08 */ stfs f2, 8(r1) /* 801ECEFC 001E9E5C D0 21 00 0C */ stfs f1, 0xc(r1) /* 801ECF00 001E9E60 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801ECF04 001E9E64 48 14 B6 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801ECF08 001E9E68 7F C3 F3 78 */ mr r3, r30 /* 801ECF0C 001E9E6C 38 81 00 20 */ addi r4, r1, 0x20 /* 801ECF10 001E9E70 38 BF 00 34 */ addi r5, r31, 0x34 /* 801ECF14 001E9E74 48 14 A9 E9 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 801ECF18 001E9E78 80 01 00 44 */ lwz r0, 0x44(r1) /* 801ECF1C 001E9E7C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801ECF20 001E9E80 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801ECF24 001E9E84 7C 08 03 A6 */ mtlr r0 /* 801ECF28 001E9E88 38 21 00 40 */ addi r1, r1, 0x40 /* 801ECF2C 001E9E8C 4E 80 00 20 */ blr .global CalculateRenderBounds__17CWallCrawlerSwarmFv CalculateRenderBounds__17CWallCrawlerSwarmFv: /* 801ECF30 001E9E90 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801ECF34 001E9E94 7C 08 02 A6 */ mflr r0 /* 801ECF38 001E9E98 90 01 00 44 */ stw r0, 0x44(r1) /* 801ECF3C 001E9E9C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801ECF40 001E9EA0 7C 7F 1B 78 */ mr r31, r3 /* 801ECF44 001E9EA4 38 61 00 08 */ addi r3, r1, 8 /* 801ECF48 001E9EA8 7F E4 FB 78 */ mr r4, r31 /* 801ECF4C 001E9EAC 4B FF FF 51 */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801ECF50 001E9EB0 C0 21 00 08 */ lfs f1, 8(r1) /* 801ECF54 001E9EB4 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801ECF58 001E9EB8 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801ECF5C 001E9EBC C0 61 00 10 */ lfs f3, 0x10(r1) /* 801ECF60 001E9EC0 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801ECF64 001E9EC4 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801ECF68 001E9EC8 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801ECF6C 001E9ECC C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801ECF70 001E9ED0 80 61 00 20 */ lwz r3, 0x20(r1) /* 801ECF74 001E9ED4 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801ECF78 001E9ED8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801ECF7C 001E9EDC 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801ECF80 001E9EE0 80 61 00 28 */ lwz r3, 0x28(r1) /* 801ECF84 001E9EE4 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801ECF88 001E9EE8 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 801ECF8C 001E9EEC 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801ECF90 001E9EF0 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801ECF94 001E9EF4 90 7F 00 A4 */ stw r3, 0xa4(r31) /* 801ECF98 001E9EF8 80 61 00 30 */ lwz r3, 0x30(r1) /* 801ECF9C 001E9EFC D0 01 00 34 */ stfs f0, 0x34(r1) /* 801ECFA0 001E9F00 90 1F 00 A8 */ stw r0, 0xa8(r31) /* 801ECFA4 001E9F04 80 01 00 34 */ lwz r0, 0x34(r1) /* 801ECFA8 001E9F08 90 7F 00 AC */ stw r3, 0xac(r31) /* 801ECFAC 001E9F0C 90 1F 00 B0 */ stw r0, 0xb0(r31) /* 801ECFB0 001E9F10 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801ECFB4 001E9F14 80 01 00 44 */ lwz r0, 0x44(r1) /* 801ECFB8 001E9F18 7C 08 03 A6 */ mtlr r0 /* 801ECFBC 001E9F1C 38 21 00 40 */ addi r1, r1, 0x40 /* 801ECFC0 001E9F20 4E 80 00 20 */ blr .global CreateBoid__17CWallCrawlerSwarmFR13CStateManageri CreateBoid__17CWallCrawlerSwarmFR13CStateManageri: /* 801ECFC4 001E9F24 94 21 FE 00 */ stwu r1, -0x200(r1) /* 801ECFC8 001E9F28 7C 08 02 A6 */ mflr r0 /* 801ECFCC 001E9F2C 90 01 02 04 */ stw r0, 0x204(r1) /* 801ECFD0 001E9F30 DB E1 01 F0 */ stfd f31, 0x1f0(r1) /* 801ECFD4 001E9F34 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 /* 801ECFD8 001E9F38 DB C1 01 E0 */ stfd f30, 0x1e0(r1) /* 801ECFDC 001E9F3C F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 /* 801ECFE0 001E9F40 DB A1 01 D0 */ stfd f29, 0x1d0(r1) /* 801ECFE4 001E9F44 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 /* 801ECFE8 001E9F48 DB 81 01 C0 */ stfd f28, 0x1c0(r1) /* 801ECFEC 001E9F4C F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 /* 801ECFF0 001E9F50 93 E1 01 BC */ stw r31, 0x1bc(r1) /* 801ECFF4 001E9F54 93 C1 01 B8 */ stw r30, 0x1b8(r1) /* 801ECFF8 001E9F58 93 A1 01 B4 */ stw r29, 0x1b4(r1) /* 801ECFFC 001E9F5C 7C 7E 1B 78 */ mr r30, r3 /* 801ED000 001E9F60 7C 9F 23 78 */ mr r31, r4 /* 801ED004 001E9F64 7C BD 2B 78 */ mr r29, r5 /* 801ED008 001E9F68 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801ED00C 001E9F6C 7F C4 F3 78 */ mr r4, r30 /* 801ED010 001E9F70 4B FF FE 8D */ bl GetBoundingBox__17CWallCrawlerSwarmCFv /* 801ED014 001E9F74 7F C4 F3 78 */ mr r4, r30 /* 801ED018 001E9F78 7F E6 FB 78 */ mr r6, r31 /* 801ED01C 001E9F7C 38 61 00 0C */ addi r3, r1, 0xc /* 801ED020 001E9F80 38 A0 00 0D */ li r5, 0xd /* 801ED024 001E9F84 4B FF B9 59 */ bl GetWaypointForState__17CWallCrawlerSwarmF18EScriptObjectStateR13CStateManager /* 801ED028 001E9F88 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801ED02C 001E9F8C 7F E3 FB 78 */ mr r3, r31 /* 801ED030 001E9F90 38 81 00 08 */ addi r4, r1, 8 /* 801ED034 001E9F94 B0 01 00 10 */ sth r0, 0x10(r1) /* 801ED038 001E9F98 B0 01 00 08 */ sth r0, 8(r1) /* 801ED03C 001E9F9C 4B E5 F5 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801ED040 001E9FA0 7C 64 1B 78 */ mr r4, r3 /* 801ED044 001E9FA4 38 61 00 18 */ addi r3, r1, 0x18 /* 801ED048 001E9FA8 4B EB 95 05 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801ED04C 001E9FAC 80 63 00 04 */ lwz r3, 4(r3) /* 801ED050 001E9FB0 28 03 00 00 */ cmplwi r3, 0 /* 801ED054 001E9FB4 41 82 02 98 */ beq lbl_801ED2EC /* 801ED058 001E9FB8 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801ED05C 001E9FBC 7F C4 F3 78 */ mr r4, r30 /* 801ED060 001E9FC0 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801ED064 001E9FC4 7F E5 FB 78 */ mr r5, r31 /* 801ED068 001E9FC8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801ED06C 001E9FCC 38 61 01 58 */ addi r3, r1, 0x158 /* 801ED070 001E9FD0 38 C1 00 A4 */ addi r6, r1, 0xa4 /* 801ED074 001E9FD4 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801ED078 001E9FD8 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801ED07C 001E9FDC D0 41 00 AC */ stfs f2, 0xac(r1) /* 801ED080 001E9FE0 4B FF F7 89 */ bl FindBestCollisionInBox__17CWallCrawlerSwarmFR13CStateManagerRC9CVector3f /* 801ED084 001E9FE4 C1 01 01 58 */ lfs f8, 0x158(r1) /* 801ED088 001E9FE8 38 61 00 80 */ addi r3, r1, 0x80 /* 801ED08C 001E9FEC C0 E1 01 5C */ lfs f7, 0x15c(r1) /* 801ED090 001E9FF0 38 81 01 80 */ addi r4, r1, 0x180 /* 801ED094 001E9FF4 C0 C1 01 60 */ lfs f6, 0x160(r1) /* 801ED098 001E9FF8 C0 A1 01 64 */ lfs f5, 0x164(r1) /* 801ED09C 001E9FFC C0 81 01 68 */ lfs f4, 0x168(r1) /* 801ED0A0 001EA000 C0 61 01 6C */ lfs f3, 0x16c(r1) /* 801ED0A4 001EA004 C0 41 01 70 */ lfs f2, 0x170(r1) /* 801ED0A8 001EA008 C0 21 01 74 */ lfs f1, 0x174(r1) /* 801ED0AC 001EA00C C0 01 01 78 */ lfs f0, 0x178(r1) /* 801ED0B0 001EA010 80 01 01 7C */ lwz r0, 0x17c(r1) /* 801ED0B4 001EA014 D1 01 01 80 */ stfs f8, 0x180(r1) /* 801ED0B8 001EA018 D0 E1 01 84 */ stfs f7, 0x184(r1) /* 801ED0BC 001EA01C D0 C1 01 88 */ stfs f6, 0x188(r1) /* 801ED0C0 001EA020 D0 A1 01 8C */ stfs f5, 0x18c(r1) /* 801ED0C4 001EA024 D0 81 01 90 */ stfs f4, 0x190(r1) /* 801ED0C8 001EA028 D0 61 01 94 */ stfs f3, 0x194(r1) /* 801ED0CC 001EA02C D0 41 01 98 */ stfs f2, 0x198(r1) /* 801ED0D0 001EA030 D0 21 01 9C */ stfs f1, 0x19c(r1) /* 801ED0D4 001EA034 D0 01 01 A0 */ stfs f0, 0x1a0(r1) /* 801ED0D8 001EA038 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 801ED0DC 001EA03C 48 0B 55 C9 */ bl GetNormal__17CCollisionSurfaceCFv /* 801ED0E0 001EA040 7F C4 F3 78 */ mr r4, r30 /* 801ED0E4 001EA044 38 61 00 8C */ addi r3, r1, 0x8c /* 801ED0E8 001EA048 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 801ED0EC 001EA04C 38 C1 01 80 */ addi r6, r1, 0x180 /* 801ED0F0 001EA050 38 E1 00 80 */ addi r7, r1, 0x80 /* 801ED0F4 001EA054 4B FF FC ED */ bl ProjectPointToPlane__17CWallCrawlerSwarmFRC9CVector3fRC9CVector3fRC9CVector3f /* 801ED0F8 001EA058 C3 C1 00 8C */ lfs f30, 0x8c(r1) /* 801ED0FC 001EA05C 38 61 00 74 */ addi r3, r1, 0x74 /* 801ED100 001EA060 C3 A1 00 90 */ lfs f29, 0x90(r1) /* 801ED104 001EA064 38 81 01 80 */ addi r4, r1, 0x180 /* 801ED108 001EA068 C3 81 00 94 */ lfs f28, 0x94(r1) /* 801ED10C 001EA06C C3 FE 03 74 */ lfs f31, 0x374(r30) /* 801ED110 001EA070 48 0B 55 95 */ bl GetNormal__17CCollisionSurfaceCFv /* 801ED114 001EA074 C0 41 00 78 */ lfs f2, 0x78(r1) /* 801ED118 001EA078 1F FD 00 84 */ mulli r31, r29, 0x84 /* 801ED11C 001EA07C C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801ED120 001EA080 38 61 01 28 */ addi r3, r1, 0x128 /* 801ED124 001EA084 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801ED128 001EA088 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 801ED12C 001EA08C EC 3F 00 72 */ fmuls f1, f31, f1 /* 801ED130 001EA090 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801ED134 001EA094 38 81 00 98 */ addi r4, r1, 0x98 /* 801ED138 001EA098 EC 5D 10 2A */ fadds f2, f29, f2 /* 801ED13C 001EA09C EC 3C 08 2A */ fadds f1, f28, f1 /* 801ED140 001EA0A0 EC 1E 00 2A */ fadds f0, f30, f0 /* 801ED144 001EA0A4 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 801ED148 001EA0A8 D0 01 00 98 */ stfs f0, 0x98(r1) /* 801ED14C 001EA0AC D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 801ED150 001EA0B0 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801ED154 001EA0B4 7F A0 FA 14 */ add r29, r0, r31 /* 801ED158 001EA0B8 48 12 5F E9 */ bl Translate__12CTransform4fFRC9CVector3f /* 801ED15C 001EA0BC 7F A3 EB 78 */ mr r3, r29 /* 801ED160 001EA0C0 38 81 01 28 */ addi r4, r1, 0x128 /* 801ED164 001EA0C4 48 12 59 DD */ bl __as__12CTransform4fFRC12CTransform4f /* 801ED168 001EA0C8 38 61 00 5C */ addi r3, r1, 0x5c /* 801ED16C 001EA0CC 38 81 01 80 */ addi r4, r1, 0x180 /* 801ED170 001EA0D0 48 0B 55 35 */ bl GetNormal__17CCollisionSurfaceCFv /* 801ED174 001EA0D4 C0 A2 AD A0 */ lfs f5, lbl_805ACAC0@sda21(r2) /* 801ED178 001EA0D8 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801ED17C 001EA0DC C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801ED180 001EA0E0 EC 05 00 32 */ fmuls f0, f5, f0 /* 801ED184 001EA0E4 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801ED188 001EA0E8 C0 61 00 64 */ lfs f3, 0x64(r1) /* 801ED18C 001EA0EC C0 42 AE 34 */ lfs f2, lbl_805ACB54@sda21(r2) /* 801ED190 001EA0F0 EC 25 00 7A */ fmadds f1, f5, f1, f0 /* 801ED194 001EA0F4 C0 02 AD D8 */ lfs f0, lbl_805ACAF8@sda21(r2) /* 801ED198 001EA0F8 D0 A1 00 68 */ stfs f5, 0x68(r1) /* 801ED19C 001EA0FC EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801ED1A0 001EA100 D0 A1 00 6C */ stfs f5, 0x6c(r1) /* 801ED1A4 001EA104 D0 81 00 70 */ stfs f4, 0x70(r1) /* 801ED1A8 001EA108 EC 21 10 28 */ fsubs f1, f1, f2 /* 801ED1AC 001EA10C FC 20 0A 10 */ fabs f1, f1 /* 801ED1B0 001EA110 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801ED1B4 001EA114 40 80 00 5C */ bge lbl_801ED210 /* 801ED1B8 001EA118 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801ED1BC 001EA11C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801ED1C0 001EA120 38 E3 66 A0 */ addi r7, r3, skZero3f@l /* 801ED1C4 001EA124 38 81 00 50 */ addi r4, r1, 0x50 /* 801ED1C8 001EA128 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 801ED1CC 001EA12C 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801ED1D0 001EA130 38 A1 00 44 */ addi r5, r1, 0x44 /* 801ED1D4 001EA134 38 C1 00 38 */ addi r6, r1, 0x38 /* 801ED1D8 001EA138 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801ED1DC 001EA13C D0 A1 00 44 */ stfs f5, 0x44(r1) /* 801ED1E0 001EA140 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801ED1E4 001EA144 D0 A1 00 4C */ stfs f5, 0x4c(r1) /* 801ED1E8 001EA148 D0 81 00 50 */ stfs f4, 0x50(r1) /* 801ED1EC 001EA14C D0 A1 00 54 */ stfs f5, 0x54(r1) /* 801ED1F0 001EA150 D0 A1 00 58 */ stfs f5, 0x58(r1) /* 801ED1F4 001EA154 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801ED1F8 001EA158 7F A0 FA 14 */ add r29, r0, r31 /* 801ED1FC 001EA15C 48 12 5C 61 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 /* 801ED200 001EA160 7F A3 EB 78 */ mr r3, r29 /* 801ED204 001EA164 38 81 00 F8 */ addi r4, r1, 0xf8 /* 801ED208 001EA168 48 12 59 A1 */ bl SetRotation__12CTransform4fFRC12CTransform4f /* 801ED20C 001EA16C 48 00 00 4C */ b lbl_801ED258 lbl_801ED210: /* 801ED210 001EA170 C0 02 AD DC */ lfs f0, lbl_805ACAFC@sda21(r2) /* 801ED214 001EA174 38 61 00 20 */ addi r3, r1, 0x20 /* 801ED218 001EA178 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 801ED21C 001EA17C 38 81 01 80 */ addi r4, r1, 0x180 /* 801ED220 001EA180 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801ED224 001EA184 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801ED228 001EA188 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801ED22C 001EA18C 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801ED230 001EA190 7F A0 FA 14 */ add r29, r0, r31 /* 801ED234 001EA194 48 0B 54 71 */ bl GetNormal__17CCollisionSurfaceCFv /* 801ED238 001EA198 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801ED23C 001EA19C 38 81 00 2C */ addi r4, r1, 0x2c /* 801ED240 001EA1A0 38 A1 00 20 */ addi r5, r1, 0x20 /* 801ED244 001EA1A4 38 C1 00 14 */ addi r6, r1, 0x14 /* 801ED248 001EA1A8 48 00 1B 65 */ bl LookAt__F9CVector3f9CVector3ff /* 801ED24C 001EA1AC 7F A3 EB 78 */ mr r3, r29 /* 801ED250 001EA1B0 38 81 00 C8 */ addi r4, r1, 0xc8 /* 801ED254 001EA1B4 48 12 59 55 */ bl SetRotation__12CTransform4fFRC12CTransform4f lbl_801ED258: /* 801ED258 001EA1B8 80 9E 01 14 */ lwz r4, 0x114(r30) /* 801ED25C 001EA1BC 39 3F 00 80 */ addi r9, r31, 0x80 /* 801ED260 001EA1C0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801ED264 001EA1C4 38 A0 00 01 */ li r5, 1 /* 801ED268 001EA1C8 7C 04 48 AE */ lbzx r0, r4, r9 /* 801ED26C 001EA1CC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801ED270 001EA1D0 38 E3 66 A0 */ addi r7, r3, skZero3f@l /* 801ED274 001EA1D4 39 5F 00 30 */ addi r10, r31, 0x30 /* 801ED278 001EA1D8 7C 04 49 AE */ stbx r0, r4, r9 /* 801ED27C 001EA1DC 38 BF 00 3C */ addi r5, r31, 0x3c /* 801ED280 001EA1E0 A1 01 00 10 */ lhz r8, 0x10(r1) /* 801ED284 001EA1E4 38 9F 00 7C */ addi r4, r31, 0x7c /* 801ED288 001EA1E8 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801ED28C 001EA1EC 38 C0 00 00 */ li r6, 0 /* 801ED290 001EA1F0 C0 27 00 00 */ lfs f1, 0(r7) /* 801ED294 001EA1F4 38 7F 00 48 */ addi r3, r31, 0x48 /* 801ED298 001EA1F8 7D 40 52 14 */ add r10, r0, r10 /* 801ED29C 001EA1FC C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801ED2A0 001EA200 D0 2A 00 00 */ stfs f1, 0(r10) /* 801ED2A4 001EA204 38 1F 00 78 */ addi r0, r31, 0x78 /* 801ED2A8 001EA208 C0 27 00 04 */ lfs f1, 4(r7) /* 801ED2AC 001EA20C D0 2A 00 04 */ stfs f1, 4(r10) /* 801ED2B0 001EA210 C0 27 00 08 */ lfs f1, 8(r7) /* 801ED2B4 001EA214 D0 2A 00 08 */ stfs f1, 8(r10) /* 801ED2B8 001EA218 80 FE 01 14 */ lwz r7, 0x114(r30) /* 801ED2BC 001EA21C 7D 07 2B 2E */ sthx r8, r7, r5 /* 801ED2C0 001EA220 80 BE 01 14 */ lwz r5, 0x114(r30) /* 801ED2C4 001EA224 7C C5 21 AE */ stbx r6, r5, r4 /* 801ED2C8 001EA228 80 9E 01 14 */ lwz r4, 0x114(r30) /* 801ED2CC 001EA22C 7C 04 1D 2E */ stfsx f0, r4, r3 /* 801ED2D0 001EA230 80 9E 01 14 */ lwz r4, 0x114(r30) /* 801ED2D4 001EA234 7C 64 48 AE */ lbzx r3, r4, r9 /* 801ED2D8 001EA238 50 C3 26 F6 */ rlwimi r3, r6, 4, 0x1b, 0x1b /* 801ED2DC 001EA23C 7C 64 49 AE */ stbx r3, r4, r9 /* 801ED2E0 001EA240 C0 1E 03 BC */ lfs f0, 0x3bc(r30) /* 801ED2E4 001EA244 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801ED2E8 001EA248 7C 03 05 2E */ stfsx f0, r3, r0 lbl_801ED2EC: /* 801ED2EC 001EA24C E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 /* 801ED2F0 001EA250 CB E1 01 F0 */ lfd f31, 0x1f0(r1) /* 801ED2F4 001EA254 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 /* 801ED2F8 001EA258 CB C1 01 E0 */ lfd f30, 0x1e0(r1) /* 801ED2FC 001EA25C E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 /* 801ED300 001EA260 CB A1 01 D0 */ lfd f29, 0x1d0(r1) /* 801ED304 001EA264 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 /* 801ED308 001EA268 CB 81 01 C0 */ lfd f28, 0x1c0(r1) /* 801ED30C 001EA26C 83 E1 01 BC */ lwz r31, 0x1bc(r1) /* 801ED310 001EA270 83 C1 01 B8 */ lwz r30, 0x1b8(r1) /* 801ED314 001EA274 80 01 02 04 */ lwz r0, 0x204(r1) /* 801ED318 001EA278 83 A1 01 B4 */ lwz r29, 0x1b4(r1) /* 801ED31C 001EA27C 7C 08 03 A6 */ mtlr r0 /* 801ED320 001EA280 38 21 02 00 */ addi r1, r1, 0x200 /* 801ED324 001EA284 4E 80 00 20 */ blr .global AllocateSkinnedModels__17CWallCrawlerSwarmFR13CStateManagerQ210CModelData11EWhichModel AllocateSkinnedModels__17CWallCrawlerSwarmFR13CStateManagerQ210CModelData11EWhichModel: /* 801ED328 001EA288 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801ED32C 001EA28C 7C 08 02 A6 */ mflr r0 /* 801ED330 001EA290 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801ED334 001EA294 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801ED338 001EA298 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801ED33C 001EA29C DB C1 00 90 */ stfd f30, 0x90(r1) /* 801ED340 001EA2A0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801ED344 001EA2A4 BE A1 00 64 */ stmw r21, 0x64(r1) /* 801ED348 001EA2A8 7C 78 1B 78 */ mr r24, r3 /* 801ED34C 001EA2AC 7C 99 23 78 */ mr r25, r4 /* 801ED350 001EA2B0 3B D8 04 34 */ addi r30, r24, 0x434 /* 801ED354 001EA2B4 7C BA 2B 78 */ mr r26, r5 /* 801ED358 001EA2B8 7F D7 F3 78 */ mr r23, r30 /* 801ED35C 001EA2BC 3A C0 00 00 */ li r22, 0 /* 801ED360 001EA2C0 48 00 00 28 */ b lbl_801ED388 lbl_801ED364: /* 801ED364 001EA2C4 28 17 00 00 */ cmplwi r23, 0 /* 801ED368 001EA2C8 41 82 00 18 */ beq lbl_801ED380 /* 801ED36C 001EA2CC 88 17 00 00 */ lbz r0, 0(r23) /* 801ED370 001EA2D0 28 00 00 00 */ cmplwi r0, 0 /* 801ED374 001EA2D4 41 82 00 0C */ beq lbl_801ED380 /* 801ED378 001EA2D8 80 77 00 04 */ lwz r3, 4(r23) /* 801ED37C 001EA2DC 48 12 85 B5 */ bl Free__7CMemoryFPCv lbl_801ED380: /* 801ED380 001EA2E0 3A F7 00 08 */ addi r23, r23, 8 /* 801ED384 001EA2E4 3A D6 00 01 */ addi r22, r22, 1 lbl_801ED388: /* 801ED388 001EA2E8 80 18 04 30 */ lwz r0, 0x430(r24) /* 801ED38C 001EA2EC 7C 16 00 00 */ cmpw r22, r0 /* 801ED390 001EA2F0 41 80 FF D4 */ blt lbl_801ED364 /* 801ED394 001EA2F4 38 60 00 00 */ li r3, 0 /* 801ED398 001EA2F8 3B B8 04 88 */ addi r29, r24, 0x488 /* 801ED39C 001EA2FC 90 78 04 30 */ stw r3, 0x430(r24) /* 801ED3A0 001EA300 80 B8 04 84 */ lwz r5, 0x484(r24) /* 801ED3A4 001EA304 2C 05 00 00 */ cmpwi r5, 0 /* 801ED3A8 001EA308 40 81 00 40 */ ble lbl_801ED3E8 /* 801ED3AC 001EA30C 2C 05 00 08 */ cmpwi r5, 8 /* 801ED3B0 001EA310 38 85 FF F8 */ addi r4, r5, -8 /* 801ED3B4 001EA314 40 81 00 20 */ ble lbl_801ED3D4 /* 801ED3B8 001EA318 38 04 00 07 */ addi r0, r4, 7 /* 801ED3BC 001EA31C 54 00 E8 FE */ srwi r0, r0, 3 /* 801ED3C0 001EA320 7C 09 03 A6 */ mtctr r0 /* 801ED3C4 001EA324 2C 04 00 00 */ cmpwi r4, 0 /* 801ED3C8 001EA328 40 81 00 0C */ ble lbl_801ED3D4 lbl_801ED3CC: /* 801ED3CC 001EA32C 38 63 00 08 */ addi r3, r3, 8 /* 801ED3D0 001EA330 42 00 FF FC */ bdnz lbl_801ED3CC lbl_801ED3D4: /* 801ED3D4 001EA334 7C 03 28 50 */ subf r0, r3, r5 /* 801ED3D8 001EA338 7C 09 03 A6 */ mtctr r0 /* 801ED3DC 001EA33C 7C 03 28 00 */ cmpw r3, r5 /* 801ED3E0 001EA340 40 80 00 08 */ bge lbl_801ED3E8 lbl_801ED3E4: /* 801ED3E4 001EA344 42 00 00 00 */ bdnz lbl_801ED3E4 lbl_801ED3E8: /* 801ED3E8 001EA348 38 00 00 00 */ li r0, 0 /* 801ED3EC 001EA34C 3B 98 04 B4 */ addi r28, r24, 0x4b4 /* 801ED3F0 001EA350 3C 60 80 3D */ lis r3, lbl_803D1F30@ha /* 801ED3F4 001EA354 90 18 04 84 */ stw r0, 0x484(r24) /* 801ED3F8 001EA358 CB C2 AD E0 */ lfd f30, lbl_805ACB00@sda21(r2) /* 801ED3FC 001EA35C 7F 9F E3 78 */ mr r31, r28 /* 801ED400 001EA360 C3 E2 AE 38 */ lfs f31, lbl_805ACB58@sda21(r2) /* 801ED404 001EA364 3A C3 1F 30 */ addi r22, r3, lbl_803D1F30@l /* 801ED408 001EA368 3B 60 00 00 */ li r27, 0 /* 801ED40C 001EA36C 3E E0 43 30 */ lis r23, 0x4330 lbl_801ED410: /* 801ED410 001EA370 80 7F 00 00 */ lwz r3, 0(r31) /* 801ED414 001EA374 7F 44 D3 78 */ mr r4, r26 /* 801ED418 001EA378 80 63 00 00 */ lwz r3, 0(r3) /* 801ED41C 001EA37C 4B F2 7B 41 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 801ED420 001EA380 38 81 00 14 */ addi r4, r1, 0x14 /* 801ED424 001EA384 48 16 52 45 */ bl sub_80352668 /* 801ED428 001EA388 80 18 04 30 */ lwz r0, 0x430(r24) /* 801ED42C 001EA38C 7C 83 00 D0 */ neg r4, r3 /* 801ED430 001EA390 7C 84 1B 78 */ or r4, r4, r3 /* 801ED434 001EA394 90 61 00 24 */ stw r3, 0x24(r1) /* 801ED438 001EA398 54 00 18 38 */ slwi r0, r0, 3 /* 801ED43C 001EA39C 54 84 0F FE */ srwi r4, r4, 0x1f /* 801ED440 001EA3A0 7C BE 02 15 */ add. r5, r30, r0 /* 801ED444 001EA3A4 98 81 00 20 */ stb r4, 0x20(r1) /* 801ED448 001EA3A8 41 82 00 14 */ beq lbl_801ED45C /* 801ED44C 001EA3AC 98 85 00 00 */ stb r4, 0(r5) /* 801ED450 001EA3B0 38 00 00 00 */ li r0, 0 /* 801ED454 001EA3B4 90 65 00 04 */ stw r3, 4(r5) /* 801ED458 001EA3B8 98 01 00 20 */ stb r0, 0x20(r1) lbl_801ED45C: /* 801ED45C 001EA3BC 80 78 04 30 */ lwz r3, 0x430(r24) /* 801ED460 001EA3C0 88 01 00 20 */ lbz r0, 0x20(r1) /* 801ED464 001EA3C4 38 63 00 01 */ addi r3, r3, 1 /* 801ED468 001EA3C8 28 00 00 00 */ cmplwi r0, 0 /* 801ED46C 001EA3CC 90 78 04 30 */ stw r3, 0x430(r24) /* 801ED470 001EA3D0 41 82 00 0C */ beq lbl_801ED47C /* 801ED474 001EA3D4 80 61 00 24 */ lwz r3, 0x24(r1) /* 801ED478 001EA3D8 48 12 84 B9 */ bl Free__7CMemoryFPCv lbl_801ED47C: /* 801ED47C 001EA3DC 80 18 04 84 */ lwz r0, 0x484(r24) /* 801ED480 001EA3E0 54 00 10 3A */ slwi r0, r0, 2 /* 801ED484 001EA3E4 7C 7D 02 15 */ add. r3, r29, r0 /* 801ED488 001EA3E8 41 82 00 0C */ beq lbl_801ED494 /* 801ED48C 001EA3EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801ED490 001EA3F0 90 03 00 00 */ stw r0, 0(r3) lbl_801ED494: /* 801ED494 001EA3F4 80 78 04 84 */ lwz r3, 0x484(r24) /* 801ED498 001EA3F8 38 80 00 01 */ li r4, 1 /* 801ED49C 001EA3FC 38 03 00 01 */ addi r0, r3, 1 /* 801ED4A0 001EA400 90 18 04 84 */ stw r0, 0x484(r24) /* 801ED4A4 001EA404 80 7F 00 00 */ lwz r3, 0(r31) /* 801ED4A8 001EA408 80 63 00 00 */ lwz r3, 0(r3) /* 801ED4AC 001EA40C 4B F2 80 B5 */ bl EnableLooping__10CModelDataFb /* 801ED4B0 001EA410 7E C4 B3 78 */ mr r4, r22 /* 801ED4B4 001EA414 38 61 00 28 */ addi r3, r1, 0x28 /* 801ED4B8 001EA418 4B E1 78 01 */ bl string_l__4rstlFPCc /* 801ED4BC 001EA41C 80 18 00 04 */ lwz r0, 4(r24) /* 801ED4C0 001EA420 38 81 00 28 */ addi r4, r1, 0x28 /* 801ED4C4 001EA424 90 01 00 0C */ stw r0, 0xc(r1) /* 801ED4C8 001EA428 80 7F 00 00 */ lwz r3, 0(r31) /* 801ED4CC 001EA42C 90 01 00 08 */ stw r0, 8(r1) /* 801ED4D0 001EA430 82 A3 00 00 */ lwz r21, 0(r3) /* 801ED4D4 001EA434 80 75 00 10 */ lwz r3, 0x10(r21) /* 801ED4D8 001EA438 4B E3 EF 95 */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801ED4DC 001EA43C 6F 60 80 00 */ xoris r0, r27, 0x8000 /* 801ED4E0 001EA440 92 E1 00 58 */ stw r23, 0x58(r1) /* 801ED4E4 001EA444 7E A4 AB 78 */ mr r4, r21 /* 801ED4E8 001EA448 7F 25 CB 78 */ mr r5, r25 /* 801ED4EC 001EA44C 90 01 00 5C */ stw r0, 0x5c(r1) /* 801ED4F0 001EA450 38 61 00 38 */ addi r3, r1, 0x38 /* 801ED4F4 001EA454 38 C1 00 0C */ addi r6, r1, 0xc /* 801ED4F8 001EA458 38 E0 00 01 */ li r7, 1 /* 801ED4FC 001EA45C C8 01 00 58 */ lfd f0, 0x58(r1) /* 801ED500 001EA460 EC 00 F0 28 */ fsubs f0, f0, f30 /* 801ED504 001EA464 EC 00 07 F2 */ fmuls f0, f0, f31 /* 801ED508 001EA468 EC 20 00 72 */ fmuls f1, f0, f1 /* 801ED50C 001EA46C 4B F2 86 29 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 801ED510 001EA470 38 61 00 28 */ addi r3, r1, 0x28 /* 801ED514 001EA474 48 15 05 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801ED518 001EA478 3B 7B 00 01 */ addi r27, r27, 1 /* 801ED51C 001EA47C 3B FF 00 04 */ addi r31, r31, 4 /* 801ED520 001EA480 2C 1B 00 09 */ cmpwi r27, 9 /* 801ED524 001EA484 41 80 FE EC */ blt lbl_801ED410 /* 801ED528 001EA488 80 7C 00 24 */ lwz r3, 0x24(r28) /* 801ED52C 001EA48C 7F 44 D3 78 */ mr r4, r26 /* 801ED530 001EA490 80 63 00 00 */ lwz r3, 0(r3) /* 801ED534 001EA494 4B F2 7A 29 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 801ED538 001EA498 38 81 00 10 */ addi r4, r1, 0x10 /* 801ED53C 001EA49C 48 16 51 2D */ bl sub_80352668 /* 801ED540 001EA4A0 80 18 04 30 */ lwz r0, 0x430(r24) /* 801ED544 001EA4A4 7C 83 00 D0 */ neg r4, r3 /* 801ED548 001EA4A8 7C 84 1B 78 */ or r4, r4, r3 /* 801ED54C 001EA4AC 90 61 00 1C */ stw r3, 0x1c(r1) /* 801ED550 001EA4B0 54 00 18 38 */ slwi r0, r0, 3 /* 801ED554 001EA4B4 54 84 0F FE */ srwi r4, r4, 0x1f /* 801ED558 001EA4B8 7C BE 02 15 */ add. r5, r30, r0 /* 801ED55C 001EA4BC 98 81 00 18 */ stb r4, 0x18(r1) /* 801ED560 001EA4C0 41 82 00 14 */ beq lbl_801ED574 /* 801ED564 001EA4C4 98 85 00 00 */ stb r4, 0(r5) /* 801ED568 001EA4C8 38 00 00 00 */ li r0, 0 /* 801ED56C 001EA4CC 90 65 00 04 */ stw r3, 4(r5) /* 801ED570 001EA4D0 98 01 00 18 */ stb r0, 0x18(r1) lbl_801ED574: /* 801ED574 001EA4D4 80 78 04 30 */ lwz r3, 0x430(r24) /* 801ED578 001EA4D8 88 01 00 18 */ lbz r0, 0x18(r1) /* 801ED57C 001EA4DC 38 63 00 01 */ addi r3, r3, 1 /* 801ED580 001EA4E0 28 00 00 00 */ cmplwi r0, 0 /* 801ED584 001EA4E4 90 78 04 30 */ stw r3, 0x430(r24) /* 801ED588 001EA4E8 41 82 00 0C */ beq lbl_801ED594 /* 801ED58C 001EA4EC 80 61 00 1C */ lwz r3, 0x1c(r1) /* 801ED590 001EA4F0 48 12 83 A1 */ bl Free__7CMemoryFPCv lbl_801ED594: /* 801ED594 001EA4F4 80 18 04 84 */ lwz r0, 0x484(r24) /* 801ED598 001EA4F8 54 00 10 3A */ slwi r0, r0, 2 /* 801ED59C 001EA4FC 7C 7D 02 15 */ add. r3, r29, r0 /* 801ED5A0 001EA500 41 82 00 0C */ beq lbl_801ED5AC /* 801ED5A4 001EA504 80 01 00 10 */ lwz r0, 0x10(r1) /* 801ED5A8 001EA508 90 03 00 00 */ stw r0, 0(r3) lbl_801ED5AC: /* 801ED5AC 001EA50C 80 78 04 84 */ lwz r3, 0x484(r24) /* 801ED5B0 001EA510 38 03 00 01 */ addi r0, r3, 1 /* 801ED5B4 001EA514 90 18 04 84 */ stw r0, 0x484(r24) /* 801ED5B8 001EA518 93 58 04 DC */ stw r26, 0x4dc(r24) /* 801ED5BC 001EA51C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801ED5C0 001EA520 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801ED5C4 001EA524 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801ED5C8 001EA528 CB C1 00 90 */ lfd f30, 0x90(r1) /* 801ED5CC 001EA52C BA A1 00 64 */ lmw r21, 0x64(r1) /* 801ED5D0 001EA530 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801ED5D4 001EA534 7C 08 03 A6 */ mtlr r0 /* 801ED5D8 001EA538 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801ED5DC 001EA53C 4E 80 00 20 */ blr .global AcceptScriptMsg__17CWallCrawlerSwarmF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__17CWallCrawlerSwarmF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801ED5E0 001EA540 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 801ED5E4 001EA544 7C 08 02 A6 */ mflr r0 /* 801ED5E8 001EA548 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801ED5EC 001EA54C 93 E1 00 9C */ stw r31, 0x9c(r1) /* 801ED5F0 001EA550 93 C1 00 98 */ stw r30, 0x98(r1) /* 801ED5F4 001EA554 7C 9E 23 78 */ mr r30, r4 /* 801ED5F8 001EA558 93 A1 00 94 */ stw r29, 0x94(r1) /* 801ED5FC 001EA55C 7C DD 33 78 */ mr r29, r6 /* 801ED600 001EA560 93 81 00 90 */ stw r28, 0x90(r1) /* 801ED604 001EA564 7C 7C 1B 78 */ mr r28, r3 /* 801ED608 001EA568 A0 05 00 00 */ lhz r0, 0(r5) /* 801ED60C 001EA56C 38 A1 00 08 */ addi r5, r1, 8 /* 801ED610 001EA570 B0 01 00 08 */ sth r0, 8(r1) /* 801ED614 001EA574 4B E6 60 01 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801ED618 001EA578 2C 1E 00 04 */ cmpwi r30, 4 /* 801ED61C 001EA57C 41 82 00 90 */ beq lbl_801ED6AC /* 801ED620 001EA580 40 80 00 10 */ bge lbl_801ED630 /* 801ED624 001EA584 2C 1E 00 01 */ cmpwi r30, 1 /* 801ED628 001EA588 41 82 00 84 */ beq lbl_801ED6AC /* 801ED62C 001EA58C 48 00 00 80 */ b lbl_801ED6AC lbl_801ED630: /* 801ED630 001EA590 2C 1E 00 21 */ cmpwi r30, 0x21 /* 801ED634 001EA594 41 82 00 08 */ beq lbl_801ED63C /* 801ED638 001EA598 48 00 00 74 */ b lbl_801ED6AC lbl_801ED63C: /* 801ED63C 001EA59C 80 9C 05 48 */ lwz r4, 0x548(r28) /* 801ED640 001EA5A0 38 7C 01 08 */ addi r3, r28, 0x108 /* 801ED644 001EA5A4 48 00 19 59 */ bl sub_801eef9c /* 801ED648 001EA5A8 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801ED64C 001EA5AC 3B C0 00 00 */ li r30, 0 /* 801ED650 001EA5B0 3B E3 66 70 */ addi r31, r3, skIdentity4f@l /* 801ED654 001EA5B4 48 00 00 24 */ b lbl_801ED678 lbl_801ED658: /* 801ED658 001EA5B8 7F E4 FB 78 */ mr r4, r31 /* 801ED65C 001EA5BC 7F C5 F3 78 */ mr r5, r30 /* 801ED660 001EA5C0 38 61 00 0C */ addi r3, r1, 0xc /* 801ED664 001EA5C4 48 00 16 31 */ bl __ct__Q217CWallCrawlerSwarm5CBoidFRC12CTransform4fUi /* 801ED668 001EA5C8 7C 64 1B 78 */ mr r4, r3 /* 801ED66C 001EA5CC 38 7C 01 08 */ addi r3, r28, 0x108 /* 801ED670 001EA5D0 48 00 00 5D */ bl sub_801ed6cc /* 801ED674 001EA5D4 3B DE 00 01 */ addi r30, r30, 1 lbl_801ED678: /* 801ED678 001EA5D8 80 1C 01 10 */ lwz r0, 0x110(r28) /* 801ED67C 001EA5DC 7C 1E 00 00 */ cmpw r30, r0 /* 801ED680 001EA5E0 41 80 FF D8 */ blt lbl_801ED658 /* 801ED684 001EA5E4 7F 83 E3 78 */ mr r3, r28 /* 801ED688 001EA5E8 7F A4 EB 78 */ mr r4, r29 /* 801ED68C 001EA5EC 38 A0 00 00 */ li r5, 0 /* 801ED690 001EA5F0 4B FF FC 99 */ bl AllocateSkinnedModels__17CWallCrawlerSwarmFR13CStateManagerQ210CModelData11EWhichModel /* 801ED694 001EA5F4 7F 83 E3 78 */ mr r3, r28 /* 801ED698 001EA5F8 7F A4 EB 78 */ mr r4, r29 /* 801ED69C 001EA5FC 4B FF E2 59 */ bl AddDoorRepulsors__17CWallCrawlerSwarmFR13CStateManager /* 801ED6A0 001EA600 7F 83 E3 78 */ mr r3, r28 /* 801ED6A4 001EA604 38 80 00 00 */ li r4, 0 /* 801ED6A8 001EA608 4B E6 56 C5 */ bl CreateShadow__6CActorFb lbl_801ED6AC: /* 801ED6AC 001EA60C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801ED6B0 001EA610 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801ED6B4 001EA614 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801ED6B8 001EA618 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801ED6BC 001EA61C 83 81 00 90 */ lwz r28, 0x90(r1) /* 801ED6C0 001EA620 7C 08 03 A6 */ mtlr r0 /* 801ED6C4 001EA624 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801ED6C8 001EA628 4E 80 00 20 */ blr .global sub_801ed6cc sub_801ed6cc: /* 801ED6CC 001EA62C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801ED6D0 001EA630 7C 08 02 A6 */ mflr r0 /* 801ED6D4 001EA634 90 01 00 14 */ stw r0, 0x14(r1) /* 801ED6D8 001EA638 93 E1 00 0C */ stw r31, 0xc(r1) /* 801ED6DC 001EA63C 7C 9F 23 78 */ mr r31, r4 /* 801ED6E0 001EA640 93 C1 00 08 */ stw r30, 8(r1) /* 801ED6E4 001EA644 7C 7E 1B 78 */ mr r30, r3 /* 801ED6E8 001EA648 80 03 00 04 */ lwz r0, 4(r3) /* 801ED6EC 001EA64C 80 A3 00 08 */ lwz r5, 8(r3) /* 801ED6F0 001EA650 7C 00 28 00 */ cmpw r0, r5 /* 801ED6F4 001EA654 41 80 00 18 */ blt lbl_801ED70C /* 801ED6F8 001EA658 2C 05 00 00 */ cmpwi r5, 0 /* 801ED6FC 001EA65C 38 80 00 04 */ li r4, 4 /* 801ED700 001EA660 41 82 00 08 */ beq lbl_801ED708 /* 801ED704 001EA664 54 A4 08 3C */ slwi r4, r5, 1 lbl_801ED708: /* 801ED708 001EA668 48 00 18 95 */ bl sub_801eef9c lbl_801ED70C: /* 801ED70C 001EA66C 80 1E 00 04 */ lwz r0, 4(r30) /* 801ED710 001EA670 7F E4 FB 78 */ mr r4, r31 /* 801ED714 001EA674 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801ED718 001EA678 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801ED71C 001EA67C 7C 63 02 14 */ add r3, r3, r0 /* 801ED720 001EA680 48 00 00 29 */ bl sub_801ed748 /* 801ED724 001EA684 80 7E 00 04 */ lwz r3, 4(r30) /* 801ED728 001EA688 38 03 00 01 */ addi r0, r3, 1 /* 801ED72C 001EA68C 90 1E 00 04 */ stw r0, 4(r30) /* 801ED730 001EA690 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801ED734 001EA694 83 C1 00 08 */ lwz r30, 8(r1) /* 801ED738 001EA698 80 01 00 14 */ lwz r0, 0x14(r1) /* 801ED73C 001EA69C 7C 08 03 A6 */ mtlr r0 /* 801ED740 001EA6A0 38 21 00 10 */ addi r1, r1, 0x10 /* 801ED744 001EA6A4 4E 80 00 20 */ blr .global sub_801ed748 sub_801ed748: /* 801ED748 001EA6A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801ED74C 001EA6AC 7C 08 02 A6 */ mflr r0 /* 801ED750 001EA6B0 28 03 00 00 */ cmplwi r3, 0 /* 801ED754 001EA6B4 90 01 00 14 */ stw r0, 0x14(r1) /* 801ED758 001EA6B8 41 82 00 08 */ beq lbl_801ED760 /* 801ED75C 001EA6BC 48 00 00 15 */ bl sub_801ed770 lbl_801ED760: /* 801ED760 001EA6C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801ED764 001EA6C4 7C 08 03 A6 */ mtlr r0 /* 801ED768 001EA6C8 38 21 00 10 */ addi r1, r1, 0x10 /* 801ED76C 001EA6CC 4E 80 00 20 */ blr .global sub_801ed770 sub_801ed770: /* 801ED770 001EA6D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801ED774 001EA6D4 7C 08 02 A6 */ mflr r0 /* 801ED778 001EA6D8 90 01 00 14 */ stw r0, 0x14(r1) /* 801ED77C 001EA6DC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801ED780 001EA6E0 7C 9F 23 78 */ mr r31, r4 /* 801ED784 001EA6E4 93 C1 00 08 */ stw r30, 8(r1) /* 801ED788 001EA6E8 7C 7E 1B 78 */ mr r30, r3 /* 801ED78C 001EA6EC 48 12 53 E9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801ED790 001EA6F0 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 801ED794 001EA6F4 7F C3 F3 78 */ mr r3, r30 /* 801ED798 001EA6F8 D0 1E 00 30 */ stfs f0, 0x30(r30) /* 801ED79C 001EA6FC C0 1F 00 34 */ lfs f0, 0x34(r31) /* 801ED7A0 001EA700 D0 1E 00 34 */ stfs f0, 0x34(r30) /* 801ED7A4 001EA704 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801ED7A8 001EA708 D0 1E 00 38 */ stfs f0, 0x38(r30) /* 801ED7AC 001EA70C A0 1F 00 3C */ lhz r0, 0x3c(r31) /* 801ED7B0 001EA710 B0 1E 00 3C */ sth r0, 0x3c(r30) /* 801ED7B4 001EA714 80 1F 00 40 */ lwz r0, 0x40(r31) /* 801ED7B8 001EA718 90 1E 00 40 */ stw r0, 0x40(r30) /* 801ED7BC 001EA71C 80 1F 00 44 */ lwz r0, 0x44(r31) /* 801ED7C0 001EA720 90 1E 00 44 */ stw r0, 0x44(r30) /* 801ED7C4 001EA724 C0 1F 00 48 */ lfs f0, 0x48(r31) /* 801ED7C8 001EA728 D0 1E 00 48 */ stfs f0, 0x48(r30) /* 801ED7CC 001EA72C C0 1F 00 4C */ lfs f0, 0x4c(r31) /* 801ED7D0 001EA730 D0 1E 00 4C */ stfs f0, 0x4c(r30) /* 801ED7D4 001EA734 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801ED7D8 001EA738 D0 1E 00 50 */ stfs f0, 0x50(r30) /* 801ED7DC 001EA73C C0 1F 00 54 */ lfs f0, 0x54(r31) /* 801ED7E0 001EA740 D0 1E 00 54 */ stfs f0, 0x54(r30) /* 801ED7E4 001EA744 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 801ED7E8 001EA748 D0 1E 00 58 */ stfs f0, 0x58(r30) /* 801ED7EC 001EA74C C0 1F 00 5C */ lfs f0, 0x5c(r31) /* 801ED7F0 001EA750 D0 1E 00 5C */ stfs f0, 0x5c(r30) /* 801ED7F4 001EA754 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801ED7F8 001EA758 D0 1E 00 60 */ stfs f0, 0x60(r30) /* 801ED7FC 001EA75C C0 1F 00 64 */ lfs f0, 0x64(r31) /* 801ED800 001EA760 D0 1E 00 64 */ stfs f0, 0x64(r30) /* 801ED804 001EA764 C0 1F 00 68 */ lfs f0, 0x68(r31) /* 801ED808 001EA768 D0 1E 00 68 */ stfs f0, 0x68(r30) /* 801ED80C 001EA76C C0 1F 00 6C */ lfs f0, 0x6c(r31) /* 801ED810 001EA770 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 801ED814 001EA774 C0 1F 00 70 */ lfs f0, 0x70(r31) /* 801ED818 001EA778 D0 1E 00 70 */ stfs f0, 0x70(r30) /* 801ED81C 001EA77C 80 1F 00 74 */ lwz r0, 0x74(r31) /* 801ED820 001EA780 90 1E 00 74 */ stw r0, 0x74(r30) /* 801ED824 001EA784 C0 1F 00 78 */ lfs f0, 0x78(r31) /* 801ED828 001EA788 D0 1E 00 78 */ stfs f0, 0x78(r30) /* 801ED82C 001EA78C 80 1F 00 7C */ lwz r0, 0x7c(r31) /* 801ED830 001EA790 90 1E 00 7C */ stw r0, 0x7c(r30) /* 801ED834 001EA794 88 1F 00 80 */ lbz r0, 0x80(r31) /* 801ED838 001EA798 98 1E 00 80 */ stb r0, 0x80(r30) /* 801ED83C 001EA79C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801ED840 001EA7A0 83 C1 00 08 */ lwz r30, 8(r1) /* 801ED844 001EA7A4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801ED848 001EA7A8 7C 08 03 A6 */ mtlr r0 /* 801ED84C 001EA7AC 38 21 00 10 */ addi r1, r1, 0x10 /* 801ED850 001EA7B0 4E 80 00 20 */ blr .global Accept__17CWallCrawlerSwarmFR8IVisitor Accept__17CWallCrawlerSwarmFR8IVisitor: /* 801ED854 001EA7B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801ED858 001EA7B8 7C 08 02 A6 */ mflr r0 /* 801ED85C 001EA7BC 90 01 00 14 */ stw r0, 0x14(r1) /* 801ED860 001EA7C0 7C 60 1B 78 */ mr r0, r3 /* 801ED864 001EA7C4 7C 83 23 78 */ mr r3, r4 /* 801ED868 001EA7C8 81 84 00 00 */ lwz r12, 0(r4) /* 801ED86C 001EA7CC 7C 04 03 78 */ mr r4, r0 /* 801ED870 001EA7D0 81 8C 00 E4 */ lwz r12, 0xe4(r12) /* 801ED874 001EA7D4 7D 89 03 A6 */ mtctr r12 /* 801ED878 001EA7D8 4E 80 04 21 */ bctrl /* 801ED87C 001EA7DC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801ED880 001EA7E0 7C 08 03 A6 */ mtlr r0 /* 801ED884 001EA7E4 38 21 00 10 */ addi r1, r1, 0x10 /* 801ED888 001EA7E8 4E 80 00 20 */ blr .global __dt__17CWallCrawlerSwarmFv __dt__17CWallCrawlerSwarmFv: /* 801ED88C 001EA7EC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801ED890 001EA7F0 7C 08 02 A6 */ mflr r0 /* 801ED894 001EA7F4 90 01 00 44 */ stw r0, 0x44(r1) /* 801ED898 001EA7F8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801ED89C 001EA7FC 7C 9F 23 78 */ mr r31, r4 /* 801ED8A0 001EA800 93 C1 00 38 */ stw r30, 0x38(r1) /* 801ED8A4 001EA804 7C 7E 1B 79 */ or. r30, r3, r3 /* 801ED8A8 001EA808 93 A1 00 34 */ stw r29, 0x34(r1) /* 801ED8AC 001EA80C 93 81 00 30 */ stw r28, 0x30(r1) /* 801ED8B0 001EA810 41 82 02 B0 */ beq lbl_801EDB60 /* 801ED8B4 001EA814 3C 60 80 3E */ lis r3, lbl_803E6308@ha /* 801ED8B8 001EA818 34 1E 05 24 */ addic. r0, r30, 0x524 /* 801ED8BC 001EA81C 38 03 63 08 */ addi r0, r3, lbl_803E6308@l /* 801ED8C0 001EA820 90 1E 00 00 */ stw r0, 0(r30) /* 801ED8C4 001EA824 41 82 00 60 */ beq lbl_801ED924 /* 801ED8C8 001EA828 3B 9E 05 28 */ addi r28, r30, 0x528 /* 801ED8CC 001EA82C 3B A0 00 00 */ li r29, 0 /* 801ED8D0 001EA830 48 00 00 40 */ b lbl_801ED910 lbl_801ED8D4: /* 801ED8D4 001EA834 28 1C 00 00 */ cmplwi r28, 0 /* 801ED8D8 001EA838 41 82 00 30 */ beq lbl_801ED908 /* 801ED8DC 001EA83C 88 1C 00 00 */ lbz r0, 0(r28) /* 801ED8E0 001EA840 28 00 00 00 */ cmplwi r0, 0 /* 801ED8E4 001EA844 41 82 00 24 */ beq lbl_801ED908 /* 801ED8E8 001EA848 80 7C 00 04 */ lwz r3, 4(r28) /* 801ED8EC 001EA84C 28 03 00 00 */ cmplwi r3, 0 /* 801ED8F0 001EA850 41 82 00 18 */ beq lbl_801ED908 /* 801ED8F4 001EA854 81 83 00 00 */ lwz r12, 0(r3) /* 801ED8F8 001EA858 38 80 00 01 */ li r4, 1 /* 801ED8FC 001EA85C 81 8C 00 08 */ lwz r12, 8(r12) /* 801ED900 001EA860 7D 89 03 A6 */ mtctr r12 /* 801ED904 001EA864 4E 80 04 21 */ bctrl lbl_801ED908: /* 801ED908 001EA868 3B 9C 00 08 */ addi r28, r28, 8 /* 801ED90C 001EA86C 3B BD 00 01 */ addi r29, r29, 1 lbl_801ED910: /* 801ED910 001EA870 80 1E 05 24 */ lwz r0, 0x524(r30) /* 801ED914 001EA874 7C 1D 00 00 */ cmpw r29, r0 /* 801ED918 001EA878 41 80 FF BC */ blt lbl_801ED8D4 /* 801ED91C 001EA87C 38 00 00 00 */ li r0, 0 /* 801ED920 001EA880 90 1E 05 24 */ stw r0, 0x524(r30) lbl_801ED924: /* 801ED924 001EA884 34 1E 04 F0 */ addic. r0, r30, 0x4f0 /* 801ED928 001EA888 41 82 00 44 */ beq lbl_801ED96C /* 801ED92C 001EA88C 3B 9E 04 F4 */ addi r28, r30, 0x4f4 /* 801ED930 001EA890 3B A0 00 00 */ li r29, 0 /* 801ED934 001EA894 48 00 00 24 */ b lbl_801ED958 lbl_801ED938: /* 801ED938 001EA898 28 1C 00 00 */ cmplwi r28, 0 /* 801ED93C 001EA89C 41 82 00 14 */ beq lbl_801ED950 /* 801ED940 001EA8A0 41 82 00 10 */ beq lbl_801ED950 /* 801ED944 001EA8A4 7F 83 E3 78 */ mr r3, r28 /* 801ED948 001EA8A8 38 80 00 00 */ li r4, 0 /* 801ED94C 001EA8AC 48 15 34 F5 */ bl __dt__6CTokenFv lbl_801ED950: /* 801ED950 001EA8B0 3B 9C 00 0C */ addi r28, r28, 0xc /* 801ED954 001EA8B4 3B BD 00 01 */ addi r29, r29, 1 lbl_801ED958: /* 801ED958 001EA8B8 80 1E 04 F0 */ lwz r0, 0x4f0(r30) /* 801ED95C 001EA8BC 7C 1D 00 00 */ cmpw r29, r0 /* 801ED960 001EA8C0 41 80 FF D8 */ blt lbl_801ED938 /* 801ED964 001EA8C4 38 00 00 00 */ li r0, 0 /* 801ED968 001EA8C8 90 1E 04 F0 */ stw r0, 0x4f0(r30) lbl_801ED96C: /* 801ED96C 001EA8CC 34 1E 04 E0 */ addic. r0, r30, 0x4e0 /* 801ED970 001EA8D0 41 82 00 44 */ beq lbl_801ED9B4 /* 801ED974 001EA8D4 80 1E 04 E4 */ lwz r0, 0x4e4(r30) /* 801ED978 001EA8D8 80 7E 04 EC */ lwz r3, 0x4ec(r30) /* 801ED97C 001EA8DC 54 00 20 36 */ slwi r0, r0, 4 /* 801ED980 001EA8E0 7C 03 02 14 */ add r0, r3, r0 /* 801ED984 001EA8E4 90 61 00 1C */ stw r3, 0x1c(r1) /* 801ED988 001EA8E8 7C 64 1B 78 */ mr r4, r3 /* 801ED98C 001EA8EC 90 01 00 24 */ stw r0, 0x24(r1) /* 801ED990 001EA8F0 90 01 00 20 */ stw r0, 0x20(r1) /* 801ED994 001EA8F4 90 61 00 18 */ stw r3, 0x18(r1) /* 801ED998 001EA8F8 48 00 00 08 */ b lbl_801ED9A0 lbl_801ED99C: /* 801ED99C 001EA8FC 38 84 00 10 */ addi r4, r4, 0x10 lbl_801ED9A0: /* 801ED9A0 001EA900 7C 04 00 40 */ cmplw r4, r0 /* 801ED9A4 001EA904 40 82 FF F8 */ bne lbl_801ED99C /* 801ED9A8 001EA908 28 03 00 00 */ cmplwi r3, 0 /* 801ED9AC 001EA90C 41 82 00 08 */ beq lbl_801ED9B4 /* 801ED9B0 001EA910 48 12 7F 81 */ bl Free__7CMemoryFPCv lbl_801ED9B4: /* 801ED9B4 001EA914 34 1E 04 B0 */ addic. r0, r30, 0x4b0 /* 801ED9B8 001EA918 41 82 00 40 */ beq lbl_801ED9F8 /* 801ED9BC 001EA91C 3B 9E 04 B4 */ addi r28, r30, 0x4b4 /* 801ED9C0 001EA920 3B A0 00 00 */ li r29, 0 /* 801ED9C4 001EA924 48 00 00 20 */ b lbl_801ED9E4 lbl_801ED9C8: /* 801ED9C8 001EA928 28 1C 00 00 */ cmplwi r28, 0 /* 801ED9CC 001EA92C 41 82 00 10 */ beq lbl_801ED9DC /* 801ED9D0 001EA930 41 82 00 0C */ beq lbl_801ED9DC /* 801ED9D4 001EA934 7F 83 E3 78 */ mr r3, r28 /* 801ED9D8 001EA938 4B FE 59 89 */ bl sub_801d3360 lbl_801ED9DC: /* 801ED9DC 001EA93C 3B 9C 00 04 */ addi r28, r28, 4 /* 801ED9E0 001EA940 3B BD 00 01 */ addi r29, r29, 1 lbl_801ED9E4: /* 801ED9E4 001EA944 80 1E 04 B0 */ lwz r0, 0x4b0(r30) /* 801ED9E8 001EA948 7C 1D 00 00 */ cmpw r29, r0 /* 801ED9EC 001EA94C 41 80 FF DC */ blt lbl_801ED9C8 /* 801ED9F0 001EA950 38 00 00 00 */ li r0, 0 /* 801ED9F4 001EA954 90 1E 04 B0 */ stw r0, 0x4b0(r30) lbl_801ED9F8: /* 801ED9F8 001EA958 34 1E 04 84 */ addic. r0, r30, 0x484 /* 801ED9FC 001EA95C 41 82 00 58 */ beq lbl_801EDA54 /* 801EDA00 001EA960 80 BE 04 84 */ lwz r5, 0x484(r30) /* 801EDA04 001EA964 38 60 00 00 */ li r3, 0 /* 801EDA08 001EA968 2C 05 00 00 */ cmpwi r5, 0 /* 801EDA0C 001EA96C 40 81 00 40 */ ble lbl_801EDA4C /* 801EDA10 001EA970 2C 05 00 08 */ cmpwi r5, 8 /* 801EDA14 001EA974 38 85 FF F8 */ addi r4, r5, -8 /* 801EDA18 001EA978 40 81 00 20 */ ble lbl_801EDA38 /* 801EDA1C 001EA97C 38 04 00 07 */ addi r0, r4, 7 /* 801EDA20 001EA980 54 00 E8 FE */ srwi r0, r0, 3 /* 801EDA24 001EA984 7C 09 03 A6 */ mtctr r0 /* 801EDA28 001EA988 2C 04 00 00 */ cmpwi r4, 0 /* 801EDA2C 001EA98C 40 81 00 0C */ ble lbl_801EDA38 lbl_801EDA30: /* 801EDA30 001EA990 38 63 00 08 */ addi r3, r3, 8 /* 801EDA34 001EA994 42 00 FF FC */ bdnz lbl_801EDA30 lbl_801EDA38: /* 801EDA38 001EA998 7C 03 28 50 */ subf r0, r3, r5 /* 801EDA3C 001EA99C 7C 09 03 A6 */ mtctr r0 /* 801EDA40 001EA9A0 7C 03 28 00 */ cmpw r3, r5 /* 801EDA44 001EA9A4 40 80 00 08 */ bge lbl_801EDA4C lbl_801EDA48: /* 801EDA48 001EA9A8 42 00 00 00 */ bdnz lbl_801EDA48 lbl_801EDA4C: /* 801EDA4C 001EA9AC 38 00 00 00 */ li r0, 0 /* 801EDA50 001EA9B0 90 1E 04 84 */ stw r0, 0x484(r30) lbl_801EDA54: /* 801EDA54 001EA9B4 34 1E 04 30 */ addic. r0, r30, 0x430 /* 801EDA58 001EA9B8 41 82 00 48 */ beq lbl_801EDAA0 /* 801EDA5C 001EA9BC 3B 9E 04 34 */ addi r28, r30, 0x434 /* 801EDA60 001EA9C0 3B A0 00 00 */ li r29, 0 /* 801EDA64 001EA9C4 48 00 00 28 */ b lbl_801EDA8C lbl_801EDA68: /* 801EDA68 001EA9C8 28 1C 00 00 */ cmplwi r28, 0 /* 801EDA6C 001EA9CC 41 82 00 18 */ beq lbl_801EDA84 /* 801EDA70 001EA9D0 88 1C 00 00 */ lbz r0, 0(r28) /* 801EDA74 001EA9D4 28 00 00 00 */ cmplwi r0, 0 /* 801EDA78 001EA9D8 41 82 00 0C */ beq lbl_801EDA84 /* 801EDA7C 001EA9DC 80 7C 00 04 */ lwz r3, 4(r28) /* 801EDA80 001EA9E0 48 12 7E B1 */ bl Free__7CMemoryFPCv lbl_801EDA84: /* 801EDA84 001EA9E4 3B 9C 00 08 */ addi r28, r28, 8 /* 801EDA88 001EA9E8 3B BD 00 01 */ addi r29, r29, 1 lbl_801EDA8C: /* 801EDA8C 001EA9EC 80 1E 04 30 */ lwz r0, 0x430(r30) /* 801EDA90 001EA9F0 7C 1D 00 00 */ cmpw r29, r0 /* 801EDA94 001EA9F4 41 80 FF D4 */ blt lbl_801EDA68 /* 801EDA98 001EA9F8 38 00 00 00 */ li r0, 0 /* 801EDA9C 001EA9FC 90 1E 04 30 */ stw r0, 0x430(r30) lbl_801EDAA0: /* 801EDAA0 001EAA00 34 1E 01 68 */ addic. r0, r30, 0x168 /* 801EDAA4 001EAA04 41 82 00 58 */ beq lbl_801EDAFC /* 801EDAA8 001EAA08 80 BE 01 68 */ lwz r5, 0x168(r30) /* 801EDAAC 001EAA0C 38 60 00 00 */ li r3, 0 /* 801EDAB0 001EAA10 2C 05 00 00 */ cmpwi r5, 0 /* 801EDAB4 001EAA14 40 81 00 40 */ ble lbl_801EDAF4 /* 801EDAB8 001EAA18 2C 05 00 08 */ cmpwi r5, 8 /* 801EDABC 001EAA1C 38 85 FF F8 */ addi r4, r5, -8 /* 801EDAC0 001EAA20 40 81 00 20 */ ble lbl_801EDAE0 /* 801EDAC4 001EAA24 38 04 00 07 */ addi r0, r4, 7 /* 801EDAC8 001EAA28 54 00 E8 FE */ srwi r0, r0, 3 /* 801EDACC 001EAA2C 7C 09 03 A6 */ mtctr r0 /* 801EDAD0 001EAA30 2C 04 00 00 */ cmpwi r4, 0 /* 801EDAD4 001EAA34 40 81 00 0C */ ble lbl_801EDAE0 lbl_801EDAD8: /* 801EDAD8 001EAA38 38 63 00 08 */ addi r3, r3, 8 /* 801EDADC 001EAA3C 42 00 FF FC */ bdnz lbl_801EDAD8 lbl_801EDAE0: /* 801EDAE0 001EAA40 7C 03 28 50 */ subf r0, r3, r5 /* 801EDAE4 001EAA44 7C 09 03 A6 */ mtctr r0 /* 801EDAE8 001EAA48 7C 03 28 00 */ cmpw r3, r5 /* 801EDAEC 001EAA4C 40 80 00 08 */ bge lbl_801EDAF4 lbl_801EDAF0: /* 801EDAF0 001EAA50 42 00 00 00 */ bdnz lbl_801EDAF0 lbl_801EDAF4: /* 801EDAF4 001EAA54 38 00 00 00 */ li r0, 0 /* 801EDAF8 001EAA58 90 1E 01 68 */ stw r0, 0x168(r30) lbl_801EDAFC: /* 801EDAFC 001EAA5C 34 1E 01 08 */ addic. r0, r30, 0x108 /* 801EDB00 001EAA60 41 82 00 44 */ beq lbl_801EDB44 /* 801EDB04 001EAA64 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801EDB08 001EAA68 80 7E 01 14 */ lwz r3, 0x114(r30) /* 801EDB0C 001EAA6C 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EDB10 001EAA70 90 61 00 0C */ stw r3, 0xc(r1) /* 801EDB14 001EAA74 7C 64 1B 78 */ mr r4, r3 /* 801EDB18 001EAA78 7C 03 02 14 */ add r0, r3, r0 /* 801EDB1C 001EAA7C 90 61 00 08 */ stw r3, 8(r1) /* 801EDB20 001EAA80 90 01 00 14 */ stw r0, 0x14(r1) /* 801EDB24 001EAA84 90 01 00 10 */ stw r0, 0x10(r1) /* 801EDB28 001EAA88 48 00 00 08 */ b lbl_801EDB30 lbl_801EDB2C: /* 801EDB2C 001EAA8C 38 84 00 84 */ addi r4, r4, 0x84 lbl_801EDB30: /* 801EDB30 001EAA90 7C 04 00 40 */ cmplw r4, r0 /* 801EDB34 001EAA94 40 82 FF F8 */ bne lbl_801EDB2C /* 801EDB38 001EAA98 28 03 00 00 */ cmplwi r3, 0 /* 801EDB3C 001EAA9C 41 82 00 08 */ beq lbl_801EDB44 /* 801EDB40 001EAAA0 48 12 7D F1 */ bl Free__7CMemoryFPCv lbl_801EDB44: /* 801EDB44 001EAAA4 7F C3 F3 78 */ mr r3, r30 /* 801EDB48 001EAAA8 38 80 00 00 */ li r4, 0 /* 801EDB4C 001EAAAC 4B E6 7B A5 */ bl __dt__6CActorFv /* 801EDB50 001EAAB0 7F E0 07 35 */ extsh. r0, r31 /* 801EDB54 001EAAB4 40 81 00 0C */ ble lbl_801EDB60 /* 801EDB58 001EAAB8 7F C3 F3 78 */ mr r3, r30 /* 801EDB5C 001EAABC 48 12 7D D5 */ bl Free__7CMemoryFPCv lbl_801EDB60: /* 801EDB60 001EAAC0 80 01 00 44 */ lwz r0, 0x44(r1) /* 801EDB64 001EAAC4 7F C3 F3 78 */ mr r3, r30 /* 801EDB68 001EAAC8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801EDB6C 001EAACC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801EDB70 001EAAD0 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801EDB74 001EAAD4 83 81 00 30 */ lwz r28, 0x30(r1) /* 801EDB78 001EAAD8 7C 08 03 A6 */ mtlr r0 /* 801EDB7C 001EAADC 38 21 00 40 */ addi r1, r1, 0x40 /* 801EDB80 001EAAE0 4E 80 00 20 */ blr .global "__ct__17CWallCrawlerSwarmF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC8CAnimResRC8CAnimResUiUiUiUiRC11CDamageInfoffffiiffffffffi16CActorParameters" "__ct__17CWallCrawlerSwarmF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC8CAnimResRC8CAnimResUiUiUiUiRC11CDamageInfoffffiiffffffffi16CActorParameters": /* 801EDB84 001EAAE4 94 21 FD 40 */ stwu r1, -0x2c0(r1) /* 801EDB88 001EAAE8 7C 08 02 A6 */ mflr r0 /* 801EDB8C 001EAAEC 90 01 02 C4 */ stw r0, 0x2c4(r1) /* 801EDB90 001EAAF0 DB E1 02 B0 */ stfd f31, 0x2b0(r1) /* 801EDB94 001EAAF4 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 /* 801EDB98 001EAAF8 DB C1 02 A0 */ stfd f30, 0x2a0(r1) /* 801EDB9C 001EAAFC F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 /* 801EDBA0 001EAB00 DB A1 02 90 */ stfd f29, 0x290(r1) /* 801EDBA4 001EAB04 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 /* 801EDBA8 001EAB08 DB 81 02 80 */ stfd f28, 0x280(r1) /* 801EDBAC 001EAB0C F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 /* 801EDBB0 001EAB10 DB 61 02 70 */ stfd f27, 0x270(r1) /* 801EDBB4 001EAB14 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 /* 801EDBB8 001EAB18 DB 41 02 60 */ stfd f26, 0x260(r1) /* 801EDBBC 001EAB1C F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 /* 801EDBC0 001EAB20 DB 21 02 50 */ stfd f25, 0x250(r1) /* 801EDBC4 001EAB24 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 /* 801EDBC8 001EAB28 DB 01 02 40 */ stfd f24, 0x240(r1) /* 801EDBCC 001EAB2C F3 01 02 48 */ psq_st f24, 584(r1), 0, qr0 /* 801EDBD0 001EAB30 DA E1 02 30 */ stfd f23, 0x230(r1) /* 801EDBD4 001EAB34 F2 E1 02 38 */ psq_st f23, 568(r1), 0, qr0 /* 801EDBD8 001EAB38 DA C1 02 20 */ stfd f22, 0x220(r1) /* 801EDBDC 001EAB3C F2 C1 02 28 */ psq_st f22, 552(r1), 0, qr0 /* 801EDBE0 001EAB40 DA A1 02 10 */ stfd f21, 0x210(r1) /* 801EDBE4 001EAB44 F2 A1 02 18 */ psq_st f21, 536(r1), 0, qr0 /* 801EDBE8 001EAB48 DA 81 02 00 */ stfd f20, 0x200(r1) /* 801EDBEC 001EAB4C F2 81 02 08 */ psq_st f20, 520(r1), 0, qr0 /* 801EDBF0 001EAB50 DA 61 01 F0 */ stfd f19, 0x1f0(r1) /* 801EDBF4 001EAB54 F2 61 01 F8 */ psq_st f19, 504(r1), 0, qr0 /* 801EDBF8 001EAB58 DA 41 01 E0 */ stfd f18, 0x1e0(r1) /* 801EDBFC 001EAB5C F2 41 01 E8 */ psq_st f18, 488(r1), 0, qr0 /* 801EDC00 001EAB60 DA 21 01 D0 */ stfd f17, 0x1d0(r1) /* 801EDC04 001EAB64 F2 21 01 D8 */ psq_st f17, 472(r1), 0, qr0 /* 801EDC08 001EAB68 DA 01 01 C0 */ stfd f16, 0x1c0(r1) /* 801EDC0C 001EAB6C F2 01 01 C8 */ psq_st f16, 456(r1), 0, qr0 /* 801EDC10 001EAB70 BD C1 01 78 */ stmw r14, 0x178(r1) /* 801EDC14 001EAB74 FE 00 08 90 */ fmr f16, f1 /* 801EDC18 001EAB78 7C 6F 1B 78 */ mr r15, r3 /* 801EDC1C 001EAB7C FE 20 10 90 */ fmr f17, f2 /* 801EDC20 001EAB80 82 41 02 C8 */ lwz r18, 0x2c8(r1) /* 801EDC24 001EAB84 FE 40 18 90 */ fmr f18, f3 /* 801EDC28 001EAB88 82 61 02 CC */ lwz r19, 0x2cc(r1) /* 801EDC2C 001EAB8C FE 60 20 90 */ fmr f19, f4 /* 801EDC30 001EAB90 82 81 02 D0 */ lwz r20, 0x2d0(r1) /* 801EDC34 001EAB94 FE 80 28 90 */ fmr f20, f5 /* 801EDC38 001EAB98 82 A1 02 D4 */ lwz r21, 0x2d4(r1) /* 801EDC3C 001EAB9C FE A0 30 90 */ fmr f21, f6 /* 801EDC40 001EABA0 82 C1 02 D8 */ lwz r22, 0x2d8(r1) /* 801EDC44 001EABA4 FE C0 38 90 */ fmr f22, f7 /* 801EDC48 001EABA8 82 E1 02 DC */ lwz r23, 0x2dc(r1) /* 801EDC4C 001EABAC FE E0 40 90 */ fmr f23, f8 /* 801EDC50 001EABB0 83 01 02 E0 */ lwz r24, 0x2e0(r1) /* 801EDC54 001EABB4 83 21 02 E4 */ lwz r25, 0x2e4(r1) /* 801EDC58 001EABB8 7C 90 23 78 */ mr r16, r4 /* 801EDC5C 001EABBC 83 41 02 E8 */ lwz r26, 0x2e8(r1) /* 801EDC60 001EABC0 7C AE 2B 78 */ mr r14, r5 /* 801EDC64 001EABC4 90 C1 00 10 */ stw r6, 0x10(r1) /* 801EDC68 001EABC8 7D 11 43 78 */ mr r17, r8 /* 801EDC6C 001EABCC C3 01 02 F4 */ lfs f24, 0x2f4(r1) /* 801EDC70 001EABD0 38 61 01 28 */ addi r3, r1, 0x128 /* 801EDC74 001EABD4 90 E1 00 14 */ stw r7, 0x14(r1) /* 801EDC78 001EABD8 C3 21 02 F8 */ lfs f25, 0x2f8(r1) /* 801EDC7C 001EABDC 91 21 00 18 */ stw r9, 0x18(r1) /* 801EDC80 001EABE0 C3 41 02 FC */ lfs f26, 0x2fc(r1) /* 801EDC84 001EABE4 91 41 00 1C */ stw r10, 0x1c(r1) /* 801EDC88 001EABE8 C3 61 03 00 */ lfs f27, 0x300(r1) /* 801EDC8C 001EABEC C3 81 03 04 */ lfs f28, 0x304(r1) /* 801EDC90 001EABF0 C3 A1 03 0C */ lfs f29, 0x30c(r1) /* 801EDC94 001EABF4 C3 C1 03 10 */ lfs f30, 0x310(r1) /* 801EDC98 001EABF8 C3 E1 03 14 */ lfs f31, 0x314(r1) /* 801EDC9C 001EABFC 83 61 03 18 */ lwz r27, 0x318(r1) /* 801EDCA0 001EAC00 83 81 03 1C */ lwz r28, 0x31c(r1) /* 801EDCA4 001EAC04 83 A1 03 20 */ lwz r29, 0x320(r1) /* 801EDCA8 001EAC08 83 C1 03 24 */ lwz r30, 0x324(r1) /* 801EDCAC 001EAC0C 83 E1 03 28 */ lwz r31, 0x328(r1) /* 801EDCB0 001EAC10 4B E4 CA F5 */ bl CModelDataNull__10CModelDataFv /* 801EDCB4 001EAC14 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801EDCB8 001EAC18 38 00 00 00 */ li r0, 0 /* 801EDCBC 001EAC1C 80 AD 92 3C */ lwz r5, lbl_805A7DFC@sda21(r13) /* 801EDCC0 001EAC20 38 60 00 00 */ li r3, 0 /* 801EDCC4 001EAC24 B0 81 00 20 */ sth r4, 0x20(r1) /* 801EDCC8 001EAC28 38 80 00 01 */ li r4, 1 /* 801EDCCC 001EAC2C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 801EDCD0 001EAC30 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801EDCD4 001EAC34 48 19 C2 21 */ bl __shl2i /* 801EDCD8 001EAC38 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801EDCDC 001EAC3C 80 C1 00 A4 */ lwz r6, 0xa4(r1) /* 801EDCE0 001EAC40 7C 00 1B 78 */ or r0, r0, r3 /* 801EDCE4 001EAC44 80 AD 92 40 */ lwz r5, lbl_805A7E00@sda21(r13) /* 801EDCE8 001EAC48 7C C4 23 78 */ or r4, r6, r4 /* 801EDCEC 001EAC4C 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801EDCF0 001EAC50 38 60 00 00 */ li r3, 0 /* 801EDCF4 001EAC54 90 81 00 A4 */ stw r4, 0xa4(r1) /* 801EDCF8 001EAC58 38 80 00 01 */ li r4, 1 /* 801EDCFC 001EAC5C 48 19 C1 F9 */ bl __shl2i /* 801EDD00 001EAC60 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801EDD04 001EAC64 80 C1 00 A4 */ lwz r6, 0xa4(r1) /* 801EDD08 001EAC68 7C 00 1B 78 */ or r0, r0, r3 /* 801EDD0C 001EAC6C 80 AD 92 44 */ lwz r5, lbl_805A7E04@sda21(r13) /* 801EDD10 001EAC70 7C C4 23 78 */ or r4, r6, r4 /* 801EDD14 001EAC74 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801EDD18 001EAC78 38 60 00 00 */ li r3, 0 /* 801EDD1C 001EAC7C 90 81 00 A4 */ stw r4, 0xa4(r1) /* 801EDD20 001EAC80 38 80 00 01 */ li r4, 1 /* 801EDD24 001EAC84 48 19 C1 D1 */ bl __shl2i /* 801EDD28 001EAC88 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 801EDD2C 001EAC8C 80 C1 00 A4 */ lwz r6, 0xa4(r1) /* 801EDD30 001EAC90 7C 00 1B 78 */ or r0, r0, r3 /* 801EDD34 001EAC94 80 AD 92 48 */ lwz r5, lbl_805A7E08@sda21(r13) /* 801EDD38 001EAC98 7C C4 23 78 */ or r4, r6, r4 /* 801EDD3C 001EAC9C 90 01 00 A0 */ stw r0, 0xa0(r1) /* 801EDD40 001EACA0 38 60 00 00 */ li r3, 0 /* 801EDD44 001EACA4 90 81 00 A4 */ stw r4, 0xa4(r1) /* 801EDD48 001EACA8 38 80 00 01 */ li r4, 1 /* 801EDD4C 001EACAC 48 19 C1 A9 */ bl __shl2i /* 801EDD50 001EACB0 80 C1 00 A0 */ lwz r6, 0xa0(r1) /* 801EDD54 001EACB4 38 01 00 20 */ addi r0, r1, 0x20 /* 801EDD58 001EACB8 80 E1 00 A4 */ lwz r7, 0xa4(r1) /* 801EDD5C 001EACBC 7D C5 73 78 */ mr r5, r14 /* 801EDD60 001EACC0 7C C3 1B 78 */ or r3, r6, r3 /* 801EDD64 001EACC4 A1 30 00 00 */ lhz r9, 0(r16) /* 801EDD68 001EACC8 7C E4 23 78 */ or r4, r7, r4 /* 801EDD6C 001EACCC 90 61 00 A0 */ stw r3, 0xa0(r1) /* 801EDD70 001EACD0 80 C1 00 10 */ lwz r6, 0x10(r1) /* 801EDD74 001EACD4 7D E3 7B 78 */ mr r3, r15 /* 801EDD78 001EACD8 90 81 00 A4 */ stw r4, 0xa4(r1) /* 801EDD7C 001EACDC 38 81 00 24 */ addi r4, r1, 0x24 /* 801EDD80 001EACE0 80 E1 00 14 */ lwz r7, 0x14(r1) /* 801EDD84 001EACE4 39 41 00 A0 */ addi r10, r1, 0xa0 /* 801EDD88 001EACE8 B1 21 00 24 */ sth r9, 0x24(r1) /* 801EDD8C 001EACEC 39 21 01 28 */ addi r9, r1, 0x128 /* 801EDD90 001EACF0 81 01 00 18 */ lwz r8, 0x18(r1) /* 801EDD94 001EACF4 93 E1 00 08 */ stw r31, 8(r1) /* 801EDD98 001EACF8 90 01 00 0C */ stw r0, 0xc(r1) /* 801EDD9C 001EACFC 4B E6 7A 85 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801EDDA0 001EAD00 38 61 01 28 */ addi r3, r1, 0x128 /* 801EDDA4 001EAD04 38 80 FF FF */ li r4, -1 /* 801EDDA8 001EAD08 4B F2 8C A5 */ bl __dt__10CModelDataFv /* 801EDDAC 001EAD0C 3C 60 80 3E */ lis r3, lbl_803E6308@ha /* 801EDDB0 001EAD10 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EDDB4 001EAD14 38 03 63 08 */ addi r0, r3, lbl_803E6308@l /* 801EDDB8 001EAD18 38 6F 00 E8 */ addi r3, r15, 0xe8 /* 801EDDBC 001EAD1C 90 0F 00 00 */ stw r0, 0(r15) /* 801EDDC0 001EAD20 38 81 00 E4 */ addi r4, r1, 0xe4 /* 801EDDC4 001EAD24 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 801EDDC8 001EAD28 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 801EDDCC 001EAD2C D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801EDDD0 001EAD30 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 801EDDD4 001EAD34 D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 801EDDD8 001EAD38 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 801EDDDC 001EAD3C D0 01 00 EC */ stfs f0, 0xec(r1) /* 801EDDE0 001EAD40 48 14 A7 29 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801EDDE4 001EAD44 C0 02 AD D4 */ lfs f0, lbl_805ACAF4@sda21(r2) /* 801EDDE8 001EAD48 38 A0 00 00 */ li r5, 0 /* 801EDDEC 001EAD4C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801EDDF0 001EAD50 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EDDF4 001EAD54 D0 0F 01 04 */ stfs f0, 0x104(r15) /* 801EDDF8 001EAD58 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801EDDFC 001EAD5C C0 02 AE 20 */ lfs f0, lbl_805ACB40@sda21(r2) /* 801EDE00 001EAD60 38 60 00 7D */ li r3, 0x7d /* 801EDE04 001EAD64 90 AF 01 0C */ stw r5, 0x10c(r15) /* 801EDE08 001EAD68 38 00 00 19 */ li r0, 0x19 /* 801EDE0C 001EAD6C 7C A6 2B 78 */ mr r6, r5 /* 801EDE10 001EAD70 38 EF 01 6C */ addi r7, r15, 0x16c /* 801EDE14 001EAD74 90 AF 01 10 */ stw r5, 0x110(r15) /* 801EDE18 001EAD78 90 AF 01 14 */ stw r5, 0x114(r15) /* 801EDE1C 001EAD7C C0 51 00 00 */ lfs f2, 0(r17) /* 801EDE20 001EAD80 D0 4F 01 18 */ stfs f2, 0x118(r15) /* 801EDE24 001EAD84 C0 51 00 04 */ lfs f2, 4(r17) /* 801EDE28 001EAD88 D0 4F 01 1C */ stfs f2, 0x11c(r15) /* 801EDE2C 001EAD8C C0 51 00 08 */ lfs f2, 8(r17) /* 801EDE30 001EAD90 D0 4F 01 20 */ stfs f2, 0x120(r15) /* 801EDE34 001EAD94 D0 2F 01 24 */ stfs f1, 0x124(r15) /* 801EDE38 001EAD98 D0 2F 01 28 */ stfs f1, 0x128(r15) /* 801EDE3C 001EAD9C D0 2F 01 2C */ stfs f1, 0x12c(r15) /* 801EDE40 001EADA0 C0 24 00 00 */ lfs f1, 0(r4) /* 801EDE44 001EADA4 D0 2F 01 30 */ stfs f1, 0x130(r15) /* 801EDE48 001EADA8 C0 24 00 04 */ lfs f1, 4(r4) /* 801EDE4C 001EADAC D0 2F 01 34 */ stfs f1, 0x134(r15) /* 801EDE50 001EADB0 C0 24 00 08 */ lfs f1, 8(r4) /* 801EDE54 001EADB4 D0 2F 01 38 */ stfs f1, 0x138(r15) /* 801EDE58 001EADB8 D2 AF 01 3C */ stfs f21, 0x13c(r15) /* 801EDE5C 001EADBC D2 CF 01 40 */ stfs f22, 0x140(r15) /* 801EDE60 001EADC0 D2 EF 01 44 */ stfs f23, 0x144(r15) /* 801EDE64 001EADC4 D3 0F 01 48 */ stfs f24, 0x148(r15) /* 801EDE68 001EADC8 D3 2F 01 4C */ stfs f25, 0x14c(r15) /* 801EDE6C 001EADCC D3 4F 01 50 */ stfs f26, 0x150(r15) /* 801EDE70 001EADD0 D3 6F 01 54 */ stfs f27, 0x154(r15) /* 801EDE74 001EADD4 D3 CF 01 58 */ stfs f30, 0x158(r15) /* 801EDE78 001EADD8 D3 EF 01 5C */ stfs f31, 0x15c(r15) /* 801EDE7C 001EADDC D2 8F 01 60 */ stfs f20, 0x160(r15) /* 801EDE80 001EADE0 D0 0F 01 64 */ stfs f0, 0x164(r15) /* 801EDE84 001EADE4 90 6F 01 68 */ stw r3, 0x168(r15) /* 801EDE88 001EADE8 7C 09 03 A6 */ mtctr r0 lbl_801EDE8C: /* 801EDE8C 001EADEC 28 07 00 00 */ cmplwi r7, 0 /* 801EDE90 001EADF0 41 82 00 08 */ beq lbl_801EDE98 /* 801EDE94 001EADF4 90 A7 00 00 */ stw r5, 0(r7) lbl_801EDE98: /* 801EDE98 001EADF8 34 E7 00 04 */ addic. r7, r7, 4 /* 801EDE9C 001EADFC 41 82 00 08 */ beq lbl_801EDEA4 /* 801EDEA0 001EAE00 90 A7 00 00 */ stw r5, 0(r7) lbl_801EDEA4: /* 801EDEA4 001EAE04 34 E7 00 04 */ addic. r7, r7, 4 /* 801EDEA8 001EAE08 41 82 00 08 */ beq lbl_801EDEB0 /* 801EDEAC 001EAE0C 90 A7 00 00 */ stw r5, 0(r7) lbl_801EDEB0: /* 801EDEB0 001EAE10 34 E7 00 04 */ addic. r7, r7, 4 /* 801EDEB4 001EAE14 41 82 00 08 */ beq lbl_801EDEBC /* 801EDEB8 001EAE18 90 A7 00 00 */ stw r5, 0(r7) lbl_801EDEBC: /* 801EDEBC 001EAE1C 34 E7 00 04 */ addic. r7, r7, 4 /* 801EDEC0 001EAE20 41 82 00 08 */ beq lbl_801EDEC8 /* 801EDEC4 001EAE24 90 A7 00 00 */ stw r5, 0(r7) lbl_801EDEC8: /* 801EDEC8 001EAE28 38 C6 00 04 */ addi r6, r6, 4 /* 801EDECC 001EAE2C 38 E7 00 04 */ addi r7, r7, 4 /* 801EDED0 001EAE30 42 00 FF BC */ bdnz lbl_801EDE8C /* 801EDED4 001EAE34 38 00 00 00 */ li r0, 0 /* 801EDED8 001EAE38 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EDEDC 001EAE3C 90 0F 03 60 */ stw r0, 0x360(r15) /* 801EDEE0 001EAE40 38 60 FF FF */ li r3, -1 /* 801EDEE4 001EAE44 D3 8F 03 64 */ stfs f28, 0x364(r15) /* 801EDEE8 001EAE48 D0 0F 03 68 */ stfs f0, 0x368(r15) /* 801EDEEC 001EAE4C D0 0F 03 6C */ stfs f0, 0x36c(r15) /* 801EDEF0 001EAE50 D2 0F 03 70 */ stfs f16, 0x370(r15) /* 801EDEF4 001EAE54 D2 2F 03 74 */ stfs f17, 0x374(r15) /* 801EDEF8 001EAE58 D2 4F 03 78 */ stfs f18, 0x378(r15) /* 801EDEFC 001EAE5C D3 AF 03 7C */ stfs f29, 0x37c(r15) /* 801EDF00 001EAE60 D2 6F 03 80 */ stfs f19, 0x380(r15) /* 801EDF04 001EAE64 80 99 00 00 */ lwz r4, 0(r25) /* 801EDF08 001EAE68 90 8F 03 84 */ stw r4, 0x384(r15) /* 801EDF0C 001EAE6C 88 99 00 04 */ lbz r4, 4(r25) /* 801EDF10 001EAE70 98 8F 03 88 */ stb r4, 0x388(r15) /* 801EDF14 001EAE74 C0 19 00 08 */ lfs f0, 8(r25) /* 801EDF18 001EAE78 D0 0F 03 8C */ stfs f0, 0x38c(r15) /* 801EDF1C 001EAE7C C0 19 00 0C */ lfs f0, 0xc(r25) /* 801EDF20 001EAE80 D0 0F 03 90 */ stfs f0, 0x390(r15) /* 801EDF24 001EAE84 C0 19 00 10 */ lfs f0, 0x10(r25) /* 801EDF28 001EAE88 D0 0F 03 94 */ stfs f0, 0x394(r15) /* 801EDF2C 001EAE8C C0 19 00 14 */ lfs f0, 0x14(r25) /* 801EDF30 001EAE90 D0 0F 03 98 */ stfs f0, 0x398(r15) /* 801EDF34 001EAE94 88 99 00 18 */ lbz r4, 0x18(r25) /* 801EDF38 001EAE98 98 8F 03 9C */ stb r4, 0x39c(r15) /* 801EDF3C 001EAE9C 80 9A 00 00 */ lwz r4, 0(r26) /* 801EDF40 001EAEA0 90 8F 03 A0 */ stw r4, 0x3a0(r15) /* 801EDF44 001EAEA4 88 9A 00 04 */ lbz r4, 4(r26) /* 801EDF48 001EAEA8 98 8F 03 A4 */ stb r4, 0x3a4(r15) /* 801EDF4C 001EAEAC C0 1A 00 08 */ lfs f0, 8(r26) /* 801EDF50 001EAEB0 D0 0F 03 A8 */ stfs f0, 0x3a8(r15) /* 801EDF54 001EAEB4 C0 1A 00 0C */ lfs f0, 0xc(r26) /* 801EDF58 001EAEB8 D0 0F 03 AC */ stfs f0, 0x3ac(r15) /* 801EDF5C 001EAEBC C0 1A 00 10 */ lfs f0, 0x10(r26) /* 801EDF60 001EAEC0 D0 0F 03 B0 */ stfs f0, 0x3b0(r15) /* 801EDF64 001EAEC4 C0 1A 00 14 */ lfs f0, 0x14(r26) /* 801EDF68 001EAEC8 D0 0F 03 B4 */ stfs f0, 0x3b4(r15) /* 801EDF6C 001EAECC 88 9A 00 18 */ lbz r4, 0x18(r26) /* 801EDF70 001EAED0 98 8F 03 B8 */ stb r4, 0x3b8(r15) /* 801EDF74 001EAED4 C0 1B 00 00 */ lfs f0, 0(r27) /* 801EDF78 001EAED8 D0 0F 03 BC */ stfs f0, 0x3bc(r15) /* 801EDF7C 001EAEDC C0 1B 00 04 */ lfs f0, 4(r27) /* 801EDF80 001EAEE0 D0 0F 03 C0 */ stfs f0, 0x3c0(r15) /* 801EDF84 001EAEE4 80 BC 00 00 */ lwz r5, 0(r28) /* 801EDF88 001EAEE8 80 9C 00 04 */ lwz r4, 4(r28) /* 801EDF8C 001EAEEC 90 AF 03 C4 */ stw r5, 0x3c4(r15) /* 801EDF90 001EAEF0 90 8F 03 C8 */ stw r4, 0x3c8(r15) /* 801EDF94 001EAEF4 80 BC 00 08 */ lwz r5, 8(r28) /* 801EDF98 001EAEF8 80 9C 00 0C */ lwz r4, 0xc(r28) /* 801EDF9C 001EAEFC 90 AF 03 CC */ stw r5, 0x3cc(r15) /* 801EDFA0 001EAF00 90 8F 03 D0 */ stw r4, 0x3d0(r15) /* 801EDFA4 001EAF04 80 BC 00 10 */ lwz r5, 0x10(r28) /* 801EDFA8 001EAF08 80 9C 00 14 */ lwz r4, 0x14(r28) /* 801EDFAC 001EAF0C 90 AF 03 D4 */ stw r5, 0x3d4(r15) /* 801EDFB0 001EAF10 90 8F 03 D8 */ stw r4, 0x3d8(r15) /* 801EDFB4 001EAF14 80 BC 00 18 */ lwz r5, 0x18(r28) /* 801EDFB8 001EAF18 80 9C 00 1C */ lwz r4, 0x1c(r28) /* 801EDFBC 001EAF1C 90 AF 03 DC */ stw r5, 0x3dc(r15) /* 801EDFC0 001EAF20 90 8F 03 E0 */ stw r4, 0x3e0(r15) /* 801EDFC4 001EAF24 80 BC 00 20 */ lwz r5, 0x20(r28) /* 801EDFC8 001EAF28 80 9C 00 24 */ lwz r4, 0x24(r28) /* 801EDFCC 001EAF2C 90 AF 03 E4 */ stw r5, 0x3e4(r15) /* 801EDFD0 001EAF30 90 8F 03 E8 */ stw r4, 0x3e8(r15) /* 801EDFD4 001EAF34 80 BC 00 28 */ lwz r5, 0x28(r28) /* 801EDFD8 001EAF38 80 9C 00 2C */ lwz r4, 0x2c(r28) /* 801EDFDC 001EAF3C 90 AF 03 EC */ stw r5, 0x3ec(r15) /* 801EDFE0 001EAF40 90 8F 03 F0 */ stw r4, 0x3f0(r15) /* 801EDFE4 001EAF44 80 BC 00 30 */ lwz r5, 0x30(r28) /* 801EDFE8 001EAF48 80 9C 00 34 */ lwz r4, 0x34(r28) /* 801EDFEC 001EAF4C 90 AF 03 F4 */ stw r5, 0x3f4(r15) /* 801EDFF0 001EAF50 90 8F 03 F8 */ stw r4, 0x3f8(r15) /* 801EDFF4 001EAF54 80 9C 00 38 */ lwz r4, 0x38(r28) /* 801EDFF8 001EAF58 90 8F 03 FC */ stw r4, 0x3fc(r15) /* 801EDFFC 001EAF5C 80 BC 00 3C */ lwz r5, 0x3c(r28) /* 801EE000 001EAF60 80 9C 00 40 */ lwz r4, 0x40(r28) /* 801EE004 001EAF64 90 AF 04 00 */ stw r5, 0x400(r15) /* 801EE008 001EAF68 90 8F 04 04 */ stw r4, 0x404(r15) /* 801EE00C 001EAF6C 80 BC 00 44 */ lwz r5, 0x44(r28) /* 801EE010 001EAF70 80 9C 00 48 */ lwz r4, 0x48(r28) /* 801EE014 001EAF74 90 AF 04 08 */ stw r5, 0x408(r15) /* 801EE018 001EAF78 90 8F 04 0C */ stw r4, 0x40c(r15) /* 801EE01C 001EAF7C 80 BC 00 4C */ lwz r5, 0x4c(r28) /* 801EE020 001EAF80 80 9C 00 50 */ lwz r4, 0x50(r28) /* 801EE024 001EAF84 90 AF 04 10 */ stw r5, 0x410(r15) /* 801EE028 001EAF88 90 8F 04 14 */ stw r4, 0x414(r15) /* 801EE02C 001EAF8C 80 BC 00 54 */ lwz r5, 0x54(r28) /* 801EE030 001EAF90 80 9C 00 58 */ lwz r4, 0x58(r28) /* 801EE034 001EAF94 90 AF 04 18 */ stw r5, 0x418(r15) /* 801EE038 001EAF98 90 8F 04 1C */ stw r4, 0x41c(r15) /* 801EE03C 001EAF9C 80 9C 00 5C */ lwz r4, 0x5c(r28) /* 801EE040 001EAFA0 90 8F 04 20 */ stw r4, 0x420(r15) /* 801EE044 001EAFA4 80 9C 00 60 */ lwz r4, 0x60(r28) /* 801EE048 001EAFA8 90 8F 04 24 */ stw r4, 0x424(r15) /* 801EE04C 001EAFAC 80 9C 00 64 */ lwz r4, 0x64(r28) /* 801EE050 001EAFB0 90 8F 04 28 */ stw r4, 0x428(r15) /* 801EE054 001EAFB4 90 6F 04 2C */ stw r3, 0x42c(r15) /* 801EE058 001EAFB8 90 0F 04 30 */ stw r0, 0x430(r15) /* 801EE05C 001EAFBC 90 0F 04 84 */ stw r0, 0x484(r15) /* 801EE060 001EAFC0 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE064 001EAFC4 2C 1D FF FF */ cmpwi r29, -1 /* 801EE068 001EAFC8 80 61 02 EC */ lwz r3, 0x2ec(r1) /* 801EE06C 001EAFCC 7F A4 EB 78 */ mr r4, r29 /* 801EE070 001EAFD0 90 0F 04 DC */ stw r0, 0x4dc(r15) /* 801EE074 001EAFD4 90 0F 04 E4 */ stw r0, 0x4e4(r15) /* 801EE078 001EAFD8 90 0F 04 E8 */ stw r0, 0x4e8(r15) /* 801EE07C 001EAFDC 90 0F 04 EC */ stw r0, 0x4ec(r15) /* 801EE080 001EAFE0 90 0F 04 F0 */ stw r0, 0x4f0(r15) /* 801EE084 001EAFE4 90 0F 05 24 */ stw r0, 0x524(r15) /* 801EE088 001EAFE8 90 6F 05 48 */ stw r3, 0x548(r15) /* 801EE08C 001EAFEC 80 61 02 F0 */ lwz r3, 0x2f0(r1) /* 801EE090 001EAFF0 90 6F 05 4C */ stw r3, 0x54c(r15) /* 801EE094 001EAFF4 90 0F 05 50 */ stw r0, 0x550(r15) /* 801EE098 001EAFF8 80 01 03 08 */ lwz r0, 0x308(r1) /* 801EE09C 001EAFFC 90 0F 05 54 */ stw r0, 0x554(r15) /* 801EE0A0 001EB000 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801EE0A4 001EB004 90 0F 05 58 */ stw r0, 0x558(r15) /* 801EE0A8 001EB008 40 82 00 08 */ bne lbl_801EE0B0 /* 801EE0AC 001EB00C A0 82 C5 FC */ lhz r4, lbl_805AE31C@sda21(r2) lbl_801EE0B0: /* 801EE0B0 001EB010 54 83 04 3E */ clrlwi r3, r4, 0x10 /* 801EE0B4 001EB014 48 0F A8 FD */ bl TranslateSFXID__11CSfxManagerFUs /* 801EE0B8 001EB018 2C 1E FF FF */ cmpwi r30, -1 /* 801EE0BC 001EB01C B0 6F 05 5C */ sth r3, 0x55c(r15) /* 801EE0C0 001EB020 7F C0 F3 78 */ mr r0, r30 /* 801EE0C4 001EB024 40 82 00 08 */ bne lbl_801EE0CC /* 801EE0C8 001EB028 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) lbl_801EE0CC: /* 801EE0CC 001EB02C 54 03 04 3E */ clrlwi r3, r0, 0x10 /* 801EE0D0 001EB030 48 0F A8 E1 */ bl TranslateSFXID__11CSfxManagerFUs /* 801EE0D4 001EB034 B0 6F 05 5E */ sth r3, 0x55e(r15) /* 801EE0D8 001EB038 3C 60 80 3D */ lis r3, lbl_803D1F30@ha /* 801EE0DC 001EB03C 38 63 1F 30 */ addi r3, r3, lbl_803D1F30@l /* 801EE0E0 001EB040 38 00 00 01 */ li r0, 1 /* 801EE0E4 001EB044 88 8F 05 60 */ lbz r4, 0x560(r15) /* 801EE0E8 001EB048 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 801EE0EC 001EB04C 39 00 00 00 */ li r8, 0 /* 801EE0F0 001EB050 38 B4 00 01 */ addi r5, r20, 1 /* 801EE0F4 001EB054 98 8F 05 60 */ stb r4, 0x560(r15) /* 801EE0F8 001EB058 20 94 FF FF */ subfic r4, r20, -1 /* 801EE0FC 001EB05C 7C A4 23 78 */ or r4, r5, r4 /* 801EE100 001EB060 38 B3 00 01 */ addi r5, r19, 1 /* 801EE104 001EB064 88 EF 05 60 */ lbz r7, 0x560(r15) /* 801EE108 001EB068 7C 86 FE 70 */ srawi r6, r4, 0x1f /* 801EE10C 001EB06C 50 07 36 72 */ rlwimi r7, r0, 6, 0x19, 0x19 /* 801EE110 001EB070 20 93 FF FF */ subfic r4, r19, -1 /* 801EE114 001EB074 98 EF 05 60 */ stb r7, 0x560(r15) /* 801EE118 001EB078 7C A4 23 78 */ or r4, r5, r4 /* 801EE11C 001EB07C 7C 84 FE 70 */ srawi r4, r4, 0x1f /* 801EE120 001EB080 7E 87 30 38 */ and r7, r20, r6 /* 801EE124 001EB084 88 AF 05 60 */ lbz r5, 0x560(r15) /* 801EE128 001EB088 51 05 2E B4 */ rlwimi r5, r8, 5, 0x1a, 0x1a /* 801EE12C 001EB08C 7E 66 20 38 */ and r6, r19, r4 /* 801EE130 001EB090 38 83 00 0B */ addi r4, r3, 0xb /* 801EE134 001EB094 98 AF 05 60 */ stb r5, 0x560(r15) /* 801EE138 001EB098 38 60 00 4C */ li r3, 0x4c /* 801EE13C 001EB09C 38 A0 00 00 */ li r5, 0 /* 801EE140 001EB0A0 81 32 00 04 */ lwz r9, 4(r18) /* 801EE144 001EB0A4 81 12 00 00 */ lwz r8, 0(r18) /* 801EE148 001EB0A8 91 01 01 0C */ stw r8, 0x10c(r1) /* 801EE14C 001EB0AC 91 21 01 10 */ stw r9, 0x110(r1) /* 801EE150 001EB0B0 C0 52 00 08 */ lfs f2, 8(r18) /* 801EE154 001EB0B4 D0 41 01 14 */ stfs f2, 0x114(r1) /* 801EE158 001EB0B8 C0 32 00 0C */ lfs f1, 0xc(r18) /* 801EE15C 001EB0BC D0 21 01 18 */ stfs f1, 0x118(r1) /* 801EE160 001EB0C0 C0 12 00 10 */ lfs f0, 0x10(r18) /* 801EE164 001EB0C4 D0 01 01 1C */ stfs f0, 0x11c(r1) /* 801EE168 001EB0C8 98 01 01 20 */ stb r0, 0x120(r1) /* 801EE16C 001EB0CC 90 E1 01 24 */ stw r7, 0x124(r1) /* 801EE170 001EB0D0 91 01 00 F0 */ stw r8, 0xf0(r1) /* 801EE174 001EB0D4 91 21 00 F4 */ stw r9, 0xf4(r1) /* 801EE178 001EB0D8 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 801EE17C 001EB0DC D0 21 00 FC */ stfs f1, 0xfc(r1) /* 801EE180 001EB0E0 D0 01 01 00 */ stfs f0, 0x100(r1) /* 801EE184 001EB0E4 98 01 01 04 */ stb r0, 0x104(r1) /* 801EE188 001EB0E8 90 C1 01 08 */ stw r6, 0x108(r1) /* 801EE18C 001EB0EC 48 12 76 E1 */ bl __nw__FUlPCcPCc /* 801EE190 001EB0F0 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE194 001EB0F4 41 82 00 10 */ beq lbl_801EE1A4 /* 801EE198 001EB0F8 7E 44 93 78 */ mr r4, r18 /* 801EE19C 001EB0FC 4B F2 89 B9 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE1A0 001EB100 7C 6E 1B 78 */ mr r14, r3 lbl_801EE1A4: /* 801EE1A4 001EB104 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE1A8 001EB108 38 60 00 08 */ li r3, 8 /* 801EE1AC 001EB10C 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE1B0 001EB110 38 A0 00 00 */ li r5, 0 /* 801EE1B4 001EB114 38 84 00 0B */ addi r4, r4, 0xb /* 801EE1B8 001EB118 48 12 76 B5 */ bl __nw__FUlPCcPCc /* 801EE1BC 001EB11C 28 03 00 00 */ cmplwi r3, 0 /* 801EE1C0 001EB120 41 82 00 10 */ beq lbl_801EE1D0 /* 801EE1C4 001EB124 91 C3 00 00 */ stw r14, 0(r3) /* 801EE1C8 001EB128 38 00 00 01 */ li r0, 1 /* 801EE1CC 001EB12C 90 03 00 04 */ stw r0, 4(r3) lbl_801EE1D0: /* 801EE1D0 001EB130 90 61 00 4C */ stw r3, 0x4c(r1) /* 801EE1D4 001EB134 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE1D8 001EB138 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE1DC 001EB13C 54 00 10 3A */ slwi r0, r0, 2 /* 801EE1E0 001EB140 7C 84 02 14 */ add r4, r4, r0 /* 801EE1E4 001EB144 34 84 00 04 */ addic. r4, r4, 4 /* 801EE1E8 001EB148 41 82 00 18 */ beq lbl_801EE200 /* 801EE1EC 001EB14C 90 64 00 00 */ stw r3, 0(r4) /* 801EE1F0 001EB150 80 84 00 00 */ lwz r4, 0(r4) /* 801EE1F4 001EB154 80 64 00 04 */ lwz r3, 4(r4) /* 801EE1F8 001EB158 38 03 00 01 */ addi r0, r3, 1 /* 801EE1FC 001EB15C 90 04 00 04 */ stw r0, 4(r4) lbl_801EE200: /* 801EE200 001EB160 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE204 001EB164 38 61 00 4C */ addi r3, r1, 0x4c /* 801EE208 001EB168 38 04 00 01 */ addi r0, r4, 1 /* 801EE20C 001EB16C 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE210 001EB170 4B FE 51 51 */ bl sub_801d3360 /* 801EE214 001EB174 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE218 001EB178 38 60 00 4C */ li r3, 0x4c /* 801EE21C 001EB17C 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE220 001EB180 38 A0 00 00 */ li r5, 0 /* 801EE224 001EB184 38 84 00 0B */ addi r4, r4, 0xb /* 801EE228 001EB188 48 12 76 45 */ bl __nw__FUlPCcPCc /* 801EE22C 001EB18C 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE230 001EB190 41 82 00 10 */ beq lbl_801EE240 /* 801EE234 001EB194 7E 44 93 78 */ mr r4, r18 /* 801EE238 001EB198 4B F2 89 1D */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE23C 001EB19C 7C 6E 1B 78 */ mr r14, r3 lbl_801EE240: /* 801EE240 001EB1A0 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE244 001EB1A4 38 60 00 08 */ li r3, 8 /* 801EE248 001EB1A8 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE24C 001EB1AC 38 A0 00 00 */ li r5, 0 /* 801EE250 001EB1B0 38 84 00 0B */ addi r4, r4, 0xb /* 801EE254 001EB1B4 48 12 76 19 */ bl __nw__FUlPCcPCc /* 801EE258 001EB1B8 28 03 00 00 */ cmplwi r3, 0 /* 801EE25C 001EB1BC 41 82 00 10 */ beq lbl_801EE26C /* 801EE260 001EB1C0 91 C3 00 00 */ stw r14, 0(r3) /* 801EE264 001EB1C4 38 00 00 01 */ li r0, 1 /* 801EE268 001EB1C8 90 03 00 04 */ stw r0, 4(r3) lbl_801EE26C: /* 801EE26C 001EB1CC 90 61 00 48 */ stw r3, 0x48(r1) /* 801EE270 001EB1D0 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE274 001EB1D4 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE278 001EB1D8 54 00 10 3A */ slwi r0, r0, 2 /* 801EE27C 001EB1DC 7C 84 02 14 */ add r4, r4, r0 /* 801EE280 001EB1E0 34 84 00 04 */ addic. r4, r4, 4 /* 801EE284 001EB1E4 41 82 00 18 */ beq lbl_801EE29C /* 801EE288 001EB1E8 90 64 00 00 */ stw r3, 0(r4) /* 801EE28C 001EB1EC 80 84 00 00 */ lwz r4, 0(r4) /* 801EE290 001EB1F0 80 64 00 04 */ lwz r3, 4(r4) /* 801EE294 001EB1F4 38 03 00 01 */ addi r0, r3, 1 /* 801EE298 001EB1F8 90 04 00 04 */ stw r0, 4(r4) lbl_801EE29C: /* 801EE29C 001EB1FC 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE2A0 001EB200 38 61 00 48 */ addi r3, r1, 0x48 /* 801EE2A4 001EB204 38 04 00 01 */ addi r0, r4, 1 /* 801EE2A8 001EB208 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE2AC 001EB20C 4B FE 50 B5 */ bl sub_801d3360 /* 801EE2B0 001EB210 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE2B4 001EB214 38 60 00 4C */ li r3, 0x4c /* 801EE2B8 001EB218 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE2BC 001EB21C 38 A0 00 00 */ li r5, 0 /* 801EE2C0 001EB220 38 84 00 0B */ addi r4, r4, 0xb /* 801EE2C4 001EB224 48 12 75 A9 */ bl __nw__FUlPCcPCc /* 801EE2C8 001EB228 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE2CC 001EB22C 41 82 00 10 */ beq lbl_801EE2DC /* 801EE2D0 001EB230 7E 44 93 78 */ mr r4, r18 /* 801EE2D4 001EB234 4B F2 88 81 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE2D8 001EB238 7C 6E 1B 78 */ mr r14, r3 lbl_801EE2DC: /* 801EE2DC 001EB23C 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE2E0 001EB240 38 60 00 08 */ li r3, 8 /* 801EE2E4 001EB244 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE2E8 001EB248 38 A0 00 00 */ li r5, 0 /* 801EE2EC 001EB24C 38 84 00 0B */ addi r4, r4, 0xb /* 801EE2F0 001EB250 48 12 75 7D */ bl __nw__FUlPCcPCc /* 801EE2F4 001EB254 28 03 00 00 */ cmplwi r3, 0 /* 801EE2F8 001EB258 41 82 00 10 */ beq lbl_801EE308 /* 801EE2FC 001EB25C 91 C3 00 00 */ stw r14, 0(r3) /* 801EE300 001EB260 38 00 00 01 */ li r0, 1 /* 801EE304 001EB264 90 03 00 04 */ stw r0, 4(r3) lbl_801EE308: /* 801EE308 001EB268 90 61 00 44 */ stw r3, 0x44(r1) /* 801EE30C 001EB26C 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE310 001EB270 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE314 001EB274 54 00 10 3A */ slwi r0, r0, 2 /* 801EE318 001EB278 7C 84 02 14 */ add r4, r4, r0 /* 801EE31C 001EB27C 34 84 00 04 */ addic. r4, r4, 4 /* 801EE320 001EB280 41 82 00 18 */ beq lbl_801EE338 /* 801EE324 001EB284 90 64 00 00 */ stw r3, 0(r4) /* 801EE328 001EB288 80 84 00 00 */ lwz r4, 0(r4) /* 801EE32C 001EB28C 80 64 00 04 */ lwz r3, 4(r4) /* 801EE330 001EB290 38 03 00 01 */ addi r0, r3, 1 /* 801EE334 001EB294 90 04 00 04 */ stw r0, 4(r4) lbl_801EE338: /* 801EE338 001EB298 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE33C 001EB29C 38 61 00 44 */ addi r3, r1, 0x44 /* 801EE340 001EB2A0 38 04 00 01 */ addi r0, r4, 1 /* 801EE344 001EB2A4 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE348 001EB2A8 4B FE 50 19 */ bl sub_801d3360 /* 801EE34C 001EB2AC 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE350 001EB2B0 38 60 00 4C */ li r3, 0x4c /* 801EE354 001EB2B4 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE358 001EB2B8 38 A0 00 00 */ li r5, 0 /* 801EE35C 001EB2BC 38 84 00 0B */ addi r4, r4, 0xb /* 801EE360 001EB2C0 48 12 75 0D */ bl __nw__FUlPCcPCc /* 801EE364 001EB2C4 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE368 001EB2C8 41 82 00 10 */ beq lbl_801EE378 /* 801EE36C 001EB2CC 7E 44 93 78 */ mr r4, r18 /* 801EE370 001EB2D0 4B F2 87 E5 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE374 001EB2D4 7C 6E 1B 78 */ mr r14, r3 lbl_801EE378: /* 801EE378 001EB2D8 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE37C 001EB2DC 38 60 00 08 */ li r3, 8 /* 801EE380 001EB2E0 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE384 001EB2E4 38 A0 00 00 */ li r5, 0 /* 801EE388 001EB2E8 38 84 00 0B */ addi r4, r4, 0xb /* 801EE38C 001EB2EC 48 12 74 E1 */ bl __nw__FUlPCcPCc /* 801EE390 001EB2F0 28 03 00 00 */ cmplwi r3, 0 /* 801EE394 001EB2F4 41 82 00 10 */ beq lbl_801EE3A4 /* 801EE398 001EB2F8 91 C3 00 00 */ stw r14, 0(r3) /* 801EE39C 001EB2FC 38 00 00 01 */ li r0, 1 /* 801EE3A0 001EB300 90 03 00 04 */ stw r0, 4(r3) lbl_801EE3A4: /* 801EE3A4 001EB304 90 61 00 40 */ stw r3, 0x40(r1) /* 801EE3A8 001EB308 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE3AC 001EB30C 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE3B0 001EB310 54 00 10 3A */ slwi r0, r0, 2 /* 801EE3B4 001EB314 7C 84 02 14 */ add r4, r4, r0 /* 801EE3B8 001EB318 34 84 00 04 */ addic. r4, r4, 4 /* 801EE3BC 001EB31C 41 82 00 18 */ beq lbl_801EE3D4 /* 801EE3C0 001EB320 90 64 00 00 */ stw r3, 0(r4) /* 801EE3C4 001EB324 80 84 00 00 */ lwz r4, 0(r4) /* 801EE3C8 001EB328 80 64 00 04 */ lwz r3, 4(r4) /* 801EE3CC 001EB32C 38 03 00 01 */ addi r0, r3, 1 /* 801EE3D0 001EB330 90 04 00 04 */ stw r0, 4(r4) lbl_801EE3D4: /* 801EE3D4 001EB334 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE3D8 001EB338 38 61 00 40 */ addi r3, r1, 0x40 /* 801EE3DC 001EB33C 38 04 00 01 */ addi r0, r4, 1 /* 801EE3E0 001EB340 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE3E4 001EB344 4B FE 4F 7D */ bl sub_801d3360 /* 801EE3E8 001EB348 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE3EC 001EB34C 38 60 00 4C */ li r3, 0x4c /* 801EE3F0 001EB350 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE3F4 001EB354 38 A0 00 00 */ li r5, 0 /* 801EE3F8 001EB358 38 84 00 0B */ addi r4, r4, 0xb /* 801EE3FC 001EB35C 48 12 74 71 */ bl __nw__FUlPCcPCc /* 801EE400 001EB360 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE404 001EB364 41 82 00 10 */ beq lbl_801EE414 /* 801EE408 001EB368 38 81 01 0C */ addi r4, r1, 0x10c /* 801EE40C 001EB36C 4B F2 87 49 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE410 001EB370 7C 6E 1B 78 */ mr r14, r3 lbl_801EE414: /* 801EE414 001EB374 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE418 001EB378 38 60 00 08 */ li r3, 8 /* 801EE41C 001EB37C 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE420 001EB380 38 A0 00 00 */ li r5, 0 /* 801EE424 001EB384 38 84 00 0B */ addi r4, r4, 0xb /* 801EE428 001EB388 48 12 74 45 */ bl __nw__FUlPCcPCc /* 801EE42C 001EB38C 28 03 00 00 */ cmplwi r3, 0 /* 801EE430 001EB390 41 82 00 10 */ beq lbl_801EE440 /* 801EE434 001EB394 91 C3 00 00 */ stw r14, 0(r3) /* 801EE438 001EB398 38 00 00 01 */ li r0, 1 /* 801EE43C 001EB39C 90 03 00 04 */ stw r0, 4(r3) lbl_801EE440: /* 801EE440 001EB3A0 90 61 00 3C */ stw r3, 0x3c(r1) /* 801EE444 001EB3A4 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE448 001EB3A8 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE44C 001EB3AC 54 00 10 3A */ slwi r0, r0, 2 /* 801EE450 001EB3B0 7C 84 02 14 */ add r4, r4, r0 /* 801EE454 001EB3B4 34 84 00 04 */ addic. r4, r4, 4 /* 801EE458 001EB3B8 41 82 00 18 */ beq lbl_801EE470 /* 801EE45C 001EB3BC 90 64 00 00 */ stw r3, 0(r4) /* 801EE460 001EB3C0 80 84 00 00 */ lwz r4, 0(r4) /* 801EE464 001EB3C4 80 64 00 04 */ lwz r3, 4(r4) /* 801EE468 001EB3C8 38 03 00 01 */ addi r0, r3, 1 /* 801EE46C 001EB3CC 90 04 00 04 */ stw r0, 4(r4) lbl_801EE470: /* 801EE470 001EB3D0 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE474 001EB3D4 38 61 00 3C */ addi r3, r1, 0x3c /* 801EE478 001EB3D8 38 04 00 01 */ addi r0, r4, 1 /* 801EE47C 001EB3DC 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE480 001EB3E0 4B FE 4E E1 */ bl sub_801d3360 /* 801EE484 001EB3E4 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE488 001EB3E8 38 60 00 4C */ li r3, 0x4c /* 801EE48C 001EB3EC 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE490 001EB3F0 38 A0 00 00 */ li r5, 0 /* 801EE494 001EB3F4 38 84 00 0B */ addi r4, r4, 0xb /* 801EE498 001EB3F8 48 12 73 D5 */ bl __nw__FUlPCcPCc /* 801EE49C 001EB3FC 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE4A0 001EB400 41 82 00 10 */ beq lbl_801EE4B0 /* 801EE4A4 001EB404 38 81 01 0C */ addi r4, r1, 0x10c /* 801EE4A8 001EB408 4B F2 86 AD */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE4AC 001EB40C 7C 6E 1B 78 */ mr r14, r3 lbl_801EE4B0: /* 801EE4B0 001EB410 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE4B4 001EB414 38 60 00 08 */ li r3, 8 /* 801EE4B8 001EB418 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE4BC 001EB41C 38 A0 00 00 */ li r5, 0 /* 801EE4C0 001EB420 38 84 00 0B */ addi r4, r4, 0xb /* 801EE4C4 001EB424 48 12 73 A9 */ bl __nw__FUlPCcPCc /* 801EE4C8 001EB428 28 03 00 00 */ cmplwi r3, 0 /* 801EE4CC 001EB42C 41 82 00 10 */ beq lbl_801EE4DC /* 801EE4D0 001EB430 91 C3 00 00 */ stw r14, 0(r3) /* 801EE4D4 001EB434 38 00 00 01 */ li r0, 1 /* 801EE4D8 001EB438 90 03 00 04 */ stw r0, 4(r3) lbl_801EE4DC: /* 801EE4DC 001EB43C 90 61 00 38 */ stw r3, 0x38(r1) /* 801EE4E0 001EB440 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE4E4 001EB444 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE4E8 001EB448 54 00 10 3A */ slwi r0, r0, 2 /* 801EE4EC 001EB44C 7C 84 02 14 */ add r4, r4, r0 /* 801EE4F0 001EB450 34 84 00 04 */ addic. r4, r4, 4 /* 801EE4F4 001EB454 41 82 00 18 */ beq lbl_801EE50C /* 801EE4F8 001EB458 90 64 00 00 */ stw r3, 0(r4) /* 801EE4FC 001EB45C 80 84 00 00 */ lwz r4, 0(r4) /* 801EE500 001EB460 80 64 00 04 */ lwz r3, 4(r4) /* 801EE504 001EB464 38 03 00 01 */ addi r0, r3, 1 /* 801EE508 001EB468 90 04 00 04 */ stw r0, 4(r4) lbl_801EE50C: /* 801EE50C 001EB46C 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE510 001EB470 38 61 00 38 */ addi r3, r1, 0x38 /* 801EE514 001EB474 38 04 00 01 */ addi r0, r4, 1 /* 801EE518 001EB478 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE51C 001EB47C 4B FE 4E 45 */ bl sub_801d3360 /* 801EE520 001EB480 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE524 001EB484 38 60 00 4C */ li r3, 0x4c /* 801EE528 001EB488 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE52C 001EB48C 38 A0 00 00 */ li r5, 0 /* 801EE530 001EB490 38 84 00 0B */ addi r4, r4, 0xb /* 801EE534 001EB494 48 12 73 39 */ bl __nw__FUlPCcPCc /* 801EE538 001EB498 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE53C 001EB49C 41 82 00 10 */ beq lbl_801EE54C /* 801EE540 001EB4A0 38 81 01 0C */ addi r4, r1, 0x10c /* 801EE544 001EB4A4 4B F2 86 11 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE548 001EB4A8 7C 6E 1B 78 */ mr r14, r3 lbl_801EE54C: /* 801EE54C 001EB4AC 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE550 001EB4B0 38 60 00 08 */ li r3, 8 /* 801EE554 001EB4B4 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE558 001EB4B8 38 A0 00 00 */ li r5, 0 /* 801EE55C 001EB4BC 38 84 00 0B */ addi r4, r4, 0xb /* 801EE560 001EB4C0 48 12 73 0D */ bl __nw__FUlPCcPCc /* 801EE564 001EB4C4 28 03 00 00 */ cmplwi r3, 0 /* 801EE568 001EB4C8 41 82 00 10 */ beq lbl_801EE578 /* 801EE56C 001EB4CC 91 C3 00 00 */ stw r14, 0(r3) /* 801EE570 001EB4D0 38 00 00 01 */ li r0, 1 /* 801EE574 001EB4D4 90 03 00 04 */ stw r0, 4(r3) lbl_801EE578: /* 801EE578 001EB4D8 90 61 00 34 */ stw r3, 0x34(r1) /* 801EE57C 001EB4DC 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE580 001EB4E0 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE584 001EB4E4 54 00 10 3A */ slwi r0, r0, 2 /* 801EE588 001EB4E8 7C 84 02 14 */ add r4, r4, r0 /* 801EE58C 001EB4EC 34 84 00 04 */ addic. r4, r4, 4 /* 801EE590 001EB4F0 41 82 00 18 */ beq lbl_801EE5A8 /* 801EE594 001EB4F4 90 64 00 00 */ stw r3, 0(r4) /* 801EE598 001EB4F8 80 84 00 00 */ lwz r4, 0(r4) /* 801EE59C 001EB4FC 80 64 00 04 */ lwz r3, 4(r4) /* 801EE5A0 001EB500 38 03 00 01 */ addi r0, r3, 1 /* 801EE5A4 001EB504 90 04 00 04 */ stw r0, 4(r4) lbl_801EE5A8: /* 801EE5A8 001EB508 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE5AC 001EB50C 38 61 00 34 */ addi r3, r1, 0x34 /* 801EE5B0 001EB510 38 04 00 01 */ addi r0, r4, 1 /* 801EE5B4 001EB514 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE5B8 001EB518 4B FE 4D A9 */ bl sub_801d3360 /* 801EE5BC 001EB51C 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE5C0 001EB520 38 60 00 4C */ li r3, 0x4c /* 801EE5C4 001EB524 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE5C8 001EB528 38 A0 00 00 */ li r5, 0 /* 801EE5CC 001EB52C 38 84 00 0B */ addi r4, r4, 0xb /* 801EE5D0 001EB530 48 12 72 9D */ bl __nw__FUlPCcPCc /* 801EE5D4 001EB534 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE5D8 001EB538 41 82 00 10 */ beq lbl_801EE5E8 /* 801EE5DC 001EB53C 38 81 01 0C */ addi r4, r1, 0x10c /* 801EE5E0 001EB540 4B F2 85 75 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE5E4 001EB544 7C 6E 1B 78 */ mr r14, r3 lbl_801EE5E8: /* 801EE5E8 001EB548 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE5EC 001EB54C 38 60 00 08 */ li r3, 8 /* 801EE5F0 001EB550 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE5F4 001EB554 38 A0 00 00 */ li r5, 0 /* 801EE5F8 001EB558 38 84 00 0B */ addi r4, r4, 0xb /* 801EE5FC 001EB55C 48 12 72 71 */ bl __nw__FUlPCcPCc /* 801EE600 001EB560 28 03 00 00 */ cmplwi r3, 0 /* 801EE604 001EB564 41 82 00 10 */ beq lbl_801EE614 /* 801EE608 001EB568 91 C3 00 00 */ stw r14, 0(r3) /* 801EE60C 001EB56C 38 00 00 01 */ li r0, 1 /* 801EE610 001EB570 90 03 00 04 */ stw r0, 4(r3) lbl_801EE614: /* 801EE614 001EB574 90 61 00 30 */ stw r3, 0x30(r1) /* 801EE618 001EB578 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE61C 001EB57C 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE620 001EB580 54 00 10 3A */ slwi r0, r0, 2 /* 801EE624 001EB584 7C 84 02 14 */ add r4, r4, r0 /* 801EE628 001EB588 34 84 00 04 */ addic. r4, r4, 4 /* 801EE62C 001EB58C 41 82 00 18 */ beq lbl_801EE644 /* 801EE630 001EB590 90 64 00 00 */ stw r3, 0(r4) /* 801EE634 001EB594 80 84 00 00 */ lwz r4, 0(r4) /* 801EE638 001EB598 80 64 00 04 */ lwz r3, 4(r4) /* 801EE63C 001EB59C 38 03 00 01 */ addi r0, r3, 1 /* 801EE640 001EB5A0 90 04 00 04 */ stw r0, 4(r4) lbl_801EE644: /* 801EE644 001EB5A4 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE648 001EB5A8 38 61 00 30 */ addi r3, r1, 0x30 /* 801EE64C 001EB5AC 38 04 00 01 */ addi r0, r4, 1 /* 801EE650 001EB5B0 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE654 001EB5B4 4B FE 4D 0D */ bl sub_801d3360 /* 801EE658 001EB5B8 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE65C 001EB5BC 38 60 00 4C */ li r3, 0x4c /* 801EE660 001EB5C0 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE664 001EB5C4 38 A0 00 00 */ li r5, 0 /* 801EE668 001EB5C8 38 84 00 0B */ addi r4, r4, 0xb /* 801EE66C 001EB5CC 48 12 72 01 */ bl __nw__FUlPCcPCc /* 801EE670 001EB5D0 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE674 001EB5D4 41 82 00 10 */ beq lbl_801EE684 /* 801EE678 001EB5D8 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801EE67C 001EB5DC 4B F2 84 D9 */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE680 001EB5E0 7C 6E 1B 78 */ mr r14, r3 lbl_801EE684: /* 801EE684 001EB5E4 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE688 001EB5E8 38 60 00 08 */ li r3, 8 /* 801EE68C 001EB5EC 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE690 001EB5F0 38 A0 00 00 */ li r5, 0 /* 801EE694 001EB5F4 38 84 00 0B */ addi r4, r4, 0xb /* 801EE698 001EB5F8 48 12 71 D5 */ bl __nw__FUlPCcPCc /* 801EE69C 001EB5FC 28 03 00 00 */ cmplwi r3, 0 /* 801EE6A0 001EB600 41 82 00 10 */ beq lbl_801EE6B0 /* 801EE6A4 001EB604 91 C3 00 00 */ stw r14, 0(r3) /* 801EE6A8 001EB608 38 00 00 01 */ li r0, 1 /* 801EE6AC 001EB60C 90 03 00 04 */ stw r0, 4(r3) lbl_801EE6B0: /* 801EE6B0 001EB610 90 61 00 2C */ stw r3, 0x2c(r1) /* 801EE6B4 001EB614 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE6B8 001EB618 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE6BC 001EB61C 54 00 10 3A */ slwi r0, r0, 2 /* 801EE6C0 001EB620 7C 84 02 14 */ add r4, r4, r0 /* 801EE6C4 001EB624 34 84 00 04 */ addic. r4, r4, 4 /* 801EE6C8 001EB628 41 82 00 18 */ beq lbl_801EE6E0 /* 801EE6CC 001EB62C 90 64 00 00 */ stw r3, 0(r4) /* 801EE6D0 001EB630 80 84 00 00 */ lwz r4, 0(r4) /* 801EE6D4 001EB634 80 64 00 04 */ lwz r3, 4(r4) /* 801EE6D8 001EB638 38 03 00 01 */ addi r0, r3, 1 /* 801EE6DC 001EB63C 90 04 00 04 */ stw r0, 4(r4) lbl_801EE6E0: /* 801EE6E0 001EB640 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE6E4 001EB644 38 61 00 2C */ addi r3, r1, 0x2c /* 801EE6E8 001EB648 38 04 00 01 */ addi r0, r4, 1 /* 801EE6EC 001EB64C 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE6F0 001EB650 4B FE 4C 71 */ bl sub_801d3360 /* 801EE6F4 001EB654 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE6F8 001EB658 38 60 00 4C */ li r3, 0x4c /* 801EE6FC 001EB65C 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE700 001EB660 38 A0 00 00 */ li r5, 0 /* 801EE704 001EB664 38 84 00 0B */ addi r4, r4, 0xb /* 801EE708 001EB668 48 12 71 65 */ bl __nw__FUlPCcPCc /* 801EE70C 001EB66C 7C 6E 1B 79 */ or. r14, r3, r3 /* 801EE710 001EB670 41 82 00 10 */ beq lbl_801EE720 /* 801EE714 001EB674 7E 44 93 78 */ mr r4, r18 /* 801EE718 001EB678 4B F2 84 3D */ bl __ct__10CModelDataFRC8CAnimRes /* 801EE71C 001EB67C 7C 6E 1B 78 */ mr r14, r3 lbl_801EE720: /* 801EE720 001EB680 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EE724 001EB684 38 60 00 08 */ li r3, 8 /* 801EE728 001EB688 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EE72C 001EB68C 38 A0 00 00 */ li r5, 0 /* 801EE730 001EB690 38 84 00 0B */ addi r4, r4, 0xb /* 801EE734 001EB694 48 12 71 39 */ bl __nw__FUlPCcPCc /* 801EE738 001EB698 28 03 00 00 */ cmplwi r3, 0 /* 801EE73C 001EB69C 41 82 00 10 */ beq lbl_801EE74C /* 801EE740 001EB6A0 91 C3 00 00 */ stw r14, 0(r3) /* 801EE744 001EB6A4 38 00 00 01 */ li r0, 1 /* 801EE748 001EB6A8 90 03 00 04 */ stw r0, 4(r3) lbl_801EE74C: /* 801EE74C 001EB6AC 90 61 00 28 */ stw r3, 0x28(r1) /* 801EE750 001EB6B0 38 8F 04 B0 */ addi r4, r15, 0x4b0 /* 801EE754 001EB6B4 80 0F 04 B0 */ lwz r0, 0x4b0(r15) /* 801EE758 001EB6B8 54 00 10 3A */ slwi r0, r0, 2 /* 801EE75C 001EB6BC 7C 84 02 14 */ add r4, r4, r0 /* 801EE760 001EB6C0 34 84 00 04 */ addic. r4, r4, 4 /* 801EE764 001EB6C4 41 82 00 18 */ beq lbl_801EE77C /* 801EE768 001EB6C8 90 64 00 00 */ stw r3, 0(r4) /* 801EE76C 001EB6CC 80 84 00 00 */ lwz r4, 0(r4) /* 801EE770 001EB6D0 80 64 00 04 */ lwz r3, 4(r4) /* 801EE774 001EB6D4 38 03 00 01 */ addi r0, r3, 1 /* 801EE778 001EB6D8 90 04 00 04 */ stw r0, 4(r4) lbl_801EE77C: /* 801EE77C 001EB6DC 80 8F 04 B0 */ lwz r4, 0x4b0(r15) /* 801EE780 001EB6E0 38 61 00 28 */ addi r3, r1, 0x28 /* 801EE784 001EB6E4 38 04 00 01 */ addi r0, r4, 1 /* 801EE788 001EB6E8 90 0F 04 B0 */ stw r0, 0x4b0(r15) /* 801EE78C 001EB6EC 4B FE 4B D5 */ bl sub_801d3360 /* 801EE790 001EB6F0 80 1F 00 44 */ lwz r0, 0x44(r31) /* 801EE794 001EB6F4 28 00 00 00 */ cmplwi r0, 0 /* 801EE798 001EB6F8 41 82 00 40 */ beq lbl_801EE7D8 /* 801EE79C 001EB6FC 3A 00 00 00 */ li r16, 0 /* 801EE7A0 001EB700 39 C0 00 00 */ li r14, 0 lbl_801EE7A4: /* 801EE7A4 001EB704 7C 6F 72 14 */ add r3, r15, r14 /* 801EE7A8 001EB708 38 9F 00 44 */ addi r4, r31, 0x44 /* 801EE7AC 001EB70C 80 63 04 B4 */ lwz r3, 0x4b4(r3) /* 801EE7B0 001EB710 80 63 00 00 */ lwz r3, 0(r3) /* 801EE7B4 001EB714 4B F2 68 3D */ bl "SetXRayModel__10CModelDataFRCQ24rstl11pair" /* 801EE7B8 001EB718 3A 10 00 01 */ addi r16, r16, 1 /* 801EE7BC 001EB71C 39 CE 00 04 */ addi r14, r14, 4 /* 801EE7C0 001EB720 2C 10 00 09 */ cmpwi r16, 9 /* 801EE7C4 001EB724 41 80 FF E0 */ blt lbl_801EE7A4 /* 801EE7C8 001EB728 88 0F 05 60 */ lbz r0, 0x560(r15) /* 801EE7CC 001EB72C 38 60 00 01 */ li r3, 1 /* 801EE7D0 001EB730 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801EE7D4 001EB734 98 0F 05 60 */ stb r0, 0x560(r15) lbl_801EE7D8: /* 801EE7D8 001EB738 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 801EE7DC 001EB73C 28 00 00 00 */ cmplwi r0, 0 /* 801EE7E0 001EB740 41 82 00 40 */ beq lbl_801EE820 /* 801EE7E4 001EB744 3A 00 00 00 */ li r16, 0 /* 801EE7E8 001EB748 39 C0 00 00 */ li r14, 0 lbl_801EE7EC: /* 801EE7EC 001EB74C 7C 6F 72 14 */ add r3, r15, r14 /* 801EE7F0 001EB750 38 9F 00 4C */ addi r4, r31, 0x4c /* 801EE7F4 001EB754 80 63 04 B4 */ lwz r3, 0x4b4(r3) /* 801EE7F8 001EB758 80 63 00 00 */ lwz r3, 0(r3) /* 801EE7FC 001EB75C 4B F2 6A 59 */ bl "SetInfraModel__10CModelDataFRCQ24rstl11pair" /* 801EE800 001EB760 3A 10 00 01 */ addi r16, r16, 1 /* 801EE804 001EB764 39 CE 00 04 */ addi r14, r14, 4 /* 801EE808 001EB768 2C 10 00 09 */ cmpwi r16, 9 /* 801EE80C 001EB76C 41 80 FF E0 */ blt lbl_801EE7EC /* 801EE810 001EB770 88 0F 05 60 */ lbz r0, 0x560(r15) /* 801EE814 001EB774 38 60 00 01 */ li r3, 1 /* 801EE818 001EB778 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801EE81C 001EB77C 98 0F 05 60 */ stb r0, 0x560(r15) lbl_801EE820: /* 801EE820 001EB780 3C 15 00 01 */ addis r0, r21, 1 /* 801EE824 001EB784 28 00 FF FF */ cmplwi r0, 0xffff /* 801EE828 001EB788 41 82 00 A8 */ beq lbl_801EE8D0 /* 801EE82C 001EB78C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801EE830 001EB790 92 A1 00 9C */ stw r21, 0x9c(r1) /* 801EE834 001EB794 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801EE838 001EB798 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EE83C 001EB79C 90 01 00 98 */ stw r0, 0x98(r1) /* 801EE840 001EB7A0 38 61 00 90 */ addi r3, r1, 0x90 /* 801EE844 001EB7A4 38 A1 00 98 */ addi r5, r1, 0x98 /* 801EE848 001EB7A8 81 84 00 00 */ lwz r12, 0(r4) /* 801EE84C 001EB7AC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801EE850 001EB7B0 7D 89 03 A6 */ mtctr r12 /* 801EE854 001EB7B4 4E 80 04 21 */ bctrl /* 801EE858 001EB7B8 39 C1 00 CC */ addi r14, r1, 0xcc /* 801EE85C 001EB7BC 38 81 00 90 */ addi r4, r1, 0x90 /* 801EE860 001EB7C0 7D C3 73 78 */ mr r3, r14 /* 801EE864 001EB7C4 48 15 26 45 */ bl __ct__6CTokenFRC6CToken /* 801EE868 001EB7C8 7D C3 73 78 */ mr r3, r14 /* 801EE86C 001EB7CC 48 15 25 A1 */ bl GetObj__6CTokenFv /* 801EE870 001EB7D0 80 03 00 04 */ lwz r0, 4(r3) /* 801EE874 001EB7D4 38 6F 04 F0 */ addi r3, r15, 0x4f0 /* 801EE878 001EB7D8 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801EE87C 001EB7DC 80 0F 04 F0 */ lwz r0, 0x4f0(r15) /* 801EE880 001EB7E0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801EE884 001EB7E4 7D C3 02 14 */ add r14, r3, r0 /* 801EE888 001EB7E8 35 CE 00 04 */ addic. r14, r14, 4 /* 801EE88C 001EB7EC 41 82 00 20 */ beq lbl_801EE8AC /* 801EE890 001EB7F0 7D C3 73 78 */ mr r3, r14 /* 801EE894 001EB7F4 38 81 00 CC */ addi r4, r1, 0xcc /* 801EE898 001EB7F8 48 15 26 11 */ bl __ct__6CTokenFRC6CToken /* 801EE89C 001EB7FC 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801EE8A0 001EB800 7D C3 73 78 */ mr r3, r14 /* 801EE8A4 001EB804 90 0E 00 08 */ stw r0, 8(r14) /* 801EE8A8 001EB808 48 15 24 DD */ bl Lock__6CTokenFv lbl_801EE8AC: /* 801EE8AC 001EB80C 80 AF 04 F0 */ lwz r5, 0x4f0(r15) /* 801EE8B0 001EB810 38 61 00 CC */ addi r3, r1, 0xcc /* 801EE8B4 001EB814 38 80 00 00 */ li r4, 0 /* 801EE8B8 001EB818 38 05 00 01 */ addi r0, r5, 1 /* 801EE8BC 001EB81C 90 0F 04 F0 */ stw r0, 0x4f0(r15) /* 801EE8C0 001EB820 48 15 25 81 */ bl __dt__6CTokenFv /* 801EE8C4 001EB824 38 61 00 90 */ addi r3, r1, 0x90 /* 801EE8C8 001EB828 38 80 FF FF */ li r4, -1 /* 801EE8CC 001EB82C 48 15 25 75 */ bl __dt__6CTokenFv lbl_801EE8D0: /* 801EE8D0 001EB830 3C 16 00 01 */ addis r0, r22, 1 /* 801EE8D4 001EB834 28 00 FF FF */ cmplwi r0, 0xffff /* 801EE8D8 001EB838 41 82 00 A8 */ beq lbl_801EE980 /* 801EE8DC 001EB83C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801EE8E0 001EB840 92 C1 00 8C */ stw r22, 0x8c(r1) /* 801EE8E4 001EB844 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801EE8E8 001EB848 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EE8EC 001EB84C 90 01 00 88 */ stw r0, 0x88(r1) /* 801EE8F0 001EB850 38 61 00 80 */ addi r3, r1, 0x80 /* 801EE8F4 001EB854 38 A1 00 88 */ addi r5, r1, 0x88 /* 801EE8F8 001EB858 81 84 00 00 */ lwz r12, 0(r4) /* 801EE8FC 001EB85C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801EE900 001EB860 7D 89 03 A6 */ mtctr r12 /* 801EE904 001EB864 4E 80 04 21 */ bctrl /* 801EE908 001EB868 39 C1 00 C0 */ addi r14, r1, 0xc0 /* 801EE90C 001EB86C 38 81 00 80 */ addi r4, r1, 0x80 /* 801EE910 001EB870 7D C3 73 78 */ mr r3, r14 /* 801EE914 001EB874 48 15 25 95 */ bl __ct__6CTokenFRC6CToken /* 801EE918 001EB878 7D C3 73 78 */ mr r3, r14 /* 801EE91C 001EB87C 48 15 24 F1 */ bl GetObj__6CTokenFv /* 801EE920 001EB880 80 03 00 04 */ lwz r0, 4(r3) /* 801EE924 001EB884 38 6F 04 F0 */ addi r3, r15, 0x4f0 /* 801EE928 001EB888 90 01 00 C8 */ stw r0, 0xc8(r1) /* 801EE92C 001EB88C 80 0F 04 F0 */ lwz r0, 0x4f0(r15) /* 801EE930 001EB890 1C 00 00 0C */ mulli r0, r0, 0xc /* 801EE934 001EB894 7D C3 02 14 */ add r14, r3, r0 /* 801EE938 001EB898 35 CE 00 04 */ addic. r14, r14, 4 /* 801EE93C 001EB89C 41 82 00 20 */ beq lbl_801EE95C /* 801EE940 001EB8A0 7D C3 73 78 */ mr r3, r14 /* 801EE944 001EB8A4 38 81 00 C0 */ addi r4, r1, 0xc0 /* 801EE948 001EB8A8 48 15 25 61 */ bl __ct__6CTokenFRC6CToken /* 801EE94C 001EB8AC 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 801EE950 001EB8B0 7D C3 73 78 */ mr r3, r14 /* 801EE954 001EB8B4 90 0E 00 08 */ stw r0, 8(r14) /* 801EE958 001EB8B8 48 15 24 2D */ bl Lock__6CTokenFv lbl_801EE95C: /* 801EE95C 001EB8BC 80 AF 04 F0 */ lwz r5, 0x4f0(r15) /* 801EE960 001EB8C0 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801EE964 001EB8C4 38 80 00 00 */ li r4, 0 /* 801EE968 001EB8C8 38 05 00 01 */ addi r0, r5, 1 /* 801EE96C 001EB8CC 90 0F 04 F0 */ stw r0, 0x4f0(r15) /* 801EE970 001EB8D0 48 15 24 D1 */ bl __dt__6CTokenFv /* 801EE974 001EB8D4 38 61 00 80 */ addi r3, r1, 0x80 /* 801EE978 001EB8D8 38 80 FF FF */ li r4, -1 /* 801EE97C 001EB8DC 48 15 24 C5 */ bl __dt__6CTokenFv lbl_801EE980: /* 801EE980 001EB8E0 3C 17 00 01 */ addis r0, r23, 1 /* 801EE984 001EB8E4 28 00 FF FF */ cmplwi r0, 0xffff /* 801EE988 001EB8E8 41 82 00 A8 */ beq lbl_801EEA30 /* 801EE98C 001EB8EC 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801EE990 001EB8F0 92 E1 00 7C */ stw r23, 0x7c(r1) /* 801EE994 001EB8F4 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801EE998 001EB8F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EE99C 001EB8FC 90 01 00 78 */ stw r0, 0x78(r1) /* 801EE9A0 001EB900 38 61 00 70 */ addi r3, r1, 0x70 /* 801EE9A4 001EB904 38 A1 00 78 */ addi r5, r1, 0x78 /* 801EE9A8 001EB908 81 84 00 00 */ lwz r12, 0(r4) /* 801EE9AC 001EB90C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801EE9B0 001EB910 7D 89 03 A6 */ mtctr r12 /* 801EE9B4 001EB914 4E 80 04 21 */ bctrl /* 801EE9B8 001EB918 39 C1 00 B4 */ addi r14, r1, 0xb4 /* 801EE9BC 001EB91C 38 81 00 70 */ addi r4, r1, 0x70 /* 801EE9C0 001EB920 7D C3 73 78 */ mr r3, r14 /* 801EE9C4 001EB924 48 15 24 E5 */ bl __ct__6CTokenFRC6CToken /* 801EE9C8 001EB928 7D C3 73 78 */ mr r3, r14 /* 801EE9CC 001EB92C 48 15 24 41 */ bl GetObj__6CTokenFv /* 801EE9D0 001EB930 80 03 00 04 */ lwz r0, 4(r3) /* 801EE9D4 001EB934 38 6F 04 F0 */ addi r3, r15, 0x4f0 /* 801EE9D8 001EB938 90 01 00 BC */ stw r0, 0xbc(r1) /* 801EE9DC 001EB93C 80 0F 04 F0 */ lwz r0, 0x4f0(r15) /* 801EE9E0 001EB940 1C 00 00 0C */ mulli r0, r0, 0xc /* 801EE9E4 001EB944 7D C3 02 14 */ add r14, r3, r0 /* 801EE9E8 001EB948 35 CE 00 04 */ addic. r14, r14, 4 /* 801EE9EC 001EB94C 41 82 00 20 */ beq lbl_801EEA0C /* 801EE9F0 001EB950 7D C3 73 78 */ mr r3, r14 /* 801EE9F4 001EB954 38 81 00 B4 */ addi r4, r1, 0xb4 /* 801EE9F8 001EB958 48 15 24 B1 */ bl __ct__6CTokenFRC6CToken /* 801EE9FC 001EB95C 80 01 00 BC */ lwz r0, 0xbc(r1) /* 801EEA00 001EB960 7D C3 73 78 */ mr r3, r14 /* 801EEA04 001EB964 90 0E 00 08 */ stw r0, 8(r14) /* 801EEA08 001EB968 48 15 23 7D */ bl Lock__6CTokenFv lbl_801EEA0C: /* 801EEA0C 001EB96C 80 AF 04 F0 */ lwz r5, 0x4f0(r15) /* 801EEA10 001EB970 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801EEA14 001EB974 38 80 00 00 */ li r4, 0 /* 801EEA18 001EB978 38 05 00 01 */ addi r0, r5, 1 /* 801EEA1C 001EB97C 90 0F 04 F0 */ stw r0, 0x4f0(r15) /* 801EEA20 001EB980 48 15 24 21 */ bl __dt__6CTokenFv /* 801EEA24 001EB984 38 61 00 70 */ addi r3, r1, 0x70 /* 801EEA28 001EB988 38 80 FF FF */ li r4, -1 /* 801EEA2C 001EB98C 48 15 24 15 */ bl __dt__6CTokenFv lbl_801EEA30: /* 801EEA30 001EB990 3C 18 00 01 */ addis r0, r24, 1 /* 801EEA34 001EB994 28 00 FF FF */ cmplwi r0, 0xffff /* 801EEA38 001EB998 41 82 00 A8 */ beq lbl_801EEAE0 /* 801EEA3C 001EB99C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801EEA40 001EB9A0 93 01 00 6C */ stw r24, 0x6c(r1) /* 801EEA44 001EB9A4 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801EEA48 001EB9A8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EEA4C 001EB9AC 90 01 00 68 */ stw r0, 0x68(r1) /* 801EEA50 001EB9B0 38 61 00 60 */ addi r3, r1, 0x60 /* 801EEA54 001EB9B4 38 A1 00 68 */ addi r5, r1, 0x68 /* 801EEA58 001EB9B8 81 84 00 00 */ lwz r12, 0(r4) /* 801EEA5C 001EB9BC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801EEA60 001EB9C0 7D 89 03 A6 */ mtctr r12 /* 801EEA64 001EB9C4 4E 80 04 21 */ bctrl /* 801EEA68 001EB9C8 39 C1 00 A8 */ addi r14, r1, 0xa8 /* 801EEA6C 001EB9CC 38 81 00 60 */ addi r4, r1, 0x60 /* 801EEA70 001EB9D0 7D C3 73 78 */ mr r3, r14 /* 801EEA74 001EB9D4 48 15 24 35 */ bl __ct__6CTokenFRC6CToken /* 801EEA78 001EB9D8 7D C3 73 78 */ mr r3, r14 /* 801EEA7C 001EB9DC 48 15 23 91 */ bl GetObj__6CTokenFv /* 801EEA80 001EB9E0 80 03 00 04 */ lwz r0, 4(r3) /* 801EEA84 001EB9E4 38 6F 04 F0 */ addi r3, r15, 0x4f0 /* 801EEA88 001EB9E8 90 01 00 B0 */ stw r0, 0xb0(r1) /* 801EEA8C 001EB9EC 80 0F 04 F0 */ lwz r0, 0x4f0(r15) /* 801EEA90 001EB9F0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801EEA94 001EB9F4 7D C3 02 14 */ add r14, r3, r0 /* 801EEA98 001EB9F8 35 CE 00 04 */ addic. r14, r14, 4 /* 801EEA9C 001EB9FC 41 82 00 20 */ beq lbl_801EEABC /* 801EEAA0 001EBA00 7D C3 73 78 */ mr r3, r14 /* 801EEAA4 001EBA04 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801EEAA8 001EBA08 48 15 24 01 */ bl __ct__6CTokenFRC6CToken /* 801EEAAC 001EBA0C 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 801EEAB0 001EBA10 7D C3 73 78 */ mr r3, r14 /* 801EEAB4 001EBA14 90 0E 00 08 */ stw r0, 8(r14) /* 801EEAB8 001EBA18 48 15 22 CD */ bl Lock__6CTokenFv lbl_801EEABC: /* 801EEABC 001EBA1C 80 AF 04 F0 */ lwz r5, 0x4f0(r15) /* 801EEAC0 001EBA20 38 61 00 A8 */ addi r3, r1, 0xa8 /* 801EEAC4 001EBA24 38 80 00 00 */ li r4, 0 /* 801EEAC8 001EBA28 38 05 00 01 */ addi r0, r5, 1 /* 801EEACC 001EBA2C 90 0F 04 F0 */ stw r0, 0x4f0(r15) /* 801EEAD0 001EBA30 48 15 23 71 */ bl __dt__6CTokenFv /* 801EEAD4 001EBA34 38 61 00 60 */ addi r3, r1, 0x60 /* 801EEAD8 001EBA38 38 80 FF FF */ li r4, -1 /* 801EEADC 001EBA3C 48 15 23 65 */ bl __dt__6CTokenFv lbl_801EEAE0: /* 801EEAE0 001EBA40 3A 00 00 00 */ li r16, 0 /* 801EEAE4 001EBA44 3C 60 80 3D */ lis r3, lbl_803D1F30@ha /* 801EEAE8 001EBA48 7E 11 83 78 */ mr r17, r16 /* 801EEAEC 001EBA4C 3A 4F 05 24 */ addi r18, r15, 0x524 /* 801EEAF0 001EBA50 39 C3 1F 30 */ addi r14, r3, lbl_803D1F30@l /* 801EEAF4 001EBA54 3A 60 00 00 */ li r19, 0 /* 801EEAF8 001EBA58 48 00 00 F8 */ b lbl_801EEBF0 lbl_801EEAFC: /* 801EEAFC 001EBA5C 38 8E 00 0B */ addi r4, r14, 0xb /* 801EEB00 001EBA60 3A 80 00 00 */ li r20, 0 /* 801EEB04 001EBA64 38 60 03 40 */ li r3, 0x340 /* 801EEB08 001EBA68 38 A0 00 00 */ li r5, 0 /* 801EEB0C 001EBA6C 48 12 6D 61 */ bl __nw__FUlPCcPCc /* 801EEB10 001EBA70 7C 75 1B 79 */ or. r21, r3, r3 /* 801EEB14 001EBA74 41 82 00 30 */ beq lbl_801EEB44 /* 801EEB18 001EBA78 7C 8F 82 14 */ add r4, r15, r16 /* 801EEB1C 001EBA7C 38 61 00 58 */ addi r3, r1, 0x58 /* 801EEB20 001EBA80 38 84 04 F4 */ addi r4, r4, 0x4f4 /* 801EEB24 001EBA84 48 15 23 85 */ bl __ct__6CTokenFRC6CToken /* 801EEB28 001EBA88 7E A3 AB 78 */ mr r3, r21 /* 801EEB2C 001EBA8C 38 81 00 58 */ addi r4, r1, 0x58 /* 801EEB30 001EBA90 3A 80 00 01 */ li r20, 1 /* 801EEB34 001EBA94 38 A0 00 00 */ li r5, 0 /* 801EEB38 001EBA98 38 C0 00 01 */ li r6, 1 /* 801EEB3C 001EBA9C 48 13 08 A5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801EEB40 001EBAA0 7C 75 1B 78 */ mr r21, r3 lbl_801EEB44: /* 801EEB44 001EBAA4 80 12 00 00 */ lwz r0, 0(r18) /* 801EEB48 001EBAA8 7C 75 00 D0 */ neg r3, r21 /* 801EEB4C 001EBAAC 7C 63 AB 78 */ or r3, r3, r21 /* 801EEB50 001EBAB0 92 A1 00 54 */ stw r21, 0x54(r1) /* 801EEB54 001EBAB4 54 00 18 38 */ slwi r0, r0, 3 /* 801EEB58 001EBAB8 7C 92 02 14 */ add r4, r18, r0 /* 801EEB5C 001EBABC 54 60 0F FE */ srwi r0, r3, 0x1f /* 801EEB60 001EBAC0 34 84 00 04 */ addic. r4, r4, 4 /* 801EEB64 001EBAC4 98 01 00 50 */ stb r0, 0x50(r1) /* 801EEB68 001EBAC8 41 82 00 14 */ beq lbl_801EEB7C /* 801EEB6C 001EBACC 98 04 00 00 */ stb r0, 0(r4) /* 801EEB70 001EBAD0 38 00 00 00 */ li r0, 0 /* 801EEB74 001EBAD4 92 A4 00 04 */ stw r21, 4(r4) /* 801EEB78 001EBAD8 98 01 00 50 */ stb r0, 0x50(r1) lbl_801EEB7C: /* 801EEB7C 001EBADC 80 6F 05 24 */ lwz r3, 0x524(r15) /* 801EEB80 001EBAE0 88 01 00 50 */ lbz r0, 0x50(r1) /* 801EEB84 001EBAE4 38 63 00 01 */ addi r3, r3, 1 /* 801EEB88 001EBAE8 28 00 00 00 */ cmplwi r0, 0 /* 801EEB8C 001EBAEC 90 6F 05 24 */ stw r3, 0x524(r15) /* 801EEB90 001EBAF0 41 82 00 24 */ beq lbl_801EEBB4 /* 801EEB94 001EBAF4 80 61 00 54 */ lwz r3, 0x54(r1) /* 801EEB98 001EBAF8 28 03 00 00 */ cmplwi r3, 0 /* 801EEB9C 001EBAFC 41 82 00 18 */ beq lbl_801EEBB4 /* 801EEBA0 001EBB00 81 83 00 00 */ lwz r12, 0(r3) /* 801EEBA4 001EBB04 38 80 00 01 */ li r4, 1 /* 801EEBA8 001EBB08 81 8C 00 08 */ lwz r12, 8(r12) /* 801EEBAC 001EBB0C 7D 89 03 A6 */ mtctr r12 /* 801EEBB0 001EBB10 4E 80 04 21 */ bctrl lbl_801EEBB4: /* 801EEBB4 001EBB14 7E 80 07 75 */ extsb. r0, r20 /* 801EEBB8 001EBB18 41 82 00 10 */ beq lbl_801EEBC8 /* 801EEBBC 001EBB1C 38 61 00 58 */ addi r3, r1, 0x58 /* 801EEBC0 001EBB20 38 80 00 00 */ li r4, 0 /* 801EEBC4 001EBB24 48 15 22 7D */ bl __dt__6CTokenFv lbl_801EEBC8: /* 801EEBC8 001EBB28 7C 6F 8A 14 */ add r3, r15, r17 /* 801EEBCC 001EBB2C 38 80 00 00 */ li r4, 0 /* 801EEBD0 001EBB30 80 63 05 2C */ lwz r3, 0x52c(r3) /* 801EEBD4 001EBB34 81 83 00 00 */ lwz r12, 0(r3) /* 801EEBD8 001EBB38 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801EEBDC 001EBB3C 7D 89 03 A6 */ mtctr r12 /* 801EEBE0 001EBB40 4E 80 04 21 */ bctrl /* 801EEBE4 001EBB44 3A 10 00 0C */ addi r16, r16, 0xc /* 801EEBE8 001EBB48 3A 31 00 08 */ addi r17, r17, 8 /* 801EEBEC 001EBB4C 3A 73 00 01 */ addi r19, r19, 1 lbl_801EEBF0: /* 801EEBF0 001EBB50 80 0F 04 F0 */ lwz r0, 0x4f0(r15) /* 801EEBF4 001EBB54 7C 13 00 00 */ cmpw r19, r0 /* 801EEBF8 001EBB58 41 80 FF 04 */ blt lbl_801EEAFC /* 801EEBFC 001EBB5C 7D E3 7B 78 */ mr r3, r15 /* 801EEC00 001EBB60 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 /* 801EEC04 001EBB64 CB E1 02 B0 */ lfd f31, 0x2b0(r1) /* 801EEC08 001EBB68 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 /* 801EEC0C 001EBB6C CB C1 02 A0 */ lfd f30, 0x2a0(r1) /* 801EEC10 001EBB70 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 /* 801EEC14 001EBB74 CB A1 02 90 */ lfd f29, 0x290(r1) /* 801EEC18 001EBB78 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 /* 801EEC1C 001EBB7C CB 81 02 80 */ lfd f28, 0x280(r1) /* 801EEC20 001EBB80 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 /* 801EEC24 001EBB84 CB 61 02 70 */ lfd f27, 0x270(r1) /* 801EEC28 001EBB88 E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 /* 801EEC2C 001EBB8C CB 41 02 60 */ lfd f26, 0x260(r1) /* 801EEC30 001EBB90 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 /* 801EEC34 001EBB94 CB 21 02 50 */ lfd f25, 0x250(r1) /* 801EEC38 001EBB98 E3 01 02 48 */ psq_l f24, 584(r1), 0, qr0 /* 801EEC3C 001EBB9C CB 01 02 40 */ lfd f24, 0x240(r1) /* 801EEC40 001EBBA0 E2 E1 02 38 */ psq_l f23, 568(r1), 0, qr0 /* 801EEC44 001EBBA4 CA E1 02 30 */ lfd f23, 0x230(r1) /* 801EEC48 001EBBA8 E2 C1 02 28 */ psq_l f22, 552(r1), 0, qr0 /* 801EEC4C 001EBBAC CA C1 02 20 */ lfd f22, 0x220(r1) /* 801EEC50 001EBBB0 E2 A1 02 18 */ psq_l f21, 536(r1), 0, qr0 /* 801EEC54 001EBBB4 CA A1 02 10 */ lfd f21, 0x210(r1) /* 801EEC58 001EBBB8 E2 81 02 08 */ psq_l f20, 520(r1), 0, qr0 /* 801EEC5C 001EBBBC CA 81 02 00 */ lfd f20, 0x200(r1) /* 801EEC60 001EBBC0 E2 61 01 F8 */ psq_l f19, 504(r1), 0, qr0 /* 801EEC64 001EBBC4 CA 61 01 F0 */ lfd f19, 0x1f0(r1) /* 801EEC68 001EBBC8 E2 41 01 E8 */ psq_l f18, 488(r1), 0, qr0 /* 801EEC6C 001EBBCC CA 41 01 E0 */ lfd f18, 0x1e0(r1) /* 801EEC70 001EBBD0 E2 21 01 D8 */ psq_l f17, 472(r1), 0, qr0 /* 801EEC74 001EBBD4 CA 21 01 D0 */ lfd f17, 0x1d0(r1) /* 801EEC78 001EBBD8 E2 01 01 C8 */ psq_l f16, 456(r1), 0, qr0 /* 801EEC7C 001EBBDC CA 01 01 C0 */ lfd f16, 0x1c0(r1) /* 801EEC80 001EBBE0 B9 C1 01 78 */ lmw r14, 0x178(r1) /* 801EEC84 001EBBE4 80 01 02 C4 */ lwz r0, 0x2c4(r1) /* 801EEC88 001EBBE8 7C 08 03 A6 */ mtlr r0 /* 801EEC8C 001EBBEC 38 21 02 C0 */ addi r1, r1, 0x2c0 /* 801EEC90 001EBBF0 4E 80 00 20 */ blr .global __ct__Q217CWallCrawlerSwarm5CBoidFRC12CTransform4fUi __ct__Q217CWallCrawlerSwarm5CBoidFRC12CTransform4fUi: /* 801EEC94 001EBBF4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801EEC98 001EBBF8 7C 08 02 A6 */ mflr r0 /* 801EEC9C 001EBBFC 90 01 00 44 */ stw r0, 0x44(r1) /* 801EECA0 001EBC00 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801EECA4 001EBC04 7C BF 2B 78 */ mr r31, r5 /* 801EECA8 001EBC08 93 C1 00 38 */ stw r30, 0x38(r1) /* 801EECAC 001EBC0C 7C 7E 1B 78 */ mr r30, r3 /* 801EECB0 001EBC10 48 12 3E C5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801EECB4 001EBC14 C0 02 AD A0 */ lfs f0, lbl_805ACAC0@sda21(r2) /* 801EECB8 001EBC18 38 7E 00 40 */ addi r3, r30, 0x40 /* 801EECBC 001EBC1C C0 22 AD AC */ lfs f1, lbl_805ACACC@sda21(r2) /* 801EECC0 001EBC20 D0 1E 00 30 */ stfs f0, 0x30(r30) /* 801EECC4 001EBC24 FC 40 08 90 */ fmr f2, f1 /* 801EECC8 001EBC28 C0 82 AD B4 */ lfs f4, lbl_805ACAD4@sda21(r2) /* 801EECCC 001EBC2C D0 1E 00 34 */ stfs f0, 0x34(r30) /* 801EECD0 001EBC30 FC 60 08 90 */ fmr f3, f1 /* 801EECD4 001EBC34 D0 1E 00 38 */ stfs f0, 0x38(r30) /* 801EECD8 001EBC38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801EECDC 001EBC3C B0 1E 00 3C */ sth r0, 0x3c(r30) /* 801EECE0 001EBC40 48 17 47 0D */ bl __ct__6CColorFffff /* 801EECE4 001EBC44 38 00 00 00 */ li r0, 0 /* 801EECE8 001EBC48 C0 22 AD A0 */ lfs f1, lbl_805ACAC0@sda21(r2) /* 801EECEC 001EBC4C 90 1E 00 44 */ stw r0, 0x44(r30) /* 801EECF0 001EBC50 38 7E 00 50 */ addi r3, r30, 0x50 /* 801EECF4 001EBC54 C0 02 AD B4 */ lfs f0, lbl_805ACAD4@sda21(r2) /* 801EECF8 001EBC58 38 81 00 20 */ addi r4, r1, 0x20 /* 801EECFC 001EBC5C D0 3E 00 48 */ stfs f1, 0x48(r30) /* 801EED00 001EBC60 38 A1 00 14 */ addi r5, r1, 0x14 /* 801EED04 001EBC64 38 C1 00 08 */ addi r6, r1, 8 /* 801EED08 001EBC68 38 E0 FF FF */ li r7, -1 /* 801EED0C 001EBC6C D0 3E 00 4C */ stfs f1, 0x4c(r30) /* 801EED10 001EBC70 D0 21 00 08 */ stfs f1, 8(r1) /* 801EED14 001EBC74 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801EED18 001EBC78 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801EED1C 001EBC7C D0 21 00 14 */ stfs f1, 0x14(r1) /* 801EED20 001EBC80 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801EED24 001EBC84 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801EED28 001EBC88 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801EED2C 001EBC8C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801EED30 001EBC90 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801EED34 001EBC94 48 0B 39 F5 */ bl __ct__17CCollisionSurfaceFRC9CVector3fRC9CVector3fRC9CVector3fUi /* 801EED38 001EBC98 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 801EED3C 001EBC9C 38 80 00 00 */ li r4, 0 /* 801EED40 001EBCA0 50 80 C0 0E */ rlwimi r0, r4, 0x18, 0, 7 /* 801EED44 001EBCA4 7F C3 F3 78 */ mr r3, r30 /* 801EED48 001EBCA8 90 1E 00 7C */ stw r0, 0x7c(r30) /* 801EED4C 001EBCAC 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 801EED50 001EBCB0 53 E0 72 22 */ rlwimi r0, r31, 0xe, 8, 0x11 /* 801EED54 001EBCB4 90 1E 00 7C */ stw r0, 0x7c(r30) /* 801EED58 001EBCB8 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EED5C 001EBCBC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EED60 001EBCC0 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EED64 001EBCC4 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EED68 001EBCC8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 801EED6C 001EBCCC 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EED70 001EBCD0 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EED74 001EBCD4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801EED78 001EBCD8 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EED7C 001EBCDC 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EED80 001EBCE0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 801EED84 001EBCE4 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EED88 001EBCE8 88 1E 00 80 */ lbz r0, 0x80(r30) /* 801EED8C 001EBCEC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801EED90 001EBCF0 98 1E 00 80 */ stb r0, 0x80(r30) /* 801EED94 001EBCF4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801EED98 001EBCF8 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801EED9C 001EBCFC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801EEDA0 001EBD00 7C 08 03 A6 */ mtlr r0 /* 801EEDA4 001EBD04 38 21 00 40 */ addi r1, r1, 0x40 /* 801EEDA8 001EBD08 4E 80 00 20 */ blr .global LookAt__F9CVector3f9CVector3ff LookAt__F9CVector3f9CVector3ff: /* 801EEDAC 001EBD0C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801EEDB0 001EBD10 7C 08 02 A6 */ mflr r0 /* 801EEDB4 001EBD14 90 01 00 74 */ stw r0, 0x74(r1) /* 801EEDB8 001EBD18 93 E1 00 6C */ stw r31, 0x6c(r1) /* 801EEDBC 001EBD1C 7C DF 33 78 */ mr r31, r6 /* 801EEDC0 001EBD20 93 C1 00 68 */ stw r30, 0x68(r1) /* 801EEDC4 001EBD24 7C 7E 1B 78 */ mr r30, r3 /* 801EEDC8 001EBD28 C0 64 00 04 */ lfs f3, 4(r4) /* 801EEDCC 001EBD2C C0 05 00 04 */ lfs f0, 4(r5) /* 801EEDD0 001EBD30 C0 84 00 00 */ lfs f4, 0(r4) /* 801EEDD4 001EBD34 EC 03 00 32 */ fmuls f0, f3, f0 /* 801EEDD8 001EBD38 C0 25 00 00 */ lfs f1, 0(r5) /* 801EEDDC 001EBD3C C0 C4 00 08 */ lfs f6, 8(r4) /* 801EEDE0 001EBD40 C0 A5 00 08 */ lfs f5, 8(r5) /* 801EEDE4 001EBD44 EC 44 00 7A */ fmadds f2, f4, f1, f0 /* 801EEDE8 001EBD48 C0 22 AD B4 */ lfs f1, lbl_805ACAD4@sda21(r2) /* 801EEDEC 001EBD4C C0 02 AD D8 */ lfs f0, lbl_805ACAF8@sda21(r2) /* 801EEDF0 001EBD50 EC 46 11 7A */ fmadds f2, f6, f5, f2 /* 801EEDF4 001EBD54 EC 22 08 28 */ fsubs f1, f2, f1 /* 801EEDF8 001EBD58 FC 20 0A 10 */ fabs f1, f1 /* 801EEDFC 001EBD5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EEE00 001EBD60 40 80 00 14 */ bge lbl_801EEE14 /* 801EEE04 001EBD64 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801EEE08 001EBD68 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801EEE0C 001EBD6C 48 12 3D 69 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801EEE10 001EBD70 48 00 01 74 */ b lbl_801EEF84 lbl_801EEE14: /* 801EEE14 001EBD74 C0 02 AE 3C */ lfs f0, lbl_805ACB5C@sda21(r2) /* 801EEE18 001EBD78 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801EEE1C 001EBD7C 40 81 00 1C */ ble lbl_801EEE38 /* 801EEE20 001EBD80 38 61 00 58 */ addi r3, r1, 0x58 /* 801EEE24 001EBD84 48 12 21 FD */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle /* 801EEE28 001EBD88 7F C3 F3 78 */ mr r3, r30 /* 801EEE2C 001EBD8C 38 81 00 58 */ addi r4, r1, 0x58 /* 801EEE30 001EBD90 48 12 31 89 */ bl BuildTransform4f__11CQuaternionCFv /* 801EEE34 001EBD94 48 00 01 50 */ b lbl_801EEF84 lbl_801EEE38: /* 801EEE38 001EBD98 3C 60 80 5A */ lis r3, lbl_805A6718@ha /* 801EEE3C 001EBD9C C5 03 67 18 */ lfsu f8, lbl_805A6718@l(r3) /* 801EEE40 001EBDA0 38 00 00 00 */ li r0, 0 /* 801EEE44 001EBDA4 FC 04 40 00 */ fcmpu cr0, f4, f8 /* 801EEE48 001EBDA8 40 82 00 20 */ bne lbl_801EEE68 /* 801EEE4C 001EBDAC C0 03 00 04 */ lfs f0, 4(r3) /* 801EEE50 001EBDB0 FC 03 00 00 */ fcmpu cr0, f3, f0 /* 801EEE54 001EBDB4 40 82 00 14 */ bne lbl_801EEE68 /* 801EEE58 001EBDB8 C0 03 00 08 */ lfs f0, 8(r3) /* 801EEE5C 001EBDBC FC 06 00 00 */ fcmpu cr0, f6, f0 /* 801EEE60 001EBDC0 40 82 00 08 */ bne lbl_801EEE68 /* 801EEE64 001EBDC4 38 00 00 01 */ li r0, 1 lbl_801EEE68: /* 801EEE68 001EBDC8 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801EEE6C 001EBDCC 40 82 00 B0 */ bne lbl_801EEF1C /* 801EEE70 001EBDD0 C0 05 00 00 */ lfs f0, 0(r5) /* 801EEE74 001EBDD4 3C 60 80 5A */ lis r3, lbl_805A6718@ha /* 801EEE78 001EBDD8 38 63 67 18 */ addi r3, r3, lbl_805A6718@l /* 801EEE7C 001EBDDC 38 00 00 00 */ li r0, 0 /* 801EEE80 001EBDE0 FC 00 40 00 */ fcmpu cr0, f0, f8 /* 801EEE84 001EBDE4 40 82 00 28 */ bne lbl_801EEEAC /* 801EEE88 001EBDE8 C0 25 00 04 */ lfs f1, 4(r5) /* 801EEE8C 001EBDEC C0 03 00 04 */ lfs f0, 4(r3) /* 801EEE90 001EBDF0 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801EEE94 001EBDF4 40 82 00 18 */ bne lbl_801EEEAC /* 801EEE98 001EBDF8 C0 25 00 08 */ lfs f1, 8(r5) /* 801EEE9C 001EBDFC C0 03 00 08 */ lfs f0, 8(r3) /* 801EEEA0 001EBE00 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801EEEA4 001EBE04 40 82 00 08 */ bne lbl_801EEEAC /* 801EEEA8 001EBE08 38 00 00 01 */ li r0, 1 lbl_801EEEAC: /* 801EEEAC 001EBE0C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801EEEB0 001EBE10 40 82 00 6C */ bne lbl_801EEF1C /* 801EEEB4 001EBE14 3C 60 80 5A */ lis r3, lbl_805A6718@ha /* 801EEEB8 001EBE18 C0 64 00 04 */ lfs f3, 4(r4) /* 801EEEBC 001EBE1C 38 63 67 18 */ addi r3, r3, lbl_805A6718@l /* 801EEEC0 001EBE20 C0 A4 00 08 */ lfs f5, 8(r4) /* 801EEEC4 001EBE24 C0 C3 00 04 */ lfs f6, 4(r3) /* 801EEEC8 001EBE28 EC 08 00 F2 */ fmuls f0, f8, f3 /* 801EEECC 001EBE2C C0 E3 00 08 */ lfs f7, 8(r3) /* 801EEED0 001EBE30 38 61 00 3C */ addi r3, r1, 0x3c /* 801EEED4 001EBE34 EC 46 01 72 */ fmuls f2, f6, f5 /* 801EEED8 001EBE38 38 81 00 30 */ addi r4, r1, 0x30 /* 801EEEDC 001EBE3C EC 27 01 32 */ fmuls f1, f7, f4 /* 801EEEE0 001EBE40 EC 04 01 B8 */ fmsubs f0, f4, f6, f0 /* 801EEEE4 001EBE44 EC 43 11 F8 */ fmsubs f2, f3, f7, f2 /* 801EEEE8 001EBE48 EC 25 0A 38 */ fmsubs f1, f5, f8, f1 /* 801EEEEC 001EBE4C D0 01 00 38 */ stfs f0, 0x38(r1) /* 801EEEF0 001EBE50 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801EEEF4 001EBE54 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801EEEF8 001EBE58 48 12 4E D9 */ bl __ct__11CUnitVectorFRC9CVector3f /* 801EEEFC 001EBE5C 7C 64 1B 78 */ mr r4, r3 /* 801EEF00 001EBE60 7F E5 FB 78 */ mr r5, r31 /* 801EEF04 001EBE64 38 61 00 48 */ addi r3, r1, 0x48 /* 801EEF08 001EBE68 48 12 23 ED */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle /* 801EEF0C 001EBE6C 7F C3 F3 78 */ mr r3, r30 /* 801EEF10 001EBE70 38 81 00 48 */ addi r4, r1, 0x48 /* 801EEF14 001EBE74 48 12 30 A5 */ bl BuildTransform4f__11CQuaternionCFv /* 801EEF18 001EBE78 48 00 00 6C */ b lbl_801EEF84 lbl_801EEF1C: /* 801EEF1C 001EBE7C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801EEF20 001EBE80 C0 64 00 04 */ lfs f3, 4(r4) /* 801EEF24 001EBE84 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l /* 801EEF28 001EBE88 C0 A4 00 08 */ lfs f5, 8(r4) /* 801EEF2C 001EBE8C C0 C5 00 04 */ lfs f6, 4(r5) /* 801EEF30 001EBE90 38 61 00 14 */ addi r3, r1, 0x14 /* 801EEF34 001EBE94 C0 E5 00 08 */ lfs f7, 8(r5) /* 801EEF38 001EBE98 38 81 00 08 */ addi r4, r1, 8 /* 801EEF3C 001EBE9C C1 05 00 00 */ lfs f8, 0(r5) /* 801EEF40 001EBEA0 EC 46 01 72 */ fmuls f2, f6, f5 /* 801EEF44 001EBEA4 EC 27 01 32 */ fmuls f1, f7, f4 /* 801EEF48 001EBEA8 EC 08 00 F2 */ fmuls f0, f8, f3 /* 801EEF4C 001EBEAC EC 43 11 F8 */ fmsubs f2, f3, f7, f2 /* 801EEF50 001EBEB0 EC 25 0A 38 */ fmsubs f1, f5, f8, f1 /* 801EEF54 001EBEB4 EC 04 01 B8 */ fmsubs f0, f4, f6, f0 /* 801EEF58 001EBEB8 D0 41 00 08 */ stfs f2, 8(r1) /* 801EEF5C 001EBEBC D0 21 00 0C */ stfs f1, 0xc(r1) /* 801EEF60 001EBEC0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801EEF64 001EBEC4 48 12 4E 6D */ bl __ct__11CUnitVectorFRC9CVector3f /* 801EEF68 001EBEC8 7C 64 1B 78 */ mr r4, r3 /* 801EEF6C 001EBECC 7F E5 FB 78 */ mr r5, r31 /* 801EEF70 001EBED0 38 61 00 20 */ addi r3, r1, 0x20 /* 801EEF74 001EBED4 48 12 23 81 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle /* 801EEF78 001EBED8 7F C3 F3 78 */ mr r3, r30 /* 801EEF7C 001EBEDC 38 81 00 20 */ addi r4, r1, 0x20 /* 801EEF80 001EBEE0 48 12 30 39 */ bl BuildTransform4f__11CQuaternionCFv lbl_801EEF84: /* 801EEF84 001EBEE4 80 01 00 74 */ lwz r0, 0x74(r1) /* 801EEF88 001EBEE8 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 801EEF8C 001EBEEC 83 C1 00 68 */ lwz r30, 0x68(r1) /* 801EEF90 001EBEF0 7C 08 03 A6 */ mtlr r0 /* 801EEF94 001EBEF4 38 21 00 70 */ addi r1, r1, 0x70 /* 801EEF98 001EBEF8 4E 80 00 20 */ blr .global sub_801eef9c sub_801eef9c: /* 801EEF9C 001EBEFC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801EEFA0 001EBF00 7C 08 02 A6 */ mflr r0 /* 801EEFA4 001EBF04 90 01 00 34 */ stw r0, 0x34(r1) /* 801EEFA8 001EBF08 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801EEFAC 001EBF0C 7C 9F 23 78 */ mr r31, r4 /* 801EEFB0 001EBF10 93 C1 00 28 */ stw r30, 0x28(r1) /* 801EEFB4 001EBF14 7C 7E 1B 78 */ mr r30, r3 /* 801EEFB8 001EBF18 93 A1 00 24 */ stw r29, 0x24(r1) /* 801EEFBC 001EBF1C 80 03 00 08 */ lwz r0, 8(r3) /* 801EEFC0 001EBF20 7C 1F 00 00 */ cmpw r31, r0 /* 801EEFC4 001EBF24 40 81 00 9C */ ble lbl_801EF060 /* 801EEFC8 001EBF28 1C 7F 00 84 */ mulli r3, r31, 0x84 /* 801EEFCC 001EBF2C 2C 03 00 00 */ cmpwi r3, 0 /* 801EEFD0 001EBF30 40 82 00 0C */ bne lbl_801EEFDC /* 801EEFD4 001EBF34 3B A0 00 00 */ li r29, 0 /* 801EEFD8 001EBF38 48 00 00 1C */ b lbl_801EEFF4 lbl_801EEFDC: /* 801EEFDC 001EBF3C 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EEFE0 001EBF40 38 A0 00 00 */ li r5, 0 /* 801EEFE4 001EBF44 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EEFE8 001EBF48 38 84 00 0B */ addi r4, r4, 0xb /* 801EEFEC 001EBF4C 48 12 68 2D */ bl __nwa__FUlPCcPCc /* 801EEFF0 001EBF50 7C 7D 1B 78 */ mr r29, r3 lbl_801EEFF4: /* 801EEFF4 001EBF54 80 1E 00 04 */ lwz r0, 4(r30) /* 801EEFF8 001EBF58 7F A5 EB 78 */ mr r5, r29 /* 801EEFFC 001EBF5C 80 DE 00 0C */ lwz r6, 0xc(r30) /* 801EF000 001EBF60 38 61 00 14 */ addi r3, r1, 0x14 /* 801EF004 001EBF64 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EF008 001EBF68 38 81 00 0C */ addi r4, r1, 0xc /* 801EF00C 001EBF6C 7C C6 02 14 */ add r6, r6, r0 /* 801EF010 001EBF70 90 C1 00 0C */ stw r6, 0xc(r1) /* 801EF014 001EBF74 80 1E 00 0C */ lwz r0, 0xc(r30) /* 801EF018 001EBF78 90 C1 00 08 */ stw r6, 8(r1) /* 801EF01C 001EBF7C 90 01 00 10 */ stw r0, 0x10(r1) /* 801EF020 001EBF80 90 01 00 14 */ stw r0, 0x14(r1) /* 801EF024 001EBF84 48 00 00 59 */ bl sub_801ef07c /* 801EF028 001EBF88 80 1E 00 04 */ lwz r0, 4(r30) /* 801EF02C 001EBF8C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801EF030 001EBF90 1C 00 00 84 */ mulli r0, r0, 0x84 /* 801EF034 001EBF94 7C 64 1B 78 */ mr r4, r3 /* 801EF038 001EBF98 7C 03 02 14 */ add r0, r3, r0 /* 801EF03C 001EBF9C 48 00 00 08 */ b lbl_801EF044 lbl_801EF040: /* 801EF040 001EBFA0 38 84 00 84 */ addi r4, r4, 0x84 lbl_801EF044: /* 801EF044 001EBFA4 7C 04 00 40 */ cmplw r4, r0 /* 801EF048 001EBFA8 40 82 FF F8 */ bne lbl_801EF040 /* 801EF04C 001EBFAC 28 03 00 00 */ cmplwi r3, 0 /* 801EF050 001EBFB0 41 82 00 08 */ beq lbl_801EF058 /* 801EF054 001EBFB4 48 12 68 DD */ bl Free__7CMemoryFPCv lbl_801EF058: /* 801EF058 001EBFB8 93 BE 00 0C */ stw r29, 0xc(r30) /* 801EF05C 001EBFBC 93 FE 00 08 */ stw r31, 8(r30) lbl_801EF060: /* 801EF060 001EBFC0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801EF064 001EBFC4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801EF068 001EBFC8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801EF06C 001EBFCC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801EF070 001EBFD0 7C 08 03 A6 */ mtlr r0 /* 801EF074 001EBFD4 38 21 00 30 */ addi r1, r1, 0x30 /* 801EF078 001EBFD8 4E 80 00 20 */ blr .global sub_801ef07c sub_801ef07c: /* 801EF07C 001EBFDC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801EF080 001EBFE0 7C 08 02 A6 */ mflr r0 /* 801EF084 001EBFE4 90 01 00 24 */ stw r0, 0x24(r1) /* 801EF088 001EBFE8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801EF08C 001EBFEC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801EF090 001EBFF0 7C BE 2B 78 */ mr r30, r5 /* 801EF094 001EBFF4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801EF098 001EBFF8 7C 9D 23 78 */ mr r29, r4 /* 801EF09C 001EBFFC 83 E3 00 00 */ lwz r31, 0(r3) /* 801EF0A0 001EC000 48 00 00 18 */ b lbl_801EF0B8 lbl_801EF0A4: /* 801EF0A4 001EC004 7F C3 F3 78 */ mr r3, r30 /* 801EF0A8 001EC008 7F E4 FB 78 */ mr r4, r31 /* 801EF0AC 001EC00C 4B FF E6 9D */ bl sub_801ed748 /* 801EF0B0 001EC010 3B DE 00 84 */ addi r30, r30, 0x84 /* 801EF0B4 001EC014 3B FF 00 84 */ addi r31, r31, 0x84 lbl_801EF0B8: /* 801EF0B8 001EC018 80 1D 00 00 */ lwz r0, 0(r29) /* 801EF0BC 001EC01C 7C 1F 00 40 */ cmplw r31, r0 /* 801EF0C0 001EC020 40 82 FF E4 */ bne lbl_801EF0A4 /* 801EF0C4 001EC024 80 01 00 24 */ lwz r0, 0x24(r1) /* 801EF0C8 001EC028 7F C3 F3 78 */ mr r3, r30 /* 801EF0CC 001EC02C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801EF0D0 001EC030 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801EF0D4 001EC034 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801EF0D8 001EC038 7C 08 03 A6 */ mtlr r0 /* 801EF0DC 001EC03C 38 21 00 20 */ addi r1, r1, 0x20 /* 801EF0E0 001EC040 4E 80 00 20 */ blr .global sub_801ef0e4 sub_801ef0e4: /* 801EF0E4 001EC044 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801EF0E8 001EC048 7C 08 02 A6 */ mflr r0 /* 801EF0EC 001EC04C 90 01 00 34 */ stw r0, 0x34(r1) /* 801EF0F0 001EC050 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801EF0F4 001EC054 7C 9F 23 78 */ mr r31, r4 /* 801EF0F8 001EC058 93 C1 00 28 */ stw r30, 0x28(r1) /* 801EF0FC 001EC05C 7C 7E 1B 78 */ mr r30, r3 /* 801EF100 001EC060 93 A1 00 24 */ stw r29, 0x24(r1) /* 801EF104 001EC064 80 03 00 08 */ lwz r0, 8(r3) /* 801EF108 001EC068 7C 1F 00 00 */ cmpw r31, r0 /* 801EF10C 001EC06C 40 81 00 C4 */ ble lbl_801EF1D0 /* 801EF110 001EC070 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b /* 801EF114 001EC074 40 82 00 0C */ bne lbl_801EF120 /* 801EF118 001EC078 3B A0 00 00 */ li r29, 0 /* 801EF11C 001EC07C 48 00 00 1C */ b lbl_801EF138 lbl_801EF120: /* 801EF120 001EC080 3C 80 80 3D */ lis r4, lbl_803D1F30@ha /* 801EF124 001EC084 38 A0 00 00 */ li r5, 0 /* 801EF128 001EC088 38 84 1F 30 */ addi r4, r4, lbl_803D1F30@l /* 801EF12C 001EC08C 38 84 00 0B */ addi r4, r4, 0xb /* 801EF130 001EC090 48 12 66 E9 */ bl __nwa__FUlPCcPCc /* 801EF134 001EC094 7C 7D 1B 78 */ mr r29, r3 lbl_801EF138: /* 801EF138 001EC098 80 1E 00 04 */ lwz r0, 4(r30) /* 801EF13C 001EC09C 7F A3 EB 78 */ mr r3, r29 /* 801EF140 001EC0A0 80 9E 00 0C */ lwz r4, 0xc(r30) /* 801EF144 001EC0A4 54 00 20 36 */ slwi r0, r0, 4 /* 801EF148 001EC0A8 7C 04 02 14 */ add r0, r4, r0 /* 801EF14C 001EC0AC 90 81 00 10 */ stw r4, 0x10(r1) /* 801EF150 001EC0B0 90 01 00 08 */ stw r0, 8(r1) /* 801EF154 001EC0B4 90 01 00 0C */ stw r0, 0xc(r1) /* 801EF158 001EC0B8 90 81 00 14 */ stw r4, 0x14(r1) /* 801EF15C 001EC0BC 48 00 00 34 */ b lbl_801EF190 lbl_801EF160: /* 801EF160 001EC0C0 28 03 00 00 */ cmplwi r3, 0 /* 801EF164 001EC0C4 41 82 00 24 */ beq lbl_801EF188 /* 801EF168 001EC0C8 C0 04 00 00 */ lfs f0, 0(r4) /* 801EF16C 001EC0CC D0 03 00 00 */ stfs f0, 0(r3) /* 801EF170 001EC0D0 C0 04 00 04 */ lfs f0, 4(r4) /* 801EF174 001EC0D4 D0 03 00 04 */ stfs f0, 4(r3) /* 801EF178 001EC0D8 C0 04 00 08 */ lfs f0, 8(r4) /* 801EF17C 001EC0DC D0 03 00 08 */ stfs f0, 8(r3) /* 801EF180 001EC0E0 C0 04 00 0C */ lfs f0, 0xc(r4) /* 801EF184 001EC0E4 D0 03 00 0C */ stfs f0, 0xc(r3) lbl_801EF188: /* 801EF188 001EC0E8 38 63 00 10 */ addi r3, r3, 0x10 /* 801EF18C 001EC0EC 38 84 00 10 */ addi r4, r4, 0x10 lbl_801EF190: /* 801EF190 001EC0F0 7C 04 00 40 */ cmplw r4, r0 /* 801EF194 001EC0F4 40 82 FF CC */ bne lbl_801EF160 /* 801EF198 001EC0F8 80 1E 00 04 */ lwz r0, 4(r30) /* 801EF19C 001EC0FC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801EF1A0 001EC100 54 00 20 36 */ slwi r0, r0, 4 /* 801EF1A4 001EC104 7C 64 1B 78 */ mr r4, r3 /* 801EF1A8 001EC108 7C 03 02 14 */ add r0, r3, r0 /* 801EF1AC 001EC10C 48 00 00 08 */ b lbl_801EF1B4 lbl_801EF1B0: /* 801EF1B0 001EC110 38 84 00 10 */ addi r4, r4, 0x10 lbl_801EF1B4: /* 801EF1B4 001EC114 7C 04 00 40 */ cmplw r4, r0 /* 801EF1B8 001EC118 40 82 FF F8 */ bne lbl_801EF1B0 /* 801EF1BC 001EC11C 28 03 00 00 */ cmplwi r3, 0 /* 801EF1C0 001EC120 41 82 00 08 */ beq lbl_801EF1C8 /* 801EF1C4 001EC124 48 12 67 6D */ bl Free__7CMemoryFPCv lbl_801EF1C8: /* 801EF1C8 001EC128 93 BE 00 0C */ stw r29, 0xc(r30) /* 801EF1CC 001EC12C 93 FE 00 08 */ stw r31, 8(r30) lbl_801EF1D0: /* 801EF1D0 001EC130 80 01 00 34 */ lwz r0, 0x34(r1) /* 801EF1D4 001EC134 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801EF1D8 001EC138 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801EF1DC 001EC13C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801EF1E0 001EC140 7C 08 03 A6 */ mtlr r0 /* 801EF1E4 001EC144 38 21 00 30 */ addi r1, r1, 0x30 /* 801EF1E8 001EC148 4E 80 00 20 */ blr .global __dt__18CScriptAiJumpPointFv __dt__18CScriptAiJumpPointFv: /* 801EF1EC 001EC14C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801EF1F0 001EC150 7C 08 02 A6 */ mflr r0 /* 801EF1F4 001EC154 90 01 00 14 */ stw r0, 0x14(r1) /* 801EF1F8 001EC158 93 E1 00 0C */ stw r31, 0xc(r1) /* 801EF1FC 001EC15C 7C 9F 23 78 */ mr r31, r4 /* 801EF200 001EC160 93 C1 00 08 */ stw r30, 8(r1) /* 801EF204 001EC164 7C 7E 1B 79 */ or. r30, r3, r3 /* 801EF208 001EC168 41 82 00 3C */ beq lbl_801EF244 /* 801EF20C 001EC16C 3C 60 80 3E */ lis r3, lbl_803E6398@ha /* 801EF210 001EC170 34 1E 00 EC */ addic. r0, r30, 0xec /* 801EF214 001EC174 38 03 63 98 */ addi r0, r3, lbl_803E6398@l /* 801EF218 001EC178 90 1E 00 00 */ stw r0, 0(r30) /* 801EF21C 001EC17C 41 82 00 0C */ beq lbl_801EF228 /* 801EF220 001EC180 38 00 00 00 */ li r0, 0 /* 801EF224 001EC184 98 1E 01 04 */ stb r0, 0x104(r30) lbl_801EF228: /* 801EF228 001EC188 7F C3 F3 78 */ mr r3, r30 /* 801EF22C 001EC18C 38 80 00 00 */ li r4, 0 /* 801EF230 001EC190 4B E6 64 C1 */ bl __dt__6CActorFv /* 801EF234 001EC194 7F E0 07 35 */ extsh. r0, r31 /* 801EF238 001EC198 40 81 00 0C */ ble lbl_801EF244 /* 801EF23C 001EC19C 7F C3 F3 78 */ mr r3, r30 /* 801EF240 001EC1A0 48 12 66 F1 */ bl Free__7CMemoryFPCv lbl_801EF244: /* 801EF244 001EC1A4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801EF248 001EC1A8 7F C3 F3 78 */ mr r3, r30 /* 801EF24C 001EC1AC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801EF250 001EC1B0 83 C1 00 08 */ lwz r30, 8(r1) /* 801EF254 001EC1B4 7C 08 03 A6 */ mtlr r0 /* 801EF258 001EC1B8 38 21 00 10 */ addi r1, r1, 0x10 /* 801EF25C 001EC1BC 4E 80 00 20 */ blr .global GetTouchBounds__18CScriptAiJumpPointCFv GetTouchBounds__18CScriptAiJumpPointCFv: /* 801EF260 001EC1C0 88 04 01 04 */ lbz r0, 0x104(r4) /* 801EF264 001EC1C4 98 03 00 18 */ stb r0, 0x18(r3) /* 801EF268 001EC1C8 88 04 01 04 */ lbz r0, 0x104(r4) /* 801EF26C 001EC1CC 28 00 00 00 */ cmplwi r0, 0 /* 801EF270 001EC1D0 4D 82 00 20 */ beqlr /* 801EF274 001EC1D4 28 03 00 00 */ cmplwi r3, 0 /* 801EF278 001EC1D8 4D 82 00 20 */ beqlr /* 801EF27C 001EC1DC C0 04 00 EC */ lfs f0, 0xec(r4) /* 801EF280 001EC1E0 D0 03 00 00 */ stfs f0, 0(r3) /* 801EF284 001EC1E4 C0 04 00 F0 */ lfs f0, 0xf0(r4) /* 801EF288 001EC1E8 D0 03 00 04 */ stfs f0, 4(r3) /* 801EF28C 001EC1EC C0 04 00 F4 */ lfs f0, 0xf4(r4) /* 801EF290 001EC1F0 D0 03 00 08 */ stfs f0, 8(r3) /* 801EF294 001EC1F4 C0 04 00 F8 */ lfs f0, 0xf8(r4) /* 801EF298 001EC1F8 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801EF29C 001EC1FC C0 04 00 FC */ lfs f0, 0xfc(r4) /* 801EF2A0 001EC200 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801EF2A4 001EC204 C0 04 01 00 */ lfs f0, 0x100(r4) /* 801EF2A8 001EC208 D0 03 00 14 */ stfs f0, 0x14(r3) /* 801EF2AC 001EC20C 4E 80 00 20 */ blr .global Render__18CScriptAiJumpPointCFRC13CStateManager Render__18CScriptAiJumpPointCFRC13CStateManager: /* 801EF2B0 001EC210 4E 80 00 20 */ blr .global AddToRenderer__18CScriptAiJumpPointCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__18CScriptAiJumpPointCFRC14CFrustumPlanesRC13CStateManager: /* 801EF2B4 001EC214 4E 80 00 20 */ blr .global Think__18CScriptAiJumpPointFfR13CStateManager Think__18CScriptAiJumpPointFfR13CStateManager: /* 801EF2B8 001EC218 C0 43 01 10 */ lfs f2, 0x110(r3) /* 801EF2BC 001EC21C C0 02 AE 40 */ lfs f0, lbl_805ACB60@sda21(r2) /* 801EF2C0 001EC220 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801EF2C4 001EC224 4C 81 00 20 */ blelr /* 801EF2C8 001EC228 EC 02 08 28 */ fsubs f0, f2, f1 /* 801EF2CC 001EC22C D0 03 01 10 */ stfs f0, 0x110(r3) /* 801EF2D0 001EC230 4E 80 00 20 */ blr .global GetInUse__18CScriptAiJumpPointCF9TUniqueId GetInUse__18CScriptAiJumpPointCF9TUniqueId: /* 801EF2D4 001EC234 88 03 01 08 */ lbz r0, 0x108(r3) /* 801EF2D8 001EC238 38 A0 00 00 */ li r5, 0 /* 801EF2DC 001EC23C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801EF2E0 001EC240 40 82 00 38 */ bne lbl_801EF318 /* 801EF2E4 001EC244 C0 23 01 10 */ lfs f1, 0x110(r3) /* 801EF2E8 001EC248 C0 02 AE 40 */ lfs f0, lbl_805ACB60@sda21(r2) /* 801EF2EC 001EC24C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EF2F0 001EC250 41 81 00 28 */ bgt lbl_801EF318 /* 801EF2F4 001EC254 A0 C3 01 0A */ lhz r6, 0x10a(r3) /* 801EF2F8 001EC258 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 801EF2FC 001EC25C 7C 06 18 40 */ cmplw r6, r3 /* 801EF300 001EC260 41 82 00 1C */ beq lbl_801EF31C /* 801EF304 001EC264 A0 04 00 00 */ lhz r0, 0(r4) /* 801EF308 001EC268 7C 00 18 40 */ cmplw r0, r3 /* 801EF30C 001EC26C 41 82 00 10 */ beq lbl_801EF31C /* 801EF310 001EC270 7C 00 30 40 */ cmplw r0, r6 /* 801EF314 001EC274 41 82 00 08 */ beq lbl_801EF31C lbl_801EF318: /* 801EF318 001EC278 38 A0 00 01 */ li r5, 1 lbl_801EF31C: /* 801EF31C 001EC27C 7C A3 2B 78 */ mr r3, r5 /* 801EF320 001EC280 4E 80 00 20 */ blr .global AcceptScriptMsg__18CScriptAiJumpPointF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__18CScriptAiJumpPointF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801EF324 001EC284 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801EF328 001EC288 7C 08 02 A6 */ mflr r0 /* 801EF32C 001EC28C 90 01 00 44 */ stw r0, 0x44(r1) /* 801EF330 001EC290 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801EF334 001EC294 7C 7F 1B 78 */ mr r31, r3 /* 801EF338 001EC298 93 C1 00 38 */ stw r30, 0x38(r1) /* 801EF33C 001EC29C 7C 9E 23 78 */ mr r30, r4 /* 801EF340 001EC2A0 93 A1 00 34 */ stw r29, 0x34(r1) /* 801EF344 001EC2A4 7C DD 33 78 */ mr r29, r6 /* 801EF348 001EC2A8 A0 05 00 00 */ lhz r0, 0(r5) /* 801EF34C 001EC2AC 38 A1 00 14 */ addi r5, r1, 0x14 /* 801EF350 001EC2B0 B0 01 00 14 */ sth r0, 0x14(r1) /* 801EF354 001EC2B4 4B E6 42 C1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801EF358 001EC2B8 2C 1E 00 23 */ cmpwi r30, 0x23 /* 801EF35C 001EC2BC 41 82 00 08 */ beq lbl_801EF364 /* 801EF360 001EC2C0 48 00 00 A8 */ b lbl_801EF408 lbl_801EF364: /* 801EF364 001EC2C4 83 DF 00 2C */ lwz r30, 0x2c(r31) /* 801EF368 001EC2C8 48 00 00 88 */ b lbl_801EF3F0 lbl_801EF36C: /* 801EF36C 001EC2CC 80 1E 00 00 */ lwz r0, 0(r30) /* 801EF370 001EC2D0 2C 00 00 01 */ cmpwi r0, 1 /* 801EF374 001EC2D4 40 82 00 78 */ bne lbl_801EF3EC /* 801EF378 001EC2D8 80 1E 00 04 */ lwz r0, 4(r30) /* 801EF37C 001EC2DC 2C 00 00 08 */ cmpwi r0, 8 /* 801EF380 001EC2E0 40 82 00 6C */ bne lbl_801EF3EC /* 801EF384 001EC2E4 80 1E 00 08 */ lwz r0, 8(r30) /* 801EF388 001EC2E8 7F A4 EB 78 */ mr r4, r29 /* 801EF38C 001EC2EC 38 61 00 10 */ addi r3, r1, 0x10 /* 801EF390 001EC2F0 38 A1 00 1C */ addi r5, r1, 0x1c /* 801EF394 001EC2F4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801EF398 001EC2F8 4B E5 8B 85 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801EF39C 001EC2FC A0 01 00 10 */ lhz r0, 0x10(r1) /* 801EF3A0 001EC300 7F A3 EB 78 */ mr r3, r29 /* 801EF3A4 001EC304 38 81 00 0C */ addi r4, r1, 0xc /* 801EF3A8 001EC308 B0 01 00 18 */ sth r0, 0x18(r1) /* 801EF3AC 001EC30C B0 01 00 0C */ sth r0, 0xc(r1) /* 801EF3B0 001EC310 4B E5 D1 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801EF3B4 001EC314 7C 64 1B 78 */ mr r4, r3 /* 801EF3B8 001EC318 38 61 00 20 */ addi r3, r1, 0x20 /* 801EF3BC 001EC31C 4B EB 71 91 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801EF3C0 001EC320 80 83 00 04 */ lwz r4, 4(r3) /* 801EF3C4 001EC324 28 04 00 00 */ cmplwi r4, 0 /* 801EF3C8 001EC328 41 82 00 24 */ beq lbl_801EF3EC /* 801EF3CC 001EC32C A0 01 00 18 */ lhz r0, 0x18(r1) /* 801EF3D0 001EC330 7F A5 EB 78 */ mr r5, r29 /* 801EF3D4 001EC334 38 61 00 08 */ addi r3, r1, 8 /* 801EF3D8 001EC338 B0 1F 01 0C */ sth r0, 0x10c(r31) /* 801EF3DC 001EC33C 4B E8 7D 59 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801EF3E0 001EC340 A0 01 00 08 */ lhz r0, 8(r1) /* 801EF3E4 001EC344 B0 1F 01 0E */ sth r0, 0x10e(r31) /* 801EF3E8 001EC348 48 00 00 20 */ b lbl_801EF408 lbl_801EF3EC: /* 801EF3EC 001EC34C 3B DE 00 0C */ addi r30, r30, 0xc lbl_801EF3F0: /* 801EF3F0 001EC350 80 1F 00 24 */ lwz r0, 0x24(r31) /* 801EF3F4 001EC354 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 801EF3F8 001EC358 1C 00 00 0C */ mulli r0, r0, 0xc /* 801EF3FC 001EC35C 7C 03 02 14 */ add r0, r3, r0 /* 801EF400 001EC360 7C 1E 00 40 */ cmplw r30, r0 /* 801EF404 001EC364 40 82 FF 68 */ bne lbl_801EF36C lbl_801EF408: /* 801EF408 001EC368 80 01 00 44 */ lwz r0, 0x44(r1) /* 801EF40C 001EC36C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801EF410 001EC370 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801EF414 001EC374 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801EF418 001EC378 7C 08 03 A6 */ mtlr r0 /* 801EF41C 001EC37C 38 21 00 40 */ addi r1, r1, 0x40 /* 801EF420 001EC380 4E 80 00 20 */ blr .global Accept__18CScriptAiJumpPointFR8IVisitor Accept__18CScriptAiJumpPointFR8IVisitor: /* 801EF424 001EC384 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801EF428 001EC388 7C 08 02 A6 */ mflr r0 /* 801EF42C 001EC38C 90 01 00 14 */ stw r0, 0x14(r1) /* 801EF430 001EC390 7C 60 1B 78 */ mr r0, r3 /* 801EF434 001EC394 7C 83 23 78 */ mr r3, r4 /* 801EF438 001EC398 81 84 00 00 */ lwz r12, 0(r4) /* 801EF43C 001EC39C 7C 04 03 78 */ mr r4, r0 /* 801EF440 001EC3A0 81 8C 00 64 */ lwz r12, 0x64(r12) /* 801EF444 001EC3A4 7D 89 03 A6 */ mtctr r12 /* 801EF448 001EC3A8 4E 80 04 21 */ bctrl /* 801EF44C 001EC3AC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801EF450 001EC3B0 7C 08 03 A6 */ mtlr r0 /* 801EF454 001EC3B4 38 21 00 10 */ addi r1, r1, 0x10 /* 801EF458 001EC3B8 4E 80 00 20 */ blr .global "__ct__18CScriptAiJumpPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbf" "__ct__18CScriptAiJumpPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbf": /* 801EF45C 001EC3BC 94 21 FE D0 */ stwu r1, -0x130(r1) /* 801EF460 001EC3C0 7C 08 02 A6 */ mflr r0 /* 801EF464 001EC3C4 90 01 01 34 */ stw r0, 0x134(r1) /* 801EF468 001EC3C8 DB E1 01 20 */ stfd f31, 0x120(r1) /* 801EF46C 001EC3CC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 801EF470 001EC3D0 BF 41 01 08 */ stmw r26, 0x108(r1) /* 801EF474 001EC3D4 FF E0 08 90 */ fmr f31, f1 /* 801EF478 001EC3D8 7C 7F 1B 78 */ mr r31, r3 /* 801EF47C 001EC3DC 7C 9A 23 78 */ mr r26, r4 /* 801EF480 001EC3E0 7C BB 2B 78 */ mr r27, r5 /* 801EF484 001EC3E4 7C DC 33 78 */ mr r28, r6 /* 801EF488 001EC3E8 7C FD 3B 78 */ mr r29, r7 /* 801EF48C 001EC3EC 7D 1E 43 78 */ mr r30, r8 /* 801EF490 001EC3F0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801EF494 001EC3F4 4B E4 B3 11 */ bl CModelDataNull__10CModelDataFv /* 801EF498 001EC3F8 38 61 00 50 */ addi r3, r1, 0x50 /* 801EF49C 001EC3FC 4B E2 B9 9D */ bl None__16CActorParametersFv /* 801EF4A0 001EC400 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801EF4A4 001EC404 38 00 00 00 */ li r0, 0 /* 801EF4A8 001EC408 80 AD 92 68 */ lwz r5, lbl_805A7E28@sda21(r13) /* 801EF4AC 001EC40C 38 60 00 00 */ li r3, 0 /* 801EF4B0 001EC410 B0 81 00 10 */ sth r4, 0x10(r1) /* 801EF4B4 001EC414 38 80 00 01 */ li r4, 1 /* 801EF4B8 001EC418 90 01 00 1C */ stw r0, 0x1c(r1) /* 801EF4BC 001EC41C 90 01 00 18 */ stw r0, 0x18(r1) /* 801EF4C0 001EC420 48 19 AA 35 */ bl __shl2i /* 801EF4C4 001EC424 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801EF4C8 001EC428 39 61 00 50 */ addi r11, r1, 0x50 /* 801EF4CC 001EC42C 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 801EF4D0 001EC430 38 01 00 10 */ addi r0, r1, 0x10 /* 801EF4D4 001EC434 7C A3 1B 78 */ or r3, r5, r3 /* 801EF4D8 001EC438 A1 3A 00 00 */ lhz r9, 0(r26) /* 801EF4DC 001EC43C 7C C4 23 78 */ or r4, r6, r4 /* 801EF4E0 001EC440 90 61 00 18 */ stw r3, 0x18(r1) /* 801EF4E4 001EC444 7F E3 FB 78 */ mr r3, r31 /* 801EF4E8 001EC448 7F C5 F3 78 */ mr r5, r30 /* 801EF4EC 001EC44C 90 81 00 1C */ stw r4, 0x1c(r1) /* 801EF4F0 001EC450 7F 66 DB 78 */ mr r6, r27 /* 801EF4F4 001EC454 7F 87 E3 78 */ mr r7, r28 /* 801EF4F8 001EC458 7F A8 EB 78 */ mr r8, r29 /* 801EF4FC 001EC45C B1 21 00 14 */ sth r9, 0x14(r1) /* 801EF500 001EC460 38 81 00 14 */ addi r4, r1, 0x14 /* 801EF504 001EC464 39 21 00 B8 */ addi r9, r1, 0xb8 /* 801EF508 001EC468 39 41 00 18 */ addi r10, r1, 0x18 /* 801EF50C 001EC46C 91 61 00 08 */ stw r11, 8(r1) /* 801EF510 001EC470 90 01 00 0C */ stw r0, 0xc(r1) /* 801EF514 001EC474 4B E6 63 0D */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801EF518 001EC478 38 61 00 50 */ addi r3, r1, 0x50 /* 801EF51C 001EC47C 38 80 FF FF */ li r4, -1 /* 801EF520 001EC480 4B F1 70 E9 */ bl __dt__16CActorParametersFv /* 801EF524 001EC484 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801EF528 001EC488 38 80 FF FF */ li r4, -1 /* 801EF52C 001EC48C 4B F2 75 21 */ bl __dt__10CModelDataFv /* 801EF530 001EC490 3C 80 80 3E */ lis r4, lbl_803E6398@ha /* 801EF534 001EC494 38 61 00 38 */ addi r3, r1, 0x38 /* 801EF538 001EC498 38 04 63 98 */ addi r0, r4, lbl_803E6398@l /* 801EF53C 001EC49C 38 81 00 2C */ addi r4, r1, 0x2c /* 801EF540 001EC4A0 90 1F 00 00 */ stw r0, 0(r31) /* 801EF544 001EC4A4 38 A1 00 20 */ addi r5, r1, 0x20 /* 801EF548 001EC4A8 D3 FF 00 E8 */ stfs f31, 0xe8(r31) /* 801EF54C 001EC4AC C0 5D 00 2C */ lfs f2, 0x2c(r29) /* 801EF550 001EC4B0 C0 3D 00 1C */ lfs f1, 0x1c(r29) /* 801EF554 001EC4B4 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 801EF558 001EC4B8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801EF55C 001EC4BC D0 01 00 20 */ stfs f0, 0x20(r1) /* 801EF560 001EC4C0 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801EF564 001EC4C4 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801EF568 001EC4C8 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801EF56C 001EC4CC D0 41 00 34 */ stfs f2, 0x34(r1) /* 801EF570 001EC4D0 48 14 8F 99 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801EF574 001EC4D4 38 00 00 01 */ li r0, 1 /* 801EF578 001EC4D8 34 7F 00 EC */ addic. r3, r31, 0xec /* 801EF57C 001EC4DC 98 1F 01 04 */ stb r0, 0x104(r31) /* 801EF580 001EC4E0 41 82 00 34 */ beq lbl_801EF5B4 /* 801EF584 001EC4E4 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801EF588 001EC4E8 D0 03 00 00 */ stfs f0, 0(r3) /* 801EF58C 001EC4EC C0 01 00 3C */ lfs f0, 0x3c(r1) /* 801EF590 001EC4F0 D0 03 00 04 */ stfs f0, 4(r3) /* 801EF594 001EC4F4 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801EF598 001EC4F8 D0 03 00 08 */ stfs f0, 8(r3) /* 801EF59C 001EC4FC C0 01 00 44 */ lfs f0, 0x44(r1) /* 801EF5A0 001EC500 D0 03 00 0C */ stfs f0, 0xc(r3) /* 801EF5A4 001EC504 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801EF5A8 001EC508 D0 03 00 10 */ stfs f0, 0x10(r3) /* 801EF5AC 001EC50C C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801EF5B0 001EC510 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_801EF5B4: /* 801EF5B4 001EC514 88 1F 01 08 */ lbz r0, 0x108(r31) /* 801EF5B8 001EC518 38 60 00 00 */ li r3, 0 /* 801EF5BC 001EC51C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801EF5C0 001EC520 C0 02 AE 40 */ lfs f0, lbl_805ACB60@sda21(r2) /* 801EF5C4 001EC524 98 1F 01 08 */ stb r0, 0x108(r31) /* 801EF5C8 001EC528 7F E3 FB 78 */ mr r3, r31 /* 801EF5CC 001EC52C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801EF5D0 001EC530 B0 1F 01 0A */ sth r0, 0x10a(r31) /* 801EF5D4 001EC534 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801EF5D8 001EC538 B0 1F 01 0C */ sth r0, 0x10c(r31) /* 801EF5DC 001EC53C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801EF5E0 001EC540 B0 1F 01 0E */ sth r0, 0x10e(r31) /* 801EF5E4 001EC544 D0 1F 01 10 */ stfs f0, 0x110(r31) /* 801EF5E8 001EC548 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 801EF5EC 001EC54C CB E1 01 20 */ lfd f31, 0x120(r1) /* 801EF5F0 001EC550 BB 41 01 08 */ lmw r26, 0x108(r1) /* 801EF5F4 001EC554 80 01 01 34 */ lwz r0, 0x134(r1) /* 801EF5F8 001EC558 7C 08 03 A6 */ mtlr r0 /* 801EF5FC 001EC55C 38 21 01 30 */ addi r1, r1, 0x130 /* 801EF600 001EC560 4E 80 00 20 */ blr .global Draw__14CMessageScreenCFv Draw__14CMessageScreenCFv: /* 801EF604 001EC564 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801EF608 001EC568 7C 08 02 A6 */ mflr r0 /* 801EF60C 001EC56C 90 01 00 24 */ stw r0, 0x24(r1) /* 801EF610 001EC570 80 03 00 18 */ lwz r0, 0x18(r3) /* 801EF614 001EC574 28 00 00 00 */ cmplwi r0, 0 /* 801EF618 001EC578 41 82 00 38 */ beq lbl_801EF650 /* 801EF61C 001EC57C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801EF620 001EC580 C0 63 00 70 */ lfs f3, 0x70(r3) /* 801EF624 001EC584 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 801EF628 001EC588 7C 03 03 78 */ mr r3, r0 /* 801EF62C 001EC58C C0 45 00 00 */ lfs f2, 0(r5) /* 801EF630 001EC590 38 81 00 08 */ addi r4, r1, 8 /* 801EF634 001EC594 C0 25 00 04 */ lfs f1, 4(r5) /* 801EF638 001EC598 C0 05 00 08 */ lfs f0, 8(r5) /* 801EF63C 001EC59C D0 61 00 08 */ stfs f3, 8(r1) /* 801EF640 001EC5A0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801EF644 001EC5A4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801EF648 001EC5A8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801EF64C 001EC5AC 48 0D 30 E9 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms lbl_801EF650: /* 801EF650 001EC5B0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801EF654 001EC5B4 7C 08 03 A6 */ mtlr r0 /* 801EF658 001EC5B8 38 21 00 20 */ addi r1, r1, 0x20 /* 801EF65C 001EC5BC 4E 80 00 20 */ blr .global ProcessControllerInput__14CMessageScreenFRC11CFinalInput ProcessControllerInput__14CMessageScreenFRC11CFinalInput: /* 801EF660 001EC5C0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801EF664 001EC5C4 7C 08 02 A6 */ mflr r0 /* 801EF668 001EC5C8 90 01 00 44 */ stw r0, 0x44(r1) /* 801EF66C 001EC5CC DB E1 00 30 */ stfd f31, 0x30(r1) /* 801EF670 001EC5D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801EF674 001EC5D4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801EF678 001EC5D8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801EF67C 001EC5DC 7C 7E 1B 78 */ mr r30, r3 /* 801EF680 001EC5E0 80 03 00 18 */ lwz r0, 0x18(r3) /* 801EF684 001EC5E4 28 00 00 00 */ cmplwi r0, 0 /* 801EF688 001EC5E8 41 82 00 FC */ beq lbl_801EF784 /* 801EF68C 001EC5EC C0 3E 00 74 */ lfs f1, 0x74(r30) /* 801EF690 001EC5F0 C0 02 AE 48 */ lfs f0, lbl_805ACB68@sda21(r2) /* 801EF694 001EC5F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EF698 001EC5F8 4C 40 13 82 */ cror 2, 0, 2 /* 801EF69C 001EC5FC 40 82 00 E8 */ bne lbl_801EF784 /* 801EF6A0 001EC600 88 04 00 2D */ lbz r0, 0x2d(r4) /* 801EF6A4 001EC604 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801EF6A8 001EC608 41 82 00 DC */ beq lbl_801EF784 /* 801EF6AC 001EC60C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 801EF6B0 001EC610 3B E3 00 D4 */ addi r31, r3, 0xd4 /* 801EF6B4 001EC614 C3 E3 01 10 */ lfs f31, 0x110(r3) /* 801EF6B8 001EC618 7F E3 FB 78 */ mr r3, r31 /* 801EF6BC 001EC61C 48 0D 89 ED */ bl GetTotalAnimationTime__15CGuiTextSupportCFv /* 801EF6C0 001EC620 FC 1F 08 40 */ fcmpo cr0, f31, f1 /* 801EF6C4 001EC624 40 80 00 14 */ bge lbl_801EF6D8 /* 801EF6C8 001EC628 7F E3 FB 78 */ mr r3, r31 /* 801EF6CC 001EC62C 48 0D 89 DD */ bl GetTotalAnimationTime__15CGuiTextSupportCFv /* 801EF6D0 001EC630 D0 3F 00 3C */ stfs f1, 0x3c(r31) /* 801EF6D4 001EC634 48 00 00 B0 */ b lbl_801EF784 lbl_801EF6D8: /* 801EF6D8 001EC638 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801EF6DC 001EC63C 38 03 00 01 */ addi r0, r3, 1 /* 801EF6E0 001EC640 90 1E 00 6C */ stw r0, 0x6c(r30) /* 801EF6E4 001EC644 80 7E 00 08 */ lwz r3, 8(r30) /* 801EF6E8 001EC648 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 801EF6EC 001EC64C 80 03 00 00 */ lwz r0, 0(r3) /* 801EF6F0 001EC650 7C 04 00 00 */ cmpw r4, r0 /* 801EF6F4 001EC654 41 80 00 18 */ blt lbl_801EF70C /* 801EF6F8 001EC658 88 1E 00 78 */ lbz r0, 0x78(r30) /* 801EF6FC 001EC65C 38 60 00 01 */ li r3, 1 /* 801EF700 001EC660 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801EF704 001EC664 98 1E 00 78 */ stb r0, 0x78(r30) /* 801EF708 001EC668 48 00 00 7C */ b lbl_801EF784 lbl_801EF70C: /* 801EF70C 001EC66C C0 22 AE 4C */ lfs f1, lbl_805ACB6C@sda21(r2) /* 801EF710 001EC670 7F E3 FB 78 */ mr r3, r31 /* 801EF714 001EC674 C0 42 AE 50 */ lfs f2, lbl_805ACB70@sda21(r2) /* 801EF718 001EC678 38 80 00 00 */ li r4, 0 /* 801EF71C 001EC67C 48 0D 89 FD */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 801EF720 001EC680 80 7E 00 08 */ lwz r3, 8(r30) /* 801EF724 001EC684 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 801EF728 001EC688 48 16 6F D5 */ bl GetString__12CStringTableCFi /* 801EF72C 001EC68C 7C 64 1B 78 */ mr r4, r3 /* 801EF730 001EC690 38 61 00 10 */ addi r3, r1, 0x10 /* 801EF734 001EC694 38 C1 00 08 */ addi r6, r1, 8 /* 801EF738 001EC698 38 A0 FF FF */ li r5, -1 /* 801EF73C 001EC69C 48 14 E0 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 801EF740 001EC6A0 7F E3 FB 78 */ mr r3, r31 /* 801EF744 001EC6A4 38 81 00 10 */ addi r4, r1, 0x10 /* 801EF748 001EC6A8 38 A0 00 00 */ li r5, 0 /* 801EF74C 001EC6AC 48 0D A1 39 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801EF750 001EC6B0 38 61 00 10 */ addi r3, r1, 0x10 /* 801EF754 001EC6B4 48 14 D9 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801EF758 001EC6B8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 801EF75C 001EC6BC 38 61 00 0C */ addi r3, r1, 0xc /* 801EF760 001EC6C0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801EF764 001EC6C4 38 80 05 8D */ li r4, 0x58d /* 801EF768 001EC6C8 38 A0 00 7F */ li r5, 0x7f /* 801EF76C 001EC6CC 38 C0 00 40 */ li r6, 0x40 /* 801EF770 001EC6D0 38 E0 00 00 */ li r7, 0 /* 801EF774 001EC6D4 39 20 00 00 */ li r9, 0 /* 801EF778 001EC6D8 48 0F A5 FD */ bl SfxStart__11CSfxManagerFUsssbsbi /* 801EF77C 001EC6DC C0 02 AE 54 */ lfs f0, lbl_805ACB74@sda21(r2) /* 801EF780 001EC6E0 D0 1E 00 74 */ stfs f0, 0x74(r30) lbl_801EF784: /* 801EF784 001EC6E4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801EF788 001EC6E8 80 01 00 44 */ lwz r0, 0x44(r1) /* 801EF78C 001EC6EC CB E1 00 30 */ lfd f31, 0x30(r1) /* 801EF790 001EC6F0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801EF794 001EC6F4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801EF798 001EC6F8 7C 08 03 A6 */ mtlr r0 /* 801EF79C 001EC6FC 38 21 00 40 */ addi r1, r1, 0x40 /* 801EF7A0 001EC700 4E 80 00 20 */ blr .global Update__14CMessageScreenFf Update__14CMessageScreenFf: /* 801EF7A4 001EC704 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 801EF7A8 001EC708 7C 08 02 A6 */ mflr r0 /* 801EF7AC 001EC70C 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 801EF7B0 001EC710 DB E1 01 90 */ stfd f31, 0x190(r1) /* 801EF7B4 001EC714 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 801EF7B8 001EC718 DB C1 01 80 */ stfd f30, 0x180(r1) /* 801EF7BC 001EC71C F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 801EF7C0 001EC720 DB A1 01 70 */ stfd f29, 0x170(r1) /* 801EF7C4 001EC724 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 801EF7C8 001EC728 DB 81 01 60 */ stfd f28, 0x160(r1) /* 801EF7CC 001EC72C F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 /* 801EF7D0 001EC730 DB 61 01 50 */ stfd f27, 0x150(r1) /* 801EF7D4 001EC734 F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 /* 801EF7D8 001EC738 DB 41 01 40 */ stfd f26, 0x140(r1) /* 801EF7DC 001EC73C F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 /* 801EF7E0 001EC740 93 E1 01 3C */ stw r31, 0x13c(r1) /* 801EF7E4 001EC744 93 C1 01 38 */ stw r30, 0x138(r1) /* 801EF7E8 001EC748 7C 7F 1B 78 */ mr r31, r3 /* 801EF7EC 001EC74C FF 40 08 90 */ fmr f26, f1 /* 801EF7F0 001EC750 D0 43 00 70 */ stfs f2, 0x70(r3) /* 801EF7F4 001EC754 80 03 00 18 */ lwz r0, 0x18(r3) /* 801EF7F8 001EC758 28 00 00 00 */ cmplwi r0, 0 /* 801EF7FC 001EC75C 40 82 03 5C */ bne lbl_801EFB58 /* 801EF800 001EC760 80 1F 00 14 */ lwz r0, 0x14(r31) /* 801EF804 001EC764 28 00 00 00 */ cmplwi r0, 0 /* 801EF808 001EC768 41 82 00 0C */ beq lbl_801EF814 /* 801EF80C 001EC76C 38 60 00 01 */ li r3, 1 /* 801EF810 001EC770 48 00 00 3C */ b lbl_801EF84C lbl_801EF814: /* 801EF814 001EC774 88 1F 00 10 */ lbz r0, 0x10(r31) /* 801EF818 001EC778 28 00 00 00 */ cmplwi r0, 0 /* 801EF81C 001EC77C 41 82 00 2C */ beq lbl_801EF848 /* 801EF820 001EC780 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801EF824 001EC784 80 03 00 10 */ lwz r0, 0x10(r3) /* 801EF828 001EC788 28 00 00 00 */ cmplwi r0, 0 /* 801EF82C 001EC78C 41 82 00 1C */ beq lbl_801EF848 /* 801EF830 001EC790 38 7F 00 0C */ addi r3, r31, 0xc /* 801EF834 001EC794 48 15 15 D9 */ bl GetObj__6CTokenFv /* 801EF838 001EC798 80 03 00 04 */ lwz r0, 4(r3) /* 801EF83C 001EC79C 38 60 00 01 */ li r3, 1 /* 801EF840 001EC7A0 90 1F 00 14 */ stw r0, 0x14(r31) /* 801EF844 001EC7A4 48 00 00 08 */ b lbl_801EF84C lbl_801EF848: /* 801EF848 001EC7A8 38 60 00 00 */ li r3, 0 lbl_801EF84C: /* 801EF84C 001EC7AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EF850 001EC7B0 41 82 00 50 */ beq lbl_801EF8A0 /* 801EF854 001EC7B4 80 1F 00 08 */ lwz r0, 8(r31) /* 801EF858 001EC7B8 28 00 00 00 */ cmplwi r0, 0 /* 801EF85C 001EC7BC 41 82 00 0C */ beq lbl_801EF868 /* 801EF860 001EC7C0 38 60 00 01 */ li r3, 1 /* 801EF864 001EC7C4 48 00 00 3C */ b lbl_801EF8A0 lbl_801EF868: /* 801EF868 001EC7C8 88 1F 00 04 */ lbz r0, 4(r31) /* 801EF86C 001EC7CC 28 00 00 00 */ cmplwi r0, 0 /* 801EF870 001EC7D0 41 82 00 2C */ beq lbl_801EF89C /* 801EF874 001EC7D4 80 7F 00 00 */ lwz r3, 0(r31) /* 801EF878 001EC7D8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801EF87C 001EC7DC 28 00 00 00 */ cmplwi r0, 0 /* 801EF880 001EC7E0 41 82 00 1C */ beq lbl_801EF89C /* 801EF884 001EC7E4 7F E3 FB 78 */ mr r3, r31 /* 801EF888 001EC7E8 48 15 15 85 */ bl GetObj__6CTokenFv /* 801EF88C 001EC7EC 80 03 00 04 */ lwz r0, 4(r3) /* 801EF890 001EC7F0 38 60 00 01 */ li r3, 1 /* 801EF894 001EC7F4 90 1F 00 08 */ stw r0, 8(r31) /* 801EF898 001EC7F8 48 00 00 08 */ b lbl_801EF8A0 lbl_801EF89C: /* 801EF89C 001EC7FC 38 60 00 00 */ li r3, 0 lbl_801EF8A0: /* 801EF8A0 001EC800 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801EF8A4 001EC804 41 82 02 B4 */ beq lbl_801EFB58 /* 801EF8A8 001EC808 80 1F 00 14 */ lwz r0, 0x14(r31) /* 801EF8AC 001EC80C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8B0 001EC810 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8B4 001EC814 90 1F 00 18 */ stw r0, 0x18(r31) /* 801EF8B8 001EC818 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF8BC 001EC81C 48 0D 28 99 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF8C0 001EC820 90 7F 00 1C */ stw r3, 0x1c(r31) /* 801EF8C4 001EC824 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8C8 001EC828 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8CC 001EC82C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF8D0 001EC830 38 84 00 11 */ addi r4, r4, 0x11 /* 801EF8D4 001EC834 48 0D 28 81 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF8D8 001EC838 90 7F 00 20 */ stw r3, 0x20(r31) /* 801EF8DC 001EC83C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8E0 001EC840 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8E4 001EC844 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF8E8 001EC848 38 84 00 20 */ addi r4, r4, 0x20 /* 801EF8EC 001EC84C 48 0D 28 69 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF8F0 001EC850 90 7F 00 24 */ stw r3, 0x24(r31) /* 801EF8F4 001EC854 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF8F8 001EC858 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF8FC 001EC85C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF900 001EC860 38 84 00 32 */ addi r4, r4, 0x32 /* 801EF904 001EC864 48 0D 28 51 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF908 001EC868 90 7F 00 28 */ stw r3, 0x28(r31) /* 801EF90C 001EC86C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF910 001EC870 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF914 001EC874 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF918 001EC878 38 84 00 44 */ addi r4, r4, 0x44 /* 801EF91C 001EC87C 48 0D 28 39 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF920 001EC880 90 7F 00 2C */ stw r3, 0x2c(r31) /* 801EF924 001EC884 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF928 001EC888 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF92C 001EC88C 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF930 001EC890 38 84 00 52 */ addi r4, r4, 0x52 /* 801EF934 001EC894 48 0D 28 21 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF938 001EC898 90 7F 00 30 */ stw r3, 0x30(r31) /* 801EF93C 001EC89C 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF940 001EC8A0 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF944 001EC8A4 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF948 001EC8A8 38 84 00 5C */ addi r4, r4, 0x5c /* 801EF94C 001EC8AC 48 0D 28 09 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF950 001EC8B0 90 7F 00 38 */ stw r3, 0x38(r31) /* 801EF954 001EC8B4 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF958 001EC8B8 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF95C 001EC8BC 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF960 001EC8C0 38 84 00 69 */ addi r4, r4, 0x69 /* 801EF964 001EC8C4 48 0D 27 F1 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF968 001EC8C8 90 7F 00 34 */ stw r3, 0x34(r31) /* 801EF96C 001EC8CC 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF970 001EC8D0 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF974 001EC8D4 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF978 001EC8D8 38 84 00 76 */ addi r4, r4, 0x76 /* 801EF97C 001EC8DC 48 0D 27 D9 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF980 001EC8E0 90 7F 00 3C */ stw r3, 0x3c(r31) /* 801EF984 001EC8E4 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF988 001EC8E8 38 83 1F 48 */ addi r4, r3, lbl_803D1F48@l /* 801EF98C 001EC8EC 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EF990 001EC8F0 38 84 00 7F */ addi r4, r4, 0x7f /* 801EF994 001EC8F4 48 0D 27 C1 */ bl FindWidget__9CGuiFrameCFPCc /* 801EF998 001EC8F8 90 7F 00 40 */ stw r3, 0x40(r31) /* 801EF99C 001EC8FC 38 61 00 60 */ addi r3, r1, 0x60 /* 801EF9A0 001EC900 80 9F 00 20 */ lwz r4, 0x20(r31) /* 801EF9A4 001EC904 48 0D 58 79 */ bl GetLocalPosition__10CGuiObjectCFv /* 801EF9A8 001EC908 C0 01 00 60 */ lfs f0, 0x60(r1) /* 801EF9AC 001EC90C 38 61 00 54 */ addi r3, r1, 0x54 /* 801EF9B0 001EC910 D0 1F 00 44 */ stfs f0, 0x44(r31) /* 801EF9B4 001EC914 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801EF9B8 001EC918 D0 1F 00 48 */ stfs f0, 0x48(r31) /* 801EF9BC 001EC91C C0 01 00 68 */ lfs f0, 0x68(r1) /* 801EF9C0 001EC920 D0 1F 00 4C */ stfs f0, 0x4c(r31) /* 801EF9C4 001EC924 80 9F 00 28 */ lwz r4, 0x28(r31) /* 801EF9C8 001EC928 48 0D 58 55 */ bl GetLocalPosition__10CGuiObjectCFv /* 801EF9CC 001EC92C C0 01 00 54 */ lfs f0, 0x54(r1) /* 801EF9D0 001EC930 38 61 00 48 */ addi r3, r1, 0x48 /* 801EF9D4 001EC934 D0 1F 00 50 */ stfs f0, 0x50(r31) /* 801EF9D8 001EC938 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801EF9DC 001EC93C D0 1F 00 54 */ stfs f0, 0x54(r31) /* 801EF9E0 001EC940 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801EF9E4 001EC944 D0 1F 00 58 */ stfs f0, 0x58(r31) /* 801EF9E8 001EC948 80 9F 00 40 */ lwz r4, 0x40(r31) /* 801EF9EC 001EC94C 48 0D 58 31 */ bl GetLocalPosition__10CGuiObjectCFv /* 801EF9F0 001EC950 C0 01 00 48 */ lfs f0, 0x48(r1) /* 801EF9F4 001EC954 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EF9F8 001EC958 38 63 1F 48 */ addi r3, r3, lbl_803D1F48@l /* 801EF9FC 001EC95C D0 1F 00 5C */ stfs f0, 0x5c(r31) /* 801EFA00 001EC960 38 83 00 11 */ addi r4, r3, 0x11 /* 801EFA04 001EC964 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801EFA08 001EC968 D0 1F 00 60 */ stfs f0, 0x60(r31) /* 801EFA0C 001EC96C C0 01 00 50 */ lfs f0, 0x50(r1) /* 801EFA10 001EC970 D0 1F 00 64 */ stfs f0, 0x64(r31) /* 801EFA14 001EC974 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFA18 001EC978 48 0D 27 3D */ bl FindWidget__9CGuiFrameCFPCc /* 801EFA1C 001EC97C 28 03 00 00 */ cmplwi r3, 0 /* 801EFA20 001EC980 41 82 00 10 */ beq lbl_801EFA30 /* 801EFA24 001EC984 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFA28 001EC988 38 84 00 1C */ addi r4, r4, 0x1c /* 801EFA2C 001EC98C 48 0D AE 41 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801EFA30: /* 801EFA30 001EC990 3C 80 80 3D */ lis r4, lbl_803D1F48@ha /* 801EFA34 001EC994 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFA38 001EC998 38 84 1F 48 */ addi r4, r4, lbl_803D1F48@l /* 801EFA3C 001EC99C 38 84 00 8F */ addi r4, r4, 0x8f /* 801EFA40 001EC9A0 48 0D 27 15 */ bl FindWidget__9CGuiFrameCFPCc /* 801EFA44 001EC9A4 28 03 00 00 */ cmplwi r3, 0 /* 801EFA48 001EC9A8 41 82 00 10 */ beq lbl_801EFA58 /* 801EFA4C 001EC9AC 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFA50 001EC9B0 38 84 00 1C */ addi r4, r4, 0x1c /* 801EFA54 001EC9B4 48 0D AE 19 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801EFA58: /* 801EFA58 001EC9B8 3C 80 80 3D */ lis r4, lbl_803D1F48@ha /* 801EFA5C 001EC9BC 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFA60 001EC9C0 38 84 1F 48 */ addi r4, r4, lbl_803D1F48@l /* 801EFA64 001EC9C4 38 84 00 5C */ addi r4, r4, 0x5c /* 801EFA68 001EC9C8 48 0D 26 ED */ bl FindWidget__9CGuiFrameCFPCc /* 801EFA6C 001EC9CC 28 03 00 00 */ cmplwi r3, 0 /* 801EFA70 001EC9D0 41 82 00 10 */ beq lbl_801EFA80 /* 801EFA74 001EC9D4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFA78 001EC9D8 38 84 00 1C */ addi r4, r4, 0x1c /* 801EFA7C 001EC9DC 48 0D AD F1 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_801EFA80: /* 801EFA80 001EC9E0 80 7F 00 40 */ lwz r3, 0x40(r31) /* 801EFA84 001EC9E4 38 80 00 01 */ li r4, 1 /* 801EFA88 001EC9E8 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 801EFA8C 001EC9EC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801EFA90 001EC9F0 98 03 00 B6 */ stb r0, 0xb6(r3) /* 801EFA94 001EC9F4 80 7F 00 30 */ lwz r3, 0x30(r31) /* 801EFA98 001EC9F8 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFA9C 001EC9FC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAA0 001ECA00 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAA4 001ECA04 80 7F 00 38 */ lwz r3, 0x38(r31) /* 801EFAA8 001ECA08 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFAAC 001ECA0C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAB0 001ECA10 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAB4 001ECA14 80 7F 00 34 */ lwz r3, 0x34(r31) /* 801EFAB8 001ECA18 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFABC 001ECA1C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAC0 001ECA20 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAC4 001ECA24 80 7F 00 3C */ lwz r3, 0x3c(r31) /* 801EFAC8 001ECA28 88 03 00 B7 */ lbz r0, 0xb7(r3) /* 801EFACC 001ECA2C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801EFAD0 001ECA30 98 03 00 B7 */ stb r0, 0xb7(r3) /* 801EFAD4 001ECA34 80 7F 00 08 */ lwz r3, 8(r31) /* 801EFAD8 001ECA38 80 03 00 00 */ lwz r0, 0(r3) /* 801EFADC 001ECA3C 2C 00 00 00 */ cmpwi r0, 0 /* 801EFAE0 001ECA40 40 81 00 78 */ ble lbl_801EFB58 /* 801EFAE4 001ECA44 80 7F 00 1C */ lwz r3, 0x1c(r31) /* 801EFAE8 001ECA48 38 80 00 00 */ li r4, 0 /* 801EFAEC 001ECA4C C0 22 AE 4C */ lfs f1, lbl_805ACB6C@sda21(r2) /* 801EFAF0 001ECA50 3B C3 00 D4 */ addi r30, r3, 0xd4 /* 801EFAF4 001ECA54 C0 42 AE 50 */ lfs f2, lbl_805ACB70@sda21(r2) /* 801EFAF8 001ECA58 7F C3 F3 78 */ mr r3, r30 /* 801EFAFC 001ECA5C 48 0D 86 1D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 801EFB00 001ECA60 80 7F 00 08 */ lwz r3, 8(r31) /* 801EFB04 001ECA64 38 80 00 00 */ li r4, 0 /* 801EFB08 001ECA68 48 16 6B F5 */ bl GetString__12CStringTableCFi /* 801EFB0C 001ECA6C 7C 64 1B 78 */ mr r4, r3 /* 801EFB10 001ECA70 38 61 00 38 */ addi r3, r1, 0x38 /* 801EFB14 001ECA74 38 C1 00 0C */ addi r6, r1, 0xc /* 801EFB18 001ECA78 38 A0 FF FF */ li r5, -1 /* 801EFB1C 001ECA7C 48 14 DC A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 801EFB20 001ECA80 7F C3 F3 78 */ mr r3, r30 /* 801EFB24 001ECA84 38 81 00 38 */ addi r4, r1, 0x38 /* 801EFB28 001ECA88 38 A0 00 00 */ li r5, 0 /* 801EFB2C 001ECA8C 48 0D 9D 59 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801EFB30 001ECA90 38 61 00 38 */ addi r3, r1, 0x38 /* 801EFB34 001ECA94 48 14 D6 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801EFB38 001ECA98 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 801EFB3C 001ECA9C 7F C3 F3 78 */ mr r3, r30 /* 801EFB40 001ECAA0 38 84 00 14 */ addi r4, r4, 0x14 /* 801EFB44 001ECAA4 48 0D 9B 25 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 801EFB48 001ECAA8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 801EFB4C 001ECAAC 7F C3 F3 78 */ mr r3, r30 /* 801EFB50 001ECAB0 38 84 01 E8 */ addi r4, r4, 0x1e8 /* 801EFB54 001ECAB4 48 0D 9A 89 */ bl "SetScanStates__15CGuiTextSupportFPCQ24rstl20vector<10SScanState>" lbl_801EFB58: /* 801EFB58 001ECAB8 80 1F 00 18 */ lwz r0, 0x18(r31) /* 801EFB5C 001ECABC 28 00 00 00 */ cmplwi r0, 0 /* 801EFB60 001ECAC0 41 82 03 48 */ beq lbl_801EFEA8 /* 801EFB64 001ECAC4 C0 3F 00 74 */ lfs f1, 0x74(r31) /* 801EFB68 001ECAC8 C0 02 AE 48 */ lfs f0, lbl_805ACB68@sda21(r2) /* 801EFB6C 001ECACC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EFB70 001ECAD0 40 81 00 0C */ ble lbl_801EFB7C /* 801EFB74 001ECAD4 EC 01 D0 28 */ fsubs f0, f1, f26 /* 801EFB78 001ECAD8 D0 1F 00 74 */ stfs f0, 0x74(r31) lbl_801EFB7C: /* 801EFB7C 001ECADC C0 3F 00 70 */ lfs f1, 0x70(r31) /* 801EFB80 001ECAE0 C0 42 AE 58 */ lfs f2, lbl_805ACB78@sda21(r2) /* 801EFB84 001ECAE4 C0 0D 92 70 */ lfs f0, lbl_805A7E30@sda21(r13) /* 801EFB88 001ECAE8 EC 21 10 28 */ fsubs f1, f1, f2 /* 801EFB8C 001ECAEC EC 21 10 24 */ fdivs f1, f1, f2 /* 801EFB90 001ECAF0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801EFB94 001ECAF4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801EFB98 001ECAF8 40 80 00 0C */ bge lbl_801EFBA4 /* 801EFB9C 001ECAFC 38 61 00 28 */ addi r3, r1, 0x28 /* 801EFBA0 001ECB00 48 00 00 08 */ b lbl_801EFBA8 lbl_801EFBA4: /* 801EFBA4 001ECB04 38 6D 92 70 */ addi r3, r13, lbl_805A7E30@sda21 lbl_801EFBA8: /* 801EFBA8 001ECB08 C3 63 00 00 */ lfs f27, 0(r3) /* 801EFBAC 001ECB0C C0 22 AE 5C */ lfs f1, lbl_805ACB7C@sda21(r2) /* 801EFBB0 001ECB10 FC 1B 08 40 */ fcmpo cr0, f27, f1 /* 801EFBB4 001ECB14 40 80 00 0C */ bge lbl_801EFBC0 /* 801EFBB8 001ECB18 EC 3B 08 24 */ fdivs f1, f27, f1 /* 801EFBBC 001ECB1C 48 00 00 54 */ b lbl_801EFC10 lbl_801EFBC0: /* 801EFBC0 001ECB20 C0 02 AE 60 */ lfs f0, lbl_805ACB80@sda21(r2) /* 801EFBC4 001ECB24 FC 1B 00 40 */ fcmpo cr0, f27, f0 /* 801EFBC8 001ECB28 40 80 00 28 */ bge lbl_801EFBF0 /* 801EFBCC 001ECB2C EC 3B 08 28 */ fsubs f1, f27, f1 /* 801EFBD0 001ECB30 C0 02 AE 70 */ lfs f0, lbl_805ACB90@sda21(r2) /* 801EFBD4 001ECB34 C0 42 AE 6C */ lfs f2, lbl_805ACB8C@sda21(r2) /* 801EFBD8 001ECB38 C0 62 AE 68 */ lfs f3, lbl_805ACB88@sda21(r2) /* 801EFBDC 001ECB3C EC 21 00 24 */ fdivs f1, f1, f0 /* 801EFBE0 001ECB40 C0 02 AE 64 */ lfs f0, lbl_805ACB84@sda21(r2) /* 801EFBE4 001ECB44 EC 22 08 28 */ fsubs f1, f2, f1 /* 801EFBE8 001ECB48 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801EFBEC 001ECB4C 48 00 00 24 */ b lbl_801EFC10 lbl_801EFBF0: /* 801EFBF0 001ECB50 EC 5B 08 28 */ fsubs f2, f27, f1 /* 801EFBF4 001ECB54 C0 02 AE 70 */ lfs f0, lbl_805ACB90@sda21(r2) /* 801EFBF8 001ECB58 C0 22 AE 74 */ lfs f1, lbl_805ACB94@sda21(r2) /* 801EFBFC 001ECB5C C0 62 AE 68 */ lfs f3, lbl_805ACB88@sda21(r2) /* 801EFC00 001ECB60 EC 42 00 28 */ fsubs f2, f2, f0 /* 801EFC04 001ECB64 C0 02 AE 64 */ lfs f0, lbl_805ACB84@sda21(r2) /* 801EFC08 001ECB68 EC 22 08 24 */ fdivs f1, f2, f1 /* 801EFC0C 001ECB6C EC 23 00 7A */ fmadds f1, f3, f1, f0 lbl_801EFC10: /* 801EFC10 001ECB70 C0 42 AE 6C */ lfs f2, lbl_805ACB8C@sda21(r2) /* 801EFC14 001ECB74 38 61 00 FC */ addi r3, r1, 0xfc /* 801EFC18 001ECB78 FC 60 10 90 */ fmr f3, f2 /* 801EFC1C 001ECB7C 48 12 35 ED */ bl Scale__12CTransform4fFfff /* 801EFC20 001ECB80 83 DF 00 24 */ lwz r30, 0x24(r31) /* 801EFC24 001ECB84 38 81 00 FC */ addi r4, r1, 0xfc /* 801EFC28 001ECB88 38 7E 00 04 */ addi r3, r30, 4 /* 801EFC2C 001ECB8C 48 12 2F 15 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFC30 001ECB90 7F C3 F3 78 */ mr r3, r30 /* 801EFC34 001ECB94 48 0D 4B B5 */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFC38 001ECB98 C0 02 AE 6C */ lfs f0, lbl_805ACB8C@sda21(r2) /* 801EFC3C 001ECB9C 38 61 00 CC */ addi r3, r1, 0xcc /* 801EFC40 001ECBA0 C0 22 AE 48 */ lfs f1, lbl_805ACB68@sda21(r2) /* 801EFC44 001ECBA4 EF 60 D8 28 */ fsubs f27, f0, f27 /* 801EFC48 001ECBA8 C0 02 AE 78 */ lfs f0, lbl_805ACB98@sda21(r2) /* 801EFC4C 001ECBAC FC 40 08 90 */ fmr f2, f1 /* 801EFC50 001ECBB0 EC 60 06 F2 */ fmuls f3, f0, f27 /* 801EFC54 001ECBB4 48 12 35 35 */ bl Translate__12CTransform4fFfff /* 801EFC58 001ECBB8 83 DF 00 20 */ lwz r30, 0x20(r31) /* 801EFC5C 001ECBBC 38 81 00 CC */ addi r4, r1, 0xcc /* 801EFC60 001ECBC0 38 7E 00 04 */ addi r3, r30, 4 /* 801EFC64 001ECBC4 48 12 2E DD */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFC68 001ECBC8 7F C3 F3 78 */ mr r3, r30 /* 801EFC6C 001ECBCC 48 0D 4B 7D */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFC70 001ECBD0 C0 22 AE 48 */ lfs f1, lbl_805ACB68@sda21(r2) /* 801EFC74 001ECBD4 38 61 00 9C */ addi r3, r1, 0x9c /* 801EFC78 001ECBD8 C0 02 AE 7C */ lfs f0, lbl_805ACB9C@sda21(r2) /* 801EFC7C 001ECBDC FC 40 08 90 */ fmr f2, f1 /* 801EFC80 001ECBE0 EC 60 06 F2 */ fmuls f3, f0, f27 /* 801EFC84 001ECBE4 48 12 35 05 */ bl Translate__12CTransform4fFfff /* 801EFC88 001ECBE8 83 DF 00 28 */ lwz r30, 0x28(r31) /* 801EFC8C 001ECBEC 38 81 00 9C */ addi r4, r1, 0x9c /* 801EFC90 001ECBF0 38 7E 00 04 */ addi r3, r30, 4 /* 801EFC94 001ECBF4 48 12 2E AD */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFC98 001ECBF8 7F C3 F3 78 */ mr r3, r30 /* 801EFC9C 001ECBFC 48 0D 4B 4D */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFCA0 001ECC00 C0 5F 00 70 */ lfs f2, 0x70(r31) /* 801EFCA4 001ECC04 C0 02 AE 5C */ lfs f0, lbl_805ACB7C@sda21(r2) /* 801EFCA8 001ECC08 C0 22 AE 74 */ lfs f1, lbl_805ACB94@sda21(r2) /* 801EFCAC 001ECC0C EC 42 00 28 */ fsubs f2, f2, f0 /* 801EFCB0 001ECC10 C0 0D 92 74 */ lfs f0, lbl_805A7E34@sda21(r13) /* 801EFCB4 001ECC14 EC 22 08 24 */ fdivs f1, f2, f1 /* 801EFCB8 001ECC18 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801EFCBC 001ECC1C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801EFCC0 001ECC20 40 80 00 0C */ bge lbl_801EFCCC /* 801EFCC4 001ECC24 38 81 00 24 */ addi r4, r1, 0x24 /* 801EFCC8 001ECC28 48 00 00 08 */ b lbl_801EFCD0 lbl_801EFCCC: /* 801EFCCC 001ECC2C 38 8D 92 74 */ addi r4, r13, lbl_805A7E34@sda21 lbl_801EFCD0: /* 801EFCD0 001ECC30 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 801EFCD4 001ECC34 3C 00 43 30 */ lis r0, 0x4330 /* 801EFCD8 001ECC38 90 01 01 30 */ stw r0, 0x130(r1) /* 801EFCDC 001ECC3C 88 03 00 1F */ lbz r0, 0x1f(r3) /* 801EFCE0 001ECC40 C8 22 AE A0 */ lfd f1, lbl_805ACBC0@sda21(r2) /* 801EFCE4 001ECC44 90 01 01 34 */ stw r0, 0x134(r1) /* 801EFCE8 001ECC48 C3 64 00 00 */ lfs f27, 0(r4) /* 801EFCEC 001ECC4C C8 01 01 30 */ lfd f0, 0x130(r1) /* 801EFCF0 001ECC50 EC 00 08 28 */ fsubs f0, f0, f1 /* 801EFCF4 001ECC54 EF FB 00 32 */ fmuls f31, f27, f0 /* 801EFCF8 001ECC58 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 /* 801EFCFC 001ECC5C 38 81 00 20 */ addi r4, r1, 0x20 /* 801EFD00 001ECC60 80 63 00 1C */ lwz r3, 0x1c(r3) /* 801EFD04 001ECC64 88 01 00 0B */ lbz r0, 0xb(r1) /* 801EFD08 001ECC68 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFD0C 001ECC6C 90 01 00 20 */ stw r0, 0x20(r1) /* 801EFD10 001ECC70 80 7F 00 20 */ lwz r3, 0x20(r31) /* 801EFD14 001ECC74 48 0D AB 59 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFD18 001ECC78 48 15 A2 95 */ bl White__6CColorFv /* 801EFD1C 001ECC7C C0 02 AE 80 */ lfs f0, lbl_805ACBA0@sda21(r2) /* 801EFD20 001ECC80 EF C0 06 F2 */ fmuls f30, f0, f27 /* 801EFD24 001ECC84 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 /* 801EFD28 001ECC88 38 81 00 1C */ addi r4, r1, 0x1c /* 801EFD2C 001ECC8C 80 63 00 00 */ lwz r3, 0(r3) /* 801EFD30 001ECC90 88 01 00 0A */ lbz r0, 0xa(r1) /* 801EFD34 001ECC94 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFD38 001ECC98 90 01 00 1C */ stw r0, 0x1c(r1) /* 801EFD3C 001ECC9C 80 7F 00 28 */ lwz r3, 0x28(r31) /* 801EFD40 001ECCA0 48 0D AB 2D */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFD44 001ECCA4 C0 1F 00 74 */ lfs f0, 0x74(r31) /* 801EFD48 001ECCA8 C3 62 AE 48 */ lfs f27, lbl_805ACB68@sda21(r2) /* 801EFD4C 001ECCAC FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 801EFD50 001ECCB0 4C 40 13 82 */ cror 2, 0, 2 /* 801EFD54 001ECCB4 40 82 00 40 */ bne lbl_801EFD94 /* 801EFD58 001ECCB8 48 11 A1 89 */ bl GetSecondsMod900__9CGraphicsFv /* 801EFD5C 001ECCBC C0 42 AE 84 */ lfs f2, lbl_805ACBA4@sda21(r2) /* 801EFD60 001ECCC0 C0 02 AE 88 */ lfs f0, lbl_805ACBA8@sda21(r2) /* 801EFD64 001ECCC4 EC 22 00 78 */ fmsubs f1, f2, f1, f0 /* 801EFD68 001ECCC8 48 12 50 89 */ bl FastSinR__5CMathFf /* 801EFD6C 001ECCCC C0 42 AE 6C */ lfs f2, lbl_805ACB8C@sda21(r2) /* 801EFD70 001ECCD0 38 81 00 18 */ addi r4, r1, 0x18 /* 801EFD74 001ECCD4 C0 02 AE 58 */ lfs f0, lbl_805ACB78@sda21(r2) /* 801EFD78 001ECCD8 38 6D 92 78 */ addi r3, r13, lbl_805A7E38@sda21 /* 801EFD7C 001ECCDC EC 22 08 2A */ fadds f1, f2, f1 /* 801EFD80 001ECCE0 38 AD 92 7C */ addi r5, r13, lbl_805A7E3C@sda21 /* 801EFD84 001ECCE4 EC 00 00 72 */ fmuls f0, f0, f1 /* 801EFD88 001ECCE8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801EFD8C 001ECCEC 4B E1 C5 29 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801EFD90 001ECCF0 C3 63 00 00 */ lfs f27, 0(r3) lbl_801EFD94: /* 801EFD94 001ECCF4 48 15 A2 19 */ bl White__6CColorFv /* 801EFD98 001ECCF8 C0 02 AE 80 */ lfs f0, lbl_805ACBA0@sda21(r2) /* 801EFD9C 001ECCFC EF A0 06 F2 */ fmuls f29, f0, f27 /* 801EFDA0 001ECD00 F3 A1 A0 09 */ psq_st f29, 9(r1), 1, qr2 /* 801EFDA4 001ECD04 38 81 00 14 */ addi r4, r1, 0x14 /* 801EFDA8 001ECD08 80 63 00 00 */ lwz r3, 0(r3) /* 801EFDAC 001ECD0C 88 01 00 09 */ lbz r0, 9(r1) /* 801EFDB0 001ECD10 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFDB4 001ECD14 90 01 00 14 */ stw r0, 0x14(r1) /* 801EFDB8 001ECD18 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 801EFDBC 001ECD1C 48 0D AA B1 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFDC0 001ECD20 C0 42 AE 78 */ lfs f2, lbl_805ACB98@sda21(r2) /* 801EFDC4 001ECD24 C0 3F 00 68 */ lfs f1, 0x68(r31) /* 801EFDC8 001ECD28 C0 02 AE 8C */ lfs f0, lbl_805ACBAC@sda21(r2) /* 801EFDCC 001ECD2C EC 22 0E BA */ fmadds f1, f2, f26, f1 /* 801EFDD0 001ECD30 D0 3F 00 68 */ stfs f1, 0x68(r31) /* 801EFDD4 001ECD34 C0 3F 00 68 */ lfs f1, 0x68(r31) /* 801EFDD8 001ECD38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801EFDDC 001ECD3C 40 81 00 10 */ ble lbl_801EFDEC /* 801EFDE0 001ECD40 C0 02 AE 90 */ lfs f0, lbl_805ACBB0@sda21(r2) /* 801EFDE4 001ECD44 EC 01 00 28 */ fsubs f0, f1, f0 /* 801EFDE8 001ECD48 D0 1F 00 68 */ stfs f0, 0x68(r31) lbl_801EFDEC: /* 801EFDEC 001ECD4C 48 1A 00 91 */ bl rand /* 801EFDF0 001ECD50 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 801EFDF4 001ECD54 3C 00 43 30 */ lis r0, 0x4330 /* 801EFDF8 001ECD58 90 61 01 34 */ stw r3, 0x134(r1) /* 801EFDFC 001ECD5C C8 42 AE A8 */ lfd f2, lbl_805ACBC8@sda21(r2) /* 801EFE00 001ECD60 90 01 01 30 */ stw r0, 0x130(r1) /* 801EFE04 001ECD64 C0 02 AE 94 */ lfs f0, lbl_805ACBB4@sda21(r2) /* 801EFE08 001ECD68 C8 21 01 30 */ lfd f1, 0x130(r1) /* 801EFE0C 001ECD6C EC 21 10 28 */ fsubs f1, f1, f2 /* 801EFE10 001ECD70 EF 61 00 24 */ fdivs f27, f1, f0 /* 801EFE14 001ECD74 48 15 A1 99 */ bl White__6CColorFv /* 801EFE18 001ECD78 C0 22 AE 9C */ lfs f1, lbl_805ACBBC@sda21(r2) /* 801EFE1C 001ECD7C C0 02 AE 98 */ lfs f0, lbl_805ACBB8@sda21(r2) /* 801EFE20 001ECD80 C0 42 AE 80 */ lfs f2, lbl_805ACBA0@sda21(r2) /* 801EFE24 001ECD84 EC 01 06 FA */ fmadds f0, f1, f27, f0 /* 801EFE28 001ECD88 EF 82 00 32 */ fmuls f28, f2, f0 /* 801EFE2C 001ECD8C F3 81 A0 08 */ psq_st f28, 8(r1), 1, qr2 /* 801EFE30 001ECD90 38 81 00 10 */ addi r4, r1, 0x10 /* 801EFE34 001ECD94 80 63 00 00 */ lwz r3, 0(r3) /* 801EFE38 001ECD98 88 01 00 08 */ lbz r0, 8(r1) /* 801EFE3C 001ECD9C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 801EFE40 001ECDA0 90 01 00 10 */ stw r0, 0x10(r1) /* 801EFE44 001ECDA4 80 7F 00 40 */ lwz r3, 0x40(r31) /* 801EFE48 001ECDA8 48 0D AA 25 */ bl SetColor__10CGuiWidgetFRC6CColor /* 801EFE4C 001ECDAC C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801EFE50 001ECDB0 38 61 00 6C */ addi r3, r1, 0x6c /* 801EFE54 001ECDB4 C0 62 AE 48 */ lfs f3, lbl_805ACB68@sda21(r2) /* 801EFE58 001ECDB8 38 81 00 2C */ addi r4, r1, 0x2c /* 801EFE5C 001ECDBC C0 1F 00 5C */ lfs f0, 0x5c(r31) /* 801EFE60 001ECDC0 C0 5F 00 64 */ lfs f2, 0x64(r31) /* 801EFE64 001ECDC4 EC 81 18 2A */ fadds f4, f1, f3 /* 801EFE68 001ECDC8 C0 3F 00 68 */ lfs f1, 0x68(r31) /* 801EFE6C 001ECDCC EC 00 18 2A */ fadds f0, f0, f3 /* 801EFE70 001ECDD0 EC 22 08 2A */ fadds f1, f2, f1 /* 801EFE74 001ECDD4 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801EFE78 001ECDD8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801EFE7C 001ECDDC D0 21 00 34 */ stfs f1, 0x34(r1) /* 801EFE80 001ECDE0 48 12 32 C1 */ bl Translate__12CTransform4fFRC9CVector3f /* 801EFE84 001ECDE4 83 DF 00 40 */ lwz r30, 0x40(r31) /* 801EFE88 001ECDE8 38 81 00 6C */ addi r4, r1, 0x6c /* 801EFE8C 001ECDEC 38 7E 00 04 */ addi r3, r30, 4 /* 801EFE90 001ECDF0 48 12 2C B1 */ bl __as__12CTransform4fFRC12CTransform4f /* 801EFE94 001ECDF4 7F C3 F3 78 */ mr r3, r30 /* 801EFE98 001ECDF8 48 0D 49 51 */ bl RecalculateTransforms__10CGuiObjectFv /* 801EFE9C 001ECDFC FC 20 D0 90 */ fmr f1, f26 /* 801EFEA0 001ECE00 80 7F 00 18 */ lwz r3, 0x18(r31) /* 801EFEA4 001ECE04 48 0D 28 61 */ bl Update__9CGuiFrameFf lbl_801EFEA8: /* 801EFEA8 001ECE08 88 1F 00 78 */ lbz r0, 0x78(r31) /* 801EFEAC 001ECE0C 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f /* 801EFEB0 001ECE10 7C 00 00 34 */ cntlzw r0, r0 /* 801EFEB4 001ECE14 54 03 D9 7E */ srwi r3, r0, 5 /* 801EFEB8 001ECE18 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 801EFEBC 001ECE1C CB E1 01 90 */ lfd f31, 0x190(r1) /* 801EFEC0 001ECE20 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 801EFEC4 001ECE24 CB C1 01 80 */ lfd f30, 0x180(r1) /* 801EFEC8 001ECE28 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 801EFECC 001ECE2C CB A1 01 70 */ lfd f29, 0x170(r1) /* 801EFED0 001ECE30 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 /* 801EFED4 001ECE34 CB 81 01 60 */ lfd f28, 0x160(r1) /* 801EFED8 001ECE38 E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 /* 801EFEDC 001ECE3C CB 61 01 50 */ lfd f27, 0x150(r1) /* 801EFEE0 001ECE40 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 /* 801EFEE4 001ECE44 CB 41 01 40 */ lfd f26, 0x140(r1) /* 801EFEE8 001ECE48 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 801EFEEC 001ECE4C 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 801EFEF0 001ECE50 83 C1 01 38 */ lwz r30, 0x138(r1) /* 801EFEF4 001ECE54 7C 08 03 A6 */ mtlr r0 /* 801EFEF8 001ECE58 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 801EFEFC 001ECE5C 4E 80 00 20 */ blr .global __ct__14CMessageScreenFUif __ct__14CMessageScreenFUif: /* 801EFF00 001ECE60 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801EFF04 001ECE64 7C 08 02 A6 */ mflr r0 /* 801EFF08 001ECE68 90 01 00 44 */ stw r0, 0x44(r1) /* 801EFF0C 001ECE6C DB E1 00 30 */ stfd f31, 0x30(r1) /* 801EFF10 001ECE70 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801EFF14 001ECE74 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801EFF18 001ECE78 93 C1 00 28 */ stw r30, 0x28(r1) /* 801EFF1C 001ECE7C 3C A0 53 54 */ lis r5, 0x53545247@ha /* 801EFF20 001ECE80 90 81 00 1C */ stw r4, 0x1c(r1) /* 801EFF24 001ECE84 38 05 52 47 */ addi r0, r5, 0x53545247@l /* 801EFF28 001ECE88 7C 7F 1B 78 */ mr r31, r3 /* 801EFF2C 001ECE8C 90 01 00 18 */ stw r0, 0x18(r1) /* 801EFF30 001ECE90 FF E0 08 90 */ fmr f31, f1 /* 801EFF34 001ECE94 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EFF38 001ECE98 38 61 00 10 */ addi r3, r1, 0x10 /* 801EFF3C 001ECE9C 38 A1 00 18 */ addi r5, r1, 0x18 /* 801EFF40 001ECEA0 81 84 00 00 */ lwz r12, 0(r4) /* 801EFF44 001ECEA4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801EFF48 001ECEA8 7D 89 03 A6 */ mtctr r12 /* 801EFF4C 001ECEAC 4E 80 04 21 */ bctrl /* 801EFF50 001ECEB0 7F E3 FB 78 */ mr r3, r31 /* 801EFF54 001ECEB4 38 81 00 10 */ addi r4, r1, 0x10 /* 801EFF58 001ECEB8 48 15 0F 51 */ bl __ct__6CTokenFRC6CToken /* 801EFF5C 001ECEBC 38 00 00 00 */ li r0, 0 /* 801EFF60 001ECEC0 38 61 00 10 */ addi r3, r1, 0x10 /* 801EFF64 001ECEC4 90 1F 00 08 */ stw r0, 8(r31) /* 801EFF68 001ECEC8 38 80 FF FF */ li r4, -1 /* 801EFF6C 001ECECC 48 15 0E D5 */ bl __dt__6CTokenFv /* 801EFF70 001ECED0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801EFF74 001ECED4 3C 60 80 3D */ lis r3, lbl_803D1F48@ha /* 801EFF78 001ECED8 38 A3 1F 48 */ addi r5, r3, lbl_803D1F48@l /* 801EFF7C 001ECEDC 38 61 00 08 */ addi r3, r1, 8 /* 801EFF80 001ECEE0 81 84 00 00 */ lwz r12, 0(r4) /* 801EFF84 001ECEE4 38 A5 00 A5 */ addi r5, r5, 0xa5 /* 801EFF88 001ECEE8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801EFF8C 001ECEEC 7D 89 03 A6 */ mtctr r12 /* 801EFF90 001ECEF0 4E 80 04 21 */ bctrl /* 801EFF94 001ECEF4 3B DF 00 0C */ addi r30, r31, 0xc /* 801EFF98 001ECEF8 38 81 00 08 */ addi r4, r1, 8 /* 801EFF9C 001ECEFC 7F C3 F3 78 */ mr r3, r30 /* 801EFFA0 001ECF00 48 15 0F 09 */ bl __ct__6CTokenFRC6CToken /* 801EFFA4 001ECF04 38 00 00 00 */ li r0, 0 /* 801EFFA8 001ECF08 38 61 00 08 */ addi r3, r1, 8 /* 801EFFAC 001ECF0C 90 1E 00 08 */ stw r0, 8(r30) /* 801EFFB0 001ECF10 38 80 FF FF */ li r4, -1 /* 801EFFB4 001ECF14 48 15 0E 8D */ bl __dt__6CTokenFv /* 801EFFB8 001ECF18 38 A0 00 00 */ li r5, 0 /* 801EFFBC 001ECF1C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801EFFC0 001ECF20 90 BF 00 18 */ stw r5, 0x18(r31) /* 801EFFC4 001ECF24 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801EFFC8 001ECF28 C0 22 AE 8C */ lfs f1, lbl_805ACBAC@sda21(r2) /* 801EFFCC 001ECF2C 7F C3 F3 78 */ mr r3, r30 /* 801EFFD0 001ECF30 C0 44 00 00 */ lfs f2, 0(r4) /* 801EFFD4 001ECF34 C0 02 AE 48 */ lfs f0, lbl_805ACB68@sda21(r2) /* 801EFFD8 001ECF38 D0 5F 00 44 */ stfs f2, 0x44(r31) /* 801EFFDC 001ECF3C C0 44 00 04 */ lfs f2, 4(r4) /* 801EFFE0 001ECF40 D0 5F 00 48 */ stfs f2, 0x48(r31) /* 801EFFE4 001ECF44 C0 44 00 08 */ lfs f2, 8(r4) /* 801EFFE8 001ECF48 D0 5F 00 4C */ stfs f2, 0x4c(r31) /* 801EFFEC 001ECF4C C0 44 00 00 */ lfs f2, 0(r4) /* 801EFFF0 001ECF50 D0 5F 00 50 */ stfs f2, 0x50(r31) /* 801EFFF4 001ECF54 C0 44 00 04 */ lfs f2, 4(r4) /* 801EFFF8 001ECF58 D0 5F 00 54 */ stfs f2, 0x54(r31) /* 801EFFFC 001ECF5C C0 44 00 08 */ lfs f2, 8(r4) /* 801F0000 001ECF60 D0 5F 00 58 */ stfs f2, 0x58(r31) /* 801F0004 001ECF64 C0 44 00 00 */ lfs f2, 0(r4) /* 801F0008 001ECF68 D0 5F 00 5C */ stfs f2, 0x5c(r31) /* 801F000C 001ECF6C C0 44 00 04 */ lfs f2, 4(r4) /* 801F0010 001ECF70 D0 5F 00 60 */ stfs f2, 0x60(r31) /* 801F0014 001ECF74 C0 44 00 08 */ lfs f2, 8(r4) /* 801F0018 001ECF78 D0 5F 00 64 */ stfs f2, 0x64(r31) /* 801F001C 001ECF7C D0 3F 00 68 */ stfs f1, 0x68(r31) /* 801F0020 001ECF80 90 BF 00 6C */ stw r5, 0x6c(r31) /* 801F0024 001ECF84 D0 1F 00 70 */ stfs f0, 0x70(r31) /* 801F0028 001ECF88 D3 FF 00 74 */ stfs f31, 0x74(r31) /* 801F002C 001ECF8C 88 1F 00 78 */ lbz r0, 0x78(r31) /* 801F0030 001ECF90 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801F0034 001ECF94 98 1F 00 78 */ stb r0, 0x78(r31) /* 801F0038 001ECF98 48 15 0D 4D */ bl Lock__6CTokenFv /* 801F003C 001ECF9C 7F E3 FB 78 */ mr r3, r31 /* 801F0040 001ECFA0 48 15 0D 45 */ bl Lock__6CTokenFv /* 801F0044 001ECFA4 7F E3 FB 78 */ mr r3, r31 /* 801F0048 001ECFA8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801F004C 001ECFAC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F0050 001ECFB0 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801F0054 001ECFB4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F0058 001ECFB8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F005C 001ECFBC 7C 08 03 A6 */ mtlr r0 /* 801F0060 001ECFC0 38 21 00 40 */ addi r1, r1, 0x40 .global sub_801f0064 sub_801f0064: /* 801F0064 001ECFC4 4E 80 00 20 */ blr .global SaveBombSlotInfo__17CFlaahgraTentacleFR13CStateManager SaveBombSlotInfo__17CFlaahgraTentacleFR13CStateManager: /* 801F0068 001ECFC8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F006C 001ECFCC 7C 08 02 A6 */ mflr r0 /* 801F0070 001ECFD0 90 01 00 34 */ stw r0, 0x34(r1) /* 801F0074 001ECFD4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F0078 001ECFD8 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F007C 001ECFDC 7C 9E 23 78 */ mr r30, r4 /* 801F0080 001ECFE0 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F0084 001ECFE4 7C 7D 1B 78 */ mr r29, r3 /* 801F0088 001ECFE8 83 E3 00 2C */ lwz r31, 0x2c(r3) /* 801F008C 001ECFEC 48 00 00 8C */ b lbl_801F0118 lbl_801F0090: /* 801F0090 001ECFF0 80 1F 00 00 */ lwz r0, 0(r31) /* 801F0094 001ECFF4 2C 00 00 19 */ cmpwi r0, 0x19 /* 801F0098 001ECFF8 40 82 00 7C */ bne lbl_801F0114 /* 801F009C 001ECFFC 80 1F 00 04 */ lwz r0, 4(r31) /* 801F00A0 001ED000 2C 00 00 11 */ cmpwi r0, 0x11 /* 801F00A4 001ED004 40 82 00 70 */ bne lbl_801F0114 /* 801F00A8 001ED008 80 1F 00 08 */ lwz r0, 8(r31) /* 801F00AC 001ED00C 7F C4 F3 78 */ mr r4, r30 /* 801F00B0 001ED010 38 61 00 0C */ addi r3, r1, 0xc /* 801F00B4 001ED014 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F00B8 001ED018 90 01 00 14 */ stw r0, 0x14(r1) /* 801F00BC 001ED01C 4B E5 7E 61 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801F00C0 001ED020 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801F00C4 001ED024 7F C3 F3 78 */ mr r3, r30 /* 801F00C8 001ED028 38 81 00 08 */ addi r4, r1, 8 /* 801F00CC 001ED02C B0 01 00 10 */ sth r0, 0x10(r1) /* 801F00D0 001ED030 B0 01 00 08 */ sth r0, 8(r1) /* 801F00D4 001ED034 4B E5 C4 D1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F00D8 001ED038 7C 64 1B 78 */ mr r4, r3 /* 801F00DC 001ED03C 38 61 00 18 */ addi r3, r1, 0x18 /* 801F00E0 001ED040 4B EB 6E 09 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 801F00E4 001ED044 80 63 00 04 */ lwz r3, 4(r3) /* 801F00E8 001ED048 28 03 00 00 */ cmplwi r3, 0 /* 801F00EC 001ED04C 41 82 00 28 */ beq lbl_801F0114 /* 801F00F0 001ED050 A0 01 00 10 */ lhz r0, 0x10(r1) /* 801F00F4 001ED054 B0 1D 05 8C */ sth r0, 0x58c(r29) /* 801F00F8 001ED058 C0 03 01 1C */ lfs f0, 0x11c(r3) /* 801F00FC 001ED05C D0 1D 05 80 */ stfs f0, 0x580(r29) /* 801F0100 001ED060 C0 03 01 20 */ lfs f0, 0x120(r3) /* 801F0104 001ED064 D0 1D 05 84 */ stfs f0, 0x584(r29) /* 801F0108 001ED068 C0 03 01 24 */ lfs f0, 0x124(r3) /* 801F010C 001ED06C D0 1D 05 88 */ stfs f0, 0x588(r29) /* 801F0110 001ED070 48 00 00 20 */ b lbl_801F0130 lbl_801F0114: /* 801F0114 001ED074 3B FF 00 0C */ addi r31, r31, 0xc lbl_801F0118: /* 801F0118 001ED078 80 1D 00 24 */ lwz r0, 0x24(r29) /* 801F011C 001ED07C 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 801F0120 001ED080 1C 00 00 0C */ mulli r0, r0, 0xc /* 801F0124 001ED084 7C 03 02 14 */ add r0, r3, r0 /* 801F0128 001ED088 7C 1F 00 40 */ cmplw r31, r0 /* 801F012C 001ED08C 40 82 FF 64 */ bne lbl_801F0090 lbl_801F0130: /* 801F0130 001ED090 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F0134 001ED094 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F0138 001ED098 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F013C 001ED09C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F0140 001ED0A0 7C 08 03 A6 */ mtlr r0 /* 801F0144 001ED0A4 38 21 00 30 */ addi r1, r1, 0x30 /* 801F0148 001ED0A8 4E 80 00 20 */ blr .global RetractTentacle__17CFlaahgraTentacleFR13CStateManager RetractTentacle__17CFlaahgraTentacleFR13CStateManager: /* 801F014C 001ED0AC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F0150 001ED0B0 7C 08 02 A6 */ mflr r0 /* 801F0154 001ED0B4 90 01 00 24 */ stw r0, 0x24(r1) /* 801F0158 001ED0B8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F015C 001ED0BC 7C 9F 23 78 */ mr r31, r4 /* 801F0160 001ED0C0 38 80 00 00 */ li r4, 0 /* 801F0164 001ED0C4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F0168 001ED0C8 7C 7E 1B 78 */ mr r30, r3 /* 801F016C 001ED0CC 80 63 04 50 */ lwz r3, 0x450(r3) /* 801F0170 001ED0D0 4B F4 A8 69 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F0174 001ED0D4 A0 1E 05 8C */ lhz r0, 0x58c(r30) /* 801F0178 001ED0D8 7F E3 FB 78 */ mr r3, r31 /* 801F017C 001ED0DC 38 81 00 08 */ addi r4, r1, 8 /* 801F0180 001ED0E0 B0 01 00 08 */ sth r0, 8(r1) /* 801F0184 001ED0E4 4B E5 C3 F1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F0188 001ED0E8 7C 64 1B 78 */ mr r4, r3 /* 801F018C 001ED0EC 38 61 00 0C */ addi r3, r1, 0xc /* 801F0190 001ED0F0 4B EB 6D 59 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 801F0194 001ED0F4 83 E3 00 04 */ lwz r31, 4(r3) /* 801F0198 001ED0F8 28 1F 00 00 */ cmplwi r31, 0 /* 801F019C 001ED0FC 41 82 00 28 */ beq lbl_801F01C4 /* 801F01A0 001ED100 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F01A4 001ED104 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F01A8 001ED108 D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 801F01AC 001ED10C C0 03 00 04 */ lfs f0, 4(r3) /* 801F01B0 001ED110 D0 1F 01 20 */ stfs f0, 0x120(r31) /* 801F01B4 001ED114 C0 03 00 08 */ lfs f0, 8(r3) /* 801F01B8 001ED118 D0 1F 01 24 */ stfs f0, 0x124(r31) /* 801F01BC 001ED11C 48 12 46 FD */ bl Magnitude__9CVector3fCFv /* 801F01C0 001ED120 D0 3F 01 28 */ stfs f1, 0x128(r31) lbl_801F01C4: /* 801F01C4 001ED124 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F01C8 001ED128 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F01CC 001ED12C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F01D0 001ED130 7C 08 03 A6 */ mtlr r0 /* 801F01D4 001ED134 38 21 00 20 */ addi r1, r1, 0x20 /* 801F01D8 001ED138 4E 80 00 20 */ blr .global ExtractTentacle__17CFlaahgraTentacleFR13CStateManager ExtractTentacle__17CFlaahgraTentacleFR13CStateManager: /* 801F01DC 001ED13C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F01E0 001ED140 7C 08 02 A6 */ mflr r0 /* 801F01E4 001ED144 C0 22 AE B4 */ lfs f1, lbl_805ACBD4@sda21(r2) /* 801F01E8 001ED148 90 01 00 24 */ stw r0, 0x24(r1) /* 801F01EC 001ED14C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F01F0 001ED150 7C 9F 23 78 */ mr r31, r4 /* 801F01F4 001ED154 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F01F8 001ED158 7C 7E 1B 78 */ mr r30, r3 /* 801F01FC 001ED15C 81 83 00 00 */ lwz r12, 0(r3) /* 801F0200 001ED160 81 8C 02 30 */ lwz r12, 0x230(r12) /* 801F0204 001ED164 7D 89 03 A6 */ mtctr r12 /* 801F0208 001ED168 4E 80 04 21 */ bctrl /* 801F020C 001ED16C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F0210 001ED170 41 82 00 64 */ beq lbl_801F0274 /* 801F0214 001ED174 88 1E 05 8E */ lbz r0, 0x58e(r30) /* 801F0218 001ED178 38 60 00 01 */ li r3, 1 /* 801F021C 001ED17C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F0220 001ED180 7F E3 FB 78 */ mr r3, r31 /* 801F0224 001ED184 98 1E 05 8E */ stb r0, 0x58e(r30) /* 801F0228 001ED188 38 81 00 08 */ addi r4, r1, 8 /* 801F022C 001ED18C A0 1E 05 8C */ lhz r0, 0x58c(r30) /* 801F0230 001ED190 B0 01 00 08 */ sth r0, 8(r1) /* 801F0234 001ED194 4B E5 C3 41 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F0238 001ED198 7C 64 1B 78 */ mr r4, r3 /* 801F023C 001ED19C 38 61 00 0C */ addi r3, r1, 0xc /* 801F0240 001ED1A0 4B EB 6C A9 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 801F0244 001ED1A4 83 E3 00 04 */ lwz r31, 4(r3) /* 801F0248 001ED1A8 28 1F 00 00 */ cmplwi r31, 0 /* 801F024C 001ED1AC 41 82 00 28 */ beq lbl_801F0274 /* 801F0250 001ED1B0 C0 1E 05 80 */ lfs f0, 0x580(r30) /* 801F0254 001ED1B4 38 7E 05 80 */ addi r3, r30, 0x580 /* 801F0258 001ED1B8 D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 801F025C 001ED1BC C0 1E 05 84 */ lfs f0, 0x584(r30) /* 801F0260 001ED1C0 D0 1F 01 20 */ stfs f0, 0x120(r31) /* 801F0264 001ED1C4 C0 1E 05 88 */ lfs f0, 0x588(r30) /* 801F0268 001ED1C8 D0 1F 01 24 */ stfs f0, 0x124(r31) /* 801F026C 001ED1CC 48 12 46 4D */ bl Magnitude__9CVector3fCFv /* 801F0270 001ED1D0 D0 3F 01 28 */ stfs f1, 0x128(r31) lbl_801F0274: /* 801F0274 001ED1D4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F0278 001ED1D8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F027C 001ED1DC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F0280 001ED1E0 7C 08 03 A6 */ mtlr r0 /* 801F0284 001ED1E4 38 21 00 20 */ addi r1, r1, 0x20 /* 801F0288 001ED1E8 4E 80 00 20 */ blr .global "AddSphereCollisionList__17CFlaahgraTentacleFPCQ217CFlaahgraTentacle16SSphereJointInfoiRQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>" "AddSphereCollisionList__17CFlaahgraTentacleFPCQ217CFlaahgraTentacle16SSphereJointInfoiRQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>": /* 801F028C 001ED1EC 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801F0290 001ED1F0 7C 08 02 A6 */ mflr r0 /* 801F0294 001ED1F4 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801F0298 001ED1F8 BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 801F029C 001ED1FC 7C B9 2B 78 */ mr r25, r5 /* 801F02A0 001ED200 7C DA 33 78 */ mr r26, r6 /* 801F02A4 001ED204 7C 9E 23 78 */ mr r30, r4 /* 801F02A8 001ED208 3B A1 00 60 */ addi r29, r1, 0x60 /* 801F02AC 001ED20C 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 801F02B0 001ED210 3B 60 00 00 */ li r27, 0 /* 801F02B4 001ED214 80 63 00 64 */ lwz r3, 0x64(r3) /* 801F02B8 001ED218 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801F02BC 001ED21C 48 00 01 20 */ b lbl_801F03DC lbl_801F02C0: /* 801F02C0 001ED220 80 9E 00 00 */ lwz r4, 0(r30) /* 801F02C4 001ED224 38 61 00 24 */ addi r3, r1, 0x24 /* 801F02C8 001ED228 4B E1 49 F1 */ bl string_l__4rstlFPCc /* 801F02CC 001ED22C 7F E4 FB 78 */ mr r4, r31 /* 801F02D0 001ED230 38 61 00 0C */ addi r3, r1, 0xc /* 801F02D4 001ED234 38 A1 00 24 */ addi r5, r1, 0x24 /* 801F02D8 001ED238 4B E3 E5 61 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801F02DC 001ED23C 88 01 00 0C */ lbz r0, 0xc(r1) /* 801F02E0 001ED240 38 61 00 24 */ addi r3, r1, 0x24 /* 801F02E4 001ED244 98 01 00 10 */ stb r0, 0x10(r1) /* 801F02E8 001ED248 48 14 D7 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801F02EC 001ED24C 88 01 00 10 */ lbz r0, 0x10(r1) /* 801F02F0 001ED250 28 00 00 FF */ cmplwi r0, 0xff /* 801F02F4 001ED254 41 82 00 E0 */ beq lbl_801F03D4 /* 801F02F8 001ED258 80 9E 00 00 */ lwz r4, 0(r30) /* 801F02FC 001ED25C 38 61 00 14 */ addi r3, r1, 0x14 /* 801F0300 001ED260 4B E1 49 B9 */ bl string_l__4rstlFPCc /* 801F0304 001ED264 88 01 00 10 */ lbz r0, 0x10(r1) /* 801F0308 001ED268 38 61 00 34 */ addi r3, r1, 0x34 /* 801F030C 001ED26C C0 3E 00 04 */ lfs f1, 4(r30) /* 801F0310 001ED270 38 81 00 08 */ addi r4, r1, 8 /* 801F0314 001ED274 98 01 00 08 */ stb r0, 8(r1) /* 801F0318 001ED278 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F031C 001ED27C C0 42 AE B8 */ lfs f2, lbl_805ACBD8@sda21(r2) /* 801F0320 001ED280 4B FB 84 ED */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 801F0324 001ED284 80 E1 00 34 */ lwz r7, 0x34(r1) /* 801F0328 001ED288 7F 83 E3 78 */ mr r3, r28 /* 801F032C 001ED28C 80 C1 00 38 */ lwz r6, 0x38(r1) /* 801F0330 001ED290 7F A4 EB 78 */ mr r4, r29 /* 801F0334 001ED294 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 801F0338 001ED298 88 01 00 3D */ lbz r0, 0x3d(r1) /* 801F033C 001ED29C C0 E1 00 40 */ lfs f7, 0x40(r1) /* 801F0340 001ED2A0 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 801F0344 001ED2A4 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 801F0348 001ED2A8 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 801F034C 001ED2AC C0 61 00 50 */ lfs f3, 0x50(r1) /* 801F0350 001ED2B0 C0 41 00 54 */ lfs f2, 0x54(r1) /* 801F0354 001ED2B4 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801F0358 001ED2B8 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801F035C 001ED2BC 90 E1 00 78 */ stw r7, 0x78(r1) /* 801F0360 001ED2C0 90 C1 00 7C */ stw r6, 0x7c(r1) /* 801F0364 001ED2C4 98 A1 00 80 */ stb r5, 0x80(r1) /* 801F0368 001ED2C8 98 01 00 81 */ stb r0, 0x81(r1) /* 801F036C 001ED2CC D0 E1 00 84 */ stfs f7, 0x84(r1) /* 801F0370 001ED2D0 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 801F0374 001ED2D4 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 801F0378 001ED2D8 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801F037C 001ED2DC D0 61 00 94 */ stfs f3, 0x94(r1) /* 801F0380 001ED2E0 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801F0384 001ED2E4 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801F0388 001ED2E8 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801F038C 001ED2EC 48 14 DD D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801F0390 001ED2F0 A0 01 00 70 */ lhz r0, 0x70(r1) /* 801F0394 001ED2F4 28 1D 00 00 */ cmplwi r29, 0 /* 801F0398 001ED2F8 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801F039C 001ED2FC B0 01 00 B4 */ sth r0, 0xb4(r1) /* 801F03A0 001ED300 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801F03A4 001ED304 41 82 00 0C */ beq lbl_801F03B0 /* 801F03A8 001ED308 7F A3 EB 78 */ mr r3, r29 /* 801F03AC 001ED30C 48 14 D7 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801F03B0: /* 801F03B0 001ED310 38 61 00 14 */ addi r3, r1, 0x14 /* 801F03B4 001ED314 48 14 D7 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801F03B8 001ED318 7F 43 D3 78 */ mr r3, r26 /* 801F03BC 001ED31C 38 81 00 78 */ addi r4, r1, 0x78 /* 801F03C0 001ED320 4B F6 5E 71 */ bl sub_80156230 /* 801F03C4 001ED324 28 1C 00 00 */ cmplwi r28, 0 /* 801F03C8 001ED328 41 82 00 0C */ beq lbl_801F03D4 /* 801F03CC 001ED32C 7F 83 E3 78 */ mr r3, r28 /* 801F03D0 001ED330 48 14 D7 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801F03D4: /* 801F03D4 001ED334 3B DE 00 08 */ addi r30, r30, 8 /* 801F03D8 001ED338 3B 7B 00 01 */ addi r27, r27, 1 lbl_801F03DC: /* 801F03DC 001ED33C 7C 1B C8 00 */ cmpw r27, r25 /* 801F03E0 001ED340 41 80 FE E0 */ blt lbl_801F02C0 /* 801F03E4 001ED344 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 801F03E8 001ED348 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801F03EC 001ED34C 7C 08 03 A6 */ mtlr r0 /* 801F03F0 001ED350 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801F03F4 001ED354 4E 80 00 20 */ blr .global SetupCollisionManager__17CFlaahgraTentacleFR13CStateManager SetupCollisionManager__17CFlaahgraTentacleFR13CStateManager: /* 801F03F8 001ED358 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801F03FC 001ED35C 7C 08 02 A6 */ mflr r0 /* 801F0400 001ED360 90 01 00 84 */ stw r0, 0x84(r1) /* 801F0404 001ED364 38 00 00 00 */ li r0, 0 /* 801F0408 001ED368 BF 21 00 64 */ stmw r25, 0x64(r1) /* 801F040C 001ED36C 7C 7D 1B 78 */ mr r29, r3 /* 801F0410 001ED370 7C 9E 23 78 */ mr r30, r4 /* 801F0414 001ED374 38 61 00 38 */ addi r3, r1, 0x38 /* 801F0418 001ED378 38 80 00 03 */ li r4, 3 /* 801F041C 001ED37C 90 01 00 3C */ stw r0, 0x3c(r1) /* 801F0420 001ED380 90 01 00 40 */ stw r0, 0x40(r1) /* 801F0424 001ED384 90 01 00 44 */ stw r0, 0x44(r1) /* 801F0428 001ED388 4B F6 63 91 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 801F042C 001ED38C 3C 80 80 3D */ lis r4, lbl_803D2000@ha /* 801F0430 001ED390 7F A3 EB 78 */ mr r3, r29 /* 801F0434 001ED394 38 84 20 00 */ addi r4, r4, lbl_803D2000@l /* 801F0438 001ED398 38 C1 00 38 */ addi r6, r1, 0x38 /* 801F043C 001ED39C 38 A0 00 03 */ li r5, 3 /* 801F0440 001ED3A0 4B FF FE 4D */ bl "AddSphereCollisionList__17CFlaahgraTentacleFPCQ217CFlaahgraTentacle16SSphereJointInfoiRQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>" /* 801F0444 001ED3A4 3C 80 80 3D */ lis r4, lbl_803D2018@ha /* 801F0448 001ED3A8 38 60 00 18 */ li r3, 0x18 /* 801F044C 001ED3AC 38 84 20 18 */ addi r4, r4, lbl_803D2018@l /* 801F0450 001ED3B0 38 A0 00 00 */ li r5, 0 /* 801F0454 001ED3B4 38 84 00 14 */ addi r4, r4, 0x14 /* 801F0458 001ED3B8 48 12 54 15 */ bl __nw__FUlPCcPCc /* 801F045C 001ED3BC 7C 7C 1B 79 */ or. r28, r3, r3 /* 801F0460 001ED3C0 41 82 00 38 */ beq lbl_801F0498 /* 801F0464 001ED3C4 81 3D 00 04 */ lwz r9, 4(r29) /* 801F0468 001ED3C8 7F C4 F3 78 */ mr r4, r30 /* 801F046C 001ED3CC 38 A1 00 10 */ addi r5, r1, 0x10 /* 801F0470 001ED3D0 38 C1 00 1C */ addi r6, r1, 0x1c /* 801F0474 001ED3D4 91 21 00 1C */ stw r9, 0x1c(r1) /* 801F0478 001ED3D8 38 E1 00 38 */ addi r7, r1, 0x38 /* 801F047C 001ED3DC 39 00 00 01 */ li r8, 1 /* 801F0480 001ED3E0 A0 1D 00 08 */ lhz r0, 8(r29) /* 801F0484 001ED3E4 91 21 00 18 */ stw r9, 0x18(r1) /* 801F0488 001ED3E8 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F048C 001ED3EC B0 01 00 10 */ sth r0, 0x10(r1) /* 801F0490 001ED3F0 4B FB 74 A1 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 801F0494 001ED3F4 7C 7C 1B 78 */ mr r28, r3 lbl_801F0498: /* 801F0498 001ED3F8 80 7D 05 6C */ lwz r3, 0x56c(r29) /* 801F049C 001ED3FC 38 80 00 01 */ li r4, 1 /* 801F04A0 001ED400 4B FB 74 3D */ bl sub_801a78dc /* 801F04A4 001ED404 93 9D 05 6C */ stw r28, 0x56c(r29) /* 801F04A8 001ED408 3B E0 00 00 */ li r31, 0 /* 801F04AC 001ED40C 48 00 01 50 */ b lbl_801F05FC lbl_801F04B0: /* 801F04B0 001ED410 80 7D 05 6C */ lwz r3, 0x56c(r29) /* 801F04B4 001ED414 7F E4 FB 78 */ mr r4, r31 /* 801F04B8 001ED418 4B FB 6D 81 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 801F04BC 001ED41C 7C 7C 1B 78 */ mr r28, r3 /* 801F04C0 001ED420 7F C3 F3 78 */ mr r3, r30 /* 801F04C4 001ED424 A0 1C 00 3C */ lhz r0, 0x3c(r28) /* 801F04C8 001ED428 38 81 00 08 */ addi r4, r1, 8 /* 801F04CC 001ED42C B0 01 00 14 */ sth r0, 0x14(r1) /* 801F04D0 001ED430 B0 01 00 08 */ sth r0, 8(r1) /* 801F04D4 001ED434 4B E5 C0 A1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F04D8 001ED438 7C 64 1B 78 */ mr r4, r3 /* 801F04DC 001ED43C 38 61 00 20 */ addi r3, r1, 0x20 /* 801F04E0 001ED440 4B EB EE 6D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801F04E4 001ED444 83 23 00 04 */ lwz r25, 4(r3) /* 801F04E8 001ED448 28 19 00 00 */ cmplwi r25, 0 /* 801F04EC 001ED44C 41 82 01 0C */ beq lbl_801F05F8 /* 801F04F0 001ED450 80 AD 92 88 */ lwz r5, lbl_805A7E48@sda21(r13) /* 801F04F4 001ED454 38 60 00 00 */ li r3, 0 /* 801F04F8 001ED458 38 80 00 01 */ li r4, 1 /* 801F04FC 001ED45C 48 19 99 F9 */ bl __shl2i /* 801F0500 001ED460 80 AD 92 8C */ lwz r5, lbl_805A7E4C@sda21(r13) /* 801F0504 001ED464 7C 9A 23 78 */ mr r26, r4 /* 801F0508 001ED468 7C 7B 1B 78 */ mr r27, r3 /* 801F050C 001ED46C 38 60 00 00 */ li r3, 0 /* 801F0510 001ED470 38 80 00 01 */ li r4, 1 /* 801F0514 001ED474 48 19 99 E1 */ bl __shl2i /* 801F0518 001ED478 80 AD 92 90 */ lwz r5, lbl_805A7E50@sda21(r13) /* 801F051C 001ED47C 7F 5A 23 78 */ or r26, r26, r4 /* 801F0520 001ED480 7F 7B 1B 78 */ or r27, r27, r3 /* 801F0524 001ED484 38 60 00 00 */ li r3, 0 /* 801F0528 001ED488 38 80 00 01 */ li r4, 1 /* 801F052C 001ED48C 48 19 99 C9 */ bl __shl2i /* 801F0530 001ED490 80 AD 92 94 */ lwz r5, lbl_805A7E54@sda21(r13) /* 801F0534 001ED494 7F 5A 23 78 */ or r26, r26, r4 /* 801F0538 001ED498 7F 7B 1B 78 */ or r27, r27, r3 /* 801F053C 001ED49C 38 60 00 00 */ li r3, 0 /* 801F0540 001ED4A0 38 80 00 01 */ li r4, 1 /* 801F0544 001ED4A4 48 19 99 B1 */ bl __shl2i /* 801F0548 001ED4A8 80 AD 92 84 */ lwz r5, lbl_805A7E44@sda21(r13) /* 801F054C 001ED4AC 7F 5A 23 78 */ or r26, r26, r4 /* 801F0550 001ED4B0 7F 7B 1B 78 */ or r27, r27, r3 /* 801F0554 001ED4B4 38 60 00 00 */ li r3, 0 /* 801F0558 001ED4B8 38 80 00 01 */ li r4, 1 /* 801F055C 001ED4BC 48 19 99 99 */ bl __shl2i /* 801F0560 001ED4C0 38 00 00 03 */ li r0, 3 /* 801F0564 001ED4C4 90 81 00 4C */ stw r4, 0x4c(r1) /* 801F0568 001ED4C8 38 81 00 48 */ addi r4, r1, 0x48 /* 801F056C 001ED4CC 90 61 00 48 */ stw r3, 0x48(r1) /* 801F0570 001ED4D0 7F 23 CB 78 */ mr r3, r25 /* 801F0574 001ED4D4 93 41 00 54 */ stw r26, 0x54(r1) /* 801F0578 001ED4D8 93 61 00 50 */ stw r27, 0x50(r1) /* 801F057C 001ED4DC 90 01 00 58 */ stw r0, 0x58(r1) /* 801F0580 001ED4E0 4B E6 33 21 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801F0584 001ED4E4 7F 23 CB 78 */ mr r3, r25 /* 801F0588 001ED4E8 7F C5 F3 78 */ mr r5, r30 /* 801F058C 001ED4EC 38 80 00 1B */ li r4, 0x1b /* 801F0590 001ED4F0 4B E6 3D C1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801F0594 001ED4F4 7F A3 EB 78 */ mr r3, r29 /* 801F0598 001ED4F8 81 9D 00 00 */ lwz r12, 0(r29) /* 801F059C 001ED4FC 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801F05A0 001ED500 7D 89 03 A6 */ mtctr r12 /* 801F05A4 001ED504 4E 80 04 21 */ bctrl /* 801F05A8 001ED508 7C 64 1B 78 */ mr r4, r3 /* 801F05AC 001ED50C 7F 23 CB 78 */ mr r3, r25 /* 801F05B0 001ED510 4B FB 85 E9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 801F05B4 001ED514 A0 7D 05 7C */ lhz r3, 0x57c(r29) /* 801F05B8 001ED518 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F05BC 001ED51C 7C 03 00 40 */ cmplw r3, r0 /* 801F05C0 001ED520 40 82 00 38 */ bne lbl_801F05F8 /* 801F05C4 001ED524 80 82 AE B0 */ lwz r4, lbl_805ACBD0@sda21(r2) /* 801F05C8 001ED528 38 61 00 28 */ addi r3, r1, 0x28 /* 801F05CC 001ED52C 4B E1 46 ED */ bl string_l__4rstlFPCc /* 801F05D0 001ED530 38 7C 00 2C */ addi r3, r28, 0x2c /* 801F05D4 001ED534 38 81 00 28 */ addi r4, r1, 0x28 /* 801F05D8 001ED538 4B E6 20 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" /* 801F05DC 001ED53C 7C 7C 1B 78 */ mr r28, r3 /* 801F05E0 001ED540 38 61 00 28 */ addi r3, r1, 0x28 /* 801F05E4 001ED544 48 14 D4 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801F05E8 001ED548 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801F05EC 001ED54C 41 82 00 0C */ beq lbl_801F05F8 /* 801F05F0 001ED550 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801F05F4 001ED554 B0 1D 05 7C */ sth r0, 0x57c(r29) lbl_801F05F8: /* 801F05F8 001ED558 3B FF 00 01 */ addi r31, r31, 1 lbl_801F05FC: /* 801F05FC 001ED55C 80 7D 05 6C */ lwz r3, 0x56c(r29) /* 801F0600 001ED560 4B FB 6C 49 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 801F0604 001ED564 7C 1F 18 40 */ cmplw r31, r3 /* 801F0608 001ED568 41 80 FE A8 */ blt lbl_801F04B0 /* 801F060C 001ED56C 7F A3 EB 78 */ mr r3, r29 /* 801F0610 001ED570 7F C7 F3 78 */ mr r7, r30 /* 801F0614 001ED574 38 80 00 13 */ li r4, 0x13 /* 801F0618 001ED578 38 A0 00 28 */ li r5, 0x28 /* 801F061C 001ED57C 38 C0 00 29 */ li r6, 0x29 /* 801F0620 001ED580 4B E6 37 CD */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager /* 801F0624 001ED584 7F A3 EB 78 */ mr r3, r29 /* 801F0628 001ED588 7F C5 F3 78 */ mr r5, r30 /* 801F062C 001ED58C 38 80 00 27 */ li r4, 0x27 /* 801F0630 001ED590 4B E6 3D 21 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801F0634 001ED594 38 61 00 38 */ addi r3, r1, 0x38 /* 801F0638 001ED598 38 80 FF FF */ li r4, -1 /* 801F063C 001ED59C 4B F6 5C F1 */ bl sub_8015632c /* 801F0640 001ED5A0 BB 21 00 64 */ lmw r25, 0x64(r1) /* 801F0644 001ED5A4 80 01 00 84 */ lwz r0, 0x84(r1) /* 801F0648 001ED5A8 7C 08 03 A6 */ mtlr r0 /* 801F064C 001ED5AC 38 21 00 80 */ addi r1, r1, 0x80 /* 801F0650 001ED5B0 4E 80 00 20 */ blr .global Dead__17CFlaahgraTentacleFR13CStateManager9EStateMsgf Dead__17CFlaahgraTentacleFR13CStateManager9EStateMsgf: /* 801F0654 001ED5B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F0658 001ED5B8 7C 08 02 A6 */ mflr r0 /* 801F065C 001ED5BC 38 80 00 00 */ li r4, 0 /* 801F0660 001ED5C0 90 01 00 14 */ stw r0, 0x14(r1) /* 801F0664 001ED5C4 80 63 04 50 */ lwz r3, 0x450(r3) /* 801F0668 001ED5C8 4B F4 A3 71 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F066C 001ED5CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F0670 001ED5D0 7C 08 03 A6 */ mtlr r0 /* 801F0674 001ED5D4 38 21 00 10 */ addi r1, r1, 0x10 /* 801F0678 001ED5D8 4E 80 00 20 */ blr .global Attack__17CFlaahgraTentacleFR13CStateManager9EStateMsgf Attack__17CFlaahgraTentacleFR13CStateManager9EStateMsgf: /* 801F067C 001ED5DC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F0680 001ED5E0 7C 08 02 A6 */ mflr r0 /* 801F0684 001ED5E4 2C 05 00 01 */ cmpwi r5, 1 /* 801F0688 001ED5E8 90 01 00 34 */ stw r0, 0x34(r1) /* 801F068C 001ED5EC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F0690 001ED5F0 7C 7F 1B 78 */ mr r31, r3 /* 801F0694 001ED5F4 41 82 00 2C */ beq lbl_801F06C0 /* 801F0698 001ED5F8 40 80 00 10 */ bge lbl_801F06A8 /* 801F069C 001ED5FC 2C 05 00 00 */ cmpwi r5, 0 /* 801F06A0 001ED600 40 80 00 14 */ bge lbl_801F06B4 /* 801F06A4 001ED604 48 00 01 64 */ b lbl_801F0808 lbl_801F06A8: /* 801F06A8 001ED608 2C 05 00 03 */ cmpwi r5, 3 /* 801F06AC 001ED60C 40 80 01 5C */ bge lbl_801F0808 /* 801F06B0 001ED610 48 00 01 38 */ b lbl_801F07E8 lbl_801F06B4: /* 801F06B4 001ED614 38 00 00 00 */ li r0, 0 /* 801F06B8 001ED618 90 1F 05 68 */ stw r0, 0x568(r31) /* 801F06BC 001ED61C 48 00 01 4C */ b lbl_801F0808 lbl_801F06C0: /* 801F06C0 001ED620 80 1F 05 68 */ lwz r0, 0x568(r31) /* 801F06C4 001ED624 2C 00 00 01 */ cmpwi r0, 1 /* 801F06C8 001ED628 41 82 01 40 */ beq lbl_801F0808 /* 801F06CC 001ED62C 40 80 00 10 */ bge lbl_801F06DC /* 801F06D0 001ED630 2C 00 00 00 */ cmpwi r0, 0 /* 801F06D4 001ED634 40 80 00 14 */ bge lbl_801F06E8 /* 801F06D8 001ED638 48 00 01 30 */ b lbl_801F0808 lbl_801F06DC: /* 801F06DC 001ED63C 2C 00 00 03 */ cmpwi r0, 3 /* 801F06E0 001ED640 40 80 01 28 */ bge lbl_801F0808 /* 801F06E4 001ED644 48 00 00 E8 */ b lbl_801F07CC lbl_801F06E8: /* 801F06E8 001ED648 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F06EC 001ED64C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801F06F0 001ED650 2C 00 00 07 */ cmpwi r0, 7 /* 801F06F4 001ED654 40 82 00 10 */ bne lbl_801F0704 /* 801F06F8 001ED658 38 00 00 02 */ li r0, 2 /* 801F06FC 001ED65C 90 1F 05 68 */ stw r0, 0x568(r31) /* 801F0700 001ED660 48 00 01 08 */ b lbl_801F0808 lbl_801F0704: /* 801F0704 001ED664 C0 3F 05 78 */ lfs f1, 0x578(r31) /* 801F0708 001ED668 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F070C 001ED66C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0710 001ED670 40 81 00 0C */ ble lbl_801F071C /* 801F0714 001ED674 39 00 00 00 */ li r8, 0 /* 801F0718 001ED678 48 00 00 08 */ b lbl_801F0720 lbl_801F071C: /* 801F071C 001ED67C 39 00 00 01 */ li r8, 1 lbl_801F0720: /* 801F0720 001ED680 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801F0724 001ED684 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F0728 001ED688 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801F072C 001ED68C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F0730 001ED690 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l /* 801F0734 001ED694 C0 44 00 00 */ lfs f2, 0(r4) /* 801F0738 001ED698 C0 24 00 04 */ lfs f1, 4(r4) /* 801F073C 001ED69C 3C A0 80 3E */ lis r5, lbl_803DA9D8@ha /* 801F0740 001ED6A0 C0 04 00 08 */ lfs f0, 8(r4) /* 801F0744 001ED6A4 38 C0 00 05 */ li r6, 5 /* 801F0748 001ED6A8 38 00 00 00 */ li r0, 0 /* 801F074C 001ED6AC 3B E3 00 04 */ addi r31, r3, 4 /* 801F0750 001ED6B0 90 E1 00 08 */ stw r7, 8(r1) /* 801F0754 001ED6B4 38 A5 A9 D8 */ addi r5, r5, lbl_803DA9D8@l /* 801F0758 001ED6B8 7F E3 FB 78 */ mr r3, r31 /* 801F075C 001ED6BC 38 80 00 05 */ li r4, 5 /* 801F0760 001ED6C0 90 C1 00 0C */ stw r6, 0xc(r1) /* 801F0764 001ED6C4 90 A1 00 08 */ stw r5, 8(r1) /* 801F0768 001ED6C8 91 01 00 10 */ stw r8, 0x10(r1) /* 801F076C 001ED6CC D0 41 00 14 */ stfs f2, 0x14(r1) /* 801F0770 001ED6D0 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F0774 001ED6D4 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801F0778 001ED6D8 98 01 00 20 */ stb r0, 0x20(r1) /* 801F077C 001ED6DC 4B F4 0C BD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F0780 001ED6E0 80 01 00 0C */ lwz r0, 0xc(r1) /* 801F0784 001ED6E4 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 801F0788 001ED6E8 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 801F078C 001ED6EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F0790 001ED6F0 90 1F 01 10 */ stw r0, 0x110(r31) /* 801F0794 001ED6F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F0798 001ED6F8 80 61 00 10 */ lwz r3, 0x10(r1) /* 801F079C 001ED6FC 80 A1 00 14 */ lwz r5, 0x14(r1) /* 801F07A0 001ED700 90 7F 01 14 */ stw r3, 0x114(r31) /* 801F07A4 001ED704 80 61 00 18 */ lwz r3, 0x18(r1) /* 801F07A8 001ED708 90 BF 01 18 */ stw r5, 0x118(r31) /* 801F07AC 001ED70C 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801F07B0 001ED710 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801F07B4 001ED714 88 61 00 20 */ lbz r3, 0x20(r1) /* 801F07B8 001ED718 90 BF 01 20 */ stw r5, 0x120(r31) /* 801F07BC 001ED71C 90 81 00 08 */ stw r4, 8(r1) /* 801F07C0 001ED720 98 7F 01 24 */ stb r3, 0x124(r31) /* 801F07C4 001ED724 90 01 00 08 */ stw r0, 8(r1) /* 801F07C8 001ED728 48 00 00 40 */ b lbl_801F0808 lbl_801F07CC: /* 801F07CC 001ED72C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F07D0 001ED730 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801F07D4 001ED734 2C 00 00 07 */ cmpwi r0, 7 /* 801F07D8 001ED738 41 82 00 30 */ beq lbl_801F0808 /* 801F07DC 001ED73C 38 00 00 03 */ li r0, 3 /* 801F07E0 001ED740 90 1F 05 68 */ stw r0, 0x568(r31) /* 801F07E4 001ED744 48 00 00 24 */ b lbl_801F0808 lbl_801F07E8: /* 801F07E8 001ED748 80 64 09 00 */ lwz r3, 0x900(r4) /* 801F07EC 001ED74C 48 12 1C F1 */ bl Float__9CRandom16Fv /* 801F07F0 001ED750 C0 7F 03 08 */ lfs f3, 0x308(r31) /* 801F07F4 001ED754 C0 5F 03 04 */ lfs f2, 0x304(r31) /* 801F07F8 001ED758 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F07FC 001ED75C EC 23 10 7A */ fmadds f1, f3, f1, f2 /* 801F0800 001ED760 D0 3F 05 74 */ stfs f1, 0x574(r31) /* 801F0804 001ED764 D0 1F 05 78 */ stfs f0, 0x578(r31) lbl_801F0808: /* 801F0808 001ED768 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F080C 001ED76C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F0810 001ED770 7C 08 03 A6 */ mtlr r0 /* 801F0814 001ED774 38 21 00 30 */ addi r1, r1, 0x30 /* 801F0818 001ED778 4E 80 00 20 */ blr .global Retreat__17CFlaahgraTentacleFR13CStateManager9EStateMsgf Retreat__17CFlaahgraTentacleFR13CStateManager9EStateMsgf: /* 801F081C 001ED77C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F0820 001ED780 7C 08 02 A6 */ mflr r0 /* 801F0824 001ED784 2C 05 00 02 */ cmpwi r5, 2 /* 801F0828 001ED788 90 01 00 24 */ stw r0, 0x24(r1) /* 801F082C 001ED78C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F0830 001ED790 7C 7F 1B 78 */ mr r31, r3 /* 801F0834 001ED794 41 82 00 78 */ beq lbl_801F08AC /* 801F0838 001ED798 40 80 00 84 */ bge lbl_801F08BC /* 801F083C 001ED79C 2C 05 00 01 */ cmpwi r5, 1 /* 801F0840 001ED7A0 40 80 00 08 */ bge lbl_801F0848 /* 801F0844 001ED7A4 48 00 00 78 */ b lbl_801F08BC lbl_801F0848: /* 801F0848 001ED7A8 88 1F 05 8E */ lbz r0, 0x58e(r31) /* 801F084C 001ED7AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F0850 001ED7B0 41 82 00 6C */ beq lbl_801F08BC /* 801F0854 001ED7B4 C0 3F 03 38 */ lfs f1, 0x338(r31) /* 801F0858 001ED7B8 C0 02 AE BC */ lfs f0, lbl_805ACBDC@sda21(r2) /* 801F085C 001ED7BC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0860 001ED7C0 40 81 00 5C */ ble lbl_801F08BC /* 801F0864 001ED7C4 A0 1F 05 8C */ lhz r0, 0x58c(r31) /* 801F0868 001ED7C8 7C 83 23 78 */ mr r3, r4 /* 801F086C 001ED7CC 38 81 00 08 */ addi r4, r1, 8 /* 801F0870 001ED7D0 B0 01 00 08 */ sth r0, 8(r1) /* 801F0874 001ED7D4 4B E5 BD 01 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F0878 001ED7D8 7C 64 1B 78 */ mr r4, r3 /* 801F087C 001ED7DC 38 61 00 0C */ addi r3, r1, 0xc /* 801F0880 001ED7E0 4B EB 66 69 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 801F0884 001ED7E4 80 63 00 04 */ lwz r3, 4(r3) /* 801F0888 001ED7E8 28 03 00 00 */ cmplwi r3, 0 /* 801F088C 001ED7EC 41 82 00 30 */ beq lbl_801F08BC /* 801F0890 001ED7F0 88 03 01 48 */ lbz r0, 0x148(r3) /* 801F0894 001ED7F4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801F0898 001ED7F8 40 82 00 24 */ bne lbl_801F08BC /* 801F089C 001ED7FC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F08A0 001ED800 38 80 00 01 */ li r4, 1 /* 801F08A4 001ED804 4B F4 A1 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F08A8 001ED808 48 00 00 14 */ b lbl_801F08BC lbl_801F08AC: /* 801F08AC 001ED80C 88 1F 05 8E */ lbz r0, 0x58e(r31) /* 801F08B0 001ED810 38 60 00 00 */ li r3, 0 /* 801F08B4 001ED814 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F08B8 001ED818 98 1F 05 8E */ stb r0, 0x58e(r31) lbl_801F08BC: /* 801F08BC 001ED81C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F08C0 001ED820 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F08C4 001ED824 7C 08 03 A6 */ mtlr r0 /* 801F08C8 001ED828 38 21 00 20 */ addi r1, r1, 0x20 .global sub_801f08cc sub_801f08cc: /* 801F08CC 001ED82C 4E 80 00 20 */ blr .global InActive__17CFlaahgraTentacleFR13CStateManager9EStateMsgf InActive__17CFlaahgraTentacleFR13CStateManager9EStateMsgf: /* 801F08D0 001ED830 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F08D4 001ED834 7C 08 02 A6 */ mflr r0 /* 801F08D8 001ED838 90 01 00 34 */ stw r0, 0x34(r1) /* 801F08DC 001ED83C DB E1 00 20 */ stfd f31, 0x20(r1) /* 801F08E0 001ED840 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801F08E4 001ED844 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F08E8 001ED848 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F08EC 001ED84C FF E0 08 90 */ fmr f31, f1 /* 801F08F0 001ED850 2C 05 00 01 */ cmpwi r5, 1 /* 801F08F4 001ED854 7C 7E 1B 78 */ mr r30, r3 /* 801F08F8 001ED858 7C 9F 23 78 */ mr r31, r4 /* 801F08FC 001ED85C 41 82 00 20 */ beq lbl_801F091C /* 801F0900 001ED860 40 80 00 A4 */ bge lbl_801F09A4 /* 801F0904 001ED864 2C 05 00 00 */ cmpwi r5, 0 /* 801F0908 001ED868 40 80 00 08 */ bge lbl_801F0910 /* 801F090C 001ED86C 48 00 00 98 */ b lbl_801F09A4 lbl_801F0910: /* 801F0910 001ED870 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F0914 001ED874 D0 1E 05 70 */ stfs f0, 0x570(r30) /* 801F0918 001ED878 48 00 00 8C */ b lbl_801F09A4 lbl_801F091C: /* 801F091C 001ED87C 81 83 00 00 */ lwz r12, 0(r3) /* 801F0920 001ED880 C0 22 AE B4 */ lfs f1, lbl_805ACBD4@sda21(r2) /* 801F0924 001ED884 81 8C 02 30 */ lwz r12, 0x230(r12) /* 801F0928 001ED888 7D 89 03 A6 */ mtctr r12 /* 801F092C 001ED88C 4E 80 04 21 */ bctrl /* 801F0930 001ED890 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F0934 001ED894 40 82 00 70 */ bne lbl_801F09A4 /* 801F0938 001ED898 A0 1E 05 8C */ lhz r0, 0x58c(r30) /* 801F093C 001ED89C 7F E3 FB 78 */ mr r3, r31 /* 801F0940 001ED8A0 38 81 00 08 */ addi r4, r1, 8 /* 801F0944 001ED8A4 B0 01 00 08 */ sth r0, 8(r1) /* 801F0948 001ED8A8 4B E5 BC 2D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F094C 001ED8AC 7C 64 1B 78 */ mr r4, r3 /* 801F0950 001ED8B0 38 61 00 0C */ addi r3, r1, 0xc /* 801F0954 001ED8B4 4B EB 65 95 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 801F0958 001ED8B8 80 63 00 04 */ lwz r3, 4(r3) /* 801F095C 001ED8BC 28 03 00 00 */ cmplwi r3, 0 /* 801F0960 001ED8C0 41 82 00 44 */ beq lbl_801F09A4 /* 801F0964 001ED8C4 88 03 01 48 */ lbz r0, 0x148(r3) /* 801F0968 001ED8C8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801F096C 001ED8CC 41 82 00 38 */ beq lbl_801F09A4 /* 801F0970 001ED8D0 C0 3E 05 70 */ lfs f1, 0x570(r30) /* 801F0974 001ED8D4 C0 02 AE BC */ lfs f0, lbl_805ACBDC@sda21(r2) /* 801F0978 001ED8D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F097C 001ED8DC 40 81 00 20 */ ble lbl_801F099C /* 801F0980 001ED8E0 7F C3 F3 78 */ mr r3, r30 /* 801F0984 001ED8E4 7F E4 FB 78 */ mr r4, r31 /* 801F0988 001ED8E8 4B FF F7 C5 */ bl RetractTentacle__17CFlaahgraTentacleFR13CStateManager /* 801F098C 001ED8EC 7F C3 F3 78 */ mr r3, r30 /* 801F0990 001ED8F0 7F E4 FB 78 */ mr r4, r31 /* 801F0994 001ED8F4 4B FF F8 49 */ bl ExtractTentacle__17CFlaahgraTentacleFR13CStateManager /* 801F0998 001ED8F8 48 00 00 0C */ b lbl_801F09A4 lbl_801F099C: /* 801F099C 001ED8FC EC 01 F8 2A */ fadds f0, f1, f31 /* 801F09A0 001ED900 D0 1E 05 70 */ stfs f0, 0x570(r30) lbl_801F09A4: /* 801F09A4 001ED904 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801F09A8 001ED908 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F09AC 001ED90C CB E1 00 20 */ lfd f31, 0x20(r1) /* 801F09B0 001ED910 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F09B4 001ED914 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F09B8 001ED918 7C 08 03 A6 */ mtlr r0 /* 801F09BC 001ED91C 38 21 00 30 */ addi r1, r1, 0x30 /* 801F09C0 001ED920 4E 80 00 20 */ blr .global AnimOver__17CFlaahgraTentacleFR13CStateManagerf AnimOver__17CFlaahgraTentacleFR13CStateManagerf: /* 801F09C4 001ED924 80 03 05 68 */ lwz r0, 0x568(r3) /* 801F09C8 001ED928 20 00 00 03 */ subfic r0, r0, 3 /* 801F09CC 001ED92C 7C 00 00 34 */ cntlzw r0, r0 /* 801F09D0 001ED930 54 03 D9 7E */ srwi r3, r0, 5 /* 801F09D4 001ED934 4E 80 00 20 */ blr .global ShouldAttack__17CFlaahgraTentacleFR13CStateManagerf ShouldAttack__17CFlaahgraTentacleFR13CStateManagerf: /* 801F09D8 001ED938 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F09DC 001ED93C 7C 08 02 A6 */ mflr r0 /* 801F09E0 001ED940 C0 22 AE B4 */ lfs f1, lbl_805ACBD4@sda21(r2) /* 801F09E4 001ED944 90 01 00 34 */ stw r0, 0x34(r1) /* 801F09E8 001ED948 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F09EC 001ED94C 7C 9F 23 78 */ mr r31, r4 /* 801F09F0 001ED950 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F09F4 001ED954 7C 7E 1B 78 */ mr r30, r3 /* 801F09F8 001ED958 C0 03 05 78 */ lfs f0, 0x578(r3) /* 801F09FC 001ED95C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F0A00 001ED960 40 81 00 0C */ ble lbl_801F0A0C /* 801F0A04 001ED964 38 60 00 01 */ li r3, 1 /* 801F0A08 001ED968 48 00 00 C4 */ b lbl_801F0ACC lbl_801F0A0C: /* 801F0A0C 001ED96C C0 1E 05 74 */ lfs f0, 0x574(r30) /* 801F0A10 001ED970 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F0A14 001ED974 4C 40 13 82 */ cror 2, 0, 2 /* 801F0A18 001ED978 40 82 00 B0 */ bne lbl_801F0AC8 /* 801F0A1C 001ED97C 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801F0A20 001ED980 88 03 09 C4 */ lbz r0, 0x9c4(r3) /* 801F0A24 001ED984 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801F0A28 001ED988 40 82 00 A0 */ bne lbl_801F0AC8 /* 801F0A2C 001ED98C A0 1E 05 7C */ lhz r0, 0x57c(r30) /* 801F0A30 001ED990 7F E3 FB 78 */ mr r3, r31 /* 801F0A34 001ED994 38 81 00 08 */ addi r4, r1, 8 /* 801F0A38 001ED998 B0 01 00 08 */ sth r0, 8(r1) /* 801F0A3C 001ED99C 4B E5 BB 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F0A40 001ED9A0 7C 64 1B 78 */ mr r4, r3 /* 801F0A44 001ED9A4 38 61 00 0C */ addi r3, r1, 0xc /* 801F0A48 001ED9A8 4B EB E9 05 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801F0A4C 001ED9AC 80 83 00 04 */ lwz r4, 4(r3) /* 801F0A50 001ED9B0 28 04 00 00 */ cmplwi r4, 0 /* 801F0A54 001ED9B4 41 82 00 74 */ beq lbl_801F0AC8 /* 801F0A58 001ED9B8 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801F0A5C 001ED9BC 38 61 00 14 */ addi r3, r1, 0x14 /* 801F0A60 001ED9C0 C0 24 00 40 */ lfs f1, 0x40(r4) /* 801F0A64 001ED9C4 C0 65 00 40 */ lfs f3, 0x40(r5) /* 801F0A68 001ED9C8 C0 45 00 50 */ lfs f2, 0x50(r5) /* 801F0A6C 001ED9CC C0 04 00 50 */ lfs f0, 0x50(r4) /* 801F0A70 001ED9D0 EC 23 08 28 */ fsubs f1, f3, f1 /* 801F0A74 001ED9D4 EC 42 00 28 */ fsubs f2, f2, f0 /* 801F0A78 001ED9D8 48 12 37 89 */ bl __ct__9CVector2fFff /* 801F0A7C 001ED9DC C0 21 00 14 */ lfs f1, 0x14(r1) /* 801F0A80 001ED9E0 38 61 00 1C */ addi r3, r1, 0x1c /* 801F0A84 001ED9E4 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801F0A88 001ED9E8 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801F0A8C 001ED9EC D0 01 00 20 */ stfs f0, 0x20(r1) /* 801F0A90 001ED9F0 48 12 36 4D */ bl MagSquared__9CVector2fCFv /* 801F0A94 001ED9F4 C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 801F0A98 001ED9F8 38 60 00 00 */ li r3, 0 /* 801F0A9C 001ED9FC C0 5E 03 00 */ lfs f2, 0x300(r30) /* 801F0AA0 001EDA00 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F0AA4 001EDA04 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801F0AA8 001EDA08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0AAC 001EDA0C 4C 41 13 82 */ cror 2, 1, 2 /* 801F0AB0 001EDA10 40 82 00 1C */ bne lbl_801F0ACC /* 801F0AB4 001EDA14 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 801F0AB8 001EDA18 4C 40 13 82 */ cror 2, 0, 2 /* 801F0ABC 001EDA1C 40 82 00 10 */ bne lbl_801F0ACC /* 801F0AC0 001EDA20 38 60 00 01 */ li r3, 1 /* 801F0AC4 001EDA24 48 00 00 08 */ b lbl_801F0ACC lbl_801F0AC8: /* 801F0AC8 001EDA28 38 60 00 00 */ li r3, 0 lbl_801F0ACC: /* 801F0ACC 001EDA2C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F0AD0 001EDA30 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F0AD4 001EDA34 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F0AD8 001EDA38 7C 08 03 A6 */ mtlr r0 /* 801F0ADC 001EDA3C 38 21 00 30 */ addi r1, r1, 0x30 /* 801F0AE0 001EDA40 4E 80 00 20 */ blr .global Inside__17CFlaahgraTentacleFR13CStateManagerf Inside__17CFlaahgraTentacleFR13CStateManagerf: /* 801F0AE4 001EDA44 80 63 04 50 */ lwz r3, 0x450(r3) /* 801F0AE8 001EDA48 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 801F0AEC 001EDA4C 7C 00 00 34 */ cntlzw r0, r0 /* 801F0AF0 001EDA50 54 03 D9 7E */ srwi r3, r0, 5 /* 801F0AF4 001EDA54 4E 80 00 20 */ blr .global Death__17CFlaahgraTentacleFRC9CVector3fR13CStateManager Death__17CFlaahgraTentacleFRC9CVector3fR13CStateManager: /* 801F0AF8 001EDA58 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F0AFC 001EDA5C 7C 08 02 A6 */ mflr r0 /* 801F0B00 001EDA60 90 01 00 24 */ stw r0, 0x24(r1) /* 801F0B04 001EDA64 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F0B08 001EDA68 7C 9F 23 78 */ mr r31, r4 /* 801F0B0C 001EDA6C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F0B10 001EDA70 7C 7E 1B 78 */ mr r30, r3 /* 801F0B14 001EDA74 88 03 04 00 */ lbz r0, 0x400(r3) /* 801F0B18 001EDA78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F0B1C 001EDA7C 41 82 00 6C */ beq lbl_801F0B88 /* 801F0B20 001EDA80 3C 80 80 3D */ lis r4, lbl_803D2018@ha /* 801F0B24 001EDA84 38 61 00 08 */ addi r3, r1, 8 /* 801F0B28 001EDA88 38 84 20 18 */ addi r4, r4, lbl_803D2018@l /* 801F0B2C 001EDA8C 38 84 00 1B */ addi r4, r4, 0x1b /* 801F0B30 001EDA90 4B E1 41 89 */ bl string_l__4rstlFPCc /* 801F0B34 001EDA94 7F C3 F3 78 */ mr r3, r30 /* 801F0B38 001EDA98 4B EB 1D C1 */ bl GetStateMachine__3CAiFv /* 801F0B3C 001EDA9C 7C 66 1B 78 */ mr r6, r3 /* 801F0B40 001EDAA0 7F E4 FB 78 */ mr r4, r31 /* 801F0B44 001EDAA4 7F C5 F3 78 */ mr r5, r30 /* 801F0B48 001EDAA8 38 7E 03 30 */ addi r3, r30, 0x330 /* 801F0B4C 001EDAAC 38 E1 00 08 */ addi r7, r1, 8 /* 801F0B50 001EDAB0 4B E8 F0 B5 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801F0B54 001EDAB4 38 61 00 08 */ addi r3, r1, 8 /* 801F0B58 001EDAB8 48 14 CF 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801F0B5C 001EDABC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F0B60 001EDAC0 4B F4 95 6D */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801F0B64 001EDAC4 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F0B68 001EDAC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0B6C 001EDACC 40 81 00 0C */ ble lbl_801F0B78 /* 801F0B70 001EDAD0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F0B74 001EDAD4 4B F4 95 E1 */ bl UnFreeze__15CBodyControllerFv lbl_801F0B78: /* 801F0B78 001EDAD8 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F0B7C 001EDADC 38 60 00 00 */ li r3, 0 /* 801F0B80 001EDAE0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801F0B84 001EDAE4 98 1E 04 00 */ stb r0, 0x400(r30) lbl_801F0B88: /* 801F0B88 001EDAE8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F0B8C 001EDAEC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F0B90 001EDAF0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F0B94 001EDAF4 7C 08 03 A6 */ mtlr r0 /* 801F0B98 001EDAF8 38 21 00 20 */ addi r1, r1, 0x20 /* 801F0B9C 001EDAFC 4E 80 00 20 */ blr .global GetAimPosition__17CFlaahgraTentacleCFRC13CStateManagerf GetAimPosition__17CFlaahgraTentacleCFRC13CStateManagerf: /* 801F0BA0 001EDB00 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801F0BA4 001EDB04 7C 08 02 A6 */ mflr r0 /* 801F0BA8 001EDB08 90 01 00 44 */ stw r0, 0x44(r1) /* 801F0BAC 001EDB0C DB E1 00 30 */ stfd f31, 0x30(r1) /* 801F0BB0 001EDB10 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801F0BB4 001EDB14 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F0BB8 001EDB18 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F0BBC 001EDB1C 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F0BC0 001EDB20 7C 9E 23 78 */ mr r30, r4 /* 801F0BC4 001EDB24 FF E0 08 90 */ fmr f31, f1 /* 801F0BC8 001EDB28 A0 04 05 7C */ lhz r0, 0x57c(r4) /* 801F0BCC 001EDB2C 7C BF 2B 78 */ mr r31, r5 /* 801F0BD0 001EDB30 7C 7D 1B 78 */ mr r29, r3 /* 801F0BD4 001EDB34 38 81 00 08 */ addi r4, r1, 8 /* 801F0BD8 001EDB38 B0 01 00 08 */ sth r0, 8(r1) /* 801F0BDC 001EDB3C 7F E3 FB 78 */ mr r3, r31 /* 801F0BE0 001EDB40 4B E5 B9 C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F0BE4 001EDB44 7C 64 1B 78 */ mr r4, r3 /* 801F0BE8 001EDB48 38 61 00 0C */ addi r3, r1, 0xc /* 801F0BEC 001EDB4C 4B EB E7 61 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801F0BF0 001EDB50 80 63 00 04 */ lwz r3, 4(r3) /* 801F0BF4 001EDB54 28 03 00 00 */ cmplwi r3, 0 /* 801F0BF8 001EDB58 41 82 00 20 */ beq lbl_801F0C18 /* 801F0BFC 001EDB5C C0 43 00 60 */ lfs f2, 0x60(r3) /* 801F0C00 001EDB60 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801F0C04 001EDB64 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801F0C08 001EDB68 D0 1D 00 00 */ stfs f0, 0(r29) /* 801F0C0C 001EDB6C D0 3D 00 04 */ stfs f1, 4(r29) /* 801F0C10 001EDB70 D0 5D 00 08 */ stfs f2, 8(r29) /* 801F0C14 001EDB74 48 00 00 18 */ b lbl_801F0C2C lbl_801F0C18: /* 801F0C18 001EDB78 FC 20 F8 90 */ fmr f1, f31 /* 801F0C1C 001EDB7C 7F A3 EB 78 */ mr r3, r29 /* 801F0C20 001EDB80 7F C4 F3 78 */ mr r4, r30 /* 801F0C24 001EDB84 7F E5 FB 78 */ mr r5, r31 /* 801F0C28 001EDB88 4B E8 79 C1 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf lbl_801F0C2C: /* 801F0C2C 001EDB8C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801F0C30 001EDB90 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F0C34 001EDB94 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801F0C38 001EDB98 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F0C3C 001EDB9C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F0C40 001EDBA0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F0C44 001EDBA4 7C 08 03 A6 */ mtlr r0 /* 801F0C48 001EDBA8 38 21 00 40 */ addi r1, r1, 0x40 /* 801F0C4C 001EDBAC 4E 80 00 20 */ blr .global AcceptScriptMsg__17CFlaahgraTentacleF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__17CFlaahgraTentacleF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801F0C50 001EDBB0 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801F0C54 001EDBB4 7C 08 02 A6 */ mflr r0 /* 801F0C58 001EDBB8 90 01 00 94 */ stw r0, 0x94(r1) /* 801F0C5C 001EDBBC BF 61 00 7C */ stmw r27, 0x7c(r1) /* 801F0C60 001EDBC0 7C 9D 23 78 */ mr r29, r4 /* 801F0C64 001EDBC4 38 1D FF FD */ addi r0, r29, -3 /* 801F0C68 001EDBC8 7C 7C 1B 78 */ mr r28, r3 /* 801F0C6C 001EDBCC 28 00 00 20 */ cmplwi r0, 0x20 /* 801F0C70 001EDBD0 7C BE 2B 78 */ mr r30, r5 /* 801F0C74 001EDBD4 7C DF 33 78 */ mr r31, r6 /* 801F0C78 001EDBD8 41 81 01 C8 */ bgt lbl_801F0E40 /* 801F0C7C 001EDBDC 3C 80 80 3E */ lis r4, lbl_803E66D4@ha /* 801F0C80 001EDBE0 54 00 10 3A */ slwi r0, r0, 2 /* 801F0C84 001EDBE4 38 84 66 D4 */ addi r4, r4, lbl_803E66D4@l /* 801F0C88 001EDBE8 7C 04 00 2E */ lwzx r0, r4, r0 /* 801F0C8C 001EDBEC 7C 09 03 A6 */ mtctr r0 /* 801F0C90 001EDBF0 4E 80 04 20 */ bctr /* 801F0C94 001EDBF4 80 7C 04 50 */ lwz r3, 0x450(r28) /* 801F0C98 001EDBF8 7F E4 FB 78 */ mr r4, r31 /* 801F0C9C 001EDBFC 4B F4 A0 55 */ bl Activate__15CBodyControllerFR13CStateManager /* 801F0CA0 001EDC00 7F 83 E3 78 */ mr r3, r28 /* 801F0CA4 001EDC04 7F E4 FB 78 */ mr r4, r31 /* 801F0CA8 001EDC08 4B FF F7 51 */ bl SetupCollisionManager__17CFlaahgraTentacleFR13CStateManager /* 801F0CAC 001EDC0C 48 00 01 94 */ b lbl_801F0E40 /* 801F0CB0 001EDC10 80 7C 05 6C */ lwz r3, 0x56c(r28) /* 801F0CB4 001EDC14 7F E4 FB 78 */ mr r4, r31 /* 801F0CB8 001EDC18 4B FB 67 0D */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 801F0CBC 001EDC1C A0 1C 05 8C */ lhz r0, 0x58c(r28) /* 801F0CC0 001EDC20 7F E3 FB 78 */ mr r3, r31 /* 801F0CC4 001EDC24 38 81 00 2C */ addi r4, r1, 0x2c /* 801F0CC8 001EDC28 B0 01 00 2C */ sth r0, 0x2c(r1) /* 801F0CCC 001EDC2C 4B E5 B8 A9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F0CD0 001EDC30 7C 64 1B 78 */ mr r4, r3 /* 801F0CD4 001EDC34 38 61 00 38 */ addi r3, r1, 0x38 /* 801F0CD8 001EDC38 4B EB 62 11 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 801F0CDC 001EDC3C 83 63 00 04 */ lwz r27, 4(r3) /* 801F0CE0 001EDC40 28 1B 00 00 */ cmplwi r27, 0 /* 801F0CE4 001EDC44 41 82 01 5C */ beq lbl_801F0E40 /* 801F0CE8 001EDC48 C0 1C 05 80 */ lfs f0, 0x580(r28) /* 801F0CEC 001EDC4C 38 7C 05 80 */ addi r3, r28, 0x580 /* 801F0CF0 001EDC50 D0 1B 01 1C */ stfs f0, 0x11c(r27) /* 801F0CF4 001EDC54 C0 1C 05 84 */ lfs f0, 0x584(r28) /* 801F0CF8 001EDC58 D0 1B 01 20 */ stfs f0, 0x120(r27) /* 801F0CFC 001EDC5C C0 1C 05 88 */ lfs f0, 0x588(r28) /* 801F0D00 001EDC60 D0 1B 01 24 */ stfs f0, 0x124(r27) /* 801F0D04 001EDC64 48 12 3B B5 */ bl Magnitude__9CVector3fCFv /* 801F0D08 001EDC68 D0 3B 01 28 */ stfs f1, 0x128(r27) /* 801F0D0C 001EDC6C 48 00 01 34 */ b lbl_801F0E40 /* 801F0D10 001EDC70 A0 1E 00 00 */ lhz r0, 0(r30) /* 801F0D14 001EDC74 7F E3 FB 78 */ mr r3, r31 /* 801F0D18 001EDC78 38 81 00 28 */ addi r4, r1, 0x28 /* 801F0D1C 001EDC7C B0 01 00 28 */ sth r0, 0x28(r1) /* 801F0D20 001EDC80 4B E5 B8 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F0D24 001EDC84 7C 64 1B 78 */ mr r4, r3 /* 801F0D28 001EDC88 38 61 00 30 */ addi r3, r1, 0x30 /* 801F0D2C 001EDC8C 4B EB E6 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 801F0D30 001EDC90 80 83 00 04 */ lwz r4, 4(r3) /* 801F0D34 001EDC94 28 04 00 00 */ cmplwi r4, 0 /* 801F0D38 001EDC98 41 82 01 08 */ beq lbl_801F0E40 /* 801F0D3C 001EDC9C 38 61 00 24 */ addi r3, r1, 0x24 /* 801F0D40 001EDCA0 4B FB 7E 4D */ bl GetLastTouchedObject__15CCollisionActorCFv /* 801F0D44 001EDCA4 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801F0D48 001EDCA8 A0 81 00 24 */ lhz r4, 0x24(r1) /* 801F0D4C 001EDCAC A0 03 00 08 */ lhz r0, 8(r3) /* 801F0D50 001EDCB0 7C 04 00 40 */ cmplw r4, r0 /* 801F0D54 001EDCB4 40 82 00 EC */ bne lbl_801F0E40 /* 801F0D58 001EDCB8 C0 3C 04 20 */ lfs f1, 0x420(r28) /* 801F0D5C 001EDCBC C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F0D60 001EDCC0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0D64 001EDCC4 4C 40 13 82 */ cror 2, 0, 2 /* 801F0D68 001EDCC8 40 82 00 D8 */ bne lbl_801F0E40 /* 801F0D6C 001EDCCC 80 AD 92 80 */ lwz r5, lbl_805A7E40@sda21(r13) /* 801F0D70 001EDCD0 38 60 00 00 */ li r3, 0 /* 801F0D74 001EDCD4 38 80 00 01 */ li r4, 1 /* 801F0D78 001EDCD8 48 19 91 7D */ bl __shl2i /* 801F0D7C 001EDCDC 38 A0 00 00 */ li r5, 0 /* 801F0D80 001EDCE0 38 00 00 03 */ li r0, 3 /* 801F0D84 001EDCE4 90 81 00 44 */ stw r4, 0x44(r1) /* 801F0D88 001EDCE8 7F 84 E3 78 */ mr r4, r28 /* 801F0D8C 001EDCEC 90 61 00 40 */ stw r3, 0x40(r1) /* 801F0D90 001EDCF0 38 61 00 58 */ addi r3, r1, 0x58 /* 801F0D94 001EDCF4 90 A1 00 4C */ stw r5, 0x4c(r1) /* 801F0D98 001EDCF8 90 A1 00 48 */ stw r5, 0x48(r1) /* 801F0D9C 001EDCFC 90 01 00 50 */ stw r0, 0x50(r1) /* 801F0DA0 001EDD00 A0 1C 00 08 */ lhz r0, 8(r28) /* 801F0DA4 001EDD04 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F0DA8 001EDD08 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801F0DAC 001EDD0C B0 01 00 0C */ sth r0, 0xc(r1) /* 801F0DB0 001EDD10 A0 A5 00 08 */ lhz r5, 8(r5) /* 801F0DB4 001EDD14 B0 A1 00 18 */ sth r5, 0x18(r1) /* 801F0DB8 001EDD18 A0 1C 00 08 */ lhz r0, 8(r28) /* 801F0DBC 001EDD1C B0 A1 00 14 */ sth r5, 0x14(r1) /* 801F0DC0 001EDD20 B0 01 00 20 */ sth r0, 0x20(r1) /* 801F0DC4 001EDD24 81 9C 00 00 */ lwz r12, 0(r28) /* 801F0DC8 001EDD28 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801F0DCC 001EDD2C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 801F0DD0 001EDD30 7D 89 03 A6 */ mtctr r12 /* 801F0DD4 001EDD34 4E 80 04 21 */ bctrl /* 801F0DD8 001EDD38 3C 80 80 5A */ lis r4, skZero3f@ha /* 801F0DDC 001EDD3C 7F E3 FB 78 */ mr r3, r31 /* 801F0DE0 001EDD40 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801F0DE4 001EDD44 38 A1 00 18 */ addi r5, r1, 0x18 /* 801F0DE8 001EDD48 38 81 00 20 */ addi r4, r1, 0x20 /* 801F0DEC 001EDD4C 38 C1 00 10 */ addi r6, r1, 0x10 /* 801F0DF0 001EDD50 38 E1 00 58 */ addi r7, r1, 0x58 /* 801F0DF4 001EDD54 39 01 00 40 */ addi r8, r1, 0x40 /* 801F0DF8 001EDD58 4B E5 92 A9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 801F0DFC 001EDD5C C0 1C 04 24 */ lfs f0, 0x424(r28) /* 801F0E00 001EDD60 D0 1C 04 20 */ stfs f0, 0x420(r28) /* 801F0E04 001EDD64 48 00 00 3C */ b lbl_801F0E40 /* 801F0E08 001EDD68 C0 02 AE C0 */ lfs f0, lbl_805ACBE0@sda21(r2) /* 801F0E0C 001EDD6C D0 1C 05 78 */ stfs f0, 0x578(r28) /* 801F0E10 001EDD70 48 00 00 30 */ b lbl_801F0E40 /* 801F0E14 001EDD74 7F E4 FB 78 */ mr r4, r31 /* 801F0E18 001EDD78 4B E8 7B E9 */ bl DeathDelete__10CPatternedFR13CStateManager /* 801F0E1C 001EDD7C 48 00 00 24 */ b lbl_801F0E40 /* 801F0E20 001EDD80 7F E4 FB 78 */ mr r4, r31 /* 801F0E24 001EDD84 4B FF F3 B9 */ bl ExtractTentacle__17CFlaahgraTentacleFR13CStateManager /* 801F0E28 001EDD88 48 00 00 18 */ b lbl_801F0E40 /* 801F0E2C 001EDD8C 7F E4 FB 78 */ mr r4, r31 /* 801F0E30 001EDD90 4B FF F3 1D */ bl RetractTentacle__17CFlaahgraTentacleFR13CStateManager /* 801F0E34 001EDD94 48 00 00 0C */ b lbl_801F0E40 /* 801F0E38 001EDD98 7F E4 FB 78 */ mr r4, r31 /* 801F0E3C 001EDD9C 4B FF F2 2D */ bl SaveBombSlotInfo__17CFlaahgraTentacleFR13CStateManager lbl_801F0E40: /* 801F0E40 001EDDA0 A0 1E 00 00 */ lhz r0, 0(r30) /* 801F0E44 001EDDA4 7F 83 E3 78 */ mr r3, r28 /* 801F0E48 001EDDA8 7F A4 EB 78 */ mr r4, r29 /* 801F0E4C 001EDDAC 7F E6 FB 78 */ mr r6, r31 /* 801F0E50 001EDDB0 B0 01 00 08 */ sth r0, 8(r1) /* 801F0E54 001EDDB4 38 A1 00 08 */ addi r5, r1, 8 /* 801F0E58 001EDDB8 4B E8 BD 21 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801F0E5C 001EDDBC BB 61 00 7C */ lmw r27, 0x7c(r1) /* 801F0E60 001EDDC0 80 01 00 94 */ lwz r0, 0x94(r1) /* 801F0E64 001EDDC4 7C 08 03 A6 */ mtlr r0 /* 801F0E68 001EDDC8 38 21 00 90 */ addi r1, r1, 0x90 /* 801F0E6C 001EDDCC 4E 80 00 20 */ blr .global Accept__17CFlaahgraTentacleFR8IVisitor Accept__17CFlaahgraTentacleFR8IVisitor: /* 801F0E70 001EDDD0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F0E74 001EDDD4 7C 08 02 A6 */ mflr r0 /* 801F0E78 001EDDD8 90 01 00 14 */ stw r0, 0x14(r1) /* 801F0E7C 001EDDDC 7C 60 1B 78 */ mr r0, r3 /* 801F0E80 001EDDE0 7C 83 23 78 */ mr r3, r4 /* 801F0E84 001EDDE4 81 84 00 00 */ lwz r12, 0(r4) /* 801F0E88 001EDDE8 7C 04 03 78 */ mr r4, r0 /* 801F0E8C 001EDDEC 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801F0E90 001EDDF0 7D 89 03 A6 */ mtctr r12 /* 801F0E94 001EDDF4 4E 80 04 21 */ bctrl /* 801F0E98 001EDDF8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F0E9C 001EDDFC 7C 08 03 A6 */ mtlr r0 /* 801F0EA0 001EDE00 38 21 00 10 */ addi r1, r1, 0x10 /* 801F0EA4 001EDE04 4E 80 00 20 */ blr .global Think__17CFlaahgraTentacleFfR13CStateManager Think__17CFlaahgraTentacleFfR13CStateManager: /* 801F0EA8 001EDE08 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F0EAC 001EDE0C 7C 08 02 A6 */ mflr r0 /* 801F0EB0 001EDE10 90 01 00 24 */ stw r0, 0x24(r1) /* 801F0EB4 001EDE14 DB E1 00 10 */ stfd f31, 0x10(r1) /* 801F0EB8 001EDE18 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 801F0EBC 001EDE1C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F0EC0 001EDE20 93 C1 00 08 */ stw r30, 8(r1) /* 801F0EC4 001EDE24 88 03 00 30 */ lbz r0, 0x30(r3) /* 801F0EC8 001EDE28 FF E0 08 90 */ fmr f31, f1 /* 801F0ECC 001EDE2C 7C 7E 1B 78 */ mr r30, r3 /* 801F0ED0 001EDE30 7C 9F 23 78 */ mr r31, r4 /* 801F0ED4 001EDE34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F0ED8 001EDE38 41 82 00 4C */ beq lbl_801F0F24 /* 801F0EDC 001EDE3C 4B E8 8C 3D */ bl Think__10CPatternedFfR13CStateManager /* 801F0EE0 001EDE40 FC 20 F8 90 */ fmr f1, f31 /* 801F0EE4 001EDE44 80 7E 05 6C */ lwz r3, 0x56c(r30) /* 801F0EE8 001EDE48 7F E4 FB 78 */ mr r4, r31 /* 801F0EEC 001EDE4C 38 A0 00 00 */ li r5, 0 /* 801F0EF0 001EDE50 4B FB 65 61 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 801F0EF4 001EDE54 C0 3E 05 74 */ lfs f1, 0x574(r30) /* 801F0EF8 001EDE58 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F0EFC 001EDE5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0F00 001EDE60 40 81 00 0C */ ble lbl_801F0F0C /* 801F0F04 001EDE64 EC 01 F8 28 */ fsubs f0, f1, f31 /* 801F0F08 001EDE68 D0 1E 05 74 */ stfs f0, 0x574(r30) lbl_801F0F0C: /* 801F0F0C 001EDE6C C0 3E 05 78 */ lfs f1, 0x578(r30) /* 801F0F10 001EDE70 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F0F14 001EDE74 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F0F18 001EDE78 40 81 00 0C */ ble lbl_801F0F24 /* 801F0F1C 001EDE7C EC 01 F8 28 */ fsubs f0, f1, f31 /* 801F0F20 001EDE80 D0 1E 05 78 */ stfs f0, 0x578(r30) lbl_801F0F24: /* 801F0F24 001EDE84 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 801F0F28 001EDE88 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F0F2C 001EDE8C CB E1 00 10 */ lfd f31, 0x10(r1) /* 801F0F30 001EDE90 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F0F34 001EDE94 83 C1 00 08 */ lwz r30, 8(r1) /* 801F0F38 001EDE98 7C 08 03 A6 */ mtlr r0 /* 801F0F3C 001EDE9C 38 21 00 20 */ addi r1, r1, 0x20 .global sub_801f0f40 sub_801f0f40: /* 801F0F40 001EDEA0 4E 80 00 20 */ blr .global __dt__17CFlaahgraTentacleFv __dt__17CFlaahgraTentacleFv: /* 801F0F44 001EDEA4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F0F48 001EDEA8 7C 08 02 A6 */ mflr r0 /* 801F0F4C 001EDEAC 90 01 00 14 */ stw r0, 0x14(r1) /* 801F0F50 001EDEB0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F0F54 001EDEB4 7C 9F 23 78 */ mr r31, r4 /* 801F0F58 001EDEB8 93 C1 00 08 */ stw r30, 8(r1) /* 801F0F5C 001EDEBC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801F0F60 001EDEC0 41 82 00 40 */ beq lbl_801F0FA0 /* 801F0F64 001EDEC4 3C 60 80 3E */ lis r3, lbl_803E6408@ha /* 801F0F68 001EDEC8 34 1E 05 6C */ addic. r0, r30, 0x56c /* 801F0F6C 001EDECC 38 03 64 08 */ addi r0, r3, lbl_803E6408@l /* 801F0F70 001EDED0 90 1E 00 00 */ stw r0, 0(r30) /* 801F0F74 001EDED4 41 82 00 10 */ beq lbl_801F0F84 /* 801F0F78 001EDED8 80 7E 05 6C */ lwz r3, 0x56c(r30) /* 801F0F7C 001EDEDC 38 80 00 01 */ li r4, 1 /* 801F0F80 001EDEE0 4B FB 69 5D */ bl sub_801a78dc lbl_801F0F84: /* 801F0F84 001EDEE4 7F C3 F3 78 */ mr r3, r30 /* 801F0F88 001EDEE8 38 80 00 00 */ li r4, 0 /* 801F0F8C 001EDEEC 4B E8 65 E5 */ bl __dt__10CPatternedFv /* 801F0F90 001EDEF0 7F E0 07 35 */ extsh. r0, r31 /* 801F0F94 001EDEF4 40 81 00 0C */ ble lbl_801F0FA0 /* 801F0F98 001EDEF8 7F C3 F3 78 */ mr r3, r30 /* 801F0F9C 001EDEFC 48 12 49 95 */ bl Free__7CMemoryFPCv lbl_801F0FA0: /* 801F0FA0 001EDF00 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F0FA4 001EDF04 7F C3 F3 78 */ mr r3, r30 /* 801F0FA8 001EDF08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F0FAC 001EDF0C 83 C1 00 08 */ lwz r30, 8(r1) /* 801F0FB0 001EDF10 7C 08 03 A6 */ mtlr r0 /* 801F0FB4 001EDF14 38 21 00 10 */ addi r1, r1, 0x10 /* 801F0FB8 001EDF18 4E 80 00 20 */ blr .global "__ct__17CFlaahgraTentacleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParameters" "__ct__17CFlaahgraTentacleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParameters": /* 801F0FBC 001EDF1C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F0FC0 001EDF20 7C 08 02 A6 */ mflr r0 /* 801F0FC4 001EDF24 39 60 00 01 */ li r11, 1 /* 801F0FC8 001EDF28 7D 0C 43 78 */ mr r12, r8 /* 801F0FCC 001EDF2C 90 01 00 34 */ stw r0, 0x34(r1) /* 801F0FD0 001EDF30 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F0FD4 001EDF34 7C 7F 1B 78 */ mr r31, r3 /* 801F0FD8 001EDF38 A0 04 00 00 */ lhz r0, 0(r4) /* 801F0FDC 001EDF3C 7C C4 33 78 */ mr r4, r6 /* 801F0FE0 001EDF40 7C A6 2B 78 */ mr r6, r5 /* 801F0FE4 001EDF44 38 A1 00 20 */ addi r5, r1, 0x20 /* 801F0FE8 001EDF48 B0 01 00 20 */ sth r0, 0x20(r1) /* 801F0FEC 001EDF4C 7C 88 23 78 */ mr r8, r4 /* 801F0FF0 001EDF50 38 00 00 02 */ li r0, 2 /* 801F0FF4 001EDF54 38 80 00 0C */ li r4, 0xc /* 801F0FF8 001EDF58 91 21 00 08 */ stw r9, 8(r1) /* 801F0FFC 001EDF5C 7C E9 3B 78 */ mr r9, r7 /* 801F1000 001EDF60 38 E0 00 00 */ li r7, 0 /* 801F1004 001EDF64 91 61 00 0C */ stw r11, 0xc(r1) /* 801F1008 001EDF68 91 61 00 10 */ stw r11, 0x10(r1) /* 801F100C 001EDF6C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F1010 001EDF70 91 41 00 18 */ stw r10, 0x18(r1) /* 801F1014 001EDF74 7D 8A 63 78 */ mr r10, r12 /* 801F1018 001EDF78 90 01 00 1C */ stw r0, 0x1c(r1) /* 801F101C 001EDF7C 4B E8 C4 35 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801F1020 001EDF80 3C 80 80 3E */ lis r4, lbl_803E6408@ha /* 801F1024 001EDF84 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F1028 001EDF88 38 84 64 08 */ addi r4, r4, lbl_803E6408@l /* 801F102C 001EDF8C 38 00 FF FF */ li r0, -1 /* 801F1030 001EDF90 90 9F 00 00 */ stw r4, 0(r31) /* 801F1034 001EDF94 38 C0 00 00 */ li r6, 0 /* 801F1038 001EDF98 C0 02 AE B4 */ lfs f0, lbl_805ACBD4@sda21(r2) /* 801F103C 001EDF9C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801F1040 001EDFA0 90 1F 05 68 */ stw r0, 0x568(r31) /* 801F1044 001EDFA4 38 7F 04 60 */ addi r3, r31, 0x460 /* 801F1048 001EDFA8 38 80 00 00 */ li r4, 0 /* 801F104C 001EDFAC 90 DF 05 6C */ stw r6, 0x56c(r31) /* 801F1050 001EDFB0 D0 1F 05 70 */ stfs f0, 0x570(r31) /* 801F1054 001EDFB4 D0 1F 05 74 */ stfs f0, 0x574(r31) /* 801F1058 001EDFB8 D0 1F 05 78 */ stfs f0, 0x578(r31) /* 801F105C 001EDFBC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F1060 001EDFC0 B0 1F 05 7C */ sth r0, 0x57c(r31) /* 801F1064 001EDFC4 C0 05 00 00 */ lfs f0, 0(r5) /* 801F1068 001EDFC8 D0 1F 05 80 */ stfs f0, 0x580(r31) /* 801F106C 001EDFCC C0 05 00 04 */ lfs f0, 4(r5) /* 801F1070 001EDFD0 D0 1F 05 84 */ stfs f0, 0x584(r31) /* 801F1074 001EDFD4 C0 05 00 08 */ lfs f0, 8(r5) /* 801F1078 001EDFD8 D0 1F 05 88 */ stfs f0, 0x588(r31) /* 801F107C 001EDFDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F1080 001EDFE0 B0 1F 05 8C */ sth r0, 0x58c(r31) /* 801F1084 001EDFE4 88 1F 05 8E */ lbz r0, 0x58e(r31) /* 801F1088 001EDFE8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 801F108C 001EDFEC 98 1F 05 8E */ stb r0, 0x58e(r31) /* 801F1090 001EDFF0 80 BF 00 90 */ lwz r5, 0x90(r31) /* 801F1094 001EDFF4 88 05 02 98 */ lbz r0, 0x298(r5) /* 801F1098 001EDFF8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801F109C 001EDFFC 98 05 02 98 */ stb r0, 0x298(r5) /* 801F10A0 001EE000 48 04 2C C5 */ bl SetAutoResetImpulse__20CKnockBackControllerFb /* 801F10A4 001EE004 7F E3 FB 78 */ mr r3, r31 /* 801F10A8 001EE008 38 80 00 00 */ li r4, 0 /* 801F10AC 001EE00C 4B E6 1C C1 */ bl CreateShadow__6CActorFb /* 801F10B0 001EE010 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F10B4 001EE014 7F E3 FB 78 */ mr r3, r31 /* 801F10B8 001EE018 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F10BC 001EE01C 7C 08 03 A6 */ mtlr r0 /* 801F10C0 001EE020 38 21 00 30 */ addi r1, r1, 0x30 /* 801F10C4 001EE024 4E 80 00 20 */ blr .global IsAnimLoaded__9CGSFidgetCFv IsAnimLoaded__9CGSFidgetCFv: /* 801F10C8 001EE028 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F10CC 001EE02C 7C 08 02 A6 */ mflr r0 /* 801F10D0 001EE030 90 01 00 14 */ stw r0, 0x14(r1) /* 801F10D4 001EE034 48 09 A1 59 */ bl "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" /* 801F10D8 001EE038 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F10DC 001EE03C 7C 08 03 A6 */ mtlr r0 /* 801F10E0 001EE040 38 21 00 10 */ addi r1, r1, 0x10 .global sub_801f10e4 sub_801f10e4: /* 801F10E4 001EE044 4E 80 00 20 */ blr .global UnLoadAnim__9CGSFidgetFv UnLoadAnim__9CGSFidgetFv: /* 801F10E8 001EE048 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F10EC 001EE04C 7C 08 02 A6 */ mflr r0 /* 801F10F0 001EE050 90 01 00 34 */ stw r0, 0x34(r1) /* 801F10F4 001EE054 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F10F8 001EE058 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F10FC 001EE05C 80 03 00 04 */ lwz r0, 4(r3) /* 801F1100 001EE060 2C 00 00 00 */ cmpwi r0, 0 /* 801F1104 001EE064 41 82 00 68 */ beq lbl_801F116C /* 801F1108 001EE068 38 00 00 00 */ li r0, 0 /* 801F110C 001EE06C 38 81 00 18 */ addi r4, r1, 0x18 /* 801F1110 001EE070 90 01 00 1C */ stw r0, 0x1c(r1) /* 801F1114 001EE074 90 01 00 20 */ stw r0, 0x20(r1) /* 801F1118 001EE078 90 01 00 24 */ stw r0, 0x24(r1) /* 801F111C 001EE07C 4B E1 56 E9 */ bl sub_80006804 /* 801F1120 001EE080 80 01 00 1C */ lwz r0, 0x1c(r1) /* 801F1124 001EE084 83 C1 00 24 */ lwz r30, 0x24(r1) /* 801F1128 001EE088 54 00 18 38 */ slwi r0, r0, 3 /* 801F112C 001EE08C 7F FE 02 14 */ add r31, r30, r0 /* 801F1130 001EE090 93 C1 00 0C */ stw r30, 0xc(r1) /* 801F1134 001EE094 93 E1 00 14 */ stw r31, 0x14(r1) /* 801F1138 001EE098 93 E1 00 10 */ stw r31, 0x10(r1) /* 801F113C 001EE09C 93 C1 00 08 */ stw r30, 8(r1) /* 801F1140 001EE0A0 48 00 00 14 */ b lbl_801F1154 lbl_801F1144: /* 801F1144 001EE0A4 7F C3 F3 78 */ mr r3, r30 /* 801F1148 001EE0A8 38 80 FF FF */ li r4, -1 /* 801F114C 001EE0AC 48 14 FC F5 */ bl __dt__6CTokenFv /* 801F1150 001EE0B0 3B DE 00 08 */ addi r30, r30, 8 lbl_801F1154: /* 801F1154 001EE0B4 7C 1E F8 40 */ cmplw r30, r31 /* 801F1158 001EE0B8 40 82 FF EC */ bne lbl_801F1144 /* 801F115C 001EE0BC 80 61 00 24 */ lwz r3, 0x24(r1) /* 801F1160 001EE0C0 28 03 00 00 */ cmplwi r3, 0 /* 801F1164 001EE0C4 41 82 00 08 */ beq lbl_801F116C /* 801F1168 001EE0C8 48 12 47 C9 */ bl Free__7CMemoryFPCv lbl_801F116C: /* 801F116C 001EE0CC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F1170 001EE0D0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F1174 001EE0D4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F1178 001EE0D8 7C 08 03 A6 */ mtlr r0 /* 801F117C 001EE0DC 38 21 00 30 */ addi r1, r1, 0x30 /* 801F1180 001EE0E0 4E 80 00 20 */ blr .global LoadAnimAsync__9CGSFidgetFR9CAnimDataiiiR13CStateManager LoadAnimAsync__9CGSFidgetFR9CAnimDataiiiR13CStateManager: /* 801F1184 001EE0E4 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801F1188 001EE0E8 7C 08 02 A6 */ mflr r0 /* 801F118C 001EE0EC 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801F1190 001EE0F0 BF 41 00 A8 */ stmw r26, 0xa8(r1) /* 801F1194 001EE0F4 7C 7A 1B 78 */ mr r26, r3 /* 801F1198 001EE0F8 7C 9B 23 78 */ mr r27, r4 /* 801F119C 001EE0FC 7C BC 2B 78 */ mr r28, r5 /* 801F11A0 001EE100 7C DD 33 78 */ mr r29, r6 /* 801F11A4 001EE104 7C FE 3B 78 */ mr r30, r7 /* 801F11A8 001EE108 7D 1F 43 78 */ mr r31, r8 /* 801F11AC 001EE10C 38 61 00 10 */ addi r3, r1, 0x10 /* 801F11B0 001EE110 48 0F 1E CD */ bl NoParameter__12CPASAnimParmFv /* 801F11B4 001EE114 38 61 00 18 */ addi r3, r1, 0x18 /* 801F11B8 001EE118 48 0F 1E C5 */ bl NoParameter__12CPASAnimParmFv /* 801F11BC 001EE11C 38 61 00 20 */ addi r3, r1, 0x20 /* 801F11C0 001EE120 48 0F 1E BD */ bl NoParameter__12CPASAnimParmFv /* 801F11C4 001EE124 38 61 00 28 */ addi r3, r1, 0x28 /* 801F11C8 001EE128 48 0F 1E B5 */ bl NoParameter__12CPASAnimParmFv /* 801F11CC 001EE12C 38 61 00 30 */ addi r3, r1, 0x30 /* 801F11D0 001EE130 48 0F 1E AD */ bl NoParameter__12CPASAnimParmFv /* 801F11D4 001EE134 7F C4 F3 78 */ mr r4, r30 /* 801F11D8 001EE138 38 61 00 38 */ addi r3, r1, 0x38 /* 801F11DC 001EE13C 48 0F 1E 71 */ bl FromInt32__12CPASAnimParmFi /* 801F11E0 001EE140 7F A4 EB 78 */ mr r4, r29 /* 801F11E4 001EE144 38 61 00 40 */ addi r3, r1, 0x40 /* 801F11E8 001EE148 48 0F 1E 65 */ bl FromInt32__12CPASAnimParmFi /* 801F11EC 001EE14C 7F 84 E3 78 */ mr r4, r28 /* 801F11F0 001EE150 38 61 00 48 */ addi r3, r1, 0x48 /* 801F11F4 001EE154 48 0F 1D 91 */ bl FromEnum__12CPASAnimParmFi /* 801F11F8 001EE158 38 61 00 18 */ addi r3, r1, 0x18 /* 801F11FC 001EE15C 38 01 00 10 */ addi r0, r1, 0x10 /* 801F1200 001EE160 90 61 00 08 */ stw r3, 8(r1) /* 801F1204 001EE164 38 61 00 58 */ addi r3, r1, 0x58 /* 801F1208 001EE168 38 A1 00 48 */ addi r5, r1, 0x48 /* 801F120C 001EE16C 38 C1 00 40 */ addi r6, r1, 0x40 /* 801F1210 001EE170 90 01 00 0C */ stw r0, 0xc(r1) /* 801F1214 001EE174 38 E1 00 38 */ addi r7, r1, 0x38 /* 801F1218 001EE178 39 01 00 30 */ addi r8, r1, 0x30 /* 801F121C 001EE17C 39 21 00 28 */ addi r9, r1, 0x28 /* 801F1220 001EE180 39 41 00 20 */ addi r10, r1, 0x20 /* 801F1224 001EE184 38 80 00 01 */ li r4, 1 /* 801F1228 001EE188 4B E8 C0 9D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801F122C 001EE18C 80 DF 09 00 */ lwz r6, 0x900(r31) /* 801F1230 001EE190 38 61 00 50 */ addi r3, r1, 0x50 /* 801F1234 001EE194 38 9B 00 3C */ addi r4, r27, 0x3c /* 801F1238 001EE198 38 A1 00 58 */ addi r5, r1, 0x58 /* 801F123C 001EE19C 38 E0 FF FF */ li r7, -1 /* 801F1240 001EE1A0 48 0F 3E 21 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801F1244 001EE1A4 34 C1 00 5C */ addic. r6, r1, 0x5c /* 801F1248 001EE1A8 80 81 00 54 */ lwz r4, 0x54(r1) /* 801F124C 001EE1AC 41 82 00 58 */ beq lbl_801F12A4 /* 801F1250 001EE1B0 80 E6 00 00 */ lwz r7, 0(r6) /* 801F1254 001EE1B4 38 60 00 00 */ li r3, 0 /* 801F1258 001EE1B8 2C 07 00 00 */ cmpwi r7, 0 /* 801F125C 001EE1BC 40 81 00 40 */ ble lbl_801F129C /* 801F1260 001EE1C0 2C 07 00 08 */ cmpwi r7, 8 /* 801F1264 001EE1C4 38 A7 FF F8 */ addi r5, r7, -8 /* 801F1268 001EE1C8 40 81 00 20 */ ble lbl_801F1288 /* 801F126C 001EE1CC 38 05 00 07 */ addi r0, r5, 7 /* 801F1270 001EE1D0 54 00 E8 FE */ srwi r0, r0, 3 /* 801F1274 001EE1D4 7C 09 03 A6 */ mtctr r0 /* 801F1278 001EE1D8 2C 05 00 00 */ cmpwi r5, 0 /* 801F127C 001EE1DC 40 81 00 0C */ ble lbl_801F1288 lbl_801F1280: /* 801F1280 001EE1E0 38 63 00 08 */ addi r3, r3, 8 /* 801F1284 001EE1E4 42 00 FF FC */ bdnz lbl_801F1280 lbl_801F1288: /* 801F1288 001EE1E8 7C 03 38 50 */ subf r0, r3, r7 /* 801F128C 001EE1EC 7C 09 03 A6 */ mtctr r0 /* 801F1290 001EE1F0 7C 03 38 00 */ cmpw r3, r7 /* 801F1294 001EE1F4 40 80 00 08 */ bge lbl_801F129C lbl_801F1298: /* 801F1298 001EE1F8 42 00 00 00 */ bdnz lbl_801F1298 lbl_801F129C: /* 801F129C 001EE1FC 38 00 00 00 */ li r0, 0 /* 801F12A0 001EE200 90 06 00 00 */ stw r0, 0(r6) lbl_801F12A4: /* 801F12A4 001EE204 2C 04 FF FF */ cmpwi r4, -1 /* 801F12A8 001EE208 41 82 00 14 */ beq lbl_801F12BC /* 801F12AC 001EE20C 7F 63 DB 78 */ mr r3, r27 /* 801F12B0 001EE210 7F 45 D3 78 */ mr r5, r26 /* 801F12B4 001EE214 38 C0 00 01 */ li r6, 1 /* 801F12B8 001EE218 48 09 A0 B1 */ bl "get_token_vector__12NWeaponTypesFR9CAnimDataiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" lbl_801F12BC: /* 801F12BC 001EE21C BB 41 00 A8 */ lmw r26, 0xa8(r1) /* 801F12C0 001EE220 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801F12C4 001EE224 7C 08 03 A6 */ mtlr r0 /* 801F12C8 001EE228 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801F12CC 001EE22C 4E 80 00 20 */ blr .global SetAnim__9CGSFidgetFR9CAnimDataiiiR13CStateManager SetAnim__9CGSFidgetFR9CAnimDataiiiR13CStateManager: /* 801F12D0 001EE230 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801F12D4 001EE234 7C 08 02 A6 */ mflr r0 /* 801F12D8 001EE238 90 01 01 04 */ stw r0, 0x104(r1) /* 801F12DC 001EE23C BF 21 00 E4 */ stmw r25, 0xe4(r1) /* 801F12E0 001EE240 7C 9C 23 78 */ mr r28, r4 /* 801F12E4 001EE244 7C 7B 1B 78 */ mr r27, r3 /* 801F12E8 001EE248 7C B9 2B 78 */ mr r25, r5 /* 801F12EC 001EE24C 7C DD 33 78 */ mr r29, r6 /* 801F12F0 001EE250 7C FE 3B 78 */ mr r30, r7 /* 801F12F4 001EE254 7D 1F 43 78 */ mr r31, r8 /* 801F12F8 001EE258 3B 5C 00 3C */ addi r26, r28, 0x3c /* 801F12FC 001EE25C 38 61 00 18 */ addi r3, r1, 0x18 /* 801F1300 001EE260 48 0F 1D 7D */ bl NoParameter__12CPASAnimParmFv /* 801F1304 001EE264 38 61 00 20 */ addi r3, r1, 0x20 /* 801F1308 001EE268 48 0F 1D 75 */ bl NoParameter__12CPASAnimParmFv /* 801F130C 001EE26C 38 61 00 28 */ addi r3, r1, 0x28 /* 801F1310 001EE270 48 0F 1D 6D */ bl NoParameter__12CPASAnimParmFv /* 801F1314 001EE274 38 61 00 30 */ addi r3, r1, 0x30 /* 801F1318 001EE278 48 0F 1D 65 */ bl NoParameter__12CPASAnimParmFv /* 801F131C 001EE27C 38 61 00 38 */ addi r3, r1, 0x38 /* 801F1320 001EE280 48 0F 1D 5D */ bl NoParameter__12CPASAnimParmFv /* 801F1324 001EE284 7F C4 F3 78 */ mr r4, r30 /* 801F1328 001EE288 38 61 00 40 */ addi r3, r1, 0x40 /* 801F132C 001EE28C 48 0F 1D 21 */ bl FromInt32__12CPASAnimParmFi /* 801F1330 001EE290 7F A4 EB 78 */ mr r4, r29 /* 801F1334 001EE294 38 61 00 48 */ addi r3, r1, 0x48 /* 801F1338 001EE298 48 0F 1D 15 */ bl FromInt32__12CPASAnimParmFi /* 801F133C 001EE29C 7F 24 CB 78 */ mr r4, r25 /* 801F1340 001EE2A0 38 61 00 50 */ addi r3, r1, 0x50 /* 801F1344 001EE2A4 48 0F 1C 41 */ bl FromEnum__12CPASAnimParmFi /* 801F1348 001EE2A8 38 61 00 20 */ addi r3, r1, 0x20 /* 801F134C 001EE2AC 38 01 00 18 */ addi r0, r1, 0x18 /* 801F1350 001EE2B0 90 61 00 08 */ stw r3, 8(r1) /* 801F1354 001EE2B4 38 61 00 90 */ addi r3, r1, 0x90 /* 801F1358 001EE2B8 38 A1 00 50 */ addi r5, r1, 0x50 /* 801F135C 001EE2BC 38 C1 00 48 */ addi r6, r1, 0x48 /* 801F1360 001EE2C0 90 01 00 0C */ stw r0, 0xc(r1) /* 801F1364 001EE2C4 38 E1 00 40 */ addi r7, r1, 0x40 /* 801F1368 001EE2C8 39 01 00 38 */ addi r8, r1, 0x38 /* 801F136C 001EE2CC 39 21 00 30 */ addi r9, r1, 0x30 /* 801F1370 001EE2D0 39 41 00 28 */ addi r10, r1, 0x28 /* 801F1374 001EE2D4 38 80 00 01 */ li r4, 1 /* 801F1378 001EE2D8 4B E8 BF 4D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801F137C 001EE2DC 80 DF 09 00 */ lwz r6, 0x900(r31) /* 801F1380 001EE2E0 7F 44 D3 78 */ mr r4, r26 /* 801F1384 001EE2E4 38 61 00 58 */ addi r3, r1, 0x58 /* 801F1388 001EE2E8 38 A1 00 90 */ addi r5, r1, 0x90 /* 801F138C 001EE2EC 38 E0 FF FF */ li r7, -1 /* 801F1390 001EE2F0 48 0F 3C D1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801F1394 001EE2F4 34 A1 00 94 */ addic. r5, r1, 0x94 /* 801F1398 001EE2F8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801F139C 001EE2FC 41 82 00 58 */ beq lbl_801F13F4 /* 801F13A0 001EE300 80 C5 00 00 */ lwz r6, 0(r5) /* 801F13A4 001EE304 38 60 00 00 */ li r3, 0 /* 801F13A8 001EE308 2C 06 00 00 */ cmpwi r6, 0 /* 801F13AC 001EE30C 40 81 00 40 */ ble lbl_801F13EC /* 801F13B0 001EE310 2C 06 00 08 */ cmpwi r6, 8 /* 801F13B4 001EE314 38 86 FF F8 */ addi r4, r6, -8 /* 801F13B8 001EE318 40 81 00 20 */ ble lbl_801F13D8 /* 801F13BC 001EE31C 38 04 00 07 */ addi r0, r4, 7 /* 801F13C0 001EE320 54 00 E8 FE */ srwi r0, r0, 3 /* 801F13C4 001EE324 7C 09 03 A6 */ mtctr r0 /* 801F13C8 001EE328 2C 04 00 00 */ cmpwi r4, 0 /* 801F13CC 001EE32C 40 81 00 0C */ ble lbl_801F13D8 lbl_801F13D0: /* 801F13D0 001EE330 38 63 00 08 */ addi r3, r3, 8 /* 801F13D4 001EE334 42 00 FF FC */ bdnz lbl_801F13D0 lbl_801F13D8: /* 801F13D8 001EE338 7C 03 30 50 */ subf r0, r3, r6 /* 801F13DC 001EE33C 7C 09 03 A6 */ mtctr r0 /* 801F13E0 001EE340 7C 03 30 00 */ cmpw r3, r6 /* 801F13E4 001EE344 40 80 00 08 */ bge lbl_801F13EC lbl_801F13E8: /* 801F13E8 001EE348 42 00 00 00 */ bdnz lbl_801F13E8 lbl_801F13EC: /* 801F13EC 001EE34C 38 00 00 00 */ li r0, 0 /* 801F13F0 001EE350 90 05 00 00 */ stw r0, 0(r5) lbl_801F13F4: /* 801F13F4 001EE354 7F 43 D3 78 */ mr r3, r26 /* 801F13F8 001EE358 38 80 00 01 */ li r4, 1 /* 801F13FC 001EE35C 48 0F 3A C9 */ bl GetAnimState__12CPASDatabaseCFi /* 801F1400 001EE360 7C 64 1B 78 */ mr r4, r3 /* 801F1404 001EE364 7F E5 FB 78 */ mr r5, r31 /* 801F1408 001EE368 38 61 00 10 */ addi r3, r1, 0x10 /* 801F140C 001EE36C 38 C0 00 03 */ li r6, 3 /* 801F1410 001EE370 48 0F 2B E5 */ bl GetAnimParmData__13CPASAnimStateCFiUi /* 801F1414 001EE374 80 81 00 10 */ lwz r4, 0x10(r1) /* 801F1418 001EE378 38 61 00 60 */ addi r3, r1, 0x60 /* 801F141C 001EE37C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F1420 001EE380 90 81 00 60 */ stw r4, 0x60(r1) /* 801F1424 001EE384 90 01 00 64 */ stw r0, 0x64(r1) /* 801F1428 001EE388 48 0F 1B 3D */ bl GetBoolValue__12CPASAnimParmCFv /* 801F142C 001EE38C 93 BB 00 14 */ stw r29, 0x14(r27) /* 801F1430 001EE390 2C 1F FF FF */ cmpwi r31, -1 /* 801F1434 001EE394 93 DB 00 18 */ stw r30, 0x18(r27) /* 801F1438 001EE398 41 82 00 6C */ beq lbl_801F14A4 /* 801F143C 001EE39C 88 1C 02 20 */ lbz r0, 0x220(r28) /* 801F1440 001EE3A0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801F1444 001EE3A4 38 E0 00 01 */ li r7, 1 /* 801F1448 001EE3A8 C0 02 AE C8 */ lfs f0, lbl_805ACBE8@sda21(r2) /* 801F144C 001EE3AC 98 1C 02 20 */ stb r0, 0x220(r28) /* 801F1450 001EE3B0 38 C0 FF FF */ li r6, -1 /* 801F1454 001EE3B4 38 00 00 00 */ li r0, 0 /* 801F1458 001EE3B8 7F 83 E3 78 */ mr r3, r28 /* 801F145C 001EE3BC 88 BC 02 20 */ lbz r5, 0x220(r28) /* 801F1460 001EE3C0 50 E5 3E 30 */ rlwimi r5, r7, 7, 0x18, 0x18 /* 801F1464 001EE3C4 38 81 00 68 */ addi r4, r1, 0x68 /* 801F1468 001EE3C8 98 BC 02 20 */ stb r5, 0x220(r28) /* 801F146C 001EE3CC 38 A0 00 00 */ li r5, 0 /* 801F1470 001EE3D0 93 E1 00 68 */ stw r31, 0x68(r1) /* 801F1474 001EE3D4 90 C1 00 6C */ stw r6, 0x6c(r1) /* 801F1478 001EE3D8 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801F147C 001EE3DC 98 E1 00 74 */ stb r7, 0x74(r1) /* 801F1480 001EE3E0 90 01 00 78 */ stw r0, 0x78(r1) /* 801F1484 001EE3E4 90 01 00 7C */ stw r0, 0x7c(r1) /* 801F1488 001EE3E8 98 01 00 80 */ stb r0, 0x80(r1) /* 801F148C 001EE3EC 90 01 00 84 */ stw r0, 0x84(r1) /* 801F1490 001EE3F0 90 01 00 88 */ stw r0, 0x88(r1) /* 801F1494 001EE3F4 90 01 00 8C */ stw r0, 0x8c(r1) /* 801F1498 001EE3F8 4B E3 B8 E5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 801F149C 001EE3FC 7F 63 DB 78 */ mr r3, r27 /* 801F14A0 001EE400 4B FF FC 49 */ bl UnLoadAnim__9CGSFidgetFv lbl_801F14A4: /* 801F14A4 001EE404 7F E3 FB 78 */ mr r3, r31 /* 801F14A8 001EE408 BB 21 00 E4 */ lmw r25, 0xe4(r1) /* 801F14AC 001EE40C 80 01 01 04 */ lwz r0, 0x104(r1) /* 801F14B0 001EE410 7C 08 03 A6 */ mtlr r0 /* 801F14B4 001EE414 38 21 01 00 */ addi r1, r1, 0x100 /* 801F14B8 001EE418 4E 80 00 20 */ blr .global Update__9CGSFidgetFR9CAnimDatafR13CStateManager Update__9CGSFidgetFR9CAnimDatafR13CStateManager: /* 801F14BC 001EE41C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F14C0 001EE420 7C 08 02 A6 */ mflr r0 /* 801F14C4 001EE424 3C 60 80 3D */ lis r3, lbl_803D2038@ha /* 801F14C8 001EE428 90 01 00 24 */ stw r0, 0x24(r1) /* 801F14CC 001EE42C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F14D0 001EE430 7C 9F 23 78 */ mr r31, r4 /* 801F14D4 001EE434 38 83 20 38 */ addi r4, r3, lbl_803D2038@l /* 801F14D8 001EE438 38 61 00 08 */ addi r3, r1, 8 /* 801F14DC 001EE43C 4B E1 37 DD */ bl string_l__4rstlFPCc /* 801F14E0 001EE440 C0 22 AE CC */ lfs f1, lbl_805ACBEC@sda21(r2) /* 801F14E4 001EE444 7F E3 FB 78 */ mr r3, r31 /* 801F14E8 001EE448 38 81 00 08 */ addi r4, r1, 8 /* 801F14EC 001EE44C 4B E3 AF 01 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801F14F0 001EE450 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 801F14F4 001EE454 38 61 00 08 */ addi r3, r1, 8 /* 801F14F8 001EE458 7C 00 00 34 */ cntlzw r0, r0 /* 801F14FC 001EE45C 54 1F D9 7E */ srwi r31, r0, 5 /* 801F1500 001EE460 48 14 C5 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801F1504 001EE464 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F1508 001EE468 7F E3 FB 78 */ mr r3, r31 /* 801F150C 001EE46C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F1510 001EE470 7C 08 03 A6 */ mtlr r0 /* 801F1514 001EE474 38 21 00 20 */ addi r1, r1, 0x20 /* 801F1518 001EE478 4E 80 00 20 */ blr .global __ct__9CGSFidgetFv __ct__9CGSFidgetFv: /* 801F151C 001EE47C 38 80 00 00 */ li r4, 0 /* 801F1520 001EE480 38 00 FF FF */ li r0, -1 /* 801F1524 001EE484 90 83 00 04 */ stw r4, 4(r3) /* 801F1528 001EE488 90 83 00 08 */ stw r4, 8(r3) /* 801F152C 001EE48C 90 83 00 0C */ stw r4, 0xc(r3) /* 801F1530 001EE490 90 03 00 10 */ stw r0, 0x10(r3) /* 801F1534 001EE494 90 03 00 14 */ stw r0, 0x14(r3) /* 801F1538 001EE498 90 03 00 18 */ stw r0, 0x18(r3) /* 801F153C 001EE49C 4E 80 00 20 */ blr .global __dt__12CABSReactionFv __dt__12CABSReactionFv: /* 801F1540 001EE4A0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F1544 001EE4A4 7C 08 02 A6 */ mflr r0 /* 801F1548 001EE4A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801F154C 001EE4AC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F1550 001EE4B0 7C 7F 1B 79 */ or. r31, r3, r3 /* 801F1554 001EE4B4 41 82 00 30 */ beq lbl_801F1584 /* 801F1558 001EE4B8 3C 60 80 3E */ lis r3, lbl_803E6758@ha /* 801F155C 001EE4BC 38 03 67 58 */ addi r0, r3, lbl_803E6758@l /* 801F1560 001EE4C0 90 1F 00 00 */ stw r0, 0(r31) /* 801F1564 001EE4C4 41 82 00 10 */ beq lbl_801F1574 /* 801F1568 001EE4C8 3C 60 80 3E */ lis r3, lbl_803E1350@ha /* 801F156C 001EE4CC 38 03 13 50 */ addi r0, r3, lbl_803E1350@l /* 801F1570 001EE4D0 90 1F 00 00 */ stw r0, 0(r31) lbl_801F1574: /* 801F1574 001EE4D4 7C 80 07 35 */ extsh. r0, r4 /* 801F1578 001EE4D8 40 81 00 0C */ ble lbl_801F1584 /* 801F157C 001EE4DC 7F E3 FB 78 */ mr r3, r31 /* 801F1580 001EE4E0 48 12 43 B1 */ bl Free__7CMemoryFPCv lbl_801F1584: /* 801F1584 001EE4E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F1588 001EE4E8 7F E3 FB 78 */ mr r3, r31 /* 801F158C 001EE4EC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F1590 001EE4F0 7C 08 03 A6 */ mtlr r0 /* 801F1594 001EE4F4 38 21 00 10 */ addi r1, r1, 0x10 /* 801F1598 001EE4F8 4E 80 00 20 */ blr .global StopAnimation__12CABSReactionFR15CBodyController StopAnimation__12CABSReactionFR15CBodyController: /* 801F159C 001EE4FC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F15A0 001EE500 7C 08 02 A6 */ mflr r0 /* 801F15A4 001EE504 90 01 00 14 */ stw r0, 0x14(r1) /* 801F15A8 001EE508 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F15AC 001EE50C 7C 7F 1B 78 */ mr r31, r3 /* 801F15B0 001EE510 80 03 00 08 */ lwz r0, 8(r3) /* 801F15B4 001EE514 2C 00 FF FF */ cmpwi r0, -1 /* 801F15B8 001EE518 41 82 00 20 */ beq lbl_801F15D8 /* 801F15BC 001EE51C 80 64 00 00 */ lwz r3, 0(r4) /* 801F15C0 001EE520 7C 04 03 78 */ mr r4, r0 /* 801F15C4 001EE524 80 63 00 64 */ lwz r3, 0x64(r3) /* 801F15C8 001EE528 80 63 00 10 */ lwz r3, 0x10(r3) /* 801F15CC 001EE52C 4B E3 8B 8D */ bl DelAdditiveAnimation__9CAnimDataFUi /* 801F15D0 001EE530 38 00 FF FF */ li r0, -1 /* 801F15D4 001EE534 90 1F 00 08 */ stw r0, 8(r31) lbl_801F15D8: /* 801F15D8 001EE538 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F15DC 001EE53C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F15E0 001EE540 7C 08 03 A6 */ mtlr r0 /* 801F15E4 001EE544 38 21 00 10 */ addi r1, r1, 0x10 /* 801F15E8 001EE548 4E 80 00 20 */ blr .global GetBodyStateTransition__12CABSReactionFfR15CBodyController GetBodyStateTransition__12CABSReactionFfR15CBodyController: /* 801F15EC 001EE54C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F15F0 001EE550 7C 08 02 A6 */ mflr r0 /* 801F15F4 001EE554 38 64 00 04 */ addi r3, r4, 4 /* 801F15F8 001EE558 38 80 00 1A */ li r4, 0x1a /* 801F15FC 001EE55C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F1600 001EE560 4B F3 FE 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F1604 001EE564 28 03 00 00 */ cmplwi r3, 0 /* 801F1608 001EE568 41 82 00 18 */ beq lbl_801F1620 /* 801F160C 001EE56C 80 03 00 0C */ lwz r0, 0xc(r3) /* 801F1610 001EE570 2C 00 00 03 */ cmpwi r0, 3 /* 801F1614 001EE574 40 82 00 0C */ bne lbl_801F1620 /* 801F1618 001EE578 38 60 00 18 */ li r3, 0x18 /* 801F161C 001EE57C 48 00 00 08 */ b lbl_801F1624 lbl_801F1620: /* 801F1620 001EE580 38 60 FF FF */ li r3, -1 lbl_801F1624: /* 801F1624 001EE584 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F1628 001EE588 7C 08 03 A6 */ mtlr r0 /* 801F162C 001EE58C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F1630 001EE590 4E 80 00 20 */ blr .global HasIceBreakoutState__15CBodyControllerFv HasIceBreakoutState__15CBodyControllerFv: /* 801F1634 001EE594 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801F1638 001EE598 7C 08 02 A6 */ mflr r0 /* 801F163C 001EE59C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801F1640 001EE5A0 93 E1 00 AC */ stw r31, 0xac(r1) /* 801F1644 001EE5A4 7C 7F 1B 78 */ mr r31, r3 /* 801F1648 001EE5A8 38 61 00 18 */ addi r3, r1, 0x18 /* 801F164C 001EE5AC 48 0F 1A 31 */ bl NoParameter__12CPASAnimParmFv /* 801F1650 001EE5B0 38 61 00 20 */ addi r3, r1, 0x20 /* 801F1654 001EE5B4 48 0F 1A 29 */ bl NoParameter__12CPASAnimParmFv /* 801F1658 001EE5B8 38 61 00 28 */ addi r3, r1, 0x28 /* 801F165C 001EE5BC 48 0F 1A 21 */ bl NoParameter__12CPASAnimParmFv /* 801F1660 001EE5C0 38 61 00 30 */ addi r3, r1, 0x30 /* 801F1664 001EE5C4 48 0F 1A 19 */ bl NoParameter__12CPASAnimParmFv /* 801F1668 001EE5C8 38 61 00 38 */ addi r3, r1, 0x38 /* 801F166C 001EE5CC 48 0F 1A 11 */ bl NoParameter__12CPASAnimParmFv /* 801F1670 001EE5D0 38 61 00 40 */ addi r3, r1, 0x40 /* 801F1674 001EE5D4 48 0F 1A 09 */ bl NoParameter__12CPASAnimParmFv /* 801F1678 001EE5D8 38 61 00 48 */ addi r3, r1, 0x48 /* 801F167C 001EE5DC 48 0F 1A 01 */ bl NoParameter__12CPASAnimParmFv /* 801F1680 001EE5E0 38 61 00 50 */ addi r3, r1, 0x50 /* 801F1684 001EE5E4 38 80 00 03 */ li r4, 3 /* 801F1688 001EE5E8 48 0F 18 FD */ bl FromEnum__12CPASAnimParmFi /* 801F168C 001EE5EC 38 61 00 20 */ addi r3, r1, 0x20 /* 801F1690 001EE5F0 38 01 00 18 */ addi r0, r1, 0x18 /* 801F1694 001EE5F4 90 61 00 08 */ stw r3, 8(r1) /* 801F1698 001EE5F8 38 61 00 58 */ addi r3, r1, 0x58 /* 801F169C 001EE5FC 38 A1 00 50 */ addi r5, r1, 0x50 /* 801F16A0 001EE600 38 C1 00 48 */ addi r6, r1, 0x48 /* 801F16A4 001EE604 90 01 00 0C */ stw r0, 0xc(r1) /* 801F16A8 001EE608 38 E1 00 40 */ addi r7, r1, 0x40 /* 801F16AC 001EE60C 39 01 00 38 */ addi r8, r1, 0x38 /* 801F16B0 001EE610 39 21 00 30 */ addi r9, r1, 0x30 /* 801F16B4 001EE614 39 41 00 28 */ addi r10, r1, 0x28 /* 801F16B8 001EE618 38 80 00 18 */ li r4, 0x18 /* 801F16BC 001EE61C 4B E8 BC 09 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801F16C0 001EE620 7F E3 FB 78 */ mr r3, r31 /* 801F16C4 001EE624 4B F4 8D 91 */ bl GetPASDatabase__15CBodyControllerCFv /* 801F16C8 001EE628 7C 60 1B 78 */ mr r0, r3 /* 801F16CC 001EE62C 38 61 00 10 */ addi r3, r1, 0x10 /* 801F16D0 001EE630 7C 04 03 78 */ mr r4, r0 /* 801F16D4 001EE634 38 A1 00 58 */ addi r5, r1, 0x58 /* 801F16D8 001EE638 38 C0 FF FF */ li r6, -1 /* 801F16DC 001EE63C 48 0F 3A 91 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai /* 801F16E0 001EE640 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801F16E4 001EE644 C0 02 AE D0 */ lfs f0, lbl_805ACBF0@sda21(r2) /* 801F16E8 001EE648 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F16EC 001EE64C 7C 00 00 26 */ mfcr r0 /* 801F16F0 001EE650 34 C1 00 5C */ addic. r6, r1, 0x5c /* 801F16F4 001EE654 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801F16F8 001EE658 41 82 00 58 */ beq lbl_801F1750 /* 801F16FC 001EE65C 80 E6 00 00 */ lwz r7, 0(r6) /* 801F1700 001EE660 38 80 00 00 */ li r4, 0 /* 801F1704 001EE664 2C 07 00 00 */ cmpwi r7, 0 /* 801F1708 001EE668 40 81 00 40 */ ble lbl_801F1748 /* 801F170C 001EE66C 2C 07 00 08 */ cmpwi r7, 8 /* 801F1710 001EE670 38 A7 FF F8 */ addi r5, r7, -8 /* 801F1714 001EE674 40 81 00 20 */ ble lbl_801F1734 /* 801F1718 001EE678 38 05 00 07 */ addi r0, r5, 7 /* 801F171C 001EE67C 54 00 E8 FE */ srwi r0, r0, 3 /* 801F1720 001EE680 7C 09 03 A6 */ mtctr r0 /* 801F1724 001EE684 2C 05 00 00 */ cmpwi r5, 0 /* 801F1728 001EE688 40 81 00 0C */ ble lbl_801F1734 lbl_801F172C: /* 801F172C 001EE68C 38 84 00 08 */ addi r4, r4, 8 /* 801F1730 001EE690 42 00 FF FC */ bdnz lbl_801F172C lbl_801F1734: /* 801F1734 001EE694 7C 04 38 50 */ subf r0, r4, r7 /* 801F1738 001EE698 7C 09 03 A6 */ mtctr r0 /* 801F173C 001EE69C 7C 04 38 00 */ cmpw r4, r7 /* 801F1740 001EE6A0 40 80 00 08 */ bge lbl_801F1748 lbl_801F1744: /* 801F1744 001EE6A4 42 00 00 00 */ bdnz lbl_801F1744 lbl_801F1748: /* 801F1748 001EE6A8 38 00 00 00 */ li r0, 0 /* 801F174C 001EE6AC 90 06 00 00 */ stw r0, 0(r6) lbl_801F1750: /* 801F1750 001EE6B0 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801F1754 001EE6B4 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801F1758 001EE6B8 7C 08 03 A6 */ mtlr r0 /* 801F175C 001EE6BC 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801F1760 001EE6C0 4E 80 00 20 */ blr .global Shutdown__12CABSReactionFR15CBodyController Shutdown__12CABSReactionFR15CBodyController: /* 801F1764 001EE6C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F1768 001EE6C8 7C 08 02 A6 */ mflr r0 /* 801F176C 001EE6CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801F1770 001EE6D0 4B FF FE 2D */ bl StopAnimation__12CABSReactionFR15CBodyController /* 801F1774 001EE6D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F1778 001EE6D8 7C 08 03 A6 */ mtlr r0 /* 801F177C 001EE6DC 38 21 00 10 */ addi r1, r1, 0x10 /* 801F1780 001EE6E0 4E 80 00 20 */ blr .global UpdateBody__12CABSReactionFfR15CBodyControllerR13CStateManager UpdateBody__12CABSReactionFfR15CBodyControllerR13CStateManager: /* 801F1784 001EE6E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F1788 001EE6E8 7C 08 02 A6 */ mflr r0 /* 801F178C 001EE6EC 90 01 00 24 */ stw r0, 0x24(r1) /* 801F1790 001EE6F0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F1794 001EE6F4 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F1798 001EE6F8 93 A1 00 14 */ stw r29, 0x14(r1) /* 801F179C 001EE6FC 7C 9D 23 78 */ mr r29, r4 /* 801F17A0 001EE700 93 81 00 10 */ stw r28, 0x10(r1) /* 801F17A4 001EE704 7C 7C 1B 78 */ mr r28, r3 /* 801F17A8 001EE708 4B FF FE 45 */ bl GetBodyStateTransition__12CABSReactionFfR15CBodyController /* 801F17AC 001EE70C 7C 7E 1B 78 */ mr r30, r3 /* 801F17B0 001EE710 2C 1E FF FF */ cmpwi r30, -1 /* 801F17B4 001EE714 40 82 00 D0 */ bne lbl_801F1884 /* 801F17B8 001EE718 80 9C 00 08 */ lwz r4, 8(r28) /* 801F17BC 001EE71C 2C 04 FF FF */ cmpwi r4, -1 /* 801F17C0 001EE720 40 82 00 0C */ bne lbl_801F17CC /* 801F17C4 001EE724 38 60 00 15 */ li r3, 0x15 /* 801F17C8 001EE728 48 00 00 C0 */ b lbl_801F1888 lbl_801F17CC: /* 801F17CC 001EE72C 80 7D 00 00 */ lwz r3, 0(r29) /* 801F17D0 001EE730 88 1C 00 10 */ lbz r0, 0x10(r28) /* 801F17D4 001EE734 80 63 00 64 */ lwz r3, 0x64(r3) /* 801F17D8 001EE738 28 00 00 00 */ cmplwi r0, 0 /* 801F17DC 001EE73C 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801F17E0 001EE740 41 82 00 34 */ beq lbl_801F1814 /* 801F17E4 001EE744 38 7D 00 04 */ addi r3, r29, 4 /* 801F17E8 001EE748 38 80 00 1B */ li r4, 0x1b /* 801F17EC 001EE74C 4B F3 FC 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F17F0 001EE750 28 03 00 00 */ cmplwi r3, 0 /* 801F17F4 001EE754 41 82 00 90 */ beq lbl_801F1884 /* 801F17F8 001EE758 7F 83 E3 78 */ mr r3, r28 /* 801F17FC 001EE75C 7F A4 EB 78 */ mr r4, r29 /* 801F1800 001EE760 4B FF FD 9D */ bl StopAnimation__12CABSReactionFR15CBodyController /* 801F1804 001EE764 80 7D 00 00 */ lwz r3, 0(r29) /* 801F1808 001EE768 3B C0 00 15 */ li r30, 0x15 /* 801F180C 001EE76C 4B E6 3A 39 */ bl RemoveEmitter__6CActorFv /* 801F1810 001EE770 48 00 00 74 */ b lbl_801F1884 lbl_801F1814: /* 801F1814 001EE774 7F E3 FB 78 */ mr r3, r31 /* 801F1818 001EE778 4B E3 88 B1 */ bl IsAdditiveAnimationAdded__9CAnimDataCFUi /* 801F181C 001EE77C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F1820 001EE780 41 82 00 60 */ beq lbl_801F1880 /* 801F1824 001EE784 80 9C 00 08 */ lwz r4, 8(r28) /* 801F1828 001EE788 7F E3 FB 78 */ mr r3, r31 /* 801F182C 001EE78C 4B E3 88 5D */ bl GetAdditiveAnimationTree__9CAnimDataCFUi /* 801F1830 001EE790 7C 64 1B 78 */ mr r4, r3 /* 801F1834 001EE794 38 61 00 08 */ addi r3, r1, 8 /* 801F1838 001EE798 80 84 00 00 */ lwz r4, 0(r4) /* 801F183C 001EE79C 80 84 00 00 */ lwz r4, 0(r4) /* 801F1840 001EE7A0 81 84 00 00 */ lwz r12, 0(r4) /* 801F1844 001EE7A4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801F1848 001EE7A8 7D 89 03 A6 */ mtctr r12 /* 801F184C 001EE7AC 4E 80 04 21 */ bctrl /* 801F1850 001EE7B0 C0 41 00 08 */ lfs f2, 8(r1) /* 801F1854 001EE7B4 C0 22 AE D0 */ lfs f1, lbl_805ACBF0@sda21(r2) /* 801F1858 001EE7B8 C0 02 AE D4 */ lfs f0, lbl_805ACBF4@sda21(r2) /* 801F185C 001EE7BC EC 22 08 28 */ fsubs f1, f2, f1 /* 801F1860 001EE7C0 FC 20 0A 10 */ fabs f1, f1 /* 801F1864 001EE7C4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F1868 001EE7C8 40 80 00 1C */ bge lbl_801F1884 /* 801F186C 001EE7CC 7F 83 E3 78 */ mr r3, r28 /* 801F1870 001EE7D0 7F A4 EB 78 */ mr r4, r29 /* 801F1874 001EE7D4 4B FF FD 29 */ bl StopAnimation__12CABSReactionFR15CBodyController /* 801F1878 001EE7D8 3B C0 00 15 */ li r30, 0x15 /* 801F187C 001EE7DC 48 00 00 08 */ b lbl_801F1884 lbl_801F1880: /* 801F1880 001EE7E0 3B C0 00 15 */ li r30, 0x15 lbl_801F1884: /* 801F1884 001EE7E4 7F C3 F3 78 */ mr r3, r30 lbl_801F1888: /* 801F1888 001EE7E8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F188C 001EE7EC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F1890 001EE7F0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F1894 001EE7F4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801F1898 001EE7F8 83 81 00 10 */ lwz r28, 0x10(r1) /* 801F189C 001EE7FC 7C 08 03 A6 */ mtlr r0 /* 801F18A0 001EE800 38 21 00 20 */ addi r1, r1, 0x20 /* 801F18A4 001EE804 4E 80 00 20 */ blr .global Start__12CABSReactionFR15CBodyControllerR13CStateManager Start__12CABSReactionFR15CBodyControllerR13CStateManager: /* 801F18A8 001EE808 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801F18AC 001EE80C 7C 08 02 A6 */ mflr r0 /* 801F18B0 001EE810 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801F18B4 001EE814 93 E1 00 AC */ stw r31, 0xac(r1) /* 801F18B8 001EE818 7C BF 2B 78 */ mr r31, r5 /* 801F18BC 001EE81C 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801F18C0 001EE820 7C 9E 23 78 */ mr r30, r4 /* 801F18C4 001EE824 38 80 00 1A */ li r4, 0x1a /* 801F18C8 001EE828 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 801F18CC 001EE82C 7C 7D 1B 78 */ mr r29, r3 /* 801F18D0 001EE830 38 7E 00 04 */ addi r3, r30, 4 /* 801F18D4 001EE834 4B F3 FB 7D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F18D8 001EE838 C0 03 00 08 */ lfs f0, 8(r3) /* 801F18DC 001EE83C D0 1D 00 04 */ stfs f0, 4(r29) /* 801F18E0 001EE840 80 03 00 0C */ lwz r0, 0xc(r3) /* 801F18E4 001EE844 90 1D 00 0C */ stw r0, 0xc(r29) /* 801F18E8 001EE848 88 03 00 10 */ lbz r0, 0x10(r3) /* 801F18EC 001EE84C 38 61 00 18 */ addi r3, r1, 0x18 /* 801F18F0 001EE850 98 1D 00 10 */ stb r0, 0x10(r29) /* 801F18F4 001EE854 48 0F 17 89 */ bl NoParameter__12CPASAnimParmFv /* 801F18F8 001EE858 38 61 00 20 */ addi r3, r1, 0x20 /* 801F18FC 001EE85C 48 0F 17 81 */ bl NoParameter__12CPASAnimParmFv /* 801F1900 001EE860 38 61 00 28 */ addi r3, r1, 0x28 /* 801F1904 001EE864 48 0F 17 79 */ bl NoParameter__12CPASAnimParmFv /* 801F1908 001EE868 38 61 00 30 */ addi r3, r1, 0x30 /* 801F190C 001EE86C 48 0F 17 71 */ bl NoParameter__12CPASAnimParmFv /* 801F1910 001EE870 38 61 00 38 */ addi r3, r1, 0x38 /* 801F1914 001EE874 48 0F 17 69 */ bl NoParameter__12CPASAnimParmFv /* 801F1918 001EE878 38 61 00 40 */ addi r3, r1, 0x40 /* 801F191C 001EE87C 48 0F 17 61 */ bl NoParameter__12CPASAnimParmFv /* 801F1920 001EE880 38 61 00 48 */ addi r3, r1, 0x48 /* 801F1924 001EE884 48 0F 17 59 */ bl NoParameter__12CPASAnimParmFv /* 801F1928 001EE888 80 9D 00 0C */ lwz r4, 0xc(r29) /* 801F192C 001EE88C 38 61 00 50 */ addi r3, r1, 0x50 /* 801F1930 001EE890 48 0F 16 55 */ bl FromEnum__12CPASAnimParmFi /* 801F1934 001EE894 38 61 00 20 */ addi r3, r1, 0x20 /* 801F1938 001EE898 38 01 00 18 */ addi r0, r1, 0x18 /* 801F193C 001EE89C 90 61 00 08 */ stw r3, 8(r1) /* 801F1940 001EE8A0 38 61 00 58 */ addi r3, r1, 0x58 /* 801F1944 001EE8A4 38 A1 00 50 */ addi r5, r1, 0x50 /* 801F1948 001EE8A8 38 C1 00 48 */ addi r6, r1, 0x48 /* 801F194C 001EE8AC 90 01 00 0C */ stw r0, 0xc(r1) /* 801F1950 001EE8B0 38 E1 00 40 */ addi r7, r1, 0x40 /* 801F1954 001EE8B4 39 01 00 38 */ addi r8, r1, 0x38 /* 801F1958 001EE8B8 39 21 00 30 */ addi r9, r1, 0x30 /* 801F195C 001EE8BC 39 41 00 28 */ addi r10, r1, 0x28 /* 801F1960 001EE8C0 38 80 00 18 */ li r4, 0x18 /* 801F1964 001EE8C4 4B E8 B9 61 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801F1968 001EE8C8 7F C3 F3 78 */ mr r3, r30 /* 801F196C 001EE8CC 4B F4 8A E9 */ bl GetPASDatabase__15CBodyControllerCFv /* 801F1970 001EE8D0 80 DF 09 00 */ lwz r6, 0x900(r31) /* 801F1974 001EE8D4 7C 64 1B 78 */ mr r4, r3 /* 801F1978 001EE8D8 38 61 00 10 */ addi r3, r1, 0x10 /* 801F197C 001EE8DC 38 A1 00 58 */ addi r5, r1, 0x58 /* 801F1980 001EE8E0 38 E0 FF FF */ li r7, -1 /* 801F1984 001EE8E4 48 0F 36 DD */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801F1988 001EE8E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F198C 001EE8EC 90 1D 00 08 */ stw r0, 8(r29) /* 801F1990 001EE8F0 80 9D 00 08 */ lwz r4, 8(r29) /* 801F1994 001EE8F4 2C 04 FF FF */ cmpwi r4, -1 /* 801F1998 001EE8F8 41 82 00 20 */ beq lbl_801F19B8 /* 801F199C 001EE8FC 80 7E 00 00 */ lwz r3, 0(r30) /* 801F19A0 001EE900 38 C0 00 00 */ li r6, 0 /* 801F19A4 001EE904 88 BD 00 10 */ lbz r5, 0x10(r29) /* 801F19A8 001EE908 80 63 00 64 */ lwz r3, 0x64(r3) /* 801F19AC 001EE90C C0 3D 00 04 */ lfs f1, 4(r29) /* 801F19B0 001EE910 80 63 00 10 */ lwz r3, 0x10(r3) /* 801F19B4 001EE914 4B E3 88 1D */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_801F19B8: /* 801F19B8 001EE918 34 A1 00 5C */ addic. r5, r1, 0x5c /* 801F19BC 001EE91C 41 82 00 58 */ beq lbl_801F1A14 /* 801F19C0 001EE920 80 C5 00 00 */ lwz r6, 0(r5) /* 801F19C4 001EE924 38 60 00 00 */ li r3, 0 /* 801F19C8 001EE928 2C 06 00 00 */ cmpwi r6, 0 /* 801F19CC 001EE92C 40 81 00 40 */ ble lbl_801F1A0C /* 801F19D0 001EE930 2C 06 00 08 */ cmpwi r6, 8 /* 801F19D4 001EE934 38 86 FF F8 */ addi r4, r6, -8 /* 801F19D8 001EE938 40 81 00 20 */ ble lbl_801F19F8 /* 801F19DC 001EE93C 38 04 00 07 */ addi r0, r4, 7 /* 801F19E0 001EE940 54 00 E8 FE */ srwi r0, r0, 3 /* 801F19E4 001EE944 7C 09 03 A6 */ mtctr r0 /* 801F19E8 001EE948 2C 04 00 00 */ cmpwi r4, 0 /* 801F19EC 001EE94C 40 81 00 0C */ ble lbl_801F19F8 lbl_801F19F0: /* 801F19F0 001EE950 38 63 00 08 */ addi r3, r3, 8 /* 801F19F4 001EE954 42 00 FF FC */ bdnz lbl_801F19F0 lbl_801F19F8: /* 801F19F8 001EE958 7C 03 30 50 */ subf r0, r3, r6 /* 801F19FC 001EE95C 7C 09 03 A6 */ mtctr r0 /* 801F1A00 001EE960 7C 03 30 00 */ cmpw r3, r6 /* 801F1A04 001EE964 40 80 00 08 */ bge lbl_801F1A0C lbl_801F1A08: /* 801F1A08 001EE968 42 00 00 00 */ bdnz lbl_801F1A08 lbl_801F1A0C: /* 801F1A0C 001EE96C 38 00 00 00 */ li r0, 0 /* 801F1A10 001EE970 90 05 00 00 */ stw r0, 0(r5) lbl_801F1A14: /* 801F1A14 001EE974 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801F1A18 001EE978 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801F1A1C 001EE97C 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801F1A20 001EE980 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 801F1A24 001EE984 7C 08 03 A6 */ mtlr r0 /* 801F1A28 001EE988 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801F1A2C 001EE98C 4E 80 00 20 */ blr .global __ct__12CABSReactionFv __ct__12CABSReactionFv: /* 801F1A30 001EE990 3C A0 80 3E */ lis r5, lbl_803E1350@ha /* 801F1A34 001EE994 3C 80 80 3E */ lis r4, lbl_803E6758@ha /* 801F1A38 001EE998 38 05 13 50 */ addi r0, r5, lbl_803E1350@l /* 801F1A3C 001EE99C C0 02 AE D8 */ lfs f0, lbl_805ACBF8@sda21(r2) /* 801F1A40 001EE9A0 90 03 00 00 */ stw r0, 0(r3) /* 801F1A44 001EE9A4 38 A4 67 58 */ addi r5, r4, lbl_803E6758@l /* 801F1A48 001EE9A8 38 80 FF FF */ li r4, -1 /* 801F1A4C 001EE9AC 38 00 00 00 */ li r0, 0 /* 801F1A50 001EE9B0 90 A3 00 00 */ stw r5, 0(r3) /* 801F1A54 001EE9B4 D0 03 00 04 */ stfs f0, 4(r3) /* 801F1A58 001EE9B8 90 83 00 08 */ stw r4, 8(r3) /* 801F1A5C 001EE9BC 90 83 00 0C */ stw r4, 0xc(r3) /* 801F1A60 001EE9C0 98 03 00 10 */ stb r0, 0x10(r3) /* 801F1A64 001EE9C4 4E 80 00 20 */ blr .global ExplosionFinished__Q220CIceAttackProjectile12CTrailObjectCFv ExplosionFinished__Q220CIceAttackProjectile12CTrailObjectCFv: /* 801F1A68 001EE9C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F1A6C 001EE9CC 7C 08 02 A6 */ mflr r0 /* 801F1A70 001EE9D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801F1A74 001EE9D4 80 63 00 0C */ lwz r3, 0xc(r3) /* 801F1A78 001EE9D8 28 03 00 00 */ cmplwi r3, 0 /* 801F1A7C 001EE9DC 41 82 00 24 */ beq lbl_801F1AA0 /* 801F1A80 001EE9E0 81 83 00 00 */ lwz r12, 0(r3) /* 801F1A84 001EE9E4 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801F1A88 001EE9E8 7D 89 03 A6 */ mtctr r12 /* 801F1A8C 001EE9EC 4E 80 04 21 */ bctrl /* 801F1A90 001EE9F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F1A94 001EE9F4 41 82 00 0C */ beq lbl_801F1AA0 /* 801F1A98 001EE9F8 38 60 00 01 */ li r3, 1 /* 801F1A9C 001EE9FC 48 00 00 08 */ b lbl_801F1AA4 lbl_801F1AA0: /* 801F1AA0 001EEA00 38 60 00 00 */ li r3, 0 lbl_801F1AA4: /* 801F1AA4 001EEA04 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F1AA8 001EEA08 7C 08 03 A6 */ mtlr r0 /* 801F1AAC 001EEA0C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F1AB0 001EEA10 4E 80 00 20 */ blr .global ExplosionStarted__Q220CIceAttackProjectile12CTrailObjectCFv ExplosionStarted__Q220CIceAttackProjectile12CTrailObjectCFv: /* 801F1AB4 001EEA14 80 63 00 0C */ lwz r3, 0xc(r3) /* 801F1AB8 001EEA18 7C 03 00 D0 */ neg r0, r3 /* 801F1ABC 001EEA1C 7C 00 1B 78 */ or r0, r0, r3 /* 801F1AC0 001EEA20 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F1AC4 001EEA24 4E 80 00 20 */ blr .global AddToRenderer__Q220CIceAttackProjectile12CTrailObjectCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__Q220CIceAttackProjectile12CTrailObjectCFRC14CFrustumPlanesRC13CStateManager: /* 801F1AC8 001EEA28 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F1ACC 001EEA2C 7C 08 02 A6 */ mflr r0 /* 801F1AD0 001EEA30 90 01 00 14 */ stw r0, 0x14(r1) /* 801F1AD4 001EEA34 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F1AD8 001EEA38 7C 7F 1B 78 */ mr r31, r3 /* 801F1ADC 001EEA3C 80 03 00 04 */ lwz r0, 4(r3) /* 801F1AE0 001EEA40 28 00 00 00 */ cmplwi r0, 0 /* 801F1AE4 001EEA44 41 82 00 20 */ beq lbl_801F1B04 /* 801F1AE8 001EEA48 38 7F 00 18 */ addi r3, r31, 0x18 /* 801F1AEC 001EEA4C 4B F1 32 9D */ bl ActivateLights__12CActorLightsCFv /* 801F1AF0 001EEA50 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1AF4 001EEA54 81 83 00 00 */ lwz r12, 0(r3) /* 801F1AF8 001EEA58 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801F1AFC 001EEA5C 7D 89 03 A6 */ mtctr r12 /* 801F1B00 001EEA60 4E 80 04 21 */ bctrl lbl_801F1B04: /* 801F1B04 001EEA64 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801F1B08 001EEA68 28 03 00 00 */ cmplwi r3, 0 /* 801F1B0C 001EEA6C 41 82 00 14 */ beq lbl_801F1B20 /* 801F1B10 001EEA70 81 83 00 00 */ lwz r12, 0(r3) /* 801F1B14 001EEA74 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801F1B18 001EEA78 7D 89 03 A6 */ mtctr r12 /* 801F1B1C 001EEA7C 4E 80 04 21 */ bctrl lbl_801F1B20: /* 801F1B20 001EEA80 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F1B24 001EEA84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F1B28 001EEA88 7C 08 03 A6 */ mtlr r0 /* 801F1B2C 001EEA8C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F1B30 001EEA90 4E 80 00 20 */ blr .global Update__Q220CIceAttackProjectile12CTrailObjectFfR13CStateManagerPC13CPhysicsActor Update__Q220CIceAttackProjectile12CTrailObjectFfR13CStateManagerPC13CPhysicsActor: /* 801F1B34 001EEA94 94 21 FD F0 */ stwu r1, -0x210(r1) /* 801F1B38 001EEA98 7C 08 02 A6 */ mflr r0 /* 801F1B3C 001EEA9C 90 01 02 14 */ stw r0, 0x214(r1) /* 801F1B40 001EEAA0 DB E1 02 00 */ stfd f31, 0x200(r1) /* 801F1B44 001EEAA4 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 /* 801F1B48 001EEAA8 DB C1 01 F0 */ stfd f30, 0x1f0(r1) /* 801F1B4C 001EEAAC F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 /* 801F1B50 001EEAB0 DB A1 01 E0 */ stfd f29, 0x1e0(r1) /* 801F1B54 001EEAB4 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 /* 801F1B58 001EEAB8 DB 81 01 D0 */ stfd f28, 0x1d0(r1) /* 801F1B5C 001EEABC F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 /* 801F1B60 001EEAC0 93 E1 01 CC */ stw r31, 0x1cc(r1) /* 801F1B64 001EEAC4 93 C1 01 C8 */ stw r30, 0x1c8(r1) /* 801F1B68 001EEAC8 93 A1 01 C4 */ stw r29, 0x1c4(r1) /* 801F1B6C 001EEACC 93 81 01 C0 */ stw r28, 0x1c0(r1) /* 801F1B70 001EEAD0 7C 7F 1B 78 */ mr r31, r3 /* 801F1B74 001EEAD4 FF E0 08 90 */ fmr f31, f1 /* 801F1B78 001EEAD8 88 03 03 20 */ lbz r0, 0x320(r3) /* 801F1B7C 001EEADC 7C 9C 23 78 */ mr r28, r4 /* 801F1B80 001EEAE0 7C BD 2B 78 */ mr r29, r5 /* 801F1B84 001EEAE4 28 00 00 00 */ cmplwi r0, 0 /* 801F1B88 001EEAE8 40 82 00 E4 */ bne lbl_801F1C6C /* 801F1B8C 001EEAEC A0 1F 00 10 */ lhz r0, 0x10(r31) /* 801F1B90 001EEAF0 7F 83 E3 78 */ mr r3, r28 /* 801F1B94 001EEAF4 38 81 00 08 */ addi r4, r1, 8 /* 801F1B98 001EEAF8 B0 01 00 08 */ sth r0, 8(r1) /* 801F1B9C 001EEAFC 4B E5 A9 D9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F1BA0 001EEB00 7C 7E 1B 79 */ or. r30, r3, r3 /* 801F1BA4 001EEB04 41 82 00 C8 */ beq lbl_801F1C6C /* 801F1BA8 001EEB08 7F A4 EB 78 */ mr r4, r29 /* 801F1BAC 001EEB0C 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801F1BB0 001EEB10 81 9D 00 00 */ lwz r12, 0(r29) /* 801F1BB4 001EEB14 81 8C 00 70 */ lwz r12, 0x70(r12) /* 801F1BB8 001EEB18 7D 89 03 A6 */ mtctr r12 /* 801F1BBC 001EEB1C 4E 80 04 21 */ bctrl /* 801F1BC0 001EEB20 7F A3 EB 78 */ mr r3, r29 /* 801F1BC4 001EEB24 81 9D 00 00 */ lwz r12, 0(r29) /* 801F1BC8 001EEB28 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 801F1BCC 001EEB2C 7D 89 03 A6 */ mtctr r12 /* 801F1BD0 001EEB30 4E 80 04 21 */ bctrl /* 801F1BD4 001EEB34 3C 80 80 5A */ lis r4, lbl_8059FD18@ha /* 801F1BD8 001EEB38 90 61 00 F0 */ stw r3, 0xf0(r1) /* 801F1BDC 001EEB3C 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l /* 801F1BE0 001EEB40 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801F1BE4 001EEB44 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801F1BE8 001EEB48 38 81 00 C0 */ addi r4, r1, 0xc0 /* 801F1BEC 001EEB4C 48 12 0F 89 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F1BF0 001EEB50 7F C4 F3 78 */ mr r4, r30 /* 801F1BF4 001EEB54 38 61 01 28 */ addi r3, r1, 0x128 /* 801F1BF8 001EEB58 81 9E 00 00 */ lwz r12, 0(r30) /* 801F1BFC 001EEB5C 81 8C 00 70 */ lwz r12, 0x70(r12) /* 801F1C00 001EEB60 7D 89 03 A6 */ mtctr r12 /* 801F1C04 001EEB64 4E 80 04 21 */ bctrl /* 801F1C08 001EEB68 7F C3 F3 78 */ mr r3, r30 /* 801F1C0C 001EEB6C 81 9E 00 00 */ lwz r12, 0(r30) /* 801F1C10 001EEB70 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 801F1C14 001EEB74 7D 89 03 A6 */ mtctr r12 /* 801F1C18 001EEB78 4E 80 04 21 */ bctrl /* 801F1C1C 001EEB7C 3C 80 80 5A */ lis r4, lbl_8059FD18@ha /* 801F1C20 001EEB80 90 61 01 58 */ stw r3, 0x158(r1) /* 801F1C24 001EEB84 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l /* 801F1C28 001EEB88 38 61 01 60 */ addi r3, r1, 0x160 /* 801F1C2C 001EEB8C 90 01 01 5C */ stw r0, 0x15c(r1) /* 801F1C30 001EEB90 38 81 01 28 */ addi r4, r1, 0x128 /* 801F1C34 001EEB94 48 12 0F 41 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F1C38 001EEB98 38 61 01 58 */ addi r3, r1, 0x158 /* 801F1C3C 001EEB9C 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801F1C40 001EEBA0 48 0D CB ED */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc /* 801F1C44 001EEBA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F1C48 001EEBA8 40 82 00 24 */ bne lbl_801F1C6C /* 801F1C4C 001EEBAC 7F C3 F3 78 */ mr r3, r30 /* 801F1C50 001EEBB0 38 80 00 01 */ li r4, 1 /* 801F1C54 001EEBB4 81 9E 00 00 */ lwz r12, 0(r30) /* 801F1C58 001EEBB8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801F1C5C 001EEBBC 7D 89 03 A6 */ mtctr r12 /* 801F1C60 001EEBC0 4E 80 04 21 */ bctrl /* 801F1C64 001EEBC4 38 00 00 01 */ li r0, 1 /* 801F1C68 001EEBC8 98 1F 03 20 */ stb r0, 0x320(r31) lbl_801F1C6C: /* 801F1C6C 001EEBCC 80 1F 00 04 */ lwz r0, 4(r31) /* 801F1C70 001EEBD0 28 00 00 00 */ cmplwi r0, 0 /* 801F1C74 001EEBD4 41 82 02 00 */ beq lbl_801F1E74 /* 801F1C78 001EEBD8 80 1F 03 1C */ lwz r0, 0x31c(r31) /* 801F1C7C 001EEBDC 28 00 00 03 */ cmplwi r0, 3 /* 801F1C80 001EEBE0 40 80 01 F4 */ bge lbl_801F1E74 /* 801F1C84 001EEBE4 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801F1C88 001EEBE8 C0 22 AE E0 */ lfs f1, lbl_805ACC00@sda21(r2) /* 801F1C8C 001EEBEC D0 01 00 54 */ stfs f0, 0x54(r1) /* 801F1C90 001EEBF0 C0 42 AE E4 */ lfs f2, lbl_805ACC04@sda21(r2) /* 801F1C94 001EEBF4 C0 1F 03 08 */ lfs f0, 0x308(r31) /* 801F1C98 001EEBF8 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801F1C9C 001EEBFC C0 1F 03 0C */ lfs f0, 0x30c(r31) /* 801F1CA0 001EEC00 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801F1CA4 001EEC04 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801F1CA8 001EEC08 48 12 08 9D */ bl Range__9CRandom16Fff /* 801F1CAC 001EEC0C C0 01 00 54 */ lfs f0, 0x54(r1) /* 801F1CB0 001EEC10 C0 42 AE E4 */ lfs f2, lbl_805ACC04@sda21(r2) /* 801F1CB4 001EEC14 EC 00 08 2A */ fadds f0, f0, f1 /* 801F1CB8 001EEC18 C0 22 AE E0 */ lfs f1, lbl_805ACC00@sda21(r2) /* 801F1CBC 001EEC1C D0 01 00 54 */ stfs f0, 0x54(r1) /* 801F1CC0 001EEC20 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801F1CC4 001EEC24 48 12 08 81 */ bl Range__9CRandom16Fff /* 801F1CC8 001EEC28 C0 01 00 58 */ lfs f0, 0x58(r1) /* 801F1CCC 001EEC2C C0 42 AE E4 */ lfs f2, lbl_805ACC04@sda21(r2) /* 801F1CD0 001EEC30 EC 00 08 2A */ fadds f0, f0, f1 /* 801F1CD4 001EEC34 C0 22 AE E0 */ lfs f1, lbl_805ACC00@sda21(r2) /* 801F1CD8 001EEC38 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801F1CDC 001EEC3C 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801F1CE0 001EEC40 48 12 08 65 */ bl Range__9CRandom16Fff /* 801F1CE4 001EEC44 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801F1CE8 001EEC48 C0 62 AE E8 */ lfs f3, lbl_805ACC08@sda21(r2) /* 801F1CEC 001EEC4C EC 80 08 2A */ fadds f4, f0, f1 /* 801F1CF0 001EEC50 C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F1CF4 001EEC54 D0 61 00 30 */ stfs f3, 0x30(r1) /* 801F1CF8 001EEC58 FC 20 18 90 */ fmr f1, f3 /* 801F1CFC 001EEC5C C0 42 AE F0 */ lfs f2, lbl_805ACC10@sda21(r2) /* 801F1D00 001EEC60 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 801F1D04 001EEC64 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801F1D08 001EEC68 D0 61 00 38 */ stfs f3, 0x38(r1) /* 801F1D0C 001EEC6C 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801F1D10 001EEC70 48 12 08 35 */ bl Range__9CRandom16Fff /* 801F1D14 001EEC74 C0 02 AE F4 */ lfs f0, lbl_805ACC14@sda21(r2) /* 801F1D18 001EEC78 38 61 00 90 */ addi r3, r1, 0x90 /* 801F1D1C 001EEC7C 38 81 00 0C */ addi r4, r1, 0xc /* 801F1D20 001EEC80 EC 00 00 72 */ fmuls f0, f0, f1 /* 801F1D24 001EEC84 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801F1D28 001EEC88 48 12 1A E9 */ bl RotateZ__12CTransform4fFRC9CRelAngle /* 801F1D2C 001EEC8C 38 61 00 3C */ addi r3, r1, 0x3c /* 801F1D30 001EEC90 38 81 00 90 */ addi r4, r1, 0x90 /* 801F1D34 001EEC94 38 A1 00 30 */ addi r5, r1, 0x30 /* 801F1D38 001EEC98 48 12 0D B1 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801F1D3C 001EEC9C C0 41 00 3C */ lfs f2, 0x3c(r1) /* 801F1D40 001EECA0 38 61 00 24 */ addi r3, r1, 0x24 /* 801F1D44 001EECA4 C0 21 00 40 */ lfs f1, 0x40(r1) /* 801F1D48 001EECA8 38 81 00 54 */ addi r4, r1, 0x54 /* 801F1D4C 001EECAC C0 01 00 44 */ lfs f0, 0x44(r1) /* 801F1D50 001EECB0 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801F1D54 001EECB4 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801F1D58 001EECB8 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801F1D5C 001EECBC 48 12 2A F5 */ bl AsNormalized__9CVector3fCFv /* 801F1D60 001EECC0 3C 80 80 5A */ lis r4, skZero3f@ha /* 801F1D64 001EECC4 38 61 00 60 */ addi r3, r1, 0x60 /* 801F1D68 001EECC8 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 801F1D6C 001EECCC 38 A1 00 24 */ addi r5, r1, 0x24 /* 801F1D70 001EECD0 38 C1 00 48 */ addi r6, r1, 0x48 /* 801F1D74 001EECD4 48 12 1D 9D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801F1D78 001EECD8 38 61 01 90 */ addi r3, r1, 0x190 /* 801F1D7C 001EECDC 38 81 00 60 */ addi r4, r1, 0x60 /* 801F1D80 001EECE0 48 12 0D F5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F1D84 001EECE4 38 7F 03 10 */ addi r3, r31, 0x310 /* 801F1D88 001EECE8 48 12 2B 31 */ bl Magnitude__9CVector3fCFv /* 801F1D8C 001EECEC FF 80 08 90 */ fmr f28, f1 /* 801F1D90 001EECF0 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801F1D94 001EECF4 FF A0 E0 50 */ fneg f29, f28 /* 801F1D98 001EECF8 FC 40 E0 90 */ fmr f2, f28 /* 801F1D9C 001EECFC FC 20 E8 90 */ fmr f1, f29 /* 801F1DA0 001EED00 48 12 07 A5 */ bl Range__9CRandom16Fff /* 801F1DA4 001EED04 FF C0 08 90 */ fmr f30, f1 /* 801F1DA8 001EED08 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801F1DAC 001EED0C FC 20 E8 90 */ fmr f1, f29 /* 801F1DB0 001EED10 FC 40 E0 90 */ fmr f2, f28 /* 801F1DB4 001EED14 48 12 07 91 */ bl Range__9CRandom16Fff /* 801F1DB8 001EED18 C0 5F 02 FC */ lfs f2, 0x2fc(r31) /* 801F1DBC 001EED1C 38 81 00 18 */ addi r4, r1, 0x18 /* 801F1DC0 001EED20 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 801F1DC4 001EED24 C0 7F 03 00 */ lfs f3, 0x300(r31) /* 801F1DC8 001EED28 EC 82 F0 2A */ fadds f4, f2, f30 /* 801F1DCC 001EED2C C0 42 AE F8 */ lfs f2, lbl_805ACC18@sda21(r2) /* 801F1DD0 001EED30 EC 00 08 2A */ fadds f0, f0, f1 /* 801F1DD4 001EED34 EC 23 10 2A */ fadds f1, f3, f2 /* 801F1DD8 001EED38 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801F1DDC 001EED3C D0 01 00 18 */ stfs f0, 0x18(r1) /* 801F1DE0 001EED40 D0 21 00 20 */ stfs f1, 0x20(r1) /* 801F1DE4 001EED44 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1DE8 001EED48 81 83 00 00 */ lwz r12, 0(r3) /* 801F1DEC 001EED4C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801F1DF0 001EED50 7D 89 03 A6 */ mtctr r12 /* 801F1DF4 001EED54 4E 80 04 21 */ bctrl /* 801F1DF8 001EED58 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1DFC 001EED5C 38 81 01 90 */ addi r4, r1, 0x190 /* 801F1E00 001EED60 81 83 00 00 */ lwz r12, 0(r3) /* 801F1E04 001EED64 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801F1E08 001EED68 7D 89 03 A6 */ mtctr r12 /* 801F1E0C 001EED6C 4E 80 04 21 */ bctrl /* 801F1E10 001EED70 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1E14 001EED74 38 80 00 01 */ li r4, 1 /* 801F1E18 001EED78 48 12 AA A9 */ bl ForceParticleCreation__11CElementGenFi /* 801F1E1C 001EED7C 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1E20 001EED80 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801F1E24 001EED84 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801F1E28 001EED88 81 83 00 00 */ lwz r12, 0(r3) /* 801F1E2C 001EED8C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801F1E30 001EED90 7D 89 03 A6 */ mtctr r12 /* 801F1E34 001EED94 4E 80 04 21 */ bctrl /* 801F1E38 001EED98 80 7F 03 1C */ lwz r3, 0x31c(r31) /* 801F1E3C 001EED9C 38 03 00 01 */ addi r0, r3, 1 /* 801F1E40 001EEDA0 90 1F 03 1C */ stw r0, 0x31c(r31) /* 801F1E44 001EEDA4 C0 3F 02 F8 */ lfs f1, 0x2f8(r31) /* 801F1E48 001EEDA8 C0 1F 03 10 */ lfs f0, 0x310(r31) /* 801F1E4C 001EEDAC EC 01 00 2A */ fadds f0, f1, f0 /* 801F1E50 001EEDB0 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) /* 801F1E54 001EEDB4 C0 3F 02 FC */ lfs f1, 0x2fc(r31) /* 801F1E58 001EEDB8 C0 1F 03 14 */ lfs f0, 0x314(r31) /* 801F1E5C 001EEDBC EC 01 00 2A */ fadds f0, f1, f0 /* 801F1E60 001EEDC0 D0 1F 02 FC */ stfs f0, 0x2fc(r31) /* 801F1E64 001EEDC4 C0 3F 03 00 */ lfs f1, 0x300(r31) /* 801F1E68 001EEDC8 C0 1F 03 18 */ lfs f0, 0x318(r31) /* 801F1E6C 001EEDCC EC 01 00 2A */ fadds f0, f1, f0 /* 801F1E70 001EEDD0 D0 1F 03 00 */ stfs f0, 0x300(r31) lbl_801F1E74: /* 801F1E74 001EEDD4 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1E78 001EEDD8 28 03 00 00 */ cmplwi r3, 0 /* 801F1E7C 001EEDDC 41 82 00 34 */ beq lbl_801F1EB0 /* 801F1E80 001EEDE0 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 801F1E84 001EEDE4 C0 02 AE FC */ lfs f0, lbl_805ACC1C@sda21(r2) /* 801F1E88 001EEDE8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F1E8C 001EEDEC 41 80 00 10 */ blt lbl_801F1E9C /* 801F1E90 001EEDF0 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801F1E94 001EEDF4 28 00 00 00 */ cmplwi r0, 0 /* 801F1E98 001EEDF8 41 82 00 18 */ beq lbl_801F1EB0 lbl_801F1E9C: /* 801F1E9C 001EEDFC 81 83 00 00 */ lwz r12, 0(r3) /* 801F1EA0 001EEE00 FC 20 F8 90 */ fmr f1, f31 /* 801F1EA4 001EEE04 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801F1EA8 001EEE08 7D 89 03 A6 */ mtctr r12 /* 801F1EAC 001EEE0C 4E 80 04 21 */ bctrl lbl_801F1EB0: /* 801F1EB0 001EEE10 C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801F1EB4 001EEE14 EC 00 F8 2A */ fadds f0, f0, f31 /* 801F1EB8 001EEE18 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 801F1EBC 001EEE1C 80 7F 00 0C */ lwz r3, 0xc(r31) /* 801F1EC0 001EEE20 28 03 00 00 */ cmplwi r3, 0 /* 801F1EC4 001EEE24 41 82 00 EC */ beq lbl_801F1FB0 /* 801F1EC8 001EEE28 81 83 00 00 */ lwz r12, 0(r3) /* 801F1ECC 001EEE2C FC 20 F8 90 */ fmr f1, f31 /* 801F1ED0 001EEE30 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801F1ED4 001EEE34 7D 89 03 A6 */ mtctr r12 /* 801F1ED8 001EEE38 4E 80 04 21 */ bctrl /* 801F1EDC 001EEE3C 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1EE0 001EEE40 28 03 00 00 */ cmplwi r3, 0 /* 801F1EE4 001EEE44 41 82 00 CC */ beq lbl_801F1FB0 /* 801F1EE8 001EEE48 81 83 00 00 */ lwz r12, 0(r3) /* 801F1EEC 001EEE4C 81 8C 00 58 */ lwz r12, 0x58(r12) /* 801F1EF0 001EEE50 7D 89 03 A6 */ mtctr r12 /* 801F1EF4 001EEE54 4E 80 04 21 */ bctrl /* 801F1EF8 001EEE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F1EFC 001EEE5C 41 82 00 B4 */ beq lbl_801F1FB0 /* 801F1F00 001EEE60 38 00 00 00 */ li r0, 0 /* 801F1F04 001EEE64 98 1F 00 00 */ stb r0, 0(r31) /* 801F1F08 001EEE68 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1F0C 001EEE6C 28 03 00 00 */ cmplwi r3, 0 /* 801F1F10 001EEE70 41 82 00 18 */ beq lbl_801F1F28 /* 801F1F14 001EEE74 81 83 00 00 */ lwz r12, 0(r3) /* 801F1F18 001EEE78 38 80 00 01 */ li r4, 1 /* 801F1F1C 001EEE7C 81 8C 00 08 */ lwz r12, 8(r12) /* 801F1F20 001EEE80 7D 89 03 A6 */ mtctr r12 /* 801F1F24 001EEE84 4E 80 04 21 */ bctrl lbl_801F1F28: /* 801F1F28 001EEE88 38 01 00 10 */ addi r0, r1, 0x10 /* 801F1F2C 001EEE8C 38 60 00 00 */ li r3, 0 /* 801F1F30 001EEE90 7C 00 F8 40 */ cmplw r0, r31 /* 801F1F34 001EEE94 98 61 00 10 */ stb r3, 0x10(r1) /* 801F1F38 001EEE98 90 61 00 14 */ stw r3, 0x14(r1) /* 801F1F3C 001EEE9C 41 82 00 48 */ beq lbl_801F1F84 /* 801F1F40 001EEEA0 88 1F 00 00 */ lbz r0, 0(r31) /* 801F1F44 001EEEA4 28 00 00 00 */ cmplwi r0, 0 /* 801F1F48 001EEEA8 41 82 00 24 */ beq lbl_801F1F6C /* 801F1F4C 001EEEAC 80 7F 00 04 */ lwz r3, 4(r31) /* 801F1F50 001EEEB0 28 03 00 00 */ cmplwi r3, 0 /* 801F1F54 001EEEB4 41 82 00 18 */ beq lbl_801F1F6C /* 801F1F58 001EEEB8 81 83 00 00 */ lwz r12, 0(r3) /* 801F1F5C 001EEEBC 38 80 00 01 */ li r4, 1 /* 801F1F60 001EEEC0 81 8C 00 08 */ lwz r12, 8(r12) /* 801F1F64 001EEEC4 7D 89 03 A6 */ mtctr r12 /* 801F1F68 001EEEC8 4E 80 04 21 */ bctrl lbl_801F1F6C: /* 801F1F6C 001EEECC 88 61 00 10 */ lbz r3, 0x10(r1) /* 801F1F70 001EEED0 38 00 00 00 */ li r0, 0 /* 801F1F74 001EEED4 98 7F 00 00 */ stb r3, 0(r31) /* 801F1F78 001EEED8 80 61 00 14 */ lwz r3, 0x14(r1) /* 801F1F7C 001EEEDC 90 7F 00 04 */ stw r3, 4(r31) /* 801F1F80 001EEEE0 98 01 00 10 */ stb r0, 0x10(r1) lbl_801F1F84: /* 801F1F84 001EEEE4 88 01 00 10 */ lbz r0, 0x10(r1) /* 801F1F88 001EEEE8 28 00 00 00 */ cmplwi r0, 0 /* 801F1F8C 001EEEEC 41 82 00 24 */ beq lbl_801F1FB0 /* 801F1F90 001EEEF0 80 61 00 14 */ lwz r3, 0x14(r1) /* 801F1F94 001EEEF4 28 03 00 00 */ cmplwi r3, 0 /* 801F1F98 001EEEF8 41 82 00 18 */ beq lbl_801F1FB0 /* 801F1F9C 001EEEFC 81 83 00 00 */ lwz r12, 0(r3) /* 801F1FA0 001EEF00 38 80 00 01 */ li r4, 1 /* 801F1FA4 001EEF04 81 8C 00 08 */ lwz r12, 8(r12) /* 801F1FA8 001EEF08 7D 89 03 A6 */ mtctr r12 /* 801F1FAC 001EEF0C 4E 80 04 21 */ bctrl lbl_801F1FB0: /* 801F1FB0 001EEF10 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 /* 801F1FB4 001EEF14 CB E1 02 00 */ lfd f31, 0x200(r1) /* 801F1FB8 001EEF18 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 /* 801F1FBC 001EEF1C CB C1 01 F0 */ lfd f30, 0x1f0(r1) /* 801F1FC0 001EEF20 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 /* 801F1FC4 001EEF24 CB A1 01 E0 */ lfd f29, 0x1e0(r1) /* 801F1FC8 001EEF28 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 /* 801F1FCC 001EEF2C CB 81 01 D0 */ lfd f28, 0x1d0(r1) /* 801F1FD0 001EEF30 83 E1 01 CC */ lwz r31, 0x1cc(r1) /* 801F1FD4 001EEF34 83 C1 01 C8 */ lwz r30, 0x1c8(r1) /* 801F1FD8 001EEF38 83 A1 01 C4 */ lwz r29, 0x1c4(r1) /* 801F1FDC 001EEF3C 80 01 02 14 */ lwz r0, 0x214(r1) /* 801F1FE0 001EEF40 83 81 01 C0 */ lwz r28, 0x1c0(r1) /* 801F1FE4 001EEF44 7C 08 03 A6 */ mtlr r0 /* 801F1FE8 001EEF48 38 21 02 10 */ addi r1, r1, 0x210 /* 801F1FEC 001EEF4C 4E 80 00 20 */ blr .global DeleteCollisionObject__Q220CIceAttackProjectile12CTrailObjectFR13CStateManager DeleteCollisionObject__Q220CIceAttackProjectile12CTrailObjectFR13CStateManager: /* 801F1FF0 001EEF50 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F1FF4 001EEF54 7C 08 02 A6 */ mflr r0 /* 801F1FF8 001EEF58 90 01 00 24 */ stw r0, 0x24(r1) /* 801F1FFC 001EEF5C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F2000 001EEF60 7C 7F 1B 78 */ mr r31, r3 /* 801F2004 001EEF64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F2008 001EEF68 A0 63 00 10 */ lhz r3, 0x10(r3) /* 801F200C 001EEF6C 7C 03 00 40 */ cmplw r3, r0 /* 801F2010 001EEF70 41 82 00 20 */ beq lbl_801F2030 /* 801F2014 001EEF74 A0 1F 00 10 */ lhz r0, 0x10(r31) /* 801F2018 001EEF78 7C 83 23 78 */ mr r3, r4 /* 801F201C 001EEF7C 38 81 00 08 */ addi r4, r1, 8 /* 801F2020 001EEF80 B0 01 00 08 */ sth r0, 8(r1) /* 801F2024 001EEF84 4B E5 A2 49 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801F2028 001EEF88 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F202C 001EEF8C B0 1F 00 10 */ sth r0, 0x10(r31) lbl_801F2030: /* 801F2030 001EEF90 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F2034 001EEF94 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F2038 001EEF98 7C 08 03 A6 */ mtlr r0 /* 801F203C 001EEF9C 38 21 00 20 */ addi r1, r1, 0x20 /* 801F2040 001EEFA0 4E 80 00 20 */ blr .global StartExplosion__Q220CIceAttackProjectile12CTrailObjectFP11CElementGenR13CStateManager StartExplosion__Q220CIceAttackProjectile12CTrailObjectFP11CElementGenR13CStateManager: /* 801F2044 001EEFA4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F2048 001EEFA8 7C 08 02 A6 */ mflr r0 /* 801F204C 001EEFAC 90 01 00 34 */ stw r0, 0x34(r1) /* 801F2050 001EEFB0 7C 04 00 D0 */ neg r0, r4 /* 801F2054 001EEFB4 7C 06 23 78 */ or r6, r0, r4 /* 801F2058 001EEFB8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F205C 001EEFBC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F2060 001EEFC0 7C BE 2B 78 */ mr r30, r5 /* 801F2064 001EEFC4 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F2068 001EEFC8 7C 7D 1B 78 */ mr r29, r3 /* 801F206C 001EEFCC 38 61 00 08 */ addi r3, r1, 8 /* 801F2070 001EEFD0 38 1D 00 08 */ addi r0, r29, 8 /* 801F2074 001EEFD4 90 81 00 0C */ stw r4, 0xc(r1) /* 801F2078 001EEFD8 54 C4 0F FE */ srwi r4, r6, 0x1f /* 801F207C 001EEFDC 7C 03 00 40 */ cmplw r3, r0 /* 801F2080 001EEFE0 98 81 00 08 */ stb r4, 8(r1) /* 801F2084 001EEFE4 41 82 00 48 */ beq lbl_801F20CC /* 801F2088 001EEFE8 88 1D 00 08 */ lbz r0, 8(r29) /* 801F208C 001EEFEC 28 00 00 00 */ cmplwi r0, 0 /* 801F2090 001EEFF0 41 82 00 24 */ beq lbl_801F20B4 /* 801F2094 001EEFF4 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801F2098 001EEFF8 28 03 00 00 */ cmplwi r3, 0 /* 801F209C 001EEFFC 41 82 00 18 */ beq lbl_801F20B4 /* 801F20A0 001EF000 81 83 00 00 */ lwz r12, 0(r3) /* 801F20A4 001EF004 38 80 00 01 */ li r4, 1 /* 801F20A8 001EF008 81 8C 00 08 */ lwz r12, 8(r12) /* 801F20AC 001EF00C 7D 89 03 A6 */ mtctr r12 /* 801F20B0 001EF010 4E 80 04 21 */ bctrl lbl_801F20B4: /* 801F20B4 001EF014 88 61 00 08 */ lbz r3, 8(r1) /* 801F20B8 001EF018 38 00 00 00 */ li r0, 0 /* 801F20BC 001EF01C 98 7D 00 08 */ stb r3, 8(r29) /* 801F20C0 001EF020 80 61 00 0C */ lwz r3, 0xc(r1) /* 801F20C4 001EF024 90 7D 00 0C */ stw r3, 0xc(r29) /* 801F20C8 001EF028 98 01 00 08 */ stb r0, 8(r1) lbl_801F20CC: /* 801F20CC 001EF02C 88 01 00 08 */ lbz r0, 8(r1) /* 801F20D0 001EF030 28 00 00 00 */ cmplwi r0, 0 /* 801F20D4 001EF034 41 82 00 24 */ beq lbl_801F20F8 /* 801F20D8 001EF038 80 61 00 0C */ lwz r3, 0xc(r1) /* 801F20DC 001EF03C 28 03 00 00 */ cmplwi r3, 0 /* 801F20E0 001EF040 41 82 00 18 */ beq lbl_801F20F8 /* 801F20E4 001EF044 81 83 00 00 */ lwz r12, 0(r3) /* 801F20E8 001EF048 38 80 00 01 */ li r4, 1 /* 801F20EC 001EF04C 81 8C 00 08 */ lwz r12, 8(r12) /* 801F20F0 001EF050 7D 89 03 A6 */ mtctr r12 /* 801F20F4 001EF054 4E 80 04 21 */ bctrl lbl_801F20F8: /* 801F20F8 001EF058 80 7D 00 04 */ lwz r3, 4(r29) /* 801F20FC 001EF05C 83 FD 00 0C */ lwz r31, 0xc(r29) /* 801F2100 001EF060 81 83 00 00 */ lwz r12, 0(r3) /* 801F2104 001EF064 81 8C 00 38 */ lwz r12, 0x38(r12) /* 801F2108 001EF068 7D 89 03 A6 */ mtctr r12 /* 801F210C 001EF06C 4E 80 04 21 */ bctrl /* 801F2110 001EF070 81 9F 00 00 */ lwz r12, 0(r31) /* 801F2114 001EF074 7C 64 1B 78 */ mr r4, r3 /* 801F2118 001EF078 7F E3 FB 78 */ mr r3, r31 /* 801F211C 001EF07C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801F2120 001EF080 7D 89 03 A6 */ mtctr r12 /* 801F2124 001EF084 4E 80 04 21 */ bctrl /* 801F2128 001EF088 80 7D 00 04 */ lwz r3, 4(r29) /* 801F212C 001EF08C 81 83 00 00 */ lwz r12, 0(r3) /* 801F2130 001EF090 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 801F2134 001EF094 7D 89 03 A6 */ mtctr r12 /* 801F2138 001EF098 4E 80 04 21 */ bctrl /* 801F213C 001EF09C C0 23 00 04 */ lfs f1, 4(r3) /* 801F2140 001EF0A0 38 81 00 10 */ addi r4, r1, 0x10 /* 801F2144 001EF0A4 C0 62 AE E8 */ lfs f3, lbl_805ACC08@sda21(r2) /* 801F2148 001EF0A8 C0 03 00 00 */ lfs f0, 0(r3) /* 801F214C 001EF0AC C0 43 00 08 */ lfs f2, 8(r3) /* 801F2150 001EF0B0 EC 81 18 2A */ fadds f4, f1, f3 /* 801F2154 001EF0B4 C0 22 AF 00 */ lfs f1, lbl_805ACC20@sda21(r2) /* 801F2158 001EF0B8 EC 00 18 2A */ fadds f0, f0, f3 /* 801F215C 001EF0BC EC 22 08 2A */ fadds f1, f2, f1 /* 801F2160 001EF0C0 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801F2164 001EF0C4 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801F2168 001EF0C8 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F216C 001EF0CC 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801F2170 001EF0D0 81 83 00 00 */ lwz r12, 0(r3) /* 801F2174 001EF0D4 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801F2178 001EF0D8 7D 89 03 A6 */ mtctr r12 /* 801F217C 001EF0DC 4E 80 04 21 */ bctrl /* 801F2180 001EF0E0 80 7D 00 0C */ lwz r3, 0xc(r29) /* 801F2184 001EF0E4 38 80 00 01 */ li r4, 1 /* 801F2188 001EF0E8 81 83 00 00 */ lwz r12, 0(r3) /* 801F218C 001EF0EC 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801F2190 001EF0F0 7D 89 03 A6 */ mtctr r12 /* 801F2194 001EF0F4 4E 80 04 21 */ bctrl /* 801F2198 001EF0F8 7F A3 EB 78 */ mr r3, r29 /* 801F219C 001EF0FC 7F C4 F3 78 */ mr r4, r30 /* 801F21A0 001EF100 4B FF FE 51 */ bl DeleteCollisionObject__Q220CIceAttackProjectile12CTrailObjectFR13CStateManager /* 801F21A4 001EF104 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F21A8 001EF108 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F21AC 001EF10C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F21B0 001EF110 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F21B4 001EF114 7C 08 03 A6 */ mtlr r0 /* 801F21B8 001EF118 38 21 00 30 */ addi r1, r1, 0x30 /* 801F21BC 001EF11C 4E 80 00 20 */ blr .global GetTranslation__11CElementGenCFv GetTranslation__11CElementGenCFv: /* 801F21C0 001EF120 38 63 00 DC */ addi r3, r3, 0xdc /* 801F21C4 001EF124 4E 80 00 20 */ blr .global GetOrientation__11CElementGenCFv GetOrientation__11CElementGenCFv: /* 801F21C8 001EF128 38 63 01 D8 */ addi r3, r3, 0x1d8 /* 801F21CC 001EF12C 4E 80 00 20 */ blr .global __ct__Q220CIceAttackProjectile12CTrailObjectFP11CElementGen9TUniqueIdRC9CVector3fRC9CVector3fRC9CVector3f __ct__Q220CIceAttackProjectile12CTrailObjectFP11CElementGen9TUniqueIdRC9CVector3fRC9CVector3fRC9CVector3f: /* 801F21D0 001EF130 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F21D4 001EF134 7C 08 02 A6 */ mflr r0 /* 801F21D8 001EF138 C0 42 AE E8 */ lfs f2, lbl_805ACC08@sda21(r2) /* 801F21DC 001EF13C 39 20 00 00 */ li r9, 0 /* 801F21E0 001EF140 90 01 00 34 */ stw r0, 0x34(r1) /* 801F21E4 001EF144 7C 04 00 D0 */ neg r0, r4 /* 801F21E8 001EF148 7C 00 23 78 */ or r0, r0, r4 /* 801F21EC 001EF14C C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F21F0 001EF150 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F21F4 001EF154 7D 1F 43 78 */ mr r31, r8 /* 801F21F8 001EF158 54 00 0F FE */ srwi r0, r0, 0x1f /* 801F21FC 001EF15C C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) /* 801F2200 001EF160 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F2204 001EF164 7C FE 3B 78 */ mr r30, r7 /* 801F2208 001EF168 38 E0 00 04 */ li r7, 4 /* 801F220C 001EF16C 39 00 00 00 */ li r8, 0 /* 801F2210 001EF170 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F2214 001EF174 7C DD 33 78 */ mr r29, r6 /* 801F2218 001EF178 38 C0 00 04 */ li r6, 4 /* 801F221C 001EF17C 39 40 00 00 */ li r10, 0 /* 801F2220 001EF180 93 81 00 20 */ stw r28, 0x20(r1) /* 801F2224 001EF184 7C 7C 1B 78 */ mr r28, r3 /* 801F2228 001EF188 98 03 00 00 */ stb r0, 0(r3) /* 801F222C 001EF18C 38 00 00 00 */ li r0, 0 /* 801F2230 001EF190 90 83 00 04 */ stw r4, 4(r3) /* 801F2234 001EF194 38 7C 00 18 */ addi r3, r28, 0x18 /* 801F2238 001EF198 38 80 00 01 */ li r4, 1 /* 801F223C 001EF19C 98 1C 00 08 */ stb r0, 8(r28) /* 801F2240 001EF1A0 90 1C 00 0C */ stw r0, 0xc(r28) /* 801F2244 001EF1A4 A0 05 00 00 */ lhz r0, 0(r5) /* 801F2248 001EF1A8 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F224C 001EF1AC D0 41 00 08 */ stfs f2, 8(r1) /* 801F2250 001EF1B0 B0 1C 00 10 */ sth r0, 0x10(r28) /* 801F2254 001EF1B4 81 81 00 08 */ lwz r12, 8(r1) /* 801F2258 001EF1B8 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801F225C 001EF1BC D0 01 00 10 */ stfs f0, 0x10(r1) /* 801F2260 001EF1C0 81 61 00 0C */ lwz r11, 0xc(r1) /* 801F2264 001EF1C4 D0 5C 00 14 */ stfs f2, 0x14(r28) /* 801F2268 001EF1C8 80 01 00 10 */ lwz r0, 0x10(r1) /* 801F226C 001EF1CC 91 81 00 14 */ stw r12, 0x14(r1) /* 801F2270 001EF1D0 91 61 00 18 */ stw r11, 0x18(r1) /* 801F2274 001EF1D4 90 01 00 1C */ stw r0, 0x1c(r1) /* 801F2278 001EF1D8 4B F1 2F 55 */ bl __ct__12CActorLightsFUi9CVector3fiif /* 801F227C 001EF1DC C0 1D 00 00 */ lfs f0, 0(r29) /* 801F2280 001EF1E0 38 00 00 00 */ li r0, 0 /* 801F2284 001EF1E4 7F 83 E3 78 */ mr r3, r28 /* 801F2288 001EF1E8 D0 1C 02 F8 */ stfs f0, 0x2f8(r28) /* 801F228C 001EF1EC C0 1D 00 04 */ lfs f0, 4(r29) /* 801F2290 001EF1F0 D0 1C 02 FC */ stfs f0, 0x2fc(r28) /* 801F2294 001EF1F4 C0 1D 00 08 */ lfs f0, 8(r29) /* 801F2298 001EF1F8 D0 1C 03 00 */ stfs f0, 0x300(r28) /* 801F229C 001EF1FC C0 1E 00 00 */ lfs f0, 0(r30) /* 801F22A0 001EF200 D0 1C 03 04 */ stfs f0, 0x304(r28) /* 801F22A4 001EF204 C0 1E 00 04 */ lfs f0, 4(r30) /* 801F22A8 001EF208 D0 1C 03 08 */ stfs f0, 0x308(r28) /* 801F22AC 001EF20C C0 1E 00 08 */ lfs f0, 8(r30) /* 801F22B0 001EF210 D0 1C 03 0C */ stfs f0, 0x30c(r28) /* 801F22B4 001EF214 C0 1F 00 00 */ lfs f0, 0(r31) /* 801F22B8 001EF218 D0 1C 03 10 */ stfs f0, 0x310(r28) /* 801F22BC 001EF21C C0 1F 00 04 */ lfs f0, 4(r31) /* 801F22C0 001EF220 D0 1C 03 14 */ stfs f0, 0x314(r28) /* 801F22C4 001EF224 C0 1F 00 08 */ lfs f0, 8(r31) /* 801F22C8 001EF228 D0 1C 03 18 */ stfs f0, 0x318(r28) /* 801F22CC 001EF22C 90 1C 03 1C */ stw r0, 0x31c(r28) /* 801F22D0 001EF230 98 1C 03 20 */ stb r0, 0x320(r28) /* 801F22D4 001EF234 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F22D8 001EF238 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F22DC 001EF23C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F22E0 001EF240 83 81 00 20 */ lwz r28, 0x20(r1) /* 801F22E4 001EF244 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F22E8 001EF248 7C 08 03 A6 */ mtlr r0 /* 801F22EC 001EF24C 38 21 00 30 */ addi r1, r1, 0x30 /* 801F22F0 001EF250 4E 80 00 20 */ blr .global AcceptScriptMsg__20CIceAttackProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__20CIceAttackProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801F22F4 001EF254 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F22F8 001EF258 7C 08 02 A6 */ mflr r0 /* 801F22FC 001EF25C 90 01 00 24 */ stw r0, 0x24(r1) /* 801F2300 001EF260 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F2304 001EF264 7C 9F 23 78 */ mr r31, r4 /* 801F2308 001EF268 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F230C 001EF26C 7C BE 2B 78 */ mr r30, r5 /* 801F2310 001EF270 93 A1 00 14 */ stw r29, 0x14(r1) /* 801F2314 001EF274 7C DD 33 78 */ mr r29, r6 /* 801F2318 001EF278 93 81 00 10 */ stw r28, 0x10(r1) /* 801F231C 001EF27C 7C 7C 1B 78 */ mr r28, r3 /* 801F2320 001EF280 A0 05 00 00 */ lhz r0, 0(r5) /* 801F2324 001EF284 38 A1 00 08 */ addi r5, r1, 8 /* 801F2328 001EF288 B0 01 00 08 */ sth r0, 8(r1) /* 801F232C 001EF28C 4B E6 12 E9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801F2330 001EF290 2C 1F 00 22 */ cmpwi r31, 0x22 /* 801F2334 001EF294 41 82 00 30 */ beq lbl_801F2364 /* 801F2338 001EF298 40 80 00 6C */ bge lbl_801F23A4 /* 801F233C 001EF29C 2C 1F 00 21 */ cmpwi r31, 0x21 /* 801F2340 001EF2A0 40 80 00 08 */ bge lbl_801F2348 /* 801F2344 001EF2A4 48 00 00 60 */ b lbl_801F23A4 lbl_801F2348: /* 801F2348 001EF2A8 7F 83 E3 78 */ mr r3, r28 /* 801F234C 001EF2AC 38 80 00 01 */ li r4, 1 /* 801F2350 001EF2B0 81 9C 00 00 */ lwz r12, 0(r28) /* 801F2354 001EF2B4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801F2358 001EF2B8 7D 89 03 A6 */ mtctr r12 /* 801F235C 001EF2BC 4E 80 04 21 */ bctrl /* 801F2360 001EF2C0 48 00 00 44 */ b lbl_801F23A4 lbl_801F2364: /* 801F2364 001EF2C4 A0 7E 00 00 */ lhz r3, 0(r30) /* 801F2368 001EF2C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F236C 001EF2CC 7C 03 00 40 */ cmplw r3, r0 /* 801F2370 001EF2D0 40 82 00 34 */ bne lbl_801F23A4 /* 801F2374 001EF2D4 3B C0 00 00 */ li r30, 0 /* 801F2378 001EF2D8 3B E0 00 00 */ li r31, 0 /* 801F237C 001EF2DC 48 00 00 1C */ b lbl_801F2398 lbl_801F2380: /* 801F2380 001EF2E0 80 1C 01 14 */ lwz r0, 0x114(r28) /* 801F2384 001EF2E4 7F A4 EB 78 */ mr r4, r29 /* 801F2388 001EF2E8 7C 60 FA 14 */ add r3, r0, r31 /* 801F238C 001EF2EC 4B FF FC 65 */ bl DeleteCollisionObject__Q220CIceAttackProjectile12CTrailObjectFR13CStateManager /* 801F2390 001EF2F0 3B FF 03 24 */ addi r31, r31, 0x324 /* 801F2394 001EF2F4 3B DE 00 01 */ addi r30, r30, 1 lbl_801F2398: /* 801F2398 001EF2F8 80 1C 01 0C */ lwz r0, 0x10c(r28) /* 801F239C 001EF2FC 7C 1E 00 00 */ cmpw r30, r0 /* 801F23A0 001EF300 41 80 FF E0 */ blt lbl_801F2380 lbl_801F23A4: /* 801F23A4 001EF304 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F23A8 001EF308 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F23AC 001EF30C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F23B0 001EF310 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801F23B4 001EF314 83 81 00 10 */ lwz r28, 0x10(r1) /* 801F23B8 001EF318 7C 08 03 A6 */ mtlr r0 /* 801F23BC 001EF31C 38 21 00 20 */ addi r1, r1, 0x20 /* 801F23C0 001EF320 4E 80 00 20 */ blr .global Think__20CIceAttackProjectileFfR13CStateManager Think__20CIceAttackProjectileFfR13CStateManager: /* 801F23C4 001EF324 94 21 F4 C0 */ stwu r1, -0xb40(r1) /* 801F23C8 001EF328 7C 08 02 A6 */ mflr r0 /* 801F23CC 001EF32C 90 01 0B 44 */ stw r0, 0xb44(r1) /* 801F23D0 001EF330 DB E1 0B 30 */ stfd f31, 0xb30(r1) /* 801F23D4 001EF334 F3 E1 0B 38 */ psq_st f31, -1224(r1), 0, qr0 /* 801F23D8 001EF338 DB C1 0B 20 */ stfd f30, 0xb20(r1) /* 801F23DC 001EF33C F3 C1 0B 28 */ psq_st f30, -1240(r1), 0, qr0 /* 801F23E0 001EF340 DB A1 0B 10 */ stfd f29, 0xb10(r1) /* 801F23E4 001EF344 F3 A1 0B 18 */ psq_st f29, -1256(r1), 0, qr0 /* 801F23E8 001EF348 DB 81 0B 00 */ stfd f28, 0xb00(r1) /* 801F23EC 001EF34C F3 81 0B 08 */ psq_st f28, -1272(r1), 0, qr0 /* 801F23F0 001EF350 DB 61 0A F0 */ stfd f27, 0xaf0(r1) /* 801F23F4 001EF354 F3 61 0A F8 */ psq_st f27, -1288(r1), 0, qr0 /* 801F23F8 001EF358 DB 41 0A E0 */ stfd f26, 0xae0(r1) /* 801F23FC 001EF35C F3 41 0A E8 */ psq_st f26, -1304(r1), 0, qr0 /* 801F2400 001EF360 BF 21 0A C4 */ stmw r25, 0xac4(r1) /* 801F2404 001EF364 88 03 00 30 */ lbz r0, 0x30(r3) /* 801F2408 001EF368 FF E0 08 90 */ fmr f31, f1 /* 801F240C 001EF36C 7C 7B 1B 78 */ mr r27, r3 /* 801F2410 001EF370 7C 9C 23 78 */ mr r28, r4 /* 801F2414 001EF374 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F2418 001EF378 3B C0 00 00 */ li r30, 0 /* 801F241C 001EF37C 3B A0 00 00 */ li r29, 0 /* 801F2420 001EF380 41 82 07 B4 */ beq lbl_801F2BD4 /* 801F2424 001EF384 88 1B 01 90 */ lbz r0, 0x190(r27) /* 801F2428 001EF388 28 00 00 00 */ cmplwi r0, 0 /* 801F242C 001EF38C 40 82 05 8C */ bne lbl_801F29B8 /* 801F2430 001EF390 A0 1B 01 18 */ lhz r0, 0x118(r27) /* 801F2434 001EF394 7F 83 E3 78 */ mr r3, r28 /* 801F2438 001EF398 38 81 00 10 */ addi r4, r1, 0x10 /* 801F243C 001EF39C B0 01 00 10 */ sth r0, 0x10(r1) /* 801F2440 001EF3A0 4B E5 A1 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F2444 001EF3A4 7C 64 1B 78 */ mr r4, r3 /* 801F2448 001EF3A8 38 61 00 2C */ addi r3, r1, 0x2c /* 801F244C 001EF3AC 4B EB D8 45 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801F2450 001EF3B0 80 63 00 04 */ lwz r3, 4(r3) /* 801F2454 001EF3B4 28 03 00 00 */ cmplwi r3, 0 /* 801F2458 001EF3B8 41 82 01 48 */ beq lbl_801F25A0 /* 801F245C 001EF3BC C0 23 00 40 */ lfs f1, 0x40(r3) /* 801F2460 001EF3C0 C0 1B 00 40 */ lfs f0, 0x40(r27) /* 801F2464 001EF3C4 C0 83 00 50 */ lfs f4, 0x50(r3) /* 801F2468 001EF3C8 EC 61 00 28 */ fsubs f3, f1, f0 /* 801F246C 001EF3CC C0 1B 00 50 */ lfs f0, 0x50(r27) /* 801F2470 001EF3D0 C0 42 AE E8 */ lfs f2, lbl_805ACC08@sda21(r2) /* 801F2474 001EF3D4 EC C4 00 28 */ fsubs f6, f4, f0 /* 801F2478 001EF3D8 C0 A3 00 60 */ lfs f5, 0x60(r3) /* 801F247C 001EF3DC EC 23 00 F2 */ fmuls f1, f3, f3 /* 801F2480 001EF3E0 C0 9B 00 60 */ lfs f4, 0x60(r27) /* 801F2484 001EF3E4 C0 02 AF 04 */ lfs f0, lbl_805ACC24@sda21(r2) /* 801F2488 001EF3E8 EC 26 09 BA */ fmadds f1, f6, f6, f1 /* 801F248C 001EF3EC D0 61 01 0C */ stfs f3, 0x10c(r1) /* 801F2490 001EF3F0 EC 65 20 28 */ fsubs f3, f5, f4 /* 801F2494 001EF3F4 D0 C1 01 10 */ stfs f6, 0x110(r1) /* 801F2498 001EF3F8 EC 22 08 2A */ fadds f1, f2, f1 /* 801F249C 001EF3FC D0 61 01 14 */ stfs f3, 0x114(r1) /* 801F24A0 001EF400 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F24A4 001EF404 40 80 00 08 */ bge lbl_801F24AC /* 801F24A8 001EF408 D0 5B 01 74 */ stfs f2, 0x174(r27) lbl_801F24AC: /* 801F24AC 001EF40C 38 61 01 0C */ addi r3, r1, 0x10c /* 801F24B0 001EF410 48 12 22 49 */ bl CanBeNormalized__9CVector3fCFv /* 801F24B4 001EF414 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F24B8 001EF418 41 82 00 E8 */ beq lbl_801F25A0 /* 801F24BC 001EF41C 38 61 01 0C */ addi r3, r1, 0x10c /* 801F24C0 001EF420 48 12 24 39 */ bl Normalize__9CVector3fFv /* 801F24C4 001EF424 38 61 00 DC */ addi r3, r1, 0xdc /* 801F24C8 001EF428 38 9B 00 34 */ addi r4, r27, 0x34 /* 801F24CC 001EF42C 38 A1 01 0C */ addi r5, r1, 0x10c /* 801F24D0 001EF430 48 12 05 55 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801F24D4 001EF434 C0 81 00 DC */ lfs f4, 0xdc(r1) /* 801F24D8 001EF438 38 61 00 D0 */ addi r3, r1, 0xd0 /* 801F24DC 001EF43C C0 22 AE E8 */ lfs f1, lbl_805ACC08@sda21(r2) /* 801F24E0 001EF440 38 81 01 0C */ addi r4, r1, 0x10c /* 801F24E4 001EF444 C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F24E8 001EF448 C0 A2 AE F8 */ lfs f5, lbl_805ACC18@sda21(r2) /* 801F24EC 001EF44C C0 61 00 E0 */ lfs f3, 0xe0(r1) /* 801F24F0 001EF450 C0 41 00 E4 */ lfs f2, 0xe4(r1) /* 801F24F4 001EF454 FF C4 28 2E */ fsel f30, f4, f0, f5 /* 801F24F8 001EF458 D0 81 01 0C */ stfs f4, 0x10c(r1) /* 801F24FC 001EF45C D0 61 01 10 */ stfs f3, 0x110(r1) /* 801F2500 001EF460 D0 41 01 14 */ stfs f2, 0x114(r1) /* 801F2504 001EF464 D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 801F2508 001EF468 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 801F250C 001EF46C D0 21 00 D8 */ stfs f1, 0xd8(r1) /* 801F2510 001EF470 48 12 21 21 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801F2514 001EF474 C0 1B 01 74 */ lfs f0, 0x174(r27) /* 801F2518 001EF478 EC 21 07 B2 */ fmuls f1, f1, f30 /* 801F251C 001EF47C 38 61 00 24 */ addi r3, r1, 0x24 /* 801F2520 001EF480 38 81 00 28 */ addi r4, r1, 0x28 /* 801F2524 001EF484 EC 00 07 F2 */ fmuls f0, f0, f31 /* 801F2528 001EF488 38 A1 00 20 */ addi r5, r1, 0x20 /* 801F252C 001EF48C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801F2530 001EF490 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801F2534 001EF494 C0 1B 01 74 */ lfs f0, 0x174(r27) /* 801F2538 001EF498 FC 00 00 50 */ fneg f0, f0 /* 801F253C 001EF49C EC 00 07 F2 */ fmuls f0, f0, f31 /* 801F2540 001EF4A0 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801F2544 001EF4A4 4B E1 9D 71 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801F2548 001EF4A8 C0 03 00 00 */ lfs f0, 0(r3) /* 801F254C 001EF4AC 38 61 02 88 */ addi r3, r1, 0x288 /* 801F2550 001EF4B0 38 9B 00 34 */ addi r4, r27, 0x34 /* 801F2554 001EF4B4 FF 40 00 50 */ fneg f26, f0 /* 801F2558 001EF4B8 48 12 06 1D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F255C 001EF4BC D3 41 00 1C */ stfs f26, 0x1c(r1) /* 801F2560 001EF4C0 38 61 02 88 */ addi r3, r1, 0x288 /* 801F2564 001EF4C4 38 81 00 1C */ addi r4, r1, 0x1c /* 801F2568 001EF4C8 48 12 0F 55 */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle /* 801F256C 001EF4CC 38 7B 00 34 */ addi r3, r27, 0x34 /* 801F2570 001EF4D0 38 81 02 88 */ addi r4, r1, 0x288 /* 801F2574 001EF4D4 48 12 05 CD */ bl __as__12CTransform4fFRC12CTransform4f /* 801F2578 001EF4D8 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 801F257C 001EF4DC 38 60 00 01 */ li r3, 1 /* 801F2580 001EF4E0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801F2584 001EF4E4 98 1B 00 E4 */ stb r0, 0xe4(r27) /* 801F2588 001EF4E8 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 801F258C 001EF4EC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801F2590 001EF4F0 98 1B 00 E4 */ stb r0, 0xe4(r27) /* 801F2594 001EF4F4 88 1B 00 E4 */ lbz r0, 0xe4(r27) /* 801F2598 001EF4F8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801F259C 001EF4FC 98 1B 00 E4 */ stb r0, 0xe4(r27) lbl_801F25A0: /* 801F25A0 001EF500 C0 3B 01 78 */ lfs f1, 0x178(r27) /* 801F25A4 001EF504 38 61 00 C4 */ addi r3, r1, 0xc4 /* 801F25A8 001EF508 C0 02 AE E8 */ lfs f0, lbl_805ACC08@sda21(r2) /* 801F25AC 001EF50C 38 9B 00 34 */ addi r4, r27, 0x34 /* 801F25B0 001EF510 EC 21 F8 2A */ fadds f1, f1, f31 /* 801F25B4 001EF514 38 A1 00 B8 */ addi r5, r1, 0xb8 /* 801F25B8 001EF518 D0 3B 01 78 */ stfs f1, 0x178(r27) /* 801F25BC 001EF51C C0 3B 01 70 */ lfs f1, 0x170(r27) /* 801F25C0 001EF520 EC 21 07 F2 */ fmuls f1, f1, f31 /* 801F25C4 001EF524 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801F25C8 001EF528 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801F25CC 001EF52C D0 21 00 BC */ stfs f1, 0xbc(r1) /* 801F25D0 001EF530 48 12 05 19 */ bl __ml__12CTransform4fCFRC9CVector3f /* 801F25D4 001EF534 C0 22 AE E8 */ lfs f1, lbl_805ACC08@sda21(r2) /* 801F25D8 001EF538 38 61 00 34 */ addi r3, r1, 0x34 /* 801F25DC 001EF53C C0 81 00 C4 */ lfs f4, 0xc4(r1) /* 801F25E0 001EF540 C0 61 00 C8 */ lfs f3, 0xc8(r1) /* 801F25E4 001EF544 C0 41 00 CC */ lfs f2, 0xcc(r1) /* 801F25E8 001EF548 C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F25EC 001EF54C D0 81 01 00 */ stfs f4, 0x100(r1) /* 801F25F0 001EF550 D0 61 01 04 */ stfs f3, 0x104(r1) /* 801F25F4 001EF554 D0 41 01 08 */ stfs f2, 0x108(r1) /* 801F25F8 001EF558 D0 21 02 58 */ stfs f1, 0x258(r1) /* 801F25FC 001EF55C D0 21 02 5C */ stfs f1, 0x25c(r1) /* 801F2600 001EF560 D0 21 02 60 */ stfs f1, 0x260(r1) /* 801F2604 001EF564 D0 21 02 64 */ stfs f1, 0x264(r1) /* 801F2608 001EF568 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801F260C 001EF56C D0 21 00 38 */ stfs f1, 0x38(r1) /* 801F2610 001EF570 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801F2614 001EF574 48 12 22 E5 */ bl Normalize__9CVector3fFv /* 801F2618 001EF578 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801F261C 001EF57C 38 C0 00 00 */ li r6, 0 /* 801F2620 001EF580 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801F2624 001EF584 3B E1 02 68 */ addi r31, r1, 0x268 /* 801F2628 001EF588 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801F262C 001EF58C C0 02 AE E8 */ lfs f0, lbl_805ACC08@sda21(r2) /* 801F2630 001EF590 D0 61 02 68 */ stfs f3, 0x268(r1) /* 801F2634 001EF594 D0 41 02 6C */ stfs f2, 0x26c(r1) /* 801F2638 001EF598 D0 21 02 70 */ stfs f1, 0x270(r1) /* 801F263C 001EF59C D0 01 02 74 */ stfs f0, 0x274(r1) /* 801F2640 001EF5A0 98 C1 02 78 */ stb r6, 0x278(r1) /* 801F2644 001EF5A4 90 C1 02 84 */ stw r6, 0x284(r1) /* 801F2648 001EF5A8 90 C1 02 80 */ stw r6, 0x280(r1) /* 801F264C 001EF5AC 88 1B 01 92 */ lbz r0, 0x192(r27) /* 801F2650 001EF5B0 28 00 00 00 */ cmplwi r0, 0 /* 801F2654 001EF5B4 41 82 01 88 */ beq lbl_801F27DC /* 801F2658 001EF5B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F265C 001EF5BC 38 60 00 00 */ li r3, 0 /* 801F2660 001EF5C0 80 AD 92 AC */ lwz r5, lbl_805A7E6C@sda21(r13) /* 801F2664 001EF5C4 38 80 00 01 */ li r4, 1 /* 801F2668 001EF5C8 B0 01 00 14 */ sth r0, 0x14(r1) /* 801F266C 001EF5CC 90 C1 02 B8 */ stw r6, 0x2b8(r1) /* 801F2670 001EF5D0 48 19 78 85 */ bl __shl2i /* 801F2674 001EF5D4 80 AD 92 B0 */ lwz r5, lbl_805A7E70@sda21(r13) /* 801F2678 001EF5D8 7C 99 23 78 */ mr r25, r4 /* 801F267C 001EF5DC 7C 7A 1B 78 */ mr r26, r3 /* 801F2680 001EF5E0 38 60 00 00 */ li r3, 0 /* 801F2684 001EF5E4 38 80 00 01 */ li r4, 1 /* 801F2688 001EF5E8 48 19 78 6D */ bl __shl2i /* 801F268C 001EF5EC C0 82 AE E8 */ lfs f4, lbl_805ACC08@sda21(r2) /* 801F2690 001EF5F0 7F 39 23 78 */ or r25, r25, r4 /* 801F2694 001EF5F4 C0 21 01 04 */ lfs f1, 0x104(r1) /* 801F2698 001EF5F8 7F 5A 1B 78 */ or r26, r26, r3 /* 801F269C 001EF5FC C0 01 01 00 */ lfs f0, 0x100(r1) /* 801F26A0 001EF600 39 20 00 01 */ li r9, 1 /* 801F26A4 001EF604 EC A1 20 2A */ fadds f5, f1, f4 /* 801F26A8 001EF608 C0 62 AE F8 */ lfs f3, lbl_805ACC18@sda21(r2) /* 801F26AC 001EF60C 38 00 00 00 */ li r0, 0 /* 801F26B0 001EF610 EC 00 20 2A */ fadds f0, f0, f4 /* 801F26B4 001EF614 C0 41 01 08 */ lfs f2, 0x108(r1) /* 801F26B8 001EF618 7F 83 E3 78 */ mr r3, r28 /* 801F26BC 001EF61C C0 22 AF 00 */ lfs f1, lbl_805ACC20@sda21(r2) /* 801F26C0 001EF620 38 81 02 B8 */ addi r4, r1, 0x2b8 /* 801F26C4 001EF624 91 21 01 78 */ stw r9, 0x178(r1) /* 801F26C8 001EF628 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 801F26CC 001EF62C EC 42 08 2A */ fadds f2, f2, f1 /* 801F26D0 001EF630 C0 22 AF 08 */ lfs f1, lbl_805ACC28@sda21(r2) /* 801F26D4 001EF634 93 21 01 84 */ stw r25, 0x184(r1) /* 801F26D8 001EF638 38 C1 00 F4 */ addi r6, r1, 0xf4 /* 801F26DC 001EF63C 38 E1 01 80 */ addi r7, r1, 0x180 /* 801F26E0 001EF640 39 00 00 00 */ li r8, 0 /* 801F26E4 001EF644 93 41 01 80 */ stw r26, 0x180(r1) /* 801F26E8 001EF648 90 01 01 8C */ stw r0, 0x18c(r1) /* 801F26EC 001EF64C 90 01 01 88 */ stw r0, 0x188(r1) /* 801F26F0 001EF650 91 21 01 90 */ stw r9, 0x190(r1) /* 801F26F4 001EF654 D0 81 00 F4 */ stfs f4, 0xf4(r1) /* 801F26F8 001EF658 D0 81 00 F8 */ stfs f4, 0xf8(r1) /* 801F26FC 001EF65C D0 61 00 FC */ stfs f3, 0xfc(r1) /* 801F2700 001EF660 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 801F2704 001EF664 D0 A1 00 EC */ stfs f5, 0xec(r1) /* 801F2708 001EF668 D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 801F270C 001EF66C 4B E5 9F CD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" /* 801F2710 001EF670 C0 22 AF 08 */ lfs f1, lbl_805ACC28@sda21(r2) /* 801F2714 001EF674 7F 84 E3 78 */ mr r4, r28 /* 801F2718 001EF678 38 61 02 28 */ addi r3, r1, 0x228 /* 801F271C 001EF67C 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F2720 001EF680 38 C1 00 E8 */ addi r6, r1, 0xe8 /* 801F2724 001EF684 38 E1 00 F4 */ addi r7, r1, 0xf4 /* 801F2728 001EF688 39 01 01 80 */ addi r8, r1, 0x180 /* 801F272C 001EF68C 39 21 02 B8 */ addi r9, r1, 0x2b8 /* 801F2730 001EF690 4B E5 A8 95 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" /* 801F2734 001EF694 80 E1 02 B8 */ lwz r7, 0x2b8(r1) /* 801F2738 001EF698 38 C0 00 00 */ li r6, 0 /* 801F273C 001EF69C C0 A1 02 28 */ lfs f5, 0x228(r1) /* 801F2740 001EF6A0 80 A1 02 2C */ lwz r5, 0x22c(r1) /* 801F2744 001EF6A4 2C 07 00 00 */ cmpwi r7, 0 /* 801F2748 001EF6A8 80 81 02 30 */ lwz r4, 0x230(r1) /* 801F274C 001EF6AC 80 61 02 34 */ lwz r3, 0x234(r1) /* 801F2750 001EF6B0 C0 81 02 38 */ lfs f4, 0x238(r1) /* 801F2754 001EF6B4 C0 61 02 3C */ lfs f3, 0x23c(r1) /* 801F2758 001EF6B8 C0 41 02 40 */ lfs f2, 0x240(r1) /* 801F275C 001EF6BC C0 21 02 44 */ lfs f1, 0x244(r1) /* 801F2760 001EF6C0 88 01 02 48 */ lbz r0, 0x248(r1) /* 801F2764 001EF6C4 C8 01 02 50 */ lfd f0, 0x250(r1) /* 801F2768 001EF6C8 D0 A1 02 58 */ stfs f5, 0x258(r1) /* 801F276C 001EF6CC 90 A1 02 5C */ stw r5, 0x25c(r1) /* 801F2770 001EF6D0 90 81 02 60 */ stw r4, 0x260(r1) /* 801F2774 001EF6D4 90 61 02 64 */ stw r3, 0x264(r1) /* 801F2778 001EF6D8 D0 81 02 68 */ stfs f4, 0x268(r1) /* 801F277C 001EF6DC D0 61 02 6C */ stfs f3, 0x26c(r1) /* 801F2780 001EF6E0 D0 41 02 70 */ stfs f2, 0x270(r1) /* 801F2784 001EF6E4 D0 21 02 74 */ stfs f1, 0x274(r1) /* 801F2788 001EF6E8 98 01 02 78 */ stb r0, 0x278(r1) /* 801F278C 001EF6EC D8 01 02 80 */ stfd f0, 0x280(r1) /* 801F2790 001EF6F0 40 81 00 40 */ ble lbl_801F27D0 /* 801F2794 001EF6F4 2C 07 00 08 */ cmpwi r7, 8 /* 801F2798 001EF6F8 38 67 FF F8 */ addi r3, r7, -8 /* 801F279C 001EF6FC 40 81 00 20 */ ble lbl_801F27BC /* 801F27A0 001EF700 38 03 00 07 */ addi r0, r3, 7 /* 801F27A4 001EF704 54 00 E8 FE */ srwi r0, r0, 3 /* 801F27A8 001EF708 7C 09 03 A6 */ mtctr r0 /* 801F27AC 001EF70C 2C 03 00 00 */ cmpwi r3, 0 /* 801F27B0 001EF710 40 81 00 0C */ ble lbl_801F27BC lbl_801F27B4: /* 801F27B4 001EF714 38 C6 00 08 */ addi r6, r6, 8 /* 801F27B8 001EF718 42 00 FF FC */ bdnz lbl_801F27B4 lbl_801F27BC: /* 801F27BC 001EF71C 7C 06 38 50 */ subf r0, r6, r7 /* 801F27C0 001EF720 7C 09 03 A6 */ mtctr r0 /* 801F27C4 001EF724 7C 06 38 00 */ cmpw r6, r7 /* 801F27C8 001EF728 40 80 00 08 */ bge lbl_801F27D0 lbl_801F27CC: /* 801F27CC 001EF72C 42 00 00 00 */ bdnz lbl_801F27CC lbl_801F27D0: /* 801F27D0 001EF730 38 00 00 00 */ li r0, 0 /* 801F27D4 001EF734 90 01 02 B8 */ stw r0, 0x2b8(r1) /* 801F27D8 001EF738 48 00 00 B0 */ b lbl_801F2888 lbl_801F27DC: /* 801F27DC 001EF73C 80 AD 92 B4 */ lwz r5, lbl_805A7E74@sda21(r13) /* 801F27E0 001EF740 38 60 00 00 */ li r3, 0 /* 801F27E4 001EF744 38 80 00 01 */ li r4, 1 /* 801F27E8 001EF748 48 19 77 0D */ bl __shl2i /* 801F27EC 001EF74C C0 42 AE E8 */ lfs f2, lbl_805ACC08@sda21(r2) /* 801F27F0 001EF750 39 00 00 00 */ li r8, 0 /* 801F27F4 001EF754 C0 02 AE F8 */ lfs f0, lbl_805ACC18@sda21(r2) /* 801F27F8 001EF758 38 00 00 01 */ li r0, 1 /* 801F27FC 001EF75C 90 81 01 54 */ stw r4, 0x154(r1) /* 801F2800 001EF760 7F 84 E3 78 */ mr r4, r28 /* 801F2804 001EF764 C0 22 AF 08 */ lfs f1, lbl_805ACC28@sda21(r2) /* 801F2808 001EF768 38 A1 01 00 */ addi r5, r1, 0x100 /* 801F280C 001EF76C 90 61 01 50 */ stw r3, 0x150(r1) /* 801F2810 001EF770 38 61 01 F8 */ addi r3, r1, 0x1f8 /* 801F2814 001EF774 38 C1 00 AC */ addi r6, r1, 0xac /* 801F2818 001EF778 38 E1 01 50 */ addi r7, r1, 0x150 /* 801F281C 001EF77C 91 01 01 5C */ stw r8, 0x15c(r1) /* 801F2820 001EF780 91 01 01 58 */ stw r8, 0x158(r1) /* 801F2824 001EF784 90 01 01 60 */ stw r0, 0x160(r1) /* 801F2828 001EF788 D0 41 00 AC */ stfs f2, 0xac(r1) /* 801F282C 001EF78C D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801F2830 001EF790 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801F2834 001EF794 4B E5 A7 65 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801F2838 001EF798 C0 A1 01 F8 */ lfs f5, 0x1f8(r1) /* 801F283C 001EF79C 80 A1 01 FC */ lwz r5, 0x1fc(r1) /* 801F2840 001EF7A0 80 81 02 00 */ lwz r4, 0x200(r1) /* 801F2844 001EF7A4 80 61 02 04 */ lwz r3, 0x204(r1) /* 801F2848 001EF7A8 C0 81 02 08 */ lfs f4, 0x208(r1) /* 801F284C 001EF7AC C0 61 02 0C */ lfs f3, 0x20c(r1) /* 801F2850 001EF7B0 C0 41 02 10 */ lfs f2, 0x210(r1) /* 801F2854 001EF7B4 C0 21 02 14 */ lfs f1, 0x214(r1) /* 801F2858 001EF7B8 88 01 02 18 */ lbz r0, 0x218(r1) /* 801F285C 001EF7BC C8 01 02 20 */ lfd f0, 0x220(r1) /* 801F2860 001EF7C0 D0 A1 02 58 */ stfs f5, 0x258(r1) /* 801F2864 001EF7C4 90 A1 02 5C */ stw r5, 0x25c(r1) /* 801F2868 001EF7C8 90 81 02 60 */ stw r4, 0x260(r1) /* 801F286C 001EF7CC 90 61 02 64 */ stw r3, 0x264(r1) /* 801F2870 001EF7D0 D0 81 02 68 */ stfs f4, 0x268(r1) /* 801F2874 001EF7D4 D0 61 02 6C */ stfs f3, 0x26c(r1) /* 801F2878 001EF7D8 D0 41 02 70 */ stfs f2, 0x270(r1) /* 801F287C 001EF7DC D0 21 02 74 */ stfs f1, 0x274(r1) /* 801F2880 001EF7E0 98 01 02 78 */ stb r0, 0x278(r1) /* 801F2884 001EF7E4 D8 01 02 80 */ stfd f0, 0x280(r1) lbl_801F2888: /* 801F2888 001EF7E8 88 01 02 78 */ lbz r0, 0x278(r1) /* 801F288C 001EF7EC 28 00 00 00 */ cmplwi r0, 0 /* 801F2890 001EF7F0 41 82 00 34 */ beq lbl_801F28C4 /* 801F2894 001EF7F4 C0 21 02 60 */ lfs f1, 0x260(r1) /* 801F2898 001EF7F8 3B C0 00 01 */ li r30, 1 /* 801F289C 001EF7FC C0 62 AE E8 */ lfs f3, lbl_805ACC08@sda21(r2) /* 801F28A0 001EF800 C0 01 02 5C */ lfs f0, 0x25c(r1) /* 801F28A4 001EF804 EC 81 18 2A */ fadds f4, f1, f3 /* 801F28A8 001EF808 C0 41 02 64 */ lfs f2, 0x264(r1) /* 801F28AC 001EF80C C0 22 AE EC */ lfs f1, lbl_805ACC0C@sda21(r2) /* 801F28B0 001EF810 EC 00 18 2A */ fadds f0, f0, f3 /* 801F28B4 001EF814 EC 22 08 2A */ fadds f1, f2, f1 /* 801F28B8 001EF818 D0 81 01 04 */ stfs f4, 0x104(r1) /* 801F28BC 001EF81C D0 01 01 00 */ stfs f0, 0x100(r1) /* 801F28C0 001EF820 D0 21 01 08 */ stfs f1, 0x108(r1) lbl_801F28C4: /* 801F28C4 001EF824 80 AD 92 B8 */ lwz r5, lbl_805A7E78@sda21(r13) /* 801F28C8 001EF828 38 60 00 00 */ li r3, 0 /* 801F28CC 001EF82C 38 80 00 01 */ li r4, 1 /* 801F28D0 001EF830 48 19 76 25 */ bl __shl2i /* 801F28D4 001EF834 C0 22 AE E8 */ lfs f1, lbl_805ACC08@sda21(r2) /* 801F28D8 001EF838 38 C0 00 00 */ li r6, 0 /* 801F28DC 001EF83C C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F28E0 001EF840 38 00 00 01 */ li r0, 1 /* 801F28E4 001EF844 90 81 01 3C */ stw r4, 0x13c(r1) /* 801F28E8 001EF848 38 9B 00 34 */ addi r4, r27, 0x34 /* 801F28EC 001EF84C 38 A1 00 94 */ addi r5, r1, 0x94 /* 801F28F0 001EF850 90 61 01 38 */ stw r3, 0x138(r1) /* 801F28F4 001EF854 38 61 00 A0 */ addi r3, r1, 0xa0 /* 801F28F8 001EF858 90 C1 01 44 */ stw r6, 0x144(r1) /* 801F28FC 001EF85C 90 C1 01 40 */ stw r6, 0x140(r1) /* 801F2900 001EF860 90 01 01 48 */ stw r0, 0x148(r1) /* 801F2904 001EF864 D0 21 00 94 */ stfs f1, 0x94(r1) /* 801F2908 001EF868 D0 01 00 98 */ stfs f0, 0x98(r1) /* 801F290C 001EF86C D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801F2910 001EF870 48 12 01 71 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801F2914 001EF874 C0 22 AF 0C */ lfs f1, lbl_805ACC2C@sda21(r2) /* 801F2918 001EF878 7F 84 E3 78 */ mr r4, r28 /* 801F291C 001EF87C 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 801F2920 001EF880 38 A1 01 00 */ addi r5, r1, 0x100 /* 801F2924 001EF884 38 C1 00 A0 */ addi r6, r1, 0xa0 /* 801F2928 001EF888 38 E1 01 38 */ addi r7, r1, 0x138 /* 801F292C 001EF88C 4B E5 A6 6D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801F2930 001EF890 88 01 01 E8 */ lbz r0, 0x1e8(r1) /* 801F2934 001EF894 28 00 00 00 */ cmplwi r0, 0 /* 801F2938 001EF898 41 82 00 08 */ beq lbl_801F2940 /* 801F293C 001EF89C 3B A0 00 01 */ li r29, 1 lbl_801F2940: /* 801F2940 001EF8A0 7F 63 DB 78 */ mr r3, r27 /* 801F2944 001EF8A4 38 81 01 00 */ addi r4, r1, 0x100 /* 801F2948 001EF8A8 4B E6 05 45 */ bl SetTranslation__6CActorFRC9CVector3f /* 801F294C 001EF8AC C0 3B 01 78 */ lfs f1, 0x178(r27) /* 801F2950 001EF8B0 C0 02 AF 0C */ lfs f0, lbl_805ACC2C@sda21(r2) /* 801F2954 001EF8B4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F2958 001EF8B8 41 81 00 14 */ bgt lbl_801F296C /* 801F295C 001EF8BC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801F2960 001EF8C0 40 82 00 0C */ bne lbl_801F296C /* 801F2964 001EF8C4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801F2968 001EF8C8 40 82 00 0C */ bne lbl_801F2974 lbl_801F296C: /* 801F296C 001EF8CC 38 00 00 01 */ li r0, 1 /* 801F2970 001EF8D0 98 1B 01 90 */ stb r0, 0x190(r27) lbl_801F2974: /* 801F2974 001EF8D4 80 7B 01 80 */ lwz r3, 0x180(r27) /* 801F2978 001EF8D8 38 03 00 01 */ addi r0, r3, 1 /* 801F297C 001EF8DC 90 1B 01 80 */ stw r0, 0x180(r27) /* 801F2980 001EF8E0 80 7B 01 80 */ lwz r3, 0x180(r27) /* 801F2984 001EF8E4 54 60 F0 02 */ slwi r0, r3, 0x1e /* 801F2988 001EF8E8 54 63 0F FE */ srwi r3, r3, 0x1f /* 801F298C 001EF8EC 7C 03 00 50 */ subf r0, r3, r0 /* 801F2990 001EF8F0 54 00 10 3E */ rotlwi r0, r0, 2 /* 801F2994 001EF8F4 7C 00 1A 15 */ add. r0, r0, r3 /* 801F2998 001EF8F8 40 82 00 20 */ bne lbl_801F29B8 /* 801F299C 001EF8FC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801F29A0 001EF900 41 82 00 18 */ beq lbl_801F29B8 /* 801F29A4 001EF904 FC 20 F8 90 */ fmr f1, f31 /* 801F29A8 001EF908 7F 63 DB 78 */ mr r3, r27 /* 801F29AC 001EF90C 7F 84 E3 78 */ mr r4, r28 /* 801F29B0 001EF910 7F E5 FB 78 */ mr r5, r31 /* 801F29B4 001EF914 48 00 04 15 */ bl CreateTrailObject__20CIceAttackProjectileFR13CStateManagerRC9CVector3ff lbl_801F29B8: /* 801F29B8 001EF918 FC 20 F8 90 */ fmr f1, f31 /* 801F29BC 001EF91C 7F 63 DB 78 */ mr r3, r27 /* 801F29C0 001EF920 7F 84 E3 78 */ mr r4, r28 /* 801F29C4 001EF924 48 00 02 55 */ bl UpdateTrailObjects__20CIceAttackProjectileFfR13CStateManager /* 801F29C8 001EF928 83 BB 01 04 */ lwz r29, 0x104(r27) /* 801F29CC 001EF92C 38 61 01 98 */ addi r3, r1, 0x198 /* 801F29D0 001EF930 38 9B 00 34 */ addi r4, r27, 0x34 /* 801F29D4 001EF934 48 12 02 6D */ bl GetRotation__12CTransform4fCFv /* 801F29D8 001EF938 7F A3 EB 78 */ mr r3, r29 /* 801F29DC 001EF93C 38 81 01 98 */ addi r4, r1, 0x198 /* 801F29E0 001EF940 81 9D 00 00 */ lwz r12, 0(r29) /* 801F29E4 001EF944 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801F29E8 001EF948 7D 89 03 A6 */ mtctr r12 /* 801F29EC 001EF94C 4E 80 04 21 */ bctrl /* 801F29F0 001EF950 C3 9B 00 58 */ lfs f28, 0x58(r27) /* 801F29F4 001EF954 38 81 00 88 */ addi r4, r1, 0x88 /* 801F29F8 001EF958 C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F29FC 001EF95C C3 BB 00 48 */ lfs f29, 0x48(r27) /* 801F2A00 001EF960 C0 9B 00 38 */ lfs f4, 0x38(r27) /* 801F2A04 001EF964 EC C0 07 32 */ fmuls f6, f0, f28 /* 801F2A08 001EF968 C3 DB 00 5C */ lfs f30, 0x5c(r27) /* 801F2A0C 001EF96C EC E0 07 72 */ fmuls f7, f0, f29 /* 801F2A10 001EF970 C1 9B 00 4C */ lfs f12, 0x4c(r27) /* 801F2A14 001EF974 EC 60 01 32 */ fmuls f3, f0, f4 /* 801F2A18 001EF978 C0 3B 00 3C */ lfs f1, 0x3c(r27) /* 801F2A1C 001EF97C C3 5B 00 60 */ lfs f26, 0x60(r27) /* 801F2A20 001EF980 ED 60 03 32 */ fmuls f11, f0, f12 /* 801F2A24 001EF984 C3 7B 00 50 */ lfs f27, 0x50(r27) /* 801F2A28 001EF988 ED 40 07 B2 */ fmuls f10, f0, f30 /* 801F2A2C 001EF98C C0 5B 00 40 */ lfs f2, 0x40(r27) /* 801F2A30 001EF990 ED 1A 30 2A */ fadds f8, f26, f6 /* 801F2A34 001EF994 ED 3B 38 2A */ fadds f9, f27, f7 /* 801F2A38 001EF998 EC A0 00 72 */ fmuls f5, f0, f1 /* 801F2A3C 001EF99C D0 21 00 40 */ stfs f1, 0x40(r1) /* 801F2A40 001EF9A0 EC 22 18 2A */ fadds f1, f2, f3 /* 801F2A44 001EF9A4 ED A9 58 28 */ fsubs f13, f9, f11 /* 801F2A48 001EF9A8 D1 81 00 44 */ stfs f12, 0x44(r1) /* 801F2A4C 001EF9AC ED 88 50 28 */ fsubs f12, f8, f10 /* 801F2A50 001EF9B0 EC 01 28 28 */ fsubs f0, f1, f5 /* 801F2A54 001EF9B4 D3 C1 00 48 */ stfs f30, 0x48(r1) /* 801F2A58 001EF9B8 D1 A1 00 8C */ stfs f13, 0x8c(r1) /* 801F2A5C 001EF9BC D0 01 00 88 */ stfs f0, 0x88(r1) /* 801F2A60 001EF9C0 D1 81 00 90 */ stfs f12, 0x90(r1) /* 801F2A64 001EF9C4 80 7B 01 04 */ lwz r3, 0x104(r27) /* 801F2A68 001EF9C8 D0 A1 00 4C */ stfs f5, 0x4c(r1) /* 801F2A6C 001EF9CC 81 83 00 00 */ lwz r12, 0(r3) /* 801F2A70 001EF9D0 D1 61 00 50 */ stfs f11, 0x50(r1) /* 801F2A74 001EF9D4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 801F2A78 001EF9D8 D1 41 00 54 */ stfs f10, 0x54(r1) /* 801F2A7C 001EF9DC D0 81 00 58 */ stfs f4, 0x58(r1) /* 801F2A80 001EF9E0 D3 A1 00 5C */ stfs f29, 0x5c(r1) /* 801F2A84 001EF9E4 D3 81 00 60 */ stfs f28, 0x60(r1) /* 801F2A88 001EF9E8 D0 61 00 64 */ stfs f3, 0x64(r1) /* 801F2A8C 001EF9EC D0 E1 00 68 */ stfs f7, 0x68(r1) /* 801F2A90 001EF9F0 D0 C1 00 6C */ stfs f6, 0x6c(r1) /* 801F2A94 001EF9F4 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801F2A98 001EF9F8 D3 61 00 74 */ stfs f27, 0x74(r1) /* 801F2A9C 001EF9FC D3 41 00 78 */ stfs f26, 0x78(r1) /* 801F2AA0 001EFA00 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801F2AA4 001EFA04 D1 21 00 80 */ stfs f9, 0x80(r1) /* 801F2AA8 001EFA08 D1 01 00 84 */ stfs f8, 0x84(r1) /* 801F2AAC 001EFA0C 7D 89 03 A6 */ mtctr r12 /* 801F2AB0 001EFA10 4E 80 04 21 */ bctrl /* 801F2AB4 001EFA14 80 7B 01 04 */ lwz r3, 0x104(r27) /* 801F2AB8 001EFA18 FC 20 F8 90 */ fmr f1, f31 /* 801F2ABC 001EFA1C 81 83 00 00 */ lwz r12, 0(r3) /* 801F2AC0 001EFA20 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801F2AC4 001EFA24 7D 89 03 A6 */ mtctr r12 /* 801F2AC8 001EFA28 4E 80 04 21 */ bctrl /* 801F2ACC 001EFA2C 88 1B 01 90 */ lbz r0, 0x190(r27) /* 801F2AD0 001EFA30 28 00 00 00 */ cmplwi r0, 0 /* 801F2AD4 001EFA34 41 82 00 B8 */ beq lbl_801F2B8C /* 801F2AD8 001EFA38 80 7B 01 04 */ lwz r3, 0x104(r27) /* 801F2ADC 001EFA3C 38 80 00 00 */ li r4, 0 /* 801F2AE0 001EFA40 81 83 00 00 */ lwz r12, 0(r3) /* 801F2AE4 001EFA44 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801F2AE8 001EFA48 7D 89 03 A6 */ mtctr r12 /* 801F2AEC 001EFA4C 4E 80 04 21 */ bctrl /* 801F2AF0 001EFA50 80 7B 01 04 */ lwz r3, 0x104(r27) /* 801F2AF4 001EFA54 81 83 00 00 */ lwz r12, 0(r3) /* 801F2AF8 001EFA58 81 8C 00 60 */ lwz r12, 0x60(r12) /* 801F2AFC 001EFA5C 7D 89 03 A6 */ mtctr r12 /* 801F2B00 001EFA60 4E 80 04 21 */ bctrl /* 801F2B04 001EFA64 7C 60 00 34 */ cntlzw r0, r3 /* 801F2B08 001EFA68 3B C0 00 00 */ li r30, 0 /* 801F2B0C 001EFA6C 54 1A D9 7E */ srwi r26, r0, 5 /* 801F2B10 001EFA70 3B 20 00 00 */ li r25, 0 /* 801F2B14 001EFA74 48 00 00 3C */ b lbl_801F2B50 lbl_801F2B18: /* 801F2B18 001EFA78 80 1B 01 14 */ lwz r0, 0x114(r27) /* 801F2B1C 001EFA7C 7F A0 CA 14 */ add r29, r0, r25 /* 801F2B20 001EFA80 7F A3 EB 78 */ mr r3, r29 /* 801F2B24 001EFA84 4B FF EF 45 */ bl ExplosionFinished__Q220CIceAttackProjectile12CTrailObjectCFv /* 801F2B28 001EFA88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F2B2C 001EFA8C 41 82 00 14 */ beq lbl_801F2B40 /* 801F2B30 001EFA90 7F A3 EB 78 */ mr r3, r29 /* 801F2B34 001EFA94 4B FF EF 81 */ bl ExplosionStarted__Q220CIceAttackProjectile12CTrailObjectCFv /* 801F2B38 001EFA98 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F2B3C 001EFA9C 40 82 00 0C */ bne lbl_801F2B48 lbl_801F2B40: /* 801F2B40 001EFAA0 3B 40 00 00 */ li r26, 0 /* 801F2B44 001EFAA4 48 00 00 18 */ b lbl_801F2B5C lbl_801F2B48: /* 801F2B48 001EFAA8 3B 39 03 24 */ addi r25, r25, 0x324 /* 801F2B4C 001EFAAC 3B DE 00 01 */ addi r30, r30, 1 lbl_801F2B50: /* 801F2B50 001EFAB0 80 1B 01 0C */ lwz r0, 0x10c(r27) /* 801F2B54 001EFAB4 7C 1E 00 00 */ cmpw r30, r0 /* 801F2B58 001EFAB8 41 80 FF C0 */ blt lbl_801F2B18 lbl_801F2B5C: /* 801F2B5C 001EFABC 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 801F2B60 001EFAC0 41 82 00 2C */ beq lbl_801F2B8C /* 801F2B64 001EFAC4 A0 1B 00 08 */ lhz r0, 8(r27) /* 801F2B68 001EFAC8 7F 83 E3 78 */ mr r3, r28 /* 801F2B6C 001EFACC 38 81 00 0C */ addi r4, r1, 0xc /* 801F2B70 001EFAD0 B0 01 00 08 */ sth r0, 8(r1) /* 801F2B74 001EFAD4 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F2B78 001EFAD8 4B E5 96 F5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 801F2B7C 001EFADC 80 1B 01 94 */ lwz r0, 0x194(r27) /* 801F2B80 001EFAE0 38 61 00 18 */ addi r3, r1, 0x18 /* 801F2B84 001EFAE4 90 01 00 18 */ stw r0, 0x18(r1) /* 801F2B88 001EFAE8 48 0F 71 C1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle lbl_801F2B8C: /* 801F2B8C 001EFAEC FC 20 F8 90 */ fmr f1, f31 /* 801F2B90 001EFAF0 38 61 01 18 */ addi r3, r1, 0x118 /* 801F2B94 001EFAF4 38 9B 01 1C */ addi r4, r27, 0x11c /* 801F2B98 001EFAF8 4B ED 08 B1 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 801F2B9C 001EFAFC 80 61 01 18 */ lwz r3, 0x118(r1) /* 801F2BA0 001EFB00 80 01 01 1C */ lwz r0, 0x11c(r1) /* 801F2BA4 001EFB04 90 7B 01 38 */ stw r3, 0x138(r27) /* 801F2BA8 001EFB08 90 1B 01 3C */ stw r0, 0x13c(r27) /* 801F2BAC 001EFB0C C0 01 01 20 */ lfs f0, 0x120(r1) /* 801F2BB0 001EFB10 D0 1B 01 40 */ stfs f0, 0x140(r27) /* 801F2BB4 001EFB14 C0 01 01 24 */ lfs f0, 0x124(r1) /* 801F2BB8 001EFB18 D0 1B 01 44 */ stfs f0, 0x144(r27) /* 801F2BBC 001EFB1C C0 01 01 28 */ lfs f0, 0x128(r1) /* 801F2BC0 001EFB20 D0 1B 01 48 */ stfs f0, 0x148(r27) /* 801F2BC4 001EFB24 C0 01 01 2C */ lfs f0, 0x12c(r1) /* 801F2BC8 001EFB28 D0 1B 01 4C */ stfs f0, 0x14c(r27) /* 801F2BCC 001EFB2C 88 01 01 30 */ lbz r0, 0x130(r1) /* 801F2BD0 001EFB30 98 1B 01 50 */ stb r0, 0x150(r27) lbl_801F2BD4: /* 801F2BD4 001EFB34 E3 E1 0B 38 */ psq_l f31, -1224(r1), 0, qr0 /* 801F2BD8 001EFB38 CB E1 0B 30 */ lfd f31, 0xb30(r1) /* 801F2BDC 001EFB3C E3 C1 0B 28 */ psq_l f30, -1240(r1), 0, qr0 /* 801F2BE0 001EFB40 CB C1 0B 20 */ lfd f30, 0xb20(r1) /* 801F2BE4 001EFB44 E3 A1 0B 18 */ psq_l f29, -1256(r1), 0, qr0 /* 801F2BE8 001EFB48 CB A1 0B 10 */ lfd f29, 0xb10(r1) /* 801F2BEC 001EFB4C E3 81 0B 08 */ psq_l f28, -1272(r1), 0, qr0 /* 801F2BF0 001EFB50 CB 81 0B 00 */ lfd f28, 0xb00(r1) /* 801F2BF4 001EFB54 E3 61 0A F8 */ psq_l f27, -1288(r1), 0, qr0 /* 801F2BF8 001EFB58 CB 61 0A F0 */ lfd f27, 0xaf0(r1) /* 801F2BFC 001EFB5C E3 41 0A E8 */ psq_l f26, -1304(r1), 0, qr0 /* 801F2C00 001EFB60 CB 41 0A E0 */ lfd f26, 0xae0(r1) /* 801F2C04 001EFB64 BB 21 0A C4 */ lmw r25, 0xac4(r1) /* 801F2C08 001EFB68 80 01 0B 44 */ lwz r0, 0xb44(r1) /* 801F2C0C 001EFB6C 7C 08 03 A6 */ mtlr r0 /* 801F2C10 001EFB70 38 21 0B 40 */ addi r1, r1, 0xb40 /* 801F2C14 001EFB74 4E 80 00 20 */ blr .global UpdateTrailObjects__20CIceAttackProjectileFfR13CStateManager UpdateTrailObjects__20CIceAttackProjectileFfR13CStateManager: /* 801F2C18 001EFB78 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801F2C1C 001EFB7C 7C 08 02 A6 */ mflr r0 /* 801F2C20 001EFB80 90 01 00 44 */ stw r0, 0x44(r1) /* 801F2C24 001EFB84 DB E1 00 30 */ stfd f31, 0x30(r1) /* 801F2C28 001EFB88 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 801F2C2C 001EFB8C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801F2C30 001EFB90 7C 7E 1B 78 */ mr r30, r3 /* 801F2C34 001EFB94 FF E0 08 90 */ fmr f31, f1 /* 801F2C38 001EFB98 88 03 01 90 */ lbz r0, 0x190(r3) /* 801F2C3C 001EFB9C 7C 9F 23 78 */ mr r31, r4 /* 801F2C40 001EFBA0 28 00 00 00 */ cmplwi r0, 0 /* 801F2C44 001EFBA4 41 82 01 18 */ beq lbl_801F2D5C /* 801F2C48 001EFBA8 C0 3E 01 7C */ lfs f1, 0x17c(r30) /* 801F2C4C 001EFBAC C0 02 AF 10 */ lfs f0, lbl_805ACC30@sda21(r2) /* 801F2C50 001EFBB0 EC 21 F8 2A */ fadds f1, f1, f31 /* 801F2C54 001EFBB4 D0 3E 01 7C */ stfs f1, 0x17c(r30) /* 801F2C58 001EFBB8 C0 3E 01 7C */ lfs f1, 0x17c(r30) /* 801F2C5C 001EFBBC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F2C60 001EFBC0 40 81 00 FC */ ble lbl_801F2D5C /* 801F2C64 001EFBC4 88 1E 01 91 */ lbz r0, 0x191(r30) /* 801F2C68 001EFBC8 28 00 00 00 */ cmplwi r0, 0 /* 801F2C6C 001EFBCC 40 82 00 38 */ bne lbl_801F2CA4 /* 801F2C70 001EFBD0 A0 9E 01 8A */ lhz r4, 0x18a(r30) /* 801F2C74 001EFBD4 38 61 00 0C */ addi r3, r1, 0xc /* 801F2C78 001EFBD8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 801F2C7C 001EFBDC 38 A0 00 7F */ li r5, 0x7f /* 801F2C80 001EFBE0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801F2C84 001EFBE4 38 C0 00 40 */ li r6, 0x40 /* 801F2C88 001EFBE8 38 E0 00 00 */ li r7, 0 /* 801F2C8C 001EFBEC 39 20 00 01 */ li r9, 1 /* 801F2C90 001EFBF0 48 0F 70 E5 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 801F2C94 001EFBF4 80 61 00 0C */ lwz r3, 0xc(r1) /* 801F2C98 001EFBF8 38 00 00 01 */ li r0, 1 /* 801F2C9C 001EFBFC 90 7E 01 94 */ stw r3, 0x194(r30) /* 801F2CA0 001EFC00 98 1E 01 91 */ stb r0, 0x191(r30) lbl_801F2CA4: /* 801F2CA4 001EFC04 C0 3E 01 7C */ lfs f1, 0x17c(r30) /* 801F2CA8 001EFC08 3B 60 00 00 */ li r27, 0 /* 801F2CAC 001EFC0C C0 02 AF 10 */ lfs f0, lbl_805ACC30@sda21(r2) /* 801F2CB0 001EFC10 3B A0 00 00 */ li r29, 0 /* 801F2CB4 001EFC14 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F2CB8 001EFC18 D0 1E 01 7C */ stfs f0, 0x17c(r30) /* 801F2CBC 001EFC1C 48 00 00 94 */ b lbl_801F2D50 lbl_801F2CC0: /* 801F2CC0 001EFC20 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801F2CC4 001EFC24 7F 80 EA 14 */ add r28, r0, r29 /* 801F2CC8 001EFC28 7F 83 E3 78 */ mr r3, r28 /* 801F2CCC 001EFC2C 4B FF ED E9 */ bl ExplosionStarted__Q220CIceAttackProjectile12CTrailObjectCFv /* 801F2CD0 001EFC30 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F2CD4 001EFC34 40 82 00 74 */ bne lbl_801F2D48 /* 801F2CD8 001EFC38 3C 60 80 3D */ lis r3, lbl_803D2050@ha /* 801F2CDC 001EFC3C 3B 60 00 00 */ li r27, 0 /* 801F2CE0 001EFC40 38 83 20 50 */ addi r4, r3, lbl_803D2050@l /* 801F2CE4 001EFC44 38 A0 00 00 */ li r5, 0 /* 801F2CE8 001EFC48 38 60 03 40 */ li r3, 0x340 /* 801F2CEC 001EFC4C 48 12 2B 81 */ bl __nw__FUlPCcPCc /* 801F2CF0 001EFC50 7C 7D 1B 79 */ or. r29, r3, r3 /* 801F2CF4 001EFC54 41 82 00 2C */ beq lbl_801F2D20 /* 801F2CF8 001EFC58 38 61 00 10 */ addi r3, r1, 0x10 /* 801F2CFC 001EFC5C 38 9E 00 F0 */ addi r4, r30, 0xf0 /* 801F2D00 001EFC60 48 14 E1 A9 */ bl __ct__6CTokenFRC6CToken /* 801F2D04 001EFC64 7F A3 EB 78 */ mr r3, r29 /* 801F2D08 001EFC68 38 81 00 10 */ addi r4, r1, 0x10 /* 801F2D0C 001EFC6C 3B 60 00 01 */ li r27, 1 /* 801F2D10 001EFC70 38 A0 00 00 */ li r5, 0 /* 801F2D14 001EFC74 38 C0 00 01 */ li r6, 1 /* 801F2D18 001EFC78 48 12 C6 C9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801F2D1C 001EFC7C 7C 7D 1B 78 */ mr r29, r3 lbl_801F2D20: /* 801F2D20 001EFC80 7F 83 E3 78 */ mr r3, r28 /* 801F2D24 001EFC84 7F A4 EB 78 */ mr r4, r29 /* 801F2D28 001EFC88 7F E5 FB 78 */ mr r5, r31 /* 801F2D2C 001EFC8C 4B FF F3 19 */ bl StartExplosion__Q220CIceAttackProjectile12CTrailObjectFP11CElementGenR13CStateManager /* 801F2D30 001EFC90 7F 60 07 75 */ extsb. r0, r27 /* 801F2D34 001EFC94 41 82 00 28 */ beq lbl_801F2D5C /* 801F2D38 001EFC98 38 61 00 10 */ addi r3, r1, 0x10 /* 801F2D3C 001EFC9C 38 80 00 00 */ li r4, 0 /* 801F2D40 001EFCA0 48 14 E1 01 */ bl __dt__6CTokenFv /* 801F2D44 001EFCA4 48 00 00 18 */ b lbl_801F2D5C lbl_801F2D48: /* 801F2D48 001EFCA8 3B BD 03 24 */ addi r29, r29, 0x324 /* 801F2D4C 001EFCAC 3B 7B 00 01 */ addi r27, r27, 1 lbl_801F2D50: /* 801F2D50 001EFCB0 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801F2D54 001EFCB4 7C 1B 00 00 */ cmpw r27, r0 /* 801F2D58 001EFCB8 41 80 FF 68 */ blt lbl_801F2CC0 lbl_801F2D5C: /* 801F2D5C 001EFCBC A0 1E 01 18 */ lhz r0, 0x118(r30) /* 801F2D60 001EFCC0 7F E3 FB 78 */ mr r3, r31 /* 801F2D64 001EFCC4 38 81 00 08 */ addi r4, r1, 8 /* 801F2D68 001EFCC8 B0 01 00 08 */ sth r0, 8(r1) /* 801F2D6C 001EFCCC 4B E5 98 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F2D70 001EFCD0 3B A0 00 00 */ li r29, 0 /* 801F2D74 001EFCD4 7C 7B 1B 78 */ mr r27, r3 /* 801F2D78 001EFCD8 3B 80 00 00 */ li r28, 0 /* 801F2D7C 001EFCDC 48 00 00 24 */ b lbl_801F2DA0 lbl_801F2D80: /* 801F2D80 001EFCE0 80 1E 01 14 */ lwz r0, 0x114(r30) /* 801F2D84 001EFCE4 FC 20 F8 90 */ fmr f1, f31 /* 801F2D88 001EFCE8 7F E4 FB 78 */ mr r4, r31 /* 801F2D8C 001EFCEC 7F 65 DB 78 */ mr r5, r27 /* 801F2D90 001EFCF0 7C 60 E2 14 */ add r3, r0, r28 /* 801F2D94 001EFCF4 4B FF ED A1 */ bl Update__Q220CIceAttackProjectile12CTrailObjectFfR13CStateManagerPC13CPhysicsActor /* 801F2D98 001EFCF8 3B 9C 03 24 */ addi r28, r28, 0x324 /* 801F2D9C 001EFCFC 3B BD 00 01 */ addi r29, r29, 1 lbl_801F2DA0: /* 801F2DA0 001EFD00 80 1E 01 0C */ lwz r0, 0x10c(r30) /* 801F2DA4 001EFD04 7C 1D 00 00 */ cmpw r29, r0 /* 801F2DA8 001EFD08 41 80 FF D8 */ blt lbl_801F2D80 /* 801F2DAC 001EFD0C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 801F2DB0 001EFD10 CB E1 00 30 */ lfd f31, 0x30(r1) /* 801F2DB4 001EFD14 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801F2DB8 001EFD18 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F2DBC 001EFD1C 7C 08 03 A6 */ mtlr r0 /* 801F2DC0 001EFD20 38 21 00 40 */ addi r1, r1, 0x40 /* 801F2DC4 001EFD24 4E 80 00 20 */ blr .global CreateTrailObject__20CIceAttackProjectileFR13CStateManagerRC9CVector3ff CreateTrailObject__20CIceAttackProjectileFR13CStateManagerRC9CVector3ff: /* 801F2DC8 001EFD28 94 21 FB F0 */ stwu r1, -0x410(r1) /* 801F2DCC 001EFD2C 7C 08 02 A6 */ mflr r0 /* 801F2DD0 001EFD30 90 01 04 14 */ stw r0, 0x414(r1) /* 801F2DD4 001EFD34 DB E1 04 00 */ stfd f31, 0x400(r1) /* 801F2DD8 001EFD38 F3 E1 04 08 */ psq_st f31, 1032(r1), 0, qr0 /* 801F2DDC 001EFD3C BF 41 03 E8 */ stmw r26, 0x3e8(r1) /* 801F2DE0 001EFD40 FF E0 08 90 */ fmr f31, f1 /* 801F2DE4 001EFD44 7C 7C 1B 78 */ mr r28, r3 /* 801F2DE8 001EFD48 7C 9D 23 78 */ mr r29, r4 /* 801F2DEC 001EFD4C 7C BE 2B 78 */ mr r30, r5 /* 801F2DF0 001EFD50 38 61 00 18 */ addi r3, r1, 0x18 /* 801F2DF4 001EFD54 4B E5 A2 E9 */ bl AllocateUniqueId__13CStateManagerFv /* 801F2DF8 001EFD58 A0 01 00 18 */ lhz r0, 0x18(r1) /* 801F2DFC 001EFD5C 3C 60 80 3D */ lis r3, lbl_803D2050@ha /* 801F2E00 001EFD60 38 83 20 50 */ addi r4, r3, lbl_803D2050@l /* 801F2E04 001EFD64 38 A0 00 00 */ li r5, 0 /* 801F2E08 001EFD68 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801F2E0C 001EFD6C 38 60 03 10 */ li r3, 0x310 /* 801F2E10 001EFD70 48 12 2A 5D */ bl __nw__FUlPCcPCc /* 801F2E14 001EFD74 7C 7F 1B 79 */ or. r31, r3, r3 /* 801F2E18 001EFD78 41 82 00 44 */ beq lbl_801F2E5C /* 801F2E1C 001EFD7C A1 3C 00 08 */ lhz r9, 8(r28) /* 801F2E20 001EFD80 38 81 00 0C */ addi r4, r1, 0xc /* 801F2E24 001EFD84 A0 01 00 1C */ lhz r0, 0x1c(r1) /* 801F2E28 001EFD88 38 A1 00 2C */ addi r5, r1, 0x2c /* 801F2E2C 001EFD8C B1 21 00 14 */ sth r9, 0x14(r1) /* 801F2E30 001EFD90 38 C1 00 14 */ addi r6, r1, 0x14 /* 801F2E34 001EFD94 C0 22 AF 0C */ lfs f1, lbl_805ACC2C@sda21(r2) /* 801F2E38 001EFD98 38 E0 00 00 */ li r7, 0 /* 801F2E3C 001EFD9C 81 1C 00 04 */ lwz r8, 4(r28) /* 801F2E40 001EFDA0 B1 21 00 10 */ sth r9, 0x10(r1) /* 801F2E44 001EFDA4 C0 42 AF 14 */ lfs f2, lbl_805ACC34@sda21(r2) /* 801F2E48 001EFDA8 91 01 00 28 */ stw r8, 0x28(r1) /* 801F2E4C 001EFDAC 91 01 00 2C */ stw r8, 0x2c(r1) /* 801F2E50 001EFDB0 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F2E54 001EFDB4 4B FB 65 E1 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff /* 801F2E58 001EFDB8 7C 7F 1B 78 */ mr r31, r3 lbl_801F2E5C: /* 801F2E5C 001EFDBC 38 7F 00 34 */ addi r3, r31, 0x34 /* 801F2E60 001EFDC0 38 9C 00 34 */ addi r4, r28, 0x34 /* 801F2E64 001EFDC4 48 11 FC DD */ bl __as__12CTransform4fFRC12CTransform4f /* 801F2E68 001EFDC8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F2E6C 001EFDCC 38 A0 00 01 */ li r5, 1 /* 801F2E70 001EFDD0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801F2E74 001EFDD4 C0 22 AE E8 */ lfs f1, lbl_805ACC08@sda21(r2) /* 801F2E78 001EFDD8 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F2E7C 001EFDDC 7F E3 FB 78 */ mr r3, r31 /* 801F2E80 001EFDE0 C0 02 AE EC */ lfs f0, lbl_805ACC0C@sda21(r2) /* 801F2E84 001EFDE4 38 81 00 80 */ addi r4, r1, 0x80 /* 801F2E88 001EFDE8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F2E8C 001EFDEC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801F2E90 001EFDF0 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F2E94 001EFDF4 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F2E98 001EFDF8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801F2E9C 001EFDFC 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F2EA0 001EFE00 C0 DF 00 60 */ lfs f6, 0x60(r31) /* 801F2EA4 001EFE04 C0 BF 00 50 */ lfs f5, 0x50(r31) /* 801F2EA8 001EFE08 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 801F2EAC 001EFE0C EC 66 00 28 */ fsubs f3, f6, f0 /* 801F2EB0 001EFE10 EC 85 08 28 */ fsubs f4, f5, f1 /* 801F2EB4 001EFE14 D0 A1 00 78 */ stfs f5, 0x78(r1) /* 801F2EB8 001EFE18 EC 02 08 28 */ fsubs f0, f2, f1 /* 801F2EBC 001EFE1C D0 41 00 74 */ stfs f2, 0x74(r1) /* 801F2EC0 001EFE20 D0 C1 00 7C */ stfs f6, 0x7c(r1) /* 801F2EC4 001EFE24 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801F2EC8 001EFE28 D0 81 00 84 */ stfs f4, 0x84(r1) /* 801F2ECC 001EFE2C D0 61 00 88 */ stfs f3, 0x88(r1) /* 801F2ED0 001EFE30 4B E5 FF BD */ bl SetTranslation__6CActorFRC9CVector3f /* 801F2ED4 001EFE34 80 9F 00 68 */ lwz r4, 0x68(r31) /* 801F2ED8 001EFE38 3C 00 00 20 */ lis r0, 0x20 /* 801F2EDC 001EFE3C 7F E3 FB 78 */ mr r3, r31 /* 801F2EE0 001EFE40 60 84 08 00 */ ori r4, r4, 0x800 /* 801F2EE4 001EFE44 90 9F 00 68 */ stw r4, 0x68(r31) /* 801F2EE8 001EFE48 80 BF 00 6C */ lwz r5, 0x6c(r31) /* 801F2EEC 001EFE4C 7C A0 03 78 */ or r0, r5, r0 /* 801F2EF0 001EFE50 90 1F 00 6C */ stw r0, 0x6c(r31) /* 801F2EF4 001EFE54 4B E6 09 C9 */ bl GetMaterialFilter__6CActorCFv /* 801F2EF8 001EFE58 80 03 00 00 */ lwz r0, 0(r3) /* 801F2EFC 001EFE5C 38 80 00 01 */ li r4, 1 /* 801F2F00 001EFE60 80 C3 00 04 */ lwz r6, 4(r3) /* 801F2F04 001EFE64 80 AD 92 A4 */ lwz r5, lbl_805A7E64@sda21(r13) /* 801F2F08 001EFE68 90 C1 00 AC */ stw r6, 0xac(r1) /* 801F2F0C 001EFE6C 90 01 00 A8 */ stw r0, 0xa8(r1) /* 801F2F10 001EFE70 80 03 00 08 */ lwz r0, 8(r3) /* 801F2F14 001EFE74 80 C3 00 0C */ lwz r6, 0xc(r3) /* 801F2F18 001EFE78 90 C1 00 B4 */ stw r6, 0xb4(r1) /* 801F2F1C 001EFE7C 90 01 00 B0 */ stw r0, 0xb0(r1) /* 801F2F20 001EFE80 80 03 00 10 */ lwz r0, 0x10(r3) /* 801F2F24 001EFE84 38 60 00 00 */ li r3, 0 /* 801F2F28 001EFE88 90 01 00 B8 */ stw r0, 0xb8(r1) /* 801F2F2C 001EFE8C 48 19 6F C9 */ bl __shl2i /* 801F2F30 001EFE90 80 AD 92 A8 */ lwz r5, lbl_805A7E68@sda21(r13) /* 801F2F34 001EFE94 7C 9A 23 78 */ mr r26, r4 /* 801F2F38 001EFE98 7C 7B 1B 78 */ mr r27, r3 /* 801F2F3C 001EFE9C 38 60 00 00 */ li r3, 0 /* 801F2F40 001EFEA0 38 80 00 01 */ li r4, 1 /* 801F2F44 001EFEA4 48 19 6F B1 */ bl __shl2i /* 801F2F48 001EFEA8 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 801F2F4C 001EFEAC 7F 7B 1B 78 */ or r27, r27, r3 /* 801F2F50 001EFEB0 7F 5A 23 78 */ or r26, r26, r4 /* 801F2F54 001EFEB4 80 81 00 B4 */ lwz r4, 0xb4(r1) /* 801F2F58 001EFEB8 7C 00 DB 78 */ or r0, r0, r27 /* 801F2F5C 001EFEBC 7F E3 FB 78 */ mr r3, r31 /* 801F2F60 001EFEC0 7C 85 D3 78 */ or r5, r4, r26 /* 801F2F64 001EFEC4 90 01 00 B0 */ stw r0, 0xb0(r1) /* 801F2F68 001EFEC8 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801F2F6C 001EFECC 90 A1 00 B4 */ stw r5, 0xb4(r1) /* 801F2F70 001EFED0 4B E6 09 31 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801F2F74 001EFED4 7F A3 EB 78 */ mr r3, r29 /* 801F2F78 001EFED8 7F E4 FB 78 */ mr r4, r31 /* 801F2F7C 001EFEDC 4B E5 9D 79 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801F2F80 001EFEE0 3C 60 80 3D */ lis r3, lbl_803D2050@ha /* 801F2F84 001EFEE4 3B 40 00 00 */ li r26, 0 /* 801F2F88 001EFEE8 38 83 20 50 */ addi r4, r3, lbl_803D2050@l /* 801F2F8C 001EFEEC 38 A0 00 00 */ li r5, 0 /* 801F2F90 001EFEF0 38 60 03 40 */ li r3, 0x340 /* 801F2F94 001EFEF4 48 12 28 D9 */ bl __nw__FUlPCcPCc /* 801F2F98 001EFEF8 7C 7F 1B 79 */ or. r31, r3, r3 /* 801F2F9C 001EFEFC 41 82 00 2C */ beq lbl_801F2FC8 /* 801F2FA0 001EFF00 38 61 00 30 */ addi r3, r1, 0x30 /* 801F2FA4 001EFF04 38 9C 00 E8 */ addi r4, r28, 0xe8 /* 801F2FA8 001EFF08 48 14 DF 01 */ bl __ct__6CTokenFRC6CToken /* 801F2FAC 001EFF0C 7F E3 FB 78 */ mr r3, r31 /* 801F2FB0 001EFF10 38 81 00 30 */ addi r4, r1, 0x30 /* 801F2FB4 001EFF14 3B 40 00 01 */ li r26, 1 /* 801F2FB8 001EFF18 38 A0 00 01 */ li r5, 1 /* 801F2FBC 001EFF1C 38 C0 00 01 */ li r6, 1 /* 801F2FC0 001EFF20 48 12 C4 21 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801F2FC4 001EFF24 7C 7F 1B 78 */ mr r31, r3 lbl_801F2FC8: /* 801F2FC8 001EFF28 7F 40 07 75 */ extsb. r0, r26 /* 801F2FCC 001EFF2C 7F FA FB 78 */ mr r26, r31 /* 801F2FD0 001EFF30 41 82 00 10 */ beq lbl_801F2FE0 /* 801F2FD4 001EFF34 38 61 00 30 */ addi r3, r1, 0x30 /* 801F2FD8 001EFF38 38 80 00 00 */ li r4, 0 /* 801F2FDC 001EFF3C 48 14 DE 65 */ bl __dt__6CTokenFv lbl_801F2FE0: /* 801F2FE0 001EFF40 88 1A 02 6D */ lbz r0, 0x26d(r26) /* 801F2FE4 001EFF44 38 60 00 01 */ li r3, 1 /* 801F2FE8 001EFF48 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801F2FEC 001EFF4C C0 02 AE E8 */ lfs f0, lbl_805ACC08@sda21(r2) /* 801F2FF0 001EFF50 98 1A 02 6D */ stb r0, 0x26d(r26) /* 801F2FF4 001EFF54 38 61 00 5C */ addi r3, r1, 0x5c /* 801F2FF8 001EFF58 A0 01 00 1C */ lhz r0, 0x1c(r1) /* 801F2FFC 001EFF5C 38 9C 00 34 */ addi r4, r28, 0x34 /* 801F3000 001EFF60 C0 3C 01 70 */ lfs f1, 0x170(r28) /* 801F3004 001EFF64 38 A1 00 50 */ addi r5, r1, 0x50 /* 801F3008 001EFF68 EC 21 07 F2 */ fmuls f1, f1, f31 /* 801F300C 001EFF6C D0 01 00 50 */ stfs f0, 0x50(r1) /* 801F3010 001EFF70 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801F3014 001EFF74 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801F3018 001EFF78 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801F301C 001EFF7C C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801F3020 001EFF80 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801F3024 001EFF84 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801F3028 001EFF88 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801F302C 001EFF8C D0 41 00 70 */ stfs f2, 0x70(r1) /* 801F3030 001EFF90 B0 01 00 08 */ sth r0, 8(r1) /* 801F3034 001EFF94 48 11 FA 4D */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801F3038 001EFF98 7F 44 D3 78 */ mr r4, r26 /* 801F303C 001EFF9C 7F C7 F3 78 */ mr r7, r30 /* 801F3040 001EFFA0 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801F3044 001EFFA4 38 A1 00 08 */ addi r5, r1, 8 /* 801F3048 001EFFA8 38 C1 00 68 */ addi r6, r1, 0x68 /* 801F304C 001EFFAC 39 01 00 5C */ addi r8, r1, 0x5c /* 801F3050 001EFFB0 4B FF F1 81 */ bl __ct__Q220CIceAttackProjectile12CTrailObjectFP11CElementGen9TUniqueIdRC9CVector3fRC9CVector3fRC9CVector3f /* 801F3054 001EFFB4 38 80 00 02 */ li r4, 2 /* 801F3058 001EFFB8 88 01 03 70 */ lbz r0, 0x370(r1) /* 801F305C 001EFFBC 7C 64 00 D0 */ neg r3, r4 /* 801F3060 001EFFC0 90 81 03 90 */ stw r4, 0x390(r1) /* 801F3064 001EFFC4 7C 63 20 78 */ andc r3, r3, r4 /* 801F3068 001EFFC8 3B 41 00 D8 */ addi r26, r1, 0xd8 /* 801F306C 001EFFCC 54 64 0F FE */ srwi r4, r3, 0x1f /* 801F3070 001EFFD0 38 61 00 8C */ addi r3, r1, 0x8c /* 801F3074 001EFFD4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801F3078 001EFFD8 38 81 00 44 */ addi r4, r1, 0x44 /* 801F307C 001EFFDC 98 01 03 70 */ stb r0, 0x370(r1) /* 801F3080 001EFFE0 38 A1 00 38 */ addi r5, r1, 0x38 /* 801F3084 001EFFE4 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801F3088 001EFFE8 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801F308C 001EFFEC C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801F3090 001EFFF0 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801F3094 001EFFF4 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801F3098 001EFFF8 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801F309C 001EFFFC D0 01 00 44 */ stfs f0, 0x44(r1) /* 801F30A0 001F0000 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801F30A4 001F0004 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801F30A8 001F0008 81 1C 00 04 */ lwz r8, 4(r28) /* 801F30AC 001F000C 80 FD 08 50 */ lwz r7, 0x850(r29) /* 801F30B0 001F0010 55 06 18 38 */ slwi r6, r8, 3 /* 801F30B4 001F0014 91 01 00 20 */ stw r8, 0x20(r1) /* 801F30B8 001F0018 80 E7 00 20 */ lwz r7, 0x20(r7) /* 801F30BC 001F001C 38 06 00 04 */ addi r0, r6, 4 /* 801F30C0 001F0020 91 01 00 24 */ stw r8, 0x24(r1) /* 801F30C4 001F0024 7F C7 00 2E */ lwzx r30, r7, r0 /* 801F30C8 001F0028 48 14 54 41 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801F30CC 001F002C 7C 66 1B 78 */ mr r6, r3 /* 801F30D0 001F0030 7F 43 D3 78 */ mr r3, r26 /* 801F30D4 001F0034 7F A4 EB 78 */ mr r4, r29 /* 801F30D8 001F0038 7F C5 F3 78 */ mr r5, r30 /* 801F30DC 001F003C 4B F1 0C E5 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox /* 801F30E0 001F0040 80 7C 01 0C */ lwz r3, 0x10c(r28) /* 801F30E4 001F0044 80 1C 01 10 */ lwz r0, 0x110(r28) /* 801F30E8 001F0048 38 83 00 01 */ addi r4, r3, 1 /* 801F30EC 001F004C 7C 00 20 00 */ cmpw r0, r4 /* 801F30F0 001F0050 40 80 00 0C */ bge lbl_801F30FC /* 801F30F4 001F0054 38 7C 01 08 */ addi r3, r28, 0x108 /* 801F30F8 001F0058 48 00 0E 21 */ bl sub_801f3f18 lbl_801F30FC: /* 801F30FC 001F005C 38 7C 01 08 */ addi r3, r28, 0x108 /* 801F3100 001F0060 38 81 00 C0 */ addi r4, r1, 0xc0 /* 801F3104 001F0064 48 00 00 8D */ bl sub_801f3190 /* 801F3108 001F0068 7F 43 D3 78 */ mr r3, r26 /* 801F310C 001F006C 38 80 FF FF */ li r4, -1 /* 801F3110 001F0070 4B F1 1F C5 */ bl __dt__12CActorLightsFv /* 801F3114 001F0074 34 61 00 C8 */ addic. r3, r1, 0xc8 /* 801F3118 001F0078 41 82 00 30 */ beq lbl_801F3148 /* 801F311C 001F007C 88 03 00 00 */ lbz r0, 0(r3) /* 801F3120 001F0080 28 00 00 00 */ cmplwi r0, 0 /* 801F3124 001F0084 41 82 00 24 */ beq lbl_801F3148 /* 801F3128 001F0088 80 61 00 CC */ lwz r3, 0xcc(r1) /* 801F312C 001F008C 28 03 00 00 */ cmplwi r3, 0 /* 801F3130 001F0090 41 82 00 18 */ beq lbl_801F3148 /* 801F3134 001F0094 81 83 00 00 */ lwz r12, 0(r3) /* 801F3138 001F0098 38 80 00 01 */ li r4, 1 /* 801F313C 001F009C 81 8C 00 08 */ lwz r12, 8(r12) /* 801F3140 001F00A0 7D 89 03 A6 */ mtctr r12 /* 801F3144 001F00A4 4E 80 04 21 */ bctrl lbl_801F3148: /* 801F3148 001F00A8 88 01 00 C0 */ lbz r0, 0xc0(r1) /* 801F314C 001F00AC 28 00 00 00 */ cmplwi r0, 0 /* 801F3150 001F00B0 41 82 00 24 */ beq lbl_801F3174 /* 801F3154 001F00B4 80 61 00 C4 */ lwz r3, 0xc4(r1) /* 801F3158 001F00B8 28 03 00 00 */ cmplwi r3, 0 /* 801F315C 001F00BC 41 82 00 18 */ beq lbl_801F3174 /* 801F3160 001F00C0 81 83 00 00 */ lwz r12, 0(r3) /* 801F3164 001F00C4 38 80 00 01 */ li r4, 1 /* 801F3168 001F00C8 81 8C 00 08 */ lwz r12, 8(r12) /* 801F316C 001F00CC 7D 89 03 A6 */ mtctr r12 /* 801F3170 001F00D0 4E 80 04 21 */ bctrl lbl_801F3174: /* 801F3174 001F00D4 E3 E1 04 08 */ psq_l f31, 1032(r1), 0, qr0 /* 801F3178 001F00D8 CB E1 04 00 */ lfd f31, 0x400(r1) /* 801F317C 001F00DC BB 41 03 E8 */ lmw r26, 0x3e8(r1) /* 801F3180 001F00E0 80 01 04 14 */ lwz r0, 0x414(r1) /* 801F3184 001F00E4 7C 08 03 A6 */ mtlr r0 /* 801F3188 001F00E8 38 21 04 10 */ addi r1, r1, 0x410 /* 801F318C 001F00EC 4E 80 00 20 */ blr .global sub_801f3190 sub_801f3190: /* 801F3190 001F00F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F3194 001F00F4 7C 08 02 A6 */ mflr r0 /* 801F3198 001F00F8 90 01 00 14 */ stw r0, 0x14(r1) /* 801F319C 001F00FC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F31A0 001F0100 7C 9F 23 78 */ mr r31, r4 /* 801F31A4 001F0104 93 C1 00 08 */ stw r30, 8(r1) /* 801F31A8 001F0108 7C 7E 1B 78 */ mr r30, r3 /* 801F31AC 001F010C 80 03 00 04 */ lwz r0, 4(r3) /* 801F31B0 001F0110 80 A3 00 08 */ lwz r5, 8(r3) /* 801F31B4 001F0114 7C 00 28 00 */ cmpw r0, r5 /* 801F31B8 001F0118 41 80 00 18 */ blt lbl_801F31D0 /* 801F31BC 001F011C 2C 05 00 00 */ cmpwi r5, 0 /* 801F31C0 001F0120 38 80 00 04 */ li r4, 4 /* 801F31C4 001F0124 41 82 00 08 */ beq lbl_801F31CC /* 801F31C8 001F0128 54 A4 08 3C */ slwi r4, r5, 1 lbl_801F31CC: /* 801F31CC 001F012C 48 00 0D 4D */ bl sub_801f3f18 lbl_801F31D0: /* 801F31D0 001F0130 80 1E 00 04 */ lwz r0, 4(r30) /* 801F31D4 001F0134 7F E4 FB 78 */ mr r4, r31 /* 801F31D8 001F0138 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801F31DC 001F013C 1C 00 03 24 */ mulli r0, r0, 0x324 /* 801F31E0 001F0140 7C 63 02 14 */ add r3, r3, r0 /* 801F31E4 001F0144 48 00 00 29 */ bl sub_801f320c /* 801F31E8 001F0148 80 7E 00 04 */ lwz r3, 4(r30) /* 801F31EC 001F014C 38 03 00 01 */ addi r0, r3, 1 /* 801F31F0 001F0150 90 1E 00 04 */ stw r0, 4(r30) /* 801F31F4 001F0154 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F31F8 001F0158 83 C1 00 08 */ lwz r30, 8(r1) /* 801F31FC 001F015C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F3200 001F0160 7C 08 03 A6 */ mtlr r0 /* 801F3204 001F0164 38 21 00 10 */ addi r1, r1, 0x10 /* 801F3208 001F0168 4E 80 00 20 */ blr .global sub_801f320c sub_801f320c: /* 801F320C 001F016C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F3210 001F0170 7C 08 02 A6 */ mflr r0 /* 801F3214 001F0174 28 03 00 00 */ cmplwi r3, 0 /* 801F3218 001F0178 90 01 00 14 */ stw r0, 0x14(r1) /* 801F321C 001F017C 41 82 00 08 */ beq lbl_801F3224 /* 801F3220 001F0180 48 00 00 15 */ bl sub_801f3234 lbl_801F3224: /* 801F3224 001F0184 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F3228 001F0188 7C 08 03 A6 */ mtlr r0 /* 801F322C 001F018C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F3230 001F0190 4E 80 00 20 */ blr .global sub_801f3234 sub_801f3234: /* 801F3234 001F0194 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F3238 001F0198 7C 08 02 A6 */ mflr r0 /* 801F323C 001F019C 38 A0 00 00 */ li r5, 0 /* 801F3240 001F01A0 90 01 00 14 */ stw r0, 0x14(r1) /* 801F3244 001F01A4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F3248 001F01A8 7C 9F 23 78 */ mr r31, r4 /* 801F324C 001F01AC 93 C1 00 08 */ stw r30, 8(r1) /* 801F3250 001F01B0 7C 7E 1B 78 */ mr r30, r3 /* 801F3254 001F01B4 38 7E 00 18 */ addi r3, r30, 0x18 /* 801F3258 001F01B8 88 04 00 00 */ lbz r0, 0(r4) /* 801F325C 001F01BC 38 9F 00 18 */ addi r4, r31, 0x18 /* 801F3260 001F01C0 98 1E 00 00 */ stb r0, 0(r30) /* 801F3264 001F01C4 80 1F 00 04 */ lwz r0, 4(r31) /* 801F3268 001F01C8 90 1E 00 04 */ stw r0, 4(r30) /* 801F326C 001F01CC 98 BF 00 00 */ stb r5, 0(r31) /* 801F3270 001F01D0 88 1F 00 08 */ lbz r0, 8(r31) /* 801F3274 001F01D4 98 1E 00 08 */ stb r0, 8(r30) /* 801F3278 001F01D8 80 1F 00 0C */ lwz r0, 0xc(r31) /* 801F327C 001F01DC 90 1E 00 0C */ stw r0, 0xc(r30) /* 801F3280 001F01E0 98 BF 00 08 */ stb r5, 8(r31) /* 801F3284 001F01E4 A0 1F 00 10 */ lhz r0, 0x10(r31) /* 801F3288 001F01E8 B0 1E 00 10 */ sth r0, 0x10(r30) /* 801F328C 001F01EC C0 1F 00 14 */ lfs f0, 0x14(r31) /* 801F3290 001F01F0 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 801F3294 001F01F4 48 00 00 79 */ bl sub_801f330c /* 801F3298 001F01F8 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 801F329C 001F01FC 7F C3 F3 78 */ mr r3, r30 /* 801F32A0 001F0200 D0 1E 02 F8 */ stfs f0, 0x2f8(r30) /* 801F32A4 001F0204 C0 1F 02 FC */ lfs f0, 0x2fc(r31) /* 801F32A8 001F0208 D0 1E 02 FC */ stfs f0, 0x2fc(r30) /* 801F32AC 001F020C C0 1F 03 00 */ lfs f0, 0x300(r31) /* 801F32B0 001F0210 D0 1E 03 00 */ stfs f0, 0x300(r30) /* 801F32B4 001F0214 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801F32B8 001F0218 D0 1E 03 04 */ stfs f0, 0x304(r30) /* 801F32BC 001F021C C0 1F 03 08 */ lfs f0, 0x308(r31) /* 801F32C0 001F0220 D0 1E 03 08 */ stfs f0, 0x308(r30) /* 801F32C4 001F0224 C0 1F 03 0C */ lfs f0, 0x30c(r31) /* 801F32C8 001F0228 D0 1E 03 0C */ stfs f0, 0x30c(r30) /* 801F32CC 001F022C C0 1F 03 10 */ lfs f0, 0x310(r31) /* 801F32D0 001F0230 D0 1E 03 10 */ stfs f0, 0x310(r30) /* 801F32D4 001F0234 C0 1F 03 14 */ lfs f0, 0x314(r31) /* 801F32D8 001F0238 D0 1E 03 14 */ stfs f0, 0x314(r30) /* 801F32DC 001F023C C0 1F 03 18 */ lfs f0, 0x318(r31) /* 801F32E0 001F0240 D0 1E 03 18 */ stfs f0, 0x318(r30) /* 801F32E4 001F0244 80 1F 03 1C */ lwz r0, 0x31c(r31) /* 801F32E8 001F0248 90 1E 03 1C */ stw r0, 0x31c(r30) /* 801F32EC 001F024C 88 1F 03 20 */ lbz r0, 0x320(r31) /* 801F32F0 001F0250 98 1E 03 20 */ stb r0, 0x320(r30) /* 801F32F4 001F0254 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F32F8 001F0258 83 C1 00 08 */ lwz r30, 8(r1) /* 801F32FC 001F025C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F3300 001F0260 7C 08 03 A6 */ mtlr r0 /* 801F3304 001F0264 38 21 00 10 */ addi r1, r1, 0x10 /* 801F3308 001F0268 4E 80 00 20 */ blr .global sub_801f330c sub_801f330c: /* 801F330C 001F026C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F3310 001F0270 7C 08 02 A6 */ mflr r0 /* 801F3314 001F0274 90 01 00 14 */ stw r0, 0x14(r1) /* 801F3318 001F0278 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F331C 001F027C 7C 9F 23 78 */ mr r31, r4 /* 801F3320 001F0280 93 C1 00 08 */ stw r30, 8(r1) /* 801F3324 001F0284 7C 7E 1B 78 */ mr r30, r3 /* 801F3328 001F0288 48 00 00 ED */ bl sub_801f3414 /* 801F332C 001F028C 38 7E 01 44 */ addi r3, r30, 0x144 /* 801F3330 001F0290 38 9F 01 44 */ addi r4, r31, 0x144 /* 801F3334 001F0294 48 00 00 E1 */ bl sub_801f3414 /* 801F3338 001F0298 C0 1F 02 88 */ lfs f0, 0x288(r31) /* 801F333C 001F029C 7F C3 F3 78 */ mr r3, r30 /* 801F3340 001F02A0 D0 1E 02 88 */ stfs f0, 0x288(r30) /* 801F3344 001F02A4 C0 1F 02 8C */ lfs f0, 0x28c(r31) /* 801F3348 001F02A8 D0 1E 02 8C */ stfs f0, 0x28c(r30) /* 801F334C 001F02AC C0 1F 02 90 */ lfs f0, 0x290(r31) /* 801F3350 001F02B0 D0 1E 02 90 */ stfs f0, 0x290(r30) /* 801F3354 001F02B4 80 1F 02 94 */ lwz r0, 0x294(r31) /* 801F3358 001F02B8 90 1E 02 94 */ stw r0, 0x294(r30) /* 801F335C 001F02BC 88 1F 02 98 */ lbz r0, 0x298(r31) /* 801F3360 001F02C0 98 1E 02 98 */ stb r0, 0x298(r30) /* 801F3364 001F02C4 88 1F 02 99 */ lbz r0, 0x299(r31) /* 801F3368 001F02C8 98 1E 02 99 */ stb r0, 0x299(r30) /* 801F336C 001F02CC 88 1F 02 9A */ lbz r0, 0x29a(r31) /* 801F3370 001F02D0 98 1E 02 9A */ stb r0, 0x29a(r30) /* 801F3374 001F02D4 80 1F 02 9C */ lwz r0, 0x29c(r31) /* 801F3378 001F02D8 90 1E 02 9C */ stw r0, 0x29c(r30) /* 801F337C 001F02DC 80 1F 02 A0 */ lwz r0, 0x2a0(r31) /* 801F3380 001F02E0 90 1E 02 A0 */ stw r0, 0x2a0(r30) /* 801F3384 001F02E4 80 1F 02 A4 */ lwz r0, 0x2a4(r31) /* 801F3388 001F02E8 90 1E 02 A4 */ stw r0, 0x2a4(r30) /* 801F338C 001F02EC 80 1F 02 A8 */ lwz r0, 0x2a8(r31) /* 801F3390 001F02F0 90 1E 02 A8 */ stw r0, 0x2a8(r30) /* 801F3394 001F02F4 C0 1F 02 AC */ lfs f0, 0x2ac(r31) /* 801F3398 001F02F8 D0 1E 02 AC */ stfs f0, 0x2ac(r30) /* 801F339C 001F02FC C0 1F 02 B0 */ lfs f0, 0x2b0(r31) /* 801F33A0 001F0300 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) /* 801F33A4 001F0304 C0 1F 02 B4 */ lfs f0, 0x2b4(r31) /* 801F33A8 001F0308 D0 1E 02 B4 */ stfs f0, 0x2b4(r30) /* 801F33AC 001F030C 80 1F 02 B8 */ lwz r0, 0x2b8(r31) /* 801F33B0 001F0310 90 1E 02 B8 */ stw r0, 0x2b8(r30) /* 801F33B4 001F0314 80 1F 02 BC */ lwz r0, 0x2bc(r31) /* 801F33B8 001F0318 90 1E 02 BC */ stw r0, 0x2bc(r30) /* 801F33BC 001F031C C0 1F 02 C0 */ lfs f0, 0x2c0(r31) /* 801F33C0 001F0320 D0 1E 02 C0 */ stfs f0, 0x2c0(r30) /* 801F33C4 001F0324 C0 1F 02 C4 */ lfs f0, 0x2c4(r31) /* 801F33C8 001F0328 D0 1E 02 C4 */ stfs f0, 0x2c4(r30) /* 801F33CC 001F032C C0 1F 02 C8 */ lfs f0, 0x2c8(r31) /* 801F33D0 001F0330 D0 1E 02 C8 */ stfs f0, 0x2c8(r30) /* 801F33D4 001F0334 C0 1F 02 CC */ lfs f0, 0x2cc(r31) /* 801F33D8 001F0338 D0 1E 02 CC */ stfs f0, 0x2cc(r30) /* 801F33DC 001F033C C0 1F 02 D0 */ lfs f0, 0x2d0(r31) /* 801F33E0 001F0340 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) /* 801F33E4 001F0344 C0 1F 02 D4 */ lfs f0, 0x2d4(r31) /* 801F33E8 001F0348 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) /* 801F33EC 001F034C 80 1F 02 D8 */ lwz r0, 0x2d8(r31) /* 801F33F0 001F0350 90 1E 02 D8 */ stw r0, 0x2d8(r30) /* 801F33F4 001F0354 80 1F 02 DC */ lwz r0, 0x2dc(r31) /* 801F33F8 001F0358 90 1E 02 DC */ stw r0, 0x2dc(r30) /* 801F33FC 001F035C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F3400 001F0360 83 C1 00 08 */ lwz r30, 8(r1) /* 801F3404 001F0364 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F3408 001F0368 7C 08 03 A6 */ mtlr r0 /* 801F340C 001F036C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F3410 001F0370 4E 80 00 20 */ blr .global sub_801f3414 sub_801f3414: /* 801F3414 001F0374 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F3418 001F0378 7C 08 02 A6 */ mflr r0 /* 801F341C 001F037C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F3420 001F0380 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F3424 001F0384 7C 7F 1B 78 */ mr r31, r3 /* 801F3428 001F0388 38 64 00 04 */ addi r3, r4, 4 /* 801F342C 001F038C 80 04 00 00 */ lwz r0, 0(r4) /* 801F3430 001F0390 38 BF 00 04 */ addi r5, r31, 4 /* 801F3434 001F0394 90 1F 00 00 */ stw r0, 0(r31) /* 801F3438 001F0398 80 9F 00 00 */ lwz r4, 0(r31) /* 801F343C 001F039C 48 00 00 1D */ bl sub_801f3458 /* 801F3440 001F03A0 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F3444 001F03A4 7F E3 FB 78 */ mr r3, r31 /* 801F3448 001F03A8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F344C 001F03AC 7C 08 03 A6 */ mtlr r0 /* 801F3450 001F03B0 38 21 00 10 */ addi r1, r1, 0x10 /* 801F3454 001F03B4 4E 80 00 20 */ blr .global sub_801f3458 sub_801f3458: /* 801F3458 001F03B8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F345C 001F03BC 7C 08 02 A6 */ mflr r0 /* 801F3460 001F03C0 90 01 00 24 */ stw r0, 0x24(r1) /* 801F3464 001F03C4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F3468 001F03C8 7C 7F 1B 78 */ mr r31, r3 /* 801F346C 001F03CC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F3470 001F03D0 7C BE 2B 78 */ mr r30, r5 /* 801F3474 001F03D4 93 A1 00 14 */ stw r29, 0x14(r1) /* 801F3478 001F03D8 3B A0 00 00 */ li r29, 0 /* 801F347C 001F03DC 93 81 00 10 */ stw r28, 0x10(r1) /* 801F3480 001F03E0 7C 9C 23 78 */ mr r28, r4 /* 801F3484 001F03E4 48 00 00 1C */ b lbl_801F34A0 lbl_801F3488: /* 801F3488 001F03E8 7F C3 F3 78 */ mr r3, r30 /* 801F348C 001F03EC 7F E4 FB 78 */ mr r4, r31 /* 801F3490 001F03F0 48 00 00 3D */ bl sub_801f34cc /* 801F3494 001F03F4 3B DE 00 50 */ addi r30, r30, 0x50 /* 801F3498 001F03F8 3B BD 00 01 */ addi r29, r29, 1 /* 801F349C 001F03FC 3B FF 00 50 */ addi r31, r31, 0x50 lbl_801F34A0: /* 801F34A0 001F0400 7C 1D E0 00 */ cmpw r29, r28 /* 801F34A4 001F0404 41 80 FF E4 */ blt lbl_801F3488 /* 801F34A8 001F0408 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F34AC 001F040C 7F C3 F3 78 */ mr r3, r30 /* 801F34B0 001F0410 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F34B4 001F0414 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F34B8 001F0418 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801F34BC 001F041C 83 81 00 10 */ lwz r28, 0x10(r1) /* 801F34C0 001F0420 7C 08 03 A6 */ mtlr r0 /* 801F34C4 001F0424 38 21 00 20 */ addi r1, r1, 0x20 /* 801F34C8 001F0428 4E 80 00 20 */ blr .global sub_801f34cc sub_801f34cc: /* 801F34CC 001F042C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F34D0 001F0430 7C 08 02 A6 */ mflr r0 /* 801F34D4 001F0434 28 03 00 00 */ cmplwi r3, 0 /* 801F34D8 001F0438 90 01 00 14 */ stw r0, 0x14(r1) /* 801F34DC 001F043C 41 82 00 08 */ beq lbl_801F34E4 /* 801F34E0 001F0440 4B E4 80 91 */ bl __ct__6CLightFCR6CLight lbl_801F34E4: /* 801F34E4 001F0444 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F34E8 001F0448 7C 08 03 A6 */ mtlr r0 /* 801F34EC 001F044C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F34F0 001F0450 4E 80 00 20 */ blr .global Accept__20CIceAttackProjectileFR8IVisitor Accept__20CIceAttackProjectileFR8IVisitor: /* 801F34F4 001F0454 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F34F8 001F0458 7C 08 02 A6 */ mflr r0 /* 801F34FC 001F045C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F3500 001F0460 7C 60 1B 78 */ mr r0, r3 /* 801F3504 001F0464 7C 83 23 78 */ mr r3, r4 /* 801F3508 001F0468 81 84 00 00 */ lwz r12, 0(r4) /* 801F350C 001F046C 7C 04 03 78 */ mr r4, r0 /* 801F3510 001F0470 81 8C 00 08 */ lwz r12, 8(r12) /* 801F3514 001F0474 7D 89 03 A6 */ mtctr r12 /* 801F3518 001F0478 4E 80 04 21 */ bctrl /* 801F351C 001F047C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F3520 001F0480 7C 08 03 A6 */ mtlr r0 /* 801F3524 001F0484 38 21 00 10 */ addi r1, r1, 0x10 /* 801F3528 001F0488 4E 80 00 20 */ blr .global Render__20CIceAttackProjectileCFRC13CStateManager Render__20CIceAttackProjectileCFRC13CStateManager: /* 801F352C 001F048C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801F3530 001F0490 7C 08 02 A6 */ mflr r0 /* 801F3534 001F0494 90 01 00 84 */ stw r0, 0x84(r1) /* 801F3538 001F0498 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801F353C 001F049C 3B E0 00 00 */ li r31, 0 /* 801F3540 001F04A0 93 C1 00 78 */ stw r30, 0x78(r1) /* 801F3544 001F04A4 3B C0 00 00 */ li r30, 0 /* 801F3548 001F04A8 93 A1 00 74 */ stw r29, 0x74(r1) /* 801F354C 001F04AC 7C 9D 23 78 */ mr r29, r4 /* 801F3550 001F04B0 93 81 00 70 */ stw r28, 0x70(r1) /* 801F3554 001F04B4 7C 7C 1B 78 */ mr r28, r3 /* 801F3558 001F04B8 93 E1 00 08 */ stw r31, 8(r1) /* 801F355C 001F04BC 48 00 00 20 */ b lbl_801F357C lbl_801F3560: /* 801F3560 001F04C0 80 1C 01 14 */ lwz r0, 0x114(r28) /* 801F3564 001F04C4 7F A5 EB 78 */ mr r5, r29 /* 801F3568 001F04C8 38 81 00 08 */ addi r4, r1, 8 /* 801F356C 001F04CC 7C 60 FA 14 */ add r3, r0, r31 /* 801F3570 001F04D0 4B FF E5 59 */ bl AddToRenderer__Q220CIceAttackProjectile12CTrailObjectCFRC14CFrustumPlanesRC13CStateManager /* 801F3574 001F04D4 3B FF 03 24 */ addi r31, r31, 0x324 /* 801F3578 001F04D8 3B DE 00 01 */ addi r30, r30, 1 lbl_801F357C: /* 801F357C 001F04DC 80 1C 01 0C */ lwz r0, 0x10c(r28) /* 801F3580 001F04E0 7C 1E 00 00 */ cmpw r30, r0 /* 801F3584 001F04E4 41 80 FF DC */ blt lbl_801F3560 /* 801F3588 001F04E8 80 7C 01 04 */ lwz r3, 0x104(r28) /* 801F358C 001F04EC 81 83 00 00 */ lwz r12, 0(r3) /* 801F3590 001F04F0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801F3594 001F04F4 7D 89 03 A6 */ mtctr r12 /* 801F3598 001F04F8 4E 80 04 21 */ bctrl /* 801F359C 001F04FC 80 A1 00 08 */ lwz r5, 8(r1) /* 801F35A0 001F0500 38 60 00 00 */ li r3, 0 /* 801F35A4 001F0504 2C 05 00 00 */ cmpwi r5, 0 /* 801F35A8 001F0508 40 81 00 40 */ ble lbl_801F35E8 /* 801F35AC 001F050C 2C 05 00 08 */ cmpwi r5, 8 /* 801F35B0 001F0510 38 85 FF F8 */ addi r4, r5, -8 /* 801F35B4 001F0514 40 81 00 20 */ ble lbl_801F35D4 /* 801F35B8 001F0518 38 04 00 07 */ addi r0, r4, 7 /* 801F35BC 001F051C 54 00 E8 FE */ srwi r0, r0, 3 /* 801F35C0 001F0520 7C 09 03 A6 */ mtctr r0 /* 801F35C4 001F0524 2C 04 00 00 */ cmpwi r4, 0 /* 801F35C8 001F0528 40 81 00 0C */ ble lbl_801F35D4 lbl_801F35CC: /* 801F35CC 001F052C 38 63 00 08 */ addi r3, r3, 8 /* 801F35D0 001F0530 42 00 FF FC */ bdnz lbl_801F35CC lbl_801F35D4: /* 801F35D4 001F0534 7C 03 28 50 */ subf r0, r3, r5 /* 801F35D8 001F0538 7C 09 03 A6 */ mtctr r0 /* 801F35DC 001F053C 7C 03 28 00 */ cmpw r3, r5 /* 801F35E0 001F0540 40 80 00 08 */ bge lbl_801F35E8 lbl_801F35E4: /* 801F35E4 001F0544 42 00 00 00 */ bdnz lbl_801F35E4 lbl_801F35E8: /* 801F35E8 001F0548 38 00 00 00 */ li r0, 0 /* 801F35EC 001F054C 90 01 00 08 */ stw r0, 8(r1) /* 801F35F0 001F0550 80 01 00 84 */ lwz r0, 0x84(r1) /* 801F35F4 001F0554 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801F35F8 001F0558 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801F35FC 001F055C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801F3600 001F0560 83 81 00 70 */ lwz r28, 0x70(r1) /* 801F3604 001F0564 7C 08 03 A6 */ mtlr r0 /* 801F3608 001F0568 38 21 00 80 */ addi r1, r1, 0x80 /* 801F360C 001F056C 4E 80 00 20 */ blr .global AddToRenderer__20CIceAttackProjectileCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__20CIceAttackProjectileCFRC14CFrustumPlanesRC13CStateManager: /* 801F3610 001F0570 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F3614 001F0574 7C 08 02 A6 */ mflr r0 /* 801F3618 001F0578 3C C0 80 5A */ lis r6, lbl_805A61D4@ha /* 801F361C 001F057C 7C 64 1B 78 */ mr r4, r3 /* 801F3620 001F0580 90 01 00 24 */ stw r0, 0x24(r1) /* 801F3624 001F0584 38 C6 61 D4 */ addi r6, r6, lbl_805A61D4@l /* 801F3628 001F0588 7C A3 2B 78 */ mr r3, r5 /* 801F362C 001F058C C0 62 AF 18 */ lfs f3, lbl_805ACC38@sda21(r2) /* 801F3630 001F0590 C0 46 00 04 */ lfs f2, 4(r6) /* 801F3634 001F0594 38 A1 00 08 */ addi r5, r1, 8 /* 801F3638 001F0598 C0 26 00 14 */ lfs f1, 0x14(r6) /* 801F363C 001F059C C0 06 00 24 */ lfs f0, 0x24(r6) /* 801F3640 001F05A0 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801F3644 001F05A4 EC 23 00 72 */ fmuls f1, f3, f1 /* 801F3648 001F05A8 38 C4 00 9C */ addi r6, r4, 0x9c /* 801F364C 001F05AC EC 03 00 32 */ fmuls f0, f3, f0 /* 801F3650 001F05B0 D0 41 00 08 */ stfs f2, 8(r1) /* 801F3654 001F05B4 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801F3658 001F05B8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801F365C 001F05BC 4B E5 13 15 */ bl AddDrawableActor__13CStateManagerCFRC6CActorRC9CVector3fRC6CAABox /* 801F3660 001F05C0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F3664 001F05C4 7C 08 03 A6 */ mtlr r0 /* 801F3668 001F05C8 38 21 00 20 */ addi r1, r1, 0x20 /* 801F366C 001F05CC 4E 80 00 20 */ blr .global GetTouchBounds__20CIceAttackProjectileCFv GetTouchBounds__20CIceAttackProjectileCFv: /* 801F3670 001F05D0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F3674 001F05D4 7C 08 02 A6 */ mflr r0 /* 801F3678 001F05D8 7C 85 23 78 */ mr r5, r4 /* 801F367C 001F05DC 90 01 00 34 */ stw r0, 0x34(r1) /* 801F3680 001F05E0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F3684 001F05E4 7C 7F 1B 78 */ mr r31, r3 /* 801F3688 001F05E8 88 04 00 30 */ lbz r0, 0x30(r4) /* 801F368C 001F05EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F3690 001F05F0 41 82 00 58 */ beq lbl_801F36E8 /* 801F3694 001F05F4 38 61 00 08 */ addi r3, r1, 8 /* 801F3698 001F05F8 38 85 01 54 */ addi r4, r5, 0x154 /* 801F369C 001F05FC 38 A5 00 34 */ addi r5, r5, 0x34 /* 801F36A0 001F0600 48 14 42 5D */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 801F36A4 001F0604 38 00 00 01 */ li r0, 1 /* 801F36A8 001F0608 28 1F 00 00 */ cmplwi r31, 0 /* 801F36AC 001F060C 98 1F 00 18 */ stb r0, 0x18(r31) /* 801F36B0 001F0610 41 82 00 40 */ beq lbl_801F36F0 /* 801F36B4 001F0614 C0 01 00 08 */ lfs f0, 8(r1) /* 801F36B8 001F0618 D0 1F 00 00 */ stfs f0, 0(r31) /* 801F36BC 001F061C C0 01 00 0C */ lfs f0, 0xc(r1) /* 801F36C0 001F0620 D0 1F 00 04 */ stfs f0, 4(r31) /* 801F36C4 001F0624 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801F36C8 001F0628 D0 1F 00 08 */ stfs f0, 8(r31) /* 801F36CC 001F062C C0 01 00 14 */ lfs f0, 0x14(r1) /* 801F36D0 001F0630 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 801F36D4 001F0634 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801F36D8 001F0638 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 801F36DC 001F063C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801F36E0 001F0640 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 801F36E4 001F0644 48 00 00 0C */ b lbl_801F36F0 lbl_801F36E8: /* 801F36E8 001F0648 38 00 00 00 */ li r0, 0 /* 801F36EC 001F064C 98 1F 00 18 */ stb r0, 0x18(r31) lbl_801F36F0: /* 801F36F0 001F0650 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F36F4 001F0654 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F36F8 001F0658 7C 08 03 A6 */ mtlr r0 /* 801F36FC 001F065C 38 21 00 30 */ addi r1, r1, 0x30 /* 801F3700 001F0660 4E 80 00 20 */ blr .global Touch__20CIceAttackProjectileFR6CActorR13CStateManager Touch__20CIceAttackProjectileFR6CActorR13CStateManager: /* 801F3704 001F0664 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801F3708 001F0668 7C 08 02 A6 */ mflr r0 /* 801F370C 001F066C 90 01 00 54 */ stw r0, 0x54(r1) /* 801F3710 001F0670 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801F3714 001F0674 7C BF 2B 78 */ mr r31, r5 /* 801F3718 001F0678 93 C1 00 48 */ stw r30, 0x48(r1) /* 801F371C 001F067C 7C 9E 23 78 */ mr r30, r4 /* 801F3720 001F0680 93 A1 00 44 */ stw r29, 0x44(r1) /* 801F3724 001F0684 7C 7D 1B 78 */ mr r29, r3 /* 801F3728 001F0688 A0 64 00 08 */ lhz r3, 8(r4) /* 801F372C 001F068C A0 1D 01 18 */ lhz r0, 0x118(r29) /* 801F3730 001F0690 7C 03 00 40 */ cmplw r3, r0 /* 801F3734 001F0694 40 82 00 A0 */ bne lbl_801F37D4 /* 801F3738 001F0698 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801F373C 001F069C 4B E2 25 C1 */ bl GetFrozenState__7CPlayerCFv /* 801F3740 001F06A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F3744 001F06A4 40 82 00 90 */ bne lbl_801F37D4 /* 801F3748 001F06A8 A0 DD 01 88 */ lhz r6, 0x188(r29) /* 801F374C 001F06AC 7F E4 FB 78 */ mr r4, r31 /* 801F3750 001F06B0 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801F3754 001F06B4 80 BD 01 84 */ lwz r5, 0x184(r29) /* 801F3758 001F06B8 80 FD 01 8C */ lwz r7, 0x18c(r29) /* 801F375C 001F06BC 4B E2 25 B9 */ bl Freeze__7CPlayerFR13CStateManagerUiUsUi /* 801F3760 001F06C0 80 AD 92 98 */ lwz r5, lbl_805A7E58@sda21(r13) /* 801F3764 001F06C4 38 60 00 00 */ li r3, 0 /* 801F3768 001F06C8 38 80 00 01 */ li r4, 1 /* 801F376C 001F06CC 48 19 67 89 */ bl __shl2i /* 801F3770 001F06D0 39 40 00 00 */ li r10, 0 /* 801F3774 001F06D4 38 00 00 03 */ li r0, 3 /* 801F3778 001F06D8 90 81 00 24 */ stw r4, 0x24(r1) /* 801F377C 001F06DC 3C 80 80 5A */ lis r4, skZero3f@ha /* 801F3780 001F06E0 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 801F3784 001F06E4 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F3788 001F06E8 90 61 00 20 */ stw r3, 0x20(r1) /* 801F378C 001F06EC 38 81 00 1C */ addi r4, r1, 0x1c /* 801F3790 001F06F0 7F E3 FB 78 */ mr r3, r31 /* 801F3794 001F06F4 38 C1 00 0C */ addi r6, r1, 0xc /* 801F3798 001F06F8 91 41 00 2C */ stw r10, 0x2c(r1) /* 801F379C 001F06FC 38 FD 01 1C */ addi r7, r29, 0x11c /* 801F37A0 001F0700 39 01 00 20 */ addi r8, r1, 0x20 /* 801F37A4 001F0704 91 41 00 28 */ stw r10, 0x28(r1) /* 801F37A8 001F0708 90 01 00 30 */ stw r0, 0x30(r1) /* 801F37AC 001F070C A0 1D 00 08 */ lhz r0, 8(r29) /* 801F37B0 001F0710 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F37B4 001F0714 A1 5E 00 08 */ lhz r10, 8(r30) /* 801F37B8 001F0718 B0 01 00 08 */ sth r0, 8(r1) /* 801F37BC 001F071C B1 41 00 14 */ sth r10, 0x14(r1) /* 801F37C0 001F0720 A0 1D 00 08 */ lhz r0, 8(r29) /* 801F37C4 001F0724 B1 41 00 10 */ sth r10, 0x10(r1) /* 801F37C8 001F0728 B0 01 00 18 */ sth r0, 0x18(r1) /* 801F37CC 001F072C B0 01 00 1C */ sth r0, 0x1c(r1) /* 801F37D0 001F0730 4B E5 68 D1 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_801F37D4: /* 801F37D4 001F0734 80 01 00 54 */ lwz r0, 0x54(r1) /* 801F37D8 001F0738 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801F37DC 001F073C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801F37E0 001F0740 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801F37E4 001F0744 7C 08 03 A6 */ mtlr r0 /* 801F37E8 001F0748 38 21 00 50 */ addi r1, r1, 0x50 /* 801F37EC 001F074C 4E 80 00 20 */ blr .global __dt__20CIceAttackProjectileFv __dt__20CIceAttackProjectileFv: /* 801F37F0 001F0750 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F37F4 001F0754 7C 08 02 A6 */ mflr r0 /* 801F37F8 001F0758 90 01 00 14 */ stw r0, 0x14(r1) /* 801F37FC 001F075C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F3800 001F0760 7C 9F 23 78 */ mr r31, r4 /* 801F3804 001F0764 93 C1 00 08 */ stw r30, 8(r1) /* 801F3808 001F0768 7C 7E 1B 79 */ or. r30, r3, r3 /* 801F380C 001F076C 41 82 00 B8 */ beq lbl_801F38C4 /* 801F3810 001F0770 3C 60 80 3E */ lis r3, lbl_803E6778@ha /* 801F3814 001F0774 34 1E 01 54 */ addic. r0, r30, 0x154 /* 801F3818 001F0778 38 03 67 78 */ addi r0, r3, lbl_803E6778@l /* 801F381C 001F077C 90 1E 00 00 */ stw r0, 0(r30) /* 801F3820 001F0780 41 82 00 0C */ beq lbl_801F382C /* 801F3824 001F0784 38 00 00 00 */ li r0, 0 /* 801F3828 001F0788 98 1E 01 6C */ stb r0, 0x16c(r30) lbl_801F382C: /* 801F382C 001F078C 38 7E 01 08 */ addi r3, r30, 0x108 /* 801F3830 001F0790 38 80 FF FF */ li r4, -1 /* 801F3834 001F0794 48 00 00 AD */ bl sub_801f38e0 /* 801F3838 001F0798 34 1E 01 00 */ addic. r0, r30, 0x100 /* 801F383C 001F079C 41 82 00 30 */ beq lbl_801F386C /* 801F3840 001F07A0 88 1E 01 00 */ lbz r0, 0x100(r30) /* 801F3844 001F07A4 28 00 00 00 */ cmplwi r0, 0 /* 801F3848 001F07A8 41 82 00 24 */ beq lbl_801F386C /* 801F384C 001F07AC 80 7E 01 04 */ lwz r3, 0x104(r30) /* 801F3850 001F07B0 28 03 00 00 */ cmplwi r3, 0 /* 801F3854 001F07B4 41 82 00 18 */ beq lbl_801F386C /* 801F3858 001F07B8 81 83 00 00 */ lwz r12, 0(r3) /* 801F385C 001F07BC 38 80 00 01 */ li r4, 1 /* 801F3860 001F07C0 81 8C 00 08 */ lwz r12, 8(r12) /* 801F3864 001F07C4 7D 89 03 A6 */ mtctr r12 /* 801F3868 001F07C8 4E 80 04 21 */ bctrl lbl_801F386C: /* 801F386C 001F07CC 34 1E 00 F8 */ addic. r0, r30, 0xf8 /* 801F3870 001F07D0 41 82 00 10 */ beq lbl_801F3880 /* 801F3874 001F07D4 38 7E 00 F8 */ addi r3, r30, 0xf8 /* 801F3878 001F07D8 38 80 00 00 */ li r4, 0 /* 801F387C 001F07DC 48 14 D5 C5 */ bl __dt__6CTokenFv lbl_801F3880: /* 801F3880 001F07E0 34 1E 00 F0 */ addic. r0, r30, 0xf0 /* 801F3884 001F07E4 41 82 00 10 */ beq lbl_801F3894 /* 801F3888 001F07E8 38 7E 00 F0 */ addi r3, r30, 0xf0 /* 801F388C 001F07EC 38 80 00 00 */ li r4, 0 /* 801F3890 001F07F0 48 14 D5 B1 */ bl __dt__6CTokenFv lbl_801F3894: /* 801F3894 001F07F4 34 1E 00 E8 */ addic. r0, r30, 0xe8 /* 801F3898 001F07F8 41 82 00 10 */ beq lbl_801F38A8 /* 801F389C 001F07FC 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 801F38A0 001F0800 38 80 00 00 */ li r4, 0 /* 801F38A4 001F0804 48 14 D5 9D */ bl __dt__6CTokenFv lbl_801F38A8: /* 801F38A8 001F0808 7F C3 F3 78 */ mr r3, r30 /* 801F38AC 001F080C 38 80 00 00 */ li r4, 0 /* 801F38B0 001F0810 4B E6 1E 41 */ bl __dt__6CActorFv /* 801F38B4 001F0814 7F E0 07 35 */ extsh. r0, r31 /* 801F38B8 001F0818 40 81 00 0C */ ble lbl_801F38C4 /* 801F38BC 001F081C 7F C3 F3 78 */ mr r3, r30 /* 801F38C0 001F0820 48 12 20 71 */ bl Free__7CMemoryFPCv lbl_801F38C4: /* 801F38C4 001F0824 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F38C8 001F0828 7F C3 F3 78 */ mr r3, r30 /* 801F38CC 001F082C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F38D0 001F0830 83 C1 00 08 */ lwz r30, 8(r1) /* 801F38D4 001F0834 7C 08 03 A6 */ mtlr r0 /* 801F38D8 001F0838 38 21 00 10 */ addi r1, r1, 0x10 /* 801F38DC 001F083C 4E 80 00 20 */ blr .global sub_801f38e0 sub_801f38e0: /* 801F38E0 001F0840 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F38E4 001F0844 7C 08 02 A6 */ mflr r0 /* 801F38E8 001F0848 90 01 00 34 */ stw r0, 0x34(r1) /* 801F38EC 001F084C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F38F0 001F0850 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F38F4 001F0854 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F38F8 001F0858 7C 9D 23 78 */ mr r29, r4 /* 801F38FC 001F085C 93 81 00 20 */ stw r28, 0x20(r1) /* 801F3900 001F0860 7C 7C 1B 79 */ or. r28, r3, r3 /* 801F3904 001F0864 41 82 00 D0 */ beq lbl_801F39D4 /* 801F3908 001F0868 80 1C 00 04 */ lwz r0, 4(r28) /* 801F390C 001F086C 83 DC 00 0C */ lwz r30, 0xc(r28) /* 801F3910 001F0870 1C 00 03 24 */ mulli r0, r0, 0x324 /* 801F3914 001F0874 93 C1 00 10 */ stw r30, 0x10(r1) /* 801F3918 001F0878 7F FE 02 14 */ add r31, r30, r0 /* 801F391C 001F087C 93 C1 00 14 */ stw r30, 0x14(r1) /* 801F3920 001F0880 93 E1 00 08 */ stw r31, 8(r1) /* 801F3924 001F0884 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F3928 001F0888 48 00 00 84 */ b lbl_801F39AC lbl_801F392C: /* 801F392C 001F088C 28 1E 00 00 */ cmplwi r30, 0 /* 801F3930 001F0890 41 82 00 78 */ beq lbl_801F39A8 /* 801F3934 001F0894 38 7E 00 18 */ addi r3, r30, 0x18 /* 801F3938 001F0898 38 80 FF FF */ li r4, -1 /* 801F393C 001F089C 4B F1 17 99 */ bl __dt__12CActorLightsFv /* 801F3940 001F08A0 34 1E 00 08 */ addic. r0, r30, 8 /* 801F3944 001F08A4 41 82 00 30 */ beq lbl_801F3974 /* 801F3948 001F08A8 88 1E 00 08 */ lbz r0, 8(r30) /* 801F394C 001F08AC 28 00 00 00 */ cmplwi r0, 0 /* 801F3950 001F08B0 41 82 00 24 */ beq lbl_801F3974 /* 801F3954 001F08B4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801F3958 001F08B8 28 03 00 00 */ cmplwi r3, 0 /* 801F395C 001F08BC 41 82 00 18 */ beq lbl_801F3974 /* 801F3960 001F08C0 81 83 00 00 */ lwz r12, 0(r3) /* 801F3964 001F08C4 38 80 00 01 */ li r4, 1 /* 801F3968 001F08C8 81 8C 00 08 */ lwz r12, 8(r12) /* 801F396C 001F08CC 7D 89 03 A6 */ mtctr r12 /* 801F3970 001F08D0 4E 80 04 21 */ bctrl lbl_801F3974: /* 801F3974 001F08D4 28 1E 00 00 */ cmplwi r30, 0 /* 801F3978 001F08D8 41 82 00 30 */ beq lbl_801F39A8 /* 801F397C 001F08DC 88 1E 00 00 */ lbz r0, 0(r30) /* 801F3980 001F08E0 28 00 00 00 */ cmplwi r0, 0 /* 801F3984 001F08E4 41 82 00 24 */ beq lbl_801F39A8 /* 801F3988 001F08E8 80 7E 00 04 */ lwz r3, 4(r30) /* 801F398C 001F08EC 28 03 00 00 */ cmplwi r3, 0 /* 801F3990 001F08F0 41 82 00 18 */ beq lbl_801F39A8 /* 801F3994 001F08F4 81 83 00 00 */ lwz r12, 0(r3) /* 801F3998 001F08F8 38 80 00 01 */ li r4, 1 /* 801F399C 001F08FC 81 8C 00 08 */ lwz r12, 8(r12) /* 801F39A0 001F0900 7D 89 03 A6 */ mtctr r12 /* 801F39A4 001F0904 4E 80 04 21 */ bctrl lbl_801F39A8: /* 801F39A8 001F0908 3B DE 03 24 */ addi r30, r30, 0x324 lbl_801F39AC: /* 801F39AC 001F090C 7C 1E F8 40 */ cmplw r30, r31 /* 801F39B0 001F0910 40 82 FF 7C */ bne lbl_801F392C /* 801F39B4 001F0914 80 7C 00 0C */ lwz r3, 0xc(r28) /* 801F39B8 001F0918 28 03 00 00 */ cmplwi r3, 0 /* 801F39BC 001F091C 41 82 00 08 */ beq lbl_801F39C4 /* 801F39C0 001F0920 48 12 1F 71 */ bl Free__7CMemoryFPCv lbl_801F39C4: /* 801F39C4 001F0924 7F A0 07 35 */ extsh. r0, r29 /* 801F39C8 001F0928 40 81 00 0C */ ble lbl_801F39D4 /* 801F39CC 001F092C 7F 83 E3 78 */ mr r3, r28 /* 801F39D0 001F0930 48 12 1F 61 */ bl Free__7CMemoryFPCv lbl_801F39D4: /* 801F39D4 001F0934 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F39D8 001F0938 7F 83 E3 78 */ mr r3, r28 /* 801F39DC 001F093C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F39E0 001F0940 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F39E4 001F0944 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F39E8 001F0948 83 81 00 20 */ lwz r28, 0x20(r1) /* 801F39EC 001F094C 7C 08 03 A6 */ mtlr r0 /* 801F39F0 001F0950 38 21 00 30 */ addi r1, r1, 0x30 /* 801F39F4 001F0954 4E 80 00 20 */ blr .global "__ct__20CIceAttackProjectileF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId9TUniqueIdbRC12CTransform4fRC11CDamageInfoRC6CAABoxff" "__ct__20CIceAttackProjectileF25TToken<15CGenDescription>25TToken<15CGenDescription>9TUniqueId9TUniqueIdbRC12CTransform4fRC11CDamageInfoRC6CAABoxff": /* 801F39F8 001F0958 94 21 FD E0 */ stwu r1, -0x220(r1) /* 801F39FC 001F095C 7C 08 02 A6 */ mflr r0 /* 801F3A00 001F0960 90 01 02 24 */ stw r0, 0x224(r1) /* 801F3A04 001F0964 DB E1 02 10 */ stfd f31, 0x210(r1) /* 801F3A08 001F0968 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 /* 801F3A0C 001F096C DB C1 02 00 */ stfd f30, 0x200(r1) /* 801F3A10 001F0970 F3 C1 02 08 */ psq_st f30, 520(r1), 0, qr0 /* 801F3A14 001F0974 BE 21 01 C4 */ stmw r17, 0x1c4(r1) /* 801F3A18 001F0978 3D 60 80 3D */ lis r11, lbl_803D2050@ha /* 801F3A1C 001F097C FF C0 08 90 */ fmr f30, f1 /* 801F3A20 001F0980 FF E0 10 90 */ fmr f31, f2 /* 801F3A24 001F0984 39 6B 20 50 */ addi r11, r11, lbl_803D2050@l /* 801F3A28 001F0988 7C 7F 1B 78 */ mr r31, r3 /* 801F3A2C 001F098C 7C 94 23 78 */ mr r20, r4 /* 801F3A30 001F0990 83 21 02 28 */ lwz r25, 0x228(r1) /* 801F3A34 001F0994 83 41 02 2C */ lwz r26, 0x22c(r1) /* 801F3A38 001F0998 83 61 02 30 */ lwz r27, 0x230(r1) /* 801F3A3C 001F099C 7C B5 2B 78 */ mr r21, r5 /* 801F3A40 001F09A0 83 81 02 34 */ lwz r28, 0x234(r1) /* 801F3A44 001F09A4 7C D6 33 78 */ mr r22, r6 /* 801F3A48 001F09A8 A3 A1 02 3A */ lhz r29, 0x23a(r1) /* 801F3A4C 001F09AC 7C F7 3B 78 */ mr r23, r7 /* 801F3A50 001F09B0 A3 C1 02 3E */ lhz r30, 0x23e(r1) /* 801F3A54 001F09B4 7D 11 43 78 */ mr r17, r8 /* 801F3A58 001F09B8 82 61 02 40 */ lwz r19, 0x240(r1) /* 801F3A5C 001F09BC 7D 38 4B 78 */ mr r24, r9 /* 801F3A60 001F09C0 7D 52 53 78 */ mr r18, r10 /* 801F3A64 001F09C4 38 61 00 84 */ addi r3, r1, 0x84 /* 801F3A68 001F09C8 38 8B 00 07 */ addi r4, r11, 7 /* 801F3A6C 001F09CC 4B E1 12 4D */ bl string_l__4rstlFPCc /* 801F3A70 001F09D0 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 801F3A74 001F09D4 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801F3A78 001F09D8 80 11 00 00 */ lwz r0, 0(r17) /* 801F3A7C 001F09DC 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801F3A80 001F09E0 90 81 00 28 */ stw r4, 0x28(r1) /* 801F3A84 001F09E4 38 61 00 B8 */ addi r3, r1, 0xb8 /* 801F3A88 001F09E8 38 81 00 2C */ addi r4, r1, 0x2c /* 801F3A8C 001F09EC 38 C1 00 28 */ addi r6, r1, 0x28 /* 801F3A90 001F09F0 90 01 00 2C */ stw r0, 0x2c(r1) /* 801F3A94 001F09F4 4B E5 D9 F1 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801F3A98 001F09F8 38 61 01 68 */ addi r3, r1, 0x168 /* 801F3A9C 001F09FC 4B E4 6D 09 */ bl CModelDataNull__10CModelDataFv /* 801F3AA0 001F0A00 38 61 01 00 */ addi r3, r1, 0x100 /* 801F3AA4 001F0A04 4B E2 73 95 */ bl None__16CActorParametersFv /* 801F3AA8 001F0A08 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 801F3AAC 001F0A0C 38 00 00 00 */ li r0, 0 /* 801F3AB0 001F0A10 80 AD 92 9C */ lwz r5, lbl_805A7E5C@sda21(r13) /* 801F3AB4 001F0A14 38 60 00 00 */ li r3, 0 /* 801F3AB8 001F0A18 B0 81 00 10 */ sth r4, 0x10(r1) /* 801F3ABC 001F0A1C 38 80 00 01 */ li r4, 1 /* 801F3AC0 001F0A20 90 01 00 44 */ stw r0, 0x44(r1) /* 801F3AC4 001F0A24 90 01 00 40 */ stw r0, 0x40(r1) /* 801F3AC8 001F0A28 48 19 64 2D */ bl __shl2i /* 801F3ACC 001F0A2C 80 01 00 40 */ lwz r0, 0x40(r1) /* 801F3AD0 001F0A30 80 C1 00 44 */ lwz r6, 0x44(r1) /* 801F3AD4 001F0A34 7C 00 1B 78 */ or r0, r0, r3 /* 801F3AD8 001F0A38 80 AD 92 A0 */ lwz r5, lbl_805A7E60@sda21(r13) /* 801F3ADC 001F0A3C 7C C4 23 78 */ or r4, r6, r4 /* 801F3AE0 001F0A40 90 01 00 40 */ stw r0, 0x40(r1) /* 801F3AE4 001F0A44 38 60 00 00 */ li r3, 0 /* 801F3AE8 001F0A48 90 81 00 44 */ stw r4, 0x44(r1) /* 801F3AEC 001F0A4C 38 80 00 01 */ li r4, 1 /* 801F3AF0 001F0A50 48 19 64 05 */ bl __shl2i /* 801F3AF4 001F0A54 80 A1 00 40 */ lwz r5, 0x40(r1) /* 801F3AF8 001F0A58 39 61 01 00 */ addi r11, r1, 0x100 /* 801F3AFC 001F0A5C 80 C1 00 44 */ lwz r6, 0x44(r1) /* 801F3B00 001F0A60 38 01 00 10 */ addi r0, r1, 0x10 /* 801F3B04 001F0A64 7C A3 1B 78 */ or r3, r5, r3 /* 801F3B08 001F0A68 A0 F7 00 00 */ lhz r7, 0(r23) /* 801F3B0C 001F0A6C 7C C4 23 78 */ or r4, r6, r4 /* 801F3B10 001F0A70 90 61 00 40 */ stw r3, 0x40(r1) /* 801F3B14 001F0A74 7F E3 FB 78 */ mr r3, r31 /* 801F3B18 001F0A78 7E 45 93 78 */ mr r5, r18 /* 801F3B1C 001F0A7C 90 81 00 44 */ stw r4, 0x44(r1) /* 801F3B20 001F0A80 7F 28 CB 78 */ mr r8, r25 /* 801F3B24 001F0A84 38 81 00 14 */ addi r4, r1, 0x14 /* 801F3B28 001F0A88 38 C1 00 84 */ addi r6, r1, 0x84 /* 801F3B2C 001F0A8C B0 E1 00 14 */ sth r7, 0x14(r1) /* 801F3B30 001F0A90 38 E1 00 B8 */ addi r7, r1, 0xb8 /* 801F3B34 001F0A94 39 21 01 68 */ addi r9, r1, 0x168 /* 801F3B38 001F0A98 39 41 00 40 */ addi r10, r1, 0x40 /* 801F3B3C 001F0A9C 91 61 00 08 */ stw r11, 8(r1) /* 801F3B40 001F0AA0 90 01 00 0C */ stw r0, 0xc(r1) /* 801F3B44 001F0AA4 4B E6 1C DD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 801F3B48 001F0AA8 38 61 01 00 */ addi r3, r1, 0x100 /* 801F3B4C 001F0AAC 38 80 FF FF */ li r4, -1 /* 801F3B50 001F0AB0 4B F1 2A B9 */ bl __dt__16CActorParametersFv /* 801F3B54 001F0AB4 38 61 01 68 */ addi r3, r1, 0x168 /* 801F3B58 001F0AB8 38 80 FF FF */ li r4, -1 /* 801F3B5C 001F0ABC 4B F2 2E F1 */ bl __dt__10CModelDataFv /* 801F3B60 001F0AC0 80 01 00 C0 */ lwz r0, 0xc0(r1) /* 801F3B64 001F0AC4 80 61 00 C8 */ lwz r3, 0xc8(r1) /* 801F3B68 001F0AC8 1C 00 00 0C */ mulli r0, r0, 0xc /* 801F3B6C 001F0ACC 90 61 00 1C */ stw r3, 0x1c(r1) /* 801F3B70 001F0AD0 7C 64 1B 78 */ mr r4, r3 /* 801F3B74 001F0AD4 7C 03 02 14 */ add r0, r3, r0 /* 801F3B78 001F0AD8 90 61 00 18 */ stw r3, 0x18(r1) /* 801F3B7C 001F0ADC 90 01 00 24 */ stw r0, 0x24(r1) /* 801F3B80 001F0AE0 90 01 00 20 */ stw r0, 0x20(r1) /* 801F3B84 001F0AE4 48 00 00 08 */ b lbl_801F3B8C lbl_801F3B88: /* 801F3B88 001F0AE8 38 84 00 0C */ addi r4, r4, 0xc lbl_801F3B8C: /* 801F3B8C 001F0AEC 7C 04 00 40 */ cmplw r4, r0 /* 801F3B90 001F0AF0 40 82 FF F8 */ bne lbl_801F3B88 /* 801F3B94 001F0AF4 28 03 00 00 */ cmplwi r3, 0 /* 801F3B98 001F0AF8 41 82 00 08 */ beq lbl_801F3BA0 /* 801F3B9C 001F0AFC 48 12 1D 95 */ bl Free__7CMemoryFPCv lbl_801F3BA0: /* 801F3BA0 001F0B00 38 61 00 84 */ addi r3, r1, 0x84 /* 801F3BA4 001F0B04 48 14 9F 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801F3BA8 001F0B08 3C 60 80 3E */ lis r3, lbl_803E6778@ha /* 801F3BAC 001F0B0C 7E 84 A3 78 */ mr r4, r20 /* 801F3BB0 001F0B10 38 03 67 78 */ addi r0, r3, lbl_803E6778@l /* 801F3BB4 001F0B14 38 7F 00 E8 */ addi r3, r31, 0xe8 /* 801F3BB8 001F0B18 90 1F 00 00 */ stw r0, 0(r31) /* 801F3BBC 001F0B1C 48 14 D2 ED */ bl __ct__6CTokenFRC6CToken /* 801F3BC0 001F0B20 7E A4 AB 78 */ mr r4, r21 /* 801F3BC4 001F0B24 38 7F 00 F0 */ addi r3, r31, 0xf0 /* 801F3BC8 001F0B28 48 14 D2 E1 */ bl __ct__6CTokenFRC6CToken /* 801F3BCC 001F0B2C 7E C4 B3 78 */ mr r4, r22 /* 801F3BD0 001F0B30 38 7F 00 F8 */ addi r3, r31, 0xf8 /* 801F3BD4 001F0B34 48 14 D2 D5 */ bl __ct__6CTokenFRC6CToken /* 801F3BD8 001F0B38 38 60 00 00 */ li r3, 0 /* 801F3BDC 001F0B3C 34 9F 01 54 */ addic. r4, r31, 0x154 /* 801F3BE0 001F0B40 98 7F 01 00 */ stb r3, 0x100(r31) /* 801F3BE4 001F0B44 38 00 00 01 */ li r0, 1 /* 801F3BE8 001F0B48 90 7F 01 04 */ stw r3, 0x104(r31) /* 801F3BEC 001F0B4C 90 7F 01 0C */ stw r3, 0x10c(r31) /* 801F3BF0 001F0B50 90 7F 01 10 */ stw r3, 0x110(r31) /* 801F3BF4 001F0B54 90 7F 01 14 */ stw r3, 0x114(r31) /* 801F3BF8 001F0B58 A0 78 00 00 */ lhz r3, 0(r24) /* 801F3BFC 001F0B5C B0 7F 01 18 */ sth r3, 0x118(r31) /* 801F3C00 001F0B60 80 7A 00 00 */ lwz r3, 0(r26) /* 801F3C04 001F0B64 90 7F 01 1C */ stw r3, 0x11c(r31) /* 801F3C08 001F0B68 88 7A 00 04 */ lbz r3, 4(r26) /* 801F3C0C 001F0B6C 98 7F 01 20 */ stb r3, 0x120(r31) /* 801F3C10 001F0B70 C0 1A 00 08 */ lfs f0, 8(r26) /* 801F3C14 001F0B74 D0 1F 01 24 */ stfs f0, 0x124(r31) /* 801F3C18 001F0B78 C0 1A 00 0C */ lfs f0, 0xc(r26) /* 801F3C1C 001F0B7C D0 1F 01 28 */ stfs f0, 0x128(r31) /* 801F3C20 001F0B80 C0 1A 00 10 */ lfs f0, 0x10(r26) /* 801F3C24 001F0B84 D0 1F 01 2C */ stfs f0, 0x12c(r31) /* 801F3C28 001F0B88 C0 1A 00 14 */ lfs f0, 0x14(r26) /* 801F3C2C 001F0B8C D0 1F 01 30 */ stfs f0, 0x130(r31) /* 801F3C30 001F0B90 88 7A 00 18 */ lbz r3, 0x18(r26) /* 801F3C34 001F0B94 98 7F 01 34 */ stb r3, 0x134(r31) /* 801F3C38 001F0B98 80 7A 00 00 */ lwz r3, 0(r26) /* 801F3C3C 001F0B9C 90 7F 01 38 */ stw r3, 0x138(r31) /* 801F3C40 001F0BA0 88 7A 00 04 */ lbz r3, 4(r26) /* 801F3C44 001F0BA4 98 7F 01 3C */ stb r3, 0x13c(r31) /* 801F3C48 001F0BA8 C0 1A 00 08 */ lfs f0, 8(r26) /* 801F3C4C 001F0BAC D0 1F 01 40 */ stfs f0, 0x140(r31) /* 801F3C50 001F0BB0 C0 1A 00 0C */ lfs f0, 0xc(r26) /* 801F3C54 001F0BB4 D0 1F 01 44 */ stfs f0, 0x144(r31) /* 801F3C58 001F0BB8 C0 1A 00 10 */ lfs f0, 0x10(r26) /* 801F3C5C 001F0BBC D0 1F 01 48 */ stfs f0, 0x148(r31) /* 801F3C60 001F0BC0 C0 1A 00 14 */ lfs f0, 0x14(r26) /* 801F3C64 001F0BC4 D0 1F 01 4C */ stfs f0, 0x14c(r31) /* 801F3C68 001F0BC8 88 7A 00 18 */ lbz r3, 0x18(r26) /* 801F3C6C 001F0BCC 98 7F 01 50 */ stb r3, 0x150(r31) /* 801F3C70 001F0BD0 98 1F 01 6C */ stb r0, 0x16c(r31) /* 801F3C74 001F0BD4 41 82 00 34 */ beq lbl_801F3CA8 /* 801F3C78 001F0BD8 C0 1B 00 00 */ lfs f0, 0(r27) /* 801F3C7C 001F0BDC D0 04 00 00 */ stfs f0, 0(r4) /* 801F3C80 001F0BE0 C0 1B 00 04 */ lfs f0, 4(r27) /* 801F3C84 001F0BE4 D0 04 00 04 */ stfs f0, 4(r4) /* 801F3C88 001F0BE8 C0 1B 00 08 */ lfs f0, 8(r27) /* 801F3C8C 001F0BEC D0 04 00 08 */ stfs f0, 8(r4) /* 801F3C90 001F0BF0 C0 1B 00 0C */ lfs f0, 0xc(r27) /* 801F3C94 001F0BF4 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801F3C98 001F0BF8 C0 1B 00 10 */ lfs f0, 0x10(r27) /* 801F3C9C 001F0BFC D0 04 00 10 */ stfs f0, 0x10(r4) /* 801F3CA0 001F0C00 C0 1B 00 14 */ lfs f0, 0x14(r27) /* 801F3CA4 001F0C04 D0 04 00 14 */ stfs f0, 0x14(r4) lbl_801F3CA8: /* 801F3CA8 001F0C08 D3 DF 01 70 */ stfs f30, 0x170(r31) /* 801F3CAC 001F0C0C 38 00 00 00 */ li r0, 0 /* 801F3CB0 001F0C10 C0 82 AE E8 */ lfs f4, lbl_805ACC08@sda21(r2) /* 801F3CB4 001F0C14 38 61 00 78 */ addi r3, r1, 0x78 /* 801F3CB8 001F0C18 D3 FF 01 74 */ stfs f31, 0x174(r31) /* 801F3CBC 001F0C1C 38 81 00 6C */ addi r4, r1, 0x6c /* 801F3CC0 001F0C20 C0 62 AE EC */ lfs f3, lbl_805ACC0C@sda21(r2) /* 801F3CC4 001F0C24 D0 9F 01 78 */ stfs f4, 0x178(r31) /* 801F3CC8 001F0C28 D0 9F 01 7C */ stfs f4, 0x17c(r31) /* 801F3CCC 001F0C2C 90 1F 01 80 */ stw r0, 0x180(r31) /* 801F3CD0 001F0C30 93 9F 01 84 */ stw r28, 0x184(r31) /* 801F3CD4 001F0C34 B3 BF 01 88 */ sth r29, 0x188(r31) /* 801F3CD8 001F0C38 B3 DF 01 8A */ sth r30, 0x18a(r31) /* 801F3CDC 001F0C3C 92 7F 01 8C */ stw r19, 0x18c(r31) /* 801F3CE0 001F0C40 98 1F 01 90 */ stb r0, 0x190(r31) /* 801F3CE4 001F0C44 98 1F 01 91 */ stb r0, 0x191(r31) /* 801F3CE8 001F0C48 98 1F 01 92 */ stb r0, 0x192(r31) /* 801F3CEC 001F0C4C 90 1F 01 94 */ stw r0, 0x194(r31) /* 801F3CF0 001F0C50 D0 81 00 AC */ stfs f4, 0xac(r1) /* 801F3CF4 001F0C54 D0 81 00 B0 */ stfs f4, 0xb0(r1) /* 801F3CF8 001F0C58 D0 61 00 B4 */ stfs f3, 0xb4(r1) /* 801F3CFC 001F0C5C C0 F9 00 24 */ lfs f7, 0x24(r25) /* 801F3D00 001F0C60 C0 D9 00 14 */ lfs f6, 0x14(r25) /* 801F3D04 001F0C64 C0 B9 00 04 */ lfs f5, 4(r25) /* 801F3D08 001F0C68 EC 27 01 32 */ fmuls f1, f7, f4 /* 801F3D0C 001F0C6C EC 46 00 F2 */ fmuls f2, f6, f3 /* 801F3D10 001F0C70 EC 05 01 32 */ fmuls f0, f5, f4 /* 801F3D14 001F0C74 EC 23 09 78 */ fmsubs f1, f3, f5, f1 /* 801F3D18 001F0C78 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 /* 801F3D1C 001F0C7C EC 04 01 B8 */ fmsubs f0, f4, f6, f0 /* 801F3D20 001F0C80 D0 21 00 70 */ stfs f1, 0x70(r1) /* 801F3D24 001F0C84 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801F3D28 001F0C88 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801F3D2C 001F0C8C 48 12 0B 25 */ bl AsNormalized__9CVector3fCFv /* 801F3D30 001F0C90 C0 A1 00 78 */ lfs f5, 0x78(r1) /* 801F3D34 001F0C94 38 61 00 60 */ addi r3, r1, 0x60 /* 801F3D38 001F0C98 C0 81 00 7C */ lfs f4, 0x7c(r1) /* 801F3D3C 001F0C9C 38 81 00 54 */ addi r4, r1, 0x54 /* 801F3D40 001F0CA0 C0 61 00 80 */ lfs f3, 0x80(r1) /* 801F3D44 001F0CA4 C0 C1 00 B0 */ lfs f6, 0xb0(r1) /* 801F3D48 001F0CA8 C0 E1 00 B4 */ lfs f7, 0xb4(r1) /* 801F3D4C 001F0CAC C1 01 00 AC */ lfs f8, 0xac(r1) /* 801F3D50 001F0CB0 EC 46 00 F2 */ fmuls f2, f6, f3 /* 801F3D54 001F0CB4 EC 27 01 72 */ fmuls f1, f7, f5 /* 801F3D58 001F0CB8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 801F3D5C 001F0CBC EC 08 01 32 */ fmuls f0, f8, f4 /* 801F3D60 001F0CC0 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 /* 801F3D64 001F0CC4 D0 81 00 A4 */ stfs f4, 0xa4(r1) /* 801F3D68 001F0CC8 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 /* 801F3D6C 001F0CCC EC 05 01 B8 */ fmsubs f0, f5, f6, f0 /* 801F3D70 001F0CD0 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 801F3D74 001F0CD4 D0 41 00 54 */ stfs f2, 0x54(r1) /* 801F3D78 001F0CD8 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801F3D7C 001F0CDC D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801F3D80 001F0CE0 48 12 0A D1 */ bl AsNormalized__9CVector3fCFv /* 801F3D84 001F0CE4 C0 41 00 60 */ lfs f2, 0x60(r1) /* 801F3D88 001F0CE8 38 61 00 D0 */ addi r3, r1, 0xd0 /* 801F3D8C 001F0CEC C0 21 00 64 */ lfs f1, 0x64(r1) /* 801F3D90 001F0CF0 38 81 00 A0 */ addi r4, r1, 0xa0 /* 801F3D94 001F0CF4 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801F3D98 001F0CF8 38 A1 00 94 */ addi r5, r1, 0x94 /* 801F3D9C 001F0CFC D0 41 00 94 */ stfs f2, 0x94(r1) /* 801F3DA0 001F0D00 38 C1 00 AC */ addi r6, r1, 0xac /* 801F3DA4 001F0D04 38 E1 00 48 */ addi r7, r1, 0x48 /* 801F3DA8 001F0D08 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801F3DAC 001F0D0C D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801F3DB0 001F0D10 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801F3DB4 001F0D14 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F3DB8 001F0D18 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F3DBC 001F0D1C D0 01 00 48 */ stfs f0, 0x48(r1) /* 801F3DC0 001F0D20 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801F3DC4 001F0D24 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801F3DC8 001F0D28 48 11 F0 95 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 /* 801F3DCC 001F0D2C 38 7F 00 34 */ addi r3, r31, 0x34 /* 801F3DD0 001F0D30 38 81 00 D0 */ addi r4, r1, 0xd0 /* 801F3DD4 001F0D34 48 11 ED 6D */ bl __as__12CTransform4fFRC12CTransform4f /* 801F3DD8 001F0D38 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F3DDC 001F0D3C 38 C0 00 01 */ li r6, 1 /* 801F3DE0 001F0D40 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 801F3DE4 001F0D44 3C 60 80 3D */ lis r3, lbl_803D2050@ha /* 801F3DE8 001F0D48 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F3DEC 001F0D4C 38 83 20 50 */ addi r4, r3, lbl_803D2050@l /* 801F3DF0 001F0D50 3A 20 00 00 */ li r17, 0 /* 801F3DF4 001F0D54 38 60 03 40 */ li r3, 0x340 /* 801F3DF8 001F0D58 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F3DFC 001F0D5C 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c /* 801F3E00 001F0D60 38 A0 00 00 */ li r5, 0 /* 801F3E04 001F0D64 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F3E08 001F0D68 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F3E0C 001F0D6C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d /* 801F3E10 001F0D70 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F3E14 001F0D74 48 12 1A 59 */ bl __nw__FUlPCcPCc /* 801F3E18 001F0D78 7C 72 1B 79 */ or. r18, r3, r3 /* 801F3E1C 001F0D7C 41 82 00 2C */ beq lbl_801F3E48 /* 801F3E20 001F0D80 38 61 00 38 */ addi r3, r1, 0x38 /* 801F3E24 001F0D84 38 9F 00 F8 */ addi r4, r31, 0xf8 /* 801F3E28 001F0D88 48 14 D0 81 */ bl __ct__6CTokenFRC6CToken /* 801F3E2C 001F0D8C 7E 43 93 78 */ mr r3, r18 /* 801F3E30 001F0D90 38 81 00 38 */ addi r4, r1, 0x38 /* 801F3E34 001F0D94 3A 20 00 01 */ li r17, 1 /* 801F3E38 001F0D98 38 A0 00 00 */ li r5, 0 /* 801F3E3C 001F0D9C 38 C0 00 01 */ li r6, 1 /* 801F3E40 001F0DA0 48 12 B5 A1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801F3E44 001F0DA4 7C 72 1B 78 */ mr r18, r3 lbl_801F3E48: /* 801F3E48 001F0DA8 7C 72 00 D0 */ neg r3, r18 /* 801F3E4C 001F0DAC 38 01 00 30 */ addi r0, r1, 0x30 /* 801F3E50 001F0DB0 7C 63 93 78 */ or r3, r3, r18 /* 801F3E54 001F0DB4 38 9F 01 00 */ addi r4, r31, 0x100 /* 801F3E58 001F0DB8 54 63 0F FE */ srwi r3, r3, 0x1f /* 801F3E5C 001F0DBC 92 41 00 34 */ stw r18, 0x34(r1) /* 801F3E60 001F0DC0 7C 00 20 40 */ cmplw r0, r4 /* 801F3E64 001F0DC4 98 61 00 30 */ stb r3, 0x30(r1) /* 801F3E68 001F0DC8 41 82 00 48 */ beq lbl_801F3EB0 /* 801F3E6C 001F0DCC 88 04 00 00 */ lbz r0, 0(r4) /* 801F3E70 001F0DD0 28 00 00 00 */ cmplwi r0, 0 /* 801F3E74 001F0DD4 41 82 00 24 */ beq lbl_801F3E98 /* 801F3E78 001F0DD8 80 7F 01 04 */ lwz r3, 0x104(r31) /* 801F3E7C 001F0DDC 28 03 00 00 */ cmplwi r3, 0 /* 801F3E80 001F0DE0 41 82 00 18 */ beq lbl_801F3E98 /* 801F3E84 001F0DE4 81 83 00 00 */ lwz r12, 0(r3) /* 801F3E88 001F0DE8 38 80 00 01 */ li r4, 1 /* 801F3E8C 001F0DEC 81 8C 00 08 */ lwz r12, 8(r12) /* 801F3E90 001F0DF0 7D 89 03 A6 */ mtctr r12 /* 801F3E94 001F0DF4 4E 80 04 21 */ bctrl lbl_801F3E98: /* 801F3E98 001F0DF8 88 61 00 30 */ lbz r3, 0x30(r1) /* 801F3E9C 001F0DFC 38 00 00 00 */ li r0, 0 /* 801F3EA0 001F0E00 98 7F 01 00 */ stb r3, 0x100(r31) /* 801F3EA4 001F0E04 80 61 00 34 */ lwz r3, 0x34(r1) /* 801F3EA8 001F0E08 90 7F 01 04 */ stw r3, 0x104(r31) /* 801F3EAC 001F0E0C 98 01 00 30 */ stb r0, 0x30(r1) lbl_801F3EB0: /* 801F3EB0 001F0E10 88 01 00 30 */ lbz r0, 0x30(r1) /* 801F3EB4 001F0E14 28 00 00 00 */ cmplwi r0, 0 /* 801F3EB8 001F0E18 41 82 00 24 */ beq lbl_801F3EDC /* 801F3EBC 001F0E1C 80 61 00 34 */ lwz r3, 0x34(r1) /* 801F3EC0 001F0E20 28 03 00 00 */ cmplwi r3, 0 /* 801F3EC4 001F0E24 41 82 00 18 */ beq lbl_801F3EDC /* 801F3EC8 001F0E28 81 83 00 00 */ lwz r12, 0(r3) /* 801F3ECC 001F0E2C 38 80 00 01 */ li r4, 1 /* 801F3ED0 001F0E30 81 8C 00 08 */ lwz r12, 8(r12) /* 801F3ED4 001F0E34 7D 89 03 A6 */ mtctr r12 /* 801F3ED8 001F0E38 4E 80 04 21 */ bctrl lbl_801F3EDC: /* 801F3EDC 001F0E3C 7E 20 07 75 */ extsb. r0, r17 /* 801F3EE0 001F0E40 41 82 00 10 */ beq lbl_801F3EF0 /* 801F3EE4 001F0E44 38 61 00 38 */ addi r3, r1, 0x38 /* 801F3EE8 001F0E48 38 80 00 00 */ li r4, 0 /* 801F3EEC 001F0E4C 48 14 CF 55 */ bl __dt__6CTokenFv lbl_801F3EF0: /* 801F3EF0 001F0E50 7F E3 FB 78 */ mr r3, r31 /* 801F3EF4 001F0E54 E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 /* 801F3EF8 001F0E58 CB E1 02 10 */ lfd f31, 0x210(r1) /* 801F3EFC 001F0E5C E3 C1 02 08 */ psq_l f30, 520(r1), 0, qr0 /* 801F3F00 001F0E60 CB C1 02 00 */ lfd f30, 0x200(r1) /* 801F3F04 001F0E64 BA 21 01 C4 */ lmw r17, 0x1c4(r1) /* 801F3F08 001F0E68 80 01 02 24 */ lwz r0, 0x224(r1) /* 801F3F0C 001F0E6C 7C 08 03 A6 */ mtlr r0 /* 801F3F10 001F0E70 38 21 02 20 */ addi r1, r1, 0x220 /* 801F3F14 001F0E74 4E 80 00 20 */ blr .global sub_801f3f18 sub_801f3f18: /* 801F3F18 001F0E78 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F3F1C 001F0E7C 7C 08 02 A6 */ mflr r0 /* 801F3F20 001F0E80 90 01 00 34 */ stw r0, 0x34(r1) /* 801F3F24 001F0E84 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 801F3F28 001F0E88 7C 9F 23 78 */ mr r31, r4 /* 801F3F2C 001F0E8C 7C 7E 1B 78 */ mr r30, r3 /* 801F3F30 001F0E90 80 03 00 08 */ lwz r0, 8(r3) /* 801F3F34 001F0E94 7C 1F 00 00 */ cmpw r31, r0 /* 801F3F38 001F0E98 40 81 01 14 */ ble lbl_801F404C /* 801F3F3C 001F0E9C 1C 7F 03 24 */ mulli r3, r31, 0x324 /* 801F3F40 001F0EA0 2C 03 00 00 */ cmpwi r3, 0 /* 801F3F44 001F0EA4 40 82 00 0C */ bne lbl_801F3F50 /* 801F3F48 001F0EA8 3B A0 00 00 */ li r29, 0 /* 801F3F4C 001F0EAC 48 00 00 18 */ b lbl_801F3F64 lbl_801F3F50: /* 801F3F50 001F0EB0 3C 80 80 3D */ lis r4, lbl_803D2050@ha /* 801F3F54 001F0EB4 38 A0 00 00 */ li r5, 0 /* 801F3F58 001F0EB8 38 84 20 50 */ addi r4, r4, lbl_803D2050@l /* 801F3F5C 001F0EBC 48 12 18 BD */ bl __nwa__FUlPCcPCc /* 801F3F60 001F0EC0 7C 7D 1B 78 */ mr r29, r3 lbl_801F3F64: /* 801F3F64 001F0EC4 80 1E 00 04 */ lwz r0, 4(r30) /* 801F3F68 001F0EC8 7F A5 EB 78 */ mr r5, r29 /* 801F3F6C 001F0ECC 80 DE 00 0C */ lwz r6, 0xc(r30) /* 801F3F70 001F0ED0 38 61 00 14 */ addi r3, r1, 0x14 /* 801F3F74 001F0ED4 1C 00 03 24 */ mulli r0, r0, 0x324 /* 801F3F78 001F0ED8 38 81 00 0C */ addi r4, r1, 0xc /* 801F3F7C 001F0EDC 7C C6 02 14 */ add r6, r6, r0 /* 801F3F80 001F0EE0 90 C1 00 0C */ stw r6, 0xc(r1) /* 801F3F84 001F0EE4 80 1E 00 0C */ lwz r0, 0xc(r30) /* 801F3F88 001F0EE8 90 C1 00 08 */ stw r6, 8(r1) /* 801F3F8C 001F0EEC 90 01 00 10 */ stw r0, 0x10(r1) /* 801F3F90 001F0EF0 90 01 00 14 */ stw r0, 0x14(r1) /* 801F3F94 001F0EF4 48 00 00 CD */ bl sub_801f4060 /* 801F3F98 001F0EF8 80 1E 00 04 */ lwz r0, 4(r30) /* 801F3F9C 001F0EFC 83 7E 00 0C */ lwz r27, 0xc(r30) /* 801F3FA0 001F0F00 1C 00 03 24 */ mulli r0, r0, 0x324 /* 801F3FA4 001F0F04 7F 9B 02 14 */ add r28, r27, r0 /* 801F3FA8 001F0F08 48 00 00 84 */ b lbl_801F402C lbl_801F3FAC: /* 801F3FAC 001F0F0C 28 1B 00 00 */ cmplwi r27, 0 /* 801F3FB0 001F0F10 41 82 00 78 */ beq lbl_801F4028 /* 801F3FB4 001F0F14 38 7B 00 18 */ addi r3, r27, 0x18 /* 801F3FB8 001F0F18 38 80 FF FF */ li r4, -1 /* 801F3FBC 001F0F1C 4B F1 11 19 */ bl __dt__12CActorLightsFv /* 801F3FC0 001F0F20 34 1B 00 08 */ addic. r0, r27, 8 /* 801F3FC4 001F0F24 41 82 00 30 */ beq lbl_801F3FF4 /* 801F3FC8 001F0F28 88 1B 00 08 */ lbz r0, 8(r27) /* 801F3FCC 001F0F2C 28 00 00 00 */ cmplwi r0, 0 /* 801F3FD0 001F0F30 41 82 00 24 */ beq lbl_801F3FF4 /* 801F3FD4 001F0F34 80 7B 00 0C */ lwz r3, 0xc(r27) /* 801F3FD8 001F0F38 28 03 00 00 */ cmplwi r3, 0 /* 801F3FDC 001F0F3C 41 82 00 18 */ beq lbl_801F3FF4 /* 801F3FE0 001F0F40 81 83 00 00 */ lwz r12, 0(r3) /* 801F3FE4 001F0F44 38 80 00 01 */ li r4, 1 /* 801F3FE8 001F0F48 81 8C 00 08 */ lwz r12, 8(r12) /* 801F3FEC 001F0F4C 7D 89 03 A6 */ mtctr r12 /* 801F3FF0 001F0F50 4E 80 04 21 */ bctrl lbl_801F3FF4: /* 801F3FF4 001F0F54 28 1B 00 00 */ cmplwi r27, 0 /* 801F3FF8 001F0F58 41 82 00 30 */ beq lbl_801F4028 /* 801F3FFC 001F0F5C 88 1B 00 00 */ lbz r0, 0(r27) /* 801F4000 001F0F60 28 00 00 00 */ cmplwi r0, 0 /* 801F4004 001F0F64 41 82 00 24 */ beq lbl_801F4028 /* 801F4008 001F0F68 80 7B 00 04 */ lwz r3, 4(r27) /* 801F400C 001F0F6C 28 03 00 00 */ cmplwi r3, 0 /* 801F4010 001F0F70 41 82 00 18 */ beq lbl_801F4028 /* 801F4014 001F0F74 81 83 00 00 */ lwz r12, 0(r3) /* 801F4018 001F0F78 38 80 00 01 */ li r4, 1 /* 801F401C 001F0F7C 81 8C 00 08 */ lwz r12, 8(r12) /* 801F4020 001F0F80 7D 89 03 A6 */ mtctr r12 /* 801F4024 001F0F84 4E 80 04 21 */ bctrl lbl_801F4028: /* 801F4028 001F0F88 3B 7B 03 24 */ addi r27, r27, 0x324 lbl_801F402C: /* 801F402C 001F0F8C 7C 1B E0 40 */ cmplw r27, r28 /* 801F4030 001F0F90 40 82 FF 7C */ bne lbl_801F3FAC /* 801F4034 001F0F94 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801F4038 001F0F98 28 03 00 00 */ cmplwi r3, 0 /* 801F403C 001F0F9C 41 82 00 08 */ beq lbl_801F4044 /* 801F4040 001F0FA0 48 12 18 F1 */ bl Free__7CMemoryFPCv lbl_801F4044: /* 801F4044 001F0FA4 93 BE 00 0C */ stw r29, 0xc(r30) /* 801F4048 001F0FA8 93 FE 00 08 */ stw r31, 8(r30) lbl_801F404C: /* 801F404C 001F0FAC BB 61 00 1C */ lmw r27, 0x1c(r1) /* 801F4050 001F0FB0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F4054 001F0FB4 7C 08 03 A6 */ mtlr r0 /* 801F4058 001F0FB8 38 21 00 30 */ addi r1, r1, 0x30 /* 801F405C 001F0FBC 4E 80 00 20 */ blr .global sub_801f4060 sub_801f4060: /* 801F4060 001F0FC0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F4064 001F0FC4 7C 08 02 A6 */ mflr r0 /* 801F4068 001F0FC8 90 01 00 24 */ stw r0, 0x24(r1) /* 801F406C 001F0FCC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F4070 001F0FD0 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F4074 001F0FD4 7C BE 2B 78 */ mr r30, r5 /* 801F4078 001F0FD8 93 A1 00 14 */ stw r29, 0x14(r1) /* 801F407C 001F0FDC 7C 9D 23 78 */ mr r29, r4 /* 801F4080 001F0FE0 83 E3 00 00 */ lwz r31, 0(r3) /* 801F4084 001F0FE4 48 00 00 18 */ b lbl_801F409C lbl_801F4088: /* 801F4088 001F0FE8 7F C3 F3 78 */ mr r3, r30 /* 801F408C 001F0FEC 7F E4 FB 78 */ mr r4, r31 /* 801F4090 001F0FF0 4B FF F1 7D */ bl sub_801f320c /* 801F4094 001F0FF4 3B DE 03 24 */ addi r30, r30, 0x324 /* 801F4098 001F0FF8 3B FF 03 24 */ addi r31, r31, 0x324 lbl_801F409C: /* 801F409C 001F0FFC 80 1D 00 00 */ lwz r0, 0(r29) /* 801F40A0 001F1000 7C 1F 00 40 */ cmplw r31, r0 /* 801F40A4 001F1004 40 82 FF E4 */ bne lbl_801F4088 /* 801F40A8 001F1008 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F40AC 001F100C 7F C3 F3 78 */ mr r3, r30 /* 801F40B0 001F1010 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F40B4 001F1014 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F40B8 001F1018 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801F40BC 001F101C 7C 08 03 A6 */ mtlr r0 /* 801F40C0 001F1020 38 21 00 20 */ addi r1, r1, 0x20 /* 801F40C4 001F1024 4E 80 00 20 */ blr .global FixedRandom__10CPatternedFR13CStateManagerf FixedRandom__10CPatternedFR13CStateManagerf: /* 801F40C8 001F1028 C0 23 03 3C */ lfs f1, 0x33c(r3) /* 801F40CC 001F102C C0 03 03 44 */ lfs f0, 0x344(r3) /* 801F40D0 001F1030 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F40D4 001F1034 7C 00 00 26 */ mfcr r0 /* 801F40D8 001F1038 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F40DC 001F103C 4E 80 00 20 */ blr .global Random__10CPatternedFR13CStateManagerf Random__10CPatternedFR13CStateManagerf: /* 801F40E0 001F1040 C0 03 03 3C */ lfs f0, 0x33c(r3) /* 801F40E4 001F1044 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F40E8 001F1048 7C 00 00 26 */ mfcr r0 /* 801F40EC 001F104C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F40F0 001F1050 4E 80 00 20 */ blr .global UpdatePatternDestPos__10CPatternedFR13CStateManager UpdatePatternDestPos__10CPatternedFR13CStateManager: /* 801F40F4 001F1054 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801F40F8 001F1058 7C 08 02 A6 */ mflr r0 /* 801F40FC 001F105C 90 01 00 84 */ stw r0, 0x84(r1) /* 801F4100 001F1060 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801F4104 001F1064 7C 9F 23 78 */ mr r31, r4 /* 801F4108 001F1068 93 C1 00 78 */ stw r30, 0x78(r1) /* 801F410C 001F106C 7C 7E 1B 78 */ mr r30, r3 /* 801F4110 001F1070 80 63 03 9C */ lwz r3, 0x39c(r3) /* 801F4114 001F1074 80 1E 03 90 */ lwz r0, 0x390(r30) /* 801F4118 001F1078 7C 03 00 00 */ cmpw r3, r0 /* 801F411C 001F107C 40 80 01 78 */ bge lbl_801F4294 /* 801F4120 001F1080 C0 22 AF 20 */ lfs f1, lbl_805ACC40@sda21(r2) /* 801F4124 001F1084 38 00 00 00 */ li r0, 0 /* 801F4128 001F1088 C0 1E 03 68 */ lfs f0, 0x368(r30) /* 801F412C 001F108C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801F4130 001F1090 40 82 00 1C */ bne lbl_801F414C /* 801F4134 001F1094 C0 1E 03 6C */ lfs f0, 0x36c(r30) /* 801F4138 001F1098 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801F413C 001F109C 40 82 00 10 */ bne lbl_801F414C /* 801F4140 001F10A0 C0 1E 03 70 */ lfs f0, 0x370(r30) /* 801F4144 001F10A4 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801F4148 001F10A8 41 82 00 08 */ beq lbl_801F4150 lbl_801F414C: /* 801F414C 001F10AC 38 00 00 01 */ li r0, 1 lbl_801F4150: /* 801F4150 001F10B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801F4154 001F10B4 41 82 01 2C */ beq lbl_801F4280 /* 801F4158 001F10B8 7F C4 F3 78 */ mr r4, r30 /* 801F415C 001F10BC 7F E5 FB 78 */ mr r5, r31 /* 801F4160 001F10C0 38 61 00 60 */ addi r3, r1, 0x60 /* 801F4164 001F10C4 48 00 0A DD */ bl FindPatternDir__10CPatternedFR13CStateManager /* 801F4168 001F10C8 C0 41 00 60 */ lfs f2, 0x60(r1) /* 801F416C 001F10CC 7F C4 F3 78 */ mr r4, r30 /* 801F4170 001F10D0 C0 21 00 64 */ lfs f1, 0x64(r1) /* 801F4174 001F10D4 38 61 00 44 */ addi r3, r1, 0x44 /* 801F4178 001F10D8 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801F417C 001F10DC 38 A1 00 6C */ addi r5, r1, 0x6c /* 801F4180 001F10E0 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801F4184 001F10E4 D0 21 00 70 */ stfs f1, 0x70(r1) /* 801F4188 001F10E8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801F418C 001F10EC 48 00 08 91 */ bl FindPatternRotation__10CPatternedFRC9CVector3f /* 801F4190 001F10F0 80 1E 03 9C */ lwz r0, 0x39c(r30) /* 801F4194 001F10F4 38 61 00 54 */ addi r3, r1, 0x54 /* 801F4198 001F10F8 80 BE 03 98 */ lwz r5, 0x398(r30) /* 801F419C 001F10FC 38 81 00 44 */ addi r4, r1, 0x44 /* 801F41A0 001F1100 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801F41A4 001F1104 7C A5 02 14 */ add r5, r5, r0 /* 801F41A8 001F1108 48 11 D0 BD */ bl Transform__11CQuaternionCFRC9CVector3f /* 801F41AC 001F110C 7F C3 F3 78 */ mr r3, r30 /* 801F41B0 001F1110 38 81 00 54 */ addi r4, r1, 0x54 /* 801F41B4 001F1114 4B E8 89 A9 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F41B8 001F1118 80 1E 03 7C */ lwz r0, 0x37c(r30) /* 801F41BC 001F111C 2C 00 00 00 */ cmpwi r0, 0 /* 801F41C0 001F1120 41 82 00 08 */ beq lbl_801F41C8 /* 801F41C4 001F1124 48 00 00 D0 */ b lbl_801F4294 lbl_801F41C8: /* 801F41C8 001F1128 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F41CC 001F112C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F41D0 001F1130 41 82 00 4C */ beq lbl_801F421C /* 801F41D4 001F1134 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801F41D8 001F1138 C0 41 00 70 */ lfs f2, 0x70(r1) /* 801F41DC 001F113C C0 3E 03 68 */ lfs f1, 0x368(r30) /* 801F41E0 001F1140 EC 60 00 32 */ fmuls f3, f0, f0 /* 801F41E4 001F1144 C0 1E 03 6C */ lfs f0, 0x36c(r30) /* 801F41E8 001F1148 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801F41EC 001F114C C0 81 00 74 */ lfs f4, 0x74(r1) /* 801F41F0 001F1150 EC 21 00 72 */ fmuls f1, f1, f1 /* 801F41F4 001F1154 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F41F8 001F1158 C0 BE 03 70 */ lfs f5, 0x370(r30) /* 801F41FC 001F115C EC 84 01 32 */ fmuls f4, f4, f4 /* 801F4200 001F1160 EC 63 10 2A */ fadds f3, f3, f2 /* 801F4204 001F1164 EC 45 01 72 */ fmuls f2, f5, f5 /* 801F4208 001F1168 EC 01 00 2A */ fadds f0, f1, f0 /* 801F420C 001F116C EC 24 18 2A */ fadds f1, f4, f3 /* 801F4210 001F1170 EC 02 00 2A */ fadds f0, f2, f0 /* 801F4214 001F1174 EC 21 00 24 */ fdivs f1, f1, f0 /* 801F4218 001F1178 48 00 00 30 */ b lbl_801F4248 lbl_801F421C: /* 801F421C 001F117C C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801F4220 001F1180 C0 41 00 70 */ lfs f2, 0x70(r1) /* 801F4224 001F1184 C0 3E 03 68 */ lfs f1, 0x368(r30) /* 801F4228 001F1188 EC 60 00 32 */ fmuls f3, f0, f0 /* 801F422C 001F118C C0 1E 03 6C */ lfs f0, 0x36c(r30) /* 801F4230 001F1190 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801F4234 001F1194 EC 21 00 72 */ fmuls f1, f1, f1 /* 801F4238 001F1198 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F423C 001F119C EC 43 10 2A */ fadds f2, f3, f2 /* 801F4240 001F11A0 EC 01 00 2A */ fadds f0, f1, f0 /* 801F4244 001F11A4 EC 22 00 24 */ fdivs f1, f2, f0 lbl_801F4248: /* 801F4248 001F11A8 48 12 12 B9 */ bl SqrtF__5CMathFf /* 801F424C 001F11AC C0 7E 02 E4 */ lfs f3, 0x2e4(r30) /* 801F4250 001F11B0 7F C3 F3 78 */ mr r3, r30 /* 801F4254 001F11B4 C0 5E 02 E8 */ lfs f2, 0x2e8(r30) /* 801F4258 001F11B8 38 81 00 38 */ addi r4, r1, 0x38 /* 801F425C 001F11BC C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801F4260 001F11C0 EC 61 00 F2 */ fmuls f3, f1, f3 /* 801F4264 001F11C4 EC 41 00 B2 */ fmuls f2, f1, f2 /* 801F4268 001F11C8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801F426C 001F11CC D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801F4270 001F11D0 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801F4274 001F11D4 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801F4278 001F11D8 4B E8 88 E5 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F427C 001F11DC 48 00 00 18 */ b lbl_801F4294 lbl_801F4280: /* 801F4280 001F11E0 1C 03 00 24 */ mulli r0, r3, 0x24 /* 801F4284 001F11E4 80 9E 03 98 */ lwz r4, 0x398(r30) /* 801F4288 001F11E8 7F C3 F3 78 */ mr r3, r30 /* 801F428C 001F11EC 7C 84 02 14 */ add r4, r4, r0 /* 801F4290 001F11F0 4B E8 88 CD */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_801F4294: /* 801F4294 001F11F4 80 1E 03 74 */ lwz r0, 0x374(r30) /* 801F4298 001F11F8 2C 00 00 01 */ cmpwi r0, 1 /* 801F429C 001F11FC 41 82 00 60 */ beq lbl_801F42FC /* 801F42A0 001F1200 40 80 00 10 */ bge lbl_801F42B0 /* 801F42A4 001F1204 2C 00 00 00 */ cmpwi r0, 0 /* 801F42A8 001F1208 40 80 00 14 */ bge lbl_801F42BC /* 801F42AC 001F120C 48 00 00 DC */ b lbl_801F4388 lbl_801F42B0: /* 801F42B0 001F1210 2C 00 00 03 */ cmpwi r0, 3 /* 801F42B4 001F1214 40 80 00 D4 */ bge lbl_801F4388 /* 801F42B8 001F1218 48 00 00 84 */ b lbl_801F433C lbl_801F42BC: /* 801F42BC 001F121C C0 3E 02 E4 */ lfs f1, 0x2e4(r30) /* 801F42C0 001F1220 7F C3 F3 78 */ mr r3, r30 /* 801F42C4 001F1224 C0 1E 03 54 */ lfs f0, 0x354(r30) /* 801F42C8 001F1228 38 81 00 2C */ addi r4, r1, 0x2c /* 801F42CC 001F122C C0 7E 02 E8 */ lfs f3, 0x2e8(r30) /* 801F42D0 001F1230 C0 5E 03 58 */ lfs f2, 0x358(r30) /* 801F42D4 001F1234 EC 81 00 2A */ fadds f4, f1, f0 /* 801F42D8 001F1238 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) /* 801F42DC 001F123C C0 1E 03 50 */ lfs f0, 0x350(r30) /* 801F42E0 001F1240 EC 43 10 2A */ fadds f2, f3, f2 /* 801F42E4 001F1244 EC 01 00 2A */ fadds f0, f1, f0 /* 801F42E8 001F1248 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801F42EC 001F124C D0 41 00 34 */ stfs f2, 0x34(r1) /* 801F42F0 001F1250 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801F42F4 001F1254 4B E8 88 69 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F42F8 001F1258 48 00 00 90 */ b lbl_801F4388 lbl_801F42FC: /* 801F42FC 001F125C C0 3E 02 E4 */ lfs f1, 0x2e4(r30) /* 801F4300 001F1260 7F C3 F3 78 */ mr r3, r30 /* 801F4304 001F1264 C0 1E 03 60 */ lfs f0, 0x360(r30) /* 801F4308 001F1268 38 81 00 20 */ addi r4, r1, 0x20 /* 801F430C 001F126C C0 7E 02 E8 */ lfs f3, 0x2e8(r30) /* 801F4310 001F1270 C0 5E 03 64 */ lfs f2, 0x364(r30) /* 801F4314 001F1274 EC 81 00 2A */ fadds f4, f1, f0 /* 801F4318 001F1278 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) /* 801F431C 001F127C C0 1E 03 5C */ lfs f0, 0x35c(r30) /* 801F4320 001F1280 EC 43 10 2A */ fadds f2, f3, f2 /* 801F4324 001F1284 EC 01 00 2A */ fadds f0, f1, f0 /* 801F4328 001F1288 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801F432C 001F128C D0 41 00 28 */ stfs f2, 0x28(r1) /* 801F4330 001F1290 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801F4334 001F1294 4B E8 88 29 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F4338 001F1298 48 00 00 50 */ b lbl_801F4388 lbl_801F433C: /* 801F433C 001F129C 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801F4340 001F12A0 7F C3 F3 78 */ mr r3, r30 /* 801F4344 001F12A4 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801F4348 001F12A8 38 81 00 14 */ addi r4, r1, 0x14 /* 801F434C 001F12AC C0 85 00 50 */ lfs f4, 0x50(r5) /* 801F4350 001F12B0 C0 A5 00 60 */ lfs f5, 0x60(r5) /* 801F4354 001F12B4 C0 45 00 40 */ lfs f2, 0x40(r5) /* 801F4358 001F12B8 EC 60 20 2A */ fadds f3, f0, f4 /* 801F435C 001F12BC C0 3E 02 E8 */ lfs f1, 0x2e8(r30) /* 801F4360 001F12C0 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801F4364 001F12C4 EC 21 28 2A */ fadds f1, f1, f5 /* 801F4368 001F12C8 D0 41 00 08 */ stfs f2, 8(r1) /* 801F436C 001F12CC EC 00 10 2A */ fadds f0, f0, f2 /* 801F4370 001F12D0 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801F4374 001F12D4 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801F4378 001F12D8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801F437C 001F12DC D0 61 00 18 */ stfs f3, 0x18(r1) /* 801F4380 001F12E0 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801F4384 001F12E4 4B E8 87 D9 */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_801F4388: /* 801F4388 001F12E8 80 01 00 84 */ lwz r0, 0x84(r1) /* 801F438C 001F12EC 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801F4390 001F12F0 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801F4394 001F12F4 7C 08 03 A6 */ mtlr r0 /* 801F4398 001F12F8 38 21 00 80 */ addi r1, r1, 0x80 /* 801F439C 001F12FC 4E 80 00 20 */ blr .global SetupPattern__10CPatternedFR13CStateManager SetupPattern__10CPatternedFR13CStateManager: /* 801F43A0 001F1300 94 21 FE A0 */ stwu r1, -0x160(r1) /* 801F43A4 001F1304 7C 08 02 A6 */ mflr r0 /* 801F43A8 001F1308 90 01 01 64 */ stw r0, 0x164(r1) /* 801F43AC 001F130C DB E1 01 50 */ stfd f31, 0x150(r1) /* 801F43B0 001F1310 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 /* 801F43B4 001F1314 DB C1 01 40 */ stfd f30, 0x140(r1) /* 801F43B8 001F1318 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 /* 801F43BC 001F131C DB A1 01 30 */ stfd f29, 0x130(r1) /* 801F43C0 001F1320 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 /* 801F43C4 001F1324 DB 81 01 20 */ stfd f28, 0x120(r1) /* 801F43C8 001F1328 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 /* 801F43CC 001F132C DB 61 01 10 */ stfd f27, 0x110(r1) /* 801F43D0 001F1330 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 /* 801F43D4 001F1334 DB 41 01 00 */ stfd f26, 0x100(r1) /* 801F43D8 001F1338 F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 /* 801F43DC 001F133C DB 21 00 F0 */ stfd f25, 0xf0(r1) /* 801F43E0 001F1340 F3 21 00 F8 */ psq_st f25, 248(r1), 0, qr0 /* 801F43E4 001F1344 DB 01 00 E0 */ stfd f24, 0xe0(r1) /* 801F43E8 001F1348 F3 01 00 E8 */ psq_st f24, 232(r1), 0, qr0 /* 801F43EC 001F134C DA E1 00 D0 */ stfd f23, 0xd0(r1) /* 801F43F0 001F1350 F2 E1 00 D8 */ psq_st f23, 216(r1), 0, qr0 /* 801F43F4 001F1354 DA C1 00 C0 */ stfd f22, 0xc0(r1) /* 801F43F8 001F1358 F2 C1 00 C8 */ psq_st f22, 200(r1), 0, qr0 /* 801F43FC 001F135C DA A1 00 B0 */ stfd f21, 0xb0(r1) /* 801F4400 001F1360 F2 A1 00 B8 */ psq_st f21, 184(r1), 0, qr0 /* 801F4404 001F1364 BF 01 00 90 */ stmw r24, 0x90(r1) /* 801F4408 001F1368 7C 7C 1B 78 */ mr r28, r3 /* 801F440C 001F136C 7C 9D 23 78 */ mr r29, r4 /* 801F4410 001F1370 48 00 04 C5 */ bl GetDesiredAttackState__10CPatternedCFR13CStateManager /* 801F4414 001F1374 7C 78 1B 78 */ mr r24, r3 /* 801F4418 001F1378 7F 84 E3 78 */ mr r4, r28 /* 801F441C 001F137C 7F A5 EB 78 */ mr r5, r29 /* 801F4420 001F1380 38 61 00 1C */ addi r3, r1, 0x1c /* 801F4424 001F1384 7F 06 C3 78 */ mr r6, r24 /* 801F4428 001F1388 38 E0 00 06 */ li r7, 6 /* 801F442C 001F138C 48 00 0B 6D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F4430 001F1390 A0 01 00 1C */ lhz r0, 0x1c(r1) /* 801F4434 001F1394 B0 1C 02 DC */ sth r0, 0x2dc(r28) /* 801F4438 001F1398 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 801F443C 001F139C A0 1C 02 DC */ lhz r0, 0x2dc(r28) /* 801F4440 001F13A0 7C 03 00 40 */ cmplw r3, r0 /* 801F4444 001F13A4 40 82 00 2C */ bne lbl_801F4470 /* 801F4448 001F13A8 2C 18 00 0A */ cmpwi r24, 0xa /* 801F444C 001F13AC 41 82 00 24 */ beq lbl_801F4470 /* 801F4450 001F13B0 7F 84 E3 78 */ mr r4, r28 /* 801F4454 001F13B4 7F A5 EB 78 */ mr r5, r29 /* 801F4458 001F13B8 38 61 00 18 */ addi r3, r1, 0x18 /* 801F445C 001F13BC 38 C0 00 0A */ li r6, 0xa /* 801F4460 001F13C0 38 E0 00 06 */ li r7, 6 /* 801F4464 001F13C4 48 00 0B 35 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F4468 001F13C8 A0 01 00 18 */ lhz r0, 0x18(r1) /* 801F446C 001F13CC B0 1C 02 DC */ sth r0, 0x2dc(r28) lbl_801F4470: /* 801F4470 001F13D0 80 1C 03 90 */ lwz r0, 0x390(r28) /* 801F4474 001F13D4 80 7C 03 98 */ lwz r3, 0x398(r28) /* 801F4478 001F13D8 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801F447C 001F13DC 90 61 00 24 */ stw r3, 0x24(r1) /* 801F4480 001F13E0 7C 03 02 14 */ add r0, r3, r0 /* 801F4484 001F13E4 90 61 00 20 */ stw r3, 0x20(r1) /* 801F4488 001F13E8 90 01 00 2C */ stw r0, 0x2c(r1) /* 801F448C 001F13EC 90 01 00 28 */ stw r0, 0x28(r1) /* 801F4490 001F13F0 48 00 00 08 */ b lbl_801F4498 lbl_801F4494: /* 801F4494 001F13F4 38 63 00 24 */ addi r3, r3, 0x24 lbl_801F4498: /* 801F4498 001F13F8 7C 03 00 40 */ cmplw r3, r0 /* 801F449C 001F13FC 40 82 FF F8 */ bne lbl_801F4494 /* 801F44A0 001F1400 38 00 00 00 */ li r0, 0 /* 801F44A4 001F1404 90 1C 03 90 */ stw r0, 0x390(r28) /* 801F44A8 001F1408 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 801F44AC 001F140C A0 1C 02 DC */ lhz r0, 0x2dc(r28) /* 801F44B0 001F1410 7C 03 00 40 */ cmplw r3, r0 /* 801F44B4 001F1414 41 82 03 40 */ beq lbl_801F47F4 /* 801F44B8 001F1418 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801F44BC 001F141C 7F 84 E3 78 */ mr r4, r28 /* 801F44C0 001F1420 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801F44C4 001F1424 7F A5 EB 78 */ mr r5, r29 /* 801F44C8 001F1428 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801F44CC 001F142C 38 61 00 40 */ addi r3, r1, 0x40 /* 801F44D0 001F1430 D0 1C 03 50 */ stfs f0, 0x350(r28) /* 801F44D4 001F1434 D0 3C 03 54 */ stfs f1, 0x354(r28) /* 801F44D8 001F1438 D0 5C 03 58 */ stfs f2, 0x358(r28) /* 801F44DC 001F143C 80 DD 08 4C */ lwz r6, 0x84c(r29) /* 801F44E0 001F1440 C0 46 00 60 */ lfs f2, 0x60(r6) /* 801F44E4 001F1444 C0 26 00 50 */ lfs f1, 0x50(r6) /* 801F44E8 001F1448 C0 06 00 40 */ lfs f0, 0x40(r6) /* 801F44EC 001F144C D0 1C 03 5C */ stfs f0, 0x35c(r28) /* 801F44F0 001F1450 D0 3C 03 60 */ stfs f1, 0x360(r28) /* 801F44F4 001F1454 D0 5C 03 64 */ stfs f2, 0x364(r28) /* 801F44F8 001F1458 48 00 04 7D */ bl GetDestWaypoints__10CPatternedCFR13CStateManager /* 801F44FC 001F145C 83 C1 00 40 */ lwz r30, 0x40(r1) /* 801F4500 001F1460 83 E1 00 44 */ lwz r31, 0x44(r1) /* 801F4504 001F1464 28 1E 00 00 */ cmplwi r30, 0 /* 801F4508 001F1468 41 82 02 EC */ beq lbl_801F47F4 /* 801F450C 001F146C 88 1E 00 F4 */ lbz r0, 0xf4(r30) /* 801F4510 001F1470 28 1F 00 00 */ cmplwi r31, 0 /* 801F4514 001F1474 90 1C 03 74 */ stw r0, 0x374(r28) /* 801F4518 001F1478 88 1E 00 F5 */ lbz r0, 0xf5(r30) /* 801F451C 001F147C 90 1C 03 78 */ stw r0, 0x378(r28) /* 801F4520 001F1480 88 1E 00 F6 */ lbz r0, 0xf6(r30) /* 801F4524 001F1484 90 1C 03 7C */ stw r0, 0x37c(r28) /* 801F4528 001F1488 41 82 00 38 */ beq lbl_801F4560 /* 801F452C 001F148C C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801F4530 001F1490 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F4534 001F1494 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 801F4538 001F1498 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801F453C 001F149C EC 01 00 28 */ fsubs f0, f1, f0 /* 801F4540 001F14A0 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801F4544 001F14A4 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801F4548 001F14A8 EC 64 18 28 */ fsubs f3, f4, f3 /* 801F454C 001F14AC D0 1C 03 68 */ stfs f0, 0x368(r28) /* 801F4550 001F14B0 EC 02 08 28 */ fsubs f0, f2, f1 /* 801F4554 001F14B4 D0 7C 03 6C */ stfs f3, 0x36c(r28) /* 801F4558 001F14B8 D0 1C 03 70 */ stfs f0, 0x370(r28) /* 801F455C 001F14BC 48 00 00 20 */ b lbl_801F457C lbl_801F4560: /* 801F4560 001F14C0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F4564 001F14C4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F4568 001F14C8 D0 1C 03 68 */ stfs f0, 0x368(r28) /* 801F456C 001F14CC C0 03 00 04 */ lfs f0, 4(r3) /* 801F4570 001F14D0 D0 1C 03 6C */ stfs f0, 0x36c(r28) /* 801F4574 001F14D4 C0 03 00 08 */ lfs f0, 8(r3) /* 801F4578 001F14D8 D0 1C 03 70 */ stfs f0, 0x370(r28) lbl_801F457C: /* 801F457C 001F14DC 3B 00 00 00 */ li r24, 0 /* 801F4580 001F14E0 7F C4 F3 78 */ mr r4, r30 lbl_801F4584: /* 801F4584 001F14E4 7F A5 EB 78 */ mr r5, r29 /* 801F4588 001F14E8 38 61 00 10 */ addi r3, r1, 0x10 /* 801F458C 001F14EC 3B 18 00 01 */ addi r24, r24, 1 /* 801F4590 001F14F0 4B E8 2B A5 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801F4594 001F14F4 A0 01 00 10 */ lhz r0, 0x10(r1) /* 801F4598 001F14F8 7F A3 EB 78 */ mr r3, r29 /* 801F459C 001F14FC 38 81 00 14 */ addi r4, r1, 0x14 /* 801F45A0 001F1500 B0 01 00 14 */ sth r0, 0x14(r1) /* 801F45A4 001F1504 4B E5 7F D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F45A8 001F1508 7C 64 1B 78 */ mr r4, r3 /* 801F45AC 001F150C 38 61 00 38 */ addi r3, r1, 0x38 /* 801F45B0 001F1510 4B EB 1F 9D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F45B4 001F1514 80 83 00 04 */ lwz r4, 4(r3) /* 801F45B8 001F1518 28 04 00 00 */ cmplwi r4, 0 /* 801F45BC 001F151C 41 82 00 14 */ beq lbl_801F45D0 /* 801F45C0 001F1520 A0 64 00 08 */ lhz r3, 8(r4) /* 801F45C4 001F1524 A0 1E 00 08 */ lhz r0, 8(r30) /* 801F45C8 001F1528 7C 03 00 40 */ cmplw r3, r0 /* 801F45CC 001F152C 40 82 FF B8 */ bne lbl_801F4584 lbl_801F45D0: /* 801F45D0 001F1530 7F 04 C3 78 */ mr r4, r24 /* 801F45D4 001F1534 38 7C 03 8C */ addi r3, r28, 0x38c /* 801F45D8 001F1538 48 00 2A D1 */ bl "reserve__Q24rstl63vectorFi" /* 801F45DC 001F153C 80 1C 03 74 */ lwz r0, 0x374(r28) /* 801F45E0 001F1540 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F45E4 001F1544 C7 E3 66 A0 */ lfsu f31, skZero3f@l(r3) /* 801F45E8 001F1548 2C 00 00 02 */ cmpwi r0, 2 /* 801F45EC 001F154C C3 C3 00 04 */ lfs f30, 4(r3) /* 801F45F0 001F1550 C3 A3 00 08 */ lfs f29, 8(r3) /* 801F45F4 001F1554 41 82 00 38 */ beq lbl_801F462C /* 801F45F8 001F1558 40 80 00 10 */ bge lbl_801F4608 /* 801F45FC 001F155C 2C 00 00 01 */ cmpwi r0, 1 /* 801F4600 001F1560 40 80 00 14 */ bge lbl_801F4614 /* 801F4604 001F1564 48 00 00 28 */ b lbl_801F462C lbl_801F4608: /* 801F4608 001F1568 2C 00 00 04 */ cmpwi r0, 4 /* 801F460C 001F156C 40 80 00 20 */ bge lbl_801F462C /* 801F4610 001F1570 48 00 00 28 */ b lbl_801F4638 lbl_801F4614: /* 801F4614 001F1574 28 1F 00 00 */ cmplwi r31, 0 /* 801F4618 001F1578 41 82 00 20 */ beq lbl_801F4638 /* 801F461C 001F157C C3 FF 00 40 */ lfs f31, 0x40(r31) /* 801F4620 001F1580 C3 DF 00 50 */ lfs f30, 0x50(r31) /* 801F4624 001F1584 C3 BF 00 60 */ lfs f29, 0x60(r31) /* 801F4628 001F1588 48 00 00 10 */ b lbl_801F4638 lbl_801F462C: /* 801F462C 001F158C C3 FE 00 40 */ lfs f31, 0x40(r30) /* 801F4630 001F1590 C3 DE 00 50 */ lfs f30, 0x50(r30) /* 801F4634 001F1594 C3 BE 00 60 */ lfs f29, 0x60(r30) lbl_801F4638: /* 801F4638 001F1598 7F DF F3 78 */ mr r31, r30 /* 801F463C 001F159C C3 82 AF 20 */ lfs f28, lbl_805ACC40@sda21(r2) lbl_801F4640: /* 801F4640 001F15A0 80 7C 03 90 */ lwz r3, 0x390(r28) /* 801F4644 001F15A4 80 1C 03 94 */ lwz r0, 0x394(r28) /* 801F4648 001F15A8 7C 03 00 00 */ cmpw r3, r0 /* 801F464C 001F15AC 40 80 01 A8 */ bge lbl_801F47F4 /* 801F4650 001F15B0 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 801F4654 001F15B4 38 00 00 00 */ li r0, 0 /* 801F4658 001F15B8 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 801F465C 001F15BC C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801F4660 001F15C0 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801F4664 001F15C4 D0 21 00 80 */ stfs f1, 0x80(r1) /* 801F4668 001F15C8 D0 41 00 84 */ stfs f2, 0x84(r1) /* 801F466C 001F15CC C0 1C 03 68 */ lfs f0, 0x368(r28) /* 801F4670 001F15D0 FC 1C 00 00 */ fcmpu cr0, f28, f0 /* 801F4674 001F15D4 40 82 00 1C */ bne lbl_801F4690 /* 801F4678 001F15D8 C0 1C 03 6C */ lfs f0, 0x36c(r28) /* 801F467C 001F15DC FC 1C 00 00 */ fcmpu cr0, f28, f0 /* 801F4680 001F15E0 40 82 00 10 */ bne lbl_801F4690 /* 801F4684 001F15E4 C0 1C 03 70 */ lfs f0, 0x370(r28) /* 801F4688 001F15E8 FC 1C 00 00 */ fcmpu cr0, f28, f0 /* 801F468C 001F15EC 41 82 00 08 */ beq lbl_801F4694 lbl_801F4690: /* 801F4690 001F15F0 38 00 00 01 */ li r0, 1 lbl_801F4694: /* 801F4694 001F15F4 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801F4698 001F15F8 41 82 00 64 */ beq lbl_801F46FC /* 801F469C 001F15FC 7F 84 E3 78 */ mr r4, r28 /* 801F46A0 001F1600 7F A5 EB 78 */ mr r5, r29 /* 801F46A4 001F1604 38 61 00 64 */ addi r3, r1, 0x64 /* 801F46A8 001F1608 48 00 05 99 */ bl FindPatternDir__10CPatternedFR13CStateManager /* 801F46AC 001F160C C0 41 00 64 */ lfs f2, 0x64(r1) /* 801F46B0 001F1610 7F 84 E3 78 */ mr r4, r28 /* 801F46B4 001F1614 C0 21 00 68 */ lfs f1, 0x68(r1) /* 801F46B8 001F1618 38 61 00 48 */ addi r3, r1, 0x48 /* 801F46BC 001F161C C0 01 00 6C */ lfs f0, 0x6c(r1) /* 801F46C0 001F1620 38 A1 00 70 */ addi r5, r1, 0x70 /* 801F46C4 001F1624 D0 41 00 70 */ stfs f2, 0x70(r1) /* 801F46C8 001F1628 D0 21 00 74 */ stfs f1, 0x74(r1) /* 801F46CC 001F162C D0 01 00 78 */ stfs f0, 0x78(r1) /* 801F46D0 001F1630 48 00 03 4D */ bl FindPatternRotation__10CPatternedFRC9CVector3f /* 801F46D4 001F1634 38 61 00 58 */ addi r3, r1, 0x58 /* 801F46D8 001F1638 38 81 00 48 */ addi r4, r1, 0x48 /* 801F46DC 001F163C 38 A1 00 7C */ addi r5, r1, 0x7c /* 801F46E0 001F1640 48 11 CB 85 */ bl Transform__11CQuaternionCFRC9CVector3f /* 801F46E4 001F1644 C0 41 00 58 */ lfs f2, 0x58(r1) /* 801F46E8 001F1648 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 801F46EC 001F164C C0 01 00 60 */ lfs f0, 0x60(r1) /* 801F46F0 001F1650 D0 41 00 7C */ stfs f2, 0x7c(r1) /* 801F46F4 001F1654 D0 21 00 80 */ stfs f1, 0x80(r1) /* 801F46F8 001F1658 D0 01 00 84 */ stfs f0, 0x84(r1) lbl_801F46FC: /* 801F46FC 001F165C C0 5F 00 40 */ lfs f2, 0x40(r31) /* 801F4700 001F1660 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F4704 001F1664 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801F4708 001F1668 EF 22 F8 28 */ fsubs f25, f2, f31 /* 801F470C 001F166C 80 1C 03 90 */ lwz r0, 0x390(r28) /* 801F4710 001F1670 EF 41 F0 28 */ fsubs f26, f1, f30 /* 801F4714 001F1674 80 BC 03 94 */ lwz r5, 0x394(r28) /* 801F4718 001F1678 EF 60 E8 28 */ fsubs f27, f0, f29 /* 801F471C 001F167C 83 1F 00 EC */ lwz r24, 0xec(r31) /* 801F4720 001F1680 7C 00 28 00 */ cmpw r0, r5 /* 801F4724 001F1684 C3 1F 00 E8 */ lfs f24, 0xe8(r31) /* 801F4728 001F1688 C2 E1 00 7C */ lfs f23, 0x7c(r1) /* 801F472C 001F168C C2 C1 00 80 */ lfs f22, 0x80(r1) /* 801F4730 001F1690 C2 A1 00 84 */ lfs f21, 0x84(r1) /* 801F4734 001F1694 8B 3F 00 F7 */ lbz r25, 0xf7(r31) /* 801F4738 001F1698 8B 5F 00 F8 */ lbz r26, 0xf8(r31) /* 801F473C 001F169C A3 7F 00 FA */ lhz r27, 0xfa(r31) /* 801F4740 001F16A0 41 80 00 1C */ blt lbl_801F475C /* 801F4744 001F16A4 2C 05 00 00 */ cmpwi r5, 0 /* 801F4748 001F16A8 38 7C 03 8C */ addi r3, r28, 0x38c /* 801F474C 001F16AC 38 80 00 04 */ li r4, 4 /* 801F4750 001F16B0 41 82 00 08 */ beq lbl_801F4758 /* 801F4754 001F16B4 54 A4 08 3C */ slwi r4, r5, 1 lbl_801F4758: /* 801F4758 001F16B8 48 00 29 51 */ bl "reserve__Q24rstl63vectorFi" lbl_801F475C: /* 801F475C 001F16BC 80 1C 03 90 */ lwz r0, 0x390(r28) /* 801F4760 001F16C0 80 7C 03 98 */ lwz r3, 0x398(r28) /* 801F4764 001F16C4 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801F4768 001F16C8 7C 63 02 15 */ add. r3, r3, r0 /* 801F476C 001F16CC 41 82 00 30 */ beq lbl_801F479C /* 801F4770 001F16D0 D3 23 00 00 */ stfs f25, 0(r3) /* 801F4774 001F16D4 D3 43 00 04 */ stfs f26, 4(r3) /* 801F4778 001F16D8 D3 63 00 08 */ stfs f27, 8(r3) /* 801F477C 001F16DC D2 E3 00 0C */ stfs f23, 0xc(r3) /* 801F4780 001F16E0 D2 C3 00 10 */ stfs f22, 0x10(r3) /* 801F4784 001F16E4 D2 A3 00 14 */ stfs f21, 0x14(r3) /* 801F4788 001F16E8 D3 03 00 18 */ stfs f24, 0x18(r3) /* 801F478C 001F16EC 9B 23 00 1C */ stb r25, 0x1c(r3) /* 801F4790 001F16F0 9B 43 00 1D */ stb r26, 0x1d(r3) /* 801F4794 001F16F4 B3 63 00 1E */ sth r27, 0x1e(r3) /* 801F4798 001F16F8 93 03 00 20 */ stw r24, 0x20(r3) lbl_801F479C: /* 801F479C 001F16FC 80 DC 03 90 */ lwz r6, 0x390(r28) /* 801F47A0 001F1700 7F E4 FB 78 */ mr r4, r31 /* 801F47A4 001F1704 7F A5 EB 78 */ mr r5, r29 /* 801F47A8 001F1708 38 61 00 08 */ addi r3, r1, 8 /* 801F47AC 001F170C 38 06 00 01 */ addi r0, r6, 1 /* 801F47B0 001F1710 90 1C 03 90 */ stw r0, 0x390(r28) /* 801F47B4 001F1714 4B E8 29 81 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801F47B8 001F1718 A0 01 00 08 */ lhz r0, 8(r1) /* 801F47BC 001F171C 7F A3 EB 78 */ mr r3, r29 /* 801F47C0 001F1720 38 81 00 0C */ addi r4, r1, 0xc /* 801F47C4 001F1724 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F47C8 001F1728 4B E5 7D AD */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F47CC 001F172C 7C 64 1B 78 */ mr r4, r3 /* 801F47D0 001F1730 38 61 00 30 */ addi r3, r1, 0x30 /* 801F47D4 001F1734 4B EB 1D 79 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F47D8 001F1738 83 E3 00 04 */ lwz r31, 4(r3) /* 801F47DC 001F173C 28 1F 00 00 */ cmplwi r31, 0 /* 801F47E0 001F1740 41 82 00 14 */ beq lbl_801F47F4 /* 801F47E4 001F1744 A0 7F 00 08 */ lhz r3, 8(r31) /* 801F47E8 001F1748 A0 1E 00 08 */ lhz r0, 8(r30) /* 801F47EC 001F174C 7C 03 00 40 */ cmplw r3, r0 /* 801F47F0 001F1750 40 82 FE 50 */ bne lbl_801F4640 lbl_801F47F4: /* 801F47F4 001F1754 88 1C 04 00 */ lbz r0, 0x400(r28) /* 801F47F8 001F1758 38 60 00 00 */ li r3, 0 /* 801F47FC 001F175C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801F4800 001F1760 98 1C 04 00 */ stb r0, 0x400(r28) /* 801F4804 001F1764 90 7C 03 9C */ stw r3, 0x39c(r28) /* 801F4808 001F1768 88 1C 03 28 */ lbz r0, 0x328(r28) /* 801F480C 001F176C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F4810 001F1770 98 1C 03 28 */ stb r0, 0x328(r28) /* 801F4814 001F1774 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801F4818 001F1778 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 801F481C 001F177C C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801F4820 001F1780 D0 1C 02 EC */ stfs f0, 0x2ec(r28) /* 801F4824 001F1784 D0 3C 02 F0 */ stfs f1, 0x2f0(r28) /* 801F4828 001F1788 D0 5C 02 F4 */ stfs f2, 0x2f4(r28) /* 801F482C 001F178C 80 1C 03 90 */ lwz r0, 0x390(r28) /* 801F4830 001F1790 2C 00 00 00 */ cmpwi r0, 0 /* 801F4834 001F1794 41 82 00 34 */ beq lbl_801F4868 /* 801F4838 001F1798 80 7C 03 98 */ lwz r3, 0x398(r28) /* 801F483C 001F179C C0 03 00 18 */ lfs f0, 0x18(r3) /* 801F4840 001F17A0 D0 1C 03 B0 */ stfs f0, 0x3b0(r28) /* 801F4844 001F17A4 80 7C 03 98 */ lwz r3, 0x398(r28) /* 801F4848 001F17A8 88 03 00 1C */ lbz r0, 0x1c(r3) /* 801F484C 001F17AC 90 1C 03 80 */ stw r0, 0x380(r28) /* 801F4850 001F17B0 80 7C 03 98 */ lwz r3, 0x398(r28) /* 801F4854 001F17B4 88 03 00 1D */ lbz r0, 0x1d(r3) /* 801F4858 001F17B8 90 1C 03 0C */ stw r0, 0x30c(r28) /* 801F485C 001F17BC 80 7C 03 98 */ lwz r3, 0x398(r28) /* 801F4860 001F17C0 A0 03 00 1E */ lhz r0, 0x1e(r3) /* 801F4864 001F17C4 90 1C 03 84 */ stw r0, 0x384(r28) lbl_801F4868: /* 801F4868 001F17C8 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 /* 801F486C 001F17CC CB E1 01 50 */ lfd f31, 0x150(r1) /* 801F4870 001F17D0 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 /* 801F4874 001F17D4 CB C1 01 40 */ lfd f30, 0x140(r1) /* 801F4878 001F17D8 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 /* 801F487C 001F17DC CB A1 01 30 */ lfd f29, 0x130(r1) /* 801F4880 001F17E0 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 /* 801F4884 001F17E4 CB 81 01 20 */ lfd f28, 0x120(r1) /* 801F4888 001F17E8 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 /* 801F488C 001F17EC CB 61 01 10 */ lfd f27, 0x110(r1) /* 801F4890 001F17F0 E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 /* 801F4894 001F17F4 CB 41 01 00 */ lfd f26, 0x100(r1) /* 801F4898 001F17F8 E3 21 00 F8 */ psq_l f25, 248(r1), 0, qr0 /* 801F489C 001F17FC CB 21 00 F0 */ lfd f25, 0xf0(r1) /* 801F48A0 001F1800 E3 01 00 E8 */ psq_l f24, 232(r1), 0, qr0 /* 801F48A4 001F1804 CB 01 00 E0 */ lfd f24, 0xe0(r1) /* 801F48A8 001F1808 E2 E1 00 D8 */ psq_l f23, 216(r1), 0, qr0 /* 801F48AC 001F180C CA E1 00 D0 */ lfd f23, 0xd0(r1) /* 801F48B0 001F1810 E2 C1 00 C8 */ psq_l f22, 200(r1), 0, qr0 /* 801F48B4 001F1814 CA C1 00 C0 */ lfd f22, 0xc0(r1) /* 801F48B8 001F1818 E2 A1 00 B8 */ psq_l f21, 184(r1), 0, qr0 /* 801F48BC 001F181C CA A1 00 B0 */ lfd f21, 0xb0(r1) /* 801F48C0 001F1820 BB 01 00 90 */ lmw r24, 0x90(r1) /* 801F48C4 001F1824 80 01 01 64 */ lwz r0, 0x164(r1) /* 801F48C8 001F1828 7C 08 03 A6 */ mtlr r0 /* 801F48CC 001F182C 38 21 01 60 */ addi r1, r1, 0x160 /* 801F48D0 001F1830 4E 80 00 20 */ blr .global GetDesiredAttackState__10CPatternedCFR13CStateManager GetDesiredAttackState__10CPatternedCFR13CStateManager: /* 801F48D4 001F1834 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F48D8 001F1838 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801F48DC 001F183C C1 23 00 50 */ lfs f9, 0x50(r3) /* 801F48E0 001F1840 C0 64 00 50 */ lfs f3, 0x50(r4) /* 801F48E4 001F1844 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801F48E8 001F1848 C0 A3 00 40 */ lfs f5, 0x40(r3) /* 801F48EC 001F184C EC E9 18 28 */ fsubs f7, f9, f3 /* 801F48F0 001F1850 C1 04 00 60 */ lfs f8, 0x60(r4) /* 801F48F4 001F1854 EC 85 00 28 */ fsubs f4, f5, f0 /* 801F48F8 001F1858 C1 43 00 60 */ lfs f10, 0x60(r3) /* 801F48FC 001F185C EC 27 01 F2 */ fmuls f1, f7, f7 /* 801F4900 001F1860 D0 61 00 0C */ stfs f3, 0xc(r1) /* 801F4904 001F1864 EC CA 40 28 */ fsubs f6, f10, f8 /* 801F4908 001F1868 C1 63 02 FC */ lfs f11, 0x2fc(r3) /* 801F490C 001F186C EC 44 01 32 */ fmuls f2, f4, f4 /* 801F4910 001F1870 D0 01 00 08 */ stfs f0, 8(r1) /* 801F4914 001F1874 EC 66 01 B2 */ fmuls f3, f6, f6 /* 801F4918 001F1878 EC 0B 02 F2 */ fmuls f0, f11, f11 /* 801F491C 001F187C D1 01 00 10 */ stfs f8, 0x10(r1) /* 801F4920 001F1880 EC 22 08 2A */ fadds f1, f2, f1 /* 801F4924 001F1884 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 801F4928 001F1888 EC 23 08 2A */ fadds f1, f3, f1 /* 801F492C 001F188C D1 21 00 18 */ stfs f9, 0x18(r1) /* 801F4930 001F1890 D1 41 00 1C */ stfs f10, 0x1c(r1) /* 801F4934 001F1894 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F4938 001F1898 D0 81 00 20 */ stfs f4, 0x20(r1) /* 801F493C 001F189C D0 E1 00 24 */ stfs f7, 0x24(r1) /* 801F4940 001F18A0 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 801F4944 001F18A4 40 80 00 0C */ bge lbl_801F4950 /* 801F4948 001F18A8 38 60 00 0C */ li r3, 0xc /* 801F494C 001F18AC 48 00 00 20 */ b lbl_801F496C lbl_801F4950: /* 801F4950 001F18B0 C0 03 03 00 */ lfs f0, 0x300(r3) /* 801F4954 001F18B4 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F4958 001F18B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F495C 001F18BC 40 81 00 0C */ ble lbl_801F4968 /* 801F4960 001F18C0 38 60 00 0B */ li r3, 0xb /* 801F4964 001F18C4 48 00 00 08 */ b lbl_801F496C lbl_801F4968: /* 801F4968 001F18C8 38 60 00 0A */ li r3, 0xa lbl_801F496C: /* 801F496C 001F18CC 38 21 00 30 */ addi r1, r1, 0x30 /* 801F4970 001F18D0 4E 80 00 20 */ blr .global GetDestWaypoints__10CPatternedCFR13CStateManager GetDestWaypoints__10CPatternedCFR13CStateManager: /* 801F4974 001F18D4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801F4978 001F18D8 7C 08 02 A6 */ mflr r0 /* 801F497C 001F18DC 90 01 00 44 */ stw r0, 0x44(r1) /* 801F4980 001F18E0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801F4984 001F18E4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801F4988 001F18E8 7C BE 2B 78 */ mr r30, r5 /* 801F498C 001F18EC 93 A1 00 34 */ stw r29, 0x34(r1) /* 801F4990 001F18F0 7C 7D 1B 78 */ mr r29, r3 /* 801F4994 001F18F4 7F C3 F3 78 */ mr r3, r30 /* 801F4998 001F18F8 A0 04 02 DC */ lhz r0, 0x2dc(r4) /* 801F499C 001F18FC 38 81 00 10 */ addi r4, r1, 0x10 /* 801F49A0 001F1900 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F49A4 001F1904 4B E5 7B D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F49A8 001F1908 7C 64 1B 78 */ mr r4, r3 /* 801F49AC 001F190C 38 61 00 1C */ addi r3, r1, 0x1c /* 801F49B0 001F1910 4B EB 1B 9D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F49B4 001F1914 83 E3 00 04 */ lwz r31, 4(r3) /* 801F49B8 001F1918 38 00 00 00 */ li r0, 0 /* 801F49BC 001F191C 28 1F 00 00 */ cmplwi r31, 0 /* 801F49C0 001F1920 41 82 00 38 */ beq lbl_801F49F8 /* 801F49C4 001F1924 7F E4 FB 78 */ mr r4, r31 /* 801F49C8 001F1928 7F C5 F3 78 */ mr r5, r30 /* 801F49CC 001F192C 38 61 00 08 */ addi r3, r1, 8 /* 801F49D0 001F1930 4B E8 26 DD */ bl FollowWaypoint__15CScriptWaypointCFR13CStateManager /* 801F49D4 001F1934 A0 01 00 08 */ lhz r0, 8(r1) /* 801F49D8 001F1938 7F C3 F3 78 */ mr r3, r30 /* 801F49DC 001F193C 38 81 00 0C */ addi r4, r1, 0xc /* 801F49E0 001F1940 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F49E4 001F1944 4B E5 7B 91 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F49E8 001F1948 7C 64 1B 78 */ mr r4, r3 /* 801F49EC 001F194C 38 61 00 14 */ addi r3, r1, 0x14 /* 801F49F0 001F1950 4B EB 1B 5D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F49F4 001F1954 80 03 00 04 */ lwz r0, 4(r3) lbl_801F49F8: /* 801F49F8 001F1958 93 FD 00 00 */ stw r31, 0(r29) /* 801F49FC 001F195C 90 1D 00 04 */ stw r0, 4(r29) /* 801F4A00 001F1960 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F4A04 001F1964 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801F4A08 001F1968 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801F4A0C 001F196C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801F4A10 001F1970 7C 08 03 A6 */ mtlr r0 /* 801F4A14 001F1974 38 21 00 40 */ addi r1, r1, 0x40 /* 801F4A18 001F1978 4E 80 00 20 */ blr .global FindPatternRotation__10CPatternedFRC9CVector3f FindPatternRotation__10CPatternedFRC9CVector3f: /* 801F4A1C 001F197C 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801F4A20 001F1980 7C 08 02 A6 */ mflr r0 /* 801F4A24 001F1984 90 01 01 04 */ stw r0, 0x104(r1) /* 801F4A28 001F1988 93 E1 00 FC */ stw r31, 0xfc(r1) /* 801F4A2C 001F198C 7C BF 2B 78 */ mr r31, r5 /* 801F4A30 001F1990 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 801F4A34 001F1994 7C 9E 23 78 */ mr r30, r4 /* 801F4A38 001F1998 93 A1 00 F4 */ stw r29, 0xf4(r1) /* 801F4A3C 001F199C 7C 7D 1B 78 */ mr r29, r3 /* 801F4A40 001F19A0 38 61 00 CC */ addi r3, r1, 0xcc /* 801F4A44 001F19A4 C0 05 00 00 */ lfs f0, 0(r5) /* 801F4A48 001F19A8 C0 45 00 04 */ lfs f2, 4(r5) /* 801F4A4C 001F19AC C0 25 00 08 */ lfs f1, 8(r5) /* 801F4A50 001F19B0 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 801F4A54 001F19B4 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F4A58 001F19B8 D0 41 00 DC */ stfs f2, 0xdc(r1) /* 801F4A5C 001F19BC D0 21 00 E0 */ stfs f1, 0xe0(r1) /* 801F4A60 001F19C0 C0 24 03 68 */ lfs f1, 0x368(r4) /* 801F4A64 001F19C4 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 801F4A68 001F19C8 C0 24 03 6C */ lfs f1, 0x36c(r4) /* 801F4A6C 001F19CC D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 801F4A70 001F19D0 C0 24 03 70 */ lfs f1, 0x370(r4) /* 801F4A74 001F19D4 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801F4A78 001F19D8 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 801F4A7C 001F19DC D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 801F4A80 001F19E0 48 11 FE 79 */ bl Normalize__9CVector3fFv /* 801F4A84 001F19E4 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801F4A88 001F19E8 48 11 FE 71 */ bl Normalize__9CVector3fFv /* 801F4A8C 001F19EC C0 41 00 D0 */ lfs f2, 0xd0(r1) /* 801F4A90 001F19F0 C0 01 00 DC */ lfs f0, 0xdc(r1) /* 801F4A94 001F19F4 C0 21 00 CC */ lfs f1, 0xcc(r1) /* 801F4A98 001F19F8 EC A2 00 28 */ fsubs f5, f2, f0 /* 801F4A9C 001F19FC C0 01 00 D8 */ lfs f0, 0xd8(r1) /* 801F4AA0 001F1A00 C0 41 00 D4 */ lfs f2, 0xd4(r1) /* 801F4AA4 001F1A04 EC 61 00 28 */ fsubs f3, f1, f0 /* 801F4AA8 001F1A08 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 801F4AAC 001F1A0C EC 25 01 72 */ fmuls f1, f5, f5 /* 801F4AB0 001F1A10 EC 82 00 28 */ fsubs f4, f2, f0 /* 801F4AB4 001F1A14 C0 02 AF 24 */ lfs f0, lbl_805ACC44@sda21(r2) /* 801F4AB8 001F1A18 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801F4ABC 001F1A1C D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 801F4AC0 001F1A20 EC 64 01 32 */ fmuls f3, f4, f4 /* 801F4AC4 001F1A24 EC 22 08 2A */ fadds f1, f2, f1 /* 801F4AC8 001F1A28 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 801F4ACC 001F1A2C D0 81 00 AC */ stfs f4, 0xac(r1) /* 801F4AD0 001F1A30 EC 23 08 2A */ fadds f1, f3, f1 /* 801F4AD4 001F1A34 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F4AD8 001F1A38 40 81 00 20 */ ble lbl_801F4AF8 /* 801F4ADC 001F1A3C C0 02 AF 28 */ lfs f0, lbl_805ACC48@sda21(r2) /* 801F4AE0 001F1A40 38 61 00 94 */ addi r3, r1, 0x94 /* 801F4AE4 001F1A44 38 81 00 08 */ addi r4, r1, 8 /* 801F4AE8 001F1A48 D0 01 00 08 */ stfs f0, 8(r1) /* 801F4AEC 001F1A4C 48 11 C6 0D */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 801F4AF0 001F1A50 38 61 00 94 */ addi r3, r1, 0x94 /* 801F4AF4 001F1A54 48 00 00 18 */ b lbl_801F4B0C lbl_801F4AF8: /* 801F4AF8 001F1A58 38 61 00 84 */ addi r3, r1, 0x84 /* 801F4AFC 001F1A5C 38 81 00 CC */ addi r4, r1, 0xcc /* 801F4B00 001F1A60 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 801F4B04 001F1A64 48 11 CF B5 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f /* 801F4B08 001F1A68 38 61 00 84 */ addi r3, r1, 0x84 lbl_801F4B0C: /* 801F4B0C 001F1A6C C0 63 00 00 */ lfs f3, 0(r3) /* 801F4B10 001F1A70 D0 61 00 BC */ stfs f3, 0xbc(r1) /* 801F4B14 001F1A74 C0 43 00 04 */ lfs f2, 4(r3) /* 801F4B18 001F1A78 D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 801F4B1C 001F1A7C C0 23 00 08 */ lfs f1, 8(r3) /* 801F4B20 001F1A80 D0 21 00 C4 */ stfs f1, 0xc4(r1) /* 801F4B24 001F1A84 C0 03 00 0C */ lfs f0, 0xc(r3) /* 801F4B28 001F1A88 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 801F4B2C 001F1A8C 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F4B30 001F1A90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F4B34 001F1A94 41 82 00 D0 */ beq lbl_801F4C04 /* 801F4B38 001F1A98 FC A0 00 50 */ fneg f5, f0 /* 801F4B3C 001F1A9C C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F4B40 001F1AA0 FC 80 08 50 */ fneg f4, f1 /* 801F4B44 001F1AA4 D0 61 00 44 */ stfs f3, 0x44(r1) /* 801F4B48 001F1AA8 FC 20 10 50 */ fneg f1, f2 /* 801F4B4C 001F1AAC 38 61 00 64 */ addi r3, r1, 0x64 /* 801F4B50 001F1AB0 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 801F4B54 001F1AB4 38 81 00 BC */ addi r4, r1, 0xbc /* 801F4B58 001F1AB8 38 A1 00 54 */ addi r5, r1, 0x54 /* 801F4B5C 001F1ABC D0 21 00 48 */ stfs f1, 0x48(r1) /* 801F4B60 001F1AC0 D0 A1 00 50 */ stfs f5, 0x50(r1) /* 801F4B64 001F1AC4 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801F4B68 001F1AC8 C0 1E 03 68 */ lfs f0, 0x368(r30) /* 801F4B6C 001F1ACC D0 01 00 58 */ stfs f0, 0x58(r1) /* 801F4B70 001F1AD0 C0 1E 03 6C */ lfs f0, 0x36c(r30) /* 801F4B74 001F1AD4 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801F4B78 001F1AD8 C0 1E 03 70 */ lfs f0, 0x370(r30) /* 801F4B7C 001F1ADC D0 01 00 60 */ stfs f0, 0x60(r1) /* 801F4B80 001F1AE0 48 11 C6 21 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801F4B84 001F1AE4 38 61 00 74 */ addi r3, r1, 0x74 /* 801F4B88 001F1AE8 38 81 00 64 */ addi r4, r1, 0x64 /* 801F4B8C 001F1AEC 38 A1 00 44 */ addi r5, r1, 0x44 /* 801F4B90 001F1AF0 48 11 C6 11 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801F4B94 001F1AF4 C0 41 00 78 */ lfs f2, 0x78(r1) /* 801F4B98 001F1AF8 7F E4 FB 78 */ mr r4, r31 /* 801F4B9C 001F1AFC C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801F4BA0 001F1B00 38 61 00 0C */ addi r3, r1, 0xc /* 801F4BA4 001F1B04 C0 01 00 80 */ lfs f0, 0x80(r1) /* 801F4BA8 001F1B08 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801F4BAC 001F1B0C D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801F4BB0 001F1B10 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801F4BB4 001F1B14 48 11 FC 9D */ bl AsNormalized__9CVector3fCFv /* 801F4BB8 001F1B18 38 61 00 18 */ addi r3, r1, 0x18 /* 801F4BBC 001F1B1C 38 81 00 B0 */ addi r4, r1, 0xb0 /* 801F4BC0 001F1B20 48 11 FC 91 */ bl AsNormalized__9CVector3fCFv /* 801F4BC4 001F1B24 38 61 00 24 */ addi r3, r1, 0x24 /* 801F4BC8 001F1B28 38 81 00 18 */ addi r4, r1, 0x18 /* 801F4BCC 001F1B2C 38 A1 00 0C */ addi r5, r1, 0xc /* 801F4BD0 001F1B30 48 11 CE E9 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f /* 801F4BD4 001F1B34 38 61 00 34 */ addi r3, r1, 0x34 /* 801F4BD8 001F1B38 38 81 00 24 */ addi r4, r1, 0x24 /* 801F4BDC 001F1B3C 38 A1 00 BC */ addi r5, r1, 0xbc /* 801F4BE0 001F1B40 48 11 C5 C1 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801F4BE4 001F1B44 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801F4BE8 001F1B48 80 81 00 38 */ lwz r4, 0x38(r1) /* 801F4BEC 001F1B4C 80 61 00 3C */ lwz r3, 0x3c(r1) /* 801F4BF0 001F1B50 80 01 00 40 */ lwz r0, 0x40(r1) /* 801F4BF4 001F1B54 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801F4BF8 001F1B58 90 81 00 C0 */ stw r4, 0xc0(r1) /* 801F4BFC 001F1B5C 90 61 00 C4 */ stw r3, 0xc4(r1) /* 801F4C00 001F1B60 90 01 00 C8 */ stw r0, 0xc8(r1) lbl_801F4C04: /* 801F4C04 001F1B64 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 801F4C08 001F1B68 D0 1D 00 00 */ stfs f0, 0(r29) /* 801F4C0C 001F1B6C C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801F4C10 001F1B70 D0 1D 00 04 */ stfs f0, 4(r29) /* 801F4C14 001F1B74 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 801F4C18 001F1B78 D0 1D 00 08 */ stfs f0, 8(r29) /* 801F4C1C 001F1B7C C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 801F4C20 001F1B80 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 801F4C24 001F1B84 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 801F4C28 001F1B88 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 801F4C2C 001F1B8C 83 A1 00 F4 */ lwz r29, 0xf4(r1) /* 801F4C30 001F1B90 80 01 01 04 */ lwz r0, 0x104(r1) /* 801F4C34 001F1B94 7C 08 03 A6 */ mtlr r0 /* 801F4C38 001F1B98 38 21 01 00 */ addi r1, r1, 0x100 /* 801F4C3C 001F1B9C 4E 80 00 20 */ blr .global FindPatternDir__10CPatternedFR13CStateManager FindPatternDir__10CPatternedFR13CStateManager: /* 801F4C40 001F1BA0 80 04 03 78 */ lwz r0, 0x378(r4) /* 801F4C44 001F1BA4 3C C0 80 5A */ lis r6, skZero3f@ha /* 801F4C48 001F1BA8 C4 86 66 A0 */ lfsu f4, skZero3f@l(r6) /* 801F4C4C 001F1BAC 2C 00 00 02 */ cmpwi r0, 2 /* 801F4C50 001F1BB0 C0 46 00 04 */ lfs f2, 4(r6) /* 801F4C54 001F1BB4 C0 06 00 08 */ lfs f0, 8(r6) /* 801F4C58 001F1BB8 41 82 00 78 */ beq lbl_801F4CD0 /* 801F4C5C 001F1BBC 40 80 00 14 */ bge lbl_801F4C70 /* 801F4C60 001F1BC0 2C 00 00 00 */ cmpwi r0, 0 /* 801F4C64 001F1BC4 41 82 00 40 */ beq lbl_801F4CA4 /* 801F4C68 001F1BC8 40 80 00 14 */ bge lbl_801F4C7C /* 801F4C6C 001F1BCC 48 00 00 90 */ b lbl_801F4CFC lbl_801F4C70: /* 801F4C70 001F1BD0 2C 00 00 04 */ cmpwi r0, 4 /* 801F4C74 001F1BD4 40 80 00 88 */ bge lbl_801F4CFC /* 801F4C78 001F1BD8 48 00 00 78 */ b lbl_801F4CF0 lbl_801F4C7C: /* 801F4C7C 001F1BDC C0 24 03 5C */ lfs f1, 0x35c(r4) /* 801F4C80 001F1BE0 C0 04 03 50 */ lfs f0, 0x350(r4) /* 801F4C84 001F1BE4 C0 64 03 60 */ lfs f3, 0x360(r4) /* 801F4C88 001F1BE8 C0 44 03 54 */ lfs f2, 0x354(r4) /* 801F4C8C 001F1BEC EC 81 00 28 */ fsubs f4, f1, f0 /* 801F4C90 001F1BF0 C0 24 03 64 */ lfs f1, 0x364(r4) /* 801F4C94 001F1BF4 C0 04 03 58 */ lfs f0, 0x358(r4) /* 801F4C98 001F1BF8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801F4C9C 001F1BFC EC 01 00 28 */ fsubs f0, f1, f0 /* 801F4CA0 001F1C00 48 00 00 5C */ b lbl_801F4CFC lbl_801F4CA4: /* 801F4CA4 001F1C04 80 A5 08 4C */ lwz r5, 0x84c(r5) /* 801F4CA8 001F1C08 C0 04 03 50 */ lfs f0, 0x350(r4) /* 801F4CAC 001F1C0C C0 25 00 40 */ lfs f1, 0x40(r5) /* 801F4CB0 001F1C10 C0 65 00 50 */ lfs f3, 0x50(r5) /* 801F4CB4 001F1C14 C0 44 03 54 */ lfs f2, 0x354(r4) /* 801F4CB8 001F1C18 EC 81 00 28 */ fsubs f4, f1, f0 /* 801F4CBC 001F1C1C C0 25 00 60 */ lfs f1, 0x60(r5) /* 801F4CC0 001F1C20 C0 04 03 58 */ lfs f0, 0x358(r4) /* 801F4CC4 001F1C24 EC 43 10 28 */ fsubs f2, f3, f2 /* 801F4CC8 001F1C28 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F4CCC 001F1C2C 48 00 00 30 */ b lbl_801F4CFC lbl_801F4CD0: /* 801F4CD0 001F1C30 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801F4CD4 001F1C34 C0 44 00 38 */ lfs f2, 0x38(r4) /* 801F4CD8 001F1C38 C0 24 00 48 */ lfs f1, 0x48(r4) /* 801F4CDC 001F1C3C C0 04 00 58 */ lfs f0, 0x58(r4) /* 801F4CE0 001F1C40 FC 80 10 50 */ fneg f4, f2 /* 801F4CE4 001F1C44 FC 40 08 50 */ fneg f2, f1 /* 801F4CE8 001F1C48 FC 00 00 50 */ fneg f0, f0 /* 801F4CEC 001F1C4C 48 00 00 10 */ b lbl_801F4CFC lbl_801F4CF0: /* 801F4CF0 001F1C50 C0 84 00 38 */ lfs f4, 0x38(r4) /* 801F4CF4 001F1C54 C0 44 00 48 */ lfs f2, 0x48(r4) /* 801F4CF8 001F1C58 C0 04 00 58 */ lfs f0, 0x58(r4) lbl_801F4CFC: /* 801F4CFC 001F1C5C D0 83 00 00 */ stfs f4, 0(r3) /* 801F4D00 001F1C60 D0 43 00 04 */ stfs f2, 4(r3) /* 801F4D04 001F1C64 D0 03 00 08 */ stfs f0, 8(r3) /* 801F4D08 001F1C68 4E 80 00 20 */ blr .global GetStepDirection__10CPatternedFRC9CVector3f GetStepDirection__10CPatternedFRC9CVector3f: /* 801F4D0C 001F1C6C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F4D10 001F1C70 7C 08 02 A6 */ mflr r0 /* 801F4D14 001F1C74 7C 66 1B 78 */ mr r6, r3 /* 801F4D18 001F1C78 7C 85 23 78 */ mr r5, r4 /* 801F4D1C 001F1C7C 90 01 00 24 */ stw r0, 0x24(r1) /* 801F4D20 001F1C80 38 61 00 08 */ addi r3, r1, 8 /* 801F4D24 001F1C84 38 86 00 34 */ addi r4, r6, 0x34 /* 801F4D28 001F1C88 48 11 DC FD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801F4D2C 001F1C8C C0 41 00 08 */ lfs f2, 8(r1) /* 801F4D30 001F1C90 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 801F4D34 001F1C94 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801F4D38 001F1C98 38 83 67 24 */ addi r4, r3, lbl_805A6724@l /* 801F4D3C 001F1C9C C0 01 00 10 */ lfs f0, 0x10(r1) /* 801F4D40 001F1CA0 38 61 00 14 */ addi r3, r1, 0x14 /* 801F4D44 001F1CA4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801F4D48 001F1CA8 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F4D4C 001F1CAC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801F4D50 001F1CB0 48 11 F8 E1 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801F4D54 001F1CB4 C0 02 AF 2C */ lfs f0, lbl_805ACC4C@sda21(r2) /* 801F4D58 001F1CB8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F4D5C 001F1CBC 40 80 00 0C */ bge lbl_801F4D68 /* 801F4D60 001F1CC0 38 60 00 00 */ li r3, 0 /* 801F4D64 001F1CC4 48 00 00 5C */ b lbl_801F4DC0 lbl_801F4D68: /* 801F4D68 001F1CC8 C0 02 AF 30 */ lfs f0, lbl_805ACC50@sda21(r2) /* 801F4D6C 001F1CCC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F4D70 001F1CD0 40 81 00 0C */ ble lbl_801F4D7C /* 801F4D74 001F1CD4 38 60 00 01 */ li r3, 1 /* 801F4D78 001F1CD8 48 00 00 48 */ b lbl_801F4DC0 lbl_801F4D7C: /* 801F4D7C 001F1CDC 3C 60 80 5A */ lis r3, lbl_805A6718@ha /* 801F4D80 001F1CE0 C0 21 00 18 */ lfs f1, 0x18(r1) /* 801F4D84 001F1CE4 38 63 67 18 */ addi r3, r3, lbl_805A6718@l /* 801F4D88 001F1CE8 C0 61 00 14 */ lfs f3, 0x14(r1) /* 801F4D8C 001F1CEC C0 03 00 04 */ lfs f0, 4(r3) /* 801F4D90 001F1CF0 C0 43 00 00 */ lfs f2, 0(r3) /* 801F4D94 001F1CF4 EC 21 00 32 */ fmuls f1, f1, f0 /* 801F4D98 001F1CF8 C0 A1 00 1C */ lfs f5, 0x1c(r1) /* 801F4D9C 001F1CFC C0 83 00 08 */ lfs f4, 8(r3) /* 801F4DA0 001F1D00 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F4DA4 001F1D04 EC 23 08 BA */ fmadds f1, f3, f2, f1 /* 801F4DA8 001F1D08 EC 25 09 3A */ fmadds f1, f5, f4, f1 /* 801F4DAC 001F1D0C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F4DB0 001F1D10 40 81 00 0C */ ble lbl_801F4DBC /* 801F4DB4 001F1D14 38 60 00 03 */ li r3, 3 /* 801F4DB8 001F1D18 48 00 00 08 */ b lbl_801F4DC0 lbl_801F4DBC: /* 801F4DBC 001F1D1C 38 60 00 02 */ li r3, 2 lbl_801F4DC0: /* 801F4DC0 001F1D20 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F4DC4 001F1D24 7C 08 03 A6 */ mtlr r0 /* 801F4DC8 001F1D28 38 21 00 20 */ addi r1, r1, 0x20 /* 801F4DCC 001F1D2C 4E 80 00 20 */ blr .global IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f: /* 801F4DD0 001F1D30 94 21 F7 10 */ stwu r1, -0x8f0(r1) /* 801F4DD4 001F1D34 7C 08 02 A6 */ mflr r0 /* 801F4DD8 001F1D38 90 01 08 F4 */ stw r0, 0x8f4(r1) /* 801F4DDC 001F1D3C DB E1 08 E0 */ stfd f31, 0x8e0(r1) /* 801F4DE0 001F1D40 F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 /* 801F4DE4 001F1D44 BF 61 08 CC */ stmw r27, 0x8cc(r1) /* 801F4DE8 001F1D48 38 00 00 00 */ li r0, 0 /* 801F4DEC 001F1D4C 80 ED 92 C4 */ lwz r7, lbl_805A7E84@sda21(r13) /* 801F4DF0 001F1D50 90 01 00 C0 */ stw r0, 0xc0(r1) /* 801F4DF4 001F1D54 7C 7B 1B 78 */ mr r27, r3 /* 801F4DF8 001F1D58 7C 9C 23 78 */ mr r28, r4 /* 801F4DFC 001F1D5C 7C BD 2B 78 */ mr r29, r5 /* 801F4E00 001F1D60 7C DE 33 78 */ mr r30, r6 /* 801F4E04 001F1D64 7C E5 3B 78 */ mr r5, r7 /* 801F4E08 001F1D68 3B E0 00 00 */ li r31, 0 /* 801F4E0C 001F1D6C 38 60 00 00 */ li r3, 0 /* 801F4E10 001F1D70 38 80 00 01 */ li r4, 1 /* 801F4E14 001F1D74 48 19 50 E1 */ bl __shl2i /* 801F4E18 001F1D78 C0 3E 00 04 */ lfs f1, 4(r30) /* 801F4E1C 001F1D7C 38 A0 00 01 */ li r5, 1 /* 801F4E20 001F1D80 C0 1D 00 04 */ lfs f0, 4(r29) /* 801F4E24 001F1D84 38 00 00 00 */ li r0, 0 /* 801F4E28 001F1D88 C0 7E 00 08 */ lfs f3, 8(r30) /* 801F4E2C 001F1D8C C0 5D 00 08 */ lfs f2, 8(r29) /* 801F4E30 001F1D90 EC 81 00 28 */ fsubs f4, f1, f0 /* 801F4E34 001F1D94 C0 3E 00 00 */ lfs f1, 0(r30) /* 801F4E38 001F1D98 C0 1D 00 00 */ lfs f0, 0(r29) /* 801F4E3C 001F1D9C EC 43 10 28 */ fsubs f2, f3, f2 /* 801F4E40 001F1DA0 90 61 00 78 */ stw r3, 0x78(r1) /* 801F4E44 001F1DA4 38 61 00 24 */ addi r3, r1, 0x24 /* 801F4E48 001F1DA8 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F4E4C 001F1DAC 90 A1 00 58 */ stw r5, 0x58(r1) /* 801F4E50 001F1DB0 90 81 00 7C */ stw r4, 0x7c(r1) /* 801F4E54 001F1DB4 90 01 00 84 */ stw r0, 0x84(r1) /* 801F4E58 001F1DB8 90 01 00 80 */ stw r0, 0x80(r1) /* 801F4E5C 001F1DBC 90 A1 00 88 */ stw r5, 0x88(r1) /* 801F4E60 001F1DC0 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801F4E64 001F1DC4 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801F4E68 001F1DC8 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801F4E6C 001F1DCC 48 11 F8 8D */ bl CanBeNormalized__9CVector3fCFv /* 801F4E70 001F1DD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F4E74 001F1DD4 41 82 00 B0 */ beq lbl_801F4F24 /* 801F4E78 001F1DD8 38 61 00 0C */ addi r3, r1, 0xc /* 801F4E7C 001F1DDC 38 81 00 24 */ addi r4, r1, 0x24 /* 801F4E80 001F1DE0 48 11 F9 D1 */ bl AsNormalized__9CVector3fCFv /* 801F4E84 001F1DE4 C0 41 00 0C */ lfs f2, 0xc(r1) /* 801F4E88 001F1DE8 38 61 00 24 */ addi r3, r1, 0x24 /* 801F4E8C 001F1DEC C0 21 00 10 */ lfs f1, 0x10(r1) /* 801F4E90 001F1DF0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801F4E94 001F1DF4 D0 41 00 18 */ stfs f2, 0x18(r1) /* 801F4E98 001F1DF8 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801F4E9C 001F1DFC D0 01 00 20 */ stfs f0, 0x20(r1) /* 801F4EA0 001F1E00 48 11 FA 19 */ bl Magnitude__9CVector3fCFv /* 801F4EA4 001F1E04 FF E0 08 90 */ fmr f31, f1 /* 801F4EA8 001F1E08 7F 83 E3 78 */ mr r3, r28 /* 801F4EAC 001F1E0C 7F A5 EB 78 */ mr r5, r29 /* 801F4EB0 001F1E10 7F 68 DB 78 */ mr r8, r27 /* 801F4EB4 001F1E14 38 81 00 C0 */ addi r4, r1, 0xc0 /* 801F4EB8 001F1E18 38 C1 00 18 */ addi r6, r1, 0x18 /* 801F4EBC 001F1E1C 38 E1 00 78 */ addi r7, r1, 0x78 /* 801F4EC0 001F1E20 4B E5 78 19 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" /* 801F4EC4 001F1E24 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F4EC8 001F1E28 38 60 00 00 */ li r3, 0 /* 801F4ECC 001F1E2C 80 AD 92 C8 */ lwz r5, lbl_805A7E88@sda21(r13) /* 801F4ED0 001F1E30 38 80 00 01 */ li r4, 1 /* 801F4ED4 001F1E34 B0 01 00 08 */ sth r0, 8(r1) /* 801F4ED8 001F1E38 48 19 50 1D */ bl __shl2i /* 801F4EDC 001F1E3C 39 40 00 01 */ li r10, 1 /* 801F4EE0 001F1E40 38 00 00 00 */ li r0, 0 /* 801F4EE4 001F1E44 90 81 00 64 */ stw r4, 0x64(r1) /* 801F4EE8 001F1E48 FC 20 F8 90 */ fmr f1, f31 /* 801F4EEC 001F1E4C 7F 84 E3 78 */ mr r4, r28 /* 801F4EF0 001F1E50 7F A6 EB 78 */ mr r6, r29 /* 801F4EF4 001F1E54 90 61 00 60 */ stw r3, 0x60(r1) /* 801F4EF8 001F1E58 38 61 00 90 */ addi r3, r1, 0x90 /* 801F4EFC 001F1E5C 38 A1 00 08 */ addi r5, r1, 8 /* 801F4F00 001F1E60 91 41 00 40 */ stw r10, 0x40(r1) /* 801F4F04 001F1E64 38 E1 00 18 */ addi r7, r1, 0x18 /* 801F4F08 001F1E68 39 01 00 60 */ addi r8, r1, 0x60 /* 801F4F0C 001F1E6C 39 21 00 C0 */ addi r9, r1, 0xc0 /* 801F4F10 001F1E70 90 01 00 6C */ stw r0, 0x6c(r1) /* 801F4F14 001F1E74 90 01 00 68 */ stw r0, 0x68(r1) /* 801F4F18 001F1E78 91 41 00 70 */ stw r10, 0x70(r1) /* 801F4F1C 001F1E7C 4B E5 80 A9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" /* 801F4F20 001F1E80 8B E1 00 B0 */ lbz r31, 0xb0(r1) lbl_801F4F24: /* 801F4F24 001F1E84 80 A1 00 C0 */ lwz r5, 0xc0(r1) /* 801F4F28 001F1E88 38 60 00 00 */ li r3, 0 /* 801F4F2C 001F1E8C 2C 05 00 00 */ cmpwi r5, 0 /* 801F4F30 001F1E90 40 81 00 40 */ ble lbl_801F4F70 /* 801F4F34 001F1E94 2C 05 00 08 */ cmpwi r5, 8 /* 801F4F38 001F1E98 38 85 FF F8 */ addi r4, r5, -8 /* 801F4F3C 001F1E9C 40 81 00 20 */ ble lbl_801F4F5C /* 801F4F40 001F1EA0 38 04 00 07 */ addi r0, r4, 7 /* 801F4F44 001F1EA4 54 00 E8 FE */ srwi r0, r0, 3 /* 801F4F48 001F1EA8 7C 09 03 A6 */ mtctr r0 /* 801F4F4C 001F1EAC 2C 04 00 00 */ cmpwi r4, 0 /* 801F4F50 001F1EB0 40 81 00 0C */ ble lbl_801F4F5C lbl_801F4F54: /* 801F4F54 001F1EB4 38 63 00 08 */ addi r3, r3, 8 /* 801F4F58 001F1EB8 42 00 FF FC */ bdnz lbl_801F4F54 lbl_801F4F5C: /* 801F4F5C 001F1EBC 7C 03 28 50 */ subf r0, r3, r5 /* 801F4F60 001F1EC0 7C 09 03 A6 */ mtctr r0 /* 801F4F64 001F1EC4 7C 03 28 00 */ cmpw r3, r5 /* 801F4F68 001F1EC8 40 80 00 08 */ bge lbl_801F4F70 lbl_801F4F6C: /* 801F4F6C 001F1ECC 42 00 00 00 */ bdnz lbl_801F4F6C lbl_801F4F70: /* 801F4F70 001F1ED0 38 00 00 00 */ li r0, 0 /* 801F4F74 001F1ED4 7F E3 FB 78 */ mr r3, r31 /* 801F4F78 001F1ED8 90 01 00 C0 */ stw r0, 0xc0(r1) /* 801F4F7C 001F1EDC E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 /* 801F4F80 001F1EE0 CB E1 08 E0 */ lfd f31, 0x8e0(r1) /* 801F4F84 001F1EE4 BB 61 08 CC */ lmw r27, 0x8cc(r1) /* 801F4F88 001F1EE8 80 01 08 F4 */ lwz r0, 0x8f4(r1) /* 801F4F8C 001F1EEC 7C 08 03 A6 */ mtlr r0 /* 801F4F90 001F1EF0 38 21 08 F0 */ addi r1, r1, 0x8f0 /* 801F4F94 001F1EF4 4E 80 00 20 */ blr .global GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState: /* 801F4F98 001F1EF8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801F4F9C 001F1EFC 7C 08 02 A6 */ mflr r0 /* 801F4FA0 001F1F00 90 01 00 54 */ stw r0, 0x54(r1) /* 801F4FA4 001F1F04 38 00 00 00 */ li r0, 0 /* 801F4FA8 001F1F08 BF 21 00 34 */ stmw r25, 0x34(r1) /* 801F4FAC 001F1F0C 7C 9A 23 78 */ mr r26, r4 /* 801F4FB0 001F1F10 7C 79 1B 78 */ mr r25, r3 /* 801F4FB4 001F1F14 7C BB 2B 78 */ mr r27, r5 /* 801F4FB8 001F1F18 90 01 00 18 */ stw r0, 0x18(r1) /* 801F4FBC 001F1F1C 7C DC 33 78 */ mr r28, r6 /* 801F4FC0 001F1F20 7C FD 3B 78 */ mr r29, r7 /* 801F4FC4 001F1F24 3B C1 00 1C */ addi r30, r1, 0x1c /* 801F4FC8 001F1F28 83 E4 00 2C */ lwz r31, 0x2c(r4) /* 801F4FCC 001F1F2C 48 00 00 94 */ b lbl_801F5060 lbl_801F4FD0: /* 801F4FD0 001F1F30 80 1F 00 00 */ lwz r0, 0(r31) /* 801F4FD4 001F1F34 7C 1C 00 00 */ cmpw r28, r0 /* 801F4FD8 001F1F38 40 82 00 84 */ bne lbl_801F505C /* 801F4FDC 001F1F3C 80 1F 00 04 */ lwz r0, 4(r31) /* 801F4FE0 001F1F40 7C 1D 00 00 */ cmpw r29, r0 /* 801F4FE4 001F1F44 40 82 00 78 */ bne lbl_801F505C /* 801F4FE8 001F1F48 80 1F 00 08 */ lwz r0, 8(r31) /* 801F4FEC 001F1F4C 7F 64 DB 78 */ mr r4, r27 /* 801F4FF0 001F1F50 38 61 00 0C */ addi r3, r1, 0xc /* 801F4FF4 001F1F54 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F4FF8 001F1F58 90 01 00 14 */ stw r0, 0x14(r1) /* 801F4FFC 001F1F5C 4B E5 2F 21 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801F5000 001F1F60 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801F5004 001F1F64 7F 63 DB 78 */ mr r3, r27 /* 801F5008 001F1F68 38 81 00 08 */ addi r4, r1, 8 /* 801F500C 001F1F6C B0 01 00 10 */ sth r0, 0x10(r1) /* 801F5010 001F1F70 B0 01 00 08 */ sth r0, 8(r1) /* 801F5014 001F1F74 4B E5 75 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F5018 001F1F78 28 03 00 00 */ cmplwi r3, 0 /* 801F501C 001F1F7C 41 82 00 40 */ beq lbl_801F505C /* 801F5020 001F1F80 88 03 00 30 */ lbz r0, 0x30(r3) /* 801F5024 001F1F84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F5028 001F1F88 41 82 00 34 */ beq lbl_801F505C /* 801F502C 001F1F8C 80 01 00 18 */ lwz r0, 0x18(r1) /* 801F5030 001F1F90 54 00 08 3C */ slwi r0, r0, 1 /* 801F5034 001F1F94 7C 7E 02 15 */ add. r3, r30, r0 /* 801F5038 001F1F98 41 82 00 0C */ beq lbl_801F5044 /* 801F503C 001F1F9C A0 01 00 10 */ lhz r0, 0x10(r1) /* 801F5040 001F1FA0 B0 03 00 00 */ sth r0, 0(r3) lbl_801F5044: /* 801F5044 001F1FA4 80 61 00 18 */ lwz r3, 0x18(r1) /* 801F5048 001F1FA8 38 63 00 01 */ addi r3, r3, 1 /* 801F504C 001F1FAC 20 03 00 08 */ subfic r0, r3, 8 /* 801F5050 001F1FB0 90 61 00 18 */ stw r3, 0x18(r1) /* 801F5054 001F1FB4 2C 00 00 00 */ cmpwi r0, 0 /* 801F5058 001F1FB8 40 81 00 20 */ ble lbl_801F5078 lbl_801F505C: /* 801F505C 001F1FBC 3B FF 00 0C */ addi r31, r31, 0xc lbl_801F5060: /* 801F5060 001F1FC0 80 1A 00 24 */ lwz r0, 0x24(r26) /* 801F5064 001F1FC4 80 7A 00 2C */ lwz r3, 0x2c(r26) /* 801F5068 001F1FC8 1C 00 00 0C */ mulli r0, r0, 0xc /* 801F506C 001F1FCC 7C 03 02 14 */ add r0, r3, r0 /* 801F5070 001F1FD0 7C 1F 00 40 */ cmplw r31, r0 /* 801F5074 001F1FD4 40 82 FF 5C */ bne lbl_801F4FD0 lbl_801F5078: /* 801F5078 001F1FD8 83 41 00 18 */ lwz r26, 0x18(r1) /* 801F507C 001F1FDC 2C 1A 00 00 */ cmpwi r26, 0 /* 801F5080 001F1FE0 41 82 00 7C */ beq lbl_801F50FC /* 801F5084 001F1FE4 80 7B 09 00 */ lwz r3, 0x900(r27) /* 801F5088 001F1FE8 48 11 D4 99 */ bl Next__9CRandom16Fv /* 801F508C 001F1FEC 7C 03 D3 D6 */ divw r0, r3, r26 /* 801F5090 001F1FF0 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801F5094 001F1FF4 38 80 00 00 */ li r4, 0 /* 801F5098 001F1FF8 2C 05 00 00 */ cmpwi r5, 0 /* 801F509C 001F1FFC 7C 00 D1 D6 */ mullw r0, r0, r26 /* 801F50A0 001F2000 7C 00 18 50 */ subf r0, r0, r3 /* 801F50A4 001F2004 54 00 08 3C */ slwi r0, r0, 1 /* 801F50A8 001F2008 7C 1E 02 2E */ lhzx r0, r30, r0 /* 801F50AC 001F200C B0 19 00 00 */ sth r0, 0(r25) /* 801F50B0 001F2010 40 81 00 40 */ ble lbl_801F50F0 /* 801F50B4 001F2014 2C 05 00 08 */ cmpwi r5, 8 /* 801F50B8 001F2018 38 65 FF F8 */ addi r3, r5, -8 /* 801F50BC 001F201C 40 81 00 20 */ ble lbl_801F50DC /* 801F50C0 001F2020 38 03 00 07 */ addi r0, r3, 7 /* 801F50C4 001F2024 54 00 E8 FE */ srwi r0, r0, 3 /* 801F50C8 001F2028 7C 09 03 A6 */ mtctr r0 /* 801F50CC 001F202C 2C 03 00 00 */ cmpwi r3, 0 /* 801F50D0 001F2030 40 81 00 0C */ ble lbl_801F50DC lbl_801F50D4: /* 801F50D4 001F2034 38 84 00 08 */ addi r4, r4, 8 /* 801F50D8 001F2038 42 00 FF FC */ bdnz lbl_801F50D4 lbl_801F50DC: /* 801F50DC 001F203C 7C 04 28 50 */ subf r0, r4, r5 /* 801F50E0 001F2040 7C 09 03 A6 */ mtctr r0 /* 801F50E4 001F2044 7C 04 28 00 */ cmpw r4, r5 /* 801F50E8 001F2048 40 80 00 08 */ bge lbl_801F50F0 lbl_801F50EC: /* 801F50EC 001F204C 42 00 00 00 */ bdnz lbl_801F50EC lbl_801F50F0: /* 801F50F0 001F2050 38 00 00 00 */ li r0, 0 /* 801F50F4 001F2054 90 01 00 18 */ stw r0, 0x18(r1) /* 801F50F8 001F2058 48 00 00 60 */ b lbl_801F5158 lbl_801F50FC: /* 801F50FC 001F205C 80 A1 00 18 */ lwz r5, 0x18(r1) /* 801F5100 001F2060 38 60 00 00 */ li r3, 0 /* 801F5104 001F2064 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F5108 001F2068 2C 05 00 00 */ cmpwi r5, 0 /* 801F510C 001F206C B0 19 00 00 */ sth r0, 0(r25) /* 801F5110 001F2070 40 81 00 40 */ ble lbl_801F5150 /* 801F5114 001F2074 2C 05 00 08 */ cmpwi r5, 8 /* 801F5118 001F2078 38 85 FF F8 */ addi r4, r5, -8 /* 801F511C 001F207C 40 81 00 20 */ ble lbl_801F513C /* 801F5120 001F2080 38 04 00 07 */ addi r0, r4, 7 /* 801F5124 001F2084 54 00 E8 FE */ srwi r0, r0, 3 /* 801F5128 001F2088 7C 09 03 A6 */ mtctr r0 /* 801F512C 001F208C 2C 04 00 00 */ cmpwi r4, 0 /* 801F5130 001F2090 40 81 00 0C */ ble lbl_801F513C lbl_801F5134: /* 801F5134 001F2094 38 63 00 08 */ addi r3, r3, 8 /* 801F5138 001F2098 42 00 FF FC */ bdnz lbl_801F5134 lbl_801F513C: /* 801F513C 001F209C 7C 03 28 50 */ subf r0, r3, r5 /* 801F5140 001F20A0 7C 09 03 A6 */ mtctr r0 /* 801F5144 001F20A4 7C 03 28 00 */ cmpw r3, r5 /* 801F5148 001F20A8 40 80 00 08 */ bge lbl_801F5150 lbl_801F514C: /* 801F514C 001F20AC 42 00 00 00 */ bdnz lbl_801F514C lbl_801F5150: /* 801F5150 001F20B0 38 00 00 00 */ li r0, 0 /* 801F5154 001F20B4 90 01 00 18 */ stw r0, 0x18(r1) lbl_801F5158: /* 801F5158 001F20B8 BB 21 00 34 */ lmw r25, 0x34(r1) /* 801F515C 001F20BC 80 01 00 54 */ lwz r0, 0x54(r1) /* 801F5160 001F20C0 7C 08 03 A6 */ mtlr r0 /* 801F5164 001F20C4 38 21 00 50 */ addi r1, r1, 0x50 /* 801F5168 001F20C8 4E 80 00 20 */ blr .global UpdateActorKeyframe__10CPatternedFR13CStateManager UpdateActorKeyframe__10CPatternedFR13CStateManager: /* 801F516C 001F20CC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801F5170 001F20D0 7C 08 02 A6 */ mflr r0 /* 801F5174 001F20D4 90 01 00 54 */ stw r0, 0x54(r1) /* 801F5178 001F20D8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801F517C 001F20DC 93 C1 00 48 */ stw r30, 0x48(r1) /* 801F5180 001F20E0 93 A1 00 44 */ stw r29, 0x44(r1) /* 801F5184 001F20E4 7C 9D 23 78 */ mr r29, r4 /* 801F5188 001F20E8 38 81 00 18 */ addi r4, r1, 0x18 /* 801F518C 001F20EC 93 81 00 40 */ stw r28, 0x40(r1) /* 801F5190 001F20F0 7C 7C 1B 78 */ mr r28, r3 /* 801F5194 001F20F4 A0 03 02 DC */ lhz r0, 0x2dc(r3) /* 801F5198 001F20F8 7F A3 EB 78 */ mr r3, r29 /* 801F519C 001F20FC B0 01 00 18 */ sth r0, 0x18(r1) /* 801F51A0 001F2100 4B E5 74 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F51A4 001F2104 7C 64 1B 78 */ mr r4, r3 /* 801F51A8 001F2108 38 61 00 24 */ addi r3, r1, 0x24 /* 801F51AC 001F210C 4B EB 13 A1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F51B0 001F2110 83 E3 00 04 */ lwz r31, 4(r3) /* 801F51B4 001F2114 28 1F 00 00 */ cmplwi r31, 0 /* 801F51B8 001F2118 41 82 00 B8 */ beq lbl_801F5270 /* 801F51BC 001F211C 83 DF 00 2C */ lwz r30, 0x2c(r31) /* 801F51C0 001F2120 48 00 00 98 */ b lbl_801F5258 lbl_801F51C4: /* 801F51C4 001F2124 80 1E 00 00 */ lwz r0, 0(r30) /* 801F51C8 001F2128 2C 00 00 01 */ cmpwi r0, 1 /* 801F51CC 001F212C 40 82 00 88 */ bne lbl_801F5254 /* 801F51D0 001F2130 80 1E 00 04 */ lwz r0, 4(r30) /* 801F51D4 001F2134 2C 00 00 13 */ cmpwi r0, 0x13 /* 801F51D8 001F2138 40 82 00 7C */ bne lbl_801F5254 /* 801F51DC 001F213C 80 1E 00 08 */ lwz r0, 8(r30) /* 801F51E0 001F2140 7F A4 EB 78 */ mr r4, r29 /* 801F51E4 001F2144 38 61 00 14 */ addi r3, r1, 0x14 /* 801F51E8 001F2148 38 A1 00 20 */ addi r5, r1, 0x20 /* 801F51EC 001F214C 90 01 00 20 */ stw r0, 0x20(r1) /* 801F51F0 001F2150 4B E5 2D 2D */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801F51F4 001F2154 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801F51F8 001F2158 7F A3 EB 78 */ mr r3, r29 /* 801F51FC 001F215C 38 81 00 10 */ addi r4, r1, 0x10 /* 801F5200 001F2160 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801F5204 001F2164 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F5208 001F2168 4B E5 73 6D */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F520C 001F216C 7C 64 1B 78 */ mr r4, r3 /* 801F5210 001F2170 38 61 00 2C */ addi r3, r1, 0x2c /* 801F5214 001F2174 4B EB 68 45 */ bl "__ct__34TCastToPtr<20CScriptActorKeyframe>FP7CEntity" /* 801F5218 001F2178 80 63 00 04 */ lwz r3, 4(r3) /* 801F521C 001F217C 28 03 00 00 */ cmplwi r3, 0 /* 801F5220 001F2180 41 82 00 34 */ beq lbl_801F5254 /* 801F5224 001F2184 88 03 00 30 */ lbz r0, 0x30(r3) /* 801F5228 001F2188 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F522C 001F218C 41 82 00 28 */ beq lbl_801F5254 /* 801F5230 001F2190 88 03 00 44 */ lbz r0, 0x44(r3) /* 801F5234 001F2194 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F5238 001F2198 41 82 00 1C */ beq lbl_801F5254 /* 801F523C 001F219C A0 1C 00 08 */ lhz r0, 8(r28) /* 801F5240 001F21A0 7F A5 EB 78 */ mr r5, r29 /* 801F5244 001F21A4 38 81 00 0C */ addi r4, r1, 0xc /* 801F5248 001F21A8 B0 01 00 08 */ sth r0, 8(r1) /* 801F524C 001F21AC B0 01 00 0C */ sth r0, 0xc(r1) /* 801F5250 001F21B0 4B F0 90 91 */ bl UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager lbl_801F5254: /* 801F5254 001F21B4 3B DE 00 0C */ addi r30, r30, 0xc lbl_801F5258: /* 801F5258 001F21B8 80 1F 00 24 */ lwz r0, 0x24(r31) /* 801F525C 001F21BC 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 801F5260 001F21C0 1C 00 00 0C */ mulli r0, r0, 0xc /* 801F5264 001F21C4 7C 03 02 14 */ add r0, r3, r0 /* 801F5268 001F21C8 7C 1E 00 40 */ cmplw r30, r0 /* 801F526C 001F21CC 40 82 FF 58 */ bne lbl_801F51C4 lbl_801F5270: /* 801F5270 001F21D0 80 01 00 54 */ lwz r0, 0x54(r1) /* 801F5274 001F21D4 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801F5278 001F21D8 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801F527C 001F21DC 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801F5280 001F21E0 83 81 00 40 */ lwz r28, 0x40(r1) /* 801F5284 001F21E4 7C 08 03 A6 */ mtlr r0 /* 801F5288 001F21E8 38 21 00 50 */ addi r1, r1, 0x50 /* 801F528C 001F21EC 4E 80 00 20 */ blr .global UpdateDest__10CPatternedFR13CStateManager UpdateDest__10CPatternedFR13CStateManager: /* 801F5290 001F21F0 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801F5294 001F21F4 7C 08 02 A6 */ mflr r0 /* 801F5298 001F21F8 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801F529C 001F21FC BF 61 00 AC */ stmw r27, 0xac(r1) /* 801F52A0 001F2200 7C 7B 1B 78 */ mr r27, r3 /* 801F52A4 001F2204 7C 9C 23 78 */ mr r28, r4 /* 801F52A8 001F2208 88 03 03 28 */ lbz r0, 0x328(r3) /* 801F52AC 001F220C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F52B0 001F2210 41 82 03 2C */ beq lbl_801F55DC /* 801F52B4 001F2214 A0 7B 02 DC */ lhz r3, 0x2dc(r27) /* 801F52B8 001F2218 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F52BC 001F221C 7C 03 00 40 */ cmplw r3, r0 /* 801F52C0 001F2220 41 82 03 1C */ beq lbl_801F55DC /* 801F52C4 001F2224 A0 1B 02 DC */ lhz r0, 0x2dc(r27) /* 801F52C8 001F2228 7F 83 E3 78 */ mr r3, r28 /* 801F52CC 001F222C 38 81 00 24 */ addi r4, r1, 0x24 /* 801F52D0 001F2230 B0 01 00 24 */ sth r0, 0x24(r1) /* 801F52D4 001F2234 4B E5 72 A1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801F52D8 001F2238 7C 64 1B 78 */ mr r4, r3 /* 801F52DC 001F223C 38 61 00 44 */ addi r3, r1, 0x44 /* 801F52E0 001F2240 4B EB 12 6D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F52E4 001F2244 83 E3 00 04 */ lwz r31, 4(r3) /* 801F52E8 001F2248 28 1F 00 00 */ cmplwi r31, 0 /* 801F52EC 001F224C 41 82 02 F0 */ beq lbl_801F55DC /* 801F52F0 001F2250 7F 63 DB 78 */ mr r3, r27 /* 801F52F4 001F2254 7F 84 E3 78 */ mr r4, r28 /* 801F52F8 001F2258 4B FF FE 75 */ bl UpdateActorKeyframe__10CPatternedFR13CStateManager /* 801F52FC 001F225C 7F E4 FB 78 */ mr r4, r31 /* 801F5300 001F2260 7F 85 E3 78 */ mr r5, r28 /* 801F5304 001F2264 38 61 00 20 */ addi r3, r1, 0x20 /* 801F5308 001F2268 4B E8 1E 2D */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801F530C 001F226C A0 01 00 20 */ lhz r0, 0x20(r1) /* 801F5310 001F2270 B0 1B 02 DC */ sth r0, 0x2dc(r27) /* 801F5314 001F2274 A0 7B 02 DC */ lhz r3, 0x2dc(r27) /* 801F5318 001F2278 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F531C 001F227C 7C 03 00 40 */ cmplw r3, r0 /* 801F5320 001F2280 41 82 02 9C */ beq lbl_801F55BC /* 801F5324 001F2284 C0 5B 00 60 */ lfs f2, 0x60(r27) /* 801F5328 001F2288 38 A0 00 00 */ li r5, 0 /* 801F532C 001F228C C0 3B 00 50 */ lfs f1, 0x50(r27) /* 801F5330 001F2290 7F 83 E3 78 */ mr r3, r28 /* 801F5334 001F2294 C0 1B 00 40 */ lfs f0, 0x40(r27) /* 801F5338 001F2298 38 81 00 1C */ addi r4, r1, 0x1c /* 801F533C 001F229C D0 1B 02 EC */ stfs f0, 0x2ec(r27) /* 801F5340 001F22A0 D0 3B 02 F0 */ stfs f1, 0x2f0(r27) /* 801F5344 001F22A4 D0 5B 02 F4 */ stfs f2, 0x2f4(r27) /* 801F5348 001F22A8 88 1B 03 28 */ lbz r0, 0x328(r27) /* 801F534C 001F22AC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801F5350 001F22B0 98 1B 03 28 */ stb r0, 0x328(r27) /* 801F5354 001F22B4 A0 1B 02 DC */ lhz r0, 0x2dc(r27) /* 801F5358 001F22B8 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801F535C 001F22BC 4B E5 72 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F5360 001F22C0 7C 64 1B 78 */ mr r4, r3 /* 801F5364 001F22C4 38 61 00 3C */ addi r3, r1, 0x3c /* 801F5368 001F22C8 4B EB 11 E5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F536C 001F22CC 83 C3 00 04 */ lwz r30, 4(r3) /* 801F5370 001F22D0 28 1E 00 00 */ cmplwi r30, 0 /* 801F5374 001F22D4 41 82 02 48 */ beq lbl_801F55BC /* 801F5378 001F22D8 C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 801F537C 001F22DC D0 1B 03 B0 */ stfs f0, 0x3b0(r27) /* 801F5380 001F22E0 88 1F 00 F8 */ lbz r0, 0xf8(r31) /* 801F5384 001F22E4 90 1B 03 0C */ stw r0, 0x30c(r27) /* 801F5388 001F22E8 A0 7F 00 FA */ lhz r3, 0xfa(r31) /* 801F538C 001F22EC 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 801F5390 001F22F0 41 82 00 F0 */ beq lbl_801F5480 /* 801F5394 001F22F4 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 801F5398 001F22F8 38 A0 00 00 */ li r5, 0 /* 801F539C 001F22FC 39 06 AA 68 */ addi r8, r6, lbl_803DAA68@l /* 801F53A0 001F2300 88 81 00 A4 */ lbz r4, 0xa4(r1) /* 801F53A4 001F2304 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 /* 801F53A8 001F2308 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F53AC 001F230C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 801F53B0 001F2310 3C C0 80 3E */ lis r6, lbl_803DA9FC@ha /* 801F53B4 001F2314 C0 BE 00 60 */ lfs f5, 0x60(r30) /* 801F53B8 001F2318 54 80 06 3E */ clrlwi r0, r4, 0x18 /* 801F53BC 001F231C C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801F53C0 001F2320 38 E0 00 10 */ li r7, 0x10 /* 801F53C4 001F2324 C0 7E 00 40 */ lfs f3, 0x40(r30) /* 801F53C8 001F2328 38 C6 A9 FC */ addi r6, r6, lbl_803DA9FC@l /* 801F53CC 001F232C 81 3B 04 50 */ lwz r9, 0x450(r27) /* 801F53D0 001F2330 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 801F53D4 001F2334 98 81 00 A4 */ stb r4, 0xa4(r1) /* 801F53D8 001F2338 38 80 00 10 */ li r4, 0x10 /* 801F53DC 001F233C C0 23 00 04 */ lfs f1, 4(r3) /* 801F53E0 001F2340 3B C9 00 04 */ addi r30, r9, 4 /* 801F53E4 001F2344 C0 03 00 08 */ lfs f0, 8(r3) /* 801F53E8 001F2348 7F C3 F3 78 */ mr r3, r30 /* 801F53EC 001F234C 91 01 00 80 */ stw r8, 0x80(r1) /* 801F53F0 001F2350 90 E1 00 84 */ stw r7, 0x84(r1) /* 801F53F4 001F2354 90 C1 00 80 */ stw r6, 0x80(r1) /* 801F53F8 001F2358 90 A1 00 88 */ stw r5, 0x88(r1) /* 801F53FC 001F235C D0 61 00 8C */ stfs f3, 0x8c(r1) /* 801F5400 001F2360 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801F5404 001F2364 D0 A1 00 94 */ stfs f5, 0x94(r1) /* 801F5408 001F2368 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801F540C 001F236C D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801F5410 001F2370 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801F5414 001F2374 98 01 00 A4 */ stb r0, 0xa4(r1) /* 801F5418 001F2378 4B F3 C0 21 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F541C 001F237C 80 01 00 84 */ lwz r0, 0x84(r1) /* 801F5420 001F2380 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha /* 801F5424 001F2384 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l /* 801F5428 001F2388 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F542C 001F238C 90 1E 01 D4 */ stw r0, 0x1d4(r30) /* 801F5430 001F2390 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F5434 001F2394 80 A1 00 88 */ lwz r5, 0x88(r1) /* 801F5438 001F2398 80 61 00 8C */ lwz r3, 0x8c(r1) /* 801F543C 001F239C 90 BE 01 D8 */ stw r5, 0x1d8(r30) /* 801F5440 001F23A0 80 A1 00 90 */ lwz r5, 0x90(r1) /* 801F5444 001F23A4 90 7E 01 DC */ stw r3, 0x1dc(r30) /* 801F5448 001F23A8 80 61 00 94 */ lwz r3, 0x94(r1) /* 801F544C 001F23AC 90 BE 01 E0 */ stw r5, 0x1e0(r30) /* 801F5450 001F23B0 80 A1 00 98 */ lwz r5, 0x98(r1) /* 801F5454 001F23B4 90 7E 01 E4 */ stw r3, 0x1e4(r30) /* 801F5458 001F23B8 80 61 00 9C */ lwz r3, 0x9c(r1) /* 801F545C 001F23BC 90 BE 01 E8 */ stw r5, 0x1e8(r30) /* 801F5460 001F23C0 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 801F5464 001F23C4 90 7E 01 EC */ stw r3, 0x1ec(r30) /* 801F5468 001F23C8 88 61 00 A4 */ lbz r3, 0xa4(r1) /* 801F546C 001F23CC 90 BE 01 F0 */ stw r5, 0x1f0(r30) /* 801F5470 001F23D0 90 81 00 80 */ stw r4, 0x80(r1) /* 801F5474 001F23D4 98 7E 01 F4 */ stb r3, 0x1f4(r30) /* 801F5478 001F23D8 90 01 00 80 */ stw r0, 0x80(r1) /* 801F547C 001F23DC 48 00 01 40 */ b lbl_801F55BC lbl_801F5480: /* 801F5480 001F23E0 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d /* 801F5484 001F23E4 41 82 01 38 */ beq lbl_801F55BC /* 801F5488 001F23E8 7F C4 F3 78 */ mr r4, r30 /* 801F548C 001F23EC 7F 85 E3 78 */ mr r5, r28 /* 801F5490 001F23F0 38 61 00 18 */ addi r3, r1, 0x18 /* 801F5494 001F23F4 4B E8 1C A1 */ bl NextWaypoint__15CScriptWaypointCFR13CStateManager /* 801F5498 001F23F8 A0 61 00 18 */ lhz r3, 0x18(r1) /* 801F549C 001F23FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F54A0 001F2400 B0 61 00 28 */ sth r3, 0x28(r1) /* 801F54A4 001F2404 7C 03 00 40 */ cmplw r3, r0 /* 801F54A8 001F2408 41 82 01 14 */ beq lbl_801F55BC /* 801F54AC 001F240C B0 61 00 14 */ sth r3, 0x14(r1) /* 801F54B0 001F2410 7F 83 E3 78 */ mr r3, r28 /* 801F54B4 001F2414 38 81 00 14 */ addi r4, r1, 0x14 /* 801F54B8 001F2418 4B E5 70 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F54BC 001F241C 7C 64 1B 78 */ mr r4, r3 /* 801F54C0 001F2420 38 61 00 34 */ addi r3, r1, 0x34 /* 801F54C4 001F2424 4B EB 10 89 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F54C8 001F2428 81 03 00 04 */ lwz r8, 4(r3) /* 801F54CC 001F242C 28 08 00 00 */ cmplwi r8, 0 /* 801F54D0 001F2430 41 82 00 EC */ beq lbl_801F55BC /* 801F54D4 001F2434 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F54D8 001F2438 88 A1 00 7C */ lbz r5, 0x7c(r1) /* 801F54DC 001F243C 38 00 00 01 */ li r0, 1 /* 801F54E0 001F2440 80 FB 04 50 */ lwz r7, 0x450(r27) /* 801F54E4 001F2444 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 /* 801F54E8 001F2448 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l /* 801F54EC 001F244C C0 48 00 60 */ lfs f2, 0x60(r8) /* 801F54F0 001F2450 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha /* 801F54F4 001F2454 C0 28 00 50 */ lfs f1, 0x50(r8) /* 801F54F8 001F2458 38 C0 00 00 */ li r6, 0 /* 801F54FC 001F245C C0 08 00 40 */ lfs f0, 0x40(r8) /* 801F5500 001F2460 54 A0 06 3E */ clrlwi r0, r5, 0x18 /* 801F5504 001F2464 C0 BE 00 60 */ lfs f5, 0x60(r30) /* 801F5508 001F2468 39 00 00 10 */ li r8, 0x10 /* 801F550C 001F246C C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801F5510 001F2470 3B A7 00 04 */ addi r29, r7, 4 /* 801F5514 001F2474 C0 7E 00 40 */ lfs f3, 0x40(r30) /* 801F5518 001F2478 38 E3 A9 FC */ addi r7, r3, lbl_803DA9FC@l /* 801F551C 001F247C 90 81 00 58 */ stw r4, 0x58(r1) /* 801F5520 001F2480 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 801F5524 001F2484 7F A3 EB 78 */ mr r3, r29 /* 801F5528 001F2488 38 80 00 10 */ li r4, 0x10 /* 801F552C 001F248C 98 A1 00 7C */ stb r5, 0x7c(r1) /* 801F5530 001F2490 91 01 00 5C */ stw r8, 0x5c(r1) /* 801F5534 001F2494 90 E1 00 58 */ stw r7, 0x58(r1) /* 801F5538 001F2498 90 C1 00 60 */ stw r6, 0x60(r1) /* 801F553C 001F249C D0 61 00 64 */ stfs f3, 0x64(r1) /* 801F5540 001F24A0 D0 81 00 68 */ stfs f4, 0x68(r1) /* 801F5544 001F24A4 D0 A1 00 6C */ stfs f5, 0x6c(r1) /* 801F5548 001F24A8 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801F554C 001F24AC D0 21 00 74 */ stfs f1, 0x74(r1) /* 801F5550 001F24B0 D0 41 00 78 */ stfs f2, 0x78(r1) /* 801F5554 001F24B4 98 01 00 7C */ stb r0, 0x7c(r1) /* 801F5558 001F24B8 4B F3 BE E1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F555C 001F24BC 80 01 00 5C */ lwz r0, 0x5c(r1) /* 801F5560 001F24C0 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha /* 801F5564 001F24C4 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l /* 801F5568 001F24C8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F556C 001F24CC 90 1D 01 D4 */ stw r0, 0x1d4(r29) /* 801F5570 001F24D0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F5574 001F24D4 80 A1 00 60 */ lwz r5, 0x60(r1) /* 801F5578 001F24D8 80 61 00 64 */ lwz r3, 0x64(r1) /* 801F557C 001F24DC 90 BD 01 D8 */ stw r5, 0x1d8(r29) /* 801F5580 001F24E0 80 A1 00 68 */ lwz r5, 0x68(r1) /* 801F5584 001F24E4 90 7D 01 DC */ stw r3, 0x1dc(r29) /* 801F5588 001F24E8 80 61 00 6C */ lwz r3, 0x6c(r1) /* 801F558C 001F24EC 90 BD 01 E0 */ stw r5, 0x1e0(r29) /* 801F5590 001F24F0 80 A1 00 70 */ lwz r5, 0x70(r1) /* 801F5594 001F24F4 90 7D 01 E4 */ stw r3, 0x1e4(r29) /* 801F5598 001F24F8 80 61 00 74 */ lwz r3, 0x74(r1) /* 801F559C 001F24FC 90 BD 01 E8 */ stw r5, 0x1e8(r29) /* 801F55A0 001F2500 80 A1 00 78 */ lwz r5, 0x78(r1) /* 801F55A4 001F2504 90 7D 01 EC */ stw r3, 0x1ec(r29) /* 801F55A8 001F2508 88 61 00 7C */ lbz r3, 0x7c(r1) /* 801F55AC 001F250C 90 BD 01 F0 */ stw r5, 0x1f0(r29) /* 801F55B0 001F2510 90 81 00 58 */ stw r4, 0x58(r1) /* 801F55B4 001F2514 98 7D 01 F4 */ stb r3, 0x1f4(r29) /* 801F55B8 001F2518 90 01 00 58 */ stw r0, 0x58(r1) lbl_801F55BC: /* 801F55BC 001F251C A0 1B 00 08 */ lhz r0, 8(r27) /* 801F55C0 001F2520 7F 83 E3 78 */ mr r3, r28 /* 801F55C4 001F2524 7F E4 FB 78 */ mr r4, r31 /* 801F55C8 001F2528 38 A1 00 10 */ addi r5, r1, 0x10 /* 801F55CC 001F252C B0 01 00 0C */ sth r0, 0xc(r1) /* 801F55D0 001F2530 38 C0 00 02 */ li r6, 2 /* 801F55D4 001F2534 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F55D8 001F2538 4B E4 E8 F9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_801F55DC: /* 801F55DC 001F253C A0 7B 02 DC */ lhz r3, 0x2dc(r27) /* 801F55E0 001F2540 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F55E4 001F2544 7C 03 00 40 */ cmplw r3, r0 /* 801F55E8 001F2548 41 82 00 54 */ beq lbl_801F563C /* 801F55EC 001F254C A0 1B 02 DC */ lhz r0, 0x2dc(r27) /* 801F55F0 001F2550 7F 83 E3 78 */ mr r3, r28 /* 801F55F4 001F2554 38 81 00 08 */ addi r4, r1, 8 /* 801F55F8 001F2558 B0 01 00 08 */ sth r0, 8(r1) /* 801F55FC 001F255C 4B E5 6F A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F5600 001F2560 7C 64 1B 78 */ mr r4, r3 /* 801F5604 001F2564 38 61 00 2C */ addi r3, r1, 0x2c /* 801F5608 001F2568 4B EB A6 89 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801F560C 001F256C 80 A3 00 04 */ lwz r5, 4(r3) /* 801F5610 001F2570 28 05 00 00 */ cmplwi r5, 0 /* 801F5614 001F2574 41 82 00 28 */ beq lbl_801F563C /* 801F5618 001F2578 C0 45 00 60 */ lfs f2, 0x60(r5) /* 801F561C 001F257C 7F 63 DB 78 */ mr r3, r27 /* 801F5620 001F2580 C0 25 00 50 */ lfs f1, 0x50(r5) /* 801F5624 001F2584 38 81 00 4C */ addi r4, r1, 0x4c /* 801F5628 001F2588 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801F562C 001F258C D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801F5630 001F2590 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801F5634 001F2594 D0 41 00 54 */ stfs f2, 0x54(r1) /* 801F5638 001F2598 4B E8 75 25 */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_801F563C: /* 801F563C 001F259C BB 61 00 AC */ lmw r27, 0xac(r1) /* 801F5640 001F25A0 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801F5644 001F25A4 7C 08 03 A6 */ mtlr r0 /* 801F5648 001F25A8 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801F564C 001F25AC 4E 80 00 20 */ blr .global ApproachDest__10CPatternedFR13CStateManager ApproachDest__10CPatternedFR13CStateManager: /* 801F5650 001F25B0 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801F5654 001F25B4 7C 08 02 A6 */ mflr r0 /* 801F5658 001F25B8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801F565C 001F25BC DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801F5660 001F25C0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801F5664 001F25C4 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 801F5668 001F25C8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 801F566C 001F25CC DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 801F5670 001F25D0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 801F5674 001F25D4 93 E1 00 AC */ stw r31, 0xac(r1) /* 801F5678 001F25D8 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 801F567C 001F25DC 7C 7F 1B 78 */ mr r31, r3 /* 801F5680 001F25E0 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801F5684 001F25E4 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801F5688 001F25E8 7C 9E 23 78 */ mr r30, r4 /* 801F568C 001F25EC C0 1F 02 E8 */ lfs f0, 0x2e8(r31) /* 801F5690 001F25F0 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801F5694 001F25F4 EC 40 18 28 */ fsubs f2, f0, f3 /* 801F5698 001F25F8 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 801F569C 001F25FC EF A1 18 28 */ fsubs f29, f1, f3 /* 801F56A0 001F2600 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) /* 801F56A4 001F2604 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801F56A8 001F2608 EC 60 20 28 */ fsubs f3, f0, f4 /* 801F56AC 001F260C EF C1 20 28 */ fsubs f30, f1, f4 /* 801F56B0 001F2610 C0 BF 00 40 */ lfs f5, 0x40(r31) /* 801F56B4 001F2614 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) /* 801F56B8 001F2618 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801F56BC 001F261C EC 00 28 28 */ fsubs f0, f0, f5 /* 801F56C0 001F2620 D0 61 00 28 */ stfs f3, 0x28(r1) /* 801F56C4 001F2624 EF E1 28 28 */ fsubs f31, f1, f5 /* 801F56C8 001F2628 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801F56CC 001F262C D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801F56D0 001F2630 88 1F 03 28 */ lbz r0, 0x328(r31) /* 801F56D4 001F2634 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F56D8 001F2638 40 82 00 0C */ bne lbl_801F56E4 /* 801F56DC 001F263C C3 A2 AF 20 */ lfs f29, lbl_805ACC40@sda21(r2) /* 801F56E0 001F2640 D3 A1 00 2C */ stfs f29, 0x2c(r1) lbl_801F56E4: /* 801F56E4 001F2644 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) /* 801F56E8 001F2648 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) /* 801F56EC 001F264C C0 7F 02 E0 */ lfs f3, 0x2e0(r31) /* 801F56F0 001F2650 C0 5F 02 EC */ lfs f2, 0x2ec(r31) /* 801F56F4 001F2654 EC 81 00 28 */ fsubs f4, f1, f0 /* 801F56F8 001F2658 C0 A1 00 28 */ lfs f5, 0x28(r1) /* 801F56FC 001F265C EC 63 10 28 */ fsubs f3, f3, f2 /* 801F5700 001F2660 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) /* 801F5704 001F2664 C0 3F 02 F4 */ lfs f1, 0x2f4(r31) /* 801F5708 001F2668 EC 04 01 72 */ fmuls f0, f4, f5 /* 801F570C 001F266C C0 C1 00 24 */ lfs f6, 0x24(r1) /* 801F5710 001F2670 EC 42 08 28 */ fsubs f2, f2, f1 /* 801F5714 001F2674 EC 23 01 BA */ fmadds f1, f3, f6, f0 /* 801F5718 001F2678 C0 E1 00 2C */ lfs f7, 0x2c(r1) /* 801F571C 001F267C C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F5720 001F2680 EC 22 09 FA */ fmadds f1, f2, f7, f1 /* 801F5724 001F2684 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F5728 001F2688 4C 40 13 82 */ cror 2, 0, 2 /* 801F572C 001F268C 40 82 00 18 */ bne lbl_801F5744 /* 801F5730 001F2690 88 1F 03 28 */ lbz r0, 0x328(r31) /* 801F5734 001F2694 38 60 00 01 */ li r3, 1 /* 801F5738 001F2698 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F573C 001F269C 98 1F 03 28 */ stb r0, 0x328(r31) /* 801F5740 001F26A0 48 00 00 2C */ b lbl_801F576C lbl_801F5744: /* 801F5744 001F26A4 EC 25 01 72 */ fmuls f1, f5, f5 /* 801F5748 001F26A8 C0 02 88 F4 */ lfs f0, lbl_805AA614@sda21(r2) /* 801F574C 001F26AC EC 00 00 32 */ fmuls f0, f0, f0 /* 801F5750 001F26B0 EC 26 09 BA */ fmadds f1, f6, f6, f1 /* 801F5754 001F26B4 EC 27 09 FA */ fmadds f1, f7, f7, f1 /* 801F5758 001F26B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F575C 001F26BC 40 80 00 10 */ bge lbl_801F576C /* 801F5760 001F26C0 D0 61 00 24 */ stfs f3, 0x24(r1) /* 801F5764 001F26C4 D0 81 00 28 */ stfs f4, 0x28(r1) /* 801F5768 001F26C8 D0 41 00 2C */ stfs f2, 0x2c(r1) lbl_801F576C: /* 801F576C 001F26CC 88 1F 03 28 */ lbz r0, 0x328(r31) /* 801F5770 001F26D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F5774 001F26D4 40 82 02 CC */ bne lbl_801F5A40 /* 801F5778 001F26D8 38 61 00 24 */ addi r3, r1, 0x24 /* 801F577C 001F26DC 48 11 EF 7D */ bl CanBeNormalized__9CVector3fCFv /* 801F5780 001F26E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F5784 001F26E4 41 82 00 0C */ beq lbl_801F5790 /* 801F5788 001F26E8 38 61 00 24 */ addi r3, r1, 0x24 /* 801F578C 001F26EC 48 11 F1 6D */ bl Normalize__9CVector3fFv lbl_801F5790: /* 801F5790 001F26F0 80 1F 03 0C */ lwz r0, 0x30c(r31) /* 801F5794 001F26F4 2C 00 00 02 */ cmpwi r0, 2 /* 801F5798 001F26F8 41 82 00 28 */ beq lbl_801F57C0 /* 801F579C 001F26FC 40 80 00 A4 */ bge lbl_801F5840 /* 801F57A0 001F2700 2C 00 00 00 */ cmpwi r0, 0 /* 801F57A4 001F2704 41 82 00 0C */ beq lbl_801F57B0 /* 801F57A8 001F2708 48 00 00 98 */ b lbl_801F5840 /* 801F57AC 001F270C 48 00 00 94 */ b lbl_801F5840 lbl_801F57B0: /* 801F57B0 001F2710 C3 E1 00 24 */ lfs f31, 0x24(r1) /* 801F57B4 001F2714 C3 C1 00 28 */ lfs f30, 0x28(r1) /* 801F57B8 001F2718 C3 A1 00 2C */ lfs f29, 0x2c(r1) /* 801F57BC 001F271C 48 00 00 84 */ b lbl_801F5840 lbl_801F57C0: /* 801F57C0 001F2720 80 7F 03 9C */ lwz r3, 0x39c(r31) /* 801F57C4 001F2724 2C 03 00 00 */ cmpwi r3, 0 /* 801F57C8 001F2728 41 82 00 30 */ beq lbl_801F57F8 /* 801F57CC 001F272C 80 1F 03 90 */ lwz r0, 0x390(r31) /* 801F57D0 001F2730 7C 03 00 00 */ cmpw r3, r0 /* 801F57D4 001F2734 40 80 00 24 */ bge lbl_801F57F8 /* 801F57D8 001F2738 1C 63 00 24 */ mulli r3, r3, 0x24 /* 801F57DC 001F273C 80 1F 03 98 */ lwz r0, 0x398(r31) /* 801F57E0 001F2740 38 63 00 0C */ addi r3, r3, 0xc /* 801F57E4 001F2744 7C 60 1A 14 */ add r3, r0, r3 /* 801F57E8 001F2748 C3 E3 00 00 */ lfs f31, 0(r3) /* 801F57EC 001F274C C3 C3 00 04 */ lfs f30, 4(r3) /* 801F57F0 001F2750 C3 A3 00 08 */ lfs f29, 8(r3) /* 801F57F4 001F2754 48 00 00 4C */ b lbl_801F5840 lbl_801F57F8: /* 801F57F8 001F2758 A0 7F 02 DC */ lhz r3, 0x2dc(r31) /* 801F57FC 001F275C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F5800 001F2760 7C 03 00 40 */ cmplw r3, r0 /* 801F5804 001F2764 41 82 00 3C */ beq lbl_801F5840 /* 801F5808 001F2768 A0 1F 02 DC */ lhz r0, 0x2dc(r31) /* 801F580C 001F276C 7F C3 F3 78 */ mr r3, r30 /* 801F5810 001F2770 38 81 00 08 */ addi r4, r1, 8 /* 801F5814 001F2774 B0 01 00 08 */ sth r0, 8(r1) /* 801F5818 001F2778 4B E5 6D 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F581C 001F277C 7C 64 1B 78 */ mr r4, r3 /* 801F5820 001F2780 38 61 00 0C */ addi r3, r1, 0xc /* 801F5824 001F2784 4B EB 0D 29 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F5828 001F2788 80 63 00 04 */ lwz r3, 4(r3) /* 801F582C 001F278C 28 03 00 00 */ cmplwi r3, 0 /* 801F5830 001F2790 41 82 00 10 */ beq lbl_801F5840 /* 801F5834 001F2794 C3 E3 00 38 */ lfs f31, 0x38(r3) /* 801F5838 001F2798 C3 C3 00 48 */ lfs f30, 0x48(r3) /* 801F583C 001F279C C3 A3 00 58 */ lfs f29, 0x58(r3) lbl_801F5840: /* 801F5840 001F27A0 D3 FF 03 1C */ stfs f31, 0x31c(r31) /* 801F5844 001F27A4 7F E3 FB 78 */ mr r3, r31 /* 801F5848 001F27A8 D3 DF 03 20 */ stfs f30, 0x320(r31) /* 801F584C 001F27AC D3 BF 03 24 */ stfs f29, 0x324(r31) /* 801F5850 001F27B0 C0 7F 03 B0 */ lfs f3, 0x3b0(r31) /* 801F5854 001F27B4 C0 01 00 24 */ lfs f0, 0x24(r1) /* 801F5858 001F27B8 C0 41 00 28 */ lfs f2, 0x28(r1) /* 801F585C 001F27BC C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801F5860 001F27C0 EC 03 00 32 */ fmuls f0, f3, f0 /* 801F5864 001F27C4 EC 43 00 B2 */ fmuls f2, f3, f2 /* 801F5868 001F27C8 EC 23 00 72 */ fmuls f1, f3, f1 /* 801F586C 001F27CC D0 1F 03 10 */ stfs f0, 0x310(r31) /* 801F5870 001F27D0 D0 5F 03 14 */ stfs f2, 0x314(r31) /* 801F5874 001F27D4 D0 3F 03 18 */ stfs f1, 0x318(r31) /* 801F5878 001F27D8 81 9F 00 00 */ lwz r12, 0(r31) /* 801F587C 001F27DC 81 8C 02 94 */ lwz r12, 0x294(r12) /* 801F5880 001F27E0 7D 89 03 A6 */ mtctr r12 /* 801F5884 001F27E4 4E 80 04 21 */ bctrl /* 801F5888 001F27E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F588C 001F27EC 40 82 00 50 */ bne lbl_801F58DC /* 801F5890 001F27F0 C0 3F 03 10 */ lfs f1, 0x310(r31) /* 801F5894 001F27F4 38 81 00 84 */ addi r4, r1, 0x84 /* 801F5898 001F27F8 C0 02 AF 34 */ lfs f0, lbl_805ACC54@sda21(r2) /* 801F589C 001F27FC D0 21 00 84 */ stfs f1, 0x84(r1) /* 801F58A0 001F2800 C0 3F 03 14 */ lfs f1, 0x314(r31) /* 801F58A4 001F2804 D0 21 00 88 */ stfs f1, 0x88(r1) /* 801F58A8 001F2808 C0 3F 03 18 */ lfs f1, 0x318(r31) /* 801F58AC 001F280C D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801F58B0 001F2810 C0 3F 03 1C */ lfs f1, 0x31c(r31) /* 801F58B4 001F2814 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801F58B8 001F2818 C0 3F 03 20 */ lfs f1, 0x320(r31) /* 801F58BC 001F281C D0 21 00 94 */ stfs f1, 0x94(r1) /* 801F58C0 001F2820 C0 3F 03 24 */ lfs f1, 0x324(r31) /* 801F58C4 001F2824 D0 21 00 98 */ stfs f1, 0x98(r1) /* 801F58C8 001F2828 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 801F58CC 001F282C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F58D0 001F2830 38 63 00 04 */ addi r3, r3, 4 /* 801F58D4 001F2834 4B F3 BE 45 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801F58D8 001F2838 48 00 01 E8 */ b lbl_801F5AC0 lbl_801F58DC: /* 801F58DC 001F283C 80 1F 03 0C */ lwz r0, 0x30c(r31) /* 801F58E0 001F2840 28 00 00 00 */ cmplwi r0, 0 /* 801F58E4 001F2844 41 82 00 18 */ beq lbl_801F58FC /* 801F58E8 001F2848 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F58EC 001F284C 38 80 00 03 */ li r4, 3 /* 801F58F0 001F2850 4B F4 52 C5 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 801F58F4 001F2854 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F58F8 001F2858 40 82 00 54 */ bne lbl_801F594C lbl_801F58FC: /* 801F58FC 001F285C C0 3F 03 10 */ lfs f1, 0x310(r31) /* 801F5900 001F2860 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F5904 001F2864 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801F5908 001F2868 38 81 00 68 */ addi r4, r1, 0x68 /* 801F590C 001F286C D0 21 00 68 */ stfs f1, 0x68(r1) /* 801F5910 001F2870 C0 02 AF 34 */ lfs f0, lbl_805ACC54@sda21(r2) /* 801F5914 001F2874 C0 3F 03 14 */ lfs f1, 0x314(r31) /* 801F5918 001F2878 C0 43 00 04 */ lfs f2, 4(r3) /* 801F591C 001F287C D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801F5920 001F2880 C0 23 00 08 */ lfs f1, 8(r3) /* 801F5924 001F2884 C0 9F 03 18 */ lfs f4, 0x318(r31) /* 801F5928 001F2888 D0 81 00 70 */ stfs f4, 0x70(r1) /* 801F592C 001F288C D0 61 00 74 */ stfs f3, 0x74(r1) /* 801F5930 001F2890 D0 41 00 78 */ stfs f2, 0x78(r1) /* 801F5934 001F2894 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801F5938 001F2898 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801F593C 001F289C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F5940 001F28A0 38 63 00 04 */ addi r3, r3, 4 /* 801F5944 001F28A4 4B F3 BD D5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801F5948 001F28A8 48 00 01 78 */ b lbl_801F5AC0 lbl_801F594C: /* 801F594C 001F28AC 7F E3 FB 78 */ mr r3, r31 /* 801F5950 001F28B0 38 9F 03 10 */ addi r4, r31, 0x310 /* 801F5954 001F28B4 4B FF F3 B9 */ bl GetStepDirection__10CPatternedFRC9CVector3f /* 801F5958 001F28B8 2C 03 00 00 */ cmpwi r3, 0 /* 801F595C 001F28BC 41 82 00 78 */ beq lbl_801F59D4 /* 801F5960 001F28C0 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 801F5964 001F28C4 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801F5968 001F28C8 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l /* 801F596C 001F28CC 3C A0 80 3E */ lis r5, lbl_803DA9E4@ha /* 801F5970 001F28D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801F5974 001F28D4 38 A5 A9 E4 */ addi r5, r5, lbl_803DA9E4@l /* 801F5978 001F28D8 38 C0 00 01 */ li r6, 1 /* 801F597C 001F28DC 38 00 00 00 */ li r0, 0 /* 801F5980 001F28E0 90 C1 00 18 */ stw r6, 0x18(r1) /* 801F5984 001F28E4 3B C4 00 04 */ addi r30, r4, 4 /* 801F5988 001F28E8 38 80 00 01 */ li r4, 1 /* 801F598C 001F28EC 90 61 00 1C */ stw r3, 0x1c(r1) /* 801F5990 001F28F0 7F C3 F3 78 */ mr r3, r30 /* 801F5994 001F28F4 90 A1 00 14 */ stw r5, 0x14(r1) /* 801F5998 001F28F8 90 01 00 20 */ stw r0, 0x20(r1) /* 801F599C 001F28FC 4B F3 BA 9D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F59A0 001F2900 80 01 00 18 */ lwz r0, 0x18(r1) /* 801F59A4 001F2904 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha /* 801F59A8 001F2908 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l /* 801F59AC 001F290C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F59B0 001F2910 90 1E 00 C8 */ stw r0, 0xc8(r30) /* 801F59B4 001F2914 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F59B8 001F2918 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801F59BC 001F291C 90 81 00 14 */ stw r4, 0x14(r1) /* 801F59C0 001F2920 80 61 00 20 */ lwz r3, 0x20(r1) /* 801F59C4 001F2924 90 BE 00 CC */ stw r5, 0xcc(r30) /* 801F59C8 001F2928 90 7E 00 D0 */ stw r3, 0xd0(r30) /* 801F59CC 001F292C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F59D0 001F2930 48 00 00 50 */ b lbl_801F5A20 lbl_801F59D4: /* 801F59D4 001F2934 C0 3F 03 10 */ lfs f1, 0x310(r31) /* 801F59D8 001F2938 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F59DC 001F293C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801F59E0 001F2940 38 81 00 4C */ addi r4, r1, 0x4c /* 801F59E4 001F2944 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801F59E8 001F2948 C0 02 AF 34 */ lfs f0, lbl_805ACC54@sda21(r2) /* 801F59EC 001F294C C0 3F 03 14 */ lfs f1, 0x314(r31) /* 801F59F0 001F2950 C0 43 00 04 */ lfs f2, 4(r3) /* 801F59F4 001F2954 D0 21 00 50 */ stfs f1, 0x50(r1) /* 801F59F8 001F2958 C0 23 00 08 */ lfs f1, 8(r3) /* 801F59FC 001F295C C0 9F 03 18 */ lfs f4, 0x318(r31) /* 801F5A00 001F2960 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801F5A04 001F2964 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801F5A08 001F2968 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801F5A0C 001F296C D0 21 00 60 */ stfs f1, 0x60(r1) /* 801F5A10 001F2970 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801F5A14 001F2974 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F5A18 001F2978 38 63 00 04 */ addi r3, r3, 4 /* 801F5A1C 001F297C 4B F3 BC FD */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801F5A20: /* 801F5A20 001F2980 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F5A24 001F2984 C0 1F 03 1C */ lfs f0, 0x31c(r31) /* 801F5A28 001F2988 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801F5A2C 001F298C C0 1F 03 20 */ lfs f0, 0x320(r31) /* 801F5A30 001F2990 D0 03 00 20 */ stfs f0, 0x20(r3) /* 801F5A34 001F2994 C0 1F 03 24 */ lfs f0, 0x324(r31) /* 801F5A38 001F2998 D0 03 00 24 */ stfs f0, 0x24(r3) /* 801F5A3C 001F299C 48 00 00 84 */ b lbl_801F5AC0 lbl_801F5A40: /* 801F5A40 001F29A0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F5A44 001F29A4 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801F5A48 001F29A8 4B F3 E4 65 */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 801F5A4C 001F29AC FF A0 08 90 */ fmr f29, f1 /* 801F5A50 001F29B0 C0 02 AF 38 */ lfs f0, lbl_805ACC58@sda21(r2) /* 801F5A54 001F29B4 FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 801F5A58 001F29B8 40 81 00 68 */ ble lbl_801F5AC0 /* 801F5A5C 001F29BC 38 7F 01 38 */ addi r3, r31, 0x138 /* 801F5A60 001F29C0 48 11 EE 59 */ bl Magnitude__9CVector3fCFv /* 801F5A64 001F29C4 EC 81 E8 24 */ fdivs f4, f1, f29 /* 801F5A68 001F29C8 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 801F5A6C 001F29CC C0 3F 00 58 */ lfs f1, 0x58(r31) /* 801F5A70 001F29D0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F5A74 001F29D4 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 801F5A78 001F29D8 38 81 00 30 */ addi r4, r1, 0x30 /* 801F5A7C 001F29DC C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 801F5A80 001F29E0 EC C4 00 B2 */ fmuls f6, f4, f2 /* 801F5A84 001F29E4 EC A4 00 72 */ fmuls f5, f4, f1 /* 801F5A88 001F29E8 EC 84 00 32 */ fmuls f4, f4, f0 /* 801F5A8C 001F29EC C0 43 00 04 */ lfs f2, 4(r3) /* 801F5A90 001F29F0 C0 23 00 08 */ lfs f1, 8(r3) /* 801F5A94 001F29F4 C0 02 AF 34 */ lfs f0, lbl_805ACC54@sda21(r2) /* 801F5A98 001F29F8 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801F5A9C 001F29FC D0 C1 00 34 */ stfs f6, 0x34(r1) /* 801F5AA0 001F2A00 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801F5AA4 001F2A04 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801F5AA8 001F2A08 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801F5AAC 001F2A0C D0 21 00 44 */ stfs f1, 0x44(r1) /* 801F5AB0 001F2A10 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801F5AB4 001F2A14 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F5AB8 001F2A18 38 63 00 04 */ addi r3, r3, 4 /* 801F5ABC 001F2A1C 4B F3 BC 5D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801F5AC0: /* 801F5AC0 001F2A20 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801F5AC4 001F2A24 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801F5AC8 001F2A28 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 801F5ACC 001F2A2C CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 801F5AD0 001F2A30 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 801F5AD4 001F2A34 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 801F5AD8 001F2A38 83 E1 00 AC */ lwz r31, 0xac(r1) /* 801F5ADC 001F2A3C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801F5AE0 001F2A40 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 801F5AE4 001F2A44 7C 08 03 A6 */ mtlr r0 /* 801F5AE8 001F2A48 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801F5AEC 001F2A4C 4E 80 00 20 */ blr .global CodeTrigger__10CPatternedFR13CStateManagerf CodeTrigger__10CPatternedFR13CStateManagerf: /* 801F5AF0 001F2A50 88 03 03 48 */ lbz r0, 0x348(r3) /* 801F5AF4 001F2A54 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801F5AF8 001F2A58 4E 80 00 20 */ blr .global FixedDelay__10CPatternedFR13CStateManagerf FixedDelay__10CPatternedFR13CStateManagerf: /* 801F5AFC 001F2A5C C0 23 03 38 */ lfs f1, 0x338(r3) /* 801F5B00 001F2A60 C0 03 03 40 */ lfs f0, 0x340(r3) /* 801F5B04 001F2A64 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F5B08 001F2A68 7C 00 00 26 */ mfcr r0 /* 801F5B0C 001F2A6C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801F5B10 001F2A70 4E 80 00 20 */ blr .global RandomDelay__10CPatternedFR13CStateManagerf RandomDelay__10CPatternedFR13CStateManagerf: /* 801F5B14 001F2A74 C0 03 03 3C */ lfs f0, 0x33c(r3) /* 801F5B18 001F2A78 C0 43 03 38 */ lfs f2, 0x338(r3) /* 801F5B1C 001F2A7C EC 01 00 32 */ fmuls f0, f1, f0 /* 801F5B20 001F2A80 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F5B24 001F2A84 7C 00 00 26 */ mfcr r0 /* 801F5B28 001F2A88 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801F5B2C 001F2A8C 4E 80 00 20 */ blr .global Delay__10CPatternedFR13CStateManagerf Delay__10CPatternedFR13CStateManagerf: /* 801F5B30 001F2A90 C0 03 03 38 */ lfs f0, 0x338(r3) /* 801F5B34 001F2A94 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F5B38 001F2A98 7C 00 00 26 */ mfcr r0 /* 801F5B3C 001F2A9C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801F5B40 001F2AA0 4E 80 00 20 */ blr .global PatrolPathOver__10CPatternedFR13CStateManagerf PatrolPathOver__10CPatternedFR13CStateManagerf: /* 801F5B44 001F2AA4 A0 63 02 DC */ lhz r3, 0x2dc(r3) /* 801F5B48 001F2AA8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F5B4C 001F2AAC 7C 03 00 50 */ subf r0, r3, r0 /* 801F5B50 001F2AB0 7C 00 00 34 */ cntlzw r0, r0 /* 801F5B54 001F2AB4 54 03 D9 7E */ srwi r3, r0, 5 /* 801F5B58 001F2AB8 4E 80 00 20 */ blr .global Stuck__10CPatternedFR13CStateManagerf Stuck__10CPatternedFR13CStateManagerf: /* 801F5B5C 001F2ABC C0 23 04 F0 */ lfs f1, 0x4f0(r3) /* 801F5B60 001F2AC0 C0 02 AF 3C */ lfs f0, lbl_805ACC5C@sda21(r2) /* 801F5B64 001F2AC4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F5B68 001F2AC8 7C 00 00 26 */ mfcr r0 /* 801F5B6C 001F2ACC 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801F5B70 001F2AD0 4E 80 00 20 */ blr .global AnimOver__10CPatternedFR13CStateManagerf AnimOver__10CPatternedFR13CStateManagerf: /* 801F5B74 001F2AD4 80 03 03 2C */ lwz r0, 0x32c(r3) /* 801F5B78 001F2AD8 20 00 00 03 */ subfic r0, r0, 3 /* 801F5B7C 001F2ADC 7C 00 00 34 */ cntlzw r0, r0 /* 801F5B80 001F2AE0 54 03 D9 7E */ srwi r3, r0, 5 /* 801F5B84 001F2AE4 4E 80 00 20 */ blr .global InPosition__10CPatternedFR13CStateManagerf InPosition__10CPatternedFR13CStateManagerf: /* 801F5B88 001F2AE8 88 03 03 28 */ lbz r0, 0x328(r3) /* 801F5B8C 001F2AEC 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801F5B90 001F2AF0 4E 80 00 20 */ blr .global HasPatrolPath__10CPatternedFR13CStateManagerf HasPatrolPath__10CPatternedFR13CStateManagerf: /* 801F5B94 001F2AF4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F5B98 001F2AF8 7C 08 02 A6 */ mflr r0 /* 801F5B9C 001F2AFC 7C 85 23 78 */ mr r5, r4 /* 801F5BA0 001F2B00 7C 64 1B 78 */ mr r4, r3 /* 801F5BA4 001F2B04 90 01 00 14 */ stw r0, 0x14(r1) /* 801F5BA8 001F2B08 38 61 00 08 */ addi r3, r1, 8 /* 801F5BAC 001F2B0C 38 C0 00 0D */ li r6, 0xd /* 801F5BB0 001F2B10 38 E0 00 06 */ li r7, 6 /* 801F5BB4 001F2B14 4B FF F3 E5 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F5BB8 001F2B18 A0 81 00 08 */ lhz r4, 8(r1) /* 801F5BBC 001F2B1C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F5BC0 001F2B20 7C 64 00 50 */ subf r3, r4, r0 /* 801F5BC4 001F2B24 7C 00 20 50 */ subf r0, r0, r4 /* 801F5BC8 001F2B28 7C 60 03 78 */ or r0, r3, r0 /* 801F5BCC 001F2B2C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5BD0 001F2B30 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F5BD4 001F2B34 7C 08 03 A6 */ mtlr r0 /* 801F5BD8 001F2B38 38 21 00 10 */ addi r1, r1, 0x10 /* 801F5BDC 001F2B3C 4E 80 00 20 */ blr .global Attacked__10CPatternedFR13CStateManagerf Attacked__10CPatternedFR13CStateManagerf: /* 801F5BE0 001F2B40 88 03 04 00 */ lbz r0, 0x400(r3) /* 801F5BE4 001F2B44 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801F5BE8 001F2B48 7C 03 00 D0 */ neg r0, r3 /* 801F5BEC 001F2B4C 7C 00 1B 78 */ or r0, r0, r3 /* 801F5BF0 001F2B50 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5BF4 001F2B54 4E 80 00 20 */ blr .global PatternShagged__10CPatternedFR13CStateManagerf PatternShagged__10CPatternedFR13CStateManagerf: /* 801F5BF8 001F2B58 88 03 04 00 */ lbz r0, 0x400(r3) /* 801F5BFC 001F2B5C 54 03 FF FE */ rlwinm r3, r0, 0x1f, 0x1f, 0x1f /* 801F5C00 001F2B60 7C 03 00 D0 */ neg r0, r3 /* 801F5C04 001F2B64 7C 00 1B 78 */ or r0, r0, r3 /* 801F5C08 001F2B68 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5C0C 001F2B6C 4E 80 00 20 */ blr .global PatternOver__10CPatternedFR13CStateManagerf PatternOver__10CPatternedFR13CStateManagerf: /* 801F5C10 001F2B70 80 A3 03 9C */ lwz r5, 0x39c(r3) /* 801F5C14 001F2B74 80 03 03 90 */ lwz r0, 0x390(r3) /* 801F5C18 001F2B78 7C A4 FE 70 */ srawi r4, r5, 0x1f /* 801F5C1C 001F2B7C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5C20 001F2B80 7C 00 28 10 */ subfc r0, r0, r5 /* 801F5C24 001F2B84 7C 64 19 14 */ adde r3, r4, r3 /* 801F5C28 001F2B88 4E 80 00 20 */ blr .global HasRetreatPattern__10CPatternedFR13CStateManagerf HasRetreatPattern__10CPatternedFR13CStateManagerf: /* 801F5C2C 001F2B8C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F5C30 001F2B90 7C 08 02 A6 */ mflr r0 /* 801F5C34 001F2B94 7C 85 23 78 */ mr r5, r4 /* 801F5C38 001F2B98 7C 64 1B 78 */ mr r4, r3 /* 801F5C3C 001F2B9C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F5C40 001F2BA0 38 61 00 08 */ addi r3, r1, 8 /* 801F5C44 001F2BA4 38 C0 00 0C */ li r6, 0xc /* 801F5C48 001F2BA8 38 E0 00 06 */ li r7, 6 /* 801F5C4C 001F2BAC 4B FF F3 4D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F5C50 001F2BB0 A0 81 00 08 */ lhz r4, 8(r1) /* 801F5C54 001F2BB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F5C58 001F2BB8 7C 64 00 50 */ subf r3, r4, r0 /* 801F5C5C 001F2BBC 7C 00 20 50 */ subf r0, r0, r4 /* 801F5C60 001F2BC0 7C 60 03 78 */ or r0, r3, r0 /* 801F5C64 001F2BC4 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5C68 001F2BC8 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F5C6C 001F2BCC 7C 08 03 A6 */ mtlr r0 /* 801F5C70 001F2BD0 38 21 00 10 */ addi r1, r1, 0x10 /* 801F5C74 001F2BD4 4E 80 00 20 */ blr .global HasAttackPattern__10CPatternedFR13CStateManagerf HasAttackPattern__10CPatternedFR13CStateManagerf: /* 801F5C78 001F2BD8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F5C7C 001F2BDC 7C 08 02 A6 */ mflr r0 /* 801F5C80 001F2BE0 7C 85 23 78 */ mr r5, r4 /* 801F5C84 001F2BE4 7C 64 1B 78 */ mr r4, r3 /* 801F5C88 001F2BE8 90 01 00 14 */ stw r0, 0x14(r1) /* 801F5C8C 001F2BEC 38 61 00 08 */ addi r3, r1, 8 /* 801F5C90 001F2BF0 38 C0 00 0A */ li r6, 0xa /* 801F5C94 001F2BF4 38 E0 00 06 */ li r7, 6 /* 801F5C98 001F2BF8 4B FF F3 01 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F5C9C 001F2BFC A0 81 00 08 */ lhz r4, 8(r1) /* 801F5CA0 001F2C00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F5CA4 001F2C04 7C 64 00 50 */ subf r3, r4, r0 /* 801F5CA8 001F2C08 7C 00 20 50 */ subf r0, r0, r4 /* 801F5CAC 001F2C0C 7C 60 03 78 */ or r0, r3, r0 /* 801F5CB0 001F2C10 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5CB4 001F2C14 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F5CB8 001F2C18 7C 08 03 A6 */ mtlr r0 /* 801F5CBC 001F2C1C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F5CC0 001F2C20 4E 80 00 20 */ blr .global NoPathNodes__10CPatternedFR13CStateManagerf NoPathNodes__10CPatternedFR13CStateManagerf: /* 801F5CC4 001F2C24 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F5CC8 001F2C28 7C 08 02 A6 */ mflr r0 /* 801F5CCC 001F2C2C 90 01 00 24 */ stw r0, 0x24(r1) /* 801F5CD0 001F2C30 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F5CD4 001F2C34 7C 7F 1B 78 */ mr r31, r3 /* 801F5CD8 001F2C38 81 83 00 00 */ lwz r12, 0(r3) /* 801F5CDC 001F2C3C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5CE0 001F2C40 7D 89 03 A6 */ mtctr r12 /* 801F5CE4 001F2C44 4E 80 04 21 */ bctrl /* 801F5CE8 001F2C48 28 03 00 00 */ cmplwi r3, 0 /* 801F5CEC 001F2C4C 41 82 00 48 */ beq lbl_801F5D34 /* 801F5CF0 001F2C50 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801F5CF4 001F2C54 7F E3 FB 78 */ mr r3, r31 /* 801F5CF8 001F2C58 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F5CFC 001F2C5C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F5D00 001F2C60 D0 01 00 08 */ stfs f0, 8(r1) /* 801F5D04 001F2C64 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801F5D08 001F2C68 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801F5D0C 001F2C6C 81 9F 00 00 */ lwz r12, 0(r31) /* 801F5D10 001F2C70 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5D14 001F2C74 7D 89 03 A6 */ mtctr r12 /* 801F5D18 001F2C78 4E 80 04 21 */ bctrl /* 801F5D1C 001F2C7C 38 81 00 08 */ addi r4, r1, 8 /* 801F5D20 001F2C80 4B FD 0E 15 */ bl OnPath__15CPathFindSearchCFRC9CVector3f /* 801F5D24 001F2C84 7C 03 00 D0 */ neg r0, r3 /* 801F5D28 001F2C88 7C 00 1B 78 */ or r0, r0, r3 /* 801F5D2C 001F2C8C 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F5D30 001F2C90 48 00 00 08 */ b lbl_801F5D38 lbl_801F5D34: /* 801F5D34 001F2C94 38 60 00 01 */ li r3, 1 lbl_801F5D38: /* 801F5D38 001F2C98 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F5D3C 001F2C9C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F5D40 001F2CA0 7C 08 03 A6 */ mtlr r0 /* 801F5D44 001F2CA4 38 21 00 20 */ addi r1, r1, 0x20 /* 801F5D48 001F2CA8 4E 80 00 20 */ blr .global PathShagged__10CPatternedFR13CStateManagerf PathShagged__10CPatternedFR13CStateManagerf: /* 801F5D4C 001F2CAC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801F5D50 001F2CB0 7C 08 02 A6 */ mflr r0 /* 801F5D54 001F2CB4 90 01 00 74 */ stw r0, 0x74(r1) /* 801F5D58 001F2CB8 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801F5D5C 001F2CBC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801F5D60 001F2CC0 DB C1 00 50 */ stfd f30, 0x50(r1) /* 801F5D64 001F2CC4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 801F5D68 001F2CC8 DB A1 00 40 */ stfd f29, 0x40(r1) /* 801F5D6C 001F2CCC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 801F5D70 001F2CD0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801F5D74 001F2CD4 81 83 00 00 */ lwz r12, 0(r3) /* 801F5D78 001F2CD8 7C 7F 1B 78 */ mr r31, r3 /* 801F5D7C 001F2CDC 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5D80 001F2CE0 7D 89 03 A6 */ mtctr r12 /* 801F5D84 001F2CE4 4E 80 04 21 */ bctrl /* 801F5D88 001F2CE8 28 03 00 00 */ cmplwi r3, 0 /* 801F5D8C 001F2CEC 41 82 01 24 */ beq lbl_801F5EB0 /* 801F5D90 001F2CF0 7F E3 FB 78 */ mr r3, r31 /* 801F5D94 001F2CF4 81 9F 00 00 */ lwz r12, 0(r31) /* 801F5D98 001F2CF8 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5D9C 001F2CFC 7D 89 03 A6 */ mtctr r12 /* 801F5DA0 001F2D00 4E 80 04 21 */ bctrl /* 801F5DA4 001F2D04 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801F5DA8 001F2D08 2C 00 00 00 */ cmpwi r0, 0 /* 801F5DAC 001F2D0C 41 82 00 0C */ beq lbl_801F5DB8 /* 801F5DB0 001F2D10 38 60 00 01 */ li r3, 1 /* 801F5DB4 001F2D14 48 00 01 00 */ b lbl_801F5EB4 lbl_801F5DB8: /* 801F5DB8 001F2D18 7F E3 FB 78 */ mr r3, r31 /* 801F5DBC 001F2D1C 81 9F 00 00 */ lwz r12, 0(r31) /* 801F5DC0 001F2D20 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5DC4 001F2D24 7D 89 03 A6 */ mtctr r12 /* 801F5DC8 001F2D28 4E 80 04 21 */ bctrl /* 801F5DCC 001F2D2C 80 03 00 C8 */ lwz r0, 0xc8(r3) /* 801F5DD0 001F2D30 2C 00 00 00 */ cmpwi r0, 0 /* 801F5DD4 001F2D34 40 81 00 DC */ ble lbl_801F5EB0 /* 801F5DD8 001F2D38 88 1F 04 01 */ lbz r0, 0x401(r31) /* 801F5DDC 001F2D3C 54 00 D7 BF */ rlwinm. r0, r0, 0x1a, 0x1e, 0x1f /* 801F5DE0 001F2D40 40 82 00 D0 */ bne lbl_801F5EB0 /* 801F5DE4 001F2D44 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801F5DE8 001F2D48 C0 A2 AF 40 */ lfs f5, lbl_805ACC60@sda21(r2) /* 801F5DEC 001F2D4C 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l /* 801F5DF0 001F2D50 C0 DF 00 40 */ lfs f6, 0x40(r31) /* 801F5DF4 001F2D54 C0 44 00 00 */ lfs f2, 0(r4) /* 801F5DF8 001F2D58 7F E3 FB 78 */ mr r3, r31 /* 801F5DFC 001F2D5C C0 24 00 04 */ lfs f1, 4(r4) /* 801F5E00 001F2D60 C0 04 00 08 */ lfs f0, 8(r4) /* 801F5E04 001F2D64 EC 85 00 B2 */ fmuls f4, f5, f2 /* 801F5E08 001F2D68 EC 45 00 72 */ fmuls f2, f5, f1 /* 801F5E0C 001F2D6C C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801F5E10 001F2D70 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801F5E14 001F2D74 EC 05 00 32 */ fmuls f0, f5, f0 /* 801F5E18 001F2D78 EF A6 20 2A */ fadds f29, f6, f4 /* 801F5E1C 001F2D7C EF C3 10 2A */ fadds f30, f3, f2 /* 801F5E20 001F2D80 EF E1 00 2A */ fadds f31, f1, f0 /* 801F5E24 001F2D84 D0 C1 00 14 */ stfs f6, 0x14(r1) /* 801F5E28 001F2D88 D3 A1 00 20 */ stfs f29, 0x20(r1) /* 801F5E2C 001F2D8C D3 C1 00 24 */ stfs f30, 0x24(r1) /* 801F5E30 001F2D90 D3 E1 00 28 */ stfs f31, 0x28(r1) /* 801F5E34 001F2D94 D0 61 00 18 */ stfs f3, 0x18(r1) /* 801F5E38 001F2D98 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801F5E3C 001F2D9C 81 9F 00 00 */ lwz r12, 0(r31) /* 801F5E40 001F2DA0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5E44 001F2DA4 7D 89 03 A6 */ mtctr r12 /* 801F5E48 001F2DA8 4E 80 04 21 */ bctrl /* 801F5E4C 001F2DAC 38 81 00 20 */ addi r4, r1, 0x20 /* 801F5E50 001F2DB0 38 A1 00 14 */ addi r5, r1, 0x14 /* 801F5E54 001F2DB4 4B FD 5F 59 */ bl GetSplinePoint__15CPathFindSearchCFR9CVector3fRC9CVector3f /* 801F5E58 001F2DB8 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801F5E5C 001F2DBC C0 01 00 20 */ lfs f0, 0x20(r1) /* 801F5E60 001F2DC0 EC 61 F0 28 */ fsubs f3, f1, f30 /* 801F5E64 001F2DC4 C0 41 00 28 */ lfs f2, 0x28(r1) /* 801F5E68 001F2DC8 EC 20 E8 28 */ fsubs f1, f0, f29 /* 801F5E6C 001F2DCC C0 A2 88 F4 */ lfs f5, lbl_805AA614@sda21(r2) /* 801F5E70 001F2DD0 EC 82 F8 28 */ fsubs f4, f2, f31 /* 801F5E74 001F2DD4 C0 02 AF 44 */ lfs f0, lbl_805ACC64@sda21(r2) /* 801F5E78 001F2DD8 EC 41 00 72 */ fmuls f2, f1, f1 /* 801F5E7C 001F2DDC D0 21 00 08 */ stfs f1, 8(r1) /* 801F5E80 001F2DE0 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801F5E84 001F2DE4 EC 00 01 72 */ fmuls f0, f0, f5 /* 801F5E88 001F2DE8 D0 61 00 0C */ stfs f3, 0xc(r1) /* 801F5E8C 001F2DEC EC 64 01 32 */ fmuls f3, f4, f4 /* 801F5E90 001F2DF0 EC 22 08 2A */ fadds f1, f2, f1 /* 801F5E94 001F2DF4 D0 81 00 10 */ stfs f4, 0x10(r1) /* 801F5E98 001F2DF8 EC 00 01 72 */ fmuls f0, f0, f5 /* 801F5E9C 001F2DFC EC 23 08 2A */ fadds f1, f3, f1 /* 801F5EA0 001F2E00 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F5EA4 001F2E04 40 81 00 0C */ ble lbl_801F5EB0 /* 801F5EA8 001F2E08 38 60 00 01 */ li r3, 1 /* 801F5EAC 001F2E0C 48 00 00 08 */ b lbl_801F5EB4 lbl_801F5EB0: /* 801F5EB0 001F2E10 38 60 00 00 */ li r3, 0 lbl_801F5EB4: /* 801F5EB4 001F2E14 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801F5EB8 001F2E18 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801F5EBC 001F2E1C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 801F5EC0 001F2E20 CB C1 00 50 */ lfd f30, 0x50(r1) /* 801F5EC4 001F2E24 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 801F5EC8 001F2E28 CB A1 00 40 */ lfd f29, 0x40(r1) /* 801F5ECC 001F2E2C 80 01 00 74 */ lwz r0, 0x74(r1) /* 801F5ED0 001F2E30 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801F5ED4 001F2E34 7C 08 03 A6 */ mtlr r0 /* 801F5ED8 001F2E38 38 21 00 70 */ addi r1, r1, 0x70 /* 801F5EDC 001F2E3C 4E 80 00 20 */ blr .global PathFound__10CPatternedFR13CStateManagerf PathFound__10CPatternedFR13CStateManagerf: /* 801F5EE0 001F2E40 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F5EE4 001F2E44 7C 08 02 A6 */ mflr r0 /* 801F5EE8 001F2E48 90 01 00 14 */ stw r0, 0x14(r1) /* 801F5EEC 001F2E4C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F5EF0 001F2E50 3B E0 00 00 */ li r31, 0 /* 801F5EF4 001F2E54 93 C1 00 08 */ stw r30, 8(r1) /* 801F5EF8 001F2E58 7C 7E 1B 78 */ mr r30, r3 /* 801F5EFC 001F2E5C 81 83 00 00 */ lwz r12, 0(r3) /* 801F5F00 001F2E60 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5F04 001F2E64 7D 89 03 A6 */ mtctr r12 /* 801F5F08 001F2E68 4E 80 04 21 */ bctrl /* 801F5F0C 001F2E6C 28 03 00 00 */ cmplwi r3, 0 /* 801F5F10 001F2E70 41 82 00 28 */ beq lbl_801F5F38 /* 801F5F14 001F2E74 7F C3 F3 78 */ mr r3, r30 /* 801F5F18 001F2E78 81 9E 00 00 */ lwz r12, 0(r30) /* 801F5F1C 001F2E7C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5F20 001F2E80 7D 89 03 A6 */ mtctr r12 /* 801F5F24 001F2E84 4E 80 04 21 */ bctrl /* 801F5F28 001F2E88 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801F5F2C 001F2E8C 2C 00 00 00 */ cmpwi r0, 0 /* 801F5F30 001F2E90 40 82 00 08 */ bne lbl_801F5F38 /* 801F5F34 001F2E94 3B E0 00 01 */ li r31, 1 lbl_801F5F38: /* 801F5F38 001F2E98 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F5F3C 001F2E9C 7F E3 FB 78 */ mr r3, r31 /* 801F5F40 001F2EA0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F5F44 001F2EA4 83 C1 00 08 */ lwz r30, 8(r1) /* 801F5F48 001F2EA8 7C 08 03 A6 */ mtlr r0 /* 801F5F4C 001F2EAC 38 21 00 10 */ addi r1, r1, 0x10 /* 801F5F50 001F2EB0 4E 80 00 20 */ blr .global PathOver__10CPatternedFR13CStateManagerf PathOver__10CPatternedFR13CStateManagerf: /* 801F5F54 001F2EB4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F5F58 001F2EB8 7C 08 02 A6 */ mflr r0 /* 801F5F5C 001F2EBC 90 01 00 14 */ stw r0, 0x14(r1) /* 801F5F60 001F2EC0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F5F64 001F2EC4 93 C1 00 08 */ stw r30, 8(r1) /* 801F5F68 001F2EC8 7C 7E 1B 78 */ mr r30, r3 /* 801F5F6C 001F2ECC 81 83 00 00 */ lwz r12, 0(r3) /* 801F5F70 001F2ED0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5F74 001F2ED4 7D 89 03 A6 */ mtctr r12 /* 801F5F78 001F2ED8 4E 80 04 21 */ bctrl /* 801F5F7C 001F2EDC 28 03 00 00 */ cmplwi r3, 0 /* 801F5F80 001F2EE0 41 82 00 70 */ beq lbl_801F5FF0 /* 801F5F84 001F2EE4 88 7E 03 28 */ lbz r3, 0x328(r30) /* 801F5F88 001F2EE8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801F5F8C 001F2EEC 40 82 00 0C */ bne lbl_801F5F98 /* 801F5F90 001F2EF0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801F5F94 001F2EF4 41 82 00 5C */ beq lbl_801F5FF0 lbl_801F5F98: /* 801F5F98 001F2EF8 7F C3 F3 78 */ mr r3, r30 /* 801F5F9C 001F2EFC 3B E0 00 00 */ li r31, 0 /* 801F5FA0 001F2F00 81 9E 00 00 */ lwz r12, 0(r30) /* 801F5FA4 001F2F04 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5FA8 001F2F08 7D 89 03 A6 */ mtctr r12 /* 801F5FAC 001F2F0C 4E 80 04 21 */ bctrl /* 801F5FB0 001F2F10 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801F5FB4 001F2F14 2C 00 00 00 */ cmpwi r0, 0 /* 801F5FB8 001F2F18 40 82 00 30 */ bne lbl_801F5FE8 /* 801F5FBC 001F2F1C 7F C3 F3 78 */ mr r3, r30 /* 801F5FC0 001F2F20 81 9E 00 00 */ lwz r12, 0(r30) /* 801F5FC4 001F2F24 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F5FC8 001F2F28 7D 89 03 A6 */ mtctr r12 /* 801F5FCC 001F2F2C 4E 80 04 21 */ bctrl /* 801F5FD0 001F2F30 80 83 00 04 */ lwz r4, 4(r3) /* 801F5FD4 001F2F34 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801F5FD8 001F2F38 38 04 FF FF */ addi r0, r4, -1 /* 801F5FDC 001F2F3C 7C 03 00 00 */ cmpw r3, r0 /* 801F5FE0 001F2F40 41 80 00 08 */ blt lbl_801F5FE8 /* 801F5FE4 001F2F44 3B E0 00 01 */ li r31, 1 lbl_801F5FE8: /* 801F5FE8 001F2F48 7F E3 FB 78 */ mr r3, r31 /* 801F5FEC 001F2F4C 48 00 00 08 */ b lbl_801F5FF4 lbl_801F5FF0: /* 801F5FF0 001F2F50 38 60 00 00 */ li r3, 0 lbl_801F5FF4: /* 801F5FF4 001F2F54 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F5FF8 001F2F58 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F5FFC 001F2F5C 83 C1 00 08 */ lwz r30, 8(r1) /* 801F6000 001F2F60 7C 08 03 A6 */ mtlr r0 /* 801F6004 001F2F64 38 21 00 10 */ addi r1, r1, 0x10 /* 801F6008 001F2F68 4E 80 00 20 */ blr .global Landed__10CPatternedFR13CStateManagerf Landed__10CPatternedFR13CStateManagerf: /* 801F600C 001F2F6C 88 03 03 28 */ lbz r0, 0x328(r3) /* 801F6010 001F2F70 38 80 00 00 */ li r4, 0 /* 801F6014 001F2F74 54 05 E7 FF */ rlwinm. r5, r0, 0x1c, 0x1f, 0x1f /* 801F6018 001F2F78 41 82 00 10 */ beq lbl_801F6028 /* 801F601C 001F2F7C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801F6020 001F2F80 40 82 00 08 */ bne lbl_801F6028 /* 801F6024 001F2F84 38 80 00 01 */ li r4, 1 lbl_801F6028: /* 801F6028 001F2F88 88 03 03 28 */ lbz r0, 0x328(r3) /* 801F602C 001F2F8C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801F6030 001F2F90 98 03 03 28 */ stb r0, 0x328(r3) /* 801F6034 001F2F94 7C 83 23 78 */ mr r3, r4 /* 801F6038 001F2F98 4E 80 00 20 */ blr .global PlayerSpot__10CPatternedFR13CStateManagerf PlayerSpot__10CPatternedFR13CStateManagerf: /* 801F603C 001F2F9C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 801F6040 001F2FA0 7C 08 02 A6 */ mflr r0 /* 801F6044 001F2FA4 90 01 00 E4 */ stw r0, 0xe4(r1) /* 801F6048 001F2FA8 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 801F604C 001F2FAC F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 801F6050 001F2FB0 93 E1 00 CC */ stw r31, 0xcc(r1) /* 801F6054 001F2FB4 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 801F6058 001F2FB8 7C 9F 23 78 */ mr r31, r4 /* 801F605C 001F2FBC 7C 7E 1B 78 */ mr r30, r3 /* 801F6060 001F2FC0 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801F6064 001F2FC4 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 801F6068 001F2FC8 2C 00 00 00 */ cmpwi r0, 0 /* 801F606C 001F2FCC 40 82 01 6C */ bne lbl_801F61D8 /* 801F6070 001F2FD0 81 84 00 00 */ lwz r12, 0(r4) /* 801F6074 001F2FD4 7F E5 FB 78 */ mr r5, r31 /* 801F6078 001F2FD8 38 61 00 20 */ addi r3, r1, 0x20 /* 801F607C 001F2FDC C0 22 AF 20 */ lfs f1, lbl_805ACC40@sda21(r2) /* 801F6080 001F2FE0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801F6084 001F2FE4 7D 89 03 A6 */ mtctr r12 /* 801F6088 001F2FE8 4E 80 04 21 */ bctrl /* 801F608C 001F2FEC C0 41 00 20 */ lfs f2, 0x20(r1) /* 801F6090 001F2FF0 7F C4 F3 78 */ mr r4, r30 /* 801F6094 001F2FF4 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801F6098 001F2FF8 38 61 00 68 */ addi r3, r1, 0x68 /* 801F609C 001F2FFC C0 01 00 28 */ lfs f0, 0x28(r1) /* 801F60A0 001F3000 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801F60A4 001F3004 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801F60A8 001F3008 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801F60AC 001F300C 4B F2 48 81 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801F60B0 001F3010 38 61 00 14 */ addi r3, r1, 0x14 /* 801F60B4 001F3014 38 81 00 68 */ addi r4, r1, 0x68 /* 801F60B8 001F3018 48 14 15 55 */ bl GetCenterPoint__6CAABoxCFv /* 801F60BC 001F301C C0 A1 00 14 */ lfs f5, 0x14(r1) /* 801F60C0 001F3020 38 61 00 2C */ addi r3, r1, 0x2c /* 801F60C4 001F3024 C0 81 00 18 */ lfs f4, 0x18(r1) /* 801F60C8 001F3028 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 801F60CC 001F302C C0 41 00 48 */ lfs f2, 0x48(r1) /* 801F60D0 001F3030 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 801F60D4 001F3034 C0 01 00 44 */ lfs f0, 0x44(r1) /* 801F60D8 001F3038 EC 44 10 28 */ fsubs f2, f4, f2 /* 801F60DC 001F303C EC 23 08 28 */ fsubs f1, f3, f1 /* 801F60E0 001F3040 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801F60E4 001F3044 EC 05 00 28 */ fsubs f0, f5, f0 /* 801F60E8 001F3048 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801F60EC 001F304C D0 61 00 40 */ stfs f3, 0x40(r1) /* 801F60F0 001F3050 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801F60F4 001F3054 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801F60F8 001F3058 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801F60FC 001F305C 48 11 E7 BD */ bl Magnitude__9CVector3fCFv /* 801F6100 001F3060 FF E0 08 90 */ fmr f31, f1 /* 801F6104 001F3064 C0 62 AF 34 */ lfs f3, lbl_805ACC54@sda21(r2) /* 801F6108 001F3068 C0 81 00 2C */ lfs f4, 0x2c(r1) /* 801F610C 001F306C 38 61 00 08 */ addi r3, r1, 8 /* 801F6110 001F3070 C0 41 00 30 */ lfs f2, 0x30(r1) /* 801F6114 001F3074 38 A1 00 38 */ addi r5, r1, 0x38 /* 801F6118 001F3078 EC A3 F8 24 */ fdivs f5, f3, f31 /* 801F611C 001F307C C0 01 00 34 */ lfs f0, 0x34(r1) /* 801F6120 001F3080 EC 64 01 72 */ fmuls f3, f4, f5 /* 801F6124 001F3084 EC 22 01 72 */ fmuls f1, f2, f5 /* 801F6128 001F3088 EC 00 01 72 */ fmuls f0, f0, f5 /* 801F612C 001F308C D0 61 00 2C */ stfs f3, 0x2c(r1) /* 801F6130 001F3090 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801F6134 001F3094 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801F6138 001F3098 80 9F 08 70 */ lwz r4, 0x870(r31) /* 801F613C 001F309C 80 84 00 7C */ lwz r4, 0x7c(r4) /* 801F6140 001F30A0 4B E6 77 51 */ bl ConvertToScreenSpace__11CGameCameraCFRC9CVector3f /* 801F6144 001F30A4 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801F6148 001F30A8 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F614C 001F30AC C0 41 00 08 */ lfs f2, 8(r1) /* 801F6150 001F30B0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F6154 001F30B4 C0 61 00 0C */ lfs f3, 0xc(r1) /* 801F6158 001F30B8 40 81 00 80 */ ble lbl_801F61D8 /* 801F615C 001F30BC EC 02 00 B2 */ fmuls f0, f2, f2 /* 801F6160 001F30C0 C0 22 AF 34 */ lfs f1, lbl_805ACC54@sda21(r2) /* 801F6164 001F30C4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F6168 001F30C8 40 80 00 70 */ bge lbl_801F61D8 /* 801F616C 001F30CC EC 03 00 F2 */ fmuls f0, f3, f3 /* 801F6170 001F30D0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F6174 001F30D4 40 80 00 64 */ bge lbl_801F61D8 /* 801F6178 001F30D8 80 AD 92 C0 */ lwz r5, lbl_805A7E80@sda21(r13) /* 801F617C 001F30DC 38 60 00 00 */ li r3, 0 /* 801F6180 001F30E0 38 80 00 01 */ li r4, 1 /* 801F6184 001F30E4 48 19 3D 71 */ bl __shl2i /* 801F6188 001F30E8 39 00 00 01 */ li r8, 1 /* 801F618C 001F30EC 38 00 00 00 */ li r0, 0 /* 801F6190 001F30F0 90 81 00 84 */ stw r4, 0x84(r1) /* 801F6194 001F30F4 FC 20 F8 90 */ fmr f1, f31 /* 801F6198 001F30F8 7F E4 FB 78 */ mr r4, r31 /* 801F619C 001F30FC 38 A1 00 44 */ addi r5, r1, 0x44 /* 801F61A0 001F3100 90 61 00 80 */ stw r3, 0x80(r1) /* 801F61A4 001F3104 38 61 00 98 */ addi r3, r1, 0x98 /* 801F61A8 001F3108 38 C1 00 2C */ addi r6, r1, 0x2c /* 801F61AC 001F310C 91 01 00 60 */ stw r8, 0x60(r1) /* 801F61B0 001F3110 38 E1 00 80 */ addi r7, r1, 0x80 /* 801F61B4 001F3114 90 01 00 8C */ stw r0, 0x8c(r1) /* 801F61B8 001F3118 90 01 00 88 */ stw r0, 0x88(r1) /* 801F61BC 001F311C 91 01 00 90 */ stw r8, 0x90(r1) /* 801F61C0 001F3120 4B E5 6D D9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801F61C4 001F3124 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 801F61C8 001F3128 28 00 00 00 */ cmplwi r0, 0 /* 801F61CC 001F312C 40 82 00 0C */ bne lbl_801F61D8 /* 801F61D0 001F3130 38 60 00 01 */ li r3, 1 /* 801F61D4 001F3134 48 00 00 08 */ b lbl_801F61DC lbl_801F61D8: /* 801F61D8 001F3138 38 60 00 00 */ li r3, 0 lbl_801F61DC: /* 801F61DC 001F313C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 801F61E0 001F3140 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 801F61E4 001F3144 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 801F61E8 001F3148 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 801F61EC 001F314C 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 801F61F0 001F3150 7C 08 03 A6 */ mtlr r0 /* 801F61F4 001F3154 38 21 00 E0 */ addi r1, r1, 0xe0 /* 801F61F8 001F3158 4E 80 00 20 */ blr .global SpotPlayer__10CPatternedFR13CStateManagerf SpotPlayer__10CPatternedFR13CStateManagerf: /* 801F61FC 001F315C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801F6200 001F3160 7C 08 02 A6 */ mflr r0 /* 801F6204 001F3164 90 01 00 44 */ stw r0, 0x44(r1) /* 801F6208 001F3168 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801F620C 001F316C 3B E0 00 00 */ li r31, 0 /* 801F6210 001F3170 93 C1 00 38 */ stw r30, 0x38(r1) /* 801F6214 001F3174 7C 9E 23 78 */ mr r30, r4 /* 801F6218 001F3178 93 A1 00 34 */ stw r29, 0x34(r1) /* 801F621C 001F317C 7C 7D 1B 78 */ mr r29, r3 /* 801F6220 001F3180 7F A4 EB 78 */ mr r4, r29 /* 801F6224 001F3184 38 61 00 14 */ addi r3, r1, 0x14 /* 801F6228 001F3188 4B E8 68 A9 */ bl GetGunEyePos__10CPatternedCFv /* 801F622C 001F318C 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 801F6230 001F3190 7F C5 F3 78 */ mr r5, r30 /* 801F6234 001F3194 38 61 00 20 */ addi r3, r1, 0x20 /* 801F6238 001F3198 C0 22 AF 20 */ lfs f1, lbl_805ACC40@sda21(r2) /* 801F623C 001F319C 81 84 00 00 */ lwz r12, 0(r4) /* 801F6240 001F31A0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801F6244 001F31A4 7D 89 03 A6 */ mtctr r12 /* 801F6248 001F31A8 4E 80 04 21 */ bctrl /* 801F624C 001F31AC C0 21 00 24 */ lfs f1, 0x24(r1) /* 801F6250 001F31B0 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801F6254 001F31B4 C0 DD 00 48 */ lfs f6, 0x48(r29) /* 801F6258 001F31B8 EC 81 00 28 */ fsubs f4, f1, f0 /* 801F625C 001F31BC C0 21 00 20 */ lfs f1, 0x20(r1) /* 801F6260 001F31C0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 801F6264 001F31C4 C0 5D 00 38 */ lfs f2, 0x38(r29) /* 801F6268 001F31C8 EC A1 00 28 */ fsubs f5, f1, f0 /* 801F626C 001F31CC C0 61 00 28 */ lfs f3, 0x28(r1) /* 801F6270 001F31D0 EC 04 01 B2 */ fmuls f0, f4, f6 /* 801F6274 001F31D4 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 801F6278 001F31D8 C0 FD 00 58 */ lfs f7, 0x58(r29) /* 801F627C 001F31DC EC 63 08 28 */ fsubs f3, f3, f1 /* 801F6280 001F31E0 EC 25 00 BA */ fmadds f1, f5, f2, f0 /* 801F6284 001F31E4 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F6288 001F31E8 D0 41 00 08 */ stfs f2, 8(r1) /* 801F628C 001F31EC EC 43 09 FA */ fmadds f2, f3, f7, f1 /* 801F6290 001F31F0 D0 C1 00 0C */ stfs f6, 0xc(r1) /* 801F6294 001F31F4 D0 E1 00 10 */ stfs f7, 0x10(r1) /* 801F6298 001F31F8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F629C 001F31FC 40 81 00 28 */ ble lbl_801F62C4 /* 801F62A0 001F3200 EC 24 01 32 */ fmuls f1, f4, f4 /* 801F62A4 001F3204 C0 1D 03 C4 */ lfs f0, 0x3c4(r29) /* 801F62A8 001F3208 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801F62AC 001F320C EC 25 09 7A */ fmadds f1, f5, f5, f1 /* 801F62B0 001F3210 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801F62B4 001F3214 EC 01 00 32 */ fmuls f0, f1, f0 /* 801F62B8 001F3218 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F62BC 001F321C 7C 00 00 26 */ mfcr r0 /* 801F62C0 001F3220 54 1F 17 FE */ rlwinm r31, r0, 2, 0x1f, 0x1f lbl_801F62C4: /* 801F62C4 001F3224 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F62C8 001F3228 7F E3 FB 78 */ mr r3, r31 /* 801F62CC 001F322C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801F62D0 001F3230 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801F62D4 001F3234 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801F62D8 001F3238 7C 08 03 A6 */ mtlr r0 /* 801F62DC 001F323C 38 21 00 40 */ addi r1, r1, 0x40 /* 801F62E0 001F3240 4E 80 00 20 */ blr .global Leash__10CPatternedFR13CStateManagerf Leash__10CPatternedFR13CStateManagerf: /* 801F62E4 001F3244 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F62E8 001F3248 C0 23 03 D4 */ lfs f1, 0x3d4(r3) /* 801F62EC 001F324C C0 03 03 D0 */ lfs f0, 0x3d0(r3) /* 801F62F0 001F3250 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F62F4 001F3254 7C 00 00 26 */ mfcr r0 /* 801F62F8 001F3258 54 00 17 FF */ rlwinm. r0, r0, 2, 0x1f, 0x1f /* 801F62FC 001F325C 41 82 00 64 */ beq lbl_801F6360 /* 801F6300 001F3260 C0 43 03 A4 */ lfs f2, 0x3a4(r3) /* 801F6304 001F3264 38 00 00 00 */ li r0, 0 /* 801F6308 001F3268 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801F630C 001F326C C0 23 03 A0 */ lfs f1, 0x3a0(r3) /* 801F6310 001F3270 EC 82 00 28 */ fsubs f4, f2, f0 /* 801F6314 001F3274 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801F6318 001F3278 C0 63 03 A8 */ lfs f3, 0x3a8(r3) /* 801F631C 001F327C EC 41 00 28 */ fsubs f2, f1, f0 /* 801F6320 001F3280 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801F6324 001F3284 EC 04 01 32 */ fmuls f0, f4, f4 /* 801F6328 001F3288 EC 63 08 28 */ fsubs f3, f3, f1 /* 801F632C 001F328C D0 81 00 0C */ stfs f4, 0xc(r1) /* 801F6330 001F3290 EC 22 00 B2 */ fmuls f1, f2, f2 /* 801F6334 001F3294 D0 41 00 08 */ stfs f2, 8(r1) /* 801F6338 001F3298 EC 43 00 F2 */ fmuls f2, f3, f3 /* 801F633C 001F329C EC 01 00 2A */ fadds f0, f1, f0 /* 801F6340 001F32A0 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801F6344 001F32A4 EC 22 00 2A */ fadds f1, f2, f0 /* 801F6348 001F32A8 41 82 00 18 */ beq lbl_801F6360 /* 801F634C 001F32AC C0 03 03 C8 */ lfs f0, 0x3c8(r3) /* 801F6350 001F32B0 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F6354 001F32B4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F6358 001F32B8 40 81 00 08 */ ble lbl_801F6360 /* 801F635C 001F32BC 38 00 00 01 */ li r0, 1 lbl_801F6360: /* 801F6360 001F32C0 7C 03 03 78 */ mr r3, r0 /* 801F6364 001F32C4 38 21 00 20 */ addi r1, r1, 0x20 /* 801F6368 001F32C8 4E 80 00 20 */ blr .global InDetectionRange__10CPatternedFR13CStateManagerf InDetectionRange__10CPatternedFR13CStateManagerf: /* 801F636C 001F32CC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801F6370 001F32D0 38 00 00 00 */ li r0, 0 /* 801F6374 001F32D4 C0 03 03 BC */ lfs f0, 0x3bc(r3) /* 801F6378 001F32D8 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801F637C 001F32DC C0 23 00 50 */ lfs f1, 0x50(r3) /* 801F6380 001F32E0 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F6384 001F32E4 C0 84 00 40 */ lfs f4, 0x40(r4) /* 801F6388 001F32E8 EC A2 08 28 */ fsubs f5, f2, f1 /* 801F638C 001F32EC C0 23 00 40 */ lfs f1, 0x40(r3) /* 801F6390 001F32F0 C0 64 00 60 */ lfs f3, 0x60(r4) /* 801F6394 001F32F4 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801F6398 001F32F8 EC 84 08 28 */ fsubs f4, f4, f1 /* 801F639C 001F32FC EC 25 01 72 */ fmuls f1, f5, f5 /* 801F63A0 001F3300 EC 43 10 28 */ fsubs f2, f3, f2 /* 801F63A4 001F3304 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801F63A8 001F3308 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801F63AC 001F330C EC 22 08 2A */ fadds f1, f2, f1 /* 801F63B0 001F3310 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F63B4 001F3314 40 80 00 28 */ bge lbl_801F63DC /* 801F63B8 001F3318 C0 23 03 C0 */ lfs f1, 0x3c0(r3) /* 801F63BC 001F331C 38 00 00 01 */ li r0, 1 /* 801F63C0 001F3320 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F63C4 001F3324 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F63C8 001F3328 40 81 00 14 */ ble lbl_801F63DC /* 801F63CC 001F332C EC 01 00 72 */ fmuls f0, f1, f1 /* 801F63D0 001F3330 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F63D4 001F3334 7C 00 00 26 */ mfcr r0 /* 801F63D8 001F3338 54 00 0F FE */ srwi r0, r0, 0x1f lbl_801F63DC: /* 801F63DC 001F333C 7C 03 03 78 */ mr r3, r0 /* 801F63E0 001F3340 4E 80 00 20 */ blr .global InMaxRange__10CPatternedFR13CStateManagerf InMaxRange__10CPatternedFR13CStateManagerf: /* 801F63E4 001F3344 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F63E8 001F3348 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801F63EC 001F334C C0 03 03 00 */ lfs f0, 0x300(r3) /* 801F63F0 001F3350 C0 E4 00 50 */ lfs f7, 0x50(r4) /* 801F63F4 001F3354 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801F63F8 001F3358 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F63FC 001F335C C0 44 00 40 */ lfs f2, 0x40(r4) /* 801F6400 001F3360 EC C7 08 28 */ fsubs f6, f7, f1 /* 801F6404 001F3364 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801F6408 001F3368 C1 04 00 60 */ lfs f8, 0x60(r4) /* 801F640C 001F336C EC 82 08 28 */ fsubs f4, f2, f1 /* 801F6410 001F3370 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801F6414 001F3374 D0 41 00 08 */ stfs f2, 8(r1) /* 801F6418 001F3378 EC A8 18 28 */ fsubs f5, f8, f3 /* 801F641C 001F337C EC 26 01 B2 */ fmuls f1, f6, f6 /* 801F6420 001F3380 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 801F6424 001F3384 EC 44 01 32 */ fmuls f2, f4, f4 /* 801F6428 001F3388 EC 65 01 72 */ fmuls f3, f5, f5 /* 801F642C 001F338C D1 01 00 10 */ stfs f8, 0x10(r1) /* 801F6430 001F3390 EC 22 08 2A */ fadds f1, f2, f1 /* 801F6434 001F3394 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801F6438 001F3398 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 801F643C 001F339C EC 23 08 2A */ fadds f1, f3, f1 /* 801F6440 001F33A0 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801F6444 001F33A4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F6448 001F33A8 7C 00 00 26 */ mfcr r0 /* 801F644C 001F33AC 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F6450 001F33B0 38 21 00 20 */ addi r1, r1, 0x20 /* 801F6454 001F33B4 4E 80 00 20 */ blr .global TooClose__10CPatternedFR13CStateManagerf TooClose__10CPatternedFR13CStateManagerf: /* 801F6458 001F33B8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F645C 001F33BC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801F6460 001F33C0 C0 03 02 FC */ lfs f0, 0x2fc(r3) /* 801F6464 001F33C4 C0 E4 00 50 */ lfs f7, 0x50(r4) /* 801F6468 001F33C8 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801F646C 001F33CC EC 00 00 32 */ fmuls f0, f0, f0 /* 801F6470 001F33D0 C0 44 00 40 */ lfs f2, 0x40(r4) /* 801F6474 001F33D4 EC C7 08 28 */ fsubs f6, f7, f1 /* 801F6478 001F33D8 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801F647C 001F33DC C1 04 00 60 */ lfs f8, 0x60(r4) /* 801F6480 001F33E0 EC 82 08 28 */ fsubs f4, f2, f1 /* 801F6484 001F33E4 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801F6488 001F33E8 D0 41 00 08 */ stfs f2, 8(r1) /* 801F648C 001F33EC EC A8 18 28 */ fsubs f5, f8, f3 /* 801F6490 001F33F0 EC 26 01 B2 */ fmuls f1, f6, f6 /* 801F6494 001F33F4 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 801F6498 001F33F8 EC 44 01 32 */ fmuls f2, f4, f4 /* 801F649C 001F33FC EC 65 01 72 */ fmuls f3, f5, f5 /* 801F64A0 001F3400 D1 01 00 10 */ stfs f8, 0x10(r1) /* 801F64A4 001F3404 EC 22 08 2A */ fadds f1, f2, f1 /* 801F64A8 001F3408 D0 81 00 14 */ stfs f4, 0x14(r1) /* 801F64AC 001F340C D0 C1 00 18 */ stfs f6, 0x18(r1) /* 801F64B0 001F3410 EC 23 08 2A */ fadds f1, f3, f1 /* 801F64B4 001F3414 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801F64B8 001F3418 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F64BC 001F341C 7C 00 00 26 */ mfcr r0 /* 801F64C0 001F3420 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F64C4 001F3424 38 21 00 20 */ addi r1, r1, 0x20 /* 801F64C8 001F3428 4E 80 00 20 */ blr .global InRange__10CPatternedFR13CStateManagerf InRange__10CPatternedFR13CStateManagerf: /* 801F64CC 001F342C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F64D0 001F3430 C0 42 AF 48 */ lfs f2, lbl_805ACC68@sda21(r2) /* 801F64D4 001F3434 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801F64D8 001F3438 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801F64DC 001F343C C1 44 00 50 */ lfs f10, 0x50(r4) /* 801F64E0 001F3440 C0 E4 00 40 */ lfs f7, 0x40(r4) /* 801F64E4 001F3444 ED 2A 00 28 */ fsubs f9, f10, f0 /* 801F64E8 001F3448 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801F64EC 001F344C C1 64 00 60 */ lfs f11, 0x60(r4) /* 801F64F0 001F3450 EC C7 00 28 */ fsubs f6, f7, f0 /* 801F64F4 001F3454 C0 03 00 60 */ lfs f0, 0x60(r3) /* 801F64F8 001F3458 C0 23 02 FC */ lfs f1, 0x2fc(r3) /* 801F64FC 001F345C ED 0B 00 28 */ fsubs f8, f11, f0 /* 801F6500 001F3460 C0 03 03 00 */ lfs f0, 0x300(r3) /* 801F6504 001F3464 EC 86 01 B2 */ fmuls f4, f6, f6 /* 801F6508 001F3468 EC 01 00 2A */ fadds f0, f1, f0 /* 801F650C 001F346C D0 E1 00 08 */ stfs f7, 8(r1) /* 801F6510 001F3470 EC 69 02 72 */ fmuls f3, f9, f9 /* 801F6514 001F3474 EC A8 02 32 */ fmuls f5, f8, f8 /* 801F6518 001F3478 D1 41 00 0C */ stfs f10, 0xc(r1) /* 801F651C 001F347C EC 02 00 32 */ fmuls f0, f2, f0 /* 801F6520 001F3480 EC 24 18 2A */ fadds f1, f4, f3 /* 801F6524 001F3484 D1 61 00 10 */ stfs f11, 0x10(r1) /* 801F6528 001F3488 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F652C 001F348C D0 C1 00 14 */ stfs f6, 0x14(r1) /* 801F6530 001F3490 EC 25 08 2A */ fadds f1, f5, f1 /* 801F6534 001F3494 D1 21 00 18 */ stfs f9, 0x18(r1) /* 801F6538 001F3498 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F653C 001F349C D1 01 00 1C */ stfs f8, 0x1c(r1) /* 801F6540 001F34A0 7C 00 00 26 */ mfcr r0 /* 801F6544 001F34A4 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F6548 001F34A8 38 21 00 20 */ addi r1, r1, 0x20 /* 801F654C 001F34AC 4E 80 00 20 */ blr .global OffLine__10CPatternedFR13CStateManagerf OffLine__10CPatternedFR13CStateManagerf: /* 801F6550 001F34B0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801F6554 001F34B4 7C 08 02 A6 */ mflr r0 /* 801F6558 001F34B8 90 01 00 64 */ stw r0, 0x64(r1) /* 801F655C 001F34BC DB E1 00 50 */ stfd f31, 0x50(r1) /* 801F6560 001F34C0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801F6564 001F34C4 DB C1 00 40 */ stfd f30, 0x40(r1) /* 801F6568 001F34C8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 801F656C 001F34CC DB A1 00 30 */ stfd f29, 0x30(r1) /* 801F6570 001F34D0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 801F6574 001F34D4 DB 81 00 20 */ stfd f28, 0x20(r1) /* 801F6578 001F34D8 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 /* 801F657C 001F34DC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F6580 001F34E0 7C 7F 1B 78 */ mr r31, r3 /* 801F6584 001F34E4 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F6588 001F34E8 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801F658C 001F34EC FF 80 08 90 */ fmr f28, f1 /* 801F6590 001F34F0 C0 63 02 F0 */ lfs f3, 0x2f0(r3) /* 801F6594 001F34F4 C0 23 02 E4 */ lfs f1, 0x2e4(r3) /* 801F6598 001F34F8 EF C2 18 28 */ fsubs f30, f2, f3 /* 801F659C 001F34FC C0 43 00 40 */ lfs f2, 0x40(r3) /* 801F65A0 001F3500 EC A1 18 28 */ fsubs f5, f1, f3 /* 801F65A4 001F3504 C0 63 02 EC */ lfs f3, 0x2ec(r3) /* 801F65A8 001F3508 C0 23 02 E0 */ lfs f1, 0x2e0(r3) /* 801F65AC 001F350C EF A2 18 28 */ fsubs f29, f2, f3 /* 801F65B0 001F3510 EC 41 18 28 */ fsubs f2, f1, f3 /* 801F65B4 001F3514 C0 83 00 60 */ lfs f4, 0x60(r3) /* 801F65B8 001F3518 EC 25 07 B2 */ fmuls f1, f5, f30 /* 801F65BC 001F351C C0 C3 02 F4 */ lfs f6, 0x2f4(r3) /* 801F65C0 001F3520 C0 63 02 E8 */ lfs f3, 0x2e8(r3) /* 801F65C4 001F3524 EF E4 30 28 */ fsubs f31, f4, f6 /* 801F65C8 001F3528 EC 63 30 28 */ fsubs f3, f3, f6 /* 801F65CC 001F352C D0 41 00 08 */ stfs f2, 8(r1) /* 801F65D0 001F3530 EC 22 0F 7A */ fmadds f1, f2, f29, f1 /* 801F65D4 001F3534 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801F65D8 001F3538 EC 23 0F FA */ fmadds f1, f3, f31, f1 /* 801F65DC 001F353C D0 61 00 10 */ stfs f3, 0x10(r1) /* 801F65E0 001F3540 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F65E4 001F3544 4C 40 13 82 */ cror 2, 0, 2 /* 801F65E8 001F3548 40 82 00 14 */ bne lbl_801F65FC /* 801F65EC 001F354C EC 1E 07 B2 */ fmuls f0, f30, f30 /* 801F65F0 001F3550 EC 1D 07 7A */ fmadds f0, f29, f29, f0 /* 801F65F4 001F3554 EC 5F 07 FA */ fmadds f2, f31, f31, f0 /* 801F65F8 001F3558 48 00 00 90 */ b lbl_801F6688 lbl_801F65FC: /* 801F65FC 001F355C 38 61 00 08 */ addi r3, r1, 8 /* 801F6600 001F3560 48 11 E2 F9 */ bl Normalize__9CVector3fFv /* 801F6604 001F3564 C0 A1 00 0C */ lfs f5, 0xc(r1) /* 801F6608 001F3568 C1 41 00 08 */ lfs f10, 8(r1) /* 801F660C 001F356C EC 45 07 B2 */ fmuls f2, f5, f30 /* 801F6610 001F3570 C1 61 00 10 */ lfs f11, 0x10(r1) /* 801F6614 001F3574 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F6618 001F3578 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) /* 801F661C 001F357C EC 4A 17 7A */ fmadds f2, f10, f29, f2 /* 801F6620 001F3580 C0 9F 00 40 */ lfs f4, 0x40(r31) /* 801F6624 001F3584 EC E1 00 28 */ fsubs f7, f1, f0 /* 801F6628 001F3588 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) /* 801F662C 001F358C C0 7F 00 60 */ lfs f3, 0x60(r31) /* 801F6630 001F3590 ED 2B 17 FA */ fmadds f9, f11, f31, f2 /* 801F6634 001F3594 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) /* 801F6638 001F3598 ED 04 00 28 */ fsubs f8, f4, f0 /* 801F663C 001F359C EC 25 01 F2 */ fmuls f1, f5, f7 /* 801F6640 001F35A0 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F6644 001F35A4 EC A9 01 72 */ fmuls f5, f9, f5 /* 801F6648 001F35A8 EC C9 02 B2 */ fmuls f6, f9, f10 /* 801F664C 001F35AC EC 89 02 F2 */ fmuls f4, f9, f11 /* 801F6650 001F35B0 ED 3E 28 28 */ fsubs f9, f30, f5 /* 801F6654 001F35B4 EC BD 30 28 */ fsubs f5, f29, f6 /* 801F6658 001F35B8 EC 63 10 28 */ fsubs f3, f3, f2 /* 801F665C 001F35BC EC 49 02 72 */ fmuls f2, f9, f9 /* 801F6660 001F35C0 EC 2A 0A 3A */ fmadds f1, f10, f8, f1 /* 801F6664 001F35C4 EC 9F 20 28 */ fsubs f4, f31, f4 /* 801F6668 001F35C8 EC 45 11 7A */ fmadds f2, f5, f5, f2 /* 801F666C 001F35CC EC 2B 08 FA */ fmadds f1, f11, f3, f1 /* 801F6670 001F35D0 EC 44 11 3A */ fmadds f2, f4, f4, f2 /* 801F6674 001F35D4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F6678 001F35D8 40 81 00 10 */ ble lbl_801F6688 /* 801F667C 001F35DC EC 07 01 F2 */ fmuls f0, f7, f7 /* 801F6680 001F35E0 EC 08 02 3A */ fmadds f0, f8, f8, f0 /* 801F6684 001F35E4 EC 43 00 FA */ fmadds f2, f3, f3, f0 lbl_801F6688: /* 801F6688 001F35E8 EC 1C 07 32 */ fmuls f0, f28, f28 /* 801F668C 001F35EC FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F6690 001F35F0 7C 00 00 26 */ mfcr r0 /* 801F6694 001F35F4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801F6698 001F35F8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801F669C 001F35FC CB E1 00 50 */ lfd f31, 0x50(r1) /* 801F66A0 001F3600 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 801F66A4 001F3604 CB C1 00 40 */ lfd f30, 0x40(r1) /* 801F66A8 001F3608 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 801F66AC 001F360C CB A1 00 30 */ lfd f29, 0x30(r1) /* 801F66B0 001F3610 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 /* 801F66B4 001F3614 CB 81 00 20 */ lfd f28, 0x20(r1) /* 801F66B8 001F3618 80 01 00 64 */ lwz r0, 0x64(r1) /* 801F66BC 001F361C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F66C0 001F3620 7C 08 03 A6 */ mtlr r0 /* 801F66C4 001F3624 38 21 00 60 */ addi r1, r1, 0x60 /* 801F66C8 001F3628 4E 80 00 20 */ blr .global PathFind__10CPatternedFR13CStateManager9EStateMsgf PathFind__10CPatternedFR13CStateManager9EStateMsgf: /* 801F66CC 001F362C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801F66D0 001F3630 7C 08 02 A6 */ mflr r0 /* 801F66D4 001F3634 90 01 00 64 */ stw r0, 0x64(r1) /* 801F66D8 001F3638 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801F66DC 001F363C 7C 9F 23 78 */ mr r31, r4 /* 801F66E0 001F3640 93 C1 00 58 */ stw r30, 0x58(r1) /* 801F66E4 001F3644 7C 7E 1B 78 */ mr r30, r3 /* 801F66E8 001F3648 93 A1 00 54 */ stw r29, 0x54(r1) /* 801F66EC 001F364C 7C BD 2B 78 */ mr r29, r5 /* 801F66F0 001F3650 81 83 00 00 */ lwz r12, 0(r3) /* 801F66F4 001F3654 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F66F8 001F3658 7D 89 03 A6 */ mtctr r12 /* 801F66FC 001F365C 4E 80 04 21 */ bctrl /* 801F6700 001F3660 28 03 00 00 */ cmplwi r3, 0 /* 801F6704 001F3664 41 82 02 A4 */ beq lbl_801F69A8 /* 801F6708 001F3668 2C 1D 00 01 */ cmpwi r29, 1 /* 801F670C 001F366C 41 82 00 DC */ beq lbl_801F67E8 /* 801F6710 001F3670 40 80 02 98 */ bge lbl_801F69A8 /* 801F6714 001F3674 2C 1D 00 00 */ cmpwi r29, 0 /* 801F6718 001F3678 40 80 00 0C */ bge lbl_801F6724 /* 801F671C 001F367C 48 00 02 8C */ b lbl_801F69A8 /* 801F6720 001F3680 48 00 02 88 */ b lbl_801F69A8 lbl_801F6724: /* 801F6724 001F3684 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F6728 001F3688 7F C3 F3 78 */ mr r3, r30 /* 801F672C 001F368C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F6730 001F3690 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F6734 001F3694 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801F6738 001F3698 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801F673C 001F369C D0 41 00 28 */ stfs f2, 0x28(r1) /* 801F6740 001F36A0 81 9E 00 00 */ lwz r12, 0(r30) /* 801F6744 001F36A4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F6748 001F36A8 7D 89 03 A6 */ mtctr r12 /* 801F674C 001F36AC 4E 80 04 21 */ bctrl /* 801F6750 001F36B0 38 81 00 20 */ addi r4, r1, 0x20 /* 801F6754 001F36B4 38 BE 02 E0 */ addi r5, r30, 0x2e0 /* 801F6758 001F36B8 4B FD 15 15 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f /* 801F675C 001F36BC 2C 03 00 00 */ cmpwi r3, 0 /* 801F6760 001F36C0 40 82 02 48 */ bne lbl_801F69A8 /* 801F6764 001F36C4 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F6768 001F36C8 7F C3 F3 78 */ mr r3, r30 /* 801F676C 001F36CC C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F6770 001F36D0 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F6774 001F36D4 D0 1E 02 EC */ stfs f0, 0x2ec(r30) /* 801F6778 001F36D8 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) /* 801F677C 001F36DC D0 5E 02 F4 */ stfs f2, 0x2f4(r30) /* 801F6780 001F36E0 81 9E 00 00 */ lwz r12, 0(r30) /* 801F6784 001F36E4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F6788 001F36E8 7D 89 03 A6 */ mtctr r12 /* 801F678C 001F36EC 4E 80 04 21 */ bctrl /* 801F6790 001F36F0 80 A3 00 C8 */ lwz r5, 0xc8(r3) /* 801F6794 001F36F4 80 03 00 04 */ lwz r0, 4(r3) /* 801F6798 001F36F8 38 85 00 01 */ addi r4, r5, 1 /* 801F679C 001F36FC 7C 04 00 00 */ cmpw r4, r0 /* 801F67A0 001F3700 40 80 00 14 */ bge lbl_801F67B4 /* 801F67A4 001F3704 1C 04 00 0C */ mulli r0, r4, 0xc /* 801F67A8 001F3708 7C 83 02 14 */ add r4, r3, r0 /* 801F67AC 001F370C 38 84 00 08 */ addi r4, r4, 8 /* 801F67B0 001F3710 48 00 00 10 */ b lbl_801F67C0 lbl_801F67B4: /* 801F67B4 001F3714 1C 05 00 0C */ mulli r0, r5, 0xc /* 801F67B8 001F3718 7C 83 02 14 */ add r4, r3, r0 /* 801F67BC 001F371C 38 84 00 08 */ addi r4, r4, 8 lbl_801F67C0: /* 801F67C0 001F3720 7F C3 F3 78 */ mr r3, r30 /* 801F67C4 001F3724 4B E8 63 99 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F67C8 001F3728 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F67CC 001F372C 38 60 00 00 */ li r3, 0 /* 801F67D0 001F3730 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F67D4 001F3734 7F C3 F3 78 */ mr r3, r30 /* 801F67D8 001F3738 98 1E 03 28 */ stb r0, 0x328(r30) /* 801F67DC 001F373C 7F E4 FB 78 */ mr r4, r31 /* 801F67E0 001F3740 4B FF EE 71 */ bl ApproachDest__10CPatternedFR13CStateManager /* 801F67E4 001F3744 48 00 01 C4 */ b lbl_801F69A8 lbl_801F67E8: /* 801F67E8 001F3748 7F C3 F3 78 */ mr r3, r30 /* 801F67EC 001F374C 81 9E 00 00 */ lwz r12, 0(r30) /* 801F67F0 001F3750 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F67F4 001F3754 7D 89 03 A6 */ mtctr r12 /* 801F67F8 001F3758 4E 80 04 21 */ bctrl /* 801F67FC 001F375C 80 83 00 04 */ lwz r4, 4(r3) /* 801F6800 001F3760 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801F6804 001F3764 38 04 FF FF */ addi r0, r4, -1 /* 801F6808 001F3768 7C 03 00 00 */ cmpw r3, r0 /* 801F680C 001F376C 40 80 01 9C */ bge lbl_801F69A8 /* 801F6810 001F3770 88 7E 03 28 */ lbz r3, 0x328(r30) /* 801F6814 001F3774 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 801F6818 001F3778 40 82 00 0C */ bne lbl_801F6824 /* 801F681C 001F377C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f /* 801F6820 001F3780 41 82 00 24 */ beq lbl_801F6844 lbl_801F6824: /* 801F6824 001F3784 88 9E 04 01 */ lbz r4, 0x401(r30) /* 801F6828 001F3788 54 83 D7 BE */ rlwinm r3, r4, 0x1a, 0x1e, 0x1f /* 801F682C 001F378C 38 03 00 01 */ addi r0, r3, 1 /* 801F6830 001F3790 50 04 36 32 */ rlwimi r4, r0, 6, 0x18, 0x19 /* 801F6834 001F3794 98 9E 04 01 */ stb r4, 0x401(r30) /* 801F6838 001F3798 88 7E 04 01 */ lbz r3, 0x401(r30) /* 801F683C 001F379C 50 63 06 32 */ rlwimi r3, r3, 0, 0x18, 0x19 /* 801F6840 001F37A0 98 7E 04 01 */ stb r3, 0x401(r30) lbl_801F6844: /* 801F6844 001F37A4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801F6848 001F37A8 C0 A2 AF 40 */ lfs f5, lbl_805ACC60@sda21(r2) /* 801F684C 001F37AC 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l /* 801F6850 001F37B0 C0 DE 00 50 */ lfs f6, 0x50(r30) /* 801F6854 001F37B4 C0 45 00 04 */ lfs f2, 4(r5) /* 801F6858 001F37B8 7F C3 F3 78 */ mr r3, r30 /* 801F685C 001F37BC C0 25 00 08 */ lfs f1, 8(r5) /* 801F6860 001F37C0 7F E4 FB 78 */ mr r4, r31 /* 801F6864 001F37C4 C0 05 00 00 */ lfs f0, 0(r5) /* 801F6868 001F37C8 EC 85 00 B2 */ fmuls f4, f5, f2 /* 801F686C 001F37CC EC 45 00 72 */ fmuls f2, f5, f1 /* 801F6870 001F37D0 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801F6874 001F37D4 EC 05 00 32 */ fmuls f0, f5, f0 /* 801F6878 001F37D8 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F687C 001F37DC EC 86 20 2A */ fadds f4, f6, f4 /* 801F6880 001F37E0 EC 63 10 2A */ fadds f3, f3, f2 /* 801F6884 001F37E4 EC 41 00 2A */ fadds f2, f1, f0 /* 801F6888 001F37E8 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801F688C 001F37EC D0 41 00 38 */ stfs f2, 0x38(r1) /* 801F6890 001F37F0 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801F6894 001F37F4 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801F6898 001F37F8 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) /* 801F689C 001F37FC EC A0 10 28 */ fsubs f5, f0, f2 /* 801F68A0 001F3800 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801F68A4 001F3804 EC 21 20 28 */ fsubs f1, f1, f4 /* 801F68A8 001F3808 EC 00 18 28 */ fsubs f0, f0, f3 /* 801F68AC 001F380C EC 42 28 28 */ fsubs f2, f2, f5 /* 801F68B0 001F3810 EC 24 08 28 */ fsubs f1, f4, f1 /* 801F68B4 001F3814 EC 03 00 28 */ fsubs f0, f3, f0 /* 801F68B8 001F3818 D0 5E 02 EC */ stfs f2, 0x2ec(r30) /* 801F68BC 001F381C D0 3E 02 F0 */ stfs f1, 0x2f0(r30) /* 801F68C0 001F3820 D0 1E 02 F4 */ stfs f0, 0x2f4(r30) /* 801F68C4 001F3824 4B FF ED 8D */ bl ApproachDest__10CPatternedFR13CStateManager /* 801F68C8 001F3828 80 9E 00 64 */ lwz r4, 0x64(r30) /* 801F68CC 001F382C 7F C3 F3 78 */ mr r3, r30 /* 801F68D0 001F3830 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801F68D4 001F3834 C0 C4 00 04 */ lfs f6, 4(r4) /* 801F68D8 001F3838 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 801F68DC 001F383C C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801F68E0 001F3840 EC 46 00 B2 */ fmuls f2, f6, f2 /* 801F68E4 001F3844 C0 61 00 40 */ lfs f3, 0x40(r1) /* 801F68E8 001F3848 EC 86 00 72 */ fmuls f4, f6, f1 /* 801F68EC 001F384C C0 A1 00 3C */ lfs f5, 0x3c(r1) /* 801F68F0 001F3850 EC 06 00 32 */ fmuls f0, f6, f0 /* 801F68F4 001F3854 C0 21 00 38 */ lfs f1, 0x38(r1) /* 801F68F8 001F3858 C0 E4 00 00 */ lfs f7, 0(r4) /* 801F68FC 001F385C EC A5 20 2A */ fadds f5, f5, f4 /* 801F6900 001F3860 C0 84 00 08 */ lfs f4, 8(r4) /* 801F6904 001F3864 EC 43 10 2A */ fadds f2, f3, f2 /* 801F6908 001F3868 EC 01 00 2A */ fadds f0, f1, f0 /* 801F690C 001F386C D0 E1 00 14 */ stfs f7, 0x14(r1) /* 801F6910 001F3870 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801F6914 001F3874 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801F6918 001F3878 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801F691C 001F387C 81 9E 00 00 */ lwz r12, 0(r30) /* 801F6920 001F3880 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 801F6924 001F3884 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F6928 001F3888 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801F692C 001F388C D0 E1 00 08 */ stfs f7, 8(r1) /* 801F6930 001F3890 D0 C1 00 0C */ stfs f6, 0xc(r1) /* 801F6934 001F3894 D0 81 00 10 */ stfs f4, 0x10(r1) /* 801F6938 001F3898 7D 89 03 A6 */ mtctr r12 /* 801F693C 001F389C 4E 80 04 21 */ bctrl /* 801F6940 001F38A0 C0 22 88 F4 */ lfs f1, lbl_805AA614@sda21(r2) /* 801F6944 001F38A4 38 81 00 2C */ addi r4, r1, 0x2c /* 801F6948 001F38A8 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801F694C 001F38AC 38 A1 00 38 */ addi r5, r1, 0x38 /* 801F6950 001F38B0 EC 21 00 32 */ fmuls f1, f1, f0 /* 801F6954 001F38B4 4B FD 52 45 */ bl GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3ff /* 801F6958 001F38B8 7F C3 F3 78 */ mr r3, r30 /* 801F695C 001F38BC 38 81 00 2C */ addi r4, r1, 0x2c /* 801F6960 001F38C0 4B E8 61 FD */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F6964 001F38C4 7F C3 F3 78 */ mr r3, r30 /* 801F6968 001F38C8 81 9E 00 00 */ lwz r12, 0(r30) /* 801F696C 001F38CC 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F6970 001F38D0 7D 89 03 A6 */ mtctr r12 /* 801F6974 001F38D4 4E 80 04 21 */ bctrl /* 801F6978 001F38D8 38 81 00 38 */ addi r4, r1, 0x38 /* 801F697C 001F38DC 4B FD 56 C9 */ bl SegmentOver__15CPathFindSearchCFRC9CVector3f /* 801F6980 001F38E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F6984 001F38E4 41 82 00 24 */ beq lbl_801F69A8 /* 801F6988 001F38E8 7F C3 F3 78 */ mr r3, r30 /* 801F698C 001F38EC 81 9E 00 00 */ lwz r12, 0(r30) /* 801F6990 001F38F0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F6994 001F38F4 7D 89 03 A6 */ mtctr r12 /* 801F6998 001F38F8 4E 80 04 21 */ bctrl /* 801F699C 001F38FC 80 83 00 C8 */ lwz r4, 0xc8(r3) /* 801F69A0 001F3900 38 04 00 01 */ addi r0, r4, 1 /* 801F69A4 001F3904 90 03 00 C8 */ stw r0, 0xc8(r3) lbl_801F69A8: /* 801F69A8 001F3908 80 01 00 64 */ lwz r0, 0x64(r1) /* 801F69AC 001F390C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801F69B0 001F3910 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801F69B4 001F3914 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801F69B8 001F3918 7C 08 03 A6 */ mtlr r0 /* 801F69BC 001F391C 38 21 00 60 */ addi r1, r1, 0x60 /* 801F69C0 001F3920 4E 80 00 20 */ blr .global Dead__10CPatternedFR13CStateManager9EStateMsgf Dead__10CPatternedFR13CStateManager9EStateMsgf: /* 801F69C4 001F3924 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F69C8 001F3928 7C 08 02 A6 */ mflr r0 /* 801F69CC 001F392C 2C 05 00 01 */ cmpwi r5, 1 /* 801F69D0 001F3930 90 01 00 24 */ stw r0, 0x24(r1) /* 801F69D4 001F3934 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F69D8 001F3938 7C 9F 23 78 */ mr r31, r4 /* 801F69DC 001F393C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F69E0 001F3940 7C 7E 1B 78 */ mr r30, r3 /* 801F69E4 001F3944 41 82 00 34 */ beq lbl_801F6A18 /* 801F69E8 001F3948 40 80 00 DC */ bge lbl_801F6AC4 /* 801F69EC 001F394C 2C 05 00 00 */ cmpwi r5, 0 /* 801F69F0 001F3950 40 80 00 08 */ bge lbl_801F69F8 /* 801F69F4 001F3954 48 00 00 D0 */ b lbl_801F6AC4 lbl_801F69F8: /* 801F69F8 001F3958 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F69FC 001F395C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F6A00 001F3960 D0 1E 03 1C */ stfs f0, 0x31c(r30) /* 801F6A04 001F3964 C0 03 00 04 */ lfs f0, 4(r3) /* 801F6A08 001F3968 D0 1E 03 20 */ stfs f0, 0x320(r30) /* 801F6A0C 001F396C C0 03 00 08 */ lfs f0, 8(r3) /* 801F6A10 001F3970 D0 1E 03 24 */ stfs f0, 0x324(r30) /* 801F6A14 001F3974 48 00 00 B0 */ b lbl_801F6AC4 lbl_801F6A18: /* 801F6A18 001F3978 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F6A1C 001F397C 38 00 00 02 */ li r0, 2 /* 801F6A20 001F3980 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801F6A24 001F3984 90 01 00 0C */ stw r0, 0xc(r1) /* 801F6A28 001F3988 38 81 00 08 */ addi r4, r1, 8 /* 801F6A2C 001F398C 90 61 00 08 */ stw r3, 8(r1) /* 801F6A30 001F3990 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F6A34 001F3994 38 63 00 04 */ addi r3, r3, 4 /* 801F6A38 001F3998 4B F3 AD 81 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801F6A3C 001F399C 34 01 00 08 */ addic. r0, r1, 8 /* 801F6A40 001F39A0 41 82 00 10 */ beq lbl_801F6A50 /* 801F6A44 001F39A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F6A48 001F39A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F6A4C 001F39AC 90 01 00 08 */ stw r0, 8(r1) lbl_801F6A50: /* 801F6A50 001F39B0 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F6A54 001F39B4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801F6A58 001F39B8 40 82 00 6C */ bne lbl_801F6AC4 /* 801F6A5C 001F39BC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F6A60 001F39C0 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801F6A64 001F39C4 4B F3 D6 15 */ bl GetCurrentState__14CBodyStateInfoCFv /* 801F6A68 001F39C8 81 83 00 00 */ lwz r12, 0(r3) /* 801F6A6C 001F39CC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801F6A70 001F39D0 7D 89 03 A6 */ mtctr r12 /* 801F6A74 001F39D4 4E 80 04 21 */ bctrl /* 801F6A78 001F39D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F6A7C 001F39DC 41 82 00 48 */ beq lbl_801F6AC4 /* 801F6A80 001F39E0 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F6A84 001F39E4 38 60 00 01 */ li r3, 1 /* 801F6A88 001F39E8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801F6A8C 001F39EC C0 02 AF 4C */ lfs f0, lbl_805ACC6C@sda21(r2) /* 801F6A90 001F39F0 98 1E 04 00 */ stb r0, 0x400(r30) /* 801F6A94 001F39F4 7F C3 F3 78 */ mr r3, r30 /* 801F6A98 001F39F8 7F E8 FB 78 */ mr r8, r31 /* 801F6A9C 001F39FC 38 80 00 21 */ li r4, 0x21 /* 801F6AA0 001F3A00 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) /* 801F6AA4 001F3A04 38 A0 00 13 */ li r5, 0x13 /* 801F6AA8 001F3A08 38 C0 00 28 */ li r6, 0x28 /* 801F6AAC 001F3A0C 38 E0 00 29 */ li r7, 0x29 /* 801F6AB0 001F3A10 4B E5 D2 39 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager /* 801F6AB4 001F3A14 7F C3 F3 78 */ mr r3, r30 /* 801F6AB8 001F3A18 7F E5 FB 78 */ mr r5, r31 /* 801F6ABC 001F3A1C 38 80 00 12 */ li r4, 0x12 /* 801F6AC0 001F3A20 4B E5 D8 91 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_801F6AC4: /* 801F6AC4 001F3A24 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F6AC8 001F3A28 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F6ACC 001F3A2C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F6AD0 001F3A30 7C 08 03 A6 */ mtlr r0 /* 801F6AD4 001F3A34 38 21 00 20 */ addi r1, r1, 0x20 /* 801F6AD8 001F3A38 4E 80 00 20 */ blr .global TargetPlayer__10CPatternedFR13CStateManager9EStateMsgf TargetPlayer__10CPatternedFR13CStateManager9EStateMsgf: /* 801F6ADC 001F3A3C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F6AE0 001F3A40 7C 08 02 A6 */ mflr r0 /* 801F6AE4 001F3A44 2C 05 00 00 */ cmpwi r5, 0 /* 801F6AE8 001F3A48 90 01 00 24 */ stw r0, 0x24(r1) /* 801F6AEC 001F3A4C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F6AF0 001F3A50 7C 7F 1B 78 */ mr r31, r3 /* 801F6AF4 001F3A54 41 82 00 08 */ beq lbl_801F6AFC /* 801F6AF8 001F3A58 48 00 00 5C */ b lbl_801F6B54 lbl_801F6AFC: /* 801F6AFC 001F3A5C 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 801F6B00 001F3A60 A0 05 00 08 */ lhz r0, 8(r5) /* 801F6B04 001F3A64 B0 1F 02 DC */ sth r0, 0x2dc(r31) /* 801F6B08 001F3A68 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 801F6B0C 001F3A6C 38 81 00 08 */ addi r4, r1, 8 /* 801F6B10 001F3A70 C0 45 00 60 */ lfs f2, 0x60(r5) /* 801F6B14 001F3A74 C0 25 00 50 */ lfs f1, 0x50(r5) /* 801F6B18 001F3A78 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801F6B1C 001F3A7C D0 01 00 08 */ stfs f0, 8(r1) /* 801F6B20 001F3A80 D0 21 00 0C */ stfs f1, 0xc(r1) /* 801F6B24 001F3A84 D0 41 00 10 */ stfs f2, 0x10(r1) /* 801F6B28 001F3A88 4B E8 60 35 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F6B2C 001F3A8C C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801F6B30 001F3A90 38 60 00 00 */ li r3, 0 /* 801F6B34 001F3A94 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F6B38 001F3A98 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F6B3C 001F3A9C D0 1F 02 EC */ stfs f0, 0x2ec(r31) /* 801F6B40 001F3AA0 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) /* 801F6B44 001F3AA4 D0 5F 02 F4 */ stfs f2, 0x2f4(r31) /* 801F6B48 001F3AA8 88 1F 03 28 */ lbz r0, 0x328(r31) /* 801F6B4C 001F3AAC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F6B50 001F3AB0 98 1F 03 28 */ stb r0, 0x328(r31) lbl_801F6B54: /* 801F6B54 001F3AB4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F6B58 001F3AB8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F6B5C 001F3ABC 7C 08 03 A6 */ mtlr r0 /* 801F6B60 001F3AC0 38 21 00 20 */ addi r1, r1, 0x20 /* 801F6B64 001F3AC4 4E 80 00 20 */ blr .global TargetPatrol__10CPatternedFR13CStateManager9EStateMsgf TargetPatrol__10CPatternedFR13CStateManager9EStateMsgf: /* 801F6B68 001F3AC8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F6B6C 001F3ACC 7C 08 02 A6 */ mflr r0 /* 801F6B70 001F3AD0 2C 05 00 00 */ cmpwi r5, 0 /* 801F6B74 001F3AD4 90 01 00 34 */ stw r0, 0x34(r1) /* 801F6B78 001F3AD8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F6B7C 001F3ADC 7C 9F 23 78 */ mr r31, r4 /* 801F6B80 001F3AE0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F6B84 001F3AE4 7C 7E 1B 78 */ mr r30, r3 /* 801F6B88 001F3AE8 41 82 00 08 */ beq lbl_801F6B90 /* 801F6B8C 001F3AEC 48 00 00 9C */ b lbl_801F6C28 lbl_801F6B90: /* 801F6B90 001F3AF0 7F C4 F3 78 */ mr r4, r30 /* 801F6B94 001F3AF4 7F E5 FB 78 */ mr r5, r31 /* 801F6B98 001F3AF8 38 61 00 0C */ addi r3, r1, 0xc /* 801F6B9C 001F3AFC 38 C0 00 0D */ li r6, 0xd /* 801F6BA0 001F3B00 38 E0 00 06 */ li r7, 6 /* 801F6BA4 001F3B04 4B FF E3 F5 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F6BA8 001F3B08 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801F6BAC 001F3B0C 7F E3 FB 78 */ mr r3, r31 /* 801F6BB0 001F3B10 38 81 00 08 */ addi r4, r1, 8 /* 801F6BB4 001F3B14 B0 1E 02 DC */ sth r0, 0x2dc(r30) /* 801F6BB8 001F3B18 A0 1E 02 DC */ lhz r0, 0x2dc(r30) /* 801F6BBC 001F3B1C B0 01 00 08 */ sth r0, 8(r1) /* 801F6BC0 001F3B20 4B E5 59 E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F6BC4 001F3B24 7C 64 1B 78 */ mr r4, r3 /* 801F6BC8 001F3B28 38 61 00 10 */ addi r3, r1, 0x10 /* 801F6BCC 001F3B2C 4B EB 90 C5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801F6BD0 001F3B30 80 A3 00 04 */ lwz r5, 4(r3) /* 801F6BD4 001F3B34 28 05 00 00 */ cmplwi r5, 0 /* 801F6BD8 001F3B38 41 82 00 28 */ beq lbl_801F6C00 /* 801F6BDC 001F3B3C C0 45 00 60 */ lfs f2, 0x60(r5) /* 801F6BE0 001F3B40 7F C3 F3 78 */ mr r3, r30 /* 801F6BE4 001F3B44 C0 25 00 50 */ lfs f1, 0x50(r5) /* 801F6BE8 001F3B48 38 81 00 18 */ addi r4, r1, 0x18 /* 801F6BEC 001F3B4C C0 05 00 40 */ lfs f0, 0x40(r5) /* 801F6BF0 001F3B50 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801F6BF4 001F3B54 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801F6BF8 001F3B58 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801F6BFC 001F3B5C 4B E8 5F 61 */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_801F6C00: /* 801F6C00 001F3B60 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F6C04 001F3B64 38 60 00 00 */ li r3, 0 /* 801F6C08 001F3B68 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F6C0C 001F3B6C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F6C10 001F3B70 D0 1E 02 EC */ stfs f0, 0x2ec(r30) /* 801F6C14 001F3B74 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) /* 801F6C18 001F3B78 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) /* 801F6C1C 001F3B7C 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6C20 001F3B80 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F6C24 001F3B84 98 1E 03 28 */ stb r0, 0x328(r30) lbl_801F6C28: /* 801F6C28 001F3B88 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F6C2C 001F3B8C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F6C30 001F3B90 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F6C34 001F3B94 7C 08 03 A6 */ mtlr r0 /* 801F6C38 001F3B98 38 21 00 30 */ addi r1, r1, 0x30 /* 801F6C3C 001F3B9C 4E 80 00 20 */ blr .global FollowPattern__10CPatternedFR13CStateManager9EStateMsgf FollowPattern__10CPatternedFR13CStateManager9EStateMsgf: /* 801F6C40 001F3BA0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801F6C44 001F3BA4 7C 08 02 A6 */ mflr r0 /* 801F6C48 001F3BA8 2C 05 00 01 */ cmpwi r5, 1 /* 801F6C4C 001F3BAC 90 01 00 44 */ stw r0, 0x44(r1) /* 801F6C50 001F3BB0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801F6C54 001F3BB4 7C 9F 23 78 */ mr r31, r4 /* 801F6C58 001F3BB8 93 C1 00 38 */ stw r30, 0x38(r1) /* 801F6C5C 001F3BBC 7C 7E 1B 78 */ mr r30, r3 /* 801F6C60 001F3BC0 41 82 00 90 */ beq lbl_801F6CF0 /* 801F6C64 001F3BC4 40 80 00 10 */ bge lbl_801F6C74 /* 801F6C68 001F3BC8 2C 05 00 00 */ cmpwi r5, 0 /* 801F6C6C 001F3BCC 40 80 00 14 */ bge lbl_801F6C80 /* 801F6C70 001F3BD0 48 00 01 EC */ b lbl_801F6E5C lbl_801F6C74: /* 801F6C74 001F3BD4 2C 05 00 03 */ cmpwi r5, 3 /* 801F6C78 001F3BD8 40 80 01 E4 */ bge lbl_801F6E5C /* 801F6C7C 001F3BDC 48 00 01 9C */ b lbl_801F6E18 lbl_801F6C80: /* 801F6C80 001F3BE0 4B FF D7 21 */ bl SetupPattern__10CPatternedFR13CStateManager /* 801F6C84 001F3BE4 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6C88 001F3BE8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801F6C8C 001F3BEC 40 82 00 38 */ bne lbl_801F6CC4 /* 801F6C90 001F3BF0 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F6C94 001F3BF4 7F C3 F3 78 */ mr r3, r30 /* 801F6C98 001F3BF8 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F6C9C 001F3BFC 7F E4 FB 78 */ mr r4, r31 /* 801F6CA0 001F3C00 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F6CA4 001F3C04 38 A1 00 24 */ addi r5, r1, 0x24 /* 801F6CA8 001F3C08 38 DE 02 E0 */ addi r6, r30, 0x2e0 /* 801F6CAC 001F3C0C D0 01 00 24 */ stfs f0, 0x24(r1) /* 801F6CB0 001F3C10 D0 21 00 28 */ stfs f1, 0x28(r1) /* 801F6CB4 001F3C14 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801F6CB8 001F3C18 4B FF E1 19 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801F6CBC 001F3C1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F6CC0 001F3C20 40 82 00 14 */ bne lbl_801F6CD4 lbl_801F6CC4: /* 801F6CC4 001F3C24 7F C3 F3 78 */ mr r3, r30 /* 801F6CC8 001F3C28 7F E4 FB 78 */ mr r4, r31 /* 801F6CCC 001F3C2C 4B FF E9 85 */ bl ApproachDest__10CPatternedFR13CStateManager /* 801F6CD0 001F3C30 48 00 01 8C */ b lbl_801F6E5C lbl_801F6CD4: /* 801F6CD4 001F3C34 80 1E 03 90 */ lwz r0, 0x390(r30) /* 801F6CD8 001F3C38 38 60 00 01 */ li r3, 1 /* 801F6CDC 001F3C3C 90 1E 03 9C */ stw r0, 0x39c(r30) /* 801F6CE0 001F3C40 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F6CE4 001F3C44 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801F6CE8 001F3C48 98 1E 04 00 */ stb r0, 0x400(r30) /* 801F6CEC 001F3C4C 48 00 01 70 */ b lbl_801F6E5C lbl_801F6CF0: /* 801F6CF0 001F3C50 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6CF4 001F3C54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F6CF8 001F3C58 41 82 01 0C */ beq lbl_801F6E04 /* 801F6CFC 001F3C5C 80 BE 03 9C */ lwz r5, 0x39c(r30) /* 801F6D00 001F3C60 38 05 00 01 */ addi r0, r5, 1 /* 801F6D04 001F3C64 90 1E 03 9C */ stw r0, 0x39c(r30) /* 801F6D08 001F3C68 4B FF D3 ED */ bl UpdatePatternDestPos__10CPatternedFR13CStateManager /* 801F6D0C 001F3C6C 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6D10 001F3C70 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801F6D14 001F3C74 40 82 00 54 */ bne lbl_801F6D68 /* 801F6D18 001F3C78 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F6D1C 001F3C7C 7F C3 F3 78 */ mr r3, r30 /* 801F6D20 001F3C80 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F6D24 001F3C84 7F E4 FB 78 */ mr r4, r31 /* 801F6D28 001F3C88 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F6D2C 001F3C8C 38 A1 00 18 */ addi r5, r1, 0x18 /* 801F6D30 001F3C90 38 DE 02 E0 */ addi r6, r30, 0x2e0 /* 801F6D34 001F3C94 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801F6D38 001F3C98 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801F6D3C 001F3C9C D0 41 00 20 */ stfs f2, 0x20(r1) /* 801F6D40 001F3CA0 4B FF E0 91 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 801F6D44 001F3CA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F6D48 001F3CA8 41 82 00 20 */ beq lbl_801F6D68 /* 801F6D4C 001F3CAC 80 1E 03 90 */ lwz r0, 0x390(r30) /* 801F6D50 001F3CB0 38 60 00 01 */ li r3, 1 /* 801F6D54 001F3CB4 90 1E 03 9C */ stw r0, 0x39c(r30) /* 801F6D58 001F3CB8 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F6D5C 001F3CBC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801F6D60 001F3CC0 98 1E 04 00 */ stb r0, 0x400(r30) /* 801F6D64 001F3CC4 48 00 00 A4 */ b lbl_801F6E08 lbl_801F6D68: /* 801F6D68 001F3CC8 80 7E 03 9C */ lwz r3, 0x39c(r30) /* 801F6D6C 001F3CCC 80 1E 03 90 */ lwz r0, 0x390(r30) /* 801F6D70 001F3CD0 7C 03 00 00 */ cmpw r3, r0 /* 801F6D74 001F3CD4 40 80 00 94 */ bge lbl_801F6E08 /* 801F6D78 001F3CD8 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F6D7C 001F3CDC 38 60 00 00 */ li r3, 0 /* 801F6D80 001F3CE0 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F6D84 001F3CE4 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F6D88 001F3CE8 D0 1E 02 EC */ stfs f0, 0x2ec(r30) /* 801F6D8C 001F3CEC D0 3E 02 F0 */ stfs f1, 0x2f0(r30) /* 801F6D90 001F3CF0 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) /* 801F6D94 001F3CF4 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6D98 001F3CF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F6D9C 001F3CFC 98 1E 03 28 */ stb r0, 0x328(r30) /* 801F6DA0 001F3D00 80 1E 03 9C */ lwz r0, 0x39c(r30) /* 801F6DA4 001F3D04 80 9E 03 98 */ lwz r4, 0x398(r30) /* 801F6DA8 001F3D08 1C 60 00 24 */ mulli r3, r0, 0x24 /* 801F6DAC 001F3D0C 38 03 00 18 */ addi r0, r3, 0x18 /* 801F6DB0 001F3D10 7C 04 04 2E */ lfsx f0, r4, r0 /* 801F6DB4 001F3D14 D0 1E 03 B0 */ stfs f0, 0x3b0(r30) /* 801F6DB8 001F3D18 80 1E 03 9C */ lwz r0, 0x39c(r30) /* 801F6DBC 001F3D1C 80 9E 03 98 */ lwz r4, 0x398(r30) /* 801F6DC0 001F3D20 1C 60 00 24 */ mulli r3, r0, 0x24 /* 801F6DC4 001F3D24 38 03 00 1C */ addi r0, r3, 0x1c /* 801F6DC8 001F3D28 7C 04 00 AE */ lbzx r0, r4, r0 /* 801F6DCC 001F3D2C 90 1E 03 80 */ stw r0, 0x380(r30) /* 801F6DD0 001F3D30 80 1E 03 9C */ lwz r0, 0x39c(r30) /* 801F6DD4 001F3D34 80 9E 03 98 */ lwz r4, 0x398(r30) /* 801F6DD8 001F3D38 1C 60 00 24 */ mulli r3, r0, 0x24 /* 801F6DDC 001F3D3C 38 03 00 1D */ addi r0, r3, 0x1d /* 801F6DE0 001F3D40 7C 04 00 AE */ lbzx r0, r4, r0 /* 801F6DE4 001F3D44 90 1E 03 0C */ stw r0, 0x30c(r30) /* 801F6DE8 001F3D48 80 1E 03 9C */ lwz r0, 0x39c(r30) /* 801F6DEC 001F3D4C 80 9E 03 98 */ lwz r4, 0x398(r30) /* 801F6DF0 001F3D50 1C 60 00 24 */ mulli r3, r0, 0x24 /* 801F6DF4 001F3D54 38 03 00 1E */ addi r0, r3, 0x1e /* 801F6DF8 001F3D58 7C 04 02 2E */ lhzx r0, r4, r0 /* 801F6DFC 001F3D5C 90 1E 03 84 */ stw r0, 0x384(r30) /* 801F6E00 001F3D60 48 00 00 08 */ b lbl_801F6E08 lbl_801F6E04: /* 801F6E04 001F3D64 4B FF D2 F1 */ bl UpdatePatternDestPos__10CPatternedFR13CStateManager lbl_801F6E08: /* 801F6E08 001F3D68 7F C3 F3 78 */ mr r3, r30 /* 801F6E0C 001F3D6C 7F E4 FB 78 */ mr r4, r31 /* 801F6E10 001F3D70 4B FF E8 41 */ bl ApproachDest__10CPatternedFR13CStateManager /* 801F6E14 001F3D74 48 00 00 48 */ b lbl_801F6E5C lbl_801F6E18: /* 801F6E18 001F3D78 80 1E 03 90 */ lwz r0, 0x390(r30) /* 801F6E1C 001F3D7C 80 7E 03 98 */ lwz r3, 0x398(r30) /* 801F6E20 001F3D80 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801F6E24 001F3D84 90 61 00 0C */ stw r3, 0xc(r1) /* 801F6E28 001F3D88 7C 03 02 14 */ add r0, r3, r0 /* 801F6E2C 001F3D8C 90 61 00 08 */ stw r3, 8(r1) /* 801F6E30 001F3D90 90 01 00 14 */ stw r0, 0x14(r1) /* 801F6E34 001F3D94 90 01 00 10 */ stw r0, 0x10(r1) /* 801F6E38 001F3D98 48 00 00 08 */ b lbl_801F6E40 lbl_801F6E3C: /* 801F6E3C 001F3D9C 38 63 00 24 */ addi r3, r3, 0x24 lbl_801F6E40: /* 801F6E40 001F3DA0 7C 03 00 40 */ cmplw r3, r0 /* 801F6E44 001F3DA4 40 82 FF F8 */ bne lbl_801F6E3C /* 801F6E48 001F3DA8 38 60 00 00 */ li r3, 0 /* 801F6E4C 001F3DAC 90 7E 03 90 */ stw r3, 0x390(r30) /* 801F6E50 001F3DB0 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F6E54 001F3DB4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801F6E58 001F3DB8 98 1E 04 00 */ stb r0, 0x400(r30) lbl_801F6E5C: /* 801F6E5C 001F3DBC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F6E60 001F3DC0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801F6E64 001F3DC4 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801F6E68 001F3DC8 7C 08 03 A6 */ mtlr r0 /* 801F6E6C 001F3DCC 38 21 00 40 */ addi r1, r1, 0x40 /* 801F6E70 001F3DD0 4E 80 00 20 */ blr .global Patrol__10CPatternedFR13CStateManager9EStateMsgf Patrol__10CPatternedFR13CStateManager9EStateMsgf: /* 801F6E74 001F3DD4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F6E78 001F3DD8 7C 08 02 A6 */ mflr r0 /* 801F6E7C 001F3DDC 2C 05 00 01 */ cmpwi r5, 1 /* 801F6E80 001F3DE0 90 01 00 34 */ stw r0, 0x34(r1) /* 801F6E84 001F3DE4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F6E88 001F3DE8 7C 9F 23 78 */ mr r31, r4 /* 801F6E8C 001F3DEC 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F6E90 001F3DF0 7C 7E 1B 78 */ mr r30, r3 /* 801F6E94 001F3DF4 41 82 00 EC */ beq lbl_801F6F80 /* 801F6E98 001F3DF8 40 80 00 10 */ bge lbl_801F6EA8 /* 801F6E9C 001F3DFC 2C 05 00 00 */ cmpwi r5, 0 /* 801F6EA0 001F3E00 40 80 00 14 */ bge lbl_801F6EB4 /* 801F6EA4 001F3E04 48 00 01 E8 */ b lbl_801F708C lbl_801F6EA8: /* 801F6EA8 001F3E08 2C 05 00 03 */ cmpwi r5, 3 /* 801F6EAC 001F3E0C 40 80 01 E0 */ bge lbl_801F708C /* 801F6EB0 001F3E10 48 00 01 CC */ b lbl_801F707C lbl_801F6EB4: /* 801F6EB4 001F3E14 A0 7E 03 AC */ lhz r3, 0x3ac(r30) /* 801F6EB8 001F3E18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F6EBC 001F3E1C 7C 03 00 40 */ cmplw r3, r0 /* 801F6EC0 001F3E20 40 82 00 84 */ bne lbl_801F6F44 /* 801F6EC4 001F3E24 7F C4 F3 78 */ mr r4, r30 /* 801F6EC8 001F3E28 7F E5 FB 78 */ mr r5, r31 /* 801F6ECC 001F3E2C 38 61 00 10 */ addi r3, r1, 0x10 /* 801F6ED0 001F3E30 38 C0 00 0D */ li r6, 0xd /* 801F6ED4 001F3E34 38 E0 00 06 */ li r7, 6 /* 801F6ED8 001F3E38 4B FF E0 C1 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F6EDC 001F3E3C A0 61 00 10 */ lhz r3, 0x10(r1) /* 801F6EE0 001F3E40 38 00 00 00 */ li r0, 0 /* 801F6EE4 001F3E44 C0 02 AF 34 */ lfs f0, lbl_805ACC54@sda21(r2) /* 801F6EE8 001F3E48 B0 7E 02 DC */ sth r3, 0x2dc(r30) /* 801F6EEC 001F3E4C 90 1E 03 0C */ stw r0, 0x30c(r30) /* 801F6EF0 001F3E50 D0 1E 03 B0 */ stfs f0, 0x3b0(r30) /* 801F6EF4 001F3E54 A0 7E 02 DC */ lhz r3, 0x2dc(r30) /* 801F6EF8 001F3E58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F6EFC 001F3E5C 7C 03 00 40 */ cmplw r3, r0 /* 801F6F00 001F3E60 41 82 00 48 */ beq lbl_801F6F48 /* 801F6F04 001F3E64 A0 1E 02 DC */ lhz r0, 0x2dc(r30) /* 801F6F08 001F3E68 7F E3 FB 78 */ mr r3, r31 /* 801F6F0C 001F3E6C 38 81 00 0C */ addi r4, r1, 0xc /* 801F6F10 001F3E70 B0 01 00 0C */ sth r0, 0xc(r1) /* 801F6F14 001F3E74 4B E5 56 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F6F18 001F3E78 7C 64 1B 78 */ mr r4, r3 /* 801F6F1C 001F3E7C 38 61 00 1C */ addi r3, r1, 0x1c /* 801F6F20 001F3E80 4B EA F6 2D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F6F24 001F3E84 80 63 00 04 */ lwz r3, 4(r3) /* 801F6F28 001F3E88 28 03 00 00 */ cmplwi r3, 0 /* 801F6F2C 001F3E8C 41 82 00 1C */ beq lbl_801F6F48 /* 801F6F30 001F3E90 88 03 00 F8 */ lbz r0, 0xf8(r3) /* 801F6F34 001F3E94 90 1E 03 0C */ stw r0, 0x30c(r30) /* 801F6F38 001F3E98 C0 03 00 E8 */ lfs f0, 0xe8(r3) /* 801F6F3C 001F3E9C D0 1E 03 B0 */ stfs f0, 0x3b0(r30) /* 801F6F40 001F3EA0 48 00 00 08 */ b lbl_801F6F48 lbl_801F6F44: /* 801F6F44 001F3EA4 B0 7E 02 DC */ sth r3, 0x2dc(r30) lbl_801F6F48: /* 801F6F48 001F3EA8 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801F6F4C 001F3EAC 38 60 00 00 */ li r3, 0 /* 801F6F50 001F3EB0 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801F6F54 001F3EB4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F6F58 001F3EB8 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F6F5C 001F3EBC D0 3E 02 EC */ stfs f1, 0x2ec(r30) /* 801F6F60 001F3EC0 D0 5E 02 F0 */ stfs f2, 0x2f0(r30) /* 801F6F64 001F3EC4 D0 7E 02 F4 */ stfs f3, 0x2f4(r30) /* 801F6F68 001F3EC8 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6F6C 001F3ECC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F6F70 001F3ED0 98 1E 03 28 */ stb r0, 0x328(r30) /* 801F6F74 001F3ED4 90 7E 02 D8 */ stw r3, 0x2d8(r30) /* 801F6F78 001F3ED8 D0 1E 02 F8 */ stfs f0, 0x2f8(r30) /* 801F6F7C 001F3EDC 48 00 01 10 */ b lbl_801F708C lbl_801F6F80: /* 801F6F80 001F3EE0 80 1E 02 D8 */ lwz r0, 0x2d8(r30) /* 801F6F84 001F3EE4 2C 00 00 01 */ cmpwi r0, 1 /* 801F6F88 001F3EE8 41 82 00 B8 */ beq lbl_801F7040 /* 801F6F8C 001F3EEC 40 80 00 10 */ bge lbl_801F6F9C /* 801F6F90 001F3EF0 2C 00 00 00 */ cmpwi r0, 0 /* 801F6F94 001F3EF4 40 80 00 14 */ bge lbl_801F6FA8 /* 801F6F98 001F3EF8 48 00 00 F4 */ b lbl_801F708C lbl_801F6F9C: /* 801F6F9C 001F3EFC 2C 00 00 03 */ cmpwi r0, 3 /* 801F6FA0 001F3F00 40 80 00 EC */ bge lbl_801F708C /* 801F6FA4 001F3F04 48 00 00 BC */ b lbl_801F7060 lbl_801F6FA8: /* 801F6FA8 001F3F08 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F6FAC 001F3F0C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F6FB0 001F3F10 41 82 00 5C */ beq lbl_801F700C /* 801F6FB4 001F3F14 A0 7E 02 DC */ lhz r3, 0x2dc(r30) /* 801F6FB8 001F3F18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F6FBC 001F3F1C 7C 03 00 40 */ cmplw r3, r0 /* 801F6FC0 001F3F20 41 82 00 4C */ beq lbl_801F700C /* 801F6FC4 001F3F24 A0 1E 02 DC */ lhz r0, 0x2dc(r30) /* 801F6FC8 001F3F28 7F E3 FB 78 */ mr r3, r31 /* 801F6FCC 001F3F2C 38 81 00 08 */ addi r4, r1, 8 /* 801F6FD0 001F3F30 B0 01 00 08 */ sth r0, 8(r1) /* 801F6FD4 001F3F34 4B E5 55 D1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F6FD8 001F3F38 7C 64 1B 78 */ mr r4, r3 /* 801F6FDC 001F3F3C 38 61 00 14 */ addi r3, r1, 0x14 /* 801F6FE0 001F3F40 4B EA F5 6D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F6FE4 001F3F44 80 63 00 04 */ lwz r3, 4(r3) /* 801F6FE8 001F3F48 28 03 00 00 */ cmplwi r3, 0 /* 801F6FEC 001F3F4C 41 82 00 20 */ beq lbl_801F700C /* 801F6FF0 001F3F50 C0 23 00 F0 */ lfs f1, 0xf0(r3) /* 801F6FF4 001F3F54 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F6FF8 001F3F58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F6FFC 001F3F5C 40 81 00 10 */ ble lbl_801F700C /* 801F7000 001F3F60 D0 3E 02 F8 */ stfs f1, 0x2f8(r30) /* 801F7004 001F3F64 38 00 00 01 */ li r0, 1 /* 801F7008 001F3F68 90 1E 02 D8 */ stw r0, 0x2d8(r30) lbl_801F700C: /* 801F700C 001F3F6C A0 7E 02 DC */ lhz r3, 0x2dc(r30) /* 801F7010 001F3F70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F7014 001F3F74 7C 03 00 40 */ cmplw r3, r0 /* 801F7018 001F3F78 40 82 00 0C */ bne lbl_801F7024 /* 801F701C 001F3F7C 38 00 00 02 */ li r0, 2 /* 801F7020 001F3F80 90 1E 02 D8 */ stw r0, 0x2d8(r30) lbl_801F7024: /* 801F7024 001F3F84 7F C3 F3 78 */ mr r3, r30 /* 801F7028 001F3F88 7F E4 FB 78 */ mr r4, r31 /* 801F702C 001F3F8C 4B FF E2 65 */ bl UpdateDest__10CPatternedFR13CStateManager /* 801F7030 001F3F90 7F C3 F3 78 */ mr r3, r30 /* 801F7034 001F3F94 7F E4 FB 78 */ mr r4, r31 /* 801F7038 001F3F98 4B FF E6 19 */ bl ApproachDest__10CPatternedFR13CStateManager /* 801F703C 001F3F9C 48 00 00 50 */ b lbl_801F708C lbl_801F7040: /* 801F7040 001F3FA0 C0 3E 02 F8 */ lfs f1, 0x2f8(r30) /* 801F7044 001F3FA4 C0 02 AF 20 */ lfs f0, lbl_805ACC40@sda21(r2) /* 801F7048 001F3FA8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F704C 001F3FAC 4C 40 13 82 */ cror 2, 0, 2 /* 801F7050 001F3FB0 40 82 00 3C */ bne lbl_801F708C /* 801F7054 001F3FB4 38 00 00 00 */ li r0, 0 /* 801F7058 001F3FB8 90 1E 02 D8 */ stw r0, 0x2d8(r30) /* 801F705C 001F3FBC 48 00 00 30 */ b lbl_801F708C lbl_801F7060: /* 801F7060 001F3FC0 A0 7E 02 DC */ lhz r3, 0x2dc(r30) /* 801F7064 001F3FC4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F7068 001F3FC8 7C 03 00 40 */ cmplw r3, r0 /* 801F706C 001F3FCC 41 82 00 20 */ beq lbl_801F708C /* 801F7070 001F3FD0 38 00 00 00 */ li r0, 0 /* 801F7074 001F3FD4 90 1E 02 D8 */ stw r0, 0x2d8(r30) /* 801F7078 001F3FD8 48 00 00 14 */ b lbl_801F708C lbl_801F707C: /* 801F707C 001F3FDC A0 7E 02 DC */ lhz r3, 0x2dc(r30) /* 801F7080 001F3FE0 38 00 FF FF */ li r0, -1 /* 801F7084 001F3FE4 B0 7E 03 AC */ sth r3, 0x3ac(r30) /* 801F7088 001F3FE8 90 1E 02 D8 */ stw r0, 0x2d8(r30) lbl_801F708C: /* 801F708C 001F3FEC 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F7090 001F3FF0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F7094 001F3FF4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F7098 001F3FF8 7C 08 03 A6 */ mtlr r0 /* 801F709C 001F3FFC 38 21 00 30 */ addi r1, r1, 0x30 /* 801F70A0 001F4000 4E 80 00 20 */ blr .global Start__10CPatternedFR13CStateManager9EStateMsgf Start__10CPatternedFR13CStateManager9EStateMsgf: /* 801F70A4 001F4004 4E 80 00 20 */ blr .global "reserve__Q24rstl63vectorFi" "reserve__Q24rstl63vectorFi": /* 801F70A8 001F4008 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F70AC 001F400C 7C 08 02 A6 */ mflr r0 /* 801F70B0 001F4010 90 01 00 34 */ stw r0, 0x34(r1) /* 801F70B4 001F4014 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F70B8 001F4018 7C 9F 23 78 */ mr r31, r4 /* 801F70BC 001F401C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F70C0 001F4020 7C 7E 1B 78 */ mr r30, r3 /* 801F70C4 001F4024 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F70C8 001F4028 80 03 00 08 */ lwz r0, 8(r3) /* 801F70CC 001F402C 7C 1F 00 00 */ cmpw r31, r0 /* 801F70D0 001F4030 40 81 00 FC */ ble lbl_801F71CC /* 801F70D4 001F4034 1C 7F 00 24 */ mulli r3, r31, 0x24 /* 801F70D8 001F4038 2C 03 00 00 */ cmpwi r3, 0 /* 801F70DC 001F403C 40 82 00 0C */ bne lbl_801F70E8 /* 801F70E0 001F4040 3B A0 00 00 */ li r29, 0 /* 801F70E4 001F4044 48 00 00 18 */ b lbl_801F70FC lbl_801F70E8: /* 801F70E8 001F4048 3C 80 80 3D */ lis r4, lbl_803D2070@ha /* 801F70EC 001F404C 38 A0 00 00 */ li r5, 0 /* 801F70F0 001F4050 38 84 20 70 */ addi r4, r4, lbl_803D2070@l /* 801F70F4 001F4054 48 11 E7 25 */ bl __nwa__FUlPCcPCc /* 801F70F8 001F4058 7C 7D 1B 78 */ mr r29, r3 lbl_801F70FC: /* 801F70FC 001F405C 80 1E 00 04 */ lwz r0, 4(r30) /* 801F7100 001F4060 7F A4 EB 78 */ mr r4, r29 /* 801F7104 001F4064 80 BE 00 0C */ lwz r5, 0xc(r30) /* 801F7108 001F4068 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801F710C 001F406C 90 A1 00 10 */ stw r5, 0x10(r1) /* 801F7110 001F4070 7C 65 02 14 */ add r3, r5, r0 /* 801F7114 001F4074 90 A1 00 14 */ stw r5, 0x14(r1) /* 801F7118 001F4078 90 61 00 08 */ stw r3, 8(r1) /* 801F711C 001F407C 90 61 00 0C */ stw r3, 0xc(r1) /* 801F7120 001F4080 48 00 00 6C */ b lbl_801F718C lbl_801F7124: /* 801F7124 001F4084 28 04 00 00 */ cmplwi r4, 0 /* 801F7128 001F4088 41 82 00 5C */ beq lbl_801F7184 /* 801F712C 001F408C C0 05 00 00 */ lfs f0, 0(r5) /* 801F7130 001F4090 D0 04 00 00 */ stfs f0, 0(r4) /* 801F7134 001F4094 C0 05 00 04 */ lfs f0, 4(r5) /* 801F7138 001F4098 D0 04 00 04 */ stfs f0, 4(r4) /* 801F713C 001F409C C0 05 00 08 */ lfs f0, 8(r5) /* 801F7140 001F40A0 D0 04 00 08 */ stfs f0, 8(r4) /* 801F7144 001F40A4 C0 05 00 0C */ lfs f0, 0xc(r5) /* 801F7148 001F40A8 D0 04 00 0C */ stfs f0, 0xc(r4) /* 801F714C 001F40AC C0 05 00 10 */ lfs f0, 0x10(r5) /* 801F7150 001F40B0 D0 04 00 10 */ stfs f0, 0x10(r4) /* 801F7154 001F40B4 C0 05 00 14 */ lfs f0, 0x14(r5) /* 801F7158 001F40B8 D0 04 00 14 */ stfs f0, 0x14(r4) /* 801F715C 001F40BC C0 05 00 18 */ lfs f0, 0x18(r5) /* 801F7160 001F40C0 D0 04 00 18 */ stfs f0, 0x18(r4) /* 801F7164 001F40C4 88 05 00 1C */ lbz r0, 0x1c(r5) /* 801F7168 001F40C8 98 04 00 1C */ stb r0, 0x1c(r4) /* 801F716C 001F40CC 88 05 00 1D */ lbz r0, 0x1d(r5) /* 801F7170 001F40D0 98 04 00 1D */ stb r0, 0x1d(r4) /* 801F7174 001F40D4 A0 05 00 1E */ lhz r0, 0x1e(r5) /* 801F7178 001F40D8 B0 04 00 1E */ sth r0, 0x1e(r4) /* 801F717C 001F40DC 80 05 00 20 */ lwz r0, 0x20(r5) /* 801F7180 001F40E0 90 04 00 20 */ stw r0, 0x20(r4) lbl_801F7184: /* 801F7184 001F40E4 38 84 00 24 */ addi r4, r4, 0x24 /* 801F7188 001F40E8 38 A5 00 24 */ addi r5, r5, 0x24 lbl_801F718C: /* 801F718C 001F40EC 7C 05 18 40 */ cmplw r5, r3 /* 801F7190 001F40F0 40 82 FF 94 */ bne lbl_801F7124 /* 801F7194 001F40F4 80 1E 00 04 */ lwz r0, 4(r30) /* 801F7198 001F40F8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801F719C 001F40FC 1C 00 00 24 */ mulli r0, r0, 0x24 /* 801F71A0 001F4100 7C 64 1B 78 */ mr r4, r3 /* 801F71A4 001F4104 7C 03 02 14 */ add r0, r3, r0 /* 801F71A8 001F4108 48 00 00 08 */ b lbl_801F71B0 lbl_801F71AC: /* 801F71AC 001F410C 38 84 00 24 */ addi r4, r4, 0x24 lbl_801F71B0: /* 801F71B0 001F4110 7C 04 00 40 */ cmplw r4, r0 /* 801F71B4 001F4114 40 82 FF F8 */ bne lbl_801F71AC /* 801F71B8 001F4118 28 03 00 00 */ cmplwi r3, 0 /* 801F71BC 001F411C 41 82 00 08 */ beq lbl_801F71C4 /* 801F71C0 001F4120 48 11 E7 71 */ bl Free__7CMemoryFPCv lbl_801F71C4: /* 801F71C4 001F4124 93 BE 00 0C */ stw r29, 0xc(r30) /* 801F71C8 001F4128 93 FE 00 08 */ stw r31, 8(r30) lbl_801F71CC: /* 801F71CC 001F412C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F71D0 001F4130 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F71D4 001F4134 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F71D8 001F4138 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F71DC 001F413C 7C 08 03 A6 */ mtlr r0 /* 801F71E0 001F4140 38 21 00 30 */ addi r1, r1, 0x30 /* 801F71E4 001F4144 4E 80 00 20 */ blr .global __dt__13CFlyingPirateFv __dt__13CFlyingPirateFv: /* 801F71E8 001F4148 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F71EC 001F414C 7C 08 02 A6 */ mflr r0 /* 801F71F0 001F4150 90 01 00 24 */ stw r0, 0x24(r1) /* 801F71F4 001F4154 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F71F8 001F4158 7C 9F 23 78 */ mr r31, r4 /* 801F71FC 001F415C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F7200 001F4160 7C 7E 1B 79 */ or. r30, r3, r3 /* 801F7204 001F4164 93 A1 00 14 */ stw r29, 0x14(r1) /* 801F7208 001F4168 93 81 00 10 */ stw r28, 0x10(r1) /* 801F720C 001F416C 41 82 02 34 */ beq lbl_801F7440 /* 801F7210 001F4170 3C 60 80 3E */ lis r3, lbl_803E685C@ha /* 801F7214 001F4174 34 1E 08 9C */ addic. r0, r30, 0x89c /* 801F7218 001F4178 38 03 68 5C */ addi r0, r3, lbl_803E685C@l /* 801F721C 001F417C 90 1E 00 00 */ stw r0, 0(r30) /* 801F7220 001F4180 41 82 00 10 */ beq lbl_801F7230 /* 801F7224 001F4184 80 7E 08 9C */ lwz r3, 0x89c(r30) /* 801F7228 001F4188 38 80 00 01 */ li r4, 1 /* 801F722C 001F418C 48 00 8C DD */ bl __dt__20CFlyingPirateRagDollFv lbl_801F7230: /* 801F7230 001F4190 34 1E 08 64 */ addic. r0, r30, 0x864 /* 801F7234 001F4194 41 82 00 58 */ beq lbl_801F728C /* 801F7238 001F4198 80 BE 08 64 */ lwz r5, 0x864(r30) /* 801F723C 001F419C 38 60 00 00 */ li r3, 0 /* 801F7240 001F41A0 2C 05 00 00 */ cmpwi r5, 0 /* 801F7244 001F41A4 40 81 00 40 */ ble lbl_801F7284 /* 801F7248 001F41A8 2C 05 00 08 */ cmpwi r5, 8 /* 801F724C 001F41AC 38 85 FF F8 */ addi r4, r5, -8 /* 801F7250 001F41B0 40 81 00 20 */ ble lbl_801F7270 /* 801F7254 001F41B4 38 04 00 07 */ addi r0, r4, 7 /* 801F7258 001F41B8 54 00 E8 FE */ srwi r0, r0, 3 /* 801F725C 001F41BC 7C 09 03 A6 */ mtctr r0 /* 801F7260 001F41C0 2C 04 00 00 */ cmpwi r4, 0 /* 801F7264 001F41C4 40 81 00 0C */ ble lbl_801F7270 lbl_801F7268: /* 801F7268 001F41C8 38 63 00 08 */ addi r3, r3, 8 /* 801F726C 001F41CC 42 00 FF FC */ bdnz lbl_801F7268 lbl_801F7270: /* 801F7270 001F41D0 7C 03 28 50 */ subf r0, r3, r5 /* 801F7274 001F41D4 7C 09 03 A6 */ mtctr r0 /* 801F7278 001F41D8 7C 03 28 00 */ cmpw r3, r5 /* 801F727C 001F41DC 40 80 00 08 */ bge lbl_801F7284 lbl_801F7280: /* 801F7280 001F41E0 42 00 00 00 */ bdnz lbl_801F7280 lbl_801F7284: /* 801F7284 001F41E4 38 00 00 00 */ li r0, 0 /* 801F7288 001F41E8 90 1E 08 64 */ stw r0, 0x864(r30) lbl_801F728C: /* 801F728C 001F41EC 34 1E 07 EC */ addic. r0, r30, 0x7ec /* 801F7290 001F41F0 41 82 00 60 */ beq lbl_801F72F0 /* 801F7294 001F41F4 34 1E 08 08 */ addic. r0, r30, 0x808 /* 801F7298 001F41F8 41 82 00 58 */ beq lbl_801F72F0 /* 801F729C 001F41FC 80 BE 08 08 */ lwz r5, 0x808(r30) /* 801F72A0 001F4200 38 60 00 00 */ li r3, 0 /* 801F72A4 001F4204 2C 05 00 00 */ cmpwi r5, 0 /* 801F72A8 001F4208 40 81 00 40 */ ble lbl_801F72E8 /* 801F72AC 001F420C 2C 05 00 08 */ cmpwi r5, 8 /* 801F72B0 001F4210 38 85 FF F8 */ addi r4, r5, -8 /* 801F72B4 001F4214 40 81 00 20 */ ble lbl_801F72D4 /* 801F72B8 001F4218 38 04 00 07 */ addi r0, r4, 7 /* 801F72BC 001F421C 54 00 E8 FE */ srwi r0, r0, 3 /* 801F72C0 001F4220 7C 09 03 A6 */ mtctr r0 /* 801F72C4 001F4224 2C 04 00 00 */ cmpwi r4, 0 /* 801F72C8 001F4228 40 81 00 0C */ ble lbl_801F72D4 lbl_801F72CC: /* 801F72CC 001F422C 38 63 00 08 */ addi r3, r3, 8 /* 801F72D0 001F4230 42 00 FF FC */ bdnz lbl_801F72CC lbl_801F72D4: /* 801F72D4 001F4234 7C 03 28 50 */ subf r0, r3, r5 /* 801F72D8 001F4238 7C 09 03 A6 */ mtctr r0 /* 801F72DC 001F423C 7C 03 28 00 */ cmpw r3, r5 /* 801F72E0 001F4240 40 80 00 08 */ bge lbl_801F72E8 lbl_801F72E4: /* 801F72E4 001F4244 42 00 00 00 */ bdnz lbl_801F72E4 lbl_801F72E8: /* 801F72E8 001F4248 38 00 00 00 */ li r0, 0 /* 801F72EC 001F424C 90 1E 08 08 */ stw r0, 0x808(r30) lbl_801F72F0: /* 801F72F0 001F4250 34 1E 07 A0 */ addic. r0, r30, 0x7a0 /* 801F72F4 001F4254 41 82 00 14 */ beq lbl_801F7308 /* 801F72F8 001F4258 34 1E 07 C4 */ addic. r0, r30, 0x7c4 /* 801F72FC 001F425C 41 82 00 0C */ beq lbl_801F7308 /* 801F7300 001F4260 38 00 00 00 */ li r0, 0 /* 801F7304 001F4264 98 1E 07 D0 */ stb r0, 0x7d0(r30) lbl_801F7308: /* 801F7308 001F4268 34 1E 06 A8 */ addic. r0, r30, 0x6a8 /* 801F730C 001F426C 41 82 00 60 */ beq lbl_801F736C /* 801F7310 001F4270 34 1E 06 AC */ addic. r0, r30, 0x6ac /* 801F7314 001F4274 41 82 00 58 */ beq lbl_801F736C /* 801F7318 001F4278 80 BE 06 AC */ lwz r5, 0x6ac(r30) /* 801F731C 001F427C 38 60 00 00 */ li r3, 0 /* 801F7320 001F4280 2C 05 00 00 */ cmpwi r5, 0 /* 801F7324 001F4284 40 81 00 40 */ ble lbl_801F7364 /* 801F7328 001F4288 2C 05 00 08 */ cmpwi r5, 8 /* 801F732C 001F428C 38 85 FF F8 */ addi r4, r5, -8 /* 801F7330 001F4290 40 81 00 20 */ ble lbl_801F7350 /* 801F7334 001F4294 38 04 00 07 */ addi r0, r4, 7 /* 801F7338 001F4298 54 00 E8 FE */ srwi r0, r0, 3 /* 801F733C 001F429C 7C 09 03 A6 */ mtctr r0 /* 801F7340 001F42A0 2C 04 00 00 */ cmpwi r4, 0 /* 801F7344 001F42A4 40 81 00 0C */ ble lbl_801F7350 lbl_801F7348: /* 801F7348 001F42A8 38 63 00 08 */ addi r3, r3, 8 /* 801F734C 001F42AC 42 00 FF FC */ bdnz lbl_801F7348 lbl_801F7350: /* 801F7350 001F42B0 7C 03 28 50 */ subf r0, r3, r5 /* 801F7354 001F42B4 7C 09 03 A6 */ mtctr r0 /* 801F7358 001F42B8 7C 03 28 00 */ cmpw r3, r5 /* 801F735C 001F42BC 40 80 00 08 */ bge lbl_801F7364 lbl_801F7360: /* 801F7360 001F42C0 42 00 00 00 */ bdnz lbl_801F7360 lbl_801F7364: /* 801F7364 001F42C4 38 00 00 00 */ li r0, 0 /* 801F7368 001F42C8 90 1E 06 AC */ stw r0, 0x6ac(r30) lbl_801F736C: /* 801F736C 001F42CC 34 1E 06 84 */ addic. r0, r30, 0x684 /* 801F7370 001F42D0 41 82 00 60 */ beq lbl_801F73D0 /* 801F7374 001F42D4 3B 9E 06 88 */ addi r28, r30, 0x688 /* 801F7378 001F42D8 3B A0 00 00 */ li r29, 0 /* 801F737C 001F42DC 48 00 00 40 */ b lbl_801F73BC lbl_801F7380: /* 801F7380 001F42E0 28 1C 00 00 */ cmplwi r28, 0 /* 801F7384 001F42E4 41 82 00 30 */ beq lbl_801F73B4 /* 801F7388 001F42E8 88 1C 00 00 */ lbz r0, 0(r28) /* 801F738C 001F42EC 28 00 00 00 */ cmplwi r0, 0 /* 801F7390 001F42F0 41 82 00 24 */ beq lbl_801F73B4 /* 801F7394 001F42F4 80 7C 00 04 */ lwz r3, 4(r28) /* 801F7398 001F42F8 28 03 00 00 */ cmplwi r3, 0 /* 801F739C 001F42FC 41 82 00 18 */ beq lbl_801F73B4 /* 801F73A0 001F4300 81 83 00 00 */ lwz r12, 0(r3) /* 801F73A4 001F4304 38 80 00 01 */ li r4, 1 /* 801F73A8 001F4308 81 8C 00 08 */ lwz r12, 8(r12) /* 801F73AC 001F430C 7D 89 03 A6 */ mtctr r12 /* 801F73B0 001F4310 4E 80 04 21 */ bctrl lbl_801F73B4: /* 801F73B4 001F4314 3B 9C 00 08 */ addi r28, r28, 8 /* 801F73B8 001F4318 3B BD 00 01 */ addi r29, r29, 1 lbl_801F73BC: /* 801F73BC 001F431C 80 1E 06 84 */ lwz r0, 0x684(r30) /* 801F73C0 001F4320 7C 1D 00 00 */ cmpw r29, r0 /* 801F73C4 001F4324 41 80 FF BC */ blt lbl_801F7380 /* 801F73C8 001F4328 38 00 00 00 */ li r0, 0 /* 801F73CC 001F432C 90 1E 06 84 */ stw r0, 0x684(r30) lbl_801F73D0: /* 801F73D0 001F4330 34 1E 06 5C */ addic. r0, r30, 0x65c /* 801F73D4 001F4334 41 82 00 44 */ beq lbl_801F7418 /* 801F73D8 001F4338 3B 9E 06 60 */ addi r28, r30, 0x660 /* 801F73DC 001F433C 3B A0 00 00 */ li r29, 0 /* 801F73E0 001F4340 48 00 00 24 */ b lbl_801F7404 lbl_801F73E4: /* 801F73E4 001F4344 28 1C 00 00 */ cmplwi r28, 0 /* 801F73E8 001F4348 41 82 00 14 */ beq lbl_801F73FC /* 801F73EC 001F434C 41 82 00 10 */ beq lbl_801F73FC /* 801F73F0 001F4350 7F 83 E3 78 */ mr r3, r28 /* 801F73F4 001F4354 38 80 00 00 */ li r4, 0 /* 801F73F8 001F4358 48 14 9A 49 */ bl __dt__6CTokenFv lbl_801F73FC: /* 801F73FC 001F435C 3B 9C 00 0C */ addi r28, r28, 0xc /* 801F7400 001F4360 3B BD 00 01 */ addi r29, r29, 1 lbl_801F7404: /* 801F7404 001F4364 80 1E 06 5C */ lwz r0, 0x65c(r30) /* 801F7408 001F4368 7C 1D 00 00 */ cmpw r29, r0 /* 801F740C 001F436C 41 80 FF D8 */ blt lbl_801F73E4 /* 801F7410 001F4370 38 00 00 00 */ li r0, 0 /* 801F7414 001F4374 90 1E 06 5C */ stw r0, 0x65c(r30) lbl_801F7418: /* 801F7418 001F4378 38 7E 05 68 */ addi r3, r30, 0x568 /* 801F741C 001F437C 38 80 FF FF */ li r4, -1 /* 801F7420 001F4380 48 00 00 45 */ bl sub_801f7464 /* 801F7424 001F4384 7F C3 F3 78 */ mr r3, r30 /* 801F7428 001F4388 38 80 00 00 */ li r4, 0 /* 801F742C 001F438C 4B E8 01 45 */ bl __dt__10CPatternedFv /* 801F7430 001F4390 7F E0 07 35 */ extsh. r0, r31 /* 801F7434 001F4394 40 81 00 0C */ ble lbl_801F7440 /* 801F7438 001F4398 7F C3 F3 78 */ mr r3, r30 /* 801F743C 001F439C 48 11 E4 F5 */ bl Free__7CMemoryFPCv lbl_801F7440: /* 801F7440 001F43A0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F7444 001F43A4 7F C3 F3 78 */ mr r3, r30 /* 801F7448 001F43A8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F744C 001F43AC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F7450 001F43B0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801F7454 001F43B4 83 81 00 10 */ lwz r28, 0x10(r1) /* 801F7458 001F43B8 7C 08 03 A6 */ mtlr r0 /* 801F745C 001F43BC 38 21 00 20 */ addi r1, r1, 0x20 /* 801F7460 001F43C0 4E 80 00 20 */ blr .global sub_801f7464 sub_801f7464: /* 801F7464 001F43C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F7468 001F43C8 7C 08 02 A6 */ mflr r0 /* 801F746C 001F43CC 90 01 00 14 */ stw r0, 0x14(r1) /* 801F7470 001F43D0 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F7474 001F43D4 7C 9F 23 78 */ mr r31, r4 /* 801F7478 001F43D8 93 C1 00 08 */ stw r30, 8(r1) /* 801F747C 001F43DC 7C 7E 1B 79 */ or. r30, r3, r3 /* 801F7480 001F43E0 41 82 00 9C */ beq lbl_801F751C /* 801F7484 001F43E4 34 1E 00 90 */ addic. r0, r30, 0x90 /* 801F7488 001F43E8 41 82 00 18 */ beq lbl_801F74A0 /* 801F748C 001F43EC 34 1E 00 90 */ addic. r0, r30, 0x90 /* 801F7490 001F43F0 41 82 00 10 */ beq lbl_801F74A0 /* 801F7494 001F43F4 38 7E 00 90 */ addi r3, r30, 0x90 /* 801F7498 001F43F8 38 80 00 00 */ li r4, 0 /* 801F749C 001F43FC 48 14 99 A5 */ bl __dt__6CTokenFv lbl_801F74A0: /* 801F74A0 001F4400 34 1E 00 60 */ addic. r0, r30, 0x60 /* 801F74A4 001F4404 41 82 00 20 */ beq lbl_801F74C4 /* 801F74A8 001F4408 34 1E 00 60 */ addic. r0, r30, 0x60 /* 801F74AC 001F440C 41 82 00 18 */ beq lbl_801F74C4 /* 801F74B0 001F4410 34 1E 00 60 */ addic. r0, r30, 0x60 /* 801F74B4 001F4414 41 82 00 10 */ beq lbl_801F74C4 /* 801F74B8 001F4418 38 7E 00 60 */ addi r3, r30, 0x60 /* 801F74BC 001F441C 38 80 00 00 */ li r4, 0 /* 801F74C0 001F4420 48 14 99 81 */ bl __dt__6CTokenFv lbl_801F74C4: /* 801F74C4 001F4424 34 1E 00 38 */ addic. r0, r30, 0x38 /* 801F74C8 001F4428 41 82 00 20 */ beq lbl_801F74E8 /* 801F74CC 001F442C 34 1E 00 38 */ addic. r0, r30, 0x38 /* 801F74D0 001F4430 41 82 00 18 */ beq lbl_801F74E8 /* 801F74D4 001F4434 34 1E 00 38 */ addic. r0, r30, 0x38 /* 801F74D8 001F4438 41 82 00 10 */ beq lbl_801F74E8 /* 801F74DC 001F443C 38 7E 00 38 */ addi r3, r30, 0x38 /* 801F74E0 001F4440 38 80 00 00 */ li r4, 0 /* 801F74E4 001F4444 48 14 99 5D */ bl __dt__6CTokenFv lbl_801F74E8: /* 801F74E8 001F4448 34 1E 00 0C */ addic. r0, r30, 0xc /* 801F74EC 001F444C 41 82 00 20 */ beq lbl_801F750C /* 801F74F0 001F4450 34 1E 00 0C */ addic. r0, r30, 0xc /* 801F74F4 001F4454 41 82 00 18 */ beq lbl_801F750C /* 801F74F8 001F4458 34 1E 00 0C */ addic. r0, r30, 0xc /* 801F74FC 001F445C 41 82 00 10 */ beq lbl_801F750C /* 801F7500 001F4460 38 7E 00 0C */ addi r3, r30, 0xc /* 801F7504 001F4464 38 80 00 00 */ li r4, 0 /* 801F7508 001F4468 48 14 99 39 */ bl __dt__6CTokenFv lbl_801F750C: /* 801F750C 001F446C 7F E0 07 35 */ extsh. r0, r31 /* 801F7510 001F4470 40 81 00 0C */ ble lbl_801F751C /* 801F7514 001F4474 7F C3 F3 78 */ mr r3, r30 /* 801F7518 001F4478 48 11 E4 19 */ bl Free__7CMemoryFPCv lbl_801F751C: /* 801F751C 001F447C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F7520 001F4480 7F C3 F3 78 */ mr r3, r30 /* 801F7524 001F4484 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F7528 001F4488 83 C1 00 08 */ lwz r30, 8(r1) /* 801F752C 001F448C 7C 08 03 A6 */ mtlr r0 /* 801F7530 001F4490 38 21 00 10 */ addi r1, r1, 0x10 /* 801F7534 001F4494 4E 80 00 20 */ blr .global GetSearchPath__13CFlyingPirateFv GetSearchPath__13CFlyingPirateFv: /* 801F7538 001F4498 38 63 06 A8 */ addi r3, r3, 0x6a8 /* 801F753C 001F449C 4E 80 00 20 */ blr .global IsListening__13CFlyingPirateCFv IsListening__13CFlyingPirateCFv: /* 801F7540 001F44A0 38 60 00 01 */ li r3, 1 /* 801F7544 001F44A4 4E 80 00 20 */ blr .global GetGravityConstant__13CFlyingPirateCFv GetGravityConstant__13CFlyingPirateCFv: /* 801F7548 001F44A8 88 03 06 A0 */ lbz r0, 0x6a0(r3) /* 801F754C 001F44AC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7550 001F44B0 41 82 00 0C */ beq lbl_801F755C /* 801F7554 001F44B4 C0 22 AF 58 */ lfs f1, lbl_805ACC78@sda21(r2) /* 801F7558 001F44B8 4E 80 00 20 */ blr lbl_801F755C: /* 801F755C 001F44BC C0 22 AF 54 */ lfs f1, lbl_805ACC74@sda21(r2) /* 801F7560 001F44C0 4E 80 00 20 */ blr .global KnockbackWhenFrozen__13CFlyingPirateCFv KnockbackWhenFrozen__13CFlyingPirateCFv: /* 801F7564 001F44C4 38 60 00 00 */ li r3, 0 /* 801F7568 001F44C8 4E 80 00 20 */ blr .global Think__13CFlyingPirateFfR13CStateManager Think__13CFlyingPirateFfR13CStateManager: /* 801F756C 001F44CC 94 21 FD 50 */ stwu r1, -0x2b0(r1) /* 801F7570 001F44D0 7C 08 02 A6 */ mflr r0 /* 801F7574 001F44D4 90 01 02 B4 */ stw r0, 0x2b4(r1) /* 801F7578 001F44D8 DB E1 02 A0 */ stfd f31, 0x2a0(r1) /* 801F757C 001F44DC F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 /* 801F7580 001F44E0 DB C1 02 90 */ stfd f30, 0x290(r1) /* 801F7584 001F44E4 F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 /* 801F7588 001F44E8 BF 41 02 78 */ stmw r26, 0x278(r1) /* 801F758C 001F44EC 88 03 00 30 */ lbz r0, 0x30(r3) /* 801F7590 001F44F0 7C 7F 1B 78 */ mr r31, r3 /* 801F7594 001F44F4 D0 21 00 08 */ stfs f1, 8(r1) /* 801F7598 001F44F8 7C 9E 23 78 */ mr r30, r4 /* 801F759C 001F44FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F75A0 001F4500 41 82 0F 24 */ beq lbl_801F84C4 /* 801F75A4 001F4504 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F75A8 001F4508 88 03 03 00 */ lbz r0, 0x300(r3) /* 801F75AC 001F450C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F75B0 001F4510 40 82 00 30 */ bne lbl_801F75E0 /* 801F75B4 001F4514 4B F4 37 3D */ bl Activate__15CBodyControllerFR13CStateManager /* 801F75B8 001F4518 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F75BC 001F451C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F75C0 001F4520 41 82 00 20 */ beq lbl_801F75E0 /* 801F75C4 001F4524 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F75C8 001F4528 38 80 00 03 */ li r4, 3 /* 801F75CC 001F452C 4B F4 34 0D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F75D0 001F4530 88 1F 03 28 */ lbz r0, 0x328(r31) /* 801F75D4 001F4534 38 60 00 01 */ li r3, 1 /* 801F75D8 001F4538 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801F75DC 001F453C 98 1F 03 28 */ stb r0, 0x328(r31) lbl_801F75E0: /* 801F75E0 001F4540 80 7E 08 70 */ lwz r3, 0x870(r30) /* 801F75E4 001F4544 4B E1 33 1D */ bl IsInCinematicCamera__14CCameraManagerCFv /* 801F75E8 001F4548 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F75EC 001F454C 7C 7D 1B 78 */ mr r29, r3 /* 801F75F0 001F4550 41 82 00 7C */ beq lbl_801F766C /* 801F75F4 001F4554 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F75F8 001F4558 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F75FC 001F455C 40 82 00 70 */ bne lbl_801F766C /* 801F7600 001F4560 7F E3 FB 78 */ mr r3, r31 /* 801F7604 001F4564 7F C5 F3 78 */ mr r5, r30 /* 801F7608 001F4568 38 80 00 30 */ li r4, 0x30 /* 801F760C 001F456C 4B E5 C9 75 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801F7610 001F4570 7F E3 FB 78 */ mr r3, r31 /* 801F7614 001F4574 4B E5 C2 A9 */ bl GetMaterialFilter__6CActorCFv /* 801F7618 001F4578 83 83 00 00 */ lwz r28, 0(r3) /* 801F761C 001F457C 83 63 00 04 */ lwz r27, 4(r3) /* 801F7620 001F4580 7F E3 FB 78 */ mr r3, r31 /* 801F7624 001F4584 4B E5 C2 99 */ bl GetMaterialFilter__6CActorCFv /* 801F7628 001F4588 3C 80 FF FF */ lis r4, 0xFFFEFFFF@ha /* 801F762C 001F458C 38 C0 FF FF */ li r6, -1 /* 801F7630 001F4590 38 A4 FF FF */ addi r5, r4, 0xFFFEFFFF@l /* 801F7634 001F4594 38 00 00 03 */ li r0, 3 /* 801F7638 001F4598 7F 66 30 38 */ and r6, r27, r6 /* 801F763C 001F459C 38 81 02 28 */ addi r4, r1, 0x228 /* 801F7640 001F45A0 7F 85 28 38 */ and r5, r28, r5 /* 801F7644 001F45A4 90 C1 02 2C */ stw r6, 0x22c(r1) /* 801F7648 001F45A8 90 A1 02 28 */ stw r5, 0x228(r1) /* 801F764C 001F45AC 80 A3 00 08 */ lwz r5, 8(r3) /* 801F7650 001F45B0 80 C3 00 0C */ lwz r6, 0xc(r3) /* 801F7654 001F45B4 7F E3 FB 78 */ mr r3, r31 /* 801F7658 001F45B8 90 C1 02 34 */ stw r6, 0x234(r1) /* 801F765C 001F45BC 90 A1 02 30 */ stw r5, 0x230(r1) /* 801F7660 001F45C0 90 01 02 38 */ stw r0, 0x238(r1) /* 801F7664 001F45C4 4B E5 C2 3D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 801F7668 001F45C8 48 00 00 90 */ b lbl_801F76F8 lbl_801F766C: /* 801F766C 001F45CC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801F7670 001F45D0 40 82 00 88 */ bne lbl_801F76F8 /* 801F7674 001F45D4 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F7678 001F45D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F767C 001F45DC 41 82 00 7C */ beq lbl_801F76F8 /* 801F7680 001F45E0 7F E3 FB 78 */ mr r3, r31 /* 801F7684 001F45E4 7F C5 F3 78 */ mr r5, r30 /* 801F7688 001F45E8 38 80 00 30 */ li r4, 0x30 /* 801F768C 001F45EC 4B E5 CC C5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801F7690 001F45F0 7F E3 FB 78 */ mr r3, r31 /* 801F7694 001F45F4 4B E5 C2 29 */ bl GetMaterialFilter__6CActorCFv /* 801F7698 001F45F8 80 AD 93 18 */ lwz r5, lbl_805A7ED8@sda21(r13) /* 801F769C 001F45FC 7C 7C 1B 78 */ mr r28, r3 /* 801F76A0 001F4600 38 60 00 00 */ li r3, 0 /* 801F76A4 001F4604 38 80 00 01 */ li r4, 1 /* 801F76A8 001F4608 48 19 28 4D */ bl __shl2i /* 801F76AC 001F460C 7C 7B 1B 78 */ mr r27, r3 /* 801F76B0 001F4610 7C 9A 23 78 */ mr r26, r4 /* 801F76B4 001F4614 7F E3 FB 78 */ mr r3, r31 /* 801F76B8 001F4618 4B E5 C2 05 */ bl GetMaterialFilter__6CActorCFv /* 801F76BC 001F461C 80 83 00 00 */ lwz r4, 0(r3) /* 801F76C0 001F4620 38 00 00 03 */ li r0, 3 /* 801F76C4 001F4624 80 C3 00 04 */ lwz r6, 4(r3) /* 801F76C8 001F4628 7F E3 FB 78 */ mr r3, r31 /* 801F76CC 001F462C 7C 85 DB 78 */ or r5, r4, r27 /* 801F76D0 001F4630 38 81 02 10 */ addi r4, r1, 0x210 /* 801F76D4 001F4634 7C C6 D3 78 */ or r6, r6, r26 /* 801F76D8 001F4638 90 A1 02 10 */ stw r5, 0x210(r1) /* 801F76DC 001F463C 90 C1 02 14 */ stw r6, 0x214(r1) /* 801F76E0 001F4640 80 BC 00 08 */ lwz r5, 8(r28) /* 801F76E4 001F4644 80 DC 00 0C */ lwz r6, 0xc(r28) /* 801F76E8 001F4648 90 C1 02 1C */ stw r6, 0x21c(r1) /* 801F76EC 001F464C 90 A1 02 18 */ stw r5, 0x218(r1) /* 801F76F0 001F4650 90 01 02 20 */ stw r0, 0x220(r1) /* 801F76F4 001F4654 4B E5 C1 AD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter lbl_801F76F8: /* 801F76F8 001F4658 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F76FC 001F465C 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 /* 801F7700 001F4660 3B 5F 06 88 */ addi r26, r31, 0x688 /* 801F7704 001F4664 3B 60 00 00 */ li r27, 0 /* 801F7708 001F4668 98 1F 06 A1 */ stb r0, 0x6a1(r31) /* 801F770C 001F466C 48 00 00 24 */ b lbl_801F7730 lbl_801F7710: /* 801F7710 001F4670 80 7A 00 04 */ lwz r3, 4(r26) /* 801F7714 001F4674 C0 21 00 08 */ lfs f1, 8(r1) /* 801F7718 001F4678 81 83 00 00 */ lwz r12, 0(r3) /* 801F771C 001F467C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801F7720 001F4680 7D 89 03 A6 */ mtctr r12 /* 801F7724 001F4684 4E 80 04 21 */ bctrl /* 801F7728 001F4688 3B 5A 00 08 */ addi r26, r26, 8 /* 801F772C 001F468C 3B 7B 00 01 */ addi r27, r27, 1 lbl_801F7730: /* 801F7730 001F4690 80 1F 06 84 */ lwz r0, 0x684(r31) /* 801F7734 001F4694 7C 1B 00 00 */ cmpw r27, r0 /* 801F7738 001F4698 41 80 FF D8 */ blt lbl_801F7710 /* 801F773C 001F469C C0 3F 07 8C */ lfs f1, 0x78c(r31) /* 801F7740 001F46A0 38 81 00 3C */ addi r4, r1, 0x3c /* 801F7744 001F46A4 C0 01 00 08 */ lfs f0, 8(r1) /* 801F7748 001F46A8 38 6D 93 1C */ addi r3, r13, lbl_805A7EDC@sda21 /* 801F774C 001F46AC EC 01 00 28 */ fsubs f0, f1, f0 /* 801F7750 001F46B0 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801F7754 001F46B4 4B E5 7F DD */ bl "Max__5CMathFRCfRCf" /* 801F7758 001F46B8 C0 03 00 00 */ lfs f0, 0(r3) /* 801F775C 001F46BC D0 1F 07 8C */ stfs f0, 0x78c(r31) /* 801F7760 001F46C0 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F7764 001F46C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7768 001F46C8 41 82 00 F4 */ beq lbl_801F785C /* 801F776C 001F46CC C0 1F 08 54 */ lfs f0, 0x854(r31) /* 801F7770 001F46D0 C0 21 00 08 */ lfs f1, 8(r1) /* 801F7774 001F46D4 EC 00 08 2A */ fadds f0, f0, f1 /* 801F7778 001F46D8 D0 1F 08 54 */ stfs f0, 0x854(r31) /* 801F777C 001F46DC C0 1F 08 58 */ lfs f0, 0x858(r31) /* 801F7780 001F46E0 EC 00 08 2A */ fadds f0, f0, f1 /* 801F7784 001F46E4 D0 1F 08 58 */ stfs f0, 0x858(r31) /* 801F7788 001F46E8 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F778C 001F46EC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801F7790 001F46F0 41 82 00 1C */ beq lbl_801F77AC /* 801F7794 001F46F4 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7798 001F46F8 38 60 00 00 */ li r3, 0 /* 801F779C 001F46FC D0 1F 08 58 */ stfs f0, 0x858(r31) /* 801F77A0 001F4700 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F77A4 001F4704 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801F77A8 001F4708 98 1F 06 A0 */ stb r0, 0x6a0(r31) lbl_801F77AC: /* 801F77AC 001F470C 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F77B0 001F4710 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F77B4 001F4714 41 82 00 1C */ beq lbl_801F77D0 /* 801F77B8 001F4718 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F77BC 001F471C 38 60 00 00 */ li r3, 0 /* 801F77C0 001F4720 D0 1F 08 54 */ stfs f0, 0x854(r31) /* 801F77C4 001F4724 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F77C8 001F4728 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F77CC 001F472C 98 1F 04 00 */ stb r0, 0x400(r31) lbl_801F77D0: /* 801F77D0 001F4730 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F77D4 001F4734 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F77D8 001F4738 40 82 00 84 */ bne lbl_801F785C /* 801F77DC 001F473C A0 BF 00 C4 */ lhz r5, 0xc4(r31) /* 801F77E0 001F4740 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F77E4 001F4744 7C 05 00 40 */ cmplw r5, r0 /* 801F77E8 001F4748 41 82 00 74 */ beq lbl_801F785C /* 801F77EC 001F474C B0 A1 00 14 */ sth r5, 0x14(r1) /* 801F77F0 001F4750 7F C3 F3 78 */ mr r3, r30 /* 801F77F4 001F4754 38 81 00 18 */ addi r4, r1, 0x18 /* 801F77F8 001F4758 B0 A1 00 18 */ sth r5, 0x18(r1) /* 801F77FC 001F475C 4B E5 4D A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F7800 001F4760 7C 64 1B 78 */ mr r4, r3 /* 801F7804 001F4764 38 61 00 58 */ addi r3, r1, 0x58 /* 801F7808 001F4768 4B EA F0 59 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 801F780C 001F476C 80 83 00 04 */ lwz r4, 4(r3) /* 801F7810 001F4770 28 04 00 00 */ cmplwi r4, 0 /* 801F7814 001F4774 41 82 00 48 */ beq lbl_801F785C /* 801F7818 001F4778 C3 FF 00 60 */ lfs f31, 0x60(r31) /* 801F781C 001F477C 38 61 01 DC */ addi r3, r1, 0x1dc /* 801F7820 001F4780 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F7824 001F4784 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F7828 001F4788 D0 21 01 68 */ stfs f1, 0x168(r1) /* 801F782C 001F478C D0 01 01 64 */ stfs f0, 0x164(r1) /* 801F7830 001F4790 D3 E1 01 6C */ stfs f31, 0x16c(r1) /* 801F7834 001F4794 4B E7 EE 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv /* 801F7838 001F4798 C0 02 AF 64 */ lfs f0, lbl_805ACC84@sda21(r2) /* 801F783C 001F479C C0 21 01 F0 */ lfs f1, 0x1f0(r1) /* 801F7840 001F47A0 EC 00 F8 2A */ fadds f0, f0, f31 /* 801F7844 001F47A4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F7848 001F47A8 40 81 00 14 */ ble lbl_801F785C /* 801F784C 001F47AC 88 1F 04 01 */ lbz r0, 0x401(r31) /* 801F7850 001F47B0 38 60 00 01 */ li r3, 1 /* 801F7854 001F47B4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801F7858 001F47B8 98 1F 04 01 */ stb r0, 0x401(r31) lbl_801F785C: /* 801F785C 001F47BC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F7860 001F47C0 4B F4 28 6D */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801F7864 001F47C4 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7868 001F47C8 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801F786C 001F47CC 40 82 03 4C */ bne lbl_801F7BB8 /* 801F7870 001F47D0 C0 3F 08 6C */ lfs f1, 0x86c(r31) /* 801F7874 001F47D4 38 81 00 38 */ addi r4, r1, 0x38 /* 801F7878 001F47D8 C0 01 00 08 */ lfs f0, 8(r1) /* 801F787C 001F47DC 38 6D 93 20 */ addi r3, r13, lbl_805A7EE0@sda21 /* 801F7880 001F47E0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F7884 001F47E4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801F7888 001F47E8 4B E5 7E A9 */ bl "Max__5CMathFRCfRCf" /* 801F788C 001F47EC C0 23 00 00 */ lfs f1, 0(r3) /* 801F7890 001F47F0 38 81 00 34 */ addi r4, r1, 0x34 /* 801F7894 001F47F4 C0 01 00 08 */ lfs f0, 8(r1) /* 801F7898 001F47F8 38 6D 93 24 */ addi r3, r13, lbl_805A7EE4@sda21 /* 801F789C 001F47FC D0 3F 08 6C */ stfs f1, 0x86c(r31) /* 801F78A0 001F4800 C0 3F 08 60 */ lfs f1, 0x860(r31) /* 801F78A4 001F4804 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F78A8 001F4808 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801F78AC 001F480C 4B E5 7E 85 */ bl "Max__5CMathFRCfRCf" /* 801F78B0 001F4810 C0 23 00 00 */ lfs f1, 0(r3) /* 801F78B4 001F4814 38 81 00 30 */ addi r4, r1, 0x30 /* 801F78B8 001F4818 C0 01 00 08 */ lfs f0, 8(r1) /* 801F78BC 001F481C 38 6D 93 28 */ addi r3, r13, lbl_805A7EE8@sda21 /* 801F78C0 001F4820 D0 3F 08 60 */ stfs f1, 0x860(r31) /* 801F78C4 001F4824 C0 3F 08 88 */ lfs f1, 0x888(r31) /* 801F78C8 001F4828 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F78CC 001F482C D0 01 00 30 */ stfs f0, 0x30(r1) /* 801F78D0 001F4830 4B E5 7E 61 */ bl "Max__5CMathFRCfRCf" /* 801F78D4 001F4834 C0 03 00 00 */ lfs f0, 0(r3) /* 801F78D8 001F4838 D0 1F 08 88 */ stfs f0, 0x888(r31) /* 801F78DC 001F483C 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F78E0 001F4840 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801F78E4 001F4844 41 82 00 18 */ beq lbl_801F78FC /* 801F78E8 001F4848 C0 3F 07 D8 */ lfs f1, 0x7d8(r31) /* 801F78EC 001F484C C0 01 00 08 */ lfs f0, 8(r1) /* 801F78F0 001F4850 EC 01 00 2A */ fadds f0, f1, f0 /* 801F78F4 001F4854 D0 1F 07 D8 */ stfs f0, 0x7d8(r31) /* 801F78F8 001F4858 48 00 00 0C */ b lbl_801F7904 lbl_801F78FC: /* 801F78FC 001F485C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7900 001F4860 D0 1F 07 D8 */ stfs f0, 0x7d8(r31) lbl_801F7904: /* 801F7904 001F4864 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F7908 001F4868 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F790C 001F486C 41 82 00 10 */ beq lbl_801F791C /* 801F7910 001F4870 7F E3 FB 78 */ mr r3, r31 /* 801F7914 001F4874 7F C4 F3 78 */ mr r4, r30 /* 801F7918 001F4878 48 00 5B 35 */ bl CheckForProjectiles__13CFlyingPirateFR13CStateManager lbl_801F791C: /* 801F791C 001F487C 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F7920 001F4880 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7924 001F4884 40 82 02 94 */ bne lbl_801F7BB8 /* 801F7928 001F4888 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F792C 001F488C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7930 001F4890 41 82 00 60 */ beq lbl_801F7990 /* 801F7934 001F4894 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F7938 001F4898 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 801F793C 001F489C 4B F3 C7 3D */ bl GetCurrentState__14CBodyStateInfoCFv /* 801F7940 001F48A0 81 83 00 00 */ lwz r12, 0(r3) /* 801F7944 001F48A4 81 8C 00 28 */ lwz r12, 0x28(r12) /* 801F7948 001F48A8 7D 89 03 A6 */ mtctr r12 /* 801F794C 001F48AC 4E 80 04 21 */ bctrl /* 801F7950 001F48B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F7954 001F48B4 41 82 02 64 */ beq lbl_801F7BB8 /* 801F7958 001F48B8 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F795C 001F48BC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801F7960 001F48C0 41 82 02 58 */ beq lbl_801F7BB8 /* 801F7964 001F48C4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F7968 001F48C8 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801F796C 001F48CC 2C 00 00 12 */ cmpwi r0, 0x12 /* 801F7970 001F48D0 41 82 02 48 */ beq lbl_801F7BB8 /* 801F7974 001F48D4 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F7978 001F48D8 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 801F797C 001F48DC 40 82 02 3C */ bne lbl_801F7BB8 /* 801F7980 001F48E0 C0 23 03 24 */ lfs f1, 0x324(r3) /* 801F7984 001F48E4 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7988 001F48E8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F798C 001F48EC 41 81 02 2C */ bgt lbl_801F7BB8 lbl_801F7990: /* 801F7990 001F48F0 80 1F 07 EC */ lwz r0, 0x7ec(r31) /* 801F7994 001F48F4 2C 00 FF FF */ cmpwi r0, -1 /* 801F7998 001F48F8 41 82 02 20 */ beq lbl_801F7BB8 /* 801F799C 001F48FC C0 5F 07 E4 */ lfs f2, 0x7e4(r31) /* 801F79A0 001F4900 C0 01 00 08 */ lfs f0, 8(r1) /* 801F79A4 001F4904 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F79A8 001F4908 EC 02 00 28 */ fsubs f0, f2, f0 /* 801F79AC 001F490C D0 1F 07 E4 */ stfs f0, 0x7e4(r31) /* 801F79B0 001F4910 C0 1F 07 E4 */ lfs f0, 0x7e4(r31) /* 801F79B4 001F4914 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801F79B8 001F4918 40 80 01 A4 */ bge lbl_801F7B5C /* 801F79BC 001F491C 81 9F 00 00 */ lwz r12, 0(r31) /* 801F79C0 001F4920 7F E3 FB 78 */ mr r3, r31 /* 801F79C4 001F4924 80 1F 07 EC */ lwz r0, 0x7ec(r31) /* 801F79C8 001F4928 7F C4 F3 78 */ mr r4, r30 /* 801F79CC 001F492C 81 8C 01 B0 */ lwz r12, 0x1b0(r12) /* 801F79D0 001F4930 54 1A 00 3C */ rlwinm r26, r0, 0, 0, 0x1e /* 801F79D4 001F4934 7D 89 03 A6 */ mtctr r12 /* 801F79D8 001F4938 4E 80 04 21 */ bctrl /* 801F79DC 001F493C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F79E0 001F4940 40 82 00 08 */ bne lbl_801F79E8 /* 801F79E4 001F4944 3B 5A 00 01 */ addi r26, r26, 1 lbl_801F79E8: /* 801F79E8 001F4948 93 5F 07 EC */ stw r26, 0x7ec(r31) /* 801F79EC 001F494C 7F C4 F3 78 */ mr r4, r30 /* 801F79F0 001F4950 38 7F 07 EC */ addi r3, r31, 0x7ec /* 801F79F4 001F4954 4B FB 5A 31 */ bl Start__10CBurstFireFR13CStateManager /* 801F79F8 001F4958 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F79FC 001F495C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7A00 001F4960 41 82 01 54 */ beq lbl_801F7B54 /* 801F7A04 001F4964 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801F7A08 001F4968 48 11 AA D5 */ bl Float__9CRandom16Fv /* 801F7A0C 001F496C C0 5F 03 08 */ lfs f2, 0x308(r31) /* 801F7A10 001F4970 7F C5 F3 78 */ mr r5, r30 /* 801F7A14 001F4974 C0 1F 03 04 */ lfs f0, 0x304(r31) /* 801F7A18 001F4978 38 61 01 34 */ addi r3, r1, 0x134 /* 801F7A1C 001F497C EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 801F7A20 001F4980 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F7A24 001F4984 D0 1F 07 E4 */ stfs f0, 0x7e4(r31) /* 801F7A28 001F4988 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 801F7A2C 001F498C 81 84 00 00 */ lwz r12, 0(r4) /* 801F7A30 001F4990 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801F7A34 001F4994 7D 89 03 A6 */ mtctr r12 /* 801F7A38 001F4998 4E 80 04 21 */ bctrl /* 801F7A3C 001F499C 7F E4 FB 78 */ mr r4, r31 /* 801F7A40 001F49A0 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 801F7A44 001F49A4 4B F2 2E E9 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801F7A48 001F49A8 38 61 01 40 */ addi r3, r1, 0x140 /* 801F7A4C 001F49AC 38 81 01 F4 */ addi r4, r1, 0x1f4 /* 801F7A50 001F49B0 48 13 FB BD */ bl GetCenterPoint__6CAABoxCFv /* 801F7A54 001F49B4 C0 21 01 40 */ lfs f1, 0x140(r1) /* 801F7A58 001F49B8 38 61 01 58 */ addi r3, r1, 0x158 /* 801F7A5C 001F49BC C0 01 01 34 */ lfs f0, 0x134(r1) /* 801F7A60 001F49C0 38 81 01 4C */ addi r4, r1, 0x14c /* 801F7A64 001F49C4 C0 61 01 44 */ lfs f3, 0x144(r1) /* 801F7A68 001F49C8 C0 41 01 38 */ lfs f2, 0x138(r1) /* 801F7A6C 001F49CC EC 81 00 28 */ fsubs f4, f1, f0 /* 801F7A70 001F49D0 C0 21 01 48 */ lfs f1, 0x148(r1) /* 801F7A74 001F49D4 C0 01 01 3C */ lfs f0, 0x13c(r1) /* 801F7A78 001F49D8 EC 43 10 28 */ fsubs f2, f3, f2 /* 801F7A7C 001F49DC D0 81 01 4C */ stfs f4, 0x14c(r1) /* 801F7A80 001F49E0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F7A84 001F49E4 D0 41 01 50 */ stfs f2, 0x150(r1) /* 801F7A88 001F49E8 D0 01 01 54 */ stfs f0, 0x154(r1) /* 801F7A8C 001F49EC 48 11 CD C5 */ bl AsNormalized__9CVector3fCFv /* 801F7A90 001F49F0 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801F7A94 001F49F4 C0 01 01 5C */ lfs f0, 0x15c(r1) /* 801F7A98 001F49F8 C0 83 00 48 */ lfs f4, 0x48(r3) /* 801F7A9C 001F49FC C0 63 00 38 */ lfs f3, 0x38(r3) /* 801F7AA0 001F4A00 EC 00 01 32 */ fmuls f0, f0, f4 /* 801F7AA4 001F4A04 C0 21 01 58 */ lfs f1, 0x158(r1) /* 801F7AA8 001F4A08 C0 A3 00 58 */ lfs f5, 0x58(r3) /* 801F7AAC 001F4A0C C0 41 01 60 */ lfs f2, 0x160(r1) /* 801F7AB0 001F4A10 EC 21 00 FA */ fmadds f1, f1, f3, f0 /* 801F7AB4 001F4A14 C0 02 AF 68 */ lfs f0, lbl_805ACC88@sda21(r2) /* 801F7AB8 001F4A18 D0 61 01 28 */ stfs f3, 0x128(r1) /* 801F7ABC 001F4A1C EC 22 09 7A */ fmadds f1, f2, f5, f1 /* 801F7AC0 001F4A20 D0 81 01 2C */ stfs f4, 0x12c(r1) /* 801F7AC4 001F4A24 D0 A1 01 30 */ stfs f5, 0x130(r1) /* 801F7AC8 001F4A28 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F7ACC 001F4A2C 40 80 00 90 */ bge lbl_801F7B5C /* 801F7AD0 001F4A30 83 9E 08 38 */ lwz r28, 0x838(r30) /* 801F7AD4 001F4A34 AB 5C 20 08 */ lha r26, 0x2008(r28) /* 801F7AD8 001F4A38 48 00 00 70 */ b lbl_801F7B48 lbl_801F7ADC: /* 801F7ADC 001F4A3C 7F 83 E3 78 */ mr r3, r28 /* 801F7AE0 001F4A40 7F 44 D3 78 */ mr r4, r26 /* 801F7AE4 001F4A44 4B E1 81 F9 */ bl __vc__11CObjectListCFi /* 801F7AE8 001F4A48 7C 64 1B 78 */ mr r4, r3 /* 801F7AEC 001F4A4C 38 61 00 1C */ addi r3, r1, 0x1c /* 801F7AF0 001F4A50 4B EA D8 E1 */ bl sub_800a53d0 /* 801F7AF4 001F4A54 4B EA D8 B1 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" /* 801F7AF8 001F4A58 28 03 00 00 */ cmplwi r3, 0 /* 801F7AFC 001F4A5C 41 82 00 30 */ beq lbl_801F7B2C /* 801F7B00 001F4A60 88 03 06 37 */ lbz r0, 0x637(r3) /* 801F7B04 001F4A64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7B08 001F4A68 41 82 00 24 */ beq lbl_801F7B2C /* 801F7B0C 001F4A6C 80 63 00 04 */ lwz r3, 4(r3) /* 801F7B10 001F4A70 80 1F 00 04 */ lwz r0, 4(r31) /* 801F7B14 001F4A74 7C 03 00 00 */ cmpw r3, r0 /* 801F7B18 001F4A78 40 82 00 14 */ bne lbl_801F7B2C /* 801F7B1C 001F4A7C C0 3F 07 E4 */ lfs f1, 0x7e4(r31) /* 801F7B20 001F4A80 C0 02 AF 6C */ lfs f0, lbl_805ACC8C@sda21(r2) /* 801F7B24 001F4A84 EC 01 00 2A */ fadds f0, f1, f0 /* 801F7B28 001F4A88 D0 1F 07 E4 */ stfs f0, 0x7e4(r31) lbl_801F7B2C: /* 801F7B2C 001F4A8C 2C 1A FF FF */ cmpwi r26, -1 /* 801F7B30 001F4A90 41 82 00 14 */ beq lbl_801F7B44 /* 801F7B34 001F4A94 57 43 18 38 */ slwi r3, r26, 3 /* 801F7B38 001F4A98 38 03 00 08 */ addi r0, r3, 8 /* 801F7B3C 001F4A9C 7F 5C 02 AE */ lhax r26, r28, r0 /* 801F7B40 001F4AA0 48 00 00 08 */ b lbl_801F7B48 lbl_801F7B44: /* 801F7B44 001F4AA4 3B 40 FF FF */ li r26, -1 lbl_801F7B48: /* 801F7B48 001F4AA8 2C 1A FF FF */ cmpwi r26, -1 /* 801F7B4C 001F4AAC 40 82 FF 90 */ bne lbl_801F7ADC /* 801F7B50 001F4AB0 48 00 00 0C */ b lbl_801F7B5C lbl_801F7B54: /* 801F7B54 001F4AB4 C0 02 AF 70 */ lfs f0, lbl_805ACC90@sda21(r2) /* 801F7B58 001F4AB8 D0 1F 07 E4 */ stfs f0, 0x7e4(r31) lbl_801F7B5C: /* 801F7B5C 001F4ABC C0 21 00 08 */ lfs f1, 8(r1) /* 801F7B60 001F4AC0 7F C4 F3 78 */ mr r4, r30 /* 801F7B64 001F4AC4 38 7F 07 EC */ addi r3, r31, 0x7ec /* 801F7B68 001F4AC8 4B FB 57 ED */ bl Update__10CBurstFireFR13CStateManagerf /* 801F7B6C 001F4ACC 88 1F 08 00 */ lbz r0, 0x800(r31) /* 801F7B70 001F4AD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801F7B74 001F4AD4 41 82 00 44 */ beq lbl_801F7BB8 /* 801F7B78 001F4AD8 C0 21 00 08 */ lfs f1, 8(r1) /* 801F7B7C 001F4ADC 7F E3 FB 78 */ mr r3, r31 /* 801F7B80 001F4AE0 7F C4 F3 78 */ mr r4, r30 /* 801F7B84 001F4AE4 48 00 0F AD */ bl FireProjectile__13CFlyingPirateFR13CStateManagerRC9CVector3f /* 801F7B88 001F4AE8 C3 FF 06 3C */ lfs f31, 0x63c(r31) /* 801F7B8C 001F4AEC C3 DF 06 38 */ lfs f30, 0x638(r31) /* 801F7B90 001F4AF0 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801F7B94 001F4AF4 48 11 A9 49 */ bl Float__9CRandom16Fv /* 801F7B98 001F4AF8 C0 02 AF 74 */ lfs f0, lbl_805ACC94@sda21(r2) /* 801F7B9C 001F4AFC C0 5F 07 F4 */ lfs f2, 0x7f4(r31) /* 801F7BA0 001F4B00 EC 21 00 28 */ fsubs f1, f1, f0 /* 801F7BA4 001F4B04 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7BA8 001F4B08 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F7BAC 001F4B0C EC 1F F0 7A */ fmadds f0, f31, f1, f30 /* 801F7BB0 001F4B10 40 81 00 08 */ ble lbl_801F7BB8 /* 801F7BB4 001F4B14 D0 1F 07 F4 */ stfs f0, 0x7f4(r31) lbl_801F7BB8: /* 801F7BB8 001F4B18 80 9F 08 9C */ lwz r4, 0x89c(r31) /* 801F7BBC 001F4B1C 7C 83 00 34 */ cntlzw r3, r4 /* 801F7BC0 001F4B20 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f /* 801F7BC4 001F4B24 54 7D D9 7E */ srwi r29, r3, 5 /* 801F7BC8 001F4B28 40 82 00 10 */ bne lbl_801F7BD8 /* 801F7BCC 001F4B2C 88 04 00 68 */ lbz r0, 0x68(r4) /* 801F7BD0 001F4B30 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F7BD4 001F4B34 40 82 06 5C */ bne lbl_801F8230 lbl_801F7BD8: /* 801F7BD8 001F4B38 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F7BDC 001F4B3C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7BE0 001F4B40 41 82 01 04 */ beq lbl_801F7CE4 /* 801F7BE4 001F4B44 80 DF 04 50 */ lwz r6, 0x450(r31) /* 801F7BE8 001F4B48 88 06 03 00 */ lbz r0, 0x300(r6) /* 801F7BEC 001F4B4C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F7BF0 001F4B50 40 82 00 F4 */ bne lbl_801F7CE4 /* 801F7BF4 001F4B54 C0 26 03 24 */ lfs f1, 0x324(r6) /* 801F7BF8 001F4B58 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7BFC 001F4B5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F7C00 001F4B60 41 81 00 E4 */ bgt lbl_801F7CE4 /* 801F7C04 001F4B64 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F7C08 001F4B68 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801F7C0C 001F4B6C 41 82 00 D8 */ beq lbl_801F7CE4 /* 801F7C10 001F4B70 28 04 00 00 */ cmplwi r4, 0 /* 801F7C14 001F4B74 40 82 00 D0 */ bne lbl_801F7CE4 /* 801F7C18 001F4B78 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801F7C1C 001F4B7C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7C20 001F4B80 40 82 00 C4 */ bne lbl_801F7CE4 /* 801F7C24 001F4B84 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 801F7C28 001F4B88 3C 60 80 3E */ lis r3, lbl_803E061C@ha /* 801F7C2C 001F4B8C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 801F7C30 001F4B90 38 A0 00 18 */ li r5, 0x18 /* 801F7C34 001F4B94 90 01 00 68 */ stw r0, 0x68(r1) /* 801F7C38 001F4B98 38 03 06 1C */ addi r0, r3, lbl_803E061C@l /* 801F7C3C 001F4B9C 3B 86 00 04 */ addi r28, r6, 4 /* 801F7C40 001F4BA0 38 80 00 18 */ li r4, 0x18 /* 801F7C44 001F4BA4 90 A1 00 6C */ stw r5, 0x6c(r1) /* 801F7C48 001F4BA8 7F 83 E3 78 */ mr r3, r28 /* 801F7C4C 001F4BAC 90 01 00 68 */ stw r0, 0x68(r1) /* 801F7C50 001F4BB0 4B F3 97 E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801F7C54 001F4BB4 3C 60 80 3E */ lis r3, lbl_803E061C@ha /* 801F7C58 001F4BB8 80 C1 00 6C */ lwz r6, 0x6c(r1) /* 801F7C5C 001F4BBC 38 03 06 1C */ addi r0, r3, lbl_803E061C@l /* 801F7C60 001F4BC0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F7C64 001F4BC4 90 01 00 68 */ stw r0, 0x68(r1) /* 801F7C68 001F4BC8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F7C6C 001F4BCC 7F E4 FB 78 */ mr r4, r31 /* 801F7C70 001F4BD0 7F C5 F3 78 */ mr r5, r30 /* 801F7C74 001F4BD4 90 DC 02 74 */ stw r6, 0x274(r28) /* 801F7C78 001F4BD8 38 61 01 10 */ addi r3, r1, 0x110 /* 801F7C7C 001F4BDC 90 01 00 68 */ stw r0, 0x68(r1) /* 801F7C80 001F4BE0 48 00 4C 15 */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801F7C84 001F4BE4 C0 21 01 18 */ lfs f1, 0x118(r1) /* 801F7C88 001F4BE8 38 9F 00 34 */ addi r4, r31, 0x34 /* 801F7C8C 001F4BEC C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801F7C90 001F4BF0 38 61 01 1C */ addi r3, r1, 0x11c /* 801F7C94 001F4BF4 C0 61 01 14 */ lfs f3, 0x114(r1) /* 801F7C98 001F4BF8 38 A1 00 70 */ addi r5, r1, 0x70 /* 801F7C9C 001F4BFC EC 81 00 28 */ fsubs f4, f1, f0 /* 801F7CA0 001F4C00 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801F7CA4 001F4C04 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F7CA8 001F4C08 C0 21 01 10 */ lfs f1, 0x110(r1) /* 801F7CAC 001F4C0C EC 43 10 28 */ fsubs f2, f3, f2 /* 801F7CB0 001F4C10 D0 81 00 78 */ stfs f4, 0x78(r1) /* 801F7CB4 001F4C14 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F7CB8 001F4C18 D0 41 00 74 */ stfs f2, 0x74(r1) /* 801F7CBC 001F4C1C D0 01 00 70 */ stfs f0, 0x70(r1) /* 801F7CC0 001F4C20 48 11 AD 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801F7CC4 001F4C24 C0 21 01 20 */ lfs f1, 0x120(r1) /* 801F7CC8 001F4C28 C0 41 01 24 */ lfs f2, 0x124(r1) /* 801F7CCC 001F4C2C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F7CD0 001F4C30 C0 01 01 1C */ lfs f0, 0x11c(r1) /* 801F7CD4 001F4C34 D0 03 00 28 */ stfs f0, 0x28(r3) /* 801F7CD8 001F4C38 D0 23 00 2C */ stfs f1, 0x2c(r3) /* 801F7CDC 001F4C3C D0 43 00 30 */ stfs f2, 0x30(r3) /* 801F7CE0 001F4C40 48 00 00 34 */ b lbl_801F7D14 lbl_801F7CE4: /* 801F7CE4 001F4C44 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F7CE8 001F4C48 38 00 00 17 */ li r0, 0x17 /* 801F7CEC 001F4C4C 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 801F7CF0 001F4C50 90 01 00 64 */ stw r0, 0x64(r1) /* 801F7CF4 001F4C54 38 81 00 60 */ addi r4, r1, 0x60 /* 801F7CF8 001F4C58 90 61 00 60 */ stw r3, 0x60(r1) /* 801F7CFC 001F4C5C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F7D00 001F4C60 38 63 00 04 */ addi r3, r3, 4 /* 801F7D04 001F4C64 4B F3 9A B5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801F7D08 001F4C68 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801F7D0C 001F4C6C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801F7D10 001F4C70 90 01 00 60 */ stw r0, 0x60(r1) lbl_801F7D14: /* 801F7D14 001F4C74 C0 3F 08 70 */ lfs f1, 0x870(r31) /* 801F7D18 001F4C78 C0 1F 08 74 */ lfs f0, 0x874(r31) /* 801F7D1C 001F4C7C EC 41 00 72 */ fmuls f2, f1, f1 /* 801F7D20 001F4C80 C0 7F 08 78 */ lfs f3, 0x878(r31) /* 801F7D24 001F4C84 EC 20 00 32 */ fmuls f1, f0, f0 /* 801F7D28 001F4C88 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F7D2C 001F4C8C EC 63 00 F2 */ fmuls f3, f3, f3 /* 801F7D30 001F4C90 EC 22 08 2A */ fadds f1, f2, f1 /* 801F7D34 001F4C94 EC 23 08 2A */ fadds f1, f3, f1 /* 801F7D38 001F4C98 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F7D3C 001F4C9C 40 81 00 8C */ ble lbl_801F7DC8 /* 801F7D40 001F4CA0 38 7F 08 70 */ addi r3, r31, 0x870 /* 801F7D44 001F4CA4 48 11 CB 75 */ bl Magnitude__9CVector3fCFv /* 801F7D48 001F4CA8 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F7D4C 001F4CAC C0 5F 08 7C */ lfs f2, 0x87c(r31) /* 801F7D50 001F4CB0 ED 00 08 24 */ fdivs f8, f0, f1 /* 801F7D54 001F4CB4 C0 1F 08 80 */ lfs f0, 0x880(r31) /* 801F7D58 001F4CB8 C0 7F 08 84 */ lfs f3, 0x884(r31) /* 801F7D5C 001F4CBC C0 FF 08 70 */ lfs f7, 0x870(r31) /* 801F7D60 001F4CC0 C0 DF 08 74 */ lfs f6, 0x874(r31) /* 801F7D64 001F4CC4 C0 BF 08 78 */ lfs f5, 0x878(r31) /* 801F7D68 001F4CC8 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801F7D6C 001F4CCC C0 82 AF 60 */ lfs f4, lbl_805ACC80@sda21(r2) /* 801F7D70 001F4CD0 EC 00 00 32 */ fmuls f0, f0, f0 /* 801F7D74 001F4CD4 C1 22 AF 6C */ lfs f9, lbl_805ACC8C@sda21(r2) /* 801F7D78 001F4CD8 EC 63 00 F2 */ fmuls f3, f3, f3 /* 801F7D7C 001F4CDC EC E8 01 F2 */ fmuls f7, f8, f7 /* 801F7D80 001F4CE0 EC 02 00 2A */ fadds f0, f2, f0 /* 801F7D84 001F4CE4 EC C8 01 B2 */ fmuls f6, f8, f6 /* 801F7D88 001F4CE8 EC A8 01 72 */ fmuls f5, f8, f5 /* 801F7D8C 001F4CEC EC 03 00 2A */ fadds f0, f3, f0 /* 801F7D90 001F4CF0 FC 04 00 00 */ fcmpu cr0, f4, f0 /* 801F7D94 001F4CF4 40 82 00 0C */ bne lbl_801F7DA0 /* 801F7D98 001F4CF8 C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801F7D9C 001F4CFC ED 29 00 32 */ fmuls f9, f9, f0 lbl_801F7DA0: /* 801F7DA0 001F4D00 EC 09 00 72 */ fmuls f0, f9, f1 /* 801F7DA4 001F4D04 C0 41 00 08 */ lfs f2, 8(r1) /* 801F7DA8 001F4D08 EC 01 00 32 */ fmuls f0, f1, f0 /* 801F7DAC 001F4D0C EC 02 08 3C */ fnmsubs f0, f2, f0, f1 /* 801F7DB0 001F4D10 EC 40 01 F2 */ fmuls f2, f0, f7 /* 801F7DB4 001F4D14 EC 20 01 B2 */ fmuls f1, f0, f6 /* 801F7DB8 001F4D18 EC 00 01 72 */ fmuls f0, f0, f5 /* 801F7DBC 001F4D1C D0 5F 08 70 */ stfs f2, 0x870(r31) /* 801F7DC0 001F4D20 D0 3F 08 74 */ stfs f1, 0x874(r31) /* 801F7DC4 001F4D24 D0 1F 08 78 */ stfs f0, 0x878(r31) lbl_801F7DC8: /* 801F7DC8 001F4D28 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F7DCC 001F4D2C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F7DD0 001F4D30 41 82 00 6C */ beq lbl_801F7E3C /* 801F7DD4 001F4D34 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F7DD8 001F4D38 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801F7DDC 001F4D3C 2C 00 00 0A */ cmpwi r0, 0xa /* 801F7DE0 001F4D40 41 82 00 5C */ beq lbl_801F7E3C /* 801F7DE4 001F4D44 2C 00 00 0E */ cmpwi r0, 0xe /* 801F7DE8 001F4D48 41 82 00 54 */ beq lbl_801F7E3C /* 801F7DEC 001F4D4C 2C 00 00 02 */ cmpwi r0, 2 /* 801F7DF0 001F4D50 41 82 00 4C */ beq lbl_801F7E3C /* 801F7DF4 001F4D54 2C 00 00 01 */ cmpwi r0, 1 /* 801F7DF8 001F4D58 41 82 00 44 */ beq lbl_801F7E3C /* 801F7DFC 001F4D5C C0 7F 00 E8 */ lfs f3, 0xe8(r31) /* 801F7E00 001F4D60 C0 5F 08 74 */ lfs f2, 0x874(r31) /* 801F7E04 001F4D64 C0 3F 08 78 */ lfs f1, 0x878(r31) /* 801F7E08 001F4D68 C0 1F 08 70 */ lfs f0, 0x870(r31) /* 801F7E0C 001F4D6C EC 43 00 B2 */ fmuls f2, f3, f2 /* 801F7E10 001F4D70 EC 23 00 72 */ fmuls f1, f3, f1 /* 801F7E14 001F4D74 EC 03 00 32 */ fmuls f0, f3, f0 /* 801F7E18 001F4D78 D0 41 01 08 */ stfs f2, 0x108(r1) /* 801F7E1C 001F4D7C D0 01 01 04 */ stfs f0, 0x104(r1) /* 801F7E20 001F4D80 D0 21 01 0C */ stfs f1, 0x10c(r1) /* 801F7E24 001F4D84 4B E2 37 11 */ bl Identity__10CAxisAngleFv /* 801F7E28 001F4D88 7C 65 1B 78 */ mr r5, r3 /* 801F7E2C 001F4D8C 7F E3 FB 78 */ mr r3, r31 /* 801F7E30 001F4D90 38 81 01 04 */ addi r4, r1, 0x104 /* 801F7E34 001F4D94 4B F2 45 65 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 801F7E38 001F4D98 48 00 00 38 */ b lbl_801F7E70 lbl_801F7E3C: /* 801F7E3C 001F4D9C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F7E40 001F4DA0 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F7E44 001F4DA4 D0 1F 08 70 */ stfs f0, 0x870(r31) /* 801F7E48 001F4DA8 C0 03 00 04 */ lfs f0, 4(r3) /* 801F7E4C 001F4DAC D0 1F 08 74 */ stfs f0, 0x874(r31) /* 801F7E50 001F4DB0 C0 03 00 08 */ lfs f0, 8(r3) /* 801F7E54 001F4DB4 D0 1F 08 78 */ stfs f0, 0x878(r31) /* 801F7E58 001F4DB8 C0 03 00 00 */ lfs f0, 0(r3) /* 801F7E5C 001F4DBC D0 1F 08 7C */ stfs f0, 0x87c(r31) /* 801F7E60 001F4DC0 C0 03 00 04 */ lfs f0, 4(r3) /* 801F7E64 001F4DC4 D0 1F 08 80 */ stfs f0, 0x880(r31) /* 801F7E68 001F4DC8 C0 03 00 08 */ lfs f0, 8(r3) /* 801F7E6C 001F4DCC D0 1F 08 84 */ stfs f0, 0x884(r31) lbl_801F7E70: /* 801F7E70 001F4DD0 7F E4 FB 78 */ mr r4, r31 /* 801F7E74 001F4DD4 38 61 00 2C */ addi r3, r1, 0x2c /* 801F7E78 001F4DD8 4B E5 B4 A1 */ bl GetSfxHandle__6CActorCFv /* 801F7E7C 001F4DDC 80 01 00 2C */ lwz r0, 0x2c(r1) /* 801F7E80 001F4DE0 28 00 00 00 */ cmplwi r0, 0 /* 801F7E84 001F4DE4 90 01 00 4C */ stw r0, 0x4c(r1) /* 801F7E88 001F4DE8 41 82 00 84 */ beq lbl_801F7F0C /* 801F7E8C 001F4DEC 38 9F 08 98 */ addi r4, r31, 0x898 /* 801F7E90 001F4DF0 38 6D 93 2C */ addi r3, r13, lbl_805A7EEC@sda21 /* 801F7E94 001F4DF4 38 AD 93 30 */ addi r5, r13, lbl_805A7EF0@sda21 /* 801F7E98 001F4DF8 4B E1 44 1D */ bl "Clamp__5CMathFRCfRCfRCf" /* 801F7E9C 001F4DFC C0 23 00 00 */ lfs f1, 0(r3) /* 801F7EA0 001F4E00 38 61 00 28 */ addi r3, r1, 0x28 /* 801F7EA4 001F4E04 C0 01 00 08 */ lfs f0, 8(r1) /* 801F7EA8 001F4E08 38 81 00 48 */ addi r4, r1, 0x48 /* 801F7EAC 001F4E0C D0 3F 08 98 */ stfs f1, 0x898(r31) /* 801F7EB0 001F4E10 38 A1 00 08 */ addi r5, r1, 8 /* 801F7EB4 001F4E14 FC 00 00 50 */ fneg f0, f0 /* 801F7EB8 001F4E18 C0 5F 08 98 */ lfs f2, 0x898(r31) /* 801F7EBC 001F4E1C C0 3F 08 94 */ lfs f1, 0x894(r31) /* 801F7EC0 001F4E20 EC 22 08 28 */ fsubs f1, f2, f1 /* 801F7EC4 001F4E24 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801F7EC8 001F4E28 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801F7ECC 001F4E2C 4B E1 43 E9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 801F7ED0 001F4E30 C0 43 00 00 */ lfs f2, 0(r3) /* 801F7ED4 001F4E34 38 61 00 24 */ addi r3, r1, 0x24 /* 801F7ED8 001F4E38 C0 22 AF 80 */ lfs f1, lbl_805ACCA0@sda21(r2) /* 801F7EDC 001F4E3C D0 41 00 48 */ stfs f2, 0x48(r1) /* 801F7EE0 001F4E40 80 01 00 4C */ lwz r0, 0x4c(r1) /* 801F7EE4 001F4E44 C0 1F 08 94 */ lfs f0, 0x894(r31) /* 801F7EE8 001F4E48 EC 00 10 2A */ fadds f0, f0, f2 /* 801F7EEC 001F4E4C D0 1F 08 94 */ stfs f0, 0x894(r31) /* 801F7EF0 001F4E50 C0 1F 08 94 */ lfs f0, 0x894(r31) /* 801F7EF4 001F4E54 EC 01 00 32 */ fmuls f0, f1, f0 /* 801F7EF8 001F4E58 90 01 00 24 */ stw r0, 0x24(r1) /* 801F7EFC 001F4E5C FC 00 00 1E */ fctiwz f0, f0 /* 801F7F00 001F4E60 D8 01 02 70 */ stfd f0, 0x270(r1) /* 801F7F04 001F4E64 80 81 02 74 */ lwz r4, 0x274(r1) /* 801F7F08 001F4E68 48 0F 0F A5 */ bl PitchBend__11CSfxManagerF10CSfxHandlei lbl_801F7F0C: /* 801F7F0C 001F4E6C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F7F10 001F4E70 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F7F14 001F4E74 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 801F7F18 001F4E78 C0 21 00 08 */ lfs f1, 8(r1) /* 801F7F1C 001F4E7C C0 45 00 00 */ lfs f2, 0(r5) /* 801F7F20 001F4E80 7F E3 FB 78 */ mr r3, r31 /* 801F7F24 001F4E84 7F C4 F3 78 */ mr r4, r30 /* 801F7F28 001F4E88 D0 5F 08 7C */ stfs f2, 0x87c(r31) /* 801F7F2C 001F4E8C C0 45 00 04 */ lfs f2, 4(r5) /* 801F7F30 001F4E90 D0 5F 08 80 */ stfs f2, 0x880(r31) /* 801F7F34 001F4E94 C0 45 00 08 */ lfs f2, 8(r5) /* 801F7F38 001F4E98 D0 5F 08 84 */ stfs f2, 0x884(r31) /* 801F7F3C 001F4E9C D0 1F 08 98 */ stfs f0, 0x898(r31) /* 801F7F40 001F4EA0 4B E8 1B D9 */ bl Think__10CPatternedFfR13CStateManager /* 801F7F44 001F4EA4 C0 1F 08 7C */ lfs f0, 0x87c(r31) /* 801F7F48 001F4EA8 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 801F7F4C 001F4EAC D0 01 01 B8 */ stfs f0, 0x1b8(r1) /* 801F7F50 001F4EB0 C0 1F 08 80 */ lfs f0, 0x880(r31) /* 801F7F54 001F4EB4 D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 801F7F58 001F4EB8 C0 1F 08 84 */ lfs f0, 0x884(r31) /* 801F7F5C 001F4EBC D0 01 01 C0 */ stfs f0, 0x1c0(r1) /* 801F7F60 001F4EC0 48 11 C7 99 */ bl CanBeNormalized__9CVector3fCFv /* 801F7F64 001F4EC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F7F68 001F4EC8 41 82 00 0C */ beq lbl_801F7F74 /* 801F7F6C 001F4ECC 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 801F7F70 001F4ED0 48 11 C9 89 */ bl Normalize__9CVector3fFv lbl_801F7F74: /* 801F7F74 001F4ED4 38 7F 08 7C */ addi r3, r31, 0x87c /* 801F7F78 001F4ED8 48 11 C9 41 */ bl Magnitude__9CVector3fCFv /* 801F7F7C 001F4EDC C0 02 AF 84 */ lfs f0, lbl_805ACCA4@sda21(r2) /* 801F7F80 001F4EE0 38 61 00 20 */ addi r3, r1, 0x20 /* 801F7F84 001F4EE4 38 8D 93 34 */ addi r4, r13, lbl_805A7EF4@sda21 /* 801F7F88 001F4EE8 EC 00 00 72 */ fmuls f0, f0, f1 /* 801F7F8C 001F4EEC D0 01 00 20 */ stfs f0, 0x20(r1) /* 801F7F90 001F4EF0 4B E8 5E 51 */ bl "Min__5CMathFRCfRCf" /* 801F7F94 001F4EF4 C0 63 00 00 */ lfs f3, 0(r3) /* 801F7F98 001F4EF8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801F7F9C 001F4EFC C0 41 01 BC */ lfs f2, 0x1bc(r1) /* 801F7FA0 001F4F00 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l /* 801F7FA4 001F4F04 C0 21 01 C0 */ lfs f1, 0x1c0(r1) /* 801F7FA8 001F4F08 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801F7FAC 001F4F0C C0 01 01 B8 */ lfs f0, 0x1b8(r1) /* 801F7FB0 001F4F10 EC A3 00 B2 */ fmuls f5, f3, f2 /* 801F7FB4 001F4F14 EC 83 00 72 */ fmuls f4, f3, f1 /* 801F7FB8 001F4F18 C0 44 00 04 */ lfs f2, 4(r4) /* 801F7FBC 001F4F1C EC 63 00 32 */ fmuls f3, f3, f0 /* 801F7FC0 001F4F20 C0 24 00 08 */ lfs f1, 8(r4) /* 801F7FC4 001F4F24 C0 04 00 00 */ lfs f0, 0(r4) /* 801F7FC8 001F4F28 EC 42 28 2A */ fadds f2, f2, f5 /* 801F7FCC 001F4F2C EC 21 20 2A */ fadds f1, f1, f4 /* 801F7FD0 001F4F30 D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 801F7FD4 001F4F34 EC 00 18 2A */ fadds f0, f0, f3 /* 801F7FD8 001F4F38 38 81 00 EC */ addi r4, r1, 0xec /* 801F7FDC 001F4F3C D0 A1 00 E4 */ stfs f5, 0xe4(r1) /* 801F7FE0 001F4F40 D0 81 00 E8 */ stfs f4, 0xe8(r1) /* 801F7FE4 001F4F44 D0 01 00 EC */ stfs f0, 0xec(r1) /* 801F7FE8 001F4F48 D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 801F7FEC 001F4F4C D0 21 00 F4 */ stfs f1, 0xf4(r1) /* 801F7FF0 001F4F50 48 11 C8 61 */ bl AsNormalized__9CVector3fCFv /* 801F7FF4 001F4F54 C0 41 00 F8 */ lfs f2, 0xf8(r1) /* 801F7FF8 001F4F58 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 801F7FFC 001F4F5C C0 21 00 FC */ lfs f1, 0xfc(r1) /* 801F8000 001F4F60 38 81 01 AC */ addi r4, r1, 0x1ac /* 801F8004 001F4F64 C0 01 01 00 */ lfs f0, 0x100(r1) /* 801F8008 001F4F68 D0 41 01 AC */ stfs f2, 0x1ac(r1) /* 801F800C 001F4F6C D0 21 01 B0 */ stfs f1, 0x1b0(r1) /* 801F8010 001F4F70 D0 01 01 B4 */ stfs f0, 0x1b4(r1) /* 801F8014 001F4F74 C0 5F 00 5C */ lfs f2, 0x5c(r31) /* 801F8018 001F4F78 C0 3F 00 4C */ lfs f1, 0x4c(r31) /* 801F801C 001F4F7C C0 1F 00 3C */ lfs f0, 0x3c(r31) /* 801F8020 001F4F80 D0 01 01 A0 */ stfs f0, 0x1a0(r1) /* 801F8024 001F4F84 D0 21 01 A4 */ stfs f1, 0x1a4(r1) /* 801F8028 001F4F88 D0 41 01 A8 */ stfs f2, 0x1a8(r1) /* 801F802C 001F4F8C 48 11 C6 05 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 801F8030 001F4F90 FC 20 0A 10 */ fabs f1, f1 /* 801F8034 001F4F94 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F8038 001F4F98 FC 20 08 18 */ frsp f1, f1 /* 801F803C 001F4F9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8040 001F4FA0 D0 21 00 44 */ stfs f1, 0x44(r1) /* 801F8044 001F4FA4 40 81 01 CC */ ble lbl_801F8210 /* 801F8048 001F4FA8 C0 42 AF 8C */ lfs f2, lbl_805ACCAC@sda21(r2) /* 801F804C 001F4FAC 38 61 00 44 */ addi r3, r1, 0x44 /* 801F8050 001F4FB0 C0 21 00 08 */ lfs f1, 8(r1) /* 801F8054 001F4FB4 38 81 00 40 */ addi r4, r1, 0x40 /* 801F8058 001F4FB8 C0 02 AF 90 */ lfs f0, lbl_805ACCB0@sda21(r2) /* 801F805C 001F4FBC EC 22 00 72 */ fmuls f1, f2, f1 /* 801F8060 001F4FC0 C0 42 AF 88 */ lfs f2, lbl_805ACCA8@sda21(r2) /* 801F8064 001F4FC4 EC 01 00 24 */ fdivs f0, f1, f0 /* 801F8068 001F4FC8 EC 02 00 32 */ fmuls f0, f2, f0 /* 801F806C 001F4FCC D0 01 00 40 */ stfs f0, 0x40(r1) /* 801F8070 001F4FD0 4B E8 5D 71 */ bl "Min__5CMathFRCfRCf" /* 801F8074 001F4FD4 C1 03 00 00 */ lfs f8, 0(r3) /* 801F8078 001F4FD8 38 61 00 D4 */ addi r3, r1, 0xd4 /* 801F807C 001F4FDC C0 41 00 44 */ lfs f2, 0x44(r1) /* 801F8080 001F4FE0 38 81 00 C8 */ addi r4, r1, 0xc8 /* 801F8084 001F4FE4 C0 21 01 B0 */ lfs f1, 0x1b0(r1) /* 801F8088 001F4FE8 C0 01 01 B4 */ lfs f0, 0x1b4(r1) /* 801F808C 001F4FEC EC E2 40 28 */ fsubs f7, f2, f8 /* 801F8090 001F4FF0 C0 61 01 A0 */ lfs f3, 0x1a0(r1) /* 801F8094 001F4FF4 EC A8 00 72 */ fmuls f5, f8, f1 /* 801F8098 001F4FF8 C0 41 01 A4 */ lfs f2, 0x1a4(r1) /* 801F809C 001F4FFC EC 88 00 32 */ fmuls f4, f8, f0 /* 801F80A0 001F5000 C0 21 01 A8 */ lfs f1, 0x1a8(r1) /* 801F80A4 001F5004 EC C7 00 B2 */ fmuls f6, f7, f2 /* 801F80A8 001F5008 C0 01 01 AC */ lfs f0, 0x1ac(r1) /* 801F80AC 001F500C EC 47 00 72 */ fmuls f2, f7, f1 /* 801F80B0 001F5010 D0 A1 00 C0 */ stfs f5, 0xc0(r1) /* 801F80B4 001F5014 EC 67 00 F2 */ fmuls f3, f7, f3 /* 801F80B8 001F5018 EC 28 00 32 */ fmuls f1, f8, f0 /* 801F80BC 001F501C EC E5 30 2A */ fadds f7, f5, f6 /* 801F80C0 001F5020 D0 C1 00 B4 */ stfs f6, 0xb4(r1) /* 801F80C4 001F5024 EC A4 10 2A */ fadds f5, f4, f2 /* 801F80C8 001F5028 EC 01 18 2A */ fadds f0, f1, f3 /* 801F80CC 001F502C D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 801F80D0 001F5030 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 801F80D4 001F5034 D0 21 00 BC */ stfs f1, 0xbc(r1) /* 801F80D8 001F5038 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 801F80DC 001F503C D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 801F80E0 001F5040 D0 E1 00 CC */ stfs f7, 0xcc(r1) /* 801F80E4 001F5044 D0 A1 00 D0 */ stfs f5, 0xd0(r1) /* 801F80E8 001F5048 48 11 C7 69 */ bl AsNormalized__9CVector3fCFv /* 801F80EC 001F504C C0 E1 00 D4 */ lfs f7, 0xd4(r1) /* 801F80F0 001F5050 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801F80F4 001F5054 C0 C1 00 D8 */ lfs f6, 0xd8(r1) /* 801F80F8 001F5058 38 81 00 98 */ addi r4, r1, 0x98 /* 801F80FC 001F505C C0 A1 00 DC */ lfs f5, 0xdc(r1) /* 801F8100 001F5060 D0 E1 01 94 */ stfs f7, 0x194(r1) /* 801F8104 001F5064 D0 C1 01 98 */ stfs f6, 0x198(r1) /* 801F8108 001F5068 D0 A1 01 9C */ stfs f5, 0x19c(r1) /* 801F810C 001F506C C1 3F 00 58 */ lfs f9, 0x58(r31) /* 801F8110 001F5070 C0 9F 00 48 */ lfs f4, 0x48(r31) /* 801F8114 001F5074 C0 7F 00 38 */ lfs f3, 0x38(r31) /* 801F8118 001F5078 EC 26 02 72 */ fmuls f1, f6, f9 /* 801F811C 001F507C EC 47 01 32 */ fmuls f2, f7, f4 /* 801F8120 001F5080 EC 05 00 F2 */ fmuls f0, f5, f3 /* 801F8124 001F5084 EC 84 09 78 */ fmsubs f4, f4, f5, f1 /* 801F8128 001F5088 ED 03 11 B8 */ fmsubs f8, f3, f6, f2 /* 801F812C 001F508C EC 69 01 F8 */ fmsubs f3, f9, f7, f0 /* 801F8130 001F5090 EC 04 01 B2 */ fmuls f0, f4, f6 /* 801F8134 001F5094 D0 81 01 88 */ stfs f4, 0x188(r1) /* 801F8138 001F5098 EC 28 01 F2 */ fmuls f1, f8, f7 /* 801F813C 001F509C EC 43 01 72 */ fmuls f2, f3, f5 /* 801F8140 001F50A0 D0 61 01 8C */ stfs f3, 0x18c(r1) /* 801F8144 001F50A4 EC 07 00 F8 */ fmsubs f0, f7, f3, f0 /* 801F8148 001F50A8 EC 25 09 38 */ fmsubs f1, f5, f4, f1 /* 801F814C 001F50AC D1 01 01 90 */ stfs f8, 0x190(r1) /* 801F8150 001F50B0 EC 46 12 38 */ fmsubs f2, f6, f8, f2 /* 801F8154 001F50B4 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801F8158 001F50B8 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801F815C 001F50BC D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801F8160 001F50C0 48 11 C6 F1 */ bl AsNormalized__9CVector3fCFv /* 801F8164 001F50C4 C0 A1 00 A4 */ lfs f5, 0xa4(r1) /* 801F8168 001F50C8 38 61 02 40 */ addi r3, r1, 0x240 /* 801F816C 001F50CC C0 81 00 A8 */ lfs f4, 0xa8(r1) /* 801F8170 001F50D0 38 81 01 88 */ addi r4, r1, 0x188 /* 801F8174 001F50D4 C0 61 00 AC */ lfs f3, 0xac(r1) /* 801F8178 001F50D8 38 A1 01 7C */ addi r5, r1, 0x17c /* 801F817C 001F50DC C0 C1 01 98 */ lfs f6, 0x198(r1) /* 801F8180 001F50E0 38 C1 01 94 */ addi r6, r1, 0x194 /* 801F8184 001F50E4 C0 E1 01 9C */ lfs f7, 0x19c(r1) /* 801F8188 001F50E8 38 E1 00 8C */ addi r7, r1, 0x8c /* 801F818C 001F50EC C1 01 01 94 */ lfs f8, 0x194(r1) /* 801F8190 001F50F0 EC 26 00 F2 */ fmuls f1, f6, f3 /* 801F8194 001F50F4 EC 07 01 72 */ fmuls f0, f7, f5 /* 801F8198 001F50F8 D0 A1 01 7C */ stfs f5, 0x17c(r1) /* 801F819C 001F50FC EC 48 01 32 */ fmuls f2, f8, f4 /* 801F81A0 001F5100 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 /* 801F81A4 001F5104 D0 81 01 80 */ stfs f4, 0x180(r1) /* 801F81A8 001F5108 EC 03 02 38 */ fmsubs f0, f3, f8, f0 /* 801F81AC 001F510C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 /* 801F81B0 001F5110 D0 61 01 84 */ stfs f3, 0x184(r1) /* 801F81B4 001F5114 D0 21 01 88 */ stfs f1, 0x188(r1) /* 801F81B8 001F5118 D0 01 01 8C */ stfs f0, 0x18c(r1) /* 801F81BC 001F511C D0 41 01 90 */ stfs f2, 0x190(r1) /* 801F81C0 001F5120 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801F81C4 001F5124 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F81C8 001F5128 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F81CC 001F512C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801F81D0 001F5130 D0 21 00 90 */ stfs f1, 0x90(r1) /* 801F81D4 001F5134 D0 41 00 94 */ stfs f2, 0x94(r1) /* 801F81D8 001F5138 48 11 AC 85 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 /* 801F81DC 001F513C 38 7F 00 34 */ addi r3, r31, 0x34 /* 801F81E0 001F5140 38 81 02 40 */ addi r4, r1, 0x240 /* 801F81E4 001F5144 48 11 A9 5D */ bl __as__12CTransform4fFRC12CTransform4f /* 801F81E8 001F5148 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F81EC 001F514C 38 60 00 01 */ li r3, 1 /* 801F81F0 001F5150 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801F81F4 001F5154 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F81F8 001F5158 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F81FC 001F515C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801F8200 001F5160 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F8204 001F5164 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F8208 001F5168 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801F820C 001F516C 98 1F 00 E4 */ stb r0, 0xe4(r31) lbl_801F8210: /* 801F8210 001F5170 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F8214 001F5174 88 03 03 00 */ lbz r0, 0x300(r3) /* 801F8218 001F5178 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F821C 001F517C 40 82 00 30 */ bne lbl_801F824C /* 801F8220 001F5180 C0 21 00 08 */ lfs f1, 8(r1) /* 801F8224 001F5184 38 7F 07 A0 */ addi r3, r31, 0x7a0 /* 801F8228 001F5188 4B F7 D7 81 */ bl Update__13CBoneTrackingFf /* 801F822C 001F518C 48 00 00 20 */ b lbl_801F824C lbl_801F8230: /* 801F8230 001F5190 C0 21 00 08 */ lfs f1, 8(r1) /* 801F8234 001F5194 7F E3 FB 78 */ mr r3, r31 /* 801F8238 001F5198 7F C4 F3 78 */ mr r4, r30 /* 801F823C 001F519C 4B E8 24 51 */ bl UpdateAlphaDelta__10CPatternedFfR13CStateManager /* 801F8240 001F51A0 C0 21 00 08 */ lfs f1, 8(r1) /* 801F8244 001F51A4 7F E3 FB 78 */ mr r3, r31 /* 801F8248 001F51A8 4B E8 23 71 */ bl UpdateDamageColor__10CPatternedFf lbl_801F824C: /* 801F824C 001F51AC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801F8250 001F51B0 40 82 02 74 */ bne lbl_801F84C4 /* 801F8254 001F51B4 80 7F 08 9C */ lwz r3, 0x89c(r31) /* 801F8258 001F51B8 88 03 00 68 */ lbz r0, 0x68(r3) /* 801F825C 001F51BC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F8260 001F51C0 40 82 00 A8 */ bne lbl_801F8308 /* 801F8264 001F51C4 7F E3 FB 78 */ mr r3, r31 /* 801F8268 001F51C8 38 80 00 01 */ li r4, 1 /* 801F826C 001F51CC 4B E5 B1 81 */ bl SetMuted__6CActorFb /* 801F8270 001F51D0 7F E3 FB 78 */ mr r3, r31 /* 801F8274 001F51D4 38 80 00 00 */ li r4, 0 /* 801F8278 001F51D8 4B E5 B1 75 */ bl SetMuted__6CActorFb /* 801F827C 001F51DC 80 7F 08 9C */ lwz r3, 0x89c(r31) /* 801F8280 001F51E0 7F C4 F3 78 */ mr r4, r30 /* 801F8284 001F51E4 38 BF 00 34 */ addi r5, r31, 0x34 /* 801F8288 001F51E8 80 DF 00 64 */ lwz r6, 0x64(r31) /* 801F828C 001F51EC 81 83 00 00 */ lwz r12, 0(r3) /* 801F8290 001F51F0 81 8C 00 08 */ lwz r12, 8(r12) /* 801F8294 001F51F4 7D 89 03 A6 */ mtctr r12 /* 801F8298 001F51F8 4E 80 04 21 */ bctrl /* 801F829C 001F51FC C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801F82A0 001F5200 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 801F82A4 001F5204 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801F82A8 001F5208 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 801F82AC 001F520C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801F82B0 001F5210 38 7F 00 34 */ addi r3, r31, 0x34 /* 801F82B4 001F5214 D0 01 01 70 */ stfs f0, 0x170(r1) /* 801F82B8 001F5218 D0 21 01 74 */ stfs f1, 0x174(r1) /* 801F82BC 001F521C D0 41 01 78 */ stfs f2, 0x178(r1) /* 801F82C0 001F5220 48 11 A8 81 */ bl __as__12CTransform4fFRC12CTransform4f /* 801F82C4 001F5224 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F82C8 001F5228 38 A0 00 01 */ li r5, 1 /* 801F82CC 001F522C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 801F82D0 001F5230 7F E3 FB 78 */ mr r3, r31 /* 801F82D4 001F5234 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F82D8 001F5238 38 81 01 70 */ addi r4, r1, 0x170 /* 801F82DC 001F523C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F82E0 001F5240 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801F82E4 001F5244 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F82E8 001F5248 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 801F82EC 001F524C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 801F82F0 001F5250 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 801F82F4 001F5254 4B E5 AB 99 */ bl SetTranslation__6CActorFRC9CVector3f /* 801F82F8 001F5258 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801F82FC 001F525C C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F8300 001F5260 4B F4 25 8D */ bl SetPlaybackRate__15CBodyControllerFf /* 801F8304 001F5264 48 00 00 94 */ b lbl_801F8398 lbl_801F8308: /* 801F8308 001F5268 A0 BF 00 C4 */ lhz r5, 0xc4(r31) /* 801F830C 001F526C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F8310 001F5270 C3 C2 AF 94 */ lfs f30, lbl_805ACCB4@sda21(r2) /* 801F8314 001F5274 7C 05 00 40 */ cmplw r5, r0 /* 801F8318 001F5278 41 82 00 3C */ beq lbl_801F8354 /* 801F831C 001F527C B0 A1 00 0C */ sth r5, 0xc(r1) /* 801F8320 001F5280 7F C3 F3 78 */ mr r3, r30 /* 801F8324 001F5284 38 81 00 10 */ addi r4, r1, 0x10 /* 801F8328 001F5288 B0 A1 00 10 */ sth r5, 0x10(r1) /* 801F832C 001F528C 4B E5 42 79 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F8330 001F5290 7C 64 1B 78 */ mr r4, r3 /* 801F8334 001F5294 38 61 00 50 */ addi r3, r1, 0x50 /* 801F8338 001F5298 4B EA E5 29 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 801F833C 001F529C 80 83 00 04 */ lwz r4, 4(r3) /* 801F8340 001F52A0 28 04 00 00 */ cmplwi r4, 0 /* 801F8344 001F52A4 41 82 00 10 */ beq lbl_801F8354 /* 801F8348 001F52A8 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 801F834C 001F52AC 4B E7 E3 81 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv /* 801F8350 001F52B0 C3 C1 01 D8 */ lfs f30, 0x1d8(r1) lbl_801F8354: /* 801F8354 001F52B4 83 9F 08 9C */ lwz r28, 0x89c(r31) /* 801F8358 001F52B8 7F E3 FB 78 */ mr r3, r31 /* 801F835C 001F52BC 4B E8 07 2D */ bl CalcDyingThinkRate__10CPatternedFv /* 801F8360 001F52C0 81 9C 00 00 */ lwz r12, 0(r28) /* 801F8364 001F52C4 FC 40 F0 90 */ fmr f2, f30 /* 801F8368 001F52C8 C0 01 00 08 */ lfs f0, 8(r1) /* 801F836C 001F52CC 7F 83 E3 78 */ mr r3, r28 /* 801F8370 001F52D0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801F8374 001F52D4 7F C4 F3 78 */ mr r4, r30 /* 801F8378 001F52D8 EC 20 00 72 */ fmuls f1, f0, f1 /* 801F837C 001F52DC 7D 89 03 A6 */ mtctr r12 /* 801F8380 001F52E0 4E 80 04 21 */ bctrl /* 801F8384 001F52E4 80 7F 00 64 */ lwz r3, 0x64(r31) /* 801F8388 001F52E8 7F C5 F3 78 */ mr r5, r30 /* 801F838C 001F52EC C0 21 00 08 */ lfs f1, 8(r1) /* 801F8390 001F52F0 38 9F 00 34 */ addi r4, r31, 0x34 /* 801F8394 001F52F4 4B F1 D1 F9 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager lbl_801F8398: /* 801F8398 001F52F8 80 7F 08 9C */ lwz r3, 0x89c(r31) /* 801F839C 001F52FC 88 03 00 68 */ lbz r0, 0x68(r3) /* 801F83A0 001F5300 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F83A4 001F5304 41 82 00 6C */ beq lbl_801F8410 /* 801F83A8 001F5308 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F83AC 001F530C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801F83B0 001F5310 40 82 00 60 */ bne lbl_801F8410 /* 801F83B4 001F5314 88 1F 04 00 */ lbz r0, 0x400(r31) /* 801F83B8 001F5318 38 60 00 01 */ li r3, 1 /* 801F83BC 001F531C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801F83C0 001F5320 C0 02 AF 98 */ lfs f0, lbl_805ACCB8@sda21(r2) /* 801F83C4 001F5324 98 1F 04 00 */ stb r0, 0x400(r31) /* 801F83C8 001F5328 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F83CC 001F532C 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801F83D0 001F5330 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) /* 801F83D4 001F5334 7F E3 FB 78 */ mr r3, r31 /* 801F83D8 001F5338 4B F2 28 C9 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f /* 801F83DC 001F533C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F83E0 001F5340 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F83E4 001F5344 D0 1F 01 50 */ stfs f0, 0x150(r31) /* 801F83E8 001F5348 C0 03 00 04 */ lfs f0, 4(r3) /* 801F83EC 001F534C D0 1F 01 54 */ stfs f0, 0x154(r31) /* 801F83F0 001F5350 C0 03 00 08 */ lfs f0, 8(r3) /* 801F83F4 001F5354 D0 1F 01 58 */ stfs f0, 0x158(r31) /* 801F83F8 001F5358 C0 03 00 00 */ lfs f0, 0(r3) /* 801F83FC 001F535C D0 1F 08 70 */ stfs f0, 0x870(r31) /* 801F8400 001F5360 C0 03 00 04 */ lfs f0, 4(r3) /* 801F8404 001F5364 D0 1F 08 74 */ stfs f0, 0x874(r31) /* 801F8408 001F5368 C0 03 00 08 */ lfs f0, 8(r3) /* 801F840C 001F536C D0 1F 08 78 */ stfs f0, 0x878(r31) lbl_801F8410: /* 801F8410 001F5370 80 1F 08 9C */ lwz r0, 0x89c(r31) /* 801F8414 001F5374 28 00 00 00 */ cmplwi r0, 0 /* 801F8418 001F5378 41 82 00 AC */ beq lbl_801F84C4 /* 801F841C 001F537C C0 5F 08 8C */ lfs f2, 0x88c(r31) /* 801F8420 001F5380 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F8424 001F5384 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F8428 001F5388 7C 00 00 26 */ mfcr r0 /* 801F842C 001F538C C0 21 00 08 */ lfs f1, 8(r1) /* 801F8430 001F5390 C0 02 AF 64 */ lfs f0, lbl_805ACC84@sda21(r2) /* 801F8434 001F5394 54 1A 17 FE */ rlwinm r26, r0, 2, 0x1f, 0x1f /* 801F8438 001F5398 EC 22 08 28 */ fsubs f1, f2, f1 /* 801F843C 001F539C D0 3F 08 8C */ stfs f1, 0x88c(r31) /* 801F8440 001F53A0 C0 3F 08 8C */ lfs f1, 0x88c(r31) /* 801F8444 001F53A4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8448 001F53A8 40 80 00 7C */ bge lbl_801F84C4 /* 801F844C 001F53AC 80 7F 08 9C */ lwz r3, 0x89c(r31) /* 801F8450 001F53B0 80 03 00 4C */ lwz r0, 0x4c(r3) /* 801F8454 001F53B4 2C 00 00 02 */ cmpwi r0, 2 /* 801F8458 001F53B8 40 81 00 18 */ ble lbl_801F8470 /* 801F845C 001F53BC 38 9F 08 8C */ addi r4, r31, 0x88c /* 801F8460 001F53C0 38 6D 93 38 */ addi r3, r13, lbl_805A7EF8@sda21 /* 801F8464 001F53C4 4B E8 59 7D */ bl "Min__5CMathFRCfRCf" /* 801F8468 001F53C8 C0 03 00 00 */ lfs f0, 0(r3) /* 801F846C 001F53CC D0 1F 08 8C */ stfs f0, 0x88c(r31) lbl_801F8470: /* 801F8470 001F53D0 28 1A 00 00 */ cmplwi r26, 0 /* 801F8474 001F53D4 41 82 00 50 */ beq lbl_801F84C4 /* 801F8478 001F53D8 C0 3F 08 8C */ lfs f1, 0x88c(r31) /* 801F847C 001F53DC C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F8480 001F53E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8484 001F53E4 4C 40 13 82 */ cror 2, 0, 2 /* 801F8488 001F53E8 40 82 00 3C */ bne lbl_801F84C4 /* 801F848C 001F53EC 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801F8490 001F53F0 38 61 00 7C */ addi r3, r1, 0x7c /* 801F8494 001F53F4 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801F8498 001F53F8 4B E0 C8 21 */ bl string_l__4rstlFPCc /* 801F849C 001F53FC 7F E3 FB 78 */ mr r3, r31 /* 801F84A0 001F5400 4B EA A4 59 */ bl GetStateMachine__3CAiFv /* 801F84A4 001F5404 7C 66 1B 78 */ mr r6, r3 /* 801F84A8 001F5408 7F C4 F3 78 */ mr r4, r30 /* 801F84AC 001F540C 7F E5 FB 78 */ mr r5, r31 /* 801F84B0 001F5410 38 7F 03 30 */ addi r3, r31, 0x330 /* 801F84B4 001F5414 38 E1 00 7C */ addi r7, r1, 0x7c /* 801F84B8 001F5418 4B E8 77 4D */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801F84BC 001F541C 38 61 00 7C */ addi r3, r1, 0x7c /* 801F84C0 001F5420 48 14 56 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801F84C4: /* 801F84C4 001F5424 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 /* 801F84C8 001F5428 CB E1 02 A0 */ lfd f31, 0x2a0(r1) /* 801F84CC 001F542C E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 /* 801F84D0 001F5430 CB C1 02 90 */ lfd f30, 0x290(r1) /* 801F84D4 001F5434 BB 41 02 78 */ lmw r26, 0x278(r1) /* 801F84D8 001F5438 80 01 02 B4 */ lwz r0, 0x2b4(r1) /* 801F84DC 001F543C 7C 08 03 A6 */ mtlr r0 /* 801F84E0 001F5440 38 21 02 B0 */ addi r1, r1, 0x2b0 /* 801F84E4 001F5444 4E 80 00 20 */ blr .global PreRender__13CFlyingPirateFR13CStateManagerRC14CFrustumPlanes PreRender__13CFlyingPirateFR13CStateManagerRC14CFrustumPlanes: /* 801F84E8 001F5448 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F84EC 001F544C 7C 08 02 A6 */ mflr r0 /* 801F84F0 001F5450 90 01 00 34 */ stw r0, 0x34(r1) /* 801F84F4 001F5454 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F84F8 001F5458 7C BF 2B 78 */ mr r31, r5 /* 801F84FC 001F545C 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F8500 001F5460 7C 9E 23 78 */ mr r30, r4 /* 801F8504 001F5464 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F8508 001F5468 7C 7D 1B 78 */ mr r29, r3 /* 801F850C 001F546C 80 63 08 9C */ lwz r3, 0x89c(r3) /* 801F8510 001F5470 28 03 00 00 */ cmplwi r3, 0 /* 801F8514 001F5474 41 82 00 40 */ beq lbl_801F8554 /* 801F8518 001F5478 88 03 00 68 */ lbz r0, 0x68(r3) /* 801F851C 001F547C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F8520 001F5480 41 82 00 34 */ beq lbl_801F8554 /* 801F8524 001F5484 80 BD 00 64 */ lwz r5, 0x64(r29) /* 801F8528 001F5488 38 81 00 14 */ addi r4, r1, 0x14 /* 801F852C 001F548C C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801F8530 001F5490 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801F8534 001F5494 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801F8538 001F5498 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801F853C 001F549C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F8540 001F54A0 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801F8544 001F54A4 81 83 00 00 */ lwz r12, 0(r3) /* 801F8548 001F54A8 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801F854C 001F54AC 7D 89 03 A6 */ mtctr r12 /* 801F8550 001F54B0 4E 80 04 21 */ bctrl lbl_801F8554: /* 801F8554 001F54B4 7F A3 EB 78 */ mr r3, r29 /* 801F8558 001F54B8 7F C4 F3 78 */ mr r4, r30 /* 801F855C 001F54BC 7F E5 FB 78 */ mr r5, r31 /* 801F8560 001F54C0 4B E7 FD 7D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes /* 801F8564 001F54C4 80 BD 00 64 */ lwz r5, 0x64(r29) /* 801F8568 001F54C8 7F C4 F3 78 */ mr r4, r30 /* 801F856C 001F54CC 81 1D 04 50 */ lwz r8, 0x450(r29) /* 801F8570 001F54D0 38 7D 07 A0 */ addi r3, r29, 0x7a0 /* 801F8574 001F54D4 C0 05 00 00 */ lfs f0, 0(r5) /* 801F8578 001F54D8 38 DD 00 34 */ addi r6, r29, 0x34 /* 801F857C 001F54DC 38 E1 00 08 */ addi r7, r1, 8 /* 801F8580 001F54E0 D0 01 00 08 */ stfs f0, 8(r1) /* 801F8584 001F54E4 C0 05 00 04 */ lfs f0, 4(r5) /* 801F8588 001F54E8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801F858C 001F54EC C0 05 00 08 */ lfs f0, 8(r5) /* 801F8590 001F54F0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 801F8594 001F54F4 80 BD 00 64 */ lwz r5, 0x64(r29) /* 801F8598 001F54F8 80 A5 00 10 */ lwz r5, 0x10(r5) /* 801F859C 001F54FC 4B F7 D3 75 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 801F85A0 001F5500 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F85A4 001F5504 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F85A8 001F5508 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F85AC 001F550C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F85B0 001F5510 7C 08 03 A6 */ mtlr r0 /* 801F85B4 001F5514 38 21 00 30 */ addi r1, r1, 0x30 /* 801F85B8 001F5518 4E 80 00 20 */ blr .global AddToRenderer__13CFlyingPirateCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__13CFlyingPirateCFRC14CFrustumPlanesRC13CStateManager: /* 801F85BC 001F551C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801F85C0 001F5520 7C 08 02 A6 */ mflr r0 /* 801F85C4 001F5524 90 01 00 44 */ stw r0, 0x44(r1) /* 801F85C8 001F5528 BF 41 00 28 */ stmw r26, 0x28(r1) /* 801F85CC 001F552C 7C 7A 1B 78 */ mr r26, r3 /* 801F85D0 001F5530 7C 9B 23 78 */ mr r27, r4 /* 801F85D4 001F5534 7C BC 2B 78 */ mr r28, r5 /* 801F85D8 001F5538 3B A0 00 00 */ li r29, 0 /* 801F85DC 001F553C 3B DA 06 88 */ addi r30, r26, 0x688 /* 801F85E0 001F5540 48 00 00 5C */ b lbl_801F863C lbl_801F85E4: /* 801F85E4 001F5544 83 FE 00 04 */ lwz r31, 4(r30) /* 801F85E8 001F5548 38 61 00 08 */ addi r3, r1, 8 /* 801F85EC 001F554C 7F E4 FB 78 */ mr r4, r31 /* 801F85F0 001F5550 81 9F 00 00 */ lwz r12, 0(r31) /* 801F85F4 001F5554 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 801F85F8 001F5558 7D 89 03 A6 */ mtctr r12 /* 801F85FC 001F555C 4E 80 04 21 */ bctrl /* 801F8600 001F5560 7F 63 DB 78 */ mr r3, r27 /* 801F8604 001F5564 38 81 00 08 */ addi r4, r1, 8 /* 801F8608 001F5568 48 14 CB 81 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" /* 801F860C 001F556C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F8610 001F5570 38 60 00 00 */ li r3, 0 /* 801F8614 001F5574 98 61 00 20 */ stb r3, 0x20(r1) /* 801F8618 001F5578 41 82 00 1C */ beq lbl_801F8634 /* 801F861C 001F557C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 801F8620 001F5580 7F E4 FB 78 */ mr r4, r31 /* 801F8624 001F5584 81 83 00 00 */ lwz r12, 0(r3) /* 801F8628 001F5588 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801F862C 001F558C 7D 89 03 A6 */ mtctr r12 /* 801F8630 001F5590 4E 80 04 21 */ bctrl lbl_801F8634: /* 801F8634 001F5594 3B DE 00 08 */ addi r30, r30, 8 /* 801F8638 001F5598 3B BD 00 01 */ addi r29, r29, 1 lbl_801F863C: /* 801F863C 001F559C 80 1A 06 84 */ lwz r0, 0x684(r26) /* 801F8640 001F55A0 7C 1D 00 00 */ cmpw r29, r0 /* 801F8644 001F55A4 41 80 FF A0 */ blt lbl_801F85E4 /* 801F8648 001F55A8 7F 43 D3 78 */ mr r3, r26 /* 801F864C 001F55AC 7F 64 DB 78 */ mr r4, r27 /* 801F8650 001F55B0 7F 85 E3 78 */ mr r5, r28 /* 801F8654 001F55B4 4B E7 F2 65 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager /* 801F8658 001F55B8 BB 41 00 28 */ lmw r26, 0x28(r1) /* 801F865C 001F55BC 80 01 00 44 */ lwz r0, 0x44(r1) /* 801F8660 001F55C0 7C 08 03 A6 */ mtlr r0 /* 801F8664 001F55C4 38 21 00 40 */ addi r1, r1, 0x40 /* 801F8668 001F55C8 4E 80 00 20 */ blr .global CalculateRenderBounds__13CFlyingPirateFv CalculateRenderBounds__13CFlyingPirateFv: /* 801F866C 001F55CC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801F8670 001F55D0 7C 08 02 A6 */ mflr r0 /* 801F8674 001F55D4 90 01 00 64 */ stw r0, 0x64(r1) /* 801F8678 001F55D8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801F867C 001F55DC 7C 7F 1B 78 */ mr r31, r3 /* 801F8680 001F55E0 80 83 08 9C */ lwz r4, 0x89c(r3) /* 801F8684 001F55E4 28 04 00 00 */ cmplwi r4, 0 /* 801F8688 001F55E8 41 82 00 C4 */ beq lbl_801F874C /* 801F868C 001F55EC 88 04 00 68 */ lbz r0, 0x68(r4) /* 801F8690 001F55F0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F8694 001F55F4 41 82 00 B8 */ beq lbl_801F874C /* 801F8698 001F55F8 38 61 00 38 */ addi r3, r1, 0x38 /* 801F869C 001F55FC 48 01 41 BD */ bl CalculateRenderBounds__8CRagDollCFv /* 801F86A0 001F5600 80 DF 00 64 */ lwz r6, 0x64(r31) /* 801F86A4 001F5604 38 61 00 20 */ addi r3, r1, 0x20 /* 801F86A8 001F5608 C0 62 AF 9C */ lfs f3, lbl_805ACCBC@sda21(r2) /* 801F86AC 001F560C 38 81 00 14 */ addi r4, r1, 0x14 /* 801F86B0 001F5610 C0 26 00 00 */ lfs f1, 0(r6) /* 801F86B4 001F5614 38 A1 00 08 */ addi r5, r1, 8 /* 801F86B8 001F5618 C0 06 00 04 */ lfs f0, 4(r6) /* 801F86BC 001F561C C0 46 00 08 */ lfs f2, 8(r6) /* 801F86C0 001F5620 ED 03 00 72 */ fmuls f8, f3, f1 /* 801F86C4 001F5624 C0 21 00 44 */ lfs f1, 0x44(r1) /* 801F86C8 001F5628 EC E3 00 32 */ fmuls f7, f3, f0 /* 801F86CC 001F562C C0 01 00 48 */ lfs f0, 0x48(r1) /* 801F86D0 001F5630 EC C3 00 B2 */ fmuls f6, f3, f2 /* 801F86D4 001F5634 C0 61 00 4C */ lfs f3, 0x4c(r1) /* 801F86D8 001F5638 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801F86DC 001F563C EC A1 40 2A */ fadds f5, f1, f8 /* 801F86E0 001F5640 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801F86E4 001F5644 EC 80 38 2A */ fadds f4, f0, f7 /* 801F86E8 001F5648 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801F86EC 001F564C EC 63 30 2A */ fadds f3, f3, f6 /* 801F86F0 001F5650 EC 42 40 28 */ fsubs f2, f2, f8 /* 801F86F4 001F5654 EC 21 38 28 */ fsubs f1, f1, f7 /* 801F86F8 001F5658 D0 A1 00 08 */ stfs f5, 8(r1) /* 801F86FC 001F565C EC 00 30 28 */ fsubs f0, f0, f6 /* 801F8700 001F5660 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801F8704 001F5664 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801F8708 001F5668 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801F870C 001F566C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F8710 001F5670 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801F8714 001F5674 48 13 FD F5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801F8718 001F5678 80 61 00 20 */ lwz r3, 0x20(r1) /* 801F871C 001F567C 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F8720 001F5680 90 7F 00 9C */ stw r3, 0x9c(r31) /* 801F8724 001F5684 90 1F 00 A0 */ stw r0, 0xa0(r31) /* 801F8728 001F5688 80 01 00 28 */ lwz r0, 0x28(r1) /* 801F872C 001F568C 90 1F 00 A4 */ stw r0, 0xa4(r31) /* 801F8730 001F5690 80 61 00 2C */ lwz r3, 0x2c(r1) /* 801F8734 001F5694 80 01 00 30 */ lwz r0, 0x30(r1) /* 801F8738 001F5698 90 7F 00 A8 */ stw r3, 0xa8(r31) /* 801F873C 001F569C 90 1F 00 AC */ stw r0, 0xac(r31) /* 801F8740 001F56A0 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F8744 001F56A4 90 1F 00 B0 */ stw r0, 0xb0(r31) /* 801F8748 001F56A8 48 00 00 0C */ b lbl_801F8754 lbl_801F874C: /* 801F874C 001F56AC 7F E3 FB 78 */ mr r3, r31 /* 801F8750 001F56B0 4B E5 C9 85 */ bl CalculateRenderBounds__6CActorFv lbl_801F8754: /* 801F8754 001F56B4 80 01 00 64 */ lwz r0, 0x64(r1) /* 801F8758 001F56B8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801F875C 001F56BC 7C 08 03 A6 */ mtlr r0 /* 801F8760 001F56C0 38 21 00 60 */ addi r1, r1, 0x60 /* 801F8764 001F56C4 4E 80 00 20 */ blr .global DoUserAnimEvent__13CFlyingPirateFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__13CFlyingPirateFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 801F8768 001F56C8 94 21 FE 00 */ stwu r1, -0x200(r1) /* 801F876C 001F56CC 7C 08 02 A6 */ mflr r0 /* 801F8770 001F56D0 90 01 02 04 */ stw r0, 0x204(r1) /* 801F8774 001F56D4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) /* 801F8778 001F56D8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 /* 801F877C 001F56DC BE E1 01 CC */ stmw r23, 0x1cc(r1) /* 801F8780 001F56E0 7C DB 33 78 */ mr r27, r6 /* 801F8784 001F56E4 FF E0 08 90 */ fmr f31, f1 /* 801F8788 001F56E8 2C 1B 00 0B */ cmpwi r27, 0xb /* 801F878C 001F56EC 7C 78 1B 78 */ mr r24, r3 /* 801F8790 001F56F0 7C 99 23 78 */ mr r25, r4 /* 801F8794 001F56F4 7C BA 2B 78 */ mr r26, r5 /* 801F8798 001F56F8 38 00 00 00 */ li r0, 0 /* 801F879C 001F56FC 41 82 02 D4 */ beq lbl_801F8A70 /* 801F87A0 001F5700 40 80 00 10 */ bge lbl_801F87B0 /* 801F87A4 001F5704 2C 1B 00 00 */ cmpwi r27, 0 /* 801F87A8 001F5708 41 82 00 14 */ beq lbl_801F87BC /* 801F87AC 001F570C 48 00 03 48 */ b lbl_801F8AF4 lbl_801F87B0: /* 801F87B0 001F5710 2C 1B 00 13 */ cmpwi r27, 0x13 /* 801F87B4 001F5714 41 82 02 BC */ beq lbl_801F8A70 /* 801F87B8 001F5718 48 00 03 3C */ b lbl_801F8AF4 lbl_801F87BC: /* 801F87BC 001F571C 88 18 06 A1 */ lbz r0, 0x6a1(r24) /* 801F87C0 001F5720 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F87C4 001F5724 41 82 00 0C */ beq lbl_801F87D0 /* 801F87C8 001F5728 3B F8 05 C8 */ addi r31, r24, 0x5c8 /* 801F87CC 001F572C 48 00 00 08 */ b lbl_801F87D4 lbl_801F87D0: /* 801F87D0 001F5730 3B F8 05 A0 */ addi r31, r24, 0x5a0 lbl_801F87D4: /* 801F87D4 001F5734 80 1F 00 08 */ lwz r0, 8(r31) /* 801F87D8 001F5738 28 00 00 00 */ cmplwi r0, 0 /* 801F87DC 001F573C 41 82 00 0C */ beq lbl_801F87E8 /* 801F87E0 001F5740 38 60 00 01 */ li r3, 1 /* 801F87E4 001F5744 48 00 00 3C */ b lbl_801F8820 lbl_801F87E8: /* 801F87E8 001F5748 88 1F 00 04 */ lbz r0, 4(r31) /* 801F87EC 001F574C 28 00 00 00 */ cmplwi r0, 0 /* 801F87F0 001F5750 41 82 00 2C */ beq lbl_801F881C /* 801F87F4 001F5754 80 7F 00 00 */ lwz r3, 0(r31) /* 801F87F8 001F5758 80 03 00 10 */ lwz r0, 0x10(r3) /* 801F87FC 001F575C 28 00 00 00 */ cmplwi r0, 0 /* 801F8800 001F5760 41 82 00 1C */ beq lbl_801F881C /* 801F8804 001F5764 7F E3 FB 78 */ mr r3, r31 /* 801F8808 001F5768 48 14 86 05 */ bl GetObj__6CTokenFv /* 801F880C 001F576C 80 03 00 04 */ lwz r0, 4(r3) /* 801F8810 001F5770 38 60 00 01 */ li r3, 1 /* 801F8814 001F5774 90 1F 00 08 */ stw r0, 8(r31) /* 801F8818 001F5778 48 00 00 08 */ b lbl_801F8820 lbl_801F881C: /* 801F881C 001F577C 38 60 00 00 */ li r3, 0 lbl_801F8820: /* 801F8820 001F5780 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F8824 001F5784 41 82 02 44 */ beq lbl_801F8A68 /* 801F8828 001F5788 A0 18 00 08 */ lhz r0, 8(r24) /* 801F882C 001F578C 7F 23 CB 78 */ mr r3, r25 /* 801F8830 001F5790 38 81 00 50 */ addi r4, r1, 0x50 /* 801F8834 001F5794 38 A0 00 09 */ li r5, 9 /* 801F8838 001F5798 B0 01 00 4C */ sth r0, 0x4c(r1) /* 801F883C 001F579C 38 C0 00 10 */ li r6, 0x10 /* 801F8840 001F57A0 B0 01 00 50 */ sth r0, 0x50(r1) /* 801F8844 001F57A4 4B E4 CE ED */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei /* 801F8848 001F57A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F884C 001F57AC 41 82 02 1C */ beq lbl_801F8A68 /* 801F8850 001F57B0 7F 04 C3 78 */ mr r4, r24 /* 801F8854 001F57B4 38 61 00 90 */ addi r3, r1, 0x90 /* 801F8858 001F57B8 38 BA 00 3C */ addi r5, r26, 0x3c /* 801F885C 001F57BC 4B E8 01 1D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801F8860 001F57C0 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801F8864 001F57C4 38 81 00 90 */ addi r4, r1, 0x90 /* 801F8868 001F57C8 48 11 A3 0D */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F886C 001F57CC 3C 60 80 3D */ lis r3, lbl_803D247C@ha /* 801F8870 001F57D0 3A E0 00 00 */ li r23, 0 /* 801F8874 001F57D4 38 83 24 7C */ addi r4, r3, lbl_803D247C@l /* 801F8878 001F57D8 38 60 03 D8 */ li r3, 0x3d8 /* 801F887C 001F57DC 38 84 00 08 */ addi r4, r4, 8 /* 801F8880 001F57E0 38 A0 00 00 */ li r5, 0 /* 801F8884 001F57E4 48 11 CF E9 */ bl __nw__FUlPCcPCc /* 801F8888 001F57E8 7C 7E 1B 79 */ or. r30, r3, r3 /* 801F888C 001F57EC 41 82 00 E4 */ beq lbl_801F8970 /* 801F8890 001F57F0 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F8894 001F57F4 38 00 00 00 */ li r0, 0 /* 801F8898 001F57F8 98 01 00 8C */ stb r0, 0x8c(r1) /* 801F889C 001F57FC 3B A1 00 80 */ addi r29, r1, 0x80 /* 801F88A0 001F5800 3B 81 00 74 */ addi r28, r1, 0x74 /* 801F88A4 001F5804 3A E0 00 01 */ li r23, 1 /* 801F88A8 001F5808 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801F88AC 001F580C D0 01 00 78 */ stfs f0, 0x78(r1) /* 801F88B0 001F5810 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801F88B4 001F5814 88 18 06 A1 */ lbz r0, 0x6a1(r24) /* 801F88B8 001F5818 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F88BC 001F581C 41 82 00 10 */ beq lbl_801F88CC /* 801F88C0 001F5820 A0 18 08 5C */ lhz r0, 0x85c(r24) /* 801F88C4 001F5824 B0 01 00 30 */ sth r0, 0x30(r1) /* 801F88C8 001F5828 48 00 00 14 */ b lbl_801F88DC lbl_801F88CC: /* 801F88CC 001F582C 80 79 08 4C */ lwz r3, 0x84c(r25) /* 801F88D0 001F5830 A0 03 00 08 */ lhz r0, 8(r3) /* 801F88D4 001F5834 B0 01 00 44 */ sth r0, 0x44(r1) /* 801F88D8 001F5838 B0 01 00 30 */ sth r0, 0x30(r1) lbl_801F88DC: /* 801F88DC 001F583C A0 01 00 30 */ lhz r0, 0x30(r1) /* 801F88E0 001F5840 7F 24 CB 78 */ mr r4, r25 /* 801F88E4 001F5844 38 61 00 34 */ addi r3, r1, 0x34 /* 801F88E8 001F5848 B0 01 00 48 */ sth r0, 0x48(r1) /* 801F88EC 001F584C A0 B8 00 08 */ lhz r5, 8(r24) /* 801F88F0 001F5850 B0 A1 00 40 */ sth r5, 0x40(r1) /* 801F88F4 001F5854 80 18 00 04 */ lwz r0, 4(r24) /* 801F88F8 001F5858 B0 A1 00 3C */ sth r5, 0x3c(r1) /* 801F88FC 001F585C 90 01 00 54 */ stw r0, 0x54(r1) /* 801F8900 001F5860 90 01 00 58 */ stw r0, 0x58(r1) /* 801F8904 001F5864 4B E5 47 D9 */ bl AllocateUniqueId__13CStateManagerFv /* 801F8908 001F5868 A0 01 00 34 */ lhz r0, 0x34(r1) /* 801F890C 001F586C 38 A1 00 58 */ addi r5, r1, 0x58 /* 801F8910 001F5870 38 81 00 40 */ addi r4, r1, 0x40 /* 801F8914 001F5874 39 01 00 48 */ addi r8, r1, 0x48 /* 801F8918 001F5878 B0 01 00 38 */ sth r0, 0x38(r1) /* 801F891C 001F587C 39 60 00 00 */ li r11, 0 /* 801F8920 001F5880 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 801F8924 001F5884 7F C3 F3 78 */ mr r3, r30 /* 801F8928 001F5888 90 A1 00 08 */ stw r5, 8(r1) /* 801F892C 001F588C 7F E5 FB 78 */ mr r5, r31 /* 801F8930 001F5890 38 E1 00 C0 */ addi r7, r1, 0xc0 /* 801F8934 001F5894 39 3F 00 0C */ addi r9, r31, 0xc /* 801F8938 001F5898 90 81 00 0C */ stw r4, 0xc(r1) /* 801F893C 001F589C 39 41 00 38 */ addi r10, r1, 0x38 /* 801F8940 001F58A0 38 80 00 01 */ li r4, 1 /* 801F8944 001F58A4 38 C0 00 09 */ li r6, 9 /* 801F8948 001F58A8 91 01 00 10 */ stw r8, 0x10(r1) /* 801F894C 001F58AC 39 00 00 21 */ li r8, 0x21 /* 801F8950 001F58B0 91 61 00 14 */ stw r11, 0x14(r1) /* 801F8954 001F58B4 91 61 00 18 */ stw r11, 0x18(r1) /* 801F8958 001F58B8 93 81 00 1C */ stw r28, 0x1c(r1) /* 801F895C 001F58BC 93 A1 00 20 */ stw r29, 0x20(r1) /* 801F8960 001F58C0 90 01 00 24 */ stw r0, 0x24(r1) /* 801F8964 001F58C4 91 61 00 28 */ stw r11, 0x28(r1) /* 801F8968 001F58C8 48 01 CD 31 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 801F896C 001F58CC 7C 7E 1B 78 */ mr r30, r3 lbl_801F8970: /* 801F8970 001F58D0 7E E0 07 75 */ extsb. r0, r23 /* 801F8974 001F58D4 41 82 00 30 */ beq lbl_801F89A4 /* 801F8978 001F58D8 88 01 00 8C */ lbz r0, 0x8c(r1) /* 801F897C 001F58DC 28 00 00 00 */ cmplwi r0, 0 /* 801F8980 001F58E0 41 82 00 1C */ beq lbl_801F899C /* 801F8984 001F58E4 34 61 00 80 */ addic. r3, r1, 0x80 /* 801F8988 001F58E8 41 82 00 14 */ beq lbl_801F899C /* 801F898C 001F58EC 28 03 00 00 */ cmplwi r3, 0 /* 801F8990 001F58F0 41 82 00 0C */ beq lbl_801F899C /* 801F8994 001F58F4 38 80 00 00 */ li r4, 0 /* 801F8998 001F58F8 48 14 84 A9 */ bl __dt__6CTokenFv lbl_801F899C: /* 801F899C 001F58FC 38 00 00 00 */ li r0, 0 /* 801F89A0 001F5900 98 01 00 8C */ stb r0, 0x8c(r1) lbl_801F89A4: /* 801F89A4 001F5904 28 1E 00 00 */ cmplwi r30, 0 /* 801F89A8 001F5908 41 82 00 C0 */ beq lbl_801F8A68 /* 801F89AC 001F590C 7F 23 CB 78 */ mr r3, r25 /* 801F89B0 001F5910 7F C4 F3 78 */ mr r4, r30 /* 801F89B4 001F5914 4B E5 43 41 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 801F89B8 001F5918 88 18 06 A1 */ lbz r0, 0x6a1(r24) /* 801F89BC 001F591C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801F89C0 001F5920 40 82 00 A8 */ bne lbl_801F8A68 /* 801F89C4 001F5924 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F89C8 001F5928 38 61 00 F0 */ addi r3, r1, 0xf0 /* 801F89CC 001F592C C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801F89D0 001F5930 38 81 00 68 */ addi r4, r1, 0x68 /* 801F89D4 001F5934 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801F89D8 001F5938 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 801F89DC 001F593C C0 22 AF A0 */ lfs f1, lbl_805ACCC0@sda21(r2) /* 801F89E0 001F5940 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801F89E4 001F5944 80 C1 00 5C */ lwz r6, 0x5c(r1) /* 801F89E8 001F5948 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801F89EC 001F594C 80 A1 00 60 */ lwz r5, 0x60(r1) /* 801F89F0 001F5950 80 01 00 64 */ lwz r0, 0x64(r1) /* 801F89F4 001F5954 90 C1 00 68 */ stw r6, 0x68(r1) /* 801F89F8 001F5958 C0 42 AF 6C */ lfs f2, lbl_805ACC8C@sda21(r2) /* 801F89FC 001F595C 90 A1 00 6C */ stw r5, 0x6c(r1) /* 801F8A00 001F5960 C0 62 AF A4 */ lfs f3, lbl_805ACCC4@sda21(r2) /* 801F8A04 001F5964 90 01 00 70 */ stw r0, 0x70(r1) /* 801F8A08 001F5968 4B F6 4B BD */ bl BuildPatternedExplodeShakeData__16CCameraShakeDataFRC9CVector3ffff /* 801F8A0C 001F596C 7F C3 F3 78 */ mr r3, r30 /* 801F8A10 001F5970 38 81 00 F0 */ addi r4, r1, 0xf0 /* 801F8A14 001F5974 48 01 B0 B9 */ bl SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData /* 801F8A18 001F5978 34 81 01 70 */ addic. r4, r1, 0x170 /* 801F8A1C 001F597C 41 82 00 10 */ beq lbl_801F8A2C /* 801F8A20 001F5980 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801F8A24 001F5984 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801F8A28 001F5988 90 04 00 00 */ stw r0, 0(r4) lbl_801F8A2C: /* 801F8A2C 001F598C 34 81 01 34 */ addic. r4, r1, 0x134 /* 801F8A30 001F5990 41 82 00 10 */ beq lbl_801F8A40 /* 801F8A34 001F5994 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801F8A38 001F5998 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801F8A3C 001F599C 90 04 00 00 */ stw r0, 0(r4) lbl_801F8A40: /* 801F8A40 001F59A0 34 81 00 F8 */ addic. r4, r1, 0xf8 /* 801F8A44 001F59A4 41 82 00 10 */ beq lbl_801F8A54 /* 801F8A48 001F59A8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801F8A4C 001F59AC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801F8A50 001F59B0 90 04 00 00 */ stw r0, 0(r4) lbl_801F8A54: /* 801F8A54 001F59B4 88 18 06 A0 */ lbz r0, 0x6a0(r24) /* 801F8A58 001F59B8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F8A5C 001F59BC 41 82 00 0C */ beq lbl_801F8A68 /* 801F8A60 001F59C0 C0 18 06 58 */ lfs f0, 0x658(r24) /* 801F8A64 001F59C4 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) lbl_801F8A68: /* 801F8A68 001F59C8 38 00 00 01 */ li r0, 1 /* 801F8A6C 001F59CC 48 00 00 88 */ b lbl_801F8AF4 lbl_801F8A70: /* 801F8A70 001F59D0 80 18 08 9C */ lwz r0, 0x89c(r24) /* 801F8A74 001F59D4 28 00 00 00 */ cmplwi r0, 0 /* 801F8A78 001F59D8 40 82 00 78 */ bne lbl_801F8AF0 /* 801F8A7C 001F59DC 7F 03 C3 78 */ mr r3, r24 /* 801F8A80 001F59E0 7F 24 CB 78 */ mr r4, r25 /* 801F8A84 001F59E4 81 98 00 00 */ lwz r12, 0(r24) /* 801F8A88 001F59E8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801F8A8C 001F59EC 7D 89 03 A6 */ mtctr r12 /* 801F8A90 001F59F0 4E 80 04 21 */ bctrl /* 801F8A94 001F59F4 C0 23 00 00 */ lfs f1, 0(r3) /* 801F8A98 001F59F8 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F8A9C 001F59FC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8AA0 001F5A00 4C 40 13 82 */ cror 2, 0, 2 /* 801F8AA4 001F5A04 40 82 00 4C */ bne lbl_801F8AF0 /* 801F8AA8 001F5A08 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801F8AAC 001F5A0C 38 60 00 B4 */ li r3, 0xb4 /* 801F8AB0 001F5A10 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801F8AB4 001F5A14 38 A0 00 00 */ li r5, 0 /* 801F8AB8 001F5A18 38 84 00 08 */ addi r4, r4, 8 /* 801F8ABC 001F5A1C 48 11 CD B1 */ bl __nw__FUlPCcPCc /* 801F8AC0 001F5A20 7C 77 1B 79 */ or. r23, r3, r3 /* 801F8AC4 001F5A24 41 82 00 1C */ beq lbl_801F8AE0 /* 801F8AC8 001F5A28 A0 D8 06 30 */ lhz r6, 0x630(r24) /* 801F8ACC 001F5A2C 7F 24 CB 78 */ mr r4, r25 /* 801F8AD0 001F5A30 A0 F8 06 32 */ lhz r7, 0x632(r24) /* 801F8AD4 001F5A34 7F 05 C3 78 */ mr r5, r24 /* 801F8AD8 001F5A38 48 00 74 A5 */ bl __ct__20CFlyingPirateRagDollFR13CStateManagerP13CFlyingPiratefUsUs /* 801F8ADC 001F5A3C 7C 77 1B 78 */ mr r23, r3 lbl_801F8AE0: /* 801F8AE0 001F5A40 80 78 08 9C */ lwz r3, 0x89c(r24) /* 801F8AE4 001F5A44 38 80 00 01 */ li r4, 1 /* 801F8AE8 001F5A48 48 00 74 21 */ bl __dt__20CFlyingPirateRagDollFv /* 801F8AEC 001F5A4C 92 F8 08 9C */ stw r23, 0x89c(r24) lbl_801F8AF0: /* 801F8AF0 001F5A50 38 00 00 01 */ li r0, 1 lbl_801F8AF4: /* 801F8AF4 001F5A54 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 801F8AF8 001F5A58 40 82 00 1C */ bne lbl_801F8B14 /* 801F8AFC 001F5A5C FC 20 F8 90 */ fmr f1, f31 /* 801F8B00 001F5A60 7F 03 C3 78 */ mr r3, r24 /* 801F8B04 001F5A64 7F 24 CB 78 */ mr r4, r25 /* 801F8B08 001F5A68 7F 45 D3 78 */ mr r5, r26 /* 801F8B0C 001F5A6C 7F 66 DB 78 */ mr r6, r27 /* 801F8B10 001F5A70 4B E8 03 A1 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_801F8B14: /* 801F8B14 001F5A74 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 /* 801F8B18 001F5A78 CB E1 01 F0 */ lfd f31, 0x1f0(r1) /* 801F8B1C 001F5A7C BA E1 01 CC */ lmw r23, 0x1cc(r1) /* 801F8B20 001F5A80 80 01 02 04 */ lwz r0, 0x204(r1) /* 801F8B24 001F5A84 7C 08 03 A6 */ mtlr r0 /* 801F8B28 001F5A88 38 21 02 00 */ addi r1, r1, 0x200 /* 801F8B2C 001F5A8C 4E 80 00 20 */ blr .global FireProjectile__13CFlyingPirateFR13CStateManagerRC9CVector3f FireProjectile__13CFlyingPirateFR13CStateManagerRC9CVector3f: /* 801F8B30 001F5A90 94 21 FD B0 */ stwu r1, -0x250(r1) /* 801F8B34 001F5A94 7C 08 02 A6 */ mflr r0 /* 801F8B38 001F5A98 90 01 02 54 */ stw r0, 0x254(r1) /* 801F8B3C 001F5A9C DB E1 02 40 */ stfd f31, 0x240(r1) /* 801F8B40 001F5AA0 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 /* 801F8B44 001F5AA4 93 E1 02 3C */ stw r31, 0x23c(r1) /* 801F8B48 001F5AA8 93 C1 02 38 */ stw r30, 0x238(r1) /* 801F8B4C 001F5AAC 93 A1 02 34 */ stw r29, 0x234(r1) /* 801F8B50 001F5AB0 93 81 02 30 */ stw r28, 0x230(r1) /* 801F8B54 001F5AB4 FF E0 08 90 */ fmr f31, f1 /* 801F8B58 001F5AB8 7C 7D 1B 78 */ mr r29, r3 /* 801F8B5C 001F5ABC 7C 9E 23 78 */ mr r30, r4 /* 801F8B60 001F5AC0 38 61 01 50 */ addi r3, r1, 0x150 /* 801F8B64 001F5AC4 7F A4 EB 78 */ mr r4, r29 /* 801F8B68 001F5AC8 38 BD 07 E0 */ addi r5, r29, 0x7e0 /* 801F8B6C 001F5ACC 3B E0 00 00 */ li r31, 0 /* 801F8B70 001F5AD0 4B E7 FD 49 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801F8B74 001F5AD4 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 801F8B78 001F5AD8 38 81 01 50 */ addi r4, r1, 0x150 /* 801F8B7C 001F5ADC 48 11 9F F9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F8B80 001F5AE0 88 1D 04 00 */ lbz r0, 0x400(r29) /* 801F8B84 001F5AE4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801F8B88 001F5AE8 40 82 00 80 */ bne lbl_801F8C08 /* 801F8B8C 001F5AEC C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F8B90 001F5AF0 39 60 00 00 */ li r11, 0 /* 801F8B94 001F5AF4 99 61 01 04 */ stb r11, 0x104(r1) /* 801F8B98 001F5AF8 38 01 00 EC */ addi r0, r1, 0xec /* 801F8B9C 001F5AFC A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) /* 801F8BA0 001F5B00 7F A3 EB 78 */ mr r3, r29 /* 801F8BA4 001F5B04 D0 01 00 EC */ stfs f0, 0xec(r1) /* 801F8BA8 001F5B08 7F C5 F3 78 */ mr r5, r30 /* 801F8BAC 001F5B0C 38 81 01 B0 */ addi r4, r1, 0x1b0 /* 801F8BB0 001F5B10 39 21 00 F8 */ addi r9, r1, 0xf8 /* 801F8BB4 001F5B14 D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 801F8BB8 001F5B18 38 C0 00 08 */ li r6, 8 /* 801F8BBC 001F5B1C 38 E0 00 00 */ li r7, 0 /* 801F8BC0 001F5B20 39 00 00 00 */ li r8, 0 /* 801F8BC4 001F5B24 D0 01 00 F4 */ stfs f0, 0xf4(r1) /* 801F8BC8 001F5B28 91 61 00 08 */ stw r11, 8(r1) /* 801F8BCC 001F5B2C 90 01 00 0C */ stw r0, 0xc(r1) /* 801F8BD0 001F5B30 4B E7 EE 29 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" /* 801F8BD4 001F5B34 88 01 01 04 */ lbz r0, 0x104(r1) /* 801F8BD8 001F5B38 28 00 00 00 */ cmplwi r0, 0 /* 801F8BDC 001F5B3C 41 82 00 1C */ beq lbl_801F8BF8 /* 801F8BE0 001F5B40 34 61 00 F8 */ addic. r3, r1, 0xf8 /* 801F8BE4 001F5B44 41 82 00 14 */ beq lbl_801F8BF8 /* 801F8BE8 001F5B48 28 03 00 00 */ cmplwi r3, 0 /* 801F8BEC 001F5B4C 41 82 00 0C */ beq lbl_801F8BF8 /* 801F8BF0 001F5B50 38 80 00 00 */ li r4, 0 /* 801F8BF4 001F5B54 48 14 82 4D */ bl __dt__6CTokenFv lbl_801F8BF8: /* 801F8BF8 001F5B58 38 00 00 00 */ li r0, 0 /* 801F8BFC 001F5B5C 3B E0 00 01 */ li r31, 1 /* 801F8C00 001F5B60 98 01 01 04 */ stb r0, 0x104(r1) /* 801F8C04 001F5B64 48 00 03 20 */ b lbl_801F8F24 lbl_801F8C08: /* 801F8C08 001F5B68 A0 1D 07 E8 */ lhz r0, 0x7e8(r29) /* 801F8C0C 001F5B6C 7F C3 F3 78 */ mr r3, r30 /* 801F8C10 001F5B70 38 81 00 10 */ addi r4, r1, 0x10 /* 801F8C14 001F5B74 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F8C18 001F5B78 4B E5 39 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F8C1C 001F5B7C 7C 64 1B 78 */ mr r4, r3 /* 801F8C20 001F5B80 38 61 00 18 */ addi r3, r1, 0x18 /* 801F8C24 001F5B84 4B EB 70 6D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801F8C28 001F5B88 80 63 00 04 */ lwz r3, 4(r3) /* 801F8C2C 001F5B8C 28 03 00 00 */ cmplwi r3, 0 /* 801F8C30 001F5B90 41 82 02 F4 */ beq lbl_801F8F24 /* 801F8C34 001F5B94 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801F8C38 001F5B98 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801F8C3C 001F5B9C C0 03 00 40 */ lfs f0, 0x40(r3) /* 801F8C40 001F5BA0 D0 01 01 14 */ stfs f0, 0x114(r1) /* 801F8C44 001F5BA4 D0 21 01 18 */ stfs f1, 0x118(r1) /* 801F8C48 001F5BA8 D0 41 01 1C */ stfs f2, 0x11c(r1) /* 801F8C4C 001F5BAC 83 9E 08 4C */ lwz r28, 0x84c(r30) /* 801F8C50 001F5BB0 A0 7D 07 E8 */ lhz r3, 0x7e8(r29) /* 801F8C54 001F5BB4 A0 1C 00 08 */ lhz r0, 8(r28) /* 801F8C58 001F5BB8 7C 03 00 40 */ cmplw r3, r0 /* 801F8C5C 001F5BBC 40 82 00 88 */ bne lbl_801F8CE4 /* 801F8C60 001F5BC0 C0 21 01 BC */ lfs f1, 0x1bc(r1) /* 801F8C64 001F5BC4 7F 84 E3 78 */ mr r4, r28 /* 801F8C68 001F5BC8 C0 41 01 CC */ lfs f2, 0x1cc(r1) /* 801F8C6C 001F5BCC 7F C5 F3 78 */ mr r5, r30 /* 801F8C70 001F5BD0 C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 801F8C74 001F5BD4 38 61 00 C8 */ addi r3, r1, 0xc8 /* 801F8C78 001F5BD8 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 801F8C7C 001F5BDC C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F8C80 001F5BE0 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801F8C84 001F5BE4 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801F8C88 001F5BE8 81 9C 00 00 */ lwz r12, 0(r28) /* 801F8C8C 001F5BEC 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801F8C90 001F5BF0 7D 89 03 A6 */ mtctr r12 /* 801F8C94 001F5BF4 4E 80 04 21 */ bctrl /* 801F8C98 001F5BF8 7F A3 EB 78 */ mr r3, r29 /* 801F8C9C 001F5BFC 81 9D 00 00 */ lwz r12, 0(r29) /* 801F8CA0 001F5C00 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 801F8CA4 001F5C04 7D 89 03 A6 */ mtctr r12 /* 801F8CA8 001F5C08 4E 80 04 21 */ bctrl /* 801F8CAC 001F5C0C FC 20 F8 90 */ fmr f1, f31 /* 801F8CB0 001F5C10 7C 64 1B 78 */ mr r4, r3 /* 801F8CB4 001F5C14 7F 87 E3 78 */ mr r7, r28 /* 801F8CB8 001F5C18 38 61 00 E0 */ addi r3, r1, 0xe0 /* 801F8CBC 001F5C1C 38 A1 00 D4 */ addi r5, r1, 0xd4 /* 801F8CC0 001F5C20 38 C1 00 C8 */ addi r6, r1, 0xc8 /* 801F8CC4 001F5C24 39 00 00 01 */ li r8, 1 /* 801F8CC8 001F5C28 48 02 32 25 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf /* 801F8CCC 001F5C2C C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 801F8CD0 001F5C30 C0 21 00 E4 */ lfs f1, 0xe4(r1) /* 801F8CD4 001F5C34 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 801F8CD8 001F5C38 D0 41 01 14 */ stfs f2, 0x114(r1) /* 801F8CDC 001F5C3C D0 21 01 18 */ stfs f1, 0x118(r1) /* 801F8CE0 001F5C40 D0 01 01 1C */ stfs f0, 0x11c(r1) lbl_801F8CE4: /* 801F8CE4 001F5C44 C0 41 01 DC */ lfs f2, 0x1dc(r1) /* 801F8CE8 001F5C48 38 61 01 08 */ addi r3, r1, 0x108 /* 801F8CEC 001F5C4C C0 01 01 1C */ lfs f0, 0x11c(r1) /* 801F8CF0 001F5C50 C0 81 01 CC */ lfs f4, 0x1cc(r1) /* 801F8CF4 001F5C54 C0 21 01 18 */ lfs f1, 0x118(r1) /* 801F8CF8 001F5C58 EC 40 10 28 */ fsubs f2, f0, f2 /* 801F8CFC 001F5C5C C0 61 01 BC */ lfs f3, 0x1bc(r1) /* 801F8D00 001F5C60 C0 01 01 14 */ lfs f0, 0x114(r1) /* 801F8D04 001F5C64 EC 21 20 28 */ fsubs f1, f1, f4 /* 801F8D08 001F5C68 D0 41 01 10 */ stfs f2, 0x110(r1) /* 801F8D0C 001F5C6C EC 00 18 28 */ fsubs f0, f0, f3 /* 801F8D10 001F5C70 D0 21 01 0C */ stfs f1, 0x10c(r1) /* 801F8D14 001F5C74 D0 01 01 08 */ stfs f0, 0x108(r1) /* 801F8D18 001F5C78 48 11 BB A1 */ bl Magnitude__9CVector3fCFv /* 801F8D1C 001F5C7C FF E0 08 90 */ fmr f31, f1 /* 801F8D20 001F5C80 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F8D24 001F5C84 C0 A1 01 0C */ lfs f5, 0x10c(r1) /* 801F8D28 001F5C88 C0 C1 01 08 */ lfs f6, 0x108(r1) /* 801F8D2C 001F5C8C EC E0 F8 24 */ fdivs f7, f0, f31 /* 801F8D30 001F5C90 C0 81 01 10 */ lfs f4, 0x110(r1) /* 801F8D34 001F5C94 C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 801F8D38 001F5C98 C0 41 01 B4 */ lfs f2, 0x1b4(r1) /* 801F8D3C 001F5C9C C0 61 01 D4 */ lfs f3, 0x1d4(r1) /* 801F8D40 001F5CA0 C0 02 AF A8 */ lfs f0, lbl_805ACCC8@sda21(r2) /* 801F8D44 001F5CA4 EC A5 01 F2 */ fmuls f5, f5, f7 /* 801F8D48 001F5CA8 EC C6 01 F2 */ fmuls f6, f6, f7 /* 801F8D4C 001F5CAC EC 84 01 F2 */ fmuls f4, f4, f7 /* 801F8D50 001F5CB0 EC 21 01 72 */ fmuls f1, f1, f5 /* 801F8D54 001F5CB4 D0 A1 01 0C */ stfs f5, 0x10c(r1) /* 801F8D58 001F5CB8 D0 C1 01 08 */ stfs f6, 0x108(r1) /* 801F8D5C 001F5CBC EC 22 09 BA */ fmadds f1, f2, f6, f1 /* 801F8D60 001F5CC0 D0 81 01 10 */ stfs f4, 0x110(r1) /* 801F8D64 001F5CC4 EC 23 09 3A */ fmadds f1, f3, f4, f1 /* 801F8D68 001F5CC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8D6C 001F5CCC 41 81 00 1C */ bgt lbl_801F8D88 /* 801F8D70 001F5CD0 C0 02 AF AC */ lfs f0, lbl_805ACCCC@sda21(r2) /* 801F8D74 001F5CD4 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801F8D78 001F5CD8 40 80 01 AC */ bge lbl_801F8F24 /* 801F8D7C 001F5CDC C0 02 AF 74 */ lfs f0, lbl_805ACC94@sda21(r2) /* 801F8D80 001F5CE0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8D84 001F5CE4 40 81 01 A0 */ ble lbl_801F8F24 lbl_801F8D88: /* 801F8D88 001F5CE8 38 00 00 00 */ li r0, 0 /* 801F8D8C 001F5CEC 80 AD 93 10 */ lwz r5, lbl_805A7ED0@sda21(r13) /* 801F8D90 001F5CF0 90 01 00 6C */ stw r0, 0x6c(r1) /* 801F8D94 001F5CF4 38 60 00 00 */ li r3, 0 /* 801F8D98 001F5CF8 38 80 00 01 */ li r4, 1 /* 801F8D9C 001F5CFC 90 01 00 68 */ stw r0, 0x68(r1) /* 801F8DA0 001F5D00 48 19 11 55 */ bl __shl2i /* 801F8DA4 001F5D04 80 01 00 68 */ lwz r0, 0x68(r1) /* 801F8DA8 001F5D08 80 C1 00 6C */ lwz r6, 0x6c(r1) /* 801F8DAC 001F5D0C 7C 00 1B 78 */ or r0, r0, r3 /* 801F8DB0 001F5D10 80 AD 93 14 */ lwz r5, lbl_805A7ED4@sda21(r13) /* 801F8DB4 001F5D14 7C C4 23 78 */ or r4, r6, r4 /* 801F8DB8 001F5D18 90 01 00 68 */ stw r0, 0x68(r1) /* 801F8DBC 001F5D1C 38 60 00 00 */ li r3, 0 /* 801F8DC0 001F5D20 90 81 00 6C */ stw r4, 0x6c(r1) /* 801F8DC4 001F5D24 38 80 00 01 */ li r4, 1 /* 801F8DC8 001F5D28 48 19 11 2D */ bl __shl2i /* 801F8DCC 001F5D2C 80 01 00 68 */ lwz r0, 0x68(r1) /* 801F8DD0 001F5D30 38 A1 00 BC */ addi r5, r1, 0xbc /* 801F8DD4 001F5D34 80 E1 00 6C */ lwz r7, 0x6c(r1) /* 801F8DD8 001F5D38 38 C1 01 14 */ addi r6, r1, 0x114 /* 801F8DDC 001F5D3C 7C 00 1B 78 */ or r0, r0, r3 /* 801F8DE0 001F5D40 C0 41 01 BC */ lfs f2, 0x1bc(r1) /* 801F8DE4 001F5D44 7C E4 23 78 */ or r4, r7, r4 /* 801F8DE8 001F5D48 C0 21 01 CC */ lfs f1, 0x1cc(r1) /* 801F8DEC 001F5D4C C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 801F8DF0 001F5D50 7F A3 EB 78 */ mr r3, r29 /* 801F8DF4 001F5D54 90 81 00 6C */ stw r4, 0x6c(r1) /* 801F8DF8 001F5D58 7F C4 F3 78 */ mr r4, r30 /* 801F8DFC 001F5D5C 38 E1 00 68 */ addi r7, r1, 0x68 /* 801F8E00 001F5D60 90 01 00 68 */ stw r0, 0x68(r1) /* 801F8E04 001F5D64 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801F8E08 001F5D68 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801F8E0C 001F5D6C D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801F8E10 001F5D70 48 00 45 B5 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801F8E14 001F5D74 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F8E18 001F5D78 41 82 01 0C */ beq lbl_801F8F24 /* 801F8E1C 001F5D7C FC 20 F8 90 */ fmr f1, f31 /* 801F8E20 001F5D80 C0 42 AF AC */ lfs f2, lbl_805ACCCC@sda21(r2) /* 801F8E24 001F5D84 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801F8E28 001F5D88 38 9D 07 EC */ addi r4, r29, 0x7ec /* 801F8E2C 001F5D8C 4B FB 43 19 */ bl GetDistanceCompensatedError__10CBurstFireCFff /* 801F8E30 001F5D90 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801F8E34 001F5D94 38 9D 00 34 */ addi r4, r29, 0x34 /* 801F8E38 001F5D98 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 801F8E3C 001F5D9C 48 11 9C 45 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 801F8E40 001F5DA0 C0 61 01 14 */ lfs f3, 0x114(r1) /* 801F8E44 001F5DA4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801F8E48 001F5DA8 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 801F8E4C 001F5DAC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 801F8E50 001F5DB0 C0 21 01 18 */ lfs f1, 0x118(r1) /* 801F8E54 001F5DB4 38 61 01 20 */ addi r3, r1, 0x120 /* 801F8E58 001F5DB8 EC C3 10 2A */ fadds f6, f3, f2 /* 801F8E5C 001F5DBC C0 01 00 B4 */ lfs f0, 0xb4(r1) /* 801F8E60 001F5DC0 C0 81 01 1C */ lfs f4, 0x11c(r1) /* 801F8E64 001F5DC4 38 81 00 98 */ addi r4, r1, 0x98 /* 801F8E68 001F5DC8 EC A1 00 2A */ fadds f5, f1, f0 /* 801F8E6C 001F5DCC C0 61 00 B8 */ lfs f3, 0xb8(r1) /* 801F8E70 001F5DD0 EC 64 18 2A */ fadds f3, f4, f3 /* 801F8E74 001F5DD4 C0 41 01 BC */ lfs f2, 0x1bc(r1) /* 801F8E78 001F5DD8 C0 21 01 CC */ lfs f1, 0x1cc(r1) /* 801F8E7C 001F5DDC 38 A1 01 14 */ addi r5, r1, 0x114 /* 801F8E80 001F5DE0 C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 801F8E84 001F5DE4 D0 C1 01 14 */ stfs f6, 0x114(r1) /* 801F8E88 001F5DE8 D0 A1 01 18 */ stfs f5, 0x118(r1) /* 801F8E8C 001F5DEC D0 61 01 1C */ stfs f3, 0x11c(r1) /* 801F8E90 001F5DF0 D0 41 00 98 */ stfs f2, 0x98(r1) /* 801F8E94 001F5DF4 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 801F8E98 001F5DF8 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801F8E9C 001F5DFC 48 11 AC 75 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801F8EA0 001F5E00 38 61 01 80 */ addi r3, r1, 0x180 /* 801F8EA4 001F5E04 38 81 01 20 */ addi r4, r1, 0x120 /* 801F8EA8 001F5E08 48 11 9C CD */ bl __ct__12CTransform4fFRC12CTransform4f /* 801F8EAC 001F5E0C C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F8EB0 001F5E10 39 60 00 00 */ li r11, 0 /* 801F8EB4 001F5E14 99 61 00 94 */ stb r11, 0x94(r1) /* 801F8EB8 001F5E18 38 01 00 7C */ addi r0, r1, 0x7c /* 801F8EBC 001F5E1C A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) /* 801F8EC0 001F5E20 7F A3 EB 78 */ mr r3, r29 /* 801F8EC4 001F5E24 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801F8EC8 001F5E28 7F C5 F3 78 */ mr r5, r30 /* 801F8ECC 001F5E2C 38 81 01 80 */ addi r4, r1, 0x180 /* 801F8ED0 001F5E30 39 21 00 88 */ addi r9, r1, 0x88 /* 801F8ED4 001F5E34 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801F8ED8 001F5E38 38 C0 00 08 */ li r6, 8 /* 801F8EDC 001F5E3C 38 E0 00 00 */ li r7, 0 /* 801F8EE0 001F5E40 39 00 00 00 */ li r8, 0 /* 801F8EE4 001F5E44 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801F8EE8 001F5E48 91 61 00 08 */ stw r11, 8(r1) /* 801F8EEC 001F5E4C 90 01 00 0C */ stw r0, 0xc(r1) /* 801F8EF0 001F5E50 4B E7 EB 09 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" /* 801F8EF4 001F5E54 88 01 00 94 */ lbz r0, 0x94(r1) /* 801F8EF8 001F5E58 28 00 00 00 */ cmplwi r0, 0 /* 801F8EFC 001F5E5C 41 82 00 1C */ beq lbl_801F8F18 /* 801F8F00 001F5E60 34 61 00 88 */ addic. r3, r1, 0x88 /* 801F8F04 001F5E64 41 82 00 14 */ beq lbl_801F8F18 /* 801F8F08 001F5E68 28 03 00 00 */ cmplwi r3, 0 /* 801F8F0C 001F5E6C 41 82 00 0C */ beq lbl_801F8F18 /* 801F8F10 001F5E70 38 80 00 00 */ li r4, 0 /* 801F8F14 001F5E74 48 14 7F 2D */ bl __dt__6CTokenFv lbl_801F8F18: /* 801F8F18 001F5E78 38 00 00 00 */ li r0, 0 /* 801F8F1C 001F5E7C 3B E0 00 01 */ li r31, 1 /* 801F8F20 001F5E80 98 01 00 94 */ stb r0, 0x94(r1) lbl_801F8F24: /* 801F8F24 001F5E84 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801F8F28 001F5E88 41 82 01 6C */ beq lbl_801F9094 /* 801F8F2C 001F5E8C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801F8F30 001F5E90 4B F4 15 25 */ bl GetPASDatabase__15CBodyControllerCFv /* 801F8F34 001F5E94 7C 60 1B 78 */ mr r0, r3 /* 801F8F38 001F5E98 38 61 00 28 */ addi r3, r1, 0x28 /* 801F8F3C 001F5E9C 7C 1C 03 78 */ mr r28, r0 /* 801F8F40 001F5EA0 48 0E A1 3D */ bl NoParameter__12CPASAnimParmFv /* 801F8F44 001F5EA4 38 61 00 30 */ addi r3, r1, 0x30 /* 801F8F48 001F5EA8 48 0E A1 35 */ bl NoParameter__12CPASAnimParmFv /* 801F8F4C 001F5EAC 38 61 00 38 */ addi r3, r1, 0x38 /* 801F8F50 001F5EB0 48 0E A1 2D */ bl NoParameter__12CPASAnimParmFv /* 801F8F54 001F5EB4 38 61 00 40 */ addi r3, r1, 0x40 /* 801F8F58 001F5EB8 48 0E A1 25 */ bl NoParameter__12CPASAnimParmFv /* 801F8F5C 001F5EBC 38 61 00 48 */ addi r3, r1, 0x48 /* 801F8F60 001F5EC0 48 0E A1 1D */ bl NoParameter__12CPASAnimParmFv /* 801F8F64 001F5EC4 38 61 00 50 */ addi r3, r1, 0x50 /* 801F8F68 001F5EC8 48 0E A1 15 */ bl NoParameter__12CPASAnimParmFv /* 801F8F6C 001F5ECC 38 61 00 58 */ addi r3, r1, 0x58 /* 801F8F70 001F5ED0 48 0E A1 0D */ bl NoParameter__12CPASAnimParmFv /* 801F8F74 001F5ED4 38 61 00 60 */ addi r3, r1, 0x60 /* 801F8F78 001F5ED8 38 80 00 02 */ li r4, 2 /* 801F8F7C 001F5EDC 48 0E A0 09 */ bl FromEnum__12CPASAnimParmFi /* 801F8F80 001F5EE0 38 61 00 30 */ addi r3, r1, 0x30 /* 801F8F84 001F5EE4 38 01 00 28 */ addi r0, r1, 0x28 /* 801F8F88 001F5EE8 90 61 00 08 */ stw r3, 8(r1) /* 801F8F8C 001F5EEC 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 801F8F90 001F5EF0 38 A1 00 60 */ addi r5, r1, 0x60 /* 801F8F94 001F5EF4 38 C1 00 58 */ addi r6, r1, 0x58 /* 801F8F98 001F5EF8 90 01 00 0C */ stw r0, 0xc(r1) /* 801F8F9C 001F5EFC 38 E1 00 50 */ addi r7, r1, 0x50 /* 801F8FA0 001F5F00 39 01 00 48 */ addi r8, r1, 0x48 /* 801F8FA4 001F5F04 39 21 00 40 */ addi r9, r1, 0x40 /* 801F8FA8 001F5F08 39 41 00 38 */ addi r10, r1, 0x38 /* 801F8FAC 001F5F0C 38 80 00 18 */ li r4, 0x18 /* 801F8FB0 001F5F10 4B E8 43 15 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801F8FB4 001F5F14 80 DE 09 00 */ lwz r6, 0x900(r30) /* 801F8FB8 001F5F18 7F 84 E3 78 */ mr r4, r28 /* 801F8FBC 001F5F1C 38 61 00 20 */ addi r3, r1, 0x20 /* 801F8FC0 001F5F20 38 A1 01 E0 */ addi r5, r1, 0x1e0 /* 801F8FC4 001F5F24 38 E0 FF FF */ li r7, -1 /* 801F8FC8 001F5F28 48 0E C0 99 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 801F8FCC 001F5F2C C0 21 00 20 */ lfs f1, 0x20(r1) /* 801F8FD0 001F5F30 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F8FD4 001F5F34 80 81 00 24 */ lwz r4, 0x24(r1) /* 801F8FD8 001F5F38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F8FDC 001F5F3C 40 81 00 1C */ ble lbl_801F8FF8 /* 801F8FE0 001F5F40 80 7D 00 64 */ lwz r3, 0x64(r29) /* 801F8FE4 001F5F44 38 A0 00 00 */ li r5, 0 /* 801F8FE8 001F5F48 C0 22 AF 78 */ lfs f1, lbl_805ACC98@sda21(r2) /* 801F8FEC 001F5F4C 38 C0 00 01 */ li r6, 1 /* 801F8FF0 001F5F50 80 63 00 10 */ lwz r3, 0x10(r3) /* 801F8FF4 001F5F54 4B E3 11 DD */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_801F8FF8: /* 801F8FF8 001F5F58 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801F8FFC 001F5F5C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F9000 001F5F60 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801F9004 001F5F64 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801F9008 001F5F68 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801F900C 001F5F6C 38 61 00 14 */ addi r3, r1, 0x14 /* 801F9010 001F5F70 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801F9014 001F5F74 38 A1 00 70 */ addi r5, r1, 0x70 /* 801F9018 001F5F78 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801F901C 001F5F7C 38 E0 00 01 */ li r7, 1 /* 801F9020 001F5F80 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801F9024 001F5F84 39 00 00 00 */ li r8, 0 /* 801F9028 001F5F88 D0 21 00 74 */ stfs f1, 0x74(r1) /* 801F902C 001F5F8C D0 41 00 78 */ stfs f2, 0x78(r1) /* 801F9030 001F5F90 A0 9D 05 9C */ lhz r4, 0x59c(r29) /* 801F9034 001F5F94 48 0F 12 7D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801F9038 001F5F98 34 A1 01 E4 */ addic. r5, r1, 0x1e4 /* 801F903C 001F5F9C 41 82 00 58 */ beq lbl_801F9094 /* 801F9040 001F5FA0 80 C5 00 00 */ lwz r6, 0(r5) /* 801F9044 001F5FA4 38 60 00 00 */ li r3, 0 /* 801F9048 001F5FA8 2C 06 00 00 */ cmpwi r6, 0 /* 801F904C 001F5FAC 40 81 00 40 */ ble lbl_801F908C /* 801F9050 001F5FB0 2C 06 00 08 */ cmpwi r6, 8 /* 801F9054 001F5FB4 38 86 FF F8 */ addi r4, r6, -8 /* 801F9058 001F5FB8 40 81 00 20 */ ble lbl_801F9078 /* 801F905C 001F5FBC 38 04 00 07 */ addi r0, r4, 7 /* 801F9060 001F5FC0 54 00 E8 FE */ srwi r0, r0, 3 /* 801F9064 001F5FC4 7C 09 03 A6 */ mtctr r0 /* 801F9068 001F5FC8 2C 04 00 00 */ cmpwi r4, 0 /* 801F906C 001F5FCC 40 81 00 0C */ ble lbl_801F9078 lbl_801F9070: /* 801F9070 001F5FD0 38 63 00 08 */ addi r3, r3, 8 /* 801F9074 001F5FD4 42 00 FF FC */ bdnz lbl_801F9070 lbl_801F9078: /* 801F9078 001F5FD8 7C 03 30 50 */ subf r0, r3, r6 /* 801F907C 001F5FDC 7C 09 03 A6 */ mtctr r0 /* 801F9080 001F5FE0 7C 03 30 00 */ cmpw r3, r6 /* 801F9084 001F5FE4 40 80 00 08 */ bge lbl_801F908C lbl_801F9088: /* 801F9088 001F5FE8 42 00 00 00 */ bdnz lbl_801F9088 lbl_801F908C: /* 801F908C 001F5FEC 38 00 00 00 */ li r0, 0 /* 801F9090 001F5FF0 90 05 00 00 */ stw r0, 0(r5) lbl_801F9094: /* 801F9094 001F5FF4 57 E3 06 3E */ clrlwi r3, r31, 0x18 /* 801F9098 001F5FF8 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 /* 801F909C 001F5FFC 80 01 02 54 */ lwz r0, 0x254(r1) /* 801F90A0 001F6000 CB E1 02 40 */ lfd f31, 0x240(r1) /* 801F90A4 001F6004 83 E1 02 3C */ lwz r31, 0x23c(r1) /* 801F90A8 001F6008 83 C1 02 38 */ lwz r30, 0x238(r1) /* 801F90AC 001F600C 83 A1 02 34 */ lwz r29, 0x234(r1) /* 801F90B0 001F6010 83 81 02 30 */ lwz r28, 0x230(r1) /* 801F90B4 001F6014 7C 08 03 A6 */ mtlr r0 /* 801F90B8 001F6018 38 21 02 50 */ addi r1, r1, 0x250 /* 801F90BC 001F601C 4E 80 00 20 */ blr .global ProjectileInfo__13CFlyingPirateFv ProjectileInfo__13CFlyingPirateFv: /* 801F90C0 001F6020 38 63 05 74 */ addi r3, r3, 0x574 /* 801F90C4 001F6024 4E 80 00 20 */ blr .global ShouldRetreat__13CFlyingPirateFR13CStateManagerf ShouldRetreat__13CFlyingPirateFR13CStateManagerf: /* 801F90C8 001F6028 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801F90CC 001F602C 7C 08 02 A6 */ mflr r0 /* 801F90D0 001F6030 90 01 00 54 */ stw r0, 0x54(r1) /* 801F90D4 001F6034 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801F90D8 001F6038 3B E0 00 00 */ li r31, 0 /* 801F90DC 001F603C 93 C1 00 48 */ stw r30, 0x48(r1) /* 801F90E0 001F6040 7C 7E 1B 78 */ mr r30, r3 /* 801F90E4 001F6044 93 A1 00 44 */ stw r29, 0x44(r1) /* 801F90E8 001F6048 7C 9D 23 78 */ mr r29, r4 /* 801F90EC 001F604C 88 03 06 A2 */ lbz r0, 0x6a2(r3) /* 801F90F0 001F6050 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 801F90F4 001F6054 41 82 01 34 */ beq lbl_801F9228 /* 801F90F8 001F6058 7F C4 F3 78 */ mr r4, r30 /* 801F90FC 001F605C 7F A5 EB 78 */ mr r5, r29 /* 801F9100 001F6060 38 61 00 14 */ addi r3, r1, 0x14 /* 801F9104 001F6064 38 C0 00 0D */ li r6, 0xd /* 801F9108 001F6068 38 E0 00 06 */ li r7, 6 /* 801F910C 001F606C 4B FF BE 8D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F9110 001F6070 A0 01 00 14 */ lhz r0, 0x14(r1) /* 801F9114 001F6074 7F A3 EB 78 */ mr r3, r29 /* 801F9118 001F6078 38 81 00 10 */ addi r4, r1, 0x10 /* 801F911C 001F607C B0 01 00 18 */ sth r0, 0x18(r1) /* 801F9120 001F6080 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F9124 001F6084 4B E5 34 81 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F9128 001F6088 7C 64 1B 78 */ mr r4, r3 /* 801F912C 001F608C 38 61 00 24 */ addi r3, r1, 0x24 /* 801F9130 001F6090 4B EA D4 1D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F9134 001F6094 80 03 00 04 */ lwz r0, 4(r3) /* 801F9138 001F6098 28 00 00 00 */ cmplwi r0, 0 /* 801F913C 001F609C 7C 05 03 78 */ mr r5, r0 /* 801F9140 001F60A0 40 82 00 44 */ bne lbl_801F9184 /* 801F9144 001F60A4 7F C4 F3 78 */ mr r4, r30 /* 801F9148 001F60A8 7F A5 EB 78 */ mr r5, r29 /* 801F914C 001F60AC 38 61 00 0C */ addi r3, r1, 0xc /* 801F9150 001F60B0 38 C0 00 0C */ li r6, 0xc /* 801F9154 001F60B4 38 E0 00 06 */ li r7, 6 /* 801F9158 001F60B8 4B FF BE 41 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801F915C 001F60BC A0 01 00 0C */ lhz r0, 0xc(r1) /* 801F9160 001F60C0 7F A3 EB 78 */ mr r3, r29 /* 801F9164 001F60C4 38 81 00 08 */ addi r4, r1, 8 /* 801F9168 001F60C8 B0 01 00 18 */ sth r0, 0x18(r1) /* 801F916C 001F60CC B0 01 00 08 */ sth r0, 8(r1) /* 801F9170 001F60D0 4B E5 34 35 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F9174 001F60D4 7C 64 1B 78 */ mr r4, r3 /* 801F9178 001F60D8 38 61 00 1C */ addi r3, r1, 0x1c /* 801F917C 001F60DC 4B EA D3 D1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801F9180 001F60E0 80 A3 00 04 */ lwz r5, 4(r3) lbl_801F9184: /* 801F9184 001F60E4 28 05 00 00 */ cmplwi r5, 0 /* 801F9188 001F60E8 41 82 00 A0 */ beq lbl_801F9228 /* 801F918C 001F60EC 88 7E 06 A2 */ lbz r3, 0x6a2(r30) /* 801F9190 001F60F0 38 00 00 00 */ li r0, 0 /* 801F9194 001F60F4 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c /* 801F9198 001F60F8 A0 01 00 18 */ lhz r0, 0x18(r1) /* 801F919C 001F60FC 98 7E 06 A2 */ stb r3, 0x6a2(r30) /* 801F91A0 001F6100 7F C3 F3 78 */ mr r3, r30 /* 801F91A4 001F6104 38 81 00 2C */ addi r4, r1, 0x2c /* 801F91A8 001F6108 3B E0 00 01 */ li r31, 1 /* 801F91AC 001F610C B0 1E 02 DC */ sth r0, 0x2dc(r30) /* 801F91B0 001F6110 C0 45 00 60 */ lfs f2, 0x60(r5) /* 801F91B4 001F6114 C0 25 00 50 */ lfs f1, 0x50(r5) /* 801F91B8 001F6118 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801F91BC 001F611C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801F91C0 001F6120 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801F91C4 001F6124 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801F91C8 001F6128 4B E8 39 95 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F91CC 001F612C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801F91D0 001F6130 38 80 00 00 */ li r4, 0 /* 801F91D4 001F6134 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801F91D8 001F6138 38 60 00 01 */ li r3, 1 /* 801F91DC 001F613C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801F91E0 001F6140 D0 1E 02 EC */ stfs f0, 0x2ec(r30) /* 801F91E4 001F6144 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) /* 801F91E8 001F6148 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) /* 801F91EC 001F614C 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F91F0 001F6150 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801F91F4 001F6154 98 1E 03 28 */ stb r0, 0x328(r30) /* 801F91F8 001F6158 88 1E 06 A1 */ lbz r0, 0x6a1(r30) /* 801F91FC 001F615C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801F9200 001F6160 98 1E 06 A1 */ stb r0, 0x6a1(r30) /* 801F9204 001F6164 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801F9208 001F6168 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801F920C 001F616C 98 1E 06 A0 */ stb r0, 0x6a0(r30) /* 801F9210 001F6170 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801F9214 001F6174 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 801F9218 001F6178 98 1E 06 A0 */ stb r0, 0x6a0(r30) /* 801F921C 001F617C 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F9220 001F6180 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801F9224 001F6184 98 1E 04 00 */ stb r0, 0x400(r30) lbl_801F9228: /* 801F9228 001F6188 80 01 00 54 */ lwz r0, 0x54(r1) /* 801F922C 001F618C 7F E3 FB 78 */ mr r3, r31 /* 801F9230 001F6190 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801F9234 001F6194 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801F9238 001F6198 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801F923C 001F619C 7C 08 03 A6 */ mtlr r0 /* 801F9240 001F61A0 38 21 00 50 */ addi r1, r1, 0x50 /* 801F9244 001F61A4 4E 80 00 20 */ blr .global Deactivate__13CFlyingPirateFR13CStateManager9EStateMsgf Deactivate__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F9248 001F61A8 2C 05 00 00 */ cmpwi r5, 0 /* 801F924C 001F61AC 4C 82 00 20 */ bnelr /* 801F9250 001F61B0 88 03 04 01 */ lbz r0, 0x401(r3) /* 801F9254 001F61B4 38 80 00 01 */ li r4, 1 /* 801F9258 001F61B8 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 801F925C 001F61BC 98 03 04 01 */ stb r0, 0x401(r3) /* 801F9260 001F61C0 4E 80 00 20 */ blr .global Explode__13CFlyingPirateFR13CStateManager9EStateMsgf Explode__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F9264 001F61C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F9268 001F61C8 7C 08 02 A6 */ mflr r0 /* 801F926C 001F61CC 2C 05 00 01 */ cmpwi r5, 1 /* 801F9270 001F61D0 90 01 00 14 */ stw r0, 0x14(r1) /* 801F9274 001F61D4 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F9278 001F61D8 7C 9F 23 78 */ mr r31, r4 /* 801F927C 001F61DC 93 C1 00 08 */ stw r30, 8(r1) /* 801F9280 001F61E0 7C 7E 1B 78 */ mr r30, r3 /* 801F9284 001F61E4 41 82 00 74 */ beq lbl_801F92F8 /* 801F9288 001F61E8 40 80 00 84 */ bge lbl_801F930C /* 801F928C 001F61EC 2C 05 00 00 */ cmpwi r5, 0 /* 801F9290 001F61F0 40 80 00 0C */ bge lbl_801F929C /* 801F9294 001F61F4 48 00 00 78 */ b lbl_801F930C /* 801F9298 001F61F8 48 00 00 74 */ b lbl_801F930C lbl_801F929C: /* 801F929C 001F61FC 7F E8 FB 78 */ mr r8, r31 /* 801F92A0 001F6200 38 80 00 28 */ li r4, 0x28 /* 801F92A4 001F6204 38 A0 00 29 */ li r5, 0x29 /* 801F92A8 001F6208 38 C0 00 25 */ li r6, 0x25 /* 801F92AC 001F620C 38 E0 00 13 */ li r7, 0x13 /* 801F92B0 001F6210 4B E5 AA 39 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager /* 801F92B4 001F6214 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F92B8 001F6218 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F92BC 001F621C D0 1E 01 50 */ stfs f0, 0x150(r30) /* 801F92C0 001F6220 C0 03 00 04 */ lfs f0, 4(r3) /* 801F92C4 001F6224 D0 1E 01 54 */ stfs f0, 0x154(r30) /* 801F92C8 001F6228 C0 03 00 08 */ lfs f0, 8(r3) /* 801F92CC 001F622C D0 1E 01 58 */ stfs f0, 0x158(r30) /* 801F92D0 001F6230 88 1E 04 00 */ lbz r0, 0x400(r30) /* 801F92D4 001F6234 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801F92D8 001F6238 40 82 00 34 */ bne lbl_801F930C /* 801F92DC 001F623C 7F C3 F3 78 */ mr r3, r30 /* 801F92E0 001F6240 7F E4 FB 78 */ mr r4, r31 /* 801F92E4 001F6244 81 9E 00 00 */ lwz r12, 0(r30) /* 801F92E8 001F6248 81 8C 02 98 */ lwz r12, 0x298(r12) /* 801F92EC 001F624C 7D 89 03 A6 */ mtctr r12 /* 801F92F0 001F6250 4E 80 04 21 */ bctrl /* 801F92F4 001F6254 48 00 00 18 */ b lbl_801F930C lbl_801F92F8: /* 801F92F8 001F6258 C0 3E 03 38 */ lfs f1, 0x338(r30) /* 801F92FC 001F625C C0 02 AF B0 */ lfs f0, lbl_805ACCD0@sda21(r2) /* 801F9300 001F6260 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F9304 001F6264 40 81 00 08 */ ble lbl_801F930C /* 801F9308 001F6268 4B E7 F6 F9 */ bl DeathDelete__10CPatternedFR13CStateManager lbl_801F930C: /* 801F930C 001F626C 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F9310 001F6270 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F9314 001F6274 83 C1 00 08 */ lwz r30, 8(r1) /* 801F9318 001F6278 7C 08 03 A6 */ mtlr r0 /* 801F931C 001F627C 38 21 00 10 */ addi r1, r1, 0x10 /* 801F9320 001F6280 4E 80 00 20 */ blr .global AnimOver__13CFlyingPirateFR13CStateManagerf AnimOver__13CFlyingPirateFR13CStateManagerf: /* 801F9324 001F6284 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801F9328 001F6288 7C 08 02 A6 */ mflr r0 /* 801F932C 001F628C 90 01 00 14 */ stw r0, 0x14(r1) /* 801F9330 001F6290 80 A3 04 50 */ lwz r5, 0x450(r3) /* 801F9334 001F6294 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 801F9338 001F6298 2C 00 00 04 */ cmpwi r0, 4 /* 801F933C 001F629C 40 82 00 0C */ bne lbl_801F9348 /* 801F9340 001F62A0 38 60 00 01 */ li r3, 1 /* 801F9344 001F62A4 48 00 00 08 */ b lbl_801F934C lbl_801F9348: /* 801F9348 001F62A8 4B FF C8 2D */ bl AnimOver__10CPatternedFR13CStateManagerf lbl_801F934C: /* 801F934C 001F62AC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801F9350 001F62B0 7C 08 03 A6 */ mtlr r0 /* 801F9354 001F62B4 38 21 00 10 */ addi r1, r1, 0x10 /* 801F9358 001F62B8 4E 80 00 20 */ blr .global Dead__13CFlyingPirateFR13CStateManager9EStateMsgf Dead__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F935C 001F62BC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801F9360 001F62C0 7C 08 02 A6 */ mflr r0 /* 801F9364 001F62C4 90 01 00 34 */ stw r0, 0x34(r1) /* 801F9368 001F62C8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801F936C 001F62CC 7C BF 2B 78 */ mr r31, r5 /* 801F9370 001F62D0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801F9374 001F62D4 7C 9E 23 78 */ mr r30, r4 /* 801F9378 001F62D8 93 A1 00 24 */ stw r29, 0x24(r1) /* 801F937C 001F62DC 7C 7D 1B 78 */ mr r29, r3 /* 801F9380 001F62E0 4B FF D6 45 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf /* 801F9384 001F62E4 2C 1F 00 00 */ cmpwi r31, 0 /* 801F9388 001F62E8 41 82 00 0C */ beq lbl_801F9394 /* 801F938C 001F62EC 41 80 00 5C */ blt lbl_801F93E8 /* 801F9390 001F62F0 48 00 00 58 */ b lbl_801F93E8 lbl_801F9394: /* 801F9394 001F62F4 38 7D 07 A0 */ addi r3, r29, 0x7a0 /* 801F9398 001F62F8 38 80 00 00 */ li r4, 0 /* 801F939C 001F62FC 4B F7 BE 89 */ bl SetActive__13CBoneTrackingFb /* 801F93A0 001F6300 80 BD 00 64 */ lwz r5, 0x64(r29) /* 801F93A4 001F6304 3C 60 80 57 */ lis r3, lbl_80572118@ha /* 801F93A8 001F6308 38 83 21 18 */ addi r4, r3, lbl_80572118@l /* 801F93AC 001F630C 7F C6 F3 78 */ mr r6, r30 /* 801F93B0 001F6310 80 65 00 10 */ lwz r3, 0x10(r5) /* 801F93B4 001F6314 38 A0 00 00 */ li r5, 0 /* 801F93B8 001F6318 4B E3 1A 09 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager /* 801F93BC 001F631C A1 1D 00 08 */ lhz r8, 8(r29) /* 801F93C0 001F6320 7F C4 F3 78 */ mr r4, r30 /* 801F93C4 001F6324 38 A1 00 10 */ addi r5, r1, 0x10 /* 801F93C8 001F6328 38 C1 00 0C */ addi r6, r1, 0xc /* 801F93CC 001F632C B1 01 00 0C */ sth r8, 0xc(r1) /* 801F93D0 001F6330 38 60 00 01 */ li r3, 1 /* 801F93D4 001F6334 38 E0 00 01 */ li r7, 1 /* 801F93D8 001F6338 A0 1D 08 90 */ lhz r0, 0x890(r29) /* 801F93DC 001F633C B1 01 00 08 */ sth r8, 8(r1) /* 801F93E0 001F6340 B0 01 00 10 */ sth r0, 0x10(r1) /* 801F93E4 001F6344 48 04 0A ED */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb lbl_801F93E8: /* 801F93E8 001F6348 80 01 00 34 */ lwz r0, 0x34(r1) /* 801F93EC 001F634C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801F93F0 001F6350 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801F93F4 001F6354 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801F93F8 001F6358 7C 08 03 A6 */ mtlr r0 /* 801F93FC 001F635C 38 21 00 30 */ addi r1, r1, 0x30 /* 801F9400 001F6360 4E 80 00 20 */ blr .global Enraged__13CFlyingPirateFR13CStateManager9EStateMsgf Enraged__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F9404 001F6364 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801F9408 001F6368 7C 08 02 A6 */ mflr r0 /* 801F940C 001F636C 90 01 00 84 */ stw r0, 0x84(r1) /* 801F9410 001F6370 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801F9414 001F6374 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801F9418 001F6378 DB C1 00 60 */ stfd f30, 0x60(r1) /* 801F941C 001F637C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 801F9420 001F6380 DB A1 00 50 */ stfd f29, 0x50(r1) /* 801F9424 001F6384 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 /* 801F9428 001F6388 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801F942C 001F638C 93 C1 00 48 */ stw r30, 0x48(r1) /* 801F9430 001F6390 2C 05 00 01 */ cmpwi r5, 1 /* 801F9434 001F6394 7C 7E 1B 78 */ mr r30, r3 /* 801F9438 001F6398 7C 85 23 78 */ mr r5, r4 /* 801F943C 001F639C 41 82 00 08 */ beq lbl_801F9444 /* 801F9440 001F63A0 48 00 01 08 */ b lbl_801F9548 lbl_801F9444: /* 801F9444 001F63A4 C0 5E 06 2C */ lfs f2, 0x62c(r30) /* 801F9448 001F63A8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801F944C 001F63AC 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l /* 801F9450 001F63B0 C0 02 AF B4 */ lfs f0, lbl_805ACCD4@sda21(r2) /* 801F9454 001F63B4 EC A1 00 B2 */ fmuls f5, f1, f2 /* 801F9458 001F63B8 C0 5F 00 00 */ lfs f2, 0(r31) /* 801F945C 001F63BC C0 9F 00 04 */ lfs f4, 4(r31) /* 801F9460 001F63C0 7F C4 F3 78 */ mr r4, r30 /* 801F9464 001F63C4 C0 7F 00 08 */ lfs f3, 8(r31) /* 801F9468 001F63C8 38 61 00 08 */ addi r3, r1, 8 /* 801F946C 001F63CC EC A1 01 72 */ fmuls f5, f1, f5 /* 801F9470 001F63D0 EC 25 00 B2 */ fmuls f1, f5, f2 /* 801F9474 001F63D4 EC 85 01 32 */ fmuls f4, f5, f4 /* 801F9478 001F63D8 EC 45 00 F2 */ fmuls f2, f5, f3 /* 801F947C 001F63DC D0 3E 08 7C */ stfs f1, 0x87c(r30) /* 801F9480 001F63E0 D0 9E 08 80 */ stfs f4, 0x880(r30) /* 801F9484 001F63E4 D0 5E 08 84 */ stfs f2, 0x884(r30) /* 801F9488 001F63E8 D0 1E 08 98 */ stfs f0, 0x898(r30) /* 801F948C 001F63EC C0 3E 08 70 */ lfs f1, 0x870(r30) /* 801F9490 001F63F0 C0 1E 08 7C */ lfs f0, 0x87c(r30) /* 801F9494 001F63F4 EC 01 00 2A */ fadds f0, f1, f0 /* 801F9498 001F63F8 D0 1E 08 70 */ stfs f0, 0x870(r30) /* 801F949C 001F63FC C0 3E 08 74 */ lfs f1, 0x874(r30) /* 801F94A0 001F6400 C0 1E 08 80 */ lfs f0, 0x880(r30) /* 801F94A4 001F6404 EC 01 00 2A */ fadds f0, f1, f0 /* 801F94A8 001F6408 D0 1E 08 74 */ stfs f0, 0x874(r30) /* 801F94AC 001F640C C0 3E 08 78 */ lfs f1, 0x878(r30) /* 801F94B0 001F6410 C0 1E 08 84 */ lfs f0, 0x884(r30) /* 801F94B4 001F6414 EC 01 00 2A */ fadds f0, f1, f0 /* 801F94B8 001F6418 D0 1E 08 78 */ stfs f0, 0x878(r30) /* 801F94BC 001F641C C3 BE 00 60 */ lfs f29, 0x60(r30) /* 801F94C0 001F6420 C3 DE 00 50 */ lfs f30, 0x50(r30) /* 801F94C4 001F6424 C3 FE 00 40 */ lfs f31, 0x40(r30) /* 801F94C8 001F6428 48 00 33 CD */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801F94CC 001F642C C0 41 00 08 */ lfs f2, 8(r1) /* 801F94D0 001F6430 38 61 00 20 */ addi r3, r1, 0x20 /* 801F94D4 001F6434 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801F94D8 001F6438 38 81 00 14 */ addi r4, r1, 0x14 /* 801F94DC 001F643C C0 01 00 10 */ lfs f0, 0x10(r1) /* 801F94E0 001F6440 EC 42 F8 28 */ fsubs f2, f2, f31 /* 801F94E4 001F6444 EC 21 F0 28 */ fsubs f1, f1, f30 /* 801F94E8 001F6448 EC 00 E8 28 */ fsubs f0, f0, f29 /* 801F94EC 001F644C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801F94F0 001F6450 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F94F4 001F6454 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801F94F8 001F6458 48 11 B3 59 */ bl AsNormalized__9CVector3fCFv /* 801F94FC 001F645C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801F9500 001F6460 C0 BF 00 04 */ lfs f5, 4(r31) /* 801F9504 001F6464 C0 9F 00 08 */ lfs f4, 8(r31) /* 801F9508 001F6468 38 81 00 2C */ addi r4, r1, 0x2c /* 801F950C 001F646C C0 C3 66 F4 */ lfs f6, lbl_805A66F4@l(r3) /* 801F9510 001F6470 C0 61 00 20 */ lfs f3, 0x20(r1) /* 801F9514 001F6474 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801F9518 001F6478 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801F951C 001F647C C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801F9520 001F6480 D0 C1 00 2C */ stfs f6, 0x2c(r1) /* 801F9524 001F6484 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 801F9528 001F6488 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801F952C 001F648C D0 61 00 38 */ stfs f3, 0x38(r1) /* 801F9530 001F6490 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 801F9534 001F6494 D0 21 00 40 */ stfs f1, 0x40(r1) /* 801F9538 001F6498 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801F953C 001F649C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F9540 001F64A0 38 63 00 04 */ addi r3, r3, 4 /* 801F9544 001F64A4 4B F3 81 D5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_801F9548: /* 801F9548 001F64A8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801F954C 001F64AC CB E1 00 70 */ lfd f31, 0x70(r1) /* 801F9550 001F64B0 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 801F9554 001F64B4 CB C1 00 60 */ lfd f30, 0x60(r1) /* 801F9558 001F64B8 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 /* 801F955C 001F64BC CB A1 00 50 */ lfd f29, 0x50(r1) /* 801F9560 001F64C0 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801F9564 001F64C4 80 01 00 84 */ lwz r0, 0x84(r1) /* 801F9568 001F64C8 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801F956C 001F64CC 7C 08 03 A6 */ mtlr r0 /* 801F9570 001F64D0 38 21 00 80 */ addi r1, r1, 0x80 /* 801F9574 001F64D4 4E 80 00 20 */ blr .global AggressionCheck__13CFlyingPirateFR13CStateManagerf AggressionCheck__13CFlyingPirateFR13CStateManagerf: /* 801F9578 001F64D8 88 03 06 A2 */ lbz r0, 0x6a2(r3) /* 801F957C 001F64DC 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 801F9580 001F64E0 4E 80 00 20 */ blr .global Stuck__13CFlyingPirateFR13CStateManagerf Stuck__13CFlyingPirateFR13CStateManagerf: /* 801F9584 001F64E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F9588 001F64E8 7C 08 02 A6 */ mflr r0 /* 801F958C 001F64EC C0 02 AF 74 */ lfs f0, lbl_805ACC94@sda21(r2) /* 801F9590 001F64F0 90 01 00 24 */ stw r0, 0x24(r1) /* 801F9594 001F64F4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F9598 001F64F8 3B E0 00 00 */ li r31, 0 /* 801F959C 001F64FC 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F95A0 001F6500 93 A1 00 14 */ stw r29, 0x14(r1) /* 801F95A4 001F6504 7C 7D 1B 78 */ mr r29, r3 /* 801F95A8 001F6508 C0 43 03 38 */ lfs f2, 0x338(r3) /* 801F95AC 001F650C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801F95B0 001F6510 40 81 00 44 */ ble lbl_801F95F4 /* 801F95B4 001F6514 3B C0 00 01 */ li r30, 1 /* 801F95B8 001F6518 4B FF C5 A5 */ bl Stuck__10CPatternedFR13CStateManagerf /* 801F95BC 001F651C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F95C0 001F6520 40 82 00 28 */ bne lbl_801F95E8 /* 801F95C4 001F6524 7F A3 EB 78 */ mr r3, r29 /* 801F95C8 001F6528 81 9D 00 00 */ lwz r12, 0(r29) /* 801F95CC 001F652C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801F95D0 001F6530 7D 89 03 A6 */ mtctr r12 /* 801F95D4 001F6534 4E 80 04 21 */ bctrl /* 801F95D8 001F6538 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801F95DC 001F653C 2C 00 00 00 */ cmpwi r0, 0 /* 801F95E0 001F6540 40 82 00 08 */ bne lbl_801F95E8 /* 801F95E4 001F6544 3B C0 00 00 */ li r30, 0 lbl_801F95E8: /* 801F95E8 001F6548 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801F95EC 001F654C 41 82 00 08 */ beq lbl_801F95F4 /* 801F95F0 001F6550 3B E0 00 01 */ li r31, 1 lbl_801F95F4: /* 801F95F4 001F6554 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F95F8 001F6558 7F E3 FB 78 */ mr r3, r31 /* 801F95FC 001F655C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F9600 001F6560 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F9604 001F6564 83 A1 00 14 */ lwz r29, 0x14(r1) /* 801F9608 001F6568 7C 08 03 A6 */ mtlr r0 /* 801F960C 001F656C 38 21 00 20 */ addi r1, r1, 0x20 /* 801F9610 001F6570 4E 80 00 20 */ blr .global ShouldMove__13CFlyingPirateFR13CStateManagerf ShouldMove__13CFlyingPirateFR13CStateManagerf: /* 801F9614 001F6574 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801F9618 001F6578 7C 08 02 A6 */ mflr r0 /* 801F961C 001F657C 90 01 00 84 */ stw r0, 0x84(r1) /* 801F9620 001F6580 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801F9624 001F6584 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801F9628 001F6588 DB C1 00 60 */ stfd f30, 0x60(r1) /* 801F962C 001F658C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 801F9630 001F6590 DB A1 00 50 */ stfd f29, 0x50(r1) /* 801F9634 001F6594 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 /* 801F9638 001F6598 DB 81 00 40 */ stfd f28, 0x40(r1) /* 801F963C 001F659C F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 /* 801F9640 001F65A0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801F9644 001F65A4 93 C1 00 38 */ stw r30, 0x38(r1) /* 801F9648 001F65A8 7C 9F 23 78 */ mr r31, r4 /* 801F964C 001F65AC 7C 7E 1B 78 */ mr r30, r3 /* 801F9650 001F65B0 80 64 08 4C */ lwz r3, 0x84c(r4) /* 801F9654 001F65B4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F9658 001F65B8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801F965C 001F65BC C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801F9660 001F65C0 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801F9664 001F65C4 EF 81 00 28 */ fsubs f28, f1, f0 /* 801F9668 001F65C8 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801F966C 001F65CC C0 03 00 60 */ lfs f0, 0x60(r3) /* 801F9670 001F65D0 EF A3 10 28 */ fsubs f29, f3, f2 /* 801F9674 001F65D4 80 64 09 00 */ lwz r3, 0x900(r4) /* 801F9678 001F65D8 EF C1 00 28 */ fsubs f30, f1, f0 /* 801F967C 001F65DC 48 11 8E 61 */ bl Float__9CRandom16Fv /* 801F9680 001F65E0 C0 02 AF 74 */ lfs f0, lbl_805ACC94@sda21(r2) /* 801F9684 001F65E4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F9688 001F65E8 40 80 00 1C */ bge lbl_801F96A4 /* 801F968C 001F65EC 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801F9690 001F65F0 C0 22 AF B8 */ lfs f1, lbl_805ACCD8@sda21(r2) /* 801F9694 001F65F4 C0 42 AF BC */ lfs f2, lbl_805ACCDC@sda21(r2) /* 801F9698 001F65F8 48 11 8E AD */ bl Range__9CRandom16Fff /* 801F969C 001F65FC FF E0 08 90 */ fmr f31, f1 /* 801F96A0 001F6600 48 00 00 18 */ b lbl_801F96B8 lbl_801F96A4: /* 801F96A4 001F6604 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801F96A8 001F6608 C0 22 AF C0 */ lfs f1, lbl_805ACCE0@sda21(r2) /* 801F96AC 001F660C C0 42 AF C4 */ lfs f2, lbl_805ACCE4@sda21(r2) /* 801F96B0 001F6610 48 11 8E 95 */ bl Range__9CRandom16Fff /* 801F96B4 001F6614 FF E0 08 90 */ fmr f31, f1 lbl_801F96B8: /* 801F96B8 001F6618 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 801F96BC 001F661C 38 61 00 20 */ addi r3, r1, 0x20 /* 801F96C0 001F6620 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l /* 801F96C4 001F6624 38 81 00 14 */ addi r4, r1, 0x14 /* 801F96C8 001F6628 C0 65 00 04 */ lfs f3, 4(r5) /* 801F96CC 001F662C C0 85 00 08 */ lfs f4, 8(r5) /* 801F96D0 001F6630 C0 A5 00 00 */ lfs f5, 0(r5) /* 801F96D4 001F6634 EC 43 07 B2 */ fmuls f2, f3, f30 /* 801F96D8 001F6638 EC 24 07 32 */ fmuls f1, f4, f28 /* 801F96DC 001F663C EC 05 07 72 */ fmuls f0, f5, f29 /* 801F96E0 001F6640 EC 5D 11 38 */ fmsubs f2, f29, f4, f2 /* 801F96E4 001F6644 EC 3E 09 78 */ fmsubs f1, f30, f5, f1 /* 801F96E8 001F6648 EC 1C 00 F8 */ fmsubs f0, f28, f3, f0 /* 801F96EC 001F664C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801F96F0 001F6650 D0 21 00 18 */ stfs f1, 0x18(r1) /* 801F96F4 001F6654 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801F96F8 001F6658 48 11 B1 59 */ bl AsNormalized__9CVector3fCFv /* 801F96FC 001F665C C0 41 00 24 */ lfs f2, 0x24(r1) /* 801F9700 001F6660 7F C3 F3 78 */ mr r3, r30 /* 801F9704 001F6664 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801F9708 001F6668 38 81 00 2C */ addi r4, r1, 0x2c /* 801F970C 001F666C C0 01 00 20 */ lfs f0, 0x20(r1) /* 801F9710 001F6670 EC 9F 00 B2 */ fmuls f4, f31, f2 /* 801F9714 001F6674 C0 BE 00 50 */ lfs f5, 0x50(r30) /* 801F9718 001F6678 EC 5F 00 72 */ fmuls f2, f31, f1 /* 801F971C 001F667C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801F9720 001F6680 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801F9724 001F6684 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F9728 001F6688 EC 85 20 2A */ fadds f4, f5, f4 /* 801F972C 001F668C EC 43 10 2A */ fadds f2, f3, f2 /* 801F9730 001F6690 EC 01 00 2A */ fadds f0, f1, f0 /* 801F9734 001F6694 D0 81 00 30 */ stfs f4, 0x30(r1) /* 801F9738 001F6698 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801F973C 001F669C D0 41 00 34 */ stfs f2, 0x34(r1) /* 801F9740 001F66A0 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801F9744 001F66A4 C0 1E 05 F4 */ lfs f0, 0x5f4(r30) /* 801F9748 001F66A8 C0 65 00 60 */ lfs f3, 0x60(r5) /* 801F974C 001F66AC C0 45 00 50 */ lfs f2, 0x50(r5) /* 801F9750 001F66B0 C0 25 00 40 */ lfs f1, 0x40(r5) /* 801F9754 001F66B4 EC 03 00 2A */ fadds f0, f3, f0 /* 801F9758 001F66B8 D0 41 00 0C */ stfs f2, 0xc(r1) /* 801F975C 001F66BC D0 21 00 08 */ stfs f1, 8(r1) /* 801F9760 001F66C0 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801F9764 001F66C4 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801F9768 001F66C8 4B E8 33 F5 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F976C 001F66CC 88 1E 06 A1 */ lbz r0, 0x6a1(r30) /* 801F9770 001F66D0 38 60 00 01 */ li r3, 1 /* 801F9774 001F66D4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801F9778 001F66D8 38 60 00 01 */ li r3, 1 /* 801F977C 001F66DC 98 1E 06 A1 */ stb r0, 0x6a1(r30) /* 801F9780 001F66E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801F9784 001F66E4 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801F9788 001F66E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 801F978C 001F66EC CB C1 00 60 */ lfd f30, 0x60(r1) /* 801F9790 001F66F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 /* 801F9794 001F66F4 CB A1 00 50 */ lfd f29, 0x50(r1) /* 801F9798 001F66F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 /* 801F979C 001F66FC CB 81 00 40 */ lfd f28, 0x40(r1) /* 801F97A0 001F6700 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801F97A4 001F6704 80 01 00 84 */ lwz r0, 0x84(r1) /* 801F97A8 001F6708 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801F97AC 001F670C 7C 08 03 A6 */ mtlr r0 /* 801F97B0 001F6710 38 21 00 80 */ addi r1, r1, 0x80 /* 801F97B4 001F6714 4E 80 00 20 */ blr .global ProjectileAttack__13CFlyingPirateFR13CStateManager9EStateMsgf ProjectileAttack__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F97B8 001F6718 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F97BC 001F671C 7C 08 02 A6 */ mflr r0 /* 801F97C0 001F6720 2C 05 00 01 */ cmpwi r5, 1 /* 801F97C4 001F6724 90 01 00 24 */ stw r0, 0x24(r1) /* 801F97C8 001F6728 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F97CC 001F672C 7C 7F 1B 78 */ mr r31, r3 /* 801F97D0 001F6730 41 82 00 38 */ beq lbl_801F9808 /* 801F97D4 001F6734 40 80 00 10 */ bge lbl_801F97E4 /* 801F97D8 001F6738 2C 05 00 00 */ cmpwi r5, 0 /* 801F97DC 001F673C 40 80 00 14 */ bge lbl_801F97F0 /* 801F97E0 001F6740 48 00 00 78 */ b lbl_801F9858 lbl_801F97E4: /* 801F97E4 001F6744 2C 05 00 03 */ cmpwi r5, 3 /* 801F97E8 001F6748 40 80 00 70 */ bge lbl_801F9858 /* 801F97EC 001F674C 48 00 00 58 */ b lbl_801F9844 lbl_801F97F0: /* 801F97F0 001F6750 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F97F4 001F6754 38 60 00 01 */ li r3, 1 /* 801F97F8 001F6758 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801F97FC 001F675C 98 1F 06 A1 */ stb r0, 0x6a1(r31) /* 801F9800 001F6760 90 7F 03 2C */ stw r3, 0x32c(r31) /* 801F9804 001F6764 48 00 00 54 */ b lbl_801F9858 lbl_801F9808: /* 801F9808 001F6768 3C A0 80 3E */ lis r5, lbl_803E6850@ha /* 801F980C 001F676C 38 C1 00 08 */ addi r6, r1, 8 /* 801F9810 001F6770 39 45 68 50 */ addi r10, r5, lbl_803E6850@l /* 801F9814 001F6774 38 A0 00 12 */ li r5, 0x12 /* 801F9818 001F6778 81 2A 00 00 */ lwz r9, 0(r10) /* 801F981C 001F677C 38 E0 00 00 */ li r7, 0 /* 801F9820 001F6780 81 0A 00 04 */ lwz r8, 4(r10) /* 801F9824 001F6784 80 0A 00 08 */ lwz r0, 8(r10) /* 801F9828 001F6788 91 21 00 08 */ stw r9, 8(r1) /* 801F982C 001F678C 91 01 00 0C */ stw r8, 0xc(r1) /* 801F9830 001F6790 90 01 00 10 */ stw r0, 0x10(r1) /* 801F9834 001F6794 4B E8 2F 81 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801F9838 001F6798 7F E3 FB 78 */ mr r3, r31 /* 801F983C 001F679C 48 00 45 09 */ bl sub_801fdd44 /* 801F9840 001F67A0 48 00 00 18 */ b lbl_801F9858 lbl_801F9844: /* 801F9844 001F67A4 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F9848 001F67A8 38 60 00 00 */ li r3, 0 /* 801F984C 001F67AC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801F9850 001F67B0 98 1F 06 A1 */ stb r0, 0x6a1(r31) /* 801F9854 001F67B4 90 7F 03 2C */ stw r3, 0x32c(r31) lbl_801F9858: /* 801F9858 001F67B8 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F985C 001F67BC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F9860 001F67C0 7C 08 03 A6 */ mtlr r0 /* 801F9864 001F67C4 38 21 00 20 */ addi r1, r1, 0x20 /* 801F9868 001F67C8 4E 80 00 20 */ blr .global Walk__13CFlyingPirateFR13CStateManager9EStateMsgf Walk__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F986C 001F67CC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801F9870 001F67D0 7C 08 02 A6 */ mflr r0 /* 801F9874 001F67D4 2C 05 00 01 */ cmpwi r5, 1 /* 801F9878 001F67D8 90 01 00 54 */ stw r0, 0x54(r1) /* 801F987C 001F67DC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801F9880 001F67E0 7C 9F 23 78 */ mr r31, r4 /* 801F9884 001F67E4 93 C1 00 48 */ stw r30, 0x48(r1) /* 801F9888 001F67E8 7C 7E 1B 78 */ mr r30, r3 /* 801F988C 001F67EC 41 82 00 30 */ beq lbl_801F98BC /* 801F9890 001F67F0 40 80 00 10 */ bge lbl_801F98A0 /* 801F9894 001F67F4 2C 05 00 00 */ cmpwi r5, 0 /* 801F9898 001F67F8 40 80 00 14 */ bge lbl_801F98AC /* 801F989C 001F67FC 48 00 01 5C */ b lbl_801F99F8 lbl_801F98A0: /* 801F98A0 001F6800 2C 05 00 03 */ cmpwi r5, 3 /* 801F98A4 001F6804 40 80 01 54 */ bge lbl_801F99F8 /* 801F98A8 001F6808 48 00 01 10 */ b lbl_801F99B8 lbl_801F98AC: /* 801F98AC 001F680C C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F98B0 001F6810 38 A0 00 00 */ li r5, 0 /* 801F98B4 001F6814 48 00 43 35 */ bl sub_801fdbe8 /* 801F98B8 001F6818 48 00 01 40 */ b lbl_801F99F8 lbl_801F98BC: /* 801F98BC 001F681C 80 1E 03 2C */ lwz r0, 0x32c(r30) /* 801F98C0 001F6820 2C 00 00 00 */ cmpwi r0, 0 /* 801F98C4 001F6824 41 82 00 34 */ beq lbl_801F98F8 /* 801F98C8 001F6828 3C A0 80 3E */ lis r5, lbl_803E6844@ha /* 801F98CC 001F682C 38 C1 00 2C */ addi r6, r1, 0x2c /* 801F98D0 001F6830 39 45 68 44 */ addi r10, r5, lbl_803E6844@l /* 801F98D4 001F6834 38 A0 00 08 */ li r5, 8 /* 801F98D8 001F6838 81 2A 00 00 */ lwz r9, 0(r10) /* 801F98DC 001F683C 38 E0 00 00 */ li r7, 0 /* 801F98E0 001F6840 81 0A 00 04 */ lwz r8, 4(r10) /* 801F98E4 001F6844 80 0A 00 08 */ lwz r0, 8(r10) /* 801F98E8 001F6848 91 21 00 2C */ stw r9, 0x2c(r1) /* 801F98EC 001F684C 91 01 00 30 */ stw r8, 0x30(r1) /* 801F98F0 001F6850 90 01 00 34 */ stw r0, 0x34(r1) /* 801F98F4 001F6854 4B E8 2E C1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi lbl_801F98F8: /* 801F98F8 001F6858 80 1E 03 2C */ lwz r0, 0x32c(r30) /* 801F98FC 001F685C 2C 00 00 02 */ cmpwi r0, 2 /* 801F9900 001F6860 41 82 00 F8 */ beq lbl_801F99F8 /* 801F9904 001F6864 7F C4 F3 78 */ mr r4, r30 /* 801F9908 001F6868 7F E5 FB 78 */ mr r5, r31 /* 801F990C 001F686C 38 61 00 20 */ addi r3, r1, 0x20 /* 801F9910 001F6870 48 00 2F 85 */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801F9914 001F6874 C0 21 00 20 */ lfs f1, 0x20(r1) /* 801F9918 001F6878 38 61 00 08 */ addi r3, r1, 8 /* 801F991C 001F687C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F9920 001F6880 38 81 00 38 */ addi r4, r1, 0x38 /* 801F9924 001F6884 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) /* 801F9928 001F6888 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801F992C 001F688C D0 3E 02 E4 */ stfs f1, 0x2e4(r30) /* 801F9930 001F6890 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801F9934 001F6894 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) /* 801F9938 001F6898 C0 5E 02 E8 */ lfs f2, 0x2e8(r30) /* 801F993C 001F689C C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801F9940 001F68A0 C0 9E 02 E4 */ lfs f4, 0x2e4(r30) /* 801F9944 001F68A4 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801F9948 001F68A8 EC A2 08 28 */ fsubs f5, f2, f1 /* 801F994C 001F68AC C0 5E 02 E0 */ lfs f2, 0x2e0(r30) /* 801F9950 001F68B0 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F9954 001F68B4 EC 64 18 28 */ fsubs f3, f4, f3 /* 801F9958 001F68B8 EC 22 08 28 */ fsubs f1, f2, f1 /* 801F995C 001F68BC D0 A1 00 40 */ stfs f5, 0x40(r1) /* 801F9960 001F68C0 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801F9964 001F68C4 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801F9968 001F68C8 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801F996C 001F68CC 48 11 AE E5 */ bl AsNormalized__9CVector3fCFv /* 801F9970 001F68D0 C0 9E 00 48 */ lfs f4, 0x48(r30) /* 801F9974 001F68D4 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801F9978 001F68D8 C0 7E 00 38 */ lfs f3, 0x38(r30) /* 801F997C 001F68DC EC 04 00 32 */ fmuls f0, f4, f0 /* 801F9980 001F68E0 C0 21 00 08 */ lfs f1, 8(r1) /* 801F9984 001F68E4 C0 BE 00 58 */ lfs f5, 0x58(r30) /* 801F9988 001F68E8 C0 41 00 10 */ lfs f2, 0x10(r1) /* 801F998C 001F68EC EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801F9990 001F68F0 C0 02 AF C8 */ lfs f0, lbl_805ACCE8@sda21(r2) /* 801F9994 001F68F4 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801F9998 001F68F8 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 801F999C 001F68FC D0 81 00 18 */ stfs f4, 0x18(r1) /* 801F99A0 001F6900 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801F99A4 001F6904 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F99A8 001F6908 40 80 00 50 */ bge lbl_801F99F8 /* 801F99AC 001F690C 38 00 00 01 */ li r0, 1 /* 801F99B0 001F6910 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801F99B4 001F6914 48 00 00 44 */ b lbl_801F99F8 lbl_801F99B8: /* 801F99B8 001F6918 38 00 00 00 */ li r0, 0 /* 801F99BC 001F691C 38 80 00 03 */ li r4, 3 /* 801F99C0 001F6920 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801F99C4 001F6924 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F99C8 001F6928 4B F4 10 11 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F99CC 001F692C 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F99D0 001F6930 38 60 00 01 */ li r3, 1 /* 801F99D4 001F6934 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801F99D8 001F6938 98 1E 03 28 */ stb r0, 0x328(r30) /* 801F99DC 001F693C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F99E0 001F6940 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801F99E4 001F6944 D0 1E 01 50 */ stfs f0, 0x150(r30) /* 801F99E8 001F6948 C0 03 00 04 */ lfs f0, 4(r3) /* 801F99EC 001F694C D0 1E 01 54 */ stfs f0, 0x154(r30) /* 801F99F0 001F6950 C0 03 00 08 */ lfs f0, 8(r3) /* 801F99F4 001F6954 D0 1E 01 58 */ stfs f0, 0x158(r30) lbl_801F99F8: /* 801F99F8 001F6958 80 01 00 54 */ lwz r0, 0x54(r1) /* 801F99FC 001F695C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801F9A00 001F6960 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801F9A04 001F6964 7C 08 03 A6 */ mtlr r0 /* 801F9A08 001F6968 38 21 00 50 */ addi r1, r1, 0x50 /* 801F9A0C 001F696C 4E 80 00 20 */ blr .global Land__13CFlyingPirateFR13CStateManager9EStateMsgf Land__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F9A10 001F6970 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F9A14 001F6974 7C 08 02 A6 */ mflr r0 /* 801F9A18 001F6978 2C 05 00 01 */ cmpwi r5, 1 /* 801F9A1C 001F697C 90 01 00 24 */ stw r0, 0x24(r1) /* 801F9A20 001F6980 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F9A24 001F6984 7C 9F 23 78 */ mr r31, r4 /* 801F9A28 001F6988 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F9A2C 001F698C 7C 7E 1B 78 */ mr r30, r3 /* 801F9A30 001F6990 41 82 00 48 */ beq lbl_801F9A78 /* 801F9A34 001F6994 40 80 00 10 */ bge lbl_801F9A44 /* 801F9A38 001F6998 2C 05 00 00 */ cmpwi r5, 0 /* 801F9A3C 001F699C 40 80 00 14 */ bge lbl_801F9A50 /* 801F9A40 001F69A0 48 00 00 A8 */ b lbl_801F9AE8 lbl_801F9A44: /* 801F9A44 001F69A4 2C 05 00 03 */ cmpwi r5, 3 /* 801F9A48 001F69A8 40 80 00 A0 */ bge lbl_801F9AE8 /* 801F9A4C 001F69AC 48 00 00 78 */ b lbl_801F9AC4 lbl_801F9A50: /* 801F9A50 001F69B0 38 00 00 01 */ li r0, 1 /* 801F9A54 001F69B4 38 A0 00 01 */ li r5, 1 /* 801F9A58 001F69B8 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801F9A5C 001F69BC 48 00 3E 69 */ bl sub_801fd8c4 /* 801F9A60 001F69C0 C0 22 AF 78 */ lfs f1, lbl_805ACC98@sda21(r2) /* 801F9A64 001F69C4 7F C3 F3 78 */ mr r3, r30 /* 801F9A68 001F69C8 7F E4 FB 78 */ mr r4, r31 /* 801F9A6C 001F69CC 38 A0 00 01 */ li r5, 1 /* 801F9A70 001F69D0 48 00 41 79 */ bl sub_801fdbe8 /* 801F9A74 001F69D4 48 00 00 74 */ b lbl_801F9AE8 lbl_801F9A78: /* 801F9A78 001F69D8 3C A0 80 3E */ lis r5, lbl_803E6838@ha /* 801F9A7C 001F69DC 38 C1 00 08 */ addi r6, r1, 8 /* 801F9A80 001F69E0 39 45 68 38 */ addi r10, r5, lbl_803E6838@l /* 801F9A84 001F69E4 38 A0 00 0D */ li r5, 0xd /* 801F9A88 001F69E8 81 2A 00 00 */ lwz r9, 0(r10) /* 801F9A8C 001F69EC 38 E0 00 00 */ li r7, 0 /* 801F9A90 001F69F0 81 0A 00 04 */ lwz r8, 4(r10) /* 801F9A94 001F69F4 80 0A 00 08 */ lwz r0, 8(r10) /* 801F9A98 001F69F8 91 21 00 08 */ stw r9, 8(r1) /* 801F9A9C 001F69FC 91 01 00 0C */ stw r8, 0xc(r1) /* 801F9AA0 001F6A00 90 01 00 10 */ stw r0, 0x10(r1) /* 801F9AA4 001F6A04 4B E8 2D 11 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801F9AA8 001F6A08 80 1E 03 2C */ lwz r0, 0x32c(r30) /* 801F9AAC 001F6A0C 2C 00 00 02 */ cmpwi r0, 2 /* 801F9AB0 001F6A10 40 82 00 38 */ bne lbl_801F9AE8 /* 801F9AB4 001F6A14 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F9AB8 001F6A18 38 80 00 01 */ li r4, 1 /* 801F9ABC 001F6A1C 4B F4 0F 1D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F9AC0 001F6A20 48 00 00 28 */ b lbl_801F9AE8 lbl_801F9AC4: /* 801F9AC4 001F6A24 38 00 00 00 */ li r0, 0 /* 801F9AC8 001F6A28 38 A0 00 00 */ li r5, 0 /* 801F9ACC 001F6A2C 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801F9AD0 001F6A30 48 00 3D F5 */ bl sub_801fd8c4 /* 801F9AD4 001F6A34 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F9AD8 001F6A38 7F C3 F3 78 */ mr r3, r30 /* 801F9ADC 001F6A3C 7F E4 FB 78 */ mr r4, r31 /* 801F9AE0 001F6A40 38 A0 00 00 */ li r5, 0 /* 801F9AE4 001F6A44 48 00 41 05 */ bl sub_801fdbe8 lbl_801F9AE8: /* 801F9AE8 001F6A48 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F9AEC 001F6A4C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F9AF0 001F6A50 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F9AF4 001F6A54 7C 08 03 A6 */ mtlr r0 /* 801F9AF8 001F6A58 38 21 00 20 */ addi r1, r1, 0x20 /* 801F9AFC 001F6A5C 4E 80 00 20 */ blr .global InPosition__13CFlyingPirateFR13CStateManagerf InPosition__13CFlyingPirateFR13CStateManagerf: /* 801F9B00 001F6A60 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F9B04 001F6A64 7C 08 02 A6 */ mflr r0 /* 801F9B08 001F6A68 90 01 00 24 */ stw r0, 0x24(r1) /* 801F9B0C 001F6A6C 38 A1 00 08 */ addi r5, r1, 8 /* 801F9B10 001F6A70 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F9B14 001F6A74 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F9B18 001F6A78 7C 7E 1B 78 */ mr r30, r3 /* 801F9B1C 001F6A7C A0 03 06 A4 */ lhz r0, 0x6a4(r3) /* 801F9B20 001F6A80 B0 01 00 08 */ sth r0, 8(r1) /* 801F9B24 001F6A84 4B E8 2D 89 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId /* 801F9B28 001F6A88 28 03 00 00 */ cmplwi r3, 0 /* 801F9B2C 001F6A8C 41 82 00 64 */ beq lbl_801F9B90 /* 801F9B30 001F6A90 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801F9B34 001F6A94 3B E0 00 00 */ li r31, 0 /* 801F9B38 001F6A98 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801F9B3C 001F6A9C C0 83 00 50 */ lfs f4, 0x50(r3) /* 801F9B40 001F6AA0 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 801F9B44 001F6AA4 EC A1 00 28 */ fsubs f5, f1, f0 /* 801F9B48 001F6AA8 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F9B4C 001F6AAC C0 43 00 40 */ lfs f2, 0x40(r3) /* 801F9B50 001F6AB0 EC 64 18 28 */ fsubs f3, f4, f3 /* 801F9B54 001F6AB4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F9B58 001F6AB8 FC 05 00 40 */ fcmpo cr0, f5, f0 /* 801F9B5C 001F6ABC EC 02 08 28 */ fsubs f0, f2, f1 /* 801F9B60 001F6AC0 D0 61 00 10 */ stfs f3, 0x10(r1) /* 801F9B64 001F6AC4 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 801F9B68 001F6AC8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801F9B6C 001F6ACC 40 80 00 1C */ bge lbl_801F9B88 /* 801F9B70 001F6AD0 38 61 00 0C */ addi r3, r1, 0xc /* 801F9B74 001F6AD4 48 11 AD 45 */ bl Magnitude__9CVector3fCFv /* 801F9B78 001F6AD8 C0 02 AF CC */ lfs f0, lbl_805ACCEC@sda21(r2) /* 801F9B7C 001F6ADC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F9B80 001F6AE0 40 80 00 08 */ bge lbl_801F9B88 /* 801F9B84 001F6AE4 3B E0 00 01 */ li r31, 1 lbl_801F9B88: /* 801F9B88 001F6AE8 7F E3 FB 78 */ mr r3, r31 /* 801F9B8C 001F6AEC 48 00 00 08 */ b lbl_801F9B94 lbl_801F9B90: /* 801F9B90 001F6AF0 38 60 00 01 */ li r3, 1 lbl_801F9B94: /* 801F9B94 001F6AF4 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F9B98 001F6AF8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F9B9C 001F6AFC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F9BA0 001F6B00 7C 08 03 A6 */ mtlr r0 /* 801F9BA4 001F6B04 38 21 00 20 */ addi r1, r1, 0x20 /* 801F9BA8 001F6B08 4E 80 00 20 */ blr .global Landed__13CFlyingPirateFR13CStateManagerf Landed__13CFlyingPirateFR13CStateManagerf: /* 801F9BAC 001F6B0C 80 63 04 50 */ lwz r3, 0x450(r3) /* 801F9BB0 001F6B10 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801F9BB4 001F6B14 20 00 00 02 */ subfic r0, r0, 2 /* 801F9BB8 001F6B18 7C 00 00 34 */ cntlzw r0, r0 /* 801F9BBC 001F6B1C 54 03 D9 7E */ srwi r3, r0, 5 /* 801F9BC0 001F6B20 4E 80 00 20 */ blr .global Jump__13CFlyingPirateFR13CStateManager9EStateMsgf Jump__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F9BC4 001F6B24 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F9BC8 001F6B28 7C 08 02 A6 */ mflr r0 /* 801F9BCC 001F6B2C 90 01 00 24 */ stw r0, 0x24(r1) /* 801F9BD0 001F6B30 DB E1 00 10 */ stfd f31, 0x10(r1) /* 801F9BD4 001F6B34 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 801F9BD8 001F6B38 93 E1 00 0C */ stw r31, 0xc(r1) /* 801F9BDC 001F6B3C 93 C1 00 08 */ stw r30, 8(r1) /* 801F9BE0 001F6B40 2C 05 00 01 */ cmpwi r5, 1 /* 801F9BE4 001F6B44 7C 7E 1B 78 */ mr r30, r3 /* 801F9BE8 001F6B48 7C 9F 23 78 */ mr r31, r4 /* 801F9BEC 001F6B4C 41 82 00 F0 */ beq lbl_801F9CDC /* 801F9BF0 001F6B50 40 80 00 10 */ bge lbl_801F9C00 /* 801F9BF4 001F6B54 2C 05 00 00 */ cmpwi r5, 0 /* 801F9BF8 001F6B58 40 80 00 14 */ bge lbl_801F9C0C /* 801F9BFC 001F6B5C 48 00 00 E0 */ b lbl_801F9CDC lbl_801F9C00: /* 801F9C00 001F6B60 2C 05 00 03 */ cmpwi r5, 3 /* 801F9C04 001F6B64 40 80 00 D8 */ bge lbl_801F9CDC /* 801F9C08 001F6B68 48 00 00 A8 */ b lbl_801F9CB0 lbl_801F9C0C: /* 801F9C0C 001F6B6C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801F9C10 001F6B70 38 80 00 03 */ li r4, 3 /* 801F9C14 001F6B74 4B F4 0D C5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 801F9C18 001F6B78 88 1E 03 28 */ lbz r0, 0x328(r30) /* 801F9C1C 001F6B7C 38 60 00 01 */ li r3, 1 /* 801F9C20 001F6B80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801F9C24 001F6B84 7F C3 F3 78 */ mr r3, r30 /* 801F9C28 001F6B88 98 1E 03 28 */ stb r0, 0x328(r30) /* 801F9C2C 001F6B8C 7F E5 FB 78 */ mr r5, r31 /* 801F9C30 001F6B90 38 80 00 25 */ li r4, 0x25 /* 801F9C34 001F6B94 4B E5 A3 4D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801F9C38 001F6B98 3C 60 80 5A */ lis r3, skZero3f@ha /* 801F9C3C 001F6B9C C0 02 AF D0 */ lfs f0, lbl_805ACCF0@sda21(r2) /* 801F9C40 001F6BA0 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801F9C44 001F6BA4 C0 22 AF 78 */ lfs f1, lbl_805ACC98@sda21(r2) /* 801F9C48 001F6BA8 C0 46 00 00 */ lfs f2, 0(r6) /* 801F9C4C 001F6BAC 7F C3 F3 78 */ mr r3, r30 /* 801F9C50 001F6BB0 7F E4 FB 78 */ mr r4, r31 /* 801F9C54 001F6BB4 38 A0 00 01 */ li r5, 1 /* 801F9C58 001F6BB8 D0 5E 01 50 */ stfs f2, 0x150(r30) /* 801F9C5C 001F6BBC C0 46 00 04 */ lfs f2, 4(r6) /* 801F9C60 001F6BC0 D0 5E 01 54 */ stfs f2, 0x154(r30) /* 801F9C64 001F6BC4 C0 46 00 08 */ lfs f2, 8(r6) /* 801F9C68 001F6BC8 D0 5E 01 58 */ stfs f2, 0x158(r30) /* 801F9C6C 001F6BCC D0 1E 08 88 */ stfs f0, 0x888(r30) /* 801F9C70 001F6BD0 48 00 3F 79 */ bl sub_801fdbe8 /* 801F9C74 001F6BD4 7F C3 F3 78 */ mr r3, r30 /* 801F9C78 001F6BD8 7F E4 FB 78 */ mr r4, r31 /* 801F9C7C 001F6BDC 38 A0 00 01 */ li r5, 1 /* 801F9C80 001F6BE0 48 00 3C 45 */ bl sub_801fd8c4 /* 801F9C84 001F6BE4 C3 FE 06 54 */ lfs f31, 0x654(r30) /* 801F9C88 001F6BE8 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801F9C8C 001F6BEC C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801F9C90 001F6BF0 C0 42 AF D4 */ lfs f2, lbl_805ACCF4@sda21(r2) /* 801F9C94 001F6BF4 48 11 88 B1 */ bl Range__9CRandom16Fff /* 801F9C98 001F6BF8 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801F9C9C 001F6BFC 7C 60 00 26 */ mfcr r3 /* 801F9CA0 001F6C00 88 1E 06 A2 */ lbz r0, 0x6a2(r30) /* 801F9CA4 001F6C04 50 60 46 30 */ rlwimi r0, r3, 8, 0x18, 0x18 /* 801F9CA8 001F6C08 98 1E 06 A2 */ stb r0, 0x6a2(r30) /* 801F9CAC 001F6C0C 48 00 00 30 */ b lbl_801F9CDC lbl_801F9CB0: /* 801F9CB0 001F6C10 C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 801F9CB4 001F6C14 38 A0 00 01 */ li r5, 1 /* 801F9CB8 001F6C18 48 00 3F 31 */ bl sub_801fdbe8 /* 801F9CBC 001F6C1C 7F C3 F3 78 */ mr r3, r30 /* 801F9CC0 001F6C20 7F E4 FB 78 */ mr r4, r31 /* 801F9CC4 001F6C24 38 A0 00 00 */ li r5, 0 /* 801F9CC8 001F6C28 48 00 3B FD */ bl sub_801fd8c4 /* 801F9CCC 001F6C2C 88 1E 06 A2 */ lbz r0, 0x6a2(r30) /* 801F9CD0 001F6C30 38 60 00 00 */ li r3, 0 /* 801F9CD4 001F6C34 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801F9CD8 001F6C38 98 1E 06 A2 */ stb r0, 0x6a2(r30) lbl_801F9CDC: /* 801F9CDC 001F6C3C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 801F9CE0 001F6C40 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F9CE4 001F6C44 CB E1 00 10 */ lfd f31, 0x10(r1) /* 801F9CE8 001F6C48 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801F9CEC 001F6C4C 83 C1 00 08 */ lwz r30, 8(r1) /* 801F9CF0 001F6C50 7C 08 03 A6 */ mtlr r0 /* 801F9CF4 001F6C54 38 21 00 20 */ addi r1, r1, 0x20 /* 801F9CF8 001F6C58 4E 80 00 20 */ blr .global ShouldSpecialAttack__13CFlyingPirateFR13CStateManagerf ShouldSpecialAttack__13CFlyingPirateFR13CStateManagerf: /* 801F9CFC 001F6C5C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801F9D00 001F6C60 7C 08 02 A6 */ mflr r0 /* 801F9D04 001F6C64 90 01 00 64 */ stw r0, 0x64(r1) /* 801F9D08 001F6C68 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801F9D0C 001F6C6C 7C 7F 1B 78 */ mr r31, r3 /* 801F9D10 001F6C70 93 C1 00 58 */ stw r30, 0x58(r1) /* 801F9D14 001F6C74 93 A1 00 54 */ stw r29, 0x54(r1) /* 801F9D18 001F6C78 7C 9D 23 78 */ mr r29, r4 /* 801F9D1C 001F6C7C 80 03 03 FC */ lwz r0, 0x3fc(r3) /* 801F9D20 001F6C80 2C 00 00 01 */ cmpwi r0, 1 /* 801F9D24 001F6C84 40 82 01 3C */ bne lbl_801F9E60 /* 801F9D28 001F6C88 A0 7F 08 5C */ lhz r3, 0x85c(r31) /* 801F9D2C 001F6C8C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F9D30 001F6C90 7C 03 00 40 */ cmplw r3, r0 /* 801F9D34 001F6C94 41 82 01 2C */ beq lbl_801F9E60 /* 801F9D38 001F6C98 C0 3F 08 60 */ lfs f1, 0x860(r31) /* 801F9D3C 001F6C9C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F9D40 001F6CA0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801F9D44 001F6CA4 4C 40 13 82 */ cror 2, 0, 2 /* 801F9D48 001F6CA8 40 82 01 18 */ bne lbl_801F9E60 /* 801F9D4C 001F6CAC 80 7D 09 00 */ lwz r3, 0x900(r29) /* 801F9D50 001F6CB0 48 11 87 8D */ bl Float__9CRandom16Fv /* 801F9D54 001F6CB4 C0 02 AF C0 */ lfs f0, lbl_805ACCE0@sda21(r2) /* 801F9D58 001F6CB8 EC 00 00 7A */ fmadds f0, f0, f1, f0 /* 801F9D5C 001F6CBC D0 1F 08 60 */ stfs f0, 0x860(r31) /* 801F9D60 001F6CC0 80 7D 08 4C */ lwz r3, 0x84c(r29) /* 801F9D64 001F6CC4 4B F8 42 59 */ bl CheckOrbitDisableSourceList__7CPlayerCFv /* 801F9D68 001F6CC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F9D6C 001F6CCC 40 82 00 F4 */ bne lbl_801F9E60 /* 801F9D70 001F6CD0 A0 1F 08 5C */ lhz r0, 0x85c(r31) /* 801F9D74 001F6CD4 7F A3 EB 78 */ mr r3, r29 /* 801F9D78 001F6CD8 38 81 00 14 */ addi r4, r1, 0x14 /* 801F9D7C 001F6CDC B0 01 00 14 */ sth r0, 0x14(r1) /* 801F9D80 001F6CE0 4B E5 28 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801F9D84 001F6CE4 7C 64 1B 78 */ mr r4, r3 /* 801F9D88 001F6CE8 38 61 00 18 */ addi r3, r1, 0x18 /* 801F9D8C 001F6CEC 4B EB 5F 05 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801F9D90 001F6CF0 83 C3 00 04 */ lwz r30, 4(r3) /* 801F9D94 001F6CF4 28 1E 00 00 */ cmplwi r30, 0 /* 801F9D98 001F6CF8 41 82 00 C8 */ beq lbl_801F9E60 /* 801F9D9C 001F6CFC A0 7F 08 90 */ lhz r3, 0x890(r31) /* 801F9DA0 001F6D00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801F9DA4 001F6D04 7C 03 00 40 */ cmplw r3, r0 /* 801F9DA8 001F6D08 41 82 00 34 */ beq lbl_801F9DDC /* 801F9DAC 001F6D0C A0 FF 00 08 */ lhz r7, 8(r31) /* 801F9DB0 001F6D10 7F A4 EB 78 */ mr r4, r29 /* 801F9DB4 001F6D14 38 A1 00 10 */ addi r5, r1, 0x10 /* 801F9DB8 001F6D18 38 C1 00 0C */ addi r6, r1, 0xc /* 801F9DBC 001F6D1C B0 E1 00 0C */ sth r7, 0xc(r1) /* 801F9DC0 001F6D20 38 60 00 01 */ li r3, 1 /* 801F9DC4 001F6D24 A0 1F 08 90 */ lhz r0, 0x890(r31) /* 801F9DC8 001F6D28 B0 E1 00 08 */ sth r7, 8(r1) /* 801F9DCC 001F6D2C B0 01 00 10 */ sth r0, 0x10(r1) /* 801F9DD0 001F6D30 48 04 02 21 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId /* 801F9DD4 001F6D34 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801F9DD8 001F6D38 41 82 00 88 */ beq lbl_801F9E60 lbl_801F9DDC: /* 801F9DDC 001F6D3C 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 801F9DE0 001F6D40 C0 FE 00 60 */ lfs f7, 0x60(r30) /* 801F9DE4 001F6D44 38 A3 67 00 */ addi r5, r3, lbl_805A6700@l /* 801F9DE8 001F6D48 C0 DE 00 50 */ lfs f6, 0x50(r30) /* 801F9DEC 001F6D4C C0 42 AF C0 */ lfs f2, lbl_805ACCE0@sda21(r2) /* 801F9DF0 001F6D50 7F E3 FB 78 */ mr r3, r31 /* 801F9DF4 001F6D54 C0 05 00 08 */ lfs f0, 8(r5) /* 801F9DF8 001F6D58 38 81 00 38 */ addi r4, r1, 0x38 /* 801F9DFC 001F6D5C C0 25 00 00 */ lfs f1, 0(r5) /* 801F9E00 001F6D60 EC 82 00 32 */ fmuls f4, f2, f0 /* 801F9E04 001F6D64 C0 05 00 04 */ lfs f0, 4(r5) /* 801F9E08 001F6D68 EC 62 00 72 */ fmuls f3, f2, f1 /* 801F9E0C 001F6D6C C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801F9E10 001F6D70 EC 42 00 32 */ fmuls f2, f2, f0 /* 801F9E14 001F6D74 D0 C1 00 30 */ stfs f6, 0x30(r1) /* 801F9E18 001F6D78 EC A7 20 2A */ fadds f5, f7, f4 /* 801F9E1C 001F6D7C D0 61 00 20 */ stfs f3, 0x20(r1) /* 801F9E20 001F6D80 EC C6 10 2A */ fadds f6, f6, f2 /* 801F9E24 001F6D84 EC 01 18 2A */ fadds f0, f1, f3 /* 801F9E28 001F6D88 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801F9E2C 001F6D8C D0 81 00 28 */ stfs f4, 0x28(r1) /* 801F9E30 001F6D90 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 801F9E34 001F6D94 D0 E1 00 34 */ stfs f7, 0x34(r1) /* 801F9E38 001F6D98 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801F9E3C 001F6D9C D0 C1 00 3C */ stfs f6, 0x3c(r1) /* 801F9E40 001F6DA0 D0 A1 00 40 */ stfs f5, 0x40(r1) /* 801F9E44 001F6DA4 4B E8 2D 19 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801F9E48 001F6DA8 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801F9E4C 001F6DAC 38 60 00 01 */ li r3, 1 /* 801F9E50 001F6DB0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801F9E54 001F6DB4 38 60 00 01 */ li r3, 1 /* 801F9E58 001F6DB8 98 1F 06 A1 */ stb r0, 0x6a1(r31) /* 801F9E5C 001F6DBC 48 00 00 08 */ b lbl_801F9E64 lbl_801F9E60: /* 801F9E60 001F6DC0 38 60 00 00 */ li r3, 0 lbl_801F9E64: /* 801F9E64 001F6DC4 80 01 00 64 */ lwz r0, 0x64(r1) /* 801F9E68 001F6DC8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801F9E6C 001F6DCC 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801F9E70 001F6DD0 83 A1 00 54 */ lwz r29, 0x54(r1) /* 801F9E74 001F6DD4 7C 08 03 A6 */ mtlr r0 /* 801F9E78 001F6DD8 38 21 00 60 */ addi r1, r1, 0x60 /* 801F9E7C 001F6DDC 4E 80 00 20 */ blr .global Attacked__13CFlyingPirateFR13CStateManagerf Attacked__13CFlyingPirateFR13CStateManagerf: /* 801F9E80 001F6DE0 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F9E84 001F6DE4 C0 43 08 54 */ lfs f2, 0x854(r3) /* 801F9E88 001F6DE8 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801F9E8C 001F6DEC 41 82 00 08 */ beq lbl_801F9E94 /* 801F9E90 001F6DF0 48 00 00 08 */ b lbl_801F9E98 lbl_801F9E94: /* 801F9E94 001F6DF4 C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) lbl_801F9E98: /* 801F9E98 001F6DF8 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801F9E9C 001F6DFC 7C 00 00 26 */ mfcr r0 /* 801F9EA0 001F6E00 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F9EA4 001F6E04 4E 80 00 20 */ blr .global ShotAt__13CFlyingPirateFR13CStateManagerf ShotAt__13CFlyingPirateFR13CStateManagerf: /* 801F9EA8 001F6E08 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801F9EAC 001F6E0C C0 43 08 58 */ lfs f2, 0x858(r3) /* 801F9EB0 001F6E10 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 801F9EB4 001F6E14 41 82 00 08 */ beq lbl_801F9EBC /* 801F9EB8 001F6E18 48 00 00 08 */ b lbl_801F9EC0 lbl_801F9EBC: /* 801F9EBC 001F6E1C C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) lbl_801F9EC0: /* 801F9EC0 001F6E20 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 801F9EC4 001F6E24 7C 00 00 26 */ mfcr r0 /* 801F9EC8 001F6E28 54 03 0F FE */ srwi r3, r0, 0x1f /* 801F9ECC 001F6E2C 4E 80 00 20 */ blr .global Dodge__13CFlyingPirateFR13CStateManager9EStateMsgf Dodge__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801F9ED0 001F6E30 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801F9ED4 001F6E34 7C 08 02 A6 */ mflr r0 /* 801F9ED8 001F6E38 2C 05 00 01 */ cmpwi r5, 1 /* 801F9EDC 001F6E3C 90 01 00 24 */ stw r0, 0x24(r1) /* 801F9EE0 001F6E40 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801F9EE4 001F6E44 7C 9F 23 78 */ mr r31, r4 /* 801F9EE8 001F6E48 93 C1 00 18 */ stw r30, 0x18(r1) /* 801F9EEC 001F6E4C 7C 7E 1B 78 */ mr r30, r3 /* 801F9EF0 001F6E50 41 82 00 74 */ beq lbl_801F9F64 /* 801F9EF4 001F6E54 40 80 00 10 */ bge lbl_801F9F04 /* 801F9EF8 001F6E58 2C 05 00 00 */ cmpwi r5, 0 /* 801F9EFC 001F6E5C 40 80 00 14 */ bge lbl_801F9F10 /* 801F9F00 001F6E60 48 00 00 E4 */ b lbl_801F9FE4 lbl_801F9F04: /* 801F9F04 001F6E64 2C 05 00 03 */ cmpwi r5, 3 /* 801F9F08 001F6E68 40 80 00 DC */ bge lbl_801F9FE4 /* 801F9F0C 001F6E6C 48 00 00 C4 */ b lbl_801F9FD0 lbl_801F9F10: /* 801F9F10 001F6E70 38 00 00 01 */ li r0, 1 /* 801F9F14 001F6E74 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801F9F18 001F6E78 C0 3E 08 50 */ lfs f1, 0x850(r30) /* 801F9F1C 001F6E7C 48 00 2A 69 */ bl GetDodgeDirection__13CFlyingPirateFR13CStateManagerf /* 801F9F20 001F6E80 90 7E 08 4C */ stw r3, 0x84c(r30) /* 801F9F24 001F6E84 80 1E 08 4C */ lwz r0, 0x84c(r30) /* 801F9F28 001F6E88 2C 00 FF FF */ cmpwi r0, -1 /* 801F9F2C 001F6E8C 40 82 00 20 */ bne lbl_801F9F4C /* 801F9F30 001F6E90 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801F9F34 001F6E94 48 11 85 ED */ bl Next__9CRandom16Fv /* 801F9F38 001F6E98 54 60 04 63 */ rlwinm. r0, r3, 0, 0x11, 0x11 /* 801F9F3C 001F6E9C 38 60 00 03 */ li r3, 3 /* 801F9F40 001F6EA0 41 82 00 08 */ beq lbl_801F9F48 /* 801F9F44 001F6EA4 38 60 00 02 */ li r3, 2 lbl_801F9F48: /* 801F9F48 001F6EA8 90 7E 08 4C */ stw r3, 0x84c(r30) lbl_801F9F4C: /* 801F9F4C 001F6EAC C0 22 AF 78 */ lfs f1, lbl_805ACC98@sda21(r2) /* 801F9F50 001F6EB0 7F C3 F3 78 */ mr r3, r30 /* 801F9F54 001F6EB4 7F E4 FB 78 */ mr r4, r31 /* 801F9F58 001F6EB8 38 A0 00 01 */ li r5, 1 /* 801F9F5C 001F6EBC 48 00 3C 8D */ bl sub_801fdbe8 /* 801F9F60 001F6EC0 48 00 00 84 */ b lbl_801F9FE4 lbl_801F9F64: /* 801F9F64 001F6EC4 3C A0 80 3E */ lis r5, lbl_803E682C@ha /* 801F9F68 001F6EC8 38 C1 00 0C */ addi r6, r1, 0xc /* 801F9F6C 001F6ECC 39 25 68 2C */ addi r9, r5, lbl_803E682C@l /* 801F9F70 001F6ED0 38 A0 00 03 */ li r5, 3 /* 801F9F74 001F6ED4 81 09 00 00 */ lwz r8, 0(r9) /* 801F9F78 001F6ED8 80 E9 00 04 */ lwz r7, 4(r9) /* 801F9F7C 001F6EDC 80 09 00 08 */ lwz r0, 8(r9) /* 801F9F80 001F6EE0 91 01 00 0C */ stw r8, 0xc(r1) /* 801F9F84 001F6EE4 90 E1 00 10 */ stw r7, 0x10(r1) /* 801F9F88 001F6EE8 90 01 00 14 */ stw r0, 0x14(r1) /* 801F9F8C 001F6EEC 80 FE 08 4C */ lwz r7, 0x84c(r30) /* 801F9F90 001F6EF0 4B E8 28 25 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801F9F94 001F6EF4 7F C3 F3 78 */ mr r3, r30 /* 801F9F98 001F6EF8 7F E4 FB 78 */ mr r4, r31 /* 801F9F9C 001F6EFC 48 00 31 C9 */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager /* 801F9FA0 001F6F00 C0 22 AF 64 */ lfs f1, lbl_805ACC84@sda21(r2) /* 801F9FA4 001F6F04 38 81 00 08 */ addi r4, r1, 8 /* 801F9FA8 001F6F08 C0 1E 03 38 */ lfs f0, 0x338(r30) /* 801F9FAC 001F6F0C 38 6D 93 0C */ addi r3, r13, lbl_805A7ECC@sda21 /* 801F9FB0 001F6F10 EC 01 00 28 */ fsubs f0, f1, f0 /* 801F9FB4 001F6F14 D0 01 00 08 */ stfs f0, 8(r1) /* 801F9FB8 001F6F18 4B E5 57 79 */ bl "Max__5CMathFRCfRCf" /* 801F9FBC 001F6F1C C0 03 00 00 */ lfs f0, 0(r3) /* 801F9FC0 001F6F20 7F C3 F3 78 */ mr r3, r30 /* 801F9FC4 001F6F24 D0 1E 08 98 */ stfs f0, 0x898(r30) /* 801F9FC8 001F6F28 48 00 3D 7D */ bl sub_801fdd44 /* 801F9FCC 001F6F2C 48 00 00 18 */ b lbl_801F9FE4 lbl_801F9FD0: /* 801F9FD0 001F6F30 38 60 00 00 */ li r3, 0 /* 801F9FD4 001F6F34 90 7E 03 2C */ stw r3, 0x32c(r30) /* 801F9FD8 001F6F38 88 1E 06 A1 */ lbz r0, 0x6a1(r30) /* 801F9FDC 001F6F3C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801F9FE0 001F6F40 98 1E 06 A1 */ stb r0, 0x6a1(r30) lbl_801F9FE4: /* 801F9FE4 001F6F44 80 01 00 24 */ lwz r0, 0x24(r1) /* 801F9FE8 001F6F48 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801F9FEC 001F6F4C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801F9FF0 001F6F50 7C 08 03 A6 */ mtlr r0 /* 801F9FF4 001F6F54 38 21 00 20 */ addi r1, r1, 0x20 /* 801F9FF8 001F6F58 4E 80 00 20 */ blr .global ShouldDodge__13CFlyingPirateFR13CStateManagerf ShouldDodge__13CFlyingPirateFR13CStateManagerf: /* 801F9FFC 001F6F5C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801FA000 001F6F60 7C 08 02 A6 */ mflr r0 /* 801FA004 001F6F64 90 01 00 64 */ stw r0, 0x64(r1) /* 801FA008 001F6F68 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801FA00C 001F6F6C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801FA010 001F6F70 DB C1 00 40 */ stfd f30, 0x40(r1) /* 801FA014 001F6F74 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 801FA018 001F6F78 DB A1 00 30 */ stfd f29, 0x30(r1) /* 801FA01C 001F6F7C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 801FA020 001F6F80 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801FA024 001F6F84 93 C1 00 28 */ stw r30, 0x28(r1) /* 801FA028 001F6F88 88 03 06 A1 */ lbz r0, 0x6a1(r3) /* 801FA02C 001F6F8C 7C 7E 1B 78 */ mr r30, r3 /* 801FA030 001F6F90 7C 85 23 78 */ mr r5, r4 /* 801FA034 001F6F94 54 03 EF FF */ rlwinm. r3, r0, 0x1d, 0x1f, 0x1f /* 801FA038 001F6F98 7C 7F 1B 78 */ mr r31, r3 /* 801FA03C 001F6F9C 40 82 00 9C */ bne lbl_801FA0D8 /* 801FA040 001F6FA0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FA044 001F6FA4 40 82 00 94 */ bne lbl_801FA0D8 /* 801FA048 001F6FA8 C3 BE 00 60 */ lfs f29, 0x60(r30) /* 801FA04C 001F6FAC 7F C4 F3 78 */ mr r4, r30 /* 801FA050 001F6FB0 C3 DE 00 50 */ lfs f30, 0x50(r30) /* 801FA054 001F6FB4 38 61 00 14 */ addi r3, r1, 0x14 /* 801FA058 001F6FB8 C3 FE 00 40 */ lfs f31, 0x40(r30) /* 801FA05C 001F6FBC 48 00 28 39 */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FA060 001F6FC0 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801FA064 001F6FC4 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801FA068 001F6FC8 EC 60 F0 28 */ fsubs f3, f0, f30 /* 801FA06C 001F6FCC C0 BE 00 48 */ lfs f5, 0x48(r30) /* 801FA070 001F6FD0 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801FA074 001F6FD4 EC 81 F8 28 */ fsubs f4, f1, f31 /* 801FA078 001F6FD8 C0 5E 00 38 */ lfs f2, 0x38(r30) /* 801FA07C 001F6FDC EC 23 01 72 */ fmuls f1, f3, f5 /* 801FA080 001F6FE0 C0 DE 00 58 */ lfs f6, 0x58(r30) /* 801FA084 001F6FE4 EC 60 E8 28 */ fsubs f3, f0, f29 /* 801FA088 001F6FE8 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FA08C 001F6FEC EC 24 08 BA */ fmadds f1, f4, f2, f1 /* 801FA090 001F6FF0 D0 41 00 08 */ stfs f2, 8(r1) /* 801FA094 001F6FF4 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801FA098 001F6FF8 EC 23 09 BA */ fmadds f1, f3, f6, f1 /* 801FA09C 001F6FFC D0 C1 00 10 */ stfs f6, 0x10(r1) /* 801FA0A0 001F7000 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FA0A4 001F7004 40 81 00 34 */ ble lbl_801FA0D8 /* 801FA0A8 001F7008 C0 1E 08 54 */ lfs f0, 0x854(r30) /* 801FA0AC 001F700C C0 22 AF D8 */ lfs f1, lbl_805ACCF8@sda21(r2) /* 801FA0B0 001F7010 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801FA0B4 001F7014 41 80 00 10 */ blt lbl_801FA0C4 /* 801FA0B8 001F7018 C0 1E 08 58 */ lfs f0, 0x858(r30) /* 801FA0BC 001F701C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801FA0C0 001F7020 40 80 00 18 */ bge lbl_801FA0D8 lbl_801FA0C4: /* 801FA0C4 001F7024 C0 3E 07 D8 */ lfs f1, 0x7d8(r30) /* 801FA0C8 001F7028 C0 02 AF 74 */ lfs f0, lbl_805ACC94@sda21(r2) /* 801FA0CC 001F702C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FA0D0 001F7030 40 80 00 08 */ bge lbl_801FA0D8 /* 801FA0D4 001F7034 3B E0 00 01 */ li r31, 1 lbl_801FA0D8: /* 801FA0D8 001F7038 7F E3 FB 78 */ mr r3, r31 /* 801FA0DC 001F703C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801FA0E0 001F7040 CB E1 00 50 */ lfd f31, 0x50(r1) /* 801FA0E4 001F7044 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 801FA0E8 001F7048 CB C1 00 40 */ lfd f30, 0x40(r1) /* 801FA0EC 001F704C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 801FA0F0 001F7050 CB A1 00 30 */ lfd f29, 0x30(r1) /* 801FA0F4 001F7054 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801FA0F8 001F7058 80 01 00 64 */ lwz r0, 0x64(r1) /* 801FA0FC 001F705C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801FA100 001F7060 7C 08 03 A6 */ mtlr r0 /* 801FA104 001F7064 38 21 00 60 */ addi r1, r1, 0x60 /* 801FA108 001F7068 4E 80 00 20 */ blr .global TurnAround__13CFlyingPirateFR13CStateManager9EStateMsgf TurnAround__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FA10C 001F706C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801FA110 001F7070 7C 08 02 A6 */ mflr r0 /* 801FA114 001F7074 2C 05 00 01 */ cmpwi r5, 1 /* 801FA118 001F7078 90 01 00 54 */ stw r0, 0x54(r1) /* 801FA11C 001F707C 7C 80 23 78 */ mr r0, r4 /* 801FA120 001F7080 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801FA124 001F7084 7C 7F 1B 78 */ mr r31, r3 /* 801FA128 001F7088 41 82 00 D4 */ beq lbl_801FA1FC /* 801FA12C 001F708C 40 80 00 10 */ bge lbl_801FA13C /* 801FA130 001F7090 2C 05 00 00 */ cmpwi r5, 0 /* 801FA134 001F7094 40 80 00 14 */ bge lbl_801FA148 /* 801FA138 001F7098 48 00 01 00 */ b lbl_801FA238 lbl_801FA13C: /* 801FA13C 001F709C 2C 05 00 03 */ cmpwi r5, 3 /* 801FA140 001F70A0 40 80 00 F8 */ bge lbl_801FA238 /* 801FA144 001F70A4 48 00 00 EC */ b lbl_801FA230 lbl_801FA148: /* 801FA148 001F70A8 7F E4 FB 78 */ mr r4, r31 /* 801FA14C 001F70AC 7C 05 03 78 */ mr r5, r0 /* 801FA150 001F70B0 38 61 00 2C */ addi r3, r1, 0x2c /* 801FA154 001F70B4 48 00 27 41 */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FA158 001F70B8 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801FA15C 001F70BC 38 61 00 14 */ addi r3, r1, 0x14 /* 801FA160 001F70C0 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FA164 001F70C4 38 81 00 38 */ addi r4, r1, 0x38 /* 801FA168 001F70C8 D0 3F 02 E0 */ stfs f1, 0x2e0(r31) /* 801FA16C 001F70CC C0 21 00 30 */ lfs f1, 0x30(r1) /* 801FA170 001F70D0 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) /* 801FA174 001F70D4 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801FA178 001F70D8 D0 3F 02 E8 */ stfs f1, 0x2e8(r31) /* 801FA17C 001F70DC C0 5F 02 E8 */ lfs f2, 0x2e8(r31) /* 801FA180 001F70E0 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801FA184 001F70E4 C0 9F 02 E4 */ lfs f4, 0x2e4(r31) /* 801FA188 001F70E8 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801FA18C 001F70EC EC A2 08 28 */ fsubs f5, f2, f1 /* 801FA190 001F70F0 C0 5F 02 E0 */ lfs f2, 0x2e0(r31) /* 801FA194 001F70F4 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801FA198 001F70F8 EC 64 18 28 */ fsubs f3, f4, f3 /* 801FA19C 001F70FC EC 22 08 28 */ fsubs f1, f2, f1 /* 801FA1A0 001F7100 D0 A1 00 40 */ stfs f5, 0x40(r1) /* 801FA1A4 001F7104 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 801FA1A8 001F7108 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801FA1AC 001F710C D0 01 00 40 */ stfs f0, 0x40(r1) /* 801FA1B0 001F7110 48 11 A6 A1 */ bl AsNormalized__9CVector3fCFv /* 801FA1B4 001F7114 C0 9F 00 48 */ lfs f4, 0x48(r31) /* 801FA1B8 001F7118 C0 01 00 18 */ lfs f0, 0x18(r1) /* 801FA1BC 001F711C C0 7F 00 38 */ lfs f3, 0x38(r31) /* 801FA1C0 001F7120 EC 04 00 32 */ fmuls f0, f4, f0 /* 801FA1C4 001F7124 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801FA1C8 001F7128 C0 BF 00 58 */ lfs f5, 0x58(r31) /* 801FA1CC 001F712C C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801FA1D0 001F7130 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801FA1D4 001F7134 C0 02 AF C8 */ lfs f0, lbl_805ACCE8@sda21(r2) /* 801FA1D8 001F7138 D0 61 00 20 */ stfs f3, 0x20(r1) /* 801FA1DC 001F713C EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 801FA1E0 001F7140 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801FA1E4 001F7144 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 801FA1E8 001F7148 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FA1EC 001F714C 40 80 00 4C */ bge lbl_801FA238 /* 801FA1F0 001F7150 38 00 00 01 */ li r0, 1 /* 801FA1F4 001F7154 90 1F 03 2C */ stw r0, 0x32c(r31) /* 801FA1F8 001F7158 48 00 00 40 */ b lbl_801FA238 lbl_801FA1FC: /* 801FA1FC 001F715C 3C A0 80 3E */ lis r5, lbl_803E6820@ha /* 801FA200 001F7160 38 C1 00 08 */ addi r6, r1, 8 /* 801FA204 001F7164 39 45 68 20 */ addi r10, r5, lbl_803E6820@l /* 801FA208 001F7168 38 A0 00 08 */ li r5, 8 /* 801FA20C 001F716C 81 2A 00 00 */ lwz r9, 0(r10) /* 801FA210 001F7170 38 E0 00 00 */ li r7, 0 /* 801FA214 001F7174 81 0A 00 04 */ lwz r8, 4(r10) /* 801FA218 001F7178 80 0A 00 08 */ lwz r0, 8(r10) /* 801FA21C 001F717C 91 21 00 08 */ stw r9, 8(r1) /* 801FA220 001F7180 91 01 00 0C */ stw r8, 0xc(r1) /* 801FA224 001F7184 90 01 00 10 */ stw r0, 0x10(r1) /* 801FA228 001F7188 4B E8 25 8D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801FA22C 001F718C 48 00 00 0C */ b lbl_801FA238 lbl_801FA230: /* 801FA230 001F7190 38 00 00 00 */ li r0, 0 /* 801FA234 001F7194 90 1F 03 2C */ stw r0, 0x32c(r31) lbl_801FA238: /* 801FA238 001F7198 80 01 00 54 */ lwz r0, 0x54(r1) /* 801FA23C 001F719C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801FA240 001F71A0 7C 08 03 A6 */ mtlr r0 /* 801FA244 001F71A4 38 21 00 50 */ addi r1, r1, 0x50 /* 801FA248 001F71A8 4E 80 00 20 */ blr .global Retreat__13CFlyingPirateFR13CStateManager9EStateMsgf Retreat__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FA24C 001F71AC 94 21 FE E0 */ stwu r1, -0x120(r1) /* 801FA250 001F71B0 7C 08 02 A6 */ mflr r0 /* 801FA254 001F71B4 90 01 01 24 */ stw r0, 0x124(r1) /* 801FA258 001F71B8 DB E1 01 10 */ stfd f31, 0x110(r1) /* 801FA25C 001F71BC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 801FA260 001F71C0 DB C1 01 00 */ stfd f30, 0x100(r1) /* 801FA264 001F71C4 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 801FA268 001F71C8 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 801FA26C 001F71CC F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 801FA270 001F71D0 93 E1 00 EC */ stw r31, 0xec(r1) /* 801FA274 001F71D4 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801FA278 001F71D8 FF A0 08 90 */ fmr f29, f1 /* 801FA27C 001F71DC 2C 05 00 01 */ cmpwi r5, 1 /* 801FA280 001F71E0 7C 7E 1B 78 */ mr r30, r3 /* 801FA284 001F71E4 7C 9F 23 78 */ mr r31, r4 /* 801FA288 001F71E8 41 82 02 94 */ beq lbl_801FA51C /* 801FA28C 001F71EC 40 80 05 50 */ bge lbl_801FA7DC /* 801FA290 001F71F0 2C 05 00 00 */ cmpwi r5, 0 /* 801FA294 001F71F4 40 80 00 0C */ bge lbl_801FA2A0 /* 801FA298 001F71F8 48 00 05 44 */ b lbl_801FA7DC /* 801FA29C 001F71FC 48 00 05 40 */ b lbl_801FA7DC lbl_801FA2A0: /* 801FA2A0 001F7200 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801FA2A4 001F7204 38 61 00 98 */ addi r3, r1, 0x98 /* 801FA2A8 001F7208 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801FA2AC 001F720C 38 81 00 8C */ addi r4, r1, 0x8c /* 801FA2B0 001F7210 C3 C5 00 50 */ lfs f30, 0x50(r5) /* 801FA2B4 001F7214 C3 A5 00 60 */ lfs f29, 0x60(r5) /* 801FA2B8 001F7218 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801FA2BC 001F721C EC 5E 00 28 */ fsubs f2, f30, f0 /* 801FA2C0 001F7220 C3 E5 00 40 */ lfs f31, 0x40(r5) /* 801FA2C4 001F7224 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA2C8 001F7228 EC 3D 08 28 */ fsubs f1, f29, f1 /* 801FA2CC 001F722C EC 1F 00 28 */ fsubs f0, f31, f0 /* 801FA2D0 001F7230 D0 41 00 90 */ stfs f2, 0x90(r1) /* 801FA2D4 001F7234 D0 21 00 94 */ stfs f1, 0x94(r1) /* 801FA2D8 001F7238 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801FA2DC 001F723C 48 11 A5 75 */ bl AsNormalized__9CVector3fCFv /* 801FA2E0 001F7240 C0 DE 02 FC */ lfs f6, 0x2fc(r30) /* 801FA2E4 001F7244 7F C3 F3 78 */ mr r3, r30 /* 801FA2E8 001F7248 C0 41 00 9C */ lfs f2, 0x9c(r1) /* 801FA2EC 001F724C C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 801FA2F0 001F7250 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801FA2F4 001F7254 EC 86 00 B2 */ fmuls f4, f6, f2 /* 801FA2F8 001F7258 C0 BE 00 50 */ lfs f5, 0x50(r30) /* 801FA2FC 001F725C EC 46 00 72 */ fmuls f2, f6, f1 /* 801FA300 001F7260 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FA304 001F7264 EC 06 00 32 */ fmuls f0, f6, f0 /* 801FA308 001F7268 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801FA30C 001F726C EC 85 20 28 */ fsubs f4, f5, f4 /* 801FA310 001F7270 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FA314 001F7274 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FA318 001F7278 D0 81 00 C0 */ stfs f4, 0xc0(r1) /* 801FA31C 001F727C D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801FA320 001F7280 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801FA324 001F7284 C0 1E 05 F4 */ lfs f0, 0x5f4(r30) /* 801FA328 001F7288 EC 1D 00 2A */ fadds f0, f29, f0 /* 801FA32C 001F728C D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801FA330 001F7290 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA334 001F7294 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA338 001F7298 7D 89 03 A6 */ mtctr r12 /* 801FA33C 001F729C 4E 80 04 21 */ bctrl /* 801FA340 001F72A0 38 81 00 BC */ addi r4, r1, 0xbc /* 801FA344 001F72A4 4B FC C7 F1 */ bl OnPath__15CPathFindSearchCFRC9CVector3f /* 801FA348 001F72A8 2C 03 00 02 */ cmpwi r3, 2 /* 801FA34C 001F72AC 40 82 01 80 */ bne lbl_801FA4CC /* 801FA350 001F72B0 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA354 001F72B4 7F C3 F3 78 */ mr r3, r30 /* 801FA358 001F72B8 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FA35C 001F72BC C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA360 001F72C0 D0 01 00 80 */ stfs f0, 0x80(r1) /* 801FA364 001F72C4 D0 21 00 84 */ stfs f1, 0x84(r1) /* 801FA368 001F72C8 D0 41 00 88 */ stfs f2, 0x88(r1) /* 801FA36C 001F72CC 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA370 001F72D0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA374 001F72D4 7D 89 03 A6 */ mtctr r12 /* 801FA378 001F72D8 4E 80 04 21 */ bctrl /* 801FA37C 001F72DC 38 81 00 80 */ addi r4, r1, 0x80 /* 801FA380 001F72E0 38 A1 00 BC */ addi r5, r1, 0xbc /* 801FA384 001F72E4 4B FC CD 79 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f /* 801FA388 001F72E8 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 801FA38C 001F72EC C0 3E 05 F4 */ lfs f1, 0x5f4(r30) /* 801FA390 001F72F0 C0 01 00 C0 */ lfs f0, 0xc0(r1) /* 801FA394 001F72F4 EC 42 08 2A */ fadds f2, f2, f1 /* 801FA398 001F72F8 C0 21 00 BC */ lfs f1, 0xbc(r1) /* 801FA39C 001F72FC EC DE 00 28 */ fsubs f6, f30, f0 /* 801FA3A0 001F7300 C0 02 AF 9C */ lfs f0, lbl_805ACCBC@sda21(r2) /* 801FA3A4 001F7304 EC 9F 08 28 */ fsubs f4, f31, f1 /* 801FA3A8 001F7308 EC BD 10 28 */ fsubs f5, f29, f2 /* 801FA3AC 001F730C D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801FA3B0 001F7310 EC 26 01 B2 */ fmuls f1, f6, f6 /* 801FA3B4 001F7314 EC 44 01 32 */ fmuls f2, f4, f4 /* 801FA3B8 001F7318 C0 FE 02 FC */ lfs f7, 0x2fc(r30) /* 801FA3BC 001F731C EC 65 01 72 */ fmuls f3, f5, f5 /* 801FA3C0 001F7320 D0 81 00 74 */ stfs f4, 0x74(r1) /* 801FA3C4 001F7324 EC 22 08 2A */ fadds f1, f2, f1 /* 801FA3C8 001F7328 EC 00 01 F2 */ fmuls f0, f0, f7 /* 801FA3CC 001F732C D0 C1 00 78 */ stfs f6, 0x78(r1) /* 801FA3D0 001F7330 EC 23 08 2A */ fadds f1, f3, f1 /* 801FA3D4 001F7334 D0 A1 00 7C */ stfs f5, 0x7c(r1) /* 801FA3D8 001F7338 EC 00 01 F2 */ fmuls f0, f0, f7 /* 801FA3DC 001F733C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FA3E0 001F7340 40 80 00 EC */ bge lbl_801FA4CC /* 801FA3E4 001F7344 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801FA3E8 001F7348 38 61 00 68 */ addi r3, r1, 0x68 /* 801FA3EC 001F734C C0 3E 00 60 */ lfs f1, 0x60(r30) /* 801FA3F0 001F7350 38 81 00 5C */ addi r4, r1, 0x5c /* 801FA3F4 001F7354 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA3F8 001F7358 EC 5E 10 28 */ fsubs f2, f30, f2 /* 801FA3FC 001F735C EC 3D 08 28 */ fsubs f1, f29, f1 /* 801FA400 001F7360 EC 1F 00 28 */ fsubs f0, f31, f0 /* 801FA404 001F7364 D0 41 00 60 */ stfs f2, 0x60(r1) /* 801FA408 001F7368 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801FA40C 001F736C D0 21 00 64 */ stfs f1, 0x64(r1) /* 801FA410 001F7370 48 11 A4 41 */ bl AsNormalized__9CVector3fCFv /* 801FA414 001F7374 C0 DE 02 FC */ lfs f6, 0x2fc(r30) /* 801FA418 001F7378 7F C3 F3 78 */ mr r3, r30 /* 801FA41C 001F737C C0 41 00 6C */ lfs f2, 0x6c(r1) /* 801FA420 001F7380 C0 21 00 70 */ lfs f1, 0x70(r1) /* 801FA424 001F7384 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801FA428 001F7388 EC 86 00 B2 */ fmuls f4, f6, f2 /* 801FA42C 001F738C C0 BE 00 50 */ lfs f5, 0x50(r30) /* 801FA430 001F7390 EC 46 00 72 */ fmuls f2, f6, f1 /* 801FA434 001F7394 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FA438 001F7398 EC 06 00 32 */ fmuls f0, f6, f0 /* 801FA43C 001F739C C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801FA440 001F73A0 EC 85 20 2A */ fadds f4, f5, f4 /* 801FA444 001F73A4 EC 43 10 2A */ fadds f2, f3, f2 /* 801FA448 001F73A8 EC 01 00 2A */ fadds f0, f1, f0 /* 801FA44C 001F73AC D0 81 00 C0 */ stfs f4, 0xc0(r1) /* 801FA450 001F73B0 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 801FA454 001F73B4 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801FA458 001F73B8 C0 1E 05 F4 */ lfs f0, 0x5f4(r30) /* 801FA45C 001F73BC EC 1D 00 2A */ fadds f0, f29, f0 /* 801FA460 001F73C0 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801FA464 001F73C4 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA468 001F73C8 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA46C 001F73CC 7D 89 03 A6 */ mtctr r12 /* 801FA470 001F73D0 4E 80 04 21 */ bctrl /* 801FA474 001F73D4 38 81 00 BC */ addi r4, r1, 0xbc /* 801FA478 001F73D8 4B FC C6 BD */ bl OnPath__15CPathFindSearchCFRC9CVector3f /* 801FA47C 001F73DC 2C 03 00 02 */ cmpwi r3, 2 /* 801FA480 001F73E0 40 82 00 4C */ bne lbl_801FA4CC /* 801FA484 001F73E4 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA488 001F73E8 7F C3 F3 78 */ mr r3, r30 /* 801FA48C 001F73EC C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FA490 001F73F0 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA494 001F73F4 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801FA498 001F73F8 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801FA49C 001F73FC D0 41 00 58 */ stfs f2, 0x58(r1) /* 801FA4A0 001F7400 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA4A4 001F7404 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA4A8 001F7408 7D 89 03 A6 */ mtctr r12 /* 801FA4AC 001F740C 4E 80 04 21 */ bctrl /* 801FA4B0 001F7410 38 81 00 50 */ addi r4, r1, 0x50 /* 801FA4B4 001F7414 38 A1 00 BC */ addi r5, r1, 0xbc /* 801FA4B8 001F7418 4B FC CC 45 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f /* 801FA4BC 001F741C C0 21 00 C4 */ lfs f1, 0xc4(r1) /* 801FA4C0 001F7420 C0 1E 05 F4 */ lfs f0, 0x5f4(r30) /* 801FA4C4 001F7424 EC 01 00 2A */ fadds f0, f1, f0 /* 801FA4C8 001F7428 D0 01 00 C4 */ stfs f0, 0xc4(r1) lbl_801FA4CC: /* 801FA4CC 001F742C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA4D0 001F7430 7F C3 F3 78 */ mr r3, r30 /* 801FA4D4 001F7434 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FA4D8 001F7438 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA4DC 001F743C D0 01 00 44 */ stfs f0, 0x44(r1) /* 801FA4E0 001F7440 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801FA4E4 001F7444 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801FA4E8 001F7448 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA4EC 001F744C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA4F0 001F7450 7D 89 03 A6 */ mtctr r12 /* 801FA4F4 001F7454 4E 80 04 21 */ bctrl /* 801FA4F8 001F7458 38 81 00 44 */ addi r4, r1, 0x44 /* 801FA4FC 001F745C 38 A1 00 BC */ addi r5, r1, 0xbc /* 801FA500 001F7460 4B FC D7 6D */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f /* 801FA504 001F7464 C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 801FA508 001F7468 7F C3 F3 78 */ mr r3, r30 /* 801FA50C 001F746C 7F E4 FB 78 */ mr r4, r31 /* 801FA510 001F7470 38 A0 00 01 */ li r5, 1 /* 801FA514 001F7474 48 00 36 D5 */ bl sub_801fdbe8 /* 801FA518 001F7478 48 00 02 C4 */ b lbl_801FA7DC lbl_801FA51C: /* 801FA51C 001F747C 3C 80 80 5A */ lis r4, skZero3f@ha /* 801FA520 001F7480 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 801FA524 001F7484 C0 24 00 04 */ lfs f1, 4(r4) /* 801FA528 001F7488 C0 04 00 08 */ lfs f0, 8(r4) /* 801FA52C 001F748C D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 801FA530 001F7490 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801FA534 001F7494 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801FA538 001F7498 81 83 00 00 */ lwz r12, 0(r3) /* 801FA53C 001F749C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA540 001F74A0 7D 89 03 A6 */ mtctr r12 /* 801FA544 001F74A4 4E 80 04 21 */ bctrl /* 801FA548 001F74A8 80 83 00 04 */ lwz r4, 4(r3) /* 801FA54C 001F74AC 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801FA550 001F74B0 38 04 FF FF */ addi r0, r4, -1 /* 801FA554 001F74B4 7C 03 00 00 */ cmpw r3, r0 /* 801FA558 001F74B8 40 80 00 F0 */ bge lbl_801FA648 /* 801FA55C 001F74BC C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801FA560 001F74C0 7F C3 F3 78 */ mr r3, r30 /* 801FA564 001F74C4 C0 1E 00 48 */ lfs f0, 0x48(r30) /* 801FA568 001F74C8 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FA56C 001F74CC C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801FA570 001F74D0 EC A4 00 2A */ fadds f5, f4, f0 /* 801FA574 001F74D4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801FA578 001F74D8 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801FA57C 001F74DC EC 43 10 2A */ fadds f2, f3, f2 /* 801FA580 001F74E0 EC 01 00 2A */ fadds f0, f1, f0 /* 801FA584 001F74E4 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 801FA588 001F74E8 D0 41 00 AC */ stfs f2, 0xac(r1) /* 801FA58C 001F74EC D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 801FA590 001F74F0 D0 21 00 38 */ stfs f1, 0x38(r1) /* 801FA594 001F74F4 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801FA598 001F74F8 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801FA59C 001F74FC 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA5A0 001F7500 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA5A4 001F7504 7D 89 03 A6 */ mtctr r12 /* 801FA5A8 001F7508 4E 80 04 21 */ bctrl /* 801FA5AC 001F750C C0 22 AF 7C */ lfs f1, lbl_805ACC9C@sda21(r2) /* 801FA5B0 001F7510 38 81 00 A4 */ addi r4, r1, 0xa4 /* 801FA5B4 001F7514 38 A1 00 38 */ addi r5, r1, 0x38 /* 801FA5B8 001F7518 4B FD 15 E1 */ bl GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3ff /* 801FA5BC 001F751C 7F C3 F3 78 */ mr r3, r30 /* 801FA5C0 001F7520 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA5C4 001F7524 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA5C8 001F7528 7D 89 03 A6 */ mtctr r12 /* 801FA5CC 001F752C 4E 80 04 21 */ bctrl /* 801FA5D0 001F7530 38 81 00 A4 */ addi r4, r1, 0xa4 /* 801FA5D4 001F7534 4B FD 1A 71 */ bl SegmentOver__15CPathFindSearchCFRC9CVector3f /* 801FA5D8 001F7538 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FA5DC 001F753C 41 82 00 24 */ beq lbl_801FA600 /* 801FA5E0 001F7540 7F C3 F3 78 */ mr r3, r30 /* 801FA5E4 001F7544 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA5E8 001F7548 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA5EC 001F754C 7D 89 03 A6 */ mtctr r12 /* 801FA5F0 001F7550 4E 80 04 21 */ bctrl /* 801FA5F4 001F7554 80 83 00 C8 */ lwz r4, 0xc8(r3) /* 801FA5F8 001F7558 38 04 00 01 */ addi r0, r4, 1 /* 801FA5FC 001F755C 90 03 00 C8 */ stw r0, 0xc8(r3) lbl_801FA600: /* 801FA600 001F7560 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 801FA604 001F7564 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801FA608 001F7568 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801FA60C 001F756C C0 61 00 AC */ lfs f3, 0xac(r1) /* 801FA610 001F7570 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA614 001F7574 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FA618 001F7578 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA61C 001F757C C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 801FA620 001F7580 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FA624 001F7584 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801FA628 001F7588 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FA62C 001F758C D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 801FA630 001F7590 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 801FA634 001F7594 48 11 A0 C5 */ bl CanBeNormalized__9CVector3fCFv /* 801FA638 001F7598 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FA63C 001F759C 41 82 00 0C */ beq lbl_801FA648 /* 801FA640 001F75A0 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801FA644 001F75A4 48 11 A2 B5 */ bl Normalize__9CVector3fFv lbl_801FA648: /* 801FA648 001F75A8 7F C4 F3 78 */ mr r4, r30 /* 801FA64C 001F75AC 7F E5 FB 78 */ mr r5, r31 /* 801FA650 001F75B0 38 61 00 2C */ addi r3, r1, 0x2c /* 801FA654 001F75B4 48 00 28 A5 */ bl AvoidActors__13CFlyingPirateFR13CStateManager /* 801FA658 001F75B8 C0 A2 AF 7C */ lfs f5, lbl_805ACC9C@sda21(r2) /* 801FA65C 001F75BC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801FA660 001F75C0 C0 01 00 34 */ lfs f0, 0x34(r1) /* 801FA664 001F75C4 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801FA668 001F75C8 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801FA66C 001F75CC EC C5 00 32 */ fmuls f6, f5, f0 /* 801FA670 001F75D0 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801FA674 001F75D4 EC 65 00 B2 */ fmuls f3, f5, f2 /* 801FA678 001F75D8 C0 81 00 B0 */ lfs f4, 0xb0(r1) /* 801FA67C 001F75DC EC 25 00 72 */ fmuls f1, f5, f1 /* 801FA680 001F75E0 C0 41 00 B4 */ lfs f2, 0xb4(r1) /* 801FA684 001F75E4 EC 64 18 2A */ fadds f3, f4, f3 /* 801FA688 001F75E8 EC 22 08 2A */ fadds f1, f2, f1 /* 801FA68C 001F75EC EC 00 30 2A */ fadds f0, f0, f6 /* 801FA690 001F75F0 D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 801FA694 001F75F4 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 801FA698 001F75F8 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801FA69C 001F75FC 48 11 A0 5D */ bl CanBeNormalized__9CVector3fCFv /* 801FA6A0 001F7600 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FA6A4 001F7604 41 82 00 0C */ beq lbl_801FA6B0 /* 801FA6A8 001F7608 38 61 00 B0 */ addi r3, r1, 0xb0 /* 801FA6AC 001F760C 48 11 A2 4D */ bl Normalize__9CVector3fFv lbl_801FA6B0: /* 801FA6B0 001F7610 C0 3E 08 58 */ lfs f1, 0x858(r30) /* 801FA6B4 001F7614 C0 02 AF 64 */ lfs f0, lbl_805ACC84@sda21(r2) /* 801FA6B8 001F7618 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FA6BC 001F761C 40 80 00 0C */ bge lbl_801FA6C8 /* 801FA6C0 001F7620 C0 42 AF CC */ lfs f2, lbl_805ACCEC@sda21(r2) /* 801FA6C4 001F7624 48 00 00 08 */ b lbl_801FA6CC lbl_801FA6C8: /* 801FA6C8 001F7628 C0 42 AF 78 */ lfs f2, lbl_805ACC98@sda21(r2) lbl_801FA6CC: /* 801FA6CC 001F762C C0 3E 06 2C */ lfs f1, 0x62c(r30) /* 801FA6D0 001F7630 7F C4 F3 78 */ mr r4, r30 /* 801FA6D4 001F7634 C0 02 AF B4 */ lfs f0, lbl_805ACCD4@sda21(r2) /* 801FA6D8 001F7638 7F E5 FB 78 */ mr r5, r31 /* 801FA6DC 001F763C EC 82 00 72 */ fmuls f4, f2, f1 /* 801FA6E0 001F7640 C0 21 00 B0 */ lfs f1, 0xb0(r1) /* 801FA6E4 001F7644 C0 61 00 B4 */ lfs f3, 0xb4(r1) /* 801FA6E8 001F7648 EC 00 00 B2 */ fmuls f0, f0, f2 /* 801FA6EC 001F764C C0 41 00 B8 */ lfs f2, 0xb8(r1) /* 801FA6F0 001F7650 38 61 00 08 */ addi r3, r1, 8 /* 801FA6F4 001F7654 EC 9D 01 32 */ fmuls f4, f29, f4 /* 801FA6F8 001F7658 EC 9D 01 32 */ fmuls f4, f29, f4 /* 801FA6FC 001F765C EC 24 00 72 */ fmuls f1, f4, f1 /* 801FA700 001F7660 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801FA704 001F7664 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801FA708 001F7668 D0 3E 08 7C */ stfs f1, 0x87c(r30) /* 801FA70C 001F766C D0 7E 08 80 */ stfs f3, 0x880(r30) /* 801FA710 001F7670 D0 5E 08 84 */ stfs f2, 0x884(r30) /* 801FA714 001F7674 D0 1E 08 98 */ stfs f0, 0x898(r30) /* 801FA718 001F7678 C0 3E 08 70 */ lfs f1, 0x870(r30) /* 801FA71C 001F767C C0 1E 08 7C */ lfs f0, 0x87c(r30) /* 801FA720 001F7680 EC 01 00 2A */ fadds f0, f1, f0 /* 801FA724 001F7684 D0 1E 08 70 */ stfs f0, 0x870(r30) /* 801FA728 001F7688 C0 3E 08 74 */ lfs f1, 0x874(r30) /* 801FA72C 001F768C C0 1E 08 80 */ lfs f0, 0x880(r30) /* 801FA730 001F7690 EC 01 00 2A */ fadds f0, f1, f0 /* 801FA734 001F7694 D0 1E 08 74 */ stfs f0, 0x874(r30) /* 801FA738 001F7698 C0 3E 08 78 */ lfs f1, 0x878(r30) /* 801FA73C 001F769C C0 1E 08 84 */ lfs f0, 0x884(r30) /* 801FA740 001F76A0 EC 01 00 2A */ fadds f0, f1, f0 /* 801FA744 001F76A4 D0 1E 08 78 */ stfs f0, 0x878(r30) /* 801FA748 001F76A8 C3 FE 00 60 */ lfs f31, 0x60(r30) /* 801FA74C 001F76AC C3 DE 00 50 */ lfs f30, 0x50(r30) /* 801FA750 001F76B0 C3 BE 00 40 */ lfs f29, 0x40(r30) /* 801FA754 001F76B4 48 00 21 41 */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FA758 001F76B8 C0 41 00 08 */ lfs f2, 8(r1) /* 801FA75C 001F76BC 38 61 00 20 */ addi r3, r1, 0x20 /* 801FA760 001F76C0 C0 21 00 0C */ lfs f1, 0xc(r1) /* 801FA764 001F76C4 38 81 00 14 */ addi r4, r1, 0x14 /* 801FA768 001F76C8 C0 01 00 10 */ lfs f0, 0x10(r1) /* 801FA76C 001F76CC EC 42 E8 28 */ fsubs f2, f2, f29 /* 801FA770 001F76D0 EC 21 F0 28 */ fsubs f1, f1, f30 /* 801FA774 001F76D4 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801FA778 001F76D8 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801FA77C 001F76DC D0 21 00 18 */ stfs f1, 0x18(r1) /* 801FA780 001F76E0 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801FA784 001F76E4 48 11 A0 CD */ bl AsNormalized__9CVector3fCFv /* 801FA788 001F76E8 C0 C1 00 B0 */ lfs f6, 0xb0(r1) /* 801FA78C 001F76EC 38 81 00 C8 */ addi r4, r1, 0xc8 /* 801FA790 001F76F0 C0 A1 00 B4 */ lfs f5, 0xb4(r1) /* 801FA794 001F76F4 C0 81 00 B8 */ lfs f4, 0xb8(r1) /* 801FA798 001F76F8 C0 61 00 20 */ lfs f3, 0x20(r1) /* 801FA79C 001F76FC C0 41 00 24 */ lfs f2, 0x24(r1) /* 801FA7A0 001F7700 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801FA7A4 001F7704 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FA7A8 001F7708 D0 C1 00 C8 */ stfs f6, 0xc8(r1) /* 801FA7AC 001F770C D0 A1 00 CC */ stfs f5, 0xcc(r1) /* 801FA7B0 001F7710 D0 81 00 D0 */ stfs f4, 0xd0(r1) /* 801FA7B4 001F7714 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 801FA7B8 001F7718 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801FA7BC 001F771C D0 21 00 DC */ stfs f1, 0xdc(r1) /* 801FA7C0 001F7720 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 801FA7C4 001F7724 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801FA7C8 001F7728 38 63 00 04 */ addi r3, r3, 4 /* 801FA7CC 001F772C 4B F3 6F 4D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801FA7D0 001F7730 7F C3 F3 78 */ mr r3, r30 /* 801FA7D4 001F7734 7F E4 FB 78 */ mr r4, r31 /* 801FA7D8 001F7738 48 00 29 8D */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager lbl_801FA7DC: /* 801FA7DC 001F773C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 801FA7E0 001F7740 CB E1 01 10 */ lfd f31, 0x110(r1) /* 801FA7E4 001F7744 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 801FA7E8 001F7748 CB C1 01 00 */ lfd f30, 0x100(r1) /* 801FA7EC 001F774C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 801FA7F0 001F7750 CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 801FA7F4 001F7754 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801FA7F8 001F7758 80 01 01 24 */ lwz r0, 0x124(r1) /* 801FA7FC 001F775C 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801FA800 001F7760 7C 08 03 A6 */ mtlr r0 /* 801FA804 001F7764 38 21 01 20 */ addi r1, r1, 0x120 /* 801FA808 001F7768 4E 80 00 20 */ blr .global PathFind__13CFlyingPirateFR13CStateManager9EStateMsgf PathFind__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FA80C 001F776C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 801FA810 001F7770 7C 08 02 A6 */ mflr r0 /* 801FA814 001F7774 90 01 00 F4 */ stw r0, 0xf4(r1) /* 801FA818 001F7778 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 801FA81C 001F777C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 801FA820 001F7780 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 801FA824 001F7784 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 801FA828 001F7788 DB A1 00 C0 */ stfd f29, 0xc0(r1) /* 801FA82C 001F778C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 /* 801FA830 001F7790 93 E1 00 BC */ stw r31, 0xbc(r1) /* 801FA834 001F7794 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 801FA838 001F7798 FF E0 08 90 */ fmr f31, f1 /* 801FA83C 001F779C 2C 05 00 01 */ cmpwi r5, 1 /* 801FA840 001F77A0 7C 7E 1B 78 */ mr r30, r3 /* 801FA844 001F77A4 7C 9F 23 78 */ mr r31, r4 /* 801FA848 001F77A8 41 82 01 C8 */ beq lbl_801FAA10 /* 801FA84C 001F77AC 40 80 00 10 */ bge lbl_801FA85C /* 801FA850 001F77B0 2C 05 00 00 */ cmpwi r5, 0 /* 801FA854 001F77B4 40 80 00 14 */ bge lbl_801FA868 /* 801FA858 001F77B8 48 00 04 AC */ b lbl_801FAD04 lbl_801FA85C: /* 801FA85C 001F77BC 2C 05 00 03 */ cmpwi r5, 3 /* 801FA860 001F77C0 40 80 04 A4 */ bge lbl_801FAD04 /* 801FA864 001F77C4 48 00 04 90 */ b lbl_801FACF4 lbl_801FA868: /* 801FA868 001F77C8 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801FA86C 001F77CC 7F E5 FB 78 */ mr r5, r31 /* 801FA870 001F77D0 38 61 00 6C */ addi r3, r1, 0x6c /* 801FA874 001F77D4 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FA878 001F77D8 81 84 00 00 */ lwz r12, 0(r4) /* 801FA87C 001F77DC 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801FA880 001F77E0 7D 89 03 A6 */ mtctr r12 /* 801FA884 001F77E4 4E 80 04 21 */ bctrl /* 801FA888 001F77E8 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 801FA88C 001F77EC C0 21 00 70 */ lfs f1, 0x70(r1) /* 801FA890 001F77F0 C0 01 00 74 */ lfs f0, 0x74(r1) /* 801FA894 001F77F4 D0 41 00 90 */ stfs f2, 0x90(r1) /* 801FA898 001F77F8 D0 21 00 94 */ stfs f1, 0x94(r1) /* 801FA89C 001F77FC D0 01 00 98 */ stfs f0, 0x98(r1) /* 801FA8A0 001F7800 88 1E 06 A1 */ lbz r0, 0x6a1(r30) /* 801FA8A4 001F7804 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801FA8A8 001F7808 41 82 00 20 */ beq lbl_801FA8C8 /* 801FA8AC 001F780C C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 801FA8B0 001F7810 D0 01 00 90 */ stfs f0, 0x90(r1) /* 801FA8B4 001F7814 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 801FA8B8 001F7818 D0 01 00 94 */ stfs f0, 0x94(r1) /* 801FA8BC 001F781C C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 801FA8C0 001F7820 D0 01 00 98 */ stfs f0, 0x98(r1) /* 801FA8C4 001F7824 48 00 00 3C */ b lbl_801FA900 lbl_801FA8C8: /* 801FA8C8 001F7828 A0 1E 06 A4 */ lhz r0, 0x6a4(r30) /* 801FA8CC 001F782C 7F C3 F3 78 */ mr r3, r30 /* 801FA8D0 001F7830 7F E4 FB 78 */ mr r4, r31 /* 801FA8D4 001F7834 38 A1 00 08 */ addi r5, r1, 8 /* 801FA8D8 001F7838 B0 01 00 08 */ sth r0, 8(r1) /* 801FA8DC 001F783C 4B E8 1F D1 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId /* 801FA8E0 001F7840 28 03 00 00 */ cmplwi r3, 0 /* 801FA8E4 001F7844 41 82 00 1C */ beq lbl_801FA900 /* 801FA8E8 001F7848 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801FA8EC 001F784C C0 23 00 50 */ lfs f1, 0x50(r3) /* 801FA8F0 001F7850 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801FA8F4 001F7854 D0 01 00 90 */ stfs f0, 0x90(r1) /* 801FA8F8 001F7858 D0 21 00 94 */ stfs f1, 0x94(r1) /* 801FA8FC 001F785C D0 41 00 98 */ stfs f2, 0x98(r1) lbl_801FA900: /* 801FA900 001F7860 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA904 001F7864 7F C3 F3 78 */ mr r3, r30 /* 801FA908 001F7868 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FA90C 001F786C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA910 001F7870 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801FA914 001F7874 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801FA918 001F7878 D0 41 00 68 */ stfs f2, 0x68(r1) /* 801FA91C 001F787C 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA920 001F7880 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA924 001F7884 7D 89 03 A6 */ mtctr r12 /* 801FA928 001F7888 4E 80 04 21 */ bctrl /* 801FA92C 001F788C 38 81 00 60 */ addi r4, r1, 0x60 /* 801FA930 001F7890 38 A1 00 90 */ addi r5, r1, 0x90 /* 801FA934 001F7894 4B FC D3 39 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f /* 801FA938 001F7898 2C 03 00 00 */ cmpwi r3, 0 /* 801FA93C 001F789C 41 82 00 BC */ beq lbl_801FA9F8 /* 801FA940 001F78A0 7F C3 F3 78 */ mr r3, r30 /* 801FA944 001F78A4 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA948 001F78A8 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA94C 001F78AC 7D 89 03 A6 */ mtctr r12 /* 801FA950 001F78B0 4E 80 04 21 */ bctrl /* 801FA954 001F78B4 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801FA958 001F78B8 2C 00 00 03 */ cmpwi r0, 3 /* 801FA95C 001F78BC 41 82 00 24 */ beq lbl_801FA980 /* 801FA960 001F78C0 7F C3 F3 78 */ mr r3, r30 /* 801FA964 001F78C4 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA968 001F78C8 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA96C 001F78CC 7D 89 03 A6 */ mtctr r12 /* 801FA970 001F78D0 4E 80 04 21 */ bctrl /* 801FA974 001F78D4 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801FA978 001F78D8 2C 00 00 04 */ cmpwi r0, 4 /* 801FA97C 001F78DC 40 82 00 7C */ bne lbl_801FA9F8 lbl_801FA980: /* 801FA980 001F78E0 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA984 001F78E4 7F C3 F3 78 */ mr r3, r30 /* 801FA988 001F78E8 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FA98C 001F78EC C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA990 001F78F0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 801FA994 001F78F4 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801FA998 001F78F8 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 801FA99C 001F78FC 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA9A0 001F7900 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA9A4 001F7904 7D 89 03 A6 */ mtctr r12 /* 801FA9A8 001F7908 4E 80 04 21 */ bctrl /* 801FA9AC 001F790C 38 81 00 54 */ addi r4, r1, 0x54 /* 801FA9B0 001F7910 38 A1 00 90 */ addi r5, r1, 0x90 /* 801FA9B4 001F7914 4B FC C7 49 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f /* 801FA9B8 001F7918 2C 03 00 00 */ cmpwi r3, 0 /* 801FA9BC 001F791C 40 82 00 3C */ bne lbl_801FA9F8 /* 801FA9C0 001F7920 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FA9C4 001F7924 7F C3 F3 78 */ mr r3, r30 /* 801FA9C8 001F7928 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FA9CC 001F792C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FA9D0 001F7930 D0 01 00 48 */ stfs f0, 0x48(r1) /* 801FA9D4 001F7934 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 801FA9D8 001F7938 D0 41 00 50 */ stfs f2, 0x50(r1) /* 801FA9DC 001F793C 81 9E 00 00 */ lwz r12, 0(r30) /* 801FA9E0 001F7940 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FA9E4 001F7944 7D 89 03 A6 */ mtctr r12 /* 801FA9E8 001F7948 4E 80 04 21 */ bctrl /* 801FA9EC 001F794C 38 81 00 48 */ addi r4, r1, 0x48 /* 801FA9F0 001F7950 38 A1 00 90 */ addi r5, r1, 0x90 /* 801FA9F4 001F7954 4B FC D2 79 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f lbl_801FA9F8: /* 801FA9F8 001F7958 C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 801FA9FC 001F795C 7F C3 F3 78 */ mr r3, r30 /* 801FAA00 001F7960 7F E4 FB 78 */ mr r4, r31 /* 801FAA04 001F7964 38 A0 00 01 */ li r5, 1 /* 801FAA08 001F7968 48 00 31 E1 */ bl sub_801fdbe8 /* 801FAA0C 001F796C 48 00 02 F8 */ b lbl_801FAD04 lbl_801FAA10: /* 801FAA10 001F7970 3C 80 80 5A */ lis r4, skZero3f@ha /* 801FAA14 001F7974 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 801FAA18 001F7978 C0 24 00 04 */ lfs f1, 4(r4) /* 801FAA1C 001F797C C0 04 00 08 */ lfs f0, 8(r4) /* 801FAA20 001F7980 D0 41 00 84 */ stfs f2, 0x84(r1) /* 801FAA24 001F7984 D0 21 00 88 */ stfs f1, 0x88(r1) /* 801FAA28 001F7988 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801FAA2C 001F798C 81 83 00 00 */ lwz r12, 0(r3) /* 801FAA30 001F7990 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FAA34 001F7994 7D 89 03 A6 */ mtctr r12 /* 801FAA38 001F7998 4E 80 04 21 */ bctrl /* 801FAA3C 001F799C 80 03 00 CC */ lwz r0, 0xcc(r3) /* 801FAA40 001F79A0 2C 00 00 00 */ cmpwi r0, 0 /* 801FAA44 001F79A4 40 82 01 18 */ bne lbl_801FAB5C /* 801FAA48 001F79A8 7F C3 F3 78 */ mr r3, r30 /* 801FAA4C 001F79AC 81 9E 00 00 */ lwz r12, 0(r30) /* 801FAA50 001F79B0 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FAA54 001F79B4 7D 89 03 A6 */ mtctr r12 /* 801FAA58 001F79B8 4E 80 04 21 */ bctrl /* 801FAA5C 001F79BC 80 83 00 04 */ lwz r4, 4(r3) /* 801FAA60 001F79C0 80 63 00 C8 */ lwz r3, 0xc8(r3) /* 801FAA64 001F79C4 38 04 FF FF */ addi r0, r4, -1 /* 801FAA68 001F79C8 7C 03 00 00 */ cmpw r3, r0 /* 801FAA6C 001F79CC 40 80 00 F0 */ bge lbl_801FAB5C /* 801FAA70 001F79D0 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 801FAA74 001F79D4 7F C3 F3 78 */ mr r3, r30 /* 801FAA78 001F79D8 C0 1E 00 48 */ lfs f0, 0x48(r30) /* 801FAA7C 001F79DC C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FAA80 001F79E0 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 801FAA84 001F79E4 EC A4 00 2A */ fadds f5, f4, f0 /* 801FAA88 001F79E8 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801FAA8C 001F79EC C0 1E 00 38 */ lfs f0, 0x38(r30) /* 801FAA90 001F79F0 EC 43 10 2A */ fadds f2, f3, f2 /* 801FAA94 001F79F4 EC 01 00 2A */ fadds f0, f1, f0 /* 801FAA98 001F79F8 D0 A1 00 7C */ stfs f5, 0x7c(r1) /* 801FAA9C 001F79FC D0 41 00 80 */ stfs f2, 0x80(r1) /* 801FAAA0 001F7A00 D0 01 00 78 */ stfs f0, 0x78(r1) /* 801FAAA4 001F7A04 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801FAAA8 001F7A08 D0 81 00 40 */ stfs f4, 0x40(r1) /* 801FAAAC 001F7A0C D0 61 00 44 */ stfs f3, 0x44(r1) /* 801FAAB0 001F7A10 81 9E 00 00 */ lwz r12, 0(r30) /* 801FAAB4 001F7A14 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FAAB8 001F7A18 7D 89 03 A6 */ mtctr r12 /* 801FAABC 001F7A1C 4E 80 04 21 */ bctrl /* 801FAAC0 001F7A20 C0 22 AF 7C */ lfs f1, lbl_805ACC9C@sda21(r2) /* 801FAAC4 001F7A24 38 81 00 78 */ addi r4, r1, 0x78 /* 801FAAC8 001F7A28 38 A1 00 3C */ addi r5, r1, 0x3c /* 801FAACC 001F7A2C 4B FD 10 CD */ bl GetSplinePointWithLookahead__15CPathFindSearchCFR9CVector3fRC9CVector3ff /* 801FAAD0 001F7A30 7F C3 F3 78 */ mr r3, r30 /* 801FAAD4 001F7A34 81 9E 00 00 */ lwz r12, 0(r30) /* 801FAAD8 001F7A38 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FAADC 001F7A3C 7D 89 03 A6 */ mtctr r12 /* 801FAAE0 001F7A40 4E 80 04 21 */ bctrl /* 801FAAE4 001F7A44 38 81 00 78 */ addi r4, r1, 0x78 /* 801FAAE8 001F7A48 4B FD 15 5D */ bl SegmentOver__15CPathFindSearchCFRC9CVector3f /* 801FAAEC 001F7A4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FAAF0 001F7A50 41 82 00 24 */ beq lbl_801FAB14 /* 801FAAF4 001F7A54 7F C3 F3 78 */ mr r3, r30 /* 801FAAF8 001F7A58 81 9E 00 00 */ lwz r12, 0(r30) /* 801FAAFC 001F7A5C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 801FAB00 001F7A60 7D 89 03 A6 */ mtctr r12 /* 801FAB04 001F7A64 4E 80 04 21 */ bctrl /* 801FAB08 001F7A68 80 83 00 C8 */ lwz r4, 0xc8(r3) /* 801FAB0C 001F7A6C 38 04 00 01 */ addi r0, r4, 1 /* 801FAB10 001F7A70 90 03 00 C8 */ stw r0, 0xc8(r3) lbl_801FAB14: /* 801FAB14 001F7A74 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 801FAB18 001F7A78 38 61 00 84 */ addi r3, r1, 0x84 /* 801FAB1C 001F7A7C C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801FAB20 001F7A80 C0 61 00 80 */ lfs f3, 0x80(r1) /* 801FAB24 001F7A84 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FAB28 001F7A88 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FAB2C 001F7A8C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FAB30 001F7A90 C0 21 00 78 */ lfs f1, 0x78(r1) /* 801FAB34 001F7A94 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FAB38 001F7A98 D0 81 00 88 */ stfs f4, 0x88(r1) /* 801FAB3C 001F7A9C EC 01 00 28 */ fsubs f0, f1, f0 /* 801FAB40 001F7AA0 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 801FAB44 001F7AA4 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801FAB48 001F7AA8 48 11 9B B1 */ bl CanBeNormalized__9CVector3fCFv /* 801FAB4C 001F7AAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FAB50 001F7AB0 41 82 00 0C */ beq lbl_801FAB5C /* 801FAB54 001F7AB4 38 61 00 84 */ addi r3, r1, 0x84 /* 801FAB58 001F7AB8 48 11 9D A1 */ bl Normalize__9CVector3fFv lbl_801FAB5C: /* 801FAB5C 001F7ABC 7F C4 F3 78 */ mr r4, r30 /* 801FAB60 001F7AC0 7F E5 FB 78 */ mr r5, r31 /* 801FAB64 001F7AC4 38 61 00 30 */ addi r3, r1, 0x30 /* 801FAB68 001F7AC8 48 00 23 91 */ bl AvoidActors__13CFlyingPirateFR13CStateManager /* 801FAB6C 001F7ACC C0 A2 AF 7C */ lfs f5, lbl_805ACC9C@sda21(r2) /* 801FAB70 001F7AD0 38 61 00 84 */ addi r3, r1, 0x84 /* 801FAB74 001F7AD4 C0 01 00 38 */ lfs f0, 0x38(r1) /* 801FAB78 001F7AD8 C0 41 00 30 */ lfs f2, 0x30(r1) /* 801FAB7C 001F7ADC C0 21 00 34 */ lfs f1, 0x34(r1) /* 801FAB80 001F7AE0 EC C5 00 32 */ fmuls f6, f5, f0 /* 801FAB84 001F7AE4 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 801FAB88 001F7AE8 EC 65 00 B2 */ fmuls f3, f5, f2 /* 801FAB8C 001F7AEC C0 81 00 84 */ lfs f4, 0x84(r1) /* 801FAB90 001F7AF0 EC 25 00 72 */ fmuls f1, f5, f1 /* 801FAB94 001F7AF4 C0 41 00 88 */ lfs f2, 0x88(r1) /* 801FAB98 001F7AF8 EC 64 18 2A */ fadds f3, f4, f3 /* 801FAB9C 001F7AFC EC 22 08 2A */ fadds f1, f2, f1 /* 801FABA0 001F7B00 EC 00 30 2A */ fadds f0, f0, f6 /* 801FABA4 001F7B04 D0 61 00 84 */ stfs f3, 0x84(r1) /* 801FABA8 001F7B08 D0 21 00 88 */ stfs f1, 0x88(r1) /* 801FABAC 001F7B0C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 801FABB0 001F7B10 48 11 9B 49 */ bl CanBeNormalized__9CVector3fCFv /* 801FABB4 001F7B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FABB8 001F7B18 41 82 00 0C */ beq lbl_801FABC4 /* 801FABBC 001F7B1C 38 61 00 84 */ addi r3, r1, 0x84 /* 801FABC0 001F7B20 48 11 9D 39 */ bl Normalize__9CVector3fFv lbl_801FABC4: /* 801FABC4 001F7B24 C0 3E 08 58 */ lfs f1, 0x858(r30) /* 801FABC8 001F7B28 C0 02 AF 64 */ lfs f0, lbl_805ACC84@sda21(r2) /* 801FABCC 001F7B2C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FABD0 001F7B30 40 80 00 0C */ bge lbl_801FABDC /* 801FABD4 001F7B34 C0 42 AF CC */ lfs f2, lbl_805ACCEC@sda21(r2) /* 801FABD8 001F7B38 48 00 00 08 */ b lbl_801FABE0 lbl_801FABDC: /* 801FABDC 001F7B3C C0 42 AF 78 */ lfs f2, lbl_805ACC98@sda21(r2) lbl_801FABE0: /* 801FABE0 001F7B40 C0 3E 06 2C */ lfs f1, 0x62c(r30) /* 801FABE4 001F7B44 7F C4 F3 78 */ mr r4, r30 /* 801FABE8 001F7B48 C0 02 AF B4 */ lfs f0, lbl_805ACCD4@sda21(r2) /* 801FABEC 001F7B4C 7F E5 FB 78 */ mr r5, r31 /* 801FABF0 001F7B50 EC 82 00 72 */ fmuls f4, f2, f1 /* 801FABF4 001F7B54 C0 21 00 84 */ lfs f1, 0x84(r1) /* 801FABF8 001F7B58 C0 61 00 88 */ lfs f3, 0x88(r1) /* 801FABFC 001F7B5C EC 00 00 B2 */ fmuls f0, f0, f2 /* 801FAC00 001F7B60 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 801FAC04 001F7B64 38 61 00 0C */ addi r3, r1, 0xc /* 801FAC08 001F7B68 EC 9F 01 32 */ fmuls f4, f31, f4 /* 801FAC0C 001F7B6C EC 9F 01 32 */ fmuls f4, f31, f4 /* 801FAC10 001F7B70 EC 24 00 72 */ fmuls f1, f4, f1 /* 801FAC14 001F7B74 EC 64 00 F2 */ fmuls f3, f4, f3 /* 801FAC18 001F7B78 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801FAC1C 001F7B7C D0 3E 08 7C */ stfs f1, 0x87c(r30) /* 801FAC20 001F7B80 D0 7E 08 80 */ stfs f3, 0x880(r30) /* 801FAC24 001F7B84 D0 5E 08 84 */ stfs f2, 0x884(r30) /* 801FAC28 001F7B88 D0 1E 08 98 */ stfs f0, 0x898(r30) /* 801FAC2C 001F7B8C C0 3E 08 70 */ lfs f1, 0x870(r30) /* 801FAC30 001F7B90 C0 1E 08 7C */ lfs f0, 0x87c(r30) /* 801FAC34 001F7B94 EC 01 00 2A */ fadds f0, f1, f0 /* 801FAC38 001F7B98 D0 1E 08 70 */ stfs f0, 0x870(r30) /* 801FAC3C 001F7B9C C0 3E 08 74 */ lfs f1, 0x874(r30) /* 801FAC40 001F7BA0 C0 1E 08 80 */ lfs f0, 0x880(r30) /* 801FAC44 001F7BA4 EC 01 00 2A */ fadds f0, f1, f0 /* 801FAC48 001F7BA8 D0 1E 08 74 */ stfs f0, 0x874(r30) /* 801FAC4C 001F7BAC C0 3E 08 78 */ lfs f1, 0x878(r30) /* 801FAC50 001F7BB0 C0 1E 08 84 */ lfs f0, 0x884(r30) /* 801FAC54 001F7BB4 EC 01 00 2A */ fadds f0, f1, f0 /* 801FAC58 001F7BB8 D0 1E 08 78 */ stfs f0, 0x878(r30) /* 801FAC5C 001F7BBC C3 BE 00 60 */ lfs f29, 0x60(r30) /* 801FAC60 001F7BC0 C3 DE 00 50 */ lfs f30, 0x50(r30) /* 801FAC64 001F7BC4 C3 FE 00 40 */ lfs f31, 0x40(r30) /* 801FAC68 001F7BC8 48 00 1C 2D */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FAC6C 001F7BCC C0 41 00 0C */ lfs f2, 0xc(r1) /* 801FAC70 001F7BD0 38 61 00 24 */ addi r3, r1, 0x24 /* 801FAC74 001F7BD4 C0 21 00 10 */ lfs f1, 0x10(r1) /* 801FAC78 001F7BD8 38 81 00 18 */ addi r4, r1, 0x18 /* 801FAC7C 001F7BDC C0 01 00 14 */ lfs f0, 0x14(r1) /* 801FAC80 001F7BE0 EC 42 F8 28 */ fsubs f2, f2, f31 /* 801FAC84 001F7BE4 EC 21 F0 28 */ fsubs f1, f1, f30 /* 801FAC88 001F7BE8 EC 00 E8 28 */ fsubs f0, f0, f29 /* 801FAC8C 001F7BEC D0 41 00 18 */ stfs f2, 0x18(r1) /* 801FAC90 001F7BF0 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801FAC94 001F7BF4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801FAC98 001F7BF8 48 11 9B B9 */ bl AsNormalized__9CVector3fCFv /* 801FAC9C 001F7BFC C0 C1 00 84 */ lfs f6, 0x84(r1) /* 801FACA0 001F7C00 38 81 00 9C */ addi r4, r1, 0x9c /* 801FACA4 001F7C04 C0 A1 00 88 */ lfs f5, 0x88(r1) /* 801FACA8 001F7C08 C0 81 00 8C */ lfs f4, 0x8c(r1) /* 801FACAC 001F7C0C C0 61 00 24 */ lfs f3, 0x24(r1) /* 801FACB0 001F7C10 C0 41 00 28 */ lfs f2, 0x28(r1) /* 801FACB4 001F7C14 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801FACB8 001F7C18 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FACBC 001F7C1C D0 C1 00 9C */ stfs f6, 0x9c(r1) /* 801FACC0 001F7C20 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 801FACC4 001F7C24 D0 81 00 A4 */ stfs f4, 0xa4(r1) /* 801FACC8 001F7C28 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 801FACCC 001F7C2C D0 41 00 AC */ stfs f2, 0xac(r1) /* 801FACD0 001F7C30 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801FACD4 001F7C34 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801FACD8 001F7C38 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801FACDC 001F7C3C 38 63 00 04 */ addi r3, r3, 4 /* 801FACE0 001F7C40 4B F3 6A 39 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 801FACE4 001F7C44 7F C3 F3 78 */ mr r3, r30 /* 801FACE8 001F7C48 7F E4 FB 78 */ mr r4, r31 /* 801FACEC 001F7C4C 48 00 24 79 */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager /* 801FACF0 001F7C50 48 00 00 14 */ b lbl_801FAD04 lbl_801FACF4: /* 801FACF4 001F7C54 88 1E 06 A1 */ lbz r0, 0x6a1(r30) /* 801FACF8 001F7C58 38 60 00 00 */ li r3, 0 /* 801FACFC 001F7C5C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801FAD00 001F7C60 98 1E 06 A1 */ stb r0, 0x6a1(r30) lbl_801FAD04: /* 801FAD04 001F7C64 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 801FAD08 001F7C68 CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 801FAD0C 001F7C6C E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 801FAD10 001F7C70 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 801FAD14 001F7C74 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 /* 801FAD18 001F7C78 CB A1 00 C0 */ lfd f29, 0xc0(r1) /* 801FAD1C 001F7C7C 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 801FAD20 001F7C80 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 801FAD24 001F7C84 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 801FAD28 001F7C88 7C 08 03 A6 */ mtlr r0 /* 801FAD2C 001F7C8C 38 21 00 F0 */ addi r1, r1, 0xf0 /* 801FAD30 001F7C90 4E 80 00 20 */ blr .global InRange__13CFlyingPirateFR13CStateManagerf InRange__13CFlyingPirateFR13CStateManagerf: /* 801FAD34 001F7C94 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801FAD38 001F7C98 38 00 00 00 */ li r0, 0 /* 801FAD3C 001F7C9C C0 03 02 FC */ lfs f0, 0x2fc(r3) /* 801FAD40 001F7CA0 C0 84 00 60 */ lfs f4, 0x60(r4) /* 801FAD44 001F7CA4 C0 64 00 50 */ lfs f3, 0x50(r4) /* 801FAD48 001F7CA8 FC 20 22 10 */ fabs f1, f4 /* 801FAD4C 001F7CAC C0 44 00 40 */ lfs f2, 0x40(r4) /* 801FAD50 001F7CB0 FC 20 08 18 */ frsp f1, f1 /* 801FAD54 001F7CB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FAD58 001F7CB8 40 80 00 24 */ bge lbl_801FAD7C /* 801FAD5C 001F7CBC EC 23 00 F2 */ fmuls f1, f3, f3 /* 801FAD60 001F7CC0 C0 03 03 00 */ lfs f0, 0x300(r3) /* 801FAD64 001F7CC4 EC 00 00 32 */ fmuls f0, f0, f0 /* 801FAD68 001F7CC8 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801FAD6C 001F7CCC EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801FAD70 001F7CD0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FAD74 001F7CD4 40 80 00 08 */ bge lbl_801FAD7C /* 801FAD78 001F7CD8 38 00 00 01 */ li r0, 1 lbl_801FAD7C: /* 801FAD7C 001F7CDC 7C 03 03 78 */ mr r3, r0 /* 801FAD80 001F7CE0 4E 80 00 20 */ blr .global LineOfSight__13CFlyingPirateFR13CStateManagerf LineOfSight__13CFlyingPirateFR13CStateManagerf: /* 801FAD84 001F7CE4 88 03 06 A0 */ lbz r0, 0x6a0(r3) /* 801FAD88 001F7CE8 54 00 07 FE */ clrlwi r0, r0, 0x1f /* 801FAD8C 001F7CEC 7C 00 00 34 */ cntlzw r0, r0 /* 801FAD90 001F7CF0 54 03 D9 7E */ srwi r3, r0, 5 /* 801FAD94 001F7CF4 4E 80 00 20 */ blr .global SpotPlayer__13CFlyingPirateFR13CStateManagerf SpotPlayer__13CFlyingPirateFR13CStateManagerf: /* 801FAD98 001F7CF8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801FAD9C 001F7CFC 7C 08 02 A6 */ mflr r0 /* 801FADA0 001F7D00 90 01 00 44 */ stw r0, 0x44(r1) /* 801FADA4 001F7D04 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801FADA8 001F7D08 7C 9F 23 78 */ mr r31, r4 /* 801FADAC 001F7D0C 93 C1 00 38 */ stw r30, 0x38(r1) /* 801FADB0 001F7D10 7C 7E 1B 78 */ mr r30, r3 /* 801FADB4 001F7D14 7F C4 F3 78 */ mr r4, r30 /* 801FADB8 001F7D18 38 61 00 14 */ addi r3, r1, 0x14 /* 801FADBC 001F7D1C 4B E8 1D 15 */ bl GetGunEyePos__10CPatternedCFv /* 801FADC0 001F7D20 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801FADC4 001F7D24 7F E5 FB 78 */ mr r5, r31 /* 801FADC8 001F7D28 38 61 00 20 */ addi r3, r1, 0x20 /* 801FADCC 001F7D2C C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FADD0 001F7D30 81 84 00 00 */ lwz r12, 0(r4) /* 801FADD4 001F7D34 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801FADD8 001F7D38 7D 89 03 A6 */ mtctr r12 /* 801FADDC 001F7D3C 4E 80 04 21 */ bctrl /* 801FADE0 001F7D40 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801FADE4 001F7D44 38 61 00 2C */ addi r3, r1, 0x2c /* 801FADE8 001F7D48 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801FADEC 001F7D4C C0 61 00 20 */ lfs f3, 0x20(r1) /* 801FADF0 001F7D50 C0 41 00 14 */ lfs f2, 0x14(r1) /* 801FADF4 001F7D54 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FADF8 001F7D58 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801FADFC 001F7D5C C0 01 00 18 */ lfs f0, 0x18(r1) /* 801FAE00 001F7D60 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FAE04 001F7D64 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801FAE08 001F7D68 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FAE0C 001F7D6C D0 41 00 2C */ stfs f2, 0x2c(r1) /* 801FAE10 001F7D70 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801FAE14 001F7D74 48 11 9A A5 */ bl Magnitude__9CVector3fCFv /* 801FAE18 001F7D78 C0 BE 00 48 */ lfs f5, 0x48(r30) /* 801FAE1C 001F7D7C C0 01 00 30 */ lfs f0, 0x30(r1) /* 801FAE20 001F7D80 C0 9E 00 38 */ lfs f4, 0x38(r30) /* 801FAE24 001F7D84 EC 00 01 72 */ fmuls f0, f0, f5 /* 801FAE28 001F7D88 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 801FAE2C 001F7D8C C0 FE 03 C4 */ lfs f7, 0x3c4(r30) /* 801FAE30 001F7D90 C0 DE 00 58 */ lfs f6, 0x58(r30) /* 801FAE34 001F7D94 EC 42 01 3A */ fmadds f2, f2, f4, f0 /* 801FAE38 001F7D98 C0 61 00 34 */ lfs f3, 0x34(r1) /* 801FAE3C 001F7D9C EC 01 01 F2 */ fmuls f0, f1, f7 /* 801FAE40 001F7DA0 D0 81 00 08 */ stfs f4, 8(r1) /* 801FAE44 001F7DA4 EC 23 11 BA */ fmadds f1, f3, f6, f2 /* 801FAE48 001F7DA8 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 801FAE4C 001F7DAC D0 C1 00 10 */ stfs f6, 0x10(r1) /* 801FAE50 001F7DB0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FAE54 001F7DB4 7C 00 00 26 */ mfcr r0 /* 801FAE58 001F7DB8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 801FAE5C 001F7DBC 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801FAE60 001F7DC0 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801FAE64 001F7DC4 80 01 00 44 */ lwz r0, 0x44(r1) /* 801FAE68 001F7DC8 7C 08 03 A6 */ mtlr r0 /* 801FAE6C 001F7DCC 38 21 00 40 */ addi r1, r1, 0x40 /* 801FAE70 001F7DD0 4E 80 00 20 */ blr .global Attack__13CFlyingPirateFR13CStateManager9EStateMsgf Attack__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FAE74 001F7DD4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801FAE78 001F7DD8 7C 08 02 A6 */ mflr r0 /* 801FAE7C 001F7DDC 90 01 00 64 */ stw r0, 0x64(r1) /* 801FAE80 001F7DE0 DB E1 00 50 */ stfd f31, 0x50(r1) /* 801FAE84 001F7DE4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 801FAE88 001F7DE8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801FAE8C 001F7DEC 93 C1 00 48 */ stw r30, 0x48(r1) /* 801FAE90 001F7DF0 93 A1 00 44 */ stw r29, 0x44(r1) /* 801FAE94 001F7DF4 FF E0 08 90 */ fmr f31, f1 /* 801FAE98 001F7DF8 2C 05 00 01 */ cmpwi r5, 1 /* 801FAE9C 001F7DFC 7C 7F 1B 78 */ mr r31, r3 /* 801FAEA0 001F7E00 7C 9D 23 78 */ mr r29, r4 /* 801FAEA4 001F7E04 41 82 00 94 */ beq lbl_801FAF38 /* 801FAEA8 001F7E08 40 80 00 10 */ bge lbl_801FAEB8 /* 801FAEAC 001F7E0C 2C 05 00 00 */ cmpwi r5, 0 /* 801FAEB0 001F7E10 40 80 00 14 */ bge lbl_801FAEC4 /* 801FAEB4 001F7E14 48 00 01 40 */ b lbl_801FAFF4 lbl_801FAEB8: /* 801FAEB8 001F7E18 2C 05 00 03 */ cmpwi r5, 3 /* 801FAEBC 001F7E1C 40 80 01 38 */ bge lbl_801FAFF4 /* 801FAEC0 001F7E20 48 00 01 20 */ b lbl_801FAFE0 lbl_801FAEC4: /* 801FAEC4 001F7E24 38 00 00 01 */ li r0, 1 /* 801FAEC8 001F7E28 90 1F 03 2C */ stw r0, 0x32c(r31) /* 801FAECC 001F7E2C 88 1F 06 A2 */ lbz r0, 0x6a2(r31) /* 801FAED0 001F7E30 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FAED4 001F7E34 40 82 01 20 */ bne lbl_801FAFF4 /* 801FAED8 001F7E38 C0 3F 08 58 */ lfs f1, 0x858(r31) /* 801FAEDC 001F7E3C C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801FAEE0 001F7E40 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FAEE4 001F7E44 40 80 00 14 */ bge lbl_801FAEF8 /* 801FAEE8 001F7E48 C0 22 AF 64 */ lfs f1, lbl_805ACC84@sda21(r2) /* 801FAEEC 001F7E4C C0 1F 06 50 */ lfs f0, 0x650(r31) /* 801FAEF0 001F7E50 EF E1 00 32 */ fmuls f31, f1, f0 /* 801FAEF4 001F7E54 48 00 00 08 */ b lbl_801FAEFC lbl_801FAEF8: /* 801FAEF8 001F7E58 C3 FF 06 50 */ lfs f31, 0x650(r31) lbl_801FAEFC: /* 801FAEFC 001F7E5C 80 7D 09 00 */ lwz r3, 0x900(r29) /* 801FAF00 001F7E60 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FAF04 001F7E64 C0 42 AF D4 */ lfs f2, lbl_805ACCF4@sda21(r2) /* 801FAF08 001F7E68 48 11 76 3D */ bl Range__9CRandom16Fff /* 801FAF0C 001F7E6C FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801FAF10 001F7E70 7C 60 00 26 */ mfcr r3 /* 801FAF14 001F7E74 88 1F 06 A2 */ lbz r0, 0x6a2(r31) /* 801FAF18 001F7E78 54 64 0F FE */ srwi r4, r3, 0x1f /* 801FAF1C 001F7E7C 38 60 00 01 */ li r3, 1 /* 801FAF20 001F7E80 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 801FAF24 001F7E84 98 1F 06 A2 */ stb r0, 0x6a2(r31) /* 801FAF28 001F7E88 88 1F 06 A2 */ lbz r0, 0x6a2(r31) /* 801FAF2C 001F7E8C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801FAF30 001F7E90 98 1F 06 A2 */ stb r0, 0x6a2(r31) /* 801FAF34 001F7E94 48 00 00 C0 */ b lbl_801FAFF4 lbl_801FAF38: /* 801FAF38 001F7E98 3C A0 80 3E */ lis r5, lbl_803E6814@ha /* 801FAF3C 001F7E9C 38 C1 00 2C */ addi r6, r1, 0x2c /* 801FAF40 001F7EA0 39 45 68 14 */ addi r10, r5, lbl_803E6814@l /* 801FAF44 001F7EA4 38 A0 00 12 */ li r5, 0x12 /* 801FAF48 001F7EA8 81 2A 00 00 */ lwz r9, 0(r10) /* 801FAF4C 001F7EAC 38 E0 00 01 */ li r7, 1 /* 801FAF50 001F7EB0 81 0A 00 04 */ lwz r8, 4(r10) /* 801FAF54 001F7EB4 80 0A 00 08 */ lwz r0, 8(r10) /* 801FAF58 001F7EB8 91 21 00 2C */ stw r9, 0x2c(r1) /* 801FAF5C 001F7EBC 91 01 00 30 */ stw r8, 0x30(r1) /* 801FAF60 001F7EC0 90 01 00 34 */ stw r0, 0x34(r1) /* 801FAF64 001F7EC4 4B E8 18 51 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801FAF68 001F7EC8 80 BD 08 4C */ lwz r5, 0x84c(r29) /* 801FAF6C 001F7ECC 38 61 00 20 */ addi r3, r1, 0x20 /* 801FAF70 001F7ED0 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 801FAF74 001F7ED4 38 81 00 14 */ addi r4, r1, 0x14 /* 801FAF78 001F7ED8 C0 A5 00 60 */ lfs f5, 0x60(r5) /* 801FAF7C 001F7EDC C0 85 00 50 */ lfs f4, 0x50(r5) /* 801FAF80 001F7EE0 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801FAF84 001F7EE4 EC 25 00 28 */ fsubs f1, f5, f0 /* 801FAF88 001F7EE8 C0 05 00 40 */ lfs f0, 0x40(r5) /* 801FAF8C 001F7EEC C0 7F 00 40 */ lfs f3, 0x40(r31) /* 801FAF90 001F7EF0 EC 44 10 28 */ fsubs f2, f4, f2 /* 801FAF94 001F7EF4 D0 01 00 08 */ stfs f0, 8(r1) /* 801FAF98 001F7EF8 EC 00 18 28 */ fsubs f0, f0, f3 /* 801FAF9C 001F7EFC D0 41 00 18 */ stfs f2, 0x18(r1) /* 801FAFA0 001F7F00 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801FAFA4 001F7F04 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801FAFA8 001F7F08 D0 81 00 0C */ stfs f4, 0xc(r1) /* 801FAFAC 001F7F0C 83 DF 04 50 */ lwz r30, 0x450(r31) /* 801FAFB0 001F7F10 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 801FAFB4 001F7F14 48 11 98 9D */ bl AsNormalized__9CVector3fCFv /* 801FAFB8 001F7F18 FC 20 F8 90 */ fmr f1, f31 /* 801FAFBC 001F7F1C 7F C3 F3 78 */ mr r3, r30 /* 801FAFC0 001F7F20 38 81 00 20 */ addi r4, r1, 0x20 /* 801FAFC4 001F7F24 4B F3 F6 E1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff /* 801FAFC8 001F7F28 7F E3 FB 78 */ mr r3, r31 /* 801FAFCC 001F7F2C 48 00 2D 79 */ bl sub_801fdd44 /* 801FAFD0 001F7F30 7F E3 FB 78 */ mr r3, r31 /* 801FAFD4 001F7F34 7F A4 EB 78 */ mr r4, r29 /* 801FAFD8 001F7F38 48 00 21 8D */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager /* 801FAFDC 001F7F3C 48 00 00 18 */ b lbl_801FAFF4 lbl_801FAFE0: /* 801FAFE0 001F7F40 38 60 00 00 */ li r3, 0 /* 801FAFE4 001F7F44 90 7F 03 2C */ stw r3, 0x32c(r31) /* 801FAFE8 001F7F48 88 1F 06 A2 */ lbz r0, 0x6a2(r31) /* 801FAFEC 001F7F4C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801FAFF0 001F7F50 98 1F 06 A2 */ stb r0, 0x6a2(r31) lbl_801FAFF4: /* 801FAFF4 001F7F54 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 801FAFF8 001F7F58 80 01 00 64 */ lwz r0, 0x64(r1) /* 801FAFFC 001F7F5C CB E1 00 50 */ lfd f31, 0x50(r1) /* 801FB000 001F7F60 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801FB004 001F7F64 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801FB008 001F7F68 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801FB00C 001F7F6C 7C 08 03 A6 */ mtlr r0 /* 801FB010 001F7F70 38 21 00 60 */ addi r1, r1, 0x60 /* 801FB014 001F7F74 4E 80 00 20 */ blr .global ShouldAttack__13CFlyingPirateFR13CStateManagerf ShouldAttack__13CFlyingPirateFR13CStateManagerf: /* 801FB018 001F7F78 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801FB01C 001F7F7C 7C 08 02 A6 */ mflr r0 /* 801FB020 001F7F80 90 01 00 54 */ stw r0, 0x54(r1) /* 801FB024 001F7F84 DB E1 00 40 */ stfd f31, 0x40(r1) /* 801FB028 001F7F88 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 801FB02C 001F7F8C DB C1 00 30 */ stfd f30, 0x30(r1) /* 801FB030 001F7F90 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 801FB034 001F7F94 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801FB038 001F7F98 93 C1 00 28 */ stw r30, 0x28(r1) /* 801FB03C 001F7F9C 93 A1 00 24 */ stw r29, 0x24(r1) /* 801FB040 001F7FA0 7C 7D 1B 78 */ mr r29, r3 /* 801FB044 001F7FA4 7C 9E 23 78 */ mr r30, r4 /* 801FB048 001F7FA8 A0 C3 00 08 */ lhz r6, 8(r3) /* 801FB04C 001F7FAC 7F C3 F3 78 */ mr r3, r30 /* 801FB050 001F7FB0 38 81 00 1C */ addi r4, r1, 0x1c /* 801FB054 001F7FB4 38 A1 00 18 */ addi r5, r1, 0x18 /* 801FB058 001F7FB8 B0 C1 00 18 */ sth r6, 0x18(r1) /* 801FB05C 001F7FBC 3B E0 00 00 */ li r31, 0 /* 801FB060 001F7FC0 A0 1D 08 90 */ lhz r0, 0x890(r29) /* 801FB064 001F7FC4 B0 C1 00 14 */ sth r6, 0x14(r1) /* 801FB068 001F7FC8 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801FB06C 001F7FCC 48 03 F1 15 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId /* 801FB070 001F7FD0 28 03 00 00 */ cmplwi r3, 0 /* 801FB074 001F7FD4 41 82 00 10 */ beq lbl_801FB084 /* 801FB078 001F7FD8 80 03 00 10 */ lwz r0, 0x10(r3) /* 801FB07C 001F7FDC 2C 00 00 02 */ cmpwi r0, 2 /* 801FB080 001F7FE0 40 82 00 E8 */ bne lbl_801FB168 lbl_801FB084: /* 801FB084 001F7FE4 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801FB088 001F7FE8 A0 9D 07 E8 */ lhz r4, 0x7e8(r29) /* 801FB08C 001F7FEC A0 03 00 08 */ lhz r0, 8(r3) /* 801FB090 001F7FF0 7C 04 00 40 */ cmplw r4, r0 /* 801FB094 001F7FF4 40 82 00 D4 */ bne lbl_801FB168 /* 801FB098 001F7FF8 C0 3D 08 6C */ lfs f1, 0x86c(r29) /* 801FB09C 001F7FFC C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FB0A0 001F8000 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FB0A4 001F8004 4C 40 13 82 */ cror 2, 0, 2 /* 801FB0A8 001F8008 41 82 00 14 */ beq lbl_801FB0BC /* 801FB0AC 001F800C C0 3D 08 54 */ lfs f1, 0x854(r29) /* 801FB0B0 001F8010 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FB0B4 001F8014 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FB0B8 001F8018 40 80 00 B0 */ bge lbl_801FB168 lbl_801FB0BC: /* 801FB0BC 001F801C 7F A3 EB 78 */ mr r3, r29 /* 801FB0C0 001F8020 7F C4 F3 78 */ mr r4, r30 /* 801FB0C4 001F8024 48 00 15 E1 */ bl CanFireMissiles__13CFlyingPirateFR13CStateManager /* 801FB0C8 001F8028 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FB0CC 001F802C 41 82 00 9C */ beq lbl_801FB168 /* 801FB0D0 001F8030 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 801FB0D4 001F8034 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 801FB0D8 001F8038 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801FB0DC 001F803C C0 63 00 40 */ lfs f3, 0x40(r3) /* 801FB0E0 001F8040 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FB0E4 001F8044 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801FB0E8 001F8048 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801FB0EC 001F804C C0 3D 00 60 */ lfs f1, 0x60(r29) /* 801FB0F0 001F8050 EC 63 00 28 */ fsubs f3, f3, f0 /* 801FB0F4 001F8054 EC 04 01 32 */ fmuls f0, f4, f4 /* 801FB0F8 001F8058 EC 22 08 28 */ fsubs f1, f2, f1 /* 801FB0FC 001F805C EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 801FB100 001F8060 EC 21 00 72 */ fmuls f1, f1, f1 /* 801FB104 001F8064 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FB108 001F8068 40 80 00 60 */ bge lbl_801FB168 /* 801FB10C 001F806C A0 7D 08 90 */ lhz r3, 0x890(r29) /* 801FB110 001F8070 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FB114 001F8074 7C 03 00 40 */ cmplw r3, r0 /* 801FB118 001F8078 41 82 00 34 */ beq lbl_801FB14C /* 801FB11C 001F807C A0 FD 00 08 */ lhz r7, 8(r29) /* 801FB120 001F8080 7F C4 F3 78 */ mr r4, r30 /* 801FB124 001F8084 38 A1 00 10 */ addi r5, r1, 0x10 /* 801FB128 001F8088 38 C1 00 0C */ addi r6, r1, 0xc /* 801FB12C 001F808C B0 E1 00 0C */ sth r7, 0xc(r1) /* 801FB130 001F8090 38 60 00 01 */ li r3, 1 /* 801FB134 001F8094 A0 1D 08 90 */ lhz r0, 0x890(r29) /* 801FB138 001F8098 B0 E1 00 08 */ sth r7, 8(r1) /* 801FB13C 001F809C B0 01 00 10 */ sth r0, 0x10(r1) /* 801FB140 001F80A0 48 03 EE B1 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId /* 801FB144 001F80A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FB148 001F80A8 41 82 00 20 */ beq lbl_801FB168 lbl_801FB14C: /* 801FB14C 001F80AC C3 FD 06 28 */ lfs f31, 0x628(r29) /* 801FB150 001F80B0 3B E0 00 01 */ li r31, 1 /* 801FB154 001F80B4 C3 DD 06 24 */ lfs f30, 0x624(r29) /* 801FB158 001F80B8 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801FB15C 001F80BC 48 11 73 81 */ bl Float__9CRandom16Fv /* 801FB160 001F80C0 EC 1F F0 7A */ fmadds f0, f31, f1, f30 /* 801FB164 001F80C4 D0 1D 08 6C */ stfs f0, 0x86c(r29) lbl_801FB168: /* 801FB168 001F80C8 7F E3 FB 78 */ mr r3, r31 /* 801FB16C 001F80CC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 801FB170 001F80D0 CB E1 00 40 */ lfd f31, 0x40(r1) /* 801FB174 001F80D4 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 801FB178 001F80D8 CB C1 00 30 */ lfd f30, 0x30(r1) /* 801FB17C 001F80DC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801FB180 001F80E0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801FB184 001F80E4 80 01 00 54 */ lwz r0, 0x54(r1) /* 801FB188 001F80E8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801FB18C 001F80EC 7C 08 03 A6 */ mtlr r0 /* 801FB190 001F80F0 38 21 00 50 */ addi r1, r1, 0x50 /* 801FB194 001F80F4 4E 80 00 20 */ blr .global CoverFind__13CFlyingPirateFR13CStateManagerf CoverFind__13CFlyingPirateFR13CStateManagerf: /* 801FB198 001F80F8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 801FB19C 001F80FC 7C 08 02 A6 */ mflr r0 /* 801FB1A0 001F8100 90 01 00 74 */ stw r0, 0x74(r1) /* 801FB1A4 001F8104 DB E1 00 60 */ stfd f31, 0x60(r1) /* 801FB1A8 001F8108 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 801FB1AC 001F810C BF 21 00 44 */ stmw r25, 0x44(r1) /* 801FB1B0 001F8110 C0 03 05 68 */ lfs f0, 0x568(r3) /* 801FB1B4 001F8114 7C 7C 1B 78 */ mr r28, r3 /* 801FB1B8 001F8118 83 64 08 40 */ lwz r27, 0x840(r4) /* 801FB1BC 001F811C 7C 9D 23 78 */ mr r29, r4 /* 801FB1C0 001F8120 EF E0 00 32 */ fmuls f31, f0, f0 /* 801FB1C4 001F8124 3B E0 00 00 */ li r31, 0 /* 801FB1C8 001F8128 AB 3B 20 08 */ lha r25, 0x2008(r27) /* 801FB1CC 001F812C 3B C0 00 00 */ li r30, 0 /* 801FB1D0 001F8130 48 00 00 F0 */ b lbl_801FB2C0 lbl_801FB1D4: /* 801FB1D4 001F8134 7F 63 DB 78 */ mr r3, r27 /* 801FB1D8 001F8138 7F 24 CB 78 */ mr r4, r25 /* 801FB1DC 001F813C 4B E1 4B 01 */ bl __vc__11CObjectListCFi /* 801FB1E0 001F8140 7C 64 1B 78 */ mr r4, r3 /* 801FB1E4 001F8144 38 61 00 18 */ addi r3, r1, 0x18 /* 801FB1E8 001F8148 4B EA F8 45 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" /* 801FB1EC 001F814C 83 43 00 04 */ lwz r26, 4(r3) /* 801FB1F0 001F8150 28 1A 00 00 */ cmplwi r26, 0 /* 801FB1F4 001F8154 41 82 00 B0 */ beq lbl_801FB2A4 /* 801FB1F8 001F8158 88 1A 00 30 */ lbz r0, 0x30(r26) /* 801FB1FC 001F815C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801FB200 001F8160 41 82 00 A4 */ beq lbl_801FB2A4 /* 801FB204 001F8164 7F 43 D3 78 */ mr r3, r26 /* 801FB208 001F8168 4B F3 23 ED */ bl ShouldLandHere__17CScriptCoverPointCFv /* 801FB20C 001F816C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FB210 001F8170 41 82 00 94 */ beq lbl_801FB2A4 /* 801FB214 001F8174 A0 1C 00 08 */ lhz r0, 8(r28) /* 801FB218 001F8178 7F 43 D3 78 */ mr r3, r26 /* 801FB21C 001F817C 38 81 00 14 */ addi r4, r1, 0x14 /* 801FB220 001F8180 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FB224 001F8184 B0 01 00 14 */ sth r0, 0x14(r1) /* 801FB228 001F8188 4B F3 21 ED */ bl GetInUse__17CScriptCoverPointCF9TUniqueId /* 801FB22C 001F818C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FB230 001F8190 40 82 00 74 */ bne lbl_801FB2A4 /* 801FB234 001F8194 80 7A 00 04 */ lwz r3, 4(r26) /* 801FB238 001F8198 80 1C 00 04 */ lwz r0, 4(r28) /* 801FB23C 001F819C 7C 03 00 00 */ cmpw r3, r0 /* 801FB240 001F81A0 40 82 00 64 */ bne lbl_801FB2A4 /* 801FB244 001F81A4 C0 DC 00 50 */ lfs f6, 0x50(r28) /* 801FB248 001F81A8 C0 1A 00 50 */ lfs f0, 0x50(r26) /* 801FB24C 001F81AC C0 3C 00 40 */ lfs f1, 0x40(r28) /* 801FB250 001F81B0 EC A6 00 28 */ fsubs f5, f6, f0 /* 801FB254 001F81B4 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801FB258 001F81B8 C0 FC 00 60 */ lfs f7, 0x60(r28) /* 801FB25C 001F81BC EC 61 00 28 */ fsubs f3, f1, f0 /* 801FB260 001F81C0 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801FB264 001F81C4 EC 05 01 72 */ fmuls f0, f5, f5 /* 801FB268 001F81C8 EC 87 10 28 */ fsubs f4, f7, f2 /* 801FB26C 001F81CC D0 21 00 28 */ stfs f1, 0x28(r1) /* 801FB270 001F81D0 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801FB274 001F81D4 D0 C1 00 2C */ stfs f6, 0x2c(r1) /* 801FB278 001F81D8 EC 44 01 32 */ fmuls f2, f4, f4 /* 801FB27C 001F81DC EC 01 00 2A */ fadds f0, f1, f0 /* 801FB280 001F81E0 D0 E1 00 30 */ stfs f7, 0x30(r1) /* 801FB284 001F81E4 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801FB288 001F81E8 EC 02 00 2A */ fadds f0, f2, f0 /* 801FB28C 001F81EC D0 A1 00 38 */ stfs f5, 0x38(r1) /* 801FB290 001F81F0 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 801FB294 001F81F4 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 801FB298 001F81F8 40 80 00 0C */ bge lbl_801FB2A4 /* 801FB29C 001F81FC FF E0 00 90 */ fmr f31, f0 /* 801FB2A0 001F8200 7F 5E D3 78 */ mr r30, r26 lbl_801FB2A4: /* 801FB2A4 001F8204 2C 19 FF FF */ cmpwi r25, -1 /* 801FB2A8 001F8208 41 82 00 14 */ beq lbl_801FB2BC /* 801FB2AC 001F820C 57 23 18 38 */ slwi r3, r25, 3 /* 801FB2B0 001F8210 38 03 00 08 */ addi r0, r3, 8 /* 801FB2B4 001F8214 7F 3B 02 AE */ lhax r25, r27, r0 /* 801FB2B8 001F8218 48 00 00 08 */ b lbl_801FB2C0 lbl_801FB2BC: /* 801FB2BC 001F821C 3B 20 FF FF */ li r25, -1 lbl_801FB2C0: /* 801FB2C0 001F8220 2C 19 FF FF */ cmpwi r25, -1 /* 801FB2C4 001F8224 40 82 FF 10 */ bne lbl_801FB1D4 /* 801FB2C8 001F8228 28 1E 00 00 */ cmplwi r30, 0 /* 801FB2CC 001F822C 41 82 00 5C */ beq lbl_801FB328 /* 801FB2D0 001F8230 7F 83 E3 78 */ mr r3, r28 /* 801FB2D4 001F8234 7F A4 EB 78 */ mr r4, r29 /* 801FB2D8 001F8238 38 BC 06 A4 */ addi r5, r28, 0x6a4 /* 801FB2DC 001F823C 4B E8 15 81 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId /* 801FB2E0 001F8240 A0 1E 00 08 */ lhz r0, 8(r30) /* 801FB2E4 001F8244 7F A3 EB 78 */ mr r3, r29 /* 801FB2E8 001F8248 38 81 00 0C */ addi r4, r1, 0xc /* 801FB2EC 001F824C B0 01 00 08 */ sth r0, 8(r1) /* 801FB2F0 001F8250 B0 01 00 0C */ sth r0, 0xc(r1) /* 801FB2F4 001F8254 4B E5 12 81 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801FB2F8 001F8258 7C 64 1B 78 */ mr r4, r3 /* 801FB2FC 001F825C 38 61 00 20 */ addi r3, r1, 0x20 /* 801FB300 001F8260 4B EA F7 2D */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" /* 801FB304 001F8264 80 83 00 04 */ lwz r4, 4(r3) /* 801FB308 001F8268 28 04 00 00 */ cmplwi r4, 0 /* 801FB30C 001F826C 41 82 00 1C */ beq lbl_801FB328 /* 801FB310 001F8270 7F 83 E3 78 */ mr r3, r28 /* 801FB314 001F8274 38 BC 06 A4 */ addi r5, r28, 0x6a4 /* 801FB318 001F8278 4B E8 14 FD */ bl SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId /* 801FB31C 001F827C A0 1C 06 A4 */ lhz r0, 0x6a4(r28) /* 801FB320 001F8280 3B E0 00 01 */ li r31, 1 /* 801FB324 001F8284 B0 1C 06 A6 */ sth r0, 0x6a6(r28) lbl_801FB328: /* 801FB328 001F8288 7F E3 FB 78 */ mr r3, r31 /* 801FB32C 001F828C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 801FB330 001F8290 CB E1 00 60 */ lfd f31, 0x60(r1) /* 801FB334 001F8294 BB 21 00 44 */ lmw r25, 0x44(r1) /* 801FB338 001F8298 80 01 00 74 */ lwz r0, 0x74(r1) /* 801FB33C 001F829C 7C 08 03 A6 */ mtlr r0 /* 801FB340 001F82A0 38 21 00 70 */ addi r1, r1, 0x70 /* 801FB344 001F82A4 4E 80 00 20 */ blr .global CoverCheck__13CFlyingPirateFR13CStateManagerf CoverCheck__13CFlyingPirateFR13CStateManagerf: /* 801FB348 001F82A8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801FB34C 001F82AC 7C 08 02 A6 */ mflr r0 /* 801FB350 001F82B0 90 01 00 24 */ stw r0, 0x24(r1) /* 801FB354 001F82B4 DB E1 00 10 */ stfd f31, 0x10(r1) /* 801FB358 001F82B8 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 801FB35C 001F82BC C0 03 08 88 */ lfs f0, 0x888(r3) /* 801FB360 001F82C0 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FB364 001F82C4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 801FB368 001F82C8 4C 40 13 82 */ cror 2, 0, 2 /* 801FB36C 001F82CC 40 82 00 2C */ bne lbl_801FB398 /* 801FB370 001F82D0 C0 02 AF D0 */ lfs f0, lbl_805ACCF0@sda21(r2) /* 801FB374 001F82D4 C0 42 AF D4 */ lfs f2, lbl_805ACCF4@sda21(r2) /* 801FB378 001F82D8 D0 03 08 88 */ stfs f0, 0x888(r3) /* 801FB37C 001F82DC C3 E3 06 34 */ lfs f31, 0x634(r3) /* 801FB380 001F82E0 80 64 09 00 */ lwz r3, 0x900(r4) /* 801FB384 001F82E4 48 11 71 C1 */ bl Range__9CRandom16Fff /* 801FB388 001F82E8 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 801FB38C 001F82EC 7C 00 00 26 */ mfcr r0 /* 801FB390 001F82F0 54 03 0F FE */ srwi r3, r0, 0x1f /* 801FB394 001F82F4 48 00 00 08 */ b lbl_801FB39C lbl_801FB398: /* 801FB398 001F82F8 38 60 00 00 */ li r3, 0 lbl_801FB39C: /* 801FB39C 001F82FC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 801FB3A0 001F8300 80 01 00 24 */ lwz r0, 0x24(r1) /* 801FB3A4 001F8304 CB E1 00 10 */ lfd f31, 0x10(r1) /* 801FB3A8 001F8308 7C 08 03 A6 */ mtlr r0 /* 801FB3AC 001F830C 38 21 00 20 */ addi r1, r1, 0x20 /* 801FB3B0 001F8310 4E 80 00 20 */ blr .global Lurk__13CFlyingPirateFR13CStateManager9EStateMsgf Lurk__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FB3B4 001F8314 94 21 FF A0 */ stwu r1, -0x60(r1) /* 801FB3B8 001F8318 7C 08 02 A6 */ mflr r0 /* 801FB3BC 001F831C 2C 05 00 01 */ cmpwi r5, 1 /* 801FB3C0 001F8320 90 01 00 64 */ stw r0, 0x64(r1) /* 801FB3C4 001F8324 93 E1 00 5C */ stw r31, 0x5c(r1) /* 801FB3C8 001F8328 7C 7F 1B 78 */ mr r31, r3 /* 801FB3CC 001F832C 93 C1 00 58 */ stw r30, 0x58(r1) /* 801FB3D0 001F8330 7C 9E 23 78 */ mr r30, r4 /* 801FB3D4 001F8334 41 82 00 A4 */ beq lbl_801FB478 /* 801FB3D8 001F8338 40 80 00 10 */ bge lbl_801FB3E8 /* 801FB3DC 001F833C 2C 05 00 00 */ cmpwi r5, 0 /* 801FB3E0 001F8340 40 80 00 14 */ bge lbl_801FB3F4 /* 801FB3E4 001F8344 48 00 01 BC */ b lbl_801FB5A0 lbl_801FB3E8: /* 801FB3E8 001F8348 2C 05 00 03 */ cmpwi r5, 3 /* 801FB3EC 001F834C 40 80 01 B4 */ bge lbl_801FB5A0 /* 801FB3F0 001F8350 48 00 01 90 */ b lbl_801FB580 lbl_801FB3F4: /* 801FB3F4 001F8354 38 BF 06 A4 */ addi r5, r31, 0x6a4 /* 801FB3F8 001F8358 4B E8 14 65 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId /* 801FB3FC 001F835C 88 1F 06 A0 */ lbz r0, 0x6a0(r31) /* 801FB400 001F8360 38 60 00 01 */ li r3, 1 /* 801FB404 001F8364 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801FB408 001F8368 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FB40C 001F836C 98 1F 06 A0 */ stb r0, 0x6a0(r31) /* 801FB410 001F8370 38 00 00 00 */ li r0, 0 /* 801FB414 001F8374 7F C4 F3 78 */ mr r4, r30 /* 801FB418 001F8378 38 A1 00 10 */ addi r5, r1, 0x10 /* 801FB41C 001F837C D0 1F 07 D8 */ stfs f0, 0x7d8(r31) /* 801FB420 001F8380 38 C1 00 0C */ addi r6, r1, 0xc /* 801FB424 001F8384 38 60 00 01 */ li r3, 1 /* 801FB428 001F8388 38 E0 00 01 */ li r7, 1 /* 801FB42C 001F838C 90 1F 07 DC */ stw r0, 0x7dc(r31) /* 801FB430 001F8390 A1 1F 00 08 */ lhz r8, 8(r31) /* 801FB434 001F8394 B1 01 00 0C */ sth r8, 0xc(r1) /* 801FB438 001F8398 A0 1F 08 90 */ lhz r0, 0x890(r31) /* 801FB43C 001F839C B1 01 00 08 */ sth r8, 8(r1) /* 801FB440 001F83A0 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FB444 001F83A4 48 03 EA 8D */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb /* 801FB448 001F83A8 C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801FB44C 001F83AC 7F E3 FB 78 */ mr r3, r31 /* 801FB450 001F83B0 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FB454 001F83B4 7F C4 F3 78 */ mr r4, r30 /* 801FB458 001F83B8 D0 1F 03 40 */ stfs f0, 0x340(r31) /* 801FB45C 001F83BC 38 A0 00 01 */ li r5, 1 /* 801FB460 001F83C0 48 00 27 89 */ bl sub_801fdbe8 /* 801FB464 001F83C4 88 1F 06 A2 */ lbz r0, 0x6a2(r31) /* 801FB468 001F83C8 38 60 00 00 */ li r3, 0 /* 801FB46C 001F83CC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801FB470 001F83D0 98 1F 06 A2 */ stb r0, 0x6a2(r31) /* 801FB474 001F83D4 48 00 01 2C */ b lbl_801FB5A0 lbl_801FB478: /* 801FB478 001F83D8 48 00 1C ED */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager /* 801FB47C 001F83DC 80 1F 03 2C */ lwz r0, 0x32c(r31) /* 801FB480 001F83E0 2C 00 00 00 */ cmpwi r0, 0 /* 801FB484 001F83E4 41 82 00 3C */ beq lbl_801FB4C0 /* 801FB488 001F83E8 3C 80 80 3E */ lis r4, lbl_803E6808@ha /* 801FB48C 001F83EC 7F E3 FB 78 */ mr r3, r31 /* 801FB490 001F83F0 38 E4 68 08 */ addi r7, r4, lbl_803E6808@l /* 801FB494 001F83F4 7F C4 F3 78 */ mr r4, r30 /* 801FB498 001F83F8 81 27 00 00 */ lwz r9, 0(r7) /* 801FB49C 001F83FC 38 C1 00 38 */ addi r6, r1, 0x38 /* 801FB4A0 001F8400 81 07 00 04 */ lwz r8, 4(r7) /* 801FB4A4 001F8404 38 A0 00 08 */ li r5, 8 /* 801FB4A8 001F8408 80 07 00 08 */ lwz r0, 8(r7) /* 801FB4AC 001F840C 38 E0 00 00 */ li r7, 0 /* 801FB4B0 001F8410 91 21 00 38 */ stw r9, 0x38(r1) /* 801FB4B4 001F8414 91 01 00 3C */ stw r8, 0x3c(r1) /* 801FB4B8 001F8418 90 01 00 40 */ stw r0, 0x40(r1) /* 801FB4BC 001F841C 4B E8 12 F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi lbl_801FB4C0: /* 801FB4C0 001F8420 80 1F 03 2C */ lwz r0, 0x32c(r31) /* 801FB4C4 001F8424 2C 00 00 02 */ cmpwi r0, 2 /* 801FB4C8 001F8428 41 82 00 D8 */ beq lbl_801FB5A0 /* 801FB4CC 001F842C 7F E4 FB 78 */ mr r4, r31 /* 801FB4D0 001F8430 7F C5 F3 78 */ mr r5, r30 /* 801FB4D4 001F8434 38 61 00 2C */ addi r3, r1, 0x2c /* 801FB4D8 001F8438 48 00 13 BD */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FB4DC 001F843C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 801FB4E0 001F8440 38 61 00 14 */ addi r3, r1, 0x14 /* 801FB4E4 001F8444 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FB4E8 001F8448 38 81 00 44 */ addi r4, r1, 0x44 /* 801FB4EC 001F844C D0 3F 02 E0 */ stfs f1, 0x2e0(r31) /* 801FB4F0 001F8450 C0 21 00 30 */ lfs f1, 0x30(r1) /* 801FB4F4 001F8454 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) /* 801FB4F8 001F8458 C0 21 00 34 */ lfs f1, 0x34(r1) /* 801FB4FC 001F845C D0 3F 02 E8 */ stfs f1, 0x2e8(r31) /* 801FB500 001F8460 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) /* 801FB504 001F8464 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801FB508 001F8468 C0 9F 02 E4 */ lfs f4, 0x2e4(r31) /* 801FB50C 001F846C C0 7F 00 50 */ lfs f3, 0x50(r31) /* 801FB510 001F8470 EC A2 08 28 */ fsubs f5, f2, f1 /* 801FB514 001F8474 C0 5F 02 E0 */ lfs f2, 0x2e0(r31) /* 801FB518 001F8478 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 801FB51C 001F847C EC 64 18 28 */ fsubs f3, f4, f3 /* 801FB520 001F8480 EC 22 08 28 */ fsubs f1, f2, f1 /* 801FB524 001F8484 D0 A1 00 4C */ stfs f5, 0x4c(r1) /* 801FB528 001F8488 D0 61 00 48 */ stfs f3, 0x48(r1) /* 801FB52C 001F848C D0 21 00 44 */ stfs f1, 0x44(r1) /* 801FB530 001F8490 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 801FB534 001F8494 48 11 93 1D */ bl AsNormalized__9CVector3fCFv /* 801FB538 001F8498 C0 9F 00 48 */ lfs f4, 0x48(r31) /* 801FB53C 001F849C C0 01 00 18 */ lfs f0, 0x18(r1) /* 801FB540 001F84A0 C0 7F 00 38 */ lfs f3, 0x38(r31) /* 801FB544 001F84A4 EC 04 00 32 */ fmuls f0, f4, f0 /* 801FB548 001F84A8 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801FB54C 001F84AC C0 BF 00 58 */ lfs f5, 0x58(r31) /* 801FB550 001F84B0 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 801FB554 001F84B4 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801FB558 001F84B8 C0 02 AF C8 */ lfs f0, lbl_805ACCE8@sda21(r2) /* 801FB55C 001F84BC D0 61 00 20 */ stfs f3, 0x20(r1) /* 801FB560 001F84C0 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 801FB564 001F84C4 D0 81 00 24 */ stfs f4, 0x24(r1) /* 801FB568 001F84C8 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 801FB56C 001F84CC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FB570 001F84D0 40 80 00 30 */ bge lbl_801FB5A0 /* 801FB574 001F84D4 38 00 00 01 */ li r0, 1 /* 801FB578 001F84D8 90 1F 03 2C */ stw r0, 0x32c(r31) /* 801FB57C 001F84DC 48 00 00 24 */ b lbl_801FB5A0 lbl_801FB580: /* 801FB580 001F84E0 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801FB584 001F84E4 38 60 00 00 */ li r3, 0 /* 801FB588 001F84E8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801FB58C 001F84EC 98 1F 06 A1 */ stb r0, 0x6a1(r31) /* 801FB590 001F84F0 88 1F 06 A1 */ lbz r0, 0x6a1(r31) /* 801FB594 001F84F4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801FB598 001F84F8 98 1F 06 A1 */ stb r0, 0x6a1(r31) /* 801FB59C 001F84FC 90 7F 03 2C */ stw r3, 0x32c(r31) lbl_801FB5A0: /* 801FB5A0 001F8500 80 01 00 64 */ lwz r0, 0x64(r1) /* 801FB5A4 001F8504 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 801FB5A8 001F8508 83 C1 00 58 */ lwz r30, 0x58(r1) /* 801FB5AC 001F850C 7C 08 03 A6 */ mtlr r0 /* 801FB5B0 001F8510 38 21 00 60 */ addi r1, r1, 0x60 /* 801FB5B4 001F8514 4E 80 00 20 */ blr .global Bounce__13CFlyingPirateFR13CStateManager9EStateMsgf Bounce__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FB5B8 001F8518 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801FB5BC 001F851C 7C 08 02 A6 */ mflr r0 /* 801FB5C0 001F8520 2C 05 00 01 */ cmpwi r5, 1 /* 801FB5C4 001F8524 90 01 00 34 */ stw r0, 0x34(r1) /* 801FB5C8 001F8528 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801FB5CC 001F852C 7C 7F 1B 78 */ mr r31, r3 /* 801FB5D0 001F8530 41 82 00 44 */ beq lbl_801FB614 /* 801FB5D4 001F8534 40 80 01 24 */ bge lbl_801FB6F8 /* 801FB5D8 001F8538 2C 05 00 00 */ cmpwi r5, 0 /* 801FB5DC 001F853C 40 80 00 0C */ bge lbl_801FB5E8 /* 801FB5E0 001F8540 48 00 01 18 */ b lbl_801FB6F8 /* 801FB5E4 001F8544 48 00 01 14 */ b lbl_801FB6F8 lbl_801FB5E8: /* 801FB5E8 001F8548 A1 1F 00 08 */ lhz r8, 8(r31) /* 801FB5EC 001F854C 38 A1 00 10 */ addi r5, r1, 0x10 /* 801FB5F0 001F8550 38 C1 00 0C */ addi r6, r1, 0xc /* 801FB5F4 001F8554 38 60 00 01 */ li r3, 1 /* 801FB5F8 001F8558 B1 01 00 0C */ sth r8, 0xc(r1) /* 801FB5FC 001F855C 38 E0 00 01 */ li r7, 1 /* 801FB600 001F8560 A0 1F 08 90 */ lhz r0, 0x890(r31) /* 801FB604 001F8564 B1 01 00 08 */ sth r8, 8(r1) /* 801FB608 001F8568 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FB60C 001F856C 48 03 E8 C5 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb /* 801FB610 001F8570 48 00 00 E8 */ b lbl_801FB6F8 lbl_801FB614: /* 801FB614 001F8574 80 9F 04 50 */ lwz r4, 0x450(r31) /* 801FB618 001F8578 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801FB61C 001F857C 2C 00 00 05 */ cmpwi r0, 5 /* 801FB620 001F8580 41 82 00 C8 */ beq lbl_801FB6E8 /* 801FB624 001F8584 40 80 00 10 */ bge lbl_801FB634 /* 801FB628 001F8588 2C 00 00 02 */ cmpwi r0, 2 /* 801FB62C 001F858C 41 82 00 5C */ beq lbl_801FB688 /* 801FB630 001F8590 48 00 00 C8 */ b lbl_801FB6F8 lbl_801FB634: /* 801FB634 001F8594 2C 00 00 0E */ cmpwi r0, 0xe /* 801FB638 001F8598 41 82 00 08 */ beq lbl_801FB640 /* 801FB63C 001F859C 48 00 00 BC */ b lbl_801FB6F8 lbl_801FB640: /* 801FB640 001F85A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801FB644 001F85A4 38 00 00 0A */ li r0, 0xa /* 801FB648 001F85A8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 801FB64C 001F85AC 90 01 00 18 */ stw r0, 0x18(r1) /* 801FB650 001F85B0 38 64 00 04 */ addi r3, r4, 4 /* 801FB654 001F85B4 38 81 00 14 */ addi r4, r1, 0x14 /* 801FB658 001F85B8 90 A1 00 14 */ stw r5, 0x14(r1) /* 801FB65C 001F85BC 4B F3 61 5D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 801FB660 001F85C0 34 01 00 14 */ addic. r0, r1, 0x14 /* 801FB664 001F85C4 41 82 00 10 */ beq lbl_801FB674 /* 801FB668 001F85C8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801FB66C 001F85CC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801FB670 001F85D0 90 01 00 14 */ stw r0, 0x14(r1) lbl_801FB674: /* 801FB674 001F85D4 88 1F 03 28 */ lbz r0, 0x328(r31) /* 801FB678 001F85D8 38 60 00 01 */ li r3, 1 /* 801FB67C 001F85DC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801FB680 001F85E0 98 1F 03 28 */ stb r0, 0x328(r31) /* 801FB684 001F85E4 48 00 00 74 */ b lbl_801FB6F8 lbl_801FB688: /* 801FB688 001F85E8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801FB68C 001F85EC 38 A0 00 00 */ li r5, 0 /* 801FB690 001F85F0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801FB694 001F85F4 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801FB698 001F85F8 90 01 00 1C */ stw r0, 0x1c(r1) /* 801FB69C 001F85FC 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 801FB6A0 001F8600 3B E4 00 04 */ addi r31, r4, 4 /* 801FB6A4 001F8604 38 80 00 00 */ li r4, 0 /* 801FB6A8 001F8608 90 A1 00 20 */ stw r5, 0x20(r1) /* 801FB6AC 001F860C 7F E3 FB 78 */ mr r3, r31 /* 801FB6B0 001F8610 90 01 00 1C */ stw r0, 0x1c(r1) /* 801FB6B4 001F8614 90 A1 00 24 */ stw r5, 0x24(r1) /* 801FB6B8 001F8618 4B F3 5D 81 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801FB6BC 001F861C 80 01 00 20 */ lwz r0, 0x20(r1) /* 801FB6C0 001F8620 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801FB6C4 001F8624 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 801FB6C8 001F8628 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801FB6CC 001F862C 90 1F 00 BC */ stw r0, 0xbc(r31) /* 801FB6D0 001F8630 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801FB6D4 001F8634 80 61 00 24 */ lwz r3, 0x24(r1) /* 801FB6D8 001F8638 90 81 00 1C */ stw r4, 0x1c(r1) /* 801FB6DC 001F863C 90 7F 00 C0 */ stw r3, 0xc0(r31) /* 801FB6E0 001F8640 90 01 00 1C */ stw r0, 0x1c(r1) /* 801FB6E4 001F8644 48 00 00 14 */ b lbl_801FB6F8 lbl_801FB6E8: /* 801FB6E8 001F8648 88 1F 03 48 */ lbz r0, 0x348(r31) /* 801FB6EC 001F864C 38 60 00 01 */ li r3, 1 /* 801FB6F0 001F8650 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801FB6F4 001F8654 98 1F 03 48 */ stb r0, 0x348(r31) lbl_801FB6F8: /* 801FB6F8 001F8658 80 01 00 34 */ lwz r0, 0x34(r1) /* 801FB6FC 001F865C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801FB700 001F8660 7C 08 03 A6 */ mtlr r0 /* 801FB704 001F8664 38 21 00 30 */ addi r1, r1, 0x30 /* 801FB708 001F8668 4E 80 00 20 */ blr .global GetUp__13CFlyingPirateFR13CStateManager9EStateMsgf GetUp__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FB70C 001F866C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 801FB710 001F8670 7C 08 02 A6 */ mflr r0 /* 801FB714 001F8674 2C 05 00 01 */ cmpwi r5, 1 /* 801FB718 001F8678 90 01 00 44 */ stw r0, 0x44(r1) /* 801FB71C 001F867C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801FB720 001F8680 7C 9F 23 78 */ mr r31, r4 /* 801FB724 001F8684 93 C1 00 38 */ stw r30, 0x38(r1) /* 801FB728 001F8688 7C 7E 1B 78 */ mr r30, r3 /* 801FB72C 001F868C 41 82 00 54 */ beq lbl_801FB780 /* 801FB730 001F8690 40 80 00 10 */ bge lbl_801FB740 /* 801FB734 001F8694 2C 05 00 00 */ cmpwi r5, 0 /* 801FB738 001F8698 40 80 00 14 */ bge lbl_801FB74C /* 801FB73C 001F869C 48 00 00 E8 */ b lbl_801FB824 lbl_801FB740: /* 801FB740 001F86A0 2C 05 00 03 */ cmpwi r5, 3 /* 801FB744 001F86A4 40 80 00 E0 */ bge lbl_801FB824 /* 801FB748 001F86A8 48 00 00 D4 */ b lbl_801FB81C lbl_801FB74C: /* 801FB74C 001F86AC 38 00 00 01 */ li r0, 1 /* 801FB750 001F86B0 38 A1 00 10 */ addi r5, r1, 0x10 /* 801FB754 001F86B4 90 1E 03 2C */ stw r0, 0x32c(r30) /* 801FB758 001F86B8 38 C1 00 0C */ addi r6, r1, 0xc /* 801FB75C 001F86BC 38 60 00 01 */ li r3, 1 /* 801FB760 001F86C0 38 E0 00 01 */ li r7, 1 /* 801FB764 001F86C4 A1 1E 00 08 */ lhz r8, 8(r30) /* 801FB768 001F86C8 B1 01 00 0C */ sth r8, 0xc(r1) /* 801FB76C 001F86CC A0 1E 08 90 */ lhz r0, 0x890(r30) /* 801FB770 001F86D0 B1 01 00 08 */ sth r8, 8(r1) /* 801FB774 001F86D4 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FB778 001F86D8 48 03 E7 59 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb /* 801FB77C 001F86DC 48 00 00 A8 */ b lbl_801FB824 lbl_801FB780: /* 801FB780 001F86E0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 801FB784 001F86E4 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 801FB788 001F86E8 2C 00 00 02 */ cmpwi r0, 2 /* 801FB78C 001F86EC 40 82 00 54 */ bne lbl_801FB7E0 /* 801FB790 001F86F0 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FB794 001F86F4 38 7E 06 A8 */ addi r3, r30, 0x6a8 /* 801FB798 001F86F8 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FB79C 001F86FC 38 81 00 2C */ addi r4, r1, 0x2c /* 801FB7A0 001F8700 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FB7A4 001F8704 38 A1 00 20 */ addi r5, r1, 0x20 /* 801FB7A8 001F8708 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801FB7AC 001F870C D0 21 00 24 */ stfs f1, 0x24(r1) /* 801FB7B0 001F8710 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801FB7B4 001F8714 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801FB7B8 001F8718 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801FB7BC 001F871C D0 41 00 34 */ stfs f2, 0x34(r1) /* 801FB7C0 001F8720 4B FC C4 AD */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f /* 801FB7C4 001F8724 2C 03 00 02 */ cmpwi r3, 2 /* 801FB7C8 001F8728 40 82 00 18 */ bne lbl_801FB7E0 /* 801FB7CC 001F872C 88 1E 04 01 */ lbz r0, 0x401(r30) /* 801FB7D0 001F8730 38 60 00 01 */ li r3, 1 /* 801FB7D4 001F8734 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801FB7D8 001F8738 98 1E 04 01 */ stb r0, 0x401(r30) /* 801FB7DC 001F873C 48 00 00 48 */ b lbl_801FB824 lbl_801FB7E0: /* 801FB7E0 001F8740 3C 80 80 3E */ lis r4, lbl_803E67FC@ha /* 801FB7E4 001F8744 7F C3 F3 78 */ mr r3, r30 /* 801FB7E8 001F8748 38 E4 67 FC */ addi r7, r4, lbl_803E67FC@l /* 801FB7EC 001F874C 7F E4 FB 78 */ mr r4, r31 /* 801FB7F0 001F8750 81 27 00 00 */ lwz r9, 0(r7) /* 801FB7F4 001F8754 38 C1 00 14 */ addi r6, r1, 0x14 /* 801FB7F8 001F8758 81 07 00 04 */ lwz r8, 4(r7) /* 801FB7FC 001F875C 38 A0 00 01 */ li r5, 1 /* 801FB800 001F8760 80 07 00 08 */ lwz r0, 8(r7) /* 801FB804 001F8764 38 E0 00 00 */ li r7, 0 /* 801FB808 001F8768 91 21 00 14 */ stw r9, 0x14(r1) /* 801FB80C 001F876C 91 01 00 18 */ stw r8, 0x18(r1) /* 801FB810 001F8770 90 01 00 1C */ stw r0, 0x1c(r1) /* 801FB814 001F8774 4B E8 0F A1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 801FB818 001F8778 48 00 00 0C */ b lbl_801FB824 lbl_801FB81C: /* 801FB81C 001F877C 38 00 00 00 */ li r0, 0 /* 801FB820 001F8780 90 1E 03 2C */ stw r0, 0x32c(r30) lbl_801FB824: /* 801FB824 001F8784 80 01 00 44 */ lwz r0, 0x44(r1) /* 801FB828 001F8788 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801FB82C 001F878C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801FB830 001F8790 7C 08 03 A6 */ mtlr r0 /* 801FB834 001F8794 38 21 00 40 */ addi r1, r1, 0x40 /* 801FB838 001F8798 4E 80 00 20 */ blr .global Taunt__13CFlyingPirateFR13CStateManager9EStateMsgf Taunt__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FB83C 001F879C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801FB840 001F87A0 7C 08 02 A6 */ mflr r0 /* 801FB844 001F87A4 2C 05 00 01 */ cmpwi r5, 1 /* 801FB848 001F87A8 90 01 00 54 */ stw r0, 0x54(r1) /* 801FB84C 001F87AC BF 61 00 3C */ stmw r27, 0x3c(r1) /* 801FB850 001F87B0 7C 7E 1B 78 */ mr r30, r3 /* 801FB854 001F87B4 7C 9F 23 78 */ mr r31, r4 /* 801FB858 001F87B8 41 82 01 A0 */ beq lbl_801FB9F8 /* 801FB85C 001F87BC 40 80 00 10 */ bge lbl_801FB86C /* 801FB860 001F87C0 2C 05 00 00 */ cmpwi r5, 0 /* 801FB864 001F87C4 40 80 00 14 */ bge lbl_801FB878 /* 801FB868 001F87C8 48 00 01 90 */ b lbl_801FB9F8 lbl_801FB86C: /* 801FB86C 001F87CC 2C 05 00 03 */ cmpwi r5, 3 /* 801FB870 001F87D0 40 80 01 88 */ bge lbl_801FB9F8 /* 801FB874 001F87D4 48 00 01 50 */ b lbl_801FB9C4 lbl_801FB878: /* 801FB878 001F87D8 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801FB87C 001F87DC 38 60 00 01 */ li r3, 1 /* 801FB880 001F87E0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801FB884 001F87E4 38 7E 07 A0 */ addi r3, r30, 0x7a0 /* 801FB888 001F87E8 98 1E 06 A0 */ stb r0, 0x6a0(r30) /* 801FB88C 001F87EC 38 80 00 01 */ li r4, 1 /* 801FB890 001F87F0 4B F7 99 95 */ bl SetActive__13CBoneTrackingFb /* 801FB894 001F87F4 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801FB898 001F87F8 38 7E 07 A0 */ addi r3, r30, 0x7a0 /* 801FB89C 001F87FC 38 81 00 0C */ addi r4, r1, 0xc /* 801FB8A0 001F8800 A0 05 00 08 */ lhz r0, 8(r5) /* 801FB8A4 001F8804 B0 01 00 08 */ sth r0, 8(r1) /* 801FB8A8 001F8808 B0 01 00 0C */ sth r0, 0xc(r1) /* 801FB8AC 001F880C 4B F7 99 6D */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801FB8B0 001F8810 83 BF 08 38 */ lwz r29, 0x838(r31) /* 801FB8B4 001F8814 3B 80 00 00 */ li r28, 0 /* 801FB8B8 001F8818 AB 7D 20 08 */ lha r27, 0x2008(r29) /* 801FB8BC 001F881C 48 00 00 D0 */ b lbl_801FB98C lbl_801FB8C0: /* 801FB8C0 001F8820 7F A3 EB 78 */ mr r3, r29 /* 801FB8C4 001F8824 7F 64 DB 78 */ mr r4, r27 /* 801FB8C8 001F8828 4B E1 44 15 */ bl __vc__11CObjectListCFi /* 801FB8CC 001F882C 7C 64 1B 78 */ mr r4, r3 /* 801FB8D0 001F8830 38 61 00 10 */ addi r3, r1, 0x10 /* 801FB8D4 001F8834 4B EA 9A FD */ bl sub_800a53d0 /* 801FB8D8 001F8838 4B EA 9A CD */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" /* 801FB8DC 001F883C 28 03 00 00 */ cmplwi r3, 0 /* 801FB8E0 001F8840 41 82 00 90 */ beq lbl_801FB970 /* 801FB8E4 001F8844 88 03 06 37 */ lbz r0, 0x637(r3) /* 801FB8E8 001F8848 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FB8EC 001F884C 40 82 00 84 */ bne lbl_801FB970 /* 801FB8F0 001F8850 88 03 04 00 */ lbz r0, 0x400(r3) /* 801FB8F4 001F8854 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FB8F8 001F8858 41 82 00 78 */ beq lbl_801FB970 /* 801FB8FC 001F885C 80 83 00 04 */ lwz r4, 4(r3) /* 801FB900 001F8860 80 1E 00 04 */ lwz r0, 4(r30) /* 801FB904 001F8864 7C 04 00 00 */ cmpw r4, r0 /* 801FB908 001F8868 40 82 00 68 */ bne lbl_801FB970 /* 801FB90C 001F886C C0 E3 00 50 */ lfs f7, 0x50(r3) /* 801FB910 001F8870 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 801FB914 001F8874 C0 63 00 40 */ lfs f3, 0x40(r3) /* 801FB918 001F8878 EC C7 00 28 */ fsubs f6, f7, f0 /* 801FB91C 001F887C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FB920 001F8880 C1 03 00 60 */ lfs f8, 0x60(r3) /* 801FB924 001F8884 EC 83 00 28 */ fsubs f4, f3, f0 /* 801FB928 001F8888 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801FB92C 001F888C EC 26 01 B2 */ fmuls f1, f6, f6 /* 801FB930 001F8890 EC A8 00 28 */ fsubs f5, f8, f0 /* 801FB934 001F8894 C0 1E 05 6C */ lfs f0, 0x56c(r30) /* 801FB938 001F8898 EC 44 01 32 */ fmuls f2, f4, f4 /* 801FB93C 001F889C EC 00 00 32 */ fmuls f0, f0, f0 /* 801FB940 001F88A0 D0 61 00 20 */ stfs f3, 0x20(r1) /* 801FB944 001F88A4 EC 65 01 72 */ fmuls f3, f5, f5 /* 801FB948 001F88A8 EC 22 08 2A */ fadds f1, f2, f1 /* 801FB94C 001F88AC D0 E1 00 24 */ stfs f7, 0x24(r1) /* 801FB950 001F88B0 D1 01 00 28 */ stfs f8, 0x28(r1) /* 801FB954 001F88B4 EC 23 08 2A */ fadds f1, f3, f1 /* 801FB958 001F88B8 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801FB95C 001F88BC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FB960 001F88C0 D0 C1 00 30 */ stfs f6, 0x30(r1) /* 801FB964 001F88C4 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 801FB968 001F88C8 40 80 00 08 */ bge lbl_801FB970 /* 801FB96C 001F88CC 3B 80 00 01 */ li r28, 1 lbl_801FB970: /* 801FB970 001F88D0 2C 1B FF FF */ cmpwi r27, -1 /* 801FB974 001F88D4 41 82 00 14 */ beq lbl_801FB988 /* 801FB978 001F88D8 57 63 18 38 */ slwi r3, r27, 3 /* 801FB97C 001F88DC 38 03 00 08 */ addi r0, r3, 8 /* 801FB980 001F88E0 7F 7D 02 AE */ lhax r27, r29, r0 /* 801FB984 001F88E4 48 00 00 08 */ b lbl_801FB98C lbl_801FB988: /* 801FB988 001F88E8 3B 60 FF FF */ li r27, -1 lbl_801FB98C: /* 801FB98C 001F88EC 2C 1B FF FF */ cmpwi r27, -1 /* 801FB990 001F88F0 40 82 FF 30 */ bne lbl_801FB8C0 /* 801FB994 001F88F4 57 80 06 3E */ clrlwi r0, r28, 0x18 /* 801FB998 001F88F8 7C 00 00 34 */ cntlzw r0, r0 /* 801FB99C 001F88FC 54 00 D9 7E */ srwi r0, r0, 5 /* 801FB9A0 001F8900 90 1E 07 9C */ stw r0, 0x79c(r30) /* 801FB9A4 001F8904 A0 7E 07 E8 */ lhz r3, 0x7e8(r30) /* 801FB9A8 001F8908 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FB9AC 001F890C 7C 03 00 40 */ cmplw r3, r0 /* 801FB9B0 001F8910 40 82 00 48 */ bne lbl_801FB9F8 /* 801FB9B4 001F8914 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801FB9B8 001F8918 A0 03 00 08 */ lhz r0, 8(r3) /* 801FB9BC 001F891C B0 1E 07 E8 */ sth r0, 0x7e8(r30) /* 801FB9C0 001F8920 48 00 00 38 */ b lbl_801FB9F8 lbl_801FB9C4: /* 801FB9C4 001F8924 80 1E 07 9C */ lwz r0, 0x79c(r30) /* 801FB9C8 001F8928 2C 00 00 00 */ cmpwi r0, 0 /* 801FB9CC 001F892C 40 82 00 2C */ bne lbl_801FB9F8 /* 801FB9D0 001F8930 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FB9D4 001F8934 7F E3 FB 78 */ mr r3, r31 /* 801FB9D8 001F8938 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FB9DC 001F893C 38 81 00 14 */ addi r4, r1, 0x14 /* 801FB9E0 001F8940 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FB9E4 001F8944 38 A0 00 00 */ li r5, 0 /* 801FB9E8 001F8948 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801FB9EC 001F894C D0 21 00 18 */ stfs f1, 0x18(r1) /* 801FB9F0 001F8950 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801FB9F4 001F8954 4B E4 CD 91 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType lbl_801FB9F8: /* 801FB9F8 001F8958 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 801FB9FC 001F895C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801FBA00 001F8960 7C 08 03 A6 */ mtlr r0 /* 801FBA04 001F8964 38 21 00 50 */ addi r1, r1, 0x50 /* 801FBA08 001F8968 4E 80 00 20 */ blr .global HearPlayer__13CFlyingPirateFR13CStateManagerf HearPlayer__13CFlyingPirateFR13CStateManagerf: /* 801FBA0C 001F896C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 801FBA10 001F8970 38 00 00 00 */ li r0, 0 /* 801FBA14 001F8974 C0 02 AF B0 */ lfs f0, lbl_805ACCD0@sda21(r2) /* 801FBA18 001F8978 C0 44 01 38 */ lfs f2, 0x138(r4) /* 801FBA1C 001F897C C0 24 01 3C */ lfs f1, 0x13c(r4) /* 801FBA20 001F8980 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801FBA24 001F8984 C0 64 01 40 */ lfs f3, 0x140(r4) /* 801FBA28 001F8988 EC 21 00 72 */ fmuls f1, f1, f1 /* 801FBA2C 001F898C EC 63 00 F2 */ fmuls f3, f3, f3 /* 801FBA30 001F8990 EC 22 08 2A */ fadds f1, f2, f1 /* 801FBA34 001F8994 EC 23 08 2A */ fadds f1, f3, f1 /* 801FBA38 001F8998 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FBA3C 001F899C 40 81 00 48 */ ble lbl_801FBA84 /* 801FBA40 001F89A0 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801FBA44 001F89A4 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801FBA48 001F89A8 C0 43 05 6C */ lfs f2, 0x56c(r3) /* 801FBA4C 001F89AC EC A1 00 28 */ fsubs f5, f1, f0 /* 801FBA50 001F89B0 C0 84 00 40 */ lfs f4, 0x40(r4) /* 801FBA54 001F89B4 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801FBA58 001F89B8 EC 02 00 B2 */ fmuls f0, f2, f2 /* 801FBA5C 001F89BC C0 64 00 60 */ lfs f3, 0x60(r4) /* 801FBA60 001F89C0 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801FBA64 001F89C4 EC 84 08 28 */ fsubs f4, f4, f1 /* 801FBA68 001F89C8 EC 25 01 72 */ fmuls f1, f5, f5 /* 801FBA6C 001F89CC EC 43 10 28 */ fsubs f2, f3, f2 /* 801FBA70 001F89D0 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801FBA74 001F89D4 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801FBA78 001F89D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FBA7C 001F89DC 40 80 00 08 */ bge lbl_801FBA84 /* 801FBA80 001F89E0 38 00 00 01 */ li r0, 1 lbl_801FBA84: /* 801FBA84 001F89E4 7C 03 03 78 */ mr r3, r0 /* 801FBA88 001F89E8 4E 80 00 20 */ blr .global HearShot__13CFlyingPirateFR13CStateManagerf HearShot__13CFlyingPirateFR13CStateManagerf: /* 801FBA8C 001F89EC 88 A3 06 A0 */ lbz r5, 0x6a0(r3) /* 801FBA90 001F89F0 38 00 00 00 */ li r0, 0 /* 801FBA94 001F89F4 54 A4 DF FE */ rlwinm r4, r5, 0x1b, 0x1f, 0x1f /* 801FBA98 001F89F8 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a /* 801FBA9C 001F89FC 98 A3 06 A0 */ stb r5, 0x6a0(r3) /* 801FBAA0 001F8A00 7C 83 23 78 */ mr r3, r4 /* 801FBAA4 001F8A04 4E 80 00 20 */ blr .global PatternOver__13CFlyingPirateFR13CStateManagerf PatternOver__13CFlyingPirateFR13CStateManagerf: /* 801FBAA8 001F8A08 A0 63 02 DC */ lhz r3, 0x2dc(r3) /* 801FBAAC 001F8A0C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FBAB0 001F8A10 7C 03 00 50 */ subf r0, r3, r0 /* 801FBAB4 001F8A14 7C 00 00 34 */ cntlzw r0, r0 /* 801FBAB8 001F8A18 54 03 D9 7E */ srwi r3, r0, 5 /* 801FBABC 001F8A1C 4E 80 00 20 */ blr .global TargetPatrol__13CFlyingPirateFR13CStateManager9EStateMsgf TargetPatrol__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FBAC0 001F8A20 94 21 FF 70 */ stwu r1, -0x90(r1) /* 801FBAC4 001F8A24 7C 08 02 A6 */ mflr r0 /* 801FBAC8 001F8A28 90 01 00 94 */ stw r0, 0x94(r1) /* 801FBACC 001F8A2C DB E1 00 80 */ stfd f31, 0x80(r1) /* 801FBAD0 001F8A30 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 801FBAD4 001F8A34 DB C1 00 70 */ stfd f30, 0x70(r1) /* 801FBAD8 001F8A38 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 801FBADC 001F8A3C DB A1 00 60 */ stfd f29, 0x60(r1) /* 801FBAE0 001F8A40 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 801FBAE4 001F8A44 DB 81 00 50 */ stfd f28, 0x50(r1) /* 801FBAE8 001F8A48 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 /* 801FBAEC 001F8A4C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801FBAF0 001F8A50 93 C1 00 48 */ stw r30, 0x48(r1) /* 801FBAF4 001F8A54 93 A1 00 44 */ stw r29, 0x44(r1) /* 801FBAF8 001F8A58 FF E0 08 90 */ fmr f31, f1 /* 801FBAFC 001F8A5C 7C 7F 1B 78 */ mr r31, r3 /* 801FBB00 001F8A60 7C 9D 23 78 */ mr r29, r4 /* 801FBB04 001F8A64 7C BE 2B 78 */ mr r30, r5 /* 801FBB08 001F8A68 4B FF B3 6D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 801FBB0C 001F8A6C 2C 1E 00 01 */ cmpwi r30, 1 /* 801FBB10 001F8A70 41 82 00 9C */ beq lbl_801FBBAC /* 801FBB14 001F8A74 40 80 01 FC */ bge lbl_801FBD10 /* 801FBB18 001F8A78 2C 1E 00 00 */ cmpwi r30, 0 /* 801FBB1C 001F8A7C 40 80 00 08 */ bge lbl_801FBB24 /* 801FBB20 001F8A80 48 00 01 F0 */ b lbl_801FBD10 lbl_801FBB24: /* 801FBB24 001F8A84 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801FBB28 001F8A88 38 00 00 00 */ li r0, 0 /* 801FBB2C 001F8A8C 7F E4 FB 78 */ mr r4, r31 /* 801FBB30 001F8A90 7F A5 EB 78 */ mr r5, r29 /* 801FBB34 001F8A94 90 03 00 34 */ stw r0, 0x34(r3) /* 801FBB38 001F8A98 38 61 00 0C */ addi r3, r1, 0xc /* 801FBB3C 001F8A9C 38 C0 00 0A */ li r6, 0xa /* 801FBB40 001F8AA0 38 E0 00 06 */ li r7, 6 /* 801FBB44 001F8AA4 4B FF 94 55 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801FBB48 001F8AA8 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801FBB4C 001F8AAC B0 1F 02 DC */ sth r0, 0x2dc(r31) /* 801FBB50 001F8AB0 A0 7F 02 DC */ lhz r3, 0x2dc(r31) /* 801FBB54 001F8AB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FBB58 001F8AB8 7C 03 00 40 */ cmplw r3, r0 /* 801FBB5C 001F8ABC 41 82 00 3C */ beq lbl_801FBB98 /* 801FBB60 001F8AC0 B0 61 00 08 */ sth r3, 8(r1) /* 801FBB64 001F8AC4 7F A3 EB 78 */ mr r3, r29 /* 801FBB68 001F8AC8 38 81 00 08 */ addi r4, r1, 8 /* 801FBB6C 001F8ACC 4B E5 0A 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801FBB70 001F8AD0 7C 64 1B 78 */ mr r4, r3 /* 801FBB74 001F8AD4 38 61 00 14 */ addi r3, r1, 0x14 /* 801FBB78 001F8AD8 4B EA A9 D5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 801FBB7C 001F8ADC 80 63 00 04 */ lwz r3, 4(r3) /* 801FBB80 001F8AE0 28 03 00 00 */ cmplwi r3, 0 /* 801FBB84 001F8AE4 41 82 00 14 */ beq lbl_801FBB98 /* 801FBB88 001F8AE8 88 03 00 F8 */ lbz r0, 0xf8(r3) /* 801FBB8C 001F8AEC 90 1F 03 0C */ stw r0, 0x30c(r31) /* 801FBB90 001F8AF0 C0 03 00 E8 */ lfs f0, 0xe8(r3) /* 801FBB94 001F8AF4 D0 1F 03 B0 */ stfs f0, 0x3b0(r31) lbl_801FBB98: /* 801FBB98 001F8AF8 A0 1F 02 DC */ lhz r0, 0x2dc(r31) /* 801FBB9C 001F8AFC C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FBBA0 001F8B00 B0 1F 08 A0 */ sth r0, 0x8a0(r31) /* 801FBBA4 001F8B04 D0 1F 08 A4 */ stfs f0, 0x8a4(r31) /* 801FBBA8 001F8B08 48 00 01 68 */ b lbl_801FBD10 lbl_801FBBAC: /* 801FBBAC 001F8B0C A0 7F 02 DC */ lhz r3, 0x2dc(r31) /* 801FBBB0 001F8B10 A0 1F 08 A0 */ lhz r0, 0x8a0(r31) /* 801FBBB4 001F8B14 7C 03 00 40 */ cmplw r3, r0 /* 801FBBB8 001F8B18 41 82 00 10 */ beq lbl_801FBBC8 /* 801FBBBC 001F8B1C B0 7F 08 A0 */ sth r3, 0x8a0(r31) /* 801FBBC0 001F8B20 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FBBC4 001F8B24 D0 1F 08 A4 */ stfs f0, 0x8a4(r31) lbl_801FBBC8: /* 801FBBC8 001F8B28 80 1F 02 D8 */ lwz r0, 0x2d8(r31) /* 801FBBCC 001F8B2C 2C 00 00 00 */ cmpwi r0, 0 /* 801FBBD0 001F8B30 40 82 00 E0 */ bne lbl_801FBCB0 /* 801FBBD4 001F8B34 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) /* 801FBBD8 001F8B38 38 61 00 34 */ addi r3, r1, 0x34 /* 801FBBDC 001F8B3C C0 1F 00 50 */ lfs f0, 0x50(r31) /* 801FBBE0 001F8B40 38 81 00 28 */ addi r4, r1, 0x28 /* 801FBBE4 001F8B44 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) /* 801FBBE8 001F8B48 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801FBBEC 001F8B4C EC 81 00 28 */ fsubs f4, f1, f0 /* 801FBBF0 001F8B50 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) /* 801FBBF4 001F8B54 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801FBBF8 001F8B58 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FBBFC 001F8B5C EC 01 00 28 */ fsubs f0, f1, f0 /* 801FBC00 001F8B60 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801FBC04 001F8B64 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801FBC08 001F8B68 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801FBC0C 001F8B6C 48 11 8C 45 */ bl AsNormalized__9CVector3fCFv /* 801FBC10 001F8B70 C0 5F 03 B0 */ lfs f2, 0x3b0(r31) /* 801FBC14 001F8B74 38 7F 08 A4 */ addi r3, r31, 0x8a4 /* 801FBC18 001F8B78 C0 3F 06 2C */ lfs f1, 0x62c(r31) /* 801FBC1C 001F8B7C 38 81 00 10 */ addi r4, r1, 0x10 /* 801FBC20 001F8B80 C0 1F 08 A4 */ lfs f0, 0x8a4(r31) /* 801FBC24 001F8B84 EC 22 00 72 */ fmuls f1, f2, f1 /* 801FBC28 001F8B88 C3 A1 00 34 */ lfs f29, 0x34(r1) /* 801FBC2C 001F8B8C C3 C1 00 38 */ lfs f30, 0x38(r1) /* 801FBC30 001F8B90 C3 81 00 3C */ lfs f28, 0x3c(r1) /* 801FBC34 001F8B94 EC 1F 00 7A */ fmadds f0, f31, f1, f0 /* 801FBC38 001F8B98 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801FBC3C 001F8B9C D0 1F 08 A4 */ stfs f0, 0x8a4(r31) /* 801FBC40 001F8BA0 4B E8 21 A1 */ bl "Min__5CMathFRCfRCf" /* 801FBC44 001F8BA4 C0 03 00 00 */ lfs f0, 0(r3) /* 801FBC48 001F8BA8 C0 22 AF B4 */ lfs f1, lbl_805ACCD4@sda21(r2) /* 801FBC4C 001F8BAC D0 1F 08 A4 */ stfs f0, 0x8a4(r31) /* 801FBC50 001F8BB0 C0 1F 08 A4 */ lfs f0, 0x8a4(r31) /* 801FBC54 001F8BB4 EC 00 07 F2 */ fmuls f0, f0, f31 /* 801FBC58 001F8BB8 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801FBC5C 001F8BBC EC 60 07 72 */ fmuls f3, f0, f29 /* 801FBC60 001F8BC0 EC 40 07 B2 */ fmuls f2, f0, f30 /* 801FBC64 001F8BC4 EC 00 07 32 */ fmuls f0, f0, f28 /* 801FBC68 001F8BC8 D0 7F 08 7C */ stfs f3, 0x87c(r31) /* 801FBC6C 001F8BCC D0 5F 08 80 */ stfs f2, 0x880(r31) /* 801FBC70 001F8BD0 D0 1F 08 84 */ stfs f0, 0x884(r31) /* 801FBC74 001F8BD4 C0 1F 03 B0 */ lfs f0, 0x3b0(r31) /* 801FBC78 001F8BD8 EC 01 00 32 */ fmuls f0, f1, f0 /* 801FBC7C 001F8BDC D0 1F 08 98 */ stfs f0, 0x898(r31) /* 801FBC80 001F8BE0 C0 3F 08 70 */ lfs f1, 0x870(r31) /* 801FBC84 001F8BE4 C0 1F 08 7C */ lfs f0, 0x87c(r31) /* 801FBC88 001F8BE8 EC 01 00 2A */ fadds f0, f1, f0 /* 801FBC8C 001F8BEC D0 1F 08 70 */ stfs f0, 0x870(r31) /* 801FBC90 001F8BF0 C0 3F 08 74 */ lfs f1, 0x874(r31) /* 801FBC94 001F8BF4 C0 1F 08 80 */ lfs f0, 0x880(r31) /* 801FBC98 001F8BF8 EC 01 00 2A */ fadds f0, f1, f0 /* 801FBC9C 001F8BFC D0 1F 08 74 */ stfs f0, 0x874(r31) /* 801FBCA0 001F8C00 C0 3F 08 78 */ lfs f1, 0x878(r31) /* 801FBCA4 001F8C04 C0 1F 08 84 */ lfs f0, 0x884(r31) /* 801FBCA8 001F8C08 EC 01 00 2A */ fadds f0, f1, f0 /* 801FBCAC 001F8C0C D0 1F 08 78 */ stfs f0, 0x878(r31) lbl_801FBCB0: /* 801FBCB0 001F8C10 80 1F 03 0C */ lwz r0, 0x30c(r31) /* 801FBCB4 001F8C14 2C 00 00 01 */ cmpwi r0, 1 /* 801FBCB8 001F8C18 41 82 00 08 */ beq lbl_801FBCC0 /* 801FBCBC 001F8C1C 48 00 00 48 */ b lbl_801FBD04 lbl_801FBCC0: /* 801FBCC0 001F8C20 C3 BF 00 60 */ lfs f29, 0x60(r31) /* 801FBCC4 001F8C24 7F E4 FB 78 */ mr r4, r31 /* 801FBCC8 001F8C28 C3 DF 00 50 */ lfs f30, 0x50(r31) /* 801FBCCC 001F8C2C 7F A5 EB 78 */ mr r5, r29 /* 801FBCD0 001F8C30 C3 FF 00 40 */ lfs f31, 0x40(r31) /* 801FBCD4 001F8C34 38 61 00 1C */ addi r3, r1, 0x1c /* 801FBCD8 001F8C38 48 00 0B BD */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FBCDC 001F8C3C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 801FBCE0 001F8C40 C0 41 00 20 */ lfs f2, 0x20(r1) /* 801FBCE4 001F8C44 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801FBCE8 001F8C48 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801FBCEC 001F8C4C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 801FBCF0 001F8C50 EC 42 F0 28 */ fsubs f2, f2, f30 /* 801FBCF4 001F8C54 EC 21 E8 28 */ fsubs f1, f1, f29 /* 801FBCF8 001F8C58 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801FBCFC 001F8C5C D0 43 00 20 */ stfs f2, 0x20(r3) /* 801FBD00 001F8C60 D0 23 00 24 */ stfs f1, 0x24(r3) lbl_801FBD04: /* 801FBD04 001F8C64 7F E3 FB 78 */ mr r3, r31 /* 801FBD08 001F8C68 7F A4 EB 78 */ mr r4, r29 /* 801FBD0C 001F8C6C 48 00 14 59 */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager lbl_801FBD10: /* 801FBD10 001F8C70 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 801FBD14 001F8C74 CB E1 00 80 */ lfd f31, 0x80(r1) /* 801FBD18 001F8C78 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 801FBD1C 001F8C7C CB C1 00 70 */ lfd f30, 0x70(r1) /* 801FBD20 001F8C80 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 801FBD24 001F8C84 CB A1 00 60 */ lfd f29, 0x60(r1) /* 801FBD28 001F8C88 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 /* 801FBD2C 001F8C8C CB 81 00 50 */ lfd f28, 0x50(r1) /* 801FBD30 001F8C90 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801FBD34 001F8C94 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801FBD38 001F8C98 80 01 00 94 */ lwz r0, 0x94(r1) /* 801FBD3C 001F8C9C 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801FBD40 001F8CA0 7C 08 03 A6 */ mtlr r0 /* 801FBD44 001F8CA4 38 21 00 90 */ addi r1, r1, 0x90 /* 801FBD48 001F8CA8 4E 80 00 20 */ blr .global Patrol__13CFlyingPirateFR13CStateManager9EStateMsgf Patrol__13CFlyingPirateFR13CStateManager9EStateMsgf: /* 801FBD4C 001F8CAC 94 21 FF 80 */ stwu r1, -0x80(r1) /* 801FBD50 001F8CB0 7C 08 02 A6 */ mflr r0 /* 801FBD54 001F8CB4 90 01 00 84 */ stw r0, 0x84(r1) /* 801FBD58 001F8CB8 DB E1 00 70 */ stfd f31, 0x70(r1) /* 801FBD5C 001F8CBC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 801FBD60 001F8CC0 DB C1 00 60 */ stfd f30, 0x60(r1) /* 801FBD64 001F8CC4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 801FBD68 001F8CC8 DB A1 00 50 */ stfd f29, 0x50(r1) /* 801FBD6C 001F8CCC F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 /* 801FBD70 001F8CD0 DB 81 00 40 */ stfd f28, 0x40(r1) /* 801FBD74 001F8CD4 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 /* 801FBD78 001F8CD8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 801FBD7C 001F8CDC 93 C1 00 38 */ stw r30, 0x38(r1) /* 801FBD80 001F8CE0 93 A1 00 34 */ stw r29, 0x34(r1) /* 801FBD84 001F8CE4 88 03 06 A0 */ lbz r0, 0x6a0(r3) /* 801FBD88 001F8CE8 FF E0 08 90 */ fmr f31, f1 /* 801FBD8C 001F8CEC 7C 7D 1B 78 */ mr r29, r3 /* 801FBD90 001F8CF0 7C 9E 23 78 */ mr r30, r4 /* 801FBD94 001F8CF4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801FBD98 001F8CF8 7C BF 2B 78 */ mr r31, r5 /* 801FBD9C 001F8CFC 41 82 01 C0 */ beq lbl_801FBF5C /* 801FBDA0 001F8D00 4B FF B0 D5 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 801FBDA4 001F8D04 2C 1F 00 01 */ cmpwi r31, 1 /* 801FBDA8 001F8D08 41 82 00 40 */ beq lbl_801FBDE8 /* 801FBDAC 001F8D0C 40 80 00 10 */ bge lbl_801FBDBC /* 801FBDB0 001F8D10 2C 1F 00 00 */ cmpwi r31, 0 /* 801FBDB4 001F8D14 40 80 00 14 */ bge lbl_801FBDC8 /* 801FBDB8 001F8D18 48 00 01 A4 */ b lbl_801FBF5C lbl_801FBDBC: /* 801FBDBC 001F8D1C 2C 1F 00 03 */ cmpwi r31, 3 /* 801FBDC0 001F8D20 40 80 01 9C */ bge lbl_801FBF5C /* 801FBDC4 001F8D24 48 00 01 8C */ b lbl_801FBF50 lbl_801FBDC8: /* 801FBDC8 001F8D28 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801FBDCC 001F8D2C 38 00 00 01 */ li r0, 1 /* 801FBDD0 001F8D30 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FBDD4 001F8D34 90 03 00 34 */ stw r0, 0x34(r3) /* 801FBDD8 001F8D38 A0 1D 02 DC */ lhz r0, 0x2dc(r29) /* 801FBDDC 001F8D3C B0 1D 08 A0 */ sth r0, 0x8a0(r29) /* 801FBDE0 001F8D40 D0 1D 08 A4 */ stfs f0, 0x8a4(r29) /* 801FBDE4 001F8D44 48 00 01 78 */ b lbl_801FBF5C lbl_801FBDE8: /* 801FBDE8 001F8D48 A0 7D 02 DC */ lhz r3, 0x2dc(r29) /* 801FBDEC 001F8D4C A0 1D 08 A0 */ lhz r0, 0x8a0(r29) /* 801FBDF0 001F8D50 7C 03 00 40 */ cmplw r3, r0 /* 801FBDF4 001F8D54 41 82 00 10 */ beq lbl_801FBE04 /* 801FBDF8 001F8D58 B0 7D 08 A0 */ sth r3, 0x8a0(r29) /* 801FBDFC 001F8D5C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FBE00 001F8D60 D0 1D 08 A4 */ stfs f0, 0x8a4(r29) lbl_801FBE04: /* 801FBE04 001F8D64 80 1D 02 D8 */ lwz r0, 0x2d8(r29) /* 801FBE08 001F8D68 2C 00 00 00 */ cmpwi r0, 0 /* 801FBE0C 001F8D6C 40 82 00 E0 */ bne lbl_801FBEEC /* 801FBE10 001F8D70 C0 3D 02 E4 */ lfs f1, 0x2e4(r29) /* 801FBE14 001F8D74 38 61 00 24 */ addi r3, r1, 0x24 /* 801FBE18 001F8D78 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 801FBE1C 001F8D7C 38 81 00 18 */ addi r4, r1, 0x18 /* 801FBE20 001F8D80 C0 7D 02 E8 */ lfs f3, 0x2e8(r29) /* 801FBE24 001F8D84 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 801FBE28 001F8D88 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FBE2C 001F8D8C C0 3D 02 E0 */ lfs f1, 0x2e0(r29) /* 801FBE30 001F8D90 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 801FBE34 001F8D94 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FBE38 001F8D98 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FBE3C 001F8D9C D0 81 00 1C */ stfs f4, 0x1c(r1) /* 801FBE40 001F8DA0 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801FBE44 001F8DA4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801FBE48 001F8DA8 48 11 8A 09 */ bl AsNormalized__9CVector3fCFv /* 801FBE4C 001F8DAC C0 5D 03 B0 */ lfs f2, 0x3b0(r29) /* 801FBE50 001F8DB0 38 7D 08 A4 */ addi r3, r29, 0x8a4 /* 801FBE54 001F8DB4 C0 3D 06 2C */ lfs f1, 0x62c(r29) /* 801FBE58 001F8DB8 38 81 00 08 */ addi r4, r1, 8 /* 801FBE5C 001F8DBC C0 1D 08 A4 */ lfs f0, 0x8a4(r29) /* 801FBE60 001F8DC0 EC 22 00 72 */ fmuls f1, f2, f1 /* 801FBE64 001F8DC4 C3 A1 00 24 */ lfs f29, 0x24(r1) /* 801FBE68 001F8DC8 C3 C1 00 28 */ lfs f30, 0x28(r1) /* 801FBE6C 001F8DCC C3 81 00 2C */ lfs f28, 0x2c(r1) /* 801FBE70 001F8DD0 EC 1F 00 7A */ fmadds f0, f31, f1, f0 /* 801FBE74 001F8DD4 D0 21 00 08 */ stfs f1, 8(r1) /* 801FBE78 001F8DD8 D0 1D 08 A4 */ stfs f0, 0x8a4(r29) /* 801FBE7C 001F8DDC 4B E8 1F 65 */ bl "Min__5CMathFRCfRCf" /* 801FBE80 001F8DE0 C0 03 00 00 */ lfs f0, 0(r3) /* 801FBE84 001F8DE4 C0 22 AF B4 */ lfs f1, lbl_805ACCD4@sda21(r2) /* 801FBE88 001F8DE8 D0 1D 08 A4 */ stfs f0, 0x8a4(r29) /* 801FBE8C 001F8DEC C0 1D 08 A4 */ lfs f0, 0x8a4(r29) /* 801FBE90 001F8DF0 EC 00 07 F2 */ fmuls f0, f0, f31 /* 801FBE94 001F8DF4 EC 1F 00 32 */ fmuls f0, f31, f0 /* 801FBE98 001F8DF8 EC 60 07 72 */ fmuls f3, f0, f29 /* 801FBE9C 001F8DFC EC 40 07 B2 */ fmuls f2, f0, f30 /* 801FBEA0 001F8E00 EC 00 07 32 */ fmuls f0, f0, f28 /* 801FBEA4 001F8E04 D0 7D 08 7C */ stfs f3, 0x87c(r29) /* 801FBEA8 001F8E08 D0 5D 08 80 */ stfs f2, 0x880(r29) /* 801FBEAC 001F8E0C D0 1D 08 84 */ stfs f0, 0x884(r29) /* 801FBEB0 001F8E10 C0 1D 03 B0 */ lfs f0, 0x3b0(r29) /* 801FBEB4 001F8E14 EC 01 00 32 */ fmuls f0, f1, f0 /* 801FBEB8 001F8E18 D0 1D 08 98 */ stfs f0, 0x898(r29) /* 801FBEBC 001F8E1C C0 3D 08 70 */ lfs f1, 0x870(r29) /* 801FBEC0 001F8E20 C0 1D 08 7C */ lfs f0, 0x87c(r29) /* 801FBEC4 001F8E24 EC 01 00 2A */ fadds f0, f1, f0 /* 801FBEC8 001F8E28 D0 1D 08 70 */ stfs f0, 0x870(r29) /* 801FBECC 001F8E2C C0 3D 08 74 */ lfs f1, 0x874(r29) /* 801FBED0 001F8E30 C0 1D 08 80 */ lfs f0, 0x880(r29) /* 801FBED4 001F8E34 EC 01 00 2A */ fadds f0, f1, f0 /* 801FBED8 001F8E38 D0 1D 08 74 */ stfs f0, 0x874(r29) /* 801FBEDC 001F8E3C C0 3D 08 78 */ lfs f1, 0x878(r29) /* 801FBEE0 001F8E40 C0 1D 08 84 */ lfs f0, 0x884(r29) /* 801FBEE4 001F8E44 EC 01 00 2A */ fadds f0, f1, f0 /* 801FBEE8 001F8E48 D0 1D 08 78 */ stfs f0, 0x878(r29) lbl_801FBEEC: /* 801FBEEC 001F8E4C 80 1D 03 0C */ lwz r0, 0x30c(r29) /* 801FBEF0 001F8E50 2C 00 00 01 */ cmpwi r0, 1 /* 801FBEF4 001F8E54 41 82 00 08 */ beq lbl_801FBEFC /* 801FBEF8 001F8E58 48 00 00 48 */ b lbl_801FBF40 lbl_801FBEFC: /* 801FBEFC 001F8E5C C3 BD 00 60 */ lfs f29, 0x60(r29) /* 801FBF00 001F8E60 7F A4 EB 78 */ mr r4, r29 /* 801FBF04 001F8E64 C3 DD 00 50 */ lfs f30, 0x50(r29) /* 801FBF08 001F8E68 7F C5 F3 78 */ mr r5, r30 /* 801FBF0C 001F8E6C C3 FD 00 40 */ lfs f31, 0x40(r29) /* 801FBF10 001F8E70 38 61 00 0C */ addi r3, r1, 0xc /* 801FBF14 001F8E74 48 00 09 81 */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FBF18 001F8E78 C0 01 00 0C */ lfs f0, 0xc(r1) /* 801FBF1C 001F8E7C C0 41 00 10 */ lfs f2, 0x10(r1) /* 801FBF20 001F8E80 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801FBF24 001F8E84 C0 21 00 14 */ lfs f1, 0x14(r1) /* 801FBF28 001F8E88 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801FBF2C 001F8E8C EC 42 F0 28 */ fsubs f2, f2, f30 /* 801FBF30 001F8E90 EC 21 E8 28 */ fsubs f1, f1, f29 /* 801FBF34 001F8E94 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 801FBF38 001F8E98 D0 43 00 20 */ stfs f2, 0x20(r3) /* 801FBF3C 001F8E9C D0 23 00 24 */ stfs f1, 0x24(r3) lbl_801FBF40: /* 801FBF40 001F8EA0 7F A3 EB 78 */ mr r3, r29 /* 801FBF44 001F8EA4 7F C4 F3 78 */ mr r4, r30 /* 801FBF48 001F8EA8 48 00 12 1D */ bl UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager /* 801FBF4C 001F8EAC 48 00 00 10 */ b lbl_801FBF5C lbl_801FBF50: /* 801FBF50 001F8EB0 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801FBF54 001F8EB4 38 00 00 00 */ li r0, 0 /* 801FBF58 001F8EB8 90 03 00 34 */ stw r0, 0x34(r3) lbl_801FBF5C: /* 801FBF5C 001F8EBC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 801FBF60 001F8EC0 CB E1 00 70 */ lfd f31, 0x70(r1) /* 801FBF64 001F8EC4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 801FBF68 001F8EC8 CB C1 00 60 */ lfd f30, 0x60(r1) /* 801FBF6C 001F8ECC E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 /* 801FBF70 001F8ED0 CB A1 00 50 */ lfd f29, 0x50(r1) /* 801FBF74 001F8ED4 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 /* 801FBF78 001F8ED8 CB 81 00 40 */ lfd f28, 0x40(r1) /* 801FBF7C 001F8EDC 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 801FBF80 001F8EE0 83 C1 00 38 */ lwz r30, 0x38(r1) /* 801FBF84 001F8EE4 80 01 00 84 */ lwz r0, 0x84(r1) /* 801FBF88 001F8EE8 83 A1 00 34 */ lwz r29, 0x34(r1) /* 801FBF8C 001F8EEC 7C 08 03 A6 */ mtlr r0 /* 801FBF90 001F8EF0 38 21 00 80 */ addi r1, r1, 0x80 /* 801FBF94 001F8EF4 4E 80 00 20 */ blr .global Explode__13CFlyingPirateFR13CStateManager Explode__13CFlyingPirateFR13CStateManager: /* 801FBF98 001F8EF8 94 21 FE 70 */ stwu r1, -0x190(r1) /* 801FBF9C 001F8EFC 7C 08 02 A6 */ mflr r0 /* 801FBFA0 001F8F00 3C A0 80 3D */ lis r5, lbl_803D247C@ha /* 801FBFA4 001F8F04 90 01 01 94 */ stw r0, 0x194(r1) /* 801FBFA8 001F8F08 BF 61 01 7C */ stmw r27, 0x17c(r1) /* 801FBFAC 001F8F0C 7C 7E 1B 78 */ mr r30, r3 /* 801FBFB0 001F8F10 38 65 24 7C */ addi r3, r5, lbl_803D247C@l /* 801FBFB4 001F8F14 7C 9F 23 78 */ mr r31, r4 /* 801FBFB8 001F8F18 38 83 00 08 */ addi r4, r3, 8 /* 801FBFBC 001F8F1C 3B 80 00 00 */ li r28, 0 /* 801FBFC0 001F8F20 3B 60 00 00 */ li r27, 0 /* 801FBFC4 001F8F24 38 60 01 00 */ li r3, 0x100 /* 801FBFC8 001F8F28 38 A0 00 00 */ li r5, 0 /* 801FBFCC 001F8F2C 48 11 98 A1 */ bl __nw__FUlPCcPCc /* 801FBFD0 001F8F30 7C 7D 1B 79 */ or. r29, r3, r3 /* 801FBFD4 001F8F34 41 82 00 A8 */ beq lbl_801FC07C /* 801FBFD8 001F8F38 C0 02 AF B4 */ lfs f0, lbl_805ACCD4@sda21(r2) /* 801FBFDC 001F8F3C 3C 60 80 3D */ lis r3, lbl_803D247C@ha /* 801FBFE0 001F8F40 38 83 24 7C */ addi r4, r3, lbl_803D247C@l /* 801FBFE4 001F8F44 38 61 00 48 */ addi r3, r1, 0x48 /* 801FBFE8 001F8F48 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801FBFEC 001F8F4C 38 84 00 0F */ addi r4, r4, 0xf /* 801FBFF0 001F8F50 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801FBFF4 001F8F54 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801FBFF8 001F8F58 4B E0 8C C1 */ bl string_l__4rstlFPCc /* 801FBFFC 001F8F5C 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 801FC000 001F8F60 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 801FC004 001F8F64 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 801FC008 001F8F68 38 81 00 34 */ addi r4, r1, 0x34 /* 801FC00C 001F8F6C 90 01 00 38 */ stw r0, 0x38(r1) /* 801FC010 001F8F70 38 61 00 80 */ addi r3, r1, 0x80 /* 801FC014 001F8F74 38 C1 00 38 */ addi r6, r1, 0x38 /* 801FC018 001F8F78 3B 80 00 01 */ li r28, 1 /* 801FC01C 001F8F7C 80 1E 00 04 */ lwz r0, 4(r30) /* 801FC020 001F8F80 90 01 00 30 */ stw r0, 0x30(r1) /* 801FC024 001F8F84 90 01 00 34 */ stw r0, 0x34(r1) /* 801FC028 001F8F88 4B E5 54 5D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 801FC02C 001F8F8C 7F E4 FB 78 */ mr r4, r31 /* 801FC030 001F8F90 38 61 00 18 */ addi r3, r1, 0x18 /* 801FC034 001F8F94 3B 60 00 01 */ li r27, 1 /* 801FC038 001F8F98 4B E5 10 A5 */ bl AllocateUniqueId__13CStateManagerFv /* 801FC03C 001F8F9C A0 01 00 18 */ lhz r0, 0x18(r1) /* 801FC040 001F8FA0 B0 01 00 1C */ sth r0, 0x1c(r1) /* 801FC044 001F8FA4 48 14 DF 69 */ bl White__6CColorFv /* 801FC048 001F8FA8 38 01 00 58 */ addi r0, r1, 0x58 /* 801FC04C 001F8FAC 38 9E 05 F8 */ addi r4, r30, 0x5f8 /* 801FC050 001F8FB0 90 01 00 08 */ stw r0, 8(r1) /* 801FC054 001F8FB4 38 A1 00 1C */ addi r5, r1, 0x1c /* 801FC058 001F8FB8 38 E1 00 80 */ addi r7, r1, 0x80 /* 801FC05C 001F8FBC 39 01 00 48 */ addi r8, r1, 0x48 /* 801FC060 001F8FC0 90 61 00 0C */ stw r3, 0xc(r1) /* 801FC064 001F8FC4 7F A3 EB 78 */ mr r3, r29 /* 801FC068 001F8FC8 39 3E 00 34 */ addi r9, r30, 0x34 /* 801FC06C 001F8FCC 38 C0 00 01 */ li r6, 1 /* 801FC070 001F8FD0 39 40 00 00 */ li r10, 0 /* 801FC074 001F8FD4 4B E5 EA 85 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 801FC078 001F8FD8 7C 7D 1B 78 */ mr r29, r3 lbl_801FC07C: /* 801FC07C 001F8FDC 7F 60 07 75 */ extsb. r0, r27 /* 801FC080 001F8FE0 41 82 00 44 */ beq lbl_801FC0C4 /* 801FC084 001F8FE4 80 01 00 88 */ lwz r0, 0x88(r1) /* 801FC088 001F8FE8 80 61 00 90 */ lwz r3, 0x90(r1) /* 801FC08C 001F8FEC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801FC090 001F8FF0 90 61 00 24 */ stw r3, 0x24(r1) /* 801FC094 001F8FF4 7C 64 1B 78 */ mr r4, r3 /* 801FC098 001F8FF8 7C 03 02 14 */ add r0, r3, r0 /* 801FC09C 001F8FFC 90 61 00 20 */ stw r3, 0x20(r1) /* 801FC0A0 001F9000 90 01 00 2C */ stw r0, 0x2c(r1) /* 801FC0A4 001F9004 90 01 00 28 */ stw r0, 0x28(r1) /* 801FC0A8 001F9008 48 00 00 08 */ b lbl_801FC0B0 lbl_801FC0AC: /* 801FC0AC 001F900C 38 84 00 0C */ addi r4, r4, 0xc lbl_801FC0B0: /* 801FC0B0 001F9010 7C 04 00 40 */ cmplw r4, r0 /* 801FC0B4 001F9014 40 82 FF F8 */ bne lbl_801FC0AC /* 801FC0B8 001F9018 28 03 00 00 */ cmplwi r3, 0 /* 801FC0BC 001F901C 41 82 00 08 */ beq lbl_801FC0C4 /* 801FC0C0 001F9020 48 11 98 71 */ bl Free__7CMemoryFPCv lbl_801FC0C4: /* 801FC0C4 001F9024 7F 80 07 75 */ extsb. r0, r28 /* 801FC0C8 001F9028 41 82 00 0C */ beq lbl_801FC0D4 /* 801FC0CC 001F902C 38 61 00 48 */ addi r3, r1, 0x48 /* 801FC0D0 001F9030 48 14 1A 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_801FC0D4: /* 801FC0D4 001F9034 28 1D 00 00 */ cmplwi r29, 0 /* 801FC0D8 001F9038 41 82 00 D8 */ beq lbl_801FC1B0 /* 801FC0DC 001F903C 7F E3 FB 78 */ mr r3, r31 /* 801FC0E0 001F9040 7F A4 EB 78 */ mr r4, r29 /* 801FC0E4 001F9044 4B E5 0A 31 */ bl AddObject__13CStateManagerFR7CEntity /* 801FC0E8 001F9048 80 AD 92 D0 */ lwz r5, lbl_805A7E90@sda21(r13) /* 801FC0EC 001F904C 38 60 00 00 */ li r3, 0 /* 801FC0F0 001F9050 38 80 00 01 */ li r4, 1 /* 801FC0F4 001F9054 48 18 DE 01 */ bl __shl2i /* 801FC0F8 001F9058 39 20 00 00 */ li r9, 0 /* 801FC0FC 001F905C 38 00 00 03 */ li r0, 3 /* 801FC100 001F9060 90 81 00 6C */ stw r4, 0x6c(r1) /* 801FC104 001F9064 7F C5 F3 78 */ mr r5, r30 /* 801FC108 001F9068 38 81 00 14 */ addi r4, r1, 0x14 /* 801FC10C 001F906C 38 C1 00 3C */ addi r6, r1, 0x3c /* 801FC110 001F9070 90 61 00 68 */ stw r3, 0x68(r1) /* 801FC114 001F9074 7F E3 FB 78 */ mr r3, r31 /* 801FC118 001F9078 38 FE 06 04 */ addi r7, r30, 0x604 /* 801FC11C 001F907C 39 01 00 68 */ addi r8, r1, 0x68 /* 801FC120 001F9080 91 21 00 74 */ stw r9, 0x74(r1) /* 801FC124 001F9084 91 21 00 70 */ stw r9, 0x70(r1) /* 801FC128 001F9088 90 01 00 78 */ stw r0, 0x78(r1) /* 801FC12C 001F908C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FC130 001F9090 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FC134 001F9094 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FC138 001F9098 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801FC13C 001F909C D0 21 00 40 */ stfs f1, 0x40(r1) /* 801FC140 001F90A0 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801FC144 001F90A4 A0 1E 00 08 */ lhz r0, 8(r30) /* 801FC148 001F90A8 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FC14C 001F90AC B0 01 00 14 */ sth r0, 0x14(r1) /* 801FC150 001F90B0 4B E4 CB 5D */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter /* 801FC154 001F90B4 C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 801FC158 001F90B8 38 61 00 98 */ addi r3, r1, 0x98 /* 801FC15C 001F90BC C0 42 AF A0 */ lfs f2, lbl_805ACCC0@sda21(r2) /* 801FC160 001F90C0 4B F6 17 D9 */ bl BuildPatternedExplodeShakeData__16CCameraShakeDataFff /* 801FC164 001F90C4 80 7F 08 70 */ lwz r3, 0x870(r31) /* 801FC168 001F90C8 38 81 00 98 */ addi r4, r1, 0x98 /* 801FC16C 001F90CC 38 A0 00 01 */ li r5, 1 /* 801FC170 001F90D0 4B E0 E8 B1 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 801FC174 001F90D4 34 81 01 18 */ addic. r4, r1, 0x118 /* 801FC178 001F90D8 41 82 00 10 */ beq lbl_801FC188 /* 801FC17C 001F90DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801FC180 001F90E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801FC184 001F90E4 90 04 00 00 */ stw r0, 0(r4) lbl_801FC188: /* 801FC188 001F90E8 34 81 00 DC */ addic. r4, r1, 0xdc /* 801FC18C 001F90EC 41 82 00 10 */ beq lbl_801FC19C /* 801FC190 001F90F0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801FC194 001F90F4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801FC198 001F90F8 90 04 00 00 */ stw r0, 0(r4) lbl_801FC19C: /* 801FC19C 001F90FC 34 81 00 A0 */ addic. r4, r1, 0xa0 /* 801FC1A0 001F9100 41 82 00 10 */ beq lbl_801FC1B0 /* 801FC1A4 001F9104 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 801FC1A8 001F9108 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 801FC1AC 001F910C 90 04 00 00 */ stw r0, 0(r4) lbl_801FC1B0: /* 801FC1B0 001F9110 7F C3 F3 78 */ mr r3, r30 /* 801FC1B4 001F9114 7F E4 FB 78 */ mr r4, r31 /* 801FC1B8 001F9118 4B E7 EB 31 */ bl MassiveDeath__10CPatternedFR13CStateManager /* 801FC1BC 001F911C BB 61 01 7C */ lmw r27, 0x17c(r1) /* 801FC1C0 001F9120 80 01 01 94 */ lwz r0, 0x194(r1) /* 801FC1C4 001F9124 7C 08 03 A6 */ mtlr r0 /* 801FC1C8 001F9128 38 21 01 90 */ addi r1, r1, 0x190 /* 801FC1CC 001F912C 4E 80 00 20 */ blr .global KnockBack__13CFlyingPirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef KnockBack__13CFlyingPirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: /* 801FC1D0 001F9130 94 21 FE F0 */ stwu r1, -0x110(r1) /* 801FC1D4 001F9134 7C 08 02 A6 */ mflr r0 /* 801FC1D8 001F9138 90 01 01 14 */ stw r0, 0x114(r1) /* 801FC1DC 001F913C DB E1 01 00 */ stfd f31, 0x100(r1) /* 801FC1E0 001F9140 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 801FC1E4 001F9144 DB C1 00 F0 */ stfd f30, 0xf0(r1) /* 801FC1E8 001F9148 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 /* 801FC1EC 001F914C DB A1 00 E0 */ stfd f29, 0xe0(r1) /* 801FC1F0 001F9150 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 /* 801FC1F4 001F9154 DB 81 00 D0 */ stfd f28, 0xd0(r1) /* 801FC1F8 001F9158 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 /* 801FC1FC 001F915C DB 61 00 C0 */ stfd f27, 0xc0(r1) /* 801FC200 001F9160 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 /* 801FC204 001F9164 DB 41 00 B0 */ stfd f26, 0xb0(r1) /* 801FC208 001F9168 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 /* 801FC20C 001F916C DB 21 00 A0 */ stfd f25, 0xa0(r1) /* 801FC210 001F9170 F3 21 00 A8 */ psq_st f25, 168(r1), 0, qr0 /* 801FC214 001F9174 BF 41 00 88 */ stmw r26, 0x88(r1) /* 801FC218 001F9178 88 03 04 00 */ lbz r0, 0x400(r3) /* 801FC21C 001F917C FF 60 08 90 */ fmr f27, f1 /* 801FC220 001F9180 7C 7A 1B 78 */ mr r26, r3 /* 801FC224 001F9184 7C 9B 23 78 */ mr r27, r4 /* 801FC228 001F9188 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FC22C 001F918C 7C BC 2B 78 */ mr r28, r5 /* 801FC230 001F9190 7C DD 33 78 */ mr r29, r6 /* 801FC234 001F9194 7C FE 3B 78 */ mr r30, r7 /* 801FC238 001F9198 7D 1F 43 78 */ mr r31, r8 /* 801FC23C 001F919C 41 82 00 1C */ beq lbl_801FC258 /* 801FC240 001F91A0 88 1A 03 28 */ lbz r0, 0x328(r26) /* 801FC244 001F91A4 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f /* 801FC248 001F91A8 7C 00 00 34 */ cntlzw r0, r0 /* 801FC24C 001F91AC 54 00 D9 7E */ srwi r0, r0, 5 /* 801FC250 001F91B0 90 1A 04 DC */ stw r0, 0x4dc(r26) /* 801FC254 001F91B4 48 00 02 54 */ b lbl_801FC4A8 lbl_801FC258: /* 801FC258 001F91B8 81 83 00 00 */ lwz r12, 0(r3) /* 801FC25C 001F91BC 81 8C 02 B8 */ lwz r12, 0x2b8(r12) /* 801FC260 001F91C0 7D 89 03 A6 */ mtctr r12 /* 801FC264 001F91C4 4E 80 04 21 */ bctrl /* 801FC268 001F91C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FC26C 001F91CC 40 82 02 3C */ bne lbl_801FC4A8 /* 801FC270 001F91D0 C3 3A 06 20 */ lfs f25, 0x620(r26) /* 801FC274 001F91D4 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801FC278 001F91D8 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FC27C 001F91DC C0 42 AF D4 */ lfs f2, lbl_805ACCF4@sda21(r2) /* 801FC280 001F91E0 48 11 62 C5 */ bl Range__9CRandom16Fff /* 801FC284 001F91E4 FC 01 C8 40 */ fcmpo cr0, f1, f25 /* 801FC288 001F91E8 40 80 00 34 */ bge lbl_801FC2BC /* 801FC28C 001F91EC 88 1A 06 A1 */ lbz r0, 0x6a1(r26) /* 801FC290 001F91F0 38 60 00 01 */ li r3, 1 /* 801FC294 001F91F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801FC298 001F91F8 98 1A 06 A1 */ stb r0, 0x6a1(r26) /* 801FC29C 001F91FC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FC2A0 001F9200 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801FC2A4 001F9204 D0 1A 01 50 */ stfs f0, 0x150(r26) /* 801FC2A8 001F9208 C0 03 00 04 */ lfs f0, 4(r3) /* 801FC2AC 001F920C D0 1A 01 54 */ stfs f0, 0x154(r26) /* 801FC2B0 001F9210 C0 03 00 08 */ lfs f0, 8(r3) /* 801FC2B4 001F9214 D0 1A 01 58 */ stfs f0, 0x158(r26) /* 801FC2B8 001F9218 48 00 00 48 */ b lbl_801FC300 lbl_801FC2BC: /* 801FC2BC 001F921C C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FC2C0 001F9220 7F 43 D3 78 */ mr r3, r26 /* 801FC2C4 001F9224 7F 84 E3 78 */ mr r4, r28 /* 801FC2C8 001F9228 38 A0 00 00 */ li r5, 0 /* 801FC2CC 001F922C 48 00 19 1D */ bl sub_801fdbe8 /* 801FC2D0 001F9230 7F 43 D3 78 */ mr r3, r26 /* 801FC2D4 001F9234 C3 3A 00 E8 */ lfs f25, 0xe8(r26) /* 801FC2D8 001F9238 81 9A 00 00 */ lwz r12, 0(r26) /* 801FC2DC 001F923C 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 801FC2E0 001F9240 7D 89 03 A6 */ mtctr r12 /* 801FC2E4 001F9244 4E 80 04 21 */ bctrl /* 801FC2E8 001F9248 FC 20 08 50 */ fneg f1, f1 /* 801FC2EC 001F924C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FC2F0 001F9250 D0 1A 01 50 */ stfs f0, 0x150(r26) /* 801FC2F4 001F9254 EC 21 06 72 */ fmuls f1, f1, f25 /* 801FC2F8 001F9258 D0 1A 01 54 */ stfs f0, 0x154(r26) /* 801FC2FC 001F925C D0 3A 01 58 */ stfs f1, 0x158(r26) lbl_801FC300: /* 801FC300 001F9260 38 7A 04 60 */ addi r3, r26, 0x460 /* 801FC304 001F9264 38 80 00 03 */ li r4, 3 /* 801FC308 001F9268 38 A0 00 03 */ li r5, 3 /* 801FC30C 001F926C 48 03 7A 89 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState /* 801FC310 001F9270 88 1A 03 28 */ lbz r0, 0x328(r26) /* 801FC314 001F9274 38 60 00 00 */ li r3, 0 /* 801FC318 001F9278 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801FC31C 001F927C 7F 44 D3 78 */ mr r4, r26 /* 801FC320 001F9280 98 1A 03 28 */ stb r0, 0x328(r26) /* 801FC324 001F9284 7F 85 E3 78 */ mr r5, r28 /* 801FC328 001F9288 38 61 00 14 */ addi r3, r1, 0x14 /* 801FC32C 001F928C 38 C0 00 0C */ li r6, 0xc /* 801FC330 001F9290 38 E0 00 08 */ li r7, 8 /* 801FC334 001F9294 4B FF 8C 65 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState /* 801FC338 001F9298 A0 61 00 14 */ lhz r3, 0x14(r1) /* 801FC33C 001F929C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FC340 001F92A0 B0 61 00 18 */ sth r3, 0x18(r1) /* 801FC344 001F92A4 7C 03 00 40 */ cmplw r3, r0 /* 801FC348 001F92A8 41 82 00 20 */ beq lbl_801FC368 /* 801FC34C 001F92AC B0 61 00 10 */ sth r3, 0x10(r1) /* 801FC350 001F92B0 7F 83 E3 78 */ mr r3, r28 /* 801FC354 001F92B4 38 81 00 10 */ addi r4, r1, 0x10 /* 801FC358 001F92B8 4B E5 02 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801FC35C 001F92BC 7C 64 1B 78 */ mr r4, r3 /* 801FC360 001F92C0 38 61 00 24 */ addi r3, r1, 0x24 /* 801FC364 001F92C4 4B EB 39 2D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" lbl_801FC368: /* 801FC368 001F92C8 80 9C 08 4C */ lwz r4, 0x84c(r28) /* 801FC36C 001F92CC 7F 85 E3 78 */ mr r5, r28 /* 801FC370 001F92D0 38 61 00 6C */ addi r3, r1, 0x6c /* 801FC374 001F92D4 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FC378 001F92D8 81 84 00 00 */ lwz r12, 0(r4) /* 801FC37C 001F92DC 81 8C 00 50 */ lwz r12, 0x50(r12) /* 801FC380 001F92E0 7D 89 03 A6 */ mtctr r12 /* 801FC384 001F92E4 4E 80 04 21 */ bctrl /* 801FC388 001F92E8 C3 81 00 6C */ lfs f28, 0x6c(r1) /* 801FC38C 001F92EC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 801FC390 001F92F0 C0 3A 00 40 */ lfs f1, 0x40(r26) /* 801FC394 001F92F4 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l /* 801FC398 001F92F8 C3 C1 00 70 */ lfs f30, 0x70(r1) /* 801FC39C 001F92FC 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FC3A0 001F9300 C0 1A 00 50 */ lfs f0, 0x50(r26) /* 801FC3A4 001F9304 EF FC 08 28 */ fsubs f31, f28, f1 /* 801FC3A8 001F9308 C3 A1 00 74 */ lfs f29, 0x74(r1) /* 801FC3AC 001F930C 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 801FC3B0 001F9310 C0 3A 00 60 */ lfs f1, 0x60(r26) /* 801FC3B4 001F9314 EF 3E 00 28 */ fsubs f25, f30, f0 /* 801FC3B8 001F9318 C0 A5 00 08 */ lfs f5, 8(r5) /* 801FC3BC 001F931C EF 5D 08 28 */ fsubs f26, f29, f1 /* 801FC3C0 001F9320 C0 C5 00 00 */ lfs f6, 0(r5) /* 801FC3C4 001F9324 C0 85 00 04 */ lfs f4, 4(r5) /* 801FC3C8 001F9328 EC 05 07 F2 */ fmuls f0, f5, f31 /* 801FC3CC 001F932C EC 66 06 72 */ fmuls f3, f6, f25 /* 801FC3D0 001F9330 C0 22 AF DC */ lfs f1, lbl_805ACCFC@sda21(r2) /* 801FC3D4 001F9334 EC 44 06 B2 */ fmuls f2, f4, f26 /* 801FC3D8 001F9338 38 61 00 78 */ addi r3, r1, 0x78 /* 801FC3DC 001F933C EC 7F 19 38 */ fmsubs f3, f31, f4, f3 /* 801FC3E0 001F9340 EC 1A 01 B8 */ fmsubs f0, f26, f6, f0 /* 801FC3E4 001F9344 EC 59 11 78 */ fmsubs f2, f25, f5, f2 /* 801FC3E8 001F9348 D0 61 00 80 */ stfs f3, 0x80(r1) /* 801FC3EC 001F934C D0 41 00 78 */ stfs f2, 0x78(r1) /* 801FC3F0 001F9350 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801FC3F4 001F9354 48 11 3B 71 */ bl close_enough__FRC9CVector3fRC9CVector3ff /* 801FC3F8 001F9358 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FC3FC 001F935C 41 82 00 3C */ beq lbl_801FC438 /* 801FC400 001F9360 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 801FC404 001F9364 38 63 67 24 */ addi r3, r3, lbl_805A6724@l /* 801FC408 001F9368 C0 63 00 04 */ lfs f3, 4(r3) /* 801FC40C 001F936C C0 83 00 08 */ lfs f4, 8(r3) /* 801FC410 001F9370 C0 A3 00 00 */ lfs f5, 0(r3) /* 801FC414 001F9374 EC 23 06 B2 */ fmuls f1, f3, f26 /* 801FC418 001F9378 EC 04 07 F2 */ fmuls f0, f4, f31 /* 801FC41C 001F937C EC 45 06 72 */ fmuls f2, f5, f25 /* 801FC420 001F9380 EC 39 09 38 */ fmsubs f1, f25, f4, f1 /* 801FC424 001F9384 EC 1A 01 78 */ fmsubs f0, f26, f5, f0 /* 801FC428 001F9388 EC 5F 10 F8 */ fmsubs f2, f31, f3, f2 /* 801FC42C 001F938C D0 21 00 78 */ stfs f1, 0x78(r1) /* 801FC430 001F9390 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 801FC434 001F9394 D0 41 00 80 */ stfs f2, 0x80(r1) lbl_801FC438: /* 801FC438 001F9398 38 61 00 60 */ addi r3, r1, 0x60 /* 801FC43C 001F939C 38 81 00 78 */ addi r4, r1, 0x78 /* 801FC440 001F93A0 48 11 84 11 */ bl AsNormalized__9CVector3fCFv /* 801FC444 001F93A4 80 7C 09 00 */ lwz r3, 0x900(r28) /* 801FC448 001F93A8 C0 22 AF E0 */ lfs f1, lbl_805ACD00@sda21(r2) /* 801FC44C 001F93AC C0 42 AF E4 */ lfs f2, lbl_805ACD04@sda21(r2) /* 801FC450 001F93B0 48 11 60 F5 */ bl Range__9CRandom16Fff /* 801FC454 001F93B4 C0 01 00 68 */ lfs f0, 0x68(r1) /* 801FC458 001F93B8 7F 43 D3 78 */ mr r3, r26 /* 801FC45C 001F93BC C0 41 00 60 */ lfs f2, 0x60(r1) /* 801FC460 001F93C0 38 81 00 54 */ addi r4, r1, 0x54 /* 801FC464 001F93C4 EC 81 00 32 */ fmuls f4, f1, f0 /* 801FC468 001F93C8 C0 01 00 64 */ lfs f0, 0x64(r1) /* 801FC46C 001F93CC EC 41 00 B2 */ fmuls f2, f1, f2 /* 801FC470 001F93D0 EC 21 00 32 */ fmuls f1, f1, f0 /* 801FC474 001F93D4 EC 7D 20 2A */ fadds f3, f29, f4 /* 801FC478 001F93D8 D0 81 00 80 */ stfs f4, 0x80(r1) /* 801FC47C 001F93DC EC 1C 10 2A */ fadds f0, f28, f2 /* 801FC480 001F93E0 EC 9E 08 2A */ fadds f4, f30, f1 /* 801FC484 001F93E4 D0 41 00 78 */ stfs f2, 0x78(r1) /* 801FC488 001F93E8 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 801FC48C 001F93EC D0 01 00 54 */ stfs f0, 0x54(r1) /* 801FC490 001F93F0 D0 81 00 58 */ stfs f4, 0x58(r1) /* 801FC494 001F93F4 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 801FC498 001F93F8 4B E8 06 C5 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801FC49C 001F93FC 38 7A 07 A0 */ addi r3, r26, 0x7a0 /* 801FC4A0 001F9400 38 80 00 00 */ li r4, 0 /* 801FC4A4 001F9404 4B F7 8D 81 */ bl SetActive__13CBoneTrackingFb lbl_801FC4A8: /* 801FC4A8 001F9408 FC 20 D8 90 */ fmr f1, f27 /* 801FC4AC 001F940C 7F 43 D3 78 */ mr r3, r26 /* 801FC4B0 001F9410 7F 64 DB 78 */ mr r4, r27 /* 801FC4B4 001F9414 7F 85 E3 78 */ mr r5, r28 /* 801FC4B8 001F9418 7F A6 EB 78 */ mr r6, r29 /* 801FC4BC 001F941C 7F C7 F3 78 */ mr r7, r30 /* 801FC4C0 001F9420 7F E8 FB 78 */ mr r8, r31 /* 801FC4C4 001F9424 4B E7 E2 B9 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef /* 801FC4C8 001F9428 88 1A 04 00 */ lbz r0, 0x400(r26) /* 801FC4CC 001F942C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FC4D0 001F9430 41 82 00 D0 */ beq lbl_801FC5A0 /* 801FC4D4 001F9434 80 1A 04 64 */ lwz r0, 0x464(r26) /* 801FC4D8 001F9438 2C 00 00 03 */ cmpwi r0, 3 /* 801FC4DC 001F943C 41 82 00 08 */ beq lbl_801FC4E4 /* 801FC4E0 001F9440 48 00 01 78 */ b lbl_801FC658 lbl_801FC4E4: /* 801FC4E4 001F9444 80 7A 04 50 */ lwz r3, 0x450(r26) /* 801FC4E8 001F9448 88 03 03 00 */ lbz r0, 0x300(r3) /* 801FC4EC 001F944C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 801FC4F0 001F9450 40 82 00 48 */ bne lbl_801FC538 /* 801FC4F4 001F9454 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801FC4F8 001F9458 38 61 00 44 */ addi r3, r1, 0x44 /* 801FC4FC 001F945C 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801FC500 001F9460 38 84 00 10 */ addi r4, r4, 0x10 /* 801FC504 001F9464 4B E0 87 B5 */ bl string_l__4rstlFPCc /* 801FC508 001F9468 7F 43 D3 78 */ mr r3, r26 /* 801FC50C 001F946C 4B EA 63 ED */ bl GetStateMachine__3CAiFv /* 801FC510 001F9470 7C 66 1B 78 */ mr r6, r3 /* 801FC514 001F9474 7F 84 E3 78 */ mr r4, r28 /* 801FC518 001F9478 7F 45 D3 78 */ mr r5, r26 /* 801FC51C 001F947C 38 7A 03 30 */ addi r3, r26, 0x330 /* 801FC520 001F9480 38 E1 00 44 */ addi r7, r1, 0x44 /* 801FC524 001F9484 4B E8 36 E1 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801FC528 001F9488 38 61 00 44 */ addi r3, r1, 0x44 /* 801FC52C 001F948C 48 14 15 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FC530 001F9490 C0 1A 05 F0 */ lfs f0, 0x5f0(r26) /* 801FC534 001F9494 D0 1A 03 40 */ stfs f0, 0x340(r26) lbl_801FC538: /* 801FC538 001F9498 88 1A 06 A1 */ lbz r0, 0x6a1(r26) /* 801FC53C 001F949C 38 A0 00 00 */ li r5, 0 /* 801FC540 001F94A0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 801FC544 001F94A4 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FC548 001F94A8 98 1A 06 A1 */ stb r0, 0x6a1(r26) /* 801FC54C 001F94AC 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801FC550 001F94B0 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) /* 801FC554 001F94B4 38 61 00 20 */ addi r3, r1, 0x20 /* 801FC558 001F94B8 88 9A 03 28 */ lbz r4, 0x328(r26) /* 801FC55C 001F94BC 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 /* 801FC560 001F94C0 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) /* 801FC564 001F94C4 38 A1 00 38 */ addi r5, r1, 0x38 /* 801FC568 001F94C8 98 9A 03 28 */ stb r4, 0x328(r26) /* 801FC56C 001F94CC 38 E0 00 7F */ li r7, 0x7f /* 801FC570 001F94D0 39 00 00 01 */ li r8, 1 /* 801FC574 001F94D4 39 20 00 00 */ li r9, 0 /* 801FC578 001F94D8 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801FC57C 001F94DC C0 3A 00 50 */ lfs f1, 0x50(r26) /* 801FC580 001F94E0 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801FC584 001F94E4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801FC588 001F94E8 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801FC58C 001F94EC D0 41 00 40 */ stfs f2, 0x40(r1) /* 801FC590 001F94F0 90 01 00 08 */ stw r0, 8(r1) /* 801FC594 001F94F4 A0 9A 06 4C */ lhz r4, 0x64c(r26) /* 801FC598 001F94F8 48 0E DC 21 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi /* 801FC59C 001F94FC 48 00 00 BC */ b lbl_801FC658 lbl_801FC5A0: /* 801FC5A0 001F9500 80 1A 04 64 */ lwz r0, 0x464(r26) /* 801FC5A4 001F9504 2C 00 00 03 */ cmpwi r0, 3 /* 801FC5A8 001F9508 41 82 00 08 */ beq lbl_801FC5B0 /* 801FC5AC 001F950C 48 00 00 AC */ b lbl_801FC658 lbl_801FC5B0: /* 801FC5B0 001F9510 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 801FC5B4 001F9514 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FC5B8 001F9518 C0 3A 00 50 */ lfs f1, 0x50(r26) /* 801FC5BC 001F951C 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801FC5C0 001F9520 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 801FC5C4 001F9524 38 61 00 1C */ addi r3, r1, 0x1c /* 801FC5C8 001F9528 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) /* 801FC5CC 001F952C 38 A1 00 2C */ addi r5, r1, 0x2c /* 801FC5D0 001F9530 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801FC5D4 001F9534 38 E0 00 7F */ li r7, 0x7f /* 801FC5D8 001F9538 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) /* 801FC5DC 001F953C 39 00 00 01 */ li r8, 1 /* 801FC5E0 001F9540 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801FC5E4 001F9544 39 20 00 00 */ li r9, 0 /* 801FC5E8 001F9548 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801FC5EC 001F954C 90 01 00 08 */ stw r0, 8(r1) /* 801FC5F0 001F9550 A0 9A 06 4E */ lhz r4, 0x64e(r26) /* 801FC5F4 001F9554 48 0E DB C5 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi /* 801FC5F8 001F9558 88 1A 04 00 */ lbz r0, 0x400(r26) /* 801FC5FC 001F955C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801FC600 001F9560 41 82 00 58 */ beq lbl_801FC658 /* 801FC604 001F9564 88 1A 06 A1 */ lbz r0, 0x6a1(r26) /* 801FC608 001F9568 38 60 00 00 */ li r3, 0 /* 801FC60C 001F956C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801FC610 001F9570 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FC614 001F9574 98 1A 06 A1 */ stb r0, 0x6a1(r26) /* 801FC618 001F9578 7F 43 D3 78 */ mr r3, r26 /* 801FC61C 001F957C 7F 84 E3 78 */ mr r4, r28 /* 801FC620 001F9580 38 A0 00 00 */ li r5, 0 /* 801FC624 001F9584 48 00 15 C5 */ bl sub_801fdbe8 /* 801FC628 001F9588 7F 43 D3 78 */ mr r3, r26 /* 801FC62C 001F958C C3 3A 00 E8 */ lfs f25, 0xe8(r26) /* 801FC630 001F9590 81 9A 00 00 */ lwz r12, 0(r26) /* 801FC634 001F9594 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 801FC638 001F9598 7D 89 03 A6 */ mtctr r12 /* 801FC63C 001F959C 4E 80 04 21 */ bctrl /* 801FC640 001F95A0 FC 20 08 50 */ fneg f1, f1 /* 801FC644 001F95A4 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FC648 001F95A8 D0 1A 01 50 */ stfs f0, 0x150(r26) /* 801FC64C 001F95AC EC 21 06 72 */ fmuls f1, f1, f25 /* 801FC650 001F95B0 D0 1A 01 54 */ stfs f0, 0x154(r26) /* 801FC654 001F95B4 D0 3A 01 58 */ stfs f1, 0x158(r26) lbl_801FC658: /* 801FC658 001F95B8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 801FC65C 001F95BC CB E1 01 00 */ lfd f31, 0x100(r1) /* 801FC660 001F95C0 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 /* 801FC664 001F95C4 CB C1 00 F0 */ lfd f30, 0xf0(r1) /* 801FC668 001F95C8 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 /* 801FC66C 001F95CC CB A1 00 E0 */ lfd f29, 0xe0(r1) /* 801FC670 001F95D0 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 /* 801FC674 001F95D4 CB 81 00 D0 */ lfd f28, 0xd0(r1) /* 801FC678 001F95D8 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 /* 801FC67C 001F95DC CB 61 00 C0 */ lfd f27, 0xc0(r1) /* 801FC680 001F95E0 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 /* 801FC684 001F95E4 CB 41 00 B0 */ lfd f26, 0xb0(r1) /* 801FC688 001F95E8 E3 21 00 A8 */ psq_l f25, 168(r1), 0, qr0 /* 801FC68C 001F95EC CB 21 00 A0 */ lfd f25, 0xa0(r1) /* 801FC690 001F95F0 BB 41 00 88 */ lmw r26, 0x88(r1) /* 801FC694 001F95F4 80 01 01 14 */ lwz r0, 0x114(r1) /* 801FC698 001F95F8 7C 08 03 A6 */ mtlr r0 /* 801FC69C 001F95FC 38 21 01 10 */ addi r1, r1, 0x110 /* 801FC6A0 001F9600 4E 80 00 20 */ blr .global CanFireMissiles__13CFlyingPirateFR13CStateManager CanFireMissiles__13CFlyingPirateFR13CStateManager: /* 801FC6A4 001F9604 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 801FC6A8 001F9608 7C 08 02 A6 */ mflr r0 /* 801FC6AC 001F960C 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801FC6B0 001F9610 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 801FC6B4 001F9614 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 801FC6B8 001F9618 BF 61 00 AC */ stmw r27, 0xac(r1) /* 801FC6BC 001F961C 7C 7B 1B 78 */ mr r27, r3 /* 801FC6C0 001F9620 C3 E2 AF 7C */ lfs f31, lbl_805ACC9C@sda21(r2) /* 801FC6C4 001F9624 7C 9C 23 78 */ mr r28, r4 /* 801FC6C8 001F9628 3B C0 00 01 */ li r30, 1 /* 801FC6CC 001F962C 3B FB 08 68 */ addi r31, r27, 0x868 /* 801FC6D0 001F9630 3B A0 00 00 */ li r29, 0 lbl_801FC6D4: /* 801FC6D4 001F9634 7F 64 DB 78 */ mr r4, r27 /* 801FC6D8 001F9638 7F E5 FB 78 */ mr r5, r31 /* 801FC6DC 001F963C 38 61 00 3C */ addi r3, r1, 0x3c /* 801FC6E0 001F9640 4B E7 C1 D9 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 801FC6E4 001F9644 38 61 00 6C */ addi r3, r1, 0x6c /* 801FC6E8 001F9648 38 81 00 3C */ addi r4, r1, 0x3c /* 801FC6EC 001F964C 48 11 64 89 */ bl __ct__12CTransform4fFRC12CTransform4f /* 801FC6F0 001F9650 C0 41 00 80 */ lfs f2, 0x80(r1) /* 801FC6F4 001F9654 38 00 00 00 */ li r0, 0 /* 801FC6F8 001F9658 C0 01 00 70 */ lfs f0, 0x70(r1) /* 801FC6FC 001F965C 38 60 00 00 */ li r3, 0 /* 801FC700 001F9660 C0 21 00 90 */ lfs f1, 0x90(r1) /* 801FC704 001F9664 EC 9F 00 B2 */ fmuls f4, f31, f2 /* 801FC708 001F9668 C0 A1 00 88 */ lfs f5, 0x88(r1) /* 801FC70C 001F966C EC 1F 00 32 */ fmuls f0, f31, f0 /* 801FC710 001F9670 EC 5F 00 72 */ fmuls f2, f31, f1 /* 801FC714 001F9674 C0 61 00 98 */ lfs f3, 0x98(r1) /* 801FC718 001F9678 C0 21 00 78 */ lfs f1, 0x78(r1) /* 801FC71C 001F967C EC 85 20 2A */ fadds f4, f5, f4 /* 801FC720 001F9680 80 AD 92 FC */ lwz r5, lbl_805A7EBC@sda21(r13) /* 801FC724 001F9684 EC 43 10 2A */ fadds f2, f3, f2 /* 801FC728 001F9688 EC 01 00 2A */ fadds f0, f1, f0 /* 801FC72C 001F968C 90 01 00 14 */ stw r0, 0x14(r1) /* 801FC730 001F9690 38 80 00 01 */ li r4, 1 /* 801FC734 001F9694 D0 81 00 34 */ stfs f4, 0x34(r1) /* 801FC738 001F9698 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801FC73C 001F969C D0 41 00 38 */ stfs f2, 0x38(r1) /* 801FC740 001F96A0 90 01 00 10 */ stw r0, 0x10(r1) /* 801FC744 001F96A4 48 18 D7 B1 */ bl __shl2i /* 801FC748 001F96A8 80 01 00 10 */ lwz r0, 0x10(r1) /* 801FC74C 001F96AC 80 C1 00 14 */ lwz r6, 0x14(r1) /* 801FC750 001F96B0 7C 00 1B 78 */ or r0, r0, r3 /* 801FC754 001F96B4 80 AD 93 00 */ lwz r5, lbl_805A7EC0@sda21(r13) /* 801FC758 001F96B8 7C C4 23 78 */ or r4, r6, r4 /* 801FC75C 001F96BC 90 01 00 10 */ stw r0, 0x10(r1) /* 801FC760 001F96C0 38 60 00 00 */ li r3, 0 /* 801FC764 001F96C4 90 81 00 14 */ stw r4, 0x14(r1) /* 801FC768 001F96C8 38 80 00 01 */ li r4, 1 /* 801FC76C 001F96CC 48 18 D7 89 */ bl __shl2i /* 801FC770 001F96D0 80 01 00 10 */ lwz r0, 0x10(r1) /* 801FC774 001F96D4 38 A1 00 24 */ addi r5, r1, 0x24 /* 801FC778 001F96D8 80 E1 00 14 */ lwz r7, 0x14(r1) /* 801FC77C 001F96DC 38 C1 00 30 */ addi r6, r1, 0x30 /* 801FC780 001F96E0 7C 00 1B 78 */ or r0, r0, r3 /* 801FC784 001F96E4 C0 41 00 78 */ lfs f2, 0x78(r1) /* 801FC788 001F96E8 7C E4 23 78 */ or r4, r7, r4 /* 801FC78C 001F96EC C0 21 00 88 */ lfs f1, 0x88(r1) /* 801FC790 001F96F0 C0 01 00 98 */ lfs f0, 0x98(r1) /* 801FC794 001F96F4 7F 63 DB 78 */ mr r3, r27 /* 801FC798 001F96F8 90 81 00 14 */ stw r4, 0x14(r1) /* 801FC79C 001F96FC 7F 84 E3 78 */ mr r4, r28 /* 801FC7A0 001F9700 38 E1 00 10 */ addi r7, r1, 0x10 /* 801FC7A4 001F9704 90 01 00 10 */ stw r0, 0x10(r1) /* 801FC7A8 001F9708 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801FC7AC 001F970C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801FC7B0 001F9710 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801FC7B4 001F9714 48 00 0C 11 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FC7B8 001F9718 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FC7BC 001F971C 41 82 00 90 */ beq lbl_801FC84C /* 801FC7C0 001F9720 38 00 00 00 */ li r0, 0 /* 801FC7C4 001F9724 80 AD 93 04 */ lwz r5, lbl_805A7EC4@sda21(r13) /* 801FC7C8 001F9728 90 01 00 0C */ stw r0, 0xc(r1) /* 801FC7CC 001F972C 38 60 00 00 */ li r3, 0 /* 801FC7D0 001F9730 38 80 00 01 */ li r4, 1 /* 801FC7D4 001F9734 90 01 00 08 */ stw r0, 8(r1) /* 801FC7D8 001F9738 48 18 D7 1D */ bl __shl2i /* 801FC7DC 001F973C 80 01 00 08 */ lwz r0, 8(r1) /* 801FC7E0 001F9740 80 C1 00 0C */ lwz r6, 0xc(r1) /* 801FC7E4 001F9744 7C 00 1B 78 */ or r0, r0, r3 /* 801FC7E8 001F9748 80 AD 93 08 */ lwz r5, lbl_805A7EC8@sda21(r13) /* 801FC7EC 001F974C 7C C4 23 78 */ or r4, r6, r4 /* 801FC7F0 001F9750 90 01 00 08 */ stw r0, 8(r1) /* 801FC7F4 001F9754 38 60 00 00 */ li r3, 0 /* 801FC7F8 001F9758 90 81 00 0C */ stw r4, 0xc(r1) /* 801FC7FC 001F975C 38 80 00 01 */ li r4, 1 /* 801FC800 001F9760 48 18 D6 F5 */ bl __shl2i /* 801FC804 001F9764 80 01 00 08 */ lwz r0, 8(r1) /* 801FC808 001F9768 7F 85 E3 78 */ mr r5, r28 /* 801FC80C 001F976C 80 C1 00 0C */ lwz r6, 0xc(r1) /* 801FC810 001F9770 7C 00 1B 78 */ or r0, r0, r3 /* 801FC814 001F9774 38 61 00 18 */ addi r3, r1, 0x18 /* 801FC818 001F9778 7C C6 23 78 */ or r6, r6, r4 /* 801FC81C 001F977C 90 01 00 08 */ stw r0, 8(r1) /* 801FC820 001F9780 7F 64 DB 78 */ mr r4, r27 /* 801FC824 001F9784 90 C1 00 0C */ stw r6, 0xc(r1) /* 801FC828 001F9788 48 00 00 6D */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FC82C 001F978C 7F 63 DB 78 */ mr r3, r27 /* 801FC830 001F9790 7F 84 E3 78 */ mr r4, r28 /* 801FC834 001F9794 38 A1 00 30 */ addi r5, r1, 0x30 /* 801FC838 001F9798 38 C1 00 18 */ addi r6, r1, 0x18 /* 801FC83C 001F979C 38 E1 00 08 */ addi r7, r1, 8 /* 801FC840 001F97A0 48 00 0B 85 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FC844 001F97A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FC848 001F97A8 40 82 00 1C */ bne lbl_801FC864 lbl_801FC84C: /* 801FC84C 001F97AC 88 1B 06 A1 */ lbz r0, 0x6a1(r27) /* 801FC850 001F97B0 38 60 00 01 */ li r3, 1 /* 801FC854 001F97B4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801FC858 001F97B8 3B C0 00 00 */ li r30, 0 /* 801FC85C 001F97BC 98 1B 06 A1 */ stb r0, 0x6a1(r27) /* 801FC860 001F97C0 48 00 00 14 */ b lbl_801FC874 lbl_801FC864: /* 801FC864 001F97C4 3B BD 00 01 */ addi r29, r29, 1 /* 801FC868 001F97C8 3B FF 00 01 */ addi r31, r31, 1 /* 801FC86C 001F97CC 2C 1D 00 02 */ cmpwi r29, 2 /* 801FC870 001F97D0 41 80 FE 64 */ blt lbl_801FC6D4 lbl_801FC874: /* 801FC874 001F97D4 57 C3 06 3E */ clrlwi r3, r30, 0x18 /* 801FC878 001F97D8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 801FC87C 001F97DC CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 801FC880 001F97E0 BB 61 00 AC */ lmw r27, 0xac(r1) /* 801FC884 001F97E4 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801FC888 001F97E8 7C 08 03 A6 */ mtlr r0 /* 801FC88C 001F97EC 38 21 00 D0 */ addi r1, r1, 0xd0 /* 801FC890 001F97F0 4E 80 00 20 */ blr .global GetTargetPos__13CFlyingPirateFR13CStateManager GetTargetPos__13CFlyingPirateFR13CStateManager: /* 801FC894 001F97F4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801FC898 001F97F8 7C 08 02 A6 */ mflr r0 /* 801FC89C 001F97FC 90 01 00 34 */ stw r0, 0x34(r1) /* 801FC8A0 001F9800 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801FC8A4 001F9804 7C BF 2B 78 */ mr r31, r5 /* 801FC8A8 001F9808 93 C1 00 28 */ stw r30, 0x28(r1) /* 801FC8AC 001F980C 7C 9E 23 78 */ mr r30, r4 /* 801FC8B0 001F9810 93 A1 00 24 */ stw r29, 0x24(r1) /* 801FC8B4 001F9814 7C 7D 1B 78 */ mr r29, r3 /* 801FC8B8 001F9818 80 85 08 4C */ lwz r4, 0x84c(r5) /* 801FC8BC 001F981C A0 7E 07 E8 */ lhz r3, 0x7e8(r30) /* 801FC8C0 001F9820 A0 04 00 08 */ lhz r0, 8(r4) /* 801FC8C4 001F9824 7C 03 00 40 */ cmplw r3, r0 /* 801FC8C8 001F9828 41 82 00 80 */ beq lbl_801FC948 /* 801FC8CC 001F982C A0 1E 07 E8 */ lhz r0, 0x7e8(r30) /* 801FC8D0 001F9830 7F E3 FB 78 */ mr r3, r31 /* 801FC8D4 001F9834 38 81 00 10 */ addi r4, r1, 0x10 /* 801FC8D8 001F9838 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FC8DC 001F983C 4B E4 FC C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801FC8E0 001F9840 7C 64 1B 78 */ mr r4, r3 /* 801FC8E4 001F9844 38 61 00 14 */ addi r3, r1, 0x14 /* 801FC8E8 001F9848 4B EB 33 A9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801FC8EC 001F984C 80 63 00 04 */ lwz r3, 4(r3) /* 801FC8F0 001F9850 28 03 00 00 */ cmplwi r3, 0 /* 801FC8F4 001F9854 41 82 00 2C */ beq lbl_801FC920 /* 801FC8F8 001F9858 88 03 00 30 */ lbz r0, 0x30(r3) /* 801FC8FC 001F985C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801FC900 001F9860 41 82 00 20 */ beq lbl_801FC920 /* 801FC904 001F9864 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801FC908 001F9868 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801FC90C 001F986C C0 03 00 40 */ lfs f0, 0x40(r3) /* 801FC910 001F9870 D0 1D 00 00 */ stfs f0, 0(r29) /* 801FC914 001F9874 D0 3D 00 04 */ stfs f1, 4(r29) /* 801FC918 001F9878 D0 5D 00 08 */ stfs f2, 8(r29) /* 801FC91C 001F987C 48 00 00 4C */ b lbl_801FC968 lbl_801FC920: /* 801FC920 001F9880 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 801FC924 001F9884 38 7E 07 A0 */ addi r3, r30, 0x7a0 /* 801FC928 001F9888 38 81 00 0C */ addi r4, r1, 0xc /* 801FC92C 001F988C A0 05 00 08 */ lhz r0, 8(r5) /* 801FC930 001F9890 B0 01 00 08 */ sth r0, 8(r1) /* 801FC934 001F9894 B0 01 00 0C */ sth r0, 0xc(r1) /* 801FC938 001F9898 4B F7 88 E1 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 801FC93C 001F989C 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 801FC940 001F98A0 A0 03 00 08 */ lhz r0, 8(r3) /* 801FC944 001F98A4 B0 1E 07 E8 */ sth r0, 0x7e8(r30) lbl_801FC948: /* 801FC948 001F98A8 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 801FC94C 001F98AC 7F A3 EB 78 */ mr r3, r29 /* 801FC950 001F98B0 7F E5 FB 78 */ mr r5, r31 /* 801FC954 001F98B4 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FC958 001F98B8 81 84 00 00 */ lwz r12, 0(r4) /* 801FC95C 001F98BC 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801FC960 001F98C0 7D 89 03 A6 */ mtctr r12 /* 801FC964 001F98C4 4E 80 04 21 */ bctrl lbl_801FC968: /* 801FC968 001F98C8 80 01 00 34 */ lwz r0, 0x34(r1) /* 801FC96C 001F98CC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801FC970 001F98D0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801FC974 001F98D4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801FC978 001F98D8 7C 08 03 A6 */ mtlr r0 /* 801FC97C 001F98DC 38 21 00 30 */ addi r1, r1, 0x30 /* 801FC980 001F98E0 4E 80 00 20 */ blr .global GetDodgeDirection__13CFlyingPirateFR13CStateManagerf GetDodgeDirection__13CFlyingPirateFR13CStateManagerf: /* 801FC984 001F98E4 94 21 FE 90 */ stwu r1, -0x170(r1) /* 801FC988 001F98E8 7C 08 02 A6 */ mflr r0 /* 801FC98C 001F98EC 90 01 01 74 */ stw r0, 0x174(r1) /* 801FC990 001F98F0 DB E1 01 60 */ stfd f31, 0x160(r1) /* 801FC994 001F98F4 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 /* 801FC998 001F98F8 DB C1 01 50 */ stfd f30, 0x150(r1) /* 801FC99C 001F98FC F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 /* 801FC9A0 001F9900 BE E1 01 2C */ stmw r23, 0x12c(r1) /* 801FC9A4 001F9904 FF C0 08 90 */ fmr f30, f1 /* 801FC9A8 001F9908 83 04 08 38 */ lwz r24, 0x838(r4) /* 801FC9AC 001F990C 7C 9A 23 78 */ mr r26, r4 /* 801FC9B0 001F9910 7C 79 1B 78 */ mr r25, r3 /* 801FC9B4 001F9914 AA F8 20 08 */ lha r23, 0x2008(r24) /* 801FC9B8 001F9918 3B E0 00 01 */ li r31, 1 /* 801FC9BC 001F991C EF FE 07 B2 */ fmuls f31, f30, f30 /* 801FC9C0 001F9920 3B C0 00 01 */ li r30, 1 /* 801FC9C4 001F9924 3B A0 00 01 */ li r29, 1 /* 801FC9C8 001F9928 3B 80 00 01 */ li r28, 1 /* 801FC9CC 001F992C 3B 60 FF FF */ li r27, -1 /* 801FC9D0 001F9930 48 00 01 94 */ b lbl_801FCB64 lbl_801FC9D4: /* 801FC9D4 001F9934 7F 03 C3 78 */ mr r3, r24 /* 801FC9D8 001F9938 7E E4 BB 78 */ mr r4, r23 /* 801FC9DC 001F993C 4B E1 33 01 */ bl __vc__11CObjectListCFi /* 801FC9E0 001F9940 7C 64 1B 78 */ mr r4, r3 /* 801FC9E4 001F9944 38 61 00 08 */ addi r3, r1, 8 /* 801FC9E8 001F9948 4B EA FC FD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" /* 801FC9EC 001F994C 80 83 00 04 */ lwz r4, 4(r3) /* 801FC9F0 001F9950 28 04 00 00 */ cmplwi r4, 0 /* 801FC9F4 001F9954 41 82 01 54 */ beq lbl_801FCB48 /* 801FC9F8 001F9958 7C 04 C8 40 */ cmplw r4, r25 /* 801FC9FC 001F995C 41 82 01 4C */ beq lbl_801FCB48 /* 801FCA00 001F9960 80 64 00 04 */ lwz r3, 4(r4) /* 801FCA04 001F9964 80 19 00 04 */ lwz r0, 4(r25) /* 801FCA08 001F9968 7C 03 00 00 */ cmpw r3, r0 /* 801FCA0C 001F996C 40 82 01 3C */ bne lbl_801FCB48 /* 801FCA10 001F9970 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801FCA14 001F9974 C0 19 00 50 */ lfs f0, 0x50(r25) /* 801FCA18 001F9978 C0 64 00 40 */ lfs f3, 0x40(r4) /* 801FCA1C 001F997C EC 81 00 28 */ fsubs f4, f1, f0 /* 801FCA20 001F9980 C0 19 00 40 */ lfs f0, 0x40(r25) /* 801FCA24 001F9984 C0 44 00 60 */ lfs f2, 0x60(r4) /* 801FCA28 001F9988 EC A3 00 28 */ fsubs f5, f3, f0 /* 801FCA2C 001F998C C0 39 00 60 */ lfs f1, 0x60(r25) /* 801FCA30 001F9990 EC 04 01 32 */ fmuls f0, f4, f4 /* 801FCA34 001F9994 EC 62 08 28 */ fsubs f3, f2, f1 /* 801FCA38 001F9998 EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 801FCA3C 001F999C ED 03 00 FA */ fmadds f8, f3, f3, f0 /* 801FCA40 001F99A0 FC 08 F8 40 */ fcmpo cr0, f8, f31 /* 801FCA44 001F99A4 40 80 01 04 */ bge lbl_801FCB48 /* 801FCA48 001F99A8 C0 D9 00 44 */ lfs f6, 0x44(r25) /* 801FCA4C 001F99AC C0 59 00 34 */ lfs f2, 0x34(r25) /* 801FCA50 001F99B0 EC 24 01 B2 */ fmuls f1, f4, f6 /* 801FCA54 001F99B4 C0 F9 00 54 */ lfs f7, 0x54(r25) /* 801FCA58 001F99B8 C0 02 AF E8 */ lfs f0, lbl_805ACD08@sda21(r2) /* 801FCA5C 001F99BC D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 801FCA60 001F99C0 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 801FCA64 001F99C4 ED 20 02 32 */ fmuls f9, f0, f8 /* 801FCA68 001F99C8 D0 C1 00 F4 */ stfs f6, 0xf4(r1) /* 801FCA6C 001F99CC EC 43 09 FA */ fmadds f2, f3, f7, f1 /* 801FCA70 001F99D0 D0 E1 00 F8 */ stfs f7, 0xf8(r1) /* 801FCA74 001F99D4 FC 02 48 40 */ fcmpo cr0, f2, f9 /* 801FCA78 001F99D8 41 81 00 1C */ bgt lbl_801FCA94 /* 801FCA7C 001F99DC C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FCA80 001F99E0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FCA84 001F99E4 40 81 00 18 */ ble lbl_801FCA9C /* 801FCA88 001F99E8 C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801FCA8C 001F99EC FC 08 00 40 */ fcmpo cr0, f8, f0 /* 801FCA90 001F99F0 40 80 00 0C */ bge lbl_801FCA9C lbl_801FCA94: /* 801FCA94 001F99F4 3B C0 00 00 */ li r30, 0 /* 801FCA98 001F99F8 48 00 00 34 */ b lbl_801FCACC lbl_801FCA9C: /* 801FCA9C 001F99FC FC 00 40 50 */ fneg f0, f8 /* 801FCAA0 001F9A00 C0 22 AF E8 */ lfs f1, lbl_805ACD08@sda21(r2) /* 801FCAA4 001F9A04 EC 01 00 32 */ fmuls f0, f1, f0 /* 801FCAA8 001F9A08 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FCAAC 001F9A0C 41 80 00 1C */ blt lbl_801FCAC8 /* 801FCAB0 001F9A10 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FCAB4 001F9A14 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FCAB8 001F9A18 40 80 00 14 */ bge lbl_801FCACC /* 801FCABC 001F9A1C C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801FCAC0 001F9A20 FC 08 00 40 */ fcmpo cr0, f8, f0 /* 801FCAC4 001F9A24 40 80 00 08 */ bge lbl_801FCACC lbl_801FCAC8: /* 801FCAC8 001F9A28 3B E0 00 00 */ li r31, 0 lbl_801FCACC: /* 801FCACC 001F9A2C C0 59 00 4C */ lfs f2, 0x4c(r25) /* 801FCAD0 001F9A30 C0 39 00 3C */ lfs f1, 0x3c(r25) /* 801FCAD4 001F9A34 EC 04 00 B2 */ fmuls f0, f4, f2 /* 801FCAD8 001F9A38 C0 99 00 5C */ lfs f4, 0x5c(r25) /* 801FCADC 001F9A3C D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 801FCAE0 001F9A40 EC 05 00 7A */ fmadds f0, f5, f1, f0 /* 801FCAE4 001F9A44 D0 41 00 E8 */ stfs f2, 0xe8(r1) /* 801FCAE8 001F9A48 D0 81 00 EC */ stfs f4, 0xec(r1) /* 801FCAEC 001F9A4C EC 43 01 3A */ fmadds f2, f3, f4, f0 /* 801FCAF0 001F9A50 FC 02 48 40 */ fcmpo cr0, f2, f9 /* 801FCAF4 001F9A54 41 81 00 1C */ bgt lbl_801FCB10 /* 801FCAF8 001F9A58 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FCAFC 001F9A5C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FCB00 001F9A60 40 81 00 18 */ ble lbl_801FCB18 /* 801FCB04 001F9A64 C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801FCB08 001F9A68 FC 08 00 40 */ fcmpo cr0, f8, f0 /* 801FCB0C 001F9A6C 40 80 00 0C */ bge lbl_801FCB18 lbl_801FCB10: /* 801FCB10 001F9A70 3B A0 00 00 */ li r29, 0 /* 801FCB14 001F9A74 48 00 00 34 */ b lbl_801FCB48 lbl_801FCB18: /* 801FCB18 001F9A78 FC 00 40 50 */ fneg f0, f8 /* 801FCB1C 001F9A7C C0 22 AF E8 */ lfs f1, lbl_805ACD08@sda21(r2) /* 801FCB20 001F9A80 EC 01 00 32 */ fmuls f0, f1, f0 /* 801FCB24 001F9A84 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FCB28 001F9A88 41 80 00 1C */ blt lbl_801FCB44 /* 801FCB2C 001F9A8C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FCB30 001F9A90 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FCB34 001F9A94 40 80 00 14 */ bge lbl_801FCB48 /* 801FCB38 001F9A98 C0 02 AF 7C */ lfs f0, lbl_805ACC9C@sda21(r2) /* 801FCB3C 001F9A9C FC 08 00 40 */ fcmpo cr0, f8, f0 /* 801FCB40 001F9AA0 40 80 00 08 */ bge lbl_801FCB48 lbl_801FCB44: /* 801FCB44 001F9AA4 3B 80 00 00 */ li r28, 0 lbl_801FCB48: /* 801FCB48 001F9AA8 2C 17 FF FF */ cmpwi r23, -1 /* 801FCB4C 001F9AAC 41 82 00 14 */ beq lbl_801FCB60 /* 801FCB50 001F9AB0 56 E3 18 38 */ slwi r3, r23, 3 /* 801FCB54 001F9AB4 38 03 00 08 */ addi r0, r3, 8 /* 801FCB58 001F9AB8 7E F8 02 AE */ lhax r23, r24, r0 /* 801FCB5C 001F9ABC 48 00 00 08 */ b lbl_801FCB64 lbl_801FCB60: /* 801FCB60 001F9AC0 3A E0 FF FF */ li r23, -1 lbl_801FCB64: /* 801FCB64 001F9AC4 2C 17 FF FF */ cmpwi r23, -1 /* 801FCB68 001F9AC8 40 82 FE 6C */ bne lbl_801FC9D4 /* 801FCB6C 001F9ACC 7F 24 CB 78 */ mr r4, r25 /* 801FCB70 001F9AD0 38 61 01 08 */ addi r3, r1, 0x108 /* 801FCB74 001F9AD4 4B F1 DD B9 */ bl GetBoundingBox__13CPhysicsActorCFv /* 801FCB78 001F9AD8 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801FCB7C 001F9ADC 38 81 01 08 */ addi r4, r1, 0x108 /* 801FCB80 001F9AE0 48 13 AA 8D */ bl GetCenterPoint__6CAABoxCFv /* 801FCB84 001F9AE4 C0 81 00 D8 */ lfs f4, 0xd8(r1) /* 801FCB88 001F9AE8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801FCB8C 001F9AEC C0 61 00 DC */ lfs f3, 0xdc(r1) /* 801FCB90 001F9AF0 C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 801FCB94 001F9AF4 D0 81 00 FC */ stfs f4, 0xfc(r1) /* 801FCB98 001F9AF8 D0 61 01 00 */ stfs f3, 0x100(r1) /* 801FCB9C 001F9AFC D0 41 01 04 */ stfs f2, 0x104(r1) /* 801FCBA0 001F9B00 41 82 00 7C */ beq lbl_801FCC1C /* 801FCBA4 001F9B04 38 00 00 00 */ li r0, 0 /* 801FCBA8 001F9B08 7F 23 CB 78 */ mr r3, r25 /* 801FCBAC 001F9B0C 90 01 00 2C */ stw r0, 0x2c(r1) /* 801FCBB0 001F9B10 7F 44 D3 78 */ mr r4, r26 /* 801FCBB4 001F9B14 38 A1 00 FC */ addi r5, r1, 0xfc /* 801FCBB8 001F9B18 38 C1 00 CC */ addi r6, r1, 0xcc /* 801FCBBC 001F9B1C 90 01 00 28 */ stw r0, 0x28(r1) /* 801FCBC0 001F9B20 38 E1 00 28 */ addi r7, r1, 0x28 /* 801FCBC4 001F9B24 C0 F9 00 54 */ lfs f7, 0x54(r25) /* 801FCBC8 001F9B28 C0 39 00 44 */ lfs f1, 0x44(r25) /* 801FCBCC 001F9B2C C0 19 00 34 */ lfs f0, 0x34(r25) /* 801FCBD0 001F9B30 EC BE 01 F2 */ fmuls f5, f30, f7 /* 801FCBD4 001F9B34 EC DE 00 72 */ fmuls f6, f30, f1 /* 801FCBD8 001F9B38 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 801FCBDC 001F9B3C EC 3E 00 32 */ fmuls f1, f30, f0 /* 801FCBE0 001F9B40 EC 42 28 2A */ fadds f2, f2, f5 /* 801FCBE4 001F9B44 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801FCBE8 001F9B48 EC 63 30 2A */ fadds f3, f3, f6 /* 801FCBEC 001F9B4C EC 04 08 2A */ fadds f0, f4, f1 /* 801FCBF0 001F9B50 D0 E1 00 BC */ stfs f7, 0xbc(r1) /* 801FCBF4 001F9B54 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801FCBF8 001F9B58 D0 C1 00 C4 */ stfs f6, 0xc4(r1) /* 801FCBFC 001F9B5C D0 A1 00 C8 */ stfs f5, 0xc8(r1) /* 801FCC00 001F9B60 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801FCC04 001F9B64 D0 61 00 D0 */ stfs f3, 0xd0(r1) /* 801FCC08 001F9B68 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 801FCC0C 001F9B6C 48 00 07 B9 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FCC10 001F9B70 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FCC14 001F9B74 40 82 00 08 */ bne lbl_801FCC1C /* 801FCC18 001F9B78 3B C0 00 00 */ li r30, 0 lbl_801FCC1C: /* 801FCC1C 001F9B7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801FCC20 001F9B80 41 82 00 88 */ beq lbl_801FCCA8 /* 801FCC24 001F9B84 38 00 00 00 */ li r0, 0 /* 801FCC28 001F9B88 C0 41 01 00 */ lfs f2, 0x100(r1) /* 801FCC2C 001F9B8C 90 01 00 24 */ stw r0, 0x24(r1) /* 801FCC30 001F9B90 7F 23 CB 78 */ mr r3, r25 /* 801FCC34 001F9B94 C0 21 01 04 */ lfs f1, 0x104(r1) /* 801FCC38 001F9B98 7F 44 D3 78 */ mr r4, r26 /* 801FCC3C 001F9B9C 90 01 00 20 */ stw r0, 0x20(r1) /* 801FCC40 001F9BA0 38 A1 00 FC */ addi r5, r1, 0xfc /* 801FCC44 001F9BA4 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 801FCC48 001F9BA8 38 C1 00 A8 */ addi r6, r1, 0xa8 /* 801FCC4C 001F9BAC C0 F9 00 54 */ lfs f7, 0x54(r25) /* 801FCC50 001F9BB0 38 E1 00 20 */ addi r7, r1, 0x20 /* 801FCC54 001F9BB4 C0 79 00 44 */ lfs f3, 0x44(r25) /* 801FCC58 001F9BB8 C0 99 00 34 */ lfs f4, 0x34(r25) /* 801FCC5C 001F9BBC EC BE 01 F2 */ fmuls f5, f30, f7 /* 801FCC60 001F9BC0 EC DE 00 F2 */ fmuls f6, f30, f3 /* 801FCC64 001F9BC4 D0 61 00 94 */ stfs f3, 0x94(r1) /* 801FCC68 001F9BC8 EC 7E 01 32 */ fmuls f3, f30, f4 /* 801FCC6C 001F9BCC EC 21 28 28 */ fsubs f1, f1, f5 /* 801FCC70 001F9BD0 D0 81 00 90 */ stfs f4, 0x90(r1) /* 801FCC74 001F9BD4 EC 42 30 28 */ fsubs f2, f2, f6 /* 801FCC78 001F9BD8 EC 00 18 28 */ fsubs f0, f0, f3 /* 801FCC7C 001F9BDC D0 E1 00 98 */ stfs f7, 0x98(r1) /* 801FCC80 001F9BE0 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 801FCC84 001F9BE4 D0 C1 00 A0 */ stfs f6, 0xa0(r1) /* 801FCC88 001F9BE8 D0 A1 00 A4 */ stfs f5, 0xa4(r1) /* 801FCC8C 001F9BEC D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 801FCC90 001F9BF0 D0 41 00 AC */ stfs f2, 0xac(r1) /* 801FCC94 001F9BF4 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 801FCC98 001F9BF8 48 00 07 2D */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FCC9C 001F9BFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FCCA0 001F9C00 40 82 00 08 */ bne lbl_801FCCA8 /* 801FCCA4 001F9C04 3B E0 00 00 */ li r31, 0 lbl_801FCCA8: /* 801FCCA8 001F9C08 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801FCCAC 001F9C0C 41 82 00 88 */ beq lbl_801FCD34 /* 801FCCB0 001F9C10 38 00 00 00 */ li r0, 0 /* 801FCCB4 001F9C14 C0 41 01 00 */ lfs f2, 0x100(r1) /* 801FCCB8 001F9C18 90 01 00 1C */ stw r0, 0x1c(r1) /* 801FCCBC 001F9C1C 7F 23 CB 78 */ mr r3, r25 /* 801FCCC0 001F9C20 C0 21 01 04 */ lfs f1, 0x104(r1) /* 801FCCC4 001F9C24 7F 44 D3 78 */ mr r4, r26 /* 801FCCC8 001F9C28 90 01 00 18 */ stw r0, 0x18(r1) /* 801FCCCC 001F9C2C 38 A1 00 FC */ addi r5, r1, 0xfc /* 801FCCD0 001F9C30 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 801FCCD4 001F9C34 38 C1 00 84 */ addi r6, r1, 0x84 /* 801FCCD8 001F9C38 C0 F9 00 5C */ lfs f7, 0x5c(r25) /* 801FCCDC 001F9C3C 38 E1 00 18 */ addi r7, r1, 0x18 /* 801FCCE0 001F9C40 C0 79 00 4C */ lfs f3, 0x4c(r25) /* 801FCCE4 001F9C44 C0 99 00 3C */ lfs f4, 0x3c(r25) /* 801FCCE8 001F9C48 EC BE 01 F2 */ fmuls f5, f30, f7 /* 801FCCEC 001F9C4C EC DE 00 F2 */ fmuls f6, f30, f3 /* 801FCCF0 001F9C50 D0 61 00 70 */ stfs f3, 0x70(r1) /* 801FCCF4 001F9C54 EC 7E 01 32 */ fmuls f3, f30, f4 /* 801FCCF8 001F9C58 EC 21 28 2A */ fadds f1, f1, f5 /* 801FCCFC 001F9C5C D0 81 00 6C */ stfs f4, 0x6c(r1) /* 801FCD00 001F9C60 EC 42 30 2A */ fadds f2, f2, f6 /* 801FCD04 001F9C64 EC 00 18 2A */ fadds f0, f0, f3 /* 801FCD08 001F9C68 D0 E1 00 74 */ stfs f7, 0x74(r1) /* 801FCD0C 001F9C6C D0 61 00 78 */ stfs f3, 0x78(r1) /* 801FCD10 001F9C70 D0 C1 00 7C */ stfs f6, 0x7c(r1) /* 801FCD14 001F9C74 D0 A1 00 80 */ stfs f5, 0x80(r1) /* 801FCD18 001F9C78 D0 01 00 84 */ stfs f0, 0x84(r1) /* 801FCD1C 001F9C7C D0 41 00 88 */ stfs f2, 0x88(r1) /* 801FCD20 001F9C80 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 801FCD24 001F9C84 48 00 06 A1 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FCD28 001F9C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FCD2C 001F9C8C 40 82 00 08 */ bne lbl_801FCD34 /* 801FCD30 001F9C90 3B A0 00 00 */ li r29, 0 lbl_801FCD34: /* 801FCD34 001F9C94 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801FCD38 001F9C98 41 82 00 88 */ beq lbl_801FCDC0 /* 801FCD3C 001F9C9C 38 00 00 00 */ li r0, 0 /* 801FCD40 001F9CA0 C0 41 01 00 */ lfs f2, 0x100(r1) /* 801FCD44 001F9CA4 90 01 00 14 */ stw r0, 0x14(r1) /* 801FCD48 001F9CA8 7F 23 CB 78 */ mr r3, r25 /* 801FCD4C 001F9CAC C0 21 01 04 */ lfs f1, 0x104(r1) /* 801FCD50 001F9CB0 7F 44 D3 78 */ mr r4, r26 /* 801FCD54 001F9CB4 90 01 00 10 */ stw r0, 0x10(r1) /* 801FCD58 001F9CB8 38 A1 00 FC */ addi r5, r1, 0xfc /* 801FCD5C 001F9CBC C0 01 00 FC */ lfs f0, 0xfc(r1) /* 801FCD60 001F9CC0 38 C1 00 60 */ addi r6, r1, 0x60 /* 801FCD64 001F9CC4 C0 F9 00 5C */ lfs f7, 0x5c(r25) /* 801FCD68 001F9CC8 38 E1 00 10 */ addi r7, r1, 0x10 /* 801FCD6C 001F9CCC C0 79 00 4C */ lfs f3, 0x4c(r25) /* 801FCD70 001F9CD0 C0 99 00 3C */ lfs f4, 0x3c(r25) /* 801FCD74 001F9CD4 EC BE 01 F2 */ fmuls f5, f30, f7 /* 801FCD78 001F9CD8 EC DE 00 F2 */ fmuls f6, f30, f3 /* 801FCD7C 001F9CDC D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801FCD80 001F9CE0 EC 7E 01 32 */ fmuls f3, f30, f4 /* 801FCD84 001F9CE4 EC 21 28 28 */ fsubs f1, f1, f5 /* 801FCD88 001F9CE8 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801FCD8C 001F9CEC EC 42 30 28 */ fsubs f2, f2, f6 /* 801FCD90 001F9CF0 EC 00 18 28 */ fsubs f0, f0, f3 /* 801FCD94 001F9CF4 D0 E1 00 50 */ stfs f7, 0x50(r1) /* 801FCD98 001F9CF8 D0 61 00 54 */ stfs f3, 0x54(r1) /* 801FCD9C 001F9CFC D0 C1 00 58 */ stfs f6, 0x58(r1) /* 801FCDA0 001F9D00 D0 A1 00 5C */ stfs f5, 0x5c(r1) /* 801FCDA4 001F9D04 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801FCDA8 001F9D08 D0 41 00 64 */ stfs f2, 0x64(r1) /* 801FCDAC 001F9D0C D0 21 00 68 */ stfs f1, 0x68(r1) /* 801FCDB0 001F9D10 48 00 06 15 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FCDB4 001F9D14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FCDB8 001F9D18 40 82 00 08 */ bne lbl_801FCDC0 /* 801FCDBC 001F9D1C 3B 80 00 00 */ li r28, 0 lbl_801FCDC0: /* 801FCDC0 001F9D20 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801FCDC4 001F9D24 40 82 00 0C */ bne lbl_801FCDD0 /* 801FCDC8 001F9D28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801FCDCC 001F9D2C 41 82 00 38 */ beq lbl_801FCE04 lbl_801FCDD0: /* 801FCDD0 001F9D30 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801FCDD4 001F9D34 40 82 00 0C */ bne lbl_801FCDE0 /* 801FCDD8 001F9D38 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801FCDDC 001F9D3C 41 82 00 28 */ beq lbl_801FCE04 lbl_801FCDE0: /* 801FCDE0 001F9D40 80 7A 09 00 */ lwz r3, 0x900(r26) /* 801FCDE4 001F9D44 48 11 57 3D */ bl Next__9CRandom16Fv /* 801FCDE8 001F9D48 54 60 04 63 */ rlwinm. r0, r3, 0, 0x11, 0x11 /* 801FCDEC 001F9D4C 41 82 00 10 */ beq lbl_801FCDFC /* 801FCDF0 001F9D50 3B E0 00 00 */ li r31, 0 /* 801FCDF4 001F9D54 3B C0 00 00 */ li r30, 0 /* 801FCDF8 001F9D58 48 00 00 0C */ b lbl_801FCE04 lbl_801FCDFC: /* 801FCDFC 001F9D5C 3B A0 00 00 */ li r29, 0 /* 801FCE00 001F9D60 3B 80 00 00 */ li r28, 0 lbl_801FCE04: /* 801FCE04 001F9D64 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801FCE08 001F9D68 41 82 00 28 */ beq lbl_801FCE30 /* 801FCE0C 001F9D6C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801FCE10 001F9D70 41 82 00 20 */ beq lbl_801FCE30 /* 801FCE14 001F9D74 80 7A 09 00 */ lwz r3, 0x900(r26) /* 801FCE18 001F9D78 48 11 57 09 */ bl Next__9CRandom16Fv /* 801FCE1C 001F9D7C 54 60 04 63 */ rlwinm. r0, r3, 0, 0x11, 0x11 /* 801FCE20 001F9D80 41 82 00 0C */ beq lbl_801FCE2C /* 801FCE24 001F9D84 3B E0 00 00 */ li r31, 0 /* 801FCE28 001F9D88 48 00 00 08 */ b lbl_801FCE30 lbl_801FCE2C: /* 801FCE2C 001F9D8C 3B C0 00 00 */ li r30, 0 lbl_801FCE30: /* 801FCE30 001F9D90 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801FCE34 001F9D94 41 82 00 60 */ beq lbl_801FCE94 /* 801FCE38 001F9D98 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801FCE3C 001F9D9C 41 82 00 58 */ beq lbl_801FCE94 /* 801FCE40 001F9DA0 C0 59 00 60 */ lfs f2, 0x60(r25) /* 801FCE44 001F9DA4 7F 24 CB 78 */ mr r4, r25 /* 801FCE48 001F9DA8 C0 39 00 50 */ lfs f1, 0x50(r25) /* 801FCE4C 001F9DAC 7F 45 D3 78 */ mr r5, r26 /* 801FCE50 001F9DB0 C0 19 00 40 */ lfs f0, 0x40(r25) /* 801FCE54 001F9DB4 38 61 00 3C */ addi r3, r1, 0x3c /* 801FCE58 001F9DB8 D0 21 00 34 */ stfs f1, 0x34(r1) /* 801FCE5C 001F9DBC C3 D9 05 F4 */ lfs f30, 0x5f4(r25) /* 801FCE60 001F9DC0 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801FCE64 001F9DC4 D0 41 00 38 */ stfs f2, 0x38(r1) /* 801FCE68 001F9DC8 4B FF FA 2D */ bl GetTargetPos__13CFlyingPirateFR13CStateManager /* 801FCE6C 001F9DCC C0 01 00 38 */ lfs f0, 0x38(r1) /* 801FCE70 001F9DD0 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801FCE74 001F9DD4 EC 20 F0 2A */ fadds f1, f0, f30 /* 801FCE78 001F9DD8 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FCE7C 001F9DDC EC 22 08 28 */ fsubs f1, f2, f1 /* 801FCE80 001F9DE0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FCE84 001F9DE4 40 81 00 0C */ ble lbl_801FCE90 /* 801FCE88 001F9DE8 3B 80 00 00 */ li r28, 0 /* 801FCE8C 001F9DEC 48 00 00 08 */ b lbl_801FCE94 lbl_801FCE90: /* 801FCE90 001F9DF0 3B A0 00 00 */ li r29, 0 lbl_801FCE94: /* 801FCE94 001F9DF4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 801FCE98 001F9DF8 41 82 00 0C */ beq lbl_801FCEA4 /* 801FCE9C 001F9DFC 3B 60 00 04 */ li r27, 4 /* 801FCEA0 001F9E00 48 00 00 30 */ b lbl_801FCED0 lbl_801FCEA4: /* 801FCEA4 001F9E04 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 801FCEA8 001F9E08 41 82 00 0C */ beq lbl_801FCEB4 /* 801FCEAC 001F9E0C 3B 60 00 05 */ li r27, 5 /* 801FCEB0 001F9E10 48 00 00 20 */ b lbl_801FCED0 lbl_801FCEB4: /* 801FCEB4 001F9E14 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 801FCEB8 001F9E18 41 82 00 0C */ beq lbl_801FCEC4 /* 801FCEBC 001F9E1C 3B 60 00 02 */ li r27, 2 /* 801FCEC0 001F9E20 48 00 00 10 */ b lbl_801FCED0 lbl_801FCEC4: /* 801FCEC4 001F9E24 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801FCEC8 001F9E28 41 82 00 08 */ beq lbl_801FCED0 /* 801FCECC 001F9E2C 3B 60 00 03 */ li r27, 3 lbl_801FCED0: /* 801FCED0 001F9E30 7F 63 DB 78 */ mr r3, r27 /* 801FCED4 001F9E34 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 /* 801FCED8 001F9E38 CB E1 01 60 */ lfd f31, 0x160(r1) /* 801FCEDC 001F9E3C E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 /* 801FCEE0 001F9E40 CB C1 01 50 */ lfd f30, 0x150(r1) /* 801FCEE4 001F9E44 BA E1 01 2C */ lmw r23, 0x12c(r1) /* 801FCEE8 001F9E48 80 01 01 74 */ lwz r0, 0x174(r1) /* 801FCEEC 001F9E4C 7C 08 03 A6 */ mtlr r0 /* 801FCEF0 001F9E50 38 21 01 70 */ addi r1, r1, 0x170 /* 801FCEF4 001F9E54 4E 80 00 20 */ blr .global AvoidActors__13CFlyingPirateFR13CStateManager AvoidActors__13CFlyingPirateFR13CStateManager: /* 801FCEF8 001F9E58 94 21 F7 20 */ stwu r1, -0x8e0(r1) /* 801FCEFC 001F9E5C 7C 08 02 A6 */ mflr r0 /* 801FCF00 001F9E60 90 01 08 E4 */ stw r0, 0x8e4(r1) /* 801FCF04 001F9E64 DB E1 08 D0 */ stfd f31, 0x8d0(r1) /* 801FCF08 001F9E68 F3 E1 08 D8 */ psq_st f31, -1832(r1), 0, qr0 /* 801FCF0C 001F9E6C DB C1 08 C0 */ stfd f30, 0x8c0(r1) /* 801FCF10 001F9E70 F3 C1 08 C8 */ psq_st f30, -1848(r1), 0, qr0 /* 801FCF14 001F9E74 DB A1 08 B0 */ stfd f29, 0x8b0(r1) /* 801FCF18 001F9E78 F3 A1 08 B8 */ psq_st f29, -1864(r1), 0, qr0 /* 801FCF1C 001F9E7C BF 61 08 9C */ stmw r27, 0x89c(r1) /* 801FCF20 001F9E80 7C 9C 23 78 */ mr r28, r4 /* 801FCF24 001F9E84 3C 80 80 5A */ lis r4, skZero3f@ha /* 801FCF28 001F9E88 C0 9C 00 50 */ lfs f4, 0x50(r28) /* 801FCF2C 001F9E8C 7C 7B 1B 78 */ mr r27, r3 /* 801FCF30 001F9E90 C0 62 AF EC */ lfs f3, lbl_805ACD0C@sda21(r2) /* 801FCF34 001F9E94 7C BD 2B 78 */ mr r29, r5 /* 801FCF38 001F9E98 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 801FCF3C 001F9E9C 38 61 00 78 */ addi r3, r1, 0x78 /* 801FCF40 001F9EA0 C7 E4 66 A0 */ lfsu f31, skZero3f@l(r4) /* 801FCF44 001F9EA4 EC C4 18 2A */ fadds f6, f4, f3 /* 801FCF48 001F9EA8 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 801FCF4C 001F9EAC EC A2 18 2A */ fadds f5, f2, f3 /* 801FCF50 001F9EB0 EC 84 18 28 */ fsubs f4, f4, f3 /* 801FCF54 001F9EB4 C3 C4 00 04 */ lfs f30, 4(r4) /* 801FCF58 001F9EB8 EC 20 18 2A */ fadds f1, f0, f3 /* 801FCF5C 001F9EBC EC 42 18 28 */ fsubs f2, f2, f3 /* 801FCF60 001F9EC0 C3 A4 00 08 */ lfs f29, 8(r4) /* 801FCF64 001F9EC4 EC 00 18 28 */ fsubs f0, f0, f3 /* 801FCF68 001F9EC8 D0 21 00 44 */ stfs f1, 0x44(r1) /* 801FCF6C 001F9ECC 38 81 00 50 */ addi r4, r1, 0x50 /* 801FCF70 001F9ED0 38 A1 00 44 */ addi r5, r1, 0x44 /* 801FCF74 001F9ED4 D0 C1 00 48 */ stfs f6, 0x48(r1) /* 801FCF78 001F9ED8 D0 A1 00 4C */ stfs f5, 0x4c(r1) /* 801FCF7C 001F9EDC D0 01 00 50 */ stfs f0, 0x50(r1) /* 801FCF80 001F9EE0 D0 81 00 54 */ stfs f4, 0x54(r1) /* 801FCF84 001F9EE4 D0 41 00 58 */ stfs f2, 0x58(r1) /* 801FCF88 001F9EE8 48 13 B5 81 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801FCF8C 001F9EEC 38 00 00 00 */ li r0, 0 /* 801FCF90 001F9EF0 80 AD 92 F8 */ lwz r5, lbl_805A7EB8@sda21(r13) /* 801FCF94 001F9EF4 90 01 00 90 */ stw r0, 0x90(r1) /* 801FCF98 001F9EF8 38 60 00 00 */ li r3, 0 /* 801FCF9C 001F9EFC 38 80 00 01 */ li r4, 1 /* 801FCFA0 001F9F00 48 18 CF 55 */ bl __shl2i /* 801FCFA4 001F9F04 39 00 00 00 */ li r8, 0 /* 801FCFA8 001F9F08 38 00 00 01 */ li r0, 1 /* 801FCFAC 001F9F0C 90 81 00 64 */ stw r4, 0x64(r1) /* 801FCFB0 001F9F10 7F 87 E3 78 */ mr r7, r28 /* 801FCFB4 001F9F14 38 81 00 90 */ addi r4, r1, 0x90 /* 801FCFB8 001F9F18 38 A1 00 78 */ addi r5, r1, 0x78 /* 801FCFBC 001F9F1C 90 61 00 60 */ stw r3, 0x60(r1) /* 801FCFC0 001F9F20 7F A3 EB 78 */ mr r3, r29 /* 801FCFC4 001F9F24 38 C1 00 60 */ addi r6, r1, 0x60 /* 801FCFC8 001F9F28 91 01 00 6C */ stw r8, 0x6c(r1) /* 801FCFCC 001F9F2C 91 01 00 68 */ stw r8, 0x68(r1) /* 801FCFD0 001F9F30 90 01 00 70 */ stw r0, 0x70(r1) /* 801FCFD4 001F9F34 4B E4 F7 4D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801FCFD8 001F9F38 3B E1 00 94 */ addi r31, r1, 0x94 /* 801FCFDC 001F9F3C 3B C0 00 00 */ li r30, 0 /* 801FCFE0 001F9F40 48 00 00 80 */ b lbl_801FD060 lbl_801FCFE4: /* 801FCFE4 001F9F44 A0 1F 00 00 */ lhz r0, 0(r31) /* 801FCFE8 001F9F48 7F A3 EB 78 */ mr r3, r29 /* 801FCFEC 001F9F4C 38 81 00 08 */ addi r4, r1, 8 /* 801FCFF0 001F9F50 B0 01 00 08 */ sth r0, 8(r1) /* 801FCFF4 001F9F54 4B E4 F5 B1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801FCFF8 001F9F58 7C 64 1B 78 */ mr r4, r3 /* 801FCFFC 001F9F5C 38 61 00 0C */ addi r3, r1, 0xc /* 801FD000 001F9F60 4B EB 2C 91 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 801FD004 001F9F64 80 83 00 04 */ lwz r4, 4(r3) /* 801FD008 001F9F68 28 04 00 00 */ cmplwi r4, 0 /* 801FD00C 001F9F6C 41 82 00 4C */ beq lbl_801FD058 /* 801FD010 001F9F70 C0 64 00 60 */ lfs f3, 0x60(r4) /* 801FD014 001F9F74 7F 85 E3 78 */ mr r5, r28 /* 801FD018 001F9F78 C0 44 00 50 */ lfs f2, 0x50(r4) /* 801FD01C 001F9F7C 38 61 00 38 */ addi r3, r1, 0x38 /* 801FD020 001F9F80 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801FD024 001F9F84 38 9C 04 5C */ addi r4, r28, 0x45c /* 801FD028 001F9F88 C0 22 AF D0 */ lfs f1, lbl_805ACCF0@sda21(r2) /* 801FD02C 001F9F8C 38 C1 00 2C */ addi r6, r1, 0x2c /* 801FD030 001F9F90 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801FD034 001F9F94 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801FD038 001F9F98 D0 61 00 34 */ stfs f3, 0x34(r1) /* 801FD03C 001F9F9C 4B F4 18 B5 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801FD040 001F9FA0 C0 41 00 38 */ lfs f2, 0x38(r1) /* 801FD044 001F9FA4 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 801FD048 001F9FA8 C0 01 00 40 */ lfs f0, 0x40(r1) /* 801FD04C 001F9FAC EF FF 10 2A */ fadds f31, f31, f2 /* 801FD050 001F9FB0 EF DE 08 2A */ fadds f30, f30, f1 /* 801FD054 001F9FB4 EF BD 00 2A */ fadds f29, f29, f0 lbl_801FD058: /* 801FD058 001F9FB8 3B FF 00 02 */ addi r31, r31, 2 /* 801FD05C 001F9FBC 3B DE 00 01 */ addi r30, r30, 1 lbl_801FD060: /* 801FD060 001F9FC0 80 01 00 90 */ lwz r0, 0x90(r1) /* 801FD064 001F9FC4 7C 1E 00 00 */ cmpw r30, r0 /* 801FD068 001F9FC8 41 80 FF 7C */ blt lbl_801FCFE4 /* 801FD06C 001F9FCC 80 FD 08 4C */ lwz r7, 0x84c(r29) /* 801FD070 001F9FD0 7F 85 E3 78 */ mr r5, r28 /* 801FD074 001F9FD4 C0 9C 00 50 */ lfs f4, 0x50(r28) /* 801FD078 001F9FD8 38 61 00 20 */ addi r3, r1, 0x20 /* 801FD07C 001F9FDC C0 27 00 50 */ lfs f1, 0x50(r7) /* 801FD080 001F9FE0 38 9C 04 5C */ addi r4, r28, 0x45c /* 801FD084 001F9FE4 C0 BC 00 40 */ lfs f5, 0x40(r28) /* 801FD088 001F9FE8 38 C1 00 14 */ addi r6, r1, 0x14 /* 801FD08C 001F9FEC C0 07 00 40 */ lfs f0, 0x40(r7) /* 801FD090 001F9FF0 EC 21 20 28 */ fsubs f1, f1, f4 /* 801FD094 001F9FF4 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 801FD098 001F9FF8 EC 00 28 28 */ fsubs f0, f0, f5 /* 801FD09C 001F9FFC C0 42 AF 60 */ lfs f2, lbl_805ACC80@sda21(r2) /* 801FD0A0 001FA000 EC 84 08 2A */ fadds f4, f4, f1 /* 801FD0A4 001FA004 C0 22 AF F0 */ lfs f1, lbl_805ACD10@sda21(r2) /* 801FD0A8 001FA008 EC 43 10 2A */ fadds f2, f3, f2 /* 801FD0AC 001FA00C EC 05 00 2A */ fadds f0, f5, f0 /* 801FD0B0 001FA010 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801FD0B4 001FA014 D0 01 00 14 */ stfs f0, 0x14(r1) /* 801FD0B8 001FA018 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 801FD0BC 001FA01C 4B F4 18 35 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 801FD0C0 001FA020 C0 01 00 20 */ lfs f0, 0x20(r1) /* 801FD0C4 001FA024 38 60 00 00 */ li r3, 0 /* 801FD0C8 001FA028 C0 21 00 24 */ lfs f1, 0x24(r1) /* 801FD0CC 001FA02C EF FF 00 2A */ fadds f31, f31, f0 /* 801FD0D0 001FA030 C0 01 00 28 */ lfs f0, 0x28(r1) /* 801FD0D4 001FA034 EF DE 08 2A */ fadds f30, f30, f1 /* 801FD0D8 001FA038 EF BD 00 2A */ fadds f29, f29, f0 /* 801FD0DC 001FA03C D3 FB 00 00 */ stfs f31, 0(r27) /* 801FD0E0 001FA040 D3 DB 00 04 */ stfs f30, 4(r27) /* 801FD0E4 001FA044 D3 BB 00 08 */ stfs f29, 8(r27) /* 801FD0E8 001FA048 80 A1 00 90 */ lwz r5, 0x90(r1) /* 801FD0EC 001FA04C 2C 05 00 00 */ cmpwi r5, 0 /* 801FD0F0 001FA050 40 81 00 40 */ ble lbl_801FD130 /* 801FD0F4 001FA054 2C 05 00 08 */ cmpwi r5, 8 /* 801FD0F8 001FA058 38 85 FF F8 */ addi r4, r5, -8 /* 801FD0FC 001FA05C 40 81 00 20 */ ble lbl_801FD11C /* 801FD100 001FA060 38 04 00 07 */ addi r0, r4, 7 /* 801FD104 001FA064 54 00 E8 FE */ srwi r0, r0, 3 /* 801FD108 001FA068 7C 09 03 A6 */ mtctr r0 /* 801FD10C 001FA06C 2C 04 00 00 */ cmpwi r4, 0 /* 801FD110 001FA070 40 81 00 0C */ ble lbl_801FD11C lbl_801FD114: /* 801FD114 001FA074 38 63 00 08 */ addi r3, r3, 8 /* 801FD118 001FA078 42 00 FF FC */ bdnz lbl_801FD114 lbl_801FD11C: /* 801FD11C 001FA07C 7C 03 28 50 */ subf r0, r3, r5 /* 801FD120 001FA080 7C 09 03 A6 */ mtctr r0 /* 801FD124 001FA084 7C 03 28 00 */ cmpw r3, r5 /* 801FD128 001FA088 40 80 00 08 */ bge lbl_801FD130 lbl_801FD12C: /* 801FD12C 001FA08C 42 00 00 00 */ bdnz lbl_801FD12C lbl_801FD130: /* 801FD130 001FA090 38 00 00 00 */ li r0, 0 /* 801FD134 001FA094 90 01 00 90 */ stw r0, 0x90(r1) /* 801FD138 001FA098 E3 E1 08 D8 */ psq_l f31, -1832(r1), 0, qr0 /* 801FD13C 001FA09C CB E1 08 D0 */ lfd f31, 0x8d0(r1) /* 801FD140 001FA0A0 E3 C1 08 C8 */ psq_l f30, -1848(r1), 0, qr0 /* 801FD144 001FA0A4 CB C1 08 C0 */ lfd f30, 0x8c0(r1) /* 801FD148 001FA0A8 E3 A1 08 B8 */ psq_l f29, -1864(r1), 0, qr0 /* 801FD14C 001FA0AC CB A1 08 B0 */ lfd f29, 0x8b0(r1) /* 801FD150 001FA0B0 BB 61 08 9C */ lmw r27, 0x89c(r1) /* 801FD154 001FA0B4 80 01 08 E4 */ lwz r0, 0x8e4(r1) /* 801FD158 001FA0B8 7C 08 03 A6 */ mtlr r0 /* 801FD15C 001FA0BC 38 21 08 E0 */ addi r1, r1, 0x8e0 /* 801FD160 001FA0C0 4E 80 00 20 */ blr .global UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager UpdateCantSeePlayer__13CFlyingPirateFR13CStateManager: /* 801FD164 001FA0C4 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 801FD168 001FA0C8 7C 08 02 A6 */ mflr r0 /* 801FD16C 001FA0CC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 801FD170 001FA0D0 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 801FD174 001FA0D4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 801FD178 001FA0D8 DB C1 00 90 */ stfd f30, 0x90(r1) /* 801FD17C 001FA0DC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 801FD180 001FA0E0 DB A1 00 80 */ stfd f29, 0x80(r1) /* 801FD184 001FA0E4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 801FD188 001FA0E8 93 E1 00 7C */ stw r31, 0x7c(r1) /* 801FD18C 001FA0EC 93 C1 00 78 */ stw r30, 0x78(r1) /* 801FD190 001FA0F0 93 A1 00 74 */ stw r29, 0x74(r1) /* 801FD194 001FA0F4 7C 7D 1B 78 */ mr r29, r3 /* 801FD198 001FA0F8 3C 60 92 49 */ lis r3, 0x92492493@ha /* 801FD19C 001FA0FC 80 BD 07 DC */ lwz r5, 0x7dc(r29) /* 801FD1A0 001FA100 38 03 24 93 */ addi r0, r3, 0x92492493@l /* 801FD1A4 001FA104 7C 9E 23 78 */ mr r30, r4 /* 801FD1A8 001FA108 7C 00 28 96 */ mulhw r0, r0, r5 /* 801FD1AC 001FA10C 7C 00 2A 14 */ add r0, r0, r5 /* 801FD1B0 001FA110 7C 00 16 70 */ srawi r0, r0, 2 /* 801FD1B4 001FA114 54 03 0F FE */ srwi r3, r0, 0x1f /* 801FD1B8 001FA118 7C 00 1A 14 */ add r0, r0, r3 /* 801FD1BC 001FA11C 1C 00 00 07 */ mulli r0, r0, 7 /* 801FD1C0 001FA120 7C 00 28 51 */ subf. r0, r0, r5 /* 801FD1C4 001FA124 40 82 01 C0 */ bne lbl_801FD384 /* 801FD1C8 001FA128 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 801FD1CC 001FA12C 7F C5 F3 78 */ mr r5, r30 /* 801FD1D0 001FA130 38 61 00 54 */ addi r3, r1, 0x54 /* 801FD1D4 001FA134 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FD1D8 001FA138 81 84 00 00 */ lwz r12, 0(r4) /* 801FD1DC 001FA13C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801FD1E0 001FA140 7D 89 03 A6 */ mtctr r12 /* 801FD1E4 001FA144 4E 80 04 21 */ bctrl /* 801FD1E8 001FA148 C0 41 00 54 */ lfs f2, 0x54(r1) /* 801FD1EC 001FA14C 7F A4 EB 78 */ mr r4, r29 /* 801FD1F0 001FA150 C0 21 00 58 */ lfs f1, 0x58(r1) /* 801FD1F4 001FA154 38 61 00 48 */ addi r3, r1, 0x48 /* 801FD1F8 001FA158 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801FD1FC 001FA15C D0 41 00 60 */ stfs f2, 0x60(r1) /* 801FD200 001FA160 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801FD204 001FA164 D0 01 00 68 */ stfs f0, 0x68(r1) /* 801FD208 001FA168 4B E7 F8 C9 */ bl GetGunEyePos__10CPatternedCFv /* 801FD20C 001FA16C 38 00 00 00 */ li r0, 0 /* 801FD210 001FA170 80 AD 92 E8 */ lwz r5, lbl_805A7EA8@sda21(r13) /* 801FD214 001FA174 90 01 00 14 */ stw r0, 0x14(r1) /* 801FD218 001FA178 3B E0 00 01 */ li r31, 1 /* 801FD21C 001FA17C C3 A1 00 48 */ lfs f29, 0x48(r1) /* 801FD220 001FA180 38 60 00 00 */ li r3, 0 /* 801FD224 001FA184 90 01 00 10 */ stw r0, 0x10(r1) /* 801FD228 001FA188 38 80 00 01 */ li r4, 1 /* 801FD22C 001FA18C C3 E1 00 4C */ lfs f31, 0x4c(r1) /* 801FD230 001FA190 C3 C1 00 50 */ lfs f30, 0x50(r1) /* 801FD234 001FA194 48 18 CC C1 */ bl __shl2i /* 801FD238 001FA198 80 01 00 10 */ lwz r0, 0x10(r1) /* 801FD23C 001FA19C 80 C1 00 14 */ lwz r6, 0x14(r1) /* 801FD240 001FA1A0 7C 00 1B 78 */ or r0, r0, r3 /* 801FD244 001FA1A4 80 AD 92 EC */ lwz r5, lbl_805A7EAC@sda21(r13) /* 801FD248 001FA1A8 7C C4 23 78 */ or r4, r6, r4 /* 801FD24C 001FA1AC 90 01 00 10 */ stw r0, 0x10(r1) /* 801FD250 001FA1B0 38 60 00 00 */ li r3, 0 /* 801FD254 001FA1B4 90 81 00 14 */ stw r4, 0x14(r1) /* 801FD258 001FA1B8 38 80 00 01 */ li r4, 1 /* 801FD25C 001FA1BC 48 18 CC 99 */ bl __shl2i /* 801FD260 001FA1C0 80 01 00 10 */ lwz r0, 0x10(r1) /* 801FD264 001FA1C4 38 A1 00 3C */ addi r5, r1, 0x3c /* 801FD268 001FA1C8 80 E1 00 14 */ lwz r7, 0x14(r1) /* 801FD26C 001FA1CC 38 C1 00 60 */ addi r6, r1, 0x60 /* 801FD270 001FA1D0 7C 00 1B 78 */ or r0, r0, r3 /* 801FD274 001FA1D4 7F A3 EB 78 */ mr r3, r29 /* 801FD278 001FA1D8 7C E8 23 78 */ or r8, r7, r4 /* 801FD27C 001FA1DC 90 01 00 10 */ stw r0, 0x10(r1) /* 801FD280 001FA1E0 7F C4 F3 78 */ mr r4, r30 /* 801FD284 001FA1E4 38 E1 00 10 */ addi r7, r1, 0x10 /* 801FD288 001FA1E8 91 01 00 14 */ stw r8, 0x14(r1) /* 801FD28C 001FA1EC C0 9D 00 54 */ lfs f4, 0x54(r29) /* 801FD290 001FA1F0 C0 1D 00 44 */ lfs f0, 0x44(r29) /* 801FD294 001FA1F4 C0 3D 00 34 */ lfs f1, 0x34(r29) /* 801FD298 001FA1F8 EC 5E 20 28 */ fsubs f2, f30, f4 /* 801FD29C 001FA1FC EC 7F 00 28 */ fsubs f3, f31, f0 /* 801FD2A0 001FA200 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801FD2A4 001FA204 EC 1D 08 28 */ fsubs f0, f29, f1 /* 801FD2A8 001FA208 D0 21 00 30 */ stfs f1, 0x30(r1) /* 801FD2AC 001FA20C D0 81 00 38 */ stfs f4, 0x38(r1) /* 801FD2B0 001FA210 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801FD2B4 001FA214 D0 61 00 40 */ stfs f3, 0x40(r1) /* 801FD2B8 001FA218 D0 41 00 44 */ stfs f2, 0x44(r1) /* 801FD2BC 001FA21C 48 00 01 09 */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FD2C0 001FA220 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FD2C4 001FA224 41 82 00 B4 */ beq lbl_801FD378 /* 801FD2C8 001FA228 38 00 00 00 */ li r0, 0 /* 801FD2CC 001FA22C 80 AD 92 F0 */ lwz r5, lbl_805A7EB0@sda21(r13) /* 801FD2D0 001FA230 90 01 00 0C */ stw r0, 0xc(r1) /* 801FD2D4 001FA234 38 60 00 00 */ li r3, 0 /* 801FD2D8 001FA238 38 80 00 01 */ li r4, 1 /* 801FD2DC 001FA23C 90 01 00 08 */ stw r0, 8(r1) /* 801FD2E0 001FA240 48 18 CC 15 */ bl __shl2i /* 801FD2E4 001FA244 80 01 00 08 */ lwz r0, 8(r1) /* 801FD2E8 001FA248 80 C1 00 0C */ lwz r6, 0xc(r1) /* 801FD2EC 001FA24C 7C 00 1B 78 */ or r0, r0, r3 /* 801FD2F0 001FA250 80 AD 92 F4 */ lwz r5, lbl_805A7EB4@sda21(r13) /* 801FD2F4 001FA254 7C C4 23 78 */ or r4, r6, r4 /* 801FD2F8 001FA258 90 01 00 08 */ stw r0, 8(r1) /* 801FD2FC 001FA25C 38 60 00 00 */ li r3, 0 /* 801FD300 001FA260 90 81 00 0C */ stw r4, 0xc(r1) /* 801FD304 001FA264 38 80 00 01 */ li r4, 1 /* 801FD308 001FA268 48 18 CB ED */ bl __shl2i /* 801FD30C 001FA26C 80 01 00 08 */ lwz r0, 8(r1) /* 801FD310 001FA270 38 A1 00 18 */ addi r5, r1, 0x18 /* 801FD314 001FA274 80 E1 00 0C */ lwz r7, 0xc(r1) /* 801FD318 001FA278 38 C1 00 60 */ addi r6, r1, 0x60 /* 801FD31C 001FA27C 7C 00 1B 78 */ or r0, r0, r3 /* 801FD320 001FA280 7F A3 EB 78 */ mr r3, r29 /* 801FD324 001FA284 7C E8 23 78 */ or r8, r7, r4 /* 801FD328 001FA288 90 01 00 08 */ stw r0, 8(r1) /* 801FD32C 001FA28C 7F C4 F3 78 */ mr r4, r30 /* 801FD330 001FA290 38 E1 00 08 */ addi r7, r1, 8 /* 801FD334 001FA294 91 01 00 0C */ stw r8, 0xc(r1) /* 801FD338 001FA298 C0 9D 00 54 */ lfs f4, 0x54(r29) /* 801FD33C 001FA29C C0 1D 00 44 */ lfs f0, 0x44(r29) /* 801FD340 001FA2A0 C0 3D 00 34 */ lfs f1, 0x34(r29) /* 801FD344 001FA2A4 EC 5E 20 2A */ fadds f2, f30, f4 /* 801FD348 001FA2A8 EC 7F 00 2A */ fadds f3, f31, f0 /* 801FD34C 001FA2AC D0 01 00 28 */ stfs f0, 0x28(r1) /* 801FD350 001FA2B0 EC 1D 08 2A */ fadds f0, f29, f1 /* 801FD354 001FA2B4 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801FD358 001FA2B8 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801FD35C 001FA2BC D0 01 00 18 */ stfs f0, 0x18(r1) /* 801FD360 001FA2C0 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 801FD364 001FA2C4 D0 41 00 20 */ stfs f2, 0x20(r1) /* 801FD368 001FA2C8 48 00 00 5D */ bl LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f /* 801FD36C 001FA2CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FD370 001FA2D0 41 82 00 08 */ beq lbl_801FD378 /* 801FD374 001FA2D4 3B E0 00 00 */ li r31, 0 lbl_801FD378: /* 801FD378 001FA2D8 88 1D 06 A0 */ lbz r0, 0x6a0(r29) /* 801FD37C 001FA2DC 53 E0 07 FE */ rlwimi r0, r31, 0, 0x1f, 0x1f /* 801FD380 001FA2E0 98 1D 06 A0 */ stb r0, 0x6a0(r29) lbl_801FD384: /* 801FD384 001FA2E4 80 7D 07 DC */ lwz r3, 0x7dc(r29) /* 801FD388 001FA2E8 38 03 00 01 */ addi r0, r3, 1 /* 801FD38C 001FA2EC 90 1D 07 DC */ stw r0, 0x7dc(r29) /* 801FD390 001FA2F0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 801FD394 001FA2F4 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 801FD398 001FA2F8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 801FD39C 001FA2FC CB C1 00 90 */ lfd f30, 0x90(r1) /* 801FD3A0 001FA300 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 801FD3A4 001FA304 CB A1 00 80 */ lfd f29, 0x80(r1) /* 801FD3A8 001FA308 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 801FD3AC 001FA30C 83 C1 00 78 */ lwz r30, 0x78(r1) /* 801FD3B0 001FA310 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 801FD3B4 001FA314 83 A1 00 74 */ lwz r29, 0x74(r1) /* 801FD3B8 001FA318 7C 08 03 A6 */ mtlr r0 /* 801FD3BC 001FA31C 38 21 00 B0 */ addi r1, r1, 0xb0 /* 801FD3C0 001FA320 4E 80 00 20 */ blr .global LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f LineOfSightTest__13CFlyingPirateFR13CStateManagerRC9CVector3fRC9CVector3f: /* 801FD3C4 001FA324 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801FD3C8 001FA328 7C 08 02 A6 */ mflr r0 /* 801FD3CC 001FA32C 90 01 00 54 */ stw r0, 0x54(r1) /* 801FD3D0 001FA330 BF 61 00 3C */ stmw r27, 0x3c(r1) /* 801FD3D4 001FA334 7C 7B 1B 78 */ mr r27, r3 /* 801FD3D8 001FA338 7C 9C 23 78 */ mr r28, r4 /* 801FD3DC 001FA33C 7C BD 2B 78 */ mr r29, r5 /* 801FD3E0 001FA340 7C DE 33 78 */ mr r30, r6 /* 801FD3E4 001FA344 7C FF 3B 78 */ mr r31, r7 /* 801FD3E8 001FA348 38 60 00 00 */ li r3, 0 /* 801FD3EC 001FA34C 38 80 00 01 */ li r4, 1 /* 801FD3F0 001FA350 80 0D 92 E4 */ lwz r0, lbl_805A7EA4@sda21(r13) /* 801FD3F4 001FA354 7C 05 03 78 */ mr r5, r0 /* 801FD3F8 001FA358 48 18 CA FD */ bl __shl2i /* 801FD3FC 001FA35C 81 1F 00 00 */ lwz r8, 0(r31) /* 801FD400 001FA360 38 00 00 03 */ li r0, 3 /* 801FD404 001FA364 81 3F 00 04 */ lwz r9, 4(r31) /* 801FD408 001FA368 7F C5 F3 78 */ mr r5, r30 /* 801FD40C 001FA36C 90 81 00 24 */ stw r4, 0x24(r1) /* 801FD410 001FA370 7F A4 EB 78 */ mr r4, r29 /* 801FD414 001FA374 7F 67 DB 78 */ mr r7, r27 /* 801FD418 001FA378 38 C1 00 20 */ addi r6, r1, 0x20 /* 801FD41C 001FA37C 90 61 00 20 */ stw r3, 0x20(r1) /* 801FD420 001FA380 7F 83 E3 78 */ mr r3, r28 /* 801FD424 001FA384 90 01 00 18 */ stw r0, 0x18(r1) /* 801FD428 001FA388 91 21 00 2C */ stw r9, 0x2c(r1) /* 801FD42C 001FA38C 91 01 00 28 */ stw r8, 0x28(r1) /* 801FD430 001FA390 90 01 00 30 */ stw r0, 0x30(r1) /* 801FD434 001FA394 4B E4 FA 09 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor /* 801FD438 001FA398 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 801FD43C 001FA39C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801FD440 001FA3A0 7C 08 03 A6 */ mtlr r0 /* 801FD444 001FA3A4 38 21 00 50 */ addi r1, r1, 0x50 /* 801FD448 001FA3A8 4E 80 00 20 */ blr .global CheckForProjectiles__13CFlyingPirateFR13CStateManager CheckForProjectiles__13CFlyingPirateFR13CStateManager: /* 801FD44C 001FA3AC 94 21 F7 00 */ stwu r1, -0x900(r1) /* 801FD450 001FA3B0 7C 08 02 A6 */ mflr r0 /* 801FD454 001FA3B4 90 01 09 04 */ stw r0, 0x904(r1) /* 801FD458 001FA3B8 DB E1 08 F0 */ stfd f31, 0x8f0(r1) /* 801FD45C 001FA3BC F3 E1 08 F8 */ psq_st f31, -1800(r1), 0, qr0 /* 801FD460 001FA3C0 DB C1 08 E0 */ stfd f30, 0x8e0(r1) /* 801FD464 001FA3C4 F3 C1 08 E8 */ psq_st f30, -1816(r1), 0, qr0 /* 801FD468 001FA3C8 DB A1 08 D0 */ stfd f29, 0x8d0(r1) /* 801FD46C 001FA3CC F3 A1 08 D8 */ psq_st f29, -1832(r1), 0, qr0 /* 801FD470 001FA3D0 BF 61 08 BC */ stmw r27, 0x8bc(r1) /* 801FD474 001FA3D4 88 03 06 A0 */ lbz r0, 0x6a0(r3) /* 801FD478 001FA3D8 7C 7E 1B 78 */ mr r30, r3 /* 801FD47C 001FA3DC 7C 9F 23 78 */ mr r31, r4 /* 801FD480 001FA3E0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 801FD484 001FA3E4 41 82 02 A0 */ beq lbl_801FD724 /* 801FD488 001FA3E8 80 DF 08 4C */ lwz r6, 0x84c(r31) /* 801FD48C 001FA3EC 38 61 00 90 */ addi r3, r1, 0x90 /* 801FD490 001FA3F0 C0 A2 AF E4 */ lfs f5, lbl_805ACD04@sda21(r2) /* 801FD494 001FA3F4 38 81 00 38 */ addi r4, r1, 0x38 /* 801FD498 001FA3F8 C0 E6 00 60 */ lfs f7, 0x60(r6) /* 801FD49C 001FA3FC 38 A1 00 2C */ addi r5, r1, 0x2c /* 801FD4A0 001FA400 C0 C6 00 50 */ lfs f6, 0x50(r6) /* 801FD4A4 001FA404 C0 26 00 40 */ lfs f1, 0x40(r6) /* 801FD4A8 001FA408 EC 07 28 2A */ fadds f0, f7, f5 /* 801FD4AC 001FA40C EC 66 28 2A */ fadds f3, f6, f5 /* 801FD4B0 001FA410 EC 81 28 2A */ fadds f4, f1, f5 /* 801FD4B4 001FA414 EC 41 28 28 */ fsubs f2, f1, f5 /* 801FD4B8 001FA418 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801FD4BC 001FA41C EC 26 28 28 */ fsubs f1, f6, f5 /* 801FD4C0 001FA420 EC 07 28 28 */ fsubs f0, f7, f5 /* 801FD4C4 001FA424 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 801FD4C8 001FA428 D0 61 00 30 */ stfs f3, 0x30(r1) /* 801FD4CC 001FA42C D0 41 00 38 */ stfs f2, 0x38(r1) /* 801FD4D0 001FA430 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 801FD4D4 001FA434 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801FD4D8 001FA438 48 13 B0 31 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 801FD4DC 001FA43C 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801FD4E0 001FA440 38 C0 00 00 */ li r6, 0 /* 801FD4E4 001FA444 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e /* 801FD4E8 001FA448 38 60 00 00 */ li r3, 0 /* 801FD4EC 001FA44C 98 1E 06 A0 */ stb r0, 0x6a0(r30) /* 801FD4F0 001FA450 38 80 00 01 */ li r4, 1 /* 801FD4F4 001FA454 80 AD 92 E0 */ lwz r5, lbl_805A7EA0@sda21(r13) /* 801FD4F8 001FA458 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 801FD4FC 001FA45C 48 18 C9 F9 */ bl __shl2i /* 801FD500 001FA460 39 00 00 00 */ li r8, 0 /* 801FD504 001FA464 38 00 00 01 */ li r0, 1 /* 801FD508 001FA468 90 81 00 7C */ stw r4, 0x7c(r1) /* 801FD50C 001FA46C 38 81 00 A8 */ addi r4, r1, 0xa8 /* 801FD510 001FA470 38 A1 00 90 */ addi r5, r1, 0x90 /* 801FD514 001FA474 38 C1 00 78 */ addi r6, r1, 0x78 /* 801FD518 001FA478 90 61 00 78 */ stw r3, 0x78(r1) /* 801FD51C 001FA47C 7F E3 FB 78 */ mr r3, r31 /* 801FD520 001FA480 38 E0 00 00 */ li r7, 0 /* 801FD524 001FA484 91 01 00 84 */ stw r8, 0x84(r1) /* 801FD528 001FA488 91 01 00 80 */ stw r8, 0x80(r1) /* 801FD52C 001FA48C 90 01 00 88 */ stw r0, 0x88(r1) /* 801FD530 001FA490 4B E4 F1 F1 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 801FD534 001FA494 3B A1 00 AC */ addi r29, r1, 0xac /* 801FD538 001FA498 3B 80 00 00 */ li r28, 0 /* 801FD53C 001FA49C 48 00 01 7C */ b lbl_801FD6B8 lbl_801FD540: /* 801FD540 001FA4A0 A0 1D 00 00 */ lhz r0, 0(r29) /* 801FD544 001FA4A4 7F E3 FB 78 */ mr r3, r31 /* 801FD548 001FA4A8 38 81 00 08 */ addi r4, r1, 8 /* 801FD54C 001FA4AC B0 01 00 08 */ sth r0, 8(r1) /* 801FD550 001FA4B0 4B E4 F0 55 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 801FD554 001FA4B4 7C 64 1B 78 */ mr r4, r3 /* 801FD558 001FA4B8 38 61 00 0C */ addi r3, r1, 0xc /* 801FD55C 001FA4BC 4B EB 01 B1 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 801FD560 001FA4C0 83 63 00 04 */ lwz r27, 4(r3) /* 801FD564 001FA4C4 28 1B 00 00 */ cmplwi r27, 0 /* 801FD568 001FA4C8 41 82 01 48 */ beq lbl_801FD6B0 /* 801FD56C 001FA4CC C3 BB 00 60 */ lfs f29, 0x60(r27) /* 801FD570 001FA4D0 7F C4 F3 78 */ mr r4, r30 /* 801FD574 001FA4D4 C3 DB 00 50 */ lfs f30, 0x50(r27) /* 801FD578 001FA4D8 38 61 00 5C */ addi r3, r1, 0x5c /* 801FD57C 001FA4DC C3 FB 00 40 */ lfs f31, 0x40(r27) /* 801FD580 001FA4E0 4B F1 D3 AD */ bl GetBoundingBox__13CPhysicsActorCFv /* 801FD584 001FA4E4 38 61 00 20 */ addi r3, r1, 0x20 /* 801FD588 001FA4E8 38 81 00 5C */ addi r4, r1, 0x5c /* 801FD58C 001FA4EC 48 13 A0 81 */ bl GetCenterPoint__6CAABoxCFv /* 801FD590 001FA4F0 C0 41 00 24 */ lfs f2, 0x24(r1) /* 801FD594 001FA4F4 38 61 00 50 */ addi r3, r1, 0x50 /* 801FD598 001FA4F8 C0 21 00 28 */ lfs f1, 0x28(r1) /* 801FD59C 001FA4FC C0 01 00 20 */ lfs f0, 0x20(r1) /* 801FD5A0 001FA500 EC 42 F0 28 */ fsubs f2, f2, f30 /* 801FD5A4 001FA504 EC 21 E8 28 */ fsubs f1, f1, f29 /* 801FD5A8 001FA508 EC 00 F8 28 */ fsubs f0, f0, f31 /* 801FD5AC 001FA50C D0 41 00 54 */ stfs f2, 0x54(r1) /* 801FD5B0 001FA510 D0 01 00 50 */ stfs f0, 0x50(r1) /* 801FD5B4 001FA514 D0 21 00 58 */ stfs f1, 0x58(r1) /* 801FD5B8 001FA518 48 11 71 D5 */ bl IsMagnitudeSafe__9CVector3fCFv /* 801FD5BC 001FA51C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FD5C0 001FA520 41 82 00 D4 */ beq lbl_801FD694 /* 801FD5C4 001FA524 C0 9E 00 48 */ lfs f4, 0x48(r30) /* 801FD5C8 001FA528 C0 01 00 54 */ lfs f0, 0x54(r1) /* 801FD5CC 001FA52C C0 7E 00 38 */ lfs f3, 0x38(r30) /* 801FD5D0 001FA530 EC 04 00 32 */ fmuls f0, f4, f0 /* 801FD5D4 001FA534 C0 21 00 50 */ lfs f1, 0x50(r1) /* 801FD5D8 001FA538 C0 BE 00 58 */ lfs f5, 0x58(r30) /* 801FD5DC 001FA53C C0 41 00 58 */ lfs f2, 0x58(r1) /* 801FD5E0 001FA540 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801FD5E4 001FA544 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FD5E8 001FA548 D0 61 00 14 */ stfs f3, 0x14(r1) /* 801FD5EC 001FA54C EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 801FD5F0 001FA550 D0 81 00 18 */ stfs f4, 0x18(r1) /* 801FD5F4 001FA554 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 801FD5F8 001FA558 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FD5FC 001FA55C 40 80 00 A8 */ bge lbl_801FD6A4 /* 801FD600 001FA560 38 61 00 50 */ addi r3, r1, 0x50 /* 801FD604 001FA564 48 11 72 F5 */ bl Normalize__9CVector3fFv /* 801FD608 001FA568 C0 3B 00 50 */ lfs f1, 0x50(r27) /* 801FD60C 001FA56C 38 61 00 44 */ addi r3, r1, 0x44 /* 801FD610 001FA570 C0 1B 02 9C */ lfs f0, 0x29c(r27) /* 801FD614 001FA574 C0 7B 00 60 */ lfs f3, 0x60(r27) /* 801FD618 001FA578 C0 5B 02 A0 */ lfs f2, 0x2a0(r27) /* 801FD61C 001FA57C EC 81 00 28 */ fsubs f4, f1, f0 /* 801FD620 001FA580 C0 3B 00 40 */ lfs f1, 0x40(r27) /* 801FD624 001FA584 C0 1B 02 98 */ lfs f0, 0x298(r27) /* 801FD628 001FA588 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FD62C 001FA58C EC 01 00 28 */ fsubs f0, f1, f0 /* 801FD630 001FA590 D0 81 00 48 */ stfs f4, 0x48(r1) /* 801FD634 001FA594 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801FD638 001FA598 D0 01 00 44 */ stfs f0, 0x44(r1) /* 801FD63C 001FA59C 48 11 71 51 */ bl IsMagnitudeSafe__9CVector3fCFv /* 801FD640 001FA5A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FD644 001FA5A4 41 82 00 60 */ beq lbl_801FD6A4 /* 801FD648 001FA5A8 38 61 00 44 */ addi r3, r1, 0x44 /* 801FD64C 001FA5AC 48 11 72 AD */ bl Normalize__9CVector3fFv /* 801FD650 001FA5B0 C0 21 00 48 */ lfs f1, 0x48(r1) /* 801FD654 001FA5B4 C0 01 00 54 */ lfs f0, 0x54(r1) /* 801FD658 001FA5B8 C0 41 00 44 */ lfs f2, 0x44(r1) /* 801FD65C 001FA5BC EC 01 00 32 */ fmuls f0, f1, f0 /* 801FD660 001FA5C0 C0 21 00 50 */ lfs f1, 0x50(r1) /* 801FD664 001FA5C4 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 801FD668 001FA5C8 C0 61 00 58 */ lfs f3, 0x58(r1) /* 801FD66C 001FA5CC EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 801FD670 001FA5D0 C0 02 AF F4 */ lfs f0, lbl_805ACD14@sda21(r2) /* 801FD674 001FA5D4 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 801FD678 001FA5D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FD67C 001FA5DC 40 81 00 28 */ ble lbl_801FD6A4 /* 801FD680 001FA5E0 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801FD684 001FA5E4 38 60 00 01 */ li r3, 1 /* 801FD688 001FA5E8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801FD68C 001FA5EC 98 1E 06 A0 */ stb r0, 0x6a0(r30) /* 801FD690 001FA5F0 48 00 00 14 */ b lbl_801FD6A4 lbl_801FD694: /* 801FD694 001FA5F4 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801FD698 001FA5F8 38 60 00 01 */ li r3, 1 /* 801FD69C 001FA5FC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801FD6A0 001FA600 98 1E 06 A0 */ stb r0, 0x6a0(r30) lbl_801FD6A4: /* 801FD6A4 001FA604 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801FD6A8 001FA608 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801FD6AC 001FA60C 40 82 00 18 */ bne lbl_801FD6C4 lbl_801FD6B0: /* 801FD6B0 001FA610 3B BD 00 02 */ addi r29, r29, 2 /* 801FD6B4 001FA614 3B 9C 00 01 */ addi r28, r28, 1 lbl_801FD6B8: /* 801FD6B8 001FA618 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 801FD6BC 001FA61C 7C 1C 00 00 */ cmpw r28, r0 /* 801FD6C0 001FA620 41 80 FE 80 */ blt lbl_801FD540 lbl_801FD6C4: /* 801FD6C4 001FA624 38 60 00 00 */ li r3, 0 /* 801FD6C8 001FA628 88 1E 06 A0 */ lbz r0, 0x6a0(r30) /* 801FD6CC 001FA62C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801FD6D0 001FA630 98 1E 06 A0 */ stb r0, 0x6a0(r30) /* 801FD6D4 001FA634 80 A1 00 A8 */ lwz r5, 0xa8(r1) /* 801FD6D8 001FA638 2C 05 00 00 */ cmpwi r5, 0 /* 801FD6DC 001FA63C 40 81 00 40 */ ble lbl_801FD71C /* 801FD6E0 001FA640 2C 05 00 08 */ cmpwi r5, 8 /* 801FD6E4 001FA644 38 85 FF F8 */ addi r4, r5, -8 /* 801FD6E8 001FA648 40 81 00 20 */ ble lbl_801FD708 /* 801FD6EC 001FA64C 38 04 00 07 */ addi r0, r4, 7 /* 801FD6F0 001FA650 54 00 E8 FE */ srwi r0, r0, 3 /* 801FD6F4 001FA654 7C 09 03 A6 */ mtctr r0 /* 801FD6F8 001FA658 2C 04 00 00 */ cmpwi r4, 0 /* 801FD6FC 001FA65C 40 81 00 0C */ ble lbl_801FD708 lbl_801FD700: /* 801FD700 001FA660 38 63 00 08 */ addi r3, r3, 8 /* 801FD704 001FA664 42 00 FF FC */ bdnz lbl_801FD700 lbl_801FD708: /* 801FD708 001FA668 7C 03 28 50 */ subf r0, r3, r5 /* 801FD70C 001FA66C 7C 09 03 A6 */ mtctr r0 /* 801FD710 001FA670 7C 03 28 00 */ cmpw r3, r5 /* 801FD714 001FA674 40 80 00 08 */ bge lbl_801FD71C lbl_801FD718: /* 801FD718 001FA678 42 00 00 00 */ bdnz lbl_801FD718 lbl_801FD71C: /* 801FD71C 001FA67C 38 00 00 00 */ li r0, 0 /* 801FD720 001FA680 90 01 00 A8 */ stw r0, 0xa8(r1) lbl_801FD724: /* 801FD724 001FA684 E3 E1 08 F8 */ psq_l f31, -1800(r1), 0, qr0 /* 801FD728 001FA688 CB E1 08 F0 */ lfd f31, 0x8f0(r1) /* 801FD72C 001FA68C E3 C1 08 E8 */ psq_l f30, -1816(r1), 0, qr0 /* 801FD730 001FA690 CB C1 08 E0 */ lfd f30, 0x8e0(r1) /* 801FD734 001FA694 E3 A1 08 D8 */ psq_l f29, -1832(r1), 0, qr0 /* 801FD738 001FA698 CB A1 08 D0 */ lfd f29, 0x8d0(r1) /* 801FD73C 001FA69C BB 61 08 BC */ lmw r27, 0x8bc(r1) /* 801FD740 001FA6A0 80 01 09 04 */ lwz r0, 0x904(r1) /* 801FD744 001FA6A4 7C 08 03 A6 */ mtlr r0 /* 801FD748 001FA6A8 38 21 09 00 */ addi r1, r1, 0x900 /* 801FD74C 001FA6AC 4E 80 00 20 */ blr .global sub_801fd750 sub_801fd750: /* 801FD750 001FA6B0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801FD754 001FA6B4 7C 08 02 A6 */ mflr r0 /* 801FD758 001FA6B8 90 01 00 34 */ stw r0, 0x34(r1) /* 801FD75C 001FA6BC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801FD760 001FA6C0 93 C1 00 28 */ stw r30, 0x28(r1) /* 801FD764 001FA6C4 7C 7E 1B 78 */ mr r30, r3 /* 801FD768 001FA6C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FD76C 001FA6CC A0 63 08 90 */ lhz r3, 0x890(r3) /* 801FD770 001FA6D0 7C 03 00 40 */ cmplw r3, r0 /* 801FD774 001FA6D4 41 82 00 70 */ beq lbl_801FD7E4 /* 801FD778 001FA6D8 A0 1E 08 90 */ lhz r0, 0x890(r30) /* 801FD77C 001FA6DC 7C 83 23 78 */ mr r3, r4 /* 801FD780 001FA6E0 38 81 00 18 */ addi r4, r1, 0x18 /* 801FD784 001FA6E4 B0 01 00 18 */ sth r0, 0x18(r1) /* 801FD788 001FA6E8 4B E4 ED ED */ bl ObjectById__13CStateManagerF9TUniqueId /* 801FD78C 001FA6EC 7C 64 1B 78 */ mr r4, r3 /* 801FD790 001FA6F0 38 61 00 1C */ addi r3, r1, 0x1c /* 801FD794 001FA6F4 4B EA 9D E1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801FD798 001FA6F8 83 E3 00 04 */ lwz r31, 4(r3) /* 801FD79C 001FA6FC 28 1F 00 00 */ cmplwi r31, 0 /* 801FD7A0 001FA700 41 82 00 44 */ beq lbl_801FD7E4 /* 801FD7A4 001FA704 A0 1E 00 08 */ lhz r0, 8(r30) /* 801FD7A8 001FA708 7F E3 FB 78 */ mr r3, r31 /* 801FD7AC 001FA70C 38 81 00 14 */ addi r4, r1, 0x14 /* 801FD7B0 001FA710 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FD7B4 001FA714 B0 01 00 14 */ sth r0, 0x14(r1) /* 801FD7B8 001FA718 48 03 B8 39 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 801FD7BC 001FA71C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 801FD7C0 001FA720 41 82 00 24 */ beq lbl_801FD7E4 /* 801FD7C4 001FA724 A0 1E 00 08 */ lhz r0, 8(r30) /* 801FD7C8 001FA728 7F E3 FB 78 */ mr r3, r31 /* 801FD7CC 001FA72C 38 81 00 0C */ addi r4, r1, 0xc /* 801FD7D0 001FA730 B0 01 00 08 */ sth r0, 8(r1) /* 801FD7D4 001FA734 B0 01 00 0C */ sth r0, 0xc(r1) /* 801FD7D8 001FA738 48 03 BD 1D */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId /* 801FD7DC 001FA73C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FD7E0 001FA740 B0 1E 08 90 */ sth r0, 0x890(r30) lbl_801FD7E4: /* 801FD7E4 001FA744 80 01 00 34 */ lwz r0, 0x34(r1) /* 801FD7E8 001FA748 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801FD7EC 001FA74C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801FD7F0 001FA750 7C 08 03 A6 */ mtlr r0 /* 801FD7F4 001FA754 38 21 00 30 */ addi r1, r1, 0x30 /* 801FD7F8 001FA758 4E 80 00 20 */ blr .global sub_801fd7fc sub_801fd7fc: /* 801FD7FC 001FA75C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801FD800 001FA760 7C 08 02 A6 */ mflr r0 /* 801FD804 001FA764 90 01 00 24 */ stw r0, 0x24(r1) /* 801FD808 001FA768 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801FD80C 001FA76C 7C 9F 23 78 */ mr r31, r4 /* 801FD810 001FA770 93 C1 00 18 */ stw r30, 0x18(r1) /* 801FD814 001FA774 7C 7E 1B 78 */ mr r30, r3 /* 801FD818 001FA778 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FD81C 001FA77C A0 63 08 90 */ lhz r3, 0x890(r3) /* 801FD820 001FA780 7C 03 00 40 */ cmplw r3, r0 /* 801FD824 001FA784 40 82 00 1C */ bne lbl_801FD840 /* 801FD828 001FA788 7F C4 F3 78 */ mr r4, r30 /* 801FD82C 001FA78C 7F E5 FB 78 */ mr r5, r31 /* 801FD830 001FA790 38 61 00 0C */ addi r3, r1, 0xc /* 801FD834 001FA794 48 03 C9 B5 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager /* 801FD838 001FA798 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801FD83C 001FA79C B0 1E 08 90 */ sth r0, 0x890(r30) lbl_801FD840: /* 801FD840 001FA7A0 A0 7E 08 90 */ lhz r3, 0x890(r30) /* 801FD844 001FA7A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FD848 001FA7A8 7C 03 00 40 */ cmplw r3, r0 /* 801FD84C 001FA7AC 41 82 00 44 */ beq lbl_801FD890 /* 801FD850 001FA7B0 A0 1E 08 90 */ lhz r0, 0x890(r30) /* 801FD854 001FA7B4 7F E3 FB 78 */ mr r3, r31 /* 801FD858 001FA7B8 38 81 00 08 */ addi r4, r1, 8 /* 801FD85C 001FA7BC B0 01 00 08 */ sth r0, 8(r1) /* 801FD860 001FA7C0 4B E4 ED 15 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801FD864 001FA7C4 7C 64 1B 78 */ mr r4, r3 /* 801FD868 001FA7C8 38 61 00 10 */ addi r3, r1, 0x10 /* 801FD86C 001FA7CC 4B EA 9D 09 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 801FD870 001FA7D0 80 63 00 04 */ lwz r3, 4(r3) /* 801FD874 001FA7D4 28 03 00 00 */ cmplwi r3, 0 /* 801FD878 001FA7D8 41 82 00 18 */ beq lbl_801FD890 /* 801FD87C 001FA7DC 7F C4 F3 78 */ mr r4, r30 /* 801FD880 001FA7E0 38 A0 00 02 */ li r5, 2 /* 801FD884 001FA7E4 38 C0 00 03 */ li r6, 3 /* 801FD888 001FA7E8 38 E0 FF FF */ li r7, -1 /* 801FD88C 001FA7EC 48 03 BF 21 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii lbl_801FD890: /* 801FD890 001FA7F0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801FD894 001FA7F4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801FD898 001FA7F8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801FD89C 001FA7FC 7C 08 03 A6 */ mtlr r0 /* 801FD8A0 001FA800 38 21 00 20 */ addi r1, r1, 0x20 /* 801FD8A4 001FA804 4E 80 00 20 */ blr .global GetOrigin__13CFlyingPirateCFv GetOrigin__13CFlyingPirateCFv: /* 801FD8A8 001FA808 C0 44 00 60 */ lfs f2, 0x60(r4) /* 801FD8AC 001FA80C C0 24 00 50 */ lfs f1, 0x50(r4) /* 801FD8B0 001FA810 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801FD8B4 001FA814 D0 03 00 00 */ stfs f0, 0(r3) /* 801FD8B8 001FA818 D0 23 00 04 */ stfs f1, 4(r3) /* 801FD8BC 001FA81C D0 43 00 08 */ stfs f2, 8(r3) /* 801FD8C0 001FA820 4E 80 00 20 */ blr .global sub_801fd8c4 sub_801fd8c4: /* 801FD8C4 001FA824 94 21 FF 00 */ stwu r1, -0x100(r1) /* 801FD8C8 001FA828 7C 08 02 A6 */ mflr r0 /* 801FD8CC 001FA82C 90 01 01 04 */ stw r0, 0x104(r1) /* 801FD8D0 001FA830 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 801FD8D4 001FA834 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 801FD8D8 001FA838 93 E1 00 EC */ stw r31, 0xec(r1) /* 801FD8DC 001FA83C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801FD8E0 001FA840 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 801FD8E4 001FA844 93 81 00 E0 */ stw r28, 0xe0(r1) /* 801FD8E8 001FA848 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 801FD8EC 001FA84C 7C 7E 1B 78 */ mr r30, r3 /* 801FD8F0 001FA850 7C 9F 23 78 */ mr r31, r4 /* 801FD8F4 001FA854 41 82 02 78 */ beq lbl_801FDB6C /* 801FD8F8 001FA858 80 1E 06 84 */ lwz r0, 0x684(r30) /* 801FD8FC 001FA85C 2C 00 00 00 */ cmpwi r0, 0 /* 801FD900 001FA860 41 82 02 4C */ beq lbl_801FDB4C /* 801FD904 001FA864 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FD908 001FA868 38 A1 00 08 */ addi r5, r1, 8 /* 801FD90C 001FA86C C0 02 AF E4 */ lfs f0, lbl_805ACD04@sda21(r2) /* 801FD910 001FA870 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801FD914 001FA874 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801FD918 001FA878 EF E3 00 28 */ fsubs f31, f3, f0 /* 801FD91C 001FA87C A0 1E 06 A4 */ lhz r0, 0x6a4(r30) /* 801FD920 001FA880 D0 21 00 54 */ stfs f1, 0x54(r1) /* 801FD924 001FA884 D0 41 00 58 */ stfs f2, 0x58(r1) /* 801FD928 001FA888 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 801FD92C 001FA88C B0 01 00 08 */ sth r0, 8(r1) /* 801FD930 001FA890 4B E7 EF 7D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId /* 801FD934 001FA894 28 03 00 00 */ cmplwi r3, 0 /* 801FD938 001FA898 41 82 00 24 */ beq lbl_801FD95C /* 801FD93C 001FA89C C0 63 00 60 */ lfs f3, 0x60(r3) /* 801FD940 001FA8A0 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FD944 001FA8A4 C0 43 00 50 */ lfs f2, 0x50(r3) /* 801FD948 001FA8A8 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801FD94C 001FA8AC EF E3 00 28 */ fsubs f31, f3, f0 /* 801FD950 001FA8B0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 801FD954 001FA8B4 D0 21 00 48 */ stfs f1, 0x48(r1) /* 801FD958 001FA8B8 D0 61 00 50 */ stfs f3, 0x50(r1) lbl_801FD95C: /* 801FD95C 001FA8BC 80 AD 92 DC */ lwz r5, lbl_805A7E9C@sda21(r13) /* 801FD960 001FA8C0 38 60 00 00 */ li r3, 0 /* 801FD964 001FA8C4 38 80 00 01 */ li r4, 1 /* 801FD968 001FA8C8 48 18 C5 8D */ bl __shl2i /* 801FD96C 001FA8CC 39 00 00 00 */ li r8, 0 /* 801FD970 001FA8D0 38 00 00 01 */ li r0, 1 /* 801FD974 001FA8D4 90 81 00 64 */ stw r4, 0x64(r1) /* 801FD978 001FA8D8 3C 80 80 5A */ lis r4, lbl_805A6700@ha /* 801FD97C 001FA8DC 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l /* 801FD980 001FA8E0 38 A1 00 3C */ addi r5, r1, 0x3c /* 801FD984 001FA8E4 90 61 00 60 */ stw r3, 0x60(r1) /* 801FD988 001FA8E8 7F E4 FB 78 */ mr r4, r31 /* 801FD98C 001FA8EC 38 61 00 78 */ addi r3, r1, 0x78 /* 801FD990 001FA8F0 38 E1 00 60 */ addi r7, r1, 0x60 /* 801FD994 001FA8F4 91 01 00 6C */ stw r8, 0x6c(r1) /* 801FD998 001FA8F8 91 01 00 68 */ stw r8, 0x68(r1) /* 801FD99C 001FA8FC 90 01 00 70 */ stw r0, 0x70(r1) /* 801FD9A0 001FA900 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FD9A4 001FA904 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801FD9A8 001FA908 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FD9AC 001FA90C EC 23 F8 28 */ fsubs f1, f3, f31 /* 801FD9B0 001FA910 D0 41 00 34 */ stfs f2, 0x34(r1) /* 801FD9B4 001FA914 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801FD9B8 001FA918 D0 61 00 38 */ stfs f3, 0x38(r1) /* 801FD9BC 001FA91C D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801FD9C0 001FA920 D0 41 00 40 */ stfs f2, 0x40(r1) /* 801FD9C4 001FA924 D0 61 00 44 */ stfs f3, 0x44(r1) /* 801FD9C8 001FA928 4B E4 F5 D1 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 801FD9CC 001FA92C 88 61 00 98 */ lbz r3, 0x98(r1) /* 801FD9D0 001FA930 38 00 00 01 */ li r0, 1 /* 801FD9D4 001FA934 C0 E1 00 78 */ lfs f7, 0x78(r1) /* 801FD9D8 001FA938 C0 C1 00 7C */ lfs f6, 0x7c(r1) /* 801FD9DC 001FA93C 28 03 00 00 */ cmplwi r3, 0 /* 801FD9E0 001FA940 C0 A1 00 80 */ lfs f5, 0x80(r1) /* 801FD9E4 001FA944 C0 81 00 84 */ lfs f4, 0x84(r1) /* 801FD9E8 001FA948 C0 61 00 88 */ lfs f3, 0x88(r1) /* 801FD9EC 001FA94C C0 41 00 8C */ lfs f2, 0x8c(r1) /* 801FD9F0 001FA950 C0 21 00 90 */ lfs f1, 0x90(r1) /* 801FD9F4 001FA954 C0 01 00 94 */ lfs f0, 0x94(r1) /* 801FD9F8 001FA958 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 801FD9FC 001FA95C 80 E1 00 A4 */ lwz r7, 0xa4(r1) /* 801FDA00 001FA960 D0 E1 00 A8 */ stfs f7, 0xa8(r1) /* 801FDA04 001FA964 D0 C1 00 AC */ stfs f6, 0xac(r1) /* 801FDA08 001FA968 D0 A1 00 B0 */ stfs f5, 0xb0(r1) /* 801FDA0C 001FA96C D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 801FDA10 001FA970 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 801FDA14 001FA974 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 801FDA18 001FA978 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 801FDA1C 001FA97C D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 801FDA20 001FA980 98 61 00 C8 */ stb r3, 0xc8(r1) /* 801FDA24 001FA984 90 E1 00 D4 */ stw r7, 0xd4(r1) /* 801FDA28 001FA988 90 A1 00 D0 */ stw r5, 0xd0(r1) /* 801FDA2C 001FA98C 41 82 00 C4 */ beq lbl_801FDAF0 /* 801FDA30 001FA990 38 60 00 10 */ li r3, 0x10 /* 801FDA34 001FA994 38 C0 00 00 */ li r6, 0 /* 801FDA38 001FA998 7C E4 18 38 */ and r4, r7, r3 /* 801FDA3C 001FA99C 7C A3 30 38 */ and r3, r5, r6 /* 801FDA40 001FA9A0 7C 84 32 78 */ xor r4, r4, r6 /* 801FDA44 001FA9A4 7C 63 32 78 */ xor r3, r3, r6 /* 801FDA48 001FA9A8 7C 83 1B 79 */ or. r3, r4, r3 /* 801FDA4C 001FA9AC 41 82 00 08 */ beq lbl_801FDA54 /* 801FDA50 001FA9B0 38 C0 00 01 */ li r6, 1 lbl_801FDA54: /* 801FDA54 001FA9B4 54 C3 06 3F */ clrlwi. r3, r6, 0x18 /* 801FDA58 001FA9B8 40 82 00 24 */ bne lbl_801FDA7C /* 801FDA5C 001FA9BC 38 60 08 00 */ li r3, 0x800 /* 801FDA60 001FA9C0 38 C0 00 00 */ li r6, 0 /* 801FDA64 001FA9C4 7C E3 18 38 */ and r3, r7, r3 /* 801FDA68 001FA9C8 7C A5 30 38 */ and r5, r5, r6 /* 801FDA6C 001FA9CC 7C 64 32 78 */ xor r4, r3, r6 /* 801FDA70 001FA9D0 7C A3 32 78 */ xor r3, r5, r6 /* 801FDA74 001FA9D4 7C 83 1B 79 */ or. r3, r4, r3 /* 801FDA78 001FA9D8 41 82 00 0C */ beq lbl_801FDA84 lbl_801FDA7C: /* 801FDA7C 001FA9DC 38 00 00 02 */ li r0, 2 /* 801FDA80 001FA9E0 48 00 00 50 */ b lbl_801FDAD0 lbl_801FDA84: /* 801FDA84 001FA9E4 38 80 01 00 */ li r4, 0x100 /* 801FDA88 001FA9E8 7C A3 32 78 */ xor r3, r5, r6 /* 801FDA8C 001FA9EC 7C E4 20 38 */ and r4, r7, r4 /* 801FDA90 001FA9F0 7C 84 32 78 */ xor r4, r4, r6 /* 801FDA94 001FA9F4 7C 83 1B 79 */ or. r3, r4, r3 /* 801FDA98 001FA9F8 40 82 00 34 */ bne lbl_801FDACC /* 801FDA9C 001FA9FC 38 80 10 00 */ li r4, 0x1000 /* 801FDAA0 001FAA00 7C A3 32 78 */ xor r3, r5, r6 /* 801FDAA4 001FAA04 7C E4 20 38 */ and r4, r7, r4 /* 801FDAA8 001FAA08 7C 84 32 78 */ xor r4, r4, r6 /* 801FDAAC 001FAA0C 7C 83 1B 79 */ or. r3, r4, r3 /* 801FDAB0 001FAA10 40 82 00 1C */ bne lbl_801FDACC /* 801FDAB4 001FAA14 3C 80 00 02 */ lis r4, 2 /* 801FDAB8 001FAA18 7C A3 32 78 */ xor r3, r5, r6 /* 801FDABC 001FAA1C 7C E4 20 38 */ and r4, r7, r4 /* 801FDAC0 001FAA20 7C 84 32 78 */ xor r4, r4, r6 /* 801FDAC4 001FAA24 7C 83 1B 79 */ or. r3, r4, r3 /* 801FDAC8 001FAA28 41 82 00 08 */ beq lbl_801FDAD0 lbl_801FDACC: /* 801FDACC 001FAA2C 38 00 00 00 */ li r0, 0 lbl_801FDAD0: /* 801FDAD0 001FAA30 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 801FDAD4 001FAA34 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 801FDAD8 001FAA38 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 801FDADC 001FAA3C C0 3E 00 40 */ lfs f1, 0x40(r30) /* 801FDAE0 001FAA40 EF E3 00 28 */ fsubs f31, f3, f0 /* 801FDAE4 001FAA44 D0 41 00 28 */ stfs f2, 0x28(r1) /* 801FDAE8 001FAA48 D0 21 00 24 */ stfs f1, 0x24(r1) /* 801FDAEC 001FAA4C D0 61 00 2C */ stfs f3, 0x2c(r1) lbl_801FDAF0: /* 801FDAF0 001FAA50 54 00 18 38 */ slwi r0, r0, 3 /* 801FDAF4 001FAA54 38 80 00 01 */ li r4, 1 /* 801FDAF8 001FAA58 7F BE 02 14 */ add r29, r30, r0 /* 801FDAFC 001FAA5C 80 7D 06 8C */ lwz r3, 0x68c(r29) /* 801FDB00 001FAA60 81 83 00 00 */ lwz r12, 0(r3) /* 801FDB04 001FAA64 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801FDB08 001FAA68 7D 89 03 A6 */ mtctr r12 /* 801FDB0C 001FAA6C 4E 80 04 21 */ bctrl /* 801FDB10 001FAA70 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 801FDB14 001FAA74 38 81 00 18 */ addi r4, r1, 0x18 /* 801FDB18 001FAA78 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 801FDB1C 001FAA7C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 801FDB20 001FAA80 D0 21 00 10 */ stfs f1, 0x10(r1) /* 801FDB24 001FAA84 D0 01 00 18 */ stfs f0, 0x18(r1) /* 801FDB28 001FAA88 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 801FDB2C 001FAA8C D3 E1 00 20 */ stfs f31, 0x20(r1) /* 801FDB30 001FAA90 80 7D 06 8C */ lwz r3, 0x68c(r29) /* 801FDB34 001FAA94 D0 01 00 0C */ stfs f0, 0xc(r1) /* 801FDB38 001FAA98 81 83 00 00 */ lwz r12, 0(r3) /* 801FDB3C 001FAA9C D0 41 00 14 */ stfs f2, 0x14(r1) /* 801FDB40 001FAAA0 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801FDB44 001FAAA4 7D 89 03 A6 */ mtctr r12 /* 801FDB48 001FAAA8 4E 80 04 21 */ bctrl lbl_801FDB4C: /* 801FDB4C 001FAAAC 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801FDB50 001FAAB0 3C 60 80 57 */ lis r3, lbl_80572108@ha /* 801FDB54 001FAAB4 38 83 21 08 */ addi r4, r3, lbl_80572108@l /* 801FDB58 001FAAB8 7F E6 FB 78 */ mr r6, r31 /* 801FDB5C 001FAABC 80 65 00 10 */ lwz r3, 0x10(r5) /* 801FDB60 001FAAC0 38 A0 00 01 */ li r5, 1 /* 801FDB64 001FAAC4 4B E2 D2 5D */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager /* 801FDB68 001FAAC8 48 00 00 58 */ b lbl_801FDBC0 lbl_801FDB6C: /* 801FDB6C 001FAACC 3B BE 06 88 */ addi r29, r30, 0x688 /* 801FDB70 001FAAD0 3B 80 00 00 */ li r28, 0 /* 801FDB74 001FAAD4 48 00 00 24 */ b lbl_801FDB98 lbl_801FDB78: /* 801FDB78 001FAAD8 80 7D 00 04 */ lwz r3, 4(r29) /* 801FDB7C 001FAADC 38 80 00 00 */ li r4, 0 /* 801FDB80 001FAAE0 81 83 00 00 */ lwz r12, 0(r3) /* 801FDB84 001FAAE4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801FDB88 001FAAE8 7D 89 03 A6 */ mtctr r12 /* 801FDB8C 001FAAEC 4E 80 04 21 */ bctrl /* 801FDB90 001FAAF0 3B BD 00 08 */ addi r29, r29, 8 /* 801FDB94 001FAAF4 3B 9C 00 01 */ addi r28, r28, 1 lbl_801FDB98: /* 801FDB98 001FAAF8 80 1E 06 84 */ lwz r0, 0x684(r30) /* 801FDB9C 001FAAFC 7C 1C 00 00 */ cmpw r28, r0 /* 801FDBA0 001FAB00 41 80 FF D8 */ blt lbl_801FDB78 /* 801FDBA4 001FAB04 80 BE 00 64 */ lwz r5, 0x64(r30) /* 801FDBA8 001FAB08 3C 60 80 57 */ lis r3, lbl_80572108@ha /* 801FDBAC 001FAB0C 38 83 21 08 */ addi r4, r3, lbl_80572108@l /* 801FDBB0 001FAB10 7F E6 FB 78 */ mr r6, r31 /* 801FDBB4 001FAB14 80 65 00 10 */ lwz r3, 0x10(r5) /* 801FDBB8 001FAB18 38 A0 00 00 */ li r5, 0 /* 801FDBBC 001FAB1C 4B E2 D2 05 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager lbl_801FDBC0: /* 801FDBC0 001FAB20 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 801FDBC4 001FAB24 80 01 01 04 */ lwz r0, 0x104(r1) /* 801FDBC8 001FAB28 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 801FDBCC 001FAB2C 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801FDBD0 001FAB30 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801FDBD4 001FAB34 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 801FDBD8 001FAB38 83 81 00 E0 */ lwz r28, 0xe0(r1) /* 801FDBDC 001FAB3C 7C 08 03 A6 */ mtlr r0 /* 801FDBE0 001FAB40 38 21 01 00 */ addi r1, r1, 0x100 /* 801FDBE4 001FAB44 4E 80 00 20 */ blr .global sub_801fdbe8 sub_801fdbe8: /* 801FDBE8 001FAB48 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801FDBEC 001FAB4C 7C 08 02 A6 */ mflr r0 /* 801FDBF0 001FAB50 90 01 00 34 */ stw r0, 0x34(r1) /* 801FDBF4 001FAB54 DB E1 00 20 */ stfd f31, 0x20(r1) /* 801FDBF8 001FAB58 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 801FDBFC 001FAB5C BF 61 00 0C */ stmw r27, 0xc(r1) /* 801FDC00 001FAB60 7C 7C 1B 78 */ mr r28, r3 /* 801FDC04 001FAB64 3C 60 80 57 */ lis r3, lbl_80572078@ha /* 801FDC08 001FAB68 88 1C 06 A0 */ lbz r0, 0x6a0(r28) /* 801FDC0C 001FAB6C 3B 63 20 78 */ addi r27, r3, lbl_80572078@l /* 801FDC10 001FAB70 80 7C 00 64 */ lwz r3, 0x64(r28) /* 801FDC14 001FAB74 FF E0 08 90 */ fmr f31, f1 /* 801FDC18 001FAB78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FDC1C 001FAB7C 7C 9D 23 78 */ mr r29, r4 /* 801FDC20 001FAB80 83 E3 00 10 */ lwz r31, 0x10(r3) /* 801FDC24 001FAB84 7C BE 2B 78 */ mr r30, r5 /* 801FDC28 001FAB88 41 82 00 0C */ beq lbl_801FDC34 /* 801FDC2C 001FAB8C 3C 60 80 57 */ lis r3, lbl_805720D8@ha /* 801FDC30 001FAB90 3B 63 20 D8 */ addi r27, r3, lbl_805720D8@l lbl_801FDC34: /* 801FDC34 001FAB94 88 1C 06 A2 */ lbz r0, 0x6a2(r28) /* 801FDC38 001FAB98 57 C3 06 3E */ clrlwi r3, r30, 0x18 /* 801FDC3C 001FAB9C 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f /* 801FDC40 001FABA0 7C 03 00 40 */ cmplw r3, r0 /* 801FDC44 001FABA4 41 82 00 48 */ beq lbl_801FDC8C /* 801FDC48 001FABA8 7F E3 FB 78 */ mr r3, r31 /* 801FDC4C 001FABAC 7F 64 DB 78 */ mr r4, r27 /* 801FDC50 001FABB0 7F C5 F3 78 */ mr r5, r30 /* 801FDC54 001FABB4 7F A6 EB 78 */ mr r6, r29 /* 801FDC58 001FABB8 4B E2 D1 69 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager /* 801FDC5C 001FABBC 88 1C 06 A0 */ lbz r0, 0x6a0(r28) /* 801FDC60 001FABC0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FDC64 001FABC4 41 82 00 1C */ beq lbl_801FDC80 /* 801FDC68 001FABC8 3C 80 80 57 */ lis r4, lbl_805720E8@ha /* 801FDC6C 001FABCC 7F E3 FB 78 */ mr r3, r31 /* 801FDC70 001FABD0 38 84 20 E8 */ addi r4, r4, lbl_805720E8@l /* 801FDC74 001FABD4 7F C5 F3 78 */ mr r5, r30 /* 801FDC78 001FABD8 7F A6 EB 78 */ mr r6, r29 /* 801FDC7C 001FABDC 4B E2 D1 45 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager lbl_801FDC80: /* 801FDC80 001FABE0 88 1C 06 A2 */ lbz r0, 0x6a2(r28) /* 801FDC84 001FABE4 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a /* 801FDC88 001FABE8 98 1C 06 A2 */ stb r0, 0x6a2(r28) lbl_801FDC8C: /* 801FDC8C 001FABEC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801FDC90 001FABF0 41 82 00 3C */ beq lbl_801FDCCC /* 801FDC94 001FABF4 C0 22 AF FC */ lfs f1, lbl_805ACD1C@sda21(r2) /* 801FDC98 001FABF8 7F E3 FB 78 */ mr r3, r31 /* 801FDC9C 001FABFC C0 02 AF F8 */ lfs f0, lbl_805ACD18@sda21(r2) /* 801FDCA0 001FAC00 7F 64 DB 78 */ mr r4, r27 /* 801FDCA4 001FAC04 38 A0 00 00 */ li r5, 0 /* 801FDCA8 001FAC08 EC 21 07 FA */ fmadds f1, f1, f31, f0 /* 801FDCAC 001FAC0C 4B E2 C8 91 */ bl "SetParticleCEXTValue__CAnimDataFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" /* 801FDCB0 001FAC10 C0 22 B0 04 */ lfs f1, lbl_805ACD24@sda21(r2) /* 801FDCB4 001FAC14 7F E3 FB 78 */ mr r3, r31 /* 801FDCB8 001FAC18 C0 02 B0 00 */ lfs f0, lbl_805ACD20@sda21(r2) /* 801FDCBC 001FAC1C 7F 64 DB 78 */ mr r4, r27 /* 801FDCC0 001FAC20 38 A0 00 01 */ li r5, 1 /* 801FDCC4 001FAC24 EC 21 07 FA */ fmadds f1, f1, f31, f0 /* 801FDCC8 001FAC28 4B E2 C8 75 */ bl "SetParticleCEXTValue__CAnimDataFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>if" lbl_801FDCCC: /* 801FDCCC 001FAC2C 88 1C 06 A0 */ lbz r0, 0x6a0(r28) /* 801FDCD0 001FAC30 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FDCD4 001FAC34 40 82 00 54 */ bne lbl_801FDD28 /* 801FDCD8 001FAC38 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 801FDCDC 001FAC3C 3B C0 00 00 */ li r30, 0 /* 801FDCE0 001FAC40 41 82 00 14 */ beq lbl_801FDCF4 /* 801FDCE4 001FAC44 C0 02 AF C8 */ lfs f0, lbl_805ACCE8@sda21(r2) /* 801FDCE8 001FAC48 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 801FDCEC 001FAC4C 40 81 00 08 */ ble lbl_801FDCF4 /* 801FDCF0 001FAC50 3B C0 00 01 */ li r30, 1 lbl_801FDCF4: /* 801FDCF4 001FAC54 88 1C 06 A2 */ lbz r0, 0x6a2(r28) /* 801FDCF8 001FAC58 57 C5 06 3E */ clrlwi r5, r30, 0x18 /* 801FDCFC 001FAC5C 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f /* 801FDD00 001FAC60 7C 05 00 40 */ cmplw r5, r0 /* 801FDD04 001FAC64 41 82 00 24 */ beq lbl_801FDD28 /* 801FDD08 001FAC68 3C 80 80 57 */ lis r4, lbl_805720F8@ha /* 801FDD0C 001FAC6C 7F E3 FB 78 */ mr r3, r31 /* 801FDD10 001FAC70 38 84 20 F8 */ addi r4, r4, lbl_805720F8@l /* 801FDD14 001FAC74 7F A6 EB 78 */ mr r6, r29 /* 801FDD18 001FAC78 4B E2 D0 A9 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager /* 801FDD1C 001FAC7C 88 1C 06 A2 */ lbz r0, 0x6a2(r28) /* 801FDD20 001FAC80 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b /* 801FDD24 001FAC84 98 1C 06 A2 */ stb r0, 0x6a2(r28) lbl_801FDD28: /* 801FDD28 001FAC88 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 801FDD2C 001FAC8C CB E1 00 20 */ lfd f31, 0x20(r1) /* 801FDD30 001FAC90 BB 61 00 0C */ lmw r27, 0xc(r1) /* 801FDD34 001FAC94 80 01 00 34 */ lwz r0, 0x34(r1) /* 801FDD38 001FAC98 7C 08 03 A6 */ mtlr r0 /* 801FDD3C 001FAC9C 38 21 00 30 */ addi r1, r1, 0x30 /* 801FDD40 001FACA0 4E 80 00 20 */ blr .global sub_801fdd44 sub_801fdd44: /* 801FDD44 001FACA4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801FDD48 001FACA8 7C 08 02 A6 */ mflr r0 /* 801FDD4C 001FACAC 90 01 00 24 */ stw r0, 0x24(r1) /* 801FDD50 001FACB0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801FDD54 001FACB4 80 83 04 50 */ lwz r4, 0x450(r3) /* 801FDD58 001FACB8 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 801FDD5C 001FACBC 2C 00 00 02 */ cmpwi r0, 2 /* 801FDD60 001FACC0 40 82 00 60 */ bne lbl_801FDDC0 /* 801FDD64 001FACC4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801FDD68 001FACC8 38 A0 00 00 */ li r5, 0 /* 801FDD6C 001FACCC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801FDD70 001FACD0 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801FDD74 001FACD4 90 01 00 08 */ stw r0, 8(r1) /* 801FDD78 001FACD8 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 801FDD7C 001FACDC 3B E4 00 04 */ addi r31, r4, 4 /* 801FDD80 001FACE0 38 80 00 00 */ li r4, 0 /* 801FDD84 001FACE4 90 A1 00 0C */ stw r5, 0xc(r1) /* 801FDD88 001FACE8 7F E3 FB 78 */ mr r3, r31 /* 801FDD8C 001FACEC 90 01 00 08 */ stw r0, 8(r1) /* 801FDD90 001FACF0 90 A1 00 10 */ stw r5, 0x10(r1) /* 801FDD94 001FACF4 4B F3 36 A5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 801FDD98 001FACF8 80 01 00 0C */ lwz r0, 0xc(r1) /* 801FDD9C 001FACFC 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 801FDDA0 001FAD00 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 801FDDA4 001FAD04 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 801FDDA8 001FAD08 90 1F 00 BC */ stw r0, 0xbc(r31) /* 801FDDAC 001FAD0C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 801FDDB0 001FAD10 80 61 00 10 */ lwz r3, 0x10(r1) /* 801FDDB4 001FAD14 90 81 00 08 */ stw r4, 8(r1) /* 801FDDB8 001FAD18 90 7F 00 C0 */ stw r3, 0xc0(r31) /* 801FDDBC 001FAD1C 90 01 00 08 */ stw r0, 8(r1) lbl_801FDDC0: /* 801FDDC0 001FAD20 80 01 00 24 */ lwz r0, 0x24(r1) /* 801FDDC4 001FAD24 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801FDDC8 001FAD28 7C 08 03 A6 */ mtlr r0 /* 801FDDCC 001FAD2C 38 21 00 20 */ addi r1, r1, 0x20 /* 801FDDD0 001FAD30 4E 80 00 20 */ blr .global Listen__13CFlyingPirateFRC9CVector3f16EListenNoiseType Listen__13CFlyingPirateFRC9CVector3f16EListenNoiseType: /* 801FDDD4 001FAD34 88 03 04 00 */ lbz r0, 0x400(r3) /* 801FDDD8 001FAD38 38 C0 00 00 */ li r6, 0 /* 801FDDDC 001FAD3C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FDDE0 001FAD40 41 82 00 90 */ beq lbl_801FDE70 /* 801FDDE4 001FAD44 C0 24 00 04 */ lfs f1, 4(r4) /* 801FDDE8 001FAD48 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801FDDEC 001FAD4C C0 43 05 6C */ lfs f2, 0x56c(r3) /* 801FDDF0 001FAD50 EC A1 00 28 */ fsubs f5, f1, f0 /* 801FDDF4 001FAD54 C0 84 00 00 */ lfs f4, 0(r4) /* 801FDDF8 001FAD58 C0 63 00 40 */ lfs f3, 0x40(r3) /* 801FDDFC 001FAD5C EC 02 00 B2 */ fmuls f0, f2, f2 /* 801FDE00 001FAD60 C0 44 00 08 */ lfs f2, 8(r4) /* 801FDE04 001FAD64 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801FDE08 001FAD68 EC 64 18 28 */ fsubs f3, f4, f3 /* 801FDE0C 001FAD6C EC 42 08 28 */ fsubs f2, f2, f1 /* 801FDE10 001FAD70 EC 25 01 72 */ fmuls f1, f5, f5 /* 801FDE14 001FAD74 EC 42 00 B2 */ fmuls f2, f2, f2 /* 801FDE18 001FAD78 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 801FDE1C 001FAD7C EC 22 08 2A */ fadds f1, f2, f1 /* 801FDE20 001FAD80 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FDE24 001FAD84 40 80 00 34 */ bge lbl_801FDE58 /* 801FDE28 001FAD88 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FDE2C 001FAD8C C0 23 03 C0 */ lfs f1, 0x3c0(r3) /* 801FDE30 001FAD90 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801FDE34 001FAD94 41 82 00 10 */ beq lbl_801FDE44 /* 801FDE38 001FAD98 EC 01 00 72 */ fmuls f0, f1, f1 /* 801FDE3C 001FAD9C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 801FDE40 001FADA0 40 80 00 18 */ bge lbl_801FDE58 lbl_801FDE44: /* 801FDE44 001FADA4 88 03 06 A0 */ lbz r0, 0x6a0(r3) /* 801FDE48 001FADA8 38 80 00 01 */ li r4, 1 /* 801FDE4C 001FADAC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 801FDE50 001FADB0 38 C0 00 01 */ li r6, 1 /* 801FDE54 001FADB4 98 03 06 A0 */ stb r0, 0x6a0(r3) lbl_801FDE58: /* 801FDE58 001FADB8 2C 05 00 00 */ cmpwi r5, 0 /* 801FDE5C 001FADBC 40 82 00 14 */ bne lbl_801FDE70 /* 801FDE60 001FADC0 88 03 06 A0 */ lbz r0, 0x6a0(r3) /* 801FDE64 001FADC4 38 80 00 01 */ li r4, 1 /* 801FDE68 001FADC8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 801FDE6C 001FADCC 98 03 06 A0 */ stb r0, 0x6a0(r3) lbl_801FDE70: /* 801FDE70 001FADD0 54 C3 06 3E */ clrlwi r3, r6, 0x18 /* 801FDE74 001FADD4 4E 80 00 20 */ blr .global AcceptScriptMsg__13CFlyingPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__13CFlyingPirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 801FDE78 001FADD8 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801FDE7C 001FADDC 7C 08 02 A6 */ mflr r0 /* 801FDE80 001FADE0 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801FDE84 001FADE4 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 801FDE88 001FADE8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801FDE8C 001FADEC DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801FDE90 001FADF0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801FDE94 001FADF4 DB A1 00 90 */ stfd f29, 0x90(r1) /* 801FDE98 001FADF8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 801FDE9C 001FADFC 93 E1 00 8C */ stw r31, 0x8c(r1) /* 801FDEA0 001FAE00 93 C1 00 88 */ stw r30, 0x88(r1) /* 801FDEA4 001FAE04 93 A1 00 84 */ stw r29, 0x84(r1) /* 801FDEA8 001FAE08 93 81 00 80 */ stw r28, 0x80(r1) /* 801FDEAC 001FAE0C 7C 9C 23 78 */ mr r28, r4 /* 801FDEB0 001FAE10 7C 7D 1B 78 */ mr r29, r3 /* 801FDEB4 001FAE14 2C 1C 00 15 */ cmpwi r28, 0x15 /* 801FDEB8 001FAE18 7C BF 2B 78 */ mr r31, r5 /* 801FDEBC 001FAE1C 7C DE 33 78 */ mr r30, r6 /* 801FDEC0 001FAE20 41 82 00 2C */ beq lbl_801FDEEC /* 801FDEC4 001FAE24 40 80 00 1C */ bge lbl_801FDEE0 /* 801FDEC8 001FAE28 2C 1C 00 04 */ cmpwi r28, 4 /* 801FDECC 001FAE2C 41 82 00 4C */ beq lbl_801FDF18 /* 801FDED0 001FAE30 40 80 00 54 */ bge lbl_801FDF24 /* 801FDED4 001FAE34 2C 1C 00 01 */ cmpwi r28, 1 /* 801FDED8 001FAE38 41 82 00 34 */ beq lbl_801FDF0C /* 801FDEDC 001FAE3C 48 00 00 48 */ b lbl_801FDF24 lbl_801FDEE0: /* 801FDEE0 001FAE40 2C 1C 00 22 */ cmpwi r28, 0x22 /* 801FDEE4 001FAE44 41 82 00 34 */ beq lbl_801FDF18 /* 801FDEE8 001FAE48 48 00 00 3C */ b lbl_801FDF24 lbl_801FDEEC: /* 801FDEEC 001FAE4C 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801FDEF0 001FAE50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801FDEF4 001FAE54 41 82 00 30 */ beq lbl_801FDF24 /* 801FDEF8 001FAE58 88 1D 04 00 */ lbz r0, 0x400(r29) /* 801FDEFC 001FAE5C 38 60 00 01 */ li r3, 1 /* 801FDF00 001FAE60 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801FDF04 001FAE64 98 1D 04 00 */ stb r0, 0x400(r29) /* 801FDF08 001FAE68 48 00 00 1C */ b lbl_801FDF24 lbl_801FDF0C: /* 801FDF0C 001FAE6C 7F C4 F3 78 */ mr r4, r30 /* 801FDF10 001FAE70 4B FF F8 ED */ bl sub_801fd7fc /* 801FDF14 001FAE74 48 00 00 10 */ b lbl_801FDF24 lbl_801FDF18: /* 801FDF18 001FAE78 7F A3 EB 78 */ mr r3, r29 /* 801FDF1C 001FAE7C 7F C4 F3 78 */ mr r4, r30 /* 801FDF20 001FAE80 4B FF F8 31 */ bl sub_801fd750 lbl_801FDF24: /* 801FDF24 001FAE84 A0 1F 00 00 */ lhz r0, 0(r31) /* 801FDF28 001FAE88 7F A3 EB 78 */ mr r3, r29 /* 801FDF2C 001FAE8C 7F 84 E3 78 */ mr r4, r28 /* 801FDF30 001FAE90 7F C6 F3 78 */ mr r6, r30 /* 801FDF34 001FAE94 B0 01 00 20 */ sth r0, 0x20(r1) /* 801FDF38 001FAE98 38 A1 00 20 */ addi r5, r1, 0x20 /* 801FDF3C 001FAE9C 4B E7 EC 3D */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 801FDF40 001FAEA0 38 1C FF F3 */ addi r0, r28, -13 /* 801FDF44 001FAEA4 28 00 00 1B */ cmplwi r0, 0x1b /* 801FDF48 001FAEA8 41 81 04 30 */ bgt lbl_801FE378 /* 801FDF4C 001FAEAC 3C 60 80 3E */ lis r3, lbl_803E6B28@ha /* 801FDF50 001FAEB0 54 00 10 3A */ slwi r0, r0, 2 /* 801FDF54 001FAEB4 38 63 6B 28 */ addi r3, r3, lbl_803E6B28@l /* 801FDF58 001FAEB8 7C 03 00 2E */ lwzx r0, r3, r0 /* 801FDF5C 001FAEBC 7C 09 03 A6 */ mtctr r0 /* 801FDF60 001FAEC0 4E 80 04 20 */ bctr /* 801FDF64 001FAEC4 83 FD 00 2C */ lwz r31, 0x2c(r29) /* 801FDF68 001FAEC8 48 00 00 CC */ b lbl_801FE034 lbl_801FDF6C: /* 801FDF6C 001FAECC 80 7F 00 00 */ lwz r3, 0(r31) /* 801FDF70 001FAED0 2C 03 00 0C */ cmpwi r3, 0xc /* 801FDF74 001FAED4 40 82 00 60 */ bne lbl_801FDFD4 /* 801FDF78 001FAED8 80 1F 00 08 */ lwz r0, 8(r31) /* 801FDF7C 001FAEDC 7F C4 F3 78 */ mr r4, r30 /* 801FDF80 001FAEE0 38 61 00 1C */ addi r3, r1, 0x1c /* 801FDF84 001FAEE4 38 A1 00 34 */ addi r5, r1, 0x34 /* 801FDF88 001FAEE8 90 01 00 34 */ stw r0, 0x34(r1) /* 801FDF8C 001FAEEC 4B E4 9F 91 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801FDF90 001FAEF0 A0 01 00 1C */ lhz r0, 0x1c(r1) /* 801FDF94 001FAEF4 7F C3 F3 78 */ mr r3, r30 /* 801FDF98 001FAEF8 38 81 00 18 */ addi r4, r1, 0x18 /* 801FDF9C 001FAEFC B0 01 00 24 */ sth r0, 0x24(r1) /* 801FDFA0 001FAF00 B0 01 00 18 */ sth r0, 0x18(r1) /* 801FDFA4 001FAF04 4B E4 E5 D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 801FDFA8 001FAF08 7C 64 1B 78 */ mr r4, r3 /* 801FDFAC 001FAF0C 38 61 00 50 */ addi r3, r1, 0x50 /* 801FDFB0 001FAF10 4B EA CA 7D */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" /* 801FDFB4 001FAF14 80 63 00 04 */ lwz r3, 4(r3) /* 801FDFB8 001FAF18 28 03 00 00 */ cmplwi r3, 0 /* 801FDFBC 001FAF1C 41 82 00 74 */ beq lbl_801FE030 /* 801FDFC0 001FAF20 A0 1D 00 08 */ lhz r0, 8(r29) /* 801FDFC4 001FAF24 B0 01 00 10 */ sth r0, 0x10(r1) /* 801FDFC8 001FAF28 B0 01 00 14 */ sth r0, 0x14(r1) /* 801FDFCC 001FAF2C B0 03 00 FA */ sth r0, 0xfa(r3) /* 801FDFD0 001FAF30 48 00 00 60 */ b lbl_801FE030 lbl_801FDFD4: /* 801FDFD4 001FAF34 2C 03 00 0D */ cmpwi r3, 0xd /* 801FDFD8 001FAF38 40 82 00 24 */ bne lbl_801FDFFC /* 801FDFDC 001FAF3C 80 1F 00 04 */ lwz r0, 4(r31) /* 801FDFE0 001FAF40 2C 00 00 06 */ cmpwi r0, 6 /* 801FDFE4 001FAF44 40 82 00 18 */ bne lbl_801FDFFC /* 801FDFE8 001FAF48 88 1D 06 A0 */ lbz r0, 0x6a0(r29) /* 801FDFEC 001FAF4C 38 60 00 01 */ li r3, 1 /* 801FDFF0 001FAF50 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801FDFF4 001FAF54 98 1D 06 A0 */ stb r0, 0x6a0(r29) /* 801FDFF8 001FAF58 48 00 00 38 */ b lbl_801FE030 lbl_801FDFFC: /* 801FDFFC 001FAF5C 2C 03 00 0A */ cmpwi r3, 0xa /* 801FE000 001FAF60 40 82 00 30 */ bne lbl_801FE030 /* 801FE004 001FAF64 80 1F 00 04 */ lwz r0, 4(r31) /* 801FE008 001FAF68 2C 00 00 13 */ cmpwi r0, 0x13 /* 801FE00C 001FAF6C 40 82 00 24 */ bne lbl_801FE030 /* 801FE010 001FAF70 80 1F 00 08 */ lwz r0, 8(r31) /* 801FE014 001FAF74 7F C4 F3 78 */ mr r4, r30 /* 801FE018 001FAF78 38 61 00 0C */ addi r3, r1, 0xc /* 801FE01C 001FAF7C 38 A1 00 30 */ addi r5, r1, 0x30 /* 801FE020 001FAF80 90 01 00 30 */ stw r0, 0x30(r1) /* 801FE024 001FAF84 4B E4 9E F9 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 801FE028 001FAF88 A0 01 00 0C */ lhz r0, 0xc(r1) /* 801FE02C 001FAF8C B0 1D 08 5C */ sth r0, 0x85c(r29) lbl_801FE030: /* 801FE030 001FAF90 3B FF 00 0C */ addi r31, r31, 0xc lbl_801FE034: /* 801FE034 001FAF94 80 1D 00 24 */ lwz r0, 0x24(r29) /* 801FE038 001FAF98 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 801FE03C 001FAF9C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801FE040 001FAFA0 7C 03 02 14 */ add r0, r3, r0 /* 801FE044 001FAFA4 7C 1F 00 40 */ cmplw r31, r0 /* 801FE048 001FAFA8 40 82 FF 24 */ bne lbl_801FDF6C /* 801FE04C 001FAFAC 80 BD 00 04 */ lwz r5, 4(r29) /* 801FE050 001FAFB0 80 9E 08 50 */ lwz r4, 0x850(r30) /* 801FE054 001FAFB4 54 A3 18 38 */ slwi r3, r5, 3 /* 801FE058 001FAFB8 90 A1 00 28 */ stw r5, 0x28(r1) /* 801FE05C 001FAFBC 80 84 00 20 */ lwz r4, 0x20(r4) /* 801FE060 001FAFC0 38 03 00 04 */ addi r0, r3, 4 /* 801FE064 001FAFC4 90 A1 00 2C */ stw r5, 0x2c(r1) /* 801FE068 001FAFC8 7C 64 00 2E */ lwzx r3, r4, r0 /* 801FE06C 001FAFCC 80 63 01 2C */ lwz r3, 0x12c(r3) /* 801FE070 001FAFD0 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 801FE074 001FAFD4 90 1D 06 A8 */ stw r0, 0x6a8(r29) /* 801FE078 001FAFD8 88 1D 00 30 */ lbz r0, 0x30(r29) /* 801FE07C 001FAFDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801FE080 001FAFE0 41 82 00 10 */ beq lbl_801FE090 /* 801FE084 001FAFE4 7F A3 EB 78 */ mr r3, r29 /* 801FE088 001FAFE8 7F C4 F3 78 */ mr r4, r30 /* 801FE08C 001FAFEC 4B FF F7 71 */ bl sub_801fd7fc lbl_801FE090: /* 801FE090 001FAFF0 88 1D 06 A0 */ lbz r0, 0x6a0(r29) /* 801FE094 001FAFF4 7F A3 EB 78 */ mr r3, r29 /* 801FE098 001FAFF8 C0 22 AF 60 */ lfs f1, lbl_805ACC80@sda21(r2) /* 801FE09C 001FAFFC 7F C4 F3 78 */ mr r4, r30 /* 801FE0A0 001FB000 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f /* 801FE0A4 001FB004 4B FF FB 45 */ bl sub_801fdbe8 /* 801FE0A8 001FB008 80 BD 00 64 */ lwz r5, 0x64(r29) /* 801FE0AC 001FB00C 3C 60 80 57 */ lis r3, lbl_80572118@ha /* 801FE0B0 001FB010 38 83 21 18 */ addi r4, r3, lbl_80572118@l /* 801FE0B4 001FB014 7F C6 F3 78 */ mr r6, r30 /* 801FE0B8 001FB018 80 65 00 10 */ lwz r3, 0x10(r5) /* 801FE0BC 001FB01C 38 A0 00 01 */ li r5, 1 /* 801FE0C0 001FB020 4B E2 CD 01 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager /* 801FE0C4 001FB024 48 00 02 B4 */ b lbl_801FE378 /* 801FE0C8 001FB028 C3 BD 06 28 */ lfs f29, 0x628(r29) /* 801FE0CC 001FB02C C3 DD 06 24 */ lfs f30, 0x624(r29) /* 801FE0D0 001FB030 80 7E 09 00 */ lwz r3, 0x900(r30) /* 801FE0D4 001FB034 48 11 44 09 */ bl Float__9CRandom16Fv /* 801FE0D8 001FB038 EC 1D F0 7A */ fmadds f0, f29, f1, f30 /* 801FE0DC 001FB03C D0 1D 08 6C */ stfs f0, 0x86c(r29) /* 801FE0E0 001FB040 48 00 02 98 */ b lbl_801FE378 /* 801FE0E4 001FB044 80 7D 04 50 */ lwz r3, 0x450(r29) /* 801FE0E8 001FB048 4B F3 BF E5 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 801FE0EC 001FB04C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FE0F0 001FB050 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 801FE0F4 001FB054 40 82 00 4C */ bne lbl_801FE140 /* 801FE0F8 001FB058 88 1D 04 00 */ lbz r0, 0x400(r29) /* 801FE0FC 001FB05C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 801FE100 001FB060 40 82 00 40 */ bne lbl_801FE140 /* 801FE104 001FB064 88 1D 06 A1 */ lbz r0, 0x6a1(r29) /* 801FE108 001FB068 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801FE10C 001FB06C 40 82 00 34 */ bne lbl_801FE140 /* 801FE110 001FB070 7F A3 EB 78 */ mr r3, r29 /* 801FE114 001FB074 C3 BD 00 E8 */ lfs f29, 0xe8(r29) /* 801FE118 001FB078 81 9D 00 00 */ lwz r12, 0(r29) /* 801FE11C 001FB07C 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 801FE120 001FB080 7D 89 03 A6 */ mtctr r12 /* 801FE124 001FB084 4E 80 04 21 */ bctrl /* 801FE128 001FB088 FC 20 08 50 */ fneg f1, f1 /* 801FE12C 001FB08C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FE130 001FB090 D0 1D 01 50 */ stfs f0, 0x150(r29) /* 801FE134 001FB094 EC 21 07 72 */ fmuls f1, f1, f29 /* 801FE138 001FB098 D0 1D 01 54 */ stfs f0, 0x154(r29) /* 801FE13C 001FB09C D0 3D 01 58 */ stfs f1, 0x158(r29) lbl_801FE140: /* 801FE140 001FB0A0 38 00 00 00 */ li r0, 0 /* 801FE144 001FB0A4 90 1D 07 EC */ stw r0, 0x7ec(r29) /* 801FE148 001FB0A8 48 00 02 30 */ b lbl_801FE378 /* 801FE14C 001FB0AC 38 00 00 02 */ li r0, 2 /* 801FE150 001FB0B0 90 1D 07 EC */ stw r0, 0x7ec(r29) /* 801FE154 001FB0B4 48 00 02 24 */ b lbl_801FE378 /* 801FE158 001FB0B8 A0 1D 06 A4 */ lhz r0, 0x6a4(r29) /* 801FE15C 001FB0BC 7F A3 EB 78 */ mr r3, r29 /* 801FE160 001FB0C0 7F C4 F3 78 */ mr r4, r30 /* 801FE164 001FB0C4 38 A1 00 08 */ addi r5, r1, 8 /* 801FE168 001FB0C8 B0 01 00 08 */ sth r0, 8(r1) /* 801FE16C 001FB0CC 4B E7 E7 41 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId /* 801FE170 001FB0D0 7C 7F 1B 79 */ or. r31, r3, r3 /* 801FE174 001FB0D4 41 82 02 04 */ beq lbl_801FE378 /* 801FE178 001FB0D8 88 1D 03 28 */ lbz r0, 0x328(r29) /* 801FE17C 001FB0DC 38 60 00 00 */ li r3, 0 /* 801FE180 001FB0E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 801FE184 001FB0E4 7F A3 EB 78 */ mr r3, r29 /* 801FE188 001FB0E8 98 1D 03 28 */ stb r0, 0x328(r29) /* 801FE18C 001FB0EC 81 9D 00 00 */ lwz r12, 0(r29) /* 801FE190 001FB0F0 C3 BD 00 E8 */ lfs f29, 0xe8(r29) /* 801FE194 001FB0F4 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 801FE198 001FB0F8 7D 89 03 A6 */ mtctr r12 /* 801FE19C 001FB0FC 4E 80 04 21 */ bctrl /* 801FE1A0 001FB100 FC 40 E8 50 */ fneg f2, f29 /* 801FE1A4 001FB104 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FE1A8 001FB108 7F A3 EB 78 */ mr r3, r29 /* 801FE1AC 001FB10C 7F C5 F3 78 */ mr r5, r30 /* 801FE1B0 001FB110 D0 1D 01 50 */ stfs f0, 0x150(r29) /* 801FE1B4 001FB114 38 80 00 25 */ li r4, 0x25 /* 801FE1B8 001FB118 EC 22 00 72 */ fmuls f1, f2, f1 /* 801FE1BC 001FB11C D0 1D 01 54 */ stfs f0, 0x154(r29) /* 801FE1C0 001FB120 D0 3D 01 58 */ stfs f1, 0x158(r29) /* 801FE1C4 001FB124 4B E5 61 8D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 801FE1C8 001FB128 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 801FE1CC 001FB12C 7F A3 EB 78 */ mr r3, r29 /* 801FE1D0 001FB130 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 801FE1D4 001FB134 38 81 00 60 */ addi r4, r1, 0x60 /* 801FE1D8 001FB138 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 801FE1DC 001FB13C D0 01 00 60 */ stfs f0, 0x60(r1) /* 801FE1E0 001FB140 D0 21 00 64 */ stfs f1, 0x64(r1) /* 801FE1E4 001FB144 D0 41 00 68 */ stfs f2, 0x68(r1) /* 801FE1E8 001FB148 4B E7 E9 75 */ bl SetDestPos__10CPatternedFRC9CVector3f /* 801FE1EC 001FB14C C0 3F 00 60 */ lfs f1, 0x60(r31) /* 801FE1F0 001FB150 C0 1D 00 60 */ lfs f0, 0x60(r29) /* 801FE1F4 001FB154 C0 9F 00 40 */ lfs f4, 0x40(r31) /* 801FE1F8 001FB158 C0 7D 00 40 */ lfs f3, 0x40(r29) /* 801FE1FC 001FB15C EF C1 00 28 */ fsubs f30, f1, f0 /* 801FE200 001FB160 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FE204 001FB164 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 801FE208 001FB168 EF E4 18 28 */ fsubs f31, f4, f3 /* 801FE20C 001FB16C C0 3D 00 50 */ lfs f1, 0x50(r29) /* 801FE210 001FB170 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801FE214 001FB174 EF A2 08 28 */ fsubs f29, f2, f1 /* 801FE218 001FB178 40 80 01 60 */ bge lbl_801FE378 /* 801FE21C 001FB17C C0 1D 01 38 */ lfs f0, 0x138(r29) /* 801FE220 001FB180 7F A3 EB 78 */ mr r3, r29 /* 801FE224 001FB184 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 801FE228 001FB188 C0 1D 01 3C */ lfs f0, 0x13c(r29) /* 801FE22C 001FB18C D0 01 00 70 */ stfs f0, 0x70(r1) /* 801FE230 001FB190 C0 1D 01 40 */ lfs f0, 0x140(r29) /* 801FE234 001FB194 D0 01 00 74 */ stfs f0, 0x74(r1) /* 801FE238 001FB198 81 9D 00 00 */ lwz r12, 0(r29) /* 801FE23C 001FB19C 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 801FE240 001FB1A0 7D 89 03 A6 */ mtctr r12 /* 801FE244 001FB1A4 4E 80 04 21 */ bctrl /* 801FE248 001FB1A8 C0 02 AF 64 */ lfs f0, lbl_805ACC84@sda21(r2) /* 801FE24C 001FB1AC C0 81 00 74 */ lfs f4, 0x74(r1) /* 801FE250 001FB1B0 EC 40 00 72 */ fmuls f2, f0, f1 /* 801FE254 001FB1B4 C0 62 AF 60 */ lfs f3, lbl_805ACC80@sda21(r2) /* 801FE258 001FB1B8 EC 04 01 32 */ fmuls f0, f4, f4 /* 801FE25C 001FB1BC EC 42 07 BC */ fnmsubs f2, f2, f30, f0 /* 801FE260 001FB1C0 FC 03 10 00 */ fcmpu cr0, f3, f2 /* 801FE264 001FB1C4 40 82 00 08 */ bne lbl_801FE26C /* 801FE268 001FB1C8 48 00 00 10 */ b lbl_801FE278 lbl_801FE26C: /* 801FE26C 001FB1CC FC 00 10 34 */ frsqrte f0, f2 /* 801FE270 001FB1D0 FC 62 00 32 */ fmul f3, f2, f0 /* 801FE274 001FB1D4 FC 60 18 18 */ frsp f3, f3 lbl_801FE278: /* 801FE278 001FB1D8 C0 41 00 74 */ lfs f2, 0x74(r1) /* 801FE27C 001FB1DC C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FE280 001FB1E0 FC 40 10 50 */ fneg f2, f2 /* 801FE284 001FB1E4 EC 42 18 2A */ fadds f2, f2, f3 /* 801FE288 001FB1E8 EF C2 08 24 */ fdivs f30, f2, f1 /* 801FE28C 001FB1EC FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 801FE290 001FB1F0 40 81 00 E8 */ ble lbl_801FE378 /* 801FE294 001FB1F4 FC 20 F8 90 */ fmr f1, f31 /* 801FE298 001FB1F8 38 61 00 40 */ addi r3, r1, 0x40 /* 801FE29C 001FB1FC FC 40 E8 90 */ fmr f2, f29 /* 801FE2A0 001FB200 48 11 5F 61 */ bl __ct__9CVector2fFff /* 801FE2A4 001FB204 38 61 00 48 */ addi r3, r1, 0x48 /* 801FE2A8 001FB208 38 81 00 40 */ addi r4, r1, 0x40 /* 801FE2AC 001FB20C 48 11 5D D5 */ bl AsNormalized__9CVector2fCFv /* 801FE2B0 001FB210 C0 61 00 48 */ lfs f3, 0x48(r1) /* 801FE2B4 001FB214 FC 20 F8 90 */ fmr f1, f31 /* 801FE2B8 001FB218 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 801FE2BC 001FB21C FC 40 E8 90 */ fmr f2, f29 /* 801FE2C0 001FB220 D0 61 00 58 */ stfs f3, 0x58(r1) /* 801FE2C4 001FB224 38 61 00 38 */ addi r3, r1, 0x38 /* 801FE2C8 001FB228 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801FE2CC 001FB22C 48 11 5F 35 */ bl __ct__9CVector2fFff /* 801FE2D0 001FB230 38 61 00 38 */ addi r3, r1, 0x38 /* 801FE2D4 001FB234 48 11 5E 21 */ bl Magnitude__9CVector2fCFv /* 801FE2D8 001FB238 EC 41 F0 24 */ fdivs f2, f1, f30 /* 801FE2DC 001FB23C C0 21 00 58 */ lfs f1, 0x58(r1) /* 801FE2E0 001FB240 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801FE2E4 001FB244 7F A3 EB 78 */ mr r3, r29 /* 801FE2E8 001FB248 38 81 00 6C */ addi r4, r1, 0x6c /* 801FE2EC 001FB24C EC 22 00 72 */ fmuls f1, f2, f1 /* 801FE2F0 001FB250 EC 02 00 32 */ fmuls f0, f2, f0 /* 801FE2F4 001FB254 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 801FE2F8 001FB258 D0 01 00 70 */ stfs f0, 0x70(r1) /* 801FE2FC 001FB25C 4B F1 C9 A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f /* 801FE300 001FB260 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FE304 001FB264 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) /* 801FE308 001FB268 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FE30C 001FB26C D0 3D 08 70 */ stfs f1, 0x870(r29) /* 801FE310 001FB270 C0 23 00 04 */ lfs f1, 4(r3) /* 801FE314 001FB274 D0 3D 08 74 */ stfs f1, 0x874(r29) /* 801FE318 001FB278 C0 23 00 08 */ lfs f1, 8(r3) /* 801FE31C 001FB27C D0 3D 08 78 */ stfs f1, 0x878(r29) /* 801FE320 001FB280 C0 23 00 00 */ lfs f1, 0(r3) /* 801FE324 001FB284 D0 3D 08 7C */ stfs f1, 0x87c(r29) /* 801FE328 001FB288 C0 23 00 04 */ lfs f1, 4(r3) /* 801FE32C 001FB28C D0 3D 08 80 */ stfs f1, 0x880(r29) /* 801FE330 001FB290 C0 23 00 08 */ lfs f1, 8(r3) /* 801FE334 001FB294 D0 3D 08 84 */ stfs f1, 0x884(r29) /* 801FE338 001FB298 D0 1D 08 98 */ stfs f0, 0x898(r29) /* 801FE33C 001FB29C 48 00 00 3C */ b lbl_801FE378 /* 801FE340 001FB2A0 88 1D 06 A1 */ lbz r0, 0x6a1(r29) /* 801FE344 001FB2A4 38 60 00 00 */ li r3, 0 /* 801FE348 001FB2A8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801FE34C 001FB2AC 98 1D 06 A1 */ stb r0, 0x6a1(r29) /* 801FE350 001FB2B0 48 00 00 28 */ b lbl_801FE378 /* 801FE354 001FB2B4 88 1D 06 A1 */ lbz r0, 0x6a1(r29) /* 801FE358 001FB2B8 38 60 00 01 */ li r3, 1 /* 801FE35C 001FB2BC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 801FE360 001FB2C0 98 1D 06 A1 */ stb r0, 0x6a1(r29) /* 801FE364 001FB2C4 48 00 00 14 */ b lbl_801FE378 /* 801FE368 001FB2C8 88 1D 06 A2 */ lbz r0, 0x6a2(r29) /* 801FE36C 001FB2CC 38 60 00 01 */ li r3, 1 /* 801FE370 001FB2D0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801FE374 001FB2D4 98 1D 06 A2 */ stb r0, 0x6a2(r29) lbl_801FE378: /* 801FE378 001FB2D8 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 801FE37C 001FB2DC CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 801FE380 001FB2E0 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 801FE384 001FB2E4 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 801FE388 001FB2E8 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 801FE38C 001FB2EC CB A1 00 90 */ lfd f29, 0x90(r1) /* 801FE390 001FB2F0 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 801FE394 001FB2F4 83 C1 00 88 */ lwz r30, 0x88(r1) /* 801FE398 001FB2F8 83 A1 00 84 */ lwz r29, 0x84(r1) /* 801FE39C 001FB2FC 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 801FE3A0 001FB300 83 81 00 80 */ lwz r28, 0x80(r1) /* 801FE3A4 001FB304 7C 08 03 A6 */ mtlr r0 /* 801FE3A8 001FB308 38 21 00 C0 */ addi r1, r1, 0xc0 /* 801FE3AC 001FB30C 4E 80 00 20 */ blr .global Accept__13CFlyingPirateFR8IVisitor Accept__13CFlyingPirateFR8IVisitor: /* 801FE3B0 001FB310 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801FE3B4 001FB314 7C 08 02 A6 */ mflr r0 /* 801FE3B8 001FB318 90 01 00 14 */ stw r0, 0x14(r1) /* 801FE3BC 001FB31C 7C 60 1B 78 */ mr r0, r3 /* 801FE3C0 001FB320 7C 83 23 78 */ mr r3, r4 /* 801FE3C4 001FB324 81 84 00 00 */ lwz r12, 0(r4) /* 801FE3C8 001FB328 7C 04 03 78 */ mr r4, r0 /* 801FE3CC 001FB32C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 801FE3D0 001FB330 7D 89 03 A6 */ mtctr r12 /* 801FE3D4 001FB334 4E 80 04 21 */ bctrl /* 801FE3D8 001FB338 80 01 00 14 */ lwz r0, 0x14(r1) /* 801FE3DC 001FB33C 7C 08 03 A6 */ mtlr r0 /* 801FE3E0 001FB340 38 21 00 10 */ addi r1, r1, 0x10 /* 801FE3E4 001FB344 4E 80 00 20 */ blr .global "__ct__13CFlyingPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffUiUiRC11CDamageInfoUsUiRC11CDamageInfoUiffUiRC11CDamageInfoifffUsUs" "__ct__13CFlyingPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffUiUiRC11CDamageInfoUsUiRC11CDamageInfoUiffUiRC11CDamageInfoifffUsUs": /* 801FE3E8 001FB348 94 21 FE 70 */ stwu r1, -0x190(r1) /* 801FE3EC 001FB34C 7C 08 02 A6 */ mflr r0 /* 801FE3F0 001FB350 7C EC 3B 78 */ mr r12, r7 /* 801FE3F4 001FB354 39 60 00 01 */ li r11, 1 /* 801FE3F8 001FB358 90 01 01 94 */ stw r0, 0x194(r1) /* 801FE3FC 001FB35C 38 E0 00 00 */ li r7, 0 /* 801FE400 001FB360 BF 01 01 70 */ stmw r24, 0x170(r1) /* 801FE404 001FB364 7D 5B 53 78 */ mr r27, r10 /* 801FE408 001FB368 7C DC 33 78 */ mr r28, r6 /* 801FE40C 001FB36C 7D 0A 43 78 */ mr r10, r8 /* 801FE410 001FB370 7C A6 2B 78 */ mr r6, r5 /* 801FE414 001FB374 83 21 01 98 */ lwz r25, 0x198(r1) /* 801FE418 001FB378 83 01 01 9C */ lwz r24, 0x19c(r1) /* 801FE41C 001FB37C 7C 7A 1B 78 */ mr r26, r3 /* 801FE420 001FB380 7F 88 E3 78 */ mr r8, r28 /* 801FE424 001FB384 38 A1 00 30 */ addi r5, r1, 0x30 /* 801FE428 001FB388 A0 04 00 00 */ lhz r0, 0(r4) /* 801FE42C 001FB38C 38 80 00 00 */ li r4, 0 /* 801FE430 001FB390 B0 01 00 30 */ sth r0, 0x30(r1) /* 801FE434 001FB394 38 00 00 07 */ li r0, 7 /* 801FE438 001FB398 93 61 00 08 */ stw r27, 8(r1) /* 801FE43C 001FB39C 90 81 00 0C */ stw r4, 0xc(r1) /* 801FE440 001FB3A0 38 80 00 0E */ li r4, 0xe /* 801FE444 001FB3A4 91 61 00 10 */ stw r11, 0x10(r1) /* 801FE448 001FB3A8 90 01 00 14 */ stw r0, 0x14(r1) /* 801FE44C 001FB3AC 91 21 00 18 */ stw r9, 0x18(r1) /* 801FE450 001FB3B0 7D 89 63 78 */ mr r9, r12 /* 801FE454 001FB3B4 91 61 00 1C */ stw r11, 0x1c(r1) /* 801FE458 001FB3B8 4B E7 EF F9 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 801FE45C 001FB3BC 3C 60 80 3E */ lis r3, lbl_803E685C@ha /* 801FE460 001FB3C0 7F 24 CB 78 */ mr r4, r25 /* 801FE464 001FB3C4 38 03 68 5C */ addi r0, r3, lbl_803E685C@l /* 801FE468 001FB3C8 7F 05 C3 78 */ mr r5, r24 /* 801FE46C 001FB3CC 90 1A 00 00 */ stw r0, 0(r26) /* 801FE470 001FB3D0 38 7A 05 68 */ addi r3, r26, 0x568 /* 801FE474 001FB3D4 48 00 07 F9 */ bl sub_801fec6c /* 801FE478 001FB3D8 38 00 00 00 */ li r0, 0 /* 801FE47C 001FB3DC 38 C0 00 01 */ li r6, 1 /* 801FE480 001FB3E0 90 1A 06 5C */ stw r0, 0x65c(r26) /* 801FE484 001FB3E4 38 7A 06 A8 */ addi r3, r26, 0x6a8 /* 801FE488 001FB3E8 38 80 00 00 */ li r4, 0 /* 801FE48C 001FB3EC 90 1A 06 84 */ stw r0, 0x684(r26) /* 801FE490 001FB3F0 80 FA 05 70 */ lwz r7, 0x570(r26) /* 801FE494 001FB3F4 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE498 001FB3F8 50 E5 3E 30 */ rlwimi r5, r7, 7, 0x18, 0x18 /* 801FE49C 001FB3FC 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4A0 001FB400 80 FA 05 70 */ lwz r7, 0x570(r26) /* 801FE4A4 001FB404 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4A8 001FB408 50 E5 2E 72 */ rlwimi r5, r7, 5, 0x19, 0x19 /* 801FE4AC 001FB40C 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4B0 001FB410 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4B4 001FB414 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a /* 801FE4B8 001FB418 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4BC 001FB41C 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4C0 001FB420 50 05 26 F6 */ rlwimi r5, r0, 4, 0x1b, 0x1b /* 801FE4C4 001FB424 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4C8 001FB428 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4CC 001FB42C 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c /* 801FE4D0 001FB430 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4D4 001FB434 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4D8 001FB438 50 05 17 7A */ rlwimi r5, r0, 2, 0x1d, 0x1d /* 801FE4DC 001FB43C 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4E0 001FB440 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4E4 001FB444 50 05 0F BC */ rlwimi r5, r0, 1, 0x1e, 0x1e /* 801FE4E8 001FB448 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4EC 001FB44C 88 BA 06 A0 */ lbz r5, 0x6a0(r26) /* 801FE4F0 001FB450 50 C5 07 FE */ rlwimi r5, r6, 0, 0x1f, 0x1f /* 801FE4F4 001FB454 98 BA 06 A0 */ stb r5, 0x6a0(r26) /* 801FE4F8 001FB458 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE4FC 001FB45C 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 /* 801FE500 001FB460 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE504 001FB464 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE508 001FB468 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 /* 801FE50C 001FB46C 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE510 001FB470 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE514 001FB474 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a /* 801FE518 001FB478 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE51C 001FB47C 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE520 001FB480 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c /* 801FE524 001FB484 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE528 001FB488 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE52C 001FB48C 50 05 17 7A */ rlwimi r5, r0, 2, 0x1d, 0x1d /* 801FE530 001FB490 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE534 001FB494 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE538 001FB498 50 05 0F BC */ rlwimi r5, r0, 1, 0x1e, 0x1e /* 801FE53C 001FB49C 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE540 001FB4A0 88 BA 06 A1 */ lbz r5, 0x6a1(r26) /* 801FE544 001FB4A4 50 05 07 FE */ rlwimi r5, r0, 0, 0x1f, 0x1f /* 801FE548 001FB4A8 98 BA 06 A1 */ stb r5, 0x6a1(r26) /* 801FE54C 001FB4AC 88 BA 06 A2 */ lbz r5, 0x6a2(r26) /* 801FE550 001FB4B0 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 /* 801FE554 001FB4B4 98 BA 06 A2 */ stb r5, 0x6a2(r26) /* 801FE558 001FB4B8 88 BA 06 A2 */ lbz r5, 0x6a2(r26) /* 801FE55C 001FB4BC 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 /* 801FE560 001FB4C0 98 BA 06 A2 */ stb r5, 0x6a2(r26) /* 801FE564 001FB4C4 88 BA 06 A2 */ lbz r5, 0x6a2(r26) /* 801FE568 001FB4C8 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a /* 801FE56C 001FB4CC 98 BA 06 A2 */ stb r5, 0x6a2(r26) /* 801FE570 001FB4D0 88 BA 06 A2 */ lbz r5, 0x6a2(r26) /* 801FE574 001FB4D4 50 05 26 F6 */ rlwimi r5, r0, 4, 0x1b, 0x1b /* 801FE578 001FB4D8 98 BA 06 A2 */ stb r5, 0x6a2(r26) /* 801FE57C 001FB4DC 88 BA 06 A2 */ lbz r5, 0x6a2(r26) /* 801FE580 001FB4E0 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c /* 801FE584 001FB4E4 98 BA 06 A2 */ stb r5, 0x6a2(r26) /* 801FE588 001FB4E8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FE58C 001FB4EC B0 1A 06 A4 */ sth r0, 0x6a4(r26) /* 801FE590 001FB4F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FE594 001FB4F4 B0 1A 06 A6 */ sth r0, 0x6a6(r26) /* 801FE598 001FB4F8 88 1A 06 A0 */ lbz r0, 0x6a0(r26) /* 801FE59C 001FB4FC 80 DB 01 0C */ lwz r6, 0x10c(r27) /* 801FE5A0 001FB500 54 05 D7 FE */ rlwinm r5, r0, 0x1a, 0x1f, 0x1f /* 801FE5A4 001FB504 C0 3B 00 C4 */ lfs f1, 0xc4(r27) /* 801FE5A8 001FB508 7C 05 00 D0 */ neg r0, r5 /* 801FE5AC 001FB50C C0 5B 00 C8 */ lfs f2, 0xc8(r27) /* 801FE5B0 001FB510 7C 00 2B 78 */ or r0, r0, r5 /* 801FE5B4 001FB514 54 05 0F FE */ srwi r5, r0, 0x1f /* 801FE5B8 001FB518 38 A5 00 03 */ addi r5, r5, 3 /* 801FE5BC 001FB51C 4B FC A7 D9 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 801FE5C0 001FB520 38 00 00 00 */ li r0, 0 /* 801FE5C4 001FB524 3C 60 80 3D */ lis r3, lbl_803D247C@ha /* 801FE5C8 001FB528 90 1A 07 90 */ stw r0, 0x790(r26) /* 801FE5CC 001FB52C 38 83 24 7C */ addi r4, r3, lbl_803D247C@l /* 801FE5D0 001FB530 38 A0 00 FF */ li r5, 0xff /* 801FE5D4 001FB534 38 00 FF FF */ li r0, -1 /* 801FE5D8 001FB538 C0 1B 00 54 */ lfs f0, 0x54(r27) /* 801FE5DC 001FB53C 38 61 01 18 */ addi r3, r1, 0x118 /* 801FE5E0 001FB540 38 84 00 19 */ addi r4, r4, 0x19 /* 801FE5E4 001FB544 D0 1A 07 94 */ stfs f0, 0x794(r26) /* 801FE5E8 001FB548 98 BA 07 98 */ stb r5, 0x798(r26) /* 801FE5EC 001FB54C 90 1A 07 9C */ stw r0, 0x79c(r26) /* 801FE5F0 001FB550 4B E0 66 C9 */ bl string_l__4rstlFPCc /* 801FE5F4 001FB554 80 9A 00 64 */ lwz r4, 0x64(r26) /* 801FE5F8 001FB558 38 7A 07 A0 */ addi r3, r26, 0x7a0 /* 801FE5FC 001FB55C C0 22 B0 08 */ lfs f1, lbl_805ACD28@sda21(r2) /* 801FE600 001FB560 38 A1 01 18 */ addi r5, r1, 0x118 /* 801FE604 001FB564 80 84 00 10 */ lwz r4, 0x10(r4) /* 801FE608 001FB568 38 C0 00 00 */ li r6, 0 /* 801FE60C 001FB56C C0 42 AF 8C */ lfs f2, lbl_805ACCAC@sda21(r2) /* 801FE610 001FB570 4B F7 73 A9 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 801FE614 001FB574 38 61 01 18 */ addi r3, r1, 0x118 /* 801FE618 001FB578 48 13 F4 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FE61C 001FB57C C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FE620 001FB580 3C 60 80 3E */ lis r3, lbl_803E67E8@ha /* 801FE624 001FB584 38 83 67 E8 */ addi r4, r3, lbl_803E67E8@l /* 801FE628 001FB588 38 00 00 FF */ li r0, 0xff /* 801FE62C 001FB58C D0 1A 07 D8 */ stfs f0, 0x7d8(r26) /* 801FE630 001FB590 38 60 00 00 */ li r3, 0 /* 801FE634 001FB594 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FE638 001FB598 38 A0 00 00 */ li r5, 0 /* 801FE63C 001FB59C 90 7A 07 DC */ stw r3, 0x7dc(r26) /* 801FE640 001FB5A0 38 7A 07 EC */ addi r3, r26, 0x7ec /* 801FE644 001FB5A4 98 1A 07 E0 */ stb r0, 0x7e0(r26) /* 801FE648 001FB5A8 D0 1A 07 E4 */ stfs f0, 0x7e4(r26) /* 801FE64C 001FB5AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FE650 001FB5B0 B0 1A 07 E8 */ sth r0, 0x7e8(r26) /* 801FE654 001FB5B4 4B FA EE B1 */ bl __ct__10CBurstFireFPPC6SBursti /* 801FE658 001FB5B8 38 00 FF FF */ li r0, -1 /* 801FE65C 001FB5BC 3C 60 80 3D */ lis r3, lbl_803D247C@ha /* 801FE660 001FB5C0 90 1A 08 4C */ stw r0, 0x84c(r26) /* 801FE664 001FB5C4 38 83 24 7C */ addi r4, r3, lbl_803D247C@l /* 801FE668 001FB5C8 C0 82 AF 7C */ lfs f4, lbl_805ACC9C@sda21(r2) /* 801FE66C 001FB5CC 38 C0 00 00 */ li r6, 0 /* 801FE670 001FB5D0 C0 02 B0 0C */ lfs f0, lbl_805ACD2C@sda21(r2) /* 801FE674 001FB5D4 3C A0 80 5A */ lis r5, skZero3f@ha /* 801FE678 001FB5D8 D0 9A 08 50 */ stfs f4, 0x850(r26) /* 801FE67C 001FB5DC 38 61 01 08 */ addi r3, r1, 0x108 /* 801FE680 001FB5E0 C0 42 AF C0 */ lfs f2, lbl_805ACCE0@sda21(r2) /* 801FE684 001FB5E4 38 84 00 19 */ addi r4, r4, 0x19 /* 801FE688 001FB5E8 D0 1A 08 54 */ stfs f0, 0x854(r26) /* 801FE68C 001FB5EC C0 62 AF 60 */ lfs f3, lbl_805ACC80@sda21(r2) /* 801FE690 001FB5F0 D0 1A 08 58 */ stfs f0, 0x858(r26) /* 801FE694 001FB5F4 C0 22 AF D0 */ lfs f1, lbl_805ACCF0@sda21(r2) /* 801FE698 001FB5F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FE69C 001FB5FC C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FE6A0 001FB600 B0 1A 08 5C */ sth r0, 0x85c(r26) /* 801FE6A4 001FB604 D0 5A 08 60 */ stfs f2, 0x860(r26) /* 801FE6A8 001FB608 90 DA 08 64 */ stw r6, 0x864(r26) /* 801FE6AC 001FB60C D0 7A 08 6C */ stfs f3, 0x86c(r26) /* 801FE6B0 001FB610 C4 45 66 A0 */ lfsu f2, skZero3f@l(r5) /* 801FE6B4 001FB614 D0 5A 08 70 */ stfs f2, 0x870(r26) /* 801FE6B8 001FB618 C0 45 00 04 */ lfs f2, 4(r5) /* 801FE6BC 001FB61C D0 5A 08 74 */ stfs f2, 0x874(r26) /* 801FE6C0 001FB620 C0 45 00 08 */ lfs f2, 8(r5) /* 801FE6C4 001FB624 D0 5A 08 78 */ stfs f2, 0x878(r26) /* 801FE6C8 001FB628 C0 45 00 00 */ lfs f2, 0(r5) /* 801FE6CC 001FB62C D0 5A 08 7C */ stfs f2, 0x87c(r26) /* 801FE6D0 001FB630 C0 45 00 04 */ lfs f2, 4(r5) /* 801FE6D4 001FB634 D0 5A 08 80 */ stfs f2, 0x880(r26) /* 801FE6D8 001FB638 C0 45 00 08 */ lfs f2, 8(r5) /* 801FE6DC 001FB63C D0 5A 08 84 */ stfs f2, 0x884(r26) /* 801FE6E0 001FB640 D0 3A 08 88 */ stfs f1, 0x888(r26) /* 801FE6E4 001FB644 D0 9A 08 8C */ stfs f4, 0x88c(r26) /* 801FE6E8 001FB648 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FE6EC 001FB64C B0 1A 08 90 */ sth r0, 0x890(r26) /* 801FE6F0 001FB650 D0 1A 08 94 */ stfs f0, 0x894(r26) /* 801FE6F4 001FB654 D0 1A 08 98 */ stfs f0, 0x898(r26) /* 801FE6F8 001FB658 90 DA 08 9C */ stw r6, 0x89c(r26) /* 801FE6FC 001FB65C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 801FE700 001FB660 B0 1A 08 A0 */ sth r0, 0x8a0(r26) /* 801FE704 001FB664 D0 7A 08 A4 */ stfs f3, 0x8a4(r26) /* 801FE708 001FB668 80 BA 00 64 */ lwz r5, 0x64(r26) /* 801FE70C 001FB66C 83 05 00 10 */ lwz r24, 0x10(r5) /* 801FE710 001FB670 4B E0 65 A9 */ bl string_l__4rstlFPCc /* 801FE714 001FB674 7F 04 C3 78 */ mr r4, r24 /* 801FE718 001FB678 38 61 00 2C */ addi r3, r1, 0x2c /* 801FE71C 001FB67C 38 A1 01 08 */ addi r5, r1, 0x108 /* 801FE720 001FB680 4B E3 01 19 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801FE724 001FB684 88 01 00 2C */ lbz r0, 0x2c(r1) /* 801FE728 001FB688 38 61 01 08 */ addi r3, r1, 0x108 /* 801FE72C 001FB68C 98 1A 07 98 */ stb r0, 0x798(r26) /* 801FE730 001FB690 48 13 F3 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FE734 001FB694 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801FE738 001FB698 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801FE73C 001FB69C 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801FE740 001FB6A0 38 84 00 20 */ addi r4, r4, 0x20 /* 801FE744 001FB6A4 4B E0 65 75 */ bl string_l__4rstlFPCc /* 801FE748 001FB6A8 7F 04 C3 78 */ mr r4, r24 /* 801FE74C 001FB6AC 38 61 00 28 */ addi r3, r1, 0x28 /* 801FE750 001FB6B0 38 A1 00 F8 */ addi r5, r1, 0xf8 /* 801FE754 001FB6B4 4B E3 00 E5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801FE758 001FB6B8 88 01 00 28 */ lbz r0, 0x28(r1) /* 801FE75C 001FB6BC 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801FE760 001FB6C0 98 1A 07 E0 */ stb r0, 0x7e0(r26) /* 801FE764 001FB6C4 48 13 F3 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FE768 001FB6C8 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801FE76C 001FB6CC 38 61 00 E8 */ addi r3, r1, 0xe8 /* 801FE770 001FB6D0 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801FE774 001FB6D4 38 84 00 2B */ addi r4, r4, 0x2b /* 801FE778 001FB6D8 4B E0 65 41 */ bl string_l__4rstlFPCc /* 801FE77C 001FB6DC 7F 04 C3 78 */ mr r4, r24 /* 801FE780 001FB6E0 38 61 00 24 */ addi r3, r1, 0x24 /* 801FE784 001FB6E4 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 801FE788 001FB6E8 4B E3 00 B1 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801FE78C 001FB6EC 38 7A 08 64 */ addi r3, r26, 0x864 /* 801FE790 001FB6F0 80 1A 08 64 */ lwz r0, 0x864(r26) /* 801FE794 001FB6F4 7C 63 02 14 */ add r3, r3, r0 /* 801FE798 001FB6F8 34 63 00 04 */ addic. r3, r3, 4 /* 801FE79C 001FB6FC 41 82 00 0C */ beq lbl_801FE7A8 /* 801FE7A0 001FB700 88 01 00 24 */ lbz r0, 0x24(r1) /* 801FE7A4 001FB704 98 03 00 00 */ stb r0, 0(r3) lbl_801FE7A8: /* 801FE7A8 001FB708 80 9A 08 64 */ lwz r4, 0x864(r26) /* 801FE7AC 001FB70C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 801FE7B0 001FB710 38 04 00 01 */ addi r0, r4, 1 /* 801FE7B4 001FB714 90 1A 08 64 */ stw r0, 0x864(r26) /* 801FE7B8 001FB718 48 13 F3 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FE7BC 001FB71C 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801FE7C0 001FB720 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801FE7C4 001FB724 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801FE7C8 001FB728 38 84 00 3A */ addi r4, r4, 0x3a /* 801FE7CC 001FB72C 4B E0 64 ED */ bl string_l__4rstlFPCc /* 801FE7D0 001FB730 7F 04 C3 78 */ mr r4, r24 /* 801FE7D4 001FB734 38 61 00 20 */ addi r3, r1, 0x20 /* 801FE7D8 001FB738 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 801FE7DC 001FB73C 4B E3 00 5D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801FE7E0 001FB740 38 7A 08 64 */ addi r3, r26, 0x864 /* 801FE7E4 001FB744 80 1A 08 64 */ lwz r0, 0x864(r26) /* 801FE7E8 001FB748 7C 63 02 14 */ add r3, r3, r0 /* 801FE7EC 001FB74C 34 63 00 04 */ addic. r3, r3, 4 /* 801FE7F0 001FB750 41 82 00 0C */ beq lbl_801FE7FC /* 801FE7F4 001FB754 88 01 00 20 */ lbz r0, 0x20(r1) /* 801FE7F8 001FB758 98 03 00 00 */ stb r0, 0(r3) lbl_801FE7FC: /* 801FE7FC 001FB75C 80 9A 08 64 */ lwz r4, 0x864(r26) /* 801FE800 001FB760 38 61 00 D8 */ addi r3, r1, 0xd8 /* 801FE804 001FB764 38 04 00 01 */ addi r0, r4, 1 /* 801FE808 001FB768 90 1A 08 64 */ stw r0, 0x864(r26) /* 801FE80C 001FB76C 48 13 F2 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FE810 001FB770 38 61 00 74 */ addi r3, r1, 0x74 /* 801FE814 001FB774 48 0E 48 69 */ bl NoParameter__12CPASAnimParmFv /* 801FE818 001FB778 38 61 00 7C */ addi r3, r1, 0x7c /* 801FE81C 001FB77C 48 0E 48 61 */ bl NoParameter__12CPASAnimParmFv /* 801FE820 001FB780 38 61 00 84 */ addi r3, r1, 0x84 /* 801FE824 001FB784 48 0E 48 59 */ bl NoParameter__12CPASAnimParmFv /* 801FE828 001FB788 38 61 00 8C */ addi r3, r1, 0x8c /* 801FE82C 001FB78C 48 0E 48 51 */ bl NoParameter__12CPASAnimParmFv /* 801FE830 001FB790 38 61 00 94 */ addi r3, r1, 0x94 /* 801FE834 001FB794 48 0E 48 49 */ bl NoParameter__12CPASAnimParmFv /* 801FE838 001FB798 38 61 00 9C */ addi r3, r1, 0x9c /* 801FE83C 001FB79C 48 0E 48 41 */ bl NoParameter__12CPASAnimParmFv /* 801FE840 001FB7A0 38 61 00 A4 */ addi r3, r1, 0xa4 /* 801FE844 001FB7A4 38 80 00 01 */ li r4, 1 /* 801FE848 001FB7A8 48 0E 47 3D */ bl FromEnum__12CPASAnimParmFi /* 801FE84C 001FB7AC 38 61 00 AC */ addi r3, r1, 0xac /* 801FE850 001FB7B0 38 80 00 03 */ li r4, 3 /* 801FE854 001FB7B4 48 0E 47 31 */ bl FromEnum__12CPASAnimParmFi /* 801FE858 001FB7B8 38 61 00 7C */ addi r3, r1, 0x7c /* 801FE85C 001FB7BC 38 01 00 74 */ addi r0, r1, 0x74 /* 801FE860 001FB7C0 90 61 00 08 */ stw r3, 8(r1) /* 801FE864 001FB7C4 38 61 01 28 */ addi r3, r1, 0x128 /* 801FE868 001FB7C8 38 A1 00 AC */ addi r5, r1, 0xac /* 801FE86C 001FB7CC 38 C1 00 A4 */ addi r6, r1, 0xa4 /* 801FE870 001FB7D0 90 01 00 0C */ stw r0, 0xc(r1) /* 801FE874 001FB7D4 38 E1 00 9C */ addi r7, r1, 0x9c /* 801FE878 001FB7D8 39 01 00 94 */ addi r8, r1, 0x94 /* 801FE87C 001FB7DC 39 21 00 8C */ addi r9, r1, 0x8c /* 801FE880 001FB7E0 39 41 00 84 */ addi r10, r1, 0x84 /* 801FE884 001FB7E4 38 80 00 03 */ li r4, 3 /* 801FE888 001FB7E8 4B E7 EA 3D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 801FE88C 001FB7EC 83 1A 00 64 */ lwz r24, 0x64(r26) /* 801FE890 001FB7F0 7F 43 D3 78 */ mr r3, r26 /* 801FE894 001FB7F4 38 81 01 28 */ addi r4, r1, 0x128 /* 801FE898 001FB7F8 4B E7 E1 69 */ bl func_8007CA00 /* 801FE89C 001FB7FC C0 18 00 00 */ lfs f0, 0(r24) /* 801FE8A0 001FB800 EC 00 00 72 */ fmuls f0, f0, f1 /* 801FE8A4 001FB804 D0 1A 08 50 */ stfs f0, 0x850(r26) /* 801FE8A8 001FB808 80 9A 06 40 */ lwz r4, 0x640(r26) /* 801FE8AC 001FB80C 3C 04 00 01 */ addis r0, r4, 1 /* 801FE8B0 001FB810 28 00 FF FF */ cmplwi r0, 0xffff /* 801FE8B4 001FB814 41 82 03 34 */ beq lbl_801FEBE8 /* 801FE8B8 001FB818 80 7A 06 44 */ lwz r3, 0x644(r26) /* 801FE8BC 001FB81C 3C 03 00 01 */ addis r0, r3, 1 /* 801FE8C0 001FB820 28 00 FF FF */ cmplwi r0, 0xffff /* 801FE8C4 001FB824 41 82 03 24 */ beq lbl_801FEBE8 /* 801FE8C8 001FB828 80 7A 06 48 */ lwz r3, 0x648(r26) /* 801FE8CC 001FB82C 3C 03 00 01 */ addis r0, r3, 1 /* 801FE8D0 001FB830 28 00 FF FF */ cmplwi r0, 0xffff /* 801FE8D4 001FB834 41 82 03 14 */ beq lbl_801FEBE8 /* 801FE8D8 001FB838 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801FE8DC 001FB83C 90 81 00 70 */ stw r4, 0x70(r1) /* 801FE8E0 001FB840 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801FE8E4 001FB844 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801FE8E8 001FB848 90 01 00 6C */ stw r0, 0x6c(r1) /* 801FE8EC 001FB84C 38 61 00 64 */ addi r3, r1, 0x64 /* 801FE8F0 001FB850 38 A1 00 6C */ addi r5, r1, 0x6c /* 801FE8F4 001FB854 81 84 00 00 */ lwz r12, 0(r4) /* 801FE8F8 001FB858 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801FE8FC 001FB85C 7D 89 03 A6 */ mtctr r12 /* 801FE900 001FB860 4E 80 04 21 */ bctrl /* 801FE904 001FB864 3B 01 00 CC */ addi r24, r1, 0xcc /* 801FE908 001FB868 38 81 00 64 */ addi r4, r1, 0x64 /* 801FE90C 001FB86C 7F 03 C3 78 */ mr r3, r24 /* 801FE910 001FB870 48 14 25 99 */ bl __ct__6CTokenFRC6CToken /* 801FE914 001FB874 7F 03 C3 78 */ mr r3, r24 /* 801FE918 001FB878 48 14 24 F5 */ bl GetObj__6CTokenFv /* 801FE91C 001FB87C 80 03 00 04 */ lwz r0, 4(r3) /* 801FE920 001FB880 38 7A 06 5C */ addi r3, r26, 0x65c /* 801FE924 001FB884 90 01 00 D4 */ stw r0, 0xd4(r1) /* 801FE928 001FB888 80 1A 06 5C */ lwz r0, 0x65c(r26) /* 801FE92C 001FB88C 1C 00 00 0C */ mulli r0, r0, 0xc /* 801FE930 001FB890 7F 23 02 14 */ add r25, r3, r0 /* 801FE934 001FB894 37 39 00 04 */ addic. r25, r25, 4 /* 801FE938 001FB898 41 82 00 20 */ beq lbl_801FE958 /* 801FE93C 001FB89C 7F 23 CB 78 */ mr r3, r25 /* 801FE940 001FB8A0 7F 04 C3 78 */ mr r4, r24 /* 801FE944 001FB8A4 48 14 25 65 */ bl __ct__6CTokenFRC6CToken /* 801FE948 001FB8A8 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801FE94C 001FB8AC 7F 23 CB 78 */ mr r3, r25 /* 801FE950 001FB8B0 90 19 00 08 */ stw r0, 8(r25) /* 801FE954 001FB8B4 48 14 24 31 */ bl Lock__6CTokenFv lbl_801FE958: /* 801FE958 001FB8B8 80 BA 06 5C */ lwz r5, 0x65c(r26) /* 801FE95C 001FB8BC 38 61 00 CC */ addi r3, r1, 0xcc /* 801FE960 001FB8C0 38 80 00 00 */ li r4, 0 /* 801FE964 001FB8C4 38 05 00 01 */ addi r0, r5, 1 /* 801FE968 001FB8C8 90 1A 06 5C */ stw r0, 0x65c(r26) /* 801FE96C 001FB8CC 48 14 24 D5 */ bl __dt__6CTokenFv /* 801FE970 001FB8D0 38 61 00 64 */ addi r3, r1, 0x64 /* 801FE974 001FB8D4 38 80 FF FF */ li r4, -1 /* 801FE978 001FB8D8 48 14 24 C9 */ bl __dt__6CTokenFv /* 801FE97C 001FB8DC 80 DA 06 44 */ lwz r6, 0x644(r26) /* 801FE980 001FB8E0 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801FE984 001FB8E4 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801FE988 001FB8E8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801FE98C 001FB8EC 90 01 00 5C */ stw r0, 0x5c(r1) /* 801FE990 001FB8F0 38 61 00 54 */ addi r3, r1, 0x54 /* 801FE994 001FB8F4 38 A1 00 5C */ addi r5, r1, 0x5c /* 801FE998 001FB8F8 90 C1 00 60 */ stw r6, 0x60(r1) /* 801FE99C 001FB8FC 81 84 00 00 */ lwz r12, 0(r4) /* 801FE9A0 001FB900 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801FE9A4 001FB904 7D 89 03 A6 */ mtctr r12 /* 801FE9A8 001FB908 4E 80 04 21 */ bctrl /* 801FE9AC 001FB90C 3B 01 00 C0 */ addi r24, r1, 0xc0 /* 801FE9B0 001FB910 38 81 00 54 */ addi r4, r1, 0x54 /* 801FE9B4 001FB914 7F 03 C3 78 */ mr r3, r24 /* 801FE9B8 001FB918 48 14 24 F1 */ bl __ct__6CTokenFRC6CToken /* 801FE9BC 001FB91C 7F 03 C3 78 */ mr r3, r24 /* 801FE9C0 001FB920 48 14 24 4D */ bl GetObj__6CTokenFv /* 801FE9C4 001FB924 80 03 00 04 */ lwz r0, 4(r3) /* 801FE9C8 001FB928 38 7A 06 5C */ addi r3, r26, 0x65c /* 801FE9CC 001FB92C 90 01 00 C8 */ stw r0, 0xc8(r1) /* 801FE9D0 001FB930 80 1A 06 5C */ lwz r0, 0x65c(r26) /* 801FE9D4 001FB934 1C 00 00 0C */ mulli r0, r0, 0xc /* 801FE9D8 001FB938 7F 23 02 14 */ add r25, r3, r0 /* 801FE9DC 001FB93C 37 39 00 04 */ addic. r25, r25, 4 /* 801FE9E0 001FB940 41 82 00 20 */ beq lbl_801FEA00 /* 801FE9E4 001FB944 7F 23 CB 78 */ mr r3, r25 /* 801FE9E8 001FB948 7F 04 C3 78 */ mr r4, r24 /* 801FE9EC 001FB94C 48 14 24 BD */ bl __ct__6CTokenFRC6CToken /* 801FE9F0 001FB950 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 801FE9F4 001FB954 7F 23 CB 78 */ mr r3, r25 /* 801FE9F8 001FB958 90 19 00 08 */ stw r0, 8(r25) /* 801FE9FC 001FB95C 48 14 23 89 */ bl Lock__6CTokenFv lbl_801FEA00: /* 801FEA00 001FB960 80 BA 06 5C */ lwz r5, 0x65c(r26) /* 801FEA04 001FB964 38 61 00 C0 */ addi r3, r1, 0xc0 /* 801FEA08 001FB968 38 80 00 00 */ li r4, 0 /* 801FEA0C 001FB96C 38 05 00 01 */ addi r0, r5, 1 /* 801FEA10 001FB970 90 1A 06 5C */ stw r0, 0x65c(r26) /* 801FEA14 001FB974 48 14 24 2D */ bl __dt__6CTokenFv /* 801FEA18 001FB978 38 61 00 54 */ addi r3, r1, 0x54 /* 801FEA1C 001FB97C 38 80 FF FF */ li r4, -1 /* 801FEA20 001FB980 48 14 24 21 */ bl __dt__6CTokenFv /* 801FEA24 001FB984 80 DA 06 48 */ lwz r6, 0x648(r26) /* 801FEA28 001FB988 3C 60 50 41 */ lis r3, 0x50415254@ha /* 801FEA2C 001FB98C 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 801FEA30 001FB990 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801FEA34 001FB994 90 01 00 4C */ stw r0, 0x4c(r1) /* 801FEA38 001FB998 38 61 00 44 */ addi r3, r1, 0x44 /* 801FEA3C 001FB99C 38 A1 00 4C */ addi r5, r1, 0x4c /* 801FEA40 001FB9A0 90 C1 00 50 */ stw r6, 0x50(r1) /* 801FEA44 001FB9A4 81 84 00 00 */ lwz r12, 0(r4) /* 801FEA48 001FB9A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801FEA4C 001FB9AC 7D 89 03 A6 */ mtctr r12 /* 801FEA50 001FB9B0 4E 80 04 21 */ bctrl /* 801FEA54 001FB9B4 3B 01 00 B4 */ addi r24, r1, 0xb4 /* 801FEA58 001FB9B8 38 81 00 44 */ addi r4, r1, 0x44 /* 801FEA5C 001FB9BC 7F 03 C3 78 */ mr r3, r24 /* 801FEA60 001FB9C0 48 14 24 49 */ bl __ct__6CTokenFRC6CToken /* 801FEA64 001FB9C4 7F 03 C3 78 */ mr r3, r24 /* 801FEA68 001FB9C8 48 14 23 A5 */ bl GetObj__6CTokenFv /* 801FEA6C 001FB9CC 80 03 00 04 */ lwz r0, 4(r3) /* 801FEA70 001FB9D0 38 7A 06 5C */ addi r3, r26, 0x65c /* 801FEA74 001FB9D4 90 01 00 BC */ stw r0, 0xbc(r1) /* 801FEA78 001FB9D8 80 1A 06 5C */ lwz r0, 0x65c(r26) /* 801FEA7C 001FB9DC 1C 00 00 0C */ mulli r0, r0, 0xc /* 801FEA80 001FB9E0 7F 23 02 14 */ add r25, r3, r0 /* 801FEA84 001FB9E4 37 39 00 04 */ addic. r25, r25, 4 /* 801FEA88 001FB9E8 41 82 00 20 */ beq lbl_801FEAA8 /* 801FEA8C 001FB9EC 7F 23 CB 78 */ mr r3, r25 /* 801FEA90 001FB9F0 7F 04 C3 78 */ mr r4, r24 /* 801FEA94 001FB9F4 48 14 24 15 */ bl __ct__6CTokenFRC6CToken /* 801FEA98 001FB9F8 80 01 00 BC */ lwz r0, 0xbc(r1) /* 801FEA9C 001FB9FC 7F 23 CB 78 */ mr r3, r25 /* 801FEAA0 001FBA00 90 19 00 08 */ stw r0, 8(r25) /* 801FEAA4 001FBA04 48 14 22 E1 */ bl Lock__6CTokenFv lbl_801FEAA8: /* 801FEAA8 001FBA08 80 BA 06 5C */ lwz r5, 0x65c(r26) /* 801FEAAC 001FBA0C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 801FEAB0 001FBA10 38 80 00 00 */ li r4, 0 /* 801FEAB4 001FBA14 38 05 00 01 */ addi r0, r5, 1 /* 801FEAB8 001FBA18 90 1A 06 5C */ stw r0, 0x65c(r26) /* 801FEABC 001FBA1C 48 14 23 85 */ bl __dt__6CTokenFv /* 801FEAC0 001FBA20 38 61 00 44 */ addi r3, r1, 0x44 /* 801FEAC4 001FBA24 38 80 FF FF */ li r4, -1 /* 801FEAC8 001FBA28 48 14 23 79 */ bl __dt__6CTokenFv /* 801FEACC 001FBA2C 3B C0 00 00 */ li r30, 0 /* 801FEAD0 001FBA30 3C 60 80 3D */ lis r3, lbl_803D247C@ha /* 801FEAD4 001FBA34 7F DD F3 78 */ mr r29, r30 /* 801FEAD8 001FBA38 3B 9A 06 84 */ addi r28, r26, 0x684 /* 801FEADC 001FBA3C 3B E3 24 7C */ addi r31, r3, lbl_803D247C@l /* 801FEAE0 001FBA40 3B 60 00 00 */ li r27, 0 /* 801FEAE4 001FBA44 48 00 00 F8 */ b lbl_801FEBDC lbl_801FEAE8: /* 801FEAE8 001FBA48 38 9F 00 08 */ addi r4, r31, 8 /* 801FEAEC 001FBA4C 3B 20 00 00 */ li r25, 0 /* 801FEAF0 001FBA50 38 60 03 40 */ li r3, 0x340 /* 801FEAF4 001FBA54 38 A0 00 00 */ li r5, 0 /* 801FEAF8 001FBA58 48 11 6D 75 */ bl __nw__FUlPCcPCc /* 801FEAFC 001FBA5C 7C 78 1B 79 */ or. r24, r3, r3 /* 801FEB00 001FBA60 41 82 00 30 */ beq lbl_801FEB30 /* 801FEB04 001FBA64 7C 9A F2 14 */ add r4, r26, r30 /* 801FEB08 001FBA68 38 61 00 3C */ addi r3, r1, 0x3c /* 801FEB0C 001FBA6C 38 84 06 60 */ addi r4, r4, 0x660 /* 801FEB10 001FBA70 48 14 23 99 */ bl __ct__6CTokenFRC6CToken /* 801FEB14 001FBA74 7F 03 C3 78 */ mr r3, r24 /* 801FEB18 001FBA78 38 81 00 3C */ addi r4, r1, 0x3c /* 801FEB1C 001FBA7C 3B 20 00 01 */ li r25, 1 /* 801FEB20 001FBA80 38 A0 00 00 */ li r5, 0 /* 801FEB24 001FBA84 38 C0 00 01 */ li r6, 1 /* 801FEB28 001FBA88 48 12 08 B9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 801FEB2C 001FBA8C 7C 78 1B 78 */ mr r24, r3 lbl_801FEB30: /* 801FEB30 001FBA90 80 1C 00 00 */ lwz r0, 0(r28) /* 801FEB34 001FBA94 7C 78 00 D0 */ neg r3, r24 /* 801FEB38 001FBA98 7C 63 C3 78 */ or r3, r3, r24 /* 801FEB3C 001FBA9C 93 01 00 38 */ stw r24, 0x38(r1) /* 801FEB40 001FBAA0 54 00 18 38 */ slwi r0, r0, 3 /* 801FEB44 001FBAA4 7C 9C 02 14 */ add r4, r28, r0 /* 801FEB48 001FBAA8 54 60 0F FE */ srwi r0, r3, 0x1f /* 801FEB4C 001FBAAC 34 84 00 04 */ addic. r4, r4, 4 /* 801FEB50 001FBAB0 98 01 00 34 */ stb r0, 0x34(r1) /* 801FEB54 001FBAB4 41 82 00 14 */ beq lbl_801FEB68 /* 801FEB58 001FBAB8 98 04 00 00 */ stb r0, 0(r4) /* 801FEB5C 001FBABC 38 00 00 00 */ li r0, 0 /* 801FEB60 001FBAC0 93 04 00 04 */ stw r24, 4(r4) /* 801FEB64 001FBAC4 98 01 00 34 */ stb r0, 0x34(r1) lbl_801FEB68: /* 801FEB68 001FBAC8 80 7A 06 84 */ lwz r3, 0x684(r26) /* 801FEB6C 001FBACC 88 01 00 34 */ lbz r0, 0x34(r1) /* 801FEB70 001FBAD0 38 63 00 01 */ addi r3, r3, 1 /* 801FEB74 001FBAD4 28 00 00 00 */ cmplwi r0, 0 /* 801FEB78 001FBAD8 90 7A 06 84 */ stw r3, 0x684(r26) /* 801FEB7C 001FBADC 41 82 00 24 */ beq lbl_801FEBA0 /* 801FEB80 001FBAE0 80 61 00 38 */ lwz r3, 0x38(r1) /* 801FEB84 001FBAE4 28 03 00 00 */ cmplwi r3, 0 /* 801FEB88 001FBAE8 41 82 00 18 */ beq lbl_801FEBA0 /* 801FEB8C 001FBAEC 81 83 00 00 */ lwz r12, 0(r3) /* 801FEB90 001FBAF0 38 80 00 01 */ li r4, 1 /* 801FEB94 001FBAF4 81 8C 00 08 */ lwz r12, 8(r12) /* 801FEB98 001FBAF8 7D 89 03 A6 */ mtctr r12 /* 801FEB9C 001FBAFC 4E 80 04 21 */ bctrl lbl_801FEBA0: /* 801FEBA0 001FBB00 7F 20 07 75 */ extsb. r0, r25 /* 801FEBA4 001FBB04 41 82 00 10 */ beq lbl_801FEBB4 /* 801FEBA8 001FBB08 38 61 00 3C */ addi r3, r1, 0x3c /* 801FEBAC 001FBB0C 38 80 00 00 */ li r4, 0 /* 801FEBB0 001FBB10 48 14 22 91 */ bl __dt__6CTokenFv lbl_801FEBB4: /* 801FEBB4 001FBB14 7C 7A EA 14 */ add r3, r26, r29 /* 801FEBB8 001FBB18 38 80 00 00 */ li r4, 0 /* 801FEBBC 001FBB1C 80 63 06 8C */ lwz r3, 0x68c(r3) /* 801FEBC0 001FBB20 81 83 00 00 */ lwz r12, 0(r3) /* 801FEBC4 001FBB24 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801FEBC8 001FBB28 7D 89 03 A6 */ mtctr r12 /* 801FEBCC 001FBB2C 4E 80 04 21 */ bctrl /* 801FEBD0 001FBB30 3B DE 00 0C */ addi r30, r30, 0xc /* 801FEBD4 001FBB34 3B BD 00 08 */ addi r29, r29, 8 /* 801FEBD8 001FBB38 3B 7B 00 01 */ addi r27, r27, 1 lbl_801FEBDC: /* 801FEBDC 001FBB3C 80 1A 06 5C */ lwz r0, 0x65c(r26) /* 801FEBE0 001FBB40 7C 1B 00 00 */ cmpw r27, r0 /* 801FEBE4 001FBB44 41 80 FF 04 */ blt lbl_801FEAE8 lbl_801FEBE8: /* 801FEBE8 001FBB48 88 1A 04 E2 */ lbz r0, 0x4e2(r26) /* 801FEBEC 001FBB4C 38 60 00 01 */ li r3, 1 /* 801FEBF0 001FBB50 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 801FEBF4 001FBB54 34 A1 01 2C */ addic. r5, r1, 0x12c /* 801FEBF8 001FBB58 98 1A 04 E2 */ stb r0, 0x4e2(r26) /* 801FEBFC 001FBB5C 41 82 00 58 */ beq lbl_801FEC54 /* 801FEC00 001FBB60 80 C5 00 00 */ lwz r6, 0(r5) /* 801FEC04 001FBB64 38 60 00 00 */ li r3, 0 /* 801FEC08 001FBB68 2C 06 00 00 */ cmpwi r6, 0 /* 801FEC0C 001FBB6C 40 81 00 40 */ ble lbl_801FEC4C /* 801FEC10 001FBB70 2C 06 00 08 */ cmpwi r6, 8 /* 801FEC14 001FBB74 38 86 FF F8 */ addi r4, r6, -8 /* 801FEC18 001FBB78 40 81 00 20 */ ble lbl_801FEC38 /* 801FEC1C 001FBB7C 38 04 00 07 */ addi r0, r4, 7 /* 801FEC20 001FBB80 54 00 E8 FE */ srwi r0, r0, 3 /* 801FEC24 001FBB84 7C 09 03 A6 */ mtctr r0 /* 801FEC28 001FBB88 2C 04 00 00 */ cmpwi r4, 0 /* 801FEC2C 001FBB8C 40 81 00 0C */ ble lbl_801FEC38 lbl_801FEC30: /* 801FEC30 001FBB90 38 63 00 08 */ addi r3, r3, 8 /* 801FEC34 001FBB94 42 00 FF FC */ bdnz lbl_801FEC30 lbl_801FEC38: /* 801FEC38 001FBB98 7C 03 30 50 */ subf r0, r3, r6 /* 801FEC3C 001FBB9C 7C 09 03 A6 */ mtctr r0 /* 801FEC40 001FBBA0 7C 03 30 00 */ cmpw r3, r6 /* 801FEC44 001FBBA4 40 80 00 08 */ bge lbl_801FEC4C lbl_801FEC48: /* 801FEC48 001FBBA8 42 00 00 00 */ bdnz lbl_801FEC48 lbl_801FEC4C: /* 801FEC4C 001FBBAC 38 00 00 00 */ li r0, 0 /* 801FEC50 001FBBB0 90 05 00 00 */ stw r0, 0(r5) lbl_801FEC54: /* 801FEC54 001FBBB4 7F 43 D3 78 */ mr r3, r26 /* 801FEC58 001FBBB8 BB 01 01 70 */ lmw r24, 0x170(r1) /* 801FEC5C 001FBBBC 80 01 01 94 */ lwz r0, 0x194(r1) /* 801FEC60 001FBBC0 7C 08 03 A6 */ mtlr r0 /* 801FEC64 001FBBC4 38 21 01 90 */ addi r1, r1, 0x190 /* 801FEC68 001FBBC8 4E 80 00 20 */ blr .global sub_801fec6c sub_801fec6c: /* 801FEC6C 001FBBCC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 801FEC70 001FBBD0 7C 08 02 A6 */ mflr r0 /* 801FEC74 001FBBD4 90 01 00 54 */ stw r0, 0x54(r1) /* 801FEC78 001FBBD8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 801FEC7C 001FBBDC 7C BF 2B 78 */ mr r31, r5 /* 801FEC80 001FBBE0 93 C1 00 48 */ stw r30, 0x48(r1) /* 801FEC84 001FBBE4 7C 9E 23 78 */ mr r30, r4 /* 801FEC88 001FBBE8 93 A1 00 44 */ stw r29, 0x44(r1) /* 801FEC8C 001FBBEC 7C 7D 1B 78 */ mr r29, r3 /* 801FEC90 001FBBF0 7F C3 F3 78 */ mr r3, r30 /* 801FEC94 001FBBF4 93 81 00 40 */ stw r28, 0x40(r1) /* 801FEC98 001FBBF8 48 13 FF 91 */ bl ReadFloat__12CInputStreamFv /* 801FEC9C 001FBBFC D0 3D 00 00 */ stfs f1, 0(r29) /* 801FECA0 001FBC00 7F C3 F3 78 */ mr r3, r30 /* 801FECA4 001FBC04 48 13 FF 85 */ bl ReadFloat__12CInputStreamFv /* 801FECA8 001FBC08 D0 3D 00 04 */ stfs f1, 4(r29) /* 801FECAC 001FBC0C 7F C3 F3 78 */ mr r3, r30 /* 801FECB0 001FBC10 48 13 FF D5 */ bl ReadLong__12CInputStreamFv /* 801FECB4 001FBC14 90 7D 00 08 */ stw r3, 8(r29) /* 801FECB8 001FBC18 7F C4 F3 78 */ mr r4, r30 /* 801FECBC 001FBC1C 38 7D 00 0C */ addi r3, r29, 0xc /* 801FECC0 001FBC20 48 01 D3 51 */ bl sub_8021c010 /* 801FECC4 001FBC24 7F C3 F3 78 */ mr r3, r30 /* 801FECC8 001FBC28 48 13 FF BD */ bl ReadLong__12CInputStreamFv /* 801FECCC 001FBC2C 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801FECD0 001FBC30 48 0E 9C E1 */ bl TranslateSFXID__11CSfxManagerFUs /* 801FECD4 001FBC34 B0 7D 00 34 */ sth r3, 0x34(r29) /* 801FECD8 001FBC38 7F C4 F3 78 */ mr r4, r30 /* 801FECDC 001FBC3C 38 7D 00 38 */ addi r3, r29, 0x38 /* 801FECE0 001FBC40 48 01 D3 31 */ bl sub_8021c010 /* 801FECE4 001FBC44 88 01 00 0C */ lbz r0, 0xc(r1) /* 801FECE8 001FBC48 38 A0 00 00 */ li r5, 0 /* 801FECEC 001FBC4C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801FECF0 001FBC50 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FECF4 001FBC54 98 01 00 0C */ stb r0, 0xc(r1) /* 801FECF8 001FBC58 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 801FECFC 001FBC5C 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 /* 801FED00 001FBC60 38 C0 FF FF */ li r6, -1 /* 801FED04 001FBC64 88 01 00 38 */ lbz r0, 0x38(r1) /* 801FED08 001FBC68 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 801FED0C 001FBC6C 54 64 06 3E */ clrlwi r4, r3, 0x18 /* 801FED10 001FBC70 98 61 00 0C */ stb r3, 0xc(r1) /* 801FED14 001FBC74 50 A4 2E B4 */ rlwimi r4, r5, 5, 0x1a, 0x1a /* 801FED18 001FBC78 7F C3 F3 78 */ mr r3, r30 /* 801FED1C 001FBC7C 90 C1 00 08 */ stw r6, 8(r1) /* 801FED20 001FBC80 98 81 00 0C */ stb r4, 0xc(r1) /* 801FED24 001FBC84 90 C1 00 20 */ stw r6, 0x20(r1) /* 801FED28 001FBC88 98 81 00 24 */ stb r4, 0x24(r1) /* 801FED2C 001FBC8C D0 01 00 28 */ stfs f0, 0x28(r1) /* 801FED30 001FBC90 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801FED34 001FBC94 D0 01 00 30 */ stfs f0, 0x30(r1) /* 801FED38 001FBC98 D0 01 00 34 */ stfs f0, 0x34(r1) /* 801FED3C 001FBC9C 98 01 00 38 */ stb r0, 0x38(r1) /* 801FED40 001FBCA0 48 13 FF 45 */ bl ReadLong__12CInputStreamFv /* 801FED44 001FBCA4 7C 64 1B 78 */ mr r4, r3 /* 801FED48 001FBCA8 38 7D 00 60 */ addi r3, r29, 0x60 /* 801FED4C 001FBCAC 38 A1 00 20 */ addi r5, r1, 0x20 /* 801FED50 001FBCB0 48 01 D3 59 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 801FED54 001FBCB4 7F C3 F3 78 */ mr r3, r30 /* 801FED58 001FBCB8 48 13 FE D1 */ bl ReadFloat__12CInputStreamFv /* 801FED5C 001FBCBC D0 3D 00 88 */ stfs f1, 0x88(r29) /* 801FED60 001FBCC0 7F C3 F3 78 */ mr r3, r30 /* 801FED64 001FBCC4 48 13 FE C5 */ bl ReadFloat__12CInputStreamFv /* 801FED68 001FBCC8 D0 3D 00 8C */ stfs f1, 0x8c(r29) /* 801FED6C 001FBCCC 7F C3 F3 78 */ mr r3, r30 /* 801FED70 001FBCD0 48 13 FF 15 */ bl ReadLong__12CInputStreamFv /* 801FED74 001FBCD4 3C 80 50 41 */ lis r4, 0x50415254@ha /* 801FED78 001FBCD8 90 61 00 1C */ stw r3, 0x1c(r1) /* 801FED7C 001FBCDC 38 04 52 54 */ addi r0, r4, 0x50415254@l /* 801FED80 001FBCE0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 801FED84 001FBCE4 90 01 00 18 */ stw r0, 0x18(r1) /* 801FED88 001FBCE8 38 61 00 10 */ addi r3, r1, 0x10 /* 801FED8C 001FBCEC 38 A1 00 18 */ addi r5, r1, 0x18 /* 801FED90 001FBCF0 81 84 00 00 */ lwz r12, 0(r4) /* 801FED94 001FBCF4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 801FED98 001FBCF8 7D 89 03 A6 */ mtctr r12 /* 801FED9C 001FBCFC 4E 80 04 21 */ bctrl /* 801FEDA0 001FBD00 3B 9D 00 90 */ addi r28, r29, 0x90 /* 801FEDA4 001FBD04 38 81 00 10 */ addi r4, r1, 0x10 /* 801FEDA8 001FBD08 7F 83 E3 78 */ mr r3, r28 /* 801FEDAC 001FBD0C 48 14 20 FD */ bl __ct__6CTokenFRC6CToken /* 801FEDB0 001FBD10 7F 83 E3 78 */ mr r3, r28 /* 801FEDB4 001FBD14 48 14 20 59 */ bl GetObj__6CTokenFv /* 801FEDB8 001FBD18 80 03 00 04 */ lwz r0, 4(r3) /* 801FEDBC 001FBD1C 38 61 00 10 */ addi r3, r1, 0x10 /* 801FEDC0 001FBD20 38 80 FF FF */ li r4, -1 /* 801FEDC4 001FBD24 90 1C 00 08 */ stw r0, 8(r28) /* 801FEDC8 001FBD28 48 14 20 79 */ bl __dt__6CTokenFv /* 801FEDCC 001FBD2C 7F C4 F3 78 */ mr r4, r30 /* 801FEDD0 001FBD30 38 7D 00 9C */ addi r3, r29, 0x9c /* 801FEDD4 001FBD34 4B EC 47 8D */ bl __ct__11CDamageInfoFR12CInputStream /* 801FEDD8 001FBD38 7F C3 F3 78 */ mr r3, r30 /* 801FEDDC 001FBD3C 48 13 FE 4D */ bl ReadFloat__12CInputStreamFv /* 801FEDE0 001FBD40 D0 3D 00 B8 */ stfs f1, 0xb8(r29) /* 801FEDE4 001FBD44 7F C3 F3 78 */ mr r3, r30 /* 801FEDE8 001FBD48 48 13 FE 41 */ bl ReadFloat__12CInputStreamFv /* 801FEDEC 001FBD4C D0 3D 00 BC */ stfs f1, 0xbc(r29) /* 801FEDF0 001FBD50 7F C3 F3 78 */ mr r3, r30 /* 801FEDF4 001FBD54 48 13 FE 35 */ bl ReadFloat__12CInputStreamFv /* 801FEDF8 001FBD58 D0 3D 00 C0 */ stfs f1, 0xc0(r29) /* 801FEDFC 001FBD5C 7F C3 F3 78 */ mr r3, r30 /* 801FEE00 001FBD60 48 13 FE 29 */ bl ReadFloat__12CInputStreamFv /* 801FEE04 001FBD64 D0 3D 00 C4 */ stfs f1, 0xc4(r29) /* 801FEE08 001FBD68 7F C3 F3 78 */ mr r3, r30 /* 801FEE0C 001FBD6C 48 13 FE 79 */ bl ReadLong__12CInputStreamFv /* 801FEE10 001FBD70 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801FEE14 001FBD74 48 0E 9B 9D */ bl TranslateSFXID__11CSfxManagerFUs /* 801FEE18 001FBD78 B0 7D 00 C8 */ sth r3, 0xc8(r29) /* 801FEE1C 001FBD7C 7F C3 F3 78 */ mr r3, r30 /* 801FEE20 001FBD80 48 13 FE 65 */ bl ReadLong__12CInputStreamFv /* 801FEE24 001FBD84 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801FEE28 001FBD88 48 0E 9B 89 */ bl TranslateSFXID__11CSfxManagerFUs /* 801FEE2C 001FBD8C B0 7D 00 CA */ sth r3, 0xca(r29) /* 801FEE30 001FBD90 7F C3 F3 78 */ mr r3, r30 /* 801FEE34 001FBD94 48 13 FD F5 */ bl ReadFloat__12CInputStreamFv /* 801FEE38 001FBD98 D0 3D 00 CC */ stfs f1, 0xcc(r29) /* 801FEE3C 001FBD9C 7F C3 F3 78 */ mr r3, r30 /* 801FEE40 001FBDA0 48 13 FD E9 */ bl ReadFloat__12CInputStreamFv /* 801FEE44 001FBDA4 D0 3D 00 D0 */ stfs f1, 0xd0(r29) /* 801FEE48 001FBDA8 7F C3 F3 78 */ mr r3, r30 /* 801FEE4C 001FBDAC 48 13 FD DD */ bl ReadFloat__12CInputStreamFv /* 801FEE50 001FBDB0 D0 3D 00 D4 */ stfs f1, 0xd4(r29) /* 801FEE54 001FBDB4 7F C3 F3 78 */ mr r3, r30 /* 801FEE58 001FBDB8 48 13 FE 2D */ bl ReadLong__12CInputStreamFv /* 801FEE5C 001FBDBC 90 7D 00 D8 */ stw r3, 0xd8(r29) /* 801FEE60 001FBDC0 7F C3 F3 78 */ mr r3, r30 /* 801FEE64 001FBDC4 48 13 FE 21 */ bl ReadLong__12CInputStreamFv /* 801FEE68 001FBDC8 90 7D 00 DC */ stw r3, 0xdc(r29) /* 801FEE6C 001FBDCC 7F C3 F3 78 */ mr r3, r30 /* 801FEE70 001FBDD0 48 13 FE 15 */ bl ReadLong__12CInputStreamFv /* 801FEE74 001FBDD4 90 7D 00 E0 */ stw r3, 0xe0(r29) /* 801FEE78 001FBDD8 7F C3 F3 78 */ mr r3, r30 /* 801FEE7C 001FBDDC 48 13 FE 09 */ bl ReadLong__12CInputStreamFv /* 801FEE80 001FBDE0 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801FEE84 001FBDE4 48 0E 9B 2D */ bl TranslateSFXID__11CSfxManagerFUs /* 801FEE88 001FBDE8 B0 7D 00 E4 */ sth r3, 0xe4(r29) /* 801FEE8C 001FBDEC 7F C3 F3 78 */ mr r3, r30 /* 801FEE90 001FBDF0 48 13 FD F5 */ bl ReadLong__12CInputStreamFv /* 801FEE94 001FBDF4 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 801FEE98 001FBDF8 48 0E 9B 19 */ bl TranslateSFXID__11CSfxManagerFUs /* 801FEE9C 001FBDFC B0 7D 00 E6 */ sth r3, 0xe6(r29) /* 801FEEA0 001FBE00 7F C3 F3 78 */ mr r3, r30 /* 801FEEA4 001FBE04 48 13 FD 85 */ bl ReadFloat__12CInputStreamFv /* 801FEEA8 001FBE08 D0 3D 00 E8 */ stfs f1, 0xe8(r29) /* 801FEEAC 001FBE0C 7F C3 F3 78 */ mr r3, r30 /* 801FEEB0 001FBE10 48 13 FD 79 */ bl ReadFloat__12CInputStreamFv /* 801FEEB4 001FBE14 2C 1F 00 23 */ cmpwi r31, 0x23 /* 801FEEB8 001FBE18 D0 3D 00 EC */ stfs f1, 0xec(r29) /* 801FEEBC 001FBE1C 40 81 00 10 */ ble lbl_801FEECC /* 801FEEC0 001FBE20 7F C3 F3 78 */ mr r3, r30 /* 801FEEC4 001FBE24 48 13 FD 65 */ bl ReadFloat__12CInputStreamFv /* 801FEEC8 001FBE28 48 00 00 08 */ b lbl_801FEED0 lbl_801FEECC: /* 801FEECC 001FBE2C C0 22 AF EC */ lfs f1, lbl_805ACD0C@sda21(r2) lbl_801FEED0: /* 801FEED0 001FBE30 D0 3D 00 F0 */ stfs f1, 0xf0(r29) /* 801FEED4 001FBE34 38 7D 00 0C */ addi r3, r29, 0xc /* 801FEED8 001FBE38 48 14 1E AD */ bl Lock__6CTokenFv /* 801FEEDC 001FBE3C 38 7D 00 38 */ addi r3, r29, 0x38 /* 801FEEE0 001FBE40 48 14 1E A5 */ bl Lock__6CTokenFv /* 801FEEE4 001FBE44 38 7D 00 60 */ addi r3, r29, 0x60 /* 801FEEE8 001FBE48 48 14 1E 9D */ bl Lock__6CTokenFv /* 801FEEEC 001FBE4C 80 01 00 54 */ lwz r0, 0x54(r1) /* 801FEEF0 001FBE50 7F A3 EB 78 */ mr r3, r29 /* 801FEEF4 001FBE54 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 801FEEF8 001FBE58 83 C1 00 48 */ lwz r30, 0x48(r1) /* 801FEEFC 001FBE5C 83 A1 00 44 */ lwz r29, 0x44(r1) /* 801FEF00 001FBE60 83 81 00 40 */ lwz r28, 0x40(r1) /* 801FEF04 001FBE64 7C 08 03 A6 */ mtlr r0 /* 801FEF08 001FBE68 38 21 00 50 */ addi r1, r1, 0x50 /* 801FEF0C 001FBE6C 4E 80 00 20 */ blr .global PreRender__20CFlyingPirateRagDollFRC9CVector3fR10CModelData PreRender__20CFlyingPirateRagDollFRC9CVector3fR10CModelData: /* 801FEF10 001FBE70 94 21 FD A0 */ stwu r1, -0x260(r1) /* 801FEF14 001FBE74 7C 08 02 A6 */ mflr r0 /* 801FEF18 001FBE78 90 01 02 64 */ stw r0, 0x264(r1) /* 801FEF1C 001FBE7C BF 21 02 44 */ stmw r25, 0x244(r1) /* 801FEF20 001FBE80 7C 7A 1B 78 */ mr r26, r3 /* 801FEF24 001FBE84 7C 9B 23 78 */ mr r27, r4 /* 801FEF28 001FBE88 7C BD 2B 78 */ mr r29, r5 /* 801FEF2C 001FBE8C 88 03 00 68 */ lbz r0, 0x68(r3) /* 801FEF30 001FBE90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FEF34 001FBE94 40 82 06 68 */ bne lbl_801FF59C /* 801FEF38 001FBE98 83 FD 00 10 */ lwz r31, 0x10(r29) /* 801FEF3C 001FBE9C 3C 60 80 5A */ lis r3, lbl_805A6660@ha /* 801FEF40 001FBEA0 38 63 66 60 */ addi r3, r3, lbl_805A6660@l /* 801FEF44 001FBEA4 80 9F 00 D4 */ lwz r4, 0xd4(r31) /* 801FEF48 001FBEA8 3B DF 02 FC */ addi r30, r31, 0x2fc /* 801FEF4C 001FBEAC 3B 9E 00 40 */ addi r28, r30, 0x40 /* 801FEF50 001FBEB0 80 A4 00 14 */ lwz r5, 0x14(r4) /* 801FEF54 001FBEB4 48 00 00 70 */ b lbl_801FEFC4 lbl_801FEF58: /* 801FEF58 001FBEB8 80 DF 00 D4 */ lwz r6, 0xd4(r31) /* 801FEF5C 001FBEBC 88 05 00 00 */ lbz r0, 0(r5) /* 801FEF60 001FBEC0 81 06 00 00 */ lwz r8, 0(r6) /* 801FEF64 001FBEC4 54 07 0D FC */ rlwinm r7, r0, 1, 0x17, 0x1e /* 801FEF68 001FBEC8 7C C8 3A 14 */ add r6, r8, r7 /* 801FEF6C 001FBECC 81 08 00 D0 */ lwz r8, 0xd0(r8) /* 801FEF70 001FBED0 88 06 00 09 */ lbz r0, 9(r6) /* 801FEF74 001FBED4 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a /* 801FEF78 001FBED8 38 06 00 14 */ addi r0, r6, 0x14 /* 801FEF7C 001FBEDC 7C 08 00 2E */ lwzx r0, r8, r0 /* 801FEF80 001FBEE0 2C 00 00 01 */ cmpwi r0, 1 /* 801FEF84 001FBEE4 40 81 00 3C */ ble lbl_801FEFC0 /* 801FEF88 001FBEE8 38 07 00 01 */ addi r0, r7, 1 /* 801FEF8C 001FBEEC 3C C0 80 5A */ lis r6, lbl_805A6660@ha /* 801FEF90 001FBEF0 7C 1C 00 AE */ lbzx r0, r28, r0 /* 801FEF94 001FBEF4 80 FE 01 08 */ lwz r7, 0x108(r30) /* 801FEF98 001FBEF8 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 801FEF9C 001FBEFC C0 06 66 60 */ lfs f0, lbl_805A6660@l(r6) /* 801FEFA0 001FBF00 7C E7 02 14 */ add r7, r7, r0 /* 801FEFA4 001FBF04 D0 07 00 04 */ stfs f0, 4(r7) /* 801FEFA8 001FBF08 80 C3 00 04 */ lwz r6, 4(r3) /* 801FEFAC 001FBF0C 80 03 00 08 */ lwz r0, 8(r3) /* 801FEFB0 001FBF10 90 C7 00 08 */ stw r6, 8(r7) /* 801FEFB4 001FBF14 90 07 00 0C */ stw r0, 0xc(r7) /* 801FEFB8 001FBF18 80 03 00 0C */ lwz r0, 0xc(r3) /* 801FEFBC 001FBF1C 90 07 00 10 */ stw r0, 0x10(r7) lbl_801FEFC0: /* 801FEFC0 001FBF20 38 A5 00 01 */ addi r5, r5, 1 lbl_801FEFC4: /* 801FEFC4 001FBF24 80 C4 00 14 */ lwz r6, 0x14(r4) /* 801FEFC8 001FBF28 80 04 00 0C */ lwz r0, 0xc(r4) /* 801FEFCC 001FBF2C 7C 06 02 14 */ add r0, r6, r0 /* 801FEFD0 001FBF30 7C 05 00 40 */ cmplw r5, r0 /* 801FEFD4 001FBF34 40 82 FF 84 */ bne lbl_801FEF58 /* 801FEFD8 001FBF38 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 801FEFDC 001FBF3C 38 61 01 74 */ addi r3, r1, 0x174 /* 801FEFE0 001FBF40 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 801FEFE4 001FBF44 38 84 00 49 */ addi r4, r4, 0x49 /* 801FEFE8 001FBF48 4B E0 5C D1 */ bl string_l__4rstlFPCc /* 801FEFEC 001FBF4C 7F E4 FB 78 */ mr r4, r31 /* 801FEFF0 001FBF50 38 61 00 08 */ addi r3, r1, 8 /* 801FEFF4 001FBF54 38 A1 01 74 */ addi r5, r1, 0x174 /* 801FEFF8 001FBF58 4B E2 F8 41 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 801FEFFC 001FBF5C 8B 21 00 08 */ lbz r25, 8(r1) /* 801FF000 001FBF60 38 61 01 74 */ addi r3, r1, 0x174 /* 801FF004 001FBF64 48 13 EA DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 801FF008 001FBF68 80 BA 00 10 */ lwz r5, 0x10(r26) /* 801FF00C 001FBF6C 57 20 0D FC */ rlwinm r0, r25, 1, 0x17, 0x1e /* 801FF010 001FBF70 C0 7D 00 00 */ lfs f3, 0(r29) /* 801FF014 001FBF74 7F 3C 02 14 */ add r25, r28, r0 /* 801FF018 001FBF78 C0 85 02 04 */ lfs f4, 0x204(r5) /* 801FF01C 001FBF7C 38 61 01 50 */ addi r3, r1, 0x150 /* 801FF020 001FBF80 C0 45 02 C4 */ lfs f2, 0x2c4(r5) /* 801FF024 001FBF84 38 81 01 44 */ addi r4, r1, 0x144 /* 801FF028 001FBF88 88 19 00 01 */ lbz r0, 1(r25) /* 801FF02C 001FBF8C EC A4 10 2A */ fadds f5, f4, f2 /* 801FF030 001FBF90 C0 C2 AF 74 */ lfs f6, lbl_805ACC94@sda21(r2) /* 801FF034 001FBF94 C0 25 02 08 */ lfs f1, 0x208(r5) /* 801FF038 001FBF98 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 801FF03C 001FBF9C C0 05 02 C8 */ lfs f0, 0x2c8(r5) /* 801FF040 001FBFA0 EC A6 01 72 */ fmuls f5, f6, f5 /* 801FF044 001FBFA4 EC 81 00 2A */ fadds f4, f1, f0 /* 801FF048 001FBFA8 C0 1B 00 00 */ lfs f0, 0(r27) /* 801FF04C 001FBFAC C0 45 02 0C */ lfs f2, 0x20c(r5) /* 801FF050 001FBFB0 EC A5 00 28 */ fsubs f5, f5, f0 /* 801FF054 001FBFB4 C0 1B 00 04 */ lfs f0, 4(r27) /* 801FF058 001FBFB8 EC E6 01 32 */ fmuls f7, f6, f4 /* 801FF05C 001FBFBC C0 25 02 CC */ lfs f1, 0x2cc(r5) /* 801FF060 001FBFC0 80 BE 01 08 */ lwz r5, 0x108(r30) /* 801FF064 001FBFC4 EC E7 00 28 */ fsubs f7, f7, f0 /* 801FF068 001FBFC8 C0 9B 00 08 */ lfs f4, 8(r27) /* 801FF06C 001FBFCC EC 05 18 24 */ fdivs f0, f5, f3 /* 801FF070 001FBFD0 7C A5 02 14 */ add r5, r5, r0 /* 801FF074 001FBFD4 D0 61 01 5C */ stfs f3, 0x15c(r1) /* 801FF078 001FBFD8 D0 61 01 68 */ stfs f3, 0x168(r1) /* 801FF07C 001FBFDC EC 22 08 2A */ fadds f1, f2, f1 /* 801FF080 001FBFE0 C0 5D 00 04 */ lfs f2, 4(r29) /* 801FF084 001FBFE4 D0 41 01 60 */ stfs f2, 0x160(r1) /* 801FF088 001FBFE8 ED 06 00 72 */ fmuls f8, f6, f1 /* 801FF08C 001FBFEC C0 3D 00 08 */ lfs f1, 8(r29) /* 801FF090 001FBFF0 D0 41 01 6C */ stfs f2, 0x16c(r1) /* 801FF094 001FBFF4 ED 08 20 28 */ fsubs f8, f8, f4 /* 801FF098 001FBFF8 D0 05 00 14 */ stfs f0, 0x14(r5) /* 801FF09C 001FBFFC EC 87 10 24 */ fdivs f4, f7, f2 /* 801FF0A0 001FC000 D0 21 01 64 */ stfs f1, 0x164(r1) /* 801FF0A4 001FC004 D0 21 01 70 */ stfs f1, 0x170(r1) /* 801FF0A8 001FC008 EC 08 08 24 */ fdivs f0, f8, f1 /* 801FF0AC 001FC00C D0 85 00 18 */ stfs f4, 0x18(r5) /* 801FF0B0 001FC010 D0 05 00 1C */ stfs f0, 0x1c(r5) /* 801FF0B4 001FC014 80 BA 00 10 */ lwz r5, 0x10(r26) /* 801FF0B8 001FC018 C0 25 00 88 */ lfs f1, 0x88(r5) /* 801FF0BC 001FC01C C0 05 01 48 */ lfs f0, 0x148(r5) /* 801FF0C0 001FC020 C0 65 00 8C */ lfs f3, 0x8c(r5) /* 801FF0C4 001FC024 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FF0C8 001FC028 C0 45 01 4C */ lfs f2, 0x14c(r5) /* 801FF0CC 001FC02C C0 25 00 84 */ lfs f1, 0x84(r5) /* 801FF0D0 001FC030 C0 05 01 44 */ lfs f0, 0x144(r5) /* 801FF0D4 001FC034 EC 43 10 28 */ fsubs f2, f3, f2 /* 801FF0D8 001FC038 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FF0DC 001FC03C D0 81 01 E8 */ stfs f4, 0x1e8(r1) /* 801FF0E0 001FC040 D0 41 01 EC */ stfs f2, 0x1ec(r1) /* 801FF0E4 001FC044 D0 01 01 E4 */ stfs f0, 0x1e4(r1) /* 801FF0E8 001FC048 C0 25 02 08 */ lfs f1, 0x208(r5) /* 801FF0EC 001FC04C C0 05 02 C8 */ lfs f0, 0x2c8(r5) /* 801FF0F0 001FC050 C0 45 02 0C */ lfs f2, 0x20c(r5) /* 801FF0F4 001FC054 EC A1 00 2A */ fadds f5, f1, f0 /* 801FF0F8 001FC058 C0 05 02 CC */ lfs f0, 0x2cc(r5) /* 801FF0FC 001FC05C C0 25 02 04 */ lfs f1, 0x204(r5) /* 801FF100 001FC060 EC 82 00 2A */ fadds f4, f2, f0 /* 801FF104 001FC064 C0 05 02 C4 */ lfs f0, 0x2c4(r5) /* 801FF108 001FC068 ED 06 01 72 */ fmuls f8, f6, f5 /* 801FF10C 001FC06C EC 61 00 2A */ fadds f3, f1, f0 /* 801FF110 001FC070 C0 05 00 08 */ lfs f0, 8(r5) /* 801FF114 001FC074 EC E6 01 32 */ fmuls f7, f6, f4 /* 801FF118 001FC078 C0 25 00 0C */ lfs f1, 0xc(r5) /* 801FF11C 001FC07C ED 20 40 28 */ fsubs f9, f0, f8 /* 801FF120 001FC080 EC 46 00 F2 */ fmuls f2, f6, f3 /* 801FF124 001FC084 C0 05 00 04 */ lfs f0, 4(r5) /* 801FF128 001FC088 EC 21 38 28 */ fsubs f1, f1, f7 /* 801FF12C 001FC08C D0 61 01 2C */ stfs f3, 0x12c(r1) /* 801FF130 001FC090 EC 00 10 28 */ fsubs f0, f0, f2 /* 801FF134 001FC094 D0 A1 01 30 */ stfs f5, 0x130(r1) /* 801FF138 001FC098 D0 81 01 34 */ stfs f4, 0x134(r1) /* 801FF13C 001FC09C D0 41 01 38 */ stfs f2, 0x138(r1) /* 801FF140 001FC0A0 D1 01 01 3C */ stfs f8, 0x13c(r1) /* 801FF144 001FC0A4 D0 E1 01 40 */ stfs f7, 0x140(r1) /* 801FF148 001FC0A8 D0 01 01 44 */ stfs f0, 0x144(r1) /* 801FF14C 001FC0AC D1 21 01 48 */ stfs f9, 0x148(r1) /* 801FF150 001FC0B0 D0 21 01 4C */ stfs f1, 0x14c(r1) /* 801FF154 001FC0B4 48 11 56 FD */ bl AsNormalized__9CVector3fCFv /* 801FF158 001FC0B8 C0 A1 01 50 */ lfs f5, 0x150(r1) /* 801FF15C 001FC0BC 38 61 01 20 */ addi r3, r1, 0x120 /* 801FF160 001FC0C0 C0 81 01 54 */ lfs f4, 0x154(r1) /* 801FF164 001FC0C4 38 81 01 14 */ addi r4, r1, 0x114 /* 801FF168 001FC0C8 C0 61 01 58 */ lfs f3, 0x158(r1) /* 801FF16C 001FC0CC C0 C1 01 E8 */ lfs f6, 0x1e8(r1) /* 801FF170 001FC0D0 C0 E1 01 EC */ lfs f7, 0x1ec(r1) /* 801FF174 001FC0D4 C1 01 01 E4 */ lfs f8, 0x1e4(r1) /* 801FF178 001FC0D8 EC 46 00 F2 */ fmuls f2, f6, f3 /* 801FF17C 001FC0DC EC 27 01 72 */ fmuls f1, f7, f5 /* 801FF180 001FC0E0 D0 A1 01 D8 */ stfs f5, 0x1d8(r1) /* 801FF184 001FC0E4 EC 08 01 32 */ fmuls f0, f8, f4 /* 801FF188 001FC0E8 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 /* 801FF18C 001FC0EC D0 81 01 DC */ stfs f4, 0x1dc(r1) /* 801FF190 001FC0F0 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 /* 801FF194 001FC0F4 EC 05 01 B8 */ fmsubs f0, f5, f6, f0 /* 801FF198 001FC0F8 D0 61 01 E0 */ stfs f3, 0x1e0(r1) /* 801FF19C 001FC0FC D0 41 01 14 */ stfs f2, 0x114(r1) /* 801FF1A0 001FC100 D0 21 01 18 */ stfs f1, 0x118(r1) /* 801FF1A4 001FC104 D0 01 01 1C */ stfs f0, 0x11c(r1) /* 801FF1A8 001FC108 48 11 56 A9 */ bl AsNormalized__9CVector3fCFv /* 801FF1AC 001FC10C C0 A1 01 20 */ lfs f5, 0x120(r1) /* 801FF1B0 001FC110 38 61 02 14 */ addi r3, r1, 0x214 /* 801FF1B4 001FC114 C0 81 01 24 */ lfs f4, 0x124(r1) /* 801FF1B8 001FC118 38 81 01 E4 */ addi r4, r1, 0x1e4 /* 801FF1BC 001FC11C C0 61 01 28 */ lfs f3, 0x128(r1) /* 801FF1C0 001FC120 38 A1 01 CC */ addi r5, r1, 0x1cc /* 801FF1C4 001FC124 C0 C1 01 DC */ lfs f6, 0x1dc(r1) /* 801FF1C8 001FC128 38 C1 01 D8 */ addi r6, r1, 0x1d8 /* 801FF1CC 001FC12C C0 E1 01 E0 */ lfs f7, 0x1e0(r1) /* 801FF1D0 001FC130 C1 01 01 D8 */ lfs f8, 0x1d8(r1) /* 801FF1D4 001FC134 EC 26 00 F2 */ fmuls f1, f6, f3 /* 801FF1D8 001FC138 EC 07 01 72 */ fmuls f0, f7, f5 /* 801FF1DC 001FC13C D0 A1 01 CC */ stfs f5, 0x1cc(r1) /* 801FF1E0 001FC140 EC 48 01 32 */ fmuls f2, f8, f4 /* 801FF1E4 001FC144 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 /* 801FF1E8 001FC148 D0 81 01 D0 */ stfs f4, 0x1d0(r1) /* 801FF1EC 001FC14C EC 03 02 38 */ fmsubs f0, f3, f8, f0 /* 801FF1F0 001FC150 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 /* 801FF1F4 001FC154 D0 61 01 D4 */ stfs f3, 0x1d4(r1) /* 801FF1F8 001FC158 D0 21 01 E4 */ stfs f1, 0x1e4(r1) /* 801FF1FC 001FC15C D0 01 01 E8 */ stfs f0, 0x1e8(r1) /* 801FF200 001FC160 D0 41 01 EC */ stfs f2, 0x1ec(r1) /* 801FF204 001FC164 48 11 14 79 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f /* 801FF208 001FC168 C1 01 02 14 */ lfs f8, 0x214(r1) /* 801FF20C 001FC16C 38 61 01 04 */ addi r3, r1, 0x104 /* 801FF210 001FC170 C0 E1 02 20 */ lfs f7, 0x220(r1) /* 801FF214 001FC174 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 801FF218 001FC178 C0 C1 02 2C */ lfs f6, 0x22c(r1) /* 801FF21C 001FC17C C0 A1 02 18 */ lfs f5, 0x218(r1) /* 801FF220 001FC180 C0 81 02 24 */ lfs f4, 0x224(r1) /* 801FF224 001FC184 C0 61 02 30 */ lfs f3, 0x230(r1) /* 801FF228 001FC188 C0 41 02 1C */ lfs f2, 0x21c(r1) /* 801FF22C 001FC18C C0 21 02 28 */ lfs f1, 0x228(r1) /* 801FF230 001FC190 C0 01 02 34 */ lfs f0, 0x234(r1) /* 801FF234 001FC194 D1 01 01 F0 */ stfs f8, 0x1f0(r1) /* 801FF238 001FC198 D0 E1 01 F4 */ stfs f7, 0x1f4(r1) /* 801FF23C 001FC19C D0 C1 01 F8 */ stfs f6, 0x1f8(r1) /* 801FF240 001FC1A0 D0 A1 01 FC */ stfs f5, 0x1fc(r1) /* 801FF244 001FC1A4 D0 81 02 00 */ stfs f4, 0x200(r1) /* 801FF248 001FC1A8 D0 61 02 04 */ stfs f3, 0x204(r1) /* 801FF24C 001FC1AC D0 41 02 08 */ stfs f2, 0x208(r1) /* 801FF250 001FC1B0 D0 21 02 0C */ stfs f1, 0x20c(r1) /* 801FF254 001FC1B4 D0 01 02 10 */ stfs f0, 0x210(r1) /* 801FF258 001FC1B8 48 11 2F 29 */ bl FromMatrix__11CQuaternionFRC9CMatrix3f /* 801FF25C 001FC1BC C0 61 01 04 */ lfs f3, 0x104(r1) /* 801FF260 001FC1C0 38 61 00 F8 */ addi r3, r1, 0xf8 /* 801FF264 001FC1C4 C0 41 01 08 */ lfs f2, 0x108(r1) /* 801FF268 001FC1C8 C0 21 01 0C */ lfs f1, 0x10c(r1) /* 801FF26C 001FC1CC C0 01 01 10 */ lfs f0, 0x110(r1) /* 801FF270 001FC1D0 D0 61 01 BC */ stfs f3, 0x1bc(r1) /* 801FF274 001FC1D4 D0 41 01 C0 */ stfs f2, 0x1c0(r1) /* 801FF278 001FC1D8 D0 21 01 C4 */ stfs f1, 0x1c4(r1) /* 801FF27C 001FC1DC D0 01 01 C8 */ stfs f0, 0x1c8(r1) /* 801FF280 001FC1E0 88 19 00 01 */ lbz r0, 1(r25) /* 801FF284 001FC1E4 80 9E 01 08 */ lwz r4, 0x108(r30) /* 801FF288 001FC1E8 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 801FF28C 001FC1EC 7C A4 02 14 */ add r5, r4, r0 /* 801FF290 001FC1F0 D0 65 00 04 */ stfs f3, 4(r5) /* 801FF294 001FC1F4 80 81 01 C0 */ lwz r4, 0x1c0(r1) /* 801FF298 001FC1F8 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 801FF29C 001FC1FC 90 85 00 08 */ stw r4, 8(r5) /* 801FF2A0 001FC200 90 05 00 0C */ stw r0, 0xc(r5) /* 801FF2A4 001FC204 80 01 01 C8 */ lwz r0, 0x1c8(r1) /* 801FF2A8 001FC208 90 05 00 10 */ stw r0, 0x10(r5) /* 801FF2AC 001FC20C 83 BF 00 D4 */ lwz r29, 0xd4(r31) /* 801FF2B0 001FC210 80 BA 00 10 */ lwz r5, 0x10(r26) /* 801FF2B4 001FC214 7F A4 EB 78 */ mr r4, r29 /* 801FF2B8 001FC218 38 A5 00 40 */ addi r5, r5, 0x40 /* 801FF2BC 001FC21C 4B F2 C6 E5 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId /* 801FF2C0 001FC220 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 801FF2C4 001FC224 38 61 00 EC */ addi r3, r1, 0xec /* 801FF2C8 001FC228 C0 21 00 FC */ lfs f1, 0xfc(r1) /* 801FF2CC 001FC22C 38 81 00 DC */ addi r4, r1, 0xdc /* 801FF2D0 001FC230 C0 41 01 00 */ lfs f2, 0x100(r1) /* 801FF2D4 001FC234 38 A1 01 A4 */ addi r5, r1, 0x1a4 /* 801FF2D8 001FC238 D0 01 01 B0 */ stfs f0, 0x1b0(r1) /* 801FF2DC 001FC23C C0 01 01 C8 */ lfs f0, 0x1c8(r1) /* 801FF2E0 001FC240 D0 21 01 B4 */ stfs f1, 0x1b4(r1) /* 801FF2E4 001FC244 C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 801FF2E8 001FC248 FD 00 00 50 */ fneg f8, f0 /* 801FF2EC 001FC24C D0 41 01 B8 */ stfs f2, 0x1b8(r1) /* 801FF2F0 001FC250 C0 01 01 C0 */ lfs f0, 0x1c0(r1) /* 801FF2F4 001FC254 FC E0 08 50 */ fneg f7, f1 /* 801FF2F8 001FC258 80 DA 00 10 */ lwz r6, 0x10(r26) /* 801FF2FC 001FC25C FC C0 00 50 */ fneg f6, f0 /* 801FF300 001FC260 C0 01 01 BC */ lfs f0, 0x1bc(r1) /* 801FF304 001FC264 C0 46 00 48 */ lfs f2, 0x48(r6) /* 801FF308 001FC268 C0 26 00 08 */ lfs f1, 8(r6) /* 801FF30C 001FC26C C0 86 00 4C */ lfs f4, 0x4c(r6) /* 801FF310 001FC270 C0 66 00 0C */ lfs f3, 0xc(r6) /* 801FF314 001FC274 EC A2 08 28 */ fsubs f5, f2, f1 /* 801FF318 001FC278 C0 46 00 44 */ lfs f2, 0x44(r6) /* 801FF31C 001FC27C C0 26 00 04 */ lfs f1, 4(r6) /* 801FF320 001FC280 EC 64 18 28 */ fsubs f3, f4, f3 /* 801FF324 001FC284 EC 22 08 28 */ fsubs f1, f2, f1 /* 801FF328 001FC288 D0 A1 01 A8 */ stfs f5, 0x1a8(r1) /* 801FF32C 001FC28C D0 61 01 AC */ stfs f3, 0x1ac(r1) /* 801FF330 001FC290 D0 21 01 A4 */ stfs f1, 0x1a4(r1) /* 801FF334 001FC294 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 801FF338 001FC298 D0 C1 00 E0 */ stfs f6, 0xe0(r1) /* 801FF33C 001FC29C D0 E1 00 E4 */ stfs f7, 0xe4(r1) /* 801FF340 001FC2A0 D1 01 00 E8 */ stfs f8, 0xe8(r1) /* 801FF344 001FC2A4 48 11 1F 21 */ bl Transform__11CQuaternionCFRC9CVector3f /* 801FF348 001FC2A8 C0 41 00 EC */ lfs f2, 0xec(r1) /* 801FF34C 001FC2AC 38 61 00 CC */ addi r3, r1, 0xcc /* 801FF350 001FC2B0 C0 21 00 F0 */ lfs f1, 0xf0(r1) /* 801FF354 001FC2B4 38 81 01 B0 */ addi r4, r1, 0x1b0 /* 801FF358 001FC2B8 C0 01 00 F4 */ lfs f0, 0xf4(r1) /* 801FF35C 001FC2BC 38 A1 01 A4 */ addi r5, r1, 0x1a4 /* 801FF360 001FC2C0 D0 41 01 A4 */ stfs f2, 0x1a4(r1) /* 801FF364 001FC2C4 D0 21 01 A8 */ stfs f1, 0x1a8(r1) /* 801FF368 001FC2C8 D0 01 01 AC */ stfs f0, 0x1ac(r1) /* 801FF36C 001FC2CC 48 11 27 4D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f /* 801FF370 001FC2D0 80 7A 00 10 */ lwz r3, 0x10(r26) /* 801FF374 001FC2D4 7F 44 D3 78 */ mr r4, r26 /* 801FF378 001FC2D8 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 801FF37C 001FC2DC 7F C5 F3 78 */ mr r5, r30 /* 801FF380 001FC2E0 88 03 00 40 */ lbz r0, 0x40(r3) /* 801FF384 001FC2E4 7F A6 EB 78 */ mr r6, r29 /* 801FF388 001FC2E8 D0 01 01 98 */ stfs f0, 0x198(r1) /* 801FF38C 001FC2EC 38 61 00 BC */ addi r3, r1, 0xbc /* 801FF390 001FC2F0 54 07 08 3C */ slwi r7, r0, 1 /* 801FF394 001FC2F4 C0 41 00 CC */ lfs f2, 0xcc(r1) /* 801FF398 001FC2F8 38 07 00 01 */ addi r0, r7, 1 /* 801FF39C 001FC2FC C0 21 00 D4 */ lfs f1, 0xd4(r1) /* 801FF3A0 001FC300 7C 1C 00 AE */ lbzx r0, r28, r0 /* 801FF3A4 001FC304 39 21 01 BC */ addi r9, r1, 0x1bc /* 801FF3A8 001FC308 81 1E 01 08 */ lwz r8, 0x108(r30) /* 801FF3AC 001FC30C 38 E0 00 02 */ li r7, 2 /* 801FF3B0 001FC310 C0 01 00 D8 */ lfs f0, 0xd8(r1) /* 801FF3B4 001FC314 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 801FF3B8 001FC318 7D 68 02 14 */ add r11, r8, r0 /* 801FF3BC 001FC31C D0 21 01 9C */ stfs f1, 0x19c(r1) /* 801FF3C0 001FC320 80 01 01 98 */ lwz r0, 0x198(r1) /* 801FF3C4 001FC324 39 00 00 03 */ li r8, 3 /* 801FF3C8 001FC328 D0 4B 00 04 */ stfs f2, 4(r11) /* 801FF3CC 001FC32C 81 41 01 9C */ lwz r10, 0x19c(r1) /* 801FF3D0 001FC330 90 0B 00 08 */ stw r0, 8(r11) /* 801FF3D4 001FC334 D0 01 01 A0 */ stfs f0, 0x1a0(r1) /* 801FF3D8 001FC338 80 01 01 A0 */ lwz r0, 0x1a0(r1) /* 801FF3DC 001FC33C 91 4B 00 0C */ stw r10, 0xc(r11) /* 801FF3E0 001FC340 D0 41 01 94 */ stfs f2, 0x194(r1) /* 801FF3E4 001FC344 90 0B 00 10 */ stw r0, 0x10(r11) /* 801FF3E8 001FC348 48 00 D5 75 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF3EC 001FC34C C0 61 00 BC */ lfs f3, 0xbc(r1) /* 801FF3F0 001FC350 38 61 00 9C */ addi r3, r1, 0x9c /* 801FF3F4 001FC354 C0 41 00 C0 */ lfs f2, 0xc0(r1) /* 801FF3F8 001FC358 38 81 01 BC */ addi r4, r1, 0x1bc /* 801FF3FC 001FC35C C0 21 00 C4 */ lfs f1, 0xc4(r1) /* 801FF400 001FC360 38 A1 01 84 */ addi r5, r1, 0x184 /* 801FF404 001FC364 C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 801FF408 001FC368 D0 61 01 84 */ stfs f3, 0x184(r1) /* 801FF40C 001FC36C D0 41 01 88 */ stfs f2, 0x188(r1) /* 801FF410 001FC370 D0 21 01 8C */ stfs f1, 0x18c(r1) /* 801FF414 001FC374 D0 01 01 90 */ stfs f0, 0x190(r1) /* 801FF418 001FC378 48 11 1D 89 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801FF41C 001FC37C 7F 44 D3 78 */ mr r4, r26 /* 801FF420 001FC380 7F C5 F3 78 */ mr r5, r30 /* 801FF424 001FC384 7F A6 EB 78 */ mr r6, r29 /* 801FF428 001FC388 38 61 00 AC */ addi r3, r1, 0xac /* 801FF42C 001FC38C 39 21 00 9C */ addi r9, r1, 0x9c /* 801FF430 001FC390 38 E0 00 03 */ li r7, 3 /* 801FF434 001FC394 39 00 00 04 */ li r8, 4 /* 801FF438 001FC398 48 00 D5 25 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF43C 001FC39C 7F 44 D3 78 */ mr r4, r26 /* 801FF440 001FC3A0 7F C5 F3 78 */ mr r5, r30 /* 801FF444 001FC3A4 7F A6 EB 78 */ mr r6, r29 /* 801FF448 001FC3A8 38 61 00 8C */ addi r3, r1, 0x8c /* 801FF44C 001FC3AC 39 21 01 BC */ addi r9, r1, 0x1bc /* 801FF450 001FC3B0 38 E0 00 05 */ li r7, 5 /* 801FF454 001FC3B4 39 00 00 06 */ li r8, 6 /* 801FF458 001FC3B8 48 00 D5 05 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF45C 001FC3BC C0 01 00 8C */ lfs f0, 0x8c(r1) /* 801FF460 001FC3C0 38 61 00 6C */ addi r3, r1, 0x6c /* 801FF464 001FC3C4 80 E1 00 90 */ lwz r7, 0x90(r1) /* 801FF468 001FC3C8 38 81 01 BC */ addi r4, r1, 0x1bc /* 801FF46C 001FC3CC 80 C1 00 94 */ lwz r6, 0x94(r1) /* 801FF470 001FC3D0 38 A1 01 84 */ addi r5, r1, 0x184 /* 801FF474 001FC3D4 80 01 00 98 */ lwz r0, 0x98(r1) /* 801FF478 001FC3D8 D0 01 01 84 */ stfs f0, 0x184(r1) /* 801FF47C 001FC3DC 90 E1 01 88 */ stw r7, 0x188(r1) /* 801FF480 001FC3E0 90 C1 01 8C */ stw r6, 0x18c(r1) /* 801FF484 001FC3E4 90 01 01 90 */ stw r0, 0x190(r1) /* 801FF488 001FC3E8 48 11 1D 19 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801FF48C 001FC3EC 7F 44 D3 78 */ mr r4, r26 /* 801FF490 001FC3F0 7F C5 F3 78 */ mr r5, r30 /* 801FF494 001FC3F4 7F A6 EB 78 */ mr r6, r29 /* 801FF498 001FC3F8 38 61 00 7C */ addi r3, r1, 0x7c /* 801FF49C 001FC3FC 39 21 00 6C */ addi r9, r1, 0x6c /* 801FF4A0 001FC400 38 E0 00 06 */ li r7, 6 /* 801FF4A4 001FC404 39 00 00 07 */ li r8, 7 /* 801FF4A8 001FC408 48 00 D4 B5 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF4AC 001FC40C 7F 44 D3 78 */ mr r4, r26 /* 801FF4B0 001FC410 7F C5 F3 78 */ mr r5, r30 /* 801FF4B4 001FC414 7F A6 EB 78 */ mr r6, r29 /* 801FF4B8 001FC418 38 61 00 5C */ addi r3, r1, 0x5c /* 801FF4BC 001FC41C 39 21 01 BC */ addi r9, r1, 0x1bc /* 801FF4C0 001FC420 38 E0 00 08 */ li r7, 8 /* 801FF4C4 001FC424 39 00 00 09 */ li r8, 9 /* 801FF4C8 001FC428 48 00 D4 95 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF4CC 001FC42C C0 01 00 5C */ lfs f0, 0x5c(r1) /* 801FF4D0 001FC430 38 61 00 3C */ addi r3, r1, 0x3c /* 801FF4D4 001FC434 80 E1 00 60 */ lwz r7, 0x60(r1) /* 801FF4D8 001FC438 38 81 01 BC */ addi r4, r1, 0x1bc /* 801FF4DC 001FC43C 80 C1 00 64 */ lwz r6, 0x64(r1) /* 801FF4E0 001FC440 38 A1 01 84 */ addi r5, r1, 0x184 /* 801FF4E4 001FC444 80 01 00 68 */ lwz r0, 0x68(r1) /* 801FF4E8 001FC448 D0 01 01 84 */ stfs f0, 0x184(r1) /* 801FF4EC 001FC44C 90 E1 01 88 */ stw r7, 0x188(r1) /* 801FF4F0 001FC450 90 C1 01 8C */ stw r6, 0x18c(r1) /* 801FF4F4 001FC454 90 01 01 90 */ stw r0, 0x190(r1) /* 801FF4F8 001FC458 48 11 1C A9 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801FF4FC 001FC45C 7F 44 D3 78 */ mr r4, r26 /* 801FF500 001FC460 7F C5 F3 78 */ mr r5, r30 /* 801FF504 001FC464 7F A6 EB 78 */ mr r6, r29 /* 801FF508 001FC468 38 61 00 4C */ addi r3, r1, 0x4c /* 801FF50C 001FC46C 39 21 00 3C */ addi r9, r1, 0x3c /* 801FF510 001FC470 38 E0 00 09 */ li r7, 9 /* 801FF514 001FC474 39 00 00 0A */ li r8, 0xa /* 801FF518 001FC478 48 00 D4 45 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF51C 001FC47C 7F 44 D3 78 */ mr r4, r26 /* 801FF520 001FC480 7F C5 F3 78 */ mr r5, r30 /* 801FF524 001FC484 7F A6 EB 78 */ mr r6, r29 /* 801FF528 001FC488 38 61 00 2C */ addi r3, r1, 0x2c /* 801FF52C 001FC48C 39 21 01 BC */ addi r9, r1, 0x1bc /* 801FF530 001FC490 38 E0 00 0B */ li r7, 0xb /* 801FF534 001FC494 39 00 00 0C */ li r8, 0xc /* 801FF538 001FC498 48 00 D4 25 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF53C 001FC49C C0 01 00 2C */ lfs f0, 0x2c(r1) /* 801FF540 001FC4A0 38 61 00 0C */ addi r3, r1, 0xc /* 801FF544 001FC4A4 80 E1 00 30 */ lwz r7, 0x30(r1) /* 801FF548 001FC4A8 38 81 01 BC */ addi r4, r1, 0x1bc /* 801FF54C 001FC4AC 80 C1 00 34 */ lwz r6, 0x34(r1) /* 801FF550 001FC4B0 38 A1 01 84 */ addi r5, r1, 0x184 /* 801FF554 001FC4B4 80 01 00 38 */ lwz r0, 0x38(r1) /* 801FF558 001FC4B8 D0 01 01 84 */ stfs f0, 0x184(r1) /* 801FF55C 001FC4BC 90 E1 01 88 */ stw r7, 0x188(r1) /* 801FF560 001FC4C0 90 C1 01 8C */ stw r6, 0x18c(r1) /* 801FF564 001FC4C4 90 01 01 90 */ stw r0, 0x190(r1) /* 801FF568 001FC4C8 48 11 1C 39 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 801FF56C 001FC4CC 7F 44 D3 78 */ mr r4, r26 /* 801FF570 001FC4D0 7F C5 F3 78 */ mr r5, r30 /* 801FF574 001FC4D4 7F A6 EB 78 */ mr r6, r29 /* 801FF578 001FC4D8 38 61 00 1C */ addi r3, r1, 0x1c /* 801FF57C 001FC4DC 39 21 00 0C */ addi r9, r1, 0xc /* 801FF580 001FC4E0 38 E0 00 0C */ li r7, 0xc /* 801FF584 001FC4E4 39 00 00 0D */ li r8, 0xd /* 801FF588 001FC4E8 48 00 D3 D5 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion /* 801FF58C 001FC4EC 88 1F 02 20 */ lbz r0, 0x220(r31) /* 801FF590 001FC4F0 38 60 00 00 */ li r3, 0 /* 801FF594 001FC4F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 801FF598 001FC4F8 98 1F 02 20 */ stb r0, 0x220(r31) lbl_801FF59C: /* 801FF59C 001FC4FC BB 21 02 44 */ lmw r25, 0x244(r1) /* 801FF5A0 001FC500 80 01 02 64 */ lwz r0, 0x264(r1) /* 801FF5A4 001FC504 7C 08 03 A6 */ mtlr r0 /* 801FF5A8 001FC508 38 21 02 60 */ addi r1, r1, 0x260 /* 801FF5AC 001FC50C 4E 80 00 20 */ blr .global Update__20CFlyingPirateRagDollFR13CStateManagerf Update__20CFlyingPirateRagDollFR13CStateManagerf: /* 801FF5B0 001FC510 94 21 FE D0 */ stwu r1, -0x130(r1) /* 801FF5B4 001FC514 7C 08 02 A6 */ mflr r0 /* 801FF5B8 001FC518 90 01 01 34 */ stw r0, 0x134(r1) /* 801FF5BC 001FC51C DB E1 01 20 */ stfd f31, 0x120(r1) /* 801FF5C0 001FC520 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 801FF5C4 001FC524 DB C1 01 10 */ stfd f30, 0x110(r1) /* 801FF5C8 001FC528 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 /* 801FF5CC 001FC52C DB A1 01 00 */ stfd f29, 0x100(r1) /* 801FF5D0 001FC530 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 /* 801FF5D4 001FC534 DB 81 00 F0 */ stfd f28, 0xf0(r1) /* 801FF5D8 001FC538 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 /* 801FF5DC 001FC53C 93 E1 00 EC */ stw r31, 0xec(r1) /* 801FF5E0 001FC540 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 801FF5E4 001FC544 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 801FF5E8 001FC548 88 03 00 68 */ lbz r0, 0x68(r3) /* 801FF5EC 001FC54C FF A0 08 90 */ fmr f29, f1 /* 801FF5F0 001FC550 FF C0 10 90 */ fmr f30, f2 /* 801FF5F4 001FC554 7C 7E 1B 78 */ mr r30, r3 /* 801FF5F8 001FC558 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 801FF5FC 001FC55C 7C 9F 23 78 */ mr r31, r4 /* 801FF600 001FC560 40 82 07 EC */ bne lbl_801FFDEC /* 801FF604 001FC564 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FF608 001FC568 88 03 06 A1 */ lbz r0, 0x6a1(r3) /* 801FF60C 001FC56C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801FF610 001FC570 41 82 03 EC */ beq lbl_801FF9FC /* 801FF614 001FC574 C0 1E 00 84 */ lfs f0, 0x84(r30) /* 801FF618 001FC578 38 61 00 94 */ addi r3, r1, 0x94 /* 801FF61C 001FC57C 38 81 00 88 */ addi r4, r1, 0x88 /* 801FF620 001FC580 EC 00 E8 28 */ fsubs f0, f0, f29 /* 801FF624 001FC584 D0 1E 00 84 */ stfs f0, 0x84(r30) /* 801FF628 001FC588 80 DE 00 10 */ lwz r6, 0x10(r30) /* 801FF62C 001FC58C 80 BE 00 6C */ lwz r5, 0x6c(r30) /* 801FF630 001FC590 C0 06 03 88 */ lfs f0, 0x388(r6) /* 801FF634 001FC594 C0 25 02 E4 */ lfs f1, 0x2e4(r5) /* 801FF638 001FC598 C0 65 02 E8 */ lfs f3, 0x2e8(r5) /* 801FF63C 001FC59C C0 46 03 8C */ lfs f2, 0x38c(r6) /* 801FF640 001FC5A0 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FF644 001FC5A4 C0 25 02 E0 */ lfs f1, 0x2e0(r5) /* 801FF648 001FC5A8 C0 06 03 84 */ lfs f0, 0x384(r6) /* 801FF64C 001FC5AC EC 43 10 28 */ fsubs f2, f3, f2 /* 801FF650 001FC5B0 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FF654 001FC5B4 D0 81 00 8C */ stfs f4, 0x8c(r1) /* 801FF658 001FC5B8 D0 41 00 90 */ stfs f2, 0x90(r1) /* 801FF65C 001FC5BC D0 01 00 88 */ stfs f0, 0x88(r1) /* 801FF660 001FC5C0 48 11 51 F1 */ bl AsNormalized__9CVector3fCFv /* 801FF664 001FC5C4 C0 02 B0 14 */ lfs f0, lbl_805ACD34@sda21(r2) /* 801FF668 001FC5C8 38 61 00 7C */ addi r3, r1, 0x7c /* 801FF66C 001FC5CC C0 81 00 94 */ lfs f4, 0x94(r1) /* 801FF670 001FC5D0 38 9E 00 74 */ addi r4, r30, 0x74 /* 801FF674 001FC5D4 EC 00 07 72 */ fmuls f0, f0, f29 /* 801FF678 001FC5D8 C0 22 B0 10 */ lfs f1, lbl_805ACD30@sda21(r2) /* 801FF67C 001FC5DC C0 61 00 98 */ lfs f3, 0x98(r1) /* 801FF680 001FC5E0 38 A1 00 D0 */ addi r5, r1, 0xd0 /* 801FF684 001FC5E4 C0 41 00 9C */ lfs f2, 0x9c(r1) /* 801FF688 001FC5E8 38 C1 00 3C */ addi r6, r1, 0x3c /* 801FF68C 001FC5EC EC 01 00 32 */ fmuls f0, f1, f0 /* 801FF690 001FC5F0 D0 81 00 D0 */ stfs f4, 0xd0(r1) /* 801FF694 001FC5F4 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 801FF698 001FC5F8 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 801FF69C 001FC5FC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 801FF6A0 001FC600 48 11 52 B5 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 801FF6A4 001FC604 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 801FF6A8 001FC608 C0 62 AF C4 */ lfs f3, lbl_805ACCE4@sda21(r2) /* 801FF6AC 001FC60C D0 1E 00 74 */ stfs f0, 0x74(r30) /* 801FF6B0 001FC610 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FF6B4 001FC614 C0 21 00 80 */ lfs f1, 0x80(r1) /* 801FF6B8 001FC618 D0 3E 00 78 */ stfs f1, 0x78(r30) /* 801FF6BC 001FC61C C0 21 00 84 */ lfs f1, 0x84(r1) /* 801FF6C0 001FC620 D0 3E 00 7C */ stfs f1, 0x7c(r30) /* 801FF6C4 001FC624 D0 7E 00 70 */ stfs f3, 0x70(r30) /* 801FF6C8 001FC628 C0 3E 00 84 */ lfs f1, 0x84(r30) /* 801FF6CC 001FC62C C0 9E 00 70 */ lfs f4, 0x70(r30) /* 801FF6D0 001FC630 C0 5E 00 74 */ lfs f2, 0x74(r30) /* 801FF6D4 001FC634 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FF6D8 001FC638 C0 3E 00 78 */ lfs f1, 0x78(r30) /* 801FF6DC 001FC63C C0 1E 00 7C */ lfs f0, 0x7c(r30) /* 801FF6E0 001FC640 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801FF6E4 001FC644 EC 24 00 72 */ fmuls f1, f4, f1 /* 801FF6E8 001FC648 EC 04 00 32 */ fmuls f0, f4, f0 /* 801FF6EC 001FC64C 40 81 00 3C */ ble lbl_801FF728 /* 801FF6F0 001FC650 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF6F4 001FC654 EC A3 00 B2 */ fmuls f5, f3, f2 /* 801FF6F8 001FC658 EC 83 00 72 */ fmuls f4, f3, f1 /* 801FF6FC 001FC65C C0 C3 03 A0 */ lfs f6, 0x3a0(r3) /* 801FF700 001FC660 EC 63 00 32 */ fmuls f3, f3, f0 /* 801FF704 001FC664 EC A6 28 2A */ fadds f5, f6, f5 /* 801FF708 001FC668 D0 A3 03 A0 */ stfs f5, 0x3a0(r3) /* 801FF70C 001FC66C C0 A3 03 A4 */ lfs f5, 0x3a4(r3) /* 801FF710 001FC670 EC 85 20 2A */ fadds f4, f5, f4 /* 801FF714 001FC674 D0 83 03 A4 */ stfs f4, 0x3a4(r3) /* 801FF718 001FC678 C0 83 03 A8 */ lfs f4, 0x3a8(r3) /* 801FF71C 001FC67C EC 64 18 2A */ fadds f3, f4, f3 /* 801FF720 001FC680 D0 63 03 A8 */ stfs f3, 0x3a8(r3) /* 801FF724 001FC684 48 00 00 3C */ b lbl_801FF760 lbl_801FF728: /* 801FF728 001FC688 C0 62 B0 18 */ lfs f3, lbl_805ACD38@sda21(r2) /* 801FF72C 001FC68C 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF730 001FC690 EC A3 00 B2 */ fmuls f5, f3, f2 /* 801FF734 001FC694 C0 C3 03 A0 */ lfs f6, 0x3a0(r3) /* 801FF738 001FC698 EC 83 00 72 */ fmuls f4, f3, f1 /* 801FF73C 001FC69C EC 63 00 32 */ fmuls f3, f3, f0 /* 801FF740 001FC6A0 EC A6 28 2A */ fadds f5, f6, f5 /* 801FF744 001FC6A4 D0 A3 03 A0 */ stfs f5, 0x3a0(r3) /* 801FF748 001FC6A8 C0 A3 03 A4 */ lfs f5, 0x3a4(r3) /* 801FF74C 001FC6AC EC 85 20 2A */ fadds f4, f5, f4 /* 801FF750 001FC6B0 D0 83 03 A4 */ stfs f4, 0x3a4(r3) /* 801FF754 001FC6B4 C0 83 03 A8 */ lfs f4, 0x3a8(r3) /* 801FF758 001FC6B8 EC 64 18 2A */ fadds f3, f4, f3 /* 801FF75C 001FC6BC D0 63 03 A8 */ stfs f3, 0x3a8(r3) lbl_801FF760: /* 801FF760 001FC6C0 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF764 001FC6C4 FD 00 10 50 */ fneg f8, f2 /* 801FF768 001FC6C8 C0 82 B0 1C */ lfs f4, lbl_805ACD3C@sda21(r2) /* 801FF76C 001FC6CC FC E0 08 50 */ fneg f7, f1 /* 801FF770 001FC6D0 C0 63 01 20 */ lfs f3, 0x120(r3) /* 801FF774 001FC6D4 FC C0 00 50 */ fneg f6, f0 /* 801FF778 001FC6D8 ED 24 00 B2 */ fmuls f9, f4, f2 /* 801FF77C 001FC6DC EC A3 40 2A */ fadds f5, f3, f8 /* 801FF780 001FC6E0 EC 64 00 72 */ fmuls f3, f4, f1 /* 801FF784 001FC6E4 EC 84 00 32 */ fmuls f4, f4, f0 /* 801FF788 001FC6E8 D0 A3 01 20 */ stfs f5, 0x120(r3) /* 801FF78C 001FC6EC C0 A3 01 24 */ lfs f5, 0x124(r3) /* 801FF790 001FC6F0 EC A5 38 2A */ fadds f5, f5, f7 /* 801FF794 001FC6F4 D0 A3 01 24 */ stfs f5, 0x124(r3) /* 801FF798 001FC6F8 C0 A3 01 28 */ lfs f5, 0x128(r3) /* 801FF79C 001FC6FC EC A5 30 2A */ fadds f5, f5, f6 /* 801FF7A0 001FC700 D0 A3 01 28 */ stfs f5, 0x128(r3) /* 801FF7A4 001FC704 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF7A8 001FC708 C0 A3 01 E0 */ lfs f5, 0x1e0(r3) /* 801FF7AC 001FC70C EC A5 40 2A */ fadds f5, f5, f8 /* 801FF7B0 001FC710 D0 A3 01 E0 */ stfs f5, 0x1e0(r3) /* 801FF7B4 001FC714 C0 A3 01 E4 */ lfs f5, 0x1e4(r3) /* 801FF7B8 001FC718 EC A5 38 2A */ fadds f5, f5, f7 /* 801FF7BC 001FC71C D0 A3 01 E4 */ stfs f5, 0x1e4(r3) /* 801FF7C0 001FC720 C0 A3 01 E8 */ lfs f5, 0x1e8(r3) /* 801FF7C4 001FC724 EC A5 30 2A */ fadds f5, f5, f6 /* 801FF7C8 001FC728 D0 A3 01 E8 */ stfs f5, 0x1e8(r3) /* 801FF7CC 001FC72C 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF7D0 001FC730 C0 A3 02 A0 */ lfs f5, 0x2a0(r3) /* 801FF7D4 001FC734 EC A5 48 2A */ fadds f5, f5, f9 /* 801FF7D8 001FC738 D0 A3 02 A0 */ stfs f5, 0x2a0(r3) /* 801FF7DC 001FC73C C0 A3 02 A4 */ lfs f5, 0x2a4(r3) /* 801FF7E0 001FC740 EC A5 18 2A */ fadds f5, f5, f3 /* 801FF7E4 001FC744 D0 A3 02 A4 */ stfs f5, 0x2a4(r3) /* 801FF7E8 001FC748 C0 A3 02 A8 */ lfs f5, 0x2a8(r3) /* 801FF7EC 001FC74C EC A5 20 2A */ fadds f5, f5, f4 /* 801FF7F0 001FC750 D0 A3 02 A8 */ stfs f5, 0x2a8(r3) /* 801FF7F4 001FC754 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF7F8 001FC758 C0 A3 02 A0 */ lfs f5, 0x2a0(r3) /* 801FF7FC 001FC75C EC A5 48 2A */ fadds f5, f5, f9 /* 801FF800 001FC760 D0 A3 02 A0 */ stfs f5, 0x2a0(r3) /* 801FF804 001FC764 C0 A3 02 A4 */ lfs f5, 0x2a4(r3) /* 801FF808 001FC768 EC 65 18 2A */ fadds f3, f5, f3 /* 801FF80C 001FC76C D0 63 02 A4 */ stfs f3, 0x2a4(r3) /* 801FF810 001FC770 C0 63 02 A8 */ lfs f3, 0x2a8(r3) /* 801FF814 001FC774 EC 63 20 2A */ fadds f3, f3, f4 /* 801FF818 001FC778 D0 63 02 A8 */ stfs f3, 0x2a8(r3) /* 801FF81C 001FC77C 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF820 001FC780 C0 63 00 60 */ lfs f3, 0x60(r3) /* 801FF824 001FC784 EC 43 10 2A */ fadds f2, f3, f2 /* 801FF828 001FC788 D0 43 00 60 */ stfs f2, 0x60(r3) /* 801FF82C 001FC78C C0 43 00 64 */ lfs f2, 0x64(r3) /* 801FF830 001FC790 EC 22 08 2A */ fadds f1, f2, f1 /* 801FF834 001FC794 D0 23 00 64 */ stfs f1, 0x64(r3) /* 801FF838 001FC798 C0 23 00 68 */ lfs f1, 0x68(r3) /* 801FF83C 001FC79C EC 01 00 2A */ fadds f0, f1, f0 /* 801FF840 001FC7A0 D0 03 00 68 */ stfs f0, 0x68(r3) /* 801FF844 001FC7A4 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801FF848 001FC7A8 C1 63 00 84 */ lfs f11, 0x84(r3) /* 801FF84C 001FC7AC C1 03 01 44 */ lfs f8, 0x144(r3) /* 801FF850 001FC7B0 C0 03 02 08 */ lfs f0, 0x208(r3) /* 801FF854 001FC7B4 C1 43 00 88 */ lfs f10, 0x88(r3) /* 801FF858 001FC7B8 EF 88 58 28 */ fsubs f28, f8, f11 /* 801FF85C 001FC7BC C0 23 02 04 */ lfs f1, 0x204(r3) /* 801FF860 001FC7C0 C0 63 01 48 */ lfs f3, 0x148(r3) /* 801FF864 001FC7C4 ED 80 50 28 */ fsubs f12, f0, f10 /* 801FF868 001FC7C8 C0 03 02 0C */ lfs f0, 0x20c(r3) /* 801FF86C 001FC7CC EC A1 58 28 */ fsubs f5, f1, f11 /* 801FF870 001FC7D0 C1 23 00 8C */ lfs f9, 0x8c(r3) /* 801FF874 001FC7D4 ED A3 50 28 */ fsubs f13, f3, f10 /* 801FF878 001FC7D8 C0 43 01 4C */ lfs f2, 0x14c(r3) /* 801FF87C 001FC7DC EC 80 48 28 */ fsubs f4, f0, f9 /* 801FF880 001FC7E0 EC C2 48 28 */ fsubs f6, f2, f9 /* 801FF884 001FC7E4 EC 04 07 32 */ fmuls f0, f4, f28 /* 801FF888 001FC7E8 EC 2C 01 B2 */ fmuls f1, f12, f6 /* 801FF88C 001FC7EC EC C6 01 78 */ fmsubs f6, f6, f5, f0 /* 801FF890 001FC7F0 EC ED 09 38 */ fmsubs f7, f13, f4, f1 /* 801FF894 001FC7F4 D0 C1 00 C8 */ stfs f6, 0xc8(r1) /* 801FF898 001FC7F8 D0 E1 00 C4 */ stfs f7, 0xc4(r1) /* 801FF89C 001FC7FC EC A5 03 72 */ fmuls f5, f5, f13 /* 801FF8A0 001FC800 C0 82 AF 9C */ lfs f4, lbl_805ACCBC@sda21(r2) /* 801FF8A4 001FC804 EC 6A 18 28 */ fsubs f3, f10, f3 /* 801FF8A8 001FC808 C0 22 B0 20 */ lfs f1, lbl_805ACD40@sda21(r2) /* 801FF8AC 001FC80C EC 49 10 28 */ fsubs f2, f9, f2 /* 801FF8B0 001FC810 38 61 00 38 */ addi r3, r1, 0x38 /* 801FF8B4 001FC814 EC 0B 40 28 */ fsubs f0, f11, f8 /* 801FF8B8 001FC818 38 8D 92 D4 */ addi r4, r13, lbl_805A7E94@sda21 /* 801FF8BC 001FC81C EC BC 2B 38 */ fmsubs f5, f28, f12, f5 /* 801FF8C0 001FC820 ED 24 00 F2 */ fmuls f9, f4, f3 /* 801FF8C4 001FC824 ED 04 00 B2 */ fmuls f8, f4, f2 /* 801FF8C8 001FC828 EC 64 00 32 */ fmuls f3, f4, f0 /* 801FF8CC 001FC82C D0 A1 00 CC */ stfs f5, 0xcc(r1) /* 801FF8D0 001FC830 EC 46 48 2A */ fadds f2, f6, f9 /* 801FF8D4 001FC834 EC 05 40 2A */ fadds f0, f5, f8 /* 801FF8D8 001FC838 EC 67 18 2A */ fadds f3, f7, f3 /* 801FF8DC 001FC83C D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 801FF8E0 001FC840 D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 801FF8E4 001FC844 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 801FF8E8 001FC848 C0 1E 00 80 */ lfs f0, 0x80(r30) /* 801FF8EC 001FC84C EC 01 07 7A */ fmadds f0, f1, f29, f0 /* 801FF8F0 001FC850 D0 01 00 38 */ stfs f0, 0x38(r1) /* 801FF8F4 001FC854 4B E7 E4 ED */ bl "Min__5CMathFRCfRCf" /* 801FF8F8 001FC858 C0 03 00 00 */ lfs f0, 0(r3) /* 801FF8FC 001FC85C 38 61 00 70 */ addi r3, r1, 0x70 /* 801FF900 001FC860 38 81 00 C4 */ addi r4, r1, 0xc4 /* 801FF904 001FC864 D0 1E 00 80 */ stfs f0, 0x80(r30) /* 801FF908 001FC868 48 11 4F 49 */ bl AsNormalized__9CVector3fCFv /* 801FF90C 001FC86C C0 9E 00 80 */ lfs f4, 0x80(r30) /* 801FF910 001FC870 38 61 00 34 */ addi r3, r1, 0x34 /* 801FF914 001FC874 C0 41 00 78 */ lfs f2, 0x78(r1) /* 801FF918 001FC878 38 81 00 64 */ addi r4, r1, 0x64 /* 801FF91C 001FC87C C0 01 00 70 */ lfs f0, 0x70(r1) /* 801FF920 001FC880 38 A1 00 58 */ addi r5, r1, 0x58 /* 801FF924 001FC884 C0 21 00 74 */ lfs f1, 0x74(r1) /* 801FF928 001FC888 EC 64 00 B2 */ fmuls f3, f4, f2 /* 801FF92C 001FC88C EC 44 00 32 */ fmuls f2, f4, f0 /* 801FF930 001FC890 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FF934 001FC894 EC 24 00 72 */ fmuls f1, f4, f1 /* 801FF938 001FC898 38 C0 00 7F */ li r6, 0x7f /* 801FF93C 001FC89C D0 61 00 CC */ stfs f3, 0xcc(r1) /* 801FF940 001FC8A0 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 801FF944 001FC8A4 D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 801FF948 001FC8A8 80 FE 00 10 */ lwz r7, 0x10(r30) /* 801FF94C 001FC8AC C0 27 00 A0 */ lfs f1, 0xa0(r7) /* 801FF950 001FC8B0 EC 21 10 2A */ fadds f1, f1, f2 /* 801FF954 001FC8B4 D0 27 00 A0 */ stfs f1, 0xa0(r7) /* 801FF958 001FC8B8 C0 47 00 A4 */ lfs f2, 0xa4(r7) /* 801FF95C 001FC8BC C0 21 00 C8 */ lfs f1, 0xc8(r1) /* 801FF960 001FC8C0 EC 22 08 2A */ fadds f1, f2, f1 /* 801FF964 001FC8C4 D0 27 00 A4 */ stfs f1, 0xa4(r7) /* 801FF968 001FC8C8 C0 47 00 A8 */ lfs f2, 0xa8(r7) /* 801FF96C 001FC8CC C0 21 00 CC */ lfs f1, 0xcc(r1) /* 801FF970 001FC8D0 EC 22 08 2A */ fadds f1, f2, f1 /* 801FF974 001FC8D4 D0 27 00 A8 */ stfs f1, 0xa8(r7) /* 801FF978 001FC8D8 C0 21 00 C4 */ lfs f1, 0xc4(r1) /* 801FF97C 001FC8DC 80 FE 00 10 */ lwz r7, 0x10(r30) /* 801FF980 001FC8E0 C0 81 00 CC */ lfs f4, 0xcc(r1) /* 801FF984 001FC8E4 FC 20 08 50 */ fneg f1, f1 /* 801FF988 001FC8E8 C0 47 01 60 */ lfs f2, 0x160(r7) /* 801FF98C 001FC8EC C0 61 00 C8 */ lfs f3, 0xc8(r1) /* 801FF990 001FC8F0 FC 80 20 50 */ fneg f4, f4 /* 801FF994 001FC8F4 EC 22 08 2A */ fadds f1, f2, f1 /* 801FF998 001FC8F8 FC 40 18 50 */ fneg f2, f3 /* 801FF99C 001FC8FC D0 27 01 60 */ stfs f1, 0x160(r7) /* 801FF9A0 001FC900 C0 27 01 64 */ lfs f1, 0x164(r7) /* 801FF9A4 001FC904 EC 21 10 2A */ fadds f1, f1, f2 /* 801FF9A8 001FC908 D0 27 01 64 */ stfs f1, 0x164(r7) /* 801FF9AC 001FC90C C0 27 01 68 */ lfs f1, 0x168(r7) /* 801FF9B0 001FC910 EC 21 20 2A */ fadds f1, f1, f4 /* 801FF9B4 001FC914 D0 27 01 68 */ stfs f1, 0x168(r7) /* 801FF9B8 001FC918 D0 1E 00 44 */ stfs f0, 0x44(r30) /* 801FF9BC 001FC91C C0 1E 00 58 */ lfs f0, 0x58(r30) /* 801FF9C0 001FC920 D0 01 00 58 */ stfs f0, 0x58(r1) /* 801FF9C4 001FC924 C0 1E 00 5C */ lfs f0, 0x5c(r30) /* 801FF9C8 001FC928 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 801FF9CC 001FC92C C0 1E 00 60 */ lfs f0, 0x60(r30) /* 801FF9D0 001FC930 D0 01 00 60 */ stfs f0, 0x60(r1) /* 801FF9D4 001FC934 80 FE 00 6C */ lwz r7, 0x6c(r30) /* 801FF9D8 001FC938 C0 47 00 60 */ lfs f2, 0x60(r7) /* 801FF9DC 001FC93C C0 27 00 50 */ lfs f1, 0x50(r7) /* 801FF9E0 001FC940 C0 07 00 40 */ lfs f0, 0x40(r7) /* 801FF9E4 001FC944 D0 01 00 64 */ stfs f0, 0x64(r1) /* 801FF9E8 001FC948 D0 21 00 68 */ stfs f1, 0x68(r1) /* 801FF9EC 001FC94C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 801FF9F0 001FC950 80 1E 00 A0 */ lwz r0, 0xa0(r30) /* 801FF9F4 001FC954 90 01 00 34 */ stw r0, 0x34(r1) /* 801FF9F8 001FC958 48 0E A4 B9 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc lbl_801FF9FC: /* 801FF9FC 001FC95C 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801FFA00 001FC960 3B A1 00 C0 */ addi r29, r1, 0xc0 /* 801FFA04 001FC964 C0 62 AF 9C */ lfs f3, lbl_805ACCBC@sda21(r2) /* 801FFA08 001FC968 38 61 00 30 */ addi r3, r1, 0x30 /* 801FFA0C 001FC96C C0 45 02 08 */ lfs f2, 0x208(r5) /* 801FFA10 001FC970 38 81 00 2C */ addi r4, r1, 0x2c /* 801FFA14 001FC974 C0 25 02 C8 */ lfs f1, 0x2c8(r5) /* 801FFA18 001FC978 C0 05 02 0C */ lfs f0, 0x20c(r5) /* 801FFA1C 001FC97C ED 43 00 B2 */ fmuls f10, f3, f2 /* 801FFA20 001FC980 C0 A5 02 CC */ lfs f5, 0x2cc(r5) /* 801FFA24 001FC984 ED 23 00 72 */ fmuls f9, f3, f1 /* 801FFA28 001FC988 C0 25 02 04 */ lfs f1, 0x204(r5) /* 801FFA2C 001FC98C EC C3 00 32 */ fmuls f6, f3, f0 /* 801FFA30 001FC990 C0 05 02 C4 */ lfs f0, 0x2c4(r5) /* 801FFA34 001FC994 EC 83 01 72 */ fmuls f4, f3, f5 /* 801FFA38 001FC998 C1 02 AF 74 */ lfs f8, lbl_805ACC94@sda21(r2) /* 801FFA3C 001FC99C C0 E5 00 08 */ lfs f7, 8(r5) /* 801FFA40 001FC9A0 EC 43 00 72 */ fmuls f2, f3, f1 /* 801FFA44 001FC9A4 EC 23 00 32 */ fmuls f1, f3, f0 /* 801FFA48 001FC9A8 C0 65 00 0C */ lfs f3, 0xc(r5) /* 801FFA4C 001FC9AC C0 05 00 04 */ lfs f0, 4(r5) /* 801FFA50 001FC9B0 ED 2A 48 2A */ fadds f9, f10, f9 /* 801FFA54 001FC9B4 EC E8 01 F2 */ fmuls f7, f8, f7 /* 801FFA58 001FC9B8 EC 86 20 2A */ fadds f4, f6, f4 /* 801FFA5C 001FC9BC EC 68 00 F2 */ fmuls f3, f8, f3 /* 801FFA60 001FC9C0 EC C9 38 2A */ fadds f6, f9, f7 /* 801FFA64 001FC9C4 EC 22 08 2A */ fadds f1, f2, f1 /* 801FFA68 001FC9C8 EC 08 00 32 */ fmuls f0, f8, f0 /* 801FFA6C 001FC9CC EC 44 18 2A */ fadds f2, f4, f3 /* 801FFA70 001FC9D0 D0 C1 00 BC */ stfs f6, 0xbc(r1) /* 801FFA74 001FC9D4 EC 01 00 2A */ fadds f0, f1, f0 /* 801FFA78 001FC9D8 D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 801FFA7C 001FC9DC D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 801FFA80 001FC9E0 C0 05 02 D0 */ lfs f0, 0x2d0(r5) /* 801FFA84 001FC9E4 EC 05 00 28 */ fsubs f0, f5, f0 /* 801FFA88 001FC9E8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 801FFA8C 001FC9EC 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801FFA90 001FC9F0 C0 25 02 0C */ lfs f1, 0x20c(r5) /* 801FFA94 001FC9F4 C0 05 02 10 */ lfs f0, 0x210(r5) /* 801FFA98 001FC9F8 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FFA9C 001FC9FC D0 01 00 30 */ stfs f0, 0x30(r1) /* 801FFAA0 001FCA00 4B E7 E3 41 */ bl "Min__5CMathFRCfRCf" /* 801FFAA4 001FCA04 C0 03 00 00 */ lfs f0, 0(r3) /* 801FFAA8 001FCA08 7F A4 EB 78 */ mr r4, r29 /* 801FFAAC 001FCA0C 38 61 00 28 */ addi r3, r1, 0x28 /* 801FFAB0 001FCA10 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801FFAB4 001FCA14 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801FFAB8 001FCA18 C0 25 00 0C */ lfs f1, 0xc(r5) /* 801FFABC 001FCA1C C0 05 00 10 */ lfs f0, 0x10(r5) /* 801FFAC0 001FCA20 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FFAC4 001FCA24 D0 01 00 28 */ stfs f0, 0x28(r1) /* 801FFAC8 001FCA28 4B E7 E3 19 */ bl "Min__5CMathFRCfRCf" /* 801FFACC 001FCA2C C0 03 00 00 */ lfs f0, 0(r3) /* 801FFAD0 001FCA30 FC 20 E8 90 */ fmr f1, f29 /* 801FFAD4 001FCA34 FC 40 F0 90 */ fmr f2, f30 /* 801FFAD8 001FCA38 7F C3 F3 78 */ mr r3, r30 /* 801FFADC 001FCA3C D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 801FFAE0 001FCA40 7F E4 FB 78 */ mr r4, r31 /* 801FFAE4 001FCA44 48 00 D8 F1 */ bl Update__8CRagDollFR13CStateManagerff /* 801FFAE8 001FCA48 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801FFAEC 001FCA4C 3B A1 00 B4 */ addi r29, r1, 0xb4 /* 801FFAF0 001FCA50 C0 62 AF 9C */ lfs f3, lbl_805ACCBC@sda21(r2) /* 801FFAF4 001FCA54 38 61 00 24 */ addi r3, r1, 0x24 /* 801FFAF8 001FCA58 C0 45 02 08 */ lfs f2, 0x208(r5) /* 801FFAFC 001FCA5C 38 81 00 20 */ addi r4, r1, 0x20 /* 801FFB00 001FCA60 C0 25 02 C8 */ lfs f1, 0x2c8(r5) /* 801FFB04 001FCA64 C0 05 02 0C */ lfs f0, 0x20c(r5) /* 801FFB08 001FCA68 ED 43 00 B2 */ fmuls f10, f3, f2 /* 801FFB0C 001FCA6C C0 A5 02 CC */ lfs f5, 0x2cc(r5) /* 801FFB10 001FCA70 ED 23 00 72 */ fmuls f9, f3, f1 /* 801FFB14 001FCA74 C0 25 02 04 */ lfs f1, 0x204(r5) /* 801FFB18 001FCA78 EC C3 00 32 */ fmuls f6, f3, f0 /* 801FFB1C 001FCA7C C0 05 02 C4 */ lfs f0, 0x2c4(r5) /* 801FFB20 001FCA80 EC 83 01 72 */ fmuls f4, f3, f5 /* 801FFB24 001FCA84 C1 02 AF 74 */ lfs f8, lbl_805ACC94@sda21(r2) /* 801FFB28 001FCA88 C0 E5 00 08 */ lfs f7, 8(r5) /* 801FFB2C 001FCA8C EC 43 00 72 */ fmuls f2, f3, f1 /* 801FFB30 001FCA90 EC 23 00 32 */ fmuls f1, f3, f0 /* 801FFB34 001FCA94 C0 65 00 0C */ lfs f3, 0xc(r5) /* 801FFB38 001FCA98 C0 05 00 04 */ lfs f0, 4(r5) /* 801FFB3C 001FCA9C ED 2A 48 2A */ fadds f9, f10, f9 /* 801FFB40 001FCAA0 EC E8 01 F2 */ fmuls f7, f8, f7 /* 801FFB44 001FCAA4 EC 86 20 2A */ fadds f4, f6, f4 /* 801FFB48 001FCAA8 EC 68 00 F2 */ fmuls f3, f8, f3 /* 801FFB4C 001FCAAC EC C9 38 2A */ fadds f6, f9, f7 /* 801FFB50 001FCAB0 EC 22 08 2A */ fadds f1, f2, f1 /* 801FFB54 001FCAB4 EC 08 00 32 */ fmuls f0, f8, f0 /* 801FFB58 001FCAB8 EC 44 18 2A */ fadds f2, f4, f3 /* 801FFB5C 001FCABC D0 C1 00 B0 */ stfs f6, 0xb0(r1) /* 801FFB60 001FCAC0 EC 01 00 2A */ fadds f0, f1, f0 /* 801FFB64 001FCAC4 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 801FFB68 001FCAC8 D0 01 00 AC */ stfs f0, 0xac(r1) /* 801FFB6C 001FCACC C0 05 02 D0 */ lfs f0, 0x2d0(r5) /* 801FFB70 001FCAD0 EC 05 00 28 */ fsubs f0, f5, f0 /* 801FFB74 001FCAD4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 801FFB78 001FCAD8 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801FFB7C 001FCADC C0 25 02 0C */ lfs f1, 0x20c(r5) /* 801FFB80 001FCAE0 C0 05 02 10 */ lfs f0, 0x210(r5) /* 801FFB84 001FCAE4 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FFB88 001FCAE8 D0 01 00 24 */ stfs f0, 0x24(r1) /* 801FFB8C 001FCAEC 4B E7 E2 55 */ bl "Min__5CMathFRCfRCf" /* 801FFB90 001FCAF0 C0 03 00 00 */ lfs f0, 0(r3) /* 801FFB94 001FCAF4 7F A4 EB 78 */ mr r4, r29 /* 801FFB98 001FCAF8 38 61 00 1C */ addi r3, r1, 0x1c /* 801FFB9C 001FCAFC D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 801FFBA0 001FCB00 80 BE 00 10 */ lwz r5, 0x10(r30) /* 801FFBA4 001FCB04 C0 25 00 0C */ lfs f1, 0xc(r5) /* 801FFBA8 001FCB08 C0 05 00 10 */ lfs f0, 0x10(r5) /* 801FFBAC 001FCB0C EC 01 00 28 */ fsubs f0, f1, f0 /* 801FFBB0 001FCB10 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 801FFBB4 001FCB14 4B E7 E2 2D */ bl "Min__5CMathFRCfRCf" /* 801FFBB8 001FCB18 C0 02 AF 78 */ lfs f0, lbl_805ACC98@sda21(r2) /* 801FFBBC 001FCB1C 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 801FFBC0 001FCB20 C0 A3 00 00 */ lfs f5, 0(r3) /* 801FFBC4 001FCB24 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 801FFBC8 001FCB28 EC C0 E8 24 */ fdivs f6, f0, f29 /* 801FFBCC 001FCB2C C0 41 00 C0 */ lfs f2, 0xc0(r1) /* 801FFBD0 001FCB30 C0 81 00 B0 */ lfs f4, 0xb0(r1) /* 801FFBD4 001FCB34 C0 61 00 BC */ lfs f3, 0xbc(r1) /* 801FFBD8 001FCB38 C0 21 00 AC */ lfs f1, 0xac(r1) /* 801FFBDC 001FCB3C C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 801FFBE0 001FCB40 EC 64 18 28 */ fsubs f3, f4, f3 /* 801FFBE4 001FCB44 D0 A1 00 B4 */ stfs f5, 0xb4(r1) /* 801FFBE8 001FCB48 EC 01 00 28 */ fsubs f0, f1, f0 /* 801FFBEC 001FCB4C EC 45 10 28 */ fsubs f2, f5, f2 /* 801FFBF0 001FCB50 EC 66 00 F2 */ fmuls f3, f6, f3 /* 801FFBF4 001FCB54 EC 06 00 32 */ fmuls f0, f6, f0 /* 801FFBF8 001FCB58 EC 26 00 B2 */ fmuls f1, f6, f2 /* 801FFBFC 001FCB5C D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 801FFC00 001FCB60 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 801FFC04 001FCB64 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 801FFC08 001FCB68 83 BE 00 6C */ lwz r29, 0x6c(r30) /* 801FFC0C 001FCB6C 38 7D 00 34 */ addi r3, r29, 0x34 /* 801FFC10 001FCB70 48 11 2F 31 */ bl __as__12CTransform4fFRC12CTransform4f /* 801FFC14 001FCB74 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801FFC18 001FCB78 38 60 00 01 */ li r3, 1 /* 801FFC1C 001FCB7C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 801FFC20 001FCB80 38 81 00 AC */ addi r4, r1, 0xac /* 801FFC24 001FCB84 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801FFC28 001FCB88 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801FFC2C 001FCB8C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 801FFC30 001FCB90 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801FFC34 001FCB94 88 1D 00 E4 */ lbz r0, 0xe4(r29) /* 801FFC38 001FCB98 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 801FFC3C 001FCB9C 98 1D 00 E4 */ stb r0, 0xe4(r29) /* 801FFC40 001FCBA0 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FFC44 001FCBA4 4B E5 32 49 */ bl SetTranslation__6CActorFRC9CVector3f /* 801FFC48 001FCBA8 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FFC4C 001FCBAC 38 81 00 A0 */ addi r4, r1, 0xa0 /* 801FFC50 001FCBB0 4B F1 B0 51 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f /* 801FFC54 001FCBB4 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FFC58 001FCBB8 88 03 06 A1 */ lbz r0, 0x6a1(r3) /* 801FFC5C 001FCBBC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801FFC60 001FCBC0 41 82 00 64 */ beq lbl_801FFCC4 /* 801FFC64 001FCBC4 C0 21 00 B0 */ lfs f1, 0xb0(r1) /* 801FFC68 001FCBC8 C0 03 02 E4 */ lfs f0, 0x2e4(r3) /* 801FFC6C 001FCBCC C0 41 00 AC */ lfs f2, 0xac(r1) /* 801FFC70 001FCBD0 EC A1 00 28 */ fsubs f5, f1, f0 /* 801FFC74 001FCBD4 C0 23 02 E0 */ lfs f1, 0x2e0(r3) /* 801FFC78 001FCBD8 C0 1E 00 A8 */ lfs f0, 0xa8(r30) /* 801FFC7C 001FCBDC EC 62 08 28 */ fsubs f3, f2, f1 /* 801FFC80 001FCBE0 C0 81 00 B4 */ lfs f4, 0xb4(r1) /* 801FFC84 001FCBE4 C0 43 02 E8 */ lfs f2, 0x2e8(r3) /* 801FFC88 001FCBE8 EC 05 00 32 */ fmuls f0, f5, f0 /* 801FFC8C 001FCBEC C0 3E 00 A4 */ lfs f1, 0xa4(r30) /* 801FFC90 001FCBF0 EC 84 10 28 */ fsubs f4, f4, f2 /* 801FFC94 001FCBF4 C0 5E 00 AC */ lfs f2, 0xac(r30) /* 801FFC98 001FCBF8 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 801FFC9C 001FCBFC C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FFCA0 001FCC00 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 801FFCA4 001FCC04 EC 24 08 BA */ fmadds f1, f4, f2, f1 /* 801FFCA8 001FCC08 D0 A1 00 50 */ stfs f5, 0x50(r1) /* 801FFCAC 001FCC0C D0 81 00 54 */ stfs f4, 0x54(r1) /* 801FFCB0 001FCC10 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FFCB4 001FCC14 40 81 00 10 */ ble lbl_801FFCC4 /* 801FFCB8 001FCC18 C0 02 AF 74 */ lfs f0, lbl_805ACC94@sda21(r2) /* 801FFCBC 001FCC1C EC 00 07 72 */ fmuls f0, f0, f29 /* 801FFCC0 001FCC20 D0 03 08 8C */ stfs f0, 0x88c(r3) lbl_801FFCC4: /* 801FFCC4 001FCC24 C0 3E 00 8C */ lfs f1, 0x8c(r30) /* 801FFCC8 001FCC28 C0 02 AF 64 */ lfs f0, lbl_805ACC84@sda21(r2) /* 801FFCCC 001FCC2C EC 21 E8 28 */ fsubs f1, f1, f29 /* 801FFCD0 001FCC30 D0 3E 00 8C */ stfs f1, 0x8c(r30) /* 801FFCD4 001FCC34 C0 BE 00 54 */ lfs f5, 0x54(r30) /* 801FFCD8 001FCC38 FC 05 00 40 */ fcmpo cr0, f5, f0 /* 801FFCDC 001FCC3C 40 81 01 38 */ ble lbl_801FFE14 /* 801FFCE0 001FCC40 C0 3E 00 8C */ lfs f1, 0x8c(r30) /* 801FFCE4 001FCC44 C0 02 AF 60 */ lfs f0, lbl_805ACC80@sda21(r2) /* 801FFCE8 001FCC48 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FFCEC 001FCC4C 40 80 01 28 */ bge lbl_801FFE14 /* 801FFCF0 001FCC50 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FFCF4 001FCC54 88 1E 00 B0 */ lbz r0, 0xb0(r30) /* 801FFCF8 001FCC58 C0 23 00 40 */ lfs f1, 0x40(r3) /* 801FFCFC 001FCC5C C0 1E 00 90 */ lfs f0, 0x90(r30) /* 801FFD00 001FCC60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 801FFD04 001FCC64 C0 63 00 50 */ lfs f3, 0x50(r3) /* 801FFD08 001FCC68 EC 81 00 28 */ fsubs f4, f1, f0 /* 801FFD0C 001FCC6C C0 5E 00 94 */ lfs f2, 0x94(r30) /* 801FFD10 001FCC70 C0 23 00 60 */ lfs f1, 0x60(r3) /* 801FFD14 001FCC74 C0 1E 00 98 */ lfs f0, 0x98(r30) /* 801FFD18 001FCC78 EC 63 10 28 */ fsubs f3, f3, f2 /* 801FFD1C 001FCC7C EC 41 00 28 */ fsubs f2, f1, f0 /* 801FFD20 001FCC80 40 82 00 1C */ bne lbl_801FFD3C /* 801FFD24 001FCC84 EC 23 00 F2 */ fmuls f1, f3, f3 /* 801FFD28 001FCC88 C0 02 AF B0 */ lfs f0, lbl_805ACCD0@sda21(r2) /* 801FFD2C 001FCC8C EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 801FFD30 001FCC90 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 801FFD34 001FCC94 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 801FFD38 001FCC98 40 81 00 DC */ ble lbl_801FFE14 lbl_801FFD3C: /* 801FFD3C 001FCC9C C0 02 AF D0 */ lfs f0, lbl_805ACCF0@sda21(r2) /* 801FFD40 001FCCA0 38 61 00 18 */ addi r3, r1, 0x18 /* 801FFD44 001FCCA4 38 8D 92 D8 */ addi r4, r13, lbl_805A7E98@sda21 /* 801FFD48 001FCCA8 EC 00 01 72 */ fmuls f0, f0, f5 /* 801FFD4C 001FCCAC D0 01 00 18 */ stfs f0, 0x18(r1) /* 801FFD50 001FCCB0 4B E7 E0 91 */ bl "Min__5CMathFRCfRCf" /* 801FFD54 001FCCB4 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 801FFD58 001FCCB8 C3 E3 00 00 */ lfs f31, 0(r3) /* 801FFD5C 001FCCBC C0 44 00 60 */ lfs f2, 0x60(r4) /* 801FFD60 001FCCC0 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801FFD64 001FCCC4 C0 04 00 40 */ lfs f0, 0x40(r4) /* 801FFD68 001FCCC8 D0 01 00 40 */ stfs f0, 0x40(r1) /* 801FFD6C 001FCCCC D0 21 00 44 */ stfs f1, 0x44(r1) /* 801FFD70 001FCCD0 D0 41 00 48 */ stfs f2, 0x48(r1) /* 801FFD74 001FCCD4 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 /* 801FFD78 001FCCD8 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FFD7C 001FCCDC 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) /* 801FFD80 001FCCE0 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801FFD84 001FCCE4 88 E1 00 10 */ lbz r7, 0x10(r1) /* 801FFD88 001FCCE8 38 61 00 14 */ addi r3, r1, 0x14 /* 801FFD8C 001FCCEC 90 01 00 08 */ stw r0, 8(r1) /* 801FFD90 001FCCF0 38 A1 00 40 */ addi r5, r1, 0x40 /* 801FFD94 001FCCF4 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) /* 801FFD98 001FCCF8 39 00 00 01 */ li r8, 1 /* 801FFD9C 001FCCFC A0 9E 00 88 */ lhz r4, 0x88(r30) /* 801FFDA0 001FCD00 39 20 00 00 */ li r9, 0 /* 801FFDA4 001FCD04 48 0E A4 15 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi /* 801FFDA8 001FCD08 80 7F 09 00 */ lwz r3, 0x900(r31) /* 801FFDAC 001FCD0C 48 11 27 31 */ bl Float__9CRandom16Fv /* 801FFDB0 001FCD10 C0 02 B0 24 */ lfs f0, lbl_805ACD44@sda21(r2) /* 801FFDB4 001FCD14 38 60 00 00 */ li r3, 0 /* 801FFDB8 001FCD18 EC 00 00 7A */ fmadds f0, f0, f1, f0 /* 801FFDBC 001FCD1C D0 1E 00 8C */ stfs f0, 0x8c(r30) /* 801FFDC0 001FCD20 88 1E 00 B0 */ lbz r0, 0xb0(r30) /* 801FFDC4 001FCD24 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 801FFDC8 001FCD28 98 1E 00 B0 */ stb r0, 0xb0(r30) /* 801FFDCC 001FCD2C 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FFDD0 001FCD30 C0 43 00 60 */ lfs f2, 0x60(r3) /* 801FFDD4 001FCD34 C0 23 00 50 */ lfs f1, 0x50(r3) /* 801FFDD8 001FCD38 C0 03 00 40 */ lfs f0, 0x40(r3) /* 801FFDDC 001FCD3C D0 1E 00 90 */ stfs f0, 0x90(r30) /* 801FFDE0 001FCD40 D0 3E 00 94 */ stfs f1, 0x94(r30) /* 801FFDE4 001FCD44 D0 5E 00 98 */ stfs f2, 0x98(r30) /* 801FFDE8 001FCD48 48 00 00 2C */ b lbl_801FFE14 lbl_801FFDEC: /* 801FFDEC 001FCD4C 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FFDF0 001FCD50 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 801FFDF4 001FCD54 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 801FFDF8 001FCD58 D0 04 01 50 */ stfs f0, 0x150(r4) /* 801FFDFC 001FCD5C C0 03 00 04 */ lfs f0, 4(r3) /* 801FFE00 001FCD60 D0 04 01 54 */ stfs f0, 0x154(r4) /* 801FFE04 001FCD64 C0 03 00 08 */ lfs f0, 8(r3) /* 801FFE08 001FCD68 D0 04 01 58 */ stfs f0, 0x158(r4) /* 801FFE0C 001FCD6C 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 801FFE10 001FCD70 4B F1 B5 69 */ bl Stop__13CPhysicsActorFv lbl_801FFE14: /* 801FFE14 001FCD74 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 801FFE18 001FCD78 CB E1 01 20 */ lfd f31, 0x120(r1) /* 801FFE1C 001FCD7C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 /* 801FFE20 001FCD80 CB C1 01 10 */ lfd f30, 0x110(r1) /* 801FFE24 001FCD84 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 /* 801FFE28 001FCD88 CB A1 01 00 */ lfd f29, 0x100(r1) /* 801FFE2C 001FCD8C E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 /* 801FFE30 001FCD90 CB 81 00 F0 */ lfd f28, 0xf0(r1) /* 801FFE34 001FCD94 83 E1 00 EC */ lwz r31, 0xec(r1) /* 801FFE38 001FCD98 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 801FFE3C 001FCD9C 80 01 01 34 */ lwz r0, 0x134(r1) /* 801FFE40 001FCDA0 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 801FFE44 001FCDA4 7C 08 03 A6 */ mtlr r0 /* 801FFE48 001FCDA8 38 21 01 30 */ addi r1, r1, 0x130 /* 801FFE4C 001FCDAC 4E 80 00 20 */ blr .global sub_801ffe50 sub_801ffe50: /* 801FFE50 001FCDB0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 801FFE54 001FCDB4 7C 08 02 A6 */ mflr r0 /* 801FFE58 001FCDB8 90 01 00 34 */ stw r0, 0x34(r1) /* 801FFE5C 001FCDBC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 801FFE60 001FCDC0 7C DF 33 78 */ mr r31, r6 /* 801FFE64 001FCDC4 93 C1 00 28 */ stw r30, 0x28(r1) /* 801FFE68 001FCDC8 7C BE 2B 78 */ mr r30, r5 /* 801FFE6C 001FCDCC 93 A1 00 24 */ stw r29, 0x24(r1) /* 801FFE70 001FCDD0 7C 9D 23 78 */ mr r29, r4 /* 801FFE74 001FCDD4 93 81 00 20 */ stw r28, 0x20(r1) /* 801FFE78 001FCDD8 7C 7C 1B 78 */ mr r28, r3 /* 801FFE7C 001FCDDC 80 83 00 6C */ lwz r4, 0x6c(r3) /* 801FFE80 001FCDE0 88 04 06 A1 */ lbz r0, 0x6a1(r4) /* 801FFE84 001FCDE4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 801FFE88 001FCDE8 41 82 00 4C */ beq lbl_801FFED4 /* 801FFE8C 001FCDEC C0 44 00 60 */ lfs f2, 0x60(r4) /* 801FFE90 001FCDF0 3C 60 80 5A */ lis r3, skZero3f@ha /* 801FFE94 001FCDF4 C0 24 00 50 */ lfs f1, 0x50(r4) /* 801FFE98 001FCDF8 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 801FFE9C 001FCDFC C0 04 00 40 */ lfs f0, 0x40(r4) /* 801FFEA0 001FCE00 38 61 00 08 */ addi r3, r1, 8 /* 801FFEA4 001FCE04 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 801FFEA8 001FCE08 38 A1 00 0C */ addi r5, r1, 0xc /* 801FFEAC 001FCE0C D0 01 00 0C */ stfs f0, 0xc(r1) /* 801FFEB0 001FCE10 38 E0 00 01 */ li r7, 1 /* 801FFEB4 001FCE14 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 801FFEB8 001FCE18 39 00 00 01 */ li r8, 1 /* 801FFEBC 001FCE1C D0 21 00 10 */ stfs f1, 0x10(r1) /* 801FFEC0 001FCE20 D0 41 00 14 */ stfs f2, 0x14(r1) /* 801FFEC4 001FCE24 A0 9C 00 9C */ lhz r4, 0x9c(r28) /* 801FFEC8 001FCE28 48 0E A3 E9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 801FFECC 001FCE2C 80 01 00 08 */ lwz r0, 8(r1) /* 801FFED0 001FCE30 90 1C 00 A0 */ stw r0, 0xa0(r28) lbl_801FFED4: /* 801FFED4 001FCE34 7F 83 E3 78 */ mr r3, r28 /* 801FFED8 001FCE38 7F A4 EB 78 */ mr r4, r29 /* 801FFEDC 001FCE3C 7F C5 F3 78 */ mr r5, r30 /* 801FFEE0 001FCE40 7F E6 FB 78 */ mr r6, r31 /* 801FFEE4 001FCE44 48 00 E7 F1 */ bl Prime__8CRagDollFR13CStateManagerRC12CTransform4fR10CModelData /* 801FFEE8 001FCE48 80 01 00 34 */ lwz r0, 0x34(r1) /* 801FFEEC 001FCE4C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801FFEF0 001FCE50 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801FFEF4 001FCE54 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801FFEF8 001FCE58 83 81 00 20 */ lwz r28, 0x20(r1) /* 801FFEFC 001FCE5C 7C 08 03 A6 */ mtlr r0 /* 801FFF00 001FCE60 38 21 00 30 */ addi r1, r1, 0x30 /* 801FFF04 001FCE64 4E 80 00 20 */ blr .global __dt__20CFlyingPirateRagDollFv __dt__20CFlyingPirateRagDollFv: /* 801FFF08 001FCE68 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801FFF0C 001FCE6C 7C 08 02 A6 */ mflr r0 /* 801FFF10 001FCE70 90 01 00 24 */ stw r0, 0x24(r1) /* 801FFF14 001FCE74 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801FFF18 001FCE78 7C 9F 23 78 */ mr r31, r4 /* 801FFF1C 001FCE7C 93 C1 00 18 */ stw r30, 0x18(r1) /* 801FFF20 001FCE80 7C 7E 1B 79 */ or. r30, r3, r3 /* 801FFF24 001FCE84 41 82 00 3C */ beq lbl_801FFF60 /* 801FFF28 001FCE88 3C 80 80 3E */ lis r4, lbl_803E6B98@ha /* 801FFF2C 001FCE8C 38 61 00 08 */ addi r3, r1, 8 /* 801FFF30 001FCE90 38 04 6B 98 */ addi r0, r4, lbl_803E6B98@l /* 801FFF34 001FCE94 90 1E 00 00 */ stw r0, 0(r30) /* 801FFF38 001FCE98 80 1E 00 A0 */ lwz r0, 0xa0(r30) /* 801FFF3C 001FCE9C 90 01 00 08 */ stw r0, 8(r1) /* 801FFF40 001FCEA0 48 0E 9F 45 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 801FFF44 001FCEA4 7F C3 F3 78 */ mr r3, r30 /* 801FFF48 001FCEA8 38 80 00 00 */ li r4, 0 /* 801FFF4C 001FCEAC 4B F2 08 D1 */ bl __dt__8CRagDollFv /* 801FFF50 001FCEB0 7F E0 07 35 */ extsh. r0, r31 /* 801FFF54 001FCEB4 40 81 00 0C */ ble lbl_801FFF60 /* 801FFF58 001FCEB8 7F C3 F3 78 */ mr r3, r30 /* 801FFF5C 001FCEBC 48 11 59 D5 */ bl Free__7CMemoryFPCv lbl_801FFF60: /* 801FFF60 001FCEC0 80 01 00 24 */ lwz r0, 0x24(r1) /* 801FFF64 001FCEC4 7F C3 F3 78 */ mr r3, r30 /* 801FFF68 001FCEC8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 801FFF6C 001FCECC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 801FFF70 001FCED0 7C 08 03 A6 */ mtlr r0 /* 801FFF74 001FCED4 38 21 00 20 */ addi r1, r1, 0x20 /* 801FFF78 001FCED8 4E 80 00 20 */ blr .global __ct__20CFlyingPirateRagDollFR13CStateManagerP13CFlyingPiratefUsUs __ct__20CFlyingPirateRagDollFR13CStateManagerP13CFlyingPiratefUsUs: /* 801FFF7C 001FCEDC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 801FFF80 001FCEE0 7C 08 02 A6 */ mflr r0 /* 801FFF84 001FCEE4 90 01 00 C4 */ stw r0, 0xc4(r1) /* 801FFF88 001FCEE8 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 801FFF8C 001FCEEC F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 801FFF90 001FCEF0 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 801FFF94 001FCEF4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 801FFF98 001FCEF8 DB A1 00 90 */ stfd f29, 0x90(r1) /* 801FFF9C 001FCEFC F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 801FFFA0 001FCF00 BF 21 00 74 */ stmw r25, 0x74(r1) /* 801FFFA4 001FCF04 7C BF 2B 78 */ mr r31, r5 /* 801FFFA8 001FCF08 7C 7D 1B 78 */ mr r29, r3 /* 801FFFAC 001FCF0C 7F E3 FB 78 */ mr r3, r31 /* 801FFFB0 001FCF10 7C 9E 23 78 */ mr r30, r4 /* 801FFFB4 001FCF14 81 9F 00 00 */ lwz r12, 0(r31) /* 801FFFB8 001FCF18 7C DA 33 78 */ mr r26, r6 /* 801FFFBC 001FCF1C 7C F9 3B 78 */ mr r25, r7 /* 801FFFC0 001FCF20 C3 A2 AF 5C */ lfs f29, lbl_805ACC7C@sda21(r2) /* 801FFFC4 001FCF24 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 801FFFC8 001FCF28 7D 89 03 A6 */ mtctr r12 /* 801FFFCC 001FCF2C 4E 80 04 21 */ bctrl /* 801FFFD0 001FCF30 FC 20 08 50 */ fneg f1, f1 /* 801FFFD4 001FCF34 C0 62 AF EC */ lfs f3, lbl_805ACD0C@sda21(r2) /* 801FFFD8 001FCF38 FC 40 E8 50 */ fneg f2, f29 /* 801FFFDC 001FCF3C 7F A3 EB 78 */ mr r3, r29 /* 801FFFE0 001FCF40 38 80 00 00 */ li r4, 0 /* 801FFFE4 001FCF44 48 00 E8 ED */ bl __ct__8CRagDollFfffUi /* 801FFFE8 001FCF48 3C 60 80 3E */ lis r3, lbl_803E6B98@ha /* 801FFFEC 001FCF4C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 801FFFF0 001FCF50 38 03 6B 98 */ addi r0, r3, lbl_803E6B98@l /* 801FFFF4 001FCF54 C0 42 AF 60 */ lfs f2, lbl_805ACC80@sda21(r2) /* 801FFFF8 001FCF58 90 1D 00 00 */ stw r0, 0(r29) /* 801FFFFC 001FCF5C 39 24 66 F4 */ addi r9, r4, lbl_805A66F4@l /* 80200000 001FCF60 3C 60 80 5A */ lis r3, skZero3f@ha /* 80200004 001FCF64 C0 02 AF E4 */ lfs f0, lbl_805ACD04@sda21(r2) /* 80200008 001FCF68 93 FD 00 6C */ stw r31, 0x6c(r29) /* 8020000C 001FCF6C 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 80200010 001FCF70 38 00 00 00 */ li r0, 0 /* 80200014 001FCF74 38 60 00 01 */ li r3, 1 /* 80200018 001FCF78 D0 5D 00 70 */ stfs f2, 0x70(r29) /* 8020001C 001FCF7C 7F C7 F3 78 */ mr r7, r30 /* 80200020 001FCF80 38 80 00 13 */ li r4, 0x13 /* 80200024 001FCF84 38 A0 00 30 */ li r5, 0x30 /* 80200028 001FCF88 C0 29 00 00 */ lfs f1, 0(r9) /* 8020002C 001FCF8C 38 C0 00 25 */ li r6, 0x25 /* 80200030 001FCF90 D0 3D 00 74 */ stfs f1, 0x74(r29) /* 80200034 001FCF94 C0 29 00 04 */ lfs f1, 4(r9) /* 80200038 001FCF98 D0 3D 00 78 */ stfs f1, 0x78(r29) /* 8020003C 001FCF9C C0 29 00 08 */ lfs f1, 8(r9) /* 80200040 001FCFA0 D0 3D 00 7C */ stfs f1, 0x7c(r29) /* 80200044 001FCFA4 D0 5D 00 80 */ stfs f2, 0x80(r29) /* 80200048 001FCFA8 D0 1D 00 84 */ stfs f0, 0x84(r29) /* 8020004C 001FCFAC B3 5D 00 88 */ sth r26, 0x88(r29) /* 80200050 001FCFB0 D0 5D 00 8C */ stfs f2, 0x8c(r29) /* 80200054 001FCFB4 C0 08 00 00 */ lfs f0, 0(r8) /* 80200058 001FCFB8 D0 1D 00 90 */ stfs f0, 0x90(r29) /* 8020005C 001FCFBC C0 08 00 04 */ lfs f0, 4(r8) /* 80200060 001FCFC0 D0 1D 00 94 */ stfs f0, 0x94(r29) /* 80200064 001FCFC4 C0 08 00 08 */ lfs f0, 8(r8) /* 80200068 001FCFC8 D0 1D 00 98 */ stfs f0, 0x98(r29) /* 8020006C 001FCFCC B3 3D 00 9C */ sth r25, 0x9c(r29) /* 80200070 001FCFD0 90 1D 00 A0 */ stw r0, 0xa0(r29) /* 80200074 001FCFD4 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) /* 80200078 001FCFD8 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8020007C 001FCFDC C0 9F 02 E4 */ lfs f4, 0x2e4(r31) /* 80200080 001FCFE0 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 80200084 001FCFE4 EC 01 00 28 */ fsubs f0, f1, f0 /* 80200088 001FCFE8 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) /* 8020008C 001FCFEC C0 3F 00 60 */ lfs f1, 0x60(r31) /* 80200090 001FCFF0 EC 64 18 28 */ fsubs f3, f4, f3 /* 80200094 001FCFF4 D0 1D 00 A4 */ stfs f0, 0xa4(r29) /* 80200098 001FCFF8 EC 02 08 28 */ fsubs f0, f2, f1 /* 8020009C 001FCFFC D0 7D 00 A8 */ stfs f3, 0xa8(r29) /* 802000A0 001FD000 D0 1D 00 AC */ stfs f0, 0xac(r29) /* 802000A4 001FD004 88 1D 00 B0 */ lbz r0, 0xb0(r29) /* 802000A8 001FD008 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802000AC 001FD00C 98 1D 00 B0 */ stb r0, 0xb0(r29) /* 802000B0 001FD010 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 802000B4 001FD014 4B E5 3D 39 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager /* 802000B8 001FD018 80 7D 00 6C */ lwz r3, 0x6c(r29) /* 802000BC 001FD01C 7F C4 F3 78 */ mr r4, r30 /* 802000C0 001FD020 81 83 00 00 */ lwz r12, 0(r3) /* 802000C4 001FD024 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802000C8 001FD028 7D 89 03 A6 */ mtctr r12 /* 802000CC 001FD02C 4E 80 04 21 */ bctrl /* 802000D0 001FD030 C0 02 B0 28 */ lfs f0, lbl_805ACD48@sda21(r2) /* 802000D4 001FD034 38 80 00 0F */ li r4, 0xf /* 802000D8 001FD038 D0 03 00 00 */ stfs f0, 0(r3) /* 802000DC 001FD03C 38 7D 00 04 */ addi r3, r29, 4 /* 802000E0 001FD040 4B F2 C9 E5 */ bl "reserve__Q24rstl64vectorFi" /* 802000E4 001FD044 38 7D 00 14 */ addi r3, r29, 0x14 /* 802000E8 001FD048 38 80 00 2D */ li r4, 0x2d /* 802000EC 001FD04C 4B F2 CB 61 */ bl "reserve__Q24rstl72vectorFi" /* 802000F0 001FD050 38 7D 00 24 */ addi r3, r29, 0x24 /* 802000F4 001FD054 38 80 00 04 */ li r4, 4 /* 802000F8 001FD058 4B F2 CC 5D */ bl "reserve__Q24rstl71vectorFi" /* 802000FC 001FD05C 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80200100 001FD060 3B 9F 00 34 */ addi r28, r31, 0x34 /* 80200104 001FD064 C0 43 00 00 */ lfs f2, 0(r3) /* 80200108 001FD068 C0 23 00 04 */ lfs f1, 4(r3) /* 8020010C 001FD06C C0 03 00 08 */ lfs f0, 8(r3) /* 80200110 001FD070 83 63 00 10 */ lwz r27, 0x10(r3) /* 80200114 001FD074 D0 41 00 34 */ stfs f2, 0x34(r1) /* 80200118 001FD078 7F 63 DB 78 */ mr r3, r27 /* 8020011C 001FD07C D0 21 00 38 */ stfs f1, 0x38(r1) /* 80200120 001FD080 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80200124 001FD084 4B E2 C9 3D */ bl BuildPose__9CAnimDataFv /* 80200128 001FD088 7F E4 FB 78 */ mr r4, r31 /* 8020012C 001FD08C 38 61 00 58 */ addi r3, r1, 0x58 /* 80200130 001FD090 4B F1 A7 FD */ bl GetBoundingBox__13CPhysicsActorCFv /* 80200134 001FD094 38 61 00 28 */ addi r3, r1, 0x28 /* 80200138 001FD098 38 81 00 58 */ addi r4, r1, 0x58 /* 8020013C 001FD09C 48 13 74 D1 */ bl GetCenterPoint__6CAABoxCFv /* 80200140 001FD0A0 C0 41 00 28 */ lfs f2, 0x28(r1) /* 80200144 001FD0A4 3C 80 80 47 */ lis r4, lbl_8046CA4C@ha /* 80200148 001FD0A8 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 8020014C 001FD0AC 3C 60 80 3D */ lis r3, lbl_803D2440@ha /* 80200150 001FD0B0 C0 01 00 30 */ lfs f0, 0x30(r1) /* 80200154 001FD0B4 3B E4 CA 4C */ addi r31, r4, lbl_8046CA4C@l /* 80200158 001FD0B8 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 8020015C 001FD0BC 3B 43 24 40 */ addi r26, r3, lbl_803D2440@l /* 80200160 001FD0C0 C3 A1 00 3C */ lfs f29, 0x3c(r1) /* 80200164 001FD0C4 3B 20 00 00 */ li r25, 0 /* 80200168 001FD0C8 D0 21 00 50 */ stfs f1, 0x50(r1) /* 8020016C 001FD0CC C3 C1 00 38 */ lfs f30, 0x38(r1) /* 80200170 001FD0D0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80200174 001FD0D4 C3 E1 00 34 */ lfs f31, 0x34(r1) lbl_80200178: /* 80200178 001FD0D8 7F 64 DB 78 */ mr r4, r27 /* 8020017C 001FD0DC 7F E5 FB 78 */ mr r5, r31 /* 80200180 001FD0E0 38 61 00 08 */ addi r3, r1, 8 /* 80200184 001FD0E4 4B E2 E6 B5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200188 001FD0E8 88 01 00 08 */ lbz r0, 8(r1) /* 8020018C 001FD0EC 38 7B 02 24 */ addi r3, r27, 0x224 /* 80200190 001FD0F0 38 81 00 0C */ addi r4, r1, 0xc /* 80200194 001FD0F4 98 01 00 0C */ stb r0, 0xc(r1) /* 80200198 001FD0F8 48 16 8D C1 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId /* 8020019C 001FD0FC C0 43 00 08 */ lfs f2, 8(r3) /* 802001A0 001FD100 7F 84 E3 78 */ mr r4, r28 /* 802001A4 001FD104 C0 23 00 04 */ lfs f1, 4(r3) /* 802001A8 001FD108 38 A1 00 10 */ addi r5, r1, 0x10 /* 802001AC 001FD10C C0 03 00 00 */ lfs f0, 0(r3) /* 802001B0 001FD110 EC 5D 00 B2 */ fmuls f2, f29, f2 /* 802001B4 001FD114 EC 3E 00 72 */ fmuls f1, f30, f1 /* 802001B8 001FD118 38 61 00 1C */ addi r3, r1, 0x1c /* 802001BC 001FD11C EC 1F 00 32 */ fmuls f0, f31, f0 /* 802001C0 001FD120 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802001C4 001FD124 D0 01 00 10 */ stfs f0, 0x10(r1) /* 802001C8 001FD128 D0 21 00 14 */ stfs f1, 0x14(r1) /* 802001CC 001FD12C 48 11 29 1D */ bl __ml__12CTransform4fCFRC9CVector3f /* 802001D0 001FD130 C0 1A 00 00 */ lfs f0, 0(r26) /* 802001D4 001FD134 7F A3 EB 78 */ mr r3, r29 /* 802001D8 001FD138 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 802001DC 001FD13C 38 81 00 0C */ addi r4, r1, 0xc /* 802001E0 001FD140 C0 41 00 20 */ lfs f2, 0x20(r1) /* 802001E4 001FD144 EC 20 07 72 */ fmuls f1, f0, f29 /* 802001E8 001FD148 C0 01 00 24 */ lfs f0, 0x24(r1) /* 802001EC 001FD14C 38 A1 00 4C */ addi r5, r1, 0x4c /* 802001F0 001FD150 D0 61 00 40 */ stfs f3, 0x40(r1) /* 802001F4 001FD154 38 C1 00 40 */ addi r6, r1, 0x40 /* 802001F8 001FD158 D0 41 00 44 */ stfs f2, 0x44(r1) /* 802001FC 001FD15C D0 01 00 48 */ stfs f0, 0x48(r1) /* 80200200 001FD160 48 00 CC 1D */ bl AddParticle__8CRagDollFRC6CSegIdRC9CVector3fRC9CVector3ff /* 80200204 001FD164 3B 39 00 01 */ addi r25, r25, 1 /* 80200208 001FD168 3B 5A 00 04 */ addi r26, r26, 4 /* 8020020C 001FD16C 2C 19 00 0F */ cmpwi r25, 0xf /* 80200210 001FD170 3B FF 00 10 */ addi r31, r31, 0x10 /* 80200214 001FD174 41 80 FF 64 */ blt lbl_80200178 /* 80200218 001FD178 7F A3 EB 78 */ mr r3, r29 /* 8020021C 001FD17C 7F C4 F3 78 */ mr r4, r30 /* 80200220 001FD180 48 00 E6 05 */ bl SatisfyWorldConstraintsOnConstruction__8CRagDollFR13CStateManager /* 80200224 001FD184 7F A3 EB 78 */ mr r3, r29 /* 80200228 001FD188 38 80 00 00 */ li r4, 0 /* 8020022C 001FD18C 38 A0 00 01 */ li r5, 1 /* 80200230 001FD190 48 00 CA E5 */ bl AddLengthConstraint__8CRagDollFii /* 80200234 001FD194 7F A3 EB 78 */ mr r3, r29 /* 80200238 001FD198 38 80 00 00 */ li r4, 0 /* 8020023C 001FD19C 38 A0 00 02 */ li r5, 2 /* 80200240 001FD1A0 48 00 CA D5 */ bl AddLengthConstraint__8CRagDollFii /* 80200244 001FD1A4 7F A3 EB 78 */ mr r3, r29 /* 80200248 001FD1A8 38 80 00 00 */ li r4, 0 /* 8020024C 001FD1AC 38 A0 00 08 */ li r5, 8 /* 80200250 001FD1B0 48 00 CA C5 */ bl AddLengthConstraint__8CRagDollFii /* 80200254 001FD1B4 7F A3 EB 78 */ mr r3, r29 /* 80200258 001FD1B8 38 80 00 00 */ li r4, 0 /* 8020025C 001FD1BC 38 A0 00 0B */ li r5, 0xb /* 80200260 001FD1C0 48 00 CA B5 */ bl AddLengthConstraint__8CRagDollFii /* 80200264 001FD1C4 7F A3 EB 78 */ mr r3, r29 /* 80200268 001FD1C8 38 80 00 00 */ li r4, 0 /* 8020026C 001FD1CC 38 A0 00 05 */ li r5, 5 /* 80200270 001FD1D0 48 00 CA A5 */ bl AddLengthConstraint__8CRagDollFii /* 80200274 001FD1D4 7F A3 EB 78 */ mr r3, r29 /* 80200278 001FD1D8 38 80 00 02 */ li r4, 2 /* 8020027C 001FD1DC 38 A0 00 03 */ li r5, 3 /* 80200280 001FD1E0 48 00 CA 95 */ bl AddLengthConstraint__8CRagDollFii /* 80200284 001FD1E4 7F A3 EB 78 */ mr r3, r29 /* 80200288 001FD1E8 38 80 00 03 */ li r4, 3 /* 8020028C 001FD1EC 38 A0 00 04 */ li r5, 4 /* 80200290 001FD1F0 48 00 CA 85 */ bl AddLengthConstraint__8CRagDollFii /* 80200294 001FD1F4 7F A3 EB 78 */ mr r3, r29 /* 80200298 001FD1F8 38 80 00 05 */ li r4, 5 /* 8020029C 001FD1FC 38 A0 00 06 */ li r5, 6 /* 802002A0 001FD200 48 00 CA 75 */ bl AddLengthConstraint__8CRagDollFii /* 802002A4 001FD204 7F A3 EB 78 */ mr r3, r29 /* 802002A8 001FD208 38 80 00 06 */ li r4, 6 /* 802002AC 001FD20C 38 A0 00 07 */ li r5, 7 /* 802002B0 001FD210 48 00 CA 65 */ bl AddLengthConstraint__8CRagDollFii /* 802002B4 001FD214 7F A3 EB 78 */ mr r3, r29 /* 802002B8 001FD218 38 80 00 02 */ li r4, 2 /* 802002BC 001FD21C 38 A0 00 05 */ li r5, 5 /* 802002C0 001FD220 48 00 CA 55 */ bl AddLengthConstraint__8CRagDollFii /* 802002C4 001FD224 7F A3 EB 78 */ mr r3, r29 /* 802002C8 001FD228 38 80 00 02 */ li r4, 2 /* 802002CC 001FD22C 38 A0 00 08 */ li r5, 8 /* 802002D0 001FD230 48 00 CA 45 */ bl AddLengthConstraint__8CRagDollFii /* 802002D4 001FD234 7F A3 EB 78 */ mr r3, r29 /* 802002D8 001FD238 38 80 00 02 */ li r4, 2 /* 802002DC 001FD23C 38 A0 00 0B */ li r5, 0xb /* 802002E0 001FD240 48 00 CA 35 */ bl AddLengthConstraint__8CRagDollFii /* 802002E4 001FD244 7F A3 EB 78 */ mr r3, r29 /* 802002E8 001FD248 38 80 00 05 */ li r4, 5 /* 802002EC 001FD24C 38 A0 00 08 */ li r5, 8 /* 802002F0 001FD250 48 00 CA 25 */ bl AddLengthConstraint__8CRagDollFii /* 802002F4 001FD254 7F A3 EB 78 */ mr r3, r29 /* 802002F8 001FD258 38 80 00 05 */ li r4, 5 /* 802002FC 001FD25C 38 A0 00 0B */ li r5, 0xb /* 80200300 001FD260 48 00 CA 15 */ bl AddLengthConstraint__8CRagDollFii /* 80200304 001FD264 7F A3 EB 78 */ mr r3, r29 /* 80200308 001FD268 38 80 00 08 */ li r4, 8 /* 8020030C 001FD26C 38 A0 00 0B */ li r5, 0xb /* 80200310 001FD270 48 00 CA 05 */ bl AddLengthConstraint__8CRagDollFii /* 80200314 001FD274 7F A3 EB 78 */ mr r3, r29 /* 80200318 001FD278 38 80 00 08 */ li r4, 8 /* 8020031C 001FD27C 38 A0 00 09 */ li r5, 9 /* 80200320 001FD280 48 00 C9 F5 */ bl AddLengthConstraint__8CRagDollFii /* 80200324 001FD284 7F A3 EB 78 */ mr r3, r29 /* 80200328 001FD288 38 80 00 09 */ li r4, 9 /* 8020032C 001FD28C 38 A0 00 0A */ li r5, 0xa /* 80200330 001FD290 48 00 C9 E5 */ bl AddLengthConstraint__8CRagDollFii /* 80200334 001FD294 7F A3 EB 78 */ mr r3, r29 /* 80200338 001FD298 38 80 00 0B */ li r4, 0xb /* 8020033C 001FD29C 38 A0 00 0C */ li r5, 0xc /* 80200340 001FD2A0 48 00 C9 D5 */ bl AddLengthConstraint__8CRagDollFii /* 80200344 001FD2A4 7F A3 EB 78 */ mr r3, r29 /* 80200348 001FD2A8 38 80 00 0C */ li r4, 0xc /* 8020034C 001FD2AC 38 A0 00 0D */ li r5, 0xd /* 80200350 001FD2B0 48 00 C9 C5 */ bl AddLengthConstraint__8CRagDollFii /* 80200354 001FD2B4 7F A3 EB 78 */ mr r3, r29 /* 80200358 001FD2B8 38 80 00 0E */ li r4, 0xe /* 8020035C 001FD2BC 38 A0 00 00 */ li r5, 0 /* 80200360 001FD2C0 48 00 C9 B5 */ bl AddLengthConstraint__8CRagDollFii /* 80200364 001FD2C4 7F A3 EB 78 */ mr r3, r29 /* 80200368 001FD2C8 38 80 00 0E */ li r4, 0xe /* 8020036C 001FD2CC 38 A0 00 02 */ li r5, 2 /* 80200370 001FD2D0 48 00 C9 A5 */ bl AddLengthConstraint__8CRagDollFii /* 80200374 001FD2D4 7F A3 EB 78 */ mr r3, r29 /* 80200378 001FD2D8 38 80 00 0E */ li r4, 0xe /* 8020037C 001FD2DC 38 A0 00 05 */ li r5, 5 /* 80200380 001FD2E0 48 00 C9 95 */ bl AddLengthConstraint__8CRagDollFii /* 80200384 001FD2E4 7F A3 EB 78 */ mr r3, r29 /* 80200388 001FD2E8 38 80 00 0E */ li r4, 0xe /* 8020038C 001FD2EC 38 A0 00 08 */ li r5, 8 /* 80200390 001FD2F0 48 00 C9 85 */ bl AddLengthConstraint__8CRagDollFii /* 80200394 001FD2F4 7F A3 EB 78 */ mr r3, r29 /* 80200398 001FD2F8 38 80 00 0E */ li r4, 0xe /* 8020039C 001FD2FC 38 A0 00 0B */ li r5, 0xb /* 802003A0 001FD300 48 00 C9 75 */ bl AddLengthConstraint__8CRagDollFii /* 802003A4 001FD304 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802003A8 001FD308 7F A3 EB 78 */ mr r3, r29 /* 802003AC 001FD30C 38 80 00 01 */ li r4, 1 /* 802003B0 001FD310 38 A0 00 08 */ li r5, 8 /* 802003B4 001FD314 C0 26 00 28 */ lfs f1, 0x28(r6) /* 802003B8 001FD318 48 00 C8 A9 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802003BC 001FD31C 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802003C0 001FD320 7F A3 EB 78 */ mr r3, r29 /* 802003C4 001FD324 38 80 00 01 */ li r4, 1 /* 802003C8 001FD328 38 A0 00 0B */ li r5, 0xb /* 802003CC 001FD32C C0 26 00 38 */ lfs f1, 0x38(r6) /* 802003D0 001FD330 48 00 C8 91 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802003D4 001FD334 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802003D8 001FD338 7F A3 EB 78 */ mr r3, r29 /* 802003DC 001FD33C 38 80 00 04 */ li r4, 4 /* 802003E0 001FD340 38 A0 00 02 */ li r5, 2 /* 802003E4 001FD344 C0 26 00 58 */ lfs f1, 0x58(r6) /* 802003E8 001FD348 48 00 C8 79 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802003EC 001FD34C 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802003F0 001FD350 7F A3 EB 78 */ mr r3, r29 /* 802003F4 001FD354 38 80 00 07 */ li r4, 7 /* 802003F8 001FD358 38 A0 00 05 */ li r5, 5 /* 802003FC 001FD35C C0 26 00 78 */ lfs f1, 0x78(r6) /* 80200400 001FD360 48 00 C8 61 */ bl AddMinLengthConstraint__8CRagDollFiif /* 80200404 001FD364 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200408 001FD368 7F A3 EB 78 */ mr r3, r29 /* 8020040C 001FD36C C0 42 AF 74 */ lfs f2, lbl_805ACC94@sda21(r2) /* 80200410 001FD370 38 80 00 03 */ li r4, 3 /* 80200414 001FD374 C0 26 00 58 */ lfs f1, 0x58(r6) /* 80200418 001FD378 38 A0 00 05 */ li r5, 5 /* 8020041C 001FD37C C0 06 00 98 */ lfs f0, 0x98(r6) /* 80200420 001FD380 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80200424 001FD384 48 00 C8 3D */ bl AddMinLengthConstraint__8CRagDollFiif /* 80200428 001FD388 80 DD 00 20 */ lwz r6, 0x20(r29) /* 8020042C 001FD38C 7F A3 EB 78 */ mr r3, r29 /* 80200430 001FD390 C0 42 AF 74 */ lfs f2, lbl_805ACC94@sda21(r2) /* 80200434 001FD394 38 80 00 06 */ li r4, 6 /* 80200438 001FD398 C0 26 00 78 */ lfs f1, 0x78(r6) /* 8020043C 001FD39C 38 A0 00 02 */ li r5, 2 /* 80200440 001FD3A0 C0 06 00 98 */ lfs f0, 0x98(r6) /* 80200444 001FD3A4 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80200448 001FD3A8 48 00 C8 19 */ bl AddMinLengthConstraint__8CRagDollFiif /* 8020044C 001FD3AC 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200450 001FD3B0 7F A3 EB 78 */ mr r3, r29 /* 80200454 001FD3B4 C0 42 AF 74 */ lfs f2, lbl_805ACC94@sda21(r2) /* 80200458 001FD3B8 38 80 00 04 */ li r4, 4 /* 8020045C 001FD3BC C0 26 00 58 */ lfs f1, 0x58(r6) /* 80200460 001FD3C0 38 A0 00 05 */ li r5, 5 /* 80200464 001FD3C4 C0 06 00 98 */ lfs f0, 0x98(r6) /* 80200468 001FD3C8 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 8020046C 001FD3CC 48 00 C7 F5 */ bl AddMinLengthConstraint__8CRagDollFiif /* 80200470 001FD3D0 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200474 001FD3D4 7F A3 EB 78 */ mr r3, r29 /* 80200478 001FD3D8 C0 42 AF 74 */ lfs f2, lbl_805ACC94@sda21(r2) /* 8020047C 001FD3DC 38 80 00 07 */ li r4, 7 /* 80200480 001FD3E0 C0 26 00 78 */ lfs f1, 0x78(r6) /* 80200484 001FD3E4 38 A0 00 02 */ li r5, 2 /* 80200488 001FD3E8 C0 06 00 98 */ lfs f0, 0x98(r6) /* 8020048C 001FD3EC EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80200490 001FD3F0 48 00 C7 D1 */ bl AddMinLengthConstraint__8CRagDollFiif /* 80200494 001FD3F4 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200498 001FD3F8 7F A3 EB 78 */ mr r3, r29 /* 8020049C 001FD3FC 38 80 00 0A */ li r4, 0xa /* 802004A0 001FD400 38 A0 00 08 */ li r5, 8 /* 802004A4 001FD404 C0 26 00 F8 */ lfs f1, 0xf8(r6) /* 802004A8 001FD408 48 00 C7 B9 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802004AC 001FD40C 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802004B0 001FD410 7F A3 EB 78 */ mr r3, r29 /* 802004B4 001FD414 38 80 00 0D */ li r4, 0xd /* 802004B8 001FD418 38 A0 00 0B */ li r5, 0xb /* 802004BC 001FD41C C0 26 01 18 */ lfs f1, 0x118(r6) /* 802004C0 001FD420 48 00 C7 A1 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802004C4 001FD424 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802004C8 001FD428 7F A3 EB 78 */ mr r3, r29 /* 802004CC 001FD42C C0 42 AF A8 */ lfs f2, lbl_805ACCC8@sda21(r2) /* 802004D0 001FD430 38 80 00 09 */ li r4, 9 /* 802004D4 001FD434 C0 26 00 F8 */ lfs f1, 0xf8(r6) /* 802004D8 001FD438 38 A0 00 02 */ li r5, 2 /* 802004DC 001FD43C C0 06 00 A8 */ lfs f0, 0xa8(r6) /* 802004E0 001FD440 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 802004E4 001FD444 48 00 C7 7D */ bl AddMinLengthConstraint__8CRagDollFiif /* 802004E8 001FD448 80 DD 00 20 */ lwz r6, 0x20(r29) /* 802004EC 001FD44C 7F A3 EB 78 */ mr r3, r29 /* 802004F0 001FD450 C0 42 AF A8 */ lfs f2, lbl_805ACCC8@sda21(r2) /* 802004F4 001FD454 38 80 00 0C */ li r4, 0xc /* 802004F8 001FD458 C0 26 01 18 */ lfs f1, 0x118(r6) /* 802004FC 001FD45C 38 A0 00 05 */ li r5, 5 /* 80200500 001FD460 C0 06 00 D8 */ lfs f0, 0xd8(r6) /* 80200504 001FD464 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80200508 001FD468 48 00 C7 59 */ bl AddMinLengthConstraint__8CRagDollFiif /* 8020050C 001FD46C 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200510 001FD470 7F A3 EB 78 */ mr r3, r29 /* 80200514 001FD474 38 80 00 09 */ li r4, 9 /* 80200518 001FD478 38 A0 00 0B */ li r5, 0xb /* 8020051C 001FD47C C0 26 00 F8 */ lfs f1, 0xf8(r6) /* 80200520 001FD480 48 00 C7 41 */ bl AddMinLengthConstraint__8CRagDollFiif /* 80200524 001FD484 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200528 001FD488 7F A3 EB 78 */ mr r3, r29 /* 8020052C 001FD48C 38 80 00 0C */ li r4, 0xc /* 80200530 001FD490 38 A0 00 08 */ li r5, 8 /* 80200534 001FD494 C0 26 01 18 */ lfs f1, 0x118(r6) /* 80200538 001FD498 48 00 C7 29 */ bl AddMinLengthConstraint__8CRagDollFiif /* 8020053C 001FD49C 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200540 001FD4A0 7F A3 EB 78 */ mr r3, r29 /* 80200544 001FD4A4 38 80 00 0A */ li r4, 0xa /* 80200548 001FD4A8 38 A0 00 00 */ li r5, 0 /* 8020054C 001FD4AC C0 26 00 28 */ lfs f1, 0x28(r6) /* 80200550 001FD4B0 C0 06 00 F8 */ lfs f0, 0xf8(r6) /* 80200554 001FD4B4 EC 21 00 2A */ fadds f1, f1, f0 /* 80200558 001FD4B8 48 00 C7 09 */ bl AddMinLengthConstraint__8CRagDollFiif /* 8020055C 001FD4BC 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200560 001FD4C0 7F A3 EB 78 */ mr r3, r29 /* 80200564 001FD4C4 38 80 00 0D */ li r4, 0xd /* 80200568 001FD4C8 38 A0 00 00 */ li r5, 0 /* 8020056C 001FD4CC C0 26 00 38 */ lfs f1, 0x38(r6) /* 80200570 001FD4D0 C0 06 01 18 */ lfs f0, 0x118(r6) /* 80200574 001FD4D4 EC 21 00 2A */ fadds f1, f1, f0 /* 80200578 001FD4D8 48 00 C6 E9 */ bl AddMinLengthConstraint__8CRagDollFiif /* 8020057C 001FD4DC 80 DD 00 20 */ lwz r6, 0x20(r29) /* 80200580 001FD4E0 7F A3 EB 78 */ mr r3, r29 /* 80200584 001FD4E4 38 80 00 0A */ li r4, 0xa /* 80200588 001FD4E8 38 A0 00 0D */ li r5, 0xd /* 8020058C 001FD4EC C0 26 00 E8 */ lfs f1, 0xe8(r6) /* 80200590 001FD4F0 48 00 C6 D1 */ bl AddMinLengthConstraint__8CRagDollFiif /* 80200594 001FD4F4 80 BD 00 20 */ lwz r5, 0x20(r29) /* 80200598 001FD4F8 7F A3 EB 78 */ mr r3, r29 /* 8020059C 001FD4FC C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 802005A0 001FD500 38 80 00 09 */ li r4, 9 /* 802005A4 001FD504 C0 05 00 E8 */ lfs f0, 0xe8(r5) /* 802005A8 001FD508 38 A0 00 0C */ li r5, 0xc /* 802005AC 001FD50C EC 21 00 32 */ fmuls f1, f1, f0 /* 802005B0 001FD510 48 00 C6 B1 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802005B4 001FD514 80 BD 00 20 */ lwz r5, 0x20(r29) /* 802005B8 001FD518 7F A3 EB 78 */ mr r3, r29 /* 802005BC 001FD51C C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 802005C0 001FD520 38 80 00 0A */ li r4, 0xa /* 802005C4 001FD524 C0 05 00 E8 */ lfs f0, 0xe8(r5) /* 802005C8 001FD528 38 A0 00 0C */ li r5, 0xc /* 802005CC 001FD52C EC 21 00 32 */ fmuls f1, f1, f0 /* 802005D0 001FD530 48 00 C6 91 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802005D4 001FD534 80 BD 00 20 */ lwz r5, 0x20(r29) /* 802005D8 001FD538 7F A3 EB 78 */ mr r3, r29 /* 802005DC 001FD53C C0 22 AF 74 */ lfs f1, lbl_805ACC94@sda21(r2) /* 802005E0 001FD540 38 80 00 0D */ li r4, 0xd /* 802005E4 001FD544 C0 05 00 E8 */ lfs f0, 0xe8(r5) /* 802005E8 001FD548 38 A0 00 09 */ li r5, 9 /* 802005EC 001FD54C EC 21 00 32 */ fmuls f1, f1, f0 /* 802005F0 001FD550 48 00 C6 71 */ bl AddMinLengthConstraint__8CRagDollFiif /* 802005F4 001FD554 80 BD 00 20 */ lwz r5, 0x20(r29) /* 802005F8 001FD558 7F A3 EB 78 */ mr r3, r29 /* 802005FC 001FD55C C0 22 AF CC */ lfs f1, lbl_805ACCEC@sda21(r2) /* 80200600 001FD560 38 80 00 0A */ li r4, 0xa /* 80200604 001FD564 C0 05 00 E8 */ lfs f0, 0xe8(r5) /* 80200608 001FD568 38 A0 00 0D */ li r5, 0xd /* 8020060C 001FD56C EC 21 00 32 */ fmuls f1, f1, f0 /* 80200610 001FD570 48 00 C5 9D */ bl AddMaxLengthConstraint__8CRagDollFiif /* 80200614 001FD574 7F A3 EB 78 */ mr r3, r29 /* 80200618 001FD578 38 80 00 08 */ li r4, 8 /* 8020061C 001FD57C 38 A0 00 02 */ li r5, 2 /* 80200620 001FD580 38 C0 00 05 */ li r6, 5 /* 80200624 001FD584 38 E0 00 08 */ li r7, 8 /* 80200628 001FD588 39 00 00 09 */ li r8, 9 /* 8020062C 001FD58C 39 20 00 0A */ li r9, 0xa /* 80200630 001FD590 48 00 C4 C1 */ bl AddJointConstraint__8CRagDollFiiiiii /* 80200634 001FD594 7F A3 EB 78 */ mr r3, r29 /* 80200638 001FD598 38 80 00 0B */ li r4, 0xb /* 8020063C 001FD59C 38 A0 00 02 */ li r5, 2 /* 80200640 001FD5A0 38 C0 00 05 */ li r6, 5 /* 80200644 001FD5A4 38 E0 00 0B */ li r7, 0xb /* 80200648 001FD5A8 39 00 00 0C */ li r8, 0xc /* 8020064C 001FD5AC 39 20 00 0D */ li r9, 0xd /* 80200650 001FD5B0 48 00 C4 A1 */ bl AddJointConstraint__8CRagDollFiiiiii /* 80200654 001FD5B4 7F A3 EB 78 */ mr r3, r29 /* 80200658 001FD5B8 38 80 00 02 */ li r4, 2 /* 8020065C 001FD5BC 38 A0 00 0B */ li r5, 0xb /* 80200660 001FD5C0 38 C0 00 05 */ li r6, 5 /* 80200664 001FD5C4 38 E0 00 02 */ li r7, 2 /* 80200668 001FD5C8 39 00 00 03 */ li r8, 3 /* 8020066C 001FD5CC 39 20 00 04 */ li r9, 4 /* 80200670 001FD5D0 48 00 C4 81 */ bl AddJointConstraint__8CRagDollFiiiiii /* 80200674 001FD5D4 7F A3 EB 78 */ mr r3, r29 /* 80200678 001FD5D8 38 80 00 05 */ li r4, 5 /* 8020067C 001FD5DC 38 A0 00 02 */ li r5, 2 /* 80200680 001FD5E0 38 C0 00 08 */ li r6, 8 /* 80200684 001FD5E4 38 E0 00 05 */ li r7, 5 /* 80200688 001FD5E8 39 00 00 06 */ li r8, 6 /* 8020068C 001FD5EC 39 20 00 07 */ li r9, 7 /* 80200690 001FD5F0 48 00 C4 61 */ bl AddJointConstraint__8CRagDollFiiiiii /* 80200694 001FD5F4 7F A3 EB 78 */ mr r3, r29 /* 80200698 001FD5F8 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 8020069C 001FD5FC CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 802006A0 001FD600 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 802006A4 001FD604 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 802006A8 001FD608 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 802006AC 001FD60C CB A1 00 90 */ lfd f29, 0x90(r1) /* 802006B0 001FD610 BB 21 00 74 */ lmw r25, 0x74(r1) /* 802006B4 001FD614 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 802006B8 001FD618 7C 08 03 A6 */ mtlr r0 /* 802006BC 001FD61C 38 21 00 C0 */ addi r1, r1, 0xc0 /* 802006C0 001FD620 4E 80 00 20 */ blr .global __sinit_CFlyingPirate_cpp __sinit_CFlyingPirate_cpp: /* 802006C4 001FD624 94 21 FE A0 */ stwu r1, -0x160(r1) /* 802006C8 001FD628 7C 08 02 A6 */ mflr r0 /* 802006CC 001FD62C 3C 60 80 3D */ lis r3, lbl_803D247C@ha /* 802006D0 001FD630 3C A0 80 47 */ lis r5, lbl_8046C950@ha /* 802006D4 001FD634 90 01 01 64 */ stw r0, 0x164(r1) /* 802006D8 001FD638 38 83 24 7C */ addi r4, r3, lbl_803D247C@l /* 802006DC 001FD63C 38 61 01 48 */ addi r3, r1, 0x148 /* 802006E0 001FD640 93 E1 01 5C */ stw r31, 0x15c(r1) /* 802006E4 001FD644 3B E5 C9 50 */ addi r31, r5, lbl_8046C950@l /* 802006E8 001FD648 38 84 00 57 */ addi r4, r4, 0x57 /* 802006EC 001FD64C 4B E0 45 CD */ bl string_l__4rstlFPCc /* 802006F0 001FD650 3C 60 80 57 */ lis r3, lbl_80572078@ha /* 802006F4 001FD654 38 81 01 48 */ addi r4, r1, 0x148 /* 802006F8 001FD658 38 63 20 78 */ addi r3, r3, lbl_80572078@l /* 802006FC 001FD65C 48 13 DA 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200700 001FD660 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200704 001FD664 38 BF 00 00 */ addi r5, r31, 0 /* 80200708 001FD668 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 8020070C 001FD66C 48 18 8F 81 */ bl __register_global_object /* 80200710 001FD670 38 61 01 48 */ addi r3, r1, 0x148 /* 80200714 001FD674 48 13 D3 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200718 001FD678 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 8020071C 001FD67C 38 61 01 38 */ addi r3, r1, 0x138 /* 80200720 001FD680 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200724 001FD684 38 84 00 5F */ addi r4, r4, 0x5f /* 80200728 001FD688 4B E0 45 91 */ bl string_l__4rstlFPCc /* 8020072C 001FD68C 3C 60 80 57 */ lis r3, lbl_805720D8@ha /* 80200730 001FD690 38 81 01 38 */ addi r4, r1, 0x138 /* 80200734 001FD694 38 63 20 D8 */ addi r3, r3, lbl_805720D8@l /* 80200738 001FD698 48 13 DA 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020073C 001FD69C 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200740 001FD6A0 38 BF 00 0C */ addi r5, r31, 0xc /* 80200744 001FD6A4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200748 001FD6A8 48 18 8F 45 */ bl __register_global_object /* 8020074C 001FD6AC 38 61 01 38 */ addi r3, r1, 0x138 /* 80200750 001FD6B0 48 13 D3 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200754 001FD6B4 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200758 001FD6B8 38 61 01 28 */ addi r3, r1, 0x128 /* 8020075C 001FD6BC 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200760 001FD6C0 38 84 00 69 */ addi r4, r4, 0x69 /* 80200764 001FD6C4 4B E0 45 55 */ bl string_l__4rstlFPCc /* 80200768 001FD6C8 3C 60 80 57 */ lis r3, lbl_805720E8@ha /* 8020076C 001FD6CC 38 81 01 28 */ addi r4, r1, 0x128 /* 80200770 001FD6D0 38 63 20 E8 */ addi r3, r3, lbl_805720E8@l /* 80200774 001FD6D4 48 13 D9 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200778 001FD6D8 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 8020077C 001FD6DC 38 BF 00 18 */ addi r5, r31, 0x18 /* 80200780 001FD6E0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200784 001FD6E4 48 18 8F 09 */ bl __register_global_object /* 80200788 001FD6E8 38 61 01 28 */ addi r3, r1, 0x128 /* 8020078C 001FD6EC 48 13 D3 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200790 001FD6F0 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200794 001FD6F4 38 61 01 18 */ addi r3, r1, 0x118 /* 80200798 001FD6F8 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 8020079C 001FD6FC 38 84 00 76 */ addi r4, r4, 0x76 /* 802007A0 001FD700 4B E0 45 19 */ bl string_l__4rstlFPCc /* 802007A4 001FD704 3C 60 80 57 */ lis r3, lbl_805720F8@ha /* 802007A8 001FD708 38 81 01 18 */ addi r4, r1, 0x118 /* 802007AC 001FD70C 38 63 20 F8 */ addi r3, r3, lbl_805720F8@l /* 802007B0 001FD710 48 13 D9 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802007B4 001FD714 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 802007B8 001FD718 38 BF 00 24 */ addi r5, r31, 0x24 /* 802007BC 001FD71C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 802007C0 001FD720 48 18 8E CD */ bl __register_global_object /* 802007C4 001FD724 38 61 01 18 */ addi r3, r1, 0x118 /* 802007C8 001FD728 48 13 D3 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802007CC 001FD72C 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 802007D0 001FD730 38 61 01 08 */ addi r3, r1, 0x108 /* 802007D4 001FD734 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 802007D8 001FD738 38 84 00 7D */ addi r4, r4, 0x7d /* 802007DC 001FD73C 4B E0 44 DD */ bl string_l__4rstlFPCc /* 802007E0 001FD740 3C 60 80 57 */ lis r3, lbl_80572108@ha /* 802007E4 001FD744 38 81 01 08 */ addi r4, r1, 0x108 /* 802007E8 001FD748 38 63 21 08 */ addi r3, r3, lbl_80572108@l /* 802007EC 001FD74C 48 13 D9 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802007F0 001FD750 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 802007F4 001FD754 38 BF 00 30 */ addi r5, r31, 0x30 /* 802007F8 001FD758 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 802007FC 001FD75C 48 18 8E 91 */ bl __register_global_object /* 80200800 001FD760 38 61 01 08 */ addi r3, r1, 0x108 /* 80200804 001FD764 48 13 D2 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200808 001FD768 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 8020080C 001FD76C 38 61 00 F8 */ addi r3, r1, 0xf8 /* 80200810 001FD770 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200814 001FD774 38 84 00 8A */ addi r4, r4, 0x8a /* 80200818 001FD778 4B E0 44 A1 */ bl string_l__4rstlFPCc /* 8020081C 001FD77C 3C 60 80 57 */ lis r3, lbl_80572118@ha /* 80200820 001FD780 38 81 00 F8 */ addi r4, r1, 0xf8 /* 80200824 001FD784 38 63 21 18 */ addi r3, r3, lbl_80572118@l /* 80200828 001FD788 48 13 D9 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020082C 001FD78C 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200830 001FD790 38 BF 00 3C */ addi r5, r31, 0x3c /* 80200834 001FD794 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200838 001FD798 48 18 8E 55 */ bl __register_global_object /* 8020083C 001FD79C 38 61 00 F8 */ addi r3, r1, 0xf8 /* 80200840 001FD7A0 48 13 D2 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200844 001FD7A4 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200848 001FD7A8 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8020084C 001FD7AC 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200850 001FD7B0 38 84 00 8F */ addi r4, r4, 0x8f /* 80200854 001FD7B4 4B E0 44 65 */ bl string_l__4rstlFPCc /* 80200858 001FD7B8 38 7F 00 FC */ addi r3, r31, 0xfc /* 8020085C 001FD7BC 38 81 00 E8 */ addi r4, r1, 0xe8 /* 80200860 001FD7C0 48 13 D9 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200864 001FD7C4 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200868 001FD7C8 38 BF 00 48 */ addi r5, r31, 0x48 /* 8020086C 001FD7CC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200870 001FD7D0 48 18 8E 1D */ bl __register_global_object /* 80200874 001FD7D4 38 61 00 E8 */ addi r3, r1, 0xe8 /* 80200878 001FD7D8 48 13 D2 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020087C 001FD7DC 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200880 001FD7E0 38 61 00 D8 */ addi r3, r1, 0xd8 /* 80200884 001FD7E4 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200888 001FD7E8 38 84 00 19 */ addi r4, r4, 0x19 /* 8020088C 001FD7EC 4B E0 44 2D */ bl string_l__4rstlFPCc /* 80200890 001FD7F0 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200894 001FD7F4 38 81 00 D8 */ addi r4, r1, 0xd8 /* 80200898 001FD7F8 38 63 00 10 */ addi r3, r3, 0x10 /* 8020089C 001FD7FC 48 13 D8 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802008A0 001FD800 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 802008A4 001FD804 38 BF 00 54 */ addi r5, r31, 0x54 /* 802008A8 001FD808 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 802008AC 001FD80C 48 18 8D E1 */ bl __register_global_object /* 802008B0 001FD810 38 61 00 D8 */ addi r3, r1, 0xd8 /* 802008B4 001FD814 48 13 D2 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802008B8 001FD818 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 802008BC 001FD81C 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802008C0 001FD820 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 802008C4 001FD824 38 84 00 96 */ addi r4, r4, 0x96 /* 802008C8 001FD828 4B E0 43 F1 */ bl string_l__4rstlFPCc /* 802008CC 001FD82C 38 7F 00 FC */ addi r3, r31, 0xfc /* 802008D0 001FD830 38 81 00 C8 */ addi r4, r1, 0xc8 /* 802008D4 001FD834 38 63 00 20 */ addi r3, r3, 0x20 /* 802008D8 001FD838 48 13 D8 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802008DC 001FD83C 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 802008E0 001FD840 38 BF 00 60 */ addi r5, r31, 0x60 /* 802008E4 001FD844 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 802008E8 001FD848 48 18 8D A5 */ bl __register_global_object /* 802008EC 001FD84C 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802008F0 001FD850 48 13 D1 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802008F4 001FD854 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 802008F8 001FD858 38 61 00 B8 */ addi r3, r1, 0xb8 /* 802008FC 001FD85C 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200900 001FD860 38 84 00 A1 */ addi r4, r4, 0xa1 /* 80200904 001FD864 4B E0 43 B5 */ bl string_l__4rstlFPCc /* 80200908 001FD868 38 7F 00 FC */ addi r3, r31, 0xfc /* 8020090C 001FD86C 38 81 00 B8 */ addi r4, r1, 0xb8 /* 80200910 001FD870 38 63 00 30 */ addi r3, r3, 0x30 /* 80200914 001FD874 48 13 D8 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200918 001FD878 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 8020091C 001FD87C 38 BF 00 6C */ addi r5, r31, 0x6c /* 80200920 001FD880 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200924 001FD884 48 18 8D 69 */ bl __register_global_object /* 80200928 001FD888 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8020092C 001FD88C 48 13 D1 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200930 001FD890 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200934 001FD894 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80200938 001FD898 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 8020093C 001FD89C 38 84 00 A9 */ addi r4, r4, 0xa9 /* 80200940 001FD8A0 4B E0 43 79 */ bl string_l__4rstlFPCc /* 80200944 001FD8A4 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200948 001FD8A8 38 81 00 A8 */ addi r4, r1, 0xa8 /* 8020094C 001FD8AC 38 63 00 40 */ addi r3, r3, 0x40 /* 80200950 001FD8B0 48 13 D8 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200954 001FD8B4 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200958 001FD8B8 38 BF 00 78 */ addi r5, r31, 0x78 /* 8020095C 001FD8BC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200960 001FD8C0 48 18 8D 2D */ bl __register_global_object /* 80200964 001FD8C4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80200968 001FD8C8 48 13 D1 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020096C 001FD8CC 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200970 001FD8D0 38 61 00 98 */ addi r3, r1, 0x98 /* 80200974 001FD8D4 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200978 001FD8D8 38 84 00 B1 */ addi r4, r4, 0xb1 /* 8020097C 001FD8DC 4B E0 43 3D */ bl string_l__4rstlFPCc /* 80200980 001FD8E0 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200984 001FD8E4 38 81 00 98 */ addi r4, r1, 0x98 /* 80200988 001FD8E8 38 63 00 50 */ addi r3, r3, 0x50 /* 8020098C 001FD8EC 48 13 D7 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200990 001FD8F0 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200994 001FD8F4 38 BF 00 84 */ addi r5, r31, 0x84 /* 80200998 001FD8F8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 8020099C 001FD8FC 48 18 8C F1 */ bl __register_global_object /* 802009A0 001FD900 38 61 00 98 */ addi r3, r1, 0x98 /* 802009A4 001FD904 48 13 D1 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802009A8 001FD908 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 802009AC 001FD90C 38 61 00 88 */ addi r3, r1, 0x88 /* 802009B0 001FD910 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 802009B4 001FD914 38 84 00 BC */ addi r4, r4, 0xbc /* 802009B8 001FD918 4B E0 43 01 */ bl string_l__4rstlFPCc /* 802009BC 001FD91C 38 7F 00 FC */ addi r3, r31, 0xfc /* 802009C0 001FD920 38 81 00 88 */ addi r4, r1, 0x88 /* 802009C4 001FD924 38 63 00 60 */ addi r3, r3, 0x60 /* 802009C8 001FD928 48 13 D7 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802009CC 001FD92C 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 802009D0 001FD930 38 BF 00 90 */ addi r5, r31, 0x90 /* 802009D4 001FD934 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 802009D8 001FD938 48 18 8C B5 */ bl __register_global_object /* 802009DC 001FD93C 38 61 00 88 */ addi r3, r1, 0x88 /* 802009E0 001FD940 48 13 D1 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802009E4 001FD944 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 802009E8 001FD948 38 61 00 78 */ addi r3, r1, 0x78 /* 802009EC 001FD94C 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 802009F0 001FD950 38 84 00 C4 */ addi r4, r4, 0xc4 /* 802009F4 001FD954 4B E0 42 C5 */ bl string_l__4rstlFPCc /* 802009F8 001FD958 38 7F 00 FC */ addi r3, r31, 0xfc /* 802009FC 001FD95C 38 81 00 78 */ addi r4, r1, 0x78 /* 80200A00 001FD960 38 63 00 70 */ addi r3, r3, 0x70 /* 80200A04 001FD964 48 13 D7 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200A08 001FD968 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200A0C 001FD96C 38 BF 00 9C */ addi r5, r31, 0x9c /* 80200A10 001FD970 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200A14 001FD974 48 18 8C 79 */ bl __register_global_object /* 80200A18 001FD978 38 61 00 78 */ addi r3, r1, 0x78 /* 80200A1C 001FD97C 48 13 D0 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200A20 001FD980 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200A24 001FD984 38 61 00 68 */ addi r3, r1, 0x68 /* 80200A28 001FD988 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200A2C 001FD98C 38 84 00 CC */ addi r4, r4, 0xcc /* 80200A30 001FD990 4B E0 42 89 */ bl string_l__4rstlFPCc /* 80200A34 001FD994 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200A38 001FD998 38 81 00 68 */ addi r4, r1, 0x68 /* 80200A3C 001FD99C 38 63 00 80 */ addi r3, r3, 0x80 /* 80200A40 001FD9A0 48 13 D7 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200A44 001FD9A4 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200A48 001FD9A8 38 BF 00 A8 */ addi r5, r31, 0xa8 /* 80200A4C 001FD9AC 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200A50 001FD9B0 48 18 8C 3D */ bl __register_global_object /* 80200A54 001FD9B4 38 61 00 68 */ addi r3, r1, 0x68 /* 80200A58 001FD9B8 48 13 D0 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200A5C 001FD9BC 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200A60 001FD9C0 38 61 00 58 */ addi r3, r1, 0x58 /* 80200A64 001FD9C4 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200A68 001FD9C8 38 84 00 D2 */ addi r4, r4, 0xd2 /* 80200A6C 001FD9CC 4B E0 42 4D */ bl string_l__4rstlFPCc /* 80200A70 001FD9D0 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200A74 001FD9D4 38 81 00 58 */ addi r4, r1, 0x58 /* 80200A78 001FD9D8 38 63 00 90 */ addi r3, r3, 0x90 /* 80200A7C 001FD9DC 48 13 D6 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200A80 001FD9E0 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200A84 001FD9E4 38 BF 00 B4 */ addi r5, r31, 0xb4 /* 80200A88 001FD9E8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200A8C 001FD9EC 48 18 8C 01 */ bl __register_global_object /* 80200A90 001FD9F0 38 61 00 58 */ addi r3, r1, 0x58 /* 80200A94 001FD9F4 48 13 D0 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200A98 001FD9F8 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200A9C 001FD9FC 38 61 00 48 */ addi r3, r1, 0x48 /* 80200AA0 001FDA00 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200AA4 001FDA04 38 84 00 D9 */ addi r4, r4, 0xd9 /* 80200AA8 001FDA08 4B E0 42 11 */ bl string_l__4rstlFPCc /* 80200AAC 001FDA0C 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200AB0 001FDA10 38 81 00 48 */ addi r4, r1, 0x48 /* 80200AB4 001FDA14 38 63 00 A0 */ addi r3, r3, 0xa0 /* 80200AB8 001FDA18 48 13 D6 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200ABC 001FDA1C 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200AC0 001FDA20 38 BF 00 C0 */ addi r5, r31, 0xc0 /* 80200AC4 001FDA24 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200AC8 001FDA28 48 18 8B C5 */ bl __register_global_object /* 80200ACC 001FDA2C 38 61 00 48 */ addi r3, r1, 0x48 /* 80200AD0 001FDA30 48 13 D0 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200AD4 001FDA34 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200AD8 001FDA38 38 61 00 38 */ addi r3, r1, 0x38 /* 80200ADC 001FDA3C 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200AE0 001FDA40 38 84 00 E1 */ addi r4, r4, 0xe1 /* 80200AE4 001FDA44 4B E0 41 D5 */ bl string_l__4rstlFPCc /* 80200AE8 001FDA48 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200AEC 001FDA4C 38 81 00 38 */ addi r4, r1, 0x38 /* 80200AF0 001FDA50 38 63 00 B0 */ addi r3, r3, 0xb0 /* 80200AF4 001FDA54 48 13 D6 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200AF8 001FDA58 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200AFC 001FDA5C 38 BF 00 CC */ addi r5, r31, 0xcc /* 80200B00 001FDA60 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200B04 001FDA64 48 18 8B 89 */ bl __register_global_object /* 80200B08 001FDA68 38 61 00 38 */ addi r3, r1, 0x38 /* 80200B0C 001FDA6C 48 13 CF D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200B10 001FDA70 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200B14 001FDA74 38 61 00 28 */ addi r3, r1, 0x28 /* 80200B18 001FDA78 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200B1C 001FDA7C 38 84 00 E7 */ addi r4, r4, 0xe7 /* 80200B20 001FDA80 4B E0 41 99 */ bl string_l__4rstlFPCc /* 80200B24 001FDA84 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200B28 001FDA88 38 81 00 28 */ addi r4, r1, 0x28 /* 80200B2C 001FDA8C 38 63 00 C0 */ addi r3, r3, 0xc0 /* 80200B30 001FDA90 48 13 D6 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200B34 001FDA94 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200B38 001FDA98 38 BF 00 D8 */ addi r5, r31, 0xd8 /* 80200B3C 001FDA9C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200B40 001FDAA0 48 18 8B 4D */ bl __register_global_object /* 80200B44 001FDAA4 38 61 00 28 */ addi r3, r1, 0x28 /* 80200B48 001FDAA8 48 13 CF 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200B4C 001FDAAC 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200B50 001FDAB0 38 61 00 18 */ addi r3, r1, 0x18 /* 80200B54 001FDAB4 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200B58 001FDAB8 38 84 00 EE */ addi r4, r4, 0xee /* 80200B5C 001FDABC 4B E0 41 5D */ bl string_l__4rstlFPCc /* 80200B60 001FDAC0 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200B64 001FDAC4 38 81 00 18 */ addi r4, r1, 0x18 /* 80200B68 001FDAC8 38 63 00 D0 */ addi r3, r3, 0xd0 /* 80200B6C 001FDACC 48 13 D5 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200B70 001FDAD0 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200B74 001FDAD4 38 BF 00 E4 */ addi r5, r31, 0xe4 /* 80200B78 001FDAD8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200B7C 001FDADC 48 18 8B 11 */ bl __register_global_object /* 80200B80 001FDAE0 38 61 00 18 */ addi r3, r1, 0x18 /* 80200B84 001FDAE4 48 13 CF 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200B88 001FDAE8 3C 80 80 3D */ lis r4, lbl_803D247C@ha /* 80200B8C 001FDAEC 38 61 00 08 */ addi r3, r1, 8 /* 80200B90 001FDAF0 38 84 24 7C */ addi r4, r4, lbl_803D247C@l /* 80200B94 001FDAF4 38 84 00 F6 */ addi r4, r4, 0xf6 /* 80200B98 001FDAF8 4B E0 41 21 */ bl string_l__4rstlFPCc /* 80200B9C 001FDAFC 38 7F 00 FC */ addi r3, r31, 0xfc /* 80200BA0 001FDB00 38 81 00 08 */ addi r4, r1, 8 /* 80200BA4 001FDB04 38 63 00 E0 */ addi r3, r3, 0xe0 /* 80200BA8 001FDB08 48 13 D5 B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80200BAC 001FDB0C 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80200BB0 001FDB10 38 BF 00 F0 */ addi r5, r31, 0xf0 /* 80200BB4 001FDB14 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80200BB8 001FDB18 48 18 8A D5 */ bl __register_global_object /* 80200BBC 001FDB1C 38 61 00 08 */ addi r3, r1, 8 /* 80200BC0 001FDB20 48 13 CF 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80200BC4 001FDB24 80 01 01 64 */ lwz r0, 0x164(r1) /* 80200BC8 001FDB28 83 E1 01 5C */ lwz r31, 0x15c(r1) /* 80200BCC 001FDB2C 7C 08 03 A6 */ mtlr r0 /* 80200BD0 001FDB30 38 21 01 60 */ addi r1, r1, 0x160 /* 80200BD4 001FDB34 4E 80 00 20 */ blr .global __dt__20CScriptColorModulateFv __dt__20CScriptColorModulateFv: /* 80200BD8 001FDB38 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80200BDC 001FDB3C 7C 08 02 A6 */ mflr r0 /* 80200BE0 001FDB40 90 01 00 14 */ stw r0, 0x14(r1) /* 80200BE4 001FDB44 93 E1 00 0C */ stw r31, 0xc(r1) /* 80200BE8 001FDB48 7C 9F 23 78 */ mr r31, r4 /* 80200BEC 001FDB4C 93 C1 00 08 */ stw r30, 8(r1) /* 80200BF0 001FDB50 7C 7E 1B 79 */ or. r30, r3, r3 /* 80200BF4 001FDB54 41 82 00 28 */ beq lbl_80200C1C /* 80200BF8 001FDB58 3C A0 80 3E */ lis r5, lbl_803E6BB0@ha /* 80200BFC 001FDB5C 38 80 00 00 */ li r4, 0 /* 80200C00 001FDB60 38 05 6B B0 */ addi r0, r5, lbl_803E6BB0@l /* 80200C04 001FDB64 90 1E 00 00 */ stw r0, 0(r30) /* 80200C08 001FDB68 4B E5 06 6D */ bl __dt__7CEntityFv /* 80200C0C 001FDB6C 7F E0 07 35 */ extsh. r0, r31 /* 80200C10 001FDB70 40 81 00 0C */ ble lbl_80200C1C /* 80200C14 001FDB74 7F C3 F3 78 */ mr r3, r30 /* 80200C18 001FDB78 48 11 4D 19 */ bl Free__7CMemoryFPCv lbl_80200C1C: /* 80200C1C 001FDB7C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80200C20 001FDB80 7F C3 F3 78 */ mr r3, r30 /* 80200C24 001FDB84 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80200C28 001FDB88 83 C1 00 08 */ lwz r30, 8(r1) /* 80200C2C 001FDB8C 7C 08 03 A6 */ mtlr r0 /* 80200C30 001FDB90 38 21 00 10 */ addi r1, r1, 0x10 /* 80200C34 001FDB94 4E 80 00 20 */ blr .global Accept__20CScriptColorModulateFR8IVisitor Accept__20CScriptColorModulateFR8IVisitor: /* 80200C38 001FDB98 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80200C3C 001FDB9C 7C 08 02 A6 */ mflr r0 /* 80200C40 001FDBA0 90 01 00 14 */ stw r0, 0x14(r1) /* 80200C44 001FDBA4 7C 60 1B 78 */ mr r0, r3 /* 80200C48 001FDBA8 7C 83 23 78 */ mr r3, r4 /* 80200C4C 001FDBAC 81 84 00 00 */ lwz r12, 0(r4) /* 80200C50 001FDBB0 7C 04 03 78 */ mr r4, r0 /* 80200C54 001FDBB4 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80200C58 001FDBB8 7D 89 03 A6 */ mtctr r12 /* 80200C5C 001FDBBC 4E 80 04 21 */ bctrl /* 80200C60 001FDBC0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80200C64 001FDBC4 7C 08 03 A6 */ mtlr r0 /* 80200C68 001FDBC8 38 21 00 10 */ addi r1, r1, 0x10 /* 80200C6C 001FDBCC 4E 80 00 20 */ blr .global AcceptScriptMsg__20CScriptColorModulateF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__20CScriptColorModulateF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80200C70 001FDBD0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80200C74 001FDBD4 7C 08 02 A6 */ mflr r0 /* 80200C78 001FDBD8 90 01 00 34 */ stw r0, 0x34(r1) /* 80200C7C 001FDBDC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80200C80 001FDBE0 7C 7F 1B 78 */ mr r31, r3 /* 80200C84 001FDBE4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80200C88 001FDBE8 7C DE 33 78 */ mr r30, r6 /* 80200C8C 001FDBEC 93 A1 00 24 */ stw r29, 0x24(r1) /* 80200C90 001FDBF0 7C 9D 23 78 */ mr r29, r4 /* 80200C94 001FDBF4 A0 05 00 00 */ lhz r0, 0(r5) /* 80200C98 001FDBF8 38 A1 00 08 */ addi r5, r1, 8 /* 80200C9C 001FDBFC B0 01 00 08 */ sth r0, 8(r1) /* 80200CA0 001FDC00 4B E5 04 BD */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80200CA4 001FDC04 88 1F 00 30 */ lbz r0, 0x30(r31) /* 80200CA8 001FDC08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80200CAC 001FDC0C 41 82 01 6C */ beq lbl_80200E18 /* 80200CB0 001FDC10 2C 1D 00 06 */ cmpwi r29, 6 /* 80200CB4 001FDC14 41 82 01 64 */ beq lbl_80200E18 /* 80200CB8 001FDC18 40 80 00 10 */ bge lbl_80200CC8 /* 80200CBC 001FDC1C 2C 1D 00 05 */ cmpwi r29, 5 /* 80200CC0 001FDC20 40 80 00 B8 */ bge lbl_80200D78 /* 80200CC4 001FDC24 48 00 01 54 */ b lbl_80200E18 lbl_80200CC8: /* 80200CC8 001FDC28 2C 1D 00 08 */ cmpwi r29, 8 /* 80200CCC 001FDC2C 40 80 01 4C */ bge lbl_80200E18 /* 80200CD0 001FDC30 88 7F 00 54 */ lbz r3, 0x54(r31) /* 80200CD4 001FDC34 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80200CD8 001FDC38 41 82 00 28 */ beq lbl_80200D00 /* 80200CDC 001FDC3C 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200CE0 001FDC40 38 60 00 00 */ li r3, 0 /* 80200CE4 001FDC44 7C 00 00 34 */ cntlzw r0, r0 /* 80200CE8 001FDC48 54 00 D9 7E */ srwi r0, r0, 5 /* 80200CEC 001FDC4C 90 1F 00 38 */ stw r0, 0x38(r31) /* 80200CF0 001FDC50 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80200CF4 001FDC54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80200CF8 001FDC58 98 1F 00 54 */ stb r0, 0x54(r31) /* 80200CFC 001FDC5C 48 00 01 1C */ b lbl_80200E18 lbl_80200D00: /* 80200D00 001FDC60 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f /* 80200D04 001FDC64 41 82 00 38 */ beq lbl_80200D3C /* 80200D08 001FDC68 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200D0C 001FDC6C 2C 00 00 00 */ cmpwi r0, 0 /* 80200D10 001FDC70 40 82 00 10 */ bne lbl_80200D20 /* 80200D14 001FDC74 C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 80200D18 001FDC78 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200D1C 001FDC7C 48 00 00 40 */ b lbl_80200D5C lbl_80200D20: /* 80200D20 001FDC80 C0 3F 00 3C */ lfs f1, 0x3c(r31) /* 80200D24 001FDC84 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 80200D28 001FDC88 C0 5F 00 4C */ lfs f2, 0x4c(r31) /* 80200D2C 001FDC8C EC 01 00 24 */ fdivs f0, f1, f0 /* 80200D30 001FDC90 EC 02 10 3C */ fnmsubs f0, f2, f0, f2 /* 80200D34 001FDC94 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200D38 001FDC98 48 00 00 24 */ b lbl_80200D5C lbl_80200D3C: /* 80200D3C 001FDC9C 7F E4 FB 78 */ mr r4, r31 /* 80200D40 001FDCA0 38 61 00 14 */ addi r3, r1, 0x14 /* 80200D44 001FDCA4 38 BF 00 40 */ addi r5, r31, 0x40 /* 80200D48 001FDCA8 48 00 02 A9 */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200D4C 001FDCAC 7F E3 FB 78 */ mr r3, r31 /* 80200D50 001FDCB0 7F C4 F3 78 */ mr r4, r30 /* 80200D54 001FDCB4 38 A1 00 14 */ addi r5, r1, 0x14 /* 80200D58 001FDCB8 48 00 08 B1 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags lbl_80200D5C: /* 80200D5C 001FDCBC 88 7F 00 54 */ lbz r3, 0x54(r31) /* 80200D60 001FDCC0 38 00 00 01 */ li r0, 1 /* 80200D64 001FDCC4 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e /* 80200D68 001FDCC8 38 00 00 00 */ li r0, 0 /* 80200D6C 001FDCCC 98 7F 00 54 */ stb r3, 0x54(r31) /* 80200D70 001FDCD0 90 1F 00 38 */ stw r0, 0x38(r31) /* 80200D74 001FDCD4 48 00 00 A4 */ b lbl_80200E18 lbl_80200D78: /* 80200D78 001FDCD8 88 7F 00 54 */ lbz r3, 0x54(r31) /* 80200D7C 001FDCDC 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80200D80 001FDCE0 41 82 00 28 */ beq lbl_80200DA8 /* 80200D84 001FDCE4 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200D88 001FDCE8 38 60 00 00 */ li r3, 0 /* 80200D8C 001FDCEC 7C 00 00 34 */ cntlzw r0, r0 /* 80200D90 001FDCF0 54 00 D9 7E */ srwi r0, r0, 5 /* 80200D94 001FDCF4 90 1F 00 38 */ stw r0, 0x38(r31) /* 80200D98 001FDCF8 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80200D9C 001FDCFC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80200DA0 001FDD00 98 1F 00 54 */ stb r0, 0x54(r31) /* 80200DA4 001FDD04 48 00 00 74 */ b lbl_80200E18 lbl_80200DA8: /* 80200DA8 001FDD08 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f /* 80200DAC 001FDD0C 41 82 00 38 */ beq lbl_80200DE4 /* 80200DB0 001FDD10 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80200DB4 001FDD14 2C 00 00 00 */ cmpwi r0, 0 /* 80200DB8 001FDD18 40 82 00 10 */ bne lbl_80200DC8 /* 80200DBC 001FDD1C C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 80200DC0 001FDD20 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200DC4 001FDD24 48 00 00 40 */ b lbl_80200E04 lbl_80200DC8: /* 80200DC8 001FDD28 C0 3F 00 3C */ lfs f1, 0x3c(r31) /* 80200DCC 001FDD2C C0 1F 00 4C */ lfs f0, 0x4c(r31) /* 80200DD0 001FDD30 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 80200DD4 001FDD34 EC 01 00 24 */ fdivs f0, f1, f0 /* 80200DD8 001FDD38 EC 02 10 3C */ fnmsubs f0, f2, f0, f2 /* 80200DDC 001FDD3C D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80200DE0 001FDD40 48 00 00 24 */ b lbl_80200E04 lbl_80200DE4: /* 80200DE4 001FDD44 7F E4 FB 78 */ mr r4, r31 /* 80200DE8 001FDD48 38 61 00 0C */ addi r3, r1, 0xc /* 80200DEC 001FDD4C 38 BF 00 44 */ addi r5, r31, 0x44 /* 80200DF0 001FDD50 48 00 02 01 */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200DF4 001FDD54 7F E3 FB 78 */ mr r3, r31 /* 80200DF8 001FDD58 7F C4 F3 78 */ mr r4, r30 /* 80200DFC 001FDD5C 38 A1 00 0C */ addi r5, r1, 0xc /* 80200E00 001FDD60 48 00 08 09 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags lbl_80200E04: /* 80200E04 001FDD64 88 1F 00 54 */ lbz r0, 0x54(r31) /* 80200E08 001FDD68 38 60 00 01 */ li r3, 1 /* 80200E0C 001FDD6C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80200E10 001FDD70 98 1F 00 54 */ stb r0, 0x54(r31) /* 80200E14 001FDD74 90 7F 00 38 */ stw r3, 0x38(r31) lbl_80200E18: /* 80200E18 001FDD78 80 01 00 34 */ lwz r0, 0x34(r1) /* 80200E1C 001FDD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80200E20 001FDD80 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80200E24 001FDD84 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80200E28 001FDD88 7C 08 03 A6 */ mtlr r0 /* 80200E2C 001FDD8C 38 21 00 30 */ addi r1, r1, 0x30 /* 80200E30 001FDD90 4E 80 00 20 */ blr .global Think__20CScriptColorModulateFfR13CStateManager Think__20CScriptColorModulateFfR13CStateManager: /* 80200E34 001FDD94 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80200E38 001FDD98 7C 08 02 A6 */ mflr r0 /* 80200E3C 001FDD9C 90 01 00 44 */ stw r0, 0x44(r1) /* 80200E40 001FDDA0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80200E44 001FDDA4 7C 9F 23 78 */ mr r31, r4 /* 80200E48 001FDDA8 93 C1 00 38 */ stw r30, 0x38(r1) /* 80200E4C 001FDDAC 7C 7E 1B 78 */ mr r30, r3 /* 80200E50 001FDDB0 88 03 00 30 */ lbz r0, 0x30(r3) /* 80200E54 001FDDB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80200E58 001FDDB8 41 82 01 80 */ beq lbl_80200FD8 /* 80200E5C 001FDDBC 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80200E60 001FDDC0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 80200E64 001FDDC4 40 82 00 08 */ bne lbl_80200E6C /* 80200E68 001FDDC8 48 00 01 70 */ b lbl_80200FD8 lbl_80200E6C: /* 80200E6C 001FDDCC C0 1E 00 3C */ lfs f0, 0x3c(r30) /* 80200E70 001FDDD0 EC 00 08 2A */ fadds f0, f0, f1 /* 80200E74 001FDDD4 D0 1E 00 3C */ stfs f0, 0x3c(r30) /* 80200E78 001FDDD8 80 1E 00 38 */ lwz r0, 0x38(r30) /* 80200E7C 001FDDDC 2C 00 00 01 */ cmpwi r0, 1 /* 80200E80 001FDDE0 41 82 00 B8 */ beq lbl_80200F38 /* 80200E84 001FDDE4 40 80 01 54 */ bge lbl_80200FD8 /* 80200E88 001FDDE8 2C 00 00 00 */ cmpwi r0, 0 /* 80200E8C 001FDDEC 40 80 00 08 */ bge lbl_80200E94 /* 80200E90 001FDDF0 48 00 01 48 */ b lbl_80200FD8 lbl_80200E94: /* 80200E94 001FDDF4 C0 5E 00 4C */ lfs f2, 0x4c(r30) /* 80200E98 001FDDF8 C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80200E9C 001FDDFC C8 02 B0 38 */ lfd f0, lbl_805ACD58@sda21(r2) /* 80200EA0 001FDE00 EC 22 08 28 */ fsubs f1, f2, f1 /* 80200EA4 001FDE04 FC 20 0A 10 */ fabs f1, f1 /* 80200EA8 001FDE08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200EAC 001FDE0C 40 80 00 0C */ bge lbl_80200EB8 /* 80200EB0 001FDE10 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80200EB4 001FDE14 48 00 00 2C */ b lbl_80200EE0 lbl_80200EB8: /* 80200EB8 001FDE18 C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200EBC 001FDE1C C0 0D 93 40 */ lfs f0, lbl_805A7F00@sda21(r13) /* 80200EC0 001FDE20 EC 21 10 24 */ fdivs f1, f1, f2 /* 80200EC4 001FDE24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200EC8 001FDE28 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80200ECC 001FDE2C 40 80 00 0C */ bge lbl_80200ED8 /* 80200ED0 001FDE30 38 61 00 10 */ addi r3, r1, 0x10 /* 80200ED4 001FDE34 48 00 00 08 */ b lbl_80200EDC lbl_80200ED8: /* 80200ED8 001FDE38 38 6D 93 40 */ addi r3, r13, lbl_805A7F00@sda21 lbl_80200EDC: /* 80200EDC 001FDE3C C0 23 00 00 */ lfs f1, 0(r3) lbl_80200EE0: /* 80200EE0 001FDE40 38 61 00 14 */ addi r3, r1, 0x14 /* 80200EE4 001FDE44 38 9E 00 40 */ addi r4, r30, 0x40 /* 80200EE8 001FDE48 38 BE 00 44 */ addi r5, r30, 0x44 /* 80200EEC 001FDE4C 48 16 23 C1 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80200EF0 001FDE50 80 01 00 14 */ lwz r0, 0x14(r1) /* 80200EF4 001FDE54 7F C4 F3 78 */ mr r4, r30 /* 80200EF8 001FDE58 38 61 00 28 */ addi r3, r1, 0x28 /* 80200EFC 001FDE5C 38 A1 00 1C */ addi r5, r1, 0x1c /* 80200F00 001FDE60 90 01 00 1C */ stw r0, 0x1c(r1) /* 80200F04 001FDE64 48 00 00 ED */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200F08 001FDE68 7F C3 F3 78 */ mr r3, r30 /* 80200F0C 001FDE6C 7F E4 FB 78 */ mr r4, r31 /* 80200F10 001FDE70 38 A1 00 28 */ addi r5, r1, 0x28 /* 80200F14 001FDE74 48 00 06 F5 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags /* 80200F18 001FDE78 C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200F1C 001FDE7C C0 1E 00 4C */ lfs f0, 0x4c(r30) /* 80200F20 001FDE80 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200F24 001FDE84 40 81 00 B4 */ ble lbl_80200FD8 /* 80200F28 001FDE88 7F C3 F3 78 */ mr r3, r30 /* 80200F2C 001FDE8C 7F E4 FB 78 */ mr r4, r31 /* 80200F30 001FDE90 48 00 05 9D */ bl End__20CScriptColorModulateFR13CStateManager /* 80200F34 001FDE94 48 00 00 A4 */ b lbl_80200FD8 lbl_80200F38: /* 80200F38 001FDE98 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80200F3C 001FDE9C C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80200F40 001FDEA0 C8 02 B0 38 */ lfd f0, lbl_805ACD58@sda21(r2) /* 80200F44 001FDEA4 EC 22 08 28 */ fsubs f1, f2, f1 /* 80200F48 001FDEA8 FC 20 0A 10 */ fabs f1, f1 /* 80200F4C 001FDEAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200F50 001FDEB0 40 80 00 0C */ bge lbl_80200F5C /* 80200F54 001FDEB4 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80200F58 001FDEB8 48 00 00 2C */ b lbl_80200F84 lbl_80200F5C: /* 80200F5C 001FDEBC C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200F60 001FDEC0 C0 0D 93 44 */ lfs f0, lbl_805A7F04@sda21(r13) /* 80200F64 001FDEC4 EC 21 10 24 */ fdivs f1, f1, f2 /* 80200F68 001FDEC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200F6C 001FDECC D0 21 00 08 */ stfs f1, 8(r1) /* 80200F70 001FDED0 40 80 00 0C */ bge lbl_80200F7C /* 80200F74 001FDED4 38 61 00 08 */ addi r3, r1, 8 /* 80200F78 001FDED8 48 00 00 08 */ b lbl_80200F80 lbl_80200F7C: /* 80200F7C 001FDEDC 38 6D 93 44 */ addi r3, r13, lbl_805A7F04@sda21 lbl_80200F80: /* 80200F80 001FDEE0 C0 23 00 00 */ lfs f1, 0(r3) lbl_80200F84: /* 80200F84 001FDEE4 38 61 00 0C */ addi r3, r1, 0xc /* 80200F88 001FDEE8 38 9E 00 44 */ addi r4, r30, 0x44 /* 80200F8C 001FDEEC 38 BE 00 40 */ addi r5, r30, 0x40 /* 80200F90 001FDEF0 48 16 23 1D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 80200F94 001FDEF4 80 01 00 0C */ lwz r0, 0xc(r1) /* 80200F98 001FDEF8 7F C4 F3 78 */ mr r4, r30 /* 80200F9C 001FDEFC 38 61 00 20 */ addi r3, r1, 0x20 /* 80200FA0 001FDF00 38 A1 00 18 */ addi r5, r1, 0x18 /* 80200FA4 001FDF04 90 01 00 18 */ stw r0, 0x18(r1) /* 80200FA8 001FDF08 48 00 00 49 */ bl CalculateFlags__20CScriptColorModulateCFRC6CColor /* 80200FAC 001FDF0C 7F C3 F3 78 */ mr r3, r30 /* 80200FB0 001FDF10 7F E4 FB 78 */ mr r4, r31 /* 80200FB4 001FDF14 38 A1 00 20 */ addi r5, r1, 0x20 /* 80200FB8 001FDF18 48 00 06 51 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags /* 80200FBC 001FDF1C C0 3E 00 3C */ lfs f1, 0x3c(r30) /* 80200FC0 001FDF20 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 80200FC4 001FDF24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80200FC8 001FDF28 40 81 00 10 */ ble lbl_80200FD8 /* 80200FCC 001FDF2C 7F C3 F3 78 */ mr r3, r30 /* 80200FD0 001FDF30 7F E4 FB 78 */ mr r4, r31 /* 80200FD4 001FDF34 48 00 04 F9 */ bl End__20CScriptColorModulateFR13CStateManager lbl_80200FD8: /* 80200FD8 001FDF38 80 01 00 44 */ lwz r0, 0x44(r1) /* 80200FDC 001FDF3C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80200FE0 001FDF40 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80200FE4 001FDF44 7C 08 03 A6 */ mtlr r0 /* 80200FE8 001FDF48 38 21 00 40 */ addi r1, r1, 0x40 /* 80200FEC 001FDF4C 4E 80 00 20 */ blr .global CalculateFlags__20CScriptColorModulateCFRC6CColor CalculateFlags__20CScriptColorModulateCFRC6CColor: /* 80200FF0 001FDF50 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80200FF4 001FDF54 7C 08 02 A6 */ mflr r0 /* 80200FF8 001FDF58 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80200FFC 001FDF5C 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80201000 001FDF60 7C 7F 1B 78 */ mr r31, r3 /* 80201004 001FDF64 93 C1 00 98 */ stw r30, 0x98(r1) /* 80201008 001FDF68 7C 9E 23 78 */ mr r30, r4 /* 8020100C 001FDF6C 93 A1 00 94 */ stw r29, 0x94(r1) /* 80201010 001FDF70 7C BD 2B 78 */ mr r29, r5 /* 80201014 001FDF74 88 04 00 54 */ lbz r0, 0x54(r4) /* 80201018 001FDF78 54 03 EF FF */ rlwinm. r3, r0, 0x1d, 0x1f, 0x1f /* 8020101C 001FDF7C 41 82 01 EC */ beq lbl_80201208 /* 80201020 001FDF80 80 7E 00 48 */ lwz r3, 0x48(r30) /* 80201024 001FDF84 2C 03 00 02 */ cmpwi r3, 2 /* 80201028 001FDF88 41 82 00 D8 */ beq lbl_80201100 /* 8020102C 001FDF8C 40 80 00 14 */ bge lbl_80201040 /* 80201030 001FDF90 2C 03 00 00 */ cmpwi r3, 0 /* 80201034 001FDF94 41 82 00 1C */ beq lbl_80201050 /* 80201038 001FDF98 40 80 00 70 */ bge lbl_802010A8 /* 8020103C 001FDF9C 48 00 01 CC */ b lbl_80201208 lbl_80201040: /* 80201040 001FDFA0 2C 03 00 04 */ cmpwi r3, 4 /* 80201044 001FDFA4 41 82 01 6C */ beq lbl_802011B0 /* 80201048 001FDFA8 40 80 01 C0 */ bge lbl_80201208 /* 8020104C 001FDFAC 48 00 01 0C */ b lbl_80201158 lbl_80201050: /* 80201050 001FDFB0 80 9D 00 00 */ lwz r4, 0(r29) /* 80201054 001FDFB4 38 E0 00 05 */ li r7, 5 /* 80201058 001FDFB8 38 C0 00 00 */ li r6, 0 /* 8020105C 001FDFBC 38 A0 00 03 */ li r5, 3 /* 80201060 001FDFC0 98 FF 00 00 */ stb r7, 0(r31) /* 80201064 001FDFC4 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 80201068 001FDFC8 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 8020106C 001FDFCC 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 80201070 001FDFD0 98 DF 00 01 */ stb r6, 1(r31) /* 80201074 001FDFD4 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 80201078 001FDFD8 60 00 00 08 */ ori r0, r0, 8 /* 8020107C 001FDFDC 98 E1 00 80 */ stb r7, 0x80(r1) /* 80201080 001FDFE0 B0 1F 00 02 */ sth r0, 2(r31) /* 80201084 001FDFE4 98 C1 00 81 */ stb r6, 0x81(r1) /* 80201088 001FDFE8 B0 A1 00 82 */ sth r5, 0x82(r1) /* 8020108C 001FDFEC 90 81 00 84 */ stw r4, 0x84(r1) /* 80201090 001FDFF0 98 E1 00 88 */ stb r7, 0x88(r1) /* 80201094 001FDFF4 98 C1 00 89 */ stb r6, 0x89(r1) /* 80201098 001FDFF8 B0 61 00 8A */ sth r3, 0x8a(r1) /* 8020109C 001FDFFC 90 81 00 8C */ stw r4, 0x8c(r1) /* 802010A0 001FE000 90 9F 00 04 */ stw r4, 4(r31) /* 802010A4 001FE004 48 00 04 0C */ b lbl_802014B0 lbl_802010A8: /* 802010A8 001FE008 80 9D 00 00 */ lwz r4, 0(r29) /* 802010AC 001FE00C 38 E0 00 07 */ li r7, 7 /* 802010B0 001FE010 38 C0 00 00 */ li r6, 0 /* 802010B4 001FE014 38 A0 00 03 */ li r5, 3 /* 802010B8 001FE018 98 FF 00 00 */ stb r7, 0(r31) /* 802010BC 001FE01C 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 802010C0 001FE020 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 802010C4 001FE024 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 802010C8 001FE028 98 DF 00 01 */ stb r6, 1(r31) /* 802010CC 001FE02C 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 802010D0 001FE030 60 00 00 08 */ ori r0, r0, 8 /* 802010D4 001FE034 98 E1 00 70 */ stb r7, 0x70(r1) /* 802010D8 001FE038 B0 1F 00 02 */ sth r0, 2(r31) /* 802010DC 001FE03C 98 C1 00 71 */ stb r6, 0x71(r1) /* 802010E0 001FE040 B0 A1 00 72 */ sth r5, 0x72(r1) /* 802010E4 001FE044 90 81 00 74 */ stw r4, 0x74(r1) /* 802010E8 001FE048 98 E1 00 78 */ stb r7, 0x78(r1) /* 802010EC 001FE04C 98 C1 00 79 */ stb r6, 0x79(r1) /* 802010F0 001FE050 B0 61 00 7A */ sth r3, 0x7a(r1) /* 802010F4 001FE054 90 81 00 7C */ stw r4, 0x7c(r1) /* 802010F8 001FE058 90 9F 00 04 */ stw r4, 4(r31) /* 802010FC 001FE05C 48 00 03 B4 */ b lbl_802014B0 lbl_80201100: /* 80201100 001FE060 80 9D 00 00 */ lwz r4, 0(r29) /* 80201104 001FE064 38 E0 00 08 */ li r7, 8 /* 80201108 001FE068 38 C0 00 00 */ li r6, 0 /* 8020110C 001FE06C 38 A0 00 03 */ li r5, 3 /* 80201110 001FE070 98 FF 00 00 */ stb r7, 0(r31) /* 80201114 001FE074 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 80201118 001FE078 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 8020111C 001FE07C 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 80201120 001FE080 98 DF 00 01 */ stb r6, 1(r31) /* 80201124 001FE084 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 80201128 001FE088 60 00 00 08 */ ori r0, r0, 8 /* 8020112C 001FE08C 98 E1 00 60 */ stb r7, 0x60(r1) /* 80201130 001FE090 B0 1F 00 02 */ sth r0, 2(r31) /* 80201134 001FE094 98 C1 00 61 */ stb r6, 0x61(r1) /* 80201138 001FE098 B0 A1 00 62 */ sth r5, 0x62(r1) /* 8020113C 001FE09C 90 81 00 64 */ stw r4, 0x64(r1) /* 80201140 001FE0A0 98 E1 00 68 */ stb r7, 0x68(r1) /* 80201144 001FE0A4 98 C1 00 69 */ stb r6, 0x69(r1) /* 80201148 001FE0A8 B0 61 00 6A */ sth r3, 0x6a(r1) /* 8020114C 001FE0AC 90 81 00 6C */ stw r4, 0x6c(r1) /* 80201150 001FE0B0 90 9F 00 04 */ stw r4, 4(r31) /* 80201154 001FE0B4 48 00 03 5C */ b lbl_802014B0 lbl_80201158: /* 80201158 001FE0B8 80 9D 00 00 */ lwz r4, 0(r29) /* 8020115C 001FE0BC 38 E0 00 01 */ li r7, 1 /* 80201160 001FE0C0 38 C0 00 00 */ li r6, 0 /* 80201164 001FE0C4 38 A0 00 03 */ li r5, 3 /* 80201168 001FE0C8 98 FF 00 00 */ stb r7, 0(r31) /* 8020116C 001FE0CC 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 80201170 001FE0D0 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 80201174 001FE0D4 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 80201178 001FE0D8 98 DF 00 01 */ stb r6, 1(r31) /* 8020117C 001FE0DC 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 80201180 001FE0E0 60 00 00 08 */ ori r0, r0, 8 /* 80201184 001FE0E4 98 E1 00 50 */ stb r7, 0x50(r1) /* 80201188 001FE0E8 B0 1F 00 02 */ sth r0, 2(r31) /* 8020118C 001FE0EC 98 C1 00 51 */ stb r6, 0x51(r1) /* 80201190 001FE0F0 B0 A1 00 52 */ sth r5, 0x52(r1) /* 80201194 001FE0F4 90 81 00 54 */ stw r4, 0x54(r1) /* 80201198 001FE0F8 98 E1 00 58 */ stb r7, 0x58(r1) /* 8020119C 001FE0FC 98 C1 00 59 */ stb r6, 0x59(r1) /* 802011A0 001FE100 B0 61 00 5A */ sth r3, 0x5a(r1) /* 802011A4 001FE104 90 81 00 5C */ stw r4, 0x5c(r1) /* 802011A8 001FE108 90 9F 00 04 */ stw r4, 4(r31) /* 802011AC 001FE10C 48 00 03 04 */ b lbl_802014B0 lbl_802011B0: /* 802011B0 001FE110 80 9D 00 00 */ lwz r4, 0(r29) /* 802011B4 001FE114 38 E0 00 02 */ li r7, 2 /* 802011B8 001FE118 38 C0 00 00 */ li r6, 0 /* 802011BC 001FE11C 38 A0 00 03 */ li r5, 3 /* 802011C0 001FE120 98 FF 00 00 */ stb r7, 0(r31) /* 802011C4 001FE124 54 03 EF BC */ rlwinm r3, r0, 0x1d, 0x1e, 0x1e /* 802011C8 001FE128 50 03 DF FE */ rlwimi r3, r0, 0x1b, 0x1f, 0x1f /* 802011CC 001FE12C 50 A3 04 3A */ rlwimi r3, r5, 0, 0x10, 0x1d /* 802011D0 001FE130 98 DF 00 01 */ stb r6, 1(r31) /* 802011D4 001FE134 54 60 04 3E */ clrlwi r0, r3, 0x10 /* 802011D8 001FE138 60 00 00 08 */ ori r0, r0, 8 /* 802011DC 001FE13C 98 E1 00 40 */ stb r7, 0x40(r1) /* 802011E0 001FE140 B0 1F 00 02 */ sth r0, 2(r31) /* 802011E4 001FE144 98 C1 00 41 */ stb r6, 0x41(r1) /* 802011E8 001FE148 B0 A1 00 42 */ sth r5, 0x42(r1) /* 802011EC 001FE14C 90 81 00 44 */ stw r4, 0x44(r1) /* 802011F0 001FE150 98 E1 00 48 */ stb r7, 0x48(r1) /* 802011F4 001FE154 98 C1 00 49 */ stb r6, 0x49(r1) /* 802011F8 001FE158 B0 61 00 4A */ sth r3, 0x4a(r1) /* 802011FC 001FE15C 90 81 00 4C */ stw r4, 0x4c(r1) /* 80201200 001FE160 90 9F 00 04 */ stw r4, 4(r31) /* 80201204 001FE164 48 00 02 AC */ b lbl_802014B0 lbl_80201208: /* 80201208 001FE168 80 1E 00 48 */ lwz r0, 0x48(r30) /* 8020120C 001FE16C 2C 00 00 02 */ cmpwi r0, 2 /* 80201210 001FE170 41 82 01 2C */ beq lbl_8020133C /* 80201214 001FE174 40 80 00 14 */ bge lbl_80201228 /* 80201218 001FE178 2C 00 00 00 */ cmpwi r0, 0 /* 8020121C 001FE17C 41 82 00 1C */ beq lbl_80201238 /* 80201220 001FE180 40 80 00 D8 */ bge lbl_802012F8 /* 80201224 001FE184 48 00 02 60 */ b lbl_80201484 lbl_80201228: /* 80201228 001FE188 2C 00 00 04 */ cmpwi r0, 4 /* 8020122C 001FE18C 41 82 02 14 */ beq lbl_80201440 /* 80201230 001FE190 40 80 02 54 */ bge lbl_80201484 /* 80201234 001FE194 48 00 01 4C */ b lbl_80201380 lbl_80201238: /* 80201238 001FE198 48 14 8D 75 */ bl White__6CColorFv /* 8020123C 001FE19C 80 FD 00 00 */ lwz r7, 0(r29) /* 80201240 001FE1A0 80 03 00 00 */ lwz r0, 0(r3) /* 80201244 001FE1A4 7C 07 00 40 */ cmplw r7, r0 /* 80201248 001FE1A8 40 82 00 70 */ bne lbl_802012B8 /* 8020124C 001FE1AC C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201250 001FE1B0 38 80 00 00 */ li r4, 0 /* 80201254 001FE1B4 88 BE 00 54 */ lbz r5, 0x54(r30) /* 80201258 001FE1B8 38 00 00 03 */ li r0, 3 /* 8020125C 001FE1BC FC 40 08 90 */ fmr f2, f1 /* 80201260 001FE1C0 98 81 00 38 */ stb r4, 0x38(r1) /* 80201264 001FE1C4 FC 60 08 90 */ fmr f3, f1 /* 80201268 001FE1C8 38 61 00 3C */ addi r3, r1, 0x3c /* 8020126C 001FE1CC FC 80 08 90 */ fmr f4, f1 /* 80201270 001FE1D0 98 81 00 39 */ stb r4, 0x39(r1) /* 80201274 001FE1D4 B0 01 00 3A */ sth r0, 0x3a(r1) /* 80201278 001FE1D8 54 BE E7 FE */ rlwinm r30, r5, 0x1c, 0x1f, 0x1f /* 8020127C 001FE1DC 54 BD DF FE */ rlwinm r29, r5, 0x1b, 0x1f, 0x1f /* 80201280 001FE1E0 48 16 21 6D */ bl __ct__6CColorFffff /* 80201284 001FE1E4 A0 81 00 3A */ lhz r4, 0x3a(r1) /* 80201288 001FE1E8 57 C3 0D FC */ rlwinm r3, r30, 1, 0x17, 0x1e /* 8020128C 001FE1EC 88 01 00 38 */ lbz r0, 0x38(r1) /* 80201290 001FE1F0 7F A3 1B 78 */ or r3, r29, r3 /* 80201294 001FE1F4 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d /* 80201298 001FE1F8 98 1F 00 00 */ stb r0, 0(r31) /* 8020129C 001FE1FC 7C 83 1B 78 */ or r3, r4, r3 /* 802012A0 001FE200 88 01 00 39 */ lbz r0, 0x39(r1) /* 802012A4 001FE204 98 1F 00 01 */ stb r0, 1(r31) /* 802012A8 001FE208 B0 7F 00 02 */ sth r3, 2(r31) /* 802012AC 001FE20C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802012B0 001FE210 90 1F 00 04 */ stw r0, 4(r31) /* 802012B4 001FE214 48 00 01 FC */ b lbl_802014B0 lbl_802012B8: /* 802012B8 001FE218 88 BE 00 54 */ lbz r5, 0x54(r30) /* 802012BC 001FE21C 38 80 00 05 */ li r4, 5 /* 802012C0 001FE220 38 60 00 00 */ li r3, 0 /* 802012C4 001FE224 38 00 00 03 */ li r0, 3 /* 802012C8 001FE228 98 9F 00 00 */ stb r4, 0(r31) /* 802012CC 001FE22C 54 A6 EF BC */ rlwinm r6, r5, 0x1d, 0x1e, 0x1e /* 802012D0 001FE230 50 A6 DF FE */ rlwimi r6, r5, 0x1b, 0x1f, 0x1f /* 802012D4 001FE234 98 7F 00 01 */ stb r3, 1(r31) /* 802012D8 001FE238 50 06 04 3A */ rlwimi r6, r0, 0, 0x10, 0x1d /* 802012DC 001FE23C B0 DF 00 02 */ sth r6, 2(r31) /* 802012E0 001FE240 98 81 00 30 */ stb r4, 0x30(r1) /* 802012E4 001FE244 98 61 00 31 */ stb r3, 0x31(r1) /* 802012E8 001FE248 B0 01 00 32 */ sth r0, 0x32(r1) /* 802012EC 001FE24C 90 E1 00 34 */ stw r7, 0x34(r1) /* 802012F0 001FE250 90 FF 00 04 */ stw r7, 4(r31) /* 802012F4 001FE254 48 00 01 BC */ b lbl_802014B0 lbl_802012F8: /* 802012F8 001FE258 88 DE 00 54 */ lbz r6, 0x54(r30) /* 802012FC 001FE25C 38 A0 00 07 */ li r5, 7 /* 80201300 001FE260 80 1D 00 00 */ lwz r0, 0(r29) /* 80201304 001FE264 38 80 00 00 */ li r4, 0 /* 80201308 001FE268 38 60 00 03 */ li r3, 3 /* 8020130C 001FE26C 54 C7 EF BC */ rlwinm r7, r6, 0x1d, 0x1e, 0x1e /* 80201310 001FE270 98 BF 00 00 */ stb r5, 0(r31) /* 80201314 001FE274 50 C7 DF FE */ rlwimi r7, r6, 0x1b, 0x1f, 0x1f /* 80201318 001FE278 50 67 04 3A */ rlwimi r7, r3, 0, 0x10, 0x1d /* 8020131C 001FE27C 98 9F 00 01 */ stb r4, 1(r31) /* 80201320 001FE280 B0 FF 00 02 */ sth r7, 2(r31) /* 80201324 001FE284 98 A1 00 28 */ stb r5, 0x28(r1) /* 80201328 001FE288 98 81 00 29 */ stb r4, 0x29(r1) /* 8020132C 001FE28C B0 61 00 2A */ sth r3, 0x2a(r1) /* 80201330 001FE290 90 01 00 2C */ stw r0, 0x2c(r1) /* 80201334 001FE294 90 1F 00 04 */ stw r0, 4(r31) /* 80201338 001FE298 48 00 01 78 */ b lbl_802014B0 lbl_8020133C: /* 8020133C 001FE29C 88 DE 00 54 */ lbz r6, 0x54(r30) /* 80201340 001FE2A0 38 A0 00 08 */ li r5, 8 /* 80201344 001FE2A4 80 1D 00 00 */ lwz r0, 0(r29) /* 80201348 001FE2A8 38 80 00 00 */ li r4, 0 /* 8020134C 001FE2AC 38 60 00 03 */ li r3, 3 /* 80201350 001FE2B0 54 C7 EF BC */ rlwinm r7, r6, 0x1d, 0x1e, 0x1e /* 80201354 001FE2B4 98 BF 00 00 */ stb r5, 0(r31) /* 80201358 001FE2B8 50 C7 DF FE */ rlwimi r7, r6, 0x1b, 0x1f, 0x1f /* 8020135C 001FE2BC 50 67 04 3A */ rlwimi r7, r3, 0, 0x10, 0x1d /* 80201360 001FE2C0 98 9F 00 01 */ stb r4, 1(r31) /* 80201364 001FE2C4 B0 FF 00 02 */ sth r7, 2(r31) /* 80201368 001FE2C8 98 A1 00 20 */ stb r5, 0x20(r1) /* 8020136C 001FE2CC 98 81 00 21 */ stb r4, 0x21(r1) /* 80201370 001FE2D0 B0 61 00 22 */ sth r3, 0x22(r1) /* 80201374 001FE2D4 90 01 00 24 */ stw r0, 0x24(r1) /* 80201378 001FE2D8 90 1F 00 04 */ stw r0, 4(r31) /* 8020137C 001FE2DC 48 00 01 34 */ b lbl_802014B0 lbl_80201380: /* 80201380 001FE2E0 48 14 8C 2D */ bl White__6CColorFv /* 80201384 001FE2E4 80 FD 00 00 */ lwz r7, 0(r29) /* 80201388 001FE2E8 80 03 00 00 */ lwz r0, 0(r3) /* 8020138C 001FE2EC 7C 07 00 40 */ cmplw r7, r0 /* 80201390 001FE2F0 40 82 00 70 */ bne lbl_80201400 /* 80201394 001FE2F4 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201398 001FE2F8 38 80 00 00 */ li r4, 0 /* 8020139C 001FE2FC 88 BE 00 54 */ lbz r5, 0x54(r30) /* 802013A0 001FE300 38 00 00 03 */ li r0, 3 /* 802013A4 001FE304 FC 40 08 90 */ fmr f2, f1 /* 802013A8 001FE308 98 81 00 18 */ stb r4, 0x18(r1) /* 802013AC 001FE30C FC 60 08 90 */ fmr f3, f1 /* 802013B0 001FE310 38 61 00 1C */ addi r3, r1, 0x1c /* 802013B4 001FE314 FC 80 08 90 */ fmr f4, f1 /* 802013B8 001FE318 98 81 00 19 */ stb r4, 0x19(r1) /* 802013BC 001FE31C B0 01 00 1A */ sth r0, 0x1a(r1) /* 802013C0 001FE320 54 BD E7 FE */ rlwinm r29, r5, 0x1c, 0x1f, 0x1f /* 802013C4 001FE324 54 BE DF FE */ rlwinm r30, r5, 0x1b, 0x1f, 0x1f /* 802013C8 001FE328 48 16 20 25 */ bl __ct__6CColorFffff /* 802013CC 001FE32C A0 81 00 1A */ lhz r4, 0x1a(r1) /* 802013D0 001FE330 57 A3 0D FC */ rlwinm r3, r29, 1, 0x17, 0x1e /* 802013D4 001FE334 88 01 00 18 */ lbz r0, 0x18(r1) /* 802013D8 001FE338 7F C3 1B 78 */ or r3, r30, r3 /* 802013DC 001FE33C 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d /* 802013E0 001FE340 98 1F 00 00 */ stb r0, 0(r31) /* 802013E4 001FE344 7C 83 1B 78 */ or r3, r4, r3 /* 802013E8 001FE348 88 01 00 19 */ lbz r0, 0x19(r1) /* 802013EC 001FE34C 98 1F 00 01 */ stb r0, 1(r31) /* 802013F0 001FE350 B0 7F 00 02 */ sth r3, 2(r31) /* 802013F4 001FE354 80 01 00 1C */ lwz r0, 0x1c(r1) /* 802013F8 001FE358 90 1F 00 04 */ stw r0, 4(r31) /* 802013FC 001FE35C 48 00 00 B4 */ b lbl_802014B0 lbl_80201400: /* 80201400 001FE360 88 BE 00 54 */ lbz r5, 0x54(r30) /* 80201404 001FE364 38 80 00 01 */ li r4, 1 /* 80201408 001FE368 38 60 00 00 */ li r3, 0 /* 8020140C 001FE36C 38 00 00 03 */ li r0, 3 /* 80201410 001FE370 98 9F 00 00 */ stb r4, 0(r31) /* 80201414 001FE374 54 A6 EF BC */ rlwinm r6, r5, 0x1d, 0x1e, 0x1e /* 80201418 001FE378 50 A6 DF FE */ rlwimi r6, r5, 0x1b, 0x1f, 0x1f /* 8020141C 001FE37C 98 7F 00 01 */ stb r3, 1(r31) /* 80201420 001FE380 50 06 04 3A */ rlwimi r6, r0, 0, 0x10, 0x1d /* 80201424 001FE384 B0 DF 00 02 */ sth r6, 2(r31) /* 80201428 001FE388 98 81 00 10 */ stb r4, 0x10(r1) /* 8020142C 001FE38C 98 61 00 11 */ stb r3, 0x11(r1) /* 80201430 001FE390 B0 01 00 12 */ sth r0, 0x12(r1) /* 80201434 001FE394 90 E1 00 14 */ stw r7, 0x14(r1) /* 80201438 001FE398 90 FF 00 04 */ stw r7, 4(r31) /* 8020143C 001FE39C 48 00 00 74 */ b lbl_802014B0 lbl_80201440: /* 80201440 001FE3A0 88 DE 00 54 */ lbz r6, 0x54(r30) /* 80201444 001FE3A4 38 A0 00 02 */ li r5, 2 /* 80201448 001FE3A8 80 1D 00 00 */ lwz r0, 0(r29) /* 8020144C 001FE3AC 38 80 00 00 */ li r4, 0 /* 80201450 001FE3B0 38 60 00 03 */ li r3, 3 /* 80201454 001FE3B4 54 C7 EF BC */ rlwinm r7, r6, 0x1d, 0x1e, 0x1e /* 80201458 001FE3B8 98 BF 00 00 */ stb r5, 0(r31) /* 8020145C 001FE3BC 50 C7 DF FE */ rlwimi r7, r6, 0x1b, 0x1f, 0x1f /* 80201460 001FE3C0 50 67 04 3A */ rlwimi r7, r3, 0, 0x10, 0x1d /* 80201464 001FE3C4 98 9F 00 01 */ stb r4, 1(r31) /* 80201468 001FE3C8 B0 FF 00 02 */ sth r7, 2(r31) /* 8020146C 001FE3CC 98 A1 00 08 */ stb r5, 8(r1) /* 80201470 001FE3D0 98 81 00 09 */ stb r4, 9(r1) /* 80201474 001FE3D4 B0 61 00 0A */ sth r3, 0xa(r1) /* 80201478 001FE3D8 90 01 00 0C */ stw r0, 0xc(r1) /* 8020147C 001FE3DC 90 1F 00 04 */ stw r0, 4(r31) /* 80201480 001FE3E0 48 00 00 30 */ b lbl_802014B0 lbl_80201484: /* 80201484 001FE3E4 38 80 00 00 */ li r4, 0 /* 80201488 001FE3E8 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 8020148C 001FE3EC 98 9F 00 00 */ stb r4, 0(r31) /* 80201490 001FE3F0 38 00 00 03 */ li r0, 3 /* 80201494 001FE3F4 FC 40 08 90 */ fmr f2, f1 /* 80201498 001FE3F8 38 7F 00 04 */ addi r3, r31, 4 /* 8020149C 001FE3FC 98 9F 00 01 */ stb r4, 1(r31) /* 802014A0 001FE400 FC 60 08 90 */ fmr f3, f1 /* 802014A4 001FE404 FC 80 08 90 */ fmr f4, f1 /* 802014A8 001FE408 B0 1F 00 02 */ sth r0, 2(r31) /* 802014AC 001FE40C 48 16 1F 41 */ bl __ct__6CColorFffff lbl_802014B0: /* 802014B0 001FE410 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 802014B4 001FE414 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 802014B8 001FE418 83 C1 00 98 */ lwz r30, 0x98(r1) /* 802014BC 001FE41C 83 A1 00 94 */ lwz r29, 0x94(r1) /* 802014C0 001FE420 7C 08 03 A6 */ mtlr r0 /* 802014C4 001FE424 38 21 00 A0 */ addi r1, r1, 0xa0 /* 802014C8 001FE428 4E 80 00 20 */ blr .global End__20CScriptColorModulateFR13CStateManager End__20CScriptColorModulateFR13CStateManager: /* 802014CC 001FE42C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802014D0 001FE430 7C 08 02 A6 */ mflr r0 /* 802014D4 001FE434 C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 802014D8 001FE438 90 01 00 34 */ stw r0, 0x34(r1) /* 802014DC 001FE43C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802014E0 001FE440 7C 9F 23 78 */ mr r31, r4 /* 802014E4 001FE444 93 C1 00 28 */ stw r30, 0x28(r1) /* 802014E8 001FE448 7C 7E 1B 78 */ mr r30, r3 /* 802014EC 001FE44C D0 03 00 3C */ stfs f0, 0x3c(r3) /* 802014F0 001FE450 88 63 00 54 */ lbz r3, 0x54(r3) /* 802014F4 001FE454 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 802014F8 001FE458 41 82 00 2C */ beq lbl_80201524 /* 802014FC 001FE45C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80201500 001FE460 40 82 00 24 */ bne lbl_80201524 /* 80201504 001FE464 38 00 00 01 */ li r0, 1 /* 80201508 001FE468 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d /* 8020150C 001FE46C 98 7E 00 54 */ stb r3, 0x54(r30) /* 80201510 001FE470 80 1E 00 38 */ lwz r0, 0x38(r30) /* 80201514 001FE474 7C 00 00 34 */ cntlzw r0, r0 /* 80201518 001FE478 54 00 D9 7E */ srwi r0, r0, 5 /* 8020151C 001FE47C 90 1E 00 38 */ stw r0, 0x38(r30) /* 80201520 001FE480 48 00 00 D0 */ b lbl_802015F0 lbl_80201524: /* 80201524 001FE484 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80201528 001FE488 38 80 00 00 */ li r4, 0 /* 8020152C 001FE48C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 80201530 001FE490 98 1E 00 54 */ stb r0, 0x54(r30) /* 80201534 001FE494 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80201538 001FE498 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 8020153C 001FE49C 98 1E 00 54 */ stb r0, 0x54(r30) /* 80201540 001FE4A0 88 1E 00 54 */ lbz r0, 0x54(r30) /* 80201544 001FE4A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80201548 001FE4A8 41 82 00 3C */ beq lbl_80201584 /* 8020154C 001FE4AC C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201550 001FE4B0 38 00 00 03 */ li r0, 3 /* 80201554 001FE4B4 98 81 00 1C */ stb r4, 0x1c(r1) /* 80201558 001FE4B8 38 61 00 20 */ addi r3, r1, 0x20 /* 8020155C 001FE4BC FC 40 08 90 */ fmr f2, f1 /* 80201560 001FE4C0 FC 60 08 90 */ fmr f3, f1 /* 80201564 001FE4C4 98 81 00 1D */ stb r4, 0x1d(r1) /* 80201568 001FE4C8 FC 80 08 90 */ fmr f4, f1 /* 8020156C 001FE4CC B0 01 00 1E */ sth r0, 0x1e(r1) /* 80201570 001FE4D0 48 16 1E 7D */ bl __ct__6CColorFffff /* 80201574 001FE4D4 7F C3 F3 78 */ mr r3, r30 /* 80201578 001FE4D8 7F E4 FB 78 */ mr r4, r31 /* 8020157C 001FE4DC 38 A1 00 1C */ addi r5, r1, 0x1c /* 80201580 001FE4E0 48 00 00 89 */ bl SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags lbl_80201584: /* 80201584 001FE4E4 88 1E 00 55 */ lbz r0, 0x55(r30) /* 80201588 001FE4E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020158C 001FE4EC 41 82 00 2C */ beq lbl_802015B8 /* 80201590 001FE4F0 A0 FE 00 08 */ lhz r7, 8(r30) /* 80201594 001FE4F4 7F E3 FB 78 */ mr r3, r31 /* 80201598 001FE4F8 38 81 00 18 */ addi r4, r1, 0x18 /* 8020159C 001FE4FC 38 A1 00 14 */ addi r5, r1, 0x14 /* 802015A0 001FE500 B0 E1 00 14 */ sth r7, 0x14(r1) /* 802015A4 001FE504 38 C0 00 04 */ li r6, 4 /* 802015A8 001FE508 A0 1E 00 34 */ lhz r0, 0x34(r30) /* 802015AC 001FE50C B0 E1 00 10 */ sth r7, 0x10(r1) /* 802015B0 001FE510 B0 01 00 18 */ sth r0, 0x18(r1) /* 802015B4 001FE514 4B E4 28 A1 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId lbl_802015B8: /* 802015B8 001FE518 7F C3 F3 78 */ mr r3, r30 /* 802015BC 001FE51C 7F E5 FB 78 */ mr r5, r31 /* 802015C0 001FE520 38 80 00 07 */ li r4, 7 /* 802015C4 001FE524 38 C0 FF FF */ li r6, -1 /* 802015C8 001FE528 4B E4 FA F9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 802015CC 001FE52C 88 1E 00 54 */ lbz r0, 0x54(r30) /* 802015D0 001FE530 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 802015D4 001FE534 41 82 00 1C */ beq lbl_802015F0 /* 802015D8 001FE538 A0 1E 00 08 */ lhz r0, 8(r30) /* 802015DC 001FE53C 7F E3 FB 78 */ mr r3, r31 /* 802015E0 001FE540 38 81 00 0C */ addi r4, r1, 0xc /* 802015E4 001FE544 B0 01 00 08 */ sth r0, 8(r1) /* 802015E8 001FE548 B0 01 00 0C */ sth r0, 0xc(r1) /* 802015EC 001FE54C 4B E4 AC 81 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_802015F0: /* 802015F0 001FE550 80 01 00 34 */ lwz r0, 0x34(r1) /* 802015F4 001FE554 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802015F8 001FE558 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802015FC 001FE55C 7C 08 03 A6 */ mtlr r0 /* 80201600 001FE560 38 21 00 30 */ addi r1, r1, 0x30 /* 80201604 001FE564 4E 80 00 20 */ blr .global SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags SetTargetFlags__20CScriptColorModulateFR13CStateManagerRC11CModelFlags: /* 80201608 001FE568 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8020160C 001FE56C 7C 08 02 A6 */ mflr r0 /* 80201610 001FE570 90 01 00 64 */ stw r0, 0x64(r1) /* 80201614 001FE574 BF 01 00 40 */ stmw r24, 0x40(r1) /* 80201618 001FE578 7C 7C 1B 78 */ mr r28, r3 /* 8020161C 001FE57C 7C 9D 23 78 */ mr r29, r4 /* 80201620 001FE580 7C BE 2B 78 */ mr r30, r5 /* 80201624 001FE584 83 E3 00 2C */ lwz r31, 0x2c(r3) /* 80201628 001FE588 48 00 00 C8 */ b lbl_802016F0 lbl_8020162C: /* 8020162C 001FE58C 80 1F 00 00 */ lwz r0, 0(r31) /* 80201630 001FE590 2C 00 00 12 */ cmpwi r0, 0x12 /* 80201634 001FE594 40 82 00 B8 */ bne lbl_802016EC /* 80201638 001FE598 80 1F 00 04 */ lwz r0, 4(r31) /* 8020163C 001FE59C 2C 00 00 01 */ cmpwi r0, 1 /* 80201640 001FE5A0 40 82 00 AC */ bne lbl_802016EC /* 80201644 001FE5A4 80 1F 00 08 */ lwz r0, 8(r31) /* 80201648 001FE5A8 7F A4 EB 78 */ mr r4, r29 /* 8020164C 001FE5AC 38 61 00 24 */ addi r3, r1, 0x24 /* 80201650 001FE5B0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80201654 001FE5B4 90 01 00 10 */ stw r0, 0x10(r1) /* 80201658 001FE5B8 4B E4 69 71 */ bl GetIdListForScript__13CStateManagerCF9TEditorId /* 8020165C 001FE5BC 83 61 00 28 */ lwz r27, 0x28(r1) /* 80201660 001FE5C0 83 41 00 2C */ lwz r26, 0x2c(r1) /* 80201664 001FE5C4 83 21 00 30 */ lwz r25, 0x30(r1) /* 80201668 001FE5C8 83 01 00 24 */ lwz r24, 0x24(r1) /* 8020166C 001FE5CC 48 00 00 60 */ b lbl_802016CC lbl_80201670: /* 80201670 001FE5D0 A0 18 00 14 */ lhz r0, 0x14(r24) /* 80201674 001FE5D4 7F A3 EB 78 */ mr r3, r29 /* 80201678 001FE5D8 38 81 00 0C */ addi r4, r1, 0xc /* 8020167C 001FE5DC B0 01 00 0C */ sth r0, 0xc(r1) /* 80201680 001FE5E0 4B E4 AE F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80201684 001FE5E4 7C 64 1B 78 */ mr r4, r3 /* 80201688 001FE5E8 38 61 00 1C */ addi r3, r1, 0x1c /* 8020168C 001FE5EC 4B EA E6 05 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80201690 001FE5F0 80 63 00 04 */ lwz r3, 4(r3) /* 80201694 001FE5F4 28 03 00 00 */ cmplwi r3, 0 /* 80201698 001FE5F8 41 82 00 24 */ beq lbl_802016BC /* 8020169C 001FE5FC 88 1E 00 00 */ lbz r0, 0(r30) /* 802016A0 001FE600 98 03 00 B4 */ stb r0, 0xb4(r3) /* 802016A4 001FE604 88 1E 00 01 */ lbz r0, 1(r30) /* 802016A8 001FE608 98 03 00 B5 */ stb r0, 0xb5(r3) /* 802016AC 001FE60C A0 1E 00 02 */ lhz r0, 2(r30) /* 802016B0 001FE610 B0 03 00 B6 */ sth r0, 0xb6(r3) /* 802016B4 001FE614 80 1E 00 04 */ lwz r0, 4(r30) /* 802016B8 001FE618 90 03 00 B8 */ stw r0, 0xb8(r3) lbl_802016BC: /* 802016BC 001FE61C 7F 63 DB 78 */ mr r3, r27 /* 802016C0 001FE620 7F 04 C3 78 */ mr r4, r24 /* 802016C4 001FE624 48 13 AF 1D */ bl rbtree_traverse_forward__4rstlFPCvPv /* 802016C8 001FE628 7C 78 1B 78 */ mr r24, r3 lbl_802016CC: /* 802016CC 001FE62C 7C 18 D0 40 */ cmplw r24, r26 /* 802016D0 001FE630 38 00 00 00 */ li r0, 0 /* 802016D4 001FE634 40 82 00 0C */ bne lbl_802016E0 /* 802016D8 001FE638 7C 1B C8 40 */ cmplw r27, r25 /* 802016DC 001FE63C 41 82 00 08 */ beq lbl_802016E4 lbl_802016E0: /* 802016E0 001FE640 38 00 00 01 */ li r0, 1 lbl_802016E4: /* 802016E4 001FE644 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802016E8 001FE648 40 82 FF 88 */ bne lbl_80201670 lbl_802016EC: /* 802016EC 001FE64C 3B FF 00 0C */ addi r31, r31, 0xc lbl_802016F0: /* 802016F0 001FE650 80 1C 00 24 */ lwz r0, 0x24(r28) /* 802016F4 001FE654 80 7C 00 2C */ lwz r3, 0x2c(r28) /* 802016F8 001FE658 1C 00 00 0C */ mulli r0, r0, 0xc /* 802016FC 001FE65C 7C 03 02 14 */ add r0, r3, r0 /* 80201700 001FE660 7C 1F 00 40 */ cmplw r31, r0 /* 80201704 001FE664 40 82 FF 28 */ bne lbl_8020162C /* 80201708 001FE668 A0 7C 00 34 */ lhz r3, 0x34(r28) /* 8020170C 001FE66C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80201710 001FE670 7C 03 00 40 */ cmplw r3, r0 /* 80201714 001FE674 41 82 00 50 */ beq lbl_80201764 /* 80201718 001FE678 A0 1C 00 34 */ lhz r0, 0x34(r28) /* 8020171C 001FE67C 7F A3 EB 78 */ mr r3, r29 /* 80201720 001FE680 38 81 00 08 */ addi r4, r1, 8 /* 80201724 001FE684 B0 01 00 08 */ sth r0, 8(r1) /* 80201728 001FE688 4B E4 AE 4D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8020172C 001FE68C 7C 64 1B 78 */ mr r4, r3 /* 80201730 001FE690 38 61 00 14 */ addi r3, r1, 0x14 /* 80201734 001FE694 4B EA E5 5D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80201738 001FE698 80 63 00 04 */ lwz r3, 4(r3) /* 8020173C 001FE69C 28 03 00 00 */ cmplwi r3, 0 /* 80201740 001FE6A0 41 82 00 24 */ beq lbl_80201764 /* 80201744 001FE6A4 88 1E 00 00 */ lbz r0, 0(r30) /* 80201748 001FE6A8 98 03 00 B4 */ stb r0, 0xb4(r3) /* 8020174C 001FE6AC 88 1E 00 01 */ lbz r0, 1(r30) /* 80201750 001FE6B0 98 03 00 B5 */ stb r0, 0xb5(r3) /* 80201754 001FE6B4 A0 1E 00 02 */ lhz r0, 2(r30) /* 80201758 001FE6B8 B0 03 00 B6 */ sth r0, 0xb6(r3) /* 8020175C 001FE6BC 80 1E 00 04 */ lwz r0, 4(r30) /* 80201760 001FE6C0 90 03 00 B8 */ stw r0, 0xb8(r3) lbl_80201764: /* 80201764 001FE6C4 BB 01 00 40 */ lmw r24, 0x40(r1) /* 80201768 001FE6C8 80 01 00 64 */ lwz r0, 0x64(r1) /* 8020176C 001FE6CC 7C 08 03 A6 */ mtlr r0 /* 80201770 001FE6D0 38 21 00 60 */ addi r1, r1, 0x60 /* 80201774 001FE6D4 4E 80 00 20 */ blr .global FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf FadeOutHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf: /* 80201778 001FE6D8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8020177C 001FE6DC 7C 08 02 A6 */ mflr r0 /* 80201780 001FE6E0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80201784 001FE6E4 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 80201788 001FE6E8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 8020178C 001FE6EC BF 41 00 88 */ stmw r26, 0x88(r1) /* 80201790 001FE6F0 7C BF 2B 78 */ mr r31, r5 /* 80201794 001FE6F4 7C 9E 23 78 */ mr r30, r4 /* 80201798 001FE6F8 A0 05 00 00 */ lhz r0, 0(r5) /* 8020179C 001FE6FC 7C 7D 1B 78 */ mr r29, r3 /* 802017A0 001FE700 FF E0 08 90 */ fmr f31, f1 /* 802017A4 001FE704 7F C3 F3 78 */ mr r3, r30 /* 802017A8 001FE708 B0 01 00 28 */ sth r0, 0x28(r1) /* 802017AC 001FE70C 38 81 00 28 */ addi r4, r1, 0x28 /* 802017B0 001FE710 4B E4 AD F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802017B4 001FE714 28 03 00 00 */ cmplwi r3, 0 /* 802017B8 001FE718 41 82 00 14 */ beq lbl_802017CC /* 802017BC 001FE71C 80 03 00 04 */ lwz r0, 4(r3) /* 802017C0 001FE720 38 61 00 54 */ addi r3, r1, 0x54 /* 802017C4 001FE724 90 01 00 54 */ stw r0, 0x54(r1) /* 802017C8 001FE728 48 00 00 10 */ b lbl_802017D8 lbl_802017CC: /* 802017CC 001FE72C 80 1E 08 CC */ lwz r0, 0x8cc(r30) /* 802017D0 001FE730 38 61 00 50 */ addi r3, r1, 0x50 /* 802017D4 001FE734 90 01 00 50 */ stw r0, 0x50(r1) lbl_802017D8: /* 802017D8 001FE738 80 63 00 00 */ lwz r3, 0(r3) /* 802017DC 001FE73C 38 00 00 00 */ li r0, 0 /* 802017E0 001FE740 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 /* 802017E4 001FE744 7F C4 F3 78 */ mr r4, r30 /* 802017E8 001FE748 90 61 00 58 */ stw r3, 0x58(r1) /* 802017EC 001FE74C 38 61 00 24 */ addi r3, r1, 0x24 /* 802017F0 001FE750 90 A1 00 5C */ stw r5, 0x5c(r1) /* 802017F4 001FE754 90 01 00 60 */ stw r0, 0x60(r1) /* 802017F8 001FE758 90 01 00 64 */ stw r0, 0x64(r1) /* 802017FC 001FE75C 4B E4 B8 E1 */ bl AllocateUniqueId__13CStateManagerFv /* 80201800 001FE760 A0 01 00 24 */ lhz r0, 0x24(r1) /* 80201804 001FE764 3C 60 80 3D */ lis r3, lbl_803D2580@ha /* 80201808 001FE768 38 83 25 80 */ addi r4, r3, lbl_803D2580@l /* 8020180C 001FE76C 3B 40 00 00 */ li r26, 0 /* 80201810 001FE770 B0 01 00 2C */ sth r0, 0x2c(r1) /* 80201814 001FE774 38 60 00 58 */ li r3, 0x58 /* 80201818 001FE778 38 A0 00 00 */ li r5, 0 /* 8020181C 001FE77C 48 11 40 51 */ bl __nw__FUlPCcPCc /* 80201820 001FE780 7C 7B 1B 79 */ or. r27, r3, r3 /* 80201824 001FE784 41 82 00 B8 */ beq lbl_802018DC /* 80201828 001FE788 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 8020182C 001FE78C 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80201830 001FE790 80 01 00 58 */ lwz r0, 0x58(r1) /* 80201834 001FE794 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80201838 001FE798 90 81 00 44 */ stw r4, 0x44(r1) /* 8020183C 001FE79C 38 61 00 6C */ addi r3, r1, 0x6c /* 80201840 001FE7A0 38 81 00 40 */ addi r4, r1, 0x40 /* 80201844 001FE7A4 38 C1 00 44 */ addi r6, r1, 0x44 /* 80201848 001FE7A8 90 01 00 40 */ stw r0, 0x40(r1) /* 8020184C 001FE7AC 4B E4 FC 39 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80201850 001FE7B0 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201854 001FE7B4 38 61 00 4C */ addi r3, r1, 0x4c /* 80201858 001FE7B8 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 8020185C 001FE7BC 3B 40 00 01 */ li r26, 1 /* 80201860 001FE7C0 FC 40 08 90 */ fmr f2, f1 /* 80201864 001FE7C4 C0 82 B0 30 */ lfs f4, lbl_805ACD50@sda21(r2) /* 80201868 001FE7C8 FC 60 08 90 */ fmr f3, f1 /* 8020186C 001FE7CC B0 01 00 20 */ sth r0, 0x20(r1) /* 80201870 001FE7D0 48 16 1B 7D */ bl __ct__6CColorFffff /* 80201874 001FE7D4 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201878 001FE7D8 7C 7C 1B 78 */ mr r28, r3 /* 8020187C 001FE7DC 38 61 00 48 */ addi r3, r1, 0x48 /* 80201880 001FE7E0 FC 40 08 90 */ fmr f2, f1 /* 80201884 001FE7E4 FC 60 08 90 */ fmr f3, f1 /* 80201888 001FE7E8 FC 80 08 90 */ fmr f4, f1 /* 8020188C 001FE7EC 48 16 1B 61 */ bl __ct__6CColorFffff /* 80201890 001FE7F0 39 20 00 00 */ li r9, 0 /* 80201894 001FE7F4 7C 67 1B 78 */ mr r7, r3 /* 80201898 001FE7F8 91 21 00 08 */ stw r9, 8(r1) /* 8020189C 001FE7FC 38 00 00 01 */ li r0, 1 /* 802018A0 001FE800 FC 20 F8 90 */ fmr f1, f31 /* 802018A4 001FE804 C0 42 B0 30 */ lfs f2, lbl_805ACD50@sda21(r2) /* 802018A8 001FE808 90 01 00 0C */ stw r0, 0xc(r1) /* 802018AC 001FE80C 7F 63 DB 78 */ mr r3, r27 /* 802018B0 001FE810 7F 88 E3 78 */ mr r8, r28 /* 802018B4 001FE814 38 81 00 20 */ addi r4, r1, 0x20 /* 802018B8 001FE818 90 01 00 10 */ stw r0, 0x10(r1) /* 802018BC 001FE81C 38 A1 00 5C */ addi r5, r1, 0x5c /* 802018C0 001FE820 38 C1 00 6C */ addi r6, r1, 0x6c /* 802018C4 001FE824 39 40 00 00 */ li r10, 0 /* 802018C8 001FE828 91 21 00 14 */ stw r9, 0x14(r1) /* 802018CC 001FE82C 39 20 00 00 */ li r9, 0 /* 802018D0 001FE830 90 01 00 18 */ stw r0, 0x18(r1) /* 802018D4 001FE834 48 00 02 F9 */ bl "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" /* 802018D8 001FE838 7C 7B 1B 78 */ mr r27, r3 lbl_802018DC: /* 802018DC 001FE83C 7F 40 07 75 */ extsb. r0, r26 /* 802018E0 001FE840 41 82 00 44 */ beq lbl_80201924 /* 802018E4 001FE844 80 01 00 74 */ lwz r0, 0x74(r1) /* 802018E8 001FE848 80 61 00 7C */ lwz r3, 0x7c(r1) /* 802018EC 001FE84C 1C 00 00 0C */ mulli r0, r0, 0xc /* 802018F0 001FE850 90 61 00 34 */ stw r3, 0x34(r1) /* 802018F4 001FE854 7C 64 1B 78 */ mr r4, r3 /* 802018F8 001FE858 7C 03 02 14 */ add r0, r3, r0 /* 802018FC 001FE85C 90 61 00 30 */ stw r3, 0x30(r1) /* 80201900 001FE860 90 01 00 3C */ stw r0, 0x3c(r1) /* 80201904 001FE864 90 01 00 38 */ stw r0, 0x38(r1) /* 80201908 001FE868 48 00 00 08 */ b lbl_80201910 lbl_8020190C: /* 8020190C 001FE86C 38 84 00 0C */ addi r4, r4, 0xc lbl_80201910: /* 80201910 001FE870 7C 04 00 40 */ cmplw r4, r0 /* 80201914 001FE874 40 82 FF F8 */ bne lbl_8020190C /* 80201918 001FE878 28 03 00 00 */ cmplwi r3, 0 /* 8020191C 001FE87C 41 82 00 08 */ beq lbl_80201924 /* 80201920 001FE880 48 11 40 11 */ bl Free__7CMemoryFPCv lbl_80201924: /* 80201924 001FE884 A0 1F 00 00 */ lhz r0, 0(r31) /* 80201928 001FE888 38 A0 00 01 */ li r5, 1 /* 8020192C 001FE88C 7F C3 F3 78 */ mr r3, r30 /* 80201930 001FE890 7F 64 DB 78 */ mr r4, r27 /* 80201934 001FE894 B0 1B 00 34 */ sth r0, 0x34(r27) /* 80201938 001FE898 88 1B 00 54 */ lbz r0, 0x54(r27) /* 8020193C 001FE89C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80201940 001FE8A0 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201944 001FE8A4 88 1B 00 54 */ lbz r0, 0x54(r27) /* 80201948 001FE8A8 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 8020194C 001FE8AC 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201950 001FE8B0 88 1B 00 55 */ lbz r0, 0x55(r27) /* 80201954 001FE8B4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80201958 001FE8B8 98 1B 00 55 */ stb r0, 0x55(r27) /* 8020195C 001FE8BC 4B E4 B1 B9 */ bl AddObject__13CStateManagerFR7CEntity /* 80201960 001FE8C0 7F 63 DB 78 */ mr r3, r27 /* 80201964 001FE8C4 7F C4 F3 78 */ mr r4, r30 /* 80201968 001FE8C8 81 9B 00 00 */ lwz r12, 0(r27) /* 8020196C 001FE8CC C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80201970 001FE8D0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80201974 001FE8D4 7D 89 03 A6 */ mtctr r12 /* 80201978 001FE8D8 4E 80 04 21 */ bctrl /* 8020197C 001FE8DC A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80201980 001FE8E0 38 61 00 5C */ addi r3, r1, 0x5c /* 80201984 001FE8E4 B0 1D 00 00 */ sth r0, 0(r29) /* 80201988 001FE8E8 48 13 C1 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020198C 001FE8EC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80201990 001FE8F0 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80201994 001FE8F4 BB 41 00 88 */ lmw r26, 0x88(r1) /* 80201998 001FE8F8 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8020199C 001FE8FC 7C 08 03 A6 */ mtlr r0 /* 802019A0 001FE900 38 21 00 B0 */ addi r1, r1, 0xb0 /* 802019A4 001FE904 4E 80 00 20 */ blr .global FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf FadeInHelper__20CScriptColorModulateFR13CStateManager9TUniqueIdf: /* 802019A8 001FE908 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 802019AC 001FE90C 7C 08 02 A6 */ mflr r0 /* 802019B0 001FE910 90 01 00 B4 */ stw r0, 0xb4(r1) /* 802019B4 001FE914 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 802019B8 001FE918 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 802019BC 001FE91C BF 41 00 88 */ stmw r26, 0x88(r1) /* 802019C0 001FE920 7C BF 2B 78 */ mr r31, r5 /* 802019C4 001FE924 7C 9E 23 78 */ mr r30, r4 /* 802019C8 001FE928 A0 05 00 00 */ lhz r0, 0(r5) /* 802019CC 001FE92C 7C 7D 1B 78 */ mr r29, r3 /* 802019D0 001FE930 FF E0 08 90 */ fmr f31, f1 /* 802019D4 001FE934 7F C3 F3 78 */ mr r3, r30 /* 802019D8 001FE938 B0 01 00 28 */ sth r0, 0x28(r1) /* 802019DC 001FE93C 38 81 00 28 */ addi r4, r1, 0x28 /* 802019E0 001FE940 4B E4 AB C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802019E4 001FE944 28 03 00 00 */ cmplwi r3, 0 /* 802019E8 001FE948 41 82 00 14 */ beq lbl_802019FC /* 802019EC 001FE94C 80 03 00 04 */ lwz r0, 4(r3) /* 802019F0 001FE950 38 61 00 54 */ addi r3, r1, 0x54 /* 802019F4 001FE954 90 01 00 54 */ stw r0, 0x54(r1) /* 802019F8 001FE958 48 00 00 10 */ b lbl_80201A08 lbl_802019FC: /* 802019FC 001FE95C 80 1E 08 CC */ lwz r0, 0x8cc(r30) /* 80201A00 001FE960 38 61 00 50 */ addi r3, r1, 0x50 /* 80201A04 001FE964 90 01 00 50 */ stw r0, 0x50(r1) lbl_80201A08: /* 80201A08 001FE968 80 63 00 00 */ lwz r3, 0(r3) /* 80201A0C 001FE96C 38 00 00 00 */ li r0, 0 /* 80201A10 001FE970 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 /* 80201A14 001FE974 7F C4 F3 78 */ mr r4, r30 /* 80201A18 001FE978 90 61 00 58 */ stw r3, 0x58(r1) /* 80201A1C 001FE97C 38 61 00 24 */ addi r3, r1, 0x24 /* 80201A20 001FE980 90 A1 00 5C */ stw r5, 0x5c(r1) /* 80201A24 001FE984 90 01 00 60 */ stw r0, 0x60(r1) /* 80201A28 001FE988 90 01 00 64 */ stw r0, 0x64(r1) /* 80201A2C 001FE98C 4B E4 B6 B1 */ bl AllocateUniqueId__13CStateManagerFv /* 80201A30 001FE990 A0 01 00 24 */ lhz r0, 0x24(r1) /* 80201A34 001FE994 3C 60 80 3D */ lis r3, lbl_803D2580@ha /* 80201A38 001FE998 38 83 25 80 */ addi r4, r3, lbl_803D2580@l /* 80201A3C 001FE99C 3B 40 00 00 */ li r26, 0 /* 80201A40 001FE9A0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 80201A44 001FE9A4 38 60 00 58 */ li r3, 0x58 /* 80201A48 001FE9A8 38 A0 00 00 */ li r5, 0 /* 80201A4C 001FE9AC 48 11 3E 21 */ bl __nw__FUlPCcPCc /* 80201A50 001FE9B0 7C 7B 1B 79 */ or. r27, r3, r3 /* 80201A54 001FE9B4 41 82 00 B8 */ beq lbl_80201B0C /* 80201A58 001FE9B8 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 80201A5C 001FE9BC 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80201A60 001FE9C0 80 01 00 58 */ lwz r0, 0x58(r1) /* 80201A64 001FE9C4 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80201A68 001FE9C8 90 81 00 44 */ stw r4, 0x44(r1) /* 80201A6C 001FE9CC 38 61 00 6C */ addi r3, r1, 0x6c /* 80201A70 001FE9D0 38 81 00 40 */ addi r4, r1, 0x40 /* 80201A74 001FE9D4 38 C1 00 44 */ addi r6, r1, 0x44 /* 80201A78 001FE9D8 90 01 00 40 */ stw r0, 0x40(r1) /* 80201A7C 001FE9DC 4B E4 FA 09 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80201A80 001FE9E0 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201A84 001FE9E4 38 61 00 4C */ addi r3, r1, 0x4c /* 80201A88 001FE9E8 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80201A8C 001FE9EC 3B 40 00 01 */ li r26, 1 /* 80201A90 001FE9F0 FC 40 08 90 */ fmr f2, f1 /* 80201A94 001FE9F4 FC 60 08 90 */ fmr f3, f1 /* 80201A98 001FE9F8 B0 01 00 20 */ sth r0, 0x20(r1) /* 80201A9C 001FE9FC FC 80 08 90 */ fmr f4, f1 /* 80201AA0 001FEA00 48 16 19 4D */ bl __ct__6CColorFffff /* 80201AA4 001FEA04 C0 22 B0 40 */ lfs f1, lbl_805ACD60@sda21(r2) /* 80201AA8 001FEA08 7C 7C 1B 78 */ mr r28, r3 /* 80201AAC 001FEA0C C0 82 B0 30 */ lfs f4, lbl_805ACD50@sda21(r2) /* 80201AB0 001FEA10 38 61 00 48 */ addi r3, r1, 0x48 /* 80201AB4 001FEA14 FC 40 08 90 */ fmr f2, f1 /* 80201AB8 001FEA18 FC 60 08 90 */ fmr f3, f1 /* 80201ABC 001FEA1C 48 16 19 31 */ bl __ct__6CColorFffff /* 80201AC0 001FEA20 39 60 00 01 */ li r11, 1 /* 80201AC4 001FEA24 7C 67 1B 78 */ mr r7, r3 /* 80201AC8 001FEA28 91 61 00 08 */ stw r11, 8(r1) /* 80201ACC 001FEA2C 38 00 00 00 */ li r0, 0 /* 80201AD0 001FEA30 FC 20 F8 90 */ fmr f1, f31 /* 80201AD4 001FEA34 C0 42 B0 30 */ lfs f2, lbl_805ACD50@sda21(r2) /* 80201AD8 001FEA38 91 61 00 0C */ stw r11, 0xc(r1) /* 80201ADC 001FEA3C 7F 63 DB 78 */ mr r3, r27 /* 80201AE0 001FEA40 7F 88 E3 78 */ mr r8, r28 /* 80201AE4 001FEA44 38 81 00 20 */ addi r4, r1, 0x20 /* 80201AE8 001FEA48 91 61 00 10 */ stw r11, 0x10(r1) /* 80201AEC 001FEA4C 38 A1 00 5C */ addi r5, r1, 0x5c /* 80201AF0 001FEA50 38 C1 00 6C */ addi r6, r1, 0x6c /* 80201AF4 001FEA54 39 20 00 00 */ li r9, 0 /* 80201AF8 001FEA58 90 01 00 14 */ stw r0, 0x14(r1) /* 80201AFC 001FEA5C 39 40 00 00 */ li r10, 0 /* 80201B00 001FEA60 91 61 00 18 */ stw r11, 0x18(r1) /* 80201B04 001FEA64 48 00 00 C9 */ bl "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" /* 80201B08 001FEA68 7C 7B 1B 78 */ mr r27, r3 lbl_80201B0C: /* 80201B0C 001FEA6C 7F 40 07 75 */ extsb. r0, r26 /* 80201B10 001FEA70 41 82 00 44 */ beq lbl_80201B54 /* 80201B14 001FEA74 80 01 00 74 */ lwz r0, 0x74(r1) /* 80201B18 001FEA78 80 61 00 7C */ lwz r3, 0x7c(r1) /* 80201B1C 001FEA7C 1C 00 00 0C */ mulli r0, r0, 0xc /* 80201B20 001FEA80 90 61 00 34 */ stw r3, 0x34(r1) /* 80201B24 001FEA84 7C 64 1B 78 */ mr r4, r3 /* 80201B28 001FEA88 7C 03 02 14 */ add r0, r3, r0 /* 80201B2C 001FEA8C 90 61 00 30 */ stw r3, 0x30(r1) /* 80201B30 001FEA90 90 01 00 3C */ stw r0, 0x3c(r1) /* 80201B34 001FEA94 90 01 00 38 */ stw r0, 0x38(r1) /* 80201B38 001FEA98 48 00 00 08 */ b lbl_80201B40 lbl_80201B3C: /* 80201B3C 001FEA9C 38 84 00 0C */ addi r4, r4, 0xc lbl_80201B40: /* 80201B40 001FEAA0 7C 04 00 40 */ cmplw r4, r0 /* 80201B44 001FEAA4 40 82 FF F8 */ bne lbl_80201B3C /* 80201B48 001FEAA8 28 03 00 00 */ cmplwi r3, 0 /* 80201B4C 001FEAAC 41 82 00 08 */ beq lbl_80201B54 /* 80201B50 001FEAB0 48 11 3D E1 */ bl Free__7CMemoryFPCv lbl_80201B54: /* 80201B54 001FEAB4 A0 1F 00 00 */ lhz r0, 0(r31) /* 80201B58 001FEAB8 38 A0 00 01 */ li r5, 1 /* 80201B5C 001FEABC 7F C3 F3 78 */ mr r3, r30 /* 80201B60 001FEAC0 7F 64 DB 78 */ mr r4, r27 /* 80201B64 001FEAC4 B0 1B 00 34 */ sth r0, 0x34(r27) /* 80201B68 001FEAC8 88 1B 00 54 */ lbz r0, 0x54(r27) /* 80201B6C 001FEACC 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80201B70 001FEAD0 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201B74 001FEAD4 88 1B 00 54 */ lbz r0, 0x54(r27) /* 80201B78 001FEAD8 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 80201B7C 001FEADC 98 1B 00 54 */ stb r0, 0x54(r27) /* 80201B80 001FEAE0 4B E4 AF 95 */ bl AddObject__13CStateManagerFR7CEntity /* 80201B84 001FEAE4 7F 63 DB 78 */ mr r3, r27 /* 80201B88 001FEAE8 7F C4 F3 78 */ mr r4, r30 /* 80201B8C 001FEAEC 81 9B 00 00 */ lwz r12, 0(r27) /* 80201B90 001FEAF0 C0 22 B0 30 */ lfs f1, lbl_805ACD50@sda21(r2) /* 80201B94 001FEAF4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80201B98 001FEAF8 7D 89 03 A6 */ mtctr r12 /* 80201B9C 001FEAFC 4E 80 04 21 */ bctrl /* 80201BA0 001FEB00 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80201BA4 001FEB04 38 61 00 5C */ addi r3, r1, 0x5c /* 80201BA8 001FEB08 B0 1D 00 00 */ sth r0, 0(r29) /* 80201BAC 001FEB0C 48 13 BF 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80201BB0 001FEB10 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80201BB4 001FEB14 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80201BB8 001FEB18 BB 41 00 88 */ lmw r26, 0x88(r1) /* 80201BBC 001FEB1C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80201BC0 001FEB20 7C 08 03 A6 */ mtlr r0 /* 80201BC4 001FEB24 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80201BC8 001FEB28 4E 80 00 20 */ blr .global "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb": /* 80201BCC 001FEB2C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80201BD0 001FEB30 7C 08 02 A6 */ mflr r0 /* 80201BD4 001FEB34 90 01 00 64 */ stw r0, 0x64(r1) /* 80201BD8 001FEB38 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80201BDC 001FEB3C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80201BE0 001FEB40 DB C1 00 40 */ stfd f30, 0x40(r1) /* 80201BE4 001FEB44 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 80201BE8 001FEB48 BE E1 00 1C */ stmw r23, 0x1c(r1) /* 80201BEC 001FEB4C A0 04 00 00 */ lhz r0, 0(r4) /* 80201BF0 001FEB50 7C AB 2B 78 */ mr r11, r5 /* 80201BF4 001FEB54 FF C0 08 90 */ fmr f30, f1 /* 80201BF8 001FEB58 88 81 00 7B */ lbz r4, 0x7b(r1) /* 80201BFC 001FEB5C FF E0 10 90 */ fmr f31, f2 /* 80201C00 001FEB60 B0 01 00 08 */ sth r0, 8(r1) /* 80201C04 001FEB64 7C F9 3B 78 */ mr r25, r7 /* 80201C08 001FEB68 7C C5 33 78 */ mr r5, r6 /* 80201C0C 001FEB6C 7C 86 23 78 */ mr r6, r4 /* 80201C10 001FEB70 8B 81 00 6B */ lbz r28, 0x6b(r1) /* 80201C14 001FEB74 8B A1 00 6F */ lbz r29, 0x6f(r1) /* 80201C18 001FEB78 7C 78 1B 78 */ mr r24, r3 /* 80201C1C 001FEB7C 8B C1 00 73 */ lbz r30, 0x73(r1) /* 80201C20 001FEB80 7D 1A 43 78 */ mr r26, r8 /* 80201C24 001FEB84 8B E1 00 77 */ lbz r31, 0x77(r1) /* 80201C28 001FEB88 7D 3B 4B 78 */ mr r27, r9 /* 80201C2C 001FEB8C 7D 57 53 78 */ mr r23, r10 /* 80201C30 001FEB90 7D 67 5B 78 */ mr r7, r11 /* 80201C34 001FEB94 38 81 00 08 */ addi r4, r1, 8 /* 80201C38 001FEB98 4B E4 F6 ED */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80201C3C 001FEB9C 3C 60 80 3E */ lis r3, lbl_803E6BB0@ha /* 80201C40 001FEBA0 38 A0 00 00 */ li r5, 0 /* 80201C44 001FEBA4 38 03 6B B0 */ addi r0, r3, lbl_803E6BB0@l /* 80201C48 001FEBA8 C0 02 B0 30 */ lfs f0, lbl_805ACD50@sda21(r2) /* 80201C4C 001FEBAC 90 18 00 00 */ stw r0, 0(r24) /* 80201C50 001FEBB0 7F 03 C3 78 */ mr r3, r24 /* 80201C54 001FEBB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80201C58 001FEBB8 B0 18 00 34 */ sth r0, 0x34(r24) /* 80201C5C 001FEBBC 90 B8 00 38 */ stw r5, 0x38(r24) /* 80201C60 001FEBC0 D0 18 00 3C */ stfs f0, 0x3c(r24) /* 80201C64 001FEBC4 80 19 00 00 */ lwz r0, 0(r25) /* 80201C68 001FEBC8 90 18 00 40 */ stw r0, 0x40(r24) /* 80201C6C 001FEBCC 80 1A 00 00 */ lwz r0, 0(r26) /* 80201C70 001FEBD0 90 18 00 44 */ stw r0, 0x44(r24) /* 80201C74 001FEBD4 93 78 00 48 */ stw r27, 0x48(r24) /* 80201C78 001FEBD8 D3 D8 00 4C */ stfs f30, 0x4c(r24) /* 80201C7C 001FEBDC D3 F8 00 50 */ stfs f31, 0x50(r24) /* 80201C80 001FEBE0 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201C84 001FEBE4 52 E0 3E 30 */ rlwimi r0, r23, 7, 0x18, 0x18 /* 80201C88 001FEBE8 98 18 00 54 */ stb r0, 0x54(r24) /* 80201C8C 001FEBEC 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201C90 001FEBF0 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 /* 80201C94 001FEBF4 98 18 00 54 */ stb r0, 0x54(r24) /* 80201C98 001FEBF8 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201C9C 001FEBFC 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a /* 80201CA0 001FEC00 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CA4 001FEC04 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CA8 001FEC08 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b /* 80201CAC 001FEC0C 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CB0 001FEC10 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CB4 001FEC14 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c /* 80201CB8 001FEC18 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CBC 001FEC1C 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CC0 001FEC20 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80201CC4 001FEC24 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CC8 001FEC28 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CCC 001FEC2C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80201CD0 001FEC30 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CD4 001FEC34 88 18 00 54 */ lbz r0, 0x54(r24) /* 80201CD8 001FEC38 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 80201CDC 001FEC3C 98 18 00 54 */ stb r0, 0x54(r24) /* 80201CE0 001FEC40 88 18 00 55 */ lbz r0, 0x55(r24) /* 80201CE4 001FEC44 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80201CE8 001FEC48 98 18 00 55 */ stb r0, 0x55(r24) /* 80201CEC 001FEC4C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80201CF0 001FEC50 CB E1 00 50 */ lfd f31, 0x50(r1) /* 80201CF4 001FEC54 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 80201CF8 001FEC58 CB C1 00 40 */ lfd f30, 0x40(r1) /* 80201CFC 001FEC5C BA E1 00 1C */ lmw r23, 0x1c(r1) /* 80201D00 001FEC60 80 01 00 64 */ lwz r0, 0x64(r1) /* 80201D04 001FEC64 7C 08 03 A6 */ mtlr r0 /* 80201D08 001FEC68 38 21 00 60 */ addi r1, r1, 0x60 /* 80201D0C 001FEC6C 4E 80 00 20 */ blr .global FMapUniverseFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer FMapUniverseFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: /* 80201D10 001FEC70 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80201D14 001FEC74 7C 08 02 A6 */ mflr r0 /* 80201D18 001FEC78 90 01 00 34 */ stw r0, 0x34(r1) /* 80201D1C 001FEC7C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80201D20 001FEC80 93 C1 00 28 */ stw r30, 0x28(r1) /* 80201D24 001FEC84 7C BE 2B 78 */ mr r30, r5 /* 80201D28 001FEC88 93 A1 00 24 */ stw r29, 0x24(r1) /* 80201D2C 001FEC8C 7C 7D 1B 78 */ mr r29, r3 /* 80201D30 001FEC90 7F C3 F3 78 */ mr r3, r30 /* 80201D34 001FEC94 48 13 CF 51 */ bl ReadLong__12CInputStreamFv /* 80201D38 001FEC98 7F C3 F3 78 */ mr r3, r30 /* 80201D3C 001FEC9C 48 13 CF 49 */ bl ReadLong__12CInputStreamFv /* 80201D40 001FECA0 3C 80 80 3D */ lis r4, lbl_803D2588@ha /* 80201D44 001FECA4 7C 7F 1B 78 */ mr r31, r3 /* 80201D48 001FECA8 38 84 25 88 */ addi r4, r4, lbl_803D2588@l /* 80201D4C 001FECAC 38 60 00 30 */ li r3, 0x30 /* 80201D50 001FECB0 38 A0 00 00 */ li r5, 0 /* 80201D54 001FECB4 48 11 3B 19 */ bl __nw__FUlPCcPCc /* 80201D58 001FECB8 7C 64 1B 79 */ or. r4, r3, r3 /* 80201D5C 001FECBC 41 82 00 14 */ beq lbl_80201D70 /* 80201D60 001FECC0 7F C4 F3 78 */ mr r4, r30 /* 80201D64 001FECC4 7F E5 FB 78 */ mr r5, r31 /* 80201D68 001FECC8 48 00 0E 65 */ bl __ct__12CMapUniverseFR12CInputStream /* 80201D6C 001FECCC 7C 64 1B 78 */ mr r4, r3 lbl_80201D70: /* 80201D70 001FECD0 7C 04 00 D0 */ neg r0, r4 /* 80201D74 001FECD4 90 81 00 0C */ stw r4, 0xc(r1) /* 80201D78 001FECD8 7C 00 23 78 */ or r0, r0, r4 /* 80201D7C 001FECDC 38 61 00 10 */ addi r3, r1, 0x10 /* 80201D80 001FECE0 54 00 0F FE */ srwi r0, r0, 0x1f /* 80201D84 001FECE4 38 81 00 08 */ addi r4, r1, 8 /* 80201D88 001FECE8 98 01 00 08 */ stb r0, 8(r1) /* 80201D8C 001FECEC 48 00 01 15 */ bl "GetIObjObjectFor__22TToken<12CMapUniverse>FRCQ24rstl24auto_ptr<12CMapUniverse>" /* 80201D90 001FECF0 80 61 00 14 */ lwz r3, 0x14(r1) /* 80201D94 001FECF4 38 00 00 00 */ li r0, 0 /* 80201D98 001FECF8 98 01 00 10 */ stb r0, 0x10(r1) /* 80201D9C 001FECFC 7C 03 00 D0 */ neg r0, r3 /* 80201DA0 001FED00 7C 00 1B 78 */ or r0, r0, r3 /* 80201DA4 001FED04 54 00 0F FE */ srwi r0, r0, 0x1f /* 80201DA8 001FED08 98 1D 00 00 */ stb r0, 0(r29) /* 80201DAC 001FED0C 90 7D 00 04 */ stw r3, 4(r29) /* 80201DB0 001FED10 88 01 00 10 */ lbz r0, 0x10(r1) /* 80201DB4 001FED14 28 00 00 00 */ cmplwi r0, 0 /* 80201DB8 001FED18 41 82 00 24 */ beq lbl_80201DDC /* 80201DBC 001FED1C 80 61 00 14 */ lwz r3, 0x14(r1) /* 80201DC0 001FED20 28 03 00 00 */ cmplwi r3, 0 /* 80201DC4 001FED24 41 82 00 18 */ beq lbl_80201DDC /* 80201DC8 001FED28 81 83 00 00 */ lwz r12, 0(r3) /* 80201DCC 001FED2C 38 80 00 01 */ li r4, 1 /* 80201DD0 001FED30 81 8C 00 08 */ lwz r12, 8(r12) /* 80201DD4 001FED34 7D 89 03 A6 */ mtctr r12 /* 80201DD8 001FED38 4E 80 04 21 */ bctrl lbl_80201DDC: /* 80201DDC 001FED3C 88 01 00 08 */ lbz r0, 8(r1) /* 80201DE0 001FED40 28 00 00 00 */ cmplwi r0, 0 /* 80201DE4 001FED44 41 82 00 10 */ beq lbl_80201DF4 /* 80201DE8 001FED48 80 61 00 0C */ lwz r3, 0xc(r1) /* 80201DEC 001FED4C 38 80 00 01 */ li r4, 1 /* 80201DF0 001FED50 48 00 0B C5 */ bl sub_802029b4 lbl_80201DF4: /* 80201DF4 001FED54 80 01 00 34 */ lwz r0, 0x34(r1) /* 80201DF8 001FED58 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80201DFC 001FED5C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80201E00 001FED60 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80201E04 001FED64 7C 08 03 A6 */ mtlr r0 /* 80201E08 001FED68 38 21 00 30 */ addi r1, r1, 0x30 /* 80201E0C 001FED6C 4E 80 00 20 */ blr .global "__dt__40TObjOwnerDerivedFromIObj<12CMapUniverse>Fv" "__dt__40TObjOwnerDerivedFromIObj<12CMapUniverse>Fv": /* 80201E10 001FED70 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80201E14 001FED74 7C 08 02 A6 */ mflr r0 /* 80201E18 001FED78 90 01 00 14 */ stw r0, 0x14(r1) /* 80201E1C 001FED7C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80201E20 001FED80 7C 9F 23 78 */ mr r31, r4 /* 80201E24 001FED84 93 C1 00 08 */ stw r30, 8(r1) /* 80201E28 001FED88 7C 7E 1B 79 */ or. r30, r3, r3 /* 80201E2C 001FED8C 41 82 00 58 */ beq lbl_80201E84 /* 80201E30 001FED90 3C 60 80 3E */ lis r3, lbl_803E6BD0@ha /* 80201E34 001FED94 38 03 6B D0 */ addi r0, r3, lbl_803E6BD0@l /* 80201E38 001FED98 90 1E 00 00 */ stw r0, 0(r30) /* 80201E3C 001FED9C 80 7E 00 04 */ lwz r3, 4(r30) /* 80201E40 001FEDA0 28 03 00 00 */ cmplwi r3, 0 /* 80201E44 001FEDA4 41 82 00 0C */ beq lbl_80201E50 /* 80201E48 001FEDA8 38 80 00 01 */ li r4, 1 /* 80201E4C 001FEDAC 48 00 0B 69 */ bl sub_802029b4 lbl_80201E50: /* 80201E50 001FEDB0 28 1E 00 00 */ cmplwi r30, 0 /* 80201E54 001FEDB4 41 82 00 20 */ beq lbl_80201E74 /* 80201E58 001FEDB8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha /* 80201E5C 001FEDBC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l /* 80201E60 001FEDC0 90 1E 00 00 */ stw r0, 0(r30) /* 80201E64 001FEDC4 41 82 00 10 */ beq lbl_80201E74 /* 80201E68 001FEDC8 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha /* 80201E6C 001FEDCC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l /* 80201E70 001FEDD0 90 1E 00 00 */ stw r0, 0(r30) lbl_80201E74: /* 80201E74 001FEDD4 7F E0 07 35 */ extsh. r0, r31 /* 80201E78 001FEDD8 40 81 00 0C */ ble lbl_80201E84 /* 80201E7C 001FEDDC 7F C3 F3 78 */ mr r3, r30 /* 80201E80 001FEDE0 48 11 3A B1 */ bl Free__7CMemoryFPCv lbl_80201E84: /* 80201E84 001FEDE4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80201E88 001FEDE8 7F C3 F3 78 */ mr r3, r30 /* 80201E8C 001FEDEC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80201E90 001FEDF0 83 C1 00 08 */ lwz r30, 8(r1) /* 80201E94 001FEDF4 7C 08 03 A6 */ mtlr r0 /* 80201E98 001FEDF8 38 21 00 10 */ addi r1, r1, 0x10 /* 80201E9C 001FEDFC 4E 80 00 20 */ blr .global "GetIObjObjectFor__22TToken<12CMapUniverse>FRCQ24rstl24auto_ptr<12CMapUniverse>" "GetIObjObjectFor__22TToken<12CMapUniverse>FRCQ24rstl24auto_ptr<12CMapUniverse>": /* 80201EA0 001FEE00 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80201EA4 001FEE04 7C 08 02 A6 */ mflr r0 /* 80201EA8 001FEE08 90 01 00 14 */ stw r0, 0x14(r1) /* 80201EAC 001FEE0C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80201EB0 001FEE10 7C 7F 1B 78 */ mr r31, r3 /* 80201EB4 001FEE14 48 00 00 19 */ bl "GetNewDerivedObject__40TObjOwnerDerivedFromIObj<12CMapUniverse>FRCQ24rstl24auto_ptr<12CMapUniverse>" /* 80201EB8 001FEE18 80 01 00 14 */ lwz r0, 0x14(r1) /* 80201EBC 001FEE1C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80201EC0 001FEE20 7C 08 03 A6 */ mtlr r0 /* 80201EC4 001FEE24 38 21 00 10 */ addi r1, r1, 0x10 /* 80201EC8 001FEE28 4E 80 00 20 */ blr .global "GetNewDerivedObject__40TObjOwnerDerivedFromIObj<12CMapUniverse>FRCQ24rstl24auto_ptr<12CMapUniverse>" "GetNewDerivedObject__40TObjOwnerDerivedFromIObj<12CMapUniverse>FRCQ24rstl24auto_ptr<12CMapUniverse>": /* 80201ECC 001FEE2C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80201ED0 001FEE30 7C 08 02 A6 */ mflr r0 /* 80201ED4 001FEE34 3C A0 80 3D */ lis r5, lbl_803D2588@ha /* 80201ED8 001FEE38 90 01 00 14 */ stw r0, 0x14(r1) /* 80201EDC 001FEE3C 38 05 25 88 */ addi r0, r5, lbl_803D2588@l /* 80201EE0 001FEE40 38 A0 00 00 */ li r5, 0 /* 80201EE4 001FEE44 93 E1 00 0C */ stw r31, 0xc(r1) /* 80201EE8 001FEE48 7C 9F 23 78 */ mr r31, r4 /* 80201EEC 001FEE4C 7C 04 03 78 */ mr r4, r0 /* 80201EF0 001FEE50 93 C1 00 08 */ stw r30, 8(r1) /* 80201EF4 001FEE54 7C 7E 1B 78 */ mr r30, r3 /* 80201EF8 001FEE58 38 60 00 08 */ li r3, 8 /* 80201EFC 001FEE5C 48 11 39 71 */ bl __nw__FUlPCcPCc /* 80201F00 001FEE60 28 03 00 00 */ cmplwi r3, 0 /* 80201F04 001FEE64 41 82 00 38 */ beq lbl_80201F3C /* 80201F08 001FEE68 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha /* 80201F0C 001FEE6C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha /* 80201F10 001FEE70 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l /* 80201F14 001FEE74 3C 80 80 3E */ lis r4, lbl_803E6BD0@ha /* 80201F18 001FEE78 90 03 00 00 */ stw r0, 0(r3) /* 80201F1C 001FEE7C 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l /* 80201F20 001FEE80 38 A0 00 00 */ li r5, 0 /* 80201F24 001FEE84 38 04 6B D0 */ addi r0, r4, lbl_803E6BD0@l /* 80201F28 001FEE88 90 C3 00 00 */ stw r6, 0(r3) /* 80201F2C 001FEE8C 98 BF 00 00 */ stb r5, 0(r31) /* 80201F30 001FEE90 80 9F 00 04 */ lwz r4, 4(r31) /* 80201F34 001FEE94 90 83 00 04 */ stw r4, 4(r3) /* 80201F38 001FEE98 90 03 00 00 */ stw r0, 0(r3) lbl_80201F3C: /* 80201F3C 001FEE9C 7C 03 00 D0 */ neg r0, r3 /* 80201F40 001FEEA0 7C 00 1B 78 */ or r0, r0, r3 /* 80201F44 001FEEA4 54 00 0F FE */ srwi r0, r0, 0x1f /* 80201F48 001FEEA8 98 1E 00 00 */ stb r0, 0(r30) /* 80201F4C 001FEEAC 90 7E 00 04 */ stw r3, 4(r30) /* 80201F50 001FEEB0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80201F54 001FEEB4 83 C1 00 08 */ lwz r30, 8(r1) /* 80201F58 001FEEB8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80201F5C 001FEEBC 7C 08 03 A6 */ mtlr r0 /* 80201F60 001FEEC0 38 21 00 10 */ addi r1, r1, 0x10 /* 80201F64 001FEEC4 4E 80 00 20 */ blr .global GetMapWorldDataByWorldId__12CMapUniverseFUi GetMapWorldDataByWorldId__12CMapUniverseFUi: /* 80201F68 001FEEC8 80 03 00 14 */ lwz r0, 0x14(r3) /* 80201F6C 001FEECC 38 C0 00 00 */ li r6, 0 /* 80201F70 001FEED0 7C 09 03 A6 */ mtctr r0 /* 80201F74 001FEED4 2C 00 00 00 */ cmpwi r0, 0 /* 80201F78 001FEED8 40 81 00 28 */ ble lbl_80201FA0 lbl_80201F7C: /* 80201F7C 001FEEDC 80 03 00 1C */ lwz r0, 0x1c(r3) /* 80201F80 001FEEE0 7C A0 32 14 */ add r5, r0, r6 /* 80201F84 001FEEE4 80 05 00 10 */ lwz r0, 0x10(r5) /* 80201F88 001FEEE8 7C 04 00 40 */ cmplw r4, r0 /* 80201F8C 001FEEEC 40 82 00 0C */ bne lbl_80201F98 /* 80201F90 001FEEF0 7C A3 2B 78 */ mr r3, r5 /* 80201F94 001FEEF4 4E 80 00 20 */ blr lbl_80201F98: /* 80201F98 001FEEF8 38 C6 00 70 */ addi r6, r6, 0x70 /* 80201F9C 001FEEFC 42 00 FF E0 */ bdnz lbl_80201F7C lbl_80201FA0: /* 80201FA0 001FEF00 80 63 00 1C */ lwz r3, 0x1c(r3) /* 80201FA4 001FEF04 4E 80 00 20 */ blr .global __ct__Q212CMapUniverse13CMapWorldDataFR12CInputStream __ct__Q212CMapUniverse13CMapWorldDataFR12CInputStream: /* 80201FA8 001FEF08 94 21 FF 70 */ stwu r1, -0x90(r1) /* 80201FAC 001FEF0C 7C 08 02 A6 */ mflr r0 /* 80201FB0 001FEF10 90 01 00 94 */ stw r0, 0x94(r1) /* 80201FB4 001FEF14 DB E1 00 80 */ stfd f31, 0x80(r1) /* 80201FB8 001FEF18 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 80201FBC 001FEF1C BF 61 00 6C */ stmw r27, 0x6c(r1) /* 80201FC0 001FEF20 7C BF 2B 78 */ mr r31, r5 /* 80201FC4 001FEF24 7C 7E 1B 78 */ mr r30, r3 /* 80201FC8 001FEF28 7C 9B 23 78 */ mr r27, r4 /* 80201FCC 001FEF2C 38 A1 00 0C */ addi r5, r1, 0xc /* 80201FD0 001FEF30 48 13 C3 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 80201FD4 001FEF34 7F 63 DB 78 */ mr r3, r27 /* 80201FD8 001FEF38 48 13 CC AD */ bl ReadLong__12CInputStreamFv /* 80201FDC 001FEF3C 90 7E 00 10 */ stw r3, 0x10(r30) /* 80201FE0 001FEF40 7F 64 DB 78 */ mr r4, r27 /* 80201FE4 001FEF44 38 7E 00 14 */ addi r3, r30, 0x14 /* 80201FE8 001FEF48 48 11 12 F5 */ bl __ct__12CTransform4fFR12CInputStream /* 80201FEC 001FEF4C 38 00 00 00 */ li r0, 0 /* 80201FF0 001FEF50 7F 63 DB 78 */ mr r3, r27 /* 80201FF4 001FEF54 90 1E 00 48 */ stw r0, 0x48(r30) /* 80201FF8 001FEF58 90 1E 00 4C */ stw r0, 0x4c(r30) /* 80201FFC 001FEF5C 90 1E 00 50 */ stw r0, 0x50(r30) /* 80202000 001FEF60 48 13 CC 85 */ bl ReadLong__12CInputStreamFv /* 80202004 001FEF64 7C 7C 1B 78 */ mr r28, r3 /* 80202008 001FEF68 38 7E 00 44 */ addi r3, r30, 0x44 /* 8020200C 001FEF6C 7F 84 E3 78 */ mr r4, r28 /* 80202010 001FEF70 48 00 11 51 */ bl sub_80203160 /* 80202014 001FEF74 3B A0 00 00 */ li r29, 0 /* 80202018 001FEF78 48 00 00 64 */ b lbl_8020207C lbl_8020201C: /* 8020201C 001FEF7C 7F 64 DB 78 */ mr r4, r27 /* 80202020 001FEF80 38 61 00 24 */ addi r3, r1, 0x24 /* 80202024 001FEF84 48 00 02 21 */ bl __ct__Q212CMapUniverse12CMapAreaDataFR12CInputStream /* 80202028 001FEF88 80 1E 00 48 */ lwz r0, 0x48(r30) /* 8020202C 001FEF8C 80 BE 00 4C */ lwz r5, 0x4c(r30) /* 80202030 001FEF90 7C 00 28 00 */ cmpw r0, r5 /* 80202034 001FEF94 41 80 00 1C */ blt lbl_80202050 /* 80202038 001FEF98 2C 05 00 00 */ cmpwi r5, 0 /* 8020203C 001FEF9C 38 7E 00 44 */ addi r3, r30, 0x44 /* 80202040 001FEFA0 38 80 00 04 */ li r4, 4 /* 80202044 001FEFA4 41 82 00 08 */ beq lbl_8020204C /* 80202048 001FEFA8 54 A4 08 3C */ slwi r4, r5, 1 lbl_8020204C: /* 8020204C 001FEFAC 48 00 11 15 */ bl sub_80203160 lbl_80202050: /* 80202050 001FEFB0 80 1E 00 48 */ lwz r0, 0x48(r30) /* 80202054 001FEFB4 80 7E 00 50 */ lwz r3, 0x50(r30) /* 80202058 001FEFB8 1C 00 00 30 */ mulli r0, r0, 0x30 /* 8020205C 001FEFBC 7C 63 02 15 */ add. r3, r3, r0 /* 80202060 001FEFC0 41 82 00 0C */ beq lbl_8020206C /* 80202064 001FEFC4 38 81 00 24 */ addi r4, r1, 0x24 /* 80202068 001FEFC8 48 11 0B 0D */ bl __ct__12CTransform4fFRC12CTransform4f lbl_8020206C: /* 8020206C 001FEFCC 80 7E 00 48 */ lwz r3, 0x48(r30) /* 80202070 001FEFD0 3B BD 00 01 */ addi r29, r29, 1 /* 80202074 001FEFD4 38 03 00 01 */ addi r0, r3, 1 /* 80202078 001FEFD8 90 1E 00 48 */ stw r0, 0x48(r30) lbl_8020207C: /* 8020207C 001FEFDC 7C 1D E0 00 */ cmpw r29, r28 /* 80202080 001FEFE0 41 80 FF 9C */ blt lbl_8020201C /* 80202084 001FEFE4 28 1F 00 00 */ cmplwi r31, 0 /* 80202088 001FEFE8 41 82 00 14 */ beq lbl_8020209C /* 8020208C 001FEFEC 7F 64 DB 78 */ mr r4, r27 /* 80202090 001FEFF0 38 61 00 20 */ addi r3, r1, 0x20 /* 80202094 001FEFF4 48 16 13 B9 */ bl __ct__6CColorFR12CInputStream /* 80202098 001FEFF8 48 00 00 10 */ b lbl_802020A8 lbl_8020209C: /* 8020209C 001FEFFC 38 00 00 00 */ li r0, 0 /* 802020A0 001FF000 38 61 00 1C */ addi r3, r1, 0x1c /* 802020A4 001FF004 90 01 00 1C */ stw r0, 0x1c(r1) lbl_802020A8: /* 802020A8 001FF008 80 A3 00 00 */ lwz r5, 0(r3) /* 802020AC 001FF00C 38 80 00 FF */ li r4, 0xff /* 802020B0 001FF010 38 00 00 00 */ li r0, 0 /* 802020B4 001FF014 3C 60 80 5A */ lis r3, skZero3f@ha /* 802020B8 001FF018 90 BE 00 54 */ stw r5, 0x54(r30) /* 802020BC 001FF01C 28 1F 00 00 */ cmplwi r31, 0 /* 802020C0 001FF020 98 9E 00 58 */ stb r4, 0x58(r30) /* 802020C4 001FF024 98 1E 00 59 */ stb r0, 0x59(r30) /* 802020C8 001FF028 98 9E 00 5A */ stb r4, 0x5a(r30) /* 802020CC 001FF02C 98 9E 00 5B */ stb r4, 0x5b(r30) /* 802020D0 001FF030 98 9E 00 5C */ stb r4, 0x5c(r30) /* 802020D4 001FF034 98 1E 00 5D */ stb r0, 0x5d(r30) /* 802020D8 001FF038 98 9E 00 5E */ stb r4, 0x5e(r30) /* 802020DC 001FF03C 98 9E 00 5F */ stb r4, 0x5f(r30) /* 802020E0 001FF040 98 9E 00 60 */ stb r4, 0x60(r30) /* 802020E4 001FF044 98 1E 00 61 */ stb r0, 0x61(r30) /* 802020E8 001FF048 98 9E 00 62 */ stb r4, 0x62(r30) /* 802020EC 001FF04C 98 9E 00 63 */ stb r4, 0x63(r30) /* 802020F0 001FF050 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 802020F4 001FF054 D0 1E 00 64 */ stfs f0, 0x64(r30) /* 802020F8 001FF058 C0 03 00 04 */ lfs f0, 4(r3) /* 802020FC 001FF05C D0 1E 00 68 */ stfs f0, 0x68(r30) /* 80202100 001FF060 C0 03 00 08 */ lfs f0, 8(r3) /* 80202104 001FF064 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 80202108 001FF068 40 82 00 1C */ bne lbl_80202124 /* 8020210C 001FF06C C3 E2 B0 48 */ lfs f31, lbl_805ACD68@sda21(r2) /* 80202110 001FF070 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80202114 001FF074 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 80202118 001FF078 88 01 00 08 */ lbz r0, 8(r1) /* 8020211C 001FF07C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80202120 001FF080 90 1E 00 54 */ stw r0, 0x54(r30) lbl_80202124: /* 80202124 001FF084 48 14 7E 89 */ bl White__6CColorFv /* 80202128 001FF088 C0 22 B0 4C */ lfs f1, lbl_805ACD6C@sda21(r2) /* 8020212C 001FF08C 7C 64 1B 78 */ mr r4, r3 /* 80202130 001FF090 38 61 00 18 */ addi r3, r1, 0x18 /* 80202134 001FF094 38 BE 00 54 */ addi r5, r30, 0x54 /* 80202138 001FF098 48 16 11 75 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8020213C 001FF09C 80 01 00 18 */ lwz r0, 0x18(r1) /* 80202140 001FF0A0 90 1E 00 58 */ stw r0, 0x58(r30) /* 80202144 001FF0A4 48 14 7E 71 */ bl Black__6CColorFv /* 80202148 001FF0A8 C0 22 B0 4C */ lfs f1, lbl_805ACD6C@sda21(r2) /* 8020214C 001FF0AC 7C 64 1B 78 */ mr r4, r3 /* 80202150 001FF0B0 38 61 00 14 */ addi r3, r1, 0x14 /* 80202154 001FF0B4 38 BE 00 54 */ addi r5, r30, 0x54 /* 80202158 001FF0B8 48 16 11 55 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8020215C 001FF0BC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202160 001FF0C0 90 1E 00 5C */ stw r0, 0x5c(r30) /* 80202164 001FF0C4 48 14 7E 49 */ bl White__6CColorFv /* 80202168 001FF0C8 C0 22 B0 4C */ lfs f1, lbl_805ACD6C@sda21(r2) /* 8020216C 001FF0CC 7C 64 1B 78 */ mr r4, r3 /* 80202170 001FF0D0 38 61 00 10 */ addi r3, r1, 0x10 /* 80202174 001FF0D4 38 BE 00 5C */ addi r5, r30, 0x5c /* 80202178 001FF0D8 48 16 11 35 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8020217C 001FF0DC 80 01 00 10 */ lwz r0, 0x10(r1) /* 80202180 001FF0E0 38 A0 00 00 */ li r5, 0 /* 80202184 001FF0E4 38 80 00 00 */ li r4, 0 /* 80202188 001FF0E8 90 1E 00 60 */ stw r0, 0x60(r30) /* 8020218C 001FF0EC 48 00 00 44 */ b lbl_802021D0 lbl_80202190: /* 80202190 001FF0F0 80 1E 00 50 */ lwz r0, 0x50(r30) /* 80202194 001FF0F4 38 A5 00 01 */ addi r5, r5, 1 /* 80202198 001FF0F8 C0 3E 00 64 */ lfs f1, 0x64(r30) /* 8020219C 001FF0FC 7C 60 22 14 */ add r3, r0, r4 /* 802021A0 001FF100 38 84 00 30 */ addi r4, r4, 0x30 /* 802021A4 001FF104 C0 03 00 0C */ lfs f0, 0xc(r3) /* 802021A8 001FF108 C0 43 00 2C */ lfs f2, 0x2c(r3) /* 802021AC 001FF10C EC 01 00 2A */ fadds f0, f1, f0 /* 802021B0 001FF110 C0 23 00 1C */ lfs f1, 0x1c(r3) /* 802021B4 001FF114 D0 1E 00 64 */ stfs f0, 0x64(r30) /* 802021B8 001FF118 C0 1E 00 68 */ lfs f0, 0x68(r30) /* 802021BC 001FF11C EC 00 08 2A */ fadds f0, f0, f1 /* 802021C0 001FF120 D0 1E 00 68 */ stfs f0, 0x68(r30) /* 802021C4 001FF124 C0 1E 00 6C */ lfs f0, 0x6c(r30) /* 802021C8 001FF128 EC 00 10 2A */ fadds f0, f0, f2 /* 802021CC 001FF12C D0 1E 00 6C */ stfs f0, 0x6c(r30) lbl_802021D0: /* 802021D0 001FF130 80 1E 00 48 */ lwz r0, 0x48(r30) /* 802021D4 001FF134 7C 05 00 00 */ cmpw r5, r0 /* 802021D8 001FF138 41 80 FF B8 */ blt lbl_80202190 /* 802021DC 001FF13C 6C 03 80 00 */ xoris r3, r0, 0x8000 /* 802021E0 001FF140 3C 00 43 30 */ lis r0, 0x4330 /* 802021E4 001FF144 90 61 00 5C */ stw r3, 0x5c(r1) /* 802021E8 001FF148 7F C3 F3 78 */ mr r3, r30 /* 802021EC 001FF14C C8 42 B0 58 */ lfd f2, lbl_805ACD78@sda21(r2) /* 802021F0 001FF150 90 01 00 58 */ stw r0, 0x58(r1) /* 802021F4 001FF154 C0 62 B0 50 */ lfs f3, lbl_805ACD70@sda21(r2) /* 802021F8 001FF158 C8 21 00 58 */ lfd f1, 0x58(r1) /* 802021FC 001FF15C C0 1E 00 64 */ lfs f0, 0x64(r30) /* 80202200 001FF160 EC 21 10 28 */ fsubs f1, f1, f2 /* 80202204 001FF164 EC 23 08 24 */ fdivs f1, f3, f1 /* 80202208 001FF168 EC 00 00 72 */ fmuls f0, f0, f1 /* 8020220C 001FF16C D0 1E 00 64 */ stfs f0, 0x64(r30) /* 80202210 001FF170 C0 1E 00 68 */ lfs f0, 0x68(r30) /* 80202214 001FF174 EC 00 00 72 */ fmuls f0, f0, f1 /* 80202218 001FF178 D0 1E 00 68 */ stfs f0, 0x68(r30) /* 8020221C 001FF17C C0 1E 00 6C */ lfs f0, 0x6c(r30) /* 80202220 001FF180 EC 00 00 72 */ fmuls f0, f0, f1 /* 80202224 001FF184 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 80202228 001FF188 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 8020222C 001FF18C CB E1 00 80 */ lfd f31, 0x80(r1) /* 80202230 001FF190 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 80202234 001FF194 80 01 00 94 */ lwz r0, 0x94(r1) /* 80202238 001FF198 7C 08 03 A6 */ mtlr r0 /* 8020223C 001FF19C 38 21 00 90 */ addi r1, r1, 0x90 /* 80202240 001FF1A0 4E 80 00 20 */ blr .global __ct__Q212CMapUniverse12CMapAreaDataFR12CInputStream __ct__Q212CMapUniverse12CMapAreaDataFR12CInputStream: /* 80202244 001FF1A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80202248 001FF1A8 7C 08 02 A6 */ mflr r0 /* 8020224C 001FF1AC 90 01 00 14 */ stw r0, 0x14(r1) /* 80202250 001FF1B0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80202254 001FF1B4 7C 7F 1B 78 */ mr r31, r3 /* 80202258 001FF1B8 48 11 10 85 */ bl __ct__12CTransform4fFR12CInputStream /* 8020225C 001FF1BC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202260 001FF1C0 7F E3 FB 78 */ mr r3, r31 /* 80202264 001FF1C4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80202268 001FF1C8 7C 08 03 A6 */ mtlr r0 /* 8020226C 001FF1CC 38 21 00 10 */ addi r1, r1, 0x10 /* 80202270 001FF1D0 4E 80 00 20 */ blr .global Draw__12CMapUniverseCFRCQ212CMapUniverse21CMapUniverseDrawParmsRC9CVector3fff Draw__12CMapUniverseCFRCQ212CMapUniverse21CMapUniverseDrawParmsRC9CVector3fff: /* 80202274 001FF1D4 94 21 FD A0 */ stwu r1, -0x260(r1) /* 80202278 001FF1D8 7C 08 02 A6 */ mflr r0 /* 8020227C 001FF1DC 90 01 02 64 */ stw r0, 0x264(r1) /* 80202280 001FF1E0 DB E1 02 50 */ stfd f31, 0x250(r1) /* 80202284 001FF1E4 F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 /* 80202288 001FF1E8 DB C1 02 40 */ stfd f30, 0x240(r1) /* 8020228C 001FF1EC F3 C1 02 48 */ psq_st f30, 584(r1), 0, qr0 /* 80202290 001FF1F0 DB A1 02 30 */ stfd f29, 0x230(r1) /* 80202294 001FF1F4 F3 A1 02 38 */ psq_st f29, 568(r1), 0, qr0 /* 80202298 001FF1F8 DB 81 02 20 */ stfd f28, 0x220(r1) /* 8020229C 001FF1FC F3 81 02 28 */ psq_st f28, 552(r1), 0, qr0 /* 802022A0 001FF200 DB 61 02 10 */ stfd f27, 0x210(r1) /* 802022A4 001FF204 F3 61 02 18 */ psq_st f27, 536(r1), 0, qr0 /* 802022A8 001FF208 BE 21 01 D4 */ stmw r17, 0x1d4(r1) /* 802022AC 001FF20C 7C 7C 1B 78 */ mr r28, r3 /* 802022B0 001FF210 7C 9D 23 78 */ mr r29, r4 /* 802022B4 001FF214 80 03 00 0C */ lwz r0, 0xc(r3) /* 802022B8 001FF218 28 00 00 00 */ cmplwi r0, 0 /* 802022BC 001FF21C 41 82 00 0C */ beq lbl_802022C8 /* 802022C0 001FF220 38 60 00 01 */ li r3, 1 /* 802022C4 001FF224 48 00 00 3C */ b lbl_80202300 lbl_802022C8: /* 802022C8 001FF228 88 1C 00 08 */ lbz r0, 8(r28) /* 802022CC 001FF22C 28 00 00 00 */ cmplwi r0, 0 /* 802022D0 001FF230 41 82 00 2C */ beq lbl_802022FC /* 802022D4 001FF234 80 7C 00 04 */ lwz r3, 4(r28) /* 802022D8 001FF238 80 03 00 10 */ lwz r0, 0x10(r3) /* 802022DC 001FF23C 28 00 00 00 */ cmplwi r0, 0 /* 802022E0 001FF240 41 82 00 1C */ beq lbl_802022FC /* 802022E4 001FF244 38 7C 00 04 */ addi r3, r28, 4 /* 802022E8 001FF248 48 13 EB 25 */ bl GetObj__6CTokenFv /* 802022EC 001FF24C 80 03 00 04 */ lwz r0, 4(r3) /* 802022F0 001FF250 38 60 00 01 */ li r3, 1 /* 802022F4 001FF254 90 1C 00 0C */ stw r0, 0xc(r28) /* 802022F8 001FF258 48 00 00 08 */ b lbl_80202300 lbl_802022FC: /* 802022FC 001FF25C 38 60 00 00 */ li r3, 0 lbl_80202300: /* 80202300 001FF260 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80202304 001FF264 41 82 06 74 */ beq lbl_80202978 /* 80202308 001FF268 80 7C 00 14 */ lwz r3, 0x14(r28) /* 8020230C 001FF26C 38 80 00 00 */ li r4, 0 /* 80202310 001FF270 80 DC 00 0C */ lwz r6, 0xc(r28) /* 80202314 001FF274 38 A0 00 00 */ li r5, 0 /* 80202318 001FF278 2C 03 00 00 */ cmpwi r3, 0 /* 8020231C 001FF27C 80 06 00 30 */ lwz r0, 0x30(r6) /* 80202320 001FF280 40 81 00 CC */ ble lbl_802023EC /* 80202324 001FF284 2C 03 00 08 */ cmpwi r3, 8 /* 80202328 001FF288 38 E3 FF F8 */ addi r7, r3, -8 /* 8020232C 001FF28C 40 81 00 90 */ ble lbl_802023BC /* 80202330 001FF290 38 C7 00 07 */ addi r6, r7, 7 /* 80202334 001FF294 3A 20 00 00 */ li r17, 0 /* 80202338 001FF298 54 C6 E8 FE */ srwi r6, r6, 3 /* 8020233C 001FF29C 7C C9 03 A6 */ mtctr r6 /* 80202340 001FF2A0 2C 07 00 00 */ cmpwi r7, 0 /* 80202344 001FF2A4 40 81 00 78 */ ble lbl_802023BC lbl_80202348: /* 80202348 001FF2A8 80 DC 00 1C */ lwz r6, 0x1c(r28) /* 8020234C 001FF2AC 38 A5 00 08 */ addi r5, r5, 8 /* 80202350 001FF2B0 7E 66 8A 14 */ add r19, r6, r17 /* 80202354 001FF2B4 3A 31 03 80 */ addi r17, r17, 0x380 /* 80202358 001FF2B8 80 D3 00 48 */ lwz r6, 0x48(r19) /* 8020235C 001FF2BC 81 93 00 B8 */ lwz r12, 0xb8(r19) /* 80202360 001FF2C0 7E 40 31 D6 */ mullw r18, r0, r6 /* 80202364 001FF2C4 81 73 01 28 */ lwz r11, 0x128(r19) /* 80202368 001FF2C8 81 53 01 98 */ lwz r10, 0x198(r19) /* 8020236C 001FF2CC 81 33 02 08 */ lwz r9, 0x208(r19) /* 80202370 001FF2D0 81 13 02 78 */ lwz r8, 0x278(r19) /* 80202374 001FF2D4 80 F3 02 E8 */ lwz r7, 0x2e8(r19) /* 80202378 001FF2D8 80 D3 03 58 */ lwz r6, 0x358(r19) /* 8020237C 001FF2DC 7D 80 61 D6 */ mullw r12, r0, r12 /* 80202380 001FF2E0 7C 84 92 14 */ add r4, r4, r18 /* 80202384 001FF2E4 7D 60 59 D6 */ mullw r11, r0, r11 /* 80202388 001FF2E8 7C 84 62 14 */ add r4, r4, r12 /* 8020238C 001FF2EC 7D 40 51 D6 */ mullw r10, r0, r10 /* 80202390 001FF2F0 7C 84 5A 14 */ add r4, r4, r11 /* 80202394 001FF2F4 7D 20 49 D6 */ mullw r9, r0, r9 /* 80202398 001FF2F8 7C 84 52 14 */ add r4, r4, r10 /* 8020239C 001FF2FC 7D 00 41 D6 */ mullw r8, r0, r8 /* 802023A0 001FF300 7C 84 4A 14 */ add r4, r4, r9 /* 802023A4 001FF304 7C E0 39 D6 */ mullw r7, r0, r7 /* 802023A8 001FF308 7C 84 42 14 */ add r4, r4, r8 /* 802023AC 001FF30C 7C C0 31 D6 */ mullw r6, r0, r6 /* 802023B0 001FF310 7C 84 3A 14 */ add r4, r4, r7 /* 802023B4 001FF314 7C 84 32 14 */ add r4, r4, r6 /* 802023B8 001FF318 42 00 FF 90 */ bdnz lbl_80202348 lbl_802023BC: /* 802023BC 001FF31C 7C C5 18 50 */ subf r6, r5, r3 /* 802023C0 001FF320 1C E5 00 70 */ mulli r7, r5, 0x70 /* 802023C4 001FF324 7C C9 03 A6 */ mtctr r6 /* 802023C8 001FF328 7C 05 18 00 */ cmpw r5, r3 /* 802023CC 001FF32C 40 80 00 20 */ bge lbl_802023EC lbl_802023D0: /* 802023D0 001FF330 80 BC 00 1C */ lwz r5, 0x1c(r28) /* 802023D4 001FF334 38 67 00 48 */ addi r3, r7, 0x48 /* 802023D8 001FF338 38 E7 00 70 */ addi r7, r7, 0x70 /* 802023DC 001FF33C 7C 65 18 2E */ lwzx r3, r5, r3 /* 802023E0 001FF340 7C 60 19 D6 */ mullw r3, r0, r3 /* 802023E4 001FF344 7C 84 1A 14 */ add r4, r4, r3 /* 802023E8 001FF348 42 00 FF E8 */ bdnz lbl_802023D0 lbl_802023EC: /* 802023EC 001FF34C 38 00 00 00 */ li r0, 0 /* 802023F0 001FF350 38 61 00 AC */ addi r3, r1, 0xac /* 802023F4 001FF354 90 01 00 B0 */ stw r0, 0xb0(r1) /* 802023F8 001FF358 90 01 00 B4 */ stw r0, 0xb4(r1) /* 802023FC 001FF35C 90 01 00 B8 */ stw r0, 0xb8(r1) /* 80202400 001FF360 48 00 0F C9 */ bl sub_802033c8 /* 80202404 001FF364 C3 7D 00 00 */ lfs f27, 0(r29) /* 80202408 001FF368 3B C0 00 00 */ li r30, 0 /* 8020240C 001FF36C 83 3D 00 18 */ lwz r25, 0x18(r29) /* 80202410 001FF370 3B E0 00 00 */ li r31, 0 /* 80202414 001FF374 83 1D 00 1C */ lwz r24, 0x1c(r29) /* 80202418 001FF378 82 FC 00 0C */ lwz r23, 0xc(r28) /* 8020241C 001FF37C 48 00 02 98 */ b lbl_802026B4 lbl_80202420: /* 80202420 001FF380 80 1C 00 1C */ lwz r0, 0x1c(r28) /* 80202424 001FF384 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80202428 001FF388 7E C0 FA 14 */ add r22, r0, r31 /* 8020242C 001FF38C 80 96 00 10 */ lwz r4, 0x10(r22) /* 80202430 001FF390 4B FD 15 A9 */ bl StateForWorld__10CGameStateFUi /* 80202434 001FF394 7C 64 1B 78 */ mr r4, r3 /* 80202438 001FF398 38 61 00 5C */ addi r3, r1, 0x5c /* 8020243C 001FF39C 4B FD 29 29 */ bl GetMapWorldInfo__11CWorldStateCFv /* 80202440 001FF3A0 80 61 00 5C */ lwz r3, 0x5c(r1) /* 80202444 001FF3A4 80 63 00 00 */ lwz r3, 0(r3) /* 80202448 001FF3A8 4B F6 57 CD */ bl IsAnythingSet__13CMapWorldInfoFv /* 8020244C 001FF3AC 7C 72 1B 78 */ mr r18, r3 /* 80202450 001FF3B0 38 61 00 5C */ addi r3, r1, 0x5c /* 80202454 001FF3B4 4B E0 67 E9 */ bl sub_80008c3c /* 80202458 001FF3B8 56 40 06 3F */ clrlwi. r0, r18, 0x18 /* 8020245C 001FF3BC 41 82 02 50 */ beq lbl_802026AC /* 80202460 001FF3C0 80 1D 00 04 */ lwz r0, 4(r29) /* 80202464 001FF3C4 7C 1E 00 50 */ subf r0, r30, r0 /* 80202468 001FF3C8 7C 03 00 34 */ cntlzw r3, r0 /* 8020246C 001FF3CC 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f /* 80202470 001FF3D0 54 64 D9 7E */ srwi r4, r3, 5 /* 80202474 001FF3D4 41 82 00 40 */ beq lbl_802024B4 /* 80202478 001FF3D8 88 76 00 57 */ lbz r3, 0x57(r22) /* 8020247C 001FF3DC 3C 00 43 30 */ lis r0, 0x4330 /* 80202480 001FF3E0 90 01 01 C8 */ stw r0, 0x1c8(r1) /* 80202484 001FF3E4 C8 22 B0 68 */ lfd f1, lbl_805ACD88@sda21(r2) /* 80202488 001FF3E8 90 61 01 CC */ stw r3, 0x1cc(r1) /* 8020248C 001FF3EC C8 01 01 C8 */ lfd f0, 0x1c8(r1) /* 80202490 001FF3F0 EC 00 08 28 */ fsubs f0, f0, f1 /* 80202494 001FF3F4 EF FB 00 32 */ fmuls f31, f27, f0 /* 80202498 001FF3F8 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 /* 8020249C 001FF3FC 3B 61 00 58 */ addi r27, r1, 0x58 /* 802024A0 001FF400 80 76 00 54 */ lwz r3, 0x54(r22) /* 802024A4 001FF404 88 01 00 0B */ lbz r0, 0xb(r1) /* 802024A8 001FF408 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 802024AC 001FF40C 90 01 00 58 */ stw r0, 0x58(r1) /* 802024B0 001FF410 48 00 00 3C */ b lbl_802024EC lbl_802024B4: /* 802024B4 001FF414 88 76 00 5F */ lbz r3, 0x5f(r22) /* 802024B8 001FF418 3C 00 43 30 */ lis r0, 0x4330 /* 802024BC 001FF41C 90 01 01 C8 */ stw r0, 0x1c8(r1) /* 802024C0 001FF420 C8 22 B0 68 */ lfd f1, lbl_805ACD88@sda21(r2) /* 802024C4 001FF424 90 61 01 CC */ stw r3, 0x1cc(r1) /* 802024C8 001FF428 C8 01 01 C8 */ lfd f0, 0x1c8(r1) /* 802024CC 001FF42C EC 00 08 28 */ fsubs f0, f0, f1 /* 802024D0 001FF430 EF DB 00 32 */ fmuls f30, f27, f0 /* 802024D4 001FF434 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 /* 802024D8 001FF438 3B 61 00 54 */ addi r27, r1, 0x54 /* 802024DC 001FF43C 80 76 00 5C */ lwz r3, 0x5c(r22) /* 802024E0 001FF440 88 01 00 0A */ lbz r0, 0xa(r1) /* 802024E4 001FF444 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 802024E8 001FF448 90 01 00 54 */ stw r0, 0x54(r1) lbl_802024EC: /* 802024EC 001FF44C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802024F0 001FF450 41 82 00 40 */ beq lbl_80202530 /* 802024F4 001FF454 88 76 00 5B */ lbz r3, 0x5b(r22) /* 802024F8 001FF458 3C 00 43 30 */ lis r0, 0x4330 /* 802024FC 001FF45C 90 01 01 C8 */ stw r0, 0x1c8(r1) /* 80202500 001FF460 C8 22 B0 68 */ lfd f1, lbl_805ACD88@sda21(r2) /* 80202504 001FF464 90 61 01 CC */ stw r3, 0x1cc(r1) /* 80202508 001FF468 C8 01 01 C8 */ lfd f0, 0x1c8(r1) /* 8020250C 001FF46C EC 00 08 28 */ fsubs f0, f0, f1 /* 80202510 001FF470 EF BB 00 32 */ fmuls f29, f27, f0 /* 80202514 001FF474 F3 A1 A0 09 */ psq_st f29, 9(r1), 1, qr2 /* 80202518 001FF478 3B 41 00 50 */ addi r26, r1, 0x50 /* 8020251C 001FF47C 80 76 00 58 */ lwz r3, 0x58(r22) /* 80202520 001FF480 88 01 00 09 */ lbz r0, 9(r1) /* 80202524 001FF484 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80202528 001FF488 90 01 00 50 */ stw r0, 0x50(r1) /* 8020252C 001FF48C 48 00 00 3C */ b lbl_80202568 lbl_80202530: /* 80202530 001FF490 88 76 00 5F */ lbz r3, 0x5f(r22) /* 80202534 001FF494 3C 00 43 30 */ lis r0, 0x4330 /* 80202538 001FF498 90 01 01 C8 */ stw r0, 0x1c8(r1) /* 8020253C 001FF49C C8 22 B0 68 */ lfd f1, lbl_805ACD88@sda21(r2) /* 80202540 001FF4A0 90 61 01 CC */ stw r3, 0x1cc(r1) /* 80202544 001FF4A4 C8 01 01 C8 */ lfd f0, 0x1c8(r1) /* 80202548 001FF4A8 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020254C 001FF4AC EF 9B 00 32 */ fmuls f28, f27, f0 /* 80202550 001FF4B0 F3 81 A0 08 */ psq_st f28, 8(r1), 1, qr2 /* 80202554 001FF4B4 3B 41 00 4C */ addi r26, r1, 0x4c /* 80202558 001FF4B8 80 76 00 5C */ lwz r3, 0x5c(r22) /* 8020255C 001FF4BC 88 01 00 08 */ lbz r0, 8(r1) /* 80202560 001FF4C0 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80202564 001FF4C4 90 01 00 4C */ stw r0, 0x4c(r1) lbl_80202568: /* 80202568 001FF4C8 3A 80 00 00 */ li r20, 0 /* 8020256C 001FF4CC 3A 60 00 00 */ li r19, 0 /* 80202570 001FF4D0 48 00 01 30 */ b lbl_802026A0 lbl_80202574: /* 80202574 001FF4D4 7F 04 C3 78 */ mr r4, r24 /* 80202578 001FF4D8 38 61 01 04 */ addi r3, r1, 0x104 /* 8020257C 001FF4DC 48 11 07 21 */ bl GetQuickInverse__12CTransform4fCFv /* 80202580 001FF4E0 80 16 00 50 */ lwz r0, 0x50(r22) /* 80202584 001FF4E4 38 61 01 34 */ addi r3, r1, 0x134 /* 80202588 001FF4E8 38 81 01 04 */ addi r4, r1, 0x104 /* 8020258C 001FF4EC 7C A0 9A 14 */ add r5, r0, r19 /* 80202590 001FF4F0 48 11 03 C1 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80202594 001FF4F4 38 61 01 94 */ addi r3, r1, 0x194 /* 80202598 001FF4F8 38 81 01 34 */ addi r4, r1, 0x134 /* 8020259C 001FF4FC 48 11 05 D9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802025A0 001FF500 3A 40 00 00 */ li r18, 0 /* 802025A4 001FF504 3A A0 00 00 */ li r21, 0 /* 802025A8 001FF508 48 00 00 E4 */ b lbl_8020268C lbl_802025AC: /* 802025AC 001FF50C 80 17 00 40 */ lwz r0, 0x40(r23) /* 802025B0 001FF510 38 61 00 94 */ addi r3, r1, 0x94 /* 802025B4 001FF514 38 81 01 94 */ addi r4, r1, 0x194 /* 802025B8 001FF518 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 802025BC 001FF51C 7C C0 AA 14 */ add r6, r0, r21 /* 802025C0 001FF520 C0 26 00 10 */ lfs f1, 0x10(r6) /* 802025C4 001FF524 C0 46 00 14 */ lfs f2, 0x14(r6) /* 802025C8 001FF528 C0 06 00 0C */ lfs f0, 0xc(r6) /* 802025CC 001FF52C D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 802025D0 001FF530 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 802025D4 001FF534 D0 41 00 A8 */ stfs f2, 0xa8(r1) /* 802025D8 001FF538 48 11 05 11 */ bl __ml__12CTransform4fCFRC9CVector3f /* 802025DC 001FF53C 80 1A 00 00 */ lwz r0, 0(r26) /* 802025E0 001FF540 7F C4 F3 78 */ mr r4, r30 /* 802025E4 001FF544 C0 21 00 98 */ lfs f1, 0x98(r1) /* 802025E8 001FF548 7E 85 A3 78 */ mr r5, r20 /* 802025EC 001FF54C 90 01 00 44 */ stw r0, 0x44(r1) /* 802025F0 001FF550 7E 46 93 78 */ mr r6, r18 /* 802025F4 001FF554 38 61 00 BC */ addi r3, r1, 0xbc /* 802025F8 001FF558 38 E1 00 48 */ addi r7, r1, 0x48 /* 802025FC 001FF55C 80 1B 00 00 */ lwz r0, 0(r27) /* 80202600 001FF560 39 01 00 44 */ addi r8, r1, 0x44 /* 80202604 001FF564 90 01 00 48 */ stw r0, 0x48(r1) /* 80202608 001FF568 48 00 08 ED */ bl __ct__Q212CMapUniverse18CMapObjectSortInfoFfiii6CColor6CColor /* 8020260C 001FF56C 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 80202610 001FF570 80 A1 00 B4 */ lwz r5, 0xb4(r1) /* 80202614 001FF574 7C 00 28 00 */ cmpw r0, r5 /* 80202618 001FF578 41 80 00 1C */ blt lbl_80202634 /* 8020261C 001FF57C 2C 05 00 00 */ cmpwi r5, 0 /* 80202620 001FF580 38 61 00 AC */ addi r3, r1, 0xac /* 80202624 001FF584 38 80 00 04 */ li r4, 4 /* 80202628 001FF588 41 82 00 08 */ beq lbl_80202630 /* 8020262C 001FF58C 54 A4 08 3C */ slwi r4, r5, 1 lbl_80202630: /* 80202630 001FF590 48 00 0D 99 */ bl sub_802033c8 lbl_80202634: /* 80202634 001FF594 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 80202638 001FF598 80 61 00 B8 */ lwz r3, 0xb8(r1) /* 8020263C 001FF59C 1C 00 00 18 */ mulli r0, r0, 0x18 /* 80202640 001FF5A0 7C 63 02 15 */ add. r3, r3, r0 /* 80202644 001FF5A4 41 82 00 34 */ beq lbl_80202678 /* 80202648 001FF5A8 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 8020264C 001FF5AC D0 03 00 00 */ stfs f0, 0(r3) /* 80202650 001FF5B0 80 01 00 C0 */ lwz r0, 0xc0(r1) /* 80202654 001FF5B4 90 03 00 04 */ stw r0, 4(r3) /* 80202658 001FF5B8 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8020265C 001FF5BC 90 03 00 08 */ stw r0, 8(r3) /* 80202660 001FF5C0 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 80202664 001FF5C4 90 03 00 0C */ stw r0, 0xc(r3) /* 80202668 001FF5C8 80 01 00 CC */ lwz r0, 0xcc(r1) /* 8020266C 001FF5CC 90 03 00 10 */ stw r0, 0x10(r3) /* 80202670 001FF5D0 80 01 00 D0 */ lwz r0, 0xd0(r1) /* 80202674 001FF5D4 90 03 00 14 */ stw r0, 0x14(r3) lbl_80202678: /* 80202678 001FF5D8 80 61 00 B0 */ lwz r3, 0xb0(r1) /* 8020267C 001FF5DC 3A B5 00 20 */ addi r21, r21, 0x20 /* 80202680 001FF5E0 3A 52 00 01 */ addi r18, r18, 1 /* 80202684 001FF5E4 38 03 00 01 */ addi r0, r3, 1 /* 80202688 001FF5E8 90 01 00 B0 */ stw r0, 0xb0(r1) lbl_8020268C: /* 8020268C 001FF5EC 80 17 00 30 */ lwz r0, 0x30(r23) /* 80202690 001FF5F0 7C 12 00 00 */ cmpw r18, r0 /* 80202694 001FF5F4 41 80 FF 18 */ blt lbl_802025AC /* 80202698 001FF5F8 3A 73 00 30 */ addi r19, r19, 0x30 /* 8020269C 001FF5FC 3A 94 00 01 */ addi r20, r20, 1 lbl_802026A0: /* 802026A0 001FF600 80 16 00 48 */ lwz r0, 0x48(r22) /* 802026A4 001FF604 7C 14 00 00 */ cmpw r20, r0 /* 802026A8 001FF608 41 80 FE CC */ blt lbl_80202574 lbl_802026AC: /* 802026AC 001FF60C 3B FF 00 70 */ addi r31, r31, 0x70 /* 802026B0 001FF610 3B DE 00 01 */ addi r30, r30, 1 lbl_802026B4: /* 802026B4 001FF614 80 1C 00 14 */ lwz r0, 0x14(r28) /* 802026B8 001FF618 7C 1E 00 00 */ cmpw r30, r0 /* 802026BC 001FF61C 41 80 FD 64 */ blt lbl_80202420 /* 802026C0 001FF620 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 802026C4 001FF624 2C 00 00 00 */ cmpwi r0, 0 /* 802026C8 001FF628 40 81 02 70 */ ble lbl_80202938 /* 802026CC 001FF62C 1C 00 00 18 */ mulli r0, r0, 0x18 /* 802026D0 001FF630 80 C1 00 B8 */ lwz r6, 0xb8(r1) /* 802026D4 001FF634 88 A1 00 0C */ lbz r5, 0xc(r1) /* 802026D8 001FF638 38 61 00 40 */ addi r3, r1, 0x40 /* 802026DC 001FF63C 90 C1 00 3C */ stw r6, 0x3c(r1) /* 802026E0 001FF640 38 81 00 38 */ addi r4, r1, 0x38 /* 802026E4 001FF644 7C 06 02 14 */ add r0, r6, r0 /* 802026E8 001FF648 98 A1 00 10 */ stb r5, 0x10(r1) /* 802026EC 001FF64C 38 A1 00 10 */ addi r5, r1, 0x10 /* 802026F0 001FF650 90 01 00 34 */ stw r0, 0x34(r1) /* 802026F4 001FF654 90 01 00 38 */ stw r0, 0x38(r1) /* 802026F8 001FF658 90 C1 00 40 */ stw r6, 0x40(r1) /* 802026FC 001FF65C 48 00 08 1D */ bl sub_80202f18 /* 80202700 001FF660 4B E7 DE 71 */ bl SetupGXMaterial__Q28CMapArea15CMapAreaSurfaceFv /* 80202704 001FF664 C3 A2 B0 60 */ lfs f29, lbl_805ACD80@sda21(r2) /* 80202708 001FF668 3A 40 FF FF */ li r18, -1 /* 8020270C 001FF66C 3A 80 FF FF */ li r20, -1 /* 80202710 001FF670 3A A0 00 00 */ li r21, 0 /* 80202714 001FF674 3A 60 00 00 */ li r19, 0 /* 80202718 001FF678 48 00 02 14 */ b lbl_8020292C lbl_8020271C: /* 8020271C 001FF67C 81 01 00 B8 */ lwz r8, 0xb8(r1) /* 80202720 001FF680 38 F3 00 14 */ addi r7, r19, 0x14 /* 80202724 001FF684 80 BC 00 1C */ lwz r5, 0x1c(r28) /* 80202728 001FF688 7C C8 9A 14 */ add r6, r8, r19 /* 8020272C 001FF68C 80 7D 00 08 */ lwz r3, 8(r29) /* 80202730 001FF690 82 C6 00 04 */ lwz r22, 4(r6) /* 80202734 001FF694 83 46 00 08 */ lwz r26, 8(r6) /* 80202738 001FF698 80 86 00 0C */ lwz r4, 0xc(r6) /* 8020273C 001FF69C 1C 16 00 70 */ mulli r0, r22, 0x70 /* 80202740 001FF6A0 80 C6 00 10 */ lwz r6, 0x10(r6) /* 80202744 001FF6A4 54 84 28 34 */ slwi r4, r4, 5 /* 80202748 001FF6A8 90 C1 00 6C */ stw r6, 0x6c(r1) /* 8020274C 001FF6AC 7C A5 02 14 */ add r5, r5, r0 /* 80202750 001FF6B0 1C DA 00 30 */ mulli r6, r26, 0x30 /* 80202754 001FF6B4 7C 08 38 2E */ lwzx r0, r8, r7 /* 80202758 001FF6B8 90 01 00 68 */ stw r0, 0x68(r1) /* 8020275C 001FF6BC 80 05 00 10 */ lwz r0, 0x10(r5) /* 80202760 001FF6C0 80 E5 00 50 */ lwz r7, 0x50(r5) /* 80202764 001FF6C4 80 B7 00 40 */ lwz r5, 0x40(r23) /* 80202768 001FF6C8 7C 03 00 40 */ cmplw r3, r0 /* 8020276C 001FF6CC 7F 67 32 14 */ add r27, r7, r6 /* 80202770 001FF6D0 7F C5 22 14 */ add r30, r5, r4 /* 80202774 001FF6D4 40 82 00 60 */ bne lbl_802027D4 /* 80202778 001FF6D8 80 1D 00 0C */ lwz r0, 0xc(r29) /* 8020277C 001FF6DC 7C 1A 00 00 */ cmpw r26, r0 /* 80202780 001FF6E0 40 82 00 54 */ bne lbl_802027D4 /* 80202784 001FF6E4 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) /* 80202788 001FF6E8 38 61 00 30 */ addi r3, r1, 0x30 /* 8020278C 001FF6EC 8B E1 00 6F */ lbz r31, 0x6f(r1) /* 80202790 001FF6F0 8A 21 00 6B */ lbz r17, 0x6b(r1) /* 80202794 001FF6F4 38 85 00 4C */ addi r4, r5, 0x4c /* 80202798 001FF6F8 C0 3D 00 10 */ lfs f1, 0x10(r29) /* 8020279C 001FF6FC 38 A5 00 F4 */ addi r5, r5, 0xf4 /* 802027A0 001FF700 48 16 0B 0D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 802027A4 001FF704 80 01 00 30 */ lwz r0, 0x30(r1) /* 802027A8 001FF708 38 61 00 2C */ addi r3, r1, 0x2c /* 802027AC 001FF70C 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) /* 802027B0 001FF710 90 01 00 6C */ stw r0, 0x6c(r1) /* 802027B4 001FF714 C0 3D 00 10 */ lfs f1, 0x10(r29) /* 802027B8 001FF718 38 85 00 50 */ addi r4, r5, 0x50 /* 802027BC 001FF71C 38 A5 00 F4 */ addi r5, r5, 0xf4 /* 802027C0 001FF720 48 16 0A ED */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 802027C4 001FF724 80 01 00 2C */ lwz r0, 0x2c(r1) /* 802027C8 001FF728 9B E1 00 6F */ stb r31, 0x6f(r1) /* 802027CC 001FF72C 90 01 00 68 */ stw r0, 0x68(r1) /* 802027D0 001FF730 9A 21 00 6B */ stb r17, 0x6b(r1) lbl_802027D4: /* 802027D4 001FF734 7F 64 DB 78 */ mr r4, r27 /* 802027D8 001FF738 38 61 01 64 */ addi r3, r1, 0x164 /* 802027DC 001FF73C 48 11 03 99 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802027E0 001FF740 38 61 01 64 */ addi r3, r1, 0x164 /* 802027E4 001FF744 48 11 0B C1 */ bl Orthonormalize__12CTransform4fFv /* 802027E8 001FF748 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) /* 802027EC 001FF74C 38 61 00 7C */ addi r3, r1, 0x7c /* 802027F0 001FF750 C0 1E 00 00 */ lfs f0, 0(r30) /* 802027F4 001FF754 38 81 01 64 */ addi r4, r1, 0x164 /* 802027F8 001FF758 C3 66 00 54 */ lfs f27, 0x54(r6) /* 802027FC 001FF75C 38 A1 00 70 */ addi r5, r1, 0x70 /* 80202800 001FF760 C3 86 00 58 */ lfs f28, 0x58(r6) /* 80202804 001FF764 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80202808 001FF768 C0 1E 00 04 */ lfs f0, 4(r30) /* 8020280C 001FF76C D0 01 00 74 */ stfs f0, 0x74(r1) /* 80202810 001FF770 C0 1E 00 08 */ lfs f0, 8(r30) /* 80202814 001FF774 D0 01 00 78 */ stfs f0, 0x78(r1) /* 80202818 001FF778 48 11 02 69 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 8020281C 001FF77C C0 18 00 14 */ lfs f0, 0x14(r24) /* 80202820 001FF780 C0 38 00 04 */ lfs f1, 4(r24) /* 80202824 001FF784 EC DD 00 32 */ fmuls f6, f29, f0 /* 80202828 001FF788 C0 01 00 80 */ lfs f0, 0x80(r1) /* 8020282C 001FF78C EC 9D 00 72 */ fmuls f4, f29, f1 /* 80202830 001FF790 C0 78 00 24 */ lfs f3, 0x24(r24) /* 80202834 001FF794 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 80202838 001FF798 EC 26 00 32 */ fmuls f1, f6, f0 /* 8020283C 001FF79C EC BD 00 F2 */ fmuls f5, f29, f3 /* 80202840 001FF7A0 C0 61 00 84 */ lfs f3, 0x84(r1) /* 80202844 001FF7A4 C0 0D 93 48 */ lfs f0, lbl_805A7F08@sda21(r13) /* 80202848 001FF7A8 EC 24 08 BA */ fmadds f1, f4, f2, f1 /* 8020284C 001FF7AC D0 81 00 88 */ stfs f4, 0x88(r1) /* 80202850 001FF7B0 D0 C1 00 8C */ stfs f6, 0x8c(r1) /* 80202854 001FF7B4 EC 25 08 FA */ fmadds f1, f5, f3, f1 /* 80202858 001FF7B8 D0 A1 00 90 */ stfs f5, 0x90(r1) /* 8020285C 001FF7BC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80202860 001FF7C0 D0 21 00 28 */ stfs f1, 0x28(r1) /* 80202864 001FF7C4 40 80 00 0C */ bge lbl_80202870 /* 80202868 001FF7C8 38 61 00 28 */ addi r3, r1, 0x28 /* 8020286C 001FF7CC 48 00 00 08 */ b lbl_80202874 lbl_80202870: /* 80202870 001FF7D0 38 6D 93 48 */ addi r3, r13, lbl_805A7F08@sda21 lbl_80202874: /* 80202874 001FF7D4 C0 03 00 00 */ lfs f0, 0(r3) /* 80202878 001FF7D8 38 61 00 64 */ addi r3, r1, 0x64 /* 8020287C 001FF7DC C0 82 B0 50 */ lfs f4, lbl_805ACD70@sda21(r2) /* 80202880 001FF7E0 EC 1B 00 32 */ fmuls f0, f27, f0 /* 80202884 001FF7E4 EC 3C 00 2A */ fadds f1, f28, f0 /* 80202888 001FF7E8 FC 40 08 90 */ fmr f2, f1 /* 8020288C 001FF7EC FC 60 08 90 */ fmr f3, f1 /* 80202890 001FF7F0 48 16 0B 5D */ bl __ct__6CColorFffff /* 80202894 001FF7F4 38 61 00 24 */ addi r3, r1, 0x24 /* 80202898 001FF7F8 38 81 00 6C */ addi r4, r1, 0x6c /* 8020289C 001FF7FC 38 A1 00 64 */ addi r5, r1, 0x64 /* 802028A0 001FF800 48 16 08 D9 */ bl Modulate__6CColorFRC6CColorRC6CColor /* 802028A4 001FF804 80 01 00 24 */ lwz r0, 0x24(r1) /* 802028A8 001FF808 7C 14 D0 00 */ cmpw r20, r26 /* 802028AC 001FF80C 3A 80 00 00 */ li r20, 0 /* 802028B0 001FF810 90 01 00 60 */ stw r0, 0x60(r1) /* 802028B4 001FF814 40 82 00 0C */ bne lbl_802028C0 /* 802028B8 001FF818 7C 12 B0 00 */ cmpw r18, r22 /* 802028BC 001FF81C 41 82 00 08 */ beq lbl_802028C4 lbl_802028C0: /* 802028C0 001FF820 3A 80 00 01 */ li r20, 1 lbl_802028C4: /* 802028C4 001FF824 56 80 06 3F */ clrlwi. r0, r20, 0x18 /* 802028C8 001FF828 41 82 00 2C */ beq lbl_802028F4 /* 802028CC 001FF82C 7F 24 CB 78 */ mr r4, r25 /* 802028D0 001FF830 7F 65 DB 78 */ mr r5, r27 /* 802028D4 001FF834 38 61 00 D4 */ addi r3, r1, 0xd4 /* 802028D8 001FF838 48 11 00 79 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802028DC 001FF83C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802028E0 001FF840 38 81 00 D4 */ addi r4, r1, 0xd4 /* 802028E4 001FF844 81 83 00 00 */ lwz r12, 0(r3) /* 802028E8 001FF848 81 8C 00 30 */ lwz r12, 0x30(r12) /* 802028EC 001FF84C 7D 89 03 A6 */ mtctr r12 /* 802028F0 001FF850 4E 80 04 21 */ bctrl lbl_802028F4: /* 802028F4 001FF854 56 80 06 3F */ clrlwi. r0, r20, 0x18 /* 802028F8 001FF858 41 82 00 0C */ beq lbl_80202904 /* 802028FC 001FF85C 80 97 00 3C */ lwz r4, 0x3c(r23) /* 80202900 001FF860 48 00 00 08 */ b lbl_80202908 lbl_80202904: /* 80202904 001FF864 38 80 00 00 */ li r4, 0 lbl_80202908: /* 80202908 001FF868 C0 22 B0 64 */ lfs f1, lbl_805ACD84@sda21(r2) /* 8020290C 001FF86C 7F C3 F3 78 */ mr r3, r30 /* 80202910 001FF870 38 A1 00 60 */ addi r5, r1, 0x60 /* 80202914 001FF874 38 C1 00 68 */ addi r6, r1, 0x68 /* 80202918 001FF878 4B E7 DD 5D */ bl Draw__Q28CMapArea15CMapAreaSurfaceCFPC9CVector3fRC6CColorRC6CColorf /* 8020291C 001FF87C 7E D2 B3 78 */ mr r18, r22 /* 80202920 001FF880 7F 54 D3 78 */ mr r20, r26 /* 80202924 001FF884 3A 73 00 18 */ addi r19, r19, 0x18 /* 80202928 001FF888 3A B5 00 01 */ addi r21, r21, 1 lbl_8020292C: /* 8020292C 001FF88C 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 80202930 001FF890 7C 15 00 00 */ cmpw r21, r0 /* 80202934 001FF894 41 80 FD E8 */ blt lbl_8020271C lbl_80202938: /* 80202938 001FF898 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 8020293C 001FF89C 80 61 00 B8 */ lwz r3, 0xb8(r1) /* 80202940 001FF8A0 1C 00 00 18 */ mulli r0, r0, 0x18 /* 80202944 001FF8A4 90 61 00 18 */ stw r3, 0x18(r1) /* 80202948 001FF8A8 7C 64 1B 78 */ mr r4, r3 /* 8020294C 001FF8AC 7C 03 02 14 */ add r0, r3, r0 /* 80202950 001FF8B0 90 61 00 14 */ stw r3, 0x14(r1) /* 80202954 001FF8B4 90 01 00 20 */ stw r0, 0x20(r1) /* 80202958 001FF8B8 90 01 00 1C */ stw r0, 0x1c(r1) /* 8020295C 001FF8BC 48 00 00 08 */ b lbl_80202964 lbl_80202960: /* 80202960 001FF8C0 38 84 00 18 */ addi r4, r4, 0x18 lbl_80202964: /* 80202964 001FF8C4 7C 04 00 40 */ cmplw r4, r0 /* 80202968 001FF8C8 40 82 FF F8 */ bne lbl_80202960 /* 8020296C 001FF8CC 28 03 00 00 */ cmplwi r3, 0 /* 80202970 001FF8D0 41 82 00 08 */ beq lbl_80202978 /* 80202974 001FF8D4 48 11 2F BD */ bl Free__7CMemoryFPCv lbl_80202978: /* 80202978 001FF8D8 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 /* 8020297C 001FF8DC CB E1 02 50 */ lfd f31, 0x250(r1) /* 80202980 001FF8E0 E3 C1 02 48 */ psq_l f30, 584(r1), 0, qr0 /* 80202984 001FF8E4 CB C1 02 40 */ lfd f30, 0x240(r1) /* 80202988 001FF8E8 E3 A1 02 38 */ psq_l f29, 568(r1), 0, qr0 /* 8020298C 001FF8EC CB A1 02 30 */ lfd f29, 0x230(r1) /* 80202990 001FF8F0 E3 81 02 28 */ psq_l f28, 552(r1), 0, qr0 /* 80202994 001FF8F4 CB 81 02 20 */ lfd f28, 0x220(r1) /* 80202998 001FF8F8 E3 61 02 18 */ psq_l f27, 536(r1), 0, qr0 /* 8020299C 001FF8FC CB 61 02 10 */ lfd f27, 0x210(r1) /* 802029A0 001FF900 BA 21 01 D4 */ lmw r17, 0x1d4(r1) /* 802029A4 001FF904 80 01 02 64 */ lwz r0, 0x264(r1) /* 802029A8 001FF908 7C 08 03 A6 */ mtlr r0 /* 802029AC 001FF90C 38 21 02 60 */ addi r1, r1, 0x260 /* 802029B0 001FF910 4E 80 00 20 */ blr .global sub_802029b4 sub_802029b4: /* 802029B4 001FF914 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802029B8 001FF918 7C 08 02 A6 */ mflr r0 /* 802029BC 001FF91C 90 01 00 14 */ stw r0, 0x14(r1) /* 802029C0 001FF920 93 E1 00 0C */ stw r31, 0xc(r1) /* 802029C4 001FF924 7C 9F 23 78 */ mr r31, r4 /* 802029C8 001FF928 93 C1 00 08 */ stw r30, 8(r1) /* 802029CC 001FF92C 7C 7E 1B 79 */ or. r30, r3, r3 /* 802029D0 001FF930 41 82 00 3C */ beq lbl_80202A0C /* 802029D4 001FF934 38 7E 00 10 */ addi r3, r30, 0x10 /* 802029D8 001FF938 38 80 FF FF */ li r4, -1 /* 802029DC 001FF93C 48 00 00 4D */ bl sub_80202a28 /* 802029E0 001FF940 34 1E 00 04 */ addic. r0, r30, 4 /* 802029E4 001FF944 41 82 00 18 */ beq lbl_802029FC /* 802029E8 001FF948 34 1E 00 04 */ addic. r0, r30, 4 /* 802029EC 001FF94C 41 82 00 10 */ beq lbl_802029FC /* 802029F0 001FF950 38 7E 00 04 */ addi r3, r30, 4 /* 802029F4 001FF954 38 80 00 00 */ li r4, 0 /* 802029F8 001FF958 48 13 E4 49 */ bl __dt__6CTokenFv lbl_802029FC: /* 802029FC 001FF95C 7F E0 07 35 */ extsh. r0, r31 /* 80202A00 001FF960 40 81 00 0C */ ble lbl_80202A0C /* 80202A04 001FF964 7F C3 F3 78 */ mr r3, r30 /* 80202A08 001FF968 48 11 2F 29 */ bl Free__7CMemoryFPCv lbl_80202A0C: /* 80202A0C 001FF96C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202A10 001FF970 7F C3 F3 78 */ mr r3, r30 /* 80202A14 001FF974 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80202A18 001FF978 83 C1 00 08 */ lwz r30, 8(r1) /* 80202A1C 001FF97C 7C 08 03 A6 */ mtlr r0 /* 80202A20 001FF980 38 21 00 10 */ addi r1, r1, 0x10 /* 80202A24 001FF984 4E 80 00 20 */ blr .global sub_80202a28 sub_80202a28: /* 80202A28 001FF988 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80202A2C 001FF98C 7C 08 02 A6 */ mflr r0 /* 80202A30 001FF990 90 01 00 24 */ stw r0, 0x24(r1) /* 80202A34 001FF994 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80202A38 001FF998 7C 9F 23 78 */ mr r31, r4 /* 80202A3C 001FF99C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80202A40 001FF9A0 7C 7E 1B 79 */ or. r30, r3, r3 /* 80202A44 001FF9A4 41 82 00 54 */ beq lbl_80202A98 /* 80202A48 001FF9A8 80 1E 00 04 */ lwz r0, 4(r30) /* 80202A4C 001FF9AC 38 61 00 14 */ addi r3, r1, 0x14 /* 80202A50 001FF9B0 80 BE 00 0C */ lwz r5, 0xc(r30) /* 80202A54 001FF9B4 38 81 00 0C */ addi r4, r1, 0xc /* 80202A58 001FF9B8 1C 00 00 70 */ mulli r0, r0, 0x70 /* 80202A5C 001FF9BC 7C A5 02 14 */ add r5, r5, r0 /* 80202A60 001FF9C0 90 A1 00 0C */ stw r5, 0xc(r1) /* 80202A64 001FF9C4 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80202A68 001FF9C8 90 A1 00 08 */ stw r5, 8(r1) /* 80202A6C 001FF9CC 90 01 00 10 */ stw r0, 0x10(r1) /* 80202A70 001FF9D0 90 01 00 14 */ stw r0, 0x14(r1) /* 80202A74 001FF9D4 48 00 00 41 */ bl sub_80202ab4 /* 80202A78 001FF9D8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80202A7C 001FF9DC 28 03 00 00 */ cmplwi r3, 0 /* 80202A80 001FF9E0 41 82 00 08 */ beq lbl_80202A88 /* 80202A84 001FF9E4 48 11 2E AD */ bl Free__7CMemoryFPCv lbl_80202A88: /* 80202A88 001FF9E8 7F E0 07 35 */ extsh. r0, r31 /* 80202A8C 001FF9EC 40 81 00 0C */ ble lbl_80202A98 /* 80202A90 001FF9F0 7F C3 F3 78 */ mr r3, r30 /* 80202A94 001FF9F4 48 11 2E 9D */ bl Free__7CMemoryFPCv lbl_80202A98: /* 80202A98 001FF9F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 80202A9C 001FF9FC 7F C3 F3 78 */ mr r3, r30 /* 80202AA0 001FFA00 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80202AA4 001FFA04 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80202AA8 001FFA08 7C 08 03 A6 */ mtlr r0 /* 80202AAC 001FFA0C 38 21 00 20 */ addi r1, r1, 0x20 /* 80202AB0 001FFA10 4E 80 00 20 */ blr .global sub_80202ab4 sub_80202ab4: /* 80202AB4 001FFA14 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80202AB8 001FFA18 7C 08 02 A6 */ mflr r0 /* 80202ABC 001FFA1C 90 01 00 14 */ stw r0, 0x14(r1) /* 80202AC0 001FFA20 93 E1 00 0C */ stw r31, 0xc(r1) /* 80202AC4 001FFA24 93 C1 00 08 */ stw r30, 8(r1) /* 80202AC8 001FFA28 7C 9E 23 78 */ mr r30, r4 /* 80202ACC 001FFA2C 83 E3 00 00 */ lwz r31, 0(r3) /* 80202AD0 001FFA30 48 00 00 10 */ b lbl_80202AE0 lbl_80202AD4: /* 80202AD4 001FFA34 7F E3 FB 78 */ mr r3, r31 /* 80202AD8 001FFA38 48 00 00 2D */ bl sub_80202b04 /* 80202ADC 001FFA3C 3B FF 00 70 */ addi r31, r31, 0x70 lbl_80202AE0: /* 80202AE0 001FFA40 80 1E 00 00 */ lwz r0, 0(r30) /* 80202AE4 001FFA44 7C 1F 00 40 */ cmplw r31, r0 /* 80202AE8 001FFA48 40 82 FF EC */ bne lbl_80202AD4 /* 80202AEC 001FFA4C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202AF0 001FFA50 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80202AF4 001FFA54 83 C1 00 08 */ lwz r30, 8(r1) /* 80202AF8 001FFA58 7C 08 03 A6 */ mtlr r0 /* 80202AFC 001FFA5C 38 21 00 10 */ addi r1, r1, 0x10 /* 80202B00 001FFA60 4E 80 00 20 */ blr .global sub_80202b04 sub_80202b04: /* 80202B04 001FFA64 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80202B08 001FFA68 7C 08 02 A6 */ mflr r0 /* 80202B0C 001FFA6C 38 80 FF FF */ li r4, -1 /* 80202B10 001FFA70 90 01 00 14 */ stw r0, 0x14(r1) /* 80202B14 001FFA74 48 00 00 15 */ bl sub_80202b28 /* 80202B18 001FFA78 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202B1C 001FFA7C 7C 08 03 A6 */ mtlr r0 /* 80202B20 001FFA80 38 21 00 10 */ addi r1, r1, 0x10 /* 80202B24 001FFA84 4E 80 00 20 */ blr .global sub_80202b28 sub_80202b28: /* 80202B28 001FFA88 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80202B2C 001FFA8C 7C 08 02 A6 */ mflr r0 /* 80202B30 001FFA90 90 01 00 24 */ stw r0, 0x24(r1) /* 80202B34 001FFA94 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80202B38 001FFA98 7C 9F 23 78 */ mr r31, r4 /* 80202B3C 001FFA9C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80202B40 001FFAA0 7C 7E 1B 79 */ or. r30, r3, r3 /* 80202B44 001FFAA4 41 82 00 6C */ beq lbl_80202BB0 /* 80202B48 001FFAA8 34 1E 00 44 */ addic. r0, r30, 0x44 /* 80202B4C 001FFAAC 41 82 00 44 */ beq lbl_80202B90 /* 80202B50 001FFAB0 80 1E 00 48 */ lwz r0, 0x48(r30) /* 80202B54 001FFAB4 80 7E 00 50 */ lwz r3, 0x50(r30) /* 80202B58 001FFAB8 1C 00 00 30 */ mulli r0, r0, 0x30 /* 80202B5C 001FFABC 90 61 00 0C */ stw r3, 0xc(r1) /* 80202B60 001FFAC0 7C 64 1B 78 */ mr r4, r3 /* 80202B64 001FFAC4 7C 03 02 14 */ add r0, r3, r0 /* 80202B68 001FFAC8 90 61 00 08 */ stw r3, 8(r1) /* 80202B6C 001FFACC 90 01 00 14 */ stw r0, 0x14(r1) /* 80202B70 001FFAD0 90 01 00 10 */ stw r0, 0x10(r1) /* 80202B74 001FFAD4 48 00 00 08 */ b lbl_80202B7C lbl_80202B78: /* 80202B78 001FFAD8 38 84 00 30 */ addi r4, r4, 0x30 lbl_80202B7C: /* 80202B7C 001FFADC 7C 04 00 40 */ cmplw r4, r0 /* 80202B80 001FFAE0 40 82 FF F8 */ bne lbl_80202B78 /* 80202B84 001FFAE4 28 03 00 00 */ cmplwi r3, 0 /* 80202B88 001FFAE8 41 82 00 08 */ beq lbl_80202B90 /* 80202B8C 001FFAEC 48 11 2D A5 */ bl Free__7CMemoryFPCv lbl_80202B90: /* 80202B90 001FFAF0 28 1E 00 00 */ cmplwi r30, 0 /* 80202B94 001FFAF4 41 82 00 0C */ beq lbl_80202BA0 /* 80202B98 001FFAF8 7F C3 F3 78 */ mr r3, r30 /* 80202B9C 001FFAFC 48 13 AF 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80202BA0: /* 80202BA0 001FFB00 7F E0 07 35 */ extsh. r0, r31 /* 80202BA4 001FFB04 40 81 00 0C */ ble lbl_80202BB0 /* 80202BA8 001FFB08 7F C3 F3 78 */ mr r3, r30 /* 80202BAC 001FFB0C 48 11 2D 85 */ bl Free__7CMemoryFPCv lbl_80202BB0: /* 80202BB0 001FFB10 80 01 00 24 */ lwz r0, 0x24(r1) /* 80202BB4 001FFB14 7F C3 F3 78 */ mr r3, r30 /* 80202BB8 001FFB18 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80202BBC 001FFB1C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80202BC0 001FFB20 7C 08 03 A6 */ mtlr r0 /* 80202BC4 001FFB24 38 21 00 20 */ addi r1, r1, 0x20 /* 80202BC8 001FFB28 4E 80 00 20 */ blr .global __ct__12CMapUniverseFR12CInputStream __ct__12CMapUniverseFR12CInputStream: /* 80202BCC 001FFB2C 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80202BD0 001FFB30 7C 08 02 A6 */ mflr r0 /* 80202BD4 001FFB34 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80202BD8 001FFB38 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80202BDC 001FFB3C 93 C1 00 98 */ stw r30, 0x98(r1) /* 80202BE0 001FFB40 7C BE 2B 78 */ mr r30, r5 /* 80202BE4 001FFB44 93 A1 00 94 */ stw r29, 0x94(r1) /* 80202BE8 001FFB48 7C 9D 23 78 */ mr r29, r4 /* 80202BEC 001FFB4C 93 81 00 90 */ stw r28, 0x90(r1) /* 80202BF0 001FFB50 7C 7C 1B 78 */ mr r28, r3 /* 80202BF4 001FFB54 7F A3 EB 78 */ mr r3, r29 /* 80202BF8 001FFB58 48 13 C0 8D */ bl ReadLong__12CInputStreamFv /* 80202BFC 001FFB5C 90 7C 00 00 */ stw r3, 0(r28) /* 80202C00 001FFB60 3C 60 4D 41 */ lis r3, 0x4D415041@ha /* 80202C04 001FFB64 38 03 50 41 */ addi r0, r3, 0x4D415041@l /* 80202C08 001FFB68 38 61 00 08 */ addi r3, r1, 8 /* 80202C0C 001FFB6C 80 DC 00 00 */ lwz r6, 0(r28) /* 80202C10 001FFB70 38 A1 00 10 */ addi r5, r1, 0x10 /* 80202C14 001FFB74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80202C18 001FFB78 90 01 00 10 */ stw r0, 0x10(r1) /* 80202C1C 001FFB7C 90 C1 00 14 */ stw r6, 0x14(r1) /* 80202C20 001FFB80 81 84 00 00 */ lwz r12, 0(r4) /* 80202C24 001FFB84 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80202C28 001FFB88 7D 89 03 A6 */ mtctr r12 /* 80202C2C 001FFB8C 4E 80 04 21 */ bctrl /* 80202C30 001FFB90 3B FC 00 04 */ addi r31, r28, 4 /* 80202C34 001FFB94 38 81 00 08 */ addi r4, r1, 8 /* 80202C38 001FFB98 7F E3 FB 78 */ mr r3, r31 /* 80202C3C 001FFB9C 48 13 E2 6D */ bl __ct__6CTokenFRC6CToken /* 80202C40 001FFBA0 38 00 00 00 */ li r0, 0 /* 80202C44 001FFBA4 38 61 00 08 */ addi r3, r1, 8 /* 80202C48 001FFBA8 90 1F 00 08 */ stw r0, 8(r31) /* 80202C4C 001FFBAC 38 80 FF FF */ li r4, -1 /* 80202C50 001FFBB0 48 13 E1 F1 */ bl __dt__6CTokenFv /* 80202C54 001FFBB4 38 00 00 00 */ li r0, 0 /* 80202C58 001FFBB8 3C 60 80 5A */ lis r3, skZero3f@ha /* 80202C5C 001FFBBC 90 1C 00 14 */ stw r0, 0x14(r28) /* 80202C60 001FFBC0 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 80202C64 001FFBC4 C0 02 B0 70 */ lfs f0, lbl_805ACD90@sda21(r2) /* 80202C68 001FFBC8 7F A3 EB 78 */ mr r3, r29 /* 80202C6C 001FFBCC 90 1C 00 18 */ stw r0, 0x18(r28) /* 80202C70 001FFBD0 90 1C 00 1C */ stw r0, 0x1c(r28) /* 80202C74 001FFBD4 C0 24 00 00 */ lfs f1, 0(r4) /* 80202C78 001FFBD8 D0 3C 00 20 */ stfs f1, 0x20(r28) /* 80202C7C 001FFBDC C0 24 00 04 */ lfs f1, 4(r4) /* 80202C80 001FFBE0 D0 3C 00 24 */ stfs f1, 0x24(r28) /* 80202C84 001FFBE4 C0 24 00 08 */ lfs f1, 8(r4) /* 80202C88 001FFBE8 D0 3C 00 28 */ stfs f1, 0x28(r28) /* 80202C8C 001FFBEC D0 1C 00 2C */ stfs f0, 0x2c(r28) /* 80202C90 001FFBF0 48 13 BF F5 */ bl ReadLong__12CInputStreamFv /* 80202C94 001FFBF4 7C 64 1B 78 */ mr r4, r3 /* 80202C98 001FFBF8 38 7C 00 10 */ addi r3, r28, 0x10 /* 80202C9C 001FFBFC 48 00 05 A9 */ bl sub_80203244 /* 80202CA0 001FFC00 3B E0 00 00 */ li r31, 0 /* 80202CA4 001FFC04 48 00 00 30 */ b lbl_80202CD4 lbl_80202CA8: /* 80202CA8 001FFC08 7F A4 EB 78 */ mr r4, r29 /* 80202CAC 001FFC0C 7F C5 F3 78 */ mr r5, r30 /* 80202CB0 001FFC10 38 61 00 18 */ addi r3, r1, 0x18 /* 80202CB4 001FFC14 4B FF F2 F5 */ bl __ct__Q212CMapUniverse13CMapWorldDataFR12CInputStream /* 80202CB8 001FFC18 38 7C 00 10 */ addi r3, r28, 0x10 /* 80202CBC 001FFC1C 38 81 00 18 */ addi r4, r1, 0x18 /* 80202CC0 001FFC20 48 00 00 4D */ bl sub_80202d0c /* 80202CC4 001FFC24 38 61 00 18 */ addi r3, r1, 0x18 /* 80202CC8 001FFC28 38 80 FF FF */ li r4, -1 /* 80202CCC 001FFC2C 4B FF FE 5D */ bl sub_80202b28 /* 80202CD0 001FFC30 3B FF 00 01 */ addi r31, r31, 1 lbl_80202CD4: /* 80202CD4 001FFC34 80 1C 00 18 */ lwz r0, 0x18(r28) /* 80202CD8 001FFC38 7C 1F 00 00 */ cmpw r31, r0 /* 80202CDC 001FFC3C 41 80 FF CC */ blt lbl_80202CA8 /* 80202CE0 001FFC40 38 7C 00 04 */ addi r3, r28, 4 /* 80202CE4 001FFC44 48 13 E0 A1 */ bl Lock__6CTokenFv /* 80202CE8 001FFC48 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80202CEC 001FFC4C 7F 83 E3 78 */ mr r3, r28 /* 80202CF0 001FFC50 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 80202CF4 001FFC54 83 C1 00 98 */ lwz r30, 0x98(r1) /* 80202CF8 001FFC58 83 A1 00 94 */ lwz r29, 0x94(r1) /* 80202CFC 001FFC5C 83 81 00 90 */ lwz r28, 0x90(r1) /* 80202D00 001FFC60 7C 08 03 A6 */ mtlr r0 /* 80202D04 001FFC64 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80202D08 001FFC68 4E 80 00 20 */ blr .global sub_80202d0c sub_80202d0c: /* 80202D0C 001FFC6C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80202D10 001FFC70 7C 08 02 A6 */ mflr r0 /* 80202D14 001FFC74 90 01 00 14 */ stw r0, 0x14(r1) /* 80202D18 001FFC78 93 E1 00 0C */ stw r31, 0xc(r1) /* 80202D1C 001FFC7C 7C 9F 23 78 */ mr r31, r4 /* 80202D20 001FFC80 93 C1 00 08 */ stw r30, 8(r1) /* 80202D24 001FFC84 7C 7E 1B 78 */ mr r30, r3 /* 80202D28 001FFC88 80 03 00 04 */ lwz r0, 4(r3) /* 80202D2C 001FFC8C 80 A3 00 08 */ lwz r5, 8(r3) /* 80202D30 001FFC90 7C 00 28 00 */ cmpw r0, r5 /* 80202D34 001FFC94 41 80 00 18 */ blt lbl_80202D4C /* 80202D38 001FFC98 2C 05 00 00 */ cmpwi r5, 0 /* 80202D3C 001FFC9C 38 80 00 04 */ li r4, 4 /* 80202D40 001FFCA0 41 82 00 08 */ beq lbl_80202D48 /* 80202D44 001FFCA4 54 A4 08 3C */ slwi r4, r5, 1 lbl_80202D48: /* 80202D48 001FFCA8 48 00 04 FD */ bl sub_80203244 lbl_80202D4C: /* 80202D4C 001FFCAC 80 1E 00 04 */ lwz r0, 4(r30) /* 80202D50 001FFCB0 7F E4 FB 78 */ mr r4, r31 /* 80202D54 001FFCB4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80202D58 001FFCB8 1C 00 00 70 */ mulli r0, r0, 0x70 /* 80202D5C 001FFCBC 7C 63 02 14 */ add r3, r3, r0 /* 80202D60 001FFCC0 48 00 00 29 */ bl sub_80202d88 /* 80202D64 001FFCC4 80 7E 00 04 */ lwz r3, 4(r30) /* 80202D68 001FFCC8 38 03 00 01 */ addi r0, r3, 1 /* 80202D6C 001FFCCC 90 1E 00 04 */ stw r0, 4(r30) /* 80202D70 001FFCD0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80202D74 001FFCD4 83 C1 00 08 */ lwz r30, 8(r1) /* 80202D78 001FFCD8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202D7C 001FFCDC 7C 08 03 A6 */ mtlr r0 /* 80202D80 001FFCE0 38 21 00 10 */ addi r1, r1, 0x10 /* 80202D84 001FFCE4 4E 80 00 20 */ blr .global sub_80202d88 sub_80202d88: /* 80202D88 001FFCE8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80202D8C 001FFCEC 7C 08 02 A6 */ mflr r0 /* 80202D90 001FFCF0 28 03 00 00 */ cmplwi r3, 0 /* 80202D94 001FFCF4 90 01 00 14 */ stw r0, 0x14(r1) /* 80202D98 001FFCF8 41 82 00 08 */ beq lbl_80202DA0 /* 80202D9C 001FFCFC 48 00 00 15 */ bl sub_80202db0 lbl_80202DA0: /* 80202DA0 001FFD00 80 01 00 14 */ lwz r0, 0x14(r1) /* 80202DA4 001FFD04 7C 08 03 A6 */ mtlr r0 /* 80202DA8 001FFD08 38 21 00 10 */ addi r1, r1, 0x10 /* 80202DAC 001FFD0C 4E 80 00 20 */ blr .global sub_80202db0 sub_80202db0: /* 80202DB0 001FFD10 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80202DB4 001FFD14 7C 08 02 A6 */ mflr r0 /* 80202DB8 001FFD18 90 01 00 24 */ stw r0, 0x24(r1) /* 80202DBC 001FFD1C BF 41 00 08 */ stmw r26, 8(r1) /* 80202DC0 001FFD20 7C 7E 1B 78 */ mr r30, r3 /* 80202DC4 001FFD24 7C 9F 23 78 */ mr r31, r4 /* 80202DC8 001FFD28 48 13 B3 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80202DCC 001FFD2C 80 1F 00 10 */ lwz r0, 0x10(r31) /* 80202DD0 001FFD30 38 7E 00 14 */ addi r3, r30, 0x14 /* 80202DD4 001FFD34 38 9F 00 14 */ addi r4, r31, 0x14 /* 80202DD8 001FFD38 90 1E 00 10 */ stw r0, 0x10(r30) /* 80202DDC 001FFD3C 48 10 FD 99 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80202DE0 001FFD40 80 1F 00 48 */ lwz r0, 0x48(r31) /* 80202DE4 001FFD44 90 1E 00 48 */ stw r0, 0x48(r30) /* 80202DE8 001FFD48 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 80202DEC 001FFD4C 90 1E 00 4C */ stw r0, 0x4c(r30) /* 80202DF0 001FFD50 80 1F 00 48 */ lwz r0, 0x48(r31) /* 80202DF4 001FFD54 2C 00 00 00 */ cmpwi r0, 0 /* 80202DF8 001FFD58 40 82 00 1C */ bne lbl_80202E14 /* 80202DFC 001FFD5C 80 1F 00 4C */ lwz r0, 0x4c(r31) /* 80202E00 001FFD60 2C 00 00 00 */ cmpwi r0, 0 /* 80202E04 001FFD64 40 82 00 10 */ bne lbl_80202E14 /* 80202E08 001FFD68 38 00 00 00 */ li r0, 0 /* 80202E0C 001FFD6C 90 1E 00 50 */ stw r0, 0x50(r30) /* 80202E10 001FFD70 48 00 00 70 */ b lbl_80202E80 lbl_80202E14: /* 80202E14 001FFD74 80 1E 00 4C */ lwz r0, 0x4c(r30) /* 80202E18 001FFD78 1C 60 00 30 */ mulli r3, r0, 0x30 /* 80202E1C 001FFD7C 2C 03 00 00 */ cmpwi r3, 0 /* 80202E20 001FFD80 40 82 00 10 */ bne lbl_80202E30 /* 80202E24 001FFD84 38 00 00 00 */ li r0, 0 /* 80202E28 001FFD88 90 1E 00 50 */ stw r0, 0x50(r30) /* 80202E2C 001FFD8C 48 00 00 18 */ b lbl_80202E44 lbl_80202E30: /* 80202E30 001FFD90 3C 80 80 3D */ lis r4, lbl_803D2588@ha /* 80202E34 001FFD94 38 A0 00 00 */ li r5, 0 /* 80202E38 001FFD98 38 84 25 88 */ addi r4, r4, lbl_803D2588@l /* 80202E3C 001FFD9C 48 11 29 DD */ bl __nwa__FUlPCcPCc /* 80202E40 001FFDA0 90 7E 00 50 */ stw r3, 0x50(r30) lbl_80202E44: /* 80202E44 001FFDA4 83 5E 00 48 */ lwz r26, 0x48(r30) /* 80202E48 001FFDA8 3B A0 00 00 */ li r29, 0 /* 80202E4C 001FFDAC 83 7F 00 50 */ lwz r27, 0x50(r31) /* 80202E50 001FFDB0 83 9E 00 50 */ lwz r28, 0x50(r30) /* 80202E54 001FFDB4 48 00 00 24 */ b lbl_80202E78 lbl_80202E58: /* 80202E58 001FFDB8 28 1C 00 00 */ cmplwi r28, 0 /* 80202E5C 001FFDBC 41 82 00 10 */ beq lbl_80202E6C /* 80202E60 001FFDC0 7F 83 E3 78 */ mr r3, r28 /* 80202E64 001FFDC4 7F 64 DB 78 */ mr r4, r27 /* 80202E68 001FFDC8 48 10 FD 0D */ bl __ct__12CTransform4fFRC12CTransform4f lbl_80202E6C: /* 80202E6C 001FFDCC 3B 9C 00 30 */ addi r28, r28, 0x30 /* 80202E70 001FFDD0 3B BD 00 01 */ addi r29, r29, 1 /* 80202E74 001FFDD4 3B 7B 00 30 */ addi r27, r27, 0x30 lbl_80202E78: /* 80202E78 001FFDD8 7C 1D D0 00 */ cmpw r29, r26 /* 80202E7C 001FFDDC 41 80 FF DC */ blt lbl_80202E58 lbl_80202E80: /* 80202E80 001FFDE0 80 1F 00 54 */ lwz r0, 0x54(r31) /* 80202E84 001FFDE4 7F C3 F3 78 */ mr r3, r30 /* 80202E88 001FFDE8 90 1E 00 54 */ stw r0, 0x54(r30) /* 80202E8C 001FFDEC 80 1F 00 58 */ lwz r0, 0x58(r31) /* 80202E90 001FFDF0 90 1E 00 58 */ stw r0, 0x58(r30) /* 80202E94 001FFDF4 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 80202E98 001FFDF8 90 1E 00 5C */ stw r0, 0x5c(r30) /* 80202E9C 001FFDFC 80 1F 00 60 */ lwz r0, 0x60(r31) /* 80202EA0 001FFE00 90 1E 00 60 */ stw r0, 0x60(r30) /* 80202EA4 001FFE04 C0 1F 00 64 */ lfs f0, 0x64(r31) /* 80202EA8 001FFE08 D0 1E 00 64 */ stfs f0, 0x64(r30) /* 80202EAC 001FFE0C C0 1F 00 68 */ lfs f0, 0x68(r31) /* 80202EB0 001FFE10 D0 1E 00 68 */ stfs f0, 0x68(r30) /* 80202EB4 001FFE14 C0 1F 00 6C */ lfs f0, 0x6c(r31) /* 80202EB8 001FFE18 D0 1E 00 6C */ stfs f0, 0x6c(r30) /* 80202EBC 001FFE1C BB 41 00 08 */ lmw r26, 8(r1) /* 80202EC0 001FFE20 80 01 00 24 */ lwz r0, 0x24(r1) /* 80202EC4 001FFE24 7C 08 03 A6 */ mtlr r0 /* 80202EC8 001FFE28 38 21 00 20 */ addi r1, r1, 0x20 /* 80202ECC 001FFE2C 4E 80 00 20 */ blr .global sub_80202ed0 sub_80202ed0: /* 80202ED0 001FFE30 D0 23 00 00 */ stfs f1, 0(r3) /* 80202ED4 001FFE34 90 83 00 04 */ stw r4, 4(r3) /* 80202ED8 001FFE38 90 A3 00 08 */ stw r5, 8(r3) /* 80202EDC 001FFE3C 90 C3 00 0C */ stw r6, 0xc(r3) /* 80202EE0 001FFE40 D0 43 00 10 */ stfs f2, 0x10(r3) /* 80202EE4 001FFE44 90 E3 00 14 */ stw r7, 0x14(r3) /* 80202EE8 001FFE48 91 03 00 18 */ stw r8, 0x18(r3) /* 80202EEC 001FFE4C 91 23 00 1C */ stw r9, 0x1c(r3) /* 80202EF0 001FFE50 4E 80 00 20 */ blr .global __ct__Q212CMapUniverse18CMapObjectSortInfoFfiii6CColor6CColor __ct__Q212CMapUniverse18CMapObjectSortInfoFfiii6CColor6CColor: /* 80202EF4 001FFE54 D0 23 00 00 */ stfs f1, 0(r3) /* 80202EF8 001FFE58 90 83 00 04 */ stw r4, 4(r3) /* 80202EFC 001FFE5C 90 A3 00 08 */ stw r5, 8(r3) /* 80202F00 001FFE60 90 C3 00 0C */ stw r6, 0xc(r3) /* 80202F04 001FFE64 80 07 00 00 */ lwz r0, 0(r7) /* 80202F08 001FFE68 90 03 00 10 */ stw r0, 0x10(r3) /* 80202F0C 001FFE6C 80 08 00 00 */ lwz r0, 0(r8) /* 80202F10 001FFE70 90 03 00 14 */ stw r0, 0x14(r3) /* 80202F14 001FFE74 4E 80 00 20 */ blr .global sub_80202f18 sub_80202f18: /* 80202F18 001FFE78 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80202F1C 001FFE7C 7C 08 02 A6 */ mflr r0 /* 80202F20 001FFE80 90 01 00 64 */ stw r0, 0x64(r1) /* 80202F24 001FFE84 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80202F28 001FFE88 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80202F2C 001FFE8C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80202F30 001FFE90 93 C1 00 48 */ stw r30, 0x48(r1) /* 80202F34 001FFE94 93 A1 00 44 */ stw r29, 0x44(r1) /* 80202F38 001FFE98 93 81 00 40 */ stw r28, 0x40(r1) /* 80202F3C 001FFE9C 7C 7D 1B 78 */ mr r29, r3 /* 80202F40 001FFEA0 7C 9E 23 78 */ mr r30, r4 /* 80202F44 001FFEA4 80 63 00 00 */ lwz r3, 0(r3) /* 80202F48 001FFEA8 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha /* 80202F4C 001FFEAC 80 DE 00 00 */ lwz r6, 0(r30) /* 80202F50 001FFEB0 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l /* 80202F54 001FFEB4 7C BF 2B 78 */ mr r31, r5 /* 80202F58 001FFEB8 7C 03 30 50 */ subf r0, r3, r6 /* 80202F5C 001FFEBC 7C 04 00 96 */ mulhw r0, r4, r0 /* 80202F60 001FFEC0 7C 00 16 70 */ srawi r0, r0, 2 /* 80202F64 001FFEC4 54 04 0F FE */ srwi r4, r0, 0x1f /* 80202F68 001FFEC8 7C 80 22 14 */ add r4, r0, r4 /* 80202F6C 001FFECC 2C 04 00 01 */ cmpwi r4, 1 /* 80202F70 001FFED0 40 81 01 58 */ ble lbl_802030C8 /* 80202F74 001FFED4 2C 04 00 14 */ cmpwi r4, 0x14 /* 80202F78 001FFED8 41 81 00 30 */ bgt lbl_80202FA8 /* 80202F7C 001FFEDC 88 FF 00 00 */ lbz r7, 0(r31) /* 80202F80 001FFEE0 38 61 00 34 */ addi r3, r1, 0x34 /* 80202F84 001FFEE4 80 DE 00 00 */ lwz r6, 0(r30) /* 80202F88 001FFEE8 38 81 00 30 */ addi r4, r1, 0x30 /* 80202F8C 001FFEEC 80 1D 00 00 */ lwz r0, 0(r29) /* 80202F90 001FFEF0 38 A1 00 14 */ addi r5, r1, 0x14 /* 80202F94 001FFEF4 98 E1 00 14 */ stb r7, 0x14(r1) /* 80202F98 001FFEF8 90 C1 00 30 */ stw r6, 0x30(r1) /* 80202F9C 001FFEFC 90 01 00 34 */ stw r0, 0x34(r1) /* 80202FA0 001FFF00 48 00 06 B5 */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl162pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl162pointer_iterator,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl162pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl162pointer_iterator,Q24rstl17rmemory_allocator>,29CMapObjectSortInfoGreaterThan>__4rstlFQ24rstl162pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl162pointer_iterator9TEditorId" /* 80203944 002008A4 38 61 00 78 */ addi r3, r1, 0x78 /* 80203948 002008A8 38 81 00 D0 */ addi r4, r1, 0xd0 /* 8020394C 002008AC 38 C1 00 10 */ addi r6, r1, 0x10 /* 80203950 002008B0 3A E0 00 01 */ li r23, 1 /* 80203954 002008B4 38 A0 FF FF */ li r5, -1 /* 80203958 002008B8 48 13 A8 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8020395C 002008BC 3B 20 00 01 */ li r25, 1 /* 80203960 002008C0 48 14 66 4D */ bl White__6CColorFv /* 80203964 002008C4 3C 80 80 5A */ lis r4, lbl_805A65FC@ha /* 80203968 002008C8 7C 7B 1B 78 */ mr r27, r3 /* 8020396C 002008CC 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l /* 80203970 002008D0 7F 85 E3 78 */ mr r5, r28 /* 80203974 002008D4 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80203978 002008D8 48 10 F9 01 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 8020397C 002008DC 93 A1 00 08 */ stw r29, 8(r1) /* 80203980 002008E0 7C 69 1B 78 */ mr r9, r3 /* 80203984 002008E4 7F E3 FB 78 */ mr r3, r31 /* 80203988 002008E8 7F CA F3 78 */ mr r10, r30 /* 8020398C 002008EC 93 61 00 0C */ stw r27, 0xc(r1) /* 80203990 002008F0 38 81 00 5C */ addi r4, r1, 0x5c /* 80203994 002008F4 38 A1 00 14 */ addi r5, r1, 0x14 /* 80203998 002008F8 38 E1 00 88 */ addi r7, r1, 0x88 /* 8020399C 002008FC 39 01 00 78 */ addi r8, r1, 0x78 /* 802039A0 00200900 38 C0 00 01 */ li r6, 1 /* 802039A4 00200904 4B E5 71 55 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 802039A8 00200908 7C 7F 1B 78 */ mr r31, r3 lbl_802039AC: /* 802039AC 0020090C 7E A0 07 75 */ extsb. r0, r21 /* 802039B0 00200910 41 82 00 10 */ beq lbl_802039C0 /* 802039B4 00200914 38 61 00 5C */ addi r3, r1, 0x5c /* 802039B8 00200918 38 80 00 00 */ li r4, 0 /* 802039BC 0020091C 48 13 D4 85 */ bl __dt__6CTokenFv lbl_802039C0: /* 802039C0 00200920 7E C0 07 75 */ extsb. r0, r22 /* 802039C4 00200924 41 82 00 10 */ beq lbl_802039D4 /* 802039C8 00200928 38 61 00 4C */ addi r3, r1, 0x4c /* 802039CC 0020092C 38 80 FF FF */ li r4, -1 /* 802039D0 00200930 48 13 D4 71 */ bl __dt__6CTokenFv lbl_802039D4: /* 802039D4 00200934 7E E0 07 75 */ extsb. r0, r23 /* 802039D8 00200938 41 82 00 44 */ beq lbl_80203A1C /* 802039DC 0020093C 80 01 00 90 */ lwz r0, 0x90(r1) /* 802039E0 00200940 80 61 00 98 */ lwz r3, 0x98(r1) /* 802039E4 00200944 1C 00 00 0C */ mulli r0, r0, 0xc /* 802039E8 00200948 90 61 00 24 */ stw r3, 0x24(r1) /* 802039EC 0020094C 7C 64 1B 78 */ mr r4, r3 /* 802039F0 00200950 7C 03 02 14 */ add r0, r3, r0 /* 802039F4 00200954 90 61 00 20 */ stw r3, 0x20(r1) /* 802039F8 00200958 90 01 00 2C */ stw r0, 0x2c(r1) /* 802039FC 0020095C 90 01 00 28 */ stw r0, 0x28(r1) /* 80203A00 00200960 48 00 00 08 */ b lbl_80203A08 lbl_80203A04: /* 80203A04 00200964 38 84 00 0C */ addi r4, r4, 0xc lbl_80203A08: /* 80203A08 00200968 7C 04 00 40 */ cmplw r4, r0 /* 80203A0C 0020096C 40 82 FF F8 */ bne lbl_80203A04 /* 80203A10 00200970 28 03 00 00 */ cmplwi r3, 0 /* 80203A14 00200974 41 82 00 08 */ beq lbl_80203A1C /* 80203A18 00200978 48 11 1F 19 */ bl Free__7CMemoryFPCv lbl_80203A1C: /* 80203A1C 0020097C 7F 00 07 75 */ extsb. r0, r24 /* 80203A20 00200980 41 82 00 44 */ beq lbl_80203A64 /* 80203A24 00200984 80 01 00 6C */ lwz r0, 0x6c(r1) /* 80203A28 00200988 80 61 00 74 */ lwz r3, 0x74(r1) /* 80203A2C 0020098C 1C 00 00 0C */ mulli r0, r0, 0xc /* 80203A30 00200990 90 61 00 34 */ stw r3, 0x34(r1) /* 80203A34 00200994 7C 64 1B 78 */ mr r4, r3 /* 80203A38 00200998 7C 03 02 14 */ add r0, r3, r0 /* 80203A3C 0020099C 90 61 00 30 */ stw r3, 0x30(r1) /* 80203A40 002009A0 90 01 00 3C */ stw r0, 0x3c(r1) /* 80203A44 002009A4 90 01 00 38 */ stw r0, 0x38(r1) /* 80203A48 002009A8 48 00 00 08 */ b lbl_80203A50 lbl_80203A4C: /* 80203A4C 002009AC 38 84 00 0C */ addi r4, r4, 0xc lbl_80203A50: /* 80203A50 002009B0 7C 04 00 40 */ cmplw r4, r0 /* 80203A54 002009B4 40 82 FF F8 */ bne lbl_80203A4C /* 80203A58 002009B8 28 03 00 00 */ cmplwi r3, 0 /* 80203A5C 002009BC 41 82 00 08 */ beq lbl_80203A64 /* 80203A60 002009C0 48 11 1E D1 */ bl Free__7CMemoryFPCv lbl_80203A64: /* 80203A64 002009C4 7F 20 07 75 */ extsb. r0, r25 /* 80203A68 002009C8 41 82 00 0C */ beq lbl_80203A74 /* 80203A6C 002009CC 38 61 00 78 */ addi r3, r1, 0x78 /* 80203A70 002009D0 48 13 A0 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80203A74: /* 80203A74 002009D4 7F 43 D3 78 */ mr r3, r26 /* 80203A78 002009D8 7F E4 FB 78 */ mr r4, r31 /* 80203A7C 002009DC 4B E4 90 99 */ bl AddObject__13CStateManagerFR7CEntity /* 80203A80 002009E0 BA A1 04 D4 */ lmw r21, 0x4d4(r1) /* 80203A84 002009E4 80 01 05 04 */ lwz r0, 0x504(r1) /* 80203A88 002009E8 7C 08 03 A6 */ mtlr r0 /* 80203A8C 002009EC 38 21 05 00 */ addi r1, r1, 0x500 /* 80203A90 002009F0 4E 80 00 20 */ blr .global sub_80203a94 sub_80203a94: /* 80203A94 002009F4 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 80203A98 002009F8 7C 08 02 A6 */ mflr r0 /* 80203A9C 002009FC 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80203AA0 00200A00 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 80203AA4 00200A04 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 80203AA8 00200A08 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 80203AAC 00200A0C F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 80203AB0 00200A10 93 E1 00 CC */ stw r31, 0xcc(r1) /* 80203AB4 00200A14 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 80203AB8 00200A18 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 80203ABC 00200A1C 93 81 00 C0 */ stw r28, 0xc0(r1) /* 80203AC0 00200A20 7C 7D 1B 78 */ mr r29, r3 /* 80203AC4 00200A24 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80203AC8 00200A28 A0 63 05 D0 */ lhz r3, 0x5d0(r3) /* 80203ACC 00200A2C 7C 9E 23 78 */ mr r30, r4 /* 80203AD0 00200A30 7C BC 2B 78 */ mr r28, r5 /* 80203AD4 00200A34 7C 03 00 40 */ cmplw r3, r0 /* 80203AD8 00200A38 41 82 02 50 */ beq lbl_80203D28 /* 80203ADC 00200A3C A0 1D 05 D0 */ lhz r0, 0x5d0(r29) /* 80203AE0 00200A40 7F C3 F3 78 */ mr r3, r30 /* 80203AE4 00200A44 38 81 00 28 */ addi r4, r1, 0x28 /* 80203AE8 00200A48 B0 01 00 28 */ sth r0, 0x28(r1) /* 80203AEC 00200A4C 4B E4 8A 89 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80203AF0 00200A50 7C 7F 1B 79 */ or. r31, r3, r3 /* 80203AF4 00200A54 41 82 02 34 */ beq lbl_80203D28 /* 80203AF8 00200A58 80 BD 00 64 */ lwz r5, 0x64(r29) /* 80203AFC 00200A5C 7F A3 EB 78 */ mr r3, r29 /* 80203B00 00200A60 7F C4 F3 78 */ mr r4, r30 /* 80203B04 00200A64 7F 86 E3 78 */ mr r6, r28 /* 80203B08 00200A68 C0 05 00 00 */ lfs f0, 0(r5) /* 80203B0C 00200A6C 38 E1 00 4C */ addi r7, r1, 0x4c /* 80203B10 00200A70 39 00 00 00 */ li r8, 0 /* 80203B14 00200A74 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80203B18 00200A78 C0 05 00 04 */ lfs f0, 4(r5) /* 80203B1C 00200A7C D0 01 00 50 */ stfs f0, 0x50(r1) /* 80203B20 00200A80 C0 05 00 08 */ lfs f0, 8(r5) /* 80203B24 00200A84 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80203B28 00200A88 80 BD 05 C8 */ lwz r5, 0x5c8(r29) /* 80203B2C 00200A8C 4B FF FC F9 */ bl sub_80203824 /* 80203B30 00200A90 C0 22 B0 80 */ lfs f1, lbl_805ACDA0@sda21(r2) /* 80203B34 00200A94 7F E3 FB 78 */ mr r3, r31 /* 80203B38 00200A98 C0 42 B0 84 */ lfs f2, lbl_805ACDA4@sda21(r2) /* 80203B3C 00200A9C 7F C4 F3 78 */ mr r4, r30 /* 80203B40 00200AA0 C0 62 B0 88 */ lfs f3, lbl_805ACDA8@sda21(r2) /* 80203B44 00200AA4 7F 85 E3 78 */ mr r5, r28 /* 80203B48 00200AA8 4B FD 7E D9 */ bl sub_801dba20 /* 80203B4C 00200AAC 83 9E 08 4C */ lwz r28, 0x84c(r30) /* 80203B50 00200AB0 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 80203B54 00200AB4 C0 5C 00 50 */ lfs f2, 0x50(r28) /* 80203B58 00200AB8 C0 7C 00 60 */ lfs f3, 0x60(r28) /* 80203B5C 00200ABC C0 1D 00 60 */ lfs f0, 0x60(r29) /* 80203B60 00200AC0 EC C2 08 28 */ fsubs f6, f2, f1 /* 80203B64 00200AC4 C0 5C 00 40 */ lfs f2, 0x40(r28) /* 80203B68 00200AC8 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 80203B6C 00200ACC EC A3 00 28 */ fsubs f5, f3, f0 /* 80203B70 00200AD0 EC 06 01 B2 */ fmuls f0, f6, f6 /* 80203B74 00200AD4 C0 82 B0 8C */ lfs f4, lbl_805ACDAC@sda21(r2) /* 80203B78 00200AD8 EC 62 08 28 */ fsubs f3, f2, f1 /* 80203B7C 00200ADC D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 80203B80 00200AE0 EC 45 01 72 */ fmuls f2, f5, f5 /* 80203B84 00200AE4 D0 A1 00 60 */ stfs f5, 0x60(r1) /* 80203B88 00200AE8 EC 23 00 F2 */ fmuls f1, f3, f3 /* 80203B8C 00200AEC D0 61 00 58 */ stfs f3, 0x58(r1) /* 80203B90 00200AF0 80 7D 00 64 */ lwz r3, 0x64(r29) /* 80203B94 00200AF4 EC 01 00 2A */ fadds f0, f1, f0 /* 80203B98 00200AF8 C0 63 00 00 */ lfs f3, 0(r3) /* 80203B9C 00200AFC EC 22 00 2A */ fadds f1, f2, f0 /* 80203BA0 00200B00 EF C4 00 F2 */ fmuls f30, f4, f3 /* 80203BA4 00200B04 EC 1E 07 B2 */ fmuls f0, f30, f30 /* 80203BA8 00200B08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80203BAC 00200B0C 40 80 00 F0 */ bge lbl_80203C9C /* 80203BB0 00200B10 7F A4 EB 78 */ mr r4, r29 /* 80203BB4 00200B14 38 61 00 64 */ addi r3, r1, 0x64 /* 80203BB8 00200B18 81 9D 00 00 */ lwz r12, 0(r29) /* 80203BBC 00200B1C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 80203BC0 00200B20 7D 89 03 A6 */ mtctr r12 /* 80203BC4 00200B24 4E 80 04 21 */ bctrl /* 80203BC8 00200B28 7F A4 EB 78 */ mr r4, r29 /* 80203BCC 00200B2C 38 61 00 80 */ addi r3, r1, 0x80 /* 80203BD0 00200B30 81 9D 00 00 */ lwz r12, 0(r29) /* 80203BD4 00200B34 C3 E1 00 78 */ lfs f31, 0x78(r1) /* 80203BD8 00200B38 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 80203BDC 00200B3C 7D 89 03 A6 */ mtctr r12 /* 80203BE0 00200B40 4E 80 04 21 */ bctrl /* 80203BE4 00200B44 C0 02 B0 90 */ lfs f0, lbl_805ACDB0@sda21(r2) /* 80203BE8 00200B48 39 00 00 09 */ li r8, 9 /* 80203BEC 00200B4C C0 21 00 88 */ lfs f1, 0x88(r1) /* 80203BF0 00200B50 38 60 00 00 */ li r3, 0 /* 80203BF4 00200B54 88 C1 00 30 */ lbz r6, 0x30(r1) /* 80203BF8 00200B58 50 66 3E 30 */ rlwimi r6, r3, 7, 0x18, 0x18 /* 80203BFC 00200B5C EC 20 00 72 */ fmuls f1, f0, f1 /* 80203C00 00200B60 88 01 00 B4 */ lbz r0, 0xb4(r1) /* 80203C04 00200B64 EC 00 07 F2 */ fmuls f0, f0, f31 /* 80203C08 00200B68 54 C5 06 3E */ clrlwi r5, r6, 0x18 /* 80203C0C 00200B6C 50 65 36 72 */ rlwimi r5, r3, 6, 0x19, 0x19 /* 80203C10 00200B70 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80203C14 00200B74 54 A7 06 3E */ clrlwi r7, r5, 0x18 /* 80203C18 00200B78 98 C1 00 30 */ stb r6, 0x30(r1) /* 80203C1C 00200B7C 50 67 2E B4 */ rlwimi r7, r3, 5, 0x1a, 0x1a /* 80203C20 00200B80 38 61 00 40 */ addi r3, r1, 0x40 /* 80203C24 00200B84 91 01 00 9C */ stw r8, 0x9c(r1) /* 80203C28 00200B88 38 81 00 58 */ addi r4, r1, 0x58 /* 80203C2C 00200B8C 98 A1 00 30 */ stb r5, 0x30(r1) /* 80203C30 00200B90 98 E1 00 A0 */ stb r7, 0xa0(r1) /* 80203C34 00200B94 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 80203C38 00200B98 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 80203C3C 00200B9C D3 C1 00 AC */ stfs f30, 0xac(r1) /* 80203C40 00200BA0 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 80203C44 00200BA4 98 01 00 B4 */ stb r0, 0xb4(r1) /* 80203C48 00200BA8 A0 DD 00 08 */ lhz r6, 8(r29) /* 80203C4C 00200BAC 91 01 00 2C */ stw r8, 0x2c(r1) /* 80203C50 00200BB0 B0 C1 00 14 */ sth r6, 0x14(r1) /* 80203C54 00200BB4 A0 BC 00 08 */ lhz r5, 8(r28) /* 80203C58 00200BB8 98 E1 00 30 */ stb r7, 0x30(r1) /* 80203C5C 00200BBC B0 A1 00 1C */ sth r5, 0x1c(r1) /* 80203C60 00200BC0 A0 1D 00 08 */ lhz r0, 8(r29) /* 80203C64 00200BC4 B0 C1 00 10 */ sth r6, 0x10(r1) /* 80203C68 00200BC8 B0 A1 00 18 */ sth r5, 0x18(r1) /* 80203C6C 00200BCC B0 01 00 20 */ sth r0, 0x20(r1) /* 80203C70 00200BD0 B0 01 00 24 */ sth r0, 0x24(r1) /* 80203C74 00200BD4 48 11 0B DD */ bl AsNormalized__9CVector3fCFv /* 80203C78 00200BD8 3C 80 80 5A */ lis r4, lbl_8059FD18@ha /* 80203C7C 00200BDC 7F C3 F3 78 */ mr r3, r30 /* 80203C80 00200BE0 39 04 FD 18 */ addi r8, r4, lbl_8059FD18@l /* 80203C84 00200BE4 38 A1 00 1C */ addi r5, r1, 0x1c /* 80203C88 00200BE8 38 81 00 24 */ addi r4, r1, 0x24 /* 80203C8C 00200BEC 38 C1 00 14 */ addi r6, r1, 0x14 /* 80203C90 00200BF0 38 E1 00 9C */ addi r7, r1, 0x9c /* 80203C94 00200BF4 39 21 00 40 */ addi r9, r1, 0x40 /* 80203C98 00200BF8 4B E4 64 09 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_80203C9C: /* 80203C9C 00200BFC 81 5E 08 CC */ lwz r10, 0x8cc(r30) /* 80203CA0 00200C00 3C 60 80 5A */ lis r3, skZero3f@ha /* 80203CA4 00200C04 C0 9D 00 60 */ lfs f4, 0x60(r29) /* 80203CA8 00200C08 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 80203CAC 00200C0C C0 7D 00 50 */ lfs f3, 0x50(r29) /* 80203CB0 00200C10 38 00 00 01 */ li r0, 1 /* 80203CB4 00200C14 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80203CB8 00200C18 7F A3 EB 78 */ mr r3, r29 /* 80203CBC 00200C1C C0 22 B0 88 */ lfs f1, lbl_805ACDA8@sda21(r2) /* 80203CC0 00200C20 39 21 00 34 */ addi r9, r1, 0x34 /* 80203CC4 00200C24 D0 61 00 38 */ stfs f3, 0x38(r1) /* 80203CC8 00200C28 38 A0 00 00 */ li r5, 0 /* 80203CCC 00200C2C C0 42 B0 94 */ lfs f2, lbl_805ACDB4@sda21(r2) /* 80203CD0 00200C30 38 C0 00 14 */ li r6, 0x14 /* 80203CD4 00200C34 D0 01 00 34 */ stfs f0, 0x34(r1) /* 80203CD8 00200C38 38 E0 00 7F */ li r7, 0x7f /* 80203CDC 00200C3C C0 62 B0 98 */ lfs f3, lbl_805ACDB8@sda21(r2) /* 80203CE0 00200C40 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 80203CE4 00200C44 93 C1 00 08 */ stw r30, 8(r1) /* 80203CE8 00200C48 90 01 00 0C */ stw r0, 0xc(r1) /* 80203CEC 00200C4C 80 9D 05 D8 */ lwz r4, 0x5d8(r29) /* 80203CF0 00200C50 4B E4 F2 41 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager /* 80203CF4 00200C54 88 1D 05 DD */ lbz r0, 0x5dd(r29) /* 80203CF8 00200C58 28 00 00 00 */ cmplwi r0, 0 /* 80203CFC 00200C5C 41 82 00 2C */ beq lbl_80203D28 /* 80203D00 00200C60 C0 22 B0 9C */ lfs f1, lbl_805ACDBC@sda21(r2) /* 80203D04 00200C64 7F E3 FB 78 */ mr r3, r31 /* 80203D08 00200C68 7F C4 F3 78 */ mr r4, r30 /* 80203D0C 00200C6C 7F A5 EB 78 */ mr r5, r29 /* 80203D10 00200C70 4B FD 7F 89 */ bl sub_801dbc98 /* 80203D14 00200C74 7F A3 EB 78 */ mr r3, r29 /* 80203D18 00200C78 7F C5 F3 78 */ mr r5, r30 /* 80203D1C 00200C7C 38 80 00 09 */ li r4, 9 /* 80203D20 00200C80 38 C0 FF FF */ li r6, -1 /* 80203D24 00200C84 4B E4 D3 9D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_80203D28: /* 80203D28 00200C88 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 80203D2C 00200C8C CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 80203D30 00200C90 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 80203D34 00200C94 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 80203D38 00200C98 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80203D3C 00200C9C 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 80203D40 00200CA0 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 80203D44 00200CA4 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80203D48 00200CA8 83 81 00 C0 */ lwz r28, 0xc0(r1) /* 80203D4C 00200CAC 7C 08 03 A6 */ mtlr r0 /* 80203D50 00200CB0 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80203D54 00200CB4 4E 80 00 20 */ blr .global sub_80203d58 sub_80203d58: /* 80203D58 00200CB8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80203D5C 00200CBC 7C 08 02 A6 */ mflr r0 /* 80203D60 00200CC0 38 80 00 00 */ li r4, 0 /* 80203D64 00200CC4 90 01 00 14 */ stw r0, 0x14(r1) /* 80203D68 00200CC8 93 E1 00 0C */ stw r31, 0xc(r1) /* 80203D6C 00200CCC 7C 7F 1B 78 */ mr r31, r3 /* 80203D70 00200CD0 88 03 03 28 */ lbz r0, 0x328(r3) /* 80203D74 00200CD4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80203D78 00200CD8 98 03 03 28 */ stb r0, 0x328(r3) /* 80203D7C 00200CDC 4B F1 75 FD */ bl Stop__13CPhysicsActorFv /* 80203D80 00200CE0 7F E3 FB 78 */ mr r3, r31 /* 80203D84 00200CE4 81 9F 00 00 */ lwz r12, 0(r31) /* 80203D88 00200CE8 81 8C 00 80 */ lwz r12, 0x80(r12) /* 80203D8C 00200CEC 7D 89 03 A6 */ mtctr r12 /* 80203D90 00200CF0 4E 80 04 21 */ bctrl /* 80203D94 00200CF4 C0 02 B0 A0 */ lfs f0, lbl_805ACDC0@sda21(r2) /* 80203D98 00200CF8 FC 40 08 50 */ fneg f2, f1 /* 80203D9C 00200CFC C0 22 B0 9C */ lfs f1, lbl_805ACDBC@sda21(r2) /* 80203DA0 00200D00 38 00 00 03 */ li r0, 3 /* 80203DA4 00200D04 D0 1F 01 50 */ stfs f0, 0x150(r31) /* 80203DA8 00200D08 EC 21 00 B2 */ fmuls f1, f1, f2 /* 80203DAC 00200D0C D0 1F 01 54 */ stfs f0, 0x154(r31) /* 80203DB0 00200D10 D0 3F 01 58 */ stfs f1, 0x158(r31) /* 80203DB4 00200D14 90 1F 05 6C */ stw r0, 0x56c(r31) /* 80203DB8 00200D18 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80203DBC 00200D1C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80203DC0 00200D20 7C 08 03 A6 */ mtlr r0 /* 80203DC4 00200D24 38 21 00 10 */ addi r1, r1, 0x10 /* 80203DC8 00200D28 4E 80 00 20 */ blr .global Render__22CThardusRockProjectileCFRC13CStateManager Render__22CThardusRockProjectileCFRC13CStateManager: /* 80203DCC 00200D2C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80203DD0 00200D30 7C 08 02 A6 */ mflr r0 /* 80203DD4 00200D34 90 01 00 14 */ stw r0, 0x14(r1) /* 80203DD8 00200D38 4B E7 42 55 */ bl Render__10CPatternedCFRC13CStateManager /* 80203DDC 00200D3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80203DE0 00200D40 7C 08 03 A6 */ mtlr r0 /* 80203DE4 00200D44 38 21 00 10 */ addi r1, r1, 0x10 /* 80203DE8 00200D48 4E 80 00 20 */ blr .global sub_80203dec sub_80203dec: /* 80203DEC 00200D4C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80203DF0 00200D50 7C 08 02 A6 */ mflr r0 /* 80203DF4 00200D54 90 01 00 54 */ stw r0, 0x54(r1) /* 80203DF8 00200D58 BE E1 00 2C */ stmw r23, 0x2c(r1) /* 80203DFC 00200D5C 7C 77 1B 78 */ mr r23, r3 /* 80203E00 00200D60 7C 98 23 78 */ mr r24, r4 /* 80203E04 00200D64 7C B9 2B 78 */ mr r25, r5 /* 80203E08 00200D68 7C DA 33 78 */ mr r26, r6 /* 80203E0C 00200D6C 3B 60 00 00 */ li r27, 0 /* 80203E10 00200D70 3B E0 00 00 */ li r31, 0 /* 80203E14 00200D74 83 83 05 90 */ lwz r28, 0x590(r3) /* 80203E18 00200D78 48 00 00 E0 */ b lbl_80203EF8 lbl_80203E1C: /* 80203E1C 00200D7C 80 B7 05 98 */ lwz r5, 0x598(r23) /* 80203E20 00200D80 7F 64 DB 78 */ mr r4, r27 /* 80203E24 00200D84 80 77 05 78 */ lwz r3, 0x578(r23) /* 80203E28 00200D88 7C 05 FA 2E */ lhzx r0, r5, r31 /* 80203E2C 00200D8C B0 01 00 14 */ sth r0, 0x14(r1) /* 80203E30 00200D90 4B FA 34 09 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80203E34 00200D94 A0 A3 00 3C */ lhz r5, 0x3c(r3) /* 80203E38 00200D98 7F 03 C3 78 */ mr r3, r24 /* 80203E3C 00200D9C A0 01 00 14 */ lhz r0, 0x14(r1) /* 80203E40 00200DA0 38 81 00 0C */ addi r4, r1, 0xc /* 80203E44 00200DA4 B0 A1 00 10 */ sth r5, 0x10(r1) /* 80203E48 00200DA8 B0 01 00 0C */ sth r0, 0xc(r1) /* 80203E4C 00200DAC 4B E4 87 29 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80203E50 00200DB0 7C 64 1B 78 */ mr r4, r3 /* 80203E54 00200DB4 38 61 00 20 */ addi r3, r1, 0x20 /* 80203E58 00200DB8 4B EA BE 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80203E5C 00200DBC 83 C3 00 04 */ lwz r30, 4(r3) /* 80203E60 00200DC0 28 1E 00 00 */ cmplwi r30, 0 /* 80203E64 00200DC4 41 82 00 8C */ beq lbl_80203EF0 /* 80203E68 00200DC8 A0 01 00 10 */ lhz r0, 0x10(r1) /* 80203E6C 00200DCC 7F 03 C3 78 */ mr r3, r24 /* 80203E70 00200DD0 38 81 00 08 */ addi r4, r1, 8 /* 80203E74 00200DD4 B0 01 00 08 */ sth r0, 8(r1) /* 80203E78 00200DD8 4B E4 86 FD */ bl ObjectById__13CStateManagerF9TUniqueId /* 80203E7C 00200DDC 7C 64 1B 78 */ mr r4, r3 /* 80203E80 00200DE0 38 61 00 18 */ addi r3, r1, 0x18 /* 80203E84 00200DE4 4B EA BE 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80203E88 00200DE8 83 A3 00 04 */ lwz r29, 4(r3) /* 80203E8C 00200DEC 28 1D 00 00 */ cmplwi r29, 0 /* 80203E90 00200DF0 41 82 00 60 */ beq lbl_80203EF0 /* 80203E94 00200DF4 2C 19 00 01 */ cmpwi r25, 1 /* 80203E98 00200DF8 41 82 00 38 */ beq lbl_80203ED0 /* 80203E9C 00200DFC 40 80 00 54 */ bge lbl_80203EF0 /* 80203EA0 00200E00 2C 19 00 00 */ cmpwi r25, 0 /* 80203EA4 00200E04 40 80 00 08 */ bge lbl_80203EAC /* 80203EA8 00200E08 48 00 00 48 */ b lbl_80203EF0 lbl_80203EAC: /* 80203EAC 00200E0C 7F C3 F3 78 */ mr r3, r30 /* 80203EB0 00200E10 7F 44 D3 78 */ mr r4, r26 /* 80203EB4 00200E14 7F 05 C3 78 */ mr r5, r24 /* 80203EB8 00200E18 4B E5 04 99 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80203EBC 00200E1C 7F A3 EB 78 */ mr r3, r29 /* 80203EC0 00200E20 7F 44 D3 78 */ mr r4, r26 /* 80203EC4 00200E24 7F 05 C3 78 */ mr r5, r24 /* 80203EC8 00200E28 4B E5 04 89 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80203ECC 00200E2C 48 00 00 24 */ b lbl_80203EF0 lbl_80203ED0: /* 80203ED0 00200E30 7F C3 F3 78 */ mr r3, r30 /* 80203ED4 00200E34 7F 44 D3 78 */ mr r4, r26 /* 80203ED8 00200E38 7F 05 C3 78 */ mr r5, r24 /* 80203EDC 00200E3C 4B E5 00 A5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80203EE0 00200E40 7F A3 EB 78 */ mr r3, r29 /* 80203EE4 00200E44 7F 44 D3 78 */ mr r4, r26 /* 80203EE8 00200E48 7F 05 C3 78 */ mr r5, r24 /* 80203EEC 00200E4C 4B E5 00 95 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_80203EF0: /* 80203EF0 00200E50 3B 7B 00 01 */ addi r27, r27, 1 /* 80203EF4 00200E54 3B FF 00 02 */ addi r31, r31, 2 lbl_80203EF8: /* 80203EF8 00200E58 7C 1B E0 40 */ cmplw r27, r28 /* 80203EFC 00200E5C 41 80 FF 20 */ blt lbl_80203E1C /* 80203F00 00200E60 BA E1 00 2C */ lmw r23, 0x2c(r1) /* 80203F04 00200E64 80 01 00 54 */ lwz r0, 0x54(r1) /* 80203F08 00200E68 7C 08 03 A6 */ mtlr r0 /* 80203F0C 00200E6C 38 21 00 50 */ addi r1, r1, 0x50 /* 80203F10 00200E70 4E 80 00 20 */ blr .global SetChildrenActive__22CThardusRockProjectileFR13CStateManagerb SetChildrenActive__22CThardusRockProjectileFR13CStateManagerb: /* 80203F14 00200E74 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80203F18 00200E78 7C 08 02 A6 */ mflr r0 /* 80203F1C 00200E7C 90 01 00 44 */ stw r0, 0x44(r1) /* 80203F20 00200E80 BF 01 00 20 */ stmw r24, 0x20(r1) /* 80203F24 00200E84 7C 78 1B 78 */ mr r24, r3 /* 80203F28 00200E88 7C 99 23 78 */ mr r25, r4 /* 80203F2C 00200E8C 54 BE 06 3E */ clrlwi r30, r5, 0x18 /* 80203F30 00200E90 3B 80 00 00 */ li r28, 0 /* 80203F34 00200E94 3B E0 00 00 */ li r31, 0 /* 80203F38 00200E98 83 A3 05 90 */ lwz r29, 0x590(r3) /* 80203F3C 00200E9C 48 00 00 94 */ b lbl_80203FD0 lbl_80203F40: /* 80203F40 00200EA0 80 B8 05 98 */ lwz r5, 0x598(r24) /* 80203F44 00200EA4 7F 84 E3 78 */ mr r4, r28 /* 80203F48 00200EA8 80 78 05 78 */ lwz r3, 0x578(r24) /* 80203F4C 00200EAC 7C 05 FA 2E */ lhzx r0, r5, r31 /* 80203F50 00200EB0 B0 01 00 14 */ sth r0, 0x14(r1) /* 80203F54 00200EB4 4B FA 32 E5 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80203F58 00200EB8 A0 A3 00 3C */ lhz r5, 0x3c(r3) /* 80203F5C 00200EBC 7F 23 CB 78 */ mr r3, r25 /* 80203F60 00200EC0 A0 01 00 14 */ lhz r0, 0x14(r1) /* 80203F64 00200EC4 38 81 00 0C */ addi r4, r1, 0xc /* 80203F68 00200EC8 B0 A1 00 10 */ sth r5, 0x10(r1) /* 80203F6C 00200ECC B0 01 00 0C */ sth r0, 0xc(r1) /* 80203F70 00200ED0 4B E4 86 05 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80203F74 00200ED4 7C 7B 1B 79 */ or. r27, r3, r3 /* 80203F78 00200ED8 41 82 00 50 */ beq lbl_80203FC8 /* 80203F7C 00200EDC A0 01 00 10 */ lhz r0, 0x10(r1) /* 80203F80 00200EE0 7F 23 CB 78 */ mr r3, r25 /* 80203F84 00200EE4 38 81 00 08 */ addi r4, r1, 8 /* 80203F88 00200EE8 B0 01 00 08 */ sth r0, 8(r1) /* 80203F8C 00200EEC 4B E4 85 E9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80203F90 00200EF0 7C 7A 1B 79 */ or. r26, r3, r3 /* 80203F94 00200EF4 41 82 00 34 */ beq lbl_80203FC8 /* 80203F98 00200EF8 7F 63 DB 78 */ mr r3, r27 /* 80203F9C 00200EFC 7F C4 F3 78 */ mr r4, r30 /* 80203FA0 00200F00 81 9B 00 00 */ lwz r12, 0(r27) /* 80203FA4 00200F04 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80203FA8 00200F08 7D 89 03 A6 */ mtctr r12 /* 80203FAC 00200F0C 4E 80 04 21 */ bctrl /* 80203FB0 00200F10 7F 43 D3 78 */ mr r3, r26 /* 80203FB4 00200F14 7F C4 F3 78 */ mr r4, r30 /* 80203FB8 00200F18 81 9A 00 00 */ lwz r12, 0(r26) /* 80203FBC 00200F1C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80203FC0 00200F20 7D 89 03 A6 */ mtctr r12 /* 80203FC4 00200F24 4E 80 04 21 */ bctrl lbl_80203FC8: /* 80203FC8 00200F28 3B 9C 00 01 */ addi r28, r28, 1 /* 80203FCC 00200F2C 3B FF 00 02 */ addi r31, r31, 2 lbl_80203FD0: /* 80203FD0 00200F30 7C 1C E8 40 */ cmplw r28, r29 /* 80203FD4 00200F34 41 80 FF 6C */ blt lbl_80203F40 /* 80203FD8 00200F38 BB 01 00 20 */ lmw r24, 0x20(r1) /* 80203FDC 00200F3C 80 01 00 44 */ lwz r0, 0x44(r1) /* 80203FE0 00200F40 7C 08 03 A6 */ mtlr r0 /* 80203FE4 00200F44 38 21 00 40 */ addi r1, r1, 0x40 /* 80203FE8 00200F48 4E 80 00 20 */ blr .global UpdateDestroyableRockCollisionActors__22CThardusRockProjectileFR13CStateManager UpdateDestroyableRockCollisionActors__22CThardusRockProjectileFR13CStateManager: /* 80203FEC 00200F4C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80203FF0 00200F50 7C 08 02 A6 */ mflr r0 /* 80203FF4 00200F54 90 01 00 84 */ stw r0, 0x84(r1) /* 80203FF8 00200F58 BE E1 00 5C */ stmw r23, 0x5c(r1) /* 80203FFC 00200F5C 7C 79 1B 78 */ mr r25, r3 /* 80204000 00200F60 7C 9A 23 78 */ mr r26, r4 /* 80204004 00200F64 80 63 05 78 */ lwz r3, 0x578(r3) /* 80204008 00200F68 4B FA 32 41 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8020400C 00200F6C 7C 7E 1B 78 */ mr r30, r3 /* 80204010 00200F70 3B 80 00 00 */ li r28, 0 /* 80204014 00200F74 3B 00 00 00 */ li r24, 0 /* 80204018 00200F78 48 00 02 0C */ b lbl_80204224 lbl_8020401C: /* 8020401C 00200F7C 80 79 05 78 */ lwz r3, 0x578(r25) /* 80204020 00200F80 7F 84 E3 78 */ mr r4, r28 /* 80204024 00200F84 4B FA 32 15 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80204028 00200F88 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8020402C 00200F8C 7F 43 D3 78 */ mr r3, r26 /* 80204030 00200F90 38 81 00 0C */ addi r4, r1, 0xc /* 80204034 00200F94 B0 01 00 14 */ sth r0, 0x14(r1) /* 80204038 00200F98 B0 01 00 0C */ sth r0, 0xc(r1) /* 8020403C 00200F9C 4B E4 85 39 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80204040 00200FA0 7C 64 1B 78 */ mr r4, r3 /* 80204044 00200FA4 38 61 00 18 */ addi r3, r1, 0x18 /* 80204048 00200FA8 4B EA B3 05 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8020404C 00200FAC 83 A3 00 04 */ lwz r29, 4(r3) /* 80204050 00200FB0 28 1D 00 00 */ cmplwi r29, 0 /* 80204054 00200FB4 41 82 01 C8 */ beq lbl_8020421C /* 80204058 00200FB8 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8020405C 00200FBC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80204060 00200FC0 41 82 01 BC */ beq lbl_8020421C /* 80204064 00200FC4 80 B9 05 98 */ lwz r5, 0x598(r25) /* 80204068 00200FC8 7F 43 D3 78 */ mr r3, r26 /* 8020406C 00200FCC 38 81 00 08 */ addi r4, r1, 8 /* 80204070 00200FD0 7C 05 C2 2E */ lhzx r0, r5, r24 /* 80204074 00200FD4 B0 01 00 10 */ sth r0, 0x10(r1) /* 80204078 00200FD8 B0 01 00 08 */ sth r0, 8(r1) /* 8020407C 00200FDC 4B E4 84 F9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80204080 00200FE0 7C 7B 1B 79 */ or. r27, r3, r3 /* 80204084 00200FE4 41 82 01 98 */ beq lbl_8020421C /* 80204088 00200FE8 81 83 00 00 */ lwz r12, 0(r3) /* 8020408C 00200FEC 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80204090 00200FF0 7D 89 03 A6 */ mtctr r12 /* 80204094 00200FF4 4E 80 04 21 */ bctrl /* 80204098 00200FF8 7C 64 1B 78 */ mr r4, r3 /* 8020409C 00200FFC 7F A3 EB 78 */ mr r3, r29 /* 802040A0 00201000 4B FA 4A F9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 802040A4 00201004 7F A3 EB 78 */ mr r3, r29 /* 802040A8 00201008 7F 44 D3 78 */ mr r4, r26 /* 802040AC 0020100C 81 9D 00 00 */ lwz r12, 0(r29) /* 802040B0 00201010 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802040B4 00201014 7D 89 03 A6 */ mtctr r12 /* 802040B8 00201018 4E 80 04 21 */ bctrl /* 802040BC 0020101C 7C 7F 1B 78 */ mr r31, r3 /* 802040C0 00201020 7F 63 DB 78 */ mr r3, r27 /* 802040C4 00201024 81 9B 00 00 */ lwz r12, 0(r27) /* 802040C8 00201028 7F 44 D3 78 */ mr r4, r26 /* 802040CC 0020102C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802040D0 00201030 7D 89 03 A6 */ mtctr r12 /* 802040D4 00201034 4E 80 04 21 */ bctrl /* 802040D8 00201038 C0 1F 00 00 */ lfs f0, 0(r31) /* 802040DC 0020103C 38 80 00 00 */ li r4, 0 /* 802040E0 00201040 D0 03 00 00 */ stfs f0, 0(r3) /* 802040E4 00201044 C0 1F 00 04 */ lfs f0, 4(r31) /* 802040E8 00201048 D0 03 00 04 */ stfs f0, 4(r3) /* 802040EC 0020104C 88 19 05 BC */ lbz r0, 0x5bc(r25) /* 802040F0 00201050 28 00 00 00 */ cmplwi r0, 0 /* 802040F4 00201054 41 82 00 14 */ beq lbl_80204108 /* 802040F8 00201058 80 19 05 6C */ lwz r0, 0x56c(r25) /* 802040FC 0020105C 2C 00 00 03 */ cmpwi r0, 3 /* 80204100 00201060 41 82 00 08 */ beq lbl_80204108 /* 80204104 00201064 38 80 00 01 */ li r4, 1 lbl_80204108: /* 80204108 00201068 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8020410C 0020106C 41 82 00 38 */ beq lbl_80204144 /* 80204110 00201070 80 AD 93 78 */ lwz r5, lbl_805A7F38@sda21(r13) /* 80204114 00201074 38 60 00 00 */ li r3, 0 /* 80204118 00201078 38 80 00 01 */ li r4, 1 /* 8020411C 0020107C 48 18 5D D9 */ bl __shl2i /* 80204120 00201080 38 A0 00 00 */ li r5, 0 /* 80204124 00201084 38 00 00 01 */ li r0, 1 /* 80204128 00201088 90 81 00 3C */ stw r4, 0x3c(r1) /* 8020412C 0020108C 3A E1 00 38 */ addi r23, r1, 0x38 /* 80204130 00201090 90 61 00 38 */ stw r3, 0x38(r1) /* 80204134 00201094 90 A1 00 44 */ stw r5, 0x44(r1) /* 80204138 00201098 90 A1 00 40 */ stw r5, 0x40(r1) /* 8020413C 0020109C 90 01 00 48 */ stw r0, 0x48(r1) /* 80204140 002010A0 48 00 00 34 */ b lbl_80204174 lbl_80204144: /* 80204144 002010A4 80 AD 93 7C */ lwz r5, lbl_805A7F3C@sda21(r13) /* 80204148 002010A8 38 60 00 00 */ li r3, 0 /* 8020414C 002010AC 38 80 00 01 */ li r4, 1 /* 80204150 002010B0 48 18 5D A5 */ bl __shl2i /* 80204154 002010B4 38 A0 00 00 */ li r5, 0 /* 80204158 002010B8 38 00 00 01 */ li r0, 1 /* 8020415C 002010BC 90 81 00 24 */ stw r4, 0x24(r1) /* 80204160 002010C0 3A E1 00 20 */ addi r23, r1, 0x20 /* 80204164 002010C4 90 61 00 20 */ stw r3, 0x20(r1) /* 80204168 002010C8 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8020416C 002010CC 90 A1 00 28 */ stw r5, 0x28(r1) /* 80204170 002010D0 90 01 00 30 */ stw r0, 0x30(r1) lbl_80204174: /* 80204174 002010D4 7F A3 EB 78 */ mr r3, r29 /* 80204178 002010D8 81 9D 00 00 */ lwz r12, 0(r29) /* 8020417C 002010DC 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 80204180 002010E0 7D 89 03 A6 */ mtctr r12 /* 80204184 002010E4 4E 80 04 21 */ bctrl /* 80204188 002010E8 7C 64 1B 78 */ mr r4, r3 /* 8020418C 002010EC 7F 43 D3 78 */ mr r3, r26 /* 80204190 002010F0 7E E6 BB 78 */ mr r6, r23 /* 80204194 002010F4 38 BD 00 34 */ addi r5, r29, 0x34 /* 80204198 002010F8 4B F7 F2 09 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter /* 8020419C 002010FC C0 3F 00 00 */ lfs f1, 0(r31) /* 802041A0 00201100 C0 02 B0 A0 */ lfs f0, lbl_805ACDC0@sda21(r2) /* 802041A4 00201104 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802041A8 00201108 4C 40 13 82 */ cror 2, 0, 2 /* 802041AC 0020110C 41 82 00 18 */ beq lbl_802041C4 /* 802041B0 00201110 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802041B4 00201114 41 82 00 68 */ beq lbl_8020421C /* 802041B8 00201118 88 19 05 A4 */ lbz r0, 0x5a4(r25) /* 802041BC 0020111C 28 00 00 00 */ cmplwi r0, 0 /* 802041C0 00201120 41 82 00 5C */ beq lbl_8020421C lbl_802041C4: /* 802041C4 00201124 7F 63 DB 78 */ mr r3, r27 /* 802041C8 00201128 38 80 00 00 */ li r4, 0 /* 802041CC 0020112C 81 9B 00 00 */ lwz r12, 0(r27) /* 802041D0 00201130 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 802041D4 00201134 7D 89 03 A6 */ mtctr r12 /* 802041D8 00201138 4E 80 04 21 */ bctrl /* 802041DC 0020113C 7F A3 EB 78 */ mr r3, r29 /* 802041E0 00201140 38 80 00 00 */ li r4, 0 /* 802041E4 00201144 81 9D 00 00 */ lwz r12, 0(r29) /* 802041E8 00201148 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 802041EC 0020114C 7D 89 03 A6 */ mtctr r12 /* 802041F0 00201150 4E 80 04 21 */ bctrl /* 802041F4 00201154 80 79 05 A0 */ lwz r3, 0x5a0(r25) /* 802041F8 00201158 C0 02 B0 A0 */ lfs f0, lbl_805ACDC0@sda21(r2) /* 802041FC 0020115C 38 03 00 01 */ addi r0, r3, 1 /* 80204200 00201160 90 19 05 A0 */ stw r0, 0x5a0(r25) /* 80204204 00201164 C0 3F 00 00 */ lfs f1, 0(r31) /* 80204208 00201168 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020420C 0020116C 4C 40 13 82 */ cror 2, 0, 2 /* 80204210 00201170 40 82 00 0C */ bne lbl_8020421C /* 80204214 00201174 38 00 00 01 */ li r0, 1 /* 80204218 00201178 98 19 05 DD */ stb r0, 0x5dd(r25) lbl_8020421C: /* 8020421C 0020117C 3B 9C 00 01 */ addi r28, r28, 1 /* 80204220 00201180 3B 18 00 02 */ addi r24, r24, 2 lbl_80204224: /* 80204224 00201184 7C 1C F0 40 */ cmplw r28, r30 /* 80204228 00201188 41 80 FD F4 */ blt lbl_8020401C /* 8020422C 0020118C BA E1 00 5C */ lmw r23, 0x5c(r1) /* 80204230 00201190 80 01 00 84 */ lwz r0, 0x84(r1) /* 80204234 00201194 7C 08 03 A6 */ mtlr r0 /* 80204238 00201198 38 21 00 80 */ addi r1, r1, 0x80 /* 8020423C 0020119C 4E 80 00 20 */ blr .global UpdateDestroyableRockPositions__22CThardusRockProjectileFR13CStateManager UpdateDestroyableRockPositions__22CThardusRockProjectileFR13CStateManager: /* 80204240 002011A0 94 21 FE B0 */ stwu r1, -0x150(r1) /* 80204244 002011A4 7C 08 02 A6 */ mflr r0 /* 80204248 002011A8 90 01 01 54 */ stw r0, 0x154(r1) /* 8020424C 002011AC BE E1 01 2C */ stmw r23, 0x12c(r1) /* 80204250 002011B0 7C 7B 1B 78 */ mr r27, r3 /* 80204254 002011B4 7C 9C 23 78 */ mr r28, r4 /* 80204258 002011B8 3B 01 00 2C */ addi r24, r1, 0x2c /* 8020425C 002011BC 3B 3B 00 34 */ addi r25, r27, 0x34 /* 80204260 002011C0 3B A0 00 00 */ li r29, 0 /* 80204264 002011C4 3B 40 00 00 */ li r26, 0 /* 80204268 002011C8 3B E2 B0 78 */ addi r31, r2, lbl_805ACD98@sda21 /* 8020426C 002011CC 80 63 00 64 */ lwz r3, 0x64(r3) /* 80204270 002011D0 83 DB 05 90 */ lwz r30, 0x590(r27) /* 80204274 002011D4 C0 03 00 00 */ lfs f0, 0(r3) /* 80204278 002011D8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8020427C 002011DC C0 03 00 04 */ lfs f0, 4(r3) /* 80204280 002011E0 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80204284 002011E4 C0 03 00 08 */ lfs f0, 8(r3) /* 80204288 002011E8 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8020428C 002011EC 48 00 00 E4 */ b lbl_80204370 lbl_80204290: /* 80204290 002011F0 80 9F 00 00 */ lwz r4, 0(r31) /* 80204294 002011F4 38 61 00 1C */ addi r3, r1, 0x1c /* 80204298 002011F8 38 C1 00 08 */ addi r6, r1, 8 /* 8020429C 002011FC 38 A0 FF FF */ li r5, -1 /* 802042A0 00201200 48 13 9E F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 802042A4 00201204 80 9B 00 64 */ lwz r4, 0x64(r27) /* 802042A8 00201208 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802042AC 0020120C 38 A1 00 1C */ addi r5, r1, 0x1c /* 802042B0 00201210 38 C0 00 00 */ li r6, 0 /* 802042B4 00201214 80 84 00 10 */ lwz r4, 0x10(r4) /* 802042B8 00201218 4B E2 80 C9 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" /* 802042BC 0020121C 38 61 00 F8 */ addi r3, r1, 0xf8 /* 802042C0 00201220 38 81 00 C8 */ addi r4, r1, 0xc8 /* 802042C4 00201224 48 10 E8 B1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802042C8 00201228 38 61 00 1C */ addi r3, r1, 0x1c /* 802042CC 0020122C 48 13 98 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802042D0 00201230 80 BB 05 98 */ lwz r5, 0x598(r27) /* 802042D4 00201234 7F 83 E3 78 */ mr r3, r28 /* 802042D8 00201238 38 81 00 0C */ addi r4, r1, 0xc /* 802042DC 0020123C 7C 05 D2 2E */ lhzx r0, r5, r26 /* 802042E0 00201240 B0 01 00 10 */ sth r0, 0x10(r1) /* 802042E4 00201244 B0 01 00 0C */ sth r0, 0xc(r1) /* 802042E8 00201248 4B E4 82 8D */ bl ObjectById__13CStateManagerF9TUniqueId /* 802042EC 0020124C 7C 64 1B 78 */ mr r4, r3 /* 802042F0 00201250 38 61 00 14 */ addi r3, r1, 0x14 /* 802042F4 00201254 4B EA B9 9D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 802042F8 00201258 82 E3 00 04 */ lwz r23, 4(r3) /* 802042FC 0020125C 28 17 00 00 */ cmplwi r23, 0 /* 80204300 00201260 41 82 00 64 */ beq lbl_80204364 /* 80204304 00201264 7F 04 C3 78 */ mr r4, r24 /* 80204308 00201268 38 61 00 38 */ addi r3, r1, 0x38 /* 8020430C 0020126C 48 10 EE B9 */ bl Scale__12CTransform4fFRC9CVector3f /* 80204310 00201270 38 61 00 68 */ addi r3, r1, 0x68 /* 80204314 00201274 38 81 00 38 */ addi r4, r1, 0x38 /* 80204318 00201278 38 A1 00 F8 */ addi r5, r1, 0xf8 /* 8020431C 0020127C 48 10 E6 35 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80204320 00201280 7F 24 CB 78 */ mr r4, r25 /* 80204324 00201284 38 61 00 98 */ addi r3, r1, 0x98 /* 80204328 00201288 38 A1 00 68 */ addi r5, r1, 0x68 /* 8020432C 0020128C 48 10 E6 25 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80204330 00201290 38 77 00 34 */ addi r3, r23, 0x34 /* 80204334 00201294 38 81 00 98 */ addi r4, r1, 0x98 /* 80204338 00201298 48 10 E8 09 */ bl __as__12CTransform4fFRC12CTransform4f /* 8020433C 0020129C 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 80204340 002012A0 38 60 00 01 */ li r3, 1 /* 80204344 002012A4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80204348 002012A8 98 17 00 E4 */ stb r0, 0xe4(r23) /* 8020434C 002012AC 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 80204350 002012B0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80204354 002012B4 98 17 00 E4 */ stb r0, 0xe4(r23) /* 80204358 002012B8 88 17 00 E4 */ lbz r0, 0xe4(r23) /* 8020435C 002012BC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80204360 002012C0 98 17 00 E4 */ stb r0, 0xe4(r23) lbl_80204364: /* 80204364 002012C4 3B FF 00 08 */ addi r31, r31, 8 /* 80204368 002012C8 3B BD 00 01 */ addi r29, r29, 1 /* 8020436C 002012CC 3B 5A 00 02 */ addi r26, r26, 2 lbl_80204370: /* 80204370 002012D0 7C 1D F0 40 */ cmplw r29, r30 /* 80204374 002012D4 41 80 FF 1C */ blt lbl_80204290 /* 80204378 002012D8 BA E1 01 2C */ lmw r23, 0x12c(r1) /* 8020437C 002012DC 80 01 01 54 */ lwz r0, 0x154(r1) /* 80204380 002012E0 7C 08 03 A6 */ mtlr r0 /* 80204384 002012E4 38 21 01 50 */ addi r1, r1, 0x150 /* 80204388 002012E8 4E 80 00 20 */ blr .global sub_8020438c sub_8020438c: /* 8020438C 002012EC 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 80204390 002012F0 7C 08 02 A6 */ mflr r0 /* 80204394 002012F4 90 01 00 E4 */ stw r0, 0xe4(r1) /* 80204398 002012F8 BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 8020439C 002012FC 7C B9 2B 78 */ mr r25, r5 /* 802043A0 00201300 7C DA 33 78 */ mr r26, r6 /* 802043A4 00201304 7C 9E 23 78 */ mr r30, r4 /* 802043A8 00201308 3B A1 00 60 */ addi r29, r1, 0x60 /* 802043AC 0020130C 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 802043B0 00201310 3B 60 00 00 */ li r27, 0 /* 802043B4 00201314 80 63 00 64 */ lwz r3, 0x64(r3) /* 802043B8 00201318 83 E3 00 10 */ lwz r31, 0x10(r3) /* 802043BC 0020131C 48 00 01 20 */ b lbl_802044DC lbl_802043C0: /* 802043C0 00201320 80 9E 00 00 */ lwz r4, 0(r30) /* 802043C4 00201324 38 61 00 24 */ addi r3, r1, 0x24 /* 802043C8 00201328 4B E0 08 F1 */ bl string_l__4rstlFPCc /* 802043CC 0020132C 7F E4 FB 78 */ mr r4, r31 /* 802043D0 00201330 38 61 00 0C */ addi r3, r1, 0xc /* 802043D4 00201334 38 A1 00 24 */ addi r5, r1, 0x24 /* 802043D8 00201338 4B E2 A4 61 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802043DC 0020133C 88 01 00 0C */ lbz r0, 0xc(r1) /* 802043E0 00201340 38 61 00 24 */ addi r3, r1, 0x24 /* 802043E4 00201344 98 01 00 10 */ stb r0, 0x10(r1) /* 802043E8 00201348 48 13 96 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802043EC 0020134C 88 01 00 10 */ lbz r0, 0x10(r1) /* 802043F0 00201350 28 00 00 FF */ cmplwi r0, 0xff /* 802043F4 00201354 41 82 00 E0 */ beq lbl_802044D4 /* 802043F8 00201358 80 9E 00 00 */ lwz r4, 0(r30) /* 802043FC 0020135C 38 61 00 14 */ addi r3, r1, 0x14 /* 80204400 00201360 4B E0 08 B9 */ bl string_l__4rstlFPCc /* 80204404 00201364 88 01 00 10 */ lbz r0, 0x10(r1) /* 80204408 00201368 38 61 00 34 */ addi r3, r1, 0x34 /* 8020440C 0020136C C0 3E 00 04 */ lfs f1, 4(r30) /* 80204410 00201370 38 81 00 08 */ addi r4, r1, 8 /* 80204414 00201374 98 01 00 08 */ stb r0, 8(r1) /* 80204418 00201378 38 A1 00 14 */ addi r5, r1, 0x14 /* 8020441C 0020137C C0 42 B0 A4 */ lfs f2, lbl_805ACDC4@sda21(r2) /* 80204420 00201380 4B FA 43 ED */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 80204424 00201384 80 E1 00 34 */ lwz r7, 0x34(r1) /* 80204428 00201388 7F 83 E3 78 */ mr r3, r28 /* 8020442C 0020138C 80 C1 00 38 */ lwz r6, 0x38(r1) /* 80204430 00201390 7F A4 EB 78 */ mr r4, r29 /* 80204434 00201394 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 80204438 00201398 88 01 00 3D */ lbz r0, 0x3d(r1) /* 8020443C 0020139C C0 E1 00 40 */ lfs f7, 0x40(r1) /* 80204440 002013A0 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 80204444 002013A4 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 80204448 002013A8 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 8020444C 002013AC C0 61 00 50 */ lfs f3, 0x50(r1) /* 80204450 002013B0 C0 41 00 54 */ lfs f2, 0x54(r1) /* 80204454 002013B4 C0 21 00 58 */ lfs f1, 0x58(r1) /* 80204458 002013B8 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 8020445C 002013BC 90 E1 00 78 */ stw r7, 0x78(r1) /* 80204460 002013C0 90 C1 00 7C */ stw r6, 0x7c(r1) /* 80204464 002013C4 98 A1 00 80 */ stb r5, 0x80(r1) /* 80204468 002013C8 98 01 00 81 */ stb r0, 0x81(r1) /* 8020446C 002013CC D0 E1 00 84 */ stfs f7, 0x84(r1) /* 80204470 002013D0 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 80204474 002013D4 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 80204478 002013D8 D0 81 00 90 */ stfs f4, 0x90(r1) /* 8020447C 002013DC D0 61 00 94 */ stfs f3, 0x94(r1) /* 80204480 002013E0 D0 41 00 98 */ stfs f2, 0x98(r1) /* 80204484 002013E4 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 80204488 002013E8 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8020448C 002013EC 48 13 9C D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80204490 002013F0 A0 01 00 70 */ lhz r0, 0x70(r1) /* 80204494 002013F4 28 1D 00 00 */ cmplwi r29, 0 /* 80204498 002013F8 C0 01 00 74 */ lfs f0, 0x74(r1) /* 8020449C 002013FC B0 01 00 B4 */ sth r0, 0xb4(r1) /* 802044A0 00201400 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 802044A4 00201404 41 82 00 0C */ beq lbl_802044B0 /* 802044A8 00201408 7F A3 EB 78 */ mr r3, r29 /* 802044AC 0020140C 48 13 96 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802044B0: /* 802044B0 00201410 38 61 00 14 */ addi r3, r1, 0x14 /* 802044B4 00201414 48 13 96 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802044B8 00201418 7F 43 D3 78 */ mr r3, r26 /* 802044BC 0020141C 38 81 00 78 */ addi r4, r1, 0x78 /* 802044C0 00201420 4B F5 1D 71 */ bl sub_80156230 /* 802044C4 00201424 28 1C 00 00 */ cmplwi r28, 0 /* 802044C8 00201428 41 82 00 0C */ beq lbl_802044D4 /* 802044CC 0020142C 7F 83 E3 78 */ mr r3, r28 /* 802044D0 00201430 48 13 96 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802044D4: /* 802044D4 00201434 3B DE 00 08 */ addi r30, r30, 8 /* 802044D8 00201438 3B 7B 00 01 */ addi r27, r27, 1 lbl_802044DC: /* 802044DC 0020143C 7C 1B C8 00 */ cmpw r27, r25 /* 802044E0 00201440 41 80 FE E0 */ blt lbl_802043C0 /* 802044E4 00201444 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 802044E8 00201448 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 802044EC 0020144C 7C 08 03 A6 */ mtlr r0 /* 802044F0 00201450 38 21 00 E0 */ addi r1, r1, 0xe0 /* 802044F4 00201454 4E 80 00 20 */ blr .global "SetMaterialProperties__22CThardusRockProjectileFRQ24rstl36single_ptr<22CCollisionActorManager>R13CStateManager" "SetMaterialProperties__22CThardusRockProjectileFRQ24rstl36single_ptr<22CCollisionActorManager>R13CStateManager": /* 802044F8 00201458 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802044FC 0020145C 7C 08 02 A6 */ mflr r0 /* 80204500 00201460 90 01 00 64 */ stw r0, 0x64(r1) /* 80204504 00201464 BE A1 00 34 */ stmw r21, 0x34(r1) /* 80204508 00201468 7C 7B 1B 78 */ mr r27, r3 /* 8020450C 0020146C 7C 9C 23 78 */ mr r28, r4 /* 80204510 00201470 7C BD 2B 78 */ mr r29, r5 /* 80204514 00201474 3B E0 00 00 */ li r31, 0 /* 80204518 00201478 48 00 00 B4 */ b lbl_802045CC lbl_8020451C: /* 8020451C 0020147C 80 7C 00 00 */ lwz r3, 0(r28) /* 80204520 00201480 7F E4 FB 78 */ mr r4, r31 /* 80204524 00201484 4B FA 2D 15 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80204528 00201488 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8020452C 0020148C 7F A3 EB 78 */ mr r3, r29 /* 80204530 00201490 38 81 00 08 */ addi r4, r1, 8 /* 80204534 00201494 B0 01 00 0C */ sth r0, 0xc(r1) /* 80204538 00201498 B0 01 00 08 */ sth r0, 8(r1) /* 8020453C 0020149C 4B E4 80 39 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80204540 002014A0 7C 7E 1B 79 */ or. r30, r3, r3 /* 80204544 002014A4 41 82 00 84 */ beq lbl_802045C8 /* 80204548 002014A8 7F A5 EB 78 */ mr r5, r29 /* 8020454C 002014AC 38 80 00 1B */ li r4, 0x1b /* 80204550 002014B0 4B E4 FE 01 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80204554 002014B4 7F 63 DB 78 */ mr r3, r27 /* 80204558 002014B8 4B E4 F3 65 */ bl GetMaterialFilter__6CActorCFv /* 8020455C 002014BC 83 43 00 00 */ lwz r26, 0(r3) /* 80204560 002014C0 83 23 00 04 */ lwz r25, 4(r3) /* 80204564 002014C4 7F 63 DB 78 */ mr r3, r27 /* 80204568 002014C8 4B E4 F3 55 */ bl GetMaterialFilter__6CActorCFv /* 8020456C 002014CC 83 03 00 08 */ lwz r24, 8(r3) /* 80204570 002014D0 82 E3 00 0C */ lwz r23, 0xc(r3) /* 80204574 002014D4 7F C3 F3 78 */ mr r3, r30 /* 80204578 002014D8 4B E4 F3 45 */ bl GetMaterialFilter__6CActorCFv /* 8020457C 002014DC 82 C3 00 00 */ lwz r22, 0(r3) /* 80204580 002014E0 82 A3 00 04 */ lwz r21, 4(r3) /* 80204584 002014E4 7F C3 F3 78 */ mr r3, r30 /* 80204588 002014E8 4B E4 F3 35 */ bl GetMaterialFilter__6CActorCFv /* 8020458C 002014EC 80 03 00 08 */ lwz r0, 8(r3) /* 80204590 002014F0 7F 24 AB 78 */ or r4, r25, r21 /* 80204594 002014F4 80 63 00 0C */ lwz r3, 0xc(r3) /* 80204598 002014F8 7F 45 B3 78 */ or r5, r26, r22 /* 8020459C 002014FC 7F 06 03 78 */ or r6, r24, r0 /* 802045A0 00201500 38 00 00 03 */ li r0, 3 /* 802045A4 00201504 7E E7 1B 78 */ or r7, r23, r3 /* 802045A8 00201508 90 81 00 14 */ stw r4, 0x14(r1) /* 802045AC 0020150C 7F C3 F3 78 */ mr r3, r30 /* 802045B0 00201510 38 81 00 10 */ addi r4, r1, 0x10 /* 802045B4 00201514 90 A1 00 10 */ stw r5, 0x10(r1) /* 802045B8 00201518 90 E1 00 1C */ stw r7, 0x1c(r1) /* 802045BC 0020151C 90 C1 00 18 */ stw r6, 0x18(r1) /* 802045C0 00201520 90 01 00 20 */ stw r0, 0x20(r1) /* 802045C4 00201524 4B E4 F2 DD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter lbl_802045C8: /* 802045C8 00201528 3B FF 00 01 */ addi r31, r31, 1 lbl_802045CC: /* 802045CC 0020152C 80 7C 00 00 */ lwz r3, 0(r28) /* 802045D0 00201530 4B FA 2C 79 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 802045D4 00201534 7C 1F 18 40 */ cmplw r31, r3 /* 802045D8 00201538 41 80 FF 44 */ blt lbl_8020451C /* 802045DC 0020153C BA A1 00 34 */ lmw r21, 0x34(r1) /* 802045E0 00201540 80 01 00 64 */ lwz r0, 0x64(r1) /* 802045E4 00201544 7C 08 03 A6 */ mtlr r0 /* 802045E8 00201548 38 21 00 60 */ addi r1, r1, 0x60 /* 802045EC 0020154C 4E 80 00 20 */ blr .global InitializeCollisionManager__22CThardusRockProjectileFR13CStateManager InitializeCollisionManager__22CThardusRockProjectileFR13CStateManager: /* 802045F0 00201550 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802045F4 00201554 7C 08 02 A6 */ mflr r0 /* 802045F8 00201558 90 01 00 64 */ stw r0, 0x64(r1) /* 802045FC 0020155C 38 00 00 00 */ li r0, 0 /* 80204600 00201560 BF 21 00 44 */ stmw r25, 0x44(r1) /* 80204604 00201564 7C 7E 1B 78 */ mr r30, r3 /* 80204608 00201568 7C 9F 23 78 */ mr r31, r4 /* 8020460C 0020156C 38 61 00 30 */ addi r3, r1, 0x30 /* 80204610 00201570 38 80 00 01 */ li r4, 1 /* 80204614 00201574 90 01 00 34 */ stw r0, 0x34(r1) /* 80204618 00201578 90 01 00 38 */ stw r0, 0x38(r1) /* 8020461C 0020157C 90 01 00 3C */ stw r0, 0x3c(r1) /* 80204620 00201580 4B F5 21 99 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 80204624 00201584 7F C3 F3 78 */ mr r3, r30 /* 80204628 00201588 38 C1 00 30 */ addi r6, r1, 0x30 /* 8020462C 0020158C 38 82 B0 78 */ addi r4, r2, lbl_805ACD98@sda21 /* 80204630 00201590 38 A0 00 01 */ li r5, 1 /* 80204634 00201594 4B FF FD 59 */ bl sub_8020438c /* 80204638 00201598 3C 80 80 3D */ lis r4, lbl_803D2590@ha /* 8020463C 0020159C 38 60 00 18 */ li r3, 0x18 /* 80204640 002015A0 38 84 25 90 */ addi r4, r4, lbl_803D2590@l /* 80204644 002015A4 38 A0 00 00 */ li r5, 0 /* 80204648 002015A8 38 84 00 34 */ addi r4, r4, 0x34 /* 8020464C 002015AC 48 11 12 21 */ bl __nw__FUlPCcPCc /* 80204650 002015B0 7C 7B 1B 79 */ or. r27, r3, r3 /* 80204654 002015B4 41 82 00 38 */ beq lbl_8020468C /* 80204658 002015B8 81 3E 00 04 */ lwz r9, 4(r30) /* 8020465C 002015BC 7F E4 FB 78 */ mr r4, r31 /* 80204660 002015C0 38 A1 00 14 */ addi r5, r1, 0x14 /* 80204664 002015C4 38 C1 00 24 */ addi r6, r1, 0x24 /* 80204668 002015C8 91 21 00 24 */ stw r9, 0x24(r1) /* 8020466C 002015CC 38 E1 00 30 */ addi r7, r1, 0x30 /* 80204670 002015D0 39 00 00 01 */ li r8, 1 /* 80204674 002015D4 A0 1E 00 08 */ lhz r0, 8(r30) /* 80204678 002015D8 91 21 00 20 */ stw r9, 0x20(r1) /* 8020467C 002015DC B0 01 00 10 */ sth r0, 0x10(r1) /* 80204680 002015E0 B0 01 00 14 */ sth r0, 0x14(r1) /* 80204684 002015E4 4B FA 32 AD */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 80204688 002015E8 7C 7B 1B 78 */ mr r27, r3 lbl_8020468C: /* 8020468C 002015EC 80 7E 05 78 */ lwz r3, 0x578(r30) /* 80204690 002015F0 38 80 00 01 */ li r4, 1 /* 80204694 002015F4 4B FA 32 49 */ bl sub_801a78dc /* 80204698 002015F8 93 7E 05 78 */ stw r27, 0x578(r30) /* 8020469C 002015FC 7F C3 F3 78 */ mr r3, r30 /* 802046A0 00201600 7F E5 FB 78 */ mr r5, r31 /* 802046A4 00201604 38 9E 05 78 */ addi r4, r30, 0x578 /* 802046A8 00201608 4B FF FE 51 */ bl "SetMaterialProperties__22CThardusRockProjectileFRQ24rstl36single_ptr<22CCollisionActorManager>R13CStateManager" /* 802046AC 0020160C 80 7E 05 78 */ lwz r3, 0x578(r30) /* 802046B0 00201610 4B FA 2B 99 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 802046B4 00201614 7C 7B 1B 78 */ mr r27, r3 /* 802046B8 00201618 3B 20 00 00 */ li r25, 0 /* 802046BC 0020161C 3B A0 00 00 */ li r29, 0 /* 802046C0 00201620 48 00 00 D4 */ b lbl_80204794 lbl_802046C4: /* 802046C4 00201624 80 7E 05 78 */ lwz r3, 0x578(r30) /* 802046C8 00201628 7F 24 CB 78 */ mr r4, r25 /* 802046CC 0020162C 4B FA 2B 6D */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 802046D0 00201630 80 BE 05 98 */ lwz r5, 0x598(r30) /* 802046D4 00201634 38 81 00 0C */ addi r4, r1, 0xc /* 802046D8 00201638 A0 C3 00 3C */ lhz r6, 0x3c(r3) /* 802046DC 0020163C 7F E3 FB 78 */ mr r3, r31 /* 802046E0 00201640 7C 05 EA 2E */ lhzx r0, r5, r29 /* 802046E4 00201644 B0 C1 00 1C */ sth r6, 0x1c(r1) /* 802046E8 00201648 B0 01 00 18 */ sth r0, 0x18(r1) /* 802046EC 0020164C B0 01 00 0C */ sth r0, 0xc(r1) /* 802046F0 00201650 4B E4 7E B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802046F4 00201654 7C 7C 1B 79 */ or. r28, r3, r3 /* 802046F8 00201658 41 82 00 94 */ beq lbl_8020478C /* 802046FC 0020165C A0 01 00 1C */ lhz r0, 0x1c(r1) /* 80204700 00201660 7F E3 FB 78 */ mr r3, r31 /* 80204704 00201664 38 81 00 08 */ addi r4, r1, 8 /* 80204708 00201668 B0 01 00 08 */ sth r0, 8(r1) /* 8020470C 0020166C 4B E4 7E 69 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80204710 00201670 7C 64 1B 78 */ mr r4, r3 /* 80204714 00201674 38 61 00 28 */ addi r3, r1, 0x28 /* 80204718 00201678 4B EA AC 35 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8020471C 0020167C 83 43 00 04 */ lwz r26, 4(r3) /* 80204720 00201680 28 1A 00 00 */ cmplwi r26, 0 /* 80204724 00201684 41 82 00 68 */ beq lbl_8020478C /* 80204728 00201688 7F 83 E3 78 */ mr r3, r28 /* 8020472C 0020168C 81 9C 00 00 */ lwz r12, 0(r28) /* 80204730 00201690 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80204734 00201694 7D 89 03 A6 */ mtctr r12 /* 80204738 00201698 4E 80 04 21 */ bctrl /* 8020473C 0020169C 7C 64 1B 78 */ mr r4, r3 /* 80204740 002016A0 7F 43 D3 78 */ mr r3, r26 /* 80204744 002016A4 4B FA 44 55 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 80204748 002016A8 7F 83 E3 78 */ mr r3, r28 /* 8020474C 002016AC 7F E4 FB 78 */ mr r4, r31 /* 80204750 002016B0 81 9C 00 00 */ lwz r12, 0(r28) /* 80204754 002016B4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80204758 002016B8 7D 89 03 A6 */ mtctr r12 /* 8020475C 002016BC 4E 80 04 21 */ bctrl /* 80204760 002016C0 7C 7C 1B 78 */ mr r28, r3 /* 80204764 002016C4 7F 43 D3 78 */ mr r3, r26 /* 80204768 002016C8 81 9A 00 00 */ lwz r12, 0(r26) /* 8020476C 002016CC 7F E4 FB 78 */ mr r4, r31 /* 80204770 002016D0 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80204774 002016D4 7D 89 03 A6 */ mtctr r12 /* 80204778 002016D8 4E 80 04 21 */ bctrl /* 8020477C 002016DC C0 1C 00 00 */ lfs f0, 0(r28) /* 80204780 002016E0 D0 03 00 00 */ stfs f0, 0(r3) /* 80204784 002016E4 C0 1C 00 04 */ lfs f0, 4(r28) /* 80204788 002016E8 D0 03 00 04 */ stfs f0, 4(r3) lbl_8020478C: /* 8020478C 002016EC 3B 39 00 01 */ addi r25, r25, 1 /* 80204790 002016F0 3B BD 00 02 */ addi r29, r29, 2 lbl_80204794: /* 80204794 002016F4 7C 19 D8 40 */ cmplw r25, r27 /* 80204798 002016F8 41 80 FF 2C */ blt lbl_802046C4 /* 8020479C 002016FC 38 61 00 30 */ addi r3, r1, 0x30 /* 802047A0 00201700 38 80 FF FF */ li r4, -1 /* 802047A4 00201704 4B F5 1B 89 */ bl sub_8015632c /* 802047A8 00201708 BB 21 00 44 */ lmw r25, 0x44(r1) /* 802047AC 0020170C 80 01 00 64 */ lwz r0, 0x64(r1) /* 802047B0 00201710 7C 08 03 A6 */ mtlr r0 /* 802047B4 00201714 38 21 00 60 */ addi r1, r1, 0x60 /* 802047B8 00201718 4E 80 00 20 */ blr .global Delay__22CThardusRockProjectileFR13CStateManagerf Delay__22CThardusRockProjectileFR13CStateManagerf: /* 802047BC 0020171C C0 23 03 38 */ lfs f1, 0x338(r3) /* 802047C0 00201720 C0 03 05 A8 */ lfs f0, 0x5a8(r3) /* 802047C4 00201724 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802047C8 00201728 7C 00 00 26 */ mfcr r0 /* 802047CC 0020172C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 802047D0 00201730 4E 80 00 20 */ blr .global sub_802047d4 sub_802047d4: /* 802047D4 00201734 80 03 05 74 */ lwz r0, 0x574(r3) /* 802047D8 00201738 20 00 00 03 */ subfic r0, r0, 3 /* 802047DC 0020173C 7C 00 00 34 */ cntlzw r0, r0 /* 802047E0 00201740 54 03 D9 7E */ srwi r3, r0, 5 /* 802047E4 00201744 4E 80 00 20 */ blr .global HitSomething__22CThardusRockProjectileFR13CStateManagerf HitSomething__22CThardusRockProjectileFR13CStateManagerf: /* 802047E8 00201748 88 63 05 72 */ lbz r3, 0x572(r3) /* 802047EC 0020174C 4E 80 00 20 */ blr .global ShouldAttack__22CThardusRockProjectileFR13CStateManagerf ShouldAttack__22CThardusRockProjectileFR13CStateManagerf: /* 802047F0 00201750 C0 23 03 38 */ lfs f1, 0x338(r3) /* 802047F4 00201754 C0 03 05 AC */ lfs f0, 0x5ac(r3) /* 802047F8 00201758 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802047FC 0020175C 40 81 00 20 */ ble lbl_8020481C /* 80204800 00201760 80 03 05 6C */ lwz r0, 0x56c(r3) /* 80204804 00201764 2C 00 00 03 */ cmpwi r0, 3 /* 80204808 00201768 41 82 00 14 */ beq lbl_8020481C /* 8020480C 0020176C 38 00 00 02 */ li r0, 2 /* 80204810 00201770 90 03 05 6C */ stw r0, 0x56c(r3) /* 80204814 00201774 38 60 00 01 */ li r3, 1 /* 80204818 00201778 4E 80 00 20 */ blr lbl_8020481C: /* 8020481C 0020177C 38 60 00 00 */ li r3, 0 /* 80204820 00201780 4E 80 00 20 */ blr .global ShouldMove__22CThardusRockProjectileFR13CStateManagerf ShouldMove__22CThardusRockProjectileFR13CStateManagerf: /* 80204824 00201784 80 A3 05 6C */ lwz r5, 0x56c(r3) /* 80204828 00201788 38 00 00 01 */ li r0, 1 /* 8020482C 0020178C 54 03 0F FE */ srwi r3, r0, 0x1f /* 80204830 00201790 7C A4 FE 70 */ srawi r4, r5, 0x1f /* 80204834 00201794 7C 00 28 10 */ subfc r0, r0, r5 /* 80204838 00201798 7C 64 19 14 */ adde r3, r4, r3 /* 8020483C 0020179C 4E 80 00 20 */ blr .global Lurk__22CThardusRockProjectileFR13CStateManager9EStateMsgf Lurk__22CThardusRockProjectileFR13CStateManager9EStateMsgf: /* 80204840 002017A0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80204844 002017A4 7C 08 02 A6 */ mflr r0 /* 80204848 002017A8 2C 05 00 01 */ cmpwi r5, 1 /* 8020484C 002017AC 90 01 00 54 */ stw r0, 0x54(r1) /* 80204850 002017B0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80204854 002017B4 7C 7F 1B 78 */ mr r31, r3 /* 80204858 002017B8 41 82 00 10 */ beq lbl_80204868 /* 8020485C 002017BC 40 80 00 98 */ bge lbl_802048F4 /* 80204860 002017C0 48 00 00 94 */ b lbl_802048F4 /* 80204864 002017C4 48 00 00 90 */ b lbl_802048F4 lbl_80204868: /* 80204868 002017C8 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 8020486C 002017CC 38 61 00 08 */ addi r3, r1, 8 /* 80204870 002017D0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 80204874 002017D4 38 81 00 14 */ addi r4, r1, 0x14 /* 80204878 002017D8 C0 25 00 50 */ lfs f1, 0x50(r5) /* 8020487C 002017DC C0 65 00 60 */ lfs f3, 0x60(r5) /* 80204880 002017E0 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80204884 002017E4 EC 81 00 28 */ fsubs f4, f1, f0 /* 80204888 002017E8 C0 25 00 40 */ lfs f1, 0x40(r5) /* 8020488C 002017EC C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80204890 002017F0 EC 43 10 28 */ fsubs f2, f3, f2 /* 80204894 002017F4 EC 01 00 28 */ fsubs f0, f1, f0 /* 80204898 002017F8 D0 81 00 18 */ stfs f4, 0x18(r1) /* 8020489C 002017FC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 802048A0 00201800 D0 01 00 14 */ stfs f0, 0x14(r1) /* 802048A4 00201804 48 10 FF AD */ bl AsNormalized__9CVector3fCFv /* 802048A8 00201808 3C 60 80 5A */ lis r3, skZero3f@ha /* 802048AC 0020180C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 802048B0 00201810 C0 61 00 08 */ lfs f3, 8(r1) /* 802048B4 00201814 38 81 00 20 */ addi r4, r1, 0x20 /* 802048B8 00201818 C0 41 00 0C */ lfs f2, 0xc(r1) /* 802048BC 0020181C C0 A3 00 04 */ lfs f5, 4(r3) /* 802048C0 00201820 C0 83 00 08 */ lfs f4, 8(r3) /* 802048C4 00201824 C0 21 00 10 */ lfs f1, 0x10(r1) /* 802048C8 00201828 C0 02 B0 88 */ lfs f0, lbl_805ACDA8@sda21(r2) /* 802048CC 0020182C D0 C1 00 20 */ stfs f6, 0x20(r1) /* 802048D0 00201830 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 802048D4 00201834 D0 81 00 28 */ stfs f4, 0x28(r1) /* 802048D8 00201838 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 802048DC 0020183C D0 41 00 30 */ stfs f2, 0x30(r1) /* 802048E0 00201840 D0 21 00 34 */ stfs f1, 0x34(r1) /* 802048E4 00201844 D0 01 00 38 */ stfs f0, 0x38(r1) /* 802048E8 00201848 80 7F 04 50 */ lwz r3, 0x450(r31) /* 802048EC 0020184C 38 63 00 04 */ addi r3, r3, 4 /* 802048F0 00201850 4B F2 CE 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_802048F4: /* 802048F4 00201854 80 01 00 54 */ lwz r0, 0x54(r1) /* 802048F8 00201858 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802048FC 0020185C 7C 08 03 A6 */ mtlr r0 /* 80204900 00201860 38 21 00 50 */ addi r1, r1, 0x50 /* 80204904 00201864 4E 80 00 20 */ blr .global Dead__22CThardusRockProjectileFR13CStateManager9EStateMsgf Dead__22CThardusRockProjectileFR13CStateManager9EStateMsgf: /* 80204908 00201868 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020490C 0020186C 7C 08 02 A6 */ mflr r0 /* 80204910 00201870 2C 05 00 00 */ cmpwi r5, 0 /* 80204914 00201874 90 01 00 24 */ stw r0, 0x24(r1) /* 80204918 00201878 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020491C 0020187C 7C 9F 23 78 */ mr r31, r4 /* 80204920 00201880 93 C1 00 18 */ stw r30, 0x18(r1) /* 80204924 00201884 7C 7E 1B 78 */ mr r30, r3 /* 80204928 00201888 41 82 00 0C */ beq lbl_80204934 /* 8020492C 0020188C 41 80 00 40 */ blt lbl_8020496C /* 80204930 00201890 48 00 00 3C */ b lbl_8020496C lbl_80204934: /* 80204934 00201894 A0 1E 00 08 */ lhz r0, 8(r30) /* 80204938 00201898 7F E3 FB 78 */ mr r3, r31 /* 8020493C 0020189C 38 81 00 0C */ addi r4, r1, 0xc /* 80204940 002018A0 B0 01 00 08 */ sth r0, 8(r1) /* 80204944 002018A4 B0 01 00 0C */ sth r0, 0xc(r1) /* 80204948 002018A8 4B E4 79 25 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 8020494C 002018AC 7F C3 F3 78 */ mr r3, r30 /* 80204950 002018B0 7F E5 FB 78 */ mr r5, r31 /* 80204954 002018B4 38 80 00 13 */ li r4, 0x13 /* 80204958 002018B8 38 C0 FF FF */ li r6, -1 /* 8020495C 002018BC 4B E4 C7 65 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 80204960 002018C0 7F C3 F3 78 */ mr r3, r30 /* 80204964 002018C4 7F E4 FB 78 */ mr r4, r31 /* 80204968 002018C8 4B E7 66 71 */ bl GenerateDeathExplosion__10CPatternedFR13CStateManager lbl_8020496C: /* 8020496C 002018CC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80204970 002018D0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80204974 002018D4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80204978 002018D8 7C 08 03 A6 */ mtlr r0 /* 8020497C 002018DC 38 21 00 20 */ addi r1, r1, 0x20 /* 80204980 002018E0 4E 80 00 20 */ blr .global LoopedAttack__22CThardusRockProjectileFR13CStateManager9EStateMsgf LoopedAttack__22CThardusRockProjectileFR13CStateManager9EStateMsgf: /* 80204984 002018E4 94 21 FE B0 */ stwu r1, -0x150(r1) /* 80204988 002018E8 7C 08 02 A6 */ mflr r0 /* 8020498C 002018EC 90 01 01 54 */ stw r0, 0x154(r1) /* 80204990 002018F0 DB E1 01 40 */ stfd f31, 0x140(r1) /* 80204994 002018F4 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 /* 80204998 002018F8 DB C1 01 30 */ stfd f30, 0x130(r1) /* 8020499C 002018FC F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 /* 802049A0 00201900 DB A1 01 20 */ stfd f29, 0x120(r1) /* 802049A4 00201904 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 /* 802049A8 00201908 DB 81 01 10 */ stfd f28, 0x110(r1) /* 802049AC 0020190C F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 /* 802049B0 00201910 93 E1 01 0C */ stw r31, 0x10c(r1) /* 802049B4 00201914 93 C1 01 08 */ stw r30, 0x108(r1) /* 802049B8 00201918 2C 05 00 01 */ cmpwi r5, 1 /* 802049BC 0020191C 7C 7F 1B 78 */ mr r31, r3 /* 802049C0 00201920 7C 9E 23 78 */ mr r30, r4 /* 802049C4 00201924 41 82 00 24 */ beq lbl_802049E8 /* 802049C8 00201928 40 80 02 64 */ bge lbl_80204C2C /* 802049CC 0020192C 2C 05 00 00 */ cmpwi r5, 0 /* 802049D0 00201930 40 80 00 0C */ bge lbl_802049DC /* 802049D4 00201934 48 00 02 58 */ b lbl_80204C2C /* 802049D8 00201938 48 00 02 54 */ b lbl_80204C2C lbl_802049DC: /* 802049DC 0020193C 38 00 00 01 */ li r0, 1 /* 802049E0 00201940 98 1F 05 A4 */ stb r0, 0x5a4(r31) /* 802049E4 00201944 48 00 02 48 */ b lbl_80204C2C lbl_802049E8: /* 802049E8 00201948 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 802049EC 0020194C 7F C5 F3 78 */ mr r5, r30 /* 802049F0 00201950 38 61 00 50 */ addi r3, r1, 0x50 /* 802049F4 00201954 C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 802049F8 00201958 81 84 00 00 */ lwz r12, 0(r4) /* 802049FC 0020195C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80204A00 00201960 7D 89 03 A6 */ mtctr r12 /* 80204A04 00201964 4E 80 04 21 */ bctrl /* 80204A08 00201968 C0 A1 00 50 */ lfs f5, 0x50(r1) /* 80204A0C 0020196C C0 81 00 54 */ lfs f4, 0x54(r1) /* 80204A10 00201970 C0 61 00 58 */ lfs f3, 0x58(r1) /* 80204A14 00201974 D0 A1 00 5C */ stfs f5, 0x5c(r1) /* 80204A18 00201978 D0 81 00 60 */ stfs f4, 0x60(r1) /* 80204A1C 0020197C D0 61 00 64 */ stfs f3, 0x64(r1) /* 80204A20 00201980 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 80204A24 00201984 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80204A28 00201988 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 80204A2C 0020198C EC A5 10 28 */ fsubs f5, f5, f2 /* 80204A30 00201990 88 1F 05 BC */ lbz r0, 0x5bc(r31) /* 80204A34 00201994 EC 24 08 28 */ fsubs f1, f4, f1 /* 80204A38 00201998 EC 43 00 28 */ fsubs f2, f3, f0 /* 80204A3C 0020199C 28 00 00 00 */ cmplwi r0, 0 /* 80204A40 002019A0 41 82 00 5C */ beq lbl_80204A9C /* 80204A44 002019A4 EC 21 00 72 */ fmuls f1, f1, f1 /* 80204A48 002019A8 C0 1F 05 C0 */ lfs f0, 0x5c0(r31) /* 80204A4C 002019AC EC 00 00 32 */ fmuls f0, f0, f0 /* 80204A50 002019B0 EC 25 09 7A */ fmadds f1, f5, f5, f1 /* 80204A54 002019B4 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 80204A58 002019B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80204A5C 002019BC 40 81 00 40 */ ble lbl_80204A9C /* 80204A60 002019C0 C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 80204A64 002019C4 7F E5 FB 78 */ mr r5, r31 /* 80204A68 002019C8 38 61 00 44 */ addi r3, r1, 0x44 /* 80204A6C 002019CC 38 9F 04 5C */ addi r4, r31, 0x45c /* 80204A70 002019D0 38 C1 00 5C */ addi r6, r1, 0x5c /* 80204A74 002019D4 4B F3 A0 A9 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 80204A78 002019D8 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80204A7C 002019DC 38 00 00 01 */ li r0, 1 /* 80204A80 002019E0 D0 1F 05 B0 */ stfs f0, 0x5b0(r31) /* 80204A84 002019E4 C0 01 00 48 */ lfs f0, 0x48(r1) /* 80204A88 002019E8 D0 1F 05 B4 */ stfs f0, 0x5b4(r31) /* 80204A8C 002019EC C0 01 00 4C */ lfs f0, 0x4c(r1) /* 80204A90 002019F0 D0 1F 05 B8 */ stfs f0, 0x5b8(r31) /* 80204A94 002019F4 98 1F 05 BC */ stb r0, 0x5bc(r31) /* 80204A98 002019F8 48 00 00 0C */ b lbl_80204AA4 lbl_80204A9C: /* 80204A9C 002019FC 38 00 00 00 */ li r0, 0 /* 80204AA0 00201A00 98 1F 05 BC */ stb r0, 0x5bc(r31) lbl_80204AA4: /* 80204AA4 00201A04 38 C2 B0 78 */ addi r6, r2, lbl_805ACD98@sda21 /* 80204AA8 00201A08 80 AD 93 74 */ lwz r5, lbl_805A7F34@sda21(r13) /* 80204AAC 00201A0C C3 FF 05 B0 */ lfs f31, 0x5b0(r31) /* 80204AB0 00201A10 38 60 00 00 */ li r3, 0 /* 80204AB4 00201A14 C3 DF 05 B4 */ lfs f30, 0x5b4(r31) /* 80204AB8 00201A18 38 80 00 01 */ li r4, 1 /* 80204ABC 00201A1C C3 BF 05 B8 */ lfs f29, 0x5b8(r31) /* 80204AC0 00201A20 C3 86 00 04 */ lfs f28, 4(r6) /* 80204AC4 00201A24 48 18 54 31 */ bl __shl2i /* 80204AC8 00201A28 39 00 00 00 */ li r8, 0 /* 80204ACC 00201A2C 38 00 00 01 */ li r0, 1 /* 80204AD0 00201A30 90 81 00 8C */ stw r4, 0x8c(r1) /* 80204AD4 00201A34 3C 80 80 5A */ lis r4, lbl_805A6700@ha /* 80204AD8 00201A38 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l /* 80204ADC 00201A3C C0 22 B0 A8 */ lfs f1, lbl_805ACDC8@sda21(r2) /* 80204AE0 00201A40 90 61 00 88 */ stw r3, 0x88(r1) /* 80204AE4 00201A44 7F C4 F3 78 */ mr r4, r30 /* 80204AE8 00201A48 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80204AEC 00201A4C 38 A1 00 38 */ addi r5, r1, 0x38 /* 80204AF0 00201A50 91 01 00 94 */ stw r8, 0x94(r1) /* 80204AF4 00201A54 38 E1 00 88 */ addi r7, r1, 0x88 /* 80204AF8 00201A58 91 01 00 90 */ stw r8, 0x90(r1) /* 80204AFC 00201A5C 90 01 00 98 */ stw r0, 0x98(r1) /* 80204B00 00201A60 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 80204B04 00201A64 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 80204B08 00201A68 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80204B0C 00201A6C D0 01 00 38 */ stfs f0, 0x38(r1) /* 80204B10 00201A70 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80204B14 00201A74 D0 61 00 40 */ stfs f3, 0x40(r1) /* 80204B18 00201A78 4B E4 84 81 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 80204B1C 00201A7C 88 81 00 C0 */ lbz r4, 0xc0(r1) /* 80204B20 00201A80 38 C1 00 D4 */ addi r6, r1, 0xd4 /* 80204B24 00201A84 C0 E1 00 A0 */ lfs f7, 0xa0(r1) /* 80204B28 00201A88 C0 C1 00 A4 */ lfs f6, 0xa4(r1) /* 80204B2C 00201A8C 28 04 00 00 */ cmplwi r4, 0 /* 80204B30 00201A90 C0 A1 00 A8 */ lfs f5, 0xa8(r1) /* 80204B34 00201A94 C0 81 00 AC */ lfs f4, 0xac(r1) /* 80204B38 00201A98 C0 61 00 B0 */ lfs f3, 0xb0(r1) /* 80204B3C 00201A9C C0 41 00 B4 */ lfs f2, 0xb4(r1) /* 80204B40 00201AA0 C0 21 00 B8 */ lfs f1, 0xb8(r1) /* 80204B44 00201AA4 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 80204B48 00201AA8 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 80204B4C 00201AAC 80 61 00 CC */ lwz r3, 0xcc(r1) /* 80204B50 00201AB0 D0 E1 00 D0 */ stfs f7, 0xd0(r1) /* 80204B54 00201AB4 D0 C1 00 D4 */ stfs f6, 0xd4(r1) /* 80204B58 00201AB8 D0 A1 00 D8 */ stfs f5, 0xd8(r1) /* 80204B5C 00201ABC D0 81 00 DC */ stfs f4, 0xdc(r1) /* 80204B60 00201AC0 D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 80204B64 00201AC4 D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 80204B68 00201AC8 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 80204B6C 00201ACC D0 01 00 EC */ stfs f0, 0xec(r1) /* 80204B70 00201AD0 98 81 00 F0 */ stb r4, 0xf0(r1) /* 80204B74 00201AD4 90 61 00 FC */ stw r3, 0xfc(r1) /* 80204B78 00201AD8 90 01 00 F8 */ stw r0, 0xf8(r1) /* 80204B7C 00201ADC 41 82 00 70 */ beq lbl_80204BEC /* 80204B80 00201AE0 C0 02 B0 9C */ lfs f0, lbl_805ACDBC@sda21(r2) /* 80204B84 00201AE4 7F E5 FB 78 */ mr r5, r31 /* 80204B88 00201AE8 38 61 00 2C */ addi r3, r1, 0x2c /* 80204B8C 00201AEC 38 9F 04 5C */ addi r4, r31, 0x45c /* 80204B90 00201AF0 EC 20 07 32 */ fmuls f1, f0, f28 /* 80204B94 00201AF4 4B F3 9D 5D */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 80204B98 00201AF8 C0 61 00 30 */ lfs f3, 0x30(r1) /* 80204B9C 00201AFC 38 61 00 20 */ addi r3, r1, 0x20 /* 80204BA0 00201B00 C0 1F 05 B4 */ lfs f0, 0x5b4(r31) /* 80204BA4 00201B04 38 81 00 14 */ addi r4, r1, 0x14 /* 80204BA8 00201B08 C0 41 00 34 */ lfs f2, 0x34(r1) /* 80204BAC 00201B0C C0 3F 05 B8 */ lfs f1, 0x5b8(r31) /* 80204BB0 00201B10 EC 63 00 2A */ fadds f3, f3, f0 /* 80204BB4 00201B14 C0 1F 05 B0 */ lfs f0, 0x5b0(r31) /* 80204BB8 00201B18 EC 42 08 2A */ fadds f2, f2, f1 /* 80204BBC 00201B1C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 80204BC0 00201B20 D0 61 00 0C */ stfs f3, 0xc(r1) /* 80204BC4 00201B24 EC 01 00 2A */ fadds f0, f1, f0 /* 80204BC8 00201B28 D0 41 00 10 */ stfs f2, 0x10(r1) /* 80204BCC 00201B2C D0 01 00 08 */ stfs f0, 8(r1) /* 80204BD0 00201B30 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80204BD4 00201B34 D0 61 00 18 */ stfs f3, 0x18(r1) /* 80204BD8 00201B38 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80204BDC 00201B3C 48 10 FC 75 */ bl AsNormalized__9CVector3fCFv /* 80204BE0 00201B40 C3 E1 00 20 */ lfs f31, 0x20(r1) /* 80204BE4 00201B44 C3 C1 00 24 */ lfs f30, 0x24(r1) /* 80204BE8 00201B48 C3 A1 00 28 */ lfs f29, 0x28(r1) lbl_80204BEC: /* 80204BEC 00201B4C 3C 60 80 5A */ lis r3, skZero3f@ha /* 80204BF0 00201B50 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 80204BF4 00201B54 C0 02 B0 88 */ lfs f0, lbl_805ACDA8@sda21(r2) /* 80204BF8 00201B58 38 81 00 68 */ addi r4, r1, 0x68 /* 80204BFC 00201B5C C0 43 00 04 */ lfs f2, 4(r3) /* 80204C00 00201B60 C0 23 00 08 */ lfs f1, 8(r3) /* 80204C04 00201B64 D3 E1 00 68 */ stfs f31, 0x68(r1) /* 80204C08 00201B68 D3 C1 00 6C */ stfs f30, 0x6c(r1) /* 80204C0C 00201B6C D3 A1 00 70 */ stfs f29, 0x70(r1) /* 80204C10 00201B70 D0 61 00 74 */ stfs f3, 0x74(r1) /* 80204C14 00201B74 D0 41 00 78 */ stfs f2, 0x78(r1) /* 80204C18 00201B78 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 80204C1C 00201B7C D0 01 00 80 */ stfs f0, 0x80(r1) /* 80204C20 00201B80 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80204C24 00201B84 38 63 00 04 */ addi r3, r3, 4 /* 80204C28 00201B88 4B F2 CA F1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_80204C2C: /* 80204C2C 00201B8C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 /* 80204C30 00201B90 CB E1 01 40 */ lfd f31, 0x140(r1) /* 80204C34 00201B94 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 /* 80204C38 00201B98 CB C1 01 30 */ lfd f30, 0x130(r1) /* 80204C3C 00201B9C E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 /* 80204C40 00201BA0 CB A1 01 20 */ lfd f29, 0x120(r1) /* 80204C44 00201BA4 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 /* 80204C48 00201BA8 CB 81 01 10 */ lfd f28, 0x110(r1) /* 80204C4C 00201BAC 83 E1 01 0C */ lwz r31, 0x10c(r1) /* 80204C50 00201BB0 80 01 01 54 */ lwz r0, 0x154(r1) /* 80204C54 00201BB4 83 C1 01 08 */ lwz r30, 0x108(r1) /* 80204C58 00201BB8 7C 08 03 A6 */ mtlr r0 /* 80204C5C 00201BBC 38 21 01 50 */ addi r1, r1, 0x150 /* 80204C60 00201BC0 4E 80 00 20 */ blr .global Patrol__22CThardusRockProjectileFR13CStateManager9EStateMsgf Patrol__22CThardusRockProjectileFR13CStateManager9EStateMsgf: /* 80204C64 00201BC4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80204C68 00201BC8 7C 08 02 A6 */ mflr r0 /* 80204C6C 00201BCC 2C 05 00 01 */ cmpwi r5, 1 /* 80204C70 00201BD0 90 01 00 54 */ stw r0, 0x54(r1) /* 80204C74 00201BD4 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80204C78 00201BD8 7C 7F 1B 78 */ mr r31, r3 /* 80204C7C 00201BDC 41 82 00 10 */ beq lbl_80204C8C /* 80204C80 00201BE0 40 80 00 98 */ bge lbl_80204D18 /* 80204C84 00201BE4 48 00 00 94 */ b lbl_80204D18 /* 80204C88 00201BE8 48 00 00 90 */ b lbl_80204D18 lbl_80204C8C: /* 80204C8C 00201BEC 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 80204C90 00201BF0 38 61 00 08 */ addi r3, r1, 8 /* 80204C94 00201BF4 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 80204C98 00201BF8 38 81 00 14 */ addi r4, r1, 0x14 /* 80204C9C 00201BFC C0 25 00 50 */ lfs f1, 0x50(r5) /* 80204CA0 00201C00 C0 65 00 60 */ lfs f3, 0x60(r5) /* 80204CA4 00201C04 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80204CA8 00201C08 EC 81 00 28 */ fsubs f4, f1, f0 /* 80204CAC 00201C0C C0 25 00 40 */ lfs f1, 0x40(r5) /* 80204CB0 00201C10 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80204CB4 00201C14 EC 43 10 28 */ fsubs f2, f3, f2 /* 80204CB8 00201C18 EC 01 00 28 */ fsubs f0, f1, f0 /* 80204CBC 00201C1C D0 81 00 18 */ stfs f4, 0x18(r1) /* 80204CC0 00201C20 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80204CC4 00201C24 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80204CC8 00201C28 48 10 FB 89 */ bl AsNormalized__9CVector3fCFv /* 80204CCC 00201C2C 3C 60 80 5A */ lis r3, skZero3f@ha /* 80204CD0 00201C30 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 80204CD4 00201C34 C0 61 00 08 */ lfs f3, 8(r1) /* 80204CD8 00201C38 38 81 00 20 */ addi r4, r1, 0x20 /* 80204CDC 00201C3C C0 41 00 0C */ lfs f2, 0xc(r1) /* 80204CE0 00201C40 C0 A3 00 04 */ lfs f5, 4(r3) /* 80204CE4 00201C44 C0 83 00 08 */ lfs f4, 8(r3) /* 80204CE8 00201C48 C0 21 00 10 */ lfs f1, 0x10(r1) /* 80204CEC 00201C4C C0 02 B0 88 */ lfs f0, lbl_805ACDA8@sda21(r2) /* 80204CF0 00201C50 D0 C1 00 20 */ stfs f6, 0x20(r1) /* 80204CF4 00201C54 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80204CF8 00201C58 D0 81 00 28 */ stfs f4, 0x28(r1) /* 80204CFC 00201C5C D0 61 00 2C */ stfs f3, 0x2c(r1) /* 80204D00 00201C60 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80204D04 00201C64 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80204D08 00201C68 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80204D0C 00201C6C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80204D10 00201C70 38 63 00 04 */ addi r3, r3, 4 /* 80204D14 00201C74 4B F2 CA 05 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_80204D18: /* 80204D18 00201C78 80 01 00 54 */ lwz r0, 0x54(r1) /* 80204D1C 00201C7C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80204D20 00201C80 7C 08 03 A6 */ mtlr r0 /* 80204D24 00201C84 38 21 00 50 */ addi r1, r1, 0x50 /* 80204D28 00201C88 4E 80 00 20 */ blr .global GetUp__22CThardusRockProjectileFR13CStateManager9EStateMsgf GetUp__22CThardusRockProjectileFR13CStateManager9EStateMsgf: /* 80204D2C 00201C8C 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 80204D30 00201C90 7C 08 02 A6 */ mflr r0 /* 80204D34 00201C94 2C 05 00 01 */ cmpwi r5, 1 /* 80204D38 00201C98 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 80204D3C 00201C9C 93 E1 01 CC */ stw r31, 0x1cc(r1) /* 80204D40 00201CA0 7C 9F 23 78 */ mr r31, r4 /* 80204D44 00201CA4 93 C1 01 C8 */ stw r30, 0x1c8(r1) /* 80204D48 00201CA8 7C 7E 1B 78 */ mr r30, r3 /* 80204D4C 00201CAC 93 A1 01 C4 */ stw r29, 0x1c4(r1) /* 80204D50 00201CB0 41 82 00 24 */ beq lbl_80204D74 /* 80204D54 00201CB4 40 80 03 30 */ bge lbl_80205084 /* 80204D58 00201CB8 2C 05 00 00 */ cmpwi r5, 0 /* 80204D5C 00201CBC 40 80 00 0C */ bge lbl_80204D68 /* 80204D60 00201CC0 48 00 03 24 */ b lbl_80205084 /* 80204D64 00201CC4 48 00 03 20 */ b lbl_80205084 lbl_80204D68: /* 80204D68 00201CC8 38 00 00 00 */ li r0, 0 /* 80204D6C 00201CCC 90 1E 05 74 */ stw r0, 0x574(r30) /* 80204D70 00201CD0 48 00 03 14 */ b lbl_80205084 lbl_80204D74: /* 80204D74 00201CD4 80 AD 93 70 */ lwz r5, lbl_805A7F30@sda21(r13) /* 80204D78 00201CD8 38 60 00 00 */ li r3, 0 /* 80204D7C 00201CDC 38 80 00 01 */ li r4, 1 /* 80204D80 00201CE0 48 18 51 75 */ bl __shl2i /* 80204D84 00201CE4 39 00 00 00 */ li r8, 0 /* 80204D88 00201CE8 38 00 00 01 */ li r0, 1 /* 80204D8C 00201CEC 90 81 00 74 */ stw r4, 0x74(r1) /* 80204D90 00201CF0 3C 80 80 5A */ lis r4, lbl_805A6700@ha /* 80204D94 00201CF4 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l /* 80204D98 00201CF8 C0 22 B0 9C */ lfs f1, lbl_805ACDBC@sda21(r2) /* 80204D9C 00201CFC 90 61 00 70 */ stw r3, 0x70(r1) /* 80204DA0 00201D00 7F E4 FB 78 */ mr r4, r31 /* 80204DA4 00201D04 38 61 00 88 */ addi r3, r1, 0x88 /* 80204DA8 00201D08 38 A1 00 54 */ addi r5, r1, 0x54 /* 80204DAC 00201D0C 91 01 00 7C */ stw r8, 0x7c(r1) /* 80204DB0 00201D10 38 E1 00 70 */ addi r7, r1, 0x70 /* 80204DB4 00201D14 91 01 00 78 */ stw r8, 0x78(r1) /* 80204DB8 00201D18 90 01 00 80 */ stw r0, 0x80(r1) /* 80204DBC 00201D1C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 80204DC0 00201D20 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80204DC4 00201D24 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80204DC8 00201D28 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80204DCC 00201D2C D0 41 00 58 */ stfs f2, 0x58(r1) /* 80204DD0 00201D30 D0 61 00 5C */ stfs f3, 0x5c(r1) /* 80204DD4 00201D34 4B E4 81 C5 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 80204DD8 00201D38 88 81 00 A8 */ lbz r4, 0xa8(r1) /* 80204DDC 00201D3C C0 E1 00 88 */ lfs f7, 0x88(r1) /* 80204DE0 00201D40 C0 C1 00 8C */ lfs f6, 0x8c(r1) /* 80204DE4 00201D44 28 04 00 00 */ cmplwi r4, 0 /* 80204DE8 00201D48 C0 A1 00 90 */ lfs f5, 0x90(r1) /* 80204DEC 00201D4C C0 81 00 94 */ lfs f4, 0x94(r1) /* 80204DF0 00201D50 C0 61 00 98 */ lfs f3, 0x98(r1) /* 80204DF4 00201D54 C0 41 00 9C */ lfs f2, 0x9c(r1) /* 80204DF8 00201D58 C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 80204DFC 00201D5C C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 80204E00 00201D60 80 01 00 B0 */ lwz r0, 0xb0(r1) /* 80204E04 00201D64 80 61 00 B4 */ lwz r3, 0xb4(r1) /* 80204E08 00201D68 D0 E1 00 B8 */ stfs f7, 0xb8(r1) /* 80204E0C 00201D6C D0 C1 00 BC */ stfs f6, 0xbc(r1) /* 80204E10 00201D70 D0 A1 00 C0 */ stfs f5, 0xc0(r1) /* 80204E14 00201D74 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 80204E18 00201D78 D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 80204E1C 00201D7C D0 41 00 CC */ stfs f2, 0xcc(r1) /* 80204E20 00201D80 D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 80204E24 00201D84 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 80204E28 00201D88 98 81 00 D8 */ stb r4, 0xd8(r1) /* 80204E2C 00201D8C 90 61 00 E4 */ stw r3, 0xe4(r1) /* 80204E30 00201D90 90 01 00 E0 */ stw r0, 0xe0(r1) /* 80204E34 00201D94 40 82 00 BC */ bne lbl_80204EF0 /* 80204E38 00201D98 80 9F 08 70 */ lwz r4, 0x870(r31) /* 80204E3C 00201D9C 38 61 00 14 */ addi r3, r1, 0x14 /* 80204E40 00201DA0 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 80204E44 00201DA4 A3 A5 00 08 */ lhz r29, 8(r5) /* 80204E48 00201DA8 4B E0 6D 91 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 80204E4C 00201DAC A0 01 00 14 */ lhz r0, 0x14(r1) /* 80204E50 00201DB0 7C 00 E8 40 */ cmplw r0, r29 /* 80204E54 00201DB4 40 82 01 74 */ bne lbl_80204FC8 /* 80204E58 00201DB8 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 80204E5C 00201DBC 38 61 00 E8 */ addi r3, r1, 0xe8 /* 80204E60 00201DC0 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80204E64 00201DC4 38 81 00 48 */ addi r4, r1, 0x48 /* 80204E68 00201DC8 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 80204E6C 00201DCC D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80204E70 00201DD0 C0 22 B0 AC */ lfs f1, lbl_805ACDCC@sda21(r2) /* 80204E74 00201DD4 D0 41 00 40 */ stfs f2, 0x40(r1) /* 80204E78 00201DD8 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 80204E7C 00201DDC D0 01 00 44 */ stfs f0, 0x44(r1) /* 80204E80 00201DE0 80 A1 00 40 */ lwz r5, 0x40(r1) /* 80204E84 00201DE4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80204E88 00201DE8 90 C1 00 48 */ stw r6, 0x48(r1) /* 80204E8C 00201DEC C0 42 B0 90 */ lfs f2, lbl_805ACDB0@sda21(r2) /* 80204E90 00201DF0 90 A1 00 4C */ stw r5, 0x4c(r1) /* 80204E94 00201DF4 C0 62 B0 B0 */ lfs f3, lbl_805ACDD0@sda21(r2) /* 80204E98 00201DF8 90 01 00 50 */ stw r0, 0x50(r1) /* 80204E9C 00201DFC 4B F5 86 29 */ bl BuildMissileShakeData__16CCameraShakeDataFfffRC9CVector3f /* 80204EA0 00201E00 80 7F 08 70 */ lwz r3, 0x870(r31) /* 80204EA4 00201E04 38 81 00 E8 */ addi r4, r1, 0xe8 /* 80204EA8 00201E08 38 A0 00 01 */ li r5, 1 /* 80204EAC 00201E0C 4B E0 5B 75 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 80204EB0 00201E10 34 81 01 68 */ addic. r4, r1, 0x168 /* 80204EB4 00201E14 41 82 00 10 */ beq lbl_80204EC4 /* 80204EB8 00201E18 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 80204EBC 00201E1C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 80204EC0 00201E20 90 04 00 00 */ stw r0, 0(r4) lbl_80204EC4: /* 80204EC4 00201E24 34 81 01 2C */ addic. r4, r1, 0x12c /* 80204EC8 00201E28 41 82 00 10 */ beq lbl_80204ED8 /* 80204ECC 00201E2C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 80204ED0 00201E30 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 80204ED4 00201E34 90 04 00 00 */ stw r0, 0(r4) lbl_80204ED8: /* 80204ED8 00201E38 34 81 00 F0 */ addic. r4, r1, 0xf0 /* 80204EDC 00201E3C 41 82 00 EC */ beq lbl_80204FC8 /* 80204EE0 00201E40 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 80204EE4 00201E44 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 80204EE8 00201E48 90 04 00 00 */ stw r0, 0(r4) /* 80204EEC 00201E4C 48 00 00 DC */ b lbl_80204FC8 lbl_80204EF0: /* 80204EF0 00201E50 A0 1E 05 D0 */ lhz r0, 0x5d0(r30) /* 80204EF4 00201E54 7F E3 FB 78 */ mr r3, r31 /* 80204EF8 00201E58 38 81 00 10 */ addi r4, r1, 0x10 /* 80204EFC 00201E5C B0 01 00 10 */ sth r0, 0x10(r1) /* 80204F00 00201E60 4B E4 76 75 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80204F04 00201E64 28 03 00 00 */ cmplwi r3, 0 /* 80204F08 00201E68 41 82 00 C0 */ beq lbl_80204FC8 /* 80204F0C 00201E6C 88 1E 05 DC */ lbz r0, 0x5dc(r30) /* 80204F10 00201E70 28 00 00 00 */ cmplwi r0, 0 /* 80204F14 00201E74 40 82 00 B4 */ bne lbl_80204FC8 /* 80204F18 00201E78 38 00 00 01 */ li r0, 1 /* 80204F1C 00201E7C C0 41 00 BC */ lfs f2, 0xbc(r1) /* 80204F20 00201E80 98 1E 05 DC */ stb r0, 0x5dc(r30) /* 80204F24 00201E84 7F C3 F3 78 */ mr r3, r30 /* 80204F28 00201E88 C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 80204F2C 00201E8C 7F E4 FB 78 */ mr r4, r31 /* 80204F30 00201E90 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 80204F34 00201E94 38 C1 00 60 */ addi r6, r1, 0x60 /* 80204F38 00201E98 D0 41 00 60 */ stfs f2, 0x60(r1) /* 80204F3C 00201E9C 38 E1 00 30 */ addi r7, r1, 0x30 /* 80204F40 00201EA0 39 00 00 00 */ li r8, 0 /* 80204F44 00201EA4 D0 21 00 64 */ stfs f1, 0x64(r1) /* 80204F48 00201EA8 D0 01 00 68 */ stfs f0, 0x68(r1) /* 80204F4C 00201EAC 80 BE 00 64 */ lwz r5, 0x64(r30) /* 80204F50 00201EB0 C0 05 00 00 */ lfs f0, 0(r5) /* 80204F54 00201EB4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80204F58 00201EB8 C0 05 00 04 */ lfs f0, 4(r5) /* 80204F5C 00201EBC D0 01 00 34 */ stfs f0, 0x34(r1) /* 80204F60 00201EC0 C0 05 00 08 */ lfs f0, 8(r5) /* 80204F64 00201EC4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80204F68 00201EC8 80 BE 05 CC */ lwz r5, 0x5cc(r30) /* 80204F6C 00201ECC 4B FF E8 B9 */ bl sub_80203824 /* 80204F70 00201ED0 81 5F 08 CC */ lwz r10, 0x8cc(r31) /* 80204F74 00201ED4 3C 60 80 5A */ lis r3, skZero3f@ha /* 80204F78 00201ED8 C0 9E 00 60 */ lfs f4, 0x60(r30) /* 80204F7C 00201EDC 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 80204F80 00201EE0 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 80204F84 00201EE4 38 00 00 00 */ li r0, 0 /* 80204F88 00201EE8 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80204F8C 00201EEC 7F C3 F3 78 */ mr r3, r30 /* 80204F90 00201EF0 C0 22 B0 88 */ lfs f1, lbl_805ACDA8@sda21(r2) /* 80204F94 00201EF4 39 21 00 24 */ addi r9, r1, 0x24 /* 80204F98 00201EF8 D0 61 00 28 */ stfs f3, 0x28(r1) /* 80204F9C 00201EFC 38 80 07 AE */ li r4, 0x7ae /* 80204FA0 00201F00 C0 42 B0 94 */ lfs f2, lbl_805ACDB4@sda21(r2) /* 80204FA4 00201F04 38 A0 00 00 */ li r5, 0 /* 80204FA8 00201F08 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80204FAC 00201F0C 38 C0 00 14 */ li r6, 0x14 /* 80204FB0 00201F10 C0 62 B0 98 */ lfs f3, lbl_805ACDB8@sda21(r2) /* 80204FB4 00201F14 38 E0 00 7F */ li r7, 0x7f /* 80204FB8 00201F18 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 80204FBC 00201F1C 93 E1 00 08 */ stw r31, 8(r1) /* 80204FC0 00201F20 90 01 00 0C */ stw r0, 0xc(r1) /* 80204FC4 00201F24 4B E4 DF 6D */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager lbl_80204FC8: /* 80204FC8 00201F28 80 1E 05 74 */ lwz r0, 0x574(r30) /* 80204FCC 00201F2C 2C 00 00 01 */ cmpwi r0, 1 /* 80204FD0 00201F30 41 82 00 B4 */ beq lbl_80205084 /* 80204FD4 00201F34 40 80 00 10 */ bge lbl_80204FE4 /* 80204FD8 00201F38 2C 00 00 00 */ cmpwi r0, 0 /* 80204FDC 00201F3C 40 80 00 14 */ bge lbl_80204FF0 /* 80204FE0 00201F40 48 00 00 A4 */ b lbl_80205084 lbl_80204FE4: /* 80204FE4 00201F44 2C 00 00 03 */ cmpwi r0, 3 /* 80204FE8 00201F48 40 80 00 9C */ bge lbl_80205084 /* 80204FEC 00201F4C 48 00 00 80 */ b lbl_8020506C lbl_80204FF0: /* 80204FF0 00201F50 80 9E 04 50 */ lwz r4, 0x450(r30) /* 80204FF4 00201F54 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 80204FF8 00201F58 2C 00 00 01 */ cmpwi r0, 1 /* 80204FFC 00201F5C 40 82 00 10 */ bne lbl_8020500C /* 80205000 00201F60 38 00 00 02 */ li r0, 2 /* 80205004 00201F64 90 1E 05 74 */ stw r0, 0x574(r30) /* 80205008 00201F68 48 00 00 7C */ b lbl_80205084 lbl_8020500C: /* 8020500C 00201F6C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80205010 00201F70 38 A0 00 00 */ li r5, 0 /* 80205014 00201F74 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80205018 00201F78 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 8020501C 00201F7C 90 01 00 18 */ stw r0, 0x18(r1) /* 80205020 00201F80 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 80205024 00201F84 3B C4 00 04 */ addi r30, r4, 4 /* 80205028 00201F88 38 80 00 00 */ li r4, 0 /* 8020502C 00201F8C 90 A1 00 1C */ stw r5, 0x1c(r1) /* 80205030 00201F90 7F C3 F3 78 */ mr r3, r30 /* 80205034 00201F94 90 01 00 18 */ stw r0, 0x18(r1) /* 80205038 00201F98 90 A1 00 20 */ stw r5, 0x20(r1) /* 8020503C 00201F9C 4B F2 C3 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80205040 00201FA0 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80205044 00201FA4 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 80205048 00201FA8 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 8020504C 00201FAC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80205050 00201FB0 90 1E 00 BC */ stw r0, 0xbc(r30) /* 80205054 00201FB4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80205058 00201FB8 80 61 00 20 */ lwz r3, 0x20(r1) /* 8020505C 00201FBC 90 81 00 18 */ stw r4, 0x18(r1) /* 80205060 00201FC0 90 7E 00 C0 */ stw r3, 0xc0(r30) /* 80205064 00201FC4 90 01 00 18 */ stw r0, 0x18(r1) /* 80205068 00201FC8 48 00 00 1C */ b lbl_80205084 lbl_8020506C: /* 8020506C 00201FCC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80205070 00201FD0 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 80205074 00201FD4 2C 00 00 01 */ cmpwi r0, 1 /* 80205078 00201FD8 41 82 00 0C */ beq lbl_80205084 /* 8020507C 00201FDC 38 00 00 03 */ li r0, 3 /* 80205080 00201FE0 90 1E 05 74 */ stw r0, 0x574(r30) lbl_80205084: /* 80205084 00201FE4 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 80205088 00201FE8 83 E1 01 CC */ lwz r31, 0x1cc(r1) /* 8020508C 00201FEC 83 C1 01 C8 */ lwz r30, 0x1c8(r1) /* 80205090 00201FF0 83 A1 01 C4 */ lwz r29, 0x1c4(r1) /* 80205094 00201FF4 7C 08 03 A6 */ mtlr r0 /* 80205098 00201FF8 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 8020509C 00201FFC 4E 80 00 20 */ blr .global Think__22CThardusRockProjectileFfR13CStateManager Think__22CThardusRockProjectileFfR13CStateManager: /* 802050A0 00202000 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802050A4 00202004 7C 08 02 A6 */ mflr r0 /* 802050A8 00202008 90 01 00 34 */ stw r0, 0x34(r1) /* 802050AC 0020200C DB E1 00 20 */ stfd f31, 0x20(r1) /* 802050B0 00202010 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 802050B4 00202014 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802050B8 00202018 93 C1 00 18 */ stw r30, 0x18(r1) /* 802050BC 0020201C 88 03 00 30 */ lbz r0, 0x30(r3) /* 802050C0 00202020 FF E0 08 90 */ fmr f31, f1 /* 802050C4 00202024 7C 7E 1B 78 */ mr r30, r3 /* 802050C8 00202028 7C 9F 23 78 */ mr r31, r4 /* 802050CC 0020202C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802050D0 00202030 41 82 01 70 */ beq lbl_80205240 /* 802050D4 00202034 A0 1E 05 D0 */ lhz r0, 0x5d0(r30) /* 802050D8 00202038 7F E3 FB 78 */ mr r3, r31 /* 802050DC 0020203C 38 81 00 08 */ addi r4, r1, 8 /* 802050E0 00202040 B0 01 00 08 */ sth r0, 8(r1) /* 802050E4 00202044 4B E4 74 91 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802050E8 00202048 28 03 00 00 */ cmplwi r3, 0 /* 802050EC 0020204C 41 82 00 A8 */ beq lbl_80205194 /* 802050F0 00202050 7F E4 FB 78 */ mr r4, r31 /* 802050F4 00202054 4B FD 64 C1 */ bl sub_801db5b4 /* 802050F8 00202058 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802050FC 0020205C 40 82 00 50 */ bne lbl_8020514C /* 80205100 00202060 7F C3 F3 78 */ mr r3, r30 /* 80205104 00202064 7F E5 FB 78 */ mr r5, r31 /* 80205108 00202068 38 80 00 29 */ li r4, 0x29 /* 8020510C 0020206C 4B E4 EE 75 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80205110 00202070 7F C3 F3 78 */ mr r3, r30 /* 80205114 00202074 7F E5 FB 78 */ mr r5, r31 /* 80205118 00202078 38 80 00 28 */ li r4, 0x28 /* 8020511C 0020207C 4B E4 EE 65 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80205120 00202080 7F C3 F3 78 */ mr r3, r30 /* 80205124 00202084 7F E4 FB 78 */ mr r4, r31 /* 80205128 00202088 38 A0 00 01 */ li r5, 1 /* 8020512C 0020208C 38 C0 00 29 */ li r6, 0x29 /* 80205130 00202090 4B FF EC BD */ bl sub_80203dec /* 80205134 00202094 7F C3 F3 78 */ mr r3, r30 /* 80205138 00202098 7F E4 FB 78 */ mr r4, r31 /* 8020513C 0020209C 38 A0 00 01 */ li r5, 1 /* 80205140 002020A0 38 C0 00 28 */ li r6, 0x28 /* 80205144 002020A4 4B FF EC A9 */ bl sub_80203dec /* 80205148 002020A8 48 00 00 4C */ b lbl_80205194 lbl_8020514C: /* 8020514C 002020AC 7F C3 F3 78 */ mr r3, r30 /* 80205150 002020B0 7F E5 FB 78 */ mr r5, r31 /* 80205154 002020B4 38 80 00 29 */ li r4, 0x29 /* 80205158 002020B8 4B E4 F1 F9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 8020515C 002020BC 7F C3 F3 78 */ mr r3, r30 /* 80205160 002020C0 7F E5 FB 78 */ mr r5, r31 /* 80205164 002020C4 38 80 00 28 */ li r4, 0x28 /* 80205168 002020C8 4B E4 F1 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 8020516C 002020CC 7F C3 F3 78 */ mr r3, r30 /* 80205170 002020D0 7F E4 FB 78 */ mr r4, r31 /* 80205174 002020D4 38 A0 00 00 */ li r5, 0 /* 80205178 002020D8 38 C0 00 29 */ li r6, 0x29 /* 8020517C 002020DC 4B FF EC 71 */ bl sub_80203dec /* 80205180 002020E0 7F C3 F3 78 */ mr r3, r30 /* 80205184 002020E4 7F E4 FB 78 */ mr r4, r31 /* 80205188 002020E8 38 A0 00 00 */ li r5, 0 /* 8020518C 002020EC 38 C0 00 28 */ li r6, 0x28 /* 80205190 002020F0 4B FF EC 5D */ bl sub_80203dec lbl_80205194: /* 80205194 002020F4 FC 20 F8 90 */ fmr f1, f31 /* 80205198 002020F8 7F C3 F3 78 */ mr r3, r30 /* 8020519C 002020FC 7F E4 FB 78 */ mr r4, r31 /* 802051A0 00202100 4B E7 49 79 */ bl Think__10CPatternedFfR13CStateManager /* 802051A4 00202104 88 1E 05 DE */ lbz r0, 0x5de(r30) /* 802051A8 00202108 28 00 00 00 */ cmplwi r0, 0 /* 802051AC 0020210C 41 82 00 0C */ beq lbl_802051B8 /* 802051B0 00202110 C0 02 B0 B4 */ lfs f0, lbl_805ACDD4@sda21(r2) /* 802051B4 00202114 48 00 00 08 */ b lbl_802051BC lbl_802051B8: /* 802051B8 00202118 C0 02 B0 B8 */ lfs f0, lbl_805ACDD8@sda21(r2) lbl_802051BC: /* 802051BC 0020211C D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 802051C0 00202120 38 60 00 02 */ li r3, 2 /* 802051C4 00202124 FC 20 F8 90 */ fmr f1, f31 /* 802051C8 00202128 7F E4 FB 78 */ mr r4, r31 /* 802051CC 0020212C 88 1E 00 E6 */ lbz r0, 0xe6(r30) /* 802051D0 00202130 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c /* 802051D4 00202134 38 A0 00 00 */ li r5, 0 /* 802051D8 00202138 98 1E 00 E6 */ stb r0, 0xe6(r30) /* 802051DC 0020213C 80 7E 05 78 */ lwz r3, 0x578(r30) /* 802051E0 00202140 4B FA 22 71 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 802051E4 00202144 7F C3 F3 78 */ mr r3, r30 /* 802051E8 00202148 7F E4 FB 78 */ mr r4, r31 /* 802051EC 0020214C 4B FF F0 55 */ bl UpdateDestroyableRockPositions__22CThardusRockProjectileFR13CStateManager /* 802051F0 00202150 7F C3 F3 78 */ mr r3, r30 /* 802051F4 00202154 7F E4 FB 78 */ mr r4, r31 /* 802051F8 00202158 4B FF ED F5 */ bl UpdateDestroyableRockCollisionActors__22CThardusRockProjectileFR13CStateManager /* 802051FC 0020215C 80 7E 05 A0 */ lwz r3, 0x5a0(r30) /* 80205200 00202160 80 1E 05 90 */ lwz r0, 0x590(r30) /* 80205204 00202164 7C 03 00 40 */ cmplw r3, r0 /* 80205208 00202168 41 80 00 38 */ blt lbl_80205240 /* 8020520C 0020216C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 80205210 00202170 7F C3 F3 78 */ mr r3, r30 /* 80205214 00202174 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80205218 00202178 7F E4 FB 78 */ mr r4, r31 /* 8020521C 0020217C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80205220 00202180 38 A1 00 0C */ addi r5, r1, 0xc /* 80205224 00202184 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80205228 00202188 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8020522C 0020218C D0 41 00 14 */ stfs f2, 0x14(r1) /* 80205230 00202190 4B FF E8 65 */ bl sub_80203a94 /* 80205234 00202194 7F C3 F3 78 */ mr r3, r30 /* 80205238 00202198 7F E4 FB 78 */ mr r4, r31 /* 8020523C 0020219C 4B E7 37 C5 */ bl DeathDelete__10CPatternedFR13CStateManager lbl_80205240: /* 80205240 002021A0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80205244 002021A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80205248 002021A8 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8020524C 002021AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80205250 002021B0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80205254 002021B4 7C 08 03 A6 */ mtlr r0 /* 80205258 002021B8 38 21 00 30 */ addi r1, r1, 0x30 /* 8020525C 002021BC 4E 80 00 20 */ blr .global AcceptScriptMsg__22CThardusRockProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__22CThardusRockProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80205260 002021C0 94 21 FD 80 */ stwu r1, -0x280(r1) /* 80205264 002021C4 7C 08 02 A6 */ mflr r0 /* 80205268 002021C8 90 01 02 84 */ stw r0, 0x284(r1) /* 8020526C 002021CC BE 21 02 44 */ stmw r17, 0x244(r1) /* 80205270 002021D0 7C B2 2B 78 */ mr r18, r5 /* 80205274 002021D4 7C 7F 1B 78 */ mr r31, r3 /* 80205278 002021D8 7C 91 23 78 */ mr r17, r4 /* 8020527C 002021DC 7C DE 33 78 */ mr r30, r6 /* 80205280 002021E0 A0 05 00 00 */ lhz r0, 0(r5) /* 80205284 002021E4 38 A1 00 6C */ addi r5, r1, 0x6c /* 80205288 002021E8 B0 01 00 6C */ sth r0, 0x6c(r1) /* 8020528C 002021EC 4B E7 78 ED */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80205290 002021F0 2C 11 00 1E */ cmpwi r17, 0x1e /* 80205294 002021F4 41 82 06 3C */ beq lbl_802058D0 /* 80205298 002021F8 40 80 00 1C */ bge lbl_802052B4 /* 8020529C 002021FC 2C 11 00 04 */ cmpwi r17, 4 /* 802052A0 00202200 41 82 08 5C */ beq lbl_80205AFC /* 802052A4 00202204 40 80 08 68 */ bge lbl_80205B0C /* 802052A8 00202208 2C 11 00 01 */ cmpwi r17, 1 /* 802052AC 0020220C 41 82 08 3C */ beq lbl_80205AE8 /* 802052B0 00202210 48 00 08 5C */ b lbl_80205B0C lbl_802052B4: /* 802052B4 00202214 2C 11 00 22 */ cmpwi r17, 0x22 /* 802052B8 00202218 41 82 03 D4 */ beq lbl_8020568C /* 802052BC 0020221C 40 80 00 10 */ bge lbl_802052CC /* 802052C0 00202220 2C 11 00 21 */ cmpwi r17, 0x21 /* 802052C4 00202224 40 80 00 14 */ bge lbl_802052D8 /* 802052C8 00202228 48 00 08 44 */ b lbl_80205B0C lbl_802052CC: /* 802052CC 0020222C 2C 11 00 29 */ cmpwi r17, 0x29 /* 802052D0 00202230 41 82 04 04 */ beq lbl_802056D4 /* 802052D4 00202234 48 00 08 38 */ b lbl_80205B0C lbl_802052D8: /* 802052D8 00202238 7F E3 FB 78 */ mr r3, r31 /* 802052DC 0020223C 7F C5 F3 78 */ mr r5, r30 /* 802052E0 00202240 38 80 00 13 */ li r4, 0x13 /* 802052E4 00202244 4B E4 EC 9D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 802052E8 00202248 83 5F 05 80 */ lwz r26, 0x580(r31) /* 802052EC 0020224C 38 7F 05 8C */ addi r3, r31, 0x58c /* 802052F0 00202250 7F 44 D3 78 */ mr r4, r26 /* 802052F4 00202254 4B E0 71 15 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 802052F8 00202258 3C 60 80 3D */ lis r3, lbl_803D2590@ha /* 802052FC 0020225C 3B 01 01 7C */ addi r24, r1, 0x17c /* 80205300 00202260 3B 83 25 90 */ addi r28, r3, lbl_803D2590@l /* 80205304 00202264 3B 20 00 00 */ li r25, 0 /* 80205308 00202268 3B A0 00 00 */ li r29, 0 /* 8020530C 0020226C 3B 62 B0 78 */ addi r27, r2, lbl_805ACD98@sda21 /* 80205310 00202270 48 00 03 20 */ b lbl_80205630 lbl_80205314: /* 80205314 00202274 7F C4 F3 78 */ mr r4, r30 /* 80205318 00202278 38 61 00 68 */ addi r3, r1, 0x68 /* 8020531C 0020227C 4B E4 7D C1 */ bl AllocateUniqueId__13CStateManagerFv /* 80205320 00202280 A0 01 00 68 */ lhz r0, 0x68(r1) /* 80205324 00202284 38 9C 00 34 */ addi r4, r28, 0x34 /* 80205328 00202288 3A C0 00 00 */ li r22, 0 /* 8020532C 0020228C 3A A0 00 00 */ li r21, 0 /* 80205330 00202290 B0 01 00 80 */ sth r0, 0x80(r1) /* 80205334 00202294 3A 80 00 00 */ li r20, 0 /* 80205338 00202298 3A 20 00 00 */ li r17, 0 /* 8020533C 0020229C 38 60 03 48 */ li r3, 0x348 /* 80205340 002022A0 38 A0 00 00 */ li r5, 0 /* 80205344 002022A4 48 11 05 29 */ bl __nw__FUlPCcPCc /* 80205348 002022A8 7C 77 1B 79 */ or. r23, r3, r3 /* 8020534C 002022AC 41 82 01 E0 */ beq lbl_8020552C /* 80205350 002022B0 81 3F 05 88 */ lwz r9, 0x588(r31) /* 80205354 002022B4 38 00 00 0F */ li r0, 0xf /* 80205358 002022B8 81 01 00 A8 */ lwz r8, 0xa8(r1) /* 8020535C 002022BC 50 08 E0 06 */ rlwimi r8, r0, 0x1c, 0, 3 /* 80205360 002022C0 38 60 00 00 */ li r3, 0 /* 80205364 002022C4 C0 22 B0 88 */ lfs f1, lbl_805ACDA8@sda21(r2) /* 80205368 002022C8 91 01 00 A8 */ stw r8, 0xa8(r1) /* 8020536C 002022CC 50 68 D9 08 */ rlwimi r8, r3, 0x1b, 4, 4 /* 80205370 002022D0 C0 02 B0 A0 */ lfs f0, lbl_805ACDC0@sda21(r2) /* 80205374 002022D4 38 00 FF FF */ li r0, -1 /* 80205378 002022D8 80 ED 93 68 */ lwz r7, lbl_805A7F28@sda21(r13) /* 8020537C 002022DC FC 40 08 90 */ fmr f2, f1 /* 80205380 002022E0 80 CD 93 6C */ lwz r6, lbl_805A7F2C@sda21(r13) /* 80205384 002022E4 FC 60 08 90 */ fmr f3, f1 /* 80205388 002022E8 80 AD 93 60 */ lwz r5, lbl_805A7F20@sda21(r13) /* 8020538C 002022EC FC 80 08 90 */ fmr f4, f1 /* 80205390 002022F0 80 8D 93 64 */ lwz r4, lbl_805A7F24@sda21(r13) /* 80205394 002022F4 91 01 00 A8 */ stw r8, 0xa8(r1) /* 80205398 002022F8 50 68 D1 4A */ rlwimi r8, r3, 0x1a, 5, 5 /* 8020539C 002022FC 7E 69 EA 14 */ add r19, r9, r29 /* 802053A0 00202300 38 61 00 A0 */ addi r3, r1, 0xa0 /* 802053A4 00202304 91 01 00 A8 */ stw r8, 0xa8(r1) /* 802053A8 00202308 90 E1 00 D4 */ stw r7, 0xd4(r1) /* 802053AC 0020230C 90 C1 00 D8 */ stw r6, 0xd8(r1) /* 802053B0 00202310 90 A1 00 CC */ stw r5, 0xcc(r1) /* 802053B4 00202314 90 81 00 D0 */ stw r4, 0xd0(r1) /* 802053B8 00202318 90 01 00 A4 */ stw r0, 0xa4(r1) /* 802053BC 0020231C D0 01 01 1C */ stfs f0, 0x11c(r1) /* 802053C0 00202320 D0 01 01 20 */ stfs f0, 0x120(r1) /* 802053C4 00202324 D0 01 01 24 */ stfs f0, 0x124(r1) /* 802053C8 00202328 48 15 E0 25 */ bl __ct__6CColorFffff /* 802053CC 0020232C 38 80 FF FF */ li r4, -1 /* 802053D0 00202330 C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 802053D4 00202334 90 81 00 08 */ stw r4, 8(r1) /* 802053D8 00202338 7C 66 1B 78 */ mr r6, r3 /* 802053DC 0020233C 38 00 00 00 */ li r0, 0 /* 802053E0 00202340 FC 40 08 90 */ fmr f2, f1 /* 802053E4 00202344 90 81 00 0C */ stw r4, 0xc(r1) /* 802053E8 00202348 FC 60 08 90 */ fmr f3, f1 /* 802053EC 0020234C 38 61 01 90 */ addi r3, r1, 0x190 /* 802053F0 00202350 39 41 01 1C */ addi r10, r1, 0x11c /* 802053F4 00202354 90 01 00 10 */ stw r0, 0x10(r1) /* 802053F8 00202358 38 80 00 00 */ li r4, 0 /* 802053FC 0020235C 38 A0 FF FF */ li r5, -1 /* 80205400 00202360 90 01 00 14 */ stw r0, 0x14(r1) /* 80205404 00202364 38 E0 00 01 */ li r7, 1 /* 80205408 00202368 39 00 00 02 */ li r8, 2 /* 8020540C 0020236C 39 20 00 00 */ li r9, 0 /* 80205410 00202370 4B F0 12 E9 */ bl __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii /* 80205414 00202374 C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 80205418 00202378 38 00 00 00 */ li r0, 0 /* 8020541C 0020237C 90 01 00 08 */ stw r0, 8(r1) /* 80205420 00202380 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 80205424 00202384 FC 40 08 90 */ fmr f2, f1 /* 80205428 00202388 C0 62 B0 88 */ lfs f3, lbl_805ACDA8@sda21(r2) /* 8020542C 0020238C 90 01 00 0C */ stw r0, 0xc(r1) /* 80205430 00202390 38 81 01 90 */ addi r4, r1, 0x190 /* 80205434 00202394 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 80205438 00202398 38 C1 00 CC */ addi r6, r1, 0xcc /* 8020543C 0020239C 38 E1 00 D4 */ addi r7, r1, 0xd4 /* 80205440 002023A0 39 01 00 A8 */ addi r8, r1, 0xa8 /* 80205444 002023A4 3A C0 00 01 */ li r22, 1 /* 80205448 002023A8 39 20 00 01 */ li r9, 1 /* 8020544C 002023AC 39 40 00 01 */ li r10, 1 /* 80205450 002023B0 4B F0 14 79 */ bl sub_801068c8 /* 80205454 002023B4 7F E3 FB 78 */ mr r3, r31 /* 80205458 002023B8 7F C4 F3 78 */ mr r4, r30 /* 8020545C 002023BC 81 9F 00 00 */ lwz r12, 0(r31) /* 80205460 002023C0 3A A0 00 01 */ li r21, 1 /* 80205464 002023C4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80205468 002023C8 7D 89 03 A6 */ mtctr r12 /* 8020546C 002023CC 4E 80 04 21 */ bctrl /* 80205470 002023D0 80 DF 05 88 */ lwz r6, 0x588(r31) /* 80205474 002023D4 3C 80 80 57 */ lis r4, lbl_8056D410@ha /* 80205478 002023D8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 8020547C 002023DC 38 A4 D4 10 */ addi r5, r4, lbl_8056D410@l /* 80205480 002023E0 7C 72 1B 78 */ mr r18, r3 /* 80205484 002023E4 7E 26 EA 14 */ add r17, r6, r29 /* 80205488 002023E8 90 01 00 9C */ stw r0, 0x9c(r1) /* 8020548C 002023EC 38 61 01 78 */ addi r3, r1, 0x178 /* 80205490 002023F0 38 81 00 98 */ addi r4, r1, 0x98 /* 80205494 002023F4 38 C1 00 9C */ addi r6, r1, 0x9c /* 80205498 002023F8 80 1F 00 04 */ lwz r0, 4(r31) /* 8020549C 002023FC 90 01 00 94 */ stw r0, 0x94(r1) /* 802054A0 00202400 90 01 00 98 */ stw r0, 0x98(r1) /* 802054A4 00202404 4B E4 BF E1 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 802054A8 00202408 80 9B 00 00 */ lwz r4, 0(r27) /* 802054AC 0020240C 38 61 01 0C */ addi r3, r1, 0x10c /* 802054B0 00202410 38 C1 00 20 */ addi r6, r1, 0x20 /* 802054B4 00202414 3A 80 00 01 */ li r20, 1 /* 802054B8 00202418 38 A0 FF FF */ li r5, -1 /* 802054BC 0020241C 48 13 8C D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 802054C0 00202420 A0 01 00 80 */ lhz r0, 0x80(r1) /* 802054C4 00202424 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 802054C8 00202428 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 802054CC 0020242C 7E 29 8B 78 */ mr r9, r17 /* 802054D0 00202430 3C A0 80 57 */ lis r5, lbl_8056D578@ha /* 802054D4 00202434 B0 01 00 64 */ sth r0, 0x64(r1) /* 802054D8 00202438 38 05 D5 78 */ addi r0, r5, lbl_8056D578@l /* 802054DC 0020243C 38 9F 00 68 */ addi r4, r31, 0x68 /* 802054E0 00202440 90 01 00 08 */ stw r0, 8(r1) /* 802054E4 00202444 39 61 01 D0 */ addi r11, r1, 0x1d0 /* 802054E8 00202448 38 00 00 01 */ li r0, 1 /* 802054EC 0020244C C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 802054F0 00202450 90 81 00 0C */ stw r4, 0xc(r1) /* 802054F4 00202454 7E E3 BB 78 */ mr r3, r23 /* 802054F8 00202458 7E 4A 93 78 */ mr r10, r18 /* 802054FC 0020245C 38 81 00 64 */ addi r4, r1, 0x64 /* 80205500 00202460 80 BF 05 9C */ lwz r5, 0x59c(r31) /* 80205504 00202464 38 C1 01 0C */ addi r6, r1, 0x10c /* 80205508 00202468 38 E1 01 78 */ addi r7, r1, 0x178 /* 8020550C 0020246C 3A 20 00 01 */ li r17, 1 /* 80205510 00202470 90 A1 00 10 */ stw r5, 0x10(r1) /* 80205514 00202474 38 A0 00 01 */ li r5, 1 /* 80205518 00202478 91 61 00 14 */ stw r11, 0x14(r1) /* 8020551C 0020247C 92 61 00 18 */ stw r19, 0x18(r1) /* 80205520 00202480 90 01 00 1C */ stw r0, 0x1c(r1) /* 80205524 00202484 4B FD E1 85 */ bl "__ct__16CDestroyableRockF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDatafRC11CHealthInfoRC20CDamageVulnerabilityRC13CMaterialListUiRC16CActorParametersRC10CModelData" /* 80205528 00202488 7C 77 1B 78 */ mr r23, r3 lbl_8020552C: /* 8020552C 0020248C 7E 20 07 75 */ extsb. r0, r17 /* 80205530 00202490 7E F1 BB 78 */ mr r17, r23 /* 80205534 00202494 41 82 00 0C */ beq lbl_80205540 /* 80205538 00202498 38 61 01 0C */ addi r3, r1, 0x10c /* 8020553C 0020249C 48 13 85 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80205540: /* 80205540 002024A0 7E 80 07 75 */ extsb. r0, r20 /* 80205544 002024A4 41 82 00 4C */ beq lbl_80205590 /* 80205548 002024A8 28 18 00 00 */ cmplwi r24, 0 /* 8020554C 002024AC 41 82 00 44 */ beq lbl_80205590 /* 80205550 002024B0 80 01 01 80 */ lwz r0, 0x180(r1) /* 80205554 002024B4 80 61 01 88 */ lwz r3, 0x188(r1) /* 80205558 002024B8 1C 00 00 0C */ mulli r0, r0, 0xc /* 8020555C 002024BC 90 61 00 88 */ stw r3, 0x88(r1) /* 80205560 002024C0 7C 64 1B 78 */ mr r4, r3 /* 80205564 002024C4 7C 03 02 14 */ add r0, r3, r0 /* 80205568 002024C8 90 61 00 84 */ stw r3, 0x84(r1) /* 8020556C 002024CC 90 01 00 90 */ stw r0, 0x90(r1) /* 80205570 002024D0 90 01 00 8C */ stw r0, 0x8c(r1) /* 80205574 002024D4 48 00 00 08 */ b lbl_8020557C lbl_80205578: /* 80205578 002024D8 38 84 00 0C */ addi r4, r4, 0xc lbl_8020557C: /* 8020557C 002024DC 7C 04 00 40 */ cmplw r4, r0 /* 80205580 002024E0 40 82 FF F8 */ bne lbl_80205578 /* 80205584 002024E4 28 03 00 00 */ cmplwi r3, 0 /* 80205588 002024E8 41 82 00 08 */ beq lbl_80205590 /* 8020558C 002024EC 48 11 03 A5 */ bl Free__7CMemoryFPCv lbl_80205590: /* 80205590 002024F0 7E A0 07 75 */ extsb. r0, r21 /* 80205594 002024F4 41 82 00 10 */ beq lbl_802055A4 /* 80205598 002024F8 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 8020559C 002024FC 38 80 FF FF */ li r4, -1 /* 802055A0 00202500 4B F0 10 69 */ bl __dt__16CActorParametersFv lbl_802055A4: /* 802055A4 00202504 7E C0 07 75 */ extsb. r0, r22 /* 802055A8 00202508 41 82 00 10 */ beq lbl_802055B8 /* 802055AC 0020250C 38 61 01 90 */ addi r3, r1, 0x190 /* 802055B0 00202510 38 80 FF FF */ li r4, -1 /* 802055B4 00202514 4B F0 10 55 */ bl __dt__16CActorParametersFv lbl_802055B8: /* 802055B8 00202518 38 00 00 00 */ li r0, 0 /* 802055BC 0020251C 7F C3 F3 78 */ mr r3, r30 /* 802055C0 00202520 98 11 03 40 */ stb r0, 0x340(r17) /* 802055C4 00202524 7E 24 8B 78 */ mr r4, r17 /* 802055C8 00202528 C0 1F 05 0C */ lfs f0, 0x50c(r31) /* 802055CC 0020252C D0 11 03 2C */ stfs f0, 0x32c(r17) /* 802055D0 00202530 4B E4 77 25 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 802055D4 00202534 80 1F 05 90 */ lwz r0, 0x590(r31) /* 802055D8 00202538 80 BF 05 94 */ lwz r5, 0x594(r31) /* 802055DC 0020253C 7C 00 28 00 */ cmpw r0, r5 /* 802055E0 00202540 41 80 00 1C */ blt lbl_802055FC /* 802055E4 00202544 2C 05 00 00 */ cmpwi r5, 0 /* 802055E8 00202548 38 7F 05 8C */ addi r3, r31, 0x58c /* 802055EC 0020254C 38 80 00 04 */ li r4, 4 /* 802055F0 00202550 41 82 00 08 */ beq lbl_802055F8 /* 802055F4 00202554 54 A4 08 3C */ slwi r4, r5, 1 lbl_802055F8: /* 802055F8 00202558 4B E0 6E 11 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_802055FC: /* 802055FC 0020255C 80 1F 05 90 */ lwz r0, 0x590(r31) /* 80205600 00202560 80 7F 05 98 */ lwz r3, 0x598(r31) /* 80205604 00202564 54 00 08 3C */ slwi r0, r0, 1 /* 80205608 00202568 7C 63 02 15 */ add. r3, r3, r0 /* 8020560C 0020256C 41 82 00 0C */ beq lbl_80205618 /* 80205610 00202570 A0 01 00 80 */ lhz r0, 0x80(r1) /* 80205614 00202574 B0 03 00 00 */ sth r0, 0(r3) lbl_80205618: /* 80205618 00202578 80 7F 05 90 */ lwz r3, 0x590(r31) /* 8020561C 0020257C 3B 7B 00 08 */ addi r27, r27, 8 /* 80205620 00202580 3B 39 00 01 */ addi r25, r25, 1 /* 80205624 00202584 3B BD 00 4C */ addi r29, r29, 0x4c /* 80205628 00202588 38 03 00 01 */ addi r0, r3, 1 /* 8020562C 0020258C 90 1F 05 90 */ stw r0, 0x590(r31) lbl_80205630: /* 80205630 00202590 7C 19 D0 40 */ cmplw r25, r26 /* 80205634 00202594 41 80 FC E0 */ blt lbl_80205314 /* 80205638 00202598 7F E3 FB 78 */ mr r3, r31 /* 8020563C 0020259C 7F C5 F3 78 */ mr r5, r30 /* 80205640 002025A0 38 80 00 1B */ li r4, 0x1b /* 80205644 002025A4 4B E4 ED 0D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80205648 002025A8 7F E3 FB 78 */ mr r3, r31 /* 8020564C 002025AC 7F C4 F3 78 */ mr r4, r30 /* 80205650 002025B0 4B FF EF A1 */ bl InitializeCollisionManager__22CThardusRockProjectileFR13CStateManager /* 80205654 002025B4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80205658 002025B8 7F C4 F3 78 */ mr r4, r30 /* 8020565C 002025BC 4B F3 56 95 */ bl Activate__15CBodyControllerFR13CStateManager /* 80205660 002025C0 7F E3 FB 78 */ mr r3, r31 /* 80205664 002025C4 38 80 00 00 */ li r4, 0 /* 80205668 002025C8 81 9F 00 00 */ lwz r12, 0(r31) /* 8020566C 002025CC 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80205670 002025D0 7D 89 03 A6 */ mtctr r12 /* 80205674 002025D4 4E 80 04 21 */ bctrl /* 80205678 002025D8 7F E3 FB 78 */ mr r3, r31 /* 8020567C 002025DC 7F C4 F3 78 */ mr r4, r30 /* 80205680 002025E0 38 A0 00 00 */ li r5, 0 /* 80205684 002025E4 4B FF E8 91 */ bl SetChildrenActive__22CThardusRockProjectileFR13CStateManagerb /* 80205688 002025E8 48 00 04 84 */ b lbl_80205B0C lbl_8020568C: /* 8020568C 002025EC 80 7F 05 78 */ lwz r3, 0x578(r31) /* 80205690 002025F0 7F C4 F3 78 */ mr r4, r30 /* 80205694 002025F4 4B FA 1D 31 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 80205698 002025F8 82 5F 05 90 */ lwz r18, 0x590(r31) /* 8020569C 002025FC 3A 60 00 00 */ li r19, 0 /* 802056A0 00202600 3A 20 00 00 */ li r17, 0 /* 802056A4 00202604 48 00 00 24 */ b lbl_802056C8 lbl_802056A8: /* 802056A8 00202608 80 BF 05 98 */ lwz r5, 0x598(r31) /* 802056AC 0020260C 7F C3 F3 78 */ mr r3, r30 /* 802056B0 00202610 38 81 00 60 */ addi r4, r1, 0x60 /* 802056B4 00202614 7C 05 8A 2E */ lhzx r0, r5, r17 /* 802056B8 00202618 B0 01 00 60 */ sth r0, 0x60(r1) /* 802056BC 0020261C 4B E4 6B B1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 802056C0 00202620 3A 73 00 01 */ addi r19, r19, 1 /* 802056C4 00202624 3A 31 00 02 */ addi r17, r17, 2 lbl_802056C8: /* 802056C8 00202628 7C 13 90 40 */ cmplw r19, r18 /* 802056CC 0020262C 41 80 FF DC */ blt lbl_802056A8 /* 802056D0 00202630 48 00 04 3C */ b lbl_80205B0C lbl_802056D4: /* 802056D4 00202634 A0 12 00 00 */ lhz r0, 0(r18) /* 802056D8 00202638 7F C3 F3 78 */ mr r3, r30 /* 802056DC 0020263C 38 81 00 5C */ addi r4, r1, 0x5c /* 802056E0 00202640 B0 01 00 5C */ sth r0, 0x5c(r1) /* 802056E4 00202644 4B E4 6E 91 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802056E8 00202648 7C 64 1B 78 */ mr r4, r3 /* 802056EC 0020264C 38 61 00 C4 */ addi r3, r1, 0xc4 /* 802056F0 00202650 4B EA 9C 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 802056F4 00202654 82 63 00 04 */ lwz r19, 4(r3) /* 802056F8 00202658 28 13 00 00 */ cmplwi r19, 0 /* 802056FC 0020265C 41 82 04 10 */ beq lbl_80205B0C /* 80205700 00202660 80 7F 05 78 */ lwz r3, 0x578(r31) /* 80205704 00202664 4B FA 1B 45 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 80205708 00202668 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8020570C 0020266C 7C 71 1B 78 */ mr r17, r3 /* 80205710 00202670 3A 80 00 00 */ li r20, 0 /* 80205714 00202674 B0 01 00 7C */ sth r0, 0x7c(r1) /* 80205718 00202678 48 00 00 38 */ b lbl_80205750 lbl_8020571C: /* 8020571C 0020267C 80 7F 05 78 */ lwz r3, 0x578(r31) /* 80205720 00202680 7E 84 A3 78 */ mr r4, r20 /* 80205724 00202684 4B FA 1B 15 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80205728 00202688 A0 92 00 00 */ lhz r4, 0(r18) /* 8020572C 0020268C A0 03 00 3C */ lhz r0, 0x3c(r3) /* 80205730 00202690 7C 04 00 40 */ cmplw r4, r0 /* 80205734 00202694 40 82 00 18 */ bne lbl_8020574C /* 80205738 00202698 80 7F 05 98 */ lwz r3, 0x598(r31) /* 8020573C 0020269C 56 80 08 3C */ slwi r0, r20, 1 /* 80205740 002026A0 7C 03 02 2E */ lhzx r0, r3, r0 /* 80205744 002026A4 B0 01 00 7C */ sth r0, 0x7c(r1) /* 80205748 002026A8 48 00 00 10 */ b lbl_80205758 lbl_8020574C: /* 8020574C 002026AC 3A 94 00 01 */ addi r20, r20, 1 lbl_80205750: /* 80205750 002026B0 7C 14 88 40 */ cmplw r20, r17 /* 80205754 002026B4 41 80 FF C8 */ blt lbl_8020571C lbl_80205758: /* 80205758 002026B8 A0 01 00 7C */ lhz r0, 0x7c(r1) /* 8020575C 002026BC 7F C3 F3 78 */ mr r3, r30 /* 80205760 002026C0 38 81 00 58 */ addi r4, r1, 0x58 /* 80205764 002026C4 B0 01 00 58 */ sth r0, 0x58(r1) /* 80205768 002026C8 4B E4 6E 0D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8020576C 002026CC 28 03 00 00 */ cmplwi r3, 0 /* 80205770 002026D0 41 82 03 9C */ beq lbl_80205B0C /* 80205774 002026D4 C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 80205778 002026D8 38 81 01 00 */ addi r4, r1, 0x100 /* 8020577C 002026DC D0 21 01 00 */ stfs f1, 0x100(r1) /* 80205780 002026E0 D0 21 01 04 */ stfs f1, 0x104(r1) /* 80205784 002026E4 D0 21 01 08 */ stfs f1, 0x108(r1) /* 80205788 002026E8 81 83 00 00 */ lwz r12, 0(r3) /* 8020578C 002026EC 81 8C 00 90 */ lwz r12, 0x90(r12) /* 80205790 002026F0 7D 89 03 A6 */ mtctr r12 /* 80205794 002026F4 4E 80 04 21 */ bctrl /* 80205798 002026F8 7E 64 9B 78 */ mr r4, r19 /* 8020579C 002026FC 38 61 00 54 */ addi r3, r1, 0x54 /* 802057A0 00202700 4B FA 33 ED */ bl GetLastTouchedObject__15CCollisionActorCFv /* 802057A4 00202704 A0 01 00 54 */ lhz r0, 0x54(r1) /* 802057A8 00202708 7F C3 F3 78 */ mr r3, r30 /* 802057AC 0020270C 38 81 00 50 */ addi r4, r1, 0x50 /* 802057B0 00202710 B0 01 00 78 */ sth r0, 0x78(r1) /* 802057B4 00202714 B0 01 00 50 */ sth r0, 0x50(r1) /* 802057B8 00202718 4B E4 6D ED */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802057BC 0020271C 7C 64 1B 78 */ mr r4, r3 /* 802057C0 00202720 38 61 00 AC */ addi r3, r1, 0xac /* 802057C4 00202724 4B EA 7F 49 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 802057C8 00202728 82 23 00 04 */ lwz r17, 4(r3) /* 802057CC 0020272C 28 11 00 00 */ cmplwi r17, 0 /* 802057D0 00202730 41 82 03 3C */ beq lbl_80205B0C /* 802057D4 00202734 A0 7F 05 D0 */ lhz r3, 0x5d0(r31) /* 802057D8 00202738 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 802057DC 0020273C 7C 03 00 40 */ cmplw r3, r0 /* 802057E0 00202740 41 82 03 2C */ beq lbl_80205B0C /* 802057E4 00202744 A0 1F 05 D0 */ lhz r0, 0x5d0(r31) /* 802057E8 00202748 7F C3 F3 78 */ mr r3, r30 /* 802057EC 0020274C 38 81 00 4C */ addi r4, r1, 0x4c /* 802057F0 00202750 B0 01 00 4C */ sth r0, 0x4c(r1) /* 802057F4 00202754 4B E4 6D 81 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802057F8 00202758 28 03 00 00 */ cmplwi r3, 0 /* 802057FC 0020275C 41 82 03 10 */ beq lbl_80205B0C /* 80205800 00202760 80 9E 08 B8 */ lwz r4, 0x8b8(r30) /* 80205804 00202764 80 84 00 00 */ lwz r4, 0(r4) /* 80205808 00202768 80 04 00 14 */ lwz r0, 0x14(r4) /* 8020580C 0020276C 2C 00 00 03 */ cmpwi r0, 3 /* 80205810 00202770 40 82 00 14 */ bne lbl_80205824 /* 80205814 00202774 40 82 00 60 */ bne lbl_80205874 /* 80205818 00202778 80 03 07 C4 */ lwz r0, 0x7c4(r3) /* 8020581C 0020277C 2C 00 00 03 */ cmpwi r0, 3 /* 80205820 00202780 41 82 00 54 */ beq lbl_80205874 lbl_80205824: /* 80205824 00202784 80 BF 00 64 */ lwz r5, 0x64(r31) /* 80205828 00202788 7F E3 FB 78 */ mr r3, r31 /* 8020582C 0020278C 7F C4 F3 78 */ mr r4, r30 /* 80205830 00202790 38 C1 00 F4 */ addi r6, r1, 0xf4 /* 80205834 00202794 C0 05 00 00 */ lfs f0, 0(r5) /* 80205838 00202798 38 E1 00 E8 */ addi r7, r1, 0xe8 /* 8020583C 0020279C 39 00 00 00 */ li r8, 0 /* 80205840 002027A0 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 80205844 002027A4 C0 05 00 04 */ lfs f0, 4(r5) /* 80205848 002027A8 D0 01 00 EC */ stfs f0, 0xec(r1) /* 8020584C 002027AC C0 05 00 08 */ lfs f0, 8(r5) /* 80205850 002027B0 D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 80205854 002027B4 C0 51 00 60 */ lfs f2, 0x60(r17) /* 80205858 002027B8 C0 31 00 50 */ lfs f1, 0x50(r17) /* 8020585C 002027BC C0 11 00 40 */ lfs f0, 0x40(r17) /* 80205860 002027C0 D0 01 00 F4 */ stfs f0, 0xf4(r1) /* 80205864 002027C4 D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 80205868 002027C8 D0 41 00 FC */ stfs f2, 0xfc(r1) /* 8020586C 002027CC 80 BF 05 C4 */ lwz r5, 0x5c4(r31) /* 80205870 002027D0 4B FF DF B5 */ bl sub_80203824 lbl_80205874: /* 80205874 002027D4 81 5E 08 CC */ lwz r10, 0x8cc(r30) /* 80205878 002027D8 3C 60 80 5A */ lis r3, skZero3f@ha /* 8020587C 002027DC C0 91 00 60 */ lfs f4, 0x60(r17) /* 80205880 002027E0 39 03 66 A0 */ addi r8, r3, skZero3f@l /* 80205884 002027E4 C0 71 00 50 */ lfs f3, 0x50(r17) /* 80205888 002027E8 38 00 00 01 */ li r0, 1 /* 8020588C 002027EC C0 11 00 40 */ lfs f0, 0x40(r17) /* 80205890 002027F0 7F E3 FB 78 */ mr r3, r31 /* 80205894 002027F4 C0 22 B0 88 */ lfs f1, lbl_805ACDA8@sda21(r2) /* 80205898 002027F8 39 21 00 DC */ addi r9, r1, 0xdc /* 8020589C 002027FC D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 802058A0 00202800 38 A0 00 00 */ li r5, 0 /* 802058A4 00202804 C0 42 B0 94 */ lfs f2, lbl_805ACDB4@sda21(r2) /* 802058A8 00202808 38 C0 00 14 */ li r6, 0x14 /* 802058AC 0020280C D0 01 00 DC */ stfs f0, 0xdc(r1) /* 802058B0 00202810 38 E0 00 7F */ li r7, 0x7f /* 802058B4 00202814 C0 62 B0 98 */ lfs f3, lbl_805ACDB8@sda21(r2) /* 802058B8 00202818 D0 81 00 E4 */ stfs f4, 0xe4(r1) /* 802058BC 0020281C 93 C1 00 08 */ stw r30, 8(r1) /* 802058C0 00202820 90 01 00 0C */ stw r0, 0xc(r1) /* 802058C4 00202824 80 9F 05 D4 */ lwz r4, 0x5d4(r31) /* 802058C8 00202828 4B E4 D6 69 */ bl ProcessSoundEvent__6CActorFififfUcUcRC9CVector3fRC9CVector3fiR13CStateManager /* 802058CC 0020282C 48 00 02 40 */ b lbl_80205B0C lbl_802058D0: /* 802058D0 00202830 A0 12 00 00 */ lhz r0, 0(r18) /* 802058D4 00202834 7F C3 F3 78 */ mr r3, r30 /* 802058D8 00202838 38 81 00 48 */ addi r4, r1, 0x48 /* 802058DC 0020283C B0 01 00 48 */ sth r0, 0x48(r1) /* 802058E0 00202840 4B E4 6C 95 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802058E4 00202844 7C 60 1B 78 */ mr r0, r3 /* 802058E8 00202848 38 61 00 BC */ addi r3, r1, 0xbc /* 802058EC 0020284C 7C 04 03 78 */ mr r4, r0 /* 802058F0 00202850 4B EA 9A 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 802058F4 00202854 82 23 00 04 */ lwz r17, 4(r3) /* 802058F8 00202858 28 11 00 00 */ cmplwi r17, 0 /* 802058FC 0020285C 41 82 02 10 */ beq lbl_80205B0C /* 80205900 00202860 7E 24 8B 78 */ mr r4, r17 /* 80205904 00202864 38 61 00 44 */ addi r3, r1, 0x44 /* 80205908 00202868 4B FA 32 85 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 8020590C 0020286C A0 01 00 44 */ lhz r0, 0x44(r1) /* 80205910 00202870 7F C3 F3 78 */ mr r3, r30 /* 80205914 00202874 38 81 00 40 */ addi r4, r1, 0x40 /* 80205918 00202878 B0 01 00 74 */ sth r0, 0x74(r1) /* 8020591C 0020287C B0 01 00 40 */ sth r0, 0x40(r1) /* 80205920 00202880 4B E4 6C 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80205924 00202884 7C 60 1B 78 */ mr r0, r3 /* 80205928 00202888 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8020592C 0020288C 7C 04 03 78 */ mr r4, r0 /* 80205930 00202890 4B EA 6A 65 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" /* 80205934 00202894 82 63 00 04 */ lwz r19, 4(r3) /* 80205938 00202898 28 13 00 00 */ cmplwi r19, 0 /* 8020593C 0020289C 41 82 01 D0 */ beq lbl_80205B0C /* 80205940 002028A0 C0 3F 04 20 */ lfs f1, 0x420(r31) /* 80205944 002028A4 C0 02 B0 A0 */ lfs f0, lbl_805ACDC0@sda21(r2) /* 80205948 002028A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020594C 002028AC 4C 40 13 82 */ cror 2, 0, 2 /* 80205950 002028B0 40 82 00 CC */ bne lbl_80205A1C /* 80205954 002028B4 7F E4 FB 78 */ mr r4, r31 /* 80205958 002028B8 38 61 01 5C */ addi r3, r1, 0x15c /* 8020595C 002028BC 81 9F 00 00 */ lwz r12, 0(r31) /* 80205960 002028C0 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 80205964 002028C4 7D 89 03 A6 */ mtctr r12 /* 80205968 002028C8 4E 80 04 21 */ bctrl /* 8020596C 002028CC 80 AD 93 50 */ lwz r5, lbl_805A7F10@sda21(r13) /* 80205970 002028D0 38 60 00 00 */ li r3, 0 /* 80205974 002028D4 38 80 00 01 */ li r4, 1 /* 80205978 002028D8 48 18 45 7D */ bl __shl2i /* 8020597C 002028DC 38 A0 00 00 */ li r5, 0 /* 80205980 002028E0 38 00 00 03 */ li r0, 3 /* 80205984 002028E4 90 81 01 2C */ stw r4, 0x12c(r1) /* 80205988 002028E8 7F E4 FB 78 */ mr r4, r31 /* 8020598C 002028EC 90 61 01 28 */ stw r3, 0x128(r1) /* 80205990 002028F0 38 61 01 40 */ addi r3, r1, 0x140 /* 80205994 002028F4 90 A1 01 34 */ stw r5, 0x134(r1) /* 80205998 002028F8 90 A1 01 30 */ stw r5, 0x130(r1) /* 8020599C 002028FC 90 01 01 38 */ stw r0, 0x138(r1) /* 802059A0 00202900 A0 1F 00 08 */ lhz r0, 8(r31) /* 802059A4 00202904 B0 01 00 2C */ sth r0, 0x2c(r1) /* 802059A8 00202908 A0 B3 00 08 */ lhz r5, 8(r19) /* 802059AC 0020290C B0 01 00 28 */ sth r0, 0x28(r1) /* 802059B0 00202910 B0 A1 00 34 */ sth r5, 0x34(r1) /* 802059B4 00202914 A0 1F 00 08 */ lhz r0, 8(r31) /* 802059B8 00202918 B0 A1 00 30 */ sth r5, 0x30(r1) /* 802059BC 0020291C B0 01 00 3C */ sth r0, 0x3c(r1) /* 802059C0 00202920 81 9F 00 00 */ lwz r12, 0(r31) /* 802059C4 00202924 B0 01 00 38 */ sth r0, 0x38(r1) /* 802059C8 00202928 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 802059CC 0020292C 7D 89 03 A6 */ mtctr r12 /* 802059D0 00202930 4E 80 04 21 */ bctrl /* 802059D4 00202934 3C 80 80 5A */ lis r4, skZero3f@ha /* 802059D8 00202938 7F C3 F3 78 */ mr r3, r30 /* 802059DC 0020293C 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 802059E0 00202940 38 A1 00 34 */ addi r5, r1, 0x34 /* 802059E4 00202944 38 81 00 3C */ addi r4, r1, 0x3c /* 802059E8 00202948 38 C1 00 2C */ addi r6, r1, 0x2c /* 802059EC 0020294C 38 E1 01 40 */ addi r7, r1, 0x140 /* 802059F0 00202950 39 01 01 28 */ addi r8, r1, 0x128 /* 802059F4 00202954 4B E4 46 AD */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 802059F8 00202958 C0 1F 04 24 */ lfs f0, 0x424(r31) /* 802059FC 0020295C D0 1F 04 20 */ stfs f0, 0x420(r31) /* 80205A00 00202960 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80205A04 00202964 4B E1 02 F9 */ bl GetFrozenState__7CPlayerCFv /* 80205A08 00202968 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80205A0C 0020296C 41 82 00 10 */ beq lbl_80205A1C /* 80205A10 00202970 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80205A14 00202974 7F C4 F3 78 */ mr r4, r30 /* 80205A18 00202978 4B E1 00 15 */ bl UnFreeze__7CPlayerFR13CStateManager lbl_80205A1C: /* 80205A1C 0020297C 80 7F 05 78 */ lwz r3, 0x578(r31) /* 80205A20 00202980 4B FA 18 29 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 80205A24 00202984 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80205A28 00202988 7C 73 1B 78 */ mr r19, r3 /* 80205A2C 0020298C 3A 80 00 00 */ li r20, 0 /* 80205A30 00202990 B0 01 00 70 */ sth r0, 0x70(r1) /* 80205A34 00202994 48 00 00 38 */ b lbl_80205A6C lbl_80205A38: /* 80205A38 00202998 80 7F 05 78 */ lwz r3, 0x578(r31) /* 80205A3C 0020299C 7E 84 A3 78 */ mr r4, r20 /* 80205A40 002029A0 4B FA 17 F9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80205A44 002029A4 A0 63 00 3C */ lhz r3, 0x3c(r3) /* 80205A48 002029A8 A0 12 00 00 */ lhz r0, 0(r18) /* 80205A4C 002029AC 7C 03 00 40 */ cmplw r3, r0 /* 80205A50 002029B0 40 82 00 18 */ bne lbl_80205A68 /* 80205A54 002029B4 80 7F 05 98 */ lwz r3, 0x598(r31) /* 80205A58 002029B8 56 80 08 3C */ slwi r0, r20, 1 /* 80205A5C 002029BC 7C 03 02 2E */ lhzx r0, r3, r0 /* 80205A60 002029C0 B0 01 00 70 */ sth r0, 0x70(r1) /* 80205A64 002029C4 48 00 00 10 */ b lbl_80205A74 lbl_80205A68: /* 80205A68 002029C8 3A 94 00 01 */ addi r20, r20, 1 lbl_80205A6C: /* 80205A6C 002029CC 7C 14 98 40 */ cmplw r20, r19 /* 80205A70 002029D0 41 80 FF C8 */ blt lbl_80205A38 lbl_80205A74: /* 80205A74 002029D4 A0 61 00 70 */ lhz r3, 0x70(r1) /* 80205A78 002029D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80205A7C 002029DC 7C 03 00 40 */ cmplw r3, r0 /* 80205A80 002029E0 41 82 00 8C */ beq lbl_80205B0C /* 80205A84 002029E4 A0 01 00 70 */ lhz r0, 0x70(r1) /* 80205A88 002029E8 7F C3 F3 78 */ mr r3, r30 /* 80205A8C 002029EC 38 81 00 24 */ addi r4, r1, 0x24 /* 80205A90 002029F0 B0 01 00 24 */ sth r0, 0x24(r1) /* 80205A94 002029F4 4B E4 6A E1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80205A98 002029F8 28 03 00 00 */ cmplwi r3, 0 /* 80205A9C 002029FC 41 82 00 70 */ beq lbl_80205B0C /* 80205AA0 00202A00 88 03 00 30 */ lbz r0, 0x30(r3) /* 80205AA4 00202A04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80205AA8 00202A08 41 82 00 64 */ beq lbl_80205B0C /* 80205AAC 00202A0C 81 83 00 00 */ lwz r12, 0(r3) /* 80205AB0 00202A10 38 80 00 00 */ li r4, 0 /* 80205AB4 00202A14 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80205AB8 00202A18 7D 89 03 A6 */ mtctr r12 /* 80205ABC 00202A1C 4E 80 04 21 */ bctrl /* 80205AC0 00202A20 7E 23 8B 78 */ mr r3, r17 /* 80205AC4 00202A24 38 80 00 00 */ li r4, 0 /* 80205AC8 00202A28 81 91 00 00 */ lwz r12, 0(r17) /* 80205ACC 00202A2C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80205AD0 00202A30 7D 89 03 A6 */ mtctr r12 /* 80205AD4 00202A34 4E 80 04 21 */ bctrl /* 80205AD8 00202A38 80 7F 05 A0 */ lwz r3, 0x5a0(r31) /* 80205ADC 00202A3C 38 03 00 01 */ addi r0, r3, 1 /* 80205AE0 00202A40 90 1F 05 A0 */ stw r0, 0x5a0(r31) /* 80205AE4 00202A44 48 00 00 28 */ b lbl_80205B0C lbl_80205AE8: /* 80205AE8 00202A48 7F E3 FB 78 */ mr r3, r31 /* 80205AEC 00202A4C 7F C4 F3 78 */ mr r4, r30 /* 80205AF0 00202A50 38 A0 00 01 */ li r5, 1 /* 80205AF4 00202A54 4B FF E4 21 */ bl SetChildrenActive__22CThardusRockProjectileFR13CStateManagerb /* 80205AF8 00202A58 48 00 00 14 */ b lbl_80205B0C lbl_80205AFC: /* 80205AFC 00202A5C 7F E3 FB 78 */ mr r3, r31 /* 80205B00 00202A60 7F C4 F3 78 */ mr r4, r30 /* 80205B04 00202A64 38 A0 00 00 */ li r5, 0 /* 80205B08 00202A68 4B FF E4 0D */ bl SetChildrenActive__22CThardusRockProjectileFR13CStateManagerb lbl_80205B0C: /* 80205B0C 00202A6C BA 21 02 44 */ lmw r17, 0x244(r1) /* 80205B10 00202A70 80 01 02 84 */ lwz r0, 0x284(r1) /* 80205B14 00202A74 7C 08 03 A6 */ mtlr r0 /* 80205B18 00202A78 38 21 02 80 */ addi r1, r1, 0x280 /* 80205B1C 00202A7C 4E 80 00 20 */ blr .global Accept__22CThardusRockProjectileFR8IVisitor Accept__22CThardusRockProjectileFR8IVisitor: /* 80205B20 00202A80 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80205B24 00202A84 7C 08 02 A6 */ mflr r0 /* 80205B28 00202A88 90 01 00 14 */ stw r0, 0x14(r1) /* 80205B2C 00202A8C 7C 60 1B 78 */ mr r0, r3 /* 80205B30 00202A90 7C 83 23 78 */ mr r3, r4 /* 80205B34 00202A94 81 84 00 00 */ lwz r12, 0(r4) /* 80205B38 00202A98 7C 04 03 78 */ mr r4, r0 /* 80205B3C 00202A9C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80205B40 00202AA0 7D 89 03 A6 */ mtctr r12 /* 80205B44 00202AA4 4E 80 04 21 */ bctrl /* 80205B48 00202AA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80205B4C 00202AAC 7C 08 03 A6 */ mtlr r0 /* 80205B50 00202AB0 38 21 00 10 */ addi r1, r1, 0x10 /* 80205B54 00202AB4 4E 80 00 20 */ blr .global "__ct__22CThardusRockProjectileF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>Ui" "__ct__22CThardusRockProjectileF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>Ui": /* 80205B58 00202AB8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80205B5C 00202ABC 7C 08 02 A6 */ mflr r0 /* 80205B60 00202AC0 90 01 00 74 */ stw r0, 0x74(r1) /* 80205B64 00202AC4 DB E1 00 60 */ stfd f31, 0x60(r1) /* 80205B68 00202AC8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 80205B6C 00202ACC BF 61 00 4C */ stmw r27, 0x4c(r1) /* 80205B70 00202AD0 A0 04 00 00 */ lhz r0, 0(r4) /* 80205B74 00202AD4 7C DD 33 78 */ mr r29, r6 /* 80205B78 00202AD8 7C EC 3B 78 */ mr r12, r7 /* 80205B7C 00202ADC 7D 04 43 78 */ mr r4, r8 /* 80205B80 00202AE0 B0 01 00 20 */ sth r0, 0x20(r1) /* 80205B84 00202AE4 7C A6 2B 78 */ mr r6, r5 /* 80205B88 00202AE8 39 60 00 01 */ li r11, 1 /* 80205B8C 00202AEC 38 00 00 03 */ li r0, 3 /* 80205B90 00202AF0 91 41 00 08 */ stw r10, 8(r1) /* 80205B94 00202AF4 7C 8A 23 78 */ mr r10, r4 /* 80205B98 00202AF8 FF E0 08 90 */ fmr f31, f1 /* 80205B9C 00202AFC 83 81 00 78 */ lwz r28, 0x78(r1) /* 80205BA0 00202B00 91 61 00 0C */ stw r11, 0xc(r1) /* 80205BA4 00202B04 7C 7F 1B 78 */ mr r31, r3 /* 80205BA8 00202B08 83 61 00 7C */ lwz r27, 0x7c(r1) /* 80205BAC 00202B0C 7F A8 EB 78 */ mr r8, r29 /* 80205BB0 00202B10 91 61 00 10 */ stw r11, 0x10(r1) /* 80205BB4 00202B14 38 A1 00 20 */ addi r5, r1, 0x20 /* 80205BB8 00202B18 38 80 00 25 */ li r4, 0x25 /* 80205BBC 00202B1C 38 E0 00 00 */ li r7, 0 /* 80205BC0 00202B20 90 01 00 14 */ stw r0, 0x14(r1) /* 80205BC4 00202B24 91 21 00 18 */ stw r9, 0x18(r1) /* 80205BC8 00202B28 7D 89 63 78 */ mr r9, r12 /* 80205BCC 00202B2C 91 61 00 1C */ stw r11, 0x1c(r1) /* 80205BD0 00202B30 4B E7 78 81 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 80205BD4 00202B34 3C 60 80 3E */ lis r3, lbl_803E6BE0@ha /* 80205BD8 00202B38 C0 02 B0 88 */ lfs f0, lbl_805ACDA8@sda21(r2) /* 80205BDC 00202B3C 38 03 6B E0 */ addi r0, r3, lbl_803E6BE0@l /* 80205BE0 00202B40 38 A0 00 00 */ li r5, 0 /* 80205BE4 00202B44 90 1F 00 00 */ stw r0, 0(r31) /* 80205BE8 00202B48 38 00 FF FF */ li r0, -1 /* 80205BEC 00202B4C 7F 84 E3 78 */ mr r4, r28 /* 80205BF0 00202B50 38 7F 05 7C */ addi r3, r31, 0x57c /* 80205BF4 00202B54 D0 1F 05 68 */ stfs f0, 0x568(r31) /* 80205BF8 00202B58 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 80205BFC 00202B5C B0 DF 05 70 */ sth r6, 0x570(r31) /* 80205C00 00202B60 98 BF 05 72 */ stb r5, 0x572(r31) /* 80205C04 00202B64 90 1F 05 74 */ stw r0, 0x574(r31) /* 80205C08 00202B68 90 BF 05 78 */ stw r5, 0x578(r31) /* 80205C0C 00202B6C 4B FD D2 01 */ bl sub_801e2e0c /* 80205C10 00202B70 38 80 00 00 */ li r4, 0 /* 80205C14 00202B74 38 00 00 01 */ li r0, 1 /* 80205C18 00202B78 90 9F 05 90 */ stw r4, 0x590(r31) /* 80205C1C 00202B7C 7F E3 FB 78 */ mr r3, r31 /* 80205C20 00202B80 C0 22 B0 A0 */ lfs f1, lbl_805ACDC0@sda21(r2) /* 80205C24 00202B84 90 9F 05 94 */ stw r4, 0x594(r31) /* 80205C28 00202B88 C0 02 B0 88 */ lfs f0, lbl_805ACDA8@sda21(r2) /* 80205C2C 00202B8C 90 9F 05 98 */ stw r4, 0x598(r31) /* 80205C30 00202B90 93 7F 05 9C */ stw r27, 0x59c(r31) /* 80205C34 00202B94 90 9F 05 A0 */ stw r4, 0x5a0(r31) /* 80205C38 00202B98 98 1F 05 A4 */ stb r0, 0x5a4(r31) /* 80205C3C 00202B9C D0 3F 05 A8 */ stfs f1, 0x5a8(r31) /* 80205C40 00202BA0 D0 3F 05 AC */ stfs f1, 0x5ac(r31) /* 80205C44 00202BA4 D0 3F 05 B0 */ stfs f1, 0x5b0(r31) /* 80205C48 00202BA8 D0 1F 05 B4 */ stfs f0, 0x5b4(r31) /* 80205C4C 00202BAC D0 3F 05 B8 */ stfs f1, 0x5b8(r31) /* 80205C50 00202BB0 98 1F 05 BC */ stb r0, 0x5bc(r31) /* 80205C54 00202BB4 D3 FF 05 C0 */ stfs f31, 0x5c0(r31) /* 80205C58 00202BB8 90 9F 05 C4 */ stw r4, 0x5c4(r31) /* 80205C5C 00202BBC 90 9F 05 C8 */ stw r4, 0x5c8(r31) /* 80205C60 00202BC0 90 9F 05 CC */ stw r4, 0x5cc(r31) /* 80205C64 00202BC4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80205C68 00202BC8 B0 1F 05 D0 */ sth r0, 0x5d0(r31) /* 80205C6C 00202BCC 90 9F 05 D4 */ stw r4, 0x5d4(r31) /* 80205C70 00202BD0 90 9F 05 D8 */ stw r4, 0x5d8(r31) /* 80205C74 00202BD4 98 9F 05 DC */ stb r4, 0x5dc(r31) /* 80205C78 00202BD8 98 9F 05 DD */ stb r4, 0x5dd(r31) /* 80205C7C 00202BDC 4B E4 DC 41 */ bl GetMaterialFilter__6CActorCFv /* 80205C80 00202BE0 80 AD 93 54 */ lwz r5, lbl_805A7F14@sda21(r13) /* 80205C84 00202BE4 38 80 00 01 */ li r4, 1 /* 80205C88 00202BE8 83 C3 00 08 */ lwz r30, 8(r3) /* 80205C8C 00202BEC 83 A3 00 0C */ lwz r29, 0xc(r3) /* 80205C90 00202BF0 38 60 00 00 */ li r3, 0 /* 80205C94 00202BF4 48 18 42 61 */ bl __shl2i /* 80205C98 00202BF8 80 AD 93 58 */ lwz r5, lbl_805A7F18@sda21(r13) /* 80205C9C 00202BFC 7C 9B 23 78 */ mr r27, r4 /* 80205CA0 00202C00 7C 7C 1B 78 */ mr r28, r3 /* 80205CA4 00202C04 38 60 00 00 */ li r3, 0 /* 80205CA8 00202C08 38 80 00 01 */ li r4, 1 /* 80205CAC 00202C0C 48 18 42 49 */ bl __shl2i /* 80205CB0 00202C10 80 AD 93 5C */ lwz r5, lbl_805A7F1C@sda21(r13) /* 80205CB4 00202C14 7F 7B 23 78 */ or r27, r27, r4 /* 80205CB8 00202C18 7F 9C 1B 78 */ or r28, r28, r3 /* 80205CBC 00202C1C 38 60 00 00 */ li r3, 0 /* 80205CC0 00202C20 38 80 00 01 */ li r4, 1 /* 80205CC4 00202C24 48 18 42 31 */ bl __shl2i /* 80205CC8 00202C28 7F 9C 1B 78 */ or r28, r28, r3 /* 80205CCC 00202C2C 7F 7B 23 78 */ or r27, r27, r4 /* 80205CD0 00202C30 7F E3 FB 78 */ mr r3, r31 /* 80205CD4 00202C34 7F BD DB 78 */ or r29, r29, r27 /* 80205CD8 00202C38 7F DE E3 78 */ or r30, r30, r28 /* 80205CDC 00202C3C 4B E4 DB E1 */ bl GetMaterialFilter__6CActorCFv /* 80205CE0 00202C40 80 A3 00 00 */ lwz r5, 0(r3) /* 80205CE4 00202C44 38 00 00 03 */ li r0, 3 /* 80205CE8 00202C48 80 C3 00 04 */ lwz r6, 4(r3) /* 80205CEC 00202C4C 7F E3 FB 78 */ mr r3, r31 /* 80205CF0 00202C50 38 81 00 28 */ addi r4, r1, 0x28 /* 80205CF4 00202C54 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80205CF8 00202C58 90 A1 00 28 */ stw r5, 0x28(r1) /* 80205CFC 00202C5C 93 A1 00 34 */ stw r29, 0x34(r1) /* 80205D00 00202C60 93 C1 00 30 */ stw r30, 0x30(r1) /* 80205D04 00202C64 90 01 00 38 */ stw r0, 0x38(r1) /* 80205D08 00202C68 4B E4 DB 99 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 80205D0C 00202C6C C0 02 B0 88 */ lfs f0, lbl_805ACDA8@sda21(r2) /* 80205D10 00202C70 7F E3 FB 78 */ mr r3, r31 /* 80205D14 00202C74 D0 1F 05 0C */ stfs f0, 0x50c(r31) /* 80205D18 00202C78 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 80205D1C 00202C7C CB E1 00 60 */ lfd f31, 0x60(r1) /* 80205D20 00202C80 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 80205D24 00202C84 80 01 00 74 */ lwz r0, 0x74(r1) /* 80205D28 00202C88 7C 08 03 A6 */ mtlr r0 /* 80205D2C 00202C8C 38 21 00 70 */ addi r1, r1, 0x70 /* 80205D30 00202C90 4E 80 00 20 */ blr .global IsRightLogDynamic__16CInventoryScreenCFv IsRightLogDynamic__16CInventoryScreenCFv: /* 80205D34 00202C94 38 60 00 01 */ li r3, 1 /* 80205D38 00202C98 4E 80 00 20 */ blr .global IsRightInventoryItemEquipped__16CInventoryScreenCFi IsRightInventoryItemEquipped__16CInventoryScreenCFi: /* 80205D3C 00202C9C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80205D40 00202CA0 7C 08 02 A6 */ mflr r0 /* 80205D44 00202CA4 28 04 00 17 */ cmplwi r4, 0x17 /* 80205D48 00202CA8 90 01 00 14 */ stw r0, 0x14(r1) /* 80205D4C 00202CAC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80205D50 00202CB0 93 C1 00 08 */ stw r30, 8(r1) /* 80205D54 00202CB4 80 63 00 04 */ lwz r3, 4(r3) /* 80205D58 00202CB8 80 63 08 B8 */ lwz r3, 0x8b8(r3) /* 80205D5C 00202CBC 83 C3 00 00 */ lwz r30, 0(r3) /* 80205D60 00202CC0 41 81 02 14 */ bgt lbl_80205F74 /* 80205D64 00202CC4 3C 60 80 3E */ lis r3, lbl_803E6F04@ha /* 80205D68 00202CC8 54 80 10 3A */ slwi r0, r4, 2 /* 80205D6C 00202CCC 38 63 6F 04 */ addi r3, r3, lbl_803E6F04@l /* 80205D70 00202CD0 7C 03 00 2E */ lwzx r0, r3, r0 /* 80205D74 00202CD4 7C 09 03 A6 */ mtctr r0 /* 80205D78 00202CD8 4E 80 04 20 */ bctr /* 80205D7C 00202CDC 80 1E 00 08 */ lwz r0, 8(r30) /* 80205D80 00202CE0 7C 00 00 34 */ cntlzw r0, r0 /* 80205D84 00202CE4 54 03 D9 7E */ srwi r3, r0, 5 /* 80205D88 00202CE8 48 00 01 F0 */ b lbl_80205F78 /* 80205D8C 00202CEC 80 1E 00 08 */ lwz r0, 8(r30) /* 80205D90 00202CF0 20 00 00 01 */ subfic r0, r0, 1 /* 80205D94 00202CF4 7C 00 00 34 */ cntlzw r0, r0 /* 80205D98 00202CF8 54 03 D9 7E */ srwi r3, r0, 5 /* 80205D9C 00202CFC 48 00 01 DC */ b lbl_80205F78 /* 80205DA0 00202D00 80 1E 00 08 */ lwz r0, 8(r30) /* 80205DA4 00202D04 20 00 00 02 */ subfic r0, r0, 2 /* 80205DA8 00202D08 7C 00 00 34 */ cntlzw r0, r0 /* 80205DAC 00202D0C 54 03 D9 7E */ srwi r3, r0, 5 /* 80205DB0 00202D10 48 00 01 C8 */ b lbl_80205F78 /* 80205DB4 00202D14 80 1E 00 08 */ lwz r0, 8(r30) /* 80205DB8 00202D18 20 00 00 03 */ subfic r0, r0, 3 /* 80205DBC 00202D1C 7C 00 00 34 */ cntlzw r0, r0 /* 80205DC0 00202D20 54 03 D9 7E */ srwi r3, r0, 5 /* 80205DC4 00202D24 48 00 01 B4 */ b lbl_80205F78 /* 80205DC8 00202D28 80 1E 00 08 */ lwz r0, 8(r30) /* 80205DCC 00202D2C 20 00 00 1B */ subfic r0, r0, 0x1b /* 80205DD0 00202D30 7C 00 00 34 */ cntlzw r0, r0 /* 80205DD4 00202D34 54 03 D9 7E */ srwi r3, r0, 5 /* 80205DD8 00202D38 48 00 01 A0 */ b lbl_80205F78 /* 80205DDC 00202D3C 7F C3 F3 78 */ mr r3, r30 /* 80205DE0 00202D40 38 80 00 10 */ li r4, 0x10 /* 80205DE4 00202D44 4B E8 BC DD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205DE8 00202D48 48 00 01 90 */ b lbl_80205F78 /* 80205DEC 00202D4C 7F C3 F3 78 */ mr r3, r30 /* 80205DF0 00202D50 38 80 00 12 */ li r4, 0x12 /* 80205DF4 00202D54 4B E8 BC CD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205DF8 00202D58 48 00 01 80 */ b lbl_80205F78 /* 80205DFC 00202D5C 7F C3 F3 78 */ mr r3, r30 /* 80205E00 00202D60 38 80 00 13 */ li r4, 0x13 /* 80205E04 00202D64 4B E8 BC BD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205E08 00202D68 48 00 01 70 */ b lbl_80205F78 /* 80205E0C 00202D6C 7F C3 F3 78 */ mr r3, r30 /* 80205E10 00202D70 38 80 00 06 */ li r4, 6 /* 80205E14 00202D74 4B E8 BC AD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205E18 00202D78 48 00 01 60 */ b lbl_80205F78 /* 80205E1C 00202D7C 7F C3 F3 78 */ mr r3, r30 /* 80205E20 00202D80 38 80 00 07 */ li r4, 7 /* 80205E24 00202D84 4B E8 BC 9D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205E28 00202D88 48 00 01 50 */ b lbl_80205F78 /* 80205E2C 00202D8C 80 1E 00 20 */ lwz r0, 0x20(r30) /* 80205E30 00202D90 7C 00 00 34 */ cntlzw r0, r0 /* 80205E34 00202D94 54 03 D9 7E */ srwi r3, r0, 5 /* 80205E38 00202D98 48 00 01 40 */ b lbl_80205F78 /* 80205E3C 00202D9C 80 1E 00 20 */ lwz r0, 0x20(r30) /* 80205E40 00202DA0 20 00 00 02 */ subfic r0, r0, 2 /* 80205E44 00202DA4 7C 00 00 34 */ cntlzw r0, r0 /* 80205E48 00202DA8 54 03 D9 7E */ srwi r3, r0, 5 /* 80205E4C 00202DAC 48 00 01 2C */ b lbl_80205F78 /* 80205E50 00202DB0 80 1E 00 20 */ lwz r0, 0x20(r30) /* 80205E54 00202DB4 20 00 00 01 */ subfic r0, r0, 1 /* 80205E58 00202DB8 7C 00 00 34 */ cntlzw r0, r0 /* 80205E5C 00202DBC 54 03 D9 7E */ srwi r3, r0, 5 /* 80205E60 00202DC0 48 00 01 18 */ b lbl_80205F78 /* 80205E64 00202DC4 80 1E 00 20 */ lwz r0, 0x20(r30) /* 80205E68 00202DC8 20 00 00 03 */ subfic r0, r0, 3 /* 80205E6C 00202DCC 7C 00 00 34 */ cntlzw r0, r0 /* 80205E70 00202DD0 54 03 D9 7E */ srwi r3, r0, 5 /* 80205E74 00202DD4 48 00 01 04 */ b lbl_80205F78 /* 80205E78 00202DD8 7F C3 F3 78 */ mr r3, r30 /* 80205E7C 00202DDC 38 80 00 18 */ li r4, 0x18 /* 80205E80 00202DE0 4B E8 BC 41 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205E84 00202DE4 48 00 00 F4 */ b lbl_80205F78 /* 80205E88 00202DE8 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80205E8C 00202DEC 7C 00 00 34 */ cntlzw r0, r0 /* 80205E90 00202DF0 54 03 D9 7E */ srwi r3, r0, 5 /* 80205E94 00202DF4 48 00 00 E4 */ b lbl_80205F78 /* 80205E98 00202DF8 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80205E9C 00202DFC 20 00 00 02 */ subfic r0, r0, 2 /* 80205EA0 00202E00 7C 00 00 34 */ cntlzw r0, r0 /* 80205EA4 00202E04 54 03 D9 7E */ srwi r3, r0, 5 /* 80205EA8 00202E08 48 00 00 D0 */ b lbl_80205F78 /* 80205EAC 00202E0C 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80205EB0 00202E10 20 00 00 01 */ subfic r0, r0, 1 /* 80205EB4 00202E14 7C 00 00 34 */ cntlzw r0, r0 /* 80205EB8 00202E18 54 03 D9 7E */ srwi r3, r0, 5 /* 80205EBC 00202E1C 48 00 00 BC */ b lbl_80205F78 /* 80205EC0 00202E20 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80205EC4 00202E24 20 00 00 03 */ subfic r0, r0, 3 /* 80205EC8 00202E28 7C 00 00 34 */ cntlzw r0, r0 /* 80205ECC 00202E2C 54 03 D9 7E */ srwi r3, r0, 5 /* 80205ED0 00202E30 48 00 00 A8 */ b lbl_80205F78 /* 80205ED4 00202E34 7F C3 F3 78 */ mr r3, r30 /* 80205ED8 00202E38 38 80 00 0F */ li r4, 0xf /* 80205EDC 00202E3C 4B E8 BB E5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205EE0 00202E40 48 00 00 98 */ b lbl_80205F78 /* 80205EE4 00202E44 7F C3 F3 78 */ mr r3, r30 /* 80205EE8 00202E48 38 80 00 0C */ li r4, 0xc /* 80205EEC 00202E4C 4B E8 BB D5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205EF0 00202E50 48 00 00 88 */ b lbl_80205F78 /* 80205EF4 00202E54 7F C3 F3 78 */ mr r3, r30 /* 80205EF8 00202E58 38 80 00 04 */ li r4, 4 /* 80205EFC 00202E5C 4B E8 BB C5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205F00 00202E60 48 00 00 78 */ b lbl_80205F78 /* 80205F04 00202E64 7F C3 F3 78 */ mr r3, r30 /* 80205F08 00202E68 38 80 00 0A */ li r4, 0xa /* 80205F0C 00202E6C 4B E8 BB B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205F10 00202E70 48 00 00 68 */ b lbl_80205F78 /* 80205F14 00202E74 7F C3 F3 78 */ mr r3, r30 /* 80205F18 00202E78 3B E0 00 00 */ li r31, 0 /* 80205F1C 00202E7C 38 80 00 0B */ li r4, 0xb /* 80205F20 00202E80 4B E8 BB A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205F24 00202E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80205F28 00202E88 40 82 00 40 */ bne lbl_80205F68 /* 80205F2C 00202E8C 7F C3 F3 78 */ mr r3, r30 /* 80205F30 00202E90 38 80 00 0E */ li r4, 0xe /* 80205F34 00202E94 4B E8 BB 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205F38 00202E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80205F3C 00202E9C 40 82 00 2C */ bne lbl_80205F68 /* 80205F40 00202EA0 7F C3 F3 78 */ mr r3, r30 /* 80205F44 00202EA4 38 80 00 1C */ li r4, 0x1c /* 80205F48 00202EA8 4B E8 BB 79 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205F4C 00202EAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80205F50 00202EB0 40 82 00 18 */ bne lbl_80205F68 /* 80205F54 00202EB4 7F C3 F3 78 */ mr r3, r30 /* 80205F58 00202EB8 38 80 00 08 */ li r4, 8 /* 80205F5C 00202EBC 4B E8 BB 65 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205F60 00202EC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80205F64 00202EC4 41 82 00 08 */ beq lbl_80205F6C lbl_80205F68: /* 80205F68 00202EC8 3B E0 00 01 */ li r31, 1 lbl_80205F6C: /* 80205F6C 00202ECC 7F E3 FB 78 */ mr r3, r31 /* 80205F70 00202ED0 48 00 00 08 */ b lbl_80205F78 lbl_80205F74: /* 80205F74 00202ED4 38 60 00 00 */ li r3, 0 lbl_80205F78: /* 80205F78 00202ED8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80205F7C 00202EDC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80205F80 00202EE0 83 C1 00 08 */ lwz r30, 8(r1) /* 80205F84 00202EE4 7C 08 03 A6 */ mtlr r0 /* 80205F88 00202EE8 38 21 00 10 */ addi r1, r1, 0x10 /* 80205F8C 00202EEC 4E 80 00 20 */ blr .global HasRightInventoryItem__16CInventoryScreenCFi HasRightInventoryItem__16CInventoryScreenCFi: /* 80205F90 00202EF0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80205F94 00202EF4 7C 08 02 A6 */ mflr r0 /* 80205F98 00202EF8 28 04 00 17 */ cmplwi r4, 0x17 /* 80205F9C 00202EFC 90 01 00 14 */ stw r0, 0x14(r1) /* 80205FA0 00202F00 93 E1 00 0C */ stw r31, 0xc(r1) /* 80205FA4 00202F04 93 C1 00 08 */ stw r30, 8(r1) /* 80205FA8 00202F08 80 63 00 04 */ lwz r3, 4(r3) /* 80205FAC 00202F0C 80 63 08 B8 */ lwz r3, 0x8b8(r3) /* 80205FB0 00202F10 83 C3 00 00 */ lwz r30, 0(r3) /* 80205FB4 00202F14 41 81 01 D4 */ bgt lbl_80206188 /* 80205FB8 00202F18 3C 60 80 3E */ lis r3, lbl_803E6F64@ha /* 80205FBC 00202F1C 54 80 10 3A */ slwi r0, r4, 2 /* 80205FC0 00202F20 38 63 6F 64 */ addi r3, r3, lbl_803E6F64@l /* 80205FC4 00202F24 7C 03 00 2E */ lwzx r0, r3, r0 /* 80205FC8 00202F28 7C 09 03 A6 */ mtctr r0 /* 80205FCC 00202F2C 4E 80 04 20 */ bctr /* 80205FD0 00202F30 38 60 00 01 */ li r3, 1 /* 80205FD4 00202F34 48 00 01 B8 */ b lbl_8020618C /* 80205FD8 00202F38 7F C3 F3 78 */ mr r3, r30 /* 80205FDC 00202F3C 38 80 00 01 */ li r4, 1 /* 80205FE0 00202F40 4B E8 BA E1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205FE4 00202F44 48 00 01 A8 */ b lbl_8020618C /* 80205FE8 00202F48 7F C3 F3 78 */ mr r3, r30 /* 80205FEC 00202F4C 38 80 00 02 */ li r4, 2 /* 80205FF0 00202F50 4B E8 BA D1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80205FF4 00202F54 48 00 01 98 */ b lbl_8020618C /* 80205FF8 00202F58 7F C3 F3 78 */ mr r3, r30 /* 80205FFC 00202F5C 38 80 00 03 */ li r4, 3 /* 80206000 00202F60 4B E8 BA C1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206004 00202F64 48 00 01 88 */ b lbl_8020618C /* 80206008 00202F68 7F C3 F3 78 */ mr r3, r30 /* 8020600C 00202F6C 38 80 00 17 */ li r4, 0x17 /* 80206010 00202F70 4B E8 BA B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206014 00202F74 48 00 01 78 */ b lbl_8020618C /* 80206018 00202F78 7F C3 F3 78 */ mr r3, r30 /* 8020601C 00202F7C 38 80 00 10 */ li r4, 0x10 /* 80206020 00202F80 4B E8 BA A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206024 00202F84 48 00 01 68 */ b lbl_8020618C /* 80206028 00202F88 7F C3 F3 78 */ mr r3, r30 /* 8020602C 00202F8C 38 80 00 12 */ li r4, 0x12 /* 80206030 00202F90 4B E8 BA 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206034 00202F94 48 00 01 58 */ b lbl_8020618C /* 80206038 00202F98 7F C3 F3 78 */ mr r3, r30 /* 8020603C 00202F9C 38 80 00 13 */ li r4, 0x13 /* 80206040 00202FA0 4B E8 BA 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206044 00202FA4 48 00 01 48 */ b lbl_8020618C /* 80206048 00202FA8 7F C3 F3 78 */ mr r3, r30 /* 8020604C 00202FAC 38 80 00 06 */ li r4, 6 /* 80206050 00202FB0 4B E8 BA 71 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206054 00202FB4 48 00 01 38 */ b lbl_8020618C /* 80206058 00202FB8 7F C3 F3 78 */ mr r3, r30 /* 8020605C 00202FBC 38 80 00 07 */ li r4, 7 /* 80206060 00202FC0 4B E8 BA 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206064 00202FC4 48 00 01 28 */ b lbl_8020618C /* 80206068 00202FC8 38 60 00 01 */ li r3, 1 /* 8020606C 00202FCC 48 00 01 20 */ b lbl_8020618C /* 80206070 00202FD0 7F C3 F3 78 */ mr r3, r30 /* 80206074 00202FD4 38 80 00 16 */ li r4, 0x16 /* 80206078 00202FD8 4B E8 BA 49 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 8020607C 00202FDC 48 00 01 10 */ b lbl_8020618C /* 80206080 00202FE0 7F C3 F3 78 */ mr r3, r30 /* 80206084 00202FE4 38 80 00 15 */ li r4, 0x15 /* 80206088 00202FE8 4B E8 BA 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 8020608C 00202FEC 48 00 01 00 */ b lbl_8020618C /* 80206090 00202FF0 7F C3 F3 78 */ mr r3, r30 /* 80206094 00202FF4 38 80 00 17 */ li r4, 0x17 /* 80206098 00202FF8 4B E8 BA 29 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 8020609C 00202FFC 48 00 00 F0 */ b lbl_8020618C /* 802060A0 00203000 7F C3 F3 78 */ mr r3, r30 /* 802060A4 00203004 38 80 00 18 */ li r4, 0x18 /* 802060A8 00203008 4B E8 BA 19 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802060AC 0020300C 48 00 00 E0 */ b lbl_8020618C /* 802060B0 00203010 38 60 00 01 */ li r3, 1 /* 802060B4 00203014 48 00 00 D8 */ b lbl_8020618C /* 802060B8 00203018 7F C3 F3 78 */ mr r3, r30 /* 802060BC 0020301C 38 80 00 05 */ li r4, 5 /* 802060C0 00203020 4B E8 BA 01 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802060C4 00203024 48 00 00 C8 */ b lbl_8020618C /* 802060C8 00203028 7F C3 F3 78 */ mr r3, r30 /* 802060CC 0020302C 38 80 00 0D */ li r4, 0xd /* 802060D0 00203030 4B E8 B9 F1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802060D4 00203034 48 00 00 B8 */ b lbl_8020618C /* 802060D8 00203038 7F C3 F3 78 */ mr r3, r30 /* 802060DC 0020303C 38 80 00 09 */ li r4, 9 /* 802060E0 00203040 4B E8 B9 E1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802060E4 00203044 48 00 00 A8 */ b lbl_8020618C /* 802060E8 00203048 7F C3 F3 78 */ mr r3, r30 /* 802060EC 0020304C 38 80 00 0F */ li r4, 0xf /* 802060F0 00203050 4B E8 B9 D1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802060F4 00203054 48 00 00 98 */ b lbl_8020618C /* 802060F8 00203058 7F C3 F3 78 */ mr r3, r30 /* 802060FC 0020305C 38 80 00 0C */ li r4, 0xc /* 80206100 00203060 4B E8 B9 C1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206104 00203064 48 00 00 88 */ b lbl_8020618C /* 80206108 00203068 7F C3 F3 78 */ mr r3, r30 /* 8020610C 0020306C 38 80 00 04 */ li r4, 4 /* 80206110 00203070 4B E8 B9 B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206114 00203074 48 00 00 78 */ b lbl_8020618C /* 80206118 00203078 7F C3 F3 78 */ mr r3, r30 /* 8020611C 0020307C 38 80 00 0A */ li r4, 0xa /* 80206120 00203080 4B E8 B9 A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206124 00203084 48 00 00 68 */ b lbl_8020618C /* 80206128 00203088 7F C3 F3 78 */ mr r3, r30 /* 8020612C 0020308C 3B E0 00 00 */ li r31, 0 /* 80206130 00203090 38 80 00 0B */ li r4, 0xb /* 80206134 00203094 4B E8 B9 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206138 00203098 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020613C 0020309C 40 82 00 40 */ bne lbl_8020617C /* 80206140 002030A0 7F C3 F3 78 */ mr r3, r30 /* 80206144 002030A4 38 80 00 0E */ li r4, 0xe /* 80206148 002030A8 4B E8 B9 79 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 8020614C 002030AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206150 002030B0 40 82 00 2C */ bne lbl_8020617C /* 80206154 002030B4 7F C3 F3 78 */ mr r3, r30 /* 80206158 002030B8 38 80 00 1C */ li r4, 0x1c /* 8020615C 002030BC 4B E8 B9 65 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206160 002030C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206164 002030C4 40 82 00 18 */ bne lbl_8020617C /* 80206168 002030C8 7F C3 F3 78 */ mr r3, r30 /* 8020616C 002030CC 38 80 00 08 */ li r4, 8 /* 80206170 002030D0 4B E8 B9 51 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206174 002030D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206178 002030D8 41 82 00 08 */ beq lbl_80206180 lbl_8020617C: /* 8020617C 002030DC 3B E0 00 01 */ li r31, 1 lbl_80206180: /* 80206180 002030E0 7F E3 FB 78 */ mr r3, r31 /* 80206184 002030E4 48 00 00 08 */ b lbl_8020618C lbl_80206188: /* 80206188 002030E8 38 60 00 00 */ li r3, 0 lbl_8020618C: /* 8020618C 002030EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80206190 002030F0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80206194 002030F4 83 C1 00 08 */ lwz r30, 8(r1) /* 80206198 002030F8 7C 08 03 A6 */ mtlr r0 /* 8020619C 002030FC 38 21 00 10 */ addi r1, r1, 0x10 /* 802061A0 00203100 4E 80 00 20 */ blr .global HasLeftInventoryItem__16CInventoryScreenCFi HasLeftInventoryItem__16CInventoryScreenCFi: /* 802061A4 00203104 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802061A8 00203108 7C 08 02 A6 */ mflr r0 /* 802061AC 0020310C 2C 04 00 02 */ cmpwi r4, 2 /* 802061B0 00203110 90 01 00 14 */ stw r0, 0x14(r1) /* 802061B4 00203114 93 E1 00 0C */ stw r31, 0xc(r1) /* 802061B8 00203118 93 C1 00 08 */ stw r30, 8(r1) /* 802061BC 0020311C 80 63 00 04 */ lwz r3, 4(r3) /* 802061C0 00203120 80 63 08 B8 */ lwz r3, 0x8b8(r3) /* 802061C4 00203124 83 C3 00 00 */ lwz r30, 0(r3) /* 802061C8 00203128 41 82 00 40 */ beq lbl_80206208 /* 802061CC 0020312C 40 80 00 14 */ bge lbl_802061E0 /* 802061D0 00203130 2C 04 00 00 */ cmpwi r4, 0 /* 802061D4 00203134 41 82 00 1C */ beq lbl_802061F0 /* 802061D8 00203138 40 80 00 20 */ bge lbl_802061F8 /* 802061DC 0020313C 48 00 00 EC */ b lbl_802062C8 lbl_802061E0: /* 802061E0 00203140 2C 04 00 04 */ cmpwi r4, 4 /* 802061E4 00203144 41 82 00 34 */ beq lbl_80206218 /* 802061E8 00203148 40 80 00 E0 */ bge lbl_802062C8 /* 802061EC 0020314C 48 00 00 24 */ b lbl_80206210 lbl_802061F0: /* 802061F0 00203150 38 60 00 01 */ li r3, 1 /* 802061F4 00203154 48 00 00 D8 */ b lbl_802062CC lbl_802061F8: /* 802061F8 00203158 7F C3 F3 78 */ mr r3, r30 /* 802061FC 0020315C 38 80 00 10 */ li r4, 0x10 /* 80206200 00203160 4B E8 B8 C1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206204 00203164 48 00 00 C8 */ b lbl_802062CC lbl_80206208: /* 80206208 00203168 38 60 00 01 */ li r3, 1 /* 8020620C 0020316C 48 00 00 C0 */ b lbl_802062CC lbl_80206210: /* 80206210 00203170 38 60 00 01 */ li r3, 1 /* 80206214 00203174 48 00 00 B8 */ b lbl_802062CC lbl_80206218: /* 80206218 00203178 7F C3 F3 78 */ mr r3, r30 /* 8020621C 0020317C 3B E0 00 00 */ li r31, 0 /* 80206220 00203180 38 80 00 0F */ li r4, 0xf /* 80206224 00203184 4B E8 B8 9D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206228 00203188 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020622C 0020318C 40 82 00 90 */ bne lbl_802062BC /* 80206230 00203190 7F C3 F3 78 */ mr r3, r30 /* 80206234 00203194 38 80 00 0C */ li r4, 0xc /* 80206238 00203198 4B E8 B8 89 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 8020623C 0020319C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206240 002031A0 40 82 00 7C */ bne lbl_802062BC /* 80206244 002031A4 7F C3 F3 78 */ mr r3, r30 /* 80206248 002031A8 38 80 00 04 */ li r4, 4 /* 8020624C 002031AC 4B E8 B8 75 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206250 002031B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206254 002031B4 40 82 00 68 */ bne lbl_802062BC /* 80206258 002031B8 7F C3 F3 78 */ mr r3, r30 /* 8020625C 002031BC 38 80 00 0A */ li r4, 0xa /* 80206260 002031C0 4B E8 B8 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206264 002031C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206268 002031C8 40 82 00 54 */ bne lbl_802062BC /* 8020626C 002031CC 7F C3 F3 78 */ mr r3, r30 /* 80206270 002031D0 38 80 00 0B */ li r4, 0xb /* 80206274 002031D4 4B E8 B8 4D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206278 002031D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020627C 002031DC 40 82 00 40 */ bne lbl_802062BC /* 80206280 002031E0 7F C3 F3 78 */ mr r3, r30 /* 80206284 002031E4 38 80 00 0E */ li r4, 0xe /* 80206288 002031E8 4B E8 B8 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 8020628C 002031EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206290 002031F0 40 82 00 2C */ bne lbl_802062BC /* 80206294 002031F4 7F C3 F3 78 */ mr r3, r30 /* 80206298 002031F8 38 80 00 1C */ li r4, 0x1c /* 8020629C 002031FC 4B E8 B8 25 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802062A0 00203200 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802062A4 00203204 40 82 00 18 */ bne lbl_802062BC /* 802062A8 00203208 7F C3 F3 78 */ mr r3, r30 /* 802062AC 0020320C 38 80 00 08 */ li r4, 8 /* 802062B0 00203210 4B E8 B8 11 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 802062B4 00203214 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802062B8 00203218 41 82 00 08 */ beq lbl_802062C0 lbl_802062BC: /* 802062BC 0020321C 3B E0 00 01 */ li r31, 1 lbl_802062C0: /* 802062C0 00203220 7F E3 FB 78 */ mr r3, r31 /* 802062C4 00203224 48 00 00 08 */ b lbl_802062CC lbl_802062C8: /* 802062C8 00203228 38 60 00 00 */ li r3, 0 lbl_802062CC: /* 802062CC 0020322C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802062D0 00203230 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802062D4 00203234 83 C1 00 08 */ lwz r30, 8(r1) /* 802062D8 00203238 7C 08 03 A6 */ mtlr r0 /* 802062DC 0020323C 38 21 00 10 */ addi r1, r1, 0x10 /* 802062E0 00203240 4E 80 00 20 */ blr .global UpdateSamusDollPulses__16CInventoryScreenFv UpdateSamusDollPulses__16CInventoryScreenFv: /* 802062E4 00203244 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802062E8 00203248 7C 08 02 A6 */ mflr r0 /* 802062EC 0020324C 38 80 00 00 */ li r4, 0 /* 802062F0 00203250 90 01 00 24 */ stw r0, 0x24(r1) /* 802062F4 00203254 BF 61 00 0C */ stmw r27, 0xc(r1) /* 802062F8 00203258 7C 7B 1B 78 */ mr r27, r3 /* 802062FC 0020325C 3B E0 00 00 */ li r31, 0 /* 80206300 00203260 3B C0 00 00 */ li r30, 0 /* 80206304 00203264 3B A0 00 00 */ li r29, 0 /* 80206308 00203268 3B 80 00 00 */ li r28, 0 /* 8020630C 0020326C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80206310 00203270 80 63 00 70 */ lwz r3, 0x70(r3) /* 80206314 00203274 2C 00 00 01 */ cmpwi r0, 1 /* 80206318 00203278 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 8020631C 0020327C 40 82 00 74 */ bne lbl_80206390 /* 80206320 00203280 2C 00 00 02 */ cmpwi r0, 2 /* 80206324 00203284 40 82 00 0C */ bne lbl_80206330 /* 80206328 00203288 38 80 00 01 */ li r4, 1 /* 8020632C 0020328C 48 00 00 64 */ b lbl_80206390 lbl_80206330: /* 80206330 00203290 2C 00 00 00 */ cmpwi r0, 0 /* 80206334 00203294 40 82 00 0C */ bne lbl_80206340 /* 80206338 00203298 3B E0 00 01 */ li r31, 1 /* 8020633C 0020329C 48 00 00 54 */ b lbl_80206390 lbl_80206340: /* 80206340 002032A0 2C 00 00 03 */ cmpwi r0, 3 /* 80206344 002032A4 40 82 00 0C */ bne lbl_80206350 /* 80206348 002032A8 3B 80 00 01 */ li r28, 1 /* 8020634C 002032AC 48 00 00 44 */ b lbl_80206390 lbl_80206350: /* 80206350 002032B0 2C 00 00 04 */ cmpwi r0, 4 /* 80206354 002032B4 40 82 00 3C */ bne lbl_80206390 /* 80206358 002032B8 80 1B 00 1C */ lwz r0, 0x1c(r27) /* 8020635C 002032BC 3C 60 80 3D */ lis r3, lbl_803D26B4@ha /* 80206360 002032C0 38 63 26 B4 */ addi r3, r3, lbl_803D26B4@l /* 80206364 002032C4 1C 00 00 0C */ mulli r0, r0, 0xc /* 80206368 002032C8 7C 03 00 2E */ lwzx r0, r3, r0 /* 8020636C 002032CC 20 60 00 14 */ subfic r3, r0, 0x14 /* 80206370 002032D0 2C 00 00 15 */ cmpwi r0, 0x15 /* 80206374 002032D4 20 00 00 13 */ subfic r0, r0, 0x13 /* 80206378 002032D8 7C 63 00 34 */ cntlzw r3, r3 /* 8020637C 002032DC 7C 00 00 34 */ cntlzw r0, r0 /* 80206380 002032E0 54 7E D9 7E */ srwi r30, r3, 5 /* 80206384 002032E4 54 1D D9 7E */ srwi r29, r0, 5 /* 80206388 002032E8 40 82 00 08 */ bne lbl_80206390 /* 8020638C 002032EC 3B E0 00 01 */ li r31, 1 lbl_80206390: /* 80206390 002032F0 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80206394 002032F4 54 84 06 3E */ clrlwi r4, r4, 0x18 /* 80206398 002032F8 4B ED 50 99 */ bl SetPulseSuit__10CSamusDollFb /* 8020639C 002032FC 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 802063A0 00203300 57 E4 06 3E */ clrlwi r4, r31, 0x18 /* 802063A4 00203304 4B ED 50 CD */ bl SetPulseBeam__10CSamusDollFb /* 802063A8 00203308 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 802063AC 0020330C 57 C4 06 3E */ clrlwi r4, r30, 0x18 /* 802063B0 00203310 4B ED 50 B1 */ bl SetPulseGrapple__10CSamusDollFb /* 802063B4 00203314 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 802063B8 00203318 57 A4 06 3E */ clrlwi r4, r29, 0x18 /* 802063BC 0020331C 4B ED 50 95 */ bl SetPulseBoots__10CSamusDollFb /* 802063C0 00203320 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 802063C4 00203324 57 84 06 3E */ clrlwi r4, r28, 0x18 /* 802063C8 00203328 4B ED 50 79 */ bl SetPulseVisor__10CSamusDollFb /* 802063CC 0020332C BB 61 00 0C */ lmw r27, 0xc(r1) /* 802063D0 00203330 80 01 00 24 */ lwz r0, 0x24(r1) /* 802063D4 00203334 7C 08 03 A6 */ mtlr r0 /* 802063D8 00203338 38 21 00 20 */ addi r1, r1, 0x20 /* 802063DC 0020333C 4E 80 00 20 */ blr .global nullsub_125 nullsub_125: /* 802063E0 00203340 4E 80 00 20 */ blr .global InputDisabled__16CInventoryScreenCFv InputDisabled__16CInventoryScreenCFv: /* 802063E4 00203344 80 83 01 9C */ lwz r4, 0x19c(r3) /* 802063E8 00203348 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2) /* 802063EC 0020334C C0 24 00 C4 */ lfs f1, 0xc4(r4) /* 802063F0 00203350 FC 20 0A 10 */ fabs f1, f1 /* 802063F4 00203354 FC 20 08 18 */ frsp f1, f1 /* 802063F8 00203358 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802063FC 0020335C 40 81 00 0C */ ble lbl_80206408 /* 80206400 00203360 38 60 00 01 */ li r3, 1 /* 80206404 00203364 4E 80 00 20 */ blr lbl_80206408: /* 80206408 00203368 80 03 01 A8 */ lwz r0, 0x1a8(r3) /* 8020640C 0020336C 20 00 00 01 */ subfic r0, r0, 1 /* 80206410 00203370 7C 00 00 34 */ cntlzw r0, r0 /* 80206414 00203374 54 03 D9 7E */ srwi r3, r0, 5 /* 80206418 00203378 4E 80 00 20 */ blr .global TransitioningAway__16CInventoryScreenFv TransitioningAway__16CInventoryScreenFv: /* 8020641C 0020337C 38 00 00 01 */ li r0, 1 /* 80206420 00203380 90 03 01 A8 */ stw r0, 0x1a8(r3) /* 80206424 00203384 4E 80 00 20 */ blr .global UpdateRightLogHighlight__16CInventoryScreenFbiRC6CColorRC6CColor UpdateRightLogHighlight__16CInventoryScreenFbiRC6CColorRC6CColor: /* 80206428 00203388 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020642C 0020338C 7C 08 02 A6 */ mflr r0 /* 80206430 00203390 90 01 00 54 */ stw r0, 0x54(r1) /* 80206434 00203394 BE E1 00 2C */ stmw r23, 0x2c(r1) /* 80206438 00203398 7C 79 1B 78 */ mr r25, r3 /* 8020643C 0020339C 7C D8 33 78 */ mr r24, r6 /* 80206440 002033A0 7C BB 2B 78 */ mr r27, r5 /* 80206444 002033A4 7C 9A 23 78 */ mr r26, r4 /* 80206448 002033A8 7C F7 3B 78 */ mr r23, r7 /* 8020644C 002033AC 7F 05 C3 78 */ mr r5, r24 /* 80206450 002033B0 38 61 00 14 */ addi r3, r1, 0x14 /* 80206454 002033B4 81 0D A1 3C */ lwz r8, gpTweakGuiColors@sda21(r13) /* 80206458 002033B8 38 88 01 C0 */ addi r4, r8, 0x1c0 /* 8020645C 002033BC 48 15 CD 1D */ bl Modulate__6CColorFRC6CColorRC6CColor /* 80206460 002033C0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80206464 002033C4 7E E5 BB 78 */ mr r5, r23 /* 80206468 002033C8 38 61 00 10 */ addi r3, r1, 0x10 /* 8020646C 002033CC 38 84 01 C0 */ addi r4, r4, 0x1c0 /* 80206470 002033D0 48 15 CD 09 */ bl Modulate__6CColorFRC6CColorRC6CColor /* 80206474 002033D4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80206478 002033D8 7F 05 C3 78 */ mr r5, r24 /* 8020647C 002033DC 38 61 00 0C */ addi r3, r1, 0xc /* 80206480 002033E0 38 84 01 BC */ addi r4, r4, 0x1bc /* 80206484 002033E4 48 15 CC F5 */ bl Modulate__6CColorFRC6CColorRC6CColor /* 80206488 002033E8 80 01 00 0C */ lwz r0, 0xc(r1) /* 8020648C 002033EC 7E E5 BB 78 */ mr r5, r23 /* 80206490 002033F0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 80206494 002033F4 38 61 00 08 */ addi r3, r1, 8 /* 80206498 002033F8 90 01 00 1C */ stw r0, 0x1c(r1) /* 8020649C 002033FC 38 84 01 BC */ addi r4, r4, 0x1bc /* 802064A0 00203400 48 15 CC D9 */ bl Modulate__6CColorFRC6CColorRC6CColor /* 802064A4 00203404 80 81 00 08 */ lwz r4, 8(r1) /* 802064A8 00203408 3C 60 80 3D */ lis r3, lbl_803D26F0@ha /* 802064AC 0020340C 38 03 26 F0 */ addi r0, r3, lbl_803D26F0@l /* 802064B0 00203410 3B D9 01 48 */ addi r30, r25, 0x148 /* 802064B4 00203414 90 81 00 18 */ stw r4, 0x18(r1) /* 802064B8 00203418 3B 80 00 00 */ li r28, 0 /* 802064BC 0020341C 3B E0 00 00 */ li r31, 0 /* 802064C0 00203420 80 79 00 70 */ lwz r3, 0x70(r25) /* 802064C4 00203424 80 63 00 C4 */ lwz r3, 0xc4(r3) /* 802064C8 00203428 54 63 18 38 */ slwi r3, r3, 3 /* 802064CC 0020342C 7F A0 1A 14 */ add r29, r0, r3 lbl_802064D0: /* 802064D0 00203430 7C 1B E0 00 */ cmpw r27, r28 /* 802064D4 00203434 3B 00 00 00 */ li r24, 0 /* 802064D8 00203438 40 82 00 10 */ bne lbl_802064E8 /* 802064DC 0020343C 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 802064E0 00203440 41 82 00 08 */ beq lbl_802064E8 /* 802064E4 00203444 3B 00 00 01 */ li r24, 1 lbl_802064E8: /* 802064E8 00203448 80 1D 00 00 */ lwz r0, 0(r29) /* 802064EC 0020344C 3A E0 00 01 */ li r23, 1 /* 802064F0 00203450 7C 1C 00 00 */ cmpw r28, r0 /* 802064F4 00203454 40 80 00 38 */ bge lbl_8020652C /* 802064F8 00203458 80 9D 00 04 */ lwz r4, 4(r29) /* 802064FC 0020345C 7F 23 CB 78 */ mr r3, r25 /* 80206500 00203460 7C 84 F8 2E */ lwzx r4, r4, r31 /* 80206504 00203464 4B FF F8 39 */ bl IsRightInventoryItemEquipped__16CInventoryScreenCFi /* 80206508 00203468 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020650C 0020346C 41 82 00 20 */ beq lbl_8020652C /* 80206510 00203470 57 00 06 3F */ clrlwi. r0, r24, 0x18 /* 80206514 00203474 41 82 00 18 */ beq lbl_8020652C /* 80206518 00203478 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8020651C 0020347C 3A E0 00 00 */ li r23, 0 /* 80206520 00203480 80 79 00 8C */ lwz r3, 0x8c(r25) /* 80206524 00203484 38 84 01 C0 */ addi r4, r4, 0x1c0 /* 80206528 00203488 48 0C 43 45 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_8020652C: /* 8020652C 0020348C 57 00 06 3F */ clrlwi. r0, r24, 0x18 /* 80206530 00203490 80 7E 00 00 */ lwz r3, 0(r30) /* 80206534 00203494 38 81 00 18 */ addi r4, r1, 0x18 /* 80206538 00203498 41 82 00 08 */ beq lbl_80206540 /* 8020653C 0020349C 38 81 00 1C */ addi r4, r1, 0x1c lbl_80206540: /* 80206540 002034A0 48 0C 43 2D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80206544 002034A4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 80206548 002034A8 41 82 00 18 */ beq lbl_80206560 /* 8020654C 002034AC 57 00 06 3F */ clrlwi. r0, r24, 0x18 /* 80206550 002034B0 41 82 00 10 */ beq lbl_80206560 /* 80206554 002034B4 80 79 00 8C */ lwz r3, 0x8c(r25) /* 80206558 002034B8 38 81 00 1C */ addi r4, r1, 0x1c /* 8020655C 002034BC 48 0C 43 11 */ bl SetColor__10CGuiWidgetFRC6CColor lbl_80206560: /* 80206560 002034C0 3B 9C 00 01 */ addi r28, r28, 1 /* 80206564 002034C4 3B DE 00 04 */ addi r30, r30, 4 /* 80206568 002034C8 2C 1C 00 05 */ cmpwi r28, 5 /* 8020656C 002034CC 3B FF 00 0C */ addi r31, r31, 0xc /* 80206570 002034D0 41 80 FF 60 */ blt lbl_802064D0 /* 80206574 002034D4 BA E1 00 2C */ lmw r23, 0x2c(r1) /* 80206578 002034D8 80 01 00 54 */ lwz r0, 0x54(r1) /* 8020657C 002034DC 7C 08 03 A6 */ mtlr r0 /* 80206580 002034E0 38 21 00 50 */ addi r1, r1, 0x50 /* 80206584 002034E4 4E 80 00 20 */ blr .global UpdateRightLogColors__16CInventoryScreenFbRC6CColor UpdateRightLogColors__16CInventoryScreenFbRC6CColor: /* 80206588 002034E8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020658C 002034EC 7C 08 02 A6 */ mflr r0 /* 80206590 002034F0 90 01 00 54 */ stw r0, 0x54(r1) /* 80206594 002034F4 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80206598 002034F8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 8020659C 002034FC BE E1 00 1C */ stmw r23, 0x1c(r1) /* 802065A0 00203500 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802065A4 00203504 7C 7E 1B 78 */ mr r30, r3 /* 802065A8 00203508 7C BF 2B 78 */ mr r31, r5 /* 802065AC 0020350C 41 82 00 10 */ beq lbl_802065BC /* 802065B0 00203510 48 14 39 FD */ bl White__6CColorFv /* 802065B4 00203514 7C 64 1B 78 */ mr r4, r3 /* 802065B8 00203518 48 00 00 24 */ b lbl_802065DC lbl_802065BC: /* 802065BC 0020351C 48 14 39 F1 */ bl White__6CColorFv /* 802065C0 00203520 C3 E2 B0 C8 */ lfs f31, lbl_805ACDE8@sda21(r2) /* 802065C4 00203524 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 802065C8 00203528 38 81 00 0C */ addi r4, r1, 0xc /* 802065CC 0020352C 80 63 00 00 */ lwz r3, 0(r3) /* 802065D0 00203530 88 01 00 08 */ lbz r0, 8(r1) /* 802065D4 00203534 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 802065D8 00203538 90 01 00 0C */ stw r0, 0xc(r1) lbl_802065DC: /* 802065DC 0020353C 80 7E 00 80 */ lwz r3, 0x80(r30) /* 802065E0 00203540 48 0C 42 8D */ bl SetColor__10CGuiWidgetFRC6CColor /* 802065E4 00203544 80 9E 00 70 */ lwz r4, 0x70(r30) /* 802065E8 00203548 3C 60 80 3D */ lis r3, lbl_803D26F0@ha /* 802065EC 0020354C 38 03 26 F0 */ addi r0, r3, lbl_803D26F0@l /* 802065F0 00203550 3B BE 00 DC */ addi r29, r30, 0xdc /* 802065F4 00203554 80 64 00 C4 */ lwz r3, 0xc4(r4) /* 802065F8 00203558 3B 7E 01 60 */ addi r27, r30, 0x160 /* 802065FC 0020355C 3B 20 00 00 */ li r25, 0 /* 80206600 00203560 3B 80 00 00 */ li r28, 0 /* 80206604 00203564 54 63 18 38 */ slwi r3, r3, 3 /* 80206608 00203568 7F 40 1A 14 */ add r26, r0, r3 lbl_8020660C: /* 8020660C 0020356C 80 1A 00 00 */ lwz r0, 0(r26) /* 80206610 00203570 3A E0 00 01 */ li r23, 1 /* 80206614 00203574 83 1D 00 00 */ lwz r24, 0(r29) /* 80206618 00203578 7C 19 00 00 */ cmpw r25, r0 /* 8020661C 0020357C 40 80 00 40 */ bge lbl_8020665C /* 80206620 00203580 80 9A 00 04 */ lwz r4, 4(r26) /* 80206624 00203584 7F C3 F3 78 */ mr r3, r30 /* 80206628 00203588 7C 84 E0 2E */ lwzx r4, r4, r28 /* 8020662C 0020358C 4B FF F7 11 */ bl IsRightInventoryItemEquipped__16CInventoryScreenCFi /* 80206630 00203590 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206634 00203594 41 82 00 28 */ beq lbl_8020665C /* 80206638 00203598 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8020663C 0020359C 80 7B 00 00 */ lwz r3, 0(r27) /* 80206640 002035A0 38 84 01 C0 */ addi r4, r4, 0x1c0 /* 80206644 002035A4 48 0C 42 29 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80206648 002035A8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) /* 8020664C 002035AC 38 78 00 D4 */ addi r3, r24, 0xd4 /* 80206650 002035B0 38 84 01 C0 */ addi r4, r4, 0x1c0 /* 80206654 002035B4 48 0C 30 15 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 80206658 002035B8 3A E0 00 00 */ li r23, 0 lbl_8020665C: /* 8020665C 002035BC 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 80206660 002035C0 41 82 00 1C */ beq lbl_8020667C /* 80206664 002035C4 80 7B 00 00 */ lwz r3, 0(r27) /* 80206668 002035C8 7F E4 FB 78 */ mr r4, r31 /* 8020666C 002035CC 48 0C 42 01 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80206670 002035D0 7F E4 FB 78 */ mr r4, r31 /* 80206674 002035D4 38 78 00 D4 */ addi r3, r24, 0xd4 /* 80206678 002035D8 48 0C 2F F1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor lbl_8020667C: /* 8020667C 002035DC 3B 39 00 01 */ addi r25, r25, 1 /* 80206680 002035E0 3B 9C 00 0C */ addi r28, r28, 0xc /* 80206684 002035E4 2C 19 00 05 */ cmpwi r25, 5 /* 80206688 002035E8 3B 7B 00 04 */ addi r27, r27, 4 /* 8020668C 002035EC 3B BD 00 04 */ addi r29, r29, 4 /* 80206690 002035F0 41 80 FF 7C */ blt lbl_8020660C /* 80206694 002035F4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80206698 002035F8 CB E1 00 40 */ lfd f31, 0x40(r1) /* 8020669C 002035FC BA E1 00 1C */ lmw r23, 0x1c(r1) /* 802066A0 00203600 80 01 00 54 */ lwz r0, 0x54(r1) /* 802066A4 00203604 7C 08 03 A6 */ mtlr r0 /* 802066A8 00203608 38 21 00 50 */ addi r1, r1, 0x50 /* 802066AC 0020360C 4E 80 00 20 */ blr .global UpdateRightTable__16CInventoryScreenFv UpdateRightTable__16CInventoryScreenFv: /* 802066B0 00203610 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802066B4 00203614 7C 08 02 A6 */ mflr r0 /* 802066B8 00203618 90 01 00 84 */ stw r0, 0x84(r1) /* 802066BC 0020361C DB E1 00 70 */ stfd f31, 0x70(r1) /* 802066C0 00203620 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 802066C4 00203624 BF 01 00 50 */ stmw r24, 0x50(r1) /* 802066C8 00203628 7C 7C 1B 78 */ mr r28, r3 /* 802066CC 0020362C 4B E6 A7 01 */ bl UpdateRightTable__16CPauseScreenBaseFv /* 802066D0 00203630 80 9C 00 70 */ lwz r4, 0x70(r28) /* 802066D4 00203634 3C 60 80 3D */ lis r3, lbl_803D26F0@ha /* 802066D8 00203638 3C A0 80 00 */ lis r5, 0x7FFFFFFF@ha /* 802066DC 0020363C 3B FC 00 DC */ addi r31, r28, 0xdc /* 802066E0 00203640 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 802066E4 00203644 38 03 26 F0 */ addi r0, r3, lbl_803D26F0@l /* 802066E8 00203648 3B C5 FF FF */ addi r30, r5, 0x7FFFFFFF@l /* 802066EC 0020364C 3B A0 00 00 */ li r29, 0 /* 802066F0 00203650 54 83 18 38 */ slwi r3, r4, 3 /* 802066F4 00203654 3B 60 00 00 */ li r27, 0 /* 802066F8 00203658 7F 40 1A 14 */ add r26, r0, r3 lbl_802066FC: /* 802066FC 0020365C 80 1A 00 00 */ lwz r0, 0(r26) /* 80206700 00203660 83 3F 00 00 */ lwz r25, 0(r31) /* 80206704 00203664 7C 1D 00 00 */ cmpw r29, r0 /* 80206708 00203668 40 80 00 E0 */ bge lbl_802067E8 /* 8020670C 0020366C 80 1A 00 04 */ lwz r0, 4(r26) /* 80206710 00203670 7F 83 E3 78 */ mr r3, r28 /* 80206714 00203674 7F 00 DA 14 */ add r24, r0, r27 /* 80206718 00203678 80 98 00 00 */ lwz r4, 0(r24) /* 8020671C 0020367C 4B FF F8 75 */ bl HasRightInventoryItem__16CInventoryScreenCFi /* 80206720 00203680 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206724 00203684 41 82 00 74 */ beq lbl_80206798 /* 80206728 00203688 80 7C 00 0C */ lwz r3, 0xc(r28) /* 8020672C 0020368C 80 98 00 04 */ lwz r4, 4(r24) /* 80206730 00203690 48 14 FF CD */ bl GetString__12CStringTableCFi /* 80206734 00203694 7C 64 1B 78 */ mr r4, r3 /* 80206738 00203698 38 61 00 34 */ addi r3, r1, 0x34 /* 8020673C 0020369C 38 C1 00 0C */ addi r6, r1, 0xc /* 80206740 002036A0 38 A0 FF FF */ li r5, -1 /* 80206744 002036A4 48 13 70 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80206748 002036A8 38 79 00 D4 */ addi r3, r25, 0xd4 /* 8020674C 002036AC 38 81 00 34 */ addi r4, r1, 0x34 /* 80206750 002036B0 38 A0 00 00 */ li r5, 0 /* 80206754 002036B4 48 0C 31 31 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80206758 002036B8 38 61 00 34 */ addi r3, r1, 0x34 /* 8020675C 002036BC 48 13 69 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80206760 002036C0 80 7C 00 84 */ lwz r3, 0x84(r28) /* 80206764 002036C4 38 9D 00 01 */ addi r4, r29, 1 /* 80206768 002036C8 81 83 00 00 */ lwz r12, 0(r3) /* 8020676C 002036CC 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80206770 002036D0 7D 89 03 A6 */ mtctr r12 /* 80206774 002036D4 4E 80 04 21 */ bctrl /* 80206778 002036D8 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 8020677C 002036DC 38 80 00 01 */ li r4, 1 /* 80206780 002036E0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80206784 002036E4 7C 1D F0 00 */ cmpw r29, r30 /* 80206788 002036E8 98 03 00 B6 */ stb r0, 0xb6(r3) /* 8020678C 002036EC 40 80 00 88 */ bge lbl_80206814 /* 80206790 002036F0 7F BE EB 78 */ mr r30, r29 /* 80206794 002036F4 48 00 00 80 */ b lbl_80206814 lbl_80206798: /* 80206798 002036F8 80 82 B0 C0 */ lwz r4, lbl_805ACDE0@sda21(r2) /* 8020679C 002036FC 38 61 00 24 */ addi r3, r1, 0x24 /* 802067A0 00203700 4B E0 F2 51 */ bl wstring_l__4rstlFPCw /* 802067A4 00203704 38 79 00 D4 */ addi r3, r25, 0xd4 /* 802067A8 00203708 38 81 00 24 */ addi r4, r1, 0x24 /* 802067AC 0020370C 38 A0 00 00 */ li r5, 0 /* 802067B0 00203710 48 0C 30 D5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802067B4 00203714 38 61 00 24 */ addi r3, r1, 0x24 /* 802067B8 00203718 48 13 69 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802067BC 0020371C 80 7C 00 84 */ lwz r3, 0x84(r28) /* 802067C0 00203720 38 9D 00 01 */ addi r4, r29, 1 /* 802067C4 00203724 81 83 00 00 */ lwz r12, 0(r3) /* 802067C8 00203728 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 802067CC 0020372C 7D 89 03 A6 */ mtctr r12 /* 802067D0 00203730 4E 80 04 21 */ bctrl /* 802067D4 00203734 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 802067D8 00203738 38 80 00 00 */ li r4, 0 /* 802067DC 0020373C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 802067E0 00203740 98 03 00 B6 */ stb r0, 0xb6(r3) /* 802067E4 00203744 48 00 00 30 */ b lbl_80206814 lbl_802067E8: /* 802067E8 00203748 3C 80 80 3E */ lis r4, lbl_803E6FC4@ha /* 802067EC 0020374C 38 61 00 14 */ addi r3, r1, 0x14 /* 802067F0 00203750 38 84 6F C4 */ addi r4, r4, lbl_803E6FC4@l /* 802067F4 00203754 38 84 00 0E */ addi r4, r4, 0xe /* 802067F8 00203758 4B E0 F1 F9 */ bl wstring_l__4rstlFPCw /* 802067FC 0020375C 38 79 00 D4 */ addi r3, r25, 0xd4 /* 80206800 00203760 38 81 00 14 */ addi r4, r1, 0x14 /* 80206804 00203764 38 A0 00 00 */ li r5, 0 /* 80206808 00203768 48 0C 30 7D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020680C 0020376C 38 61 00 14 */ addi r3, r1, 0x14 /* 80206810 00203770 48 13 69 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80206814: /* 80206814 00203774 3B BD 00 01 */ addi r29, r29, 1 /* 80206818 00203778 3B 7B 00 0C */ addi r27, r27, 0xc /* 8020681C 0020377C 2C 1D 00 05 */ cmpwi r29, 5 /* 80206820 00203780 3B FF 00 04 */ addi r31, r31, 4 /* 80206824 00203784 41 80 FE D8 */ blt lbl_802066FC /* 80206828 00203788 3C 1E 80 01 */ addis r0, r30, 0x8001 /* 8020682C 0020378C 28 00 FF FF */ cmplwi r0, 0xffff /* 80206830 00203790 41 82 00 18 */ beq lbl_80206848 /* 80206834 00203794 93 DC 00 1C */ stw r30, 0x1c(r28) /* 80206838 00203798 7F 83 E3 78 */ mr r3, r28 /* 8020683C 0020379C 80 9C 00 1C */ lwz r4, 0x1c(r28) /* 80206840 002037A0 7C 85 23 78 */ mr r5, r4 /* 80206844 002037A4 4B E6 A2 AD */ bl SetRightTableSelection__16CPauseScreenBaseFii lbl_80206848: /* 80206848 002037A8 80 7C 00 84 */ lwz r3, 0x84(r28) /* 8020684C 002037AC 38 80 00 00 */ li r4, 0 /* 80206850 002037B0 81 83 00 00 */ lwz r12, 0(r3) /* 80206854 002037B4 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80206858 002037B8 7D 89 03 A6 */ mtctr r12 /* 8020685C 002037BC 4E 80 04 21 */ bctrl /* 80206860 002037C0 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80206864 002037C4 38 80 00 00 */ li r4, 0 /* 80206868 002037C8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8020686C 002037CC 98 03 00 B6 */ stb r0, 0xb6(r3) /* 80206870 002037D0 80 7C 00 84 */ lwz r3, 0x84(r28) /* 80206874 002037D4 81 83 00 00 */ lwz r12, 0(r3) /* 80206878 002037D8 80 83 00 C0 */ lwz r4, 0xc0(r3) /* 8020687C 002037DC 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80206880 002037E0 38 84 FF FF */ addi r4, r4, -1 /* 80206884 002037E4 7D 89 03 A6 */ mtctr r12 /* 80206888 002037E8 4E 80 04 21 */ bctrl /* 8020688C 002037EC 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80206890 002037F0 38 80 00 00 */ li r4, 0 /* 80206894 002037F4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80206898 002037F8 C3 E2 B0 CC */ lfs f31, lbl_805ACDEC@sda21(r2) /* 8020689C 002037FC 98 03 00 B6 */ stb r0, 0xb6(r3) /* 802068A0 00203800 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 802068A4 00203804 38 A3 01 BC */ addi r5, r3, 0x1bc /* 802068A8 00203808 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 802068AC 0020380C 80 E3 01 BC */ lwz r7, 0x1bc(r3) /* 802068B0 00203810 7F 83 E3 78 */ mr r3, r28 /* 802068B4 00203814 88 01 00 08 */ lbz r0, 8(r1) /* 802068B8 00203818 38 C1 00 10 */ addi r6, r1, 0x10 /* 802068BC 0020381C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 /* 802068C0 00203820 38 80 00 00 */ li r4, 0 /* 802068C4 00203824 90 01 00 10 */ stw r0, 0x10(r1) /* 802068C8 00203828 81 9C 00 00 */ lwz r12, 0(r28) /* 802068CC 0020382C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802068D0 00203830 7D 89 03 A6 */ mtctr r12 /* 802068D4 00203834 4E 80 04 21 */ bctrl /* 802068D8 00203838 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 802068DC 0020383C CB E1 00 70 */ lfd f31, 0x70(r1) /* 802068E0 00203840 BB 01 00 50 */ lmw r24, 0x50(r1) /* 802068E4 00203844 80 01 00 84 */ lwz r0, 0x84(r1) /* 802068E8 00203848 7C 08 03 A6 */ mtlr r0 /* 802068EC 0020384C 38 21 00 80 */ addi r1, r1, 0x80 /* 802068F0 00203850 4E 80 00 20 */ blr .global Update__16CInventoryScreenFfR9CRandom16R18CArchitectureQueue Update__16CInventoryScreenFfR9CRandom16R18CArchitectureQueue: /* 802068F4 00203854 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802068F8 00203858 7C 08 02 A6 */ mflr r0 /* 802068FC 0020385C 90 01 00 64 */ stw r0, 0x64(r1) /* 80206900 00203860 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80206904 00203864 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80206908 00203868 DB C1 00 40 */ stfd f30, 0x40(r1) /* 8020690C 0020386C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 80206910 00203870 DB A1 00 30 */ stfd f29, 0x30(r1) /* 80206914 00203874 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 80206918 00203878 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8020691C 0020387C 93 C1 00 28 */ stw r30, 0x28(r1) /* 80206920 00203880 FF E0 08 90 */ fmr f31, f1 /* 80206924 00203884 7C 7F 1B 78 */ mr r31, r3 /* 80206928 00203888 7C 9E 23 78 */ mr r30, r4 /* 8020692C 0020388C 4B E6 AB 75 */ bl Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue /* 80206930 00203890 FC 20 F8 90 */ fmr f1, f31 /* 80206934 00203894 80 7F 01 9C */ lwz r3, 0x19c(r31) /* 80206938 00203898 7F C4 F3 78 */ mr r4, r30 /* 8020693C 0020389C 4B ED 5F 21 */ bl Update__10CSamusDollFfR9CRandom16 /* 80206940 002038A0 80 1F 00 10 */ lwz r0, 0x10(r31) /* 80206944 002038A4 2C 00 00 02 */ cmpwi r0, 2 /* 80206948 002038A8 40 82 01 04 */ bne lbl_80206A4C /* 8020694C 002038AC 88 1F 01 AD */ lbz r0, 0x1ad(r31) /* 80206950 002038B0 28 00 00 00 */ cmplwi r0, 0 /* 80206954 002038B4 41 82 00 38 */ beq lbl_8020698C /* 80206958 002038B8 C0 42 B0 D0 */ lfs f2, lbl_805ACDF0@sda21(r2) /* 8020695C 002038BC C0 3F 01 A4 */ lfs f1, 0x1a4(r31) /* 80206960 002038C0 C0 0D 93 84 */ lfs f0, lbl_805A7F44@sda21(r13) /* 80206964 002038C4 EC 22 0F FA */ fmadds f1, f2, f31, f1 /* 80206968 002038C8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020696C 002038CC D0 21 00 14 */ stfs f1, 0x14(r1) /* 80206970 002038D0 40 80 00 0C */ bge lbl_8020697C /* 80206974 002038D4 38 61 00 14 */ addi r3, r1, 0x14 /* 80206978 002038D8 48 00 00 08 */ b lbl_80206980 lbl_8020697C: /* 8020697C 002038DC 38 6D 93 84 */ addi r3, r13, lbl_805A7F44@sda21 lbl_80206980: /* 80206980 002038E0 C0 03 00 00 */ lfs f0, 0(r3) /* 80206984 002038E4 D0 1F 01 A4 */ stfs f0, 0x1a4(r31) /* 80206988 002038E8 48 00 00 34 */ b lbl_802069BC lbl_8020698C: /* 8020698C 002038EC C0 42 B0 D0 */ lfs f2, lbl_805ACDF0@sda21(r2) /* 80206990 002038F0 C0 3F 01 A4 */ lfs f1, 0x1a4(r31) /* 80206994 002038F4 C0 0D 93 88 */ lfs f0, lbl_805A7F48@sda21(r13) /* 80206998 002038F8 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 /* 8020699C 002038FC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802069A0 00203900 D0 21 00 10 */ stfs f1, 0x10(r1) /* 802069A4 00203904 40 80 00 0C */ bge lbl_802069B0 /* 802069A8 00203908 38 61 00 10 */ addi r3, r1, 0x10 /* 802069AC 0020390C 48 00 00 08 */ b lbl_802069B4 lbl_802069B0: /* 802069B0 00203910 38 6D 93 88 */ addi r3, r13, lbl_805A7F48@sda21 lbl_802069B4: /* 802069B4 00203914 C0 03 00 00 */ lfs f0, 0(r3) /* 802069B8 00203918 D0 1F 01 A4 */ stfs f0, 0x1a4(r31) lbl_802069BC: /* 802069BC 0020391C C3 FF 01 A4 */ lfs f31, 0x1a4(r31) /* 802069C0 00203920 48 14 35 ED */ bl White__6CColorFv /* 802069C4 00203924 C0 02 B0 D4 */ lfs f0, lbl_805ACDF4@sda21(r2) /* 802069C8 00203928 EF A0 07 F2 */ fmuls f29, f0, f31 /* 802069CC 0020392C F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 /* 802069D0 00203930 38 81 00 18 */ addi r4, r1, 0x18 /* 802069D4 00203934 80 63 00 00 */ lwz r3, 0(r3) /* 802069D8 00203938 88 01 00 08 */ lbz r0, 8(r1) /* 802069DC 0020393C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 802069E0 00203940 90 01 00 18 */ stw r0, 0x18(r1) /* 802069E4 00203944 80 7F 01 74 */ lwz r3, 0x174(r31) /* 802069E8 00203948 48 0C 3E 85 */ bl SetColor__10CGuiWidgetFRC6CColor /* 802069EC 0020394C C0 22 B0 D8 */ lfs f1, lbl_805ACDF8@sda21(r2) /* 802069F0 00203950 C0 1F 01 A4 */ lfs f0, 0x1a4(r31) /* 802069F4 00203954 EF E1 00 28 */ fsubs f31, f1, f0 /* 802069F8 00203958 48 14 35 B5 */ bl White__6CColorFv /* 802069FC 0020395C C0 02 B0 D4 */ lfs f0, lbl_805ACDF4@sda21(r2) /* 80206A00 00203960 EF C0 07 F2 */ fmuls f30, f0, f31 /* 80206A04 00203964 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 /* 80206A08 00203968 38 81 00 0C */ addi r4, r1, 0xc /* 80206A0C 0020396C 80 63 00 00 */ lwz r3, 0(r3) /* 80206A10 00203970 88 01 00 09 */ lbz r0, 9(r1) /* 80206A14 00203974 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80206A18 00203978 90 01 00 0C */ stw r0, 0xc(r1) /* 80206A1C 0020397C 80 7F 01 80 */ lwz r3, 0x180(r31) /* 80206A20 00203980 48 0C 3E 4D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80206A24 00203984 C0 22 B0 C4 */ lfs f1, lbl_805ACDE4@sda21(r2) /* 80206A28 00203988 C0 1F 01 A4 */ lfs f0, 0x1a4(r31) /* 80206A2C 0020398C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 80206A30 00203990 40 82 00 1C */ bne lbl_80206A4C /* 80206A34 00203994 80 1F 01 A8 */ lwz r0, 0x1a8(r31) /* 80206A38 00203998 2C 00 00 00 */ cmpwi r0, 0 /* 80206A3C 0020399C 40 82 00 10 */ bne lbl_80206A4C /* 80206A40 002039A0 7F E3 FB 78 */ mr r3, r31 /* 80206A44 002039A4 38 80 00 01 */ li r4, 1 /* 80206A48 002039A8 4B E6 A3 CD */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode lbl_80206A4C: /* 80206A4C 002039AC 80 9F 00 70 */ lwz r4, 0x70(r31) /* 80206A50 002039B0 38 A0 00 00 */ li r5, 0 /* 80206A54 002039B4 80 7F 01 9C */ lwz r3, 0x19c(r31) /* 80206A58 002039B8 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 80206A5C 002039BC 2C 00 00 01 */ cmpwi r0, 1 /* 80206A60 002039C0 40 82 00 14 */ bne lbl_80206A74 /* 80206A64 002039C4 80 1F 00 10 */ lwz r0, 0x10(r31) /* 80206A68 002039C8 2C 00 00 00 */ cmpwi r0, 0 /* 80206A6C 002039CC 41 82 00 08 */ beq lbl_80206A74 /* 80206A70 002039D0 38 A0 00 01 */ li r5, 1 lbl_80206A74: /* 80206A74 002039D4 54 A4 06 3E */ clrlwi r4, r5, 0x18 /* 80206A78 002039D8 4B ED 4B 95 */ bl CheckTransition__10CSamusDollFb /* 80206A7C 002039DC 7F E3 FB 78 */ mr r3, r31 /* 80206A80 002039E0 4B FF F8 65 */ bl UpdateSamusDollPulses__16CInventoryScreenFv /* 80206A84 002039E4 80 1F 01 A8 */ lwz r0, 0x1a8(r31) /* 80206A88 002039E8 2C 00 00 01 */ cmpwi r0, 1 /* 80206A8C 002039EC 40 82 00 1C */ bne lbl_80206AA8 /* 80206A90 002039F0 C0 22 B0 C4 */ lfs f1, lbl_805ACDE4@sda21(r2) /* 80206A94 002039F4 C0 1F 01 A4 */ lfs f0, 0x1a4(r31) /* 80206A98 002039F8 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 80206A9C 002039FC 40 82 00 0C */ bne lbl_80206AA8 /* 80206AA0 00203A00 38 00 00 02 */ li r0, 2 /* 80206AA4 00203A04 90 1F 01 A8 */ stw r0, 0x1a8(r31) lbl_80206AA8: /* 80206AA8 00203A08 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80206AAC 00203A0C CB E1 00 50 */ lfd f31, 0x50(r1) /* 80206AB0 00203A10 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 80206AB4 00203A14 CB C1 00 40 */ lfd f30, 0x40(r1) /* 80206AB8 00203A18 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 80206ABC 00203A1C CB A1 00 30 */ lfd f29, 0x30(r1) /* 80206AC0 00203A20 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80206AC4 00203A24 80 01 00 64 */ lwz r0, 0x64(r1) /* 80206AC8 00203A28 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80206ACC 00203A2C 7C 08 03 A6 */ mtlr r0 /* 80206AD0 00203A30 38 21 00 60 */ addi r1, r1, 0x60 /* 80206AD4 00203A34 4E 80 00 20 */ blr .global Touch__16CInventoryScreenFv Touch__16CInventoryScreenFv: /* 80206AD8 00203A38 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80206ADC 00203A3C 7C 08 02 A6 */ mflr r0 /* 80206AE0 00203A40 90 01 00 14 */ stw r0, 0x14(r1) /* 80206AE4 00203A44 93 E1 00 0C */ stw r31, 0xc(r1) /* 80206AE8 00203A48 7C 7F 1B 78 */ mr r31, r3 /* 80206AEC 00203A4C 4B E6 A9 B1 */ bl Touch__16CPauseScreenBaseFv /* 80206AF0 00203A50 80 7F 01 9C */ lwz r3, 0x19c(r31) /* 80206AF4 00203A54 4B ED 69 7D */ bl Touch__10CSamusDollFv /* 80206AF8 00203A58 80 01 00 14 */ lwz r0, 0x14(r1) /* 80206AFC 00203A5C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80206B00 00203A60 7C 08 03 A6 */ mtlr r0 /* 80206B04 00203A64 38 21 00 10 */ addi r1, r1, 0x10 /* 80206B08 00203A68 4E 80 00 20 */ blr .global Draw__16CInventoryScreenCFfff Draw__16CInventoryScreenCFfff: /* 80206B0C 00203A6C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80206B10 00203A70 7C 08 02 A6 */ mflr r0 /* 80206B14 00203A74 90 01 00 24 */ stw r0, 0x24(r1) /* 80206B18 00203A78 DB E1 00 10 */ stfd f31, 0x10(r1) /* 80206B1C 00203A7C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 80206B20 00203A80 93 E1 00 0C */ stw r31, 0xc(r1) /* 80206B24 00203A84 7C 7F 1B 78 */ mr r31, r3 /* 80206B28 00203A88 FF E0 08 90 */ fmr f31, f1 /* 80206B2C 00203A8C 80 83 01 9C */ lwz r4, 0x19c(r3) /* 80206B30 00203A90 C0 04 00 C4 */ lfs f0, 0xc4(r4) /* 80206B34 00203A94 FC 00 02 10 */ fabs f0, f0 /* 80206B38 00203A98 FC 60 00 18 */ frsp f3, f0 /* 80206B3C 00203A9C 4B E6 A8 55 */ bl Draw__16CPauseScreenBaseCFfff /* 80206B40 00203AA0 C0 22 B0 D8 */ lfs f1, lbl_805ACDF8@sda21(r2) /* 80206B44 00203AA4 C0 1F 01 A4 */ lfs f0, 0x1a4(r31) /* 80206B48 00203AA8 80 7F 01 9C */ lwz r3, 0x19c(r31) /* 80206B4C 00203AAC EC 01 00 28 */ fsubs f0, f1, f0 /* 80206B50 00203AB0 80 9F 00 04 */ lwz r4, 4(r31) /* 80206B54 00203AB4 EC 3F 00 32 */ fmuls f1, f31, f0 /* 80206B58 00203AB8 4B ED 4A FD */ bl Draw__10CSamusDollFRC13CStateManagerf /* 80206B5C 00203ABC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 80206B60 00203AC0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80206B64 00203AC4 CB E1 00 10 */ lfd f31, 0x10(r1) /* 80206B68 00203AC8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80206B6C 00203ACC 7C 08 03 A6 */ mtlr r0 /* 80206B70 00203AD0 38 21 00 20 */ addi r1, r1, 0x20 /* 80206B74 00203AD4 4E 80 00 20 */ blr .global GetRightTableCount__16CInventoryScreenCFv GetRightTableCount__16CInventoryScreenCFv: /* 80206B78 00203AD8 80 83 00 70 */ lwz r4, 0x70(r3) /* 80206B7C 00203ADC 3C 60 80 3D */ lis r3, lbl_803D26F0@ha /* 80206B80 00203AE0 38 63 26 F0 */ addi r3, r3, lbl_803D26F0@l /* 80206B84 00203AE4 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 80206B88 00203AE8 54 00 18 38 */ slwi r0, r0, 3 /* 80206B8C 00203AEC 7C 63 00 2E */ lwzx r3, r3, r0 /* 80206B90 00203AF0 4E 80 00 20 */ blr .global ShouldRightTableAdvance__16CInventoryScreenFv ShouldRightTableAdvance__16CInventoryScreenFv: /* 80206B94 00203AF4 80 63 01 9C */ lwz r3, 0x19c(r3) /* 80206B98 00203AF8 C0 22 B0 C4 */ lfs f1, lbl_805ACDE4@sda21(r2) /* 80206B9C 00203AFC C0 03 00 C4 */ lfs f0, 0xc4(r3) /* 80206BA0 00203B00 FC 00 02 10 */ fabs f0, f0 /* 80206BA4 00203B04 FC 00 00 18 */ frsp f0, f0 /* 80206BA8 00203B08 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 80206BAC 00203B0C 7C 00 00 26 */ mfcr r0 /* 80206BB0 00203B10 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 80206BB4 00203B14 4E 80 00 20 */ blr .global ShouldLeftTableAdvance__16CInventoryScreenFv ShouldLeftTableAdvance__16CInventoryScreenFv: /* 80206BB8 00203B18 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80206BBC 00203B1C 7C 08 02 A6 */ mflr r0 /* 80206BC0 00203B20 90 01 00 14 */ stw r0, 0x14(r1) /* 80206BC4 00203B24 80 63 01 9C */ lwz r3, 0x19c(r3) /* 80206BC8 00203B28 4B ED 6F 9D */ bl IsLoaded__10CSamusDollCFv /* 80206BCC 00203B2C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80206BD0 00203B30 7C 08 03 A6 */ mtlr r0 /* 80206BD4 00203B34 38 21 00 10 */ addi r1, r1, 0x10 /* 80206BD8 00203B38 4E 80 00 20 */ blr .global VActivate__16CInventoryScreenFv VActivate__16CInventoryScreenFv: /* 80206BDC 00203B3C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80206BE0 00203B40 7C 08 02 A6 */ mflr r0 /* 80206BE4 00203B44 90 01 00 54 */ stw r0, 0x54(r1) /* 80206BE8 00203B48 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80206BEC 00203B4C 93 C1 00 48 */ stw r30, 0x48(r1) /* 80206BF0 00203B50 3B C0 00 00 */ li r30, 0 /* 80206BF4 00203B54 93 A1 00 44 */ stw r29, 0x44(r1) /* 80206BF8 00203B58 93 81 00 40 */ stw r28, 0x40(r1) /* 80206BFC 00203B5C 7C 7C 1B 78 */ mr r28, r3 /* 80206C00 00203B60 3B FC 00 AC */ addi r31, r28, 0xac lbl_80206C04: /* 80206C04 00203B64 83 BF 00 00 */ lwz r29, 0(r31) /* 80206C08 00203B68 7F 83 E3 78 */ mr r3, r28 /* 80206C0C 00203B6C 7F C4 F3 78 */ mr r4, r30 /* 80206C10 00203B70 4B FF F5 95 */ bl HasLeftInventoryItem__16CInventoryScreenCFi /* 80206C14 00203B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206C18 00203B78 41 82 00 40 */ beq lbl_80206C58 /* 80206C1C 00203B7C 80 7C 00 0C */ lwz r3, 0xc(r28) /* 80206C20 00203B80 38 9E 00 0A */ addi r4, r30, 0xa /* 80206C24 00203B84 48 14 FA D9 */ bl GetString__12CStringTableCFi /* 80206C28 00203B88 7C 64 1B 78 */ mr r4, r3 /* 80206C2C 00203B8C 38 61 00 30 */ addi r3, r1, 0x30 /* 80206C30 00203B90 38 C1 00 0C */ addi r6, r1, 0xc /* 80206C34 00203B94 38 A0 FF FF */ li r5, -1 /* 80206C38 00203B98 48 13 6B 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80206C3C 00203B9C 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 80206C40 00203BA0 38 81 00 30 */ addi r4, r1, 0x30 /* 80206C44 00203BA4 38 A0 00 00 */ li r5, 0 /* 80206C48 00203BA8 48 0C 2C 3D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80206C4C 00203BAC 38 61 00 30 */ addi r3, r1, 0x30 /* 80206C50 00203BB0 48 13 64 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80206C54 00203BB4 48 00 00 50 */ b lbl_80206CA4 lbl_80206C58: /* 80206C58 00203BB8 80 82 B0 C0 */ lwz r4, lbl_805ACDE0@sda21(r2) /* 80206C5C 00203BBC 38 61 00 20 */ addi r3, r1, 0x20 /* 80206C60 00203BC0 4B E0 ED 91 */ bl wstring_l__4rstlFPCw /* 80206C64 00203BC4 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 80206C68 00203BC8 38 81 00 20 */ addi r4, r1, 0x20 /* 80206C6C 00203BCC 38 A0 00 00 */ li r5, 0 /* 80206C70 00203BD0 48 0C 2C 15 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80206C74 00203BD4 38 61 00 20 */ addi r3, r1, 0x20 /* 80206C78 00203BD8 48 13 64 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80206C7C 00203BDC 80 7C 00 70 */ lwz r3, 0x70(r28) /* 80206C80 00203BE0 7F C4 F3 78 */ mr r4, r30 /* 80206C84 00203BE4 81 83 00 00 */ lwz r12, 0(r3) /* 80206C88 00203BE8 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80206C8C 00203BEC 7D 89 03 A6 */ mtctr r12 /* 80206C90 00203BF0 4E 80 04 21 */ bctrl /* 80206C94 00203BF4 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80206C98 00203BF8 38 80 00 00 */ li r4, 0 /* 80206C9C 00203BFC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80206CA0 00203C00 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_80206CA4: /* 80206CA4 00203C04 3B DE 00 01 */ addi r30, r30, 1 /* 80206CA8 00203C08 3B FF 00 04 */ addi r31, r31, 4 /* 80206CAC 00203C0C 2C 1E 00 05 */ cmpwi r30, 5 /* 80206CB0 00203C10 41 80 FF 54 */ blt lbl_80206C04 /* 80206CB4 00203C14 80 7C 00 0C */ lwz r3, 0xc(r28) /* 80206CB8 00203C18 38 80 00 09 */ li r4, 9 /* 80206CBC 00203C1C 48 14 FA 41 */ bl GetString__12CStringTableCFi /* 80206CC0 00203C20 7C 64 1B 78 */ mr r4, r3 /* 80206CC4 00203C24 38 61 00 10 */ addi r3, r1, 0x10 /* 80206CC8 00203C28 38 C1 00 08 */ addi r6, r1, 8 /* 80206CCC 00203C2C 38 A0 FF FF */ li r5, -1 /* 80206CD0 00203C30 48 13 6A ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80206CD4 00203C34 80 7C 01 78 */ lwz r3, 0x178(r28) /* 80206CD8 00203C38 38 81 00 10 */ addi r4, r1, 0x10 /* 80206CDC 00203C3C 38 A0 00 00 */ li r5, 0 /* 80206CE0 00203C40 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80206CE4 00203C44 48 0C 2B A1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80206CE8 00203C48 38 61 00 10 */ addi r3, r1, 0x10 /* 80206CEC 00203C4C 48 13 64 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80206CF0 00203C50 80 7C 01 80 */ lwz r3, 0x180(r28) /* 80206CF4 00203C54 38 80 00 01 */ li r4, 1 /* 80206CF8 00203C58 38 A0 00 01 */ li r5, 1 /* 80206CFC 00203C5C 48 0C 39 ED */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80206D00 00203C60 3B A0 00 05 */ li r29, 5 /* 80206D04 00203C64 3B E0 00 00 */ li r31, 0 /* 80206D08 00203C68 48 00 00 2C */ b lbl_80206D34 lbl_80206D0C: /* 80206D0C 00203C6C 80 7C 00 70 */ lwz r3, 0x70(r28) /* 80206D10 00203C70 7F A4 EB 78 */ mr r4, r29 /* 80206D14 00203C74 81 83 00 00 */ lwz r12, 0(r3) /* 80206D18 00203C78 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80206D1C 00203C7C 7D 89 03 A6 */ mtctr r12 /* 80206D20 00203C80 4E 80 04 21 */ bctrl /* 80206D24 00203C84 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80206D28 00203C88 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b /* 80206D2C 00203C8C 3B BD 00 01 */ addi r29, r29, 1 /* 80206D30 00203C90 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_80206D34: /* 80206D34 00203C94 2C 1D 00 05 */ cmpwi r29, 5 /* 80206D38 00203C98 41 80 FF D4 */ blt lbl_80206D0C /* 80206D3C 00203C9C 80 01 00 54 */ lwz r0, 0x54(r1) /* 80206D40 00203CA0 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80206D44 00203CA4 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80206D48 00203CA8 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80206D4C 00203CAC 83 81 00 40 */ lwz r28, 0x40(r1) /* 80206D50 00203CB0 7C 08 03 A6 */ mtlr r0 /* 80206D54 00203CB4 38 21 00 50 */ addi r1, r1, 0x50 /* 80206D58 00203CB8 4E 80 00 20 */ blr .global VReady__16CInventoryScreenCFv VReady__16CInventoryScreenCFv: /* 80206D5C 00203CBC 38 60 00 01 */ li r3, 1 /* 80206D60 00203CC0 4E 80 00 20 */ blr .global UpdateTextBody__16CInventoryScreenFv UpdateTextBody__16CInventoryScreenFv: /* 80206D64 00203CC4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80206D68 00203CC8 7C 08 02 A6 */ mflr r0 /* 80206D6C 00203CCC 90 01 00 34 */ stw r0, 0x34(r1) /* 80206D70 00203CD0 38 00 00 00 */ li r0, 0 /* 80206D74 00203CD4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80206D78 00203CD8 7C 7F 1B 78 */ mr r31, r3 /* 80206D7C 00203CDC 93 C1 00 28 */ stw r30, 0x28(r1) /* 80206D80 00203CE0 98 03 01 AC */ stb r0, 0x1ac(r3) /* 80206D84 00203CE4 3C 60 80 3D */ lis r3, lbl_803D26F0@ha /* 80206D88 00203CE8 38 83 26 F0 */ addi r4, r3, lbl_803D26F0@l /* 80206D8C 00203CEC 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80206D90 00203CF0 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 80206D94 00203CF4 80 A3 00 C4 */ lwz r5, 0xc4(r3) /* 80206D98 00203CF8 1C 00 00 0C */ mulli r0, r0, 0xc /* 80206D9C 00203CFC 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80206DA0 00203D00 54 A5 18 38 */ slwi r5, r5, 3 /* 80206DA4 00203D04 7C 84 2A 14 */ add r4, r4, r5 /* 80206DA8 00203D08 80 84 00 04 */ lwz r4, 4(r4) /* 80206DAC 00203D0C 7F C4 02 14 */ add r30, r4, r0 /* 80206DB0 00203D10 80 9E 00 08 */ lwz r4, 8(r30) /* 80206DB4 00203D14 48 14 F9 49 */ bl GetString__12CStringTableCFi /* 80206DB8 00203D18 7C 64 1B 78 */ mr r4, r3 /* 80206DBC 00203D1C 38 61 00 0C */ addi r3, r1, 0xc /* 80206DC0 00203D20 38 C1 00 08 */ addi r6, r1, 8 /* 80206DC4 00203D24 38 A0 FF FF */ li r5, -1 /* 80206DC8 00203D28 48 13 69 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80206DCC 00203D2C 80 1E 00 00 */ lwz r0, 0(r30) /* 80206DD0 00203D30 2C 00 00 17 */ cmpwi r0, 0x17 /* 80206DD4 00203D34 40 82 00 E0 */ bne lbl_80206EB4 /* 80206DD8 00203D38 80 7F 00 04 */ lwz r3, 4(r31) /* 80206DDC 00203D3C 38 80 00 0B */ li r4, 0xb /* 80206DE0 00203D40 80 63 08 B8 */ lwz r3, 0x8b8(r3) /* 80206DE4 00203D44 83 C3 00 00 */ lwz r30, 0(r3) /* 80206DE8 00203D48 7F C3 F3 78 */ mr r3, r30 /* 80206DEC 00203D4C 4B E8 AC D5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206DF0 00203D50 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206DF4 00203D54 38 80 00 41 */ li r4, 0x41 /* 80206DF8 00203D58 41 82 00 08 */ beq lbl_80206E00 /* 80206DFC 00203D5C 38 80 00 47 */ li r4, 0x47 lbl_80206E00: /* 80206E00 00203D60 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80206E04 00203D64 48 14 F8 F9 */ bl GetString__12CStringTableCFi /* 80206E08 00203D68 7C 64 1B 78 */ mr r4, r3 /* 80206E0C 00203D6C 38 61 00 0C */ addi r3, r1, 0xc /* 80206E10 00203D70 38 A0 FF FF */ li r5, -1 /* 80206E14 00203D74 48 13 66 D1 */ bl sub_8033d4e4 /* 80206E18 00203D78 7F C3 F3 78 */ mr r3, r30 /* 80206E1C 00203D7C 38 80 00 0E */ li r4, 0xe /* 80206E20 00203D80 4B E8 AC A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206E24 00203D84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206E28 00203D88 38 80 00 41 */ li r4, 0x41 /* 80206E2C 00203D8C 41 82 00 08 */ beq lbl_80206E34 /* 80206E30 00203D90 38 80 00 49 */ li r4, 0x49 lbl_80206E34: /* 80206E34 00203D94 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80206E38 00203D98 48 14 F8 C5 */ bl GetString__12CStringTableCFi /* 80206E3C 00203D9C 7C 64 1B 78 */ mr r4, r3 /* 80206E40 00203DA0 38 61 00 0C */ addi r3, r1, 0xc /* 80206E44 00203DA4 38 A0 FF FF */ li r5, -1 /* 80206E48 00203DA8 48 13 66 9D */ bl sub_8033d4e4 /* 80206E4C 00203DAC 7F C3 F3 78 */ mr r3, r30 /* 80206E50 00203DB0 38 80 00 1C */ li r4, 0x1c /* 80206E54 00203DB4 4B E8 AC 6D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206E58 00203DB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206E5C 00203DBC 38 80 00 41 */ li r4, 0x41 /* 80206E60 00203DC0 41 82 00 08 */ beq lbl_80206E68 /* 80206E64 00203DC4 38 80 00 4B */ li r4, 0x4b lbl_80206E68: /* 80206E68 00203DC8 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80206E6C 00203DCC 48 14 F8 91 */ bl GetString__12CStringTableCFi /* 80206E70 00203DD0 7C 64 1B 78 */ mr r4, r3 /* 80206E74 00203DD4 38 61 00 0C */ addi r3, r1, 0xc /* 80206E78 00203DD8 38 A0 FF FF */ li r5, -1 /* 80206E7C 00203DDC 48 13 66 69 */ bl sub_8033d4e4 /* 80206E80 00203DE0 7F C3 F3 78 */ mr r3, r30 /* 80206E84 00203DE4 38 80 00 08 */ li r4, 8 /* 80206E88 00203DE8 4B E8 AC 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80206E8C 00203DEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206E90 00203DF0 38 80 00 41 */ li r4, 0x41 /* 80206E94 00203DF4 41 82 00 08 */ beq lbl_80206E9C /* 80206E98 00203DF8 38 80 00 4D */ li r4, 0x4d lbl_80206E9C: /* 80206E9C 00203DFC 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80206EA0 00203E00 48 14 F8 5D */ bl GetString__12CStringTableCFi /* 80206EA4 00203E04 7C 64 1B 78 */ mr r4, r3 /* 80206EA8 00203E08 38 61 00 0C */ addi r3, r1, 0xc /* 80206EAC 00203E0C 38 A0 FF FF */ li r5, -1 /* 80206EB0 00203E10 48 13 66 35 */ bl sub_8033d4e4 lbl_80206EB4: /* 80206EB4 00203E14 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80206EB8 00203E18 38 81 00 0C */ addi r4, r1, 0xc /* 80206EBC 00203E1C 38 A0 00 01 */ li r5, 1 /* 80206EC0 00203E20 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80206EC4 00203E24 48 0C 29 C1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80206EC8 00203E28 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80206ECC 00203E2C 38 80 00 00 */ li r4, 0 /* 80206ED0 00203E30 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80206ED4 00203E34 48 0C 0F 35 */ bl SetPage__15CGuiTextSupportFi /* 80206ED8 00203E38 38 61 00 0C */ addi r3, r1, 0xc /* 80206EDC 00203E3C 48 13 62 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80206EE0 00203E40 80 01 00 34 */ lwz r0, 0x34(r1) /* 80206EE4 00203E44 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80206EE8 00203E48 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80206EEC 00203E4C 7C 08 03 A6 */ mtlr r0 /* 80206EF0 00203E50 38 21 00 30 */ addi r1, r1, 0x30 /* 80206EF4 00203E54 4E 80 00 20 */ blr .global ChangedMode__16CInventoryScreenQ216CPauseScreenBase5EMode ChangedMode__16CInventoryScreenQ216CPauseScreenBase5EMode: /* 80206EF8 00203E58 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80206EFC 00203E5C 7C 08 02 A6 */ mflr r0 /* 80206F00 00203E60 90 01 00 14 */ stw r0, 0x14(r1) /* 80206F04 00203E64 80 03 00 10 */ lwz r0, 0x10(r3) /* 80206F08 00203E68 2C 00 00 02 */ cmpwi r0, 2 /* 80206F0C 00203E6C 40 82 00 10 */ bne lbl_80206F1C /* 80206F10 00203E70 38 00 00 01 */ li r0, 1 /* 80206F14 00203E74 98 03 01 AD */ stb r0, 0x1ad(r3) /* 80206F18 00203E78 4B FF FE 4D */ bl UpdateTextBody__16CInventoryScreenFv lbl_80206F1C: /* 80206F1C 00203E7C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80206F20 00203E80 7C 08 03 A6 */ mtlr r0 /* 80206F24 00203E84 38 21 00 10 */ addi r1, r1, 0x10 /* 80206F28 00203E88 4E 80 00 20 */ blr .global ProcessInput__16CInventoryScreenFRC11CFinalInput ProcessInput__16CInventoryScreenFRC11CFinalInput: /* 80206F2C 00203E8C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 80206F30 00203E90 7C 08 02 A6 */ mflr r0 /* 80206F34 00203E94 90 01 00 E4 */ stw r0, 0xe4(r1) /* 80206F38 00203E98 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 80206F3C 00203E9C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 80206F40 00203EA0 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 80206F44 00203EA4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 80206F48 00203EA8 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 80206F4C 00203EAC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 80206F50 00203EB0 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 80206F54 00203EB4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 80206F58 00203EB8 DB 61 00 90 */ stfd f27, 0x90(r1) /* 80206F5C 00203EBC F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 /* 80206F60 00203EC0 DB 41 00 80 */ stfd f26, 0x80(r1) /* 80206F64 00203EC4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 /* 80206F68 00203EC8 DB 21 00 70 */ stfd f25, 0x70(r1) /* 80206F6C 00203ECC F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 /* 80206F70 00203ED0 DB 01 00 60 */ stfd f24, 0x60(r1) /* 80206F74 00203ED4 F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 /* 80206F78 00203ED8 DA E1 00 50 */ stfd f23, 0x50(r1) /* 80206F7C 00203EDC F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0 /* 80206F80 00203EE0 DA C1 00 40 */ stfd f22, 0x40(r1) /* 80206F84 00203EE4 F2 C1 00 48 */ psq_st f22, 72(r1), 0, qr0 /* 80206F88 00203EE8 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 80206F8C 00203EEC 7C 7B 1B 78 */ mr r27, r3 /* 80206F90 00203EF0 7C 9C 23 78 */ mr r28, r4 /* 80206F94 00203EF4 80 03 01 A8 */ lwz r0, 0x1a8(r3) /* 80206F98 00203EF8 2C 00 00 02 */ cmpwi r0, 2 /* 80206F9C 00203EFC 41 82 04 28 */ beq lbl_802073C4 /* 80206FA0 00203F00 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80206FA4 00203F04 38 00 00 00 */ li r0, 0 /* 80206FA8 00203F08 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2) /* 80206FAC 00203F0C C0 23 00 C4 */ lfs f1, 0xc4(r3) /* 80206FB0 00203F10 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 80206FB4 00203F14 41 82 00 14 */ beq lbl_80206FC8 /* 80206FB8 00203F18 C0 02 B0 D8 */ lfs f0, lbl_805ACDF8@sda21(r2) /* 80206FBC 00203F1C FC 00 08 00 */ fcmpu cr0, f0, f1 /* 80206FC0 00203F20 41 82 00 08 */ beq lbl_80206FC8 /* 80206FC4 00203F24 38 00 00 01 */ li r0, 1 lbl_80206FC8: /* 80206FC8 00203F28 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80206FCC 00203F2C 40 82 03 F8 */ bne lbl_802073C4 /* 80206FD0 00203F30 C0 03 00 C4 */ lfs f0, 0xc4(r3) /* 80206FD4 00203F34 88 1C 00 2D */ lbz r0, 0x2d(r28) /* 80206FD8 00203F38 FC 00 02 10 */ fabs f0, f0 /* 80206FDC 00203F3C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 80206FE0 00203F40 FE E0 00 18 */ frsp f23, f0 /* 80206FE4 00203F44 41 82 00 44 */ beq lbl_80207028 /* 80206FE8 00203F48 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80206FEC 00203F4C 4B ED 6B 79 */ bl IsLoaded__10CSamusDollCFv /* 80206FF0 00203F50 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80206FF4 00203F54 41 82 00 34 */ beq lbl_80207028 /* 80206FF8 00203F58 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2) /* 80206FFC 00203F5C FC 17 00 40 */ fcmpo cr0, f23, f0 /* 80207000 00203F60 41 81 00 10 */ bgt lbl_80207010 /* 80207004 00203F64 80 1B 00 10 */ lwz r0, 0x10(r27) /* 80207008 00203F68 2C 00 00 02 */ cmpwi r0, 2 /* 8020700C 00203F6C 41 82 00 1C */ beq lbl_80207028 lbl_80207010: /* 80207010 00203F70 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2) /* 80207014 00203F74 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80207018 00203F78 FC 00 B8 00 */ fcmpu cr0, f0, f23 /* 8020701C 00203F7C 7C 00 00 26 */ mfcr r0 /* 80207020 00203F80 54 04 1F FE */ rlwinm r4, r0, 3, 0x1f, 0x1f /* 80207024 00203F84 4B ED 3B 99 */ bl BeginViewInterpolate__10CSamusDollFb lbl_80207028: /* 80207028 00203F88 C0 02 B0 D8 */ lfs f0, lbl_805ACDF8@sda21(r2) /* 8020702C 00203F8C FC 00 B8 00 */ fcmpu cr0, f0, f23 /* 80207030 00203F90 40 82 00 48 */ bne lbl_80207078 /* 80207034 00203F94 88 1C 00 2E */ lbz r0, 0x2e(r28) /* 80207038 00203F98 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 8020703C 00203F9C 41 82 00 24 */ beq lbl_80207060 /* 80207040 00203FA0 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80207044 00203FA4 38 80 00 00 */ li r4, 0 /* 80207048 00203FA8 4B ED 3B 75 */ bl BeginViewInterpolate__10CSamusDollFb /* 8020704C 00203FAC 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80207050 00203FB0 38 60 00 01 */ li r3, 1 /* 80207054 00203FB4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80207058 00203FB8 98 1B 01 98 */ stb r0, 0x198(r27) /* 8020705C 00203FBC 48 00 00 1C */ b lbl_80207078 lbl_80207060: /* 80207060 00203FC0 88 1C 00 2D */ lbz r0, 0x2d(r28) /* 80207064 00203FC4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80207068 00203FC8 41 82 00 10 */ beq lbl_80207078 /* 8020706C 00203FCC 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80207070 00203FD0 38 80 00 00 */ li r4, 0 /* 80207074 00203FD4 4B ED 3B 49 */ bl BeginViewInterpolate__10CSamusDollFb lbl_80207078: /* 80207078 00203FD8 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 8020707C 00203FDC C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2) /* 80207080 00203FE0 C0 23 00 C4 */ lfs f1, 0xc4(r3) /* 80207084 00203FE4 FC 20 0A 10 */ fabs f1, f1 /* 80207088 00203FE8 FC 20 08 18 */ frsp f1, f1 /* 8020708C 00203FEC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80207090 00203FF0 40 81 01 10 */ ble lbl_802071A0 /* 80207094 00203FF4 C0 22 B0 DC */ lfs f1, lbl_805ACDFC@sda21(r2) /* 80207098 00203FF8 7F 84 E3 78 */ mr r4, r28 /* 8020709C 00203FFC C0 1C 00 00 */ lfs f0, 0(r28) /* 802070A0 00204000 38 60 00 26 */ li r3, 0x26 /* 802070A4 00204004 EE C1 00 32 */ fmuls f22, f1, f0 /* 802070A8 00204008 4B E0 58 71 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 802070AC 0020400C FE E0 08 90 */ fmr f23, f1 /* 802070B0 00204010 7F 84 E3 78 */ mr r4, r28 /* 802070B4 00204014 38 60 00 27 */ li r3, 0x27 /* 802070B8 00204018 4B E0 58 61 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 802070BC 0020401C FF 00 08 90 */ fmr f24, f1 /* 802070C0 00204020 7F 84 E3 78 */ mr r4, r28 /* 802070C4 00204024 38 60 00 28 */ li r3, 0x28 /* 802070C8 00204028 4B E0 58 51 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 802070CC 0020402C FF 20 08 90 */ fmr f25, f1 /* 802070D0 00204030 7F 84 E3 78 */ mr r4, r28 /* 802070D4 00204034 38 60 00 29 */ li r3, 0x29 /* 802070D8 00204038 4B E0 58 41 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 802070DC 0020403C FF 40 08 90 */ fmr f26, f1 /* 802070E0 00204040 7F 84 E3 78 */ mr r4, r28 /* 802070E4 00204044 38 60 00 2A */ li r3, 0x2a /* 802070E8 00204048 4B E0 58 31 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 802070EC 0020404C FF 60 08 90 */ fmr f27, f1 /* 802070F0 00204050 7F 84 E3 78 */ mr r4, r28 /* 802070F4 00204054 38 60 00 2B */ li r3, 0x2b /* 802070F8 00204058 4B E0 58 21 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 802070FC 0020405C FF 80 08 90 */ fmr f28, f1 /* 80207100 00204060 7F 84 E3 78 */ mr r4, r28 /* 80207104 00204064 38 60 00 2C */ li r3, 0x2c /* 80207108 00204068 4B E0 58 11 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8020710C 0020406C FF A0 08 90 */ fmr f29, f1 /* 80207110 00204070 7F 84 E3 78 */ mr r4, r28 /* 80207114 00204074 38 60 00 2D */ li r3, 0x2d /* 80207118 00204078 4B E0 58 01 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8020711C 0020407C FF C0 08 90 */ fmr f30, f1 /* 80207120 00204080 7F 84 E3 78 */ mr r4, r28 /* 80207124 00204084 38 60 00 2E */ li r3, 0x2e /* 80207128 00204088 4B E0 57 F1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8020712C 0020408C FF E0 08 90 */ fmr f31, f1 /* 80207130 00204090 7F 84 E3 78 */ mr r4, r28 /* 80207134 00204094 38 60 00 2F */ li r3, 0x2f /* 80207138 00204098 4B E0 57 E1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput /* 8020713C 0020409C C0 82 B0 E0 */ lfs f4, lbl_805ACE00@sda21(r2) /* 80207140 002040A0 EC 5F 08 28 */ fsubs f2, f31, f1 /* 80207144 002040A4 C0 02 B0 E4 */ lfs f0, lbl_805ACE04@sda21(r2) /* 80207148 002040A8 EC 7E E8 28 */ fsubs f3, f30, f29 /* 8020714C 002040AC EC 84 05 B2 */ fmuls f4, f4, f22 /* 80207150 002040B0 C0 3C 00 00 */ lfs f1, 0(r28) /* 80207154 002040B4 EF A0 05 B2 */ fmuls f29, f0, f22 /* 80207158 002040B8 EC 1B E0 28 */ fsubs f0, f27, f28 /* 8020715C 002040BC 38 81 00 18 */ addi r4, r1, 0x18 /* 80207160 002040C0 EC 64 00 F2 */ fmuls f3, f4, f3 /* 80207164 002040C4 EC 5D 00 B2 */ fmuls f2, f29, f2 /* 80207168 002040C8 EC 04 00 32 */ fmuls f0, f4, f0 /* 8020716C 002040CC D0 61 00 18 */ stfs f3, 0x18(r1) /* 80207170 002040D0 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80207174 002040D4 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80207178 002040D8 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 8020717C 002040DC 4B ED 3B 75 */ bl SetOffset__10CSamusDollFRC9CVector3ff /* 80207180 002040E0 EC 38 B8 28 */ fsubs f1, f24, f23 /* 80207184 002040E4 80 7B 01 9C */ lwz r3, 0x19c(r27) /* 80207188 002040E8 EC 1A C8 28 */ fsubs f0, f26, f25 /* 8020718C 002040EC C0 7C 00 00 */ lfs f3, 0(r28) /* 80207190 002040F0 EC 3D 00 72 */ fmuls f1, f29, f1 /* 80207194 002040F4 EC 5D 00 32 */ fmuls f2, f29, f0 /* 80207198 002040F8 4B ED 3F BD */ bl SetRotation__10CSamusDollFfff /* 8020719C 002040FC 48 00 02 28 */ b lbl_802073C4 lbl_802071A0: /* 802071A0 00204100 38 60 00 00 */ li r3, 0 /* 802071A4 00204104 98 7B 01 AD */ stb r3, 0x1ad(r27) /* 802071A8 00204108 80 1B 00 10 */ lwz r0, 0x10(r27) /* 802071AC 0020410C 2C 00 00 02 */ cmpwi r0, 2 /* 802071B0 00204110 40 82 01 D8 */ bne lbl_80207388 /* 802071B4 00204114 80 7B 01 74 */ lwz r3, 0x174(r27) /* 802071B8 00204118 38 63 00 D4 */ addi r3, r3, 0xd4 /* 802071BC 0020411C 83 E3 03 04 */ lwz r31, 0x304(r3) /* 802071C0 00204120 7F FE FB 78 */ mr r30, r31 /* 802071C4 00204124 48 0C 0C 95 */ bl GetTotalPageCount__15CGuiTextSupportFv /* 802071C8 00204128 38 03 FF FF */ addi r0, r3, -1 /* 802071CC 0020412C 2C 03 FF FF */ cmpwi r3, -1 /* 802071D0 00204130 7C 1F 00 50 */ subf r0, r31, r0 /* 802071D4 00204134 7C 00 00 34 */ cntlzw r0, r0 /* 802071D8 00204138 54 1D D9 7E */ srwi r29, r0, 5 /* 802071DC 0020413C 41 82 01 34 */ beq lbl_80207310 /* 802071E0 00204140 C0 02 CC 28 */ lfs f0, lbl_805AE948@sda21(r2) /* 802071E4 00204144 38 80 00 00 */ li r4, 0 /* 802071E8 00204148 C0 3C 00 0C */ lfs f1, 0xc(r28) /* 802071EC 0020414C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802071F0 00204150 40 80 00 0C */ bge lbl_802071FC /* 802071F4 00204154 38 00 00 01 */ li r0, 1 /* 802071F8 00204158 48 00 00 08 */ b lbl_80207200 lbl_802071FC: /* 802071FC 0020415C 7C 80 23 78 */ mr r0, r4 lbl_80207200: /* 80207200 00204160 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80207204 00204164 41 82 00 14 */ beq lbl_80207218 /* 80207208 00204168 88 1C 00 21 */ lbz r0, 0x21(r28) /* 8020720C 0020416C 28 00 00 00 */ cmplwi r0, 0 /* 80207210 00204170 41 82 00 08 */ beq lbl_80207218 /* 80207214 00204174 38 80 00 01 */ li r4, 1 lbl_80207218: /* 80207218 00204178 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8020721C 0020417C 41 82 00 28 */ beq lbl_80207244 /* 80207220 00204180 80 0D 93 80 */ lwz r0, lbl_805A7F40@sda21(r13) /* 80207224 00204184 38 9F FF FF */ addi r4, r31, -1 /* 80207228 00204188 90 81 00 14 */ stw r4, 0x14(r1) /* 8020722C 0020418C 38 6D 93 80 */ addi r3, r13, lbl_805A7F40@sda21 /* 80207230 00204190 7C 00 20 00 */ cmpw r0, r4 /* 80207234 00204194 40 80 00 08 */ bge lbl_8020723C /* 80207238 00204198 38 61 00 14 */ addi r3, r1, 0x14 lbl_8020723C: /* 8020723C 0020419C 83 C3 00 00 */ lwz r30, 0(r3) /* 80207240 002041A0 48 00 00 64 */ b lbl_802072A4 lbl_80207244: /* 80207244 002041A4 FC 00 00 50 */ fneg f0, f0 /* 80207248 002041A8 38 80 00 00 */ li r4, 0 /* 8020724C 002041AC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80207250 002041B0 40 81 00 14 */ ble lbl_80207264 /* 80207254 002041B4 88 1C 00 21 */ lbz r0, 0x21(r28) /* 80207258 002041B8 28 00 00 00 */ cmplwi r0, 0 /* 8020725C 002041BC 41 82 00 08 */ beq lbl_80207264 /* 80207260 002041C0 38 80 00 01 */ li r4, 1 lbl_80207264: /* 80207264 002041C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80207268 002041C8 40 82 00 18 */ bne lbl_80207280 /* 8020726C 002041CC 88 1C 00 2D */ lbz r0, 0x2d(r28) /* 80207270 002041D0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80207274 002041D4 41 82 00 30 */ beq lbl_802072A4 /* 80207278 002041D8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8020727C 002041DC 40 82 00 28 */ bne lbl_802072A4 lbl_80207280: /* 80207280 002041E0 38 9F 00 01 */ addi r4, r31, 1 /* 80207284 002041E4 38 03 FF FF */ addi r0, r3, -1 /* 80207288 002041E8 7C 04 00 00 */ cmpw r4, r0 /* 8020728C 002041EC 90 81 00 0C */ stw r4, 0xc(r1) /* 80207290 002041F0 38 61 00 10 */ addi r3, r1, 0x10 /* 80207294 002041F4 90 01 00 10 */ stw r0, 0x10(r1) /* 80207298 002041F8 40 80 00 08 */ bge lbl_802072A0 /* 8020729C 002041FC 38 61 00 0C */ addi r3, r1, 0xc lbl_802072A0: /* 802072A0 00204200 83 C3 00 00 */ lwz r30, 0(r3) lbl_802072A4: /* 802072A4 00204204 80 7B 01 74 */ lwz r3, 0x174(r27) /* 802072A8 00204208 7F C4 F3 78 */ mr r4, r30 /* 802072AC 0020420C 38 63 00 D4 */ addi r3, r3, 0xd4 /* 802072B0 00204210 48 0C 0B 59 */ bl SetPage__15CGuiTextSupportFi /* 802072B4 00204214 7C 1F F0 00 */ cmpw r31, r30 /* 802072B8 00204218 41 82 00 28 */ beq lbl_802072E0 /* 802072BC 0020421C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 802072C0 00204220 38 61 00 08 */ addi r3, r1, 8 /* 802072C4 00204224 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 802072C8 00204228 38 80 05 A4 */ li r4, 0x5a4 /* 802072CC 0020422C 38 A0 00 7F */ li r5, 0x7f /* 802072D0 00204230 38 C0 00 40 */ li r6, 0x40 /* 802072D4 00204234 38 E0 00 00 */ li r7, 0 /* 802072D8 00204238 39 20 00 00 */ li r9, 0 /* 802072DC 0020423C 48 0E 2A 99 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_802072E0: /* 802072E0 00204240 7C 7E 00 D0 */ neg r3, r30 /* 802072E4 00204244 57 A0 06 3E */ clrlwi r0, r29, 0x18 /* 802072E8 00204248 7C 64 F0 78 */ andc r4, r3, r30 /* 802072EC 0020424C 88 7B 01 98 */ lbz r3, 0x198(r27) /* 802072F0 00204250 50 83 27 38 */ rlwimi r3, r4, 4, 0x1c, 0x1c /* 802072F4 00204254 7C 00 00 34 */ cntlzw r0, r0 /* 802072F8 00204258 98 7B 01 98 */ stb r3, 0x198(r27) /* 802072FC 0020425C 54 03 D9 7E */ srwi r3, r0, 5 /* 80207300 00204260 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80207304 00204264 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80207308 00204268 98 1B 01 98 */ stb r0, 0x198(r27) /* 8020730C 0020426C 48 00 00 24 */ b lbl_80207330 lbl_80207310: /* 80207310 00204270 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80207314 00204274 38 60 00 00 */ li r3, 0 /* 80207318 00204278 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8020731C 0020427C 98 1B 01 98 */ stb r0, 0x198(r27) /* 80207320 00204280 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 80207324 00204284 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80207328 00204288 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8020732C 0020428C 98 1B 01 98 */ stb r0, 0x198(r27) lbl_80207330: /* 80207330 00204290 88 1B 01 AC */ lbz r0, 0x1ac(r27) /* 80207334 00204294 28 00 00 00 */ cmplwi r0, 0 /* 80207338 00204298 40 82 00 3C */ bne lbl_80207374 /* 8020733C 0020429C 88 7C 00 2D */ lbz r3, 0x2d(r28) /* 80207340 002042A0 38 80 00 01 */ li r4, 1 /* 80207344 002042A4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 80207348 002042A8 40 82 00 28 */ bne lbl_80207370 /* 8020734C 002042AC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 80207350 002042B0 38 60 00 00 */ li r3, 0 /* 80207354 002042B4 41 82 00 10 */ beq lbl_80207364 /* 80207358 002042B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8020735C 002042BC 41 82 00 08 */ beq lbl_80207364 /* 80207360 002042C0 7C 83 23 78 */ mr r3, r4 lbl_80207364: /* 80207364 002042C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80207368 002042C8 40 82 00 08 */ bne lbl_80207370 /* 8020736C 002042CC 38 80 00 00 */ li r4, 0 lbl_80207370: /* 80207370 002042D0 98 9B 01 AC */ stb r4, 0x1ac(r27) lbl_80207374: /* 80207374 002042D4 88 1B 01 AC */ lbz r0, 0x1ac(r27) /* 80207378 002042D8 7C 00 00 34 */ cntlzw r0, r0 /* 8020737C 002042DC 54 00 D9 7E */ srwi r0, r0, 5 /* 80207380 002042E0 98 1B 01 AD */ stb r0, 0x1ad(r27) /* 80207384 002042E4 48 00 00 20 */ b lbl_802073A4 lbl_80207388: /* 80207388 002042E8 88 1B 01 98 */ lbz r0, 0x198(r27) /* 8020738C 002042EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80207390 002042F0 98 1B 01 98 */ stb r0, 0x198(r27) /* 80207394 002042F4 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 80207398 002042F8 88 1B 01 98 */ lbz r0, 0x198(r27) /* 8020739C 002042FC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802073A0 00204300 98 1B 01 98 */ stb r0, 0x198(r27) lbl_802073A4: /* 802073A4 00204304 80 1B 01 A8 */ lwz r0, 0x1a8(r27) /* 802073A8 00204308 2C 00 00 00 */ cmpwi r0, 0 /* 802073AC 0020430C 41 82 00 0C */ beq lbl_802073B8 /* 802073B0 00204310 38 00 00 00 */ li r0, 0 /* 802073B4 00204314 98 1B 01 AD */ stb r0, 0x1ad(r27) lbl_802073B8: /* 802073B8 00204318 7F 63 DB 78 */ mr r3, r27 /* 802073BC 0020431C 7F 84 E3 78 */ mr r4, r28 /* 802073C0 00204320 4B E6 9F 9D */ bl ProcessInput__16CPauseScreenBaseFRC11CFinalInput lbl_802073C4: /* 802073C4 00204324 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 802073C8 00204328 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 802073CC 0020432C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 802073D0 00204330 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 802073D4 00204334 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 802073D8 00204338 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 802073DC 0020433C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 802073E0 00204340 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 802073E4 00204344 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 /* 802073E8 00204348 CB 61 00 90 */ lfd f27, 0x90(r1) /* 802073EC 0020434C E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 /* 802073F0 00204350 CB 41 00 80 */ lfd f26, 0x80(r1) /* 802073F4 00204354 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 /* 802073F8 00204358 CB 21 00 70 */ lfd f25, 0x70(r1) /* 802073FC 0020435C E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 /* 80207400 00204360 CB 01 00 60 */ lfd f24, 0x60(r1) /* 80207404 00204364 E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0 /* 80207408 00204368 CA E1 00 50 */ lfd f23, 0x50(r1) /* 8020740C 0020436C E2 C1 00 48 */ psq_l f22, 72(r1), 0, qr0 /* 80207410 00204370 CA C1 00 40 */ lfd f22, 0x40(r1) /* 80207414 00204374 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 80207418 00204378 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8020741C 0020437C 7C 08 03 A6 */ mtlr r0 /* 80207420 00204380 38 21 00 E0 */ addi r1, r1, 0xe0 /* 80207424 00204384 4E 80 00 20 */ blr .global GetCameraYBias__16CInventoryScreenCFv GetCameraYBias__16CInventoryScreenCFv: /* 80207428 00204388 80 63 01 9C */ lwz r3, 0x19c(r3) /* 8020742C 0020438C C0 03 00 C4 */ lfs f0, 0xc4(r3) /* 80207430 00204390 FC 00 02 10 */ fabs f0, f0 /* 80207434 00204394 FC 20 00 18 */ frsp f1, f0 /* 80207438 00204398 4E 80 00 20 */ blr .global __dt__16CInventoryScreenFv __dt__16CInventoryScreenFv: /* 8020743C 0020439C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80207440 002043A0 7C 08 02 A6 */ mflr r0 /* 80207444 002043A4 90 01 00 34 */ stw r0, 0x34(r1) /* 80207448 002043A8 BF 21 00 14 */ stmw r25, 0x14(r1) /* 8020744C 002043AC 7C 79 1B 79 */ or. r25, r3, r3 /* 80207450 002043B0 7C 9A 23 78 */ mr r26, r4 /* 80207454 002043B4 41 82 00 B0 */ beq lbl_80207504 /* 80207458 002043B8 3C 60 80 3E */ lis r3, lbl_803E6EB0@ha /* 8020745C 002043BC 3B D9 00 DC */ addi r30, r25, 0xdc /* 80207460 002043C0 38 03 6E B0 */ addi r0, r3, lbl_803E6EB0@l /* 80207464 002043C4 3B B9 01 60 */ addi r29, r25, 0x160 /* 80207468 002043C8 90 19 00 00 */ stw r0, 0(r25) /* 8020746C 002043CC 3B 99 01 48 */ addi r28, r25, 0x148 /* 80207470 002043D0 3B 60 00 00 */ li r27, 0 lbl_80207474: /* 80207474 002043D4 80 7E 00 00 */ lwz r3, 0(r30) /* 80207478 002043D8 3B E3 00 D4 */ addi r31, r3, 0xd4 /* 8020747C 002043DC 48 14 2B 31 */ bl White__6CColorFv /* 80207480 002043E0 7C 64 1B 78 */ mr r4, r3 /* 80207484 002043E4 7F E3 FB 78 */ mr r3, r31 /* 80207488 002043E8 48 0C 21 E1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor /* 8020748C 002043EC 48 14 2B 21 */ bl White__6CColorFv /* 80207490 002043F0 7C 64 1B 78 */ mr r4, r3 /* 80207494 002043F4 80 7D 00 00 */ lwz r3, 0(r29) /* 80207498 002043F8 48 0C 33 D5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 8020749C 002043FC 48 14 2B 11 */ bl White__6CColorFv /* 802074A0 00204400 7C 64 1B 78 */ mr r4, r3 /* 802074A4 00204404 80 7C 00 00 */ lwz r3, 0(r28) /* 802074A8 00204408 48 0C 33 C5 */ bl SetColor__10CGuiWidgetFRC6CColor /* 802074AC 0020440C 3B 7B 00 01 */ addi r27, r27, 1 /* 802074B0 00204410 3B BD 00 04 */ addi r29, r29, 4 /* 802074B4 00204414 2C 1B 00 05 */ cmpwi r27, 5 /* 802074B8 00204418 3B 9C 00 04 */ addi r28, r28, 4 /* 802074BC 0020441C 3B DE 00 04 */ addi r30, r30, 4 /* 802074C0 00204420 41 80 FF B4 */ blt lbl_80207474 /* 802074C4 00204424 48 14 2A E9 */ bl White__6CColorFv /* 802074C8 00204428 7C 64 1B 78 */ mr r4, r3 /* 802074CC 0020442C 80 79 00 8C */ lwz r3, 0x8c(r25) /* 802074D0 00204430 48 0C 33 9D */ bl SetColor__10CGuiWidgetFRC6CColor /* 802074D4 00204434 34 19 01 9C */ addic. r0, r25, 0x19c /* 802074D8 00204438 41 82 00 10 */ beq lbl_802074E8 /* 802074DC 0020443C 80 79 01 9C */ lwz r3, 0x19c(r25) /* 802074E0 00204440 38 80 00 01 */ li r4, 1 /* 802074E4 00204444 4B ED 63 51 */ bl __dt__10CSamusDollFv lbl_802074E8: /* 802074E8 00204448 7F 23 CB 78 */ mr r3, r25 /* 802074EC 0020444C 38 80 00 00 */ li r4, 0 /* 802074F0 00204450 4B E6 B0 DD */ bl __dt__16CPauseScreenBaseFv /* 802074F4 00204454 7F 40 07 35 */ extsh. r0, r26 /* 802074F8 00204458 40 81 00 0C */ ble lbl_80207504 /* 802074FC 0020445C 7F 23 CB 78 */ mr r3, r25 /* 80207500 00204460 48 10 E4 31 */ bl Free__7CMemoryFPCv lbl_80207504: /* 80207504 00204464 7F 23 CB 78 */ mr r3, r25 /* 80207508 00204468 BB 21 00 14 */ lmw r25, 0x14(r1) /* 8020750C 0020446C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80207510 00204470 7C 08 03 A6 */ mtlr r0 /* 80207514 00204474 38 21 00 30 */ addi r1, r1, 0x30 /* 80207518 00204478 4E 80 00 20 */ blr .global __ct__16CInventoryScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTableRC16CDependencyGroupRC16CDependencyGroup __ct__16CInventoryScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTableRC16CDependencyGroupRC16CDependencyGroup: /* 8020751C 0020447C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80207520 00204480 7C 08 02 A6 */ mflr r0 /* 80207524 00204484 90 01 00 34 */ stw r0, 0x34(r1) /* 80207528 00204488 BE E1 00 0C */ stmw r23, 0xc(r1) /* 8020752C 0020448C 7C 7F 1B 78 */ mr r31, r3 /* 80207530 00204490 7C 99 23 78 */ mr r25, r4 /* 80207534 00204494 7C F7 3B 78 */ mr r23, r7 /* 80207538 00204498 7D 18 43 78 */ mr r24, r8 /* 8020753C 0020449C 4B E6 B3 15 */ bl __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable /* 80207540 002044A0 3C 60 80 3E */ lis r3, lbl_803E6EB0@ha /* 80207544 002044A4 3C 80 80 3D */ lis r4, lbl_803D2718@ha /* 80207548 002044A8 38 03 6E B0 */ addi r0, r3, lbl_803E6EB0@l /* 8020754C 002044AC 38 A0 00 00 */ li r5, 0 /* 80207550 002044B0 90 1F 00 00 */ stw r0, 0(r31) /* 80207554 002044B4 38 60 02 74 */ li r3, 0x274 /* 80207558 002044B8 38 84 27 18 */ addi r4, r4, lbl_803D2718@l /* 8020755C 002044BC 48 10 E3 11 */ bl __nw__FUlPCcPCc /* 80207560 002044C0 7C 7C 1B 79 */ or. r28, r3, r3 /* 80207564 002044C4 41 82 00 64 */ beq lbl_802075C8 /* 80207568 002044C8 80 79 08 B8 */ lwz r3, 0x8b8(r25) /* 8020756C 002044CC 38 80 00 0C */ li r4, 0xc /* 80207570 002044D0 83 23 00 00 */ lwz r25, 0(r3) /* 80207574 002044D4 83 79 00 08 */ lwz r27, 8(r25) /* 80207578 002044D8 7F 23 CB 78 */ mr r3, r25 /* 8020757C 002044DC 83 59 00 20 */ lwz r26, 0x20(r25) /* 80207580 002044E0 4B E8 A5 41 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80207584 002044E4 7C 7D 1B 78 */ mr r29, r3 /* 80207588 002044E8 7F 23 CB 78 */ mr r3, r25 /* 8020758C 002044EC 38 80 00 13 */ li r4, 0x13 /* 80207590 002044F0 4B E8 A5 31 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80207594 002044F4 7C 7E 1B 78 */ mr r30, r3 /* 80207598 002044F8 7F 23 CB 78 */ mr r3, r25 /* 8020759C 002044FC 4B E8 9F 29 */ bl GetIsFusionEnabled__12CPlayerStateFv /* 802075A0 00204500 54 60 15 BA */ rlwinm r0, r3, 2, 0x16, 0x1d /* 802075A4 00204504 7F 83 E3 78 */ mr r3, r28 /* 802075A8 00204508 7E E4 BB 78 */ mr r4, r23 /* 802075AC 0020450C 7F 05 C3 78 */ mr r5, r24 /* 802075B0 00204510 7F 67 DB 78 */ mr r7, r27 /* 802075B4 00204514 7F C8 F3 78 */ mr r8, r30 /* 802075B8 00204518 7F A9 EB 78 */ mr r9, r29 /* 802075BC 0020451C 7C DA 02 14 */ add r6, r26, r0 /* 802075C0 00204520 4B ED 69 59 */ bl __ct__10CSamusDollFRC16CDependencyGroupRC16CDependencyGroupQ212CPlayerState11EPlayerSuitQ212CPlayerState7EBeamIdbb /* 802075C4 00204524 7C 7C 1B 78 */ mr r28, r3 lbl_802075C8: /* 802075C8 00204528 93 9F 01 9C */ stw r28, 0x19c(r31) /* 802075CC 0020452C 38 00 00 00 */ li r0, 0 /* 802075D0 00204530 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2) /* 802075D4 00204534 7F E3 FB 78 */ mr r3, r31 /* 802075D8 00204538 D0 1F 01 A0 */ stfs f0, 0x1a0(r31) /* 802075DC 0020453C D0 1F 01 A4 */ stfs f0, 0x1a4(r31) /* 802075E0 00204540 90 1F 01 A8 */ stw r0, 0x1a8(r31) /* 802075E4 00204544 98 1F 01 AC */ stb r0, 0x1ac(r31) /* 802075E8 00204548 BA E1 00 0C */ lmw r23, 0xc(r1) /* 802075EC 0020454C 80 01 00 34 */ lwz r0, 0x34(r1) /* 802075F0 00204550 7C 08 03 A6 */ mtlr r0 /* 802075F4 00204554 38 21 00 30 */ addi r1, r1, 0x30 /* 802075F8 00204558 4E 80 00 20 */ blr .global sub_802075fc sub_802075fc: /* 802075FC 0020455C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80207600 00204560 7C 08 02 A6 */ mflr r0 /* 80207604 00204564 90 01 00 14 */ stw r0, 0x14(r1) /* 80207608 00204568 80 04 0F 34 */ lwz r0, 0xf34(r4) /* 8020760C 0020456C 2C 00 00 00 */ cmpwi r0, 0 /* 80207610 00204570 40 82 00 14 */ bne lbl_80207624 /* 80207614 00204574 38 60 00 00 */ li r3, 0 /* 80207618 00204578 38 80 00 00 */ li r4, 0 /* 8020761C 0020457C 38 A0 00 00 */ li r5, 0 /* 80207620 00204580 48 17 42 11 */ bl GXSetTevSwapMode lbl_80207624: /* 80207624 00204584 80 01 00 14 */ lwz r0, 0x14(r1) /* 80207628 00204588 7C 08 03 A6 */ mtlr r0 /* 8020762C 0020458C 38 21 00 10 */ addi r1, r1, 0x10 /* 80207630 00204590 4E 80 00 20 */ blr .global sub_80207634 sub_80207634: /* 80207634 00204594 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80207638 00204598 7C 08 02 A6 */ mflr r0 /* 8020763C 0020459C 90 01 00 14 */ stw r0, 0x14(r1) /* 80207640 002045A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80207644 002045A4 7C 7F 1B 78 */ mr r31, r3 /* 80207648 002045A8 80 04 0F 34 */ lwz r0, 0xf34(r4) /* 8020764C 002045AC 2C 00 00 00 */ cmpwi r0, 0 /* 80207650 002045B0 40 82 01 5C */ bne lbl_802077AC /* 80207654 002045B4 38 60 00 01 */ li r3, 1 /* 80207658 002045B8 38 80 00 01 */ li r4, 1 /* 8020765C 002045BC 38 A0 00 01 */ li r5, 1 /* 80207660 002045C0 38 C0 00 00 */ li r6, 0 /* 80207664 002045C4 48 10 12 6D */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 80207668 002045C8 38 60 00 00 */ li r3, 0 /* 8020766C 002045CC 48 10 05 E5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80207670 002045D0 38 60 00 00 */ li r3, 0 /* 80207674 002045D4 38 80 00 00 */ li r4, 0 /* 80207678 002045D8 38 A0 00 00 */ li r5, 0 /* 8020767C 002045DC 38 C0 00 FF */ li r6, 0xff /* 80207680 002045E0 48 10 12 CD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80207684 002045E4 38 60 00 07 */ li r3, 7 /* 80207688 002045E8 38 80 00 00 */ li r4, 0 /* 8020768C 002045EC 38 A0 00 01 */ li r5, 1 /* 80207690 002045F0 38 C0 00 07 */ li r6, 7 /* 80207694 002045F4 38 E0 00 00 */ li r7, 0 /* 80207698 002045F8 48 10 11 7D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc /* 8020769C 002045FC 38 60 00 00 */ li r3, 0 /* 802076A0 00204600 38 80 00 00 */ li r4, 0 /* 802076A4 00204604 38 A0 00 01 */ li r5, 1 /* 802076A8 00204608 48 17 41 89 */ bl GXSetTevSwapMode /* 802076AC 0020460C 38 60 00 00 */ li r3, 0 /* 802076B0 00204610 38 80 00 1C */ li r4, 0x1c /* 802076B4 00204614 48 10 13 2D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 802076B8 00204618 38 60 00 00 */ li r3, 0 /* 802076BC 0020461C 38 80 00 1C */ li r4, 0x1c /* 802076C0 00204620 48 10 12 DD */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 802076C4 00204624 38 60 00 00 */ li r3, 0 /* 802076C8 00204628 38 80 00 0F */ li r4, 0xf /* 802076CC 0020462C 38 A0 00 08 */ li r5, 8 /* 802076D0 00204630 38 C0 00 0E */ li r6, 0xe /* 802076D4 00204634 38 E0 00 0F */ li r7, 0xf /* 802076D8 00204638 48 10 15 15 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 802076DC 0020463C 38 60 00 00 */ li r3, 0 /* 802076E0 00204640 38 80 00 07 */ li r4, 7 /* 802076E4 00204644 38 A0 00 04 */ li r5, 4 /* 802076E8 00204648 38 C0 00 06 */ li r6, 6 /* 802076EC 0020464C 38 E0 00 07 */ li r7, 7 /* 802076F0 00204650 48 10 14 A5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 802076F4 00204654 38 60 00 01 */ li r3, 1 /* 802076F8 00204658 48 10 17 1D */ bl SetNumTexGens__3CGXFUc /* 802076FC 0020465C 38 60 00 00 */ li r3, 0 /* 80207700 00204660 48 10 17 51 */ bl SetNumChans__3CGXFUc /* 80207704 00204664 38 60 00 00 */ li r3, 0 /* 80207708 00204668 38 80 00 01 */ li r4, 1 /* 8020770C 0020466C 38 A0 00 04 */ li r5, 4 /* 80207710 00204670 38 C0 00 3C */ li r6, 0x3c /* 80207714 00204674 38 E0 00 00 */ li r7, 0 /* 80207718 00204678 39 00 00 7D */ li r8, 0x7d /* 8020771C 0020467C 48 10 0F B1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80207720 00204680 80 1F 00 00 */ lwz r0, 0(r31) /* 80207724 00204684 2C 00 00 01 */ cmpwi r0, 1 /* 80207728 00204688 41 82 00 20 */ beq lbl_80207748 /* 8020772C 0020468C 40 80 00 70 */ bge lbl_8020779C /* 80207730 00204690 2C 00 00 00 */ cmpwi r0, 0 /* 80207734 00204694 40 80 00 08 */ bge lbl_8020773C /* 80207738 00204698 48 00 00 64 */ b lbl_8020779C lbl_8020773C: /* 8020773C 0020469C 38 60 00 01 */ li r3, 1 /* 80207740 002046A0 48 10 15 51 */ bl SetNumTevStages__3CGXFUc /* 80207744 002046A4 48 00 00 58 */ b lbl_8020779C lbl_80207748: /* 80207748 002046A8 38 60 00 01 */ li r3, 1 /* 8020774C 002046AC 48 10 05 05 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80207750 002046B0 38 60 00 01 */ li r3, 1 /* 80207754 002046B4 38 80 00 00 */ li r4, 0 /* 80207758 002046B8 38 A0 00 00 */ li r5, 0 /* 8020775C 002046BC 38 C0 00 FF */ li r6, 0xff /* 80207760 002046C0 48 10 11 ED */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80207764 002046C4 38 60 00 01 */ li r3, 1 /* 80207768 002046C8 38 80 00 0F */ li r4, 0xf /* 8020776C 002046CC 38 A0 00 09 */ li r5, 9 /* 80207770 002046D0 38 C0 00 00 */ li r6, 0 /* 80207774 002046D4 38 E0 00 0F */ li r7, 0xf /* 80207778 002046D8 48 10 14 75 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 8020777C 002046DC 38 60 00 01 */ li r3, 1 /* 80207780 002046E0 38 80 00 07 */ li r4, 7 /* 80207784 002046E4 38 A0 00 04 */ li r5, 4 /* 80207788 002046E8 38 C0 00 00 */ li r6, 0 /* 8020778C 002046EC 38 E0 00 07 */ li r7, 7 /* 80207790 002046F0 48 10 14 05 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80207794 002046F4 38 60 00 02 */ li r3, 2 /* 80207798 002046F8 48 10 14 F9 */ bl SetNumTevStages__3CGXFUc lbl_8020779C: /* 8020779C 002046FC 3C 60 80 3D */ lis r3, lbl_803D2720@ha /* 802077A0 00204700 38 63 27 20 */ addi r3, r3, lbl_803D2720@l /* 802077A4 00204704 48 10 06 85 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 802077A8 00204708 48 00 00 68 */ b lbl_80207810 lbl_802077AC: /* 802077AC 0020470C 80 1F 00 00 */ lwz r0, 0(r31) /* 802077B0 00204710 2C 00 00 01 */ cmpwi r0, 1 /* 802077B4 00204714 41 82 00 2C */ beq lbl_802077E0 /* 802077B8 00204718 40 80 00 3C */ bge lbl_802077F4 /* 802077BC 0020471C 2C 00 00 00 */ cmpwi r0, 0 /* 802077C0 00204720 40 80 00 08 */ bge lbl_802077C8 /* 802077C4 00204724 48 00 00 30 */ b lbl_802077F4 lbl_802077C8: /* 802077C8 00204728 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802077CC 0020472C 81 83 00 00 */ lwz r12, 0(r3) /* 802077D0 00204730 81 8C 00 64 */ lwz r12, 0x64(r12) /* 802077D4 00204734 7D 89 03 A6 */ mtctr r12 /* 802077D8 00204738 4E 80 04 21 */ bctrl /* 802077DC 0020473C 48 00 00 18 */ b lbl_802077F4 lbl_802077E0: /* 802077E0 00204740 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802077E4 00204744 81 83 00 00 */ lwz r12, 0(r3) /* 802077E8 00204748 81 8C 00 68 */ lwz r12, 0x68(r12) /* 802077EC 0020474C 7D 89 03 A6 */ mtctr r12 /* 802077F0 00204750 4E 80 04 21 */ bctrl lbl_802077F4: /* 802077F4 00204754 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha /* 802077F8 00204758 38 60 00 00 */ li r3, 0 /* 802077FC 0020475C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l /* 80207800 00204760 48 10 2A B9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass /* 80207804 00204764 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) /* 80207808 00204768 38 60 00 01 */ li r3, 1 /* 8020780C 0020476C 48 10 2A AD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass lbl_80207810: /* 80207810 00204770 80 01 00 14 */ lwz r0, 0x14(r1) /* 80207814 00204774 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80207818 00204778 7C 08 03 A6 */ mtlr r0 /* 8020781C 0020477C 38 21 00 10 */ addi r1, r1, 0x10 /* 80207820 00204780 4E 80 00 20 */ blr .global sub_80207824 sub_80207824: /* 80207824 00204784 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80207828 00204788 7C 08 02 A6 */ mflr r0 /* 8020782C 0020478C 90 01 00 64 */ stw r0, 0x64(r1) /* 80207830 00204790 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80207834 00204794 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80207838 00204798 DB C1 00 40 */ stfd f30, 0x40(r1) /* 8020783C 0020479C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 80207840 002047A0 DB A1 00 30 */ stfd f29, 0x30(r1) /* 80207844 002047A4 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 80207848 002047A8 DB 81 00 20 */ stfd f28, 0x20(r1) /* 8020784C 002047AC F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 /* 80207850 002047B0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80207854 002047B4 93 C1 00 18 */ stw r30, 0x18(r1) /* 80207858 002047B8 FF 80 08 90 */ fmr f28, f1 /* 8020785C 002047BC 7C 7E 1B 78 */ mr r30, r3 /* 80207860 002047C0 FF A0 10 90 */ fmr f29, f2 /* 80207864 002047C4 7C 9F 23 78 */ mr r31, r4 /* 80207868 002047C8 38 60 00 98 */ li r3, 0x98 /* 8020786C 002047CC 48 10 3D FD */ bl StreamBegin__9CGraphicsF13ERglPrimitive /* 80207870 002047D0 88 7F 00 03 */ lbz r3, 3(r31) /* 80207874 002047D4 3C 00 43 30 */ lis r0, 0x4330 /* 80207878 002047D8 90 01 00 10 */ stw r0, 0x10(r1) /* 8020787C 002047DC C8 22 B0 F0 */ lfd f1, lbl_805ACE10@sda21(r2) /* 80207880 002047E0 90 61 00 14 */ stw r3, 0x14(r1) /* 80207884 002047E4 C0 5E 00 24 */ lfs f2, 0x24(r30) /* 80207888 002047E8 C8 01 00 10 */ lfd f0, 0x10(r1) /* 8020788C 002047EC EC 00 08 28 */ fsubs f0, f0, f1 /* 80207890 002047F0 EF E2 00 32 */ fmuls f31, f2, f0 /* 80207894 002047F4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 80207898 002047F8 38 61 00 0C */ addi r3, r1, 0xc /* 8020789C 002047FC 80 9F 00 00 */ lwz r4, 0(r31) /* 802078A0 00204800 88 01 00 08 */ lbz r0, 8(r1) /* 802078A4 00204804 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 /* 802078A8 00204808 90 01 00 0C */ stw r0, 0xc(r1) /* 802078AC 0020480C 48 10 3C 9D */ bl StreamColor__9CGraphicsFRC6CColor /* 802078B0 00204810 C0 22 B0 E8 */ lfs f1, lbl_805ACE08@sda21(r2) /* 802078B4 00204814 C0 42 B0 EC */ lfs f2, lbl_805ACE0C@sda21(r2) /* 802078B8 00204818 48 10 3B AD */ bl StreamTexcoord__9CGraphicsFff /* 802078BC 0020481C EC 3C E8 28 */ fsubs f1, f28, f29 /* 802078C0 00204820 C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2) /* 802078C4 00204824 EC 7D E0 2A */ fadds f3, f29, f28 /* 802078C8 00204828 48 10 3D 71 */ bl StreamVertex__9CGraphicsFfff /* 802078CC 0020482C C0 22 B0 EC */ lfs f1, lbl_805ACE0C@sda21(r2) /* 802078D0 00204830 FC 40 08 90 */ fmr f2, f1 /* 802078D4 00204834 48 10 3B 91 */ bl StreamTexcoord__9CGraphicsFff /* 802078D8 00204838 EF DC E8 2A */ fadds f30, f28, f29 /* 802078DC 0020483C C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2) /* 802078E0 00204840 EF FD E0 28 */ fsubs f31, f29, f28 /* 802078E4 00204844 FC 20 F0 90 */ fmr f1, f30 /* 802078E8 00204848 FC 60 F8 90 */ fmr f3, f31 /* 802078EC 0020484C 48 10 3D 4D */ bl StreamVertex__9CGraphicsFfff /* 802078F0 00204850 C0 22 B0 E8 */ lfs f1, lbl_805ACE08@sda21(r2) /* 802078F4 00204854 FC 40 08 90 */ fmr f2, f1 /* 802078F8 00204858 48 10 3B 6D */ bl StreamTexcoord__9CGraphicsFff /* 802078FC 0020485C FC 20 F0 50 */ fneg f1, f30 /* 80207900 00204860 C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2) /* 80207904 00204864 FC 60 F8 50 */ fneg f3, f31 /* 80207908 00204868 48 10 3D 31 */ bl StreamVertex__9CGraphicsFfff /* 8020790C 0020486C C0 22 B0 EC */ lfs f1, lbl_805ACE0C@sda21(r2) /* 80207910 00204870 C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2) /* 80207914 00204874 48 10 3B 51 */ bl StreamTexcoord__9CGraphicsFff /* 80207918 00204878 FC 20 E0 50 */ fneg f1, f28 /* 8020791C 0020487C C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2) /* 80207920 00204880 FC 00 E8 50 */ fneg f0, f29 /* 80207924 00204884 EC 21 E8 2A */ fadds f1, f1, f29 /* 80207928 00204888 EC 60 E0 28 */ fsubs f3, f0, f28 /* 8020792C 0020488C 48 10 3D 0D */ bl StreamVertex__9CGraphicsFfff /* 80207930 00204890 48 10 3A E1 */ bl StreamEnd__9CGraphicsFv /* 80207934 00204894 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80207938 00204898 CB E1 00 50 */ lfd f31, 0x50(r1) /* 8020793C 0020489C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 80207940 002048A0 CB C1 00 40 */ lfd f30, 0x40(r1) /* 80207944 002048A4 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 80207948 002048A8 CB A1 00 30 */ lfd f29, 0x30(r1) /* 8020794C 002048AC E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 /* 80207950 002048B0 CB 81 00 20 */ lfd f28, 0x20(r1) /* 80207954 002048B4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80207958 002048B8 80 01 00 64 */ lwz r0, 0x64(r1) /* 8020795C 002048BC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80207960 002048C0 7C 08 03 A6 */ mtlr r0 /* 80207964 002048C4 38 21 00 60 */ addi r1, r1, 0x60 /* 80207968 002048C8 4E 80 00 20 */ blr .global sub_8020796c sub_8020796c: /* 8020796C 002048CC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80207970 002048D0 7C 08 02 A6 */ mflr r0 /* 80207974 002048D4 90 01 00 34 */ stw r0, 0x34(r1) /* 80207978 002048D8 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8020797C 002048DC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80207980 002048E0 DB C1 00 10 */ stfd f30, 0x10(r1) /* 80207984 002048E4 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 /* 80207988 002048E8 80 04 00 00 */ lwz r0, 0(r4) /* 8020798C 002048EC FF E0 08 90 */ fmr f31, f1 /* 80207990 002048F0 FF C0 10 90 */ fmr f30, f2 /* 80207994 002048F4 38 81 00 0C */ addi r4, r1, 0xc /* 80207998 002048F8 90 01 00 0C */ stw r0, 0xc(r1) /* 8020799C 002048FC E0 44 A0 00 */ psq_l f2, 0(r4), 1, qr2 /* 802079A0 00204900 C0 02 B0 FC */ lfs f0, lbl_805ACE1C@sda21(r2) /* 802079A4 00204904 C0 23 00 24 */ lfs f1, 0x24(r3) /* 802079A8 00204908 EC 00 00 B2 */ fmuls f0, f0, f2 /* 802079AC 0020490C C0 42 B0 F8 */ lfs f2, lbl_805ACE18@sda21(r2) /* 802079B0 00204910 EC 01 00 32 */ fmuls f0, f1, f0 /* 802079B4 00204914 EC 62 00 32 */ fmuls f3, f2, f0 /* 802079B8 00204918 F0 61 A0 08 */ psq_st f3, 8(r1), 1, qr2 /* 802079BC 0020491C 38 60 00 00 */ li r3, 0 /* 802079C0 00204920 88 01 00 08 */ lbz r0, 8(r1) /* 802079C4 00204924 98 01 00 0F */ stb r0, 0xf(r1) /* 802079C8 00204928 48 10 12 7D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 802079CC 0020492C 38 60 00 98 */ li r3, 0x98 /* 802079D0 00204930 38 80 00 00 */ li r4, 0 /* 802079D4 00204934 38 A0 00 04 */ li r5, 4 /* 802079D8 00204938 48 10 0B AD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 802079DC 0020493C EC 1F F0 28 */ fsubs f0, f31, f30 /* 802079E0 00204940 3C 60 CC 01 */ lis r3, 0xCC008000@ha /* 802079E4 00204944 EC BE F8 2A */ fadds f5, f30, f31 /* 802079E8 00204948 C0 C2 B0 E8 */ lfs f6, lbl_805ACE08@sda21(r2) /* 802079EC 0020494C EC FE F8 28 */ fsubs f7, f30, f31 /* 802079F0 00204950 C0 82 B0 EC */ lfs f4, lbl_805ACE0C@sda21(r2) /* 802079F4 00204954 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 802079F8 00204958 FC 20 F8 50 */ fneg f1, f31 /* 802079FC 0020495C FC 00 F0 50 */ fneg f0, f30 /* 80207A00 00204960 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A04 00204964 FC 60 28 50 */ fneg f3, f5 /* 80207A08 00204968 FC 40 38 50 */ fneg f2, f7 /* 80207A0C 0020496C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 80207A10 00204970 EC 21 F0 2A */ fadds f1, f1, f30 /* 80207A14 00204974 EC 00 F8 28 */ fsubs f0, f0, f31 /* 80207A18 00204978 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A1C 0020497C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 80207A20 00204980 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) /* 80207A24 00204984 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A28 00204988 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) /* 80207A2C 0020498C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 80207A30 00204990 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 80207A34 00204994 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) /* 80207A38 00204998 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A3C 0020499C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) /* 80207A40 002049A0 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A44 002049A4 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A48 002049A8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) /* 80207A4C 002049AC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A50 002049B0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) /* 80207A54 002049B4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) /* 80207A58 002049B8 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) /* 80207A5C 002049BC 48 10 0B 25 */ bl End__3CGXFv /* 80207A60 002049C0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80207A64 002049C4 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80207A68 002049C8 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 /* 80207A6C 002049CC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80207A70 002049D0 CB C1 00 10 */ lfd f30, 0x10(r1) /* 80207A74 002049D4 7C 08 03 A6 */ mtlr r0 /* 80207A78 002049D8 38 21 00 30 */ addi r1, r1, 0x30 /* 80207A7C 002049DC 4E 80 00 20 */ blr .global Render__11CVisorFlareCFRC9CVector3fRC13CStateManager Render__11CVisorFlareCFRC9CVector3fRC13CStateManager: /* 80207A80 002049E0 94 21 FD F0 */ stwu r1, -0x210(r1) /* 80207A84 002049E4 7C 08 02 A6 */ mflr r0 /* 80207A88 002049E8 90 01 02 14 */ stw r0, 0x214(r1) /* 80207A8C 002049EC DB E1 02 00 */ stfd f31, 0x200(r1) /* 80207A90 002049F0 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 /* 80207A94 002049F4 DB C1 01 F0 */ stfd f30, 0x1f0(r1) /* 80207A98 002049F8 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 /* 80207A9C 002049FC DB A1 01 E0 */ stfd f29, 0x1e0(r1) /* 80207AA0 00204A00 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 /* 80207AA4 00204A04 DB 81 01 D0 */ stfd f28, 0x1d0(r1) /* 80207AA8 00204A08 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 /* 80207AAC 00204A0C DB 61 01 C0 */ stfd f27, 0x1c0(r1) /* 80207AB0 00204A10 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 /* 80207AB4 00204A14 DB 41 01 B0 */ stfd f26, 0x1b0(r1) /* 80207AB8 00204A18 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 /* 80207ABC 00204A1C DB 21 01 A0 */ stfd f25, 0x1a0(r1) /* 80207AC0 00204A20 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 /* 80207AC4 00204A24 DB 01 01 90 */ stfd f24, 0x190(r1) /* 80207AC8 00204A28 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 /* 80207ACC 00204A2C DA E1 01 80 */ stfd f23, 0x180(r1) /* 80207AD0 00204A30 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 /* 80207AD4 00204A34 BF 01 01 60 */ stmw r24, 0x160(r1) /* 80207AD8 00204A38 7C 7E 1B 78 */ mr r30, r3 /* 80207ADC 00204A3C C0 02 B1 00 */ lfs f0, lbl_805ACE20@sda21(r2) /* 80207AE0 00204A40 C0 43 00 28 */ lfs f2, 0x28(r3) /* 80207AE4 00204A44 7C 99 23 78 */ mr r25, r4 /* 80207AE8 00204A48 C0 23 00 18 */ lfs f1, 0x18(r3) /* 80207AEC 00204A4C 7C BF 2B 78 */ mr r31, r5 /* 80207AF0 00204A50 EC 22 08 28 */ fsubs f1, f2, f1 /* 80207AF4 00204A54 FC 20 0A 10 */ fabs f1, f1 /* 80207AF8 00204A58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80207AFC 00204A5C 41 80 04 00 */ blt lbl_80207EFC /* 80207B00 00204A60 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 80207B04 00204A64 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 80207B08 00204A68 2C 00 00 00 */ cmpwi r0, 0 /* 80207B0C 00204A6C 41 82 00 08 */ beq lbl_80207B14 /* 80207B10 00204A70 48 00 03 EC */ b lbl_80207EFC lbl_80207B14: /* 80207B14 00204A74 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 80207B18 00204A78 7F E4 FB 78 */ mr r4, r31 /* 80207B1C 00204A7C 80 63 00 00 */ lwz r3, 0(r3) /* 80207B20 00204A80 4B E8 9A 39 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 80207B24 00204A84 2C 03 00 03 */ cmpwi r3, 3 /* 80207B28 00204A88 41 82 00 24 */ beq lbl_80207B4C /* 80207B2C 00204A8C 40 80 03 D0 */ bge lbl_80207EFC /* 80207B30 00204A90 2C 03 00 00 */ cmpwi r3, 0 /* 80207B34 00204A94 41 82 00 08 */ beq lbl_80207B3C /* 80207B38 00204A98 48 00 03 C4 */ b lbl_80207EFC lbl_80207B3C: /* 80207B3C 00204A9C 80 1E 00 30 */ lwz r0, 0x30(r30) /* 80207B40 00204AA0 2C 00 00 00 */ cmpwi r0, 0 /* 80207B44 00204AA4 41 82 00 1C */ beq lbl_80207B60 /* 80207B48 00204AA8 48 00 03 B4 */ b lbl_80207EFC lbl_80207B4C: /* 80207B4C 00204AAC 80 1E 00 2C */ lwz r0, 0x2c(r30) /* 80207B50 00204AB0 2C 00 00 00 */ cmpwi r0, 0 /* 80207B54 00204AB4 41 82 00 0C */ beq lbl_80207B60 /* 80207B58 00204AB8 48 00 03 A4 */ b lbl_80207EFC /* 80207B5C 00204ABC 48 00 03 A0 */ b lbl_80207EFC lbl_80207B60: /* 80207B60 00204AC0 48 10 4E 1D */ bl DisableAllLights__9CGraphicsFv /* 80207B64 00204AC4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80207B68 00204AC8 38 80 00 00 */ li r4, 0 /* 80207B6C 00204ACC 38 A0 00 00 */ li r5, 0 /* 80207B70 00204AD0 81 83 00 00 */ lwz r12, 0(r3) /* 80207B74 00204AD4 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80207B78 00204AD8 7D 89 03 A6 */ mtctr r12 /* 80207B7C 00204ADC 4E 80 04 21 */ bctrl /* 80207B80 00204AE0 80 7F 08 70 */ lwz r3, 0x870(r31) /* 80207B84 00204AE4 7F E4 FB 78 */ mr r4, r31 /* 80207B88 00204AE8 4B E0 3F 91 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 80207B8C 00204AEC 7C 7D 1B 78 */ mr r29, r3 /* 80207B90 00204AF0 3C 60 80 5A */ lis r3, lbl_805A61D4@ha /* 80207B94 00204AF4 C0 BD 00 60 */ lfs f5, 0x60(r29) /* 80207B98 00204AF8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l /* 80207B9C 00204AFC C0 9D 00 50 */ lfs f4, 0x50(r29) /* 80207BA0 00204B00 38 61 01 30 */ addi r3, r1, 0x130 /* 80207BA4 00204B04 C0 7D 00 40 */ lfs f3, 0x40(r29) /* 80207BA8 00204B08 C0 59 00 00 */ lfs f2, 0(r25) /* 80207BAC 00204B0C C0 39 00 04 */ lfs f1, 4(r25) /* 80207BB0 00204B10 C0 19 00 08 */ lfs f0, 8(r25) /* 80207BB4 00204B14 D0 61 00 94 */ stfs f3, 0x94(r1) /* 80207BB8 00204B18 D0 81 00 98 */ stfs f4, 0x98(r1) /* 80207BBC 00204B1C D0 A1 00 9C */ stfs f5, 0x9c(r1) /* 80207BC0 00204B20 D0 41 00 88 */ stfs f2, 0x88(r1) /* 80207BC4 00204B24 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 80207BC8 00204B28 D0 01 00 90 */ stfs f0, 0x90(r1) /* 80207BCC 00204B2C 48 10 AF A9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80207BD0 00204B30 38 61 00 D0 */ addi r3, r1, 0xd0 /* 80207BD4 00204B34 38 81 01 30 */ addi r4, r1, 0x130 /* 80207BD8 00204B38 48 10 AB 09 */ bl GetInverse__12CTransform4fCFv /* 80207BDC 00204B3C 38 61 00 4C */ addi r3, r1, 0x4c /* 80207BE0 00204B40 38 81 00 D0 */ addi r4, r1, 0xd0 /* 80207BE4 00204B44 38 A1 00 88 */ addi r5, r1, 0x88 /* 80207BE8 00204B48 48 10 AF 01 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80207BEC 00204B4C C0 61 00 4C */ lfs f3, 0x4c(r1) /* 80207BF0 00204B50 38 61 00 40 */ addi r3, r1, 0x40 /* 80207BF4 00204B54 C0 21 00 54 */ lfs f1, 0x54(r1) /* 80207BF8 00204B58 38 81 01 30 */ addi r4, r1, 0x130 /* 80207BFC 00204B5C C0 41 00 50 */ lfs f2, 0x50(r1) /* 80207C00 00204B60 FC 00 18 50 */ fneg f0, f3 /* 80207C04 00204B64 D0 61 00 7C */ stfs f3, 0x7c(r1) /* 80207C08 00204B68 FC 60 08 50 */ fneg f3, f1 /* 80207C0C 00204B6C 38 A1 00 7C */ addi r5, r1, 0x7c /* 80207C10 00204B70 D0 41 00 80 */ stfs f2, 0x80(r1) /* 80207C14 00204B74 D0 21 00 84 */ stfs f1, 0x84(r1) /* 80207C18 00204B78 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80207C1C 00204B7C D0 41 00 80 */ stfs f2, 0x80(r1) /* 80207C20 00204B80 D0 61 00 84 */ stfs f3, 0x84(r1) /* 80207C24 00204B84 48 10 AE C5 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80207C28 00204B88 C0 1E 00 24 */ lfs f0, 0x24(r30) /* 80207C2C 00204B8C C0 42 B0 E8 */ lfs f2, lbl_805ACE08@sda21(r2) /* 80207C30 00204B90 C0 A1 00 88 */ lfs f5, 0x88(r1) /* 80207C34 00204B94 EC 00 10 28 */ fsubs f0, f0, f2 /* 80207C38 00204B98 C0 21 00 94 */ lfs f1, 0x94(r1) /* 80207C3C 00204B9C C0 81 00 8C */ lfs f4, 0x8c(r1) /* 80207C40 00204BA0 C0 61 00 98 */ lfs f3, 0x98(r1) /* 80207C44 00204BA4 EC A5 08 28 */ fsubs f5, f5, f1 /* 80207C48 00204BA8 FC 00 02 10 */ fabs f0, f0 /* 80207C4C 00204BAC C0 22 B1 00 */ lfs f1, lbl_805ACE20@sda21(r2) /* 80207C50 00204BB0 EC 64 18 28 */ fsubs f3, f4, f3 /* 80207C54 00204BB4 C3 A1 00 40 */ lfs f29, 0x40(r1) /* 80207C58 00204BB8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80207C5C 00204BBC C3 81 00 44 */ lfs f28, 0x44(r1) /* 80207C60 00204BC0 C3 61 00 48 */ lfs f27, 0x48(r1) /* 80207C64 00204BC4 C3 5D 00 48 */ lfs f26, 0x48(r29) /* 80207C68 00204BC8 C3 1D 00 38 */ lfs f24, 0x38(r29) /* 80207C6C 00204BCC 41 80 02 90 */ blt lbl_80207EFC /* 80207C70 00204BD0 C0 1E 00 20 */ lfs f0, 0x20(r30) /* 80207C74 00204BD4 FF 20 10 90 */ fmr f25, f2 /* 80207C78 00204BD8 EC 00 10 28 */ fsubs f0, f0, f2 /* 80207C7C 00204BDC FC 00 02 10 */ fabs f0, f0 /* 80207C80 00204BE0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80207C84 00204BE4 41 80 00 80 */ blt lbl_80207D04 /* 80207C88 00204BE8 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 80207C8C 00204BEC 38 61 00 34 */ addi r3, r1, 0x34 /* 80207C90 00204BF0 38 81 00 28 */ addi r4, r1, 0x28 /* 80207C94 00204BF4 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 80207C98 00204BF8 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80207C9C 00204BFC 48 10 CB B5 */ bl AsNormalized__9CVector3fCFv /* 80207CA0 00204C00 C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2) /* 80207CA4 00204C04 38 61 00 1C */ addi r3, r1, 0x1c /* 80207CA8 00204C08 D3 01 00 10 */ stfs f24, 0x10(r1) /* 80207CAC 00204C0C 38 81 00 10 */ addi r4, r1, 0x10 /* 80207CB0 00204C10 C3 01 00 34 */ lfs f24, 0x34(r1) /* 80207CB4 00204C14 D3 41 00 14 */ stfs f26, 0x14(r1) /* 80207CB8 00204C18 C3 21 00 38 */ lfs f25, 0x38(r1) /* 80207CBC 00204C1C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80207CC0 00204C20 C3 41 00 3C */ lfs f26, 0x3c(r1) /* 80207CC4 00204C24 48 10 CB 8D */ bl AsNormalized__9CVector3fCFv /* 80207CC8 00204C28 C3 C1 00 20 */ lfs f30, 0x20(r1) /* 80207CCC 00204C2C C3 E1 00 1C */ lfs f31, 0x1c(r1) /* 80207CD0 00204C30 EC 19 07 B2 */ fmuls f0, f25, f30 /* 80207CD4 00204C34 C0 21 00 24 */ lfs f1, 0x24(r1) /* 80207CD8 00204C38 EC 18 07 FA */ fmadds f0, f24, f31, f0 /* 80207CDC 00204C3C EC 3A 00 7A */ fmadds f1, f26, f1, f0 /* 80207CE0 00204C40 48 10 D6 B1 */ bl ArcCosineR__5CMathFf /* 80207CE4 00204C44 EC 5F 06 72 */ fmuls f2, f31, f25 /* 80207CE8 00204C48 C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2) /* 80207CEC 00204C4C EC 58 17 B8 */ fmsubs f2, f24, f30, f2 /* 80207CF0 00204C50 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80207CF4 00204C54 40 80 00 08 */ bge lbl_80207CFC /* 80207CF8 00204C58 FC 20 08 50 */ fneg f1, f1 lbl_80207CFC: /* 80207CFC 00204C5C C0 1E 00 20 */ lfs f0, 0x20(r30) /* 80207D00 00204C60 EF 20 00 72 */ fmuls f25, f0, f1 lbl_80207D04: /* 80207D04 00204C64 80 1F 0F 34 */ lwz r0, 0xf34(r31) /* 80207D08 00204C68 7F C3 F3 78 */ mr r3, r30 /* 80207D0C 00204C6C 7F E4 FB 78 */ mr r4, r31 /* 80207D10 00204C70 7C 00 00 34 */ cntlzw r0, r0 /* 80207D14 00204C74 54 1A D9 7E */ srwi r26, r0, 5 /* 80207D18 00204C78 4B FF F9 1D */ bl sub_80207634 /* 80207D1C 00204C7C C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2) /* 80207D20 00204C80 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80207D24 00204C84 C3 C2 B0 EC */ lfs f30, lbl_805ACE0C@sda21(r2) /* 80207D28 00204C88 3B A3 66 F4 */ addi r29, r3, lbl_805A66F4@l /* 80207D2C 00204C8C EF 59 00 28 */ fsubs f26, f25, f0 /* 80207D30 00204C90 C3 E2 B1 04 */ lfs f31, lbl_805ACE24@sda21(r2) /* 80207D34 00204C94 3B 20 00 00 */ li r25, 0 /* 80207D38 00204C98 3B 60 00 00 */ li r27, 0 /* 80207D3C 00204C9C 48 00 01 A8 */ b lbl_80207EE4 lbl_80207D40: /* 80207D40 00204CA0 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80207D44 00204CA4 7F A6 EB 78 */ mr r6, r29 /* 80207D48 00204CA8 C0 A1 00 8C */ lfs f5, 0x8c(r1) /* 80207D4C 00204CAC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80207D50 00204CB0 7F 80 DA 14 */ add r28, r0, r27 /* 80207D54 00204CB4 C0 61 00 90 */ lfs f3, 0x90(r1) /* 80207D58 00204CB8 C0 1C 00 08 */ lfs f0, 8(r28) /* 80207D5C 00204CBC 38 81 00 70 */ addi r4, r1, 0x70 /* 80207D60 00204CC0 C0 21 00 88 */ lfs f1, 0x88(r1) /* 80207D64 00204CC4 38 A1 00 94 */ addi r5, r1, 0x94 /* 80207D68 00204CC8 EC DE 00 28 */ fsubs f6, f30, f0 /* 80207D6C 00204CCC EC 9C 00 32 */ fmuls f4, f28, f0 /* 80207D70 00204CD0 EC 5B 00 32 */ fmuls f2, f27, f0 /* 80207D74 00204CD4 EC 1D 00 32 */ fmuls f0, f29, f0 /* 80207D78 00204CD8 EC 85 21 BA */ fmadds f4, f5, f6, f4 /* 80207D7C 00204CDC EC 43 11 BA */ fmadds f2, f3, f6, f2 /* 80207D80 00204CE0 EC 01 01 BA */ fmadds f0, f1, f6, f0 /* 80207D84 00204CE4 D0 81 00 74 */ stfs f4, 0x74(r1) /* 80207D88 00204CE8 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80207D8C 00204CEC D0 41 00 78 */ stfs f2, 0x78(r1) /* 80207D90 00204CF0 48 10 BD 81 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80207D94 00204CF4 38 61 01 00 */ addi r3, r1, 0x100 /* 80207D98 00204CF8 38 81 00 A0 */ addi r4, r1, 0xa0 /* 80207D9C 00204CFC 48 10 AD D9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80207DA0 00204D00 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80207DA4 00204D04 38 81 01 00 */ addi r4, r1, 0x100 /* 80207DA8 00204D08 81 83 00 00 */ lwz r12, 0(r3) /* 80207DAC 00204D0C 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80207DB0 00204D10 7D 89 03 A6 */ mtctr r12 /* 80207DB4 00204D14 4E 80 04 21 */ bctrl /* 80207DB8 00204D18 C0 1E 00 24 */ lfs f0, 0x24(r30) /* 80207DBC 00204D1C 88 1E 00 14 */ lbz r0, 0x14(r30) /* 80207DC0 00204D20 EC 3F 00 32 */ fmuls f1, f31, f0 /* 80207DC4 00204D24 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 80207DC8 00204D28 28 00 00 00 */ cmplwi r0, 0 /* 80207DCC 00204D2C EF 01 00 32 */ fmuls f24, f1, f0 /* 80207DD0 00204D30 41 82 00 50 */ beq lbl_80207E20 /* 80207DD4 00204D34 C0 21 00 74 */ lfs f1, 0x74(r1) /* 80207DD8 00204D38 38 61 00 64 */ addi r3, r1, 0x64 /* 80207DDC 00204D3C C0 01 00 98 */ lfs f0, 0x98(r1) /* 80207DE0 00204D40 C0 61 00 78 */ lfs f3, 0x78(r1) /* 80207DE4 00204D44 C0 41 00 9C */ lfs f2, 0x9c(r1) /* 80207DE8 00204D48 EC 81 00 28 */ fsubs f4, f1, f0 /* 80207DEC 00204D4C C0 21 00 70 */ lfs f1, 0x70(r1) /* 80207DF0 00204D50 C0 01 00 94 */ lfs f0, 0x94(r1) /* 80207DF4 00204D54 EC 43 10 28 */ fsubs f2, f3, f2 /* 80207DF8 00204D58 D0 81 00 68 */ stfs f4, 0x68(r1) /* 80207DFC 00204D5C EC 01 00 28 */ fsubs f0, f1, f0 /* 80207E00 00204D60 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 80207E04 00204D64 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80207E08 00204D68 48 10 C8 F1 */ bl CanBeNormalized__9CVector3fCFv /* 80207E0C 00204D6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80207E10 00204D70 41 82 00 10 */ beq lbl_80207E20 /* 80207E14 00204D74 38 61 00 64 */ addi r3, r1, 0x64 /* 80207E18 00204D78 48 10 CA A1 */ bl Magnitude__9CVector3fCFv /* 80207E1C 00204D7C EF 18 00 72 */ fmuls f24, f24, f1 lbl_80207E20: /* 80207E20 00204D80 80 7C 00 00 */ lwz r3, 0(r28) /* 80207E24 00204D84 80 03 00 10 */ lwz r0, 0x10(r3) /* 80207E28 00204D88 28 00 00 00 */ cmplwi r0, 0 /* 80207E2C 00204D8C 41 82 00 B0 */ beq lbl_80207EDC /* 80207E30 00204D90 3B 01 00 58 */ addi r24, r1, 0x58 /* 80207E34 00204D94 7F 84 E3 78 */ mr r4, r28 /* 80207E38 00204D98 7F 03 C3 78 */ mr r3, r24 /* 80207E3C 00204D9C 48 13 90 6D */ bl __ct__6CTokenFRC6CToken /* 80207E40 00204DA0 7F 03 C3 78 */ mr r3, r24 /* 80207E44 00204DA4 48 13 8F C9 */ bl GetObj__6CTokenFv /* 80207E48 00204DA8 80 63 00 04 */ lwz r3, 4(r3) /* 80207E4C 00204DAC 38 80 00 00 */ li r4, 0 /* 80207E50 00204DB0 38 A0 00 01 */ li r5, 1 /* 80207E54 00204DB4 90 61 00 60 */ stw r3, 0x60(r1) /* 80207E58 00204DB8 48 10 78 E5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80207E5C 00204DBC FC 20 D2 10 */ fabs f1, f26 /* 80207E60 00204DC0 C0 02 B1 00 */ lfs f0, lbl_805ACE20@sda21(r2) /* 80207E64 00204DC4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80207E68 00204DC8 40 80 00 10 */ bge lbl_80207E78 /* 80207E6C 00204DCC FC 40 C0 90 */ fmr f2, f24 /* 80207E70 00204DD0 C2 E2 B0 E8 */ lfs f23, lbl_805ACE08@sda21(r2) /* 80207E74 00204DD4 48 00 00 24 */ b lbl_80207E98 lbl_80207E78: /* 80207E78 00204DD8 FC 20 C8 90 */ fmr f1, f25 /* 80207E7C 00204DDC 48 18 CC 61 */ bl sin /* 80207E80 00204DE0 FC 00 08 18 */ frsp f0, f1 /* 80207E84 00204DE4 FC 20 C8 90 */ fmr f1, f25 /* 80207E88 00204DE8 EE F8 00 32 */ fmuls f23, f24, f0 /* 80207E8C 00204DEC 48 18 C5 65 */ bl cos /* 80207E90 00204DF0 FC 00 08 18 */ frsp f0, f1 /* 80207E94 00204DF4 EC 58 00 32 */ fmuls f2, f24, f0 lbl_80207E98: /* 80207E98 00204DF8 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 80207E9C 00204DFC 80 7C 00 10 */ lwz r3, 0x10(r28) /* 80207EA0 00204E00 41 82 00 1C */ beq lbl_80207EBC /* 80207EA4 00204E04 FC 20 B8 90 */ fmr f1, f23 /* 80207EA8 00204E08 90 61 00 0C */ stw r3, 0xc(r1) /* 80207EAC 00204E0C 7F C3 F3 78 */ mr r3, r30 /* 80207EB0 00204E10 38 81 00 0C */ addi r4, r1, 0xc /* 80207EB4 00204E14 4B FF FA B9 */ bl sub_8020796c /* 80207EB8 00204E18 48 00 00 18 */ b lbl_80207ED0 lbl_80207EBC: /* 80207EBC 00204E1C FC 20 B8 90 */ fmr f1, f23 /* 80207EC0 00204E20 90 61 00 08 */ stw r3, 8(r1) /* 80207EC4 00204E24 7F C3 F3 78 */ mr r3, r30 /* 80207EC8 00204E28 38 81 00 08 */ addi r4, r1, 8 /* 80207ECC 00204E2C 4B FF F9 59 */ bl sub_80207824 lbl_80207ED0: /* 80207ED0 00204E30 38 61 00 58 */ addi r3, r1, 0x58 /* 80207ED4 00204E34 38 80 00 00 */ li r4, 0 /* 80207ED8 00204E38 48 13 8F 69 */ bl __dt__6CTokenFv lbl_80207EDC: /* 80207EDC 00204E3C 3B 7B 00 14 */ addi r27, r27, 0x14 /* 80207EE0 00204E40 3B 39 00 01 */ addi r25, r25, 1 lbl_80207EE4: /* 80207EE4 00204E44 80 1E 00 08 */ lwz r0, 8(r30) /* 80207EE8 00204E48 7C 19 00 00 */ cmpw r25, r0 /* 80207EEC 00204E4C 41 80 FE 54 */ blt lbl_80207D40 /* 80207EF0 00204E50 7F C3 F3 78 */ mr r3, r30 /* 80207EF4 00204E54 7F E4 FB 78 */ mr r4, r31 /* 80207EF8 00204E58 4B FF F7 05 */ bl sub_802075fc lbl_80207EFC: /* 80207EFC 00204E5C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 /* 80207F00 00204E60 CB E1 02 00 */ lfd f31, 0x200(r1) /* 80207F04 00204E64 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 /* 80207F08 00204E68 CB C1 01 F0 */ lfd f30, 0x1f0(r1) /* 80207F0C 00204E6C E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 /* 80207F10 00204E70 CB A1 01 E0 */ lfd f29, 0x1e0(r1) /* 80207F14 00204E74 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 /* 80207F18 00204E78 CB 81 01 D0 */ lfd f28, 0x1d0(r1) /* 80207F1C 00204E7C E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 /* 80207F20 00204E80 CB 61 01 C0 */ lfd f27, 0x1c0(r1) /* 80207F24 00204E84 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 /* 80207F28 00204E88 CB 41 01 B0 */ lfd f26, 0x1b0(r1) /* 80207F2C 00204E8C E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 /* 80207F30 00204E90 CB 21 01 A0 */ lfd f25, 0x1a0(r1) /* 80207F34 00204E94 E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 /* 80207F38 00204E98 CB 01 01 90 */ lfd f24, 0x190(r1) /* 80207F3C 00204E9C E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 /* 80207F40 00204EA0 CA E1 01 80 */ lfd f23, 0x180(r1) /* 80207F44 00204EA4 BB 01 01 60 */ lmw r24, 0x160(r1) /* 80207F48 00204EA8 80 01 02 14 */ lwz r0, 0x214(r1) /* 80207F4C 00204EAC 7C 08 03 A6 */ mtlr r0 /* 80207F50 00204EB0 38 21 02 10 */ addi r1, r1, 0x210 /* 80207F54 00204EB4 4E 80 00 20 */ blr .global Update__11CVisorFlareFfRC9CVector3fPC6CActorR13CStateManager Update__11CVisorFlareFfRC9CVector3fPC6CActorR13CStateManager: /* 80207F58 00204EB8 94 21 F6 E0 */ stwu r1, -0x920(r1) /* 80207F5C 00204EBC 7C 08 02 A6 */ mflr r0 /* 80207F60 00204EC0 90 01 09 24 */ stw r0, 0x924(r1) /* 80207F64 00204EC4 DB E1 09 10 */ stfd f31, 0x910(r1) /* 80207F68 00204EC8 F3 E1 09 18 */ psq_st f31, -1768(r1), 0, qr0 /* 80207F6C 00204ECC DB C1 09 00 */ stfd f30, 0x900(r1) /* 80207F70 00204ED0 F3 C1 09 08 */ psq_st f30, -1784(r1), 0, qr0 /* 80207F74 00204ED4 DB A1 08 F0 */ stfd f29, 0x8f0(r1) /* 80207F78 00204ED8 F3 A1 08 F8 */ psq_st f29, -1800(r1), 0, qr0 /* 80207F7C 00204EDC BF 61 08 DC */ stmw r27, 0x8dc(r1) /* 80207F80 00204EE0 7C DF 33 78 */ mr r31, r6 /* 80207F84 00204EE4 FF E0 08 90 */ fmr f31, f1 /* 80207F88 00204EE8 80 C6 08 B8 */ lwz r6, 0x8b8(r6) /* 80207F8C 00204EEC 7C 7D 1B 78 */ mr r29, r3 /* 80207F90 00204EF0 7C 9E 23 78 */ mr r30, r4 /* 80207F94 00204EF4 7C BB 2B 78 */ mr r27, r5 /* 80207F98 00204EF8 80 66 00 00 */ lwz r3, 0(r6) /* 80207F9C 00204EFC 80 63 00 14 */ lwz r3, 0x14(r3) /* 80207FA0 00204F00 2C 03 00 00 */ cmpwi r3, 0 /* 80207FA4 00204F04 41 82 00 18 */ beq lbl_80207FBC /* 80207FA8 00204F08 80 1D 00 2C */ lwz r0, 0x2c(r29) /* 80207FAC 00204F0C 2C 00 00 01 */ cmpwi r0, 1 /* 80207FB0 00204F10 41 82 02 FC */ beq lbl_802082AC /* 80207FB4 00204F14 2C 03 00 03 */ cmpwi r3, 3 /* 80207FB8 00204F18 40 82 02 F4 */ bne lbl_802082AC lbl_80207FBC: /* 80207FBC 00204F1C 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 80207FC0 00204F20 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 80207FC4 00204F24 2C 00 00 00 */ cmpwi r0, 0 /* 80207FC8 00204F28 40 82 02 E4 */ bne lbl_802082AC /* 80207FCC 00204F2C 80 7F 08 70 */ lwz r3, 0x870(r31) /* 80207FD0 00204F30 7F E4 FB 78 */ mr r4, r31 /* 80207FD4 00204F34 4B E0 3B 45 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 80207FD8 00204F38 C0 A3 00 60 */ lfs f5, 0x60(r3) /* 80207FDC 00204F3C C0 1E 00 08 */ lfs f0, 8(r30) /* 80207FE0 00204F40 C0 83 00 50 */ lfs f4, 0x50(r3) /* 80207FE4 00204F44 C0 43 00 40 */ lfs f2, 0x40(r3) /* 80207FE8 00204F48 EC 60 28 28 */ fsubs f3, f0, f5 /* 80207FEC 00204F4C C0 3E 00 04 */ lfs f1, 4(r30) /* 80207FF0 00204F50 38 61 00 28 */ addi r3, r1, 0x28 /* 80207FF4 00204F54 C0 1E 00 00 */ lfs f0, 0(r30) /* 80207FF8 00204F58 EC 21 20 28 */ fsubs f1, f1, f4 /* 80207FFC 00204F5C D0 41 00 34 */ stfs f2, 0x34(r1) /* 80208000 00204F60 EC 00 10 28 */ fsubs f0, f0, f2 /* 80208004 00204F64 D0 81 00 38 */ stfs f4, 0x38(r1) /* 80208008 00204F68 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 8020800C 00204F6C D0 01 00 28 */ stfs f0, 0x28(r1) /* 80208010 00204F70 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80208014 00204F74 D0 61 00 30 */ stfs f3, 0x30(r1) /* 80208018 00204F78 48 10 C8 A1 */ bl Magnitude__9CVector3fCFv /* 8020801C 00204F7C FF A0 08 90 */ fmr f29, f1 /* 80208020 00204F80 C0 42 B0 EC */ lfs f2, lbl_805ACE0C@sda21(r2) /* 80208024 00204F84 C0 61 00 28 */ lfs f3, 0x28(r1) /* 80208028 00204F88 38 60 00 00 */ li r3, 0 /* 8020802C 00204F8C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 80208030 00204F90 38 80 00 01 */ li r4, 1 /* 80208034 00204F94 EC 82 E8 24 */ fdivs f4, f2, f29 /* 80208038 00204F98 C0 01 00 30 */ lfs f0, 0x30(r1) /* 8020803C 00204F9C 80 AD 93 94 */ lwz r5, lbl_805A7F54@sda21(r13) /* 80208040 00204FA0 EC 43 01 32 */ fmuls f2, f3, f4 /* 80208044 00204FA4 EC 21 01 32 */ fmuls f1, f1, f4 /* 80208048 00204FA8 EC 00 01 32 */ fmuls f0, f0, f4 /* 8020804C 00204FAC D0 41 00 28 */ stfs f2, 0x28(r1) /* 80208050 00204FB0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80208054 00204FB4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80208058 00204FB8 48 18 1E 9D */ bl __shl2i /* 8020805C 00204FBC 38 00 00 00 */ li r0, 0 /* 80208060 00204FC0 39 20 00 01 */ li r9, 1 /* 80208064 00204FC4 90 81 00 8C */ stw r4, 0x8c(r1) /* 80208068 00204FC8 FC 20 E8 90 */ fmr f1, f29 /* 8020806C 00204FCC 7F 68 DB 78 */ mr r8, r27 /* 80208070 00204FD0 38 81 00 D0 */ addi r4, r1, 0xd0 /* 80208074 00204FD4 90 61 00 88 */ stw r3, 0x88(r1) /* 80208078 00204FD8 7F E3 FB 78 */ mr r3, r31 /* 8020807C 00204FDC 38 A1 00 34 */ addi r5, r1, 0x34 /* 80208080 00204FE0 91 21 00 68 */ stw r9, 0x68(r1) /* 80208084 00204FE4 38 C1 00 28 */ addi r6, r1, 0x28 /* 80208088 00204FE8 38 E1 00 88 */ addi r7, r1, 0x88 /* 8020808C 00204FEC 90 01 00 94 */ stw r0, 0x94(r1) /* 80208090 00204FF0 90 01 00 90 */ stw r0, 0x90(r1) /* 80208094 00204FF4 91 21 00 98 */ stw r9, 0x98(r1) /* 80208098 00204FF8 90 01 00 D0 */ stw r0, 0xd0(r1) /* 8020809C 00204FFC 4B E4 46 3D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" /* 802080A0 00205000 80 AD 93 9C */ lwz r5, lbl_805A7F5C@sda21(r13) /* 802080A4 00205004 38 60 00 00 */ li r3, 0 /* 802080A8 00205008 38 80 00 01 */ li r4, 1 /* 802080AC 0020500C 48 18 1E 49 */ bl __shl2i /* 802080B0 00205010 80 AD 93 98 */ lwz r5, lbl_805A7F58@sda21(r13) /* 802080B4 00205014 7C 9B 23 78 */ mr r27, r4 /* 802080B8 00205018 7C 7C 1B 78 */ mr r28, r3 /* 802080BC 0020501C 38 60 00 00 */ li r3, 0 /* 802080C0 00205020 38 80 00 01 */ li r4, 1 /* 802080C4 00205024 48 18 1E 31 */ bl __shl2i /* 802080C8 00205028 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 802080CC 0020502C 39 40 00 03 */ li r10, 3 /* 802080D0 00205030 FC 20 E8 90 */ fmr f1, f29 /* 802080D4 00205034 90 81 00 74 */ stw r4, 0x74(r1) /* 802080D8 00205038 7F E4 FB 78 */ mr r4, r31 /* 802080DC 0020503C 38 A1 00 08 */ addi r5, r1, 8 /* 802080E0 00205040 90 61 00 70 */ stw r3, 0x70(r1) /* 802080E4 00205044 38 61 00 A0 */ addi r3, r1, 0xa0 /* 802080E8 00205048 91 41 00 50 */ stw r10, 0x50(r1) /* 802080EC 0020504C 38 C1 00 34 */ addi r6, r1, 0x34 /* 802080F0 00205050 38 E1 00 28 */ addi r7, r1, 0x28 /* 802080F4 00205054 39 01 00 70 */ addi r8, r1, 0x70 /* 802080F8 00205058 93 61 00 7C */ stw r27, 0x7c(r1) /* 802080FC 0020505C 39 21 00 D0 */ addi r9, r1, 0xd0 /* 80208100 00205060 93 81 00 78 */ stw r28, 0x78(r1) /* 80208104 00205064 91 41 00 80 */ stw r10, 0x80(r1) /* 80208108 00205068 B0 01 00 08 */ sth r0, 8(r1) /* 8020810C 0020506C 4B E4 4E B9 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" /* 80208110 00205070 80 C1 00 D0 */ lwz r6, 0xd0(r1) /* 80208114 00205074 38 60 00 00 */ li r3, 0 /* 80208118 00205078 88 81 00 C0 */ lbz r4, 0xc0(r1) /* 8020811C 0020507C 2C 06 00 00 */ cmpwi r6, 0 /* 80208120 00205080 40 81 00 40 */ ble lbl_80208160 /* 80208124 00205084 2C 06 00 08 */ cmpwi r6, 8 /* 80208128 00205088 38 A6 FF F8 */ addi r5, r6, -8 /* 8020812C 0020508C 40 81 00 20 */ ble lbl_8020814C /* 80208130 00205090 38 05 00 07 */ addi r0, r5, 7 /* 80208134 00205094 54 00 E8 FE */ srwi r0, r0, 3 /* 80208138 00205098 7C 09 03 A6 */ mtctr r0 /* 8020813C 0020509C 2C 05 00 00 */ cmpwi r5, 0 /* 80208140 002050A0 40 81 00 0C */ ble lbl_8020814C lbl_80208144: /* 80208144 002050A4 38 63 00 08 */ addi r3, r3, 8 /* 80208148 002050A8 42 00 FF FC */ bdnz lbl_80208144 lbl_8020814C: /* 8020814C 002050AC 7C 03 30 50 */ subf r0, r3, r6 /* 80208150 002050B0 7C 09 03 A6 */ mtctr r0 /* 80208154 002050B4 7C 03 30 00 */ cmpw r3, r6 /* 80208158 002050B8 40 80 00 08 */ bge lbl_80208160 lbl_8020815C: /* 8020815C 002050BC 42 00 00 00 */ bdnz lbl_8020815C lbl_80208160: /* 80208160 002050C0 38 00 00 00 */ li r0, 0 /* 80208164 002050C4 28 04 00 00 */ cmplwi r4, 0 /* 80208168 002050C8 90 01 00 D0 */ stw r0, 0xd0(r1) /* 8020816C 002050CC 41 82 00 14 */ beq lbl_80208180 /* 80208170 002050D0 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 80208174 002050D4 EC 00 F8 2A */ fadds f0, f0, f31 /* 80208178 002050D8 D0 1D 00 28 */ stfs f0, 0x28(r29) /* 8020817C 002050DC 48 00 00 10 */ b lbl_8020818C lbl_80208180: /* 80208180 002050E0 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 80208184 002050E4 EC 00 F8 28 */ fsubs f0, f0, f31 /* 80208188 002050E8 D0 1D 00 28 */ stfs f0, 0x28(r29) lbl_8020818C: /* 8020818C 002050EC C0 2D 93 A0 */ lfs f1, lbl_805A7F60@sda21(r13) /* 80208190 002050F0 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 80208194 002050F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80208198 002050F8 40 80 00 0C */ bge lbl_802081A4 /* 8020819C 002050FC 38 7D 00 28 */ addi r3, r29, 0x28 /* 802081A0 00205100 48 00 00 08 */ b lbl_802081A8 lbl_802081A4: /* 802081A4 00205104 38 6D 93 A0 */ addi r3, r13, lbl_805A7F60@sda21 lbl_802081A8: /* 802081A8 00205108 C0 23 00 00 */ lfs f1, 0(r3) /* 802081AC 0020510C C0 1D 00 18 */ lfs f0, 0x18(r29) /* 802081B0 00205110 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802081B4 00205114 40 80 00 08 */ bge lbl_802081BC /* 802081B8 00205118 48 00 00 08 */ b lbl_802081C0 lbl_802081BC: /* 802081BC 0020511C 38 7D 00 18 */ addi r3, r29, 0x18 lbl_802081C0: /* 802081C0 00205120 C0 03 00 00 */ lfs f0, 0(r3) /* 802081C4 00205124 7F E4 FB 78 */ mr r4, r31 /* 802081C8 00205128 D0 1D 00 28 */ stfs f0, 0x28(r29) /* 802081CC 0020512C 80 7F 08 70 */ lwz r3, 0x870(r31) /* 802081D0 00205130 4B E0 39 49 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 802081D4 00205134 C0 3E 00 04 */ lfs f1, 4(r30) /* 802081D8 00205138 38 81 00 1C */ addi r4, r1, 0x1c /* 802081DC 0020513C C0 03 00 50 */ lfs f0, 0x50(r3) /* 802081E0 00205140 C0 7E 00 08 */ lfs f3, 8(r30) /* 802081E4 00205144 C0 43 00 60 */ lfs f2, 0x60(r3) /* 802081E8 00205148 EC 81 00 28 */ fsubs f4, f1, f0 /* 802081EC 0020514C C0 3E 00 00 */ lfs f1, 0(r30) /* 802081F0 00205150 C0 03 00 40 */ lfs f0, 0x40(r3) /* 802081F4 00205154 EC 63 10 28 */ fsubs f3, f3, f2 /* 802081F8 00205158 C3 E3 00 58 */ lfs f31, 0x58(r3) /* 802081FC 0020515C EC 01 00 28 */ fsubs f0, f1, f0 /* 80208200 00205160 C3 A3 00 48 */ lfs f29, 0x48(r3) /* 80208204 00205164 C3 C3 00 38 */ lfs f30, 0x38(r3) /* 80208208 00205168 38 61 00 10 */ addi r3, r1, 0x10 /* 8020820C 0020516C C0 42 B0 EC */ lfs f2, lbl_805ACE0C@sda21(r2) /* 80208210 00205170 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80208214 00205174 D0 81 00 20 */ stfs f4, 0x20(r1) /* 80208218 00205178 D0 61 00 24 */ stfs f3, 0x24(r1) /* 8020821C 0020517C C0 3D 00 28 */ lfs f1, 0x28(r29) /* 80208220 00205180 C0 1D 00 18 */ lfs f0, 0x18(r29) /* 80208224 00205184 EC 01 00 24 */ fdivs f0, f1, f0 /* 80208228 00205188 EC 02 00 28 */ fsubs f0, f2, f0 /* 8020822C 0020518C D0 1D 00 24 */ stfs f0, 0x24(r29) /* 80208230 00205190 48 10 C6 21 */ bl AsNormalized__9CVector3fCFv /* 80208234 00205194 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80208238 00205198 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8020823C 0020519C EC 00 07 72 */ fmuls f0, f0, f29 /* 80208240 002051A0 C0 41 00 18 */ lfs f2, 0x18(r1) /* 80208244 002051A4 C0 A2 B1 08 */ lfs f5, lbl_805ACE28@sda21(r2) /* 80208248 002051A8 C0 9D 00 1C */ lfs f4, 0x1c(r29) /* 8020824C 002051AC EC 21 07 BA */ fmadds f1, f1, f30, f0 /* 80208250 002051B0 C0 62 B0 EC */ lfs f3, lbl_805ACE0C@sda21(r2) /* 80208254 002051B4 EC 85 01 32 */ fmuls f4, f5, f4 /* 80208258 002051B8 C0 0D 93 A4 */ lfs f0, lbl_805A7F64@sda21(r13) /* 8020825C 002051BC EC 22 0F FA */ fmadds f1, f2, f31, f1 /* 80208260 002051C0 EC 23 08 28 */ fsubs f1, f3, f1 /* 80208264 002051C4 EC 24 18 7C */ fnmsubs f1, f4, f1, f3 /* 80208268 002051C8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8020826C 002051CC D0 21 00 0C */ stfs f1, 0xc(r1) /* 80208270 002051D0 40 80 00 0C */ bge lbl_8020827C /* 80208274 002051D4 38 61 00 0C */ addi r3, r1, 0xc /* 80208278 002051D8 48 00 00 08 */ b lbl_80208280 lbl_8020827C: /* 8020827C 002051DC 38 6D 93 A4 */ addi r3, r13, lbl_805A7F64@sda21 lbl_80208280: /* 80208280 002051E0 C0 3D 00 24 */ lfs f1, 0x24(r29) /* 80208284 002051E4 C0 03 00 00 */ lfs f0, 0(r3) /* 80208288 002051E8 EC 01 00 32 */ fmuls f0, f1, f0 /* 8020828C 002051EC D0 1D 00 24 */ stfs f0, 0x24(r29) /* 80208290 002051F0 80 1D 00 2C */ lwz r0, 0x2c(r29) /* 80208294 002051F4 2C 00 00 02 */ cmpwi r0, 2 /* 80208298 002051F8 40 82 00 14 */ bne lbl_802082AC /* 8020829C 002051FC C0 3F 0F 28 */ lfs f1, 0xf28(r31) /* 802082A0 00205200 C0 1D 00 24 */ lfs f0, 0x24(r29) /* 802082A4 00205204 EC 01 00 2A */ fadds f0, f1, f0 /* 802082A8 00205208 D0 1F 0F 28 */ stfs f0, 0xf28(r31) lbl_802082AC: /* 802082AC 0020520C E3 E1 09 18 */ psq_l f31, -1768(r1), 0, qr0 /* 802082B0 00205210 CB E1 09 10 */ lfd f31, 0x910(r1) /* 802082B4 00205214 E3 C1 09 08 */ psq_l f30, -1784(r1), 0, qr0 /* 802082B8 00205218 CB C1 09 00 */ lfd f30, 0x900(r1) /* 802082BC 0020521C E3 A1 08 F8 */ psq_l f29, -1800(r1), 0, qr0 /* 802082C0 00205220 CB A1 08 F0 */ lfd f29, 0x8f0(r1) /* 802082C4 00205224 BB 61 08 DC */ lmw r27, 0x8dc(r1) /* 802082C8 00205228 80 01 09 24 */ lwz r0, 0x924(r1) /* 802082CC 0020522C 7C 08 03 A6 */ mtlr r0 /* 802082D0 00205230 38 21 09 20 */ addi r1, r1, 0x920 /* 802082D4 00205234 4E 80 00 20 */ blr .global "__ct__11CVisorFlareFQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector" "__ct__11CVisorFlareFQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector": /* 802082D8 00205238 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802082DC 0020523C 7C 08 02 A6 */ mflr r0 /* 802082E0 00205240 90 01 00 44 */ stw r0, 0x44(r1) /* 802082E4 00205244 DB E1 00 30 */ stfd f31, 0x30(r1) /* 802082E8 00205248 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 802082EC 0020524C DB C1 00 20 */ stfd f30, 0x20(r1) /* 802082F0 00205250 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 802082F4 00205254 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802082F8 00205258 93 C1 00 18 */ stw r30, 0x18(r1) /* 802082FC 0020525C 93 A1 00 14 */ stw r29, 0x14(r1) /* 80208300 00205260 93 81 00 10 */ stw r28, 0x10(r1) /* 80208304 00205264 D0 21 00 08 */ stfs f1, 8(r1) /* 80208308 00205268 FF C0 10 90 */ fmr f30, f2 /* 8020830C 0020526C FF E0 18 90 */ fmr f31, f3 /* 80208310 00205270 7C 7C 1B 78 */ mr r28, r3 /* 80208314 00205274 90 83 00 00 */ stw r4, 0(r3) /* 80208318 00205278 7C BD 2B 78 */ mr r29, r5 /* 8020831C 0020527C 7C DE 33 78 */ mr r30, r6 /* 80208320 00205280 7C FF 3B 78 */ mr r31, r7 /* 80208324 00205284 7D 04 43 78 */ mr r4, r8 /* 80208328 00205288 38 7C 00 04 */ addi r3, r28, 4 /* 8020832C 0020528C 4B EC 61 41 */ bl sub_800ce46c /* 80208330 00205290 9B BC 00 14 */ stb r29, 0x14(r28) /* 80208334 00205294 C0 2D 93 90 */ lfs f1, lbl_805A7F50@sda21(r13) /* 80208338 00205298 C0 01 00 08 */ lfs f0, 8(r1) /* 8020833C 0020529C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80208340 002052A0 40 80 00 0C */ bge lbl_8020834C /* 80208344 002052A4 38 61 00 08 */ addi r3, r1, 8 /* 80208348 002052A8 48 00 00 08 */ b lbl_80208350 lbl_8020834C: /* 8020834C 002052AC 38 6D 93 90 */ addi r3, r13, lbl_805A7F50@sda21 lbl_80208350: /* 80208350 002052B0 C0 23 00 00 */ lfs f1, 0(r3) /* 80208354 002052B4 7F 83 E3 78 */ mr r3, r28 /* 80208358 002052B8 C0 02 B0 E8 */ lfs f0, lbl_805ACE08@sda21(r2) /* 8020835C 002052BC D0 3C 00 18 */ stfs f1, 0x18(r28) /* 80208360 002052C0 D3 DC 00 1C */ stfs f30, 0x1c(r28) /* 80208364 002052C4 D3 FC 00 20 */ stfs f31, 0x20(r28) /* 80208368 002052C8 D0 1C 00 24 */ stfs f0, 0x24(r28) /* 8020836C 002052CC D0 1C 00 28 */ stfs f0, 0x28(r28) /* 80208370 002052D0 93 DC 00 2C */ stw r30, 0x2c(r28) /* 80208374 002052D4 93 FC 00 30 */ stw r31, 0x30(r28) /* 80208378 002052D8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8020837C 002052DC CB E1 00 30 */ lfd f31, 0x30(r1) /* 80208380 002052E0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 80208384 002052E4 CB C1 00 20 */ lfd f30, 0x20(r1) /* 80208388 002052E8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020838C 002052EC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80208390 002052F0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80208394 002052F4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80208398 002052F8 83 81 00 10 */ lwz r28, 0x10(r1) /* 8020839C 002052FC 7C 08 03 A6 */ mtlr r0 /* 802083A0 00205300 38 21 00 40 */ addi r1, r1, 0x40 /* 802083A4 00205304 4E 80 00 20 */ blr .global "__ct__Q211CVisorFlare9CFlareDefFRC17TToken<8CTexture>ffUi" "__ct__Q211CVisorFlare9CFlareDefFRC17TToken<8CTexture>ffUi": /* 802083A8 00205308 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802083AC 0020530C 7C 08 02 A6 */ mflr r0 /* 802083B0 00205310 90 01 00 24 */ stw r0, 0x24(r1) /* 802083B4 00205314 DB E1 00 18 */ stfd f31, 0x18(r1) /* 802083B8 00205318 FF E0 10 90 */ fmr f31, f2 /* 802083BC 0020531C DB C1 00 10 */ stfd f30, 0x10(r1) /* 802083C0 00205320 FF C0 08 90 */ fmr f30, f1 /* 802083C4 00205324 93 E1 00 0C */ stw r31, 0xc(r1) /* 802083C8 00205328 7C BF 2B 78 */ mr r31, r5 /* 802083CC 0020532C 93 C1 00 08 */ stw r30, 8(r1) /* 802083D0 00205330 7C 7E 1B 78 */ mr r30, r3 /* 802083D4 00205334 48 13 8A D5 */ bl __ct__6CTokenFRC6CToken /* 802083D8 00205338 D3 DE 00 08 */ stfs f30, 8(r30) /* 802083DC 0020533C 7F C3 F3 78 */ mr r3, r30 /* 802083E0 00205340 D3 FE 00 0C */ stfs f31, 0xc(r30) /* 802083E4 00205344 93 FE 00 10 */ stw r31, 0x10(r30) /* 802083E8 00205348 48 13 89 9D */ bl Lock__6CTokenFv /* 802083EC 0020534C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802083F0 00205350 7F C3 F3 78 */ mr r3, r30 /* 802083F4 00205354 CB E1 00 18 */ lfd f31, 0x18(r1) /* 802083F8 00205358 CB C1 00 10 */ lfd f30, 0x10(r1) /* 802083FC 0020535C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80208400 00205360 83 C1 00 08 */ lwz r30, 8(r1) /* 80208404 00205364 7C 08 03 A6 */ mtlr r0 /* 80208408 00205368 38 21 00 20 */ addi r1, r1, 0x20 /* 8020840C 0020536C 4E 80 00 20 */ blr .global AcceptScriptMsg__15CFlaahgraPlantsF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__15CFlaahgraPlantsF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80208410 00205370 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80208414 00205374 7C 08 02 A6 */ mflr r0 /* 80208418 00205378 90 01 00 74 */ stw r0, 0x74(r1) /* 8020841C 0020537C BF 61 00 5C */ stmw r27, 0x5c(r1) /* 80208420 00205380 7C 7D 1B 78 */ mr r29, r3 /* 80208424 00205384 7C 9B 23 78 */ mr r27, r4 /* 80208428 00205388 7C DE 33 78 */ mr r30, r6 /* 8020842C 0020538C A0 05 00 00 */ lhz r0, 0(r5) /* 80208430 00205390 38 A1 00 1C */ addi r5, r1, 0x1c /* 80208434 00205394 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80208438 00205398 4B E4 B1 DD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8020843C 0020539C 2C 1B 00 22 */ cmpwi r27, 0x22 /* 80208440 002053A0 41 82 02 14 */ beq lbl_80208654 /* 80208444 002053A4 40 80 02 34 */ bge lbl_80208678 /* 80208448 002053A8 2C 1B 00 21 */ cmpwi r27, 0x21 /* 8020844C 002053AC 40 80 00 08 */ bge lbl_80208454 /* 80208450 002053B0 48 00 02 28 */ b lbl_80208678 lbl_80208454: /* 80208454 002053B4 80 7D 00 EC */ lwz r3, 0xec(r29) /* 80208458 002053B8 38 80 00 01 */ li r4, 1 /* 8020845C 002053BC 81 83 00 00 */ lwz r12, 0(r3) /* 80208460 002053C0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80208464 002053C4 7D 89 03 A6 */ mtctr r12 /* 80208468 002053C8 4E 80 04 21 */ bctrl /* 8020846C 002053CC 7F A3 EB 78 */ mr r3, r29 /* 80208470 002053D0 38 80 00 01 */ li r4, 1 /* 80208474 002053D4 81 9D 00 00 */ lwz r12, 0(r29) /* 80208478 002053D8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8020847C 002053DC 7D 89 03 A6 */ mtctr r12 /* 80208480 002053E0 4E 80 04 21 */ bctrl /* 80208484 002053E4 A0 7D 01 6C */ lhz r3, 0x16c(r29) /* 80208488 002053E8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8020848C 002053EC 7C 03 00 40 */ cmplw r3, r0 /* 80208490 002053F0 40 82 01 E8 */ bne lbl_80208678 /* 80208494 002053F4 7F C4 F3 78 */ mr r4, r30 /* 80208498 002053F8 38 61 00 18 */ addi r3, r1, 0x18 /* 8020849C 002053FC 4B E4 4C 41 */ bl AllocateUniqueId__13CStateManagerFv /* 802084A0 00205400 A0 01 00 18 */ lhz r0, 0x18(r1) /* 802084A4 00205404 3C 60 80 3D */ lis r3, lbl_803D2738@ha /* 802084A8 00205408 38 83 27 38 */ addi r4, r3, lbl_803D2738@l /* 802084AC 0020540C C0 02 B1 10 */ lfs f0, lbl_805ACE30@sda21(r2) /* 802084B0 00205410 B0 1D 01 6C */ sth r0, 0x16c(r29) /* 802084B4 00205414 38 60 03 10 */ li r3, 0x310 /* 802084B8 00205418 C0 42 B1 14 */ lfs f2, lbl_805ACE34@sda21(r2) /* 802084BC 0020541C 38 A0 00 00 */ li r5, 0 /* 802084C0 00205420 C0 9D 01 64 */ lfs f4, 0x164(r29) /* 802084C4 00205424 C0 7D 01 68 */ lfs f3, 0x168(r29) /* 802084C8 00205428 EC 84 00 2A */ fadds f4, f4, f0 /* 802084CC 0020542C C0 3D 01 60 */ lfs f1, 0x160(r29) /* 802084D0 00205430 C0 02 B1 18 */ lfs f0, lbl_805ACE38@sda21(r2) /* 802084D4 00205434 EC 43 10 2A */ fadds f2, f3, f2 /* 802084D8 00205438 EC 01 00 2A */ fadds f0, f1, f0 /* 802084DC 0020543C D0 81 00 34 */ stfs f4, 0x34(r1) /* 802084E0 00205440 D0 41 00 38 */ stfs f2, 0x38(r1) /* 802084E4 00205444 D0 01 00 30 */ stfs f0, 0x30(r1) /* 802084E8 00205448 48 10 D3 85 */ bl __nw__FUlPCcPCc /* 802084EC 0020544C 7C 7F 1B 79 */ or. r31, r3, r3 /* 802084F0 00205450 41 82 00 4C */ beq lbl_8020853C /* 802084F4 00205454 A0 1D 00 08 */ lhz r0, 8(r29) /* 802084F8 00205458 3C 80 80 5A */ lis r4, skZero3f@ha /* 802084FC 0020545C 39 04 66 A0 */ addi r8, r4, skZero3f@l /* 80208500 00205460 C0 22 B1 1C */ lfs f1, lbl_805ACE3C@sda21(r2) /* 80208504 00205464 B0 01 00 14 */ sth r0, 0x14(r1) /* 80208508 00205468 38 81 00 0C */ addi r4, r1, 0xc /* 8020850C 0020546C 38 A1 00 2C */ addi r5, r1, 0x2c /* 80208510 00205470 38 C1 00 14 */ addi r6, r1, 0x14 /* 80208514 00205474 81 5D 00 04 */ lwz r10, 4(r29) /* 80208518 00205478 38 E1 00 30 */ addi r7, r1, 0x30 /* 8020851C 0020547C B0 01 00 10 */ sth r0, 0x10(r1) /* 80208520 00205480 39 20 00 01 */ li r9, 1 /* 80208524 00205484 91 41 00 2C */ stw r10, 0x2c(r1) /* 80208528 00205488 A0 1D 01 6C */ lhz r0, 0x16c(r29) /* 8020852C 0020548C 91 41 00 28 */ stw r10, 0x28(r1) /* 80208530 00205490 B0 01 00 0C */ sth r0, 0xc(r1) /* 80208534 00205494 4B FA 18 75 */ bl __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf /* 80208538 00205498 7C 7F 1B 78 */ mr r31, r3 lbl_8020853C: /* 8020853C 0020549C 28 1F 00 00 */ cmplwi r31, 0 /* 80208540 002054A0 41 82 01 38 */ beq lbl_80208678 /* 80208544 002054A4 38 7F 00 34 */ addi r3, r31, 0x34 /* 80208548 002054A8 38 9D 00 34 */ addi r4, r29, 0x34 /* 8020854C 002054AC 48 10 A5 F5 */ bl __as__12CTransform4fFRC12CTransform4f /* 80208550 002054B0 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80208554 002054B4 38 A0 00 01 */ li r5, 1 /* 80208558 002054B8 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 8020855C 002054BC 38 60 00 00 */ li r3, 0 /* 80208560 002054C0 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80208564 002054C4 38 80 00 01 */ li r4, 1 /* 80208568 002054C8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 8020856C 002054CC 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80208570 002054D0 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80208574 002054D4 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80208578 002054D8 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 8020857C 002054DC 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80208580 002054E0 80 AD 93 B4 */ lwz r5, lbl_805A7F74@sda21(r13) /* 80208584 002054E4 48 18 19 71 */ bl __shl2i /* 80208588 002054E8 80 AD 93 B8 */ lwz r5, lbl_805A7F78@sda21(r13) /* 8020858C 002054EC 7C 9B 23 78 */ mr r27, r4 /* 80208590 002054F0 7C 7C 1B 78 */ mr r28, r3 /* 80208594 002054F4 38 60 00 00 */ li r3, 0 /* 80208598 002054F8 38 80 00 01 */ li r4, 1 /* 8020859C 002054FC 48 18 19 59 */ bl __shl2i /* 802085A0 00205500 80 AD 93 BC */ lwz r5, lbl_805A7F7C@sda21(r13) /* 802085A4 00205504 7F 7B 23 78 */ or r27, r27, r4 /* 802085A8 00205508 7F 9C 1B 78 */ or r28, r28, r3 /* 802085AC 0020550C 38 60 00 00 */ li r3, 0 /* 802085B0 00205510 38 80 00 01 */ li r4, 1 /* 802085B4 00205514 48 18 19 41 */ bl __shl2i /* 802085B8 00205518 80 AD 93 C0 */ lwz r5, lbl_805A7F80@sda21(r13) /* 802085BC 0020551C 7F 7B 23 78 */ or r27, r27, r4 /* 802085C0 00205520 7F 9C 1B 78 */ or r28, r28, r3 /* 802085C4 00205524 38 60 00 00 */ li r3, 0 /* 802085C8 00205528 38 80 00 01 */ li r4, 1 /* 802085CC 0020552C 48 18 19 29 */ bl __shl2i /* 802085D0 00205530 80 AD 93 B0 */ lwz r5, lbl_805A7F70@sda21(r13) /* 802085D4 00205534 7F 7B 23 78 */ or r27, r27, r4 /* 802085D8 00205538 7F 9C 1B 78 */ or r28, r28, r3 /* 802085DC 0020553C 38 60 00 00 */ li r3, 0 /* 802085E0 00205540 38 80 00 01 */ li r4, 1 /* 802085E4 00205544 48 18 19 11 */ bl __shl2i /* 802085E8 00205548 38 00 00 03 */ li r0, 3 /* 802085EC 0020554C 90 81 00 44 */ stw r4, 0x44(r1) /* 802085F0 00205550 38 81 00 40 */ addi r4, r1, 0x40 /* 802085F4 00205554 90 61 00 40 */ stw r3, 0x40(r1) /* 802085F8 00205558 7F E3 FB 78 */ mr r3, r31 /* 802085FC 0020555C 93 61 00 4C */ stw r27, 0x4c(r1) /* 80208600 00205560 93 81 00 48 */ stw r28, 0x48(r1) /* 80208604 00205564 90 01 00 50 */ stw r0, 0x50(r1) /* 80208608 00205568 4B E4 B2 99 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 8020860C 0020556C 80 9F 00 68 */ lwz r4, 0x68(r31) /* 80208610 00205570 3C 00 00 04 */ lis r0, 4 /* 80208614 00205574 7F C3 F3 78 */ mr r3, r30 /* 80208618 00205578 60 85 08 00 */ ori r5, r4, 0x800 /* 8020861C 0020557C 7F E4 FB 78 */ mr r4, r31 /* 80208620 00205580 90 BF 00 68 */ stw r5, 0x68(r31) /* 80208624 00205584 80 DF 00 6C */ lwz r6, 0x6c(r31) /* 80208628 00205588 7C C0 03 78 */ or r0, r6, r0 /* 8020862C 0020558C 90 1F 00 6C */ stw r0, 0x6c(r31) /* 80208630 00205590 4B E4 46 C5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 80208634 00205594 80 1D 00 04 */ lwz r0, 4(r29) /* 80208638 00205598 7F C3 F3 78 */ mr r3, r30 /* 8020863C 0020559C 7F E4 FB 78 */ mr r4, r31 /* 80208640 002055A0 38 A1 00 24 */ addi r5, r1, 0x24 /* 80208644 002055A4 90 01 00 20 */ stw r0, 0x20(r1) /* 80208648 002055A8 90 01 00 24 */ stw r0, 0x24(r1) /* 8020864C 002055AC 4B E3 CC 2D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId /* 80208650 002055B0 48 00 00 28 */ b lbl_80208678 lbl_80208654: /* 80208654 002055B4 A0 7D 01 6C */ lhz r3, 0x16c(r29) /* 80208658 002055B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8020865C 002055BC 7C 03 00 40 */ cmplw r3, r0 /* 80208660 002055C0 41 82 00 18 */ beq lbl_80208678 /* 80208664 002055C4 A0 1D 01 6C */ lhz r0, 0x16c(r29) /* 80208668 002055C8 7F C3 F3 78 */ mr r3, r30 /* 8020866C 002055CC 38 81 00 08 */ addi r4, r1, 8 /* 80208670 002055D0 B0 01 00 08 */ sth r0, 8(r1) /* 80208674 002055D4 4B E4 3B F9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_80208678: /* 80208678 002055D8 BB 61 00 5C */ lmw r27, 0x5c(r1) /* 8020867C 002055DC 80 01 00 74 */ lwz r0, 0x74(r1) /* 80208680 002055E0 7C 08 03 A6 */ mtlr r0 /* 80208684 002055E4 38 21 00 70 */ addi r1, r1, 0x70 /* 80208688 002055E8 4E 80 00 20 */ blr .global Think__15CFlaahgraPlantsFfR13CStateManager Think__15CFlaahgraPlantsFfR13CStateManager: /* 8020868C 002055EC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80208690 002055F0 7C 08 02 A6 */ mflr r0 /* 80208694 002055F4 90 01 00 24 */ stw r0, 0x24(r1) /* 80208698 002055F8 DB E1 00 18 */ stfd f31, 0x18(r1) /* 8020869C 002055FC FF E0 08 90 */ fmr f31, f1 /* 802086A0 00205600 93 E1 00 14 */ stw r31, 0x14(r1) /* 802086A4 00205604 7C 9F 23 78 */ mr r31, r4 /* 802086A8 00205608 93 C1 00 10 */ stw r30, 0x10(r1) /* 802086AC 0020560C 7C 7E 1B 78 */ mr r30, r3 /* 802086B0 00205610 88 03 00 30 */ lbz r0, 0x30(r3) /* 802086B4 00205614 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802086B8 00205618 41 82 00 1C */ beq lbl_802086D4 /* 802086BC 0020561C 80 7E 00 EC */ lwz r3, 0xec(r30) /* 802086C0 00205620 81 83 00 00 */ lwz r12, 0(r3) /* 802086C4 00205624 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802086C8 00205628 7D 89 03 A6 */ mtctr r12 /* 802086CC 0020562C 4E 80 04 21 */ bctrl /* 802086D0 00205630 D3 FE 01 2C */ stfs f31, 0x12c(r30) lbl_802086D4: /* 802086D4 00205634 80 7E 00 EC */ lwz r3, 0xec(r30) /* 802086D8 00205638 81 83 00 00 */ lwz r12, 0(r3) /* 802086DC 0020563C 81 8C 00 58 */ lwz r12, 0x58(r12) /* 802086E0 00205640 7D 89 03 A6 */ mtctr r12 /* 802086E4 00205644 4E 80 04 21 */ bctrl /* 802086E8 00205648 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802086EC 0020564C 41 82 00 1C */ beq lbl_80208708 /* 802086F0 00205650 A0 1E 00 08 */ lhz r0, 8(r30) /* 802086F4 00205654 7F E3 FB 78 */ mr r3, r31 /* 802086F8 00205658 38 81 00 0C */ addi r4, r1, 0xc /* 802086FC 0020565C B0 01 00 08 */ sth r0, 8(r1) /* 80208700 00205660 B0 01 00 0C */ sth r0, 0xc(r1) /* 80208704 00205664 4B E4 3B 69 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_80208708: /* 80208708 00205668 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020870C 0020566C CB E1 00 18 */ lfd f31, 0x18(r1) /* 80208710 00205670 83 E1 00 14 */ lwz r31, 0x14(r1) /* 80208714 00205674 83 C1 00 10 */ lwz r30, 0x10(r1) /* 80208718 00205678 7C 08 03 A6 */ mtlr r0 /* 8020871C 0020567C 38 21 00 20 */ addi r1, r1, 0x20 /* 80208720 00205680 4E 80 00 20 */ blr .global Accept__15CFlaahgraPlantsFR8IVisitor Accept__15CFlaahgraPlantsFR8IVisitor: /* 80208724 00205684 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80208728 00205688 7C 08 02 A6 */ mflr r0 /* 8020872C 0020568C 90 01 00 14 */ stw r0, 0x14(r1) /* 80208730 00205690 7C 60 1B 78 */ mr r0, r3 /* 80208734 00205694 7C 83 23 78 */ mr r3, r4 /* 80208738 00205698 81 84 00 00 */ lwz r12, 0(r4) /* 8020873C 0020569C 7C 04 03 78 */ mr r4, r0 /* 80208740 002056A0 81 8C 00 08 */ lwz r12, 8(r12) /* 80208744 002056A4 7D 89 03 A6 */ mtctr r12 /* 80208748 002056A8 4E 80 04 21 */ bctrl /* 8020874C 002056AC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80208750 002056B0 7C 08 03 A6 */ mtlr r0 /* 80208754 002056B4 38 21 00 10 */ addi r1, r1, 0x10 /* 80208758 002056B8 4E 80 00 20 */ blr .global AddToRenderer__15CFlaahgraPlantsCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__15CFlaahgraPlantsCFRC14CFrustumPlanesRC13CStateManager: /* 8020875C 002056BC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80208760 002056C0 7C 08 02 A6 */ mflr r0 /* 80208764 002056C4 90 01 00 24 */ stw r0, 0x24(r1) /* 80208768 002056C8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020876C 002056CC 7C BF 2B 78 */ mr r31, r5 /* 80208770 002056D0 93 C1 00 18 */ stw r30, 0x18(r1) /* 80208774 002056D4 7C 9E 23 78 */ mr r30, r4 /* 80208778 002056D8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020877C 002056DC 7C 7D 1B 78 */ mr r29, r3 /* 80208780 002056E0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80208784 002056E4 80 9D 00 EC */ lwz r4, 0xec(r29) /* 80208788 002056E8 81 83 00 00 */ lwz r12, 0(r3) /* 8020878C 002056EC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80208790 002056F0 7D 89 03 A6 */ mtctr r12 /* 80208794 002056F4 4E 80 04 21 */ bctrl /* 80208798 002056F8 7F A3 EB 78 */ mr r3, r29 /* 8020879C 002056FC 7F C4 F3 78 */ mr r4, r30 /* 802087A0 00205700 7F E5 FB 78 */ mr r5, r31 /* 802087A4 00205704 4B E4 C3 95 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager /* 802087A8 00205708 80 01 00 24 */ lwz r0, 0x24(r1) /* 802087AC 0020570C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802087B0 00205710 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802087B4 00205714 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802087B8 00205718 7C 08 03 A6 */ mtlr r0 /* 802087BC 0020571C 38 21 00 20 */ addi r1, r1, 0x20 /* 802087C0 00205720 4E 80 00 20 */ blr .global GetTouchBounds__15CFlaahgraPlantsCFv GetTouchBounds__15CFlaahgraPlantsCFv: /* 802087C4 00205724 88 04 00 30 */ lbz r0, 0x30(r4) /* 802087C8 00205728 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802087CC 0020572C 41 82 00 54 */ beq lbl_80208820 /* 802087D0 00205730 88 04 01 28 */ lbz r0, 0x128(r4) /* 802087D4 00205734 98 03 00 18 */ stb r0, 0x18(r3) /* 802087D8 00205738 88 04 01 28 */ lbz r0, 0x128(r4) /* 802087DC 0020573C 28 00 00 00 */ cmplwi r0, 0 /* 802087E0 00205740 4D 82 00 20 */ beqlr /* 802087E4 00205744 28 03 00 00 */ cmplwi r3, 0 /* 802087E8 00205748 4D 82 00 20 */ beqlr /* 802087EC 0020574C C0 04 01 10 */ lfs f0, 0x110(r4) /* 802087F0 00205750 D0 03 00 00 */ stfs f0, 0(r3) /* 802087F4 00205754 C0 04 01 14 */ lfs f0, 0x114(r4) /* 802087F8 00205758 D0 03 00 04 */ stfs f0, 4(r3) /* 802087FC 0020575C C0 04 01 18 */ lfs f0, 0x118(r4) /* 80208800 00205760 D0 03 00 08 */ stfs f0, 8(r3) /* 80208804 00205764 C0 04 01 1C */ lfs f0, 0x11c(r4) /* 80208808 00205768 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8020880C 0020576C C0 04 01 20 */ lfs f0, 0x120(r4) /* 80208810 00205770 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80208814 00205774 C0 04 01 24 */ lfs f0, 0x124(r4) /* 80208818 00205778 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8020881C 0020577C 4E 80 00 20 */ blr lbl_80208820: /* 80208820 00205780 38 00 00 00 */ li r0, 0 /* 80208824 00205784 98 03 00 18 */ stb r0, 0x18(r3) /* 80208828 00205788 4E 80 00 20 */ blr .global Touch__15CFlaahgraPlantsFR6CActorR13CStateManager Touch__15CFlaahgraPlantsFR6CActorR13CStateManager: /* 8020882C 0020578C 94 21 FE C0 */ stwu r1, -0x140(r1) /* 80208830 00205790 7C 08 02 A6 */ mflr r0 /* 80208834 00205794 90 01 01 44 */ stw r0, 0x144(r1) /* 80208838 00205798 93 E1 01 3C */ stw r31, 0x13c(r1) /* 8020883C 0020579C 7C BF 2B 78 */ mr r31, r5 /* 80208840 002057A0 93 C1 01 38 */ stw r30, 0x138(r1) /* 80208844 002057A4 7C 9E 23 78 */ mr r30, r4 /* 80208848 002057A8 93 A1 01 34 */ stw r29, 0x134(r1) /* 8020884C 002057AC 7C 7D 1B 78 */ mr r29, r3 /* 80208850 002057B0 80 85 08 4C */ lwz r4, 0x84c(r5) /* 80208854 002057B4 A0 7E 00 08 */ lhz r3, 8(r30) /* 80208858 002057B8 A0 04 00 08 */ lhz r0, 8(r4) /* 8020885C 002057BC 7C 03 00 40 */ cmplw r3, r0 /* 80208860 002057C0 40 82 01 B0 */ bne lbl_80208A10 /* 80208864 002057C4 88 1D 01 28 */ lbz r0, 0x128(r29) /* 80208868 002057C8 28 00 00 00 */ cmplwi r0, 0 /* 8020886C 002057CC 41 82 01 A4 */ beq lbl_80208A10 /* 80208870 002057D0 38 61 00 60 */ addi r3, r1, 0x60 /* 80208874 002057D4 4B F1 20 B9 */ bl GetBoundingBox__13CPhysicsActorCFv /* 80208878 002057D8 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8020887C 002057DC 38 61 00 AC */ addi r3, r1, 0xac /* 80208880 002057E0 38 A4 66 70 */ addi r5, r4, skIdentity4f@l /* 80208884 002057E4 38 81 00 60 */ addi r4, r1, 0x60 /* 80208888 002057E8 48 0C D4 95 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f /* 8020888C 002057EC 38 61 00 E8 */ addi r3, r1, 0xe8 /* 80208890 002057F0 38 81 00 AC */ addi r4, r1, 0xac /* 80208894 002057F4 48 10 A2 E1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80208898 002057F8 C0 41 00 DC */ lfs f2, 0xdc(r1) /* 8020889C 002057FC 38 7D 01 30 */ addi r3, r29, 0x130 /* 802088A0 00205800 C0 21 00 E0 */ lfs f1, 0xe0(r1) /* 802088A4 00205804 38 81 00 E8 */ addi r4, r1, 0xe8 /* 802088A8 00205808 C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 802088AC 0020580C D0 41 01 18 */ stfs f2, 0x118(r1) /* 802088B0 00205810 D0 21 01 1C */ stfs f1, 0x11c(r1) /* 802088B4 00205814 D0 01 01 20 */ stfs f0, 0x120(r1) /* 802088B8 00205818 48 0C CB DD */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox /* 802088BC 0020581C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802088C0 00205820 41 82 01 50 */ beq lbl_80208A10 /* 802088C4 00205824 C0 5D 01 08 */ lfs f2, 0x108(r29) /* 802088C8 00205828 38 A0 00 01 */ li r5, 1 /* 802088CC 0020582C C0 7D 01 04 */ lfs f3, 0x104(r29) /* 802088D0 00205830 38 60 00 00 */ li r3, 0 /* 802088D4 00205834 C0 3D 01 2C */ lfs f1, 0x12c(r29) /* 802088D8 00205838 38 80 00 01 */ li r4, 1 /* 802088DC 0020583C C0 1D 00 FC */ lfs f0, 0xfc(r29) /* 802088E0 00205840 80 DD 00 F4 */ lwz r6, 0xf4(r29) /* 802088E4 00205844 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 802088E8 00205848 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 802088EC 0020584C 90 C1 00 90 */ stw r6, 0x90(r1) /* 802088F0 00205850 EC 01 00 32 */ fmuls f0, f1, f0 /* 802088F4 00205854 80 AD 93 AC */ lwz r5, lbl_805A7F6C@sda21(r13) /* 802088F8 00205858 88 DD 00 F8 */ lbz r6, 0xf8(r29) /* 802088FC 0020585C 98 C1 00 94 */ stb r6, 0x94(r1) /* 80208900 00205860 D0 01 00 98 */ stfs f0, 0x98(r1) /* 80208904 00205864 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 80208908 00205868 D0 61 00 A0 */ stfs f3, 0xa0(r1) /* 8020890C 0020586C D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 80208910 00205870 98 01 00 A8 */ stb r0, 0xa8(r1) /* 80208914 00205874 48 18 15 E1 */ bl __shl2i /* 80208918 00205878 38 A0 00 03 */ li r5, 3 /* 8020891C 0020587C 38 00 00 00 */ li r0, 0 /* 80208920 00205880 90 81 00 7C */ stw r4, 0x7c(r1) /* 80208924 00205884 C0 02 B1 18 */ lfs f0, lbl_805ACE38@sda21(r2) /* 80208928 00205888 90 61 00 78 */ stw r3, 0x78(r1) /* 8020892C 0020588C 90 01 00 84 */ stw r0, 0x84(r1) /* 80208930 00205890 90 01 00 80 */ stw r0, 0x80(r1) /* 80208934 00205894 90 A1 00 88 */ stw r5, 0x88(r1) /* 80208938 00205898 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8020893C 0020589C C0 3D 00 50 */ lfs f1, 0x50(r29) /* 80208940 002058A0 C0 43 00 50 */ lfs f2, 0x50(r3) /* 80208944 002058A4 C0 83 00 40 */ lfs f4, 0x40(r3) /* 80208948 002058A8 C0 7D 00 40 */ lfs f3, 0x40(r29) /* 8020894C 002058AC EC 22 08 28 */ fsubs f1, f2, f1 /* 80208950 002058B0 C0 DD 00 44 */ lfs f6, 0x44(r29) /* 80208954 002058B4 EC A4 18 28 */ fsubs f5, f4, f3 /* 80208958 002058B8 C0 83 00 60 */ lfs f4, 0x60(r3) /* 8020895C 002058BC C0 7D 00 60 */ lfs f3, 0x60(r29) /* 80208960 002058C0 EC 21 01 B2 */ fmuls f1, f1, f6 /* 80208964 002058C4 C0 5D 00 34 */ lfs f2, 0x34(r29) /* 80208968 002058C8 C0 FD 00 54 */ lfs f7, 0x54(r29) /* 8020896C 002058CC EC 64 18 28 */ fsubs f3, f4, f3 /* 80208970 002058D0 90 A1 00 58 */ stw r5, 0x58(r1) /* 80208974 002058D4 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 80208978 002058D8 D0 41 00 38 */ stfs f2, 0x38(r1) /* 8020897C 002058DC EC 23 09 FA */ fmadds f1, f3, f7, f1 /* 80208980 002058E0 D0 C1 00 3C */ stfs f6, 0x3c(r1) /* 80208984 002058E4 D0 E1 00 40 */ stfs f7, 0x40(r1) /* 80208988 002058E8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020898C 002058EC 40 81 00 0C */ ble lbl_80208998 /* 80208990 002058F0 39 41 00 38 */ addi r10, r1, 0x38 /* 80208994 002058F4 48 00 00 20 */ b lbl_802089B4 lbl_80208998: /* 80208998 002058F8 FC 40 10 50 */ fneg f2, f2 /* 8020899C 002058FC 39 41 00 20 */ addi r10, r1, 0x20 /* 802089A0 00205900 FC 20 30 50 */ fneg f1, f6 /* 802089A4 00205904 FC 00 38 50 */ fneg f0, f7 /* 802089A8 00205908 D0 41 00 20 */ stfs f2, 0x20(r1) /* 802089AC 0020590C D0 21 00 24 */ stfs f1, 0x24(r1) /* 802089B0 00205910 D0 01 00 28 */ stfs f0, 0x28(r1) lbl_802089B4: /* 802089B4 00205914 C0 0A 00 00 */ lfs f0, 0(r10) /* 802089B8 00205918 7F E3 FB 78 */ mr r3, r31 /* 802089BC 0020591C 38 81 00 1C */ addi r4, r1, 0x1c /* 802089C0 00205920 38 A1 00 14 */ addi r5, r1, 0x14 /* 802089C4 00205924 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802089C8 00205928 38 C1 00 0C */ addi r6, r1, 0xc /* 802089CC 0020592C 38 E1 00 90 */ addi r7, r1, 0x90 /* 802089D0 00205930 39 01 00 78 */ addi r8, r1, 0x78 /* 802089D4 00205934 C0 0A 00 04 */ lfs f0, 4(r10) /* 802089D8 00205938 39 21 00 2C */ addi r9, r1, 0x2c /* 802089DC 0020593C D0 01 00 30 */ stfs f0, 0x30(r1) /* 802089E0 00205940 C0 0A 00 08 */ lfs f0, 8(r10) /* 802089E4 00205944 D0 01 00 34 */ stfs f0, 0x34(r1) /* 802089E8 00205948 A0 1D 00 08 */ lhz r0, 8(r29) /* 802089EC 0020594C B0 01 00 0C */ sth r0, 0xc(r1) /* 802089F0 00205950 A1 5E 00 08 */ lhz r10, 8(r30) /* 802089F4 00205954 B0 01 00 08 */ sth r0, 8(r1) /* 802089F8 00205958 B1 41 00 14 */ sth r10, 0x14(r1) /* 802089FC 0020595C A0 1D 00 08 */ lhz r0, 8(r29) /* 80208A00 00205960 B1 41 00 10 */ sth r10, 0x10(r1) /* 80208A04 00205964 B0 01 00 18 */ sth r0, 0x18(r1) /* 80208A08 00205968 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80208A0C 0020596C 4B E4 16 95 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_80208A10: /* 80208A10 00205970 80 01 01 44 */ lwz r0, 0x144(r1) /* 80208A14 00205974 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 80208A18 00205978 83 C1 01 38 */ lwz r30, 0x138(r1) /* 80208A1C 0020597C 83 A1 01 34 */ lwz r29, 0x134(r1) /* 80208A20 00205980 7C 08 03 A6 */ mtlr r0 /* 80208A24 00205984 38 21 01 40 */ addi r1, r1, 0x140 /* 80208A28 00205988 4E 80 00 20 */ blr .global __dt__15CFlaahgraPlantsFv __dt__15CFlaahgraPlantsFv: /* 80208A2C 0020598C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80208A30 00205990 7C 08 02 A6 */ mflr r0 /* 80208A34 00205994 90 01 00 14 */ stw r0, 0x14(r1) /* 80208A38 00205998 93 E1 00 0C */ stw r31, 0xc(r1) /* 80208A3C 0020599C 7C 9F 23 78 */ mr r31, r4 /* 80208A40 002059A0 93 C1 00 08 */ stw r30, 8(r1) /* 80208A44 002059A4 7C 7E 1B 79 */ or. r30, r3, r3 /* 80208A48 002059A8 41 82 00 70 */ beq lbl_80208AB8 /* 80208A4C 002059AC 3C 60 80 3E */ lis r3, lbl_803E6FD8@ha /* 80208A50 002059B0 34 1E 01 10 */ addic. r0, r30, 0x110 /* 80208A54 002059B4 38 03 6F D8 */ addi r0, r3, lbl_803E6FD8@l /* 80208A58 002059B8 90 1E 00 00 */ stw r0, 0(r30) /* 80208A5C 002059BC 41 82 00 0C */ beq lbl_80208A68 /* 80208A60 002059C0 38 00 00 00 */ li r0, 0 /* 80208A64 002059C4 98 1E 01 28 */ stb r0, 0x128(r30) lbl_80208A68: /* 80208A68 002059C8 34 1E 00 E8 */ addic. r0, r30, 0xe8 /* 80208A6C 002059CC 41 82 00 30 */ beq lbl_80208A9C /* 80208A70 002059D0 88 1E 00 E8 */ lbz r0, 0xe8(r30) /* 80208A74 002059D4 28 00 00 00 */ cmplwi r0, 0 /* 80208A78 002059D8 41 82 00 24 */ beq lbl_80208A9C /* 80208A7C 002059DC 80 7E 00 EC */ lwz r3, 0xec(r30) /* 80208A80 002059E0 28 03 00 00 */ cmplwi r3, 0 /* 80208A84 002059E4 41 82 00 18 */ beq lbl_80208A9C /* 80208A88 002059E8 81 83 00 00 */ lwz r12, 0(r3) /* 80208A8C 002059EC 38 80 00 01 */ li r4, 1 /* 80208A90 002059F0 81 8C 00 08 */ lwz r12, 8(r12) /* 80208A94 002059F4 7D 89 03 A6 */ mtctr r12 /* 80208A98 002059F8 4E 80 04 21 */ bctrl lbl_80208A9C: /* 80208A9C 002059FC 7F C3 F3 78 */ mr r3, r30 /* 80208AA0 00205A00 38 80 00 00 */ li r4, 0 /* 80208AA4 00205A04 4B E4 CC 4D */ bl __dt__6CActorFv /* 80208AA8 00205A08 7F E0 07 35 */ extsh. r0, r31 /* 80208AAC 00205A0C 40 81 00 0C */ ble lbl_80208AB8 /* 80208AB0 00205A10 7F C3 F3 78 */ mr r3, r30 /* 80208AB4 00205A14 48 10 CE 7D */ bl Free__7CMemoryFPCv lbl_80208AB8: /* 80208AB8 00205A18 80 01 00 14 */ lwz r0, 0x14(r1) /* 80208ABC 00205A1C 7F C3 F3 78 */ mr r3, r30 /* 80208AC0 00205A20 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80208AC4 00205A24 83 C1 00 08 */ lwz r30, 8(r1) /* 80208AC8 00205A28 7C 08 03 A6 */ mtlr r0 /* 80208ACC 00205A2C 38 21 00 10 */ addi r1, r1, 0x10 /* 80208AD0 00205A30 4E 80 00 20 */ blr .global "__ct__15CFlaahgraPlantsF25TToken<15CGenDescription>9TUniqueId9TUniqueIdRC12CTransform4fRC11CDamageInfoRC9CVector3f" "__ct__15CFlaahgraPlantsF25TToken<15CGenDescription>9TUniqueId9TUniqueIdRC12CTransform4fRC11CDamageInfoRC9CVector3f": /* 80208AD4 00205A34 94 21 FE C0 */ stwu r1, -0x140(r1) /* 80208AD8 00205A38 7C 08 02 A6 */ mflr r0 /* 80208ADC 00205A3C 3D 60 80 3D */ lis r11, lbl_803D2738@ha /* 80208AE0 00205A40 90 01 01 44 */ stw r0, 0x144(r1) /* 80208AE4 00205A44 39 6B 27 38 */ addi r11, r11, lbl_803D2738@l /* 80208AE8 00205A48 BE E1 01 1C */ stmw r23, 0x11c(r1) /* 80208AEC 00205A4C 7C 78 1B 78 */ mr r24, r3 /* 80208AF0 00205A50 7C 99 23 78 */ mr r25, r4 /* 80208AF4 00205A54 7C BA 2B 78 */ mr r26, r5 /* 80208AF8 00205A58 7C DB 33 78 */ mr r27, r6 /* 80208AFC 00205A5C 83 E1 01 48 */ lwz r31, 0x148(r1) /* 80208B00 00205A60 7C F7 3B 78 */ mr r23, r7 /* 80208B04 00205A64 7D 1C 43 78 */ mr r28, r8 /* 80208B08 00205A68 7D 3D 4B 78 */ mr r29, r9 /* 80208B0C 00205A6C 7D 5E 53 78 */ mr r30, r10 /* 80208B10 00205A70 38 61 00 54 */ addi r3, r1, 0x54 /* 80208B14 00205A74 38 8B 00 07 */ addi r4, r11, 7 /* 80208B18 00205A78 38 C1 00 10 */ addi r6, r1, 0x10 /* 80208B1C 00205A7C 38 A0 FF FF */ li r5, -1 /* 80208B20 00205A80 48 13 56 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 80208B24 00205A84 80 8D A3 88 */ lwz r4, lbl_805A8F48@sda21(r13) /* 80208B28 00205A88 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80208B2C 00205A8C 80 17 00 00 */ lwz r0, 0(r23) /* 80208B30 00205A90 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80208B34 00205A94 90 81 00 2C */ stw r4, 0x2c(r1) /* 80208B38 00205A98 38 61 00 7C */ addi r3, r1, 0x7c /* 80208B3C 00205A9C 38 81 00 30 */ addi r4, r1, 0x30 /* 80208B40 00205AA0 38 C1 00 2C */ addi r6, r1, 0x2c /* 80208B44 00205AA4 90 01 00 30 */ stw r0, 0x30(r1) /* 80208B48 00205AA8 4B E4 89 3D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80208B4C 00205AAC 38 61 00 C4 */ addi r3, r1, 0xc4 /* 80208B50 00205AB0 4B E3 1C 55 */ bl CModelDataNull__10CModelDataFv /* 80208B54 00205AB4 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 80208B58 00205AB8 38 00 00 00 */ li r0, 0 /* 80208B5C 00205ABC 80 AD 93 A8 */ lwz r5, lbl_805A7F68@sda21(r13) /* 80208B60 00205AC0 38 60 00 00 */ li r3, 0 /* 80208B64 00205AC4 B0 81 00 14 */ sth r4, 0x14(r1) /* 80208B68 00205AC8 38 80 00 01 */ li r4, 1 /* 80208B6C 00205ACC 90 01 00 44 */ stw r0, 0x44(r1) /* 80208B70 00205AD0 90 01 00 40 */ stw r0, 0x40(r1) /* 80208B74 00205AD4 48 18 13 81 */ bl __shl2i /* 80208B78 00205AD8 80 A1 00 40 */ lwz r5, 0x40(r1) /* 80208B7C 00205ADC 38 01 00 14 */ addi r0, r1, 0x14 /* 80208B80 00205AE0 80 C1 00 44 */ lwz r6, 0x44(r1) /* 80208B84 00205AE4 7F A8 EB 78 */ mr r8, r29 /* 80208B88 00205AE8 7C A3 1B 78 */ or r3, r5, r3 /* 80208B8C 00205AEC A0 BB 00 00 */ lhz r5, 0(r27) /* 80208B90 00205AF0 7C C6 23 78 */ or r6, r6, r4 /* 80208B94 00205AF4 90 61 00 40 */ stw r3, 0x40(r1) /* 80208B98 00205AF8 7F 03 C3 78 */ mr r3, r24 /* 80208B9C 00205AFC 38 81 00 18 */ addi r4, r1, 0x18 /* 80208BA0 00205B00 90 C1 00 44 */ stw r6, 0x44(r1) /* 80208BA4 00205B04 38 C1 00 54 */ addi r6, r1, 0x54 /* 80208BA8 00205B08 38 E1 00 7C */ addi r7, r1, 0x7c /* 80208BAC 00205B0C 39 21 00 C4 */ addi r9, r1, 0xc4 /* 80208BB0 00205B10 B0 A1 00 18 */ sth r5, 0x18(r1) /* 80208BB4 00205B14 39 41 00 40 */ addi r10, r1, 0x40 /* 80208BB8 00205B18 38 A0 00 01 */ li r5, 1 /* 80208BBC 00205B1C 93 41 00 08 */ stw r26, 8(r1) /* 80208BC0 00205B20 90 01 00 0C */ stw r0, 0xc(r1) /* 80208BC4 00205B24 4B E4 CC 5D */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 80208BC8 00205B28 38 61 00 C4 */ addi r3, r1, 0xc4 /* 80208BCC 00205B2C 38 80 FF FF */ li r4, -1 /* 80208BD0 00205B30 4B F0 DE 7D */ bl __dt__10CModelDataFv /* 80208BD4 00205B34 80 01 00 84 */ lwz r0, 0x84(r1) /* 80208BD8 00205B38 80 61 00 8C */ lwz r3, 0x8c(r1) /* 80208BDC 00205B3C 1C 00 00 0C */ mulli r0, r0, 0xc /* 80208BE0 00205B40 90 61 00 20 */ stw r3, 0x20(r1) /* 80208BE4 00205B44 7C 64 1B 78 */ mr r4, r3 /* 80208BE8 00205B48 7C 03 02 14 */ add r0, r3, r0 /* 80208BEC 00205B4C 90 61 00 1C */ stw r3, 0x1c(r1) /* 80208BF0 00205B50 90 01 00 28 */ stw r0, 0x28(r1) /* 80208BF4 00205B54 90 01 00 24 */ stw r0, 0x24(r1) /* 80208BF8 00205B58 48 00 00 08 */ b lbl_80208C00 lbl_80208BFC: /* 80208BFC 00205B5C 38 84 00 0C */ addi r4, r4, 0xc lbl_80208C00: /* 80208C00 00205B60 7C 04 00 40 */ cmplw r4, r0 /* 80208C04 00205B64 40 82 FF F8 */ bne lbl_80208BFC /* 80208C08 00205B68 28 03 00 00 */ cmplwi r3, 0 /* 80208C0C 00205B6C 41 82 00 08 */ beq lbl_80208C14 /* 80208C10 00205B70 48 10 CD 21 */ bl Free__7CMemoryFPCv lbl_80208C14: /* 80208C14 00205B74 38 61 00 54 */ addi r3, r1, 0x54 /* 80208C18 00205B78 48 13 4E C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80208C1C 00205B7C 3C 80 80 3E */ lis r4, lbl_803E6FD8@ha /* 80208C20 00205B80 3C 60 80 3D */ lis r3, lbl_803D2738@ha /* 80208C24 00205B84 38 04 6F D8 */ addi r0, r4, lbl_803E6FD8@l /* 80208C28 00205B88 3A E0 00 00 */ li r23, 0 /* 80208C2C 00205B8C 90 18 00 00 */ stw r0, 0(r24) /* 80208C30 00205B90 38 83 27 38 */ addi r4, r3, lbl_803D2738@l /* 80208C34 00205B94 38 60 03 40 */ li r3, 0x340 /* 80208C38 00205B98 38 A0 00 00 */ li r5, 0 /* 80208C3C 00205B9C 48 10 CC 31 */ bl __nw__FUlPCcPCc /* 80208C40 00205BA0 7C 7A 1B 79 */ or. r26, r3, r3 /* 80208C44 00205BA4 41 82 00 2C */ beq lbl_80208C70 /* 80208C48 00205BA8 7F 24 CB 78 */ mr r4, r25 /* 80208C4C 00205BAC 38 61 00 34 */ addi r3, r1, 0x34 /* 80208C50 00205BB0 48 13 82 59 */ bl __ct__6CTokenFRC6CToken /* 80208C54 00205BB4 7F 43 D3 78 */ mr r3, r26 /* 80208C58 00205BB8 38 81 00 34 */ addi r4, r1, 0x34 /* 80208C5C 00205BBC 3A E0 00 01 */ li r23, 1 /* 80208C60 00205BC0 38 A0 00 00 */ li r5, 0 /* 80208C64 00205BC4 38 C0 00 01 */ li r6, 1 /* 80208C68 00205BC8 48 11 67 79 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 80208C6C 00205BCC 7C 7A 1B 78 */ mr r26, r3 lbl_80208C70: /* 80208C70 00205BD0 7C 7A 00 D0 */ neg r3, r26 /* 80208C74 00205BD4 7E E0 07 75 */ extsb. r0, r23 /* 80208C78 00205BD8 7C 60 D3 78 */ or r0, r3, r26 /* 80208C7C 00205BDC 54 00 0F FE */ srwi r0, r0, 0x1f /* 80208C80 00205BE0 98 18 00 E8 */ stb r0, 0xe8(r24) /* 80208C84 00205BE4 93 58 00 EC */ stw r26, 0xec(r24) /* 80208C88 00205BE8 41 82 00 10 */ beq lbl_80208C98 /* 80208C8C 00205BEC 38 61 00 34 */ addi r3, r1, 0x34 /* 80208C90 00205BF0 38 80 00 00 */ li r4, 0 /* 80208C94 00205BF4 48 13 81 AD */ bl __dt__6CTokenFv lbl_80208C98: /* 80208C98 00205BF8 A0 7C 00 00 */ lhz r3, 0(r28) /* 80208C9C 00205BFC 38 00 00 00 */ li r0, 0 /* 80208CA0 00205C00 C0 02 B1 18 */ lfs f0, lbl_805ACE38@sda21(r2) /* 80208CA4 00205C04 7F A4 EB 78 */ mr r4, r29 /* 80208CA8 00205C08 B0 78 00 F0 */ sth r3, 0xf0(r24) /* 80208CAC 00205C0C 7F E5 FB 78 */ mr r5, r31 /* 80208CB0 00205C10 38 78 01 30 */ addi r3, r24, 0x130 /* 80208CB4 00205C14 80 DE 00 00 */ lwz r6, 0(r30) /* 80208CB8 00205C18 90 D8 00 F4 */ stw r6, 0xf4(r24) /* 80208CBC 00205C1C 88 DE 00 04 */ lbz r6, 4(r30) /* 80208CC0 00205C20 98 D8 00 F8 */ stb r6, 0xf8(r24) /* 80208CC4 00205C24 C0 3E 00 08 */ lfs f1, 8(r30) /* 80208CC8 00205C28 D0 38 00 FC */ stfs f1, 0xfc(r24) /* 80208CCC 00205C2C C0 3E 00 0C */ lfs f1, 0xc(r30) /* 80208CD0 00205C30 D0 38 01 00 */ stfs f1, 0x100(r24) /* 80208CD4 00205C34 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 80208CD8 00205C38 D0 38 01 04 */ stfs f1, 0x104(r24) /* 80208CDC 00205C3C C0 3E 00 14 */ lfs f1, 0x14(r30) /* 80208CE0 00205C40 D0 38 01 08 */ stfs f1, 0x108(r24) /* 80208CE4 00205C44 88 DE 00 18 */ lbz r6, 0x18(r30) /* 80208CE8 00205C48 98 D8 01 0C */ stb r6, 0x10c(r24) /* 80208CEC 00205C4C 98 18 01 28 */ stb r0, 0x128(r24) /* 80208CF0 00205C50 D0 18 01 2C */ stfs f0, 0x12c(r24) /* 80208CF4 00205C54 48 0C D2 A1 */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f /* 80208CF8 00205C58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80208CFC 00205C5C 7F A4 EB 78 */ mr r4, r29 /* 80208D00 00205C60 38 61 00 94 */ addi r3, r1, 0x94 /* 80208D04 00205C64 B0 18 01 6C */ sth r0, 0x16c(r24) /* 80208D08 00205C68 83 38 00 EC */ lwz r25, 0xec(r24) /* 80208D0C 00205C6C 48 10 9F 35 */ bl GetRotation__12CTransform4fCFv /* 80208D10 00205C70 7F 23 CB 78 */ mr r3, r25 /* 80208D14 00205C74 38 81 00 94 */ addi r4, r1, 0x94 /* 80208D18 00205C78 81 99 00 00 */ lwz r12, 0(r25) /* 80208D1C 00205C7C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80208D20 00205C80 7D 89 03 A6 */ mtctr r12 /* 80208D24 00205C84 4E 80 04 21 */ bctrl /* 80208D28 00205C88 C0 5D 00 2C */ lfs f2, 0x2c(r29) /* 80208D2C 00205C8C 38 81 00 48 */ addi r4, r1, 0x48 /* 80208D30 00205C90 C0 3D 00 1C */ lfs f1, 0x1c(r29) /* 80208D34 00205C94 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80208D38 00205C98 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 80208D3C 00205C9C D0 01 00 48 */ stfs f0, 0x48(r1) /* 80208D40 00205CA0 D0 41 00 50 */ stfs f2, 0x50(r1) /* 80208D44 00205CA4 80 78 00 EC */ lwz r3, 0xec(r24) /* 80208D48 00205CA8 81 83 00 00 */ lwz r12, 0(r3) /* 80208D4C 00205CAC 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80208D50 00205CB0 7D 89 03 A6 */ mtctr r12 /* 80208D54 00205CB4 4E 80 04 21 */ bctrl /* 80208D58 00205CB8 80 98 00 EC */ lwz r4, 0xec(r24) /* 80208D5C 00205CBC 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80208D60 00205CC0 38 A3 66 70 */ addi r5, r3, skIdentity4f@l /* 80208D64 00205CC4 38 60 00 01 */ li r3, 1 /* 80208D68 00205CC8 88 04 02 6D */ lbz r0, 0x26d(r4) /* 80208D6C 00205CCC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80208D70 00205CD0 98 04 02 6D */ stb r0, 0x26d(r4) /* 80208D74 00205CD4 38 61 00 64 */ addi r3, r1, 0x64 /* 80208D78 00205CD8 38 98 01 30 */ addi r4, r24, 0x130 /* 80208D7C 00205CDC 48 0C D0 5D */ bl CalculateAABox__6COBBoxCFRC12CTransform4f /* 80208D80 00205CE0 88 18 01 28 */ lbz r0, 0x128(r24) /* 80208D84 00205CE4 28 00 00 00 */ cmplwi r0, 0 /* 80208D88 00205CE8 40 82 00 48 */ bne lbl_80208DD0 /* 80208D8C 00205CEC 34 78 01 10 */ addic. r3, r24, 0x110 /* 80208D90 00205CF0 41 82 00 34 */ beq lbl_80208DC4 /* 80208D94 00205CF4 C0 01 00 64 */ lfs f0, 0x64(r1) /* 80208D98 00205CF8 D0 03 00 00 */ stfs f0, 0(r3) /* 80208D9C 00205CFC C0 01 00 68 */ lfs f0, 0x68(r1) /* 80208DA0 00205D00 D0 03 00 04 */ stfs f0, 4(r3) /* 80208DA4 00205D04 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 80208DA8 00205D08 D0 03 00 08 */ stfs f0, 8(r3) /* 80208DAC 00205D0C C0 01 00 70 */ lfs f0, 0x70(r1) /* 80208DB0 00205D10 D0 03 00 0C */ stfs f0, 0xc(r3) /* 80208DB4 00205D14 C0 01 00 74 */ lfs f0, 0x74(r1) /* 80208DB8 00205D18 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80208DBC 00205D1C C0 01 00 78 */ lfs f0, 0x78(r1) /* 80208DC0 00205D20 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_80208DC4: /* 80208DC4 00205D24 38 00 00 01 */ li r0, 1 /* 80208DC8 00205D28 98 18 01 28 */ stb r0, 0x128(r24) /* 80208DCC 00205D2C 48 00 00 34 */ b lbl_80208E00 lbl_80208DD0: /* 80208DD0 00205D30 80 61 00 64 */ lwz r3, 0x64(r1) /* 80208DD4 00205D34 80 01 00 68 */ lwz r0, 0x68(r1) /* 80208DD8 00205D38 90 78 01 10 */ stw r3, 0x110(r24) /* 80208DDC 00205D3C 90 18 01 14 */ stw r0, 0x114(r24) /* 80208DE0 00205D40 80 01 00 6C */ lwz r0, 0x6c(r1) /* 80208DE4 00205D44 90 18 01 18 */ stw r0, 0x118(r24) /* 80208DE8 00205D48 80 61 00 70 */ lwz r3, 0x70(r1) /* 80208DEC 00205D4C 80 01 00 74 */ lwz r0, 0x74(r1) /* 80208DF0 00205D50 90 78 01 1C */ stw r3, 0x11c(r24) /* 80208DF4 00205D54 90 18 01 20 */ stw r0, 0x120(r24) /* 80208DF8 00205D58 80 01 00 78 */ lwz r0, 0x78(r1) /* 80208DFC 00205D5C 90 18 01 24 */ stw r0, 0x124(r24) lbl_80208E00: /* 80208E00 00205D60 7F 03 C3 78 */ mr r3, r24 /* 80208E04 00205D64 BA E1 01 1C */ lmw r23, 0x11c(r1) /* 80208E08 00205D68 80 01 01 44 */ lwz r0, 0x144(r1) /* 80208E0C 00205D6C 7C 08 03 A6 */ mtlr r0 /* 80208E10 00205D70 38 21 01 40 */ addi r1, r1, 0x140 /* 80208E14 00205D74 4E 80 00 20 */ blr .global WaitForModelsAndTextures__18CWorldTransManagerFv WaitForModelsAndTextures__18CWorldTransManagerFv: /* 80208E18 00205D78 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 80208E1C 00205D7C 7C 08 02 A6 */ mflr r0 /* 80208E20 00205D80 90 01 00 D4 */ stw r0, 0xd4(r1) /* 80208E24 00205D84 38 61 00 60 */ addi r3, r1, 0x60 /* 80208E28 00205D88 BF 41 00 B8 */ stmw r26, 0xb8(r1) /* 80208E2C 00205D8C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80208E30 00205D90 48 13 71 B9 */ bl GetReferencedTags__11CSimplePoolFv /* 80208E34 00205D94 80 01 00 64 */ lwz r0, 0x64(r1) /* 80208E38 00205D98 80 61 00 68 */ lwz r3, 0x68(r1) /* 80208E3C 00205D9C 2C 00 00 00 */ cmpwi r0, 0 /* 80208E40 00205DA0 90 01 00 74 */ stw r0, 0x74(r1) /* 80208E44 00205DA4 90 61 00 78 */ stw r3, 0x78(r1) /* 80208E48 00205DA8 40 82 00 18 */ bne lbl_80208E60 /* 80208E4C 00205DAC 2C 03 00 00 */ cmpwi r3, 0 /* 80208E50 00205DB0 40 82 00 10 */ bne lbl_80208E60 /* 80208E54 00205DB4 38 00 00 00 */ li r0, 0 /* 80208E58 00205DB8 90 01 00 7C */ stw r0, 0x7c(r1) /* 80208E5C 00205DBC 48 00 00 6C */ b lbl_80208EC8 lbl_80208E60: /* 80208E60 00205DC0 80 01 00 78 */ lwz r0, 0x78(r1) /* 80208E64 00205DC4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c /* 80208E68 00205DC8 40 82 00 10 */ bne lbl_80208E78 /* 80208E6C 00205DCC 38 00 00 00 */ li r0, 0 /* 80208E70 00205DD0 90 01 00 7C */ stw r0, 0x7c(r1) /* 80208E74 00205DD4 48 00 00 18 */ b lbl_80208E8C lbl_80208E78: /* 80208E78 00205DD8 3C 80 80 3D */ lis r4, lbl_803D2768@ha /* 80208E7C 00205DDC 38 A0 00 00 */ li r5, 0 /* 80208E80 00205DE0 38 84 27 68 */ addi r4, r4, lbl_803D2768@l /* 80208E84 00205DE4 48 10 C9 95 */ bl __nwa__FUlPCcPCc /* 80208E88 00205DE8 90 61 00 7C */ stw r3, 0x7c(r1) lbl_80208E8C: /* 80208E8C 00205DEC 80 01 00 74 */ lwz r0, 0x74(r1) /* 80208E90 00205DF0 80 81 00 6C */ lwz r4, 0x6c(r1) /* 80208E94 00205DF4 80 61 00 7C */ lwz r3, 0x7c(r1) /* 80208E98 00205DF8 7C 09 03 A6 */ mtctr r0 /* 80208E9C 00205DFC 2C 00 00 00 */ cmpwi r0, 0 /* 80208EA0 00205E00 40 81 00 28 */ ble lbl_80208EC8 lbl_80208EA4: /* 80208EA4 00205E04 28 03 00 00 */ cmplwi r3, 0 /* 80208EA8 00205E08 41 82 00 14 */ beq lbl_80208EBC /* 80208EAC 00205E0C 80 04 00 00 */ lwz r0, 0(r4) /* 80208EB0 00205E10 90 03 00 00 */ stw r0, 0(r3) /* 80208EB4 00205E14 80 04 00 04 */ lwz r0, 4(r4) /* 80208EB8 00205E18 90 03 00 04 */ stw r0, 4(r3) lbl_80208EBC: /* 80208EBC 00205E1C 38 63 00 08 */ addi r3, r3, 8 /* 80208EC0 00205E20 38 84 00 08 */ addi r4, r4, 8 /* 80208EC4 00205E24 42 00 FF E0 */ bdnz lbl_80208EA4 lbl_80208EC8: /* 80208EC8 00205E28 80 01 00 64 */ lwz r0, 0x64(r1) /* 80208ECC 00205E2C 80 61 00 6C */ lwz r3, 0x6c(r1) /* 80208ED0 00205E30 54 00 18 38 */ slwi r0, r0, 3 /* 80208ED4 00205E34 7C 03 02 14 */ add r0, r3, r0 /* 80208ED8 00205E38 90 61 00 1C */ stw r3, 0x1c(r1) /* 80208EDC 00205E3C 7C 64 1B 78 */ mr r4, r3 /* 80208EE0 00205E40 90 01 00 24 */ stw r0, 0x24(r1) /* 80208EE4 00205E44 90 01 00 20 */ stw r0, 0x20(r1) /* 80208EE8 00205E48 90 61 00 18 */ stw r3, 0x18(r1) /* 80208EEC 00205E4C 48 00 00 08 */ b lbl_80208EF4 lbl_80208EF0: /* 80208EF0 00205E50 38 84 00 08 */ addi r4, r4, 8 lbl_80208EF4: /* 80208EF4 00205E54 7C 04 00 40 */ cmplw r4, r0 /* 80208EF8 00205E58 40 82 FF F8 */ bne lbl_80208EF0 /* 80208EFC 00205E5C 28 03 00 00 */ cmplwi r3, 0 /* 80208F00 00205E60 41 82 00 08 */ beq lbl_80208F08 /* 80208F04 00205E64 48 10 CA 2D */ bl Free__7CMemoryFPCv lbl_80208F08: /* 80208F08 00205E68 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha /* 80208F0C 00205E6C 38 81 00 AC */ addi r4, r1, 0xac /* 80208F10 00205E70 38 63 FF FF */ addi r3, r3, 0x7FFFFFFF@l /* 80208F14 00205E74 38 00 00 00 */ li r0, 0 /* 80208F18 00205E78 90 6D A8 70 */ stw r3, lbl_805A9430@sda21(r13) /* 80208F1C 00205E7C 90 81 00 A4 */ stw r4, 0xa4(r1) /* 80208F20 00205E80 90 81 00 A8 */ stw r4, 0xa8(r1) /* 80208F24 00205E84 90 81 00 AC */ stw r4, 0xac(r1) /* 80208F28 00205E88 90 81 00 B0 */ stw r4, 0xb0(r1) /* 80208F2C 00205E8C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80208F30 00205E90 48 16 3D CD */ bl sub_8036ccfc /* 80208F34 00205E94 80 01 00 74 */ lwz r0, 0x74(r1) /* 80208F38 00205E98 3B C0 00 00 */ li r30, 0 /* 80208F3C 00205E9C 80 61 00 7C */ lwz r3, 0x7c(r1) /* 80208F40 00205EA0 54 00 18 38 */ slwi r0, r0, 3 /* 80208F44 00205EA4 7F A3 02 14 */ add r29, r3, r0 lbl_80208F48: /* 80208F48 00205EA8 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80208F4C 00205EAC 48 00 02 8C */ b lbl_802091D8 lbl_80208F50: /* 80208F50 00205EB0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80208F54 00205EB4 7F E5 FB 78 */ mr r5, r31 /* 80208F58 00205EB8 38 61 00 40 */ addi r3, r1, 0x40 /* 80208F5C 00205EBC 81 84 00 00 */ lwz r12, 0(r4) /* 80208F60 00205EC0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80208F64 00205EC4 7D 89 03 A6 */ mtctr r12 /* 80208F68 00205EC8 4E 80 04 21 */ bctrl /* 80208F6C 00205ECC 80 A1 00 40 */ lwz r5, 0x40(r1) /* 80208F70 00205ED0 38 61 00 40 */ addi r3, r1, 0x40 /* 80208F74 00205ED4 38 80 FF FF */ li r4, -1 /* 80208F78 00205ED8 80 A5 00 10 */ lwz r5, 0x10(r5) /* 80208F7C 00205EDC 7C 05 00 D0 */ neg r0, r5 /* 80208F80 00205EE0 7C 00 2B 78 */ or r0, r0, r5 /* 80208F84 00205EE4 54 1A 0F FE */ srwi r26, r0, 0x1f /* 80208F88 00205EE8 48 13 7E B9 */ bl __dt__6CTokenFv /* 80208F8C 00205EEC 28 1A 00 00 */ cmplwi r26, 0 /* 80208F90 00205EF0 41 82 02 44 */ beq lbl_802091D4 /* 80208F94 00205EF4 80 7F 00 00 */ lwz r3, 0(r31) /* 80208F98 00205EF8 3C 03 AB A8 */ addis r0, r3, 0xaba8 /* 80208F9C 00205EFC 28 00 54 52 */ cmplwi r0, 0x5452 /* 80208FA0 00205F00 40 82 00 BC */ bne lbl_8020905C /* 80208FA4 00205F04 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80208FA8 00205F08 7F E5 FB 78 */ mr r5, r31 /* 80208FAC 00205F0C 38 61 00 38 */ addi r3, r1, 0x38 /* 80208FB0 00205F10 81 84 00 00 */ lwz r12, 0(r4) /* 80208FB4 00205F14 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80208FB8 00205F18 7D 89 03 A6 */ mtctr r12 /* 80208FBC 00205F1C 4E 80 04 21 */ bctrl /* 80208FC0 00205F20 38 61 00 58 */ addi r3, r1, 0x58 /* 80208FC4 00205F24 38 81 00 38 */ addi r4, r1, 0x38 /* 80208FC8 00205F28 48 13 7E E1 */ bl __ct__6CTokenFRC6CToken /* 80208FCC 00205F2C 38 61 00 38 */ addi r3, r1, 0x38 /* 80208FD0 00205F30 38 80 FF FF */ li r4, -1 /* 80208FD4 00205F34 48 13 7E 6D */ bl __dt__6CTokenFv /* 80208FD8 00205F38 2C 1E 00 00 */ cmpwi r30, 0 /* 80208FDC 00205F3C 40 82 00 60 */ bne lbl_8020903C /* 80208FE0 00205F40 38 61 00 58 */ addi r3, r1, 0x58 /* 80208FE4 00205F44 48 13 7E 29 */ bl GetObj__6CTokenFv /* 80208FE8 00205F48 80 63 00 04 */ lwz r3, 4(r3) /* 80208FEC 00205F4C 48 10 51 CD */ bl MakeSwappable__8CTextureCFv /* 80208FF0 00205F50 38 61 00 58 */ addi r3, r1, 0x58 /* 80208FF4 00205F54 48 13 7E 19 */ bl GetObj__6CTokenFv /* 80208FF8 00205F58 80 63 00 04 */ lwz r3, 4(r3) /* 80208FFC 00205F5C 48 10 5B 85 */ bl LoadToARAM__8CTextureCFv /* 80209000 00205F60 38 61 00 58 */ addi r3, r1, 0x58 /* 80209004 00205F64 48 13 7E 09 */ bl GetObj__6CTokenFv /* 80209008 00205F68 80 63 00 04 */ lwz r3, 4(r3) /* 8020900C 00205F6C 48 10 5B 41 */ bl IsARAMTransferInProgress__8CTextureCFv /* 80209010 00205F70 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80209014 00205F74 41 82 00 38 */ beq lbl_8020904C /* 80209018 00205F78 48 00 00 08 */ b lbl_80209020 lbl_8020901C: /* 8020901C 00205F7C 48 14 F5 1D */ bl UpdateAllDMAs__10CARAMTokenFv lbl_80209020: /* 80209020 00205F80 38 61 00 58 */ addi r3, r1, 0x58 /* 80209024 00205F84 48 13 7D E9 */ bl GetObj__6CTokenFv /* 80209028 00205F88 80 63 00 04 */ lwz r3, 4(r3) /* 8020902C 00205F8C 48 10 5B 21 */ bl IsARAMTransferInProgress__8CTextureCFv /* 80209030 00205F90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80209034 00205F94 40 82 FF E8 */ bne lbl_8020901C /* 80209038 00205F98 48 00 00 14 */ b lbl_8020904C lbl_8020903C: /* 8020903C 00205F9C 38 61 00 58 */ addi r3, r1, 0x58 /* 80209040 00205FA0 48 13 7D CD */ bl GetObj__6CTokenFv /* 80209044 00205FA4 80 63 00 04 */ lwz r3, 4(r3) /* 80209048 00205FA8 48 10 5B E1 */ bl LoadToMRAM__8CTextureCFv lbl_8020904C: /* 8020904C 00205FAC 38 61 00 58 */ addi r3, r1, 0x58 /* 80209050 00205FB0 38 80 00 00 */ li r4, 0 /* 80209054 00205FB4 48 13 7D ED */ bl __dt__6CTokenFv /* 80209058 00205FB8 48 00 01 7C */ b lbl_802091D4 lbl_8020905C: /* 8020905C 00205FBC 3C 03 BC B3 */ addis r0, r3, 0xbcb3 /* 80209060 00205FC0 28 00 44 4C */ cmplwi r0, 0x444c /* 80209064 00205FC4 40 82 01 70 */ bne lbl_802091D4 /* 80209068 00205FC8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020906C 00205FCC 7F E5 FB 78 */ mr r5, r31 /* 80209070 00205FD0 38 61 00 30 */ addi r3, r1, 0x30 /* 80209074 00205FD4 81 84 00 00 */ lwz r12, 0(r4) /* 80209078 00205FD8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8020907C 00205FDC 7D 89 03 A6 */ mtctr r12 /* 80209080 00205FE0 4E 80 04 21 */ bctrl /* 80209084 00205FE4 38 61 00 50 */ addi r3, r1, 0x50 /* 80209088 00205FE8 38 81 00 30 */ addi r4, r1, 0x30 /* 8020908C 00205FEC 48 13 7E 1D */ bl __ct__6CTokenFRC6CToken /* 80209090 00205FF0 38 61 00 30 */ addi r3, r1, 0x30 /* 80209094 00205FF4 38 80 FF FF */ li r4, -1 /* 80209098 00205FF8 48 13 7D A9 */ bl __dt__6CTokenFv /* 8020909C 00205FFC 38 61 00 50 */ addi r3, r1, 0x50 /* 802090A0 00206000 48 13 7D 6D */ bl GetObj__6CTokenFv /* 802090A4 00206004 2C 1E 00 00 */ cmpwi r30, 0 /* 802090A8 00206008 83 43 00 04 */ lwz r26, 4(r3) /* 802090AC 0020600C 40 82 00 F4 */ bne lbl_802091A0 /* 802090B0 00206010 7F 44 D3 78 */ mr r4, r26 /* 802090B4 00206014 38 61 00 28 */ addi r3, r1, 0x28 /* 802090B8 00206018 48 14 C2 99 */ bl sub_80355350 /* 802090BC 0020601C 88 81 00 28 */ lbz r4, 0x28(r1) /* 802090C0 00206020 38 00 00 00 */ li r0, 0 /* 802090C4 00206024 80 61 00 2C */ lwz r3, 0x2c(r1) /* 802090C8 00206028 98 81 00 48 */ stb r4, 0x48(r1) /* 802090CC 0020602C 90 61 00 4C */ stw r3, 0x4c(r1) /* 802090D0 00206030 98 01 00 28 */ stb r0, 0x28(r1) /* 802090D4 00206034 48 00 00 08 */ b lbl_802090DC /* 802090D8 00206038 48 10 C8 59 */ bl Free__7CMemoryFPCv lbl_802090DC: /* 802090DC 0020603C 7F 43 D3 78 */ mr r3, r26 /* 802090E0 00206040 48 14 C2 8D */ bl sub_8035536c /* 802090E4 00206044 38 00 00 00 */ li r0, 0 /* 802090E8 00206048 38 63 00 1F */ addi r3, r3, 0x1f /* 802090EC 0020604C 98 01 00 48 */ stb r0, 0x48(r1) /* 802090F0 00206050 54 65 00 34 */ rlwinm r5, r3, 0, 0, 0x1a /* 802090F4 00206054 80 81 00 4C */ lwz r4, 0x4c(r1) /* 802090F8 00206058 38 61 00 80 */ addi r3, r1, 0x80 /* 802090FC 0020605C 38 C0 00 01 */ li r6, 1 /* 80209100 00206060 48 14 F9 4D */ bl __ct__10CARAMTokenFPvUi /* 80209104 00206064 38 61 00 80 */ addi r3, r1, 0x80 /* 80209108 00206068 48 14 F5 71 */ bl LoadToARAM__10CARAMTokenFv /* 8020910C 0020606C 38 61 00 80 */ addi r3, r1, 0x80 /* 80209110 00206070 48 14 F2 79 */ bl sub_80358388 /* 80209114 00206074 83 61 00 A8 */ lwz r27, 0xa8(r1) /* 80209118 00206078 3C 60 80 3D */ lis r3, lbl_803D2768@ha /* 8020911C 0020607C 38 83 27 68 */ addi r4, r3, lbl_803D2768@l /* 80209120 00206080 38 A0 00 00 */ li r5, 0 /* 80209124 00206084 83 5B 00 00 */ lwz r26, 0(r27) /* 80209128 00206088 38 60 00 28 */ li r3, 0x28 /* 8020912C 0020608C 48 10 C6 ED */ bl __nwa__FUlPCcPCc /* 80209130 00206090 7C 7C 1B 79 */ or. r28, r3, r3 /* 80209134 00206094 41 82 00 0C */ beq lbl_80209140 /* 80209138 00206098 93 5C 00 00 */ stw r26, 0(r28) /* 8020913C 0020609C 93 7C 00 04 */ stw r27, 4(r28) lbl_80209140: /* 80209140 002060A0 34 7C 00 08 */ addic. r3, r28, 8 /* 80209144 002060A4 41 82 00 0C */ beq lbl_80209150 /* 80209148 002060A8 38 81 00 80 */ addi r4, r1, 0x80 /* 8020914C 002060AC 48 14 F8 81 */ bl __ct__10CARAMTokenFRC10CARAMToken lbl_80209150: /* 80209150 002060B0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80209154 002060B4 7C 1B 00 40 */ cmplw r27, r0 /* 80209158 002060B8 40 82 00 08 */ bne lbl_80209160 /* 8020915C 002060BC 93 81 00 A4 */ stw r28, 0xa4(r1) lbl_80209160: /* 80209160 002060C0 80 BC 00 00 */ lwz r5, 0(r28) /* 80209164 002060C4 38 61 00 80 */ addi r3, r1, 0x80 /* 80209168 002060C8 38 80 FF FF */ li r4, -1 /* 8020916C 002060CC 93 85 00 04 */ stw r28, 4(r5) /* 80209170 002060D0 80 BC 00 04 */ lwz r5, 4(r28) /* 80209174 002060D4 93 85 00 00 */ stw r28, 0(r5) /* 80209178 002060D8 80 A1 00 B4 */ lwz r5, 0xb4(r1) /* 8020917C 002060DC 38 05 00 01 */ addi r0, r5, 1 /* 80209180 002060E0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80209184 002060E4 48 14 F7 C1 */ bl __dt__10CARAMTokenFv /* 80209188 002060E8 88 01 00 48 */ lbz r0, 0x48(r1) /* 8020918C 002060EC 28 00 00 00 */ cmplwi r0, 0 /* 80209190 002060F0 41 82 00 38 */ beq lbl_802091C8 /* 80209194 002060F4 80 61 00 4C */ lwz r3, 0x4c(r1) /* 80209198 002060F8 48 10 C7 99 */ bl Free__7CMemoryFPCv /* 8020919C 002060FC 48 00 00 2C */ b lbl_802091C8 lbl_802091A0: /* 802091A0 00206100 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 802091A4 00206104 38 63 00 08 */ addi r3, r3, 8 /* 802091A8 00206108 48 14 F2 2D */ bl sub_803583d4 /* 802091AC 0020610C 80 81 00 A4 */ lwz r4, 0xa4(r1) /* 802091B0 00206110 7C 7B 1B 78 */ mr r27, r3 /* 802091B4 00206114 38 61 00 A0 */ addi r3, r1, 0xa0 /* 802091B8 00206118 48 00 26 5D */ bl sub_8020b814 /* 802091BC 0020611C 7F 43 D3 78 */ mr r3, r26 /* 802091C0 00206120 7F 64 DB 78 */ mr r4, r27 /* 802091C4 00206124 48 14 BF 8D */ bl sub_80355150 lbl_802091C8: /* 802091C8 00206128 38 61 00 50 */ addi r3, r1, 0x50 /* 802091CC 0020612C 38 80 00 00 */ li r4, 0 /* 802091D0 00206130 48 13 7C 71 */ bl __dt__6CTokenFv lbl_802091D4: /* 802091D4 00206134 3B FF 00 08 */ addi r31, r31, 8 lbl_802091D8: /* 802091D8 00206138 7C 1F E8 40 */ cmplw r31, r29 /* 802091DC 0020613C 40 82 FD 74 */ bne lbl_80208F50 /* 802091E0 00206140 3B DE 00 01 */ addi r30, r30, 1 /* 802091E4 00206144 2C 1E 00 02 */ cmpwi r30, 2 /* 802091E8 00206148 41 80 FD 60 */ blt lbl_80208F48 /* 802091EC 0020614C 38 00 00 00 */ li r0, 0 /* 802091F0 00206150 38 61 00 A0 */ addi r3, r1, 0xa0 /* 802091F4 00206154 90 0D A8 70 */ stw r0, lbl_805A9430@sda21(r13) /* 802091F8 00206158 38 80 FF FF */ li r4, -1 /* 802091FC 0020615C 48 00 26 AD */ bl sub_8020b8a8 /* 80209200 00206160 80 01 00 74 */ lwz r0, 0x74(r1) /* 80209204 00206164 80 61 00 7C */ lwz r3, 0x7c(r1) /* 80209208 00206168 54 00 18 38 */ slwi r0, r0, 3 /* 8020920C 0020616C 7C 03 02 14 */ add r0, r3, r0 /* 80209210 00206170 90 61 00 0C */ stw r3, 0xc(r1) /* 80209214 00206174 7C 64 1B 78 */ mr r4, r3 /* 80209218 00206178 90 01 00 14 */ stw r0, 0x14(r1) /* 8020921C 0020617C 90 01 00 10 */ stw r0, 0x10(r1) /* 80209220 00206180 90 61 00 08 */ stw r3, 8(r1) /* 80209224 00206184 48 00 00 08 */ b lbl_8020922C lbl_80209228: /* 80209228 00206188 38 84 00 08 */ addi r4, r4, 8 lbl_8020922C: /* 8020922C 0020618C 7C 04 00 40 */ cmplw r4, r0 /* 80209230 00206190 40 82 FF F8 */ bne lbl_80209228 /* 80209234 00206194 28 03 00 00 */ cmplwi r3, 0 /* 80209238 00206198 41 82 00 08 */ beq lbl_80209240 /* 8020923C 0020619C 48 10 C6 F5 */ bl Free__7CMemoryFPCv lbl_80209240: /* 80209240 002061A0 BB 41 00 B8 */ lmw r26, 0xb8(r1) /* 80209244 002061A4 38 60 00 01 */ li r3, 1 /* 80209248 002061A8 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8020924C 002061AC 7C 08 03 A6 */ mtlr r0 /* 80209250 002061B0 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80209254 002061B4 4E 80 00 20 */ blr .global StartTextFadeOut__18CWorldTransManagerFv StartTextFadeOut__18CWorldTransManagerFv: /* 80209258 002061B8 88 03 00 44 */ lbz r0, 0x44(r3) /* 8020925C 002061BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80209260 002061C0 40 82 00 0C */ bne lbl_8020926C /* 80209264 002061C4 C0 03 00 00 */ lfs f0, 0(r3) /* 80209268 002061C8 D0 03 00 34 */ stfs f0, 0x34(r3) lbl_8020926C: /* 8020926C 002061CC 88 03 00 44 */ lbz r0, 0x44(r3) /* 80209270 002061D0 38 80 00 01 */ li r4, 1 /* 80209274 002061D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80209278 002061D8 98 03 00 44 */ stb r0, 0x44(r3) /* 8020927C 002061DC 4E 80 00 20 */ blr .global DrawText__18CWorldTransManagerCFv DrawText__18CWorldTransManagerCFv: /* 80209280 002061E0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80209284 002061E4 7C 08 02 A6 */ mflr r0 /* 80209288 002061E8 90 01 00 84 */ stw r0, 0x84(r1) /* 8020928C 002061EC DB E1 00 70 */ stfd f31, 0x70(r1) /* 80209290 002061F0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80209294 002061F4 DB C1 00 60 */ stfd f30, 0x60(r1) /* 80209298 002061F8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 8020929C 002061FC 93 E1 00 5C */ stw r31, 0x5c(r1) /* 802092A0 00206200 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) /* 802092A4 00206204 7C 7F 1B 78 */ mr r31, r3 /* 802092A8 00206208 38 61 00 14 */ addi r3, r1, 0x14 /* 802092AC 0020620C C0 22 B1 20 */ lfs f1, lbl_805ACE40@sda21(r2) /* 802092B0 00206210 81 84 00 00 */ lwz r12, 0(r4) /* 802092B4 00206214 38 A0 00 00 */ li r5, 0 /* 802092B8 00206218 C0 42 B1 24 */ lfs f2, lbl_805ACE44@sda21(r2) /* 802092BC 0020621C 81 8C 00 54 */ lwz r12, 0x54(r12) /* 802092C0 00206220 7D 89 03 A6 */ mtctr r12 /* 802092C4 00206224 4E 80 04 21 */ bctrl /* 802092C8 00206228 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 802092CC 0020622C 38 61 00 24 */ addi r3, r1, 0x24 /* 802092D0 00206230 C0 62 B1 2C */ lfs f3, lbl_805ACE4C@sda21(r2) /* 802092D4 00206234 FC 40 08 90 */ fmr f2, f1 /* 802092D8 00206238 48 10 9E B1 */ bl Translate__12CTransform4fFfff /* 802092DC 0020623C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802092E0 00206240 38 81 00 24 */ addi r4, r1, 0x24 /* 802092E4 00206244 81 83 00 00 */ lwz r12, 0(r3) /* 802092E8 00206248 81 8C 00 30 */ lwz r12, 0x30(r12) /* 802092EC 0020624C 7D 89 03 A6 */ mtctr r12 /* 802092F0 00206250 4E 80 04 21 */ bctrl /* 802092F4 00206254 38 60 00 00 */ li r3, 0 /* 802092F8 00206258 48 10 27 79 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 802092FC 0020625C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80209300 00206260 38 80 00 00 */ li r4, 0 /* 80209304 00206264 38 A0 00 00 */ li r5, 0 /* 80209308 00206268 81 83 00 00 */ lwz r12, 0(r3) /* 8020930C 0020626C 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80209310 00206270 7D 89 03 A6 */ mtctr r12 /* 80209314 00206274 4E 80 04 21 */ bctrl /* 80209318 00206278 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8020931C 0020627C 81 83 00 00 */ lwz r12, 0(r3) /* 80209320 00206280 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80209324 00206284 7D 89 03 A6 */ mtctr r12 /* 80209328 00206288 4E 80 04 21 */ bctrl /* 8020932C 0020628C 80 7F 00 08 */ lwz r3, 8(r31) /* 80209330 00206290 48 0C 02 15 */ bl Render__15CGuiTextSupportFv /* 80209334 00206294 C0 5F 00 00 */ lfs f2, 0(r31) /* 80209338 00206298 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 8020933C 0020629C C3 C2 B1 28 */ lfs f30, lbl_805ACE48@sda21(r2) /* 80209340 002062A0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80209344 002062A4 40 80 00 2C */ bge lbl_80209370 /* 80209348 002062A8 C0 0D 93 E8 */ lfs f0, lbl_805A7FA8@sda21(r13) /* 8020934C 002062AC FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80209350 002062B0 40 80 00 0C */ bge lbl_8020935C /* 80209354 002062B4 7F E3 FB 78 */ mr r3, r31 /* 80209358 002062B8 48 00 00 08 */ b lbl_80209360 lbl_8020935C: /* 8020935C 002062BC 38 6D 93 E8 */ addi r3, r13, lbl_805A7FA8@sda21 lbl_80209360: /* 80209360 002062C0 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209364 002062C4 C0 03 00 00 */ lfs f0, 0(r3) /* 80209368 002062C8 EF C1 00 28 */ fsubs f30, f1, f0 /* 8020936C 002062CC 48 00 00 38 */ b lbl_802093A4 lbl_80209370: /* 80209370 002062D0 88 1F 00 44 */ lbz r0, 0x44(r31) /* 80209374 002062D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80209378 002062D8 41 82 00 2C */ beq lbl_802093A4 /* 8020937C 002062DC C0 3F 00 34 */ lfs f1, 0x34(r31) /* 80209380 002062E0 C0 0D 93 EC */ lfs f0, lbl_805A7FAC@sda21(r13) /* 80209384 002062E4 EC 22 08 28 */ fsubs f1, f2, f1 /* 80209388 002062E8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020938C 002062EC D0 21 00 0C */ stfs f1, 0xc(r1) /* 80209390 002062F0 40 80 00 0C */ bge lbl_8020939C /* 80209394 002062F4 38 61 00 0C */ addi r3, r1, 0xc /* 80209398 002062F8 48 00 00 08 */ b lbl_802093A0 lbl_8020939C: /* 8020939C 002062FC 38 6D 93 EC */ addi r3, r13, lbl_805A7FAC@sda21 lbl_802093A0: /* 802093A0 00206300 C3 C3 00 00 */ lfs f30, 0(r3) lbl_802093A4: /* 802093A4 00206304 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 802093A8 00206308 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 802093AC 0020630C 40 81 00 50 */ ble lbl_802093FC /* 802093B0 00206310 88 1F 00 44 */ lbz r0, 0x44(r31) /* 802093B4 00206314 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 802093B8 00206318 41 82 00 0C */ beq lbl_802093C4 /* 802093BC 0020631C 48 14 0B F1 */ bl White__6CColorFv /* 802093C0 00206320 48 00 00 08 */ b lbl_802093C8 lbl_802093C4: /* 802093C4 00206324 48 14 0B F1 */ bl Black__6CColorFv lbl_802093C8: /* 802093C8 00206328 C0 02 B1 34 */ lfs f0, lbl_805ACE54@sda21(r2) /* 802093CC 0020632C EF E0 07 B2 */ fmuls f31, f0, f30 /* 802093D0 00206330 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 802093D4 00206334 38 A1 00 10 */ addi r5, r1, 0x10 /* 802093D8 00206338 80 E3 00 00 */ lwz r7, 0(r3) /* 802093DC 0020633C 38 60 00 05 */ li r3, 5 /* 802093E0 00206340 88 01 00 08 */ lbz r0, 8(r1) /* 802093E4 00206344 38 80 00 00 */ li r4, 0 /* 802093E8 00206348 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 /* 802093EC 0020634C C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 802093F0 00206350 90 01 00 10 */ stw r0, 0x10(r1) /* 802093F4 00206354 38 C0 00 00 */ li r6, 0 /* 802093F8 00206358 4B EE 2D 51 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef lbl_802093FC: /* 802093FC 0020635C 38 60 00 01 */ li r3, 1 /* 80209400 00206360 48 10 00 A9 */ bl SetIsBeginSceneClearFb__9CGraphicsFb /* 80209404 00206364 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80209408 00206368 CB E1 00 70 */ lfd f31, 0x70(r1) /* 8020940C 0020636C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 80209410 00206370 CB C1 00 60 */ lfd f30, 0x60(r1) /* 80209414 00206374 80 01 00 84 */ lwz r0, 0x84(r1) /* 80209418 00206378 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8020941C 0020637C 7C 08 03 A6 */ mtlr r0 /* 80209420 00206380 38 21 00 80 */ addi r1, r1, 0x80 /* 80209424 00206384 4E 80 00 20 */ blr .global UpdateText__18CWorldTransManagerFf UpdateText__18CWorldTransManagerFf: /* 80209428 00206388 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020942C 0020638C 7C 08 02 A6 */ mflr r0 /* 80209430 00206390 90 01 00 44 */ stw r0, 0x44(r1) /* 80209434 00206394 DB E1 00 30 */ stfd f31, 0x30(r1) /* 80209438 00206398 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8020943C 0020639C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80209440 002063A0 88 03 00 44 */ lbz r0, 0x44(r3) /* 80209444 002063A4 FF E0 08 90 */ fmr f31, f1 /* 80209448 002063A8 7C 7F 1B 78 */ mr r31, r3 /* 8020944C 002063AC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80209450 002063B0 41 82 00 C0 */ beq lbl_80209510 /* 80209454 002063B4 38 61 00 10 */ addi r3, r1, 0x10 /* 80209458 002063B8 38 9F 00 0C */ addi r4, r31, 0xc /* 8020945C 002063BC 48 13 7A 4D */ bl __ct__6CTokenFRC6CToken /* 80209460 002063C0 80 61 00 10 */ lwz r3, 0x10(r1) /* 80209464 002063C4 80 03 00 10 */ lwz r0, 0x10(r3) /* 80209468 002063C8 28 00 00 00 */ cmplwi r0, 0 /* 8020946C 002063CC 41 82 00 7C */ beq lbl_802094E8 /* 80209470 002063D0 38 61 00 10 */ addi r3, r1, 0x10 /* 80209474 002063D4 48 13 79 99 */ bl GetObj__6CTokenFv /* 80209478 002063D8 80 63 00 04 */ lwz r3, 4(r3) /* 8020947C 002063DC 80 9F 00 40 */ lwz r4, 0x40(r31) /* 80209480 002063E0 80 03 00 00 */ lwz r0, 0(r3) /* 80209484 002063E4 7C 04 00 00 */ cmpw r4, r0 /* 80209488 002063E8 40 80 00 44 */ bge lbl_802094CC /* 8020948C 002063EC 38 61 00 10 */ addi r3, r1, 0x10 /* 80209490 002063F0 48 13 79 7D */ bl GetObj__6CTokenFv /* 80209494 002063F4 80 63 00 04 */ lwz r3, 4(r3) /* 80209498 002063F8 80 9F 00 40 */ lwz r4, 0x40(r31) /* 8020949C 002063FC 48 14 D2 61 */ bl GetString__12CStringTableCFi /* 802094A0 00206400 7C 64 1B 78 */ mr r4, r3 /* 802094A4 00206404 38 61 00 18 */ addi r3, r1, 0x18 /* 802094A8 00206408 38 C1 00 08 */ addi r6, r1, 8 /* 802094AC 0020640C 38 A0 FF FF */ li r5, -1 /* 802094B0 00206410 48 13 43 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 802094B4 00206414 80 7F 00 08 */ lwz r3, 8(r31) /* 802094B8 00206418 38 81 00 18 */ addi r4, r1, 0x18 /* 802094BC 0020641C 38 A0 00 00 */ li r5, 0 /* 802094C0 00206420 48 0C 03 C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802094C4 00206424 38 61 00 18 */ addi r3, r1, 0x18 /* 802094C8 00206428 48 13 3C 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802094CC: /* 802094CC 0020642C C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 802094D0 00206430 38 60 00 00 */ li r3, 0 /* 802094D4 00206434 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 802094D8 00206438 88 1F 00 44 */ lbz r0, 0x44(r31) /* 802094DC 0020643C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802094E0 00206440 98 1F 00 44 */ stb r0, 0x44(r31) /* 802094E4 00206444 48 00 00 20 */ b lbl_80209504 lbl_802094E8: /* 802094E8 00206448 C0 3F 00 00 */ lfs f1, 0(r31) /* 802094EC 0020644C C0 1F 00 38 */ lfs f0, 0x38(r31) /* 802094F0 00206450 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802094F4 00206454 4C 41 13 82 */ cror 2, 1, 2 /* 802094F8 00206458 40 82 00 0C */ bne lbl_80209504 /* 802094FC 0020645C EC 00 F8 2A */ fadds f0, f0, f31 /* 80209500 00206460 D0 1F 00 38 */ stfs f0, 0x38(r31) lbl_80209504: /* 80209504 00206464 38 61 00 10 */ addi r3, r1, 0x10 /* 80209508 00206468 38 80 00 00 */ li r4, 0 /* 8020950C 0020646C 48 13 79 35 */ bl __dt__6CTokenFv lbl_80209510: /* 80209510 00206470 C0 3F 00 00 */ lfs f1, 0(r31) /* 80209514 00206474 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80209518 00206478 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020951C 0020647C 4C 41 13 82 */ cror 2, 1, 2 /* 80209520 00206480 40 82 00 5C */ bne lbl_8020957C /* 80209524 00206484 FC 20 F8 90 */ fmr f1, f31 /* 80209528 00206488 80 7F 00 08 */ lwz r3, 8(r31) /* 8020952C 0020648C 48 0B EC 4D */ bl Update__15CGuiTextSupportFf /* 80209530 00206490 80 7F 00 08 */ lwz r3, 8(r31) /* 80209534 00206494 48 0B EA E1 */ bl GetNumCharactersPrinted__15CGuiTextSupportCFv /* 80209538 00206498 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 8020953C 0020649C C0 1F 00 3C */ lfs f0, 0x3c(r31) /* 80209540 002064A0 C0 43 02 78 */ lfs f2, 0x278(r3) /* 80209544 002064A4 EC 00 10 2A */ fadds f0, f0, f2 /* 80209548 002064A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020954C 002064AC 4C 41 13 82 */ cror 2, 1, 2 /* 80209550 002064B0 40 82 00 2C */ bne lbl_8020957C /* 80209554 002064B4 D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 80209558 002064B8 38 61 00 0C */ addi r3, r1, 0xc /* 8020955C 002064BC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80209560 002064C0 38 80 05 9E */ li r4, 0x59e /* 80209564 002064C4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80209568 002064C8 38 A0 00 7F */ li r5, 0x7f /* 8020956C 002064CC 38 C0 00 40 */ li r6, 0x40 /* 80209570 002064D0 38 E0 00 00 */ li r7, 0 /* 80209574 002064D4 39 20 00 00 */ li r9, 0 /* 80209578 002064D8 48 0E 07 FD */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8020957C: /* 8020957C 002064DC 88 1F 00 44 */ lbz r0, 0x44(r31) /* 80209580 002064E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80209584 002064E4 41 82 00 50 */ beq lbl_802095D4 /* 80209588 002064E8 80 7F 00 08 */ lwz r3, 8(r31) /* 8020958C 002064EC C3 E3 00 3C */ lfs f31, 0x3c(r3) /* 80209590 002064F0 48 0B EB 19 */ bl GetTotalAnimationTime__15CGuiTextSupportCFv /* 80209594 002064F4 C0 42 B1 30 */ lfs f2, lbl_805ACE50@sda21(r2) /* 80209598 002064F8 EC 02 08 2A */ fadds f0, f2, f1 /* 8020959C 002064FC FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 802095A0 00206500 40 80 00 2C */ bge lbl_802095CC /* 802095A4 00206504 C0 3F 00 00 */ lfs f1, 0(r31) /* 802095A8 00206508 C0 1F 00 34 */ lfs f0, 0x34(r31) /* 802095AC 0020650C EC 01 00 28 */ fsubs f0, f1, f0 /* 802095B0 00206510 FC 00 10 40 */ fcmpo cr0, f0, f2 /* 802095B4 00206514 40 81 00 20 */ ble lbl_802095D4 /* 802095B8 00206518 88 1F 00 44 */ lbz r0, 0x44(r31) /* 802095BC 0020651C 38 60 00 01 */ li r3, 1 /* 802095C0 00206520 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802095C4 00206524 98 1F 00 44 */ stb r0, 0x44(r31) /* 802095C8 00206528 48 00 00 0C */ b lbl_802095D4 lbl_802095CC: /* 802095CC 0020652C C0 1F 00 00 */ lfs f0, 0(r31) /* 802095D0 00206530 D0 1F 00 34 */ stfs f0, 0x34(r31) lbl_802095D4: /* 802095D4 00206534 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 802095D8 00206538 80 01 00 44 */ lwz r0, 0x44(r1) /* 802095DC 0020653C CB E1 00 30 */ lfd f31, 0x30(r1) /* 802095E0 00206540 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802095E4 00206544 7C 08 03 A6 */ mtlr r0 /* 802095E8 00206548 38 21 00 40 */ addi r1, r1, 0x40 /* 802095EC 0020654C 4E 80 00 20 */ blr .global EnableTransition__18CWorldTransManagerFviibbfff EnableTransition__18CWorldTransManagerFviibbfff: /* 802095F0 00206550 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802095F4 00206554 7C 08 02 A6 */ mflr r0 /* 802095F8 00206558 90 01 00 84 */ stw r0, 0x84(r1) /* 802095FC 0020655C 38 00 00 02 */ li r0, 2 /* 80209600 00206560 DB E1 00 78 */ stfd f31, 0x78(r1) /* 80209604 00206564 FF E0 10 90 */ fmr f31, f2 /* 80209608 00206568 DB C1 00 70 */ stfd f30, 0x70(r1) /* 8020960C 0020656C FF C0 08 90 */ fmr f30, f1 /* 80209610 00206570 BF 21 00 54 */ stmw r25, 0x54(r1) /* 80209614 00206574 7C 9E 23 78 */ mr r30, r4 /* 80209618 00206578 7C 7D 1B 78 */ mr r29, r3 /* 8020961C 0020657C 7C BF 2B 78 */ mr r31, r5 /* 80209620 00206580 7C F9 3B 78 */ mr r25, r7 /* 80209624 00206584 38 80 00 00 */ li r4, 0 /* 80209628 00206588 90 C3 00 40 */ stw r6, 0x40(r3) /* 8020962C 0020658C 38 60 00 00 */ li r3, 0 /* 80209630 00206590 D0 7D 00 38 */ stfs f3, 0x38(r29) /* 80209634 00206594 88 BD 00 44 */ lbz r5, 0x44(r29) /* 80209638 00206598 50 65 36 72 */ rlwimi r5, r3, 6, 0x19, 0x19 /* 8020963C 0020659C 38 7D 00 04 */ addi r3, r29, 4 /* 80209640 002065A0 98 BD 00 44 */ stb r5, 0x44(r29) /* 80209644 002065A4 90 1D 00 30 */ stw r0, 0x30(r29) /* 80209648 002065A8 48 00 01 89 */ bl sub_802097d0 /* 8020964C 002065AC 88 1D 00 44 */ lbz r0, 0x44(r29) /* 80209650 002065B0 53 20 26 F6 */ rlwimi r0, r25, 4, 0x1b, 0x1b /* 80209654 002065B4 3C 60 80 3D */ lis r3, lbl_803D2768@ha /* 80209658 002065B8 38 A0 00 00 */ li r5, 0 /* 8020965C 002065BC 98 1D 00 44 */ stb r0, 0x44(r29) /* 80209660 002065C0 38 83 27 68 */ addi r4, r3, lbl_803D2768@l /* 80209664 002065C4 38 60 03 0C */ li r3, 0x30c /* 80209668 002065C8 48 10 C2 05 */ bl __nw__FUlPCcPCc /* 8020966C 002065CC 7C 79 1B 79 */ or. r25, r3, r3 /* 80209670 002065D0 41 82 00 68 */ beq lbl_802096D8 /* 80209674 002065D4 48 14 09 39 */ bl White__6CColorFv /* 80209678 002065D8 7C 7A 1B 78 */ mr r26, r3 /* 8020967C 002065DC 48 14 09 39 */ bl Black__6CColorFv /* 80209680 002065E0 7C 7B 1B 78 */ mr r27, r3 /* 80209684 002065E4 48 14 09 29 */ bl White__6CColorFv /* 80209688 002065E8 7C 7C 1B 78 */ mr r28, r3 /* 8020968C 002065EC 38 61 00 38 */ addi r3, r1, 0x38 /* 80209690 002065F0 38 80 00 00 */ li r4, 0 /* 80209694 002065F4 38 A0 00 01 */ li r5, 1 /* 80209698 002065F8 38 C0 00 01 */ li r6, 1 /* 8020969C 002065FC 38 E0 00 01 */ li r7, 1 /* 802096A0 00206600 39 00 00 00 */ li r8, 0 /* 802096A4 00206604 48 0C 09 A1 */ bl __ct__18CGuiTextPropertiesFv /* 802096A8 00206608 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13) /* 802096AC 0020660C 7C 65 1B 78 */ mr r5, r3 /* 802096B0 00206610 7F 23 CB 78 */ mr r3, r25 /* 802096B4 00206614 7F C4 F3 78 */ mr r4, r30 /* 802096B8 00206618 90 01 00 08 */ stw r0, 8(r1) /* 802096BC 0020661C 7F 86 E3 78 */ mr r6, r28 /* 802096C0 00206620 7F 67 DB 78 */ mr r7, r27 /* 802096C4 00206624 7F 48 D3 78 */ mr r8, r26 /* 802096C8 00206628 39 20 02 80 */ li r9, 0x280 /* 802096CC 0020662C 39 40 01 C0 */ li r10, 0x1c0 /* 802096D0 00206630 48 0C 07 6D */ bl __ct__15CGuiTextSupportFv /* 802096D4 00206634 7C 79 1B 78 */ mr r25, r3 lbl_802096D8: /* 802096D8 00206638 80 7D 00 08 */ lwz r3, 8(r29) /* 802096DC 0020663C 38 80 00 01 */ li r4, 1 /* 802096E0 00206640 48 0C 05 B9 */ bl __dt__15CGuiTextSupportFv /* 802096E4 00206644 93 3D 00 08 */ stw r25, 8(r29) /* 802096E8 00206648 FC 20 F0 90 */ fmr f1, f30 /* 802096EC 0020664C FC 40 F8 90 */ fmr f2, f31 /* 802096F0 00206650 38 80 00 01 */ li r4, 1 /* 802096F4 00206654 80 7D 00 08 */ lwz r3, 8(r29) /* 802096F8 00206658 48 0B EA 21 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff /* 802096FC 0020665C 3C 60 53 54 */ lis r3, 0x53545247@ha /* 80209700 00206660 93 E1 00 24 */ stw r31, 0x24(r1) /* 80209704 00206664 38 03 52 47 */ addi r0, r3, 0x53545247@l /* 80209708 00206668 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020970C 0020666C 90 01 00 20 */ stw r0, 0x20(r1) /* 80209710 00206670 38 61 00 18 */ addi r3, r1, 0x18 /* 80209714 00206674 38 A1 00 20 */ addi r5, r1, 0x20 /* 80209718 00206678 81 84 00 00 */ lwz r12, 0(r4) /* 8020971C 0020667C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80209720 00206680 7D 89 03 A6 */ mtctr r12 /* 80209724 00206684 4E 80 04 21 */ bctrl /* 80209728 00206688 38 61 00 10 */ addi r3, r1, 0x10 /* 8020972C 0020668C 38 81 00 18 */ addi r4, r1, 0x18 /* 80209730 00206690 48 13 77 79 */ bl __ct__6CTokenFRC6CToken /* 80209734 00206694 88 1D 00 14 */ lbz r0, 0x14(r29) /* 80209738 00206698 28 00 00 00 */ cmplwi r0, 0 /* 8020973C 0020669C 40 82 00 20 */ bne lbl_8020975C /* 80209740 002066A0 34 7D 00 0C */ addic. r3, r29, 0xc /* 80209744 002066A4 41 82 00 0C */ beq lbl_80209750 /* 80209748 002066A8 38 81 00 10 */ addi r4, r1, 0x10 /* 8020974C 002066AC 48 13 77 5D */ bl __ct__6CTokenFRC6CToken lbl_80209750: /* 80209750 002066B0 38 00 00 01 */ li r0, 1 /* 80209754 002066B4 98 1D 00 14 */ stb r0, 0x14(r29) /* 80209758 002066B8 48 00 00 10 */ b lbl_80209768 lbl_8020975C: /* 8020975C 002066BC 38 7D 00 0C */ addi r3, r29, 0xc /* 80209760 002066C0 38 81 00 10 */ addi r4, r1, 0x10 /* 80209764 002066C4 48 13 75 61 */ bl __as__6CTokenFRC6CToken lbl_80209768: /* 80209768 002066C8 38 61 00 10 */ addi r3, r1, 0x10 /* 8020976C 002066CC 38 80 00 00 */ li r4, 0 /* 80209770 002066D0 48 13 76 D1 */ bl __dt__6CTokenFv /* 80209774 002066D4 38 61 00 18 */ addi r3, r1, 0x18 /* 80209778 002066D8 38 80 FF FF */ li r4, -1 /* 8020977C 002066DC 48 13 76 C5 */ bl __dt__6CTokenFv /* 80209780 002066E0 38 7D 00 0C */ addi r3, r29, 0xc /* 80209784 002066E4 48 13 76 01 */ bl Lock__6CTokenFv /* 80209788 002066E8 38 61 00 28 */ addi r3, r1, 0x28 /* 8020978C 002066EC 38 8D 93 F0 */ addi r4, r13, lbl_805A7FB0@sda21 /* 80209790 002066F0 4B E0 C2 61 */ bl wstring_l__4rstlFPCw /* 80209794 002066F4 80 7D 00 08 */ lwz r3, 8(r29) /* 80209798 002066F8 38 81 00 28 */ addi r4, r1, 0x28 /* 8020979C 002066FC 38 A0 00 00 */ li r5, 0 /* 802097A0 00206700 48 0C 00 E5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802097A4 00206704 38 61 00 28 */ addi r3, r1, 0x28 /* 802097A8 00206708 48 13 39 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802097AC 0020670C 7F A3 EB 78 */ mr r3, r29 /* 802097B0 00206710 48 00 13 C9 */ bl StartTransition__18CWorldTransManagerFv /* 802097B4 00206714 CB E1 00 78 */ lfd f31, 0x78(r1) /* 802097B8 00206718 CB C1 00 70 */ lfd f30, 0x70(r1) /* 802097BC 0020671C BB 21 00 54 */ lmw r25, 0x54(r1) /* 802097C0 00206720 80 01 00 84 */ lwz r0, 0x84(r1) /* 802097C4 00206724 7C 08 03 A6 */ mtlr r0 /* 802097C8 00206728 38 21 00 80 */ addi r1, r1, 0x80 /* 802097CC 0020672C 4E 80 00 20 */ blr .global sub_802097d0 sub_802097d0: /* 802097D0 00206730 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802097D4 00206734 7C 08 02 A6 */ mflr r0 /* 802097D8 00206738 90 01 00 14 */ stw r0, 0x14(r1) /* 802097DC 0020673C 93 E1 00 0C */ stw r31, 0xc(r1) /* 802097E0 00206740 7C 9F 23 78 */ mr r31, r4 /* 802097E4 00206744 38 80 00 01 */ li r4, 1 /* 802097E8 00206748 93 C1 00 08 */ stw r30, 8(r1) /* 802097EC 0020674C 7C 7E 1B 78 */ mr r30, r3 /* 802097F0 00206750 80 63 00 00 */ lwz r3, 0(r3) /* 802097F4 00206754 48 00 00 25 */ bl __dt__Q218CWorldTransManager11SModelDatasFv /* 802097F8 00206758 93 FE 00 00 */ stw r31, 0(r30) /* 802097FC 0020675C 7F C3 F3 78 */ mr r3, r30 /* 80209800 00206760 80 01 00 14 */ lwz r0, 0x14(r1) /* 80209804 00206764 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80209808 00206768 83 C1 00 08 */ lwz r30, 8(r1) /* 8020980C 0020676C 7C 08 03 A6 */ mtlr r0 /* 80209810 00206770 38 21 00 10 */ addi r1, r1, 0x10 /* 80209814 00206774 4E 80 00 20 */ blr .global __dt__Q218CWorldTransManager11SModelDatasFv __dt__Q218CWorldTransManager11SModelDatasFv: /* 80209818 00206778 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020981C 0020677C 7C 08 02 A6 */ mflr r0 /* 80209820 00206780 90 01 00 24 */ stw r0, 0x24(r1) /* 80209824 00206784 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80209828 00206788 7C 9F 23 78 */ mr r31, r4 /* 8020982C 0020678C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80209830 00206790 7C 7E 1B 79 */ or. r30, r3, r3 /* 80209834 00206794 41 82 01 14 */ beq lbl_80209948 /* 80209838 00206798 34 1E 01 B0 */ addic. r0, r30, 0x1b0 /* 8020983C 0020679C 41 82 00 0C */ beq lbl_80209848 /* 80209840 002067A0 80 7E 01 B0 */ lwz r3, 0x1b0(r30) /* 80209844 002067A4 48 10 C0 ED */ bl Free__7CMemoryFPCv lbl_80209848: /* 80209848 002067A8 34 1E 01 A0 */ addic. r0, r30, 0x1a0 /* 8020984C 002067AC 41 82 00 44 */ beq lbl_80209890 /* 80209850 002067B0 80 1E 01 A4 */ lwz r0, 0x1a4(r30) /* 80209854 002067B4 80 7E 01 AC */ lwz r3, 0x1ac(r30) /* 80209858 002067B8 1C 00 00 50 */ mulli r0, r0, 0x50 /* 8020985C 002067BC 90 61 00 0C */ stw r3, 0xc(r1) /* 80209860 002067C0 7C 64 1B 78 */ mr r4, r3 /* 80209864 002067C4 7C 03 02 14 */ add r0, r3, r0 /* 80209868 002067C8 90 61 00 08 */ stw r3, 8(r1) /* 8020986C 002067CC 90 01 00 14 */ stw r0, 0x14(r1) /* 80209870 002067D0 90 01 00 10 */ stw r0, 0x10(r1) /* 80209874 002067D4 48 00 00 08 */ b lbl_8020987C lbl_80209878: /* 80209878 002067D8 38 84 00 50 */ addi r4, r4, 0x50 lbl_8020987C: /* 8020987C 002067DC 7C 04 00 40 */ cmplw r4, r0 /* 80209880 002067E0 40 82 FF F8 */ bne lbl_80209878 /* 80209884 002067E4 28 03 00 00 */ cmplwi r3, 0 /* 80209888 002067E8 41 82 00 08 */ beq lbl_80209890 /* 8020988C 002067EC 48 10 C0 A5 */ bl Free__7CMemoryFPCv lbl_80209890: /* 80209890 002067F0 34 1E 01 64 */ addic. r0, r30, 0x164 /* 80209894 002067F4 41 82 00 24 */ beq lbl_802098B8 /* 80209898 002067F8 88 1E 01 6C */ lbz r0, 0x16c(r30) /* 8020989C 002067FC 28 00 00 00 */ cmplwi r0, 0 /* 802098A0 00206800 41 82 00 10 */ beq lbl_802098B0 /* 802098A4 00206804 38 7E 01 64 */ addi r3, r30, 0x164 /* 802098A8 00206808 38 80 FF FF */ li r4, -1 /* 802098AC 0020680C 48 13 75 95 */ bl __dt__6CTokenFv lbl_802098B0: /* 802098B0 00206810 38 00 00 00 */ li r0, 0 /* 802098B4 00206814 98 1E 01 6C */ stb r0, 0x16c(r30) lbl_802098B8: /* 802098B8 00206818 34 1E 01 58 */ addic. r0, r30, 0x158 /* 802098BC 0020681C 41 82 00 24 */ beq lbl_802098E0 /* 802098C0 00206820 88 1E 01 60 */ lbz r0, 0x160(r30) /* 802098C4 00206824 28 00 00 00 */ cmplwi r0, 0 /* 802098C8 00206828 41 82 00 10 */ beq lbl_802098D8 /* 802098CC 0020682C 38 7E 01 58 */ addi r3, r30, 0x158 /* 802098D0 00206830 38 80 FF FF */ li r4, -1 /* 802098D4 00206834 48 13 75 6D */ bl __dt__6CTokenFv lbl_802098D8: /* 802098D8 00206838 38 00 00 00 */ li r0, 0 /* 802098DC 0020683C 98 1E 01 60 */ stb r0, 0x160(r30) lbl_802098E0: /* 802098E0 00206840 34 1E 01 4C */ addic. r0, r30, 0x14c /* 802098E4 00206844 41 82 00 24 */ beq lbl_80209908 /* 802098E8 00206848 88 1E 01 54 */ lbz r0, 0x154(r30) /* 802098EC 0020684C 28 00 00 00 */ cmplwi r0, 0 /* 802098F0 00206850 41 82 00 10 */ beq lbl_80209900 /* 802098F4 00206854 38 7E 01 4C */ addi r3, r30, 0x14c /* 802098F8 00206858 38 80 FF FF */ li r4, -1 /* 802098FC 0020685C 48 13 75 45 */ bl __dt__6CTokenFv lbl_80209900: /* 80209900 00206860 38 00 00 00 */ li r0, 0 /* 80209904 00206864 98 1E 01 54 */ stb r0, 0x154(r30) lbl_80209908: /* 80209908 00206868 38 7E 01 00 */ addi r3, r30, 0x100 /* 8020990C 0020686C 38 80 FF FF */ li r4, -1 /* 80209910 00206870 4B F0 D1 3D */ bl __dt__10CModelDataFv /* 80209914 00206874 38 7E 00 B4 */ addi r3, r30, 0xb4 /* 80209918 00206878 38 80 FF FF */ li r4, -1 /* 8020991C 0020687C 4B F0 D1 31 */ bl __dt__10CModelDataFv /* 80209920 00206880 38 7E 00 68 */ addi r3, r30, 0x68 /* 80209924 00206884 38 80 FF FF */ li r4, -1 /* 80209928 00206888 4B F0 D1 25 */ bl __dt__10CModelDataFv /* 8020992C 0020688C 38 7E 00 1C */ addi r3, r30, 0x1c /* 80209930 00206890 38 80 FF FF */ li r4, -1 /* 80209934 00206894 4B F0 D1 19 */ bl __dt__10CModelDataFv /* 80209938 00206898 7F E0 07 35 */ extsh. r0, r31 /* 8020993C 0020689C 40 81 00 0C */ ble lbl_80209948 /* 80209940 002068A0 7F C3 F3 78 */ mr r3, r30 /* 80209944 002068A4 48 10 BF ED */ bl Free__7CMemoryFPCv lbl_80209948: /* 80209948 002068A8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020994C 002068AC 7F C3 F3 78 */ mr r3, r30 /* 80209950 002068B0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80209954 002068B4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80209958 002068B8 7C 08 03 A6 */ mtlr r0 /* 8020995C 002068BC 38 21 00 20 */ addi r1, r1, 0x20 /* 80209960 002068C0 4E 80 00 20 */ blr .global sub_80209964 sub_80209964: /* 80209964 002068C4 B0 83 00 24 */ sth r4, 0x24(r3) /* 80209968 002068C8 98 A3 00 2C */ stb r5, 0x2c(r3) /* 8020996C 002068CC 98 C3 00 2D */ stb r6, 0x2d(r3) /* 80209970 002068D0 4E 80 00 20 */ blr .global sub_80209974 sub_80209974: /* 80209974 002068D4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80209978 002068D8 7C 08 02 A6 */ mflr r0 /* 8020997C 002068DC 90 01 00 24 */ stw r0, 0x24(r1) /* 80209980 002068E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80209984 002068E4 7C 7F 1B 78 */ mr r31, r3 /* 80209988 002068E8 80 03 00 28 */ lwz r0, 0x28(r3) /* 8020998C 002068EC 28 00 00 00 */ cmplwi r0, 0 /* 80209990 002068F0 41 82 00 1C */ beq lbl_802099AC /* 80209994 002068F4 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80209998 002068F8 38 61 00 08 */ addi r3, r1, 8 /* 8020999C 002068FC 90 01 00 08 */ stw r0, 8(r1) /* 802099A0 00206900 48 0E 03 A9 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 802099A4 00206904 38 00 00 00 */ li r0, 0 /* 802099A8 00206908 90 1F 00 28 */ stw r0, 0x28(r31) lbl_802099AC: /* 802099AC 0020690C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802099B0 00206910 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802099B4 00206914 7C 08 03 A6 */ mtlr r0 /* 802099B8 00206918 38 21 00 20 */ addi r1, r1, 0x20 /* 802099BC 0020691C 4E 80 00 20 */ blr .global sub_802099c0 sub_802099c0: /* 802099C0 00206920 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802099C4 00206924 7C 08 02 A6 */ mflr r0 /* 802099C8 00206928 90 01 00 24 */ stw r0, 0x24(r1) /* 802099CC 0020692C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802099D0 00206930 7C 7F 1B 78 */ mr r31, r3 /* 802099D4 00206934 80 03 00 28 */ lwz r0, 0x28(r3) /* 802099D8 00206938 28 00 00 00 */ cmplwi r0, 0 /* 802099DC 0020693C 40 82 00 3C */ bne lbl_80209A18 /* 802099E0 00206940 A0 9F 00 24 */ lhz r4, 0x24(r31) /* 802099E4 00206944 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 802099E8 00206948 7C 04 00 40 */ cmplw r4, r0 /* 802099EC 0020694C 41 82 00 2C */ beq lbl_80209A18 /* 802099F0 00206950 88 BF 00 2C */ lbz r5, 0x2c(r31) /* 802099F4 00206954 38 61 00 08 */ addi r3, r1, 8 /* 802099F8 00206958 88 DF 00 2D */ lbz r6, 0x2d(r31) /* 802099FC 0020695C 38 E0 00 00 */ li r7, 0 /* 80209A00 00206960 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80209A04 00206964 39 20 00 01 */ li r9, 1 /* 80209A08 00206968 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80209A0C 0020696C 48 0E 03 69 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80209A10 00206970 80 01 00 08 */ lwz r0, 8(r1) /* 80209A14 00206974 90 1F 00 28 */ stw r0, 0x28(r31) lbl_80209A18: /* 80209A18 00206978 80 01 00 24 */ lwz r0, 0x24(r1) /* 80209A1C 0020697C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80209A20 00206980 7C 08 03 A6 */ mtlr r0 /* 80209A24 00206984 38 21 00 20 */ addi r1, r1, 0x20 /* 80209A28 00206988 4E 80 00 20 */ blr .global DrawDisabled__18CWorldTransManagerCFv DrawDisabled__18CWorldTransManagerCFv: /* 80209A2C 0020698C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80209A30 00206990 7C 08 02 A6 */ mflr r0 /* 80209A34 00206994 38 E0 00 00 */ li r7, 0 /* 80209A38 00206998 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209A3C 0020699C 90 01 00 14 */ stw r0, 0x14(r1) /* 80209A40 002069A0 38 00 00 03 */ li r0, 3 /* 80209A44 002069A4 38 A1 00 0C */ addi r5, r1, 0xc /* 80209A48 002069A8 38 60 00 05 */ li r3, 5 /* 80209A4C 002069AC 98 E1 00 08 */ stb r7, 8(r1) /* 80209A50 002069B0 38 80 00 00 */ li r4, 0 /* 80209A54 002069B4 38 C0 00 00 */ li r6, 0 /* 80209A58 002069B8 98 E1 00 09 */ stb r7, 9(r1) /* 80209A5C 002069BC 98 E1 00 0A */ stb r7, 0xa(r1) /* 80209A60 002069C0 98 01 00 0B */ stb r0, 0xb(r1) /* 80209A64 002069C4 80 01 00 08 */ lwz r0, 8(r1) /* 80209A68 002069C8 90 01 00 0C */ stw r0, 0xc(r1) /* 80209A6C 002069CC 4B EE 26 DD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef /* 80209A70 002069D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80209A74 002069D4 7C 08 03 A6 */ mtlr r0 /* 80209A78 002069D8 38 21 00 10 */ addi r1, r1, 0x10 /* 80209A7C 002069DC 4E 80 00 20 */ blr .global DrawEnabled__18CWorldTransManagerCFv DrawEnabled__18CWorldTransManagerCFv: /* 80209A80 002069E0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80209A84 002069E4 7C 08 02 A6 */ mflr r0 /* 80209A88 002069E8 90 01 00 84 */ stw r0, 0x84(r1) /* 80209A8C 002069EC DB E1 00 70 */ stfd f31, 0x70(r1) /* 80209A90 002069F0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80209A94 002069F4 DB C1 00 60 */ stfd f30, 0x60(r1) /* 80209A98 002069F8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 80209A9C 002069FC BF 41 00 48 */ stmw r26, 0x48(r1) /* 80209AA0 00206A00 7C 7D 1B 78 */ mr r29, r3 /* 80209AA4 00206A04 80 03 00 04 */ lwz r0, 4(r3) /* 80209AA8 00206A08 28 00 00 00 */ cmplwi r0, 0 /* 80209AAC 00206A0C 41 82 04 58 */ beq lbl_80209F04 /* 80209AB0 00206A10 4B E0 26 21 */ bl DefaultFirstPersonFov__14CCameraManagerFv /* 80209AB4 00206A14 FF E0 08 90 */ fmr f31, f1 /* 80209AB8 00206A18 4B E0 26 11 */ bl DefaultNearPlane__14CCameraManagerFv /* 80209ABC 00206A1C FF C0 08 90 */ fmr f30, f1 /* 80209AC0 00206A20 4B E0 26 01 */ bl DefaultFarPlane__14CCameraManagerFv /* 80209AC4 00206A24 3C 60 80 3F */ lis r3, lbl_803ED910@ha /* 80209AC8 00206A28 3C 80 43 30 */ lis r4, 0x4330 /* 80209ACC 00206A2C 3B C3 D9 10 */ addi r30, r3, lbl_803ED910@l /* 80209AD0 00206A30 FC 00 08 90 */ fmr f0, f1 /* 80209AD4 00206A34 80 7E 00 08 */ lwz r3, 8(r30) /* 80209AD8 00206A38 FC 20 F8 90 */ fmr f1, f31 /* 80209ADC 00206A3C 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80209AE0 00206A40 FC 60 F0 90 */ fmr f3, f30 /* 80209AE4 00206A44 6C 65 80 00 */ xoris r5, r3, 0x8000 /* 80209AE8 00206A48 90 81 00 18 */ stw r4, 0x18(r1) /* 80209AEC 00206A4C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80209AF0 00206A50 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80209AF4 00206A54 FC 80 00 90 */ fmr f4, f0 /* 80209AF8 00206A58 90 A1 00 1C */ stw r5, 0x1c(r1) /* 80209AFC 00206A5C C8 A2 B1 40 */ lfd f5, lbl_805ACE60@sda21(r2) /* 80209B00 00206A60 C8 01 00 18 */ lfd f0, 0x18(r1) /* 80209B04 00206A64 90 01 00 24 */ stw r0, 0x24(r1) /* 80209B08 00206A68 EC 40 28 28 */ fsubs f2, f0, f5 /* 80209B0C 00206A6C 81 83 00 00 */ lwz r12, 0(r3) /* 80209B10 00206A70 90 81 00 20 */ stw r4, 0x20(r1) /* 80209B14 00206A74 81 8C 00 50 */ lwz r12, 0x50(r12) /* 80209B18 00206A78 C8 01 00 20 */ lfd f0, 0x20(r1) /* 80209B1C 00206A7C EC 00 28 28 */ fsubs f0, f0, f5 /* 80209B20 00206A80 EC 42 00 24 */ fdivs f2, f2, f0 /* 80209B24 00206A84 7D 89 03 A6 */ mtctr r12 /* 80209B28 00206A88 4E 80 04 21 */ bctrl /* 80209B2C 00206A8C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80209B30 00206A90 38 80 00 01 */ li r4, 1 /* 80209B34 00206A94 88 03 03 18 */ lbz r0, 0x318(r3) /* 80209B38 00206A98 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 80209B3C 00206A9C 98 03 03 18 */ stb r0, 0x318(r3) /* 80209B40 00206AA0 80 7D 00 04 */ lwz r3, 4(r29) /* 80209B44 00206AA4 C0 5D 00 00 */ lfs f2, 0(r29) /* 80209B48 00206AA8 C0 23 01 D0 */ lfs f1, 0x1d0(r3) /* 80209B4C 00206AAC FC 02 08 40 */ fcmpo cr0, f2, f1 /* 80209B50 00206AB0 4C 40 13 82 */ cror 2, 0, 2 /* 80209B54 00206AB4 40 82 00 10 */ bne lbl_80209B64 /* 80209B58 00206AB8 7F A3 EB 78 */ mr r3, r29 /* 80209B5C 00206ABC 48 00 04 C5 */ bl DrawFirstPass__18CWorldTransManagerCFv /* 80209B60 00206AC0 48 00 02 F4 */ b lbl_80209E54 lbl_80209B64: /* 80209B64 00206AC4 C0 03 01 D4 */ lfs f0, 0x1d4(r3) /* 80209B68 00206AC8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80209B6C 00206ACC 4C 41 13 82 */ cror 2, 1, 2 /* 80209B70 00206AD0 40 82 00 10 */ bne lbl_80209B80 /* 80209B74 00206AD4 7F A3 EB 78 */ mr r3, r29 /* 80209B78 00206AD8 48 00 03 B1 */ bl DrawSecondPass__18CWorldTransManagerCFv /* 80209B7C 00206ADC 48 00 02 D8 */ b lbl_80209E54 lbl_80209B80: /* 80209B80 00206AE0 EC 22 08 28 */ fsubs f1, f2, f1 /* 80209B84 00206AE4 C0 02 B1 38 */ lfs f0, lbl_805ACE58@sda21(r2) /* 80209B88 00206AE8 38 81 00 10 */ addi r4, r1, 0x10 /* 80209B8C 00206AEC 38 6D 93 E0 */ addi r3, r13, lbl_805A7FA0@sda21 /* 80209B90 00206AF0 38 AD 93 E4 */ addi r5, r13, lbl_805A7FA4@sda21 /* 80209B94 00206AF4 EC 01 00 32 */ fmuls f0, f1, f0 /* 80209B98 00206AF8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80209B9C 00206AFC 4B E0 27 19 */ bl "Clamp__5CMathFRCfRCfRCf" /* 80209BA0 00206B00 C0 23 00 00 */ lfs f1, 0(r3) /* 80209BA4 00206B04 3C 60 80 3F */ lis r3, lbl_803ED910@ha /* 80209BA8 00206B08 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 80209BAC 00206B0C 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l /* 80209BB0 00206B10 80 9D 00 04 */ lwz r4, 4(r29) /* 80209BB4 00206B14 7F A3 EB 78 */ mr r3, r29 /* 80209BB8 00206B18 EF C0 08 28 */ fsubs f30, f0, f1 /* 80209BBC 00206B1C 83 85 00 00 */ lwz r28, 0(r5) /* 80209BC0 00206B20 83 65 00 04 */ lwz r27, 4(r5) /* 80209BC4 00206B24 83 FE 00 08 */ lwz r31, 8(r30) /* 80209BC8 00206B28 EF DE 07 B2 */ fmuls f30, f30, f30 /* 80209BCC 00206B2C 83 DE 00 0C */ lwz r30, 0xc(r30) /* 80209BD0 00206B30 83 44 01 B0 */ lwz r26, 0x1b0(r4) /* 80209BD4 00206B34 48 00 04 4D */ bl DrawFirstPass__18CWorldTransManagerCFv /* 80209BD8 00206B38 38 60 00 01 */ li r3, 1 /* 80209BDC 00206B3C 38 80 00 03 */ li r4, 3 /* 80209BE0 00206B40 38 A0 00 01 */ li r5, 1 /* 80209BE4 00206B44 48 0F EC 99 */ bl SetZMode__3CGXFb10_GXCompareb /* 80209BE8 00206B48 57 E3 04 3E */ clrlwi r3, r31, 0x10 /* 80209BEC 00206B4C 57 C4 04 3E */ clrlwi r4, r30, 0x10 /* 80209BF0 00206B50 38 A0 00 04 */ li r5, 4 /* 80209BF4 00206B54 38 C0 00 00 */ li r6, 0 /* 80209BF8 00206B58 48 16 F2 89 */ bl GXSetTexCopyDst /* 80209BFC 00206B5C 57 83 04 3E */ clrlwi r3, r28, 0x10 /* 80209C00 00206B60 57 64 04 3E */ clrlwi r4, r27, 0x10 /* 80209C04 00206B64 57 E5 04 3E */ clrlwi r5, r31, 0x10 /* 80209C08 00206B68 57 C6 04 3E */ clrlwi r6, r30, 0x10 /* 80209C0C 00206B6C 48 16 F1 A9 */ bl GXSetTexCopySrc /* 80209C10 00206B70 7F 43 D3 78 */ mr r3, r26 /* 80209C14 00206B74 38 80 00 01 */ li r4, 1 /* 80209C18 00206B78 48 16 F9 1D */ bl GXCopyTex /* 80209C1C 00206B7C 7F A3 EB 78 */ mr r3, r29 /* 80209C20 00206B80 48 00 03 09 */ bl DrawSecondPass__18CWorldTransManagerCFv /* 80209C24 00206B84 3C 60 43 30 */ lis r3, 0x4330 /* 80209C28 00206B88 6F E4 80 00 */ xoris r4, r31, 0x8000 /* 80209C2C 00206B8C 6F C0 80 00 */ xoris r0, r30, 0x8000 /* 80209C30 00206B90 90 81 00 24 */ stw r4, 0x24(r1) /* 80209C34 00206B94 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 80209C38 00206B98 90 61 00 20 */ stw r3, 0x20(r1) /* 80209C3C 00206B9C C8 82 B1 40 */ lfd f4, lbl_805ACE60@sda21(r2) /* 80209C40 00206BA0 FC 60 08 90 */ fmr f3, f1 /* 80209C44 00206BA4 C8 01 00 20 */ lfd f0, 0x20(r1) /* 80209C48 00206BA8 90 01 00 1C */ stw r0, 0x1c(r1) /* 80209C4C 00206BAC EC 40 20 28 */ fsubs f2, f0, f4 /* 80209C50 00206BB0 C0 A2 B1 20 */ lfs f5, lbl_805ACE40@sda21(r2) /* 80209C54 00206BB4 90 61 00 18 */ stw r3, 0x18(r1) /* 80209C58 00206BB8 C0 C2 B1 24 */ lfs f6, lbl_805ACE44@sda21(r2) /* 80209C5C 00206BBC C8 01 00 18 */ lfd f0, 0x18(r1) /* 80209C60 00206BC0 EC 80 20 28 */ fsubs f4, f0, f4 /* 80209C64 00206BC4 48 10 28 F1 */ bl SetOrtho__9CGraphicsFffffff /* 80209C68 00206BC8 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80209C6C 00206BCC 38 63 66 70 */ addi r3, r3, skIdentity4f@l /* 80209C70 00206BD0 48 10 2A DD */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f /* 80209C74 00206BD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80209C78 00206BD8 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 80209C7C 00206BDC 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 80209C80 00206BE0 81 83 00 00 */ lwz r12, 0(r3) /* 80209C84 00206BE4 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80209C88 00206BE8 7D 89 03 A6 */ mtctr r12 /* 80209C8C 00206BEC 4E 80 04 21 */ bctrl /* 80209C90 00206BF0 48 16 E8 D5 */ bl GXPixModeSync /* 80209C94 00206BF4 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) /* 80209C98 00206BF8 7F E3 FB 78 */ mr r3, r31 /* 80209C9C 00206BFC 7F C4 F3 78 */ mr r4, r30 /* 80209CA0 00206C00 7F 46 D3 78 */ mr r6, r26 /* 80209CA4 00206C04 38 A0 00 04 */ li r5, 4 /* 80209CA8 00206C08 48 10 03 79 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID /* 80209CAC 00206C0C 3C 60 80 3D */ lis r3, lbl_803D2750@ha /* 80209CB0 00206C10 38 63 27 50 */ addi r3, r3, lbl_803D2750@l /* 80209CB4 00206C14 48 0F E1 75 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 80209CB8 00206C18 38 60 00 01 */ li r3, 1 /* 80209CBC 00206C1C 38 80 00 04 */ li r4, 4 /* 80209CC0 00206C20 38 A0 00 05 */ li r5, 5 /* 80209CC4 00206C24 38 C0 00 00 */ li r6, 0 /* 80209CC8 00206C28 48 0F EC 09 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 80209CCC 00206C2C C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209CD0 00206C30 FC 80 F0 90 */ fmr f4, f30 /* 80209CD4 00206C34 38 61 00 08 */ addi r3, r1, 8 /* 80209CD8 00206C38 FC 40 08 90 */ fmr f2, f1 /* 80209CDC 00206C3C FC 60 08 90 */ fmr f3, f1 /* 80209CE0 00206C40 48 15 97 0D */ bl __ct__6CColorFffff /* 80209CE4 00206C44 80 03 00 00 */ lwz r0, 0(r3) /* 80209CE8 00206C48 38 81 00 0C */ addi r4, r1, 0xc /* 80209CEC 00206C4C 38 60 00 01 */ li r3, 1 /* 80209CF0 00206C50 90 01 00 0C */ stw r0, 0xc(r1) /* 80209CF4 00206C54 48 17 19 09 */ bl GXSetTevColor /* 80209CF8 00206C58 38 60 00 00 */ li r3, 0 /* 80209CFC 00206C5C 38 80 00 0F */ li r4, 0xf /* 80209D00 00206C60 38 A0 00 0F */ li r5, 0xf /* 80209D04 00206C64 38 C0 00 0F */ li r6, 0xf /* 80209D08 00206C68 38 E0 00 08 */ li r7, 8 /* 80209D0C 00206C6C 48 0F EE E1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80209D10 00206C70 38 60 00 00 */ li r3, 0 /* 80209D14 00206C74 38 80 00 07 */ li r4, 7 /* 80209D18 00206C78 38 A0 00 07 */ li r5, 7 /* 80209D1C 00206C7C 38 C0 00 07 */ li r6, 7 /* 80209D20 00206C80 38 E0 00 01 */ li r7, 1 /* 80209D24 00206C84 48 0F EE 71 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80209D28 00206C88 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) /* 80209D2C 00206C8C 38 60 00 00 */ li r3, 0 /* 80209D30 00206C90 38 80 00 00 */ li r4, 0 /* 80209D34 00206C94 38 C0 00 FF */ li r6, 0xff /* 80209D38 00206C98 48 0F EC 15 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80209D3C 00206C9C 38 60 00 00 */ li r3, 0 /* 80209D40 00206CA0 38 80 00 01 */ li r4, 1 /* 80209D44 00206CA4 38 A0 00 04 */ li r5, 4 /* 80209D48 00206CA8 38 C0 00 3C */ li r6, 0x3c /* 80209D4C 00206CAC 38 E0 00 00 */ li r7, 0 /* 80209D50 00206CB0 39 00 00 7D */ li r8, 0x7d /* 80209D54 00206CB4 48 0F E9 79 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80209D58 00206CB8 38 60 00 01 */ li r3, 1 /* 80209D5C 00206CBC 48 0F F0 B9 */ bl SetNumTexGens__3CGXFUc /* 80209D60 00206CC0 38 60 00 01 */ li r3, 1 /* 80209D64 00206CC4 48 0F EF 2D */ bl SetNumTevStages__3CGXFUc /* 80209D68 00206CC8 38 60 00 00 */ li r3, 0 /* 80209D6C 00206CCC 48 0F F0 E5 */ bl SetNumChans__3CGXFUc /* 80209D70 00206CD0 38 60 00 00 */ li r3, 0 /* 80209D74 00206CD4 48 0F E9 D1 */ bl SetTevDirect__3CGXF13_GXTevStageID /* 80209D78 00206CD8 38 60 00 00 */ li r3, 0 /* 80209D7C 00206CDC 48 0F E9 15 */ bl SetNumIndStages__3CGXFUc /* 80209D80 00206CE0 38 60 00 00 */ li r3, 0 /* 80209D84 00206CE4 38 80 00 07 */ li r4, 7 /* 80209D88 00206CE8 38 A0 00 00 */ li r5, 0 /* 80209D8C 00206CEC 48 0F EA F1 */ bl SetZMode__3CGXFb10_GXCompareb /* 80209D90 00206CF0 38 60 00 A0 */ li r3, 0xa0 /* 80209D94 00206CF4 38 80 00 00 */ li r4, 0 /* 80209D98 00206CF8 38 A0 00 04 */ li r5, 4 /* 80209D9C 00206CFC 48 0F E7 E9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 80209DA0 00206D00 C0 A2 B1 28 */ lfs f5, lbl_805ACE48@sda21(r2) /* 80209DA4 00206D04 3C 60 43 30 */ lis r3, 0x4330 /* 80209DA8 00206D08 3C A0 CC 01 */ lis r5, 0xCC008000@ha /* 80209DAC 00206D0C 6F C4 80 00 */ xoris r4, r30, 0x8000 /* 80209DB0 00206D10 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209DB4 00206D14 6F E0 80 00 */ xoris r0, r31, 0x8000 /* 80209DB8 00206D18 C0 82 B1 38 */ lfs f4, lbl_805ACE58@sda21(r2) /* 80209DBC 00206D1C 90 81 00 2C */ stw r4, 0x2c(r1) /* 80209DC0 00206D20 C8 62 B1 40 */ lfd f3, lbl_805ACE60@sda21(r2) /* 80209DC4 00206D24 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) /* 80209DC8 00206D28 C0 42 B1 30 */ lfs f2, lbl_805ACE50@sda21(r2) /* 80209DCC 00206D2C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209DD0 00206D30 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209DD4 00206D34 90 61 00 28 */ stw r3, 0x28(r1) /* 80209DD8 00206D38 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209DDC 00206D3C C8 01 00 28 */ lfd f0, 0x28(r1) /* 80209DE0 00206D40 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209DE4 00206D44 EC 00 18 28 */ fsubs f0, f0, f3 /* 80209DE8 00206D48 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) /* 80209DEC 00206D4C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) /* 80209DF0 00206D50 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209DF4 00206D54 90 01 00 34 */ stw r0, 0x34(r1) /* 80209DF8 00206D58 90 61 00 30 */ stw r3, 0x30(r1) /* 80209DFC 00206D5C C8 01 00 30 */ lfd f0, 0x30(r1) /* 80209E00 00206D60 90 81 00 3C */ stw r4, 0x3c(r1) /* 80209E04 00206D64 EC 20 18 28 */ fsubs f1, f0, f3 /* 80209E08 00206D68 90 61 00 38 */ stw r3, 0x38(r1) /* 80209E0C 00206D6C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) /* 80209E10 00206D70 C8 01 00 38 */ lfd f0, 0x38(r1) /* 80209E14 00206D74 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) /* 80209E18 00206D78 EC 00 18 28 */ fsubs f0, f0, f3 /* 80209E1C 00206D7C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) /* 80209E20 00206D80 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) /* 80209E24 00206D84 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) /* 80209E28 00206D88 90 01 00 44 */ stw r0, 0x44(r1) /* 80209E2C 00206D8C 90 61 00 40 */ stw r3, 0x40(r1) /* 80209E30 00206D90 C8 01 00 40 */ lfd f0, 0x40(r1) /* 80209E34 00206D94 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) /* 80209E38 00206D98 EC 00 18 28 */ fsubs f0, f0, f3 /* 80209E3C 00206D9C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) /* 80209E40 00206DA0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5) /* 80209E44 00206DA4 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209E48 00206DA8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) /* 80209E4C 00206DAC D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) /* 80209E50 00206DB0 48 0F E7 31 */ bl End__3CGXFv lbl_80209E54: /* 80209E54 00206DB4 48 14 01 61 */ bl Black__6CColorFv /* 80209E58 00206DB8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209E5C 00206DBC 7C 65 1B 78 */ mr r5, r3 /* 80209E60 00206DC0 38 60 00 01 */ li r3, 1 /* 80209E64 00206DC4 38 80 00 04 */ li r4, 4 /* 80209E68 00206DC8 38 C0 00 00 */ li r6, 0 /* 80209E6C 00206DCC 4B EE 22 DD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef /* 80209E70 00206DD0 C0 7D 00 00 */ lfs f3, 0(r29) /* 80209E74 00206DD4 C0 42 B1 3C */ lfs f2, lbl_805ACE5C@sda21(r2) /* 80209E78 00206DD8 C0 82 B1 28 */ lfs f4, lbl_805ACE48@sda21(r2) /* 80209E7C 00206DDC FC 03 10 40 */ fcmpo cr0, f3, f2 /* 80209E80 00206DE0 40 80 00 14 */ bge lbl_80209E94 /* 80209E84 00206DE4 EC 03 10 24 */ fdivs f0, f3, f2 /* 80209E88 00206DE8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209E8C 00206DEC EC 81 00 28 */ fsubs f4, f1, f0 /* 80209E90 00206DF0 48 00 00 38 */ b lbl_80209EC8 lbl_80209E94: /* 80209E94 00206DF4 80 7D 00 04 */ lwz r3, 4(r29) /* 80209E98 00206DF8 C0 23 01 D8 */ lfs f1, 0x1d8(r3) /* 80209E9C 00206DFC FC 03 08 40 */ fcmpo cr0, f3, f1 /* 80209EA0 00206E00 40 81 00 0C */ ble lbl_80209EAC /* 80209EA4 00206E04 C0 82 B1 30 */ lfs f4, lbl_805ACE50@sda21(r2) /* 80209EA8 00206E08 48 00 00 20 */ b lbl_80209EC8 lbl_80209EAC: /* 80209EAC 00206E0C EC 01 10 28 */ fsubs f0, f1, f2 /* 80209EB0 00206E10 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 80209EB4 00206E14 40 81 00 14 */ ble lbl_80209EC8 /* 80209EB8 00206E18 EC 01 18 28 */ fsubs f0, f1, f3 /* 80209EBC 00206E1C C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209EC0 00206E20 EC 00 10 24 */ fdivs f0, f0, f2 /* 80209EC4 00206E24 EC 81 00 28 */ fsubs f4, f1, f0 lbl_80209EC8: /* 80209EC8 00206E28 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 80209ECC 00206E2C FC 04 08 40 */ fcmpo cr0, f4, f1 /* 80209ED0 00206E30 40 81 00 2C */ ble lbl_80209EFC /* 80209ED4 00206E34 FC 40 08 90 */ fmr f2, f1 /* 80209ED8 00206E38 38 61 00 14 */ addi r3, r1, 0x14 /* 80209EDC 00206E3C FC 60 08 90 */ fmr f3, f1 /* 80209EE0 00206E40 48 15 95 0D */ bl __ct__6CColorFffff /* 80209EE4 00206E44 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 80209EE8 00206E48 38 A1 00 14 */ addi r5, r1, 0x14 /* 80209EEC 00206E4C 38 60 00 05 */ li r3, 5 /* 80209EF0 00206E50 38 80 00 00 */ li r4, 0 /* 80209EF4 00206E54 38 C0 00 00 */ li r6, 0 /* 80209EF8 00206E58 4B EE 22 51 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef lbl_80209EFC: /* 80209EFC 00206E5C 38 60 00 01 */ li r3, 1 /* 80209F00 00206E60 48 0F F5 A9 */ bl SetIsBeginSceneClearFb__9CGraphicsFb lbl_80209F04: /* 80209F04 00206E64 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80209F08 00206E68 CB E1 00 70 */ lfd f31, 0x70(r1) /* 80209F0C 00206E6C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 80209F10 00206E70 CB C1 00 60 */ lfd f30, 0x60(r1) /* 80209F14 00206E74 BB 41 00 48 */ lmw r26, 0x48(r1) /* 80209F18 00206E78 80 01 00 84 */ lwz r0, 0x84(r1) /* 80209F1C 00206E7C 7C 08 03 A6 */ mtlr r0 /* 80209F20 00206E80 38 21 00 80 */ addi r1, r1, 0x80 /* 80209F24 00206E84 4E 80 00 20 */ blr .global DrawSecondPass__18CWorldTransManagerCFv DrawSecondPass__18CWorldTransManagerCFv: /* 80209F28 00206E88 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 80209F2C 00206E8C 7C 08 02 A6 */ mflr r0 /* 80209F30 00206E90 C0 62 B1 48 */ lfs f3, lbl_805ACE68@sda21(r2) /* 80209F34 00206E94 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80209F38 00206E98 38 81 00 08 */ addi r4, r1, 8 /* 80209F3C 00206E9C C0 02 B1 4C */ lfs f0, lbl_805ACE6C@sda21(r2) /* 80209F40 00206EA0 93 E1 00 EC */ stw r31, 0xec(r1) /* 80209F44 00206EA4 7C 7F 1B 78 */ mr r31, r3 /* 80209F48 00206EA8 80 A3 00 04 */ lwz r5, 4(r3) /* 80209F4C 00206EAC C0 43 00 00 */ lfs f2, 0(r3) /* 80209F50 00206EB0 38 6D 93 D8 */ addi r3, r13, lbl_805A7F98@sda21 /* 80209F54 00206EB4 C0 25 01 D0 */ lfs f1, 0x1d0(r5) /* 80209F58 00206EB8 38 AD 93 DC */ addi r5, r13, lbl_805A7F9C@sda21 /* 80209F5C 00206EBC EC 22 08 28 */ fsubs f1, f2, f1 /* 80209F60 00206EC0 EC 23 08 2A */ fadds f1, f3, f1 /* 80209F64 00206EC4 EC 01 00 24 */ fdivs f0, f1, f0 /* 80209F68 00206EC8 D0 01 00 08 */ stfs f0, 8(r1) /* 80209F6C 00206ECC 4B E0 23 49 */ bl "Clamp__5CMathFRCfRCfRCf" /* 80209F70 00206ED0 C0 63 00 00 */ lfs f3, 0(r3) /* 80209F74 00206ED4 38 61 00 1C */ addi r3, r1, 0x1c /* 80209F78 00206ED8 C0 42 B1 58 */ lfs f2, lbl_805ACE78@sda21(r2) /* 80209F7C 00206EDC 38 81 00 10 */ addi r4, r1, 0x10 /* 80209F80 00206EE0 C0 22 B1 54 */ lfs f1, lbl_805ACE74@sda21(r2) /* 80209F84 00206EE4 C0 02 B1 5C */ lfs f0, lbl_805ACE7C@sda21(r2) /* 80209F88 00206EE8 EC 22 08 FA */ fmadds f1, f2, f3, f1 /* 80209F8C 00206EEC C0 42 B1 50 */ lfs f2, lbl_805ACE70@sda21(r2) /* 80209F90 00206EF0 80 BF 00 04 */ lwz r5, 4(r31) /* 80209F94 00206EF4 C0 A2 B1 60 */ lfs f5, lbl_805ACE80@sda21(r2) /* 80209F98 00206EF8 EC 01 00 28 */ fsubs f0, f1, f0 /* 80209F9C 00206EFC C0 62 B1 64 */ lfs f3, lbl_805ACE84@sda21(r2) /* 80209FA0 00206F00 C0 22 B1 68 */ lfs f1, lbl_805ACE88@sda21(r2) /* 80209FA4 00206F04 EC 02 00 32 */ fmuls f0, f2, f0 /* 80209FA8 00206F08 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80209FAC 00206F0C C0 85 00 10 */ lfs f4, 0x10(r5) /* 80209FB0 00206F10 C0 45 00 0C */ lfs f2, 0xc(r5) /* 80209FB4 00206F14 C0 05 00 08 */ lfs f0, 8(r5) /* 80209FB8 00206F18 EC 85 01 32 */ fmuls f4, f5, f4 /* 80209FBC 00206F1C EC 43 00 B2 */ fmuls f2, f3, f2 /* 80209FC0 00206F20 EC 01 00 32 */ fmuls f0, f1, f0 /* 80209FC4 00206F24 D0 81 00 18 */ stfs f4, 0x18(r1) /* 80209FC8 00206F28 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80209FCC 00206F2C D0 41 00 14 */ stfs f2, 0x14(r1) /* 80209FD0 00206F30 48 10 91 71 */ bl Translate__12CTransform4fFRC9CVector3f /* 80209FD4 00206F34 38 61 00 4C */ addi r3, r1, 0x4c /* 80209FD8 00206F38 38 81 00 0C */ addi r4, r1, 0xc /* 80209FDC 00206F3C 48 10 98 35 */ bl RotateZ__12CTransform4fFRC9CRelAngle /* 80209FE0 00206F40 38 61 00 7C */ addi r3, r1, 0x7c /* 80209FE4 00206F44 38 81 00 4C */ addi r4, r1, 0x4c /* 80209FE8 00206F48 38 A1 00 1C */ addi r5, r1, 0x1c /* 80209FEC 00206F4C 48 10 89 65 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80209FF0 00206F50 38 61 00 AC */ addi r3, r1, 0xac /* 80209FF4 00206F54 38 81 00 7C */ addi r4, r1, 0x7c /* 80209FF8 00206F58 48 10 8B 7D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80209FFC 00206F5C 38 61 00 AC */ addi r3, r1, 0xac /* 8020A000 00206F60 48 10 27 4D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f /* 8020A004 00206F64 7F E3 FB 78 */ mr r3, r31 /* 8020A008 00206F68 48 00 01 CD */ bl DrawAllModels__18CWorldTransManagerCFv /* 8020A00C 00206F6C 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8020A010 00206F70 83 E1 00 EC */ lwz r31, 0xec(r1) /* 8020A014 00206F74 7C 08 03 A6 */ mtlr r0 /* 8020A018 00206F78 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8020A01C 00206F7C 4E 80 00 20 */ blr .global DrawFirstPass__18CWorldTransManagerCFv DrawFirstPass__18CWorldTransManagerCFv: /* 8020A020 00206F80 94 21 FE C0 */ stwu r1, -0x140(r1) /* 8020A024 00206F84 7C 08 02 A6 */ mflr r0 /* 8020A028 00206F88 90 01 01 44 */ stw r0, 0x144(r1) /* 8020A02C 00206F8C DB E1 01 30 */ stfd f31, 0x130(r1) /* 8020A030 00206F90 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 8020A034 00206F94 93 E1 01 2C */ stw r31, 0x12c(r1) /* 8020A038 00206F98 7C 7F 1B 78 */ mr r31, r3 /* 8020A03C 00206F9C C0 02 B1 6C */ lfs f0, lbl_805ACE8C@sda21(r2) /* 8020A040 00206FA0 C0 23 00 00 */ lfs f1, 0(r3) /* 8020A044 00206FA4 38 81 00 0C */ addi r4, r1, 0xc /* 8020A048 00206FA8 38 6D 93 C8 */ addi r3, r13, lbl_805A7F88@sda21 /* 8020A04C 00206FAC 38 AD 93 CC */ addi r5, r13, lbl_805A7F8C@sda21 /* 8020A050 00206FB0 EC 01 00 24 */ fdivs f0, f1, f0 /* 8020A054 00206FB4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8020A058 00206FB8 4B E0 22 5D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8020A05C 00206FBC C0 3F 00 00 */ lfs f1, 0(r31) /* 8020A060 00206FC0 38 81 00 08 */ addi r4, r1, 8 /* 8020A064 00206FC4 C0 02 B1 70 */ lfs f0, lbl_805ACE90@sda21(r2) /* 8020A068 00206FC8 38 AD 93 D4 */ addi r5, r13, lbl_805A7F94@sda21 /* 8020A06C 00206FCC C3 E3 00 00 */ lfs f31, 0(r3) /* 8020A070 00206FD0 38 6D 93 D0 */ addi r3, r13, lbl_805A7F90@sda21 /* 8020A074 00206FD4 EC 01 00 24 */ fdivs f0, f1, f0 /* 8020A078 00206FD8 D0 01 00 08 */ stfs f0, 8(r1) /* 8020A07C 00206FDC 4B E0 22 39 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8020A080 00206FE0 C0 22 B1 74 */ lfs f1, lbl_805ACE94@sda21(r2) /* 8020A084 00206FE4 C0 02 B1 54 */ lfs f0, lbl_805ACE74@sda21(r2) /* 8020A088 00206FE8 C0 63 00 00 */ lfs f3, 0(r3) /* 8020A08C 00206FEC 38 61 00 30 */ addi r3, r1, 0x30 /* 8020A090 00206FF0 EC 41 07 FA */ fmadds f2, f1, f31, f0 /* 8020A094 00206FF4 C0 22 B1 78 */ lfs f1, lbl_805ACE98@sda21(r2) /* 8020A098 00206FF8 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 8020A09C 00206FFC C0 82 B1 50 */ lfs f4, lbl_805ACE70@sda21(r2) /* 8020A0A0 00207000 EC 42 08 28 */ fsubs f2, f2, f1 /* 8020A0A4 00207004 80 9F 00 04 */ lwz r4, 4(r31) /* 8020A0A8 00207008 EC 00 18 28 */ fsubs f0, f0, f3 /* 8020A0AC 0020700C C0 22 B1 7C */ lfs f1, lbl_805ACE9C@sda21(r2) /* 8020A0B0 00207010 C0 62 B1 48 */ lfs f3, lbl_805ACE68@sda21(r2) /* 8020A0B4 00207014 EC 84 00 B2 */ fmuls f4, f4, f2 /* 8020A0B8 00207018 EC 41 08 3A */ fmadds f2, f1, f0, f1 /* 8020A0BC 0020701C D0 81 00 10 */ stfs f4, 0x10(r1) /* 8020A0C0 00207020 C0 04 01 B8 */ lfs f0, 0x1b8(r4) /* 8020A0C4 00207024 C0 24 01 B4 */ lfs f1, 0x1b4(r4) /* 8020A0C8 00207028 EC 63 00 2A */ fadds f3, f3, f0 /* 8020A0CC 0020702C 48 10 90 BD */ bl Translate__12CTransform4fFfff /* 8020A0D0 00207030 38 61 00 60 */ addi r3, r1, 0x60 /* 8020A0D4 00207034 38 81 00 10 */ addi r4, r1, 0x10 /* 8020A0D8 00207038 48 10 97 39 */ bl RotateZ__12CTransform4fFRC9CRelAngle /* 8020A0DC 0020703C 38 61 00 90 */ addi r3, r1, 0x90 /* 8020A0E0 00207040 38 81 00 60 */ addi r4, r1, 0x60 /* 8020A0E4 00207044 38 A1 00 30 */ addi r5, r1, 0x30 /* 8020A0E8 00207048 48 10 88 69 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8020A0EC 0020704C 38 61 00 F4 */ addi r3, r1, 0xf4 /* 8020A0F0 00207050 38 81 00 90 */ addi r4, r1, 0x90 /* 8020A0F4 00207054 48 10 8A 81 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8020A0F8 00207058 38 61 00 F4 */ addi r3, r1, 0xf4 /* 8020A0FC 0020705C 48 10 26 51 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f /* 8020A100 00207060 7F E3 FB 78 */ mr r3, r31 /* 8020A104 00207064 48 00 00 D1 */ bl DrawAllModels__18CWorldTransManagerCFv /* 8020A108 00207068 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A10C 0020706C C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020A110 00207070 C0 23 01 C8 */ lfs f1, 0x1c8(r3) /* 8020A114 00207074 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020A118 00207078 40 81 00 A0 */ ble lbl_8020A1B8 /* 8020A11C 0020707C 48 0F FD 41 */ bl GetProjectionState__9CGraphicsFv /* 8020A120 00207080 88 03 00 00 */ lbz r0, 0(r3) /* 8020A124 00207084 98 01 00 14 */ stb r0, 0x14(r1) /* 8020A128 00207088 C0 03 00 04 */ lfs f0, 4(r3) /* 8020A12C 0020708C D0 01 00 18 */ stfs f0, 0x18(r1) /* 8020A130 00207090 C0 03 00 08 */ lfs f0, 8(r3) /* 8020A134 00207094 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8020A138 00207098 C0 03 00 0C */ lfs f0, 0xc(r3) /* 8020A13C 0020709C D0 01 00 20 */ stfs f0, 0x20(r1) /* 8020A140 002070A0 C0 03 00 10 */ lfs f0, 0x10(r3) /* 8020A144 002070A4 D0 01 00 24 */ stfs f0, 0x24(r1) /* 8020A148 002070A8 C0 03 00 14 */ lfs f0, 0x14(r3) /* 8020A14C 002070AC D0 01 00 28 */ stfs f0, 0x28(r1) /* 8020A150 002070B0 C0 03 00 18 */ lfs f0, 0x18(r3) /* 8020A154 002070B4 38 61 00 C0 */ addi r3, r1, 0xc0 /* 8020A158 002070B8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8020A15C 002070BC 4B EE 1E E1 */ bl __ct__15CCameraBlurPassFv /* 8020A160 002070C0 80 BF 00 04 */ lwz r5, 4(r31) /* 8020A164 002070C4 38 61 00 C0 */ addi r3, r1, 0xc0 /* 8020A168 002070C8 C0 42 B1 28 */ lfs f2, lbl_805ACE48@sda21(r2) /* 8020A16C 002070CC 38 80 00 01 */ li r4, 1 /* 8020A170 002070D0 C0 25 01 C8 */ lfs f1, 0x1c8(r5) /* 8020A174 002070D4 38 A0 00 00 */ li r5, 0 /* 8020A178 002070D8 4B EE 18 2D */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb /* 8020A17C 002070DC 38 61 00 C0 */ addi r3, r1, 0xc0 /* 8020A180 002070E0 4B EE 09 09 */ bl Draw__15CCameraBlurPassCFv /* 8020A184 002070E4 38 61 00 14 */ addi r3, r1, 0x14 /* 8020A188 002070E8 48 0F FC 79 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState /* 8020A18C 002070EC 88 01 00 CC */ lbz r0, 0xcc(r1) /* 8020A190 002070F0 28 00 00 00 */ cmplwi r0, 0 /* 8020A194 002070F4 41 82 00 1C */ beq lbl_8020A1B0 /* 8020A198 002070F8 34 61 00 C0 */ addic. r3, r1, 0xc0 /* 8020A19C 002070FC 41 82 00 14 */ beq lbl_8020A1B0 /* 8020A1A0 00207100 28 03 00 00 */ cmplwi r3, 0 /* 8020A1A4 00207104 41 82 00 0C */ beq lbl_8020A1B0 /* 8020A1A8 00207108 38 80 00 00 */ li r4, 0 /* 8020A1AC 0020710C 48 13 6C 95 */ bl __dt__6CTokenFv lbl_8020A1B0: /* 8020A1B0 00207110 38 00 00 00 */ li r0, 0 /* 8020A1B4 00207114 98 01 00 CC */ stb r0, 0xcc(r1) lbl_8020A1B8: /* 8020A1B8 00207118 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 8020A1BC 0020711C 80 01 01 44 */ lwz r0, 0x144(r1) /* 8020A1C0 00207120 CB E1 01 30 */ lfd f31, 0x130(r1) /* 8020A1C4 00207124 83 E1 01 2C */ lwz r31, 0x12c(r1) /* 8020A1C8 00207128 7C 08 03 A6 */ mtlr r0 /* 8020A1CC 0020712C 38 21 01 40 */ addi r1, r1, 0x140 /* 8020A1D0 00207130 4E 80 00 20 */ blr .global DrawAllModels__18CWorldTransManagerCFv DrawAllModels__18CWorldTransManagerCFv: /* 8020A1D4 00207134 94 21 FC 10 */ stwu r1, -0x3f0(r1) /* 8020A1D8 00207138 7C 08 02 A6 */ mflr r0 /* 8020A1DC 0020713C 3C 80 80 5A */ lis r4, lbl_805A0004@ha /* 8020A1E0 00207140 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) /* 8020A1E4 00207144 90 01 03 F4 */ stw r0, 0x3f4(r1) /* 8020A1E8 00207148 38 A1 00 3C */ addi r5, r1, 0x3c /* 8020A1EC 0020714C 38 E0 00 04 */ li r7, 4 /* 8020A1F0 00207150 39 20 00 00 */ li r9, 0 /* 8020A1F4 00207154 93 E1 03 EC */ stw r31, 0x3ec(r1) /* 8020A1F8 00207158 39 40 00 00 */ li r10, 0 /* 8020A1FC 0020715C 93 C1 03 E8 */ stw r30, 0x3e8(r1) /* 8020A200 00207160 7C 7E 1B 78 */ mr r30, r3 /* 8020A204 00207164 84 C4 66 A0 */ lwzu r6, 0x66a0(r4) /* 8020A208 00207168 83 E3 00 04 */ lwz r31, 4(r3) /* 8020A20C 0020716C 38 61 01 08 */ addi r3, r1, 0x108 /* 8020A210 00207170 81 04 00 04 */ lwz r8, lbl_805A0004@l(r4) /* 8020A214 00207174 80 04 00 08 */ lwz r0, 8(r4) /* 8020A218 00207178 38 80 00 00 */ li r4, 0 /* 8020A21C 0020717C 90 C1 00 3C */ stw r6, 0x3c(r1) /* 8020A220 00207180 38 C0 00 04 */ li r6, 4 /* 8020A224 00207184 91 01 00 40 */ stw r8, 0x40(r1) /* 8020A228 00207188 39 00 00 00 */ li r8, 0 /* 8020A22C 0020718C 90 01 00 44 */ stw r0, 0x44(r1) /* 8020A230 00207190 4B EF AF 9D */ bl __ct__12CActorLightsFUi9CVector3fiif /* 8020A234 00207194 C0 22 B1 80 */ lfs f1, lbl_805ACEA0@sda21(r2) /* 8020A238 00207198 38 61 00 08 */ addi r3, r1, 8 /* 8020A23C 0020719C C0 82 B1 30 */ lfs f4, lbl_805ACE50@sda21(r2) /* 8020A240 002071A0 FC 40 08 90 */ fmr f2, f1 /* 8020A244 002071A4 FC 60 08 90 */ fmr f3, f1 /* 8020A248 002071A8 48 15 91 A5 */ bl __ct__6CColorFffff /* 8020A24C 002071AC 7C 65 1B 78 */ mr r5, r3 /* 8020A250 002071B0 38 61 01 08 */ addi r3, r1, 0x108 /* 8020A254 002071B4 38 9F 01 A0 */ addi r4, r31, 0x1a0 /* 8020A258 002071B8 4B EF 8E D5 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" /* 8020A25C 002071BC 80 1F 01 10 */ lwz r0, 0x110(r31) /* 8020A260 002071C0 38 60 00 00 */ li r3, 0 /* 8020A264 002071C4 28 00 00 00 */ cmplwi r0, 0 /* 8020A268 002071C8 40 82 00 14 */ bne lbl_8020A27C /* 8020A26C 002071CC 88 1F 01 28 */ lbz r0, 0x128(r31) /* 8020A270 002071D0 28 00 00 00 */ cmplwi r0, 0 /* 8020A274 002071D4 40 82 00 08 */ bne lbl_8020A27C /* 8020A278 002071D8 38 60 00 01 */ li r3, 1 lbl_8020A27C: /* 8020A27C 002071DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020A280 002071E0 40 82 01 20 */ bne lbl_8020A3A0 /* 8020A284 002071E4 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A288 002071E8 38 80 00 00 */ li r4, 0 /* 8020A28C 002071EC 38 00 00 03 */ li r0, 3 /* 8020A290 002071F0 98 81 00 34 */ stb r4, 0x34(r1) /* 8020A294 002071F4 FC 40 08 90 */ fmr f2, f1 /* 8020A298 002071F8 38 61 00 38 */ addi r3, r1, 0x38 /* 8020A29C 002071FC FC 60 08 90 */ fmr f3, f1 /* 8020A2A0 00207200 98 81 00 35 */ stb r4, 0x35(r1) /* 8020A2A4 00207204 FC 80 08 90 */ fmr f4, f1 /* 8020A2A8 00207208 B0 01 00 36 */ sth r0, 0x36(r1) /* 8020A2AC 0020720C 48 15 91 41 */ bl __ct__6CColorFffff /* 8020A2B0 00207210 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020A2B4 00207214 38 61 00 D8 */ addi r3, r1, 0xd8 /* 8020A2B8 00207218 C0 82 B1 48 */ lfs f4, lbl_805ACE68@sda21(r2) /* 8020A2BC 0020721C C0 7E 00 1C */ lfs f3, 0x1c(r30) /* 8020A2C0 00207220 FC 40 08 90 */ fmr f2, f1 /* 8020A2C4 00207224 C0 1E 00 18 */ lfs f0, 0x18(r30) /* 8020A2C8 00207228 EC 64 00 FC */ fnmsubs f3, f4, f3, f0 /* 8020A2CC 0020722C 48 10 8E BD */ bl Translate__12CTransform4fFfff /* 8020A2D0 00207230 38 7F 01 00 */ addi r3, r31, 0x100 /* 8020A2D4 00207234 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 8020A2D8 00207238 38 C1 01 08 */ addi r6, r1, 0x108 /* 8020A2DC 0020723C 38 E1 00 34 */ addi r7, r1, 0x34 /* 8020A2E0 00207240 38 80 00 00 */ li r4, 0 /* 8020A2E4 00207244 4B F0 C5 91 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 8020A2E8 00207248 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A2EC 0020724C 38 80 00 00 */ li r4, 0 /* 8020A2F0 00207250 38 00 00 03 */ li r0, 3 /* 8020A2F4 00207254 98 81 00 2C */ stb r4, 0x2c(r1) /* 8020A2F8 00207258 FC 40 08 90 */ fmr f2, f1 /* 8020A2FC 0020725C 38 61 00 30 */ addi r3, r1, 0x30 /* 8020A300 00207260 FC 60 08 90 */ fmr f3, f1 /* 8020A304 00207264 98 81 00 2D */ stb r4, 0x2d(r1) /* 8020A308 00207268 FC 80 08 90 */ fmr f4, f1 /* 8020A30C 0020726C B0 01 00 2E */ sth r0, 0x2e(r1) /* 8020A310 00207270 48 15 90 DD */ bl __ct__6CColorFffff /* 8020A314 00207274 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020A318 00207278 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8020A31C 0020727C C0 7E 00 18 */ lfs f3, 0x18(r30) /* 8020A320 00207280 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 8020A324 00207284 FC 40 08 90 */ fmr f2, f1 /* 8020A328 00207288 EC 63 00 28 */ fsubs f3, f3, f0 /* 8020A32C 0020728C 48 10 8E 5D */ bl Translate__12CTransform4fFfff /* 8020A330 00207290 38 7F 01 00 */ addi r3, r31, 0x100 /* 8020A334 00207294 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 8020A338 00207298 38 C1 01 08 */ addi r6, r1, 0x108 /* 8020A33C 0020729C 38 E1 00 2C */ addi r7, r1, 0x2c /* 8020A340 002072A0 38 80 00 00 */ li r4, 0 /* 8020A344 002072A4 4B F0 C5 31 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 8020A348 002072A8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A34C 002072AC 38 80 00 00 */ li r4, 0 /* 8020A350 002072B0 38 00 00 03 */ li r0, 3 /* 8020A354 002072B4 98 81 00 24 */ stb r4, 0x24(r1) /* 8020A358 002072B8 FC 40 08 90 */ fmr f2, f1 /* 8020A35C 002072BC 38 61 00 28 */ addi r3, r1, 0x28 /* 8020A360 002072C0 FC 60 08 90 */ fmr f3, f1 /* 8020A364 002072C4 98 81 00 25 */ stb r4, 0x25(r1) /* 8020A368 002072C8 FC 80 08 90 */ fmr f4, f1 /* 8020A36C 002072CC B0 01 00 26 */ sth r0, 0x26(r1) /* 8020A370 002072D0 48 15 90 7D */ bl __ct__6CColorFffff /* 8020A374 002072D4 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020A378 002072D8 38 61 00 78 */ addi r3, r1, 0x78 /* 8020A37C 002072DC C0 7E 00 18 */ lfs f3, 0x18(r30) /* 8020A380 002072E0 FC 40 08 90 */ fmr f2, f1 /* 8020A384 002072E4 48 10 8E 05 */ bl Translate__12CTransform4fFfff /* 8020A388 002072E8 38 7F 01 00 */ addi r3, r31, 0x100 /* 8020A38C 002072EC 38 A1 00 78 */ addi r5, r1, 0x78 /* 8020A390 002072F0 38 C1 01 08 */ addi r6, r1, 0x108 /* 8020A394 002072F4 38 E1 00 24 */ addi r7, r1, 0x24 /* 8020A398 002072F8 38 80 00 00 */ li r4, 0 /* 8020A39C 002072FC 4B F0 C4 D9 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_8020A3A0: /* 8020A3A0 00207300 80 1F 00 C4 */ lwz r0, 0xc4(r31) /* 8020A3A4 00207304 38 60 00 00 */ li r3, 0 /* 8020A3A8 00207308 28 00 00 00 */ cmplwi r0, 0 /* 8020A3AC 0020730C 40 82 00 14 */ bne lbl_8020A3C0 /* 8020A3B0 00207310 88 1F 00 DC */ lbz r0, 0xdc(r31) /* 8020A3B4 00207314 28 00 00 00 */ cmplwi r0, 0 /* 8020A3B8 00207318 40 82 00 08 */ bne lbl_8020A3C0 /* 8020A3BC 0020731C 38 60 00 01 */ li r3, 1 lbl_8020A3C0: /* 8020A3C0 00207320 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020A3C4 00207324 40 82 00 4C */ bne lbl_8020A410 /* 8020A3C8 00207328 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A3CC 0020732C 38 80 00 00 */ li r4, 0 /* 8020A3D0 00207330 38 00 00 03 */ li r0, 3 /* 8020A3D4 00207334 98 81 00 1C */ stb r4, 0x1c(r1) /* 8020A3D8 00207338 FC 40 08 90 */ fmr f2, f1 /* 8020A3DC 0020733C 38 61 00 20 */ addi r3, r1, 0x20 /* 8020A3E0 00207340 FC 60 08 90 */ fmr f3, f1 /* 8020A3E4 00207344 98 81 00 1D */ stb r4, 0x1d(r1) /* 8020A3E8 00207348 FC 80 08 90 */ fmr f4, f1 /* 8020A3EC 0020734C B0 01 00 1E */ sth r0, 0x1e(r1) /* 8020A3F0 00207350 48 15 8F FD */ bl __ct__6CColorFffff /* 8020A3F4 00207354 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8020A3F8 00207358 38 7F 00 B4 */ addi r3, r31, 0xb4 /* 8020A3FC 0020735C 38 A4 66 70 */ addi r5, r4, skIdentity4f@l /* 8020A400 00207360 38 C1 01 08 */ addi r6, r1, 0x108 /* 8020A404 00207364 38 E1 00 1C */ addi r7, r1, 0x1c /* 8020A408 00207368 38 80 00 00 */ li r4, 0 /* 8020A40C 0020736C 4B F0 C4 69 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_8020A410: /* 8020A410 00207370 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8020A414 00207374 38 80 00 00 */ li r4, 0 /* 8020A418 00207378 28 03 00 00 */ cmplwi r3, 0 /* 8020A41C 0020737C 40 82 00 14 */ bne lbl_8020A430 /* 8020A420 00207380 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020A424 00207384 28 00 00 00 */ cmplwi r0, 0 /* 8020A428 00207388 40 82 00 08 */ bne lbl_8020A430 /* 8020A42C 0020738C 38 80 00 01 */ li r4, 1 lbl_8020A430: /* 8020A430 00207390 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8020A434 00207394 40 82 00 D8 */ bne lbl_8020A50C /* 8020A438 00207398 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8020A43C 0020739C 38 04 66 70 */ addi r0, r4, skIdentity4f@l /* 8020A440 002073A0 7C 1E 03 78 */ mr r30, r0 /* 8020A444 002073A4 4B E2 25 C1 */ bl PreRender__9CAnimDataFv /* 8020A448 002073A8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A44C 002073AC 38 80 00 00 */ li r4, 0 /* 8020A450 002073B0 38 00 00 03 */ li r0, 3 /* 8020A454 002073B4 98 81 00 14 */ stb r4, 0x14(r1) /* 8020A458 002073B8 FC 40 08 90 */ fmr f2, f1 /* 8020A45C 002073BC 38 61 00 18 */ addi r3, r1, 0x18 /* 8020A460 002073C0 FC 60 08 90 */ fmr f3, f1 /* 8020A464 002073C4 98 81 00 15 */ stb r4, 0x15(r1) /* 8020A468 002073C8 FC 80 08 90 */ fmr f4, f1 /* 8020A46C 002073CC B0 01 00 16 */ sth r0, 0x16(r1) /* 8020A470 002073D0 48 15 8F 7D */ bl __ct__6CColorFffff /* 8020A474 002073D4 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8020A478 002073D8 38 7F 00 1C */ addi r3, r31, 0x1c /* 8020A47C 002073DC 38 A4 66 70 */ addi r5, r4, skIdentity4f@l /* 8020A480 002073E0 38 C1 01 08 */ addi r6, r1, 0x108 /* 8020A484 002073E4 38 E1 00 14 */ addi r7, r1, 0x14 /* 8020A488 002073E8 38 80 00 00 */ li r4, 0 /* 8020A48C 002073EC 4B F0 C3 E9 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 8020A490 002073F0 80 1F 00 78 */ lwz r0, 0x78(r31) /* 8020A494 002073F4 38 60 00 00 */ li r3, 0 /* 8020A498 002073F8 28 00 00 00 */ cmplwi r0, 0 /* 8020A49C 002073FC 40 82 00 14 */ bne lbl_8020A4B0 /* 8020A4A0 00207400 88 1F 00 90 */ lbz r0, 0x90(r31) /* 8020A4A4 00207404 28 00 00 00 */ cmplwi r0, 0 /* 8020A4A8 00207408 40 82 00 08 */ bne lbl_8020A4B0 /* 8020A4AC 0020740C 38 60 00 01 */ li r3, 1 lbl_8020A4B0: /* 8020A4B0 00207410 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020A4B4 00207414 40 82 00 58 */ bne lbl_8020A50C /* 8020A4B8 00207418 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A4BC 0020741C 38 80 00 00 */ li r4, 0 /* 8020A4C0 00207420 38 00 00 03 */ li r0, 3 /* 8020A4C4 00207424 98 81 00 0C */ stb r4, 0xc(r1) /* 8020A4C8 00207428 FC 40 08 90 */ fmr f2, f1 /* 8020A4CC 0020742C 38 61 00 10 */ addi r3, r1, 0x10 /* 8020A4D0 00207430 FC 60 08 90 */ fmr f3, f1 /* 8020A4D4 00207434 98 81 00 0D */ stb r4, 0xd(r1) /* 8020A4D8 00207438 FC 80 08 90 */ fmr f4, f1 /* 8020A4DC 0020743C B0 01 00 0E */ sth r0, 0xe(r1) /* 8020A4E0 00207440 48 15 8F 0D */ bl __ct__6CColorFffff /* 8020A4E4 00207444 7F C4 F3 78 */ mr r4, r30 /* 8020A4E8 00207448 38 61 00 48 */ addi r3, r1, 0x48 /* 8020A4EC 0020744C 38 BF 01 70 */ addi r5, r31, 0x170 /* 8020A4F0 00207450 48 10 84 61 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8020A4F4 00207454 38 7F 00 68 */ addi r3, r31, 0x68 /* 8020A4F8 00207458 38 A1 00 48 */ addi r5, r1, 0x48 /* 8020A4FC 0020745C 38 C1 01 08 */ addi r6, r1, 0x108 /* 8020A500 00207460 38 E1 00 0C */ addi r7, r1, 0xc /* 8020A504 00207464 38 80 00 00 */ li r4, 0 /* 8020A508 00207468 4B F0 C3 6D */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_8020A50C: /* 8020A50C 0020746C 38 61 01 08 */ addi r3, r1, 0x108 /* 8020A510 00207470 38 80 FF FF */ li r4, -1 /* 8020A514 00207474 4B EF AB C1 */ bl __dt__12CActorLightsFv /* 8020A518 00207478 80 01 03 F4 */ lwz r0, 0x3f4(r1) /* 8020A51C 0020747C 83 E1 03 EC */ lwz r31, 0x3ec(r1) /* 8020A520 00207480 83 C1 03 E8 */ lwz r30, 0x3e8(r1) /* 8020A524 00207484 7C 08 03 A6 */ mtlr r0 /* 8020A528 00207488 38 21 03 F0 */ addi r1, r1, 0x3f0 /* 8020A52C 0020748C 4E 80 00 20 */ blr .global UpdateLights__18CWorldTransManagerFf UpdateLights__18CWorldTransManagerFf: /* 8020A530 00207490 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 8020A534 00207494 7C 08 02 A6 */ mflr r0 /* 8020A538 00207498 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 8020A53C 0020749C DB E1 01 90 */ stfd f31, 0x190(r1) /* 8020A540 002074A0 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 8020A544 002074A4 93 E1 01 8C */ stw r31, 0x18c(r1) /* 8020A548 002074A8 93 C1 01 88 */ stw r30, 0x188(r1) /* 8020A54C 002074AC 7C 7E 1B 78 */ mr r30, r3 /* 8020A550 002074B0 80 63 00 04 */ lwz r3, 4(r3) /* 8020A554 002074B4 28 03 00 00 */ cmplwi r3, 0 /* 8020A558 002074B8 41 82 02 04 */ beq lbl_8020A75C /* 8020A55C 002074BC 80 03 01 A4 */ lwz r0, 0x1a4(r3) /* 8020A560 002074C0 3B E3 01 A0 */ addi r31, r3, 0x1a0 /* 8020A564 002074C4 80 63 01 AC */ lwz r3, 0x1ac(r3) /* 8020A568 002074C8 1C 00 00 50 */ mulli r0, r0, 0x50 /* 8020A56C 002074CC 90 61 00 0C */ stw r3, 0xc(r1) /* 8020A570 002074D0 7C 03 02 14 */ add r0, r3, r0 /* 8020A574 002074D4 90 61 00 08 */ stw r3, 8(r1) /* 8020A578 002074D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8020A57C 002074DC 90 01 00 10 */ stw r0, 0x10(r1) /* 8020A580 002074E0 48 00 00 08 */ b lbl_8020A588 lbl_8020A584: /* 8020A584 002074E4 38 63 00 50 */ addi r3, r3, 0x50 lbl_8020A588: /* 8020A588 002074E8 7C 03 00 40 */ cmplw r3, r0 /* 8020A58C 002074EC 40 82 FF F8 */ bne lbl_8020A584 /* 8020A590 002074F0 38 00 00 00 */ li r0, 0 /* 8020A594 002074F4 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020A598 002074F8 90 1F 00 04 */ stw r0, 4(r31) /* 8020A59C 002074FC C0 02 B1 70 */ lfs f0, lbl_805ACE90@sda21(r2) /* 8020A5A0 00207500 D0 21 00 38 */ stfs f1, 0x38(r1) /* 8020A5A4 00207504 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 8020A5A8 00207508 D0 21 00 40 */ stfs f1, 0x40(r1) /* 8020A5AC 0020750C 48 13 FA 01 */ bl White__6CColorFv /* 8020A5B0 00207510 3C 80 80 5A */ lis r4, lbl_805A6730@ha /* 8020A5B4 00207514 C0 22 B1 78 */ lfs f1, lbl_805ACE98@sda21(r2) /* 8020A5B8 00207518 38 A4 67 30 */ addi r5, r4, lbl_805A6730@l /* 8020A5BC 0020751C 7C 66 1B 78 */ mr r6, r3 /* 8020A5C0 00207520 38 61 00 44 */ addi r3, r1, 0x44 /* 8020A5C4 00207524 38 81 00 38 */ addi r4, r1, 0x38 /* 8020A5C8 00207528 48 0F BE 35 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf /* 8020A5CC 0020752C 38 61 01 34 */ addi r3, r1, 0x134 /* 8020A5D0 00207530 38 81 00 44 */ addi r4, r1, 0x44 /* 8020A5D4 00207534 4B E3 0F 9D */ bl __ct__6CLightFCR6CLight /* 8020A5D8 00207538 C0 42 B1 28 */ lfs f2, lbl_805ACE48@sda21(r2) /* 8020A5DC 0020753C 38 61 01 34 */ addi r3, r1, 0x134 /* 8020A5E0 00207540 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2) /* 8020A5E4 00207544 FC 60 10 90 */ fmr f3, f2 /* 8020A5E8 00207548 48 0F BD C9 */ bl SetAttenuation__6CLightFfff /* 8020A5EC 0020754C 38 61 00 E4 */ addi r3, r1, 0xe4 /* 8020A5F0 00207550 38 81 01 34 */ addi r4, r1, 0x134 /* 8020A5F4 00207554 4B E3 0F 7D */ bl __ct__6CLightFCR6CLight /* 8020A5F8 00207558 C0 42 B1 48 */ lfs f2, lbl_805ACE68@sda21(r2) /* 8020A5FC 0020755C 38 61 00 E4 */ addi r3, r1, 0xe4 /* 8020A600 00207560 C0 3E 00 18 */ lfs f1, 0x18(r30) /* 8020A604 00207564 38 81 00 2C */ addi r4, r1, 0x2c /* 8020A608 00207568 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 8020A60C 0020756C C0 81 00 3C */ lfs f4, 0x3c(r1) /* 8020A610 00207570 C0 62 B1 28 */ lfs f3, lbl_805ACE48@sda21(r2) /* 8020A614 00207574 EC 22 00 78 */ fmsubs f1, f2, f1, f0 /* 8020A618 00207578 C0 41 00 40 */ lfs f2, 0x40(r1) /* 8020A61C 0020757C C0 01 00 38 */ lfs f0, 0x38(r1) /* 8020A620 00207580 EC 84 18 2A */ fadds f4, f4, f3 /* 8020A624 00207584 EC 22 08 2A */ fadds f1, f2, f1 /* 8020A628 00207588 EC 00 18 2A */ fadds f0, f0, f3 /* 8020A62C 0020758C D0 81 00 30 */ stfs f4, 0x30(r1) /* 8020A630 00207590 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8020A634 00207594 D0 21 00 34 */ stfs f1, 0x34(r1) /* 8020A638 00207598 48 0F BD 09 */ bl SetPosition__6CLightFRC9CVector3f /* 8020A63C 0020759C 88 1E 00 44 */ lbz r0, 0x44(r30) /* 8020A640 002075A0 C3 E2 B1 30 */ lfs f31, lbl_805ACE50@sda21(r2) /* 8020A644 002075A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8020A648 002075A8 40 82 00 28 */ bne lbl_8020A670 /* 8020A64C 002075AC C0 5E 00 1C */ lfs f2, 0x1c(r30) /* 8020A650 002075B0 C0 3E 00 18 */ lfs f1, 0x18(r30) /* 8020A654 002075B4 C0 02 B1 48 */ lfs f0, lbl_805ACE68@sda21(r2) /* 8020A658 002075B8 EC 22 08 28 */ fsubs f1, f2, f1 /* 8020A65C 002075BC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020A660 002075C0 40 80 00 10 */ bge lbl_8020A670 /* 8020A664 002075C4 C0 02 B1 38 */ lfs f0, lbl_805ACE58@sda21(r2) /* 8020A668 002075C8 EF E1 00 32 */ fmuls f31, f1, f0 /* 8020A66C 002075CC 48 00 00 24 */ b lbl_8020A690 lbl_8020A670: /* 8020A670 002075D0 28 00 00 00 */ cmplwi r0, 0 /* 8020A674 002075D4 41 82 00 1C */ beq lbl_8020A690 /* 8020A678 002075D8 C0 3E 00 18 */ lfs f1, 0x18(r30) /* 8020A67C 002075DC C0 02 B1 48 */ lfs f0, lbl_805ACE68@sda21(r2) /* 8020A680 002075E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020A684 002075E4 40 80 00 0C */ bge lbl_8020A690 /* 8020A688 002075E8 C0 02 B1 38 */ lfs f0, lbl_805ACE58@sda21(r2) /* 8020A68C 002075EC EF E1 00 32 */ fmuls f31, f1, f0 lbl_8020A690: /* 8020A690 002075F0 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 8020A694 002075F4 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8020A698 002075F8 40 80 00 B8 */ bge lbl_8020A750 /* 8020A69C 002075FC 38 61 00 94 */ addi r3, r1, 0x94 /* 8020A6A0 00207600 38 81 01 34 */ addi r4, r1, 0x134 /* 8020A6A4 00207604 4B E3 0E CD */ bl __ct__6CLightFCR6CLight /* 8020A6A8 00207608 88 1E 00 44 */ lbz r0, 0x44(r30) /* 8020A6AC 0020760C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8020A6B0 00207610 41 82 00 0C */ beq lbl_8020A6BC /* 8020A6B4 00207614 C0 7E 00 1C */ lfs f3, 0x1c(r30) /* 8020A6B8 00207618 48 00 00 0C */ b lbl_8020A6C4 lbl_8020A6BC: /* 8020A6BC 0020761C C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 8020A6C0 00207620 FC 60 00 50 */ fneg f3, f0 lbl_8020A6C4: /* 8020A6C4 00207624 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8020A6C8 00207628 38 61 00 94 */ addi r3, r1, 0x94 /* 8020A6CC 0020762C C0 41 00 3C */ lfs f2, 0x3c(r1) /* 8020A6D0 00207630 38 81 00 20 */ addi r4, r1, 0x20 /* 8020A6D4 00207634 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020A6D8 00207638 EC 60 18 2A */ fadds f3, f0, f3 /* 8020A6DC 0020763C C0 01 00 38 */ lfs f0, 0x38(r1) /* 8020A6E0 00207640 EC 42 08 2A */ fadds f2, f2, f1 /* 8020A6E4 00207644 EC 00 08 2A */ fadds f0, f0, f1 /* 8020A6E8 00207648 D0 61 00 28 */ stfs f3, 0x28(r1) /* 8020A6EC 0020764C D0 41 00 24 */ stfs f2, 0x24(r1) /* 8020A6F0 00207650 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8020A6F4 00207654 48 0F BC 4D */ bl SetPosition__6CLightFRC9CVector3f /* 8020A6F8 00207658 48 13 F8 BD */ bl Black__6CColorFv /* 8020A6FC 0020765C C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 8020A700 00207660 7C 64 1B 78 */ mr r4, r3 /* 8020A704 00207664 38 61 00 1C */ addi r3, r1, 0x1c /* 8020A708 00207668 38 A1 01 4C */ addi r5, r1, 0x14c /* 8020A70C 0020766C EC 20 F8 28 */ fsubs f1, f0, f31 /* 8020A710 00207670 48 15 8B 9D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8020A714 00207674 38 61 00 94 */ addi r3, r1, 0x94 /* 8020A718 00207678 38 81 00 1C */ addi r4, r1, 0x1c /* 8020A71C 0020767C 48 0F BC 41 */ bl SetColor__6CLightFRC6CColor /* 8020A720 00207680 7F E3 FB 78 */ mr r3, r31 /* 8020A724 00207684 38 81 00 94 */ addi r4, r1, 0x94 /* 8020A728 00207688 4B E3 B2 9D */ bl sub_800459c4 /* 8020A72C 0020768C 48 13 F8 89 */ bl Black__6CColorFv /* 8020A730 00207690 FC 20 F8 90 */ fmr f1, f31 /* 8020A734 00207694 7C 64 1B 78 */ mr r4, r3 /* 8020A738 00207698 38 61 00 18 */ addi r3, r1, 0x18 /* 8020A73C 0020769C 38 A1 00 FC */ addi r5, r1, 0xfc /* 8020A740 002076A0 48 15 8B 6D */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8020A744 002076A4 38 61 00 E4 */ addi r3, r1, 0xe4 /* 8020A748 002076A8 38 81 00 18 */ addi r4, r1, 0x18 /* 8020A74C 002076AC 48 0F BC 11 */ bl SetColor__6CLightFRC6CColor lbl_8020A750: /* 8020A750 002076B0 7F E3 FB 78 */ mr r3, r31 /* 8020A754 002076B4 38 81 00 E4 */ addi r4, r1, 0xe4 /* 8020A758 002076B8 4B E3 B2 6D */ bl sub_800459c4 lbl_8020A75C: /* 8020A75C 002076BC E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 8020A760 002076C0 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 8020A764 002076C4 CB E1 01 90 */ lfd f31, 0x190(r1) /* 8020A768 002076C8 83 E1 01 8C */ lwz r31, 0x18c(r1) /* 8020A76C 002076CC 83 C1 01 88 */ lwz r30, 0x188(r1) /* 8020A770 002076D0 7C 08 03 A6 */ mtlr r0 /* 8020A774 002076D4 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 8020A778 002076D8 4E 80 00 20 */ blr .global Draw__18CWorldTransManagerCFv Draw__18CWorldTransManagerCFv: /* 8020A77C 002076DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020A780 002076E0 7C 08 02 A6 */ mflr r0 /* 8020A784 002076E4 90 01 00 14 */ stw r0, 0x14(r1) /* 8020A788 002076E8 80 03 00 30 */ lwz r0, 0x30(r3) /* 8020A78C 002076EC 2C 00 00 01 */ cmpwi r0, 1 /* 8020A790 002076F0 41 82 00 20 */ beq lbl_8020A7B0 /* 8020A794 002076F4 40 80 00 10 */ bge lbl_8020A7A4 /* 8020A798 002076F8 2C 00 00 00 */ cmpwi r0, 0 /* 8020A79C 002076FC 40 80 00 24 */ bge lbl_8020A7C0 /* 8020A7A0 00207700 48 00 00 24 */ b lbl_8020A7C4 lbl_8020A7A4: /* 8020A7A4 00207704 2C 00 00 03 */ cmpwi r0, 3 /* 8020A7A8 00207708 40 80 00 1C */ bge lbl_8020A7C4 /* 8020A7AC 0020770C 48 00 00 0C */ b lbl_8020A7B8 lbl_8020A7B0: /* 8020A7B0 00207710 4B FF F2 D1 */ bl DrawEnabled__18CWorldTransManagerCFv /* 8020A7B4 00207714 48 00 00 10 */ b lbl_8020A7C4 lbl_8020A7B8: /* 8020A7B8 00207718 4B FF EA C9 */ bl DrawText__18CWorldTransManagerCFv /* 8020A7BC 0020771C 48 00 00 08 */ b lbl_8020A7C4 lbl_8020A7C0: /* 8020A7C0 00207720 4B FF F2 6D */ bl DrawDisabled__18CWorldTransManagerCFv lbl_8020A7C4: /* 8020A7C4 00207724 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020A7C8 00207728 7C 08 03 A6 */ mtlr r0 /* 8020A7CC 0020772C 38 21 00 10 */ addi r1, r1, 0x10 /* 8020A7D0 00207730 4E 80 00 20 */ blr .global UpdateEnabled__18CWorldTransManagerFf UpdateEnabled__18CWorldTransManagerFf: /* 8020A7D4 00207734 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8020A7D8 00207738 7C 08 02 A6 */ mflr r0 /* 8020A7DC 0020773C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8020A7E0 00207740 DB E1 00 90 */ stfd f31, 0x90(r1) /* 8020A7E4 00207744 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8020A7E8 00207748 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8020A7EC 0020774C 93 C1 00 88 */ stw r30, 0x88(r1) /* 8020A7F0 00207750 7C 7F 1B 78 */ mr r31, r3 /* 8020A7F4 00207754 D0 21 00 08 */ stfs f1, 8(r1) /* 8020A7F8 00207758 80 83 00 04 */ lwz r4, 4(r3) /* 8020A7FC 0020775C 28 04 00 00 */ cmplwi r4, 0 /* 8020A800 00207760 41 82 02 48 */ beq lbl_8020AA48 /* 8020A804 00207764 80 04 00 2C */ lwz r0, 0x2c(r4) /* 8020A808 00207768 38 60 00 00 */ li r3, 0 /* 8020A80C 0020776C 28 00 00 00 */ cmplwi r0, 0 /* 8020A810 00207770 40 82 00 14 */ bne lbl_8020A824 /* 8020A814 00207774 88 04 00 44 */ lbz r0, 0x44(r4) /* 8020A818 00207778 28 00 00 00 */ cmplwi r0, 0 /* 8020A81C 0020777C 40 82 00 08 */ bne lbl_8020A824 /* 8020A820 00207780 38 60 00 01 */ li r3, 1 lbl_8020A824: /* 8020A824 00207784 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020A828 00207788 40 82 02 20 */ bne lbl_8020AA48 /* 8020A82C 0020778C 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020A830 00207790 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8020A834 00207794 41 82 00 68 */ beq lbl_8020A89C /* 8020A838 00207798 88 04 01 DC */ lbz r0, 0x1dc(r4) /* 8020A83C 0020779C 28 00 00 00 */ cmplwi r0, 0 /* 8020A840 002077A0 40 82 00 5C */ bne lbl_8020A89C /* 8020A844 002077A4 C0 1F 00 00 */ lfs f0, 0(r31) /* 8020A848 002077A8 C0 62 B1 48 */ lfs f3, lbl_805ACE68@sda21(r2) /* 8020A84C 002077AC FC 00 18 40 */ fcmpo cr0, f0, f3 /* 8020A850 002077B0 4C 41 13 82 */ cror 2, 1, 2 /* 8020A854 002077B4 40 82 00 48 */ bne lbl_8020A89C /* 8020A858 002077B8 38 00 00 01 */ li r0, 1 /* 8020A85C 002077BC C0 42 B1 84 */ lfs f2, lbl_805ACEA4@sda21(r2) /* 8020A860 002077C0 98 04 01 DC */ stb r0, 0x1dc(r4) /* 8020A864 002077C4 C0 22 B1 4C */ lfs f1, lbl_805ACE6C@sda21(r2) /* 8020A868 002077C8 C0 1F 00 00 */ lfs f0, 0(r31) /* 8020A86C 002077CC 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A870 002077D0 D0 03 01 D0 */ stfs f0, 0x1d0(r3) /* 8020A874 002077D4 C0 1F 00 00 */ lfs f0, 0(r31) /* 8020A878 002077D8 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A87C 002077DC EC 02 00 2A */ fadds f0, f2, f0 /* 8020A880 002077E0 EC 00 18 28 */ fsubs f0, f0, f3 /* 8020A884 002077E4 D0 03 01 D4 */ stfs f0, 0x1d4(r3) /* 8020A888 002077E8 C0 1F 00 00 */ lfs f0, 0(r31) /* 8020A88C 002077EC 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A890 002077F0 EC 01 00 2A */ fadds f0, f1, f0 /* 8020A894 002077F4 EC 00 18 28 */ fsubs f0, f0, f3 /* 8020A898 002077F8 D0 03 01 D8 */ stfs f0, 0x1d8(r3) lbl_8020A89C: /* 8020A89C 002077FC 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A8A0 00207800 C0 3F 00 00 */ lfs f1, 0(r31) /* 8020A8A4 00207804 C0 03 01 D8 */ lfs f0, 0x1d8(r3) /* 8020A8A8 00207808 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020A8AC 0020780C 40 81 00 20 */ ble lbl_8020A8CC /* 8020A8B0 00207810 88 03 01 DC */ lbz r0, 0x1dc(r3) /* 8020A8B4 00207814 28 00 00 00 */ cmplwi r0, 0 /* 8020A8B8 00207818 41 82 00 14 */ beq lbl_8020A8CC /* 8020A8BC 0020781C 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020A8C0 00207820 38 60 00 01 */ li r3, 1 /* 8020A8C4 00207824 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8020A8C8 00207828 98 1F 00 44 */ stb r0, 0x44(r31) lbl_8020A8CC: /* 8020A8CC 0020782C 88 0D A4 EC */ lbz r0, lbl_805A90AC@sda21(r13) /* 8020A8D0 00207830 7C 00 07 75 */ extsb. r0, r0 /* 8020A8D4 00207834 40 82 00 1C */ bne lbl_8020A8F0 /* 8020A8D8 00207838 3C 60 80 3D */ lis r3, lbl_803D2768@ha /* 8020A8DC 0020783C 38 00 00 01 */ li r0, 1 /* 8020A8E0 00207840 38 63 27 68 */ addi r3, r3, lbl_803D2768@l /* 8020A8E4 00207844 98 0D A4 EC */ stb r0, lbl_805A90AC@sda21(r13) /* 8020A8E8 00207848 38 03 00 07 */ addi r0, r3, 7 /* 8020A8EC 0020784C 90 0D A4 E8 */ stw r0, lbl_805A90A8@sda21(r13) lbl_8020A8F0: /* 8020A8F0 00207850 80 9F 00 04 */ lwz r4, 4(r31) /* 8020A8F4 00207854 38 61 00 3C */ addi r3, r1, 0x3c /* 8020A8F8 00207858 C0 21 00 08 */ lfs f1, 8(r1) /* 8020A8FC 0020785C 38 BF 00 20 */ addi r5, r31, 0x20 /* 8020A900 00207860 38 84 00 1C */ addi r4, r4, 0x1c /* 8020A904 00207864 38 C0 00 01 */ li r6, 1 /* 8020A908 00207868 4B F0 B1 B1 */ bl AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b /* 8020A90C 0020786C 80 8D A4 E8 */ lwz r4, lbl_805A90A8@sda21(r13) /* 8020A910 00207870 38 61 00 2C */ addi r3, r1, 0x2c /* 8020A914 00207874 4B DF A3 A5 */ bl string_l__4rstlFPCc /* 8020A918 00207878 83 DF 00 04 */ lwz r30, 4(r31) /* 8020A91C 0020787C 38 61 00 58 */ addi r3, r1, 0x58 /* 8020A920 00207880 38 A1 00 2C */ addi r5, r1, 0x2c /* 8020A924 00207884 38 9E 00 1C */ addi r4, r30, 0x1c /* 8020A928 00207888 4B F0 B0 79 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020A92C 0020788C 38 7E 01 70 */ addi r3, r30, 0x170 /* 8020A930 00207890 38 81 00 58 */ addi r4, r1, 0x58 /* 8020A934 00207894 48 10 82 0D */ bl __as__12CTransform4fFRC12CTransform4f /* 8020A938 00207898 38 61 00 2C */ addi r3, r1, 0x2c /* 8020A93C 0020789C 48 13 31 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020A940 002078A0 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A944 002078A4 C0 21 00 08 */ lfs f1, 8(r1) /* 8020A948 002078A8 C0 43 01 C4 */ lfs f2, 0x1c4(r3) /* 8020A94C 002078AC C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020A950 002078B0 EC 22 08 28 */ fsubs f1, f2, f1 /* 8020A954 002078B4 D0 23 01 C4 */ stfs f1, 0x1c4(r3) /* 8020A958 002078B8 83 DF 00 04 */ lwz r30, 4(r31) /* 8020A95C 002078BC C0 3E 01 C4 */ lfs f1, 0x1c4(r30) /* 8020A960 002078C0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020A964 002078C4 4C 40 13 82 */ cror 2, 0, 2 /* 8020A968 002078C8 40 82 00 A8 */ bne lbl_8020AA10 /* 8020A96C 002078CC C0 22 B1 88 */ lfs f1, lbl_805ACEA8@sda21(r2) /* 8020A970 002078D0 38 7F 00 20 */ addi r3, r31, 0x20 /* 8020A974 002078D4 C0 42 B1 80 */ lfs f2, lbl_805ACEA0@sda21(r2) /* 8020A978 002078D8 48 10 7B CD */ bl Range__9CRandom16Fff /* 8020A97C 002078DC D0 3E 01 C4 */ stfs f1, 0x1c4(r30) /* 8020A980 002078E0 38 7F 00 20 */ addi r3, r31, 0x20 /* 8020A984 002078E4 C0 22 B1 94 */ lfs f1, lbl_805ACEB4@sda21(r2) /* 8020A988 002078E8 C0 42 B1 98 */ lfs f2, lbl_805ACEB8@sda21(r2) /* 8020A98C 002078EC 48 10 7B B9 */ bl Range__9CRandom16Fff /* 8020A990 002078F0 FF E0 08 90 */ fmr f31, f1 /* 8020A994 002078F4 C0 22 B1 8C */ lfs f1, lbl_805ACEAC@sda21(r2) /* 8020A998 002078F8 C0 42 B1 90 */ lfs f2, lbl_805ACEB0@sda21(r2) /* 8020A99C 002078FC 38 7F 00 20 */ addi r3, r31, 0x20 /* 8020A9A0 00207900 48 10 7B A5 */ bl Range__9CRandom16Fff /* 8020A9A4 00207904 FC 40 F8 90 */ fmr f2, f31 /* 8020A9A8 00207908 38 61 00 24 */ addi r3, r1, 0x24 /* 8020A9AC 0020790C 48 10 98 55 */ bl __ct__9CVector2fFff /* 8020A9B0 00207910 83 DF 00 04 */ lwz r30, 4(r31) /* 8020A9B4 00207914 38 61 00 14 */ addi r3, r1, 0x14 /* 8020A9B8 00207918 38 81 00 24 */ addi r4, r1, 0x24 /* 8020A9BC 0020791C 38 BE 01 B4 */ addi r5, r30, 0x1b4 /* 8020A9C0 00207920 48 10 95 79 */ bl __mi__FRC9CVector2fRC9CVector2f /* 8020A9C4 00207924 38 61 00 1C */ addi r3, r1, 0x1c /* 8020A9C8 00207928 38 81 00 14 */ addi r4, r1, 0x14 /* 8020A9CC 0020792C 38 BE 01 C4 */ addi r5, r30, 0x1c4 /* 8020A9D0 00207930 48 10 94 95 */ bl __dv__FRC9CVector2fRCf /* 8020A9D4 00207934 80 9F 00 04 */ lwz r4, 4(r31) /* 8020A9D8 00207938 38 7F 00 20 */ addi r3, r31, 0x20 /* 8020A9DC 0020793C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8020A9E0 00207940 C0 22 B1 9C */ lfs f1, lbl_805ACEBC@sda21(r2) /* 8020A9E4 00207944 D0 04 01 BC */ stfs f0, 0x1bc(r4) /* 8020A9E8 00207948 C0 42 B1 84 */ lfs f2, lbl_805ACEA4@sda21(r2) /* 8020A9EC 0020794C C0 01 00 20 */ lfs f0, 0x20(r1) /* 8020A9F0 00207950 D0 04 01 C0 */ stfs f0, 0x1c0(r4) /* 8020A9F4 00207954 48 10 7B 51 */ bl Range__9CRandom16Fff /* 8020A9F8 00207958 80 7F 00 04 */ lwz r3, 4(r31) /* 8020A9FC 0020795C C0 43 01 C8 */ lfs f2, 0x1c8(r3) /* 8020AA00 00207960 C0 03 01 C4 */ lfs f0, 0x1c4(r3) /* 8020AA04 00207964 EC 21 10 28 */ fsubs f1, f1, f2 /* 8020AA08 00207968 EC 01 00 24 */ fdivs f0, f1, f0 /* 8020AA0C 0020796C D0 03 01 CC */ stfs f0, 0x1cc(r3) lbl_8020AA10: /* 8020AA10 00207970 83 DF 00 04 */ lwz r30, 4(r31) /* 8020AA14 00207974 38 61 00 0C */ addi r3, r1, 0xc /* 8020AA18 00207978 38 A1 00 08 */ addi r5, r1, 8 /* 8020AA1C 0020797C 38 9E 01 BC */ addi r4, r30, 0x1bc /* 8020AA20 00207980 48 10 94 B5 */ bl __ml__FRC9CVector2fRCf /* 8020AA24 00207984 38 7E 01 B4 */ addi r3, r30, 0x1b4 /* 8020AA28 00207988 38 81 00 0C */ addi r4, r1, 0xc /* 8020AA2C 0020798C 48 10 97 61 */ bl __apl__9CVector2fFRC9CVector2f /* 8020AA30 00207990 80 7F 00 04 */ lwz r3, 4(r31) /* 8020AA34 00207994 C0 41 00 08 */ lfs f2, 8(r1) /* 8020AA38 00207998 C0 23 01 CC */ lfs f1, 0x1cc(r3) /* 8020AA3C 0020799C C0 03 01 C8 */ lfs f0, 0x1c8(r3) /* 8020AA40 002079A0 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 8020AA44 002079A4 D0 03 01 C8 */ stfs f0, 0x1c8(r3) lbl_8020AA48: /* 8020AA48 002079A8 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020AA4C 002079AC C0 22 B1 A0 */ lfs f1, lbl_805ACEC0@sda21(r2) /* 8020AA50 002079B0 C0 01 00 08 */ lfs f0, 8(r1) /* 8020AA54 002079B4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8020AA58 002079B8 EC 21 00 32 */ fmuls f1, f1, f0 /* 8020AA5C 002079BC 41 82 00 08 */ beq lbl_8020AA64 /* 8020AA60 002079C0 FC 20 08 50 */ fneg f1, f1 lbl_8020AA64: /* 8020AA64 002079C4 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8020AA68 002079C8 EC 00 08 2A */ fadds f0, f0, f1 /* 8020AA6C 002079CC D0 1F 00 18 */ stfs f0, 0x18(r31) /* 8020AA70 002079D0 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8020AA74 002079D4 C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 8020AA78 002079D8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8020AA7C 002079DC 40 81 00 0C */ ble lbl_8020AA88 /* 8020AA80 002079E0 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020AA84 002079E4 D0 1F 00 18 */ stfs f0, 0x18(r31) lbl_8020AA88: /* 8020AA88 002079E8 C0 3F 00 18 */ lfs f1, 0x18(r31) /* 8020AA8C 002079EC C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020AA90 002079F0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020AA94 002079F4 40 80 00 10 */ bge lbl_8020AAA4 /* 8020AA98 002079F8 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8020AA9C 002079FC EC 01 00 2A */ fadds f0, f1, f0 /* 8020AAA0 00207A00 D0 1F 00 18 */ stfs f0, 0x18(r31) lbl_8020AAA4: /* 8020AAA4 00207A04 C0 21 00 08 */ lfs f1, 8(r1) /* 8020AAA8 00207A08 7F E3 FB 78 */ mr r3, r31 /* 8020AAAC 00207A0C 4B FF FA 85 */ bl UpdateLights__18CWorldTransManagerFf /* 8020AAB0 00207A10 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 8020AAB4 00207A14 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8020AAB8 00207A18 CB E1 00 90 */ lfd f31, 0x90(r1) /* 8020AABC 00207A1C 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8020AAC0 00207A20 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8020AAC4 00207A24 7C 08 03 A6 */ mtlr r0 /* 8020AAC8 00207A28 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8020AACC 00207A2C 4E 80 00 20 */ blr .global UpdateDisabled__18CWorldTransManagerFf UpdateDisabled__18CWorldTransManagerFf: /* 8020AAD0 00207A30 C0 23 00 00 */ lfs f1, 0(r3) /* 8020AAD4 00207A34 C0 02 B1 48 */ lfs f0, lbl_805ACE68@sda21(r2) /* 8020AAD8 00207A38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020AADC 00207A3C 4C 81 00 20 */ blelr /* 8020AAE0 00207A40 88 03 00 44 */ lbz r0, 0x44(r3) /* 8020AAE4 00207A44 38 80 00 01 */ li r4, 1 /* 8020AAE8 00207A48 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8020AAEC 00207A4C 98 03 00 44 */ stb r0, 0x44(r3) /* 8020AAF0 00207A50 4E 80 00 20 */ blr .global Update__18CWorldTransManagerFf Update__18CWorldTransManagerFf: /* 8020AAF4 00207A54 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020AAF8 00207A58 7C 08 02 A6 */ mflr r0 /* 8020AAFC 00207A5C 90 01 00 14 */ stw r0, 0x14(r1) /* 8020AB00 00207A60 C0 03 00 00 */ lfs f0, 0(r3) /* 8020AB04 00207A64 EC 00 08 2A */ fadds f0, f0, f1 /* 8020AB08 00207A68 D0 03 00 00 */ stfs f0, 0(r3) /* 8020AB0C 00207A6C 80 03 00 30 */ lwz r0, 0x30(r3) /* 8020AB10 00207A70 2C 00 00 01 */ cmpwi r0, 1 /* 8020AB14 00207A74 41 82 00 20 */ beq lbl_8020AB34 /* 8020AB18 00207A78 40 80 00 10 */ bge lbl_8020AB28 /* 8020AB1C 00207A7C 2C 00 00 00 */ cmpwi r0, 0 /* 8020AB20 00207A80 40 80 00 24 */ bge lbl_8020AB44 /* 8020AB24 00207A84 48 00 00 24 */ b lbl_8020AB48 lbl_8020AB28: /* 8020AB28 00207A88 2C 00 00 03 */ cmpwi r0, 3 /* 8020AB2C 00207A8C 40 80 00 1C */ bge lbl_8020AB48 /* 8020AB30 00207A90 48 00 00 0C */ b lbl_8020AB3C lbl_8020AB34: /* 8020AB34 00207A94 4B FF FC A1 */ bl UpdateEnabled__18CWorldTransManagerFf /* 8020AB38 00207A98 48 00 00 10 */ b lbl_8020AB48 lbl_8020AB3C: /* 8020AB3C 00207A9C 4B FF E8 ED */ bl UpdateText__18CWorldTransManagerFf /* 8020AB40 00207AA0 48 00 00 08 */ b lbl_8020AB48 lbl_8020AB44: /* 8020AB44 00207AA4 4B FF FF 8D */ bl UpdateDisabled__18CWorldTransManagerFf lbl_8020AB48: /* 8020AB48 00207AA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020AB4C 00207AAC 7C 08 03 A6 */ mtlr r0 /* 8020AB50 00207AB0 38 21 00 10 */ addi r1, r1, 0x10 /* 8020AB54 00207AB4 4E 80 00 20 */ blr .global EndTransition__18CWorldTransManagerFv EndTransition__18CWorldTransManagerFv: /* 8020AB58 00207AB8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020AB5C 00207ABC 7C 08 02 A6 */ mflr r0 /* 8020AB60 00207AC0 90 01 00 14 */ stw r0, 0x14(r1) /* 8020AB64 00207AC4 48 00 09 25 */ bl DisableTransition__18CWorldTransManagerFv /* 8020AB68 00207AC8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020AB6C 00207ACC 7C 08 03 A6 */ mtlr r0 /* 8020AB70 00207AD0 38 21 00 10 */ addi r1, r1, 0x10 /* 8020AB74 00207AD4 4E 80 00 20 */ blr .global StartTransition__18CWorldTransManagerFv StartTransition__18CWorldTransManagerFv: /* 8020AB78 00207AD8 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020AB7C 00207ADC 38 A0 00 00 */ li r5, 0 /* 8020AB80 00207AE0 38 80 00 01 */ li r4, 1 /* 8020AB84 00207AE4 D0 03 00 00 */ stfs f0, 0(r3) /* 8020AB88 00207AE8 D0 03 00 18 */ stfs f0, 0x18(r3) /* 8020AB8C 00207AEC 88 03 00 44 */ lbz r0, 0x44(r3) /* 8020AB90 00207AF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8020AB94 00207AF4 98 03 00 44 */ stb r0, 0x44(r3) /* 8020AB98 00207AF8 88 03 00 44 */ lbz r0, 0x44(r3) /* 8020AB9C 00207AFC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 8020ABA0 00207B00 98 03 00 44 */ stb r0, 0x44(r3) /* 8020ABA4 00207B04 4E 80 00 20 */ blr .global EnableTransition__18CWorldTransManagerFRC8CAnimResUiRC9CVector3fUiRC9CVector3fb EnableTransition__18CWorldTransManagerFRC8CAnimResUiRC9CVector3fUiRC9CVector3fb: /* 8020ABA8 00207B08 94 21 FE 40 */ stwu r1, -0x1c0(r1) /* 8020ABAC 00207B0C 7C 08 02 A6 */ mflr r0 /* 8020ABB0 00207B10 39 40 00 00 */ li r10, 0 /* 8020ABB4 00207B14 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 8020ABB8 00207B18 BF 21 01 A4 */ stmw r25, 0x1a4(r1) /* 8020ABBC 00207B1C 7C 7A 1B 78 */ mr r26, r3 /* 8020ABC0 00207B20 7C BC 2B 78 */ mr r28, r5 /* 8020ABC4 00207B24 38 A0 00 01 */ li r5, 1 /* 8020ABC8 00207B28 3C 60 80 3D */ lis r3, lbl_803D2768@ha /* 8020ABCC 00207B2C 7C 9B 23 78 */ mr r27, r4 /* 8020ABD0 00207B30 7C DD 33 78 */ mr r29, r6 /* 8020ABD4 00207B34 7C FE 3B 78 */ mr r30, r7 /* 8020ABD8 00207B38 7D 1F 43 78 */ mr r31, r8 /* 8020ABDC 00207B3C 88 1A 00 44 */ lbz r0, 0x44(r26) /* 8020ABE0 00207B40 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 /* 8020ABE4 00207B44 98 1A 00 44 */ stb r0, 0x44(r26) /* 8020ABE8 00207B48 38 03 27 68 */ addi r0, r3, lbl_803D2768@l /* 8020ABEC 00207B4C 7C 04 03 78 */ mr r4, r0 /* 8020ABF0 00207B50 38 60 01 E0 */ li r3, 0x1e0 /* 8020ABF4 00207B54 90 BA 00 30 */ stw r5, 0x30(r26) /* 8020ABF8 00207B58 88 BA 00 44 */ lbz r5, 0x44(r26) /* 8020ABFC 00207B5C 51 25 2E B4 */ rlwimi r5, r9, 5, 0x1a, 0x1a /* 8020AC00 00207B60 98 BA 00 44 */ stb r5, 0x44(r26) /* 8020AC04 00207B64 38 A0 00 00 */ li r5, 0 /* 8020AC08 00207B68 48 10 AC 65 */ bl __nw__FUlPCcPCc /* 8020AC0C 00207B6C 7C 64 1B 79 */ or. r4, r3, r3 /* 8020AC10 00207B70 41 82 00 10 */ beq lbl_8020AC20 /* 8020AC14 00207B74 7F 64 DB 78 */ mr r4, r27 /* 8020AC18 00207B78 48 00 08 CD */ bl sub_8020b4e4 /* 8020AC1C 00207B7C 7C 64 1B 78 */ mr r4, r3 lbl_8020AC20: /* 8020AC20 00207B80 38 7A 00 04 */ addi r3, r26, 4 /* 8020AC24 00207B84 4B FF EB AD */ bl sub_802097d0 /* 8020AC28 00207B88 80 7A 00 08 */ lwz r3, 8(r26) /* 8020AC2C 00207B8C 38 80 00 01 */ li r4, 1 /* 8020AC30 00207B90 48 0B F0 69 */ bl __dt__15CGuiTextSupportFv /* 8020AC34 00207B94 38 00 00 00 */ li r0, 0 /* 8020AC38 00207B98 38 7A 00 20 */ addi r3, r26, 0x20 /* 8020AC3C 00207B9C 90 1A 00 08 */ stw r0, 8(r26) /* 8020AC40 00207BA0 38 80 00 63 */ li r4, 0x63 /* 8020AC44 00207BA4 48 10 79 A1 */ bl SetSeed__9CRandom16FUi /* 8020AC48 00207BA8 7F 64 DB 78 */ mr r4, r27 /* 8020AC4C 00207BAC 38 61 01 48 */ addi r3, r1, 0x148 /* 8020AC50 00207BB0 4B F0 BF 05 */ bl __ct__10CModelDataFRC8CAnimRes /* 8020AC54 00207BB4 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AC58 00207BB8 38 81 01 48 */ addi r4, r1, 0x148 /* 8020AC5C 00207BBC 38 63 00 1C */ addi r3, r3, 0x1c /* 8020AC60 00207BC0 4B EC B0 B5 */ bl __as__10CModelDataFRC10CModelData /* 8020AC64 00207BC4 38 61 01 48 */ addi r3, r1, 0x148 /* 8020AC68 00207BC8 38 80 FF FF */ li r4, -1 /* 8020AC6C 00207BCC 4B F0 BD E1 */ bl __dt__10CModelDataFv /* 8020AC70 00207BD0 80 9B 00 18 */ lwz r4, 0x18(r27) /* 8020AC74 00207BD4 38 00 00 00 */ li r0, 0 /* 8020AC78 00207BD8 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 8020AC7C 00207BDC 38 C0 FF FF */ li r6, -1 /* 8020AC80 00207BE0 38 60 00 01 */ li r3, 1 /* 8020AC84 00207BE4 90 81 00 88 */ stw r4, 0x88(r1) /* 8020AC88 00207BE8 38 81 00 88 */ addi r4, r1, 0x88 /* 8020AC8C 00207BEC 38 A0 00 00 */ li r5, 0 /* 8020AC90 00207BF0 90 C1 00 8C */ stw r6, 0x8c(r1) /* 8020AC94 00207BF4 D0 01 00 90 */ stfs f0, 0x90(r1) /* 8020AC98 00207BF8 98 61 00 94 */ stb r3, 0x94(r1) /* 8020AC9C 00207BFC 90 01 00 98 */ stw r0, 0x98(r1) /* 8020ACA0 00207C00 90 01 00 9C */ stw r0, 0x9c(r1) /* 8020ACA4 00207C04 98 01 00 A0 */ stb r0, 0xa0(r1) /* 8020ACA8 00207C08 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8020ACAC 00207C0C 90 01 00 A8 */ stw r0, 0xa8(r1) /* 8020ACB0 00207C10 90 01 00 AC */ stw r0, 0xac(r1) /* 8020ACB4 00207C14 80 7A 00 04 */ lwz r3, 4(r26) /* 8020ACB8 00207C18 80 63 00 2C */ lwz r3, 0x2c(r3) /* 8020ACBC 00207C1C 4B E2 20 C1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8020ACC0 00207C20 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 8020ACC4 00207C24 38 61 00 08 */ addi r3, r1, 8 /* 8020ACC8 00207C28 4B FC 8C 59 */ bl GetPlayerState__10CGameStateCFv /* 8020ACCC 00207C2C 80 81 00 08 */ lwz r4, 8(r1) /* 8020ACD0 00207C30 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) /* 8020ACD4 00207C34 80 84 00 00 */ lwz r4, 0(r4) /* 8020ACD8 00207C38 80 84 00 08 */ lwz r4, 8(r4) /* 8020ACDC 00207C3C 4B FA 15 35 */ bl GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId /* 8020ACE0 00207C40 7C 79 1B 78 */ mr r25, r3 /* 8020ACE4 00207C44 38 61 00 08 */ addi r3, r1, 8 /* 8020ACE8 00207C48 4B DF E2 25 */ bl sub_80008f0c /* 8020ACEC 00207C4C 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 8020ACF0 00207C50 93 21 00 40 */ stw r25, 0x40(r1) /* 8020ACF4 00207C54 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 8020ACF8 00207C58 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020ACFC 00207C5C 90 01 00 3C */ stw r0, 0x3c(r1) /* 8020AD00 00207C60 38 61 00 34 */ addi r3, r1, 0x34 /* 8020AD04 00207C64 38 A1 00 3C */ addi r5, r1, 0x3c /* 8020AD08 00207C68 81 84 00 00 */ lwz r12, 0(r4) /* 8020AD0C 00207C6C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8020AD10 00207C70 7D 89 03 A6 */ mtctr r12 /* 8020AD14 00207C74 4E 80 04 21 */ bctrl /* 8020AD18 00207C78 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AD1C 00207C7C 3B 23 01 4C */ addi r25, r3, 0x14c /* 8020AD20 00207C80 88 03 01 54 */ lbz r0, 0x154(r3) /* 8020AD24 00207C84 28 00 00 00 */ cmplwi r0, 0 /* 8020AD28 00207C88 40 82 00 24 */ bne lbl_8020AD4C /* 8020AD2C 00207C8C 28 19 00 00 */ cmplwi r25, 0 /* 8020AD30 00207C90 41 82 00 10 */ beq lbl_8020AD40 /* 8020AD34 00207C94 7F 23 CB 78 */ mr r3, r25 /* 8020AD38 00207C98 38 81 00 34 */ addi r4, r1, 0x34 /* 8020AD3C 00207C9C 48 13 61 6D */ bl __ct__6CTokenFRC6CToken lbl_8020AD40: /* 8020AD40 00207CA0 38 00 00 01 */ li r0, 1 /* 8020AD44 00207CA4 98 19 00 08 */ stb r0, 8(r25) /* 8020AD48 00207CA8 48 00 00 10 */ b lbl_8020AD58 lbl_8020AD4C: /* 8020AD4C 00207CAC 7F 23 CB 78 */ mr r3, r25 /* 8020AD50 00207CB0 38 81 00 34 */ addi r4, r1, 0x34 /* 8020AD54 00207CB4 48 13 5F 71 */ bl __as__6CTokenFRC6CToken lbl_8020AD58: /* 8020AD58 00207CB8 38 61 00 34 */ addi r3, r1, 0x34 /* 8020AD5C 00207CBC 38 80 FF FF */ li r4, -1 /* 8020AD60 00207CC0 48 13 60 E1 */ bl __dt__6CTokenFv /* 8020AD64 00207CC4 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AD68 00207CC8 38 63 01 4C */ addi r3, r3, 0x14c /* 8020AD6C 00207CCC 48 13 60 19 */ bl Lock__6CTokenFv /* 8020AD70 00207CD0 80 8D A0 6C */ lwz r4, gpCharacterFactoryBuilder@sda21(r13) /* 8020AD74 00207CD4 7F 65 DB 78 */ mr r5, r27 /* 8020AD78 00207CD8 38 61 00 2C */ addi r3, r1, 0x2c /* 8020AD7C 00207CDC 4B E2 9B 3D */ bl GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes /* 8020AD80 00207CE0 3B 21 00 64 */ addi r25, r1, 0x64 /* 8020AD84 00207CE4 38 81 00 2C */ addi r4, r1, 0x2c /* 8020AD88 00207CE8 7F 23 CB 78 */ mr r3, r25 /* 8020AD8C 00207CEC 48 13 61 1D */ bl __ct__6CTokenFRC6CToken /* 8020AD90 00207CF0 7F 23 CB 78 */ mr r3, r25 /* 8020AD94 00207CF4 48 13 60 79 */ bl GetObj__6CTokenFv /* 8020AD98 00207CF8 80 03 00 04 */ lwz r0, 4(r3) /* 8020AD9C 00207CFC 38 61 00 2C */ addi r3, r1, 0x2c /* 8020ADA0 00207D00 38 80 00 00 */ li r4, 0 /* 8020ADA4 00207D04 90 01 00 6C */ stw r0, 0x6c(r1) /* 8020ADA8 00207D08 48 13 60 99 */ bl __dt__6CTokenFv /* 8020ADAC 00207D0C 83 21 00 6C */ lwz r25, 0x6c(r1) /* 8020ADB0 00207D10 48 00 06 35 */ bl sub_8020b3e4 /* 8020ADB4 00207D14 7C 64 1B 78 */ mr r4, r3 /* 8020ADB8 00207D18 7F 23 CB 78 */ mr r3, r25 /* 8020ADBC 00207D1C 4B E2 75 89 */ bl sub_80032344 /* 8020ADC0 00207D20 7C 7B 1B 78 */ mr r27, r3 /* 8020ADC4 00207D24 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 8020ADC8 00207D28 80 DB 00 14 */ lwz r6, 0x14(r27) /* 8020ADCC 00207D2C 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 8020ADD0 00207D30 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020ADD4 00207D34 38 61 00 1C */ addi r3, r1, 0x1c /* 8020ADD8 00207D38 90 01 00 24 */ stw r0, 0x24(r1) /* 8020ADDC 00207D3C 38 A1 00 24 */ addi r5, r1, 0x24 /* 8020ADE0 00207D40 90 C1 00 28 */ stw r6, 0x28(r1) /* 8020ADE4 00207D44 81 84 00 00 */ lwz r12, 0(r4) /* 8020ADE8 00207D48 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8020ADEC 00207D4C 7D 89 03 A6 */ mtctr r12 /* 8020ADF0 00207D50 4E 80 04 21 */ bctrl /* 8020ADF4 00207D54 80 7A 00 04 */ lwz r3, 4(r26) /* 8020ADF8 00207D58 3B 23 01 58 */ addi r25, r3, 0x158 /* 8020ADFC 00207D5C 88 03 01 60 */ lbz r0, 0x160(r3) /* 8020AE00 00207D60 28 00 00 00 */ cmplwi r0, 0 /* 8020AE04 00207D64 40 82 00 24 */ bne lbl_8020AE28 /* 8020AE08 00207D68 28 19 00 00 */ cmplwi r25, 0 /* 8020AE0C 00207D6C 41 82 00 10 */ beq lbl_8020AE1C /* 8020AE10 00207D70 7F 23 CB 78 */ mr r3, r25 /* 8020AE14 00207D74 38 81 00 1C */ addi r4, r1, 0x1c /* 8020AE18 00207D78 48 13 60 91 */ bl __ct__6CTokenFRC6CToken lbl_8020AE1C: /* 8020AE1C 00207D7C 38 00 00 01 */ li r0, 1 /* 8020AE20 00207D80 98 19 00 08 */ stb r0, 8(r25) /* 8020AE24 00207D84 48 00 00 10 */ b lbl_8020AE34 lbl_8020AE28: /* 8020AE28 00207D88 7F 23 CB 78 */ mr r3, r25 /* 8020AE2C 00207D8C 38 81 00 1C */ addi r4, r1, 0x1c /* 8020AE30 00207D90 48 13 5E 95 */ bl __as__6CTokenFRC6CToken lbl_8020AE34: /* 8020AE34 00207D94 38 61 00 1C */ addi r3, r1, 0x1c /* 8020AE38 00207D98 38 80 FF FF */ li r4, -1 /* 8020AE3C 00207D9C 48 13 60 05 */ bl __dt__6CTokenFv /* 8020AE40 00207DA0 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AE44 00207DA4 38 63 01 58 */ addi r3, r3, 0x158 /* 8020AE48 00207DA8 48 13 5F 3D */ bl Lock__6CTokenFv /* 8020AE4C 00207DAC 80 DB 00 18 */ lwz r6, 0x18(r27) /* 8020AE50 00207DB0 3C 60 43 53 */ lis r3, 0x43534B52@ha /* 8020AE54 00207DB4 38 03 4B 52 */ addi r0, r3, 0x43534B52@l /* 8020AE58 00207DB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020AE5C 00207DBC 90 01 00 14 */ stw r0, 0x14(r1) /* 8020AE60 00207DC0 38 61 00 0C */ addi r3, r1, 0xc /* 8020AE64 00207DC4 38 A1 00 14 */ addi r5, r1, 0x14 /* 8020AE68 00207DC8 90 C1 00 18 */ stw r6, 0x18(r1) /* 8020AE6C 00207DCC 81 84 00 00 */ lwz r12, 0(r4) /* 8020AE70 00207DD0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8020AE74 00207DD4 7D 89 03 A6 */ mtctr r12 /* 8020AE78 00207DD8 4E 80 04 21 */ bctrl /* 8020AE7C 00207DDC 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AE80 00207DE0 3B 23 01 64 */ addi r25, r3, 0x164 /* 8020AE84 00207DE4 88 03 01 6C */ lbz r0, 0x16c(r3) /* 8020AE88 00207DE8 28 00 00 00 */ cmplwi r0, 0 /* 8020AE8C 00207DEC 40 82 00 24 */ bne lbl_8020AEB0 /* 8020AE90 00207DF0 28 19 00 00 */ cmplwi r25, 0 /* 8020AE94 00207DF4 41 82 00 10 */ beq lbl_8020AEA4 /* 8020AE98 00207DF8 7F 23 CB 78 */ mr r3, r25 /* 8020AE9C 00207DFC 38 81 00 0C */ addi r4, r1, 0xc /* 8020AEA0 00207E00 48 13 60 09 */ bl __ct__6CTokenFRC6CToken lbl_8020AEA4: /* 8020AEA4 00207E04 38 00 00 01 */ li r0, 1 /* 8020AEA8 00207E08 98 19 00 08 */ stb r0, 8(r25) /* 8020AEAC 00207E0C 48 00 00 10 */ b lbl_8020AEBC lbl_8020AEB0: /* 8020AEB0 00207E10 7F 23 CB 78 */ mr r3, r25 /* 8020AEB4 00207E14 38 81 00 0C */ addi r4, r1, 0xc /* 8020AEB8 00207E18 48 13 5E 0D */ bl __as__6CTokenFRC6CToken lbl_8020AEBC: /* 8020AEBC 00207E1C 38 61 00 0C */ addi r3, r1, 0xc /* 8020AEC0 00207E20 38 80 FF FF */ li r4, -1 /* 8020AEC4 00207E24 48 13 5F 7D */ bl __dt__6CTokenFv /* 8020AEC8 00207E28 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AECC 00207E2C 38 63 01 64 */ addi r3, r3, 0x164 /* 8020AED0 00207E30 48 13 5E B5 */ bl Lock__6CTokenFv /* 8020AED4 00207E34 38 61 00 64 */ addi r3, r1, 0x64 /* 8020AED8 00207E38 38 80 00 00 */ li r4, 0 /* 8020AEDC 00207E3C 48 13 5F 65 */ bl __dt__6CTokenFv /* 8020AEE0 00207E40 3C 1C 00 01 */ addis r0, r28, 1 /* 8020AEE4 00207E44 28 00 FF FF */ cmplwi r0, 0xffff /* 8020AEE8 00207E48 41 82 00 5C */ beq lbl_8020AF44 /* 8020AEEC 00207E4C C0 5D 00 00 */ lfs f2, 0(r29) /* 8020AEF0 00207E50 38 61 00 FC */ addi r3, r1, 0xfc /* 8020AEF4 00207E54 C0 3D 00 04 */ lfs f1, 4(r29) /* 8020AEF8 00207E58 38 81 00 54 */ addi r4, r1, 0x54 /* 8020AEFC 00207E5C C0 1D 00 08 */ lfs f0, 8(r29) /* 8020AF00 00207E60 93 81 00 54 */ stw r28, 0x54(r1) /* 8020AF04 00207E64 D0 41 00 58 */ stfs f2, 0x58(r1) /* 8020AF08 00207E68 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8020AF0C 00207E6C D0 01 00 60 */ stfs f0, 0x60(r1) /* 8020AF10 00207E70 4B F0 BE 4D */ bl __ct__10CModelDataFRC10CStaticRes /* 8020AF14 00207E74 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AF18 00207E78 38 81 00 FC */ addi r4, r1, 0xfc /* 8020AF1C 00207E7C 38 63 00 B4 */ addi r3, r3, 0xb4 /* 8020AF20 00207E80 4B EC AD F5 */ bl __as__10CModelDataFRC10CModelData /* 8020AF24 00207E84 38 61 00 FC */ addi r3, r1, 0xfc /* 8020AF28 00207E88 38 80 FF FF */ li r4, -1 /* 8020AF2C 00207E8C 4B F0 BB 21 */ bl __dt__10CModelDataFv /* 8020AF30 00207E90 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AF34 00207E94 38 80 00 00 */ li r4, 0 /* 8020AF38 00207E98 38 A0 00 00 */ li r5, 0 /* 8020AF3C 00207E9C 38 63 00 B4 */ addi r3, r3, 0xb4 /* 8020AF40 00207EA0 4B F0 AD 6D */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli lbl_8020AF44: /* 8020AF44 00207EA4 3C 1E 00 01 */ addis r0, r30, 1 /* 8020AF48 00207EA8 28 00 FF FF */ cmplwi r0, 0xffff /* 8020AF4C 00207EAC 41 82 00 88 */ beq lbl_8020AFD4 /* 8020AF50 00207EB0 C0 5F 00 00 */ lfs f2, 0(r31) /* 8020AF54 00207EB4 38 61 00 B0 */ addi r3, r1, 0xb0 /* 8020AF58 00207EB8 C0 3F 00 04 */ lfs f1, 4(r31) /* 8020AF5C 00207EBC 38 81 00 44 */ addi r4, r1, 0x44 /* 8020AF60 00207EC0 C0 1F 00 08 */ lfs f0, 8(r31) /* 8020AF64 00207EC4 93 C1 00 44 */ stw r30, 0x44(r1) /* 8020AF68 00207EC8 D0 41 00 48 */ stfs f2, 0x48(r1) /* 8020AF6C 00207ECC D0 21 00 4C */ stfs f1, 0x4c(r1) /* 8020AF70 00207ED0 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8020AF74 00207ED4 4B F0 BD E9 */ bl __ct__10CModelDataFRC10CStaticRes /* 8020AF78 00207ED8 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AF7C 00207EDC 38 81 00 B0 */ addi r4, r1, 0xb0 /* 8020AF80 00207EE0 38 63 01 00 */ addi r3, r3, 0x100 /* 8020AF84 00207EE4 4B EC AD 91 */ bl __as__10CModelDataFRC10CModelData /* 8020AF88 00207EE8 38 61 00 B0 */ addi r3, r1, 0xb0 /* 8020AF8C 00207EEC 38 80 FF FF */ li r4, -1 /* 8020AF90 00207EF0 4B F0 BA BD */ bl __dt__10CModelDataFv /* 8020AF94 00207EF4 80 7A 00 04 */ lwz r3, 4(r26) /* 8020AF98 00207EF8 38 80 00 00 */ li r4, 0 /* 8020AF9C 00207EFC 38 A0 00 00 */ li r5, 0 /* 8020AFA0 00207F00 38 63 01 00 */ addi r3, r3, 0x100 /* 8020AFA4 00207F04 4B F0 AD 09 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli /* 8020AFA8 00207F08 80 9A 00 04 */ lwz r4, 4(r26) /* 8020AFAC 00207F0C 38 61 00 70 */ addi r3, r1, 0x70 /* 8020AFB0 00207F10 38 84 01 00 */ addi r4, r4, 0x100 /* 8020AFB4 00207F14 4B F0 A6 11 */ bl GetBounds__10CModelDataCFv /* 8020AFB8 00207F18 C0 41 00 84 */ lfs f2, 0x84(r1) /* 8020AFBC 00207F1C C0 21 00 78 */ lfs f1, 0x78(r1) /* 8020AFC0 00207F20 C0 1F 00 08 */ lfs f0, 8(r31) /* 8020AFC4 00207F24 EC 22 08 28 */ fsubs f1, f2, f1 /* 8020AFC8 00207F28 EC 01 00 32 */ fmuls f0, f1, f0 /* 8020AFCC 00207F2C D0 1A 00 1C */ stfs f0, 0x1c(r26) /* 8020AFD0 00207F30 48 00 00 0C */ b lbl_8020AFDC lbl_8020AFD4: /* 8020AFD4 00207F34 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020AFD8 00207F38 D0 1A 00 1C */ stfs f0, 0x1c(r26) lbl_8020AFDC: /* 8020AFDC 00207F3C 7F 43 D3 78 */ mr r3, r26 /* 8020AFE0 00207F40 4B FF FB 99 */ bl StartTransition__18CWorldTransManagerFv /* 8020AFE4 00207F44 7F 43 D3 78 */ mr r3, r26 /* 8020AFE8 00207F48 48 00 00 19 */ bl TouchModels__18CWorldTransManagerFv /* 8020AFEC 00207F4C BB 21 01 A4 */ lmw r25, 0x1a4(r1) /* 8020AFF0 00207F50 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 8020AFF4 00207F54 7C 08 03 A6 */ mtlr r0 /* 8020AFF8 00207F58 38 21 01 C0 */ addi r1, r1, 0x1c0 /* 8020AFFC 00207F5C 4E 80 00 20 */ blr .global TouchModels__18CWorldTransManagerFv TouchModels__18CWorldTransManagerFv: /* 8020B000 00207F60 94 21 FE E0 */ stwu r1, -0x120(r1) /* 8020B004 00207F64 7C 08 02 A6 */ mflr r0 /* 8020B008 00207F68 90 01 01 24 */ stw r0, 0x124(r1) /* 8020B00C 00207F6C 93 E1 01 1C */ stw r31, 0x11c(r1) /* 8020B010 00207F70 83 E3 00 04 */ lwz r31, 4(r3) /* 8020B014 00207F74 28 1F 00 00 */ cmplwi r31, 0 /* 8020B018 00207F78 41 82 03 B8 */ beq lbl_8020B3D0 /* 8020B01C 00207F7C 88 1F 01 54 */ lbz r0, 0x154(r31) /* 8020B020 00207F80 28 00 00 00 */ cmplwi r0, 0 /* 8020B024 00207F84 41 82 00 E0 */ beq lbl_8020B104 /* 8020B028 00207F88 80 7F 01 4C */ lwz r3, 0x14c(r31) /* 8020B02C 00207F8C 80 03 00 10 */ lwz r0, 0x10(r3) /* 8020B030 00207F90 28 00 00 00 */ cmplwi r0, 0 /* 8020B034 00207F94 41 82 00 D0 */ beq lbl_8020B104 /* 8020B038 00207F98 80 03 00 08 */ lwz r0, 8(r3) /* 8020B03C 00207F9C 38 61 00 80 */ addi r3, r1, 0x80 /* 8020B040 00207FA0 38 81 00 2C */ addi r4, r1, 0x2c /* 8020B044 00207FA4 90 01 00 2C */ stw r0, 0x2c(r1) /* 8020B048 00207FA8 C0 1F 00 08 */ lfs f0, 8(r31) /* 8020B04C 00207FAC D0 01 00 30 */ stfs f0, 0x30(r1) /* 8020B050 00207FB0 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 8020B054 00207FB4 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8020B058 00207FB8 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 8020B05C 00207FBC D0 01 00 38 */ stfs f0, 0x38(r1) /* 8020B060 00207FC0 4B F0 BC FD */ bl __ct__10CModelDataFRC10CStaticRes /* 8020B064 00207FC4 38 7F 00 68 */ addi r3, r31, 0x68 /* 8020B068 00207FC8 38 81 00 80 */ addi r4, r1, 0x80 /* 8020B06C 00207FCC 4B EC AC A9 */ bl __as__10CModelDataFRC10CModelData /* 8020B070 00207FD0 38 61 00 80 */ addi r3, r1, 0x80 /* 8020B074 00207FD4 38 80 FF FF */ li r4, -1 /* 8020B078 00207FD8 4B F0 B9 D5 */ bl __dt__10CModelDataFv /* 8020B07C 00207FDC 38 7F 01 4C */ addi r3, r31, 0x14c /* 8020B080 00207FE0 38 81 00 20 */ addi r4, r1, 0x20 /* 8020B084 00207FE4 38 00 00 00 */ li r0, 0 /* 8020B088 00207FE8 7C 03 20 40 */ cmplw r3, r4 /* 8020B08C 00207FEC 98 01 00 28 */ stb r0, 0x28(r1) /* 8020B090 00207FF0 41 82 00 54 */ beq lbl_8020B0E4 /* 8020B094 00207FF4 28 00 00 00 */ cmplwi r0, 0 /* 8020B098 00207FF8 41 82 00 30 */ beq lbl_8020B0C8 /* 8020B09C 00207FFC 88 1F 01 54 */ lbz r0, 0x154(r31) /* 8020B0A0 00208000 28 00 00 00 */ cmplwi r0, 0 /* 8020B0A4 00208004 40 82 00 1C */ bne lbl_8020B0C0 /* 8020B0A8 00208008 34 7F 01 4C */ addic. r3, r31, 0x14c /* 8020B0AC 0020800C 41 82 00 08 */ beq lbl_8020B0B4 /* 8020B0B0 00208010 48 13 5D F9 */ bl __ct__6CTokenFRC6CToken lbl_8020B0B4: /* 8020B0B4 00208014 38 00 00 01 */ li r0, 1 /* 8020B0B8 00208018 98 1F 01 54 */ stb r0, 0x154(r31) /* 8020B0BC 0020801C 48 00 00 28 */ b lbl_8020B0E4 lbl_8020B0C0: /* 8020B0C0 00208020 48 13 5C 05 */ bl __as__6CTokenFRC6CToken /* 8020B0C4 00208024 48 00 00 20 */ b lbl_8020B0E4 lbl_8020B0C8: /* 8020B0C8 00208028 88 1F 01 54 */ lbz r0, 0x154(r31) /* 8020B0CC 0020802C 28 00 00 00 */ cmplwi r0, 0 /* 8020B0D0 00208030 41 82 00 0C */ beq lbl_8020B0DC /* 8020B0D4 00208034 38 80 FF FF */ li r4, -1 /* 8020B0D8 00208038 48 13 5D 69 */ bl __dt__6CTokenFv lbl_8020B0DC: /* 8020B0DC 0020803C 38 00 00 00 */ li r0, 0 /* 8020B0E0 00208040 98 1F 01 54 */ stb r0, 0x154(r31) lbl_8020B0E4: /* 8020B0E4 00208044 88 01 00 28 */ lbz r0, 0x28(r1) /* 8020B0E8 00208048 28 00 00 00 */ cmplwi r0, 0 /* 8020B0EC 0020804C 41 82 00 10 */ beq lbl_8020B0FC /* 8020B0F0 00208050 38 61 00 20 */ addi r3, r1, 0x20 /* 8020B0F4 00208054 38 80 FF FF */ li r4, -1 /* 8020B0F8 00208058 48 13 5D 49 */ bl __dt__6CTokenFv lbl_8020B0FC: /* 8020B0FC 0020805C 38 00 00 00 */ li r0, 0 /* 8020B100 00208060 98 01 00 28 */ stb r0, 0x28(r1) lbl_8020B104: /* 8020B104 00208064 88 1F 01 60 */ lbz r0, 0x160(r31) /* 8020B108 00208068 28 00 00 00 */ cmplwi r0, 0 /* 8020B10C 0020806C 41 82 01 E4 */ beq lbl_8020B2F0 /* 8020B110 00208070 88 1F 01 6C */ lbz r0, 0x16c(r31) /* 8020B114 00208074 28 00 00 00 */ cmplwi r0, 0 /* 8020B118 00208078 41 82 01 D8 */ beq lbl_8020B2F0 /* 8020B11C 0020807C 80 7F 01 58 */ lwz r3, 0x158(r31) /* 8020B120 00208080 80 03 00 10 */ lwz r0, 0x10(r3) /* 8020B124 00208084 28 00 00 00 */ cmplwi r0, 0 /* 8020B128 00208088 41 82 01 C8 */ beq lbl_8020B2F0 /* 8020B12C 0020808C 80 7F 01 64 */ lwz r3, 0x164(r31) /* 8020B130 00208090 80 03 00 10 */ lwz r0, 0x10(r3) /* 8020B134 00208094 28 00 00 00 */ cmplwi r0, 0 /* 8020B138 00208098 41 82 01 B8 */ beq lbl_8020B2F0 /* 8020B13C 0020809C 48 00 02 A9 */ bl sub_8020b3e4 /* 8020B140 002080A0 80 DF 00 18 */ lwz r6, 0x18(r31) /* 8020B144 002080A4 38 00 00 01 */ li r0, 1 /* 8020B148 002080A8 80 BF 00 00 */ lwz r5, 0(r31) /* 8020B14C 002080AC 38 81 00 3C */ addi r4, r1, 0x3c /* 8020B150 002080B0 90 61 00 40 */ stw r3, 0x40(r1) /* 8020B154 002080B4 38 61 00 CC */ addi r3, r1, 0xcc /* 8020B158 002080B8 90 A1 00 3C */ stw r5, 0x3c(r1) /* 8020B15C 002080BC C0 1F 00 08 */ lfs f0, 8(r31) /* 8020B160 002080C0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 8020B164 002080C4 C0 1F 00 0C */ lfs f0, 0xc(r31) /* 8020B168 002080C8 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8020B16C 002080CC C0 1F 00 10 */ lfs f0, 0x10(r31) /* 8020B170 002080D0 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 8020B174 002080D4 98 01 00 50 */ stb r0, 0x50(r1) /* 8020B178 002080D8 90 C1 00 54 */ stw r6, 0x54(r1) /* 8020B17C 002080DC 4B F0 B9 D9 */ bl __ct__10CModelDataFRC8CAnimRes /* 8020B180 002080E0 38 7F 00 1C */ addi r3, r31, 0x1c /* 8020B184 002080E4 38 81 00 CC */ addi r4, r1, 0xcc /* 8020B188 002080E8 4B EC AB 8D */ bl __as__10CModelDataFRC10CModelData /* 8020B18C 002080EC 80 81 00 54 */ lwz r4, 0x54(r1) /* 8020B190 002080F0 38 00 00 00 */ li r0, 0 /* 8020B194 002080F4 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2) /* 8020B198 002080F8 38 C0 FF FF */ li r6, -1 /* 8020B19C 002080FC 38 60 00 01 */ li r3, 1 /* 8020B1A0 00208100 90 81 00 58 */ stw r4, 0x58(r1) /* 8020B1A4 00208104 38 81 00 58 */ addi r4, r1, 0x58 /* 8020B1A8 00208108 38 A0 00 00 */ li r5, 0 /* 8020B1AC 0020810C 90 C1 00 5C */ stw r6, 0x5c(r1) /* 8020B1B0 00208110 D0 01 00 60 */ stfs f0, 0x60(r1) /* 8020B1B4 00208114 98 61 00 64 */ stb r3, 0x64(r1) /* 8020B1B8 00208118 90 01 00 68 */ stw r0, 0x68(r1) /* 8020B1BC 0020811C 90 01 00 6C */ stw r0, 0x6c(r1) /* 8020B1C0 00208120 98 01 00 70 */ stb r0, 0x70(r1) /* 8020B1C4 00208124 90 01 00 74 */ stw r0, 0x74(r1) /* 8020B1C8 00208128 90 01 00 78 */ stw r0, 0x78(r1) /* 8020B1CC 0020812C 90 01 00 7C */ stw r0, 0x7c(r1) /* 8020B1D0 00208130 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8020B1D4 00208134 4B E2 1B A9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8020B1D8 00208138 38 7F 01 58 */ addi r3, r31, 0x158 /* 8020B1DC 0020813C 38 81 00 14 */ addi r4, r1, 0x14 /* 8020B1E0 00208140 38 00 00 00 */ li r0, 0 /* 8020B1E4 00208144 7C 03 20 40 */ cmplw r3, r4 /* 8020B1E8 00208148 98 01 00 1C */ stb r0, 0x1c(r1) /* 8020B1EC 0020814C 41 82 00 54 */ beq lbl_8020B240 /* 8020B1F0 00208150 28 00 00 00 */ cmplwi r0, 0 /* 8020B1F4 00208154 41 82 00 30 */ beq lbl_8020B224 /* 8020B1F8 00208158 88 1F 01 60 */ lbz r0, 0x160(r31) /* 8020B1FC 0020815C 28 00 00 00 */ cmplwi r0, 0 /* 8020B200 00208160 40 82 00 1C */ bne lbl_8020B21C /* 8020B204 00208164 34 7F 01 58 */ addic. r3, r31, 0x158 /* 8020B208 00208168 41 82 00 08 */ beq lbl_8020B210 /* 8020B20C 0020816C 48 13 5C 9D */ bl __ct__6CTokenFRC6CToken lbl_8020B210: /* 8020B210 00208170 38 00 00 01 */ li r0, 1 /* 8020B214 00208174 98 1F 01 60 */ stb r0, 0x160(r31) /* 8020B218 00208178 48 00 00 28 */ b lbl_8020B240 lbl_8020B21C: /* 8020B21C 0020817C 48 13 5A A9 */ bl __as__6CTokenFRC6CToken /* 8020B220 00208180 48 00 00 20 */ b lbl_8020B240 lbl_8020B224: /* 8020B224 00208184 88 1F 01 60 */ lbz r0, 0x160(r31) /* 8020B228 00208188 28 00 00 00 */ cmplwi r0, 0 /* 8020B22C 0020818C 41 82 00 0C */ beq lbl_8020B238 /* 8020B230 00208190 38 80 FF FF */ li r4, -1 /* 8020B234 00208194 48 13 5C 0D */ bl __dt__6CTokenFv lbl_8020B238: /* 8020B238 00208198 38 00 00 00 */ li r0, 0 /* 8020B23C 0020819C 98 1F 01 60 */ stb r0, 0x160(r31) lbl_8020B240: /* 8020B240 002081A0 88 01 00 1C */ lbz r0, 0x1c(r1) /* 8020B244 002081A4 28 00 00 00 */ cmplwi r0, 0 /* 8020B248 002081A8 41 82 00 10 */ beq lbl_8020B258 /* 8020B24C 002081AC 38 61 00 14 */ addi r3, r1, 0x14 /* 8020B250 002081B0 38 80 FF FF */ li r4, -1 /* 8020B254 002081B4 48 13 5B ED */ bl __dt__6CTokenFv lbl_8020B258: /* 8020B258 002081B8 38 7F 01 64 */ addi r3, r31, 0x164 /* 8020B25C 002081BC 38 81 00 08 */ addi r4, r1, 8 /* 8020B260 002081C0 38 00 00 00 */ li r0, 0 /* 8020B264 002081C4 7C 03 20 40 */ cmplw r3, r4 /* 8020B268 002081C8 98 01 00 1C */ stb r0, 0x1c(r1) /* 8020B26C 002081CC 98 01 00 10 */ stb r0, 0x10(r1) /* 8020B270 002081D0 41 82 00 54 */ beq lbl_8020B2C4 /* 8020B274 002081D4 28 00 00 00 */ cmplwi r0, 0 /* 8020B278 002081D8 41 82 00 30 */ beq lbl_8020B2A8 /* 8020B27C 002081DC 88 1F 01 6C */ lbz r0, 0x16c(r31) /* 8020B280 002081E0 28 00 00 00 */ cmplwi r0, 0 /* 8020B284 002081E4 40 82 00 1C */ bne lbl_8020B2A0 /* 8020B288 002081E8 34 7F 01 64 */ addic. r3, r31, 0x164 /* 8020B28C 002081EC 41 82 00 08 */ beq lbl_8020B294 /* 8020B290 002081F0 48 13 5C 19 */ bl __ct__6CTokenFRC6CToken lbl_8020B294: /* 8020B294 002081F4 38 00 00 01 */ li r0, 1 /* 8020B298 002081F8 98 1F 01 6C */ stb r0, 0x16c(r31) /* 8020B29C 002081FC 48 00 00 28 */ b lbl_8020B2C4 lbl_8020B2A0: /* 8020B2A0 00208200 48 13 5A 25 */ bl __as__6CTokenFRC6CToken /* 8020B2A4 00208204 48 00 00 20 */ b lbl_8020B2C4 lbl_8020B2A8: /* 8020B2A8 00208208 88 1F 01 6C */ lbz r0, 0x16c(r31) /* 8020B2AC 0020820C 28 00 00 00 */ cmplwi r0, 0 /* 8020B2B0 00208210 41 82 00 0C */ beq lbl_8020B2BC /* 8020B2B4 00208214 38 80 FF FF */ li r4, -1 /* 8020B2B8 00208218 48 13 5B 89 */ bl __dt__6CTokenFv lbl_8020B2BC: /* 8020B2BC 0020821C 38 00 00 00 */ li r0, 0 /* 8020B2C0 00208220 98 1F 01 6C */ stb r0, 0x16c(r31) lbl_8020B2C4: /* 8020B2C4 00208224 88 01 00 10 */ lbz r0, 0x10(r1) /* 8020B2C8 00208228 28 00 00 00 */ cmplwi r0, 0 /* 8020B2CC 0020822C 41 82 00 10 */ beq lbl_8020B2DC /* 8020B2D0 00208230 38 61 00 08 */ addi r3, r1, 8 /* 8020B2D4 00208234 38 80 FF FF */ li r4, -1 /* 8020B2D8 00208238 48 13 5B 69 */ bl __dt__6CTokenFv lbl_8020B2DC: /* 8020B2DC 0020823C 38 00 00 00 */ li r0, 0 /* 8020B2E0 00208240 38 61 00 CC */ addi r3, r1, 0xcc /* 8020B2E4 00208244 98 01 00 10 */ stb r0, 0x10(r1) /* 8020B2E8 00208248 38 80 FF FF */ li r4, -1 /* 8020B2EC 0020824C 4B F0 B7 61 */ bl __dt__10CModelDataFv lbl_8020B2F0: /* 8020B2F0 00208250 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 8020B2F4 00208254 38 60 00 00 */ li r3, 0 /* 8020B2F8 00208258 28 00 00 00 */ cmplwi r0, 0 /* 8020B2FC 0020825C 40 82 00 14 */ bne lbl_8020B310 /* 8020B300 00208260 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B304 00208264 28 00 00 00 */ cmplwi r0, 0 /* 8020B308 00208268 40 82 00 08 */ bne lbl_8020B310 /* 8020B30C 0020826C 38 60 00 01 */ li r3, 1 lbl_8020B310: /* 8020B310 00208270 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020B314 00208274 40 82 00 14 */ bne lbl_8020B328 /* 8020B318 00208278 38 7F 00 1C */ addi r3, r31, 0x1c /* 8020B31C 0020827C 38 80 00 00 */ li r4, 0 /* 8020B320 00208280 38 A0 00 00 */ li r5, 0 /* 8020B324 00208284 4B F0 A9 89 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli lbl_8020B328: /* 8020B328 00208288 80 1F 00 C4 */ lwz r0, 0xc4(r31) /* 8020B32C 0020828C 38 60 00 00 */ li r3, 0 /* 8020B330 00208290 28 00 00 00 */ cmplwi r0, 0 /* 8020B334 00208294 40 82 00 14 */ bne lbl_8020B348 /* 8020B338 00208298 88 1F 00 DC */ lbz r0, 0xdc(r31) /* 8020B33C 0020829C 28 00 00 00 */ cmplwi r0, 0 /* 8020B340 002082A0 40 82 00 08 */ bne lbl_8020B348 /* 8020B344 002082A4 38 60 00 01 */ li r3, 1 lbl_8020B348: /* 8020B348 002082A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020B34C 002082AC 40 82 00 14 */ bne lbl_8020B360 /* 8020B350 002082B0 38 7F 00 B4 */ addi r3, r31, 0xb4 /* 8020B354 002082B4 38 80 00 00 */ li r4, 0 /* 8020B358 002082B8 38 A0 00 00 */ li r5, 0 /* 8020B35C 002082BC 4B F0 A9 51 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli lbl_8020B360: /* 8020B360 002082C0 80 1F 01 10 */ lwz r0, 0x110(r31) /* 8020B364 002082C4 38 60 00 00 */ li r3, 0 /* 8020B368 002082C8 28 00 00 00 */ cmplwi r0, 0 /* 8020B36C 002082CC 40 82 00 14 */ bne lbl_8020B380 /* 8020B370 002082D0 88 1F 01 28 */ lbz r0, 0x128(r31) /* 8020B374 002082D4 28 00 00 00 */ cmplwi r0, 0 /* 8020B378 002082D8 40 82 00 08 */ bne lbl_8020B380 /* 8020B37C 002082DC 38 60 00 01 */ li r3, 1 lbl_8020B380: /* 8020B380 002082E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020B384 002082E4 40 82 00 14 */ bne lbl_8020B398 /* 8020B388 002082E8 38 7F 01 00 */ addi r3, r31, 0x100 /* 8020B38C 002082EC 38 80 00 00 */ li r4, 0 /* 8020B390 002082F0 38 A0 00 00 */ li r5, 0 /* 8020B394 002082F4 4B F0 A9 19 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli lbl_8020B398: /* 8020B398 002082F8 80 1F 00 78 */ lwz r0, 0x78(r31) /* 8020B39C 002082FC 38 60 00 00 */ li r3, 0 /* 8020B3A0 00208300 28 00 00 00 */ cmplwi r0, 0 /* 8020B3A4 00208304 40 82 00 14 */ bne lbl_8020B3B8 /* 8020B3A8 00208308 88 1F 00 90 */ lbz r0, 0x90(r31) /* 8020B3AC 0020830C 28 00 00 00 */ cmplwi r0, 0 /* 8020B3B0 00208310 40 82 00 08 */ bne lbl_8020B3B8 /* 8020B3B4 00208314 38 60 00 01 */ li r3, 1 lbl_8020B3B8: /* 8020B3B8 00208318 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020B3BC 0020831C 40 82 00 14 */ bne lbl_8020B3D0 /* 8020B3C0 00208320 38 7F 00 68 */ addi r3, r31, 0x68 /* 8020B3C4 00208324 38 80 00 00 */ li r4, 0 /* 8020B3C8 00208328 38 A0 00 00 */ li r5, 0 /* 8020B3CC 0020832C 4B F0 A8 E1 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli lbl_8020B3D0: /* 8020B3D0 00208330 80 01 01 24 */ lwz r0, 0x124(r1) /* 8020B3D4 00208334 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 8020B3D8 00208338 7C 08 03 A6 */ mtlr r0 /* 8020B3DC 0020833C 38 21 01 20 */ addi r1, r1, 0x120 /* 8020B3E0 00208340 4E 80 00 20 */ blr .global sub_8020b3e4 sub_8020b3e4: /* 8020B3E4 00208344 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020B3E8 00208348 7C 08 02 A6 */ mflr r0 /* 8020B3EC 0020834C 90 01 00 24 */ stw r0, 0x24(r1) /* 8020B3F0 00208350 38 61 00 08 */ addi r3, r1, 8 /* 8020B3F4 00208354 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020B3F8 00208358 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020B3FC 0020835C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 8020B400 00208360 4B FC 85 21 */ bl GetPlayerState__10CGameStateCFv /* 8020B404 00208364 80 81 00 08 */ lwz r4, 8(r1) /* 8020B408 00208368 38 61 00 08 */ addi r3, r1, 8 /* 8020B40C 0020836C 83 E4 00 00 */ lwz r31, 0(r4) /* 8020B410 00208370 4B DF DA FD */ bl sub_80008f0c /* 8020B414 00208374 83 DF 00 20 */ lwz r30, 0x20(r31) /* 8020B418 00208378 7F E3 FB 78 */ mr r3, r31 /* 8020B41C 0020837C 4B E8 60 A9 */ bl GetIsFusionEnabled__12CPlayerStateFv /* 8020B420 00208380 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020B424 00208384 41 82 00 48 */ beq lbl_8020B46C /* 8020B428 00208388 2C 1E 00 02 */ cmpwi r30, 2 /* 8020B42C 0020838C 41 82 00 2C */ beq lbl_8020B458 /* 8020B430 00208390 40 80 00 14 */ bge lbl_8020B444 /* 8020B434 00208394 2C 1E 00 00 */ cmpwi r30, 0 /* 8020B438 00208398 41 82 00 18 */ beq lbl_8020B450 /* 8020B43C 0020839C 40 80 00 24 */ bge lbl_8020B460 /* 8020B440 002083A0 48 00 00 2C */ b lbl_8020B46C lbl_8020B444: /* 8020B444 002083A4 2C 1E 00 04 */ cmpwi r30, 4 /* 8020B448 002083A8 40 80 00 24 */ bge lbl_8020B46C /* 8020B44C 002083AC 48 00 00 1C */ b lbl_8020B468 lbl_8020B450: /* 8020B450 002083B0 3B C0 00 04 */ li r30, 4 /* 8020B454 002083B4 48 00 00 18 */ b lbl_8020B46C lbl_8020B458: /* 8020B458 002083B8 3B C0 00 07 */ li r30, 7 /* 8020B45C 002083BC 48 00 00 10 */ b lbl_8020B46C lbl_8020B460: /* 8020B460 002083C0 3B C0 00 06 */ li r30, 6 /* 8020B464 002083C4 48 00 00 08 */ b lbl_8020B46C lbl_8020B468: /* 8020B468 002083C8 3B C0 00 08 */ li r30, 8 lbl_8020B46C: /* 8020B46C 002083CC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020B470 002083D0 7F C3 F3 78 */ mr r3, r30 /* 8020B474 002083D4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020B478 002083D8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020B47C 002083DC 7C 08 03 A6 */ mtlr r0 /* 8020B480 002083E0 38 21 00 20 */ addi r1, r1, 0x20 /* 8020B484 002083E4 4E 80 00 20 */ blr .global DisableTransition__18CWorldTransManagerFv DisableTransition__18CWorldTransManagerFv: /* 8020B488 002083E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020B48C 002083EC 7C 08 02 A6 */ mflr r0 /* 8020B490 002083F0 38 80 00 00 */ li r4, 0 /* 8020B494 002083F4 90 01 00 14 */ stw r0, 0x14(r1) /* 8020B498 002083F8 38 00 00 00 */ li r0, 0 /* 8020B49C 002083FC 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020B4A0 00208400 7C 7F 1B 78 */ mr r31, r3 /* 8020B4A4 00208404 90 03 00 30 */ stw r0, 0x30(r3) /* 8020B4A8 00208408 38 7F 00 04 */ addi r3, r31, 4 /* 8020B4AC 0020840C 4B FF E3 25 */ bl sub_802097d0 /* 8020B4B0 00208410 80 7F 00 08 */ lwz r3, 8(r31) /* 8020B4B4 00208414 38 80 00 01 */ li r4, 1 /* 8020B4B8 00208418 48 0B E7 E1 */ bl __dt__15CGuiTextSupportFv /* 8020B4BC 0020841C 38 60 00 00 */ li r3, 0 /* 8020B4C0 00208420 90 7F 00 08 */ stw r3, 8(r31) /* 8020B4C4 00208424 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B4C8 00208428 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8020B4CC 0020842C 98 1F 00 44 */ stb r0, 0x44(r31) /* 8020B4D0 00208430 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020B4D4 00208434 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020B4D8 00208438 7C 08 03 A6 */ mtlr r0 /* 8020B4DC 0020843C 38 21 00 10 */ addi r1, r1, 0x10 /* 8020B4E0 00208440 4E 80 00 20 */ blr .global sub_8020b4e4 sub_8020b4e4: /* 8020B4E4 00208444 94 21 FE C0 */ stwu r1, -0x140(r1) /* 8020B4E8 00208448 7C 08 02 A6 */ mflr r0 /* 8020B4EC 0020844C 90 01 01 44 */ stw r0, 0x144(r1) /* 8020B4F0 00208450 93 E1 01 3C */ stw r31, 0x13c(r1) /* 8020B4F4 00208454 7C 7F 1B 78 */ mr r31, r3 /* 8020B4F8 00208458 38 61 00 EC */ addi r3, r1, 0xec /* 8020B4FC 0020845C 80 04 00 00 */ lwz r0, 0(r4) /* 8020B500 00208460 90 1F 00 00 */ stw r0, 0(r31) /* 8020B504 00208464 80 04 00 04 */ lwz r0, 4(r4) /* 8020B508 00208468 90 1F 00 04 */ stw r0, 4(r31) /* 8020B50C 0020846C C0 04 00 08 */ lfs f0, 8(r4) /* 8020B510 00208470 D0 1F 00 08 */ stfs f0, 8(r31) /* 8020B514 00208474 C0 04 00 0C */ lfs f0, 0xc(r4) /* 8020B518 00208478 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8020B51C 0020847C C0 04 00 10 */ lfs f0, 0x10(r4) /* 8020B520 00208480 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 8020B524 00208484 88 04 00 14 */ lbz r0, 0x14(r4) /* 8020B528 00208488 98 1F 00 14 */ stb r0, 0x14(r31) /* 8020B52C 0020848C 80 04 00 18 */ lwz r0, 0x18(r4) /* 8020B530 00208490 90 1F 00 18 */ stw r0, 0x18(r31) /* 8020B534 00208494 4B E2 F2 71 */ bl CModelDataNull__10CModelDataFv /* 8020B538 00208498 38 7F 00 1C */ addi r3, r31, 0x1c /* 8020B53C 0020849C 38 81 00 EC */ addi r4, r1, 0xec /* 8020B540 002084A0 4B E0 D8 4D */ bl __ct__10CModelDataFRC10CModelData /* 8020B544 002084A4 38 61 00 EC */ addi r3, r1, 0xec /* 8020B548 002084A8 38 80 FF FF */ li r4, -1 /* 8020B54C 002084AC 4B F0 B5 01 */ bl __dt__10CModelDataFv /* 8020B550 002084B0 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8020B554 002084B4 4B E2 F2 51 */ bl CModelDataNull__10CModelDataFv /* 8020B558 002084B8 38 7F 00 68 */ addi r3, r31, 0x68 /* 8020B55C 002084BC 38 81 00 A0 */ addi r4, r1, 0xa0 /* 8020B560 002084C0 4B E0 D8 2D */ bl __ct__10CModelDataFRC10CModelData /* 8020B564 002084C4 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8020B568 002084C8 38 80 FF FF */ li r4, -1 /* 8020B56C 002084CC 4B F0 B4 E1 */ bl __dt__10CModelDataFv /* 8020B570 002084D0 38 61 00 54 */ addi r3, r1, 0x54 /* 8020B574 002084D4 4B E2 F2 31 */ bl CModelDataNull__10CModelDataFv /* 8020B578 002084D8 38 7F 00 B4 */ addi r3, r31, 0xb4 /* 8020B57C 002084DC 38 81 00 54 */ addi r4, r1, 0x54 /* 8020B580 002084E0 4B E0 D8 0D */ bl __ct__10CModelDataFRC10CModelData /* 8020B584 002084E4 38 61 00 54 */ addi r3, r1, 0x54 /* 8020B588 002084E8 38 80 FF FF */ li r4, -1 /* 8020B58C 002084EC 4B F0 B4 C1 */ bl __dt__10CModelDataFv /* 8020B590 002084F0 38 61 00 08 */ addi r3, r1, 8 /* 8020B594 002084F4 4B E2 F2 11 */ bl CModelDataNull__10CModelDataFv /* 8020B598 002084F8 38 7F 01 00 */ addi r3, r31, 0x100 /* 8020B59C 002084FC 38 81 00 08 */ addi r4, r1, 8 /* 8020B5A0 00208500 4B E0 D7 ED */ bl __ct__10CModelDataFRC10CModelData /* 8020B5A4 00208504 38 61 00 08 */ addi r3, r1, 8 /* 8020B5A8 00208508 38 80 FF FF */ li r4, -1 /* 8020B5AC 0020850C 4B F0 B4 A1 */ bl __dt__10CModelDataFv /* 8020B5B0 00208510 38 00 00 00 */ li r0, 0 /* 8020B5B4 00208514 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8020B5B8 00208518 98 1F 01 54 */ stb r0, 0x154(r31) /* 8020B5BC 0020851C 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 8020B5C0 00208520 38 7F 01 70 */ addi r3, r31, 0x170 /* 8020B5C4 00208524 98 1F 01 60 */ stb r0, 0x160(r31) /* 8020B5C8 00208528 98 1F 01 6C */ stb r0, 0x16c(r31) /* 8020B5CC 0020852C 48 10 75 A9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8020B5D0 00208530 38 00 00 00 */ li r0, 0 /* 8020B5D4 00208534 3C 60 80 3D */ lis r3, lbl_803D2768@ha /* 8020B5D8 00208538 90 1F 01 A4 */ stw r0, 0x1a4(r31) /* 8020B5DC 0020853C 38 83 27 68 */ addi r4, r3, lbl_803D2768@l /* 8020B5E0 00208540 3C 60 00 09 */ lis r3, 0x0008C000@ha /* 8020B5E4 00208544 38 A0 00 00 */ li r5, 0 /* 8020B5E8 00208548 90 1F 01 A8 */ stw r0, 0x1a8(r31) /* 8020B5EC 0020854C 38 63 C0 00 */ addi r3, r3, 0x0008C000@l /* 8020B5F0 00208550 90 1F 01 AC */ stw r0, 0x1ac(r31) /* 8020B5F4 00208554 48 10 A2 25 */ bl __nwa__FUlPCcPCc /* 8020B5F8 00208558 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020B5FC 0020855C 90 7F 01 B0 */ stw r3, 0x1b0(r31) /* 8020B600 00208560 38 7F 01 B4 */ addi r3, r31, 0x1b4 /* 8020B604 00208564 FC 40 08 90 */ fmr f2, f1 /* 8020B608 00208568 48 10 8B F9 */ bl __ct__9CVector2fFff /* 8020B60C 0020856C C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020B610 00208570 38 7F 01 BC */ addi r3, r31, 0x1bc /* 8020B614 00208574 FC 40 08 90 */ fmr f2, f1 /* 8020B618 00208578 48 10 8B E9 */ bl __ct__9CVector2fFff /* 8020B61C 0020857C C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2) /* 8020B620 00208580 38 00 00 00 */ li r0, 0 /* 8020B624 00208584 C0 02 B1 A4 */ lfs f0, lbl_805ACEC4@sda21(r2) /* 8020B628 00208588 38 7F 01 A0 */ addi r3, r31, 0x1a0 /* 8020B62C 0020858C D0 3F 01 C4 */ stfs f1, 0x1c4(r31) /* 8020B630 00208590 38 80 00 08 */ li r4, 8 /* 8020B634 00208594 D0 3F 01 C8 */ stfs f1, 0x1c8(r31) /* 8020B638 00208598 D0 3F 01 CC */ stfs f1, 0x1cc(r31) /* 8020B63C 0020859C D0 1F 01 D0 */ stfs f0, 0x1d0(r31) /* 8020B640 002085A0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) /* 8020B644 002085A4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) /* 8020B648 002085A8 98 1F 01 DC */ stb r0, 0x1dc(r31) /* 8020B64C 002085AC 4B E4 4B B9 */ bl sub_80050204 /* 8020B650 002085B0 80 01 01 44 */ lwz r0, 0x144(r1) /* 8020B654 002085B4 7F E3 FB 78 */ mr r3, r31 /* 8020B658 002085B8 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 8020B65C 002085BC 7C 08 03 A6 */ mtlr r0 /* 8020B660 002085C0 38 21 01 40 */ addi r1, r1, 0x140 /* 8020B664 002085C4 4E 80 00 20 */ blr .global sub_8020b668 sub_8020b668: /* 8020B668 002085C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020B66C 002085CC 7C 08 02 A6 */ mflr r0 /* 8020B670 002085D0 90 01 00 14 */ stw r0, 0x14(r1) /* 8020B674 002085D4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020B678 002085D8 7C 9F 23 78 */ mr r31, r4 /* 8020B67C 002085DC 93 C1 00 08 */ stw r30, 8(r1) /* 8020B680 002085E0 7C 7E 1B 79 */ or. r30, r3, r3 /* 8020B684 002085E4 41 82 00 60 */ beq lbl_8020B6E4 /* 8020B688 002085E8 34 1E 00 0C */ addic. r0, r30, 0xc /* 8020B68C 002085EC 41 82 00 28 */ beq lbl_8020B6B4 /* 8020B690 002085F0 88 1E 00 14 */ lbz r0, 0x14(r30) /* 8020B694 002085F4 28 00 00 00 */ cmplwi r0, 0 /* 8020B698 002085F8 41 82 00 14 */ beq lbl_8020B6AC /* 8020B69C 002085FC 34 7E 00 0C */ addic. r3, r30, 0xc /* 8020B6A0 00208600 41 82 00 0C */ beq lbl_8020B6AC /* 8020B6A4 00208604 38 80 00 00 */ li r4, 0 /* 8020B6A8 00208608 48 13 57 99 */ bl __dt__6CTokenFv lbl_8020B6AC: /* 8020B6AC 0020860C 38 00 00 00 */ li r0, 0 /* 8020B6B0 00208610 98 1E 00 14 */ stb r0, 0x14(r30) lbl_8020B6B4: /* 8020B6B4 00208614 34 1E 00 08 */ addic. r0, r30, 8 /* 8020B6B8 00208618 41 82 00 10 */ beq lbl_8020B6C8 /* 8020B6BC 0020861C 80 7E 00 08 */ lwz r3, 8(r30) /* 8020B6C0 00208620 38 80 00 01 */ li r4, 1 /* 8020B6C4 00208624 48 0B E5 D5 */ bl __dt__15CGuiTextSupportFv lbl_8020B6C8: /* 8020B6C8 00208628 38 7E 00 04 */ addi r3, r30, 4 /* 8020B6CC 0020862C 38 80 FF FF */ li r4, -1 /* 8020B6D0 00208630 48 00 00 31 */ bl __dt__18CWorldTransManagerFv /* 8020B6D4 00208634 7F E0 07 35 */ extsh. r0, r31 /* 8020B6D8 00208638 40 81 00 0C */ ble lbl_8020B6E4 /* 8020B6DC 0020863C 7F C3 F3 78 */ mr r3, r30 /* 8020B6E0 00208640 48 10 A2 51 */ bl Free__7CMemoryFPCv lbl_8020B6E4: /* 8020B6E4 00208644 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020B6E8 00208648 7F C3 F3 78 */ mr r3, r30 /* 8020B6EC 0020864C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020B6F0 00208650 83 C1 00 08 */ lwz r30, 8(r1) /* 8020B6F4 00208654 7C 08 03 A6 */ mtlr r0 /* 8020B6F8 00208658 38 21 00 10 */ addi r1, r1, 0x10 /* 8020B6FC 0020865C 4E 80 00 20 */ blr .global __dt__18CWorldTransManagerFv __dt__18CWorldTransManagerFv: /* 8020B700 00208660 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020B704 00208664 7C 08 02 A6 */ mflr r0 /* 8020B708 00208668 90 01 00 14 */ stw r0, 0x14(r1) /* 8020B70C 0020866C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020B710 00208670 7C 9F 23 78 */ mr r31, r4 /* 8020B714 00208674 93 C1 00 08 */ stw r30, 8(r1) /* 8020B718 00208678 7C 7E 1B 79 */ or. r30, r3, r3 /* 8020B71C 0020867C 41 82 00 20 */ beq lbl_8020B73C /* 8020B720 00208680 80 7E 00 00 */ lwz r3, 0(r30) /* 8020B724 00208684 38 80 00 01 */ li r4, 1 /* 8020B728 00208688 4B FF E0 F1 */ bl __dt__Q218CWorldTransManager11SModelDatasFv /* 8020B72C 0020868C 7F E0 07 35 */ extsh. r0, r31 /* 8020B730 00208690 40 81 00 0C */ ble lbl_8020B73C /* 8020B734 00208694 7F C3 F3 78 */ mr r3, r30 /* 8020B738 00208698 48 10 A1 F9 */ bl Free__7CMemoryFPCv lbl_8020B73C: /* 8020B73C 0020869C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020B740 002086A0 7F C3 F3 78 */ mr r3, r30 /* 8020B744 002086A4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020B748 002086A8 83 C1 00 08 */ lwz r30, 8(r1) /* 8020B74C 002086AC 7C 08 03 A6 */ mtlr r0 /* 8020B750 002086B0 38 21 00 10 */ addi r1, r1, 0x10 /* 8020B754 002086B4 4E 80 00 20 */ blr .global __ct__18CWorldTransManagerFv __ct__18CWorldTransManagerFv: /* 8020B758 002086B8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020B75C 002086BC 7C 08 02 A6 */ mflr r0 /* 8020B760 002086C0 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020B764 002086C4 38 80 00 63 */ li r4, 0x63 /* 8020B768 002086C8 90 01 00 14 */ stw r0, 0x14(r1) /* 8020B76C 002086CC 38 00 00 00 */ li r0, 0 /* 8020B770 002086D0 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020B774 002086D4 7C 7F 1B 78 */ mr r31, r3 /* 8020B778 002086D8 D0 03 00 00 */ stfs f0, 0(r3) /* 8020B77C 002086DC 38 7F 00 20 */ addi r3, r31, 0x20 /* 8020B780 002086E0 90 1F 00 04 */ stw r0, 4(r31) /* 8020B784 002086E4 90 1F 00 08 */ stw r0, 8(r31) /* 8020B788 002086E8 98 1F 00 14 */ stb r0, 0x14(r31) /* 8020B78C 002086EC 48 10 6E 61 */ bl __ct__9CRandom16FUi /* 8020B790 002086F0 38 00 04 A5 */ li r0, 0x4a5 /* 8020B794 002086F4 38 C0 00 00 */ li r6, 0 /* 8020B798 002086F8 B0 1F 00 24 */ sth r0, 0x24(r31) /* 8020B79C 002086FC 38 A0 00 7F */ li r5, 0x7f /* 8020B7A0 00208700 38 00 00 40 */ li r0, 0x40 /* 8020B7A4 00208704 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2) /* 8020B7A8 00208708 90 DF 00 28 */ stw r6, 0x28(r31) /* 8020B7AC 0020870C 38 80 00 01 */ li r4, 1 /* 8020B7B0 00208710 7F E3 FB 78 */ mr r3, r31 /* 8020B7B4 00208714 98 BF 00 2C */ stb r5, 0x2c(r31) /* 8020B7B8 00208718 98 1F 00 2D */ stb r0, 0x2d(r31) /* 8020B7BC 0020871C 90 DF 00 30 */ stw r6, 0x30(r31) /* 8020B7C0 00208720 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 8020B7C4 00208724 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B7C8 00208728 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8020B7CC 0020872C 98 1F 00 44 */ stb r0, 0x44(r31) /* 8020B7D0 00208730 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B7D4 00208734 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 8020B7D8 00208738 98 1F 00 44 */ stb r0, 0x44(r31) /* 8020B7DC 0020873C 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B7E0 00208740 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 8020B7E4 00208744 98 1F 00 44 */ stb r0, 0x44(r31) /* 8020B7E8 00208748 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B7EC 0020874C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 8020B7F0 00208750 98 1F 00 44 */ stb r0, 0x44(r31) /* 8020B7F4 00208754 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8020B7F8 00208758 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c /* 8020B7FC 0020875C 98 1F 00 44 */ stb r0, 0x44(r31) /* 8020B800 00208760 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020B804 00208764 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020B808 00208768 7C 08 03 A6 */ mtlr r0 /* 8020B80C 0020876C 38 21 00 10 */ addi r1, r1, 0x10 /* 8020B810 00208770 4E 80 00 20 */ blr .global sub_8020b814 sub_8020b814: /* 8020B814 00208774 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020B818 00208778 7C 08 02 A6 */ mflr r0 /* 8020B81C 0020877C 90 01 00 24 */ stw r0, 0x24(r1) /* 8020B820 00208780 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020B824 00208784 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020B828 00208788 7C 9E 23 78 */ mr r30, r4 /* 8020B82C 0020878C 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020B830 00208790 7C 7D 1B 78 */ mr r29, r3 /* 8020B834 00208794 80 03 00 04 */ lwz r0, 4(r3) /* 8020B838 00208798 83 E4 00 04 */ lwz r31, 4(r4) /* 8020B83C 0020879C 7C 1E 00 40 */ cmplw r30, r0 /* 8020B840 002087A0 40 82 00 08 */ bne lbl_8020B848 /* 8020B844 002087A4 93 FD 00 04 */ stw r31, 4(r29) lbl_8020B848: /* 8020B848 002087A8 80 1E 00 04 */ lwz r0, 4(r30) /* 8020B84C 002087AC 38 7E 00 08 */ addi r3, r30, 8 /* 8020B850 002087B0 80 BE 00 00 */ lwz r5, 0(r30) /* 8020B854 002087B4 38 80 FF FF */ li r4, -1 /* 8020B858 002087B8 90 05 00 04 */ stw r0, 4(r5) /* 8020B85C 002087BC 80 1E 00 00 */ lwz r0, 0(r30) /* 8020B860 002087C0 80 BE 00 04 */ lwz r5, 4(r30) /* 8020B864 002087C4 90 05 00 00 */ stw r0, 0(r5) /* 8020B868 002087C8 48 14 D0 DD */ bl __dt__10CARAMTokenFv /* 8020B86C 002087CC 28 1E 00 00 */ cmplwi r30, 0 /* 8020B870 002087D0 41 82 00 0C */ beq lbl_8020B87C /* 8020B874 002087D4 7F C3 F3 78 */ mr r3, r30 /* 8020B878 002087D8 48 10 A0 B9 */ bl Free__7CMemoryFPCv lbl_8020B87C: /* 8020B87C 002087DC 80 9D 00 14 */ lwz r4, 0x14(r29) /* 8020B880 002087E0 7F E3 FB 78 */ mr r3, r31 /* 8020B884 002087E4 38 04 FF FF */ addi r0, r4, -1 /* 8020B888 002087E8 90 1D 00 14 */ stw r0, 0x14(r29) /* 8020B88C 002087EC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020B890 002087F0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020B894 002087F4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020B898 002087F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020B89C 002087FC 7C 08 03 A6 */ mtlr r0 /* 8020B8A0 00208800 38 21 00 20 */ addi r1, r1, 0x20 /* 8020B8A4 00208804 4E 80 00 20 */ blr .global sub_8020b8a8 sub_8020b8a8: /* 8020B8A8 00208808 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020B8AC 0020880C 7C 08 02 A6 */ mflr r0 /* 8020B8B0 00208810 90 01 00 24 */ stw r0, 0x24(r1) /* 8020B8B4 00208814 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020B8B8 00208818 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020B8BC 0020881C 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020B8C0 00208820 7C 9D 23 78 */ mr r29, r4 /* 8020B8C4 00208824 93 81 00 10 */ stw r28, 0x10(r1) /* 8020B8C8 00208828 7C 7C 1B 79 */ or. r28, r3, r3 /* 8020B8CC 0020882C 41 82 00 4C */ beq lbl_8020B918 /* 8020B8D0 00208830 83 FC 00 04 */ lwz r31, 4(r28) /* 8020B8D4 00208834 48 00 00 28 */ b lbl_8020B8FC lbl_8020B8D8: /* 8020B8D8 00208838 7F FE FB 78 */ mr r30, r31 /* 8020B8DC 0020883C 83 FF 00 04 */ lwz r31, 4(r31) /* 8020B8E0 00208840 38 7E 00 08 */ addi r3, r30, 8 /* 8020B8E4 00208844 38 80 FF FF */ li r4, -1 /* 8020B8E8 00208848 48 14 D0 5D */ bl __dt__10CARAMTokenFv /* 8020B8EC 0020884C 28 1E 00 00 */ cmplwi r30, 0 /* 8020B8F0 00208850 41 82 00 0C */ beq lbl_8020B8FC /* 8020B8F4 00208854 7F C3 F3 78 */ mr r3, r30 /* 8020B8F8 00208858 48 10 A0 39 */ bl Free__7CMemoryFPCv lbl_8020B8FC: /* 8020B8FC 0020885C 80 1C 00 08 */ lwz r0, 8(r28) /* 8020B900 00208860 7C 1F 00 40 */ cmplw r31, r0 /* 8020B904 00208864 40 82 FF D4 */ bne lbl_8020B8D8 /* 8020B908 00208868 7F A0 07 35 */ extsh. r0, r29 /* 8020B90C 0020886C 40 81 00 0C */ ble lbl_8020B918 /* 8020B910 00208870 7F 83 E3 78 */ mr r3, r28 /* 8020B914 00208874 48 10 A0 1D */ bl Free__7CMemoryFPCv lbl_8020B918: /* 8020B918 00208878 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020B91C 0020887C 7F 83 E3 78 */ mr r3, r28 /* 8020B920 00208880 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020B924 00208884 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020B928 00208888 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020B92C 0020888C 83 81 00 10 */ lwz r28, 0x10(r1) /* 8020B930 00208890 7C 08 03 A6 */ mtlr r0 /* 8020B934 00208894 38 21 00 20 */ addi r1, r1, 0x20 /* 8020B938 00208898 4E 80 00 20 */ blr .global StopInternal__11CScriptMidiFf StopInternal__11CScriptMidiFf: /* 8020B93C 0020889C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020B940 002088A0 7C 08 02 A6 */ mflr r0 /* 8020B944 002088A4 90 01 00 24 */ stw r0, 0x24(r1) /* 8020B948 002088A8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020B94C 002088AC 7C 7F 1B 78 */ mr r31, r3 /* 8020B950 002088B0 80 03 00 3C */ lwz r0, 0x3c(r3) /* 8020B954 002088B4 28 00 00 00 */ cmplwi r0, 0 /* 8020B958 002088B8 41 82 00 1C */ beq lbl_8020B974 /* 8020B95C 002088BC C0 02 B1 A8 */ lfs f0, lbl_805ACEC8@sda21(r2) /* 8020B960 002088C0 EC 20 00 72 */ fmuls f1, f0, f1 /* 8020B964 002088C4 F0 21 B0 08 */ psq_st f1, 8(r1), 1, qr3 /* 8020B968 002088C8 38 7F 00 3C */ addi r3, r31, 0x3c /* 8020B96C 002088CC A0 81 00 08 */ lhz r4, 8(r1) /* 8020B970 002088D0 48 14 D7 2D */ bl Stop__12CMidiManagerFRC10CSfxHandleUs lbl_8020B974: /* 8020B974 002088D4 38 00 00 00 */ li r0, 0 /* 8020B978 002088D8 90 1F 00 3C */ stw r0, 0x3c(r31) /* 8020B97C 002088DC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020B980 002088E0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020B984 002088E4 7C 08 03 A6 */ mtlr r0 /* 8020B988 002088E8 38 21 00 20 */ addi r1, r1, 0x20 /* 8020B98C 002088EC 4E 80 00 20 */ blr .global Stop__11CScriptMidiFR13CStateManagerf Stop__11CScriptMidiFR13CStateManagerf: /* 8020B990 002088F0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020B994 002088F4 7C 08 02 A6 */ mflr r0 /* 8020B998 002088F8 90 01 00 54 */ stw r0, 0x54(r1) /* 8020B99C 002088FC DB E1 00 40 */ stfd f31, 0x40(r1) /* 8020B9A0 00208900 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 8020B9A4 00208904 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8020B9A8 00208908 80 C3 00 04 */ lwz r6, 4(r3) /* 8020B9AC 0020890C 7C 7F 1B 78 */ mr r31, r3 /* 8020B9B0 00208910 80 E4 08 50 */ lwz r7, 0x850(r4) /* 8020B9B4 00208914 FF E0 08 90 */ fmr f31, f1 /* 8020B9B8 00208918 54 C4 18 38 */ slwi r4, r6, 3 /* 8020B9BC 0020891C 90 C1 00 08 */ stw r6, 8(r1) /* 8020B9C0 00208920 38 04 00 04 */ addi r0, r4, 4 /* 8020B9C4 00208924 80 A7 00 20 */ lwz r5, 0x20(r7) /* 8020B9C8 00208928 90 C1 00 0C */ stw r6, 0xc(r1) /* 8020B9CC 0020892C 7C A5 00 2E */ lwzx r5, r5, r0 /* 8020B9D0 00208930 38 61 00 10 */ addi r3, r1, 0x10 /* 8020B9D4 00208934 80 87 00 08 */ lwz r4, 8(r7) /* 8020B9D8 00208938 38 DF 00 10 */ addi r6, r31, 0x10 /* 8020B9DC 0020893C 80 A5 00 84 */ lwz r5, 0x84(r5) /* 8020B9E0 00208940 48 01 11 AD */ bl "GetIdentifierForMidiEvent__19CInGameTweakManagerFUiUiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020B9E4 00208944 38 61 00 20 */ addi r3, r1, 0x20 /* 8020B9E8 00208948 38 81 00 10 */ addi r4, r1, 0x10 /* 8020B9EC 0020894C 48 13 27 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020B9F0 00208950 38 61 00 10 */ addi r3, r1, 0x10 /* 8020B9F4 00208954 48 13 20 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020B9F8 00208958 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) /* 8020B9FC 0020895C 38 81 00 20 */ addi r4, r1, 0x20 /* 8020BA00 00208960 48 01 15 F1 */ bl "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BA04 00208964 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020BA08 00208968 41 82 00 14 */ beq lbl_8020BA1C /* 8020BA0C 0020896C 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) /* 8020BA10 00208970 38 81 00 20 */ addi r4, r1, 0x20 /* 8020BA14 00208974 48 01 12 91 */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BA18 00208978 C3 E3 00 28 */ lfs f31, 0x28(r3) lbl_8020BA1C: /* 8020BA1C 0020897C FC 20 F8 90 */ fmr f1, f31 /* 8020BA20 00208980 7F E3 FB 78 */ mr r3, r31 /* 8020BA24 00208984 4B FF FF 19 */ bl StopInternal__11CScriptMidiFf /* 8020BA28 00208988 38 61 00 20 */ addi r3, r1, 0x20 /* 8020BA2C 0020898C 48 13 20 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020BA30 00208990 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8020BA34 00208994 80 01 00 54 */ lwz r0, 0x54(r1) /* 8020BA38 00208998 CB E1 00 40 */ lfd f31, 0x40(r1) /* 8020BA3C 0020899C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8020BA40 002089A0 7C 08 03 A6 */ mtlr r0 /* 8020BA44 002089A4 38 21 00 50 */ addi r1, r1, 0x50 /* 8020BA48 002089A8 4E 80 00 20 */ blr .global Play__11CScriptMidiFR13CStateManagerf Play__11CScriptMidiFR13CStateManagerf: /* 8020BA4C 002089AC 94 21 FF 80 */ stwu r1, -0x80(r1) /* 8020BA50 002089B0 7C 08 02 A6 */ mflr r0 /* 8020BA54 002089B4 90 01 00 84 */ stw r0, 0x84(r1) /* 8020BA58 002089B8 DB E1 00 70 */ stfd f31, 0x70(r1) /* 8020BA5C 002089BC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 8020BA60 002089C0 DB C1 00 60 */ stfd f30, 0x60(r1) /* 8020BA64 002089C4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 8020BA68 002089C8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8020BA6C 002089CC 93 C1 00 58 */ stw r30, 0x58(r1) /* 8020BA70 002089D0 80 C3 00 04 */ lwz r6, 4(r3) /* 8020BA74 002089D4 7C 7E 1B 78 */ mr r30, r3 /* 8020BA78 002089D8 80 E4 08 50 */ lwz r7, 0x850(r4) /* 8020BA7C 002089DC FF C0 08 90 */ fmr f30, f1 /* 8020BA80 002089E0 54 C4 18 38 */ slwi r4, r6, 3 /* 8020BA84 002089E4 90 C1 00 10 */ stw r6, 0x10(r1) /* 8020BA88 002089E8 38 04 00 04 */ addi r0, r4, 4 /* 8020BA8C 002089EC 80 A7 00 20 */ lwz r5, 0x20(r7) /* 8020BA90 002089F0 90 C1 00 14 */ stw r6, 0x14(r1) /* 8020BA94 002089F4 7C A5 00 2E */ lwzx r5, r5, r0 /* 8020BA98 002089F8 38 61 00 30 */ addi r3, r1, 0x30 /* 8020BA9C 002089FC 80 87 00 08 */ lwz r4, 8(r7) /* 8020BAA0 00208A00 38 DE 00 10 */ addi r6, r30, 0x10 /* 8020BAA4 00208A04 80 A5 00 84 */ lwz r5, 0x84(r5) /* 8020BAA8 00208A08 48 01 10 E5 */ bl "GetIdentifierForMidiEvent__19CInGameTweakManagerFUiUiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BAAC 00208A0C 38 61 00 40 */ addi r3, r1, 0x40 /* 8020BAB0 00208A10 38 81 00 30 */ addi r4, r1, 0x30 /* 8020BAB4 00208A14 48 13 26 AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BAB8 00208A18 38 61 00 30 */ addi r3, r1, 0x30 /* 8020BABC 00208A1C 48 13 20 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020BAC0 00208A20 AB FE 00 48 */ lha r31, 0x48(r30) /* 8020BAC4 00208A24 38 81 00 40 */ addi r4, r1, 0x40 /* 8020BAC8 00208A28 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) /* 8020BACC 00208A2C 48 01 15 25 */ bl "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BAD0 00208A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020BAD4 00208A34 41 82 00 90 */ beq lbl_8020BB64 /* 8020BAD8 00208A38 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) /* 8020BADC 00208A3C 38 81 00 40 */ addi r4, r1, 0x40 /* 8020BAE0 00208A40 48 01 11 C5 */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BAE4 00208A44 7C 7F 1B 78 */ mr r31, r3 /* 8020BAE8 00208A48 3C 60 43 53 */ lis r3, 0x43534E47@ha /* 8020BAEC 00208A4C C3 DF 00 24 */ lfs f30, 0x24(r31) /* 8020BAF0 00208A50 38 03 4E 47 */ addi r0, r3, 0x43534E47@l /* 8020BAF4 00208A54 80 DF 00 40 */ lwz r6, 0x40(r31) /* 8020BAF8 00208A58 38 61 00 20 */ addi r3, r1, 0x20 /* 8020BAFC 00208A5C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020BB00 00208A60 38 A1 00 28 */ addi r5, r1, 0x28 /* 8020BB04 00208A64 90 01 00 28 */ stw r0, 0x28(r1) /* 8020BB08 00208A68 90 C1 00 2C */ stw r6, 0x2c(r1) /* 8020BB0C 00208A6C 81 84 00 00 */ lwz r12, 0(r4) /* 8020BB10 00208A70 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8020BB14 00208A74 7D 89 03 A6 */ mtctr r12 /* 8020BB18 00208A78 4E 80 04 21 */ bctrl /* 8020BB1C 00208A7C 38 61 00 18 */ addi r3, r1, 0x18 /* 8020BB20 00208A80 38 81 00 20 */ addi r4, r1, 0x20 /* 8020BB24 00208A84 48 13 53 85 */ bl __ct__6CTokenFRC6CToken /* 8020BB28 00208A88 38 7E 00 34 */ addi r3, r30, 0x34 /* 8020BB2C 00208A8C 38 81 00 18 */ addi r4, r1, 0x18 /* 8020BB30 00208A90 48 13 51 95 */ bl __as__6CTokenFRC6CToken /* 8020BB34 00208A94 38 61 00 18 */ addi r3, r1, 0x18 /* 8020BB38 00208A98 38 80 00 00 */ li r4, 0 /* 8020BB3C 00208A9C 48 13 53 05 */ bl __dt__6CTokenFv /* 8020BB40 00208AA0 38 61 00 20 */ addi r3, r1, 0x20 /* 8020BB44 00208AA4 38 80 FF FF */ li r4, -1 /* 8020BB48 00208AA8 48 13 52 F9 */ bl __dt__6CTokenFv /* 8020BB4C 00208AAC C0 22 B1 AC */ lfs f1, lbl_805ACECC@sda21(r2) /* 8020BB50 00208AB0 C0 1F 00 2C */ lfs f0, 0x2c(r31) /* 8020BB54 00208AB4 EC 01 00 32 */ fmuls f0, f1, f0 /* 8020BB58 00208AB8 FC 00 00 1E */ fctiwz f0, f0 /* 8020BB5C 00208ABC D8 01 00 50 */ stfd f0, 0x50(r1) /* 8020BB60 00208AC0 83 E1 00 54 */ lwz r31, 0x54(r1) lbl_8020BB64: /* 8020BB64 00208AC4 38 7E 00 34 */ addi r3, r30, 0x34 /* 8020BB68 00208AC8 48 13 52 A5 */ bl GetObj__6CTokenFv /* 8020BB6C 00208ACC C0 02 B1 A8 */ lfs f0, lbl_805ACEC8@sda21(r2) /* 8020BB70 00208AD0 80 83 00 04 */ lwz r4, 4(r3) /* 8020BB74 00208AD4 EF E0 07 B2 */ fmuls f31, f0, f30 /* 8020BB78 00208AD8 F3 E1 B0 08 */ psq_st f31, 8(r1), 1, qr3 /* 8020BB7C 00208ADC 38 61 00 0C */ addi r3, r1, 0xc /* 8020BB80 00208AE0 7F E7 07 34 */ extsh r7, r31 /* 8020BB84 00208AE4 38 C0 00 00 */ li r6, 0 /* 8020BB88 00208AE8 A0 A1 00 08 */ lhz r5, 8(r1) /* 8020BB8C 00208AEC 48 14 D5 D1 */ bl Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs /* 8020BB90 00208AF0 80 01 00 0C */ lwz r0, 0xc(r1) /* 8020BB94 00208AF4 38 61 00 40 */ addi r3, r1, 0x40 /* 8020BB98 00208AF8 90 1E 00 3C */ stw r0, 0x3c(r30) /* 8020BB9C 00208AFC 48 13 1F 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020BBA0 00208B00 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 8020BBA4 00208B04 CB E1 00 70 */ lfd f31, 0x70(r1) /* 8020BBA8 00208B08 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 8020BBAC 00208B0C CB C1 00 60 */ lfd f30, 0x60(r1) /* 8020BBB0 00208B10 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8020BBB4 00208B14 80 01 00 84 */ lwz r0, 0x84(r1) /* 8020BBB8 00208B18 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8020BBBC 00208B1C 7C 08 03 A6 */ mtlr r0 /* 8020BBC0 00208B20 38 21 00 80 */ addi r1, r1, 0x80 /* 8020BBC4 00208B24 4E 80 00 20 */ blr .global __dt__11CScriptMidiFv __dt__11CScriptMidiFv: /* 8020BBC8 00208B28 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020BBCC 00208B2C 7C 08 02 A6 */ mflr r0 /* 8020BBD0 00208B30 90 01 00 14 */ stw r0, 0x14(r1) /* 8020BBD4 00208B34 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020BBD8 00208B38 7C 9F 23 78 */ mr r31, r4 /* 8020BBDC 00208B3C 93 C1 00 08 */ stw r30, 8(r1) /* 8020BBE0 00208B40 7C 7E 1B 79 */ or. r30, r3, r3 /* 8020BBE4 00208B44 41 82 00 48 */ beq lbl_8020BC2C /* 8020BBE8 00208B48 3C 80 80 3E */ lis r4, lbl_803E7048@ha /* 8020BBEC 00208B4C C0 22 B1 B0 */ lfs f1, lbl_805ACED0@sda21(r2) /* 8020BBF0 00208B50 38 04 70 48 */ addi r0, r4, lbl_803E7048@l /* 8020BBF4 00208B54 90 1E 00 00 */ stw r0, 0(r30) /* 8020BBF8 00208B58 4B FF FD 45 */ bl StopInternal__11CScriptMidiFf /* 8020BBFC 00208B5C 34 1E 00 34 */ addic. r0, r30, 0x34 /* 8020BC00 00208B60 41 82 00 10 */ beq lbl_8020BC10 /* 8020BC04 00208B64 38 7E 00 34 */ addi r3, r30, 0x34 /* 8020BC08 00208B68 38 80 00 00 */ li r4, 0 /* 8020BC0C 00208B6C 48 13 52 35 */ bl __dt__6CTokenFv lbl_8020BC10: /* 8020BC10 00208B70 7F C3 F3 78 */ mr r3, r30 /* 8020BC14 00208B74 38 80 00 00 */ li r4, 0 /* 8020BC18 00208B78 4B E4 56 5D */ bl __dt__7CEntityFv /* 8020BC1C 00208B7C 7F E0 07 35 */ extsh. r0, r31 /* 8020BC20 00208B80 40 81 00 0C */ ble lbl_8020BC2C /* 8020BC24 00208B84 7F C3 F3 78 */ mr r3, r30 /* 8020BC28 00208B88 48 10 9D 09 */ bl Free__7CMemoryFPCv lbl_8020BC2C: /* 8020BC2C 00208B8C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020BC30 00208B90 7F C3 F3 78 */ mr r3, r30 /* 8020BC34 00208B94 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020BC38 00208B98 83 C1 00 08 */ lwz r30, 8(r1) /* 8020BC3C 00208B9C 7C 08 03 A6 */ mtlr r0 /* 8020BC40 00208BA0 38 21 00 10 */ addi r1, r1, 0x10 /* 8020BC44 00208BA4 4E 80 00 20 */ blr .global AcceptScriptMsg__11CScriptMidiF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__11CScriptMidiF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8020BC48 00208BA8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020BC4C 00208BAC 7C 08 02 A6 */ mflr r0 /* 8020BC50 00208BB0 90 01 00 24 */ stw r0, 0x24(r1) /* 8020BC54 00208BB4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020BC58 00208BB8 7C DF 33 78 */ mr r31, r6 /* 8020BC5C 00208BBC 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020BC60 00208BC0 7C 9E 23 78 */ mr r30, r4 /* 8020BC64 00208BC4 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020BC68 00208BC8 7C 7D 1B 78 */ mr r29, r3 /* 8020BC6C 00208BCC A0 05 00 00 */ lhz r0, 0(r5) /* 8020BC70 00208BD0 38 A1 00 08 */ addi r5, r1, 8 /* 8020BC74 00208BD4 B0 01 00 08 */ sth r0, 8(r1) /* 8020BC78 00208BD8 4B E4 54 E5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8020BC7C 00208BDC 2C 1E 00 0F */ cmpwi r30, 0xf /* 8020BC80 00208BE0 41 82 00 40 */ beq lbl_8020BCC0 /* 8020BC84 00208BE4 40 80 00 10 */ bge lbl_8020BC94 /* 8020BC88 00208BE8 2C 1E 00 04 */ cmpwi r30, 4 /* 8020BC8C 00208BEC 41 82 00 54 */ beq lbl_8020BCE0 /* 8020BC90 00208BF0 48 00 00 5C */ b lbl_8020BCEC lbl_8020BC94: /* 8020BC94 00208BF4 2C 1E 00 14 */ cmpwi r30, 0x14 /* 8020BC98 00208BF8 41 82 00 08 */ beq lbl_8020BCA0 /* 8020BC9C 00208BFC 48 00 00 50 */ b lbl_8020BCEC lbl_8020BCA0: /* 8020BCA0 00208C00 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8020BCA4 00208C04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020BCA8 00208C08 41 82 00 44 */ beq lbl_8020BCEC /* 8020BCAC 00208C0C C0 3D 00 40 */ lfs f1, 0x40(r29) /* 8020BCB0 00208C10 7F A3 EB 78 */ mr r3, r29 /* 8020BCB4 00208C14 7F E4 FB 78 */ mr r4, r31 /* 8020BCB8 00208C18 4B FF FD 95 */ bl Play__11CScriptMidiFR13CStateManagerf /* 8020BCBC 00208C1C 48 00 00 30 */ b lbl_8020BCEC lbl_8020BCC0: /* 8020BCC0 00208C20 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8020BCC4 00208C24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020BCC8 00208C28 41 82 00 24 */ beq lbl_8020BCEC /* 8020BCCC 00208C2C C0 3D 00 44 */ lfs f1, 0x44(r29) /* 8020BCD0 00208C30 7F A3 EB 78 */ mr r3, r29 /* 8020BCD4 00208C34 7F E4 FB 78 */ mr r4, r31 /* 8020BCD8 00208C38 4B FF FC B9 */ bl Stop__11CScriptMidiFR13CStateManagerf /* 8020BCDC 00208C3C 48 00 00 10 */ b lbl_8020BCEC lbl_8020BCE0: /* 8020BCE0 00208C40 C0 22 B1 B0 */ lfs f1, lbl_805ACED0@sda21(r2) /* 8020BCE4 00208C44 7F A3 EB 78 */ mr r3, r29 /* 8020BCE8 00208C48 4B FF FC 55 */ bl StopInternal__11CScriptMidiFf lbl_8020BCEC: /* 8020BCEC 00208C4C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020BCF0 00208C50 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020BCF4 00208C54 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020BCF8 00208C58 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020BCFC 00208C5C 7C 08 03 A6 */ mtlr r0 /* 8020BD00 00208C60 38 21 00 20 */ addi r1, r1, 0x20 /* 8020BD04 00208C64 4E 80 00 20 */ blr .global Accept__11CScriptMidiFR8IVisitor Accept__11CScriptMidiFR8IVisitor: /* 8020BD08 00208C68 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020BD0C 00208C6C 7C 08 02 A6 */ mflr r0 /* 8020BD10 00208C70 90 01 00 14 */ stw r0, 0x14(r1) /* 8020BD14 00208C74 7C 60 1B 78 */ mr r0, r3 /* 8020BD18 00208C78 7C 83 23 78 */ mr r3, r4 /* 8020BD1C 00208C7C 81 84 00 00 */ lwz r12, 0(r4) /* 8020BD20 00208C80 7C 04 03 78 */ mr r4, r0 /* 8020BD24 00208C84 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8020BD28 00208C88 7D 89 03 A6 */ mtctr r12 /* 8020BD2C 00208C8C 4E 80 04 21 */ bctrl /* 8020BD30 00208C90 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020BD34 00208C94 7C 08 03 A6 */ mtlr r0 /* 8020BD38 00208C98 38 21 00 10 */ addi r1, r1, 0x10 /* 8020BD3C 00208C9C 4E 80 00 20 */ blr .global "__ct__11CScriptMidiF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bUiffi" "__ct__11CScriptMidiF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bUiffi": /* 8020BD40 00208CA0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020BD44 00208CA4 7C 08 02 A6 */ mflr r0 /* 8020BD48 00208CA8 90 01 00 44 */ stw r0, 0x44(r1) /* 8020BD4C 00208CAC DB E1 00 38 */ stfd f31, 0x38(r1) /* 8020BD50 00208CB0 FF E0 10 90 */ fmr f31, f2 /* 8020BD54 00208CB4 DB C1 00 30 */ stfd f30, 0x30(r1) /* 8020BD58 00208CB8 FF C0 08 90 */ fmr f30, f1 /* 8020BD5C 00208CBC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8020BD60 00208CC0 7D 3F 4B 78 */ mr r31, r9 /* 8020BD64 00208CC4 93 C1 00 28 */ stw r30, 0x28(r1) /* 8020BD68 00208CC8 7D 1E 43 78 */ mr r30, r8 /* 8020BD6C 00208CCC 93 A1 00 24 */ stw r29, 0x24(r1) /* 8020BD70 00208CD0 7C 7D 1B 78 */ mr r29, r3 /* 8020BD74 00208CD4 A0 04 00 00 */ lhz r0, 0(r4) /* 8020BD78 00208CD8 7C C4 33 78 */ mr r4, r6 /* 8020BD7C 00208CDC 7C E6 3B 78 */ mr r6, r7 /* 8020BD80 00208CE0 B0 01 00 08 */ sth r0, 8(r1) /* 8020BD84 00208CE4 7C 87 23 78 */ mr r7, r4 /* 8020BD88 00208CE8 38 81 00 08 */ addi r4, r1, 8 /* 8020BD8C 00208CEC 4B E4 55 99 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BD90 00208CF0 3C 60 80 3E */ lis r3, lbl_803E7048@ha /* 8020BD94 00208CF4 3C 80 43 53 */ lis r4, 0x43534E47@ha /* 8020BD98 00208CF8 38 03 70 48 */ addi r0, r3, lbl_803E7048@l /* 8020BD9C 00208CFC 38 61 00 0C */ addi r3, r1, 0xc /* 8020BDA0 00208D00 90 1D 00 00 */ stw r0, 0(r29) /* 8020BDA4 00208D04 38 04 4E 47 */ addi r0, r4, 0x43534E47@l /* 8020BDA8 00208D08 38 A1 00 14 */ addi r5, r1, 0x14 /* 8020BDAC 00208D0C 90 01 00 14 */ stw r0, 0x14(r1) /* 8020BDB0 00208D10 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8020BDB4 00208D14 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020BDB8 00208D18 81 84 00 00 */ lwz r12, 0(r4) /* 8020BDBC 00208D1C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8020BDC0 00208D20 7D 89 03 A6 */ mtctr r12 /* 8020BDC4 00208D24 4E 80 04 21 */ bctrl /* 8020BDC8 00208D28 38 7D 00 34 */ addi r3, r29, 0x34 /* 8020BDCC 00208D2C 38 81 00 0C */ addi r4, r1, 0xc /* 8020BDD0 00208D30 48 13 50 D9 */ bl __ct__6CTokenFRC6CToken /* 8020BDD4 00208D34 38 61 00 0C */ addi r3, r1, 0xc /* 8020BDD8 00208D38 38 80 FF FF */ li r4, -1 /* 8020BDDC 00208D3C 48 13 50 65 */ bl __dt__6CTokenFv /* 8020BDE0 00208D40 38 00 00 00 */ li r0, 0 /* 8020BDE4 00208D44 7F A3 EB 78 */ mr r3, r29 /* 8020BDE8 00208D48 90 1D 00 3C */ stw r0, 0x3c(r29) /* 8020BDEC 00208D4C D3 DD 00 40 */ stfs f30, 0x40(r29) /* 8020BDF0 00208D50 D3 FD 00 44 */ stfs f31, 0x44(r29) /* 8020BDF4 00208D54 B3 FD 00 48 */ sth r31, 0x48(r29) /* 8020BDF8 00208D58 80 01 00 44 */ lwz r0, 0x44(r1) /* 8020BDFC 00208D5C CB E1 00 38 */ lfd f31, 0x38(r1) /* 8020BE00 00208D60 CB C1 00 30 */ lfd f30, 0x30(r1) /* 8020BE04 00208D64 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8020BE08 00208D68 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8020BE0C 00208D6C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8020BE10 00208D70 7C 08 03 A6 */ mtlr r0 /* 8020BE14 00208D74 38 21 00 40 */ addi r1, r1, 0x40 /* 8020BE18 00208D78 4E 80 00 20 */ blr .global __dt__20CScriptStreamedMusicFv __dt__20CScriptStreamedMusicFv: /* 8020BE1C 00208D7C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020BE20 00208D80 7C 08 02 A6 */ mflr r0 /* 8020BE24 00208D84 90 01 00 14 */ stw r0, 0x14(r1) /* 8020BE28 00208D88 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020BE2C 00208D8C 7C 9F 23 78 */ mr r31, r4 /* 8020BE30 00208D90 93 C1 00 08 */ stw r30, 8(r1) /* 8020BE34 00208D94 7C 7E 1B 79 */ or. r30, r3, r3 /* 8020BE38 00208D98 41 82 00 3C */ beq lbl_8020BE74 /* 8020BE3C 00208D9C 3C 60 80 3E */ lis r3, lbl_803E7068@ha /* 8020BE40 00208DA0 34 1E 00 34 */ addic. r0, r30, 0x34 /* 8020BE44 00208DA4 38 03 70 68 */ addi r0, r3, lbl_803E7068@l /* 8020BE48 00208DA8 90 1E 00 00 */ stw r0, 0(r30) /* 8020BE4C 00208DAC 41 82 00 0C */ beq lbl_8020BE58 /* 8020BE50 00208DB0 38 7E 00 34 */ addi r3, r30, 0x34 /* 8020BE54 00208DB4 48 13 1C 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8020BE58: /* 8020BE58 00208DB8 7F C3 F3 78 */ mr r3, r30 /* 8020BE5C 00208DBC 38 80 00 00 */ li r4, 0 /* 8020BE60 00208DC0 4B E4 54 15 */ bl __dt__7CEntityFv /* 8020BE64 00208DC4 7F E0 07 35 */ extsh. r0, r31 /* 8020BE68 00208DC8 40 81 00 0C */ ble lbl_8020BE74 /* 8020BE6C 00208DCC 7F C3 F3 78 */ mr r3, r30 /* 8020BE70 00208DD0 48 10 9A C1 */ bl Free__7CMemoryFPCv lbl_8020BE74: /* 8020BE74 00208DD4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020BE78 00208DD8 7F C3 F3 78 */ mr r3, r30 /* 8020BE7C 00208DDC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020BE80 00208DE0 83 C1 00 08 */ lwz r30, 8(r1) /* 8020BE84 00208DE4 7C 08 03 A6 */ mtlr r0 /* 8020BE88 00208DE8 38 21 00 10 */ addi r1, r1, 0x10 /* 8020BE8C 00208DEC 4E 80 00 20 */ blr .global sub_8020be90 sub_8020be90: /* 8020BE90 00208DF0 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8020BE94 00208DF4 7C 08 02 A6 */ mflr r0 /* 8020BE98 00208DF8 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8020BE9C 00208DFC 93 E1 00 BC */ stw r31, 0xbc(r1) /* 8020BEA0 00208E00 7C 7F 1B 78 */ mr r31, r3 /* 8020BEA4 00208E04 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 8020BEA8 00208E08 88 03 00 45 */ lbz r0, 0x45(r3) /* 8020BEAC 00208E0C 28 00 00 00 */ cmplwi r0, 0 /* 8020BEB0 00208E10 41 82 01 CC */ beq lbl_8020C07C /* 8020BEB4 00208E14 38 7F 00 34 */ addi r3, r31, 0x34 /* 8020BEB8 00208E18 38 80 00 7C */ li r4, 0x7c /* 8020BEBC 00208E1C 38 A0 00 00 */ li r5, 0 /* 8020BEC0 00208E20 48 00 02 95 */ bl sub_8020c154 /* 8020BEC4 00208E24 2C 03 FF FF */ cmpwi r3, -1 /* 8020BEC8 00208E28 40 82 01 B4 */ bne lbl_8020C07C /* 8020BECC 00208E2C 80 7F 00 3C */ lwz r3, 0x3c(r31) /* 8020BED0 00208E30 2C 03 00 05 */ cmpwi r3, 5 /* 8020BED4 00208E34 41 80 01 A8 */ blt lbl_8020C07C /* 8020BED8 00208E38 80 1F 00 34 */ lwz r0, 0x34(r31) /* 8020BEDC 00208E3C 38 83 FF FB */ addi r4, r3, -5 /* 8020BEE0 00208E40 38 61 00 98 */ addi r3, r1, 0x98 /* 8020BEE4 00208E44 7C 80 22 14 */ add r4, r0, r4 /* 8020BEE8 00208E48 4B DF 8D D1 */ bl string_l__4rstlFPCc /* 8020BEEC 00208E4C 3C 80 80 3D */ lis r4, lbl_803D2778@ha /* 8020BEF0 00208E50 38 61 00 88 */ addi r3, r1, 0x88 /* 8020BEF4 00208E54 38 84 27 78 */ addi r4, r4, lbl_803D2778@l /* 8020BEF8 00208E58 4B DF 8D C1 */ bl string_l__4rstlFPCc /* 8020BEFC 00208E5C 38 61 00 98 */ addi r3, r1, 0x98 /* 8020BF00 00208E60 38 81 00 88 */ addi r4, r1, 0x88 /* 8020BF04 00208E64 48 13 2A E9 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020BF08 00208E68 7C 7E 1B 78 */ mr r30, r3 /* 8020BF0C 00208E6C 38 61 00 88 */ addi r3, r1, 0x88 /* 8020BF10 00208E70 48 13 1B D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020BF14 00208E74 38 61 00 98 */ addi r3, r1, 0x98 /* 8020BF18 00208E78 48 13 1B C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020BF1C 00208E7C 2C 1E 00 00 */ cmpwi r30, 0 /* 8020BF20 00208E80 40 82 01 5C */ bne lbl_8020C07C /* 8020BF24 00208E84 80 FF 00 3C */ lwz r7, 0x3c(r31) /* 8020BF28 00208E88 38 DF 00 34 */ addi r6, r31, 0x34 /* 8020BF2C 00208E8C 38 00 00 00 */ li r0, 0 /* 8020BF30 00208E90 90 C1 00 20 */ stw r6, 0x20(r1) /* 8020BF34 00208E94 38 A7 FF FB */ addi r5, r7, -5 /* 8020BF38 00208E98 38 61 00 10 */ addi r3, r1, 0x10 /* 8020BF3C 00208E9C 90 E1 00 0C */ stw r7, 0xc(r1) /* 8020BF40 00208EA0 38 81 00 18 */ addi r4, r1, 0x18 /* 8020BF44 00208EA4 90 E1 00 24 */ stw r7, 0x24(r1) /* 8020BF48 00208EA8 90 C1 00 08 */ stw r6, 8(r1) /* 8020BF4C 00208EAC 90 A1 00 0C */ stw r5, 0xc(r1) /* 8020BF50 00208EB0 90 C1 00 28 */ stw r6, 0x28(r1) /* 8020BF54 00208EB4 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8020BF58 00208EB8 90 C1 00 30 */ stw r6, 0x30(r1) /* 8020BF5C 00208EBC 90 A1 00 34 */ stw r5, 0x34(r1) /* 8020BF60 00208EC0 90 C1 00 38 */ stw r6, 0x38(r1) /* 8020BF64 00208EC4 90 01 00 3C */ stw r0, 0x3c(r1) /* 8020BF68 00208EC8 90 C1 00 40 */ stw r6, 0x40(r1) /* 8020BF6C 00208ECC 90 01 00 44 */ stw r0, 0x44(r1) /* 8020BF70 00208ED0 90 C1 00 18 */ stw r6, 0x18(r1) /* 8020BF74 00208ED4 90 A1 00 1C */ stw r5, 0x1c(r1) /* 8020BF78 00208ED8 90 C1 00 10 */ stw r6, 0x10(r1) /* 8020BF7C 00208EDC 90 01 00 14 */ stw r0, 0x14(r1) /* 8020BF80 00208EE0 48 00 08 71 */ bl sub_8020c7f0 /* 8020BF84 00208EE4 7C 7E 1B 78 */ mr r30, r3 /* 8020BF88 00208EE8 38 61 00 78 */ addi r3, r1, 0x78 /* 8020BF8C 00208EEC 38 9E 00 01 */ addi r4, r30, 1 /* 8020BF90 00208EF0 48 13 1B 99 */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" /* 8020BF94 00208EF4 81 01 00 44 */ lwz r8, 0x44(r1) /* 8020BF98 00208EF8 38 E0 00 00 */ li r7, 0 /* 8020BF9C 00208EFC 81 21 00 34 */ lwz r9, 0x34(r1) /* 8020BFA0 00208F00 80 A1 00 40 */ lwz r5, 0x40(r1) /* 8020BFA4 00208F04 80 61 00 30 */ lwz r3, 0x30(r1) /* 8020BFA8 00208F08 48 00 00 1C */ b lbl_8020BFC4 lbl_8020BFAC: /* 8020BFAC 00208F0C 80 85 00 00 */ lwz r4, 0(r5) /* 8020BFB0 00208F10 80 C1 00 78 */ lwz r6, 0x78(r1) /* 8020BFB4 00208F14 7C 04 40 AE */ lbzx r0, r4, r8 /* 8020BFB8 00208F18 39 08 00 01 */ addi r8, r8, 1 /* 8020BFBC 00208F1C 7C 06 39 AE */ stbx r0, r6, r7 /* 8020BFC0 00208F20 38 E7 00 01 */ addi r7, r7, 1 lbl_8020BFC4: /* 8020BFC4 00208F24 7C 05 18 40 */ cmplw r5, r3 /* 8020BFC8 00208F28 38 00 00 00 */ li r0, 0 /* 8020BFCC 00208F2C 40 82 00 0C */ bne lbl_8020BFD8 /* 8020BFD0 00208F30 7C 08 48 00 */ cmpw r8, r9 /* 8020BFD4 00208F34 41 82 00 08 */ beq lbl_8020BFDC lbl_8020BFD8: /* 8020BFD8 00208F38 38 00 00 01 */ li r0, 1 lbl_8020BFDC: /* 8020BFDC 00208F3C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8020BFE0 00208F40 40 82 FF CC */ bne lbl_8020BFAC /* 8020BFE4 00208F44 80 A1 00 78 */ lwz r5, 0x78(r1) /* 8020BFE8 00208F48 38 00 00 00 */ li r0, 0 /* 8020BFEC 00208F4C 3C 80 80 3D */ lis r4, lbl_803D2778@ha /* 8020BFF0 00208F50 38 61 00 68 */ addi r3, r1, 0x68 /* 8020BFF4 00208F54 7C 05 39 AE */ stbx r0, r5, r7 /* 8020BFF8 00208F58 38 A4 27 78 */ addi r5, r4, lbl_803D2778@l /* 8020BFFC 00208F5C 38 81 00 78 */ addi r4, r1, 0x78 /* 8020C000 00208F60 93 C1 00 80 */ stw r30, 0x80(r1) /* 8020C004 00208F64 38 A5 00 06 */ addi r5, r5, 6 /* 8020C008 00208F68 48 00 00 ED */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" /* 8020C00C 00208F6C 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8020C010 00208F70 38 81 00 68 */ addi r4, r1, 0x68 /* 8020C014 00208F74 48 13 21 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C018 00208F78 38 61 00 68 */ addi r3, r1, 0x68 /* 8020C01C 00208F7C 48 13 1A C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C020 00208F80 38 61 00 78 */ addi r3, r1, 0x78 /* 8020C024 00208F84 48 13 1A BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C028 00208F88 80 61 00 A8 */ lwz r3, 0xa8(r1) /* 8020C02C 00208F8C 48 14 39 21 */ bl FileExists__8CDvdFileFPCc /* 8020C030 00208F90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020C034 00208F94 41 82 00 40 */ beq lbl_8020C074 /* 8020C038 00208F98 38 61 00 58 */ addi r3, r1, 0x58 /* 8020C03C 00208F9C 38 9F 00 34 */ addi r4, r31, 0x34 /* 8020C040 00208FA0 38 A0 00 7C */ li r5, 0x7c /* 8020C044 00208FA4 48 00 00 51 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>c" /* 8020C048 00208FA8 38 61 00 48 */ addi r3, r1, 0x48 /* 8020C04C 00208FAC 38 81 00 58 */ addi r4, r1, 0x58 /* 8020C050 00208FB0 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 8020C054 00208FB4 4B DF 8C 09 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C058 00208FB8 38 7F 00 34 */ addi r3, r31, 0x34 /* 8020C05C 00208FBC 38 81 00 48 */ addi r4, r1, 0x48 /* 8020C060 00208FC0 48 13 1C FD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C064 00208FC4 38 61 00 48 */ addi r3, r1, 0x48 /* 8020C068 00208FC8 48 13 1A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C06C 00208FCC 38 61 00 58 */ addi r3, r1, 0x58 /* 8020C070 00208FD0 48 13 1A 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8020C074: /* 8020C074 00208FD4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8020C078 00208FD8 48 13 1A 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8020C07C: /* 8020C07C 00208FDC 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8020C080 00208FE0 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 8020C084 00208FE4 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 8020C088 00208FE8 7C 08 03 A6 */ mtlr r0 /* 8020C08C 00208FEC 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8020C090 00208FF0 4E 80 00 20 */ blr .global "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>c" "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>c": /* 8020C094 00208FF4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020C098 00208FF8 7C 08 02 A6 */ mflr r0 /* 8020C09C 00208FFC 90 01 00 24 */ stw r0, 0x24(r1) /* 8020C0A0 00209000 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020C0A4 00209004 7C BF 2B 78 */ mr r31, r5 /* 8020C0A8 00209008 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020C0AC 0020900C 7C 7E 1B 78 */ mr r30, r3 /* 8020C0B0 00209010 38 61 00 08 */ addi r3, r1, 8 /* 8020C0B4 00209014 48 13 20 AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C0B8 00209018 7F E5 FB 78 */ mr r5, r31 /* 8020C0BC 0020901C 38 61 00 08 */ addi r3, r1, 8 /* 8020C0C0 00209020 38 80 00 01 */ li r4, 1 /* 8020C0C4 00209024 48 13 1D 25 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" /* 8020C0C8 00209028 7F C3 F3 78 */ mr r3, r30 /* 8020C0CC 0020902C 38 81 00 08 */ addi r4, r1, 8 /* 8020C0D0 00209030 48 13 20 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C0D4 00209034 38 61 00 08 */ addi r3, r1, 8 /* 8020C0D8 00209038 48 13 1A 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C0DC 0020903C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020C0E0 00209040 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020C0E4 00209044 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020C0E8 00209048 7C 08 03 A6 */ mtlr r0 /* 8020C0EC 0020904C 38 21 00 20 */ addi r1, r1, 0x20 /* 8020C0F0 00209050 4E 80 00 20 */ blr .global "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc": /* 8020C0F4 00209054 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020C0F8 00209058 7C 08 02 A6 */ mflr r0 /* 8020C0FC 0020905C 90 01 00 24 */ stw r0, 0x24(r1) /* 8020C100 00209060 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020C104 00209064 7C BF 2B 78 */ mr r31, r5 /* 8020C108 00209068 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020C10C 0020906C 7C 7E 1B 78 */ mr r30, r3 /* 8020C110 00209070 38 61 00 08 */ addi r3, r1, 8 /* 8020C114 00209074 48 13 20 4D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C118 00209078 7F E4 FB 78 */ mr r4, r31 /* 8020C11C 0020907C 38 61 00 08 */ addi r3, r1, 8 /* 8020C120 00209080 38 A0 FF FF */ li r5, -1 /* 8020C124 00209084 48 13 1D C1 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" /* 8020C128 00209088 7F C3 F3 78 */ mr r3, r30 /* 8020C12C 0020908C 38 81 00 08 */ addi r4, r1, 8 /* 8020C130 00209090 48 13 20 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C134 00209094 38 61 00 08 */ addi r3, r1, 8 /* 8020C138 00209098 48 13 19 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C13C 0020909C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020C140 002090A0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020C144 002090A4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020C148 002090A8 7C 08 03 A6 */ mtlr r0 /* 8020C14C 002090AC 38 21 00 20 */ addi r1, r1, 0x20 /* 8020C150 002090B0 4E 80 00 20 */ blr .global sub_8020c154 sub_8020c154: /* 8020C154 002090B4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020C158 002090B8 2C 05 FF FF */ cmpwi r5, -1 /* 8020C15C 002090BC 98 81 00 08 */ stb r4, 8(r1) /* 8020C160 002090C0 41 82 00 10 */ beq lbl_8020C170 /* 8020C164 002090C4 80 03 00 08 */ lwz r0, 8(r3) /* 8020C168 002090C8 7C 05 00 00 */ cmpw r5, r0 /* 8020C16C 002090CC 41 80 00 08 */ blt lbl_8020C174 lbl_8020C170: /* 8020C170 002090D0 80 A3 00 08 */ lwz r5, 8(r3) lbl_8020C174: /* 8020C174 002090D4 80 C3 00 08 */ lwz r6, 8(r3) /* 8020C178 002090D8 38 E1 00 08 */ addi r7, r1, 8 /* 8020C17C 002090DC 39 41 00 09 */ addi r10, r1, 9 /* 8020C180 002090E0 39 00 00 00 */ li r8, 0 /* 8020C184 002090E4 7C 07 50 40 */ cmplw r7, r10 /* 8020C188 002090E8 90 61 00 1C */ stw r3, 0x1c(r1) /* 8020C18C 002090EC 91 01 00 20 */ stw r8, 0x20(r1) /* 8020C190 002090F0 90 61 00 24 */ stw r3, 0x24(r1) /* 8020C194 002090F4 90 A1 00 28 */ stw r5, 0x28(r1) /* 8020C198 002090F8 90 61 00 2C */ stw r3, 0x2c(r1) /* 8020C19C 002090FC 90 A1 00 30 */ stw r5, 0x30(r1) /* 8020C1A0 00209100 90 61 00 0C */ stw r3, 0xc(r1) /* 8020C1A4 00209104 90 C1 00 10 */ stw r6, 0x10(r1) /* 8020C1A8 00209108 90 61 00 14 */ stw r3, 0x14(r1) /* 8020C1AC 0020910C 90 C1 00 18 */ stw r6, 0x18(r1) /* 8020C1B0 00209110 40 82 00 08 */ bne lbl_8020C1B8 /* 8020C1B4 00209114 48 00 00 78 */ b lbl_8020C22C lbl_8020C1B8: /* 8020C1B8 00209118 7C A9 2B 78 */ mr r9, r5 /* 8020C1BC 0020911C 48 00 00 4C */ b lbl_8020C208 lbl_8020C1C0: /* 8020C1C0 00209120 80 83 00 00 */ lwz r4, 0(r3) /* 8020C1C4 00209124 88 07 00 00 */ lbz r0, 0(r7) /* 8020C1C8 00209128 7C 84 48 AE */ lbzx r4, r4, r9 /* 8020C1CC 0020912C 7C 00 07 74 */ extsb r0, r0 /* 8020C1D0 00209130 7C 84 07 74 */ extsb r4, r4 /* 8020C1D4 00209134 7C 04 00 00 */ cmpw r4, r0 /* 8020C1D8 00209138 40 82 00 24 */ bne lbl_8020C1FC /* 8020C1DC 0020913C 38 E7 00 01 */ addi r7, r7, 1 /* 8020C1E0 00209140 39 08 00 01 */ addi r8, r8, 1 /* 8020C1E4 00209144 7C 07 50 40 */ cmplw r7, r10 /* 8020C1E8 00209148 40 82 00 1C */ bne lbl_8020C204 /* 8020C1EC 0020914C 7C 05 48 50 */ subf r0, r5, r9 /* 8020C1F0 00209150 7C 68 00 50 */ subf r3, r8, r0 /* 8020C1F4 00209154 39 03 00 01 */ addi r8, r3, 1 /* 8020C1F8 00209158 48 00 00 34 */ b lbl_8020C22C lbl_8020C1FC: /* 8020C1FC 0020915C 38 E1 00 08 */ addi r7, r1, 8 /* 8020C200 00209160 39 00 00 00 */ li r8, 0 lbl_8020C204: /* 8020C204 00209164 39 29 00 01 */ addi r9, r9, 1 lbl_8020C208: /* 8020C208 00209168 7C 03 18 40 */ cmplw r3, r3 /* 8020C20C 0020916C 38 00 00 00 */ li r0, 0 /* 8020C210 00209170 40 82 00 0C */ bne lbl_8020C21C /* 8020C214 00209174 7C 09 30 00 */ cmpw r9, r6 /* 8020C218 00209178 41 82 00 08 */ beq lbl_8020C220 lbl_8020C21C: /* 8020C21C 0020917C 38 00 00 01 */ li r0, 1 lbl_8020C220: /* 8020C220 00209180 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8020C224 00209184 40 82 FF 9C */ bne lbl_8020C1C0 /* 8020C228 00209188 39 00 FF FF */ li r8, -1 lbl_8020C22C: /* 8020C22C 0020918C 2C 08 FF FF */ cmpwi r8, -1 /* 8020C230 00209190 7C 68 2A 14 */ add r3, r8, r5 /* 8020C234 00209194 40 82 00 08 */ bne lbl_8020C23C /* 8020C238 00209198 7D 03 43 78 */ mr r3, r8 lbl_8020C23C: /* 8020C23C 0020919C 38 21 00 40 */ addi r1, r1, 0x40 /* 8020C240 002091A0 4E 80 00 20 */ blr .global sub_8020c244 sub_8020c244: /* 8020C244 002091A4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8020C248 002091A8 7C 08 02 A6 */ mflr r0 /* 8020C24C 002091AC 90 01 00 74 */ stw r0, 0x74(r1) /* 8020C250 002091B0 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8020C254 002091B4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8020C258 002091B8 DB C1 00 50 */ stfd f30, 0x50(r1) /* 8020C25C 002091BC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 8020C260 002091C0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8020C264 002091C4 93 C1 00 48 */ stw r30, 0x48(r1) /* 8020C268 002091C8 7C 7E 1B 78 */ mr r30, r3 /* 8020C26C 002091CC 80 84 08 50 */ lwz r4, 0x850(r4) /* 8020C270 002091D0 80 E3 00 04 */ lwz r7, 4(r3) /* 8020C274 002091D4 38 61 00 14 */ addi r3, r1, 0x14 /* 8020C278 002091D8 80 C4 00 20 */ lwz r6, 0x20(r4) /* 8020C27C 002091DC 38 BE 00 10 */ addi r5, r30, 0x10 /* 8020C280 002091E0 54 E4 18 38 */ slwi r4, r7, 3 /* 8020C284 002091E4 90 E1 00 0C */ stw r7, 0xc(r1) /* 8020C288 002091E8 38 04 00 04 */ addi r0, r4, 4 /* 8020C28C 002091EC 7C 86 00 2E */ lwzx r4, r6, r0 /* 8020C290 002091F0 90 E1 00 10 */ stw r7, 0x10(r1) /* 8020C294 002091F4 80 84 00 84 */ lwz r4, 0x84(r4) /* 8020C298 002091F8 48 01 08 A1 */ bl sub_8021cb38 /* 8020C29C 002091FC 38 61 00 34 */ addi r3, r1, 0x34 /* 8020C2A0 00209200 38 81 00 14 */ addi r4, r1, 0x14 /* 8020C2A4 00209204 48 13 1E BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C2A8 00209208 38 61 00 14 */ addi r3, r1, 0x14 /* 8020C2AC 0020920C 48 13 18 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C2B0 00209210 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) /* 8020C2B4 00209214 38 81 00 34 */ addi r4, r1, 0x34 /* 8020C2B8 00209218 48 01 0D 39 */ bl "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C2BC 0020921C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020C2C0 00209220 41 82 00 7C */ beq lbl_8020C33C /* 8020C2C4 00209224 80 6D A0 88 */ lwz r3, gpTweakManager@sda21(r13) /* 8020C2C8 00209228 38 81 00 34 */ addi r4, r1, 0x34 /* 8020C2CC 0020922C 48 01 09 D9 */ bl "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C2D0 00209230 7C 7F 1B 78 */ mr r31, r3 /* 8020C2D4 00209234 38 61 00 24 */ addi r3, r1, 0x24 /* 8020C2D8 00209238 38 9F 00 30 */ addi r4, r31, 0x30 /* 8020C2DC 0020923C 48 13 1E 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C2E0 00209240 C0 22 B1 B8 */ lfs f1, lbl_805ACED8@sda21(r2) /* 8020C2E4 00209244 C0 1F 00 2C */ lfs f0, 0x2c(r31) /* 8020C2E8 00209248 C3 DF 00 24 */ lfs f30, 0x24(r31) /* 8020C2EC 0020924C EF E1 00 32 */ fmuls f31, f1, f0 /* 8020C2F0 00209250 F3 E1 C0 08 */ psq_st f31, 8(r1), 1, qr4 /* 8020C2F4 00209254 38 7E 00 34 */ addi r3, r30, 0x34 /* 8020C2F8 00209258 C3 FF 00 28 */ lfs f31, 0x28(r31) /* 8020C2FC 0020925C 38 81 00 24 */ addi r4, r1, 0x24 /* 8020C300 00209260 8B E1 00 08 */ lbz r31, 8(r1) /* 8020C304 00209264 48 13 1A 59 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C308 00209268 38 7E 00 34 */ addi r3, r30, 0x34 /* 8020C30C 0020926C 48 00 03 65 */ bl IsDSPFile__20CScriptStreamedMusicFRCQ24rstl6string /* 8020C310 00209270 98 7E 00 45 */ stb r3, 0x45(r30) /* 8020C314 00209274 7F E0 07 74 */ extsb r0, r31 /* 8020C318 00209278 7F C3 F3 78 */ mr r3, r30 /* 8020C31C 0020927C D3 DE 00 48 */ stfs f30, 0x48(r30) /* 8020C320 00209280 90 1E 00 50 */ stw r0, 0x50(r30) /* 8020C324 00209284 D3 FE 00 4C */ stfs f31, 0x4c(r30) /* 8020C328 00209288 48 00 03 FD */ bl nullsub_42 /* 8020C32C 0020928C 7F C3 F3 78 */ mr r3, r30 /* 8020C330 00209290 4B FF FB 61 */ bl sub_8020be90 /* 8020C334 00209294 38 61 00 24 */ addi r3, r1, 0x24 /* 8020C338 00209298 48 13 17 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8020C33C: /* 8020C33C 0020929C 38 61 00 34 */ addi r3, r1, 0x34 /* 8020C340 002092A0 48 13 17 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C344 002092A4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8020C348 002092A8 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8020C34C 002092AC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 8020C350 002092B0 CB C1 00 50 */ lfd f30, 0x50(r1) /* 8020C354 002092B4 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8020C358 002092B8 80 01 00 74 */ lwz r0, 0x74(r1) /* 8020C35C 002092BC 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8020C360 002092C0 7C 08 03 A6 */ mtlr r0 /* 8020C364 002092C4 38 21 00 70 */ addi r1, r1, 0x70 /* 8020C368 002092C8 4E 80 00 20 */ blr .global StopStream__20CScriptStreamedMusicFR13CStateManager StopStream__20CScriptStreamedMusicFR13CStateManager: /* 8020C36C 002092CC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C370 002092D0 7C 08 02 A6 */ mflr r0 /* 8020C374 002092D4 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C378 002092D8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020C37C 002092DC 7C 7F 1B 78 */ mr r31, r3 /* 8020C380 002092E0 88 63 00 46 */ lbz r3, 0x46(r3) /* 8020C384 002092E4 48 00 04 5D */ bl IsOneShot__20CScriptStreamedMusicFb /* 8020C388 002092E8 38 9F 00 34 */ addi r4, r31, 0x34 /* 8020C38C 002092EC 48 15 9C 39 */ bl Stop__19CStreamAudioManagerFiRCQ24rstl6string /* 8020C390 002092F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C394 002092F4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020C398 002092F8 7C 08 03 A6 */ mtlr r0 /* 8020C39C 002092FC 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C3A0 00209300 4E 80 00 20 */ blr .global StartStream__20CScriptStreamedMusicFR13CStateManager StartStream__20CScriptStreamedMusicFR13CStateManager: /* 8020C3A4 00209304 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C3A8 00209308 7C 08 02 A6 */ mflr r0 /* 8020C3AC 0020930C 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C3B0 00209310 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020C3B4 00209314 7C 7F 1B 78 */ mr r31, r3 /* 8020C3B8 00209318 88 63 00 46 */ lbz r3, 0x46(r3) /* 8020C3BC 0020931C 48 00 04 25 */ bl IsOneShot__20CScriptStreamedMusicFb /* 8020C3C0 00209320 80 1F 00 50 */ lwz r0, 0x50(r31) /* 8020C3C4 00209324 38 9F 00 34 */ addi r4, r31, 0x34 /* 8020C3C8 00209328 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8020C3CC 0020932C C0 5F 00 4C */ lfs f2, 0x4c(r31) /* 8020C3D0 00209330 54 05 06 3E */ clrlwi r5, r0, 0x18 /* 8020C3D4 00209334 88 DF 00 47 */ lbz r6, 0x47(r31) /* 8020C3D8 00209338 48 15 99 A9 */ bl Start__19CStreamAudioManagerFiRCQ24rstl6stringib /* 8020C3DC 0020933C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C3E0 00209340 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020C3E4 00209344 7C 08 03 A6 */ mtlr r0 /* 8020C3E8 00209348 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C3EC 0020934C 4E 80 00 20 */ blr .global sub_8020c3f0 sub_8020c3f0: /* 8020C3F0 00209350 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C3F4 00209354 7C 08 02 A6 */ mflr r0 /* 8020C3F8 00209358 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C3FC 0020935C C0 23 00 4C */ lfs f1, 0x4c(r3) /* 8020C400 00209360 48 15 95 0D */ bl sub_8036590c /* 8020C404 00209364 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C408 00209368 7C 08 03 A6 */ mtlr r0 /* 8020C40C 0020936C 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C410 00209370 4E 80 00 20 */ blr .global sub_8020c414 sub_8020c414: /* 8020C414 00209374 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C418 00209378 7C 08 02 A6 */ mflr r0 /* 8020C41C 0020937C 7C 64 1B 78 */ mr r4, r3 /* 8020C420 00209380 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C424 00209384 88 03 00 44 */ lbz r0, 0x44(r3) /* 8020C428 00209388 80 63 00 50 */ lwz r3, 0x50(r3) /* 8020C42C 0020938C 28 00 00 00 */ cmplwi r0, 0 /* 8020C430 00209390 7C 60 07 74 */ extsb r0, r3 /* 8020C434 00209394 41 82 00 1C */ beq lbl_8020C450 /* 8020C438 00209398 C0 24 00 4C */ lfs f1, 0x4c(r4) /* 8020C43C 0020939C 38 64 00 34 */ addi r3, r4, 0x34 /* 8020C440 002093A0 C0 44 00 48 */ lfs f2, 0x48(r4) /* 8020C444 002093A4 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 8020C448 002093A8 48 15 97 71 */ bl "SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" /* 8020C44C 002093AC 48 00 00 18 */ b lbl_8020C464 lbl_8020C450: /* 8020C450 002093B0 C0 24 00 4C */ lfs f1, 0x4c(r4) /* 8020C454 002093B4 38 64 00 34 */ addi r3, r4, 0x34 /* 8020C458 002093B8 C0 44 00 48 */ lfs f2, 0x48(r4) /* 8020C45C 002093BC 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 8020C460 002093C0 48 15 96 0D */ bl "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" lbl_8020C464: /* 8020C464 002093C4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C468 002093C8 7C 08 03 A6 */ mtlr r0 /* 8020C46C 002093CC 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C470 002093D0 4E 80 00 20 */ blr .global Stop__20CScriptStreamedMusicFR13CStateManager Stop__20CScriptStreamedMusicFR13CStateManager: /* 8020C474 002093D4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C478 002093D8 7C 08 02 A6 */ mflr r0 /* 8020C47C 002093DC 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C480 002093E0 88 03 00 45 */ lbz r0, 0x45(r3) /* 8020C484 002093E4 28 00 00 00 */ cmplwi r0, 0 /* 8020C488 002093E8 41 82 00 0C */ beq lbl_8020C494 /* 8020C48C 002093EC 4B FF FE E1 */ bl StopStream__20CScriptStreamedMusicFR13CStateManager /* 8020C490 002093F0 48 00 00 08 */ b lbl_8020C498 lbl_8020C494: /* 8020C494 002093F4 4B FF FF 5D */ bl sub_8020c3f0 lbl_8020C498: /* 8020C498 002093F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C49C 002093FC 7C 08 03 A6 */ mtlr r0 /* 8020C4A0 00209400 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C4A4 00209404 4E 80 00 20 */ blr .global Play__20CScriptStreamedMusicFR13CStateManager Play__20CScriptStreamedMusicFR13CStateManager: /* 8020C4A8 00209408 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C4AC 0020940C 7C 08 02 A6 */ mflr r0 /* 8020C4B0 00209410 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C4B4 00209414 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020C4B8 00209418 7C 9F 23 78 */ mr r31, r4 /* 8020C4BC 0020941C 93 C1 00 08 */ stw r30, 8(r1) /* 8020C4C0 00209420 7C 7E 1B 78 */ mr r30, r3 /* 8020C4C4 00209424 4B FF FD 81 */ bl sub_8020c244 /* 8020C4C8 00209428 88 1E 00 45 */ lbz r0, 0x45(r30) /* 8020C4CC 0020942C 28 00 00 00 */ cmplwi r0, 0 /* 8020C4D0 00209430 41 82 00 14 */ beq lbl_8020C4E4 /* 8020C4D4 00209434 7F C3 F3 78 */ mr r3, r30 /* 8020C4D8 00209438 7F E4 FB 78 */ mr r4, r31 /* 8020C4DC 0020943C 4B FF FE C9 */ bl StartStream__20CScriptStreamedMusicFR13CStateManager /* 8020C4E0 00209440 48 00 00 10 */ b lbl_8020C4F0 lbl_8020C4E4: /* 8020C4E4 00209444 7F C3 F3 78 */ mr r3, r30 /* 8020C4E8 00209448 7F E4 FB 78 */ mr r4, r31 /* 8020C4EC 0020944C 4B FF FF 29 */ bl sub_8020c414 lbl_8020C4F0: /* 8020C4F0 00209450 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C4F4 00209454 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020C4F8 00209458 83 C1 00 08 */ lwz r30, 8(r1) /* 8020C4FC 0020945C 7C 08 03 A6 */ mtlr r0 /* 8020C500 00209460 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C504 00209464 4E 80 00 20 */ blr .global Accept__20CScriptStreamedMusicFR8IVisitor Accept__20CScriptStreamedMusicFR8IVisitor: /* 8020C508 00209468 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020C50C 0020946C 7C 08 02 A6 */ mflr r0 /* 8020C510 00209470 90 01 00 14 */ stw r0, 0x14(r1) /* 8020C514 00209474 7C 60 1B 78 */ mr r0, r3 /* 8020C518 00209478 7C 83 23 78 */ mr r3, r4 /* 8020C51C 0020947C 81 84 00 00 */ lwz r12, 0(r4) /* 8020C520 00209480 7C 04 03 78 */ mr r4, r0 /* 8020C524 00209484 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8020C528 00209488 7D 89 03 A6 */ mtctr r12 /* 8020C52C 0020948C 4E 80 04 21 */ bctrl /* 8020C530 00209490 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020C534 00209494 7C 08 03 A6 */ mtlr r0 /* 8020C538 00209498 38 21 00 10 */ addi r1, r1, 0x10 /* 8020C53C 0020949C 4E 80 00 20 */ blr .global AcceptScriptMsg__20CScriptStreamedMusicF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__20CScriptStreamedMusicF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8020C540 002094A0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020C544 002094A4 7C 08 02 A6 */ mflr r0 /* 8020C548 002094A8 90 01 00 24 */ stw r0, 0x24(r1) /* 8020C54C 002094AC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020C550 002094B0 7C DF 33 78 */ mr r31, r6 /* 8020C554 002094B4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020C558 002094B8 7C 9E 23 78 */ mr r30, r4 /* 8020C55C 002094BC 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020C560 002094C0 7C 7D 1B 78 */ mr r29, r3 /* 8020C564 002094C4 A0 05 00 00 */ lhz r0, 0(r5) /* 8020C568 002094C8 38 A1 00 08 */ addi r5, r1, 8 /* 8020C56C 002094CC B0 01 00 08 */ sth r0, 8(r1) /* 8020C570 002094D0 4B E4 4B ED */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8020C574 002094D4 38 1E FF FC */ addi r0, r30, -4 /* 8020C578 002094D8 28 00 00 10 */ cmplwi r0, 0x10 /* 8020C57C 002094DC 41 81 00 D8 */ bgt lbl_8020C654 /* 8020C580 002094E0 3C 60 80 3E */ lis r3, lbl_803E7088@ha /* 8020C584 002094E4 54 00 10 3A */ slwi r0, r0, 2 /* 8020C588 002094E8 38 63 70 88 */ addi r3, r3, lbl_803E7088@l /* 8020C58C 002094EC 7C 03 00 2E */ lwzx r0, r3, r0 /* 8020C590 002094F0 7C 09 03 A6 */ mtctr r0 /* 8020C594 002094F4 4E 80 04 20 */ bctr /* 8020C598 002094F8 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8020C59C 002094FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020C5A0 00209500 41 82 00 B4 */ beq lbl_8020C654 /* 8020C5A4 00209504 7F A3 EB 78 */ mr r3, r29 /* 8020C5A8 00209508 7F E4 FB 78 */ mr r4, r31 /* 8020C5AC 0020950C 4B FF FE FD */ bl Play__20CScriptStreamedMusicFR13CStateManager /* 8020C5B0 00209510 48 00 00 A4 */ b lbl_8020C654 /* 8020C5B4 00209514 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8020C5B8 00209518 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020C5BC 0020951C 41 82 00 98 */ beq lbl_8020C654 /* 8020C5C0 00209520 7F A3 EB 78 */ mr r3, r29 /* 8020C5C4 00209524 7F E4 FB 78 */ mr r4, r31 /* 8020C5C8 00209528 4B FF FE AD */ bl Stop__20CScriptStreamedMusicFR13CStateManager /* 8020C5CC 0020952C 48 00 00 88 */ b lbl_8020C654 /* 8020C5D0 00209530 88 7D 00 45 */ lbz r3, 0x45(r29) /* 8020C5D4 00209534 28 03 00 00 */ cmplwi r3, 0 /* 8020C5D8 00209538 40 82 00 10 */ bne lbl_8020C5E8 /* 8020C5DC 0020953C 88 1D 00 44 */ lbz r0, 0x44(r29) /* 8020C5E0 00209540 28 00 00 00 */ cmplwi r0, 0 /* 8020C5E4 00209544 41 82 00 0C */ beq lbl_8020C5F0 lbl_8020C5E8: /* 8020C5E8 00209548 28 03 00 00 */ cmplwi r3, 0 /* 8020C5EC 0020954C 41 82 00 68 */ beq lbl_8020C654 lbl_8020C5F0: /* 8020C5F0 00209550 7F A3 EB 78 */ mr r3, r29 /* 8020C5F4 00209554 7F E4 FB 78 */ mr r4, r31 /* 8020C5F8 00209558 4B FF FE 7D */ bl Stop__20CScriptStreamedMusicFR13CStateManager /* 8020C5FC 0020955C 48 00 00 58 */ b lbl_8020C654 /* 8020C600 00209560 88 1D 00 45 */ lbz r0, 0x45(r29) /* 8020C604 00209564 28 00 00 00 */ cmplwi r0, 0 /* 8020C608 00209568 41 82 00 18 */ beq lbl_8020C620 /* 8020C60C 0020956C 88 7D 00 46 */ lbz r3, 0x46(r29) /* 8020C610 00209570 48 00 01 D1 */ bl IsOneShot__20CScriptStreamedMusicFb /* 8020C614 00209574 C0 3D 00 48 */ lfs f1, 0x48(r29) /* 8020C618 00209578 48 15 9A D5 */ bl FadeBackIn__19CStreamAudioManagerFif /* 8020C61C 0020957C 48 00 00 38 */ b lbl_8020C654 lbl_8020C620: /* 8020C620 00209580 C0 3D 00 48 */ lfs f1, 0x48(r29) /* 8020C624 00209584 48 15 8D D5 */ bl sub_803653f8 /* 8020C628 00209588 48 00 00 2C */ b lbl_8020C654 /* 8020C62C 0020958C 88 1D 00 45 */ lbz r0, 0x45(r29) /* 8020C630 00209590 28 00 00 00 */ cmplwi r0, 0 /* 8020C634 00209594 41 82 00 18 */ beq lbl_8020C64C /* 8020C638 00209598 88 7D 00 46 */ lbz r3, 0x46(r29) /* 8020C63C 0020959C 48 00 01 A5 */ bl IsOneShot__20CScriptStreamedMusicFb /* 8020C640 002095A0 C0 3D 00 4C */ lfs f1, 0x4c(r29) /* 8020C644 002095A4 48 15 9A DD */ bl TemporaryFadeOut__19CStreamAudioManagerFif /* 8020C648 002095A8 48 00 00 0C */ b lbl_8020C654 lbl_8020C64C: /* 8020C64C 002095AC C0 3D 00 4C */ lfs f1, 0x4c(r29) /* 8020C650 002095B0 48 15 8D D5 */ bl sub_80365424 lbl_8020C654: /* 8020C654 002095B4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020C658 002095B8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020C65C 002095BC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020C660 002095C0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020C664 002095C4 7C 08 03 A6 */ mtlr r0 /* 8020C668 002095C8 38 21 00 20 */ addi r1, r1, 0x20 /* 8020C66C 002095CC 4E 80 00 20 */ blr .global IsDSPFile__20CScriptStreamedMusicFRCQ24rstl6string IsDSPFile__20CScriptStreamedMusicFRCQ24rstl6string: /* 8020C670 002095D0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020C674 002095D4 7C 08 02 A6 */ mflr r0 /* 8020C678 002095D8 3C 80 80 3D */ lis r4, lbl_803D2778@ha /* 8020C67C 002095DC 90 01 00 44 */ stw r0, 0x44(r1) /* 8020C680 002095E0 38 84 27 78 */ addi r4, r4, lbl_803D2778@l /* 8020C684 002095E4 38 84 00 0C */ addi r4, r4, 0xc /* 8020C688 002095E8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8020C68C 002095EC 93 C1 00 38 */ stw r30, 0x38(r1) /* 8020C690 002095F0 7C 7E 1B 78 */ mr r30, r3 /* 8020C694 002095F4 38 61 00 18 */ addi r3, r1, 0x18 /* 8020C698 002095F8 93 A1 00 34 */ stw r29, 0x34(r1) /* 8020C69C 002095FC 4B DF 86 1D */ bl string_l__4rstlFPCc /* 8020C6A0 00209600 7F C3 F3 78 */ mr r3, r30 /* 8020C6A4 00209604 38 81 00 18 */ addi r4, r1, 0x18 /* 8020C6A8 00209608 3B A0 00 00 */ li r29, 0 /* 8020C6AC 0020960C 3B E0 00 01 */ li r31, 1 /* 8020C6B0 00209610 48 13 23 3D */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C6B4 00209614 2C 03 00 00 */ cmpwi r3, 0 /* 8020C6B8 00209618 41 82 00 34 */ beq lbl_8020C6EC /* 8020C6BC 0020961C 3C 80 80 3D */ lis r4, lbl_803D2778@ha /* 8020C6C0 00209620 38 61 00 08 */ addi r3, r1, 8 /* 8020C6C4 00209624 38 84 27 78 */ addi r4, r4, lbl_803D2778@l /* 8020C6C8 00209628 38 84 00 0F */ addi r4, r4, 0xf /* 8020C6CC 0020962C 4B DF 85 ED */ bl string_l__4rstlFPCc /* 8020C6D0 00209630 7F C3 F3 78 */ mr r3, r30 /* 8020C6D4 00209634 38 81 00 08 */ addi r4, r1, 8 /* 8020C6D8 00209638 3B A0 00 01 */ li r29, 1 /* 8020C6DC 0020963C 48 13 24 01 */ bl "IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C6E0 00209640 2C 03 FF FF */ cmpwi r3, -1 /* 8020C6E4 00209644 40 82 00 08 */ bne lbl_8020C6EC /* 8020C6E8 00209648 3B E0 00 00 */ li r31, 0 lbl_8020C6EC: /* 8020C6EC 0020964C 7F A0 07 75 */ extsb. r0, r29 /* 8020C6F0 00209650 41 82 00 0C */ beq lbl_8020C6FC /* 8020C6F4 00209654 38 61 00 08 */ addi r3, r1, 8 /* 8020C6F8 00209658 48 13 13 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8020C6FC: /* 8020C6FC 0020965C 38 61 00 18 */ addi r3, r1, 0x18 /* 8020C700 00209660 48 13 13 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8020C704 00209664 80 01 00 44 */ lwz r0, 0x44(r1) /* 8020C708 00209668 7F E3 FB 78 */ mr r3, r31 /* 8020C70C 0020966C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8020C710 00209670 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8020C714 00209674 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8020C718 00209678 7C 08 03 A6 */ mtlr r0 /* 8020C71C 0020967C 38 21 00 40 */ addi r1, r1, 0x40 /* 8020C720 00209680 4E 80 00 20 */ blr .global nullsub_42 nullsub_42: /* 8020C724 00209684 4E 80 00 20 */ blr .global "__ct__20CScriptStreamedMusicF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bffi" "__ct__20CScriptStreamedMusicF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bffi": /* 8020C728 00209688 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020C72C 0020968C 7C 08 02 A6 */ mflr r0 /* 8020C730 00209690 90 01 00 44 */ stw r0, 0x44(r1) /* 8020C734 00209694 DB E1 00 38 */ stfd f31, 0x38(r1) /* 8020C738 00209698 FF E0 10 90 */ fmr f31, f2 /* 8020C73C 0020969C DB C1 00 30 */ stfd f30, 0x30(r1) /* 8020C740 002096A0 FF C0 08 90 */ fmr f30, f1 /* 8020C744 002096A4 BF 41 00 18 */ stmw r26, 0x18(r1) /* 8020C748 002096A8 7C 7A 1B 78 */ mr r26, r3 /* 8020C74C 002096AC 8B C1 00 4B */ lbz r30, 0x4b(r1) /* 8020C750 002096B0 7D 1B 43 78 */ mr r27, r8 /* 8020C754 002096B4 8B E1 00 4F */ lbz r31, 0x4f(r1) /* 8020C758 002096B8 7D 3C 4B 78 */ mr r28, r9 /* 8020C75C 002096BC 7D 5D 53 78 */ mr r29, r10 /* 8020C760 002096C0 A0 04 00 00 */ lhz r0, 0(r4) /* 8020C764 002096C4 7C C4 33 78 */ mr r4, r6 /* 8020C768 002096C8 7C E6 3B 78 */ mr r6, r7 /* 8020C76C 002096CC B0 01 00 08 */ sth r0, 8(r1) /* 8020C770 002096D0 7C 87 23 78 */ mr r7, r4 /* 8020C774 002096D4 38 81 00 08 */ addi r4, r1, 8 /* 8020C778 002096D8 4B E4 4B AD */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C77C 002096DC 3C 60 80 3E */ lis r3, lbl_803E7068@ha /* 8020C780 002096E0 7F 64 DB 78 */ mr r4, r27 /* 8020C784 002096E4 38 03 70 68 */ addi r0, r3, lbl_803E7068@l /* 8020C788 002096E8 38 7A 00 34 */ addi r3, r26, 0x34 /* 8020C78C 002096EC 90 1A 00 00 */ stw r0, 0(r26) /* 8020C790 002096F0 48 13 19 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8020C794 002096F4 9B 9A 00 44 */ stb r28, 0x44(r26) /* 8020C798 002096F8 7F 63 DB 78 */ mr r3, r27 /* 8020C79C 002096FC 4B FF FE D5 */ bl IsDSPFile__20CScriptStreamedMusicFRCQ24rstl6string /* 8020C7A0 00209700 98 7A 00 45 */ stb r3, 0x45(r26) /* 8020C7A4 00209704 7F 43 D3 78 */ mr r3, r26 /* 8020C7A8 00209708 9B DA 00 46 */ stb r30, 0x46(r26) /* 8020C7AC 0020970C 9B FA 00 47 */ stb r31, 0x47(r26) /* 8020C7B0 00209710 D3 DA 00 48 */ stfs f30, 0x48(r26) /* 8020C7B4 00209714 D3 FA 00 4C */ stfs f31, 0x4c(r26) /* 8020C7B8 00209718 93 BA 00 50 */ stw r29, 0x50(r26) /* 8020C7BC 0020971C 4B FF FF 69 */ bl nullsub_42 /* 8020C7C0 00209720 CB E1 00 38 */ lfd f31, 0x38(r1) /* 8020C7C4 00209724 7F 43 D3 78 */ mr r3, r26 /* 8020C7C8 00209728 CB C1 00 30 */ lfd f30, 0x30(r1) /* 8020C7CC 0020972C BB 41 00 18 */ lmw r26, 0x18(r1) /* 8020C7D0 00209730 80 01 00 44 */ lwz r0, 0x44(r1) /* 8020C7D4 00209734 7C 08 03 A6 */ mtlr r0 /* 8020C7D8 00209738 38 21 00 40 */ addi r1, r1, 0x40 /* 8020C7DC 0020973C 4E 80 00 20 */ blr .global IsOneShot__20CScriptStreamedMusicFb IsOneShot__20CScriptStreamedMusicFb: /* 8020C7E0 00209740 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 8020C7E4 00209744 7C 00 00 34 */ cntlzw r0, r0 /* 8020C7E8 00209748 54 03 D9 7E */ srwi r3, r0, 5 /* 8020C7EC 0020974C 4E 80 00 20 */ blr .global sub_8020c7f0 sub_8020c7f0: /* 8020C7F0 00209750 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020C7F4 00209754 7C 08 02 A6 */ mflr r0 /* 8020C7F8 00209758 90 01 00 24 */ stw r0, 0x24(r1) /* 8020C7FC 0020975C 38 A1 00 0C */ addi r5, r1, 0xc /* 8020C800 00209760 89 21 00 08 */ lbz r9, 8(r1) /* 8020C804 00209764 81 04 00 00 */ lwz r8, 0(r4) /* 8020C808 00209768 80 E4 00 04 */ lwz r7, 4(r4) /* 8020C80C 0020976C 38 81 00 10 */ addi r4, r1, 0x10 /* 8020C810 00209770 80 C3 00 00 */ lwz r6, 0(r3) /* 8020C814 00209774 80 03 00 04 */ lwz r0, 4(r3) /* 8020C818 00209778 38 61 00 18 */ addi r3, r1, 0x18 /* 8020C81C 0020977C 99 21 00 0C */ stb r9, 0xc(r1) /* 8020C820 00209780 91 01 00 10 */ stw r8, 0x10(r1) /* 8020C824 00209784 90 E1 00 14 */ stw r7, 0x14(r1) /* 8020C828 00209788 90 C1 00 18 */ stw r6, 0x18(r1) /* 8020C82C 0020978C 90 01 00 1C */ stw r0, 0x1c(r1) /* 8020C830 00209790 48 00 00 15 */ bl sub_8020c844 /* 8020C834 00209794 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020C838 00209798 7C 08 03 A6 */ mtlr r0 /* 8020C83C 0020979C 38 21 00 20 */ addi r1, r1, 0x20 /* 8020C840 002097A0 4E 80 00 20 */ blr .global sub_8020c844 sub_8020c844: /* 8020C844 002097A4 80 63 00 04 */ lwz r3, 4(r3) /* 8020C848 002097A8 80 04 00 04 */ lwz r0, 4(r4) /* 8020C84C 002097AC 7C 63 00 50 */ subf r3, r3, r0 /* 8020C850 002097B0 4E 80 00 20 */ blr .global PreRender__8CRagDollFRC9CVector3fR10CModelData PreRender__8CRagDollFRC9CVector3fR10CModelData: /* 8020C854 002097B4 4E 80 00 20 */ blr .global CalculateRenderBounds__8CRagDollCFv CalculateRenderBounds__8CRagDollCFv: /* 8020C858 002097B8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020C85C 002097BC 7C 08 02 A6 */ mflr r0 /* 8020C860 002097C0 C0 22 B1 C8 */ lfs f1, lbl_805ACEE8@sda21(r2) /* 8020C864 002097C4 90 01 00 54 */ stw r0, 0x54(r1) /* 8020C868 002097C8 C0 02 B1 CC */ lfs f0, lbl_805ACEEC@sda21(r2) /* 8020C86C 002097CC BF 01 00 30 */ stmw r24, 0x30(r1) /* 8020C870 002097D0 7C 78 1B 78 */ mr r24, r3 /* 8020C874 002097D4 7C 99 23 78 */ mr r25, r4 /* 8020C878 002097D8 3B 60 00 00 */ li r27, 0 /* 8020C87C 002097DC 3B 80 00 00 */ li r28, 0 /* 8020C880 002097E0 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8020C884 002097E4 D0 21 00 20 */ stfs f1, 0x20(r1) /* 8020C888 002097E8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 8020C88C 002097EC D0 01 00 10 */ stfs f0, 0x10(r1) /* 8020C890 002097F0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8020C894 002097F4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8020C898 002097F8 48 00 00 94 */ b lbl_8020C92C lbl_8020C89C: /* 8020C89C 002097FC 3B C1 00 1C */ addi r30, r1, 0x1c /* 8020C8A0 00209800 3B A1 00 10 */ addi r29, r1, 0x10 /* 8020C8A4 00209804 3B 40 00 00 */ li r26, 0 /* 8020C8A8 00209808 3B E0 00 00 */ li r31, 0 lbl_8020C8AC: /* 8020C8AC 0020980C 80 19 00 10 */ lwz r0, 0x10(r25) /* 8020C8B0 00209810 7F C3 F3 78 */ mr r3, r30 /* 8020C8B4 00209814 38 81 00 0C */ addi r4, r1, 0xc /* 8020C8B8 00209818 7C C0 E2 14 */ add r6, r0, r28 /* 8020C8BC 0020981C 7C A6 FA 14 */ add r5, r6, r31 /* 8020C8C0 00209820 C0 06 00 10 */ lfs f0, 0x10(r6) /* 8020C8C4 00209824 C0 25 00 04 */ lfs f1, 4(r5) /* 8020C8C8 00209828 EC 01 00 28 */ fsubs f0, f1, f0 /* 8020C8CC 0020982C D0 01 00 0C */ stfs f0, 0xc(r1) /* 8020C8D0 00209830 4B E7 15 11 */ bl "Min__5CMathFRCfRCf" /* 8020C8D4 00209834 C0 03 00 00 */ lfs f0, 0(r3) /* 8020C8D8 00209838 7F A3 EB 78 */ mr r3, r29 /* 8020C8DC 0020983C 80 19 00 10 */ lwz r0, 0x10(r25) /* 8020C8E0 00209840 38 81 00 08 */ addi r4, r1, 8 /* 8020C8E4 00209844 D0 1E 00 00 */ stfs f0, 0(r30) /* 8020C8E8 00209848 7C C0 E2 14 */ add r6, r0, r28 /* 8020C8EC 0020984C 7C A6 FA 14 */ add r5, r6, r31 /* 8020C8F0 00209850 C0 06 00 10 */ lfs f0, 0x10(r6) /* 8020C8F4 00209854 C0 25 00 04 */ lfs f1, 4(r5) /* 8020C8F8 00209858 EC 01 00 2A */ fadds f0, f1, f0 /* 8020C8FC 0020985C D0 01 00 08 */ stfs f0, 8(r1) /* 8020C900 00209860 4B E4 2E 31 */ bl "Max__5CMathFRCfRCf" /* 8020C904 00209864 C0 03 00 00 */ lfs f0, 0(r3) /* 8020C908 00209868 3B 5A 00 01 */ addi r26, r26, 1 /* 8020C90C 0020986C 2C 1A 00 03 */ cmpwi r26, 3 /* 8020C910 00209870 3B DE 00 04 */ addi r30, r30, 4 /* 8020C914 00209874 D0 1D 00 00 */ stfs f0, 0(r29) /* 8020C918 00209878 3B BD 00 04 */ addi r29, r29, 4 /* 8020C91C 0020987C 3B FF 00 04 */ addi r31, r31, 4 /* 8020C920 00209880 41 80 FF 8C */ blt lbl_8020C8AC /* 8020C924 00209884 3B 9C 00 40 */ addi r28, r28, 0x40 /* 8020C928 00209888 3B 7B 00 01 */ addi r27, r27, 1 lbl_8020C92C: /* 8020C92C 0020988C 80 19 00 08 */ lwz r0, 8(r25) /* 8020C930 00209890 7C 1B 00 00 */ cmpw r27, r0 /* 8020C934 00209894 41 80 FF 68 */ blt lbl_8020C89C /* 8020C938 00209898 7F 03 C3 78 */ mr r3, r24 /* 8020C93C 0020989C 38 81 00 1C */ addi r4, r1, 0x1c /* 8020C940 002098A0 38 A1 00 10 */ addi r5, r1, 0x10 /* 8020C944 002098A4 48 12 BB C5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8020C948 002098A8 BB 01 00 30 */ lmw r24, 0x30(r1) /* 8020C94C 002098AC 80 01 00 54 */ lwz r0, 0x54(r1) /* 8020C950 002098B0 7C 08 03 A6 */ mtlr r0 /* 8020C954 002098B4 38 21 00 50 */ addi r1, r1, 0x50 /* 8020C958 002098B8 4E 80 00 20 */ blr .global BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion: /* 8020C95C 002098BC 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8020C960 002098C0 7C 08 02 A6 */ mflr r0 /* 8020C964 002098C4 90 01 00 94 */ stw r0, 0x94(r1) /* 8020C968 002098C8 BF 41 00 78 */ stmw r26, 0x78(r1) /* 8020C96C 002098CC 7C 7E 1B 78 */ mr r30, r3 /* 8020C970 002098D0 55 1D 30 32 */ slwi r29, r8, 6 /* 8020C974 002098D4 7C 9A 23 78 */ mr r26, r4 /* 8020C978 002098D8 7C BF 2B 78 */ mr r31, r5 /* 8020C97C 002098DC 7C FC 3B 78 */ mr r28, r7 /* 8020C980 002098E0 7D 3B 4B 78 */ mr r27, r9 /* 8020C984 002098E4 38 61 00 40 */ addi r3, r1, 0x40 /* 8020C988 002098E8 80 04 00 10 */ lwz r0, 0x10(r4) /* 8020C98C 002098EC 7C C4 33 78 */ mr r4, r6 /* 8020C990 002098F0 7C A0 EA 14 */ add r5, r0, r29 /* 8020C994 002098F4 4B F1 F0 0D */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId /* 8020C998 002098F8 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8020C99C 002098FC 57 9C 30 32 */ slwi r28, r28, 6 /* 8020C9A0 00209900 C0 61 00 44 */ lfs f3, 0x44(r1) /* 8020C9A4 00209904 38 DD 00 04 */ addi r6, r29, 4 /* 8020C9A8 00209908 C0 41 00 48 */ lfs f2, 0x48(r1) /* 8020C9AC 0020990C 38 61 00 34 */ addi r3, r1, 0x34 /* 8020C9B0 00209910 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8020C9B4 00209914 38 81 00 24 */ addi r4, r1, 0x24 /* 8020C9B8 00209918 C0 1B 00 0C */ lfs f0, 0xc(r27) /* 8020C9BC 0020991C 38 A1 00 5C */ addi r5, r1, 0x5c /* 8020C9C0 00209920 C0 3B 00 08 */ lfs f1, 8(r27) /* 8020C9C4 00209924 FD 40 00 50 */ fneg f10, f0 /* 8020C9C8 00209928 C0 1B 00 04 */ lfs f0, 4(r27) /* 8020C9CC 0020992C FD 20 08 50 */ fneg f9, f1 /* 8020C9D0 00209930 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 8020C9D4 00209934 FC 80 00 50 */ fneg f4, f0 /* 8020C9D8 00209938 C0 7B 00 00 */ lfs f3, 0(r27) /* 8020C9DC 0020993C D0 41 00 70 */ stfs f2, 0x70(r1) /* 8020C9E0 00209940 FC 20 48 18 */ frsp f1, f9 /* 8020C9E4 00209944 FC 40 20 18 */ frsp f2, f4 /* 8020C9E8 00209948 80 1A 00 10 */ lwz r0, 0x10(r26) /* 8020C9EC 0020994C FC 00 50 18 */ frsp f0, f10 /* 8020C9F0 00209950 D0 81 00 08 */ stfs f4, 8(r1) /* 8020C9F4 00209954 7C E0 E2 14 */ add r7, r0, r28 /* 8020C9F8 00209958 7C C0 32 14 */ add r6, r0, r6 /* 8020C9FC 0020995C C0 A6 00 04 */ lfs f5, 4(r6) /* 8020CA00 00209960 C0 87 00 08 */ lfs f4, 8(r7) /* 8020CA04 00209964 C0 E6 00 08 */ lfs f7, 8(r6) /* 8020CA08 00209968 C0 C7 00 0C */ lfs f6, 0xc(r7) /* 8020CA0C 0020996C ED 05 20 28 */ fsubs f8, f5, f4 /* 8020CA10 00209970 C0 A6 00 00 */ lfs f5, 0(r6) /* 8020CA14 00209974 C0 87 00 04 */ lfs f4, 4(r7) /* 8020CA18 00209978 EC C7 30 28 */ fsubs f6, f7, f6 /* 8020CA1C 0020997C D1 21 00 0C */ stfs f9, 0xc(r1) /* 8020CA20 00209980 EC 85 20 28 */ fsubs f4, f5, f4 /* 8020CA24 00209984 D1 01 00 60 */ stfs f8, 0x60(r1) /* 8020CA28 00209988 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 8020CA2C 0020998C D0 C1 00 64 */ stfs f6, 0x64(r1) /* 8020CA30 00209990 D1 41 00 10 */ stfs f10, 0x10(r1) /* 8020CA34 00209994 D0 61 00 24 */ stfs f3, 0x24(r1) /* 8020CA38 00209998 D0 41 00 28 */ stfs f2, 0x28(r1) /* 8020CA3C 0020999C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 8020CA40 002099A0 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8020CA44 002099A4 48 10 48 21 */ bl Transform__11CQuaternionCFRC9CVector3f /* 8020CA48 002099A8 C0 41 00 34 */ lfs f2, 0x34(r1) /* 8020CA4C 002099AC 38 61 00 14 */ addi r3, r1, 0x14 /* 8020CA50 002099B0 C0 21 00 38 */ lfs f1, 0x38(r1) /* 8020CA54 002099B4 38 81 00 68 */ addi r4, r1, 0x68 /* 8020CA58 002099B8 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 8020CA5C 002099BC 38 A1 00 5C */ addi r5, r1, 0x5c /* 8020CA60 002099C0 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 8020CA64 002099C4 D0 21 00 60 */ stfs f1, 0x60(r1) /* 8020CA68 002099C8 D0 01 00 64 */ stfs f0, 0x64(r1) /* 8020CA6C 002099CC 48 10 50 4D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f /* 8020CA70 002099D0 80 7A 00 10 */ lwz r3, 0x10(r26) /* 8020CA74 002099D4 C0 41 00 18 */ lfs f2, 0x18(r1) /* 8020CA78 002099D8 7C 03 E0 AE */ lbzx r0, r3, r28 /* 8020CA7C 002099DC C0 61 00 14 */ lfs f3, 0x14(r1) /* 8020CA80 002099E0 54 00 08 3C */ slwi r0, r0, 1 /* 8020CA84 002099E4 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 8020CA88 002099E8 7C 7F 02 14 */ add r3, r31, r0 /* 8020CA8C 002099EC C0 01 00 20 */ lfs f0, 0x20(r1) /* 8020CA90 002099F0 88 03 00 41 */ lbz r0, 0x41(r3) /* 8020CA94 002099F4 80 7F 01 08 */ lwz r3, 0x108(r31) /* 8020CA98 002099F8 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 8020CA9C 002099FC D0 41 00 50 */ stfs f2, 0x50(r1) /* 8020CAA0 00209A00 7C 83 02 14 */ add r4, r3, r0 /* 8020CAA4 00209A04 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8020CAA8 00209A08 80 01 00 50 */ lwz r0, 0x50(r1) /* 8020CAAC 00209A0C D0 64 00 04 */ stfs f3, 4(r4) /* 8020CAB0 00209A10 80 61 00 54 */ lwz r3, 0x54(r1) /* 8020CAB4 00209A14 90 04 00 08 */ stw r0, 8(r4) /* 8020CAB8 00209A18 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8020CABC 00209A1C 80 01 00 58 */ lwz r0, 0x58(r1) /* 8020CAC0 00209A20 90 64 00 0C */ stw r3, 0xc(r4) /* 8020CAC4 00209A24 90 04 00 10 */ stw r0, 0x10(r4) /* 8020CAC8 00209A28 D0 7E 00 00 */ stfs f3, 0(r30) /* 8020CACC 00209A2C D0 5E 00 04 */ stfs f2, 4(r30) /* 8020CAD0 00209A30 D0 3E 00 08 */ stfs f1, 8(r30) /* 8020CAD4 00209A34 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 8020CAD8 00209A38 BB 41 00 78 */ lmw r26, 0x78(r1) /* 8020CADC 00209A3C 80 01 00 94 */ lwz r0, 0x94(r1) /* 8020CAE0 00209A40 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 8020CAE4 00209A44 7C 08 03 A6 */ mtlr r0 /* 8020CAE8 00209A48 38 21 00 90 */ addi r1, r1, 0x90 /* 8020CAEC 00209A4C 4E 80 00 20 */ blr .global AddJointConstraint__8CRagDollFiiiiii AddJointConstraint__8CRagDollFiiiiii: /* 8020CAF0 00209A50 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8020CAF4 00209A54 7C 08 02 A6 */ mflr r0 /* 8020CAF8 00209A58 55 29 30 32 */ slwi r9, r9, 6 /* 8020CAFC 00209A5C 55 08 30 32 */ slwi r8, r8, 6 /* 8020CB00 00209A60 90 01 00 34 */ stw r0, 0x34(r1) /* 8020CB04 00209A64 54 E7 30 32 */ slwi r7, r7, 6 /* 8020CB08 00209A68 54 C6 30 32 */ slwi r6, r6, 6 /* 8020CB0C 00209A6C 54 A5 30 32 */ slwi r5, r5, 6 /* 8020CB10 00209A70 BF 21 00 14 */ stmw r25, 0x14(r1) /* 8020CB14 00209A74 7C 7F 1B 78 */ mr r31, r3 /* 8020CB18 00209A78 80 03 00 28 */ lwz r0, 0x28(r3) /* 8020CB1C 00209A7C 81 63 00 2C */ lwz r11, 0x2c(r3) /* 8020CB20 00209A80 81 43 00 10 */ lwz r10, 0x10(r3) /* 8020CB24 00209A84 54 83 30 32 */ slwi r3, r4, 6 /* 8020CB28 00209A88 7C 00 58 00 */ cmpw r0, r11 /* 8020CB2C 00209A8C 7F CA 4A 14 */ add r30, r10, r9 /* 8020CB30 00209A90 7F AA 42 14 */ add r29, r10, r8 /* 8020CB34 00209A94 7F 8A 3A 14 */ add r28, r10, r7 /* 8020CB38 00209A98 7F 6A 32 14 */ add r27, r10, r6 /* 8020CB3C 00209A9C 7F 4A 2A 14 */ add r26, r10, r5 /* 8020CB40 00209AA0 7F 2A 1A 14 */ add r25, r10, r3 /* 8020CB44 00209AA4 41 80 00 1C */ blt lbl_8020CB60 /* 8020CB48 00209AA8 2C 0B 00 00 */ cmpwi r11, 0 /* 8020CB4C 00209AAC 38 7F 00 24 */ addi r3, r31, 0x24 /* 8020CB50 00209AB0 38 80 00 04 */ li r4, 4 /* 8020CB54 00209AB4 41 82 00 08 */ beq lbl_8020CB5C /* 8020CB58 00209AB8 55 64 08 3C */ slwi r4, r11, 1 lbl_8020CB5C: /* 8020CB5C 00209ABC 4B F2 01 F9 */ bl "reserve__Q24rstl71vectorFi" lbl_8020CB60: /* 8020CB60 00209AC0 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8020CB64 00209AC4 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8020CB68 00209AC8 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8020CB6C 00209ACC 7C 63 02 15 */ add. r3, r3, r0 /* 8020CB70 00209AD0 41 82 00 1C */ beq lbl_8020CB8C /* 8020CB74 00209AD4 93 23 00 00 */ stw r25, 0(r3) /* 8020CB78 00209AD8 93 43 00 04 */ stw r26, 4(r3) /* 8020CB7C 00209ADC 93 63 00 08 */ stw r27, 8(r3) /* 8020CB80 00209AE0 93 83 00 0C */ stw r28, 0xc(r3) /* 8020CB84 00209AE4 93 A3 00 10 */ stw r29, 0x10(r3) /* 8020CB88 00209AE8 93 C3 00 14 */ stw r30, 0x14(r3) lbl_8020CB8C: /* 8020CB8C 00209AEC 80 7F 00 28 */ lwz r3, 0x28(r31) /* 8020CB90 00209AF0 38 03 00 01 */ addi r0, r3, 1 /* 8020CB94 00209AF4 90 1F 00 28 */ stw r0, 0x28(r31) /* 8020CB98 00209AF8 BB 21 00 14 */ lmw r25, 0x14(r1) /* 8020CB9C 00209AFC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8020CBA0 00209B00 7C 08 03 A6 */ mtlr r0 /* 8020CBA4 00209B04 38 21 00 30 */ addi r1, r1, 0x30 /* 8020CBA8 00209B08 4E 80 00 20 */ blr .global AddMaxLengthConstraint__8CRagDollFiif AddMaxLengthConstraint__8CRagDollFiif: /* 8020CBAC 00209B0C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020CBB0 00209B10 7C 08 02 A6 */ mflr r0 /* 8020CBB4 00209B14 54 A5 30 32 */ slwi r5, r5, 6 /* 8020CBB8 00209B18 90 01 00 24 */ stw r0, 0x24(r1) /* 8020CBBC 00209B1C DB E1 00 18 */ stfd f31, 0x18(r1) /* 8020CBC0 00209B20 FF E0 08 90 */ fmr f31, f1 /* 8020CBC4 00209B24 93 E1 00 14 */ stw r31, 0x14(r1) /* 8020CBC8 00209B28 93 C1 00 10 */ stw r30, 0x10(r1) /* 8020CBCC 00209B2C 93 A1 00 0C */ stw r29, 0xc(r1) /* 8020CBD0 00209B30 7C 7D 1B 78 */ mr r29, r3 /* 8020CBD4 00209B34 80 03 00 18 */ lwz r0, 0x18(r3) /* 8020CBD8 00209B38 80 C3 00 1C */ lwz r6, 0x1c(r3) /* 8020CBDC 00209B3C 54 83 30 32 */ slwi r3, r4, 6 /* 8020CBE0 00209B40 80 9D 00 10 */ lwz r4, 0x10(r29) /* 8020CBE4 00209B44 7C 00 30 00 */ cmpw r0, r6 /* 8020CBE8 00209B48 7F E4 2A 14 */ add r31, r4, r5 /* 8020CBEC 00209B4C 7F C4 1A 14 */ add r30, r4, r3 /* 8020CBF0 00209B50 41 80 00 1C */ blt lbl_8020CC0C /* 8020CBF4 00209B54 2C 06 00 00 */ cmpwi r6, 0 /* 8020CBF8 00209B58 38 7D 00 14 */ addi r3, r29, 0x14 /* 8020CBFC 00209B5C 38 80 00 04 */ li r4, 4 /* 8020CC00 00209B60 41 82 00 08 */ beq lbl_8020CC08 /* 8020CC04 00209B64 54 C4 08 3C */ slwi r4, r6, 1 lbl_8020CC08: /* 8020CC08 00209B68 4B F2 00 45 */ bl "reserve__Q24rstl72vectorFi" lbl_8020CC0C: /* 8020CC0C 00209B6C 80 1D 00 18 */ lwz r0, 0x18(r29) /* 8020CC10 00209B70 80 7D 00 20 */ lwz r3, 0x20(r29) /* 8020CC14 00209B74 54 00 20 36 */ slwi r0, r0, 4 /* 8020CC18 00209B78 7C 63 02 15 */ add. r3, r3, r0 /* 8020CC1C 00209B7C 41 82 00 18 */ beq lbl_8020CC34 /* 8020CC20 00209B80 93 C3 00 00 */ stw r30, 0(r3) /* 8020CC24 00209B84 38 00 00 02 */ li r0, 2 /* 8020CC28 00209B88 93 E3 00 04 */ stw r31, 4(r3) /* 8020CC2C 00209B8C D3 E3 00 08 */ stfs f31, 8(r3) /* 8020CC30 00209B90 90 03 00 0C */ stw r0, 0xc(r3) lbl_8020CC34: /* 8020CC34 00209B94 80 7D 00 18 */ lwz r3, 0x18(r29) /* 8020CC38 00209B98 38 03 00 01 */ addi r0, r3, 1 /* 8020CC3C 00209B9C 90 1D 00 18 */ stw r0, 0x18(r29) /* 8020CC40 00209BA0 CB E1 00 18 */ lfd f31, 0x18(r1) /* 8020CC44 00209BA4 83 E1 00 14 */ lwz r31, 0x14(r1) /* 8020CC48 00209BA8 83 C1 00 10 */ lwz r30, 0x10(r1) /* 8020CC4C 00209BAC 83 A1 00 0C */ lwz r29, 0xc(r1) /* 8020CC50 00209BB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020CC54 00209BB4 7C 08 03 A6 */ mtlr r0 /* 8020CC58 00209BB8 38 21 00 20 */ addi r1, r1, 0x20 /* 8020CC5C 00209BBC 4E 80 00 20 */ blr .global AddMinLengthConstraint__8CRagDollFiif AddMinLengthConstraint__8CRagDollFiif: /* 8020CC60 00209BC0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020CC64 00209BC4 7C 08 02 A6 */ mflr r0 /* 8020CC68 00209BC8 54 A5 30 32 */ slwi r5, r5, 6 /* 8020CC6C 00209BCC 90 01 00 24 */ stw r0, 0x24(r1) /* 8020CC70 00209BD0 DB E1 00 18 */ stfd f31, 0x18(r1) /* 8020CC74 00209BD4 FF E0 08 90 */ fmr f31, f1 /* 8020CC78 00209BD8 93 E1 00 14 */ stw r31, 0x14(r1) /* 8020CC7C 00209BDC 93 C1 00 10 */ stw r30, 0x10(r1) /* 8020CC80 00209BE0 93 A1 00 0C */ stw r29, 0xc(r1) /* 8020CC84 00209BE4 7C 7D 1B 78 */ mr r29, r3 /* 8020CC88 00209BE8 80 03 00 18 */ lwz r0, 0x18(r3) /* 8020CC8C 00209BEC 80 C3 00 1C */ lwz r6, 0x1c(r3) /* 8020CC90 00209BF0 54 83 30 32 */ slwi r3, r4, 6 /* 8020CC94 00209BF4 80 9D 00 10 */ lwz r4, 0x10(r29) /* 8020CC98 00209BF8 7C 00 30 00 */ cmpw r0, r6 /* 8020CC9C 00209BFC 7F E4 2A 14 */ add r31, r4, r5 /* 8020CCA0 00209C00 7F C4 1A 14 */ add r30, r4, r3 /* 8020CCA4 00209C04 41 80 00 1C */ blt lbl_8020CCC0 /* 8020CCA8 00209C08 2C 06 00 00 */ cmpwi r6, 0 /* 8020CCAC 00209C0C 38 7D 00 14 */ addi r3, r29, 0x14 /* 8020CCB0 00209C10 38 80 00 04 */ li r4, 4 /* 8020CCB4 00209C14 41 82 00 08 */ beq lbl_8020CCBC /* 8020CCB8 00209C18 54 C4 08 3C */ slwi r4, r6, 1 lbl_8020CCBC: /* 8020CCBC 00209C1C 4B F1 FF 91 */ bl "reserve__Q24rstl72vectorFi" lbl_8020CCC0: /* 8020CCC0 00209C20 80 1D 00 18 */ lwz r0, 0x18(r29) /* 8020CCC4 00209C24 80 7D 00 20 */ lwz r3, 0x20(r29) /* 8020CCC8 00209C28 54 00 20 36 */ slwi r0, r0, 4 /* 8020CCCC 00209C2C 7C 63 02 15 */ add. r3, r3, r0 /* 8020CCD0 00209C30 41 82 00 18 */ beq lbl_8020CCE8 /* 8020CCD4 00209C34 93 C3 00 00 */ stw r30, 0(r3) /* 8020CCD8 00209C38 38 00 00 01 */ li r0, 1 /* 8020CCDC 00209C3C 93 E3 00 04 */ stw r31, 4(r3) /* 8020CCE0 00209C40 D3 E3 00 08 */ stfs f31, 8(r3) /* 8020CCE4 00209C44 90 03 00 0C */ stw r0, 0xc(r3) lbl_8020CCE8: /* 8020CCE8 00209C48 80 7D 00 18 */ lwz r3, 0x18(r29) /* 8020CCEC 00209C4C 38 03 00 01 */ addi r0, r3, 1 /* 8020CCF0 00209C50 90 1D 00 18 */ stw r0, 0x18(r29) /* 8020CCF4 00209C54 CB E1 00 18 */ lfd f31, 0x18(r1) /* 8020CCF8 00209C58 83 E1 00 14 */ lwz r31, 0x14(r1) /* 8020CCFC 00209C5C 83 C1 00 10 */ lwz r30, 0x10(r1) /* 8020CD00 00209C60 83 A1 00 0C */ lwz r29, 0xc(r1) /* 8020CD04 00209C64 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020CD08 00209C68 7C 08 03 A6 */ mtlr r0 /* 8020CD0C 00209C6C 38 21 00 20 */ addi r1, r1, 0x20 /* 8020CD10 00209C70 4E 80 00 20 */ blr .global AddLengthConstraint__8CRagDollFii AddLengthConstraint__8CRagDollFii: /* 8020CD14 00209C74 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020CD18 00209C78 7C 08 02 A6 */ mflr r0 /* 8020CD1C 00209C7C 90 01 00 44 */ stw r0, 0x44(r1) /* 8020CD20 00209C80 DB E1 00 30 */ stfd f31, 0x30(r1) /* 8020CD24 00209C84 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8020CD28 00209C88 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8020CD2C 00209C8C 93 C1 00 28 */ stw r30, 0x28(r1) /* 8020CD30 00209C90 93 A1 00 24 */ stw r29, 0x24(r1) /* 8020CD34 00209C94 93 81 00 20 */ stw r28, 0x20(r1) /* 8020CD38 00209C98 7C 7F 1B 78 */ mr r31, r3 /* 8020CD3C 00209C9C 54 BD 30 32 */ slwi r29, r5, 6 /* 8020CD40 00209CA0 80 03 00 10 */ lwz r0, 0x10(r3) /* 8020CD44 00209CA4 54 9C 30 32 */ slwi r28, r4, 6 /* 8020CD48 00209CA8 38 61 00 08 */ addi r3, r1, 8 /* 8020CD4C 00209CAC 7C 80 EA 14 */ add r4, r0, r29 /* 8020CD50 00209CB0 7C A0 E2 14 */ add r5, r0, r28 /* 8020CD54 00209CB4 C0 25 00 08 */ lfs f1, 8(r5) /* 8020CD58 00209CB8 C0 04 00 08 */ lfs f0, 8(r4) /* 8020CD5C 00209CBC C0 65 00 0C */ lfs f3, 0xc(r5) /* 8020CD60 00209CC0 C0 44 00 0C */ lfs f2, 0xc(r4) /* 8020CD64 00209CC4 EC 81 00 28 */ fsubs f4, f1, f0 /* 8020CD68 00209CC8 C0 25 00 04 */ lfs f1, 4(r5) /* 8020CD6C 00209CCC C0 04 00 04 */ lfs f0, 4(r4) /* 8020CD70 00209CD0 EC 43 10 28 */ fsubs f2, f3, f2 /* 8020CD74 00209CD4 EC 01 00 28 */ fsubs f0, f1, f0 /* 8020CD78 00209CD8 D0 81 00 0C */ stfs f4, 0xc(r1) /* 8020CD7C 00209CDC D0 41 00 10 */ stfs f2, 0x10(r1) /* 8020CD80 00209CE0 D0 01 00 08 */ stfs f0, 8(r1) /* 8020CD84 00209CE4 48 10 7B 35 */ bl Magnitude__9CVector3fCFv /* 8020CD88 00209CE8 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8020CD8C 00209CEC FF E0 08 90 */ fmr f31, f1 /* 8020CD90 00209CF0 80 BF 00 1C */ lwz r5, 0x1c(r31) /* 8020CD94 00209CF4 80 7F 00 10 */ lwz r3, 0x10(r31) /* 8020CD98 00209CF8 7C 00 28 00 */ cmpw r0, r5 /* 8020CD9C 00209CFC 7F C3 EA 14 */ add r30, r3, r29 /* 8020CDA0 00209D00 7F A3 E2 14 */ add r29, r3, r28 /* 8020CDA4 00209D04 41 80 00 1C */ blt lbl_8020CDC0 /* 8020CDA8 00209D08 2C 05 00 00 */ cmpwi r5, 0 /* 8020CDAC 00209D0C 38 7F 00 14 */ addi r3, r31, 0x14 /* 8020CDB0 00209D10 38 80 00 04 */ li r4, 4 /* 8020CDB4 00209D14 41 82 00 08 */ beq lbl_8020CDBC /* 8020CDB8 00209D18 54 A4 08 3C */ slwi r4, r5, 1 lbl_8020CDBC: /* 8020CDBC 00209D1C 4B F1 FE 91 */ bl "reserve__Q24rstl72vectorFi" lbl_8020CDC0: /* 8020CDC0 00209D20 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8020CDC4 00209D24 80 7F 00 20 */ lwz r3, 0x20(r31) /* 8020CDC8 00209D28 54 00 20 36 */ slwi r0, r0, 4 /* 8020CDCC 00209D2C 7C 63 02 15 */ add. r3, r3, r0 /* 8020CDD0 00209D30 41 82 00 18 */ beq lbl_8020CDE8 /* 8020CDD4 00209D34 93 A3 00 00 */ stw r29, 0(r3) /* 8020CDD8 00209D38 38 00 00 00 */ li r0, 0 /* 8020CDDC 00209D3C 93 C3 00 04 */ stw r30, 4(r3) /* 8020CDE0 00209D40 D3 E3 00 08 */ stfs f31, 8(r3) /* 8020CDE4 00209D44 90 03 00 0C */ stw r0, 0xc(r3) lbl_8020CDE8: /* 8020CDE8 00209D48 80 7F 00 18 */ lwz r3, 0x18(r31) /* 8020CDEC 00209D4C 38 03 00 01 */ addi r0, r3, 1 /* 8020CDF0 00209D50 90 1F 00 18 */ stw r0, 0x18(r31) /* 8020CDF4 00209D54 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8020CDF8 00209D58 80 01 00 44 */ lwz r0, 0x44(r1) /* 8020CDFC 00209D5C CB E1 00 30 */ lfd f31, 0x30(r1) /* 8020CE00 00209D60 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8020CE04 00209D64 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8020CE08 00209D68 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8020CE0C 00209D6C 83 81 00 20 */ lwz r28, 0x20(r1) /* 8020CE10 00209D70 7C 08 03 A6 */ mtlr r0 /* 8020CE14 00209D74 38 21 00 40 */ addi r1, r1, 0x40 /* 8020CE18 00209D78 4E 80 00 20 */ blr .global AddParticle__8CRagDollFRC6CSegIdRC9CVector3fRC9CVector3ff AddParticle__8CRagDollFRC6CSegIdRC9CVector3fRC9CVector3ff: /* 8020CE1C 00209D7C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020CE20 00209D80 7C 08 02 A6 */ mflr r0 /* 8020CE24 00209D84 3D 00 80 5A */ lis r8, skZero3f@ha /* 8020CE28 00209D88 C0 02 B1 C4 */ lfs f0, lbl_805ACEE4@sda21(r2) /* 8020CE2C 00209D8C 90 01 00 54 */ stw r0, 0x54(r1) /* 8020CE30 00209D90 39 28 66 A0 */ addi r9, r8, skZero3f@l /* 8020CE34 00209D94 39 00 00 00 */ li r8, 0 /* 8020CE38 00209D98 38 63 00 04 */ addi r3, r3, 4 /* 8020CE3C 00209D9C 88 E1 00 44 */ lbz r7, 0x44(r1) /* 8020CE40 00209DA0 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 /* 8020CE44 00209DA4 89 44 00 00 */ lbz r10, 0(r4) /* 8020CE48 00209DA8 38 81 00 08 */ addi r4, r1, 8 /* 8020CE4C 00209DAC C1 09 00 00 */ lfs f8, 0(r9) /* 8020CE50 00209DB0 54 E0 06 3E */ clrlwi r0, r7, 0x18 /* 8020CE54 00209DB4 C1 29 00 04 */ lfs f9, 4(r9) /* 8020CE58 00209DB8 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 /* 8020CE5C 00209DBC C1 49 00 08 */ lfs f10, 8(r9) /* 8020CE60 00209DC0 98 E1 00 44 */ stb r7, 0x44(r1) /* 8020CE64 00209DC4 C0 E6 00 00 */ lfs f7, 0(r6) /* 8020CE68 00209DC8 C0 C6 00 04 */ lfs f6, 4(r6) /* 8020CE6C 00209DCC C0 A6 00 08 */ lfs f5, 8(r6) /* 8020CE70 00209DD0 C0 85 00 00 */ lfs f4, 0(r5) /* 8020CE74 00209DD4 C0 65 00 04 */ lfs f3, 4(r5) /* 8020CE78 00209DD8 C0 45 00 08 */ lfs f2, 8(r5) /* 8020CE7C 00209DDC 99 41 00 08 */ stb r10, 8(r1) /* 8020CE80 00209DE0 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 8020CE84 00209DE4 D0 C1 00 10 */ stfs f6, 0x10(r1) /* 8020CE88 00209DE8 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 8020CE8C 00209DEC D0 21 00 18 */ stfs f1, 0x18(r1) /* 8020CE90 00209DF0 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 8020CE94 00209DF4 D0 61 00 20 */ stfs f3, 0x20(r1) /* 8020CE98 00209DF8 D0 41 00 24 */ stfs f2, 0x24(r1) /* 8020CE9C 00209DFC D1 01 00 28 */ stfs f8, 0x28(r1) /* 8020CEA0 00209E00 D1 21 00 2C */ stfs f9, 0x2c(r1) /* 8020CEA4 00209E04 D1 41 00 30 */ stfs f10, 0x30(r1) /* 8020CEA8 00209E08 D1 01 00 34 */ stfs f8, 0x34(r1) /* 8020CEAC 00209E0C D1 21 00 38 */ stfs f9, 0x38(r1) /* 8020CEB0 00209E10 D1 41 00 3C */ stfs f10, 0x3c(r1) /* 8020CEB4 00209E14 D0 01 00 40 */ stfs f0, 0x40(r1) /* 8020CEB8 00209E18 98 01 00 44 */ stb r0, 0x44(r1) /* 8020CEBC 00209E1C 48 00 00 15 */ bl "push_back__Q24rstl64vectorFRCQ28CRagDoll16CRagDollParticle" /* 8020CEC0 00209E20 80 01 00 54 */ lwz r0, 0x54(r1) /* 8020CEC4 00209E24 7C 08 03 A6 */ mtlr r0 /* 8020CEC8 00209E28 38 21 00 50 */ addi r1, r1, 0x50 /* 8020CECC 00209E2C 4E 80 00 20 */ blr .global "push_back__Q24rstl64vectorFRCQ28CRagDoll16CRagDollParticle" "push_back__Q24rstl64vectorFRCQ28CRagDoll16CRagDollParticle": /* 8020CED0 00209E30 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020CED4 00209E34 7C 08 02 A6 */ mflr r0 /* 8020CED8 00209E38 90 01 00 14 */ stw r0, 0x14(r1) /* 8020CEDC 00209E3C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020CEE0 00209E40 7C 9F 23 78 */ mr r31, r4 /* 8020CEE4 00209E44 93 C1 00 08 */ stw r30, 8(r1) /* 8020CEE8 00209E48 7C 7E 1B 78 */ mr r30, r3 /* 8020CEEC 00209E4C 80 03 00 04 */ lwz r0, 4(r3) /* 8020CEF0 00209E50 80 A3 00 08 */ lwz r5, 8(r3) /* 8020CEF4 00209E54 7C 00 28 00 */ cmpw r0, r5 /* 8020CEF8 00209E58 41 80 00 18 */ blt lbl_8020CF10 /* 8020CEFC 00209E5C 2C 05 00 00 */ cmpwi r5, 0 /* 8020CF00 00209E60 38 80 00 04 */ li r4, 4 /* 8020CF04 00209E64 41 82 00 08 */ beq lbl_8020CF0C /* 8020CF08 00209E68 54 A4 08 3C */ slwi r4, r5, 1 lbl_8020CF0C: /* 8020CF0C 00209E6C 4B F1 FB B9 */ bl "reserve__Q24rstl64vectorFi" lbl_8020CF10: /* 8020CF10 00209E70 80 1E 00 04 */ lwz r0, 4(r30) /* 8020CF14 00209E74 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8020CF18 00209E78 54 00 30 32 */ slwi r0, r0, 6 /* 8020CF1C 00209E7C 7C 63 02 15 */ add. r3, r3, r0 /* 8020CF20 00209E80 41 82 00 84 */ beq lbl_8020CFA4 /* 8020CF24 00209E84 88 1F 00 00 */ lbz r0, 0(r31) /* 8020CF28 00209E88 98 03 00 00 */ stb r0, 0(r3) /* 8020CF2C 00209E8C C0 1F 00 04 */ lfs f0, 4(r31) /* 8020CF30 00209E90 D0 03 00 04 */ stfs f0, 4(r3) /* 8020CF34 00209E94 C0 1F 00 08 */ lfs f0, 8(r31) /* 8020CF38 00209E98 D0 03 00 08 */ stfs f0, 8(r3) /* 8020CF3C 00209E9C C0 1F 00 0C */ lfs f0, 0xc(r31) /* 8020CF40 00209EA0 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8020CF44 00209EA4 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 8020CF48 00209EA8 D0 03 00 10 */ stfs f0, 0x10(r3) /* 8020CF4C 00209EAC C0 1F 00 14 */ lfs f0, 0x14(r31) /* 8020CF50 00209EB0 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8020CF54 00209EB4 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8020CF58 00209EB8 D0 03 00 18 */ stfs f0, 0x18(r3) /* 8020CF5C 00209EBC C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8020CF60 00209EC0 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 8020CF64 00209EC4 C0 1F 00 20 */ lfs f0, 0x20(r31) /* 8020CF68 00209EC8 D0 03 00 20 */ stfs f0, 0x20(r3) /* 8020CF6C 00209ECC C0 1F 00 24 */ lfs f0, 0x24(r31) /* 8020CF70 00209ED0 D0 03 00 24 */ stfs f0, 0x24(r3) /* 8020CF74 00209ED4 C0 1F 00 28 */ lfs f0, 0x28(r31) /* 8020CF78 00209ED8 D0 03 00 28 */ stfs f0, 0x28(r3) /* 8020CF7C 00209EDC C0 1F 00 2C */ lfs f0, 0x2c(r31) /* 8020CF80 00209EE0 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 8020CF84 00209EE4 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 8020CF88 00209EE8 D0 03 00 30 */ stfs f0, 0x30(r3) /* 8020CF8C 00209EEC C0 1F 00 34 */ lfs f0, 0x34(r31) /* 8020CF90 00209EF0 D0 03 00 34 */ stfs f0, 0x34(r3) /* 8020CF94 00209EF4 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 8020CF98 00209EF8 D0 03 00 38 */ stfs f0, 0x38(r3) /* 8020CF9C 00209EFC 88 1F 00 3C */ lbz r0, 0x3c(r31) /* 8020CFA0 00209F00 98 03 00 3C */ stb r0, 0x3c(r3) lbl_8020CFA4: /* 8020CFA4 00209F04 80 7E 00 04 */ lwz r3, 4(r30) /* 8020CFA8 00209F08 38 03 00 01 */ addi r0, r3, 1 /* 8020CFAC 00209F0C 90 1E 00 04 */ stw r0, 4(r30) /* 8020CFB0 00209F10 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020CFB4 00209F14 83 C1 00 08 */ lwz r30, 8(r1) /* 8020CFB8 00209F18 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020CFBC 00209F1C 7C 08 03 A6 */ mtlr r0 /* 8020CFC0 00209F20 38 21 00 10 */ addi r1, r1, 0x10 /* 8020CFC4 00209F24 4E 80 00 20 */ blr .global Update__Q28CRagDoll23CRagDollPlaneConstraintFv Update__Q28CRagDoll23CRagDollPlaneConstraintFv: /* 8020CFC8 00209F28 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8020CFCC 00209F2C 7C 08 02 A6 */ mflr r0 /* 8020CFD0 00209F30 90 01 00 34 */ stw r0, 0x34(r1) /* 8020CFD4 00209F34 38 81 00 08 */ addi r4, r1, 8 /* 8020CFD8 00209F38 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8020CFDC 00209F3C 7C 7F 1B 78 */ mr r31, r3 /* 8020CFE0 00209F40 38 61 00 14 */ addi r3, r1, 0x14 /* 8020CFE4 00209F44 80 DF 00 00 */ lwz r6, 0(r31) /* 8020CFE8 00209F48 80 BF 00 04 */ lwz r5, 4(r31) /* 8020CFEC 00209F4C C0 06 00 08 */ lfs f0, 8(r6) /* 8020CFF0 00209F50 C0 25 00 08 */ lfs f1, 8(r5) /* 8020CFF4 00209F54 C0 65 00 0C */ lfs f3, 0xc(r5) /* 8020CFF8 00209F58 EC 81 00 28 */ fsubs f4, f1, f0 /* 8020CFFC 00209F5C C0 46 00 0C */ lfs f2, 0xc(r6) /* 8020D000 00209F60 C0 25 00 04 */ lfs f1, 4(r5) /* 8020D004 00209F64 C0 06 00 04 */ lfs f0, 4(r6) /* 8020D008 00209F68 EC 43 10 28 */ fsubs f2, f3, f2 /* 8020D00C 00209F6C EC 01 00 28 */ fsubs f0, f1, f0 /* 8020D010 00209F70 D0 81 00 0C */ stfs f4, 0xc(r1) /* 8020D014 00209F74 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8020D018 00209F78 D0 01 00 08 */ stfs f0, 8(r1) /* 8020D01C 00209F7C 48 10 78 35 */ bl AsNormalized__9CVector3fCFv /* 8020D020 00209F80 80 9F 00 08 */ lwz r4, 8(r31) /* 8020D024 00209F84 80 7F 00 0C */ lwz r3, 0xc(r31) /* 8020D028 00209F88 C0 04 00 08 */ lfs f0, 8(r4) /* 8020D02C 00209F8C C0 23 00 08 */ lfs f1, 8(r3) /* 8020D030 00209F90 C0 81 00 18 */ lfs f4, 0x18(r1) /* 8020D034 00209F94 EC 01 00 28 */ fsubs f0, f1, f0 /* 8020D038 00209F98 C0 43 00 04 */ lfs f2, 4(r3) /* 8020D03C 00209F9C C0 24 00 04 */ lfs f1, 4(r4) /* 8020D040 00209FA0 C0 C1 00 14 */ lfs f6, 0x14(r1) /* 8020D044 00209FA4 EC 22 08 28 */ fsubs f1, f2, f1 /* 8020D048 00209FA8 C0 63 00 0C */ lfs f3, 0xc(r3) /* 8020D04C 00209FAC EC 04 00 32 */ fmuls f0, f4, f0 /* 8020D050 00209FB0 C0 44 00 0C */ lfs f2, 0xc(r4) /* 8020D054 00209FB4 C0 A1 00 1C */ lfs f5, 0x1c(r1) /* 8020D058 00209FB8 EC 43 10 28 */ fsubs f2, f3, f2 /* 8020D05C 00209FBC EC 26 00 7A */ fmadds f1, f6, f1, f0 /* 8020D060 00209FC0 C0 02 B1 C4 */ lfs f0, lbl_805ACEE4@sda21(r2) /* 8020D064 00209FC4 EC 45 08 BA */ fmadds f2, f5, f2, f1 /* 8020D068 00209FC8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8020D06C 00209FCC 40 80 00 64 */ bge lbl_8020D0D0 /* 8020D070 00209FD0 C0 22 B1 D0 */ lfs f1, lbl_805ACEF0@sda21(r2) /* 8020D074 00209FD4 C0 03 00 04 */ lfs f0, 4(r3) /* 8020D078 00209FD8 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8020D07C 00209FDC EC 61 01 B2 */ fmuls f3, f1, f6 /* 8020D080 00209FE0 EC 41 01 32 */ fmuls f2, f1, f4 /* 8020D084 00209FE4 EC 21 01 72 */ fmuls f1, f1, f5 /* 8020D088 00209FE8 EC 00 18 28 */ fsubs f0, f0, f3 /* 8020D08C 00209FEC D0 03 00 04 */ stfs f0, 4(r3) /* 8020D090 00209FF0 C0 03 00 08 */ lfs f0, 8(r3) /* 8020D094 00209FF4 EC 00 10 28 */ fsubs f0, f0, f2 /* 8020D098 00209FF8 D0 03 00 08 */ stfs f0, 8(r3) /* 8020D09C 00209FFC C0 03 00 0C */ lfs f0, 0xc(r3) /* 8020D0A0 0020A000 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020D0A4 0020A004 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8020D0A8 0020A008 80 7F 00 10 */ lwz r3, 0x10(r31) /* 8020D0AC 0020A00C C0 03 00 04 */ lfs f0, 4(r3) /* 8020D0B0 0020A010 EC 00 18 2A */ fadds f0, f0, f3 /* 8020D0B4 0020A014 D0 03 00 04 */ stfs f0, 4(r3) /* 8020D0B8 0020A018 C0 03 00 08 */ lfs f0, 8(r3) /* 8020D0BC 0020A01C EC 00 10 2A */ fadds f0, f0, f2 /* 8020D0C0 0020A020 D0 03 00 08 */ stfs f0, 8(r3) /* 8020D0C4 0020A024 C0 03 00 0C */ lfs f0, 0xc(r3) /* 8020D0C8 0020A028 EC 00 08 2A */ fadds f0, f0, f1 /* 8020D0CC 0020A02C D0 03 00 0C */ stfs f0, 0xc(r3) lbl_8020D0D0: /* 8020D0D0 0020A030 80 01 00 34 */ lwz r0, 0x34(r1) /* 8020D0D4 0020A034 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8020D0D8 0020A038 7C 08 03 A6 */ mtlr r0 /* 8020D0DC 0020A03C 38 21 00 30 */ addi r1, r1, 0x30 /* 8020D0E0 0020A040 4E 80 00 20 */ blr .global Update__Q28CRagDoll23CRagDollJointConstraintFv Update__Q28CRagDoll23CRagDollJointConstraintFv: /* 8020D0E4 0020A044 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8020D0E8 0020A048 7C 08 02 A6 */ mflr r0 /* 8020D0EC 0020A04C 90 01 00 74 */ stw r0, 0x74(r1) /* 8020D0F0 0020A050 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8020D0F4 0020A054 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8020D0F8 0020A058 DB C1 00 50 */ stfd f30, 0x50(r1) /* 8020D0FC 0020A05C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 8020D100 0020A060 DB A1 00 40 */ stfd f29, 0x40(r1) /* 8020D104 0020A064 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 /* 8020D108 0020A068 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8020D10C 0020A06C 7C 7F 1B 78 */ mr r31, r3 /* 8020D110 0020A070 38 61 00 20 */ addi r3, r1, 0x20 /* 8020D114 0020A074 81 1F 00 00 */ lwz r8, 0(r31) /* 8020D118 0020A078 80 FF 00 04 */ lwz r7, 4(r31) /* 8020D11C 0020A07C 80 DF 00 08 */ lwz r6, 8(r31) /* 8020D120 0020A080 C0 47 00 04 */ lfs f2, 4(r7) /* 8020D124 0020A084 C0 28 00 04 */ lfs f1, 4(r8) /* 8020D128 0020A088 C0 06 00 04 */ lfs f0, 4(r6) /* 8020D12C 0020A08C 80 BF 00 0C */ lwz r5, 0xc(r31) /* 8020D130 0020A090 ED 62 08 28 */ fsubs f11, f2, f1 /* 8020D134 0020A094 80 9F 00 10 */ lwz r4, 0x10(r31) /* 8020D138 0020A098 EF A0 08 28 */ fsubs f29, f0, f1 /* 8020D13C 0020A09C C0 27 00 08 */ lfs f1, 8(r7) /* 8020D140 0020A0A0 C0 68 00 08 */ lfs f3, 8(r8) /* 8020D144 0020A0A4 C0 06 00 08 */ lfs f0, 8(r6) /* 8020D148 0020A0A8 C0 47 00 0C */ lfs f2, 0xc(r7) /* 8020D14C 0020A0AC ED 41 18 28 */ fsubs f10, f1, f3 /* 8020D150 0020A0B0 C0 28 00 0C */ lfs f1, 0xc(r8) /* 8020D154 0020A0B4 ED A0 18 28 */ fsubs f13, f0, f3 /* 8020D158 0020A0B8 C0 06 00 0C */ lfs f0, 0xc(r6) /* 8020D15C 0020A0BC ED 22 08 28 */ fsubs f9, f2, f1 /* 8020D160 0020A0C0 C0 A4 00 04 */ lfs f5, 4(r4) /* 8020D164 0020A0C4 ED 80 08 28 */ fsubs f12, f0, f1 /* 8020D168 0020A0C8 C0 85 00 04 */ lfs f4, 4(r5) /* 8020D16C 0020A0CC ED 0B 03 72 */ fmuls f8, f11, f13 /* 8020D170 0020A0D0 C0 64 00 08 */ lfs f3, 8(r4) /* 8020D174 0020A0D4 EC E9 07 72 */ fmuls f7, f9, f29 /* 8020D178 0020A0D8 C0 45 00 08 */ lfs f2, 8(r5) /* 8020D17C 0020A0DC EC CA 03 32 */ fmuls f6, f10, f12 /* 8020D180 0020A0E0 C0 24 00 0C */ lfs f1, 0xc(r4) /* 8020D184 0020A0E4 C0 05 00 0C */ lfs f0, 0xc(r5) /* 8020D188 0020A0E8 ED 1D 42 B8 */ fmsubs f8, f29, f10, f8 /* 8020D18C 0020A0EC EF E5 20 28 */ fsubs f31, f5, f4 /* 8020D190 0020A0F0 EC AC 3A F8 */ fmsubs f5, f12, f11, f7 /* 8020D194 0020A0F4 EF C1 00 28 */ fsubs f30, f1, f0 /* 8020D198 0020A0F8 EC 8D 32 78 */ fmsubs f4, f13, f9, f6 /* 8020D19C 0020A0FC EF A3 10 28 */ fsubs f29, f3, f2 /* 8020D1A0 0020A100 EC 45 07 B2 */ fmuls f2, f5, f30 /* 8020D1A4 0020A104 EC 28 07 F2 */ fmuls f1, f8, f31 /* 8020D1A8 0020A108 EC 04 07 72 */ fmuls f0, f4, f29 /* 8020D1AC 0020A10C EC 5D 12 38 */ fmsubs f2, f29, f8, f2 /* 8020D1B0 0020A110 EC 3E 09 38 */ fmsubs f1, f30, f4, f1 /* 8020D1B4 0020A114 EC 1F 01 78 */ fmsubs f0, f31, f5, f0 /* 8020D1B8 0020A118 D0 41 00 20 */ stfs f2, 0x20(r1) /* 8020D1BC 0020A11C D0 21 00 24 */ stfs f1, 0x24(r1) /* 8020D1C0 0020A120 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8020D1C4 0020A124 48 10 75 35 */ bl CanBeNormalized__9CVector3fCFv /* 8020D1C8 0020A128 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020D1CC 0020A12C 41 82 00 F0 */ beq lbl_8020D2BC /* 8020D1D0 0020A130 C0 61 00 24 */ lfs f3, 0x24(r1) /* 8020D1D4 0020A134 38 61 00 14 */ addi r3, r1, 0x14 /* 8020D1D8 0020A138 C0 81 00 28 */ lfs f4, 0x28(r1) /* 8020D1DC 0020A13C 38 81 00 08 */ addi r4, r1, 8 /* 8020D1E0 0020A140 C0 A1 00 20 */ lfs f5, 0x20(r1) /* 8020D1E4 0020A144 EC 1F 00 F2 */ fmuls f0, f31, f3 /* 8020D1E8 0020A148 EC 5D 01 32 */ fmuls f2, f29, f4 /* 8020D1EC 0020A14C EC 3E 01 72 */ fmuls f1, f30, f5 /* 8020D1F0 0020A150 EC 05 07 78 */ fmsubs f0, f5, f29, f0 /* 8020D1F4 0020A154 EC 43 17 B8 */ fmsubs f2, f3, f30, f2 /* 8020D1F8 0020A158 EC 24 0F F8 */ fmsubs f1, f4, f31, f1 /* 8020D1FC 0020A15C D0 01 00 10 */ stfs f0, 0x10(r1) /* 8020D200 0020A160 D0 41 00 08 */ stfs f2, 8(r1) /* 8020D204 0020A164 D0 21 00 0C */ stfs f1, 0xc(r1) /* 8020D208 0020A168 48 10 76 49 */ bl AsNormalized__9CVector3fCFv /* 8020D20C 0020A16C 80 9F 00 10 */ lwz r4, 0x10(r31) /* 8020D210 0020A170 80 7F 00 14 */ lwz r3, 0x14(r31) /* 8020D214 0020A174 C0 04 00 08 */ lfs f0, 8(r4) /* 8020D218 0020A178 C0 23 00 08 */ lfs f1, 8(r3) /* 8020D21C 0020A17C C0 81 00 18 */ lfs f4, 0x18(r1) /* 8020D220 0020A180 EC 01 00 28 */ fsubs f0, f1, f0 /* 8020D224 0020A184 C0 43 00 04 */ lfs f2, 4(r3) /* 8020D228 0020A188 C0 24 00 04 */ lfs f1, 4(r4) /* 8020D22C 0020A18C C0 C1 00 14 */ lfs f6, 0x14(r1) /* 8020D230 0020A190 EC 22 08 28 */ fsubs f1, f2, f1 /* 8020D234 0020A194 C0 63 00 0C */ lfs f3, 0xc(r3) /* 8020D238 0020A198 EC 00 01 32 */ fmuls f0, f0, f4 /* 8020D23C 0020A19C C0 44 00 0C */ lfs f2, 0xc(r4) /* 8020D240 0020A1A0 C0 A1 00 1C */ lfs f5, 0x1c(r1) /* 8020D244 0020A1A4 EC 43 10 28 */ fsubs f2, f3, f2 /* 8020D248 0020A1A8 EC 21 01 BA */ fmadds f1, f1, f6, f0 /* 8020D24C 0020A1AC C0 02 B1 C4 */ lfs f0, lbl_805ACEE4@sda21(r2) /* 8020D250 0020A1B0 EC 42 09 7A */ fmadds f2, f2, f5, f1 /* 8020D254 0020A1B4 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8020D258 0020A1B8 40 81 00 64 */ ble lbl_8020D2BC /* 8020D25C 0020A1BC C0 22 B1 D0 */ lfs f1, lbl_805ACEF0@sda21(r2) /* 8020D260 0020A1C0 C0 03 00 04 */ lfs f0, 4(r3) /* 8020D264 0020A1C4 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8020D268 0020A1C8 EC 61 01 B2 */ fmuls f3, f1, f6 /* 8020D26C 0020A1CC EC 41 01 32 */ fmuls f2, f1, f4 /* 8020D270 0020A1D0 EC 21 01 72 */ fmuls f1, f1, f5 /* 8020D274 0020A1D4 EC 00 18 28 */ fsubs f0, f0, f3 /* 8020D278 0020A1D8 D0 03 00 04 */ stfs f0, 4(r3) /* 8020D27C 0020A1DC C0 03 00 08 */ lfs f0, 8(r3) /* 8020D280 0020A1E0 EC 00 10 28 */ fsubs f0, f0, f2 /* 8020D284 0020A1E4 D0 03 00 08 */ stfs f0, 8(r3) /* 8020D288 0020A1E8 C0 03 00 0C */ lfs f0, 0xc(r3) /* 8020D28C 0020A1EC EC 00 08 28 */ fsubs f0, f0, f1 /* 8020D290 0020A1F0 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8020D294 0020A1F4 80 7F 00 10 */ lwz r3, 0x10(r31) /* 8020D298 0020A1F8 C0 03 00 04 */ lfs f0, 4(r3) /* 8020D29C 0020A1FC EC 00 18 2A */ fadds f0, f0, f3 /* 8020D2A0 0020A200 D0 03 00 04 */ stfs f0, 4(r3) /* 8020D2A4 0020A204 C0 03 00 08 */ lfs f0, 8(r3) /* 8020D2A8 0020A208 EC 00 10 2A */ fadds f0, f0, f2 /* 8020D2AC 0020A20C D0 03 00 08 */ stfs f0, 8(r3) /* 8020D2B0 0020A210 C0 03 00 0C */ lfs f0, 0xc(r3) /* 8020D2B4 0020A214 EC 00 08 2A */ fadds f0, f0, f1 /* 8020D2B8 0020A218 D0 03 00 0C */ stfs f0, 0xc(r3) lbl_8020D2BC: /* 8020D2BC 0020A21C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8020D2C0 0020A220 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8020D2C4 0020A224 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 8020D2C8 0020A228 CB C1 00 50 */ lfd f30, 0x50(r1) /* 8020D2CC 0020A22C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 /* 8020D2D0 0020A230 CB A1 00 40 */ lfd f29, 0x40(r1) /* 8020D2D4 0020A234 80 01 00 74 */ lwz r0, 0x74(r1) /* 8020D2D8 0020A238 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8020D2DC 0020A23C 7C 08 03 A6 */ mtlr r0 /* 8020D2E0 0020A240 38 21 00 70 */ addi r1, r1, 0x70 /* 8020D2E4 0020A244 4E 80 00 20 */ blr .global Update__Q28CRagDoll24CRagDollLengthConstraintFv Update__Q28CRagDoll24CRagDollLengthConstraintFv: /* 8020D2E8 0020A248 80 A3 00 00 */ lwz r5, 0(r3) /* 8020D2EC 0020A24C 38 C0 00 01 */ li r6, 1 /* 8020D2F0 0020A250 80 83 00 04 */ lwz r4, 4(r3) /* 8020D2F4 0020A254 C0 05 00 08 */ lfs f0, 8(r5) /* 8020D2F8 0020A258 C0 24 00 08 */ lfs f1, 8(r4) /* 8020D2FC 0020A25C C0 43 00 08 */ lfs f2, 8(r3) /* 8020D300 0020A260 EC 81 00 28 */ fsubs f4, f1, f0 /* 8020D304 0020A264 C0 24 00 04 */ lfs f1, 4(r4) /* 8020D308 0020A268 C0 05 00 04 */ lfs f0, 4(r5) /* 8020D30C 0020A26C EC C2 00 B2 */ fmuls f6, f2, f2 /* 8020D310 0020A270 80 03 00 0C */ lwz r0, 0xc(r3) /* 8020D314 0020A274 EC A1 00 28 */ fsubs f5, f1, f0 /* 8020D318 0020A278 EC 04 01 32 */ fmuls f0, f4, f4 /* 8020D31C 0020A27C C0 44 00 0C */ lfs f2, 0xc(r4) /* 8020D320 0020A280 C0 25 00 0C */ lfs f1, 0xc(r5) /* 8020D324 0020A284 2C 00 00 02 */ cmpwi r0, 2 /* 8020D328 0020A288 EC 62 08 28 */ fsubs f3, f2, f1 /* 8020D32C 0020A28C EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 8020D330 0020A290 EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 8020D334 0020A294 41 82 00 24 */ beq lbl_8020D358 /* 8020D338 0020A298 40 80 00 2C */ bge lbl_8020D364 /* 8020D33C 0020A29C 2C 00 00 01 */ cmpwi r0, 1 /* 8020D340 0020A2A0 40 80 00 08 */ bge lbl_8020D348 /* 8020D344 0020A2A4 48 00 00 20 */ b lbl_8020D364 lbl_8020D348: /* 8020D348 0020A2A8 FC 00 30 40 */ fcmpo cr0, f0, f6 /* 8020D34C 0020A2AC 7C 00 00 26 */ mfcr r0 /* 8020D350 0020A2B0 54 06 0F FE */ srwi r6, r0, 0x1f /* 8020D354 0020A2B4 48 00 00 10 */ b lbl_8020D364 lbl_8020D358: /* 8020D358 0020A2B8 FC 00 30 40 */ fcmpo cr0, f0, f6 /* 8020D35C 0020A2BC 7C 00 00 26 */ mfcr r0 /* 8020D360 0020A2C0 54 06 17 FE */ rlwinm r6, r0, 2, 0x1f, 0x1f lbl_8020D364: /* 8020D364 0020A2C4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 8020D368 0020A2C8 4D 82 00 20 */ beqlr /* 8020D36C 0020A2CC EC 40 30 2A */ fadds f2, f0, f6 /* 8020D370 0020A2D0 C0 22 B1 D0 */ lfs f1, lbl_805ACEF0@sda21(r2) /* 8020D374 0020A2D4 C0 05 00 04 */ lfs f0, 4(r5) /* 8020D378 0020A2D8 EC 46 10 24 */ fdivs f2, f6, f2 /* 8020D37C 0020A2DC EC 22 08 28 */ fsubs f1, f2, f1 /* 8020D380 0020A2E0 EC A1 01 72 */ fmuls f5, f1, f5 /* 8020D384 0020A2E4 EC 41 01 32 */ fmuls f2, f1, f4 /* 8020D388 0020A2E8 EC 21 00 F2 */ fmuls f1, f1, f3 /* 8020D38C 0020A2EC EC 00 28 28 */ fsubs f0, f0, f5 /* 8020D390 0020A2F0 D0 05 00 04 */ stfs f0, 4(r5) /* 8020D394 0020A2F4 C0 05 00 08 */ lfs f0, 8(r5) /* 8020D398 0020A2F8 EC 00 10 28 */ fsubs f0, f0, f2 /* 8020D39C 0020A2FC D0 05 00 08 */ stfs f0, 8(r5) /* 8020D3A0 0020A300 C0 05 00 0C */ lfs f0, 0xc(r5) /* 8020D3A4 0020A304 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020D3A8 0020A308 D0 05 00 0C */ stfs f0, 0xc(r5) /* 8020D3AC 0020A30C C0 04 00 04 */ lfs f0, 4(r4) /* 8020D3B0 0020A310 EC 00 28 2A */ fadds f0, f0, f5 /* 8020D3B4 0020A314 D0 04 00 04 */ stfs f0, 4(r4) /* 8020D3B8 0020A318 C0 04 00 08 */ lfs f0, 8(r4) /* 8020D3BC 0020A31C EC 00 10 2A */ fadds f0, f0, f2 /* 8020D3C0 0020A320 D0 04 00 08 */ stfs f0, 8(r4) /* 8020D3C4 0020A324 C0 04 00 0C */ lfs f0, 0xc(r4) /* 8020D3C8 0020A328 EC 00 08 2A */ fadds f0, f0, f1 /* 8020D3CC 0020A32C D0 04 00 0C */ stfs f0, 0xc(r4) /* 8020D3D0 0020A330 4E 80 00 20 */ blr .global Update__8CRagDollFR13CStateManagerff Update__8CRagDollFR13CStateManagerff: /* 8020D3D4 0020A334 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020D3D8 0020A338 7C 08 02 A6 */ mflr r0 /* 8020D3DC 0020A33C 90 01 00 24 */ stw r0, 0x24(r1) /* 8020D3E0 0020A340 DB E1 00 18 */ stfd f31, 0x18(r1) /* 8020D3E4 0020A344 FF E0 08 90 */ fmr f31, f1 /* 8020D3E8 0020A348 93 E1 00 14 */ stw r31, 0x14(r1) /* 8020D3EC 0020A34C 7C 9F 23 78 */ mr r31, r4 /* 8020D3F0 0020A350 93 C1 00 10 */ stw r30, 0x10(r1) /* 8020D3F4 0020A354 7C 7E 1B 78 */ mr r30, r3 /* 8020D3F8 0020A358 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020D3FC 0020A35C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8020D400 0020A360 41 82 00 10 */ beq lbl_8020D410 /* 8020D404 0020A364 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020D408 0020A368 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8020D40C 0020A36C 41 82 00 3C */ beq lbl_8020D448 lbl_8020D410: /* 8020D410 0020A370 FC 20 F8 90 */ fmr f1, f31 /* 8020D414 0020A374 7F C3 F3 78 */ mr r3, r30 /* 8020D418 0020A378 48 00 0C 01 */ bl AccumulateForces__8CRagDollFff /* 8020D41C 0020A37C FC 20 F8 90 */ fmr f1, f31 /* 8020D420 0020A380 7F C3 F3 78 */ mr r3, r30 /* 8020D424 0020A384 48 00 10 49 */ bl Verlet__8CRagDollFf /* 8020D428 0020A388 7F C3 F3 78 */ mr r3, r30 /* 8020D42C 0020A38C 7F E4 FB 78 */ mr r4, r31 /* 8020D430 0020A390 48 00 02 AD */ bl SatisfyConstraints__8CRagDollFR13CStateManager /* 8020D434 0020A394 7F C3 F3 78 */ mr r3, r30 /* 8020D438 0020A398 48 00 02 55 */ bl ClearForces__8CRagDollFv /* 8020D43C 0020A39C FC 20 F8 90 */ fmr f1, f31 /* 8020D440 0020A3A0 7F C3 F3 78 */ mr r3, r30 /* 8020D444 0020A3A4 48 00 00 21 */ bl CheckStatic__8CRagDollFf lbl_8020D448: /* 8020D448 0020A3A8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020D44C 0020A3AC CB E1 00 18 */ lfd f31, 0x18(r1) /* 8020D450 0020A3B0 83 E1 00 14 */ lwz r31, 0x14(r1) /* 8020D454 0020A3B4 83 C1 00 10 */ lwz r30, 0x10(r1) /* 8020D458 0020A3B8 7C 08 03 A6 */ mtlr r0 /* 8020D45C 0020A3BC 38 21 00 20 */ addi r1, r1, 0x20 /* 8020D460 0020A3C0 4E 80 00 20 */ blr .global CheckStatic__8CRagDollFf CheckStatic__8CRagDollFf: /* 8020D464 0020A3C4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8020D468 0020A3C8 7C 08 02 A6 */ mflr r0 /* 8020D46C 0020A3CC 90 01 00 44 */ stw r0, 0x44(r1) /* 8020D470 0020A3D0 DB E1 00 30 */ stfd f31, 0x30(r1) /* 8020D474 0020A3D4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8020D478 0020A3D8 DB C1 00 20 */ stfd f30, 0x20(r1) /* 8020D47C 0020A3DC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 8020D480 0020A3E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020D484 0020A3E4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020D488 0020A3E8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020D48C 0020A3EC 93 81 00 10 */ stw r28, 0x10(r1) /* 8020D490 0020A3F0 3B A0 00 00 */ li r29, 0 /* 8020D494 0020A3F4 FF C0 08 90 */ fmr f30, f1 /* 8020D498 0020A3F8 93 A3 00 4C */ stw r29, 0x4c(r3) /* 8020D49C 0020A3FC 7C 7E 1B 78 */ mr r30, r3 /* 8020D4A0 0020A400 C0 02 B1 C4 */ lfs f0, lbl_805ACEE4@sda21(r2) /* 8020D4A4 0020A404 3C 60 80 5A */ lis r3, skZero3f@ha /* 8020D4A8 0020A408 C0 22 B1 D0 */ lfs f1, lbl_805ACEF0@sda21(r2) /* 8020D4AC 0020A40C D0 1E 00 54 */ stfs f0, 0x54(r30) /* 8020D4B0 0020A410 3B E0 00 01 */ li r31, 1 /* 8020D4B4 0020A414 EC 21 07 B2 */ fmuls f1, f1, f30 /* 8020D4B8 0020A418 3B 80 00 00 */ li r28, 0 /* 8020D4BC 0020A41C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) /* 8020D4C0 0020A420 D0 1E 00 58 */ stfs f0, 0x58(r30) /* 8020D4C4 0020A424 EF E1 00 72 */ fmuls f31, f1, f1 /* 8020D4C8 0020A428 C0 03 00 04 */ lfs f0, 4(r3) /* 8020D4CC 0020A42C D0 1E 00 5C */ stfs f0, 0x5c(r30) /* 8020D4D0 0020A430 C0 03 00 08 */ lfs f0, 8(r3) /* 8020D4D4 0020A434 D0 1E 00 60 */ stfs f0, 0x60(r30) /* 8020D4D8 0020A438 48 00 00 B0 */ b lbl_8020D588 lbl_8020D4DC: /* 8020D4DC 0020A43C 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8020D4E0 0020A440 C0 1E 00 58 */ lfs f0, 0x58(r30) /* 8020D4E4 0020A444 7C 60 EA 14 */ add r3, r0, r29 /* 8020D4E8 0020A448 C0 43 00 04 */ lfs f2, 4(r3) /* 8020D4EC 0020A44C C0 23 00 14 */ lfs f1, 0x14(r3) /* 8020D4F0 0020A450 C0 83 00 08 */ lfs f4, 8(r3) /* 8020D4F4 0020A454 EC A2 08 28 */ fsubs f5, f2, f1 /* 8020D4F8 0020A458 C0 23 00 18 */ lfs f1, 0x18(r3) /* 8020D4FC 0020A45C C0 63 00 0C */ lfs f3, 0xc(r3) /* 8020D500 0020A460 C0 43 00 1C */ lfs f2, 0x1c(r3) /* 8020D504 0020A464 EC 84 08 28 */ fsubs f4, f4, f1 /* 8020D508 0020A468 EC 20 28 2A */ fadds f1, f0, f5 /* 8020D50C 0020A46C EC 43 10 28 */ fsubs f2, f3, f2 /* 8020D510 0020A470 EC 04 01 32 */ fmuls f0, f4, f4 /* 8020D514 0020A474 D0 3E 00 58 */ stfs f1, 0x58(r30) /* 8020D518 0020A478 C0 3E 00 5C */ lfs f1, 0x5c(r30) /* 8020D51C 0020A47C EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 8020D520 0020A480 EC 21 20 2A */ fadds f1, f1, f4 /* 8020D524 0020A484 EC 02 00 BA */ fmadds f0, f2, f2, f0 /* 8020D528 0020A488 D0 3E 00 5C */ stfs f1, 0x5c(r30) /* 8020D52C 0020A48C FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 8020D530 0020A490 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8020D534 0020A494 EC 00 10 2A */ fadds f0, f0, f2 /* 8020D538 0020A498 D0 1E 00 60 */ stfs f0, 0x60(r30) /* 8020D53C 0020A49C 40 81 00 08 */ ble lbl_8020D544 /* 8020D540 0020A4A0 3B E0 00 00 */ li r31, 0 lbl_8020D544: /* 8020D544 0020A4A4 80 7E 00 10 */ lwz r3, 0x10(r30) /* 8020D548 0020A4A8 38 1D 00 3C */ addi r0, r29, 0x3c /* 8020D54C 0020A4AC 7C 03 00 AE */ lbzx r0, r3, r0 /* 8020D550 0020A4B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020D554 0020A4B4 41 82 00 2C */ beq lbl_8020D580 /* 8020D558 0020A4B8 80 BE 00 4C */ lwz r5, 0x4c(r30) /* 8020D55C 0020A4BC 38 9D 00 38 */ addi r4, r29, 0x38 /* 8020D560 0020A4C0 38 7E 00 54 */ addi r3, r30, 0x54 /* 8020D564 0020A4C4 38 05 00 01 */ addi r0, r5, 1 /* 8020D568 0020A4C8 90 1E 00 4C */ stw r0, 0x4c(r30) /* 8020D56C 0020A4CC 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8020D570 0020A4D0 7C 80 22 14 */ add r4, r0, r4 /* 8020D574 0020A4D4 4B E4 21 BD */ bl "Max__5CMathFRCfRCf" /* 8020D578 0020A4D8 C0 03 00 00 */ lfs f0, 0(r3) /* 8020D57C 0020A4DC D0 1E 00 54 */ stfs f0, 0x54(r30) lbl_8020D580: /* 8020D580 0020A4E0 3B BD 00 40 */ addi r29, r29, 0x40 /* 8020D584 0020A4E4 3B 9C 00 01 */ addi r28, r28, 1 lbl_8020D588: /* 8020D588 0020A4E8 80 1E 00 08 */ lwz r0, 8(r30) /* 8020D58C 0020A4EC 7C 1C 00 00 */ cmpw r28, r0 /* 8020D590 0020A4F0 41 80 FF 4C */ blt lbl_8020D4DC /* 8020D594 0020A4F4 2C 00 00 00 */ cmpwi r0, 0 /* 8020D598 0020A4F8 41 82 00 50 */ beq lbl_8020D5E8 /* 8020D59C 0020A4FC 6C 03 80 00 */ xoris r3, r0, 0x8000 /* 8020D5A0 0020A500 3C 00 43 30 */ lis r0, 0x4330 /* 8020D5A4 0020A504 90 61 00 0C */ stw r3, 0xc(r1) /* 8020D5A8 0020A508 C8 42 B1 D8 */ lfd f2, lbl_805ACEF8@sda21(r2) /* 8020D5AC 0020A50C 90 01 00 08 */ stw r0, 8(r1) /* 8020D5B0 0020A510 C0 62 B1 C0 */ lfs f3, lbl_805ACEE0@sda21(r2) /* 8020D5B4 0020A514 C8 21 00 08 */ lfd f1, 8(r1) /* 8020D5B8 0020A518 C0 1E 00 58 */ lfs f0, 0x58(r30) /* 8020D5BC 0020A51C EC 21 10 28 */ fsubs f1, f1, f2 /* 8020D5C0 0020A520 EC 3E 00 72 */ fmuls f1, f30, f1 /* 8020D5C4 0020A524 EC 23 08 24 */ fdivs f1, f3, f1 /* 8020D5C8 0020A528 EC 00 00 72 */ fmuls f0, f0, f1 /* 8020D5CC 0020A52C D0 1E 00 58 */ stfs f0, 0x58(r30) /* 8020D5D0 0020A530 C0 1E 00 5C */ lfs f0, 0x5c(r30) /* 8020D5D4 0020A534 EC 00 00 72 */ fmuls f0, f0, f1 /* 8020D5D8 0020A538 D0 1E 00 5C */ stfs f0, 0x5c(r30) /* 8020D5DC 0020A53C C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8020D5E0 0020A540 EC 00 00 72 */ fmuls f0, f0, f1 /* 8020D5E4 0020A544 D0 1E 00 60 */ stfs f0, 0x60(r30) lbl_8020D5E8: /* 8020D5E8 0020A548 C0 1E 00 54 */ lfs f0, 0x54(r30) /* 8020D5EC 0020A54C EC 00 F0 24 */ fdivs f0, f0, f30 /* 8020D5F0 0020A550 D0 1E 00 54 */ stfs f0, 0x54(r30) /* 8020D5F4 0020A554 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020D5F8 0020A558 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8020D5FC 0020A55C 40 82 00 34 */ bne lbl_8020D630 /* 8020D600 0020A560 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8020D604 0020A564 C0 02 B1 C4 */ lfs f0, lbl_805ACEE4@sda21(r2) /* 8020D608 0020A568 EC 21 F0 28 */ fsubs f1, f1, f30 /* 8020D60C 0020A56C D0 3E 00 50 */ stfs f1, 0x50(r30) /* 8020D610 0020A570 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8020D614 0020A574 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020D618 0020A578 4C 40 13 82 */ cror 2, 0, 2 /* 8020D61C 0020A57C 40 82 00 14 */ bne lbl_8020D630 /* 8020D620 0020A580 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020D624 0020A584 38 60 00 01 */ li r3, 1 /* 8020D628 0020A588 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8020D62C 0020A58C 98 1E 00 68 */ stb r0, 0x68(r30) lbl_8020D630: /* 8020D630 0020A590 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020D634 0020A594 41 82 00 1C */ beq lbl_8020D650 /* 8020D638 0020A598 88 7E 00 68 */ lbz r3, 0x68(r30) /* 8020D63C 0020A59C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 8020D640 0020A5A0 41 82 00 10 */ beq lbl_8020D650 /* 8020D644 0020A5A4 38 00 00 01 */ li r0, 1 /* 8020D648 0020A5A8 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 /* 8020D64C 0020A5AC 98 7E 00 68 */ stb r3, 0x68(r30) lbl_8020D650: /* 8020D650 0020A5B0 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020D654 0020A5B4 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 /* 8020D658 0020A5B8 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020D65C 0020A5BC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8020D660 0020A5C0 CB E1 00 30 */ lfd f31, 0x30(r1) /* 8020D664 0020A5C4 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 8020D668 0020A5C8 CB C1 00 20 */ lfd f30, 0x20(r1) /* 8020D66C 0020A5CC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020D670 0020A5D0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020D674 0020A5D4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020D678 0020A5D8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8020D67C 0020A5DC 83 81 00 10 */ lwz r28, 0x10(r1) /* 8020D680 0020A5E0 7C 08 03 A6 */ mtlr r0 /* 8020D684 0020A5E4 38 21 00 40 */ addi r1, r1, 0x40 /* 8020D688 0020A5E8 4E 80 00 20 */ blr .global ClearForces__8CRagDollFv ClearForces__8CRagDollFv: /* 8020D68C 0020A5EC 3C 80 80 5A */ lis r4, skZero3f@ha /* 8020D690 0020A5F0 38 E0 00 00 */ li r7, 0 /* 8020D694 0020A5F4 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 8020D698 0020A5F8 38 C0 00 00 */ li r6, 0 /* 8020D69C 0020A5FC 48 00 00 30 */ b lbl_8020D6CC lbl_8020D6A0: /* 8020D6A0 0020A600 80 03 00 10 */ lwz r0, 0x10(r3) /* 8020D6A4 0020A604 38 A6 00 20 */ addi r5, r6, 0x20 /* 8020D6A8 0020A608 C0 04 00 00 */ lfs f0, 0(r4) /* 8020D6AC 0020A60C 38 E7 00 01 */ addi r7, r7, 1 /* 8020D6B0 0020A610 7C A0 2A 14 */ add r5, r0, r5 /* 8020D6B4 0020A614 38 C6 00 40 */ addi r6, r6, 0x40 /* 8020D6B8 0020A618 D0 05 00 00 */ stfs f0, 0(r5) /* 8020D6BC 0020A61C C0 04 00 04 */ lfs f0, 4(r4) /* 8020D6C0 0020A620 D0 05 00 04 */ stfs f0, 4(r5) /* 8020D6C4 0020A624 C0 04 00 08 */ lfs f0, 8(r4) /* 8020D6C8 0020A628 D0 05 00 08 */ stfs f0, 8(r5) lbl_8020D6CC: /* 8020D6CC 0020A62C 80 03 00 08 */ lwz r0, 8(r3) /* 8020D6D0 0020A630 7C 07 00 00 */ cmpw r7, r0 /* 8020D6D4 0020A634 41 80 FF CC */ blt lbl_8020D6A0 .global sub_8020d6d8 sub_8020d6d8: /* 8020D6D8 0020A638 4E 80 00 20 */ blr .global SatisfyConstraints__8CRagDollFR13CStateManager SatisfyConstraints__8CRagDollFR13CStateManager: /* 8020D6DC 0020A63C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020D6E0 0020A640 7C 08 02 A6 */ mflr r0 /* 8020D6E4 0020A644 90 01 00 24 */ stw r0, 0x24(r1) /* 8020D6E8 0020A648 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020D6EC 0020A64C 3B E0 00 00 */ li r31, 0 /* 8020D6F0 0020A650 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020D6F4 0020A654 3B C0 00 00 */ li r30, 0 /* 8020D6F8 0020A658 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020D6FC 0020A65C 7C 9D 23 78 */ mr r29, r4 /* 8020D700 0020A660 93 81 00 10 */ stw r28, 0x10(r1) /* 8020D704 0020A664 7C 7C 1B 78 */ mr r28, r3 /* 8020D708 0020A668 48 00 00 18 */ b lbl_8020D720 lbl_8020D70C: /* 8020D70C 0020A66C 80 1C 00 20 */ lwz r0, 0x20(r28) /* 8020D710 0020A670 7C 60 FA 14 */ add r3, r0, r31 /* 8020D714 0020A674 4B FF FB D5 */ bl Update__Q28CRagDoll24CRagDollLengthConstraintFv /* 8020D718 0020A678 3B FF 00 10 */ addi r31, r31, 0x10 /* 8020D71C 0020A67C 3B DE 00 01 */ addi r30, r30, 1 lbl_8020D720: /* 8020D720 0020A680 80 1C 00 18 */ lwz r0, 0x18(r28) /* 8020D724 0020A684 7C 1E 00 00 */ cmpw r30, r0 /* 8020D728 0020A688 41 80 FF E4 */ blt lbl_8020D70C /* 8020D72C 0020A68C 3B C0 00 00 */ li r30, 0 /* 8020D730 0020A690 7F DF F3 78 */ mr r31, r30 /* 8020D734 0020A694 48 00 00 18 */ b lbl_8020D74C lbl_8020D738: /* 8020D738 0020A698 80 1C 00 30 */ lwz r0, 0x30(r28) /* 8020D73C 0020A69C 7C 60 FA 14 */ add r3, r0, r31 /* 8020D740 0020A6A0 4B FF F9 A5 */ bl Update__Q28CRagDoll23CRagDollJointConstraintFv /* 8020D744 0020A6A4 3B FF 00 18 */ addi r31, r31, 0x18 /* 8020D748 0020A6A8 3B DE 00 01 */ addi r30, r30, 1 lbl_8020D74C: /* 8020D74C 0020A6AC 80 1C 00 28 */ lwz r0, 0x28(r28) /* 8020D750 0020A6B0 7C 1E 00 00 */ cmpw r30, r0 /* 8020D754 0020A6B4 41 80 FF E4 */ blt lbl_8020D738 /* 8020D758 0020A6B8 3B C0 00 00 */ li r30, 0 /* 8020D75C 0020A6BC 7F DF F3 78 */ mr r31, r30 /* 8020D760 0020A6C0 48 00 00 18 */ b lbl_8020D778 lbl_8020D764: /* 8020D764 0020A6C4 80 1C 00 40 */ lwz r0, 0x40(r28) /* 8020D768 0020A6C8 7C 60 FA 14 */ add r3, r0, r31 /* 8020D76C 0020A6CC 4B FF F8 5D */ bl Update__Q28CRagDoll23CRagDollPlaneConstraintFv /* 8020D770 0020A6D0 3B FF 00 14 */ addi r31, r31, 0x14 /* 8020D774 0020A6D4 3B DE 00 01 */ addi r30, r30, 1 lbl_8020D778: /* 8020D778 0020A6D8 80 1C 00 38 */ lwz r0, 0x38(r28) /* 8020D77C 0020A6DC 7C 1E 00 00 */ cmpw r30, r0 /* 8020D780 0020A6E0 41 80 FF E4 */ blt lbl_8020D764 /* 8020D784 0020A6E4 7F 83 E3 78 */ mr r3, r28 /* 8020D788 0020A6E8 7F A4 EB 78 */ mr r4, r29 /* 8020D78C 0020A6EC 38 A0 00 01 */ li r5, 1 /* 8020D790 0020A6F0 48 00 00 3D */ bl SatisfyWorldConstraints__8CRagDollFR13CStateManageri /* 8020D794 0020A6F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020D798 0020A6F8 41 82 00 14 */ beq lbl_8020D7AC /* 8020D79C 0020A6FC 7F 83 E3 78 */ mr r3, r28 /* 8020D7A0 0020A700 7F A4 EB 78 */ mr r4, r29 /* 8020D7A4 0020A704 38 A0 00 02 */ li r5, 2 /* 8020D7A8 0020A708 48 00 00 25 */ bl SatisfyWorldConstraints__8CRagDollFR13CStateManageri lbl_8020D7AC: /* 8020D7AC 0020A70C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020D7B0 0020A710 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020D7B4 0020A714 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020D7B8 0020A718 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020D7BC 0020A71C 83 81 00 10 */ lwz r28, 0x10(r1) /* 8020D7C0 0020A720 7C 08 03 A6 */ mtlr r0 /* 8020D7C4 0020A724 38 21 00 20 */ addi r1, r1, 0x20 /* 8020D7C8 0020A728 4E 80 00 20 */ blr .global SatisfyWorldConstraints__8CRagDollFR13CStateManageri SatisfyWorldConstraints__8CRagDollFR13CStateManageri: /* 8020D7CC 0020A72C 94 21 DA F0 */ stwu r1, -0x2510(r1) /* 8020D7D0 0020A730 7C 08 02 A6 */ mflr r0 /* 8020D7D4 0020A734 90 01 25 14 */ stw r0, 0x2514(r1) /* 8020D7D8 0020A738 38 00 25 08 */ li r0, 0x2508 /* 8020D7DC 0020A73C DB E1 25 00 */ stfd f31, 0x2500(r1) /* 8020D7E0 0020A740 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 8020D7E4 0020A744 38 00 24 F8 */ li r0, 0x24f8 /* 8020D7E8 0020A748 DB C1 24 F0 */ stfd f30, 0x24f0(r1) /* 8020D7EC 0020A74C 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 /* 8020D7F0 0020A750 38 00 24 E8 */ li r0, 0x24e8 /* 8020D7F4 0020A754 DB A1 24 E0 */ stfd f29, 0x24e0(r1) /* 8020D7F8 0020A758 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 /* 8020D7FC 0020A75C 38 00 24 D8 */ li r0, 0x24d8 /* 8020D800 0020A760 DB 81 24 D0 */ stfd f28, 0x24d0(r1) /* 8020D804 0020A764 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 /* 8020D808 0020A768 38 00 24 C8 */ li r0, 0x24c8 /* 8020D80C 0020A76C DB 61 24 C0 */ stfd f27, 0x24c0(r1) /* 8020D810 0020A770 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 /* 8020D814 0020A774 BF 01 24 A0 */ stmw r24, 0x24a0(r1) /* 8020D818 0020A778 3C C0 80 5A */ lis r6, lbl_805A6754@ha /* 8020D81C 0020A77C 7C 7D 1B 78 */ mr r29, r3 /* 8020D820 0020A780 38 66 67 54 */ addi r3, r6, lbl_805A6754@l /* 8020D824 0020A784 7C 9E 23 78 */ mr r30, r4 /* 8020D828 0020A788 C0 A3 00 00 */ lfs f5, 0(r3) /* 8020D82C 0020A78C 7C BF 2B 78 */ mr r31, r5 /* 8020D830 0020A790 C0 83 00 04 */ lfs f4, 4(r3) /* 8020D834 0020A794 3B 60 00 00 */ li r27, 0 /* 8020D838 0020A798 C0 63 00 08 */ lfs f3, 8(r3) /* 8020D83C 0020A79C 3B 80 00 00 */ li r28, 0 /* 8020D840 0020A7A0 C0 43 00 0C */ lfs f2, 0xc(r3) /* 8020D844 0020A7A4 C0 23 00 10 */ lfs f1, 0x10(r3) /* 8020D848 0020A7A8 C0 03 00 14 */ lfs f0, 0x14(r3) /* 8020D84C 0020A7AC D0 A1 00 E0 */ stfs f5, 0xe0(r1) /* 8020D850 0020A7B0 D0 81 00 E4 */ stfs f4, 0xe4(r1) /* 8020D854 0020A7B4 D0 61 00 E8 */ stfs f3, 0xe8(r1) /* 8020D858 0020A7B8 D0 41 00 EC */ stfs f2, 0xec(r1) /* 8020D85C 0020A7BC D0 21 00 F0 */ stfs f1, 0xf0(r1) /* 8020D860 0020A7C0 D0 01 00 F4 */ stfs f0, 0xf4(r1) /* 8020D864 0020A7C4 48 00 01 18 */ b lbl_8020D97C lbl_8020D868: /* 8020D868 0020A7C8 2C 1F 00 01 */ cmpwi r31, 1 /* 8020D86C 0020A7CC 41 82 00 18 */ beq lbl_8020D884 /* 8020D870 0020A7D0 80 7D 00 10 */ lwz r3, 0x10(r29) /* 8020D874 0020A7D4 38 1C 00 3C */ addi r0, r28, 0x3c /* 8020D878 0020A7D8 7C 03 00 AE */ lbzx r0, r3, r0 /* 8020D87C 0020A7DC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020D880 0020A7E0 41 82 00 F4 */ beq lbl_8020D974 lbl_8020D884: /* 8020D884 0020A7E4 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020D888 0020A7E8 38 61 00 E0 */ addi r3, r1, 0xe0 /* 8020D88C 0020A7EC 38 81 00 78 */ addi r4, r1, 0x78 /* 8020D890 0020A7F0 7C A0 E2 14 */ add r5, r0, r28 /* 8020D894 0020A7F4 C3 E5 00 10 */ lfs f31, 0x10(r5) /* 8020D898 0020A7F8 C0 45 00 18 */ lfs f2, 0x18(r5) /* 8020D89C 0020A7FC C0 25 00 1C */ lfs f1, 0x1c(r5) /* 8020D8A0 0020A800 C0 05 00 14 */ lfs f0, 0x14(r5) /* 8020D8A4 0020A804 EC 42 F8 28 */ fsubs f2, f2, f31 /* 8020D8A8 0020A808 EC 21 F8 28 */ fsubs f1, f1, f31 /* 8020D8AC 0020A80C EC 00 F8 28 */ fsubs f0, f0, f31 /* 8020D8B0 0020A810 D0 41 00 7C */ stfs f2, 0x7c(r1) /* 8020D8B4 0020A814 D0 01 00 78 */ stfs f0, 0x78(r1) /* 8020D8B8 0020A818 D0 21 00 80 */ stfs f1, 0x80(r1) /* 8020D8BC 0020A81C 48 12 A2 4D */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8020D8C0 0020A820 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020D8C4 0020A824 38 BC 00 14 */ addi r5, r28, 0x14 /* 8020D8C8 0020A828 38 61 00 E0 */ addi r3, r1, 0xe0 /* 8020D8CC 0020A82C 38 81 00 6C */ addi r4, r1, 0x6c /* 8020D8D0 0020A830 7C A0 2A 14 */ add r5, r0, r5 /* 8020D8D4 0020A834 C0 45 00 04 */ lfs f2, 4(r5) /* 8020D8D8 0020A838 C0 25 00 08 */ lfs f1, 8(r5) /* 8020D8DC 0020A83C C0 05 00 00 */ lfs f0, 0(r5) /* 8020D8E0 0020A840 EC 42 F8 2A */ fadds f2, f2, f31 /* 8020D8E4 0020A844 EC 21 F8 2A */ fadds f1, f1, f31 /* 8020D8E8 0020A848 EC 00 F8 2A */ fadds f0, f0, f31 /* 8020D8EC 0020A84C D0 41 00 70 */ stfs f2, 0x70(r1) /* 8020D8F0 0020A850 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8020D8F4 0020A854 D0 21 00 74 */ stfs f1, 0x74(r1) /* 8020D8F8 0020A858 48 12 A2 11 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8020D8FC 0020A85C 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020D900 0020A860 38 BC 00 04 */ addi r5, r28, 4 /* 8020D904 0020A864 38 61 00 E0 */ addi r3, r1, 0xe0 /* 8020D908 0020A868 38 81 00 60 */ addi r4, r1, 0x60 /* 8020D90C 0020A86C 7C A0 2A 14 */ add r5, r0, r5 /* 8020D910 0020A870 C0 45 00 04 */ lfs f2, 4(r5) /* 8020D914 0020A874 C0 25 00 08 */ lfs f1, 8(r5) /* 8020D918 0020A878 C0 05 00 00 */ lfs f0, 0(r5) /* 8020D91C 0020A87C EC 42 F8 28 */ fsubs f2, f2, f31 /* 8020D920 0020A880 EC 21 F8 28 */ fsubs f1, f1, f31 /* 8020D924 0020A884 EC 00 F8 28 */ fsubs f0, f0, f31 /* 8020D928 0020A888 D0 41 00 64 */ stfs f2, 0x64(r1) /* 8020D92C 0020A88C D0 01 00 60 */ stfs f0, 0x60(r1) /* 8020D930 0020A890 D0 21 00 68 */ stfs f1, 0x68(r1) /* 8020D934 0020A894 48 12 A1 D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8020D938 0020A898 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020D93C 0020A89C 38 BC 00 04 */ addi r5, r28, 4 /* 8020D940 0020A8A0 38 61 00 E0 */ addi r3, r1, 0xe0 /* 8020D944 0020A8A4 38 81 00 54 */ addi r4, r1, 0x54 /* 8020D948 0020A8A8 7C A0 2A 14 */ add r5, r0, r5 /* 8020D94C 0020A8AC C0 45 00 04 */ lfs f2, 4(r5) /* 8020D950 0020A8B0 C0 25 00 08 */ lfs f1, 8(r5) /* 8020D954 0020A8B4 C0 05 00 00 */ lfs f0, 0(r5) /* 8020D958 0020A8B8 EC 42 F8 2A */ fadds f2, f2, f31 /* 8020D95C 0020A8BC EC 21 F8 2A */ fadds f1, f1, f31 /* 8020D960 0020A8C0 EC 00 F8 2A */ fadds f0, f0, f31 /* 8020D964 0020A8C4 D0 41 00 58 */ stfs f2, 0x58(r1) /* 8020D968 0020A8C8 D0 01 00 54 */ stfs f0, 0x54(r1) /* 8020D96C 0020A8CC D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8020D970 0020A8D0 48 12 A1 99 */ bl AccumulateBounds__6CAABoxFRC9CVector3f lbl_8020D974: /* 8020D974 0020A8D4 3B 9C 00 40 */ addi r28, r28, 0x40 /* 8020D978 0020A8D8 3B 7B 00 01 */ addi r27, r27, 1 lbl_8020D97C: /* 8020D97C 0020A8DC 80 1D 00 08 */ lwz r0, 8(r29) /* 8020D980 0020A8E0 7C 1B 00 00 */ cmpw r27, r0 /* 8020D984 0020A8E4 41 80 FE E4 */ blt lbl_8020D868 /* 8020D988 0020A8E8 38 61 09 5C */ addi r3, r1, 0x95c /* 8020D98C 0020A8EC 38 81 00 E0 */ addi r4, r1, 0xe0 /* 8020D990 0020A8F0 48 09 61 01 */ bl __ct__19CAreaCollisionCacheFRC6CAABox /* 8020D994 0020A8F4 7F C3 F3 78 */ mr r3, r30 /* 8020D998 0020A8F8 38 81 09 5C */ addi r4, r1, 0x95c /* 8020D99C 0020A8FC 4B F7 6D 29 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache /* 8020D9A0 0020A900 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8020D9A4 0020A904 3B 60 00 00 */ li r27, 0 /* 8020D9A8 0020A908 B0 01 00 10 */ sth r0, 0x10(r1) /* 8020D9AC 0020A90C 88 1D 00 68 */ lbz r0, 0x68(r29) /* 8020D9B0 0020A910 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 8020D9B4 0020A914 41 82 00 40 */ beq lbl_8020D9F4 /* 8020D9B8 0020A918 38 00 00 00 */ li r0, 0 /* 8020D9BC 0020A91C 80 AD 93 F8 */ lwz r5, lbl_805A7FB8@sda21(r13) /* 8020D9C0 0020A920 90 01 00 34 */ stw r0, 0x34(r1) /* 8020D9C4 0020A924 38 60 00 00 */ li r3, 0 /* 8020D9C8 0020A928 38 80 00 01 */ li r4, 1 /* 8020D9CC 0020A92C 90 01 00 30 */ stw r0, 0x30(r1) /* 8020D9D0 0020A930 48 17 C5 25 */ bl __shl2i /* 8020D9D4 0020A934 80 01 00 30 */ lwz r0, 0x30(r1) /* 8020D9D8 0020A938 38 C1 00 30 */ addi r6, r1, 0x30 /* 8020D9DC 0020A93C 80 A1 00 34 */ lwz r5, 0x34(r1) /* 8020D9E0 0020A940 7C 00 1B 78 */ or r0, r0, r3 /* 8020D9E4 0020A944 7C A3 23 78 */ or r3, r5, r4 /* 8020D9E8 0020A948 90 01 00 30 */ stw r0, 0x30(r1) /* 8020D9EC 0020A94C 90 61 00 34 */ stw r3, 0x34(r1) /* 8020D9F0 0020A950 48 00 00 64 */ b lbl_8020DA54 lbl_8020D9F4: /* 8020D9F4 0020A954 38 00 00 00 */ li r0, 0 /* 8020D9F8 0020A958 80 AD 93 FC */ lwz r5, lbl_805A7FBC@sda21(r13) /* 8020D9FC 0020A95C 90 01 00 2C */ stw r0, 0x2c(r1) /* 8020DA00 0020A960 38 60 00 00 */ li r3, 0 /* 8020DA04 0020A964 38 80 00 01 */ li r4, 1 /* 8020DA08 0020A968 90 01 00 28 */ stw r0, 0x28(r1) /* 8020DA0C 0020A96C 48 17 C4 E9 */ bl __shl2i /* 8020DA10 0020A970 80 01 00 28 */ lwz r0, 0x28(r1) /* 8020DA14 0020A974 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 8020DA18 0020A978 7C 00 1B 78 */ or r0, r0, r3 /* 8020DA1C 0020A97C 80 AD 94 00 */ lwz r5, lbl_805A7FC0@sda21(r13) /* 8020DA20 0020A980 7C C4 23 78 */ or r4, r6, r4 /* 8020DA24 0020A984 90 01 00 28 */ stw r0, 0x28(r1) /* 8020DA28 0020A988 38 60 00 00 */ li r3, 0 /* 8020DA2C 0020A98C 90 81 00 2C */ stw r4, 0x2c(r1) /* 8020DA30 0020A990 38 80 00 01 */ li r4, 1 /* 8020DA34 0020A994 48 17 C4 C1 */ bl __shl2i /* 8020DA38 0020A998 80 01 00 28 */ lwz r0, 0x28(r1) /* 8020DA3C 0020A99C 38 C1 00 28 */ addi r6, r1, 0x28 /* 8020DA40 0020A9A0 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 8020DA44 0020A9A4 7C 00 1B 78 */ or r0, r0, r3 /* 8020DA48 0020A9A8 7C A3 23 78 */ or r3, r5, r4 /* 8020DA4C 0020A9AC 90 01 00 28 */ stw r0, 0x28(r1) /* 8020DA50 0020A9B0 90 61 00 2C */ stw r3, 0x2c(r1) lbl_8020DA54: /* 8020DA54 0020A9B4 80 06 00 00 */ lwz r0, 0(r6) /* 8020DA58 0020A9B8 80 66 00 04 */ lwz r3, 4(r6) /* 8020DA5C 0020A9BC 90 61 00 44 */ stw r3, 0x44(r1) /* 8020DA60 0020A9C0 90 01 00 40 */ stw r0, 0x40(r1) /* 8020DA64 0020A9C4 88 1D 00 68 */ lbz r0, 0x68(r29) /* 8020DA68 0020A9C8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 8020DA6C 0020A9CC 41 82 00 B8 */ beq lbl_8020DB24 /* 8020DA70 0020A9D0 38 00 00 00 */ li r0, 0 /* 8020DA74 0020A9D4 80 AD 94 04 */ lwz r5, lbl_805A7FC4@sda21(r13) /* 8020DA78 0020A9D8 90 01 00 24 */ stw r0, 0x24(r1) /* 8020DA7C 0020A9DC 38 60 00 00 */ li r3, 0 /* 8020DA80 0020A9E0 38 80 00 01 */ li r4, 1 /* 8020DA84 0020A9E4 90 01 00 20 */ stw r0, 0x20(r1) /* 8020DA88 0020A9E8 48 17 C4 6D */ bl __shl2i /* 8020DA8C 0020A9EC 80 01 00 20 */ lwz r0, 0x20(r1) /* 8020DA90 0020A9F0 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8020DA94 0020A9F4 7C 00 1B 78 */ or r0, r0, r3 /* 8020DA98 0020A9F8 80 AD 94 08 */ lwz r5, lbl_805A7FC8@sda21(r13) /* 8020DA9C 0020A9FC 7C C4 23 78 */ or r4, r6, r4 /* 8020DAA0 0020AA00 90 01 00 20 */ stw r0, 0x20(r1) /* 8020DAA4 0020AA04 38 60 00 00 */ li r3, 0 /* 8020DAA8 0020AA08 90 81 00 24 */ stw r4, 0x24(r1) /* 8020DAAC 0020AA0C 38 80 00 01 */ li r4, 1 /* 8020DAB0 0020AA10 48 17 C4 45 */ bl __shl2i /* 8020DAB4 0020AA14 80 01 00 20 */ lwz r0, 0x20(r1) /* 8020DAB8 0020AA18 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8020DABC 0020AA1C 7C 00 1B 78 */ or r0, r0, r3 /* 8020DAC0 0020AA20 80 AD 94 0C */ lwz r5, lbl_805A7FCC@sda21(r13) /* 8020DAC4 0020AA24 7C C4 23 78 */ or r4, r6, r4 /* 8020DAC8 0020AA28 90 01 00 20 */ stw r0, 0x20(r1) /* 8020DACC 0020AA2C 38 60 00 00 */ li r3, 0 /* 8020DAD0 0020AA30 90 81 00 24 */ stw r4, 0x24(r1) /* 8020DAD4 0020AA34 38 80 00 01 */ li r4, 1 /* 8020DAD8 0020AA38 48 17 C4 1D */ bl __shl2i /* 8020DADC 0020AA3C 80 01 00 20 */ lwz r0, 0x20(r1) /* 8020DAE0 0020AA40 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8020DAE4 0020AA44 7C 00 1B 78 */ or r0, r0, r3 /* 8020DAE8 0020AA48 80 AD 94 10 */ lwz r5, lbl_805A7FD0@sda21(r13) /* 8020DAEC 0020AA4C 7C C4 23 78 */ or r4, r6, r4 /* 8020DAF0 0020AA50 90 01 00 20 */ stw r0, 0x20(r1) /* 8020DAF4 0020AA54 38 60 00 00 */ li r3, 0 /* 8020DAF8 0020AA58 90 81 00 24 */ stw r4, 0x24(r1) /* 8020DAFC 0020AA5C 38 80 00 01 */ li r4, 1 /* 8020DB00 0020AA60 48 17 C3 F5 */ bl __shl2i /* 8020DB04 0020AA64 80 01 00 20 */ lwz r0, 0x20(r1) /* 8020DB08 0020AA68 38 C1 00 20 */ addi r6, r1, 0x20 /* 8020DB0C 0020AA6C 80 A1 00 24 */ lwz r5, 0x24(r1) /* 8020DB10 0020AA70 7C 00 1B 78 */ or r0, r0, r3 /* 8020DB14 0020AA74 7C A3 23 78 */ or r3, r5, r4 /* 8020DB18 0020AA78 90 01 00 20 */ stw r0, 0x20(r1) /* 8020DB1C 0020AA7C 90 61 00 24 */ stw r3, 0x24(r1) /* 8020DB20 0020AA80 48 00 00 64 */ b lbl_8020DB84 lbl_8020DB24: /* 8020DB24 0020AA84 38 00 00 00 */ li r0, 0 /* 8020DB28 0020AA88 80 AD 94 14 */ lwz r5, lbl_805A7FD4@sda21(r13) /* 8020DB2C 0020AA8C 90 01 00 1C */ stw r0, 0x1c(r1) /* 8020DB30 0020AA90 38 60 00 00 */ li r3, 0 /* 8020DB34 0020AA94 38 80 00 01 */ li r4, 1 /* 8020DB38 0020AA98 90 01 00 18 */ stw r0, 0x18(r1) /* 8020DB3C 0020AA9C 48 17 C3 B9 */ bl __shl2i /* 8020DB40 0020AAA0 80 01 00 18 */ lwz r0, 0x18(r1) /* 8020DB44 0020AAA4 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 8020DB48 0020AAA8 7C 00 1B 78 */ or r0, r0, r3 /* 8020DB4C 0020AAAC 80 AD 94 18 */ lwz r5, lbl_805A7FD8@sda21(r13) /* 8020DB50 0020AAB0 7C C4 23 78 */ or r4, r6, r4 /* 8020DB54 0020AAB4 90 01 00 18 */ stw r0, 0x18(r1) /* 8020DB58 0020AAB8 38 60 00 00 */ li r3, 0 /* 8020DB5C 0020AABC 90 81 00 1C */ stw r4, 0x1c(r1) /* 8020DB60 0020AAC0 38 80 00 01 */ li r4, 1 /* 8020DB64 0020AAC4 48 17 C3 91 */ bl __shl2i /* 8020DB68 0020AAC8 80 01 00 18 */ lwz r0, 0x18(r1) /* 8020DB6C 0020AACC 38 C1 00 18 */ addi r6, r1, 0x18 /* 8020DB70 0020AAD0 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8020DB74 0020AAD4 7C 00 1B 78 */ or r0, r0, r3 /* 8020DB78 0020AAD8 7C A3 23 78 */ or r3, r5, r4 /* 8020DB7C 0020AADC 90 01 00 18 */ stw r0, 0x18(r1) /* 8020DB80 0020AAE0 90 61 00 1C */ stw r3, 0x1c(r1) lbl_8020DB84: /* 8020DB84 0020AAE4 81 66 00 00 */ lwz r11, 0(r6) /* 8020DB88 0020AAE8 39 40 00 03 */ li r10, 3 /* 8020DB8C 0020AAEC 81 86 00 04 */ lwz r12, 4(r6) /* 8020DB90 0020AAF0 38 00 00 00 */ li r0, 0 /* 8020DB94 0020AAF4 81 01 00 40 */ lwz r8, 0x40(r1) /* 8020DB98 0020AAF8 7F C3 F3 78 */ mr r3, r30 /* 8020DB9C 0020AAFC 81 21 00 44 */ lwz r9, 0x44(r1) /* 8020DBA0 0020AB00 38 81 01 58 */ addi r4, r1, 0x158 /* 8020DBA4 0020AB04 91 41 00 C0 */ stw r10, 0xc0(r1) /* 8020DBA8 0020AB08 38 A1 00 E0 */ addi r5, r1, 0xe0 /* 8020DBAC 0020AB0C 38 C1 00 C8 */ addi r6, r1, 0xc8 /* 8020DBB0 0020AB10 38 E0 00 00 */ li r7, 0 /* 8020DBB4 0020AB14 91 21 00 CC */ stw r9, 0xcc(r1) /* 8020DBB8 0020AB18 91 01 00 C8 */ stw r8, 0xc8(r1) /* 8020DBBC 0020AB1C 91 81 00 D4 */ stw r12, 0xd4(r1) /* 8020DBC0 0020AB20 91 61 00 D0 */ stw r11, 0xd0(r1) /* 8020DBC4 0020AB24 91 41 00 D8 */ stw r10, 0xd8(r1) /* 8020DBC8 0020AB28 90 01 01 58 */ stw r0, 0x158(r1) /* 8020DBCC 0020AB2C 4B E3 EB 55 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 8020DBD0 0020AB30 3B 40 00 00 */ li r26, 0 /* 8020DBD4 0020AB34 3B 80 00 00 */ li r28, 0 /* 8020DBD8 0020AB38 48 00 02 F8 */ b lbl_8020DED0 lbl_8020DBDC: /* 8020DBDC 0020AB3C 2C 1F 00 01 */ cmpwi r31, 1 /* 8020DBE0 0020AB40 41 82 00 18 */ beq lbl_8020DBF8 /* 8020DBE4 0020AB44 80 7D 00 10 */ lwz r3, 0x10(r29) /* 8020DBE8 0020AB48 38 1C 00 3C */ addi r0, r28, 0x3c /* 8020DBEC 0020AB4C 7C 03 00 AE */ lbzx r0, r3, r0 /* 8020DBF0 0020AB50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020DBF4 0020AB54 41 82 02 D4 */ beq lbl_8020DEC8 lbl_8020DBF8: /* 8020DBF8 0020AB58 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020DBFC 0020AB5C 38 61 00 84 */ addi r3, r1, 0x84 /* 8020DC00 0020AB60 7C 80 E2 14 */ add r4, r0, r28 /* 8020DC04 0020AB64 C0 24 00 08 */ lfs f1, 8(r4) /* 8020DC08 0020AB68 C0 04 00 18 */ lfs f0, 0x18(r4) /* 8020DC0C 0020AB6C C0 64 00 0C */ lfs f3, 0xc(r4) /* 8020DC10 0020AB70 C0 44 00 1C */ lfs f2, 0x1c(r4) /* 8020DC14 0020AB74 EC 81 00 28 */ fsubs f4, f1, f0 /* 8020DC18 0020AB78 C0 24 00 04 */ lfs f1, 4(r4) /* 8020DC1C 0020AB7C C0 04 00 14 */ lfs f0, 0x14(r4) /* 8020DC20 0020AB80 EC 43 10 28 */ fsubs f2, f3, f2 /* 8020DC24 0020AB84 EC 01 00 28 */ fsubs f0, f1, f0 /* 8020DC28 0020AB88 D0 81 00 88 */ stfs f4, 0x88(r1) /* 8020DC2C 0020AB8C D0 41 00 8C */ stfs f2, 0x8c(r1) /* 8020DC30 0020AB90 D0 01 00 84 */ stfs f0, 0x84(r1) /* 8020DC34 0020AB94 48 10 6C 85 */ bl Magnitude__9CVector3fCFv /* 8020DC38 0020AB98 FF E0 08 90 */ fmr f31, f1 /* 8020DC3C 0020AB9C C0 02 B1 E0 */ lfs f0, lbl_805ACF00@sda21(r2) /* 8020DC40 0020ABA0 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8020DC44 0020ABA4 40 81 02 58 */ ble lbl_8020DE9C /* 8020DC48 0020ABA8 C0 02 B1 C0 */ lfs f0, lbl_805ACEE0@sda21(r2) /* 8020DC4C 0020ABAC 38 61 00 F8 */ addi r3, r1, 0xf8 /* 8020DC50 0020ABB0 C0 41 00 84 */ lfs f2, 0x84(r1) /* 8020DC54 0020ABB4 38 80 00 00 */ li r4, 0 /* 8020DC58 0020ABB8 EC 60 F8 24 */ fdivs f3, f0, f31 /* 8020DC5C 0020ABBC C0 21 00 88 */ lfs f1, 0x88(r1) /* 8020DC60 0020ABC0 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 8020DC64 0020ABC4 EC 42 00 F2 */ fmuls f2, f2, f3 /* 8020DC68 0020ABC8 EC 21 00 F2 */ fmuls f1, f1, f3 /* 8020DC6C 0020ABCC EC 00 00 F2 */ fmuls f0, f0, f3 /* 8020DC70 0020ABD0 D0 41 00 84 */ stfs f2, 0x84(r1) /* 8020DC74 0020ABD4 D0 21 00 88 */ stfs f1, 0x88(r1) /* 8020DC78 0020ABD8 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 8020DC7C 0020ABDC 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020DC80 0020ABE0 7C A0 E2 14 */ add r5, r0, r28 /* 8020DC84 0020ABE4 C3 C5 00 14 */ lfs f30, 0x14(r5) /* 8020DC88 0020ABE8 C3 A5 00 18 */ lfs f29, 0x18(r5) /* 8020DC8C 0020ABEC C3 85 00 1C */ lfs f28, 0x1c(r5) /* 8020DC90 0020ABF0 C3 65 00 10 */ lfs f27, 0x10(r5) /* 8020DC94 0020ABF4 DB E1 00 38 */ stfd f31, 0x38(r1) /* 8020DC98 0020ABF8 48 0C 04 F1 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid /* 8020DC9C 0020ABFC 38 61 00 90 */ addi r3, r1, 0x90 /* 8020DCA0 0020AC00 38 81 00 40 */ addi r4, r1, 0x40 /* 8020DCA4 0020AC04 48 0C 1C 11 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 8020DCA8 0020AC08 83 01 00 84 */ lwz r24, 0x84(r1) /* 8020DCAC 0020AC0C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha /* 8020DCB0 0020AC10 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l /* 8020DCB4 0020AC14 83 21 00 88 */ lwz r25, 0x88(r1) /* 8020DCB8 0020AC18 81 81 00 8C */ lwz r12, 0x8c(r1) /* 8020DCBC 0020AC1C 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8020DCC0 0020AC20 90 01 00 90 */ stw r0, 0x90(r1) /* 8020DCC4 0020AC24 39 61 00 F8 */ addi r11, r1, 0xf8 /* 8020DCC8 0020AC28 38 C3 66 70 */ addi r6, r3, skIdentity4f@l /* 8020DCCC 0020AC2C 38 01 00 38 */ addi r0, r1, 0x38 /* 8020DCD0 0020AC30 D3 C1 00 A0 */ stfs f30, 0xa0(r1) /* 8020DCD4 0020AC34 7F C3 F3 78 */ mr r3, r30 /* 8020DCD8 0020AC38 38 81 09 5C */ addi r4, r1, 0x95c /* 8020DCDC 0020AC3C 38 A1 00 90 */ addi r5, r1, 0x90 /* 8020DCE0 0020AC40 D3 A1 00 A4 */ stfs f29, 0xa4(r1) /* 8020DCE4 0020AC44 38 E1 00 C8 */ addi r7, r1, 0xc8 /* 8020DCE8 0020AC48 39 01 01 58 */ addi r8, r1, 0x158 /* 8020DCEC 0020AC4C 39 21 00 48 */ addi r9, r1, 0x48 /* 8020DCF0 0020AC50 D3 81 00 A8 */ stfs f28, 0xa8(r1) /* 8020DCF4 0020AC54 39 41 00 10 */ addi r10, r1, 0x10 /* 8020DCF8 0020AC58 D3 61 00 AC */ stfs f27, 0xac(r1) /* 8020DCFC 0020AC5C 93 01 00 48 */ stw r24, 0x48(r1) /* 8020DD00 0020AC60 93 21 00 4C */ stw r25, 0x4c(r1) /* 8020DD04 0020AC64 91 81 00 50 */ stw r12, 0x50(r1) /* 8020DD08 0020AC68 91 61 00 08 */ stw r11, 8(r1) /* 8020DD0C 0020AC6C 90 01 00 0C */ stw r0, 0xc(r1) /* 8020DD10 0020AC70 4B F7 65 DD */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd" /* 8020DD14 0020AC74 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha /* 8020DD18 0020AC78 88 01 01 28 */ lbz r0, 0x128(r1) /* 8020DD1C 0020AC7C 38 83 CA F8 */ addi r4, r3, lbl_803ECAF8@l /* 8020DD20 0020AC80 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 8020DD24 0020AC84 90 81 00 90 */ stw r4, 0x90(r1) /* 8020DD28 0020AC88 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 8020DD2C 0020AC8C 28 00 00 00 */ cmplwi r0, 0 /* 8020DD30 0020AC90 90 61 00 90 */ stw r3, 0x90(r1) /* 8020DD34 0020AC94 41 82 01 94 */ beq lbl_8020DEC8 /* 8020DD38 0020AC98 2C 1F 00 02 */ cmpwi r31, 2 /* 8020DD3C 0020AC9C 3B 60 00 01 */ li r27, 1 /* 8020DD40 0020ACA0 41 82 01 04 */ beq lbl_8020DE44 /* 8020DD44 0020ACA4 40 80 01 84 */ bge lbl_8020DEC8 /* 8020DD48 0020ACA8 2C 1F 00 01 */ cmpwi r31, 1 /* 8020DD4C 0020ACAC 40 80 00 08 */ bge lbl_8020DD54 /* 8020DD50 0020ACB0 48 00 01 78 */ b lbl_8020DEC8 lbl_8020DD54: /* 8020DD54 0020ACB4 80 BD 00 10 */ lwz r5, 0x10(r29) /* 8020DD58 0020ACB8 38 9C 00 3C */ addi r4, r28, 0x3c /* 8020DD5C 0020ACBC 38 00 00 01 */ li r0, 1 /* 8020DD60 0020ACC0 C0 02 B1 E4 */ lfs f0, lbl_805ACF04@sda21(r2) /* 8020DD64 0020ACC4 7C 65 20 AE */ lbzx r3, r5, r4 /* 8020DD68 0020ACC8 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 /* 8020DD6C 0020ACCC 38 1C 00 38 */ addi r0, r28, 0x38 /* 8020DD70 0020ACD0 38 DC 00 2C */ addi r6, r28, 0x2c /* 8020DD74 0020ACD4 7C 65 21 AE */ stbx r3, r5, r4 /* 8020DD78 0020ACD8 38 9C 00 04 */ addi r4, r28, 4 /* 8020DD7C 0020ACDC C0 A2 B1 E0 */ lfs f5, lbl_805ACF00@sda21(r2) /* 8020DD80 0020ACE0 C0 41 00 88 */ lfs f2, 0x88(r1) /* 8020DD84 0020ACE4 C0 21 01 44 */ lfs f1, 0x144(r1) /* 8020DD88 0020ACE8 C0 61 00 84 */ lfs f3, 0x84(r1) /* 8020DD8C 0020ACEC EC 22 00 72 */ fmuls f1, f2, f1 /* 8020DD90 0020ACF0 C0 41 01 40 */ lfs f2, 0x140(r1) /* 8020DD94 0020ACF4 C0 C1 00 8C */ lfs f6, 0x8c(r1) /* 8020DD98 0020ACF8 C0 81 01 48 */ lfs f4, 0x148(r1) /* 8020DD9C 0020ACFC EC 23 08 BA */ fmadds f1, f3, f2, f1 /* 8020DDA0 0020AD00 80 7D 00 10 */ lwz r3, 0x10(r29) /* 8020DDA4 0020AD04 EC 86 09 3A */ fmadds f4, f6, f4, f1 /* 8020DDA8 0020AD08 FC 20 20 50 */ fneg f1, f4 /* 8020DDAC 0020AD0C EC 00 01 32 */ fmuls f0, f0, f4 /* 8020DDB0 0020AD10 EC 21 07 F2 */ fmuls f1, f1, f31 /* 8020DDB4 0020AD14 EC 7F 00 32 */ fmuls f3, f31, f0 /* 8020DDB8 0020AD18 7C 23 05 2E */ stfsx f1, r3, r0 /* 8020DDBC 0020AD1C C0 01 01 40 */ lfs f0, 0x140(r1) /* 8020DDC0 0020AD20 C0 21 01 44 */ lfs f1, 0x144(r1) /* 8020DDC4 0020AD24 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020DDC8 0020AD28 EC 43 00 32 */ fmuls f2, f3, f0 /* 8020DDCC 0020AD2C C0 01 01 48 */ lfs f0, 0x148(r1) /* 8020DDD0 0020AD30 EC 23 00 72 */ fmuls f1, f3, f1 /* 8020DDD4 0020AD34 7C C0 32 14 */ add r6, r0, r6 /* 8020DDD8 0020AD38 D0 46 00 00 */ stfs f2, 0(r6) /* 8020DDDC 0020AD3C EC 03 00 32 */ fmuls f0, f3, f0 /* 8020DDE0 0020AD40 D0 26 00 04 */ stfs f1, 4(r6) /* 8020DDE4 0020AD44 D0 06 00 08 */ stfs f0, 8(r6) /* 8020DDE8 0020AD48 C8 01 00 38 */ lfd f0, 0x38(r1) /* 8020DDEC 0020AD4C 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020DDF0 0020AD50 FC 20 00 18 */ frsp f1, f0 /* 8020DDF4 0020AD54 C0 61 01 40 */ lfs f3, 0x140(r1) /* 8020DDF8 0020AD58 7C 80 22 14 */ add r4, r0, r4 /* 8020DDFC 0020AD5C C0 41 01 44 */ lfs f2, 0x144(r1) /* 8020DE00 0020AD60 C0 04 00 00 */ lfs f0, 0(r4) /* 8020DE04 0020AD64 EC DF 08 28 */ fsubs f6, f31, f1 /* 8020DE08 0020AD68 C0 21 01 48 */ lfs f1, 0x148(r1) /* 8020DE0C 0020AD6C EC 86 01 32 */ fmuls f4, f6, f4 /* 8020DE10 0020AD70 EC 85 20 28 */ fsubs f4, f5, f4 /* 8020DE14 0020AD74 EC 64 00 F2 */ fmuls f3, f4, f3 /* 8020DE18 0020AD78 EC 44 00 B2 */ fmuls f2, f4, f2 /* 8020DE1C 0020AD7C EC 24 00 72 */ fmuls f1, f4, f1 /* 8020DE20 0020AD80 EC 00 18 2A */ fadds f0, f0, f3 /* 8020DE24 0020AD84 D0 04 00 00 */ stfs f0, 0(r4) /* 8020DE28 0020AD88 C0 04 00 04 */ lfs f0, 4(r4) /* 8020DE2C 0020AD8C EC 00 10 2A */ fadds f0, f0, f2 /* 8020DE30 0020AD90 D0 04 00 04 */ stfs f0, 4(r4) /* 8020DE34 0020AD94 C0 04 00 08 */ lfs f0, 8(r4) /* 8020DE38 0020AD98 EC 00 08 2A */ fadds f0, f0, f1 /* 8020DE3C 0020AD9C D0 04 00 08 */ stfs f0, 8(r4) /* 8020DE40 0020ADA0 48 00 00 88 */ b lbl_8020DEC8 lbl_8020DE44: /* 8020DE44 0020ADA4 C8 21 00 38 */ lfd f1, 0x38(r1) /* 8020DE48 0020ADA8 C8 02 B1 E8 */ lfd f0, lbl_805ACF08@sda21(r2) /* 8020DE4C 0020ADAC 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020DE50 0020ADB0 FC C1 00 28 */ fsub f6, f1, f0 /* 8020DE54 0020ADB4 C0 01 00 84 */ lfs f0, 0x84(r1) /* 8020DE58 0020ADB8 7C 60 E2 14 */ add r3, r0, r28 /* 8020DE5C 0020ADBC C0 81 00 88 */ lfs f4, 0x88(r1) /* 8020DE60 0020ADC0 C0 23 00 14 */ lfs f1, 0x14(r3) /* 8020DE64 0020ADC4 FC C0 30 18 */ frsp f6, f6 /* 8020DE68 0020ADC8 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 8020DE6C 0020ADCC C0 A3 00 18 */ lfs f5, 0x18(r3) /* 8020DE70 0020ADD0 EC 06 00 32 */ fmuls f0, f6, f0 /* 8020DE74 0020ADD4 C0 63 00 1C */ lfs f3, 0x1c(r3) /* 8020DE78 0020ADD8 EC 86 01 32 */ fmuls f4, f6, f4 /* 8020DE7C 0020ADDC EC 46 00 B2 */ fmuls f2, f6, f2 /* 8020DE80 0020ADE0 EC 01 00 2A */ fadds f0, f1, f0 /* 8020DE84 0020ADE4 EC 85 20 2A */ fadds f4, f5, f4 /* 8020DE88 0020ADE8 EC 23 10 2A */ fadds f1, f3, f2 /* 8020DE8C 0020ADEC D0 03 00 04 */ stfs f0, 4(r3) /* 8020DE90 0020ADF0 D0 83 00 08 */ stfs f4, 8(r3) /* 8020DE94 0020ADF4 D0 23 00 0C */ stfs f1, 0xc(r3) /* 8020DE98 0020ADF8 48 00 00 30 */ b lbl_8020DEC8 lbl_8020DE9C: /* 8020DE9C 0020ADFC 88 1D 00 68 */ lbz r0, 0x68(r29) /* 8020DEA0 0020AE00 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8020DEA4 0020AE04 40 82 00 24 */ bne lbl_8020DEC8 /* 8020DEA8 0020AE08 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020DEAC 0020AE0C 7C 60 E2 14 */ add r3, r0, r28 /* 8020DEB0 0020AE10 C0 03 00 14 */ lfs f0, 0x14(r3) /* 8020DEB4 0020AE14 D0 03 00 04 */ stfs f0, 4(r3) /* 8020DEB8 0020AE18 C0 03 00 18 */ lfs f0, 0x18(r3) /* 8020DEBC 0020AE1C D0 03 00 08 */ stfs f0, 8(r3) /* 8020DEC0 0020AE20 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 8020DEC4 0020AE24 D0 03 00 0C */ stfs f0, 0xc(r3) lbl_8020DEC8: /* 8020DEC8 0020AE28 3B 9C 00 40 */ addi r28, r28, 0x40 /* 8020DECC 0020AE2C 3B 5A 00 01 */ addi r26, r26, 1 lbl_8020DED0: /* 8020DED0 0020AE30 80 1D 00 08 */ lwz r0, 8(r29) /* 8020DED4 0020AE34 7C 1A 00 00 */ cmpw r26, r0 /* 8020DED8 0020AE38 41 80 FD 04 */ blt lbl_8020DBDC /* 8020DEDC 0020AE3C 80 A1 01 58 */ lwz r5, 0x158(r1) /* 8020DEE0 0020AE40 38 60 00 00 */ li r3, 0 /* 8020DEE4 0020AE44 2C 05 00 00 */ cmpwi r5, 0 /* 8020DEE8 0020AE48 40 81 00 40 */ ble lbl_8020DF28 /* 8020DEEC 0020AE4C 2C 05 00 08 */ cmpwi r5, 8 /* 8020DEF0 0020AE50 38 85 FF F8 */ addi r4, r5, -8 /* 8020DEF4 0020AE54 40 81 00 20 */ ble lbl_8020DF14 /* 8020DEF8 0020AE58 38 04 00 07 */ addi r0, r4, 7 /* 8020DEFC 0020AE5C 54 00 E8 FE */ srwi r0, r0, 3 /* 8020DF00 0020AE60 7C 09 03 A6 */ mtctr r0 /* 8020DF04 0020AE64 2C 04 00 00 */ cmpwi r4, 0 /* 8020DF08 0020AE68 40 81 00 0C */ ble lbl_8020DF14 lbl_8020DF0C: /* 8020DF0C 0020AE6C 38 63 00 08 */ addi r3, r3, 8 /* 8020DF10 0020AE70 42 00 FF FC */ bdnz lbl_8020DF0C lbl_8020DF14: /* 8020DF14 0020AE74 7C 03 28 50 */ subf r0, r3, r5 /* 8020DF18 0020AE78 7C 09 03 A6 */ mtctr r0 /* 8020DF1C 0020AE7C 7C 03 28 00 */ cmpw r3, r5 /* 8020DF20 0020AE80 40 80 00 08 */ bge lbl_8020DF28 lbl_8020DF24: /* 8020DF24 0020AE84 42 00 00 00 */ bdnz lbl_8020DF24 lbl_8020DF28: /* 8020DF28 0020AE88 38 60 00 00 */ li r3, 0 /* 8020DF2C 0020AE8C 34 E1 09 74 */ addic. r7, r1, 0x974 /* 8020DF30 0020AE90 90 61 01 58 */ stw r3, 0x158(r1) /* 8020DF34 0020AE94 41 82 00 90 */ beq lbl_8020DFC4 /* 8020DF38 0020AE98 38 C7 00 04 */ addi r6, r7, 4 /* 8020DF3C 0020AE9C 48 00 00 74 */ b lbl_8020DFB0 lbl_8020DF40: /* 8020DF40 0020AEA0 28 06 00 00 */ cmplwi r6, 0 /* 8020DF44 0020AEA4 41 82 00 64 */ beq lbl_8020DFA8 /* 8020DF48 0020AEA8 34 06 00 04 */ addic. r0, r6, 4 /* 8020DF4C 0020AEAC 41 82 00 5C */ beq lbl_8020DFA8 /* 8020DF50 0020AEB0 81 06 00 04 */ lwz r8, 4(r6) /* 8020DF54 0020AEB4 38 80 00 00 */ li r4, 0 /* 8020DF58 0020AEB8 2C 08 00 00 */ cmpwi r8, 0 /* 8020DF5C 0020AEBC 40 81 00 44 */ ble lbl_8020DFA0 /* 8020DF60 0020AEC0 2C 08 00 08 */ cmpwi r8, 8 /* 8020DF64 0020AEC4 38 A8 FF F8 */ addi r5, r8, -8 /* 8020DF68 0020AEC8 40 81 00 20 */ ble lbl_8020DF88 /* 8020DF6C 0020AECC 38 05 00 07 */ addi r0, r5, 7 /* 8020DF70 0020AED0 54 00 E8 FE */ srwi r0, r0, 3 /* 8020DF74 0020AED4 7C 09 03 A6 */ mtctr r0 /* 8020DF78 0020AED8 2C 05 00 00 */ cmpwi r5, 0 /* 8020DF7C 0020AEDC 40 81 00 0C */ ble lbl_8020DF88 lbl_8020DF80: /* 8020DF80 0020AEE0 38 84 00 08 */ addi r4, r4, 8 /* 8020DF84 0020AEE4 42 00 FF FC */ bdnz lbl_8020DF80 lbl_8020DF88: /* 8020DF88 0020AEE8 7C 04 40 50 */ subf r0, r4, r8 /* 8020DF8C 0020AEEC 7C 09 03 A6 */ mtctr r0 /* 8020DF90 0020AEF0 7C 04 40 00 */ cmpw r4, r8 /* 8020DF94 0020AEF4 40 80 00 0C */ bge lbl_8020DFA0 lbl_8020DF98: /* 8020DF98 0020AEF8 38 84 00 01 */ addi r4, r4, 1 /* 8020DF9C 0020AEFC 42 00 FF FC */ bdnz lbl_8020DF98 lbl_8020DFA0: /* 8020DFA0 0020AF00 38 00 00 00 */ li r0, 0 /* 8020DFA4 0020AF04 90 06 00 04 */ stw r0, 4(r6) lbl_8020DFA8: /* 8020DFA8 0020AF08 38 C6 09 0C */ addi r6, r6, 0x90c /* 8020DFAC 0020AF0C 38 63 00 01 */ addi r3, r3, 1 lbl_8020DFB0: /* 8020DFB0 0020AF10 80 07 00 00 */ lwz r0, 0(r7) /* 8020DFB4 0020AF14 7C 03 00 00 */ cmpw r3, r0 /* 8020DFB8 0020AF18 41 80 FF 88 */ blt lbl_8020DF40 /* 8020DFBC 0020AF1C 38 00 00 00 */ li r0, 0 /* 8020DFC0 0020AF20 90 07 00 00 */ stw r0, 0(r7) lbl_8020DFC4: /* 8020DFC4 0020AF24 7F 63 DB 78 */ mr r3, r27 /* 8020DFC8 0020AF28 38 00 25 08 */ li r0, 0x2508 /* 8020DFCC 0020AF2C 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 8020DFD0 0020AF30 CB E1 25 00 */ lfd f31, 0x2500(r1) /* 8020DFD4 0020AF34 38 00 24 F8 */ li r0, 0x24f8 /* 8020DFD8 0020AF38 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 /* 8020DFDC 0020AF3C CB C1 24 F0 */ lfd f30, 0x24f0(r1) /* 8020DFE0 0020AF40 38 00 24 E8 */ li r0, 0x24e8 /* 8020DFE4 0020AF44 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 /* 8020DFE8 0020AF48 CB A1 24 E0 */ lfd f29, 0x24e0(r1) /* 8020DFEC 0020AF4C 38 00 24 D8 */ li r0, 0x24d8 /* 8020DFF0 0020AF50 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 /* 8020DFF4 0020AF54 CB 81 24 D0 */ lfd f28, 0x24d0(r1) /* 8020DFF8 0020AF58 38 00 24 C8 */ li r0, 0x24c8 /* 8020DFFC 0020AF5C 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 /* 8020E000 0020AF60 CB 61 24 C0 */ lfd f27, 0x24c0(r1) /* 8020E004 0020AF64 BB 01 24 A0 */ lmw r24, 0x24a0(r1) /* 8020E008 0020AF68 80 01 25 14 */ lwz r0, 0x2514(r1) /* 8020E00C 0020AF6C 7C 08 03 A6 */ mtlr r0 /* 8020E010 0020AF70 38 21 25 10 */ addi r1, r1, 0x2510 /* 8020E014 0020AF74 4E 80 00 20 */ blr .global AccumulateForces__8CRagDollFff AccumulateForces__8CRagDollFff: /* 8020E018 0020AF78 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8020E01C 0020AF7C 7C 08 02 A6 */ mflr r0 /* 8020E020 0020AF80 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8020E024 0020AF84 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 8020E028 0020AF88 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 8020E02C 0020AF8C DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 8020E030 0020AF90 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 /* 8020E034 0020AF94 DB A1 00 A0 */ stfd f29, 0xa0(r1) /* 8020E038 0020AF98 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 /* 8020E03C 0020AF9C DB 81 00 90 */ stfd f28, 0x90(r1) /* 8020E040 0020AFA0 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 /* 8020E044 0020AFA4 DB 61 00 80 */ stfd f27, 0x80(r1) /* 8020E048 0020AFA8 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 /* 8020E04C 0020AFAC DB 41 00 70 */ stfd f26, 0x70(r1) /* 8020E050 0020AFB0 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 /* 8020E054 0020AFB4 DB 21 00 60 */ stfd f25, 0x60(r1) /* 8020E058 0020AFB8 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 /* 8020E05C 0020AFBC DB 01 00 50 */ stfd f24, 0x50(r1) /* 8020E060 0020AFC0 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 /* 8020E064 0020AFC4 DA E1 00 40 */ stfd f23, 0x40(r1) /* 8020E068 0020AFC8 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0 /* 8020E06C 0020AFCC BF 61 00 2C */ stmw r27, 0x2c(r1) /* 8020E070 0020AFD0 C0 02 B1 C0 */ lfs f0, lbl_805ACEE0@sda21(r2) /* 8020E074 0020AFD4 7C 7F 1B 78 */ mr r31, r3 /* 8020E078 0020AFD8 C0 63 00 64 */ lfs f3, 0x64(r3) /* 8020E07C 0020AFDC FE E0 10 90 */ fmr f23, f2 /* 8020E080 0020AFE0 EF 40 08 24 */ fdivs f26, f0, f1 /* 8020E084 0020AFE4 C0 02 B1 F0 */ lfs f0, lbl_805ACF10@sda21(r2) /* 8020E088 0020AFE8 EC 23 08 2A */ fadds f1, f3, f1 /* 8020E08C 0020AFEC D0 23 00 64 */ stfs f1, 0x64(r3) /* 8020E090 0020AFF0 C0 23 00 64 */ lfs f1, 0x64(r3) /* 8020E094 0020AFF4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8020E098 0020AFF8 40 81 00 0C */ ble lbl_8020E0A4 /* 8020E09C 0020AFFC EC 01 00 28 */ fsubs f0, f1, f0 /* 8020E0A0 0020B000 D0 1F 00 64 */ stfs f0, 0x64(r31) lbl_8020E0A4: /* 8020E0A4 0020B004 C0 22 B1 FC */ lfs f1, lbl_805ACF1C@sda21(r2) /* 8020E0A8 0020B008 C0 1F 00 64 */ lfs f0, 0x64(r31) /* 8020E0AC 0020B00C EC 21 00 32 */ fmuls f1, f1, f0 /* 8020E0B0 0020B010 48 10 6D 41 */ bl FastSinR__5CMathFf /* 8020E0B4 0020B014 C0 02 B1 F4 */ lfs f0, lbl_805ACF14@sda21(r2) /* 8020E0B8 0020B018 3C 60 80 5A */ lis r3, skZero3f@ha /* 8020E0BC 0020B01C 3B C3 66 A0 */ addi r30, r3, skZero3f@l /* 8020E0C0 0020B020 C0 42 B1 F8 */ lfs f2, lbl_805ACF18@sda21(r2) /* 8020E0C4 0020B024 EC 17 00 28 */ fsubs f0, f23, f0 /* 8020E0C8 0020B028 C3 BE 00 00 */ lfs f29, 0(r30) /* 8020E0CC 0020B02C C3 9E 00 04 */ lfs f28, 4(r30) /* 8020E0D0 0020B030 3B 60 00 00 */ li r27, 0 /* 8020E0D4 0020B034 C3 7E 00 08 */ lfs f27, 8(r30) /* 8020E0D8 0020B038 3B 80 00 00 */ li r28, 0 /* 8020E0DC 0020B03C EF 22 00 7A */ fmadds f25, f2, f1, f0 /* 8020E0E0 0020B040 C3 02 B1 C4 */ lfs f24, lbl_805ACEE4@sda21(r2) /* 8020E0E4 0020B044 C3 C2 B1 D0 */ lfs f30, lbl_805ACEF0@sda21(r2) /* 8020E0E8 0020B048 C3 E2 B2 00 */ lfs f31, lbl_805ACF20@sda21(r2) /* 8020E0EC 0020B04C 48 00 01 6C */ b lbl_8020E258 lbl_8020E0F0: /* 8020E0F0 0020B050 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8020E0F4 0020B054 C1 1F 00 48 */ lfs f8, 0x48(r31) /* 8020E0F8 0020B058 7F A0 E2 14 */ add r29, r0, r28 /* 8020E0FC 0020B05C C2 E2 B1 C4 */ lfs f23, lbl_805ACEE4@sda21(r2) /* 8020E100 0020B060 C0 7D 00 10 */ lfs f3, 0x10(r29) /* 8020E104 0020B064 C0 BD 00 0C */ lfs f5, 0xc(r29) /* 8020E108 0020B068 EC 43 00 F2 */ fmuls f2, f3, f3 /* 8020E10C 0020B06C C0 3D 00 04 */ lfs f1, 4(r29) /* 8020E110 0020B070 EC E5 C8 28 */ fsubs f7, f5, f25 /* 8020E114 0020B074 C0 1D 00 08 */ lfs f0, 8(r29) /* 8020E118 0020B078 EC C3 00 B2 */ fmuls f6, f3, f2 /* 8020E11C 0020B07C FC 80 3A 10 */ fabs f4, f7 /* 8020E120 0020B080 EC 66 01 72 */ fmuls f3, f6, f5 /* 8020E124 0020B084 EC 46 00 72 */ fmuls f2, f6, f1 /* 8020E128 0020B088 EC 26 00 32 */ fmuls f1, f6, f0 /* 8020E12C 0020B08C FC 00 20 18 */ frsp f0, f4 /* 8020E130 0020B090 EF 18 30 2A */ fadds f24, f24, f6 /* 8020E134 0020B094 EF BD 10 2A */ fadds f29, f29, f2 /* 8020E138 0020B098 FC 00 F0 40 */ fcmpo cr0, f0, f30 /* 8020E13C 0020B09C EF 9C 08 2A */ fadds f28, f28, f1 /* 8020E140 0020B0A0 EF 7B 18 2A */ fadds f27, f27, f3 /* 8020E144 0020B0A4 40 80 00 20 */ bge lbl_8020E164 /* 8020E148 0020B0A8 EC 3E 01 F2 */ fmuls f1, f30, f7 /* 8020E14C 0020B0AC FC 00 38 50 */ fneg f0, f7 /* 8020E150 0020B0B0 EC 21 F0 24 */ fdivs f1, f1, f30 /* 8020E154 0020B0B4 EC 00 F0 24 */ fdivs f0, f0, f30 /* 8020E158 0020B0B8 EE FE 08 2A */ fadds f23, f30, f1 /* 8020E15C 0020B0BC ED 08 00 32 */ fmuls f8, f8, f0 /* 8020E160 0020B0C0 48 00 00 14 */ b lbl_8020E174 lbl_8020E164: /* 8020E164 0020B0C4 FC 07 B8 40 */ fcmpo cr0, f7, f23 /* 8020E168 0020B0C8 40 81 00 0C */ ble lbl_8020E174 /* 8020E16C 0020B0CC C1 1F 00 44 */ lfs f8, 0x44(r31) /* 8020E170 0020B0D0 C2 E2 B1 C0 */ lfs f23, lbl_805ACEE0@sda21(r2) lbl_8020E174: /* 8020E174 0020B0D4 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 8020E178 0020B0D8 38 61 00 14 */ addi r3, r1, 0x14 /* 8020E17C 0020B0DC EC 00 40 2A */ fadds f0, f0, f8 /* 8020E180 0020B0E0 D0 1D 00 28 */ stfs f0, 0x28(r29) /* 8020E184 0020B0E4 C0 3D 00 08 */ lfs f1, 8(r29) /* 8020E188 0020B0E8 C0 1D 00 18 */ lfs f0, 0x18(r29) /* 8020E18C 0020B0EC C0 7D 00 0C */ lfs f3, 0xc(r29) /* 8020E190 0020B0F0 C0 5D 00 1C */ lfs f2, 0x1c(r29) /* 8020E194 0020B0F4 EC 81 00 28 */ fsubs f4, f1, f0 /* 8020E198 0020B0F8 C0 3D 00 04 */ lfs f1, 4(r29) /* 8020E19C 0020B0FC C0 1D 00 14 */ lfs f0, 0x14(r29) /* 8020E1A0 0020B100 EC 43 10 28 */ fsubs f2, f3, f2 /* 8020E1A4 0020B104 EC 7A 01 32 */ fmuls f3, f26, f4 /* 8020E1A8 0020B108 EC 01 00 28 */ fsubs f0, f1, f0 /* 8020E1AC 0020B10C EC 3A 00 B2 */ fmuls f1, f26, f2 /* 8020E1B0 0020B110 D0 61 00 18 */ stfs f3, 0x18(r1) /* 8020E1B4 0020B114 EC 1A 00 32 */ fmuls f0, f26, f0 /* 8020E1B8 0020B118 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8020E1BC 0020B11C D0 01 00 14 */ stfs f0, 0x14(r1) /* 8020E1C0 0020B120 48 10 66 F9 */ bl Magnitude__9CVector3fCFv /* 8020E1C4 0020B124 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 8020E1C8 0020B128 40 81 00 88 */ ble lbl_8020E250 /* 8020E1CC 0020B12C C0 02 B1 C0 */ lfs f0, lbl_805ACEE0@sda21(r2) /* 8020E1D0 0020B130 C0 C2 B2 0C */ lfs f6, lbl_805ACF2C@sda21(r2) /* 8020E1D4 0020B134 EC 40 B8 28 */ fsubs f2, f0, f23 /* 8020E1D8 0020B138 C0 E2 B2 08 */ lfs f7, lbl_805ACF28@sda21(r2) /* 8020E1DC 0020B13C C1 02 B2 04 */ lfs f8, lbl_805ACF24@sda21(r2) /* 8020E1E0 0020B140 ED 40 08 24 */ fdivs f10, f0, f1 /* 8020E1E4 0020B144 C1 21 00 14 */ lfs f9, 0x14(r1) /* 8020E1E8 0020B148 C0 61 00 18 */ lfs f3, 0x18(r1) /* 8020E1EC 0020B14C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8020E1F0 0020B150 C0 A2 B2 10 */ lfs f5, lbl_805ACF30@sda21(r2) /* 8020E1F4 0020B154 C0 9D 00 10 */ lfs f4, 0x10(r29) /* 8020E1F8 0020B158 EC C6 00 B2 */ fmuls f6, f6, f2 /* 8020E1FC 0020B15C C0 5D 00 20 */ lfs f2, 0x20(r29) /* 8020E200 0020B160 EC A5 01 32 */ fmuls f5, f5, f4 /* 8020E204 0020B164 ED 2A 02 72 */ fmuls f9, f10, f9 /* 8020E208 0020B168 EC C7 35 FA */ fmadds f6, f7, f23, f6 /* 8020E20C 0020B16C EC 8A 00 F2 */ fmuls f4, f10, f3 /* 8020E210 0020B170 EC 6A 00 32 */ fmuls f3, f10, f0 /* 8020E214 0020B174 EC 08 01 B2 */ fmuls f0, f8, f6 /* 8020E218 0020B178 EC 00 00 72 */ fmuls f0, f0, f1 /* 8020E21C 0020B17C EC 01 00 32 */ fmuls f0, f1, f0 /* 8020E220 0020B180 EC 20 28 24 */ fdivs f1, f0, f5 /* 8020E224 0020B184 EC 01 02 72 */ fmuls f0, f1, f9 /* 8020E228 0020B188 EC 81 01 32 */ fmuls f4, f1, f4 /* 8020E22C 0020B18C EC 21 00 F2 */ fmuls f1, f1, f3 /* 8020E230 0020B190 EC 02 00 28 */ fsubs f0, f2, f0 /* 8020E234 0020B194 D0 1D 00 20 */ stfs f0, 0x20(r29) /* 8020E238 0020B198 C0 1D 00 24 */ lfs f0, 0x24(r29) /* 8020E23C 0020B19C EC 00 20 28 */ fsubs f0, f0, f4 /* 8020E240 0020B1A0 D0 1D 00 24 */ stfs f0, 0x24(r29) /* 8020E244 0020B1A4 C0 1D 00 28 */ lfs f0, 0x28(r29) /* 8020E248 0020B1A8 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020E24C 0020B1AC D0 1D 00 28 */ stfs f0, 0x28(r29) lbl_8020E250: /* 8020E250 0020B1B0 3B 9C 00 40 */ addi r28, r28, 0x40 /* 8020E254 0020B1B4 3B 7B 00 01 */ addi r27, r27, 1 lbl_8020E258: /* 8020E258 0020B1B8 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E25C 0020B1BC 7C 1B 00 00 */ cmpw r27, r0 /* 8020E260 0020B1C0 41 80 FE 90 */ blt lbl_8020E0F0 /* 8020E264 0020B1C4 C0 02 B1 C0 */ lfs f0, lbl_805ACEE0@sda21(r2) /* 8020E268 0020B1C8 3C 60 80 5A */ lis r3, skZero3f@ha /* 8020E26C 0020B1CC C0 5E 00 04 */ lfs f2, 4(r30) /* 8020E270 0020B1D0 38 A0 00 00 */ li r5, 0 /* 8020E274 0020B1D4 EC 00 C0 24 */ fdivs f0, f0, f24 /* 8020E278 0020B1D8 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) /* 8020E27C 0020B1DC C0 3E 00 08 */ lfs f1, 8(r30) /* 8020E280 0020B1E0 38 80 00 00 */ li r4, 0 /* 8020E284 0020B1E4 D0 61 00 08 */ stfs f3, 8(r1) /* 8020E288 0020B1E8 D0 41 00 0C */ stfs f2, 0xc(r1) /* 8020E28C 0020B1EC EF BD 00 32 */ fmuls f29, f29, f0 /* 8020E290 0020B1F0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8020E294 0020B1F4 EF 9C 00 32 */ fmuls f28, f28, f0 /* 8020E298 0020B1F8 EF 7B 00 32 */ fmuls f27, f27, f0 /* 8020E29C 0020B1FC 48 00 00 98 */ b lbl_8020E334 lbl_8020E2A0: /* 8020E2A0 0020B200 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8020E2A4 0020B204 38 A5 00 01 */ addi r5, r5, 1 /* 8020E2A8 0020B208 C0 C1 00 08 */ lfs f6, 8(r1) /* 8020E2AC 0020B20C 7C 60 22 14 */ add r3, r0, r4 /* 8020E2B0 0020B210 C0 81 00 0C */ lfs f4, 0xc(r1) /* 8020E2B4 0020B214 C0 63 00 04 */ lfs f3, 4(r3) /* 8020E2B8 0020B218 38 84 00 40 */ addi r4, r4, 0x40 /* 8020E2BC 0020B21C C0 23 00 14 */ lfs f1, 0x14(r3) /* 8020E2C0 0020B220 C0 A3 00 08 */ lfs f5, 8(r3) /* 8020E2C4 0020B224 ED A3 E8 28 */ fsubs f13, f3, f29 /* 8020E2C8 0020B228 ED 43 08 28 */ fsubs f10, f3, f1 /* 8020E2CC 0020B22C C0 43 00 18 */ lfs f2, 0x18(r3) /* 8020E2D0 0020B230 C0 63 00 0C */ lfs f3, 0xc(r3) /* 8020E2D4 0020B234 ED 85 E0 28 */ fsubs f12, f5, f28 /* 8020E2D8 0020B238 C0 23 00 1C */ lfs f1, 0x1c(r3) /* 8020E2DC 0020B23C ED 25 10 28 */ fsubs f9, f5, f2 /* 8020E2E0 0020B240 ED 03 08 28 */ fsubs f8, f3, f1 /* 8020E2E4 0020B244 C2 E3 00 10 */ lfs f23, 0x10(r3) /* 8020E2E8 0020B248 ED 63 D8 28 */ fsubs f11, f3, f27 /* 8020E2EC 0020B24C C0 41 00 10 */ lfs f2, 0x10(r1) /* 8020E2F0 0020B250 EC F7 05 F2 */ fmuls f7, f23, f23 /* 8020E2F4 0020B254 EC 68 03 72 */ fmuls f3, f8, f13 /* 8020E2F8 0020B258 EC A9 02 F2 */ fmuls f5, f9, f11 /* 8020E2FC 0020B25C EC 2A 03 32 */ fmuls f1, f10, f12 /* 8020E300 0020B260 EC F7 01 F2 */ fmuls f7, f23, f7 /* 8020E304 0020B264 EC AC 2A 38 */ fmsubs f5, f12, f8, f5 /* 8020E308 0020B268 EC 6B 1A B8 */ fmsubs f3, f11, f10, f3 /* 8020E30C 0020B26C EC 2D 0A 78 */ fmsubs f1, f13, f9, f1 /* 8020E310 0020B270 EC A7 01 72 */ fmuls f5, f7, f5 /* 8020E314 0020B274 EC 67 00 F2 */ fmuls f3, f7, f3 /* 8020E318 0020B278 EC 27 00 72 */ fmuls f1, f7, f1 /* 8020E31C 0020B27C EC A6 28 2A */ fadds f5, f6, f5 /* 8020E320 0020B280 EC 64 18 2A */ fadds f3, f4, f3 /* 8020E324 0020B284 EC 22 08 2A */ fadds f1, f2, f1 /* 8020E328 0020B288 D0 A1 00 08 */ stfs f5, 8(r1) /* 8020E32C 0020B28C D0 61 00 0C */ stfs f3, 0xc(r1) /* 8020E330 0020B290 D0 21 00 10 */ stfs f1, 0x10(r1) lbl_8020E334: /* 8020E334 0020B294 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E338 0020B298 7C 05 00 00 */ cmpw r5, r0 /* 8020E33C 0020B29C 41 80 FF 64 */ blt lbl_8020E2A0 /* 8020E340 0020B2A0 EC 7A 00 32 */ fmuls f3, f26, f0 /* 8020E344 0020B2A4 C0 41 00 08 */ lfs f2, 8(r1) /* 8020E348 0020B2A8 C0 21 00 0C */ lfs f1, 0xc(r1) /* 8020E34C 0020B2AC 38 61 00 08 */ addi r3, r1, 8 /* 8020E350 0020B2B0 C0 01 00 10 */ lfs f0, 0x10(r1) /* 8020E354 0020B2B4 EC 42 00 F2 */ fmuls f2, f2, f3 /* 8020E358 0020B2B8 EC 21 00 F2 */ fmuls f1, f1, f3 /* 8020E35C 0020B2BC EC 00 00 F2 */ fmuls f0, f0, f3 /* 8020E360 0020B2C0 D0 41 00 08 */ stfs f2, 8(r1) /* 8020E364 0020B2C4 D0 21 00 0C */ stfs f1, 0xc(r1) /* 8020E368 0020B2C8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8020E36C 0020B2CC 48 10 63 8D */ bl CanBeNormalized__9CVector3fCFv /* 8020E370 0020B2D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8020E374 0020B2D4 41 82 00 9C */ beq lbl_8020E410 /* 8020E378 0020B2D8 C0 62 B2 14 */ lfs f3, lbl_805ACF34@sda21(r2) /* 8020E37C 0020B2DC 38 A0 00 00 */ li r5, 0 /* 8020E380 0020B2E0 38 80 00 00 */ li r4, 0 /* 8020E384 0020B2E4 48 00 00 80 */ b lbl_8020E404 lbl_8020E388: /* 8020E388 0020B2E8 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8020E38C 0020B2EC 38 A5 00 01 */ addi r5, r5, 1 /* 8020E390 0020B2F0 C1 21 00 10 */ lfs f9, 0x10(r1) /* 8020E394 0020B2F4 7C 60 22 14 */ add r3, r0, r4 /* 8020E398 0020B2F8 C1 01 00 0C */ lfs f8, 0xc(r1) /* 8020E39C 0020B2FC C0 23 00 08 */ lfs f1, 8(r3) /* 8020E3A0 0020B300 38 84 00 40 */ addi r4, r4, 0x40 /* 8020E3A4 0020B304 C0 03 00 0C */ lfs f0, 0xc(r3) /* 8020E3A8 0020B308 EC C1 E0 28 */ fsubs f6, f1, f28 /* 8020E3AC 0020B30C C0 23 00 04 */ lfs f1, 4(r3) /* 8020E3B0 0020B310 EC A0 D8 28 */ fsubs f5, f0, f27 /* 8020E3B4 0020B314 C1 41 00 08 */ lfs f10, 8(r1) /* 8020E3B8 0020B318 EC E1 E8 28 */ fsubs f7, f1, f29 /* 8020E3BC 0020B31C C0 83 00 20 */ lfs f4, 0x20(r3) /* 8020E3C0 0020B320 EC 26 02 72 */ fmuls f1, f6, f9 /* 8020E3C4 0020B324 EC 05 02 B2 */ fmuls f0, f5, f10 /* 8020E3C8 0020B328 EC 47 02 32 */ fmuls f2, f7, f8 /* 8020E3CC 0020B32C EC 28 09 78 */ fmsubs f1, f8, f5, f1 /* 8020E3D0 0020B330 EC 09 01 F8 */ fmsubs f0, f9, f7, f0 /* 8020E3D4 0020B334 EC AA 11 B8 */ fmsubs f5, f10, f6, f2 /* 8020E3D8 0020B338 EC 43 00 72 */ fmuls f2, f3, f1 /* 8020E3DC 0020B33C EC 23 00 32 */ fmuls f1, f3, f0 /* 8020E3E0 0020B340 EC 03 01 72 */ fmuls f0, f3, f5 /* 8020E3E4 0020B344 EC 44 10 28 */ fsubs f2, f4, f2 /* 8020E3E8 0020B348 D0 43 00 20 */ stfs f2, 0x20(r3) /* 8020E3EC 0020B34C C0 43 00 24 */ lfs f2, 0x24(r3) /* 8020E3F0 0020B350 EC 22 08 28 */ fsubs f1, f2, f1 /* 8020E3F4 0020B354 D0 23 00 24 */ stfs f1, 0x24(r3) /* 8020E3F8 0020B358 C0 23 00 28 */ lfs f1, 0x28(r3) /* 8020E3FC 0020B35C EC 01 00 28 */ fsubs f0, f1, f0 /* 8020E400 0020B360 D0 03 00 28 */ stfs f0, 0x28(r3) lbl_8020E404: /* 8020E404 0020B364 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E408 0020B368 7C 05 00 00 */ cmpw r5, r0 /* 8020E40C 0020B36C 41 80 FF 7C */ blt lbl_8020E388 lbl_8020E410: /* 8020E410 0020B370 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 8020E414 0020B374 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 8020E418 0020B378 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 /* 8020E41C 0020B37C CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 8020E420 0020B380 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 /* 8020E424 0020B384 CB A1 00 A0 */ lfd f29, 0xa0(r1) /* 8020E428 0020B388 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 /* 8020E42C 0020B38C CB 81 00 90 */ lfd f28, 0x90(r1) /* 8020E430 0020B390 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 /* 8020E434 0020B394 CB 61 00 80 */ lfd f27, 0x80(r1) /* 8020E438 0020B398 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 /* 8020E43C 0020B39C CB 41 00 70 */ lfd f26, 0x70(r1) /* 8020E440 0020B3A0 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 /* 8020E444 0020B3A4 CB 21 00 60 */ lfd f25, 0x60(r1) /* 8020E448 0020B3A8 E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 /* 8020E44C 0020B3AC CB 01 00 50 */ lfd f24, 0x50(r1) /* 8020E450 0020B3B0 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0 /* 8020E454 0020B3B4 CA E1 00 40 */ lfd f23, 0x40(r1) /* 8020E458 0020B3B8 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 8020E45C 0020B3BC 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8020E460 0020B3C0 7C 08 03 A6 */ mtlr r0 /* 8020E464 0020B3C4 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8020E468 0020B3C8 4E 80 00 20 */ blr .global Verlet__8CRagDollFf Verlet__8CRagDollFf: /* 8020E46C 0020B3CC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8020E470 0020B3D0 7C 08 02 A6 */ mflr r0 /* 8020E474 0020B3D4 90 01 00 74 */ stw r0, 0x74(r1) /* 8020E478 0020B3D8 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8020E47C 0020B3DC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8020E480 0020B3E0 DB C1 00 50 */ stfd f30, 0x50(r1) /* 8020E484 0020B3E4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 8020E488 0020B3E8 BF 61 00 3C */ stmw r27, 0x3c(r1) /* 8020E48C 0020B3EC FF C0 08 90 */ fmr f30, f1 /* 8020E490 0020B3F0 3C 80 80 5A */ lis r4, skZero3f@ha /* 8020E494 0020B3F4 C3 E2 B1 F0 */ lfs f31, lbl_805ACF10@sda21(r2) /* 8020E498 0020B3F8 7C 7D 1B 78 */ mr r29, r3 /* 8020E49C 0020B3FC 3B 84 66 A0 */ addi r28, r4, skZero3f@l /* 8020E4A0 0020B400 3B C0 00 00 */ li r30, 0 /* 8020E4A4 0020B404 3B E0 00 00 */ li r31, 0 /* 8020E4A8 0020B408 48 00 01 FC */ b lbl_8020E6A4 lbl_8020E4AC: /* 8020E4AC 0020B40C 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020E4B0 0020B410 7F 60 FA 14 */ add r27, r0, r31 /* 8020E4B4 0020B414 88 1B 00 3C */ lbz r0, 0x3c(r27) /* 8020E4B8 0020B418 C0 1B 00 04 */ lfs f0, 4(r27) /* 8020E4BC 0020B41C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8020E4C0 0020B420 C0 3B 00 08 */ lfs f1, 8(r27) /* 8020E4C4 0020B424 C0 5B 00 0C */ lfs f2, 0xc(r27) /* 8020E4C8 0020B428 41 82 00 0C */ beq lbl_8020E4D4 /* 8020E4CC 0020B42C C0 E2 B2 18 */ lfs f7, lbl_805ACF38@sda21(r2) /* 8020E4D0 0020B430 48 00 00 08 */ b lbl_8020E4D8 lbl_8020E4D4: /* 8020E4D4 0020B434 C0 E2 B1 C0 */ lfs f7, lbl_805ACEE0@sda21(r2) lbl_8020E4D8: /* 8020E4D8 0020B438 C0 7B 00 14 */ lfs f3, 0x14(r27) /* 8020E4DC 0020B43C 38 9F 00 20 */ addi r4, r31, 0x20 /* 8020E4E0 0020B440 C0 9B 00 18 */ lfs f4, 0x18(r27) /* 8020E4E4 0020B444 38 7F 00 2C */ addi r3, r31, 0x2c /* 8020E4E8 0020B448 EC 60 18 28 */ fsubs f3, f0, f3 /* 8020E4EC 0020B44C C0 BB 00 1C */ lfs f5, 0x1c(r27) /* 8020E4F0 0020B450 EC C1 20 28 */ fsubs f6, f1, f4 /* 8020E4F4 0020B454 C0 9B 00 04 */ lfs f4, 4(r27) /* 8020E4F8 0020B458 EC A2 28 28 */ fsubs f5, f2, f5 /* 8020E4FC 0020B45C EC 67 00 F2 */ fmuls f3, f7, f3 /* 8020E500 0020B460 EC C7 01 B2 */ fmuls f6, f7, f6 /* 8020E504 0020B464 EC A7 01 72 */ fmuls f5, f7, f5 /* 8020E508 0020B468 EC 64 18 2A */ fadds f3, f4, f3 /* 8020E50C 0020B46C D0 7B 00 04 */ stfs f3, 4(r27) /* 8020E510 0020B470 C0 7B 00 08 */ lfs f3, 8(r27) /* 8020E514 0020B474 EC 63 30 2A */ fadds f3, f3, f6 /* 8020E518 0020B478 D0 7B 00 08 */ stfs f3, 8(r27) /* 8020E51C 0020B47C C0 7B 00 0C */ lfs f3, 0xc(r27) /* 8020E520 0020B480 EC 63 28 2A */ fadds f3, f3, f5 /* 8020E524 0020B484 D0 7B 00 0C */ stfs f3, 0xc(r27) /* 8020E528 0020B488 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020E52C 0020B48C C0 9B 00 04 */ lfs f4, 4(r27) /* 8020E530 0020B490 7C 80 22 14 */ add r4, r0, r4 /* 8020E534 0020B494 C0 64 00 00 */ lfs f3, 0(r4) /* 8020E538 0020B498 C0 C4 00 04 */ lfs f6, 4(r4) /* 8020E53C 0020B49C EC 7E 00 F2 */ fmuls f3, f30, f3 /* 8020E540 0020B4A0 C0 A4 00 08 */ lfs f5, 8(r4) /* 8020E544 0020B4A4 EC DE 01 B2 */ fmuls f6, f30, f6 /* 8020E548 0020B4A8 EC BE 01 72 */ fmuls f5, f30, f5 /* 8020E54C 0020B4AC EC 7E 00 F2 */ fmuls f3, f30, f3 /* 8020E550 0020B4B0 EC DE 01 B2 */ fmuls f6, f30, f6 /* 8020E554 0020B4B4 EC BE 01 72 */ fmuls f5, f30, f5 /* 8020E558 0020B4B8 EC 64 18 2A */ fadds f3, f4, f3 /* 8020E55C 0020B4BC D0 7B 00 04 */ stfs f3, 4(r27) /* 8020E560 0020B4C0 C0 7B 00 08 */ lfs f3, 8(r27) /* 8020E564 0020B4C4 EC 63 30 2A */ fadds f3, f3, f6 /* 8020E568 0020B4C8 D0 7B 00 08 */ stfs f3, 8(r27) /* 8020E56C 0020B4CC C0 7B 00 0C */ lfs f3, 0xc(r27) /* 8020E570 0020B4D0 EC 63 28 2A */ fadds f3, f3, f5 /* 8020E574 0020B4D4 D0 7B 00 0C */ stfs f3, 0xc(r27) /* 8020E578 0020B4D8 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020E57C 0020B4DC C0 9B 00 04 */ lfs f4, 4(r27) /* 8020E580 0020B4E0 7C 60 1A 14 */ add r3, r0, r3 /* 8020E584 0020B4E4 C0 63 00 00 */ lfs f3, 0(r3) /* 8020E588 0020B4E8 EC 64 18 2A */ fadds f3, f4, f3 /* 8020E58C 0020B4EC D0 7B 00 04 */ stfs f3, 4(r27) /* 8020E590 0020B4F0 C0 9B 00 08 */ lfs f4, 8(r27) /* 8020E594 0020B4F4 C0 63 00 04 */ lfs f3, 4(r3) /* 8020E598 0020B4F8 EC 64 18 2A */ fadds f3, f4, f3 /* 8020E59C 0020B4FC D0 7B 00 08 */ stfs f3, 8(r27) /* 8020E5A0 0020B500 C0 9B 00 0C */ lfs f4, 0xc(r27) /* 8020E5A4 0020B504 C0 63 00 08 */ lfs f3, 8(r3) /* 8020E5A8 0020B508 EC 64 18 2A */ fadds f3, f4, f3 /* 8020E5AC 0020B50C D0 7B 00 0C */ stfs f3, 0xc(r27) /* 8020E5B0 0020B510 D0 1B 00 14 */ stfs f0, 0x14(r27) /* 8020E5B4 0020B514 D0 3B 00 18 */ stfs f1, 0x18(r27) /* 8020E5B8 0020B518 D0 5B 00 1C */ stfs f2, 0x1c(r27) /* 8020E5BC 0020B51C C0 5B 00 08 */ lfs f2, 8(r27) /* 8020E5C0 0020B520 C0 1B 00 18 */ lfs f0, 0x18(r27) /* 8020E5C4 0020B524 C0 3B 00 04 */ lfs f1, 4(r27) /* 8020E5C8 0020B528 EC A2 00 28 */ fsubs f5, f2, f0 /* 8020E5CC 0020B52C C0 1B 00 14 */ lfs f0, 0x14(r27) /* 8020E5D0 0020B530 C0 5B 00 0C */ lfs f2, 0xc(r27) /* 8020E5D4 0020B534 EC 61 00 28 */ fsubs f3, f1, f0 /* 8020E5D8 0020B538 C0 3B 00 1C */ lfs f1, 0x1c(r27) /* 8020E5DC 0020B53C EC 05 01 72 */ fmuls f0, f5, f5 /* 8020E5E0 0020B540 EC 82 08 28 */ fsubs f4, f2, f1 /* 8020E5E4 0020B544 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 8020E5E8 0020B548 EC 23 00 F2 */ fmuls f1, f3, f3 /* 8020E5EC 0020B54C D0 61 00 20 */ stfs f3, 0x20(r1) /* 8020E5F0 0020B550 EC 44 01 32 */ fmuls f2, f4, f4 /* 8020E5F4 0020B554 EC 01 00 2A */ fadds f0, f1, f0 /* 8020E5F8 0020B558 D0 81 00 28 */ stfs f4, 0x28(r1) /* 8020E5FC 0020B55C EC 02 00 2A */ fadds f0, f2, f0 /* 8020E600 0020B560 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 8020E604 0020B564 40 81 00 5C */ ble lbl_8020E660 /* 8020E608 0020B568 D0 61 00 08 */ stfs f3, 8(r1) /* 8020E60C 0020B56C 38 61 00 14 */ addi r3, r1, 0x14 /* 8020E610 0020B570 38 81 00 08 */ addi r4, r1, 8 /* 8020E614 0020B574 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 8020E618 0020B578 D0 81 00 10 */ stfs f4, 0x10(r1) /* 8020E61C 0020B57C 48 10 62 35 */ bl AsNormalized__9CVector3fCFv /* 8020E620 0020B580 C0 A2 B2 1C */ lfs f5, lbl_805ACF3C@sda21(r2) /* 8020E624 0020B584 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8020E628 0020B588 C0 61 00 18 */ lfs f3, 0x18(r1) /* 8020E62C 0020B58C EC 05 00 32 */ fmuls f0, f5, f0 /* 8020E630 0020B590 C0 3B 00 14 */ lfs f1, 0x14(r27) /* 8020E634 0020B594 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 8020E638 0020B598 EC 85 00 F2 */ fmuls f4, f5, f3 /* 8020E63C 0020B59C C0 DB 00 18 */ lfs f6, 0x18(r27) /* 8020E640 0020B5A0 EC 01 00 2A */ fadds f0, f1, f0 /* 8020E644 0020B5A4 C0 7B 00 1C */ lfs f3, 0x1c(r27) /* 8020E648 0020B5A8 EC 25 00 B2 */ fmuls f1, f5, f2 /* 8020E64C 0020B5AC EC 46 20 2A */ fadds f2, f6, f4 /* 8020E650 0020B5B0 D0 1B 00 04 */ stfs f0, 4(r27) /* 8020E654 0020B5B4 EC 03 08 2A */ fadds f0, f3, f1 /* 8020E658 0020B5B8 D0 5B 00 08 */ stfs f2, 8(r27) /* 8020E65C 0020B5BC D0 1B 00 0C */ stfs f0, 0xc(r27) lbl_8020E660: /* 8020E660 0020B5C0 80 9D 00 10 */ lwz r4, 0x10(r29) /* 8020E664 0020B5C4 38 7F 00 3C */ addi r3, r31, 0x3c /* 8020E668 0020B5C8 38 DF 00 2C */ addi r6, r31, 0x2c /* 8020E66C 0020B5CC 38 A0 00 00 */ li r5, 0 /* 8020E670 0020B5D0 7C 04 18 AE */ lbzx r0, r4, r3 /* 8020E674 0020B5D4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8020E678 0020B5D8 3B FF 00 40 */ addi r31, r31, 0x40 /* 8020E67C 0020B5DC 3B DE 00 01 */ addi r30, r30, 1 /* 8020E680 0020B5E0 7C 04 19 AE */ stbx r0, r4, r3 /* 8020E684 0020B5E4 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8020E688 0020B5E8 C0 1C 00 00 */ lfs f0, 0(r28) /* 8020E68C 0020B5EC 7C C0 32 14 */ add r6, r0, r6 /* 8020E690 0020B5F0 D0 06 00 00 */ stfs f0, 0(r6) /* 8020E694 0020B5F4 C0 1C 00 04 */ lfs f0, 4(r28) /* 8020E698 0020B5F8 D0 06 00 04 */ stfs f0, 4(r6) /* 8020E69C 0020B5FC C0 1C 00 08 */ lfs f0, 8(r28) /* 8020E6A0 0020B600 D0 06 00 08 */ stfs f0, 8(r6) lbl_8020E6A4: /* 8020E6A4 0020B604 80 1D 00 08 */ lwz r0, 8(r29) /* 8020E6A8 0020B608 7C 1E 00 00 */ cmpw r30, r0 /* 8020E6AC 0020B60C 41 80 FE 00 */ blt lbl_8020E4AC /* 8020E6B0 0020B610 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8020E6B4 0020B614 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8020E6B8 0020B618 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 8020E6BC 0020B61C CB C1 00 50 */ lfd f30, 0x50(r1) /* 8020E6C0 0020B620 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 8020E6C4 0020B624 80 01 00 74 */ lwz r0, 0x74(r1) /* 8020E6C8 0020B628 7C 08 03 A6 */ mtlr r0 /* 8020E6CC 0020B62C 38 21 00 70 */ addi r1, r1, 0x70 /* 8020E6D0 0020B630 4E 80 00 20 */ blr .global Prime__8CRagDollFR13CStateManagerRC12CTransform4fR10CModelData Prime__8CRagDollFR13CStateManagerRC12CTransform4fR10CModelData: /* 8020E6D4 0020B634 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020E6D8 0020B638 7C 08 02 A6 */ mflr r0 /* 8020E6DC 0020B63C 90 01 00 54 */ stw r0, 0x54(r1) /* 8020E6E0 0020B640 BF 41 00 38 */ stmw r26, 0x38(r1) /* 8020E6E4 0020B644 7C 7F 1B 78 */ mr r31, r3 /* 8020E6E8 0020B648 7C 9A 23 78 */ mr r26, r4 /* 8020E6EC 0020B64C 7C BB 2B 78 */ mr r27, r5 /* 8020E6F0 0020B650 C0 46 00 00 */ lfs f2, 0(r6) /* 8020E6F4 0020B654 C0 26 00 04 */ lfs f1, 4(r6) /* 8020E6F8 0020B658 C0 06 00 08 */ lfs f0, 8(r6) /* 8020E6FC 0020B65C 83 C6 00 10 */ lwz r30, 0x10(r6) /* 8020E700 0020B660 D0 41 00 24 */ stfs f2, 0x24(r1) /* 8020E704 0020B664 7F C3 F3 78 */ mr r3, r30 /* 8020E708 0020B668 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8020E70C 0020B66C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8020E710 0020B670 4B E1 E3 51 */ bl BuildPose__9CAnimDataFv /* 8020E714 0020B674 3B 80 00 00 */ li r28, 0 /* 8020E718 0020B678 3B A0 00 00 */ li r29, 0 /* 8020E71C 0020B67C 48 00 00 90 */ b lbl_8020E7AC lbl_8020E720: /* 8020E720 0020B680 80 7F 00 10 */ lwz r3, 0x10(r31) /* 8020E724 0020B684 7C 03 E8 AE */ lbzx r0, r3, r29 /* 8020E728 0020B688 28 00 00 FF */ cmplwi r0, 0xff /* 8020E72C 0020B68C 98 01 00 08 */ stb r0, 8(r1) /* 8020E730 0020B690 41 82 00 74 */ beq lbl_8020E7A4 /* 8020E734 0020B694 38 7E 02 24 */ addi r3, r30, 0x224 /* 8020E738 0020B698 38 81 00 08 */ addi r4, r1, 8 /* 8020E73C 0020B69C 48 15 A8 1D */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId /* 8020E740 0020B6A0 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 8020E744 0020B6A4 7F 64 DB 78 */ mr r4, r27 /* 8020E748 0020B6A8 C0 03 00 08 */ lfs f0, 8(r3) /* 8020E74C 0020B6AC 38 A1 00 0C */ addi r5, r1, 0xc /* 8020E750 0020B6B0 C0 61 00 28 */ lfs f3, 0x28(r1) /* 8020E754 0020B6B4 C0 43 00 04 */ lfs f2, 4(r3) /* 8020E758 0020B6B8 EC 81 00 32 */ fmuls f4, f1, f0 /* 8020E75C 0020B6BC C0 03 00 00 */ lfs f0, 0(r3) /* 8020E760 0020B6C0 38 61 00 18 */ addi r3, r1, 0x18 /* 8020E764 0020B6C4 C0 21 00 24 */ lfs f1, 0x24(r1) /* 8020E768 0020B6C8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 8020E76C 0020B6CC D0 81 00 14 */ stfs f4, 0x14(r1) /* 8020E770 0020B6D0 EC 01 00 32 */ fmuls f0, f1, f0 /* 8020E774 0020B6D4 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8020E778 0020B6D8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8020E77C 0020B6DC 48 10 43 6D */ bl __ml__12CTransform4fCFRC9CVector3f /* 8020E780 0020B6E0 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8020E784 0020B6E4 38 7D 00 04 */ addi r3, r29, 4 /* 8020E788 0020B6E8 C0 01 00 18 */ lfs f0, 0x18(r1) /* 8020E78C 0020B6EC 7C 60 1A 14 */ add r3, r0, r3 /* 8020E790 0020B6F0 D0 03 00 00 */ stfs f0, 0(r3) /* 8020E794 0020B6F4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8020E798 0020B6F8 D0 03 00 04 */ stfs f0, 4(r3) /* 8020E79C 0020B6FC C0 01 00 20 */ lfs f0, 0x20(r1) /* 8020E7A0 0020B700 D0 03 00 08 */ stfs f0, 8(r3) lbl_8020E7A4: /* 8020E7A4 0020B704 3B BD 00 40 */ addi r29, r29, 0x40 /* 8020E7A8 0020B708 3B 9C 00 01 */ addi r28, r28, 1 lbl_8020E7AC: /* 8020E7AC 0020B70C 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E7B0 0020B710 7C 1C 00 00 */ cmpw r28, r0 /* 8020E7B4 0020B714 41 80 FF 6C */ blt lbl_8020E720 /* 8020E7B8 0020B718 7F E3 FB 78 */ mr r3, r31 /* 8020E7BC 0020B71C 7F 44 D3 78 */ mr r4, r26 /* 8020E7C0 0020B720 38 A0 00 02 */ li r5, 2 /* 8020E7C4 0020B724 4B FF F0 09 */ bl SatisfyWorldConstraints__8CRagDollFR13CStateManageri /* 8020E7C8 0020B728 38 C0 00 00 */ li r6, 0 /* 8020E7CC 0020B72C 38 E0 00 00 */ li r7, 0 /* 8020E7D0 0020B730 7C C5 33 78 */ mr r5, r6 /* 8020E7D4 0020B734 48 00 00 20 */ b lbl_8020E7F4 lbl_8020E7D8: /* 8020E7D8 0020B738 80 9F 00 10 */ lwz r4, 0x10(r31) /* 8020E7DC 0020B73C 38 66 00 3C */ addi r3, r6, 0x3c /* 8020E7E0 0020B740 38 C6 00 40 */ addi r6, r6, 0x40 /* 8020E7E4 0020B744 38 E7 00 01 */ addi r7, r7, 1 /* 8020E7E8 0020B748 7C 04 18 AE */ lbzx r0, r4, r3 /* 8020E7EC 0020B74C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8020E7F0 0020B750 7C 04 19 AE */ stbx r0, r4, r3 lbl_8020E7F4: /* 8020E7F4 0020B754 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E7F8 0020B758 7C 07 00 00 */ cmpw r7, r0 /* 8020E7FC 0020B75C 41 80 FF DC */ blt lbl_8020E7D8 /* 8020E800 0020B760 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020E804 0020B764 38 60 00 01 */ li r3, 1 /* 8020E808 0020B768 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8020E80C 0020B76C 98 1F 00 68 */ stb r0, 0x68(r31) /* 8020E810 0020B770 BB 41 00 38 */ lmw r26, 0x38(r1) /* 8020E814 0020B774 80 01 00 54 */ lwz r0, 0x54(r1) /* 8020E818 0020B778 7C 08 03 A6 */ mtlr r0 /* 8020E81C 0020B77C 38 21 00 50 */ addi r1, r1, 0x50 /* 8020E820 0020B780 4E 80 00 20 */ blr .global SatisfyWorldConstraintsOnConstruction__8CRagDollFR13CStateManager SatisfyWorldConstraintsOnConstruction__8CRagDollFR13CStateManager: /* 8020E824 0020B784 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020E828 0020B788 7C 08 02 A6 */ mflr r0 /* 8020E82C 0020B78C 39 00 00 00 */ li r8, 0 /* 8020E830 0020B790 38 E0 00 00 */ li r7, 0 /* 8020E834 0020B794 90 01 00 14 */ stw r0, 0x14(r1) /* 8020E838 0020B798 38 C0 00 01 */ li r6, 1 /* 8020E83C 0020B79C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020E840 0020B7A0 7C 7F 1B 78 */ mr r31, r3 /* 8020E844 0020B7A4 48 00 00 20 */ b lbl_8020E864 lbl_8020E848: /* 8020E848 0020B7A8 80 BF 00 10 */ lwz r5, 0x10(r31) /* 8020E84C 0020B7AC 38 67 00 3C */ addi r3, r7, 0x3c /* 8020E850 0020B7B0 38 E7 00 40 */ addi r7, r7, 0x40 /* 8020E854 0020B7B4 39 08 00 01 */ addi r8, r8, 1 /* 8020E858 0020B7B8 7C 05 18 AE */ lbzx r0, r5, r3 /* 8020E85C 0020B7BC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 8020E860 0020B7C0 7C 05 19 AE */ stbx r0, r5, r3 lbl_8020E864: /* 8020E864 0020B7C4 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E868 0020B7C8 7C 08 00 00 */ cmpw r8, r0 /* 8020E86C 0020B7CC 41 80 FF DC */ blt lbl_8020E848 /* 8020E870 0020B7D0 7F E3 FB 78 */ mr r3, r31 /* 8020E874 0020B7D4 38 A0 00 02 */ li r5, 2 /* 8020E878 0020B7D8 4B FF EF 55 */ bl SatisfyWorldConstraints__8CRagDollFR13CStateManageri /* 8020E87C 0020B7DC 38 A0 00 00 */ li r5, 0 /* 8020E880 0020B7E0 38 60 00 00 */ li r3, 0 /* 8020E884 0020B7E4 48 00 00 2C */ b lbl_8020E8B0 lbl_8020E888: /* 8020E888 0020B7E8 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8020E88C 0020B7EC 38 A5 00 01 */ addi r5, r5, 1 /* 8020E890 0020B7F0 7C 80 1A 14 */ add r4, r0, r3 /* 8020E894 0020B7F4 38 63 00 40 */ addi r3, r3, 0x40 /* 8020E898 0020B7F8 C0 04 00 04 */ lfs f0, 4(r4) /* 8020E89C 0020B7FC D0 04 00 14 */ stfs f0, 0x14(r4) /* 8020E8A0 0020B800 C0 04 00 08 */ lfs f0, 8(r4) /* 8020E8A4 0020B804 D0 04 00 18 */ stfs f0, 0x18(r4) /* 8020E8A8 0020B808 C0 04 00 0C */ lfs f0, 0xc(r4) /* 8020E8AC 0020B80C D0 04 00 1C */ stfs f0, 0x1c(r4) lbl_8020E8B0: /* 8020E8B0 0020B810 80 1F 00 08 */ lwz r0, 8(r31) /* 8020E8B4 0020B814 7C 05 00 00 */ cmpw r5, r0 /* 8020E8B8 0020B818 41 80 FF D0 */ blt lbl_8020E888 /* 8020E8BC 0020B81C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020E8C0 0020B820 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020E8C4 0020B824 7C 08 03 A6 */ mtlr r0 /* 8020E8C8 0020B828 38 21 00 10 */ addi r1, r1, 0x10 /* 8020E8CC 0020B82C 4E 80 00 20 */ blr .global __ct__8CRagDollFfffUi __ct__8CRagDollFfffUi: /* 8020E8D0 0020B830 3C C0 80 3E */ lis r6, lbl_803E70D0@ha /* 8020E8D4 0020B834 3C A0 80 5A */ lis r5, skZero3f@ha /* 8020E8D8 0020B838 38 06 70 D0 */ addi r0, r6, lbl_803E70D0@l /* 8020E8DC 0020B83C 39 00 00 00 */ li r8, 0 /* 8020E8E0 0020B840 90 03 00 00 */ stw r0, 0(r3) /* 8020E8E4 0020B844 38 E5 66 A0 */ addi r7, r5, skZero3f@l /* 8020E8E8 0020B848 C0 82 B1 C4 */ lfs f4, lbl_805ACEE4@sda21(r2) /* 8020E8EC 0020B84C 91 03 00 08 */ stw r8, 8(r3) /* 8020E8F0 0020B850 91 03 00 0C */ stw r8, 0xc(r3) /* 8020E8F4 0020B854 91 03 00 10 */ stw r8, 0x10(r3) /* 8020E8F8 0020B858 91 03 00 18 */ stw r8, 0x18(r3) /* 8020E8FC 0020B85C 91 03 00 1C */ stw r8, 0x1c(r3) /* 8020E900 0020B860 91 03 00 20 */ stw r8, 0x20(r3) /* 8020E904 0020B864 91 03 00 28 */ stw r8, 0x28(r3) /* 8020E908 0020B868 91 03 00 2C */ stw r8, 0x2c(r3) /* 8020E90C 0020B86C 91 03 00 30 */ stw r8, 0x30(r3) /* 8020E910 0020B870 91 03 00 38 */ stw r8, 0x38(r3) /* 8020E914 0020B874 91 03 00 3C */ stw r8, 0x3c(r3) /* 8020E918 0020B878 91 03 00 40 */ stw r8, 0x40(r3) /* 8020E91C 0020B87C D0 23 00 44 */ stfs f1, 0x44(r3) /* 8020E920 0020B880 D0 43 00 48 */ stfs f2, 0x48(r3) /* 8020E924 0020B884 91 03 00 4C */ stw r8, 0x4c(r3) /* 8020E928 0020B888 D0 63 00 50 */ stfs f3, 0x50(r3) /* 8020E92C 0020B88C D0 83 00 54 */ stfs f4, 0x54(r3) /* 8020E930 0020B890 C0 07 00 00 */ lfs f0, 0(r7) /* 8020E934 0020B894 D0 03 00 58 */ stfs f0, 0x58(r3) /* 8020E938 0020B898 C0 07 00 04 */ lfs f0, 4(r7) /* 8020E93C 0020B89C D0 03 00 5C */ stfs f0, 0x5c(r3) /* 8020E940 0020B8A0 C0 07 00 08 */ lfs f0, 8(r7) /* 8020E944 0020B8A4 D0 03 00 60 */ stfs f0, 0x60(r3) /* 8020E948 0020B8A8 D0 83 00 64 */ stfs f4, 0x64(r3) /* 8020E94C 0020B8AC 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020E950 0020B8B0 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 /* 8020E954 0020B8B4 98 03 00 68 */ stb r0, 0x68(r3) /* 8020E958 0020B8B8 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020E95C 0020B8BC 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 /* 8020E960 0020B8C0 98 03 00 68 */ stb r0, 0x68(r3) /* 8020E964 0020B8C4 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020E968 0020B8C8 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a /* 8020E96C 0020B8CC 98 03 00 68 */ stb r0, 0x68(r3) /* 8020E970 0020B8D0 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020E974 0020B8D4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8020E978 0020B8D8 98 03 00 68 */ stb r0, 0x68(r3) /* 8020E97C 0020B8DC 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020E980 0020B8E0 50 80 17 38 */ rlwimi r0, r4, 2, 0x1c, 0x1c /* 8020E984 0020B8E4 98 03 00 68 */ stb r0, 0x68(r3) /* 8020E988 0020B8E8 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020E98C 0020B8EC 50 80 07 7A */ rlwimi r0, r4, 0, 0x1d, 0x1d /* 8020E990 0020B8F0 98 03 00 68 */ stb r0, 0x68(r3) /* 8020E994 0020B8F4 4E 80 00 20 */ blr .global SetControls__12CGameOptionsFi SetControls__12CGameOptionsFi: /* 8020E998 0020B8F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020E99C 0020B8FC 7C 08 02 A6 */ mflr r0 /* 8020E9A0 0020B900 2C 04 00 01 */ cmpwi r4, 1 /* 8020E9A4 0020B904 90 01 00 14 */ stw r0, 0x14(r1) /* 8020E9A8 0020B908 41 82 00 20 */ beq lbl_8020E9C8 /* 8020E9AC 0020B90C 40 80 00 24 */ bge lbl_8020E9D0 /* 8020E9B0 0020B910 2C 04 00 00 */ cmpwi r4, 0 /* 8020E9B4 0020B914 40 80 00 08 */ bge lbl_8020E9BC /* 8020E9B8 0020B918 48 00 00 18 */ b lbl_8020E9D0 lbl_8020E9BC: /* 8020E9BC 0020B91C 80 0D A1 2C */ lwz r0, gpTweakPlayerControl1@sda21(r13) /* 8020E9C0 0020B920 90 0D A1 28 */ stw r0, gpTweakPlayerControlCurrent@sda21(r13) /* 8020E9C4 0020B924 48 00 00 0C */ b lbl_8020E9D0 lbl_8020E9C8: /* 8020E9C8 0020B928 80 0D A1 30 */ lwz r0, gpTweakPlayerControl2@sda21(r13) /* 8020E9CC 0020B92C 90 0D A1 28 */ stw r0, gpTweakPlayerControlCurrent@sda21(r13) lbl_8020E9D0: /* 8020E9D0 0020B930 48 00 00 15 */ bl ResetControllerAssets__12CGameOptionsFv /* 8020E9D4 0020B934 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020E9D8 0020B938 7C 08 03 A6 */ mtlr r0 /* 8020E9DC 0020B93C 38 21 00 10 */ addi r1, r1, 0x10 /* 8020E9E0 0020B940 4E 80 00 20 */ blr .global ResetControllerAssets__12CGameOptionsFv ResetControllerAssets__12CGameOptionsFv: /* 8020E9E4 0020B944 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8020E9E8 0020B948 7C 08 02 A6 */ mflr r0 /* 8020E9EC 0020B94C 2C 04 00 01 */ cmpwi r4, 1 /* 8020E9F0 0020B950 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8020E9F4 0020B954 BE 81 00 A0 */ stmw r20, 0xa0(r1) /* 8020E9F8 0020B958 7C 7D 1B 78 */ mr r29, r3 /* 8020E9FC 0020B95C 41 82 00 74 */ beq lbl_8020EA70 /* 8020EA00 0020B960 40 80 02 A0 */ bge lbl_8020ECA0 /* 8020EA04 0020B964 2C 04 00 00 */ cmpwi r4, 0 /* 8020EA08 0020B968 40 80 00 08 */ bge lbl_8020EA10 /* 8020EA0C 0020B96C 48 00 02 94 */ b lbl_8020ECA0 lbl_8020EA10: /* 8020EA10 0020B970 38 00 00 00 */ li r0, 0 /* 8020EA14 0020B974 38 7D 00 6C */ addi r3, r29, 0x6c /* 8020EA18 0020B978 90 01 00 38 */ stw r0, 0x38(r1) /* 8020EA1C 0020B97C 38 81 00 34 */ addi r4, r1, 0x34 /* 8020EA20 0020B980 90 01 00 3C */ stw r0, 0x3c(r1) /* 8020EA24 0020B984 90 01 00 40 */ stw r0, 0x40(r1) /* 8020EA28 0020B988 4B DF 4E A9 */ bl sub_800038d0 /* 8020EA2C 0020B98C 80 01 00 38 */ lwz r0, 0x38(r1) /* 8020EA30 0020B990 80 61 00 40 */ lwz r3, 0x40(r1) /* 8020EA34 0020B994 54 00 18 38 */ slwi r0, r0, 3 /* 8020EA38 0020B998 7C 03 02 14 */ add r0, r3, r0 /* 8020EA3C 0020B99C 90 61 00 28 */ stw r3, 0x28(r1) /* 8020EA40 0020B9A0 7C 64 1B 78 */ mr r4, r3 /* 8020EA44 0020B9A4 90 01 00 30 */ stw r0, 0x30(r1) /* 8020EA48 0020B9A8 90 01 00 2C */ stw r0, 0x2c(r1) /* 8020EA4C 0020B9AC 90 61 00 24 */ stw r3, 0x24(r1) /* 8020EA50 0020B9B0 48 00 00 08 */ b lbl_8020EA58 lbl_8020EA54: /* 8020EA54 0020B9B4 38 84 00 08 */ addi r4, r4, 8 lbl_8020EA58: /* 8020EA58 0020B9B8 7C 04 00 40 */ cmplw r4, r0 /* 8020EA5C 0020B9BC 40 82 FF F8 */ bne lbl_8020EA54 /* 8020EA60 0020B9C0 28 03 00 00 */ cmplwi r3, 0 /* 8020EA64 0020B9C4 41 82 02 3C */ beq lbl_8020ECA0 /* 8020EA68 0020B9C8 48 10 6E C9 */ bl Free__7CMemoryFPCv /* 8020EA6C 0020B9CC 48 00 02 34 */ b lbl_8020ECA0 lbl_8020EA70: /* 8020EA70 0020B9D0 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EA74 0020B9D4 2C 00 00 00 */ cmpwi r0, 0 /* 8020EA78 0020B9D8 40 82 02 28 */ bne lbl_8020ECA0 /* 8020EA7C 0020B9DC 82 8D 94 5C */ lwz r20, lbl_805A801C@sda21(r13) /* 8020EA80 0020B9E0 38 7D 00 6C */ addi r3, r29, 0x6c /* 8020EA84 0020B9E4 82 AD 94 60 */ lwz r21, lbl_805A8020@sda21(r13) /* 8020EA88 0020B9E8 38 80 00 0F */ li r4, 0xf /* 8020EA8C 0020B9EC 82 CD 94 64 */ lwz r22, lbl_805A8024@sda21(r13) /* 8020EA90 0020B9F0 82 ED 94 68 */ lwz r23, lbl_805A8028@sda21(r13) /* 8020EA94 0020B9F4 83 0D 94 6C */ lwz r24, lbl_805A802C@sda21(r13) /* 8020EA98 0020B9F8 83 2D 94 70 */ lwz r25, lbl_805A8030@sda21(r13) /* 8020EA9C 0020B9FC 83 4D 94 74 */ lwz r26, lbl_805A8034@sda21(r13) /* 8020EAA0 0020BA00 83 6D 94 78 */ lwz r27, lbl_805A8038@sda21(r13) /* 8020EAA4 0020BA04 83 8D 94 7C */ lwz r28, lbl_805A803C@sda21(r13) /* 8020EAA8 0020BA08 83 ED 94 80 */ lwz r31, lbl_805A8040@sda21(r13) /* 8020EAAC 0020BA0C 83 CD 94 84 */ lwz r30, lbl_805A8044@sda21(r13) /* 8020EAB0 0020BA10 81 8D 94 88 */ lwz r12, lbl_805A8048@sda21(r13) /* 8020EAB4 0020BA14 81 6D 94 8C */ lwz r11, lbl_805A804C@sda21(r13) /* 8020EAB8 0020BA18 81 4D 94 90 */ lwz r10, lbl_805A8050@sda21(r13) /* 8020EABC 0020BA1C 81 2D 94 94 */ lwz r9, lbl_805A8054@sda21(r13) /* 8020EAC0 0020BA20 81 0D 94 98 */ lwz r8, lbl_805A8058@sda21(r13) /* 8020EAC4 0020BA24 80 ED 94 9C */ lwz r7, lbl_805A805C@sda21(r13) /* 8020EAC8 0020BA28 80 CD 94 A0 */ lwz r6, lbl_805A8060@sda21(r13) /* 8020EACC 0020BA2C 80 AD 94 A4 */ lwz r5, lbl_805A8064@sda21(r13) /* 8020EAD0 0020BA30 80 0D 94 A8 */ lwz r0, lbl_805A8068@sda21(r13) /* 8020EAD4 0020BA34 92 81 00 6C */ stw r20, 0x6c(r1) /* 8020EAD8 0020BA38 92 A1 00 70 */ stw r21, 0x70(r1) /* 8020EADC 0020BA3C 92 C1 00 74 */ stw r22, 0x74(r1) /* 8020EAE0 0020BA40 92 E1 00 78 */ stw r23, 0x78(r1) /* 8020EAE4 0020BA44 93 01 00 7C */ stw r24, 0x7c(r1) /* 8020EAE8 0020BA48 93 21 00 80 */ stw r25, 0x80(r1) /* 8020EAEC 0020BA4C 93 41 00 84 */ stw r26, 0x84(r1) /* 8020EAF0 0020BA50 93 61 00 88 */ stw r27, 0x88(r1) /* 8020EAF4 0020BA54 93 81 00 8C */ stw r28, 0x8c(r1) /* 8020EAF8 0020BA58 93 E1 00 90 */ stw r31, 0x90(r1) /* 8020EAFC 0020BA5C 93 C1 00 44 */ stw r30, 0x44(r1) /* 8020EB00 0020BA60 91 81 00 48 */ stw r12, 0x48(r1) /* 8020EB04 0020BA64 91 61 00 4C */ stw r11, 0x4c(r1) /* 8020EB08 0020BA68 91 41 00 50 */ stw r10, 0x50(r1) /* 8020EB0C 0020BA6C 91 21 00 54 */ stw r9, 0x54(r1) /* 8020EB10 0020BA70 91 01 00 58 */ stw r8, 0x58(r1) /* 8020EB14 0020BA74 90 E1 00 5C */ stw r7, 0x5c(r1) /* 8020EB18 0020BA78 90 C1 00 60 */ stw r6, 0x60(r1) /* 8020EB1C 0020BA7C 90 A1 00 64 */ stw r5, 0x64(r1) /* 8020EB20 0020BA80 90 01 00 68 */ stw r0, 0x68(r1) /* 8020EB24 0020BA84 4B DF 9F 29 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" /* 8020EB28 0020BA88 3B C0 00 00 */ li r30, 0 /* 8020EB2C 0020BA8C 3B E1 00 6C */ addi r31, r1, 0x6c lbl_8020EB30: /* 8020EB30 0020BA90 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EB34 0020BA94 80 BD 00 74 */ lwz r5, 0x74(r29) /* 8020EB38 0020BA98 82 9F 00 00 */ lwz r20, 0(r31) /* 8020EB3C 0020BA9C 7C 00 28 00 */ cmpw r0, r5 /* 8020EB40 0020BAA0 82 BF 00 04 */ lwz r21, 4(r31) /* 8020EB44 0020BAA4 41 80 00 1C */ blt lbl_8020EB60 /* 8020EB48 0020BAA8 2C 05 00 00 */ cmpwi r5, 0 /* 8020EB4C 0020BAAC 38 7D 00 6C */ addi r3, r29, 0x6c /* 8020EB50 0020BAB0 38 80 00 04 */ li r4, 4 /* 8020EB54 0020BAB4 41 82 00 08 */ beq lbl_8020EB5C /* 8020EB58 0020BAB8 54 A4 08 3C */ slwi r4, r5, 1 lbl_8020EB5C: /* 8020EB5C 0020BABC 4B DF 9E F1 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" lbl_8020EB60: /* 8020EB60 0020BAC0 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EB64 0020BAC4 80 7D 00 78 */ lwz r3, 0x78(r29) /* 8020EB68 0020BAC8 54 00 18 38 */ slwi r0, r0, 3 /* 8020EB6C 0020BACC 7C 63 02 15 */ add. r3, r3, r0 /* 8020EB70 0020BAD0 41 82 00 0C */ beq lbl_8020EB7C /* 8020EB74 0020BAD4 92 83 00 00 */ stw r20, 0(r3) /* 8020EB78 0020BAD8 92 A3 00 04 */ stw r21, 4(r3) lbl_8020EB7C: /* 8020EB7C 0020BADC 80 7D 00 70 */ lwz r3, 0x70(r29) /* 8020EB80 0020BAE0 82 9F 00 04 */ lwz r20, 4(r31) /* 8020EB84 0020BAE4 38 03 00 01 */ addi r0, r3, 1 /* 8020EB88 0020BAE8 82 BF 00 00 */ lwz r21, 0(r31) /* 8020EB8C 0020BAEC 90 1D 00 70 */ stw r0, 0x70(r29) /* 8020EB90 0020BAF0 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EB94 0020BAF4 80 BD 00 74 */ lwz r5, 0x74(r29) /* 8020EB98 0020BAF8 7C 00 28 00 */ cmpw r0, r5 /* 8020EB9C 0020BAFC 41 80 00 1C */ blt lbl_8020EBB8 /* 8020EBA0 0020BB00 2C 05 00 00 */ cmpwi r5, 0 /* 8020EBA4 0020BB04 38 7D 00 6C */ addi r3, r29, 0x6c /* 8020EBA8 0020BB08 38 80 00 04 */ li r4, 4 /* 8020EBAC 0020BB0C 41 82 00 08 */ beq lbl_8020EBB4 /* 8020EBB0 0020BB10 54 A4 08 3C */ slwi r4, r5, 1 lbl_8020EBB4: /* 8020EBB4 0020BB14 4B DF 9E 99 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" lbl_8020EBB8: /* 8020EBB8 0020BB18 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EBBC 0020BB1C 80 7D 00 78 */ lwz r3, 0x78(r29) /* 8020EBC0 0020BB20 54 00 18 38 */ slwi r0, r0, 3 /* 8020EBC4 0020BB24 7C 63 02 15 */ add. r3, r3, r0 /* 8020EBC8 0020BB28 41 82 00 0C */ beq lbl_8020EBD4 /* 8020EBCC 0020BB2C 92 83 00 00 */ stw r20, 0(r3) /* 8020EBD0 0020BB30 92 A3 00 04 */ stw r21, 4(r3) lbl_8020EBD4: /* 8020EBD4 0020BB34 80 7D 00 70 */ lwz r3, 0x70(r29) /* 8020EBD8 0020BB38 3B DE 00 01 */ addi r30, r30, 1 /* 8020EBDC 0020BB3C 2C 1E 00 05 */ cmpwi r30, 5 /* 8020EBE0 0020BB40 3B FF 00 08 */ addi r31, r31, 8 /* 8020EBE4 0020BB44 38 03 00 01 */ addi r0, r3, 1 /* 8020EBE8 0020BB48 90 1D 00 70 */ stw r0, 0x70(r29) /* 8020EBEC 0020BB4C 41 80 FF 44 */ blt lbl_8020EB30 /* 8020EBF0 0020BB50 3A E0 00 00 */ li r23, 0 /* 8020EBF4 0020BB54 3A C1 00 44 */ addi r22, r1, 0x44 lbl_8020EBF8: /* 8020EBF8 0020BB58 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EBFC 0020BB5C 80 BD 00 74 */ lwz r5, 0x74(r29) /* 8020EC00 0020BB60 82 96 00 00 */ lwz r20, 0(r22) /* 8020EC04 0020BB64 7C 00 28 00 */ cmpw r0, r5 /* 8020EC08 0020BB68 82 B6 00 04 */ lwz r21, 4(r22) /* 8020EC0C 0020BB6C 41 80 00 1C */ blt lbl_8020EC28 /* 8020EC10 0020BB70 2C 05 00 00 */ cmpwi r5, 0 /* 8020EC14 0020BB74 38 7D 00 6C */ addi r3, r29, 0x6c /* 8020EC18 0020BB78 38 80 00 04 */ li r4, 4 /* 8020EC1C 0020BB7C 41 82 00 08 */ beq lbl_8020EC24 /* 8020EC20 0020BB80 54 A4 08 3C */ slwi r4, r5, 1 lbl_8020EC24: /* 8020EC24 0020BB84 4B DF 9E 29 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" lbl_8020EC28: /* 8020EC28 0020BB88 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EC2C 0020BB8C 80 7D 00 78 */ lwz r3, 0x78(r29) /* 8020EC30 0020BB90 54 00 18 38 */ slwi r0, r0, 3 /* 8020EC34 0020BB94 7C 63 02 15 */ add. r3, r3, r0 /* 8020EC38 0020BB98 41 82 00 0C */ beq lbl_8020EC44 /* 8020EC3C 0020BB9C 92 83 00 00 */ stw r20, 0(r3) /* 8020EC40 0020BBA0 92 A3 00 04 */ stw r21, 4(r3) lbl_8020EC44: /* 8020EC44 0020BBA4 80 7D 00 70 */ lwz r3, 0x70(r29) /* 8020EC48 0020BBA8 3A F7 00 01 */ addi r23, r23, 1 /* 8020EC4C 0020BBAC 2C 17 00 05 */ cmpwi r23, 5 /* 8020EC50 0020BBB0 3A D6 00 08 */ addi r22, r22, 8 /* 8020EC54 0020BBB4 38 03 00 01 */ addi r0, r3, 1 /* 8020EC58 0020BBB8 90 1D 00 70 */ stw r0, 0x70(r29) /* 8020EC5C 0020BBBC 41 80 FF 9C */ blt lbl_8020EBF8 /* 8020EC60 0020BBC0 88 E1 00 10 */ lbz r7, 0x10(r1) /* 8020EC64 0020BBC4 38 61 00 14 */ addi r3, r1, 0x14 /* 8020EC68 0020BBC8 38 81 00 1C */ addi r4, r1, 0x1c /* 8020EC6C 0020BBCC 38 A1 00 08 */ addi r5, r1, 8 /* 8020EC70 0020BBD0 98 E1 00 08 */ stb r7, 8(r1) /* 8020EC74 0020BBD4 80 1D 00 70 */ lwz r0, 0x70(r29) /* 8020EC78 0020BBD8 80 DD 00 78 */ lwz r6, 0x78(r29) /* 8020EC7C 0020BBDC 54 00 18 38 */ slwi r0, r0, 3 /* 8020EC80 0020BBE0 98 E1 00 0C */ stb r7, 0xc(r1) /* 8020EC84 0020BBE4 7C C6 02 14 */ add r6, r6, r0 /* 8020EC88 0020BBE8 90 C1 00 1C */ stw r6, 0x1c(r1) /* 8020EC8C 0020BBEC 80 1D 00 78 */ lwz r0, 0x78(r29) /* 8020EC90 0020BBF0 90 C1 00 20 */ stw r6, 0x20(r1) /* 8020EC94 0020BBF4 90 01 00 18 */ stw r0, 0x18(r1) /* 8020EC98 0020BBF8 90 01 00 14 */ stw r0, 0x14(r1) /* 8020EC9C 0020BBFC 48 00 0D 05 */ bl sub_8020f9a0 lbl_8020ECA0: /* 8020ECA0 0020BC00 BA 81 00 A0 */ lmw r20, 0xa0(r1) /* 8020ECA4 0020BC04 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8020ECA8 0020BC08 7C 08 03 A6 */ mtlr r0 /* 8020ECAC 0020BC0C 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8020ECB0 0020BC10 4E 80 00 20 */ blr .global ToggleControls__12CGameOptionsFb ToggleControls__12CGameOptionsFb: /* 8020ECB4 0020BC14 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020ECB8 0020BC18 7C 08 02 A6 */ mflr r0 /* 8020ECBC 0020BC1C 54 84 06 3F */ clrlwi. r4, r4, 0x18 /* 8020ECC0 0020BC20 90 01 00 14 */ stw r0, 0x14(r1) /* 8020ECC4 0020BC24 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020ECC8 0020BC28 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8020ECCC 0020BC2C 98 03 00 68 */ stb r0, 0x68(r3) /* 8020ECD0 0020BC30 41 82 00 10 */ beq lbl_8020ECE0 /* 8020ECD4 0020BC34 38 80 00 01 */ li r4, 1 /* 8020ECD8 0020BC38 4B FF FC C1 */ bl SetControls__12CGameOptionsFi /* 8020ECDC 0020BC3C 48 00 00 0C */ b lbl_8020ECE8 lbl_8020ECE0: /* 8020ECE0 0020BC40 38 80 00 00 */ li r4, 0 /* 8020ECE4 0020BC44 4B FF FC B5 */ bl SetControls__12CGameOptionsFi lbl_8020ECE8: /* 8020ECE8 0020BC48 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020ECEC 0020BC4C 7C 08 03 A6 */ mtlr r0 /* 8020ECF0 0020BC50 38 21 00 10 */ addi r1, r1, 0x10 /* 8020ECF4 0020BC54 4E 80 00 20 */ blr .global SetIsRumbleEnabled__12CGameOptionsFb SetIsRumbleEnabled__12CGameOptionsFb: /* 8020ECF8 0020BC58 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020ECFC 0020BC5C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 8020ED00 0020BC60 98 03 00 68 */ stb r0, 0x68(r3) /* 8020ED04 0020BC64 4E 80 00 20 */ blr .global SetInvertYAxis__12CGameOptionsFb SetInvertYAxis__12CGameOptionsFb: /* 8020ED08 0020BC68 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020ED0C 0020BC6C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8020ED10 0020BC70 98 03 00 68 */ stb r0, 0x68(r3) /* 8020ED14 0020BC74 4E 80 00 20 */ blr .global SetIsHintSystemEnabled__12CGameOptionsFb SetIsHintSystemEnabled__12CGameOptionsFb: /* 8020ED18 0020BC78 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020ED1C 0020BC7C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 8020ED20 0020BC80 98 03 00 68 */ stb r0, 0x68(r3) /* 8020ED24 0020BC84 4E 80 00 20 */ blr .global SetHUDLag__12CGameOptionsFb SetHUDLag__12CGameOptionsFb: /* 8020ED28 0020BC88 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020ED2C 0020BC8C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8020ED30 0020BC90 98 03 00 68 */ stb r0, 0x68(r3) /* 8020ED34 0020BC94 4E 80 00 20 */ blr .global SetHelmetAlpha__12CGameOptionsFi SetHelmetAlpha__12CGameOptionsFi: /* 8020ED38 0020BC98 90 83 00 64 */ stw r4, 0x64(r3) /* 8020ED3C 0020BC9C 4E 80 00 20 */ blr .global GetHelmetAlpha__12CGameOptionsCFv GetHelmetAlpha__12CGameOptionsCFv: /* 8020ED40 0020BCA0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020ED44 0020BCA4 3C 00 43 30 */ lis r0, 0x4330 /* 8020ED48 0020BCA8 C8 22 B2 30 */ lfd f1, lbl_805ACF50@sda21(r2) /* 8020ED4C 0020BCAC 80 63 00 64 */ lwz r3, 0x64(r3) /* 8020ED50 0020BCB0 90 01 00 08 */ stw r0, 8(r1) /* 8020ED54 0020BCB4 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 8020ED58 0020BCB8 C0 42 B2 28 */ lfs f2, lbl_805ACF48@sda21(r2) /* 8020ED5C 0020BCBC 90 01 00 0C */ stw r0, 0xc(r1) /* 8020ED60 0020BCC0 C8 01 00 08 */ lfd f0, 8(r1) /* 8020ED64 0020BCC4 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020ED68 0020BCC8 EC 22 00 32 */ fmuls f1, f2, f0 /* 8020ED6C 0020BCCC 38 21 00 10 */ addi r1, r1, 0x10 /* 8020ED70 0020BCD0 4E 80 00 20 */ blr .global GetHudAlpha__12CGameOptionsCFv GetHudAlpha__12CGameOptionsCFv: /* 8020ED74 0020BCD4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020ED78 0020BCD8 3C 00 43 30 */ lis r0, 0x4330 /* 8020ED7C 0020BCDC C8 22 B2 30 */ lfd f1, lbl_805ACF50@sda21(r2) /* 8020ED80 0020BCE0 80 63 00 60 */ lwz r3, 0x60(r3) /* 8020ED84 0020BCE4 90 01 00 08 */ stw r0, 8(r1) /* 8020ED88 0020BCE8 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 8020ED8C 0020BCEC C0 42 B2 28 */ lfs f2, lbl_805ACF48@sda21(r2) /* 8020ED90 0020BCF0 90 01 00 0C */ stw r0, 0xc(r1) /* 8020ED94 0020BCF4 C8 01 00 08 */ lfd f0, 8(r1) /* 8020ED98 0020BCF8 EC 00 08 28 */ fsubs f0, f0, f1 /* 8020ED9C 0020BCFC EC 22 00 32 */ fmuls f1, f2, f0 /* 8020EDA0 0020BD00 38 21 00 10 */ addi r1, r1, 0x10 /* 8020EDA4 0020BD04 4E 80 00 20 */ blr .global SetSurroundMode__12CGameOptionsFQ29CAudioSys14ESurroundModesi SetSurroundMode__12CGameOptionsFQ29CAudioSys14ESurroundModesi: /* 8020EDA8 0020BD08 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020EDAC 0020BD0C 7C 08 02 A6 */ mflr r0 /* 8020EDB0 0020BD10 90 01 00 24 */ stw r0, 0x24(r1) /* 8020EDB4 0020BD14 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020EDB8 0020BD18 7C BF 2B 78 */ mr r31, r5 /* 8020EDBC 0020BD1C 38 AD 94 58 */ addi r5, r13, lbl_805A8018@sda21 /* 8020EDC0 0020BD20 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020EDC4 0020BD24 7C 7E 1B 78 */ mr r30, r3 /* 8020EDC8 0020BD28 38 6D 94 54 */ addi r3, r13, lbl_805A8014@sda21 /* 8020EDCC 0020BD2C 90 81 00 08 */ stw r4, 8(r1) /* 8020EDD0 0020BD30 38 81 00 08 */ addi r4, r1, 8 /* 8020EDD4 0020BD34 4B E4 B2 91 */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020EDD8 0020BD38 80 63 00 00 */ lwz r3, 0(r3) /* 8020EDDC 0020BD3C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020EDE0 0020BD40 90 7E 00 44 */ stw r3, 0x44(r30) /* 8020EDE4 0020BD44 41 82 00 0C */ beq lbl_8020EDF0 /* 8020EDE8 0020BD48 80 7E 00 44 */ lwz r3, 0x44(r30) /* 8020EDEC 0020BD4C 48 13 BA 31 */ bl SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes lbl_8020EDF0: /* 8020EDF0 0020BD50 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020EDF4 0020BD54 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020EDF8 0020BD58 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020EDFC 0020BD5C 7C 08 03 A6 */ mtlr r0 /* 8020EE00 0020BD60 38 21 00 20 */ addi r1, r1, 0x20 /* 8020EE04 0020BD64 4E 80 00 20 */ blr .global SetMusicVolume__12CGameOptionsFib SetMusicVolume__12CGameOptionsFib: /* 8020EE08 0020BD68 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020EE0C 0020BD6C 7C 08 02 A6 */ mflr r0 /* 8020EE10 0020BD70 90 01 00 24 */ stw r0, 0x24(r1) /* 8020EE14 0020BD74 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020EE18 0020BD78 7C BF 2B 78 */ mr r31, r5 /* 8020EE1C 0020BD7C 38 AD 94 50 */ addi r5, r13, lbl_805A8010@sda21 /* 8020EE20 0020BD80 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020EE24 0020BD84 7C 7E 1B 78 */ mr r30, r3 /* 8020EE28 0020BD88 38 6D 94 4C */ addi r3, r13, lbl_805A800C@sda21 /* 8020EE2C 0020BD8C 90 81 00 08 */ stw r4, 8(r1) /* 8020EE30 0020BD90 38 81 00 08 */ addi r4, r1, 8 /* 8020EE34 0020BD94 4B E4 B2 31 */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020EE38 0020BD98 80 63 00 00 */ lwz r3, 0(r3) /* 8020EE3C 0020BD9C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020EE40 0020BDA0 90 7E 00 5C */ stw r3, 0x5c(r30) /* 8020EE44 0020BDA4 41 82 00 0C */ beq lbl_8020EE50 /* 8020EE48 0020BDA8 80 7E 00 5C */ lwz r3, 0x5c(r30) /* 8020EE4C 0020BDAC 48 15 6B E9 */ bl SetMusicVolume__19CStreamAudioManagerFi lbl_8020EE50: /* 8020EE50 0020BDB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020EE54 0020BDB4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020EE58 0020BDB8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020EE5C 0020BDBC 7C 08 03 A6 */ mtlr r0 /* 8020EE60 0020BDC0 38 21 00 20 */ addi r1, r1, 0x20 /* 8020EE64 0020BDC4 4E 80 00 20 */ blr .global SetSfxVolume__12CGameOptionsFib SetSfxVolume__12CGameOptionsFib: /* 8020EE68 0020BDC8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020EE6C 0020BDCC 7C 08 02 A6 */ mflr r0 /* 8020EE70 0020BDD0 90 01 00 24 */ stw r0, 0x24(r1) /* 8020EE74 0020BDD4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020EE78 0020BDD8 7C BF 2B 78 */ mr r31, r5 /* 8020EE7C 0020BDDC 38 AD 94 48 */ addi r5, r13, lbl_805A8008@sda21 /* 8020EE80 0020BDE0 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020EE84 0020BDE4 7C 7E 1B 78 */ mr r30, r3 /* 8020EE88 0020BDE8 38 6D 94 44 */ addi r3, r13, lbl_805A8004@sda21 /* 8020EE8C 0020BDEC 90 81 00 08 */ stw r4, 8(r1) /* 8020EE90 0020BDF0 38 81 00 08 */ addi r4, r1, 8 /* 8020EE94 0020BDF4 4B E4 B1 D1 */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020EE98 0020BDF8 80 63 00 00 */ lwz r3, 0(r3) /* 8020EE9C 0020BDFC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020EEA0 0020BE00 90 7E 00 58 */ stw r3, 0x58(r30) /* 8020EEA4 0020BE04 41 82 00 30 */ beq lbl_8020EED4 /* 8020EEA8 0020BE08 80 1E 00 58 */ lwz r0, 0x58(r30) /* 8020EEAC 0020BE0C 38 80 00 01 */ li r4, 1 /* 8020EEB0 0020BE10 38 A0 00 01 */ li r5, 1 /* 8020EEB4 0020BE14 38 C0 00 01 */ li r6, 1 /* 8020EEB8 0020BE18 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 8020EEBC 0020BE1C 48 13 D6 31 */ bl SysSetSfxVolume__9CAudioSysFUcUsUcUc /* 8020EEC0 0020BE20 80 7E 00 58 */ lwz r3, 0x58(r30) /* 8020EEC4 0020BE24 48 15 6B 59 */ bl SetSfxVolume__21CStreamedAudioManagerFUc /* 8020EEC8 0020BE28 80 1E 00 58 */ lwz r0, 0x58(r30) /* 8020EECC 0020BE2C 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 8020EED0 0020BE30 48 14 C7 0D */ bl SetSfxVolume__12CMoviePlayerFUc lbl_8020EED4: /* 8020EED4 0020BE34 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020EED8 0020BE38 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020EEDC 0020BE3C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020EEE0 0020BE40 7C 08 03 A6 */ mtlr r0 /* 8020EEE4 0020BE44 38 21 00 20 */ addi r1, r1, 0x20 /* 8020EEE8 0020BE48 4E 80 00 20 */ blr .global SetScreenStretch__12CGameOptionsFib SetScreenStretch__12CGameOptionsFib: /* 8020EEEC 0020BE4C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020EEF0 0020BE50 7C 08 02 A6 */ mflr r0 /* 8020EEF4 0020BE54 90 01 00 24 */ stw r0, 0x24(r1) /* 8020EEF8 0020BE58 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020EEFC 0020BE5C 7C BF 2B 78 */ mr r31, r5 /* 8020EF00 0020BE60 38 AD 94 40 */ addi r5, r13, lbl_805A8000@sda21 /* 8020EF04 0020BE64 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020EF08 0020BE68 7C 7E 1B 78 */ mr r30, r3 /* 8020EF0C 0020BE6C 38 6D 94 3C */ addi r3, r13, lbl_805A7FFC@sda21 /* 8020EF10 0020BE70 90 81 00 08 */ stw r4, 8(r1) /* 8020EF14 0020BE74 38 81 00 08 */ addi r4, r1, 8 /* 8020EF18 0020BE78 4B E4 B1 4D */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020EF1C 0020BE7C 80 63 00 00 */ lwz r3, 0(r3) /* 8020EF20 0020BE80 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020EF24 0020BE84 90 7E 00 54 */ stw r3, 0x54(r30) /* 8020EF28 0020BE88 41 82 00 24 */ beq lbl_8020EF4C /* 8020EF2C 0020BE8C 38 61 00 14 */ addi r3, r1, 0x14 /* 8020EF30 0020BE90 38 81 00 10 */ addi r4, r1, 0x10 /* 8020EF34 0020BE94 38 A1 00 0C */ addi r5, r1, 0xc /* 8020EF38 0020BE98 48 0F A6 2D */ bl sub_80309564 /* 8020EF3C 0020BE9C 80 7E 00 54 */ lwz r3, 0x54(r30) /* 8020EF40 0020BEA0 80 81 00 10 */ lwz r4, 0x10(r1) /* 8020EF44 0020BEA4 80 A1 00 0C */ lwz r5, 0xc(r1) /* 8020EF48 0020BEA8 48 0F A5 69 */ bl sub_803094b0 lbl_8020EF4C: /* 8020EF4C 0020BEAC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020EF50 0020BEB0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020EF54 0020BEB4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020EF58 0020BEB8 7C 08 03 A6 */ mtlr r0 /* 8020EF5C 0020BEBC 38 21 00 20 */ addi r1, r1, 0x20 /* 8020EF60 0020BEC0 4E 80 00 20 */ blr .global SetScreenPositionY__12CGameOptionsFib SetScreenPositionY__12CGameOptionsFib: /* 8020EF64 0020BEC4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020EF68 0020BEC8 7C 08 02 A6 */ mflr r0 /* 8020EF6C 0020BECC 90 01 00 24 */ stw r0, 0x24(r1) /* 8020EF70 0020BED0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020EF74 0020BED4 7C BF 2B 78 */ mr r31, r5 /* 8020EF78 0020BED8 38 AD 94 38 */ addi r5, r13, lbl_805A7FF8@sda21 /* 8020EF7C 0020BEDC 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020EF80 0020BEE0 7C 7E 1B 78 */ mr r30, r3 /* 8020EF84 0020BEE4 38 6D 94 34 */ addi r3, r13, lbl_805A7FF4@sda21 /* 8020EF88 0020BEE8 90 81 00 08 */ stw r4, 8(r1) /* 8020EF8C 0020BEEC 38 81 00 08 */ addi r4, r1, 8 /* 8020EF90 0020BEF0 4B E4 B0 D5 */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020EF94 0020BEF4 80 63 00 00 */ lwz r3, 0(r3) /* 8020EF98 0020BEF8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020EF9C 0020BEFC 90 7E 00 50 */ stw r3, 0x50(r30) /* 8020EFA0 0020BF00 41 82 00 24 */ beq lbl_8020EFC4 /* 8020EFA4 0020BF04 38 61 00 14 */ addi r3, r1, 0x14 /* 8020EFA8 0020BF08 38 81 00 10 */ addi r4, r1, 0x10 /* 8020EFAC 0020BF0C 38 A1 00 0C */ addi r5, r1, 0xc /* 8020EFB0 0020BF10 48 0F A5 B5 */ bl sub_80309564 /* 8020EFB4 0020BF14 80 61 00 14 */ lwz r3, 0x14(r1) /* 8020EFB8 0020BF18 80 81 00 10 */ lwz r4, 0x10(r1) /* 8020EFBC 0020BF1C 80 BE 00 50 */ lwz r5, 0x50(r30) /* 8020EFC0 0020BF20 48 0F A4 F1 */ bl sub_803094b0 lbl_8020EFC4: /* 8020EFC4 0020BF24 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020EFC8 0020BF28 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020EFCC 0020BF2C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020EFD0 0020BF30 7C 08 03 A6 */ mtlr r0 /* 8020EFD4 0020BF34 38 21 00 20 */ addi r1, r1, 0x20 /* 8020EFD8 0020BF38 4E 80 00 20 */ blr .global SetScreenPositionX__12CGameOptionsFib SetScreenPositionX__12CGameOptionsFib: /* 8020EFDC 0020BF3C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020EFE0 0020BF40 7C 08 02 A6 */ mflr r0 /* 8020EFE4 0020BF44 90 01 00 24 */ stw r0, 0x24(r1) /* 8020EFE8 0020BF48 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020EFEC 0020BF4C 7C BF 2B 78 */ mr r31, r5 /* 8020EFF0 0020BF50 38 AD 94 30 */ addi r5, r13, lbl_805A7FF0@sda21 /* 8020EFF4 0020BF54 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020EFF8 0020BF58 7C 7E 1B 78 */ mr r30, r3 /* 8020EFFC 0020BF5C 38 6D 94 2C */ addi r3, r13, lbl_805A7FEC@sda21 /* 8020F000 0020BF60 90 81 00 08 */ stw r4, 8(r1) /* 8020F004 0020BF64 38 81 00 08 */ addi r4, r1, 8 /* 8020F008 0020BF68 4B E4 B0 5D */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020F00C 0020BF6C 80 63 00 00 */ lwz r3, 0(r3) /* 8020F010 0020BF70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020F014 0020BF74 90 7E 00 4C */ stw r3, 0x4c(r30) /* 8020F018 0020BF78 41 82 00 24 */ beq lbl_8020F03C /* 8020F01C 0020BF7C 38 61 00 14 */ addi r3, r1, 0x14 /* 8020F020 0020BF80 38 81 00 10 */ addi r4, r1, 0x10 /* 8020F024 0020BF84 38 A1 00 0C */ addi r5, r1, 0xc /* 8020F028 0020BF88 48 0F A5 3D */ bl sub_80309564 /* 8020F02C 0020BF8C 80 61 00 14 */ lwz r3, 0x14(r1) /* 8020F030 0020BF90 80 9E 00 4C */ lwz r4, 0x4c(r30) /* 8020F034 0020BF94 80 A1 00 0C */ lwz r5, 0xc(r1) /* 8020F038 0020BF98 48 0F A4 79 */ bl sub_803094b0 lbl_8020F03C: /* 8020F03C 0020BF9C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020F040 0020BFA0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020F044 0020BFA4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020F048 0020BFA8 7C 08 03 A6 */ mtlr r0 /* 8020F04C 0020BFAC 38 21 00 20 */ addi r1, r1, 0x20 /* 8020F050 0020BFB0 4E 80 00 20 */ blr .global TuneScreenBrightness__12CGameOptionsFv TuneScreenBrightness__12CGameOptionsFv: /* 8020F054 0020BFB4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020F058 0020BFB8 3C 00 43 30 */ lis r0, 0x4330 /* 8020F05C 0020BFBC C8 62 B2 30 */ lfd f3, lbl_805ACF50@sda21(r2) /* 8020F060 0020BFC0 80 63 00 48 */ lwz r3, 0x48(r3) /* 8020F064 0020BFC4 90 01 00 08 */ stw r0, 8(r1) /* 8020F068 0020BFC8 38 03 FF FC */ addi r0, r3, -4 /* 8020F06C 0020BFCC C0 22 B2 40 */ lfs f1, lbl_805ACF60@sda21(r2) /* 8020F070 0020BFD0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8020F074 0020BFD4 C0 82 B2 3C */ lfs f4, lbl_805ACF5C@sda21(r2) /* 8020F078 0020BFD8 90 01 00 0C */ stw r0, 0xc(r1) /* 8020F07C 0020BFDC C0 02 B2 38 */ lfs f0, lbl_805ACF58@sda21(r2) /* 8020F080 0020BFE0 C8 41 00 08 */ lfd f2, 8(r1) /* 8020F084 0020BFE4 EC 42 18 28 */ fsubs f2, f2, f3 /* 8020F088 0020BFE8 EC 22 00 72 */ fmuls f1, f2, f1 /* 8020F08C 0020BFEC EC 24 00 7A */ fmadds f1, f4, f1, f0 /* 8020F090 0020BFF0 38 21 00 10 */ addi r1, r1, 0x10 /* 8020F094 0020BFF4 4E 80 00 20 */ blr .global SetScreenBrightness__12CGameOptionsFib SetScreenBrightness__12CGameOptionsFib: /* 8020F098 0020BFF8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020F09C 0020BFFC 7C 08 02 A6 */ mflr r0 /* 8020F0A0 0020C000 90 01 00 24 */ stw r0, 0x24(r1) /* 8020F0A4 0020C004 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020F0A8 0020C008 7C BF 2B 78 */ mr r31, r5 /* 8020F0AC 0020C00C 38 AD 94 28 */ addi r5, r13, lbl_805A7FE8@sda21 /* 8020F0B0 0020C010 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020F0B4 0020C014 7C 7E 1B 78 */ mr r30, r3 /* 8020F0B8 0020C018 38 6D 94 24 */ addi r3, r13, lbl_805A7FE4@sda21 /* 8020F0BC 0020C01C 90 81 00 08 */ stw r4, 8(r1) /* 8020F0C0 0020C020 38 81 00 08 */ addi r4, r1, 8 /* 8020F0C4 0020C024 4B E4 AF A1 */ bl "Clamp__5CMathFRCiRCiRCi" /* 8020F0C8 0020C028 80 63 00 00 */ lwz r3, 0(r3) /* 8020F0CC 0020C02C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8020F0D0 0020C030 90 7E 00 48 */ stw r3, 0x48(r30) /* 8020F0D4 0020C034 41 82 00 10 */ beq lbl_8020F0E4 /* 8020F0D8 0020C038 7F C3 F3 78 */ mr r3, r30 /* 8020F0DC 0020C03C 4B FF FF 79 */ bl TuneScreenBrightness__12CGameOptionsFv /* 8020F0E0 0020C040 D0 2D 9C 84 */ stfs f1, lbl_805A8844@sda21(r13) lbl_8020F0E4: /* 8020F0E4 0020C044 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020F0E8 0020C048 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020F0EC 0020C04C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020F0F0 0020C050 7C 08 03 A6 */ mtlr r0 /* 8020F0F4 0020C054 38 21 00 20 */ addi r1, r1, 0x20 /* 8020F0F8 0020C058 4E 80 00 20 */ blr .global EnsureOptions__12CGameOptionsFv EnsureOptions__12CGameOptionsFv: /* 8020F0FC 0020C05C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020F100 0020C060 7C 08 02 A6 */ mflr r0 /* 8020F104 0020C064 38 A0 00 01 */ li r5, 1 /* 8020F108 0020C068 90 01 00 14 */ stw r0, 0x14(r1) /* 8020F10C 0020C06C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020F110 0020C070 7C 7F 1B 78 */ mr r31, r3 /* 8020F114 0020C074 80 83 00 48 */ lwz r4, 0x48(r3) /* 8020F118 0020C078 4B FF FF 81 */ bl SetScreenBrightness__12CGameOptionsFib /* 8020F11C 0020C07C 80 9F 00 4C */ lwz r4, 0x4c(r31) /* 8020F120 0020C080 7F E3 FB 78 */ mr r3, r31 /* 8020F124 0020C084 38 A0 00 01 */ li r5, 1 /* 8020F128 0020C088 4B FF FE B5 */ bl SetScreenPositionX__12CGameOptionsFib /* 8020F12C 0020C08C 80 9F 00 50 */ lwz r4, 0x50(r31) /* 8020F130 0020C090 7F E3 FB 78 */ mr r3, r31 /* 8020F134 0020C094 38 A0 00 01 */ li r5, 1 /* 8020F138 0020C098 4B FF FE 2D */ bl SetScreenPositionY__12CGameOptionsFib /* 8020F13C 0020C09C 80 9F 00 54 */ lwz r4, 0x54(r31) /* 8020F140 0020C0A0 7F E3 FB 78 */ mr r3, r31 /* 8020F144 0020C0A4 38 A0 00 01 */ li r5, 1 /* 8020F148 0020C0A8 4B FF FD A5 */ bl SetScreenStretch__12CGameOptionsFib /* 8020F14C 0020C0AC 80 9F 00 58 */ lwz r4, 0x58(r31) /* 8020F150 0020C0B0 7F E3 FB 78 */ mr r3, r31 /* 8020F154 0020C0B4 38 A0 00 01 */ li r5, 1 /* 8020F158 0020C0B8 4B FF FD 11 */ bl SetSfxVolume__12CGameOptionsFib /* 8020F15C 0020C0BC 80 9F 00 5C */ lwz r4, 0x5c(r31) /* 8020F160 0020C0C0 7F E3 FB 78 */ mr r3, r31 /* 8020F164 0020C0C4 38 A0 00 01 */ li r5, 1 /* 8020F168 0020C0C8 4B FF FC A1 */ bl SetMusicVolume__12CGameOptionsFib /* 8020F16C 0020C0CC 80 9F 00 44 */ lwz r4, 0x44(r31) /* 8020F170 0020C0D0 7F E3 FB 78 */ mr r3, r31 /* 8020F174 0020C0D4 38 A0 00 01 */ li r5, 1 /* 8020F178 0020C0D8 4B FF FC 31 */ bl SetSurroundMode__12CGameOptionsFQ29CAudioSys14ESurroundModesi /* 8020F17C 0020C0DC 80 9F 00 64 */ lwz r4, 0x64(r31) /* 8020F180 0020C0E0 7F E3 FB 78 */ mr r3, r31 /* 8020F184 0020C0E4 4B FF FB B5 */ bl SetHelmetAlpha__12CGameOptionsFi /* 8020F188 0020C0E8 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F18C 0020C0EC 7F E3 FB 78 */ mr r3, r31 /* 8020F190 0020C0F0 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f /* 8020F194 0020C0F4 4B FF FB 95 */ bl SetHUDLag__12CGameOptionsFb /* 8020F198 0020C0F8 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F19C 0020C0FC 7F E3 FB 78 */ mr r3, r31 /* 8020F1A0 0020C100 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f /* 8020F1A4 0020C104 4B FF FB 65 */ bl SetInvertYAxis__12CGameOptionsFb /* 8020F1A8 0020C108 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F1AC 0020C10C 7F E3 FB 78 */ mr r3, r31 /* 8020F1B0 0020C110 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f /* 8020F1B4 0020C114 4B FF FB 45 */ bl SetIsRumbleEnabled__12CGameOptionsFb /* 8020F1B8 0020C118 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F1BC 0020C11C 7F E3 FB 78 */ mr r3, r31 /* 8020F1C0 0020C120 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f /* 8020F1C4 0020C124 4B FF FB 55 */ bl SetIsHintSystemEnabled__12CGameOptionsFb /* 8020F1C8 0020C128 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F1CC 0020C12C 7F E3 FB 78 */ mr r3, r31 /* 8020F1D0 0020C130 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f /* 8020F1D4 0020C134 4B FF FA E1 */ bl ToggleControls__12CGameOptionsFb /* 8020F1D8 0020C138 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020F1DC 0020C13C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020F1E0 0020C140 7C 08 03 A6 */ mtlr r0 /* 8020F1E4 0020C144 38 21 00 10 */ addi r1, r1, 0x10 /* 8020F1E8 0020C148 4E 80 00 20 */ blr .global ResetToDefaults__12CGameOptionsFv ResetToDefaults__12CGameOptionsFv: /* 8020F1EC 0020C14C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020F1F0 0020C150 7C 08 02 A6 */ mflr r0 /* 8020F1F4 0020C154 38 C0 00 00 */ li r6, 0 /* 8020F1F8 0020C158 38 A0 00 7F */ li r5, 0x7f /* 8020F1FC 0020C15C 90 01 00 14 */ stw r0, 0x14(r1) /* 8020F200 0020C160 38 00 00 04 */ li r0, 4 /* 8020F204 0020C164 38 80 00 01 */ li r4, 1 /* 8020F208 0020C168 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020F20C 0020C16C 7C 7F 1B 78 */ mr r31, r3 /* 8020F210 0020C170 90 03 00 48 */ stw r0, 0x48(r3) /* 8020F214 0020C174 38 00 00 FF */ li r0, 0xff /* 8020F218 0020C178 90 C3 00 4C */ stw r6, 0x4c(r3) /* 8020F21C 0020C17C 90 C3 00 50 */ stw r6, 0x50(r3) /* 8020F220 0020C180 90 C3 00 54 */ stw r6, 0x54(r3) /* 8020F224 0020C184 90 A3 00 58 */ stw r5, 0x58(r3) /* 8020F228 0020C188 90 A3 00 5C */ stw r5, 0x5c(r3) /* 8020F22C 0020C18C 90 83 00 44 */ stw r4, 0x44(r3) /* 8020F230 0020C190 90 03 00 60 */ stw r0, 0x60(r3) /* 8020F234 0020C194 90 03 00 64 */ stw r0, 0x64(r3) /* 8020F238 0020C198 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020F23C 0020C19C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8020F240 0020C1A0 98 03 00 68 */ stb r0, 0x68(r3) /* 8020F244 0020C1A4 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020F248 0020C1A8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 8020F24C 0020C1AC 98 03 00 68 */ stb r0, 0x68(r3) /* 8020F250 0020C1B0 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020F254 0020C1B4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 8020F258 0020C1B8 98 03 00 68 */ stb r0, 0x68(r3) /* 8020F25C 0020C1BC 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020F260 0020C1C0 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 8020F264 0020C1C4 98 03 00 68 */ stb r0, 0x68(r3) /* 8020F268 0020C1C8 88 03 00 68 */ lbz r0, 0x68(r3) /* 8020F26C 0020C1CC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 8020F270 0020C1D0 98 03 00 68 */ stb r0, 0x68(r3) /* 8020F274 0020C1D4 48 00 06 B5 */ bl InitSoundMode__12CGameOptionsFi /* 8020F278 0020C1D8 7F E3 FB 78 */ mr r3, r31 /* 8020F27C 0020C1DC 4B FF FE 81 */ bl EnsureOptions__12CGameOptionsFv /* 8020F280 0020C1E0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020F284 0020C1E4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020F288 0020C1E8 7C 08 03 A6 */ mtlr r0 /* 8020F28C 0020C1EC 38 21 00 10 */ addi r1, r1, 0x10 /* 8020F290 0020C1F0 4E 80 00 20 */ blr .global PutTo__12CGameOptionsFR16CMemoryStreamOut PutTo__12CGameOptionsFR16CMemoryStreamOut: /* 8020F294 0020C1F4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020F298 0020C1F8 7C 08 02 A6 */ mflr r0 /* 8020F29C 0020C1FC 90 01 00 24 */ stw r0, 0x24(r1) /* 8020F2A0 0020C200 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020F2A4 0020C204 7C 9F 23 78 */ mr r31, r4 /* 8020F2A8 0020C208 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020F2AC 0020C20C 7C 7E 1B 78 */ mr r30, r3 /* 8020F2B0 0020C210 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020F2B4 0020C214 3B A0 00 00 */ li r29, 0 /* 8020F2B8 0020C218 48 00 00 1C */ b lbl_8020F2D4 lbl_8020F2BC: /* 8020F2BC 0020C21C 7C 9E EA 14 */ add r4, r30, r29 /* 8020F2C0 0020C220 7F E3 FB 78 */ mr r3, r31 /* 8020F2C4 0020C224 88 84 00 04 */ lbz r4, 4(r4) /* 8020F2C8 0020C228 38 A0 00 08 */ li r5, 8 /* 8020F2CC 0020C22C 48 13 00 F1 */ bl WriteBits__13COutputStreamFii /* 8020F2D0 0020C230 3B BD 00 01 */ addi r29, r29, 1 lbl_8020F2D4: /* 8020F2D4 0020C234 80 1E 00 00 */ lwz r0, 0(r30) /* 8020F2D8 0020C238 7C 1D 00 00 */ cmpw r29, r0 /* 8020F2DC 0020C23C 41 80 FF E0 */ blt lbl_8020F2BC /* 8020F2E0 0020C240 83 BE 00 44 */ lwz r29, 0x44(r30) /* 8020F2E4 0020C244 38 60 00 02 */ li r3, 2 /* 8020F2E8 0020C248 48 00 06 99 */ bl CalculateBits__Fi /* 8020F2EC 0020C24C 7C 65 1B 78 */ mr r5, r3 /* 8020F2F0 0020C250 7F E3 FB 78 */ mr r3, r31 /* 8020F2F4 0020C254 7F A4 EB 78 */ mr r4, r29 /* 8020F2F8 0020C258 48 13 00 C5 */ bl WriteBits__13COutputStreamFii /* 8020F2FC 0020C25C 83 BE 00 48 */ lwz r29, 0x48(r30) /* 8020F300 0020C260 38 60 00 08 */ li r3, 8 /* 8020F304 0020C264 48 00 06 7D */ bl CalculateBits__Fi /* 8020F308 0020C268 7C 65 1B 78 */ mr r5, r3 /* 8020F30C 0020C26C 7F E3 FB 78 */ mr r3, r31 /* 8020F310 0020C270 7F A4 EB 78 */ mr r4, r29 /* 8020F314 0020C274 48 13 00 A9 */ bl WriteBits__13COutputStreamFii /* 8020F318 0020C278 80 9E 00 4C */ lwz r4, 0x4c(r30) /* 8020F31C 0020C27C 38 60 00 3C */ li r3, 0x3c /* 8020F320 0020C280 3B A4 00 1E */ addi r29, r4, 0x1e /* 8020F324 0020C284 48 00 06 5D */ bl CalculateBits__Fi /* 8020F328 0020C288 7C 65 1B 78 */ mr r5, r3 /* 8020F32C 0020C28C 7F E3 FB 78 */ mr r3, r31 /* 8020F330 0020C290 7F A4 EB 78 */ mr r4, r29 /* 8020F334 0020C294 48 13 00 89 */ bl WriteBits__13COutputStreamFii /* 8020F338 0020C298 80 9E 00 50 */ lwz r4, 0x50(r30) /* 8020F33C 0020C29C 38 60 00 3C */ li r3, 0x3c /* 8020F340 0020C2A0 3B A4 00 1E */ addi r29, r4, 0x1e /* 8020F344 0020C2A4 48 00 06 3D */ bl CalculateBits__Fi /* 8020F348 0020C2A8 7C 65 1B 78 */ mr r5, r3 /* 8020F34C 0020C2AC 7F E3 FB 78 */ mr r3, r31 /* 8020F350 0020C2B0 7F A4 EB 78 */ mr r4, r29 /* 8020F354 0020C2B4 48 13 00 69 */ bl WriteBits__13COutputStreamFii /* 8020F358 0020C2B8 80 9E 00 54 */ lwz r4, 0x54(r30) /* 8020F35C 0020C2BC 38 60 00 14 */ li r3, 0x14 /* 8020F360 0020C2C0 3B A4 00 0A */ addi r29, r4, 0xa /* 8020F364 0020C2C4 48 00 06 1D */ bl CalculateBits__Fi /* 8020F368 0020C2C8 7C 65 1B 78 */ mr r5, r3 /* 8020F36C 0020C2CC 7F E3 FB 78 */ mr r3, r31 /* 8020F370 0020C2D0 7F A4 EB 78 */ mr r4, r29 /* 8020F374 0020C2D4 48 13 00 49 */ bl WriteBits__13COutputStreamFii /* 8020F378 0020C2D8 83 BE 00 58 */ lwz r29, 0x58(r30) /* 8020F37C 0020C2DC 38 60 00 7F */ li r3, 0x7f /* 8020F380 0020C2E0 48 00 06 01 */ bl CalculateBits__Fi /* 8020F384 0020C2E4 7C 65 1B 78 */ mr r5, r3 /* 8020F388 0020C2E8 7F E3 FB 78 */ mr r3, r31 /* 8020F38C 0020C2EC 7F A4 EB 78 */ mr r4, r29 /* 8020F390 0020C2F0 48 13 00 2D */ bl WriteBits__13COutputStreamFii /* 8020F394 0020C2F4 83 BE 00 5C */ lwz r29, 0x5c(r30) /* 8020F398 0020C2F8 38 60 00 7F */ li r3, 0x7f /* 8020F39C 0020C2FC 48 00 05 E5 */ bl CalculateBits__Fi /* 8020F3A0 0020C300 7C 65 1B 78 */ mr r5, r3 /* 8020F3A4 0020C304 7F E3 FB 78 */ mr r3, r31 /* 8020F3A8 0020C308 7F A4 EB 78 */ mr r4, r29 /* 8020F3AC 0020C30C 48 13 00 11 */ bl WriteBits__13COutputStreamFii /* 8020F3B0 0020C310 83 BE 00 60 */ lwz r29, 0x60(r30) /* 8020F3B4 0020C314 38 60 00 FF */ li r3, 0xff /* 8020F3B8 0020C318 48 00 05 C9 */ bl CalculateBits__Fi /* 8020F3BC 0020C31C 7C 65 1B 78 */ mr r5, r3 /* 8020F3C0 0020C320 7F E3 FB 78 */ mr r3, r31 /* 8020F3C4 0020C324 7F A4 EB 78 */ mr r4, r29 /* 8020F3C8 0020C328 48 12 FF F5 */ bl WriteBits__13COutputStreamFii /* 8020F3CC 0020C32C 83 BE 00 64 */ lwz r29, 0x64(r30) /* 8020F3D0 0020C330 38 60 00 FF */ li r3, 0xff /* 8020F3D4 0020C334 48 00 05 AD */ bl CalculateBits__Fi /* 8020F3D8 0020C338 7C 65 1B 78 */ mr r5, r3 /* 8020F3DC 0020C33C 7F E3 FB 78 */ mr r3, r31 /* 8020F3E0 0020C340 7F A4 EB 78 */ mr r4, r29 /* 8020F3E4 0020C344 48 12 FF D9 */ bl WriteBits__13COutputStreamFii /* 8020F3E8 0020C348 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F3EC 0020C34C 7F E3 FB 78 */ mr r3, r31 /* 8020F3F0 0020C350 38 A0 00 01 */ li r5, 1 /* 8020F3F4 0020C354 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f /* 8020F3F8 0020C358 7C 04 00 D0 */ neg r0, r4 /* 8020F3FC 0020C35C 7C 00 23 78 */ or r0, r0, r4 /* 8020F400 0020C360 54 04 0F FE */ srwi r4, r0, 0x1f /* 8020F404 0020C364 48 12 FF B9 */ bl WriteBits__13COutputStreamFii /* 8020F408 0020C368 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F40C 0020C36C 7F E3 FB 78 */ mr r3, r31 /* 8020F410 0020C370 38 A0 00 01 */ li r5, 1 /* 8020F414 0020C374 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f /* 8020F418 0020C378 7C 04 00 D0 */ neg r0, r4 /* 8020F41C 0020C37C 7C 00 23 78 */ or r0, r0, r4 /* 8020F420 0020C380 54 04 0F FE */ srwi r4, r0, 0x1f /* 8020F424 0020C384 48 12 FF 99 */ bl WriteBits__13COutputStreamFii /* 8020F428 0020C388 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F42C 0020C38C 7F E3 FB 78 */ mr r3, r31 /* 8020F430 0020C390 38 A0 00 01 */ li r5, 1 /* 8020F434 0020C394 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f /* 8020F438 0020C398 7C 04 00 D0 */ neg r0, r4 /* 8020F43C 0020C39C 7C 00 23 78 */ or r0, r0, r4 /* 8020F440 0020C3A0 54 04 0F FE */ srwi r4, r0, 0x1f /* 8020F444 0020C3A4 48 12 FF 79 */ bl WriteBits__13COutputStreamFii /* 8020F448 0020C3A8 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F44C 0020C3AC 7F E3 FB 78 */ mr r3, r31 /* 8020F450 0020C3B0 38 A0 00 01 */ li r5, 1 /* 8020F454 0020C3B4 54 04 DF FE */ rlwinm r4, r0, 0x1b, 0x1f, 0x1f /* 8020F458 0020C3B8 7C 04 00 D0 */ neg r0, r4 /* 8020F45C 0020C3BC 7C 00 23 78 */ or r0, r0, r4 /* 8020F460 0020C3C0 54 04 0F FE */ srwi r4, r0, 0x1f /* 8020F464 0020C3C4 48 12 FF 59 */ bl WriteBits__13COutputStreamFii /* 8020F468 0020C3C8 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F46C 0020C3CC 7F E3 FB 78 */ mr r3, r31 /* 8020F470 0020C3D0 38 A0 00 01 */ li r5, 1 /* 8020F474 0020C3D4 54 04 E7 FE */ rlwinm r4, r0, 0x1c, 0x1f, 0x1f /* 8020F478 0020C3D8 7C 04 00 D0 */ neg r0, r4 /* 8020F47C 0020C3DC 7C 00 23 78 */ or r0, r0, r4 /* 8020F480 0020C3E0 54 04 0F FE */ srwi r4, r0, 0x1f /* 8020F484 0020C3E4 48 12 FF 39 */ bl WriteBits__13COutputStreamFii /* 8020F488 0020C3E8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020F48C 0020C3EC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020F490 0020C3F0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020F494 0020C3F4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020F498 0020C3F8 7C 08 03 A6 */ mtlr r0 /* 8020F49C 0020C3FC 38 21 00 20 */ addi r1, r1, 0x20 /* 8020F4A0 0020C400 4E 80 00 20 */ blr .global __ct__12CGameOptionsFR12CInputStream __ct__12CGameOptionsFR12CInputStream: /* 8020F4A4 0020C404 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8020F4A8 0020C408 7C 08 02 A6 */ mflr r0 /* 8020F4AC 0020C40C 90 01 00 24 */ stw r0, 0x24(r1) /* 8020F4B0 0020C410 38 00 00 08 */ li r0, 8 /* 8020F4B4 0020C414 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8020F4B8 0020C418 7C 9F 23 78 */ mr r31, r4 /* 8020F4BC 0020C41C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8020F4C0 0020C420 7C 7E 1B 78 */ mr r30, r3 /* 8020F4C4 0020C424 38 60 00 40 */ li r3, 0x40 /* 8020F4C8 0020C428 93 A1 00 14 */ stw r29, 0x14(r1) /* 8020F4CC 0020C42C 38 9E 00 04 */ addi r4, r30, 4 /* 8020F4D0 0020C430 90 7E 00 00 */ stw r3, 0(r30) /* 8020F4D4 0020C434 38 60 00 00 */ li r3, 0 /* 8020F4D8 0020C438 7C 09 03 A6 */ mtctr r0 lbl_8020F4DC: /* 8020F4DC 0020C43C 28 04 00 00 */ cmplwi r4, 0 /* 8020F4E0 0020C440 41 82 00 0C */ beq lbl_8020F4EC /* 8020F4E4 0020C444 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F4E8 0020C448 98 04 00 00 */ stb r0, 0(r4) lbl_8020F4EC: /* 8020F4EC 0020C44C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F4F0 0020C450 41 82 00 0C */ beq lbl_8020F4FC /* 8020F4F4 0020C454 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F4F8 0020C458 98 04 00 00 */ stb r0, 0(r4) lbl_8020F4FC: /* 8020F4FC 0020C45C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F500 0020C460 41 82 00 0C */ beq lbl_8020F50C /* 8020F504 0020C464 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F508 0020C468 98 04 00 00 */ stb r0, 0(r4) lbl_8020F50C: /* 8020F50C 0020C46C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F510 0020C470 41 82 00 0C */ beq lbl_8020F51C /* 8020F514 0020C474 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F518 0020C478 98 04 00 00 */ stb r0, 0(r4) lbl_8020F51C: /* 8020F51C 0020C47C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F520 0020C480 41 82 00 0C */ beq lbl_8020F52C /* 8020F524 0020C484 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F528 0020C488 98 04 00 00 */ stb r0, 0(r4) lbl_8020F52C: /* 8020F52C 0020C48C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F530 0020C490 41 82 00 0C */ beq lbl_8020F53C /* 8020F534 0020C494 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F538 0020C498 98 04 00 00 */ stb r0, 0(r4) lbl_8020F53C: /* 8020F53C 0020C49C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F540 0020C4A0 41 82 00 0C */ beq lbl_8020F54C /* 8020F544 0020C4A4 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F548 0020C4A8 98 04 00 00 */ stb r0, 0(r4) lbl_8020F54C: /* 8020F54C 0020C4AC 34 84 00 01 */ addic. r4, r4, 1 /* 8020F550 0020C4B0 41 82 00 0C */ beq lbl_8020F55C /* 8020F554 0020C4B4 88 0D 94 21 */ lbz r0, lbl_805A7FE1@sda21(r13) /* 8020F558 0020C4B8 98 04 00 00 */ stb r0, 0(r4) lbl_8020F55C: /* 8020F55C 0020C4BC 38 63 00 07 */ addi r3, r3, 7 /* 8020F560 0020C4C0 38 84 00 01 */ addi r4, r4, 1 /* 8020F564 0020C4C4 42 00 FF 78 */ bdnz lbl_8020F4DC /* 8020F568 0020C4C8 38 C0 00 01 */ li r6, 1 /* 8020F56C 0020C4CC 38 A0 00 04 */ li r5, 4 /* 8020F570 0020C4D0 90 DE 00 44 */ stw r6, 0x44(r30) /* 8020F574 0020C4D4 38 80 00 00 */ li r4, 0 /* 8020F578 0020C4D8 38 60 00 7F */ li r3, 0x7f /* 8020F57C 0020C4DC 38 00 00 FF */ li r0, 0xff /* 8020F580 0020C4E0 90 BE 00 48 */ stw r5, 0x48(r30) /* 8020F584 0020C4E4 3B A0 00 00 */ li r29, 0 /* 8020F588 0020C4E8 90 9E 00 4C */ stw r4, 0x4c(r30) /* 8020F58C 0020C4EC 90 9E 00 50 */ stw r4, 0x50(r30) /* 8020F590 0020C4F0 90 9E 00 54 */ stw r4, 0x54(r30) /* 8020F594 0020C4F4 90 7E 00 58 */ stw r3, 0x58(r30) /* 8020F598 0020C4F8 90 7E 00 5C */ stw r3, 0x5c(r30) /* 8020F59C 0020C4FC 90 1E 00 60 */ stw r0, 0x60(r30) /* 8020F5A0 0020C500 90 1E 00 64 */ stw r0, 0x64(r30) /* 8020F5A4 0020C504 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F5A8 0020C508 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 8020F5AC 0020C50C 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F5B0 0020C510 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F5B4 0020C514 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8020F5B8 0020C518 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F5BC 0020C51C 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F5C0 0020C520 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 8020F5C4 0020C524 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F5C8 0020C528 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F5CC 0020C52C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8020F5D0 0020C530 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F5D4 0020C534 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F5D8 0020C538 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c /* 8020F5DC 0020C53C 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F5E0 0020C540 90 9E 00 70 */ stw r4, 0x70(r30) /* 8020F5E4 0020C544 90 9E 00 74 */ stw r4, 0x74(r30) /* 8020F5E8 0020C548 90 9E 00 78 */ stw r4, 0x78(r30) /* 8020F5EC 0020C54C 48 00 00 1C */ b lbl_8020F608 lbl_8020F5F0: /* 8020F5F0 0020C550 7F E3 FB 78 */ mr r3, r31 /* 8020F5F4 0020C554 38 80 00 08 */ li r4, 8 /* 8020F5F8 0020C558 48 12 F7 41 */ bl ReadBits__12CInputStreamFi /* 8020F5FC 0020C55C 7C 9E EA 14 */ add r4, r30, r29 /* 8020F600 0020C560 3B BD 00 01 */ addi r29, r29, 1 /* 8020F604 0020C564 98 64 00 04 */ stb r3, 4(r4) lbl_8020F608: /* 8020F608 0020C568 80 1E 00 00 */ lwz r0, 0(r30) /* 8020F60C 0020C56C 7C 1D 00 00 */ cmpw r29, r0 /* 8020F610 0020C570 41 80 FF E0 */ blt lbl_8020F5F0 /* 8020F614 0020C574 38 60 00 02 */ li r3, 2 /* 8020F618 0020C578 48 00 03 69 */ bl CalculateBits__Fi /* 8020F61C 0020C57C 7C 64 1B 78 */ mr r4, r3 /* 8020F620 0020C580 7F E3 FB 78 */ mr r3, r31 /* 8020F624 0020C584 48 12 F7 15 */ bl ReadBits__12CInputStreamFi /* 8020F628 0020C588 90 7E 00 44 */ stw r3, 0x44(r30) /* 8020F62C 0020C58C 38 60 00 08 */ li r3, 8 /* 8020F630 0020C590 48 00 03 51 */ bl CalculateBits__Fi /* 8020F634 0020C594 7C 64 1B 78 */ mr r4, r3 /* 8020F638 0020C598 7F E3 FB 78 */ mr r3, r31 /* 8020F63C 0020C59C 48 12 F6 FD */ bl ReadBits__12CInputStreamFi /* 8020F640 0020C5A0 90 7E 00 48 */ stw r3, 0x48(r30) /* 8020F644 0020C5A4 38 60 00 3C */ li r3, 0x3c /* 8020F648 0020C5A8 48 00 03 39 */ bl CalculateBits__Fi /* 8020F64C 0020C5AC 7C 64 1B 78 */ mr r4, r3 /* 8020F650 0020C5B0 7F E3 FB 78 */ mr r3, r31 /* 8020F654 0020C5B4 48 12 F6 E5 */ bl ReadBits__12CInputStreamFi /* 8020F658 0020C5B8 38 03 FF E2 */ addi r0, r3, -30 /* 8020F65C 0020C5BC 38 60 00 3C */ li r3, 0x3c /* 8020F660 0020C5C0 90 1E 00 4C */ stw r0, 0x4c(r30) /* 8020F664 0020C5C4 48 00 03 1D */ bl CalculateBits__Fi /* 8020F668 0020C5C8 7C 64 1B 78 */ mr r4, r3 /* 8020F66C 0020C5CC 7F E3 FB 78 */ mr r3, r31 /* 8020F670 0020C5D0 48 12 F6 C9 */ bl ReadBits__12CInputStreamFi /* 8020F674 0020C5D4 38 03 FF E2 */ addi r0, r3, -30 /* 8020F678 0020C5D8 38 60 00 14 */ li r3, 0x14 /* 8020F67C 0020C5DC 90 1E 00 50 */ stw r0, 0x50(r30) /* 8020F680 0020C5E0 48 00 03 01 */ bl CalculateBits__Fi /* 8020F684 0020C5E4 7C 64 1B 78 */ mr r4, r3 /* 8020F688 0020C5E8 7F E3 FB 78 */ mr r3, r31 /* 8020F68C 0020C5EC 48 12 F6 AD */ bl ReadBits__12CInputStreamFi /* 8020F690 0020C5F0 38 03 FF F6 */ addi r0, r3, -10 /* 8020F694 0020C5F4 38 60 00 7F */ li r3, 0x7f /* 8020F698 0020C5F8 90 1E 00 54 */ stw r0, 0x54(r30) /* 8020F69C 0020C5FC 48 00 02 E5 */ bl CalculateBits__Fi /* 8020F6A0 0020C600 7C 64 1B 78 */ mr r4, r3 /* 8020F6A4 0020C604 7F E3 FB 78 */ mr r3, r31 /* 8020F6A8 0020C608 48 12 F6 91 */ bl ReadBits__12CInputStreamFi /* 8020F6AC 0020C60C 90 7E 00 58 */ stw r3, 0x58(r30) /* 8020F6B0 0020C610 38 60 00 7F */ li r3, 0x7f /* 8020F6B4 0020C614 48 00 02 CD */ bl CalculateBits__Fi /* 8020F6B8 0020C618 7C 64 1B 78 */ mr r4, r3 /* 8020F6BC 0020C61C 7F E3 FB 78 */ mr r3, r31 /* 8020F6C0 0020C620 48 12 F6 79 */ bl ReadBits__12CInputStreamFi /* 8020F6C4 0020C624 90 7E 00 5C */ stw r3, 0x5c(r30) /* 8020F6C8 0020C628 38 60 00 FF */ li r3, 0xff /* 8020F6CC 0020C62C 48 00 02 B5 */ bl CalculateBits__Fi /* 8020F6D0 0020C630 7C 64 1B 78 */ mr r4, r3 /* 8020F6D4 0020C634 7F E3 FB 78 */ mr r3, r31 /* 8020F6D8 0020C638 48 12 F6 61 */ bl ReadBits__12CInputStreamFi /* 8020F6DC 0020C63C 90 7E 00 60 */ stw r3, 0x60(r30) /* 8020F6E0 0020C640 38 60 00 FF */ li r3, 0xff /* 8020F6E4 0020C644 48 00 02 9D */ bl CalculateBits__Fi /* 8020F6E8 0020C648 7C 64 1B 78 */ mr r4, r3 /* 8020F6EC 0020C64C 7F E3 FB 78 */ mr r3, r31 /* 8020F6F0 0020C650 48 12 F6 49 */ bl ReadBits__12CInputStreamFi /* 8020F6F4 0020C654 90 7E 00 64 */ stw r3, 0x64(r30) /* 8020F6F8 0020C658 7F E3 FB 78 */ mr r3, r31 /* 8020F6FC 0020C65C 38 80 00 01 */ li r4, 1 /* 8020F700 0020C660 48 12 F6 39 */ bl ReadBits__12CInputStreamFi /* 8020F704 0020C664 7C 83 00 D0 */ neg r4, r3 /* 8020F708 0020C668 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F70C 0020C66C 7C 84 1B 78 */ or r4, r4, r3 /* 8020F710 0020C670 7F E3 FB 78 */ mr r3, r31 /* 8020F714 0020C674 54 85 0F FE */ srwi r5, r4, 0x1f /* 8020F718 0020C678 38 80 00 01 */ li r4, 1 /* 8020F71C 0020C67C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8020F720 0020C680 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F724 0020C684 48 12 F6 15 */ bl ReadBits__12CInputStreamFi /* 8020F728 0020C688 7C 83 00 D0 */ neg r4, r3 /* 8020F72C 0020C68C 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F730 0020C690 7C 84 1B 78 */ or r4, r4, r3 /* 8020F734 0020C694 7F E3 FB 78 */ mr r3, r31 /* 8020F738 0020C698 54 85 0F FE */ srwi r5, r4, 0x1f /* 8020F73C 0020C69C 38 80 00 01 */ li r4, 1 /* 8020F740 0020C6A0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 8020F744 0020C6A4 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F748 0020C6A8 48 12 F5 F1 */ bl ReadBits__12CInputStreamFi /* 8020F74C 0020C6AC 7C 83 00 D0 */ neg r4, r3 /* 8020F750 0020C6B0 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F754 0020C6B4 7C 84 1B 78 */ or r4, r4, r3 /* 8020F758 0020C6B8 7F E3 FB 78 */ mr r3, r31 /* 8020F75C 0020C6BC 54 85 0F FE */ srwi r5, r4, 0x1f /* 8020F760 0020C6C0 38 80 00 01 */ li r4, 1 /* 8020F764 0020C6C4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8020F768 0020C6C8 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F76C 0020C6CC 48 12 F5 CD */ bl ReadBits__12CInputStreamFi /* 8020F770 0020C6D0 7C 83 00 D0 */ neg r4, r3 /* 8020F774 0020C6D4 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F778 0020C6D8 7C 84 1B 78 */ or r4, r4, r3 /* 8020F77C 0020C6DC 7F E3 FB 78 */ mr r3, r31 /* 8020F780 0020C6E0 54 85 0F FE */ srwi r5, r4, 0x1f /* 8020F784 0020C6E4 38 80 00 01 */ li r4, 1 /* 8020F788 0020C6E8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 8020F78C 0020C6EC 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F790 0020C6F0 48 12 F5 A9 */ bl ReadBits__12CInputStreamFi /* 8020F794 0020C6F4 7C 83 00 D0 */ neg r4, r3 /* 8020F798 0020C6F8 88 1E 00 68 */ lbz r0, 0x68(r30) /* 8020F79C 0020C6FC 7C 84 1B 78 */ or r4, r4, r3 /* 8020F7A0 0020C700 7F C3 F3 78 */ mr r3, r30 /* 8020F7A4 0020C704 50 80 2E F6 */ rlwimi r0, r4, 5, 0x1b, 0x1b /* 8020F7A8 0020C708 98 1E 00 68 */ stb r0, 0x68(r30) /* 8020F7AC 0020C70C 48 00 01 7D */ bl InitSoundMode__12CGameOptionsFi /* 8020F7B0 0020C710 80 01 00 24 */ lwz r0, 0x24(r1) /* 8020F7B4 0020C714 7F C3 F3 78 */ mr r3, r30 /* 8020F7B8 0020C718 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8020F7BC 0020C71C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8020F7C0 0020C720 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8020F7C4 0020C724 7C 08 03 A6 */ mtlr r0 /* 8020F7C8 0020C728 38 21 00 20 */ addi r1, r1, 0x20 /* 8020F7CC 0020C72C 4E 80 00 20 */ blr .global __ct__12CGameOptionsFv __ct__12CGameOptionsFv: /* 8020F7D0 0020C730 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020F7D4 0020C734 7C 08 02 A6 */ mflr r0 /* 8020F7D8 0020C738 90 01 00 14 */ stw r0, 0x14(r1) /* 8020F7DC 0020C73C 38 00 00 08 */ li r0, 8 /* 8020F7E0 0020C740 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020F7E4 0020C744 7C 7F 1B 78 */ mr r31, r3 /* 8020F7E8 0020C748 38 60 00 40 */ li r3, 0x40 /* 8020F7EC 0020C74C 90 7F 00 00 */ stw r3, 0(r31) /* 8020F7F0 0020C750 38 9F 00 04 */ addi r4, r31, 4 /* 8020F7F4 0020C754 38 60 00 00 */ li r3, 0 /* 8020F7F8 0020C758 7C 09 03 A6 */ mtctr r0 lbl_8020F7FC: /* 8020F7FC 0020C75C 28 04 00 00 */ cmplwi r4, 0 /* 8020F800 0020C760 41 82 00 0C */ beq lbl_8020F80C /* 8020F804 0020C764 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F808 0020C768 98 04 00 00 */ stb r0, 0(r4) lbl_8020F80C: /* 8020F80C 0020C76C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F810 0020C770 41 82 00 0C */ beq lbl_8020F81C /* 8020F814 0020C774 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F818 0020C778 98 04 00 00 */ stb r0, 0(r4) lbl_8020F81C: /* 8020F81C 0020C77C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F820 0020C780 41 82 00 0C */ beq lbl_8020F82C /* 8020F824 0020C784 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F828 0020C788 98 04 00 00 */ stb r0, 0(r4) lbl_8020F82C: /* 8020F82C 0020C78C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F830 0020C790 41 82 00 0C */ beq lbl_8020F83C /* 8020F834 0020C794 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F838 0020C798 98 04 00 00 */ stb r0, 0(r4) lbl_8020F83C: /* 8020F83C 0020C79C 34 84 00 01 */ addic. r4, r4, 1 /* 8020F840 0020C7A0 41 82 00 0C */ beq lbl_8020F84C /* 8020F844 0020C7A4 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F848 0020C7A8 98 04 00 00 */ stb r0, 0(r4) lbl_8020F84C: /* 8020F84C 0020C7AC 34 84 00 01 */ addic. r4, r4, 1 /* 8020F850 0020C7B0 41 82 00 0C */ beq lbl_8020F85C /* 8020F854 0020C7B4 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F858 0020C7B8 98 04 00 00 */ stb r0, 0(r4) lbl_8020F85C: /* 8020F85C 0020C7BC 34 84 00 01 */ addic. r4, r4, 1 /* 8020F860 0020C7C0 41 82 00 0C */ beq lbl_8020F86C /* 8020F864 0020C7C4 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F868 0020C7C8 98 04 00 00 */ stb r0, 0(r4) lbl_8020F86C: /* 8020F86C 0020C7CC 34 84 00 01 */ addic. r4, r4, 1 /* 8020F870 0020C7D0 41 82 00 0C */ beq lbl_8020F87C /* 8020F874 0020C7D4 88 0D 94 20 */ lbz r0, lbl_805A7FE0@sda21(r13) /* 8020F878 0020C7D8 98 04 00 00 */ stb r0, 0(r4) lbl_8020F87C: /* 8020F87C 0020C7DC 38 63 00 07 */ addi r3, r3, 7 /* 8020F880 0020C7E0 38 84 00 01 */ addi r4, r4, 1 /* 8020F884 0020C7E4 42 00 FF 78 */ bdnz lbl_8020F7FC /* 8020F888 0020C7E8 38 C0 00 01 */ li r6, 1 /* 8020F88C 0020C7EC 38 60 00 04 */ li r3, 4 /* 8020F890 0020C7F0 90 DF 00 44 */ stw r6, 0x44(r31) /* 8020F894 0020C7F4 38 A0 00 00 */ li r5, 0 /* 8020F898 0020C7F8 38 80 00 7F */ li r4, 0x7f /* 8020F89C 0020C7FC 38 00 00 FF */ li r0, 0xff /* 8020F8A0 0020C800 90 7F 00 48 */ stw r3, 0x48(r31) /* 8020F8A4 0020C804 7F E3 FB 78 */ mr r3, r31 /* 8020F8A8 0020C808 90 BF 00 4C */ stw r5, 0x4c(r31) /* 8020F8AC 0020C80C 90 BF 00 50 */ stw r5, 0x50(r31) /* 8020F8B0 0020C810 90 BF 00 54 */ stw r5, 0x54(r31) /* 8020F8B4 0020C814 90 9F 00 58 */ stw r4, 0x58(r31) /* 8020F8B8 0020C818 90 9F 00 5C */ stw r4, 0x5c(r31) /* 8020F8BC 0020C81C 90 1F 00 60 */ stw r0, 0x60(r31) /* 8020F8C0 0020C820 90 1F 00 64 */ stw r0, 0x64(r31) /* 8020F8C4 0020C824 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F8C8 0020C828 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 8020F8CC 0020C82C 98 1F 00 68 */ stb r0, 0x68(r31) /* 8020F8D0 0020C830 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F8D4 0020C834 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8020F8D8 0020C838 98 1F 00 68 */ stb r0, 0x68(r31) /* 8020F8DC 0020C83C 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F8E0 0020C840 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 8020F8E4 0020C844 98 1F 00 68 */ stb r0, 0x68(r31) /* 8020F8E8 0020C848 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F8EC 0020C84C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 8020F8F0 0020C850 98 1F 00 68 */ stb r0, 0x68(r31) /* 8020F8F4 0020C854 88 1F 00 68 */ lbz r0, 0x68(r31) /* 8020F8F8 0020C858 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c /* 8020F8FC 0020C85C 98 1F 00 68 */ stb r0, 0x68(r31) /* 8020F900 0020C860 90 BF 00 70 */ stw r5, 0x70(r31) /* 8020F904 0020C864 90 BF 00 74 */ stw r5, 0x74(r31) /* 8020F908 0020C868 90 BF 00 78 */ stw r5, 0x78(r31) /* 8020F90C 0020C86C 48 00 00 1D */ bl InitSoundMode__12CGameOptionsFi /* 8020F910 0020C870 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020F914 0020C874 7F E3 FB 78 */ mr r3, r31 /* 8020F918 0020C878 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020F91C 0020C87C 7C 08 03 A6 */ mtlr r0 /* 8020F920 0020C880 38 21 00 10 */ addi r1, r1, 0x10 /* 8020F924 0020C884 4E 80 00 20 */ blr .global InitSoundMode__12CGameOptionsFi InitSoundMode__12CGameOptionsFi: /* 8020F928 0020C888 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020F92C 0020C88C 7C 08 02 A6 */ mflr r0 /* 8020F930 0020C890 90 01 00 14 */ stw r0, 0x14(r1) /* 8020F934 0020C894 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020F938 0020C898 7C 7F 1B 78 */ mr r31, r3 /* 8020F93C 0020C89C 48 17 46 D5 */ bl OSGetSoundMode /* 8020F940 0020C8A0 28 03 00 00 */ cmplwi r3, 0 /* 8020F944 0020C8A4 40 82 00 10 */ bne lbl_8020F954 /* 8020F948 0020C8A8 38 00 00 00 */ li r0, 0 /* 8020F94C 0020C8AC 90 1F 00 44 */ stw r0, 0x44(r31) /* 8020F950 0020C8B0 48 00 00 1C */ b lbl_8020F96C lbl_8020F954: /* 8020F954 0020C8B4 80 7F 00 44 */ lwz r3, 0x44(r31) /* 8020F958 0020C8B8 38 00 00 01 */ li r0, 1 /* 8020F95C 0020C8BC 2C 03 00 00 */ cmpwi r3, 0 /* 8020F960 0020C8C0 41 82 00 08 */ beq lbl_8020F968 /* 8020F964 0020C8C4 7C 60 1B 78 */ mr r0, r3 lbl_8020F968: /* 8020F968 0020C8C8 90 1F 00 44 */ stw r0, 0x44(r31) lbl_8020F96C: /* 8020F96C 0020C8CC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020F970 0020C8D0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020F974 0020C8D4 7C 08 03 A6 */ mtlr r0 /* 8020F978 0020C8D8 38 21 00 10 */ addi r1, r1, 0x10 /* 8020F97C 0020C8DC 4E 80 00 20 */ blr .global CalculateBits__Fi CalculateBits__Fi: /* 8020F980 0020C8E0 38 80 00 00 */ li r4, 0 /* 8020F984 0020C8E4 48 00 00 0C */ b lbl_8020F990 lbl_8020F988: /* 8020F988 0020C8E8 54 63 F8 7E */ srwi r3, r3, 1 /* 8020F98C 0020C8EC 38 84 00 01 */ addi r4, r4, 1 lbl_8020F990: /* 8020F990 0020C8F0 28 03 00 00 */ cmplwi r3, 0 /* 8020F994 0020C8F4 40 82 FF F4 */ bne lbl_8020F988 /* 8020F998 0020C8F8 7C 83 23 78 */ mr r3, r4 /* 8020F99C 0020C8FC 4E 80 00 20 */ blr .global sub_8020f9a0 sub_8020f9a0: /* 8020F9A0 0020C900 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8020F9A4 0020C904 7C 08 02 A6 */ mflr r0 /* 8020F9A8 0020C908 90 01 00 54 */ stw r0, 0x54(r1) /* 8020F9AC 0020C90C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8020F9B0 0020C910 7C BF 2B 78 */ mr r31, r5 /* 8020F9B4 0020C914 93 C1 00 48 */ stw r30, 0x48(r1) /* 8020F9B8 0020C918 7C 9E 23 78 */ mr r30, r4 /* 8020F9BC 0020C91C 93 A1 00 44 */ stw r29, 0x44(r1) /* 8020F9C0 0020C920 7C 7D 1B 78 */ mr r29, r3 /* 8020F9C4 0020C924 93 81 00 40 */ stw r28, 0x40(r1) /* 8020F9C8 0020C928 80 63 00 00 */ lwz r3, 0(r3) /* 8020F9CC 0020C92C 80 A4 00 00 */ lwz r5, 0(r4) /* 8020F9D0 0020C930 7C 03 28 50 */ subf r0, r3, r5 /* 8020F9D4 0020C934 7C 00 1E 70 */ srawi r0, r0, 3 /* 8020F9D8 0020C938 7C 80 01 94 */ addze r4, r0 /* 8020F9DC 0020C93C 2C 04 00 01 */ cmpwi r4, 1 /* 8020F9E0 0020C940 40 81 01 64 */ ble lbl_8020FB44 /* 8020F9E4 0020C944 2C 04 00 14 */ cmpwi r4, 0x14 /* 8020F9E8 0020C948 41 81 00 30 */ bgt lbl_8020FA18 /* 8020F9EC 0020C94C 88 FF 00 00 */ lbz r7, 0(r31) /* 8020F9F0 0020C950 38 61 00 34 */ addi r3, r1, 0x34 /* 8020F9F4 0020C954 80 DE 00 00 */ lwz r6, 0(r30) /* 8020F9F8 0020C958 38 81 00 30 */ addi r4, r1, 0x30 /* 8020F9FC 0020C95C 80 1D 00 00 */ lwz r0, 0(r29) /* 8020FA00 0020C960 38 A1 00 14 */ addi r5, r1, 0x14 /* 8020FA04 0020C964 98 E1 00 14 */ stb r7, 0x14(r1) /* 8020FA08 0020C968 90 C1 00 30 */ stw r6, 0x30(r1) /* 8020FA0C 0020C96C 90 01 00 34 */ stw r0, 0x34(r1) /* 8020FA10 0020C970 48 00 01 CD */ bl sub_8020fbdc /* 8020FA14 0020C974 48 00 01 30 */ b lbl_8020FB44 lbl_8020FA18: /* 8020FA18 0020C978 54 80 0F FE */ srwi r0, r4, 0x1f /* 8020FA1C 0020C97C 38 A5 FF F8 */ addi r5, r5, -8 /* 8020FA20 0020C980 7C 80 22 14 */ add r4, r0, r4 /* 8020FA24 0020C984 88 1F 00 00 */ lbz r0, 0(r31) /* 8020FA28 0020C988 7C 84 0E 70 */ srawi r4, r4, 1 /* 8020FA2C 0020C98C 90 A1 00 3C */ stw r5, 0x3c(r1) /* 8020FA30 0020C990 54 84 18 38 */ slwi r4, r4, 3 /* 8020FA34 0020C994 38 C1 00 10 */ addi r6, r1, 0x10 /* 8020FA38 0020C998 7F 83 22 14 */ add r28, r3, r4 /* 8020FA3C 0020C99C 98 01 00 10 */ stb r0, 0x10(r1) /* 8020FA40 0020C9A0 7F 84 E3 78 */ mr r4, r28 /* 8020FA44 0020C9A4 48 00 01 21 */ bl sub_8020fb64 /* 8020FA48 0020C9A8 80 9D 00 00 */ lwz r4, 0(r29) /* 8020FA4C 0020C9AC 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8020FA50 0020C9B0 38 84 00 08 */ addi r4, r4, 8 /* 8020FA54 0020C9B4 80 FC 00 00 */ lwz r7, 0(r28) /* 8020FA58 0020C9B8 38 03 FF F8 */ addi r0, r3, -8 /* 8020FA5C 0020C9BC 90 81 00 38 */ stw r4, 0x38(r1) /* 8020FA60 0020C9C0 90 01 00 3C */ stw r0, 0x3c(r1) /* 8020FA64 0020C9C4 48 00 00 10 */ b lbl_8020FA74 lbl_8020FA68: /* 8020FA68 0020C9C8 80 61 00 38 */ lwz r3, 0x38(r1) /* 8020FA6C 0020C9CC 38 03 00 08 */ addi r0, r3, 8 /* 8020FA70 0020C9D0 90 01 00 38 */ stw r0, 0x38(r1) lbl_8020FA74: /* 8020FA74 0020C9D4 80 61 00 38 */ lwz r3, 0x38(r1) /* 8020FA78 0020C9D8 80 03 00 00 */ lwz r0, 0(r3) /* 8020FA7C 0020C9DC 7C 00 38 40 */ cmplw r0, r7 /* 8020FA80 0020C9E0 41 80 FF E8 */ blt lbl_8020FA68 /* 8020FA84 0020C9E4 48 00 00 10 */ b lbl_8020FA94 lbl_8020FA88: /* 8020FA88 0020C9E8 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8020FA8C 0020C9EC 38 03 FF F8 */ addi r0, r3, -8 /* 8020FA90 0020C9F0 90 01 00 3C */ stw r0, 0x3c(r1) lbl_8020FA94: /* 8020FA94 0020C9F4 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8020FA98 0020C9F8 80 03 00 00 */ lwz r0, 0(r3) /* 8020FA9C 0020C9FC 7C 07 00 40 */ cmplw r7, r0 /* 8020FAA0 0020CA00 41 80 FF E8 */ blt lbl_8020FA88 /* 8020FAA4 0020CA04 80 01 00 38 */ lwz r0, 0x38(r1) /* 8020FAA8 0020CA08 7C 00 18 40 */ cmplw r0, r3 /* 8020FAAC 0020CA0C 40 80 00 48 */ bge lbl_8020FAF4 /* 8020FAB0 0020CA10 80 A1 00 38 */ lwz r5, 0x38(r1) /* 8020FAB4 0020CA14 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 8020FAB8 0020CA18 81 05 00 00 */ lwz r8, 0(r5) /* 8020FABC 0020CA1C 38 65 00 08 */ addi r3, r5, 8 /* 8020FAC0 0020CA20 81 25 00 04 */ lwz r9, 4(r5) /* 8020FAC4 0020CA24 38 06 FF F8 */ addi r0, r6, -8 /* 8020FAC8 0020CA28 80 86 00 00 */ lwz r4, 0(r6) /* 8020FACC 0020CA2C 90 C1 00 28 */ stw r6, 0x28(r1) /* 8020FAD0 0020CA30 90 85 00 00 */ stw r4, 0(r5) /* 8020FAD4 0020CA34 80 86 00 04 */ lwz r4, 4(r6) /* 8020FAD8 0020CA38 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8020FADC 0020CA3C 90 85 00 04 */ stw r4, 4(r5) /* 8020FAE0 0020CA40 91 06 00 00 */ stw r8, 0(r6) /* 8020FAE4 0020CA44 91 26 00 04 */ stw r9, 4(r6) /* 8020FAE8 0020CA48 90 61 00 38 */ stw r3, 0x38(r1) /* 8020FAEC 0020CA4C 90 01 00 3C */ stw r0, 0x3c(r1) /* 8020FAF0 0020CA50 4B FF FF 84 */ b lbl_8020FA74 lbl_8020FAF4: /* 8020FAF4 0020CA54 88 FF 00 00 */ lbz r7, 0(r31) /* 8020FAF8 0020CA58 38 61 00 24 */ addi r3, r1, 0x24 /* 8020FAFC 0020CA5C 80 C1 00 38 */ lwz r6, 0x38(r1) /* 8020FB00 0020CA60 38 81 00 20 */ addi r4, r1, 0x20 /* 8020FB04 0020CA64 80 1D 00 00 */ lwz r0, 0(r29) /* 8020FB08 0020CA68 38 A1 00 0C */ addi r5, r1, 0xc /* 8020FB0C 0020CA6C 98 E1 00 0C */ stb r7, 0xc(r1) /* 8020FB10 0020CA70 90 C1 00 20 */ stw r6, 0x20(r1) /* 8020FB14 0020CA74 90 01 00 24 */ stw r0, 0x24(r1) /* 8020FB18 0020CA78 4B FF FE 89 */ bl sub_8020f9a0 /* 8020FB1C 0020CA7C 88 FF 00 00 */ lbz r7, 0(r31) /* 8020FB20 0020CA80 38 61 00 1C */ addi r3, r1, 0x1c /* 8020FB24 0020CA84 80 DE 00 00 */ lwz r6, 0(r30) /* 8020FB28 0020CA88 38 81 00 18 */ addi r4, r1, 0x18 /* 8020FB2C 0020CA8C 80 01 00 38 */ lwz r0, 0x38(r1) /* 8020FB30 0020CA90 38 A1 00 08 */ addi r5, r1, 8 /* 8020FB34 0020CA94 98 E1 00 08 */ stb r7, 8(r1) /* 8020FB38 0020CA98 90 C1 00 18 */ stw r6, 0x18(r1) /* 8020FB3C 0020CA9C 90 01 00 1C */ stw r0, 0x1c(r1) /* 8020FB40 0020CAA0 4B FF FE 61 */ bl sub_8020f9a0 lbl_8020FB44: /* 8020FB44 0020CAA4 80 01 00 54 */ lwz r0, 0x54(r1) /* 8020FB48 0020CAA8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8020FB4C 0020CAAC 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8020FB50 0020CAB0 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8020FB54 0020CAB4 83 81 00 40 */ lwz r28, 0x40(r1) /* 8020FB58 0020CAB8 7C 08 03 A6 */ mtlr r0 /* 8020FB5C 0020CABC 38 21 00 50 */ addi r1, r1, 0x50 /* 8020FB60 0020CAC0 4E 80 00 20 */ blr .global sub_8020fb64 sub_8020fb64: /* 8020FB64 0020CAC4 80 04 00 00 */ lwz r0, 0(r4) /* 8020FB68 0020CAC8 80 E3 00 00 */ lwz r7, 0(r3) /* 8020FB6C 0020CACC 7C 00 38 40 */ cmplw r0, r7 /* 8020FB70 0020CAD0 40 80 00 1C */ bge lbl_8020FB8C /* 8020FB74 0020CAD4 80 C3 00 04 */ lwz r6, 4(r3) /* 8020FB78 0020CAD8 90 03 00 00 */ stw r0, 0(r3) /* 8020FB7C 0020CADC 80 04 00 04 */ lwz r0, 4(r4) /* 8020FB80 0020CAE0 90 03 00 04 */ stw r0, 4(r3) /* 8020FB84 0020CAE4 90 E4 00 00 */ stw r7, 0(r4) /* 8020FB88 0020CAE8 90 C4 00 04 */ stw r6, 4(r4) lbl_8020FB8C: /* 8020FB8C 0020CAEC 80 E5 00 00 */ lwz r7, 0(r5) /* 8020FB90 0020CAF0 80 04 00 00 */ lwz r0, 0(r4) /* 8020FB94 0020CAF4 7C 07 00 40 */ cmplw r7, r0 /* 8020FB98 0020CAF8 4C 80 00 20 */ bgelr /* 8020FB9C 0020CAFC 80 C5 00 04 */ lwz r6, 4(r5) /* 8020FBA0 0020CB00 90 05 00 00 */ stw r0, 0(r5) /* 8020FBA4 0020CB04 80 04 00 04 */ lwz r0, 4(r4) /* 8020FBA8 0020CB08 90 05 00 04 */ stw r0, 4(r5) /* 8020FBAC 0020CB0C 80 03 00 00 */ lwz r0, 0(r3) /* 8020FBB0 0020CB10 7C 07 00 40 */ cmplw r7, r0 /* 8020FBB4 0020CB14 40 80 00 1C */ bge lbl_8020FBD0 /* 8020FBB8 0020CB18 90 04 00 00 */ stw r0, 0(r4) /* 8020FBBC 0020CB1C 80 03 00 04 */ lwz r0, 4(r3) /* 8020FBC0 0020CB20 90 04 00 04 */ stw r0, 4(r4) /* 8020FBC4 0020CB24 90 E3 00 00 */ stw r7, 0(r3) /* 8020FBC8 0020CB28 90 C3 00 04 */ stw r6, 4(r3) /* 8020FBCC 0020CB2C 4E 80 00 20 */ blr lbl_8020FBD0: /* 8020FBD0 0020CB30 90 E4 00 00 */ stw r7, 0(r4) /* 8020FBD4 0020CB34 90 C4 00 04 */ stw r6, 4(r4) /* 8020FBD8 0020CB38 4E 80 00 20 */ blr .global sub_8020fbdc sub_8020fbdc: /* 8020FBDC 0020CB3C 80 A3 00 00 */ lwz r5, 0(r3) /* 8020FBE0 0020CB40 38 A5 00 08 */ addi r5, r5, 8 /* 8020FBE4 0020CB44 48 00 00 54 */ b lbl_8020FC38 lbl_8020FBE8: /* 8020FBE8 0020CB48 80 C5 00 00 */ lwz r6, 0(r5) /* 8020FBEC 0020CB4C 7C A9 2B 78 */ mr r9, r5 /* 8020FBF0 0020CB50 80 E5 00 04 */ lwz r7, 4(r5) /* 8020FBF4 0020CB54 39 05 FF F8 */ addi r8, r5, -8 /* 8020FBF8 0020CB58 48 00 00 1C */ b lbl_8020FC14 lbl_8020FBFC: /* 8020FBFC 0020CB5C 80 08 00 00 */ lwz r0, 0(r8) /* 8020FC00 0020CB60 90 09 00 00 */ stw r0, 0(r9) /* 8020FC04 0020CB64 80 08 00 04 */ lwz r0, 4(r8) /* 8020FC08 0020CB68 39 08 FF F8 */ addi r8, r8, -8 /* 8020FC0C 0020CB6C 90 09 00 04 */ stw r0, 4(r9) /* 8020FC10 0020CB70 39 29 FF F8 */ addi r9, r9, -8 lbl_8020FC14: /* 8020FC14 0020CB74 80 03 00 00 */ lwz r0, 0(r3) /* 8020FC18 0020CB78 7C 00 48 40 */ cmplw r0, r9 /* 8020FC1C 0020CB7C 40 80 00 10 */ bge lbl_8020FC2C /* 8020FC20 0020CB80 80 08 00 00 */ lwz r0, 0(r8) /* 8020FC24 0020CB84 7C 06 00 40 */ cmplw r6, r0 /* 8020FC28 0020CB88 41 80 FF D4 */ blt lbl_8020FBFC lbl_8020FC2C: /* 8020FC2C 0020CB8C 90 C9 00 00 */ stw r6, 0(r9) /* 8020FC30 0020CB90 38 A5 00 08 */ addi r5, r5, 8 /* 8020FC34 0020CB94 90 E9 00 04 */ stw r7, 4(r9) lbl_8020FC38: /* 8020FC38 0020CB98 80 04 00 00 */ lwz r0, 0(r4) /* 8020FC3C 0020CB9C 7C 05 00 40 */ cmplw r5, r0 /* 8020FC40 0020CBA0 41 80 FF A8 */ blt lbl_8020FBE8 /* 8020FC44 0020CBA4 4E 80 00 20 */ blr .global __dt__9CRepulsorFv __dt__9CRepulsorFv: /* 8020FC48 0020CBA8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020FC4C 0020CBAC 7C 08 02 A6 */ mflr r0 /* 8020FC50 0020CBB0 90 01 00 14 */ stw r0, 0x14(r1) /* 8020FC54 0020CBB4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8020FC58 0020CBB8 7C 9F 23 78 */ mr r31, r4 /* 8020FC5C 0020CBBC 93 C1 00 08 */ stw r30, 8(r1) /* 8020FC60 0020CBC0 7C 7E 1B 79 */ or. r30, r3, r3 /* 8020FC64 0020CBC4 41 82 00 28 */ beq lbl_8020FC8C /* 8020FC68 0020CBC8 3C A0 80 3E */ lis r5, lbl_803E70E8@ha /* 8020FC6C 0020CBCC 38 80 00 00 */ li r4, 0 /* 8020FC70 0020CBD0 38 05 70 E8 */ addi r0, r5, lbl_803E70E8@l /* 8020FC74 0020CBD4 90 1E 00 00 */ stw r0, 0(r30) /* 8020FC78 0020CBD8 4B E4 5A 79 */ bl __dt__6CActorFv /* 8020FC7C 0020CBDC 7F E0 07 35 */ extsh. r0, r31 /* 8020FC80 0020CBE0 40 81 00 0C */ ble lbl_8020FC8C /* 8020FC84 0020CBE4 7F C3 F3 78 */ mr r3, r30 /* 8020FC88 0020CBE8 48 10 5C A9 */ bl Free__7CMemoryFPCv lbl_8020FC8C: /* 8020FC8C 0020CBEC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020FC90 0020CBF0 7F C3 F3 78 */ mr r3, r30 /* 8020FC94 0020CBF4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8020FC98 0020CBF8 83 C1 00 08 */ lwz r30, 8(r1) /* 8020FC9C 0020CBFC 7C 08 03 A6 */ mtlr r0 /* 8020FCA0 0020CC00 38 21 00 10 */ addi r1, r1, 0x10 /* 8020FCA4 0020CC04 4E 80 00 20 */ blr .global AcceptScriptMsg__9CRepulsorF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__9CRepulsorF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8020FCA8 0020CC08 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020FCAC 0020CC0C 7C 08 02 A6 */ mflr r0 /* 8020FCB0 0020CC10 90 01 00 14 */ stw r0, 0x14(r1) /* 8020FCB4 0020CC14 A0 05 00 00 */ lhz r0, 0(r5) /* 8020FCB8 0020CC18 38 A1 00 08 */ addi r5, r1, 8 /* 8020FCBC 0020CC1C B0 01 00 08 */ sth r0, 8(r1) /* 8020FCC0 0020CC20 4B E4 39 55 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8020FCC4 0020CC24 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020FCC8 0020CC28 7C 08 03 A6 */ mtlr r0 /* 8020FCCC 0020CC2C 38 21 00 10 */ addi r1, r1, 0x10 /* 8020FCD0 0020CC30 4E 80 00 20 */ blr .global Accept__9CRepulsorFR8IVisitor Accept__9CRepulsorFR8IVisitor: /* 8020FCD4 0020CC34 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020FCD8 0020CC38 7C 08 02 A6 */ mflr r0 /* 8020FCDC 0020CC3C 90 01 00 14 */ stw r0, 0x14(r1) /* 8020FCE0 0020CC40 7C 60 1B 78 */ mr r0, r3 /* 8020FCE4 0020CC44 7C 83 23 78 */ mr r3, r4 /* 8020FCE8 0020CC48 81 84 00 00 */ lwz r12, 0(r4) /* 8020FCEC 0020CC4C 7C 04 03 78 */ mr r4, r0 /* 8020FCF0 0020CC50 81 8C 00 58 */ lwz r12, 0x58(r12) /* 8020FCF4 0020CC54 7D 89 03 A6 */ mtctr r12 /* 8020FCF8 0020CC58 4E 80 04 21 */ bctrl /* 8020FCFC 0020CC5C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8020FD00 0020CC60 7C 08 03 A6 */ mtlr r0 /* 8020FD04 0020CC64 38 21 00 10 */ addi r1, r1, 0x10 /* 8020FD08 0020CC68 4E 80 00 20 */ blr .global "__ct__9CRepulsorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ff" "__ct__9CRepulsorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ff": /* 8020FD0C 0020CC6C 94 21 FE D0 */ stwu r1, -0x130(r1) /* 8020FD10 0020CC70 7C 08 02 A6 */ mflr r0 /* 8020FD14 0020CC74 90 01 01 34 */ stw r0, 0x134(r1) /* 8020FD18 0020CC78 DB E1 01 28 */ stfd f31, 0x128(r1) /* 8020FD1C 0020CC7C FF E0 08 90 */ fmr f31, f1 /* 8020FD20 0020CC80 BF 41 01 10 */ stmw r26, 0x110(r1) /* 8020FD24 0020CC84 7C 7F 1B 78 */ mr r31, r3 /* 8020FD28 0020CC88 7C 9A 23 78 */ mr r26, r4 /* 8020FD2C 0020CC8C 7C BB 2B 78 */ mr r27, r5 /* 8020FD30 0020CC90 7C DC 33 78 */ mr r28, r6 /* 8020FD34 0020CC94 7C FD 3B 78 */ mr r29, r7 /* 8020FD38 0020CC98 7D 1E 43 78 */ mr r30, r8 /* 8020FD3C 0020CC9C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8020FD40 0020CCA0 4B E2 AA 65 */ bl CModelDataNull__10CModelDataFv /* 8020FD44 0020CCA4 38 61 00 50 */ addi r3, r1, 0x50 /* 8020FD48 0020CCA8 4B E0 B0 F1 */ bl None__16CActorParametersFv /* 8020FD4C 0020CCAC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 8020FD50 0020CCB0 38 00 00 00 */ li r0, 0 /* 8020FD54 0020CCB4 80 AD 94 B0 */ lwz r5, lbl_805A8070@sda21(r13) /* 8020FD58 0020CCB8 38 60 00 00 */ li r3, 0 /* 8020FD5C 0020CCBC B0 81 00 10 */ sth r4, 0x10(r1) /* 8020FD60 0020CCC0 38 80 00 01 */ li r4, 1 /* 8020FD64 0020CCC4 90 01 00 1C */ stw r0, 0x1c(r1) /* 8020FD68 0020CCC8 90 01 00 18 */ stw r0, 0x18(r1) /* 8020FD6C 0020CCCC 48 17 A1 89 */ bl __shl2i /* 8020FD70 0020CCD0 80 01 00 18 */ lwz r0, 0x18(r1) /* 8020FD74 0020CCD4 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8020FD78 0020CCD8 7C 03 1B 78 */ or r3, r0, r3 /* 8020FD7C 0020CCDC A0 1A 00 00 */ lhz r0, 0(r26) /* 8020FD80 0020CCE0 7C A5 23 78 */ or r5, r5, r4 /* 8020FD84 0020CCE4 90 61 00 18 */ stw r3, 0x18(r1) /* 8020FD88 0020CCE8 7F C4 F3 78 */ mr r4, r30 /* 8020FD8C 0020CCEC 38 61 00 20 */ addi r3, r1, 0x20 /* 8020FD90 0020CCF0 90 A1 00 1C */ stw r5, 0x1c(r1) /* 8020FD94 0020CCF4 B0 01 00 14 */ sth r0, 0x14(r1) /* 8020FD98 0020CCF8 48 10 33 A9 */ bl Translate__12CTransform4fFRC9CVector3f /* 8020FD9C 0020CCFC 38 61 00 50 */ addi r3, r1, 0x50 /* 8020FDA0 0020CD00 38 01 00 10 */ addi r0, r1, 0x10 /* 8020FDA4 0020CD04 90 61 00 08 */ stw r3, 8(r1) /* 8020FDA8 0020CD08 7F E3 FB 78 */ mr r3, r31 /* 8020FDAC 0020CD0C 7F 65 DB 78 */ mr r5, r27 /* 8020FDB0 0020CD10 7F 86 E3 78 */ mr r6, r28 /* 8020FDB4 0020CD14 90 01 00 0C */ stw r0, 0xc(r1) /* 8020FDB8 0020CD18 7F A7 EB 78 */ mr r7, r29 /* 8020FDBC 0020CD1C 38 81 00 14 */ addi r4, r1, 0x14 /* 8020FDC0 0020CD20 39 01 00 20 */ addi r8, r1, 0x20 /* 8020FDC4 0020CD24 39 21 00 B8 */ addi r9, r1, 0xb8 /* 8020FDC8 0020CD28 39 41 00 18 */ addi r10, r1, 0x18 /* 8020FDCC 0020CD2C 4B E4 5A 55 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 8020FDD0 0020CD30 38 61 00 50 */ addi r3, r1, 0x50 /* 8020FDD4 0020CD34 38 80 FF FF */ li r4, -1 /* 8020FDD8 0020CD38 4B EF 68 31 */ bl __dt__16CActorParametersFv /* 8020FDDC 0020CD3C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8020FDE0 0020CD40 38 80 FF FF */ li r4, -1 /* 8020FDE4 0020CD44 4B F0 6C 69 */ bl __dt__10CModelDataFv /* 8020FDE8 0020CD48 3C 80 80 3E */ lis r4, lbl_803E70E8@ha /* 8020FDEC 0020CD4C 7F E3 FB 78 */ mr r3, r31 /* 8020FDF0 0020CD50 38 04 70 E8 */ addi r0, r4, lbl_803E70E8@l /* 8020FDF4 0020CD54 90 1F 00 00 */ stw r0, 0(r31) /* 8020FDF8 0020CD58 D3 FF 00 E8 */ stfs f31, 0xe8(r31) /* 8020FDFC 0020CD5C CB E1 01 28 */ lfd f31, 0x128(r1) /* 8020FE00 0020CD60 BB 41 01 10 */ lmw r26, 0x110(r1) /* 8020FE04 0020CD64 80 01 01 34 */ lwz r0, 0x134(r1) /* 8020FE08 0020CD68 7C 08 03 A6 */ mtlr r0 /* 8020FE0C 0020CD6C 38 21 01 30 */ addi r1, r1, 0x130 /* 8020FE10 0020CD70 4E 80 00 20 */ blr .global AreaLoaded__13CEnvFxManagerFv AreaLoaded__13CEnvFxManagerFv: /* 8020FE14 0020CD74 38 A3 00 54 */ addi r5, r3, 0x54 /* 8020FE18 0020CD78 38 C0 00 00 */ li r6, 0 /* 8020FE1C 0020CD7C 38 80 00 01 */ li r4, 1 /* 8020FE20 0020CD80 48 00 00 18 */ b lbl_8020FE38 lbl_8020FE24: /* 8020FE24 0020CD84 88 05 00 00 */ lbz r0, 0(r5) /* 8020FE28 0020CD88 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8020FE2C 0020CD8C 38 C6 00 01 */ addi r6, r6, 1 /* 8020FE30 0020CD90 98 05 00 00 */ stb r0, 0(r5) /* 8020FE34 0020CD94 38 A5 00 2C */ addi r5, r5, 0x2c lbl_8020FE38: /* 8020FE38 0020CD98 80 03 00 50 */ lwz r0, 0x50(r3) /* 8020FE3C 0020CD9C 7C 06 00 00 */ cmpw r6, r0 /* 8020FE40 0020CDA0 41 80 FF E4 */ blt lbl_8020FE24 .global sub_8020fe44 sub_8020fe44: /* 8020FE44 0020CDA4 4E 80 00 20 */ blr .global "BuildBlockObjectList__13CEnvFxManagerFR27reserved_vector<9TUniqueId>R13CStateManager" "BuildBlockObjectList__13CEnvFxManagerFR27reserved_vector<9TUniqueId>R13CStateManager": /* 8020FE48 0020CDA8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8020FE4C 0020CDAC 7C 08 02 A6 */ mflr r0 /* 8020FE50 0020CDB0 90 01 00 34 */ stw r0, 0x34(r1) /* 8020FE54 0020CDB4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8020FE58 0020CDB8 93 C1 00 28 */ stw r30, 0x28(r1) /* 8020FE5C 0020CDBC 93 A1 00 24 */ stw r29, 0x24(r1) /* 8020FE60 0020CDC0 7C 7D 1B 78 */ mr r29, r3 /* 8020FE64 0020CDC4 93 81 00 20 */ stw r28, 0x20(r1) /* 8020FE68 0020CDC8 83 E4 08 10 */ lwz r31, 0x810(r4) /* 8020FE6C 0020CDCC AB DF 20 08 */ lha r30, 0x2008(r31) /* 8020FE70 0020CDD0 48 00 00 C4 */ b lbl_8020FF34 lbl_8020FE74: /* 8020FE74 0020CDD4 7F E3 FB 78 */ mr r3, r31 /* 8020FE78 0020CDD8 7F C4 F3 78 */ mr r4, r30 /* 8020FE7C 0020CDDC 4B DF FE 61 */ bl __vc__11CObjectListCFi /* 8020FE80 0020CDE0 7C 60 1B 78 */ mr r0, r3 /* 8020FE84 0020CDE4 38 61 00 10 */ addi r3, r1, 0x10 /* 8020FE88 0020CDE8 7C 1C 03 78 */ mr r28, r0 /* 8020FE8C 0020CDEC 7F 84 E3 78 */ mr r4, r28 /* 8020FE90 0020CDF0 4B E9 70 59 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 8020FE94 0020CDF4 80 63 00 04 */ lwz r3, 4(r3) /* 8020FE98 0020CDF8 28 03 00 00 */ cmplwi r3, 0 /* 8020FE9C 0020CDFC 41 82 00 3C */ beq lbl_8020FED8 /* 8020FEA0 0020CE00 80 03 01 2C */ lwz r0, 0x12c(r3) /* 8020FEA4 0020CE04 54 00 03 9D */ rlwinm. r0, r0, 0, 0xe, 0xe /* 8020FEA8 0020CE08 41 82 00 30 */ beq lbl_8020FED8 /* 8020FEAC 0020CE0C 80 1D 00 00 */ lwz r0, 0(r29) /* 8020FEB0 0020CE10 A0 9C 00 08 */ lhz r4, 8(r28) /* 8020FEB4 0020CE14 54 00 08 3C */ slwi r0, r0, 1 /* 8020FEB8 0020CE18 7C 7D 02 14 */ add r3, r29, r0 /* 8020FEBC 0020CE1C 34 63 00 04 */ addic. r3, r3, 4 /* 8020FEC0 0020CE20 41 82 00 08 */ beq lbl_8020FEC8 /* 8020FEC4 0020CE24 B0 83 00 00 */ sth r4, 0(r3) lbl_8020FEC8: /* 8020FEC8 0020CE28 80 7D 00 00 */ lwz r3, 0(r29) /* 8020FECC 0020CE2C 38 03 00 01 */ addi r0, r3, 1 /* 8020FED0 0020CE30 90 1D 00 00 */ stw r0, 0(r29) /* 8020FED4 0020CE34 48 00 00 44 */ b lbl_8020FF18 lbl_8020FED8: /* 8020FED8 0020CE38 7F 84 E3 78 */ mr r4, r28 /* 8020FEDC 0020CE3C 38 61 00 08 */ addi r3, r1, 8 /* 8020FEE0 0020CE40 4B E9 69 81 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 8020FEE4 0020CE44 80 03 00 04 */ lwz r0, 4(r3) /* 8020FEE8 0020CE48 28 00 00 00 */ cmplwi r0, 0 /* 8020FEEC 0020CE4C 41 82 00 2C */ beq lbl_8020FF18 /* 8020FEF0 0020CE50 80 1D 00 00 */ lwz r0, 0(r29) /* 8020FEF4 0020CE54 A0 9C 00 08 */ lhz r4, 8(r28) /* 8020FEF8 0020CE58 54 00 08 3C */ slwi r0, r0, 1 /* 8020FEFC 0020CE5C 7C 7D 02 14 */ add r3, r29, r0 /* 8020FF00 0020CE60 34 63 00 04 */ addic. r3, r3, 4 /* 8020FF04 0020CE64 41 82 00 08 */ beq lbl_8020FF0C /* 8020FF08 0020CE68 B0 83 00 00 */ sth r4, 0(r3) lbl_8020FF0C: /* 8020FF0C 0020CE6C 80 7D 00 00 */ lwz r3, 0(r29) /* 8020FF10 0020CE70 38 03 00 01 */ addi r0, r3, 1 /* 8020FF14 0020CE74 90 1D 00 00 */ stw r0, 0(r29) lbl_8020FF18: /* 8020FF18 0020CE78 2C 1E FF FF */ cmpwi r30, -1 /* 8020FF1C 0020CE7C 41 82 00 14 */ beq lbl_8020FF30 /* 8020FF20 0020CE80 57 C3 18 38 */ slwi r3, r30, 3 /* 8020FF24 0020CE84 38 03 00 08 */ addi r0, r3, 8 /* 8020FF28 0020CE88 7F DF 02 AE */ lhax r30, r31, r0 /* 8020FF2C 0020CE8C 48 00 00 08 */ b lbl_8020FF34 lbl_8020FF30: /* 8020FF30 0020CE90 3B C0 FF FF */ li r30, -1 lbl_8020FF34: /* 8020FF34 0020CE94 2C 1E FF FF */ cmpwi r30, -1 /* 8020FF38 0020CE98 40 82 FF 3C */ bne lbl_8020FE74 /* 8020FF3C 0020CE9C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8020FF40 0020CEA0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8020FF44 0020CEA4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8020FF48 0020CEA8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8020FF4C 0020CEAC 83 81 00 20 */ lwz r28, 0x20(r1) /* 8020FF50 0020CEB0 7C 08 03 A6 */ mtlr r0 /* 8020FF54 0020CEB4 38 21 00 30 */ addi r1, r1, 0x30 /* 8020FF58 0020CEB8 4E 80 00 20 */ blr .global sub_8020ff5c sub_8020ff5c: /* 8020FF5C 0020CEBC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8020FF60 0020CEC0 6C 84 80 00 */ xoris r4, r4, 0x8000 /* 8020FF64 0020CEC4 3C 00 43 30 */ lis r0, 0x4330 /* 8020FF68 0020CEC8 C8 42 B2 48 */ lfd f2, lbl_805ACF68@sda21(r2) /* 8020FF6C 0020CECC 90 81 00 0C */ stw r4, 0xc(r1) /* 8020FF70 0020CED0 90 01 00 08 */ stw r0, 8(r1) /* 8020FF74 0020CED4 C8 01 00 08 */ lfd f0, 8(r1) /* 8020FF78 0020CED8 D0 23 00 34 */ stfs f1, 0x34(r3) /* 8020FF7C 0020CEDC EC 00 10 28 */ fsubs f0, f0, f2 /* 8020FF80 0020CEE0 D0 03 00 38 */ stfs f0, 0x38(r3) /* 8020FF84 0020CEE4 38 21 00 10 */ addi r1, r1, 0x10 /* 8020FF88 0020CEE8 4E 80 00 20 */ blr .global UpdateRainSounds__13CEnvFxManagerFR13CStateManager UpdateRainSounds__13CEnvFxManagerFR13CStateManager: /* 8020FF8C 0020CEEC 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8020FF90 0020CEF0 7C 08 02 A6 */ mflr r0 /* 8020FF94 0020CEF4 7C 85 23 78 */ mr r5, r4 /* 8020FF98 0020CEF8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8020FF9C 0020CEFC 93 E1 00 DC */ stw r31, 0xdc(r1) /* 8020FFA0 0020CF00 7C 7F 1B 78 */ mr r31, r3 /* 8020FFA4 0020CF04 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 8020FFA8 0020CF08 80 64 08 50 */ lwz r3, 0x850(r4) /* 8020FFAC 0020CF0C 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 8020FFB0 0020CF10 2C 00 00 02 */ cmpwi r0, 2 /* 8020FFB4 0020CF14 40 82 01 A8 */ bne lbl_8021015C /* 8020FFB8 0020CF18 80 85 08 70 */ lwz r4, 0x870(r5) /* 8020FFBC 0020CF1C 38 61 00 70 */ addi r3, r1, 0x70 /* 8020FFC0 0020CF20 4B DF A9 A9 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 8020FFC4 0020CF24 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8020FFC8 0020CF28 38 81 00 70 */ addi r4, r1, 0x70 /* 8020FFCC 0020CF2C 48 10 2B A9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8020FFD0 0020CF30 C0 3F 00 30 */ lfs f1, 0x30(r31) /* 8020FFD4 0020CF34 48 00 01 F5 */ bl CalcRainVolume__Ff /* 8020FFD8 0020CF38 88 1F 0B 6A */ lbz r0, 0xb6a(r31) /* 8020FFDC 0020CF3C 7C 7E 1B 78 */ mr r30, r3 /* 8020FFE0 0020CF40 28 00 00 00 */ cmplwi r0, 0 /* 8020FFE4 0020CF44 40 82 00 6C */ bne lbl_80210050 /* 8020FFE8 0020CF48 3C 60 80 5A */ lis r3, skZero3f@ha /* 8020FFEC 0020CF4C A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) /* 8020FFF0 0020CF50 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8020FFF4 0020CF54 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8020FFF8 0020CF58 38 61 00 24 */ addi r3, r1, 0x24 /* 8020FFFC 0020CF5C 38 80 09 F0 */ li r4, 0x9f0 /* 80210000 0020CF60 7C A6 2B 78 */ mr r6, r5 /* 80210004 0020CF64 38 E0 00 00 */ li r7, 0 /* 80210008 0020CF68 39 00 00 01 */ li r8, 1 /* 8021000C 0020CF6C 48 0D A2 A5 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80210010 0020CF70 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210014 0020CF74 3C 60 80 5A */ lis r3, skZero3f@ha /* 80210018 0020CF78 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8021001C 0020CF7C A9 22 C5 F8 */ lha r9, lbl_805AE318@sda21(r2) /* 80210020 0020CF80 90 1F 0B 6C */ stw r0, 0xb6c(r31) /* 80210024 0020CF84 7C A6 2B 78 */ mr r6, r5 /* 80210028 0020CF88 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8021002C 0020CF8C 38 61 00 20 */ addi r3, r1, 0x20 /* 80210030 0020CF90 38 80 09 F1 */ li r4, 0x9f1 /* 80210034 0020CF94 38 E0 00 00 */ li r7, 0 /* 80210038 0020CF98 39 00 00 01 */ li r8, 1 /* 8021003C 0020CF9C 48 0D A2 75 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80210040 0020CFA0 80 61 00 20 */ lwz r3, 0x20(r1) /* 80210044 0020CFA4 38 00 00 01 */ li r0, 1 /* 80210048 0020CFA8 90 7F 0B 70 */ stw r3, 0xb70(r31) /* 8021004C 0020CFAC 98 1F 0B 6A */ stb r0, 0xb6a(r31) lbl_80210050: /* 80210050 0020CFB0 C0 61 00 A0 */ lfs f3, 0xa0(r1) /* 80210054 0020CFB4 38 61 00 1C */ addi r3, r1, 0x1c /* 80210058 0020CFB8 C0 A1 00 AC */ lfs f5, 0xac(r1) /* 8021005C 0020CFBC 38 81 00 64 */ addi r4, r1, 0x64 /* 80210060 0020CFC0 C0 E1 00 B0 */ lfs f7, 0xb0(r1) /* 80210064 0020CFC4 38 A1 00 4C */ addi r5, r1, 0x4c /* 80210068 0020CFC8 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 8021006C 0020CFCC EC 05 18 28 */ fsubs f0, f5, f3 /* 80210070 0020CFD0 C0 C1 00 C0 */ lfs f6, 0xc0(r1) /* 80210074 0020CFD4 57 C6 06 3E */ clrlwi r6, r30, 0x18 /* 80210078 0020CFD8 C0 21 00 CC */ lfs f1, 0xcc(r1) /* 8021007C 0020CFDC EC 82 38 28 */ fsubs f4, f2, f7 /* 80210080 0020CFE0 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 80210084 0020CFE4 EC 61 30 28 */ fsubs f3, f1, f6 /* 80210088 0020CFE8 D0 E1 00 50 */ stfs f7, 0x50(r1) /* 8021008C 0020CFEC D0 C1 00 54 */ stfs f6, 0x54(r1) /* 80210090 0020CFF0 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80210094 0020CFF4 D0 81 00 68 */ stfs f4, 0x68(r1) /* 80210098 0020CFF8 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 8021009C 0020CFFC 80 1F 0B 6C */ lwz r0, 0xb6c(r31) /* 802100A0 0020D000 D0 A1 00 58 */ stfs f5, 0x58(r1) /* 802100A4 0020D004 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 802100A8 0020D008 D0 21 00 60 */ stfs f1, 0x60(r1) /* 802100AC 0020D00C 90 01 00 1C */ stw r0, 0x1c(r1) /* 802100B0 0020D010 48 0D 9E 01 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc /* 802100B4 0020D014 C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 802100B8 0020D018 38 61 00 18 */ addi r3, r1, 0x18 /* 802100BC 0020D01C C0 21 00 CC */ lfs f1, 0xcc(r1) /* 802100C0 0020D020 38 81 00 40 */ addi r4, r1, 0x40 /* 802100C4 0020D024 C0 C1 00 B0 */ lfs f6, 0xb0(r1) /* 802100C8 0020D028 FC 00 18 50 */ fneg f0, f3 /* 802100CC 0020D02C C0 41 00 BC */ lfs f2, 0xbc(r1) /* 802100D0 0020D030 EC A1 18 2A */ fadds f5, f1, f3 /* 802100D4 0020D034 C1 01 00 A0 */ lfs f8, 0xa0(r1) /* 802100D8 0020D038 FC 80 30 50 */ fneg f4, f6 /* 802100DC 0020D03C C0 61 00 AC */ lfs f3, 0xac(r1) /* 802100E0 0020D040 FC E0 40 50 */ fneg f7, f8 /* 802100E4 0020D044 D0 01 00 30 */ stfs f0, 0x30(r1) /* 802100E8 0020D048 EC C2 30 2A */ fadds f6, f2, f6 /* 802100EC 0020D04C 38 A1 00 28 */ addi r5, r1, 0x28 /* 802100F0 0020D050 EC 03 40 2A */ fadds f0, f3, f8 /* 802100F4 0020D054 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 802100F8 0020D058 D0 E1 00 28 */ stfs f7, 0x28(r1) /* 802100FC 0020D05C 57 C6 06 3E */ clrlwi r6, r30, 0x18 /* 80210100 0020D060 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80210104 0020D064 D0 C1 00 44 */ stfs f6, 0x44(r1) /* 80210108 0020D068 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 8021010C 0020D06C 80 1F 0B 70 */ lwz r0, 0xb70(r31) /* 80210110 0020D070 D0 61 00 34 */ stfs f3, 0x34(r1) /* 80210114 0020D074 D0 41 00 38 */ stfs f2, 0x38(r1) /* 80210118 0020D078 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8021011C 0020D07C 90 01 00 18 */ stw r0, 0x18(r1) /* 80210120 0020D080 48 0D 9D 91 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc /* 80210124 0020D084 C0 3F 00 30 */ lfs f1, 0x30(r31) /* 80210128 0020D088 48 00 00 81 */ bl CalcRainPitch__Ff /* 8021012C 0020D08C 80 1F 0B 6C */ lwz r0, 0xb6c(r31) /* 80210130 0020D090 7C 7E 07 34 */ extsh r30, r3 /* 80210134 0020D094 38 61 00 14 */ addi r3, r1, 0x14 /* 80210138 0020D098 90 01 00 14 */ stw r0, 0x14(r1) /* 8021013C 0020D09C 7F C4 F3 78 */ mr r4, r30 /* 80210140 0020D0A0 48 0D 8D 6D */ bl PitchBend__11CSfxManagerF10CSfxHandlei /* 80210144 0020D0A4 80 1F 0B 70 */ lwz r0, 0xb70(r31) /* 80210148 0020D0A8 7F C4 F3 78 */ mr r4, r30 /* 8021014C 0020D0AC 38 61 00 10 */ addi r3, r1, 0x10 /* 80210150 0020D0B0 90 01 00 10 */ stw r0, 0x10(r1) /* 80210154 0020D0B4 48 0D 8D 59 */ bl PitchBend__11CSfxManagerF10CSfxHandlei /* 80210158 0020D0B8 48 00 00 38 */ b lbl_80210190 lbl_8021015C: /* 8021015C 0020D0BC 88 1F 0B 6A */ lbz r0, 0xb6a(r31) /* 80210160 0020D0C0 28 00 00 00 */ cmplwi r0, 0 /* 80210164 0020D0C4 41 82 00 2C */ beq lbl_80210190 /* 80210168 0020D0C8 80 1F 0B 6C */ lwz r0, 0xb6c(r31) /* 8021016C 0020D0CC 38 61 00 0C */ addi r3, r1, 0xc /* 80210170 0020D0D0 90 01 00 0C */ stw r0, 0xc(r1) /* 80210174 0020D0D4 48 0D 9D 11 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80210178 0020D0D8 80 1F 0B 70 */ lwz r0, 0xb70(r31) /* 8021017C 0020D0DC 38 61 00 08 */ addi r3, r1, 8 /* 80210180 0020D0E0 90 01 00 08 */ stw r0, 8(r1) /* 80210184 0020D0E4 48 0D 9D 01 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80210188 0020D0E8 38 00 00 00 */ li r0, 0 /* 8021018C 0020D0EC 98 1F 0B 6A */ stb r0, 0xb6a(r31) lbl_80210190: /* 80210190 0020D0F0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80210194 0020D0F4 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 80210198 0020D0F8 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 8021019C 0020D0FC 7C 08 03 A6 */ mtlr r0 /* 802101A0 0020D100 38 21 00 E0 */ addi r1, r1, 0xe0 /* 802101A4 0020D104 4E 80 00 20 */ blr .global CalcRainPitch__Ff CalcRainPitch__Ff: /* 802101A8 0020D108 C0 02 B2 50 */ lfs f0, lbl_805ACF70@sda21(r2) /* 802101AC 0020D10C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802101B0 0020D110 EC 00 00 72 */ fmuls f0, f0, f1 /* 802101B4 0020D114 FC 00 00 1E */ fctiwz f0, f0 /* 802101B8 0020D118 D8 01 00 08 */ stfd f0, 8(r1) /* 802101BC 0020D11C 80 61 00 0C */ lwz r3, 0xc(r1) /* 802101C0 0020D120 38 21 00 10 */ addi r1, r1, 0x10 /* 802101C4 0020D124 4E 80 00 20 */ blr .global CalcRainVolume__Ff CalcRainVolume__Ff: /* 802101C8 0020D128 C0 02 B2 58 */ lfs f0, lbl_805ACF78@sda21(r2) /* 802101CC 0020D12C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802101D0 0020D130 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802101D4 0020D134 40 80 00 14 */ bge lbl_802101E8 /* 802101D8 0020D138 EC 01 00 24 */ fdivs f0, f1, f0 /* 802101DC 0020D13C C0 22 B2 54 */ lfs f1, lbl_805ACF74@sda21(r2) /* 802101E0 0020D140 EC 01 00 32 */ fmuls f0, f1, f0 /* 802101E4 0020D144 48 00 00 18 */ b lbl_802101FC lbl_802101E8: /* 802101E8 0020D148 C0 02 B2 60 */ lfs f0, lbl_805ACF80@sda21(r2) /* 802101EC 0020D14C C0 42 B2 5C */ lfs f2, lbl_805ACF7C@sda21(r2) /* 802101F0 0020D150 EC 21 00 24 */ fdivs f1, f1, f0 /* 802101F4 0020D154 C0 02 B2 54 */ lfs f0, lbl_805ACF74@sda21(r2) /* 802101F8 0020D158 EC 02 00 7A */ fmadds f0, f2, f1, f0 lbl_802101FC: /* 802101FC 0020D15C FC 00 00 1E */ fctiwz f0, f0 /* 80210200 0020D160 D8 01 00 08 */ stfd f0, 8(r1) /* 80210204 0020D164 80 61 00 0C */ lwz r3, 0xc(r1) /* 80210208 0020D168 38 21 00 10 */ addi r1, r1, 0x10 /* 8021020C 0020D16C 4E 80 00 20 */ blr .global Render__13CEnvFxManagerFRC13CStateManager Render__13CEnvFxManagerFRC13CStateManager: /* 80210210 0020D170 94 21 FE C0 */ stwu r1, -0x140(r1) /* 80210214 0020D174 7C 08 02 A6 */ mflr r0 /* 80210218 0020D178 90 01 01 44 */ stw r0, 0x144(r1) /* 8021021C 0020D17C 93 E1 01 3C */ stw r31, 0x13c(r1) /* 80210220 0020D180 93 C1 01 38 */ stw r30, 0x138(r1) /* 80210224 0020D184 93 A1 01 34 */ stw r29, 0x134(r1) /* 80210228 0020D188 7C 9D 23 78 */ mr r29, r4 /* 8021022C 0020D18C 93 81 01 30 */ stw r28, 0x130(r1) /* 80210230 0020D190 7C 7C 1B 78 */ mr r28, r3 /* 80210234 0020D194 80 64 08 50 */ lwz r3, 0x850(r4) /* 80210238 0020D198 83 E3 00 C4 */ lwz r31, 0xc4(r3) /* 8021023C 0020D19C 2C 1F 00 00 */ cmpwi r31, 0 /* 80210240 0020D1A0 41 82 01 4C */ beq lbl_8021038C /* 80210244 0020D1A4 80 7D 08 4C */ lwz r3, 0x84c(r29) /* 80210248 0020D1A8 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 8021024C 0020D1AC 2C 00 00 00 */ cmpwi r0, 0 /* 80210250 0020D1B0 40 82 00 28 */ bne lbl_80210278 /* 80210254 0020D1B4 80 7D 08 B8 */ lwz r3, 0x8b8(r29) /* 80210258 0020D1B8 80 63 00 00 */ lwz r3, 0(r3) /* 8021025C 0020D1BC 80 03 00 14 */ lwz r0, 0x14(r3) /* 80210260 0020D1C0 2C 00 00 03 */ cmpwi r0, 3 /* 80210264 0020D1C4 41 82 01 28 */ beq lbl_8021038C /* 80210268 0020D1C8 2C 1F 00 01 */ cmpwi r31, 1 /* 8021026C 0020D1CC 40 82 00 0C */ bne lbl_80210278 /* 80210270 0020D1D0 2C 00 00 01 */ cmpwi r0, 1 /* 80210274 0020D1D4 41 82 01 18 */ beq lbl_8021038C lbl_80210278: /* 80210278 0020D1D8 38 60 00 00 */ li r3, 0 /* 8021027C 0020D1DC 48 0F B7 F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 80210280 0020D1E0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80210284 0020D1E4 38 80 00 01 */ li r4, 1 /* 80210288 0020D1E8 38 A0 00 00 */ li r5, 0 /* 8021028C 0020D1EC 81 83 00 00 */ lwz r12, 0(r3) /* 80210290 0020D1F0 81 8C 00 60 */ lwz r12, 0x60(r12) /* 80210294 0020D1F4 7D 89 03 A6 */ mtctr r12 /* 80210298 0020D1F8 4E 80 04 21 */ bctrl /* 8021029C 0020D1FC 7F 84 E3 78 */ mr r4, r28 /* 802102A0 0020D200 38 61 00 68 */ addi r3, r1, 0x68 /* 802102A4 0020D204 48 00 09 51 */ bl GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv /* 802102A8 0020D208 38 61 00 F8 */ addi r3, r1, 0xf8 /* 802102AC 0020D20C 38 81 00 68 */ addi r4, r1, 0x68 /* 802102B0 0020D210 48 10 28 C5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802102B4 0020D214 38 61 00 38 */ addi r3, r1, 0x38 /* 802102B8 0020D218 38 81 00 F8 */ addi r4, r1, 0xf8 /* 802102BC 0020D21C 48 10 24 25 */ bl GetInverse__12CTransform4fCFv /* 802102C0 0020D220 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802102C4 0020D224 38 81 00 38 */ addi r4, r1, 0x38 /* 802102C8 0020D228 48 10 28 AD */ bl __ct__12CTransform4fFRC12CTransform4f /* 802102CC 0020D22C 80 9D 08 70 */ lwz r4, 0x870(r29) /* 802102D0 0020D230 7F A5 EB 78 */ mr r5, r29 /* 802102D4 0020D234 38 61 00 08 */ addi r3, r1, 8 /* 802102D8 0020D238 4B DF A6 91 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 802102DC 0020D23C 38 61 00 98 */ addi r3, r1, 0x98 /* 802102E0 0020D240 38 81 00 08 */ addi r4, r1, 8 /* 802102E4 0020D244 48 10 28 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802102E8 0020D248 2C 1F 00 02 */ cmpwi r31, 2 /* 802102EC 0020D24C 41 82 00 30 */ beq lbl_8021031C /* 802102F0 0020D250 40 80 00 10 */ bge lbl_80210300 /* 802102F4 0020D254 2C 1F 00 01 */ cmpwi r31, 1 /* 802102F8 0020D258 40 80 00 14 */ bge lbl_8021030C /* 802102FC 0020D25C 48 00 00 3C */ b lbl_80210338 lbl_80210300: /* 80210300 0020D260 2C 1F 00 04 */ cmpwi r31, 4 /* 80210304 0020D264 40 80 00 34 */ bge lbl_80210338 /* 80210308 0020D268 48 00 00 20 */ b lbl_80210328 lbl_8021030C: /* 8021030C 0020D26C 7F 83 E3 78 */ mr r3, r28 /* 80210310 0020D270 7F A4 EB 78 */ mr r4, r29 /* 80210314 0020D274 48 00 05 89 */ bl SetupSnowTevs__13CEnvFxManagerFR13CStateManager /* 80210318 0020D278 48 00 00 20 */ b lbl_80210338 lbl_8021031C: /* 8021031C 0020D27C 7F 83 E3 78 */ mr r3, r28 /* 80210320 0020D280 48 00 00 8D */ bl SetupRainTevs__13CEnvFxManagerFv /* 80210324 0020D284 48 00 00 14 */ b lbl_80210338 lbl_80210328: /* 80210328 0020D288 7F 83 E3 78 */ mr r3, r28 /* 8021032C 0020D28C 7F A5 EB 78 */ mr r5, r29 /* 80210330 0020D290 38 81 00 C8 */ addi r4, r1, 0xc8 /* 80210334 0020D294 48 00 02 11 */ bl SetupUnderwaterTevs__13CEnvFxManagerFRC12CTransform4fR13CStateManager lbl_80210338: /* 80210338 0020D298 3B DC 00 54 */ addi r30, r28, 0x54 /* 8021033C 0020D29C 3B A0 00 00 */ li r29, 0 /* 80210340 0020D2A0 48 00 00 28 */ b lbl_80210368 lbl_80210344: /* 80210344 0020D2A4 C0 3C 00 30 */ lfs f1, 0x30(r28) /* 80210348 0020D2A8 7F C3 F3 78 */ mr r3, r30 /* 8021034C 0020D2AC 7F E7 FB 78 */ mr r7, r31 /* 80210350 0020D2B0 38 81 00 F8 */ addi r4, r1, 0xf8 /* 80210354 0020D2B4 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 80210358 0020D2B8 38 C1 00 98 */ addi r6, r1, 0x98 /* 8021035C 0020D2BC 48 00 28 01 */ bl Render__17CEnvFxManagerGridFRC12CTransform4fRC12CTransform4fRC12CTransform4ff10EEnvFxType /* 80210360 0020D2C0 3B DE 00 2C */ addi r30, r30, 0x2c /* 80210364 0020D2C4 3B BD 00 01 */ addi r29, r29, 1 lbl_80210368: /* 80210368 0020D2C8 80 1C 00 50 */ lwz r0, 0x50(r28) /* 8021036C 0020D2CC 7C 1D 00 00 */ cmpw r29, r0 /* 80210370 0020D2D0 41 80 FF D4 */ blt lbl_80210344 /* 80210374 0020D2D4 38 60 00 01 */ li r3, 1 /* 80210378 0020D2D8 48 0F B6 F9 */ bl SetCullMode__9CGraphicsF12ERglCullMode /* 8021037C 0020D2DC 2C 1F 00 03 */ cmpwi r31, 3 /* 80210380 0020D2E0 40 82 00 0C */ bne lbl_8021038C /* 80210384 0020D2E4 7F 83 E3 78 */ mr r3, r28 /* 80210388 0020D2E8 48 00 01 91 */ bl sub_80210518 lbl_8021038C: /* 8021038C 0020D2EC 80 01 01 44 */ lwz r0, 0x144(r1) /* 80210390 0020D2F0 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 80210394 0020D2F4 83 C1 01 38 */ lwz r30, 0x138(r1) /* 80210398 0020D2F8 83 A1 01 34 */ lwz r29, 0x134(r1) /* 8021039C 0020D2FC 83 81 01 30 */ lwz r28, 0x130(r1) /* 802103A0 0020D300 7C 08 03 A6 */ mtlr r0 /* 802103A4 0020D304 38 21 01 40 */ addi r1, r1, 0x140 /* 802103A8 0020D308 4E 80 00 20 */ blr .global SetupRainTevs__13CEnvFxManagerFv SetupRainTevs__13CEnvFxManagerFv: /* 802103AC 0020D30C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802103B0 0020D310 7C 08 02 A6 */ mflr r0 /* 802103B4 0020D314 3C 80 80 3D */ lis r4, lbl_803D2800@ha /* 802103B8 0020D318 90 01 00 24 */ stw r0, 0x24(r1) /* 802103BC 0020D31C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802103C0 0020D320 7C 7F 1B 78 */ mr r31, r3 /* 802103C4 0020D324 38 64 28 00 */ addi r3, r4, lbl_803D2800@l /* 802103C8 0020D328 48 0F 7A 61 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 802103CC 0020D32C 38 60 00 06 */ li r3, 6 /* 802103D0 0020D330 38 80 00 09 */ li r4, 9 /* 802103D4 0020D334 38 A0 00 01 */ li r5, 1 /* 802103D8 0020D338 38 C0 00 03 */ li r6, 3 /* 802103DC 0020D33C 38 E0 00 08 */ li r7, 8 /* 802103E0 0020D340 48 16 73 AD */ bl GXSetVtxAttrFmt /* 802103E4 0020D344 38 60 00 06 */ li r3, 6 /* 802103E8 0020D348 38 80 00 0B */ li r4, 0xb /* 802103EC 0020D34C 38 A0 00 01 */ li r5, 1 /* 802103F0 0020D350 38 C0 00 03 */ li r6, 3 /* 802103F4 0020D354 38 E0 00 00 */ li r7, 0 /* 802103F8 0020D358 48 16 73 95 */ bl GXSetVtxAttrFmt /* 802103FC 0020D35C 38 60 00 06 */ li r3, 6 /* 80210400 0020D360 38 80 00 06 */ li r4, 6 /* 80210404 0020D364 48 0F 80 B5 */ bl SetLineWidth__3CGXFUc12_GXTexOffset /* 80210408 0020D368 38 60 00 01 */ li r3, 1 /* 8021040C 0020D36C 38 80 00 04 */ li r4, 4 /* 80210410 0020D370 38 A0 00 01 */ li r5, 1 /* 80210414 0020D374 38 C0 00 00 */ li r6, 0 /* 80210418 0020D378 48 0F 84 B9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 8021041C 0020D37C 38 60 00 01 */ li r3, 1 /* 80210420 0020D380 48 0F 8A 31 */ bl SetNumChans__3CGXFUc /* 80210424 0020D384 38 60 00 00 */ li r3, 0 /* 80210428 0020D388 38 80 00 01 */ li r4, 1 /* 8021042C 0020D38C 38 A0 00 01 */ li r5, 1 /* 80210430 0020D390 38 C0 00 01 */ li r6, 1 /* 80210434 0020D394 38 E0 00 00 */ li r7, 0 /* 80210438 0020D398 39 00 00 00 */ li r8, 0 /* 8021043C 0020D39C 39 20 00 02 */ li r9, 2 /* 80210440 0020D3A0 48 0F 88 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn /* 80210444 0020D3A4 38 60 00 01 */ li r3, 1 /* 80210448 0020D3A8 48 0F 89 CD */ bl SetNumTexGens__3CGXFUc /* 8021044C 0020D3AC 38 60 00 01 */ li r3, 1 /* 80210450 0020D3B0 48 0F 88 41 */ bl SetNumTevStages__3CGXFUc /* 80210454 0020D3B4 38 60 00 00 */ li r3, 0 /* 80210458 0020D3B8 38 80 00 01 */ li r4, 1 /* 8021045C 0020D3BC 38 A0 00 00 */ li r5, 0 /* 80210460 0020D3C0 38 C0 00 2D */ li r6, 0x2d /* 80210464 0020D3C4 38 E0 00 00 */ li r7, 0 /* 80210468 0020D3C8 39 00 00 7D */ li r8, 0x7d /* 8021046C 0020D3CC 48 0F 82 61 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80210470 0020D3D0 38 60 00 00 */ li r3, 0 /* 80210474 0020D3D4 38 80 00 00 */ li r4, 0 /* 80210478 0020D3D8 38 A0 00 00 */ li r5, 0 /* 8021047C 0020D3DC 38 C0 00 04 */ li r6, 4 /* 80210480 0020D3E0 48 0F 84 CD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80210484 0020D3E4 38 60 00 00 */ li r3, 0 /* 80210488 0020D3E8 48 0F 77 C9 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 8021048C 0020D3EC 38 60 00 00 */ li r3, 0 /* 80210490 0020D3F0 38 80 00 0F */ li r4, 0xf /* 80210494 0020D3F4 38 A0 00 0F */ li r5, 0xf /* 80210498 0020D3F8 38 C0 00 0F */ li r6, 0xf /* 8021049C 0020D3FC 38 E0 00 08 */ li r7, 8 /* 802104A0 0020D400 48 0F 87 4D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 802104A4 0020D404 38 60 00 00 */ li r3, 0 /* 802104A8 0020D408 38 80 00 07 */ li r4, 7 /* 802104AC 0020D40C 38 A0 00 05 */ li r5, 5 /* 802104B0 0020D410 38 C0 00 06 */ li r6, 6 /* 802104B4 0020D414 38 E0 00 07 */ li r7, 7 /* 802104B8 0020D418 48 0F 86 DD */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 802104BC 0020D41C 38 60 00 00 */ li r3, 0 /* 802104C0 0020D420 38 80 00 1C */ li r4, 0x1c /* 802104C4 0020D424 48 0F 84 D9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 802104C8 0020D428 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 802104CC 0020D42C 38 61 00 08 */ addi r3, r1, 8 /* 802104D0 0020D430 C0 82 B2 68 */ lfs f4, lbl_805ACF88@sda21(r2) /* 802104D4 0020D434 FC 40 08 90 */ fmr f2, f1 /* 802104D8 0020D438 FC 60 08 90 */ fmr f3, f1 /* 802104DC 0020D43C 48 15 2F 11 */ bl __ct__6CColorFffff /* 802104E0 0020D440 80 01 00 08 */ lwz r0, 8(r1) /* 802104E4 0020D444 38 81 00 0C */ addi r4, r1, 0xc /* 802104E8 0020D448 38 60 00 00 */ li r3, 0 /* 802104EC 0020D44C 90 01 00 0C */ stw r0, 0xc(r1) /* 802104F0 0020D450 48 0F 87 55 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 802104F4 0020D454 80 7F 00 48 */ lwz r3, 0x48(r31) /* 802104F8 0020D458 38 80 00 00 */ li r4, 0 /* 802104FC 0020D45C 38 A0 00 00 */ li r5, 0 /* 80210500 0020D460 48 0F F2 3D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210504 0020D464 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210508 0020D468 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021050C 0020D46C 7C 08 03 A6 */ mtlr r0 /* 80210510 0020D470 38 21 00 20 */ addi r1, r1, 0x20 /* 80210514 0020D474 4E 80 00 20 */ blr .global sub_80210518 sub_80210518: /* 80210518 0020D478 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021051C 0020D47C 7C 08 02 A6 */ mflr r0 /* 80210520 0020D480 38 60 00 01 */ li r3, 1 /* 80210524 0020D484 38 80 00 00 */ li r4, 0 /* 80210528 0020D488 90 01 00 14 */ stw r0, 0x14(r1) /* 8021052C 0020D48C 38 A0 00 00 */ li r5, 0 /* 80210530 0020D490 48 16 B3 01 */ bl GXSetTevSwapMode /* 80210534 0020D494 80 01 00 14 */ lwz r0, 0x14(r1) /* 80210538 0020D498 7C 08 03 A6 */ mtlr r0 /* 8021053C 0020D49C 38 21 00 10 */ addi r1, r1, 0x10 /* 80210540 0020D4A0 4E 80 00 20 */ blr .global SetupUnderwaterTevs__13CEnvFxManagerFRC12CTransform4fR13CStateManager SetupUnderwaterTevs__13CEnvFxManagerFRC12CTransform4fR13CStateManager: /* 80210544 0020D4A4 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80210548 0020D4A8 7C 08 02 A6 */ mflr r0 /* 8021054C 0020D4AC 3C C0 80 3D */ lis r6, lbl_803D27C8@ha /* 80210550 0020D4B0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80210554 0020D4B4 BF 61 00 8C */ stmw r27, 0x8c(r1) /* 80210558 0020D4B8 7C 7E 1B 78 */ mr r30, r3 /* 8021055C 0020D4BC 38 66 27 C8 */ addi r3, r6, lbl_803D27C8@l /* 80210560 0020D4C0 7C 9F 23 78 */ mr r31, r4 /* 80210564 0020D4C4 7C BB 2B 78 */ mr r27, r5 /* 80210568 0020D4C8 48 0F 78 C1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 8021056C 0020D4CC 38 60 00 06 */ li r3, 6 /* 80210570 0020D4D0 38 80 00 09 */ li r4, 9 /* 80210574 0020D4D4 38 A0 00 01 */ li r5, 1 /* 80210578 0020D4D8 38 C0 00 03 */ li r6, 3 /* 8021057C 0020D4DC 38 E0 00 08 */ li r7, 8 /* 80210580 0020D4E0 48 16 72 0D */ bl GXSetVtxAttrFmt /* 80210584 0020D4E4 38 60 00 06 */ li r3, 6 /* 80210588 0020D4E8 38 80 00 0D */ li r4, 0xd /* 8021058C 0020D4EC 38 A0 00 01 */ li r5, 1 /* 80210590 0020D4F0 38 C0 00 01 */ li r6, 1 /* 80210594 0020D4F4 38 E0 00 01 */ li r7, 1 /* 80210598 0020D4F8 48 16 71 F5 */ bl GXSetVtxAttrFmt /* 8021059C 0020D4FC 38 60 00 01 */ li r3, 1 /* 802105A0 0020D500 38 80 00 04 */ li r4, 4 /* 802105A4 0020D504 38 A0 00 05 */ li r5, 5 /* 802105A8 0020D508 38 C0 00 00 */ li r6, 0 /* 802105AC 0020D50C 48 0F 83 25 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 802105B0 0020D510 38 60 00 00 */ li r3, 0 /* 802105B4 0020D514 48 0F 88 9D */ bl SetNumChans__3CGXFUc /* 802105B8 0020D518 38 60 00 02 */ li r3, 2 /* 802105BC 0020D51C 48 0F 88 59 */ bl SetNumTexGens__3CGXFUc /* 802105C0 0020D520 38 60 00 02 */ li r3, 2 /* 802105C4 0020D524 48 0F 86 CD */ bl SetNumTevStages__3CGXFUc /* 802105C8 0020D528 38 60 00 00 */ li r3, 0 /* 802105CC 0020D52C 38 80 00 01 */ li r4, 1 /* 802105D0 0020D530 38 A0 00 04 */ li r5, 4 /* 802105D4 0020D534 38 C0 00 3C */ li r6, 0x3c /* 802105D8 0020D538 38 E0 00 00 */ li r7, 0 /* 802105DC 0020D53C 39 00 00 7D */ li r8, 0x7d /* 802105E0 0020D540 48 0F 80 ED */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 802105E4 0020D544 38 60 00 00 */ li r3, 0 /* 802105E8 0020D548 38 80 00 00 */ li r4, 0 /* 802105EC 0020D54C 38 A0 00 00 */ li r5, 0 /* 802105F0 0020D550 38 C0 00 FF */ li r6, 0xff /* 802105F4 0020D554 48 0F 83 59 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 802105F8 0020D558 38 60 00 00 */ li r3, 0 /* 802105FC 0020D55C 48 0F 76 55 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80210600 0020D560 38 60 00 00 */ li r3, 0 /* 80210604 0020D564 38 80 00 0F */ li r4, 0xf /* 80210608 0020D568 38 A0 00 0F */ li r5, 0xf /* 8021060C 0020D56C 38 C0 00 0F */ li r6, 0xf /* 80210610 0020D570 38 E0 00 08 */ li r7, 8 /* 80210614 0020D574 48 0F 85 D9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210618 0020D578 38 60 00 00 */ li r3, 0 /* 8021061C 0020D57C 38 80 00 07 */ li r4, 7 /* 80210620 0020D580 38 A0 00 07 */ li r5, 7 /* 80210624 0020D584 38 C0 00 07 */ li r6, 7 /* 80210628 0020D588 38 E0 00 04 */ li r7, 4 /* 8021062C 0020D58C 48 0F 85 69 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210630 0020D590 80 9E 0C 50 */ lwz r4, 0xc50(r30) /* 80210634 0020D594 7F C3 F3 78 */ mr r3, r30 /* 80210638 0020D598 48 00 04 B5 */ bl BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture /* 8021063C 0020D59C 80 7E 0C 50 */ lwz r3, 0xc50(r30) /* 80210640 0020D5A0 38 80 00 00 */ li r4, 0 /* 80210644 0020D5A4 38 A0 00 01 */ li r5, 1 /* 80210648 0020D5A8 48 0F F0 F5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 8021064C 0020D5AC 38 60 00 01 */ li r3, 1 /* 80210650 0020D5B0 38 80 00 01 */ li r4, 1 /* 80210654 0020D5B4 38 A0 00 00 */ li r5, 0 /* 80210658 0020D5B8 38 C0 00 2D */ li r6, 0x2d /* 8021065C 0020D5BC 38 E0 00 00 */ li r7, 0 /* 80210660 0020D5C0 39 00 00 7D */ li r8, 0x7d /* 80210664 0020D5C4 48 0F 80 69 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80210668 0020D5C8 38 60 00 01 */ li r3, 1 /* 8021066C 0020D5CC 38 80 00 01 */ li r4, 1 /* 80210670 0020D5D0 38 A0 00 01 */ li r5, 1 /* 80210674 0020D5D4 38 C0 00 FF */ li r6, 0xff /* 80210678 0020D5D8 48 0F 82 D5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 8021067C 0020D5DC C0 02 B2 6C */ lfs f0, lbl_805ACF8C@sda21(r2) /* 80210680 0020D5E0 83 BB 08 10 */ lwz r29, 0x810(r27) /* 80210684 0020D5E4 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80210688 0020D5E8 AB 9D 20 08 */ lha r28, 0x2008(r29) /* 8021068C 0020D5EC 48 00 00 F0 */ b lbl_8021077C lbl_80210690: /* 80210690 0020D5F0 7F A3 EB 78 */ mr r3, r29 /* 80210694 0020D5F4 7F 84 E3 78 */ mr r4, r28 /* 80210698 0020D5F8 4B DF F6 45 */ bl __vc__11CObjectListCFi /* 8021069C 0020D5FC 7C 60 1B 78 */ mr r0, r3 /* 802106A0 0020D600 38 61 00 10 */ addi r3, r1, 0x10 /* 802106A4 0020D604 7C 1B 03 78 */ mr r27, r0 /* 802106A8 0020D608 7F 64 DB 78 */ mr r4, r27 /* 802106AC 0020D60C 4B E9 61 B5 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" /* 802106B0 0020D610 80 03 00 04 */ lwz r0, 4(r3) /* 802106B4 0020D614 28 00 00 00 */ cmplwi r0, 0 /* 802106B8 0020D618 41 82 00 A8 */ beq lbl_80210760 /* 802106BC 0020D61C 7F 64 DB 78 */ mr r4, r27 /* 802106C0 0020D620 38 61 00 30 */ addi r3, r1, 0x30 /* 802106C4 0020D624 81 9B 00 00 */ lwz r12, 0(r27) /* 802106C8 0020D628 81 8C 00 40 */ lwz r12, 0x40(r12) /* 802106CC 0020D62C 7D 89 03 A6 */ mtctr r12 /* 802106D0 0020D630 4E 80 04 21 */ bctrl /* 802106D4 0020D634 88 01 00 48 */ lbz r0, 0x48(r1) /* 802106D8 0020D638 28 00 00 00 */ cmplwi r0, 0 /* 802106DC 0020D63C 98 01 00 84 */ stb r0, 0x84(r1) /* 802106E0 0020D640 41 82 00 3C */ beq lbl_8021071C /* 802106E4 0020D644 34 61 00 6C */ addic. r3, r1, 0x6c /* 802106E8 0020D648 41 82 00 34 */ beq lbl_8021071C /* 802106EC 0020D64C C0 01 00 30 */ lfs f0, 0x30(r1) /* 802106F0 0020D650 D0 03 00 00 */ stfs f0, 0(r3) /* 802106F4 0020D654 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802106F8 0020D658 D0 03 00 04 */ stfs f0, 4(r3) /* 802106FC 0020D65C C0 01 00 38 */ lfs f0, 0x38(r1) /* 80210700 0020D660 D0 03 00 08 */ stfs f0, 8(r3) /* 80210704 0020D664 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80210708 0020D668 D0 03 00 0C */ stfs f0, 0xc(r3) /* 8021070C 0020D66C C0 01 00 40 */ lfs f0, 0x40(r1) /* 80210710 0020D670 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80210714 0020D674 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80210718 0020D678 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_8021071C: /* 8021071C 0020D67C 88 01 00 84 */ lbz r0, 0x84(r1) /* 80210720 0020D680 38 60 00 00 */ li r3, 0 /* 80210724 0020D684 98 61 00 48 */ stb r3, 0x48(r1) /* 80210728 0020D688 28 00 00 00 */ cmplwi r0, 0 /* 8021072C 0020D68C 41 82 00 2C */ beq lbl_80210758 /* 80210730 0020D690 C0 21 00 80 */ lfs f1, 0x80(r1) /* 80210734 0020D694 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80210738 0020D698 D0 21 00 08 */ stfs f1, 8(r1) /* 8021073C 0020D69C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80210740 0020D6A0 40 80 00 0C */ bge lbl_8021074C /* 80210744 0020D6A4 38 61 00 0C */ addi r3, r1, 0xc /* 80210748 0020D6A8 48 00 00 08 */ b lbl_80210750 lbl_8021074C: /* 8021074C 0020D6AC 38 61 00 08 */ addi r3, r1, 8 lbl_80210750: /* 80210750 0020D6B0 C0 03 00 00 */ lfs f0, 0(r3) /* 80210754 0020D6B4 D0 01 00 0C */ stfs f0, 0xc(r1) lbl_80210758: /* 80210758 0020D6B8 38 00 00 00 */ li r0, 0 /* 8021075C 0020D6BC 98 01 00 84 */ stb r0, 0x84(r1) lbl_80210760: /* 80210760 0020D6C0 2C 1C FF FF */ cmpwi r28, -1 /* 80210764 0020D6C4 41 82 00 14 */ beq lbl_80210778 /* 80210768 0020D6C8 57 83 18 38 */ slwi r3, r28, 3 /* 8021076C 0020D6CC 38 03 00 08 */ addi r0, r3, 8 /* 80210770 0020D6D0 7F 9D 02 AE */ lhax r28, r29, r0 /* 80210774 0020D6D4 48 00 00 08 */ b lbl_8021077C lbl_80210778: /* 80210778 0020D6D8 3B 80 FF FF */ li r28, -1 lbl_8021077C: /* 8021077C 0020D6DC 2C 1C FF FF */ cmpwi r28, -1 /* 80210780 0020D6E0 40 82 FF 10 */ bne lbl_80210690 /* 80210784 0020D6E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80210788 0020D6E8 C0 61 00 0C */ lfs f3, 0xc(r1) /* 8021078C 0020D6EC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80210790 0020D6F0 7F E4 FB 78 */ mr r4, r31 /* 80210794 0020D6F4 C0 46 00 00 */ lfs f2, 0(r6) /* 80210798 0020D6F8 38 61 00 24 */ addi r3, r1, 0x24 /* 8021079C 0020D6FC C0 26 00 04 */ lfs f1, 4(r6) /* 802107A0 0020D700 38 A1 00 18 */ addi r5, r1, 0x18 /* 802107A4 0020D704 C0 06 00 08 */ lfs f0, 8(r6) /* 802107A8 0020D708 EC 43 00 B2 */ fmuls f2, f3, f2 /* 802107AC 0020D70C EC 23 00 72 */ fmuls f1, f3, f1 /* 802107B0 0020D710 EC 03 00 32 */ fmuls f0, f3, f0 /* 802107B4 0020D714 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802107B8 0020D718 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 802107BC 0020D71C D0 01 00 20 */ stfs f0, 0x20(r1) /* 802107C0 0020D720 48 10 23 29 */ bl __ml__12CTransform4fCFRC9CVector3f /* 802107C4 0020D724 3C 60 80 3D */ lis r3, lbl_803D27E0@ha /* 802107C8 0020D728 C0 42 B2 74 */ lfs f2, lbl_805ACF94@sda21(r2) /* 802107CC 0020D72C 39 83 27 E0 */ addi r12, r3, lbl_803D27E0@l /* 802107D0 0020D730 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 802107D4 0020D734 C0 02 B2 70 */ lfs f0, lbl_805ACF90@sda21(r2) /* 802107D8 0020D738 38 61 00 4C */ addi r3, r1, 0x4c /* 802107DC 0020D73C 80 0C 00 1C */ lwz r0, 0x1c(r12) /* 802107E0 0020D740 38 80 00 2D */ li r4, 0x2d /* 802107E4 0020D744 81 6C 00 00 */ lwz r11, 0(r12) /* 802107E8 0020D748 EC 02 00 7E */ fnmadds f0, f2, f1, f0 /* 802107EC 0020D74C 90 01 00 68 */ stw r0, 0x68(r1) /* 802107F0 0020D750 38 A0 00 01 */ li r5, 1 /* 802107F4 0020D754 81 4C 00 04 */ lwz r10, 4(r12) /* 802107F8 0020D758 81 2C 00 08 */ lwz r9, 8(r12) /* 802107FC 0020D75C 81 0C 00 0C */ lwz r8, 0xc(r12) /* 80210800 0020D760 80 EC 00 10 */ lwz r7, 0x10(r12) /* 80210804 0020D764 80 CC 00 14 */ lwz r6, 0x14(r12) /* 80210808 0020D768 80 0C 00 18 */ lwz r0, 0x18(r12) /* 8021080C 0020D76C 91 61 00 4C */ stw r11, 0x4c(r1) /* 80210810 0020D770 91 41 00 50 */ stw r10, 0x50(r1) /* 80210814 0020D774 91 21 00 54 */ stw r9, 0x54(r1) /* 80210818 0020D778 91 01 00 58 */ stw r8, 0x58(r1) /* 8021081C 0020D77C 90 E1 00 5C */ stw r7, 0x5c(r1) /* 80210820 0020D780 90 C1 00 60 */ stw r6, 0x60(r1) /* 80210824 0020D784 90 01 00 64 */ stw r0, 0x64(r1) /* 80210828 0020D788 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8021082C 0020D78C 48 16 BC 65 */ bl GXLoadTexMtxImm /* 80210830 0020D790 38 60 00 01 */ li r3, 1 /* 80210834 0020D794 48 0F 74 1D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80210838 0020D798 38 60 00 01 */ li r3, 1 /* 8021083C 0020D79C 38 80 00 0F */ li r4, 0xf /* 80210840 0020D7A0 38 A0 00 0C */ li r5, 0xc /* 80210844 0020D7A4 38 C0 00 00 */ li r6, 0 /* 80210848 0020D7A8 38 E0 00 0F */ li r7, 0xf /* 8021084C 0020D7AC 48 0F 83 A1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210850 0020D7B0 38 60 00 01 */ li r3, 1 /* 80210854 0020D7B4 38 80 00 07 */ li r4, 7 /* 80210858 0020D7B8 38 A0 00 04 */ li r5, 4 /* 8021085C 0020D7BC 38 C0 00 00 */ li r6, 0 /* 80210860 0020D7C0 38 E0 00 07 */ li r7, 7 /* 80210864 0020D7C4 48 0F 83 31 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210868 0020D7C8 38 60 00 01 */ li r3, 1 /* 8021086C 0020D7CC 38 80 00 01 */ li r4, 1 /* 80210870 0020D7D0 38 A0 00 01 */ li r5, 1 /* 80210874 0020D7D4 48 16 AF BD */ bl GXSetTevSwapMode /* 80210878 0020D7D8 80 7E 00 48 */ lwz r3, 0x48(r30) /* 8021087C 0020D7DC 38 80 00 01 */ li r4, 1 /* 80210880 0020D7E0 38 A0 00 00 */ li r5, 0 /* 80210884 0020D7E4 48 0F EE B9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210888 0020D7E8 BB 61 00 8C */ lmw r27, 0x8c(r1) /* 8021088C 0020D7EC 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80210890 0020D7F0 7C 08 03 A6 */ mtlr r0 /* 80210894 0020D7F4 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80210898 0020D7F8 4E 80 00 20 */ blr .global SetupSnowTevs__13CEnvFxManagerFR13CStateManager SetupSnowTevs__13CEnvFxManagerFR13CStateManager: /* 8021089C 0020D7FC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802108A0 0020D800 7C 08 02 A6 */ mflr r0 /* 802108A4 0020D804 90 01 00 24 */ stw r0, 0x24(r1) /* 802108A8 0020D808 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802108AC 0020D80C 93 C1 00 18 */ stw r30, 0x18(r1) /* 802108B0 0020D810 7C 7E 1B 78 */ mr r30, r3 /* 802108B4 0020D814 83 E4 08 70 */ lwz r31, 0x870(r4) /* 802108B8 0020D818 7F E3 FB 78 */ mr r3, r31 /* 802108BC 0020D81C 4B DF B2 5D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 802108C0 0020D820 48 13 96 ED */ bl White__6CColorFv /* 802108C4 0020D824 80 03 00 00 */ lwz r0, 0(r3) /* 802108C8 0020D828 90 01 00 0C */ stw r0, 0xc(r1) /* 802108CC 0020D82C 80 1F 00 74 */ lwz r0, 0x74(r31) /* 802108D0 0020D830 2C 00 00 00 */ cmpwi r0, 0 /* 802108D4 0020D834 41 82 00 50 */ beq lbl_80210924 /* 802108D8 0020D838 48 13 96 DD */ bl Black__6CColorFv /* 802108DC 0020D83C 7C 65 1B 78 */ mr r5, r3 /* 802108E0 0020D840 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802108E4 0020D844 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 802108E8 0020D848 38 80 00 04 */ li r4, 4 /* 802108EC 0020D84C 81 83 00 00 */ lwz r12, 0(r3) /* 802108F0 0020D850 C0 42 B2 7C */ lfs f2, lbl_805ACF9C@sda21(r2) /* 802108F4 0020D854 81 8C 00 E0 */ lwz r12, 0xe0(r12) /* 802108F8 0020D858 7D 89 03 A6 */ mtctr r12 /* 802108FC 0020D85C 4E 80 04 21 */ bctrl /* 80210900 0020D860 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80210904 0020D864 38 61 00 08 */ addi r3, r1, 8 /* 80210908 0020D868 C0 82 B2 70 */ lfs f4, lbl_805ACF90@sda21(r2) /* 8021090C 0020D86C FC 40 08 90 */ fmr f2, f1 /* 80210910 0020D870 FC 60 08 90 */ fmr f3, f1 /* 80210914 0020D874 48 15 2A D9 */ bl __ct__6CColorFffff /* 80210918 0020D878 80 01 00 08 */ lwz r0, 8(r1) /* 8021091C 0020D87C 90 01 00 0C */ stw r0, 0xc(r1) /* 80210920 0020D880 48 00 00 2C */ b lbl_8021094C lbl_80210924: /* 80210924 0020D884 48 13 96 91 */ bl Black__6CColorFv /* 80210928 0020D888 7C 65 1B 78 */ mr r5, r3 /* 8021092C 0020D88C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80210930 0020D890 C0 22 B2 80 */ lfs f1, lbl_805ACFA0@sda21(r2) /* 80210934 0020D894 38 80 00 02 */ li r4, 2 /* 80210938 0020D898 81 83 00 00 */ lwz r12, 0(r3) /* 8021093C 0020D89C C0 42 B2 84 */ lfs f2, lbl_805ACFA4@sda21(r2) /* 80210940 0020D8A0 81 8C 00 E0 */ lwz r12, 0xe0(r12) /* 80210944 0020D8A4 7D 89 03 A6 */ mtctr r12 /* 80210948 0020D8A8 4E 80 04 21 */ bctrl lbl_8021094C: /* 8021094C 0020D8AC 3C 60 80 3D */ lis r3, lbl_803D27B0@ha /* 80210950 0020D8B0 38 63 27 B0 */ addi r3, r3, lbl_803D27B0@l /* 80210954 0020D8B4 48 0F 74 D5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList /* 80210958 0020D8B8 38 60 00 06 */ li r3, 6 /* 8021095C 0020D8BC 38 80 00 09 */ li r4, 9 /* 80210960 0020D8C0 38 A0 00 01 */ li r5, 1 /* 80210964 0020D8C4 38 C0 00 03 */ li r6, 3 /* 80210968 0020D8C8 38 E0 00 08 */ li r7, 8 /* 8021096C 0020D8CC 48 16 6E 21 */ bl GXSetVtxAttrFmt /* 80210970 0020D8D0 38 60 00 06 */ li r3, 6 /* 80210974 0020D8D4 38 80 00 0D */ li r4, 0xd /* 80210978 0020D8D8 38 A0 00 01 */ li r5, 1 /* 8021097C 0020D8DC 38 C0 00 01 */ li r6, 1 /* 80210980 0020D8E0 38 E0 00 01 */ li r7, 1 /* 80210984 0020D8E4 48 16 6E 09 */ bl GXSetVtxAttrFmt /* 80210988 0020D8E8 38 60 00 01 */ li r3, 1 /* 8021098C 0020D8EC 38 80 00 01 */ li r4, 1 /* 80210990 0020D8F0 38 A0 00 01 */ li r5, 1 /* 80210994 0020D8F4 38 C0 00 00 */ li r6, 0 /* 80210998 0020D8F8 48 0F 7F 39 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp /* 8021099C 0020D8FC 38 60 00 00 */ li r3, 0 /* 802109A0 0020D900 48 0F 84 B1 */ bl SetNumChans__3CGXFUc /* 802109A4 0020D904 38 60 00 02 */ li r3, 2 /* 802109A8 0020D908 48 0F 84 6D */ bl SetNumTexGens__3CGXFUc /* 802109AC 0020D90C 38 60 00 02 */ li r3, 2 /* 802109B0 0020D910 48 0F 82 E1 */ bl SetNumTevStages__3CGXFUc /* 802109B4 0020D914 38 60 00 00 */ li r3, 0 /* 802109B8 0020D918 38 80 00 01 */ li r4, 1 /* 802109BC 0020D91C 38 A0 00 04 */ li r5, 4 /* 802109C0 0020D920 38 C0 00 3C */ li r6, 0x3c /* 802109C4 0020D924 38 E0 00 00 */ li r7, 0 /* 802109C8 0020D928 39 00 00 7D */ li r8, 0x7d /* 802109CC 0020D92C 48 0F 7D 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 802109D0 0020D930 38 60 00 00 */ li r3, 0 /* 802109D4 0020D934 38 80 00 00 */ li r4, 0 /* 802109D8 0020D938 38 A0 00 00 */ li r5, 0 /* 802109DC 0020D93C 38 C0 00 FF */ li r6, 0xff /* 802109E0 0020D940 48 0F 7F 6D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 802109E4 0020D944 38 60 00 00 */ li r3, 0 /* 802109E8 0020D948 48 0F 72 69 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 802109EC 0020D94C 38 60 00 00 */ li r3, 0 /* 802109F0 0020D950 38 80 00 0F */ li r4, 0xf /* 802109F4 0020D954 38 A0 00 0E */ li r5, 0xe /* 802109F8 0020D958 38 C0 00 08 */ li r6, 8 /* 802109FC 0020D95C 38 E0 00 0F */ li r7, 0xf /* 80210A00 0020D960 48 0F 81 ED */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210A04 0020D964 38 60 00 00 */ li r3, 0 /* 80210A08 0020D968 38 80 00 07 */ li r4, 7 /* 80210A0C 0020D96C 38 A0 00 06 */ li r5, 6 /* 80210A10 0020D970 38 C0 00 04 */ li r6, 4 /* 80210A14 0020D974 38 E0 00 07 */ li r7, 7 /* 80210A18 0020D978 48 0F 81 7D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210A1C 0020D97C 38 81 00 0C */ addi r4, r1, 0xc /* 80210A20 0020D980 38 60 00 00 */ li r3, 0 /* 80210A24 0020D984 48 0F 82 21 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor /* 80210A28 0020D988 38 60 00 00 */ li r3, 0 /* 80210A2C 0020D98C 38 80 00 0C */ li r4, 0xc /* 80210A30 0020D990 48 0F 7F B1 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel /* 80210A34 0020D994 38 60 00 00 */ li r3, 0 /* 80210A38 0020D998 38 80 00 1C */ li r4, 0x1c /* 80210A3C 0020D99C 48 0F 7F 61 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel /* 80210A40 0020D9A0 80 9E 0B 7C */ lwz r4, 0xb7c(r30) /* 80210A44 0020D9A4 7F C3 F3 78 */ mr r3, r30 /* 80210A48 0020D9A8 48 00 00 A5 */ bl BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture /* 80210A4C 0020D9AC 80 7E 0B 7C */ lwz r3, 0xb7c(r30) /* 80210A50 0020D9B0 38 80 00 00 */ li r4, 0 /* 80210A54 0020D9B4 38 A0 00 01 */ li r5, 1 /* 80210A58 0020D9B8 48 0F EC E5 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210A5C 0020D9BC 38 60 00 01 */ li r3, 1 /* 80210A60 0020D9C0 38 80 00 01 */ li r4, 1 /* 80210A64 0020D9C4 38 A0 00 00 */ li r5, 0 /* 80210A68 0020D9C8 38 C0 00 2D */ li r6, 0x2d /* 80210A6C 0020D9CC 38 E0 00 00 */ li r7, 0 /* 80210A70 0020D9D0 39 00 00 7D */ li r8, 0x7d /* 80210A74 0020D9D4 48 0F 7C 59 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx /* 80210A78 0020D9D8 38 60 00 01 */ li r3, 1 /* 80210A7C 0020D9DC 38 80 00 01 */ li r4, 1 /* 80210A80 0020D9E0 38 A0 00 01 */ li r5, 1 /* 80210A84 0020D9E4 38 C0 00 FF */ li r6, 0xff /* 80210A88 0020D9E8 48 0F 7E C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID /* 80210A8C 0020D9EC 38 60 00 01 */ li r3, 1 /* 80210A90 0020D9F0 48 0F 71 C1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID /* 80210A94 0020D9F4 38 60 00 01 */ li r3, 1 /* 80210A98 0020D9F8 38 80 00 0F */ li r4, 0xf /* 80210A9C 0020D9FC 38 A0 00 08 */ li r5, 8 /* 80210AA0 0020DA00 38 C0 00 00 */ li r6, 0 /* 80210AA4 0020DA04 38 E0 00 0F */ li r7, 0xf /* 80210AA8 0020DA08 48 0F 81 45 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg /* 80210AAC 0020DA0C 38 60 00 01 */ li r3, 1 /* 80210AB0 0020DA10 38 80 00 07 */ li r4, 7 /* 80210AB4 0020DA14 38 A0 00 07 */ li r5, 7 /* 80210AB8 0020DA18 38 C0 00 07 */ li r6, 7 /* 80210ABC 0020DA1C 38 E0 00 04 */ li r7, 4 /* 80210AC0 0020DA20 48 0F 80 D5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg /* 80210AC4 0020DA24 80 7E 00 48 */ lwz r3, 0x48(r30) /* 80210AC8 0020DA28 38 80 00 01 */ li r4, 1 /* 80210ACC 0020DA2C 38 A0 00 00 */ li r5, 0 /* 80210AD0 0020DA30 48 0F EC 6D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode /* 80210AD4 0020DA34 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210AD8 0020DA38 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80210ADC 0020DA3C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80210AE0 0020DA40 7C 08 03 A6 */ mtlr r0 /* 80210AE4 0020DA44 38 21 00 20 */ addi r1, r1, 0x20 /* 80210AE8 0020DA48 4E 80 00 20 */ blr .global BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture BlankFirstSnowflakeMip__13CEnvFxManagerFR8CTexture: /* 80210AEC 0020DA4C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80210AF0 0020DA50 7C 08 02 A6 */ mflr r0 /* 80210AF4 0020DA54 90 01 00 14 */ stw r0, 0x14(r1) /* 80210AF8 0020DA58 93 E1 00 0C */ stw r31, 0xc(r1) /* 80210AFC 0020DA5C 7C 9F 23 78 */ mr r31, r4 /* 80210B00 0020DA60 93 C1 00 08 */ stw r30, 8(r1) /* 80210B04 0020DA64 7C 7E 1B 78 */ mr r30, r3 /* 80210B08 0020DA68 88 03 00 3C */ lbz r0, 0x3c(r3) /* 80210B0C 0020DA6C 28 00 00 00 */ cmplwi r0, 0 /* 80210B10 0020DA70 40 82 00 CC */ bne lbl_80210BDC /* 80210B14 0020DA74 88 1F 00 0A */ lbz r0, 0xa(r31) /* 80210B18 0020DA78 38 60 00 01 */ li r3, 1 /* 80210B1C 0020DA7C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80210B20 0020DA80 7F E3 FB 78 */ mr r3, r31 /* 80210B24 0020DA84 98 1F 00 0A */ stb r0, 0xa(r31) /* 80210B28 0020DA88 38 80 00 00 */ li r4, 0 /* 80210B2C 0020DA8C 48 0F DA A9 */ bl GetBitMapData__8CTextureFi /* 80210B30 0020DA90 A8 9F 00 04 */ lha r4, 4(r31) /* 80210B34 0020DA94 38 E0 00 00 */ li r7, 0 /* 80210B38 0020DA98 A8 1F 00 06 */ lha r0, 6(r31) /* 80210B3C 0020DA9C 88 BF 00 09 */ lbz r5, 9(r31) /* 80210B40 0020DAA0 7C 04 01 D6 */ mullw r0, r4, r0 /* 80210B44 0020DAA4 7C A4 07 74 */ extsb r4, r5 /* 80210B48 0020DAA8 7C 04 01 D6 */ mullw r0, r4, r0 /* 80210B4C 0020DAAC 7C 00 1E 70 */ srawi r0, r0, 3 /* 80210B50 0020DAB0 7C C0 01 95 */ addze. r6, r0 /* 80210B54 0020DAB4 40 81 00 78 */ ble lbl_80210BCC /* 80210B58 0020DAB8 2C 06 00 08 */ cmpwi r6, 8 /* 80210B5C 0020DABC 38 A6 FF F8 */ addi r5, r6, -8 /* 80210B60 0020DAC0 40 81 00 48 */ ble lbl_80210BA8 /* 80210B64 0020DAC4 38 05 00 07 */ addi r0, r5, 7 /* 80210B68 0020DAC8 38 80 00 00 */ li r4, 0 /* 80210B6C 0020DACC 54 00 E8 FE */ srwi r0, r0, 3 /* 80210B70 0020DAD0 7C 09 03 A6 */ mtctr r0 /* 80210B74 0020DAD4 2C 05 00 00 */ cmpwi r5, 0 /* 80210B78 0020DAD8 40 81 00 30 */ ble lbl_80210BA8 lbl_80210B7C: /* 80210B7C 0020DADC 7C A3 3A 14 */ add r5, r3, r7 /* 80210B80 0020DAE0 38 E7 00 08 */ addi r7, r7, 8 /* 80210B84 0020DAE4 98 85 00 00 */ stb r4, 0(r5) /* 80210B88 0020DAE8 98 85 00 01 */ stb r4, 1(r5) /* 80210B8C 0020DAEC 98 85 00 02 */ stb r4, 2(r5) /* 80210B90 0020DAF0 98 85 00 03 */ stb r4, 3(r5) /* 80210B94 0020DAF4 98 85 00 04 */ stb r4, 4(r5) /* 80210B98 0020DAF8 98 85 00 05 */ stb r4, 5(r5) /* 80210B9C 0020DAFC 98 85 00 06 */ stb r4, 6(r5) /* 80210BA0 0020DB00 98 85 00 07 */ stb r4, 7(r5) /* 80210BA4 0020DB04 42 00 FF D8 */ bdnz lbl_80210B7C lbl_80210BA8: /* 80210BA8 0020DB08 7C 07 30 50 */ subf r0, r7, r6 /* 80210BAC 0020DB0C 7C 63 3A 14 */ add r3, r3, r7 /* 80210BB0 0020DB10 38 80 00 00 */ li r4, 0 /* 80210BB4 0020DB14 7C 09 03 A6 */ mtctr r0 /* 80210BB8 0020DB18 7C 07 30 00 */ cmpw r7, r6 /* 80210BBC 0020DB1C 40 80 00 10 */ bge lbl_80210BCC lbl_80210BC0: /* 80210BC0 0020DB20 98 83 00 00 */ stb r4, 0(r3) /* 80210BC4 0020DB24 38 63 00 01 */ addi r3, r3, 1 /* 80210BC8 0020DB28 42 00 FF F8 */ bdnz lbl_80210BC0 lbl_80210BCC: /* 80210BCC 0020DB2C 7F E3 FB 78 */ mr r3, r31 /* 80210BD0 0020DB30 48 0F DD 4D */ bl UnLock__8CTextureFv /* 80210BD4 0020DB34 38 00 00 01 */ li r0, 1 /* 80210BD8 0020DB38 98 1E 00 3C */ stb r0, 0x3c(r30) lbl_80210BDC: /* 80210BDC 0020DB3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80210BE0 0020DB40 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80210BE4 0020DB44 83 C1 00 08 */ lwz r30, 8(r1) /* 80210BE8 0020DB48 7C 08 03 A6 */ mtlr r0 /* 80210BEC 0020DB4C 38 21 00 10 */ addi r1, r1, 0x10 /* 80210BF0 0020DB50 4E 80 00 20 */ blr .global GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv: /* 80210BF4 0020DB54 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 80210BF8 0020DB58 7C 08 02 A6 */ mflr r0 /* 80210BFC 0020DB5C C0 02 B2 88 */ lfs f0, lbl_805ACFA8@sda21(r2) /* 80210C00 0020DB60 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80210C04 0020DB64 93 E1 00 EC */ stw r31, 0xec(r1) /* 80210C08 0020DB68 7C 9F 23 78 */ mr r31, r4 /* 80210C0C 0020DB6C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 80210C10 0020DB70 7C 7E 1B 78 */ mr r30, r3 /* 80210C14 0020DB74 38 61 00 08 */ addi r3, r1, 8 /* 80210C18 0020DB78 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80210C1C 0020DB7C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80210C20 0020DB80 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80210C24 0020DB84 48 00 1E F5 */ bl GetParticleBoundsToWorldScale__13CEnvFxManagerCFv /* 80210C28 0020DB88 38 61 00 20 */ addi r3, r1, 0x20 /* 80210C2C 0020DB8C 38 81 00 08 */ addi r4, r1, 8 /* 80210C30 0020DB90 48 10 25 95 */ bl Scale__12CTransform4fFRC9CVector3f /* 80210C34 0020DB94 38 61 00 50 */ addi r3, r1, 0x50 /* 80210C38 0020DB98 38 81 00 14 */ addi r4, r1, 0x14 /* 80210C3C 0020DB9C 48 10 25 05 */ bl Translate__12CTransform4fFRC9CVector3f /* 80210C40 0020DBA0 38 61 00 80 */ addi r3, r1, 0x80 /* 80210C44 0020DBA4 38 9F 00 18 */ addi r4, r31, 0x18 /* 80210C48 0020DBA8 48 10 24 F9 */ bl Translate__12CTransform4fFRC9CVector3f /* 80210C4C 0020DBAC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80210C50 0020DBB0 38 81 00 80 */ addi r4, r1, 0x80 /* 80210C54 0020DBB4 38 A1 00 50 */ addi r5, r1, 0x50 /* 80210C58 0020DBB8 48 10 1C F9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80210C5C 0020DBBC 7F C3 F3 78 */ mr r3, r30 /* 80210C60 0020DBC0 38 81 00 B0 */ addi r4, r1, 0xb0 /* 80210C64 0020DBC4 38 A1 00 20 */ addi r5, r1, 0x20 /* 80210C68 0020DBC8 48 10 1C E9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80210C6C 0020DBCC 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80210C70 0020DBD0 83 E1 00 EC */ lwz r31, 0xec(r1) /* 80210C74 0020DBD4 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 80210C78 0020DBD8 7C 08 03 A6 */ mtlr r0 /* 80210C7C 0020DBDC 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80210C80 0020DBE0 4E 80 00 20 */ blr .global SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager: /* 80210C84 0020DBE4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80210C88 0020DBE8 7C 08 02 A6 */ mflr r0 /* 80210C8C 0020DBEC 90 01 00 24 */ stw r0, 0x24(r1) /* 80210C90 0020DBF0 DB E1 00 18 */ stfd f31, 0x18(r1) /* 80210C94 0020DBF4 FF E0 08 90 */ fmr f31, f1 /* 80210C98 0020DBF8 A0 03 0B 68 */ lhz r0, 0xb68(r3) /* 80210C9C 0020DBFC 7C 83 23 78 */ mr r3, r4 /* 80210CA0 0020DC00 38 81 00 08 */ addi r4, r1, 8 /* 80210CA4 0020DC04 B0 01 00 08 */ sth r0, 8(r1) /* 80210CA8 0020DC08 4B E3 B8 CD */ bl ObjectById__13CStateManagerF9TUniqueId /* 80210CAC 0020DC0C 7C 64 1B 78 */ mr r4, r3 /* 80210CB0 0020DC10 38 61 00 0C */ addi r3, r1, 0xc /* 80210CB4 0020DC14 4B E9 C7 49 */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" /* 80210CB8 0020DC18 80 63 00 04 */ lwz r3, 4(r3) /* 80210CBC 0020DC1C 28 03 00 00 */ cmplwi r3, 0 /* 80210CC0 0020DC20 41 82 00 28 */ beq lbl_80210CE8 /* 80210CC4 0020DC24 88 03 01 04 */ lbz r0, 0x104(r3) /* 80210CC8 0020DC28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80210CCC 0020DC2C 41 82 00 1C */ beq lbl_80210CE8 /* 80210CD0 0020DC30 80 63 00 E8 */ lwz r3, 0xe8(r3) /* 80210CD4 0020DC34 FC 20 F8 90 */ fmr f1, f31 /* 80210CD8 0020DC38 81 83 00 00 */ lwz r12, 0(r3) /* 80210CDC 0020DC3C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80210CE0 0020DC40 7D 89 03 A6 */ mtctr r12 /* 80210CE4 0020DC44 4E 80 04 21 */ bctrl lbl_80210CE8: /* 80210CE8 0020DC48 80 01 00 24 */ lwz r0, 0x24(r1) /* 80210CEC 0020DC4C CB E1 00 18 */ lfd f31, 0x18(r1) /* 80210CF0 0020DC50 7C 08 03 A6 */ mtlr r0 /* 80210CF4 0020DC54 38 21 00 20 */ addi r1, r1, 0x20 /* 80210CF8 0020DC58 4E 80 00 20 */ blr .global UpdateVisorSplash__13CEnvFxManagerFR13CStateManagerfRC12CTransform4f UpdateVisorSplash__13CEnvFxManagerFR13CStateManagerfRC12CTransform4f: /* 80210CFC 0020DC5C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80210D00 0020DC60 7C 08 02 A6 */ mflr r0 /* 80210D04 0020DC64 90 01 00 84 */ stw r0, 0x84(r1) /* 80210D08 0020DC68 DB E1 00 70 */ stfd f31, 0x70(r1) /* 80210D0C 0020DC6C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80210D10 0020DC70 DB C1 00 60 */ stfd f30, 0x60(r1) /* 80210D14 0020DC74 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 80210D18 0020DC78 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80210D1C 0020DC7C 93 C1 00 58 */ stw r30, 0x58(r1) /* 80210D20 0020DC80 93 A1 00 54 */ stw r29, 0x54(r1) /* 80210D24 0020DC84 93 81 00 50 */ stw r28, 0x50(r1) /* 80210D28 0020DC88 7C 7E 1B 78 */ mr r30, r3 /* 80210D2C 0020DC8C 7C 9F 23 78 */ mr r31, r4 /* 80210D30 0020DC90 A0 63 0B 68 */ lhz r3, 0xb68(r3) /* 80210D34 0020DC94 7C BC 2B 78 */ mr r28, r5 /* 80210D38 0020DC98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80210D3C 0020DC9C 80 84 08 50 */ lwz r4, 0x850(r4) /* 80210D40 0020DCA0 7C 03 00 40 */ cmplw r3, r0 /* 80210D44 0020DCA4 83 A4 00 C4 */ lwz r29, 0xc4(r4) /* 80210D48 0020DCA8 41 82 00 48 */ beq lbl_80210D90 /* 80210D4C 0020DCAC A0 1E 0B 68 */ lhz r0, 0xb68(r30) /* 80210D50 0020DCB0 7F E3 FB 78 */ mr r3, r31 /* 80210D54 0020DCB4 38 81 00 08 */ addi r4, r1, 8 /* 80210D58 0020DCB8 B0 01 00 08 */ sth r0, 8(r1) /* 80210D5C 0020DCBC 4B E3 B8 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80210D60 0020DCC0 7C 64 1B 78 */ mr r4, r3 /* 80210D64 0020DCC4 38 61 00 1C */ addi r3, r1, 0x1c /* 80210D68 0020DCC8 4B E9 C6 95 */ bl "__ct__33TCastToPtr<19CHUDBillboardEffect>FP7CEntity" /* 80210D6C 0020DCCC 80 83 00 04 */ lwz r4, 4(r3) /* 80210D70 0020DCD0 28 04 00 00 */ cmplwi r4, 0 /* 80210D74 0020DCD4 41 82 00 1C */ beq lbl_80210D90 /* 80210D78 0020DCD8 80 1F 08 CC */ lwz r0, 0x8cc(r31) /* 80210D7C 0020DCDC 7F E3 FB 78 */ mr r3, r31 /* 80210D80 0020DCE0 38 A1 00 14 */ addi r5, r1, 0x14 /* 80210D84 0020DCE4 90 01 00 10 */ stw r0, 0x10(r1) /* 80210D88 0020DCE8 90 01 00 14 */ stw r0, 0x14(r1) /* 80210D8C 0020DCEC 4B E3 44 ED */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId lbl_80210D90: /* 80210D90 0020DCF0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80210D94 0020DCF4 C0 3C 00 14 */ lfs f1, 0x14(r28) /* 80210D98 0020DCF8 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l /* 80210D9C 0020DCFC C0 7C 00 04 */ lfs f3, 4(r28) /* 80210DA0 0020DD00 C0 03 00 04 */ lfs f0, 4(r3) /* 80210DA4 0020DD04 C0 43 00 00 */ lfs f2, 0(r3) /* 80210DA8 0020DD08 EC 01 00 32 */ fmuls f0, f1, f0 /* 80210DAC 0020DD0C C0 9C 00 24 */ lfs f4, 0x24(r28) /* 80210DB0 0020DD10 C0 23 00 08 */ lfs f1, 8(r3) /* 80210DB4 0020DD14 EC 03 00 BA */ fmadds f0, f3, f2, f0 /* 80210DB8 0020DD18 EC 44 00 7A */ fmadds f2, f4, f1, f0 /* 80210DBC 0020DD1C D0 41 00 18 */ stfs f2, 0x18(r1) /* 80210DC0 0020DD20 88 1E 00 24 */ lbz r0, 0x24(r30) /* 80210DC4 0020DD24 28 00 00 00 */ cmplwi r0, 0 /* 80210DC8 0020DD28 41 82 00 2C */ beq lbl_80210DF4 /* 80210DCC 0020DD2C C0 0D 94 D8 */ lfs f0, lbl_805A8098@sda21(r13) /* 80210DD0 0020DD30 FC 00 10 40 */ fcmpo cr0, f0, f2 /* 80210DD4 0020DD34 40 80 00 0C */ bge lbl_80210DE0 /* 80210DD8 0020DD38 38 61 00 18 */ addi r3, r1, 0x18 /* 80210DDC 0020DD3C 48 00 00 08 */ b lbl_80210DE4 lbl_80210DE0: /* 80210DE0 0020DD40 38 6D 94 D8 */ addi r3, r13, lbl_805A8098@sda21 lbl_80210DE4: /* 80210DE4 0020DD44 C0 3E 00 30 */ lfs f1, 0x30(r30) /* 80210DE8 0020DD48 C0 03 00 00 */ lfs f0, 0(r3) /* 80210DEC 0020DD4C EF E1 00 32 */ fmuls f31, f1, f0 /* 80210DF0 0020DD50 48 00 00 08 */ b lbl_80210DF8 lbl_80210DF4: /* 80210DF4 0020DD54 C3 E2 B2 78 */ lfs f31, lbl_805ACF98@sda21(r2) lbl_80210DF8: /* 80210DF8 0020DD58 28 00 00 00 */ cmplwi r0, 0 /* 80210DFC 0020DD5C C3 C2 B2 78 */ lfs f30, lbl_805ACF98@sda21(r2) /* 80210E00 0020DD60 41 82 00 D0 */ beq lbl_80210ED0 /* 80210E04 0020DD64 C0 02 B2 8C */ lfs f0, lbl_805ACFAC@sda21(r2) /* 80210E08 0020DD68 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80210E0C 0020DD6C 4C 41 13 82 */ cror 2, 1, 2 /* 80210E10 0020DD70 40 82 00 C0 */ bne lbl_80210ED0 /* 80210E14 0020DD74 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 80210E18 0020DD78 38 61 00 30 */ addi r3, r1, 0x30 /* 80210E1C 0020DD7C 38 85 00 34 */ addi r4, r5, 0x34 /* 80210E20 0020DD80 38 A5 01 38 */ addi r5, r5, 0x138 /* 80210E24 0020DD84 48 10 1C 01 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 80210E28 0020DD88 C0 41 00 30 */ lfs f2, 0x30(r1) /* 80210E2C 0020DD8C 38 61 00 3C */ addi r3, r1, 0x3c /* 80210E30 0020DD90 C0 21 00 34 */ lfs f1, 0x34(r1) /* 80210E34 0020DD94 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80210E38 0020DD98 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80210E3C 0020DD9C D0 21 00 40 */ stfs f1, 0x40(r1) /* 80210E40 0020DDA0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80210E44 0020DDA4 48 10 38 B5 */ bl CanBeNormalized__9CVector3fCFv /* 80210E48 0020DDA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80210E4C 0020DDAC 41 82 00 84 */ beq lbl_80210ED0 /* 80210E50 0020DDB0 38 61 00 3C */ addi r3, r1, 0x3c /* 80210E54 0020DDB4 48 10 3A 65 */ bl Magnitude__9CVector3fCFv /* 80210E58 0020DDB8 C0 42 B2 64 */ lfs f2, lbl_805ACF84@sda21(r2) /* 80210E5C 0020DDBC 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 80210E60 0020DDC0 38 63 67 24 */ addi r3, r3, lbl_805A6724@l /* 80210E64 0020DDC4 C0 02 B2 90 */ lfs f0, lbl_805ACFB0@sda21(r2) /* 80210E68 0020DDC8 ED 02 08 24 */ fdivs f8, f2, f1 /* 80210E6C 0020DDCC C0 81 00 40 */ lfs f4, 0x40(r1) /* 80210E70 0020DDD0 C0 A1 00 3C */ lfs f5, 0x3c(r1) /* 80210E74 0020DDD4 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 80210E78 0020DDD8 C0 43 00 04 */ lfs f2, 4(r3) /* 80210E7C 0020DDDC C0 63 00 00 */ lfs f3, 0(r3) /* 80210E80 0020DDE0 EC E8 01 32 */ fmuls f7, f8, f4 /* 80210E84 0020DDE4 C0 83 00 08 */ lfs f4, 8(r3) /* 80210E88 0020DDE8 EC 21 00 24 */ fdivs f1, f1, f0 /* 80210E8C 0020DDEC C0 0D 94 DC */ lfs f0, lbl_805A809C@sda21(r13) /* 80210E90 0020DDF0 D0 E1 00 28 */ stfs f7, 0x28(r1) /* 80210E94 0020DDF4 EC A8 01 72 */ fmuls f5, f8, f5 /* 80210E98 0020DDF8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80210E9C 0020DDFC EC 47 00 B2 */ fmuls f2, f7, f2 /* 80210EA0 0020DE00 EC C8 01 B2 */ fmuls f6, f8, f6 /* 80210EA4 0020DE04 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80210EA8 0020DE08 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80210EAC 0020DE0C EC 05 10 FA */ fmadds f0, f5, f3, f2 /* 80210EB0 0020DE10 D0 C1 00 2C */ stfs f6, 0x2c(r1) /* 80210EB4 0020DE14 EC 26 01 3A */ fmadds f1, f6, f4, f0 /* 80210EB8 0020DE18 40 80 00 0C */ bge lbl_80210EC4 /* 80210EBC 0020DE1C 38 61 00 0C */ addi r3, r1, 0xc /* 80210EC0 0020DE20 48 00 00 08 */ b lbl_80210EC8 lbl_80210EC4: /* 80210EC4 0020DE24 38 6D 94 DC */ addi r3, r13, lbl_805A809C@sda21 lbl_80210EC8: /* 80210EC8 0020DE28 C0 03 00 00 */ lfs f0, 0(r3) /* 80210ECC 0020DE2C EF C0 00 72 */ fmuls f30, f0, f1 lbl_80210ED0: /* 80210ED0 0020DE30 2C 1D 00 02 */ cmpwi r29, 2 /* 80210ED4 0020DE34 C0 3E 0B 54 */ lfs f1, 0xb54(r30) /* 80210ED8 0020DE38 40 82 00 0C */ bne lbl_80210EE4 /* 80210EDC 0020DE3C EC 1F F0 2A */ fadds f0, f31, f30 /* 80210EE0 0020DE40 48 00 00 08 */ b lbl_80210EE8 lbl_80210EE4: /* 80210EE4 0020DE44 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) lbl_80210EE8: /* 80210EE8 0020DE48 EC 21 00 2A */ fadds f1, f1, f0 /* 80210EEC 0020DE4C 7F C3 F3 78 */ mr r3, r30 /* 80210EF0 0020DE50 7F E4 FB 78 */ mr r4, r31 /* 80210EF4 0020DE54 4B FF FD 91 */ bl SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager /* 80210EF8 0020DE58 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 80210EFC 0020DE5C D0 1E 0B 54 */ stfs f0, 0xb54(r30) /* 80210F00 0020DE60 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80210F04 0020DE64 CB E1 00 70 */ lfd f31, 0x70(r1) /* 80210F08 0020DE68 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 80210F0C 0020DE6C CB C1 00 60 */ lfd f30, 0x60(r1) /* 80210F10 0020DE70 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80210F14 0020DE74 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80210F18 0020DE78 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80210F1C 0020DE7C 80 01 00 84 */ lwz r0, 0x84(r1) /* 80210F20 0020DE80 83 81 00 50 */ lwz r28, 0x50(r1) /* 80210F24 0020DE84 7C 08 03 A6 */ mtlr r0 /* 80210F28 0020DE88 38 21 00 80 */ addi r1, r1, 0x80 /* 80210F2C 0020DE8C 4E 80 00 20 */ blr .global UpdateUnderwaterParticles__13CEnvFxManagerFRC15CVectorFixed8_8 UpdateUnderwaterParticles__13CEnvFxManagerFRC15CVectorFixed8_8: /* 80210F30 0020DE90 80 A3 00 50 */ lwz r5, 0x50(r3) /* 80210F34 0020DE94 A8 C4 00 04 */ lha r6, 4(r4) /* 80210F38 0020DE98 39 05 FF FF */ addi r8, r5, -1 /* 80210F3C 0020DE9C 1C 08 00 2C */ mulli r0, r8, 0x2c /* 80210F40 0020DEA0 7C A3 02 14 */ add r5, r3, r0 /* 80210F44 0020DEA4 38 A5 00 54 */ addi r5, r5, 0x54 /* 80210F48 0020DEA8 48 00 01 3C */ b lbl_80211084 lbl_80210F4C: /* 80210F4C 0020DEAC 80 65 00 20 */ lwz r3, 0x20(r5) /* 80210F50 0020DEB0 34 63 FF FF */ addic. r3, r3, -1 /* 80210F54 0020DEB4 1C 83 00 06 */ mulli r4, r3, 6 /* 80210F58 0020DEB8 38 63 00 01 */ addi r3, r3, 1 /* 80210F5C 0020DEBC 41 80 01 20 */ blt lbl_8021107C /* 80210F60 0020DEC0 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f /* 80210F64 0020DEC4 7C 09 03 A6 */ mtctr r0 /* 80210F68 0020DEC8 41 82 00 F0 */ beq lbl_80211058 lbl_80210F6C: /* 80210F6C 0020DECC 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210F70 0020DED0 7C E0 22 14 */ add r7, r0, r4 /* 80210F74 0020DED4 38 84 FF FA */ addi r4, r4, -6 /* 80210F78 0020DED8 A8 07 00 04 */ lha r0, 4(r7) /* 80210F7C 0020DEDC 7C 06 02 14 */ add r0, r6, r0 /* 80210F80 0020DEE0 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210F84 0020DEE4 B0 07 00 04 */ sth r0, 4(r7) /* 80210F88 0020DEE8 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210F8C 0020DEEC 7C E0 22 14 */ add r7, r0, r4 /* 80210F90 0020DEF0 38 84 FF FA */ addi r4, r4, -6 /* 80210F94 0020DEF4 A8 07 00 04 */ lha r0, 4(r7) /* 80210F98 0020DEF8 7C 06 02 14 */ add r0, r6, r0 /* 80210F9C 0020DEFC 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FA0 0020DF00 B0 07 00 04 */ sth r0, 4(r7) /* 80210FA4 0020DF04 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FA8 0020DF08 7C E0 22 14 */ add r7, r0, r4 /* 80210FAC 0020DF0C 38 84 FF FA */ addi r4, r4, -6 /* 80210FB0 0020DF10 A8 07 00 04 */ lha r0, 4(r7) /* 80210FB4 0020DF14 7C 06 02 14 */ add r0, r6, r0 /* 80210FB8 0020DF18 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FBC 0020DF1C B0 07 00 04 */ sth r0, 4(r7) /* 80210FC0 0020DF20 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FC4 0020DF24 7C E0 22 14 */ add r7, r0, r4 /* 80210FC8 0020DF28 38 84 FF FA */ addi r4, r4, -6 /* 80210FCC 0020DF2C A8 07 00 04 */ lha r0, 4(r7) /* 80210FD0 0020DF30 7C 06 02 14 */ add r0, r6, r0 /* 80210FD4 0020DF34 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FD8 0020DF38 B0 07 00 04 */ sth r0, 4(r7) /* 80210FDC 0020DF3C 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FE0 0020DF40 7C E0 22 14 */ add r7, r0, r4 /* 80210FE4 0020DF44 38 84 FF FA */ addi r4, r4, -6 /* 80210FE8 0020DF48 A8 07 00 04 */ lha r0, 4(r7) /* 80210FEC 0020DF4C 7C 06 02 14 */ add r0, r6, r0 /* 80210FF0 0020DF50 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80210FF4 0020DF54 B0 07 00 04 */ sth r0, 4(r7) /* 80210FF8 0020DF58 80 05 00 28 */ lwz r0, 0x28(r5) /* 80210FFC 0020DF5C 7C E0 22 14 */ add r7, r0, r4 /* 80211000 0020DF60 38 84 FF FA */ addi r4, r4, -6 /* 80211004 0020DF64 A8 07 00 04 */ lha r0, 4(r7) /* 80211008 0020DF68 7C 06 02 14 */ add r0, r6, r0 /* 8021100C 0020DF6C 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211010 0020DF70 B0 07 00 04 */ sth r0, 4(r7) /* 80211014 0020DF74 80 05 00 28 */ lwz r0, 0x28(r5) /* 80211018 0020DF78 7C E0 22 14 */ add r7, r0, r4 /* 8021101C 0020DF7C 38 84 FF FA */ addi r4, r4, -6 /* 80211020 0020DF80 A8 07 00 04 */ lha r0, 4(r7) /* 80211024 0020DF84 7C 06 02 14 */ add r0, r6, r0 /* 80211028 0020DF88 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 8021102C 0020DF8C B0 07 00 04 */ sth r0, 4(r7) /* 80211030 0020DF90 80 05 00 28 */ lwz r0, 0x28(r5) /* 80211034 0020DF94 7C E0 22 14 */ add r7, r0, r4 /* 80211038 0020DF98 38 84 FF FA */ addi r4, r4, -6 /* 8021103C 0020DF9C A8 07 00 04 */ lha r0, 4(r7) /* 80211040 0020DFA0 7C 06 02 14 */ add r0, r6, r0 /* 80211044 0020DFA4 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211048 0020DFA8 B0 07 00 04 */ sth r0, 4(r7) /* 8021104C 0020DFAC 42 00 FF 20 */ bdnz lbl_80210F6C /* 80211050 0020DFB0 70 63 00 07 */ andi. r3, r3, 7 /* 80211054 0020DFB4 41 82 00 28 */ beq lbl_8021107C lbl_80211058: /* 80211058 0020DFB8 7C 69 03 A6 */ mtctr r3 lbl_8021105C: /* 8021105C 0020DFBC 80 05 00 28 */ lwz r0, 0x28(r5) /* 80211060 0020DFC0 7C E0 22 14 */ add r7, r0, r4 /* 80211064 0020DFC4 38 84 FF FA */ addi r4, r4, -6 /* 80211068 0020DFC8 A8 07 00 04 */ lha r0, 4(r7) /* 8021106C 0020DFCC 7C 06 02 14 */ add r0, r6, r0 /* 80211070 0020DFD0 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211074 0020DFD4 B0 07 00 04 */ sth r0, 4(r7) /* 80211078 0020DFD8 42 00 FF E4 */ bdnz lbl_8021105C lbl_8021107C: /* 8021107C 0020DFDC 38 A5 FF D4 */ addi r5, r5, -44 /* 80211080 0020DFE0 39 08 FF FF */ addi r8, r8, -1 lbl_80211084: /* 80211084 0020DFE4 2C 08 00 00 */ cmpwi r8, 0 /* 80211088 0020DFE8 40 80 FE C4 */ bge lbl_80210F4C .global sub_8021108c sub_8021108c: /* 8021108C 0020DFEC 4E 80 00 20 */ blr .global UpdateRainParticles__13CEnvFxManagerFRC15CVectorFixed8_8RC9CVector3ff UpdateRainParticles__13CEnvFxManagerFRC15CVectorFixed8_8RC9CVector3ff: /* 80211090 0020DFF0 C0 02 B2 98 */ lfs f0, lbl_805ACFB8@sda21(r2) /* 80211094 0020DFF4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80211098 0020DFF8 EC 00 00 72 */ fmuls f0, f0, f1 /* 8021109C 0020DFFC C0 42 B2 94 */ lfs f2, lbl_805ACFB4@sda21(r2) /* 802110A0 0020E000 C0 25 00 08 */ lfs f1, 8(r5) /* 802110A4 0020E004 80 C3 00 50 */ lwz r6, 0x50(r3) /* 802110A8 0020E008 EC 01 00 32 */ fmuls f0, f1, f0 /* 802110AC 0020E00C A8 84 00 04 */ lha r4, 4(r4) /* 802110B0 0020E010 39 06 FF FF */ addi r8, r6, -1 /* 802110B4 0020E014 1C 08 00 2C */ mulli r0, r8, 0x2c /* 802110B8 0020E018 EC 02 00 32 */ fmuls f0, f2, f0 /* 802110BC 0020E01C 7C C3 02 14 */ add r6, r3, r0 /* 802110C0 0020E020 FC 00 00 1E */ fctiwz f0, f0 /* 802110C4 0020E024 38 C6 00 54 */ addi r6, r6, 0x54 /* 802110C8 0020E028 D8 01 00 10 */ stfd f0, 0x10(r1) /* 802110CC 0020E02C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802110D0 0020E030 7C 00 07 34 */ extsh r0, r0 /* 802110D4 0020E034 7C 04 02 14 */ add r0, r4, r0 /* 802110D8 0020E038 7C 04 07 34 */ extsh r4, r0 /* 802110DC 0020E03C 48 00 01 54 */ b lbl_80211230 lbl_802110E0: /* 802110E0 0020E040 88 06 00 14 */ lbz r0, 0x14(r6) /* 802110E4 0020E044 C0 06 00 18 */ lfs f0, 0x18(r6) /* 802110E8 0020E048 28 00 00 00 */ cmplwi r0, 0 /* 802110EC 0020E04C 98 01 00 08 */ stb r0, 8(r1) /* 802110F0 0020E050 D0 01 00 0C */ stfs f0, 0xc(r1) /* 802110F4 0020E054 41 82 01 34 */ beq lbl_80211228 /* 802110F8 0020E058 80 66 00 20 */ lwz r3, 0x20(r6) /* 802110FC 0020E05C 34 63 FF FF */ addic. r3, r3, -1 /* 80211100 0020E060 1C A3 00 06 */ mulli r5, r3, 6 /* 80211104 0020E064 38 63 00 01 */ addi r3, r3, 1 /* 80211108 0020E068 41 80 01 20 */ blt lbl_80211228 /* 8021110C 0020E06C 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f /* 80211110 0020E070 7C 09 03 A6 */ mtctr r0 /* 80211114 0020E074 41 82 00 F0 */ beq lbl_80211204 lbl_80211118: /* 80211118 0020E078 80 06 00 28 */ lwz r0, 0x28(r6) /* 8021111C 0020E07C 7C E0 2A 14 */ add r7, r0, r5 /* 80211120 0020E080 38 A5 FF FA */ addi r5, r5, -6 /* 80211124 0020E084 A8 07 00 04 */ lha r0, 4(r7) /* 80211128 0020E088 7C 04 02 14 */ add r0, r4, r0 /* 8021112C 0020E08C 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211130 0020E090 B0 07 00 04 */ sth r0, 4(r7) /* 80211134 0020E094 80 06 00 28 */ lwz r0, 0x28(r6) /* 80211138 0020E098 7C E0 2A 14 */ add r7, r0, r5 /* 8021113C 0020E09C 38 A5 FF FA */ addi r5, r5, -6 /* 80211140 0020E0A0 A8 07 00 04 */ lha r0, 4(r7) /* 80211144 0020E0A4 7C 04 02 14 */ add r0, r4, r0 /* 80211148 0020E0A8 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 8021114C 0020E0AC B0 07 00 04 */ sth r0, 4(r7) /* 80211150 0020E0B0 80 06 00 28 */ lwz r0, 0x28(r6) /* 80211154 0020E0B4 7C E0 2A 14 */ add r7, r0, r5 /* 80211158 0020E0B8 38 A5 FF FA */ addi r5, r5, -6 /* 8021115C 0020E0BC A8 07 00 04 */ lha r0, 4(r7) /* 80211160 0020E0C0 7C 04 02 14 */ add r0, r4, r0 /* 80211164 0020E0C4 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211168 0020E0C8 B0 07 00 04 */ sth r0, 4(r7) /* 8021116C 0020E0CC 80 06 00 28 */ lwz r0, 0x28(r6) /* 80211170 0020E0D0 7C E0 2A 14 */ add r7, r0, r5 /* 80211174 0020E0D4 38 A5 FF FA */ addi r5, r5, -6 /* 80211178 0020E0D8 A8 07 00 04 */ lha r0, 4(r7) /* 8021117C 0020E0DC 7C 04 02 14 */ add r0, r4, r0 /* 80211180 0020E0E0 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211184 0020E0E4 B0 07 00 04 */ sth r0, 4(r7) /* 80211188 0020E0E8 80 06 00 28 */ lwz r0, 0x28(r6) /* 8021118C 0020E0EC 7C E0 2A 14 */ add r7, r0, r5 /* 80211190 0020E0F0 38 A5 FF FA */ addi r5, r5, -6 /* 80211194 0020E0F4 A8 07 00 04 */ lha r0, 4(r7) /* 80211198 0020E0F8 7C 04 02 14 */ add r0, r4, r0 /* 8021119C 0020E0FC 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111A0 0020E100 B0 07 00 04 */ sth r0, 4(r7) /* 802111A4 0020E104 80 06 00 28 */ lwz r0, 0x28(r6) /* 802111A8 0020E108 7C E0 2A 14 */ add r7, r0, r5 /* 802111AC 0020E10C 38 A5 FF FA */ addi r5, r5, -6 /* 802111B0 0020E110 A8 07 00 04 */ lha r0, 4(r7) /* 802111B4 0020E114 7C 04 02 14 */ add r0, r4, r0 /* 802111B8 0020E118 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111BC 0020E11C B0 07 00 04 */ sth r0, 4(r7) /* 802111C0 0020E120 80 06 00 28 */ lwz r0, 0x28(r6) /* 802111C4 0020E124 7C E0 2A 14 */ add r7, r0, r5 /* 802111C8 0020E128 38 A5 FF FA */ addi r5, r5, -6 /* 802111CC 0020E12C A8 07 00 04 */ lha r0, 4(r7) /* 802111D0 0020E130 7C 04 02 14 */ add r0, r4, r0 /* 802111D4 0020E134 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111D8 0020E138 B0 07 00 04 */ sth r0, 4(r7) /* 802111DC 0020E13C 80 06 00 28 */ lwz r0, 0x28(r6) /* 802111E0 0020E140 7C E0 2A 14 */ add r7, r0, r5 /* 802111E4 0020E144 38 A5 FF FA */ addi r5, r5, -6 /* 802111E8 0020E148 A8 07 00 04 */ lha r0, 4(r7) /* 802111EC 0020E14C 7C 04 02 14 */ add r0, r4, r0 /* 802111F0 0020E150 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 802111F4 0020E154 B0 07 00 04 */ sth r0, 4(r7) /* 802111F8 0020E158 42 00 FF 20 */ bdnz lbl_80211118 /* 802111FC 0020E15C 70 63 00 07 */ andi. r3, r3, 7 /* 80211200 0020E160 41 82 00 28 */ beq lbl_80211228 lbl_80211204: /* 80211204 0020E164 7C 69 03 A6 */ mtctr r3 lbl_80211208: /* 80211208 0020E168 80 06 00 28 */ lwz r0, 0x28(r6) /* 8021120C 0020E16C 7C E0 2A 14 */ add r7, r0, r5 /* 80211210 0020E170 38 A5 FF FA */ addi r5, r5, -6 /* 80211214 0020E174 A8 07 00 04 */ lha r0, 4(r7) /* 80211218 0020E178 7C 04 02 14 */ add r0, r4, r0 /* 8021121C 0020E17C 54 00 04 BE */ clrlwi r0, r0, 0x12 /* 80211220 0020E180 B0 07 00 04 */ sth r0, 4(r7) /* 80211224 0020E184 42 00 FF E4 */ bdnz lbl_80211208 lbl_80211228: /* 80211228 0020E188 38 C6 FF D4 */ addi r6, r6, -44 /* 8021122C 0020E18C 39 08 FF FF */ addi r8, r8, -1 lbl_80211230: /* 80211230 0020E190 2C 08 00 00 */ cmpwi r8, 0 /* 80211234 0020E194 40 80 FE AC */ bge lbl_802110E0 /* 80211238 0020E198 38 21 00 20 */ addi r1, r1, 0x20 /* 8021123C 0020E19C 4E 80 00 20 */ blr .global "UpdateSnowParticles__13CEnvFxManagerFR34reserved_vector<15CVectorFixed8_8>" "UpdateSnowParticles__13CEnvFxManagerFR34reserved_vector<15CVectorFixed8_8>": /* 80211240 0020E1A0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80211244 0020E1A4 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 80211248 0020E1A8 80 A3 00 50 */ lwz r5, 0x50(r3) /* 8021124C 0020E1AC 3B 85 FF FF */ addi r28, r5, -1 /* 80211250 0020E1B0 1C 1C 00 2C */ mulli r0, r28, 0x2c /* 80211254 0020E1B4 7F C3 02 14 */ add r30, r3, r0 /* 80211258 0020E1B8 3B DE 00 54 */ addi r30, r30, 0x54 /* 8021125C 0020E1BC 48 00 01 58 */ b lbl_802113B4 lbl_80211260: /* 80211260 0020E1C0 C0 03 00 28 */ lfs f0, 0x28(r3) /* 80211264 0020E1C4 88 1E 00 14 */ lbz r0, 0x14(r30) /* 80211268 0020E1C8 FC 20 00 1E */ fctiwz f1, f0 /* 8021126C 0020E1CC C0 1E 00 18 */ lfs f0, 0x18(r30) /* 80211270 0020E1D0 28 00 00 00 */ cmplwi r0, 0 /* 80211274 0020E1D4 98 01 00 08 */ stb r0, 8(r1) /* 80211278 0020E1D8 D8 21 00 10 */ stfd f1, 0x10(r1) /* 8021127C 0020E1DC D0 01 00 0C */ stfs f0, 0xc(r1) /* 80211280 0020E1E0 83 61 00 14 */ lwz r27, 0x14(r1) /* 80211284 0020E1E4 41 82 01 28 */ beq lbl_802113AC /* 80211288 0020E1E8 80 BE 00 20 */ lwz r5, 0x20(r30) /* 8021128C 0020E1EC 34 A5 FF FF */ addic. r5, r5, -1 /* 80211290 0020E1F0 1F E5 00 06 */ mulli r31, r5, 6 /* 80211294 0020E1F4 38 A5 00 01 */ addi r5, r5, 1 /* 80211298 0020E1F8 41 80 01 14 */ blt lbl_802113AC /* 8021129C 0020E1FC 54 A0 F8 7F */ rlwinm. r0, r5, 0x1f, 1, 0x1f /* 802112A0 0020E200 7C 09 03 A6 */ mtctr r0 /* 802112A4 0020E204 41 82 00 B0 */ beq lbl_80211354 lbl_802112A8: /* 802112A8 0020E208 1D 7B 00 06 */ mulli r11, r27, 6 /* 802112AC 0020E20C 80 FE 00 28 */ lwz r7, 0x28(r30) /* 802112B0 0020E210 38 1B 00 01 */ addi r0, r27, 1 /* 802112B4 0020E214 7F A7 FA 14 */ add r29, r7, r31 /* 802112B8 0020E218 7D 84 5A 14 */ add r12, r4, r11 /* 802112BC 0020E21C 54 1B 06 3E */ clrlwi r27, r0, 0x18 /* 802112C0 0020E220 A8 FD 00 00 */ lha r7, 0(r29) /* 802112C4 0020E224 1D 7B 00 06 */ mulli r11, r27, 6 /* 802112C8 0020E228 A8 CC 00 04 */ lha r6, 4(r12) /* 802112CC 0020E22C 38 1B 00 01 */ addi r0, r27, 1 /* 802112D0 0020E230 A9 5D 00 02 */ lha r10, 2(r29) /* 802112D4 0020E234 3B FF FF FA */ addi r31, r31, -6 /* 802112D8 0020E238 A9 2C 00 06 */ lha r9, 6(r12) /* 802112DC 0020E23C A9 0C 00 08 */ lha r8, 8(r12) /* 802112E0 0020E240 7C C7 32 14 */ add r6, r7, r6 /* 802112E4 0020E244 A8 FD 00 04 */ lha r7, 4(r29) /* 802112E8 0020E248 7D 2A 4A 14 */ add r9, r10, r9 /* 802112EC 0020E24C 7D 84 5A 14 */ add r12, r4, r11 /* 802112F0 0020E250 54 1B 06 3E */ clrlwi r27, r0, 0x18 /* 802112F4 0020E254 B0 DD 00 00 */ sth r6, 0(r29) /* 802112F8 0020E258 7C C7 42 14 */ add r6, r7, r8 /* 802112FC 0020E25C 54 C6 04 BE */ clrlwi r6, r6, 0x12 /* 80211300 0020E260 B1 3D 00 02 */ sth r9, 2(r29) /* 80211304 0020E264 B0 DD 00 04 */ sth r6, 4(r29) /* 80211308 0020E268 80 FE 00 28 */ lwz r7, 0x28(r30) /* 8021130C 0020E26C A8 CC 00 04 */ lha r6, 4(r12) /* 80211310 0020E270 7F A7 FA 14 */ add r29, r7, r31 /* 80211314 0020E274 A9 2C 00 06 */ lha r9, 6(r12) /* 80211318 0020E278 A8 FD 00 00 */ lha r7, 0(r29) /* 8021131C 0020E27C 3B FF FF FA */ addi r31, r31, -6 /* 80211320 0020E280 A9 5D 00 02 */ lha r10, 2(r29) /* 80211324 0020E284 7C C7 32 14 */ add r6, r7, r6 /* 80211328 0020E288 A8 FD 00 04 */ lha r7, 4(r29) /* 8021132C 0020E28C A9 0C 00 08 */ lha r8, 8(r12) /* 80211330 0020E290 7D 2A 4A 14 */ add r9, r10, r9 /* 80211334 0020E294 B0 DD 00 00 */ sth r6, 0(r29) /* 80211338 0020E298 7C C7 42 14 */ add r6, r7, r8 /* 8021133C 0020E29C 54 C6 04 BE */ clrlwi r6, r6, 0x12 /* 80211340 0020E2A0 B1 3D 00 02 */ sth r9, 2(r29) /* 80211344 0020E2A4 B0 DD 00 04 */ sth r6, 4(r29) /* 80211348 0020E2A8 42 00 FF 60 */ bdnz lbl_802112A8 /* 8021134C 0020E2AC 70 A5 00 01 */ andi. r5, r5, 1 /* 80211350 0020E2B0 41 82 00 5C */ beq lbl_802113AC lbl_80211354: /* 80211354 0020E2B4 7C A9 03 A6 */ mtctr r5 lbl_80211358: /* 80211358 0020E2B8 1D 7B 00 06 */ mulli r11, r27, 6 /* 8021135C 0020E2BC 80 FE 00 28 */ lwz r7, 0x28(r30) /* 80211360 0020E2C0 38 1B 00 01 */ addi r0, r27, 1 /* 80211364 0020E2C4 7F A7 FA 14 */ add r29, r7, r31 /* 80211368 0020E2C8 7D 84 5A 14 */ add r12, r4, r11 /* 8021136C 0020E2CC A8 FD 00 00 */ lha r7, 0(r29) /* 80211370 0020E2D0 A8 CC 00 04 */ lha r6, 4(r12) /* 80211374 0020E2D4 54 1B 06 3E */ clrlwi r27, r0, 0x18 /* 80211378 0020E2D8 A9 5D 00 02 */ lha r10, 2(r29) /* 8021137C 0020E2DC 3B FF FF FA */ addi r31, r31, -6 /* 80211380 0020E2E0 A9 2C 00 06 */ lha r9, 6(r12) /* 80211384 0020E2E4 7C C7 32 14 */ add r6, r7, r6 /* 80211388 0020E2E8 A8 FD 00 04 */ lha r7, 4(r29) /* 8021138C 0020E2EC A9 0C 00 08 */ lha r8, 8(r12) /* 80211390 0020E2F0 7D 2A 4A 14 */ add r9, r10, r9 /* 80211394 0020E2F4 B0 DD 00 00 */ sth r6, 0(r29) /* 80211398 0020E2F8 7C C7 42 14 */ add r6, r7, r8 /* 8021139C 0020E2FC 54 C6 04 BE */ clrlwi r6, r6, 0x12 /* 802113A0 0020E300 B1 3D 00 02 */ sth r9, 2(r29) /* 802113A4 0020E304 B0 DD 00 04 */ sth r6, 4(r29) /* 802113A8 0020E308 42 00 FF B0 */ bdnz lbl_80211358 lbl_802113AC: /* 802113AC 0020E30C 3B DE FF D4 */ addi r30, r30, -44 /* 802113B0 0020E310 3B 9C FF FF */ addi r28, r28, -1 lbl_802113B4: /* 802113B4 0020E314 2C 1C 00 00 */ cmpwi r28, 0 /* 802113B8 0020E318 40 80 FE A8 */ bge lbl_80211260 /* 802113BC 0020E31C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 802113C0 0020E320 38 21 00 30 */ addi r1, r1, 0x30 /* 802113C4 0020E324 4E 80 00 20 */ blr .global UpdateBlockedGrids__13CEnvFxManagerFR13CStateManager10EEnvFxTypeRC12CTransform4fRC12CTransform4fRC12CTransform4f UpdateBlockedGrids__13CEnvFxManagerFR13CStateManager10EEnvFxTypeRC12CTransform4fRC12CTransform4fRC12CTransform4f: /* 802113C8 0020E328 94 21 F4 D0 */ stwu r1, -0xb30(r1) /* 802113CC 0020E32C 7C 08 02 A6 */ mflr r0 /* 802113D0 0020E330 90 01 0B 34 */ stw r0, 0xb34(r1) /* 802113D4 0020E334 DB E1 0B 20 */ stfd f31, 0xb20(r1) /* 802113D8 0020E338 F3 E1 0B 28 */ psq_st f31, -1240(r1), 0, qr0 /* 802113DC 0020E33C DB C1 0B 10 */ stfd f30, 0xb10(r1) /* 802113E0 0020E340 F3 C1 0B 18 */ psq_st f30, -1256(r1), 0, qr0 /* 802113E4 0020E344 DB A1 0B 00 */ stfd f29, 0xb00(r1) /* 802113E8 0020E348 F3 A1 0B 08 */ psq_st f29, -1272(r1), 0, qr0 /* 802113EC 0020E34C BE 01 0A C0 */ stmw r16, 0xac0(r1) /* 802113F0 0020E350 7C 9D 23 78 */ mr r29, r4 /* 802113F4 0020E354 7C 7C 1B 78 */ mr r28, r3 /* 802113F8 0020E358 80 84 08 4C */ lwz r4, 0x84c(r4) /* 802113FC 0020E35C 7C B4 2B 78 */ mr r20, r5 /* 80211400 0020E360 7C F3 3B 78 */ mr r19, r7 /* 80211404 0020E364 7D 10 43 78 */ mr r16, r8 /* 80211408 0020E368 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 8021140C 0020E36C 2C 00 00 00 */ cmpwi r0, 0 /* 80211410 0020E370 40 82 00 24 */ bne lbl_80211434 /* 80211414 0020E374 C0 46 00 2C */ lfs f2, 0x2c(r6) /* 80211418 0020E378 38 E1 00 9C */ addi r7, r1, 0x9c /* 8021141C 0020E37C C0 26 00 1C */ lfs f1, 0x1c(r6) /* 80211420 0020E380 C0 06 00 0C */ lfs f0, 0xc(r6) /* 80211424 0020E384 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 80211428 0020E388 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 8021142C 0020E38C D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 80211430 0020E390 48 00 00 10 */ b lbl_80211440 lbl_80211434: /* 80211434 0020E394 38 61 00 90 */ addi r3, r1, 0x90 /* 80211438 0020E398 48 07 39 11 */ bl GetBallPosition__7CPlayerCFv /* 8021143C 0020E39C 38 E1 00 90 */ addi r7, r1, 0x90 lbl_80211440: /* 80211440 0020E3A0 C0 07 00 00 */ lfs f0, 0(r7) /* 80211444 0020E3A4 7E 04 83 78 */ mr r4, r16 /* 80211448 0020E3A8 38 61 00 84 */ addi r3, r1, 0x84 /* 8021144C 0020E3AC 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 80211450 0020E3B0 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 80211454 0020E3B4 C0 07 00 04 */ lfs f0, 4(r7) /* 80211458 0020E3B8 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 8021145C 0020E3BC C0 07 00 08 */ lfs f0, 8(r7) /* 80211460 0020E3C0 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 80211464 0020E3C4 48 10 16 85 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80211468 0020E3C8 C0 81 00 84 */ lfs f4, 0x84(r1) /* 8021146C 0020E3CC 38 61 00 70 */ addi r3, r1, 0x70 /* 80211470 0020E3D0 C0 61 00 88 */ lfs f3, 0x88(r1) /* 80211474 0020E3D4 C0 02 B2 94 */ lfs f0, lbl_805ACFB4@sda21(r2) /* 80211478 0020E3D8 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 8021147C 0020E3DC EC 20 01 32 */ fmuls f1, f0, f4 /* 80211480 0020E3E0 D0 81 00 CC */ stfs f4, 0xcc(r1) /* 80211484 0020E3E4 EC 00 00 F2 */ fmuls f0, f0, f3 /* 80211488 0020E3E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) /* 8021148C 0020E3EC FC 20 08 1E */ fctiwz f1, f1 /* 80211490 0020E3F0 FC 00 00 1E */ fctiwz f0, f0 /* 80211494 0020E3F4 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 80211498 0020E3F8 D8 21 0A B0 */ stfd f1, 0xab0(r1) /* 8021149C 0020E3FC D8 01 0A B8 */ stfd f0, 0xab8(r1) /* 802114A0 0020E400 80 81 0A B4 */ lwz r4, 0xab4(r1) /* 802114A4 0020E404 80 01 0A BC */ lwz r0, 0xabc(r1) /* 802114A8 0020E408 7C 84 07 34 */ extsh r4, r4 /* 802114AC 0020E40C 7C 05 07 34 */ extsh r5, r0 /* 802114B0 0020E410 48 10 2E 9D */ bl __ct__9CVector2iFii /* 802114B4 0020E414 38 00 FF FF */ li r0, -1 /* 802114B8 0020E418 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 802114BC 0020E41C 90 1C 00 2C */ stw r0, 0x2c(r28) /* 802114C0 0020E420 38 00 00 00 */ li r0, 0 /* 802114C4 0020E424 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 802114C8 0020E428 3B 5C 00 54 */ addi r26, r28, 0x54 /* 802114CC 0020E42C 98 1C 00 24 */ stb r0, 0x24(r28) /* 802114D0 0020E430 3B 64 66 F4 */ addi r27, r4, lbl_805A66F4@l /* 802114D4 0020E434 3A E3 67 00 */ addi r23, r3, lbl_805A6700@l /* 802114D8 0020E438 3B 21 02 AC */ addi r25, r1, 0x2ac /* 802114DC 0020E43C 90 01 02 A8 */ stw r0, 0x2a8(r1) /* 802114E0 0020E440 3B 01 02 74 */ addi r24, r1, 0x274 /* 802114E4 0020E444 3A C0 00 00 */ li r22, 0 /* 802114E8 0020E448 3B E0 00 00 */ li r31, 0 /* 802114EC 0020E44C 3B C0 00 00 */ li r30, 0 /* 802114F0 0020E450 48 00 05 7C */ b lbl_80211A6C lbl_802114F4: /* 802114F4 0020E454 2C 1F 00 08 */ cmpwi r31, 8 /* 802114F8 0020E458 40 80 04 E8 */ bge lbl_802119E0 /* 802114FC 0020E45C 88 1A 00 00 */ lbz r0, 0(r26) /* 80211500 0020E460 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80211504 0020E464 41 82 04 DC */ beq lbl_802119E0 /* 80211508 0020E468 2C 14 00 03 */ cmpwi r20, 3 /* 8021150C 0020E46C 40 82 00 38 */ bne lbl_80211544 /* 80211510 0020E470 88 0D 94 C0 */ lbz r0, lbl_805A8080@sda21(r13) /* 80211514 0020E474 C0 02 B2 9C */ lfs f0, lbl_805ACFBC@sda21(r2) /* 80211518 0020E478 98 01 00 58 */ stb r0, 0x58(r1) /* 8021151C 0020E47C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 80211520 0020E480 80 61 00 58 */ lwz r3, 0x58(r1) /* 80211524 0020E484 80 01 00 5C */ lwz r0, 0x5c(r1) /* 80211528 0020E488 90 61 00 60 */ stw r3, 0x60(r1) /* 8021152C 0020E48C 90 01 00 64 */ stw r0, 0x64(r1) /* 80211530 0020E490 88 01 00 60 */ lbz r0, 0x60(r1) /* 80211534 0020E494 C0 01 00 64 */ lfs f0, 0x64(r1) /* 80211538 0020E498 98 1A 00 14 */ stb r0, 0x14(r26) /* 8021153C 0020E49C D0 1A 00 18 */ stfs f0, 0x18(r26) /* 80211540 0020E4A0 48 00 04 90 */ b lbl_802119D0 lbl_80211544: /* 80211544 0020E4A4 80 AD 94 CC */ lwz r5, lbl_805A808C@sda21(r13) /* 80211548 0020E4A8 38 60 00 00 */ li r3, 0 /* 8021154C 0020E4AC 38 80 00 01 */ li r4, 1 /* 80211550 0020E4B0 48 17 89 A5 */ bl __shl2i /* 80211554 0020E4B4 80 AD 94 D0 */ lwz r5, lbl_805A8090@sda21(r13) /* 80211558 0020E4B8 7C 92 23 78 */ mr r18, r4 /* 8021155C 0020E4BC 7C 75 1B 78 */ mr r21, r3 /* 80211560 0020E4C0 38 60 00 00 */ li r3, 0 /* 80211564 0020E4C4 38 80 00 01 */ li r4, 1 /* 80211568 0020E4C8 48 17 89 8D */ bl __shl2i /* 8021156C 0020E4CC 80 AD 94 C4 */ lwz r5, lbl_805A8084@sda21(r13) /* 80211570 0020E4D0 7E 52 23 78 */ or r18, r18, r4 /* 80211574 0020E4D4 7E B5 1B 78 */ or r21, r21, r3 /* 80211578 0020E4D8 38 60 00 00 */ li r3, 0 /* 8021157C 0020E4DC 38 80 00 01 */ li r4, 1 /* 80211580 0020E4E0 48 17 89 75 */ bl __shl2i /* 80211584 0020E4E4 80 AD 94 C8 */ lwz r5, lbl_805A8088@sda21(r13) /* 80211588 0020E4E8 7C 90 23 78 */ mr r16, r4 /* 8021158C 0020E4EC 7C 71 1B 78 */ mr r17, r3 /* 80211590 0020E4F0 38 60 00 00 */ li r3, 0 /* 80211594 0020E4F4 38 80 00 01 */ li r4, 1 /* 80211598 0020E4F8 48 17 89 5D */ bl __shl2i /* 8021159C 0020E4FC 7E 10 23 78 */ or r16, r16, r4 /* 802115A0 0020E500 7E 31 1B 78 */ or r17, r17, r3 /* 802115A4 0020E504 38 00 00 03 */ li r0, 3 /* 802115A8 0020E508 92 01 01 3C */ stw r16, 0x13c(r1) /* 802115AC 0020E50C 38 61 00 48 */ addi r3, r1, 0x48 /* 802115B0 0020E510 38 9A 00 0C */ addi r4, r26, 0xc /* 802115B4 0020E514 90 01 01 10 */ stw r0, 0x110(r1) /* 802115B8 0020E518 38 A0 00 00 */ li r5, 0 /* 802115BC 0020E51C 92 21 01 38 */ stw r17, 0x138(r1) /* 802115C0 0020E520 92 41 01 44 */ stw r18, 0x144(r1) /* 802115C4 0020E524 92 A1 01 40 */ stw r21, 0x140(r1) /* 802115C8 0020E528 90 01 01 48 */ stw r0, 0x148(r1) /* 802115CC 0020E52C 48 10 2C B1 */ bl __ml__FRC9CVector2ii /* 802115D0 0020E530 38 61 00 50 */ addi r3, r1, 0x50 /* 802115D4 0020E534 38 9A 00 04 */ addi r4, r26, 4 /* 802115D8 0020E538 38 A1 00 48 */ addi r5, r1, 0x48 /* 802115DC 0020E53C 48 10 2D 39 */ bl __pl__FRC9CVector2iRC9CVector2i /* 802115E0 0020E540 81 21 00 50 */ lwz r9, 0x50(r1) /* 802115E4 0020E544 3C E0 43 30 */ lis r7, 0x4330 /* 802115E8 0020E548 81 01 00 54 */ lwz r8, 0x54(r1) /* 802115EC 0020E54C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802115F0 0020E550 7D 20 07 34 */ extsh r0, r9 /* 802115F4 0020E554 C0 62 B2 78 */ lfs f3, lbl_805ACF98@sda21(r2) /* 802115F8 0020E558 7D 04 07 34 */ extsh r4, r8 /* 802115FC 0020E55C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80211600 0020E560 6C 83 80 00 */ xoris r3, r4, 0x8000 /* 80211604 0020E564 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80211608 0020E568 90 61 0A BC */ stw r3, 0xabc(r1) /* 8021160C 0020E56C 7E 64 9B 78 */ mr r4, r19 /* 80211610 0020E570 C8 A2 B2 48 */ lfd f5, lbl_805ACF68@sda21(r2) /* 80211614 0020E574 38 61 00 78 */ addi r3, r1, 0x78 /* 80211618 0020E578 90 E1 0A B8 */ stw r7, 0xab8(r1) /* 8021161C 0020E57C 38 A1 00 C0 */ addi r5, r1, 0xc0 /* 80211620 0020E580 C0 C2 B2 A0 */ lfs f6, lbl_805ACFC0@sda21(r2) /* 80211624 0020E584 C8 01 0A B8 */ lfd f0, 0xab8(r1) /* 80211628 0020E588 90 01 0A B4 */ stw r0, 0xab4(r1) /* 8021162C 0020E58C EC 20 28 28 */ fsubs f1, f0, f5 /* 80211630 0020E590 C0 42 B2 A4 */ lfs f2, lbl_805ACFC4@sda21(r2) /* 80211634 0020E594 90 E1 0A B0 */ stw r7, 0xab0(r1) /* 80211638 0020E598 C0 06 00 00 */ lfs f0, 0(r6) /* 8021163C 0020E59C C8 81 0A B0 */ lfd f4, 0xab0(r1) /* 80211640 0020E5A0 EC E6 00 72 */ fmuls f7, f6, f1 /* 80211644 0020E5A4 C0 3B 00 04 */ lfs f1, 4(r27) /* 80211648 0020E5A8 EF A2 00 32 */ fmuls f29, f2, f0 /* 8021164C 0020E5AC EC 84 28 28 */ fsubs f4, f4, f5 /* 80211650 0020E5B0 C0 1B 00 08 */ lfs f0, 8(r27) /* 80211654 0020E5B4 EF C2 00 72 */ fmuls f30, f2, f1 /* 80211658 0020E5B8 EF E2 00 32 */ fmuls f31, f2, f0 /* 8021165C 0020E5BC 91 21 00 68 */ stw r9, 0x68(r1) /* 80211660 0020E5C0 EC 06 01 32 */ fmuls f0, f6, f4 /* 80211664 0020E5C4 91 01 00 6C */ stw r8, 0x6c(r1) /* 80211668 0020E5C8 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 8021166C 0020E5CC D0 E1 00 C4 */ stfs f7, 0xc4(r1) /* 80211670 0020E5D0 D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 80211674 0020E5D4 48 10 14 75 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80211678 0020E5D8 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 8021167C 0020E5DC 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 80211680 0020E5E0 C0 21 00 80 */ lfs f1, 0x80(r1) /* 80211684 0020E5E4 7F A4 EB 78 */ mr r4, r29 /* 80211688 0020E5E8 EC C2 F0 2A */ fadds f6, f2, f30 /* 8021168C 0020E5EC C0 01 00 78 */ lfs f0, 0x78(r1) /* 80211690 0020E5F0 EC A1 F8 2A */ fadds f5, f1, f31 /* 80211694 0020E5F4 C0 63 67 00 */ lfs f3, lbl_805A6700@l(r3) /* 80211698 0020E5F8 EC 80 E8 2A */ fadds f4, f0, f29 /* 8021169C 0020E5FC C0 57 00 04 */ lfs f2, 4(r23) /* 802116A0 0020E600 C0 17 00 08 */ lfs f0, 8(r23) /* 802116A4 0020E604 38 61 01 80 */ addi r3, r1, 0x180 /* 802116A8 0020E608 D0 C1 00 B8 */ stfs f6, 0xb8(r1) /* 802116AC 0020E60C 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 802116B0 0020E610 C0 22 B2 A8 */ lfs f1, lbl_805ACFC8@sda21(r2) /* 802116B4 0020E614 38 C1 00 A8 */ addi r6, r1, 0xa8 /* 802116B8 0020E618 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 802116BC 0020E61C 38 E1 01 38 */ addi r7, r1, 0x138 /* 802116C0 0020E620 D0 A1 00 BC */ stfs f5, 0xbc(r1) /* 802116C4 0020E624 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 802116C8 0020E628 D0 41 00 AC */ stfs f2, 0xac(r1) /* 802116CC 0020E62C D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 802116D0 0020E630 4B F7 31 39 */ bl RayStaticIntersection__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 802116D4 0020E634 88 81 01 A0 */ lbz r4, 0x1a0(r1) /* 802116D8 0020E638 C0 E1 01 80 */ lfs f7, 0x180(r1) /* 802116DC 0020E63C C0 C1 01 84 */ lfs f6, 0x184(r1) /* 802116E0 0020E640 28 04 00 00 */ cmplwi r4, 0 /* 802116E4 0020E644 C0 A1 01 88 */ lfs f5, 0x188(r1) /* 802116E8 0020E648 C0 81 01 8C */ lfs f4, 0x18c(r1) /* 802116EC 0020E64C C0 61 01 90 */ lfs f3, 0x190(r1) /* 802116F0 0020E650 C0 41 01 94 */ lfs f2, 0x194(r1) /* 802116F4 0020E654 C0 21 01 98 */ lfs f1, 0x198(r1) /* 802116F8 0020E658 C0 01 01 9C */ lfs f0, 0x19c(r1) /* 802116FC 0020E65C 80 01 01 A8 */ lwz r0, 0x1a8(r1) /* 80211700 0020E660 80 61 01 AC */ lwz r3, 0x1ac(r1) /* 80211704 0020E664 D0 E1 02 08 */ stfs f7, 0x208(r1) /* 80211708 0020E668 D0 C1 02 0C */ stfs f6, 0x20c(r1) /* 8021170C 0020E66C D0 A1 02 10 */ stfs f5, 0x210(r1) /* 80211710 0020E670 D0 81 02 14 */ stfs f4, 0x214(r1) /* 80211714 0020E674 D0 61 02 18 */ stfs f3, 0x218(r1) /* 80211718 0020E678 D0 41 02 1C */ stfs f2, 0x21c(r1) /* 8021171C 0020E67C D0 21 02 20 */ stfs f1, 0x220(r1) /* 80211720 0020E680 D0 01 02 24 */ stfs f0, 0x224(r1) /* 80211724 0020E684 98 81 02 28 */ stb r4, 0x228(r1) /* 80211728 0020E688 90 61 02 34 */ stw r3, 0x234(r1) /* 8021172C 0020E68C 90 01 02 30 */ stw r0, 0x230(r1) /* 80211730 0020E690 41 82 02 6C */ beq lbl_8021199C /* 80211734 0020E694 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 80211738 0020E698 40 82 00 14 */ bne lbl_8021174C /* 8021173C 0020E69C 7F A4 EB 78 */ mr r4, r29 /* 80211740 0020E6A0 38 61 02 A8 */ addi r3, r1, 0x2a8 /* 80211744 0020E6A4 4B FF E7 05 */ bl "BuildBlockObjectList__13CEnvFxManagerFR27reserved_vector<9TUniqueId>R13CStateManager" /* 80211748 0020E6A8 3A C0 00 01 */ li r22, 1 lbl_8021174C: /* 8021174C 0020E6AC 7F 35 CB 78 */ mr r21, r25 /* 80211750 0020E6B0 48 00 02 38 */ b lbl_80211988 lbl_80211754: /* 80211754 0020E6B4 A0 15 00 00 */ lhz r0, 0(r21) /* 80211758 0020E6B8 7F A3 EB 78 */ mr r3, r29 /* 8021175C 0020E6BC 38 81 00 08 */ addi r4, r1, 8 /* 80211760 0020E6C0 B0 01 00 08 */ sth r0, 8(r1) /* 80211764 0020E6C4 4B E3 AE 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80211768 0020E6C8 7C 64 1B 78 */ mr r4, r3 /* 8021176C 0020E6CC 38 61 00 0C */ addi r3, r1, 0xc /* 80211770 0020E6D0 4B E9 57 79 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" /* 80211774 0020E6D4 80 83 00 04 */ lwz r4, 4(r3) /* 80211778 0020E6D8 28 04 00 00 */ cmplwi r4, 0 /* 8021177C 0020E6DC 41 82 02 08 */ beq lbl_80211984 /* 80211780 0020E6E0 81 84 00 00 */ lwz r12, 0(r4) /* 80211784 0020E6E4 38 61 00 E4 */ addi r3, r1, 0xe4 /* 80211788 0020E6E8 81 8C 00 40 */ lwz r12, 0x40(r12) /* 8021178C 0020E6EC 7D 89 03 A6 */ mtctr r12 /* 80211790 0020E6F0 4E 80 04 21 */ bctrl /* 80211794 0020E6F4 88 01 00 FC */ lbz r0, 0xfc(r1) /* 80211798 0020E6F8 28 00 00 00 */ cmplwi r0, 0 /* 8021179C 0020E6FC 98 01 01 30 */ stb r0, 0x130(r1) /* 802117A0 0020E700 41 82 00 3C */ beq lbl_802117DC /* 802117A4 0020E704 34 61 01 18 */ addic. r3, r1, 0x118 /* 802117A8 0020E708 41 82 00 34 */ beq lbl_802117DC /* 802117AC 0020E70C C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 802117B0 0020E710 D0 03 00 00 */ stfs f0, 0(r3) /* 802117B4 0020E714 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 802117B8 0020E718 D0 03 00 04 */ stfs f0, 4(r3) /* 802117BC 0020E71C C0 01 00 EC */ lfs f0, 0xec(r1) /* 802117C0 0020E720 D0 03 00 08 */ stfs f0, 8(r3) /* 802117C4 0020E724 C0 01 00 F0 */ lfs f0, 0xf0(r1) /* 802117C8 0020E728 D0 03 00 0C */ stfs f0, 0xc(r3) /* 802117CC 0020E72C C0 01 00 F4 */ lfs f0, 0xf4(r1) /* 802117D0 0020E730 D0 03 00 10 */ stfs f0, 0x10(r3) /* 802117D4 0020E734 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 802117D8 0020E738 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_802117DC: /* 802117DC 0020E73C 88 01 01 30 */ lbz r0, 0x130(r1) /* 802117E0 0020E740 38 C0 00 00 */ li r6, 0 /* 802117E4 0020E744 98 C1 00 FC */ stb r6, 0xfc(r1) /* 802117E8 0020E748 28 00 00 00 */ cmplwi r0, 0 /* 802117EC 0020E74C 40 82 00 0C */ bne lbl_802117F8 /* 802117F0 0020E750 98 C1 01 30 */ stb r6, 0x130(r1) /* 802117F4 0020E754 48 00 01 90 */ b lbl_80211984 lbl_802117F8: /* 802117F8 0020E758 80 AD 94 D4 */ lwz r5, lbl_805A8094@sda21(r13) /* 802117FC 0020E75C 38 60 00 00 */ li r3, 0 /* 80211800 0020E760 90 C1 00 44 */ stw r6, 0x44(r1) /* 80211804 0020E764 38 80 00 01 */ li r4, 1 /* 80211808 0020E768 90 C1 00 40 */ stw r6, 0x40(r1) /* 8021180C 0020E76C 48 17 86 E9 */ bl __shl2i /* 80211810 0020E770 80 01 00 40 */ lwz r0, 0x40(r1) /* 80211814 0020E774 80 A1 00 44 */ lwz r5, 0x44(r1) /* 80211818 0020E778 7C 00 1B 78 */ or r0, r0, r3 /* 8021181C 0020E77C 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 80211820 0020E780 7C A5 23 78 */ or r5, r5, r4 /* 80211824 0020E784 90 01 00 40 */ stw r0, 0x40(r1) /* 80211828 0020E788 38 81 00 40 */ addi r4, r1, 0x40 /* 8021182C 0020E78C 90 A1 00 44 */ stw r5, 0x44(r1) /* 80211830 0020E790 48 0B E0 85 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 80211834 0020E794 C0 C1 01 18 */ lfs f6, 0x118(r1) /* 80211838 0020E798 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 8021183C 0020E79C C0 A1 01 1C */ lfs f5, 0x11c(r1) /* 80211840 0020E7A0 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 80211844 0020E7A4 C0 81 01 20 */ lfs f4, 0x120(r1) /* 80211848 0020E7A8 38 61 02 38 */ addi r3, r1, 0x238 /* 8021184C 0020E7AC C0 61 01 24 */ lfs f3, 0x124(r1) /* 80211850 0020E7B0 38 81 00 B4 */ addi r4, r1, 0xb4 /* 80211854 0020E7B4 C0 41 01 28 */ lfs f2, 0x128(r1) /* 80211858 0020E7B8 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 8021185C 0020E7BC C0 01 01 2C */ lfs f0, 0x12c(r1) /* 80211860 0020E7C0 90 01 01 E0 */ stw r0, 0x1e0(r1) /* 80211864 0020E7C4 C0 22 B2 A8 */ lfs f1, lbl_805ACFC8@sda21(r2) /* 80211868 0020E7C8 D0 C1 01 F0 */ stfs f6, 0x1f0(r1) /* 8021186C 0020E7CC D0 A1 01 F4 */ stfs f5, 0x1f4(r1) /* 80211870 0020E7D0 D0 81 01 F8 */ stfs f4, 0x1f8(r1) /* 80211874 0020E7D4 D0 61 01 FC */ stfs f3, 0x1fc(r1) /* 80211878 0020E7D8 D0 41 02 00 */ stfs f2, 0x200(r1) /* 8021187C 0020E7DC D0 01 02 04 */ stfs f0, 0x204(r1) /* 80211880 0020E7E0 48 0C 47 ED */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff /* 80211884 0020E7E4 C0 02 B2 A8 */ lfs f0, lbl_805ACFC8@sda21(r2) /* 80211888 0020E7E8 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8021188C 0020E7EC 38 83 66 70 */ addi r4, r3, skIdentity4f@l /* 80211890 0020E7F0 D0 01 02 70 */ stfs f0, 0x270(r1) /* 80211894 0020E7F4 7F 03 C3 78 */ mr r3, r24 /* 80211898 0020E7F8 48 10 12 DD */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021189C 0020E7FC 38 01 01 38 */ addi r0, r1, 0x138 /* 802118A0 0020E800 81 81 01 E0 */ lwz r12, 0x1e0(r1) /* 802118A4 0020E804 90 01 02 A4 */ stw r0, 0x2a4(r1) /* 802118A8 0020E808 38 61 01 50 */ addi r3, r1, 0x150 /* 802118AC 0020E80C 38 81 01 E0 */ addi r4, r1, 0x1e0 /* 802118B0 0020E810 38 A1 02 38 */ addi r5, r1, 0x238 /* 802118B4 0020E814 81 8C 00 24 */ lwz r12, 0x24(r12) /* 802118B8 0020E818 7D 89 03 A6 */ mtctr r12 /* 802118BC 0020E81C 4E 80 04 21 */ bctrl /* 802118C0 0020E820 88 A1 01 70 */ lbz r5, 0x170(r1) /* 802118C4 0020E824 C0 E1 01 50 */ lfs f7, 0x150(r1) /* 802118C8 0020E828 C0 C1 01 54 */ lfs f6, 0x154(r1) /* 802118CC 0020E82C 28 05 00 00 */ cmplwi r5, 0 /* 802118D0 0020E830 C0 A1 01 58 */ lfs f5, 0x158(r1) /* 802118D4 0020E834 C0 01 01 5C */ lfs f0, 0x15c(r1) /* 802118D8 0020E838 C0 81 01 60 */ lfs f4, 0x160(r1) /* 802118DC 0020E83C C0 61 01 64 */ lfs f3, 0x164(r1) /* 802118E0 0020E840 C0 41 01 68 */ lfs f2, 0x168(r1) /* 802118E4 0020E844 C0 21 01 6C */ lfs f1, 0x16c(r1) /* 802118E8 0020E848 80 01 01 78 */ lwz r0, 0x178(r1) /* 802118EC 0020E84C 80 61 01 7C */ lwz r3, 0x17c(r1) /* 802118F0 0020E850 D0 E1 01 B0 */ stfs f7, 0x1b0(r1) /* 802118F4 0020E854 D0 C1 01 B4 */ stfs f6, 0x1b4(r1) /* 802118F8 0020E858 D0 A1 01 B8 */ stfs f5, 0x1b8(r1) /* 802118FC 0020E85C D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 80211900 0020E860 D0 81 01 C0 */ stfs f4, 0x1c0(r1) /* 80211904 0020E864 D0 61 01 C4 */ stfs f3, 0x1c4(r1) /* 80211908 0020E868 D0 41 01 C8 */ stfs f2, 0x1c8(r1) /* 8021190C 0020E86C D0 21 01 CC */ stfs f1, 0x1cc(r1) /* 80211910 0020E870 98 A1 01 D0 */ stb r5, 0x1d0(r1) /* 80211914 0020E874 90 61 01 DC */ stw r3, 0x1dc(r1) /* 80211918 0020E878 90 01 01 D8 */ stw r0, 0x1d8(r1) /* 8021191C 0020E87C 41 82 00 48 */ beq lbl_80211964 /* 80211920 0020E880 C0 01 02 08 */ lfs f0, 0x208(r1) /* 80211924 0020E884 FC 07 00 40 */ fcmpo cr0, f7, f0 /* 80211928 0020E888 40 80 00 3C */ bge lbl_80211964 /* 8021192C 0020E88C 80 81 01 B4 */ lwz r4, 0x1b4(r1) /* 80211930 0020E890 80 61 01 B8 */ lwz r3, 0x1b8(r1) /* 80211934 0020E894 80 01 01 BC */ lwz r0, 0x1bc(r1) /* 80211938 0020E898 C8 01 01 D8 */ lfd f0, 0x1d8(r1) /* 8021193C 0020E89C D0 E1 02 08 */ stfs f7, 0x208(r1) /* 80211940 0020E8A0 90 81 02 0C */ stw r4, 0x20c(r1) /* 80211944 0020E8A4 90 61 02 10 */ stw r3, 0x210(r1) /* 80211948 0020E8A8 90 01 02 14 */ stw r0, 0x214(r1) /* 8021194C 0020E8AC D0 81 02 18 */ stfs f4, 0x218(r1) /* 80211950 0020E8B0 D0 61 02 1C */ stfs f3, 0x21c(r1) /* 80211954 0020E8B4 D0 41 02 20 */ stfs f2, 0x220(r1) /* 80211958 0020E8B8 D0 21 02 24 */ stfs f1, 0x224(r1) /* 8021195C 0020E8BC 98 A1 02 28 */ stb r5, 0x228(r1) /* 80211960 0020E8C0 D8 01 02 30 */ stfd f0, 0x230(r1) lbl_80211964: /* 80211964 0020E8C4 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 80211968 0020E8C8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 8021196C 0020E8CC 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l /* 80211970 0020E8D0 38 00 00 00 */ li r0, 0 /* 80211974 0020E8D4 90 81 01 E0 */ stw r4, 0x1e0(r1) /* 80211978 0020E8D8 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 8021197C 0020E8DC 90 61 01 E0 */ stw r3, 0x1e0(r1) /* 80211980 0020E8E0 98 01 01 30 */ stb r0, 0x130(r1) lbl_80211984: /* 80211984 0020E8E4 3A B5 00 02 */ addi r21, r21, 2 lbl_80211988: /* 80211988 0020E8E8 80 01 02 A8 */ lwz r0, 0x2a8(r1) /* 8021198C 0020E8EC 54 00 08 3C */ slwi r0, r0, 1 /* 80211990 0020E8F0 7C 19 02 14 */ add r0, r25, r0 /* 80211994 0020E8F4 7C 15 00 40 */ cmplw r21, r0 /* 80211998 0020E8F8 40 82 FD BC */ bne lbl_80211754 lbl_8021199C: /* 8021199C 0020E8FC 88 01 02 28 */ lbz r0, 0x228(r1) /* 802119A0 0020E900 3B FF 00 01 */ addi r31, r31, 1 /* 802119A4 0020E904 C0 01 02 14 */ lfs f0, 0x214(r1) /* 802119A8 0020E908 98 01 00 2C */ stb r0, 0x2c(r1) /* 802119AC 0020E90C D0 01 00 30 */ stfs f0, 0x30(r1) /* 802119B0 0020E910 80 61 00 2C */ lwz r3, 0x2c(r1) /* 802119B4 0020E914 80 01 00 30 */ lwz r0, 0x30(r1) /* 802119B8 0020E918 90 61 00 34 */ stw r3, 0x34(r1) /* 802119BC 0020E91C 90 01 00 38 */ stw r0, 0x38(r1) /* 802119C0 0020E920 88 01 00 34 */ lbz r0, 0x34(r1) /* 802119C4 0020E924 C0 01 00 38 */ lfs f0, 0x38(r1) /* 802119C8 0020E928 98 1A 00 14 */ stb r0, 0x14(r26) /* 802119CC 0020E92C D0 1A 00 18 */ stfs f0, 0x18(r26) lbl_802119D0: /* 802119D0 0020E930 88 1A 00 00 */ lbz r0, 0(r26) /* 802119D4 0020E934 38 60 00 00 */ li r3, 0 /* 802119D8 0020E938 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802119DC 0020E93C 98 1A 00 00 */ stb r0, 0(r26) lbl_802119E0: /* 802119E0 0020E940 38 61 00 24 */ addi r3, r1, 0x24 /* 802119E4 0020E944 38 9A 00 04 */ addi r4, r26, 4 /* 802119E8 0020E948 38 BA 00 0C */ addi r5, r26, 0xc /* 802119EC 0020E94C 48 10 29 29 */ bl __pl__FRC9CVector2iRC9CVector2i /* 802119F0 0020E950 80 A1 00 70 */ lwz r5, 0x70(r1) /* 802119F4 0020E954 80 1A 00 04 */ lwz r0, 4(r26) /* 802119F8 0020E958 80 61 00 24 */ lwz r3, 0x24(r1) /* 802119FC 0020E95C 7C 05 00 00 */ cmpw r5, r0 /* 80211A00 0020E960 80 81 00 28 */ lwz r4, 0x28(r1) /* 80211A04 0020E964 41 80 00 60 */ blt lbl_80211A64 /* 80211A08 0020E968 80 C1 00 74 */ lwz r6, 0x74(r1) /* 80211A0C 0020E96C 80 1A 00 08 */ lwz r0, 8(r26) /* 80211A10 0020E970 7C 06 00 00 */ cmpw r6, r0 /* 80211A14 0020E974 41 80 00 50 */ blt lbl_80211A64 /* 80211A18 0020E978 7C 05 18 00 */ cmpw r5, r3 /* 80211A1C 0020E97C 40 80 00 48 */ bge lbl_80211A64 /* 80211A20 0020E980 7C 06 20 00 */ cmpw r6, r4 /* 80211A24 0020E984 40 80 00 40 */ bge lbl_80211A64 /* 80211A28 0020E988 88 1A 00 14 */ lbz r0, 0x14(r26) /* 80211A2C 0020E98C C0 3A 00 18 */ lfs f1, 0x18(r26) /* 80211A30 0020E990 28 00 00 00 */ cmplwi r0, 0 /* 80211A34 0020E994 98 01 00 1C */ stb r0, 0x1c(r1) /* 80211A38 0020E998 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80211A3C 0020E99C 41 82 00 28 */ beq lbl_80211A64 /* 80211A40 0020E9A0 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 80211A44 0020E9A4 98 01 00 14 */ stb r0, 0x14(r1) /* 80211A48 0020E9A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80211A4C 0020E9AC D0 21 00 18 */ stfs f1, 0x18(r1) /* 80211A50 0020E9B0 4C 40 13 82 */ cror 2, 0, 2 /* 80211A54 0020E9B4 40 82 00 10 */ bne lbl_80211A64 /* 80211A58 0020E9B8 38 00 00 01 */ li r0, 1 /* 80211A5C 0020E9BC 98 1C 00 24 */ stb r0, 0x24(r28) /* 80211A60 0020E9C0 93 DC 00 2C */ stw r30, 0x2c(r28) lbl_80211A64: /* 80211A64 0020E9C4 3B 5A 00 2C */ addi r26, r26, 0x2c /* 80211A68 0020E9C8 3B DE 00 01 */ addi r30, r30, 1 lbl_80211A6C: /* 80211A6C 0020E9CC 80 1C 00 50 */ lwz r0, 0x50(r28) /* 80211A70 0020E9D0 7C 1E 00 00 */ cmpw r30, r0 /* 80211A74 0020E9D4 41 80 FA 80 */ blt lbl_802114F4 /* 80211A78 0020E9D8 80 A1 02 A8 */ lwz r5, 0x2a8(r1) /* 80211A7C 0020E9DC 38 60 00 00 */ li r3, 0 /* 80211A80 0020E9E0 2C 05 00 00 */ cmpwi r5, 0 /* 80211A84 0020E9E4 40 81 00 40 */ ble lbl_80211AC4 /* 80211A88 0020E9E8 2C 05 00 08 */ cmpwi r5, 8 /* 80211A8C 0020E9EC 38 85 FF F8 */ addi r4, r5, -8 /* 80211A90 0020E9F0 40 81 00 20 */ ble lbl_80211AB0 /* 80211A94 0020E9F4 38 04 00 07 */ addi r0, r4, 7 /* 80211A98 0020E9F8 54 00 E8 FE */ srwi r0, r0, 3 /* 80211A9C 0020E9FC 7C 09 03 A6 */ mtctr r0 /* 80211AA0 0020EA00 2C 04 00 00 */ cmpwi r4, 0 /* 80211AA4 0020EA04 40 81 00 0C */ ble lbl_80211AB0 lbl_80211AA8: /* 80211AA8 0020EA08 38 63 00 08 */ addi r3, r3, 8 /* 80211AAC 0020EA0C 42 00 FF FC */ bdnz lbl_80211AA8 lbl_80211AB0: /* 80211AB0 0020EA10 7C 03 28 50 */ subf r0, r3, r5 /* 80211AB4 0020EA14 7C 09 03 A6 */ mtctr r0 /* 80211AB8 0020EA18 7C 03 28 00 */ cmpw r3, r5 /* 80211ABC 0020EA1C 40 80 00 08 */ bge lbl_80211AC4 lbl_80211AC0: /* 80211AC0 0020EA20 42 00 00 00 */ bdnz lbl_80211AC0 lbl_80211AC4: /* 80211AC4 0020EA24 38 00 00 00 */ li r0, 0 /* 80211AC8 0020EA28 90 01 02 A8 */ stw r0, 0x2a8(r1) /* 80211ACC 0020EA2C E3 E1 0B 28 */ psq_l f31, -1240(r1), 0, qr0 /* 80211AD0 0020EA30 CB E1 0B 20 */ lfd f31, 0xb20(r1) /* 80211AD4 0020EA34 E3 C1 0B 18 */ psq_l f30, -1256(r1), 0, qr0 /* 80211AD8 0020EA38 CB C1 0B 10 */ lfd f30, 0xb10(r1) /* 80211ADC 0020EA3C E3 A1 0B 08 */ psq_l f29, -1272(r1), 0, qr0 /* 80211AE0 0020EA40 CB A1 0B 00 */ lfd f29, 0xb00(r1) /* 80211AE4 0020EA44 BA 01 0A C0 */ lmw r16, 0xac0(r1) /* 80211AE8 0020EA48 80 01 0B 34 */ lwz r0, 0xb34(r1) /* 80211AEC 0020EA4C 7C 08 03 A6 */ mtlr r0 /* 80211AF0 0020EA50 38 21 0B 30 */ addi r1, r1, 0xb30 /* 80211AF4 0020EA54 4E 80 00 20 */ blr .global "CalculateSnowForces__13CEnvFxManagerFRC15CVectorFixed8_8R34reserved_vector<15CVectorFixed8_8>10EEnvFxTypeRC9CVector3ff" "CalculateSnowForces__13CEnvFxManagerFRC15CVectorFixed8_8R34reserved_vector<15CVectorFixed8_8>10EEnvFxTypeRC9CVector3ff": /* 80211AF8 0020EA58 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80211AFC 0020EA5C 2C 06 00 01 */ cmpwi r6, 1 /* 80211B00 0020EA60 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 80211B04 0020EA64 40 82 01 24 */ bne lbl_80211C28 /* 80211B08 0020EA68 39 06 FF FF */ addi r8, r6, -1 /* 80211B0C 0020EA6C 20 06 00 01 */ subfic r0, r6, 1 /* 80211B10 0020EA70 7D 00 00 F8 */ nor r0, r8, r0 /* 80211B14 0020EA74 3D 00 80 47 */ lis r8, lbl_8046CB40@ha /* 80211B18 0020EA78 3D 20 80 5A */ lis r9, skZero3f@ha /* 80211B1C 0020EA7C 39 60 00 00 */ li r11, 0 /* 80211B20 0020EA80 39 49 66 A0 */ addi r10, r9, skZero3f@l /* 80211B24 0020EA84 7C 09 FE 70 */ srawi r9, r0, 0x1f /* 80211B28 0020EA88 38 08 CB 40 */ addi r0, r8, lbl_8046CB40@l /* 80211B2C 0020EA8C C0 EA 00 00 */ lfs f7, 0(r10) /* 80211B30 0020EA90 7C 08 48 39 */ and. r8, r0, r9 /* 80211B34 0020EA94 C1 0A 00 04 */ lfs f8, 4(r10) /* 80211B38 0020EA98 C1 2A 00 08 */ lfs f9, 8(r10) /* 80211B3C 0020EA9C 7D 6C 5B 78 */ mr r12, r11 /* 80211B40 0020EAA0 7D 7B 5B 78 */ mr r27, r11 /* 80211B44 0020EAA4 41 82 00 E4 */ beq lbl_80211C28 /* 80211B48 0020EAA8 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 80211B4C 0020EAAC 38 00 01 00 */ li r0, 0x100 /* 80211B50 0020EAB0 3B E8 07 F8 */ addi r31, r8, 0x7f8 /* 80211B54 0020EAB4 C0 82 B2 94 */ lfs f4, lbl_805ACFB4@sda21(r2) /* 80211B58 0020EAB8 ED 41 00 32 */ fmuls f10, f1, f0 /* 80211B5C 0020EABC 7C 09 03 A6 */ mtctr r0 lbl_80211B60: /* 80211B60 0020EAC0 C0 1F 00 00 */ lfs f0, 0(r31) /* 80211B64 0020EAC4 C0 5F 00 04 */ lfs f2, 4(r31) /* 80211B68 0020EAC8 EC A1 00 32 */ fmuls f5, f1, f0 /* 80211B6C 0020EACC C0 C7 00 00 */ lfs f6, 0(r7) /* 80211B70 0020EAD0 C0 07 00 08 */ lfs f0, 8(r7) /* 80211B74 0020EAD4 EC 41 00 B2 */ fmuls f2, f1, f2 /* 80211B78 0020EAD8 C0 67 00 04 */ lfs f3, 4(r7) /* 80211B7C 0020EADC EC A6 01 72 */ fmuls f5, f6, f5 /* 80211B80 0020EAE0 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80211B84 0020EAE4 80 05 00 00 */ lwz r0, 0(r5) /* 80211B88 0020EAE8 EC 00 02 B2 */ fmuls f0, f0, f10 /* 80211B8C 0020EAEC EC E7 28 2A */ fadds f7, f7, f5 /* 80211B90 0020EAF0 1C 00 00 06 */ mulli r0, r0, 6 /* 80211B94 0020EAF4 ED 08 10 2A */ fadds f8, f8, f2 /* 80211B98 0020EAF8 ED 29 00 2A */ fadds f9, f9, f0 /* 80211B9C 0020EAFC EC 64 01 F2 */ fmuls f3, f4, f7 /* 80211BA0 0020EB00 7D 45 02 14 */ add r10, r5, r0 /* 80211BA4 0020EB04 EC 44 02 32 */ fmuls f2, f4, f8 /* 80211BA8 0020EB08 35 4A 00 04 */ addic. r10, r10, 4 /* 80211BAC 0020EB0C EC 04 02 72 */ fmuls f0, f4, f9 /* 80211BB0 0020EB10 FC 60 18 1E */ fctiwz f3, f3 /* 80211BB4 0020EB14 FC 40 10 1E */ fctiwz f2, f2 /* 80211BB8 0020EB18 FC 00 00 1E */ fctiwz f0, f0 /* 80211BBC 0020EB1C D8 61 00 30 */ stfd f3, 0x30(r1) /* 80211BC0 0020EB20 D8 41 00 38 */ stfd f2, 0x38(r1) /* 80211BC4 0020EB24 80 01 00 34 */ lwz r0, 0x34(r1) /* 80211BC8 0020EB28 D8 01 00 40 */ stfd f0, 0x40(r1) /* 80211BCC 0020EB2C 81 21 00 3C */ lwz r9, 0x3c(r1) /* 80211BD0 0020EB30 7C 1C 07 34 */ extsh r28, r0 /* 80211BD4 0020EB34 81 01 00 44 */ lwz r8, 0x44(r1) /* 80211BD8 0020EB38 7C 0B E0 50 */ subf r0, r11, r28 /* 80211BDC 0020EB3C 7D 3D 07 34 */ extsh r29, r9 /* 80211BE0 0020EB40 7D 1E 07 34 */ extsh r30, r8 /* 80211BE4 0020EB44 7C 09 07 34 */ extsh r9, r0 /* 80211BE8 0020EB48 7D 0C E8 50 */ subf r8, r12, r29 /* 80211BEC 0020EB4C 7C 1B F0 50 */ subf r0, r27, r30 /* 80211BF0 0020EB50 7D 08 07 34 */ extsh r8, r8 /* 80211BF4 0020EB54 7C 00 07 34 */ extsh r0, r0 /* 80211BF8 0020EB58 41 82 00 10 */ beq lbl_80211C08 /* 80211BFC 0020EB5C B1 2A 00 00 */ sth r9, 0(r10) /* 80211C00 0020EB60 B1 0A 00 02 */ sth r8, 2(r10) /* 80211C04 0020EB64 B0 0A 00 04 */ sth r0, 4(r10) lbl_80211C08: /* 80211C08 0020EB68 81 05 00 00 */ lwz r8, 0(r5) /* 80211C0C 0020EB6C 7F 8B E3 78 */ mr r11, r28 /* 80211C10 0020EB70 7F AC EB 78 */ mr r12, r29 /* 80211C14 0020EB74 7F DB F3 78 */ mr r27, r30 /* 80211C18 0020EB78 38 08 00 01 */ addi r0, r8, 1 /* 80211C1C 0020EB7C 3B FF FF F8 */ addi r31, r31, -8 /* 80211C20 0020EB80 90 05 00 00 */ stw r0, 0(r5) /* 80211C24 0020EB84 42 00 FF 3C */ bdnz lbl_80211B60 lbl_80211C28: /* 80211C28 0020EB88 2C 06 00 01 */ cmpwi r6, 1 /* 80211C2C 0020EB8C 40 82 01 1C */ bne lbl_80211D48 /* 80211C30 0020EB90 C0 82 B2 94 */ lfs f4, lbl_805ACFB4@sda21(r2) /* 80211C34 0020EB94 38 C5 00 04 */ addi r6, r5, 4 /* 80211C38 0020EB98 38 03 0B 88 */ addi r0, r3, 0xb88 /* 80211C3C 0020EB9C 38 60 00 00 */ li r3, 0 /* 80211C40 0020EBA0 48 00 00 FC */ b lbl_80211D3C lbl_80211C44: /* 80211C44 0020EBA4 54 68 07 3E */ clrlwi r8, r3, 0x1c /* 80211C48 0020EBA8 C0 07 00 00 */ lfs f0, 0(r7) /* 80211C4C 0020EBAC 1D 08 00 0C */ mulli r8, r8, 0xc /* 80211C50 0020EBB0 C0 47 00 04 */ lfs f2, 4(r7) /* 80211C54 0020EBB4 C0 67 00 08 */ lfs f3, 8(r7) /* 80211C58 0020EBB8 38 63 00 01 */ addi r3, r3, 1 /* 80211C5C 0020EBBC A9 66 00 00 */ lha r11, 0(r6) /* 80211C60 0020EBC0 7D 00 42 14 */ add r8, r0, r8 /* 80211C64 0020EBC4 C0 A8 00 00 */ lfs f5, 0(r8) /* 80211C68 0020EBC8 C0 E8 00 04 */ lfs f7, 4(r8) /* 80211C6C 0020EBCC EC C1 01 72 */ fmuls f6, f1, f5 /* 80211C70 0020EBD0 C0 A8 00 08 */ lfs f5, 8(r8) /* 80211C74 0020EBD4 ED 01 01 F2 */ fmuls f8, f1, f7 /* 80211C78 0020EBD8 A9 04 00 00 */ lha r8, 0(r4) /* 80211C7C 0020EBDC EC E1 01 72 */ fmuls f7, f1, f5 /* 80211C80 0020EBE0 AB E6 00 02 */ lha r31, 2(r6) /* 80211C84 0020EBE4 EC A0 01 B2 */ fmuls f5, f0, f6 /* 80211C88 0020EBE8 AB C6 00 04 */ lha r30, 4(r6) /* 80211C8C 0020EBEC ED 22 02 32 */ fmuls f9, f2, f8 /* 80211C90 0020EBF0 A9 44 00 02 */ lha r10, 2(r4) /* 80211C94 0020EBF4 ED 43 01 F2 */ fmuls f10, f3, f7 /* 80211C98 0020EBF8 A9 24 00 04 */ lha r9, 4(r4) /* 80211C9C 0020EBFC EC 04 01 72 */ fmuls f0, f4, f5 /* 80211CA0 0020EC00 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 80211CA4 0020EC04 EC 44 02 72 */ fmuls f2, f4, f9 /* 80211CA8 0020EC08 EC 64 02 B2 */ fmuls f3, f4, f10 /* 80211CAC 0020EC0C D1 01 00 1C */ stfs f8, 0x1c(r1) /* 80211CB0 0020EC10 FC 00 00 1E */ fctiwz f0, f0 /* 80211CB4 0020EC14 FC 40 10 1E */ fctiwz f2, f2 /* 80211CB8 0020EC18 D0 E1 00 20 */ stfs f7, 0x20(r1) /* 80211CBC 0020EC1C FC 60 18 1E */ fctiwz f3, f3 /* 80211CC0 0020EC20 D8 01 00 30 */ stfd f0, 0x30(r1) /* 80211CC4 0020EC24 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80211CC8 0020EC28 D8 41 00 38 */ stfd f2, 0x38(r1) /* 80211CCC 0020EC2C 7F AC 07 34 */ extsh r12, r29 /* 80211CD0 0020EC30 7D 8B 62 14 */ add r12, r11, r12 /* 80211CD4 0020EC34 83 61 00 3C */ lwz r27, 0x3c(r1) /* 80211CD8 0020EC38 D8 61 00 40 */ stfd f3, 0x40(r1) /* 80211CDC 0020EC3C 7D 8B 07 34 */ extsh r11, r12 /* 80211CE0 0020EC40 7D 0B 42 14 */ add r8, r11, r8 /* 80211CE4 0020EC44 7F 6B 07 34 */ extsh r11, r27 /* 80211CE8 0020EC48 83 81 00 44 */ lwz r28, 0x44(r1) /* 80211CEC 0020EC4C 7D 7F 5A 14 */ add r11, r31, r11 /* 80211CF0 0020EC50 B1 06 00 00 */ sth r8, 0(r6) /* 80211CF4 0020EC54 7D 7F 07 34 */ extsh r31, r11 /* 80211CF8 0020EC58 7D 1F 52 14 */ add r8, r31, r10 /* 80211CFC 0020EC5C 7F 8A 07 34 */ extsh r10, r28 /* 80211D00 0020EC60 7D 5E 52 14 */ add r10, r30, r10 /* 80211D04 0020EC64 B1 06 00 02 */ sth r8, 2(r6) /* 80211D08 0020EC68 7D 48 07 34 */ extsh r8, r10 /* 80211D0C 0020EC6C 7D 08 4A 14 */ add r8, r8, r9 /* 80211D10 0020EC70 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80211D14 0020EC74 B1 06 00 04 */ sth r8, 4(r6) /* 80211D18 0020EC78 38 C6 00 06 */ addi r6, r6, 6 /* 80211D1C 0020EC7C D1 21 00 28 */ stfs f9, 0x28(r1) /* 80211D20 0020EC80 D1 41 00 2C */ stfs f10, 0x2c(r1) /* 80211D24 0020EC84 B3 A1 00 08 */ sth r29, 8(r1) /* 80211D28 0020EC88 B3 61 00 0A */ sth r27, 0xa(r1) /* 80211D2C 0020EC8C B3 81 00 0C */ sth r28, 0xc(r1) /* 80211D30 0020EC90 B1 81 00 10 */ sth r12, 0x10(r1) /* 80211D34 0020EC94 B1 61 00 12 */ sth r11, 0x12(r1) /* 80211D38 0020EC98 B1 41 00 14 */ sth r10, 0x14(r1) lbl_80211D3C: /* 80211D3C 0020EC9C 81 05 00 00 */ lwz r8, 0(r5) /* 80211D40 0020ECA0 7C 03 40 00 */ cmpw r3, r8 /* 80211D44 0020ECA4 41 80 FF 00 */ blt lbl_80211C44 lbl_80211D48: /* 80211D48 0020ECA8 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 80211D4C 0020ECAC 38 21 00 60 */ addi r1, r1, 0x60 /* 80211D50 0020ECB0 4E 80 00 20 */ blr .global CreateNewParticles__13CEnvFxManagerF10EEnvFxType CreateNewParticles__13CEnvFxManagerF10EEnvFxType: /* 80211D54 0020ECB4 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 80211D58 0020ECB8 7C 08 02 A6 */ mflr r0 /* 80211D5C 0020ECBC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80211D60 0020ECC0 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 80211D64 0020ECC4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 80211D68 0020ECC8 DB C1 00 90 */ stfd f30, 0x90(r1) /* 80211D6C 0020ECCC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 80211D70 0020ECD0 DB A1 00 80 */ stfd f29, 0x80(r1) /* 80211D74 0020ECD4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 80211D78 0020ECD8 BE A1 00 54 */ stmw r21, 0x54(r1) /* 80211D7C 0020ECDC 2C 04 00 01 */ cmpwi r4, 1 /* 80211D80 0020ECE0 7C 77 1B 78 */ mr r23, r3 /* 80211D84 0020ECE4 40 82 00 0C */ bne lbl_80211D90 /* 80211D88 0020ECE8 38 00 1C 98 */ li r0, 0x1c98 /* 80211D8C 0020ECEC 48 00 00 2C */ b lbl_80211DB8 lbl_80211D90: /* 80211D90 0020ECF0 2C 04 00 02 */ cmpwi r4, 2 /* 80211D94 0020ECF4 40 82 00 0C */ bne lbl_80211DA0 /* 80211D98 0020ECF8 38 00 2A F8 */ li r0, 0x2af8 /* 80211D9C 0020ECFC 48 00 00 1C */ b lbl_80211DB8 lbl_80211DA0: /* 80211DA0 0020ED00 38 64 FF FD */ addi r3, r4, -3 /* 80211DA4 0020ED04 20 04 00 03 */ subfic r0, r4, 3 /* 80211DA8 0020ED08 7C 63 00 F8 */ nor r3, r3, r0 /* 80211DAC 0020ED0C 38 00 1F D6 */ li r0, 0x1fd6 /* 80211DB0 0020ED10 7C 63 FE 70 */ srawi r3, r3, 0x1f /* 80211DB4 0020ED14 7C 00 18 38 */ and r0, r0, r3 lbl_80211DB8: /* 80211DB8 0020ED18 7C 00 36 70 */ srawi r0, r0, 6 /* 80211DBC 0020ED1C 3C 60 43 30 */ lis r3, 0x4330 /* 80211DC0 0020ED20 7C A0 01 94 */ addze r5, r0 /* 80211DC4 0020ED24 88 0D A4 F4 */ lbz r0, lbl_805A90B4@sda21(r13) /* 80211DC8 0020ED28 6C A4 80 00 */ xoris r4, r5, 0x8000 /* 80211DCC 0020ED2C 90 61 00 20 */ stw r3, 0x20(r1) /* 80211DD0 0020ED30 C8 22 B2 48 */ lfd f1, lbl_805ACF68@sda21(r2) /* 80211DD4 0020ED34 7C 00 07 75 */ extsb. r0, r0 /* 80211DD8 0020ED38 90 81 00 24 */ stw r4, 0x24(r1) /* 80211DDC 0020ED3C 7C B5 2B 78 */ mr r21, r5 /* 80211DE0 0020ED40 C0 57 00 30 */ lfs f2, 0x30(r23) /* 80211DE4 0020ED44 C8 01 00 20 */ lfd f0, 0x20(r1) /* 80211DE8 0020ED48 EC 00 08 28 */ fsubs f0, f0, f1 /* 80211DEC 0020ED4C EC 02 00 32 */ fmuls f0, f2, f0 /* 80211DF0 0020ED50 FC 00 00 1E */ fctiwz f0, f0 /* 80211DF4 0020ED54 D8 01 00 28 */ stfd f0, 0x28(r1) /* 80211DF8 0020ED58 83 41 00 2C */ lwz r26, 0x2c(r1) /* 80211DFC 0020ED5C 40 82 00 14 */ bne lbl_80211E10 /* 80211E00 0020ED60 38 60 00 00 */ li r3, 0 /* 80211E04 0020ED64 38 00 00 01 */ li r0, 1 /* 80211E08 0020ED68 90 6D A4 F0 */ stw r3, lbl_805A90B0@sda21(r13) /* 80211E0C 0020ED6C 98 0D A4 F4 */ stb r0, lbl_805A90B4@sda21(r13) lbl_80211E10: /* 80211E10 0020ED70 80 8D A4 F0 */ lwz r4, lbl_805A90B0@sda21(r13) /* 80211E14 0020ED74 38 61 00 08 */ addi r3, r1, 8 /* 80211E18 0020ED78 48 10 07 D5 */ bl __ct__9CRandom16FUi /* 80211E1C 0020ED7C 80 77 00 50 */ lwz r3, 0x50(r23) /* 80211E20 0020ED80 7E BB AB 78 */ mr r27, r21 /* 80211E24 0020ED84 3B 23 FF FF */ addi r25, r3, -1 /* 80211E28 0020ED88 1C 19 00 2C */ mulli r0, r25, 0x2c /* 80211E2C 0020ED8C 7F 97 02 14 */ add r28, r23, r0 /* 80211E30 0020ED90 3B 9C 00 54 */ addi r28, r28, 0x54 /* 80211E34 0020ED94 48 00 01 7C */ b lbl_80211FB0 lbl_80211E38: /* 80211E38 0020ED98 88 1C 00 14 */ lbz r0, 0x14(r28) /* 80211E3C 0020ED9C C0 1C 00 18 */ lfs f0, 0x18(r28) /* 80211E40 0020EDA0 28 00 00 00 */ cmplwi r0, 0 /* 80211E44 0020EDA4 98 01 00 14 */ stb r0, 0x14(r1) /* 80211E48 0020EDA8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80211E4C 0020EDAC 41 82 01 5C */ beq lbl_80211FA8 /* 80211E50 0020EDB0 80 1C 00 20 */ lwz r0, 0x20(r28) /* 80211E54 0020EDB4 3B DC 00 1C */ addi r30, r28, 0x1c /* 80211E58 0020EDB8 7C 1A 00 00 */ cmpw r26, r0 /* 80211E5C 0020EDBC 40 81 01 2C */ ble lbl_80211F88 /* 80211E60 0020EDC0 80 1E 00 08 */ lwz r0, 8(r30) /* 80211E64 0020EDC4 7C 1A 00 00 */ cmpw r26, r0 /* 80211E68 0020EDC8 40 81 00 10 */ ble lbl_80211E78 /* 80211E6C 0020EDCC 7F C3 F3 78 */ mr r3, r30 /* 80211E70 0020EDD0 7F 64 DB 78 */ mr r4, r27 /* 80211E74 0020EDD4 48 00 1B 55 */ bl sub_802139c8 lbl_80211E78: /* 80211E78 0020EDD8 80 1E 00 04 */ lwz r0, 4(r30) /* 80211E7C 0020EDDC 3A E0 00 00 */ li r23, 0 /* 80211E80 0020EDE0 CB C2 B2 48 */ lfd f30, lbl_805ACF68@sda21(r2) /* 80211E84 0020EDE4 3F E0 43 30 */ lis r31, 0x4330 /* 80211E88 0020EDE8 C3 E2 B2 94 */ lfs f31, lbl_805ACFB4@sda21(r2) /* 80211E8C 0020EDEC 7F 00 D0 50 */ subf r24, r0, r26 /* 80211E90 0020EDF0 48 00 00 EC */ b lbl_80211F7C lbl_80211E94: /* 80211E94 0020EDF4 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80211E98 0020EDF8 38 61 00 08 */ addi r3, r1, 8 /* 80211E9C 0020EDFC C0 42 B2 AC */ lfs f2, lbl_805ACFCC@sda21(r2) /* 80211EA0 0020EE00 48 10 06 A5 */ bl Range__9CRandom16Fff /* 80211EA4 0020EE04 80 1C 00 10 */ lwz r0, 0x10(r28) /* 80211EA8 0020EE08 FF A0 08 90 */ fmr f29, f1 /* 80211EAC 0020EE0C 93 E1 00 28 */ stw r31, 0x28(r1) /* 80211EB0 0020EE10 38 61 00 08 */ addi r3, r1, 8 /* 80211EB4 0020EE14 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80211EB8 0020EE18 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80211EBC 0020EE1C 90 01 00 2C */ stw r0, 0x2c(r1) /* 80211EC0 0020EE20 C8 01 00 28 */ lfd f0, 0x28(r1) /* 80211EC4 0020EE24 EC 40 F0 28 */ fsubs f2, f0, f30 /* 80211EC8 0020EE28 48 10 06 7D */ bl Range__9CRandom16Fff /* 80211ECC 0020EE2C 80 1C 00 0C */ lwz r0, 0xc(r28) /* 80211ED0 0020EE30 FC 40 08 1E */ fctiwz f2, f1 /* 80211ED4 0020EE34 93 E1 00 30 */ stw r31, 0x30(r1) /* 80211ED8 0020EE38 38 61 00 08 */ addi r3, r1, 8 /* 80211EDC 0020EE3C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80211EE0 0020EE40 C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80211EE4 0020EE44 90 01 00 34 */ stw r0, 0x34(r1) /* 80211EE8 0020EE48 C8 01 00 30 */ lfd f0, 0x30(r1) /* 80211EEC 0020EE4C D8 41 00 20 */ stfd f2, 0x20(r1) /* 80211EF0 0020EE50 EC 40 F0 28 */ fsubs f2, f0, f30 /* 80211EF4 0020EE54 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80211EF8 0020EE58 48 10 06 4D */ bl Range__9CRandom16Fff /* 80211EFC 0020EE5C EC 1F 07 72 */ fmuls f0, f31, f29 /* 80211F00 0020EE60 80 1E 00 04 */ lwz r0, 4(r30) /* 80211F04 0020EE64 FC 20 08 1E */ fctiwz f1, f1 /* 80211F08 0020EE68 80 BE 00 08 */ lwz r5, 8(r30) /* 80211F0C 0020EE6C 7F BD 07 34 */ extsh r29, r29 /* 80211F10 0020EE70 FC 00 00 1E */ fctiwz f0, f0 /* 80211F14 0020EE74 D8 21 00 38 */ stfd f1, 0x38(r1) /* 80211F18 0020EE78 7C 00 28 00 */ cmpw r0, r5 /* 80211F1C 0020EE7C D8 01 00 40 */ stfd f0, 0x40(r1) /* 80211F20 0020EE80 80 61 00 3C */ lwz r3, 0x3c(r1) /* 80211F24 0020EE84 80 01 00 44 */ lwz r0, 0x44(r1) /* 80211F28 0020EE88 7C 76 07 34 */ extsh r22, r3 /* 80211F2C 0020EE8C 7C 15 07 34 */ extsh r21, r0 /* 80211F30 0020EE90 41 80 00 1C */ blt lbl_80211F4C /* 80211F34 0020EE94 2C 05 00 00 */ cmpwi r5, 0 /* 80211F38 0020EE98 7F C3 F3 78 */ mr r3, r30 /* 80211F3C 0020EE9C 38 80 00 04 */ li r4, 4 /* 80211F40 0020EEA0 41 82 00 08 */ beq lbl_80211F48 /* 80211F44 0020EEA4 54 A4 08 3C */ slwi r4, r5, 1 lbl_80211F48: /* 80211F48 0020EEA8 48 00 1A 81 */ bl sub_802139c8 lbl_80211F4C: /* 80211F4C 0020EEAC 80 1E 00 04 */ lwz r0, 4(r30) /* 80211F50 0020EEB0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80211F54 0020EEB4 1C 00 00 06 */ mulli r0, r0, 6 /* 80211F58 0020EEB8 7C 63 02 15 */ add. r3, r3, r0 /* 80211F5C 0020EEBC 41 82 00 10 */ beq lbl_80211F6C /* 80211F60 0020EEC0 B2 C3 00 00 */ sth r22, 0(r3) /* 80211F64 0020EEC4 B3 A3 00 02 */ sth r29, 2(r3) /* 80211F68 0020EEC8 B2 A3 00 04 */ sth r21, 4(r3) lbl_80211F6C: /* 80211F6C 0020EECC 80 7E 00 04 */ lwz r3, 4(r30) /* 80211F70 0020EED0 3A F7 00 01 */ addi r23, r23, 1 /* 80211F74 0020EED4 38 03 00 01 */ addi r0, r3, 1 /* 80211F78 0020EED8 90 1E 00 04 */ stw r0, 4(r30) lbl_80211F7C: /* 80211F7C 0020EEDC 7C 17 C0 00 */ cmpw r23, r24 /* 80211F80 0020EEE0 41 80 FF 14 */ blt lbl_80211E94 /* 80211F84 0020EEE4 48 00 00 24 */ b lbl_80211FA8 lbl_80211F88: /* 80211F88 0020EEE8 38 00 00 00 */ li r0, 0 /* 80211F8C 0020EEEC 7F C3 F3 78 */ mr r3, r30 /* 80211F90 0020EEF0 B0 01 00 0C */ sth r0, 0xc(r1) /* 80211F94 0020EEF4 7F 44 D3 78 */ mr r4, r26 /* 80211F98 0020EEF8 38 A1 00 0C */ addi r5, r1, 0xc /* 80211F9C 0020EEFC B0 01 00 0E */ sth r0, 0xe(r1) /* 80211FA0 0020EF00 B0 01 00 10 */ sth r0, 0x10(r1) /* 80211FA4 0020EF04 48 00 00 49 */ bl sub_80211fec lbl_80211FA8: /* 80211FA8 0020EF08 3B 9C FF D4 */ addi r28, r28, -44 /* 80211FAC 0020EF0C 3B 39 FF FF */ addi r25, r25, -1 lbl_80211FB0: /* 80211FB0 0020EF10 2C 19 00 00 */ cmpwi r25, 0 /* 80211FB4 0020EF14 40 80 FE 84 */ bge lbl_80211E38 /* 80211FB8 0020EF18 80 01 00 08 */ lwz r0, 8(r1) /* 80211FBC 0020EF1C 90 0D A4 F0 */ stw r0, lbl_805A90B0@sda21(r13) /* 80211FC0 0020EF20 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80211FC4 0020EF24 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80211FC8 0020EF28 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 80211FCC 0020EF2C CB C1 00 90 */ lfd f30, 0x90(r1) /* 80211FD0 0020EF30 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 80211FD4 0020EF34 CB A1 00 80 */ lfd f29, 0x80(r1) /* 80211FD8 0020EF38 BA A1 00 54 */ lmw r21, 0x54(r1) /* 80211FDC 0020EF3C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80211FE0 0020EF40 7C 08 03 A6 */ mtlr r0 /* 80211FE4 0020EF44 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80211FE8 0020EF48 4E 80 00 20 */ blr .global sub_80211fec sub_80211fec: /* 80211FEC 0020EF4C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80211FF0 0020EF50 7C 08 02 A6 */ mflr r0 /* 80211FF4 0020EF54 90 01 00 34 */ stw r0, 0x34(r1) /* 80211FF8 0020EF58 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80211FFC 0020EF5C 7C 9F 23 78 */ mr r31, r4 /* 80212000 0020EF60 93 C1 00 28 */ stw r30, 0x28(r1) /* 80212004 0020EF64 7C 7E 1B 78 */ mr r30, r3 /* 80212008 0020EF68 93 A1 00 24 */ stw r29, 0x24(r1) /* 8021200C 0020EF6C 7C BD 2B 78 */ mr r29, r5 /* 80212010 0020EF70 80 03 00 04 */ lwz r0, 4(r3) /* 80212014 0020EF74 7C 00 F8 00 */ cmpw r0, r31 /* 80212018 0020EF78 41 82 00 90 */ beq lbl_802120A8 /* 8021201C 0020EF7C 7C 1F 00 00 */ cmpw r31, r0 /* 80212020 0020EF80 40 81 00 50 */ ble lbl_80212070 /* 80212024 0020EF84 48 00 19 A5 */ bl sub_802139c8 /* 80212028 0020EF88 80 9E 00 04 */ lwz r4, 4(r30) /* 8021202C 0020EF8C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80212030 0020EF90 1C 04 00 06 */ mulli r0, r4, 6 /* 80212034 0020EF94 7C 84 F8 51 */ subf. r4, r4, r31 /* 80212038 0020EF98 7C 63 02 14 */ add r3, r3, r0 /* 8021203C 0020EF9C 7C 89 03 A6 */ mtctr r4 /* 80212040 0020EFA0 40 81 00 64 */ ble lbl_802120A4 lbl_80212044: /* 80212044 0020EFA4 28 03 00 00 */ cmplwi r3, 0 /* 80212048 0020EFA8 41 82 00 1C */ beq lbl_80212064 /* 8021204C 0020EFAC A8 1D 00 00 */ lha r0, 0(r29) /* 80212050 0020EFB0 B0 03 00 00 */ sth r0, 0(r3) /* 80212054 0020EFB4 A8 1D 00 02 */ lha r0, 2(r29) /* 80212058 0020EFB8 B0 03 00 02 */ sth r0, 2(r3) /* 8021205C 0020EFBC A8 1D 00 04 */ lha r0, 4(r29) /* 80212060 0020EFC0 B0 03 00 04 */ sth r0, 4(r3) lbl_80212064: /* 80212064 0020EFC4 38 63 00 06 */ addi r3, r3, 6 /* 80212068 0020EFC8 42 00 FF DC */ bdnz lbl_80212044 /* 8021206C 0020EFCC 48 00 00 38 */ b lbl_802120A4 lbl_80212070: /* 80212070 0020EFD0 1C 00 00 06 */ mulli r0, r0, 6 /* 80212074 0020EFD4 80 9E 00 0C */ lwz r4, 0xc(r30) /* 80212078 0020EFD8 7C 64 02 14 */ add r3, r4, r0 /* 8021207C 0020EFDC 1C 1F 00 06 */ mulli r0, r31, 6 /* 80212080 0020EFE0 90 61 00 08 */ stw r3, 8(r1) /* 80212084 0020EFE4 90 61 00 0C */ stw r3, 0xc(r1) /* 80212088 0020EFE8 7C 84 02 14 */ add r4, r4, r0 /* 8021208C 0020EFEC 90 81 00 10 */ stw r4, 0x10(r1) /* 80212090 0020EFF0 90 81 00 14 */ stw r4, 0x14(r1) /* 80212094 0020EFF4 48 00 00 08 */ b lbl_8021209C lbl_80212098: /* 80212098 0020EFF8 38 84 00 06 */ addi r4, r4, 6 lbl_8021209C: /* 8021209C 0020EFFC 7C 04 18 40 */ cmplw r4, r3 /* 802120A0 0020F000 40 82 FF F8 */ bne lbl_80212098 lbl_802120A4: /* 802120A4 0020F004 93 FE 00 04 */ stw r31, 4(r30) lbl_802120A8: /* 802120A8 0020F008 80 01 00 34 */ lwz r0, 0x34(r1) /* 802120AC 0020F00C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802120B0 0020F010 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802120B4 0020F014 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802120B8 0020F018 7C 08 03 A6 */ mtlr r0 /* 802120BC 0020F01C 38 21 00 30 */ addi r1, r1, 0x30 /* 802120C0 0020F020 4E 80 00 20 */ blr .global Update__13CEnvFxManagerFfR13CStateManager Update__13CEnvFxManagerFfR13CStateManager: /* 802120C4 0020F024 94 21 F8 10 */ stwu r1, -0x7f0(r1) /* 802120C8 0020F028 7C 08 02 A6 */ mflr r0 /* 802120CC 0020F02C 90 01 07 F4 */ stw r0, 0x7f4(r1) /* 802120D0 0020F030 DB E1 07 E0 */ stfd f31, 0x7e0(r1) /* 802120D4 0020F034 F3 E1 07 E8 */ psq_st f31, 2024(r1), 0, qr0 /* 802120D8 0020F038 DB C1 07 D0 */ stfd f30, 0x7d0(r1) /* 802120DC 0020F03C F3 C1 07 D8 */ psq_st f30, 2008(r1), 0, qr0 /* 802120E0 0020F040 93 E1 07 CC */ stw r31, 0x7cc(r1) /* 802120E4 0020F044 93 C1 07 C8 */ stw r30, 0x7c8(r1) /* 802120E8 0020F048 93 A1 07 C4 */ stw r29, 0x7c4(r1) /* 802120EC 0020F04C 7C 9D 23 78 */ mr r29, r4 /* 802120F0 0020F050 7C 7F 1B 78 */ mr r31, r3 /* 802120F4 0020F054 80 64 08 50 */ lwz r3, 0x850(r4) /* 802120F8 0020F058 FF E0 08 90 */ fmr f31, f1 /* 802120FC 0020F05C 80 84 08 70 */ lwz r4, 0x870(r4) /* 80212100 0020F060 7F A5 EB 78 */ mr r5, r29 /* 80212104 0020F064 83 C3 00 C4 */ lwz r30, 0xc4(r3) /* 80212108 0020F068 38 61 00 CC */ addi r3, r1, 0xcc /* 8021210C 0020F06C 4B DF 88 5D */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager /* 80212110 0020F070 38 61 01 5C */ addi r3, r1, 0x15c /* 80212114 0020F074 38 81 00 CC */ addi r4, r1, 0xcc /* 80212118 0020F078 48 10 0A 5D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021211C 0020F07C 80 7D 08 70 */ lwz r3, 0x870(r29) /* 80212120 0020F080 80 03 00 74 */ lwz r0, 0x74(r3) /* 80212124 0020F084 2C 00 00 00 */ cmpwi r0, 0 /* 80212128 0020F088 41 82 00 24 */ beq lbl_8021214C /* 8021212C 0020F08C 38 60 FF FF */ li r3, -1 /* 80212130 0020F090 38 00 00 00 */ li r0, 0 /* 80212134 0020F094 90 7F 00 2C */ stw r3, 0x2c(r31) /* 80212138 0020F098 7F E3 FB 78 */ mr r3, r31 /* 8021213C 0020F09C C0 22 B2 78 */ lfs f1, lbl_805ACF98@sda21(r2) /* 80212140 0020F0A0 7F A4 EB 78 */ mr r4, r29 /* 80212144 0020F0A4 98 1F 00 24 */ stb r0, 0x24(r31) /* 80212148 0020F0A8 4B FF EB 3D */ bl SetSplashEffectRate__13CEnvFxManagerFfR13CStateManager lbl_8021214C: /* 8021214C 0020F0AC 7F E3 FB 78 */ mr r3, r31 /* 80212150 0020F0B0 7F A4 EB 78 */ mr r4, r29 /* 80212154 0020F0B4 4B FF DE 39 */ bl UpdateRainSounds__13CEnvFxManagerFR13CStateManager /* 80212158 0020F0B8 FC 20 F8 90 */ fmr f1, f31 /* 8021215C 0020F0BC 7F E3 FB 78 */ mr r3, r31 /* 80212160 0020F0C0 7F A4 EB 78 */ mr r4, r29 /* 80212164 0020F0C4 38 A1 01 5C */ addi r5, r1, 0x15c /* 80212168 0020F0C8 4B FF EB 95 */ bl UpdateVisorSplash__13CEnvFxManagerFR13CStateManagerfRC12CTransform4f /* 8021216C 0020F0CC 2C 1E 00 00 */ cmpwi r30, 0 /* 80212170 0020F0D0 40 82 00 A4 */ bne lbl_80212214 /* 80212174 0020F0D4 80 7F 00 50 */ lwz r3, 0x50(r31) /* 80212178 0020F0D8 3B A3 FF FF */ addi r29, r3, -1 /* 8021217C 0020F0DC 1C 1D 00 2C */ mulli r0, r29, 0x2c /* 80212180 0020F0E0 7F DF 02 14 */ add r30, r31, r0 /* 80212184 0020F0E4 3B DE 00 54 */ addi r30, r30, 0x54 /* 80212188 0020F0E8 48 00 00 80 */ b lbl_80212208 lbl_8021218C: /* 8021218C 0020F0EC 88 1E 00 14 */ lbz r0, 0x14(r30) /* 80212190 0020F0F0 C0 1E 00 18 */ lfs f0, 0x18(r30) /* 80212194 0020F0F4 28 00 00 00 */ cmplwi r0, 0 /* 80212198 0020F0F8 98 01 00 1C */ stb r0, 0x1c(r1) /* 8021219C 0020F0FC D0 01 00 20 */ stfs f0, 0x20(r1) /* 802121A0 0020F100 41 82 00 60 */ beq lbl_80212200 /* 802121A4 0020F104 38 00 00 00 */ li r0, 0 /* 802121A8 0020F108 38 7E 00 1C */ addi r3, r30, 0x1c /* 802121AC 0020F10C 90 01 00 3C */ stw r0, 0x3c(r1) /* 802121B0 0020F110 38 81 00 38 */ addi r4, r1, 0x38 /* 802121B4 0020F114 90 01 00 40 */ stw r0, 0x40(r1) /* 802121B8 0020F118 90 01 00 44 */ stw r0, 0x44(r1) /* 802121BC 0020F11C 48 00 04 05 */ bl sub_802125c0 /* 802121C0 0020F120 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802121C4 0020F124 80 61 00 44 */ lwz r3, 0x44(r1) /* 802121C8 0020F128 1C 00 00 06 */ mulli r0, r0, 6 /* 802121CC 0020F12C 90 61 00 0C */ stw r3, 0xc(r1) /* 802121D0 0020F130 7C 64 1B 78 */ mr r4, r3 /* 802121D4 0020F134 7C 03 02 14 */ add r0, r3, r0 /* 802121D8 0020F138 90 61 00 08 */ stw r3, 8(r1) /* 802121DC 0020F13C 90 01 00 14 */ stw r0, 0x14(r1) /* 802121E0 0020F140 90 01 00 10 */ stw r0, 0x10(r1) /* 802121E4 0020F144 48 00 00 08 */ b lbl_802121EC lbl_802121E8: /* 802121E8 0020F148 38 84 00 06 */ addi r4, r4, 6 lbl_802121EC: /* 802121EC 0020F14C 7C 04 00 40 */ cmplw r4, r0 /* 802121F0 0020F150 40 82 FF F8 */ bne lbl_802121E8 /* 802121F4 0020F154 28 03 00 00 */ cmplwi r3, 0 /* 802121F8 0020F158 41 82 00 08 */ beq lbl_80212200 /* 802121FC 0020F15C 48 10 37 35 */ bl Free__7CMemoryFPCv lbl_80212200: /* 80212200 0020F160 3B DE FF D4 */ addi r30, r30, -44 /* 80212204 0020F164 3B BD FF FF */ addi r29, r29, -1 lbl_80212208: /* 80212208 0020F168 2C 1D 00 00 */ cmpwi r29, 0 /* 8021220C 0020F16C 40 80 FF 80 */ bge lbl_8021218C /* 80212210 0020F170 48 00 03 84 */ b lbl_80212594 lbl_80212214: /* 80212214 0020F174 C0 5F 00 34 */ lfs f2, 0x34(r31) /* 80212218 0020F178 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 8021221C 0020F17C C0 22 B2 68 */ lfs f1, lbl_805ACF88@sda21(r2) /* 80212220 0020F180 EC 62 00 28 */ fsubs f3, f2, f0 /* 80212224 0020F184 C0 0D 94 BC */ lfs f0, lbl_805A807C@sda21(r13) /* 80212228 0020F188 FC 40 1A 10 */ fabs f2, f3 /* 8021222C 0020F18C FC 40 10 18 */ frsp f2, f2 /* 80212230 0020F190 EC 22 08 24 */ fdivs f1, f2, f1 /* 80212234 0020F194 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80212238 0020F198 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8021223C 0020F19C 40 80 00 0C */ bge lbl_80212248 /* 80212240 0020F1A0 38 61 00 18 */ addi r3, r1, 0x18 /* 80212244 0020F1A4 48 00 00 08 */ b lbl_8021224C lbl_80212248: /* 80212248 0020F1A8 38 6D 94 BC */ addi r3, r13, lbl_805A807C@sda21 lbl_8021224C: /* 8021224C 0020F1AC C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80212250 0020F1B0 FC 40 1A 10 */ fabs f2, f3 /* 80212254 0020F1B4 C0 02 B2 B0 */ lfs f0, lbl_805ACFD0@sda21(r2) /* 80212258 0020F1B8 EC 01 00 24 */ fdivs f0, f1, f0 /* 8021225C 0020F1BC EC 1F 00 32 */ fmuls f0, f31, f0 /* 80212260 0020F1C0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80212264 0020F1C4 40 81 00 18 */ ble lbl_8021227C /* 80212268 0020F1C8 C0 42 B2 B4 */ lfs f2, lbl_805ACFD4@sda21(r2) /* 8021226C 0020F1CC C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80212270 0020F1D0 FC 23 10 6E */ fsel f1, f3, f1, f2 /* 80212274 0020F1D4 EC 40 00 72 */ fmuls f2, f0, f1 /* 80212278 0020F1D8 48 00 00 08 */ b lbl_80212280 lbl_8021227C: /* 8021227C 0020F1DC FC 40 18 90 */ fmr f2, f3 lbl_80212280: /* 80212280 0020F1E0 C0 23 00 00 */ lfs f1, 0(r3) /* 80212284 0020F1E4 7F E4 FB 78 */ mr r4, r31 /* 80212288 0020F1E8 C0 1F 00 30 */ lfs f0, 0x30(r31) /* 8021228C 0020F1EC 38 61 00 2C */ addi r3, r1, 0x2c /* 80212290 0020F1F0 EC 01 00 BA */ fmadds f0, f1, f2, f0 /* 80212294 0020F1F4 D0 1F 00 30 */ stfs f0, 0x30(r31) /* 80212298 0020F1F8 48 00 08 81 */ bl GetParticleBoundsToWorldScale__13CEnvFxManagerCFv /* 8021229C 0020F1FC C1 42 B2 64 */ lfs f10, lbl_805ACF84@sda21(r2) /* 802122A0 0020F200 C0 01 00 34 */ lfs f0, 0x34(r1) /* 802122A4 0020F204 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 802122A8 0020F208 ED 6A 00 24 */ fdivs f11, f10, f0 /* 802122AC 0020F20C C1 01 00 30 */ lfs f8, 0x30(r1) /* 802122B0 0020F210 C0 C2 B2 B8 */ lfs f6, lbl_805ACFD8@sda21(r2) /* 802122B4 0020F214 C0 01 01 70 */ lfs f0, 0x170(r1) /* 802122B8 0020F218 C0 A1 01 80 */ lfs f5, 0x180(r1) /* 802122BC 0020F21C C0 61 01 60 */ lfs f3, 0x160(r1) /* 802122C0 0020F220 ED 2A 10 24 */ fdivs f9, f10, f2 /* 802122C4 0020F224 C0 21 01 78 */ lfs f1, 0x178(r1) /* 802122C8 0020F228 C0 E1 01 88 */ lfs f7, 0x188(r1) /* 802122CC 0020F22C C0 81 01 68 */ lfs f4, 0x168(r1) /* 802122D0 0020F230 D1 61 00 68 */ stfs f11, 0x68(r1) /* 802122D4 0020F234 C8 42 B2 C0 */ lfd f2, lbl_805ACFE0@sda21(r2) /* 802122D8 0020F238 ED 0A 40 24 */ fdivs f8, f10, f8 /* 802122DC 0020F23C D1 21 00 60 */ stfs f9, 0x60(r1) /* 802122E0 0020F240 EC 06 00 32 */ fmuls f0, f6, f0 /* 802122E4 0020F244 D1 01 00 64 */ stfs f8, 0x64(r1) /* 802122E8 0020F248 EC A6 01 72 */ fmuls f5, f6, f5 /* 802122EC 0020F24C EC 66 00 F2 */ fmuls f3, f6, f3 /* 802122F0 0020F250 EC 21 00 2A */ fadds f1, f1, f0 /* 802122F4 0020F254 EC A7 28 2A */ fadds f5, f7, f5 /* 802122F8 0020F258 EC 04 18 2A */ fadds f0, f4, f3 /* 802122FC 0020F25C D0 21 00 58 */ stfs f1, 0x58(r1) /* 80212300 0020F260 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80212304 0020F264 D0 A1 00 5C */ stfs f5, 0x5c(r1) /* 80212308 0020F268 48 18 29 A5 */ bl fmod /* 8021230C 0020F26C FF C0 08 18 */ frsp f30, f1 /* 80212310 0020F270 C0 21 00 54 */ lfs f1, 0x54(r1) /* 80212314 0020F274 C8 42 B2 C0 */ lfd f2, lbl_805ACFE0@sda21(r2) /* 80212318 0020F278 48 18 29 95 */ bl fmod /* 8021231C 0020F27C FC 60 08 18 */ frsp f3, f1 /* 80212320 0020F280 C0 41 00 54 */ lfs f2, 0x54(r1) /* 80212324 0020F284 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80212328 0020F288 7F E3 FB 78 */ mr r3, r31 /* 8021232C 0020F28C C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 80212330 0020F290 EC C0 F0 28 */ fsubs f6, f0, f30 /* 80212334 0020F294 EC 82 18 28 */ fsubs f4, f2, f3 /* 80212338 0020F298 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8021233C 0020F29C C0 7F 00 20 */ lfs f3, 0x20(r31) /* 80212340 0020F2A0 EC E1 30 28 */ fsubs f7, f1, f6 /* 80212344 0020F2A4 C0 22 B2 C8 */ lfs f1, lbl_805ACFE8@sda21(r2) /* 80212348 0020F2A8 EC 40 20 28 */ fsubs f2, f0, f4 /* 8021234C 0020F2AC D0 9F 00 18 */ stfs f4, 0x18(r31) /* 80212350 0020F2B0 EC 07 08 24 */ fdivs f0, f7, f1 /* 80212354 0020F2B4 C0 A1 00 5C */ lfs f5, 0x5c(r1) /* 80212358 0020F2B8 C0 82 B2 78 */ lfs f4, lbl_805ACF98@sda21(r2) /* 8021235C 0020F2BC D0 DF 00 1C */ stfs f6, 0x1c(r31) /* 80212360 0020F2C0 D0 41 00 48 */ stfs f2, 0x48(r1) /* 80212364 0020F2C4 D0 E1 00 4C */ stfs f7, 0x4c(r1) /* 80212368 0020F2C8 EC 85 20 28 */ fsubs f4, f5, f4 /* 8021236C 0020F2CC EC 22 08 24 */ fdivs f1, f2, f1 /* 80212370 0020F2D0 D0 9F 00 20 */ stfs f4, 0x20(r31) /* 80212374 0020F2D4 FC 20 08 1E */ fctiwz f1, f1 /* 80212378 0020F2D8 FC 00 00 1E */ fctiwz f0, f0 /* 8021237C 0020F2DC EC 43 20 28 */ fsubs f2, f3, f4 /* 80212380 0020F2E0 D8 21 07 90 */ stfd f1, 0x790(r1) /* 80212384 0020F2E4 D8 01 07 98 */ stfd f0, 0x798(r1) /* 80212388 0020F2E8 80 81 07 94 */ lwz r4, 0x794(r1) /* 8021238C 0020F2EC D0 41 00 50 */ stfs f2, 0x50(r1) /* 80212390 0020F2F0 80 A1 07 9C */ lwz r5, 0x79c(r1) /* 80212394 0020F2F4 48 00 05 F1 */ bl MoveWrapCells__13CEnvFxManagerFii /* 80212398 0020F2F8 C0 61 00 68 */ lfs f3, 0x68(r1) /* 8021239C 0020F2FC 2C 1E 00 03 */ cmpwi r30, 3 /* 802123A0 0020F300 C0 01 00 50 */ lfs f0, 0x50(r1) /* 802123A4 0020F304 C0 21 00 64 */ lfs f1, 0x64(r1) /* 802123A8 0020F308 C0 42 B2 78 */ lfs f2, lbl_805ACF98@sda21(r2) /* 802123AC 0020F30C EC 63 00 32 */ fmuls f3, f3, f0 /* 802123B0 0020F310 C0 01 00 60 */ lfs f0, 0x60(r1) /* 802123B4 0020F314 EC 21 00 B2 */ fmuls f1, f1, f2 /* 802123B8 0020F318 C0 82 B2 94 */ lfs f4, lbl_805ACFB4@sda21(r2) /* 802123BC 0020F31C EC 00 00 B2 */ fmuls f0, f0, f2 /* 802123C0 0020F320 EC 44 00 F2 */ fmuls f2, f4, f3 /* 802123C4 0020F324 EC 24 00 72 */ fmuls f1, f4, f1 /* 802123C8 0020F328 EC 04 00 32 */ fmuls f0, f4, f0 /* 802123CC 0020F32C FC 40 10 1E */ fctiwz f2, f2 /* 802123D0 0020F330 FC 20 08 1E */ fctiwz f1, f1 /* 802123D4 0020F334 FC 00 00 1E */ fctiwz f0, f0 /* 802123D8 0020F338 D8 41 07 A0 */ stfd f2, 0x7a0(r1) /* 802123DC 0020F33C 80 81 07 A4 */ lwz r4, 0x7a4(r1) /* 802123E0 0020F340 D8 21 07 A8 */ stfd f1, 0x7a8(r1) /* 802123E4 0020F344 7C 83 07 34 */ extsh r3, r4 /* 802123E8 0020F348 D8 01 07 B0 */ stfd f0, 0x7b0(r1) /* 802123EC 0020F34C 80 A1 07 AC */ lwz r5, 0x7ac(r1) /* 802123F0 0020F350 80 01 07 B4 */ lwz r0, 0x7b4(r1) /* 802123F4 0020F354 B0 A1 00 26 */ sth r5, 0x26(r1) /* 802123F8 0020F358 B0 01 00 24 */ sth r0, 0x24(r1) /* 802123FC 0020F35C B0 81 00 28 */ sth r4, 0x28(r1) /* 80212400 0020F360 40 82 00 28 */ bne lbl_80212428 /* 80212404 0020F364 C0 02 B2 70 */ lfs f0, lbl_805ACF90@sda21(r2) /* 80212408 0020F368 EC 00 07 F2 */ fmuls f0, f0, f31 /* 8021240C 0020F36C EC 04 00 32 */ fmuls f0, f4, f0 /* 80212410 0020F370 FC 00 00 1E */ fctiwz f0, f0 /* 80212414 0020F374 D8 01 07 B0 */ stfd f0, 0x7b0(r1) /* 80212418 0020F378 80 01 07 B4 */ lwz r0, 0x7b4(r1) /* 8021241C 0020F37C 7C 00 07 34 */ extsh r0, r0 /* 80212420 0020F380 7C 03 02 14 */ add r0, r3, r0 /* 80212424 0020F384 B0 01 00 28 */ sth r0, 0x28(r1) lbl_80212428: /* 80212428 0020F388 38 00 00 00 */ li r0, 0 /* 8021242C 0020F38C FC 20 F8 90 */ fmr f1, f31 /* 80212430 0020F390 90 01 01 8C */ stw r0, 0x18c(r1) /* 80212434 0020F394 7F E3 FB 78 */ mr r3, r31 /* 80212438 0020F398 7F C6 F3 78 */ mr r6, r30 /* 8021243C 0020F39C 38 81 00 24 */ addi r4, r1, 0x24 /* 80212440 0020F3A0 38 A1 01 8C */ addi r5, r1, 0x18c /* 80212444 0020F3A4 38 E1 00 60 */ addi r7, r1, 0x60 /* 80212448 0020F3A8 4B FF F6 B1 */ bl "CalculateSnowForces__13CEnvFxManagerFRC15CVectorFixed8_8R34reserved_vector<15CVectorFixed8_8>10EEnvFxTypeRC9CVector3ff" /* 8021244C 0020F3AC 7F E4 FB 78 */ mr r4, r31 /* 80212450 0020F3B0 38 61 00 9C */ addi r3, r1, 0x9c /* 80212454 0020F3B4 4B FF E7 A1 */ bl GetParticleBoundsToWorldTransform__13CEnvFxManagerCFv /* 80212458 0020F3B8 38 61 01 2C */ addi r3, r1, 0x12c /* 8021245C 0020F3BC 38 81 00 9C */ addi r4, r1, 0x9c /* 80212460 0020F3C0 48 10 07 15 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80212464 0020F3C4 38 61 00 6C */ addi r3, r1, 0x6c /* 80212468 0020F3C8 38 81 01 2C */ addi r4, r1, 0x12c /* 8021246C 0020F3CC 48 10 02 75 */ bl GetInverse__12CTransform4fCFv /* 80212470 0020F3D0 38 61 00 FC */ addi r3, r1, 0xfc /* 80212474 0020F3D4 38 81 00 6C */ addi r4, r1, 0x6c /* 80212478 0020F3D8 48 10 06 FD */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021247C 0020F3DC 7F E3 FB 78 */ mr r3, r31 /* 80212480 0020F3E0 7F A4 EB 78 */ mr r4, r29 /* 80212484 0020F3E4 7F C5 F3 78 */ mr r5, r30 /* 80212488 0020F3E8 38 C1 01 5C */ addi r6, r1, 0x15c /* 8021248C 0020F3EC 38 E1 01 2C */ addi r7, r1, 0x12c /* 80212490 0020F3F0 39 01 00 FC */ addi r8, r1, 0xfc /* 80212494 0020F3F4 4B FF EF 35 */ bl UpdateBlockedGrids__13CEnvFxManagerFR13CStateManager10EEnvFxTypeRC12CTransform4fRC12CTransform4fRC12CTransform4f /* 80212498 0020F3F8 7F E3 FB 78 */ mr r3, r31 /* 8021249C 0020F3FC 7F C4 F3 78 */ mr r4, r30 /* 802124A0 0020F400 4B FF F8 B5 */ bl CreateNewParticles__13CEnvFxManagerF10EEnvFxType /* 802124A4 0020F404 2C 1E 00 02 */ cmpwi r30, 2 /* 802124A8 0020F408 41 82 00 30 */ beq lbl_802124D8 /* 802124AC 0020F40C 40 80 00 10 */ bge lbl_802124BC /* 802124B0 0020F410 2C 1E 00 01 */ cmpwi r30, 1 /* 802124B4 0020F414 40 80 00 14 */ bge lbl_802124C8 /* 802124B8 0020F418 48 00 00 44 */ b lbl_802124FC lbl_802124BC: /* 802124BC 0020F41C 2C 1E 00 04 */ cmpwi r30, 4 /* 802124C0 0020F420 40 80 00 3C */ bge lbl_802124FC /* 802124C4 0020F424 48 00 00 2C */ b lbl_802124F0 lbl_802124C8: /* 802124C8 0020F428 7F E3 FB 78 */ mr r3, r31 /* 802124CC 0020F42C 38 81 01 8C */ addi r4, r1, 0x18c /* 802124D0 0020F430 4B FF ED 71 */ bl "UpdateSnowParticles__13CEnvFxManagerFR34reserved_vector<15CVectorFixed8_8>" /* 802124D4 0020F434 48 00 00 28 */ b lbl_802124FC lbl_802124D8: /* 802124D8 0020F438 FC 20 F8 90 */ fmr f1, f31 /* 802124DC 0020F43C 7F E3 FB 78 */ mr r3, r31 /* 802124E0 0020F440 38 81 00 24 */ addi r4, r1, 0x24 /* 802124E4 0020F444 38 A1 00 60 */ addi r5, r1, 0x60 /* 802124E8 0020F448 4B FF EB A9 */ bl UpdateRainParticles__13CEnvFxManagerFRC15CVectorFixed8_8RC9CVector3ff /* 802124EC 0020F44C 48 00 00 10 */ b lbl_802124FC lbl_802124F0: /* 802124F0 0020F450 7F E3 FB 78 */ mr r3, r31 /* 802124F4 0020F454 38 81 00 24 */ addi r4, r1, 0x24 /* 802124F8 0020F458 4B FF EA 39 */ bl UpdateUnderwaterParticles__13CEnvFxManagerFRC15CVectorFixed8_8 lbl_802124FC: /* 802124FC 0020F45C 2C 1E 00 01 */ cmpwi r30, 1 /* 80212500 0020F460 40 82 00 24 */ bne lbl_80212524 /* 80212504 0020F464 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80212508 0020F468 C0 1F 00 28 */ lfs f0, 0x28(r31) /* 8021250C 0020F46C C8 42 B2 D0 */ lfd f2, lbl_805ACFF0@sda21(r2) /* 80212510 0020F470 EC 21 00 2A */ fadds f1, f1, f0 /* 80212514 0020F474 48 18 27 99 */ bl fmod /* 80212518 0020F478 FC 00 08 18 */ frsp f0, f1 /* 8021251C 0020F47C D0 1F 00 28 */ stfs f0, 0x28(r31) /* 80212520 0020F480 48 00 00 20 */ b lbl_80212540 lbl_80212524: /* 80212524 0020F484 C0 22 B2 D8 */ lfs f1, lbl_805ACFF8@sda21(r2) /* 80212528 0020F488 C0 1F 00 28 */ lfs f0, 0x28(r31) /* 8021252C 0020F48C C8 42 B2 D0 */ lfd f2, lbl_805ACFF0@sda21(r2) /* 80212530 0020F490 EC 21 00 2A */ fadds f1, f1, f0 /* 80212534 0020F494 48 18 27 79 */ bl fmod /* 80212538 0020F498 FC 00 08 18 */ frsp f0, f1 /* 8021253C 0020F49C D0 1F 00 28 */ stfs f0, 0x28(r31) lbl_80212540: /* 80212540 0020F4A0 80 A1 01 8C */ lwz r5, 0x18c(r1) /* 80212544 0020F4A4 38 60 00 00 */ li r3, 0 /* 80212548 0020F4A8 2C 05 00 00 */ cmpwi r5, 0 /* 8021254C 0020F4AC 40 81 00 40 */ ble lbl_8021258C /* 80212550 0020F4B0 2C 05 00 08 */ cmpwi r5, 8 /* 80212554 0020F4B4 38 85 FF F8 */ addi r4, r5, -8 /* 80212558 0020F4B8 40 81 00 20 */ ble lbl_80212578 /* 8021255C 0020F4BC 38 04 00 07 */ addi r0, r4, 7 /* 80212560 0020F4C0 54 00 E8 FE */ srwi r0, r0, 3 /* 80212564 0020F4C4 7C 09 03 A6 */ mtctr r0 /* 80212568 0020F4C8 2C 04 00 00 */ cmpwi r4, 0 /* 8021256C 0020F4CC 40 81 00 0C */ ble lbl_80212578 lbl_80212570: /* 80212570 0020F4D0 38 63 00 08 */ addi r3, r3, 8 /* 80212574 0020F4D4 42 00 FF FC */ bdnz lbl_80212570 lbl_80212578: /* 80212578 0020F4D8 7C 03 28 50 */ subf r0, r3, r5 /* 8021257C 0020F4DC 7C 09 03 A6 */ mtctr r0 /* 80212580 0020F4E0 7C 03 28 00 */ cmpw r3, r5 /* 80212584 0020F4E4 40 80 00 08 */ bge lbl_8021258C lbl_80212588: /* 80212588 0020F4E8 42 00 00 00 */ bdnz lbl_80212588 lbl_8021258C: /* 8021258C 0020F4EC 38 00 00 00 */ li r0, 0 /* 80212590 0020F4F0 90 01 01 8C */ stw r0, 0x18c(r1) lbl_80212594: /* 80212594 0020F4F4 E3 E1 07 E8 */ psq_l f31, 2024(r1), 0, qr0 /* 80212598 0020F4F8 CB E1 07 E0 */ lfd f31, 0x7e0(r1) /* 8021259C 0020F4FC E3 C1 07 D8 */ psq_l f30, 2008(r1), 0, qr0 /* 802125A0 0020F500 CB C1 07 D0 */ lfd f30, 0x7d0(r1) /* 802125A4 0020F504 83 E1 07 CC */ lwz r31, 0x7cc(r1) /* 802125A8 0020F508 83 C1 07 C8 */ lwz r30, 0x7c8(r1) /* 802125AC 0020F50C 80 01 07 F4 */ lwz r0, 0x7f4(r1) /* 802125B0 0020F510 83 A1 07 C4 */ lwz r29, 0x7c4(r1) /* 802125B4 0020F514 7C 08 03 A6 */ mtlr r0 /* 802125B8 0020F518 38 21 07 F0 */ addi r1, r1, 0x7f0 /* 802125BC 0020F51C 4E 80 00 20 */ blr .global sub_802125c0 sub_802125c0: /* 802125C0 0020F520 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802125C4 0020F524 7C 08 02 A6 */ mflr r0 /* 802125C8 0020F528 90 01 00 24 */ stw r0, 0x24(r1) /* 802125CC 0020F52C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802125D0 0020F530 7C 9F 23 78 */ mr r31, r4 /* 802125D4 0020F534 93 C1 00 18 */ stw r30, 0x18(r1) /* 802125D8 0020F538 7C 7E 1B 78 */ mr r30, r3 /* 802125DC 0020F53C 7C 1E F8 40 */ cmplw r30, r31 /* 802125E0 0020F540 40 82 00 08 */ bne lbl_802125E8 /* 802125E4 0020F544 48 00 00 C8 */ b lbl_802126AC lbl_802125E8: /* 802125E8 0020F548 80 1E 00 04 */ lwz r0, 4(r30) /* 802125EC 0020F54C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802125F0 0020F550 1C 00 00 06 */ mulli r0, r0, 6 /* 802125F4 0020F554 90 61 00 0C */ stw r3, 0xc(r1) /* 802125F8 0020F558 7C 03 02 14 */ add r0, r3, r0 /* 802125FC 0020F55C 90 61 00 08 */ stw r3, 8(r1) /* 80212600 0020F560 90 01 00 14 */ stw r0, 0x14(r1) /* 80212604 0020F564 90 01 00 10 */ stw r0, 0x10(r1) /* 80212608 0020F568 48 00 00 08 */ b lbl_80212610 lbl_8021260C: /* 8021260C 0020F56C 38 63 00 06 */ addi r3, r3, 6 lbl_80212610: /* 80212610 0020F570 7C 03 00 40 */ cmplw r3, r0 /* 80212614 0020F574 40 82 FF F8 */ bne lbl_8021260C /* 80212618 0020F578 38 00 00 00 */ li r0, 0 /* 8021261C 0020F57C 90 1E 00 04 */ stw r0, 4(r30) /* 80212620 0020F580 80 9F 00 04 */ lwz r4, 4(r31) /* 80212624 0020F584 2C 04 00 00 */ cmpwi r4, 0 /* 80212628 0020F588 40 82 00 28 */ bne lbl_80212650 /* 8021262C 0020F58C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80212630 0020F590 28 03 00 00 */ cmplwi r3, 0 /* 80212634 0020F594 41 82 00 08 */ beq lbl_8021263C /* 80212638 0020F598 48 10 32 F9 */ bl Free__7CMemoryFPCv lbl_8021263C: /* 8021263C 0020F59C 38 00 00 00 */ li r0, 0 /* 80212640 0020F5A0 90 1E 00 04 */ stw r0, 4(r30) /* 80212644 0020F5A4 90 1E 00 08 */ stw r0, 8(r30) /* 80212648 0020F5A8 90 1E 00 0C */ stw r0, 0xc(r30) /* 8021264C 0020F5AC 48 00 00 5C */ b lbl_802126A8 lbl_80212650: /* 80212650 0020F5B0 7F C3 F3 78 */ mr r3, r30 /* 80212654 0020F5B4 48 00 13 75 */ bl sub_802139c8 /* 80212658 0020F5B8 80 1F 00 04 */ lwz r0, 4(r31) /* 8021265C 0020F5BC 80 BF 00 0C */ lwz r5, 0xc(r31) /* 80212660 0020F5C0 1C 00 00 06 */ mulli r0, r0, 6 /* 80212664 0020F5C4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80212668 0020F5C8 7C 85 02 14 */ add r4, r5, r0 /* 8021266C 0020F5CC 48 00 00 2C */ b lbl_80212698 lbl_80212670: /* 80212670 0020F5D0 28 03 00 00 */ cmplwi r3, 0 /* 80212674 0020F5D4 41 82 00 1C */ beq lbl_80212690 /* 80212678 0020F5D8 A8 05 00 00 */ lha r0, 0(r5) /* 8021267C 0020F5DC B0 03 00 00 */ sth r0, 0(r3) /* 80212680 0020F5E0 A8 05 00 02 */ lha r0, 2(r5) /* 80212684 0020F5E4 B0 03 00 02 */ sth r0, 2(r3) /* 80212688 0020F5E8 A8 05 00 04 */ lha r0, 4(r5) /* 8021268C 0020F5EC B0 03 00 04 */ sth r0, 4(r3) lbl_80212690: /* 80212690 0020F5F0 38 63 00 06 */ addi r3, r3, 6 /* 80212694 0020F5F4 38 A5 00 06 */ addi r5, r5, 6 lbl_80212698: /* 80212698 0020F5F8 7C 05 20 40 */ cmplw r5, r4 /* 8021269C 0020F5FC 40 82 FF D4 */ bne lbl_80212670 /* 802126A0 0020F600 80 1F 00 04 */ lwz r0, 4(r31) /* 802126A4 0020F604 90 1E 00 04 */ stw r0, 4(r30) lbl_802126A8: /* 802126A8 0020F608 7F C3 F3 78 */ mr r3, r30 lbl_802126AC: /* 802126AC 0020F60C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802126B0 0020F610 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802126B4 0020F614 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802126B8 0020F618 7C 08 03 A6 */ mtlr r0 /* 802126BC 0020F61C 38 21 00 20 */ addi r1, r1, 0x20 /* 802126C0 0020F620 4E 80 00 20 */ blr .global sub_802126c4 sub_802126c4: /* 802126C4 0020F624 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 802126C8 0020F628 38 00 00 00 */ li r0, 0 /* 802126CC 0020F62C B0 83 0B 68 */ sth r4, 0xb68(r3) /* 802126D0 0020F630 98 03 0B 6A */ stb r0, 0xb6a(r3) /* 802126D4 0020F634 90 03 0B 6C */ stw r0, 0xb6c(r3) /* 802126D8 0020F638 90 03 0B 70 */ stw r0, 0xb70(r3) /* 802126DC 0020F63C 4E 80 00 20 */ blr .global Initialize__13CEnvFxManagerFv Initialize__13CEnvFxManagerFv: /* 802126E0 0020F640 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802126E4 0020F644 7C 08 02 A6 */ mflr r0 /* 802126E8 0020F648 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 802126EC 0020F64C 90 01 00 24 */ stw r0, 0x24(r1) /* 802126F0 0020F650 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 802126F4 0020F654 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802126F8 0020F658 93 C1 00 18 */ stw r30, 0x18(r1) /* 802126FC 0020F65C 93 A1 00 14 */ stw r29, 0x14(r1) /* 80212700 0020F660 93 81 00 10 */ stw r28, 0x10(r1) /* 80212704 0020F664 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 80212708 0020F668 81 83 00 00 */ lwz r12, 0(r3) /* 8021270C 0020F66C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80212710 0020F670 7D 89 03 A6 */ mtctr r12 /* 80212714 0020F674 4E 80 04 21 */ bctrl /* 80212718 0020F678 80 CD A0 60 */ lwz r6, gpResourceFactory@sda21(r13) /* 8021271C 0020F67C 7C 64 1B 78 */ mr r4, r3 /* 80212720 0020F680 38 A0 00 00 */ li r5, 0 /* 80212724 0020F684 38 66 00 04 */ addi r3, r6, 4 /* 80212728 0020F688 48 12 92 41 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc /* 8021272C 0020F68C 7C 03 00 D0 */ neg r0, r3 /* 80212730 0020F690 3C 80 80 47 */ lis r4, lbl_8046CB40@ha /* 80212734 0020F694 7C 00 1B 78 */ or r0, r0, r3 /* 80212738 0020F698 90 61 00 0C */ stw r3, 0xc(r1) /* 8021273C 0020F69C 54 00 0F FE */ srwi r0, r0, 0x1f /* 80212740 0020F6A0 3B C4 CB 40 */ addi r30, r4, lbl_8046CB40@l /* 80212744 0020F6A4 98 01 00 08 */ stb r0, 8(r1) /* 80212748 0020F6A8 3B A0 00 00 */ li r29, 0 lbl_8021274C: /* 8021274C 0020F6AC 3B 80 00 00 */ li r28, 0 /* 80212750 0020F6B0 7F DF F3 78 */ mr r31, r30 lbl_80212754: /* 80212754 0020F6B4 80 61 00 0C */ lwz r3, 0xc(r1) /* 80212758 0020F6B8 48 12 C4 D1 */ bl ReadFloat__12CInputStreamFv /* 8021275C 0020F6BC 3B 9C 00 01 */ addi r28, r28, 1 /* 80212760 0020F6C0 D0 3F 00 00 */ stfs f1, 0(r31) /* 80212764 0020F6C4 2C 1C 00 02 */ cmpwi r28, 2 /* 80212768 0020F6C8 3B FF 00 04 */ addi r31, r31, 4 /* 8021276C 0020F6CC 41 80 FF E8 */ blt lbl_80212754 /* 80212770 0020F6D0 3B BD 00 01 */ addi r29, r29, 1 /* 80212774 0020F6D4 3B DE 00 08 */ addi r30, r30, 8 /* 80212778 0020F6D8 2C 1D 01 00 */ cmpwi r29, 0x100 /* 8021277C 0020F6DC 41 80 FF D0 */ blt lbl_8021274C /* 80212780 0020F6E0 88 01 00 08 */ lbz r0, 8(r1) /* 80212784 0020F6E4 28 00 00 00 */ cmplwi r0, 0 /* 80212788 0020F6E8 41 82 00 24 */ beq lbl_802127AC /* 8021278C 0020F6EC 80 61 00 0C */ lwz r3, 0xc(r1) /* 80212790 0020F6F0 28 03 00 00 */ cmplwi r3, 0 /* 80212794 0020F6F4 41 82 00 18 */ beq lbl_802127AC /* 80212798 0020F6F8 81 83 00 00 */ lwz r12, 0(r3) /* 8021279C 0020F6FC 38 80 00 01 */ li r4, 1 /* 802127A0 0020F700 81 8C 00 08 */ lwz r12, 8(r12) /* 802127A4 0020F704 7D 89 03 A6 */ mtctr r12 /* 802127A8 0020F708 4E 80 04 21 */ bctrl lbl_802127AC: /* 802127AC 0020F70C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802127B0 0020F710 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802127B4 0020F714 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802127B8 0020F718 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802127BC 0020F71C 83 81 00 10 */ lwz r28, 0x10(r1) /* 802127C0 0020F720 7C 08 03 A6 */ mtlr r0 /* 802127C4 0020F724 38 21 00 20 */ addi r1, r1, 0x20 /* 802127C8 0020F728 4E 80 00 20 */ blr .global AsyncLoadResources__13CEnvFXManagerFR13CStateManager AsyncLoadResources__13CEnvFXManagerFR13CStateManager: /* 802127CC 0020F72C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802127D0 0020F730 7C 08 02 A6 */ mflr r0 /* 802127D4 0020F734 90 01 00 84 */ stw r0, 0x84(r1) /* 802127D8 0020F738 BF 21 00 64 */ stmw r25, 0x64(r1) /* 802127DC 0020F73C 7C 7B 1B 78 */ mr r27, r3 /* 802127E0 0020F740 7C 9E 23 78 */ mr r30, r4 /* 802127E4 0020F744 38 61 00 14 */ addi r3, r1, 0x14 /* 802127E8 0020F748 4B E3 A8 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 802127EC 0020F74C A0 01 00 14 */ lhz r0, 0x14(r1) /* 802127F0 0020F750 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802127F4 0020F754 38 63 28 18 */ addi r3, r3, lbl_803D2818@l /* 802127F8 0020F758 3B A0 00 00 */ li r29, 0 /* 802127FC 0020F75C B0 1B 0B 68 */ sth r0, 0xb68(r27) /* 80212800 0020F760 38 83 00 10 */ addi r4, r3, 0x10 /* 80212804 0020F764 3B 40 00 00 */ li r26, 0 /* 80212808 0020F768 3B 20 00 00 */ li r25, 0 /* 8021280C 0020F76C 38 60 01 10 */ li r3, 0x110 /* 80212810 0020F770 38 A0 00 00 */ li r5, 0 /* 80212814 0020F774 48 10 30 59 */ bl __nw__FUlPCcPCc /* 80212818 0020F778 7C 7F 1B 79 */ or. r31, r3, r3 /* 8021281C 0020F77C 41 82 00 D0 */ beq lbl_802128EC /* 80212820 0020F780 38 00 00 01 */ li r0, 1 /* 80212824 0020F784 34 61 00 1C */ addic. r3, r1, 0x1c /* 80212828 0020F788 98 01 00 24 */ stb r0, 0x24(r1) /* 8021282C 0020F78C 38 9B 0B 58 */ addi r4, r27, 0xb58 /* 80212830 0020F790 41 82 00 08 */ beq lbl_80212838 /* 80212834 0020F794 48 12 E6 75 */ bl __ct__6CTokenFRC6CToken lbl_80212838: /* 80212838 0020F798 38 00 00 00 */ li r0, 0 /* 8021283C 0020F79C 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 80212840 0020F7A0 98 01 00 30 */ stb r0, 0x30(r1) /* 80212844 0020F7A4 38 83 28 18 */ addi r4, r3, lbl_803D2818@l /* 80212848 0020F7A8 38 61 00 34 */ addi r3, r1, 0x34 /* 8021284C 0020F7AC 3B 20 00 01 */ li r25, 1 /* 80212850 0020F7B0 A0 1B 0B 68 */ lhz r0, 0xb68(r27) /* 80212854 0020F7B4 38 84 00 17 */ addi r4, r4, 0x17 /* 80212858 0020F7B8 3B 40 00 01 */ li r26, 1 /* 8021285C 0020F7BC B0 01 00 10 */ sth r0, 0x10(r1) /* 80212860 0020F7C0 4B DF 24 59 */ bl string_l__4rstlFPCc /* 80212864 0020F7C4 C0 22 B2 64 */ lfs f1, lbl_805ACF84@sda21(r2) /* 80212868 0020F7C8 38 61 00 18 */ addi r3, r1, 0x18 /* 8021286C 0020F7CC C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 80212870 0020F7D0 3B A0 00 01 */ li r29, 1 /* 80212874 0020F7D4 FC 40 08 90 */ fmr f2, f1 /* 80212878 0020F7D8 D0 21 00 44 */ stfs f1, 0x44(r1) /* 8021287C 0020F7DC FC 60 08 90 */ fmr f3, f1 /* 80212880 0020F7E0 FC 80 08 90 */ fmr f4, f1 /* 80212884 0020F7E4 D0 21 00 48 */ stfs f1, 0x48(r1) /* 80212888 0020F7E8 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 8021288C 0020F7EC D0 01 00 50 */ stfs f0, 0x50(r1) /* 80212890 0020F7F0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80212894 0020F7F4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80212898 0020F7F8 48 15 0B 55 */ bl __ct__6CColorFffff /* 8021289C 0020F7FC 7C 7B 1B 78 */ mr r27, r3 /* 802128A0 0020F800 7F C3 F3 78 */ mr r3, r30 /* 802128A4 0020F804 4B F1 D9 89 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager /* 802128A8 0020F808 7C 7C 1B 78 */ mr r28, r3 /* 802128AC 0020F80C 7F C3 F3 78 */ mr r3, r30 /* 802128B0 0020F810 4B F1 D9 49 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager /* 802128B4 0020F814 38 61 00 44 */ addi r3, r1, 0x44 /* 802128B8 0020F818 38 01 00 50 */ addi r0, r1, 0x50 /* 802128BC 0020F81C 90 61 00 08 */ stw r3, 8(r1) /* 802128C0 0020F820 7F E3 FB 78 */ mr r3, r31 /* 802128C4 0020F824 7F 89 E3 78 */ mr r9, r28 /* 802128C8 0020F828 7F 6A DB 78 */ mr r10, r27 /* 802128CC 0020F82C 90 01 00 0C */ stw r0, 0xc(r1) /* 802128D0 0020F830 38 81 00 1C */ addi r4, r1, 0x1c /* 802128D4 0020F834 38 A1 00 28 */ addi r5, r1, 0x28 /* 802128D8 0020F838 38 C1 00 10 */ addi r6, r1, 0x10 /* 802128DC 0020F83C 39 01 00 34 */ addi r8, r1, 0x34 /* 802128E0 0020F840 38 E0 00 01 */ li r7, 1 /* 802128E4 0020F844 4B F1 D6 15 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" /* 802128E8 0020F848 7C 7F 1B 78 */ mr r31, r3 lbl_802128EC: /* 802128EC 0020F84C 7F 20 07 75 */ extsb. r0, r25 /* 802128F0 0020F850 41 82 00 28 */ beq lbl_80212918 /* 802128F4 0020F854 88 01 00 24 */ lbz r0, 0x24(r1) /* 802128F8 0020F858 28 00 00 00 */ cmplwi r0, 0 /* 802128FC 0020F85C 41 82 00 14 */ beq lbl_80212910 /* 80212900 0020F860 34 61 00 1C */ addic. r3, r1, 0x1c /* 80212904 0020F864 41 82 00 0C */ beq lbl_80212910 /* 80212908 0020F868 38 80 00 00 */ li r4, 0 /* 8021290C 0020F86C 48 12 E5 35 */ bl __dt__6CTokenFv lbl_80212910: /* 80212910 0020F870 38 00 00 00 */ li r0, 0 /* 80212914 0020F874 98 01 00 24 */ stb r0, 0x24(r1) lbl_80212918: /* 80212918 0020F878 7F 40 07 75 */ extsb. r0, r26 /* 8021291C 0020F87C 41 82 00 28 */ beq lbl_80212944 /* 80212920 0020F880 88 01 00 30 */ lbz r0, 0x30(r1) /* 80212924 0020F884 28 00 00 00 */ cmplwi r0, 0 /* 80212928 0020F888 41 82 00 14 */ beq lbl_8021293C /* 8021292C 0020F88C 34 61 00 28 */ addic. r3, r1, 0x28 /* 80212930 0020F890 41 82 00 0C */ beq lbl_8021293C /* 80212934 0020F894 38 80 00 00 */ li r4, 0 /* 80212938 0020F898 48 12 E5 09 */ bl __dt__6CTokenFv lbl_8021293C: /* 8021293C 0020F89C 38 00 00 00 */ li r0, 0 /* 80212940 0020F8A0 98 01 00 30 */ stb r0, 0x30(r1) lbl_80212944: /* 80212944 0020F8A4 7F A0 07 75 */ extsb. r0, r29 /* 80212948 0020F8A8 41 82 00 0C */ beq lbl_80212954 /* 8021294C 0020F8AC 38 61 00 34 */ addi r3, r1, 0x34 /* 80212950 0020F8B0 48 12 B1 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80212954: /* 80212954 0020F8B4 88 1F 01 04 */ lbz r0, 0x104(r31) /* 80212958 0020F8B8 38 60 00 01 */ li r3, 1 /* 8021295C 0020F8BC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80212960 0020F8C0 7F C3 F3 78 */ mr r3, r30 /* 80212964 0020F8C4 98 1F 01 04 */ stb r0, 0x104(r31) /* 80212968 0020F8C8 7F E4 FB 78 */ mr r4, r31 /* 8021296C 0020F8CC 4B E3 A3 89 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 80212970 0020F8D0 BB 21 00 64 */ lmw r25, 0x64(r1) /* 80212974 0020F8D4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80212978 0020F8D8 7C 08 03 A6 */ mtlr r0 /* 8021297C 0020F8DC 38 21 00 80 */ addi r1, r1, 0x80 /* 80212980 0020F8E0 4E 80 00 20 */ blr .global MoveWrapCells__13CEnvFxManagerFii MoveWrapCells__13CEnvFxManagerFii: /* 80212984 0020F8E4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80212988 0020F8E8 7C 08 02 A6 */ mflr r0 /* 8021298C 0020F8EC 90 01 00 64 */ stw r0, 0x64(r1) /* 80212990 0020F8F0 BE 61 00 2C */ stmw r19, 0x2c(r1) /* 80212994 0020F8F4 7C 94 23 79 */ or. r20, r4, r4 /* 80212998 0020F8F8 7C B5 2B 78 */ mr r21, r5 /* 8021299C 0020F8FC 40 82 00 0C */ bne lbl_802129A8 /* 802129A0 0020F900 2C 15 00 00 */ cmpwi r21, 0 /* 802129A4 0020F904 41 82 01 60 */ beq lbl_80212B04 lbl_802129A8: /* 802129A8 0020F908 6E 80 80 00 */ xoris r0, r20, 0x8000 /* 802129AC 0020F90C 3C 80 43 30 */ lis r4, 0x4330 /* 802129B0 0020F910 90 01 00 24 */ stw r0, 0x24(r1) /* 802129B4 0020F914 38 A0 00 01 */ li r5, 1 /* 802129B8 0020F918 C8 42 B2 48 */ lfd f2, lbl_805ACF68@sda21(r2) /* 802129BC 0020F91C 90 81 00 20 */ stw r4, 0x20(r1) /* 802129C0 0020F920 C8 22 B2 E0 */ lfd f1, lbl_805AD000@sda21(r2) /* 802129C4 0020F924 C8 01 00 20 */ lfd f0, 0x20(r1) /* 802129C8 0020F928 FC 00 10 28 */ fsub f0, f0, f2 /* 802129CC 0020F92C FC 00 02 10 */ fabs f0, f0 /* 802129D0 0020F930 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802129D4 0020F934 4C 41 13 82 */ cror 2, 1, 2 /* 802129D8 0020F938 41 82 00 2C */ beq lbl_80212A04 /* 802129DC 0020F93C 6E A0 80 00 */ xoris r0, r21, 0x8000 /* 802129E0 0020F940 90 81 00 20 */ stw r4, 0x20(r1) /* 802129E4 0020F944 90 01 00 24 */ stw r0, 0x24(r1) /* 802129E8 0020F948 C8 01 00 20 */ lfd f0, 0x20(r1) /* 802129EC 0020F94C FC 00 10 28 */ fsub f0, f0, f2 /* 802129F0 0020F950 FC 00 02 10 */ fabs f0, f0 /* 802129F4 0020F954 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802129F8 0020F958 4C 41 13 82 */ cror 2, 1, 2 /* 802129FC 0020F95C 41 82 00 08 */ beq lbl_80212A04 /* 80212A00 0020F960 38 A0 00 00 */ li r5, 0 lbl_80212A04: /* 80212A04 0020F964 3B 43 00 54 */ addi r26, r3, 0x54 /* 80212A08 0020F968 56 B9 58 28 */ slwi r25, r21, 0xb /* 80212A0C 0020F96C 56 98 58 28 */ slwi r24, r20, 0xb /* 80212A10 0020F970 54 BF 06 3E */ clrlwi r31, r5, 0x18 /* 80212A14 0020F974 3A E0 00 00 */ li r23, 0 /* 80212A18 0020F978 3B 60 00 00 */ li r27, 0 lbl_80212A1C: /* 80212A1C 0020F97C 1E 7B 00 2C */ mulli r19, r27, 0x2c /* 80212A20 0020F980 7F 7D DB 78 */ mr r29, r27 /* 80212A24 0020F984 7F 95 B8 50 */ subf r28, r21, r23 /* 80212A28 0020F988 3A C0 00 00 */ li r22, 0 lbl_80212A2C: /* 80212A2C 0020F98C 7F DA 9A 14 */ add r30, r26, r19 /* 80212A30 0020F990 28 1F 00 00 */ cmplwi r31, 0 /* 80212A34 0020F994 80 9E 00 04 */ lwz r4, 4(r30) /* 80212A38 0020F998 7C 74 B0 50 */ subf r3, r20, r22 /* 80212A3C 0020F99C 80 BE 00 08 */ lwz r5, 8(r30) /* 80212A40 0020F9A0 40 82 00 68 */ bne lbl_80212AA8 /* 80212A44 0020F9A4 2C 16 00 00 */ cmpwi r22, 0 /* 80212A48 0020F9A8 41 80 00 60 */ blt lbl_80212AA8 /* 80212A4C 0020F9AC 2C 16 00 08 */ cmpwi r22, 8 /* 80212A50 0020F9B0 40 80 00 58 */ bge lbl_80212AA8 /* 80212A54 0020F9B4 2C 17 00 00 */ cmpwi r23, 0 /* 80212A58 0020F9B8 41 80 00 50 */ blt lbl_80212AA8 /* 80212A5C 0020F9BC 2C 17 00 08 */ cmpwi r23, 8 /* 80212A60 0020F9C0 40 80 00 48 */ bge lbl_80212AA8 /* 80212A64 0020F9C4 57 80 18 38 */ slwi r0, r28, 3 /* 80212A68 0020F9C8 7C 03 02 14 */ add r0, r3, r0 /* 80212A6C 0020F9CC 1C 00 00 2C */ mulli r0, r0, 0x2c /* 80212A70 0020F9D0 7C 7A 02 14 */ add r3, r26, r0 /* 80212A74 0020F9D4 88 03 00 14 */ lbz r0, 0x14(r3) /* 80212A78 0020F9D8 C0 03 00 18 */ lfs f0, 0x18(r3) /* 80212A7C 0020F9DC 98 01 00 10 */ stb r0, 0x10(r1) /* 80212A80 0020F9E0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80212A84 0020F9E4 80 61 00 10 */ lwz r3, 0x10(r1) /* 80212A88 0020F9E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80212A8C 0020F9EC 90 61 00 18 */ stw r3, 0x18(r1) /* 80212A90 0020F9F0 90 01 00 1C */ stw r0, 0x1c(r1) /* 80212A94 0020F9F4 88 01 00 18 */ lbz r0, 0x18(r1) /* 80212A98 0020F9F8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80212A9C 0020F9FC 98 1E 00 14 */ stb r0, 0x14(r30) /* 80212AA0 0020FA00 D0 1E 00 18 */ stfs f0, 0x18(r30) /* 80212AA4 0020FA04 48 00 00 14 */ b lbl_80212AB8 lbl_80212AA8: /* 80212AA8 0020FA08 88 1E 00 00 */ lbz r0, 0(r30) /* 80212AAC 0020FA0C 38 60 00 01 */ li r3, 1 /* 80212AB0 0020FA10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80212AB4 0020FA14 98 1E 00 00 */ stb r0, 0(r30) lbl_80212AB8: /* 80212AB8 0020FA18 7C 98 22 14 */ add r4, r24, r4 /* 80212ABC 0020FA1C 7C 19 2A 14 */ add r0, r25, r5 /* 80212AC0 0020FA20 38 61 00 08 */ addi r3, r1, 8 /* 80212AC4 0020FA24 54 84 04 BE */ clrlwi r4, r4, 0x12 /* 80212AC8 0020FA28 54 05 04 BE */ clrlwi r5, r0, 0x12 /* 80212ACC 0020FA2C 48 10 18 81 */ bl __ct__9CVector2iFii /* 80212AD0 0020FA30 80 61 00 0C */ lwz r3, 0xc(r1) /* 80212AD4 0020FA34 3A D6 00 01 */ addi r22, r22, 1 /* 80212AD8 0020FA38 80 01 00 08 */ lwz r0, 8(r1) /* 80212ADC 0020FA3C 2C 16 00 08 */ cmpwi r22, 8 /* 80212AE0 0020FA40 3B BD 00 01 */ addi r29, r29, 1 /* 80212AE4 0020FA44 3A 73 00 2C */ addi r19, r19, 0x2c /* 80212AE8 0020FA48 90 1E 00 04 */ stw r0, 4(r30) /* 80212AEC 0020FA4C 90 7E 00 08 */ stw r3, 8(r30) /* 80212AF0 0020FA50 41 80 FF 3C */ blt lbl_80212A2C /* 80212AF4 0020FA54 3A F7 00 01 */ addi r23, r23, 1 /* 80212AF8 0020FA58 3B 7B 00 08 */ addi r27, r27, 8 /* 80212AFC 0020FA5C 2C 17 00 08 */ cmpwi r23, 8 /* 80212B00 0020FA60 41 80 FF 1C */ blt lbl_80212A1C lbl_80212B04: /* 80212B04 0020FA64 BA 61 00 2C */ lmw r19, 0x2c(r1) /* 80212B08 0020FA68 80 01 00 64 */ lwz r0, 0x64(r1) /* 80212B0C 0020FA6C 7C 08 03 A6 */ mtlr r0 /* 80212B10 0020FA70 38 21 00 60 */ addi r1, r1, 0x60 /* 80212B14 0020FA74 4E 80 00 20 */ blr .global GetParticleBoundsToWorldScale__13CEnvFxManagerCFv GetParticleBoundsToWorldScale__13CEnvFxManagerCFv: /* 80212B18 0020FA78 C0 24 00 0C */ lfs f1, 0xc(r4) /* 80212B1C 0020FA7C C0 04 00 00 */ lfs f0, 0(r4) /* 80212B20 0020FA80 C0 64 00 10 */ lfs f3, 0x10(r4) /* 80212B24 0020FA84 C0 44 00 04 */ lfs f2, 4(r4) /* 80212B28 0020FA88 EC 01 00 28 */ fsubs f0, f1, f0 /* 80212B2C 0020FA8C C0 82 B2 E8 */ lfs f4, lbl_805AD008@sda21(r2) /* 80212B30 0020FA90 EC 63 10 28 */ fsubs f3, f3, f2 /* 80212B34 0020FA94 C0 44 00 14 */ lfs f2, 0x14(r4) /* 80212B38 0020FA98 C0 24 00 08 */ lfs f1, 8(r4) /* 80212B3C 0020FA9C EC 04 00 32 */ fmuls f0, f4, f0 /* 80212B40 0020FAA0 EC 22 08 28 */ fsubs f1, f2, f1 /* 80212B44 0020FAA4 EC 44 00 F2 */ fmuls f2, f4, f3 /* 80212B48 0020FAA8 D0 03 00 00 */ stfs f0, 0(r3) /* 80212B4C 0020FAAC EC 04 00 72 */ fmuls f0, f4, f1 /* 80212B50 0020FAB0 D0 43 00 04 */ stfs f2, 4(r3) /* 80212B54 0020FAB4 D0 03 00 08 */ stfs f0, 8(r3) /* 80212B58 0020FAB8 4E 80 00 20 */ blr .global Render__17CEnvFxManagerGridFRC12CTransform4fRC12CTransform4fRC12CTransform4ff10EEnvFxType Render__17CEnvFxManagerGridFRC12CTransform4fRC12CTransform4fRC12CTransform4ff10EEnvFxType: /* 80212B5C 0020FABC 94 21 FF 00 */ stwu r1, -0x100(r1) /* 80212B60 0020FAC0 7C 08 02 A6 */ mflr r0 /* 80212B64 0020FAC4 90 01 01 04 */ stw r0, 0x104(r1) /* 80212B68 0020FAC8 BF 61 00 EC */ stmw r27, 0xec(r1) /* 80212B6C 0020FACC 7C 7D 1B 78 */ mr r29, r3 /* 80212B70 0020FAD0 7C 9B 23 78 */ mr r27, r4 /* 80212B74 0020FAD4 7C BC 2B 78 */ mr r28, r5 /* 80212B78 0020FAD8 7C DE 33 78 */ mr r30, r6 /* 80212B7C 0020FADC 7C FF 3B 78 */ mr r31, r7 /* 80212B80 0020FAE0 80 03 00 20 */ lwz r0, 0x20(r3) /* 80212B84 0020FAE4 2C 00 00 00 */ cmpwi r0, 0 /* 80212B88 0020FAE8 41 82 01 A8 */ beq lbl_80212D30 /* 80212B8C 0020FAEC 88 1D 00 14 */ lbz r0, 0x14(r29) /* 80212B90 0020FAF0 28 00 00 00 */ cmplwi r0, 0 /* 80212B94 0020FAF4 41 82 01 9C */ beq lbl_80212D30 /* 80212B98 0020FAF8 80 BD 00 04 */ lwz r5, 4(r29) /* 80212B9C 0020FAFC 3C 80 43 30 */ lis r4, 0x4330 /* 80212BA0 0020FB00 80 1D 00 08 */ lwz r0, 8(r29) /* 80212BA4 0020FB04 38 61 00 40 */ addi r3, r1, 0x40 /* 80212BA8 0020FB08 7C A5 07 34 */ extsh r5, r5 /* 80212BAC 0020FB0C 90 81 00 D0 */ stw r4, 0xd0(r1) /* 80212BB0 0020FB10 7C 00 07 34 */ extsh r0, r0 /* 80212BB4 0020FB14 C8 42 B2 48 */ lfd f2, lbl_805ACF68@sda21(r2) /* 80212BB8 0020FB18 6C A5 80 00 */ xoris r5, r5, 0x8000 /* 80212BBC 0020FB1C 90 81 00 D8 */ stw r4, 0xd8(r1) /* 80212BC0 0020FB20 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80212BC4 0020FB24 C0 82 B2 A0 */ lfs f4, lbl_805ACFC0@sda21(r2) /* 80212BC8 0020FB28 90 A1 00 D4 */ stw r5, 0xd4(r1) /* 80212BCC 0020FB2C C0 62 B2 78 */ lfs f3, lbl_805ACF98@sda21(r2) /* 80212BD0 0020FB30 90 01 00 DC */ stw r0, 0xdc(r1) /* 80212BD4 0020FB34 C8 21 00 D0 */ lfd f1, 0xd0(r1) /* 80212BD8 0020FB38 C8 01 00 D8 */ lfd f0, 0xd8(r1) /* 80212BDC 0020FB3C EC 21 10 28 */ fsubs f1, f1, f2 /* 80212BE0 0020FB40 EC 00 10 28 */ fsubs f0, f0, f2 /* 80212BE4 0020FB44 EC 24 00 72 */ fmuls f1, f4, f1 /* 80212BE8 0020FB48 EC 44 00 32 */ fmuls f2, f4, f0 /* 80212BEC 0020FB4C 48 10 05 9D */ bl Translate__12CTransform4fFfff /* 80212BF0 0020FB50 7F 64 DB 78 */ mr r4, r27 /* 80212BF4 0020FB54 38 61 00 70 */ addi r3, r1, 0x70 /* 80212BF8 0020FB58 38 A1 00 40 */ addi r5, r1, 0x40 /* 80212BFC 0020FB5C 48 0F FD 55 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80212C00 0020FB60 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80212C04 0020FB64 38 81 00 70 */ addi r4, r1, 0x70 /* 80212C08 0020FB68 48 0F FF 6D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80212C0C 0020FB6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80212C10 0020FB70 38 81 00 A0 */ addi r4, r1, 0xa0 /* 80212C14 0020FB74 81 83 00 00 */ lwz r12, 0(r3) /* 80212C18 0020FB78 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80212C1C 0020FB7C 7D 89 03 A6 */ mtctr r12 /* 80212C20 0020FB80 4E 80 04 21 */ bctrl /* 80212C24 0020FB84 2C 1F 00 01 */ cmpwi r31, 1 /* 80212C28 0020FB88 41 82 00 0C */ beq lbl_80212C34 /* 80212C2C 0020FB8C 2C 1F 00 02 */ cmpwi r31, 2 /* 80212C30 0020FB90 40 82 00 B0 */ bne lbl_80212CE0 lbl_80212C34: /* 80212C34 0020FB94 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80212C38 0020FB98 C0 7D 00 18 */ lfs f3, 0x18(r29) /* 80212C3C 0020FB9C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80212C40 0020FBA0 7F 84 E3 78 */ mr r4, r28 /* 80212C44 0020FBA4 C0 46 00 00 */ lfs f2, 0(r6) /* 80212C48 0020FBA8 38 61 00 14 */ addi r3, r1, 0x14 /* 80212C4C 0020FBAC C0 26 00 04 */ lfs f1, 4(r6) /* 80212C50 0020FBB0 38 A1 00 08 */ addi r5, r1, 8 /* 80212C54 0020FBB4 C0 06 00 08 */ lfs f0, 8(r6) /* 80212C58 0020FBB8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80212C5C 0020FBBC EC 23 00 72 */ fmuls f1, f3, f1 /* 80212C60 0020FBC0 EC 03 00 32 */ fmuls f0, f3, f0 /* 80212C64 0020FBC4 D0 41 00 08 */ stfs f2, 8(r1) /* 80212C68 0020FBC8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80212C6C 0020FBCC D0 01 00 10 */ stfs f0, 0x10(r1) /* 80212C70 0020FBD0 48 0F FE 79 */ bl __ml__12CTransform4fCFRC9CVector3f /* 80212C74 0020FBD4 3C 60 80 3D */ lis r3, lbl_803D2790@ha /* 80212C78 0020FBD8 C0 42 B2 EC */ lfs f2, lbl_805AD00C@sda21(r2) /* 80212C7C 0020FBDC 39 83 27 90 */ addi r12, r3, lbl_803D2790@l /* 80212C80 0020FBE0 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 80212C84 0020FBE4 C0 02 B2 70 */ lfs f0, lbl_805ACF90@sda21(r2) /* 80212C88 0020FBE8 38 61 00 20 */ addi r3, r1, 0x20 /* 80212C8C 0020FBEC 80 0C 00 1C */ lwz r0, 0x1c(r12) /* 80212C90 0020FBF0 38 80 00 2D */ li r4, 0x2d /* 80212C94 0020FBF4 81 6C 00 00 */ lwz r11, 0(r12) /* 80212C98 0020FBF8 EC 02 00 7E */ fnmadds f0, f2, f1, f0 /* 80212C9C 0020FBFC 90 01 00 3C */ stw r0, 0x3c(r1) /* 80212CA0 0020FC00 38 A0 00 01 */ li r5, 1 /* 80212CA4 0020FC04 81 4C 00 04 */ lwz r10, 4(r12) /* 80212CA8 0020FC08 81 2C 00 08 */ lwz r9, 8(r12) /* 80212CAC 0020FC0C 81 0C 00 0C */ lwz r8, 0xc(r12) /* 80212CB0 0020FC10 80 EC 00 10 */ lwz r7, 0x10(r12) /* 80212CB4 0020FC14 80 CC 00 14 */ lwz r6, 0x14(r12) /* 80212CB8 0020FC18 80 0C 00 18 */ lwz r0, 0x18(r12) /* 80212CBC 0020FC1C 91 61 00 20 */ stw r11, 0x20(r1) /* 80212CC0 0020FC20 91 41 00 24 */ stw r10, 0x24(r1) /* 80212CC4 0020FC24 91 21 00 28 */ stw r9, 0x28(r1) /* 80212CC8 0020FC28 91 01 00 2C */ stw r8, 0x2c(r1) /* 80212CCC 0020FC2C 90 E1 00 30 */ stw r7, 0x30(r1) /* 80212CD0 0020FC30 90 C1 00 34 */ stw r6, 0x34(r1) /* 80212CD4 0020FC34 90 01 00 38 */ stw r0, 0x38(r1) /* 80212CD8 0020FC38 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80212CDC 0020FC3C 48 16 97 B5 */ bl GXLoadTexMtxImm lbl_80212CE0: /* 80212CE0 0020FC40 2C 1F 00 02 */ cmpwi r31, 2 /* 80212CE4 0020FC44 41 82 00 30 */ beq lbl_80212D14 /* 80212CE8 0020FC48 40 80 00 10 */ bge lbl_80212CF8 /* 80212CEC 0020FC4C 2C 1F 00 01 */ cmpwi r31, 1 /* 80212CF0 0020FC50 40 80 00 14 */ bge lbl_80212D04 /* 80212CF4 0020FC54 48 00 00 3C */ b lbl_80212D30 lbl_80212CF8: /* 80212CF8 0020FC58 2C 1F 00 04 */ cmpwi r31, 4 /* 80212CFC 0020FC5C 40 80 00 34 */ bge lbl_80212D30 /* 80212D00 0020FC60 48 00 00 24 */ b lbl_80212D24 lbl_80212D04: /* 80212D04 0020FC64 7F A3 EB 78 */ mr r3, r29 /* 80212D08 0020FC68 7F C4 F3 78 */ mr r4, r30 /* 80212D0C 0020FC6C 48 00 01 D9 */ bl RenderSnowParticles__17CEnvFxManagerGridFR12CTransform4f /* 80212D10 0020FC70 48 00 00 20 */ b lbl_80212D30 lbl_80212D14: /* 80212D14 0020FC74 7F A3 EB 78 */ mr r3, r29 /* 80212D18 0020FC78 7F C4 F3 78 */ mr r4, r30 /* 80212D1C 0020FC7C 48 00 03 69 */ bl RenderRainParticles__17CEnvFxManagerGridFR12CTransform4f /* 80212D20 0020FC80 48 00 00 10 */ b lbl_80212D30 lbl_80212D24: /* 80212D24 0020FC84 7F A3 EB 78 */ mr r3, r29 /* 80212D28 0020FC88 7F C4 F3 78 */ mr r4, r30 /* 80212D2C 0020FC8C 48 00 00 19 */ bl RenderUnderwaterParticles__17CEnvFxManagerGridFR12CTransform4f lbl_80212D30: /* 80212D30 0020FC90 BB 61 00 EC */ lmw r27, 0xec(r1) /* 80212D34 0020FC94 80 01 01 04 */ lwz r0, 0x104(r1) /* 80212D38 0020FC98 7C 08 03 A6 */ mtlr r0 /* 80212D3C 0020FC9C 38 21 01 00 */ addi r1, r1, 0x100 /* 80212D40 0020FCA0 4E 80 00 20 */ blr .global RenderUnderwaterParticles__17CEnvFxManagerGridFR12CTransform4f RenderUnderwaterParticles__17CEnvFxManagerGridFR12CTransform4f: /* 80212D44 0020FCA4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80212D48 0020FCA8 7C 08 02 A6 */ mflr r0 /* 80212D4C 0020FCAC C0 C2 B2 70 */ lfs f6, lbl_805ACF90@sda21(r2) /* 80212D50 0020FCB0 90 01 00 64 */ stw r0, 0x64(r1) /* 80212D54 0020FCB4 C0 E2 B2 94 */ lfs f7, lbl_805ACFB4@sda21(r2) /* 80212D58 0020FCB8 BF 01 00 40 */ stmw r24, 0x40(r1) /* 80212D5C 0020FCBC 7C 7F 1B 78 */ mr r31, r3 /* 80212D60 0020FCC0 38 60 00 80 */ li r3, 0x80 /* 80212D64 0020FCC4 C0 44 00 08 */ lfs f2, 8(r4) /* 80212D68 0020FCC8 C0 24 00 18 */ lfs f1, 0x18(r4) /* 80212D6C 0020FCCC EC A6 00 B2 */ fmuls f5, f6, f2 /* 80212D70 0020FCD0 C0 04 00 28 */ lfs f0, 0x28(r4) /* 80212D74 0020FCD4 EC 86 00 72 */ fmuls f4, f6, f1 /* 80212D78 0020FCD8 C0 44 00 00 */ lfs f2, 0(r4) /* 80212D7C 0020FCDC EC 66 00 32 */ fmuls f3, f6, f0 /* 80212D80 0020FCE0 C0 24 00 10 */ lfs f1, 0x10(r4) /* 80212D84 0020FCE4 C0 04 00 20 */ lfs f0, 0x20(r4) /* 80212D88 0020FCE8 EC 46 00 B2 */ fmuls f2, f6, f2 /* 80212D8C 0020FCEC EC A7 01 72 */ fmuls f5, f7, f5 /* 80212D90 0020FCF0 83 DF 00 20 */ lwz r30, 0x20(r31) /* 80212D94 0020FCF4 EC 87 01 32 */ fmuls f4, f7, f4 /* 80212D98 0020FCF8 38 80 00 06 */ li r4, 6 /* 80212D9C 0020FCFC EC 26 00 72 */ fmuls f1, f6, f1 /* 80212DA0 0020FD00 EC 06 00 32 */ fmuls f0, f6, f0 /* 80212DA4 0020FD04 EC 67 00 F2 */ fmuls f3, f7, f3 /* 80212DA8 0020FD08 57 C5 14 3A */ rlwinm r5, r30, 2, 0x10, 0x1d /* 80212DAC 0020FD0C EC 47 00 B2 */ fmuls f2, f7, f2 /* 80212DB0 0020FD10 FC A0 28 1E */ fctiwz f5, f5 /* 80212DB4 0020FD14 FC 80 20 1E */ fctiwz f4, f4 /* 80212DB8 0020FD18 EC 27 00 72 */ fmuls f1, f7, f1 /* 80212DBC 0020FD1C EC 07 00 32 */ fmuls f0, f7, f0 /* 80212DC0 0020FD20 D8 A1 00 08 */ stfd f5, 8(r1) /* 80212DC4 0020FD24 FC 60 18 1E */ fctiwz f3, f3 /* 80212DC8 0020FD28 FC 40 10 1E */ fctiwz f2, f2 /* 80212DCC 0020FD2C D8 81 00 10 */ stfd f4, 0x10(r1) /* 80212DD0 0020FD30 FC 20 08 1E */ fctiwz f1, f1 /* 80212DD4 0020FD34 FC 00 00 1E */ fctiwz f0, f0 /* 80212DD8 0020FD38 80 C1 00 0C */ lwz r6, 0xc(r1) /* 80212DDC 0020FD3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80212DE0 0020FD40 D8 61 00 18 */ stfd f3, 0x18(r1) /* 80212DE4 0020FD44 7C DD 07 34 */ extsh r29, r6 /* 80212DE8 0020FD48 7C 1C 07 34 */ extsh r28, r0 /* 80212DEC 0020FD4C D8 41 00 20 */ stfd f2, 0x20(r1) /* 80212DF0 0020FD50 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80212DF4 0020FD54 80 01 00 24 */ lwz r0, 0x24(r1) /* 80212DF8 0020FD58 D8 21 00 28 */ stfd f1, 0x28(r1) /* 80212DFC 0020FD5C 7C DB 07 34 */ extsh r27, r6 /* 80212E00 0020FD60 7C 1A 07 34 */ extsh r26, r0 /* 80212E04 0020FD64 D8 01 00 30 */ stfd f0, 0x30(r1) /* 80212E08 0020FD68 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80212E0C 0020FD6C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80212E10 0020FD70 7C D9 07 34 */ extsh r25, r6 /* 80212E14 0020FD74 7C 18 07 34 */ extsh r24, r0 /* 80212E18 0020FD78 48 0F 57 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 80212E1C 0020FD7C 34 7E FF FF */ addic. r3, r30, -1 /* 80212E20 0020FD80 3C 80 CC 01 */ lis r4, 0xcc01 /* 80212E24 0020FD84 38 03 00 01 */ addi r0, r3, 1 /* 80212E28 0020FD88 1D 03 00 06 */ mulli r8, r3, 6 /* 80212E2C 0020FD8C 7C 09 03 A6 */ mtctr r0 /* 80212E30 0020FD90 41 80 00 9C */ blt lbl_80212ECC lbl_80212E34: /* 80212E34 0020FD94 80 BF 00 28 */ lwz r5, 0x28(r31) /* 80212E38 0020FD98 38 60 00 00 */ li r3, 0 /* 80212E3C 0020FD9C 38 00 00 02 */ li r0, 2 /* 80212E40 0020FDA0 7C A5 42 14 */ add r5, r5, r8 /* 80212E44 0020FDA4 39 08 FF FA */ addi r8, r8, -6 /* 80212E48 0020FDA8 A8 C5 00 00 */ lha r6, 0(r5) /* 80212E4C 0020FDAC A8 E5 00 02 */ lha r7, 2(r5) /* 80212E50 0020FDB0 A8 A5 00 04 */ lha r5, 4(r5) /* 80212E54 0020FDB4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212E58 0020FDB8 7C C6 EA 14 */ add r6, r6, r29 /* 80212E5C 0020FDBC B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212E60 0020FDC0 7C E7 E2 14 */ add r7, r7, r28 /* 80212E64 0020FDC4 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212E68 0020FDC8 7C A5 DA 14 */ add r5, r5, r27 /* 80212E6C 0020FDCC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212E70 0020FDD0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212E74 0020FDD4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212E78 0020FDD8 7C C6 D2 14 */ add r6, r6, r26 /* 80212E7C 0020FDDC B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212E80 0020FDE0 7C E7 CA 14 */ add r7, r7, r25 /* 80212E84 0020FDE4 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212E88 0020FDE8 7C A5 C2 14 */ add r5, r5, r24 /* 80212E8C 0020FDEC 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212E90 0020FDF0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212E94 0020FDF4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212E98 0020FDF8 7C DD 30 50 */ subf r6, r29, r6 /* 80212E9C 0020FDFC B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212EA0 0020FE00 7C FC 38 50 */ subf r7, r28, r7 /* 80212EA4 0020FE04 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212EA8 0020FE08 7C BB 28 50 */ subf r5, r27, r5 /* 80212EAC 0020FE0C 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212EB0 0020FE10 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212EB4 0020FE14 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212EB8 0020FE18 B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80212EBC 0020FE1C B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80212EC0 0020FE20 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80212EC4 0020FE24 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80212EC8 0020FE28 42 00 FF 6C */ bdnz lbl_80212E34 lbl_80212ECC: /* 80212ECC 0020FE2C 48 0F 56 B5 */ bl End__3CGXFv /* 80212ED0 0020FE30 BB 01 00 40 */ lmw r24, 0x40(r1) /* 80212ED4 0020FE34 80 01 00 64 */ lwz r0, 0x64(r1) /* 80212ED8 0020FE38 7C 08 03 A6 */ mtlr r0 /* 80212EDC 0020FE3C 38 21 00 60 */ addi r1, r1, 0x60 /* 80212EE0 0020FE40 4E 80 00 20 */ blr .global RenderSnowParticles__17CEnvFxManagerGridFR12CTransform4f RenderSnowParticles__17CEnvFxManagerGridFR12CTransform4f: /* 80212EE4 0020FE44 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80212EE8 0020FE48 7C 08 02 A6 */ mflr r0 /* 80212EEC 0020FE4C C0 C2 B2 F0 */ lfs f6, lbl_805AD010@sda21(r2) /* 80212EF0 0020FE50 90 01 00 64 */ stw r0, 0x64(r1) /* 80212EF4 0020FE54 C0 E2 B2 94 */ lfs f7, lbl_805ACFB4@sda21(r2) /* 80212EF8 0020FE58 BF 01 00 40 */ stmw r24, 0x40(r1) /* 80212EFC 0020FE5C 7C 7F 1B 78 */ mr r31, r3 /* 80212F00 0020FE60 38 60 00 80 */ li r3, 0x80 /* 80212F04 0020FE64 C0 44 00 08 */ lfs f2, 8(r4) /* 80212F08 0020FE68 C0 24 00 18 */ lfs f1, 0x18(r4) /* 80212F0C 0020FE6C EC A6 00 B2 */ fmuls f5, f6, f2 /* 80212F10 0020FE70 C0 04 00 28 */ lfs f0, 0x28(r4) /* 80212F14 0020FE74 EC 86 00 72 */ fmuls f4, f6, f1 /* 80212F18 0020FE78 C0 44 00 00 */ lfs f2, 0(r4) /* 80212F1C 0020FE7C EC 66 00 32 */ fmuls f3, f6, f0 /* 80212F20 0020FE80 C0 24 00 10 */ lfs f1, 0x10(r4) /* 80212F24 0020FE84 C0 04 00 20 */ lfs f0, 0x20(r4) /* 80212F28 0020FE88 EC 46 00 B2 */ fmuls f2, f6, f2 /* 80212F2C 0020FE8C EC A7 01 72 */ fmuls f5, f7, f5 /* 80212F30 0020FE90 83 DF 00 20 */ lwz r30, 0x20(r31) /* 80212F34 0020FE94 EC 87 01 32 */ fmuls f4, f7, f4 /* 80212F38 0020FE98 38 80 00 06 */ li r4, 6 /* 80212F3C 0020FE9C EC 26 00 72 */ fmuls f1, f6, f1 /* 80212F40 0020FEA0 EC 06 00 32 */ fmuls f0, f6, f0 /* 80212F44 0020FEA4 EC 67 00 F2 */ fmuls f3, f7, f3 /* 80212F48 0020FEA8 57 C5 14 3A */ rlwinm r5, r30, 2, 0x10, 0x1d /* 80212F4C 0020FEAC EC 47 00 B2 */ fmuls f2, f7, f2 /* 80212F50 0020FEB0 FC A0 28 1E */ fctiwz f5, f5 /* 80212F54 0020FEB4 FC 80 20 1E */ fctiwz f4, f4 /* 80212F58 0020FEB8 EC 27 00 72 */ fmuls f1, f7, f1 /* 80212F5C 0020FEBC EC 07 00 32 */ fmuls f0, f7, f0 /* 80212F60 0020FEC0 D8 A1 00 08 */ stfd f5, 8(r1) /* 80212F64 0020FEC4 FC 60 18 1E */ fctiwz f3, f3 /* 80212F68 0020FEC8 FC 40 10 1E */ fctiwz f2, f2 /* 80212F6C 0020FECC D8 81 00 10 */ stfd f4, 0x10(r1) /* 80212F70 0020FED0 FC 20 08 1E */ fctiwz f1, f1 /* 80212F74 0020FED4 FC 00 00 1E */ fctiwz f0, f0 /* 80212F78 0020FED8 80 C1 00 0C */ lwz r6, 0xc(r1) /* 80212F7C 0020FEDC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80212F80 0020FEE0 D8 61 00 18 */ stfd f3, 0x18(r1) /* 80212F84 0020FEE4 7C DD 07 34 */ extsh r29, r6 /* 80212F88 0020FEE8 7C 1C 07 34 */ extsh r28, r0 /* 80212F8C 0020FEEC D8 41 00 20 */ stfd f2, 0x20(r1) /* 80212F90 0020FEF0 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80212F94 0020FEF4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80212F98 0020FEF8 D8 21 00 28 */ stfd f1, 0x28(r1) /* 80212F9C 0020FEFC 7C DB 07 34 */ extsh r27, r6 /* 80212FA0 0020FF00 7C 1A 07 34 */ extsh r26, r0 /* 80212FA4 0020FF04 D8 01 00 30 */ stfd f0, 0x30(r1) /* 80212FA8 0020FF08 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80212FAC 0020FF0C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80212FB0 0020FF10 7C D9 07 34 */ extsh r25, r6 /* 80212FB4 0020FF14 7C 18 07 34 */ extsh r24, r0 /* 80212FB8 0020FF18 48 0F 55 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 80212FBC 0020FF1C 34 7E FF FF */ addic. r3, r30, -1 /* 80212FC0 0020FF20 3C 80 CC 01 */ lis r4, 0xcc01 /* 80212FC4 0020FF24 38 03 00 01 */ addi r0, r3, 1 /* 80212FC8 0020FF28 1D 03 00 06 */ mulli r8, r3, 6 /* 80212FCC 0020FF2C 7C 09 03 A6 */ mtctr r0 /* 80212FD0 0020FF30 41 80 00 9C */ blt lbl_8021306C lbl_80212FD4: /* 80212FD4 0020FF34 80 BF 00 28 */ lwz r5, 0x28(r31) /* 80212FD8 0020FF38 38 60 00 00 */ li r3, 0 /* 80212FDC 0020FF3C 38 00 00 02 */ li r0, 2 /* 80212FE0 0020FF40 7C A5 42 14 */ add r5, r5, r8 /* 80212FE4 0020FF44 39 08 FF FA */ addi r8, r8, -6 /* 80212FE8 0020FF48 A8 C5 00 00 */ lha r6, 0(r5) /* 80212FEC 0020FF4C A8 E5 00 02 */ lha r7, 2(r5) /* 80212FF0 0020FF50 A8 A5 00 04 */ lha r5, 4(r5) /* 80212FF4 0020FF54 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80212FF8 0020FF58 7C C6 EA 14 */ add r6, r6, r29 /* 80212FFC 0020FF5C B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80213000 0020FF60 7C E7 E2 14 */ add r7, r7, r28 /* 80213004 0020FF64 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213008 0020FF68 7C A5 DA 14 */ add r5, r5, r27 /* 8021300C 0020FF6C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213010 0020FF70 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213014 0020FF74 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80213018 0020FF78 7C C6 D2 14 */ add r6, r6, r26 /* 8021301C 0020FF7C B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80213020 0020FF80 7C E7 CA 14 */ add r7, r7, r25 /* 80213024 0020FF84 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213028 0020FF88 7C A5 C2 14 */ add r5, r5, r24 /* 8021302C 0020FF8C 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213030 0020FF90 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213034 0020FF94 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80213038 0020FF98 7C DD 30 50 */ subf r6, r29, r6 /* 8021303C 0020FF9C B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 80213040 0020FFA0 7C FC 38 50 */ subf r7, r28, r7 /* 80213044 0020FFA4 B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213048 0020FFA8 7C BB 28 50 */ subf r5, r27, r5 /* 8021304C 0020FFAC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213050 0020FFB0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213054 0020FFB4 B0 C4 80 00 */ sth r6, 0xCC008000@l(r4) /* 80213058 0020FFB8 B0 E4 80 00 */ sth r7, 0xCC008000@l(r4) /* 8021305C 0020FFBC B0 A4 80 00 */ sth r5, 0xCC008000@l(r4) /* 80213060 0020FFC0 98 04 80 00 */ stb r0, 0xCC008000@l(r4) /* 80213064 0020FFC4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) /* 80213068 0020FFC8 42 00 FF 6C */ bdnz lbl_80212FD4 lbl_8021306C: /* 8021306C 0020FFCC 48 0F 55 15 */ bl End__3CGXFv /* 80213070 0020FFD0 BB 01 00 40 */ lmw r24, 0x40(r1) /* 80213074 0020FFD4 80 01 00 64 */ lwz r0, 0x64(r1) /* 80213078 0020FFD8 7C 08 03 A6 */ mtlr r0 /* 8021307C 0020FFDC 38 21 00 60 */ addi r1, r1, 0x60 /* 80213080 0020FFE0 4E 80 00 20 */ blr .global RenderRainParticles__17CEnvFxManagerGridFR12CTransform4f RenderRainParticles__17CEnvFxManagerGridFR12CTransform4f: /* 80213084 0020FFE4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80213088 0020FFE8 7C 08 02 A6 */ mflr r0 /* 8021308C 0020FFEC 90 01 00 34 */ stw r0, 0x34(r1) /* 80213090 0020FFF0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80213094 0020FFF4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80213098 0020FFF8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021309C 0020FFFC 93 C1 00 18 */ stw r30, 0x18(r1) /* 802130A0 00210000 3C A0 80 5A */ lis r5, lbl_805A66F4@ha /* 802130A4 00210004 C0 24 00 18 */ lfs f1, 0x18(r4) /* 802130A8 00210008 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l /* 802130AC 0021000C 83 C3 00 20 */ lwz r30, 0x20(r3) /* 802130B0 00210010 C0 06 00 04 */ lfs f0, 4(r6) /* 802130B4 00210014 7C 7F 1B 78 */ mr r31, r3 /* 802130B8 00210018 C0 44 00 08 */ lfs f2, 8(r4) /* 802130BC 0021001C 38 60 00 A8 */ li r3, 0xa8 /* 802130C0 00210020 EC 01 00 32 */ fmuls f0, f1, f0 /* 802130C4 00210024 C0 26 00 00 */ lfs f1, 0(r6) /* 802130C8 00210028 C0 84 00 28 */ lfs f4, 0x28(r4) /* 802130CC 0021002C 57 C5 0C 3C */ rlwinm r5, r30, 1, 0x10, 0x1e /* 802130D0 00210030 C0 66 00 08 */ lfs f3, 8(r6) /* 802130D4 00210034 38 80 00 06 */ li r4, 6 /* 802130D8 00210038 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 802130DC 0021003C EC 04 00 FA */ fmadds f0, f4, f3, f0 /* 802130E0 00210040 FF E0 02 10 */ fabs f31, f0 /* 802130E4 00210044 48 0F 54 A1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs /* 802130E8 00210048 FC 20 F8 18 */ frsp f1, f31 /* 802130EC 0021004C C0 42 B2 64 */ lfs f2, lbl_805ACF84@sda21(r2) /* 802130F0 00210050 39 20 00 00 */ li r9, 0 /* 802130F4 00210054 C0 62 B2 F4 */ lfs f3, lbl_805AD014@sda21(r2) /* 802130F8 00210058 C0 02 B2 94 */ lfs f0, lbl_805ACFB4@sda21(r2) /* 802130FC 0021005C 2C 1E 00 00 */ cmpwi r30, 0 /* 80213100 00210060 EC 22 08 28 */ fsubs f1, f2, f1 /* 80213104 00210064 7D 23 4B 78 */ mr r3, r9 /* 80213108 00210068 3C A0 CC 01 */ lis r5, 0xcc01 /* 8021310C 0021006C 38 80 00 0A */ li r4, 0xa /* 80213110 00210070 EC 03 00 7A */ fmadds f0, f3, f1, f0 /* 80213114 00210074 FC 00 00 1E */ fctiwz f0, f0 /* 80213118 00210078 D8 01 00 08 */ stfd f0, 8(r1) /* 8021311C 0021007C 80 01 00 0C */ lwz r0, 0xc(r1) /* 80213120 00210080 7C 0A 07 34 */ extsh r10, r0 /* 80213124 00210084 40 81 01 50 */ ble lbl_80213274 /* 80213128 00210088 57 C0 F0 BF */ rlwinm. r0, r30, 0x1e, 2, 0x1f /* 8021312C 0021008C 7C 09 03 A6 */ mtctr r0 /* 80213130 00210090 41 82 01 00 */ beq lbl_80213230 lbl_80213134: /* 80213134 00210094 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80213138 00210098 7C C0 4A 14 */ add r6, r0, r9 /* 8021313C 0021009C 39 29 00 06 */ addi r9, r9, 6 /* 80213140 002100A0 A9 06 00 04 */ lha r8, 4(r6) /* 80213144 002100A4 A8 E6 00 00 */ lha r7, 0(r6) /* 80213148 002100A8 A8 C6 00 02 */ lha r6, 2(r6) /* 8021314C 002100AC 7C 08 52 14 */ add r0, r8, r10 /* 80213150 002100B0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213154 002100B4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213158 002100B8 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 8021315C 002100BC B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 80213160 002100C0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213164 002100C4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213168 002100C8 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 8021316C 002100CC B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 80213170 002100D0 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80213174 002100D4 7C C0 4A 14 */ add r6, r0, r9 /* 80213178 002100D8 39 29 00 06 */ addi r9, r9, 6 /* 8021317C 002100DC A9 06 00 04 */ lha r8, 4(r6) /* 80213180 002100E0 A8 E6 00 00 */ lha r7, 0(r6) /* 80213184 002100E4 A8 C6 00 02 */ lha r6, 2(r6) /* 80213188 002100E8 7C 08 52 14 */ add r0, r8, r10 /* 8021318C 002100EC B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213190 002100F0 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213194 002100F4 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 80213198 002100F8 B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 8021319C 002100FC B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 802131A0 00210100 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 802131A4 00210104 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 802131A8 00210108 B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 802131AC 0021010C 80 1F 00 28 */ lwz r0, 0x28(r31) /* 802131B0 00210110 7C C0 4A 14 */ add r6, r0, r9 /* 802131B4 00210114 39 29 00 06 */ addi r9, r9, 6 /* 802131B8 00210118 A9 06 00 04 */ lha r8, 4(r6) /* 802131BC 0021011C A8 E6 00 00 */ lha r7, 0(r6) /* 802131C0 00210120 A8 C6 00 02 */ lha r6, 2(r6) /* 802131C4 00210124 7C 08 52 14 */ add r0, r8, r10 /* 802131C8 00210128 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 802131CC 0021012C B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 802131D0 00210130 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 802131D4 00210134 B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 802131D8 00210138 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 802131DC 0021013C B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 802131E0 00210140 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 802131E4 00210144 B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 802131E8 00210148 80 1F 00 28 */ lwz r0, 0x28(r31) /* 802131EC 0021014C 7C C0 4A 14 */ add r6, r0, r9 /* 802131F0 00210150 39 29 00 06 */ addi r9, r9, 6 /* 802131F4 00210154 A9 06 00 04 */ lha r8, 4(r6) /* 802131F8 00210158 A8 E6 00 00 */ lha r7, 0(r6) /* 802131FC 0021015C A8 C6 00 02 */ lha r6, 2(r6) /* 80213200 00210160 7C 08 52 14 */ add r0, r8, r10 /* 80213204 00210164 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213208 00210168 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 8021320C 0021016C B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 80213210 00210170 B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 80213214 00210174 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213218 00210178 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 8021321C 0021017C B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 80213220 00210180 B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 80213224 00210184 42 00 FF 10 */ bdnz lbl_80213134 /* 80213228 00210188 73 DE 00 03 */ andi. r30, r30, 3 /* 8021322C 0021018C 41 82 00 48 */ beq lbl_80213274 lbl_80213230: /* 80213230 00210190 7F C9 03 A6 */ mtctr r30 lbl_80213234: /* 80213234 00210194 80 1F 00 28 */ lwz r0, 0x28(r31) /* 80213238 00210198 7C C0 4A 14 */ add r6, r0, r9 /* 8021323C 0021019C 39 29 00 06 */ addi r9, r9, 6 /* 80213240 002101A0 A9 06 00 04 */ lha r8, 4(r6) /* 80213244 002101A4 A8 E6 00 00 */ lha r7, 0(r6) /* 80213248 002101A8 A8 C6 00 02 */ lha r6, 2(r6) /* 8021324C 002101AC 7C 08 52 14 */ add r0, r8, r10 /* 80213250 002101B0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213254 002101B4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213258 002101B8 B1 05 80 00 */ sth r8, 0xCC008000@l(r5) /* 8021325C 002101BC B0 85 80 00 */ sth r4, 0xCC008000@l(r5) /* 80213260 002101C0 B0 E5 80 00 */ sth r7, 0xCC008000@l(r5) /* 80213264 002101C4 B0 C5 80 00 */ sth r6, 0xCC008000@l(r5) /* 80213268 002101C8 B0 05 80 00 */ sth r0, 0xCC008000@l(r5) /* 8021326C 002101CC B0 65 80 00 */ sth r3, 0xCC008000@l(r5) /* 80213270 002101D0 42 00 FF C4 */ bdnz lbl_80213234 lbl_80213274: /* 80213274 002101D4 48 0F 53 0D */ bl End__3CGXFv /* 80213278 002101D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8021327C 002101DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80213280 002101E0 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80213284 002101E4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80213288 002101E8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021328C 002101EC 7C 08 03 A6 */ mtlr r0 /* 80213290 002101F0 38 21 00 30 */ addi r1, r1, 0x30 /* 80213294 002101F4 4E 80 00 20 */ blr .global __ct__13CEnvFxManagerFv __ct__13CEnvFxManagerFv: /* 80213298 002101F8 94 21 FE F0 */ stwu r1, -0x110(r1) /* 8021329C 002101FC 7C 08 02 A6 */ mflr r0 /* 802132A0 00210200 90 01 01 14 */ stw r0, 0x114(r1) /* 802132A4 00210204 DB E1 01 00 */ stfd f31, 0x100(r1) /* 802132A8 00210208 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 802132AC 0021020C BF 21 00 E4 */ stmw r25, 0xe4(r1) /* 802132B0 00210210 C0 22 B2 F8 */ lfs f1, lbl_805AD018@sda21(r2) /* 802132B4 00210214 7C 7A 1B 78 */ mr r26, r3 /* 802132B8 00210218 C0 02 B2 FC */ lfs f0, lbl_805AD01C@sda21(r2) /* 802132BC 0021021C 38 81 00 A8 */ addi r4, r1, 0xa8 /* 802132C0 00210220 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 802132C4 00210224 38 A1 00 9C */ addi r5, r1, 0x9c /* 802132C8 00210228 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 802132CC 0021022C D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 802132D0 00210230 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 802132D4 00210234 D0 01 00 AC */ stfs f0, 0xac(r1) /* 802132D8 00210238 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 802132DC 0021023C 48 12 52 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802132E0 00210240 3C 80 80 5A */ lis r4, skZero3f@ha /* 802132E4 00210244 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802132E8 00210248 38 E4 66 A0 */ addi r7, r4, skZero3f@l /* 802132EC 0021024C 38 C0 00 00 */ li r6, 0 /* 802132F0 00210250 C0 27 00 00 */ lfs f1, 0(r7) /* 802132F4 00210254 38 83 28 18 */ addi r4, r3, lbl_803D2818@l /* 802132F8 00210258 C0 02 B2 78 */ lfs f0, lbl_805ACF98@sda21(r2) /* 802132FC 0021025C 38 00 FF FF */ li r0, -1 /* 80213300 00210260 D0 3A 00 18 */ stfs f1, 0x18(r26) /* 80213304 00210264 38 61 00 54 */ addi r3, r1, 0x54 /* 80213308 00210268 38 A4 00 29 */ addi r5, r4, 0x29 /* 8021330C 0021026C C0 27 00 04 */ lfs f1, 4(r7) /* 80213310 00210270 D0 3A 00 1C */ stfs f1, 0x1c(r26) /* 80213314 00210274 C0 27 00 08 */ lfs f1, 8(r7) /* 80213318 00210278 D0 3A 00 20 */ stfs f1, 0x20(r26) /* 8021331C 0021027C 98 DA 00 24 */ stb r6, 0x24(r26) /* 80213320 00210280 D0 1A 00 28 */ stfs f0, 0x28(r26) /* 80213324 00210284 90 1A 00 2C */ stw r0, 0x2c(r26) /* 80213328 00210288 D0 1A 00 30 */ stfs f0, 0x30(r26) /* 8021332C 0021028C D0 1A 00 34 */ stfs f0, 0x34(r26) /* 80213330 00210290 D0 1A 00 38 */ stfs f0, 0x38(r26) /* 80213334 00210294 98 DA 00 3C */ stb r6, 0x3c(r26) /* 80213338 00210298 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021333C 0021029C 81 84 00 00 */ lwz r12, 0(r4) /* 80213340 002102A0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80213344 002102A4 7D 89 03 A6 */ mtctr r12 /* 80213348 002102A8 4E 80 04 21 */ bctrl /* 8021334C 002102AC 3B 21 00 90 */ addi r25, r1, 0x90 /* 80213350 002102B0 38 81 00 54 */ addi r4, r1, 0x54 /* 80213354 002102B4 7F 23 CB 78 */ mr r3, r25 /* 80213358 002102B8 48 12 DB 51 */ bl __ct__6CTokenFRC6CToken /* 8021335C 002102BC 7F 23 CB 78 */ mr r3, r25 /* 80213360 002102C0 48 12 DA AD */ bl GetObj__6CTokenFv /* 80213364 002102C4 80 63 00 04 */ lwz r3, 4(r3) /* 80213368 002102C8 37 3A 00 40 */ addic. r25, r26, 0x40 /* 8021336C 002102CC 38 00 00 01 */ li r0, 1 /* 80213370 002102D0 90 61 00 98 */ stw r3, 0x98(r1) /* 80213374 002102D4 98 1A 00 4C */ stb r0, 0x4c(r26) /* 80213378 002102D8 41 82 00 20 */ beq lbl_80213398 /* 8021337C 002102DC 7F 23 CB 78 */ mr r3, r25 /* 80213380 002102E0 38 81 00 90 */ addi r4, r1, 0x90 /* 80213384 002102E4 48 12 DB 25 */ bl __ct__6CTokenFRC6CToken /* 80213388 002102E8 80 01 00 98 */ lwz r0, 0x98(r1) /* 8021338C 002102EC 7F 23 CB 78 */ mr r3, r25 /* 80213390 002102F0 90 19 00 08 */ stw r0, 8(r25) /* 80213394 002102F4 48 12 D9 F1 */ bl Lock__6CTokenFv lbl_80213398: /* 80213398 002102F8 38 61 00 90 */ addi r3, r1, 0x90 /* 8021339C 002102FC 38 80 00 00 */ li r4, 0 /* 802133A0 00210300 48 12 DA A1 */ bl __dt__6CTokenFv /* 802133A4 00210304 38 61 00 54 */ addi r3, r1, 0x54 /* 802133A8 00210308 38 80 FF FF */ li r4, -1 /* 802133AC 0021030C 48 12 DA 95 */ bl __dt__6CTokenFv /* 802133B0 00210310 38 00 00 00 */ li r0, 0 /* 802133B4 00210314 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802133B8 00210318 90 1A 00 50 */ stw r0, 0x50(r26) /* 802133BC 0021031C 38 A3 28 18 */ addi r5, r3, lbl_803D2818@l /* 802133C0 00210320 38 61 00 4C */ addi r3, r1, 0x4c /* 802133C4 00210324 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802133C8 00210328 38 A5 00 3A */ addi r5, r5, 0x3a /* 802133CC 0021032C 81 84 00 00 */ lwz r12, 0(r4) /* 802133D0 00210330 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802133D4 00210334 7D 89 03 A6 */ mtctr r12 /* 802133D8 00210338 4E 80 04 21 */ bctrl /* 802133DC 0021033C 3B 21 00 84 */ addi r25, r1, 0x84 /* 802133E0 00210340 38 81 00 4C */ addi r4, r1, 0x4c /* 802133E4 00210344 7F 23 CB 78 */ mr r3, r25 /* 802133E8 00210348 48 12 DA C1 */ bl __ct__6CTokenFRC6CToken /* 802133EC 0021034C 7F 23 CB 78 */ mr r3, r25 /* 802133F0 00210350 48 12 DA 1D */ bl GetObj__6CTokenFv /* 802133F4 00210354 80 63 00 04 */ lwz r3, 4(r3) /* 802133F8 00210358 37 3A 0B 58 */ addic. r25, r26, 0xb58 /* 802133FC 0021035C 38 00 00 01 */ li r0, 1 /* 80213400 00210360 90 61 00 8C */ stw r3, 0x8c(r1) /* 80213404 00210364 98 1A 0B 64 */ stb r0, 0xb64(r26) /* 80213408 00210368 41 82 00 20 */ beq lbl_80213428 /* 8021340C 0021036C 7F 23 CB 78 */ mr r3, r25 /* 80213410 00210370 38 81 00 84 */ addi r4, r1, 0x84 /* 80213414 00210374 48 12 DA 95 */ bl __ct__6CTokenFRC6CToken /* 80213418 00210378 80 01 00 8C */ lwz r0, 0x8c(r1) /* 8021341C 0021037C 7F 23 CB 78 */ mr r3, r25 /* 80213420 00210380 90 19 00 08 */ stw r0, 8(r25) /* 80213424 00210384 48 12 D9 61 */ bl Lock__6CTokenFv lbl_80213428: /* 80213428 00210388 38 61 00 84 */ addi r3, r1, 0x84 /* 8021342C 0021038C 38 80 00 00 */ li r4, 0 /* 80213430 00210390 48 12 DA 11 */ bl __dt__6CTokenFv /* 80213434 00210394 38 61 00 4C */ addi r3, r1, 0x4c /* 80213438 00210398 38 80 FF FF */ li r4, -1 /* 8021343C 0021039C 48 12 DA 05 */ bl __dt__6CTokenFv /* 80213440 002103A0 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) /* 80213444 002103A4 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 80213448 002103A8 38 83 28 18 */ addi r4, r3, lbl_803D2818@l /* 8021344C 002103AC 38 00 00 00 */ li r0, 0 /* 80213450 002103B0 B0 BA 0B 68 */ sth r5, 0xb68(r26) /* 80213454 002103B4 38 61 00 44 */ addi r3, r1, 0x44 /* 80213458 002103B8 38 A4 00 4D */ addi r5, r4, 0x4d /* 8021345C 002103BC 98 1A 0B 6A */ stb r0, 0xb6a(r26) /* 80213460 002103C0 90 1A 0B 6C */ stw r0, 0xb6c(r26) /* 80213464 002103C4 90 1A 0B 70 */ stw r0, 0xb70(r26) /* 80213468 002103C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021346C 002103CC 81 84 00 00 */ lwz r12, 0(r4) /* 80213470 002103D0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80213474 002103D4 7D 89 03 A6 */ mtctr r12 /* 80213478 002103D8 4E 80 04 21 */ bctrl /* 8021347C 002103DC 3B 21 00 78 */ addi r25, r1, 0x78 /* 80213480 002103E0 38 81 00 44 */ addi r4, r1, 0x44 /* 80213484 002103E4 7F 23 CB 78 */ mr r3, r25 /* 80213488 002103E8 48 12 DA 21 */ bl __ct__6CTokenFRC6CToken /* 8021348C 002103EC 7F 23 CB 78 */ mr r3, r25 /* 80213490 002103F0 48 12 D9 7D */ bl GetObj__6CTokenFv /* 80213494 002103F4 80 63 00 04 */ lwz r3, 4(r3) /* 80213498 002103F8 37 3A 0B 74 */ addic. r25, r26, 0xb74 /* 8021349C 002103FC 38 00 00 01 */ li r0, 1 /* 802134A0 00210400 90 61 00 80 */ stw r3, 0x80(r1) /* 802134A4 00210404 98 1A 0B 80 */ stb r0, 0xb80(r26) /* 802134A8 00210408 41 82 00 20 */ beq lbl_802134C8 /* 802134AC 0021040C 7F 23 CB 78 */ mr r3, r25 /* 802134B0 00210410 38 81 00 78 */ addi r4, r1, 0x78 /* 802134B4 00210414 48 12 D9 F5 */ bl __ct__6CTokenFRC6CToken /* 802134B8 00210418 80 01 00 80 */ lwz r0, 0x80(r1) /* 802134BC 0021041C 7F 23 CB 78 */ mr r3, r25 /* 802134C0 00210420 90 19 00 08 */ stw r0, 8(r25) /* 802134C4 00210424 48 12 D8 C1 */ bl Lock__6CTokenFv lbl_802134C8: /* 802134C8 00210428 38 61 00 78 */ addi r3, r1, 0x78 /* 802134CC 0021042C 38 80 00 00 */ li r4, 0 /* 802134D0 00210430 48 12 D9 71 */ bl __dt__6CTokenFv /* 802134D4 00210434 38 61 00 44 */ addi r3, r1, 0x44 /* 802134D8 00210438 38 80 FF FF */ li r4, -1 /* 802134DC 0021043C 48 12 D9 65 */ bl __dt__6CTokenFv /* 802134E0 00210440 38 00 00 00 */ li r0, 0 /* 802134E4 00210444 3C 60 80 3D */ lis r3, lbl_803D2818@ha /* 802134E8 00210448 90 1A 0B 84 */ stw r0, 0xb84(r26) /* 802134EC 0021044C 38 A3 28 18 */ addi r5, r3, lbl_803D2818@l /* 802134F0 00210450 38 61 00 3C */ addi r3, r1, 0x3c /* 802134F4 00210454 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802134F8 00210458 38 A5 00 5C */ addi r5, r5, 0x5c /* 802134FC 0021045C 81 84 00 00 */ lwz r12, 0(r4) /* 80213500 00210460 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80213504 00210464 7D 89 03 A6 */ mtctr r12 /* 80213508 00210468 4E 80 04 21 */ bctrl /* 8021350C 0021046C 3B 21 00 6C */ addi r25, r1, 0x6c /* 80213510 00210470 38 81 00 3C */ addi r4, r1, 0x3c /* 80213514 00210474 7F 23 CB 78 */ mr r3, r25 /* 80213518 00210478 48 12 D9 91 */ bl __ct__6CTokenFRC6CToken /* 8021351C 0021047C 7F 23 CB 78 */ mr r3, r25 /* 80213520 00210480 48 12 D8 ED */ bl GetObj__6CTokenFv /* 80213524 00210484 80 63 00 04 */ lwz r3, 4(r3) /* 80213528 00210488 37 3A 0C 48 */ addic. r25, r26, 0xc48 /* 8021352C 0021048C 38 00 00 01 */ li r0, 1 /* 80213530 00210490 90 61 00 74 */ stw r3, 0x74(r1) /* 80213534 00210494 98 1A 0C 54 */ stb r0, 0xc54(r26) /* 80213538 00210498 41 82 00 20 */ beq lbl_80213558 /* 8021353C 0021049C 7F 23 CB 78 */ mr r3, r25 /* 80213540 002104A0 38 81 00 6C */ addi r4, r1, 0x6c /* 80213544 002104A4 48 12 D9 65 */ bl __ct__6CTokenFRC6CToken /* 80213548 002104A8 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021354C 002104AC 7F 23 CB 78 */ mr r3, r25 /* 80213550 002104B0 90 19 00 08 */ stw r0, 8(r25) /* 80213554 002104B4 48 12 D8 31 */ bl Lock__6CTokenFv lbl_80213558: /* 80213558 002104B8 38 61 00 6C */ addi r3, r1, 0x6c /* 8021355C 002104BC 38 80 00 00 */ li r4, 0 /* 80213560 002104C0 48 12 D8 E1 */ bl __dt__6CTokenFv /* 80213564 002104C4 38 61 00 3C */ addi r3, r1, 0x3c /* 80213568 002104C8 38 80 FF FF */ li r4, -1 /* 8021356C 002104CC 48 12 D8 D5 */ bl __dt__6CTokenFv /* 80213570 002104D0 38 61 00 28 */ addi r3, r1, 0x28 /* 80213574 002104D4 38 80 00 00 */ li r4, 0 /* 80213578 002104D8 48 0F F0 75 */ bl __ct__9CRandom16FUi /* 8021357C 002104DC 3B A1 00 D0 */ addi r29, r1, 0xd0 /* 80213580 002104E0 3B 80 00 00 */ li r28, 0 /* 80213584 002104E4 3B C0 00 00 */ li r30, 0 lbl_80213588: /* 80213588 002104E8 3B 60 00 00 */ li r27, 0 /* 8021358C 002104EC 3B E0 00 00 */ li r31, 0 lbl_80213590: /* 80213590 002104F0 38 00 00 00 */ li r0, 0 /* 80213594 002104F4 38 61 00 2C */ addi r3, r1, 0x2c /* 80213598 002104F8 90 01 00 60 */ stw r0, 0x60(r1) /* 8021359C 002104FC 38 80 08 00 */ li r4, 0x800 /* 802135A0 00210500 38 A0 08 00 */ li r5, 0x800 /* 802135A4 00210504 90 01 00 64 */ stw r0, 0x64(r1) /* 802135A8 00210508 90 01 00 68 */ stw r0, 0x68(r1) /* 802135AC 0021050C 48 10 0D A1 */ bl __ct__9CVector2iFii /* 802135B0 00210510 7C 79 1B 78 */ mr r25, r3 /* 802135B4 00210514 7F E4 FB 78 */ mr r4, r31 /* 802135B8 00210518 7F C5 F3 78 */ mr r5, r30 /* 802135BC 0021051C 38 61 00 34 */ addi r3, r1, 0x34 /* 802135C0 00210520 48 10 0D 8D */ bl __ct__9CVector2iFii /* 802135C4 00210524 7C 64 1B 78 */ mr r4, r3 /* 802135C8 00210528 7F 25 CB 78 */ mr r5, r25 /* 802135CC 0021052C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 802135D0 00210530 38 C1 00 5C */ addi r6, r1, 0x5c /* 802135D4 00210534 38 E0 00 AB */ li r7, 0xab /* 802135D8 00210538 48 00 02 B5 */ bl "__ct__17CEnvFxManagerGridFRC9CVector2iRC9CVector2iRCQ24rstl52vector<15CVectorFixed8_8,Q24rstl17rmemory_allocator>i" /* 802135DC 0021053C 38 7A 00 50 */ addi r3, r26, 0x50 /* 802135E0 00210540 38 81 00 B4 */ addi r4, r1, 0xb4 /* 802135E4 00210544 48 00 01 1D */ bl sub_80213700 /* 802135E8 00210548 28 1D 00 00 */ cmplwi r29, 0 /* 802135EC 0021054C 41 82 00 44 */ beq lbl_80213630 /* 802135F0 00210550 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 802135F4 00210554 80 61 00 DC */ lwz r3, 0xdc(r1) /* 802135F8 00210558 1C 00 00 06 */ mulli r0, r0, 6 /* 802135FC 0021055C 90 61 00 0C */ stw r3, 0xc(r1) /* 80213600 00210560 7C 64 1B 78 */ mr r4, r3 /* 80213604 00210564 7C 03 02 14 */ add r0, r3, r0 /* 80213608 00210568 90 61 00 08 */ stw r3, 8(r1) /* 8021360C 0021056C 90 01 00 14 */ stw r0, 0x14(r1) /* 80213610 00210570 90 01 00 10 */ stw r0, 0x10(r1) /* 80213614 00210574 48 00 00 08 */ b lbl_8021361C lbl_80213618: /* 80213618 00210578 38 84 00 06 */ addi r4, r4, 6 lbl_8021361C: /* 8021361C 0021057C 7C 04 00 40 */ cmplw r4, r0 /* 80213620 00210580 40 82 FF F8 */ bne lbl_80213618 /* 80213624 00210584 28 03 00 00 */ cmplwi r3, 0 /* 80213628 00210588 41 82 00 08 */ beq lbl_80213630 /* 8021362C 0021058C 48 10 23 05 */ bl Free__7CMemoryFPCv lbl_80213630: /* 80213630 00210590 80 01 00 60 */ lwz r0, 0x60(r1) /* 80213634 00210594 80 61 00 68 */ lwz r3, 0x68(r1) /* 80213638 00210598 1C 00 00 06 */ mulli r0, r0, 6 /* 8021363C 0021059C 90 61 00 1C */ stw r3, 0x1c(r1) /* 80213640 002105A0 7C 64 1B 78 */ mr r4, r3 /* 80213644 002105A4 7C 03 02 14 */ add r0, r3, r0 /* 80213648 002105A8 90 61 00 18 */ stw r3, 0x18(r1) /* 8021364C 002105AC 90 01 00 24 */ stw r0, 0x24(r1) /* 80213650 002105B0 90 01 00 20 */ stw r0, 0x20(r1) /* 80213654 002105B4 48 00 00 08 */ b lbl_8021365C lbl_80213658: /* 80213658 002105B8 38 84 00 06 */ addi r4, r4, 6 lbl_8021365C: /* 8021365C 002105BC 7C 04 00 40 */ cmplw r4, r0 /* 80213660 002105C0 40 82 FF F8 */ bne lbl_80213658 /* 80213664 002105C4 28 03 00 00 */ cmplwi r3, 0 /* 80213668 002105C8 41 82 00 08 */ beq lbl_80213670 /* 8021366C 002105CC 48 10 22 C5 */ bl Free__7CMemoryFPCv lbl_80213670: /* 80213670 002105D0 3B 7B 00 01 */ addi r27, r27, 1 /* 80213674 002105D4 3B FF 08 00 */ addi r31, r31, 0x800 /* 80213678 002105D8 2C 1B 00 08 */ cmpwi r27, 8 /* 8021367C 002105DC 41 80 FF 14 */ blt lbl_80213590 /* 80213680 002105E0 3B 9C 00 01 */ addi r28, r28, 1 /* 80213684 002105E4 3B DE 08 00 */ addi r30, r30, 0x800 /* 80213688 002105E8 2C 1C 00 08 */ cmpwi r28, 8 /* 8021368C 002105EC 41 80 FE FC */ blt lbl_80213588 /* 80213690 002105F0 C3 E2 B2 78 */ lfs f31, lbl_805ACF98@sda21(r2) /* 80213694 002105F4 3B 3A 0B 84 */ addi r25, r26, 0xb84 /* 80213698 002105F8 3B 60 00 0F */ li r27, 0xf lbl_8021369C: /* 8021369C 002105FC C0 22 B3 00 */ lfs f1, lbl_805AD020@sda21(r2) /* 802136A0 00210600 38 61 00 28 */ addi r3, r1, 0x28 /* 802136A4 00210604 C0 42 B3 04 */ lfs f2, lbl_805AD024@sda21(r2) /* 802136A8 00210608 48 0F EE 9D */ bl Range__9CRandom16Fff /* 802136AC 0021060C 80 19 00 00 */ lwz r0, 0(r25) /* 802136B0 00210610 1C 00 00 0C */ mulli r0, r0, 0xc /* 802136B4 00210614 7C 79 02 14 */ add r3, r25, r0 /* 802136B8 00210618 34 63 00 04 */ addic. r3, r3, 4 /* 802136BC 0021061C 41 82 00 10 */ beq lbl_802136CC /* 802136C0 00210620 D3 E3 00 00 */ stfs f31, 0(r3) /* 802136C4 00210624 D3 E3 00 04 */ stfs f31, 4(r3) /* 802136C8 00210628 D0 23 00 08 */ stfs f1, 8(r3) lbl_802136CC: /* 802136CC 0021062C 80 7A 0B 84 */ lwz r3, 0xb84(r26) /* 802136D0 00210630 37 7B FF FF */ addic. r27, r27, -1 /* 802136D4 00210634 38 03 00 01 */ addi r0, r3, 1 /* 802136D8 00210638 90 1A 0B 84 */ stw r0, 0xb84(r26) /* 802136DC 0021063C 40 80 FF C0 */ bge lbl_8021369C /* 802136E0 00210640 7F 43 D3 78 */ mr r3, r26 /* 802136E4 00210644 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 802136E8 00210648 CB E1 01 00 */ lfd f31, 0x100(r1) /* 802136EC 0021064C BB 21 00 E4 */ lmw r25, 0xe4(r1) /* 802136F0 00210650 80 01 01 14 */ lwz r0, 0x114(r1) /* 802136F4 00210654 7C 08 03 A6 */ mtlr r0 /* 802136F8 00210658 38 21 01 10 */ addi r1, r1, 0x110 /* 802136FC 0021065C 4E 80 00 20 */ blr .global sub_80213700 sub_80213700: /* 80213700 00210660 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80213704 00210664 7C 08 02 A6 */ mflr r0 /* 80213708 00210668 90 01 00 14 */ stw r0, 0x14(r1) /* 8021370C 0021066C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80213710 00210670 7C 7F 1B 78 */ mr r31, r3 /* 80213714 00210674 80 03 00 00 */ lwz r0, 0(r3) /* 80213718 00210678 1C 00 00 2C */ mulli r0, r0, 0x2c /* 8021371C 0021067C 7C 7F 02 14 */ add r3, r31, r0 /* 80213720 00210680 38 63 00 04 */ addi r3, r3, 4 /* 80213724 00210684 48 00 00 25 */ bl sub_80213748 /* 80213728 00210688 80 7F 00 00 */ lwz r3, 0(r31) /* 8021372C 0021068C 38 03 00 01 */ addi r0, r3, 1 /* 80213730 00210690 90 1F 00 00 */ stw r0, 0(r31) /* 80213734 00210694 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80213738 00210698 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021373C 0021069C 7C 08 03 A6 */ mtlr r0 /* 80213740 002106A0 38 21 00 10 */ addi r1, r1, 0x10 /* 80213744 002106A4 4E 80 00 20 */ blr .global sub_80213748 sub_80213748: /* 80213748 002106A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021374C 002106AC 7C 08 02 A6 */ mflr r0 /* 80213750 002106B0 28 03 00 00 */ cmplwi r3, 0 /* 80213754 002106B4 90 01 00 14 */ stw r0, 0x14(r1) /* 80213758 002106B8 41 82 00 08 */ beq lbl_80213760 /* 8021375C 002106BC 48 00 00 15 */ bl sub_80213770 lbl_80213760: /* 80213760 002106C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80213764 002106C4 7C 08 03 A6 */ mtlr r0 /* 80213768 002106C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8021376C 002106CC 4E 80 00 20 */ blr .global sub_80213770 sub_80213770: /* 80213770 002106D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80213774 002106D4 7C 08 02 A6 */ mflr r0 /* 80213778 002106D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8021377C 002106DC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80213780 002106E0 7C 7F 1B 78 */ mr r31, r3 /* 80213784 002106E4 93 C1 00 08 */ stw r30, 8(r1) /* 80213788 002106E8 7C 9E 23 78 */ mr r30, r4 /* 8021378C 002106EC 88 04 00 00 */ lbz r0, 0(r4) /* 80213790 002106F0 98 03 00 00 */ stb r0, 0(r3) /* 80213794 002106F4 80 04 00 04 */ lwz r0, 4(r4) /* 80213798 002106F8 90 03 00 04 */ stw r0, 4(r3) /* 8021379C 002106FC 80 04 00 08 */ lwz r0, 8(r4) /* 802137A0 00210700 90 03 00 08 */ stw r0, 8(r3) /* 802137A4 00210704 80 04 00 0C */ lwz r0, 0xc(r4) /* 802137A8 00210708 90 03 00 0C */ stw r0, 0xc(r3) /* 802137AC 0021070C 80 04 00 10 */ lwz r0, 0x10(r4) /* 802137B0 00210710 90 03 00 10 */ stw r0, 0x10(r3) /* 802137B4 00210714 88 04 00 14 */ lbz r0, 0x14(r4) /* 802137B8 00210718 98 03 00 14 */ stb r0, 0x14(r3) /* 802137BC 0021071C C0 04 00 18 */ lfs f0, 0x18(r4) /* 802137C0 00210720 D0 03 00 18 */ stfs f0, 0x18(r3) /* 802137C4 00210724 80 04 00 20 */ lwz r0, 0x20(r4) /* 802137C8 00210728 90 03 00 20 */ stw r0, 0x20(r3) /* 802137CC 0021072C 80 04 00 24 */ lwz r0, 0x24(r4) /* 802137D0 00210730 90 03 00 24 */ stw r0, 0x24(r3) /* 802137D4 00210734 80 04 00 20 */ lwz r0, 0x20(r4) /* 802137D8 00210738 2C 00 00 00 */ cmpwi r0, 0 /* 802137DC 0021073C 40 82 00 1C */ bne lbl_802137F8 /* 802137E0 00210740 80 1E 00 24 */ lwz r0, 0x24(r30) /* 802137E4 00210744 2C 00 00 00 */ cmpwi r0, 0 /* 802137E8 00210748 40 82 00 10 */ bne lbl_802137F8 /* 802137EC 0021074C 38 00 00 00 */ li r0, 0 /* 802137F0 00210750 90 1F 00 28 */ stw r0, 0x28(r31) /* 802137F4 00210754 48 00 00 7C */ b lbl_80213870 lbl_802137F8: /* 802137F8 00210758 80 1F 00 24 */ lwz r0, 0x24(r31) /* 802137FC 0021075C 1C 60 00 06 */ mulli r3, r0, 6 /* 80213800 00210760 2C 03 00 00 */ cmpwi r3, 0 /* 80213804 00210764 40 82 00 10 */ bne lbl_80213814 /* 80213808 00210768 38 00 00 00 */ li r0, 0 /* 8021380C 0021076C 90 1F 00 28 */ stw r0, 0x28(r31) /* 80213810 00210770 48 00 00 1C */ b lbl_8021382C lbl_80213814: /* 80213814 00210774 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 80213818 00210778 38 A0 00 00 */ li r5, 0 /* 8021381C 0021077C 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 80213820 00210780 38 84 00 10 */ addi r4, r4, 0x10 /* 80213824 00210784 48 10 1F F5 */ bl __nwa__FUlPCcPCc /* 80213828 00210788 90 7F 00 28 */ stw r3, 0x28(r31) lbl_8021382C: /* 8021382C 0021078C 80 1F 00 20 */ lwz r0, 0x20(r31) /* 80213830 00210790 80 9E 00 28 */ lwz r4, 0x28(r30) /* 80213834 00210794 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80213838 00210798 7C 09 03 A6 */ mtctr r0 /* 8021383C 0021079C 2C 00 00 00 */ cmpwi r0, 0 /* 80213840 002107A0 40 81 00 30 */ ble lbl_80213870 lbl_80213844: /* 80213844 002107A4 28 03 00 00 */ cmplwi r3, 0 /* 80213848 002107A8 41 82 00 1C */ beq lbl_80213864 /* 8021384C 002107AC A8 04 00 00 */ lha r0, 0(r4) /* 80213850 002107B0 B0 03 00 00 */ sth r0, 0(r3) /* 80213854 002107B4 A8 04 00 02 */ lha r0, 2(r4) /* 80213858 002107B8 B0 03 00 02 */ sth r0, 2(r3) /* 8021385C 002107BC A8 04 00 04 */ lha r0, 4(r4) /* 80213860 002107C0 B0 03 00 04 */ sth r0, 4(r3) lbl_80213864: /* 80213864 002107C4 38 63 00 06 */ addi r3, r3, 6 /* 80213868 002107C8 38 84 00 06 */ addi r4, r4, 6 /* 8021386C 002107CC 42 00 FF D8 */ bdnz lbl_80213844 lbl_80213870: /* 80213870 002107D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80213874 002107D4 7F E3 FB 78 */ mr r3, r31 /* 80213878 002107D8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8021387C 002107DC 83 C1 00 08 */ lwz r30, 8(r1) /* 80213880 002107E0 7C 08 03 A6 */ mtlr r0 /* 80213884 002107E4 38 21 00 10 */ addi r1, r1, 0x10 /* 80213888 002107E8 4E 80 00 20 */ blr .global "__ct__17CEnvFxManagerGridFRC9CVector2iRC9CVector2iRCQ24rstl52vector<15CVectorFixed8_8,Q24rstl17rmemory_allocator>i" "__ct__17CEnvFxManagerGridFRC9CVector2iRC9CVector2iRCQ24rstl52vector<15CVectorFixed8_8,Q24rstl17rmemory_allocator>i": /* 8021388C 002107EC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80213890 002107F0 7C 08 02 A6 */ mflr r0 /* 80213894 002107F4 C0 02 B3 08 */ lfs f0, lbl_805AD028@sda21(r2) /* 80213898 002107F8 90 01 00 24 */ stw r0, 0x24(r1) /* 8021389C 002107FC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802138A0 00210800 7C FF 3B 78 */ mr r31, r7 /* 802138A4 00210804 93 C1 00 18 */ stw r30, 0x18(r1) /* 802138A8 00210808 7C DE 33 78 */ mr r30, r6 /* 802138AC 0021080C 93 A1 00 14 */ stw r29, 0x14(r1) /* 802138B0 00210810 7C 7D 1B 78 */ mr r29, r3 /* 802138B4 00210814 38 60 00 01 */ li r3, 1 /* 802138B8 00210818 88 1D 00 00 */ lbz r0, 0(r29) /* 802138BC 0021081C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802138C0 00210820 98 1D 00 00 */ stb r0, 0(r29) /* 802138C4 00210824 80 04 00 00 */ lwz r0, 0(r4) /* 802138C8 00210828 90 1D 00 04 */ stw r0, 4(r29) /* 802138CC 0021082C 80 04 00 04 */ lwz r0, 4(r4) /* 802138D0 00210830 90 1D 00 08 */ stw r0, 8(r29) /* 802138D4 00210834 80 05 00 00 */ lwz r0, 0(r5) /* 802138D8 00210838 90 1D 00 0C */ stw r0, 0xc(r29) /* 802138DC 0021083C 80 05 00 04 */ lwz r0, 4(r5) /* 802138E0 00210840 90 1D 00 10 */ stw r0, 0x10(r29) /* 802138E4 00210844 88 0D 94 B8 */ lbz r0, lbl_805A8078@sda21(r13) /* 802138E8 00210848 98 1D 00 14 */ stb r0, 0x14(r29) /* 802138EC 0021084C D0 1D 00 18 */ stfs f0, 0x18(r29) /* 802138F0 00210850 80 06 00 04 */ lwz r0, 4(r6) /* 802138F4 00210854 90 1D 00 20 */ stw r0, 0x20(r29) /* 802138F8 00210858 80 06 00 08 */ lwz r0, 8(r6) /* 802138FC 0021085C 90 1D 00 24 */ stw r0, 0x24(r29) /* 80213900 00210860 80 06 00 04 */ lwz r0, 4(r6) /* 80213904 00210864 2C 00 00 00 */ cmpwi r0, 0 /* 80213908 00210868 40 82 00 1C */ bne lbl_80213924 /* 8021390C 0021086C 80 1E 00 08 */ lwz r0, 8(r30) /* 80213910 00210870 2C 00 00 00 */ cmpwi r0, 0 /* 80213914 00210874 40 82 00 10 */ bne lbl_80213924 /* 80213918 00210878 38 00 00 00 */ li r0, 0 /* 8021391C 0021087C 90 1D 00 28 */ stw r0, 0x28(r29) /* 80213920 00210880 48 00 00 7C */ b lbl_8021399C lbl_80213924: /* 80213924 00210884 80 1D 00 24 */ lwz r0, 0x24(r29) /* 80213928 00210888 1C 60 00 06 */ mulli r3, r0, 6 /* 8021392C 0021088C 2C 03 00 00 */ cmpwi r3, 0 /* 80213930 00210890 40 82 00 10 */ bne lbl_80213940 /* 80213934 00210894 38 00 00 00 */ li r0, 0 /* 80213938 00210898 90 1D 00 28 */ stw r0, 0x28(r29) /* 8021393C 0021089C 48 00 00 1C */ b lbl_80213958 lbl_80213940: /* 80213940 002108A0 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 80213944 002108A4 38 A0 00 00 */ li r5, 0 /* 80213948 002108A8 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 8021394C 002108AC 38 84 00 10 */ addi r4, r4, 0x10 /* 80213950 002108B0 48 10 1E C9 */ bl __nwa__FUlPCcPCc /* 80213954 002108B4 90 7D 00 28 */ stw r3, 0x28(r29) lbl_80213958: /* 80213958 002108B8 80 1D 00 20 */ lwz r0, 0x20(r29) /* 8021395C 002108BC 80 9E 00 0C */ lwz r4, 0xc(r30) /* 80213960 002108C0 80 7D 00 28 */ lwz r3, 0x28(r29) /* 80213964 002108C4 7C 09 03 A6 */ mtctr r0 /* 80213968 002108C8 2C 00 00 00 */ cmpwi r0, 0 /* 8021396C 002108CC 40 81 00 30 */ ble lbl_8021399C lbl_80213970: /* 80213970 002108D0 28 03 00 00 */ cmplwi r3, 0 /* 80213974 002108D4 41 82 00 1C */ beq lbl_80213990 /* 80213978 002108D8 A8 04 00 00 */ lha r0, 0(r4) /* 8021397C 002108DC B0 03 00 00 */ sth r0, 0(r3) /* 80213980 002108E0 A8 04 00 02 */ lha r0, 2(r4) /* 80213984 002108E4 B0 03 00 02 */ sth r0, 2(r3) /* 80213988 002108E8 A8 04 00 04 */ lha r0, 4(r4) /* 8021398C 002108EC B0 03 00 04 */ sth r0, 4(r3) lbl_80213990: /* 80213990 002108F0 38 63 00 06 */ addi r3, r3, 6 /* 80213994 002108F4 38 84 00 06 */ addi r4, r4, 6 /* 80213998 002108F8 42 00 FF D8 */ bdnz lbl_80213970 lbl_8021399C: /* 8021399C 002108FC 7F E4 FB 78 */ mr r4, r31 /* 802139A0 00210900 38 7D 00 1C */ addi r3, r29, 0x1c /* 802139A4 00210904 48 00 00 25 */ bl sub_802139c8 /* 802139A8 00210908 80 01 00 24 */ lwz r0, 0x24(r1) /* 802139AC 0021090C 7F A3 EB 78 */ mr r3, r29 /* 802139B0 00210910 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802139B4 00210914 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802139B8 00210918 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802139BC 0021091C 7C 08 03 A6 */ mtlr r0 /* 802139C0 00210920 38 21 00 20 */ addi r1, r1, 0x20 /* 802139C4 00210924 4E 80 00 20 */ blr .global sub_802139c8 sub_802139c8: /* 802139C8 00210928 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802139CC 0021092C 7C 08 02 A6 */ mflr r0 /* 802139D0 00210930 90 01 00 34 */ stw r0, 0x34(r1) /* 802139D4 00210934 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802139D8 00210938 7C 9F 23 78 */ mr r31, r4 /* 802139DC 0021093C 93 C1 00 28 */ stw r30, 0x28(r1) /* 802139E0 00210940 7C 7E 1B 78 */ mr r30, r3 /* 802139E4 00210944 93 A1 00 24 */ stw r29, 0x24(r1) /* 802139E8 00210948 80 03 00 08 */ lwz r0, 8(r3) /* 802139EC 0021094C 7C 1F 00 00 */ cmpw r31, r0 /* 802139F0 00210950 40 81 00 C0 */ ble lbl_80213AB0 /* 802139F4 00210954 1C 7F 00 06 */ mulli r3, r31, 6 /* 802139F8 00210958 2C 03 00 00 */ cmpwi r3, 0 /* 802139FC 0021095C 40 82 00 0C */ bne lbl_80213A08 /* 80213A00 00210960 3B A0 00 00 */ li r29, 0 /* 80213A04 00210964 48 00 00 1C */ b lbl_80213A20 lbl_80213A08: /* 80213A08 00210968 3C 80 80 3D */ lis r4, lbl_803D2818@ha /* 80213A0C 0021096C 38 A0 00 00 */ li r5, 0 /* 80213A10 00210970 38 84 28 18 */ addi r4, r4, lbl_803D2818@l /* 80213A14 00210974 38 84 00 10 */ addi r4, r4, 0x10 /* 80213A18 00210978 48 10 1E 01 */ bl __nwa__FUlPCcPCc /* 80213A1C 0021097C 7C 7D 1B 78 */ mr r29, r3 lbl_80213A20: /* 80213A20 00210980 80 1E 00 04 */ lwz r0, 4(r30) /* 80213A24 00210984 7F A4 EB 78 */ mr r4, r29 /* 80213A28 00210988 80 BE 00 0C */ lwz r5, 0xc(r30) /* 80213A2C 0021098C 1C 00 00 06 */ mulli r0, r0, 6 /* 80213A30 00210990 90 A1 00 10 */ stw r5, 0x10(r1) /* 80213A34 00210994 7C 65 02 14 */ add r3, r5, r0 /* 80213A38 00210998 90 A1 00 14 */ stw r5, 0x14(r1) /* 80213A3C 0021099C 90 61 00 08 */ stw r3, 8(r1) /* 80213A40 002109A0 90 61 00 0C */ stw r3, 0xc(r1) /* 80213A44 002109A4 48 00 00 2C */ b lbl_80213A70 lbl_80213A48: /* 80213A48 002109A8 28 04 00 00 */ cmplwi r4, 0 /* 80213A4C 002109AC 41 82 00 1C */ beq lbl_80213A68 /* 80213A50 002109B0 A8 05 00 00 */ lha r0, 0(r5) /* 80213A54 002109B4 B0 04 00 00 */ sth r0, 0(r4) /* 80213A58 002109B8 A8 05 00 02 */ lha r0, 2(r5) /* 80213A5C 002109BC B0 04 00 02 */ sth r0, 2(r4) /* 80213A60 002109C0 A8 05 00 04 */ lha r0, 4(r5) /* 80213A64 002109C4 B0 04 00 04 */ sth r0, 4(r4) lbl_80213A68: /* 80213A68 002109C8 38 84 00 06 */ addi r4, r4, 6 /* 80213A6C 002109CC 38 A5 00 06 */ addi r5, r5, 6 lbl_80213A70: /* 80213A70 002109D0 7C 05 18 40 */ cmplw r5, r3 /* 80213A74 002109D4 40 82 FF D4 */ bne lbl_80213A48 /* 80213A78 002109D8 80 1E 00 04 */ lwz r0, 4(r30) /* 80213A7C 002109DC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80213A80 002109E0 1C 00 00 06 */ mulli r0, r0, 6 /* 80213A84 002109E4 7C 64 1B 78 */ mr r4, r3 /* 80213A88 002109E8 7C 03 02 14 */ add r0, r3, r0 /* 80213A8C 002109EC 48 00 00 08 */ b lbl_80213A94 lbl_80213A90: /* 80213A90 002109F0 38 84 00 06 */ addi r4, r4, 6 lbl_80213A94: /* 80213A94 002109F4 7C 04 00 40 */ cmplw r4, r0 /* 80213A98 002109F8 40 82 FF F8 */ bne lbl_80213A90 /* 80213A9C 002109FC 28 03 00 00 */ cmplwi r3, 0 /* 80213AA0 00210A00 41 82 00 08 */ beq lbl_80213AA8 /* 80213AA4 00210A04 48 10 1E 8D */ bl Free__7CMemoryFPCv lbl_80213AA8: /* 80213AA8 00210A08 93 BE 00 0C */ stw r29, 0xc(r30) /* 80213AAC 00210A0C 93 FE 00 08 */ stw r31, 8(r30) lbl_80213AB0: /* 80213AB0 00210A10 80 01 00 34 */ lwz r0, 0x34(r1) /* 80213AB4 00210A14 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80213AB8 00210A18 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80213ABC 00210A1C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80213AC0 00210A20 7C 08 03 A6 */ mtlr r0 /* 80213AC4 00210A24 38 21 00 30 */ addi r1, r1, 0x30 /* 80213AC8 00210A28 4E 80 00 20 */ blr .global SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData SetCameraShake__17CEnergyProjectileFRC16CCameraShakeData: /* 80213ACC 00210A2C C0 04 00 00 */ lfs f0, 0(r4) /* 80213AD0 00210A30 38 A0 00 01 */ li r5, 1 /* 80213AD4 00210A34 D0 03 02 FC */ stfs f0, 0x2fc(r3) /* 80213AD8 00210A38 C0 04 00 04 */ lfs f0, 4(r4) /* 80213ADC 00210A3C D0 03 03 00 */ stfs f0, 0x300(r3) /* 80213AE0 00210A40 80 04 00 0C */ lwz r0, 0xc(r4) /* 80213AE4 00210A44 90 03 03 08 */ stw r0, 0x308(r3) /* 80213AE8 00210A48 80 C4 00 10 */ lwz r6, 0x10(r4) /* 80213AEC 00210A4C 80 04 00 14 */ lwz r0, 0x14(r4) /* 80213AF0 00210A50 90 C3 03 0C */ stw r6, 0x30c(r3) /* 80213AF4 00210A54 90 03 03 10 */ stw r0, 0x310(r3) /* 80213AF8 00210A58 80 C4 00 18 */ lwz r6, 0x18(r4) /* 80213AFC 00210A5C 80 04 00 1C */ lwz r0, 0x1c(r4) /* 80213B00 00210A60 90 C3 03 14 */ stw r6, 0x314(r3) /* 80213B04 00210A64 90 03 03 18 */ stw r0, 0x318(r3) /* 80213B08 00210A68 80 C4 00 20 */ lwz r6, 0x20(r4) /* 80213B0C 00210A6C 80 04 00 24 */ lwz r0, 0x24(r4) /* 80213B10 00210A70 90 C3 03 1C */ stw r6, 0x31c(r3) /* 80213B14 00210A74 90 03 03 20 */ stw r0, 0x320(r3) /* 80213B18 00210A78 80 C4 00 28 */ lwz r6, 0x28(r4) /* 80213B1C 00210A7C 80 04 00 2C */ lwz r0, 0x2c(r4) /* 80213B20 00210A80 90 C3 03 24 */ stw r6, 0x324(r3) /* 80213B24 00210A84 90 03 03 28 */ stw r0, 0x328(r3) /* 80213B28 00210A88 80 C4 00 30 */ lwz r6, 0x30(r4) /* 80213B2C 00210A8C 80 04 00 34 */ lwz r0, 0x34(r4) /* 80213B30 00210A90 90 C3 03 2C */ stw r6, 0x32c(r3) /* 80213B34 00210A94 90 03 03 30 */ stw r0, 0x330(r3) /* 80213B38 00210A98 80 C4 00 38 */ lwz r6, 0x38(r4) /* 80213B3C 00210A9C 80 04 00 3C */ lwz r0, 0x3c(r4) /* 80213B40 00210AA0 90 C3 03 34 */ stw r6, 0x334(r3) /* 80213B44 00210AA4 90 03 03 38 */ stw r0, 0x338(r3) /* 80213B48 00210AA8 C0 04 00 40 */ lfs f0, 0x40(r4) /* 80213B4C 00210AAC D0 03 03 3C */ stfs f0, 0x33c(r3) /* 80213B50 00210AB0 80 04 00 48 */ lwz r0, 0x48(r4) /* 80213B54 00210AB4 90 03 03 44 */ stw r0, 0x344(r3) /* 80213B58 00210AB8 80 C4 00 4C */ lwz r6, 0x4c(r4) /* 80213B5C 00210ABC 80 04 00 50 */ lwz r0, 0x50(r4) /* 80213B60 00210AC0 90 C3 03 48 */ stw r6, 0x348(r3) /* 80213B64 00210AC4 90 03 03 4C */ stw r0, 0x34c(r3) /* 80213B68 00210AC8 80 C4 00 54 */ lwz r6, 0x54(r4) /* 80213B6C 00210ACC 80 04 00 58 */ lwz r0, 0x58(r4) /* 80213B70 00210AD0 90 C3 03 50 */ stw r6, 0x350(r3) /* 80213B74 00210AD4 90 03 03 54 */ stw r0, 0x354(r3) /* 80213B78 00210AD8 80 C4 00 5C */ lwz r6, 0x5c(r4) /* 80213B7C 00210ADC 80 04 00 60 */ lwz r0, 0x60(r4) /* 80213B80 00210AE0 90 C3 03 58 */ stw r6, 0x358(r3) /* 80213B84 00210AE4 90 03 03 5C */ stw r0, 0x35c(r3) /* 80213B88 00210AE8 80 C4 00 64 */ lwz r6, 0x64(r4) /* 80213B8C 00210AEC 80 04 00 68 */ lwz r0, 0x68(r4) /* 80213B90 00210AF0 90 C3 03 60 */ stw r6, 0x360(r3) /* 80213B94 00210AF4 90 03 03 64 */ stw r0, 0x364(r3) /* 80213B98 00210AF8 80 C4 00 6C */ lwz r6, 0x6c(r4) /* 80213B9C 00210AFC 80 04 00 70 */ lwz r0, 0x70(r4) /* 80213BA0 00210B00 90 C3 03 68 */ stw r6, 0x368(r3) /* 80213BA4 00210B04 90 03 03 6C */ stw r0, 0x36c(r3) /* 80213BA8 00210B08 80 C4 00 74 */ lwz r6, 0x74(r4) /* 80213BAC 00210B0C 80 04 00 78 */ lwz r0, 0x78(r4) /* 80213BB0 00210B10 90 C3 03 70 */ stw r6, 0x370(r3) /* 80213BB4 00210B14 90 03 03 74 */ stw r0, 0x374(r3) /* 80213BB8 00210B18 C0 04 00 7C */ lfs f0, 0x7c(r4) /* 80213BBC 00210B1C D0 03 03 78 */ stfs f0, 0x378(r3) /* 80213BC0 00210B20 80 04 00 84 */ lwz r0, 0x84(r4) /* 80213BC4 00210B24 90 03 03 80 */ stw r0, 0x380(r3) /* 80213BC8 00210B28 80 C4 00 88 */ lwz r6, 0x88(r4) /* 80213BCC 00210B2C 80 04 00 8C */ lwz r0, 0x8c(r4) /* 80213BD0 00210B30 90 C3 03 84 */ stw r6, 0x384(r3) /* 80213BD4 00210B34 90 03 03 88 */ stw r0, 0x388(r3) /* 80213BD8 00210B38 80 C4 00 90 */ lwz r6, 0x90(r4) /* 80213BDC 00210B3C 80 04 00 94 */ lwz r0, 0x94(r4) /* 80213BE0 00210B40 90 C3 03 8C */ stw r6, 0x38c(r3) /* 80213BE4 00210B44 90 03 03 90 */ stw r0, 0x390(r3) /* 80213BE8 00210B48 80 C4 00 98 */ lwz r6, 0x98(r4) /* 80213BEC 00210B4C 80 04 00 9C */ lwz r0, 0x9c(r4) /* 80213BF0 00210B50 90 C3 03 94 */ stw r6, 0x394(r3) /* 80213BF4 00210B54 90 03 03 98 */ stw r0, 0x398(r3) /* 80213BF8 00210B58 80 C4 00 A0 */ lwz r6, 0xa0(r4) /* 80213BFC 00210B5C 80 04 00 A4 */ lwz r0, 0xa4(r4) /* 80213C00 00210B60 90 C3 03 9C */ stw r6, 0x39c(r3) /* 80213C04 00210B64 90 03 03 A0 */ stw r0, 0x3a0(r3) /* 80213C08 00210B68 80 C4 00 A8 */ lwz r6, 0xa8(r4) /* 80213C0C 00210B6C 80 04 00 AC */ lwz r0, 0xac(r4) /* 80213C10 00210B70 90 C3 03 A4 */ stw r6, 0x3a4(r3) /* 80213C14 00210B74 90 03 03 A8 */ stw r0, 0x3a8(r3) /* 80213C18 00210B78 80 C4 00 B0 */ lwz r6, 0xb0(r4) /* 80213C1C 00210B7C 80 04 00 B4 */ lwz r0, 0xb4(r4) /* 80213C20 00210B80 90 C3 03 AC */ stw r6, 0x3ac(r3) /* 80213C24 00210B84 90 03 03 B0 */ stw r0, 0x3b0(r3) /* 80213C28 00210B88 C0 04 00 B8 */ lfs f0, 0xb8(r4) /* 80213C2C 00210B8C D0 03 03 B4 */ stfs f0, 0x3b4(r3) /* 80213C30 00210B90 80 04 00 BC */ lwz r0, 0xbc(r4) /* 80213C34 00210B94 90 03 03 B8 */ stw r0, 0x3b8(r3) /* 80213C38 00210B98 80 04 00 C0 */ lwz r0, 0xc0(r4) /* 80213C3C 00210B9C 90 03 03 BC */ stw r0, 0x3bc(r3) /* 80213C40 00210BA0 80 C4 00 C4 */ lwz r6, 0xc4(r4) /* 80213C44 00210BA4 80 04 00 C8 */ lwz r0, 0xc8(r4) /* 80213C48 00210BA8 90 C3 03 C0 */ stw r6, 0x3c0(r3) /* 80213C4C 00210BAC 90 03 03 C4 */ stw r0, 0x3c4(r3) /* 80213C50 00210BB0 80 04 00 CC */ lwz r0, 0xcc(r4) /* 80213C54 00210BB4 90 03 03 C8 */ stw r0, 0x3c8(r3) /* 80213C58 00210BB8 C0 04 00 D0 */ lfs f0, 0xd0(r4) /* 80213C5C 00210BBC D0 03 03 CC */ stfs f0, 0x3cc(r3) /* 80213C60 00210BC0 88 03 03 D0 */ lbz r0, 0x3d0(r3) /* 80213C64 00210BC4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80213C68 00210BC8 98 03 03 D0 */ stb r0, 0x3d0(r3) /* 80213C6C 00210BCC 4E 80 00 20 */ blr .global PlayImpactSound__17CEnergyProjectileFRC9CVector3f29EWeaponCollisionResponseTypes PlayImpactSound__17CEnergyProjectileFRC9CVector3f29EWeaponCollisionResponseTypes: /* 80213C70 00210BD0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80213C74 00210BD4 7C 08 02 A6 */ mflr r0 /* 80213C78 00210BD8 90 01 00 64 */ stw r0, 0x64(r1) /* 80213C7C 00210BDC DB E1 00 50 */ stfd f31, 0x50(r1) /* 80213C80 00210BE0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80213C84 00210BE4 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80213C88 00210BE8 93 C1 00 48 */ stw r30, 0x48(r1) /* 80213C8C 00210BEC 93 A1 00 44 */ stw r29, 0x44(r1) /* 80213C90 00210BF0 93 81 00 40 */ stw r28, 0x40(r1) /* 80213C94 00210BF4 7C 7C 1B 78 */ mr r28, r3 /* 80213C98 00210BF8 7C 9D 23 78 */ mr r29, r4 /* 80213C9C 00210BFC 3B DC 01 70 */ addi r30, r28, 0x170 /* 80213CA0 00210C00 7C A4 2B 78 */ mr r4, r5 /* 80213CA4 00210C04 7F C3 F3 78 */ mr r3, r30 /* 80213CA8 00210C08 48 09 B6 25 */ bl GetSoundIdForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes /* 80213CAC 00210C0C 7C 7F 1B 79 */ or. r31, r3, r3 /* 80213CB0 00210C10 41 80 00 CC */ blt lbl_80213D7C /* 80213CB4 00210C14 7F C3 F3 78 */ mr r3, r30 /* 80213CB8 00210C18 48 09 B5 1D */ bl GetAudibleRange__17CProjectileWeaponCFv /* 80213CBC 00210C1C FF E0 08 90 */ fmr f31, f1 /* 80213CC0 00210C20 7F C3 F3 78 */ mr r3, r30 /* 80213CC4 00210C24 48 09 B4 9D */ bl GetAudibleFallOff__17CProjectileWeaponCFv /* 80213CC8 00210C28 C0 82 B3 10 */ lfs f4, lbl_805AD030@sda21(r2) /* 80213CCC 00210C2C 38 C0 00 00 */ li r6, 0 /* 80213CD0 00210C30 88 A2 CC 40 */ lbz r5, lbl_805AE960@sda21(r2) /* 80213CD4 00210C34 38 E0 00 01 */ li r7, 1 /* 80213CD8 00210C38 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) /* 80213CDC 00210C3C 38 80 00 14 */ li r4, 0x14 /* 80213CE0 00210C40 D0 81 00 14 */ stfs f4, 0x14(r1) /* 80213CE4 00210C44 57 E3 04 3E */ clrlwi r3, r31, 0x10 /* 80213CE8 00210C48 C0 7D 00 00 */ lfs f3, 0(r29) /* 80213CEC 00210C4C D0 81 00 18 */ stfs f4, 0x18(r1) /* 80213CF0 00210C50 C0 5D 00 04 */ lfs f2, 4(r29) /* 80213CF4 00210C54 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 80213CF8 00210C58 C0 1D 00 08 */ lfs f0, 8(r29) /* 80213CFC 00210C5C D0 81 00 20 */ stfs f4, 0x20(r1) /* 80213D00 00210C60 D0 81 00 24 */ stfs f4, 0x24(r1) /* 80213D04 00210C64 D0 81 00 28 */ stfs f4, 0x28(r1) /* 80213D08 00210C68 D3 E1 00 2C */ stfs f31, 0x2c(r1) /* 80213D0C 00210C6C D0 21 00 30 */ stfs f1, 0x30(r1) /* 80213D10 00210C70 90 E1 00 34 */ stw r7, 0x34(r1) /* 80213D14 00210C74 B0 C1 00 38 */ sth r6, 0x38(r1) /* 80213D18 00210C78 98 A1 00 3A */ stb r5, 0x3a(r1) /* 80213D1C 00210C7C 98 81 00 3B */ stb r4, 0x3b(r1) /* 80213D20 00210C80 98 C1 00 3C */ stb r6, 0x3c(r1) /* 80213D24 00210C84 98 01 00 3D */ stb r0, 0x3d(r1) /* 80213D28 00210C88 D0 61 00 14 */ stfs f3, 0x14(r1) /* 80213D2C 00210C8C D0 41 00 18 */ stfs f2, 0x18(r1) /* 80213D30 00210C90 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80213D34 00210C94 48 0D 4C 7D */ bl TranslateSFXID__11CSfxManagerFUs /* 80213D38 00210C98 B0 61 00 38 */ sth r3, 0x38(r1) /* 80213D3C 00210C9C 38 61 00 0C */ addi r3, r1, 0xc /* 80213D40 00210CA0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) /* 80213D44 00210CA4 38 81 00 14 */ addi r4, r1, 0x14 /* 80213D48 00210CA8 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) /* 80213D4C 00210CAC 38 A0 00 01 */ li r5, 1 /* 80213D50 00210CB0 38 E0 00 00 */ li r7, 0 /* 80213D54 00210CB4 48 0D 62 8D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi /* 80213D58 00210CB8 88 1C 02 E4 */ lbz r0, 0x2e4(r28) /* 80213D5C 00210CBC 80 61 00 0C */ lwz r3, 0xc(r1) /* 80213D60 00210CC0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80213D64 00210CC4 90 61 00 10 */ stw r3, 0x10(r1) /* 80213D68 00210CC8 41 82 00 14 */ beq lbl_80213D7C /* 80213D6C 00210CCC 90 61 00 08 */ stw r3, 8(r1) /* 80213D70 00210CD0 38 61 00 08 */ addi r3, r1, 8 /* 80213D74 00210CD4 38 80 00 00 */ li r4, 0 /* 80213D78 00210CD8 48 0D 51 35 */ bl PitchBend__11CSfxManagerF10CSfxHandlei lbl_80213D7C: /* 80213D7C 00210CDC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80213D80 00210CE0 80 01 00 64 */ lwz r0, 0x64(r1) /* 80213D84 00210CE4 CB E1 00 50 */ lfd f31, 0x50(r1) /* 80213D88 00210CE8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80213D8C 00210CEC 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80213D90 00210CF0 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80213D94 00210CF4 83 81 00 40 */ lwz r28, 0x40(r1) /* 80213D98 00210CF8 7C 08 03 A6 */ mtlr r0 /* 80213D9C 00210CFC 38 21 00 60 */ addi r1, r1, 0x60 /* 80213DA0 00210D00 4E 80 00 20 */ blr .global ChangeProjectileOwner__17CEnergyProjectileF9TUniqueIdR13CStateManager ChangeProjectileOwner__17CEnergyProjectileF9TUniqueIdR13CStateManager: /* 80213DA4 00210D04 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80213DA8 00210D08 7C 08 02 A6 */ mflr r0 /* 80213DAC 00210D0C 90 01 00 74 */ stw r0, 0x74(r1) /* 80213DB0 00210D10 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80213DB4 00210D14 7C 7F 1B 78 */ mr r31, r3 /* 80213DB8 00210D18 93 C1 00 68 */ stw r30, 0x68(r1) /* 80213DBC 00210D1C 7C BE 2B 78 */ mr r30, r5 /* 80213DC0 00210D20 7F C3 F3 78 */ mr r3, r30 /* 80213DC4 00210D24 93 A1 00 64 */ stw r29, 0x64(r1) /* 80213DC8 00210D28 7C 9D 23 78 */ mr r29, r4 /* 80213DCC 00210D2C A0 04 00 00 */ lhz r0, 0(r4) /* 80213DD0 00210D30 38 81 00 18 */ addi r4, r1, 0x18 /* 80213DD4 00210D34 B0 01 00 18 */ sth r0, 0x18(r1) /* 80213DD8 00210D38 4B E3 87 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80213DDC 00210D3C 7C 64 1B 78 */ mr r4, r3 /* 80213DE0 00210D40 38 61 00 1C */ addi r3, r1, 0x1c /* 80213DE4 00210D44 4B E9 BE AD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 80213DE8 00210D48 80 03 00 04 */ lwz r0, 4(r3) /* 80213DEC 00210D4C 28 00 00 00 */ cmplwi r0, 0 /* 80213DF0 00210D50 41 82 00 E8 */ beq lbl_80213ED8 /* 80213DF4 00210D54 80 6D A1 34 */ lwz r3, gpTweakPlayerGun@sda21(r13) /* 80213DF8 00210D58 80 9F 01 10 */ lwz r4, 0x110(r31) /* 80213DFC 00210D5C 4B E5 BE 29 */ bl GetRichochetDamage__15CTweakPlayerGunCF11EWeaponType /* 80213E00 00210D60 C0 1F 01 18 */ lfs f0, 0x118(r31) /* 80213E04 00210D64 7F C3 F3 78 */ mr r3, r30 /* 80213E08 00210D68 38 81 00 14 */ addi r4, r1, 0x14 /* 80213E0C 00210D6C EC 01 00 32 */ fmuls f0, f1, f0 /* 80213E10 00210D70 D0 1F 01 18 */ stfs f0, 0x118(r31) /* 80213E14 00210D74 C0 1F 01 1C */ lfs f0, 0x11c(r31) /* 80213E18 00210D78 EC 01 00 32 */ fmuls f0, f1, f0 /* 80213E1C 00210D7C D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 80213E20 00210D80 C0 1F 01 20 */ lfs f0, 0x120(r31) /* 80213E24 00210D84 EC 01 00 32 */ fmuls f0, f1, f0 /* 80213E28 00210D88 D0 1F 01 20 */ stfs f0, 0x120(r31) /* 80213E2C 00210D8C C0 1F 01 24 */ lfs f0, 0x124(r31) /* 80213E30 00210D90 EC 01 00 32 */ fmuls f0, f1, f0 /* 80213E34 00210D94 D0 1F 01 24 */ stfs f0, 0x124(r31) /* 80213E38 00210D98 A0 1F 00 EC */ lhz r0, 0xec(r31) /* 80213E3C 00210D9C 80 BF 00 F0 */ lwz r5, 0xf0(r31) /* 80213E40 00210DA0 B0 01 00 10 */ sth r0, 0x10(r1) /* 80213E44 00210DA4 B0 01 00 14 */ sth r0, 0x14(r1) /* 80213E48 00210DA8 4B E3 0E 91 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType /* 80213E4C 00210DAC A0 DD 00 00 */ lhz r6, 0(r29) /* 80213E50 00210DB0 7F C3 F3 78 */ mr r3, r30 /* 80213E54 00210DB4 38 81 00 08 */ addi r4, r1, 8 /* 80213E58 00210DB8 B0 DF 00 EC */ sth r6, 0xec(r31) /* 80213E5C 00210DBC 80 BF 00 F0 */ lwz r5, 0xf0(r31) /* 80213E60 00210DC0 A0 1D 00 00 */ lhz r0, 0(r29) /* 80213E64 00210DC4 B0 C1 00 0C */ sth r6, 0xc(r1) /* 80213E68 00210DC8 B0 01 00 08 */ sth r0, 8(r1) /* 80213E6C 00210DCC 4B E3 0E 9D */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType /* 80213E70 00210DD0 81 3F 00 F8 */ lwz r9, 0xf8(r31) /* 80213E74 00210DD4 38 00 00 03 */ li r0, 3 /* 80213E78 00210DD8 81 5F 00 FC */ lwz r10, 0xfc(r31) /* 80213E7C 00210DDC 38 80 FF FF */ li r4, -1 /* 80213E80 00210DE0 80 FF 01 00 */ lwz r7, 0x100(r31) /* 80213E84 00210DE4 38 60 FF FE */ li r3, -2 /* 80213E88 00210DE8 81 1F 01 04 */ lwz r8, 0x104(r31) /* 80213E8C 00210DEC 60 E5 00 02 */ ori r5, r7, 2 /* 80213E90 00210DF0 80 DF 01 08 */ lwz r6, 0x108(r31) /* 80213E94 00210DF4 7D 04 20 38 */ and r4, r8, r4 /* 80213E98 00210DF8 91 41 00 2C */ stw r10, 0x2c(r1) /* 80213E9C 00210DFC 7C A3 18 38 */ and r3, r5, r3 /* 80213EA0 00210E00 91 21 00 28 */ stw r9, 0x28(r1) /* 80213EA4 00210E04 C8 01 00 28 */ lfd f0, 0x28(r1) /* 80213EA8 00210E08 90 81 00 34 */ stw r4, 0x34(r1) /* 80213EAC 00210E0C 90 61 00 30 */ stw r3, 0x30(r1) /* 80213EB0 00210E10 D8 1F 00 F8 */ stfd f0, 0xf8(r31) /* 80213EB4 00210E14 C8 01 00 30 */ lfd f0, 0x30(r1) /* 80213EB8 00210E18 91 41 00 44 */ stw r10, 0x44(r1) /* 80213EBC 00210E1C D8 1F 01 00 */ stfd f0, 0x100(r31) /* 80213EC0 00210E20 91 21 00 40 */ stw r9, 0x40(r1) /* 80213EC4 00210E24 91 01 00 4C */ stw r8, 0x4c(r1) /* 80213EC8 00210E28 90 E1 00 48 */ stw r7, 0x48(r1) /* 80213ECC 00210E2C 90 C1 00 50 */ stw r6, 0x50(r1) /* 80213ED0 00210E30 90 01 00 38 */ stw r0, 0x38(r1) /* 80213ED4 00210E34 90 1F 01 08 */ stw r0, 0x108(r31) lbl_80213ED8: /* 80213ED8 00210E38 80 01 00 74 */ lwz r0, 0x74(r1) /* 80213EDC 00210E3C 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80213EE0 00210E40 83 C1 00 68 */ lwz r30, 0x68(r1) /* 80213EE4 00210E44 83 A1 00 64 */ lwz r29, 0x64(r1) /* 80213EE8 00210E48 7C 08 03 A6 */ mtlr r0 /* 80213EEC 00210E4C 38 21 00 70 */ addi r1, r1, 0x70 /* 80213EF0 00210E50 4E 80 00 20 */ blr .global AcceptScriptMsg__17CEnergyProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__17CEnergyProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80213EF4 00210E54 94 21 FE D0 */ stwu r1, -0x130(r1) /* 80213EF8 00210E58 7C 08 02 A6 */ mflr r0 /* 80213EFC 00210E5C 90 01 01 34 */ stw r0, 0x134(r1) /* 80213F00 00210E60 BF 41 01 18 */ stmw r26, 0x118(r1) /* 80213F04 00210E64 7C 9C 23 78 */ mr r28, r4 /* 80213F08 00210E68 2C 1C 00 22 */ cmpwi r28, 0x22 /* 80213F0C 00210E6C 7C 7B 1B 78 */ mr r27, r3 /* 80213F10 00210E70 7C BD 2B 78 */ mr r29, r5 /* 80213F14 00210E74 7C DE 33 78 */ mr r30, r6 /* 80213F18 00210E78 41 82 00 14 */ beq lbl_80213F2C /* 80213F1C 00210E7C 40 80 02 E0 */ bge lbl_802141FC /* 80213F20 00210E80 2C 1C 00 21 */ cmpwi r28, 0x21 /* 80213F24 00210E84 40 80 00 58 */ bge lbl_80213F7C /* 80213F28 00210E88 48 00 02 D4 */ b lbl_802141FC lbl_80213F2C: /* 80213F2C 00210E8C 88 1B 02 E4 */ lbz r0, 0x2e4(r27) /* 80213F30 00210E90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80213F34 00210E94 41 82 00 20 */ beq lbl_80213F54 /* 80213F38 00210E98 A0 1B 00 EC */ lhz r0, 0xec(r27) /* 80213F3C 00210E9C 7F C3 F3 78 */ mr r3, r30 /* 80213F40 00210EA0 80 BB 00 F0 */ lwz r5, 0xf0(r27) /* 80213F44 00210EA4 38 81 00 18 */ addi r4, r1, 0x18 /* 80213F48 00210EA8 B0 01 00 14 */ sth r0, 0x14(r1) /* 80213F4C 00210EAC B0 01 00 18 */ sth r0, 0x18(r1) /* 80213F50 00210EB0 4B E3 0D 89 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType lbl_80213F54: /* 80213F54 00210EB4 80 1B 02 E8 */ lwz r0, 0x2e8(r27) /* 80213F58 00210EB8 28 00 00 00 */ cmplwi r0, 0 /* 80213F5C 00210EBC 41 82 02 A0 */ beq lbl_802141FC /* 80213F60 00210EC0 80 1B 02 E8 */ lwz r0, 0x2e8(r27) /* 80213F64 00210EC4 38 61 00 20 */ addi r3, r1, 0x20 /* 80213F68 00210EC8 90 01 00 20 */ stw r0, 0x20(r1) /* 80213F6C 00210ECC 48 0D 5F 19 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80213F70 00210ED0 38 00 00 00 */ li r0, 0 /* 80213F74 00210ED4 90 1B 02 E8 */ stw r0, 0x2e8(r27) /* 80213F78 00210ED8 48 00 02 84 */ b lbl_802141FC lbl_80213F7C: /* 80213F7C 00210EDC 3B FB 01 70 */ addi r31, r27, 0x170 /* 80213F80 00210EE0 80 7B 02 6C */ lwz r3, 0x26c(r27) /* 80213F84 00210EE4 28 03 00 00 */ cmplwi r3, 0 /* 80213F88 00210EE8 41 82 00 60 */ beq lbl_80213FE8 /* 80213F8C 00210EEC 81 83 00 00 */ lwz r12, 0(r3) /* 80213F90 00210EF0 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80213F94 00210EF4 7D 89 03 A6 */ mtctr r12 /* 80213F98 00210EF8 4E 80 04 21 */ bctrl /* 80213F9C 00210EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80213FA0 00210F00 41 82 00 48 */ beq lbl_80213FE8 /* 80213FA4 00210F04 3C 80 80 3D */ lis r4, lbl_803D2890@ha /* 80213FA8 00210F08 38 61 00 80 */ addi r3, r1, 0x80 /* 80213FAC 00210F0C 38 84 28 90 */ addi r4, r4, lbl_803D2890@l /* 80213FB0 00210F10 4B DF 0D 09 */ bl string_l__4rstlFPCc /* 80213FB4 00210F14 80 9F 00 FC */ lwz r4, 0xfc(r31) /* 80213FB8 00210F18 38 61 00 BC */ addi r3, r1, 0xbc /* 80213FBC 00210F1C 81 84 00 00 */ lwz r12, 0(r4) /* 80213FC0 00210F20 81 8C 00 68 */ lwz r12, 0x68(r12) /* 80213FC4 00210F24 7D 89 03 A6 */ mtctr r12 /* 80213FC8 00210F28 4E 80 04 21 */ bctrl /* 80213FCC 00210F2C 7F 63 DB 78 */ mr r3, r27 /* 80213FD0 00210F30 7F C6 F3 78 */ mr r6, r30 /* 80213FD4 00210F34 38 81 00 80 */ addi r4, r1, 0x80 /* 80213FD8 00210F38 38 A1 00 BC */ addi r5, r1, 0xbc /* 80213FDC 00210F3C 4B E2 39 21 */ bl "CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager" /* 80213FE0 00210F40 38 61 00 80 */ addi r3, r1, 0x80 /* 80213FE4 00210F44 48 12 9A FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80213FE8: /* 80213FE8 00210F48 7F E4 FB 78 */ mr r4, r31 /* 80213FEC 00210F4C 38 61 00 74 */ addi r3, r1, 0x74 /* 80213FF0 00210F50 4B E2 45 91 */ bl GetWeaponDescription__17CProjectileWeaponCFv /* 80213FF4 00210F54 80 A1 00 7C */ lwz r5, 0x7c(r1) /* 80213FF8 00210F58 38 61 00 74 */ addi r3, r1, 0x74 /* 80213FFC 00210F5C 38 80 00 00 */ li r4, 0 /* 80214000 00210F60 80 05 00 A8 */ lwz r0, 0xa8(r5) /* 80214004 00210F64 54 00 0F FE */ srwi r0, r0, 0x1f /* 80214008 00210F68 68 1A 00 01 */ xori r26, r0, 1 /* 8021400C 00210F6C 48 12 CE 35 */ bl __dt__6CTokenFv /* 80214010 00210F70 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 80214014 00210F74 41 82 01 CC */ beq lbl_802141E0 /* 80214018 00210F78 C0 22 B3 14 */ lfs f1, lbl_805AD034@sda21(r2) /* 8021401C 00210F7C 7F E4 FB 78 */ mr r4, r31 /* 80214020 00210F80 C0 02 B3 18 */ lfs f0, lbl_805AD038@sda21(r2) /* 80214024 00210F84 38 61 00 68 */ addi r3, r1, 0x68 /* 80214028 00210F88 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8021402C 00210F8C D0 01 00 24 */ stfs f0, 0x24(r1) /* 80214030 00210F90 4B E2 45 51 */ bl GetWeaponDescription__17CProjectileWeaponCFv /* 80214034 00210F94 80 A1 00 70 */ lwz r5, 0x70(r1) /* 80214038 00210F98 38 61 00 68 */ addi r3, r1, 0x68 /* 8021403C 00210F9C 38 80 00 00 */ li r4, 0 /* 80214040 00210FA0 83 45 00 AC */ lwz r26, 0xac(r5) /* 80214044 00210FA4 48 12 CD FD */ bl __dt__6CTokenFv /* 80214048 00210FA8 28 1A 00 00 */ cmplwi r26, 0 /* 8021404C 00210FAC 41 82 00 3C */ beq lbl_80214088 /* 80214050 00210FB0 7F E4 FB 78 */ mr r4, r31 /* 80214054 00210FB4 38 61 00 5C */ addi r3, r1, 0x5c /* 80214058 00210FB8 4B E2 45 29 */ bl GetWeaponDescription__17CProjectileWeaponCFv /* 8021405C 00210FBC 80 61 00 64 */ lwz r3, 0x64(r1) /* 80214060 00210FC0 38 A1 00 28 */ addi r5, r1, 0x28 /* 80214064 00210FC4 38 80 00 00 */ li r4, 0 /* 80214068 00210FC8 80 63 00 AC */ lwz r3, 0xac(r3) /* 8021406C 00210FCC 81 83 00 00 */ lwz r12, 0(r3) /* 80214070 00210FD0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80214074 00210FD4 7D 89 03 A6 */ mtctr r12 /* 80214078 00210FD8 4E 80 04 21 */ bctrl /* 8021407C 00210FDC 38 61 00 5C */ addi r3, r1, 0x5c /* 80214080 00210FE0 38 80 00 00 */ li r4, 0 /* 80214084 00210FE4 48 12 CD BD */ bl __dt__6CTokenFv lbl_80214088: /* 80214088 00210FE8 7F E4 FB 78 */ mr r4, r31 /* 8021408C 00210FEC 38 61 00 50 */ addi r3, r1, 0x50 /* 80214090 00210FF0 4B E2 44 F1 */ bl GetWeaponDescription__17CProjectileWeaponCFv /* 80214094 00210FF4 80 A1 00 58 */ lwz r5, 0x58(r1) /* 80214098 00210FF8 38 61 00 50 */ addi r3, r1, 0x50 /* 8021409C 00210FFC 38 80 00 00 */ li r4, 0 /* 802140A0 00211000 83 45 00 B0 */ lwz r26, 0xb0(r5) /* 802140A4 00211004 48 12 CD 9D */ bl __dt__6CTokenFv /* 802140A8 00211008 28 1A 00 00 */ cmplwi r26, 0 /* 802140AC 0021100C 41 82 00 3C */ beq lbl_802140E8 /* 802140B0 00211010 7F E4 FB 78 */ mr r4, r31 /* 802140B4 00211014 38 61 00 44 */ addi r3, r1, 0x44 /* 802140B8 00211018 4B E2 44 C9 */ bl GetWeaponDescription__17CProjectileWeaponCFv /* 802140BC 0021101C 80 61 00 4C */ lwz r3, 0x4c(r1) /* 802140C0 00211020 38 A1 00 24 */ addi r5, r1, 0x24 /* 802140C4 00211024 38 80 00 00 */ li r4, 0 /* 802140C8 00211028 80 63 00 B0 */ lwz r3, 0xb0(r3) /* 802140CC 0021102C 81 83 00 00 */ lwz r12, 0(r3) /* 802140D0 00211030 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802140D4 00211034 7D 89 03 A6 */ mtctr r12 /* 802140D8 00211038 4E 80 04 21 */ bctrl /* 802140DC 0021103C 38 61 00 44 */ addi r3, r1, 0x44 /* 802140E0 00211040 38 80 00 00 */ li r4, 0 /* 802140E4 00211044 48 12 CD 5D */ bl __dt__6CTokenFv lbl_802140E8: /* 802140E8 00211048 C0 42 B3 10 */ lfs f2, lbl_805AD030@sda21(r2) /* 802140EC 0021104C 38 E0 00 00 */ li r7, 0 /* 802140F0 00211050 C0 21 00 28 */ lfs f1, 0x28(r1) /* 802140F4 00211054 39 00 00 09 */ li r8, 9 /* 802140F8 00211058 C0 01 00 24 */ lfs f0, 0x24(r1) /* 802140FC 0021105C 38 C0 00 FF */ li r6, 0xff /* 80214100 00211060 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) /* 80214104 00211064 38 A0 00 14 */ li r5, 0x14 /* 80214108 00211068 D0 41 00 90 */ stfs f2, 0x90(r1) /* 8021410C 0021106C 38 9B 01 70 */ addi r4, r27, 0x170 /* 80214110 00211070 38 61 00 38 */ addi r3, r1, 0x38 /* 80214114 00211074 D0 41 00 94 */ stfs f2, 0x94(r1) /* 80214118 00211078 D0 41 00 98 */ stfs f2, 0x98(r1) /* 8021411C 0021107C D0 41 00 9C */ stfs f2, 0x9c(r1) /* 80214120 00211080 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 80214124 00211084 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 80214128 00211088 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 8021412C 0021108C D0 01 00 AC */ stfs f0, 0xac(r1) /* 80214130 00211090 91 01 00 B0 */ stw r8, 0xb0(r1) /* 80214134 00211094 B0 E1 00 B4 */ sth r7, 0xb4(r1) /* 80214138 00211098 98 C1 00 B6 */ stb r6, 0xb6(r1) /* 8021413C 0021109C 98 A1 00 B7 */ stb r5, 0xb7(r1) /* 80214140 002110A0 98 E1 00 B8 */ stb r7, 0xb8(r1) /* 80214144 002110A4 98 01 00 B9 */ stb r0, 0xb9(r1) /* 80214148 002110A8 81 9B 01 70 */ lwz r12, 0x170(r27) /* 8021414C 002110AC 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80214150 002110B0 7D 89 03 A6 */ mtctr r12 /* 80214154 002110B4 4E 80 04 21 */ bctrl /* 80214158 002110B8 C0 41 00 38 */ lfs f2, 0x38(r1) /* 8021415C 002110BC 38 7B 01 70 */ addi r3, r27, 0x170 /* 80214160 002110C0 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 80214164 002110C4 C0 01 00 40 */ lfs f0, 0x40(r1) /* 80214168 002110C8 D0 41 00 90 */ stfs f2, 0x90(r1) /* 8021416C 002110CC D0 21 00 94 */ stfs f1, 0x94(r1) /* 80214170 002110D0 D0 01 00 98 */ stfs f0, 0x98(r1) /* 80214174 002110D4 48 09 AF C1 */ bl GetVelocity__17CProjectileWeaponCFv /* 80214178 002110D8 C0 03 00 00 */ lfs f0, 0(r3) /* 8021417C 002110DC 38 9B 01 70 */ addi r4, r27, 0x170 /* 80214180 002110E0 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 80214184 002110E4 C0 03 00 04 */ lfs f0, 4(r3) /* 80214188 002110E8 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8021418C 002110EC C0 03 00 08 */ lfs f0, 8(r3) /* 80214190 002110F0 38 61 00 2C */ addi r3, r1, 0x2c /* 80214194 002110F4 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 80214198 002110F8 4B E2 43 E9 */ bl GetWeaponDescription__17CProjectileWeaponCFv /* 8021419C 002110FC 80 61 00 34 */ lwz r3, 0x34(r1) /* 802141A0 00211100 80 03 00 A8 */ lwz r0, 0xa8(r3) /* 802141A4 00211104 54 03 04 3E */ clrlwi r3, r0, 0x10 /* 802141A8 00211108 48 0D 48 09 */ bl TranslateSFXID__11CSfxManagerFUs /* 802141AC 0021110C B0 61 00 B4 */ sth r3, 0xb4(r1) /* 802141B0 00211110 38 61 00 2C */ addi r3, r1, 0x2c /* 802141B4 00211114 38 80 00 00 */ li r4, 0 /* 802141B8 00211118 48 12 CC 89 */ bl __dt__6CTokenFv /* 802141BC 0021111C A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) /* 802141C0 00211120 38 61 00 1C */ addi r3, r1, 0x1c /* 802141C4 00211124 81 02 C6 00 */ lwz r8, lbl_805AE320@sda21(r2) /* 802141C8 00211128 38 81 00 90 */ addi r4, r1, 0x90 /* 802141CC 0021112C 38 A0 00 01 */ li r5, 1 /* 802141D0 00211130 38 E0 00 01 */ li r7, 1 /* 802141D4 00211134 48 0D 5E 0D */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi /* 802141D8 00211138 80 01 00 1C */ lwz r0, 0x1c(r1) /* 802141DC 0021113C 90 1B 02 E8 */ stw r0, 0x2e8(r27) lbl_802141E0: /* 802141E0 00211140 A0 1B 00 EC */ lhz r0, 0xec(r27) /* 802141E4 00211144 7F C3 F3 78 */ mr r3, r30 /* 802141E8 00211148 80 BB 00 F0 */ lwz r5, 0xf0(r27) /* 802141EC 0021114C 38 81 00 10 */ addi r4, r1, 0x10 /* 802141F0 00211150 B0 01 00 0C */ sth r0, 0xc(r1) /* 802141F4 00211154 B0 01 00 10 */ sth r0, 0x10(r1) /* 802141F8 00211158 4B E3 0B 11 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType lbl_802141FC: /* 802141FC 0021115C A0 1D 00 00 */ lhz r0, 0(r29) /* 80214200 00211160 7F 63 DB 78 */ mr r3, r27 /* 80214204 00211164 7F 84 E3 78 */ mr r4, r28 /* 80214208 00211168 7F C6 F3 78 */ mr r6, r30 /* 8021420C 0021116C B0 01 00 08 */ sth r0, 8(r1) /* 80214210 00211170 38 A1 00 08 */ addi r5, r1, 8 /* 80214214 00211174 4B E2 43 B9 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80214218 00211178 BB 41 01 18 */ lmw r26, 0x118(r1) /* 8021421C 0021117C 80 01 01 34 */ lwz r0, 0x134(r1) /* 80214220 00211180 7C 08 03 A6 */ mtlr r0 /* 80214224 00211184 38 21 01 30 */ addi r1, r1, 0x130 /* 80214228 00211188 4E 80 00 20 */ blr .global Accept__17CEnergyProjectileFR8IVisitor Accept__17CEnergyProjectileFR8IVisitor: /* 8021422C 0021118C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80214230 00211190 7C 08 02 A6 */ mflr r0 /* 80214234 00211194 90 01 00 14 */ stw r0, 0x14(r1) /* 80214238 00211198 7C 60 1B 78 */ mr r0, r3 /* 8021423C 0021119C 7C 83 23 78 */ mr r3, r4 /* 80214240 002111A0 81 84 00 00 */ lwz r12, 0(r4) /* 80214244 002111A4 7C 04 03 78 */ mr r4, r0 /* 80214248 002111A8 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8021424C 002111AC 7D 89 03 A6 */ mtctr r12 /* 80214250 002111B0 4E 80 04 21 */ bctrl /* 80214254 002111B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80214258 002111B8 7C 08 03 A6 */ mtlr r0 /* 8021425C 002111BC 38 21 00 10 */ addi r1, r1, 0x10 /* 80214260 002111C0 4E 80 00 20 */ blr .global ResolveCollisionWithWorld__17CEnergyProjectileFRC14CRayCastResultR13CStateManager ResolveCollisionWithWorld__17CEnergyProjectileFRC14CRayCastResultR13CStateManager: /* 80214264 002111C4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80214268 002111C8 7C 08 02 A6 */ mflr r0 /* 8021426C 002111CC 90 01 00 44 */ stw r0, 0x44(r1) /* 80214270 002111D0 38 00 00 00 */ li r0, 0 /* 80214274 002111D4 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80214278 002111D8 7C BF 2B 78 */ mr r31, r5 /* 8021427C 002111DC 93 C1 00 38 */ stw r30, 0x38(r1) /* 80214280 002111E0 7C 9E 23 78 */ mr r30, r4 /* 80214284 002111E4 93 A1 00 34 */ stw r29, 0x34(r1) /* 80214288 002111E8 7C 7D 1B 78 */ mr r29, r3 /* 8021428C 002111EC 80 C4 00 28 */ lwz r6, 0x28(r4) /* 80214290 002111F0 38 80 FF FF */ li r4, -1 /* 80214294 002111F4 81 0D A4 F8 */ lwz r8, lbl_805A90B8@sda21(r13) /* 80214298 002111F8 81 2D A4 FC */ lwz r9, lbl_805A90BC@sda21(r13) /* 8021429C 002111FC 80 FE 00 2C */ lwz r7, 0x2c(r30) /* 802142A0 00211200 7D 06 30 38 */ and r6, r8, r6 /* 802142A4 00211204 7C C3 00 38 */ and r3, r6, r0 /* 802142A8 00211208 7D 25 38 38 */ and r5, r9, r7 /* 802142AC 0021120C 7C A4 20 38 */ and r4, r5, r4 /* 802142B0 00211210 48 0B B9 59 */ bl BitPosition__13CMaterialListFUx /* 802142B4 00211214 48 09 E1 11 */ bl GetWorldCollisionResponseType__22CCollisionResponseDataFi /* 802142B8 00211218 80 1D 00 E8 */ lwz r0, 0xe8(r29) /* 802142BC 0021121C 7C 66 1B 78 */ mr r6, r3 /* 802142C0 00211220 70 00 00 90 */ andi. r0, r0, 0x90 /* 802142C4 00211224 2C 00 00 90 */ cmpwi r0, 0x90 /* 802142C8 00211228 41 82 00 9C */ beq lbl_80214364 /* 802142CC 0021122C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 802142D0 00211230 3C 60 80 57 */ lis r3, lbl_8056D578@ha /* 802142D4 00211234 39 03 D5 78 */ addi r8, r3, lbl_8056D578@l /* 802142D8 00211238 7F E7 FB 78 */ mr r7, r31 /* 802142DC 0021123C B0 01 00 14 */ sth r0, 0x14(r1) /* 802142E0 00211240 7F A3 EB 78 */ mr r3, r29 /* 802142E4 00211244 38 9E 00 04 */ addi r4, r30, 4 /* 802142E8 00211248 38 BE 00 10 */ addi r5, r30, 0x10 /* 802142EC 0021124C 81 9D 00 00 */ lwz r12, 0(r29) /* 802142F0 00211250 39 21 00 14 */ addi r9, r1, 0x14 /* 802142F4 00211254 81 8C 00 70 */ lwz r12, 0x70(r12) /* 802142F8 00211258 7D 89 03 A6 */ mtctr r12 /* 802142FC 0021125C 4E 80 04 21 */ bctrl /* 80214300 00211260 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80214304 00211264 41 82 00 54 */ beq lbl_80214358 /* 80214308 00211268 80 1D 00 F8 */ lwz r0, 0xf8(r29) /* 8021430C 0021126C 7F E3 FB 78 */ mr r3, r31 /* 80214310 00211270 80 FD 00 FC */ lwz r7, 0xfc(r29) /* 80214314 00211274 7F A5 EB 78 */ mr r5, r29 /* 80214318 00211278 38 81 00 10 */ addi r4, r1, 0x10 /* 8021431C 0021127C 38 DE 00 04 */ addi r6, r30, 4 /* 80214320 00211280 90 E1 00 1C */ stw r7, 0x1c(r1) /* 80214324 00211284 38 FD 01 2C */ addi r7, r29, 0x12c /* 80214328 00211288 39 01 00 18 */ addi r8, r1, 0x18 /* 8021432C 0021128C 90 01 00 18 */ stw r0, 0x18(r1) /* 80214330 00211290 80 1D 01 00 */ lwz r0, 0x100(r29) /* 80214334 00211294 81 3D 01 04 */ lwz r9, 0x104(r29) /* 80214338 00211298 91 21 00 24 */ stw r9, 0x24(r1) /* 8021433C 0021129C 90 01 00 20 */ stw r0, 0x20(r1) /* 80214340 002112A0 80 1D 01 08 */ lwz r0, 0x108(r29) /* 80214344 002112A4 90 01 00 28 */ stw r0, 0x28(r1) /* 80214348 002112A8 A0 1D 00 EC */ lhz r0, 0xec(r29) /* 8021434C 002112AC B0 01 00 0C */ sth r0, 0xc(r1) /* 80214350 002112B0 B0 01 00 10 */ sth r0, 0x10(r1) /* 80214354 002112B4 4B E3 49 59 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter lbl_80214358: /* 80214358 002112B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021435C 002112BC B0 01 00 08 */ sth r0, 8(r1) /* 80214360 002112C0 B0 1D 02 C2 */ sth r0, 0x2c2(r29) lbl_80214364: /* 80214364 002112C4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80214368 002112C8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8021436C 002112CC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80214370 002112D0 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80214374 002112D4 7C 08 03 A6 */ mtlr r0 /* 80214378 002112D8 38 21 00 40 */ addi r1, r1, 0x40 /* 8021437C 002112DC 4E 80 00 20 */ blr .global ResolveCollisionWithActor__17CEnergyProjectileFRC14CRayCastResultR6CActorR13CStateManager ResolveCollisionWithActor__17CEnergyProjectileFRC14CRayCastResultR6CActorR13CStateManager: /* 80214380 002112E0 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80214384 002112E4 7C 08 02 A6 */ mflr r0 /* 80214388 002112E8 90 01 00 84 */ stw r0, 0x84(r1) /* 8021438C 002112EC BF 61 00 6C */ stmw r27, 0x6c(r1) /* 80214390 002112F0 7C 7B 1B 78 */ mr r27, r3 /* 80214394 002112F4 7C 9C 23 78 */ mr r28, r4 /* 80214398 002112F8 7C BD 2B 78 */ mr r29, r5 /* 8021439C 002112FC 7C DE 33 78 */ mr r30, r6 /* 802143A0 00211300 38 61 00 5C */ addi r3, r1, 0x5c /* 802143A4 00211304 38 81 00 50 */ addi r4, r1, 0x50 /* 802143A8 00211308 A0 05 00 08 */ lhz r0, 8(r5) /* 802143AC 0021130C B0 1B 02 C2 */ sth r0, 0x2c2(r27) /* 802143B0 00211310 83 FB 00 E8 */ lwz r31, 0xe8(r27) /* 802143B4 00211314 C0 5B 00 58 */ lfs f2, 0x58(r27) /* 802143B8 00211318 C0 3B 00 48 */ lfs f1, 0x48(r27) /* 802143BC 0021131C C0 1B 00 38 */ lfs f0, 0x38(r27) /* 802143C0 00211320 B0 01 00 28 */ sth r0, 0x28(r1) /* 802143C4 00211324 B0 01 00 2C */ sth r0, 0x2c(r1) /* 802143C8 00211328 D0 01 00 50 */ stfs f0, 0x50(r1) /* 802143CC 0021132C D0 21 00 54 */ stfs f1, 0x54(r1) /* 802143D0 00211330 D0 41 00 58 */ stfs f2, 0x58(r1) /* 802143D4 00211334 48 10 04 7D */ bl AsNormalized__9CVector3fCFv /* 802143D8 00211338 7F A3 EB 78 */ mr r3, r29 /* 802143DC 0021133C 7F E7 FB 78 */ mr r7, r31 /* 802143E0 00211340 81 9D 00 00 */ lwz r12, 0(r29) /* 802143E4 00211344 38 9C 00 04 */ addi r4, r28, 4 /* 802143E8 00211348 38 A1 00 5C */ addi r5, r1, 0x5c /* 802143EC 0021134C 38 DB 01 2C */ addi r6, r27, 0x12c /* 802143F0 00211350 81 8C 00 58 */ lwz r12, 0x58(r12) /* 802143F4 00211354 7D 89 03 A6 */ mtctr r12 /* 802143F8 00211358 4E 80 04 21 */ bctrl /* 802143FC 0021135C 7C 60 1B 78 */ mr r0, r3 /* 80214400 00211360 7F A3 EB 78 */ mr r3, r29 /* 80214404 00211364 81 9D 00 00 */ lwz r12, 0(r29) /* 80214408 00211368 7C 1F 03 78 */ mr r31, r0 /* 8021440C 0021136C 7F 64 DB 78 */ mr r4, r27 /* 80214410 00211370 7F C5 F3 78 */ mr r5, r30 /* 80214414 00211374 81 8C 00 44 */ lwz r12, 0x44(r12) /* 80214418 00211378 7D 89 03 A6 */ mtctr r12 /* 8021441C 0021137C 4E 80 04 21 */ bctrl /* 80214420 00211380 A0 1D 00 08 */ lhz r0, 8(r29) /* 80214424 00211384 7F A3 EB 78 */ mr r3, r29 /* 80214428 00211388 B0 01 00 24 */ sth r0, 0x24(r1) /* 8021442C 0021138C 81 9D 00 00 */ lwz r12, 0(r29) /* 80214430 00211390 B0 01 00 20 */ sth r0, 0x20(r1) /* 80214434 00211394 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80214438 00211398 7D 89 03 A6 */ mtctr r12 /* 8021443C 0021139C 4E 80 04 21 */ bctrl /* 80214440 002113A0 81 9B 00 00 */ lwz r12, 0(r27) /* 80214444 002113A4 7C 68 1B 78 */ mr r8, r3 /* 80214448 002113A8 7F 63 DB 78 */ mr r3, r27 /* 8021444C 002113AC 7F E6 FB 78 */ mr r6, r31 /* 80214450 002113B0 81 8C 00 70 */ lwz r12, 0x70(r12) /* 80214454 002113B4 7F C7 F3 78 */ mr r7, r30 /* 80214458 002113B8 38 9C 00 04 */ addi r4, r28, 4 /* 8021445C 002113BC 38 BC 00 10 */ addi r5, r28, 0x10 /* 80214460 002113C0 39 21 00 24 */ addi r9, r1, 0x24 /* 80214464 002113C4 7D 89 03 A6 */ mtctr r12 /* 80214468 002113C8 4E 80 04 21 */ bctrl /* 8021446C 002113CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80214470 002113D0 40 82 00 3C */ bne lbl_802144AC /* 80214474 002113D4 A0 1B 00 08 */ lhz r0, 8(r27) /* 80214478 002113D8 7F C3 F3 78 */ mr r3, r30 /* 8021447C 002113DC 7F A4 EB 78 */ mr r4, r29 /* 80214480 002113E0 38 A1 00 1C */ addi r5, r1, 0x1c /* 80214484 002113E4 B0 01 00 18 */ sth r0, 0x18(r1) /* 80214488 002113E8 38 C0 00 1E */ li r6, 0x1e /* 8021448C 002113EC B0 01 00 1C */ sth r0, 0x1c(r1) /* 80214490 002113F0 4B E2 FA 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage /* 80214494 002113F4 7F A3 EB 78 */ mr r3, r29 /* 80214498 002113F8 7F C5 F3 78 */ mr r5, r30 /* 8021449C 002113FC 38 80 00 1F */ li r4, 0x1f /* 802144A0 00211400 38 C0 FF FF */ li r6, -1 /* 802144A4 00211404 4B E3 CC 1D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 802144A8 00211408 48 00 00 28 */ b lbl_802144D0 lbl_802144AC: /* 802144AC 0021140C 7F 63 DB 78 */ mr r3, r27 /* 802144B0 00211410 7F 84 E3 78 */ mr r4, r28 /* 802144B4 00211414 7F A5 EB 78 */ mr r5, r29 /* 802144B8 00211418 7F C6 F3 78 */ mr r6, r30 /* 802144BC 0021141C 4B E2 30 99 */ bl ResolveCollisionWithActor__15CGameProjectileFRC14CRayCastResultR6CActorR13CStateManager /* 802144C0 00211420 7F 63 DB 78 */ mr r3, r27 /* 802144C4 00211424 7F C4 F3 78 */ mr r4, r30 /* 802144C8 00211428 38 BB 01 2C */ addi r5, r27, 0x12c /* 802144CC 0021142C 4B E2 3D A9 */ bl ApplyDamageToActors__15CGameProjectileFR13CStateManager lbl_802144D0: /* 802144D0 00211430 7F A4 EB 78 */ mr r4, r29 /* 802144D4 00211434 38 61 00 30 */ addi r3, r1, 0x30 /* 802144D8 00211438 4B E9 A8 5D */ bl "__ct__31TCastToPtr<17CEnergyProjectile>FR7CEntity" /* 802144DC 0021143C 83 E3 00 04 */ lwz r31, 4(r3) /* 802144E0 00211440 28 1F 00 00 */ cmplwi r31, 0 /* 802144E4 00211444 41 82 00 90 */ beq lbl_80214574 /* 802144E8 00211448 A0 9B 00 EC */ lhz r4, 0xec(r27) /* 802144EC 0021144C 7F 63 DB 78 */ mr r3, r27 /* 802144F0 00211450 B0 9F 02 C4 */ sth r4, 0x2c4(r31) /* 802144F4 00211454 A0 1B 00 08 */ lhz r0, 8(r27) /* 802144F8 00211458 B0 81 00 10 */ sth r4, 0x10(r1) /* 802144FC 0021145C B0 01 00 0C */ sth r0, 0xc(r1) /* 80214500 00211460 C0 5B 00 58 */ lfs f2, 0x58(r27) /* 80214504 00211464 C0 3B 00 48 */ lfs f1, 0x48(r27) /* 80214508 00211468 C0 1B 00 38 */ lfs f0, 0x38(r27) /* 8021450C 0021146C B0 81 00 14 */ sth r4, 0x14(r1) /* 80214510 00211470 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80214514 00211474 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80214518 00211478 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8021451C 0021147C C0 5B 00 60 */ lfs f2, 0x60(r27) /* 80214520 00211480 C0 3B 00 50 */ lfs f1, 0x50(r27) /* 80214524 00211484 C0 1B 00 40 */ lfs f0, 0x40(r27) /* 80214528 00211488 B0 01 00 08 */ sth r0, 8(r1) /* 8021452C 0021148C D0 01 00 44 */ stfs f0, 0x44(r1) /* 80214530 00211490 D0 21 00 48 */ stfs f1, 0x48(r1) /* 80214534 00211494 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80214538 00211498 81 9B 00 00 */ lwz r12, 0(r27) /* 8021453C 0021149C 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80214540 002114A0 7D 89 03 A6 */ mtctr r12 /* 80214544 002114A4 4E 80 04 21 */ bctrl /* 80214548 002114A8 81 9F 00 00 */ lwz r12, 0(r31) /* 8021454C 002114AC 7C 68 1B 78 */ mr r8, r3 /* 80214550 002114B0 7F E3 FB 78 */ mr r3, r31 /* 80214554 002114B4 7F C7 F3 78 */ mr r7, r30 /* 80214558 002114B8 81 8C 00 70 */ lwz r12, 0x70(r12) /* 8021455C 002114BC 38 81 00 44 */ addi r4, r1, 0x44 /* 80214560 002114C0 38 A1 00 38 */ addi r5, r1, 0x38 /* 80214564 002114C4 39 21 00 0C */ addi r9, r1, 0xc /* 80214568 002114C8 38 C0 00 0D */ li r6, 0xd /* 8021456C 002114CC 7D 89 03 A6 */ mtctr r12 /* 80214570 002114D0 4E 80 04 21 */ bctrl lbl_80214574: /* 80214574 002114D4 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 80214578 002114D8 80 01 00 84 */ lwz r0, 0x84(r1) /* 8021457C 002114DC 7C 08 03 A6 */ mtlr r0 /* 80214580 002114E0 38 21 00 80 */ addi r1, r1, 0x80 /* 80214584 002114E4 4E 80 00 20 */ blr .global Think__17CEnergyProjectileFfR13CStateManager Think__17CEnergyProjectileFfR13CStateManager: /* 80214588 002114E8 94 21 FE C0 */ stwu r1, -0x140(r1) /* 8021458C 002114EC 7C 08 02 A6 */ mflr r0 /* 80214590 002114F0 90 01 01 44 */ stw r0, 0x144(r1) /* 80214594 002114F4 DB E1 01 30 */ stfd f31, 0x130(r1) /* 80214598 002114F8 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 8021459C 002114FC 93 E1 01 2C */ stw r31, 0x12c(r1) /* 802145A0 00211500 93 C1 01 28 */ stw r30, 0x128(r1) /* 802145A4 00211504 93 A1 01 24 */ stw r29, 0x124(r1) /* 802145A8 00211508 93 81 01 20 */ stw r28, 0x120(r1) /* 802145AC 0021150C FF E0 08 90 */ fmr f31, f1 /* 802145B0 00211510 7C 7D 1B 78 */ mr r29, r3 /* 802145B4 00211514 7C 9E 23 78 */ mr r30, r4 /* 802145B8 00211518 4B EE DB 21 */ bl Think__7CWeaponFfR13CStateManager /* 802145BC 0021151C 80 7E 08 50 */ lwz r3, 0x850(r30) /* 802145C0 00211520 80 1D 00 04 */ lwz r0, 4(r29) /* 802145C4 00211524 80 C3 00 68 */ lwz r6, 0x68(r3) /* 802145C8 00211528 7C 00 30 00 */ cmpw r0, r6 /* 802145CC 0021152C 41 82 00 2C */ beq lbl_802145F8 /* 802145D0 00211530 80 1D 00 E8 */ lwz r0, 0xe8(r29) /* 802145D4 00211534 54 00 05 28 */ rlwinm r0, r0, 0, 0x14, 0x14 /* 802145D8 00211538 2C 00 08 00 */ cmpwi r0, 0x800 /* 802145DC 0021153C 40 82 00 1C */ bne lbl_802145F8 /* 802145E0 00211540 90 C1 00 34 */ stw r6, 0x34(r1) /* 802145E4 00211544 7F C3 F3 78 */ mr r3, r30 /* 802145E8 00211548 7F A4 EB 78 */ mr r4, r29 /* 802145EC 0021154C 38 A1 00 38 */ addi r5, r1, 0x38 /* 802145F0 00211550 90 C1 00 38 */ stw r6, 0x38(r1) /* 802145F4 00211554 4B E3 0C 85 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId lbl_802145F8: /* 802145F8 00211558 FC 20 F8 90 */ fmr f1, f31 /* 802145FC 0021155C 7F A3 EB 78 */ mr r3, r29 /* 80214600 00211560 7F C4 F3 78 */ mr r4, r30 /* 80214604 00211564 4B E2 38 F9 */ bl UpdateProjectileMovement__15CGameProjectileFfR13CStateManager /* 80214608 00211568 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021460C 0021156C 7F A4 EB 78 */ mr r4, r29 /* 80214610 00211570 7F C6 F3 78 */ mr r6, r30 /* 80214614 00211574 38 61 00 70 */ addi r3, r1, 0x70 /* 80214618 00211578 B0 01 00 28 */ sth r0, 0x28(r1) /* 8021461C 0021157C 38 A1 00 28 */ addi r5, r1, 0x28 /* 80214620 00211580 4B E2 39 DD */ bl DoCollisionCheck__15CGameProjectileFR9TUniqueIdR13CStateManager /* 80214624 00211584 88 81 00 90 */ lbz r4, 0x90(r1) /* 80214628 00211588 C0 E1 00 70 */ lfs f7, 0x70(r1) /* 8021462C 0021158C C0 C1 00 74 */ lfs f6, 0x74(r1) /* 80214630 00211590 28 04 00 00 */ cmplwi r4, 0 /* 80214634 00211594 C0 A1 00 78 */ lfs f5, 0x78(r1) /* 80214638 00211598 C0 81 00 7C */ lfs f4, 0x7c(r1) /* 8021463C 0021159C C0 61 00 80 */ lfs f3, 0x80(r1) /* 80214640 002115A0 C0 41 00 84 */ lfs f2, 0x84(r1) /* 80214644 002115A4 C0 21 00 88 */ lfs f1, 0x88(r1) /* 80214648 002115A8 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 8021464C 002115AC 80 01 00 98 */ lwz r0, 0x98(r1) /* 80214650 002115B0 80 61 00 9C */ lwz r3, 0x9c(r1) /* 80214654 002115B4 D0 E1 00 A0 */ stfs f7, 0xa0(r1) /* 80214658 002115B8 D0 C1 00 A4 */ stfs f6, 0xa4(r1) /* 8021465C 002115BC D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 80214660 002115C0 D0 81 00 AC */ stfs f4, 0xac(r1) /* 80214664 002115C4 D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 80214668 002115C8 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 8021466C 002115CC D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 80214670 002115D0 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 80214674 002115D4 98 81 00 C0 */ stb r4, 0xc0(r1) /* 80214678 002115D8 90 61 00 CC */ stw r3, 0xcc(r1) /* 8021467C 002115DC 90 01 00 C8 */ stw r0, 0xc8(r1) /* 80214680 002115E0 41 82 00 60 */ beq lbl_802146E0 /* 80214684 002115E4 A0 01 00 28 */ lhz r0, 0x28(r1) /* 80214688 002115E8 7F C3 F3 78 */ mr r3, r30 /* 8021468C 002115EC 38 81 00 24 */ addi r4, r1, 0x24 /* 80214690 002115F0 B0 01 00 24 */ sth r0, 0x24(r1) /* 80214694 002115F4 4B E3 7E E1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80214698 002115F8 7C 64 1B 78 */ mr r4, r3 /* 8021469C 002115FC 38 61 00 44 */ addi r3, r1, 0x44 /* 802146A0 00211600 4B E9 B5 F1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 802146A4 00211604 80 A3 00 04 */ lwz r5, 4(r3) /* 802146A8 00211608 28 05 00 00 */ cmplwi r5, 0 /* 802146AC 0021160C 41 82 00 24 */ beq lbl_802146D0 /* 802146B0 00211610 81 9D 00 00 */ lwz r12, 0(r29) /* 802146B4 00211614 7F A3 EB 78 */ mr r3, r29 /* 802146B8 00211618 7F C6 F3 78 */ mr r6, r30 /* 802146BC 0021161C 38 81 00 A0 */ addi r4, r1, 0xa0 /* 802146C0 00211620 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 802146C4 00211624 7D 89 03 A6 */ mtctr r12 /* 802146C8 00211628 4E 80 04 21 */ bctrl /* 802146CC 0021162C 48 00 00 14 */ b lbl_802146E0 lbl_802146D0: /* 802146D0 00211630 7F A3 EB 78 */ mr r3, r29 /* 802146D4 00211634 7F C5 F3 78 */ mr r5, r30 /* 802146D8 00211638 38 81 00 A0 */ addi r4, r1, 0xa0 /* 802146DC 0021163C 4B FF FB 89 */ bl ResolveCollisionWithWorld__17CEnergyProjectileFRC14CRayCastResultR13CStateManager lbl_802146E0: /* 802146E0 00211640 3B FD 01 70 */ addi r31, r29, 0x170 /* 802146E4 00211644 7F E3 FB 78 */ mr r3, r31 /* 802146E8 00211648 48 09 BF 61 */ bl UpdateParticleFX__17CProjectileWeaponFv /* 802146EC 0021164C 88 1D 02 E4 */ lbz r0, 0x2e4(r29) /* 802146F0 00211650 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802146F4 00211654 41 82 00 64 */ beq lbl_80214758 /* 802146F8 00211658 88 1D 03 D0 */ lbz r0, 0x3d0(r29) /* 802146FC 0021165C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80214700 00211660 41 82 00 58 */ beq lbl_80214758 /* 80214704 00211664 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80214708 00211668 3C A0 80 5A */ lis r5, lbl_805A66F4@ha /* 8021470C 0021166C 3C 80 80 57 */ lis r4, lbl_8056D578@ha /* 80214710 00211670 7F A3 EB 78 */ mr r3, r29 /* 80214714 00211674 B0 01 00 20 */ sth r0, 0x20(r1) /* 80214718 00211678 39 04 D5 78 */ addi r8, r4, lbl_8056D578@l /* 8021471C 0021167C 38 A5 66 F4 */ addi r5, r5, lbl_805A66F4@l /* 80214720 00211680 7F C7 F3 78 */ mr r7, r30 /* 80214724 00211684 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 80214728 00211688 38 81 00 64 */ addi r4, r1, 0x64 /* 8021472C 0021168C C0 3D 00 50 */ lfs f1, 0x50(r29) /* 80214730 00211690 39 21 00 20 */ addi r9, r1, 0x20 /* 80214734 00211694 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80214738 00211698 38 C0 00 01 */ li r6, 1 /* 8021473C 0021169C D0 01 00 64 */ stfs f0, 0x64(r1) /* 80214740 002116A0 D0 21 00 68 */ stfs f1, 0x68(r1) /* 80214744 002116A4 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 80214748 002116A8 81 9D 00 00 */ lwz r12, 0(r29) /* 8021474C 002116AC 81 8C 00 70 */ lwz r12, 0x70(r12) /* 80214750 002116B0 7D 89 03 A6 */ mtctr r12 /* 80214754 002116B4 4E 80 04 21 */ bctrl lbl_80214758: /* 80214758 002116B8 A0 BD 02 C8 */ lhz r5, 0x2c8(r29) /* 8021475C 002116BC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80214760 002116C0 7C 05 00 40 */ cmplw r5, r0 /* 80214764 002116C4 41 82 00 D0 */ beq lbl_80214834 /* 80214768 002116C8 B0 A1 00 18 */ sth r5, 0x18(r1) /* 8021476C 002116CC 7F C3 F3 78 */ mr r3, r30 /* 80214770 002116D0 38 81 00 1C */ addi r4, r1, 0x1c /* 80214774 002116D4 B0 A1 00 1C */ sth r5, 0x1c(r1) /* 80214778 002116D8 4B E3 7D FD */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021477C 002116DC 7C 64 1B 78 */ mr r4, r3 /* 80214780 002116E0 38 61 00 3C */ addi r3, r1, 0x3c /* 80214784 002116E4 4B E9 93 01 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 80214788 002116E8 83 83 00 04 */ lwz r28, 4(r3) /* 8021478C 002116EC 28 1C 00 00 */ cmplwi r28, 0 /* 80214790 002116F0 41 82 00 A4 */ beq lbl_80214834 /* 80214794 002116F4 38 7C 00 34 */ addi r3, r28, 0x34 /* 80214798 002116F8 38 9D 00 34 */ addi r4, r29, 0x34 /* 8021479C 002116FC 48 0F E3 A5 */ bl __as__12CTransform4fFRC12CTransform4f /* 802147A0 00211700 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802147A4 00211704 38 A0 00 01 */ li r5, 1 /* 802147A8 00211708 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 802147AC 0021170C 7F 83 E3 78 */ mr r3, r28 /* 802147B0 00211710 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802147B4 00211714 38 81 00 58 */ addi r4, r1, 0x58 /* 802147B8 00211718 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802147BC 0021171C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 802147C0 00211720 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802147C4 00211724 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802147C8 00211728 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 802147CC 0021172C 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802147D0 00211730 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 802147D4 00211734 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 802147D8 00211738 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 802147DC 0021173C D0 01 00 58 */ stfs f0, 0x58(r1) /* 802147E0 00211740 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 802147E4 00211744 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802147E8 00211748 4B E3 E6 A5 */ bl SetTranslation__6CActorFRC9CVector3f /* 802147EC 0021174C 80 7F 00 FC */ lwz r3, 0xfc(r31) /* 802147F0 00211750 28 03 00 00 */ cmplwi r3, 0 /* 802147F4 00211754 41 82 00 40 */ beq lbl_80214834 /* 802147F8 00211758 81 83 00 00 */ lwz r12, 0(r3) /* 802147FC 0021175C 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80214800 00211760 7D 89 03 A6 */ mtctr r12 /* 80214804 00211764 4E 80 04 21 */ bctrl /* 80214808 00211768 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021480C 0021176C 41 82 00 28 */ beq lbl_80214834 /* 80214810 00211770 80 9F 00 FC */ lwz r4, 0xfc(r31) /* 80214814 00211774 38 61 00 D0 */ addi r3, r1, 0xd0 /* 80214818 00211778 81 84 00 00 */ lwz r12, 0(r4) /* 8021481C 0021177C 81 8C 00 68 */ lwz r12, 0x68(r12) /* 80214820 00211780 7D 89 03 A6 */ mtctr r12 /* 80214824 00211784 4E 80 04 21 */ bctrl /* 80214828 00211788 7F 83 E3 78 */ mr r3, r28 /* 8021482C 0021178C 38 81 00 D0 */ addi r4, r1, 0xd0 /* 80214830 00211790 4B EA 0F 15 */ bl SetLight__10CGameLightFRC6CLight lbl_80214834: /* 80214834 00211794 80 1D 02 E8 */ lwz r0, 0x2e8(r29) /* 80214838 00211798 28 00 00 00 */ cmplwi r0, 0 /* 8021483C 0021179C 41 82 00 70 */ beq lbl_802148AC /* 80214840 002117A0 80 1D 02 E8 */ lwz r0, 0x2e8(r29) /* 80214844 002117A4 7F E3 FB 78 */ mr r3, r31 /* 80214848 002117A8 90 01 00 30 */ stw r0, 0x30(r1) /* 8021484C 002117AC 48 09 A8 E9 */ bl GetVelocity__17CProjectileWeaponCFv /* 80214850 002117B0 7F E4 FB 78 */ mr r4, r31 /* 80214854 002117B4 7C 7C 1B 78 */ mr r28, r3 /* 80214858 002117B8 81 9F 00 00 */ lwz r12, 0(r31) /* 8021485C 002117BC 38 61 00 4C */ addi r3, r1, 0x4c /* 80214860 002117C0 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80214864 002117C4 7D 89 03 A6 */ mtctr r12 /* 80214868 002117C8 4E 80 04 21 */ bctrl /* 8021486C 002117CC 7F 85 E3 78 */ mr r5, r28 /* 80214870 002117D0 38 61 00 30 */ addi r3, r1, 0x30 /* 80214874 002117D4 38 81 00 4C */ addi r4, r1, 0x4c /* 80214878 002117D8 38 C0 00 FF */ li r6, 0xff /* 8021487C 002117DC 48 0D 56 35 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc /* 80214880 002117E0 88 BD 02 E4 */ lbz r5, 0x2e4(r29) /* 80214884 002117E4 38 80 20 00 */ li r4, 0x2000 /* 80214888 002117E8 80 1D 02 E8 */ lwz r0, 0x2e8(r29) /* 8021488C 002117EC 38 61 00 2C */ addi r3, r1, 0x2c /* 80214890 002117F0 54 A6 DF FE */ rlwinm r6, r5, 0x1b, 0x1f, 0x1f /* 80214894 002117F4 7C A6 00 D0 */ neg r5, r6 /* 80214898 002117F8 90 01 00 2C */ stw r0, 0x2c(r1) /* 8021489C 002117FC 7C A0 33 78 */ or r0, r5, r6 /* 802148A0 00211800 7C 00 FE 70 */ srawi r0, r0, 0x1f /* 802148A4 00211804 7C 84 00 78 */ andc r4, r4, r0 /* 802148A8 00211808 48 0D 46 05 */ bl PitchBend__11CSfxManagerF10CSfxHandlei lbl_802148AC: /* 802148AC 0021180C C0 3D 03 D4 */ lfs f1, 0x3d4(r29) /* 802148B0 00211810 C0 02 B3 1C */ lfs f0, lbl_805AD03C@sda21(r2) /* 802148B4 00211814 EC 21 F8 2A */ fadds f1, f1, f31 /* 802148B8 00211818 D0 3D 03 D4 */ stfs f1, 0x3d4(r29) /* 802148BC 0021181C C0 3D 03 D4 */ lfs f1, 0x3d4(r29) /* 802148C0 00211820 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802148C4 00211824 40 81 00 20 */ ble lbl_802148E4 /* 802148C8 00211828 A0 1D 00 08 */ lhz r0, 8(r29) /* 802148CC 0021182C 7F C3 F3 78 */ mr r3, r30 /* 802148D0 00211830 38 81 00 14 */ addi r4, r1, 0x14 /* 802148D4 00211834 B0 01 00 10 */ sth r0, 0x10(r1) /* 802148D8 00211838 B0 01 00 14 */ sth r0, 0x14(r1) /* 802148DC 0021183C 4B E3 79 91 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 802148E0 00211840 48 00 00 38 */ b lbl_80214918 lbl_802148E4: /* 802148E4 00211844 7F E3 FB 78 */ mr r3, r31 /* 802148E8 00211848 48 09 B0 B5 */ bl IsSystemDeletable__17CProjectileWeaponCFv /* 802148EC 0021184C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802148F0 00211850 40 82 00 10 */ bne lbl_80214900 /* 802148F4 00211854 88 1D 03 D0 */ lbz r0, 0x3d0(r29) /* 802148F8 00211858 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802148FC 0021185C 41 82 00 1C */ beq lbl_80214918 lbl_80214900: /* 80214900 00211860 A0 1D 00 08 */ lhz r0, 8(r29) /* 80214904 00211864 7F C3 F3 78 */ mr r3, r30 /* 80214908 00211868 38 81 00 0C */ addi r4, r1, 0xc /* 8021490C 0021186C B0 01 00 08 */ sth r0, 8(r1) /* 80214910 00211870 B0 01 00 0C */ sth r0, 0xc(r1) /* 80214914 00211874 4B E3 79 59 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_80214918: /* 80214918 00211878 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 8021491C 0021187C 80 01 01 44 */ lwz r0, 0x144(r1) /* 80214920 00211880 CB E1 01 30 */ lfd f31, 0x130(r1) /* 80214924 00211884 83 E1 01 2C */ lwz r31, 0x12c(r1) /* 80214928 00211888 83 C1 01 28 */ lwz r30, 0x128(r1) /* 8021492C 0021188C 83 A1 01 24 */ lwz r29, 0x124(r1) /* 80214930 00211890 83 81 01 20 */ lwz r28, 0x120(r1) /* 80214934 00211894 7C 08 03 A6 */ mtlr r0 /* 80214938 00211898 38 21 01 40 */ addi r1, r1, 0x140 /* 8021493C 0021189C 4E 80 00 20 */ blr .global Render__17CEnergyProjectileCFRC13CStateManager Render__17CEnergyProjectileCFRC13CStateManager: /* 80214940 002118A0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80214944 002118A4 7C 08 02 A6 */ mflr r0 /* 80214948 002118A8 90 01 00 44 */ stw r0, 0x44(r1) /* 8021494C 002118AC 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80214950 002118B0 7C 9F 23 78 */ mr r31, r4 /* 80214954 002118B4 93 C1 00 38 */ stw r30, 0x38(r1) /* 80214958 002118B8 7C 7E 1B 78 */ mr r30, r3 /* 8021495C 002118BC 93 A1 00 34 */ stw r29, 0x34(r1) /* 80214960 002118C0 80 64 08 B8 */ lwz r3, 0x8b8(r4) /* 80214964 002118C4 80 63 00 00 */ lwz r3, 0(r3) /* 80214968 002118C8 4B E7 CB F1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 8021496C 002118CC 7C 7D 1B 79 */ or. r29, r3, r3 /* 80214970 002118D0 40 82 00 68 */ bne lbl_802149D8 /* 80214974 002118D4 80 7E 00 E8 */ lwz r3, 0xe8(r30) /* 80214978 002118D8 54 60 07 7A */ rlwinm r0, r3, 0, 0x1d, 0x1d /* 8021497C 002118DC 2C 00 00 04 */ cmpwi r0, 4 /* 80214980 002118E0 41 82 00 10 */ beq lbl_80214990 /* 80214984 002118E4 54 60 06 30 */ rlwinm r0, r3, 0, 0x18, 0x18 /* 80214988 002118E8 2C 00 00 80 */ cmpwi r0, 0x80 /* 8021498C 002118EC 40 82 00 4C */ bne lbl_802149D8 lbl_80214990: /* 80214990 002118F0 C8 1E 02 40 */ lfd f0, 0x240(r30) /* 80214994 002118F4 C0 42 B3 20 */ lfs f2, lbl_805AD040@sda21(r2) /* 80214998 002118F8 FC 20 00 18 */ frsp f1, f0 /* 8021499C 002118FC C0 02 B3 10 */ lfs f0, lbl_805AD030@sda21(r2) /* 802149A0 00211900 EC 22 08 28 */ fsubs f1, f2, f1 /* 802149A4 00211904 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802149A8 00211908 40 81 00 30 */ ble lbl_802149D8 /* 802149AC 0021190C C0 02 B3 24 */ lfs f0, lbl_805AD044@sda21(r2) /* 802149B0 00211910 7F E3 FB 78 */ mr r3, r31 /* 802149B4 00211914 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 802149B8 00211918 38 81 00 18 */ addi r4, r1, 0x18 /* 802149BC 0021191C C0 5E 00 50 */ lfs f2, 0x50(r30) /* 802149C0 00211920 EC 20 00 72 */ fmuls f1, f0, f1 /* 802149C4 00211924 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 802149C8 00211928 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 802149CC 0021192C D0 01 00 18 */ stfs f0, 0x18(r1) /* 802149D0 00211930 D0 61 00 20 */ stfs f3, 0x20(r1) /* 802149D4 00211934 4B E3 0A 29 */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff lbl_802149D8: /* 802149D8 00211938 2C 1D 00 01 */ cmpwi r29, 1 /* 802149DC 0021193C 40 82 00 70 */ bne lbl_80214A4C /* 802149E0 00211940 80 1E 00 E8 */ lwz r0, 0xe8(r30) /* 802149E4 00211944 54 04 07 38 */ rlwinm r4, r0, 0, 0x1c, 0x1c /* 802149E8 00211948 38 64 FF F8 */ addi r3, r4, -8 /* 802149EC 0021194C 20 04 00 08 */ subfic r0, r4, 8 /* 802149F0 00211950 7C 60 03 78 */ or r0, r3, r0 /* 802149F4 00211954 54 00 0F FE */ srwi r0, r0, 0x1f /* 802149F8 00211958 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 802149FC 0021195C 48 13 55 B9 */ bl Black__6CColorFv /* 80214A00 00211960 C0 22 B3 10 */ lfs f1, lbl_805AD030@sda21(r2) /* 80214A04 00211964 7C 64 1B 78 */ mr r4, r3 /* 80214A08 00211968 C0 42 B3 28 */ lfs f2, lbl_805AD048@sda21(r2) /* 80214A0C 0021196C 38 60 00 02 */ li r3, 2 /* 80214A10 00211970 48 0F 58 79 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor /* 80214A14 00211974 38 7E 01 70 */ addi r3, r30, 0x170 /* 80214A18 00211978 48 09 AC 29 */ bl RenderParticles__17CProjectileWeaponCFv /* 80214A1C 0021197C 7F C3 F3 78 */ mr r3, r30 /* 80214A20 00211980 7F E4 FB 78 */ mr r4, r31 /* 80214A24 00211984 4B E2 5A 0D */ bl Render__15CGameProjectileCFRC13CStateManager /* 80214A28 00211988 80 1E 00 04 */ lwz r0, 4(r30) /* 80214A2C 0021198C 7F E3 FB 78 */ mr r3, r31 /* 80214A30 00211990 38 81 00 14 */ addi r4, r1, 0x14 /* 80214A34 00211994 90 01 00 10 */ stw r0, 0x10(r1) /* 80214A38 00211998 90 01 00 14 */ stw r0, 0x14(r1) /* 80214A3C 0021199C 4B E3 23 45 */ bl SetupFogForArea__13CStateManagerCF7TAreaId /* 80214A40 002119A0 38 00 00 00 */ li r0, 0 /* 80214A44 002119A4 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 80214A48 002119A8 48 00 00 6C */ b lbl_80214AB4 lbl_80214A4C: /* 80214A4C 002119AC 80 1E 00 E8 */ lwz r0, 0xe8(r30) /* 80214A50 002119B0 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c /* 80214A54 002119B4 2C 00 00 08 */ cmpwi r0, 8 /* 80214A58 002119B8 40 82 00 50 */ bne lbl_80214AA8 /* 80214A5C 002119BC 80 1F 0F 34 */ lwz r0, 0xf34(r31) /* 80214A60 002119C0 2C 00 00 00 */ cmpwi r0, 0 /* 80214A64 002119C4 40 82 00 44 */ bne lbl_80214AA8 /* 80214A68 002119C8 38 00 00 01 */ li r0, 1 /* 80214A6C 002119CC 38 7E 01 70 */ addi r3, r30, 0x170 /* 80214A70 002119D0 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 80214A74 002119D4 48 09 AB CD */ bl RenderParticles__17CProjectileWeaponCFv /* 80214A78 002119D8 7F C3 F3 78 */ mr r3, r30 /* 80214A7C 002119DC 7F E4 FB 78 */ mr r4, r31 /* 80214A80 002119E0 4B E2 59 B1 */ bl Render__15CGameProjectileCFRC13CStateManager /* 80214A84 002119E4 80 1E 00 04 */ lwz r0, 4(r30) /* 80214A88 002119E8 7F E3 FB 78 */ mr r3, r31 /* 80214A8C 002119EC 38 81 00 0C */ addi r4, r1, 0xc /* 80214A90 002119F0 90 01 00 08 */ stw r0, 8(r1) /* 80214A94 002119F4 90 01 00 0C */ stw r0, 0xc(r1) /* 80214A98 002119F8 4B E3 22 E9 */ bl SetupFogForArea__13CStateManagerCF7TAreaId /* 80214A9C 002119FC 38 00 00 00 */ li r0, 0 /* 80214AA0 00211A00 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 80214AA4 00211A04 48 00 00 10 */ b lbl_80214AB4 lbl_80214AA8: /* 80214AA8 00211A08 7F C3 F3 78 */ mr r3, r30 /* 80214AAC 00211A0C 7F E4 FB 78 */ mr r4, r31 /* 80214AB0 00211A10 4B E2 59 81 */ bl Render__15CGameProjectileCFRC13CStateManager lbl_80214AB4: /* 80214AB4 00211A14 80 01 00 44 */ lwz r0, 0x44(r1) /* 80214AB8 00211A18 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80214ABC 00211A1C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80214AC0 00211A20 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80214AC4 00211A24 7C 08 03 A6 */ mtlr r0 /* 80214AC8 00211A28 38 21 00 40 */ addi r1, r1, 0x40 /* 80214ACC 00211A2C 4E 80 00 20 */ blr .global AddToRenderer__17CEnergyProjectileCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__17CEnergyProjectileCFRC14CFrustumPlanesRC13CStateManager: /* 80214AD0 00211A30 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80214AD4 00211A34 7C 08 02 A6 */ mflr r0 /* 80214AD8 00211A38 90 01 00 54 */ stw r0, 0x54(r1) /* 80214ADC 00211A3C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80214AE0 00211A40 7C BF 2B 78 */ mr r31, r5 /* 80214AE4 00211A44 93 C1 00 48 */ stw r30, 0x48(r1) /* 80214AE8 00211A48 7C 9E 23 78 */ mr r30, r4 /* 80214AEC 00211A4C 93 A1 00 44 */ stw r29, 0x44(r1) /* 80214AF0 00211A50 7C 7D 1B 78 */ mr r29, r3 /* 80214AF4 00211A54 38 61 00 08 */ addi r3, r1, 8 /* 80214AF8 00211A58 38 9D 01 70 */ addi r4, r29, 0x170 /* 80214AFC 00211A5C 48 09 A2 0D */ bl GetBounds__17CProjectileWeaponCFv /* 80214B00 00211A60 88 01 00 20 */ lbz r0, 0x20(r1) /* 80214B04 00211A64 28 00 00 00 */ cmplwi r0, 0 /* 80214B08 00211A68 98 01 00 3C */ stb r0, 0x3c(r1) /* 80214B0C 00211A6C 41 82 00 3C */ beq lbl_80214B48 /* 80214B10 00211A70 34 61 00 24 */ addic. r3, r1, 0x24 /* 80214B14 00211A74 41 82 00 34 */ beq lbl_80214B48 /* 80214B18 00211A78 C0 01 00 08 */ lfs f0, 8(r1) /* 80214B1C 00211A7C D0 03 00 00 */ stfs f0, 0(r3) /* 80214B20 00211A80 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80214B24 00211A84 D0 03 00 04 */ stfs f0, 4(r3) /* 80214B28 00211A88 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80214B2C 00211A8C D0 03 00 08 */ stfs f0, 8(r3) /* 80214B30 00211A90 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80214B34 00211A94 D0 03 00 0C */ stfs f0, 0xc(r3) /* 80214B38 00211A98 C0 01 00 18 */ lfs f0, 0x18(r1) /* 80214B3C 00211A9C D0 03 00 10 */ stfs f0, 0x10(r3) /* 80214B40 00211AA0 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80214B44 00211AA4 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_80214B48: /* 80214B48 00211AA8 88 01 00 3C */ lbz r0, 0x3c(r1) /* 80214B4C 00211AAC 38 60 00 00 */ li r3, 0 /* 80214B50 00211AB0 98 61 00 20 */ stb r3, 0x20(r1) /* 80214B54 00211AB4 28 00 00 00 */ cmplwi r0, 0 /* 80214B58 00211AB8 41 82 00 24 */ beq lbl_80214B7C /* 80214B5C 00211ABC 7F C3 F3 78 */ mr r3, r30 /* 80214B60 00211AC0 38 81 00 24 */ addi r4, r1, 0x24 /* 80214B64 00211AC4 48 13 06 25 */ bl "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" /* 80214B68 00211AC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80214B6C 00211ACC 40 82 00 10 */ bne lbl_80214B7C /* 80214B70 00211AD0 38 00 00 00 */ li r0, 0 /* 80214B74 00211AD4 98 01 00 3C */ stb r0, 0x3c(r1) /* 80214B78 00211AD8 48 00 00 60 */ b lbl_80214BD8 lbl_80214B7C: /* 80214B7C 00211ADC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 80214B80 00211AE0 7F E4 FB 78 */ mr r4, r31 /* 80214B84 00211AE4 80 63 00 00 */ lwz r3, 0(r3) /* 80214B88 00211AE8 4B E7 C9 D1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 80214B8C 00211AEC 2C 03 00 01 */ cmpwi r3, 1 /* 80214B90 00211AF0 41 82 00 34 */ beq lbl_80214BC4 /* 80214B94 00211AF4 80 1D 00 E8 */ lwz r0, 0xe8(r29) /* 80214B98 00211AF8 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c /* 80214B9C 00211AFC 2C 00 00 08 */ cmpwi r0, 8 /* 80214BA0 00211B00 40 82 00 10 */ bne lbl_80214BB0 /* 80214BA4 00211B04 80 1F 0F 34 */ lwz r0, 0xf34(r31) /* 80214BA8 00211B08 2C 00 00 00 */ cmpwi r0, 0 /* 80214BAC 00211B0C 41 82 00 18 */ beq lbl_80214BC4 lbl_80214BB0: /* 80214BB0 00211B10 38 7D 01 70 */ addi r3, r29, 0x170 /* 80214BB4 00211B14 81 9D 01 70 */ lwz r12, 0x170(r29) /* 80214BB8 00211B18 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80214BBC 00211B1C 7D 89 03 A6 */ mtctr r12 /* 80214BC0 00211B20 4E 80 04 21 */ bctrl lbl_80214BC4: /* 80214BC4 00211B24 7F A3 EB 78 */ mr r3, r29 /* 80214BC8 00211B28 7F E4 FB 78 */ mr r4, r31 /* 80214BCC 00211B2C 4B E3 FE 01 */ bl EnsureRendered__6CActorCFRC13CStateManager /* 80214BD0 00211B30 38 00 00 00 */ li r0, 0 /* 80214BD4 00211B34 98 01 00 3C */ stb r0, 0x3c(r1) lbl_80214BD8: /* 80214BD8 00211B38 80 01 00 54 */ lwz r0, 0x54(r1) /* 80214BDC 00211B3C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80214BE0 00211B40 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80214BE4 00211B44 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80214BE8 00211B48 7C 08 03 A6 */ mtlr r0 /* 80214BEC 00211B4C 38 21 00 50 */ addi r1, r1, 0x50 /* 80214BF0 00211B50 4E 80 00 20 */ blr .global Touch__17CEnergyProjectileFR6CActorR13CStateManager Touch__17CEnergyProjectileFR6CActorR13CStateManager: /* 80214BF4 00211B54 4E 80 00 20 */ blr .global Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId: /* 80214BF8 00211B58 94 21 FD C0 */ stwu r1, -0x240(r1) /* 80214BFC 00211B5C 7C 08 02 A6 */ mflr r0 /* 80214C00 00211B60 90 01 02 44 */ stw r0, 0x244(r1) /* 80214C04 00211B64 DB E1 02 30 */ stfd f31, 0x230(r1) /* 80214C08 00211B68 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 /* 80214C0C 00211B6C DB C1 02 20 */ stfd f30, 0x220(r1) /* 80214C10 00211B70 F3 C1 02 28 */ psq_st f30, 552(r1), 0, qr0 /* 80214C14 00211B74 BE A1 01 F4 */ stmw r21, 0x1f4(r1) /* 80214C18 00211B78 C0 62 B3 2C */ lfs f3, lbl_805AD04C@sda21(r2) /* 80214C1C 00211B7C 7C 96 23 78 */ mr r22, r4 /* 80214C20 00211B80 C0 45 00 04 */ lfs f2, 4(r5) /* 80214C24 00211B84 3C 80 80 5A */ lis r4, skZero3f@ha /* 80214C28 00211B88 C0 25 00 08 */ lfs f1, 8(r5) /* 80214C2C 00211B8C 7C 7F 1B 78 */ mr r31, r3 /* 80214C30 00211B90 C0 05 00 00 */ lfs f0, 0(r5) /* 80214C34 00211B94 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80214C38 00211B98 C0 B6 00 04 */ lfs f5, 4(r22) /* 80214C3C 00211B9C EC 23 00 72 */ fmuls f1, f3, f1 /* 80214C40 00211BA0 EC 03 00 32 */ fmuls f0, f3, f0 /* 80214C44 00211BA4 C0 96 00 08 */ lfs f4, 8(r22) /* 80214C48 00211BA8 EC A5 10 2A */ fadds f5, f5, f2 /* 80214C4C 00211BAC C0 76 00 00 */ lfs f3, 0(r22) /* 80214C50 00211BB0 EC 84 08 2A */ fadds f4, f4, f1 /* 80214C54 00211BB4 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 80214C58 00211BB8 EC 63 00 2A */ fadds f3, f3, f0 /* 80214C5C 00211BBC 7D 15 43 78 */ mr r21, r8 /* 80214C60 00211BC0 C0 24 00 04 */ lfs f1, 4(r4) /* 80214C64 00211BC4 7C B7 2B 78 */ mr r23, r5 /* 80214C68 00211BC8 C0 04 00 08 */ lfs f0, 8(r4) /* 80214C6C 00211BCC 7C D8 33 78 */ mr r24, r6 /* 80214C70 00211BD0 D0 A1 01 38 */ stfs f5, 0x138(r1) /* 80214C74 00211BD4 7C FE 3B 78 */ mr r30, r7 /* 80214C78 00211BD8 7D 3D 4B 78 */ mr r29, r9 /* 80214C7C 00211BDC 7E A3 AB 78 */ mr r3, r21 /* 80214C80 00211BE0 D0 61 01 34 */ stfs f3, 0x134(r1) /* 80214C84 00211BE4 38 9F 01 2C */ addi r4, r31, 0x12c /* 80214C88 00211BE8 3B 80 00 01 */ li r28, 1 /* 80214C8C 00211BEC 3B 40 00 00 */ li r26, 0 /* 80214C90 00211BF0 D0 81 01 3C */ stfs f4, 0x13c(r1) /* 80214C94 00211BF4 3B 20 00 00 */ li r25, 0 /* 80214C98 00211BF8 38 A0 00 00 */ li r5, 0 /* 80214C9C 00211BFC D0 41 01 28 */ stfs f2, 0x128(r1) /* 80214CA0 00211C00 D0 21 01 2C */ stfs f1, 0x12c(r1) /* 80214CA4 00211C04 D0 01 01 30 */ stfs f0, 0x130(r1) /* 80214CA8 00211C08 4B EE D8 15 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode /* 80214CAC 00211C0C 7C 7B 1B 78 */ mr r27, r3 /* 80214CB0 00211C10 2C 1B 00 02 */ cmpwi r27, 2 /* 80214CB4 00211C14 40 82 01 58 */ bne lbl_80214E0C /* 80214CB8 00211C18 7E A3 AB 78 */ mr r3, r21 /* 80214CBC 00211C1C 38 9F 01 2C */ addi r4, r31, 0x12c /* 80214CC0 00211C20 4B EE D7 D1 */ bl GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode /* 80214CC4 00211C24 2C 03 00 01 */ cmpwi r3, 1 /* 80214CC8 00211C28 3B 20 00 01 */ li r25, 1 /* 80214CCC 00211C2C 41 82 00 B0 */ beq lbl_80214D7C /* 80214CD0 00211C30 40 80 00 10 */ bge lbl_80214CE0 /* 80214CD4 00211C34 2C 03 00 00 */ cmpwi r3, 0 /* 80214CD8 00211C38 40 80 00 14 */ bge lbl_80214CEC /* 80214CDC 00211C3C 48 00 00 A0 */ b lbl_80214D7C lbl_80214CE0: /* 80214CE0 00211C40 2C 03 00 04 */ cmpwi r3, 4 /* 80214CE4 00211C44 40 80 00 98 */ bge lbl_80214D7C /* 80214CE8 00211C48 48 00 00 0C */ b lbl_80214CF4 lbl_80214CEC: /* 80214CEC 00211C4C 3B 20 00 00 */ li r25, 0 /* 80214CF0 00211C50 48 00 00 8C */ b lbl_80214D7C lbl_80214CF4: /* 80214CF4 00211C54 2C 03 00 02 */ cmpwi r3, 2 /* 80214CF8 00211C58 38 60 00 00 */ li r3, 0 /* 80214CFC 00211C5C 40 82 00 28 */ bne lbl_80214D24 /* 80214D00 00211C60 80 1F 00 F0 */ lwz r0, 0xf0(r31) /* 80214D04 00211C64 2C 00 00 06 */ cmpwi r0, 6 /* 80214D08 00211C68 41 82 00 20 */ beq lbl_80214D28 /* 80214D0C 00211C6C 80 1F 00 E8 */ lwz r0, 0xe8(r31) /* 80214D10 00211C70 54 00 06 30 */ rlwinm r0, r0, 0, 0x18, 0x18 /* 80214D14 00211C74 2C 00 00 80 */ cmpwi r0, 0x80 /* 80214D18 00211C78 41 82 00 10 */ beq lbl_80214D28 /* 80214D1C 00211C7C 38 60 00 01 */ li r3, 1 /* 80214D20 00211C80 48 00 00 08 */ b lbl_80214D28 lbl_80214D24: /* 80214D24 00211C84 38 60 00 01 */ li r3, 1 lbl_80214D28: /* 80214D28 00211C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80214D2C 00211C8C 41 82 00 50 */ beq lbl_80214D7C /* 80214D30 00211C90 80 DF 01 00 */ lwz r6, 0x100(r31) /* 80214D34 00211C94 38 00 00 01 */ li r0, 1 /* 80214D38 00211C98 80 FF 01 04 */ lwz r7, 0x104(r31) /* 80214D3C 00211C9C 38 80 00 00 */ li r4, 0 /* 80214D40 00211CA0 7C C0 00 38 */ and r0, r6, r0 /* 80214D44 00211CA4 81 1F 00 F8 */ lwz r8, 0xf8(r31) /* 80214D48 00211CA8 7C E3 20 38 */ and r3, r7, r4 /* 80214D4C 00211CAC 81 3F 00 FC */ lwz r9, 0xfc(r31) /* 80214D50 00211CB0 80 BF 01 08 */ lwz r5, 0x108(r31) /* 80214D54 00211CB4 7C 63 22 78 */ xor r3, r3, r4 /* 80214D58 00211CB8 7C 00 22 78 */ xor r0, r0, r4 /* 80214D5C 00211CBC 91 21 01 74 */ stw r9, 0x174(r1) /* 80214D60 00211CC0 7C 60 03 79 */ or. r0, r3, r0 /* 80214D64 00211CC4 91 01 01 70 */ stw r8, 0x170(r1) /* 80214D68 00211CC8 90 E1 01 7C */ stw r7, 0x17c(r1) /* 80214D6C 00211CCC 90 C1 01 78 */ stw r6, 0x178(r1) /* 80214D70 00211CD0 90 A1 01 80 */ stw r5, 0x180(r1) /* 80214D74 00211CD4 41 82 00 08 */ beq lbl_80214D7C /* 80214D78 00211CD8 3B 40 00 01 */ li r26, 1 lbl_80214D7C: /* 80214D7C 00211CDC 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 80214D80 00211CE0 41 82 00 8C */ beq lbl_80214E0C /* 80214D84 00211CE4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 80214D88 00211CE8 C0 22 B3 10 */ lfs f1, lbl_805AD030@sda21(r2) /* 80214D8C 00211CEC C0 42 B3 30 */ lfs f2, lbl_805AD050@sda21(r2) /* 80214D90 00211CF0 48 0F D7 B5 */ bl Range__9CRandom16Fff /* 80214D94 00211CF4 FF E0 08 90 */ fmr f31, f1 /* 80214D98 00211CF8 48 10 00 59 */ bl FastSinR__5CMathFf /* 80214D9C 00211CFC FF C0 08 90 */ fmr f30, f1 /* 80214DA0 00211D00 FC 20 F8 90 */ fmr f1, f31 /* 80214DA4 00211D04 48 0F FF A1 */ bl FastCosR__5CMathFf /* 80214DA8 00211D08 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 80214DAC 00211D0C FF E0 08 90 */ fmr f31, f1 /* 80214DB0 00211D10 7F C5 F3 78 */ mr r5, r30 /* 80214DB4 00211D14 38 61 00 D8 */ addi r3, r1, 0xd8 /* 80214DB8 00211D18 81 84 00 00 */ lwz r12, 0(r4) /* 80214DBC 00211D1C C0 22 B3 10 */ lfs f1, lbl_805AD030@sda21(r2) /* 80214DC0 00211D20 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80214DC4 00211D24 7D 89 03 A6 */ mtctr r12 /* 80214DC8 00211D28 4E 80 04 21 */ bctrl /* 80214DCC 00211D2C C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 80214DD0 00211D30 7F E3 FB 78 */ mr r3, r31 /* 80214DD4 00211D34 C0 41 00 D8 */ lfs f2, 0xd8(r1) /* 80214DD8 00211D38 7F C5 F3 78 */ mr r5, r30 /* 80214DDC 00211D3C EC 60 F0 2A */ fadds f3, f0, f30 /* 80214DE0 00211D40 C0 21 00 DC */ lfs f1, 0xdc(r1) /* 80214DE4 00211D44 C0 02 B3 10 */ lfs f0, lbl_805AD030@sda21(r2) /* 80214DE8 00211D48 EC 42 F8 2A */ fadds f2, f2, f31 /* 80214DEC 00211D4C A0 1D 00 00 */ lhz r0, 0(r29) /* 80214DF0 00211D50 38 81 00 34 */ addi r4, r1, 0x34 /* 80214DF4 00211D54 EC 01 00 2A */ fadds f0, f1, f0 /* 80214DF8 00211D58 D0 41 01 28 */ stfs f2, 0x128(r1) /* 80214DFC 00211D5C D0 61 01 30 */ stfs f3, 0x130(r1) /* 80214E00 00211D60 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 80214E04 00211D64 B0 01 00 34 */ sth r0, 0x34(r1) /* 80214E08 00211D68 4B FF EF 9D */ bl ChangeProjectileOwner__17CEnergyProjectileF9TUniqueIdR13CStateManager lbl_80214E0C: /* 80214E0C 00211D6C 2C 1B 00 03 */ cmpwi r27, 3 /* 80214E10 00211D70 41 82 00 38 */ beq lbl_80214E48 /* 80214E14 00211D74 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 80214E18 00211D78 40 82 00 30 */ bne lbl_80214E48 /* 80214E1C 00211D7C 2C 18 00 0F */ cmpwi r24, 0xf /* 80214E20 00211D80 38 00 00 00 */ li r0, 0 /* 80214E24 00211D84 41 82 00 1C */ beq lbl_80214E40 /* 80214E28 00211D88 2C 18 00 12 */ cmpwi r24, 0x12 /* 80214E2C 00211D8C 41 82 00 14 */ beq lbl_80214E40 /* 80214E30 00211D90 2C 18 00 45 */ cmpwi r24, 0x45 /* 80214E34 00211D94 41 80 00 10 */ blt lbl_80214E44 /* 80214E38 00211D98 2C 18 00 5D */ cmpwi r24, 0x5d /* 80214E3C 00211D9C 41 81 00 08 */ bgt lbl_80214E44 lbl_80214E40: /* 80214E40 00211DA0 38 00 00 01 */ li r0, 1 lbl_80214E44: /* 80214E44 00211DA4 7C 19 03 78 */ mr r25, r0 lbl_80214E48: /* 80214E48 00211DA8 7F E3 FB 78 */ mr r3, r31 /* 80214E4C 00211DAC 38 81 01 34 */ addi r4, r1, 0x134 /* 80214E50 00211DB0 4B E3 E0 3D */ bl SetTranslation__6CActorFRC9CVector3f /* 80214E54 00211DB4 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 80214E58 00211DB8 41 82 00 28 */ beq lbl_80214E80 /* 80214E5C 00211DBC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 80214E60 00211DC0 38 60 00 00 */ li r3, 0 /* 80214E64 00211DC4 3B 80 00 00 */ li r28, 0 /* 80214E68 00211DC8 B0 9F 02 C0 */ sth r4, 0x2c0(r31) /* 80214E6C 00211DCC 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 80214E70 00211DD0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80214E74 00211DD4 B0 81 00 30 */ sth r4, 0x30(r1) /* 80214E78 00211DD8 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 80214E7C 00211DDC 48 00 00 54 */ b lbl_80214ED0 lbl_80214E80: /* 80214E80 00211DE0 7F E3 FB 78 */ mr r3, r31 /* 80214E84 00211DE4 7F C4 F3 78 */ mr r4, r30 /* 80214E88 00211DE8 48 00 07 75 */ bl StopProjectile__17CEnergyProjectileFR13CStateManager /* 80214E8C 00211DEC 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 80214E90 00211DF0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80214E94 00211DF4 41 82 00 3C */ beq lbl_80214ED0 /* 80214E98 00211DF8 80 D6 00 00 */ lwz r6, 0(r22) /* 80214E9C 00211DFC 38 7F 02 FC */ addi r3, r31, 0x2fc /* 80214EA0 00211E00 80 B6 00 04 */ lwz r5, 4(r22) /* 80214EA4 00211E04 38 81 00 CC */ addi r4, r1, 0xcc /* 80214EA8 00211E08 80 16 00 08 */ lwz r0, 8(r22) /* 80214EAC 00211E0C 90 C1 00 CC */ stw r6, 0xcc(r1) /* 80214EB0 00211E10 C0 22 B3 14 */ lfs f1, lbl_805AD034@sda21(r2) /* 80214EB4 00211E14 90 A1 00 D0 */ stw r5, 0xd0(r1) /* 80214EB8 00211E18 90 01 00 D4 */ stw r0, 0xd4(r1) /* 80214EBC 00211E1C 4B F4 7F B1 */ bl SetSfxPositionAndDistance__16CCameraShakeDataFRC9CVector3ff /* 80214EC0 00211E20 80 7E 08 70 */ lwz r3, 0x870(r30) /* 80214EC4 00211E24 38 9F 02 FC */ addi r4, r31, 0x2fc /* 80214EC8 00211E28 38 A0 00 00 */ li r5, 0 /* 80214ECC 00211E2C 4B DF 5B 55 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab lbl_80214ED0: /* 80214ED0 00211E30 7F E3 FB 78 */ mr r3, r31 /* 80214ED4 00211E34 7E C4 B3 78 */ mr r4, r22 /* 80214ED8 00211E38 7F 05 C3 78 */ mr r5, r24 /* 80214EDC 00211E3C 4B FF ED 95 */ bl PlayImpactSound__17CEnergyProjectileFRC9CVector3f29EWeaponCollisionResponseTypes /* 80214EE0 00211E40 7F C3 F3 78 */ mr r3, r30 /* 80214EE4 00211E44 7E C4 B3 78 */ mr r4, r22 /* 80214EE8 00211E48 38 A0 00 02 */ li r5, 2 /* 80214EEC 00211E4C 4B E3 38 99 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType /* 80214EF0 00211E50 57 80 06 3E */ clrlwi r0, r28, 0x18 /* 80214EF4 00211E54 3B 7F 01 70 */ addi r27, r31, 0x170 /* 80214EF8 00211E58 7C 00 00 34 */ cntlzw r0, r0 /* 80214EFC 00211E5C 7F 05 C3 78 */ mr r5, r24 /* 80214F00 00211E60 54 06 D9 7E */ srwi r6, r0, 5 /* 80214F04 00211E64 7F 64 DB 78 */ mr r4, r27 /* 80214F08 00211E68 7E E9 BB 78 */ mr r9, r23 /* 80214F0C 00211E6C 38 61 00 BC */ addi r3, r1, 0xbc /* 80214F10 00211E70 57 47 06 3E */ clrlwi r7, r26, 0x18 /* 80214F14 00211E74 39 01 01 34 */ addi r8, r1, 0x134 /* 80214F18 00211E78 39 41 01 28 */ addi r10, r1, 0x128 /* 80214F1C 00211E7C 48 09 A4 25 */ bl CollisionOccured__17CProjectileWeaponF29EWeaponCollisionResponseTypesbbRC9CVector3fRC9CVector3fRC9CVector3f /* 80214F20 00211E80 88 01 00 C8 */ lbz r0, 0xc8(r1) /* 80214F24 00211E84 28 00 00 00 */ cmplwi r0, 0 /* 80214F28 00211E88 98 01 01 24 */ stb r0, 0x124(r1) /* 80214F2C 00211E8C 41 82 00 28 */ beq lbl_80214F54 /* 80214F30 00211E90 36 C1 01 18 */ addic. r22, r1, 0x118 /* 80214F34 00211E94 38 81 00 BC */ addi r4, r1, 0xbc /* 80214F38 00211E98 41 82 00 1C */ beq lbl_80214F54 /* 80214F3C 00211E9C 7E C3 B3 78 */ mr r3, r22 /* 80214F40 00211EA0 48 12 BF 69 */ bl __ct__6CTokenFRC6CToken /* 80214F44 00211EA4 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80214F48 00211EA8 7E C3 B3 78 */ mr r3, r22 /* 80214F4C 00211EAC 90 16 00 08 */ stw r0, 8(r22) /* 80214F50 00211EB0 48 12 BE 35 */ bl Lock__6CTokenFv lbl_80214F54: /* 80214F54 00211EB4 88 01 00 C8 */ lbz r0, 0xc8(r1) /* 80214F58 00211EB8 28 00 00 00 */ cmplwi r0, 0 /* 80214F5C 00211EBC 41 82 00 1C */ beq lbl_80214F78 /* 80214F60 00211EC0 34 61 00 BC */ addic. r3, r1, 0xbc /* 80214F64 00211EC4 41 82 00 14 */ beq lbl_80214F78 /* 80214F68 00211EC8 28 03 00 00 */ cmplwi r3, 0 /* 80214F6C 00211ECC 41 82 00 0C */ beq lbl_80214F78 /* 80214F70 00211ED0 38 80 00 00 */ li r4, 0 /* 80214F74 00211ED4 48 12 BE CD */ bl __dt__6CTokenFv lbl_80214F78: /* 80214F78 00211ED8 88 01 01 24 */ lbz r0, 0x124(r1) /* 80214F7C 00211EDC 38 60 00 00 */ li r3, 0 /* 80214F80 00211EE0 98 61 00 C8 */ stb r3, 0xc8(r1) /* 80214F84 00211EE4 28 00 00 00 */ cmplwi r0, 0 /* 80214F88 00211EE8 41 82 06 1C */ beq lbl_802155A4 /* 80214F8C 00211EEC 3C 80 80 5A */ lis r4, skZero3f@ha /* 80214F90 00211EF0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80214F94 00211EF4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80214F98 00211EF8 7E E5 BB 78 */ mr r5, r23 /* 80214F9C 00211EFC 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 80214FA0 00211F00 38 61 01 88 */ addi r3, r1, 0x188 /* 80214FA4 00211F04 48 0F EB 6D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80214FA8 00211F08 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 80214FAC 00211F0C 38 81 01 88 */ addi r4, r1, 0x188 /* 80214FB0 00211F10 48 0F DB C5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80214FB4 00211F14 C0 41 01 34 */ lfs f2, 0x134(r1) /* 80214FB8 00211F18 39 40 00 00 */ li r10, 0 /* 80214FBC 00211F1C C0 21 01 38 */ lfs f1, 0x138(r1) /* 80214FC0 00211F20 7D 4B 53 78 */ mr r11, r10 /* 80214FC4 00211F24 C0 01 01 3C */ lfs f0, 0x13c(r1) /* 80214FC8 00211F28 D0 41 01 C4 */ stfs f2, 0x1c4(r1) /* 80214FCC 00211F2C D0 21 01 D4 */ stfs f1, 0x1d4(r1) /* 80214FD0 00211F30 D0 01 01 E4 */ stfs f0, 0x1e4(r1) /* 80214FD4 00211F34 80 1F 00 F0 */ lwz r0, 0xf0(r31) /* 80214FD8 00211F38 2C 00 00 00 */ cmpwi r0, 0 /* 80214FDC 00211F3C 40 82 00 4C */ bne lbl_80215028 /* 80214FE0 00211F40 80 FF 01 04 */ lwz r7, 0x104(r31) /* 80214FE4 00211F44 38 80 00 01 */ li r4, 1 /* 80214FE8 00211F48 80 DF 01 00 */ lwz r6, 0x100(r31) /* 80214FEC 00211F4C 7C E3 50 38 */ and r3, r7, r10 /* 80214FF0 00211F50 81 1F 00 F8 */ lwz r8, 0xf8(r31) /* 80214FF4 00211F54 7C C0 20 38 */ and r0, r6, r4 /* 80214FF8 00211F58 81 3F 00 FC */ lwz r9, 0xfc(r31) /* 80214FFC 00211F5C 80 BF 01 08 */ lwz r5, 0x108(r31) /* 80215000 00211F60 7C 63 52 78 */ xor r3, r3, r10 /* 80215004 00211F64 7C 00 52 78 */ xor r0, r0, r10 /* 80215008 00211F68 91 21 01 5C */ stw r9, 0x15c(r1) /* 8021500C 00211F6C 7C 60 03 79 */ or. r0, r3, r0 /* 80215010 00211F70 91 01 01 58 */ stw r8, 0x158(r1) /* 80215014 00211F74 90 E1 01 64 */ stw r7, 0x164(r1) /* 80215018 00211F78 90 C1 01 60 */ stw r6, 0x160(r1) /* 8021501C 00211F7C 90 A1 01 68 */ stw r5, 0x168(r1) /* 80215020 00211F80 41 82 00 08 */ beq lbl_80215028 /* 80215024 00211F84 7C 8B 23 78 */ mr r11, r4 lbl_80215028: /* 80215028 00211F88 55 60 06 3F */ clrlwi. r0, r11, 0x18 /* 8021502C 00211F8C 41 82 00 14 */ beq lbl_80215040 /* 80215030 00211F90 88 1F 02 E4 */ lbz r0, 0x2e4(r31) /* 80215034 00211F94 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80215038 00211F98 41 82 00 08 */ beq lbl_80215040 /* 8021503C 00211F9C 39 40 00 01 */ li r10, 1 lbl_80215040: /* 80215040 00211FA0 55 40 06 3F */ clrlwi. r0, r10, 0x18 /* 80215044 00211FA4 40 82 04 04 */ bne lbl_80215448 /* 80215048 00211FA8 7F 64 DB 78 */ mr r4, r27 /* 8021504C 00211FAC 7F 05 C3 78 */ mr r5, r24 /* 80215050 00211FB0 38 61 00 AC */ addi r3, r1, 0xac /* 80215054 00211FB4 48 09 A1 F5 */ bl GetDecalForCollision__17CProjectileWeaponCF29EWeaponCollisionResponseTypes /* 80215058 00211FB8 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 8021505C 00211FBC 28 00 00 00 */ cmplwi r0, 0 /* 80215060 00211FC0 98 01 01 14 */ stb r0, 0x114(r1) /* 80215064 00211FC4 41 82 00 28 */ beq lbl_8021508C /* 80215068 00211FC8 36 C1 01 08 */ addic. r22, r1, 0x108 /* 8021506C 00211FCC 38 81 00 AC */ addi r4, r1, 0xac /* 80215070 00211FD0 41 82 00 1C */ beq lbl_8021508C /* 80215074 00211FD4 7E C3 B3 78 */ mr r3, r22 /* 80215078 00211FD8 48 12 BE 31 */ bl __ct__6CTokenFRC6CToken /* 8021507C 00211FDC 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80215080 00211FE0 7E C3 B3 78 */ mr r3, r22 /* 80215084 00211FE4 90 16 00 08 */ stw r0, 8(r22) /* 80215088 00211FE8 48 12 BC FD */ bl Lock__6CTokenFv lbl_8021508C: /* 8021508C 00211FEC 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 80215090 00211FF0 28 00 00 00 */ cmplwi r0, 0 /* 80215094 00211FF4 41 82 00 1C */ beq lbl_802150B0 /* 80215098 00211FF8 34 61 00 AC */ addic. r3, r1, 0xac /* 8021509C 00211FFC 41 82 00 14 */ beq lbl_802150B0 /* 802150A0 00212000 28 03 00 00 */ cmplwi r3, 0 /* 802150A4 00212004 41 82 00 0C */ beq lbl_802150B0 /* 802150A8 00212008 38 80 00 00 */ li r4, 0 /* 802150AC 0021200C 48 12 BD 95 */ bl __dt__6CTokenFv lbl_802150B0: /* 802150B0 00212010 88 01 01 14 */ lbz r0, 0x114(r1) /* 802150B4 00212014 38 60 00 00 */ li r3, 0 /* 802150B8 00212018 98 61 00 B8 */ stb r3, 0xb8(r1) /* 802150BC 0021201C 28 00 00 00 */ cmplwi r0, 0 /* 802150C0 00212020 41 82 00 2C */ beq lbl_802150EC /* 802150C4 00212024 80 1F 00 E8 */ lwz r0, 0xe8(r31) /* 802150C8 00212028 7F C6 F3 78 */ mr r6, r30 /* 802150CC 0021202C 38 61 01 08 */ addi r3, r1, 0x108 /* 802150D0 00212030 38 81 01 B8 */ addi r4, r1, 0x1b8 /* 802150D4 00212034 54 07 07 38 */ rlwinm r7, r0, 0, 0x1c, 0x1c /* 802150D8 00212038 38 A7 FF F8 */ addi r5, r7, -8 /* 802150DC 0021203C 20 07 00 08 */ subfic r0, r7, 8 /* 802150E0 00212040 7C A0 03 78 */ or r0, r5, r0 /* 802150E4 00212044 54 05 0F FE */ srwi r5, r0, 0x1f /* 802150E8 00212048 4B F0 20 41 */ bl "AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager" lbl_802150EC: /* 802150EC 0021204C C0 02 B3 20 */ lfs f0, lbl_805AD040@sda21(r2) /* 802150F0 00212050 38 80 00 00 */ li r4, 0 /* 802150F4 00212054 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 802150F8 00212058 D0 01 01 00 */ stfs f0, 0x100(r1) /* 802150FC 0021205C D0 01 01 04 */ stfs f0, 0x104(r1) /* 80215100 00212060 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80215104 00212064 80 03 02 F4 */ lwz r0, 0x2f4(r3) /* 80215108 00212068 2C 00 00 00 */ cmpwi r0, 0 /* 8021510C 0021206C 40 82 00 80 */ bne lbl_8021518C /* 80215110 00212070 80 7E 08 70 */ lwz r3, 0x870(r30) /* 80215114 00212074 7F C4 F3 78 */ mr r4, r30 /* 80215118 00212078 4B DF 6A 01 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager /* 8021511C 0021207C C0 21 01 D4 */ lfs f1, 0x1d4(r1) /* 80215120 00212080 C0 03 00 50 */ lfs f0, 0x50(r3) /* 80215124 00212084 C0 61 01 E4 */ lfs f3, 0x1e4(r1) /* 80215128 00212088 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8021512C 0021208C EC 81 00 28 */ fsubs f4, f1, f0 /* 80215130 00212090 C0 03 00 40 */ lfs f0, 0x40(r3) /* 80215134 00212094 38 61 00 F0 */ addi r3, r1, 0xf0 /* 80215138 00212098 C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 8021513C 0021209C EC 43 10 28 */ fsubs f2, f3, f2 /* 80215140 002120A0 D0 81 00 F4 */ stfs f4, 0xf4(r1) /* 80215144 002120A4 EC 01 00 28 */ fsubs f0, f1, f0 /* 80215148 002120A8 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 8021514C 002120AC D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 80215150 002120B0 48 0F F7 69 */ bl Magnitude__9CVector3fCFv /* 80215154 002120B4 C0 02 B3 34 */ lfs f0, lbl_805AD054@sda21(r2) /* 80215158 002120B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021515C 002120BC 40 80 00 20 */ bge lbl_8021517C /* 80215160 002120C0 C0 42 B3 38 */ lfs f2, lbl_805AD058@sda21(r2) /* 80215164 002120C4 C0 62 B3 24 */ lfs f3, lbl_805AD044@sda21(r2) /* 80215168 002120C8 EC 01 00 B2 */ fmuls f0, f1, f2 /* 8021516C 002120CC EC 03 10 3A */ fmadds f0, f3, f0, f2 /* 80215170 002120D0 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 80215174 002120D4 D0 01 01 00 */ stfs f0, 0x100(r1) /* 80215178 002120D8 D0 01 01 04 */ stfs f0, 0x104(r1) lbl_8021517C: /* 8021517C 002120DC C0 02 B3 34 */ lfs f0, lbl_805AD054@sda21(r2) /* 80215180 002120E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80215184 002120E4 7C 00 00 26 */ mfcr r0 /* 80215188 002120E8 54 04 0F FE */ srwi r4, r0, 0x1f lbl_8021518C: /* 8021518C 002120EC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80215190 002120F0 40 82 00 24 */ bne lbl_802151B4 /* 80215194 002120F4 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 80215198 002120F8 C0 02 B3 3C */ lfs f0, lbl_805AD05C@sda21(r2) /* 8021519C 002120FC C0 43 01 1C */ lfs f2, 0x11c(r3) /* 802151A0 00212100 C0 23 01 18 */ lfs f1, 0x118(r3) /* 802151A4 00212104 EC 21 10 2A */ fadds f1, f1, f2 /* 802151A8 00212108 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802151AC 0021210C 40 81 00 08 */ ble lbl_802151B4 /* 802151B0 00212110 38 80 00 01 */ li r4, 1 lbl_802151B4: /* 802151B4 00212114 80 1F 00 E8 */ lwz r0, 0xe8(r31) /* 802151B8 00212118 3B 20 00 08 */ li r25, 8 /* 802151BC 0021211C 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c /* 802151C0 00212120 2C 00 00 08 */ cmpwi r0, 8 /* 802151C4 00212124 40 82 00 08 */ bne lbl_802151CC /* 802151C8 00212128 63 39 00 04 */ ori r25, r25, 4 lbl_802151CC: /* 802151CC 0021212C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802151D0 00212130 41 82 00 08 */ beq lbl_802151D8 /* 802151D4 00212134 63 39 00 02 */ ori r25, r25, 2 lbl_802151D8: /* 802151D8 00212138 3C 60 80 3D */ lis r3, lbl_803D2890@ha /* 802151DC 0021213C 3A C0 00 00 */ li r22, 0 /* 802151E0 00212140 38 63 28 90 */ addi r3, r3, lbl_803D2890@l /* 802151E4 00212144 3A A0 00 00 */ li r21, 0 /* 802151E8 00212148 38 83 00 1F */ addi r4, r3, 0x1f /* 802151EC 0021214C 38 60 01 00 */ li r3, 0x100 /* 802151F0 00212150 38 A0 00 00 */ li r5, 0 /* 802151F4 00212154 48 10 06 79 */ bl __nw__FUlPCcPCc /* 802151F8 00212158 7C 77 1B 79 */ or. r23, r3, r3 /* 802151FC 0021215C 41 82 00 98 */ beq lbl_80215294 /* 80215200 00212160 3C 80 80 3D */ lis r4, lbl_803D2890@ha /* 80215204 00212164 38 61 00 9C */ addi r3, r1, 0x9c /* 80215208 00212168 38 84 28 90 */ addi r4, r4, lbl_803D2890@l /* 8021520C 0021216C 38 84 00 26 */ addi r4, r4, 0x26 /* 80215210 00212170 4B DE FA A9 */ bl string_l__4rstlFPCc /* 80215214 00212174 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 80215218 00212178 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 8021521C 0021217C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80215220 00212180 38 81 00 58 */ addi r4, r1, 0x58 /* 80215224 00212184 90 01 00 5C */ stw r0, 0x5c(r1) /* 80215228 00212188 38 61 01 40 */ addi r3, r1, 0x140 /* 8021522C 0021218C 38 C1 00 5C */ addi r6, r1, 0x5c /* 80215230 00212190 3A C0 00 01 */ li r22, 1 /* 80215234 00212194 80 1F 00 04 */ lwz r0, 4(r31) /* 80215238 00212198 90 01 00 54 */ stw r0, 0x54(r1) /* 8021523C 0021219C 90 01 00 58 */ stw r0, 0x58(r1) /* 80215240 002121A0 4B E3 C2 45 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80215244 002121A4 7F C4 F3 78 */ mr r4, r30 /* 80215248 002121A8 38 61 00 28 */ addi r3, r1, 0x28 /* 8021524C 002121AC 3A A0 00 01 */ li r21, 1 /* 80215250 002121B0 4B E3 7E 8D */ bl AllocateUniqueId__13CStateManagerFv /* 80215254 002121B4 A0 01 00 28 */ lhz r0, 0x28(r1) /* 80215258 002121B8 B0 01 00 2C */ sth r0, 0x2c(r1) /* 8021525C 002121BC 48 13 4D 51 */ bl White__6CColorFv /* 80215260 002121C0 38 01 00 FC */ addi r0, r1, 0xfc /* 80215264 002121C4 7F 2A CB 78 */ mr r10, r25 /* 80215268 002121C8 90 01 00 08 */ stw r0, 8(r1) /* 8021526C 002121CC 38 81 01 18 */ addi r4, r1, 0x118 /* 80215270 002121D0 38 A1 00 2C */ addi r5, r1, 0x2c /* 80215274 002121D4 38 E1 01 40 */ addi r7, r1, 0x140 /* 80215278 002121D8 90 61 00 0C */ stw r3, 0xc(r1) /* 8021527C 002121DC 7E E3 BB 78 */ mr r3, r23 /* 80215280 002121E0 39 01 00 9C */ addi r8, r1, 0x9c /* 80215284 002121E4 39 21 01 B8 */ addi r9, r1, 0x1b8 /* 80215288 002121E8 38 C0 00 01 */ li r6, 1 /* 8021528C 002121EC 4B E4 58 6D */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 80215290 002121F0 7C 77 1B 78 */ mr r23, r3 lbl_80215294: /* 80215294 002121F4 7E A0 07 75 */ extsb. r0, r21 /* 80215298 002121F8 7E F9 BB 78 */ mr r25, r23 /* 8021529C 002121FC 41 82 00 44 */ beq lbl_802152E0 /* 802152A0 00212200 80 01 01 48 */ lwz r0, 0x148(r1) /* 802152A4 00212204 80 61 01 50 */ lwz r3, 0x150(r1) /* 802152A8 00212208 1C 00 00 0C */ mulli r0, r0, 0xc /* 802152AC 0021220C 90 61 00 3C */ stw r3, 0x3c(r1) /* 802152B0 00212210 7C 64 1B 78 */ mr r4, r3 /* 802152B4 00212214 7C 03 02 14 */ add r0, r3, r0 /* 802152B8 00212218 90 61 00 38 */ stw r3, 0x38(r1) /* 802152BC 0021221C 90 01 00 44 */ stw r0, 0x44(r1) /* 802152C0 00212220 90 01 00 40 */ stw r0, 0x40(r1) /* 802152C4 00212224 48 00 00 08 */ b lbl_802152CC lbl_802152C8: /* 802152C8 00212228 38 84 00 0C */ addi r4, r4, 0xc lbl_802152CC: /* 802152CC 0021222C 7C 04 00 40 */ cmplw r4, r0 /* 802152D0 00212230 40 82 FF F8 */ bne lbl_802152C8 /* 802152D4 00212234 28 03 00 00 */ cmplwi r3, 0 /* 802152D8 00212238 41 82 00 08 */ beq lbl_802152E0 /* 802152DC 0021223C 48 10 06 55 */ bl Free__7CMemoryFPCv lbl_802152E0: /* 802152E0 00212240 7E C0 07 75 */ extsb. r0, r22 /* 802152E4 00212244 41 82 00 0C */ beq lbl_802152F0 /* 802152E8 00212248 38 61 00 9C */ addi r3, r1, 0x9c /* 802152EC 0021224C 48 12 87 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802152F0: /* 802152F0 00212250 7F C3 F3 78 */ mr r3, r30 /* 802152F4 00212254 7F 24 CB 78 */ mr r4, r25 /* 802152F8 00212258 4B E3 79 FD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 802152FC 0021225C A0 1D 00 00 */ lhz r0, 0(r29) /* 80215300 00212260 7F C3 F3 78 */ mr r3, r30 /* 80215304 00212264 38 81 00 24 */ addi r4, r1, 0x24 /* 80215308 00212268 B0 01 00 24 */ sth r0, 0x24(r1) /* 8021530C 0021226C 4B E3 72 69 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80215310 00212270 7C 64 1B 78 */ mr r4, r3 /* 80215314 00212274 38 61 00 78 */ addi r3, r1, 0x78 /* 80215318 00212278 4B E9 A9 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" /* 8021531C 0021227C 82 C3 00 04 */ lwz r22, 4(r3) /* 80215320 00212280 28 16 00 00 */ cmplwi r22, 0 /* 80215324 00212284 41 82 00 F4 */ beq lbl_80215418 /* 80215328 00212288 7E C4 B3 78 */ mr r4, r22 /* 8021532C 0021228C 38 61 00 70 */ addi r3, r1, 0x70 /* 80215330 00212290 3B 40 00 00 */ li r26, 0 /* 80215334 00212294 4B E9 3A E1 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" /* 80215338 00212298 80 03 00 04 */ lwz r0, 4(r3) /* 8021533C 0021229C 28 00 00 00 */ cmplwi r0, 0 /* 80215340 002122A0 7C 1B 03 78 */ mr r27, r0 /* 80215344 002122A4 41 82 00 0C */ beq lbl_80215350 /* 80215348 002122A8 3B 40 00 01 */ li r26, 1 /* 8021534C 002122AC 48 00 00 A8 */ b lbl_802153F4 lbl_80215350: /* 80215350 002122B0 80 76 00 68 */ lwz r3, 0x68(r22) /* 80215354 002122B4 3C 00 00 10 */ lis r0, 0x10 /* 80215358 002122B8 80 B6 00 6C */ lwz r5, 0x6c(r22) /* 8021535C 002122BC 38 80 00 00 */ li r4, 0 /* 80215360 002122C0 7C 60 00 38 */ and r0, r3, r0 /* 80215364 002122C4 7C A3 20 38 */ and r3, r5, r4 /* 80215368 002122C8 7C 63 22 78 */ xor r3, r3, r4 /* 8021536C 002122CC 7C 00 22 78 */ xor r0, r0, r4 /* 80215370 002122D0 7C 60 03 79 */ or. r0, r3, r0 /* 80215374 002122D4 41 82 00 80 */ beq lbl_802153F4 /* 80215378 002122D8 82 DE 08 48 */ lwz r22, 0x848(r30) /* 8021537C 002122DC AA F6 20 08 */ lha r23, 0x2008(r22) /* 80215380 002122E0 48 00 00 6C */ b lbl_802153EC lbl_80215384: /* 80215384 002122E4 7E C3 B3 78 */ mr r3, r22 /* 80215388 002122E8 7E E4 BB 78 */ mr r4, r23 /* 8021538C 002122EC 4B DF A9 89 */ bl __vc__11CObjectListFi /* 80215390 002122F0 7C 64 1B 78 */ mr r4, r3 /* 80215394 002122F4 38 61 00 68 */ addi r3, r1, 0x68 /* 80215398 002122F8 4B E9 3A 7D */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" /* 8021539C 002122FC 83 03 00 04 */ lwz r24, 4(r3) /* 802153A0 00212300 28 18 00 00 */ cmplwi r24, 0 /* 802153A4 00212304 41 82 00 2C */ beq lbl_802153D0 /* 802153A8 00212308 A0 1D 00 00 */ lhz r0, 0(r29) /* 802153AC 0021230C 7F 03 C3 78 */ mr r3, r24 /* 802153B0 00212310 38 81 00 20 */ addi r4, r1, 0x20 /* 802153B4 00212314 B0 01 00 20 */ sth r0, 0x20(r1) /* 802153B8 00212318 4B E9 C8 41 */ bl IsSlave__15CScriptPlatformCF9TUniqueId /* 802153BC 0021231C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802153C0 00212320 41 82 00 10 */ beq lbl_802153D0 /* 802153C4 00212324 7F 1B C3 78 */ mr r27, r24 /* 802153C8 00212328 3B 40 00 01 */ li r26, 1 /* 802153CC 0021232C 48 00 00 28 */ b lbl_802153F4 lbl_802153D0: /* 802153D0 00212330 2C 17 FF FF */ cmpwi r23, -1 /* 802153D4 00212334 41 82 00 14 */ beq lbl_802153E8 /* 802153D8 00212338 56 E3 18 38 */ slwi r3, r23, 3 /* 802153DC 0021233C 38 03 00 08 */ addi r0, r3, 8 /* 802153E0 00212340 7E F6 02 AE */ lhax r23, r22, r0 /* 802153E4 00212344 48 00 00 08 */ b lbl_802153EC lbl_802153E8: /* 802153E8 00212348 3A E0 FF FF */ li r23, -1 lbl_802153EC: /* 802153EC 0021234C 2C 17 FF FF */ cmpwi r23, -1 /* 802153F0 00212350 40 82 FF 94 */ bne lbl_80215384 lbl_802153F4: /* 802153F4 00212354 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 802153F8 00212358 41 82 00 20 */ beq lbl_80215418 /* 802153FC 0021235C A0 19 00 08 */ lhz r0, 8(r25) /* 80215400 00212360 7F 63 DB 78 */ mr r3, r27 /* 80215404 00212364 7F C5 F3 78 */ mr r5, r30 /* 80215408 00212368 38 81 00 1C */ addi r4, r1, 0x1c /* 8021540C 0021236C B0 01 00 18 */ sth r0, 0x18(r1) /* 80215410 00212370 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80215414 00212374 4B E9 CB 1D */ bl AddSlave__15CScriptPlatformF9TUniqueIdR13CStateManager lbl_80215418: /* 80215418 00212378 88 01 01 14 */ lbz r0, 0x114(r1) /* 8021541C 0021237C 28 00 00 00 */ cmplwi r0, 0 /* 80215420 00212380 41 82 00 1C */ beq lbl_8021543C /* 80215424 00212384 34 61 01 08 */ addic. r3, r1, 0x108 /* 80215428 00212388 41 82 00 14 */ beq lbl_8021543C /* 8021542C 0021238C 28 03 00 00 */ cmplwi r3, 0 /* 80215430 00212390 41 82 00 0C */ beq lbl_8021543C /* 80215434 00212394 38 80 00 00 */ li r4, 0 /* 80215438 00212398 48 12 BA 09 */ bl __dt__6CTokenFv lbl_8021543C: /* 8021543C 0021239C 38 00 00 00 */ li r0, 0 /* 80215440 002123A0 98 01 01 14 */ stb r0, 0x114(r1) /* 80215444 002123A4 48 00 00 14 */ b lbl_80215458 lbl_80215448: /* 80215448 002123A8 88 1F 03 D0 */ lbz r0, 0x3d0(r31) /* 8021544C 002123AC 38 60 00 01 */ li r3, 1 /* 80215450 002123B0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80215454 002123B4 98 1F 03 D0 */ stb r0, 0x3d0(r31) lbl_80215458: /* 80215458 002123B8 80 1F 00 E8 */ lwz r0, 0xe8(r31) /* 8021545C 002123BC 70 00 00 88 */ andi. r0, r0, 0x88 /* 80215460 002123C0 2C 00 00 88 */ cmpwi r0, 0x88 /* 80215464 002123C4 40 82 01 40 */ bne lbl_802155A4 /* 80215468 002123C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021546C 002123CC 3C 60 80 3D */ lis r3, lbl_803D2890@ha /* 80215470 002123D0 38 A3 28 90 */ addi r5, r3, lbl_803D2890@l /* 80215474 002123D4 38 61 00 60 */ addi r3, r1, 0x60 /* 80215478 002123D8 81 84 00 00 */ lwz r12, 0(r4) /* 8021547C 002123DC 38 A5 00 44 */ addi r5, r5, 0x44 /* 80215480 002123E0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80215484 002123E4 7D 89 03 A6 */ mtctr r12 /* 80215488 002123E8 4E 80 04 21 */ bctrl /* 8021548C 002123EC 3A A1 00 E4 */ addi r21, r1, 0xe4 /* 80215490 002123F0 38 81 00 60 */ addi r4, r1, 0x60 /* 80215494 002123F4 7E A3 AB 78 */ mr r3, r21 /* 80215498 002123F8 48 12 BA 11 */ bl __ct__6CTokenFRC6CToken /* 8021549C 002123FC 7E A3 AB 78 */ mr r3, r21 /* 802154A0 00212400 48 12 B9 6D */ bl GetObj__6CTokenFv /* 802154A4 00212404 80 03 00 04 */ lwz r0, 4(r3) /* 802154A8 00212408 38 61 00 60 */ addi r3, r1, 0x60 /* 802154AC 0021240C 38 80 FF FF */ li r4, -1 /* 802154B0 00212410 90 01 00 EC */ stw r0, 0xec(r1) /* 802154B4 00212414 48 12 B9 8D */ bl __dt__6CTokenFv /* 802154B8 00212418 3C 60 80 3D */ lis r3, lbl_803D2890@ha /* 802154BC 0021241C 3A A0 00 00 */ li r21, 0 /* 802154C0 00212420 38 83 28 90 */ addi r4, r3, lbl_803D2890@l /* 802154C4 00212424 38 60 05 A0 */ li r3, 0x5a0 /* 802154C8 00212428 38 84 00 1F */ addi r4, r4, 0x1f /* 802154CC 0021242C 38 A0 00 00 */ li r5, 0 /* 802154D0 00212430 48 10 03 9D */ bl __nw__FUlPCcPCc /* 802154D4 00212434 7C 76 1B 79 */ or. r22, r3, r3 /* 802154D8 00212438 41 82 00 A4 */ beq lbl_8021557C /* 802154DC 0021243C C0 02 B3 20 */ lfs f0, lbl_805AD040@sda21(r2) /* 802154E0 00212440 3C 60 80 3D */ lis r3, lbl_803D2890@ha /* 802154E4 00212444 38 83 28 90 */ addi r4, r3, lbl_803D2890@l /* 802154E8 00212448 3A E1 00 90 */ addi r23, r1, 0x90 /* 802154EC 0021244C D0 01 00 90 */ stfs f0, 0x90(r1) /* 802154F0 00212450 38 61 00 80 */ addi r3, r1, 0x80 /* 802154F4 00212454 38 84 00 4F */ addi r4, r4, 0x4f /* 802154F8 00212458 D0 01 00 94 */ stfs f0, 0x94(r1) /* 802154FC 0021245C D0 01 00 98 */ stfs f0, 0x98(r1) /* 80215500 00212460 88 1F 00 E6 */ lbz r0, 0xe6(r31) /* 80215504 00212464 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f /* 80215508 00212468 68 18 00 01 */ xori r24, r0, 1 /* 8021550C 0021246C 4B DE F7 AD */ bl string_l__4rstlFPCc /* 80215510 00212470 80 1F 00 04 */ lwz r0, 4(r31) /* 80215514 00212474 7F C4 F3 78 */ mr r4, r30 /* 80215518 00212478 38 61 00 10 */ addi r3, r1, 0x10 /* 8021551C 0021247C 3A A0 00 01 */ li r21, 1 /* 80215520 00212480 90 01 00 48 */ stw r0, 0x48(r1) /* 80215524 00212484 90 01 00 4C */ stw r0, 0x4c(r1) /* 80215528 00212488 4B E3 7B B5 */ bl AllocateUniqueId__13CStateManagerFv /* 8021552C 0021248C C0 22 B3 20 */ lfs f1, lbl_805AD040@sda21(r2) /* 80215530 00212490 38 61 00 50 */ addi r3, r1, 0x50 /* 80215534 00212494 A0 01 00 10 */ lhz r0, 0x10(r1) /* 80215538 00212498 FC 40 08 90 */ fmr f2, f1 /* 8021553C 0021249C FC 60 08 90 */ fmr f3, f1 /* 80215540 002124A0 B0 01 00 14 */ sth r0, 0x14(r1) /* 80215544 002124A4 FC 80 08 90 */ fmr f4, f1 /* 80215548 002124A8 48 14 DE A5 */ bl __ct__6CColorFffff /* 8021554C 002124AC 92 E1 00 08 */ stw r23, 8(r1) /* 80215550 002124B0 38 81 00 E4 */ addi r4, r1, 0xe4 /* 80215554 002124B4 38 A1 00 14 */ addi r5, r1, 0x14 /* 80215558 002124B8 38 C1 00 4C */ addi r6, r1, 0x4c /* 8021555C 002124BC 90 61 00 0C */ stw r3, 0xc(r1) /* 80215560 002124C0 7E C3 B3 78 */ mr r3, r22 /* 80215564 002124C4 39 01 00 80 */ addi r8, r1, 0x80 /* 80215568 002124C8 39 21 01 B8 */ addi r9, r1, 0x1b8 /* 8021556C 002124CC 63 0A 00 02 */ ori r10, r24, 2 /* 80215570 002124D0 38 E0 00 01 */ li r7, 1 /* 80215574 002124D4 4B FA 24 E1 */ bl "__ct__10CIceImpactFRC31TLockedToken<15CGenDescription>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 80215578 002124D8 7C 76 1B 78 */ mr r22, r3 lbl_8021557C: /* 8021557C 002124DC 7F C3 F3 78 */ mr r3, r30 /* 80215580 002124E0 7E C4 B3 78 */ mr r4, r22 /* 80215584 002124E4 4B E3 77 71 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 80215588 002124E8 7E A0 07 75 */ extsb. r0, r21 /* 8021558C 002124EC 41 82 00 0C */ beq lbl_80215598 /* 80215590 002124F0 38 61 00 80 */ addi r3, r1, 0x80 /* 80215594 002124F4 48 12 85 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80215598: /* 80215598 002124F8 38 61 00 E4 */ addi r3, r1, 0xe4 /* 8021559C 002124FC 38 80 00 00 */ li r4, 0 /* 802155A0 00212500 48 12 B8 A1 */ bl __dt__6CTokenFv lbl_802155A4: /* 802155A4 00212504 88 01 01 24 */ lbz r0, 0x124(r1) /* 802155A8 00212508 57 96 06 3E */ clrlwi r22, r28, 0x18 /* 802155AC 0021250C 28 00 00 00 */ cmplwi r0, 0 /* 802155B0 00212510 41 82 00 1C */ beq lbl_802155CC /* 802155B4 00212514 34 61 01 18 */ addic. r3, r1, 0x118 /* 802155B8 00212518 41 82 00 14 */ beq lbl_802155CC /* 802155BC 0021251C 28 03 00 00 */ cmplwi r3, 0 /* 802155C0 00212520 41 82 00 0C */ beq lbl_802155CC /* 802155C4 00212524 38 80 00 00 */ li r4, 0 /* 802155C8 00212528 48 12 B8 79 */ bl __dt__6CTokenFv lbl_802155CC: /* 802155CC 0021252C 38 00 00 00 */ li r0, 0 /* 802155D0 00212530 7E C3 B3 78 */ mr r3, r22 /* 802155D4 00212534 98 01 01 24 */ stb r0, 0x124(r1) /* 802155D8 00212538 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 /* 802155DC 0021253C CB E1 02 30 */ lfd f31, 0x230(r1) /* 802155E0 00212540 E3 C1 02 28 */ psq_l f30, 552(r1), 0, qr0 /* 802155E4 00212544 CB C1 02 20 */ lfd f30, 0x220(r1) /* 802155E8 00212548 BA A1 01 F4 */ lmw r21, 0x1f4(r1) /* 802155EC 0021254C 80 01 02 44 */ lwz r0, 0x244(r1) /* 802155F0 00212550 7C 08 03 A6 */ mtlr r0 /* 802155F4 00212554 38 21 02 40 */ addi r1, r1, 0x240 /* 802155F8 00212558 4E 80 00 20 */ blr .global StopProjectile__17CEnergyProjectileFR13CStateManager StopProjectile__17CEnergyProjectileFR13CStateManager: /* 802155FC 0021255C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80215600 00212560 7C 08 02 A6 */ mflr r0 /* 80215604 00212564 90 01 00 24 */ stw r0, 0x24(r1) /* 80215608 00212568 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021560C 0021256C 7C 9F 23 78 */ mr r31, r4 /* 80215610 00212570 93 C1 00 18 */ stw r30, 0x18(r1) /* 80215614 00212574 7C 7E 1B 78 */ mr r30, r3 /* 80215618 00212578 4B E2 22 91 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager /* 8021561C 0021257C A0 1E 00 EC */ lhz r0, 0xec(r30) /* 80215620 00212580 7F E3 FB 78 */ mr r3, r31 /* 80215624 00212584 80 BE 00 F0 */ lwz r5, 0xf0(r30) /* 80215628 00212588 38 81 00 0C */ addi r4, r1, 0xc /* 8021562C 0021258C B0 01 00 08 */ sth r0, 8(r1) /* 80215630 00212590 B0 01 00 0C */ sth r0, 0xc(r1) /* 80215634 00212594 4B E2 F6 A5 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType /* 80215638 00212598 88 1E 02 E4 */ lbz r0, 0x2e4(r30) /* 8021563C 0021259C 38 A0 00 00 */ li r5, 0 /* 80215640 002125A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80215644 002125A4 7F E3 FB 78 */ mr r3, r31 /* 80215648 002125A8 98 1E 02 E4 */ stb r0, 0x2e4(r30) /* 8021564C 002125AC 7F C4 F3 78 */ mr r4, r30 /* 80215650 002125B0 90 BE 00 6C */ stw r5, 0x6c(r30) /* 80215654 002125B4 90 BE 00 68 */ stw r5, 0x68(r30) /* 80215658 002125B8 4B E3 70 ED */ bl UpdateActorInSortedLists__13CStateManagerFR6CActor /* 8021565C 002125BC 80 1E 02 E8 */ lwz r0, 0x2e8(r30) /* 80215660 002125C0 28 00 00 00 */ cmplwi r0, 0 /* 80215664 002125C4 41 82 00 1C */ beq lbl_80215680 /* 80215668 002125C8 80 1E 02 E8 */ lwz r0, 0x2e8(r30) /* 8021566C 002125CC 38 61 00 10 */ addi r3, r1, 0x10 /* 80215670 002125D0 90 01 00 10 */ stw r0, 0x10(r1) /* 80215674 002125D4 48 0D 48 11 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80215678 002125D8 38 00 00 00 */ li r0, 0 /* 8021567C 002125DC 90 1E 02 E8 */ stw r0, 0x2e8(r30) lbl_80215680: /* 80215680 002125E0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80215684 002125E4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80215688 002125E8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021568C 002125EC 7C 08 03 A6 */ mtlr r0 /* 80215690 002125F0 38 21 00 20 */ addi r1, r1, 0x20 /* 80215694 002125F4 4E 80 00 20 */ blr .global "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb": /* 80215698 002125F8 94 21 FE 90 */ stwu r1, -0x170(r1) /* 8021569C 002125FC 7C 08 02 A6 */ mflr r0 /* 802156A0 00212600 3D 60 80 3D */ lis r11, lbl_803D2890@ha /* 802156A4 00212604 90 01 01 74 */ stw r0, 0x174(r1) /* 802156A8 00212608 39 6B 28 90 */ addi r11, r11, lbl_803D2890@l /* 802156AC 0021260C BD E1 01 2C */ stmw r15, 0x12c(r1) /* 802156B0 00212610 7C 70 1B 78 */ mr r16, r3 /* 802156B4 00212614 7C 91 23 78 */ mr r17, r4 /* 802156B8 00212618 83 01 01 78 */ lwz r24, 0x178(r1) /* 802156BC 0021261C 83 21 01 7C */ lwz r25, 0x17c(r1) /* 802156C0 00212620 7C B2 2B 78 */ mr r18, r5 /* 802156C4 00212624 83 41 01 80 */ lwz r26, 0x180(r1) /* 802156C8 00212628 7C D3 33 78 */ mr r19, r6 /* 802156CC 0021262C 83 61 01 84 */ lwz r27, 0x184(r1) /* 802156D0 00212630 7C F4 3B 78 */ mr r20, r7 /* 802156D4 00212634 8B 81 01 8B */ lbz r28, 0x18b(r1) /* 802156D8 00212638 7D 15 43 78 */ mr r21, r8 /* 802156DC 0021263C 83 A1 01 8C */ lwz r29, 0x18c(r1) /* 802156E0 00212640 7D 36 4B 78 */ mr r22, r9 /* 802156E4 00212644 83 C1 01 90 */ lwz r30, 0x190(r1) /* 802156E8 00212648 7D 57 53 78 */ mr r23, r10 /* 802156EC 0021264C A3 E1 01 96 */ lhz r31, 0x196(r1) /* 802156F0 00212650 38 61 00 40 */ addi r3, r1, 0x40 /* 802156F4 00212654 89 E1 01 9B */ lbz r15, 0x19b(r1) /* 802156F8 00212658 38 8B 00 64 */ addi r4, r11, 0x64 /* 802156FC 0021265C 4B DE F5 BD */ bl string_l__4rstlFPCc /* 80215700 00212660 A0 1A 00 00 */ lhz r0, 0(r26) /* 80215704 00212664 3B 41 00 38 */ addi r26, r1, 0x38 /* 80215708 00212668 A2 F7 00 00 */ lhz r23, 0(r23) /* 8021570C 0021266C 39 81 00 3C */ addi r12, r1, 0x3c /* 80215710 00212670 B0 01 00 30 */ sth r0, 0x30(r1) /* 80215714 00212674 39 61 00 34 */ addi r11, r1, 0x34 /* 80215718 00212678 38 01 00 30 */ addi r0, r1, 0x30 /* 8021571C 0021267C 7E 03 83 78 */ mr r3, r16 /* 80215720 00212680 A0 D9 00 00 */ lhz r6, 0(r25) /* 80215724 00212684 7E 24 8B 78 */ mr r4, r17 /* 80215728 00212688 7E 45 93 78 */ mr r5, r18 /* 8021572C 0021268C 7E 67 9B 78 */ mr r7, r19 /* 80215730 00212690 B0 C1 00 34 */ sth r6, 0x34(r1) /* 80215734 00212694 7E 88 A3 78 */ mr r8, r20 /* 80215738 00212698 7E A9 AB 78 */ mr r9, r21 /* 8021573C 0021269C 7E CA B3 78 */ mr r10, r22 /* 80215740 002126A0 82 38 00 00 */ lwz r17, 0(r24) /* 80215744 002126A4 38 C1 00 40 */ addi r6, r1, 0x40 /* 80215748 002126A8 92 21 00 3C */ stw r17, 0x3c(r1) /* 8021574C 002126AC B2 E1 00 38 */ sth r23, 0x38(r1) /* 80215750 002126B0 93 41 00 08 */ stw r26, 8(r1) /* 80215754 002126B4 91 81 00 0C */ stw r12, 0xc(r1) /* 80215758 002126B8 91 61 00 10 */ stw r11, 0x10(r1) /* 8021575C 002126BC 90 01 00 14 */ stw r0, 0x14(r1) /* 80215760 002126C0 93 61 00 18 */ stw r27, 0x18(r1) /* 80215764 002126C4 93 81 00 1C */ stw r28, 0x1c(r1) /* 80215768 002126C8 93 A1 00 20 */ stw r29, 0x20(r1) /* 8021576C 002126CC 93 C1 00 24 */ stw r30, 0x24(r1) /* 80215770 002126D0 93 E1 00 28 */ stw r31, 0x28(r1) /* 80215774 002126D4 91 E1 00 2C */ stw r15, 0x2c(r1) /* 80215778 002126D8 4B E2 4D 0D */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 8021577C 002126DC 38 61 00 40 */ addi r3, r1, 0x40 /* 80215780 002126E0 48 12 83 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80215784 002126E4 3C 60 80 3E */ lis r3, lbl_803E7158@ha /* 80215788 002126E8 38 00 00 00 */ li r0, 0 /* 8021578C 002126EC 38 83 71 58 */ addi r4, r3, lbl_803E7158@l /* 80215790 002126F0 38 70 02 EC */ addi r3, r16, 0x2ec /* 80215794 002126F4 90 90 00 00 */ stw r4, 0(r16) /* 80215798 002126F8 90 10 02 E8 */ stw r0, 0x2e8(r16) /* 8021579C 002126FC C0 54 00 24 */ lfs f2, 0x24(r20) /* 802157A0 00212700 C0 34 00 14 */ lfs f1, 0x14(r20) /* 802157A4 00212704 C0 14 00 04 */ lfs f0, 4(r20) /* 802157A8 00212708 D0 10 02 EC */ stfs f0, 0x2ec(r16) /* 802157AC 0021270C D0 30 02 F0 */ stfs f1, 0x2f0(r16) /* 802157B0 00212710 D0 50 02 F4 */ stfs f2, 0x2f4(r16) /* 802157B4 00212714 48 0F F1 05 */ bl Magnitude__9CVector3fCFv /* 802157B8 00212718 D0 30 02 F8 */ stfs f1, 0x2f8(r16) /* 802157BC 0021271C 38 61 00 50 */ addi r3, r1, 0x50 /* 802157C0 00212720 C0 22 B3 40 */ lfs f1, lbl_805AD060@sda21(r2) /* 802157C4 00212724 C0 42 B3 24 */ lfs f2, lbl_805AD044@sda21(r2) /* 802157C8 00212728 4B F4 83 ED */ bl BuildProjectileCameraShake__16CCameraShakeDataFff /* 802157CC 0021272C 38 70 02 FC */ addi r3, r16, 0x2fc /* 802157D0 00212730 38 81 00 50 */ addi r4, r1, 0x50 /* 802157D4 00212734 4B DF 55 D5 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData /* 802157D8 00212738 34 81 00 D0 */ addic. r4, r1, 0xd0 /* 802157DC 0021273C 41 82 00 10 */ beq lbl_802157EC /* 802157E0 00212740 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 802157E4 00212744 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 802157E8 00212748 90 04 00 00 */ stw r0, 0(r4) lbl_802157EC: /* 802157EC 0021274C 34 81 00 94 */ addic. r4, r1, 0x94 /* 802157F0 00212750 41 82 00 10 */ beq lbl_80215800 /* 802157F4 00212754 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 802157F8 00212758 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 802157FC 0021275C 90 04 00 00 */ stw r0, 0(r4) lbl_80215800: /* 80215800 00212760 34 81 00 58 */ addic. r4, r1, 0x58 /* 80215804 00212764 41 82 00 10 */ beq lbl_80215814 /* 80215808 00212768 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 8021580C 0021276C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 80215810 00212770 90 04 00 00 */ stw r0, 0(r4) lbl_80215814: /* 80215814 00212774 88 10 03 D0 */ lbz r0, 0x3d0(r16) /* 80215818 00212778 38 A0 00 00 */ li r5, 0 /* 8021581C 0021277C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80215820 00212780 C0 02 B3 10 */ lfs f0, lbl_805AD030@sda21(r2) /* 80215824 00212784 98 10 03 D0 */ stb r0, 0x3d0(r16) /* 80215828 00212788 38 80 00 02 */ li r4, 2 /* 8021582C 0021278C 7E 03 83 78 */ mr r3, r16 /* 80215830 00212790 88 10 03 D0 */ lbz r0, 0x3d0(r16) /* 80215834 00212794 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80215838 00212798 98 10 03 D0 */ stb r0, 0x3d0(r16) /* 8021583C 0021279C 88 10 03 D0 */ lbz r0, 0x3d0(r16) /* 80215840 002127A0 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80215844 002127A4 98 10 03 D0 */ stb r0, 0x3d0(r16) /* 80215848 002127A8 88 10 03 D0 */ lbz r0, 0x3d0(r16) /* 8021584C 002127AC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80215850 002127B0 98 10 03 D0 */ stb r0, 0x3d0(r16) /* 80215854 002127B4 D0 10 03 D4 */ stfs f0, 0x3d4(r16) /* 80215858 002127B8 88 10 00 E6 */ lbz r0, 0xe6(r16) /* 8021585C 002127BC 50 80 1E F8 */ rlwimi r0, r4, 3, 0x1b, 0x1c /* 80215860 002127C0 98 10 00 E6 */ stb r0, 0xe6(r16) /* 80215864 002127C4 B9 E1 01 2C */ lmw r15, 0x12c(r1) /* 80215868 002127C8 80 01 01 74 */ lwz r0, 0x174(r1) /* 8021586C 002127CC 7C 08 03 A6 */ mtlr r0 /* 80215870 002127D0 38 21 01 70 */ addi r1, r1, 0x170 /* 80215874 002127D4 4E 80 00 20 */ blr .global __sinit_CEnergyProjectile_cpp __sinit_CEnergyProjectile_cpp: /* 80215878 002127D8 3C 60 00 E4 */ lis r3, 0x00E3FFFE@ha /* 8021587C 002127DC 38 00 00 00 */ li r0, 0 /* 80215880 002127E0 38 63 FF FE */ addi r3, r3, 0x00E3FFFE@l /* 80215884 002127E4 90 0D A4 F8 */ stw r0, lbl_805A90B8@sda21(r13) /* 80215888 002127E8 90 6D A4 FC */ stw r3, lbl_805A90BC@sda21(r13) /* 8021588C 002127EC 4E 80 00 20 */ blr .global HealthInfo__16CScriptGunTurretFR13CStateManager HealthInfo__16CScriptGunTurretFR13CStateManager: /* 80215890 002127F0 38 63 02 64 */ addi r3, r3, 0x264 /* 80215894 002127F4 4E 80 00 20 */ blr .global GetDamageVulnerability__16CScriptGunTurretCFv GetDamageVulnerability__16CScriptGunTurretCFv: /* 80215898 002127F8 38 63 02 6C */ addi r3, r3, 0x26c /* 8021589C 002127FC 4E 80 00 20 */ blr .global PlayerInsideTurretSphere__16CScriptGunTurretFR13CStateManager PlayerInsideTurretSphere__16CScriptGunTurretFR13CStateManager: /* 802158A0 00212800 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802158A4 00212804 7C 08 02 A6 */ mflr r0 /* 802158A8 00212808 90 01 00 84 */ stw r0, 0x84(r1) /* 802158AC 0021280C DB E1 00 70 */ stfd f31, 0x70(r1) /* 802158B0 00212810 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 802158B4 00212814 DB C1 00 60 */ stfd f30, 0x60(r1) /* 802158B8 00212818 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 802158BC 0021281C DB A1 00 50 */ stfd f29, 0x50(r1) /* 802158C0 00212820 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 /* 802158C4 00212824 DB 81 00 40 */ stfd f28, 0x40(r1) /* 802158C8 00212828 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 /* 802158CC 0021282C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802158D0 00212830 93 C1 00 38 */ stw r30, 0x38(r1) /* 802158D4 00212834 93 A1 00 34 */ stw r29, 0x34(r1) /* 802158D8 00212838 7C 7D 1B 78 */ mr r29, r3 /* 802158DC 0021283C 7C 9E 23 78 */ mr r30, r4 /* 802158E0 00212840 A0 03 04 A0 */ lhz r0, 0x4a0(r3) /* 802158E4 00212844 7F C3 F3 78 */ mr r3, r30 /* 802158E8 00212848 38 81 00 08 */ addi r4, r1, 8 /* 802158EC 0021284C B0 01 00 08 */ sth r0, 8(r1) /* 802158F0 00212850 4B E3 6C B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802158F4 00212854 7C 64 1B 78 */ mr r4, r3 /* 802158F8 00212858 38 61 00 0C */ addi r3, r1, 0xc /* 802158FC 0021285C 4B E9 9A 51 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80215900 00212860 83 E3 00 04 */ lwz r31, 4(r3) /* 80215904 00212864 28 1F 00 00 */ cmplwi r31, 0 /* 80215908 00212868 41 82 00 C0 */ beq lbl_802159C8 /* 8021590C 0021286C 88 1F 00 30 */ lbz r0, 0x30(r31) /* 80215910 00212870 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80215914 00212874 41 82 00 B4 */ beq lbl_802159C8 /* 80215918 00212878 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 8021591C 0021287C 7F C5 F3 78 */ mr r5, r30 /* 80215920 00212880 38 61 00 14 */ addi r3, r1, 0x14 /* 80215924 00212884 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 80215928 00212888 81 84 00 00 */ lwz r12, 0(r4) /* 8021592C 0021288C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80215930 00212890 7D 89 03 A6 */ mtctr r12 /* 80215934 00212894 4E 80 04 21 */ bctrl /* 80215938 00212898 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 8021593C 0021289C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80215940 002128A0 C0 9D 00 50 */ lfs f4, 0x50(r29) /* 80215944 002128A4 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80215948 002128A8 EF C0 18 28 */ fsubs f30, f0, f3 /* 8021594C 002128AC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80215950 002128B0 C0 BD 00 40 */ lfs f5, 0x40(r29) /* 80215954 002128B4 EF A1 20 28 */ fsubs f29, f1, f4 /* 80215958 002128B8 C0 21 00 14 */ lfs f1, 0x14(r1) /* 8021595C 002128BC FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 80215960 002128C0 EF 81 28 28 */ fsubs f28, f1, f5 /* 80215964 002128C4 40 80 00 64 */ bge lbl_802159C8 /* 80215968 002128C8 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 8021596C 002128CC 38 61 00 20 */ addi r3, r1, 0x20 /* 80215970 002128D0 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 80215974 002128D4 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80215978 002128D8 EC 42 20 28 */ fsubs f2, f2, f4 /* 8021597C 002128DC EC 21 18 28 */ fsubs f1, f1, f3 /* 80215980 002128E0 EC 00 28 28 */ fsubs f0, f0, f5 /* 80215984 002128E4 D0 41 00 24 */ stfs f2, 0x24(r1) /* 80215988 002128E8 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8021598C 002128EC D0 21 00 28 */ stfs f1, 0x28(r1) /* 80215990 002128F0 48 0F EF 29 */ bl Magnitude__9CVector3fCFv /* 80215994 002128F4 FF E0 08 90 */ fmr f31, f1 /* 80215998 002128F8 7F E3 FB 78 */ mr r3, r31 /* 8021599C 002128FC 4B F9 31 E1 */ bl GetSphereRadius__15CCollisionActorCFv /* 802159A0 00212900 EC 1D 07 72 */ fmuls f0, f29, f29 /* 802159A4 00212904 C0 42 B3 60 */ lfs f2, lbl_805AD080@sda21(r2) /* 802159A8 00212908 EC 42 F8 7A */ fmadds f2, f2, f1, f31 /* 802159AC 0021290C EC 3C 07 3A */ fmadds f1, f28, f28, f0 /* 802159B0 00212910 EC 02 00 B2 */ fmuls f0, f2, f2 /* 802159B4 00212914 EC 3E 0F BA */ fmadds f1, f30, f30, f1 /* 802159B8 00212918 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802159BC 0021291C 7C 00 00 26 */ mfcr r0 /* 802159C0 00212920 54 03 0F FE */ srwi r3, r0, 0x1f /* 802159C4 00212924 48 00 00 08 */ b lbl_802159CC lbl_802159C8: /* 802159C8 00212928 38 60 00 00 */ li r3, 0 lbl_802159CC: /* 802159CC 0021292C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 802159D0 00212930 CB E1 00 70 */ lfd f31, 0x70(r1) /* 802159D4 00212934 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 802159D8 00212938 CB C1 00 60 */ lfd f30, 0x60(r1) /* 802159DC 0021293C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 /* 802159E0 00212940 CB A1 00 50 */ lfd f29, 0x50(r1) /* 802159E4 00212944 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 /* 802159E8 00212948 CB 81 00 40 */ lfd f28, 0x40(r1) /* 802159EC 0021294C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 802159F0 00212950 83 C1 00 38 */ lwz r30, 0x38(r1) /* 802159F4 00212954 80 01 00 84 */ lwz r0, 0x84(r1) /* 802159F8 00212958 83 A1 00 34 */ lwz r29, 0x34(r1) /* 802159FC 0021295C 7C 08 03 A6 */ mtlr r0 /* 80215A00 00212960 38 21 00 80 */ addi r1, r1, 0x80 /* 80215A04 00212964 4E 80 00 20 */ blr .global UpdateFrozenState__16CScriptGunTurretFfR13CStateManager UpdateFrozenState__16CScriptGunTurretFfR13CStateManager: /* 80215A08 00212968 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80215A0C 0021296C 7C 08 02 A6 */ mflr r0 /* 80215A10 00212970 90 01 00 24 */ stw r0, 0x24(r1) /* 80215A14 00212974 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80215A18 00212978 7C 7F 1B 78 */ mr r31, r3 /* 80215A1C 0021297C 88 C3 05 60 */ lbz r6, 0x560(r3) /* 80215A20 00212980 54 C0 D7 FF */ rlwinm. r0, r6, 0x1a, 0x1f, 0x1f /* 80215A24 00212984 41 82 00 9C */ beq lbl_80215AC0 /* 80215A28 00212988 C0 5F 05 3C */ lfs f2, 0x53c(r31) /* 80215A2C 0021298C C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80215A30 00212990 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80215A34 00212994 4C 40 13 82 */ cror 2, 0, 2 /* 80215A38 00212998 40 82 00 70 */ bne lbl_80215AA8 /* 80215A3C 0021299C 38 00 00 00 */ li r0, 0 /* 80215A40 002129A0 7C 85 23 78 */ mr r5, r4 /* 80215A44 002129A4 50 06 36 72 */ rlwimi r6, r0, 6, 0x19, 0x19 /* 80215A48 002129A8 38 80 00 1D */ li r4, 0x1d /* 80215A4C 002129AC 98 DF 05 60 */ stb r6, 0x560(r31) /* 80215A50 002129B0 38 C0 FF FF */ li r6, -1 /* 80215A54 002129B4 4B E3 B6 6D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 80215A58 002129B8 81 5F 00 04 */ lwz r10, 4(r31) /* 80215A5C 002129BC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80215A60 002129C0 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80215A64 002129C4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80215A68 002129C8 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80215A6C 002129CC 38 61 00 08 */ addi r3, r1, 8 /* 80215A70 002129D0 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80215A74 002129D4 38 A1 00 0C */ addi r5, r1, 0xc /* 80215A78 002129D8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 80215A7C 002129DC 38 E0 00 00 */ li r7, 0 /* 80215A80 002129E0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80215A84 002129E4 39 00 00 00 */ li r8, 0 /* 80215A88 002129E8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80215A8C 002129EC D0 41 00 14 */ stfs f2, 0x14(r1) /* 80215A90 002129F0 A0 9F 03 54 */ lhz r4, 0x354(r31) /* 80215A94 002129F4 48 0D 48 1D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80215A98 002129F8 7F E3 FB 78 */ mr r3, r31 /* 80215A9C 002129FC 38 80 00 00 */ li r4, 0 /* 80215AA0 00212A00 4B E3 D9 4D */ bl SetMuted__6CActorFb /* 80215AA4 00212A04 48 00 00 24 */ b lbl_80215AC8 lbl_80215AA8: /* 80215AA8 00212A08 88 1F 03 10 */ lbz r0, 0x310(r31) /* 80215AAC 00212A0C 28 00 00 00 */ cmplwi r0, 0 /* 80215AB0 00212A10 41 82 00 18 */ beq lbl_80215AC8 /* 80215AB4 00212A14 EC 02 08 28 */ fsubs f0, f2, f1 /* 80215AB8 00212A18 D0 1F 05 3C */ stfs f0, 0x53c(r31) /* 80215ABC 00212A1C 48 00 00 0C */ b lbl_80215AC8 lbl_80215AC0: /* 80215AC0 00212A20 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80215AC4 00212A24 D0 1F 05 3C */ stfs f0, 0x53c(r31) lbl_80215AC8: /* 80215AC8 00212A28 80 01 00 24 */ lwz r0, 0x24(r1) /* 80215ACC 00212A2C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80215AD0 00212A30 7C 08 03 A6 */ mtlr r0 /* 80215AD4 00212A34 38 21 00 20 */ addi r1, r1, 0x20 /* 80215AD8 00212A38 4E 80 00 20 */ blr .global UpdateGunCollisionManager__16CScriptGunTurretFfR13CStateManager UpdateGunCollisionManager__16CScriptGunTurretFfR13CStateManager: /* 80215ADC 00212A3C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80215AE0 00212A40 7C 08 02 A6 */ mflr r0 /* 80215AE4 00212A44 90 01 00 34 */ stw r0, 0x34(r1) /* 80215AE8 00212A48 DB E1 00 28 */ stfd f31, 0x28(r1) /* 80215AEC 00212A4C FF E0 08 90 */ fmr f31, f1 /* 80215AF0 00212A50 93 E1 00 24 */ stw r31, 0x24(r1) /* 80215AF4 00212A54 7C 9F 23 78 */ mr r31, r4 /* 80215AF8 00212A58 38 81 00 08 */ addi r4, r1, 8 /* 80215AFC 00212A5C 93 C1 00 20 */ stw r30, 0x20(r1) /* 80215B00 00212A60 7C 7E 1B 78 */ mr r30, r3 /* 80215B04 00212A64 A0 03 04 A0 */ lhz r0, 0x4a0(r3) /* 80215B08 00212A68 7F E3 FB 78 */ mr r3, r31 /* 80215B0C 00212A6C B0 01 00 08 */ sth r0, 8(r1) /* 80215B10 00212A70 4B E3 6A 65 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80215B14 00212A74 7C 64 1B 78 */ mr r4, r3 /* 80215B18 00212A78 38 61 00 0C */ addi r3, r1, 0xc /* 80215B1C 00212A7C 4B E9 98 31 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80215B20 00212A80 80 63 00 04 */ lwz r3, 4(r3) /* 80215B24 00212A84 28 03 00 00 */ cmplwi r3, 0 /* 80215B28 00212A88 41 82 00 2C */ beq lbl_80215B54 /* 80215B2C 00212A8C 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 80215B30 00212A90 81 83 00 00 */ lwz r12, 0(r3) /* 80215B34 00212A94 80 A4 02 F8 */ lwz r5, 0x2f8(r4) /* 80215B38 00212A98 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80215B3C 00212A9C 20 85 00 01 */ subfic r4, r5, 1 /* 80215B40 00212AA0 38 05 FF FF */ addi r0, r5, -1 /* 80215B44 00212AA4 7C 80 03 78 */ or r0, r4, r0 /* 80215B48 00212AA8 54 04 0F FE */ srwi r4, r0, 0x1f /* 80215B4C 00212AAC 7D 89 03 A6 */ mtctr r12 /* 80215B50 00212AB0 4E 80 04 21 */ bctrl lbl_80215B54: /* 80215B54 00212AB4 FC 20 F8 90 */ fmr f1, f31 /* 80215B58 00212AB8 80 7E 04 9C */ lwz r3, 0x49c(r30) /* 80215B5C 00212ABC 7F E4 FB 78 */ mr r4, r31 /* 80215B60 00212AC0 38 A0 00 00 */ li r5, 0 /* 80215B64 00212AC4 4B F9 18 ED */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 80215B68 00212AC8 80 01 00 34 */ lwz r0, 0x34(r1) /* 80215B6C 00212ACC CB E1 00 28 */ lfd f31, 0x28(r1) /* 80215B70 00212AD0 83 E1 00 24 */ lwz r31, 0x24(r1) /* 80215B74 00212AD4 83 C1 00 20 */ lwz r30, 0x20(r1) /* 80215B78 00212AD8 7C 08 03 A6 */ mtlr r0 /* 80215B7C 00212ADC 38 21 00 30 */ addi r1, r1, 0x30 /* 80215B80 00212AE0 4E 80 00 20 */ blr .global SetupCollisionManager__16CScriptGunTurretFR13CStateManager SetupCollisionManager__16CScriptGunTurretFR13CStateManager: /* 80215B84 00212AE4 94 21 FE 10 */ stwu r1, -0x1f0(r1) /* 80215B88 00212AE8 7C 08 02 A6 */ mflr r0 /* 80215B8C 00212AEC 90 01 01 F4 */ stw r0, 0x1f4(r1) /* 80215B90 00212AF0 38 00 00 00 */ li r0, 0 /* 80215B94 00212AF4 BE E1 01 CC */ stmw r23, 0x1cc(r1) /* 80215B98 00212AF8 7C 7B 1B 78 */ mr r27, r3 /* 80215B9C 00212AFC 7C 9C 23 78 */ mr r28, r4 /* 80215BA0 00212B00 38 61 00 90 */ addi r3, r1, 0x90 /* 80215BA4 00212B04 38 80 00 02 */ li r4, 2 /* 80215BA8 00212B08 90 01 00 94 */ stw r0, 0x94(r1) /* 80215BAC 00212B0C 90 01 00 98 */ stw r0, 0x98(r1) /* 80215BB0 00212B10 90 01 00 9C */ stw r0, 0x9c(r1) /* 80215BB4 00212B14 4B F4 0C 05 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 80215BB8 00212B18 80 BB 00 64 */ lwz r5, 0x64(r27) /* 80215BBC 00212B1C 38 61 00 80 */ addi r3, r1, 0x80 /* 80215BC0 00212B20 80 82 B3 50 */ lwz r4, lbl_805AD070@sda21(r2) /* 80215BC4 00212B24 83 45 00 10 */ lwz r26, 0x10(r5) /* 80215BC8 00212B28 4B DE F0 F1 */ bl string_l__4rstlFPCc /* 80215BCC 00212B2C 7F 44 D3 78 */ mr r4, r26 /* 80215BD0 00212B30 38 61 00 18 */ addi r3, r1, 0x18 /* 80215BD4 00212B34 38 A1 00 80 */ addi r5, r1, 0x80 /* 80215BD8 00212B38 4B E1 8C 61 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80215BDC 00212B3C 88 01 00 18 */ lbz r0, 0x18(r1) /* 80215BE0 00212B40 38 61 00 80 */ addi r3, r1, 0x80 /* 80215BE4 00212B44 98 1B 05 08 */ stb r0, 0x508(r27) /* 80215BE8 00212B48 48 12 7E F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80215BEC 00212B4C 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 80215BF0 00212B50 38 61 00 70 */ addi r3, r1, 0x70 /* 80215BF4 00212B54 4B DE F0 C5 */ bl string_l__4rstlFPCc /* 80215BF8 00212B58 7F 44 D3 78 */ mr r4, r26 /* 80215BFC 00212B5C 38 61 00 14 */ addi r3, r1, 0x14 /* 80215C00 00212B60 38 A1 00 70 */ addi r5, r1, 0x70 /* 80215C04 00212B64 4B E1 8C 35 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80215C08 00212B68 88 01 00 14 */ lbz r0, 0x14(r1) /* 80215C0C 00212B6C 38 61 00 70 */ addi r3, r1, 0x70 /* 80215C10 00212B70 98 01 00 1C */ stb r0, 0x1c(r1) /* 80215C14 00212B74 48 12 7E CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80215C18 00212B78 80 82 B3 50 */ lwz r4, lbl_805AD070@sda21(r2) /* 80215C1C 00212B7C 38 61 00 60 */ addi r3, r1, 0x60 /* 80215C20 00212B80 4B DE F0 99 */ bl string_l__4rstlFPCc /* 80215C24 00212B84 88 01 00 1C */ lbz r0, 0x1c(r1) /* 80215C28 00212B88 38 61 00 FC */ addi r3, r1, 0xfc /* 80215C2C 00212B8C C0 22 B3 64 */ lfs f1, lbl_805AD084@sda21(r2) /* 80215C30 00212B90 38 81 00 10 */ addi r4, r1, 0x10 /* 80215C34 00212B94 98 01 00 0C */ stb r0, 0xc(r1) /* 80215C38 00212B98 38 A1 00 0C */ addi r5, r1, 0xc /* 80215C3C 00212B9C C0 42 B3 68 */ lfs f2, lbl_805AD088@sda21(r2) /* 80215C40 00212BA0 38 E1 00 60 */ addi r7, r1, 0x60 /* 80215C44 00212BA4 88 1B 05 08 */ lbz r0, 0x508(r27) /* 80215C48 00212BA8 38 C0 00 01 */ li r6, 1 /* 80215C4C 00212BAC C0 62 B3 6C */ lfs f3, lbl_805AD08C@sda21(r2) /* 80215C50 00212BB0 98 01 00 10 */ stb r0, 0x10(r1) /* 80215C54 00212BB4 4B F9 2B 01 */ bl "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 80215C58 00212BB8 80 E1 00 FC */ lwz r7, 0xfc(r1) /* 80215C5C 00212BBC 3B C1 01 B0 */ addi r30, r1, 0x1b0 /* 80215C60 00212BC0 80 C1 01 00 */ lwz r6, 0x100(r1) /* 80215C64 00212BC4 3B 01 01 28 */ addi r24, r1, 0x128 /* 80215C68 00212BC8 88 A1 01 04 */ lbz r5, 0x104(r1) /* 80215C6C 00212BCC 7F C3 F3 78 */ mr r3, r30 /* 80215C70 00212BD0 88 01 01 05 */ lbz r0, 0x105(r1) /* 80215C74 00212BD4 7F 04 C3 78 */ mr r4, r24 /* 80215C78 00212BD8 C0 E1 01 08 */ lfs f7, 0x108(r1) /* 80215C7C 00212BDC C0 C1 01 0C */ lfs f6, 0x10c(r1) /* 80215C80 00212BE0 C0 A1 01 10 */ lfs f5, 0x110(r1) /* 80215C84 00212BE4 C0 81 01 14 */ lfs f4, 0x114(r1) /* 80215C88 00212BE8 C0 61 01 18 */ lfs f3, 0x118(r1) /* 80215C8C 00212BEC C0 41 01 1C */ lfs f2, 0x11c(r1) /* 80215C90 00212BF0 C0 21 01 20 */ lfs f1, 0x120(r1) /* 80215C94 00212BF4 C0 01 01 24 */ lfs f0, 0x124(r1) /* 80215C98 00212BF8 90 E1 01 84 */ stw r7, 0x184(r1) /* 80215C9C 00212BFC 90 C1 01 88 */ stw r6, 0x188(r1) /* 80215CA0 00212C00 98 A1 01 8C */ stb r5, 0x18c(r1) /* 80215CA4 00212C04 98 01 01 8D */ stb r0, 0x18d(r1) /* 80215CA8 00212C08 D0 E1 01 90 */ stfs f7, 0x190(r1) /* 80215CAC 00212C0C D0 C1 01 94 */ stfs f6, 0x194(r1) /* 80215CB0 00212C10 D0 A1 01 98 */ stfs f5, 0x198(r1) /* 80215CB4 00212C14 D0 81 01 9C */ stfs f4, 0x19c(r1) /* 80215CB8 00212C18 D0 61 01 A0 */ stfs f3, 0x1a0(r1) /* 80215CBC 00212C1C D0 41 01 A4 */ stfs f2, 0x1a4(r1) /* 80215CC0 00212C20 D0 21 01 A8 */ stfs f1, 0x1a8(r1) /* 80215CC4 00212C24 D0 01 01 AC */ stfs f0, 0x1ac(r1) /* 80215CC8 00212C28 48 12 84 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80215CCC 00212C2C A0 01 01 38 */ lhz r0, 0x138(r1) /* 80215CD0 00212C30 28 18 00 00 */ cmplwi r24, 0 /* 80215CD4 00212C34 C0 01 01 3C */ lfs f0, 0x13c(r1) /* 80215CD8 00212C38 B0 01 01 C0 */ sth r0, 0x1c0(r1) /* 80215CDC 00212C3C D0 01 01 C4 */ stfs f0, 0x1c4(r1) /* 80215CE0 00212C40 41 82 00 0C */ beq lbl_80215CEC /* 80215CE4 00212C44 7F 03 C3 78 */ mr r3, r24 /* 80215CE8 00212C48 48 12 7D F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80215CEC: /* 80215CEC 00212C4C 38 61 00 60 */ addi r3, r1, 0x60 /* 80215CF0 00212C50 48 12 7D F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80215CF4 00212C54 38 61 00 90 */ addi r3, r1, 0x90 /* 80215CF8 00212C58 38 81 01 84 */ addi r4, r1, 0x184 /* 80215CFC 00212C5C 4B F4 05 35 */ bl sub_80156230 /* 80215D00 00212C60 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 80215D04 00212C64 38 61 00 50 */ addi r3, r1, 0x50 /* 80215D08 00212C68 4B DE EF B1 */ bl string_l__4rstlFPCc /* 80215D0C 00212C6C 88 01 00 1C */ lbz r0, 0x1c(r1) /* 80215D10 00212C70 38 61 00 B8 */ addi r3, r1, 0xb8 /* 80215D14 00212C74 C0 22 B3 70 */ lfs f1, lbl_805AD090@sda21(r2) /* 80215D18 00212C78 38 81 00 08 */ addi r4, r1, 8 /* 80215D1C 00212C7C 98 01 00 08 */ stb r0, 8(r1) /* 80215D20 00212C80 38 A1 00 50 */ addi r5, r1, 0x50 /* 80215D24 00212C84 C0 42 B3 6C */ lfs f2, lbl_805AD08C@sda21(r2) /* 80215D28 00212C88 4B F9 2A E5 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 80215D2C 00212C8C 80 E1 00 B8 */ lwz r7, 0xb8(r1) /* 80215D30 00212C90 3B E1 01 6C */ addi r31, r1, 0x16c /* 80215D34 00212C94 80 C1 00 BC */ lwz r6, 0xbc(r1) /* 80215D38 00212C98 3B 01 00 E4 */ addi r24, r1, 0xe4 /* 80215D3C 00212C9C 88 A1 00 C0 */ lbz r5, 0xc0(r1) /* 80215D40 00212CA0 7F E3 FB 78 */ mr r3, r31 /* 80215D44 00212CA4 88 01 00 C1 */ lbz r0, 0xc1(r1) /* 80215D48 00212CA8 7F 04 C3 78 */ mr r4, r24 /* 80215D4C 00212CAC C0 E1 00 C4 */ lfs f7, 0xc4(r1) /* 80215D50 00212CB0 C0 C1 00 C8 */ lfs f6, 0xc8(r1) /* 80215D54 00212CB4 C0 A1 00 CC */ lfs f5, 0xcc(r1) /* 80215D58 00212CB8 C0 81 00 D0 */ lfs f4, 0xd0(r1) /* 80215D5C 00212CBC C0 61 00 D4 */ lfs f3, 0xd4(r1) /* 80215D60 00212CC0 C0 41 00 D8 */ lfs f2, 0xd8(r1) /* 80215D64 00212CC4 C0 21 00 DC */ lfs f1, 0xdc(r1) /* 80215D68 00212CC8 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 80215D6C 00212CCC 90 E1 01 40 */ stw r7, 0x140(r1) /* 80215D70 00212CD0 90 C1 01 44 */ stw r6, 0x144(r1) /* 80215D74 00212CD4 98 A1 01 48 */ stb r5, 0x148(r1) /* 80215D78 00212CD8 98 01 01 49 */ stb r0, 0x149(r1) /* 80215D7C 00212CDC D0 E1 01 4C */ stfs f7, 0x14c(r1) /* 80215D80 00212CE0 D0 C1 01 50 */ stfs f6, 0x150(r1) /* 80215D84 00212CE4 D0 A1 01 54 */ stfs f5, 0x154(r1) /* 80215D88 00212CE8 D0 81 01 58 */ stfs f4, 0x158(r1) /* 80215D8C 00212CEC D0 61 01 5C */ stfs f3, 0x15c(r1) /* 80215D90 00212CF0 D0 41 01 60 */ stfs f2, 0x160(r1) /* 80215D94 00212CF4 D0 21 01 64 */ stfs f1, 0x164(r1) /* 80215D98 00212CF8 D0 01 01 68 */ stfs f0, 0x168(r1) /* 80215D9C 00212CFC 48 12 83 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80215DA0 00212D00 A0 01 00 F4 */ lhz r0, 0xf4(r1) /* 80215DA4 00212D04 28 18 00 00 */ cmplwi r24, 0 /* 80215DA8 00212D08 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 80215DAC 00212D0C B0 01 01 7C */ sth r0, 0x17c(r1) /* 80215DB0 00212D10 D0 01 01 80 */ stfs f0, 0x180(r1) /* 80215DB4 00212D14 41 82 00 0C */ beq lbl_80215DC0 /* 80215DB8 00212D18 7F 03 C3 78 */ mr r3, r24 /* 80215DBC 00212D1C 48 12 7D 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80215DC0: /* 80215DC0 00212D20 38 61 00 50 */ addi r3, r1, 0x50 /* 80215DC4 00212D24 48 12 7D 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80215DC8 00212D28 38 61 00 90 */ addi r3, r1, 0x90 /* 80215DCC 00212D2C 38 81 01 40 */ addi r4, r1, 0x140 /* 80215DD0 00212D30 4B F4 04 61 */ bl sub_80156230 /* 80215DD4 00212D34 3C 80 80 3D */ lis r4, lbl_803D2FF0@ha /* 80215DD8 00212D38 38 60 00 18 */ li r3, 0x18 /* 80215DDC 00212D3C 38 84 2F F0 */ addi r4, r4, lbl_803D2FF0@l /* 80215DE0 00212D40 38 A0 00 00 */ li r5, 0 /* 80215DE4 00212D44 38 84 00 31 */ addi r4, r4, 0x31 /* 80215DE8 00212D48 48 0F FA 85 */ bl __nw__FUlPCcPCc /* 80215DEC 00212D4C 7C 7A 1B 79 */ or. r26, r3, r3 /* 80215DF0 00212D50 41 82 00 38 */ beq lbl_80215E28 /* 80215DF4 00212D54 81 3B 00 04 */ lwz r9, 4(r27) /* 80215DF8 00212D58 7F 84 E3 78 */ mr r4, r28 /* 80215DFC 00212D5C 38 A1 00 28 */ addi r5, r1, 0x28 /* 80215E00 00212D60 38 C1 00 34 */ addi r6, r1, 0x34 /* 80215E04 00212D64 91 21 00 34 */ stw r9, 0x34(r1) /* 80215E08 00212D68 38 E1 00 90 */ addi r7, r1, 0x90 /* 80215E0C 00212D6C 39 00 00 01 */ li r8, 1 /* 80215E10 00212D70 A0 1B 00 08 */ lhz r0, 8(r27) /* 80215E14 00212D74 91 21 00 30 */ stw r9, 0x30(r1) /* 80215E18 00212D78 B0 01 00 24 */ sth r0, 0x24(r1) /* 80215E1C 00212D7C B0 01 00 28 */ sth r0, 0x28(r1) /* 80215E20 00212D80 4B F9 1B 11 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 80215E24 00212D84 7C 7A 1B 78 */ mr r26, r3 lbl_80215E28: /* 80215E28 00212D88 80 7B 04 9C */ lwz r3, 0x49c(r27) /* 80215E2C 00212D8C 38 80 00 01 */ li r4, 1 /* 80215E30 00212D90 4B F9 1A AD */ bl sub_801a78dc /* 80215E34 00212D94 93 5B 04 9C */ stw r26, 0x49c(r27) /* 80215E38 00212D98 7F 84 E3 78 */ mr r4, r28 /* 80215E3C 00212D9C 88 1B 00 30 */ lbz r0, 0x30(r27) /* 80215E40 00212DA0 80 7B 04 9C */ lwz r3, 0x49c(r27) /* 80215E44 00212DA4 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f /* 80215E48 00212DA8 4B F9 14 B1 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 80215E4C 00212DAC 3B A0 00 00 */ li r29, 0 /* 80215E50 00212DB0 48 00 01 08 */ b lbl_80215F58 lbl_80215E54: /* 80215E54 00212DB4 80 7B 04 9C */ lwz r3, 0x49c(r27) /* 80215E58 00212DB8 7F A4 EB 78 */ mr r4, r29 /* 80215E5C 00212DBC 4B F9 13 DD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80215E60 00212DC0 7C 7A 1B 78 */ mr r26, r3 /* 80215E64 00212DC4 7F 83 E3 78 */ mr r3, r28 /* 80215E68 00212DC8 A0 1A 00 3C */ lhz r0, 0x3c(r26) /* 80215E6C 00212DCC 38 81 00 20 */ addi r4, r1, 0x20 /* 80215E70 00212DD0 B0 01 00 2C */ sth r0, 0x2c(r1) /* 80215E74 00212DD4 B0 01 00 20 */ sth r0, 0x20(r1) /* 80215E78 00212DD8 4B E3 66 FD */ bl ObjectById__13CStateManagerF9TUniqueId /* 80215E7C 00212DDC 7C 64 1B 78 */ mr r4, r3 /* 80215E80 00212DE0 38 61 00 38 */ addi r3, r1, 0x38 /* 80215E84 00212DE4 4B E9 94 C9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80215E88 00212DE8 82 E3 00 04 */ lwz r23, 4(r3) /* 80215E8C 00212DEC 28 17 00 00 */ cmplwi r23, 0 /* 80215E90 00212DF0 41 82 00 C4 */ beq lbl_80215F54 /* 80215E94 00212DF4 7E E3 BB 78 */ mr r3, r23 /* 80215E98 00212DF8 7F 85 E3 78 */ mr r5, r28 /* 80215E9C 00212DFC 38 80 00 12 */ li r4, 0x12 /* 80215EA0 00212E00 4B E3 E4 B1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80215EA4 00212E04 80 AD 95 0C */ lwz r5, lbl_805A80CC@sda21(r13) /* 80215EA8 00212E08 38 60 00 00 */ li r3, 0 /* 80215EAC 00212E0C 38 80 00 01 */ li r4, 1 /* 80215EB0 00212E10 48 17 40 45 */ bl __shl2i /* 80215EB4 00212E14 80 AD 95 10 */ lwz r5, lbl_805A80D0@sda21(r13) /* 80215EB8 00212E18 7C 98 23 78 */ mr r24, r4 /* 80215EBC 00212E1C 7C 79 1B 78 */ mr r25, r3 /* 80215EC0 00212E20 38 60 00 00 */ li r3, 0 /* 80215EC4 00212E24 38 80 00 01 */ li r4, 1 /* 80215EC8 00212E28 48 17 40 2D */ bl __shl2i /* 80215ECC 00212E2C 80 AD 95 14 */ lwz r5, lbl_805A80D4@sda21(r13) /* 80215ED0 00212E30 7F 18 23 78 */ or r24, r24, r4 /* 80215ED4 00212E34 7F 39 1B 78 */ or r25, r25, r3 /* 80215ED8 00212E38 38 60 00 00 */ li r3, 0 /* 80215EDC 00212E3C 38 80 00 01 */ li r4, 1 /* 80215EE0 00212E40 48 17 40 15 */ bl __shl2i /* 80215EE4 00212E44 80 AD 95 08 */ lwz r5, lbl_805A80C8@sda21(r13) /* 80215EE8 00212E48 7F 18 23 78 */ or r24, r24, r4 /* 80215EEC 00212E4C 7F 39 1B 78 */ or r25, r25, r3 /* 80215EF0 00212E50 38 60 00 00 */ li r3, 0 /* 80215EF4 00212E54 38 80 00 01 */ li r4, 1 /* 80215EF8 00212E58 48 17 3F FD */ bl __shl2i /* 80215EFC 00212E5C 38 00 00 03 */ li r0, 3 /* 80215F00 00212E60 90 81 00 A4 */ stw r4, 0xa4(r1) /* 80215F04 00212E64 38 81 00 A0 */ addi r4, r1, 0xa0 /* 80215F08 00212E68 90 61 00 A0 */ stw r3, 0xa0(r1) /* 80215F0C 00212E6C 7E E3 BB 78 */ mr r3, r23 /* 80215F10 00212E70 93 01 00 AC */ stw r24, 0xac(r1) /* 80215F14 00212E74 93 21 00 A8 */ stw r25, 0xa8(r1) /* 80215F18 00212E78 90 01 00 B0 */ stw r0, 0xb0(r1) /* 80215F1C 00212E7C 4B E3 D9 85 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 80215F20 00212E80 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 80215F24 00212E84 38 61 00 40 */ addi r3, r1, 0x40 /* 80215F28 00212E88 4B DE ED 91 */ bl string_l__4rstlFPCc /* 80215F2C 00212E8C 38 7A 00 2C */ addi r3, r26, 0x2c /* 80215F30 00212E90 38 81 00 40 */ addi r4, r1, 0x40 /* 80215F34 00212E94 4B E3 C6 AD */ 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" /* 80215F38 00212E98 7C 7A 1B 78 */ mr r26, r3 /* 80215F3C 00212E9C 38 61 00 40 */ addi r3, r1, 0x40 /* 80215F40 00212EA0 48 12 7B A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80215F44 00212EA4 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 80215F48 00212EA8 41 82 00 0C */ beq lbl_80215F54 /* 80215F4C 00212EAC A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80215F50 00212EB0 B0 1B 04 A0 */ sth r0, 0x4a0(r27) lbl_80215F54: /* 80215F54 00212EB4 3B BD 00 01 */ addi r29, r29, 1 lbl_80215F58: /* 80215F58 00212EB8 80 7B 04 9C */ lwz r3, 0x49c(r27) /* 80215F5C 00212EBC 4B F9 12 ED */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 80215F60 00212EC0 7C 1D 18 40 */ cmplw r29, r3 /* 80215F64 00212EC4 41 80 FE F0 */ blt lbl_80215E54 /* 80215F68 00212EC8 28 1F 00 00 */ cmplwi r31, 0 /* 80215F6C 00212ECC 41 82 00 0C */ beq lbl_80215F78 /* 80215F70 00212ED0 7F E3 FB 78 */ mr r3, r31 /* 80215F74 00212ED4 48 12 7B 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80215F78: /* 80215F78 00212ED8 28 1E 00 00 */ cmplwi r30, 0 /* 80215F7C 00212EDC 41 82 00 0C */ beq lbl_80215F88 /* 80215F80 00212EE0 7F C3 F3 78 */ mr r3, r30 /* 80215F84 00212EE4 48 12 7B 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80215F88: /* 80215F88 00212EE8 38 61 00 90 */ addi r3, r1, 0x90 /* 80215F8C 00212EEC 38 80 FF FF */ li r4, -1 /* 80215F90 00212EF0 4B F4 03 9D */ bl sub_8015632c /* 80215F94 00212EF4 BA E1 01 CC */ lmw r23, 0x1cc(r1) /* 80215F98 00212EF8 80 01 01 F4 */ lwz r0, 0x1f4(r1) /* 80215F9C 00212EFC 7C 08 03 A6 */ mtlr r0 /* 80215FA0 00212F00 38 21 01 F0 */ addi r1, r1, 0x1f0 /* 80215FA4 00212F04 4E 80 00 20 */ blr .global LineOfSightTest__16CScriptGunTurretCFR13CStateManager LineOfSightTest__16CScriptGunTurretCFR13CStateManager: /* 80215FA8 00212F08 94 21 F6 B0 */ stwu r1, -0x950(r1) /* 80215FAC 00212F0C 7C 08 02 A6 */ mflr r0 /* 80215FB0 00212F10 90 01 09 54 */ stw r0, 0x954(r1) /* 80215FB4 00212F14 DB E1 09 40 */ stfd f31, 0x940(r1) /* 80215FB8 00212F18 F3 E1 09 48 */ psq_st f31, -1720(r1), 0, qr0 /* 80215FBC 00212F1C 93 E1 09 3C */ stw r31, 0x93c(r1) /* 80215FC0 00212F20 93 C1 09 38 */ stw r30, 0x938(r1) /* 80215FC4 00212F24 93 A1 09 34 */ stw r29, 0x934(r1) /* 80215FC8 00212F28 93 81 09 30 */ stw r28, 0x930(r1) /* 80215FCC 00212F2C 7C 7E 1B 78 */ mr r30, r3 /* 80215FD0 00212F30 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80215FD4 00212F34 A0 63 02 5C */ lhz r3, 0x25c(r3) /* 80215FD8 00212F38 7C 9C 23 78 */ mr r28, r4 /* 80215FDC 00212F3C 7C 03 00 40 */ cmplw r3, r0 /* 80215FE0 00212F40 41 82 02 7C */ beq lbl_8021625C /* 80215FE4 00212F44 B0 61 00 08 */ sth r3, 8(r1) /* 80215FE8 00212F48 7F 83 E3 78 */ mr r3, r28 /* 80215FEC 00212F4C 38 81 00 08 */ addi r4, r1, 8 /* 80215FF0 00212F50 4B E3 65 85 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80215FF4 00212F54 7C 64 1B 78 */ mr r4, r3 /* 80215FF8 00212F58 38 61 00 10 */ addi r3, r1, 0x10 /* 80215FFC 00212F5C 4B E9 37 B9 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80216000 00212F60 83 A3 00 04 */ lwz r29, 4(r3) /* 80216004 00212F64 28 1D 00 00 */ cmplwi r29, 0 /* 80216008 00212F68 41 82 02 54 */ beq lbl_8021625C /* 8021600C 00212F6C 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80216010 00212F70 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80216014 00212F74 40 82 00 1C */ bne lbl_80216030 /* 80216018 00212F78 80 1E 05 20 */ lwz r0, 0x520(r30) /* 8021601C 00212F7C 2C 00 00 05 */ cmpwi r0, 5 /* 80216020 00212F80 40 82 00 18 */ bne lbl_80216038 /* 80216024 00212F84 88 1E 04 F0 */ lbz r0, 0x4f0(r30) /* 80216028 00212F88 28 00 00 00 */ cmplwi r0, 0 /* 8021602C 00212F8C 41 82 00 0C */ beq lbl_80216038 lbl_80216030: /* 80216030 00212F90 38 60 00 01 */ li r3, 1 /* 80216034 00212F94 48 00 02 2C */ b lbl_80216260 lbl_80216038: /* 80216038 00212F98 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 8021603C 00212F9C 38 61 00 3C */ addi r3, r1, 0x3c /* 80216040 00212FA0 4B DE EC 79 */ bl string_l__4rstlFPCc /* 80216044 00212FA4 7F A4 EB 78 */ mr r4, r29 /* 80216048 00212FA8 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8021604C 00212FAC 38 A1 00 3C */ addi r5, r1, 0x3c /* 80216050 00212FB0 4B E3 CE B1 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80216054 00212FB4 38 61 00 F8 */ addi r3, r1, 0xf8 /* 80216058 00212FB8 38 81 00 C8 */ addi r4, r1, 0xc8 /* 8021605C 00212FBC 48 0F CB 19 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80216060 00212FC0 38 61 00 3C */ addi r3, r1, 0x3c /* 80216064 00212FC4 48 12 7A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80216068 00212FC8 C0 41 01 04 */ lfs f2, 0x104(r1) /* 8021606C 00212FCC 38 61 00 30 */ addi r3, r1, 0x30 /* 80216070 00212FD0 C0 21 01 14 */ lfs f1, 0x114(r1) /* 80216074 00212FD4 38 9D 00 34 */ addi r4, r29, 0x34 /* 80216078 00212FD8 C0 01 01 24 */ lfs f0, 0x124(r1) /* 8021607C 00212FDC 38 A1 00 24 */ addi r5, r1, 0x24 /* 80216080 00212FE0 D0 41 00 24 */ stfs f2, 0x24(r1) /* 80216084 00212FE4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 80216088 00212FE8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8021608C 00212FEC 48 0F C9 F5 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 80216090 00212FF0 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 80216094 00212FF4 7F 85 E3 78 */ mr r5, r28 /* 80216098 00212FF8 C0 01 00 34 */ lfs f0, 0x34(r1) /* 8021609C 00212FFC 38 61 00 18 */ addi r3, r1, 0x18 /* 802160A0 00213000 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 802160A4 00213004 C0 41 00 38 */ lfs f2, 0x38(r1) /* 802160A8 00213008 EC 81 00 2A */ fadds f4, f1, f0 /* 802160AC 0021300C C0 3D 00 40 */ lfs f1, 0x40(r29) /* 802160B0 00213010 C0 01 00 30 */ lfs f0, 0x30(r1) /* 802160B4 00213014 EC 43 10 2A */ fadds f2, f3, f2 /* 802160B8 00213018 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 802160BC 0021301C EC 01 00 2A */ fadds f0, f1, f0 /* 802160C0 00213020 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 802160C4 00213024 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802160C8 00213028 D0 01 00 58 */ stfs f0, 0x58(r1) /* 802160CC 0021302C 80 9C 08 4C */ lwz r4, 0x84c(r28) /* 802160D0 00213030 81 84 00 00 */ lwz r12, 0(r4) /* 802160D4 00213034 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802160D8 00213038 7D 89 03 A6 */ mtctr r12 /* 802160DC 0021303C 4E 80 04 21 */ bctrl /* 802160E0 00213040 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 802160E4 00213044 38 61 00 4C */ addi r3, r1, 0x4c /* 802160E8 00213048 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 802160EC 0021304C C0 61 00 20 */ lfs f3, 0x20(r1) /* 802160F0 00213050 C0 41 00 60 */ lfs f2, 0x60(r1) /* 802160F4 00213054 EC 81 00 28 */ fsubs f4, f1, f0 /* 802160F8 00213058 C0 21 00 18 */ lfs f1, 0x18(r1) /* 802160FC 0021305C C0 01 00 58 */ lfs f0, 0x58(r1) /* 80216100 00213060 EC 43 10 28 */ fsubs f2, f3, f2 /* 80216104 00213064 D0 81 00 50 */ stfs f4, 0x50(r1) /* 80216108 00213068 EC 01 00 28 */ fsubs f0, f1, f0 /* 8021610C 0021306C D0 41 00 54 */ stfs f2, 0x54(r1) /* 80216110 00213070 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80216114 00213074 48 0F E7 A5 */ bl Magnitude__9CVector3fCFv /* 80216118 00213078 FF E0 08 90 */ fmr f31, f1 /* 8021611C 0021307C C0 42 B3 68 */ lfs f2, lbl_805AD088@sda21(r2) /* 80216120 00213080 38 00 00 00 */ li r0, 0 /* 80216124 00213084 C0 61 00 4C */ lfs f3, 0x4c(r1) /* 80216128 00213088 C0 21 00 50 */ lfs f1, 0x50(r1) /* 8021612C 0021308C 38 60 00 00 */ li r3, 0 /* 80216130 00213090 EC 82 F8 24 */ fdivs f4, f2, f31 /* 80216134 00213094 C0 01 00 54 */ lfs f0, 0x54(r1) /* 80216138 00213098 80 AD 95 00 */ lwz r5, lbl_805A80C0@sda21(r13) /* 8021613C 0021309C 38 80 00 01 */ li r4, 1 /* 80216140 002130A0 90 01 01 28 */ stw r0, 0x128(r1) /* 80216144 002130A4 EC 43 01 32 */ fmuls f2, f3, f4 /* 80216148 002130A8 EC 21 01 32 */ fmuls f1, f1, f4 /* 8021614C 002130AC EC 00 01 32 */ fmuls f0, f0, f4 /* 80216150 002130B0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80216154 002130B4 D0 21 00 50 */ stfs f1, 0x50(r1) /* 80216158 002130B8 D0 01 00 54 */ stfs f0, 0x54(r1) /* 8021615C 002130BC 48 17 3D 99 */ bl __shl2i /* 80216160 002130C0 80 AD 95 04 */ lwz r5, lbl_805A80C4@sda21(r13) /* 80216164 002130C4 7C 9E 23 78 */ mr r30, r4 /* 80216168 002130C8 7C 7F 1B 78 */ mr r31, r3 /* 8021616C 002130CC 38 60 00 00 */ li r3, 0 /* 80216170 002130D0 38 80 00 01 */ li r4, 1 /* 80216174 002130D4 48 17 3D 81 */ bl __shl2i /* 80216178 002130D8 80 AD 94 FC */ lwz r5, lbl_805A80BC@sda21(r13) /* 8021617C 002130DC 7F DE 23 78 */ or r30, r30, r4 /* 80216180 002130E0 7F FF 1B 78 */ or r31, r31, r3 /* 80216184 002130E4 38 60 00 00 */ li r3, 0 /* 80216188 002130E8 38 80 00 01 */ li r4, 1 /* 8021618C 002130EC 48 17 3D 69 */ bl __shl2i /* 80216190 002130F0 38 00 00 03 */ li r0, 3 /* 80216194 002130F4 FC 20 F8 90 */ fmr f1, f31 /* 80216198 002130F8 90 81 00 84 */ stw r4, 0x84(r1) /* 8021619C 002130FC 7F A8 EB 78 */ mr r8, r29 /* 802161A0 00213100 38 81 01 28 */ addi r4, r1, 0x128 /* 802161A4 00213104 38 A1 00 58 */ addi r5, r1, 0x58 /* 802161A8 00213108 90 61 00 80 */ stw r3, 0x80(r1) /* 802161AC 0021310C 7F 83 E3 78 */ mr r3, r28 /* 802161B0 00213110 38 C1 00 4C */ addi r6, r1, 0x4c /* 802161B4 00213114 90 01 00 78 */ stw r0, 0x78(r1) /* 802161B8 00213118 38 E1 00 80 */ addi r7, r1, 0x80 /* 802161BC 0021311C 93 C1 00 8C */ stw r30, 0x8c(r1) /* 802161C0 00213120 93 E1 00 88 */ stw r31, 0x88(r1) /* 802161C4 00213124 90 01 00 90 */ stw r0, 0x90(r1) /* 802161C8 00213128 4B E3 65 11 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" /* 802161CC 0021312C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 802161D0 00213130 FC 20 F8 90 */ fmr f1, f31 /* 802161D4 00213134 7F 84 E3 78 */ mr r4, r28 /* 802161D8 00213138 38 61 00 98 */ addi r3, r1, 0x98 /* 802161DC 0021313C B0 01 00 0C */ sth r0, 0xc(r1) /* 802161E0 00213140 38 A1 00 0C */ addi r5, r1, 0xc /* 802161E4 00213144 38 C1 00 58 */ addi r6, r1, 0x58 /* 802161E8 00213148 38 E1 00 4C */ addi r7, r1, 0x4c /* 802161EC 0021314C 39 01 00 80 */ addi r8, r1, 0x80 /* 802161F0 00213150 39 21 01 28 */ addi r9, r1, 0x128 /* 802161F4 00213154 4B E3 6D D1 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" /* 802161F8 00213158 80 C1 01 28 */ lwz r6, 0x128(r1) /* 802161FC 0021315C 38 80 00 00 */ li r4, 0 /* 80216200 00213160 88 01 00 B8 */ lbz r0, 0xb8(r1) /* 80216204 00213164 2C 06 00 00 */ cmpwi r6, 0 /* 80216208 00213168 7C 00 00 34 */ cntlzw r0, r0 /* 8021620C 0021316C 54 03 D9 7E */ srwi r3, r0, 5 /* 80216210 00213170 40 81 00 40 */ ble lbl_80216250 /* 80216214 00213174 2C 06 00 08 */ cmpwi r6, 8 /* 80216218 00213178 38 A6 FF F8 */ addi r5, r6, -8 /* 8021621C 0021317C 40 81 00 20 */ ble lbl_8021623C /* 80216220 00213180 38 05 00 07 */ addi r0, r5, 7 /* 80216224 00213184 54 00 E8 FE */ srwi r0, r0, 3 /* 80216228 00213188 7C 09 03 A6 */ mtctr r0 /* 8021622C 0021318C 2C 05 00 00 */ cmpwi r5, 0 /* 80216230 00213190 40 81 00 0C */ ble lbl_8021623C lbl_80216234: /* 80216234 00213194 38 84 00 08 */ addi r4, r4, 8 /* 80216238 00213198 42 00 FF FC */ bdnz lbl_80216234 lbl_8021623C: /* 8021623C 0021319C 7C 04 30 50 */ subf r0, r4, r6 /* 80216240 002131A0 7C 09 03 A6 */ mtctr r0 /* 80216244 002131A4 7C 04 30 00 */ cmpw r4, r6 /* 80216248 002131A8 40 80 00 08 */ bge lbl_80216250 lbl_8021624C: /* 8021624C 002131AC 42 00 00 00 */ bdnz lbl_8021624C lbl_80216250: /* 80216250 002131B0 38 00 00 00 */ li r0, 0 /* 80216254 002131B4 90 01 01 28 */ stw r0, 0x128(r1) /* 80216258 002131B8 48 00 00 08 */ b lbl_80216260 lbl_8021625C: /* 8021625C 002131BC 38 60 00 00 */ li r3, 0 lbl_80216260: /* 80216260 002131C0 E3 E1 09 48 */ psq_l f31, -1720(r1), 0, qr0 /* 80216264 002131C4 80 01 09 54 */ lwz r0, 0x954(r1) /* 80216268 002131C8 CB E1 09 40 */ lfd f31, 0x940(r1) /* 8021626C 002131CC 83 E1 09 3C */ lwz r31, 0x93c(r1) /* 80216270 002131D0 83 C1 09 38 */ lwz r30, 0x938(r1) /* 80216274 002131D4 83 A1 09 34 */ lwz r29, 0x934(r1) /* 80216278 002131D8 83 81 09 30 */ lwz r28, 0x930(r1) /* 8021627C 002131DC 7C 08 03 A6 */ mtlr r0 /* 80216280 002131E0 38 21 09 50 */ addi r1, r1, 0x950 /* 80216284 002131E4 4E 80 00 20 */ blr .global UpdateTargettingSound__16CScriptGunTurretFf UpdateTargettingSound__16CScriptGunTurretFf: /* 80216288 002131E8 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8021628C 002131EC 7C 08 02 A6 */ mflr r0 /* 80216290 002131F0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80216294 002131F4 DB E1 00 90 */ stfd f31, 0x90(r1) /* 80216298 002131F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8021629C 002131FC DB C1 00 80 */ stfd f30, 0x80(r1) /* 802162A0 00213200 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 802162A4 00213204 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802162A8 00213208 FF E0 08 90 */ fmr f31, f1 /* 802162AC 0021320C C0 03 05 10 */ lfs f0, 0x510(r3) /* 802162B0 00213210 7C 7F 1B 78 */ mr r31, r3 /* 802162B4 00213214 38 61 00 2C */ addi r3, r1, 0x2c /* 802162B8 00213218 EC 00 F8 2A */ fadds f0, f0, f31 /* 802162BC 0021321C D0 1F 05 10 */ stfs f0, 0x510(r31) /* 802162C0 00213220 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 802162C4 00213224 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 802162C8 00213228 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 802162CC 0021322C D0 21 00 5C */ stfs f1, 0x5c(r1) /* 802162D0 00213230 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802162D4 00213234 D0 01 00 64 */ stfs f0, 0x64(r1) /* 802162D8 00213238 48 0F DF 29 */ bl __ct__9CVector2fFff /* 802162DC 0021323C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 802162E0 00213240 38 61 00 24 */ addi r3, r1, 0x24 /* 802162E4 00213244 C0 01 00 30 */ lfs f0, 0x30(r1) /* 802162E8 00213248 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 802162EC 0021324C D0 01 00 40 */ stfs f0, 0x40(r1) /* 802162F0 00213250 C0 3F 05 14 */ lfs f1, 0x514(r31) /* 802162F4 00213254 C0 5F 05 18 */ lfs f2, 0x518(r31) /* 802162F8 00213258 48 0F DF 09 */ bl __ct__9CVector2fFff /* 802162FC 0021325C C0 21 00 24 */ lfs f1, 0x24(r1) /* 80216300 00213260 38 61 00 34 */ addi r3, r1, 0x34 /* 80216304 00213264 C0 01 00 28 */ lfs f0, 0x28(r1) /* 80216308 00213268 38 81 00 3C */ addi r4, r1, 0x3c /* 8021630C 0021326C D0 21 00 34 */ stfs f1, 0x34(r1) /* 80216310 00213270 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80216314 00213274 48 0F DC B1 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 80216318 00213278 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021631C 0021327C FF C0 08 90 */ fmr f30, f1 /* 80216320 00213280 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 80216324 00213284 41 82 00 80 */ beq lbl_802163A4 /* 80216328 00213288 C0 02 B3 74 */ lfs f0, lbl_805AD094@sda21(r2) /* 8021632C 0021328C FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 80216330 00213290 40 80 00 74 */ bge lbl_802163A4 /* 80216334 00213294 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80216338 00213298 2C 00 00 09 */ cmpwi r0, 9 /* 8021633C 0021329C 41 82 00 0C */ beq lbl_80216348 /* 80216340 002132A0 2C 00 00 0A */ cmpwi r0, 0xa /* 80216344 002132A4 40 82 00 60 */ bne lbl_802163A4 lbl_80216348: /* 80216348 002132A8 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021634C 002132AC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80216350 002132B0 40 82 00 44 */ bne lbl_80216394 /* 80216354 002132B4 81 5F 00 04 */ lwz r10, 4(r31) /* 80216358 002132B8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 8021635C 002132BC C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80216360 002132C0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80216364 002132C4 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80216368 002132C8 38 61 00 20 */ addi r3, r1, 0x20 /* 8021636C 002132CC C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80216370 002132D0 38 A1 00 50 */ addi r5, r1, 0x50 /* 80216374 002132D4 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 80216378 002132D8 38 E0 00 00 */ li r7, 0 /* 8021637C 002132DC D0 01 00 50 */ stfs f0, 0x50(r1) /* 80216380 002132E0 39 00 00 00 */ li r8, 0 /* 80216384 002132E4 D0 21 00 54 */ stfs f1, 0x54(r1) /* 80216388 002132E8 D0 41 00 58 */ stfs f2, 0x58(r1) /* 8021638C 002132EC A0 9F 03 56 */ lhz r4, 0x356(r31) /* 80216390 002132F0 48 0D 3F 21 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi lbl_80216394: /* 80216394 002132F4 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80216398 002132F8 38 60 00 00 */ li r3, 0 /* 8021639C 002132FC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 802163A0 00213300 98 1F 05 60 */ stb r0, 0x560(r31) lbl_802163A4: /* 802163A4 00213304 C0 3F 05 10 */ lfs f1, 0x510(r31) /* 802163A8 00213308 C0 02 B3 78 */ lfs f0, lbl_805AD098@sda21(r2) /* 802163AC 0021330C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802163B0 00213310 4C 41 13 82 */ cror 2, 1, 2 /* 802163B4 00213314 40 82 01 74 */ bne lbl_80216528 /* 802163B8 00213318 88 1F 05 60 */ lbz r0, 0x560(r31) /* 802163BC 0021331C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802163C0 00213320 40 82 01 68 */ bne lbl_80216528 /* 802163C4 00213324 80 1F 05 20 */ lwz r0, 0x520(r31) /* 802163C8 00213328 2C 00 00 09 */ cmpwi r0, 9 /* 802163CC 0021332C 41 82 00 14 */ beq lbl_802163E0 /* 802163D0 00213330 2C 00 00 0A */ cmpwi r0, 0xa /* 802163D4 00213334 41 82 00 0C */ beq lbl_802163E0 /* 802163D8 00213338 2C 00 00 0C */ cmpwi r0, 0xc /* 802163DC 0021333C 40 82 01 1C */ bne lbl_802164F8 lbl_802163E0: /* 802163E0 00213340 FC 20 F8 90 */ fmr f1, f31 /* 802163E4 00213344 7F E3 FB 78 */ mr r3, r31 /* 802163E8 00213348 48 00 18 3D */ bl IsInsignificantRotation__16CScriptGunTurretCFf /* 802163EC 0021334C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802163F0 00213350 40 82 00 64 */ bne lbl_80216454 /* 802163F4 00213354 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 802163F8 00213358 28 00 00 00 */ cmplwi r0, 0 /* 802163FC 0021335C 40 82 00 58 */ bne lbl_80216454 /* 80216400 00213360 81 5F 00 04 */ lwz r10, 4(r31) /* 80216404 00213364 3C 60 80 5A */ lis r3, skZero3f@ha /* 80216408 00213368 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8021640C 0021336C 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 80216410 00213370 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80216414 00213374 38 61 00 1C */ addi r3, r1, 0x1c /* 80216418 00213378 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8021641C 0021337C 38 A1 00 44 */ addi r5, r1, 0x44 /* 80216420 00213380 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 80216424 00213384 38 E0 00 00 */ li r7, 0 /* 80216428 00213388 D0 01 00 44 */ stfs f0, 0x44(r1) /* 8021642C 0021338C 39 00 00 01 */ li r8, 1 /* 80216430 00213390 D0 21 00 48 */ stfs f1, 0x48(r1) /* 80216434 00213394 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80216438 00213398 A0 9F 03 50 */ lhz r4, 0x350(r31) /* 8021643C 0021339C 48 0D 3E 75 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80216440 002133A0 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80216444 002133A4 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80216448 002133A8 90 1F 05 0C */ stw r0, 0x50c(r31) /* 8021644C 002133AC D0 1F 05 10 */ stfs f0, 0x510(r31) /* 80216450 002133B0 48 00 00 38 */ b lbl_80216488 lbl_80216454: /* 80216454 002133B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80216458 002133B8 41 82 00 30 */ beq lbl_80216488 /* 8021645C 002133BC 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 80216460 002133C0 28 00 00 00 */ cmplwi r0, 0 /* 80216464 002133C4 41 82 00 24 */ beq lbl_80216488 /* 80216468 002133C8 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 8021646C 002133CC 38 61 00 18 */ addi r3, r1, 0x18 /* 80216470 002133D0 90 01 00 18 */ stw r0, 0x18(r1) /* 80216474 002133D4 48 0D 3A 11 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80216478 002133D8 38 00 00 00 */ li r0, 0 /* 8021647C 002133DC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80216480 002133E0 90 1F 05 0C */ stw r0, 0x50c(r31) /* 80216484 002133E4 D0 1F 05 10 */ stfs f0, 0x510(r31) lbl_80216488: /* 80216488 002133E8 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 8021648C 002133EC 28 00 00 00 */ cmplwi r0, 0 /* 80216490 002133F0 41 82 00 C8 */ beq lbl_80216558 /* 80216494 002133F4 C0 3F 02 FC */ lfs f1, 0x2fc(r31) /* 80216498 002133F8 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021649C 002133FC EC 5F 00 72 */ fmuls f2, f31, f1 /* 802164A0 00213400 C0 22 B3 7C */ lfs f1, lbl_805AD09C@sda21(r2) /* 802164A4 00213404 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802164A8 00213408 40 81 00 08 */ ble lbl_802164B0 /* 802164AC 0021340C EC 1E 10 24 */ fdivs f0, f30, f2 lbl_802164B0: /* 802164B0 00213410 EC 21 00 32 */ fmuls f1, f1, f0 /* 802164B4 00213414 C0 0D 94 F8 */ lfs f0, lbl_805A80B8@sda21(r13) /* 802164B8 00213418 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802164BC 0021341C D0 21 00 14 */ stfs f1, 0x14(r1) /* 802164C0 00213420 40 80 00 0C */ bge lbl_802164CC /* 802164C4 00213424 38 6D 94 F8 */ addi r3, r13, lbl_805A80B8@sda21 /* 802164C8 00213428 48 00 00 08 */ b lbl_802164D0 lbl_802164CC: /* 802164CC 0021342C 38 61 00 14 */ addi r3, r1, 0x14 lbl_802164D0: /* 802164D0 00213430 C0 03 00 00 */ lfs f0, 0(r3) /* 802164D4 00213434 38 61 00 10 */ addi r3, r1, 0x10 /* 802164D8 00213438 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 802164DC 0021343C FC 00 00 1E */ fctiwz f0, f0 /* 802164E0 00213440 90 01 00 10 */ stw r0, 0x10(r1) /* 802164E4 00213444 D8 01 00 68 */ stfd f0, 0x68(r1) /* 802164E8 00213448 80 81 00 6C */ lwz r4, 0x6c(r1) /* 802164EC 0021344C 38 84 20 00 */ addi r4, r4, 0x2000 /* 802164F0 00213450 48 0D 29 BD */ bl PitchBend__11CSfxManagerF10CSfxHandlei /* 802164F4 00213454 48 00 00 64 */ b lbl_80216558 lbl_802164F8: /* 802164F8 00213458 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 802164FC 0021345C 28 00 00 00 */ cmplwi r0, 0 /* 80216500 00213460 41 82 00 58 */ beq lbl_80216558 /* 80216504 00213464 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 80216508 00213468 38 61 00 0C */ addi r3, r1, 0xc /* 8021650C 0021346C 90 01 00 0C */ stw r0, 0xc(r1) /* 80216510 00213470 48 0D 39 75 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80216514 00213474 38 00 00 00 */ li r0, 0 /* 80216518 00213478 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021651C 0021347C 90 1F 05 0C */ stw r0, 0x50c(r31) /* 80216520 00213480 D0 1F 05 10 */ stfs f0, 0x510(r31) /* 80216524 00213484 48 00 00 34 */ b lbl_80216558 lbl_80216528: /* 80216528 00213488 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021652C 0021348C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80216530 00213490 41 82 00 28 */ beq lbl_80216558 /* 80216534 00213494 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 80216538 00213498 28 00 00 00 */ cmplwi r0, 0 /* 8021653C 0021349C 41 82 00 1C */ beq lbl_80216558 /* 80216540 002134A0 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 80216544 002134A4 38 61 00 08 */ addi r3, r1, 8 /* 80216548 002134A8 90 01 00 08 */ stw r0, 8(r1) /* 8021654C 002134AC 48 0D 39 39 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80216550 002134B0 38 00 00 00 */ li r0, 0 /* 80216554 002134B4 90 1F 05 0C */ stw r0, 0x50c(r31) lbl_80216558: /* 80216558 002134B8 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 8021655C 002134BC C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80216560 002134C0 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80216564 002134C4 D0 1F 05 14 */ stfs f0, 0x514(r31) /* 80216568 002134C8 D0 3F 05 18 */ stfs f1, 0x518(r31) /* 8021656C 002134CC D0 5F 05 1C */ stfs f2, 0x51c(r31) /* 80216570 002134D0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 80216574 002134D4 CB E1 00 90 */ lfd f31, 0x90(r1) /* 80216578 002134D8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 8021657C 002134DC CB C1 00 80 */ lfd f30, 0x80(r1) /* 80216580 002134E0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80216584 002134E4 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80216588 002134E8 7C 08 03 A6 */ mtlr r0 /* 8021658C 002134EC 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80216590 002134F0 4E 80 00 20 */ blr .global UpdateBurstType__16CScriptGunTurretFR13CStateManager UpdateBurstType__16CScriptGunTurretFR13CStateManager: /* 80216594 002134F4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80216598 002134F8 7C 08 02 A6 */ mflr r0 /* 8021659C 002134FC 90 01 00 34 */ stw r0, 0x34(r1) /* 802165A0 00213500 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802165A4 00213504 7C 9F 23 78 */ mr r31, r4 /* 802165A8 00213508 93 C1 00 28 */ stw r30, 0x28(r1) /* 802165AC 0021350C 7C 7E 1B 78 */ mr r30, r3 /* 802165B0 00213510 93 A1 00 24 */ stw r29, 0x24(r1) /* 802165B4 00213514 88 03 05 60 */ lbz r0, 0x560(r3) /* 802165B8 00213518 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 802165BC 0021351C 41 82 00 D4 */ beq lbl_80216690 /* 802165C0 00213520 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 802165C4 00213524 38 00 00 01 */ li r0, 1 /* 802165C8 00213528 80 64 02 F8 */ lwz r3, 0x2f8(r4) /* 802165CC 0021352C 2C 03 00 01 */ cmpwi r3, 1 /* 802165D0 00213530 41 82 00 50 */ beq lbl_80216620 /* 802165D4 00213534 C0 84 00 48 */ lfs f4, 0x48(r4) /* 802165D8 00213538 C0 DE 00 48 */ lfs f6, 0x48(r30) /* 802165DC 0021353C C0 64 00 38 */ lfs f3, 0x38(r4) /* 802165E0 00213540 C0 5E 00 38 */ lfs f2, 0x38(r30) /* 802165E4 00213544 EC 06 01 32 */ fmuls f0, f6, f4 /* 802165E8 00213548 C0 A4 00 58 */ lfs f5, 0x58(r4) /* 802165EC 0021354C C0 FE 00 58 */ lfs f7, 0x58(r30) /* 802165F0 00213550 EC 22 00 FA */ fmadds f1, f2, f3, f0 /* 802165F4 00213554 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802165F8 00213558 D0 61 00 14 */ stfs f3, 0x14(r1) /* 802165FC 0021355C EC 27 09 7A */ fmadds f1, f7, f5, f1 /* 80216600 00213560 D0 81 00 18 */ stfs f4, 0x18(r1) /* 80216604 00213564 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 80216608 00213568 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021660C 0021356C D0 41 00 08 */ stfs f2, 8(r1) /* 80216610 00213570 D0 C1 00 0C */ stfs f6, 0xc(r1) /* 80216614 00213574 D0 E1 00 10 */ stfs f7, 0x10(r1) /* 80216618 00213578 41 80 00 08 */ blt lbl_80216620 /* 8021661C 0021357C 38 00 00 00 */ li r0, 0 lbl_80216620: /* 80216620 00213580 54 05 06 3E */ clrlwi r5, r0, 0x18 /* 80216624 00213584 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80216628 00213588 7C 85 00 D0 */ neg r4, r5 /* 8021662C 0021358C 38 00 00 03 */ li r0, 3 /* 80216630 00213590 7C 85 2B 78 */ or r5, r4, r5 /* 80216634 00213594 38 80 00 00 */ li r4, 0 /* 80216638 00213598 7C A6 FE 70 */ srawi r6, r5, 0x1f /* 8021663C 0021359C 38 A0 00 03 */ li r5, 3 /* 80216640 002135A0 7C 1D 30 78 */ andc r29, r0, r6 /* 80216644 002135A4 48 0F BF 51 */ bl Range__9CRandom16Fii /* 80216648 002135A8 38 63 00 02 */ addi r3, r3, 2 /* 8021664C 002135AC 2C 03 00 02 */ cmpwi r3, 2 /* 80216650 002135B0 40 81 00 10 */ ble lbl_80216660 /* 80216654 002135B4 80 1E 03 6C */ lwz r0, 0x36c(r30) /* 80216658 002135B8 2C 00 00 03 */ cmpwi r0, 3 /* 8021665C 002135BC 40 80 00 0C */ bge lbl_80216668 lbl_80216660: /* 80216660 002135C0 38 00 00 00 */ li r0, 0 /* 80216664 002135C4 48 00 00 20 */ b lbl_80216684 lbl_80216668: /* 80216668 002135C8 2C 03 00 05 */ cmpwi r3, 5 /* 8021666C 002135CC 41 80 00 14 */ blt lbl_80216680 /* 80216670 002135D0 2C 00 00 03 */ cmpwi r0, 3 /* 80216674 002135D4 40 81 00 0C */ ble lbl_80216680 /* 80216678 002135D8 38 00 00 02 */ li r0, 2 /* 8021667C 002135DC 48 00 00 08 */ b lbl_80216684 lbl_80216680: /* 80216680 002135E0 38 00 00 01 */ li r0, 1 lbl_80216684: /* 80216684 002135E4 7C 00 EA 14 */ add r0, r0, r29 /* 80216688 002135E8 90 1E 03 A4 */ stw r0, 0x3a4(r30) /* 8021668C 002135EC 48 00 00 18 */ b lbl_802166A4 lbl_80216690: /* 80216690 002135F0 80 7E 03 64 */ lwz r3, 0x364(r30) /* 80216694 002135F4 38 03 FF FE */ addi r0, r3, -2 /* 80216698 002135F8 90 1E 03 A4 */ stw r0, 0x3a4(r30) /* 8021669C 002135FC 80 1E 03 68 */ lwz r0, 0x368(r30) /* 802166A0 00213600 90 1E 03 B0 */ stw r0, 0x3b0(r30) lbl_802166A4: /* 802166A4 00213604 7F E4 FB 78 */ mr r4, r31 /* 802166A8 00213608 38 7E 03 A4 */ addi r3, r30, 0x3a4 /* 802166AC 0021360C 4B F9 6D 79 */ bl Start__10CBurstFireFR13CStateManager /* 802166B0 00213610 88 1E 05 60 */ lbz r0, 0x560(r30) /* 802166B4 00213614 38 60 00 00 */ li r3, 0 /* 802166B8 00213618 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 802166BC 0021361C 38 60 00 01 */ li r3, 1 /* 802166C0 00213620 98 1E 05 60 */ stb r0, 0x560(r30) /* 802166C4 00213624 88 1E 05 60 */ lbz r0, 0x560(r30) /* 802166C8 00213628 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 802166CC 0021362C 98 1E 05 60 */ stb r0, 0x560(r30) /* 802166D0 00213630 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802166D4 00213634 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802166D8 00213638 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802166DC 0021363C 80 01 00 34 */ lwz r0, 0x34(r1) /* 802166E0 00213640 7C 08 03 A6 */ mtlr r0 /* 802166E4 00213644 38 21 00 30 */ addi r1, r1, 0x30 /* 802166E8 00213648 4E 80 00 20 */ blr .global UpdateGunParticles__16CScriptGunTurretFfR13CStateManager UpdateGunParticles__16CScriptGunTurretFfR13CStateManager: /* 802166EC 0021364C 94 21 FC 90 */ stwu r1, -0x370(r1) /* 802166F0 00213650 7C 08 02 A6 */ mflr r0 /* 802166F4 00213654 90 01 03 74 */ stw r0, 0x374(r1) /* 802166F8 00213658 DB E1 03 60 */ stfd f31, 0x360(r1) /* 802166FC 0021365C F3 E1 03 68 */ psq_st f31, 872(r1), 0, qr0 /* 80216700 00213660 93 E1 03 5C */ stw r31, 0x35c(r1) /* 80216704 00213664 93 C1 03 58 */ stw r30, 0x358(r1) /* 80216708 00213668 93 A1 03 54 */ stw r29, 0x354(r1) /* 8021670C 0021366C 93 81 03 50 */ stw r28, 0x350(r1) /* 80216710 00213670 7C 7E 1B 78 */ mr r30, r3 /* 80216714 00213674 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80216718 00213678 A0 63 04 98 */ lhz r3, 0x498(r3) /* 8021671C 0021367C FF E0 08 90 */ fmr f31, f1 /* 80216720 00213680 3B E0 00 00 */ li r31, 0 /* 80216724 00213684 7C 03 00 40 */ cmplw r3, r0 /* 80216728 00213688 41 82 00 28 */ beq lbl_80216750 /* 8021672C 0021368C A0 1E 04 98 */ lhz r0, 0x498(r30) /* 80216730 00213690 7C 83 23 78 */ mr r3, r4 /* 80216734 00213694 38 81 00 08 */ addi r4, r1, 8 /* 80216738 00213698 B0 01 00 08 */ sth r0, 8(r1) /* 8021673C 0021369C 4B E3 5E 39 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80216740 002136A0 7C 64 1B 78 */ mr r4, r3 /* 80216744 002136A4 38 61 00 0C */ addi r3, r1, 0xc /* 80216748 002136A8 4B E9 73 3D */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 8021674C 002136AC 83 E3 00 04 */ lwz r31, 4(r3) lbl_80216750: /* 80216750 002136B0 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80216754 002136B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80216758 002136B8 40 82 08 50 */ bne lbl_80216FA8 /* 8021675C 002136BC 80 82 B3 58 */ lwz r4, lbl_805AD078@sda21(r2) /* 80216760 002136C0 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80216764 002136C4 4B DE E5 55 */ bl string_l__4rstlFPCc /* 80216768 002136C8 7F C4 F3 78 */ mr r4, r30 /* 8021676C 002136CC 38 61 02 20 */ addi r3, r1, 0x220 /* 80216770 002136D0 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 80216774 002136D4 4B E3 C7 8D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80216778 002136D8 38 61 02 80 */ addi r3, r1, 0x280 /* 8021677C 002136DC 38 81 02 20 */ addi r4, r1, 0x220 /* 80216780 002136E0 48 0F C3 F5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80216784 002136E4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80216788 002136E8 48 12 73 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021678C 002136EC C0 41 02 8C */ lfs f2, 0x28c(r1) /* 80216790 002136F0 38 61 00 9C */ addi r3, r1, 0x9c /* 80216794 002136F4 C0 21 02 9C */ lfs f1, 0x29c(r1) /* 80216798 002136F8 38 9E 00 34 */ addi r4, r30, 0x34 /* 8021679C 002136FC C0 01 02 AC */ lfs f0, 0x2ac(r1) /* 802167A0 00213700 38 A1 00 90 */ addi r5, r1, 0x90 /* 802167A4 00213704 D0 41 00 90 */ stfs f2, 0x90(r1) /* 802167A8 00213708 D0 21 00 94 */ stfs f1, 0x94(r1) /* 802167AC 0021370C D0 01 00 98 */ stfs f0, 0x98(r1) /* 802167B0 00213710 48 0F C2 D1 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 802167B4 00213714 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 802167B8 00213718 28 1F 00 00 */ cmplwi r31, 0 /* 802167BC 0021371C C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 802167C0 00213720 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 802167C4 00213724 C0 41 00 A4 */ lfs f2, 0xa4(r1) /* 802167C8 00213728 EC 81 00 2A */ fadds f4, f1, f0 /* 802167CC 0021372C C0 3E 00 40 */ lfs f1, 0x40(r30) /* 802167D0 00213730 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 802167D4 00213734 EC 43 10 2A */ fadds f2, f3, f2 /* 802167D8 00213738 D0 81 00 C8 */ stfs f4, 0xc8(r1) /* 802167DC 0021373C EC 01 00 2A */ fadds f0, f1, f0 /* 802167E0 00213740 D0 41 00 CC */ stfs f2, 0xcc(r1) /* 802167E4 00213744 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 802167E8 00213748 41 82 00 1C */ beq lbl_80216804 /* 802167EC 0021374C 7F E3 FB 78 */ mr r3, r31 /* 802167F0 00213750 38 80 00 01 */ li r4, 1 /* 802167F4 00213754 81 9F 00 00 */ lwz r12, 0(r31) /* 802167F8 00213758 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 802167FC 0021375C 7D 89 03 A6 */ mtctr r12 /* 80216800 00213760 4E 80 04 21 */ bctrl lbl_80216804: /* 80216804 00213764 80 1E 05 20 */ lwz r0, 0x520(r30) /* 80216808 00213768 2C 00 00 06 */ cmpwi r0, 6 /* 8021680C 0021376C 41 82 04 38 */ beq lbl_80216C44 /* 80216810 00213770 40 80 00 1C */ bge lbl_8021682C /* 80216814 00213774 2C 00 00 00 */ cmpwi r0, 0 /* 80216818 00213778 41 82 06 C4 */ beq lbl_80216EDC /* 8021681C 0021377C 41 80 06 C0 */ blt lbl_80216EDC /* 80216820 00213780 2C 00 00 05 */ cmpwi r0, 5 /* 80216824 00213784 40 80 01 A0 */ bge lbl_802169C4 /* 80216828 00213788 48 00 00 18 */ b lbl_80216840 lbl_8021682C: /* 8021682C 0021378C 2C 00 00 0D */ cmpwi r0, 0xd /* 80216830 00213790 40 80 06 AC */ bge lbl_80216EDC /* 80216834 00213794 2C 00 00 09 */ cmpwi r0, 9 /* 80216838 00213798 40 80 04 0C */ bge lbl_80216C44 /* 8021683C 0021379C 48 00 02 C8 */ b lbl_80216B04 lbl_80216840: /* 80216840 002137A0 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216844 002137A4 38 80 00 00 */ li r4, 0 /* 80216848 002137A8 81 83 00 00 */ lwz r12, 0(r3) /* 8021684C 002137AC 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216850 002137B0 7D 89 03 A6 */ mtctr r12 /* 80216854 002137B4 4E 80 04 21 */ bctrl /* 80216858 002137B8 80 7E 04 74 */ lwz r3, 0x474(r30) /* 8021685C 002137BC 38 80 00 01 */ li r4, 1 /* 80216860 002137C0 81 83 00 00 */ lwz r12, 0(r3) /* 80216864 002137C4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216868 002137C8 7D 89 03 A6 */ mtctr r12 /* 8021686C 002137CC 4E 80 04 21 */ bctrl /* 80216870 002137D0 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216874 002137D4 38 80 00 00 */ li r4, 0 /* 80216878 002137D8 81 83 00 00 */ lwz r12, 0(r3) /* 8021687C 002137DC 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216880 002137E0 7D 89 03 A6 */ mtctr r12 /* 80216884 002137E4 4E 80 04 21 */ bctrl /* 80216888 002137E8 80 7E 04 84 */ lwz r3, 0x484(r30) /* 8021688C 002137EC 38 80 00 00 */ li r4, 0 /* 80216890 002137F0 81 83 00 00 */ lwz r12, 0(r3) /* 80216894 002137F4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216898 002137F8 7D 89 03 A6 */ mtctr r12 /* 8021689C 002137FC 4E 80 04 21 */ bctrl /* 802168A0 00213800 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 802168A4 00213804 38 80 00 00 */ li r4, 0 /* 802168A8 00213808 81 83 00 00 */ lwz r12, 0(r3) /* 802168AC 0021380C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 802168B0 00213810 7D 89 03 A6 */ mtctr r12 /* 802168B4 00213814 4E 80 04 21 */ bctrl /* 802168B8 00213818 80 7E 04 94 */ lwz r3, 0x494(r30) /* 802168BC 0021381C 38 80 00 00 */ li r4, 0 /* 802168C0 00213820 81 83 00 00 */ lwz r12, 0(r3) /* 802168C4 00213824 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 802168C8 00213828 7D 89 03 A6 */ mtctr r12 /* 802168CC 0021382C 4E 80 04 21 */ bctrl /* 802168D0 00213830 83 BE 04 74 */ lwz r29, 0x474(r30) /* 802168D4 00213834 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 802168D8 00213838 38 9E 00 34 */ addi r4, r30, 0x34 /* 802168DC 0021383C 48 0F C3 65 */ bl GetRotation__12CTransform4fCFv /* 802168E0 00213840 7F A3 EB 78 */ mr r3, r29 /* 802168E4 00213844 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 802168E8 00213848 81 9D 00 00 */ lwz r12, 0(r29) /* 802168EC 0021384C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 802168F0 00213850 7D 89 03 A6 */ mtctr r12 /* 802168F4 00213854 4E 80 04 21 */ bctrl /* 802168F8 00213858 80 7E 04 74 */ lwz r3, 0x474(r30) /* 802168FC 0021385C 38 81 00 C4 */ addi r4, r1, 0xc4 /* 80216900 00213860 81 83 00 00 */ lwz r12, 0(r3) /* 80216904 00213864 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80216908 00213868 7D 89 03 A6 */ mtctr r12 /* 8021690C 0021386C 4E 80 04 21 */ bctrl /* 80216910 00213870 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80216914 00213874 38 81 00 84 */ addi r4, r1, 0x84 /* 80216918 00213878 C0 03 00 00 */ lfs f0, 0(r3) /* 8021691C 0021387C D0 01 00 84 */ stfs f0, 0x84(r1) /* 80216920 00213880 C0 03 00 04 */ lfs f0, 4(r3) /* 80216924 00213884 D0 01 00 88 */ stfs f0, 0x88(r1) /* 80216928 00213888 C0 03 00 08 */ lfs f0, 8(r3) /* 8021692C 0021388C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 80216930 00213890 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216934 00213894 81 83 00 00 */ lwz r12, 0(r3) /* 80216938 00213898 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8021693C 0021389C 7D 89 03 A6 */ mtctr r12 /* 80216940 002138A0 4E 80 04 21 */ bctrl /* 80216944 002138A4 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216948 002138A8 FC 20 F8 90 */ fmr f1, f31 /* 8021694C 002138AC 81 83 00 00 */ lwz r12, 0(r3) /* 80216950 002138B0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80216954 002138B4 7D 89 03 A6 */ mtctr r12 /* 80216958 002138B8 4E 80 04 21 */ bctrl /* 8021695C 002138BC 28 1F 00 00 */ cmplwi r31, 0 /* 80216960 002138C0 41 82 07 9C */ beq lbl_802170FC /* 80216964 002138C4 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216968 002138C8 81 83 00 00 */ lwz r12, 0(r3) /* 8021696C 002138CC 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80216970 002138D0 7D 89 03 A6 */ mtctr r12 /* 80216974 002138D4 4E 80 04 21 */ bctrl /* 80216978 002138D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021697C 002138DC 41 82 00 2C */ beq lbl_802169A8 /* 80216980 002138E0 80 9E 04 74 */ lwz r4, 0x474(r30) /* 80216984 002138E4 38 61 03 00 */ addi r3, r1, 0x300 /* 80216988 002138E8 81 84 00 00 */ lwz r12, 0(r4) /* 8021698C 002138EC 81 8C 00 68 */ lwz r12, 0x68(r12) /* 80216990 002138F0 7D 89 03 A6 */ mtctr r12 /* 80216994 002138F4 4E 80 04 21 */ bctrl /* 80216998 002138F8 7F E3 FB 78 */ mr r3, r31 /* 8021699C 002138FC 38 81 03 00 */ addi r4, r1, 0x300 /* 802169A0 00213900 4B E9 ED A5 */ bl SetLight__10CGameLightFRC6CLight /* 802169A4 00213904 48 00 07 58 */ b lbl_802170FC lbl_802169A8: /* 802169A8 00213908 7F E3 FB 78 */ mr r3, r31 /* 802169AC 0021390C 38 80 00 00 */ li r4, 0 /* 802169B0 00213910 81 9F 00 00 */ lwz r12, 0(r31) /* 802169B4 00213914 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 802169B8 00213918 7D 89 03 A6 */ mtctr r12 /* 802169BC 0021391C 4E 80 04 21 */ bctrl /* 802169C0 00213920 48 00 07 3C */ b lbl_802170FC lbl_802169C4: /* 802169C4 00213924 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 802169C8 00213928 38 80 00 01 */ li r4, 1 /* 802169CC 0021392C 81 83 00 00 */ lwz r12, 0(r3) /* 802169D0 00213930 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 802169D4 00213934 7D 89 03 A6 */ mtctr r12 /* 802169D8 00213938 4E 80 04 21 */ bctrl /* 802169DC 0021393C 80 7E 04 74 */ lwz r3, 0x474(r30) /* 802169E0 00213940 38 80 00 00 */ li r4, 0 /* 802169E4 00213944 81 83 00 00 */ lwz r12, 0(r3) /* 802169E8 00213948 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 802169EC 0021394C 7D 89 03 A6 */ mtctr r12 /* 802169F0 00213950 4E 80 04 21 */ bctrl /* 802169F4 00213954 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 802169F8 00213958 38 80 00 00 */ li r4, 0 /* 802169FC 0021395C 81 83 00 00 */ lwz r12, 0(r3) /* 80216A00 00213960 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216A04 00213964 7D 89 03 A6 */ mtctr r12 /* 80216A08 00213968 4E 80 04 21 */ bctrl /* 80216A0C 0021396C 80 7E 04 84 */ lwz r3, 0x484(r30) /* 80216A10 00213970 38 80 00 00 */ li r4, 0 /* 80216A14 00213974 81 83 00 00 */ lwz r12, 0(r3) /* 80216A18 00213978 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216A1C 0021397C 7D 89 03 A6 */ mtctr r12 /* 80216A20 00213980 4E 80 04 21 */ bctrl /* 80216A24 00213984 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216A28 00213988 38 80 00 00 */ li r4, 0 /* 80216A2C 0021398C 81 83 00 00 */ lwz r12, 0(r3) /* 80216A30 00213990 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216A34 00213994 7D 89 03 A6 */ mtctr r12 /* 80216A38 00213998 4E 80 04 21 */ bctrl /* 80216A3C 0021399C 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216A40 002139A0 38 80 00 00 */ li r4, 0 /* 80216A44 002139A4 81 83 00 00 */ lwz r12, 0(r3) /* 80216A48 002139A8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216A4C 002139AC 7D 89 03 A6 */ mtctr r12 /* 80216A50 002139B0 4E 80 04 21 */ bctrl /* 80216A54 002139B4 83 BE 04 6C */ lwz r29, 0x46c(r30) /* 80216A58 002139B8 38 61 01 C0 */ addi r3, r1, 0x1c0 /* 80216A5C 002139BC 38 9E 00 34 */ addi r4, r30, 0x34 /* 80216A60 002139C0 48 0F C1 E1 */ bl GetRotation__12CTransform4fCFv /* 80216A64 002139C4 7F A3 EB 78 */ mr r3, r29 /* 80216A68 002139C8 38 81 01 C0 */ addi r4, r1, 0x1c0 /* 80216A6C 002139CC 81 9D 00 00 */ lwz r12, 0(r29) /* 80216A70 002139D0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80216A74 002139D4 7D 89 03 A6 */ mtctr r12 /* 80216A78 002139D8 4E 80 04 21 */ bctrl /* 80216A7C 002139DC 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216A80 002139E0 38 81 00 C4 */ addi r4, r1, 0xc4 /* 80216A84 002139E4 81 83 00 00 */ lwz r12, 0(r3) /* 80216A88 002139E8 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80216A8C 002139EC 7D 89 03 A6 */ mtctr r12 /* 80216A90 002139F0 4E 80 04 21 */ bctrl /* 80216A94 002139F4 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80216A98 002139F8 38 81 00 78 */ addi r4, r1, 0x78 /* 80216A9C 002139FC C0 03 00 00 */ lfs f0, 0(r3) /* 80216AA0 00213A00 D0 01 00 78 */ stfs f0, 0x78(r1) /* 80216AA4 00213A04 C0 03 00 04 */ lfs f0, 4(r3) /* 80216AA8 00213A08 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80216AAC 00213A0C C0 03 00 08 */ lfs f0, 8(r3) /* 80216AB0 00213A10 D0 01 00 80 */ stfs f0, 0x80(r1) /* 80216AB4 00213A14 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216AB8 00213A18 81 83 00 00 */ lwz r12, 0(r3) /* 80216ABC 00213A1C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80216AC0 00213A20 7D 89 03 A6 */ mtctr r12 /* 80216AC4 00213A24 4E 80 04 21 */ bctrl /* 80216AC8 00213A28 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216ACC 00213A2C FC 20 F8 90 */ fmr f1, f31 /* 80216AD0 00213A30 81 83 00 00 */ lwz r12, 0(r3) /* 80216AD4 00213A34 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80216AD8 00213A38 7D 89 03 A6 */ mtctr r12 /* 80216ADC 00213A3C 4E 80 04 21 */ bctrl /* 80216AE0 00213A40 28 1F 00 00 */ cmplwi r31, 0 /* 80216AE4 00213A44 41 82 06 18 */ beq lbl_802170FC /* 80216AE8 00213A48 7F E3 FB 78 */ mr r3, r31 /* 80216AEC 00213A4C 38 80 00 00 */ li r4, 0 /* 80216AF0 00213A50 81 9F 00 00 */ lwz r12, 0(r31) /* 80216AF4 00213A54 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80216AF8 00213A58 7D 89 03 A6 */ mtctr r12 /* 80216AFC 00213A5C 4E 80 04 21 */ bctrl /* 80216B00 00213A60 48 00 05 FC */ b lbl_802170FC lbl_80216B04: /* 80216B04 00213A64 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216B08 00213A68 38 80 00 00 */ li r4, 0 /* 80216B0C 00213A6C 81 83 00 00 */ lwz r12, 0(r3) /* 80216B10 00213A70 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216B14 00213A74 7D 89 03 A6 */ mtctr r12 /* 80216B18 00213A78 4E 80 04 21 */ bctrl /* 80216B1C 00213A7C 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216B20 00213A80 38 80 00 00 */ li r4, 0 /* 80216B24 00213A84 81 83 00 00 */ lwz r12, 0(r3) /* 80216B28 00213A88 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216B2C 00213A8C 7D 89 03 A6 */ mtctr r12 /* 80216B30 00213A90 4E 80 04 21 */ bctrl /* 80216B34 00213A94 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216B38 00213A98 38 80 00 00 */ li r4, 0 /* 80216B3C 00213A9C 81 83 00 00 */ lwz r12, 0(r3) /* 80216B40 00213AA0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216B44 00213AA4 7D 89 03 A6 */ mtctr r12 /* 80216B48 00213AA8 4E 80 04 21 */ bctrl /* 80216B4C 00213AAC 80 7E 04 84 */ lwz r3, 0x484(r30) /* 80216B50 00213AB0 38 80 00 00 */ li r4, 0 /* 80216B54 00213AB4 81 83 00 00 */ lwz r12, 0(r3) /* 80216B58 00213AB8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216B5C 00213ABC 7D 89 03 A6 */ mtctr r12 /* 80216B60 00213AC0 4E 80 04 21 */ bctrl /* 80216B64 00213AC4 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216B68 00213AC8 38 80 00 00 */ li r4, 0 /* 80216B6C 00213ACC 81 83 00 00 */ lwz r12, 0(r3) /* 80216B70 00213AD0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216B74 00213AD4 7D 89 03 A6 */ mtctr r12 /* 80216B78 00213AD8 4E 80 04 21 */ bctrl /* 80216B7C 00213ADC 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216B80 00213AE0 38 80 00 01 */ li r4, 1 /* 80216B84 00213AE4 81 83 00 00 */ lwz r12, 0(r3) /* 80216B88 00213AE8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216B8C 00213AEC 7D 89 03 A6 */ mtctr r12 /* 80216B90 00213AF0 4E 80 04 21 */ bctrl /* 80216B94 00213AF4 83 BE 04 94 */ lwz r29, 0x494(r30) /* 80216B98 00213AF8 38 61 01 90 */ addi r3, r1, 0x190 /* 80216B9C 00213AFC 38 9E 00 34 */ addi r4, r30, 0x34 /* 80216BA0 00213B00 48 0F C0 A1 */ bl GetRotation__12CTransform4fCFv /* 80216BA4 00213B04 7F A3 EB 78 */ mr r3, r29 /* 80216BA8 00213B08 38 81 01 90 */ addi r4, r1, 0x190 /* 80216BAC 00213B0C 81 9D 00 00 */ lwz r12, 0(r29) /* 80216BB0 00213B10 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80216BB4 00213B14 7D 89 03 A6 */ mtctr r12 /* 80216BB8 00213B18 4E 80 04 21 */ bctrl /* 80216BBC 00213B1C 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216BC0 00213B20 38 81 00 C4 */ addi r4, r1, 0xc4 /* 80216BC4 00213B24 81 83 00 00 */ lwz r12, 0(r3) /* 80216BC8 00213B28 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80216BCC 00213B2C 7D 89 03 A6 */ mtctr r12 /* 80216BD0 00213B30 4E 80 04 21 */ bctrl /* 80216BD4 00213B34 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80216BD8 00213B38 38 81 00 6C */ addi r4, r1, 0x6c /* 80216BDC 00213B3C C0 03 00 00 */ lfs f0, 0(r3) /* 80216BE0 00213B40 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 80216BE4 00213B44 C0 03 00 04 */ lfs f0, 4(r3) /* 80216BE8 00213B48 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80216BEC 00213B4C C0 03 00 08 */ lfs f0, 8(r3) /* 80216BF0 00213B50 D0 01 00 74 */ stfs f0, 0x74(r1) /* 80216BF4 00213B54 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216BF8 00213B58 81 83 00 00 */ lwz r12, 0(r3) /* 80216BFC 00213B5C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80216C00 00213B60 7D 89 03 A6 */ mtctr r12 /* 80216C04 00213B64 4E 80 04 21 */ bctrl /* 80216C08 00213B68 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216C0C 00213B6C FC 20 F8 90 */ fmr f1, f31 /* 80216C10 00213B70 81 83 00 00 */ lwz r12, 0(r3) /* 80216C14 00213B74 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80216C18 00213B78 7D 89 03 A6 */ mtctr r12 /* 80216C1C 00213B7C 4E 80 04 21 */ bctrl /* 80216C20 00213B80 28 1F 00 00 */ cmplwi r31, 0 /* 80216C24 00213B84 41 82 04 D8 */ beq lbl_802170FC /* 80216C28 00213B88 7F E3 FB 78 */ mr r3, r31 /* 80216C2C 00213B8C 38 80 00 00 */ li r4, 0 /* 80216C30 00213B90 81 9F 00 00 */ lwz r12, 0(r31) /* 80216C34 00213B94 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80216C38 00213B98 7D 89 03 A6 */ mtctr r12 /* 80216C3C 00213B9C 4E 80 04 21 */ bctrl /* 80216C40 00213BA0 48 00 04 BC */ b lbl_802170FC lbl_80216C44: /* 80216C44 00213BA4 2C 00 00 0A */ cmpwi r0, 0xa /* 80216C48 00213BA8 3B A0 00 00 */ li r29, 0 /* 80216C4C 00213BAC 41 82 00 0C */ beq lbl_80216C58 /* 80216C50 00213BB0 2C 00 00 0C */ cmpwi r0, 0xc /* 80216C54 00213BB4 40 82 00 08 */ bne lbl_80216C5C lbl_80216C58: /* 80216C58 00213BB8 3B A0 00 01 */ li r29, 1 lbl_80216C5C: /* 80216C5C 00213BBC 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216C60 00213BC0 38 80 00 00 */ li r4, 0 /* 80216C64 00213BC4 81 83 00 00 */ lwz r12, 0(r3) /* 80216C68 00213BC8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216C6C 00213BCC 7D 89 03 A6 */ mtctr r12 /* 80216C70 00213BD0 4E 80 04 21 */ bctrl /* 80216C74 00213BD4 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216C78 00213BD8 38 80 00 00 */ li r4, 0 /* 80216C7C 00213BDC 81 83 00 00 */ lwz r12, 0(r3) /* 80216C80 00213BE0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216C84 00213BE4 7D 89 03 A6 */ mtctr r12 /* 80216C88 00213BE8 4E 80 04 21 */ bctrl /* 80216C8C 00213BEC 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216C90 00213BF0 38 80 00 01 */ li r4, 1 /* 80216C94 00213BF4 81 83 00 00 */ lwz r12, 0(r3) /* 80216C98 00213BF8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216C9C 00213BFC 7D 89 03 A6 */ mtctr r12 /* 80216CA0 00213C00 4E 80 04 21 */ bctrl /* 80216CA4 00213C04 80 7E 04 84 */ lwz r3, 0x484(r30) /* 80216CA8 00213C08 38 80 00 00 */ li r4, 0 /* 80216CAC 00213C0C 81 83 00 00 */ lwz r12, 0(r3) /* 80216CB0 00213C10 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216CB4 00213C14 7D 89 03 A6 */ mtctr r12 /* 80216CB8 00213C18 4E 80 04 21 */ bctrl /* 80216CBC 00213C1C 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216CC0 00213C20 7F A4 EB 78 */ mr r4, r29 /* 80216CC4 00213C24 81 83 00 00 */ lwz r12, 0(r3) /* 80216CC8 00213C28 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216CCC 00213C2C 7D 89 03 A6 */ mtctr r12 /* 80216CD0 00213C30 4E 80 04 21 */ bctrl /* 80216CD4 00213C34 83 9E 04 7C */ lwz r28, 0x47c(r30) /* 80216CD8 00213C38 38 61 01 60 */ addi r3, r1, 0x160 /* 80216CDC 00213C3C 38 9E 00 34 */ addi r4, r30, 0x34 /* 80216CE0 00213C40 48 0F BF 61 */ bl GetRotation__12CTransform4fCFv /* 80216CE4 00213C44 7F 83 E3 78 */ mr r3, r28 /* 80216CE8 00213C48 38 81 01 60 */ addi r4, r1, 0x160 /* 80216CEC 00213C4C 81 9C 00 00 */ lwz r12, 0(r28) /* 80216CF0 00213C50 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80216CF4 00213C54 7D 89 03 A6 */ mtctr r12 /* 80216CF8 00213C58 4E 80 04 21 */ bctrl /* 80216CFC 00213C5C 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216D00 00213C60 38 81 00 C4 */ addi r4, r1, 0xc4 /* 80216D04 00213C64 81 83 00 00 */ lwz r12, 0(r3) /* 80216D08 00213C68 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80216D0C 00213C6C 7D 89 03 A6 */ mtctr r12 /* 80216D10 00213C70 4E 80 04 21 */ bctrl /* 80216D14 00213C74 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80216D18 00213C78 38 81 00 60 */ addi r4, r1, 0x60 /* 80216D1C 00213C7C C0 03 00 00 */ lfs f0, 0(r3) /* 80216D20 00213C80 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80216D24 00213C84 C0 03 00 04 */ lfs f0, 4(r3) /* 80216D28 00213C88 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80216D2C 00213C8C C0 03 00 08 */ lfs f0, 8(r3) /* 80216D30 00213C90 D0 01 00 68 */ stfs f0, 0x68(r1) /* 80216D34 00213C94 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216D38 00213C98 81 83 00 00 */ lwz r12, 0(r3) /* 80216D3C 00213C9C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80216D40 00213CA0 7D 89 03 A6 */ mtctr r12 /* 80216D44 00213CA4 4E 80 04 21 */ bctrl /* 80216D48 00213CA8 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216D4C 00213CAC FC 20 F8 90 */ fmr f1, f31 /* 80216D50 00213CB0 81 83 00 00 */ lwz r12, 0(r3) /* 80216D54 00213CB4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80216D58 00213CB8 7D 89 03 A6 */ mtctr r12 /* 80216D5C 00213CBC 4E 80 04 21 */ bctrl /* 80216D60 00213CC0 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216D64 00213CC4 81 83 00 00 */ lwz r12, 0(r3) /* 80216D68 00213CC8 81 8C 00 64 */ lwz r12, 0x64(r12) /* 80216D6C 00213CCC 7D 89 03 A6 */ mtctr r12 /* 80216D70 00213CD0 4E 80 04 21 */ bctrl /* 80216D74 00213CD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80216D78 00213CD8 41 82 00 2C */ beq lbl_80216DA4 /* 80216D7C 00213CDC 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 80216D80 00213CE0 38 61 02 B0 */ addi r3, r1, 0x2b0 /* 80216D84 00213CE4 81 84 00 00 */ lwz r12, 0(r4) /* 80216D88 00213CE8 81 8C 00 68 */ lwz r12, 0x68(r12) /* 80216D8C 00213CEC 7D 89 03 A6 */ mtctr r12 /* 80216D90 00213CF0 4E 80 04 21 */ bctrl /* 80216D94 00213CF4 7F E3 FB 78 */ mr r3, r31 /* 80216D98 00213CF8 38 81 02 B0 */ addi r4, r1, 0x2b0 /* 80216D9C 00213CFC 4B E9 E9 A9 */ bl SetLight__10CGameLightFRC6CLight /* 80216DA0 00213D00 48 00 00 1C */ b lbl_80216DBC lbl_80216DA4: /* 80216DA4 00213D04 7F E3 FB 78 */ mr r3, r31 /* 80216DA8 00213D08 38 80 00 00 */ li r4, 0 /* 80216DAC 00213D0C 81 9F 00 00 */ lwz r12, 0(r31) /* 80216DB0 00213D10 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80216DB4 00213D14 7D 89 03 A6 */ mtctr r12 /* 80216DB8 00213D18 4E 80 04 21 */ bctrl lbl_80216DBC: /* 80216DBC 00213D1C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 80216DC0 00213D20 41 82 03 3C */ beq lbl_802170FC /* 80216DC4 00213D24 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 80216DC8 00213D28 38 61 00 50 */ addi r3, r1, 0x50 /* 80216DCC 00213D2C 4B DE DE ED */ bl string_l__4rstlFPCc /* 80216DD0 00213D30 7F C4 F3 78 */ mr r4, r30 /* 80216DD4 00213D34 38 61 01 30 */ addi r3, r1, 0x130 /* 80216DD8 00213D38 38 A1 00 50 */ addi r5, r1, 0x50 /* 80216DDC 00213D3C 4B E3 C1 25 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80216DE0 00213D40 38 61 02 50 */ addi r3, r1, 0x250 /* 80216DE4 00213D44 38 81 01 30 */ addi r4, r1, 0x130 /* 80216DE8 00213D48 48 0F BD 8D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80216DEC 00213D4C 38 61 00 50 */ addi r3, r1, 0x50 /* 80216DF0 00213D50 48 12 6C F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80216DF4 00213D54 C0 41 02 5C */ lfs f2, 0x25c(r1) /* 80216DF8 00213D58 38 61 00 44 */ addi r3, r1, 0x44 /* 80216DFC 00213D5C C0 21 02 6C */ lfs f1, 0x26c(r1) /* 80216E00 00213D60 38 9E 00 34 */ addi r4, r30, 0x34 /* 80216E04 00213D64 C0 01 02 7C */ lfs f0, 0x27c(r1) /* 80216E08 00213D68 38 A1 00 38 */ addi r5, r1, 0x38 /* 80216E0C 00213D6C D0 41 00 38 */ stfs f2, 0x38(r1) /* 80216E10 00213D70 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80216E14 00213D74 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80216E18 00213D78 48 0F BC 69 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 80216E1C 00213D7C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80216E20 00213D80 38 61 01 00 */ addi r3, r1, 0x100 /* 80216E24 00213D84 C0 01 00 48 */ lfs f0, 0x48(r1) /* 80216E28 00213D88 38 9E 00 34 */ addi r4, r30, 0x34 /* 80216E2C 00213D8C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 80216E30 00213D90 C0 41 00 4C */ lfs f2, 0x4c(r1) /* 80216E34 00213D94 EC 81 00 2A */ fadds f4, f1, f0 /* 80216E38 00213D98 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 80216E3C 00213D9C C0 01 00 44 */ lfs f0, 0x44(r1) /* 80216E40 00213DA0 EC 43 10 2A */ fadds f2, f3, f2 /* 80216E44 00213DA4 D0 81 00 BC */ stfs f4, 0xbc(r1) /* 80216E48 00213DA8 EC 01 00 2A */ fadds f0, f1, f0 /* 80216E4C 00213DAC D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 80216E50 00213DB0 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 80216E54 00213DB4 83 9E 04 8C */ lwz r28, 0x48c(r30) /* 80216E58 00213DB8 48 0F BD E9 */ bl GetRotation__12CTransform4fCFv /* 80216E5C 00213DBC 7F 83 E3 78 */ mr r3, r28 /* 80216E60 00213DC0 38 81 01 00 */ addi r4, r1, 0x100 /* 80216E64 00213DC4 81 9C 00 00 */ lwz r12, 0(r28) /* 80216E68 00213DC8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80216E6C 00213DCC 7D 89 03 A6 */ mtctr r12 /* 80216E70 00213DD0 4E 80 04 21 */ bctrl /* 80216E74 00213DD4 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216E78 00213DD8 38 81 00 B8 */ addi r4, r1, 0xb8 /* 80216E7C 00213DDC 81 83 00 00 */ lwz r12, 0(r3) /* 80216E80 00213DE0 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80216E84 00213DE4 7D 89 03 A6 */ mtctr r12 /* 80216E88 00213DE8 4E 80 04 21 */ bctrl /* 80216E8C 00213DEC 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80216E90 00213DF0 38 81 00 2C */ addi r4, r1, 0x2c /* 80216E94 00213DF4 C0 03 00 00 */ lfs f0, 0(r3) /* 80216E98 00213DF8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80216E9C 00213DFC C0 03 00 04 */ lfs f0, 4(r3) /* 80216EA0 00213E00 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80216EA4 00213E04 C0 03 00 08 */ lfs f0, 8(r3) /* 80216EA8 00213E08 D0 01 00 34 */ stfs f0, 0x34(r1) /* 80216EAC 00213E0C 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216EB0 00213E10 81 83 00 00 */ lwz r12, 0(r3) /* 80216EB4 00213E14 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80216EB8 00213E18 7D 89 03 A6 */ mtctr r12 /* 80216EBC 00213E1C 4E 80 04 21 */ bctrl /* 80216EC0 00213E20 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216EC4 00213E24 FC 20 F8 90 */ fmr f1, f31 /* 80216EC8 00213E28 81 83 00 00 */ lwz r12, 0(r3) /* 80216ECC 00213E2C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80216ED0 00213E30 7D 89 03 A6 */ mtctr r12 /* 80216ED4 00213E34 4E 80 04 21 */ bctrl /* 80216ED8 00213E38 48 00 02 24 */ b lbl_802170FC lbl_80216EDC: /* 80216EDC 00213E3C 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216EE0 00213E40 38 80 00 00 */ li r4, 0 /* 80216EE4 00213E44 81 83 00 00 */ lwz r12, 0(r3) /* 80216EE8 00213E48 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216EEC 00213E4C 7D 89 03 A6 */ mtctr r12 /* 80216EF0 00213E50 4E 80 04 21 */ bctrl /* 80216EF4 00213E54 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216EF8 00213E58 38 80 00 00 */ li r4, 0 /* 80216EFC 00213E5C 81 83 00 00 */ lwz r12, 0(r3) /* 80216F00 00213E60 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216F04 00213E64 7D 89 03 A6 */ mtctr r12 /* 80216F08 00213E68 4E 80 04 21 */ bctrl /* 80216F0C 00213E6C 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216F10 00213E70 38 80 00 00 */ li r4, 0 /* 80216F14 00213E74 81 83 00 00 */ lwz r12, 0(r3) /* 80216F18 00213E78 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216F1C 00213E7C 7D 89 03 A6 */ mtctr r12 /* 80216F20 00213E80 4E 80 04 21 */ bctrl /* 80216F24 00213E84 80 7E 04 84 */ lwz r3, 0x484(r30) /* 80216F28 00213E88 38 80 00 00 */ li r4, 0 /* 80216F2C 00213E8C 81 83 00 00 */ lwz r12, 0(r3) /* 80216F30 00213E90 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216F34 00213E94 7D 89 03 A6 */ mtctr r12 /* 80216F38 00213E98 4E 80 04 21 */ bctrl /* 80216F3C 00213E9C 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 80216F40 00213EA0 38 80 00 00 */ li r4, 0 /* 80216F44 00213EA4 81 83 00 00 */ lwz r12, 0(r3) /* 80216F48 00213EA8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216F4C 00213EAC 7D 89 03 A6 */ mtctr r12 /* 80216F50 00213EB0 4E 80 04 21 */ bctrl /* 80216F54 00213EB4 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216F58 00213EB8 38 80 00 00 */ li r4, 0 /* 80216F5C 00213EBC 81 83 00 00 */ lwz r12, 0(r3) /* 80216F60 00213EC0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216F64 00213EC4 7D 89 03 A6 */ mtctr r12 /* 80216F68 00213EC8 4E 80 04 21 */ bctrl /* 80216F6C 00213ECC 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80216F70 00213ED0 FC 20 F8 90 */ fmr f1, f31 /* 80216F74 00213ED4 81 83 00 00 */ lwz r12, 0(r3) /* 80216F78 00213ED8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80216F7C 00213EDC 7D 89 03 A6 */ mtctr r12 /* 80216F80 00213EE0 4E 80 04 21 */ bctrl /* 80216F84 00213EE4 28 1F 00 00 */ cmplwi r31, 0 /* 80216F88 00213EE8 41 82 01 74 */ beq lbl_802170FC /* 80216F8C 00213EEC 7F E3 FB 78 */ mr r3, r31 /* 80216F90 00213EF0 38 80 00 00 */ li r4, 0 /* 80216F94 00213EF4 81 9F 00 00 */ lwz r12, 0(r31) /* 80216F98 00213EF8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80216F9C 00213EFC 7D 89 03 A6 */ mtctr r12 /* 80216FA0 00213F00 4E 80 04 21 */ bctrl /* 80216FA4 00213F04 48 00 01 58 */ b lbl_802170FC lbl_80216FA8: /* 80216FA8 00213F08 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 80216FAC 00213F0C 38 80 00 00 */ li r4, 0 /* 80216FB0 00213F10 81 83 00 00 */ lwz r12, 0(r3) /* 80216FB4 00213F14 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216FB8 00213F18 7D 89 03 A6 */ mtctr r12 /* 80216FBC 00213F1C 4E 80 04 21 */ bctrl /* 80216FC0 00213F20 80 7E 04 74 */ lwz r3, 0x474(r30) /* 80216FC4 00213F24 38 80 00 00 */ li r4, 0 /* 80216FC8 00213F28 81 83 00 00 */ lwz r12, 0(r3) /* 80216FCC 00213F2C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216FD0 00213F30 7D 89 03 A6 */ mtctr r12 /* 80216FD4 00213F34 4E 80 04 21 */ bctrl /* 80216FD8 00213F38 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 80216FDC 00213F3C 38 80 00 00 */ li r4, 0 /* 80216FE0 00213F40 81 83 00 00 */ lwz r12, 0(r3) /* 80216FE4 00213F44 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80216FE8 00213F48 7D 89 03 A6 */ mtctr r12 /* 80216FEC 00213F4C 4E 80 04 21 */ bctrl /* 80216FF0 00213F50 80 7E 04 84 */ lwz r3, 0x484(r30) /* 80216FF4 00213F54 38 80 00 01 */ li r4, 1 /* 80216FF8 00213F58 81 83 00 00 */ lwz r12, 0(r3) /* 80216FFC 00213F5C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80217000 00213F60 7D 89 03 A6 */ mtctr r12 /* 80217004 00213F64 4E 80 04 21 */ bctrl /* 80217008 00213F68 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 8021700C 00213F6C 38 80 00 00 */ li r4, 0 /* 80217010 00213F70 81 83 00 00 */ lwz r12, 0(r3) /* 80217014 00213F74 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80217018 00213F78 7D 89 03 A6 */ mtctr r12 /* 8021701C 00213F7C 4E 80 04 21 */ bctrl /* 80217020 00213F80 80 7E 04 94 */ lwz r3, 0x494(r30) /* 80217024 00213F84 38 80 00 00 */ li r4, 0 /* 80217028 00213F88 81 83 00 00 */ lwz r12, 0(r3) /* 8021702C 00213F8C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80217030 00213F90 7D 89 03 A6 */ mtctr r12 /* 80217034 00213F94 4E 80 04 21 */ bctrl /* 80217038 00213F98 83 9E 04 84 */ lwz r28, 0x484(r30) /* 8021703C 00213F9C 38 61 00 D0 */ addi r3, r1, 0xd0 /* 80217040 00213FA0 38 9E 00 34 */ addi r4, r30, 0x34 /* 80217044 00213FA4 48 0F BB FD */ bl GetRotation__12CTransform4fCFv /* 80217048 00213FA8 7F 83 E3 78 */ mr r3, r28 /* 8021704C 00213FAC 38 81 00 D0 */ addi r4, r1, 0xd0 /* 80217050 00213FB0 81 9C 00 00 */ lwz r12, 0(r28) /* 80217054 00213FB4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80217058 00213FB8 7D 89 03 A6 */ mtctr r12 /* 8021705C 00213FBC 4E 80 04 21 */ bctrl /* 80217060 00213FC0 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 80217064 00213FC4 38 81 00 20 */ addi r4, r1, 0x20 /* 80217068 00213FC8 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8021706C 00213FCC C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80217070 00213FD0 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80217074 00213FD4 D0 21 00 24 */ stfs f1, 0x24(r1) /* 80217078 00213FD8 D0 41 00 28 */ stfs f2, 0x28(r1) /* 8021707C 00213FDC 80 7E 04 84 */ lwz r3, 0x484(r30) /* 80217080 00213FE0 81 83 00 00 */ lwz r12, 0(r3) /* 80217084 00213FE4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80217088 00213FE8 7D 89 03 A6 */ mtctr r12 /* 8021708C 00213FEC 4E 80 04 21 */ bctrl /* 80217090 00213FF0 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80217094 00213FF4 38 81 00 14 */ addi r4, r1, 0x14 /* 80217098 00213FF8 C0 03 00 00 */ lfs f0, 0(r3) /* 8021709C 00213FFC D0 01 00 14 */ stfs f0, 0x14(r1) /* 802170A0 00214000 C0 03 00 04 */ lfs f0, 4(r3) /* 802170A4 00214004 D0 01 00 18 */ stfs f0, 0x18(r1) /* 802170A8 00214008 C0 03 00 08 */ lfs f0, 8(r3) /* 802170AC 0021400C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802170B0 00214010 80 7E 04 84 */ lwz r3, 0x484(r30) /* 802170B4 00214014 81 83 00 00 */ lwz r12, 0(r3) /* 802170B8 00214018 81 8C 00 24 */ lwz r12, 0x24(r12) /* 802170BC 0021401C 7D 89 03 A6 */ mtctr r12 /* 802170C0 00214020 4E 80 04 21 */ bctrl /* 802170C4 00214024 80 7E 04 84 */ lwz r3, 0x484(r30) /* 802170C8 00214028 FC 20 F8 90 */ fmr f1, f31 /* 802170CC 0021402C 81 83 00 00 */ lwz r12, 0(r3) /* 802170D0 00214030 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802170D4 00214034 7D 89 03 A6 */ mtctr r12 /* 802170D8 00214038 4E 80 04 21 */ bctrl /* 802170DC 0021403C 28 1F 00 00 */ cmplwi r31, 0 /* 802170E0 00214040 41 82 00 1C */ beq lbl_802170FC /* 802170E4 00214044 7F E3 FB 78 */ mr r3, r31 /* 802170E8 00214048 38 80 00 00 */ li r4, 0 /* 802170EC 0021404C 81 9F 00 00 */ lwz r12, 0(r31) /* 802170F0 00214050 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 802170F4 00214054 7D 89 03 A6 */ mtctr r12 /* 802170F8 00214058 4E 80 04 21 */ bctrl lbl_802170FC: /* 802170FC 0021405C E3 E1 03 68 */ psq_l f31, 872(r1), 0, qr0 /* 80217100 00214060 80 01 03 74 */ lwz r0, 0x374(r1) /* 80217104 00214064 CB E1 03 60 */ lfd f31, 0x360(r1) /* 80217108 00214068 83 E1 03 5C */ lwz r31, 0x35c(r1) /* 8021710C 0021406C 83 C1 03 58 */ lwz r30, 0x358(r1) /* 80217110 00214070 83 A1 03 54 */ lwz r29, 0x354(r1) /* 80217114 00214074 83 81 03 50 */ lwz r28, 0x350(r1) /* 80217118 00214078 7C 08 03 A6 */ mtlr r0 /* 8021711C 0021407C 38 21 03 70 */ addi r1, r1, 0x370 /* 80217120 00214080 4E 80 00 20 */ blr .global PlayAdditiveChargingAnimation__16CScriptGunTurretFR13CStateManager PlayAdditiveChargingAnimation__16CScriptGunTurretFR13CStateManager: /* 80217124 00214084 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 80217128 00214088 7C 08 02 A6 */ mflr r0 /* 8021712C 0021408C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80217130 00214090 93 E1 00 AC */ stw r31, 0xac(r1) /* 80217134 00214094 7C 9F 23 78 */ mr r31, r4 /* 80217138 00214098 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 8021713C 0021409C 7C 7E 1B 78 */ mr r30, r3 /* 80217140 002140A0 80 03 05 20 */ lwz r0, 0x520(r3) /* 80217144 002140A4 2C 00 00 0A */ cmpwi r0, 0xa /* 80217148 002140A8 40 82 01 38 */ bne lbl_80217280 /* 8021714C 002140AC 80 1E 05 5C */ lwz r0, 0x55c(r30) /* 80217150 002140B0 2C 00 FF FF */ cmpwi r0, -1 /* 80217154 002140B4 40 82 01 4C */ bne lbl_802172A0 /* 80217158 002140B8 38 61 00 18 */ addi r3, r1, 0x18 /* 8021715C 002140BC 48 0C BF 21 */ bl NoParameter__12CPASAnimParmFv /* 80217160 002140C0 38 61 00 20 */ addi r3, r1, 0x20 /* 80217164 002140C4 48 0C BF 19 */ bl NoParameter__12CPASAnimParmFv /* 80217168 002140C8 38 61 00 28 */ addi r3, r1, 0x28 /* 8021716C 002140CC 48 0C BF 11 */ bl NoParameter__12CPASAnimParmFv /* 80217170 002140D0 38 61 00 30 */ addi r3, r1, 0x30 /* 80217174 002140D4 48 0C BF 09 */ bl NoParameter__12CPASAnimParmFv /* 80217178 002140D8 38 61 00 38 */ addi r3, r1, 0x38 /* 8021717C 002140DC 48 0C BF 01 */ bl NoParameter__12CPASAnimParmFv /* 80217180 002140E0 38 61 00 40 */ addi r3, r1, 0x40 /* 80217184 002140E4 48 0C BE F9 */ bl NoParameter__12CPASAnimParmFv /* 80217188 002140E8 38 61 00 48 */ addi r3, r1, 0x48 /* 8021718C 002140EC 48 0C BE F1 */ bl NoParameter__12CPASAnimParmFv /* 80217190 002140F0 38 61 00 50 */ addi r3, r1, 0x50 /* 80217194 002140F4 38 80 00 02 */ li r4, 2 /* 80217198 002140F8 48 0C BD ED */ bl FromEnum__12CPASAnimParmFi /* 8021719C 002140FC 38 61 00 20 */ addi r3, r1, 0x20 /* 802171A0 00214100 38 01 00 18 */ addi r0, r1, 0x18 /* 802171A4 00214104 90 61 00 08 */ stw r3, 8(r1) /* 802171A8 00214108 38 61 00 58 */ addi r3, r1, 0x58 /* 802171AC 0021410C 38 A1 00 50 */ addi r5, r1, 0x50 /* 802171B0 00214110 38 C1 00 48 */ addi r6, r1, 0x48 /* 802171B4 00214114 90 01 00 0C */ stw r0, 0xc(r1) /* 802171B8 00214118 38 E1 00 40 */ addi r7, r1, 0x40 /* 802171BC 0021411C 39 01 00 38 */ addi r8, r1, 0x38 /* 802171C0 00214120 39 21 00 30 */ addi r9, r1, 0x30 /* 802171C4 00214124 39 41 00 28 */ addi r10, r1, 0x28 /* 802171C8 00214128 38 80 00 18 */ li r4, 0x18 /* 802171CC 0021412C 4B E6 60 F9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 802171D0 00214130 80 9E 00 64 */ lwz r4, 0x64(r30) /* 802171D4 00214134 38 61 00 10 */ addi r3, r1, 0x10 /* 802171D8 00214138 80 DF 09 00 */ lwz r6, 0x900(r31) /* 802171DC 0021413C 38 A1 00 58 */ addi r5, r1, 0x58 /* 802171E0 00214140 83 E4 00 10 */ lwz r31, 0x10(r4) /* 802171E4 00214144 38 E0 FF FF */ li r7, -1 /* 802171E8 00214148 38 9F 00 3C */ addi r4, r31, 0x3c /* 802171EC 0021414C 48 0C DE 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 802171F0 00214150 C0 21 00 10 */ lfs f1, 0x10(r1) /* 802171F4 00214154 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802171F8 00214158 80 01 00 14 */ lwz r0, 0x14(r1) /* 802171FC 0021415C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217200 00214160 40 81 00 20 */ ble lbl_80217220 /* 80217204 00214164 90 1E 05 5C */ stw r0, 0x55c(r30) /* 80217208 00214168 7F E3 FB 78 */ mr r3, r31 /* 8021720C 0021416C C0 22 B3 68 */ lfs f1, lbl_805AD088@sda21(r2) /* 80217210 00214170 38 A0 00 01 */ li r5, 1 /* 80217214 00214174 80 9E 05 5C */ lwz r4, 0x55c(r30) /* 80217218 00214178 38 C0 00 00 */ li r6, 0 /* 8021721C 0021417C 4B E1 2F B5 */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_80217220: /* 80217220 00214180 34 A1 00 5C */ addic. r5, r1, 0x5c /* 80217224 00214184 41 82 00 7C */ beq lbl_802172A0 /* 80217228 00214188 80 C5 00 00 */ lwz r6, 0(r5) /* 8021722C 0021418C 38 60 00 00 */ li r3, 0 /* 80217230 00214190 2C 06 00 00 */ cmpwi r6, 0 /* 80217234 00214194 40 81 00 40 */ ble lbl_80217274 /* 80217238 00214198 2C 06 00 08 */ cmpwi r6, 8 /* 8021723C 0021419C 38 86 FF F8 */ addi r4, r6, -8 /* 80217240 002141A0 40 81 00 20 */ ble lbl_80217260 /* 80217244 002141A4 38 04 00 07 */ addi r0, r4, 7 /* 80217248 002141A8 54 00 E8 FE */ srwi r0, r0, 3 /* 8021724C 002141AC 7C 09 03 A6 */ mtctr r0 /* 80217250 002141B0 2C 04 00 00 */ cmpwi r4, 0 /* 80217254 002141B4 40 81 00 0C */ ble lbl_80217260 lbl_80217258: /* 80217258 002141B8 38 63 00 08 */ addi r3, r3, 8 /* 8021725C 002141BC 42 00 FF FC */ bdnz lbl_80217258 lbl_80217260: /* 80217260 002141C0 7C 03 30 50 */ subf r0, r3, r6 /* 80217264 002141C4 7C 09 03 A6 */ mtctr r0 /* 80217268 002141C8 7C 03 30 00 */ cmpw r3, r6 /* 8021726C 002141CC 40 80 00 08 */ bge lbl_80217274 lbl_80217270: /* 80217270 002141D0 42 00 00 00 */ bdnz lbl_80217270 lbl_80217274: /* 80217274 002141D4 38 00 00 00 */ li r0, 0 /* 80217278 002141D8 90 05 00 00 */ stw r0, 0(r5) /* 8021727C 002141DC 48 00 00 24 */ b lbl_802172A0 lbl_80217280: /* 80217280 002141E0 80 9E 05 5C */ lwz r4, 0x55c(r30) /* 80217284 002141E4 2C 04 FF FF */ cmpwi r4, -1 /* 80217288 002141E8 41 82 00 18 */ beq lbl_802172A0 /* 8021728C 002141EC 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80217290 002141F0 80 63 00 10 */ lwz r3, 0x10(r3) /* 80217294 002141F4 4B E1 2E C5 */ bl DelAdditiveAnimation__9CAnimDataFUi /* 80217298 002141F8 38 00 FF FF */ li r0, -1 /* 8021729C 002141FC 90 1E 05 5C */ stw r0, 0x55c(r30) lbl_802172A0: /* 802172A0 00214200 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 802172A4 00214204 83 E1 00 AC */ lwz r31, 0xac(r1) /* 802172A8 00214208 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 802172AC 0021420C 7C 08 03 A6 */ mtlr r0 /* 802172B0 00214210 38 21 00 B0 */ addi r1, r1, 0xb0 /* 802172B4 00214214 4E 80 00 20 */ blr .global PlayAdditiveFlinchAnimation__16CScriptGunTurretFR13CStateManager PlayAdditiveFlinchAnimation__16CScriptGunTurretFR13CStateManager: /* 802172B8 00214218 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 802172BC 0021421C 7C 08 02 A6 */ mflr r0 /* 802172C0 00214220 90 01 00 B4 */ stw r0, 0xb4(r1) /* 802172C4 00214224 93 E1 00 AC */ stw r31, 0xac(r1) /* 802172C8 00214228 7C 9F 23 78 */ mr r31, r4 /* 802172CC 0021422C 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 802172D0 00214230 7C 7E 1B 78 */ mr r30, r3 /* 802172D4 00214234 38 61 00 18 */ addi r3, r1, 0x18 /* 802172D8 00214238 48 0C BD A5 */ bl NoParameter__12CPASAnimParmFv /* 802172DC 0021423C 38 61 00 20 */ addi r3, r1, 0x20 /* 802172E0 00214240 48 0C BD 9D */ bl NoParameter__12CPASAnimParmFv /* 802172E4 00214244 38 61 00 28 */ addi r3, r1, 0x28 /* 802172E8 00214248 48 0C BD 95 */ bl NoParameter__12CPASAnimParmFv /* 802172EC 0021424C 38 61 00 30 */ addi r3, r1, 0x30 /* 802172F0 00214250 48 0C BD 8D */ bl NoParameter__12CPASAnimParmFv /* 802172F4 00214254 38 61 00 38 */ addi r3, r1, 0x38 /* 802172F8 00214258 48 0C BD 85 */ bl NoParameter__12CPASAnimParmFv /* 802172FC 0021425C 38 61 00 40 */ addi r3, r1, 0x40 /* 80217300 00214260 48 0C BD 7D */ bl NoParameter__12CPASAnimParmFv /* 80217304 00214264 38 61 00 48 */ addi r3, r1, 0x48 /* 80217308 00214268 48 0C BD 75 */ bl NoParameter__12CPASAnimParmFv /* 8021730C 0021426C 38 61 00 50 */ addi r3, r1, 0x50 /* 80217310 00214270 48 0C BD 6D */ bl NoParameter__12CPASAnimParmFv /* 80217314 00214274 38 61 00 20 */ addi r3, r1, 0x20 /* 80217318 00214278 38 01 00 18 */ addi r0, r1, 0x18 /* 8021731C 0021427C 90 61 00 08 */ stw r3, 8(r1) /* 80217320 00214280 38 61 00 58 */ addi r3, r1, 0x58 /* 80217324 00214284 38 A1 00 50 */ addi r5, r1, 0x50 /* 80217328 00214288 38 C1 00 48 */ addi r6, r1, 0x48 /* 8021732C 0021428C 90 01 00 0C */ stw r0, 0xc(r1) /* 80217330 00214290 38 E1 00 40 */ addi r7, r1, 0x40 /* 80217334 00214294 39 01 00 38 */ addi r8, r1, 0x38 /* 80217338 00214298 39 21 00 30 */ addi r9, r1, 0x30 /* 8021733C 0021429C 39 41 00 28 */ addi r10, r1, 0x28 /* 80217340 002142A0 38 80 00 17 */ li r4, 0x17 /* 80217344 002142A4 4B E6 5F 81 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 80217348 002142A8 80 9E 00 64 */ lwz r4, 0x64(r30) /* 8021734C 002142AC 38 61 00 10 */ addi r3, r1, 0x10 /* 80217350 002142B0 80 DF 09 00 */ lwz r6, 0x900(r31) /* 80217354 002142B4 38 A1 00 58 */ addi r5, r1, 0x58 /* 80217358 002142B8 80 84 00 10 */ lwz r4, 0x10(r4) /* 8021735C 002142BC 38 E0 FF FF */ li r7, -1 /* 80217360 002142C0 38 84 00 3C */ addi r4, r4, 0x3c /* 80217364 002142C4 48 0C DC FD */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 80217368 002142C8 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8021736C 002142CC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80217370 002142D0 80 81 00 14 */ lwz r4, 0x14(r1) /* 80217374 002142D4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217378 002142D8 40 81 00 1C */ ble lbl_80217394 /* 8021737C 002142DC 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80217380 002142E0 38 A0 00 00 */ li r5, 0 /* 80217384 002142E4 C0 22 B3 68 */ lfs f1, lbl_805AD088@sda21(r2) /* 80217388 002142E8 38 C0 00 01 */ li r6, 1 /* 8021738C 002142EC 80 63 00 10 */ lwz r3, 0x10(r3) /* 80217390 002142F0 4B E1 2E 41 */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_80217394: /* 80217394 002142F4 34 A1 00 5C */ addic. r5, r1, 0x5c /* 80217398 002142F8 41 82 00 58 */ beq lbl_802173F0 /* 8021739C 002142FC 80 C5 00 00 */ lwz r6, 0(r5) /* 802173A0 00214300 38 60 00 00 */ li r3, 0 /* 802173A4 00214304 2C 06 00 00 */ cmpwi r6, 0 /* 802173A8 00214308 40 81 00 40 */ ble lbl_802173E8 /* 802173AC 0021430C 2C 06 00 08 */ cmpwi r6, 8 /* 802173B0 00214310 38 86 FF F8 */ addi r4, r6, -8 /* 802173B4 00214314 40 81 00 20 */ ble lbl_802173D4 /* 802173B8 00214318 38 04 00 07 */ addi r0, r4, 7 /* 802173BC 0021431C 54 00 E8 FE */ srwi r0, r0, 3 /* 802173C0 00214320 7C 09 03 A6 */ mtctr r0 /* 802173C4 00214324 2C 04 00 00 */ cmpwi r4, 0 /* 802173C8 00214328 40 81 00 0C */ ble lbl_802173D4 lbl_802173CC: /* 802173CC 0021432C 38 63 00 08 */ addi r3, r3, 8 /* 802173D0 00214330 42 00 FF FC */ bdnz lbl_802173CC lbl_802173D4: /* 802173D4 00214334 7C 03 30 50 */ subf r0, r3, r6 /* 802173D8 00214338 7C 09 03 A6 */ mtctr r0 /* 802173DC 0021433C 7C 03 30 00 */ cmpw r3, r6 /* 802173E0 00214340 40 80 00 08 */ bge lbl_802173E8 lbl_802173E4: /* 802173E4 00214344 42 00 00 00 */ bdnz lbl_802173E4 lbl_802173E8: /* 802173E8 00214348 38 00 00 00 */ li r0, 0 /* 802173EC 0021434C 90 05 00 00 */ stw r0, 0(r5) lbl_802173F0: /* 802173F0 00214350 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 802173F4 00214354 83 E1 00 AC */ lwz r31, 0xac(r1) /* 802173F8 00214358 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 802173FC 0021435C 7C 08 03 A6 */ mtlr r0 /* 80217400 00214360 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80217404 00214364 4E 80 00 20 */ blr .global LaunchProjectile__16CScriptGunTurretFR13CStateManager LaunchProjectile__16CScriptGunTurretFR13CStateManager: /* 80217408 00214368 94 21 FD 70 */ stwu r1, -0x290(r1) /* 8021740C 0021436C 7C 08 02 A6 */ mflr r0 /* 80217410 00214370 90 01 02 94 */ stw r0, 0x294(r1) /* 80217414 00214374 DB E1 02 80 */ stfd f31, 0x280(r1) /* 80217418 00214378 F3 E1 02 88 */ psq_st f31, 648(r1), 0, qr0 /* 8021741C 0021437C DB C1 02 70 */ stfd f30, 0x270(r1) /* 80217420 00214380 F3 C1 02 78 */ psq_st f30, 632(r1), 0, qr0 /* 80217424 00214384 DB A1 02 60 */ stfd f29, 0x260(r1) /* 80217428 00214388 F3 A1 02 68 */ psq_st f29, 616(r1), 0, qr0 /* 8021742C 0021438C 93 E1 02 5C */ stw r31, 0x25c(r1) /* 80217430 00214390 93 C1 02 58 */ stw r30, 0x258(r1) /* 80217434 00214394 93 A1 02 54 */ stw r29, 0x254(r1) /* 80217438 00214398 93 81 02 50 */ stw r28, 0x250(r1) /* 8021743C 0021439C 7C 7E 1B 78 */ mr r30, r3 /* 80217440 002143A0 7C 9F 23 78 */ mr r31, r4 /* 80217444 002143A4 3B BE 03 7C */ addi r29, r30, 0x37c /* 80217448 002143A8 80 03 03 84 */ lwz r0, 0x384(r3) /* 8021744C 002143AC 28 00 00 00 */ cmplwi r0, 0 /* 80217450 002143B0 41 82 00 0C */ beq lbl_8021745C /* 80217454 002143B4 38 60 00 01 */ li r3, 1 /* 80217458 002143B8 48 00 00 3C */ b lbl_80217494 lbl_8021745C: /* 8021745C 002143BC 88 1D 00 04 */ lbz r0, 4(r29) /* 80217460 002143C0 28 00 00 00 */ cmplwi r0, 0 /* 80217464 002143C4 41 82 00 2C */ beq lbl_80217490 /* 80217468 002143C8 80 7D 00 00 */ lwz r3, 0(r29) /* 8021746C 002143CC 80 03 00 10 */ lwz r0, 0x10(r3) /* 80217470 002143D0 28 00 00 00 */ cmplwi r0, 0 /* 80217474 002143D4 41 82 00 1C */ beq lbl_80217490 /* 80217478 002143D8 7F A3 EB 78 */ mr r3, r29 /* 8021747C 002143DC 48 12 99 91 */ bl GetObj__6CTokenFv /* 80217480 002143E0 80 03 00 04 */ lwz r0, 4(r3) /* 80217484 002143E4 38 60 00 01 */ li r3, 1 /* 80217488 002143E8 90 1D 00 08 */ stw r0, 8(r29) /* 8021748C 002143EC 48 00 00 08 */ b lbl_80217494 lbl_80217490: /* 80217490 002143F0 38 60 00 00 */ li r3, 0 lbl_80217494: /* 80217494 002143F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80217498 002143F8 41 82 04 80 */ beq lbl_80217918 /* 8021749C 002143FC A0 1E 00 08 */ lhz r0, 8(r30) /* 802174A0 00214400 7F E3 FB 78 */ mr r3, r31 /* 802174A4 00214404 38 81 00 48 */ addi r4, r1, 0x48 /* 802174A8 00214408 38 A0 00 09 */ li r5, 9 /* 802174AC 0021440C B0 01 00 44 */ sth r0, 0x44(r1) /* 802174B0 00214410 38 C0 00 08 */ li r6, 8 /* 802174B4 00214414 B0 01 00 48 */ sth r0, 0x48(r1) /* 802174B8 00214418 4B E2 E2 79 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei /* 802174BC 0021441C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802174C0 00214420 41 82 04 58 */ beq lbl_80217918 /* 802174C4 00214424 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 802174C8 00214428 38 61 00 DC */ addi r3, r1, 0xdc /* 802174CC 0021442C 4B DE D7 ED */ bl string_l__4rstlFPCc /* 802174D0 00214430 7F C4 F3 78 */ mr r4, r30 /* 802174D4 00214434 38 61 01 74 */ addi r3, r1, 0x174 /* 802174D8 00214438 38 A1 00 DC */ addi r5, r1, 0xdc /* 802174DC 0021443C 4B E3 BA 25 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802174E0 00214440 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 802174E4 00214444 38 81 01 74 */ addi r4, r1, 0x174 /* 802174E8 00214448 48 0F B6 8D */ bl __ct__12CTransform4fFRC12CTransform4f /* 802174EC 0021444C 38 61 00 DC */ addi r3, r1, 0xdc /* 802174F0 00214450 48 12 65 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802174F4 00214454 C0 41 01 E0 */ lfs f2, 0x1e0(r1) /* 802174F8 00214458 38 61 00 D0 */ addi r3, r1, 0xd0 /* 802174FC 0021445C C0 21 01 F0 */ lfs f1, 0x1f0(r1) /* 80217500 00214460 38 9E 00 34 */ addi r4, r30, 0x34 /* 80217504 00214464 C0 01 02 00 */ lfs f0, 0x200(r1) /* 80217508 00214468 38 A1 00 C4 */ addi r5, r1, 0xc4 /* 8021750C 0021446C D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 80217510 00214470 D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 80217514 00214474 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 80217518 00214478 48 0F B5 69 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 8021751C 0021447C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80217520 00214480 38 61 00 F8 */ addi r3, r1, 0xf8 /* 80217524 00214484 C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 80217528 00214488 38 81 00 EC */ addi r4, r1, 0xec /* 8021752C 0021448C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 80217530 00214490 C0 41 00 D8 */ lfs f2, 0xd8(r1) /* 80217534 00214494 EC 81 00 2A */ fadds f4, f1, f0 /* 80217538 00214498 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 8021753C 0021449C C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 80217540 002144A0 EC 43 10 2A */ fadds f2, f3, f2 /* 80217544 002144A4 D0 81 01 14 */ stfs f4, 0x114(r1) /* 80217548 002144A8 EC 21 00 2A */ fadds f1, f1, f0 /* 8021754C 002144AC D0 41 01 18 */ stfs f2, 0x118(r1) /* 80217550 002144B0 D0 21 01 10 */ stfs f1, 0x110(r1) /* 80217554 002144B4 C0 1E 04 04 */ lfs f0, 0x404(r30) /* 80217558 002144B8 D0 01 01 04 */ stfs f0, 0x104(r1) /* 8021755C 002144BC EC 00 08 28 */ fsubs f0, f0, f1 /* 80217560 002144C0 C0 3E 04 08 */ lfs f1, 0x408(r30) /* 80217564 002144C4 D0 21 01 08 */ stfs f1, 0x108(r1) /* 80217568 002144C8 EC 61 20 28 */ fsubs f3, f1, f4 /* 8021756C 002144CC C0 3E 04 0C */ lfs f1, 0x40c(r30) /* 80217570 002144D0 D0 21 01 0C */ stfs f1, 0x10c(r1) /* 80217574 002144D4 EC 41 10 28 */ fsubs f2, f1, f2 /* 80217578 002144D8 C0 BE 00 58 */ lfs f5, 0x58(r30) /* 8021757C 002144DC C0 9E 00 48 */ lfs f4, 0x48(r30) /* 80217580 002144E0 C0 3E 00 38 */ lfs f1, 0x38(r30) /* 80217584 002144E4 D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 80217588 002144E8 D0 81 00 FC */ stfs f4, 0xfc(r1) /* 8021758C 002144EC D0 A1 01 00 */ stfs f5, 0x100(r1) /* 80217590 002144F0 D0 01 00 EC */ stfs f0, 0xec(r1) /* 80217594 002144F4 D0 61 00 F0 */ stfs f3, 0xf0(r1) /* 80217598 002144F8 D0 41 00 F4 */ stfs f2, 0xf4(r1) /* 8021759C 002144FC 48 0F D0 95 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 802175A0 00214500 C0 02 B3 74 */ lfs f0, lbl_805AD094@sda21(r2) /* 802175A4 00214504 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802175A8 00214508 40 81 00 B8 */ ble lbl_80217660 /* 802175AC 0021450C 38 61 00 EC */ addi r3, r1, 0xec /* 802175B0 00214510 48 0F D1 49 */ bl CanBeNormalized__9CVector3fCFv /* 802175B4 00214514 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802175B8 00214518 41 82 00 74 */ beq lbl_8021762C /* 802175BC 0021451C C0 02 B3 74 */ lfs f0, lbl_805AD094@sda21(r2) /* 802175C0 00214520 38 61 00 AC */ addi r3, r1, 0xac /* 802175C4 00214524 38 81 00 EC */ addi r4, r1, 0xec /* 802175C8 00214528 D0 01 00 54 */ stfs f0, 0x54(r1) /* 802175CC 0021452C 48 0F D2 85 */ bl AsNormalized__9CVector3fCFv /* 802175D0 00214530 38 61 00 B8 */ addi r3, r1, 0xb8 /* 802175D4 00214534 38 81 00 F8 */ addi r4, r1, 0xf8 /* 802175D8 00214538 38 A1 00 AC */ addi r5, r1, 0xac /* 802175DC 0021453C 38 C1 00 54 */ addi r6, r1, 0x54 /* 802175E0 00214540 48 0F D3 75 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 802175E4 00214544 C3 E1 00 B8 */ lfs f31, 0xb8(r1) /* 802175E8 00214548 38 61 00 EC */ addi r3, r1, 0xec /* 802175EC 0021454C C3 C1 00 BC */ lfs f30, 0xbc(r1) /* 802175F0 00214550 C3 A1 00 C0 */ lfs f29, 0xc0(r1) /* 802175F4 00214554 48 0F D2 C5 */ bl Magnitude__9CVector3fCFv /* 802175F8 00214558 EC 81 07 B2 */ fmuls f4, f1, f30 /* 802175FC 0021455C C0 A1 01 14 */ lfs f5, 0x114(r1) /* 80217600 00214560 EC 41 07 72 */ fmuls f2, f1, f29 /* 80217604 00214564 C0 61 01 18 */ lfs f3, 0x118(r1) /* 80217608 00214568 EC 01 07 F2 */ fmuls f0, f1, f31 /* 8021760C 0021456C C0 21 01 10 */ lfs f1, 0x110(r1) /* 80217610 00214570 EC 85 20 2A */ fadds f4, f5, f4 /* 80217614 00214574 EC 43 10 2A */ fadds f2, f3, f2 /* 80217618 00214578 EC 01 00 2A */ fadds f0, f1, f0 /* 8021761C 0021457C D0 81 01 08 */ stfs f4, 0x108(r1) /* 80217620 00214580 D0 01 01 04 */ stfs f0, 0x104(r1) /* 80217624 00214584 D0 41 01 0C */ stfs f2, 0x10c(r1) /* 80217628 00214588 48 00 00 78 */ b lbl_802176A0 lbl_8021762C: /* 8021762C 0021458C C0 21 01 14 */ lfs f1, 0x114(r1) /* 80217630 00214590 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 80217634 00214594 C0 61 01 18 */ lfs f3, 0x118(r1) /* 80217638 00214598 C0 41 01 00 */ lfs f2, 0x100(r1) /* 8021763C 0021459C EC 81 00 2A */ fadds f4, f1, f0 /* 80217640 002145A0 C0 21 01 10 */ lfs f1, 0x110(r1) /* 80217644 002145A4 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 80217648 002145A8 EC 43 10 2A */ fadds f2, f3, f2 /* 8021764C 002145AC D0 81 01 08 */ stfs f4, 0x108(r1) /* 80217650 002145B0 EC 01 00 2A */ fadds f0, f1, f0 /* 80217654 002145B4 D0 41 01 0C */ stfs f2, 0x10c(r1) /* 80217658 002145B8 D0 01 01 04 */ stfs f0, 0x104(r1) /* 8021765C 002145BC 48 00 00 44 */ b lbl_802176A0 lbl_80217660: /* 80217660 002145C0 38 61 00 EC */ addi r3, r1, 0xec /* 80217664 002145C4 48 0F D0 95 */ bl CanBeNormalized__9CVector3fCFv /* 80217668 002145C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021766C 002145CC 40 82 00 34 */ bne lbl_802176A0 /* 80217670 002145D0 C0 21 01 14 */ lfs f1, 0x114(r1) /* 80217674 002145D4 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 80217678 002145D8 C0 61 01 18 */ lfs f3, 0x118(r1) /* 8021767C 002145DC C0 41 01 00 */ lfs f2, 0x100(r1) /* 80217680 002145E0 EC 81 00 2A */ fadds f4, f1, f0 /* 80217684 002145E4 C0 21 01 10 */ lfs f1, 0x110(r1) /* 80217688 002145E8 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 8021768C 002145EC EC 43 10 2A */ fadds f2, f3, f2 /* 80217690 002145F0 D0 81 01 08 */ stfs f4, 0x108(r1) /* 80217694 002145F4 EC 01 00 2A */ fadds f0, f1, f0 /* 80217698 002145F8 D0 41 01 0C */ stfs f2, 0x10c(r1) /* 8021769C 002145FC D0 01 01 04 */ stfs f0, 0x104(r1) lbl_802176A0: /* 802176A0 00214600 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 802176A4 00214604 38 61 01 44 */ addi r3, r1, 0x144 /* 802176A8 00214608 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l /* 802176AC 0021460C 38 A1 01 04 */ addi r5, r1, 0x104 /* 802176B0 00214610 38 81 01 10 */ addi r4, r1, 0x110 /* 802176B4 00214614 48 0F C4 5D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 802176B8 00214618 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 802176BC 0021461C 38 81 01 44 */ addi r4, r1, 0x144 /* 802176C0 00214620 48 0F B4 B5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802176C4 00214624 3C 80 80 3D */ lis r4, lbl_803D2FF0@ha /* 802176C8 00214628 38 60 03 D8 */ li r3, 0x3d8 /* 802176CC 0021462C 38 84 2F F0 */ addi r4, r4, lbl_803D2FF0@l /* 802176D0 00214630 38 A0 00 00 */ li r5, 0 /* 802176D4 00214634 38 84 00 31 */ addi r4, r4, 0x31 /* 802176D8 00214638 48 0F E1 95 */ bl __nw__FUlPCcPCc /* 802176DC 0021463C 7C 7D 1B 79 */ or. r29, r3, r3 /* 802176E0 00214640 41 82 00 B0 */ beq lbl_80217790 /* 802176E4 00214644 A3 9E 03 5A */ lhz r28, 0x35a(r30) /* 802176E8 00214648 7F E4 FB 78 */ mr r4, r31 /* 802176EC 0021464C C0 02 B3 68 */ lfs f0, lbl_805AD088@sda21(r2) /* 802176F0 00214650 38 61 00 30 */ addi r3, r1, 0x30 /* 802176F4 00214654 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 802176F8 00214658 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 802176FC 0021465C D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 80217700 00214660 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 80217704 00214664 B0 01 00 40 */ sth r0, 0x40(r1) /* 80217708 00214668 A0 BE 00 08 */ lhz r5, 8(r30) /* 8021770C 0021466C B0 A1 00 3C */ sth r5, 0x3c(r1) /* 80217710 00214670 80 1E 00 04 */ lwz r0, 4(r30) /* 80217714 00214674 B0 A1 00 38 */ sth r5, 0x38(r1) /* 80217718 00214678 90 01 00 4C */ stw r0, 0x4c(r1) /* 8021771C 0021467C 90 01 00 50 */ stw r0, 0x50(r1) /* 80217720 00214680 4B E3 59 BD */ bl AllocateUniqueId__13CStateManagerFv /* 80217724 00214684 A0 01 00 30 */ lhz r0, 0x30(r1) /* 80217728 00214688 38 61 00 50 */ addi r3, r1, 0x50 /* 8021772C 0021468C 38 81 00 3C */ addi r4, r1, 0x3c /* 80217730 00214690 38 C1 00 40 */ addi r6, r1, 0x40 /* 80217734 00214694 B0 01 00 34 */ sth r0, 0x34(r1) /* 80217738 00214698 39 80 00 00 */ li r12, 0 /* 8021773C 0021469C 39 61 00 A0 */ addi r11, r1, 0xa0 /* 80217740 002146A0 38 1E 04 58 */ addi r0, r30, 0x458 /* 80217744 002146A4 90 61 00 08 */ stw r3, 8(r1) /* 80217748 002146A8 7F A3 EB 78 */ mr r3, r29 /* 8021774C 002146AC 38 BE 03 7C */ addi r5, r30, 0x37c /* 80217750 002146B0 38 E1 01 A4 */ addi r7, r1, 0x1a4 /* 80217754 002146B4 90 81 00 0C */ stw r4, 0xc(r1) /* 80217758 002146B8 39 3E 03 88 */ addi r9, r30, 0x388 /* 8021775C 002146BC 39 41 00 34 */ addi r10, r1, 0x34 /* 80217760 002146C0 38 80 00 01 */ li r4, 1 /* 80217764 002146C4 90 C1 00 10 */ stw r6, 0x10(r1) /* 80217768 002146C8 38 C0 00 09 */ li r6, 9 /* 8021776C 002146CC 39 00 00 21 */ li r8, 0x21 /* 80217770 002146D0 91 81 00 14 */ stw r12, 0x14(r1) /* 80217774 002146D4 91 81 00 18 */ stw r12, 0x18(r1) /* 80217778 002146D8 91 61 00 1C */ stw r11, 0x1c(r1) /* 8021777C 002146DC 90 01 00 20 */ stw r0, 0x20(r1) /* 80217780 002146E0 93 81 00 24 */ stw r28, 0x24(r1) /* 80217784 002146E4 91 81 00 28 */ stw r12, 0x28(r1) /* 80217788 002146E8 4B FF DF 11 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" /* 8021778C 002146EC 7C 7D 1B 78 */ mr r29, r3 lbl_80217790: /* 80217790 002146F0 28 1D 00 00 */ cmplwi r29, 0 /* 80217794 002146F4 41 82 01 84 */ beq lbl_80217918 /* 80217798 002146F8 7F E3 FB 78 */ mr r3, r31 /* 8021779C 002146FC 7F A4 EB 78 */ mr r4, r29 /* 802177A0 00214700 4B E3 55 55 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 802177A4 00214704 38 61 00 60 */ addi r3, r1, 0x60 /* 802177A8 00214708 48 0C B8 D5 */ bl NoParameter__12CPASAnimParmFv /* 802177AC 0021470C 38 61 00 68 */ addi r3, r1, 0x68 /* 802177B0 00214710 48 0C B8 CD */ bl NoParameter__12CPASAnimParmFv /* 802177B4 00214714 38 61 00 70 */ addi r3, r1, 0x70 /* 802177B8 00214718 48 0C B8 C5 */ bl NoParameter__12CPASAnimParmFv /* 802177BC 0021471C 38 61 00 78 */ addi r3, r1, 0x78 /* 802177C0 00214720 48 0C B8 BD */ bl NoParameter__12CPASAnimParmFv /* 802177C4 00214724 38 61 00 80 */ addi r3, r1, 0x80 /* 802177C8 00214728 48 0C B8 B5 */ bl NoParameter__12CPASAnimParmFv /* 802177CC 0021472C 80 1E 05 20 */ lwz r0, 0x520(r30) /* 802177D0 00214730 3C 60 80 3D */ lis r3, lbl_803D2908@ha /* 802177D4 00214734 38 83 29 08 */ addi r4, r3, lbl_803D2908@l /* 802177D8 00214738 38 61 00 88 */ addi r3, r1, 0x88 /* 802177DC 0021473C 54 00 10 3A */ slwi r0, r0, 2 /* 802177E0 00214740 7C 84 00 2E */ lwzx r4, r4, r0 /* 802177E4 00214744 48 0C B7 A1 */ bl FromEnum__12CPASAnimParmFi /* 802177E8 00214748 C0 22 B3 80 */ lfs f1, lbl_805AD0A0@sda21(r2) /* 802177EC 0021474C 38 61 00 90 */ addi r3, r1, 0x90 /* 802177F0 00214750 48 0C B7 F9 */ bl FromReal32__12CPASAnimParmFf /* 802177F4 00214754 38 61 00 98 */ addi r3, r1, 0x98 /* 802177F8 00214758 38 80 00 01 */ li r4, 1 /* 802177FC 0021475C 48 0C B7 89 */ bl FromEnum__12CPASAnimParmFi /* 80217800 00214760 38 61 00 68 */ addi r3, r1, 0x68 /* 80217804 00214764 38 01 00 60 */ addi r0, r1, 0x60 /* 80217808 00214768 90 61 00 08 */ stw r3, 8(r1) /* 8021780C 0021476C 38 61 02 04 */ addi r3, r1, 0x204 /* 80217810 00214770 38 A1 00 98 */ addi r5, r1, 0x98 /* 80217814 00214774 38 C1 00 90 */ addi r6, r1, 0x90 /* 80217818 00214778 90 01 00 0C */ stw r0, 0xc(r1) /* 8021781C 0021477C 38 E1 00 88 */ addi r7, r1, 0x88 /* 80217820 00214780 39 01 00 80 */ addi r8, r1, 0x80 /* 80217824 00214784 39 21 00 78 */ addi r9, r1, 0x78 /* 80217828 00214788 39 41 00 70 */ addi r10, r1, 0x70 /* 8021782C 0021478C 38 80 00 12 */ li r4, 0x12 /* 80217830 00214790 4B E6 5A 95 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 80217834 00214794 80 9E 00 64 */ lwz r4, 0x64(r30) /* 80217838 00214798 38 61 00 58 */ addi r3, r1, 0x58 /* 8021783C 0021479C 38 A1 02 04 */ addi r5, r1, 0x204 /* 80217840 002147A0 38 C0 FF FF */ li r6, -1 /* 80217844 002147A4 80 84 00 10 */ lwz r4, 0x10(r4) /* 80217848 002147A8 38 84 00 3C */ addi r4, r4, 0x3c /* 8021784C 002147AC 48 0C D9 21 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai /* 80217850 002147B0 C0 21 00 58 */ lfs f1, 0x58(r1) /* 80217854 002147B4 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80217858 002147B8 83 81 00 5C */ lwz r28, 0x5c(r1) /* 8021785C 002147BC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217860 002147C0 40 81 00 5C */ ble lbl_802178BC /* 80217864 002147C4 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80217868 002147C8 38 80 00 00 */ li r4, 0 /* 8021786C 002147CC 4B EF DC F5 */ bl EnableLooping__10CModelDataFb /* 80217870 002147D0 C0 02 B3 68 */ lfs f0, lbl_805AD088@sda21(r2) /* 80217874 002147D4 38 00 00 00 */ li r0, 0 /* 80217878 002147D8 38 C0 FF FF */ li r6, -1 /* 8021787C 002147DC 38 60 00 01 */ li r3, 1 /* 80217880 002147E0 93 81 01 1C */ stw r28, 0x11c(r1) /* 80217884 002147E4 38 81 01 1C */ addi r4, r1, 0x11c /* 80217888 002147E8 38 A0 00 00 */ li r5, 0 /* 8021788C 002147EC 90 C1 01 20 */ stw r6, 0x120(r1) /* 80217890 002147F0 D0 01 01 24 */ stfs f0, 0x124(r1) /* 80217894 002147F4 98 61 01 28 */ stb r3, 0x128(r1) /* 80217898 002147F8 90 01 01 2C */ stw r0, 0x12c(r1) /* 8021789C 002147FC 90 01 01 30 */ stw r0, 0x130(r1) /* 802178A0 00214800 98 01 01 34 */ stb r0, 0x134(r1) /* 802178A4 00214804 90 01 01 38 */ stw r0, 0x138(r1) /* 802178A8 00214808 90 01 01 3C */ stw r0, 0x13c(r1) /* 802178AC 0021480C 90 01 01 40 */ stw r0, 0x140(r1) /* 802178B0 00214810 80 7E 00 64 */ lwz r3, 0x64(r30) /* 802178B4 00214814 80 63 00 10 */ lwz r3, 0x10(r3) /* 802178B8 00214818 4B E1 54 C5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb lbl_802178BC: /* 802178BC 0021481C 34 A1 02 08 */ addic. r5, r1, 0x208 /* 802178C0 00214820 41 82 00 58 */ beq lbl_80217918 /* 802178C4 00214824 80 C5 00 00 */ lwz r6, 0(r5) /* 802178C8 00214828 38 60 00 00 */ li r3, 0 /* 802178CC 0021482C 2C 06 00 00 */ cmpwi r6, 0 /* 802178D0 00214830 40 81 00 40 */ ble lbl_80217910 /* 802178D4 00214834 2C 06 00 08 */ cmpwi r6, 8 /* 802178D8 00214838 38 86 FF F8 */ addi r4, r6, -8 /* 802178DC 0021483C 40 81 00 20 */ ble lbl_802178FC /* 802178E0 00214840 38 04 00 07 */ addi r0, r4, 7 /* 802178E4 00214844 54 00 E8 FE */ srwi r0, r0, 3 /* 802178E8 00214848 7C 09 03 A6 */ mtctr r0 /* 802178EC 0021484C 2C 04 00 00 */ cmpwi r4, 0 /* 802178F0 00214850 40 81 00 0C */ ble lbl_802178FC lbl_802178F4: /* 802178F4 00214854 38 63 00 08 */ addi r3, r3, 8 /* 802178F8 00214858 42 00 FF FC */ bdnz lbl_802178F4 lbl_802178FC: /* 802178FC 0021485C 7C 03 30 50 */ subf r0, r3, r6 /* 80217900 00214860 7C 09 03 A6 */ mtctr r0 /* 80217904 00214864 7C 03 30 00 */ cmpw r3, r6 /* 80217908 00214868 40 80 00 08 */ bge lbl_80217910 lbl_8021790C: /* 8021790C 0021486C 42 00 00 00 */ bdnz lbl_8021790C lbl_80217910: /* 80217910 00214870 38 00 00 00 */ li r0, 0 /* 80217914 00214874 90 05 00 00 */ stw r0, 0(r5) lbl_80217918: /* 80217918 00214878 E3 E1 02 88 */ psq_l f31, 648(r1), 0, qr0 /* 8021791C 0021487C CB E1 02 80 */ lfd f31, 0x280(r1) /* 80217920 00214880 E3 C1 02 78 */ psq_l f30, 632(r1), 0, qr0 /* 80217924 00214884 CB C1 02 70 */ lfd f30, 0x270(r1) /* 80217928 00214888 E3 A1 02 68 */ psq_l f29, 616(r1), 0, qr0 /* 8021792C 0021488C CB A1 02 60 */ lfd f29, 0x260(r1) /* 80217930 00214890 83 E1 02 5C */ lwz r31, 0x25c(r1) /* 80217934 00214894 83 C1 02 58 */ lwz r30, 0x258(r1) /* 80217938 00214898 83 A1 02 54 */ lwz r29, 0x254(r1) /* 8021793C 0021489C 80 01 02 94 */ lwz r0, 0x294(r1) /* 80217940 002148A0 83 81 02 50 */ lwz r28, 0x250(r1) /* 80217944 002148A4 7C 08 03 A6 */ mtlr r0 /* 80217948 002148A8 38 21 02 90 */ addi r1, r1, 0x290 /* 8021794C 002148AC 4E 80 00 20 */ blr .global ShouldFire__16CScriptGunTurretCFR13CStateManager ShouldFire__16CScriptGunTurretCFR13CStateManager: /* 80217950 002148B0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80217954 002148B4 7C 08 02 A6 */ mflr r0 /* 80217958 002148B8 90 01 00 14 */ stw r0, 0x14(r1) /* 8021795C 002148BC 80 03 05 20 */ lwz r0, 0x520(r3) /* 80217960 002148C0 2C 00 00 09 */ cmpwi r0, 9 /* 80217964 002148C4 40 82 00 2C */ bne lbl_80217990 /* 80217968 002148C8 C0 23 05 34 */ lfs f1, 0x534(r3) /* 8021796C 002148CC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80217970 002148D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217974 002148D4 4C 40 13 82 */ cror 2, 0, 2 /* 80217978 002148D8 40 82 00 18 */ bne lbl_80217990 /* 8021797C 002148DC 88 03 03 B8 */ lbz r0, 0x3b8(r3) /* 80217980 002148E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80217984 002148E4 41 82 00 0C */ beq lbl_80217990 /* 80217988 002148E8 48 00 01 51 */ bl IsPlayerInFiringRange__16CScriptGunTurretCFR13CStateManager /* 8021798C 002148EC 48 00 00 08 */ b lbl_80217994 lbl_80217990: /* 80217990 002148F0 38 60 00 00 */ li r3, 0 lbl_80217994: /* 80217994 002148F4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80217998 002148F8 7C 08 03 A6 */ mtlr r0 /* 8021799C 002148FC 38 21 00 10 */ addi r1, r1, 0x10 /* 802179A0 00214900 4E 80 00 20 */ blr .global InDetectionRange__16CScriptGunTurretCFR13CStateManager InDetectionRange__16CScriptGunTurretCFR13CStateManager: /* 802179A4 00214904 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802179A8 00214908 7C 08 02 A6 */ mflr r0 /* 802179AC 0021490C 90 01 00 34 */ stw r0, 0x34(r1) /* 802179B0 00214910 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802179B4 00214914 7C 9F 23 78 */ mr r31, r4 /* 802179B8 00214918 93 C1 00 28 */ stw r30, 0x28(r1) /* 802179BC 0021491C 7C 7E 1B 78 */ mr r30, r3 /* 802179C0 00214920 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 802179C4 00214924 80 84 08 4C */ lwz r4, 0x84c(r4) /* 802179C8 00214928 38 63 67 00 */ addi r3, r3, lbl_805A6700@l /* 802179CC 0021492C C0 1E 00 50 */ lfs f0, 0x50(r30) /* 802179D0 00214930 C0 24 00 50 */ lfs f1, 0x50(r4) /* 802179D4 00214934 C0 44 00 40 */ lfs f2, 0x40(r4) /* 802179D8 00214938 EC A1 00 28 */ fsubs f5, f1, f0 /* 802179DC 0021493C C0 3E 00 40 */ lfs f1, 0x40(r30) /* 802179E0 00214940 C0 03 00 04 */ lfs f0, 4(r3) /* 802179E4 00214944 EC 62 08 28 */ fsubs f3, f2, f1 /* 802179E8 00214948 C0 84 00 60 */ lfs f4, 0x60(r4) /* 802179EC 0021494C EC 05 00 32 */ fmuls f0, f5, f0 /* 802179F0 00214950 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 802179F4 00214954 C0 23 00 00 */ lfs f1, 0(r3) /* 802179F8 00214958 EC 84 10 28 */ fsubs f4, f4, f2 /* 802179FC 0021495C C0 43 00 08 */ lfs f2, 8(r3) /* 80217A00 00214960 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 80217A04 00214964 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80217A08 00214968 D0 61 00 14 */ stfs f3, 0x14(r1) /* 80217A0C 0021496C EC 24 08 BA */ fmadds f1, f4, f2, f1 /* 80217A10 00214970 D0 A1 00 18 */ stfs f5, 0x18(r1) /* 80217A14 00214974 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 80217A18 00214978 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217A1C 0021497C 4C 41 13 82 */ cror 2, 1, 2 /* 80217A20 00214980 41 82 00 38 */ beq lbl_80217A58 /* 80217A24 00214984 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 80217A28 00214988 38 61 00 08 */ addi r3, r1, 8 /* 80217A2C 0021498C C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80217A30 00214990 38 81 00 14 */ addi r4, r1, 0x14 /* 80217A34 00214994 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 80217A38 00214998 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80217A3C 0021499C D0 01 00 08 */ stfs f0, 8(r1) /* 80217A40 002149A0 D0 41 00 10 */ stfs f2, 0x10(r1) /* 80217A44 002149A4 48 0F CB ED */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80217A48 002149A8 C0 02 B3 74 */ lfs f0, lbl_805AD094@sda21(r2) /* 80217A4C 002149AC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217A50 002149B0 4C 40 13 82 */ cror 2, 0, 2 /* 80217A54 002149B4 40 82 00 68 */ bne lbl_80217ABC lbl_80217A58: /* 80217A58 002149B8 C0 21 00 14 */ lfs f1, 0x14(r1) /* 80217A5C 002149BC C0 01 00 18 */ lfs f0, 0x18(r1) /* 80217A60 002149C0 EC 41 00 72 */ fmuls f2, f1, f1 /* 80217A64 002149C4 C0 81 00 1C */ lfs f4, 0x1c(r1) /* 80217A68 002149C8 EC 20 00 32 */ fmuls f1, f0, f0 /* 80217A6C 002149CC C0 1E 03 00 */ lfs f0, 0x300(r30) /* 80217A70 002149D0 EC 64 01 32 */ fmuls f3, f4, f4 /* 80217A74 002149D4 EC 00 00 32 */ fmuls f0, f0, f0 /* 80217A78 002149D8 EC 22 08 2A */ fadds f1, f2, f1 /* 80217A7C 002149DC EC 23 08 2A */ fadds f1, f3, f1 /* 80217A80 002149E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217A84 002149E4 4C 40 13 82 */ cror 2, 0, 2 /* 80217A88 002149E8 40 82 00 34 */ bne lbl_80217ABC /* 80217A8C 002149EC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80217A90 002149F0 C0 3E 03 04 */ lfs f1, 0x304(r30) /* 80217A94 002149F4 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 80217A98 002149F8 41 82 00 14 */ beq lbl_80217AAC /* 80217A9C 002149FC FC 00 22 10 */ fabs f0, f4 /* 80217AA0 00214A00 FC 00 00 18 */ frsp f0, f0 /* 80217AA4 00214A04 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80217AA8 00214A08 40 80 00 14 */ bge lbl_80217ABC lbl_80217AAC: /* 80217AAC 00214A0C 7F C3 F3 78 */ mr r3, r30 /* 80217AB0 00214A10 7F E4 FB 78 */ mr r4, r31 /* 80217AB4 00214A14 4B FF E4 F5 */ bl LineOfSightTest__16CScriptGunTurretCFR13CStateManager /* 80217AB8 00214A18 48 00 00 08 */ b lbl_80217AC0 lbl_80217ABC: /* 80217ABC 00214A1C 38 60 00 00 */ li r3, 0 lbl_80217AC0: /* 80217AC0 00214A20 80 01 00 34 */ lwz r0, 0x34(r1) /* 80217AC4 00214A24 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80217AC8 00214A28 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80217ACC 00214A2C 7C 08 03 A6 */ mtlr r0 /* 80217AD0 00214A30 38 21 00 30 */ addi r1, r1, 0x30 /* 80217AD4 00214A34 4E 80 00 20 */ blr .global IsPlayerInFiringRange__16CScriptGunTurretCFR13CStateManager IsPlayerInFiringRange__16CScriptGunTurretCFR13CStateManager: /* 80217AD8 00214A38 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80217ADC 00214A3C 7C 08 02 A6 */ mflr r0 /* 80217AE0 00214A40 90 01 00 44 */ stw r0, 0x44(r1) /* 80217AE4 00214A44 DB E1 00 30 */ stfd f31, 0x30(r1) /* 80217AE8 00214A48 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 80217AEC 00214A4C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80217AF0 00214A50 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80217AF4 00214A54 7C 7F 1B 78 */ mr r31, r3 /* 80217AF8 00214A58 C0 43 00 50 */ lfs f2, 0x50(r3) /* 80217AFC 00214A5C 38 61 00 08 */ addi r3, r1, 8 /* 80217B00 00214A60 C0 64 00 50 */ lfs f3, 0x50(r4) /* 80217B04 00214A64 C0 24 00 40 */ lfs f1, 0x40(r4) /* 80217B08 00214A68 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80217B0C 00214A6C EC 43 10 28 */ fsubs f2, f3, f2 /* 80217B10 00214A70 C0 64 00 60 */ lfs f3, 0x60(r4) /* 80217B14 00214A74 EC 21 00 28 */ fsubs f1, f1, f0 /* 80217B18 00214A78 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 80217B1C 00214A7C D0 41 00 20 */ stfs f2, 0x20(r1) /* 80217B20 00214A80 EC 03 00 28 */ fsubs f0, f3, f0 /* 80217B24 00214A84 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 80217B28 00214A88 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80217B2C 00214A8C 48 0F C6 D5 */ bl __ct__9CVector2fFff /* 80217B30 00214A90 C0 3F 05 54 */ lfs f1, 0x554(r31) /* 80217B34 00214A94 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80217B38 00214A98 C0 62 B3 5C */ lfs f3, lbl_805AD07C@sda21(r2) /* 80217B3C 00214A9C EC 01 00 32 */ fmuls f0, f1, f0 /* 80217B40 00214AA0 C0 5F 05 50 */ lfs f2, 0x550(r31) /* 80217B44 00214AA4 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 80217B48 00214AA8 C0 A1 00 08 */ lfs f5, 8(r1) /* 80217B4C 00214AAC EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 80217B50 00214AB0 C0 5F 05 58 */ lfs f2, 0x558(r31) /* 80217B54 00214AB4 C0 21 00 24 */ lfs f1, 0x24(r1) /* 80217B58 00214AB8 C0 81 00 0C */ lfs f4, 0xc(r1) /* 80217B5C 00214ABC EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 80217B60 00214AC0 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 80217B64 00214AC4 D0 81 00 14 */ stfs f4, 0x14(r1) /* 80217B68 00214AC8 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 80217B6C 00214ACC D0 61 00 18 */ stfs f3, 0x18(r1) /* 80217B70 00214AD0 4C 41 13 82 */ cror 2, 1, 2 /* 80217B74 00214AD4 40 82 00 28 */ bne lbl_80217B9C /* 80217B78 00214AD8 C3 FF 02 F4 */ lfs f31, 0x2f4(r31) /* 80217B7C 00214ADC 38 7F 05 44 */ addi r3, r31, 0x544 /* 80217B80 00214AE0 38 81 00 10 */ addi r4, r1, 0x10 /* 80217B84 00214AE4 48 0F CA AD */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80217B88 00214AE8 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 80217B8C 00214AEC 4C 40 13 82 */ cror 2, 0, 2 /* 80217B90 00214AF0 7C 00 00 26 */ mfcr r0 /* 80217B94 00214AF4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 80217B98 00214AF8 48 00 00 24 */ b lbl_80217BBC lbl_80217B9C: /* 80217B9C 00214AFC C3 FF 02 F0 */ lfs f31, 0x2f0(r31) /* 80217BA0 00214B00 38 7F 05 44 */ addi r3, r31, 0x544 /* 80217BA4 00214B04 38 81 00 10 */ addi r4, r1, 0x10 /* 80217BA8 00214B08 48 0F CA 89 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80217BAC 00214B0C FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 80217BB0 00214B10 4C 40 13 82 */ cror 2, 0, 2 /* 80217BB4 00214B14 7C 00 00 26 */ mfcr r0 /* 80217BB8 00214B18 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f lbl_80217BBC: /* 80217BBC 00214B1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80217BC0 00214B20 41 82 00 48 */ beq lbl_80217C08 /* 80217BC4 00214B24 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80217BC8 00214B28 38 81 00 1C */ addi r4, r1, 0x1c /* 80217BCC 00214B2C 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l /* 80217BD0 00214B30 48 0F CA 61 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80217BD4 00214B34 C0 42 B3 84 */ lfs f2, lbl_805AD0A4@sda21(r2) /* 80217BD8 00214B38 38 00 00 00 */ li r0, 0 /* 80217BDC 00214B3C C0 02 B3 88 */ lfs f0, lbl_805AD0A8@sda21(r2) /* 80217BE0 00214B40 EC 21 10 28 */ fsubs f1, f1, f2 /* 80217BE4 00214B44 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217BE8 00214B48 4C 41 13 82 */ cror 2, 1, 2 /* 80217BEC 00214B4C 40 82 00 18 */ bne lbl_80217C04 /* 80217BF0 00214B50 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) /* 80217BF4 00214B54 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217BF8 00214B58 4C 40 13 82 */ cror 2, 0, 2 /* 80217BFC 00214B5C 40 82 00 08 */ bne lbl_80217C04 /* 80217C00 00214B60 38 00 00 01 */ li r0, 1 lbl_80217C04: /* 80217C04 00214B64 7C 03 03 78 */ mr r3, r0 lbl_80217C08: /* 80217C08 00214B68 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80217C0C 00214B6C 80 01 00 44 */ lwz r0, 0x44(r1) /* 80217C10 00214B70 CB E1 00 30 */ lfd f31, 0x30(r1) /* 80217C14 00214B74 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80217C18 00214B78 7C 08 03 A6 */ mtlr r0 /* 80217C1C 00214B7C 38 21 00 40 */ addi r1, r1, 0x40 /* 80217C20 00214B80 4E 80 00 20 */ blr .global IsInsignificantRotation__16CScriptGunTurretCFf IsInsignificantRotation__16CScriptGunTurretCFf: /* 80217C24 00214B84 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80217C28 00214B88 7C 08 02 A6 */ mflr r0 /* 80217C2C 00214B8C 90 01 00 54 */ stw r0, 0x54(r1) /* 80217C30 00214B90 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80217C34 00214B94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80217C38 00214B98 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80217C3C 00214B9C 7C 7F 1B 78 */ mr r31, r3 /* 80217C40 00214BA0 C0 43 00 48 */ lfs f2, 0x48(r3) /* 80217C44 00214BA4 FF E0 08 90 */ fmr f31, f1 /* 80217C48 00214BA8 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80217C4C 00214BAC C0 1F 00 58 */ lfs f0, 0x58(r31) /* 80217C50 00214BB0 38 61 00 10 */ addi r3, r1, 0x10 /* 80217C54 00214BB4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 80217C58 00214BB8 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 80217C5C 00214BBC D0 01 00 30 */ stfs f0, 0x30(r1) /* 80217C60 00214BC0 48 0F C5 A1 */ bl __ct__9CVector2fFff /* 80217C64 00214BC4 C0 21 00 10 */ lfs f1, 0x10(r1) /* 80217C68 00214BC8 38 61 00 08 */ addi r3, r1, 8 /* 80217C6C 00214BCC C0 01 00 14 */ lfs f0, 0x14(r1) /* 80217C70 00214BD0 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80217C74 00214BD4 C0 3F 05 14 */ lfs f1, 0x514(r31) /* 80217C78 00214BD8 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80217C7C 00214BDC C0 5F 05 18 */ lfs f2, 0x518(r31) /* 80217C80 00214BE0 48 0F C5 81 */ bl __ct__9CVector2fFff /* 80217C84 00214BE4 C0 21 00 08 */ lfs f1, 8(r1) /* 80217C88 00214BE8 38 61 00 18 */ addi r3, r1, 0x18 /* 80217C8C 00214BEC C0 01 00 0C */ lfs f0, 0xc(r1) /* 80217C90 00214BF0 38 81 00 20 */ addi r4, r1, 0x20 /* 80217C94 00214BF4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80217C98 00214BF8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80217C9C 00214BFC 48 0F C3 29 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 80217CA0 00214C00 C0 02 B3 8C */ lfs f0, lbl_805AD0AC@sda21(r2) /* 80217CA4 00214C04 EC 00 07 F2 */ fmuls f0, f0, f31 /* 80217CA8 00214C08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217CAC 00214C0C 7C 00 00 26 */ mfcr r0 /* 80217CB0 00214C10 54 03 0F FE */ srwi r3, r0, 0x1f /* 80217CB4 00214C14 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80217CB8 00214C18 80 01 00 54 */ lwz r0, 0x54(r1) /* 80217CBC 00214C1C CB E1 00 40 */ lfd f31, 0x40(r1) /* 80217CC0 00214C20 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80217CC4 00214C24 7C 08 03 A6 */ mtlr r0 /* 80217CC8 00214C28 38 21 00 50 */ addi r1, r1, 0x50 /* 80217CCC 00214C2C 4E 80 00 20 */ blr .global UpdateHealthInfo__16CScriptGunTurretFR13CStateManager UpdateHealthInfo__16CScriptGunTurretFR13CStateManager: /* 80217CD0 00214C30 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80217CD4 00214C34 7C 08 02 A6 */ mflr r0 /* 80217CD8 00214C38 90 01 00 34 */ stw r0, 0x34(r1) /* 80217CDC 00214C3C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80217CE0 00214C40 7C 7F 1B 78 */ mr r31, r3 /* 80217CE4 00214C44 93 C1 00 28 */ stw r30, 0x28(r1) /* 80217CE8 00214C48 7C 9E 23 78 */ mr r30, r4 /* 80217CEC 00214C4C 80 03 02 58 */ lwz r0, 0x258(r3) /* 80217CF0 00214C50 2C 00 00 01 */ cmpwi r0, 1 /* 80217CF4 00214C54 41 82 00 B0 */ beq lbl_80217DA4 /* 80217CF8 00214C58 40 80 01 24 */ bge lbl_80217E1C /* 80217CFC 00214C5C 2C 00 00 00 */ cmpwi r0, 0 /* 80217D00 00214C60 40 80 00 08 */ bge lbl_80217D08 /* 80217D04 00214C64 48 00 01 18 */ b lbl_80217E1C lbl_80217D08: /* 80217D08 00214C68 A0 9F 02 5C */ lhz r4, 0x25c(r31) /* 80217D0C 00214C6C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80217D10 00214C70 7C 04 00 40 */ cmplw r4, r0 /* 80217D14 00214C74 41 82 00 80 */ beq lbl_80217D94 /* 80217D18 00214C78 A0 1F 02 5C */ lhz r0, 0x25c(r31) /* 80217D1C 00214C7C 7F C3 F3 78 */ mr r3, r30 /* 80217D20 00214C80 38 81 00 10 */ addi r4, r1, 0x10 /* 80217D24 00214C84 B0 01 00 10 */ sth r0, 0x10(r1) /* 80217D28 00214C88 4B E3 48 4D */ bl ObjectById__13CStateManagerF9TUniqueId /* 80217D2C 00214C8C 7C 64 1B 78 */ mr r4, r3 /* 80217D30 00214C90 38 61 00 18 */ addi r3, r1, 0x18 /* 80217D34 00214C94 4B E9 1A 81 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80217D38 00214C98 80 03 00 04 */ lwz r0, 4(r3) /* 80217D3C 00214C9C 28 00 00 00 */ cmplwi r0, 0 /* 80217D40 00214CA0 40 82 00 DC */ bne lbl_80217E1C /* 80217D44 00214CA4 7F E3 FB 78 */ mr r3, r31 /* 80217D48 00214CA8 7F C5 F3 78 */ mr r5, r30 /* 80217D4C 00214CAC 38 80 00 00 */ li r4, 0 /* 80217D50 00214CB0 48 00 1D C9 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80217D54 00214CB4 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80217D58 00214CB8 38 60 00 00 */ li r3, 0 /* 80217D5C 00214CBC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80217D60 00214CC0 98 1F 05 60 */ stb r0, 0x560(r31) /* 80217D64 00214CC4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80217D68 00214CC8 B0 1F 02 5C */ sth r0, 0x25c(r31) /* 80217D6C 00214CCC 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 80217D70 00214CD0 28 00 00 00 */ cmplwi r0, 0 /* 80217D74 00214CD4 41 82 00 A8 */ beq lbl_80217E1C /* 80217D78 00214CD8 80 1F 05 0C */ lwz r0, 0x50c(r31) /* 80217D7C 00214CDC 38 61 00 14 */ addi r3, r1, 0x14 /* 80217D80 00214CE0 90 01 00 14 */ stw r0, 0x14(r1) /* 80217D84 00214CE4 48 0D 21 01 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80217D88 00214CE8 38 00 00 00 */ li r0, 0 /* 80217D8C 00214CEC 90 1F 05 0C */ stw r0, 0x50c(r31) /* 80217D90 00214CF0 48 00 00 8C */ b lbl_80217E1C lbl_80217D94: /* 80217D94 00214CF4 7F C5 F3 78 */ mr r5, r30 /* 80217D98 00214CF8 38 80 00 00 */ li r4, 0 /* 80217D9C 00214CFC 48 00 1D 7D */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80217DA0 00214D00 48 00 00 7C */ b lbl_80217E1C lbl_80217DA4: /* 80217DA4 00214D04 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80217DA8 00214D08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80217DAC 00214D0C 40 82 00 70 */ bne lbl_80217E1C /* 80217DB0 00214D10 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80217DB4 00214D14 2C 00 00 0C */ cmpwi r0, 0xc /* 80217DB8 00214D18 41 82 00 64 */ beq lbl_80217E1C /* 80217DBC 00214D1C 81 83 00 00 */ lwz r12, 0(r3) /* 80217DC0 00214D20 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80217DC4 00214D24 7D 89 03 A6 */ mtctr r12 /* 80217DC8 00214D28 4E 80 04 21 */ bctrl /* 80217DCC 00214D2C C0 23 00 00 */ lfs f1, 0(r3) /* 80217DD0 00214D30 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80217DD4 00214D34 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80217DD8 00214D38 4C 40 13 82 */ cror 2, 0, 2 /* 80217DDC 00214D3C 40 82 00 40 */ bne lbl_80217E1C /* 80217DE0 00214D40 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80217DE4 00214D44 38 60 00 01 */ li r3, 1 /* 80217DE8 00214D48 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80217DEC 00214D4C 7F E3 FB 78 */ mr r3, r31 /* 80217DF0 00214D50 98 1F 05 60 */ stb r0, 0x560(r31) /* 80217DF4 00214D54 7F C5 F3 78 */ mr r5, r30 /* 80217DF8 00214D58 38 80 00 0E */ li r4, 0xe /* 80217DFC 00214D5C 38 C0 FF FF */ li r6, -1 /* 80217E00 00214D60 4B E3 92 C1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 80217E04 00214D64 A0 1F 00 08 */ lhz r0, 8(r31) /* 80217E08 00214D68 7F C3 F3 78 */ mr r3, r30 /* 80217E0C 00214D6C 38 81 00 0C */ addi r4, r1, 0xc /* 80217E10 00214D70 B0 01 00 08 */ sth r0, 8(r1) /* 80217E14 00214D74 B0 01 00 0C */ sth r0, 0xc(r1) /* 80217E18 00214D78 4B E3 44 55 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_80217E1C: /* 80217E1C 00214D7C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80217E20 00214D80 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80217E24 00214D84 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80217E28 00214D88 7C 08 03 A6 */ mtlr r0 /* 80217E2C 00214D8C 38 21 00 30 */ addi r1, r1, 0x30 /* 80217E30 00214D90 4E 80 00 20 */ blr .global UpdateExtensionModelState__16CScriptGunTurretFf UpdateExtensionModelState__16CScriptGunTurretFf: /* 80217E34 00214D94 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80217E38 00214D98 3C A0 80 5A */ lis r5, skZero3f@ha /* 80217E3C 00214D9C 88 04 04 F0 */ lbz r0, 0x4f0(r4) /* 80217E40 00214DA0 C4 85 66 A0 */ lfsu f4, skZero3f@l(r5) /* 80217E44 00214DA4 28 00 00 00 */ cmplwi r0, 0 /* 80217E48 00214DA8 C0 45 00 04 */ lfs f2, 4(r5) /* 80217E4C 00214DAC C0 05 00 08 */ lfs f0, 8(r5) /* 80217E50 00214DB0 41 82 00 F8 */ beq lbl_80217F48 /* 80217E54 00214DB4 C0 02 B3 90 */ lfs f0, lbl_805AD0B0@sda21(r2) /* 80217E58 00214DB8 80 04 05 20 */ lwz r0, 0x520(r4) /* 80217E5C 00214DBC EC 40 00 72 */ fmuls f2, f0, f1 /* 80217E60 00214DC0 2C 00 00 06 */ cmpwi r0, 6 /* 80217E64 00214DC4 41 82 00 84 */ beq lbl_80217EE8 /* 80217E68 00214DC8 40 80 00 18 */ bge lbl_80217E80 /* 80217E6C 00214DCC 2C 00 00 05 */ cmpwi r0, 5 /* 80217E70 00214DD0 40 80 00 4C */ bge lbl_80217EBC /* 80217E74 00214DD4 2C 00 00 03 */ cmpwi r0, 3 /* 80217E78 00214DD8 40 80 00 70 */ bge lbl_80217EE8 /* 80217E7C 00214DDC 48 00 00 40 */ b lbl_80217EBC lbl_80217E80: /* 80217E80 00214DE0 2C 00 00 0C */ cmpwi r0, 0xc /* 80217E84 00214DE4 41 82 00 64 */ beq lbl_80217EE8 /* 80217E88 00214DE8 40 80 00 34 */ bge lbl_80217EBC /* 80217E8C 00214DEC C0 24 04 F8 */ lfs f1, 0x4f8(r4) /* 80217E90 00214DF0 C0 02 B3 4C */ lfs f0, lbl_805AD06C@sda21(r2) /* 80217E94 00214DF4 EC 21 10 2A */ fadds f1, f1, f2 /* 80217E98 00214DF8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80217E9C 00214DFC D0 21 00 0C */ stfs f1, 0xc(r1) /* 80217EA0 00214E00 40 80 00 0C */ bge lbl_80217EAC /* 80217EA4 00214E04 38 A2 B3 4C */ addi r5, r2, lbl_805AD06C@sda21 /* 80217EA8 00214E08 48 00 00 08 */ b lbl_80217EB0 lbl_80217EAC: /* 80217EAC 00214E0C 38 A1 00 0C */ addi r5, r1, 0xc lbl_80217EB0: /* 80217EB0 00214E10 C0 05 00 00 */ lfs f0, 0(r5) /* 80217EB4 00214E14 D0 04 04 F8 */ stfs f0, 0x4f8(r4) /* 80217EB8 00214E18 48 00 00 30 */ b lbl_80217EE8 lbl_80217EBC: /* 80217EBC 00214E1C C0 24 04 F8 */ lfs f1, 0x4f8(r4) /* 80217EC0 00214E20 C0 0D 94 F4 */ lfs f0, lbl_805A80B4@sda21(r13) /* 80217EC4 00214E24 EC 21 10 28 */ fsubs f1, f1, f2 /* 80217EC8 00214E28 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80217ECC 00214E2C D0 21 00 08 */ stfs f1, 8(r1) /* 80217ED0 00214E30 40 80 00 0C */ bge lbl_80217EDC /* 80217ED4 00214E34 38 A1 00 08 */ addi r5, r1, 8 /* 80217ED8 00214E38 48 00 00 08 */ b lbl_80217EE0 lbl_80217EDC: /* 80217EDC 00214E3C 38 AD 94 F4 */ addi r5, r13, lbl_805A80B4@sda21 lbl_80217EE0: /* 80217EE0 00214E40 C0 05 00 00 */ lfs f0, 0(r5) /* 80217EE4 00214E44 D0 04 04 F8 */ stfs f0, 0x4f8(r4) lbl_80217EE8: /* 80217EE8 00214E48 3C A0 80 5A */ lis r5, lbl_805A6700@ha /* 80217EEC 00214E4C C4 45 67 00 */ lfsu f2, lbl_805A6700@l(r5) /* 80217EF0 00214E50 C0 64 04 F8 */ lfs f3, 0x4f8(r4) /* 80217EF4 00214E54 C0 25 00 04 */ lfs f1, 4(r5) /* 80217EF8 00214E58 C0 05 00 08 */ lfs f0, 8(r5) /* 80217EFC 00214E5C EC 43 00 B2 */ fmuls f2, f3, f2 /* 80217F00 00214E60 EC 23 00 72 */ fmuls f1, f3, f1 /* 80217F04 00214E64 C0 C4 03 60 */ lfs f6, 0x360(r4) /* 80217F08 00214E68 EC 03 00 32 */ fmuls f0, f3, f0 /* 80217F0C 00214E6C C0 A4 04 FC */ lfs f5, 0x4fc(r4) /* 80217F10 00214E70 EC 86 00 B2 */ fmuls f4, f6, f2 /* 80217F14 00214E74 EC 46 00 72 */ fmuls f2, f6, f1 /* 80217F18 00214E78 C0 64 05 00 */ lfs f3, 0x500(r4) /* 80217F1C 00214E7C EC 06 00 32 */ fmuls f0, f6, f0 /* 80217F20 00214E80 C0 24 05 04 */ lfs f1, 0x504(r4) /* 80217F24 00214E84 EC A5 20 2A */ fadds f5, f5, f4 /* 80217F28 00214E88 EC 63 10 2A */ fadds f3, f3, f2 /* 80217F2C 00214E8C EC 21 00 2A */ fadds f1, f1, f0 /* 80217F30 00214E90 C0 84 00 40 */ lfs f4, 0x40(r4) /* 80217F34 00214E94 C0 44 00 50 */ lfs f2, 0x50(r4) /* 80217F38 00214E98 C0 04 00 60 */ lfs f0, 0x60(r4) /* 80217F3C 00214E9C EC 85 20 28 */ fsubs f4, f5, f4 /* 80217F40 00214EA0 EC 43 10 28 */ fsubs f2, f3, f2 /* 80217F44 00214EA4 EC 01 00 28 */ fsubs f0, f1, f0 lbl_80217F48: /* 80217F48 00214EA8 D0 83 00 00 */ stfs f4, 0(r3) /* 80217F4C 00214EAC D0 43 00 04 */ stfs f2, 4(r3) /* 80217F50 00214EB0 D0 03 00 08 */ stfs f0, 8(r3) /* 80217F54 00214EB4 38 21 00 10 */ addi r1, r1, 0x10 /* 80217F58 00214EB8 4E 80 00 20 */ blr .global UpdateGunOrientation__16CScriptGunTurretFfR13CStateManager UpdateGunOrientation__16CScriptGunTurretFfR13CStateManager: /* 80217F5C 00214EBC 94 21 FB D0 */ stwu r1, -0x430(r1) /* 80217F60 00214EC0 7C 08 02 A6 */ mflr r0 /* 80217F64 00214EC4 90 01 04 34 */ stw r0, 0x434(r1) /* 80217F68 00214EC8 DB E1 04 20 */ stfd f31, 0x420(r1) /* 80217F6C 00214ECC F3 E1 04 28 */ psq_st f31, 1064(r1), 0, qr0 /* 80217F70 00214ED0 DB C1 04 10 */ stfd f30, 0x410(r1) /* 80217F74 00214ED4 F3 C1 04 18 */ psq_st f30, 1048(r1), 0, qr0 /* 80217F78 00214ED8 DB A1 04 00 */ stfd f29, 0x400(r1) /* 80217F7C 00214EDC F3 A1 04 08 */ psq_st f29, 1032(r1), 0, qr0 /* 80217F80 00214EE0 DB 81 03 F0 */ stfd f28, 0x3f0(r1) /* 80217F84 00214EE4 F3 81 03 F8 */ psq_st f28, 1016(r1), 0, qr0 /* 80217F88 00214EE8 93 E1 03 EC */ stw r31, 0x3ec(r1) /* 80217F8C 00214EEC 93 C1 03 E8 */ stw r30, 0x3e8(r1) /* 80217F90 00214EF0 93 A1 03 E4 */ stw r29, 0x3e4(r1) /* 80217F94 00214EF4 7C 7E 1B 78 */ mr r30, r3 /* 80217F98 00214EF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80217F9C 00214EFC A0 63 02 5C */ lhz r3, 0x25c(r3) /* 80217FA0 00214F00 FF A0 08 90 */ fmr f29, f1 /* 80217FA4 00214F04 7C 9D 23 78 */ mr r29, r4 /* 80217FA8 00214F08 7C 03 00 40 */ cmplw r3, r0 /* 80217FAC 00214F0C 41 82 08 48 */ beq lbl_802187F4 /* 80217FB0 00214F10 A0 1E 02 5C */ lhz r0, 0x25c(r30) /* 80217FB4 00214F14 7F A3 EB 78 */ mr r3, r29 /* 80217FB8 00214F18 38 81 00 08 */ addi r4, r1, 8 /* 80217FBC 00214F1C B0 01 00 08 */ sth r0, 8(r1) /* 80217FC0 00214F20 4B E3 45 B5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80217FC4 00214F24 7C 64 1B 78 */ mr r4, r3 /* 80217FC8 00214F28 38 61 00 40 */ addi r3, r1, 0x40 /* 80217FCC 00214F2C 4B E9 17 E9 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80217FD0 00214F30 83 E3 00 04 */ lwz r31, 4(r3) /* 80217FD4 00214F34 28 1F 00 00 */ cmplwi r31, 0 /* 80217FD8 00214F38 41 82 08 1C */ beq lbl_802187F4 /* 80217FDC 00214F3C 80 82 B3 50 */ lwz r4, lbl_805AD070@sda21(r2) /* 80217FE0 00214F40 38 61 01 90 */ addi r3, r1, 0x190 /* 80217FE4 00214F44 4B DE CC D5 */ bl string_l__4rstlFPCc /* 80217FE8 00214F48 7F C4 F3 78 */ mr r4, r30 /* 80217FEC 00214F4C 38 61 03 1C */ addi r3, r1, 0x31c /* 80217FF0 00214F50 38 A1 01 90 */ addi r5, r1, 0x190 /* 80217FF4 00214F54 4B E3 AF 0D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80217FF8 00214F58 38 61 03 4C */ addi r3, r1, 0x34c /* 80217FFC 00214F5C 38 9E 00 34 */ addi r4, r30, 0x34 /* 80218000 00214F60 38 A1 03 1C */ addi r5, r1, 0x31c /* 80218004 00214F64 48 0F A9 4D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80218008 00214F68 38 61 03 AC */ addi r3, r1, 0x3ac /* 8021800C 00214F6C 38 81 03 4C */ addi r4, r1, 0x34c /* 80218010 00214F70 48 0F AB 65 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80218014 00214F74 38 61 01 90 */ addi r3, r1, 0x190 /* 80218018 00214F78 48 12 5A C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021801C 00214F7C 80 1E 05 20 */ lwz r0, 0x520(r30) /* 80218020 00214F80 2C 00 00 0B */ cmpwi r0, 0xb /* 80218024 00214F84 41 82 03 04 */ beq lbl_80218328 /* 80218028 00214F88 40 80 00 10 */ bge lbl_80218038 /* 8021802C 00214F8C 2C 00 00 09 */ cmpwi r0, 9 /* 80218030 00214F90 40 80 00 14 */ bge lbl_80218044 /* 80218034 00214F94 48 00 07 8C */ b lbl_802187C0 lbl_80218038: /* 80218038 00214F98 2C 00 00 0D */ cmpwi r0, 0xd /* 8021803C 00214F9C 40 80 07 84 */ bge lbl_802187C0 /* 80218040 00214FA0 48 00 04 4C */ b lbl_8021848C lbl_80218044: /* 80218044 00214FA4 C0 01 03 B0 */ lfs f0, 0x3b0(r1) /* 80218048 00214FA8 C0 61 03 D8 */ lfs f3, 0x3d8(r1) /* 8021804C 00214FAC EC 00 00 32 */ fmuls f0, f0, f0 /* 80218050 00214FB0 C0 81 03 C0 */ lfs f4, 0x3c0(r1) /* 80218054 00214FB4 C0 41 03 B8 */ lfs f2, 0x3b8(r1) /* 80218058 00214FB8 C0 21 03 C8 */ lfs f1, 0x3c8(r1) /* 8021805C 00214FBC EC 84 01 3A */ fmadds f4, f4, f4, f0 /* 80218060 00214FC0 C8 02 B3 98 */ lfd f0, lbl_805AD0B8@sda21(r2) /* 80218064 00214FC4 D0 41 02 38 */ stfs f2, 0x238(r1) /* 80218068 00214FC8 C3 C2 B3 5C */ lfs f30, lbl_805AD07C@sda21(r2) /* 8021806C 00214FCC FC 04 00 40 */ fcmpo cr0, f4, f0 /* 80218070 00214FD0 D0 21 02 3C */ stfs f1, 0x23c(r1) /* 80218074 00214FD4 D0 61 02 40 */ stfs f3, 0x240(r1) /* 80218078 00214FD8 40 81 00 58 */ ble lbl_802180D0 /* 8021807C 00214FDC FC 20 20 34 */ frsqrte f1, f4 /* 80218080 00214FE0 C8 62 B3 A0 */ lfd f3, lbl_805AD0C0@sda21(r2) /* 80218084 00214FE4 C8 42 B3 A8 */ lfd f2, lbl_805AD0C8@sda21(r2) /* 80218088 00214FE8 FC 01 00 72 */ fmul f0, f1, f1 /* 8021808C 00214FEC FC 23 00 72 */ fmul f1, f3, f1 /* 80218090 00214FF0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 80218094 00214FF4 FC 21 00 32 */ fmul f1, f1, f0 /* 80218098 00214FF8 FC 01 00 72 */ fmul f0, f1, f1 /* 8021809C 00214FFC FC 23 00 72 */ fmul f1, f3, f1 /* 802180A0 00215000 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 802180A4 00215004 FC 21 00 32 */ fmul f1, f1, f0 /* 802180A8 00215008 FC 01 00 72 */ fmul f0, f1, f1 /* 802180AC 0021500C FC 23 00 72 */ fmul f1, f3, f1 /* 802180B0 00215010 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 802180B4 00215014 FC 21 00 32 */ fmul f1, f1, f0 /* 802180B8 00215018 FC 01 00 72 */ fmul f0, f1, f1 /* 802180BC 0021501C FC 23 00 72 */ fmul f1, f3, f1 /* 802180C0 00215020 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 802180C4 00215024 FC 01 00 32 */ fmul f0, f1, f0 /* 802180C8 00215028 FC 04 00 32 */ fmul f0, f4, f0 /* 802180CC 0021502C 48 00 00 2C */ b lbl_802180F8 lbl_802180D0: /* 802180D0 00215030 FC 00 20 00 */ fcmpu cr0, f0, f4 /* 802180D4 00215034 40 82 00 08 */ bne lbl_802180DC /* 802180D8 00215038 48 00 00 20 */ b lbl_802180F8 lbl_802180DC: /* 802180DC 0021503C FC 04 00 00 */ fcmpu cr0, f4, f0 /* 802180E0 00215040 41 82 00 10 */ beq lbl_802180F0 /* 802180E4 00215044 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha /* 802180E8 00215048 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) /* 802180EC 0021504C 48 00 00 0C */ b lbl_802180F8 lbl_802180F0: /* 802180F0 00215050 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha /* 802180F4 00215054 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) lbl_802180F8: /* 802180F8 00215058 FC 20 00 18 */ frsp f1, f0 /* 802180FC 0021505C C0 02 B3 B0 */ lfs f0, lbl_805AD0D0@sda21(r2) /* 80218100 00215060 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218104 00215064 40 81 00 18 */ ble lbl_8021811C /* 80218108 00215068 C0 21 03 B0 */ lfs f1, 0x3b0(r1) /* 8021810C 0021506C C0 41 03 C0 */ lfs f2, 0x3c0(r1) /* 80218110 00215070 48 17 CB 5D */ bl atan2 /* 80218114 00215074 FC 00 08 50 */ fneg f0, f1 /* 80218118 00215078 FF C0 00 18 */ frsp f30, f0 lbl_8021811C: /* 8021811C 0021507C 7F E3 FB 78 */ mr r3, r31 /* 80218120 00215080 4B E3 C3 39 */ bl GetPitch__6CActorCFv /* 80218124 00215084 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218128 00215088 FF E0 08 90 */ fmr f31, f1 /* 8021812C 0021508C 7F E3 FB 78 */ mr r3, r31 /* 80218130 00215090 7F A4 EB 78 */ mr r4, r29 /* 80218134 00215094 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80218138 00215098 4B FF D7 69 */ bl PlayerInsideTurretSphere__16CScriptGunTurretFR13CStateManager /* 8021813C 0021509C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80218140 002150A0 40 82 01 1C */ bne lbl_8021825C /* 80218144 002150A4 C0 3E 04 08 */ lfs f1, 0x408(r30) /* 80218148 002150A8 38 61 02 2C */ addi r3, r1, 0x22c /* 8021814C 002150AC C0 01 02 3C */ lfs f0, 0x23c(r1) /* 80218150 002150B0 C0 7E 04 0C */ lfs f3, 0x40c(r30) /* 80218154 002150B4 C0 41 02 40 */ lfs f2, 0x240(r1) /* 80218158 002150B8 EC 81 00 28 */ fsubs f4, f1, f0 /* 8021815C 002150BC C0 3E 04 04 */ lfs f1, 0x404(r30) /* 80218160 002150C0 C0 01 02 38 */ lfs f0, 0x238(r1) /* 80218164 002150C4 EC 43 10 28 */ fsubs f2, f3, f2 /* 80218168 002150C8 D0 81 02 30 */ stfs f4, 0x230(r1) /* 8021816C 002150CC EC 01 00 28 */ fsubs f0, f1, f0 /* 80218170 002150D0 D0 41 02 34 */ stfs f2, 0x234(r1) /* 80218174 002150D4 D0 01 02 2C */ stfs f0, 0x22c(r1) /* 80218178 002150D8 48 0F C5 81 */ bl CanBeNormalized__9CVector3fCFv /* 8021817C 002150DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80218180 002150E0 41 82 00 24 */ beq lbl_802181A4 /* 80218184 002150E4 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 80218188 002150E8 38 61 02 EC */ addi r3, r1, 0x2ec /* 8021818C 002150EC 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l /* 80218190 002150F0 38 BE 04 04 */ addi r5, r30, 0x404 /* 80218194 002150F4 38 81 02 38 */ addi r4, r1, 0x238 /* 80218198 002150F8 48 0F B9 79 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 8021819C 002150FC 38 81 02 EC */ addi r4, r1, 0x2ec /* 802181A0 00215100 48 00 00 08 */ b lbl_802181A8 lbl_802181A4: /* 802181A4 00215104 38 9E 00 34 */ addi r4, r30, 0x34 lbl_802181A8: /* 802181A8 00215108 38 61 03 7C */ addi r3, r1, 0x37c /* 802181AC 0021510C 48 0F A9 C9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802181B0 00215110 C0 21 03 90 */ lfs f1, 0x390(r1) /* 802181B4 00215114 C0 01 03 80 */ lfs f0, 0x380(r1) /* 802181B8 00215118 EC 21 00 72 */ fmuls f1, f1, f1 /* 802181BC 0021511C EC 00 00 32 */ fmuls f0, f0, f0 /* 802181C0 00215120 EC 21 00 2A */ fadds f1, f1, f0 /* 802181C4 00215124 48 0F D3 3D */ bl SqrtF__5CMathFf /* 802181C8 00215128 C0 01 03 A0 */ lfs f0, 0x3a0(r1) /* 802181CC 0021512C FC 40 08 90 */ fmr f2, f1 /* 802181D0 00215130 FC 20 00 50 */ fneg f1, f0 /* 802181D4 00215134 48 17 CA 99 */ bl atan2 /* 802181D8 00215138 FC 20 08 50 */ fneg f1, f1 /* 802181DC 0021513C C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802181E0 00215140 FC 60 08 18 */ frsp f3, f1 /* 802181E4 00215144 EC 23 F8 28 */ fsubs f1, f3, f31 /* 802181E8 00215148 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802181EC 0021514C 40 81 00 10 */ ble lbl_802181FC /* 802181F0 00215150 C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 802181F4 00215154 EC 5D 00 32 */ fmuls f2, f29, f0 /* 802181F8 00215158 48 00 00 10 */ b lbl_80218208 lbl_802181FC: /* 802181FC 0021515C C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 80218200 00215160 FC 00 00 50 */ fneg f0, f0 /* 80218204 00215164 EC 5D 00 32 */ fmuls f2, f29, f0 lbl_80218208: /* 80218208 00215168 FC 00 12 10 */ fabs f0, f2 /* 8021820C 0021516C FC 20 0A 10 */ fabs f1, f1 /* 80218210 00215170 FC 00 00 18 */ frsp f0, f0 /* 80218214 00215174 FC 20 08 18 */ frsp f1, f1 /* 80218218 00215178 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021821C 0021517C 4C 40 13 82 */ cror 2, 0, 2 /* 80218220 00215180 40 82 00 08 */ bne lbl_80218228 /* 80218224 00215184 48 00 00 08 */ b lbl_8021822C lbl_80218228: /* 80218228 00215188 EC 7F 10 2A */ fadds f3, f31, f2 lbl_8021822C: /* 8021822C 0021518C D0 61 00 3C */ stfs f3, 0x3c(r1) /* 80218230 00215190 C0 1E 02 F8 */ lfs f0, 0x2f8(r30) /* 80218234 00215194 FC 20 00 50 */ fneg f1, f0 /* 80218238 00215198 FC 00 08 18 */ frsp f0, f1 /* 8021823C 0021519C D0 21 00 34 */ stfs f1, 0x34(r1) /* 80218240 002151A0 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 80218244 002151A4 40 80 00 0C */ bge lbl_80218250 /* 80218248 002151A8 38 61 00 34 */ addi r3, r1, 0x34 /* 8021824C 002151AC 48 00 00 08 */ b lbl_80218254 lbl_80218250: /* 80218250 002151B0 38 61 00 3C */ addi r3, r1, 0x3c lbl_80218254: /* 80218254 002151B4 C0 03 00 00 */ lfs f0, 0(r3) /* 80218258 002151B8 D0 01 00 3C */ stfs f0, 0x3c(r1) lbl_8021825C: /* 8021825C 002151BC C0 21 00 3C */ lfs f1, 0x3c(r1) /* 80218260 002151C0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 80218264 002151C4 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218268 002151C8 38 81 00 30 */ addi r4, r1, 0x30 /* 8021826C 002151CC D3 C1 00 28 */ stfs f30, 0x28(r1) /* 80218270 002151D0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80218274 002151D4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80218278 002151D8 48 0F 8E B9 */ bl YRotation__11CQuaternionFRC9CRelAngle /* 8021827C 002151DC 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80218280 002151E0 38 81 00 2C */ addi r4, r1, 0x2c /* 80218284 002151E4 48 0F 8E E5 */ bl XRotation__11CQuaternionFRC9CRelAngle /* 80218288 002151E8 38 61 00 98 */ addi r3, r1, 0x98 /* 8021828C 002151EC 38 81 00 28 */ addi r4, r1, 0x28 /* 80218290 002151F0 48 0F 8E 69 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80218294 002151F4 38 61 00 88 */ addi r3, r1, 0x88 /* 80218298 002151F8 38 81 00 98 */ addi r4, r1, 0x98 /* 8021829C 002151FC 38 A1 00 A8 */ addi r5, r1, 0xa8 /* 802182A0 00215200 48 0F 8F 01 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 802182A4 00215204 38 61 01 80 */ addi r3, r1, 0x180 /* 802182A8 00215208 38 81 00 88 */ addi r4, r1, 0x88 /* 802182AC 0021520C 38 A1 00 B8 */ addi r5, r1, 0xb8 /* 802182B0 00215210 48 0F 8E F1 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 802182B4 00215214 C0 61 01 80 */ lfs f3, 0x180(r1) /* 802182B8 00215218 38 61 02 98 */ addi r3, r1, 0x298 /* 802182BC 0021521C C0 41 01 84 */ lfs f2, 0x184(r1) /* 802182C0 00215220 38 81 02 1C */ addi r4, r1, 0x21c /* 802182C4 00215224 C0 21 01 88 */ lfs f1, 0x188(r1) /* 802182C8 00215228 C0 01 01 8C */ lfs f0, 0x18c(r1) /* 802182CC 0021522C D0 61 02 1C */ stfs f3, 0x21c(r1) /* 802182D0 00215230 D0 41 02 20 */ stfs f2, 0x220(r1) /* 802182D4 00215234 D0 21 02 24 */ stfs f1, 0x224(r1) /* 802182D8 00215238 D0 01 02 28 */ stfs f0, 0x228(r1) /* 802182DC 0021523C 48 0F 9D B1 */ bl BuildTransform__11CQuaternionCFv /* 802182E0 00215240 38 61 02 BC */ addi r3, r1, 0x2bc /* 802182E4 00215244 38 81 02 98 */ addi r4, r1, 0x298 /* 802182E8 00215248 38 A1 02 38 */ addi r5, r1, 0x238 /* 802182EC 0021524C 48 0F AF 8D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 802182F0 00215250 38 7F 00 34 */ addi r3, r31, 0x34 /* 802182F4 00215254 38 81 02 BC */ addi r4, r1, 0x2bc /* 802182F8 00215258 48 0F A8 49 */ bl __as__12CTransform4fFRC12CTransform4f /* 802182FC 0021525C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80218300 00215260 38 60 00 01 */ li r3, 1 /* 80218304 00215264 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80218308 00215268 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 8021830C 0021526C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80218310 00215270 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80218314 00215274 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80218318 00215278 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 8021831C 0021527C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80218320 00215280 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80218324 00215284 48 00 04 D0 */ b lbl_802187F4 lbl_80218328: /* 80218328 00215288 C0 1E 02 FC */ lfs f0, 0x2fc(r30) /* 8021832C 0021528C 38 61 01 70 */ addi r3, r1, 0x170 /* 80218330 00215290 C0 22 B3 70 */ lfs f1, lbl_805AD090@sda21(r2) /* 80218334 00215294 38 81 01 64 */ addi r4, r1, 0x164 /* 80218338 00215298 EC 1D 00 32 */ fmuls f0, f29, f0 /* 8021833C 0021529C C0 9E 00 58 */ lfs f4, 0x58(r30) /* 80218340 002152A0 C0 7E 00 48 */ lfs f3, 0x48(r30) /* 80218344 002152A4 38 A1 01 58 */ addi r5, r1, 0x158 /* 80218348 002152A8 C0 5E 00 38 */ lfs f2, 0x38(r30) /* 8021834C 002152AC 38 C1 00 24 */ addi r6, r1, 0x24 /* 80218350 002152B0 EF C1 00 32 */ fmuls f30, f1, f0 /* 80218354 002152B4 C0 BF 00 58 */ lfs f5, 0x58(r31) /* 80218358 002152B8 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8021835C 002152BC C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80218360 002152C0 D3 C1 00 24 */ stfs f30, 0x24(r1) /* 80218364 002152C4 D0 41 01 58 */ stfs f2, 0x158(r1) /* 80218368 002152C8 D0 61 01 5C */ stfs f3, 0x15c(r1) /* 8021836C 002152CC D0 81 01 60 */ stfs f4, 0x160(r1) /* 80218370 002152D0 D0 01 01 64 */ stfs f0, 0x164(r1) /* 80218374 002152D4 D0 21 01 68 */ stfs f1, 0x168(r1) /* 80218378 002152D8 D0 A1 01 6C */ stfs f5, 0x16c(r1) /* 8021837C 002152DC 48 0F 93 19 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 80218380 002152E0 C0 61 01 70 */ lfs f3, 0x170(r1) /* 80218384 002152E4 38 A1 02 10 */ addi r5, r1, 0x210 /* 80218388 002152E8 C0 41 01 74 */ lfs f2, 0x174(r1) /* 8021838C 002152EC 38 61 01 4C */ addi r3, r1, 0x14c /* 80218390 002152F0 C0 21 01 78 */ lfs f1, 0x178(r1) /* 80218394 002152F4 38 9F 00 34 */ addi r4, r31, 0x34 /* 80218398 002152F8 C0 01 01 7C */ lfs f0, 0x17c(r1) /* 8021839C 002152FC D0 61 02 0C */ stfs f3, 0x20c(r1) /* 802183A0 00215300 D0 41 02 10 */ stfs f2, 0x210(r1) /* 802183A4 00215304 D0 21 02 14 */ stfs f1, 0x214(r1) /* 802183A8 00215308 D0 01 02 18 */ stfs f0, 0x218(r1) /* 802183AC 0021530C 48 0F A6 79 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 802183B0 00215310 C0 81 02 0C */ lfs f4, 0x20c(r1) /* 802183B4 00215314 FC 20 E8 90 */ fmr f1, f29 /* 802183B8 00215318 C0 61 01 4C */ lfs f3, 0x14c(r1) /* 802183BC 0021531C 7F E3 FB 78 */ mr r3, r31 /* 802183C0 00215320 C0 41 01 50 */ lfs f2, 0x150(r1) /* 802183C4 00215324 38 81 01 FC */ addi r4, r1, 0x1fc /* 802183C8 00215328 C0 01 01 54 */ lfs f0, 0x154(r1) /* 802183CC 0021532C D0 81 01 FC */ stfs f4, 0x1fc(r1) /* 802183D0 00215330 D0 61 02 00 */ stfs f3, 0x200(r1) /* 802183D4 00215334 D0 41 02 04 */ stfs f2, 0x204(r1) /* 802183D8 00215338 D0 01 02 08 */ stfs f0, 0x208(r1) /* 802183DC 0021533C 4B F0 29 81 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf /* 802183E0 00215340 C0 7E 05 44 */ lfs f3, 0x544(r30) /* 802183E4 00215344 38 61 01 3C */ addi r3, r1, 0x13c /* 802183E8 00215348 C0 9E 05 48 */ lfs f4, 0x548(r30) /* 802183EC 0021534C 38 81 01 30 */ addi r4, r1, 0x130 /* 802183F0 00215350 C0 BE 05 4C */ lfs f5, 0x54c(r30) /* 802183F4 00215354 38 A1 01 24 */ addi r5, r1, 0x124 /* 802183F8 00215358 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 802183FC 0021535C 38 C1 00 20 */ addi r6, r1, 0x20 /* 80218400 00215360 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80218404 00215364 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 80218408 00215368 D3 C1 00 20 */ stfs f30, 0x20(r1) /* 8021840C 0021536C D0 61 01 24 */ stfs f3, 0x124(r1) /* 80218410 00215370 D0 81 01 28 */ stfs f4, 0x128(r1) /* 80218414 00215374 D0 A1 01 2C */ stfs f5, 0x12c(r1) /* 80218418 00215378 D0 01 01 30 */ stfs f0, 0x130(r1) /* 8021841C 0021537C D0 21 01 34 */ stfs f1, 0x134(r1) /* 80218420 00215380 D0 41 01 38 */ stfs f2, 0x138(r1) /* 80218424 00215384 48 0F 92 71 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 80218428 00215388 C0 61 01 3C */ lfs f3, 0x13c(r1) /* 8021842C 0021538C 38 A1 01 F0 */ addi r5, r1, 0x1f0 /* 80218430 00215390 C0 41 01 40 */ lfs f2, 0x140(r1) /* 80218434 00215394 38 61 01 18 */ addi r3, r1, 0x118 /* 80218438 00215398 C0 21 01 44 */ lfs f1, 0x144(r1) /* 8021843C 0021539C 38 9E 00 34 */ addi r4, r30, 0x34 /* 80218440 002153A0 C0 01 01 48 */ lfs f0, 0x148(r1) /* 80218444 002153A4 D0 61 01 EC */ stfs f3, 0x1ec(r1) /* 80218448 002153A8 D0 41 01 F0 */ stfs f2, 0x1f0(r1) /* 8021844C 002153AC D0 21 01 F4 */ stfs f1, 0x1f4(r1) /* 80218450 002153B0 D0 01 01 F8 */ stfs f0, 0x1f8(r1) /* 80218454 002153B4 48 0F A5 D1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 80218458 002153B8 C0 81 01 EC */ lfs f4, 0x1ec(r1) /* 8021845C 002153BC FC 20 E8 90 */ fmr f1, f29 /* 80218460 002153C0 C0 61 01 18 */ lfs f3, 0x118(r1) /* 80218464 002153C4 7F C3 F3 78 */ mr r3, r30 /* 80218468 002153C8 C0 41 01 1C */ lfs f2, 0x11c(r1) /* 8021846C 002153CC 38 81 01 DC */ addi r4, r1, 0x1dc /* 80218470 002153D0 C0 01 01 20 */ lfs f0, 0x120(r1) /* 80218474 002153D4 D0 81 01 DC */ stfs f4, 0x1dc(r1) /* 80218478 002153D8 D0 61 01 E0 */ stfs f3, 0x1e0(r1) /* 8021847C 002153DC D0 41 01 E4 */ stfs f2, 0x1e4(r1) /* 80218480 002153E0 D0 01 01 E8 */ stfs f0, 0x1e8(r1) /* 80218484 002153E4 4B F0 28 D9 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf /* 80218488 002153E8 48 00 03 6C */ b lbl_802187F4 lbl_8021848C: /* 8021848C 002153EC C0 01 03 B0 */ lfs f0, 0x3b0(r1) /* 80218490 002153F0 C0 61 03 B8 */ lfs f3, 0x3b8(r1) /* 80218494 002153F4 EC 00 00 32 */ fmuls f0, f0, f0 /* 80218498 002153F8 C0 81 03 C0 */ lfs f4, 0x3c0(r1) /* 8021849C 002153FC C0 41 03 C8 */ lfs f2, 0x3c8(r1) /* 802184A0 00215400 C0 21 03 D8 */ lfs f1, 0x3d8(r1) /* 802184A4 00215404 EC 84 01 3A */ fmadds f4, f4, f4, f0 /* 802184A8 00215408 C8 02 B3 98 */ lfd f0, lbl_805AD0B8@sda21(r2) /* 802184AC 0021540C D0 61 01 D0 */ stfs f3, 0x1d0(r1) /* 802184B0 00215410 C3 C2 B3 5C */ lfs f30, lbl_805AD07C@sda21(r2) /* 802184B4 00215414 FC 04 00 40 */ fcmpo cr0, f4, f0 /* 802184B8 00215418 D0 41 01 D4 */ stfs f2, 0x1d4(r1) /* 802184BC 0021541C D0 21 01 D8 */ stfs f1, 0x1d8(r1) /* 802184C0 00215420 40 81 00 58 */ ble lbl_80218518 /* 802184C4 00215424 FC 20 20 34 */ frsqrte f1, f4 /* 802184C8 00215428 C8 62 B3 A0 */ lfd f3, lbl_805AD0C0@sda21(r2) /* 802184CC 0021542C C8 42 B3 A8 */ lfd f2, lbl_805AD0C8@sda21(r2) /* 802184D0 00215430 FC 01 00 72 */ fmul f0, f1, f1 /* 802184D4 00215434 FC 23 00 72 */ fmul f1, f3, f1 /* 802184D8 00215438 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 802184DC 0021543C FC 21 00 32 */ fmul f1, f1, f0 /* 802184E0 00215440 FC 01 00 72 */ fmul f0, f1, f1 /* 802184E4 00215444 FC 23 00 72 */ fmul f1, f3, f1 /* 802184E8 00215448 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 802184EC 0021544C FC 21 00 32 */ fmul f1, f1, f0 /* 802184F0 00215450 FC 01 00 72 */ fmul f0, f1, f1 /* 802184F4 00215454 FC 23 00 72 */ fmul f1, f3, f1 /* 802184F8 00215458 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 802184FC 0021545C FC 21 00 32 */ fmul f1, f1, f0 /* 80218500 00215460 FC 01 00 72 */ fmul f0, f1, f1 /* 80218504 00215464 FC 23 00 72 */ fmul f1, f3, f1 /* 80218508 00215468 FC 04 10 3C */ fnmsub f0, f4, f0, f2 /* 8021850C 0021546C FC 01 00 32 */ fmul f0, f1, f0 /* 80218510 00215470 FC 04 00 32 */ fmul f0, f4, f0 /* 80218514 00215474 48 00 00 2C */ b lbl_80218540 lbl_80218518: /* 80218518 00215478 FC 00 20 00 */ fcmpu cr0, f0, f4 /* 8021851C 0021547C 40 82 00 08 */ bne lbl_80218524 /* 80218520 00215480 48 00 00 20 */ b lbl_80218540 lbl_80218524: /* 80218524 00215484 FC 04 00 00 */ fcmpu cr0, f4, f0 /* 80218528 00215488 41 82 00 10 */ beq lbl_80218538 /* 8021852C 0021548C 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha /* 80218530 00215490 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) /* 80218534 00215494 48 00 00 0C */ b lbl_80218540 lbl_80218538: /* 80218538 00215498 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha /* 8021853C 0021549C C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) lbl_80218540: /* 80218540 002154A0 FC 20 00 18 */ frsp f1, f0 /* 80218544 002154A4 C0 02 B3 B0 */ lfs f0, lbl_805AD0D0@sda21(r2) /* 80218548 002154A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021854C 002154AC 40 81 00 18 */ ble lbl_80218564 /* 80218550 002154B0 C0 21 03 B0 */ lfs f1, 0x3b0(r1) /* 80218554 002154B4 C0 41 03 C0 */ lfs f2, 0x3c0(r1) /* 80218558 002154B8 48 17 C7 15 */ bl atan2 /* 8021855C 002154BC FC 00 08 50 */ fneg f0, f1 /* 80218560 002154C0 FF C0 00 18 */ frsp f30, f0 lbl_80218564: /* 80218564 002154C4 C0 22 B3 60 */ lfs f1, lbl_805AD080@sda21(r2) /* 80218568 002154C8 C0 1E 05 24 */ lfs f0, 0x524(r30) /* 8021856C 002154CC C3 FE 02 FC */ lfs f31, 0x2fc(r30) /* 80218570 002154D0 EC 01 00 32 */ fmuls f0, f1, f0 /* 80218574 002154D4 C3 9E 02 F8 */ lfs f28, 0x2f8(r30) /* 80218578 002154D8 EC 20 07 F2 */ fmuls f1, f0, f31 /* 8021857C 002154DC 48 0F C7 C9 */ bl FastCosR__5CMathFf /* 80218580 002154E0 C0 42 B3 68 */ lfs f2, lbl_805AD088@sda21(r2) /* 80218584 002154E4 7F E3 FB 78 */ mr r3, r31 /* 80218588 002154E8 C0 02 B3 B4 */ lfs f0, lbl_805AD0D4@sda21(r2) /* 8021858C 002154EC EC 22 08 28 */ fsubs f1, f2, f1 /* 80218590 002154F0 EC 00 07 32 */ fmuls f0, f0, f28 /* 80218594 002154F4 EF 80 00 72 */ fmuls f28, f0, f1 /* 80218598 002154F8 4B E3 BE C1 */ bl GetPitch__6CActorCFv /* 8021859C 002154FC EC 5C 08 28 */ fsubs f2, f28, f1 /* 802185A0 00215500 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802185A4 00215504 EF FF 07 72 */ fmuls f31, f31, f29 /* 802185A8 00215508 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802185AC 0021550C 40 81 00 0C */ ble lbl_802185B8 /* 802185B0 00215510 FC 60 F8 90 */ fmr f3, f31 /* 802185B4 00215514 48 00 00 08 */ b lbl_802185BC lbl_802185B8: /* 802185B8 00215518 FC 60 F8 50 */ fneg f3, f31 lbl_802185BC: /* 802185BC 0021551C FC 00 1A 10 */ fabs f0, f3 /* 802185C0 00215520 FC 40 12 10 */ fabs f2, f2 /* 802185C4 00215524 FC 00 00 18 */ frsp f0, f0 /* 802185C8 00215528 FC 40 10 18 */ frsp f2, f2 /* 802185CC 0021552C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802185D0 00215530 4C 40 13 82 */ cror 2, 0, 2 /* 802185D4 00215534 40 82 00 0C */ bne lbl_802185E0 /* 802185D8 00215538 FC 40 E0 90 */ fmr f2, f28 /* 802185DC 0021553C 48 00 00 08 */ b lbl_802185E4 lbl_802185E0: /* 802185E0 00215540 EC 41 18 2A */ fadds f2, f1, f3 lbl_802185E4: /* 802185E4 00215544 D0 41 00 38 */ stfs f2, 0x38(r1) /* 802185E8 00215548 C0 1E 02 F8 */ lfs f0, 0x2f8(r30) /* 802185EC 0021554C FC 20 00 50 */ fneg f1, f0 /* 802185F0 00215550 FC 00 08 18 */ frsp f0, f1 /* 802185F4 00215554 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 802185F8 00215558 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802185FC 0021555C 40 80 00 0C */ bge lbl_80218608 /* 80218600 00215560 38 61 00 1C */ addi r3, r1, 0x1c /* 80218604 00215564 48 00 00 08 */ b lbl_8021860C lbl_80218608: /* 80218608 00215568 38 61 00 38 */ addi r3, r1, 0x38 lbl_8021860C: /* 8021860C 0021556C C0 23 00 00 */ lfs f1, 0(r3) /* 80218610 00215570 38 61 00 78 */ addi r3, r1, 0x78 /* 80218614 00215574 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218618 00215578 38 81 00 18 */ addi r4, r1, 0x18 /* 8021861C 0021557C D0 21 00 38 */ stfs f1, 0x38(r1) /* 80218620 00215580 D3 C1 00 10 */ stfs f30, 0x10(r1) /* 80218624 00215584 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80218628 00215588 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8021862C 0021558C 48 0F 8B 05 */ bl YRotation__11CQuaternionFRC9CRelAngle /* 80218630 00215590 38 61 00 68 */ addi r3, r1, 0x68 /* 80218634 00215594 38 81 00 14 */ addi r4, r1, 0x14 /* 80218638 00215598 48 0F 8B 31 */ bl XRotation__11CQuaternionFRC9CRelAngle /* 8021863C 0021559C 38 61 00 58 */ addi r3, r1, 0x58 /* 80218640 002155A0 38 81 00 10 */ addi r4, r1, 0x10 /* 80218644 002155A4 48 0F 8A B5 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80218648 002155A8 38 61 00 48 */ addi r3, r1, 0x48 /* 8021864C 002155AC 38 81 00 58 */ addi r4, r1, 0x58 /* 80218650 002155B0 38 A1 00 68 */ addi r5, r1, 0x68 /* 80218654 002155B4 48 0F 8B 4D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80218658 002155B8 38 61 01 08 */ addi r3, r1, 0x108 /* 8021865C 002155BC 38 81 00 48 */ addi r4, r1, 0x48 /* 80218660 002155C0 38 A1 00 78 */ addi r5, r1, 0x78 /* 80218664 002155C4 48 0F 8B 3D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80218668 002155C8 C0 61 01 08 */ lfs f3, 0x108(r1) /* 8021866C 002155CC 38 61 02 44 */ addi r3, r1, 0x244 /* 80218670 002155D0 C0 41 01 0C */ lfs f2, 0x10c(r1) /* 80218674 002155D4 38 81 01 C0 */ addi r4, r1, 0x1c0 /* 80218678 002155D8 C0 21 01 10 */ lfs f1, 0x110(r1) /* 8021867C 002155DC C0 01 01 14 */ lfs f0, 0x114(r1) /* 80218680 002155E0 D0 61 01 C0 */ stfs f3, 0x1c0(r1) /* 80218684 002155E4 D0 41 01 C4 */ stfs f2, 0x1c4(r1) /* 80218688 002155E8 D0 21 01 C8 */ stfs f1, 0x1c8(r1) /* 8021868C 002155EC D0 01 01 CC */ stfs f0, 0x1cc(r1) /* 80218690 002155F0 48 0F 99 FD */ bl BuildTransform__11CQuaternionCFv /* 80218694 002155F4 38 61 02 68 */ addi r3, r1, 0x268 /* 80218698 002155F8 38 81 02 44 */ addi r4, r1, 0x244 /* 8021869C 002155FC 38 A1 01 D0 */ addi r5, r1, 0x1d0 /* 802186A0 00215600 48 0F AB D9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f /* 802186A4 00215604 38 7F 00 34 */ addi r3, r31, 0x34 /* 802186A8 00215608 38 81 02 68 */ addi r4, r1, 0x268 /* 802186AC 0021560C 48 0F A4 95 */ bl __as__12CTransform4fFRC12CTransform4f /* 802186B0 00215610 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 802186B4 00215614 38 60 00 01 */ li r3, 1 /* 802186B8 00215618 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 802186BC 0021561C 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 802186C0 00215620 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 802186C4 00215624 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802186C8 00215628 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 802186CC 0021562C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 802186D0 00215630 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 802186D4 00215634 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 802186D8 00215638 88 1E 05 60 */ lbz r0, 0x560(r30) /* 802186DC 0021563C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 802186E0 00215640 41 82 00 30 */ beq lbl_80218710 /* 802186E4 00215644 C0 5E 05 58 */ lfs f2, 0x558(r30) /* 802186E8 00215648 38 A1 00 FC */ addi r5, r1, 0xfc /* 802186EC 0021564C C0 3E 05 54 */ lfs f1, 0x554(r30) /* 802186F0 00215650 C0 1E 05 50 */ lfs f0, 0x550(r30) /* 802186F4 00215654 FC 40 10 50 */ fneg f2, f2 /* 802186F8 00215658 FC 20 08 50 */ fneg f1, f1 /* 802186FC 0021565C FC 00 00 50 */ fneg f0, f0 /* 80218700 00215660 D0 41 01 04 */ stfs f2, 0x104(r1) /* 80218704 00215664 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 80218708 00215668 D0 21 01 00 */ stfs f1, 0x100(r1) /* 8021870C 0021566C 48 00 00 08 */ b lbl_80218714 lbl_80218710: /* 80218710 00215670 38 BE 05 50 */ addi r5, r30, 0x550 lbl_80218714: /* 80218714 00215674 C0 65 00 00 */ lfs f3, 0(r5) /* 80218718 00215678 38 61 00 EC */ addi r3, r1, 0xec /* 8021871C 0021567C C0 85 00 04 */ lfs f4, 4(r5) /* 80218720 00215680 38 81 00 E0 */ addi r4, r1, 0xe0 /* 80218724 00215684 C0 A5 00 08 */ lfs f5, 8(r5) /* 80218728 00215688 38 A1 00 D4 */ addi r5, r1, 0xd4 /* 8021872C 0021568C C0 5E 00 58 */ lfs f2, 0x58(r30) /* 80218730 00215690 38 C1 00 0C */ addi r6, r1, 0xc /* 80218734 00215694 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80218738 00215698 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 8021873C 0021569C D3 E1 00 0C */ stfs f31, 0xc(r1) /* 80218740 002156A0 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 80218744 002156A4 D0 81 00 D8 */ stfs f4, 0xd8(r1) /* 80218748 002156A8 D0 A1 00 DC */ stfs f5, 0xdc(r1) /* 8021874C 002156AC D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 80218750 002156B0 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 80218754 002156B4 D0 41 00 E8 */ stfs f2, 0xe8(r1) /* 80218758 002156B8 48 0F 8F 3D */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 8021875C 002156BC C0 61 00 EC */ lfs f3, 0xec(r1) /* 80218760 002156C0 38 A1 01 B4 */ addi r5, r1, 0x1b4 /* 80218764 002156C4 C0 41 00 F0 */ lfs f2, 0xf0(r1) /* 80218768 002156C8 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8021876C 002156CC C0 21 00 F4 */ lfs f1, 0xf4(r1) /* 80218770 002156D0 38 9E 00 34 */ addi r4, r30, 0x34 /* 80218774 002156D4 C0 01 00 F8 */ lfs f0, 0xf8(r1) /* 80218778 002156D8 D0 61 01 B0 */ stfs f3, 0x1b0(r1) /* 8021877C 002156DC D0 41 01 B4 */ stfs f2, 0x1b4(r1) /* 80218780 002156E0 D0 21 01 B8 */ stfs f1, 0x1b8(r1) /* 80218784 002156E4 D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 80218788 002156E8 48 0F A2 9D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8021878C 002156EC C0 81 01 B0 */ lfs f4, 0x1b0(r1) /* 80218790 002156F0 FC 20 E8 90 */ fmr f1, f29 /* 80218794 002156F4 C0 61 00 C8 */ lfs f3, 0xc8(r1) /* 80218798 002156F8 7F C3 F3 78 */ mr r3, r30 /* 8021879C 002156FC C0 41 00 CC */ lfs f2, 0xcc(r1) /* 802187A0 00215700 38 81 01 A0 */ addi r4, r1, 0x1a0 /* 802187A4 00215704 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 802187A8 00215708 D0 81 01 A0 */ stfs f4, 0x1a0(r1) /* 802187AC 0021570C D0 61 01 A4 */ stfs f3, 0x1a4(r1) /* 802187B0 00215710 D0 41 01 A8 */ stfs f2, 0x1a8(r1) /* 802187B4 00215714 D0 01 01 AC */ stfs f0, 0x1ac(r1) /* 802187B8 00215718 4B F0 25 A5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf /* 802187BC 0021571C 48 00 00 38 */ b lbl_802187F4 lbl_802187C0: /* 802187C0 00215720 38 7F 00 34 */ addi r3, r31, 0x34 /* 802187C4 00215724 38 81 03 AC */ addi r4, r1, 0x3ac /* 802187C8 00215728 48 0F A3 79 */ bl __as__12CTransform4fFRC12CTransform4f /* 802187CC 0021572C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 802187D0 00215730 38 60 00 01 */ li r3, 1 /* 802187D4 00215734 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 802187D8 00215738 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 802187DC 0021573C 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 802187E0 00215740 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802187E4 00215744 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 802187E8 00215748 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 802187EC 0021574C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 802187F0 00215750 98 1F 00 E4 */ stb r0, 0xe4(r31) lbl_802187F4: /* 802187F4 00215754 E3 E1 04 28 */ psq_l f31, 1064(r1), 0, qr0 /* 802187F8 00215758 CB E1 04 20 */ lfd f31, 0x420(r1) /* 802187FC 0021575C E3 C1 04 18 */ psq_l f30, 1048(r1), 0, qr0 /* 80218800 00215760 CB C1 04 10 */ lfd f30, 0x410(r1) /* 80218804 00215764 E3 A1 04 08 */ psq_l f29, 1032(r1), 0, qr0 /* 80218808 00215768 CB A1 04 00 */ lfd f29, 0x400(r1) /* 8021880C 0021576C E3 81 03 F8 */ psq_l f28, 1016(r1), 0, qr0 /* 80218810 00215770 CB 81 03 F0 */ lfd f28, 0x3f0(r1) /* 80218814 00215774 83 E1 03 EC */ lwz r31, 0x3ec(r1) /* 80218818 00215778 83 C1 03 E8 */ lwz r30, 0x3e8(r1) /* 8021881C 0021577C 80 01 04 34 */ lwz r0, 0x434(r1) /* 80218820 00215780 83 A1 03 E4 */ lwz r29, 0x3e4(r1) /* 80218824 00215784 7C 08 03 A6 */ mtlr r0 /* 80218828 00215788 38 21 04 30 */ addi r1, r1, 0x430 /* 8021882C 0021578C 4E 80 00 20 */ blr .global UpdateTargettingMode__16CScriptGunTurretFfR13CStateManager UpdateTargettingMode__16CScriptGunTurretFfR13CStateManager: /* 80218830 00215790 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80218834 00215794 7C 08 02 A6 */ mflr r0 /* 80218838 00215798 90 01 00 54 */ stw r0, 0x54(r1) /* 8021883C 0021579C DB E1 00 40 */ stfd f31, 0x40(r1) /* 80218840 002157A0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80218844 002157A4 DB C1 00 30 */ stfd f30, 0x30(r1) /* 80218848 002157A8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 8021884C 002157AC DB A1 00 20 */ stfd f29, 0x20(r1) /* 80218850 002157B0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 /* 80218854 002157B4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80218858 002157B8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021885C 002157BC FF A0 08 90 */ fmr f29, f1 /* 80218860 002157C0 7C 9F 23 78 */ mr r31, r4 /* 80218864 002157C4 7C 7E 1B 78 */ mr r30, r3 /* 80218868 002157C8 80 64 08 70 */ lwz r3, 0x870(r4) /* 8021886C 002157CC 4B DF 20 95 */ bl IsInCinematicCamera__14CCameraManagerCFv /* 80218870 002157D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80218874 002157D4 41 82 00 2C */ beq lbl_802188A0 /* 80218878 002157D8 C3 FE 02 E0 */ lfs f31, 0x2e0(r30) /* 8021887C 002157DC C3 DE 02 DC */ lfs f30, 0x2dc(r30) /* 80218880 002157E0 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80218884 002157E4 48 0F 9C 59 */ bl Float__9CRandom16Fv /* 80218888 002157E8 EC 01 F7 FA */ fmadds f0, f1, f31, f30 /* 8021888C 002157EC C0 22 B3 78 */ lfs f1, lbl_805AD098@sda21(r2) /* 80218890 002157F0 D0 1E 05 34 */ stfs f0, 0x534(r30) /* 80218894 002157F4 C0 1E 05 34 */ lfs f0, 0x534(r30) /* 80218898 002157F8 EC 01 00 32 */ fmuls f0, f1, f0 /* 8021889C 002157FC D0 1E 05 38 */ stfs f0, 0x538(r30) lbl_802188A0: /* 802188A0 00215800 C0 3E 05 34 */ lfs f1, 0x534(r30) /* 802188A4 00215804 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802188A8 00215808 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802188AC 0021580C 40 81 00 7C */ ble lbl_80218928 /* 802188B0 00215810 EC 01 E8 28 */ fsubs f0, f1, f29 /* 802188B4 00215814 D0 1E 05 34 */ stfs f0, 0x534(r30) /* 802188B8 00215818 C0 3E 05 34 */ lfs f1, 0x534(r30) /* 802188BC 0021581C C0 1E 05 38 */ lfs f0, 0x538(r30) /* 802188C0 00215820 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802188C4 00215824 40 80 00 D4 */ bge lbl_80218998 /* 802188C8 00215828 80 1E 05 20 */ lwz r0, 0x520(r30) /* 802188CC 0021582C 2C 00 00 0A */ cmpwi r0, 0xa /* 802188D0 00215830 41 82 00 C8 */ beq lbl_80218998 /* 802188D4 00215834 81 5E 00 04 */ lwz r10, 4(r30) /* 802188D8 00215838 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802188DC 0021583C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 802188E0 00215840 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 802188E4 00215844 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 802188E8 00215848 38 61 00 08 */ addi r3, r1, 8 /* 802188EC 0021584C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 802188F0 00215850 38 A1 00 0C */ addi r5, r1, 0xc /* 802188F4 00215854 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 802188F8 00215858 38 E0 00 00 */ li r7, 0 /* 802188FC 0021585C D0 01 00 0C */ stfs f0, 0xc(r1) /* 80218900 00215860 39 00 00 00 */ li r8, 0 /* 80218904 00215864 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80218908 00215868 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8021890C 0021586C A0 9E 03 58 */ lhz r4, 0x358(r30) /* 80218910 00215870 48 0D 19 A1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80218914 00215874 7F C3 F3 78 */ mr r3, r30 /* 80218918 00215878 7F E5 FB 78 */ mr r5, r31 /* 8021891C 0021587C 38 80 00 0A */ li r4, 0xa /* 80218920 00215880 48 00 11 F9 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80218924 00215884 48 00 00 74 */ b lbl_80218998 lbl_80218928: /* 80218928 00215888 80 1E 05 20 */ lwz r0, 0x520(r30) /* 8021892C 0021588C 2C 00 00 09 */ cmpwi r0, 9 /* 80218930 00215890 41 82 00 14 */ beq lbl_80218944 /* 80218934 00215894 7F C3 F3 78 */ mr r3, r30 /* 80218938 00215898 7F E5 FB 78 */ mr r5, r31 /* 8021893C 0021589C 38 80 00 09 */ li r4, 9 /* 80218940 002158A0 48 00 11 D9 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState lbl_80218944: /* 80218944 002158A4 80 1E 03 BC */ lwz r0, 0x3bc(r30) /* 80218948 002158A8 28 00 00 00 */ cmplwi r0, 0 /* 8021894C 002158AC 40 82 00 3C */ bne lbl_80218988 /* 80218950 002158B0 7F C3 F3 78 */ mr r3, r30 /* 80218954 002158B4 7F E4 FB 78 */ mr r4, r31 /* 80218958 002158B8 4B FF DC 3D */ bl UpdateBurstType__16CScriptGunTurretFR13CStateManager /* 8021895C 002158BC C3 DE 02 E0 */ lfs f30, 0x2e0(r30) /* 80218960 002158C0 C3 FE 02 DC */ lfs f31, 0x2dc(r30) /* 80218964 002158C4 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80218968 002158C8 48 0F 9B 75 */ bl Float__9CRandom16Fv /* 8021896C 002158CC EC 01 FF BA */ fmadds f0, f1, f30, f31 /* 80218970 002158D0 C0 22 B3 78 */ lfs f1, lbl_805AD098@sda21(r2) /* 80218974 002158D4 D0 1E 05 34 */ stfs f0, 0x534(r30) /* 80218978 002158D8 C0 1E 05 34 */ lfs f0, 0x534(r30) /* 8021897C 002158DC EC 01 00 32 */ fmuls f0, f1, f0 /* 80218980 002158E0 D0 1E 05 38 */ stfs f0, 0x538(r30) /* 80218984 002158E4 48 00 00 14 */ b lbl_80218998 lbl_80218988: /* 80218988 002158E8 FC 20 E8 90 */ fmr f1, f29 /* 8021898C 002158EC 7F E4 FB 78 */ mr r4, r31 /* 80218990 002158F0 38 7E 03 A4 */ addi r3, r30, 0x3a4 /* 80218994 002158F4 4B F9 49 C1 */ bl Update__10CBurstFireFR13CStateManagerf lbl_80218998: /* 80218998 002158F8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8021899C 002158FC CB E1 00 40 */ lfd f31, 0x40(r1) /* 802189A0 00215900 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 802189A4 00215904 CB C1 00 30 */ lfd f30, 0x30(r1) /* 802189A8 00215908 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 /* 802189AC 0021590C CB A1 00 20 */ lfd f29, 0x20(r1) /* 802189B0 00215910 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802189B4 00215914 80 01 00 54 */ lwz r0, 0x54(r1) /* 802189B8 00215918 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802189BC 0021591C 7C 08 03 A6 */ mtlr r0 /* 802189C0 00215920 38 21 00 50 */ addi r1, r1, 0x50 /* 802189C4 00215924 4E 80 00 20 */ blr .global UpdateTurretAnimation__16CScriptGunTurretFv UpdateTurretAnimation__16CScriptGunTurretFv: /* 802189C8 00215928 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 802189CC 0021592C 7C 08 02 A6 */ mflr r0 /* 802189D0 00215930 90 01 00 D4 */ stw r0, 0xd4(r1) /* 802189D4 00215934 93 E1 00 CC */ stw r31, 0xcc(r1) /* 802189D8 00215938 7C 7F 1B 78 */ mr r31, r3 /* 802189DC 0021593C 38 60 00 00 */ li r3, 0 /* 802189E0 00215940 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 802189E4 00215944 80 9F 00 64 */ lwz r4, 0x64(r31) /* 802189E8 00215948 28 04 00 00 */ cmplwi r4, 0 /* 802189EC 0021594C 41 82 00 14 */ beq lbl_80218A00 /* 802189F0 00215950 80 04 00 10 */ lwz r0, 0x10(r4) /* 802189F4 00215954 28 00 00 00 */ cmplwi r0, 0 /* 802189F8 00215958 41 82 00 08 */ beq lbl_80218A00 /* 802189FC 0021595C 38 60 00 01 */ li r3, 1 lbl_80218A00: /* 80218A00 00215960 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80218A04 00215964 41 82 01 98 */ beq lbl_80218B9C /* 80218A08 00215968 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80218A0C 0021596C 2C 00 00 00 */ cmpwi r0, 0 /* 80218A10 00215970 41 80 01 8C */ blt lbl_80218B9C /* 80218A14 00215974 2C 00 00 0C */ cmpwi r0, 0xc /* 80218A18 00215978 41 81 01 84 */ bgt lbl_80218B9C /* 80218A1C 0021597C 38 61 00 18 */ addi r3, r1, 0x18 /* 80218A20 00215980 48 0C A6 5D */ bl NoParameter__12CPASAnimParmFv /* 80218A24 00215984 38 61 00 20 */ addi r3, r1, 0x20 /* 80218A28 00215988 48 0C A6 55 */ bl NoParameter__12CPASAnimParmFv /* 80218A2C 0021598C 38 61 00 28 */ addi r3, r1, 0x28 /* 80218A30 00215990 48 0C A6 4D */ bl NoParameter__12CPASAnimParmFv /* 80218A34 00215994 38 61 00 30 */ addi r3, r1, 0x30 /* 80218A38 00215998 48 0C A6 45 */ bl NoParameter__12CPASAnimParmFv /* 80218A3C 0021599C 38 61 00 38 */ addi r3, r1, 0x38 /* 80218A40 002159A0 48 0C A6 3D */ bl NoParameter__12CPASAnimParmFv /* 80218A44 002159A4 38 61 00 40 */ addi r3, r1, 0x40 /* 80218A48 002159A8 48 0C A6 35 */ bl NoParameter__12CPASAnimParmFv /* 80218A4C 002159AC 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80218A50 002159B0 3C 60 80 3D */ lis r3, lbl_803D2908@ha /* 80218A54 002159B4 38 83 29 08 */ addi r4, r3, lbl_803D2908@l /* 80218A58 002159B8 38 61 00 48 */ addi r3, r1, 0x48 /* 80218A5C 002159BC 54 00 10 3A */ slwi r0, r0, 2 /* 80218A60 002159C0 7C 84 00 2E */ lwzx r4, r4, r0 /* 80218A64 002159C4 48 0C A5 21 */ bl FromEnum__12CPASAnimParmFi /* 80218A68 002159C8 38 61 00 50 */ addi r3, r1, 0x50 /* 80218A6C 002159CC 38 80 00 00 */ li r4, 0 /* 80218A70 002159D0 48 0C A5 15 */ bl FromEnum__12CPASAnimParmFi /* 80218A74 002159D4 38 61 00 20 */ addi r3, r1, 0x20 /* 80218A78 002159D8 38 01 00 18 */ addi r0, r1, 0x18 /* 80218A7C 002159DC 90 61 00 08 */ stw r3, 8(r1) /* 80218A80 002159E0 38 61 00 80 */ addi r3, r1, 0x80 /* 80218A84 002159E4 38 A1 00 50 */ addi r5, r1, 0x50 /* 80218A88 002159E8 38 C1 00 48 */ addi r6, r1, 0x48 /* 80218A8C 002159EC 90 01 00 0C */ stw r0, 0xc(r1) /* 80218A90 002159F0 38 E1 00 40 */ addi r7, r1, 0x40 /* 80218A94 002159F4 39 01 00 38 */ addi r8, r1, 0x38 /* 80218A98 002159F8 39 21 00 30 */ addi r9, r1, 0x30 /* 80218A9C 002159FC 39 41 00 28 */ addi r10, r1, 0x28 /* 80218AA0 00215A00 38 80 00 05 */ li r4, 5 /* 80218AA4 00215A04 4B E6 48 21 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 80218AA8 00215A08 80 9F 00 64 */ lwz r4, 0x64(r31) /* 80218AAC 00215A0C 38 61 00 10 */ addi r3, r1, 0x10 /* 80218AB0 00215A10 38 A1 00 80 */ addi r5, r1, 0x80 /* 80218AB4 00215A14 38 C0 FF FF */ li r6, -1 /* 80218AB8 00215A18 80 84 00 10 */ lwz r4, 0x10(r4) /* 80218ABC 00215A1C 38 84 00 3C */ addi r4, r4, 0x3c /* 80218AC0 00215A20 48 0C C6 AD */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai /* 80218AC4 00215A24 C0 21 00 10 */ lfs f1, 0x10(r1) /* 80218AC8 00215A28 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218ACC 00215A2C 83 C1 00 14 */ lwz r30, 0x14(r1) /* 80218AD0 00215A30 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218AD4 00215A34 40 81 00 6C */ ble lbl_80218B40 /* 80218AD8 00215A38 80 1F 05 40 */ lwz r0, 0x540(r31) /* 80218ADC 00215A3C 7C 1E 00 00 */ cmpw r30, r0 /* 80218AE0 00215A40 41 82 00 60 */ beq lbl_80218B40 /* 80218AE4 00215A44 C0 02 B3 68 */ lfs f0, lbl_805AD088@sda21(r2) /* 80218AE8 00215A48 38 00 00 00 */ li r0, 0 /* 80218AEC 00215A4C 38 C0 FF FF */ li r6, -1 /* 80218AF0 00215A50 38 60 00 01 */ li r3, 1 /* 80218AF4 00215A54 93 C1 00 58 */ stw r30, 0x58(r1) /* 80218AF8 00215A58 38 81 00 58 */ addi r4, r1, 0x58 /* 80218AFC 00215A5C 38 A0 00 00 */ li r5, 0 /* 80218B00 00215A60 90 C1 00 5C */ stw r6, 0x5c(r1) /* 80218B04 00215A64 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80218B08 00215A68 98 61 00 64 */ stb r3, 0x64(r1) /* 80218B0C 00215A6C 90 01 00 68 */ stw r0, 0x68(r1) /* 80218B10 00215A70 90 01 00 6C */ stw r0, 0x6c(r1) /* 80218B14 00215A74 98 01 00 70 */ stb r0, 0x70(r1) /* 80218B18 00215A78 90 01 00 74 */ stw r0, 0x74(r1) /* 80218B1C 00215A7C 90 01 00 78 */ stw r0, 0x78(r1) /* 80218B20 00215A80 90 01 00 7C */ stw r0, 0x7c(r1) /* 80218B24 00215A84 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80218B28 00215A88 80 63 00 10 */ lwz r3, 0x10(r3) /* 80218B2C 00215A8C 4B E1 42 51 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 80218B30 00215A90 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80218B34 00215A94 38 80 00 01 */ li r4, 1 /* 80218B38 00215A98 4B EF CA 29 */ bl EnableLooping__10CModelDataFb /* 80218B3C 00215A9C 93 DF 05 40 */ stw r30, 0x540(r31) lbl_80218B40: /* 80218B40 00215AA0 34 A1 00 84 */ addic. r5, r1, 0x84 /* 80218B44 00215AA4 41 82 00 58 */ beq lbl_80218B9C /* 80218B48 00215AA8 80 C5 00 00 */ lwz r6, 0(r5) /* 80218B4C 00215AAC 38 60 00 00 */ li r3, 0 /* 80218B50 00215AB0 2C 06 00 00 */ cmpwi r6, 0 /* 80218B54 00215AB4 40 81 00 40 */ ble lbl_80218B94 /* 80218B58 00215AB8 2C 06 00 08 */ cmpwi r6, 8 /* 80218B5C 00215ABC 38 86 FF F8 */ addi r4, r6, -8 /* 80218B60 00215AC0 40 81 00 20 */ ble lbl_80218B80 /* 80218B64 00215AC4 38 04 00 07 */ addi r0, r4, 7 /* 80218B68 00215AC8 54 00 E8 FE */ srwi r0, r0, 3 /* 80218B6C 00215ACC 7C 09 03 A6 */ mtctr r0 /* 80218B70 00215AD0 2C 04 00 00 */ cmpwi r4, 0 /* 80218B74 00215AD4 40 81 00 0C */ ble lbl_80218B80 lbl_80218B78: /* 80218B78 00215AD8 38 63 00 08 */ addi r3, r3, 8 /* 80218B7C 00215ADC 42 00 FF FC */ bdnz lbl_80218B78 lbl_80218B80: /* 80218B80 00215AE0 7C 03 30 50 */ subf r0, r3, r6 /* 80218B84 00215AE4 7C 09 03 A6 */ mtctr r0 /* 80218B88 00215AE8 7C 03 30 00 */ cmpw r3, r6 /* 80218B8C 00215AEC 40 80 00 08 */ bge lbl_80218B94 lbl_80218B90: /* 80218B90 00215AF0 42 00 00 00 */ bdnz lbl_80218B90 lbl_80218B94: /* 80218B94 00215AF4 38 00 00 00 */ li r0, 0 /* 80218B98 00215AF8 90 05 00 00 */ stw r0, 0(r5) lbl_80218B9C: /* 80218B9C 00215AFC 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 80218BA0 00215B00 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80218BA4 00215B04 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 80218BA8 00215B08 7C 08 03 A6 */ mtlr r0 /* 80218BAC 00215B0C 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80218BB0 00215B10 4E 80 00 20 */ blr .global ProcessFrenzyState__16CScriptGunTurretFfR13CStateManager ProcessFrenzyState__16CScriptGunTurretFfR13CStateManager: /* 80218BB4 00215B14 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80218BB8 00215B18 7C 08 02 A6 */ mflr r0 /* 80218BBC 00215B1C 90 01 00 54 */ stw r0, 0x54(r1) /* 80218BC0 00215B20 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80218BC4 00215B24 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80218BC8 00215B28 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80218BCC 00215B2C 93 C1 00 38 */ stw r30, 0x38(r1) /* 80218BD0 00215B30 FF E0 08 90 */ fmr f31, f1 /* 80218BD4 00215B34 2C 04 00 01 */ cmpwi r4, 1 /* 80218BD8 00215B38 7C 7E 1B 78 */ mr r30, r3 /* 80218BDC 00215B3C 7C BF 2B 78 */ mr r31, r5 /* 80218BE0 00215B40 41 82 00 74 */ beq lbl_80218C54 /* 80218BE4 00215B44 40 80 02 30 */ bge lbl_80218E14 /* 80218BE8 00215B48 2C 04 00 00 */ cmpwi r4, 0 /* 80218BEC 00215B4C 40 80 00 08 */ bge lbl_80218BF4 /* 80218BF0 00215B50 48 00 02 24 */ b lbl_80218E14 lbl_80218BF4: /* 80218BF4 00215B54 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80218BF8 00215B58 48 0F 98 E5 */ bl Float__9CRandom16Fv /* 80218BFC 00215B5C C0 02 B3 78 */ lfs f0, lbl_805AD098@sda21(r2) /* 80218C00 00215B60 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218C04 00215B64 7C 60 00 26 */ mfcr r3 /* 80218C08 00215B68 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80218C0C 00215B6C 50 60 0F FE */ rlwimi r0, r3, 1, 0x1f, 0x1f /* 80218C10 00215B70 C0 02 B3 B8 */ lfs f0, lbl_805AD0D8@sda21(r2) /* 80218C14 00215B74 98 1E 05 60 */ stb r0, 0x560(r30) /* 80218C18 00215B78 7F C3 F3 78 */ mr r3, r30 /* 80218C1C 00215B7C 7F E6 FB 78 */ mr r6, r31 /* 80218C20 00215B80 38 80 00 28 */ li r4, 0x28 /* 80218C24 00215B84 D0 1E 05 34 */ stfs f0, 0x534(r30) /* 80218C28 00215B88 38 A0 00 29 */ li r5, 0x29 /* 80218C2C 00215B8C 4B E3 B2 A9 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 80218C30 00215B90 A0 1E 00 08 */ lhz r0, 8(r30) /* 80218C34 00215B94 7F E6 FB 78 */ mr r6, r31 /* 80218C38 00215B98 38 81 00 14 */ addi r4, r1, 0x14 /* 80218C3C 00215B9C 38 A0 00 08 */ li r5, 8 /* 80218C40 00215BA0 B0 01 00 14 */ sth r0, 0x14(r1) /* 80218C44 00215BA4 B0 01 00 10 */ sth r0, 0x10(r1) /* 80218C48 00215BA8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 80218C4C 00215BAC 4B F6 26 09 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager /* 80218C50 00215BB0 48 00 01 C4 */ b lbl_80218E14 lbl_80218C54: /* 80218C54 00215BB4 C0 3E 05 24 */ lfs f1, 0x524(r30) /* 80218C58 00215BB8 C0 1E 03 70 */ lfs f0, 0x370(r30) /* 80218C5C 00215BBC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218C60 00215BC0 4C 41 13 82 */ cror 2, 1, 2 /* 80218C64 00215BC4 40 82 00 44 */ bne lbl_80218CA8 /* 80218C68 00215BC8 38 80 00 00 */ li r4, 0 /* 80218C6C 00215BCC 48 00 0E AD */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80218C70 00215BD0 A0 1E 02 5C */ lhz r0, 0x25c(r30) /* 80218C74 00215BD4 7F E3 FB 78 */ mr r3, r31 /* 80218C78 00215BD8 38 81 00 0C */ addi r4, r1, 0xc /* 80218C7C 00215BDC B0 01 00 0C */ sth r0, 0xc(r1) /* 80218C80 00215BE0 4B E3 38 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80218C84 00215BE4 7C 64 1B 78 */ mr r4, r3 /* 80218C88 00215BE8 38 61 00 20 */ addi r3, r1, 0x20 /* 80218C8C 00215BEC 4B E9 0B 29 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80218C90 00215BF0 80 63 00 04 */ lwz r3, 4(r3) /* 80218C94 00215BF4 28 03 00 00 */ cmplwi r3, 0 /* 80218C98 00215BF8 41 82 01 7C */ beq lbl_80218E14 /* 80218C9C 00215BFC 38 00 00 00 */ li r0, 0 /* 80218CA0 00215C00 90 03 05 20 */ stw r0, 0x520(r3) /* 80218CA4 00215C04 48 00 01 70 */ b lbl_80218E14 lbl_80218CA8: /* 80218CA8 00215C08 C0 BE 00 58 */ lfs f5, 0x58(r30) /* 80218CAC 00215C0C C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80218CB0 00215C10 C0 9E 00 38 */ lfs f4, 0x38(r30) /* 80218CB4 00215C14 D0 81 00 28 */ stfs f4, 0x28(r1) /* 80218CB8 00215C18 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80218CBC 00215C1C D0 A1 00 30 */ stfs f5, 0x30(r1) /* 80218CC0 00215C20 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80218CC4 00215C24 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 80218CC8 00215C28 41 82 00 58 */ beq lbl_80218D20 /* 80218CCC 00215C2C C0 1E 05 54 */ lfs f0, 0x554(r30) /* 80218CD0 00215C30 C0 5E 05 50 */ lfs f2, 0x550(r30) /* 80218CD4 00215C34 EC 20 00 72 */ fmuls f1, f0, f1 /* 80218CD8 00215C38 C0 7E 05 58 */ lfs f3, 0x558(r30) /* 80218CDC 00215C3C C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218CE0 00215C40 EC 22 09 3A */ fmadds f1, f2, f4, f1 /* 80218CE4 00215C44 EC 23 09 7A */ fmadds f1, f3, f5, f1 /* 80218CE8 00215C48 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218CEC 00215C4C 40 80 00 84 */ bge lbl_80218D70 /* 80218CF0 00215C50 38 7E 05 44 */ addi r3, r30, 0x544 /* 80218CF4 00215C54 38 81 00 28 */ addi r4, r1, 0x28 /* 80218CF8 00215C58 48 0F B9 39 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80218CFC 00215C5C C0 02 B3 BC */ lfs f0, lbl_805AD0DC@sda21(r2) /* 80218D00 00215C60 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218D04 00215C64 4C 41 13 82 */ cror 2, 1, 2 /* 80218D08 00215C68 40 82 00 68 */ bne lbl_80218D70 /* 80218D0C 00215C6C 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80218D10 00215C70 38 60 00 00 */ li r3, 0 /* 80218D14 00215C74 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 80218D18 00215C78 98 1E 05 60 */ stb r0, 0x560(r30) /* 80218D1C 00215C7C 48 00 00 54 */ b lbl_80218D70 lbl_80218D20: /* 80218D20 00215C80 C0 1E 05 54 */ lfs f0, 0x554(r30) /* 80218D24 00215C84 C0 5E 05 50 */ lfs f2, 0x550(r30) /* 80218D28 00215C88 EC 20 00 72 */ fmuls f1, f0, f1 /* 80218D2C 00215C8C C0 7E 05 58 */ lfs f3, 0x558(r30) /* 80218D30 00215C90 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218D34 00215C94 EC 22 09 3A */ fmadds f1, f2, f4, f1 /* 80218D38 00215C98 EC 23 09 7A */ fmadds f1, f3, f5, f1 /* 80218D3C 00215C9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218D40 00215CA0 40 81 00 30 */ ble lbl_80218D70 /* 80218D44 00215CA4 38 7E 05 44 */ addi r3, r30, 0x544 /* 80218D48 00215CA8 38 81 00 28 */ addi r4, r1, 0x28 /* 80218D4C 00215CAC 48 0F B8 E5 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80218D50 00215CB0 C0 02 B3 BC */ lfs f0, lbl_805AD0DC@sda21(r2) /* 80218D54 00215CB4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218D58 00215CB8 4C 41 13 82 */ cror 2, 1, 2 /* 80218D5C 00215CBC 40 82 00 14 */ bne lbl_80218D70 /* 80218D60 00215CC0 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80218D64 00215CC4 38 60 00 01 */ li r3, 1 /* 80218D68 00215CC8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 80218D6C 00215CCC 98 1E 05 60 */ stb r0, 0x560(r30) lbl_80218D70: /* 80218D70 00215CD0 A0 1E 02 5C */ lhz r0, 0x25c(r30) /* 80218D74 00215CD4 7F E3 FB 78 */ mr r3, r31 /* 80218D78 00215CD8 38 81 00 08 */ addi r4, r1, 8 /* 80218D7C 00215CDC B0 01 00 08 */ sth r0, 8(r1) /* 80218D80 00215CE0 4B E3 37 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80218D84 00215CE4 7C 64 1B 78 */ mr r4, r3 /* 80218D88 00215CE8 38 61 00 18 */ addi r3, r1, 0x18 /* 80218D8C 00215CEC 4B E9 0A 29 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80218D90 00215CF0 80 E3 00 04 */ lwz r7, 4(r3) /* 80218D94 00215CF4 28 07 00 00 */ cmplwi r7, 0 /* 80218D98 00215CF8 41 82 00 7C */ beq lbl_80218E14 /* 80218D9C 00215CFC C0 3E 05 34 */ lfs f1, 0x534(r30) /* 80218DA0 00215D00 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218DA4 00215D04 EC 21 F8 28 */ fsubs f1, f1, f31 /* 80218DA8 00215D08 D0 3E 05 34 */ stfs f1, 0x534(r30) /* 80218DAC 00215D0C C0 3E 05 34 */ lfs f1, 0x534(r30) /* 80218DB0 00215D10 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218DB4 00215D14 40 80 00 60 */ bge lbl_80218E14 /* 80218DB8 00215D18 C0 A2 B3 C0 */ lfs f5, lbl_805AD0E0@sda21(r2) /* 80218DBC 00215D1C 7F C3 F3 78 */ mr r3, r30 /* 80218DC0 00215D20 C0 07 00 38 */ lfs f0, 0x38(r7) /* 80218DC4 00215D24 7F E5 FB 78 */ mr r5, r31 /* 80218DC8 00215D28 C0 67 00 48 */ lfs f3, 0x48(r7) /* 80218DCC 00215D2C 38 80 00 0A */ li r4, 0xa /* 80218DD0 00215D30 EC 05 00 32 */ fmuls f0, f5, f0 /* 80218DD4 00215D34 C0 27 00 40 */ lfs f1, 0x40(r7) /* 80218DD8 00215D38 C0 47 00 58 */ lfs f2, 0x58(r7) /* 80218DDC 00215D3C EC 85 00 F2 */ fmuls f4, f5, f3 /* 80218DE0 00215D40 C0 C7 00 50 */ lfs f6, 0x50(r7) /* 80218DE4 00215D44 38 C0 FF FF */ li r6, -1 /* 80218DE8 00215D48 EC 01 00 2A */ fadds f0, f1, f0 /* 80218DEC 00215D4C C0 67 00 60 */ lfs f3, 0x60(r7) /* 80218DF0 00215D50 EC 25 00 B2 */ fmuls f1, f5, f2 /* 80218DF4 00215D54 EC 46 20 2A */ fadds f2, f6, f4 /* 80218DF8 00215D58 D0 1E 04 04 */ stfs f0, 0x404(r30) /* 80218DFC 00215D5C EC 03 08 2A */ fadds f0, f3, f1 /* 80218E00 00215D60 D0 5E 04 08 */ stfs f2, 0x408(r30) /* 80218E04 00215D64 D0 1E 04 0C */ stfs f0, 0x40c(r30) /* 80218E08 00215D68 4B E3 82 B9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 80218E0C 00215D6C C0 02 B3 B8 */ lfs f0, lbl_805AD0D8@sda21(r2) /* 80218E10 00215D70 D0 1E 05 34 */ stfs f0, 0x534(r30) lbl_80218E14: /* 80218E14 00215D74 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80218E18 00215D78 80 01 00 54 */ lwz r0, 0x54(r1) /* 80218E1C 00215D7C CB E1 00 40 */ lfd f31, 0x40(r1) /* 80218E20 00215D80 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80218E24 00215D84 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80218E28 00215D88 7C 08 03 A6 */ mtlr r0 /* 80218E2C 00215D8C 38 21 00 50 */ addi r1, r1, 0x50 /* 80218E30 00215D90 4E 80 00 20 */ blr .global ProcessExitTargettingState__16CScriptGunTurretFfR13CStateManager ProcessExitTargettingState__16CScriptGunTurretFfR13CStateManager: /* 80218E34 00215D94 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 80218E38 00215D98 7C 08 02 A6 */ mflr r0 /* 80218E3C 00215D9C 2C 04 00 01 */ cmpwi r4, 1 /* 80218E40 00215DA0 90 01 00 E4 */ stw r0, 0xe4(r1) /* 80218E44 00215DA4 93 E1 00 DC */ stw r31, 0xdc(r1) /* 80218E48 00215DA8 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 80218E4C 00215DAC 7C BE 2B 78 */ mr r30, r5 /* 80218E50 00215DB0 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 80218E54 00215DB4 7C 7D 1B 78 */ mr r29, r3 /* 80218E58 00215DB8 41 82 00 08 */ beq lbl_80218E60 /* 80218E5C 00215DBC 48 00 00 D8 */ b lbl_80218F34 lbl_80218E60: /* 80218E60 00215DC0 A0 7D 02 5C */ lhz r3, 0x25c(r29) /* 80218E64 00215DC4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80218E68 00215DC8 7C 03 00 40 */ cmplw r3, r0 /* 80218E6C 00215DCC 41 82 00 C8 */ beq lbl_80218F34 /* 80218E70 00215DD0 A0 1D 02 5C */ lhz r0, 0x25c(r29) /* 80218E74 00215DD4 7F C3 F3 78 */ mr r3, r30 /* 80218E78 00215DD8 38 81 00 08 */ addi r4, r1, 8 /* 80218E7C 00215DDC B0 01 00 08 */ sth r0, 8(r1) /* 80218E80 00215DE0 4B E3 36 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80218E84 00215DE4 7C 64 1B 78 */ mr r4, r3 /* 80218E88 00215DE8 38 61 00 0C */ addi r3, r1, 0xc /* 80218E8C 00215DEC 4B E9 09 29 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80218E90 00215DF0 83 E3 00 04 */ lwz r31, 4(r3) /* 80218E94 00215DF4 28 1F 00 00 */ cmplwi r31, 0 /* 80218E98 00215DF8 41 82 00 9C */ beq lbl_80218F34 /* 80218E9C 00215DFC 80 82 B3 50 */ lwz r4, lbl_805AD070@sda21(r2) /* 80218EA0 00215E00 38 61 00 14 */ addi r3, r1, 0x14 /* 80218EA4 00215E04 4B DE BE 15 */ bl string_l__4rstlFPCc /* 80218EA8 00215E08 7F A4 EB 78 */ mr r4, r29 /* 80218EAC 00215E0C 38 61 00 3C */ addi r3, r1, 0x3c /* 80218EB0 00215E10 38 A1 00 14 */ addi r5, r1, 0x14 /* 80218EB4 00215E14 4B E3 A0 4D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80218EB8 00215E18 38 61 00 6C */ addi r3, r1, 0x6c /* 80218EBC 00215E1C 38 9D 00 34 */ addi r4, r29, 0x34 /* 80218EC0 00215E20 38 A1 00 3C */ addi r5, r1, 0x3c /* 80218EC4 00215E24 48 0F 9A 8D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80218EC8 00215E28 38 61 00 9C */ addi r3, r1, 0x9c /* 80218ECC 00215E2C 38 81 00 6C */ addi r4, r1, 0x6c /* 80218ED0 00215E30 48 0F 9C A5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80218ED4 00215E34 38 61 00 14 */ addi r3, r1, 0x14 /* 80218ED8 00215E38 48 12 4C 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80218EDC 00215E3C C0 5F 00 58 */ lfs f2, 0x58(r31) /* 80218EE0 00215E40 38 61 00 30 */ addi r3, r1, 0x30 /* 80218EE4 00215E44 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80218EE8 00215E48 38 81 00 24 */ addi r4, r1, 0x24 /* 80218EEC 00215E4C C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80218EF0 00215E50 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80218EF4 00215E54 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80218EF8 00215E58 D0 41 00 38 */ stfs f2, 0x38(r1) /* 80218EFC 00215E5C C0 1D 05 44 */ lfs f0, 0x544(r29) /* 80218F00 00215E60 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80218F04 00215E64 C0 1D 05 48 */ lfs f0, 0x548(r29) /* 80218F08 00215E68 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80218F0C 00215E6C C0 1D 05 4C */ lfs f0, 0x54c(r29) /* 80218F10 00215E70 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80218F14 00215E74 48 0F B7 1D */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80218F18 00215E78 C0 02 B3 C4 */ lfs f0, lbl_805AD0E4@sda21(r2) /* 80218F1C 00215E7C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80218F20 00215E80 40 80 00 14 */ bge lbl_80218F34 /* 80218F24 00215E84 7F A3 EB 78 */ mr r3, r29 /* 80218F28 00215E88 7F C5 F3 78 */ mr r5, r30 /* 80218F2C 00215E8C 38 80 00 06 */ li r4, 6 /* 80218F30 00215E90 48 00 0B E9 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState lbl_80218F34: /* 80218F34 00215E94 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80218F38 00215E98 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 80218F3C 00215E9C 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 80218F40 00215EA0 83 A1 00 D4 */ lwz r29, 0xd4(r1) /* 80218F44 00215EA4 7C 08 03 A6 */ mtlr r0 /* 80218F48 00215EA8 38 21 00 E0 */ addi r1, r1, 0xe0 /* 80218F4C 00215EAC 4E 80 00 20 */ blr .global ProcessTargettingState__16CScriptGunTurretFfR13CStateManager ProcessTargettingState__16CScriptGunTurretFfR13CStateManager: /* 80218F50 00215EB0 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 80218F54 00215EB4 7C 08 02 A6 */ mflr r0 /* 80218F58 00215EB8 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 80218F5C 00215EBC DB E1 01 C0 */ stfd f31, 0x1c0(r1) /* 80218F60 00215EC0 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 /* 80218F64 00215EC4 DB C1 01 B0 */ stfd f30, 0x1b0(r1) /* 80218F68 00215EC8 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 /* 80218F6C 00215ECC DB A1 01 A0 */ stfd f29, 0x1a0(r1) /* 80218F70 00215ED0 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 /* 80218F74 00215ED4 DB 81 01 90 */ stfd f28, 0x190(r1) /* 80218F78 00215ED8 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 /* 80218F7C 00215EDC 93 E1 01 8C */ stw r31, 0x18c(r1) /* 80218F80 00215EE0 93 C1 01 88 */ stw r30, 0x188(r1) /* 80218F84 00215EE4 93 A1 01 84 */ stw r29, 0x184(r1) /* 80218F88 00215EE8 93 81 01 80 */ stw r28, 0x180(r1) /* 80218F8C 00215EEC FF E0 08 90 */ fmr f31, f1 /* 80218F90 00215EF0 2C 04 00 01 */ cmpwi r4, 1 /* 80218F94 00215EF4 7C 7F 1B 78 */ mr r31, r3 /* 80218F98 00215EF8 7C BC 2B 78 */ mr r28, r5 /* 80218F9C 00215EFC 41 82 00 2C */ beq lbl_80218FC8 /* 80218FA0 00215F00 40 80 00 10 */ bge lbl_80218FB0 /* 80218FA4 00215F04 2C 04 00 00 */ cmpwi r4, 0 /* 80218FA8 00215F08 40 80 00 14 */ bge lbl_80218FBC /* 80218FAC 00215F0C 48 00 04 40 */ b lbl_802193EC lbl_80218FB0: /* 80218FB0 00215F10 2C 04 00 03 */ cmpwi r4, 3 /* 80218FB4 00215F14 40 80 04 38 */ bge lbl_802193EC /* 80218FB8 00215F18 48 00 04 24 */ b lbl_802193DC lbl_80218FBC: /* 80218FBC 00215F1C C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80218FC0 00215F20 D0 1F 05 2C */ stfs f0, 0x52c(r31) /* 80218FC4 00215F24 48 00 04 28 */ b lbl_802193EC lbl_80218FC8: /* 80218FC8 00215F28 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80218FCC 00215F2C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80218FD0 00215F30 40 82 00 14 */ bne lbl_80218FE4 /* 80218FD4 00215F34 7F 84 E3 78 */ mr r4, r28 /* 80218FD8 00215F38 4B FF E9 CD */ bl InDetectionRange__16CScriptGunTurretCFR13CStateManager /* 80218FDC 00215F3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80218FE0 00215F40 41 82 03 C8 */ beq lbl_802193A8 lbl_80218FE4: /* 80218FE4 00215F44 FC 20 F8 90 */ fmr f1, f31 /* 80218FE8 00215F48 7F E3 FB 78 */ mr r3, r31 /* 80218FEC 00215F4C 7F 84 E3 78 */ mr r4, r28 /* 80218FF0 00215F50 4B FF F8 41 */ bl UpdateTargettingMode__16CScriptGunTurretFfR13CStateManager /* 80218FF4 00215F54 A0 7F 02 5C */ lhz r3, 0x25c(r31) /* 80218FF8 00215F58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80218FFC 00215F5C 7C 03 00 40 */ cmplw r3, r0 /* 80219000 00215F60 41 82 02 00 */ beq lbl_80219200 /* 80219004 00215F64 A0 1F 02 5C */ lhz r0, 0x25c(r31) /* 80219008 00215F68 7F 83 E3 78 */ mr r3, r28 /* 8021900C 00215F6C 38 81 00 08 */ addi r4, r1, 8 /* 80219010 00215F70 B0 01 00 08 */ sth r0, 8(r1) /* 80219014 00215F74 4B E3 35 61 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80219018 00215F78 7C 64 1B 78 */ mr r4, r3 /* 8021901C 00215F7C 38 61 00 18 */ addi r3, r1, 0x18 /* 80219020 00215F80 4B E9 07 95 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80219024 00215F84 83 A3 00 04 */ lwz r29, 4(r3) /* 80219028 00215F88 28 1D 00 00 */ cmplwi r29, 0 /* 8021902C 00215F8C 41 82 01 D4 */ beq lbl_80219200 /* 80219030 00215F90 C3 DF 04 04 */ lfs f30, 0x404(r31) /* 80219034 00215F94 7F E3 FB 78 */ mr r3, r31 /* 80219038 00215F98 C3 BF 04 08 */ lfs f29, 0x408(r31) /* 8021903C 00215F9C 7F 84 E3 78 */ mr r4, r28 /* 80219040 00215FA0 C3 9F 04 0C */ lfs f28, 0x40c(r31) /* 80219044 00215FA4 4B FF EA 95 */ bl IsPlayerInFiringRange__16CScriptGunTurretCFR13CStateManager /* 80219048 00215FA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021904C 00215FAC 41 82 01 14 */ beq lbl_80219160 /* 80219050 00215FB0 80 82 B3 54 */ lwz r4, lbl_805AD074@sda21(r2) /* 80219054 00215FB4 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80219058 00215FB8 4B DE BC 61 */ bl string_l__4rstlFPCc /* 8021905C 00215FBC 7F A4 EB 78 */ mr r4, r29 /* 80219060 00215FC0 38 61 01 20 */ addi r3, r1, 0x120 /* 80219064 00215FC4 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 80219068 00215FC8 4B E3 9E 99 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021906C 00215FCC 38 61 01 50 */ addi r3, r1, 0x150 /* 80219070 00215FD0 38 81 01 20 */ addi r4, r1, 0x120 /* 80219074 00215FD4 48 0F 9B 01 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80219078 00215FD8 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8021907C 00215FDC 48 12 4A 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80219080 00215FE0 C0 41 01 5C */ lfs f2, 0x15c(r1) /* 80219084 00215FE4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80219088 00215FE8 C0 21 01 6C */ lfs f1, 0x16c(r1) /* 8021908C 00215FEC 38 9D 00 34 */ addi r4, r29, 0x34 /* 80219090 00215FF0 C0 01 01 7C */ lfs f0, 0x17c(r1) /* 80219094 00215FF4 38 A1 00 9C */ addi r5, r1, 0x9c /* 80219098 00215FF8 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 8021909C 00215FFC D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 802190A0 00216000 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 802190A4 00216004 48 0F 99 DD */ bl Rotate__12CTransform4fCFRC9CVector3f /* 802190A8 00216008 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 802190AC 0021600C 7F 85 E3 78 */ mr r5, r28 /* 802190B0 00216010 C0 01 00 AC */ lfs f0, 0xac(r1) /* 802190B4 00216014 38 61 00 90 */ addi r3, r1, 0x90 /* 802190B8 00216018 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 802190BC 0021601C C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 802190C0 00216020 EC 81 00 2A */ fadds f4, f1, f0 /* 802190C4 00216024 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 802190C8 00216028 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 802190CC 0021602C EC 43 10 2A */ fadds f2, f3, f2 /* 802190D0 00216030 D0 81 01 18 */ stfs f4, 0x118(r1) /* 802190D4 00216034 EC 01 00 2A */ fadds f0, f1, f0 /* 802190D8 00216038 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 802190DC 0021603C D0 41 01 1C */ stfs f2, 0x11c(r1) /* 802190E0 00216040 D0 01 01 14 */ stfs f0, 0x114(r1) /* 802190E4 00216044 80 9C 08 4C */ lwz r4, 0x84c(r28) /* 802190E8 00216048 81 84 00 00 */ lwz r12, 0(r4) /* 802190EC 0021604C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802190F0 00216050 7D 89 03 A6 */ mtctr r12 /* 802190F4 00216054 4E 80 04 21 */ bctrl /* 802190F8 00216058 C0 01 00 90 */ lfs f0, 0x90(r1) /* 802190FC 0021605C 7F 85 E3 78 */ mr r5, r28 /* 80219100 00216060 38 61 00 78 */ addi r3, r1, 0x78 /* 80219104 00216064 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 80219108 00216068 D0 1F 04 04 */ stfs f0, 0x404(r31) /* 8021910C 0021606C C0 01 00 94 */ lfs f0, 0x94(r1) /* 80219110 00216070 D0 1F 04 08 */ stfs f0, 0x408(r31) /* 80219114 00216074 C0 01 00 98 */ lfs f0, 0x98(r1) /* 80219118 00216078 D0 1F 04 0C */ stfs f0, 0x40c(r31) /* 8021911C 0021607C 80 9C 08 4C */ lwz r4, 0x84c(r28) /* 80219120 00216080 81 84 00 00 */ lwz r12, 0(r4) /* 80219124 00216084 7C 9E 23 78 */ mr r30, r4 /* 80219128 00216088 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8021912C 0021608C 7D 89 03 A6 */ mtctr r12 /* 80219130 00216090 4E 80 04 21 */ bctrl /* 80219134 00216094 FC 20 F8 90 */ fmr f1, f31 /* 80219138 00216098 7F C7 F3 78 */ mr r7, r30 /* 8021913C 0021609C 38 61 00 84 */ addi r3, r1, 0x84 /* 80219140 002160A0 38 9F 03 7C */ addi r4, r31, 0x37c /* 80219144 002160A4 38 A1 01 14 */ addi r5, r1, 0x114 /* 80219148 002160A8 38 C1 00 78 */ addi r6, r1, 0x78 /* 8021914C 002160AC 39 00 00 00 */ li r8, 0 /* 80219150 002160B0 48 00 2D 9D */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf /* 80219154 002160B4 C3 C1 00 84 */ lfs f30, 0x84(r1) /* 80219158 002160B8 C3 A1 00 88 */ lfs f29, 0x88(r1) /* 8021915C 002160BC C3 81 00 8C */ lfs f28, 0x8c(r1) lbl_80219160: /* 80219160 002160C0 C0 3F 04 08 */ lfs f1, 0x408(r31) /* 80219164 002160C4 38 61 01 08 */ addi r3, r1, 0x108 /* 80219168 002160C8 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 8021916C 002160CC C0 7F 04 0C */ lfs f3, 0x40c(r31) /* 80219170 002160D0 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 80219174 002160D4 EC 81 00 28 */ fsubs f4, f1, f0 /* 80219178 002160D8 C0 3F 04 04 */ lfs f1, 0x404(r31) /* 8021917C 002160DC C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80219180 002160E0 EC 43 10 28 */ fsubs f2, f3, f2 /* 80219184 002160E4 EC 01 00 28 */ fsubs f0, f1, f0 /* 80219188 002160E8 D0 81 01 0C */ stfs f4, 0x10c(r1) /* 8021918C 002160EC D0 41 01 10 */ stfs f2, 0x110(r1) /* 80219190 002160F0 D0 01 01 08 */ stfs f0, 0x108(r1) /* 80219194 002160F4 48 0F B7 25 */ bl Magnitude__9CVector3fCFv /* 80219198 002160F8 C0 42 B3 C8 */ lfs f2, lbl_805AD0E8@sda21(r2) /* 8021919C 002160FC 38 61 00 60 */ addi r3, r1, 0x60 /* 802191A0 00216100 38 9F 03 A4 */ addi r4, r31, 0x3a4 /* 802191A4 00216104 4B F9 3F A1 */ bl GetDistanceCompensatedError__10CBurstFireCFff /* 802191A8 00216108 38 61 00 6C */ addi r3, r1, 0x6c /* 802191AC 0021610C 38 9D 00 34 */ addi r4, r29, 0x34 /* 802191B0 00216110 38 A1 00 60 */ addi r5, r1, 0x60 /* 802191B4 00216114 48 0F 98 CD */ bl Rotate__12CTransform4fCFRC9CVector3f /* 802191B8 00216118 C0 BF 04 04 */ lfs f5, 0x404(r31) /* 802191BC 0021611C C0 DF 04 08 */ lfs f6, 0x408(r31) /* 802191C0 00216120 EC 3E 28 28 */ fsubs f1, f30, f5 /* 802191C4 00216124 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 802191C8 00216128 C0 FF 04 0C */ lfs f7, 0x40c(r31) /* 802191CC 0021612C EC 9D 30 28 */ fsubs f4, f29, f6 /* 802191D0 00216130 C0 41 00 70 */ lfs f2, 0x70(r1) /* 802191D4 00216134 EC 01 00 2A */ fadds f0, f1, f0 /* 802191D8 00216138 EC 7C 38 28 */ fsubs f3, f28, f7 /* 802191DC 0021613C C0 21 00 74 */ lfs f1, 0x74(r1) /* 802191E0 00216140 EC 44 10 2A */ fadds f2, f4, f2 /* 802191E4 00216144 EC 05 00 2A */ fadds f0, f5, f0 /* 802191E8 00216148 EC 23 08 2A */ fadds f1, f3, f1 /* 802191EC 0021614C EC 46 10 2A */ fadds f2, f6, f2 /* 802191F0 00216150 D0 1D 04 04 */ stfs f0, 0x404(r29) /* 802191F4 00216154 EC 07 08 2A */ fadds f0, f7, f1 /* 802191F8 00216158 D0 5D 04 08 */ stfs f2, 0x408(r29) /* 802191FC 0021615C D0 1D 04 0C */ stfs f0, 0x40c(r29) lbl_80219200: /* 80219200 00216160 C0 3F 04 0C */ lfs f1, 0x40c(r31) /* 80219204 00216164 38 61 00 FC */ addi r3, r1, 0xfc /* 80219208 00216168 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 8021920C 0021616C C0 9F 04 08 */ lfs f4, 0x408(r31) /* 80219210 00216170 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 80219214 00216174 EC A1 00 28 */ fsubs f5, f1, f0 /* 80219218 00216178 C0 5F 04 04 */ lfs f2, 0x404(r31) /* 8021921C 0021617C C0 3F 00 40 */ lfs f1, 0x40(r31) /* 80219220 00216180 EC 64 18 28 */ fsubs f3, f4, f3 /* 80219224 00216184 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80219228 00216188 EC 22 08 28 */ fsubs f1, f2, f1 /* 8021922C 0021618C D0 A1 01 04 */ stfs f5, 0x104(r1) /* 80219230 00216190 D0 61 01 00 */ stfs f3, 0x100(r1) /* 80219234 00216194 D0 21 00 FC */ stfs f1, 0xfc(r1) /* 80219238 00216198 D0 01 01 04 */ stfs f0, 0x104(r1) /* 8021923C 0021619C 48 0F B4 BD */ bl CanBeNormalized__9CVector3fCFv /* 80219240 002161A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219244 002161A4 41 82 01 20 */ beq lbl_80219364 /* 80219248 002161A8 38 61 00 54 */ addi r3, r1, 0x54 /* 8021924C 002161AC 38 81 00 FC */ addi r4, r1, 0xfc /* 80219250 002161B0 48 0F B6 01 */ bl AsNormalized__9CVector3fCFv /* 80219254 002161B4 C0 41 00 54 */ lfs f2, 0x54(r1) /* 80219258 002161B8 38 61 00 F0 */ addi r3, r1, 0xf0 /* 8021925C 002161BC C0 21 00 58 */ lfs f1, 0x58(r1) /* 80219260 002161C0 38 81 00 E4 */ addi r4, r1, 0xe4 /* 80219264 002161C4 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 80219268 002161C8 D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 8021926C 002161CC D0 21 00 F4 */ stfs f1, 0xf4(r1) /* 80219270 002161D0 D0 01 00 F8 */ stfs f0, 0xf8(r1) /* 80219274 002161D4 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 80219278 002161D8 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8021927C 002161DC C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80219280 002161E0 D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 80219284 002161E4 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 80219288 002161E8 D0 41 00 EC */ stfs f2, 0xec(r1) /* 8021928C 002161EC 48 0F B3 A5 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80219290 002161F0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80219294 002161F4 FC 00 08 18 */ frsp f0, f1 /* 80219298 002161F8 C0 3F 02 FC */ lfs f1, 0x2fc(r31) /* 8021929C 002161FC EC 3F 00 72 */ fmuls f1, f31, f1 /* 802192A0 00216200 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802192A4 00216204 D0 21 00 14 */ stfs f1, 0x14(r1) /* 802192A8 00216208 40 80 00 0C */ bge lbl_802192B4 /* 802192AC 0021620C 38 61 00 10 */ addi r3, r1, 0x10 /* 802192B0 00216210 48 00 00 08 */ b lbl_802192B8 lbl_802192B4: /* 802192B4 00216214 38 61 00 14 */ addi r3, r1, 0x14 lbl_802192B8: /* 802192B8 00216218 C0 C3 00 00 */ lfs f6, 0(r3) /* 802192BC 0021621C 38 61 00 44 */ addi r3, r1, 0x44 /* 802192C0 00216220 C0 A1 00 F0 */ lfs f5, 0xf0(r1) /* 802192C4 00216224 38 81 00 38 */ addi r4, r1, 0x38 /* 802192C8 00216228 C0 81 00 F4 */ lfs f4, 0xf4(r1) /* 802192CC 0021622C 38 A1 00 2C */ addi r5, r1, 0x2c /* 802192D0 00216230 C0 61 00 F8 */ lfs f3, 0xf8(r1) /* 802192D4 00216234 38 C1 00 0C */ addi r6, r1, 0xc /* 802192D8 00216238 C0 41 00 E4 */ lfs f2, 0xe4(r1) /* 802192DC 0021623C C0 21 00 E8 */ lfs f1, 0xe8(r1) /* 802192E0 00216240 C0 01 00 EC */ lfs f0, 0xec(r1) /* 802192E4 00216244 D0 C1 00 0C */ stfs f6, 0xc(r1) /* 802192E8 00216248 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 802192EC 0021624C D0 81 00 30 */ stfs f4, 0x30(r1) /* 802192F0 00216250 D0 61 00 34 */ stfs f3, 0x34(r1) /* 802192F4 00216254 D0 41 00 38 */ stfs f2, 0x38(r1) /* 802192F8 00216258 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 802192FC 0021625C D0 01 00 40 */ stfs f0, 0x40(r1) /* 80219300 00216260 48 0F 83 95 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 80219304 00216264 C0 61 00 44 */ lfs f3, 0x44(r1) /* 80219308 00216268 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 8021930C 0021626C C0 41 00 48 */ lfs f2, 0x48(r1) /* 80219310 00216270 38 61 00 20 */ addi r3, r1, 0x20 /* 80219314 00216274 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 80219318 00216278 38 9F 00 34 */ addi r4, r31, 0x34 /* 8021931C 0021627C C0 01 00 50 */ lfs f0, 0x50(r1) /* 80219320 00216280 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 80219324 00216284 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 80219328 00216288 D0 21 00 DC */ stfs f1, 0xdc(r1) /* 8021932C 0021628C D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 80219330 00216290 48 0F 96 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 80219334 00216294 C0 81 00 D4 */ lfs f4, 0xd4(r1) /* 80219338 00216298 FC 20 F8 90 */ fmr f1, f31 /* 8021933C 0021629C C0 61 00 20 */ lfs f3, 0x20(r1) /* 80219340 002162A0 7F E3 FB 78 */ mr r3, r31 /* 80219344 002162A4 C0 41 00 24 */ lfs f2, 0x24(r1) /* 80219348 002162A8 38 81 00 C4 */ addi r4, r1, 0xc4 /* 8021934C 002162AC C0 01 00 28 */ lfs f0, 0x28(r1) /* 80219350 002162B0 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 80219354 002162B4 D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 80219358 002162B8 D0 41 00 CC */ stfs f2, 0xcc(r1) /* 8021935C 002162BC D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 80219360 002162C0 4B F0 19 FD */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf lbl_80219364: /* 80219364 002162C4 7F E3 FB 78 */ mr r3, r31 /* 80219368 002162C8 7F 84 E3 78 */ mr r4, r28 /* 8021936C 002162CC 4B FF E5 E5 */ bl ShouldFire__16CScriptGunTurretCFR13CStateManager /* 80219370 002162D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219374 002162D4 41 82 00 28 */ beq lbl_8021939C /* 80219378 002162D8 7F E3 FB 78 */ mr r3, r31 /* 8021937C 002162DC 7F 85 E3 78 */ mr r5, r28 /* 80219380 002162E0 38 80 00 0A */ li r4, 0xa /* 80219384 002162E4 38 C0 FF FF */ li r6, -1 /* 80219388 002162E8 4B E3 7D 39 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 8021938C 002162EC 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80219390 002162F0 38 60 00 01 */ li r3, 1 /* 80219394 002162F4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80219398 002162F8 98 1F 05 60 */ stb r0, 0x560(r31) lbl_8021939C: /* 8021939C 002162FC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802193A0 00216300 D0 1F 05 2C */ stfs f0, 0x52c(r31) /* 802193A4 00216304 48 00 00 48 */ b lbl_802193EC lbl_802193A8: /* 802193A8 00216308 C0 3F 05 2C */ lfs f1, 0x52c(r31) /* 802193AC 0021630C C0 02 B3 CC */ lfs f0, lbl_805AD0EC@sda21(r2) /* 802193B0 00216310 EC 21 F8 2A */ fadds f1, f1, f31 /* 802193B4 00216314 D0 3F 05 2C */ stfs f1, 0x52c(r31) /* 802193B8 00216318 C0 3F 05 2C */ lfs f1, 0x52c(r31) /* 802193BC 0021631C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802193C0 00216320 4C 41 13 82 */ cror 2, 1, 2 /* 802193C4 00216324 40 82 00 28 */ bne lbl_802193EC /* 802193C8 00216328 7F E3 FB 78 */ mr r3, r31 /* 802193CC 0021632C 7F 85 E3 78 */ mr r5, r28 /* 802193D0 00216330 38 80 00 0B */ li r4, 0xb /* 802193D4 00216334 48 00 07 45 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 802193D8 00216338 48 00 00 14 */ b lbl_802193EC lbl_802193DC: /* 802193DC 0021633C 88 1F 05 60 */ lbz r0, 0x560(r31) /* 802193E0 00216340 38 60 00 01 */ li r3, 1 /* 802193E4 00216344 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 802193E8 00216348 98 1F 05 60 */ stb r0, 0x560(r31) lbl_802193EC: /* 802193EC 0021634C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 /* 802193F0 00216350 CB E1 01 C0 */ lfd f31, 0x1c0(r1) /* 802193F4 00216354 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 /* 802193F8 00216358 CB C1 01 B0 */ lfd f30, 0x1b0(r1) /* 802193FC 0021635C E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 /* 80219400 00216360 CB A1 01 A0 */ lfd f29, 0x1a0(r1) /* 80219404 00216364 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 /* 80219408 00216368 CB 81 01 90 */ lfd f28, 0x190(r1) /* 8021940C 0021636C 83 E1 01 8C */ lwz r31, 0x18c(r1) /* 80219410 00216370 83 C1 01 88 */ lwz r30, 0x188(r1) /* 80219414 00216374 83 A1 01 84 */ lwz r29, 0x184(r1) /* 80219418 00216378 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 8021941C 0021637C 83 81 01 80 */ lwz r28, 0x180(r1) /* 80219420 00216380 7C 08 03 A6 */ mtlr r0 /* 80219424 00216384 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 80219428 00216388 4E 80 00 20 */ blr .global ProcessPanningState__16CScriptGunTurretFfR13CStateManager ProcessPanningState__16CScriptGunTurretFfR13CStateManager: /* 8021942C 0021638C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80219430 00216390 7C 08 02 A6 */ mflr r0 /* 80219434 00216394 90 01 00 34 */ stw r0, 0x34(r1) /* 80219438 00216398 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8021943C 0021639C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80219440 002163A0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80219444 002163A4 93 C1 00 18 */ stw r30, 0x18(r1) /* 80219448 002163A8 FF E0 08 90 */ fmr f31, f1 /* 8021944C 002163AC 2C 04 00 01 */ cmpwi r4, 1 /* 80219450 002163B0 7C 7E 1B 78 */ mr r30, r3 /* 80219454 002163B4 7C BF 2B 78 */ mr r31, r5 /* 80219458 002163B8 41 82 00 20 */ beq lbl_80219478 /* 8021945C 002163BC 40 80 01 40 */ bge lbl_8021959C /* 80219460 002163C0 2C 04 00 00 */ cmpwi r4, 0 /* 80219464 002163C4 40 80 00 08 */ bge lbl_8021946C /* 80219468 002163C8 48 00 01 34 */ b lbl_8021959C lbl_8021946C: /* 8021946C 002163CC C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 80219470 002163D0 D0 1E 05 2C */ stfs f0, 0x52c(r30) /* 80219474 002163D4 48 00 01 28 */ b lbl_8021959C lbl_80219478: /* 80219478 002163D8 7F E4 FB 78 */ mr r4, r31 /* 8021947C 002163DC 4B FF E6 5D */ bl IsPlayerInFiringRange__16CScriptGunTurretCFR13CStateManager /* 80219480 002163E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219484 002163E4 41 82 00 6C */ beq lbl_802194F0 /* 80219488 002163E8 7F C3 F3 78 */ mr r3, r30 /* 8021948C 002163EC 7F E4 FB 78 */ mr r4, r31 /* 80219490 002163F0 4B FF E5 15 */ bl InDetectionRange__16CScriptGunTurretCFR13CStateManager /* 80219494 002163F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219498 002163F8 41 82 00 58 */ beq lbl_802194F0 /* 8021949C 002163FC 7F C3 F3 78 */ mr r3, r30 /* 802194A0 00216400 7F E5 FB 78 */ mr r5, r31 /* 802194A4 00216404 38 80 00 09 */ li r4, 9 /* 802194A8 00216408 48 00 06 71 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 802194AC 0021640C 81 5E 00 04 */ lwz r10, 4(r30) /* 802194B0 00216410 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802194B4 00216414 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 802194B8 00216418 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 802194BC 0021641C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 802194C0 00216420 38 61 00 08 */ addi r3, r1, 8 /* 802194C4 00216424 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 802194C8 00216428 38 A1 00 0C */ addi r5, r1, 0xc /* 802194CC 0021642C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 802194D0 00216430 38 E0 00 00 */ li r7, 0 /* 802194D4 00216434 D0 01 00 0C */ stfs f0, 0xc(r1) /* 802194D8 00216438 39 00 00 00 */ li r8, 0 /* 802194DC 0021643C D0 21 00 10 */ stfs f1, 0x10(r1) /* 802194E0 00216440 D0 41 00 14 */ stfs f2, 0x14(r1) /* 802194E4 00216444 A0 9E 03 52 */ lhz r4, 0x352(r30) /* 802194E8 00216448 48 0D 0D C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 802194EC 0021644C 48 00 00 B0 */ b lbl_8021959C lbl_802194F0: /* 802194F0 00216450 C0 1E 05 2C */ lfs f0, 0x52c(r30) /* 802194F4 00216454 EC 00 F8 2A */ fadds f0, f0, f31 /* 802194F8 00216458 D0 1E 05 2C */ stfs f0, 0x52c(r30) /* 802194FC 0021645C C0 1E 05 30 */ lfs f0, 0x530(r30) /* 80219500 00216460 EC 00 F8 2A */ fadds f0, f0, f31 /* 80219504 00216464 D0 1E 05 30 */ stfs f0, 0x530(r30) /* 80219508 00216468 C0 3E 05 30 */ lfs f1, 0x530(r30) /* 8021950C 0021646C C0 1E 02 EC */ lfs f0, 0x2ec(r30) /* 80219510 00216470 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80219514 00216474 4C 41 13 82 */ cror 2, 1, 2 /* 80219518 00216478 40 82 00 50 */ bne lbl_80219568 /* 8021951C 0021647C 88 1E 04 F0 */ lbz r0, 0x4f0(r30) /* 80219520 00216480 28 00 00 00 */ cmplwi r0, 0 /* 80219524 00216484 40 82 00 44 */ bne lbl_80219568 /* 80219528 00216488 88 1E 03 74 */ lbz r0, 0x374(r30) /* 8021952C 0021648C 28 00 00 00 */ cmplwi r0, 0 /* 80219530 00216490 40 82 00 38 */ bne lbl_80219568 /* 80219534 00216494 7F C3 F3 78 */ mr r3, r30 /* 80219538 00216498 7F E5 FB 78 */ mr r5, r31 /* 8021953C 0021649C 38 80 00 05 */ li r4, 5 /* 80219540 002164A0 48 00 05 D9 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80219544 002164A4 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80219548 002164A8 38 60 00 00 */ li r3, 0 /* 8021954C 002164AC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80219550 002164B0 98 1E 05 60 */ stb r0, 0x560(r30) /* 80219554 002164B4 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f /* 80219558 002164B8 88 1E 05 60 */ lbz r0, 0x560(r30) /* 8021955C 002164BC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80219560 002164C0 98 1E 05 60 */ stb r0, 0x560(r30) /* 80219564 002164C4 48 00 00 38 */ b lbl_8021959C lbl_80219568: /* 80219568 002164C8 C0 3E 05 2C */ lfs f1, 0x52c(r30) /* 8021956C 002164CC C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 80219570 002164D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80219574 002164D4 4C 41 13 82 */ cror 2, 1, 2 /* 80219578 002164D8 40 82 00 24 */ bne lbl_8021959C /* 8021957C 002164DC 80 1E 05 20 */ lwz r0, 0x520(r30) /* 80219580 002164E0 7F C3 F3 78 */ mr r3, r30 /* 80219584 002164E4 38 80 00 07 */ li r4, 7 /* 80219588 002164E8 2C 00 00 07 */ cmpwi r0, 7 /* 8021958C 002164EC 40 82 00 08 */ bne lbl_80219594 /* 80219590 002164F0 38 80 00 08 */ li r4, 8 lbl_80219594: /* 80219594 002164F4 7F E5 FB 78 */ mr r5, r31 /* 80219598 002164F8 48 00 05 81 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState lbl_8021959C: /* 8021959C 002164FC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 802195A0 00216500 80 01 00 34 */ lwz r0, 0x34(r1) /* 802195A4 00216504 CB E1 00 20 */ lfd f31, 0x20(r1) /* 802195A8 00216508 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802195AC 0021650C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802195B0 00216510 7C 08 03 A6 */ mtlr r0 /* 802195B4 00216514 38 21 00 30 */ addi r1, r1, 0x30 /* 802195B8 00216518 4E 80 00 20 */ blr .global ProcessReadyState__16CScriptGunTurretFfR13CStateManager ProcessReadyState__16CScriptGunTurretFfR13CStateManager: /* 802195BC 0021651C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802195C0 00216520 7C 08 02 A6 */ mflr r0 /* 802195C4 00216524 2C 04 00 01 */ cmpwi r4, 1 /* 802195C8 00216528 90 01 00 24 */ stw r0, 0x24(r1) /* 802195CC 0021652C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802195D0 00216530 7C BF 2B 78 */ mr r31, r5 /* 802195D4 00216534 93 C1 00 18 */ stw r30, 0x18(r1) /* 802195D8 00216538 7C 7E 1B 78 */ mr r30, r3 /* 802195DC 0021653C 41 82 00 20 */ beq lbl_802195FC /* 802195E0 00216540 40 80 00 CC */ bge lbl_802196AC /* 802195E4 00216544 2C 04 00 00 */ cmpwi r4, 0 /* 802195E8 00216548 40 80 00 08 */ bge lbl_802195F0 /* 802195EC 0021654C 48 00 00 C0 */ b lbl_802196AC lbl_802195F0: /* 802195F0 00216550 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802195F4 00216554 D0 1E 05 2C */ stfs f0, 0x52c(r30) /* 802195F8 00216558 48 00 00 B4 */ b lbl_802196AC lbl_802195FC: /* 802195FC 0021655C C0 1E 05 2C */ lfs f0, 0x52c(r30) /* 80219600 00216560 EC 00 08 2A */ fadds f0, f0, f1 /* 80219604 00216564 D0 1E 05 2C */ stfs f0, 0x52c(r30) /* 80219608 00216568 C0 3E 05 2C */ lfs f1, 0x52c(r30) /* 8021960C 0021656C C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 80219610 00216570 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80219614 00216574 4C 41 13 82 */ cror 2, 1, 2 /* 80219618 00216578 40 82 00 94 */ bne lbl_802196AC /* 8021961C 0021657C 7F E4 FB 78 */ mr r4, r31 /* 80219620 00216580 4B FF E4 B9 */ bl IsPlayerInFiringRange__16CScriptGunTurretCFR13CStateManager /* 80219624 00216584 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219628 00216588 41 82 00 6C */ beq lbl_80219694 /* 8021962C 0021658C 7F C3 F3 78 */ mr r3, r30 /* 80219630 00216590 7F E4 FB 78 */ mr r4, r31 /* 80219634 00216594 4B FF E3 71 */ bl InDetectionRange__16CScriptGunTurretCFR13CStateManager /* 80219638 00216598 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021963C 0021659C 41 82 00 58 */ beq lbl_80219694 /* 80219640 002165A0 7F C3 F3 78 */ mr r3, r30 /* 80219644 002165A4 7F E5 FB 78 */ mr r5, r31 /* 80219648 002165A8 38 80 00 09 */ li r4, 9 /* 8021964C 002165AC 48 00 04 CD */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80219650 002165B0 81 5E 00 04 */ lwz r10, 4(r30) /* 80219654 002165B4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80219658 002165B8 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8021965C 002165BC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80219660 002165C0 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80219664 002165C4 38 61 00 08 */ addi r3, r1, 8 /* 80219668 002165C8 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8021966C 002165CC 38 A1 00 0C */ addi r5, r1, 0xc /* 80219670 002165D0 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 80219674 002165D4 38 E0 00 00 */ li r7, 0 /* 80219678 002165D8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8021967C 002165DC 39 00 00 00 */ li r8, 0 /* 80219680 002165E0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80219684 002165E4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 80219688 002165E8 A0 9E 03 52 */ lhz r4, 0x352(r30) /* 8021968C 002165EC 48 0D 0C 25 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 80219690 002165F0 48 00 00 1C */ b lbl_802196AC lbl_80219694: /* 80219694 002165F4 7F C3 F3 78 */ mr r3, r30 /* 80219698 002165F8 7F E5 FB 78 */ mr r5, r31 /* 8021969C 002165FC 38 80 00 07 */ li r4, 7 /* 802196A0 00216600 48 00 04 79 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 802196A4 00216604 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 802196A8 00216608 D0 1E 05 30 */ stfs f0, 0x530(r30) lbl_802196AC: /* 802196AC 0021660C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802196B0 00216610 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802196B4 00216614 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802196B8 00216618 7C 08 03 A6 */ mtlr r0 /* 802196BC 0021661C 38 21 00 20 */ addi r1, r1, 0x20 /* 802196C0 00216620 4E 80 00 20 */ blr .global ProcessInactiveState__16CScriptGunTurretFfR13CStateManager ProcessInactiveState__16CScriptGunTurretFfR13CStateManager: /* 802196C4 00216624 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802196C8 00216628 7C 08 02 A6 */ mflr r0 /* 802196CC 0021662C 90 01 00 54 */ stw r0, 0x54(r1) /* 802196D0 00216630 DB E1 00 40 */ stfd f31, 0x40(r1) /* 802196D4 00216634 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 802196D8 00216638 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802196DC 0021663C 93 C1 00 38 */ stw r30, 0x38(r1) /* 802196E0 00216640 93 A1 00 34 */ stw r29, 0x34(r1) /* 802196E4 00216644 93 81 00 30 */ stw r28, 0x30(r1) /* 802196E8 00216648 FF E0 08 90 */ fmr f31, f1 /* 802196EC 0021664C 2C 04 00 01 */ cmpwi r4, 1 /* 802196F0 00216650 7C 7D 1B 78 */ mr r29, r3 /* 802196F4 00216654 7C BE 2B 78 */ mr r30, r5 /* 802196F8 00216658 41 82 00 84 */ beq lbl_8021977C /* 802196FC 0021665C 40 80 00 10 */ bge lbl_8021970C /* 80219700 00216660 2C 04 00 00 */ cmpwi r4, 0 /* 80219704 00216664 40 80 00 14 */ bge lbl_80219718 /* 80219708 00216668 48 00 02 08 */ b lbl_80219910 lbl_8021970C: /* 8021970C 0021666C 2C 04 00 03 */ cmpwi r4, 3 /* 80219710 00216670 40 80 02 00 */ bge lbl_80219910 /* 80219714 00216674 48 00 01 8C */ b lbl_802198A0 lbl_80219718: /* 80219718 00216678 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021971C 0021667C 38 A0 00 00 */ li r5, 0 /* 80219720 00216680 7F C3 F3 78 */ mr r3, r30 /* 80219724 00216684 38 81 00 10 */ addi r4, r1, 0x10 /* 80219728 00216688 D0 1D 05 28 */ stfs f0, 0x528(r29) /* 8021972C 0021668C 88 1D 05 60 */ lbz r0, 0x560(r29) /* 80219730 00216690 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80219734 00216694 98 1D 05 60 */ stb r0, 0x560(r29) /* 80219738 00216698 A0 1D 02 5C */ lhz r0, 0x25c(r29) /* 8021973C 0021669C B0 01 00 10 */ sth r0, 0x10(r1) /* 80219740 002166A0 4B E3 2E 35 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80219744 002166A4 7C 64 1B 78 */ mr r4, r3 /* 80219748 002166A8 38 61 00 24 */ addi r3, r1, 0x24 /* 8021974C 002166AC 4B E9 00 69 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80219750 002166B0 80 63 00 04 */ lwz r3, 4(r3) /* 80219754 002166B4 28 03 00 00 */ cmplwi r3, 0 /* 80219758 002166B8 41 82 01 B8 */ beq lbl_80219910 /* 8021975C 002166BC 81 83 00 00 */ lwz r12, 0(r3) /* 80219760 002166C0 7F C4 F3 78 */ mr r4, r30 /* 80219764 002166C4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219768 002166C8 7D 89 03 A6 */ mtctr r12 /* 8021976C 002166CC 4E 80 04 21 */ bctrl /* 80219770 002166D0 C0 03 00 00 */ lfs f0, 0(r3) /* 80219774 002166D4 D0 1D 02 60 */ stfs f0, 0x260(r29) /* 80219778 002166D8 48 00 01 98 */ b lbl_80219910 lbl_8021977C: /* 8021977C 002166DC A0 7D 02 5C */ lhz r3, 0x25c(r29) /* 80219780 002166E0 3B E0 00 00 */ li r31, 0 /* 80219784 002166E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80219788 002166E8 7C 03 00 40 */ cmplw r3, r0 /* 8021978C 002166EC 41 82 00 58 */ beq lbl_802197E4 /* 80219790 002166F0 A0 1D 02 5C */ lhz r0, 0x25c(r29) /* 80219794 002166F4 7F C3 F3 78 */ mr r3, r30 /* 80219798 002166F8 38 81 00 0C */ addi r4, r1, 0xc /* 8021979C 002166FC B0 01 00 0C */ sth r0, 0xc(r1) /* 802197A0 00216700 4B E3 2D D5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802197A4 00216704 7C 64 1B 78 */ mr r4, r3 /* 802197A8 00216708 38 61 00 1C */ addi r3, r1, 0x1c /* 802197AC 0021670C 4B E9 00 09 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 802197B0 00216710 80 63 00 04 */ lwz r3, 4(r3) /* 802197B4 00216714 28 03 00 00 */ cmplwi r3, 0 /* 802197B8 00216718 41 82 00 2C */ beq lbl_802197E4 /* 802197BC 0021671C 81 83 00 00 */ lwz r12, 0(r3) /* 802197C0 00216720 7F C4 F3 78 */ mr r4, r30 /* 802197C4 00216724 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802197C8 00216728 7D 89 03 A6 */ mtctr r12 /* 802197CC 0021672C 4E 80 04 21 */ bctrl /* 802197D0 00216730 C0 23 00 00 */ lfs f1, 0(r3) /* 802197D4 00216734 C0 1D 02 60 */ lfs f0, 0x260(r29) /* 802197D8 00216738 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802197DC 0021673C 7C 00 00 26 */ mfcr r0 /* 802197E0 00216740 54 1F 0F FE */ srwi r31, r0, 0x1f lbl_802197E4: /* 802197E4 00216744 88 1D 03 74 */ lbz r0, 0x374(r29) /* 802197E8 00216748 28 00 00 00 */ cmplwi r0, 0 /* 802197EC 0021674C 41 82 00 24 */ beq lbl_80219810 /* 802197F0 00216750 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802197F4 00216754 3B 80 00 00 */ li r28, 0 /* 802197F8 00216758 40 82 00 10 */ bne lbl_80219808 /* 802197FC 0021675C 88 1D 05 60 */ lbz r0, 0x560(r29) /* 80219800 00216760 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80219804 00216764 41 82 00 3C */ beq lbl_80219840 lbl_80219808: /* 80219808 00216768 3B 80 00 01 */ li r28, 1 /* 8021980C 0021676C 48 00 00 34 */ b lbl_80219840 lbl_80219810: /* 80219810 00216770 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80219814 00216774 3B 80 00 00 */ li r28, 0 /* 80219818 00216778 40 82 00 24 */ bne lbl_8021983C /* 8021981C 0021677C 88 1D 05 60 */ lbz r0, 0x560(r29) /* 80219820 00216780 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80219824 00216784 40 82 00 18 */ bne lbl_8021983C /* 80219828 00216788 7F A3 EB 78 */ mr r3, r29 /* 8021982C 0021678C 7F C4 F3 78 */ mr r4, r30 /* 80219830 00216790 4B FF E1 75 */ bl InDetectionRange__16CScriptGunTurretCFR13CStateManager /* 80219834 00216794 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219838 00216798 41 82 00 08 */ beq lbl_80219840 lbl_8021983C: /* 8021983C 0021679C 3B 80 00 01 */ li r28, 1 lbl_80219840: /* 80219840 002167A0 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 80219844 002167A4 41 82 00 40 */ beq lbl_80219884 /* 80219848 002167A8 C0 1D 05 28 */ lfs f0, 0x528(r29) /* 8021984C 002167AC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80219850 002167B0 EC 00 F8 2A */ fadds f0, f0, f31 /* 80219854 002167B4 D0 1D 05 28 */ stfs f0, 0x528(r29) /* 80219858 002167B8 40 82 00 18 */ bne lbl_80219870 /* 8021985C 002167BC C0 3D 05 28 */ lfs f1, 0x528(r29) /* 80219860 002167C0 C0 1D 02 D8 */ lfs f0, 0x2d8(r29) /* 80219864 002167C4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80219868 002167C8 4C 41 13 82 */ cror 2, 1, 2 /* 8021986C 002167CC 40 82 00 A4 */ bne lbl_80219910 lbl_80219870: /* 80219870 002167D0 7F A3 EB 78 */ mr r3, r29 /* 80219874 002167D4 7F C5 F3 78 */ mr r5, r30 /* 80219878 002167D8 38 80 00 06 */ li r4, 6 /* 8021987C 002167DC 48 00 02 9D */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80219880 002167E0 48 00 00 90 */ b lbl_80219910 lbl_80219884: /* 80219884 002167E4 80 7D 04 6C */ lwz r3, 0x46c(r29) /* 80219888 002167E8 38 80 00 01 */ li r4, 1 /* 8021988C 002167EC 81 83 00 00 */ lwz r12, 0(r3) /* 80219890 002167F0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80219894 002167F4 7D 89 03 A6 */ mtctr r12 /* 80219898 002167F8 4E 80 04 21 */ bctrl /* 8021989C 002167FC 48 00 00 74 */ b lbl_80219910 lbl_802198A0: /* 802198A0 00216800 88 1D 05 60 */ lbz r0, 0x560(r29) /* 802198A4 00216804 38 60 00 01 */ li r3, 1 /* 802198A8 00216808 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802198AC 0021680C 38 80 00 00 */ li r4, 0 /* 802198B0 00216810 98 1D 05 60 */ stb r0, 0x560(r29) /* 802198B4 00216814 80 7D 04 6C */ lwz r3, 0x46c(r29) /* 802198B8 00216818 81 83 00 00 */ lwz r12, 0(r3) /* 802198BC 0021681C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 802198C0 00216820 7D 89 03 A6 */ mtctr r12 /* 802198C4 00216824 4E 80 04 21 */ bctrl /* 802198C8 00216828 A0 1D 02 5C */ lhz r0, 0x25c(r29) /* 802198CC 0021682C 7F C3 F3 78 */ mr r3, r30 /* 802198D0 00216830 38 81 00 08 */ addi r4, r1, 8 /* 802198D4 00216834 B0 01 00 08 */ sth r0, 8(r1) /* 802198D8 00216838 4B E3 2C 9D */ bl ObjectById__13CStateManagerF9TUniqueId /* 802198DC 0021683C 7C 64 1B 78 */ mr r4, r3 /* 802198E0 00216840 38 61 00 14 */ addi r3, r1, 0x14 /* 802198E4 00216844 4B E8 FE D1 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 802198E8 00216848 80 63 00 04 */ lwz r3, 4(r3) /* 802198EC 0021684C 28 03 00 00 */ cmplwi r3, 0 /* 802198F0 00216850 41 82 00 20 */ beq lbl_80219910 /* 802198F4 00216854 81 83 00 00 */ lwz r12, 0(r3) /* 802198F8 00216858 7F C4 F3 78 */ mr r4, r30 /* 802198FC 0021685C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219900 00216860 7D 89 03 A6 */ mtctr r12 /* 80219904 00216864 4E 80 04 21 */ bctrl /* 80219908 00216868 C0 03 00 00 */ lfs f0, 0(r3) /* 8021990C 0021686C D0 1D 02 60 */ stfs f0, 0x260(r29) lbl_80219910: /* 80219910 00216870 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80219914 00216874 80 01 00 54 */ lwz r0, 0x54(r1) /* 80219918 00216878 CB E1 00 40 */ lfd f31, 0x40(r1) /* 8021991C 0021687C 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80219920 00216880 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80219924 00216884 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80219928 00216888 83 81 00 30 */ lwz r28, 0x30(r1) /* 8021992C 0021688C 7C 08 03 A6 */ mtlr r0 /* 80219930 00216890 38 21 00 50 */ addi r1, r1, 0x50 /* 80219934 00216894 4E 80 00 20 */ blr .global ProcessDeactivatingState__16CScriptGunTurretFfR13CStateManager ProcessDeactivatingState__16CScriptGunTurretFfR13CStateManager: /* 80219938 00216898 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021993C 0021689C 7C 08 02 A6 */ mflr r0 /* 80219940 002168A0 2C 04 00 01 */ cmpwi r4, 1 /* 80219944 002168A4 90 01 00 14 */ stw r0, 0x14(r1) /* 80219948 002168A8 41 82 00 08 */ beq lbl_80219950 /* 8021994C 002168AC 48 00 00 30 */ b lbl_8021997C lbl_80219950: /* 80219950 002168B0 C0 23 05 24 */ lfs f1, 0x524(r3) /* 80219954 002168B4 C0 03 02 D4 */ lfs f0, 0x2d4(r3) /* 80219958 002168B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021995C 002168BC 4C 41 13 82 */ cror 2, 1, 2 /* 80219960 002168C0 40 82 00 1C */ bne lbl_8021997C /* 80219964 002168C4 88 03 05 60 */ lbz r0, 0x560(r3) /* 80219968 002168C8 38 80 00 01 */ li r4, 1 /* 8021996C 002168CC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80219970 002168D0 41 82 00 08 */ beq lbl_80219978 /* 80219974 002168D4 38 80 00 02 */ li r4, 2 lbl_80219978: /* 80219978 002168D8 48 00 01 A1 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState lbl_8021997C: /* 8021997C 002168DC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80219980 002168E0 7C 08 03 A6 */ mtlr r0 /* 80219984 002168E4 38 21 00 10 */ addi r1, r1, 0x10 /* 80219988 002168E8 4E 80 00 20 */ blr .global ProcessCurrentState__16CScriptGunTurretFfR13CStateManager ProcessCurrentState__16CScriptGunTurretFfR13CStateManager: /* 8021998C 002168EC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80219990 002168F0 7C 08 02 A6 */ mflr r0 /* 80219994 002168F4 90 01 00 14 */ stw r0, 0x14(r1) /* 80219998 002168F8 80 03 05 20 */ lwz r0, 0x520(r3) /* 8021999C 002168FC 28 00 00 0C */ cmplwi r0, 0xc /* 802199A0 00216900 41 81 00 50 */ bgt lbl_802199F0 /* 802199A4 00216904 3C C0 80 3E */ lis r6, lbl_803E7270@ha /* 802199A8 00216908 54 00 10 3A */ slwi r0, r0, 2 /* 802199AC 0021690C 38 C6 72 70 */ addi r6, r6, lbl_803E7270@l /* 802199B0 00216910 7C 06 00 2E */ lwzx r0, r6, r0 /* 802199B4 00216914 7C 09 03 A6 */ mtctr r0 /* 802199B8 00216918 4E 80 04 20 */ bctr /* 802199BC 0021691C 4B FF FF 7D */ bl ProcessDeactivatingState__16CScriptGunTurretFfR13CStateManager /* 802199C0 00216920 48 00 00 30 */ b lbl_802199F0 /* 802199C4 00216924 4B FF FD 01 */ bl ProcessInactiveState__16CScriptGunTurretFfR13CStateManager /* 802199C8 00216928 48 00 00 28 */ b lbl_802199F0 /* 802199CC 0021692C 4B FF FB F1 */ bl ProcessReadyState__16CScriptGunTurretFfR13CStateManager /* 802199D0 00216930 48 00 00 20 */ b lbl_802199F0 /* 802199D4 00216934 4B FF FA 59 */ bl ProcessPanningState__16CScriptGunTurretFfR13CStateManager /* 802199D8 00216938 48 00 00 18 */ b lbl_802199F0 /* 802199DC 0021693C 4B FF F5 75 */ bl ProcessTargettingState__16CScriptGunTurretFfR13CStateManager /* 802199E0 00216940 48 00 00 10 */ b lbl_802199F0 /* 802199E4 00216944 4B FF F4 51 */ bl ProcessExitTargettingState__16CScriptGunTurretFfR13CStateManager /* 802199E8 00216948 48 00 00 08 */ b lbl_802199F0 /* 802199EC 0021694C 4B FF F1 C9 */ bl ProcessFrenzyState__16CScriptGunTurretFfR13CStateManager lbl_802199F0: /* 802199F0 00216950 80 01 00 14 */ lwz r0, 0x14(r1) /* 802199F4 00216954 7C 08 03 A6 */ mtlr r0 /* 802199F8 00216958 38 21 00 10 */ addi r1, r1, 0x10 /* 802199FC 0021695C 4E 80 00 20 */ blr .global ProcessGunStateMachine__16CScriptGunTurretFfR13CStateManager ProcessGunStateMachine__16CScriptGunTurretFfR13CStateManager: /* 80219A00 00216960 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80219A04 00216964 7C 08 02 A6 */ mflr r0 /* 80219A08 00216968 90 01 00 44 */ stw r0, 0x44(r1) /* 80219A0C 0021696C DB E1 00 30 */ stfd f31, 0x30(r1) /* 80219A10 00216970 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 80219A14 00216974 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80219A18 00216978 93 C1 00 28 */ stw r30, 0x28(r1) /* 80219A1C 0021697C 93 A1 00 24 */ stw r29, 0x24(r1) /* 80219A20 00216980 FF E0 08 90 */ fmr f31, f1 /* 80219A24 00216984 7C 9E 23 78 */ mr r30, r4 /* 80219A28 00216988 7C 7D 1B 78 */ mr r29, r3 /* 80219A2C 0021698C 38 80 00 01 */ li r4, 1 /* 80219A30 00216990 7F C5 F3 78 */ mr r5, r30 /* 80219A34 00216994 4B FF FF 59 */ bl ProcessCurrentState__16CScriptGunTurretFfR13CStateManager /* 80219A38 00216998 C0 1D 05 24 */ lfs f0, 0x524(r29) /* 80219A3C 0021699C 7F A3 EB 78 */ mr r3, r29 /* 80219A40 002169A0 7F C4 F3 78 */ mr r4, r30 /* 80219A44 002169A4 EC 00 F8 2A */ fadds f0, f0, f31 /* 80219A48 002169A8 D0 1D 05 24 */ stfs f0, 0x524(r29) /* 80219A4C 002169AC 4B FF D6 D9 */ bl PlayAdditiveChargingAnimation__16CScriptGunTurretFR13CStateManager /* 80219A50 002169B0 A0 7D 02 5C */ lhz r3, 0x25c(r29) /* 80219A54 002169B4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80219A58 002169B8 7C 03 00 40 */ cmplw r3, r0 /* 80219A5C 002169BC 41 82 00 98 */ beq lbl_80219AF4 /* 80219A60 002169C0 A0 1D 02 5C */ lhz r0, 0x25c(r29) /* 80219A64 002169C4 7F C3 F3 78 */ mr r3, r30 /* 80219A68 002169C8 38 81 00 10 */ addi r4, r1, 0x10 /* 80219A6C 002169CC B0 01 00 10 */ sth r0, 0x10(r1) /* 80219A70 002169D0 4B E3 2B 05 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80219A74 002169D4 7C 64 1B 78 */ mr r4, r3 /* 80219A78 002169D8 38 61 00 14 */ addi r3, r1, 0x14 /* 80219A7C 002169DC 4B E8 FD 39 */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 80219A80 002169E0 83 E3 00 04 */ lwz r31, 4(r3) /* 80219A84 002169E4 28 1F 00 00 */ cmplwi r31, 0 /* 80219A88 002169E8 41 82 00 6C */ beq lbl_80219AF4 /* 80219A8C 002169EC 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80219A90 002169F0 2C 00 00 0C */ cmpwi r0, 0xc /* 80219A94 002169F4 41 82 00 10 */ beq lbl_80219AA4 /* 80219A98 002169F8 80 1D 05 20 */ lwz r0, 0x520(r29) /* 80219A9C 002169FC 90 1F 05 20 */ stw r0, 0x520(r31) /* 80219AA0 00216A00 48 00 00 54 */ b lbl_80219AF4 lbl_80219AA4: /* 80219AA4 00216A04 80 1D 05 20 */ lwz r0, 0x520(r29) /* 80219AA8 00216A08 2C 00 00 0C */ cmpwi r0, 0xc /* 80219AAC 00216A0C 41 82 00 48 */ beq lbl_80219AF4 /* 80219AB0 00216A10 7F A3 EB 78 */ mr r3, r29 /* 80219AB4 00216A14 7F C5 F3 78 */ mr r5, r30 /* 80219AB8 00216A18 38 80 00 0C */ li r4, 0xc /* 80219ABC 00216A1C 48 00 00 5D */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 80219AC0 00216A20 7F E3 FB 78 */ mr r3, r31 /* 80219AC4 00216A24 7F C6 F3 78 */ mr r6, r30 /* 80219AC8 00216A28 38 80 00 28 */ li r4, 0x28 /* 80219ACC 00216A2C 38 A0 00 29 */ li r5, 0x29 /* 80219AD0 00216A30 4B E3 A4 05 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 80219AD4 00216A34 A0 1D 00 08 */ lhz r0, 8(r29) /* 80219AD8 00216A38 7F C6 F3 78 */ mr r6, r30 /* 80219ADC 00216A3C 38 81 00 0C */ addi r4, r1, 0xc /* 80219AE0 00216A40 38 A0 00 08 */ li r5, 8 /* 80219AE4 00216A44 B0 01 00 0C */ sth r0, 0xc(r1) /* 80219AE8 00216A48 B0 01 00 08 */ sth r0, 8(r1) /* 80219AEC 00216A4C 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80219AF0 00216A50 4B F6 17 65 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager lbl_80219AF4: /* 80219AF4 00216A54 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80219AF8 00216A58 80 01 00 44 */ lwz r0, 0x44(r1) /* 80219AFC 00216A5C CB E1 00 30 */ lfd f31, 0x30(r1) /* 80219B00 00216A60 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80219B04 00216A64 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80219B08 00216A68 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80219B0C 00216A6C 7C 08 03 A6 */ mtlr r0 /* 80219B10 00216A70 38 21 00 40 */ addi r1, r1, 0x40 /* 80219B14 00216A74 4E 80 00 20 */ blr .global SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState: /* 80219B18 00216A78 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80219B1C 00216A7C 7C 08 02 A6 */ mflr r0 /* 80219B20 00216A80 90 01 00 24 */ stw r0, 0x24(r1) /* 80219B24 00216A84 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80219B28 00216A88 7C BF 2B 78 */ mr r31, r5 /* 80219B2C 00216A8C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80219B30 00216A90 7C 9E 23 79 */ or. r30, r4, r4 /* 80219B34 00216A94 93 A1 00 14 */ stw r29, 0x14(r1) /* 80219B38 00216A98 7C 7D 1B 78 */ mr r29, r3 /* 80219B3C 00216A9C 41 80 00 40 */ blt lbl_80219B7C /* 80219B40 00216AA0 2C 1E 00 0C */ cmpwi r30, 0xc /* 80219B44 00216AA4 41 81 00 38 */ bgt lbl_80219B7C /* 80219B48 00216AA8 80 1D 05 20 */ lwz r0, 0x520(r29) /* 80219B4C 00216AAC 2C 00 FF FF */ cmpwi r0, -1 /* 80219B50 00216AB0 41 82 00 10 */ beq lbl_80219B60 /* 80219B54 00216AB4 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 80219B58 00216AB8 38 80 00 02 */ li r4, 2 /* 80219B5C 00216ABC 4B FF FE 31 */ bl ProcessCurrentState__16CScriptGunTurretFfR13CStateManager lbl_80219B60: /* 80219B60 00216AC0 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 80219B64 00216AC4 7F A3 EB 78 */ mr r3, r29 /* 80219B68 00216AC8 93 DD 05 20 */ stw r30, 0x520(r29) /* 80219B6C 00216ACC 7F E5 FB 78 */ mr r5, r31 /* 80219B70 00216AD0 38 80 00 00 */ li r4, 0 /* 80219B74 00216AD4 D0 3D 05 24 */ stfs f1, 0x524(r29) /* 80219B78 00216AD8 4B FF FE 15 */ bl ProcessCurrentState__16CScriptGunTurretFfR13CStateManager lbl_80219B7C: /* 80219B7C 00216ADC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80219B80 00216AE0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80219B84 00216AE4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80219B88 00216AE8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80219B8C 00216AEC 7C 08 03 A6 */ mtlr r0 /* 80219B90 00216AF0 38 21 00 20 */ addi r1, r1, 0x20 /* 80219B94 00216AF4 4E 80 00 20 */ blr .global GetOrbitPosition__16CScriptGunTurretCFRC13CStateManager GetOrbitPosition__16CScriptGunTurretCFRC13CStateManager: /* 80219B98 00216AF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80219B9C 00216AFC 7C 08 02 A6 */ mflr r0 /* 80219BA0 00216B00 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 80219BA4 00216B04 90 01 00 14 */ stw r0, 0x14(r1) /* 80219BA8 00216B08 93 E1 00 0C */ stw r31, 0xc(r1) /* 80219BAC 00216B0C 7C 7F 1B 78 */ mr r31, r3 /* 80219BB0 00216B10 81 84 00 00 */ lwz r12, 0(r4) /* 80219BB4 00216B14 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80219BB8 00216B18 7D 89 03 A6 */ mtctr r12 /* 80219BBC 00216B1C 4E 80 04 21 */ bctrl /* 80219BC0 00216B20 80 01 00 14 */ lwz r0, 0x14(r1) /* 80219BC4 00216B24 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80219BC8 00216B28 7C 08 03 A6 */ mtlr r0 /* 80219BCC 00216B2C 38 21 00 10 */ addi r1, r1, 0x10 /* 80219BD0 00216B30 4E 80 00 20 */ blr .global GetAimPosition__16CScriptGunTurretCFRC13CStateManagerf GetAimPosition__16CScriptGunTurretCFRC13CStateManagerf: /* 80219BD4 00216B34 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80219BD8 00216B38 7C 08 02 A6 */ mflr r0 /* 80219BDC 00216B3C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80219BE0 00216B40 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80219BE4 00216B44 7C 9F 23 78 */ mr r31, r4 /* 80219BE8 00216B48 93 C1 00 98 */ stw r30, 0x98(r1) /* 80219BEC 00216B4C 7C 7E 1B 78 */ mr r30, r3 /* 80219BF0 00216B50 80 04 02 58 */ lwz r0, 0x258(r4) /* 80219BF4 00216B54 2C 00 00 01 */ cmpwi r0, 1 /* 80219BF8 00216B58 40 82 00 90 */ bne lbl_80219C88 /* 80219BFC 00216B5C 80 82 B3 50 */ lwz r4, lbl_805AD070@sda21(r2) /* 80219C00 00216B60 38 61 00 20 */ addi r3, r1, 0x20 /* 80219C04 00216B64 4B DE B0 B5 */ bl string_l__4rstlFPCc /* 80219C08 00216B68 7F E4 FB 78 */ mr r4, r31 /* 80219C0C 00216B6C 38 61 00 30 */ addi r3, r1, 0x30 /* 80219C10 00216B70 38 A1 00 20 */ addi r5, r1, 0x20 /* 80219C14 00216B74 4B E3 92 ED */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80219C18 00216B78 38 61 00 60 */ addi r3, r1, 0x60 /* 80219C1C 00216B7C 38 81 00 30 */ addi r4, r1, 0x30 /* 80219C20 00216B80 48 0F 8F 55 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80219C24 00216B84 38 61 00 20 */ addi r3, r1, 0x20 /* 80219C28 00216B88 48 12 3E B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80219C2C 00216B8C C0 41 00 6C */ lfs f2, 0x6c(r1) /* 80219C30 00216B90 38 61 00 14 */ addi r3, r1, 0x14 /* 80219C34 00216B94 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 80219C38 00216B98 38 9F 00 34 */ addi r4, r31, 0x34 /* 80219C3C 00216B9C C0 01 00 8C */ lfs f0, 0x8c(r1) /* 80219C40 00216BA0 38 A1 00 08 */ addi r5, r1, 8 /* 80219C44 00216BA4 D0 41 00 08 */ stfs f2, 8(r1) /* 80219C48 00216BA8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80219C4C 00216BAC D0 01 00 10 */ stfs f0, 0x10(r1) /* 80219C50 00216BB0 48 0F 8E 31 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 80219C54 00216BB4 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 80219C58 00216BB8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80219C5C 00216BBC C0 9F 00 50 */ lfs f4, 0x50(r31) /* 80219C60 00216BC0 C0 61 00 18 */ lfs f3, 0x18(r1) /* 80219C64 00216BC4 EC 01 00 2A */ fadds f0, f1, f0 /* 80219C68 00216BC8 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80219C6C 00216BCC C0 21 00 1C */ lfs f1, 0x1c(r1) /* 80219C70 00216BD0 EC 64 18 2A */ fadds f3, f4, f3 /* 80219C74 00216BD4 D0 1E 00 00 */ stfs f0, 0(r30) /* 80219C78 00216BD8 EC 02 08 2A */ fadds f0, f2, f1 /* 80219C7C 00216BDC D0 7E 00 04 */ stfs f3, 4(r30) /* 80219C80 00216BE0 D0 1E 00 08 */ stfs f0, 8(r30) /* 80219C84 00216BE4 48 00 00 1C */ b lbl_80219CA0 lbl_80219C88: /* 80219C88 00216BE8 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80219C8C 00216BEC C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80219C90 00216BF0 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80219C94 00216BF4 D0 1E 00 00 */ stfs f0, 0(r30) /* 80219C98 00216BF8 D0 3E 00 04 */ stfs f1, 4(r30) /* 80219C9C 00216BFC D0 5E 00 08 */ stfs f2, 8(r30) lbl_80219CA0: /* 80219CA0 00216C00 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80219CA4 00216C04 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 80219CA8 00216C08 83 C1 00 98 */ lwz r30, 0x98(r1) /* 80219CAC 00216C0C 7C 08 03 A6 */ mtlr r0 /* 80219CB0 00216C10 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80219CB4 00216C14 4E 80 00 20 */ blr .global Touch__16CScriptGunTurretFR6CActorR13CStateManager Touch__16CScriptGunTurretFR6CActorR13CStateManager: /* 80219CB8 00216C18 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80219CBC 00216C1C 7C 08 02 A6 */ mflr r0 /* 80219CC0 00216C20 90 01 00 54 */ stw r0, 0x54(r1) /* 80219CC4 00216C24 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80219CC8 00216C28 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80219CCC 00216C2C DB C1 00 30 */ stfd f30, 0x30(r1) /* 80219CD0 00216C30 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 80219CD4 00216C34 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80219CD8 00216C38 93 C1 00 28 */ stw r30, 0x28(r1) /* 80219CDC 00216C3C 93 A1 00 24 */ stw r29, 0x24(r1) /* 80219CE0 00216C40 7C 7E 1B 78 */ mr r30, r3 /* 80219CE4 00216C44 7C BF 2B 78 */ mr r31, r5 /* 80219CE8 00216C48 80 03 02 58 */ lwz r0, 0x258(r3) /* 80219CEC 00216C4C 2C 00 00 01 */ cmpwi r0, 1 /* 80219CF0 00216C50 40 82 01 08 */ bne lbl_80219DF8 /* 80219CF4 00216C54 38 61 00 08 */ addi r3, r1, 8 /* 80219CF8 00216C58 4B E9 3A 81 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" /* 80219CFC 00216C5C 83 A3 00 04 */ lwz r29, 4(r3) /* 80219D00 00216C60 28 1D 00 00 */ cmplwi r29, 0 /* 80219D04 00216C64 41 82 00 F4 */ beq lbl_80219DF8 /* 80219D08 00216C68 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 80219D0C 00216C6C A0 9D 00 EC */ lhz r4, 0xec(r29) /* 80219D10 00216C70 A0 03 00 08 */ lhz r0, 8(r3) /* 80219D14 00216C74 7C 04 00 40 */ cmplw r4, r0 /* 80219D18 00216C78 40 82 00 E0 */ bne lbl_80219DF8 /* 80219D1C 00216C7C 7F C3 F3 78 */ mr r3, r30 /* 80219D20 00216C80 81 9E 00 00 */ lwz r12, 0(r30) /* 80219D24 00216C84 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80219D28 00216C88 7D 89 03 A6 */ mtctr r12 /* 80219D2C 00216C8C 4E 80 04 21 */ bctrl /* 80219D30 00216C90 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80219D34 00216C94 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80219D38 00216C98 40 82 00 AC */ bne lbl_80219DE4 /* 80219D3C 00216C9C 80 1E 05 20 */ lwz r0, 0x520(r30) /* 80219D40 00216CA0 2C 00 00 0C */ cmpwi r0, 0xc /* 80219D44 00216CA4 41 82 00 A0 */ beq lbl_80219DE4 /* 80219D48 00216CA8 80 1D 00 E8 */ lwz r0, 0xe8(r29) /* 80219D4C 00216CAC 54 00 07 38 */ rlwinm r0, r0, 0, 0x1c, 0x1c /* 80219D50 00216CB0 2C 00 00 08 */ cmpwi r0, 8 /* 80219D54 00216CB4 40 82 00 90 */ bne lbl_80219DE4 /* 80219D58 00216CB8 88 01 00 14 */ lbz r0, 0x14(r1) /* 80219D5C 00216CBC 38 A0 00 00 */ li r5, 0 /* 80219D60 00216CC0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80219D64 00216CC4 38 C0 00 01 */ li r6, 1 /* 80219D68 00216CC8 98 01 00 14 */ stb r0, 0x14(r1) /* 80219D6C 00216CCC 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 80219D70 00216CD0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80219D74 00216CD4 38 81 00 10 */ addi r4, r1, 0x10 /* 80219D78 00216CD8 98 01 00 14 */ stb r0, 0x14(r1) /* 80219D7C 00216CDC 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 80219D80 00216CE0 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80219D84 00216CE4 38 A0 00 00 */ li r5, 0 /* 80219D88 00216CE8 90 C1 00 10 */ stw r6, 0x10(r1) /* 80219D8C 00216CEC 98 01 00 14 */ stb r0, 0x14(r1) /* 80219D90 00216CF0 4B EE 87 F5 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei /* 80219D94 00216CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80219D98 00216CF8 41 82 00 4C */ beq lbl_80219DE4 /* 80219D9C 00216CFC 88 1E 05 60 */ lbz r0, 0x560(r30) /* 80219DA0 00216D00 38 60 00 01 */ li r3, 1 /* 80219DA4 00216D04 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80219DA8 00216D08 7F C3 F3 78 */ mr r3, r30 /* 80219DAC 00216D0C 98 1E 05 60 */ stb r0, 0x560(r30) /* 80219DB0 00216D10 7F E5 FB 78 */ mr r5, r31 /* 80219DB4 00216D14 38 80 00 09 */ li r4, 9 /* 80219DB8 00216D18 38 C0 FF FF */ li r6, -1 /* 80219DBC 00216D1C 4B E3 73 05 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 80219DC0 00216D20 C3 FE 03 0C */ lfs f31, 0x30c(r30) /* 80219DC4 00216D24 C3 DE 03 08 */ lfs f30, 0x308(r30) /* 80219DC8 00216D28 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80219DCC 00216D2C 48 0F 87 11 */ bl Float__9CRandom16Fv /* 80219DD0 00216D30 EC 01 F7 FA */ fmadds f0, f1, f31, f30 /* 80219DD4 00216D34 7F C3 F3 78 */ mr r3, r30 /* 80219DD8 00216D38 38 80 00 01 */ li r4, 1 /* 80219DDC 00216D3C D0 1E 05 3C */ stfs f0, 0x53c(r30) /* 80219DE0 00216D40 4B E3 96 0D */ bl SetMuted__6CActorFb lbl_80219DE4: /* 80219DE4 00216D44 7F C3 F3 78 */ mr r3, r30 /* 80219DE8 00216D48 7F E5 FB 78 */ mr r5, r31 /* 80219DEC 00216D4C 38 80 00 16 */ li r4, 0x16 /* 80219DF0 00216D50 38 C0 FF FF */ li r6, -1 /* 80219DF4 00216D54 4B E3 72 CD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_80219DF8: /* 80219DF8 00216D58 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80219DFC 00216D5C CB E1 00 40 */ lfd f31, 0x40(r1) /* 80219E00 00216D60 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 80219E04 00216D64 CB C1 00 30 */ lfd f30, 0x30(r1) /* 80219E08 00216D68 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80219E0C 00216D6C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80219E10 00216D70 80 01 00 54 */ lwz r0, 0x54(r1) /* 80219E14 00216D74 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80219E18 00216D78 7C 08 03 A6 */ mtlr r0 /* 80219E1C 00216D7C 38 21 00 50 */ addi r1, r1, 0x50 /* 80219E20 00216D80 4E 80 00 20 */ blr .global GetTouchBounds__16CScriptGunTurretCFv GetTouchBounds__16CScriptGunTurretCFv: /* 80219E24 00216D84 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80219E28 00216D88 7C 08 02 A6 */ mflr r0 /* 80219E2C 00216D8C 90 01 00 34 */ stw r0, 0x34(r1) /* 80219E30 00216D90 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80219E34 00216D94 7C 7F 1B 78 */ mr r31, r3 /* 80219E38 00216D98 88 04 00 30 */ lbz r0, 0x30(r4) /* 80219E3C 00216D9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80219E40 00216DA0 41 82 00 78 */ beq lbl_80219EB8 /* 80219E44 00216DA4 80 04 00 68 */ lwz r0, 0x68(r4) /* 80219E48 00216DA8 38 A0 00 00 */ li r5, 0 /* 80219E4C 00216DAC 80 C4 00 6C */ lwz r6, 0x6c(r4) /* 80219E50 00216DB0 3C 60 00 08 */ lis r3, 8 /* 80219E54 00216DB4 7C 00 28 38 */ and r0, r0, r5 /* 80219E58 00216DB8 7C C3 18 38 */ and r3, r6, r3 /* 80219E5C 00216DBC 7C 63 2A 78 */ xor r3, r3, r5 /* 80219E60 00216DC0 7C 00 2A 78 */ xor r0, r0, r5 /* 80219E64 00216DC4 7C 60 03 79 */ or. r0, r3, r0 /* 80219E68 00216DC8 41 82 00 50 */ beq lbl_80219EB8 /* 80219E6C 00216DCC 38 61 00 08 */ addi r3, r1, 8 /* 80219E70 00216DD0 4B F0 0A BD */ bl GetBoundingBox__13CPhysicsActorCFv /* 80219E74 00216DD4 38 00 00 01 */ li r0, 1 /* 80219E78 00216DD8 28 1F 00 00 */ cmplwi r31, 0 /* 80219E7C 00216DDC 98 1F 00 18 */ stb r0, 0x18(r31) /* 80219E80 00216DE0 41 82 00 40 */ beq lbl_80219EC0 /* 80219E84 00216DE4 C0 01 00 08 */ lfs f0, 8(r1) /* 80219E88 00216DE8 D0 1F 00 00 */ stfs f0, 0(r31) /* 80219E8C 00216DEC C0 01 00 0C */ lfs f0, 0xc(r1) /* 80219E90 00216DF0 D0 1F 00 04 */ stfs f0, 4(r31) /* 80219E94 00216DF4 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80219E98 00216DF8 D0 1F 00 08 */ stfs f0, 8(r31) /* 80219E9C 00216DFC C0 01 00 14 */ lfs f0, 0x14(r1) /* 80219EA0 00216E00 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 80219EA4 00216E04 C0 01 00 18 */ lfs f0, 0x18(r1) /* 80219EA8 00216E08 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 80219EAC 00216E0C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80219EB0 00216E10 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 80219EB4 00216E14 48 00 00 0C */ b lbl_80219EC0 lbl_80219EB8: /* 80219EB8 00216E18 38 00 00 00 */ li r0, 0 /* 80219EBC 00216E1C 98 1F 00 18 */ stb r0, 0x18(r31) lbl_80219EC0: /* 80219EC0 00216E20 80 01 00 34 */ lwz r0, 0x34(r1) /* 80219EC4 00216E24 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80219EC8 00216E28 7C 08 03 A6 */ mtlr r0 /* 80219ECC 00216E2C 38 21 00 30 */ addi r1, r1, 0x30 /* 80219ED0 00216E30 4E 80 00 20 */ blr .global AddToRenderer__16CScriptGunTurretCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__16CScriptGunTurretCFRC14CFrustumPlanesRC13CStateManager: /* 80219ED4 00216E34 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80219ED8 00216E38 7C 08 02 A6 */ mflr r0 /* 80219EDC 00216E3C 90 01 00 14 */ stw r0, 0x14(r1) /* 80219EE0 00216E40 93 E1 00 0C */ stw r31, 0xc(r1) /* 80219EE4 00216E44 7C 7F 1B 78 */ mr r31, r3 /* 80219EE8 00216E48 4B E3 AC 51 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager /* 80219EEC 00216E4C 80 1F 02 58 */ lwz r0, 0x258(r31) /* 80219EF0 00216E50 2C 00 00 01 */ cmpwi r0, 1 /* 80219EF4 00216E54 40 82 00 FC */ bne lbl_80219FF0 /* 80219EF8 00216E58 88 1F 05 60 */ lbz r0, 0x560(r31) /* 80219EFC 00216E5C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80219F00 00216E60 40 82 00 D8 */ bne lbl_80219FD8 /* 80219F04 00216E64 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80219F08 00216E68 2C 00 00 06 */ cmpwi r0, 6 /* 80219F0C 00216E6C 41 82 00 84 */ beq lbl_80219F90 /* 80219F10 00216E70 40 80 00 18 */ bge lbl_80219F28 /* 80219F14 00216E74 2C 00 00 05 */ cmpwi r0, 5 /* 80219F18 00216E78 40 80 00 40 */ bge lbl_80219F58 /* 80219F1C 00216E7C 2C 00 00 01 */ cmpwi r0, 1 /* 80219F20 00216E80 40 80 00 1C */ bge lbl_80219F3C /* 80219F24 00216E84 48 00 00 CC */ b lbl_80219FF0 lbl_80219F28: /* 80219F28 00216E88 2C 00 00 0D */ cmpwi r0, 0xd /* 80219F2C 00216E8C 40 80 00 C4 */ bge lbl_80219FF0 /* 80219F30 00216E90 2C 00 00 09 */ cmpwi r0, 9 /* 80219F34 00216E94 40 80 00 5C */ bge lbl_80219F90 /* 80219F38 00216E98 48 00 00 3C */ b lbl_80219F74 lbl_80219F3C: /* 80219F3C 00216E9C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80219F40 00216EA0 80 9F 04 74 */ lwz r4, 0x474(r31) /* 80219F44 00216EA4 81 83 00 00 */ lwz r12, 0(r3) /* 80219F48 00216EA8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219F4C 00216EAC 7D 89 03 A6 */ mtctr r12 /* 80219F50 00216EB0 4E 80 04 21 */ bctrl /* 80219F54 00216EB4 48 00 00 9C */ b lbl_80219FF0 lbl_80219F58: /* 80219F58 00216EB8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80219F5C 00216EBC 80 9F 04 6C */ lwz r4, 0x46c(r31) /* 80219F60 00216EC0 81 83 00 00 */ lwz r12, 0(r3) /* 80219F64 00216EC4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219F68 00216EC8 7D 89 03 A6 */ mtctr r12 /* 80219F6C 00216ECC 4E 80 04 21 */ bctrl /* 80219F70 00216ED0 48 00 00 80 */ b lbl_80219FF0 lbl_80219F74: /* 80219F74 00216ED4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80219F78 00216ED8 80 9F 04 94 */ lwz r4, 0x494(r31) /* 80219F7C 00216EDC 81 83 00 00 */ lwz r12, 0(r3) /* 80219F80 00216EE0 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219F84 00216EE4 7D 89 03 A6 */ mtctr r12 /* 80219F88 00216EE8 4E 80 04 21 */ bctrl /* 80219F8C 00216EEC 48 00 00 64 */ b lbl_80219FF0 lbl_80219F90: /* 80219F90 00216EF0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80219F94 00216EF4 80 9F 04 7C */ lwz r4, 0x47c(r31) /* 80219F98 00216EF8 81 83 00 00 */ lwz r12, 0(r3) /* 80219F9C 00216EFC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219FA0 00216F00 7D 89 03 A6 */ mtctr r12 /* 80219FA4 00216F04 4E 80 04 21 */ bctrl /* 80219FA8 00216F08 80 1F 05 20 */ lwz r0, 0x520(r31) /* 80219FAC 00216F0C 2C 00 00 0A */ cmpwi r0, 0xa /* 80219FB0 00216F10 41 82 00 0C */ beq lbl_80219FBC /* 80219FB4 00216F14 2C 00 00 0C */ cmpwi r0, 0xc /* 80219FB8 00216F18 40 82 00 38 */ bne lbl_80219FF0 lbl_80219FBC: /* 80219FBC 00216F1C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80219FC0 00216F20 80 9F 04 8C */ lwz r4, 0x48c(r31) /* 80219FC4 00216F24 81 83 00 00 */ lwz r12, 0(r3) /* 80219FC8 00216F28 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219FCC 00216F2C 7D 89 03 A6 */ mtctr r12 /* 80219FD0 00216F30 4E 80 04 21 */ bctrl /* 80219FD4 00216F34 48 00 00 1C */ b lbl_80219FF0 lbl_80219FD8: /* 80219FD8 00216F38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 80219FDC 00216F3C 80 9F 04 84 */ lwz r4, 0x484(r31) /* 80219FE0 00216F40 81 83 00 00 */ lwz r12, 0(r3) /* 80219FE4 00216F44 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80219FE8 00216F48 7D 89 03 A6 */ mtctr r12 /* 80219FEC 00216F4C 4E 80 04 21 */ bctrl lbl_80219FF0: /* 80219FF0 00216F50 80 01 00 14 */ lwz r0, 0x14(r1) /* 80219FF4 00216F54 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80219FF8 00216F58 7C 08 03 A6 */ mtlr r0 /* 80219FFC 00216F5C 38 21 00 10 */ addi r1, r1, 0x10 /* 8021A000 00216F60 4E 80 00 20 */ blr .global Render__16CScriptGunTurretCFRC13CStateManager Render__16CScriptGunTurretCFRC13CStateManager: /* 8021A004 00216F64 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8021A008 00216F68 7C 08 02 A6 */ mflr r0 /* 8021A00C 00216F6C 90 01 00 54 */ stw r0, 0x54(r1) /* 8021A010 00216F70 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8021A014 00216F74 7C 9F 23 78 */ mr r31, r4 /* 8021A018 00216F78 93 C1 00 48 */ stw r30, 0x48(r1) /* 8021A01C 00216F7C 7C 7E 1B 78 */ mr r30, r3 /* 8021A020 00216F80 4B F0 04 C9 */ bl Render__13CPhysicsActorCFRC13CStateManager /* 8021A024 00216F84 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A028 00216F88 2C 00 00 01 */ cmpwi r0, 1 /* 8021A02C 00216F8C 40 82 00 E0 */ bne lbl_8021A10C /* 8021A030 00216F90 88 1E 05 60 */ lbz r0, 0x560(r30) /* 8021A034 00216F94 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8021A038 00216F98 40 82 00 BC */ bne lbl_8021A0F4 /* 8021A03C 00216F9C 80 1E 05 20 */ lwz r0, 0x520(r30) /* 8021A040 00216FA0 2C 00 00 06 */ cmpwi r0, 6 /* 8021A044 00216FA4 41 82 00 78 */ beq lbl_8021A0BC /* 8021A048 00216FA8 40 80 00 18 */ bge lbl_8021A060 /* 8021A04C 00216FAC 2C 00 00 05 */ cmpwi r0, 5 /* 8021A050 00216FB0 40 80 00 3C */ bge lbl_8021A08C /* 8021A054 00216FB4 2C 00 00 01 */ cmpwi r0, 1 /* 8021A058 00216FB8 40 80 00 1C */ bge lbl_8021A074 /* 8021A05C 00216FBC 48 00 01 7C */ b lbl_8021A1D8 lbl_8021A060: /* 8021A060 00216FC0 2C 00 00 0D */ cmpwi r0, 0xd /* 8021A064 00216FC4 40 80 01 74 */ bge lbl_8021A1D8 /* 8021A068 00216FC8 2C 00 00 09 */ cmpwi r0, 9 /* 8021A06C 00216FCC 40 80 00 50 */ bge lbl_8021A0BC /* 8021A070 00216FD0 48 00 00 34 */ b lbl_8021A0A4 lbl_8021A074: /* 8021A074 00216FD4 80 7E 04 74 */ lwz r3, 0x474(r30) /* 8021A078 00216FD8 81 83 00 00 */ lwz r12, 0(r3) /* 8021A07C 00216FDC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8021A080 00216FE0 7D 89 03 A6 */ mtctr r12 /* 8021A084 00216FE4 4E 80 04 21 */ bctrl /* 8021A088 00216FE8 48 00 01 50 */ b lbl_8021A1D8 lbl_8021A08C: /* 8021A08C 00216FEC 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 8021A090 00216FF0 81 83 00 00 */ lwz r12, 0(r3) /* 8021A094 00216FF4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8021A098 00216FF8 7D 89 03 A6 */ mtctr r12 /* 8021A09C 00216FFC 4E 80 04 21 */ bctrl /* 8021A0A0 00217000 48 00 01 38 */ b lbl_8021A1D8 lbl_8021A0A4: /* 8021A0A4 00217004 80 7E 04 94 */ lwz r3, 0x494(r30) /* 8021A0A8 00217008 81 83 00 00 */ lwz r12, 0(r3) /* 8021A0AC 0021700C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8021A0B0 00217010 7D 89 03 A6 */ mtctr r12 /* 8021A0B4 00217014 4E 80 04 21 */ bctrl /* 8021A0B8 00217018 48 00 01 20 */ b lbl_8021A1D8 lbl_8021A0BC: /* 8021A0BC 0021701C 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8021A0C0 00217020 81 83 00 00 */ lwz r12, 0(r3) /* 8021A0C4 00217024 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8021A0C8 00217028 7D 89 03 A6 */ mtctr r12 /* 8021A0CC 0021702C 4E 80 04 21 */ bctrl /* 8021A0D0 00217030 80 1E 05 20 */ lwz r0, 0x520(r30) /* 8021A0D4 00217034 2C 00 00 0A */ cmpwi r0, 0xa /* 8021A0D8 00217038 40 82 01 00 */ bne lbl_8021A1D8 /* 8021A0DC 0021703C 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 8021A0E0 00217040 81 83 00 00 */ lwz r12, 0(r3) /* 8021A0E4 00217044 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8021A0E8 00217048 7D 89 03 A6 */ mtctr r12 /* 8021A0EC 0021704C 4E 80 04 21 */ bctrl /* 8021A0F0 00217050 48 00 00 E8 */ b lbl_8021A1D8 lbl_8021A0F4: /* 8021A0F4 00217054 80 7E 04 84 */ lwz r3, 0x484(r30) /* 8021A0F8 00217058 81 83 00 00 */ lwz r12, 0(r3) /* 8021A0FC 0021705C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8021A100 00217060 7D 89 03 A6 */ mtctr r12 /* 8021A104 00217064 4E 80 04 21 */ bctrl /* 8021A108 00217068 48 00 00 D0 */ b lbl_8021A1D8 lbl_8021A10C: /* 8021A10C 0021706C 2C 00 00 00 */ cmpwi r0, 0 /* 8021A110 00217070 40 82 00 C8 */ bne lbl_8021A1D8 /* 8021A114 00217074 88 1E 04 F0 */ lbz r0, 0x4f0(r30) /* 8021A118 00217078 28 00 00 00 */ cmplwi r0, 0 /* 8021A11C 0021707C 41 82 00 BC */ beq lbl_8021A1D8 /* 8021A120 00217080 C0 3E 04 F8 */ lfs f1, 0x4f8(r30) /* 8021A124 00217084 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021A128 00217088 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021A12C 0021708C 40 81 00 AC */ ble lbl_8021A1D8 /* 8021A130 00217090 38 61 00 10 */ addi r3, r1, 0x10 /* 8021A134 00217094 38 9E 00 34 */ addi r4, r30, 0x34 /* 8021A138 00217098 48 0F 8A 3D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021A13C 0021709C 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 8021A140 002170A0 C0 22 B3 68 */ lfs f1, lbl_805AD088@sda21(r2) /* 8021A144 002170A4 38 63 67 00 */ addi r3, r3, lbl_805A6700@l /* 8021A148 002170A8 38 80 00 00 */ li r4, 0 /* 8021A14C 002170AC C0 C2 B3 78 */ lfs f6, lbl_805AD098@sda21(r2) /* 8021A150 002170B0 38 00 00 03 */ li r0, 3 /* 8021A154 002170B4 C0 A3 00 04 */ lfs f5, 4(r3) /* 8021A158 002170B8 FC 40 08 90 */ fmr f2, f1 /* 8021A15C 002170BC C0 83 00 08 */ lfs f4, 8(r3) /* 8021A160 002170C0 FC 60 08 90 */ fmr f3, f1 /* 8021A164 002170C4 C0 03 00 00 */ lfs f0, 0(r3) /* 8021A168 002170C8 EC E6 01 72 */ fmuls f7, f6, f5 /* 8021A16C 002170CC C1 3E 04 F4 */ lfs f9, 0x4f4(r30) /* 8021A170 002170D0 EC A6 01 32 */ fmuls f5, f6, f4 /* 8021A174 002170D4 C1 1E 05 00 */ lfs f8, 0x500(r30) /* 8021A178 002170D8 EC 06 00 32 */ fmuls f0, f6, f0 /* 8021A17C 002170DC C0 DE 05 04 */ lfs f6, 0x504(r30) /* 8021A180 002170E0 EC E9 01 F2 */ fmuls f7, f9, f7 /* 8021A184 002170E4 C0 9E 04 FC */ lfs f4, 0x4fc(r30) /* 8021A188 002170E8 EC A9 01 72 */ fmuls f5, f9, f5 /* 8021A18C 002170EC 98 81 00 08 */ stb r4, 8(r1) /* 8021A190 002170F0 EC 09 00 32 */ fmuls f0, f9, f0 /* 8021A194 002170F4 38 61 00 0C */ addi r3, r1, 0xc /* 8021A198 002170F8 EC E8 38 2A */ fadds f7, f8, f7 /* 8021A19C 002170FC 98 81 00 09 */ stb r4, 9(r1) /* 8021A1A0 00217100 EC A6 28 2A */ fadds f5, f6, f5 /* 8021A1A4 00217104 B0 01 00 0A */ sth r0, 0xa(r1) /* 8021A1A8 00217108 EC 04 00 2A */ fadds f0, f4, f0 /* 8021A1AC 0021710C FC 80 08 90 */ fmr f4, f1 /* 8021A1B0 00217110 D0 E1 00 2C */ stfs f7, 0x2c(r1) /* 8021A1B4 00217114 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8021A1B8 00217118 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 8021A1BC 0021711C 48 14 92 31 */ bl __ct__6CColorFffff /* 8021A1C0 00217120 80 DE 00 90 */ lwz r6, 0x90(r30) /* 8021A1C4 00217124 7F E4 FB 78 */ mr r4, r31 /* 8021A1C8 00217128 38 7E 04 A4 */ addi r3, r30, 0x4a4 /* 8021A1CC 0021712C 38 A1 00 10 */ addi r5, r1, 0x10 /* 8021A1D0 00217130 38 E1 00 08 */ addi r7, r1, 8 /* 8021A1D4 00217134 4B EF AB E9 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags lbl_8021A1D8: /* 8021A1D8 00217138 80 01 00 54 */ lwz r0, 0x54(r1) /* 8021A1DC 0021713C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8021A1E0 00217140 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8021A1E4 00217144 7C 08 03 A6 */ mtlr r0 /* 8021A1E8 00217148 38 21 00 50 */ addi r1, r1, 0x50 /* 8021A1EC 0021714C 4E 80 00 20 */ blr .global Accept__16CScriptGunTurretFR8IVisitor Accept__16CScriptGunTurretFR8IVisitor: /* 8021A1F0 00217150 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021A1F4 00217154 7C 08 02 A6 */ mflr r0 /* 8021A1F8 00217158 90 01 00 14 */ stw r0, 0x14(r1) /* 8021A1FC 0021715C 7C 60 1B 78 */ mr r0, r3 /* 8021A200 00217160 7C 83 23 78 */ mr r3, r4 /* 8021A204 00217164 81 84 00 00 */ lwz r12, 0(r4) /* 8021A208 00217168 7C 04 03 78 */ mr r4, r0 /* 8021A20C 0021716C 81 8C 00 90 */ lwz r12, 0x90(r12) /* 8021A210 00217170 7D 89 03 A6 */ mtctr r12 /* 8021A214 00217174 4E 80 04 21 */ bctrl /* 8021A218 00217178 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021A21C 0021717C 7C 08 03 A6 */ mtlr r0 /* 8021A220 00217180 38 21 00 10 */ addi r1, r1, 0x10 /* 8021A224 00217184 4E 80 00 20 */ blr .global AcceptScriptMsg__16CScriptGunTurretF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__16CScriptGunTurretF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8021A228 00217188 94 21 FE 40 */ stwu r1, -0x1c0(r1) /* 8021A22C 0021718C 7C 08 02 A6 */ mflr r0 /* 8021A230 00217190 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 8021A234 00217194 BF 41 01 A8 */ stmw r26, 0x1a8(r1) /* 8021A238 00217198 7C BC 2B 78 */ mr r28, r5 /* 8021A23C 0021719C 7C 7E 1B 78 */ mr r30, r3 /* 8021A240 002171A0 7C 9D 23 78 */ mr r29, r4 /* 8021A244 002171A4 7C DF 33 78 */ mr r31, r6 /* 8021A248 002171A8 A0 05 00 00 */ lhz r0, 0(r5) /* 8021A24C 002171AC 38 A1 00 38 */ addi r5, r1, 0x38 /* 8021A250 002171B0 B0 01 00 38 */ sth r0, 0x38(r1) /* 8021A254 002171B4 4B E3 93 C1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8021A258 002171B8 28 1D 00 29 */ cmplwi r29, 0x29 /* 8021A25C 002171BC 41 81 05 2C */ bgt lbl_8021A788 /* 8021A260 002171C0 3C 60 80 3E */ lis r3, lbl_803E72A4@ha /* 8021A264 002171C4 57 A0 10 3A */ slwi r0, r29, 2 /* 8021A268 002171C8 38 63 72 A4 */ addi r3, r3, lbl_803E72A4@l /* 8021A26C 002171CC 7C 03 00 2E */ lwzx r0, r3, r0 /* 8021A270 002171D0 7C 09 03 A6 */ mtctr r0 /* 8021A274 002171D4 4E 80 04 20 */ bctr /* 8021A278 002171D8 80 7E 04 9C */ lwz r3, 0x49c(r30) /* 8021A27C 002171DC 28 03 00 00 */ cmplwi r3, 0 /* 8021A280 002171E0 41 82 05 08 */ beq lbl_8021A788 /* 8021A284 002171E4 7F E4 FB 78 */ mr r4, r31 /* 8021A288 002171E8 38 A0 00 01 */ li r5, 1 /* 8021A28C 002171EC 4B F8 D0 6D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 8021A290 002171F0 48 00 04 F8 */ b lbl_8021A788 /* 8021A294 002171F4 80 7E 04 9C */ lwz r3, 0x49c(r30) /* 8021A298 002171F8 28 03 00 00 */ cmplwi r3, 0 /* 8021A29C 002171FC 41 82 04 EC */ beq lbl_8021A788 /* 8021A2A0 00217200 7F E4 FB 78 */ mr r4, r31 /* 8021A2A4 00217204 38 A0 00 00 */ li r5, 0 /* 8021A2A8 00217208 4B F8 D0 51 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 8021A2AC 0021720C 48 00 04 DC */ b lbl_8021A788 /* 8021A2B0 00217210 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A2B4 00217214 2C 00 00 01 */ cmpwi r0, 1 /* 8021A2B8 00217218 40 82 01 44 */ bne lbl_8021A3FC /* 8021A2BC 0021721C 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8021A2C0 00217220 81 83 00 00 */ lwz r12, 0(r3) /* 8021A2C4 00217224 81 8C 00 64 */ lwz r12, 0x64(r12) /* 8021A2C8 00217228 7D 89 03 A6 */ mtctr r12 /* 8021A2CC 0021722C 4E 80 04 21 */ bctrl /* 8021A2D0 00217230 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021A2D4 00217234 41 82 01 28 */ beq lbl_8021A3FC /* 8021A2D8 00217238 7F E4 FB 78 */ mr r4, r31 /* 8021A2DC 0021723C 38 61 00 34 */ addi r3, r1, 0x34 /* 8021A2E0 00217240 4B E3 2D FD */ bl AllocateUniqueId__13CStateManagerFv /* 8021A2E4 00217244 A0 01 00 34 */ lhz r0, 0x34(r1) /* 8021A2E8 00217248 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021A2EC 0021724C 38 63 2F F0 */ addi r3, r3, lbl_803D2FF0@l /* 8021A2F0 00217250 3B 60 00 00 */ li r27, 0 /* 8021A2F4 00217254 B0 1E 04 98 */ sth r0, 0x498(r30) /* 8021A2F8 00217258 38 83 00 31 */ addi r4, r3, 0x31 /* 8021A2FC 0021725C 3B 40 00 00 */ li r26, 0 /* 8021A300 00217260 38 60 01 48 */ li r3, 0x148 /* 8021A304 00217264 38 A0 00 00 */ li r5, 0 /* 8021A308 00217268 48 0F B5 65 */ bl __nw__FUlPCcPCc /* 8021A30C 0021726C 7C 7D 1B 79 */ or. r29, r3, r3 /* 8021A310 00217270 41 82 00 B0 */ beq lbl_8021A3C0 /* 8021A314 00217274 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021A318 00217278 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021A31C 0021727C 83 9E 04 7C */ lwz r28, 0x47c(r30) /* 8021A320 00217280 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021A324 00217284 B0 01 00 2C */ sth r0, 0x2c(r1) /* 8021A328 00217288 38 61 00 8C */ addi r3, r1, 0x8c /* 8021A32C 0021728C 38 84 00 38 */ addi r4, r4, 0x38 /* 8021A330 00217290 B0 01 00 30 */ sth r0, 0x30(r1) /* 8021A334 00217294 4B DE A9 85 */ bl string_l__4rstlFPCc /* 8021A338 00217298 38 61 00 7C */ addi r3, r1, 0x7c /* 8021A33C 0021729C 38 81 00 8C */ addi r4, r1, 0x8c /* 8021A340 002172A0 38 BE 00 10 */ addi r5, r30, 0x10 /* 8021A344 002172A4 3B 60 00 01 */ li r27, 1 /* 8021A348 002172A8 4B DE A9 15 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021A34C 002172AC 88 1E 00 30 */ lbz r0, 0x30(r30) /* 8021A350 002172B0 7F 84 E3 78 */ mr r4, r28 /* 8021A354 002172B4 80 BE 00 04 */ lwz r5, 4(r30) /* 8021A358 002172B8 38 61 01 50 */ addi r3, r1, 0x150 /* 8021A35C 002172BC 54 1C CF FE */ rlwinm r28, r0, 0x19, 0x1f, 0x1f /* 8021A360 002172C0 3B 40 00 01 */ li r26, 1 /* 8021A364 002172C4 90 A1 00 4C */ stw r5, 0x4c(r1) /* 8021A368 002172C8 A0 1E 04 98 */ lhz r0, 0x498(r30) /* 8021A36C 002172CC 90 A1 00 48 */ stw r5, 0x48(r1) /* 8021A370 002172D0 B0 01 00 28 */ sth r0, 0x28(r1) /* 8021A374 002172D4 81 84 00 00 */ lwz r12, 0(r4) /* 8021A378 002172D8 81 8C 00 68 */ lwz r12, 0x68(r12) /* 8021A37C 002172DC 7D 89 03 A6 */ mtctr r12 /* 8021A380 002172E0 4E 80 04 21 */ bctrl /* 8021A384 002172E4 38 60 00 00 */ li r3, 0 /* 8021A388 002172E8 38 00 00 01 */ li r0, 1 /* 8021A38C 002172EC 90 61 00 08 */ stw r3, 8(r1) /* 8021A390 002172F0 7F A3 EB 78 */ mr r3, r29 /* 8021A394 002172F4 C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 8021A398 002172F8 7F 86 E3 78 */ mr r6, r28 /* 8021A39C 002172FC 90 01 00 0C */ stw r0, 0xc(r1) /* 8021A3A0 00217300 38 81 00 28 */ addi r4, r1, 0x28 /* 8021A3A4 00217304 38 A1 00 4C */ addi r5, r1, 0x4c /* 8021A3A8 00217308 38 E1 00 7C */ addi r7, r1, 0x7c /* 8021A3AC 0021730C 39 1E 00 34 */ addi r8, r30, 0x34 /* 8021A3B0 00217310 39 21 00 30 */ addi r9, r1, 0x30 /* 8021A3B4 00217314 39 41 01 50 */ addi r10, r1, 0x150 /* 8021A3B8 00217318 4B E9 B4 6D */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" /* 8021A3BC 0021731C 7C 7D 1B 78 */ mr r29, r3 lbl_8021A3C0: /* 8021A3C0 00217320 7F E3 FB 78 */ mr r3, r31 /* 8021A3C4 00217324 7F A4 EB 78 */ mr r4, r29 /* 8021A3C8 00217328 4B E3 29 2D */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 8021A3CC 0021732C 7F 40 07 75 */ extsb. r0, r26 /* 8021A3D0 00217330 41 82 00 0C */ beq lbl_8021A3DC /* 8021A3D4 00217334 38 61 00 7C */ addi r3, r1, 0x7c /* 8021A3D8 00217338 48 12 37 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021A3DC: /* 8021A3DC 0021733C 7F 60 07 75 */ extsb. r0, r27 /* 8021A3E0 00217340 41 82 00 0C */ beq lbl_8021A3EC /* 8021A3E4 00217344 38 61 00 8C */ addi r3, r1, 0x8c /* 8021A3E8 00217348 48 12 36 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021A3EC: /* 8021A3EC 0021734C 7F C3 F3 78 */ mr r3, r30 /* 8021A3F0 00217350 7F E4 FB 78 */ mr r4, r31 /* 8021A3F4 00217354 4B FF B7 91 */ bl SetupCollisionManager__16CScriptGunTurretFR13CStateManager /* 8021A3F8 00217358 48 00 03 90 */ b lbl_8021A788 lbl_8021A3FC: /* 8021A3FC 0021735C 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A400 00217360 2C 00 00 00 */ cmpwi r0, 0 /* 8021A404 00217364 40 82 03 84 */ bne lbl_8021A788 /* 8021A408 00217368 80 DE 03 5C */ lwz r6, 0x35c(r30) /* 8021A40C 0021736C 3C 06 00 01 */ addis r0, r6, 1 /* 8021A410 00217370 28 00 FF FF */ cmplwi r0, 0xffff /* 8021A414 00217374 41 82 00 9C */ beq lbl_8021A4B0 /* 8021A418 00217378 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8021A41C 0021737C 38 61 01 04 */ addi r3, r1, 0x104 /* 8021A420 00217380 38 81 00 6C */ addi r4, r1, 0x6c /* 8021A424 00217384 C0 45 00 00 */ lfs f2, 0(r5) /* 8021A428 00217388 C0 25 00 04 */ lfs f1, 4(r5) /* 8021A42C 0021738C C0 05 00 08 */ lfs f0, 8(r5) /* 8021A430 00217390 D0 41 00 60 */ stfs f2, 0x60(r1) /* 8021A434 00217394 D0 21 00 64 */ stfs f1, 0x64(r1) /* 8021A438 00217398 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8021A43C 0021739C 90 C1 00 6C */ stw r6, 0x6c(r1) /* 8021A440 002173A0 D0 41 00 70 */ stfs f2, 0x70(r1) /* 8021A444 002173A4 D0 21 00 74 */ stfs f1, 0x74(r1) /* 8021A448 002173A8 D0 01 00 78 */ stfs f0, 0x78(r1) /* 8021A44C 002173AC 4B EF C9 11 */ bl __ct__10CModelDataFRC10CStaticRes /* 8021A450 002173B0 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8021A454 002173B4 38 81 01 04 */ addi r4, r1, 0x104 /* 8021A458 002173B8 4B EC DE 41 */ bl sub_800e8298 /* 8021A45C 002173BC 38 7E 04 A4 */ addi r3, r30, 0x4a4 /* 8021A460 002173C0 38 81 00 B4 */ addi r4, r1, 0xb4 /* 8021A464 002173C4 4B F0 38 E9 */ bl sub_8011dd4c /* 8021A468 002173C8 88 01 01 00 */ lbz r0, 0x100(r1) /* 8021A46C 002173CC 28 00 00 00 */ cmplwi r0, 0 /* 8021A470 002173D0 41 82 00 10 */ beq lbl_8021A480 /* 8021A474 002173D4 38 61 00 B4 */ addi r3, r1, 0xb4 /* 8021A478 002173D8 38 80 FF FF */ li r4, -1 /* 8021A47C 002173DC 4B EF C5 D1 */ bl __dt__10CModelDataFv lbl_8021A480: /* 8021A480 002173E0 38 00 00 00 */ li r0, 0 /* 8021A484 002173E4 38 61 01 04 */ addi r3, r1, 0x104 /* 8021A488 002173E8 98 01 01 00 */ stb r0, 0x100(r1) /* 8021A48C 002173EC 38 80 FF FF */ li r4, -1 /* 8021A490 002173F0 4B EF C5 BD */ bl __dt__10CModelDataFv /* 8021A494 002173F4 38 61 00 9C */ addi r3, r1, 0x9c /* 8021A498 002173F8 38 9E 04 A4 */ addi r4, r30, 0x4a4 /* 8021A49C 002173FC 4B EF B1 29 */ bl GetBounds__10CModelDataCFv /* 8021A4A0 00217400 C0 21 00 B0 */ lfs f1, 0xb0(r1) /* 8021A4A4 00217404 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 8021A4A8 00217408 EC 01 00 28 */ fsubs f0, f1, f0 /* 8021A4AC 0021740C D0 1E 04 F4 */ stfs f0, 0x4f4(r30) lbl_8021A4B0: /* 8021A4B0 00217410 7F C3 F3 78 */ mr r3, r30 /* 8021A4B4 00217414 7F E5 FB 78 */ mr r5, r31 /* 8021A4B8 00217418 38 80 00 05 */ li r4, 5 /* 8021A4BC 0021741C 4B FF F6 5D */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 8021A4C0 00217420 48 00 02 C8 */ b lbl_8021A788 /* 8021A4C4 00217424 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A4C8 00217428 2C 00 00 01 */ cmpwi r0, 1 /* 8021A4CC 0021742C 40 82 00 28 */ bne lbl_8021A4F4 /* 8021A4D0 00217430 A0 7E 04 98 */ lhz r3, 0x498(r30) /* 8021A4D4 00217434 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021A4D8 00217438 7C 03 00 40 */ cmplw r3, r0 /* 8021A4DC 0021743C 41 82 00 18 */ beq lbl_8021A4F4 /* 8021A4E0 00217440 A0 1E 04 98 */ lhz r0, 0x498(r30) /* 8021A4E4 00217444 7F E3 FB 78 */ mr r3, r31 /* 8021A4E8 00217448 38 81 00 24 */ addi r4, r1, 0x24 /* 8021A4EC 0021744C B0 01 00 24 */ sth r0, 0x24(r1) /* 8021A4F0 00217450 4B E3 1D 7D */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_8021A4F4: /* 8021A4F4 00217454 80 1E 05 0C */ lwz r0, 0x50c(r30) /* 8021A4F8 00217458 28 00 00 00 */ cmplwi r0, 0 /* 8021A4FC 0021745C 41 82 00 14 */ beq lbl_8021A510 /* 8021A500 00217460 80 1E 05 0C */ lwz r0, 0x50c(r30) /* 8021A504 00217464 38 61 00 44 */ addi r3, r1, 0x44 /* 8021A508 00217468 90 01 00 44 */ stw r0, 0x44(r1) /* 8021A50C 0021746C 48 0C F9 79 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle lbl_8021A510: /* 8021A510 00217470 80 7E 04 9C */ lwz r3, 0x49c(r30) /* 8021A514 00217474 28 03 00 00 */ cmplwi r3, 0 /* 8021A518 00217478 41 82 02 70 */ beq lbl_8021A788 /* 8021A51C 0021747C 7F E4 FB 78 */ mr r4, r31 /* 8021A520 00217480 4B F8 CE A5 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 8021A524 00217484 48 00 02 64 */ b lbl_8021A788 /* 8021A528 00217488 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A52C 0021748C 2C 00 00 00 */ cmpwi r0, 0 /* 8021A530 00217490 40 82 02 58 */ bne lbl_8021A788 /* 8021A534 00217494 80 1E 05 20 */ lwz r0, 0x520(r30) /* 8021A538 00217498 2C 00 00 05 */ cmpwi r0, 5 /* 8021A53C 0021749C 40 82 02 4C */ bne lbl_8021A788 /* 8021A540 002174A0 88 1E 05 60 */ lbz r0, 0x560(r30) /* 8021A544 002174A4 38 60 00 01 */ li r3, 1 /* 8021A548 002174A8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8021A54C 002174AC 98 1E 05 60 */ stb r0, 0x560(r30) /* 8021A550 002174B0 48 00 02 38 */ b lbl_8021A788 /* 8021A554 002174B4 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A558 002174B8 2C 00 00 00 */ cmpwi r0, 0 /* 8021A55C 002174BC 40 82 02 2C */ bne lbl_8021A788 /* 8021A560 002174C0 80 1E 05 20 */ lwz r0, 0x520(r30) /* 8021A564 002174C4 2C 00 00 01 */ cmpwi r0, 1 /* 8021A568 002174C8 41 82 02 20 */ beq lbl_8021A788 /* 8021A56C 002174CC 2C 00 00 02 */ cmpwi r0, 2 /* 8021A570 002174D0 41 82 02 18 */ beq lbl_8021A788 /* 8021A574 002174D4 2C 00 00 03 */ cmpwi r0, 3 /* 8021A578 002174D8 41 82 02 10 */ beq lbl_8021A788 /* 8021A57C 002174DC 88 1E 05 60 */ lbz r0, 0x560(r30) /* 8021A580 002174E0 7F C3 F3 78 */ mr r3, r30 /* 8021A584 002174E4 38 80 00 03 */ li r4, 3 /* 8021A588 002174E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8021A58C 002174EC 41 82 00 08 */ beq lbl_8021A594 /* 8021A590 002174F0 38 80 00 04 */ li r4, 4 lbl_8021A594: /* 8021A594 002174F4 7F E5 FB 78 */ mr r5, r31 /* 8021A598 002174F8 4B FF F5 81 */ bl SetTurretState__16CScriptGunTurretFQ216CScriptGunTurret12ETurretState /* 8021A59C 002174FC 48 00 01 EC */ b lbl_8021A788 /* 8021A5A0 00217500 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A5A4 00217504 2C 00 00 01 */ cmpwi r0, 1 /* 8021A5A8 00217508 40 82 00 14 */ bne lbl_8021A5BC /* 8021A5AC 0021750C 7F C3 F3 78 */ mr r3, r30 /* 8021A5B0 00217510 7F E4 FB 78 */ mr r4, r31 /* 8021A5B4 00217514 4B FF CE 55 */ bl LaunchProjectile__16CScriptGunTurretFR13CStateManager /* 8021A5B8 00217518 48 00 01 D0 */ b lbl_8021A788 lbl_8021A5BC: /* 8021A5BC 0021751C 2C 00 00 00 */ cmpwi r0, 0 /* 8021A5C0 00217520 40 82 01 C8 */ bne lbl_8021A788 /* 8021A5C4 00217524 7F C3 F3 78 */ mr r3, r30 /* 8021A5C8 00217528 7F E4 FB 78 */ mr r4, r31 /* 8021A5CC 0021752C 4B FF CC ED */ bl PlayAdditiveFlinchAnimation__16CScriptGunTurretFR13CStateManager /* 8021A5D0 00217530 48 00 01 B8 */ b lbl_8021A788 /* 8021A5D4 00217534 88 1E 05 60 */ lbz r0, 0x560(r30) /* 8021A5D8 00217538 38 60 00 00 */ li r3, 0 /* 8021A5DC 0021753C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8021A5E0 00217540 7F C3 F3 78 */ mr r3, r30 /* 8021A5E4 00217544 98 1E 05 60 */ stb r0, 0x560(r30) /* 8021A5E8 00217548 38 80 00 00 */ li r4, 0 /* 8021A5EC 0021754C 4B E3 8E 01 */ bl SetMuted__6CActorFb /* 8021A5F0 00217550 48 00 01 98 */ b lbl_8021A788 /* 8021A5F4 00217554 88 1E 05 60 */ lbz r0, 0x560(r30) /* 8021A5F8 00217558 38 60 00 01 */ li r3, 1 /* 8021A5FC 0021755C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8021A600 00217560 7F C3 F3 78 */ mr r3, r30 /* 8021A604 00217564 98 1E 05 60 */ stb r0, 0x560(r30) /* 8021A608 00217568 38 80 00 01 */ li r4, 1 /* 8021A60C 0021756C 4B E3 8D E1 */ bl SetMuted__6CActorFb /* 8021A610 00217570 48 00 01 78 */ b lbl_8021A788 /* 8021A614 00217574 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A618 00217578 2C 00 00 00 */ cmpwi r0, 0 /* 8021A61C 0021757C 40 82 01 6C */ bne lbl_8021A788 /* 8021A620 00217580 83 9E 00 2C */ lwz r28, 0x2c(r30) /* 8021A624 00217584 48 00 00 90 */ b lbl_8021A6B4 lbl_8021A628: /* 8021A628 00217588 80 1C 00 00 */ lwz r0, 0(r28) /* 8021A62C 0021758C 2C 00 00 12 */ cmpwi r0, 0x12 /* 8021A630 00217590 40 82 00 80 */ bne lbl_8021A6B0 /* 8021A634 00217594 80 1C 00 04 */ lwz r0, 4(r28) /* 8021A638 00217598 2C 00 00 01 */ cmpwi r0, 1 /* 8021A63C 0021759C 40 82 00 74 */ bne lbl_8021A6B0 /* 8021A640 002175A0 80 1C 00 08 */ lwz r0, 8(r28) /* 8021A644 002175A4 7F E4 FB 78 */ mr r4, r31 /* 8021A648 002175A8 38 61 00 20 */ addi r3, r1, 0x20 /* 8021A64C 002175AC 38 A1 00 40 */ addi r5, r1, 0x40 /* 8021A650 002175B0 90 01 00 40 */ stw r0, 0x40(r1) /* 8021A654 002175B4 4B E2 D8 C9 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 8021A658 002175B8 A0 01 00 20 */ lhz r0, 0x20(r1) /* 8021A65C 002175BC 7F E3 FB 78 */ mr r3, r31 /* 8021A660 002175C0 38 81 00 1C */ addi r4, r1, 0x1c /* 8021A664 002175C4 B0 01 00 3C */ sth r0, 0x3c(r1) /* 8021A668 002175C8 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8021A66C 002175CC 4B E3 1F 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021A670 002175D0 7C 64 1B 78 */ mr r4, r3 /* 8021A674 002175D4 38 61 00 58 */ addi r3, r1, 0x58 /* 8021A678 002175D8 4B E8 F1 3D */ bl "__ct__30TCastToPtr<16CScriptGunTurret>FP7CEntity" /* 8021A67C 002175DC 80 63 00 04 */ lwz r3, 4(r3) /* 8021A680 002175E0 28 03 00 00 */ cmplwi r3, 0 /* 8021A684 002175E4 41 82 00 2C */ beq lbl_8021A6B0 /* 8021A688 002175E8 A0 01 00 3C */ lhz r0, 0x3c(r1) /* 8021A68C 002175EC 7F E4 FB 78 */ mr r4, r31 /* 8021A690 002175F0 B0 1E 02 5C */ sth r0, 0x25c(r30) /* 8021A694 002175F4 81 83 00 00 */ lwz r12, 0(r3) /* 8021A698 002175F8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021A69C 002175FC 7D 89 03 A6 */ mtctr r12 /* 8021A6A0 00217600 4E 80 04 21 */ bctrl /* 8021A6A4 00217604 C0 03 00 00 */ lfs f0, 0(r3) /* 8021A6A8 00217608 D0 1E 02 60 */ stfs f0, 0x260(r30) /* 8021A6AC 0021760C 48 00 00 DC */ b lbl_8021A788 lbl_8021A6B0: /* 8021A6B0 00217610 3B 9C 00 0C */ addi r28, r28, 0xc lbl_8021A6B4: /* 8021A6B4 00217614 80 1E 00 24 */ lwz r0, 0x24(r30) /* 8021A6B8 00217618 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8021A6BC 0021761C 1C 00 00 0C */ mulli r0, r0, 0xc /* 8021A6C0 00217620 7C 03 02 14 */ add r0, r3, r0 /* 8021A6C4 00217624 7C 1C 00 40 */ cmplw r28, r0 /* 8021A6C8 00217628 40 82 FF 60 */ bne lbl_8021A628 /* 8021A6CC 0021762C 48 00 00 BC */ b lbl_8021A788 /* 8021A6D0 00217630 80 1E 02 58 */ lwz r0, 0x258(r30) /* 8021A6D4 00217634 2C 00 00 01 */ cmpwi r0, 1 /* 8021A6D8 00217638 40 82 00 B0 */ bne lbl_8021A788 /* 8021A6DC 0021763C 7F C3 F3 78 */ mr r3, r30 /* 8021A6E0 00217640 7F E4 FB 78 */ mr r4, r31 /* 8021A6E4 00217644 81 9E 00 00 */ lwz r12, 0(r30) /* 8021A6E8 00217648 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021A6EC 0021764C 7D 89 03 A6 */ mtctr r12 /* 8021A6F0 00217650 4E 80 04 21 */ bctrl /* 8021A6F4 00217654 C0 23 00 00 */ lfs f1, 0(r3) /* 8021A6F8 00217658 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021A6FC 0021765C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021A700 00217660 4C 40 13 82 */ cror 2, 0, 2 /* 8021A704 00217664 40 82 00 84 */ bne lbl_8021A788 /* 8021A708 00217668 A0 1C 00 00 */ lhz r0, 0(r28) /* 8021A70C 0021766C 7F E3 FB 78 */ mr r3, r31 /* 8021A710 00217670 38 81 00 18 */ addi r4, r1, 0x18 /* 8021A714 00217674 B0 01 00 18 */ sth r0, 0x18(r1) /* 8021A718 00217678 4B E3 1E 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8021A71C 0021767C 7C 64 1B 78 */ mr r4, r3 /* 8021A720 00217680 38 61 00 50 */ addi r3, r1, 0x50 /* 8021A724 00217684 4B E9 2F E9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 8021A728 00217688 80 63 00 04 */ lwz r3, 4(r3) /* 8021A72C 0021768C 28 03 00 00 */ cmplwi r3, 0 /* 8021A730 00217690 41 82 00 58 */ beq lbl_8021A788 /* 8021A734 00217694 80 03 00 E8 */ lwz r0, 0xe8(r3) /* 8021A738 00217698 54 00 06 F6 */ rlwinm r0, r0, 0, 0x1b, 0x1b /* 8021A73C 0021769C 2C 00 00 10 */ cmpwi r0, 0x10 /* 8021A740 002176A0 40 82 00 48 */ bne lbl_8021A788 /* 8021A744 002176A4 38 00 00 0C */ li r0, 0xc /* 8021A748 002176A8 7F C3 F3 78 */ mr r3, r30 /* 8021A74C 002176AC 90 1E 05 20 */ stw r0, 0x520(r30) /* 8021A750 002176B0 7F E6 FB 78 */ mr r6, r31 /* 8021A754 002176B4 38 80 00 28 */ li r4, 0x28 /* 8021A758 002176B8 38 A0 00 29 */ li r5, 0x29 /* 8021A75C 002176BC 4B E3 97 79 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 8021A760 002176C0 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021A764 002176C4 7F E6 FB 78 */ mr r6, r31 /* 8021A768 002176C8 38 81 00 14 */ addi r4, r1, 0x14 /* 8021A76C 002176CC 38 A0 00 08 */ li r5, 8 /* 8021A770 002176D0 B0 01 00 14 */ sth r0, 0x14(r1) /* 8021A774 002176D4 B0 01 00 10 */ sth r0, 0x10(r1) /* 8021A778 002176D8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8021A77C 002176DC 4B F6 0A D9 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager /* 8021A780 002176E0 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021A784 002176E4 D0 1E 05 3C */ stfs f0, 0x53c(r30) lbl_8021A788: /* 8021A788 002176E8 BB 41 01 A8 */ lmw r26, 0x1a8(r1) /* 8021A78C 002176EC 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 8021A790 002176F0 7C 08 03 A6 */ mtlr r0 /* 8021A794 002176F4 38 21 01 C0 */ addi r1, r1, 0x1c0 /* 8021A798 002176F8 4E 80 00 20 */ blr .global Think__16CScriptGunTurretFfR13CStateManager Think__16CScriptGunTurretFfR13CStateManager: /* 8021A79C 002176FC 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8021A7A0 00217700 7C 08 02 A6 */ mflr r0 /* 8021A7A4 00217704 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8021A7A8 00217708 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 8021A7AC 0021770C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 8021A7B0 00217710 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 8021A7B4 00217714 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 8021A7B8 00217718 DB A1 00 C0 */ stfd f29, 0xc0(r1) /* 8021A7BC 0021771C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 /* 8021A7C0 00217720 DB 81 00 B0 */ stfd f28, 0xb0(r1) /* 8021A7C4 00217724 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 /* 8021A7C8 00217728 93 E1 00 AC */ stw r31, 0xac(r1) /* 8021A7CC 0021772C 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 8021A7D0 00217730 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 8021A7D4 00217734 88 03 00 30 */ lbz r0, 0x30(r3) /* 8021A7D8 00217738 FF E0 08 90 */ fmr f31, f1 /* 8021A7DC 0021773C 7C 7D 1B 78 */ mr r29, r3 /* 8021A7E0 00217740 7C 9E 23 78 */ mr r30, r4 /* 8021A7E4 00217744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8021A7E8 00217748 41 82 01 CC */ beq lbl_8021A9B4 /* 8021A7EC 0021774C 80 1D 02 58 */ lwz r0, 0x258(r29) /* 8021A7F0 00217750 2C 00 00 01 */ cmpwi r0, 1 /* 8021A7F4 00217754 41 82 01 1C */ beq lbl_8021A910 /* 8021A7F8 00217758 40 80 01 B0 */ bge lbl_8021A9A8 /* 8021A7FC 0021775C 2C 00 00 00 */ cmpwi r0, 0 /* 8021A800 00217760 40 80 00 08 */ bge lbl_8021A808 /* 8021A804 00217764 48 00 01 A4 */ b lbl_8021A9A8 lbl_8021A808: /* 8021A808 00217768 88 1D 05 60 */ lbz r0, 0x560(r29) /* 8021A80C 0021776C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8021A810 00217770 40 82 00 EC */ bne lbl_8021A8FC /* 8021A814 00217774 4B FF F1 ED */ bl ProcessGunStateMachine__16CScriptGunTurretFfR13CStateManager /* 8021A818 00217778 7F A3 EB 78 */ mr r3, r29 /* 8021A81C 0021777C 4B FF E1 AD */ bl UpdateTurretAnimation__16CScriptGunTurretFv /* 8021A820 00217780 FC 20 F8 90 */ fmr f1, f31 /* 8021A824 00217784 7F A3 EB 78 */ mr r3, r29 /* 8021A828 00217788 7F C4 F3 78 */ mr r4, r30 /* 8021A82C 0021778C 4B FF D7 31 */ bl UpdateGunOrientation__16CScriptGunTurretFfR13CStateManager /* 8021A830 00217790 FC 20 F8 90 */ fmr f1, f31 /* 8021A834 00217794 7F A4 EB 78 */ mr r4, r29 /* 8021A838 00217798 38 61 00 20 */ addi r3, r1, 0x20 /* 8021A83C 0021779C 4B FF D5 F9 */ bl UpdateExtensionModelState__16CScriptGunTurretFf /* 8021A840 002177A0 FC 20 F8 90 */ fmr f1, f31 /* 8021A844 002177A4 C3 C1 00 20 */ lfs f30, 0x20(r1) /* 8021A848 002177A8 C3 A1 00 24 */ lfs f29, 0x24(r1) /* 8021A84C 002177AC 7F A4 EB 78 */ mr r4, r29 /* 8021A850 002177B0 C3 81 00 28 */ lfs f28, 0x28(r1) /* 8021A854 002177B4 7F C5 F3 78 */ mr r5, r30 /* 8021A858 002177B8 38 61 00 48 */ addi r3, r1, 0x48 /* 8021A85C 002177BC 38 C0 00 01 */ li r6, 1 /* 8021A860 002177C0 4B E3 AA 3D */ bl UpdateAnimation__6CActorFfR13CStateManagerb /* 8021A864 002177C4 C0 C1 00 48 */ lfs f6, 0x48(r1) /* 8021A868 002177C8 7F A3 EB 78 */ mr r3, r29 /* 8021A86C 002177CC C0 A1 00 4C */ lfs f5, 0x4c(r1) /* 8021A870 002177D0 3B E1 00 8C */ addi r31, r1, 0x8c /* 8021A874 002177D4 C0 81 00 50 */ lfs f4, 0x50(r1) /* 8021A878 002177D8 38 81 00 14 */ addi r4, r1, 0x14 /* 8021A87C 002177DC C0 61 00 54 */ lfs f3, 0x54(r1) /* 8021A880 002177E0 C0 41 00 58 */ lfs f2, 0x58(r1) /* 8021A884 002177E4 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 8021A888 002177E8 C0 01 00 60 */ lfs f0, 0x60(r1) /* 8021A88C 002177EC D0 C1 00 80 */ stfs f6, 0x80(r1) /* 8021A890 002177F0 D0 A1 00 84 */ stfs f5, 0x84(r1) /* 8021A894 002177F4 D0 81 00 88 */ stfs f4, 0x88(r1) /* 8021A898 002177F8 D0 61 00 8C */ stfs f3, 0x8c(r1) /* 8021A89C 002177FC D0 41 00 90 */ stfs f2, 0x90(r1) /* 8021A8A0 00217800 D0 21 00 94 */ stfs f1, 0x94(r1) /* 8021A8A4 00217804 D0 01 00 98 */ stfs f0, 0x98(r1) /* 8021A8A8 00217808 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 8021A8AC 0021780C C0 3D 00 60 */ lfs f1, 0x60(r29) /* 8021A8B0 00217810 EC 60 28 2A */ fadds f3, f0, f5 /* 8021A8B4 00217814 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 8021A8B8 00217818 EC 41 20 2A */ fadds f2, f1, f4 /* 8021A8BC 0021781C EC 20 30 2A */ fadds f1, f0, f6 /* 8021A8C0 00217820 EC 83 E8 2A */ fadds f4, f3, f29 /* 8021A8C4 00217824 D0 61 00 0C */ stfs f3, 0xc(r1) /* 8021A8C8 00217828 EC 62 E0 2A */ fadds f3, f2, f28 /* 8021A8CC 0021782C EC 01 F0 2A */ fadds f0, f1, f30 /* 8021A8D0 00217830 D0 21 00 08 */ stfs f1, 8(r1) /* 8021A8D4 00217834 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8021A8D8 00217838 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8021A8DC 0021783C D0 81 00 18 */ stfs f4, 0x18(r1) /* 8021A8E0 00217840 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 8021A8E4 00217844 4B E3 85 A9 */ bl SetTranslation__6CActorFRC9CVector3f /* 8021A8E8 00217848 FC 20 F8 90 */ fmr f1, f31 /* 8021A8EC 0021784C 7F A3 EB 78 */ mr r3, r29 /* 8021A8F0 00217850 7F E4 FB 78 */ mr r4, r31 /* 8021A8F4 00217854 4B F0 05 21 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf /* 8021A8F8 00217858 48 00 00 08 */ b lbl_8021A900 lbl_8021A8FC: /* 8021A8FC 0021785C 4B F0 0A 7D */ bl Stop__13CPhysicsActorFv lbl_8021A900: /* 8021A900 00217860 FC 20 F8 90 */ fmr f1, f31 /* 8021A904 00217864 7F A3 EB 78 */ mr r3, r29 /* 8021A908 00217868 4B FF B9 81 */ bl UpdateTargettingSound__16CScriptGunTurretFf /* 8021A90C 0021786C 48 00 00 9C */ b lbl_8021A9A8 lbl_8021A910: /* 8021A910 00217870 4B FF BD DD */ bl UpdateGunParticles__16CScriptGunTurretFfR13CStateManager /* 8021A914 00217874 FC 20 F8 90 */ fmr f1, f31 /* 8021A918 00217878 7F A4 EB 78 */ mr r4, r29 /* 8021A91C 0021787C 7F C5 F3 78 */ mr r5, r30 /* 8021A920 00217880 38 61 00 2C */ addi r3, r1, 0x2c /* 8021A924 00217884 38 C0 00 01 */ li r6, 1 /* 8021A928 00217888 4B E3 A9 75 */ bl UpdateAnimation__6CActorFfR13CStateManagerb /* 8021A92C 0021788C C0 E1 00 2C */ lfs f7, 0x2c(r1) /* 8021A930 00217890 FC 20 F8 90 */ fmr f1, f31 /* 8021A934 00217894 C0 C1 00 30 */ lfs f6, 0x30(r1) /* 8021A938 00217898 7F A3 EB 78 */ mr r3, r29 /* 8021A93C 0021789C C0 A1 00 34 */ lfs f5, 0x34(r1) /* 8021A940 002178A0 3B E1 00 70 */ addi r31, r1, 0x70 /* 8021A944 002178A4 C0 81 00 38 */ lfs f4, 0x38(r1) /* 8021A948 002178A8 C0 61 00 3C */ lfs f3, 0x3c(r1) /* 8021A94C 002178AC 38 81 00 64 */ addi r4, r1, 0x64 /* 8021A950 002178B0 C0 41 00 40 */ lfs f2, 0x40(r1) /* 8021A954 002178B4 C0 01 00 44 */ lfs f0, 0x44(r1) /* 8021A958 002178B8 D0 E1 00 64 */ stfs f7, 0x64(r1) /* 8021A95C 002178BC D0 C1 00 68 */ stfs f6, 0x68(r1) /* 8021A960 002178C0 D0 A1 00 6C */ stfs f5, 0x6c(r1) /* 8021A964 002178C4 D0 81 00 70 */ stfs f4, 0x70(r1) /* 8021A968 002178C8 D0 61 00 74 */ stfs f3, 0x74(r1) /* 8021A96C 002178CC D0 41 00 78 */ stfs f2, 0x78(r1) /* 8021A970 002178D0 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 8021A974 002178D4 4B F0 05 05 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff /* 8021A978 002178D8 FC 20 F8 90 */ fmr f1, f31 /* 8021A97C 002178DC 7F A3 EB 78 */ mr r3, r29 /* 8021A980 002178E0 7F E4 FB 78 */ mr r4, r31 /* 8021A984 002178E4 4B F0 04 91 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf /* 8021A988 002178E8 FC 20 F8 90 */ fmr f1, f31 /* 8021A98C 002178EC 7F A3 EB 78 */ mr r3, r29 /* 8021A990 002178F0 7F C4 F3 78 */ mr r4, r30 /* 8021A994 002178F4 4B FF B1 49 */ bl UpdateGunCollisionManager__16CScriptGunTurretFfR13CStateManager /* 8021A998 002178F8 FC 20 F8 90 */ fmr f1, f31 /* 8021A99C 002178FC 7F A3 EB 78 */ mr r3, r29 /* 8021A9A0 00217900 7F C4 F3 78 */ mr r4, r30 /* 8021A9A4 00217904 4B FF B0 65 */ bl UpdateFrozenState__16CScriptGunTurretFfR13CStateManager lbl_8021A9A8: /* 8021A9A8 00217908 7F A3 EB 78 */ mr r3, r29 /* 8021A9AC 0021790C 7F C4 F3 78 */ mr r4, r30 /* 8021A9B0 00217910 4B FF D3 21 */ bl UpdateHealthInfo__16CScriptGunTurretFR13CStateManager lbl_8021A9B4: /* 8021A9B4 00217914 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 8021A9B8 00217918 CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 8021A9BC 0021791C E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 8021A9C0 00217920 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 8021A9C4 00217924 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 /* 8021A9C8 00217928 CB A1 00 C0 */ lfd f29, 0xc0(r1) /* 8021A9CC 0021792C E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 /* 8021A9D0 00217930 CB 81 00 B0 */ lfd f28, 0xb0(r1) /* 8021A9D4 00217934 83 E1 00 AC */ lwz r31, 0xac(r1) /* 8021A9D8 00217938 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 8021A9DC 0021793C 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8021A9E0 00217940 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 8021A9E4 00217944 7C 08 03 A6 */ mtlr r0 /* 8021A9E8 00217948 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8021A9EC 0021794C 4E 80 00 20 */ blr .global __dt__16CScriptGunTurretFv __dt__16CScriptGunTurretFv: /* 8021A9F0 00217950 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021A9F4 00217954 7C 08 02 A6 */ mflr r0 /* 8021A9F8 00217958 90 01 00 14 */ stw r0, 0x14(r1) /* 8021A9FC 0021795C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8021AA00 00217960 7C 9F 23 78 */ mr r31, r4 /* 8021AA04 00217964 93 C1 00 08 */ stw r30, 8(r1) /* 8021AA08 00217968 7C 7E 1B 79 */ or. r30, r3, r3 /* 8021AA0C 0021796C 41 82 03 04 */ beq lbl_8021AD10 /* 8021AA10 00217970 3C 60 80 3E */ lis r3, lbl_803E71EC@ha /* 8021AA14 00217974 34 1E 04 A4 */ addic. r0, r30, 0x4a4 /* 8021AA18 00217978 38 03 71 EC */ addi r0, r3, lbl_803E71EC@l /* 8021AA1C 0021797C 90 1E 00 00 */ stw r0, 0(r30) /* 8021AA20 00217980 41 82 00 24 */ beq lbl_8021AA44 /* 8021AA24 00217984 88 1E 04 F0 */ lbz r0, 0x4f0(r30) /* 8021AA28 00217988 28 00 00 00 */ cmplwi r0, 0 /* 8021AA2C 0021798C 41 82 00 10 */ beq lbl_8021AA3C /* 8021AA30 00217990 38 7E 04 A4 */ addi r3, r30, 0x4a4 /* 8021AA34 00217994 38 80 FF FF */ li r4, -1 /* 8021AA38 00217998 4B EF C0 15 */ bl __dt__10CModelDataFv lbl_8021AA3C: /* 8021AA3C 0021799C 38 00 00 00 */ li r0, 0 /* 8021AA40 002179A0 98 1E 04 F0 */ stb r0, 0x4f0(r30) lbl_8021AA44: /* 8021AA44 002179A4 34 1E 04 9C */ addic. r0, r30, 0x49c /* 8021AA48 002179A8 41 82 00 10 */ beq lbl_8021AA58 /* 8021AA4C 002179AC 80 7E 04 9C */ lwz r3, 0x49c(r30) /* 8021AA50 002179B0 38 80 00 01 */ li r4, 1 /* 8021AA54 002179B4 4B F8 CE 89 */ bl sub_801a78dc lbl_8021AA58: /* 8021AA58 002179B8 34 1E 04 90 */ addic. r0, r30, 0x490 /* 8021AA5C 002179BC 41 82 00 30 */ beq lbl_8021AA8C /* 8021AA60 002179C0 88 1E 04 90 */ lbz r0, 0x490(r30) /* 8021AA64 002179C4 28 00 00 00 */ cmplwi r0, 0 /* 8021AA68 002179C8 41 82 00 24 */ beq lbl_8021AA8C /* 8021AA6C 002179CC 80 7E 04 94 */ lwz r3, 0x494(r30) /* 8021AA70 002179D0 28 03 00 00 */ cmplwi r3, 0 /* 8021AA74 002179D4 41 82 00 18 */ beq lbl_8021AA8C /* 8021AA78 002179D8 81 83 00 00 */ lwz r12, 0(r3) /* 8021AA7C 002179DC 38 80 00 01 */ li r4, 1 /* 8021AA80 002179E0 81 8C 00 08 */ lwz r12, 8(r12) /* 8021AA84 002179E4 7D 89 03 A6 */ mtctr r12 /* 8021AA88 002179E8 4E 80 04 21 */ bctrl lbl_8021AA8C: /* 8021AA8C 002179EC 34 1E 04 88 */ addic. r0, r30, 0x488 /* 8021AA90 002179F0 41 82 00 30 */ beq lbl_8021AAC0 /* 8021AA94 002179F4 88 1E 04 88 */ lbz r0, 0x488(r30) /* 8021AA98 002179F8 28 00 00 00 */ cmplwi r0, 0 /* 8021AA9C 002179FC 41 82 00 24 */ beq lbl_8021AAC0 /* 8021AAA0 00217A00 80 7E 04 8C */ lwz r3, 0x48c(r30) /* 8021AAA4 00217A04 28 03 00 00 */ cmplwi r3, 0 /* 8021AAA8 00217A08 41 82 00 18 */ beq lbl_8021AAC0 /* 8021AAAC 00217A0C 81 83 00 00 */ lwz r12, 0(r3) /* 8021AAB0 00217A10 38 80 00 01 */ li r4, 1 /* 8021AAB4 00217A14 81 8C 00 08 */ lwz r12, 8(r12) /* 8021AAB8 00217A18 7D 89 03 A6 */ mtctr r12 /* 8021AABC 00217A1C 4E 80 04 21 */ bctrl lbl_8021AAC0: /* 8021AAC0 00217A20 34 1E 04 80 */ addic. r0, r30, 0x480 /* 8021AAC4 00217A24 41 82 00 30 */ beq lbl_8021AAF4 /* 8021AAC8 00217A28 88 1E 04 80 */ lbz r0, 0x480(r30) /* 8021AACC 00217A2C 28 00 00 00 */ cmplwi r0, 0 /* 8021AAD0 00217A30 41 82 00 24 */ beq lbl_8021AAF4 /* 8021AAD4 00217A34 80 7E 04 84 */ lwz r3, 0x484(r30) /* 8021AAD8 00217A38 28 03 00 00 */ cmplwi r3, 0 /* 8021AADC 00217A3C 41 82 00 18 */ beq lbl_8021AAF4 /* 8021AAE0 00217A40 81 83 00 00 */ lwz r12, 0(r3) /* 8021AAE4 00217A44 38 80 00 01 */ li r4, 1 /* 8021AAE8 00217A48 81 8C 00 08 */ lwz r12, 8(r12) /* 8021AAEC 00217A4C 7D 89 03 A6 */ mtctr r12 /* 8021AAF0 00217A50 4E 80 04 21 */ bctrl lbl_8021AAF4: /* 8021AAF4 00217A54 34 1E 04 78 */ addic. r0, r30, 0x478 /* 8021AAF8 00217A58 41 82 00 30 */ beq lbl_8021AB28 /* 8021AAFC 00217A5C 88 1E 04 78 */ lbz r0, 0x478(r30) /* 8021AB00 00217A60 28 00 00 00 */ cmplwi r0, 0 /* 8021AB04 00217A64 41 82 00 24 */ beq lbl_8021AB28 /* 8021AB08 00217A68 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8021AB0C 00217A6C 28 03 00 00 */ cmplwi r3, 0 /* 8021AB10 00217A70 41 82 00 18 */ beq lbl_8021AB28 /* 8021AB14 00217A74 81 83 00 00 */ lwz r12, 0(r3) /* 8021AB18 00217A78 38 80 00 01 */ li r4, 1 /* 8021AB1C 00217A7C 81 8C 00 08 */ lwz r12, 8(r12) /* 8021AB20 00217A80 7D 89 03 A6 */ mtctr r12 /* 8021AB24 00217A84 4E 80 04 21 */ bctrl lbl_8021AB28: /* 8021AB28 00217A88 34 1E 04 70 */ addic. r0, r30, 0x470 /* 8021AB2C 00217A8C 41 82 00 30 */ beq lbl_8021AB5C /* 8021AB30 00217A90 88 1E 04 70 */ lbz r0, 0x470(r30) /* 8021AB34 00217A94 28 00 00 00 */ cmplwi r0, 0 /* 8021AB38 00217A98 41 82 00 24 */ beq lbl_8021AB5C /* 8021AB3C 00217A9C 80 7E 04 74 */ lwz r3, 0x474(r30) /* 8021AB40 00217AA0 28 03 00 00 */ cmplwi r3, 0 /* 8021AB44 00217AA4 41 82 00 18 */ beq lbl_8021AB5C /* 8021AB48 00217AA8 81 83 00 00 */ lwz r12, 0(r3) /* 8021AB4C 00217AAC 38 80 00 01 */ li r4, 1 /* 8021AB50 00217AB0 81 8C 00 08 */ lwz r12, 8(r12) /* 8021AB54 00217AB4 7D 89 03 A6 */ mtctr r12 /* 8021AB58 00217AB8 4E 80 04 21 */ bctrl lbl_8021AB5C: /* 8021AB5C 00217ABC 34 1E 04 68 */ addic. r0, r30, 0x468 /* 8021AB60 00217AC0 41 82 00 30 */ beq lbl_8021AB90 /* 8021AB64 00217AC4 88 1E 04 68 */ lbz r0, 0x468(r30) /* 8021AB68 00217AC8 28 00 00 00 */ cmplwi r0, 0 /* 8021AB6C 00217ACC 41 82 00 24 */ beq lbl_8021AB90 /* 8021AB70 00217AD0 80 7E 04 6C */ lwz r3, 0x46c(r30) /* 8021AB74 00217AD4 28 03 00 00 */ cmplwi r3, 0 /* 8021AB78 00217AD8 41 82 00 18 */ beq lbl_8021AB90 /* 8021AB7C 00217ADC 81 83 00 00 */ lwz r12, 0(r3) /* 8021AB80 00217AE0 38 80 00 01 */ li r4, 1 /* 8021AB84 00217AE4 81 8C 00 08 */ lwz r12, 8(r12) /* 8021AB88 00217AE8 7D 89 03 A6 */ mtctr r12 /* 8021AB8C 00217AEC 4E 80 04 21 */ bctrl lbl_8021AB90: /* 8021AB90 00217AF0 34 1E 04 58 */ addic. r0, r30, 0x458 /* 8021AB94 00217AF4 41 82 00 30 */ beq lbl_8021ABC4 /* 8021AB98 00217AF8 88 1E 04 64 */ lbz r0, 0x464(r30) /* 8021AB9C 00217AFC 28 00 00 00 */ cmplwi r0, 0 /* 8021ABA0 00217B00 41 82 00 1C */ beq lbl_8021ABBC /* 8021ABA4 00217B04 34 7E 04 58 */ addic. r3, r30, 0x458 /* 8021ABA8 00217B08 41 82 00 14 */ beq lbl_8021ABBC /* 8021ABAC 00217B0C 28 03 00 00 */ cmplwi r3, 0 /* 8021ABB0 00217B10 41 82 00 0C */ beq lbl_8021ABBC /* 8021ABB4 00217B14 38 80 00 00 */ li r4, 0 /* 8021ABB8 00217B18 48 12 62 89 */ bl __dt__6CTokenFv lbl_8021ABBC: /* 8021ABBC 00217B1C 38 00 00 00 */ li r0, 0 /* 8021ABC0 00217B20 98 1E 04 64 */ stb r0, 0x464(r30) lbl_8021ABC4: /* 8021ABC4 00217B24 34 1E 04 4C */ addic. r0, r30, 0x44c /* 8021ABC8 00217B28 41 82 00 18 */ beq lbl_8021ABE0 /* 8021ABCC 00217B2C 34 1E 04 4C */ addic. r0, r30, 0x44c /* 8021ABD0 00217B30 41 82 00 10 */ beq lbl_8021ABE0 /* 8021ABD4 00217B34 38 7E 04 4C */ addi r3, r30, 0x44c /* 8021ABD8 00217B38 38 80 00 00 */ li r4, 0 /* 8021ABDC 00217B3C 48 12 62 65 */ bl __dt__6CTokenFv lbl_8021ABE0: /* 8021ABE0 00217B40 34 1E 04 40 */ addic. r0, r30, 0x440 /* 8021ABE4 00217B44 41 82 00 18 */ beq lbl_8021ABFC /* 8021ABE8 00217B48 34 1E 04 40 */ addic. r0, r30, 0x440 /* 8021ABEC 00217B4C 41 82 00 10 */ beq lbl_8021ABFC /* 8021ABF0 00217B50 38 7E 04 40 */ addi r3, r30, 0x440 /* 8021ABF4 00217B54 38 80 00 00 */ li r4, 0 /* 8021ABF8 00217B58 48 12 62 49 */ bl __dt__6CTokenFv lbl_8021ABFC: /* 8021ABFC 00217B5C 34 1E 04 34 */ addic. r0, r30, 0x434 /* 8021AC00 00217B60 41 82 00 18 */ beq lbl_8021AC18 /* 8021AC04 00217B64 34 1E 04 34 */ addic. r0, r30, 0x434 /* 8021AC08 00217B68 41 82 00 10 */ beq lbl_8021AC18 /* 8021AC0C 00217B6C 38 7E 04 34 */ addi r3, r30, 0x434 /* 8021AC10 00217B70 38 80 00 00 */ li r4, 0 /* 8021AC14 00217B74 48 12 62 2D */ bl __dt__6CTokenFv lbl_8021AC18: /* 8021AC18 00217B78 34 1E 04 28 */ addic. r0, r30, 0x428 /* 8021AC1C 00217B7C 41 82 00 18 */ beq lbl_8021AC34 /* 8021AC20 00217B80 34 1E 04 28 */ addic. r0, r30, 0x428 /* 8021AC24 00217B84 41 82 00 10 */ beq lbl_8021AC34 /* 8021AC28 00217B88 38 7E 04 28 */ addi r3, r30, 0x428 /* 8021AC2C 00217B8C 38 80 00 00 */ li r4, 0 /* 8021AC30 00217B90 48 12 62 11 */ bl __dt__6CTokenFv lbl_8021AC34: /* 8021AC34 00217B94 34 1E 04 1C */ addic. r0, r30, 0x41c /* 8021AC38 00217B98 41 82 00 18 */ beq lbl_8021AC50 /* 8021AC3C 00217B9C 34 1E 04 1C */ addic. r0, r30, 0x41c /* 8021AC40 00217BA0 41 82 00 10 */ beq lbl_8021AC50 /* 8021AC44 00217BA4 38 7E 04 1C */ addi r3, r30, 0x41c /* 8021AC48 00217BA8 38 80 00 00 */ li r4, 0 /* 8021AC4C 00217BAC 48 12 61 F5 */ bl __dt__6CTokenFv lbl_8021AC50: /* 8021AC50 00217BB0 34 1E 04 10 */ addic. r0, r30, 0x410 /* 8021AC54 00217BB4 41 82 00 18 */ beq lbl_8021AC6C /* 8021AC58 00217BB8 34 1E 04 10 */ addic. r0, r30, 0x410 /* 8021AC5C 00217BBC 41 82 00 10 */ beq lbl_8021AC6C /* 8021AC60 00217BC0 38 7E 04 10 */ addi r3, r30, 0x410 /* 8021AC64 00217BC4 38 80 00 00 */ li r4, 0 /* 8021AC68 00217BC8 48 12 61 D9 */ bl __dt__6CTokenFv lbl_8021AC6C: /* 8021AC6C 00217BCC 34 1E 03 A4 */ addic. r0, r30, 0x3a4 /* 8021AC70 00217BD0 41 82 00 60 */ beq lbl_8021ACD0 /* 8021AC74 00217BD4 34 1E 03 C0 */ addic. r0, r30, 0x3c0 /* 8021AC78 00217BD8 41 82 00 58 */ beq lbl_8021ACD0 /* 8021AC7C 00217BDC 80 BE 03 C0 */ lwz r5, 0x3c0(r30) /* 8021AC80 00217BE0 38 60 00 00 */ li r3, 0 /* 8021AC84 00217BE4 2C 05 00 00 */ cmpwi r5, 0 /* 8021AC88 00217BE8 40 81 00 40 */ ble lbl_8021ACC8 /* 8021AC8C 00217BEC 2C 05 00 08 */ cmpwi r5, 8 /* 8021AC90 00217BF0 38 85 FF F8 */ addi r4, r5, -8 /* 8021AC94 00217BF4 40 81 00 20 */ ble lbl_8021ACB4 /* 8021AC98 00217BF8 38 04 00 07 */ addi r0, r4, 7 /* 8021AC9C 00217BFC 54 00 E8 FE */ srwi r0, r0, 3 /* 8021ACA0 00217C00 7C 09 03 A6 */ mtctr r0 /* 8021ACA4 00217C04 2C 04 00 00 */ cmpwi r4, 0 /* 8021ACA8 00217C08 40 81 00 0C */ ble lbl_8021ACB4 lbl_8021ACAC: /* 8021ACAC 00217C0C 38 63 00 08 */ addi r3, r3, 8 /* 8021ACB0 00217C10 42 00 FF FC */ bdnz lbl_8021ACAC lbl_8021ACB4: /* 8021ACB4 00217C14 7C 03 28 50 */ subf r0, r3, r5 /* 8021ACB8 00217C18 7C 09 03 A6 */ mtctr r0 /* 8021ACBC 00217C1C 7C 03 28 00 */ cmpw r3, r5 /* 8021ACC0 00217C20 40 80 00 08 */ bge lbl_8021ACC8 lbl_8021ACC4: /* 8021ACC4 00217C24 42 00 00 00 */ bdnz lbl_8021ACC4 lbl_8021ACC8: /* 8021ACC8 00217C28 38 00 00 00 */ li r0, 0 /* 8021ACCC 00217C2C 90 1E 03 C0 */ stw r0, 0x3c0(r30) lbl_8021ACD0: /* 8021ACD0 00217C30 34 1E 03 7C */ addic. r0, r30, 0x37c /* 8021ACD4 00217C34 41 82 00 20 */ beq lbl_8021ACF4 /* 8021ACD8 00217C38 34 1E 03 7C */ addic. r0, r30, 0x37c /* 8021ACDC 00217C3C 41 82 00 18 */ beq lbl_8021ACF4 /* 8021ACE0 00217C40 34 1E 03 7C */ addic. r0, r30, 0x37c /* 8021ACE4 00217C44 41 82 00 10 */ beq lbl_8021ACF4 /* 8021ACE8 00217C48 38 7E 03 7C */ addi r3, r30, 0x37c /* 8021ACEC 00217C4C 38 80 00 00 */ li r4, 0 /* 8021ACF0 00217C50 48 12 61 51 */ bl __dt__6CTokenFv lbl_8021ACF4: /* 8021ACF4 00217C54 7F C3 F3 78 */ mr r3, r30 /* 8021ACF8 00217C58 38 80 00 00 */ li r4, 0 /* 8021ACFC 00217C5C 4B F0 17 19 */ bl __dt__13CPhysicsActorFv /* 8021AD00 00217C60 7F E0 07 35 */ extsh. r0, r31 /* 8021AD04 00217C64 40 81 00 0C */ ble lbl_8021AD10 /* 8021AD08 00217C68 7F C3 F3 78 */ mr r3, r30 /* 8021AD0C 00217C6C 48 0F AC 25 */ bl Free__7CMemoryFPCv lbl_8021AD10: /* 8021AD10 00217C70 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021AD14 00217C74 7F C3 F3 78 */ mr r3, r30 /* 8021AD18 00217C78 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8021AD1C 00217C7C 83 C1 00 08 */ lwz r30, 8(r1) /* 8021AD20 00217C80 7C 08 03 A6 */ mtlr r0 /* 8021AD24 00217C84 38 21 00 10 */ addi r1, r1, 0x10 /* 8021AD28 00217C88 4E 80 00 20 */ blr .global "__ct__16CScriptGunTurretF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q216CScriptGunTurret16ETurretComponentRC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersRC20CScriptGunTurretData" "__ct__16CScriptGunTurretF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q216CScriptGunTurret16ETurretComponentRC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersRC20CScriptGunTurretData": /* 8021AD2C 00217C8C 94 21 FE 50 */ stwu r1, -0x1b0(r1) /* 8021AD30 00217C90 7C 08 02 A6 */ mflr r0 /* 8021AD34 00217C94 90 01 01 B4 */ stw r0, 0x1b4(r1) /* 8021AD38 00217C98 BE 41 01 78 */ stmw r18, 0x178(r1) /* 8021AD3C 00217C9C 7C 7F 1B 78 */ mr r31, r3 /* 8021AD40 00217CA0 83 01 01 B8 */ lwz r24, 0x1b8(r1) /* 8021AD44 00217CA4 7C 93 23 78 */ mr r19, r4 /* 8021AD48 00217CA8 83 21 01 BC */ lwz r25, 0x1bc(r1) /* 8021AD4C 00217CAC 7C B4 2B 78 */ mr r20, r5 /* 8021AD50 00217CB0 83 41 01 C0 */ lwz r26, 0x1c0(r1) /* 8021AD54 00217CB4 7C DD 33 78 */ mr r29, r6 /* 8021AD58 00217CB8 83 61 01 C4 */ lwz r27, 0x1c4(r1) /* 8021AD5C 00217CBC 7C F5 3B 78 */ mr r21, r7 /* 8021AD60 00217CC0 7D 1E 43 78 */ mr r30, r8 /* 8021AD64 00217CC4 7D 36 4B 78 */ mr r22, r9 /* 8021AD68 00217CC8 7D 57 53 78 */ mr r23, r10 /* 8021AD6C 00217CCC 4B E0 07 C9 */ bl Identity__10CAxisAngleFv /* 8021AD70 00217CD0 7C 72 1B 78 */ mr r18, r3 /* 8021AD74 00217CD4 4B E0 07 C1 */ bl Identity__10CAxisAngleFv /* 8021AD78 00217CD8 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021AD7C 00217CDC C0 02 B3 6C */ lfs f0, lbl_805AD08C@sda21(r2) /* 8021AD80 00217CE0 3B 84 66 A0 */ addi r28, r4, skZero3f@l /* 8021AD84 00217CE4 2C 1D 00 00 */ cmpwi r29, 0 /* 8021AD88 00217CE8 C0 5C 00 00 */ lfs f2, 0(r28) /* 8021AD8C 00217CEC 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 8021AD90 00217CF0 C0 7C 00 04 */ lfs f3, 4(r28) /* 8021AD94 00217CF4 39 4D A5 08 */ addi r10, r13, lbl_805A90C8@sda21 /* 8021AD98 00217CF8 C0 9C 00 08 */ lfs f4, 8(r28) /* 8021AD9C 00217CFC D0 41 00 E8 */ stfs f2, 0xe8(r1) /* 8021ADA0 00217D00 D0 61 00 EC */ stfs f3, 0xec(r1) /* 8021ADA4 00217D04 D0 81 00 F0 */ stfs f4, 0xf0(r1) /* 8021ADA8 00217D08 C0 23 00 00 */ lfs f1, 0(r3) /* 8021ADAC 00217D0C D0 21 00 F4 */ stfs f1, 0xf4(r1) /* 8021ADB0 00217D10 C0 23 00 04 */ lfs f1, 4(r3) /* 8021ADB4 00217D14 D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 8021ADB8 00217D18 C0 23 00 08 */ lfs f1, 8(r3) /* 8021ADBC 00217D1C D0 21 00 FC */ stfs f1, 0xfc(r1) /* 8021ADC0 00217D20 D0 41 01 00 */ stfs f2, 0x100(r1) /* 8021ADC4 00217D24 D0 61 01 04 */ stfs f3, 0x104(r1) /* 8021ADC8 00217D28 D0 81 01 08 */ stfs f4, 0x108(r1) /* 8021ADCC 00217D2C C0 32 00 00 */ lfs f1, 0(r18) /* 8021ADD0 00217D30 D0 21 01 0C */ stfs f1, 0x10c(r1) /* 8021ADD4 00217D34 C0 32 00 04 */ lfs f1, 4(r18) /* 8021ADD8 00217D38 D0 21 01 10 */ stfs f1, 0x110(r1) /* 8021ADDC 00217D3C C0 32 00 08 */ lfs f1, 8(r18) /* 8021ADE0 00217D40 D0 21 01 14 */ stfs f1, 0x114(r1) /* 8021ADE4 00217D44 D0 01 01 18 */ stfs f0, 0x118(r1) /* 8021ADE8 00217D48 40 82 00 08 */ bne lbl_8021ADF0 /* 8021ADEC 00217D4C 39 4D A5 00 */ addi r10, r13, lbl_805A90C0@sda21 lbl_8021ADF0: /* 8021ADF0 00217D50 A0 13 00 00 */ lhz r0, 0(r19) /* 8021ADF4 00217D54 7F E3 FB 78 */ mr r3, r31 /* 8021ADF8 00217D58 C0 22 B3 70 */ lfs f1, lbl_805AD090@sda21(r2) /* 8021ADFC 00217D5C 7E 86 A3 78 */ mr r6, r20 /* 8021AE00 00217D60 B0 01 00 18 */ sth r0, 0x18(r1) /* 8021AE04 00217D64 7E A7 AB 78 */ mr r7, r21 /* 8021AE08 00217D68 C0 42 B3 D0 */ lfs f2, lbl_805AD0F0@sda21(r2) /* 8021AE0C 00217D6C 7F C8 F3 78 */ mr r8, r30 /* 8021AE10 00217D70 92 E1 00 08 */ stw r23, 8(r1) /* 8021AE14 00217D74 7E C9 B3 78 */ mr r9, r22 /* 8021AE18 00217D78 38 81 00 18 */ addi r4, r1, 0x18 /* 8021AE1C 00217D7C 90 A1 00 0C */ stw r5, 0xc(r1) /* 8021AE20 00217D80 38 A0 00 01 */ li r5, 1 /* 8021AE24 00217D84 93 41 00 10 */ stw r26, 0x10(r1) /* 8021AE28 00217D88 4B F0 16 89 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 8021AE2C 00217D8C 3C 60 80 3E */ lis r3, lbl_803E71EC@ha /* 8021AE30 00217D90 C0 02 B3 5C */ lfs f0, lbl_805AD07C@sda21(r2) /* 8021AE34 00217D94 38 03 71 EC */ addi r0, r3, lbl_803E71EC@l /* 8021AE38 00217D98 7F 64 DB 78 */ mr r4, r27 /* 8021AE3C 00217D9C 90 1F 00 00 */ stw r0, 0(r31) /* 8021AE40 00217DA0 38 7F 02 D4 */ addi r3, r31, 0x2d4 /* 8021AE44 00217DA4 93 BF 02 58 */ stw r29, 0x258(r31) /* 8021AE48 00217DA8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021AE4C 00217DAC B0 1F 02 5C */ sth r0, 0x25c(r31) /* 8021AE50 00217DB0 D0 1F 02 60 */ stfs f0, 0x260(r31) /* 8021AE54 00217DB4 C0 18 00 00 */ lfs f0, 0(r24) /* 8021AE58 00217DB8 D0 1F 02 64 */ stfs f0, 0x264(r31) /* 8021AE5C 00217DBC C0 18 00 04 */ lfs f0, 4(r24) /* 8021AE60 00217DC0 D0 1F 02 68 */ stfs f0, 0x268(r31) /* 8021AE64 00217DC4 80 B9 00 00 */ lwz r5, 0(r25) /* 8021AE68 00217DC8 80 19 00 04 */ lwz r0, 4(r25) /* 8021AE6C 00217DCC 90 BF 02 6C */ stw r5, 0x26c(r31) /* 8021AE70 00217DD0 90 1F 02 70 */ stw r0, 0x270(r31) /* 8021AE74 00217DD4 80 B9 00 08 */ lwz r5, 8(r25) /* 8021AE78 00217DD8 80 19 00 0C */ lwz r0, 0xc(r25) /* 8021AE7C 00217DDC 90 BF 02 74 */ stw r5, 0x274(r31) /* 8021AE80 00217DE0 90 1F 02 78 */ stw r0, 0x278(r31) /* 8021AE84 00217DE4 80 B9 00 10 */ lwz r5, 0x10(r25) /* 8021AE88 00217DE8 80 19 00 14 */ lwz r0, 0x14(r25) /* 8021AE8C 00217DEC 90 BF 02 7C */ stw r5, 0x27c(r31) /* 8021AE90 00217DF0 90 1F 02 80 */ stw r0, 0x280(r31) /* 8021AE94 00217DF4 80 B9 00 18 */ lwz r5, 0x18(r25) /* 8021AE98 00217DF8 80 19 00 1C */ lwz r0, 0x1c(r25) /* 8021AE9C 00217DFC 90 BF 02 84 */ stw r5, 0x284(r31) /* 8021AEA0 00217E00 90 1F 02 88 */ stw r0, 0x288(r31) /* 8021AEA4 00217E04 80 B9 00 20 */ lwz r5, 0x20(r25) /* 8021AEA8 00217E08 80 19 00 24 */ lwz r0, 0x24(r25) /* 8021AEAC 00217E0C 90 BF 02 8C */ stw r5, 0x28c(r31) /* 8021AEB0 00217E10 90 1F 02 90 */ stw r0, 0x290(r31) /* 8021AEB4 00217E14 80 B9 00 28 */ lwz r5, 0x28(r25) /* 8021AEB8 00217E18 80 19 00 2C */ lwz r0, 0x2c(r25) /* 8021AEBC 00217E1C 90 BF 02 94 */ stw r5, 0x294(r31) /* 8021AEC0 00217E20 90 1F 02 98 */ stw r0, 0x298(r31) /* 8021AEC4 00217E24 80 B9 00 30 */ lwz r5, 0x30(r25) /* 8021AEC8 00217E28 80 19 00 34 */ lwz r0, 0x34(r25) /* 8021AECC 00217E2C 90 BF 02 9C */ stw r5, 0x29c(r31) /* 8021AED0 00217E30 90 1F 02 A0 */ stw r0, 0x2a0(r31) /* 8021AED4 00217E34 80 19 00 38 */ lwz r0, 0x38(r25) /* 8021AED8 00217E38 90 1F 02 A4 */ stw r0, 0x2a4(r31) /* 8021AEDC 00217E3C 80 B9 00 3C */ lwz r5, 0x3c(r25) /* 8021AEE0 00217E40 80 19 00 40 */ lwz r0, 0x40(r25) /* 8021AEE4 00217E44 90 BF 02 A8 */ stw r5, 0x2a8(r31) /* 8021AEE8 00217E48 90 1F 02 AC */ stw r0, 0x2ac(r31) /* 8021AEEC 00217E4C 80 B9 00 44 */ lwz r5, 0x44(r25) /* 8021AEF0 00217E50 80 19 00 48 */ lwz r0, 0x48(r25) /* 8021AEF4 00217E54 90 BF 02 B0 */ stw r5, 0x2b0(r31) /* 8021AEF8 00217E58 90 1F 02 B4 */ stw r0, 0x2b4(r31) /* 8021AEFC 00217E5C 80 B9 00 4C */ lwz r5, 0x4c(r25) /* 8021AF00 00217E60 80 19 00 50 */ lwz r0, 0x50(r25) /* 8021AF04 00217E64 90 BF 02 B8 */ stw r5, 0x2b8(r31) /* 8021AF08 00217E68 90 1F 02 BC */ stw r0, 0x2bc(r31) /* 8021AF0C 00217E6C 80 B9 00 54 */ lwz r5, 0x54(r25) /* 8021AF10 00217E70 80 19 00 58 */ lwz r0, 0x58(r25) /* 8021AF14 00217E74 90 BF 02 C0 */ stw r5, 0x2c0(r31) /* 8021AF18 00217E78 90 1F 02 C4 */ stw r0, 0x2c4(r31) /* 8021AF1C 00217E7C 80 19 00 5C */ lwz r0, 0x5c(r25) /* 8021AF20 00217E80 90 1F 02 C8 */ stw r0, 0x2c8(r31) /* 8021AF24 00217E84 80 19 00 60 */ lwz r0, 0x60(r25) /* 8021AF28 00217E88 90 1F 02 CC */ stw r0, 0x2cc(r31) /* 8021AF2C 00217E8C 80 19 00 64 */ lwz r0, 0x64(r25) /* 8021AF30 00217E90 90 1F 02 D0 */ stw r0, 0x2d0(r31) /* 8021AF34 00217E94 48 00 08 5D */ bl __ct__20CScriptGunTurretDataFRC20CScriptGunTurretData /* 8021AF38 00217E98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021AF3C 00217E9C 38 7F 03 7C */ addi r3, r31, 0x37c /* 8021AF40 00217EA0 38 BB 00 44 */ addi r5, r27, 0x44 /* 8021AF44 00217EA4 B0 1F 03 78 */ sth r0, 0x378(r31) /* 8021AF48 00217EA8 80 9B 00 40 */ lwz r4, 0x40(r27) /* 8021AF4C 00217EAC 48 00 11 5D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 8021AF50 00217EB0 3C 80 80 3E */ lis r4, lbl_803E71D0@ha /* 8021AF54 00217EB4 38 7F 03 A4 */ addi r3, r31, 0x3a4 /* 8021AF58 00217EB8 38 84 71 D0 */ addi r4, r4, lbl_803E71D0@l /* 8021AF5C 00217EBC 38 A0 00 01 */ li r5, 1 /* 8021AF60 00217EC0 4B F9 25 A5 */ bl __ct__10CBurstFireFPPC6SBursti /* 8021AF64 00217EC4 3C 60 80 5A */ lis r3, skZero3f@ha /* 8021AF68 00217EC8 3C 80 50 41 */ lis r4, 0x50415254@ha /* 8021AF6C 00217ECC 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8021AF70 00217ED0 38 61 00 AC */ addi r3, r1, 0xac /* 8021AF74 00217ED4 C0 05 00 00 */ lfs f0, 0(r5) /* 8021AF78 00217ED8 38 04 52 54 */ addi r0, r4, 0x50415254@l /* 8021AF7C 00217EDC 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 8021AF80 00217EE0 D0 1F 04 04 */ stfs f0, 0x404(r31) /* 8021AF84 00217EE4 C0 1C 00 04 */ lfs f0, 4(r28) /* 8021AF88 00217EE8 D0 1F 04 08 */ stfs f0, 0x408(r31) /* 8021AF8C 00217EEC C0 1C 00 08 */ lfs f0, 8(r28) /* 8021AF90 00217EF0 D0 1F 04 0C */ stfs f0, 0x40c(r31) /* 8021AF94 00217EF4 80 DB 00 60 */ lwz r6, 0x60(r27) /* 8021AF98 00217EF8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021AF9C 00217EFC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8021AFA0 00217F00 90 C1 00 B8 */ stw r6, 0xb8(r1) /* 8021AFA4 00217F04 81 84 00 00 */ lwz r12, 0(r4) /* 8021AFA8 00217F08 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021AFAC 00217F0C 7D 89 03 A6 */ mtctr r12 /* 8021AFB0 00217F10 4E 80 04 21 */ bctrl /* 8021AFB4 00217F14 3A 5F 04 10 */ addi r18, r31, 0x410 /* 8021AFB8 00217F18 38 81 00 AC */ addi r4, r1, 0xac /* 8021AFBC 00217F1C 7E 43 93 78 */ mr r3, r18 /* 8021AFC0 00217F20 48 12 5E E9 */ bl __ct__6CTokenFRC6CToken /* 8021AFC4 00217F24 7E 43 93 78 */ mr r3, r18 /* 8021AFC8 00217F28 48 12 5E 45 */ bl GetObj__6CTokenFv /* 8021AFCC 00217F2C 80 03 00 04 */ lwz r0, 4(r3) /* 8021AFD0 00217F30 38 61 00 AC */ addi r3, r1, 0xac /* 8021AFD4 00217F34 38 80 FF FF */ li r4, -1 /* 8021AFD8 00217F38 90 12 00 08 */ stw r0, 8(r18) /* 8021AFDC 00217F3C 48 12 5E 65 */ bl __dt__6CTokenFv /* 8021AFE0 00217F40 80 DB 00 64 */ lwz r6, 0x64(r27) /* 8021AFE4 00217F44 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8021AFE8 00217F48 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8021AFEC 00217F4C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021AFF0 00217F50 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8021AFF4 00217F54 38 61 00 9C */ addi r3, r1, 0x9c /* 8021AFF8 00217F58 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 8021AFFC 00217F5C 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 8021B000 00217F60 81 84 00 00 */ lwz r12, 0(r4) /* 8021B004 00217F64 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021B008 00217F68 7D 89 03 A6 */ mtctr r12 /* 8021B00C 00217F6C 4E 80 04 21 */ bctrl /* 8021B010 00217F70 3A 5F 04 1C */ addi r18, r31, 0x41c /* 8021B014 00217F74 38 81 00 9C */ addi r4, r1, 0x9c /* 8021B018 00217F78 7E 43 93 78 */ mr r3, r18 /* 8021B01C 00217F7C 48 12 5E 8D */ bl __ct__6CTokenFRC6CToken /* 8021B020 00217F80 7E 43 93 78 */ mr r3, r18 /* 8021B024 00217F84 48 12 5D E9 */ bl GetObj__6CTokenFv /* 8021B028 00217F88 80 03 00 04 */ lwz r0, 4(r3) /* 8021B02C 00217F8C 38 61 00 9C */ addi r3, r1, 0x9c /* 8021B030 00217F90 38 80 FF FF */ li r4, -1 /* 8021B034 00217F94 90 12 00 08 */ stw r0, 8(r18) /* 8021B038 00217F98 48 12 5E 09 */ bl __dt__6CTokenFv /* 8021B03C 00217F9C 80 DB 00 68 */ lwz r6, 0x68(r27) /* 8021B040 00217FA0 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8021B044 00217FA4 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8021B048 00217FA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021B04C 00217FAC 90 01 00 94 */ stw r0, 0x94(r1) /* 8021B050 00217FB0 38 61 00 8C */ addi r3, r1, 0x8c /* 8021B054 00217FB4 38 A1 00 94 */ addi r5, r1, 0x94 /* 8021B058 00217FB8 90 C1 00 98 */ stw r6, 0x98(r1) /* 8021B05C 00217FBC 81 84 00 00 */ lwz r12, 0(r4) /* 8021B060 00217FC0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021B064 00217FC4 7D 89 03 A6 */ mtctr r12 /* 8021B068 00217FC8 4E 80 04 21 */ bctrl /* 8021B06C 00217FCC 3A 5F 04 28 */ addi r18, r31, 0x428 /* 8021B070 00217FD0 38 81 00 8C */ addi r4, r1, 0x8c /* 8021B074 00217FD4 7E 43 93 78 */ mr r3, r18 /* 8021B078 00217FD8 48 12 5E 31 */ bl __ct__6CTokenFRC6CToken /* 8021B07C 00217FDC 7E 43 93 78 */ mr r3, r18 /* 8021B080 00217FE0 48 12 5D 8D */ bl GetObj__6CTokenFv /* 8021B084 00217FE4 80 03 00 04 */ lwz r0, 4(r3) /* 8021B088 00217FE8 38 61 00 8C */ addi r3, r1, 0x8c /* 8021B08C 00217FEC 38 80 FF FF */ li r4, -1 /* 8021B090 00217FF0 90 12 00 08 */ stw r0, 8(r18) /* 8021B094 00217FF4 48 12 5D AD */ bl __dt__6CTokenFv /* 8021B098 00217FF8 80 DB 00 6C */ lwz r6, 0x6c(r27) /* 8021B09C 00217FFC 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8021B0A0 00218000 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8021B0A4 00218004 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021B0A8 00218008 90 01 00 84 */ stw r0, 0x84(r1) /* 8021B0AC 0021800C 38 61 00 7C */ addi r3, r1, 0x7c /* 8021B0B0 00218010 38 A1 00 84 */ addi r5, r1, 0x84 /* 8021B0B4 00218014 90 C1 00 88 */ stw r6, 0x88(r1) /* 8021B0B8 00218018 81 84 00 00 */ lwz r12, 0(r4) /* 8021B0BC 0021801C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021B0C0 00218020 7D 89 03 A6 */ mtctr r12 /* 8021B0C4 00218024 4E 80 04 21 */ bctrl /* 8021B0C8 00218028 3A 5F 04 34 */ addi r18, r31, 0x434 /* 8021B0CC 0021802C 38 81 00 7C */ addi r4, r1, 0x7c /* 8021B0D0 00218030 7E 43 93 78 */ mr r3, r18 /* 8021B0D4 00218034 48 12 5D D5 */ bl __ct__6CTokenFRC6CToken /* 8021B0D8 00218038 7E 43 93 78 */ mr r3, r18 /* 8021B0DC 0021803C 48 12 5D 31 */ bl GetObj__6CTokenFv /* 8021B0E0 00218040 80 03 00 04 */ lwz r0, 4(r3) /* 8021B0E4 00218044 38 61 00 7C */ addi r3, r1, 0x7c /* 8021B0E8 00218048 38 80 FF FF */ li r4, -1 /* 8021B0EC 0021804C 90 12 00 08 */ stw r0, 8(r18) /* 8021B0F0 00218050 48 12 5D 51 */ bl __dt__6CTokenFv /* 8021B0F4 00218054 80 DB 00 70 */ lwz r6, 0x70(r27) /* 8021B0F8 00218058 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8021B0FC 0021805C 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8021B100 00218060 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021B104 00218064 90 01 00 74 */ stw r0, 0x74(r1) /* 8021B108 00218068 38 61 00 6C */ addi r3, r1, 0x6c /* 8021B10C 0021806C 38 A1 00 74 */ addi r5, r1, 0x74 /* 8021B110 00218070 90 C1 00 78 */ stw r6, 0x78(r1) /* 8021B114 00218074 81 84 00 00 */ lwz r12, 0(r4) /* 8021B118 00218078 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021B11C 0021807C 7D 89 03 A6 */ mtctr r12 /* 8021B120 00218080 4E 80 04 21 */ bctrl /* 8021B124 00218084 3A 5F 04 40 */ addi r18, r31, 0x440 /* 8021B128 00218088 38 81 00 6C */ addi r4, r1, 0x6c /* 8021B12C 0021808C 7E 43 93 78 */ mr r3, r18 /* 8021B130 00218090 48 12 5D 79 */ bl __ct__6CTokenFRC6CToken /* 8021B134 00218094 7E 43 93 78 */ mr r3, r18 /* 8021B138 00218098 48 12 5C D5 */ bl GetObj__6CTokenFv /* 8021B13C 0021809C 80 03 00 04 */ lwz r0, 4(r3) /* 8021B140 002180A0 38 61 00 6C */ addi r3, r1, 0x6c /* 8021B144 002180A4 38 80 FF FF */ li r4, -1 /* 8021B148 002180A8 90 12 00 08 */ stw r0, 8(r18) /* 8021B14C 002180AC 48 12 5C F5 */ bl __dt__6CTokenFv /* 8021B150 002180B0 80 DB 00 74 */ lwz r6, 0x74(r27) /* 8021B154 002180B4 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8021B158 002180B8 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8021B15C 002180BC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021B160 002180C0 90 01 00 64 */ stw r0, 0x64(r1) /* 8021B164 002180C4 38 61 00 5C */ addi r3, r1, 0x5c /* 8021B168 002180C8 38 A1 00 64 */ addi r5, r1, 0x64 /* 8021B16C 002180CC 90 C1 00 68 */ stw r6, 0x68(r1) /* 8021B170 002180D0 81 84 00 00 */ lwz r12, 0(r4) /* 8021B174 002180D4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021B178 002180D8 7D 89 03 A6 */ mtctr r12 /* 8021B17C 002180DC 4E 80 04 21 */ bctrl /* 8021B180 002180E0 3A 5F 04 4C */ addi r18, r31, 0x44c /* 8021B184 002180E4 38 81 00 5C */ addi r4, r1, 0x5c /* 8021B188 002180E8 7E 43 93 78 */ mr r3, r18 /* 8021B18C 002180EC 48 12 5D 1D */ bl __ct__6CTokenFRC6CToken /* 8021B190 002180F0 7E 43 93 78 */ mr r3, r18 /* 8021B194 002180F4 48 12 5C 79 */ bl GetObj__6CTokenFv /* 8021B198 002180F8 80 03 00 04 */ lwz r0, 4(r3) /* 8021B19C 002180FC 38 61 00 5C */ addi r3, r1, 0x5c /* 8021B1A0 00218100 38 80 FF FF */ li r4, -1 /* 8021B1A4 00218104 90 12 00 08 */ stw r0, 8(r18) /* 8021B1A8 00218108 48 12 5C 99 */ bl __dt__6CTokenFv /* 8021B1AC 0021810C 80 9B 00 78 */ lwz r4, 0x78(r27) /* 8021B1B0 00218110 3A 60 00 00 */ li r19, 0 /* 8021B1B4 00218114 3A 80 00 00 */ li r20, 0 /* 8021B1B8 00218118 3A A0 00 00 */ li r21, 0 /* 8021B1BC 0021811C 3C 04 00 01 */ addis r0, r4, 1 /* 8021B1C0 00218120 3A C0 00 00 */ li r22, 0 /* 8021B1C4 00218124 28 00 FF FF */ cmplwi r0, 0xffff /* 8021B1C8 00218128 41 82 00 90 */ beq lbl_8021B258 /* 8021B1CC 0021812C 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8021B1D0 00218130 90 81 00 58 */ stw r4, 0x58(r1) /* 8021B1D4 00218134 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8021B1D8 00218138 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021B1DC 0021813C 90 01 00 54 */ stw r0, 0x54(r1) /* 8021B1E0 00218140 38 61 00 4C */ addi r3, r1, 0x4c /* 8021B1E4 00218144 38 A1 00 54 */ addi r5, r1, 0x54 /* 8021B1E8 00218148 81 84 00 00 */ lwz r12, 0(r4) /* 8021B1EC 0021814C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021B1F0 00218150 7D 89 03 A6 */ mtctr r12 /* 8021B1F4 00218154 4E 80 04 21 */ bctrl /* 8021B1F8 00218158 3A 41 00 DC */ addi r18, r1, 0xdc /* 8021B1FC 0021815C 38 81 00 4C */ addi r4, r1, 0x4c /* 8021B200 00218160 7E 43 93 78 */ mr r3, r18 /* 8021B204 00218164 3A 60 00 01 */ li r19, 1 /* 8021B208 00218168 48 12 5C A1 */ bl __ct__6CTokenFRC6CToken /* 8021B20C 0021816C 7E 43 93 78 */ mr r3, r18 /* 8021B210 00218170 48 12 5B FD */ bl GetObj__6CTokenFv /* 8021B214 00218174 80 63 00 04 */ lwz r3, 4(r3) /* 8021B218 00218178 38 00 00 01 */ li r0, 1 /* 8021B21C 0021817C 36 41 00 CC */ addic. r18, r1, 0xcc /* 8021B220 00218180 3A 80 00 01 */ li r20, 1 /* 8021B224 00218184 90 61 00 E4 */ stw r3, 0xe4(r1) /* 8021B228 00218188 98 01 00 D8 */ stb r0, 0xd8(r1) /* 8021B22C 0021818C 41 82 00 20 */ beq lbl_8021B24C /* 8021B230 00218190 7E 43 93 78 */ mr r3, r18 /* 8021B234 00218194 38 81 00 DC */ addi r4, r1, 0xdc /* 8021B238 00218198 48 12 5C 71 */ bl __ct__6CTokenFRC6CToken /* 8021B23C 0021819C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8021B240 002181A0 7E 43 93 78 */ mr r3, r18 /* 8021B244 002181A4 90 12 00 08 */ stw r0, 8(r18) /* 8021B248 002181A8 48 12 5B 3D */ bl Lock__6CTokenFv lbl_8021B24C: /* 8021B24C 002181AC 3A 41 00 CC */ addi r18, r1, 0xcc /* 8021B250 002181B0 3A A0 00 01 */ li r21, 1 /* 8021B254 002181B4 48 00 00 14 */ b lbl_8021B268 lbl_8021B258: /* 8021B258 002181B8 38 00 00 00 */ li r0, 0 /* 8021B25C 002181BC 3A 41 00 BC */ addi r18, r1, 0xbc /* 8021B260 002181C0 98 01 00 C8 */ stb r0, 0xc8(r1) /* 8021B264 002181C4 3A C0 00 01 */ li r22, 1 lbl_8021B268: /* 8021B268 002181C8 88 12 00 0C */ lbz r0, 0xc(r18) /* 8021B26C 002181CC 98 1F 04 64 */ stb r0, 0x464(r31) /* 8021B270 002181D0 88 12 00 0C */ lbz r0, 0xc(r18) /* 8021B274 002181D4 28 00 00 00 */ cmplwi r0, 0 /* 8021B278 002181D8 41 82 00 28 */ beq lbl_8021B2A0 /* 8021B27C 002181DC 36 FF 04 58 */ addic. r23, r31, 0x458 /* 8021B280 002181E0 41 82 00 20 */ beq lbl_8021B2A0 /* 8021B284 002181E4 7E E3 BB 78 */ mr r3, r23 /* 8021B288 002181E8 7E 44 93 78 */ mr r4, r18 /* 8021B28C 002181EC 48 12 5C 1D */ bl __ct__6CTokenFRC6CToken /* 8021B290 002181F0 80 12 00 08 */ lwz r0, 8(r18) /* 8021B294 002181F4 7E E3 BB 78 */ mr r3, r23 /* 8021B298 002181F8 90 17 00 08 */ stw r0, 8(r23) /* 8021B29C 002181FC 48 12 5A E9 */ bl Lock__6CTokenFv lbl_8021B2A0: /* 8021B2A0 00218200 7E C0 07 75 */ extsb. r0, r22 /* 8021B2A4 00218204 41 82 00 30 */ beq lbl_8021B2D4 /* 8021B2A8 00218208 88 01 00 C8 */ lbz r0, 0xc8(r1) /* 8021B2AC 0021820C 28 00 00 00 */ cmplwi r0, 0 /* 8021B2B0 00218210 41 82 00 1C */ beq lbl_8021B2CC /* 8021B2B4 00218214 34 61 00 BC */ addic. r3, r1, 0xbc /* 8021B2B8 00218218 41 82 00 14 */ beq lbl_8021B2CC /* 8021B2BC 0021821C 28 03 00 00 */ cmplwi r3, 0 /* 8021B2C0 00218220 41 82 00 0C */ beq lbl_8021B2CC /* 8021B2C4 00218224 38 80 00 00 */ li r4, 0 /* 8021B2C8 00218228 48 12 5B 79 */ bl __dt__6CTokenFv lbl_8021B2CC: /* 8021B2CC 0021822C 38 00 00 00 */ li r0, 0 /* 8021B2D0 00218230 98 01 00 C8 */ stb r0, 0xc8(r1) lbl_8021B2D4: /* 8021B2D4 00218234 7E A0 07 75 */ extsb. r0, r21 /* 8021B2D8 00218238 41 82 00 30 */ beq lbl_8021B308 /* 8021B2DC 0021823C 88 01 00 D8 */ lbz r0, 0xd8(r1) /* 8021B2E0 00218240 28 00 00 00 */ cmplwi r0, 0 /* 8021B2E4 00218244 41 82 00 1C */ beq lbl_8021B300 /* 8021B2E8 00218248 34 61 00 CC */ addic. r3, r1, 0xcc /* 8021B2EC 0021824C 41 82 00 14 */ beq lbl_8021B300 /* 8021B2F0 00218250 28 03 00 00 */ cmplwi r3, 0 /* 8021B2F4 00218254 41 82 00 0C */ beq lbl_8021B300 /* 8021B2F8 00218258 38 80 00 00 */ li r4, 0 /* 8021B2FC 0021825C 48 12 5B 45 */ bl __dt__6CTokenFv lbl_8021B300: /* 8021B300 00218260 38 00 00 00 */ li r0, 0 /* 8021B304 00218264 98 01 00 D8 */ stb r0, 0xd8(r1) lbl_8021B308: /* 8021B308 00218268 7E 80 07 75 */ extsb. r0, r20 /* 8021B30C 0021826C 41 82 00 10 */ beq lbl_8021B31C /* 8021B310 00218270 38 61 00 DC */ addi r3, r1, 0xdc /* 8021B314 00218274 38 80 00 00 */ li r4, 0 /* 8021B318 00218278 48 12 5B 29 */ bl __dt__6CTokenFv lbl_8021B31C: /* 8021B31C 0021827C 7E 60 07 75 */ extsb. r0, r19 /* 8021B320 00218280 41 82 00 10 */ beq lbl_8021B330 /* 8021B324 00218284 38 61 00 4C */ addi r3, r1, 0x4c /* 8021B328 00218288 38 80 FF FF */ li r4, -1 /* 8021B32C 0021828C 48 12 5B 15 */ bl __dt__6CTokenFv lbl_8021B330: /* 8021B330 00218290 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021B334 00218294 3A 60 00 00 */ li r19, 0 /* 8021B338 00218298 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021B33C 0021829C 38 60 03 40 */ li r3, 0x340 /* 8021B340 002182A0 38 84 00 31 */ addi r4, r4, 0x31 /* 8021B344 002182A4 38 A0 00 00 */ li r5, 0 /* 8021B348 002182A8 48 0F A5 25 */ bl __nw__FUlPCcPCc /* 8021B34C 002182AC 7C 72 1B 79 */ or. r18, r3, r3 /* 8021B350 002182B0 41 82 00 2C */ beq lbl_8021B37C /* 8021B354 002182B4 38 61 00 44 */ addi r3, r1, 0x44 /* 8021B358 002182B8 38 9F 04 10 */ addi r4, r31, 0x410 /* 8021B35C 002182BC 48 12 5B 4D */ bl __ct__6CTokenFRC6CToken /* 8021B360 002182C0 7E 43 93 78 */ mr r3, r18 /* 8021B364 002182C4 38 81 00 44 */ addi r4, r1, 0x44 /* 8021B368 002182C8 3A 60 00 01 */ li r19, 1 /* 8021B36C 002182CC 38 A0 00 00 */ li r5, 0 /* 8021B370 002182D0 38 C0 00 01 */ li r6, 1 /* 8021B374 002182D4 48 10 40 6D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8021B378 002182D8 7C 72 1B 78 */ mr r18, r3 lbl_8021B37C: /* 8021B37C 002182DC 7C 72 00 D0 */ neg r3, r18 /* 8021B380 002182E0 7E 60 07 75 */ extsb. r0, r19 /* 8021B384 002182E4 7C 60 93 78 */ or r0, r3, r18 /* 8021B388 002182E8 54 00 0F FE */ srwi r0, r0, 0x1f /* 8021B38C 002182EC 98 1F 04 68 */ stb r0, 0x468(r31) /* 8021B390 002182F0 92 5F 04 6C */ stw r18, 0x46c(r31) /* 8021B394 002182F4 41 82 00 10 */ beq lbl_8021B3A4 /* 8021B398 002182F8 38 61 00 44 */ addi r3, r1, 0x44 /* 8021B39C 002182FC 38 80 00 00 */ li r4, 0 /* 8021B3A0 00218300 48 12 5A A1 */ bl __dt__6CTokenFv lbl_8021B3A4: /* 8021B3A4 00218304 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021B3A8 00218308 3A 60 00 00 */ li r19, 0 /* 8021B3AC 0021830C 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021B3B0 00218310 38 60 03 40 */ li r3, 0x340 /* 8021B3B4 00218314 38 84 00 31 */ addi r4, r4, 0x31 /* 8021B3B8 00218318 38 A0 00 00 */ li r5, 0 /* 8021B3BC 0021831C 48 0F A4 B1 */ bl __nw__FUlPCcPCc /* 8021B3C0 00218320 7C 72 1B 79 */ or. r18, r3, r3 /* 8021B3C4 00218324 41 82 00 2C */ beq lbl_8021B3F0 /* 8021B3C8 00218328 38 61 00 3C */ addi r3, r1, 0x3c /* 8021B3CC 0021832C 38 9F 04 1C */ addi r4, r31, 0x41c /* 8021B3D0 00218330 48 12 5A D9 */ bl __ct__6CTokenFRC6CToken /* 8021B3D4 00218334 7E 43 93 78 */ mr r3, r18 /* 8021B3D8 00218338 38 81 00 3C */ addi r4, r1, 0x3c /* 8021B3DC 0021833C 3A 60 00 01 */ li r19, 1 /* 8021B3E0 00218340 38 A0 00 00 */ li r5, 0 /* 8021B3E4 00218344 38 C0 00 01 */ li r6, 1 /* 8021B3E8 00218348 48 10 3F F9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8021B3EC 0021834C 7C 72 1B 78 */ mr r18, r3 lbl_8021B3F0: /* 8021B3F0 00218350 7C 72 00 D0 */ neg r3, r18 /* 8021B3F4 00218354 7E 60 07 75 */ extsb. r0, r19 /* 8021B3F8 00218358 7C 60 93 78 */ or r0, r3, r18 /* 8021B3FC 0021835C 54 00 0F FE */ srwi r0, r0, 0x1f /* 8021B400 00218360 98 1F 04 70 */ stb r0, 0x470(r31) /* 8021B404 00218364 92 5F 04 74 */ stw r18, 0x474(r31) /* 8021B408 00218368 41 82 00 10 */ beq lbl_8021B418 /* 8021B40C 0021836C 38 61 00 3C */ addi r3, r1, 0x3c /* 8021B410 00218370 38 80 00 00 */ li r4, 0 /* 8021B414 00218374 48 12 5A 2D */ bl __dt__6CTokenFv lbl_8021B418: /* 8021B418 00218378 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021B41C 0021837C 3A 60 00 00 */ li r19, 0 /* 8021B420 00218380 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021B424 00218384 38 60 03 40 */ li r3, 0x340 /* 8021B428 00218388 38 84 00 31 */ addi r4, r4, 0x31 /* 8021B42C 0021838C 38 A0 00 00 */ li r5, 0 /* 8021B430 00218390 48 0F A4 3D */ bl __nw__FUlPCcPCc /* 8021B434 00218394 7C 72 1B 79 */ or. r18, r3, r3 /* 8021B438 00218398 41 82 00 2C */ beq lbl_8021B464 /* 8021B43C 0021839C 38 61 00 34 */ addi r3, r1, 0x34 /* 8021B440 002183A0 38 9F 04 28 */ addi r4, r31, 0x428 /* 8021B444 002183A4 48 12 5A 65 */ bl __ct__6CTokenFRC6CToken /* 8021B448 002183A8 7E 43 93 78 */ mr r3, r18 /* 8021B44C 002183AC 38 81 00 34 */ addi r4, r1, 0x34 /* 8021B450 002183B0 3A 60 00 01 */ li r19, 1 /* 8021B454 002183B4 38 A0 00 00 */ li r5, 0 /* 8021B458 002183B8 38 C0 00 01 */ li r6, 1 /* 8021B45C 002183BC 48 10 3F 85 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8021B460 002183C0 7C 72 1B 78 */ mr r18, r3 lbl_8021B464: /* 8021B464 002183C4 7C 72 00 D0 */ neg r3, r18 /* 8021B468 002183C8 7E 60 07 75 */ extsb. r0, r19 /* 8021B46C 002183CC 7C 60 93 78 */ or r0, r3, r18 /* 8021B470 002183D0 54 00 0F FE */ srwi r0, r0, 0x1f /* 8021B474 002183D4 98 1F 04 78 */ stb r0, 0x478(r31) /* 8021B478 002183D8 92 5F 04 7C */ stw r18, 0x47c(r31) /* 8021B47C 002183DC 41 82 00 10 */ beq lbl_8021B48C /* 8021B480 002183E0 38 61 00 34 */ addi r3, r1, 0x34 /* 8021B484 002183E4 38 80 00 00 */ li r4, 0 /* 8021B488 002183E8 48 12 59 B9 */ bl __dt__6CTokenFv lbl_8021B48C: /* 8021B48C 002183EC 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021B490 002183F0 3A 60 00 00 */ li r19, 0 /* 8021B494 002183F4 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021B498 002183F8 38 60 03 40 */ li r3, 0x340 /* 8021B49C 002183FC 38 84 00 31 */ addi r4, r4, 0x31 /* 8021B4A0 00218400 38 A0 00 00 */ li r5, 0 /* 8021B4A4 00218404 48 0F A3 C9 */ bl __nw__FUlPCcPCc /* 8021B4A8 00218408 7C 72 1B 79 */ or. r18, r3, r3 /* 8021B4AC 0021840C 41 82 00 2C */ beq lbl_8021B4D8 /* 8021B4B0 00218410 38 61 00 2C */ addi r3, r1, 0x2c /* 8021B4B4 00218414 38 9F 04 34 */ addi r4, r31, 0x434 /* 8021B4B8 00218418 48 12 59 F1 */ bl __ct__6CTokenFRC6CToken /* 8021B4BC 0021841C 7E 43 93 78 */ mr r3, r18 /* 8021B4C0 00218420 38 81 00 2C */ addi r4, r1, 0x2c /* 8021B4C4 00218424 3A 60 00 01 */ li r19, 1 /* 8021B4C8 00218428 38 A0 00 00 */ li r5, 0 /* 8021B4CC 0021842C 38 C0 00 01 */ li r6, 1 /* 8021B4D0 00218430 48 10 3F 11 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8021B4D4 00218434 7C 72 1B 78 */ mr r18, r3 lbl_8021B4D8: /* 8021B4D8 00218438 7C 72 00 D0 */ neg r3, r18 /* 8021B4DC 0021843C 7E 60 07 75 */ extsb. r0, r19 /* 8021B4E0 00218440 7C 60 93 78 */ or r0, r3, r18 /* 8021B4E4 00218444 54 00 0F FE */ srwi r0, r0, 0x1f /* 8021B4E8 00218448 98 1F 04 80 */ stb r0, 0x480(r31) /* 8021B4EC 0021844C 92 5F 04 84 */ stw r18, 0x484(r31) /* 8021B4F0 00218450 41 82 00 10 */ beq lbl_8021B500 /* 8021B4F4 00218454 38 61 00 2C */ addi r3, r1, 0x2c /* 8021B4F8 00218458 38 80 00 00 */ li r4, 0 /* 8021B4FC 0021845C 48 12 59 45 */ bl __dt__6CTokenFv lbl_8021B500: /* 8021B500 00218460 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021B504 00218464 3A 60 00 00 */ li r19, 0 /* 8021B508 00218468 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021B50C 0021846C 38 60 03 40 */ li r3, 0x340 /* 8021B510 00218470 38 84 00 31 */ addi r4, r4, 0x31 /* 8021B514 00218474 38 A0 00 00 */ li r5, 0 /* 8021B518 00218478 48 0F A3 55 */ bl __nw__FUlPCcPCc /* 8021B51C 0021847C 7C 72 1B 79 */ or. r18, r3, r3 /* 8021B520 00218480 41 82 00 2C */ beq lbl_8021B54C /* 8021B524 00218484 38 61 00 24 */ addi r3, r1, 0x24 /* 8021B528 00218488 38 9F 04 40 */ addi r4, r31, 0x440 /* 8021B52C 0021848C 48 12 59 7D */ bl __ct__6CTokenFRC6CToken /* 8021B530 00218490 7E 43 93 78 */ mr r3, r18 /* 8021B534 00218494 38 81 00 24 */ addi r4, r1, 0x24 /* 8021B538 00218498 3A 60 00 01 */ li r19, 1 /* 8021B53C 0021849C 38 A0 00 00 */ li r5, 0 /* 8021B540 002184A0 38 C0 00 01 */ li r6, 1 /* 8021B544 002184A4 48 10 3E 9D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8021B548 002184A8 7C 72 1B 78 */ mr r18, r3 lbl_8021B54C: /* 8021B54C 002184AC 7C 72 00 D0 */ neg r3, r18 /* 8021B550 002184B0 7E 60 07 75 */ extsb. r0, r19 /* 8021B554 002184B4 7C 60 93 78 */ or r0, r3, r18 /* 8021B558 002184B8 54 00 0F FE */ srwi r0, r0, 0x1f /* 8021B55C 002184BC 98 1F 04 88 */ stb r0, 0x488(r31) /* 8021B560 002184C0 92 5F 04 8C */ stw r18, 0x48c(r31) /* 8021B564 002184C4 41 82 00 10 */ beq lbl_8021B574 /* 8021B568 002184C8 38 61 00 24 */ addi r3, r1, 0x24 /* 8021B56C 002184CC 38 80 00 00 */ li r4, 0 /* 8021B570 002184D0 48 12 58 D1 */ bl __dt__6CTokenFv lbl_8021B574: /* 8021B574 002184D4 3C 60 80 3D */ lis r3, lbl_803D2FF0@ha /* 8021B578 002184D8 3A 60 00 00 */ li r19, 0 /* 8021B57C 002184DC 38 83 2F F0 */ addi r4, r3, lbl_803D2FF0@l /* 8021B580 002184E0 38 60 03 40 */ li r3, 0x340 /* 8021B584 002184E4 38 84 00 31 */ addi r4, r4, 0x31 /* 8021B588 002184E8 38 A0 00 00 */ li r5, 0 /* 8021B58C 002184EC 48 0F A2 E1 */ bl __nw__FUlPCcPCc /* 8021B590 002184F0 7C 72 1B 79 */ or. r18, r3, r3 /* 8021B594 002184F4 41 82 00 2C */ beq lbl_8021B5C0 /* 8021B598 002184F8 38 61 00 1C */ addi r3, r1, 0x1c /* 8021B59C 002184FC 38 9F 04 4C */ addi r4, r31, 0x44c /* 8021B5A0 00218500 48 12 59 09 */ bl __ct__6CTokenFRC6CToken /* 8021B5A4 00218504 7E 43 93 78 */ mr r3, r18 /* 8021B5A8 00218508 38 81 00 1C */ addi r4, r1, 0x1c /* 8021B5AC 0021850C 3A 60 00 01 */ li r19, 1 /* 8021B5B0 00218510 38 A0 00 00 */ li r5, 0 /* 8021B5B4 00218514 38 C0 00 01 */ li r6, 1 /* 8021B5B8 00218518 48 10 3E 29 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8021B5BC 0021851C 7C 72 1B 78 */ mr r18, r3 lbl_8021B5C0: /* 8021B5C0 00218520 7C 72 00 D0 */ neg r3, r18 /* 8021B5C4 00218524 7E 60 07 75 */ extsb. r0, r19 /* 8021B5C8 00218528 7C 60 93 78 */ or r0, r3, r18 /* 8021B5CC 0021852C 54 00 0F FE */ srwi r0, r0, 0x1f /* 8021B5D0 00218530 98 1F 04 90 */ stb r0, 0x490(r31) /* 8021B5D4 00218534 92 5F 04 94 */ stw r18, 0x494(r31) /* 8021B5D8 00218538 41 82 00 10 */ beq lbl_8021B5E8 /* 8021B5DC 0021853C 38 61 00 1C */ addi r3, r1, 0x1c /* 8021B5E0 00218540 38 80 00 00 */ li r4, 0 /* 8021B5E4 00218544 48 12 58 5D */ bl __dt__6CTokenFv lbl_8021B5E8: /* 8021B5E8 00218548 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021B5EC 0021854C 38 A0 00 00 */ li r5, 0 /* 8021B5F0 00218550 38 7F 04 A4 */ addi r3, r31, 0x4a4 /* 8021B5F4 00218554 38 81 01 1C */ addi r4, r1, 0x11c /* 8021B5F8 00218558 B0 1F 04 98 */ sth r0, 0x498(r31) /* 8021B5FC 0021855C 90 BF 04 9C */ stw r5, 0x49c(r31) /* 8021B600 00218560 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021B604 00218564 B0 1F 04 A0 */ sth r0, 0x4a0(r31) /* 8021B608 00218568 98 A1 01 68 */ stb r5, 0x168(r1) /* 8021B60C 0021856C 4B EC CC 21 */ bl sub_800e822c /* 8021B610 00218570 88 01 01 68 */ lbz r0, 0x168(r1) /* 8021B614 00218574 28 00 00 00 */ cmplwi r0, 0 /* 8021B618 00218578 41 82 00 10 */ beq lbl_8021B628 /* 8021B61C 0021857C 38 61 01 1C */ addi r3, r1, 0x11c /* 8021B620 00218580 38 80 FF FF */ li r4, -1 /* 8021B624 00218584 4B EF B4 29 */ bl __dt__10CModelDataFv lbl_8021B628: /* 8021B628 00218588 38 A0 00 00 */ li r5, 0 /* 8021B62C 0021858C C0 22 B3 5C */ lfs f1, lbl_805AD07C@sda21(r2) /* 8021B630 00218590 98 A1 01 68 */ stb r5, 0x168(r1) /* 8021B634 00218594 38 60 00 FF */ li r3, 0xff /* 8021B638 00218598 38 00 FF FF */ li r0, -1 /* 8021B63C 0021859C 38 80 00 01 */ li r4, 1 /* 8021B640 002185A0 D0 3F 04 F4 */ stfs f1, 0x4f4(r31) /* 8021B644 002185A4 2C 1D 00 00 */ cmpwi r29, 0 /* 8021B648 002185A8 D0 3F 04 F8 */ stfs f1, 0x4f8(r31) /* 8021B64C 002185AC C0 7E 00 2C */ lfs f3, 0x2c(r30) /* 8021B650 002185B0 C0 5E 00 1C */ lfs f2, 0x1c(r30) /* 8021B654 002185B4 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 8021B658 002185B8 D0 1F 04 FC */ stfs f0, 0x4fc(r31) /* 8021B65C 002185BC D0 5F 05 00 */ stfs f2, 0x500(r31) /* 8021B660 002185C0 D0 7F 05 04 */ stfs f3, 0x504(r31) /* 8021B664 002185C4 98 7F 05 08 */ stb r3, 0x508(r31) /* 8021B668 002185C8 90 BF 05 0C */ stw r5, 0x50c(r31) /* 8021B66C 002185CC D0 3F 05 10 */ stfs f1, 0x510(r31) /* 8021B670 002185D0 C0 7E 00 24 */ lfs f3, 0x24(r30) /* 8021B674 002185D4 C0 5E 00 14 */ lfs f2, 0x14(r30) /* 8021B678 002185D8 C0 1E 00 04 */ lfs f0, 4(r30) /* 8021B67C 002185DC D0 1F 05 14 */ stfs f0, 0x514(r31) /* 8021B680 002185E0 D0 5F 05 18 */ stfs f2, 0x518(r31) /* 8021B684 002185E4 D0 7F 05 1C */ stfs f3, 0x51c(r31) /* 8021B688 002185E8 90 1F 05 20 */ stw r0, 0x520(r31) /* 8021B68C 002185EC D0 3F 05 24 */ stfs f1, 0x524(r31) /* 8021B690 002185F0 D0 3F 05 28 */ stfs f1, 0x528(r31) /* 8021B694 002185F4 D0 3F 05 2C */ stfs f1, 0x52c(r31) /* 8021B698 002185F8 D0 3F 05 30 */ stfs f1, 0x530(r31) /* 8021B69C 002185FC D0 3F 05 34 */ stfs f1, 0x534(r31) /* 8021B6A0 00218600 D0 3F 05 38 */ stfs f1, 0x538(r31) /* 8021B6A4 00218604 D0 3F 05 3C */ stfs f1, 0x53c(r31) /* 8021B6A8 00218608 90 1F 05 40 */ stw r0, 0x540(r31) /* 8021B6AC 0021860C C0 5E 00 24 */ lfs f2, 0x24(r30) /* 8021B6B0 00218610 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 8021B6B4 00218614 C0 1E 00 04 */ lfs f0, 4(r30) /* 8021B6B8 00218618 D0 1F 05 44 */ stfs f0, 0x544(r31) /* 8021B6BC 0021861C D0 3F 05 48 */ stfs f1, 0x548(r31) /* 8021B6C0 00218620 D0 5F 05 4C */ stfs f2, 0x54c(r31) /* 8021B6C4 00218624 C0 5E 00 20 */ lfs f2, 0x20(r30) /* 8021B6C8 00218628 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 8021B6CC 0021862C C0 1E 00 00 */ lfs f0, 0(r30) /* 8021B6D0 00218630 D0 1F 05 50 */ stfs f0, 0x550(r31) /* 8021B6D4 00218634 D0 3F 05 54 */ stfs f1, 0x554(r31) /* 8021B6D8 00218638 D0 5F 05 58 */ stfs f2, 0x558(r31) /* 8021B6DC 0021863C 90 1F 05 5C */ stw r0, 0x55c(r31) /* 8021B6E0 00218640 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B6E4 00218644 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8021B6E8 00218648 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B6EC 0021864C 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B6F0 00218650 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8021B6F4 00218654 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B6F8 00218658 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B6FC 0021865C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 8021B700 00218660 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B704 00218664 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B708 00218668 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 8021B70C 0021866C 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B710 00218670 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B714 00218674 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 8021B718 00218678 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B71C 0021867C 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B720 00218680 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 8021B724 00218684 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B728 00218688 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B72C 0021868C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 8021B730 00218690 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B734 00218694 88 1F 05 60 */ lbz r0, 0x560(r31) /* 8021B738 00218698 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f /* 8021B73C 0021869C 98 1F 05 60 */ stb r0, 0x560(r31) /* 8021B740 002186A0 40 82 00 30 */ bne lbl_8021B770 /* 8021B744 002186A4 80 7F 00 64 */ lwz r3, 0x64(r31) /* 8021B748 002186A8 28 03 00 00 */ cmplwi r3, 0 /* 8021B74C 002186AC 41 82 00 14 */ beq lbl_8021B760 /* 8021B750 002186B0 80 03 00 10 */ lwz r0, 0x10(r3) /* 8021B754 002186B4 28 00 00 00 */ cmplwi r0, 0 /* 8021B758 002186B8 41 82 00 08 */ beq lbl_8021B760 /* 8021B75C 002186BC 7C 85 23 78 */ mr r5, r4 lbl_8021B760: /* 8021B760 002186C0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 8021B764 002186C4 41 82 00 0C */ beq lbl_8021B770 /* 8021B768 002186C8 38 80 00 01 */ li r4, 1 /* 8021B76C 002186CC 4B EF 9D F5 */ bl EnableLooping__10CModelDataFb lbl_8021B770: /* 8021B770 002186D0 38 7F 03 7C */ addi r3, r31, 0x37c /* 8021B774 002186D4 48 12 56 11 */ bl Lock__6CTokenFv /* 8021B778 002186D8 7F E3 FB 78 */ mr r3, r31 /* 8021B77C 002186DC BA 41 01 78 */ lmw r18, 0x178(r1) /* 8021B780 002186E0 80 01 01 B4 */ lwz r0, 0x1b4(r1) /* 8021B784 002186E4 7C 08 03 A6 */ mtlr r0 /* 8021B788 002186E8 38 21 01 B0 */ addi r1, r1, 0x1b0 /* 8021B78C 002186EC 4E 80 00 20 */ blr .global __ct__20CScriptGunTurretDataFRC20CScriptGunTurretData __ct__20CScriptGunTurretDataFRC20CScriptGunTurretData: /* 8021B790 002186F0 C0 04 00 00 */ lfs f0, 0(r4) /* 8021B794 002186F4 D0 03 00 00 */ stfs f0, 0(r3) /* 8021B798 002186F8 C0 04 00 04 */ lfs f0, 4(r4) /* 8021B79C 002186FC D0 03 00 04 */ stfs f0, 4(r3) /* 8021B7A0 00218700 C0 04 00 08 */ lfs f0, 8(r4) /* 8021B7A4 00218704 D0 03 00 08 */ stfs f0, 8(r3) /* 8021B7A8 00218708 C0 04 00 0C */ lfs f0, 0xc(r4) /* 8021B7AC 0021870C D0 03 00 0C */ stfs f0, 0xc(r3) /* 8021B7B0 00218710 C0 04 00 10 */ lfs f0, 0x10(r4) /* 8021B7B4 00218714 D0 03 00 10 */ stfs f0, 0x10(r3) /* 8021B7B8 00218718 C0 04 00 14 */ lfs f0, 0x14(r4) /* 8021B7BC 0021871C D0 03 00 14 */ stfs f0, 0x14(r3) /* 8021B7C0 00218720 C0 04 00 18 */ lfs f0, 0x18(r4) /* 8021B7C4 00218724 D0 03 00 18 */ stfs f0, 0x18(r3) /* 8021B7C8 00218728 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 8021B7CC 0021872C D0 03 00 1C */ stfs f0, 0x1c(r3) /* 8021B7D0 00218730 C0 04 00 20 */ lfs f0, 0x20(r4) /* 8021B7D4 00218734 D0 03 00 20 */ stfs f0, 0x20(r3) /* 8021B7D8 00218738 C0 04 00 24 */ lfs f0, 0x24(r4) /* 8021B7DC 0021873C D0 03 00 24 */ stfs f0, 0x24(r3) /* 8021B7E0 00218740 C0 04 00 28 */ lfs f0, 0x28(r4) /* 8021B7E4 00218744 D0 03 00 28 */ stfs f0, 0x28(r3) /* 8021B7E8 00218748 C0 04 00 2C */ lfs f0, 0x2c(r4) /* 8021B7EC 0021874C D0 03 00 2C */ stfs f0, 0x2c(r3) /* 8021B7F0 00218750 C0 04 00 30 */ lfs f0, 0x30(r4) /* 8021B7F4 00218754 D0 03 00 30 */ stfs f0, 0x30(r3) /* 8021B7F8 00218758 C0 04 00 34 */ lfs f0, 0x34(r4) /* 8021B7FC 0021875C D0 03 00 34 */ stfs f0, 0x34(r3) /* 8021B800 00218760 C0 04 00 38 */ lfs f0, 0x38(r4) /* 8021B804 00218764 D0 03 00 38 */ stfs f0, 0x38(r3) /* 8021B808 00218768 88 04 00 3C */ lbz r0, 0x3c(r4) /* 8021B80C 0021876C 98 03 00 3C */ stb r0, 0x3c(r3) /* 8021B810 00218770 80 04 00 40 */ lwz r0, 0x40(r4) /* 8021B814 00218774 90 03 00 40 */ stw r0, 0x40(r3) /* 8021B818 00218778 80 04 00 44 */ lwz r0, 0x44(r4) /* 8021B81C 0021877C 90 03 00 44 */ stw r0, 0x44(r3) /* 8021B820 00218780 88 04 00 48 */ lbz r0, 0x48(r4) /* 8021B824 00218784 98 03 00 48 */ stb r0, 0x48(r3) /* 8021B828 00218788 C0 04 00 4C */ lfs f0, 0x4c(r4) /* 8021B82C 0021878C D0 03 00 4C */ stfs f0, 0x4c(r3) /* 8021B830 00218790 C0 04 00 50 */ lfs f0, 0x50(r4) /* 8021B834 00218794 D0 03 00 50 */ stfs f0, 0x50(r3) /* 8021B838 00218798 C0 04 00 54 */ lfs f0, 0x54(r4) /* 8021B83C 0021879C D0 03 00 54 */ stfs f0, 0x54(r3) /* 8021B840 002187A0 C0 04 00 58 */ lfs f0, 0x58(r4) /* 8021B844 002187A4 D0 03 00 58 */ stfs f0, 0x58(r3) /* 8021B848 002187A8 88 04 00 5C */ lbz r0, 0x5c(r4) /* 8021B84C 002187AC 98 03 00 5C */ stb r0, 0x5c(r3) /* 8021B850 002187B0 80 04 00 60 */ lwz r0, 0x60(r4) /* 8021B854 002187B4 90 03 00 60 */ stw r0, 0x60(r3) /* 8021B858 002187B8 80 04 00 64 */ lwz r0, 0x64(r4) /* 8021B85C 002187BC 90 03 00 64 */ stw r0, 0x64(r3) /* 8021B860 002187C0 80 04 00 68 */ lwz r0, 0x68(r4) /* 8021B864 002187C4 90 03 00 68 */ stw r0, 0x68(r3) /* 8021B868 002187C8 80 04 00 6C */ lwz r0, 0x6c(r4) /* 8021B86C 002187CC 90 03 00 6C */ stw r0, 0x6c(r3) /* 8021B870 002187D0 80 04 00 70 */ lwz r0, 0x70(r4) /* 8021B874 002187D4 90 03 00 70 */ stw r0, 0x70(r3) /* 8021B878 002187D8 80 04 00 74 */ lwz r0, 0x74(r4) /* 8021B87C 002187DC 90 03 00 74 */ stw r0, 0x74(r3) /* 8021B880 002187E0 80 04 00 78 */ lwz r0, 0x78(r4) /* 8021B884 002187E4 90 03 00 78 */ stw r0, 0x78(r3) /* 8021B888 002187E8 A0 04 00 7C */ lhz r0, 0x7c(r4) /* 8021B88C 002187EC B0 03 00 7C */ sth r0, 0x7c(r3) /* 8021B890 002187F0 A0 04 00 7E */ lhz r0, 0x7e(r4) /* 8021B894 002187F4 B0 03 00 7E */ sth r0, 0x7e(r3) /* 8021B898 002187F8 A0 04 00 80 */ lhz r0, 0x80(r4) /* 8021B89C 002187FC B0 03 00 80 */ sth r0, 0x80(r3) /* 8021B8A0 00218800 A0 04 00 82 */ lhz r0, 0x82(r4) /* 8021B8A4 00218804 B0 03 00 82 */ sth r0, 0x82(r3) /* 8021B8A8 00218808 A0 04 00 84 */ lhz r0, 0x84(r4) /* 8021B8AC 0021880C B0 03 00 84 */ sth r0, 0x84(r3) /* 8021B8B0 00218810 A0 04 00 86 */ lhz r0, 0x86(r4) /* 8021B8B4 00218814 B0 03 00 86 */ sth r0, 0x86(r3) /* 8021B8B8 00218818 80 04 00 88 */ lwz r0, 0x88(r4) /* 8021B8BC 0021881C 90 03 00 88 */ stw r0, 0x88(r3) /* 8021B8C0 00218820 C0 04 00 8C */ lfs f0, 0x8c(r4) /* 8021B8C4 00218824 D0 03 00 8C */ stfs f0, 0x8c(r3) /* 8021B8C8 00218828 80 04 00 90 */ lwz r0, 0x90(r4) /* 8021B8CC 0021882C 90 03 00 90 */ stw r0, 0x90(r3) /* 8021B8D0 00218830 80 04 00 94 */ lwz r0, 0x94(r4) /* 8021B8D4 00218834 90 03 00 94 */ stw r0, 0x94(r3) /* 8021B8D8 00218838 80 04 00 98 */ lwz r0, 0x98(r4) /* 8021B8DC 0021883C 90 03 00 98 */ stw r0, 0x98(r3) /* 8021B8E0 00218840 C0 04 00 9C */ lfs f0, 0x9c(r4) /* 8021B8E4 00218844 D0 03 00 9C */ stfs f0, 0x9c(r3) /* 8021B8E8 00218848 88 04 00 A0 */ lbz r0, 0xa0(r4) /* 8021B8EC 0021884C 98 03 00 A0 */ stb r0, 0xa0(r3) /* 8021B8F0 00218850 4E 80 00 20 */ blr .global __ct__20CScriptGunTurretDataFR12CInputStreami __ct__20CScriptGunTurretDataFR12CInputStreami: /* 8021B8F4 00218854 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021B8F8 00218858 7C 08 02 A6 */ mflr r0 /* 8021B8FC 0021885C 90 01 00 24 */ stw r0, 0x24(r1) /* 8021B900 00218860 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021B904 00218864 7C BF 2B 78 */ mr r31, r5 /* 8021B908 00218868 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021B90C 0021886C 7C 9E 23 78 */ mr r30, r4 /* 8021B910 00218870 93 A1 00 14 */ stw r29, 0x14(r1) /* 8021B914 00218874 7C 7D 1B 78 */ mr r29, r3 /* 8021B918 00218878 7F C3 F3 78 */ mr r3, r30 /* 8021B91C 0021887C 48 12 33 0D */ bl ReadFloat__12CInputStreamFv /* 8021B920 00218880 D0 3D 00 00 */ stfs f1, 0(r29) /* 8021B924 00218884 7F C3 F3 78 */ mr r3, r30 /* 8021B928 00218888 48 12 33 01 */ bl ReadFloat__12CInputStreamFv /* 8021B92C 0021888C D0 3D 00 04 */ stfs f1, 4(r29) /* 8021B930 00218890 7F C3 F3 78 */ mr r3, r30 /* 8021B934 00218894 48 12 32 F5 */ bl ReadFloat__12CInputStreamFv /* 8021B938 00218898 D0 3D 00 08 */ stfs f1, 8(r29) /* 8021B93C 0021889C 7F C3 F3 78 */ mr r3, r30 /* 8021B940 002188A0 48 12 32 E9 */ bl ReadFloat__12CInputStreamFv /* 8021B944 002188A4 D0 3D 00 0C */ stfs f1, 0xc(r29) /* 8021B948 002188A8 7F C3 F3 78 */ mr r3, r30 /* 8021B94C 002188AC 48 12 32 DD */ bl ReadFloat__12CInputStreamFv /* 8021B950 002188B0 D0 3D 00 10 */ stfs f1, 0x10(r29) /* 8021B954 002188B4 7F C3 F3 78 */ mr r3, r30 /* 8021B958 002188B8 48 12 32 D1 */ bl ReadFloat__12CInputStreamFv /* 8021B95C 002188BC D0 3D 00 14 */ stfs f1, 0x14(r29) /* 8021B960 002188C0 7F C3 F3 78 */ mr r3, r30 /* 8021B964 002188C4 C0 02 B3 D4 */ lfs f0, lbl_805AD0F4@sda21(r2) /* 8021B968 002188C8 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 8021B96C 002188CC 48 12 32 BD */ bl ReadFloat__12CInputStreamFv /* 8021B970 002188D0 C0 02 B3 C4 */ lfs f0, lbl_805AD0E4@sda21(r2) /* 8021B974 002188D4 7F C3 F3 78 */ mr r3, r30 /* 8021B978 002188D8 EC 00 00 72 */ fmuls f0, f0, f1 /* 8021B97C 002188DC D0 1D 00 1C */ stfs f0, 0x1c(r29) /* 8021B980 002188E0 48 12 32 A9 */ bl ReadFloat__12CInputStreamFv /* 8021B984 002188E4 C0 02 B3 C4 */ lfs f0, lbl_805AD0E4@sda21(r2) /* 8021B988 002188E8 7F C3 F3 78 */ mr r3, r30 /* 8021B98C 002188EC EC 00 00 72 */ fmuls f0, f0, f1 /* 8021B990 002188F0 D0 1D 00 20 */ stfs f0, 0x20(r29) /* 8021B994 002188F4 48 12 32 95 */ bl ReadFloat__12CInputStreamFv /* 8021B998 002188F8 C0 02 B3 C4 */ lfs f0, lbl_805AD0E4@sda21(r2) /* 8021B99C 002188FC 7F C3 F3 78 */ mr r3, r30 /* 8021B9A0 00218900 EC 00 00 72 */ fmuls f0, f0, f1 /* 8021B9A4 00218904 D0 1D 00 24 */ stfs f0, 0x24(r29) /* 8021B9A8 00218908 48 12 32 81 */ bl ReadFloat__12CInputStreamFv /* 8021B9AC 0021890C C0 02 B3 C4 */ lfs f0, lbl_805AD0E4@sda21(r2) /* 8021B9B0 00218910 7F C3 F3 78 */ mr r3, r30 /* 8021B9B4 00218914 EC 00 00 72 */ fmuls f0, f0, f1 /* 8021B9B8 00218918 D0 1D 00 28 */ stfs f0, 0x28(r29) /* 8021B9BC 0021891C 48 12 32 6D */ bl ReadFloat__12CInputStreamFv /* 8021B9C0 00218920 D0 3D 00 2C */ stfs f1, 0x2c(r29) /* 8021B9C4 00218924 7F C3 F3 78 */ mr r3, r30 /* 8021B9C8 00218928 48 12 32 61 */ bl ReadFloat__12CInputStreamFv /* 8021B9CC 0021892C D0 3D 00 30 */ stfs f1, 0x30(r29) /* 8021B9D0 00218930 7F C3 F3 78 */ mr r3, r30 /* 8021B9D4 00218934 48 12 32 55 */ bl ReadFloat__12CInputStreamFv /* 8021B9D8 00218938 D0 3D 00 34 */ stfs f1, 0x34(r29) /* 8021B9DC 0021893C 7F C3 F3 78 */ mr r3, r30 /* 8021B9E0 00218940 48 12 32 49 */ bl ReadFloat__12CInputStreamFv /* 8021B9E4 00218944 2C 1F 00 30 */ cmpwi r31, 0x30 /* 8021B9E8 00218948 D0 3D 00 38 */ stfs f1, 0x38(r29) /* 8021B9EC 0021894C 41 80 00 10 */ blt lbl_8021B9FC /* 8021B9F0 00218950 7F C3 F3 78 */ mr r3, r30 /* 8021B9F4 00218954 48 12 32 E9 */ bl ReadBool__12CInputStreamFv /* 8021B9F8 00218958 48 00 00 08 */ b lbl_8021BA00 lbl_8021B9FC: /* 8021B9FC 0021895C 38 60 00 00 */ li r3, 0 lbl_8021BA00: /* 8021BA00 00218960 98 7D 00 3C */ stb r3, 0x3c(r29) /* 8021BA04 00218964 7F C3 F3 78 */ mr r3, r30 /* 8021BA08 00218968 48 12 32 7D */ bl ReadLong__12CInputStreamFv /* 8021BA0C 0021896C 90 7D 00 40 */ stw r3, 0x40(r29) /* 8021BA10 00218970 7F C4 F3 78 */ mr r4, r30 /* 8021BA14 00218974 38 7D 00 44 */ addi r3, r29, 0x44 /* 8021BA18 00218978 4B EA 7B 49 */ bl __ct__11CDamageInfoFR12CInputStream /* 8021BA1C 0021897C 7F C3 F3 78 */ mr r3, r30 /* 8021BA20 00218980 48 12 32 65 */ bl ReadLong__12CInputStreamFv /* 8021BA24 00218984 90 7D 00 60 */ stw r3, 0x60(r29) /* 8021BA28 00218988 7F C3 F3 78 */ mr r3, r30 /* 8021BA2C 0021898C 48 12 32 59 */ bl ReadLong__12CInputStreamFv /* 8021BA30 00218990 90 7D 00 64 */ stw r3, 0x64(r29) /* 8021BA34 00218994 7F C3 F3 78 */ mr r3, r30 /* 8021BA38 00218998 48 12 32 4D */ bl ReadLong__12CInputStreamFv /* 8021BA3C 0021899C 90 7D 00 68 */ stw r3, 0x68(r29) /* 8021BA40 002189A0 7F C3 F3 78 */ mr r3, r30 /* 8021BA44 002189A4 48 12 32 41 */ bl ReadLong__12CInputStreamFv /* 8021BA48 002189A8 90 7D 00 6C */ stw r3, 0x6c(r29) /* 8021BA4C 002189AC 7F C3 F3 78 */ mr r3, r30 /* 8021BA50 002189B0 48 12 32 35 */ bl ReadLong__12CInputStreamFv /* 8021BA54 002189B4 90 7D 00 70 */ stw r3, 0x70(r29) /* 8021BA58 002189B8 7F C3 F3 78 */ mr r3, r30 /* 8021BA5C 002189BC 48 12 32 29 */ bl ReadLong__12CInputStreamFv /* 8021BA60 002189C0 2C 1F 00 2C */ cmpwi r31, 0x2c /* 8021BA64 002189C4 90 7D 00 74 */ stw r3, 0x74(r29) /* 8021BA68 002189C8 41 80 00 10 */ blt lbl_8021BA78 /* 8021BA6C 002189CC 7F C3 F3 78 */ mr r3, r30 /* 8021BA70 002189D0 48 12 32 15 */ bl ReadLong__12CInputStreamFv /* 8021BA74 002189D4 48 00 00 08 */ b lbl_8021BA7C lbl_8021BA78: /* 8021BA78 002189D8 38 60 FF FF */ li r3, -1 lbl_8021BA7C: /* 8021BA7C 002189DC 90 7D 00 78 */ stw r3, 0x78(r29) /* 8021BA80 002189E0 7F C3 F3 78 */ mr r3, r30 /* 8021BA84 002189E4 48 12 32 01 */ bl ReadLong__12CInputStreamFv /* 8021BA88 002189E8 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8021BA8C 002189EC 48 0C CF 25 */ bl TranslateSFXID__11CSfxManagerFUs /* 8021BA90 002189F0 B0 7D 00 7C */ sth r3, 0x7c(r29) /* 8021BA94 002189F4 7F C3 F3 78 */ mr r3, r30 /* 8021BA98 002189F8 48 12 31 ED */ bl ReadLong__12CInputStreamFv /* 8021BA9C 002189FC 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8021BAA0 00218A00 48 0C CF 11 */ bl TranslateSFXID__11CSfxManagerFUs /* 8021BAA4 00218A04 B0 7D 00 7E */ sth r3, 0x7e(r29) /* 8021BAA8 00218A08 7F C3 F3 78 */ mr r3, r30 /* 8021BAAC 00218A0C 48 12 31 D9 */ bl ReadLong__12CInputStreamFv /* 8021BAB0 00218A10 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8021BAB4 00218A14 48 0C CE FD */ bl TranslateSFXID__11CSfxManagerFUs /* 8021BAB8 00218A18 B0 7D 00 80 */ sth r3, 0x80(r29) /* 8021BABC 00218A1C 7F C3 F3 78 */ mr r3, r30 /* 8021BAC0 00218A20 48 12 31 C5 */ bl ReadLong__12CInputStreamFv /* 8021BAC4 00218A24 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8021BAC8 00218A28 48 0C CE E9 */ bl TranslateSFXID__11CSfxManagerFUs /* 8021BACC 00218A2C B0 7D 00 82 */ sth r3, 0x82(r29) /* 8021BAD0 00218A30 7F C3 F3 78 */ mr r3, r30 /* 8021BAD4 00218A34 48 12 31 B1 */ bl ReadLong__12CInputStreamFv /* 8021BAD8 00218A38 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8021BADC 00218A3C 48 0C CE D5 */ bl TranslateSFXID__11CSfxManagerFUs /* 8021BAE0 00218A40 2C 1F 00 2D */ cmpwi r31, 0x2d /* 8021BAE4 00218A44 B0 7D 00 84 */ sth r3, 0x84(r29) /* 8021BAE8 00218A48 41 80 00 18 */ blt lbl_8021BB00 /* 8021BAEC 00218A4C 7F C3 F3 78 */ mr r3, r30 /* 8021BAF0 00218A50 48 12 31 95 */ bl ReadLong__12CInputStreamFv /* 8021BAF4 00218A54 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8021BAF8 00218A58 48 0C CE B9 */ bl TranslateSFXID__11CSfxManagerFUs /* 8021BAFC 00218A5C 48 00 00 08 */ b lbl_8021BB04 lbl_8021BB00: /* 8021BB00 00218A60 A0 62 C5 FC */ lhz r3, lbl_805AE31C@sda21(r2) lbl_8021BB04: /* 8021BB04 00218A64 B0 7D 00 86 */ sth r3, 0x86(r29) /* 8021BB08 00218A68 7F C3 F3 78 */ mr r3, r30 /* 8021BB0C 00218A6C 48 12 31 79 */ bl ReadLong__12CInputStreamFv /* 8021BB10 00218A70 90 7D 00 88 */ stw r3, 0x88(r29) /* 8021BB14 00218A74 7F C3 F3 78 */ mr r3, r30 /* 8021BB18 00218A78 48 12 31 11 */ bl ReadFloat__12CInputStreamFv /* 8021BB1C 00218A7C D0 3D 00 8C */ stfs f1, 0x8c(r29) /* 8021BB20 00218A80 7F C3 F3 78 */ mr r3, r30 /* 8021BB24 00218A84 48 12 31 61 */ bl ReadLong__12CInputStreamFv /* 8021BB28 00218A88 90 7D 00 90 */ stw r3, 0x90(r29) /* 8021BB2C 00218A8C 7F C3 F3 78 */ mr r3, r30 /* 8021BB30 00218A90 48 12 31 55 */ bl ReadLong__12CInputStreamFv /* 8021BB34 00218A94 90 7D 00 94 */ stw r3, 0x94(r29) /* 8021BB38 00218A98 7F C3 F3 78 */ mr r3, r30 /* 8021BB3C 00218A9C 48 12 31 49 */ bl ReadLong__12CInputStreamFv /* 8021BB40 00218AA0 2C 1F 00 2F */ cmpwi r31, 0x2f /* 8021BB44 00218AA4 90 7D 00 98 */ stw r3, 0x98(r29) /* 8021BB48 00218AA8 41 80 00 10 */ blt lbl_8021BB58 /* 8021BB4C 00218AAC 7F C3 F3 78 */ mr r3, r30 /* 8021BB50 00218AB0 48 12 30 D9 */ bl ReadFloat__12CInputStreamFv /* 8021BB54 00218AB4 48 00 00 08 */ b lbl_8021BB5C lbl_8021BB58: /* 8021BB58 00218AB8 C0 22 B3 D8 */ lfs f1, lbl_805AD0F8@sda21(r2) lbl_8021BB5C: /* 8021BB5C 00218ABC 2C 1F 00 2E */ cmpwi r31, 0x2e /* 8021BB60 00218AC0 D0 3D 00 9C */ stfs f1, 0x9c(r29) /* 8021BB64 00218AC4 41 80 00 10 */ blt lbl_8021BB74 /* 8021BB68 00218AC8 7F C3 F3 78 */ mr r3, r30 /* 8021BB6C 00218ACC 48 12 31 71 */ bl ReadBool__12CInputStreamFv /* 8021BB70 00218AD0 48 00 00 08 */ b lbl_8021BB78 lbl_8021BB74: /* 8021BB74 00218AD4 38 60 00 00 */ li r3, 0 lbl_8021BB78: /* 8021BB78 00218AD8 98 7D 00 A0 */ stb r3, 0xa0(r29) /* 8021BB7C 00218ADC 7F A3 EB 78 */ mr r3, r29 /* 8021BB80 00218AE0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021BB84 00218AE4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021BB88 00218AE8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021BB8C 00218AEC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8021BB90 00218AF0 7C 08 03 A6 */ mtlr r0 /* 8021BB94 00218AF4 38 21 00 20 */ addi r1, r1, 0x20 /* 8021BB98 00218AF8 4E 80 00 20 */ blr .global __sinit_CScriptGunTurret_cpp __sinit_CScriptGunTurret_cpp: /* 8021BB9C 00218AFC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021BBA0 00218B00 7C 08 02 A6 */ mflr r0 /* 8021BBA4 00218B04 38 60 00 00 */ li r3, 0 /* 8021BBA8 00218B08 38 80 00 01 */ li r4, 1 /* 8021BBAC 00218B0C 90 01 00 14 */ stw r0, 0x14(r1) /* 8021BBB0 00218B10 38 00 00 00 */ li r0, 0 /* 8021BBB4 00218B14 80 AD 94 E0 */ lwz r5, lbl_805A80A0@sda21(r13) /* 8021BBB8 00218B18 90 0D A5 04 */ stw r0, lbl_805A90C4@sda21(r13) /* 8021BBBC 00218B1C 90 0D A5 00 */ stw r0, lbl_805A90C0@sda21(r13) /* 8021BBC0 00218B20 48 16 E3 35 */ bl __shl2i /* 8021BBC4 00218B24 80 AD A5 00 */ lwz r5, lbl_805A90C0@sda21(r13) /* 8021BBC8 00218B28 38 00 00 00 */ li r0, 0 /* 8021BBCC 00218B2C 80 CD A5 04 */ lwz r6, lbl_805A90C4@sda21(r13) /* 8021BBD0 00218B30 7C A3 1B 78 */ or r3, r5, r3 /* 8021BBD4 00218B34 80 AD 94 E4 */ lwz r5, lbl_805A80A4@sda21(r13) /* 8021BBD8 00218B38 7C C4 23 78 */ or r4, r6, r4 /* 8021BBDC 00218B3C 90 6D A5 00 */ stw r3, lbl_805A90C0@sda21(r13) /* 8021BBE0 00218B40 38 60 00 00 */ li r3, 0 /* 8021BBE4 00218B44 90 8D A5 04 */ stw r4, lbl_805A90C4@sda21(r13) /* 8021BBE8 00218B48 38 80 00 01 */ li r4, 1 /* 8021BBEC 00218B4C 90 0D A5 0C */ stw r0, lbl_805A90CC@sda21(r13) /* 8021BBF0 00218B50 90 0D A5 08 */ stw r0, lbl_805A90C8@sda21(r13) /* 8021BBF4 00218B54 48 16 E3 01 */ bl __shl2i /* 8021BBF8 00218B58 80 0D A5 08 */ lwz r0, lbl_805A90C8@sda21(r13) /* 8021BBFC 00218B5C 80 CD A5 0C */ lwz r6, lbl_805A90CC@sda21(r13) /* 8021BC00 00218B60 7C 00 1B 78 */ or r0, r0, r3 /* 8021BC04 00218B64 80 AD 94 E8 */ lwz r5, lbl_805A80A8@sda21(r13) /* 8021BC08 00218B68 7C C4 23 78 */ or r4, r6, r4 /* 8021BC0C 00218B6C 90 0D A5 08 */ stw r0, lbl_805A90C8@sda21(r13) /* 8021BC10 00218B70 38 60 00 00 */ li r3, 0 /* 8021BC14 00218B74 90 8D A5 0C */ stw r4, lbl_805A90CC@sda21(r13) /* 8021BC18 00218B78 38 80 00 01 */ li r4, 1 /* 8021BC1C 00218B7C 48 16 E2 D9 */ bl __shl2i /* 8021BC20 00218B80 80 0D A5 08 */ lwz r0, lbl_805A90C8@sda21(r13) /* 8021BC24 00218B84 80 CD A5 0C */ lwz r6, lbl_805A90CC@sda21(r13) /* 8021BC28 00218B88 7C 00 1B 78 */ or r0, r0, r3 /* 8021BC2C 00218B8C 80 AD 94 EC */ lwz r5, lbl_805A80AC@sda21(r13) /* 8021BC30 00218B90 7C C4 23 78 */ or r4, r6, r4 /* 8021BC34 00218B94 90 0D A5 08 */ stw r0, lbl_805A90C8@sda21(r13) /* 8021BC38 00218B98 38 60 00 00 */ li r3, 0 /* 8021BC3C 00218B9C 90 8D A5 0C */ stw r4, lbl_805A90CC@sda21(r13) /* 8021BC40 00218BA0 38 80 00 01 */ li r4, 1 /* 8021BC44 00218BA4 48 16 E2 B1 */ bl __shl2i /* 8021BC48 00218BA8 80 0D A5 08 */ lwz r0, lbl_805A90C8@sda21(r13) /* 8021BC4C 00218BAC 80 CD A5 0C */ lwz r6, lbl_805A90CC@sda21(r13) /* 8021BC50 00218BB0 7C 00 1B 78 */ or r0, r0, r3 /* 8021BC54 00218BB4 80 AD 94 F0 */ lwz r5, lbl_805A80B0@sda21(r13) /* 8021BC58 00218BB8 7C C4 23 78 */ or r4, r6, r4 /* 8021BC5C 00218BBC 90 0D A5 08 */ stw r0, lbl_805A90C8@sda21(r13) /* 8021BC60 00218BC0 38 60 00 00 */ li r3, 0 /* 8021BC64 00218BC4 90 8D A5 0C */ stw r4, lbl_805A90CC@sda21(r13) /* 8021BC68 00218BC8 38 80 00 01 */ li r4, 1 /* 8021BC6C 00218BCC 48 16 E2 89 */ bl __shl2i /* 8021BC70 00218BD0 80 0D A5 08 */ lwz r0, lbl_805A90C8@sda21(r13) /* 8021BC74 00218BD4 80 AD A5 0C */ lwz r5, lbl_805A90CC@sda21(r13) /* 8021BC78 00218BD8 7C 00 1B 78 */ or r0, r0, r3 /* 8021BC7C 00218BDC 7C A3 23 78 */ or r3, r5, r4 /* 8021BC80 00218BE0 90 0D A5 08 */ stw r0, lbl_805A90C8@sda21(r13) /* 8021BC84 00218BE4 90 6D A5 0C */ stw r3, lbl_805A90CC@sda21(r13) /* 8021BC88 00218BE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021BC8C 00218BEC 7C 08 03 A6 */ mtlr r0 /* 8021BC90 00218BF0 38 21 00 10 */ addi r1, r1, 0x10 /* 8021BC94 00218BF4 4E 80 00 20 */ blr .global PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbff PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbff: /* 8021BC98 00218BF8 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8021BC9C 00218BFC 7C 08 02 A6 */ mflr r0 /* 8021BCA0 00218C00 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8021BCA4 00218C04 DB E1 00 90 */ stfd f31, 0x90(r1) /* 8021BCA8 00218C08 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8021BCAC 00218C0C DB C1 00 80 */ stfd f30, 0x80(r1) /* 8021BCB0 00218C10 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 8021BCB4 00218C14 BF 61 00 6C */ stmw r27, 0x6c(r1) /* 8021BCB8 00218C18 3D 00 80 5A */ lis r8, skZero3f@ha /* 8021BCBC 00218C1C 7C 7E 1B 78 */ mr r30, r3 /* 8021BCC0 00218C20 38 68 66 A0 */ addi r3, r8, skZero3f@l /* 8021BCC4 00218C24 FF C0 08 90 */ fmr f30, f1 /* 8021BCC8 00218C28 C0 63 00 00 */ lfs f3, 0(r3) /* 8021BCCC 00218C2C FF E0 10 90 */ fmr f31, f2 /* 8021BCD0 00218C30 C0 23 00 04 */ lfs f1, 4(r3) /* 8021BCD4 00218C34 7C DC 33 78 */ mr r28, r6 /* 8021BCD8 00218C38 C0 03 00 08 */ lfs f0, 8(r3) /* 8021BCDC 00218C3C 7C 9B 23 78 */ mr r27, r4 /* 8021BCE0 00218C40 D0 61 00 50 */ stfs f3, 0x50(r1) /* 8021BCE4 00218C44 7C BF 2B 78 */ mr r31, r5 /* 8021BCE8 00218C48 7C FD 3B 78 */ mr r29, r7 /* 8021BCEC 00218C4C D0 21 00 54 */ stfs f1, 0x54(r1) /* 8021BCF0 00218C50 7F 84 E3 78 */ mr r4, r28 /* 8021BCF4 00218C54 38 61 00 20 */ addi r3, r1, 0x20 /* 8021BCF8 00218C58 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8021BCFC 00218C5C 48 06 C7 F5 */ bl GetDampedClampedVelocityWR__7CPlayerCFv /* 8021BD00 00218C60 C0 41 00 20 */ lfs f2, 0x20(r1) /* 8021BD04 00218C64 7F 83 E3 78 */ mr r3, r28 /* 8021BD08 00218C68 C0 21 00 24 */ lfs f1, 0x24(r1) /* 8021BD0C 00218C6C C0 01 00 28 */ lfs f0, 0x28(r1) /* 8021BD10 00218C70 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8021BD14 00218C74 D0 21 00 48 */ stfs f1, 0x48(r1) /* 8021BD18 00218C78 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 8021BD1C 00218C7C 48 06 C6 41 */ bl GetGravity__7CPlayerCFv /* 8021BD20 00218C80 80 1C 03 04 */ lwz r0, 0x304(r28) /* 8021BD24 00218C84 38 60 00 00 */ li r3, 0 /* 8021BD28 00218C88 C0 02 B3 E0 */ lfs f0, lbl_805AD100@sda21(r2) /* 8021BD2C 00218C8C 2C 00 00 00 */ cmpwi r0, 0 /* 8021BD30 00218C90 D0 21 00 40 */ stfs f1, 0x40(r1) /* 8021BD34 00218C94 D0 01 00 38 */ stfs f0, 0x38(r1) /* 8021BD38 00218C98 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 8021BD3C 00218C9C 41 82 00 E0 */ beq lbl_8021BE1C /* 8021BD40 00218CA0 41 80 01 28 */ blt lbl_8021BE68 /* 8021BD44 00218CA4 2C 00 00 06 */ cmpwi r0, 6 /* 8021BD48 00218CA8 40 80 01 20 */ bge lbl_8021BE68 /* 8021BD4C 00218CAC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8021BD50 00218CB0 3B BC 03 14 */ addi r29, r28, 0x314 /* 8021BD54 00218CB4 41 82 00 38 */ beq lbl_8021BD8C /* 8021BD58 00218CB8 80 1C 02 58 */ lwz r0, 0x258(r28) /* 8021BD5C 00218CBC 2C 00 00 02 */ cmpwi r0, 2 /* 8021BD60 00218CC0 40 82 00 2C */ bne lbl_8021BD8C /* 8021BD64 00218CC4 FC 20 F0 90 */ fmr f1, f30 /* 8021BD68 00218CC8 7F 63 DB 78 */ mr r3, r27 /* 8021BD6C 00218CCC FC 40 F8 90 */ fmr f2, f31 /* 8021BD70 00218CD0 7F E4 FB 78 */ mr r4, r31 /* 8021BD74 00218CD4 7F A7 EB 78 */ mr r7, r29 /* 8021BD78 00218CD8 38 A1 00 44 */ addi r5, r1, 0x44 /* 8021BD7C 00218CDC 38 C1 00 38 */ addi r6, r1, 0x38 /* 8021BD80 00218CE0 39 01 00 50 */ addi r8, r1, 0x50 /* 8021BD84 00218CE4 4B F2 0F CD */ bl ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f /* 8021BD88 00218CE8 48 00 00 E0 */ b lbl_8021BE68 lbl_8021BD8C: /* 8021BD8C 00218CEC 38 61 00 44 */ addi r3, r1, 0x44 /* 8021BD90 00218CF0 48 0F 89 69 */ bl CanBeNormalized__9CVector3fCFv /* 8021BD94 00218CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021BD98 00218CF8 41 82 00 44 */ beq lbl_8021BDDC /* 8021BD9C 00218CFC 38 61 00 14 */ addi r3, r1, 0x14 /* 8021BDA0 00218D00 38 81 00 44 */ addi r4, r1, 0x44 /* 8021BDA4 00218D04 48 0F 8A AD */ bl AsNormalized__9CVector3fCFv /* 8021BDA8 00218D08 7F 83 E3 78 */ mr r3, r28 /* 8021BDAC 00218D0C 48 06 C6 7D */ bl GetAverageSpeed__7CPlayerCFv /* 8021BDB0 00218D10 C0 61 00 14 */ lfs f3, 0x14(r1) /* 8021BDB4 00218D14 39 01 00 08 */ addi r8, r1, 8 /* 8021BDB8 00218D18 C0 41 00 18 */ lfs f2, 0x18(r1) /* 8021BDBC 00218D1C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8021BDC0 00218D20 EC 61 00 F2 */ fmuls f3, f1, f3 /* 8021BDC4 00218D24 EC 41 00 B2 */ fmuls f2, f1, f2 /* 8021BDC8 00218D28 EC 01 00 32 */ fmuls f0, f1, f0 /* 8021BDCC 00218D2C D0 61 00 08 */ stfs f3, 8(r1) /* 8021BDD0 00218D30 D0 41 00 0C */ stfs f2, 0xc(r1) /* 8021BDD4 00218D34 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8021BDD8 00218D38 48 00 00 08 */ b lbl_8021BDE0 lbl_8021BDDC: /* 8021BDDC 00218D3C 39 01 00 44 */ addi r8, r1, 0x44 lbl_8021BDE0: /* 8021BDE0 00218D40 C0 08 00 00 */ lfs f0, 0(r8) /* 8021BDE4 00218D44 FC 20 F0 90 */ fmr f1, f30 /* 8021BDE8 00218D48 FC 40 F8 90 */ fmr f2, f31 /* 8021BDEC 00218D4C 7F 63 DB 78 */ mr r3, r27 /* 8021BDF0 00218D50 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8021BDF4 00218D54 7F E4 FB 78 */ mr r4, r31 /* 8021BDF8 00218D58 7F A6 EB 78 */ mr r6, r29 /* 8021BDFC 00218D5C C0 08 00 04 */ lfs f0, 4(r8) /* 8021BE00 00218D60 38 A1 00 2C */ addi r5, r1, 0x2c /* 8021BE04 00218D64 38 E1 00 50 */ addi r7, r1, 0x50 /* 8021BE08 00218D68 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8021BE0C 00218D6C C0 08 00 08 */ lfs f0, 8(r8) /* 8021BE10 00218D70 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8021BE14 00218D74 4B F2 13 59 */ bl ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f /* 8021BE18 00218D78 48 00 00 50 */ b lbl_8021BE68 lbl_8021BE1C: /* 8021BE1C 00218D7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8021BE20 00218D80 41 82 00 30 */ beq lbl_8021BE50 /* 8021BE24 00218D84 80 1C 02 58 */ lwz r0, 0x258(r28) /* 8021BE28 00218D88 2C 00 00 02 */ cmpwi r0, 2 /* 8021BE2C 00218D8C 40 82 00 24 */ bne lbl_8021BE50 /* 8021BE30 00218D90 FC 20 F0 90 */ fmr f1, f30 /* 8021BE34 00218D94 7F 63 DB 78 */ mr r3, r27 /* 8021BE38 00218D98 7F E4 FB 78 */ mr r4, r31 /* 8021BE3C 00218D9C 38 A1 00 44 */ addi r5, r1, 0x44 /* 8021BE40 00218DA0 38 C1 00 38 */ addi r6, r1, 0x38 /* 8021BE44 00218DA4 38 E1 00 50 */ addi r7, r1, 0x50 /* 8021BE48 00218DA8 4B F2 17 25 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f /* 8021BE4C 00218DAC 48 00 00 1C */ b lbl_8021BE68 lbl_8021BE50: /* 8021BE50 00218DB0 FC 20 F0 90 */ fmr f1, f30 /* 8021BE54 00218DB4 7F 63 DB 78 */ mr r3, r27 /* 8021BE58 00218DB8 7F E4 FB 78 */ mr r4, r31 /* 8021BE5C 00218DBC 38 A1 00 44 */ addi r5, r1, 0x44 /* 8021BE60 00218DC0 38 C1 00 50 */ addi r6, r1, 0x50 /* 8021BE64 00218DC4 4B F2 1A 15 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f lbl_8021BE68: /* 8021BE68 00218DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021BE6C 00218DCC 40 82 00 44 */ bne lbl_8021BEB0 /* 8021BE70 00218DD0 C0 A2 B3 E4 */ lfs f5, lbl_805AD104@sda21(r2) /* 8021BE74 00218DD4 C0 41 00 48 */ lfs f2, 0x48(r1) /* 8021BE78 00218DD8 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 8021BE7C 00218DDC C0 01 00 44 */ lfs f0, 0x44(r1) /* 8021BE80 00218DE0 EC 85 00 B2 */ fmuls f4, f5, f2 /* 8021BE84 00218DE4 C0 DF 00 04 */ lfs f6, 4(r31) /* 8021BE88 00218DE8 EC 45 00 72 */ fmuls f2, f5, f1 /* 8021BE8C 00218DEC C0 7F 00 08 */ lfs f3, 8(r31) /* 8021BE90 00218DF0 EC 05 00 32 */ fmuls f0, f5, f0 /* 8021BE94 00218DF4 C0 3F 00 00 */ lfs f1, 0(r31) /* 8021BE98 00218DF8 EC 86 20 2A */ fadds f4, f6, f4 /* 8021BE9C 00218DFC EC 43 10 2A */ fadds f2, f3, f2 /* 8021BEA0 00218E00 EC 01 00 2A */ fadds f0, f1, f0 /* 8021BEA4 00218E04 D0 81 00 54 */ stfs f4, 0x54(r1) /* 8021BEA8 00218E08 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8021BEAC 00218E0C D0 41 00 58 */ stfs f2, 0x58(r1) lbl_8021BEB0: /* 8021BEB0 00218E10 C0 01 00 50 */ lfs f0, 0x50(r1) /* 8021BEB4 00218E14 D0 1E 00 00 */ stfs f0, 0(r30) /* 8021BEB8 00218E18 C0 01 00 54 */ lfs f0, 0x54(r1) /* 8021BEBC 00218E1C D0 1E 00 04 */ stfs f0, 4(r30) /* 8021BEC0 00218E20 C0 01 00 58 */ lfs f0, 0x58(r1) /* 8021BEC4 00218E24 D0 1E 00 08 */ stfs f0, 8(r30) /* 8021BEC8 00218E28 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 8021BECC 00218E2C CB E1 00 90 */ lfd f31, 0x90(r1) /* 8021BED0 00218E30 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 8021BED4 00218E34 CB C1 00 80 */ lfd f30, 0x80(r1) /* 8021BED8 00218E38 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 8021BEDC 00218E3C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021BEE0 00218E40 7C 08 03 A6 */ mtlr r0 /* 8021BEE4 00218E44 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8021BEE8 00218E48 4E 80 00 20 */ blr .global PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf: /* 8021BEEC 00218E4C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021BEF0 00218E50 7C 08 02 A6 */ mflr r0 /* 8021BEF4 00218E54 90 01 00 34 */ stw r0, 0x34(r1) /* 8021BEF8 00218E58 DB E1 00 28 */ stfd f31, 0x28(r1) /* 8021BEFC 00218E5C FF E0 08 90 */ fmr f31, f1 /* 8021BF00 00218E60 BF 61 00 14 */ stmw r27, 0x14(r1) /* 8021BF04 00218E64 7C 7B 1B 78 */ mr r27, r3 /* 8021BF08 00218E68 7C BC 2B 78 */ mr r28, r5 /* 8021BF0C 00218E6C 7C DD 33 78 */ mr r29, r6 /* 8021BF10 00218E70 7C FE 3B 78 */ mr r30, r7 /* 8021BF14 00218E74 7D 1F 43 78 */ mr r31, r8 /* 8021BF18 00218E78 7C 83 23 78 */ mr r3, r4 /* 8021BF1C 00218E7C 48 00 00 39 */ bl GetProjectileSpeed__15CProjectileInfoCFv /* 8021BF20 00218E80 FC 40 F8 90 */ fmr f2, f31 /* 8021BF24 00218E84 7F 63 DB 78 */ mr r3, r27 /* 8021BF28 00218E88 7F 84 E3 78 */ mr r4, r28 /* 8021BF2C 00218E8C 7F A5 EB 78 */ mr r5, r29 /* 8021BF30 00218E90 7F C6 F3 78 */ mr r6, r30 /* 8021BF34 00218E94 7F E7 FB 78 */ mr r7, r31 /* 8021BF38 00218E98 4B FF FD 61 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbff /* 8021BF3C 00218E9C CB E1 00 28 */ lfd f31, 0x28(r1) /* 8021BF40 00218EA0 BB 61 00 14 */ lmw r27, 0x14(r1) /* 8021BF44 00218EA4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021BF48 00218EA8 7C 08 03 A6 */ mtlr r0 /* 8021BF4C 00218EAC 38 21 00 30 */ addi r1, r1, 0x30 /* 8021BF50 00218EB0 4E 80 00 20 */ blr .global GetProjectileSpeed__15CProjectileInfoCFv GetProjectileSpeed__15CProjectileInfoCFv: /* 8021BF54 00218EB4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021BF58 00218EB8 7C 08 02 A6 */ mflr r0 /* 8021BF5C 00218EBC 90 01 00 34 */ stw r0, 0x34(r1) /* 8021BF60 00218EC0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8021BF64 00218EC4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8021BF68 00218EC8 C3 E2 B3 E8 */ lfs f31, lbl_805AD108@sda21(r2) /* 8021BF6C 00218ECC 7C 64 1B 78 */ mr r4, r3 /* 8021BF70 00218ED0 38 61 00 08 */ addi r3, r1, 8 /* 8021BF74 00218ED4 48 12 4F 35 */ bl __ct__6CTokenFRC6CToken /* 8021BF78 00218ED8 38 61 00 08 */ addi r3, r1, 8 /* 8021BF7C 00218EDC 48 12 4E 91 */ bl GetObj__6CTokenFv /* 8021BF80 00218EE0 80 63 00 04 */ lwz r3, 4(r3) /* 8021BF84 00218EE4 80 03 00 04 */ lwz r0, 4(r3) /* 8021BF88 00218EE8 28 00 00 00 */ cmplwi r0, 0 /* 8021BF8C 00218EEC 41 82 00 5C */ beq lbl_8021BFE8 /* 8021BF90 00218EF0 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021BF94 00218EF4 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 8021BF98 00218EF8 38 61 00 08 */ addi r3, r1, 8 /* 8021BF9C 00218EFC C0 24 00 04 */ lfs f1, 4(r4) /* 8021BFA0 00218F00 C0 04 00 08 */ lfs f0, 8(r4) /* 8021BFA4 00218F04 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8021BFA8 00218F08 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8021BFAC 00218F0C D0 01 00 18 */ stfs f0, 0x18(r1) /* 8021BFB0 00218F10 48 12 4E 5D */ bl GetObj__6CTokenFv /* 8021BFB4 00218F14 80 63 00 04 */ lwz r3, 4(r3) /* 8021BFB8 00218F18 38 A1 00 10 */ addi r5, r1, 0x10 /* 8021BFBC 00218F1C 38 80 00 00 */ li r4, 0 /* 8021BFC0 00218F20 80 63 00 04 */ lwz r3, 4(r3) /* 8021BFC4 00218F24 81 83 00 00 */ lwz r12, 0(r3) /* 8021BFC8 00218F28 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021BFCC 00218F2C 7D 89 03 A6 */ mtctr r12 /* 8021BFD0 00218F30 4E 80 04 21 */ bctrl /* 8021BFD4 00218F34 48 09 51 69 */ bl GetTickPeriod__17CProjectileWeaponFv /* 8021BFD8 00218F38 FF E0 08 90 */ fmr f31, f1 /* 8021BFDC 00218F3C 38 61 00 10 */ addi r3, r1, 0x10 /* 8021BFE0 00218F40 48 0F 88 D9 */ bl Magnitude__9CVector3fCFv /* 8021BFE4 00218F44 EF E1 F8 24 */ fdivs f31, f1, f31 lbl_8021BFE8: /* 8021BFE8 00218F48 38 61 00 08 */ addi r3, r1, 8 /* 8021BFEC 00218F4C 38 80 00 00 */ li r4, 0 /* 8021BFF0 00218F50 48 12 4E 51 */ bl __dt__6CTokenFv /* 8021BFF4 00218F54 FC 20 F8 90 */ fmr f1, f31 /* 8021BFF8 00218F58 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8021BFFC 00218F5C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021C000 00218F60 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8021C004 00218F64 7C 08 03 A6 */ mtlr r0 /* 8021C008 00218F68 38 21 00 30 */ addi r1, r1, 0x30 /* 8021C00C 00218F6C 4E 80 00 20 */ blr .global sub_8021c010 sub_8021c010: /* 8021C010 00218F70 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021C014 00218F74 7C 08 02 A6 */ mflr r0 /* 8021C018 00218F78 90 01 00 24 */ stw r0, 0x24(r1) /* 8021C01C 00218F7C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021C020 00218F80 7C 9F 23 78 */ mr r31, r4 /* 8021C024 00218F84 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021C028 00218F88 7C 7E 1B 78 */ mr r30, r3 /* 8021C02C 00218F8C 7F E3 FB 78 */ mr r3, r31 /* 8021C030 00218F90 48 12 2C 55 */ bl ReadLong__12CInputStreamFv /* 8021C034 00218F94 3C 80 57 50 */ lis r4, 0x57505343@ha /* 8021C038 00218F98 90 61 00 14 */ stw r3, 0x14(r1) /* 8021C03C 00218F9C 38 04 53 43 */ addi r0, r4, 0x57505343@l /* 8021C040 00218FA0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021C044 00218FA4 90 01 00 10 */ stw r0, 0x10(r1) /* 8021C048 00218FA8 38 61 00 08 */ addi r3, r1, 8 /* 8021C04C 00218FAC 38 A1 00 10 */ addi r5, r1, 0x10 /* 8021C050 00218FB0 81 84 00 00 */ lwz r12, 0(r4) /* 8021C054 00218FB4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021C058 00218FB8 7D 89 03 A6 */ mtctr r12 /* 8021C05C 00218FBC 4E 80 04 21 */ bctrl /* 8021C060 00218FC0 7F C3 F3 78 */ mr r3, r30 /* 8021C064 00218FC4 38 81 00 08 */ addi r4, r1, 8 /* 8021C068 00218FC8 48 12 4E 41 */ bl __ct__6CTokenFRC6CToken /* 8021C06C 00218FCC 38 00 00 00 */ li r0, 0 /* 8021C070 00218FD0 38 61 00 08 */ addi r3, r1, 8 /* 8021C074 00218FD4 90 1E 00 08 */ stw r0, 8(r30) /* 8021C078 00218FD8 38 80 FF FF */ li r4, -1 /* 8021C07C 00218FDC 48 12 4D C5 */ bl __dt__6CTokenFv /* 8021C080 00218FE0 7F E4 FB 78 */ mr r4, r31 /* 8021C084 00218FE4 38 7E 00 0C */ addi r3, r30, 0xc /* 8021C088 00218FE8 4B EA 74 D9 */ bl __ct__11CDamageInfoFR12CInputStream /* 8021C08C 00218FEC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021C090 00218FF0 7F C3 F3 78 */ mr r3, r30 /* 8021C094 00218FF4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021C098 00218FF8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021C09C 00218FFC 7C 08 03 A6 */ mtlr r0 /* 8021C0A0 00219000 38 21 00 20 */ addi r1, r1, 0x20 /* 8021C0A4 00219004 4E 80 00 20 */ blr .global __ct__15CProjectileInfoFUiRC11CDamageInfo __ct__15CProjectileInfoFUiRC11CDamageInfo: /* 8021C0A8 00219008 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021C0AC 0021900C 7C 08 02 A6 */ mflr r0 /* 8021C0B0 00219010 3C C0 57 50 */ lis r6, 0x57505343@ha /* 8021C0B4 00219014 90 01 00 24 */ stw r0, 0x24(r1) /* 8021C0B8 00219018 38 06 53 43 */ addi r0, r6, 0x57505343@l /* 8021C0BC 0021901C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021C0C0 00219020 7C BF 2B 78 */ mr r31, r5 /* 8021C0C4 00219024 38 A1 00 10 */ addi r5, r1, 0x10 /* 8021C0C8 00219028 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021C0CC 0021902C 7C 7E 1B 78 */ mr r30, r3 /* 8021C0D0 00219030 38 61 00 08 */ addi r3, r1, 8 /* 8021C0D4 00219034 90 81 00 14 */ stw r4, 0x14(r1) /* 8021C0D8 00219038 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8021C0DC 0021903C 90 01 00 10 */ stw r0, 0x10(r1) /* 8021C0E0 00219040 81 84 00 00 */ lwz r12, 0(r4) /* 8021C0E4 00219044 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8021C0E8 00219048 7D 89 03 A6 */ mtctr r12 /* 8021C0EC 0021904C 4E 80 04 21 */ bctrl /* 8021C0F0 00219050 7F C3 F3 78 */ mr r3, r30 /* 8021C0F4 00219054 38 81 00 08 */ addi r4, r1, 8 /* 8021C0F8 00219058 48 12 4D B1 */ bl __ct__6CTokenFRC6CToken /* 8021C0FC 0021905C 38 00 00 00 */ li r0, 0 /* 8021C100 00219060 38 61 00 08 */ addi r3, r1, 8 /* 8021C104 00219064 90 1E 00 08 */ stw r0, 8(r30) /* 8021C108 00219068 38 80 FF FF */ li r4, -1 /* 8021C10C 0021906C 48 12 4D 35 */ bl __dt__6CTokenFv /* 8021C110 00219070 80 1F 00 00 */ lwz r0, 0(r31) /* 8021C114 00219074 7F C3 F3 78 */ mr r3, r30 /* 8021C118 00219078 90 1E 00 0C */ stw r0, 0xc(r30) /* 8021C11C 0021907C 88 1F 00 04 */ lbz r0, 4(r31) /* 8021C120 00219080 98 1E 00 10 */ stb r0, 0x10(r30) /* 8021C124 00219084 C0 1F 00 08 */ lfs f0, 8(r31) /* 8021C128 00219088 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 8021C12C 0021908C C0 1F 00 0C */ lfs f0, 0xc(r31) /* 8021C130 00219090 D0 1E 00 18 */ stfs f0, 0x18(r30) /* 8021C134 00219094 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 8021C138 00219098 D0 1E 00 1C */ stfs f0, 0x1c(r30) /* 8021C13C 0021909C C0 1F 00 14 */ lfs f0, 0x14(r31) /* 8021C140 002190A0 D0 1E 00 20 */ stfs f0, 0x20(r30) /* 8021C144 002190A4 88 1F 00 18 */ lbz r0, 0x18(r31) /* 8021C148 002190A8 98 1E 00 24 */ stb r0, 0x24(r30) /* 8021C14C 002190AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021C150 002190B0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021C154 002190B4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021C158 002190B8 7C 08 03 A6 */ mtlr r0 /* 8021C15C 002190BC 38 21 00 20 */ addi r1, r1, 0x20 /* 8021C160 002190C0 4E 80 00 20 */ blr .global sub_8021c164 sub_8021c164: /* 8021C164 002190C4 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8021C168 002190C8 7C 08 02 A6 */ mflr r0 /* 8021C16C 002190CC 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8021C170 002190D0 BE E1 00 CC */ stmw r23, 0xcc(r1) /* 8021C174 002190D4 7C 79 1B 78 */ mr r25, r3 /* 8021C178 002190D8 38 61 00 90 */ addi r3, r1, 0x90 /* 8021C17C 002190DC 48 00 04 A9 */ bl sub_8021c624 /* 8021C180 002190E0 80 01 00 94 */ lwz r0, 0x94(r1) /* 8021C184 002190E4 80 61 00 98 */ lwz r3, 0x98(r1) /* 8021C188 002190E8 2C 00 00 00 */ cmpwi r0, 0 /* 8021C18C 002190EC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8021C190 002190F0 90 61 00 B8 */ stw r3, 0xb8(r1) /* 8021C194 002190F4 40 82 00 18 */ bne lbl_8021C1AC /* 8021C198 002190F8 2C 03 00 00 */ cmpwi r3, 0 /* 8021C19C 002190FC 40 82 00 10 */ bne lbl_8021C1AC /* 8021C1A0 00219100 38 00 00 00 */ li r0, 0 /* 8021C1A4 00219104 90 01 00 BC */ stw r0, 0xbc(r1) /* 8021C1A8 00219108 48 00 00 BC */ b lbl_8021C264 lbl_8021C1AC: /* 8021C1AC 0021910C 80 01 00 B8 */ lwz r0, 0xb8(r1) /* 8021C1B0 00219110 1C 60 00 48 */ mulli r3, r0, 0x48 /* 8021C1B4 00219114 2C 03 00 00 */ cmpwi r3, 0 /* 8021C1B8 00219118 40 82 00 10 */ bne lbl_8021C1C8 /* 8021C1BC 0021911C 38 00 00 00 */ li r0, 0 /* 8021C1C0 00219120 90 01 00 BC */ stw r0, 0xbc(r1) /* 8021C1C4 00219124 48 00 00 1C */ b lbl_8021C1E0 lbl_8021C1C8: /* 8021C1C8 00219128 3C 80 80 3D */ lis r4, lbl_803D3038@ha /* 8021C1CC 0021912C 38 A0 00 00 */ li r5, 0 /* 8021C1D0 00219130 38 84 30 38 */ addi r4, r4, lbl_803D3038@l /* 8021C1D4 00219134 38 84 00 1B */ addi r4, r4, 0x1b /* 8021C1D8 00219138 48 0F 96 41 */ bl __nwa__FUlPCcPCc /* 8021C1DC 0021913C 90 61 00 BC */ stw r3, 0xbc(r1) lbl_8021C1E0: /* 8021C1E0 00219140 83 61 00 B4 */ lwz r27, 0xb4(r1) /* 8021C1E4 00219144 3A E0 00 00 */ li r23, 0 /* 8021C1E8 00219148 83 41 00 9C */ lwz r26, 0x9c(r1) /* 8021C1EC 0021914C 83 01 00 BC */ lwz r24, 0xbc(r1) /* 8021C1F0 00219150 48 00 00 6C */ b lbl_8021C25C lbl_8021C1F4: /* 8021C1F4 00219154 28 18 00 00 */ cmplwi r24, 0 /* 8021C1F8 00219158 41 82 00 58 */ beq lbl_8021C250 /* 8021C1FC 0021915C 80 1A 00 00 */ lwz r0, 0(r26) /* 8021C200 00219160 38 78 00 04 */ addi r3, r24, 4 /* 8021C204 00219164 38 9A 00 04 */ addi r4, r26, 4 /* 8021C208 00219168 90 18 00 00 */ stw r0, 0(r24) /* 8021C20C 0021916C 48 12 1F 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C210 00219170 38 78 00 14 */ addi r3, r24, 0x14 /* 8021C214 00219174 38 9A 00 14 */ addi r4, r26, 0x14 /* 8021C218 00219178 48 12 1F 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C21C 0021917C C0 1A 00 24 */ lfs f0, 0x24(r26) /* 8021C220 00219180 38 78 00 30 */ addi r3, r24, 0x30 /* 8021C224 00219184 38 9A 00 30 */ addi r4, r26, 0x30 /* 8021C228 00219188 D0 18 00 24 */ stfs f0, 0x24(r24) /* 8021C22C 0021918C C0 1A 00 28 */ lfs f0, 0x28(r26) /* 8021C230 00219190 D0 18 00 28 */ stfs f0, 0x28(r24) /* 8021C234 00219194 C0 1A 00 2C */ lfs f0, 0x2c(r26) /* 8021C238 00219198 D0 18 00 2C */ stfs f0, 0x2c(r24) /* 8021C23C 0021919C 48 12 1F 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C240 002191A0 80 1A 00 40 */ lwz r0, 0x40(r26) /* 8021C244 002191A4 90 18 00 40 */ stw r0, 0x40(r24) /* 8021C248 002191A8 80 1A 00 44 */ lwz r0, 0x44(r26) /* 8021C24C 002191AC 90 18 00 44 */ stw r0, 0x44(r24) lbl_8021C250: /* 8021C250 002191B0 3B 18 00 48 */ addi r24, r24, 0x48 /* 8021C254 002191B4 3A F7 00 01 */ addi r23, r23, 1 /* 8021C258 002191B8 3B 5A 00 48 */ addi r26, r26, 0x48 lbl_8021C25C: /* 8021C25C 002191BC 7C 17 D8 00 */ cmpw r23, r27 /* 8021C260 002191C0 41 80 FF 94 */ blt lbl_8021C1F4 lbl_8021C264: /* 8021C264 002191C4 80 01 00 94 */ lwz r0, 0x94(r1) /* 8021C268 002191C8 82 E1 00 9C */ lwz r23, 0x9c(r1) /* 8021C26C 002191CC 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021C270 002191D0 92 E1 00 2C */ stw r23, 0x2c(r1) /* 8021C274 002191D4 7F 17 02 14 */ add r24, r23, r0 /* 8021C278 002191D8 92 E1 00 28 */ stw r23, 0x28(r1) /* 8021C27C 002191DC 93 01 00 34 */ stw r24, 0x34(r1) /* 8021C280 002191E0 93 01 00 30 */ stw r24, 0x30(r1) /* 8021C284 002191E4 48 00 00 44 */ b lbl_8021C2C8 lbl_8021C288: /* 8021C288 002191E8 28 17 00 00 */ cmplwi r23, 0 /* 8021C28C 002191EC 41 82 00 38 */ beq lbl_8021C2C4 /* 8021C290 002191F0 34 17 00 24 */ addic. r0, r23, 0x24 /* 8021C294 002191F4 41 82 00 10 */ beq lbl_8021C2A4 /* 8021C298 002191F8 34 77 00 30 */ addic. r3, r23, 0x30 /* 8021C29C 002191FC 41 82 00 08 */ beq lbl_8021C2A4 /* 8021C2A0 00219200 48 12 18 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C2A4: /* 8021C2A4 00219204 34 17 00 14 */ addic. r0, r23, 0x14 /* 8021C2A8 00219208 41 82 00 0C */ beq lbl_8021C2B4 /* 8021C2AC 0021920C 38 77 00 14 */ addi r3, r23, 0x14 /* 8021C2B0 00219210 48 12 18 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C2B4: /* 8021C2B4 00219214 34 17 00 04 */ addic. r0, r23, 4 /* 8021C2B8 00219218 41 82 00 0C */ beq lbl_8021C2C4 /* 8021C2BC 0021921C 38 77 00 04 */ addi r3, r23, 4 /* 8021C2C0 00219220 48 12 18 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C2C4: /* 8021C2C4 00219224 3A F7 00 48 */ addi r23, r23, 0x48 lbl_8021C2C8: /* 8021C2C8 00219228 7C 17 C0 40 */ cmplw r23, r24 /* 8021C2CC 0021922C 40 82 FF BC */ bne lbl_8021C288 /* 8021C2D0 00219230 80 61 00 9C */ lwz r3, 0x9c(r1) /* 8021C2D4 00219234 28 03 00 00 */ cmplwi r3, 0 /* 8021C2D8 00219238 41 82 00 08 */ beq lbl_8021C2E0 /* 8021C2DC 0021923C 48 0F 96 55 */ bl Free__7CMemoryFPCv lbl_8021C2E0: /* 8021C2E0 00219240 38 00 00 00 */ li r0, 0 /* 8021C2E4 00219244 80 81 00 B4 */ lwz r4, 0xb4(r1) /* 8021C2E8 00219248 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8021C2EC 0021924C 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8021C2F0 00219250 90 01 00 A8 */ stw r0, 0xa8(r1) /* 8021C2F4 00219254 90 01 00 AC */ stw r0, 0xac(r1) /* 8021C2F8 00219258 4B E4 78 2D */ bl "reserve__Q24rstl37vectorFi" /* 8021C2FC 0021925C 3B E1 00 80 */ addi r31, r1, 0x80 /* 8021C300 00219260 3C 60 80 3D */ lis r3, lbl_803D3038@ha /* 8021C304 00219264 93 E1 00 68 */ stw r31, 0x68(r1) /* 8021C308 00219268 3B C3 30 38 */ addi r30, r3, lbl_803D3038@l /* 8021C30C 0021926C 83 A1 00 BC */ lwz r29, 0xbc(r1) /* 8021C310 00219270 3B 40 00 00 */ li r26, 0 /* 8021C314 00219274 93 E1 00 78 */ stw r31, 0x78(r1) /* 8021C318 00219278 3B 60 00 00 */ li r27, 0 /* 8021C31C 0021927C 83 01 00 B4 */ lwz r24, 0xb4(r1) /* 8021C320 00219280 93 E1 00 60 */ stw r31, 0x60(r1) /* 8021C324 00219284 93 E1 00 70 */ stw r31, 0x70(r1) /* 8021C328 00219288 48 00 01 8C */ b lbl_8021C4B4 lbl_8021C32C: /* 8021C32C 0021928C 7F 9D DA 14 */ add r28, r29, r27 /* 8021C330 00219290 38 61 00 80 */ addi r3, r1, 0x80 /* 8021C334 00219294 38 9E 00 22 */ addi r4, r30, 0x22 /* 8021C338 00219298 4B DE 89 81 */ bl string_l__4rstlFPCc /* 8021C33C 0021929C 80 1C 00 0C */ lwz r0, 0xc(r28) /* 8021C340 002192A0 38 FC 00 04 */ addi r7, r28, 4 /* 8021C344 002192A4 38 60 00 00 */ li r3, 0 /* 8021C348 002192A8 80 C1 00 88 */ lwz r6, 0x88(r1) /* 8021C34C 002192AC 6C 05 80 00 */ xoris r5, r0, 0x8000 /* 8021C350 002192B0 7C 80 00 D0 */ neg r4, r0 /* 8021C354 002192B4 7C 84 28 14 */ addc r4, r4, r5 /* 8021C358 002192B8 90 E1 00 48 */ stw r7, 0x48(r1) /* 8021C35C 002192BC 7C 84 21 10 */ subfe r4, r4, r4 /* 8021C360 002192C0 7C 08 20 38 */ and r8, r0, r4 /* 8021C364 002192C4 90 61 00 4C */ stw r3, 0x4c(r1) /* 8021C368 002192C8 7D 09 43 78 */ mr r9, r8 /* 8021C36C 002192CC 90 E1 00 40 */ stw r7, 0x40(r1) /* 8021C370 002192D0 91 01 00 44 */ stw r8, 0x44(r1) /* 8021C374 002192D4 90 E1 00 38 */ stw r7, 0x38(r1) /* 8021C378 002192D8 91 01 00 3C */ stw r8, 0x3c(r1) /* 8021C37C 002192DC 90 E1 00 58 */ stw r7, 0x58(r1) /* 8021C380 002192E0 90 01 00 5C */ stw r0, 0x5c(r1) /* 8021C384 002192E4 90 E1 00 50 */ stw r7, 0x50(r1) /* 8021C388 002192E8 90 01 00 54 */ stw r0, 0x54(r1) /* 8021C38C 002192EC 90 61 00 6C */ stw r3, 0x6c(r1) /* 8021C390 002192F0 90 61 00 64 */ stw r3, 0x64(r1) /* 8021C394 002192F4 90 C1 00 7C */ stw r6, 0x7c(r1) /* 8021C398 002192F8 90 C1 00 74 */ stw r6, 0x74(r1) /* 8021C39C 002192FC 48 00 00 5C */ b lbl_8021C3F8 lbl_8021C3A0: /* 8021C3A0 00219300 39 40 00 00 */ li r10, 0 /* 8021C3A4 00219304 48 00 00 2C */ b lbl_8021C3D0 lbl_8021C3A8: /* 8021C3A8 00219308 80 A7 00 00 */ lwz r5, 0(r7) /* 8021C3AC 0021930C 80 9F 00 00 */ lwz r4, 0(r31) /* 8021C3B0 00219310 7C A5 48 AE */ lbzx r5, r5, r9 /* 8021C3B4 00219314 7C 84 50 AE */ lbzx r4, r4, r10 /* 8021C3B8 00219318 7C A5 07 74 */ extsb r5, r5 /* 8021C3BC 0021931C 7C 84 07 74 */ extsb r4, r4 /* 8021C3C0 00219320 7C 05 20 00 */ cmpw r5, r4 /* 8021C3C4 00219324 40 82 00 08 */ bne lbl_8021C3CC /* 8021C3C8 00219328 48 00 00 54 */ b lbl_8021C41C lbl_8021C3CC: /* 8021C3CC 0021932C 39 4A 00 01 */ addi r10, r10, 1 lbl_8021C3D0: /* 8021C3D0 00219330 7C 1F F8 40 */ cmplw r31, r31 /* 8021C3D4 00219334 38 80 00 00 */ li r4, 0 /* 8021C3D8 00219338 40 82 00 0C */ bne lbl_8021C3E4 /* 8021C3DC 0021933C 7C 0A 30 00 */ cmpw r10, r6 /* 8021C3E0 00219340 41 82 00 08 */ beq lbl_8021C3E8 lbl_8021C3E4: /* 8021C3E4 00219344 38 80 00 01 */ li r4, 1 lbl_8021C3E8: /* 8021C3E8 00219348 54 84 06 3F */ clrlwi. r4, r4, 0x18 /* 8021C3EC 0021934C 40 82 FF BC */ bne lbl_8021C3A8 /* 8021C3F0 00219350 39 29 00 01 */ addi r9, r9, 1 /* 8021C3F4 00219354 38 63 00 01 */ addi r3, r3, 1 lbl_8021C3F8: /* 8021C3F8 00219358 7C 07 38 40 */ cmplw r7, r7 /* 8021C3FC 0021935C 38 80 00 00 */ li r4, 0 /* 8021C400 00219360 40 82 00 0C */ bne lbl_8021C40C /* 8021C404 00219364 7C 09 00 00 */ cmpw r9, r0 /* 8021C408 00219368 41 82 00 08 */ beq lbl_8021C410 lbl_8021C40C: /* 8021C40C 0021936C 38 80 00 01 */ li r4, 1 lbl_8021C410: /* 8021C410 00219370 54 84 06 3F */ clrlwi. r4, r4, 0x18 /* 8021C414 00219374 40 82 FF 8C */ bne lbl_8021C3A0 /* 8021C418 00219378 38 60 FF FF */ li r3, -1 lbl_8021C41C: /* 8021C41C 0021937C 2C 03 FF FF */ cmpwi r3, -1 /* 8021C420 00219380 7C 83 42 14 */ add r4, r3, r8 /* 8021C424 00219384 40 82 00 08 */ bne lbl_8021C42C /* 8021C428 00219388 7C 64 1B 78 */ mr r4, r3 lbl_8021C42C: /* 8021C42C 0021938C 20 64 FF FF */ subfic r3, r4, -1 /* 8021C430 00219390 38 04 00 01 */ addi r0, r4, 1 /* 8021C434 00219394 7C 60 03 78 */ or r0, r3, r0 /* 8021C438 00219398 38 61 00 80 */ addi r3, r1, 0x80 /* 8021C43C 0021939C 54 17 0F FE */ srwi r23, r0, 0x1f /* 8021C440 002193A0 48 12 16 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021C444 002193A4 28 17 00 00 */ cmplwi r23, 0 /* 8021C448 002193A8 41 82 00 64 */ beq lbl_8021C4AC /* 8021C44C 002193AC 80 7C 00 40 */ lwz r3, 0x40(r28) /* 8021C450 002193B0 3C 03 00 01 */ addis r0, r3, 1 /* 8021C454 002193B4 28 00 FF FF */ cmplwi r0, 0xffff /* 8021C458 002193B8 41 82 00 54 */ beq lbl_8021C4AC /* 8021C45C 002193BC 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021C460 002193C0 80 A1 00 A8 */ lwz r5, 0xa8(r1) /* 8021C464 002193C4 7C 00 28 00 */ cmpw r0, r5 /* 8021C468 002193C8 41 80 00 1C */ blt lbl_8021C484 /* 8021C46C 002193CC 2C 05 00 00 */ cmpwi r5, 0 /* 8021C470 002193D0 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8021C474 002193D4 38 80 00 04 */ li r4, 4 /* 8021C478 002193D8 41 82 00 08 */ beq lbl_8021C480 /* 8021C47C 002193DC 54 A4 08 3C */ slwi r4, r5, 1 lbl_8021C480: /* 8021C480 002193E0 4B E4 76 A5 */ bl "reserve__Q24rstl37vectorFi" lbl_8021C484: /* 8021C484 002193E4 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021C488 002193E8 80 61 00 AC */ lwz r3, 0xac(r1) /* 8021C48C 002193EC 54 00 10 3A */ slwi r0, r0, 2 /* 8021C490 002193F0 7C 63 02 15 */ add. r3, r3, r0 /* 8021C494 002193F4 41 82 00 0C */ beq lbl_8021C4A0 /* 8021C498 002193F8 80 1C 00 40 */ lwz r0, 0x40(r28) /* 8021C49C 002193FC 90 03 00 00 */ stw r0, 0(r3) lbl_8021C4A0: /* 8021C4A0 00219400 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 8021C4A4 00219404 38 03 00 01 */ addi r0, r3, 1 /* 8021C4A8 00219408 90 01 00 A4 */ stw r0, 0xa4(r1) lbl_8021C4AC: /* 8021C4AC 0021940C 3B 7B 00 48 */ addi r27, r27, 0x48 /* 8021C4B0 00219410 3B 5A 00 01 */ addi r26, r26, 1 lbl_8021C4B4: /* 8021C4B4 00219414 7C 1A C0 00 */ cmpw r26, r24 /* 8021C4B8 00219418 41 80 FE 74 */ blt lbl_8021C32C /* 8021C4BC 0021941C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021C4C0 00219420 90 19 00 04 */ stw r0, 4(r25) /* 8021C4C4 00219424 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 8021C4C8 00219428 90 19 00 08 */ stw r0, 8(r25) /* 8021C4CC 0021942C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021C4D0 00219430 2C 00 00 00 */ cmpwi r0, 0 /* 8021C4D4 00219434 40 82 00 1C */ bne lbl_8021C4F0 /* 8021C4D8 00219438 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 8021C4DC 0021943C 2C 00 00 00 */ cmpwi r0, 0 /* 8021C4E0 00219440 40 82 00 10 */ bne lbl_8021C4F0 /* 8021C4E4 00219444 38 00 00 00 */ li r0, 0 /* 8021C4E8 00219448 90 19 00 0C */ stw r0, 0xc(r25) /* 8021C4EC 0021944C 48 00 00 68 */ b lbl_8021C554 lbl_8021C4F0: /* 8021C4F0 00219450 80 19 00 08 */ lwz r0, 8(r25) /* 8021C4F4 00219454 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 8021C4F8 00219458 40 82 00 10 */ bne lbl_8021C508 /* 8021C4FC 0021945C 38 00 00 00 */ li r0, 0 /* 8021C500 00219460 90 19 00 0C */ stw r0, 0xc(r25) /* 8021C504 00219464 48 00 00 1C */ b lbl_8021C520 lbl_8021C508: /* 8021C508 00219468 3C 80 80 3D */ lis r4, lbl_803D3038@ha /* 8021C50C 0021946C 38 A0 00 00 */ li r5, 0 /* 8021C510 00219470 38 84 30 38 */ addi r4, r4, lbl_803D3038@l /* 8021C514 00219474 38 84 00 1B */ addi r4, r4, 0x1b /* 8021C518 00219478 48 0F 93 01 */ bl __nwa__FUlPCcPCc /* 8021C51C 0021947C 90 79 00 0C */ stw r3, 0xc(r25) lbl_8021C520: /* 8021C520 00219480 80 19 00 04 */ lwz r0, 4(r25) /* 8021C524 00219484 80 81 00 AC */ lwz r4, 0xac(r1) /* 8021C528 00219488 80 79 00 0C */ lwz r3, 0xc(r25) /* 8021C52C 0021948C 7C 09 03 A6 */ mtctr r0 /* 8021C530 00219490 2C 00 00 00 */ cmpwi r0, 0 /* 8021C534 00219494 40 81 00 20 */ ble lbl_8021C554 lbl_8021C538: /* 8021C538 00219498 28 03 00 00 */ cmplwi r3, 0 /* 8021C53C 0021949C 41 82 00 0C */ beq lbl_8021C548 /* 8021C540 002194A0 80 04 00 00 */ lwz r0, 0(r4) /* 8021C544 002194A4 90 03 00 00 */ stw r0, 0(r3) lbl_8021C548: /* 8021C548 002194A8 38 63 00 04 */ addi r3, r3, 4 /* 8021C54C 002194AC 38 84 00 04 */ addi r4, r4, 4 /* 8021C550 002194B0 42 00 FF E8 */ bdnz lbl_8021C538 lbl_8021C554: /* 8021C554 002194B4 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021C558 002194B8 80 61 00 AC */ lwz r3, 0xac(r1) /* 8021C55C 002194BC 54 00 10 3A */ slwi r0, r0, 2 /* 8021C560 002194C0 7C 03 02 14 */ add r0, r3, r0 /* 8021C564 002194C4 90 61 00 1C */ stw r3, 0x1c(r1) /* 8021C568 002194C8 7C 64 1B 78 */ mr r4, r3 /* 8021C56C 002194CC 90 01 00 24 */ stw r0, 0x24(r1) /* 8021C570 002194D0 90 01 00 20 */ stw r0, 0x20(r1) /* 8021C574 002194D4 90 61 00 18 */ stw r3, 0x18(r1) /* 8021C578 002194D8 48 00 00 08 */ b lbl_8021C580 lbl_8021C57C: /* 8021C57C 002194DC 38 84 00 04 */ addi r4, r4, 4 lbl_8021C580: /* 8021C580 002194E0 7C 04 00 40 */ cmplw r4, r0 /* 8021C584 002194E4 40 82 FF F8 */ bne lbl_8021C57C /* 8021C588 002194E8 28 03 00 00 */ cmplwi r3, 0 /* 8021C58C 002194EC 41 82 00 08 */ beq lbl_8021C594 /* 8021C590 002194F0 48 0F 93 A1 */ bl Free__7CMemoryFPCv lbl_8021C594: /* 8021C594 002194F4 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8021C598 002194F8 82 E1 00 BC */ lwz r23, 0xbc(r1) /* 8021C59C 002194FC 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021C5A0 00219500 92 E1 00 0C */ stw r23, 0xc(r1) /* 8021C5A4 00219504 7F 37 02 14 */ add r25, r23, r0 /* 8021C5A8 00219508 92 E1 00 08 */ stw r23, 8(r1) /* 8021C5AC 0021950C 93 21 00 14 */ stw r25, 0x14(r1) /* 8021C5B0 00219510 93 21 00 10 */ stw r25, 0x10(r1) /* 8021C5B4 00219514 48 00 00 44 */ b lbl_8021C5F8 lbl_8021C5B8: /* 8021C5B8 00219518 28 17 00 00 */ cmplwi r23, 0 /* 8021C5BC 0021951C 41 82 00 38 */ beq lbl_8021C5F4 /* 8021C5C0 00219520 34 17 00 24 */ addic. r0, r23, 0x24 /* 8021C5C4 00219524 41 82 00 10 */ beq lbl_8021C5D4 /* 8021C5C8 00219528 34 77 00 30 */ addic. r3, r23, 0x30 /* 8021C5CC 0021952C 41 82 00 08 */ beq lbl_8021C5D4 /* 8021C5D0 00219530 48 12 15 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C5D4: /* 8021C5D4 00219534 34 17 00 14 */ addic. r0, r23, 0x14 /* 8021C5D8 00219538 41 82 00 0C */ beq lbl_8021C5E4 /* 8021C5DC 0021953C 38 77 00 14 */ addi r3, r23, 0x14 /* 8021C5E0 00219540 48 12 15 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C5E4: /* 8021C5E4 00219544 34 17 00 04 */ addic. r0, r23, 4 /* 8021C5E8 00219548 41 82 00 0C */ beq lbl_8021C5F4 /* 8021C5EC 0021954C 38 77 00 04 */ addi r3, r23, 4 /* 8021C5F0 00219550 48 12 14 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C5F4: /* 8021C5F4 00219554 3A F7 00 48 */ addi r23, r23, 0x48 lbl_8021C5F8: /* 8021C5F8 00219558 7C 17 C8 40 */ cmplw r23, r25 /* 8021C5FC 0021955C 40 82 FF BC */ bne lbl_8021C5B8 /* 8021C600 00219560 80 61 00 BC */ lwz r3, 0xbc(r1) /* 8021C604 00219564 28 03 00 00 */ cmplwi r3, 0 /* 8021C608 00219568 41 82 00 08 */ beq lbl_8021C610 /* 8021C60C 0021956C 48 0F 93 25 */ bl Free__7CMemoryFPCv lbl_8021C610: /* 8021C610 00219570 BA E1 00 CC */ lmw r23, 0xcc(r1) /* 8021C614 00219574 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8021C618 00219578 7C 08 03 A6 */ mtlr r0 /* 8021C61C 0021957C 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8021C620 00219580 4E 80 00 20 */ blr .global sub_8021c624 sub_8021c624: /* 8021C624 00219584 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8021C628 00219588 7C 08 02 A6 */ mflr r0 /* 8021C62C 0021958C 90 01 00 74 */ stw r0, 0x74(r1) /* 8021C630 00219590 38 00 00 00 */ li r0, 0 /* 8021C634 00219594 BF 41 00 58 */ stmw r26, 0x58(r1) /* 8021C638 00219598 7C 7B 1B 78 */ mr r27, r3 /* 8021C63C 0021959C 7C 9C 23 78 */ mr r28, r4 /* 8021C640 002195A0 7C BA 2B 78 */ mr r26, r5 /* 8021C644 002195A4 38 61 00 40 */ addi r3, r1, 0x40 /* 8021C648 002195A8 38 80 00 08 */ li r4, 8 /* 8021C64C 002195AC 90 01 00 44 */ stw r0, 0x44(r1) /* 8021C650 002195B0 90 01 00 48 */ stw r0, 0x48(r1) /* 8021C654 002195B4 90 01 00 4C */ stw r0, 0x4c(r1) /* 8021C658 002195B8 48 00 0C 79 */ bl sub_8021d2d0 /* 8021C65C 002195BC 3C 60 80 3D */ lis r3, lbl_803D3038@ha /* 8021C660 002195C0 7F 44 D3 78 */ mr r4, r26 /* 8021C664 002195C4 38 63 30 38 */ addi r3, r3, lbl_803D3038@l /* 8021C668 002195C8 38 63 00 2D */ addi r3, r3, 0x2d /* 8021C66C 002195CC 4C C6 31 82 */ crclr 6 /* 8021C670 002195D0 48 0B 9B 41 */ bl Stringize__7CBasicsFPCce /* 8021C674 002195D4 7C 64 1B 78 */ mr r4, r3 /* 8021C678 002195D8 38 61 00 30 */ addi r3, r1, 0x30 /* 8021C67C 002195DC 38 C1 00 0C */ addi r6, r1, 0xc /* 8021C680 002195E0 38 A0 FF FF */ li r5, -1 /* 8021C684 002195E4 48 12 07 0D */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021C688 002195E8 3B A0 00 00 */ li r29, 0 /* 8021C68C 002195EC 3B C0 00 00 */ li r30, 0 /* 8021C690 002195F0 48 00 01 04 */ b lbl_8021C794 lbl_8021C694: /* 8021C694 002195F4 80 1C 00 0C */ lwz r0, 0xc(r28) /* 8021C698 002195F8 38 61 00 20 */ addi r3, r1, 0x20 /* 8021C69C 002195FC 38 C1 00 08 */ addi r6, r1, 8 /* 8021C6A0 00219600 38 A0 FF FF */ li r5, -1 /* 8021C6A4 00219604 7F E0 F2 14 */ add r31, r0, r30 /* 8021C6A8 00219608 80 9F 00 04 */ lwz r4, 4(r31) /* 8021C6AC 0021960C 48 12 06 E5 */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021C6B0 00219610 38 61 00 20 */ addi r3, r1, 0x20 /* 8021C6B4 00219614 38 81 00 30 */ addi r4, r1, 0x30 /* 8021C6B8 00219618 38 A0 00 00 */ li r5, 0 /* 8021C6BC 0021961C 48 00 02 69 */ bl sub_8021c924 /* 8021C6C0 00219620 20 83 FF FF */ subfic r4, r3, -1 /* 8021C6C4 00219624 38 03 00 01 */ addi r0, r3, 1 /* 8021C6C8 00219628 7C 80 03 78 */ or r0, r4, r0 /* 8021C6CC 0021962C 38 61 00 20 */ addi r3, r1, 0x20 /* 8021C6D0 00219630 54 1A 0F FE */ srwi r26, r0, 0x1f /* 8021C6D4 00219634 48 12 05 F9 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021C6D8 00219638 28 1A 00 00 */ cmplwi r26, 0 /* 8021C6DC 0021963C 41 82 00 B0 */ beq lbl_8021C78C /* 8021C6E0 00219640 80 81 00 44 */ lwz r4, 0x44(r1) /* 8021C6E4 00219644 38 61 00 40 */ addi r3, r1, 0x40 /* 8021C6E8 00219648 38 84 00 01 */ addi r4, r4, 1 /* 8021C6EC 0021964C 48 00 0B E5 */ bl sub_8021d2d0 /* 8021C6F0 00219650 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021C6F4 00219654 80 A1 00 48 */ lwz r5, 0x48(r1) /* 8021C6F8 00219658 7C 00 28 00 */ cmpw r0, r5 /* 8021C6FC 0021965C 41 80 00 1C */ blt lbl_8021C718 /* 8021C700 00219660 2C 05 00 00 */ cmpwi r5, 0 /* 8021C704 00219664 38 61 00 40 */ addi r3, r1, 0x40 /* 8021C708 00219668 38 80 00 04 */ li r4, 4 /* 8021C70C 0021966C 41 82 00 08 */ beq lbl_8021C714 /* 8021C710 00219670 54 A4 08 3C */ slwi r4, r5, 1 lbl_8021C714: /* 8021C714 00219674 48 00 0B BD */ bl sub_8021d2d0 lbl_8021C718: /* 8021C718 00219678 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021C71C 0021967C 80 61 00 4C */ lwz r3, 0x4c(r1) /* 8021C720 00219680 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021C724 00219684 7F 43 02 15 */ add. r26, r3, r0 /* 8021C728 00219688 41 82 00 58 */ beq lbl_8021C780 /* 8021C72C 0021968C 80 1F 00 00 */ lwz r0, 0(r31) /* 8021C730 00219690 38 7A 00 04 */ addi r3, r26, 4 /* 8021C734 00219694 38 9F 00 04 */ addi r4, r31, 4 /* 8021C738 00219698 90 1A 00 00 */ stw r0, 0(r26) /* 8021C73C 0021969C 48 12 1A 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C740 002196A0 38 7A 00 14 */ addi r3, r26, 0x14 /* 8021C744 002196A4 38 9F 00 14 */ addi r4, r31, 0x14 /* 8021C748 002196A8 48 12 1A 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C74C 002196AC C0 1F 00 24 */ lfs f0, 0x24(r31) /* 8021C750 002196B0 38 7A 00 30 */ addi r3, r26, 0x30 /* 8021C754 002196B4 38 9F 00 30 */ addi r4, r31, 0x30 /* 8021C758 002196B8 D0 1A 00 24 */ stfs f0, 0x24(r26) /* 8021C75C 002196BC C0 1F 00 28 */ lfs f0, 0x28(r31) /* 8021C760 002196C0 D0 1A 00 28 */ stfs f0, 0x28(r26) /* 8021C764 002196C4 C0 1F 00 2C */ lfs f0, 0x2c(r31) /* 8021C768 002196C8 D0 1A 00 2C */ stfs f0, 0x2c(r26) /* 8021C76C 002196CC 48 12 19 F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C770 002196D0 80 1F 00 40 */ lwz r0, 0x40(r31) /* 8021C774 002196D4 90 1A 00 40 */ stw r0, 0x40(r26) /* 8021C778 002196D8 80 1F 00 44 */ lwz r0, 0x44(r31) /* 8021C77C 002196DC 90 1A 00 44 */ stw r0, 0x44(r26) lbl_8021C780: /* 8021C780 002196E0 80 61 00 44 */ lwz r3, 0x44(r1) /* 8021C784 002196E4 38 03 00 01 */ addi r0, r3, 1 /* 8021C788 002196E8 90 01 00 44 */ stw r0, 0x44(r1) lbl_8021C78C: /* 8021C78C 002196EC 3B DE 00 48 */ addi r30, r30, 0x48 /* 8021C790 002196F0 3B BD 00 01 */ addi r29, r29, 1 lbl_8021C794: /* 8021C794 002196F4 80 1C 00 04 */ lwz r0, 4(r28) /* 8021C798 002196F8 7C 1D 00 00 */ cmpw r29, r0 /* 8021C79C 002196FC 41 80 FE F8 */ blt lbl_8021C694 /* 8021C7A0 00219700 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021C7A4 00219704 90 1B 00 04 */ stw r0, 4(r27) /* 8021C7A8 00219708 80 01 00 48 */ lwz r0, 0x48(r1) /* 8021C7AC 0021970C 90 1B 00 08 */ stw r0, 8(r27) /* 8021C7B0 00219710 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021C7B4 00219714 2C 00 00 00 */ cmpwi r0, 0 /* 8021C7B8 00219718 40 82 00 1C */ bne lbl_8021C7D4 /* 8021C7BC 0021971C 80 01 00 48 */ lwz r0, 0x48(r1) /* 8021C7C0 00219720 2C 00 00 00 */ cmpwi r0, 0 /* 8021C7C4 00219724 40 82 00 10 */ bne lbl_8021C7D4 /* 8021C7C8 00219728 38 00 00 00 */ li r0, 0 /* 8021C7CC 0021972C 90 1B 00 0C */ stw r0, 0xc(r27) /* 8021C7D0 00219730 48 00 00 BC */ b lbl_8021C88C lbl_8021C7D4: /* 8021C7D4 00219734 80 1B 00 08 */ lwz r0, 8(r27) /* 8021C7D8 00219738 1C 60 00 48 */ mulli r3, r0, 0x48 /* 8021C7DC 0021973C 2C 03 00 00 */ cmpwi r3, 0 /* 8021C7E0 00219740 40 82 00 10 */ bne lbl_8021C7F0 /* 8021C7E4 00219744 38 00 00 00 */ li r0, 0 /* 8021C7E8 00219748 90 1B 00 0C */ stw r0, 0xc(r27) /* 8021C7EC 0021974C 48 00 00 1C */ b lbl_8021C808 lbl_8021C7F0: /* 8021C7F0 00219750 3C 80 80 3D */ lis r4, lbl_803D3038@ha /* 8021C7F4 00219754 38 A0 00 00 */ li r5, 0 /* 8021C7F8 00219758 38 84 30 38 */ addi r4, r4, lbl_803D3038@l /* 8021C7FC 0021975C 38 84 00 1B */ addi r4, r4, 0x1b /* 8021C800 00219760 48 0F 90 19 */ bl __nwa__FUlPCcPCc /* 8021C804 00219764 90 7B 00 0C */ stw r3, 0xc(r27) lbl_8021C808: /* 8021C808 00219768 83 BB 00 04 */ lwz r29, 4(r27) /* 8021C80C 0021976C 3B 40 00 00 */ li r26, 0 /* 8021C810 00219770 83 81 00 4C */ lwz r28, 0x4c(r1) /* 8021C814 00219774 83 7B 00 0C */ lwz r27, 0xc(r27) /* 8021C818 00219778 48 00 00 6C */ b lbl_8021C884 lbl_8021C81C: /* 8021C81C 0021977C 28 1B 00 00 */ cmplwi r27, 0 /* 8021C820 00219780 41 82 00 58 */ beq lbl_8021C878 /* 8021C824 00219784 80 1C 00 00 */ lwz r0, 0(r28) /* 8021C828 00219788 38 7B 00 04 */ addi r3, r27, 4 /* 8021C82C 0021978C 38 9C 00 04 */ addi r4, r28, 4 /* 8021C830 00219790 90 1B 00 00 */ stw r0, 0(r27) /* 8021C834 00219794 48 12 19 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C838 00219798 38 7B 00 14 */ addi r3, r27, 0x14 /* 8021C83C 0021979C 38 9C 00 14 */ addi r4, r28, 0x14 /* 8021C840 002197A0 48 12 19 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C844 002197A4 C0 1C 00 24 */ lfs f0, 0x24(r28) /* 8021C848 002197A8 38 7B 00 30 */ addi r3, r27, 0x30 /* 8021C84C 002197AC 38 9C 00 30 */ addi r4, r28, 0x30 /* 8021C850 002197B0 D0 1B 00 24 */ stfs f0, 0x24(r27) /* 8021C854 002197B4 C0 1C 00 28 */ lfs f0, 0x28(r28) /* 8021C858 002197B8 D0 1B 00 28 */ stfs f0, 0x28(r27) /* 8021C85C 002197BC C0 1C 00 2C */ lfs f0, 0x2c(r28) /* 8021C860 002197C0 D0 1B 00 2C */ stfs f0, 0x2c(r27) /* 8021C864 002197C4 48 12 18 FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021C868 002197C8 80 1C 00 40 */ lwz r0, 0x40(r28) /* 8021C86C 002197CC 90 1B 00 40 */ stw r0, 0x40(r27) /* 8021C870 002197D0 80 1C 00 44 */ lwz r0, 0x44(r28) /* 8021C874 002197D4 90 1B 00 44 */ stw r0, 0x44(r27) lbl_8021C878: /* 8021C878 002197D8 3B 7B 00 48 */ addi r27, r27, 0x48 /* 8021C87C 002197DC 3B 5A 00 01 */ addi r26, r26, 1 /* 8021C880 002197E0 3B 9C 00 48 */ addi r28, r28, 0x48 lbl_8021C884: /* 8021C884 002197E4 7C 1A E8 00 */ cmpw r26, r29 /* 8021C888 002197E8 41 80 FF 94 */ blt lbl_8021C81C lbl_8021C88C: /* 8021C88C 002197EC 38 61 00 30 */ addi r3, r1, 0x30 /* 8021C890 002197F0 48 12 04 3D */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021C894 002197F4 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021C898 002197F8 83 41 00 4C */ lwz r26, 0x4c(r1) /* 8021C89C 002197FC 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021C8A0 00219800 93 41 00 14 */ stw r26, 0x14(r1) /* 8021C8A4 00219804 7F 7A 02 14 */ add r27, r26, r0 /* 8021C8A8 00219808 93 41 00 10 */ stw r26, 0x10(r1) /* 8021C8AC 0021980C 93 61 00 1C */ stw r27, 0x1c(r1) /* 8021C8B0 00219810 93 61 00 18 */ stw r27, 0x18(r1) /* 8021C8B4 00219814 48 00 00 44 */ b lbl_8021C8F8 lbl_8021C8B8: /* 8021C8B8 00219818 28 1A 00 00 */ cmplwi r26, 0 /* 8021C8BC 0021981C 41 82 00 38 */ beq lbl_8021C8F4 /* 8021C8C0 00219820 34 1A 00 24 */ addic. r0, r26, 0x24 /* 8021C8C4 00219824 41 82 00 10 */ beq lbl_8021C8D4 /* 8021C8C8 00219828 34 7A 00 30 */ addic. r3, r26, 0x30 /* 8021C8CC 0021982C 41 82 00 08 */ beq lbl_8021C8D4 /* 8021C8D0 00219830 48 12 12 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C8D4: /* 8021C8D4 00219834 34 1A 00 14 */ addic. r0, r26, 0x14 /* 8021C8D8 00219838 41 82 00 0C */ beq lbl_8021C8E4 /* 8021C8DC 0021983C 38 7A 00 14 */ addi r3, r26, 0x14 /* 8021C8E0 00219840 48 12 12 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C8E4: /* 8021C8E4 00219844 34 1A 00 04 */ addic. r0, r26, 4 /* 8021C8E8 00219848 41 82 00 0C */ beq lbl_8021C8F4 /* 8021C8EC 0021984C 38 7A 00 04 */ addi r3, r26, 4 /* 8021C8F0 00219850 48 12 11 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021C8F4: /* 8021C8F4 00219854 3B 5A 00 48 */ addi r26, r26, 0x48 lbl_8021C8F8: /* 8021C8F8 00219858 7C 1A D8 40 */ cmplw r26, r27 /* 8021C8FC 0021985C 40 82 FF BC */ bne lbl_8021C8B8 /* 8021C900 00219860 80 61 00 4C */ lwz r3, 0x4c(r1) /* 8021C904 00219864 28 03 00 00 */ cmplwi r3, 0 /* 8021C908 00219868 41 82 00 08 */ beq lbl_8021C910 /* 8021C90C 0021986C 48 0F 90 25 */ bl Free__7CMemoryFPCv lbl_8021C910: /* 8021C910 00219870 BB 41 00 58 */ lmw r26, 0x58(r1) /* 8021C914 00219874 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021C918 00219878 7C 08 03 A6 */ mtlr r0 /* 8021C91C 0021987C 38 21 00 70 */ addi r1, r1, 0x70 /* 8021C920 00219880 4E 80 00 20 */ blr .global sub_8021c924 sub_8021c924: /* 8021C924 00219884 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8021C928 00219888 2C 05 FF FF */ cmpwi r5, -1 /* 8021C92C 0021988C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8021C930 00219890 41 82 00 10 */ beq lbl_8021C940 /* 8021C934 00219894 80 03 00 08 */ lwz r0, 8(r3) /* 8021C938 00219898 7C 05 00 00 */ cmpw r5, r0 /* 8021C93C 0021989C 41 80 00 08 */ blt lbl_8021C944 lbl_8021C940: /* 8021C940 002198A0 80 A3 00 08 */ lwz r5, 8(r3) lbl_8021C944: /* 8021C944 002198A4 80 C3 00 08 */ lwz r6, 8(r3) /* 8021C948 002198A8 38 E0 00 00 */ li r7, 0 /* 8021C94C 002198AC 80 04 00 08 */ lwz r0, 8(r4) /* 8021C950 002198B0 7C A8 2B 78 */ mr r8, r5 /* 8021C954 002198B4 90 61 00 38 */ stw r3, 0x38(r1) /* 8021C958 002198B8 90 E1 00 3C */ stw r7, 0x3c(r1) /* 8021C95C 002198BC 90 61 00 40 */ stw r3, 0x40(r1) /* 8021C960 002198C0 90 A1 00 44 */ stw r5, 0x44(r1) /* 8021C964 002198C4 90 61 00 48 */ stw r3, 0x48(r1) /* 8021C968 002198C8 90 A1 00 4C */ stw r5, 0x4c(r1) /* 8021C96C 002198CC 90 61 00 28 */ stw r3, 0x28(r1) /* 8021C970 002198D0 90 C1 00 2C */ stw r6, 0x2c(r1) /* 8021C974 002198D4 90 61 00 30 */ stw r3, 0x30(r1) /* 8021C978 002198D8 90 C1 00 34 */ stw r6, 0x34(r1) /* 8021C97C 002198DC 90 81 00 18 */ stw r4, 0x18(r1) /* 8021C980 002198E0 90 E1 00 1C */ stw r7, 0x1c(r1) /* 8021C984 002198E4 90 81 00 20 */ stw r4, 0x20(r1) /* 8021C988 002198E8 90 E1 00 24 */ stw r7, 0x24(r1) /* 8021C98C 002198EC 90 81 00 08 */ stw r4, 8(r1) /* 8021C990 002198F0 90 01 00 0C */ stw r0, 0xc(r1) /* 8021C994 002198F4 90 81 00 10 */ stw r4, 0x10(r1) /* 8021C998 002198F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8021C99C 002198FC 48 00 01 5C */ b lbl_8021CAF8 lbl_8021C9A0: /* 8021C9A0 00219900 39 20 00 00 */ li r9, 0 /* 8021C9A4 00219904 48 00 01 2C */ b lbl_8021CAD0 lbl_8021C9A8: /* 8021C9A8 00219908 81 44 00 00 */ lwz r10, 0(r4) /* 8021C9AC 0021990C 39 60 00 00 */ li r11, 0 /* 8021C9B0 00219910 81 83 00 00 */ lwz r12, 0(r3) /* 8021C9B4 00219914 7F EA 48 AE */ lbzx r31, r10, r9 /* 8021C9B8 00219918 7F EA 07 74 */ extsb r10, r31 /* 8021C9BC 0021991C 2C 0A 00 61 */ cmpwi r10, 0x61 /* 8021C9C0 00219920 41 80 00 10 */ blt lbl_8021C9D0 /* 8021C9C4 00219924 2C 0A 00 7A */ cmpwi r10, 0x7a /* 8021C9C8 00219928 41 81 00 08 */ bgt lbl_8021C9D0 /* 8021C9CC 0021992C 39 60 00 01 */ li r11, 1 lbl_8021C9D0: /* 8021C9D0 00219930 55 6A 06 3F */ clrlwi. r10, r11, 0x18 /* 8021C9D4 00219934 41 82 00 10 */ beq lbl_8021C9E4 /* 8021C9D8 00219938 7F EA 07 74 */ extsb r10, r31 /* 8021C9DC 0021993C 39 6A FF E0 */ addi r11, r10, -32 /* 8021C9E0 00219940 48 00 00 54 */ b lbl_8021CA34 lbl_8021C9E4: /* 8021C9E4 00219944 7F EB 07 74 */ extsb r11, r31 /* 8021C9E8 00219948 39 40 00 00 */ li r10, 0 /* 8021C9EC 0021994C 2C 0B 00 E0 */ cmpwi r11, 0xe0 /* 8021C9F0 00219950 41 80 00 10 */ blt lbl_8021CA00 /* 8021C9F4 00219954 2C 0B 00 FE */ cmpwi r11, 0xfe /* 8021C9F8 00219958 41 81 00 08 */ bgt lbl_8021CA00 /* 8021C9FC 0021995C 39 40 00 01 */ li r10, 1 lbl_8021CA00: /* 8021CA00 00219960 55 4A 06 3F */ clrlwi. r10, r10, 0x18 /* 8021CA04 00219964 41 82 00 0C */ beq lbl_8021CA10 /* 8021CA08 00219968 39 6B FF E0 */ addi r11, r11, -32 /* 8021CA0C 0021996C 48 00 00 28 */ b lbl_8021CA34 lbl_8021CA10: /* 8021CA10 00219970 2C 0B 30 A0 */ cmpwi r11, 0x30a0 /* 8021CA14 00219974 39 40 00 00 */ li r10, 0 /* 8021CA18 00219978 41 80 00 10 */ blt lbl_8021CA28 /* 8021CA1C 0021997C 2C 0B 30 FF */ cmpwi r11, 0x30ff /* 8021CA20 00219980 41 81 00 08 */ bgt lbl_8021CA28 /* 8021CA24 00219984 39 40 00 01 */ li r10, 1 lbl_8021CA28: /* 8021CA28 00219988 55 4A 06 3F */ clrlwi. r10, r10, 0x18 /* 8021CA2C 0021998C 41 82 00 08 */ beq lbl_8021CA34 /* 8021CA30 00219990 39 6B FF A0 */ addi r11, r11, -96 lbl_8021CA34: /* 8021CA34 00219994 7D 8C 40 AE */ lbzx r12, r12, r8 /* 8021CA38 00219998 7D 7F 07 74 */ extsb r31, r11 /* 8021CA3C 0021999C 39 60 00 00 */ li r11, 0 /* 8021CA40 002199A0 7D 8A 07 74 */ extsb r10, r12 /* 8021CA44 002199A4 2C 0A 00 61 */ cmpwi r10, 0x61 /* 8021CA48 002199A8 41 80 00 10 */ blt lbl_8021CA58 /* 8021CA4C 002199AC 2C 0A 00 7A */ cmpwi r10, 0x7a /* 8021CA50 002199B0 41 81 00 08 */ bgt lbl_8021CA58 /* 8021CA54 002199B4 39 60 00 01 */ li r11, 1 lbl_8021CA58: /* 8021CA58 002199B8 55 6A 06 3F */ clrlwi. r10, r11, 0x18 /* 8021CA5C 002199BC 41 82 00 10 */ beq lbl_8021CA6C /* 8021CA60 002199C0 7D 8A 07 74 */ extsb r10, r12 /* 8021CA64 002199C4 39 6A FF E0 */ addi r11, r10, -32 /* 8021CA68 002199C8 48 00 00 54 */ b lbl_8021CABC lbl_8021CA6C: /* 8021CA6C 002199CC 7D 8B 07 74 */ extsb r11, r12 /* 8021CA70 002199D0 39 40 00 00 */ li r10, 0 /* 8021CA74 002199D4 2C 0B 00 E0 */ cmpwi r11, 0xe0 /* 8021CA78 002199D8 41 80 00 10 */ blt lbl_8021CA88 /* 8021CA7C 002199DC 2C 0B 00 FE */ cmpwi r11, 0xfe /* 8021CA80 002199E0 41 81 00 08 */ bgt lbl_8021CA88 /* 8021CA84 002199E4 39 40 00 01 */ li r10, 1 lbl_8021CA88: /* 8021CA88 002199E8 55 4A 06 3F */ clrlwi. r10, r10, 0x18 /* 8021CA8C 002199EC 41 82 00 0C */ beq lbl_8021CA98 /* 8021CA90 002199F0 39 6B FF E0 */ addi r11, r11, -32 /* 8021CA94 002199F4 48 00 00 28 */ b lbl_8021CABC lbl_8021CA98: /* 8021CA98 002199F8 2C 0B 30 A0 */ cmpwi r11, 0x30a0 /* 8021CA9C 002199FC 39 40 00 00 */ li r10, 0 /* 8021CAA0 00219A00 41 80 00 10 */ blt lbl_8021CAB0 /* 8021CAA4 00219A04 2C 0B 30 FF */ cmpwi r11, 0x30ff /* 8021CAA8 00219A08 41 81 00 08 */ bgt lbl_8021CAB0 /* 8021CAAC 00219A0C 39 40 00 01 */ li r10, 1 lbl_8021CAB0: /* 8021CAB0 00219A10 55 4A 06 3F */ clrlwi. r10, r10, 0x18 /* 8021CAB4 00219A14 41 82 00 08 */ beq lbl_8021CABC /* 8021CAB8 00219A18 39 6B FF A0 */ addi r11, r11, -96 lbl_8021CABC: /* 8021CABC 00219A1C 7D 6A 07 74 */ extsb r10, r11 /* 8021CAC0 00219A20 7C 0A F8 00 */ cmpw r10, r31 /* 8021CAC4 00219A24 40 82 00 08 */ bne lbl_8021CACC /* 8021CAC8 00219A28 48 00 00 54 */ b lbl_8021CB1C lbl_8021CACC: /* 8021CACC 00219A2C 39 29 00 01 */ addi r9, r9, 1 lbl_8021CAD0: /* 8021CAD0 00219A30 7C 04 20 40 */ cmplw r4, r4 /* 8021CAD4 00219A34 39 40 00 00 */ li r10, 0 /* 8021CAD8 00219A38 40 82 00 0C */ bne lbl_8021CAE4 /* 8021CADC 00219A3C 7C 09 00 00 */ cmpw r9, r0 /* 8021CAE0 00219A40 41 82 00 08 */ beq lbl_8021CAE8 lbl_8021CAE4: /* 8021CAE4 00219A44 39 40 00 01 */ li r10, 1 lbl_8021CAE8: /* 8021CAE8 00219A48 55 4A 06 3F */ clrlwi. r10, r10, 0x18 /* 8021CAEC 00219A4C 40 82 FE BC */ bne lbl_8021C9A8 /* 8021CAF0 00219A50 39 08 00 01 */ addi r8, r8, 1 /* 8021CAF4 00219A54 38 E7 00 01 */ addi r7, r7, 1 lbl_8021CAF8: /* 8021CAF8 00219A58 7C 03 18 40 */ cmplw r3, r3 /* 8021CAFC 00219A5C 39 20 00 00 */ li r9, 0 /* 8021CB00 00219A60 40 82 00 0C */ bne lbl_8021CB0C /* 8021CB04 00219A64 7C 08 30 00 */ cmpw r8, r6 /* 8021CB08 00219A68 41 82 00 08 */ beq lbl_8021CB10 lbl_8021CB0C: /* 8021CB0C 00219A6C 39 20 00 01 */ li r9, 1 lbl_8021CB10: /* 8021CB10 00219A70 55 29 06 3F */ clrlwi. r9, r9, 0x18 /* 8021CB14 00219A74 40 82 FE 8C */ bne lbl_8021C9A0 /* 8021CB18 00219A78 38 E0 FF FF */ li r7, -1 lbl_8021CB1C: /* 8021CB1C 00219A7C 2C 07 FF FF */ cmpwi r7, -1 /* 8021CB20 00219A80 7C 67 2A 14 */ add r3, r7, r5 /* 8021CB24 00219A84 40 82 00 08 */ bne lbl_8021CB2C /* 8021CB28 00219A88 7C E3 3B 78 */ mr r3, r7 lbl_8021CB2C: /* 8021CB2C 00219A8C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8021CB30 00219A90 38 21 00 60 */ addi r1, r1, 0x60 /* 8021CB34 00219A94 4E 80 00 20 */ blr .global sub_8021cb38 sub_8021cb38: /* 8021CB38 00219A98 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021CB3C 00219A9C 7C 08 02 A6 */ mflr r0 /* 8021CB40 00219AA0 3C C0 80 3D */ lis r6, lbl_803D3038@ha /* 8021CB44 00219AA4 90 01 00 24 */ stw r0, 0x24(r1) /* 8021CB48 00219AA8 38 C6 30 38 */ addi r6, r6, lbl_803D3038@l /* 8021CB4C 00219AAC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021CB50 00219AB0 7C 7F 1B 78 */ mr r31, r3 /* 8021CB54 00219AB4 38 66 00 39 */ addi r3, r6, 0x39 /* 8021CB58 00219AB8 80 A5 00 00 */ lwz r5, 0(r5) /* 8021CB5C 00219ABC 4C C6 31 82 */ crclr 6 /* 8021CB60 00219AC0 48 0B 96 51 */ bl Stringize__7CBasicsFPCce /* 8021CB64 00219AC4 7C 64 1B 78 */ mr r4, r3 /* 8021CB68 00219AC8 7F E3 FB 78 */ mr r3, r31 /* 8021CB6C 00219ACC 38 C1 00 08 */ addi r6, r1, 8 /* 8021CB70 00219AD0 38 A0 FF FF */ li r5, -1 /* 8021CB74 00219AD4 48 12 16 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021CB78 00219AD8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021CB7C 00219ADC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021CB80 00219AE0 7C 08 03 A6 */ mtlr r0 /* 8021CB84 00219AE4 38 21 00 20 */ addi r1, r1, 0x20 /* 8021CB88 00219AE8 4E 80 00 20 */ blr .global "GetIdentifierForMidiEvent__19CInGameTweakManagerFUiUiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" "GetIdentifierForMidiEvent__19CInGameTweakManagerFUiUiRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": /* 8021CB8C 00219AEC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021CB90 00219AF0 7C 08 02 A6 */ mflr r0 /* 8021CB94 00219AF4 3C E0 80 3D */ lis r7, lbl_803D3038@ha /* 8021CB98 00219AF8 90 01 00 24 */ stw r0, 0x24(r1) /* 8021CB9C 00219AFC 7C 80 23 78 */ mr r0, r4 /* 8021CBA0 00219B00 7C A4 2B 78 */ mr r4, r5 /* 8021CBA4 00219B04 38 E7 30 38 */ addi r7, r7, lbl_803D3038@l /* 8021CBA8 00219B08 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021CBAC 00219B0C 7C 7F 1B 78 */ mr r31, r3 /* 8021CBB0 00219B10 7C 05 03 78 */ mr r5, r0 /* 8021CBB4 00219B14 38 67 00 54 */ addi r3, r7, 0x54 /* 8021CBB8 00219B18 80 C6 00 00 */ lwz r6, 0(r6) /* 8021CBBC 00219B1C 4C C6 31 82 */ crclr 6 /* 8021CBC0 00219B20 48 0B 95 F1 */ bl Stringize__7CBasicsFPCce /* 8021CBC4 00219B24 7C 64 1B 78 */ mr r4, r3 /* 8021CBC8 00219B28 7F E3 FB 78 */ mr r3, r31 /* 8021CBCC 00219B2C 38 C1 00 08 */ addi r6, r1, 8 /* 8021CBD0 00219B30 38 A0 FF FF */ li r5, -1 /* 8021CBD4 00219B34 48 12 15 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021CBD8 00219B38 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021CBDC 00219B3C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021CBE0 00219B40 7C 08 03 A6 */ mtlr r0 /* 8021CBE4 00219B44 38 21 00 20 */ addi r1, r1, 0x20 /* 8021CBE8 00219B48 4E 80 00 20 */ blr .global sub_8021cbec sub_8021cbec: /* 8021CBEC 00219B4C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021CBF0 00219B50 7C 08 02 A6 */ mflr r0 /* 8021CBF4 00219B54 3C A0 80 3D */ lis r5, lbl_803D3038@ha /* 8021CBF8 00219B58 90 01 00 24 */ stw r0, 0x24(r1) /* 8021CBFC 00219B5C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021CC00 00219B60 7C 7F 1B 78 */ mr r31, r3 /* 8021CC04 00219B64 38 65 30 38 */ addi r3, r5, lbl_803D3038@l /* 8021CC08 00219B68 38 63 00 7A */ addi r3, r3, 0x7a /* 8021CC0C 00219B6C 4C C6 31 82 */ crclr 6 /* 8021CC10 00219B70 48 0B 95 A1 */ bl Stringize__7CBasicsFPCce /* 8021CC14 00219B74 7C 64 1B 78 */ mr r4, r3 /* 8021CC18 00219B78 7F E3 FB 78 */ mr r3, r31 /* 8021CC1C 00219B7C 38 C1 00 08 */ addi r6, r1, 8 /* 8021CC20 00219B80 38 A0 FF FF */ li r5, -1 /* 8021CC24 00219B84 48 12 15 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021CC28 00219B88 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021CC2C 00219B8C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021CC30 00219B90 7C 08 03 A6 */ mtlr r0 /* 8021CC34 00219B94 38 21 00 20 */ addi r1, r1, 0x20 /* 8021CC38 00219B98 4E 80 00 20 */ blr .global sub_8021cc3c sub_8021cc3c: /* 8021CC3C 00219B9C 90 83 00 00 */ stw r4, 0(r3) /* 8021CC40 00219BA0 38 00 00 00 */ li r0, 0 /* 8021CC44 00219BA4 7C 85 23 78 */ mr r5, r4 /* 8021CC48 00219BA8 90 03 00 04 */ stw r0, 4(r3) /* 8021CC4C 00219BAC 48 00 00 08 */ b lbl_8021CC54 lbl_8021CC50: /* 8021CC50 00219BB0 38 A5 00 01 */ addi r5, r5, 1 lbl_8021CC54: /* 8021CC54 00219BB4 88 05 00 00 */ lbz r0, 0(r5) /* 8021CC58 00219BB8 7C 00 07 75 */ extsb. r0, r0 /* 8021CC5C 00219BBC 40 82 FF F4 */ bne lbl_8021CC50 /* 8021CC60 00219BC0 7C 04 28 50 */ subf r0, r4, r5 /* 8021CC64 00219BC4 90 03 00 08 */ stw r0, 8(r3) /* 8021CC68 00219BC8 4E 80 00 20 */ blr .global sub_8021cc6c sub_8021cc6c: /* 8021CC6C 00219BCC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021CC70 00219BD0 7C 08 02 A6 */ mflr r0 /* 8021CC74 00219BD4 38 84 00 04 */ addi r4, r4, 4 /* 8021CC78 00219BD8 90 01 00 14 */ stw r0, 0x14(r1) /* 8021CC7C 00219BDC 93 E1 00 0C */ stw r31, 0xc(r1) /* 8021CC80 00219BE0 7C 7F 1B 78 */ mr r31, r3 /* 8021CC84 00219BE4 48 11 E1 39 */ bl sub_8033adbc /* 8021CC88 00219BE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021CC8C 00219BEC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8021CC90 00219BF0 7C 08 03 A6 */ mtlr r0 /* 8021CC94 00219BF4 38 21 00 10 */ addi r1, r1, 0x10 /* 8021CC98 00219BF8 4E 80 00 20 */ blr .global "ReadFromMemoryCard__19CInGameTweakManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" "ReadFromMemoryCard__19CInGameTweakManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": /* 8021CC9C 00219BFC 38 60 00 00 */ li r3, 0 /* 8021CCA0 00219C00 4E 80 00 20 */ blr .global "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" "GetTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": /* 8021CCA4 00219C04 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8021CCA8 00219C08 7C 08 02 A6 */ mflr r0 /* 8021CCAC 00219C0C 90 01 00 44 */ stw r0, 0x44(r1) /* 8021CCB0 00219C10 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8021CCB4 00219C14 93 C1 00 38 */ stw r30, 0x38(r1) /* 8021CCB8 00219C18 93 A1 00 34 */ stw r29, 0x34(r1) /* 8021CCBC 00219C1C 7C 9D 23 78 */ mr r29, r4 /* 8021CCC0 00219C20 93 81 00 30 */ stw r28, 0x30(r1) /* 8021CCC4 00219C24 7C 7C 1B 78 */ mr r28, r3 /* 8021CCC8 00219C28 83 C3 00 0C */ lwz r30, 0xc(r3) /* 8021CCCC 00219C2C 48 00 00 60 */ b lbl_8021CD2C lbl_8021CCD0: /* 8021CCD0 00219C30 80 9E 00 04 */ lwz r4, 4(r30) /* 8021CCD4 00219C34 38 61 00 20 */ addi r3, r1, 0x20 /* 8021CCD8 00219C38 38 C1 00 0C */ addi r6, r1, 0xc /* 8021CCDC 00219C3C 38 A0 FF FF */ li r5, -1 /* 8021CCE0 00219C40 48 12 00 B1 */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021CCE4 00219C44 80 9D 00 00 */ lwz r4, 0(r29) /* 8021CCE8 00219C48 38 61 00 10 */ addi r3, r1, 0x10 /* 8021CCEC 00219C4C 38 C1 00 08 */ addi r6, r1, 8 /* 8021CCF0 00219C50 38 A0 FF FF */ li r5, -1 /* 8021CCF4 00219C54 48 12 00 9D */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021CCF8 00219C58 38 61 00 20 */ addi r3, r1, 0x20 /* 8021CCFC 00219C5C 38 81 00 10 */ addi r4, r1, 0x10 /* 8021CD00 00219C60 48 00 00 69 */ bl sub_8021cd68 /* 8021CD04 00219C64 7C 7F 1B 78 */ mr r31, r3 /* 8021CD08 00219C68 38 61 00 10 */ addi r3, r1, 0x10 /* 8021CD0C 00219C6C 48 11 FF C1 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021CD10 00219C70 38 61 00 20 */ addi r3, r1, 0x20 /* 8021CD14 00219C74 48 11 FF B9 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021CD18 00219C78 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8021CD1C 00219C7C 41 82 00 0C */ beq lbl_8021CD28 /* 8021CD20 00219C80 7F C3 F3 78 */ mr r3, r30 /* 8021CD24 00219C84 48 00 00 24 */ b lbl_8021CD48 lbl_8021CD28: /* 8021CD28 00219C88 3B DE 00 48 */ addi r30, r30, 0x48 lbl_8021CD2C: /* 8021CD2C 00219C8C 80 1C 00 04 */ lwz r0, 4(r28) /* 8021CD30 00219C90 80 7C 00 0C */ lwz r3, 0xc(r28) /* 8021CD34 00219C94 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021CD38 00219C98 7C 03 02 14 */ add r0, r3, r0 /* 8021CD3C 00219C9C 7C 1E 00 40 */ cmplw r30, r0 /* 8021CD40 00219CA0 40 82 FF 90 */ bne lbl_8021CCD0 /* 8021CD44 00219CA4 38 60 00 00 */ li r3, 0 lbl_8021CD48: /* 8021CD48 00219CA8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021CD4C 00219CAC 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8021CD50 00219CB0 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8021CD54 00219CB4 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8021CD58 00219CB8 83 81 00 30 */ lwz r28, 0x30(r1) /* 8021CD5C 00219CBC 7C 08 03 A6 */ mtlr r0 /* 8021CD60 00219CC0 38 21 00 40 */ addi r1, r1, 0x40 /* 8021CD64 00219CC4 4E 80 00 20 */ blr .global sub_8021cd68 sub_8021cd68: /* 8021CD68 00219CC8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021CD6C 00219CCC 7C 08 02 A6 */ mflr r0 /* 8021CD70 00219CD0 90 01 00 14 */ stw r0, 0x14(r1) /* 8021CD74 00219CD4 48 00 00 1D */ bl sub_8021cd90 /* 8021CD78 00219CD8 7C 60 00 34 */ cntlzw r0, r3 /* 8021CD7C 00219CDC 54 03 D9 7E */ srwi r3, r0, 5 /* 8021CD80 00219CE0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021CD84 00219CE4 7C 08 03 A6 */ mtlr r0 /* 8021CD88 00219CE8 38 21 00 10 */ addi r1, r1, 0x10 /* 8021CD8C 00219CEC 4E 80 00 20 */ blr .global sub_8021cd90 sub_8021cd90: /* 8021CD90 00219CF0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8021CD94 00219CF4 39 00 00 00 */ li r8, 0 /* 8021CD98 00219CF8 38 C0 00 00 */ li r6, 0 /* 8021CD9C 00219CFC 80 A3 00 08 */ lwz r5, 8(r3) /* 8021CDA0 00219D00 7C C7 33 78 */ mr r7, r6 /* 8021CDA4 00219D04 80 04 00 08 */ lwz r0, 8(r4) /* 8021CDA8 00219D08 90 61 00 38 */ stw r3, 0x38(r1) /* 8021CDAC 00219D0C 91 01 00 3C */ stw r8, 0x3c(r1) /* 8021CDB0 00219D10 90 61 00 40 */ stw r3, 0x40(r1) /* 8021CDB4 00219D14 91 01 00 44 */ stw r8, 0x44(r1) /* 8021CDB8 00219D18 90 61 00 28 */ stw r3, 0x28(r1) /* 8021CDBC 00219D1C 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8021CDC0 00219D20 90 61 00 30 */ stw r3, 0x30(r1) /* 8021CDC4 00219D24 90 A1 00 34 */ stw r5, 0x34(r1) /* 8021CDC8 00219D28 90 81 00 18 */ stw r4, 0x18(r1) /* 8021CDCC 00219D2C 91 01 00 1C */ stw r8, 0x1c(r1) /* 8021CDD0 00219D30 90 81 00 20 */ stw r4, 0x20(r1) /* 8021CDD4 00219D34 91 01 00 24 */ stw r8, 0x24(r1) /* 8021CDD8 00219D38 90 81 00 08 */ stw r4, 8(r1) /* 8021CDDC 00219D3C 90 01 00 0C */ stw r0, 0xc(r1) /* 8021CDE0 00219D40 90 81 00 10 */ stw r4, 0x10(r1) /* 8021CDE4 00219D44 90 01 00 14 */ stw r0, 0x14(r1) /* 8021CDE8 00219D48 48 00 01 30 */ b lbl_8021CF18 lbl_8021CDEC: /* 8021CDEC 00219D4C 81 03 00 00 */ lwz r8, 0(r3) /* 8021CDF0 00219D50 39 20 00 00 */ li r9, 0 /* 8021CDF4 00219D54 81 44 00 00 */ lwz r10, 0(r4) /* 8021CDF8 00219D58 7D 68 30 AE */ lbzx r11, r8, r6 /* 8021CDFC 00219D5C 7D 68 07 74 */ extsb r8, r11 /* 8021CE00 00219D60 2C 08 00 61 */ cmpwi r8, 0x61 /* 8021CE04 00219D64 41 80 00 10 */ blt lbl_8021CE14 /* 8021CE08 00219D68 2C 08 00 7A */ cmpwi r8, 0x7a /* 8021CE0C 00219D6C 41 81 00 08 */ bgt lbl_8021CE14 /* 8021CE10 00219D70 39 20 00 01 */ li r9, 1 lbl_8021CE14: /* 8021CE14 00219D74 55 28 06 3F */ clrlwi. r8, r9, 0x18 /* 8021CE18 00219D78 41 82 00 10 */ beq lbl_8021CE28 /* 8021CE1C 00219D7C 7D 68 07 74 */ extsb r8, r11 /* 8021CE20 00219D80 39 28 FF E0 */ addi r9, r8, -32 /* 8021CE24 00219D84 48 00 00 54 */ b lbl_8021CE78 lbl_8021CE28: /* 8021CE28 00219D88 7D 69 07 74 */ extsb r9, r11 /* 8021CE2C 00219D8C 39 00 00 00 */ li r8, 0 /* 8021CE30 00219D90 2C 09 00 E0 */ cmpwi r9, 0xe0 /* 8021CE34 00219D94 41 80 00 10 */ blt lbl_8021CE44 /* 8021CE38 00219D98 2C 09 00 FE */ cmpwi r9, 0xfe /* 8021CE3C 00219D9C 41 81 00 08 */ bgt lbl_8021CE44 /* 8021CE40 00219DA0 39 00 00 01 */ li r8, 1 lbl_8021CE44: /* 8021CE44 00219DA4 55 08 06 3F */ clrlwi. r8, r8, 0x18 /* 8021CE48 00219DA8 41 82 00 0C */ beq lbl_8021CE54 /* 8021CE4C 00219DAC 39 29 FF E0 */ addi r9, r9, -32 /* 8021CE50 00219DB0 48 00 00 28 */ b lbl_8021CE78 lbl_8021CE54: /* 8021CE54 00219DB4 2C 09 30 A0 */ cmpwi r9, 0x30a0 /* 8021CE58 00219DB8 39 00 00 00 */ li r8, 0 /* 8021CE5C 00219DBC 41 80 00 10 */ blt lbl_8021CE6C /* 8021CE60 00219DC0 2C 09 30 FF */ cmpwi r9, 0x30ff /* 8021CE64 00219DC4 41 81 00 08 */ bgt lbl_8021CE6C /* 8021CE68 00219DC8 39 00 00 01 */ li r8, 1 lbl_8021CE6C: /* 8021CE6C 00219DCC 55 08 06 3F */ clrlwi. r8, r8, 0x18 /* 8021CE70 00219DD0 41 82 00 08 */ beq lbl_8021CE78 /* 8021CE74 00219DD4 39 29 FF A0 */ addi r9, r9, -96 lbl_8021CE78: /* 8021CE78 00219DD8 7D 4A 38 AE */ lbzx r10, r10, r7 /* 8021CE7C 00219DDC 7D 2B 07 74 */ extsb r11, r9 /* 8021CE80 00219DE0 39 20 00 00 */ li r9, 0 /* 8021CE84 00219DE4 7D 48 07 74 */ extsb r8, r10 /* 8021CE88 00219DE8 2C 08 00 61 */ cmpwi r8, 0x61 /* 8021CE8C 00219DEC 41 80 00 10 */ blt lbl_8021CE9C /* 8021CE90 00219DF0 2C 08 00 7A */ cmpwi r8, 0x7a /* 8021CE94 00219DF4 41 81 00 08 */ bgt lbl_8021CE9C /* 8021CE98 00219DF8 39 20 00 01 */ li r9, 1 lbl_8021CE9C: /* 8021CE9C 00219DFC 55 28 06 3F */ clrlwi. r8, r9, 0x18 /* 8021CEA0 00219E00 41 82 00 10 */ beq lbl_8021CEB0 /* 8021CEA4 00219E04 7D 48 07 74 */ extsb r8, r10 /* 8021CEA8 00219E08 39 28 FF E0 */ addi r9, r8, -32 /* 8021CEAC 00219E0C 48 00 00 54 */ b lbl_8021CF00 lbl_8021CEB0: /* 8021CEB0 00219E10 7D 49 07 74 */ extsb r9, r10 /* 8021CEB4 00219E14 39 00 00 00 */ li r8, 0 /* 8021CEB8 00219E18 2C 09 00 E0 */ cmpwi r9, 0xe0 /* 8021CEBC 00219E1C 41 80 00 10 */ blt lbl_8021CECC /* 8021CEC0 00219E20 2C 09 00 FE */ cmpwi r9, 0xfe /* 8021CEC4 00219E24 41 81 00 08 */ bgt lbl_8021CECC /* 8021CEC8 00219E28 39 00 00 01 */ li r8, 1 lbl_8021CECC: /* 8021CECC 00219E2C 55 08 06 3F */ clrlwi. r8, r8, 0x18 /* 8021CED0 00219E30 41 82 00 0C */ beq lbl_8021CEDC /* 8021CED4 00219E34 39 29 FF E0 */ addi r9, r9, -32 /* 8021CED8 00219E38 48 00 00 28 */ b lbl_8021CF00 lbl_8021CEDC: /* 8021CEDC 00219E3C 2C 09 30 A0 */ cmpwi r9, 0x30a0 /* 8021CEE0 00219E40 39 00 00 00 */ li r8, 0 /* 8021CEE4 00219E44 41 80 00 10 */ blt lbl_8021CEF4 /* 8021CEE8 00219E48 2C 09 30 FF */ cmpwi r9, 0x30ff /* 8021CEEC 00219E4C 41 81 00 08 */ bgt lbl_8021CEF4 /* 8021CEF0 00219E50 39 00 00 01 */ li r8, 1 lbl_8021CEF4: /* 8021CEF4 00219E54 55 08 06 3F */ clrlwi. r8, r8, 0x18 /* 8021CEF8 00219E58 41 82 00 08 */ beq lbl_8021CF00 /* 8021CEFC 00219E5C 39 29 FF A0 */ addi r9, r9, -96 lbl_8021CF00: /* 8021CF00 00219E60 7D 28 07 74 */ extsb r8, r9 /* 8021CF04 00219E64 7D 0B 40 51 */ subf. r8, r11, r8 /* 8021CF08 00219E68 41 82 00 08 */ beq lbl_8021CF10 /* 8021CF0C 00219E6C 48 00 00 D8 */ b lbl_8021CFE4 lbl_8021CF10: /* 8021CF10 00219E70 38 C6 00 01 */ addi r6, r6, 1 /* 8021CF14 00219E74 38 E7 00 01 */ addi r7, r7, 1 lbl_8021CF18: /* 8021CF18 00219E78 7C 03 18 40 */ cmplw r3, r3 /* 8021CF1C 00219E7C 39 00 00 00 */ li r8, 0 /* 8021CF20 00219E80 40 82 00 0C */ bne lbl_8021CF2C /* 8021CF24 00219E84 7C 06 28 00 */ cmpw r6, r5 /* 8021CF28 00219E88 41 82 00 08 */ beq lbl_8021CF30 lbl_8021CF2C: /* 8021CF2C 00219E8C 39 00 00 01 */ li r8, 1 lbl_8021CF30: /* 8021CF30 00219E90 55 08 06 3F */ clrlwi. r8, r8, 0x18 /* 8021CF34 00219E94 41 82 00 24 */ beq lbl_8021CF58 /* 8021CF38 00219E98 7C 04 20 40 */ cmplw r4, r4 /* 8021CF3C 00219E9C 39 00 00 00 */ li r8, 0 /* 8021CF40 00219EA0 40 82 00 0C */ bne lbl_8021CF4C /* 8021CF44 00219EA4 7C 07 00 00 */ cmpw r7, r0 /* 8021CF48 00219EA8 41 82 00 08 */ beq lbl_8021CF50 lbl_8021CF4C: /* 8021CF4C 00219EAC 39 00 00 01 */ li r8, 1 lbl_8021CF50: /* 8021CF50 00219EB0 55 08 06 3F */ clrlwi. r8, r8, 0x18 /* 8021CF54 00219EB4 40 82 FE 98 */ bne lbl_8021CDEC lbl_8021CF58: /* 8021CF58 00219EB8 80 81 00 40 */ lwz r4, 0x40(r1) /* 8021CF5C 00219EBC 39 00 00 00 */ li r8, 0 /* 8021CF60 00219EC0 80 61 00 30 */ lwz r3, 0x30(r1) /* 8021CF64 00219EC4 7C 04 18 40 */ cmplw r4, r3 /* 8021CF68 00219EC8 40 82 00 10 */ bne lbl_8021CF78 /* 8021CF6C 00219ECC 7C 06 28 00 */ cmpw r6, r5 /* 8021CF70 00219ED0 40 82 00 08 */ bne lbl_8021CF78 /* 8021CF74 00219ED4 39 00 00 01 */ li r8, 1 lbl_8021CF78: /* 8021CF78 00219ED8 55 03 06 3F */ clrlwi. r3, r8, 0x18 /* 8021CF7C 00219EDC 41 82 00 34 */ beq lbl_8021CFB0 /* 8021CF80 00219EE0 80 81 00 20 */ lwz r4, 0x20(r1) /* 8021CF84 00219EE4 39 00 00 00 */ li r8, 0 /* 8021CF88 00219EE8 80 61 00 10 */ lwz r3, 0x10(r1) /* 8021CF8C 00219EEC 7C 04 18 40 */ cmplw r4, r3 /* 8021CF90 00219EF0 40 82 00 0C */ bne lbl_8021CF9C /* 8021CF94 00219EF4 7C 07 00 00 */ cmpw r7, r0 /* 8021CF98 00219EF8 41 82 00 08 */ beq lbl_8021CFA0 lbl_8021CF9C: /* 8021CF9C 00219EFC 39 00 00 01 */ li r8, 1 lbl_8021CFA0: /* 8021CFA0 00219F00 55 00 06 3F */ clrlwi. r0, r8, 0x18 /* 8021CFA4 00219F04 41 82 00 0C */ beq lbl_8021CFB0 /* 8021CFA8 00219F08 39 00 FF FF */ li r8, -1 /* 8021CFAC 00219F0C 48 00 00 38 */ b lbl_8021CFE4 lbl_8021CFB0: /* 8021CFB0 00219F10 80 61 00 40 */ lwz r3, 0x40(r1) /* 8021CFB4 00219F14 38 80 00 00 */ li r4, 0 /* 8021CFB8 00219F18 80 01 00 30 */ lwz r0, 0x30(r1) /* 8021CFBC 00219F1C 7C 03 00 40 */ cmplw r3, r0 /* 8021CFC0 00219F20 40 82 00 10 */ bne lbl_8021CFD0 /* 8021CFC4 00219F24 7C 06 28 00 */ cmpw r6, r5 /* 8021CFC8 00219F28 40 82 00 08 */ bne lbl_8021CFD0 /* 8021CFCC 00219F2C 38 80 00 01 */ li r4, 1 lbl_8021CFD0: /* 8021CFD0 00219F30 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8021CFD4 00219F34 41 82 00 0C */ beq lbl_8021CFE0 /* 8021CFD8 00219F38 39 00 00 00 */ li r8, 0 /* 8021CFDC 00219F3C 48 00 00 08 */ b lbl_8021CFE4 lbl_8021CFE0: /* 8021CFE0 00219F40 39 00 00 01 */ li r8, 1 lbl_8021CFE4: /* 8021CFE4 00219F44 7D 03 43 78 */ mr r3, r8 /* 8021CFE8 00219F48 38 21 00 50 */ addi r1, r1, 0x50 /* 8021CFEC 00219F4C 4E 80 00 20 */ blr .global "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" "HasTweakValue__19CInGameTweakManagerCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": /* 8021CFF0 00219F50 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8021CFF4 00219F54 7C 08 02 A6 */ mflr r0 /* 8021CFF8 00219F58 90 01 00 44 */ stw r0, 0x44(r1) /* 8021CFFC 00219F5C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8021D000 00219F60 93 C1 00 38 */ stw r30, 0x38(r1) /* 8021D004 00219F64 93 A1 00 34 */ stw r29, 0x34(r1) /* 8021D008 00219F68 7C 9D 23 78 */ mr r29, r4 /* 8021D00C 00219F6C 93 81 00 30 */ stw r28, 0x30(r1) /* 8021D010 00219F70 7C 7C 1B 78 */ mr r28, r3 /* 8021D014 00219F74 83 C3 00 0C */ lwz r30, 0xc(r3) /* 8021D018 00219F78 48 00 00 60 */ b lbl_8021D078 lbl_8021D01C: /* 8021D01C 00219F7C 80 9E 00 04 */ lwz r4, 4(r30) /* 8021D020 00219F80 38 61 00 20 */ addi r3, r1, 0x20 /* 8021D024 00219F84 38 C1 00 0C */ addi r6, r1, 0xc /* 8021D028 00219F88 38 A0 FF FF */ li r5, -1 /* 8021D02C 00219F8C 48 11 FD 65 */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021D030 00219F90 80 9D 00 00 */ lwz r4, 0(r29) /* 8021D034 00219F94 38 61 00 10 */ addi r3, r1, 0x10 /* 8021D038 00219F98 38 C1 00 08 */ addi r6, r1, 8 /* 8021D03C 00219F9C 38 A0 FF FF */ li r5, -1 /* 8021D040 00219FA0 48 11 FD 51 */ bl "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8021D044 00219FA4 38 61 00 20 */ addi r3, r1, 0x20 /* 8021D048 00219FA8 38 81 00 10 */ addi r4, r1, 0x10 /* 8021D04C 00219FAC 4B FF FD 1D */ bl sub_8021cd68 /* 8021D050 00219FB0 7C 7F 1B 78 */ mr r31, r3 /* 8021D054 00219FB4 38 61 00 10 */ addi r3, r1, 0x10 /* 8021D058 00219FB8 48 11 FC 75 */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021D05C 00219FBC 38 61 00 20 */ addi r3, r1, 0x20 /* 8021D060 00219FC0 48 11 FC 6D */ bl "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021D064 00219FC4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8021D068 00219FC8 41 82 00 0C */ beq lbl_8021D074 /* 8021D06C 00219FCC 38 60 00 01 */ li r3, 1 /* 8021D070 00219FD0 48 00 00 24 */ b lbl_8021D094 lbl_8021D074: /* 8021D074 00219FD4 3B DE 00 48 */ addi r30, r30, 0x48 lbl_8021D078: /* 8021D078 00219FD8 80 1C 00 04 */ lwz r0, 4(r28) /* 8021D07C 00219FDC 80 7C 00 0C */ lwz r3, 0xc(r28) /* 8021D080 00219FE0 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021D084 00219FE4 7C 03 02 14 */ add r0, r3, r0 /* 8021D088 00219FE8 7C 1E 00 40 */ cmplw r30, r0 /* 8021D08C 00219FEC 40 82 FF 90 */ bne lbl_8021D01C /* 8021D090 00219FF0 38 60 00 00 */ li r3, 0 lbl_8021D094: /* 8021D094 00219FF4 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021D098 00219FF8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8021D09C 00219FFC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8021D0A0 0021A000 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8021D0A4 0021A004 83 81 00 30 */ lwz r28, 0x30(r1) /* 8021D0A8 0021A008 7C 08 03 A6 */ mtlr r0 /* 8021D0AC 0021A00C 38 21 00 40 */ addi r1, r1, 0x40 /* 8021D0B0 0021A010 4E 80 00 20 */ blr .global __ct__19CInGameTweakManagerFv __ct__19CInGameTweakManagerFv: /* 8021D0B4 0021A014 38 00 00 00 */ li r0, 0 /* 8021D0B8 0021A018 90 03 00 04 */ stw r0, 4(r3) /* 8021D0BC 0021A01C 90 03 00 08 */ stw r0, 8(r3) /* 8021D0C0 0021A020 90 03 00 0C */ stw r0, 0xc(r3) /* 8021D0C4 0021A024 4E 80 00 20 */ blr .global "substr__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" "substr__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii": /* 8021D0C8 0021A028 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8021D0CC 0021A02C 7C 08 02 A6 */ mflr r0 /* 8021D0D0 0021A030 90 01 00 64 */ stw r0, 0x64(r1) /* 8021D0D4 0021A034 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8021D0D8 0021A038 7C 7F 1B 78 */ mr r31, r3 /* 8021D0DC 0021A03C 38 61 00 30 */ addi r3, r1, 0x30 /* 8021D0E0 0021A040 93 C1 00 58 */ stw r30, 0x58(r1) /* 8021D0E4 0021A044 48 12 0A C1 */ bl "range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" /* 8021D0E8 0021A048 80 E1 00 30 */ lwz r7, 0x30(r1) /* 8021D0EC 0021A04C 38 61 00 10 */ addi r3, r1, 0x10 /* 8021D0F0 0021A050 80 C1 00 34 */ lwz r6, 0x34(r1) /* 8021D0F4 0021A054 38 81 00 18 */ addi r4, r1, 0x18 /* 8021D0F8 0021A058 80 A1 00 38 */ lwz r5, 0x38(r1) /* 8021D0FC 0021A05C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 8021D100 0021A060 90 E1 00 40 */ stw r7, 0x40(r1) /* 8021D104 0021A064 90 C1 00 44 */ stw r6, 0x44(r1) /* 8021D108 0021A068 90 A1 00 48 */ stw r5, 0x48(r1) /* 8021D10C 0021A06C 90 01 00 4C */ stw r0, 0x4c(r1) /* 8021D110 0021A070 90 A1 00 20 */ stw r5, 0x20(r1) /* 8021D114 0021A074 90 01 00 24 */ stw r0, 0x24(r1) /* 8021D118 0021A078 90 E1 00 08 */ stw r7, 8(r1) /* 8021D11C 0021A07C 90 C1 00 0C */ stw r6, 0xc(r1) /* 8021D120 0021A080 90 E1 00 28 */ stw r7, 0x28(r1) /* 8021D124 0021A084 90 C1 00 2C */ stw r6, 0x2c(r1) /* 8021D128 0021A088 90 A1 00 18 */ stw r5, 0x18(r1) /* 8021D12C 0021A08C 90 01 00 1C */ stw r0, 0x1c(r1) /* 8021D130 0021A090 90 E1 00 10 */ stw r7, 0x10(r1) /* 8021D134 0021A094 90 C1 00 14 */ stw r6, 0x14(r1) /* 8021D138 0021A098 4B FE F6 B9 */ bl sub_8020c7f0 /* 8021D13C 0021A09C 7C 7E 1B 78 */ mr r30, r3 /* 8021D140 0021A0A0 7F E3 FB 78 */ mr r3, r31 /* 8021D144 0021A0A4 38 9E 00 01 */ addi r4, r30, 1 /* 8021D148 0021A0A8 48 12 09 E1 */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" /* 8021D14C 0021A0AC 81 01 00 2C */ lwz r8, 0x2c(r1) /* 8021D150 0021A0B0 38 E0 00 00 */ li r7, 0 /* 8021D154 0021A0B4 81 21 00 24 */ lwz r9, 0x24(r1) /* 8021D158 0021A0B8 80 A1 00 28 */ lwz r5, 0x28(r1) /* 8021D15C 0021A0BC 80 61 00 20 */ lwz r3, 0x20(r1) /* 8021D160 0021A0C0 48 00 00 1C */ b lbl_8021D17C lbl_8021D164: /* 8021D164 0021A0C4 80 85 00 00 */ lwz r4, 0(r5) /* 8021D168 0021A0C8 80 DF 00 00 */ lwz r6, 0(r31) /* 8021D16C 0021A0CC 7C 04 40 AE */ lbzx r0, r4, r8 /* 8021D170 0021A0D0 39 08 00 01 */ addi r8, r8, 1 /* 8021D174 0021A0D4 7C 06 39 AE */ stbx r0, r6, r7 /* 8021D178 0021A0D8 38 E7 00 01 */ addi r7, r7, 1 lbl_8021D17C: /* 8021D17C 0021A0DC 7C 05 18 40 */ cmplw r5, r3 /* 8021D180 0021A0E0 38 00 00 00 */ li r0, 0 /* 8021D184 0021A0E4 40 82 00 0C */ bne lbl_8021D190 /* 8021D188 0021A0E8 7C 08 48 00 */ cmpw r8, r9 /* 8021D18C 0021A0EC 41 82 00 08 */ beq lbl_8021D194 lbl_8021D190: /* 8021D190 0021A0F0 38 00 00 01 */ li r0, 1 lbl_8021D194: /* 8021D194 0021A0F4 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8021D198 0021A0F8 40 82 FF CC */ bne lbl_8021D164 /* 8021D19C 0021A0FC 80 7F 00 00 */ lwz r3, 0(r31) /* 8021D1A0 0021A100 38 00 00 00 */ li r0, 0 /* 8021D1A4 0021A104 7C 03 39 AE */ stbx r0, r3, r7 /* 8021D1A8 0021A108 93 DF 00 08 */ stw r30, 8(r31) /* 8021D1AC 0021A10C 80 01 00 64 */ lwz r0, 0x64(r1) /* 8021D1B0 0021A110 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8021D1B4 0021A114 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8021D1B8 0021A118 7C 08 03 A6 */ mtlr r0 /* 8021D1BC 0021A11C 38 21 00 60 */ addi r1, r1, 0x60 /* 8021D1C0 0021A120 4E 80 00 20 */ blr .global "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi": /* 8021D1C4 0021A124 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021D1C8 0021A128 7C 08 02 A6 */ mflr r0 /* 8021D1CC 0021A12C 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D1D0 0021A130 BF 41 00 18 */ stmw r26, 0x18(r1) /* 8021D1D4 0021A134 7C 9F 23 78 */ mr r31, r4 /* 8021D1D8 0021A138 7C 7E 1B 78 */ mr r30, r3 /* 8021D1DC 0021A13C 80 03 00 08 */ lwz r0, 8(r3) /* 8021D1E0 0021A140 7C 1F 00 00 */ cmpw r31, r0 /* 8021D1E4 0021A144 40 81 00 D8 */ ble lbl_8021D2BC /* 8021D1E8 0021A148 1C 7F 00 18 */ mulli r3, r31, 0x18 /* 8021D1EC 0021A14C 2C 03 00 00 */ cmpwi r3, 0 /* 8021D1F0 0021A150 40 82 00 0C */ bne lbl_8021D1FC /* 8021D1F4 0021A154 3B 80 00 00 */ li r28, 0 /* 8021D1F8 0021A158 48 00 00 1C */ b lbl_8021D214 lbl_8021D1FC: /* 8021D1FC 0021A15C 3C 80 80 3D */ lis r4, lbl_803D3038@ha /* 8021D200 0021A160 38 A0 00 00 */ li r5, 0 /* 8021D204 0021A164 38 84 30 38 */ addi r4, r4, lbl_803D3038@l /* 8021D208 0021A168 38 84 00 1B */ addi r4, r4, 0x1b /* 8021D20C 0021A16C 48 0F 86 0D */ bl __nwa__FUlPCcPCc /* 8021D210 0021A170 7C 7C 1B 78 */ mr r28, r3 lbl_8021D214: /* 8021D214 0021A174 80 1E 00 04 */ lwz r0, 4(r30) /* 8021D218 0021A178 7F 9B E3 78 */ mr r27, r28 /* 8021D21C 0021A17C 83 5E 00 0C */ lwz r26, 0xc(r30) /* 8021D220 0021A180 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8021D224 0021A184 93 41 00 10 */ stw r26, 0x10(r1) /* 8021D228 0021A188 7F BA 02 14 */ add r29, r26, r0 /* 8021D22C 0021A18C 93 41 00 14 */ stw r26, 0x14(r1) /* 8021D230 0021A190 93 A1 00 08 */ stw r29, 8(r1) /* 8021D234 0021A194 93 A1 00 0C */ stw r29, 0xc(r1) /* 8021D238 0021A198 48 00 00 30 */ b lbl_8021D268 lbl_8021D23C: /* 8021D23C 0021A19C 28 1B 00 00 */ cmplwi r27, 0 /* 8021D240 0021A1A0 41 82 00 20 */ beq lbl_8021D260 /* 8021D244 0021A1A4 7F 63 DB 78 */ mr r3, r27 /* 8021D248 0021A1A8 7F 44 D3 78 */ mr r4, r26 /* 8021D24C 0021A1AC 48 12 0F 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021D250 0021A1B0 80 1A 00 10 */ lwz r0, 0x10(r26) /* 8021D254 0021A1B4 90 1B 00 10 */ stw r0, 0x10(r27) /* 8021D258 0021A1B8 80 1A 00 14 */ lwz r0, 0x14(r26) /* 8021D25C 0021A1BC 90 1B 00 14 */ stw r0, 0x14(r27) lbl_8021D260: /* 8021D260 0021A1C0 3B 7B 00 18 */ addi r27, r27, 0x18 /* 8021D264 0021A1C4 3B 5A 00 18 */ addi r26, r26, 0x18 lbl_8021D268: /* 8021D268 0021A1C8 7C 1A E8 40 */ cmplw r26, r29 /* 8021D26C 0021A1CC 40 82 FF D0 */ bne lbl_8021D23C /* 8021D270 0021A1D0 80 1E 00 04 */ lwz r0, 4(r30) /* 8021D274 0021A1D4 83 5E 00 0C */ lwz r26, 0xc(r30) /* 8021D278 0021A1D8 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8021D27C 0021A1DC 7F 7A 02 14 */ add r27, r26, r0 /* 8021D280 0021A1E0 48 00 00 1C */ b lbl_8021D29C lbl_8021D284: /* 8021D284 0021A1E4 28 1A 00 00 */ cmplwi r26, 0 /* 8021D288 0021A1E8 41 82 00 10 */ beq lbl_8021D298 /* 8021D28C 0021A1EC 41 82 00 0C */ beq lbl_8021D298 /* 8021D290 0021A1F0 7F 43 D3 78 */ mr r3, r26 /* 8021D294 0021A1F4 48 12 08 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021D298: /* 8021D298 0021A1F8 3B 5A 00 18 */ addi r26, r26, 0x18 lbl_8021D29C: /* 8021D29C 0021A1FC 7C 1A D8 40 */ cmplw r26, r27 /* 8021D2A0 0021A200 40 82 FF E4 */ bne lbl_8021D284 /* 8021D2A4 0021A204 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8021D2A8 0021A208 28 03 00 00 */ cmplwi r3, 0 /* 8021D2AC 0021A20C 41 82 00 08 */ beq lbl_8021D2B4 /* 8021D2B0 0021A210 48 0F 86 81 */ bl Free__7CMemoryFPCv lbl_8021D2B4: /* 8021D2B4 0021A214 93 9E 00 0C */ stw r28, 0xc(r30) /* 8021D2B8 0021A218 93 FE 00 08 */ stw r31, 8(r30) lbl_8021D2BC: /* 8021D2BC 0021A21C BB 41 00 18 */ lmw r26, 0x18(r1) /* 8021D2C0 0021A220 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021D2C4 0021A224 7C 08 03 A6 */ mtlr r0 /* 8021D2C8 0021A228 38 21 00 30 */ addi r1, r1, 0x30 /* 8021D2CC 0021A22C 4E 80 00 20 */ blr .global sub_8021d2d0 sub_8021d2d0: /* 8021D2D0 0021A230 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021D2D4 0021A234 7C 08 02 A6 */ mflr r0 /* 8021D2D8 0021A238 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D2DC 0021A23C BF 41 00 18 */ stmw r26, 0x18(r1) /* 8021D2E0 0021A240 7C 9E 23 78 */ mr r30, r4 /* 8021D2E4 0021A244 7C 7D 1B 78 */ mr r29, r3 /* 8021D2E8 0021A248 80 03 00 08 */ lwz r0, 8(r3) /* 8021D2EC 0021A24C 7C 1E 00 00 */ cmpw r30, r0 /* 8021D2F0 0021A250 40 81 01 38 */ ble lbl_8021D428 /* 8021D2F4 0021A254 1C 7E 00 48 */ mulli r3, r30, 0x48 /* 8021D2F8 0021A258 2C 03 00 00 */ cmpwi r3, 0 /* 8021D2FC 0021A25C 40 82 00 0C */ bne lbl_8021D308 /* 8021D300 0021A260 3B E0 00 00 */ li r31, 0 /* 8021D304 0021A264 48 00 00 1C */ b lbl_8021D320 lbl_8021D308: /* 8021D308 0021A268 3C 80 80 3D */ lis r4, lbl_803D3038@ha /* 8021D30C 0021A26C 38 A0 00 00 */ li r5, 0 /* 8021D310 0021A270 38 84 30 38 */ addi r4, r4, lbl_803D3038@l /* 8021D314 0021A274 38 84 00 1B */ addi r4, r4, 0x1b /* 8021D318 0021A278 48 0F 85 01 */ bl __nwa__FUlPCcPCc /* 8021D31C 0021A27C 7C 7F 1B 78 */ mr r31, r3 lbl_8021D320: /* 8021D320 0021A280 80 1D 00 04 */ lwz r0, 4(r29) /* 8021D324 0021A284 7F FB FB 78 */ mr r27, r31 /* 8021D328 0021A288 83 5D 00 0C */ lwz r26, 0xc(r29) /* 8021D32C 0021A28C 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021D330 0021A290 93 41 00 10 */ stw r26, 0x10(r1) /* 8021D334 0021A294 7F 9A 02 14 */ add r28, r26, r0 /* 8021D338 0021A298 93 41 00 14 */ stw r26, 0x14(r1) /* 8021D33C 0021A29C 93 81 00 08 */ stw r28, 8(r1) /* 8021D340 0021A2A0 93 81 00 0C */ stw r28, 0xc(r1) /* 8021D344 0021A2A4 48 00 00 68 */ b lbl_8021D3AC lbl_8021D348: /* 8021D348 0021A2A8 28 1B 00 00 */ cmplwi r27, 0 /* 8021D34C 0021A2AC 41 82 00 58 */ beq lbl_8021D3A4 /* 8021D350 0021A2B0 80 1A 00 00 */ lwz r0, 0(r26) /* 8021D354 0021A2B4 38 7B 00 04 */ addi r3, r27, 4 /* 8021D358 0021A2B8 38 9A 00 04 */ addi r4, r26, 4 /* 8021D35C 0021A2BC 90 1B 00 00 */ stw r0, 0(r27) /* 8021D360 0021A2C0 48 12 0E 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021D364 0021A2C4 38 7B 00 14 */ addi r3, r27, 0x14 /* 8021D368 0021A2C8 38 9A 00 14 */ addi r4, r26, 0x14 /* 8021D36C 0021A2CC 48 12 0D F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021D370 0021A2D0 C0 1A 00 24 */ lfs f0, 0x24(r26) /* 8021D374 0021A2D4 38 7B 00 30 */ addi r3, r27, 0x30 /* 8021D378 0021A2D8 38 9A 00 30 */ addi r4, r26, 0x30 /* 8021D37C 0021A2DC D0 1B 00 24 */ stfs f0, 0x24(r27) /* 8021D380 0021A2E0 C0 1A 00 28 */ lfs f0, 0x28(r26) /* 8021D384 0021A2E4 D0 1B 00 28 */ stfs f0, 0x28(r27) /* 8021D388 0021A2E8 C0 1A 00 2C */ lfs f0, 0x2c(r26) /* 8021D38C 0021A2EC D0 1B 00 2C */ stfs f0, 0x2c(r27) /* 8021D390 0021A2F0 48 12 0D D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021D394 0021A2F4 80 1A 00 40 */ lwz r0, 0x40(r26) /* 8021D398 0021A2F8 90 1B 00 40 */ stw r0, 0x40(r27) /* 8021D39C 0021A2FC 80 1A 00 44 */ lwz r0, 0x44(r26) /* 8021D3A0 0021A300 90 1B 00 44 */ stw r0, 0x44(r27) lbl_8021D3A4: /* 8021D3A4 0021A304 3B 7B 00 48 */ addi r27, r27, 0x48 /* 8021D3A8 0021A308 3B 5A 00 48 */ addi r26, r26, 0x48 lbl_8021D3AC: /* 8021D3AC 0021A30C 7C 1A E0 40 */ cmplw r26, r28 /* 8021D3B0 0021A310 40 82 FF 98 */ bne lbl_8021D348 /* 8021D3B4 0021A314 80 1D 00 04 */ lwz r0, 4(r29) /* 8021D3B8 0021A318 83 5D 00 0C */ lwz r26, 0xc(r29) /* 8021D3BC 0021A31C 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8021D3C0 0021A320 7F 7A 02 14 */ add r27, r26, r0 /* 8021D3C4 0021A324 48 00 00 44 */ b lbl_8021D408 lbl_8021D3C8: /* 8021D3C8 0021A328 28 1A 00 00 */ cmplwi r26, 0 /* 8021D3CC 0021A32C 41 82 00 38 */ beq lbl_8021D404 /* 8021D3D0 0021A330 34 1A 00 24 */ addic. r0, r26, 0x24 /* 8021D3D4 0021A334 41 82 00 10 */ beq lbl_8021D3E4 /* 8021D3D8 0021A338 34 7A 00 30 */ addic. r3, r26, 0x30 /* 8021D3DC 0021A33C 41 82 00 08 */ beq lbl_8021D3E4 /* 8021D3E0 0021A340 48 12 07 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021D3E4: /* 8021D3E4 0021A344 34 1A 00 14 */ addic. r0, r26, 0x14 /* 8021D3E8 0021A348 41 82 00 0C */ beq lbl_8021D3F4 /* 8021D3EC 0021A34C 38 7A 00 14 */ addi r3, r26, 0x14 /* 8021D3F0 0021A350 48 12 06 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021D3F4: /* 8021D3F4 0021A354 34 1A 00 04 */ addic. r0, r26, 4 /* 8021D3F8 0021A358 41 82 00 0C */ beq lbl_8021D404 /* 8021D3FC 0021A35C 38 7A 00 04 */ addi r3, r26, 4 /* 8021D400 0021A360 48 12 06 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021D404: /* 8021D404 0021A364 3B 5A 00 48 */ addi r26, r26, 0x48 lbl_8021D408: /* 8021D408 0021A368 7C 1A D8 40 */ cmplw r26, r27 /* 8021D40C 0021A36C 40 82 FF BC */ bne lbl_8021D3C8 /* 8021D410 0021A370 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8021D414 0021A374 28 03 00 00 */ cmplwi r3, 0 /* 8021D418 0021A378 41 82 00 08 */ beq lbl_8021D420 /* 8021D41C 0021A37C 48 0F 85 15 */ bl Free__7CMemoryFPCv lbl_8021D420: /* 8021D420 0021A380 93 FD 00 0C */ stw r31, 0xc(r29) /* 8021D424 0021A384 93 DD 00 08 */ stw r30, 8(r29) lbl_8021D428: /* 8021D428 0021A388 BB 41 00 18 */ lmw r26, 0x18(r1) /* 8021D42C 0021A38C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021D430 0021A390 7C 08 03 A6 */ mtlr r0 /* 8021D434 0021A394 38 21 00 30 */ addi r1, r1, 0x30 /* 8021D438 0021A398 4E 80 00 20 */ blr .global sub_8021d43c sub_8021d43c: /* 8021D43C 0021A39C 80 03 08 B4 */ lwz r0, 0x8b4(r3) /* 8021D440 0021A3A0 2C 00 00 00 */ cmpwi r0, 0 /* 8021D444 0021A3A4 40 82 00 0C */ bne lbl_8021D450 /* 8021D448 0021A3A8 38 63 06 EC */ addi r3, r3, 0x6ec /* 8021D44C 0021A3AC 4E 80 00 20 */ blr lbl_8021D450: /* 8021D450 0021A3B0 38 63 07 D0 */ addi r3, r3, 0x7d0 /* 8021D454 0021A3B4 4E 80 00 20 */ blr .global IsListening__9CBabygothCFv IsListening__9CBabygothCFv: /* 8021D458 0021A3B8 38 60 00 01 */ li r3, 1 /* 8021D45C 0021A3BC 4E 80 00 20 */ blr .global GetCollisionPrimitive__9CBabygothCFv GetCollisionPrimitive__9CBabygothCFv: /* 8021D460 0021A3C0 38 63 09 30 */ addi r3, r3, 0x930 /* 8021D464 0021A3C4 4E 80 00 20 */ blr .global GetGravityConstant__9CBabygothCFv GetGravityConstant__9CBabygothCFv: /* 8021D468 0021A3C8 C0 22 B4 00 */ lfs f1, lbl_805AD120@sda21(r2) /* 8021D46C 0021A3CC C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) /* 8021D470 0021A3D0 EC 21 00 32 */ fmuls f1, f1, f0 /* 8021D474 0021A3D4 4E 80 00 20 */ blr .global sub_8021d478 sub_8021d478: /* 8021D478 0021A3D8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8021D47C 0021A3DC 7C 08 02 A6 */ mflr r0 /* 8021D480 0021A3E0 90 01 00 74 */ stw r0, 0x74(r1) /* 8021D484 0021A3E4 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8021D488 0021A3E8 7C 7F 1B 78 */ mr r31, r3 /* 8021D48C 0021A3EC 93 C1 00 68 */ stw r30, 0x68(r1) /* 8021D490 0021A3F0 93 A1 00 64 */ stw r29, 0x64(r1) /* 8021D494 0021A3F4 7C BD 2B 78 */ mr r29, r5 /* 8021D498 0021A3F8 93 81 00 60 */ stw r28, 0x60(r1) /* 8021D49C 0021A3FC 7C 9C 23 78 */ mr r28, r4 /* 8021D4A0 0021A400 7F 83 E3 78 */ mr r3, r28 /* 8021D4A4 0021A404 38 81 00 18 */ addi r4, r1, 0x18 /* 8021D4A8 0021A408 A0 05 00 00 */ lhz r0, 0(r5) /* 8021D4AC 0021A40C B0 01 00 18 */ sth r0, 0x18(r1) /* 8021D4B0 0021A410 4B E2 F0 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8021D4B4 0021A414 7C 64 1B 78 */ mr r4, r3 /* 8021D4B8 0021A418 38 61 00 1C */ addi r3, r1, 0x1c /* 8021D4BC 0021A41C 4B E8 83 DD */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 8021D4C0 0021A420 83 C3 00 04 */ lwz r30, 4(r3) /* 8021D4C4 0021A424 28 1E 00 00 */ cmplwi r30, 0 /* 8021D4C8 0021A428 41 82 00 BC */ beq lbl_8021D584 /* 8021D4CC 0021A42C 80 1F 09 F8 */ lwz r0, 0x9f8(r31) /* 8021D4D0 0021A430 2C 00 00 00 */ cmpwi r0, 0 /* 8021D4D4 0021A434 41 82 00 B0 */ beq lbl_8021D584 /* 8021D4D8 0021A438 80 1E 01 2C */ lwz r0, 0x12c(r30) /* 8021D4DC 0021A43C 38 60 00 00 */ li r3, 0 /* 8021D4E0 0021A440 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021D4E4 0021A444 38 80 00 01 */ li r4, 1 /* 8021D4E8 0021A448 90 01 00 40 */ stw r0, 0x40(r1) /* 8021D4EC 0021A44C 80 AD 95 18 */ lwz r5, lbl_805A80D8@sda21(r13) /* 8021D4F0 0021A450 88 1E 01 30 */ lbz r0, 0x130(r30) /* 8021D4F4 0021A454 98 01 00 44 */ stb r0, 0x44(r1) /* 8021D4F8 0021A458 C0 3E 01 34 */ lfs f1, 0x134(r30) /* 8021D4FC 0021A45C D0 21 00 48 */ stfs f1, 0x48(r1) /* 8021D500 0021A460 C0 3E 01 38 */ lfs f1, 0x138(r30) /* 8021D504 0021A464 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 8021D508 0021A468 C0 3E 01 3C */ lfs f1, 0x13c(r30) /* 8021D50C 0021A46C D0 21 00 50 */ stfs f1, 0x50(r1) /* 8021D510 0021A470 C0 3E 01 40 */ lfs f1, 0x140(r30) /* 8021D514 0021A474 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8021D518 0021A478 88 1E 01 44 */ lbz r0, 0x144(r30) /* 8021D51C 0021A47C 98 01 00 58 */ stb r0, 0x58(r1) /* 8021D520 0021A480 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8021D524 0021A484 48 16 C9 D1 */ bl __shl2i /* 8021D528 0021A488 39 00 00 00 */ li r8, 0 /* 8021D52C 0021A48C 39 40 00 03 */ li r10, 3 /* 8021D530 0021A490 90 81 00 2C */ stw r4, 0x2c(r1) /* 8021D534 0021A494 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021D538 0021A498 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8021D53C 0021A49C A0 1D 00 00 */ lhz r0, 0(r29) /* 8021D540 0021A4A0 90 61 00 28 */ stw r3, 0x28(r1) /* 8021D544 0021A4A4 7F 83 E3 78 */ mr r3, r28 /* 8021D548 0021A4A8 38 81 00 14 */ addi r4, r1, 0x14 /* 8021D54C 0021A4AC 38 A1 00 10 */ addi r5, r1, 0x10 /* 8021D550 0021A4B0 91 01 00 34 */ stw r8, 0x34(r1) /* 8021D554 0021A4B4 38 C1 00 0C */ addi r6, r1, 0xc /* 8021D558 0021A4B8 38 E1 00 40 */ addi r7, r1, 0x40 /* 8021D55C 0021A4BC 91 01 00 30 */ stw r8, 0x30(r1) /* 8021D560 0021A4C0 39 01 00 28 */ addi r8, r1, 0x28 /* 8021D564 0021A4C4 91 41 00 38 */ stw r10, 0x38(r1) /* 8021D568 0021A4C8 A1 7E 00 EC */ lhz r11, 0xec(r30) /* 8021D56C 0021A4CC B1 61 00 0C */ sth r11, 0xc(r1) /* 8021D570 0021A4D0 A1 5F 09 FC */ lhz r10, 0x9fc(r31) /* 8021D574 0021A4D4 B1 61 00 08 */ sth r11, 8(r1) /* 8021D578 0021A4D8 B1 41 00 10 */ sth r10, 0x10(r1) /* 8021D57C 0021A4DC B0 01 00 14 */ sth r0, 0x14(r1) /* 8021D580 0021A4E0 4B E2 CB 21 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_8021D584: /* 8021D584 0021A4E4 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021D588 0021A4E8 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8021D58C 0021A4EC 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8021D590 0021A4F0 83 A1 00 64 */ lwz r29, 0x64(r1) /* 8021D594 0021A4F4 83 81 00 60 */ lwz r28, 0x60(r1) /* 8021D598 0021A4F8 7C 08 03 A6 */ mtlr r0 /* 8021D59C 0021A4FC 38 21 00 70 */ addi r1, r1, 0x70 /* 8021D5A0 0021A500 4E 80 00 20 */ blr .global sub_8021d5a4 sub_8021d5a4: /* 8021D5A4 0021A504 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021D5A8 0021A508 7C 08 02 A6 */ mflr r0 /* 8021D5AC 0021A50C 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D5B0 0021A510 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8021D5B4 0021A514 3B E0 00 00 */ li r31, 0 /* 8021D5B8 0021A518 93 C1 00 28 */ stw r30, 0x28(r1) /* 8021D5BC 0021A51C 7C 9E 23 78 */ mr r30, r4 /* 8021D5C0 0021A520 93 A1 00 24 */ stw r29, 0x24(r1) /* 8021D5C4 0021A524 7C 7D 1B 78 */ mr r29, r3 /* 8021D5C8 0021A528 48 00 00 50 */ b lbl_8021D618 lbl_8021D5CC: /* 8021D5CC 0021A52C 80 7D 09 28 */ lwz r3, 0x928(r29) /* 8021D5D0 0021A530 7F E4 FB 78 */ mr r4, r31 /* 8021D5D4 0021A534 4B F8 9C 65 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8021D5D8 0021A538 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8021D5DC 0021A53C 7F C3 F3 78 */ mr r3, r30 /* 8021D5E0 0021A540 38 81 00 08 */ addi r4, r1, 8 /* 8021D5E4 0021A544 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021D5E8 0021A548 B0 01 00 08 */ sth r0, 8(r1) /* 8021D5EC 0021A54C 4B E2 EF 89 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021D5F0 0021A550 7C 64 1B 78 */ mr r4, r3 /* 8021D5F4 0021A554 38 61 00 10 */ addi r3, r1, 0x10 /* 8021D5F8 0021A558 4B E9 1D 55 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021D5FC 0021A55C 80 63 00 04 */ lwz r3, 4(r3) /* 8021D600 0021A560 28 03 00 00 */ cmplwi r3, 0 /* 8021D604 0021A564 41 82 00 10 */ beq lbl_8021D614 /* 8021D608 0021A568 7F C5 F3 78 */ mr r5, r30 /* 8021D60C 0021A56C 38 80 00 12 */ li r4, 0x12 /* 8021D610 0021A570 4B E3 6D 41 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_8021D614: /* 8021D614 0021A574 3B FF 00 01 */ addi r31, r31, 1 lbl_8021D618: /* 8021D618 0021A578 80 7D 09 28 */ lwz r3, 0x928(r29) /* 8021D61C 0021A57C 4B F8 9C 2D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8021D620 0021A580 7C 1F 18 40 */ cmplw r31, r3 /* 8021D624 0021A584 41 80 FF A8 */ blt lbl_8021D5CC /* 8021D628 0021A588 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021D62C 0021A58C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8021D630 0021A590 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8021D634 0021A594 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8021D638 0021A598 7C 08 03 A6 */ mtlr r0 /* 8021D63C 0021A59C 38 21 00 30 */ addi r1, r1, 0x30 /* 8021D640 0021A5A0 4E 80 00 20 */ blr .global sub_8021d644 sub_8021d644: /* 8021D644 0021A5A4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021D648 0021A5A8 7C 08 02 A6 */ mflr r0 /* 8021D64C 0021A5AC 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D650 0021A5B0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8021D654 0021A5B4 93 C1 00 28 */ stw r30, 0x28(r1) /* 8021D658 0021A5B8 7C 7E 1B 78 */ mr r30, r3 /* 8021D65C 0021A5BC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021D660 0021A5C0 A0 63 06 E8 */ lhz r3, 0x6e8(r3) /* 8021D664 0021A5C4 7C 03 00 40 */ cmplw r3, r0 /* 8021D668 0021A5C8 41 82 00 68 */ beq lbl_8021D6D0 /* 8021D66C 0021A5CC A0 1E 06 E8 */ lhz r0, 0x6e8(r30) /* 8021D670 0021A5D0 7C 83 23 78 */ mr r3, r4 /* 8021D674 0021A5D4 38 81 00 18 */ addi r4, r1, 0x18 /* 8021D678 0021A5D8 B0 01 00 18 */ sth r0, 0x18(r1) /* 8021D67C 0021A5DC 4B E2 EE F9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021D680 0021A5E0 7C 64 1B 78 */ mr r4, r3 /* 8021D684 0021A5E4 38 61 00 1C */ addi r3, r1, 0x1c /* 8021D688 0021A5E8 4B E8 9E ED */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 8021D68C 0021A5EC 83 E3 00 04 */ lwz r31, 4(r3) /* 8021D690 0021A5F0 28 1F 00 00 */ cmplwi r31, 0 /* 8021D694 0021A5F4 41 82 00 3C */ beq lbl_8021D6D0 /* 8021D698 0021A5F8 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021D69C 0021A5FC 7F E3 FB 78 */ mr r3, r31 /* 8021D6A0 0021A600 38 81 00 14 */ addi r4, r1, 0x14 /* 8021D6A4 0021A604 B0 01 00 10 */ sth r0, 0x10(r1) /* 8021D6A8 0021A608 B0 01 00 14 */ sth r0, 0x14(r1) /* 8021D6AC 0021A60C 48 01 B9 45 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 8021D6B0 0021A610 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021D6B4 0021A614 41 82 00 1C */ beq lbl_8021D6D0 /* 8021D6B8 0021A618 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021D6BC 0021A61C 7F E3 FB 78 */ mr r3, r31 /* 8021D6C0 0021A620 38 81 00 0C */ addi r4, r1, 0xc /* 8021D6C4 0021A624 B0 01 00 08 */ sth r0, 8(r1) /* 8021D6C8 0021A628 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021D6CC 0021A62C 48 01 BE 29 */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId lbl_8021D6D0: /* 8021D6D0 0021A630 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021D6D4 0021A634 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8021D6D8 0021A638 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8021D6DC 0021A63C 7C 08 03 A6 */ mtlr r0 /* 8021D6E0 0021A640 38 21 00 30 */ addi r1, r1, 0x30 /* 8021D6E4 0021A644 4E 80 00 20 */ blr .global sub_8021d6e8 sub_8021d6e8: /* 8021D6E8 0021A648 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021D6EC 0021A64C 7C 08 02 A6 */ mflr r0 /* 8021D6F0 0021A650 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D6F4 0021A654 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8021D6F8 0021A658 93 C1 00 28 */ stw r30, 0x28(r1) /* 8021D6FC 0021A65C 7C 7E 1B 78 */ mr r30, r3 /* 8021D700 0021A660 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021D704 0021A664 A0 63 06 E8 */ lhz r3, 0x6e8(r3) /* 8021D708 0021A668 7C 03 00 40 */ cmplw r3, r0 /* 8021D70C 0021A66C 41 82 00 68 */ beq lbl_8021D774 /* 8021D710 0021A670 A0 1E 06 E8 */ lhz r0, 0x6e8(r30) /* 8021D714 0021A674 7C 83 23 78 */ mr r3, r4 /* 8021D718 0021A678 38 81 00 10 */ addi r4, r1, 0x10 /* 8021D71C 0021A67C B0 01 00 10 */ sth r0, 0x10(r1) /* 8021D720 0021A680 4B E2 EE 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021D724 0021A684 7C 64 1B 78 */ mr r4, r3 /* 8021D728 0021A688 38 61 00 14 */ addi r3, r1, 0x14 /* 8021D72C 0021A68C 4B E8 9E 49 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 8021D730 0021A690 83 E3 00 04 */ lwz r31, 4(r3) /* 8021D734 0021A694 28 1F 00 00 */ cmplwi r31, 0 /* 8021D738 0021A698 41 82 00 3C */ beq lbl_8021D774 /* 8021D73C 0021A69C A0 1E 00 08 */ lhz r0, 8(r30) /* 8021D740 0021A6A0 7F E3 FB 78 */ mr r3, r31 /* 8021D744 0021A6A4 38 81 00 0C */ addi r4, r1, 0xc /* 8021D748 0021A6A8 B0 01 00 08 */ sth r0, 8(r1) /* 8021D74C 0021A6AC B0 01 00 0C */ sth r0, 0xc(r1) /* 8021D750 0021A6B0 48 01 B8 A1 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 8021D754 0021A6B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021D758 0021A6B8 40 82 00 1C */ bne lbl_8021D774 /* 8021D75C 0021A6BC 7F E3 FB 78 */ mr r3, r31 /* 8021D760 0021A6C0 7F C4 F3 78 */ mr r4, r30 /* 8021D764 0021A6C4 38 A0 00 01 */ li r5, 1 /* 8021D768 0021A6C8 38 C0 00 02 */ li r6, 2 /* 8021D76C 0021A6CC 38 E0 FF FF */ li r7, -1 /* 8021D770 0021A6D0 48 01 C0 3D */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii lbl_8021D774: /* 8021D774 0021A6D4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021D778 0021A6D8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8021D77C 0021A6DC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8021D780 0021A6E0 7C 08 03 A6 */ mtlr r0 /* 8021D784 0021A6E4 38 21 00 30 */ addi r1, r1, 0x30 /* 8021D788 0021A6E8 4E 80 00 20 */ blr .global sub_8021d78c sub_8021d78c: /* 8021D78C 0021A6EC 2C 04 00 02 */ cmpwi r4, 2 /* 8021D790 0021A6F0 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 8021D794 0021A6F4 41 82 00 3C */ beq lbl_8021D7D0 /* 8021D798 0021A6F8 40 80 00 14 */ bge lbl_8021D7AC /* 8021D79C 0021A6FC 2C 04 00 00 */ cmpwi r4, 0 /* 8021D7A0 0021A700 41 82 00 18 */ beq lbl_8021D7B8 /* 8021D7A4 0021A704 40 80 00 1C */ bge lbl_8021D7C0 .global sub_8021d7a8 sub_8021d7a8: /* 8021D7A8 0021A708 4E 80 00 20 */ blr lbl_8021D7AC: /* 8021D7AC 0021A70C 2C 04 00 04 */ cmpwi r4, 4 /* 8021D7B0 0021A710 4C 80 00 20 */ bgelr .global sub_8021d7b4 sub_8021d7b4: /* 8021D7B4 0021A714 4E 80 00 20 */ blr lbl_8021D7B8: /* 8021D7B8 0021A718 C0 23 06 B0 */ lfs f1, 0x6b0(r3) /* 8021D7BC 0021A71C 4E 80 00 20 */ blr lbl_8021D7C0: /* 8021D7C0 0021A720 C0 22 B4 08 */ lfs f1, lbl_805AD128@sda21(r2) /* 8021D7C4 0021A724 C0 03 06 B0 */ lfs f0, 0x6b0(r3) /* 8021D7C8 0021A728 EC 21 00 32 */ fmuls f1, f1, f0 /* 8021D7CC 0021A72C 4E 80 00 20 */ blr lbl_8021D7D0: /* 8021D7D0 0021A730 C0 22 B4 0C */ lfs f1, lbl_805AD12C@sda21(r2) /* 8021D7D4 0021A734 C0 03 06 B0 */ lfs f0, 0x6b0(r3) /* 8021D7D8 0021A738 EC 21 00 32 */ fmuls f1, f1, f0 /* 8021D7DC 0021A73C 4E 80 00 20 */ blr .global sub_8021d7e0 sub_8021d7e0: /* 8021D7E0 0021A740 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8021D7E4 0021A744 7C 08 02 A6 */ mflr r0 /* 8021D7E8 0021A748 3D 20 80 3D */ lis r9, lbl_803D31D0@ha /* 8021D7EC 0021A74C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8021D7F0 0021A750 BE E1 00 8C */ stmw r23, 0x8c(r1) /* 8021D7F4 0021A754 7C 79 1B 78 */ mr r25, r3 /* 8021D7F8 0021A758 7C BB 2B 78 */ mr r27, r5 /* 8021D7FC 0021A75C 38 69 31 D0 */ addi r3, r9, lbl_803D31D0@l /* 8021D800 0021A760 7C 9A 23 78 */ mr r26, r4 /* 8021D804 0021A764 7C DC 33 78 */ mr r28, r6 /* 8021D808 0021A768 38 83 00 2D */ addi r4, r3, 0x2d /* 8021D80C 0021A76C 7C FD 3B 78 */ mr r29, r7 /* 8021D810 0021A770 7D 1E 43 78 */ mr r30, r8 /* 8021D814 0021A774 3B 00 00 00 */ li r24, 0 /* 8021D818 0021A778 3A E0 00 00 */ li r23, 0 /* 8021D81C 0021A77C 38 60 01 00 */ li r3, 0x100 /* 8021D820 0021A780 38 A0 00 00 */ li r5, 0 /* 8021D824 0021A784 48 0F 80 49 */ bl __nw__FUlPCcPCc /* 8021D828 0021A788 7C 7F 1B 79 */ or. r31, r3, r3 /* 8021D82C 0021A78C 41 82 00 B4 */ beq lbl_8021D8E0 /* 8021D830 0021A790 80 B9 00 64 */ lwz r5, 0x64(r25) /* 8021D834 0021A794 3C 60 80 3D */ lis r3, lbl_803D31D0@ha /* 8021D838 0021A798 38 83 31 D0 */ addi r4, r3, lbl_803D31D0@l /* 8021D83C 0021A79C 38 61 00 48 */ addi r3, r1, 0x48 /* 8021D840 0021A7A0 C0 05 00 00 */ lfs f0, 0(r5) /* 8021D844 0021A7A4 38 84 00 34 */ addi r4, r4, 0x34 /* 8021D848 0021A7A8 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8021D84C 0021A7AC C0 05 00 04 */ lfs f0, 4(r5) /* 8021D850 0021A7B0 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 8021D854 0021A7B4 C0 05 00 08 */ lfs f0, 8(r5) /* 8021D858 0021A7B8 D0 01 00 60 */ stfs f0, 0x60(r1) /* 8021D85C 0021A7BC 4B DE 74 5D */ bl string_l__4rstlFPCc /* 8021D860 0021A7C0 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 8021D864 0021A7C4 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 8021D868 0021A7C8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 8021D86C 0021A7CC 38 81 00 34 */ addi r4, r1, 0x34 /* 8021D870 0021A7D0 90 01 00 38 */ stw r0, 0x38(r1) /* 8021D874 0021A7D4 38 61 00 64 */ addi r3, r1, 0x64 /* 8021D878 0021A7D8 38 C1 00 38 */ addi r6, r1, 0x38 /* 8021D87C 0021A7DC 3B 00 00 01 */ li r24, 1 /* 8021D880 0021A7E0 80 19 00 04 */ lwz r0, 4(r25) /* 8021D884 0021A7E4 90 01 00 30 */ stw r0, 0x30(r1) /* 8021D888 0021A7E8 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D88C 0021A7EC 4B E3 3B F9 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 8021D890 0021A7F0 7F 44 D3 78 */ mr r4, r26 /* 8021D894 0021A7F4 38 61 00 10 */ addi r3, r1, 0x10 /* 8021D898 0021A7F8 3A E0 00 01 */ li r23, 1 /* 8021D89C 0021A7FC 4B E2 F8 41 */ bl AllocateUniqueId__13CStateManagerFv /* 8021D8A0 0021A800 A0 01 00 10 */ lhz r0, 0x10(r1) /* 8021D8A4 0021A804 B0 01 00 14 */ sth r0, 0x14(r1) /* 8021D8A8 0021A808 48 12 C7 05 */ bl White__6CColorFv /* 8021D8AC 0021A80C 38 01 00 58 */ addi r0, r1, 0x58 /* 8021D8B0 0021A810 7F 64 DB 78 */ mr r4, r27 /* 8021D8B4 0021A814 90 01 00 08 */ stw r0, 8(r1) /* 8021D8B8 0021A818 7F 89 E3 78 */ mr r9, r28 /* 8021D8BC 0021A81C 38 A1 00 14 */ addi r5, r1, 0x14 /* 8021D8C0 0021A820 38 E1 00 64 */ addi r7, r1, 0x64 /* 8021D8C4 0021A824 90 61 00 0C */ stw r3, 0xc(r1) /* 8021D8C8 0021A828 7F E3 FB 78 */ mr r3, r31 /* 8021D8CC 0021A82C 39 01 00 48 */ addi r8, r1, 0x48 /* 8021D8D0 0021A830 38 C0 00 01 */ li r6, 1 /* 8021D8D4 0021A834 39 40 00 00 */ li r10, 0 /* 8021D8D8 0021A838 4B E3 D2 21 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 8021D8DC 0021A83C 7C 7F 1B 78 */ mr r31, r3 lbl_8021D8E0: /* 8021D8E0 0021A840 7E E0 07 75 */ extsb. r0, r23 /* 8021D8E4 0021A844 41 82 00 44 */ beq lbl_8021D928 /* 8021D8E8 0021A848 80 01 00 6C */ lwz r0, 0x6c(r1) /* 8021D8EC 0021A84C 80 61 00 74 */ lwz r3, 0x74(r1) /* 8021D8F0 0021A850 1C 00 00 0C */ mulli r0, r0, 0xc /* 8021D8F4 0021A854 90 61 00 1C */ stw r3, 0x1c(r1) /* 8021D8F8 0021A858 7C 64 1B 78 */ mr r4, r3 /* 8021D8FC 0021A85C 7C 03 02 14 */ add r0, r3, r0 /* 8021D900 0021A860 90 61 00 18 */ stw r3, 0x18(r1) /* 8021D904 0021A864 90 01 00 24 */ stw r0, 0x24(r1) /* 8021D908 0021A868 90 01 00 20 */ stw r0, 0x20(r1) /* 8021D90C 0021A86C 48 00 00 08 */ b lbl_8021D914 lbl_8021D910: /* 8021D910 0021A870 38 84 00 0C */ addi r4, r4, 0xc lbl_8021D914: /* 8021D914 0021A874 7C 04 00 40 */ cmplw r4, r0 /* 8021D918 0021A878 40 82 FF F8 */ bne lbl_8021D910 /* 8021D91C 0021A87C 28 03 00 00 */ cmplwi r3, 0 /* 8021D920 0021A880 41 82 00 08 */ beq lbl_8021D928 /* 8021D924 0021A884 48 0F 80 0D */ bl Free__7CMemoryFPCv lbl_8021D928: /* 8021D928 0021A888 7F 00 07 75 */ extsb. r0, r24 /* 8021D92C 0021A88C 41 82 00 0C */ beq lbl_8021D938 /* 8021D930 0021A890 38 61 00 48 */ addi r3, r1, 0x48 /* 8021D934 0021A894 48 12 01 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021D938: /* 8021D938 0021A898 28 1F 00 00 */ cmplwi r31, 0 /* 8021D93C 0021A89C 41 82 00 80 */ beq lbl_8021D9BC /* 8021D940 0021A8A0 7F 43 D3 78 */ mr r3, r26 /* 8021D944 0021A8A4 7F E4 FB 78 */ mr r4, r31 /* 8021D948 0021A8A8 4B E2 F3 AD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 8021D94C 0021A8AC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 8021D950 0021A8B0 41 82 00 2C */ beq lbl_8021D97C /* 8021D954 0021A8B4 88 A2 CC 40 */ lbz r5, lbl_805AE960@sda21(r2) /* 8021D958 0021A8B8 7F A4 EB 78 */ mr r4, r29 /* 8021D95C 0021A8BC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8021D960 0021A8C0 38 61 00 2C */ addi r3, r1, 0x2c /* 8021D964 0021A8C4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8021D968 0021A8C8 38 C0 00 40 */ li r6, 0x40 /* 8021D96C 0021A8CC 38 E0 00 00 */ li r7, 0 /* 8021D970 0021A8D0 39 20 00 00 */ li r9, 0 /* 8021D974 0021A8D4 48 0C C4 01 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8021D978 0021A8D8 48 00 00 44 */ b lbl_8021D9BC lbl_8021D97C: /* 8021D97C 0021A8DC 81 59 00 04 */ lwz r10, 4(r25) /* 8021D980 0021A8E0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 8021D984 0021A8E4 C0 59 00 60 */ lfs f2, 0x60(r25) /* 8021D988 0021A8E8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 8021D98C 0021A8EC C0 39 00 50 */ lfs f1, 0x50(r25) /* 8021D990 0021A8F0 7F A4 EB 78 */ mr r4, r29 /* 8021D994 0021A8F4 C0 19 00 40 */ lfs f0, 0x40(r25) /* 8021D998 0021A8F8 38 61 00 28 */ addi r3, r1, 0x28 /* 8021D99C 0021A8FC A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8021D9A0 0021A900 38 A1 00 3C */ addi r5, r1, 0x3c /* 8021D9A4 0021A904 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 8021D9A8 0021A908 38 E0 00 00 */ li r7, 0 /* 8021D9AC 0021A90C 39 00 00 00 */ li r8, 0 /* 8021D9B0 0021A910 D0 21 00 40 */ stfs f1, 0x40(r1) /* 8021D9B4 0021A914 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8021D9B8 0021A918 48 0C C8 F9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi lbl_8021D9BC: /* 8021D9BC 0021A91C BA E1 00 8C */ lmw r23, 0x8c(r1) /* 8021D9C0 0021A920 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8021D9C4 0021A924 7C 08 03 A6 */ mtlr r0 /* 8021D9C8 0021A928 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8021D9CC 0021A92C 4E 80 00 20 */ blr .global sub_8021d9d0 sub_8021d9d0: /* 8021D9D0 0021A930 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021D9D4 0021A934 7C 08 02 A6 */ mflr r0 /* 8021D9D8 0021A938 90 01 00 34 */ stw r0, 0x34(r1) /* 8021D9DC 0021A93C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8021D9E0 0021A940 7C 7B 1B 78 */ mr r27, r3 /* 8021D9E4 0021A944 7C 9C 23 78 */ mr r28, r4 /* 8021D9E8 0021A948 38 9B 0A 08 */ addi r4, r27, 0xa08 /* 8021D9EC 0021A94C 80 63 00 64 */ lwz r3, 0x64(r3) /* 8021D9F0 0021A950 80 63 00 10 */ lwz r3, 0x10(r3) /* 8021D9F4 0021A954 4B E1 06 A9 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" /* 8021D9F8 0021A958 3B DB 09 FC */ addi r30, r27, 0x9fc /* 8021D9FC 0021A95C 3B E0 00 29 */ li r31, 0x29 /* 8021DA00 0021A960 7F DD F3 78 */ mr r29, r30 /* 8021DA04 0021A964 48 00 00 38 */ b lbl_8021DA3C lbl_8021DA08: /* 8021DA08 0021A968 A0 1D 00 00 */ lhz r0, 0(r29) /* 8021DA0C 0021A96C 7F 83 E3 78 */ mr r3, r28 /* 8021DA10 0021A970 38 81 00 08 */ addi r4, r1, 8 /* 8021DA14 0021A974 B0 01 00 08 */ sth r0, 8(r1) /* 8021DA18 0021A978 4B E2 EB 5D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021DA1C 0021A97C 7C 64 1B 78 */ mr r4, r3 /* 8021DA20 0021A980 38 61 00 0C */ addi r3, r1, 0xc /* 8021DA24 0021A984 4B E9 19 29 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021DA28 0021A988 80 63 00 04 */ lwz r3, 4(r3) /* 8021DA2C 0021A98C 28 03 00 00 */ cmplwi r3, 0 /* 8021DA30 0021A990 41 82 00 08 */ beq lbl_8021DA38 /* 8021DA34 0021A994 93 E3 03 00 */ stw r31, 0x300(r3) lbl_8021DA38: /* 8021DA38 0021A998 3B BD 00 02 */ addi r29, r29, 2 lbl_8021DA3C: /* 8021DA3C 0021A99C 80 1B 09 F8 */ lwz r0, 0x9f8(r27) /* 8021DA40 0021A9A0 54 00 08 3C */ slwi r0, r0, 1 /* 8021DA44 0021A9A4 7C 1E 02 14 */ add r0, r30, r0 /* 8021DA48 0021A9A8 7C 1D 00 40 */ cmplw r29, r0 /* 8021DA4C 0021A9AC 40 82 FF BC */ bne lbl_8021DA08 /* 8021DA50 0021A9B0 38 00 00 00 */ li r0, 0 /* 8021DA54 0021A9B4 90 1B 0A 04 */ stw r0, 0xa04(r27) /* 8021DA58 0021A9B8 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8021DA5C 0021A9BC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021DA60 0021A9C0 7C 08 03 A6 */ mtlr r0 /* 8021DA64 0021A9C4 38 21 00 30 */ addi r1, r1, 0x30 /* 8021DA68 0021A9C8 4E 80 00 20 */ blr .global sub_8021da6c sub_8021da6c: /* 8021DA6C 0021A9CC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021DA70 0021A9D0 7C 08 02 A6 */ mflr r0 /* 8021DA74 0021A9D4 90 01 00 24 */ stw r0, 0x24(r1) /* 8021DA78 0021A9D8 DB E1 00 10 */ stfd f31, 0x10(r1) /* 8021DA7C 0021A9DC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 8021DA80 0021A9E0 93 E1 00 0C */ stw r31, 0xc(r1) /* 8021DA84 0021A9E4 93 C1 00 08 */ stw r30, 8(r1) /* 8021DA88 0021A9E8 88 03 0A 48 */ lbz r0, 0xa48(r3) /* 8021DA8C 0021A9EC FF E0 08 90 */ fmr f31, f1 /* 8021DA90 0021A9F0 7C 7E 1B 78 */ mr r30, r3 /* 8021DA94 0021A9F4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 8021DA98 0021A9F8 41 82 00 48 */ beq lbl_8021DAE0 /* 8021DA9C 0021A9FC 88 1E 04 00 */ lbz r0, 0x400(r30) /* 8021DAA0 0021AA00 3B E0 00 00 */ li r31, 0 /* 8021DAA4 0021AA04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8021DAA8 0021AA08 40 82 00 1C */ bne lbl_8021DAC4 /* 8021DAAC 0021AA0C 80 64 09 00 */ lwz r3, 0x900(r4) /* 8021DAB0 0021AA10 48 0F 4A 2D */ bl Float__9CRandom16Fv /* 8021DAB4 0021AA14 C0 02 B4 10 */ lfs f0, lbl_805AD130@sda21(r2) /* 8021DAB8 0021AA18 EC 00 07 F2 */ fmuls f0, f0, f31 /* 8021DABC 0021AA1C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021DAC0 0021AA20 40 80 00 08 */ bge lbl_8021DAC8 lbl_8021DAC4: /* 8021DAC4 0021AA24 3B E0 00 01 */ li r31, 1 lbl_8021DAC8: /* 8021DAC8 0021AA28 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 8021DACC 0021AA2C 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 /* 8021DAD0 0021AA30 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 8021DAD4 0021AA34 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 8021DAD8 0021AA38 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 8021DADC 0021AA3C 48 00 00 08 */ b lbl_8021DAE4 lbl_8021DAE0: /* 8021DAE0 0021AA40 38 60 00 00 */ li r3, 0 lbl_8021DAE4: /* 8021DAE4 0021AA44 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 8021DAE8 0021AA48 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021DAEC 0021AA4C CB E1 00 10 */ lfd f31, 0x10(r1) /* 8021DAF0 0021AA50 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8021DAF4 0021AA54 83 C1 00 08 */ lwz r30, 8(r1) /* 8021DAF8 0021AA58 7C 08 03 A6 */ mtlr r0 /* 8021DAFC 0021AA5C 38 21 00 20 */ addi r1, r1, 0x20 /* 8021DB00 0021AA60 4E 80 00 20 */ blr .global sub_8021db04 sub_8021db04: /* 8021DB04 0021AA64 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021DB08 0021AA68 7C 08 02 A6 */ mflr r0 /* 8021DB0C 0021AA6C 90 01 00 24 */ stw r0, 0x24(r1) /* 8021DB10 0021AA70 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021DB14 0021AA74 7C 9F 23 78 */ mr r31, r4 /* 8021DB18 0021AA78 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021DB1C 0021AA7C 7C 7E 1B 78 */ mr r30, r3 /* 8021DB20 0021AA80 88 03 04 00 */ lbz r0, 0x400(r3) /* 8021DB24 0021AA84 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8021DB28 0021AA88 41 82 00 5C */ beq lbl_8021DB84 /* 8021DB2C 0021AA8C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8021DB30 0021AA90 4B F1 D0 7D */ bl GetFallState__15CBodyControllerCFv /* 8021DB34 0021AA94 2C 03 00 00 */ cmpwi r3, 0 /* 8021DB38 0021AA98 41 82 00 4C */ beq lbl_8021DB84 /* 8021DB3C 0021AA9C 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 8021DB40 0021AAA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8021DB44 0021AAA4 40 82 00 40 */ bne lbl_8021DB84 /* 8021DB48 0021AAA8 3C 80 80 3D */ lis r4, lbl_803D31D0@ha /* 8021DB4C 0021AAAC 38 61 00 08 */ addi r3, r1, 8 /* 8021DB50 0021AAB0 38 84 31 D0 */ addi r4, r4, lbl_803D31D0@l /* 8021DB54 0021AAB4 38 84 00 4C */ addi r4, r4, 0x4c /* 8021DB58 0021AAB8 4B DE 71 61 */ bl string_l__4rstlFPCc /* 8021DB5C 0021AABC 7F C3 F3 78 */ mr r3, r30 /* 8021DB60 0021AAC0 4B E8 4D 99 */ bl GetStateMachine__3CAiFv /* 8021DB64 0021AAC4 7C 66 1B 78 */ mr r6, r3 /* 8021DB68 0021AAC8 7F E4 FB 78 */ mr r4, r31 /* 8021DB6C 0021AACC 7F C5 F3 78 */ mr r5, r30 /* 8021DB70 0021AAD0 38 7E 03 30 */ addi r3, r30, 0x330 /* 8021DB74 0021AAD4 38 E1 00 08 */ addi r7, r1, 8 /* 8021DB78 0021AAD8 4B E6 20 8D */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021DB7C 0021AADC 38 61 00 08 */ addi r3, r1, 8 /* 8021DB80 0021AAE0 48 11 FF 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021DB84: /* 8021DB84 0021AAE4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021DB88 0021AAE8 38 60 00 00 */ li r3, 0 /* 8021DB8C 0021AAEC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021DB90 0021AAF0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021DB94 0021AAF4 7C 08 03 A6 */ mtlr r0 /* 8021DB98 0021AAF8 38 21 00 20 */ addi r1, r1, 0x20 /* 8021DB9C 0021AAFC 4E 80 00 20 */ blr .global sub_8021dba0 sub_8021dba0: /* 8021DBA0 0021AB00 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8021DBA4 0021AB04 7C 08 02 A6 */ mflr r0 /* 8021DBA8 0021AB08 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8021DBAC 0021AB0C DB E1 00 90 */ stfd f31, 0x90(r1) /* 8021DBB0 0021AB10 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8021DBB4 0021AB14 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8021DBB8 0021AB18 93 C1 00 88 */ stw r30, 0x88(r1) /* 8021DBBC 0021AB1C 7C 7F 1B 78 */ mr r31, r3 /* 8021DBC0 0021AB20 FF E0 08 90 */ fmr f31, f1 /* 8021DBC4 0021AB24 80 03 05 68 */ lwz r0, 0x568(r3) /* 8021DBC8 0021AB28 7C 9E 23 78 */ mr r30, r4 /* 8021DBCC 0021AB2C 2C 00 00 03 */ cmpwi r0, 3 /* 8021DBD0 0021AB30 41 82 01 EC */ beq lbl_8021DDBC /* 8021DBD4 0021AB34 40 80 02 14 */ bge lbl_8021DDE8 /* 8021DBD8 0021AB38 2C 00 00 00 */ cmpwi r0, 0 /* 8021DBDC 0021AB3C 41 82 00 08 */ beq lbl_8021DBE4 /* 8021DBE0 0021AB40 48 00 02 08 */ b lbl_8021DDE8 lbl_8021DBE4: /* 8021DBE4 0021AB44 C0 1F 08 DC */ lfs f0, 0x8dc(r31) /* 8021DBE8 0021AB48 EC 00 F8 2A */ fadds f0, f0, f31 /* 8021DBEC 0021AB4C D0 1F 08 DC */ stfs f0, 0x8dc(r31) /* 8021DBF0 0021AB50 C0 3F 08 DC */ lfs f1, 0x8dc(r31) /* 8021DBF4 0021AB54 C0 1F 06 D0 */ lfs f0, 0x6d0(r31) /* 8021DBF8 0021AB58 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021DBFC 0021AB5C 40 80 01 B4 */ bge lbl_8021DDB0 /* 8021DC00 0021AB60 88 1F 0A 48 */ lbz r0, 0xa48(r31) /* 8021DC04 0021AB64 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8021DC08 0021AB68 40 82 00 B8 */ bne lbl_8021DCC0 /* 8021DC0C 0021AB6C 38 00 00 03 */ li r0, 3 /* 8021DC10 0021AB70 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 8021DC14 0021AB74 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021DC18 0021AB78 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l /* 8021DC1C 0021AB7C 3C 60 80 5A */ lis r3, skZero3f@ha /* 8021DC20 0021AB80 38 E0 00 05 */ li r7, 5 /* 8021DC24 0021AB84 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 8021DC28 0021AB88 38 A0 00 01 */ li r5, 1 /* 8021DC2C 0021AB8C 38 00 00 00 */ li r0, 0 /* 8021DC30 0021AB90 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 8021DC34 0021AB94 C0 23 00 04 */ lfs f1, 4(r3) /* 8021DC38 0021AB98 C0 03 00 08 */ lfs f0, 8(r3) /* 8021DC3C 0021AB9C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8021DC40 0021ABA0 90 C1 00 08 */ stw r6, 8(r1) /* 8021DC44 0021ABA4 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l /* 8021DC48 0021ABA8 3B E3 00 04 */ addi r31, r3, 4 /* 8021DC4C 0021ABAC 38 80 00 05 */ li r4, 5 /* 8021DC50 0021ABB0 90 E1 00 0C */ stw r7, 0xc(r1) /* 8021DC54 0021ABB4 7F E3 FB 78 */ mr r3, r31 /* 8021DC58 0021ABB8 90 C1 00 08 */ stw r6, 8(r1) /* 8021DC5C 0021ABBC 90 A1 00 10 */ stw r5, 0x10(r1) /* 8021DC60 0021ABC0 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8021DC64 0021ABC4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8021DC68 0021ABC8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8021DC6C 0021ABCC 98 01 00 20 */ stb r0, 0x20(r1) /* 8021DC70 0021ABD0 4B F1 37 C9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8021DC74 0021ABD4 80 01 00 0C */ lwz r0, 0xc(r1) /* 8021DC78 0021ABD8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 8021DC7C 0021ABDC 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 8021DC80 0021ABE0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021DC84 0021ABE4 90 1F 01 10 */ stw r0, 0x110(r31) /* 8021DC88 0021ABE8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8021DC8C 0021ABEC 80 61 00 10 */ lwz r3, 0x10(r1) /* 8021DC90 0021ABF0 80 A1 00 14 */ lwz r5, 0x14(r1) /* 8021DC94 0021ABF4 90 7F 01 14 */ stw r3, 0x114(r31) /* 8021DC98 0021ABF8 80 61 00 18 */ lwz r3, 0x18(r1) /* 8021DC9C 0021ABFC 90 BF 01 18 */ stw r5, 0x118(r31) /* 8021DCA0 0021AC00 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8021DCA4 0021AC04 90 7F 01 1C */ stw r3, 0x11c(r31) /* 8021DCA8 0021AC08 88 61 00 20 */ lbz r3, 0x20(r1) /* 8021DCAC 0021AC0C 90 BF 01 20 */ stw r5, 0x120(r31) /* 8021DCB0 0021AC10 90 81 00 08 */ stw r4, 8(r1) /* 8021DCB4 0021AC14 98 7F 01 24 */ stb r3, 0x124(r31) /* 8021DCB8 0021AC18 90 01 00 08 */ stw r0, 8(r1) /* 8021DCBC 0021AC1C 48 00 01 2C */ b lbl_8021DDE8 lbl_8021DCC0: /* 8021DCC0 0021AC20 7F E4 FB 78 */ mr r4, r31 /* 8021DCC4 0021AC24 38 61 00 24 */ addi r3, r1, 0x24 /* 8021DCC8 0021AC28 38 BF 09 F4 */ addi r5, r31, 0x9f4 /* 8021DCCC 0021AC2C 4B E5 AB ED */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 8021DCD0 0021AC30 38 61 00 54 */ addi r3, r1, 0x54 /* 8021DCD4 0021AC34 38 81 00 24 */ addi r4, r1, 0x24 /* 8021DCD8 0021AC38 48 0F 4E 9D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021DCDC 0021AC3C 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 8021DCE0 0021AC40 C0 01 00 70 */ lfs f0, 0x70(r1) /* 8021DCE4 0021AC44 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8021DCE8 0021AC48 C0 63 00 40 */ lfs f3, 0x40(r3) /* 8021DCEC 0021AC4C EC 01 00 28 */ fsubs f0, f1, f0 /* 8021DCF0 0021AC50 C0 41 00 60 */ lfs f2, 0x60(r1) /* 8021DCF4 0021AC54 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8021DCF8 0021AC58 EC 43 10 28 */ fsubs f2, f3, f2 /* 8021DCFC 0021AC5C C0 83 00 60 */ lfs f4, 0x60(r3) /* 8021DD00 0021AC60 EC 01 00 32 */ fmuls f0, f1, f0 /* 8021DD04 0021AC64 C0 61 00 80 */ lfs f3, 0x80(r1) /* 8021DD08 0021AC68 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 8021DD0C 0021AC6C EC 64 18 28 */ fsubs f3, f4, f3 /* 8021DD10 0021AC70 C0 9F 00 58 */ lfs f4, 0x58(r31) /* 8021DD14 0021AC74 EC 21 00 BA */ fmadds f1, f1, f2, f0 /* 8021DD18 0021AC78 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021DD1C 0021AC7C EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 8021DD20 0021AC80 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021DD24 0021AC84 40 81 00 80 */ ble lbl_8021DDA4 /* 8021DD28 0021AC88 7F E3 FB 78 */ mr r3, r31 /* 8021DD2C 0021AC8C 38 80 00 00 */ li r4, 0 /* 8021DD30 0021AC90 48 00 03 6D */ bl sub_8021e09c /* 8021DD34 0021AC94 7F E3 FB 78 */ mr r3, r31 /* 8021DD38 0021AC98 81 9F 00 00 */ lwz r12, 0(r31) /* 8021DD3C 0021AC9C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 8021DD40 0021ACA0 7D 89 03 A6 */ mtctr r12 /* 8021DD44 0021ACA4 4E 80 04 21 */ bctrl /* 8021DD48 0021ACA8 28 03 00 00 */ cmplwi r3, 0 /* 8021DD4C 0021ACAC 41 82 00 4C */ beq lbl_8021DD98 /* 8021DD50 0021ACB0 7F E3 FB 78 */ mr r3, r31 /* 8021DD54 0021ACB4 7F C4 F3 78 */ mr r4, r30 /* 8021DD58 0021ACB8 81 9F 00 00 */ lwz r12, 0(r31) /* 8021DD5C 0021ACBC C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 8021DD60 0021ACC0 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8021DD64 0021ACC4 7D 89 03 A6 */ mtctr r12 /* 8021DD68 0021ACC8 4E 80 04 21 */ bctrl /* 8021DD6C 0021ACCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021DD70 0021ACD0 40 82 00 28 */ bne lbl_8021DD98 /* 8021DD74 0021ACD4 FC 20 F8 90 */ fmr f1, f31 /* 8021DD78 0021ACD8 7F E3 FB 78 */ mr r3, r31 /* 8021DD7C 0021ACDC 7F C4 F3 78 */ mr r4, r30 /* 8021DD80 0021ACE0 38 A0 00 01 */ li r5, 1 /* 8021DD84 0021ACE4 4B FD 89 49 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8021DD88 0021ACE8 7F E3 FB 78 */ mr r3, r31 /* 8021DD8C 0021ACEC 7F C4 F3 78 */ mr r4, r30 /* 8021DD90 0021ACF0 48 00 00 79 */ bl sub_8021de08 /* 8021DD94 0021ACF4 48 00 00 54 */ b lbl_8021DDE8 lbl_8021DD98: /* 8021DD98 0021ACF8 38 00 00 04 */ li r0, 4 /* 8021DD9C 0021ACFC 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021DDA0 0021AD00 48 00 00 48 */ b lbl_8021DDE8 lbl_8021DDA4: /* 8021DDA4 0021AD04 38 00 00 04 */ li r0, 4 /* 8021DDA8 0021AD08 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021DDAC 0021AD0C 48 00 00 3C */ b lbl_8021DDE8 lbl_8021DDB0: /* 8021DDB0 0021AD10 38 00 00 04 */ li r0, 4 /* 8021DDB4 0021AD14 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021DDB8 0021AD18 48 00 00 30 */ b lbl_8021DDE8 lbl_8021DDBC: /* 8021DDBC 0021AD1C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8021DDC0 0021AD20 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 8021DDC4 0021AD24 2C 00 00 07 */ cmpwi r0, 7 /* 8021DDC8 0021AD28 41 82 00 10 */ beq lbl_8021DDD8 /* 8021DDCC 0021AD2C 38 00 00 04 */ li r0, 4 /* 8021DDD0 0021AD30 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021DDD4 0021AD34 48 00 00 14 */ b lbl_8021DDE8 lbl_8021DDD8: /* 8021DDD8 0021AD38 88 1F 0A 49 */ lbz r0, 0xa49(r31) /* 8021DDDC 0021AD3C 38 60 00 01 */ li r3, 1 /* 8021DDE0 0021AD40 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8021DDE4 0021AD44 98 1F 0A 49 */ stb r0, 0xa49(r31) lbl_8021DDE8: /* 8021DDE8 0021AD48 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 8021DDEC 0021AD4C 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021DDF0 0021AD50 CB E1 00 90 */ lfd f31, 0x90(r1) /* 8021DDF4 0021AD54 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8021DDF8 0021AD58 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8021DDFC 0021AD5C 7C 08 03 A6 */ mtlr r0 /* 8021DE00 0021AD60 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8021DE04 0021AD64 4E 80 00 20 */ blr .global sub_8021de08 sub_8021de08: /* 8021DE08 0021AD68 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8021DE0C 0021AD6C 7C 08 02 A6 */ mflr r0 /* 8021DE10 0021AD70 90 01 00 64 */ stw r0, 0x64(r1) /* 8021DE14 0021AD74 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8021DE18 0021AD78 7C 7F 1B 78 */ mr r31, r3 /* 8021DE1C 0021AD7C 93 C1 00 58 */ stw r30, 0x58(r1) /* 8021DE20 0021AD80 93 A1 00 54 */ stw r29, 0x54(r1) /* 8021DE24 0021AD84 93 81 00 50 */ stw r28, 0x50(r1) /* 8021DE28 0021AD88 83 A4 08 38 */ lwz r29, 0x838(r4) /* 8021DE2C 0021AD8C 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021DE30 0021AD90 3B C4 66 A0 */ addi r30, r4, skZero3f@l /* 8021DE34 0021AD94 AB 9D 20 08 */ lha r28, 0x2008(r29) /* 8021DE38 0021AD98 48 00 01 04 */ b lbl_8021DF3C lbl_8021DE3C: /* 8021DE3C 0021AD9C 7F A3 EB 78 */ mr r3, r29 /* 8021DE40 0021ADA0 7F 84 E3 78 */ mr r4, r28 /* 8021DE44 0021ADA4 4B DF 1E 99 */ bl __vc__11CObjectListCFi /* 8021DE48 0021ADA8 7C 64 1B 78 */ mr r4, r3 /* 8021DE4C 0021ADAC 38 61 00 08 */ addi r3, r1, 8 /* 8021DE50 0021ADB0 4B E8 EC 0D */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 8021DE54 0021ADB4 80 83 00 04 */ lwz r4, 4(r3) /* 8021DE58 0021ADB8 28 04 00 00 */ cmplwi r4, 0 /* 8021DE5C 0021ADBC 41 82 00 C4 */ beq lbl_8021DF20 /* 8021DE60 0021ADC0 7C 04 F8 40 */ cmplw r4, r31 /* 8021DE64 0021ADC4 41 82 00 BC */ beq lbl_8021DF20 /* 8021DE68 0021ADC8 80 64 00 04 */ lwz r3, 4(r4) /* 8021DE6C 0021ADCC 80 1F 00 04 */ lwz r0, 4(r31) /* 8021DE70 0021ADD0 7C 03 00 00 */ cmpw r3, r0 /* 8021DE74 0021ADD4 40 82 00 AC */ bne lbl_8021DF20 /* 8021DE78 0021ADD8 C0 64 00 60 */ lfs f3, 0x60(r4) /* 8021DE7C 0021ADDC 7F E5 FB 78 */ mr r5, r31 /* 8021DE80 0021ADE0 C0 44 00 50 */ lfs f2, 0x50(r4) /* 8021DE84 0021ADE4 38 61 00 1C */ addi r3, r1, 0x1c /* 8021DE88 0021ADE8 C0 04 00 40 */ lfs f0, 0x40(r4) /* 8021DE8C 0021ADEC 38 9F 04 5C */ addi r4, r31, 0x45c /* 8021DE90 0021ADF0 C0 22 B4 14 */ lfs f1, lbl_805AD134@sda21(r2) /* 8021DE94 0021ADF4 38 C1 00 10 */ addi r6, r1, 0x10 /* 8021DE98 0021ADF8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8021DE9C 0021ADFC D0 41 00 14 */ stfs f2, 0x14(r1) /* 8021DEA0 0021AE00 D0 61 00 18 */ stfs f3, 0x18(r1) /* 8021DEA4 0021AE04 4B F2 0A 4D */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 8021DEA8 0021AE08 C0 C1 00 1C */ lfs f6, 0x1c(r1) /* 8021DEAC 0021AE0C 38 00 00 00 */ li r0, 0 /* 8021DEB0 0021AE10 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021DEB4 0021AE14 C0 81 00 20 */ lfs f4, 0x20(r1) /* 8021DEB8 0021AE18 FC 00 30 00 */ fcmpu cr0, f0, f6 /* 8021DEBC 0021AE1C C0 A1 00 24 */ lfs f5, 0x24(r1) /* 8021DEC0 0021AE20 40 82 00 14 */ bne lbl_8021DED4 /* 8021DEC4 0021AE24 FC 00 20 00 */ fcmpu cr0, f0, f4 /* 8021DEC8 0021AE28 40 82 00 0C */ bne lbl_8021DED4 /* 8021DECC 0021AE2C FC 00 28 00 */ fcmpu cr0, f0, f5 /* 8021DED0 0021AE30 41 82 00 08 */ beq lbl_8021DED8 lbl_8021DED4: /* 8021DED4 0021AE34 38 00 00 01 */ li r0, 1 lbl_8021DED8: /* 8021DED8 0021AE38 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8021DEDC 0021AE3C 41 82 00 44 */ beq lbl_8021DF20 /* 8021DEE0 0021AE40 3C 60 80 5A */ lis r3, skZero3f@ha /* 8021DEE4 0021AE44 C0 5E 00 04 */ lfs f2, 4(r30) /* 8021DEE8 0021AE48 C0 3E 00 08 */ lfs f1, 8(r30) /* 8021DEEC 0021AE4C 38 81 00 28 */ addi r4, r1, 0x28 /* 8021DEF0 0021AE50 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) /* 8021DEF4 0021AE54 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 8021DEF8 0021AE58 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 8021DEFC 0021AE5C D0 81 00 2C */ stfs f4, 0x2c(r1) /* 8021DF00 0021AE60 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 8021DF04 0021AE64 D0 61 00 34 */ stfs f3, 0x34(r1) /* 8021DF08 0021AE68 D0 41 00 38 */ stfs f2, 0x38(r1) /* 8021DF0C 0021AE6C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8021DF10 0021AE70 D0 01 00 40 */ stfs f0, 0x40(r1) /* 8021DF14 0021AE74 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8021DF18 0021AE78 38 63 00 04 */ addi r3, r3, 4 /* 8021DF1C 0021AE7C 4B F1 37 FD */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_8021DF20: /* 8021DF20 0021AE80 2C 1C FF FF */ cmpwi r28, -1 /* 8021DF24 0021AE84 41 82 00 14 */ beq lbl_8021DF38 /* 8021DF28 0021AE88 57 83 18 38 */ slwi r3, r28, 3 /* 8021DF2C 0021AE8C 38 03 00 08 */ addi r0, r3, 8 /* 8021DF30 0021AE90 7F 9D 02 AE */ lhax r28, r29, r0 /* 8021DF34 0021AE94 48 00 00 08 */ b lbl_8021DF3C lbl_8021DF38: /* 8021DF38 0021AE98 3B 80 FF FF */ li r28, -1 lbl_8021DF3C: /* 8021DF3C 0021AE9C 2C 1C FF FF */ cmpwi r28, -1 /* 8021DF40 0021AEA0 40 82 FE FC */ bne lbl_8021DE3C /* 8021DF44 0021AEA4 80 01 00 64 */ lwz r0, 0x64(r1) /* 8021DF48 0021AEA8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8021DF4C 0021AEAC 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8021DF50 0021AEB0 83 A1 00 54 */ lwz r29, 0x54(r1) /* 8021DF54 0021AEB4 83 81 00 50 */ lwz r28, 0x50(r1) /* 8021DF58 0021AEB8 7C 08 03 A6 */ mtlr r0 /* 8021DF5C 0021AEBC 38 21 00 60 */ addi r1, r1, 0x60 /* 8021DF60 0021AEC0 4E 80 00 20 */ blr .global sub_8021df64 sub_8021df64: /* 8021DF64 0021AEC4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021DF68 0021AEC8 7C 08 02 A6 */ mflr r0 /* 8021DF6C 0021AECC 90 01 00 24 */ stw r0, 0x24(r1) /* 8021DF70 0021AED0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021DF74 0021AED4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021DF78 0021AED8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8021DF7C 0021AEDC 7C 7D 1B 78 */ mr r29, r3 /* 8021DF80 0021AEE0 83 E4 08 38 */ lwz r31, 0x838(r4) /* 8021DF84 0021AEE4 AB DF 20 08 */ lha r30, 0x2008(r31) /* 8021DF88 0021AEE8 48 00 00 A4 */ b lbl_8021E02C lbl_8021DF8C: /* 8021DF8C 0021AEEC 7F E3 FB 78 */ mr r3, r31 /* 8021DF90 0021AEF0 7F C4 F3 78 */ mr r4, r30 /* 8021DF94 0021AEF4 4B DF 1D 49 */ bl __vc__11CObjectListCFi /* 8021DF98 0021AEF8 7C 64 1B 78 */ mr r4, r3 /* 8021DF9C 0021AEFC 38 61 00 08 */ addi r3, r1, 8 /* 8021DFA0 0021AF00 4B E8 EA BD */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 8021DFA4 0021AF04 80 83 00 04 */ lwz r4, 4(r3) /* 8021DFA8 0021AF08 28 04 00 00 */ cmplwi r4, 0 /* 8021DFAC 0021AF0C 41 82 00 64 */ beq lbl_8021E010 /* 8021DFB0 0021AF10 7C 04 E8 40 */ cmplw r4, r29 /* 8021DFB4 0021AF14 41 82 00 5C */ beq lbl_8021E010 /* 8021DFB8 0021AF18 80 64 00 04 */ lwz r3, 4(r4) /* 8021DFBC 0021AF1C 80 1D 00 04 */ lwz r0, 4(r29) /* 8021DFC0 0021AF20 7C 03 00 00 */ cmpw r3, r0 /* 8021DFC4 0021AF24 40 82 00 4C */ bne lbl_8021E010 /* 8021DFC8 0021AF28 C0 3D 08 BC */ lfs f1, 0x8bc(r29) /* 8021DFCC 0021AF2C C0 04 00 50 */ lfs f0, 0x50(r4) /* 8021DFD0 0021AF30 C0 7D 08 B8 */ lfs f3, 0x8b8(r29) /* 8021DFD4 0021AF34 EC 21 00 28 */ fsubs f1, f1, f0 /* 8021DFD8 0021AF38 C0 04 00 40 */ lfs f0, 0x40(r4) /* 8021DFDC 0021AF3C C0 5D 08 C0 */ lfs f2, 0x8c0(r29) /* 8021DFE0 0021AF40 EC 63 00 28 */ fsubs f3, f3, f0 /* 8021DFE4 0021AF44 C0 04 00 60 */ lfs f0, 0x60(r4) /* 8021DFE8 0021AF48 EC 21 00 72 */ fmuls f1, f1, f1 /* 8021DFEC 0021AF4C EC 42 00 28 */ fsubs f2, f2, f0 /* 8021DFF0 0021AF50 C0 02 B4 00 */ lfs f0, lbl_805AD120@sda21(r2) /* 8021DFF4 0021AF54 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 8021DFF8 0021AF58 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8021DFFC 0021AF5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021E000 0021AF60 4C 40 13 82 */ cror 2, 0, 2 /* 8021E004 0021AF64 40 82 00 0C */ bne lbl_8021E010 /* 8021E008 0021AF68 38 60 00 01 */ li r3, 1 /* 8021E00C 0021AF6C 48 00 00 2C */ b lbl_8021E038 lbl_8021E010: /* 8021E010 0021AF70 2C 1E FF FF */ cmpwi r30, -1 /* 8021E014 0021AF74 41 82 00 14 */ beq lbl_8021E028 /* 8021E018 0021AF78 57 C3 18 38 */ slwi r3, r30, 3 /* 8021E01C 0021AF7C 38 03 00 08 */ addi r0, r3, 8 /* 8021E020 0021AF80 7F DF 02 AE */ lhax r30, r31, r0 /* 8021E024 0021AF84 48 00 00 08 */ b lbl_8021E02C lbl_8021E028: /* 8021E028 0021AF88 3B C0 FF FF */ li r30, -1 lbl_8021E02C: /* 8021E02C 0021AF8C 2C 1E FF FF */ cmpwi r30, -1 /* 8021E030 0021AF90 40 82 FF 5C */ bne lbl_8021DF8C /* 8021E034 0021AF94 38 60 00 00 */ li r3, 0 lbl_8021E038: /* 8021E038 0021AF98 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021E03C 0021AF9C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021E040 0021AFA0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021E044 0021AFA4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8021E048 0021AFA8 7C 08 03 A6 */ mtlr r0 /* 8021E04C 0021AFAC 38 21 00 20 */ addi r1, r1, 0x20 /* 8021E050 0021AFB0 4E 80 00 20 */ blr .global GetCollisionResponseType__9CBabygothCFRC9CVector3fRC9CVector3fRC11CWeaponModei GetCollisionResponseType__9CBabygothCFRC9CVector3fRC9CVector3fRC11CWeaponModei: /* 8021E054 0021AFB4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8021E058 0021AFB8 7C 08 02 A6 */ mflr r0 /* 8021E05C 0021AFBC 90 01 00 14 */ stw r0, 0x14(r1) /* 8021E060 0021AFC0 80 06 00 00 */ lwz r0, 0(r6) /* 8021E064 0021AFC4 2C 00 00 01 */ cmpwi r0, 1 /* 8021E068 0021AFC8 40 82 00 0C */ bne lbl_8021E074 /* 8021E06C 0021AFCC 38 60 00 00 */ li r3, 0 /* 8021E070 0021AFD0 48 00 00 1C */ b lbl_8021E08C lbl_8021E074: /* 8021E074 0021AFD4 80 03 05 6C */ lwz r0, 0x56c(r3) /* 8021E078 0021AFD8 2C 00 00 03 */ cmpwi r0, 3 /* 8021E07C 0021AFDC 41 82 00 0C */ beq lbl_8021E088 /* 8021E080 0021AFE0 38 60 00 42 */ li r3, 0x42 /* 8021E084 0021AFE4 48 00 00 08 */ b lbl_8021E08C lbl_8021E088: /* 8021E088 0021AFE8 4B E5 99 2D */ bl GetCollisionResponseType__10CPatternedCFRC9CVector3fRC9CVector3fRC11CWeaponModei lbl_8021E08C: /* 8021E08C 0021AFEC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021E090 0021AFF0 7C 08 03 A6 */ mtlr r0 /* 8021E094 0021AFF4 38 21 00 10 */ addi r1, r1, 0x10 /* 8021E098 0021AFF8 4E 80 00 20 */ blr .global sub_8021e09c sub_8021e09c: /* 8021E09C 0021AFFC 90 83 08 B4 */ stw r4, 0x8b4(r3) /* 8021E0A0 0021B000 4E 80 00 20 */ blr .global sub_8021e0a4 sub_8021e0a4: /* 8021E0A4 0021B004 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8021E0A8 0021B008 7C 08 02 A6 */ mflr r0 /* 8021E0AC 0021B00C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8021E0B0 0021B010 DB E1 00 98 */ stfd f31, 0x98(r1) /* 8021E0B4 0021B014 FF E0 08 90 */ fmr f31, f1 /* 8021E0B8 0021B018 93 E1 00 94 */ stw r31, 0x94(r1) /* 8021E0BC 0021B01C 93 C1 00 90 */ stw r30, 0x90(r1) /* 8021E0C0 0021B020 7C 9E 23 78 */ mr r30, r4 /* 8021E0C4 0021B024 38 81 00 08 */ addi r4, r1, 8 /* 8021E0C8 0021B028 93 A1 00 8C */ stw r29, 0x8c(r1) /* 8021E0CC 0021B02C 7C 7D 1B 78 */ mr r29, r3 /* 8021E0D0 0021B030 A0 03 09 80 */ lhz r0, 0x980(r3) /* 8021E0D4 0021B034 7F C3 F3 78 */ mr r3, r30 /* 8021E0D8 0021B038 B0 01 00 08 */ sth r0, 8(r1) /* 8021E0DC 0021B03C 4B E2 E4 99 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E0E0 0021B040 7C 7F 1B 79 */ or. r31, r3, r3 /* 8021E0E4 0021B044 41 82 00 5C */ beq lbl_8021E140 /* 8021E0E8 0021B048 88 1F 00 30 */ lbz r0, 0x30(r31) /* 8021E0EC 0021B04C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8021E0F0 0021B050 41 82 00 50 */ beq lbl_8021E140 /* 8021E0F4 0021B054 3C 80 80 3D */ lis r4, lbl_803D31D0@ha /* 8021E0F8 0021B058 38 61 00 0C */ addi r3, r1, 0xc /* 8021E0FC 0021B05C 38 84 31 D0 */ addi r4, r4, lbl_803D31D0@l /* 8021E100 0021B060 38 84 00 0E */ addi r4, r4, 0xe /* 8021E104 0021B064 4B DE 6B B5 */ bl string_l__4rstlFPCc /* 8021E108 0021B068 7F A4 EB 78 */ mr r4, r29 /* 8021E10C 0021B06C 38 61 00 1C */ addi r3, r1, 0x1c /* 8021E110 0021B070 38 A1 00 0C */ addi r5, r1, 0xc /* 8021E114 0021B074 4B E5 A8 65 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021E118 0021B078 38 61 00 4C */ addi r3, r1, 0x4c /* 8021E11C 0021B07C 38 81 00 1C */ addi r4, r1, 0x1c /* 8021E120 0021B080 48 0F 4A 55 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8021E124 0021B084 38 61 00 0C */ addi r3, r1, 0xc /* 8021E128 0021B088 48 11 F9 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021E12C 0021B08C FC 20 F8 90 */ fmr f1, f31 /* 8021E130 0021B090 7F E3 FB 78 */ mr r3, r31 /* 8021E134 0021B094 7F C5 F3 78 */ mr r5, r30 /* 8021E138 0021B098 38 81 00 4C */ addi r4, r1, 0x4c /* 8021E13C 0021B09C 4B F7 A2 C5 */ bl SetTransform__13CFlameThrowerFRC12CTransform4f lbl_8021E140: /* 8021E140 0021B0A0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8021E144 0021B0A4 CB E1 00 98 */ lfd f31, 0x98(r1) /* 8021E148 0021B0A8 83 E1 00 94 */ lwz r31, 0x94(r1) /* 8021E14C 0021B0AC 83 C1 00 90 */ lwz r30, 0x90(r1) /* 8021E150 0021B0B0 83 A1 00 8C */ lwz r29, 0x8c(r1) /* 8021E154 0021B0B4 7C 08 03 A6 */ mtlr r0 /* 8021E158 0021B0B8 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8021E15C 0021B0BC 4E 80 00 20 */ blr .global sub_8021e160 sub_8021e160: /* 8021E160 0021B0C0 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8021E164 0021B0C4 7C 08 02 A6 */ mflr r0 /* 8021E168 0021B0C8 90 01 00 94 */ stw r0, 0x94(r1) /* 8021E16C 0021B0CC BF 21 00 74 */ stmw r25, 0x74(r1) /* 8021E170 0021B0D0 7C 7E 1B 78 */ mr r30, r3 /* 8021E174 0021B0D4 7C 9F 23 78 */ mr r31, r4 /* 8021E178 0021B0D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8021E17C 0021B0DC A0 63 09 80 */ lhz r3, 0x980(r3) /* 8021E180 0021B0E0 7C 03 00 40 */ cmplw r3, r0 /* 8021E184 0021B0E4 40 82 01 2C */ bne lbl_8021E2B0 /* 8021E188 0021B0E8 80 FE 05 B8 */ lwz r7, 0x5b8(r30) /* 8021E18C 0021B0EC 38 C0 00 06 */ li r6, 6 /* 8021E190 0021B0F0 C0 42 B4 1C */ lfs f2, lbl_805AD13C@sda21(r2) /* 8021E194 0021B0F4 38 A0 00 04 */ li r5, 4 /* 8021E198 0021B0F8 C0 22 B4 20 */ lfs f1, lbl_805AD140@sda21(r2) /* 8021E19C 0021B0FC 38 00 00 0F */ li r0, 0xf /* 8021E1A0 0021B100 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 8021E1A4 0021B104 38 61 00 34 */ addi r3, r1, 0x34 /* 8021E1A8 0021B108 90 C1 00 50 */ stw r6, 0x50(r1) /* 8021E1AC 0021B10C 90 A1 00 54 */ stw r5, 0x54(r1) /* 8021E1B0 0021B110 90 E1 00 58 */ stw r7, 0x58(r1) /* 8021E1B4 0021B114 90 01 00 5C */ stw r0, 0x5c(r1) /* 8021E1B8 0021B118 D0 41 00 60 */ stfs f2, 0x60(r1) /* 8021E1BC 0021B11C D0 21 00 68 */ stfs f1, 0x68(r1) /* 8021E1C0 0021B120 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8021E1C4 0021B124 4B E2 EF 19 */ bl AllocateUniqueId__13CStateManagerFv /* 8021E1C8 0021B128 A0 01 00 34 */ lhz r0, 0x34(r1) /* 8021E1CC 0021B12C 3C 60 80 3D */ lis r3, lbl_803D31D0@ha /* 8021E1D0 0021B130 38 63 31 D0 */ addi r3, r3, lbl_803D31D0@l /* 8021E1D4 0021B134 3B 20 00 00 */ li r25, 0 /* 8021E1D8 0021B138 B0 1E 09 80 */ sth r0, 0x980(r30) /* 8021E1DC 0021B13C 38 83 00 2D */ addi r4, r3, 0x2d /* 8021E1E0 0021B140 38 60 04 08 */ li r3, 0x408 /* 8021E1E4 0021B144 38 A0 00 00 */ li r5, 0 /* 8021E1E8 0021B148 48 0F 76 85 */ bl __nw__FUlPCcPCc /* 8021E1EC 0021B14C 7C 7D 1B 79 */ or. r29, r3, r3 /* 8021E1F0 0021B150 41 82 00 A0 */ beq lbl_8021E290 /* 8021E1F4 0021B154 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021E1F8 0021B158 3C 60 80 3D */ lis r3, lbl_803D31D0@ha /* 8021E1FC 0021B15C 83 9E 06 E4 */ lwz r28, 0x6e4(r30) /* 8021E200 0021B160 38 83 31 D0 */ addi r4, r3, lbl_803D31D0@l /* 8021E204 0021B164 A3 7E 06 E0 */ lhz r27, 0x6e0(r30) /* 8021E208 0021B168 38 61 00 40 */ addi r3, r1, 0x40 /* 8021E20C 0021B16C 83 5E 06 DC */ lwz r26, 0x6dc(r30) /* 8021E210 0021B170 38 84 00 52 */ addi r4, r4, 0x52 /* 8021E214 0021B174 B0 01 00 2C */ sth r0, 0x2c(r1) /* 8021E218 0021B178 B0 01 00 30 */ sth r0, 0x30(r1) /* 8021E21C 0021B17C 80 BE 00 04 */ lwz r5, 4(r30) /* 8021E220 0021B180 90 A1 00 3C */ stw r5, 0x3c(r1) /* 8021E224 0021B184 A0 1E 09 80 */ lhz r0, 0x980(r30) /* 8021E228 0021B188 90 A1 00 38 */ stw r5, 0x38(r1) /* 8021E22C 0021B18C B0 01 00 28 */ sth r0, 0x28(r1) /* 8021E230 0021B190 4B DE 6A 89 */ bl string_l__4rstlFPCc /* 8021E234 0021B194 38 01 00 28 */ addi r0, r1, 0x28 /* 8021E238 0021B198 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8021E23C 0021B19C 90 01 00 08 */ stw r0, 8(r1) /* 8021E240 0021B1A0 38 01 00 3C */ addi r0, r1, 0x3c /* 8021E244 0021B1A4 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 8021E248 0021B1A8 38 81 00 30 */ addi r4, r1, 0x30 /* 8021E24C 0021B1AC 90 01 00 0C */ stw r0, 0xc(r1) /* 8021E250 0021B1B0 38 00 00 00 */ li r0, 0 /* 8021E254 0021B1B4 7F A3 EB 78 */ mr r3, r29 /* 8021E258 0021B1B8 38 A1 00 40 */ addi r5, r1, 0x40 /* 8021E25C 0021B1BC 90 81 00 10 */ stw r4, 0x10(r1) /* 8021E260 0021B1C0 38 9E 09 84 */ addi r4, r30, 0x984 /* 8021E264 0021B1C4 38 E1 00 50 */ addi r7, r1, 0x50 /* 8021E268 0021B1C8 39 5E 05 BC */ addi r10, r30, 0x5bc /* 8021E26C 0021B1CC 90 01 00 14 */ stw r0, 0x14(r1) /* 8021E270 0021B1D0 3B 20 00 01 */ li r25, 1 /* 8021E274 0021B1D4 38 C0 00 03 */ li r6, 3 /* 8021E278 0021B1D8 39 20 00 2F */ li r9, 0x2f /* 8021E27C 0021B1DC 93 41 00 18 */ stw r26, 0x18(r1) /* 8021E280 0021B1E0 93 61 00 1C */ stw r27, 0x1c(r1) /* 8021E284 0021B1E4 93 81 00 20 */ stw r28, 0x20(r1) /* 8021E288 0021B1E8 4B F7 A8 69 */ bl "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi" /* 8021E28C 0021B1EC 7C 7D 1B 78 */ mr r29, r3 lbl_8021E290: /* 8021E290 0021B1F0 7F 20 07 75 */ extsb. r0, r25 /* 8021E294 0021B1F4 7F BA EB 78 */ mr r26, r29 /* 8021E298 0021B1F8 41 82 00 0C */ beq lbl_8021E2A4 /* 8021E29C 0021B1FC 38 61 00 40 */ addi r3, r1, 0x40 /* 8021E2A0 0021B200 48 11 F8 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021E2A4: /* 8021E2A4 0021B204 7F E3 FB 78 */ mr r3, r31 /* 8021E2A8 0021B208 7F 44 D3 78 */ mr r4, r26 /* 8021E2AC 0021B20C 4B E2 E8 69 */ bl AddObject__13CStateManagerFR7CEntity lbl_8021E2B0: /* 8021E2B0 0021B210 BB 21 00 74 */ lmw r25, 0x74(r1) /* 8021E2B4 0021B214 80 01 00 94 */ lwz r0, 0x94(r1) /* 8021E2B8 0021B218 7C 08 03 A6 */ mtlr r0 /* 8021E2BC 0021B21C 38 21 00 90 */ addi r1, r1, 0x90 /* 8021E2C0 0021B220 4E 80 00 20 */ blr .global sub_8021e2c4 sub_8021e2c4: /* 8021E2C4 0021B224 88 03 0A 49 */ lbz r0, 0xa49(r3) /* 8021E2C8 0021B228 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8021E2CC 0021B22C 41 82 00 0C */ beq lbl_8021E2D8 /* 8021E2D0 0021B230 C0 62 B4 24 */ lfs f3, lbl_805AD144@sda21(r2) /* 8021E2D4 0021B234 48 00 00 08 */ b lbl_8021E2DC lbl_8021E2D8: /* 8021E2D8 0021B238 C0 62 B4 18 */ lfs f3, lbl_805AD138@sda21(r2) lbl_8021E2DC: /* 8021E2DC 0021B23C C0 43 08 D8 */ lfs f2, 0x8d8(r3) /* 8021E2E0 0021B240 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E2E4 0021B244 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8021E2E8 0021B248 40 81 00 0C */ ble lbl_8021E2F4 /* 8021E2EC 0021B24C EC 01 10 FC */ fnmsubs f0, f1, f3, f2 /* 8021E2F0 0021B250 D0 03 08 D8 */ stfs f0, 0x8d8(r3) lbl_8021E2F4: /* 8021E2F4 0021B254 C0 43 08 E4 */ lfs f2, 0x8e4(r3) /* 8021E2F8 0021B258 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E2FC 0021B25C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8021E300 0021B260 40 81 00 0C */ ble lbl_8021E30C /* 8021E304 0021B264 EC 01 10 FC */ fnmsubs f0, f1, f3, f2 /* 8021E308 0021B268 D0 03 08 E4 */ stfs f0, 0x8e4(r3) lbl_8021E30C: /* 8021E30C 0021B26C C0 43 08 E0 */ lfs f2, 0x8e0(r3) /* 8021E310 0021B270 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E314 0021B274 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8021E318 0021B278 40 81 00 0C */ ble lbl_8021E324 /* 8021E31C 0021B27C EC 02 08 28 */ fsubs f0, f2, f1 /* 8021E320 0021B280 D0 03 08 E0 */ stfs f0, 0x8e0(r3) lbl_8021E324: /* 8021E324 0021B284 C0 43 08 E8 */ lfs f2, 0x8e8(r3) /* 8021E328 0021B288 C0 03 06 D8 */ lfs f0, 0x6d8(r3) /* 8021E32C 0021B28C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8021E330 0021B290 4C 80 00 20 */ bgelr /* 8021E334 0021B294 EC 02 08 2A */ fadds f0, f2, f1 /* 8021E338 0021B298 D0 03 08 E8 */ stfs f0, 0x8e8(r3) /* 8021E33C 0021B29C 4E 80 00 20 */ blr .global sub_8021e340 sub_8021e340: /* 8021E340 0021B2A0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8021E344 0021B2A4 7C 08 02 A6 */ mflr r0 /* 8021E348 0021B2A8 90 01 00 44 */ stw r0, 0x44(r1) /* 8021E34C 0021B2AC DB E1 00 30 */ stfd f31, 0x30(r1) /* 8021E350 0021B2B0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8021E354 0021B2B4 DB C1 00 20 */ stfd f30, 0x20(r1) /* 8021E358 0021B2B8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 8021E35C 0021B2BC DB A1 00 10 */ stfd f29, 0x10(r1) /* 8021E360 0021B2C0 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 /* 8021E364 0021B2C4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8021E368 0021B2C8 93 C1 00 08 */ stw r30, 8(r1) /* 8021E36C 0021B2CC 7C 7E 1B 78 */ mr r30, r3 /* 8021E370 0021B2D0 7C 9F 23 78 */ mr r31, r4 /* 8021E374 0021B2D4 80 03 05 6C */ lwz r0, 0x56c(r3) /* 8021E378 0021B2D8 2C 00 00 03 */ cmpwi r0, 3 /* 8021E37C 0021B2DC 40 82 00 0C */ bne lbl_8021E388 /* 8021E380 0021B2E0 C3 E2 B4 28 */ lfs f31, lbl_805AD148@sda21(r2) /* 8021E384 0021B2E4 48 00 00 08 */ b lbl_8021E38C lbl_8021E388: /* 8021E388 0021B2E8 C3 E2 B4 18 */ lfs f31, lbl_805AD138@sda21(r2) lbl_8021E38C: /* 8021E38C 0021B2EC 80 7F 09 00 */ lwz r3, 0x900(r31) /* 8021E390 0021B2F0 48 0F 41 4D */ bl Float__9CRandom16Fv /* 8021E394 0021B2F4 C0 5E 03 08 */ lfs f2, 0x308(r30) /* 8021E398 0021B2F8 C0 1E 03 04 */ lfs f0, 0x304(r30) /* 8021E39C 0021B2FC EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 8021E3A0 0021B300 EC 1F 00 32 */ fmuls f0, f31, f0 /* 8021E3A4 0021B304 D0 1E 08 D8 */ stfs f0, 0x8d8(r30) /* 8021E3A8 0021B308 C3 DE 05 74 */ lfs f30, 0x574(r30) /* 8021E3AC 0021B30C C3 BE 05 70 */ lfs f29, 0x570(r30) /* 8021E3B0 0021B310 80 7F 09 00 */ lwz r3, 0x900(r31) /* 8021E3B4 0021B314 48 0F 41 29 */ bl Float__9CRandom16Fv /* 8021E3B8 0021B318 EC 01 EF BA */ fmadds f0, f1, f30, f29 /* 8021E3BC 0021B31C EC 1F 00 32 */ fmuls f0, f31, f0 /* 8021E3C0 0021B320 D0 1E 08 E4 */ stfs f0, 0x8e4(r30) /* 8021E3C4 0021B324 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8021E3C8 0021B328 CB E1 00 30 */ lfd f31, 0x30(r1) /* 8021E3CC 0021B32C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 8021E3D0 0021B330 CB C1 00 20 */ lfd f30, 0x20(r1) /* 8021E3D4 0021B334 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 /* 8021E3D8 0021B338 CB A1 00 10 */ lfd f29, 0x10(r1) /* 8021E3DC 0021B33C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8021E3E0 0021B340 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021E3E4 0021B344 83 C1 00 08 */ lwz r30, 8(r1) /* 8021E3E8 0021B348 7C 08 03 A6 */ mtlr r0 /* 8021E3EC 0021B34C 38 21 00 40 */ addi r1, r1, 0x40 /* 8021E3F0 0021B350 4E 80 00 20 */ blr .global sub_8021e3f4 sub_8021e3f4: /* 8021E3F4 0021B354 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8021E3F8 0021B358 7C 08 02 A6 */ mflr r0 /* 8021E3FC 0021B35C 90 01 00 74 */ stw r0, 0x74(r1) /* 8021E400 0021B360 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8021E404 0021B364 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8021E408 0021B368 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8021E40C 0021B36C 93 C1 00 58 */ stw r30, 0x58(r1) /* 8021E410 0021B370 93 A1 00 54 */ stw r29, 0x54(r1) /* 8021E414 0021B374 93 81 00 50 */ stw r28, 0x50(r1) /* 8021E418 0021B378 7C 7D 1B 78 */ mr r29, r3 /* 8021E41C 0021B37C C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E420 0021B380 C0 23 0A 00 */ lfs f1, 0xa00(r3) /* 8021E424 0021B384 7C 9E 23 78 */ mr r30, r4 /* 8021E428 0021B388 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021E42C 0021B38C 40 81 02 B4 */ ble lbl_8021E6E0 /* 8021E430 0021B390 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8021E434 0021B394 7F C3 F3 78 */ mr r3, r30 /* 8021E438 0021B398 38 81 00 14 */ addi r4, r1, 0x14 /* 8021E43C 0021B39C A0 1D 09 F6 */ lhz r0, 0x9f6(r29) /* 8021E440 0021B3A0 B0 01 00 14 */ sth r0, 0x14(r1) /* 8021E444 0021B3A4 4B E2 E1 31 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E448 0021B3A8 7C 64 1B 78 */ mr r4, r3 /* 8021E44C 0021B3AC 38 61 00 3C */ addi r3, r1, 0x3c /* 8021E450 0021B3B0 4B E9 0E FD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E454 0021B3B4 80 63 00 04 */ lwz r3, 4(r3) /* 8021E458 0021B3B8 28 03 00 00 */ cmplwi r3, 0 /* 8021E45C 0021B3BC 41 82 00 3C */ beq lbl_8021E498 /* 8021E460 0021B3C0 81 83 00 00 */ lwz r12, 0(r3) /* 8021E464 0021B3C4 7F C4 F3 78 */ mr r4, r30 /* 8021E468 0021B3C8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E46C 0021B3CC 7D 89 03 A6 */ mtctr r12 /* 8021E470 0021B3D0 4E 80 04 21 */ bctrl /* 8021E474 0021B3D4 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E478 0021B3D8 38 61 00 20 */ addi r3, r1, 0x20 /* 8021E47C 0021B3DC C0 3D 06 B0 */ lfs f1, 0x6b0(r29) /* 8021E480 0021B3E0 38 81 00 1C */ addi r4, r1, 0x1c /* 8021E484 0021B3E4 EC 01 00 28 */ fsubs f0, f1, f0 /* 8021E488 0021B3E8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8021E48C 0021B3EC 4B E3 12 A5 */ bl "Max__5CMathFRCfRCf" /* 8021E490 0021B3F0 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E494 0021B3F4 D0 01 00 20 */ stfs f0, 0x20(r1) lbl_8021E498: /* 8021E498 0021B3F8 3B FD 09 FC */ addi r31, r29, 0x9fc /* 8021E49C 0021B3FC 7F FC FB 78 */ mr r28, r31 /* 8021E4A0 0021B400 48 00 00 6C */ b lbl_8021E50C lbl_8021E4A4: /* 8021E4A4 0021B404 A0 1C 00 00 */ lhz r0, 0(r28) /* 8021E4A8 0021B408 7F C3 F3 78 */ mr r3, r30 /* 8021E4AC 0021B40C 38 81 00 10 */ addi r4, r1, 0x10 /* 8021E4B0 0021B410 B0 01 00 10 */ sth r0, 0x10(r1) /* 8021E4B4 0021B414 4B E2 E0 C1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E4B8 0021B418 7C 64 1B 78 */ mr r4, r3 /* 8021E4BC 0021B41C 38 61 00 34 */ addi r3, r1, 0x34 /* 8021E4C0 0021B420 4B E9 0E 8D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E4C4 0021B424 80 63 00 04 */ lwz r3, 4(r3) /* 8021E4C8 0021B428 28 03 00 00 */ cmplwi r3, 0 /* 8021E4CC 0021B42C 41 82 00 3C */ beq lbl_8021E508 /* 8021E4D0 0021B430 81 83 00 00 */ lwz r12, 0(r3) /* 8021E4D4 0021B434 7F C4 F3 78 */ mr r4, r30 /* 8021E4D8 0021B438 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E4DC 0021B43C 7D 89 03 A6 */ mtctr r12 /* 8021E4E0 0021B440 4E 80 04 21 */ bctrl /* 8021E4E4 0021B444 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E4E8 0021B448 38 61 00 20 */ addi r3, r1, 0x20 /* 8021E4EC 0021B44C C0 3D 06 B0 */ lfs f1, 0x6b0(r29) /* 8021E4F0 0021B450 38 81 00 18 */ addi r4, r1, 0x18 /* 8021E4F4 0021B454 EC 01 00 28 */ fsubs f0, f1, f0 /* 8021E4F8 0021B458 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8021E4FC 0021B45C 4B E3 12 35 */ bl "Max__5CMathFRCfRCf" /* 8021E500 0021B460 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E504 0021B464 D0 01 00 20 */ stfs f0, 0x20(r1) lbl_8021E508: /* 8021E508 0021B468 3B 9C 00 02 */ addi r28, r28, 2 lbl_8021E50C: /* 8021E50C 0021B46C 80 1D 09 F8 */ lwz r0, 0x9f8(r29) /* 8021E510 0021B470 54 00 08 3C */ slwi r0, r0, 1 /* 8021E514 0021B474 7C 1F 02 14 */ add r0, r31, r0 /* 8021E518 0021B478 7C 1C 00 40 */ cmplw r28, r0 /* 8021E51C 0021B47C 40 82 FF 88 */ bne lbl_8021E4A4 /* 8021E520 0021B480 C0 5D 0A 00 */ lfs f2, 0xa00(r29) /* 8021E524 0021B484 C0 21 00 20 */ lfs f1, 0x20(r1) /* 8021E528 0021B488 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E52C 0021B48C EC 22 08 28 */ fsubs f1, f2, f1 /* 8021E530 0021B490 D0 3D 0A 00 */ stfs f1, 0xa00(r29) /* 8021E534 0021B494 C0 3D 0A 00 */ lfs f1, 0xa00(r29) /* 8021E538 0021B498 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021E53C 0021B49C 4C 40 13 82 */ cror 2, 0, 2 /* 8021E540 0021B4A0 40 82 00 44 */ bne lbl_8021E584 /* 8021E544 0021B4A4 38 00 00 03 */ li r0, 3 /* 8021E548 0021B4A8 7F A3 EB 78 */ mr r3, r29 /* 8021E54C 0021B4AC 90 1D 05 6C */ stw r0, 0x56c(r29) /* 8021E550 0021B4B0 7F C4 F3 78 */ mr r4, r30 /* 8021E554 0021B4B4 4B FF F4 7D */ bl sub_8021d9d0 /* 8021E558 0021B4B8 A0 FD 06 CC */ lhz r7, 0x6cc(r29) /* 8021E55C 0021B4BC 7F A3 EB 78 */ mr r3, r29 /* 8021E560 0021B4C0 7F C4 F3 78 */ mr r4, r30 /* 8021E564 0021B4C4 38 BD 0A 2C */ addi r5, r29, 0xa2c /* 8021E568 0021B4C8 38 DD 00 34 */ addi r6, r29, 0x34 /* 8021E56C 0021B4CC 39 00 00 00 */ li r8, 0 /* 8021E570 0021B4D0 4B FF F2 71 */ bl sub_8021d7e0 /* 8021E574 0021B4D4 7F A3 EB 78 */ mr r3, r29 /* 8021E578 0021B4D8 7F C4 F3 78 */ mr r4, r30 /* 8021E57C 0021B4DC 48 00 04 79 */ bl sub_8021e9f4 /* 8021E580 0021B4E0 48 00 00 A0 */ b lbl_8021E620 lbl_8021E584: /* 8021E584 0021B4E4 7F A3 EB 78 */ mr r3, r29 /* 8021E588 0021B4E8 38 80 00 02 */ li r4, 2 /* 8021E58C 0021B4EC 4B FF F2 01 */ bl sub_8021d78c /* 8021E590 0021B4F0 C0 1D 0A 00 */ lfs f0, 0xa00(r29) /* 8021E594 0021B4F4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8021E598 0021B4F8 40 80 00 3C */ bge lbl_8021E5D4 /* 8021E59C 0021B4FC 80 1D 05 6C */ lwz r0, 0x56c(r29) /* 8021E5A0 0021B500 2C 00 00 02 */ cmpwi r0, 2 /* 8021E5A4 0021B504 41 82 00 7C */ beq lbl_8021E620 /* 8021E5A8 0021B508 A0 FD 06 CA */ lhz r7, 0x6ca(r29) /* 8021E5AC 0021B50C 7F A3 EB 78 */ mr r3, r29 /* 8021E5B0 0021B510 7F C4 F3 78 */ mr r4, r30 /* 8021E5B4 0021B514 38 BD 0A 20 */ addi r5, r29, 0xa20 /* 8021E5B8 0021B518 38 DD 00 34 */ addi r6, r29, 0x34 /* 8021E5BC 0021B51C 39 00 00 00 */ li r8, 0 /* 8021E5C0 0021B520 4B FF F2 21 */ bl sub_8021d7e0 /* 8021E5C4 0021B524 38 00 00 02 */ li r0, 2 /* 8021E5C8 0021B528 90 1D 05 6C */ stw r0, 0x56c(r29) /* 8021E5CC 0021B52C 90 1D 0A 04 */ stw r0, 0xa04(r29) /* 8021E5D0 0021B530 48 00 00 50 */ b lbl_8021E620 lbl_8021E5D4: /* 8021E5D4 0021B534 7F A3 EB 78 */ mr r3, r29 /* 8021E5D8 0021B538 38 80 00 01 */ li r4, 1 /* 8021E5DC 0021B53C 4B FF F1 B1 */ bl sub_8021d78c /* 8021E5E0 0021B540 C0 1D 0A 00 */ lfs f0, 0xa00(r29) /* 8021E5E4 0021B544 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8021E5E8 0021B548 40 80 00 38 */ bge lbl_8021E620 /* 8021E5EC 0021B54C 80 1D 05 6C */ lwz r0, 0x56c(r29) /* 8021E5F0 0021B550 2C 00 00 01 */ cmpwi r0, 1 /* 8021E5F4 0021B554 41 82 00 2C */ beq lbl_8021E620 /* 8021E5F8 0021B558 A0 FD 06 C8 */ lhz r7, 0x6c8(r29) /* 8021E5FC 0021B55C 7F A3 EB 78 */ mr r3, r29 /* 8021E600 0021B560 7F C4 F3 78 */ mr r4, r30 /* 8021E604 0021B564 38 BD 0A 14 */ addi r5, r29, 0xa14 /* 8021E608 0021B568 38 DD 00 34 */ addi r6, r29, 0x34 /* 8021E60C 0021B56C 39 00 00 00 */ li r8, 0 /* 8021E610 0021B570 4B FF F1 D1 */ bl sub_8021d7e0 /* 8021E614 0021B574 38 00 00 01 */ li r0, 1 /* 8021E618 0021B578 90 1D 05 6C */ stw r0, 0x56c(r29) /* 8021E61C 0021B57C 90 1D 0A 04 */ stw r0, 0xa04(r29) lbl_8021E620: /* 8021E620 0021B580 80 1D 05 6C */ lwz r0, 0x56c(r29) /* 8021E624 0021B584 2C 00 00 03 */ cmpwi r0, 3 /* 8021E628 0021B588 41 82 00 0C */ beq lbl_8021E634 /* 8021E62C 0021B58C C3 FD 06 B0 */ lfs f31, 0x6b0(r29) /* 8021E630 0021B590 48 00 00 08 */ b lbl_8021E638 lbl_8021E634: /* 8021E634 0021B594 C3 FD 08 EC */ lfs f31, 0x8ec(r29) lbl_8021E638: /* 8021E638 0021B598 A0 1D 09 F6 */ lhz r0, 0x9f6(r29) /* 8021E63C 0021B59C 7F C3 F3 78 */ mr r3, r30 /* 8021E640 0021B5A0 38 81 00 0C */ addi r4, r1, 0xc /* 8021E644 0021B5A4 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021E648 0021B5A8 4B E2 DF 2D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E64C 0021B5AC 7C 64 1B 78 */ mr r4, r3 /* 8021E650 0021B5B0 38 61 00 2C */ addi r3, r1, 0x2c /* 8021E654 0021B5B4 4B E9 0C F9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E658 0021B5B8 80 63 00 04 */ lwz r3, 4(r3) /* 8021E65C 0021B5BC 28 03 00 00 */ cmplwi r3, 0 /* 8021E660 0021B5C0 41 82 00 1C */ beq lbl_8021E67C /* 8021E664 0021B5C4 81 83 00 00 */ lwz r12, 0(r3) /* 8021E668 0021B5C8 7F C4 F3 78 */ mr r4, r30 /* 8021E66C 0021B5CC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E670 0021B5D0 7D 89 03 A6 */ mtctr r12 /* 8021E674 0021B5D4 4E 80 04 21 */ bctrl /* 8021E678 0021B5D8 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8021E67C: /* 8021E67C 0021B5DC 7F FC FB 78 */ mr r28, r31 /* 8021E680 0021B5E0 48 00 00 4C */ b lbl_8021E6CC lbl_8021E684: /* 8021E684 0021B5E4 A0 1C 00 00 */ lhz r0, 0(r28) /* 8021E688 0021B5E8 7F C3 F3 78 */ mr r3, r30 /* 8021E68C 0021B5EC 38 81 00 08 */ addi r4, r1, 8 /* 8021E690 0021B5F0 B0 01 00 08 */ sth r0, 8(r1) /* 8021E694 0021B5F4 4B E2 DE E1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E698 0021B5F8 7C 64 1B 78 */ mr r4, r3 /* 8021E69C 0021B5FC 38 61 00 24 */ addi r3, r1, 0x24 /* 8021E6A0 0021B600 4B E9 0C AD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E6A4 0021B604 80 63 00 04 */ lwz r3, 4(r3) /* 8021E6A8 0021B608 28 03 00 00 */ cmplwi r3, 0 /* 8021E6AC 0021B60C 41 82 00 1C */ beq lbl_8021E6C8 /* 8021E6B0 0021B610 81 83 00 00 */ lwz r12, 0(r3) /* 8021E6B4 0021B614 7F C4 F3 78 */ mr r4, r30 /* 8021E6B8 0021B618 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E6BC 0021B61C 7D 89 03 A6 */ mtctr r12 /* 8021E6C0 0021B620 4E 80 04 21 */ bctrl /* 8021E6C4 0021B624 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8021E6C8: /* 8021E6C8 0021B628 3B 9C 00 02 */ addi r28, r28, 2 lbl_8021E6CC: /* 8021E6CC 0021B62C 80 1D 09 F8 */ lwz r0, 0x9f8(r29) /* 8021E6D0 0021B630 54 00 08 3C */ slwi r0, r0, 1 /* 8021E6D4 0021B634 7C 1F 02 14 */ add r0, r31, r0 /* 8021E6D8 0021B638 7C 1C 00 40 */ cmplw r28, r0 /* 8021E6DC 0021B63C 40 82 FF A8 */ bne lbl_8021E684 lbl_8021E6E0: /* 8021E6E0 0021B640 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8021E6E4 0021B644 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021E6E8 0021B648 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8021E6EC 0021B64C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8021E6F0 0021B650 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8021E6F4 0021B654 83 A1 00 54 */ lwz r29, 0x54(r1) /* 8021E6F8 0021B658 83 81 00 50 */ lwz r28, 0x50(r1) /* 8021E6FC 0021B65C 7C 08 03 A6 */ mtlr r0 /* 8021E700 0021B660 38 21 00 70 */ addi r1, r1, 0x70 /* 8021E704 0021B664 4E 80 00 20 */ blr .global sub_8021e708 sub_8021e708: /* 8021E708 0021B668 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8021E70C 0021B66C 7C 08 02 A6 */ mflr r0 /* 8021E710 0021B670 90 01 00 74 */ stw r0, 0x74(r1) /* 8021E714 0021B674 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8021E718 0021B678 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8021E71C 0021B67C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8021E720 0021B680 93 C1 00 58 */ stw r30, 0x58(r1) /* 8021E724 0021B684 93 A1 00 54 */ stw r29, 0x54(r1) /* 8021E728 0021B688 93 81 00 50 */ stw r28, 0x50(r1) /* 8021E72C 0021B68C 88 03 04 00 */ lbz r0, 0x400(r3) /* 8021E730 0021B690 7C 7D 1B 78 */ mr r29, r3 /* 8021E734 0021B694 7C 9E 23 78 */ mr r30, r4 /* 8021E738 0021B698 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8021E73C 0021B69C 41 82 02 90 */ beq lbl_8021E9CC /* 8021E740 0021B6A0 80 1D 05 6C */ lwz r0, 0x56c(r29) /* 8021E744 0021B6A4 2C 00 00 03 */ cmpwi r0, 3 /* 8021E748 0021B6A8 40 82 02 80 */ bne lbl_8021E9C8 /* 8021E74C 0021B6AC C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E750 0021B6B0 7F C3 F3 78 */ mr r3, r30 /* 8021E754 0021B6B4 38 81 00 14 */ addi r4, r1, 0x14 /* 8021E758 0021B6B8 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8021E75C 0021B6BC A0 1D 09 F6 */ lhz r0, 0x9f6(r29) /* 8021E760 0021B6C0 B0 01 00 14 */ sth r0, 0x14(r1) /* 8021E764 0021B6C4 4B E2 DE 11 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E768 0021B6C8 7C 64 1B 78 */ mr r4, r3 /* 8021E76C 0021B6CC 38 61 00 3C */ addi r3, r1, 0x3c /* 8021E770 0021B6D0 4B E9 0B DD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E774 0021B6D4 80 63 00 04 */ lwz r3, 4(r3) /* 8021E778 0021B6D8 28 03 00 00 */ cmplwi r3, 0 /* 8021E77C 0021B6DC 41 82 00 3C */ beq lbl_8021E7B8 /* 8021E780 0021B6E0 81 83 00 00 */ lwz r12, 0(r3) /* 8021E784 0021B6E4 7F C4 F3 78 */ mr r4, r30 /* 8021E788 0021B6E8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E78C 0021B6EC 7D 89 03 A6 */ mtctr r12 /* 8021E790 0021B6F0 4E 80 04 21 */ bctrl /* 8021E794 0021B6F4 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E798 0021B6F8 38 61 00 20 */ addi r3, r1, 0x20 /* 8021E79C 0021B6FC C0 3D 08 EC */ lfs f1, 0x8ec(r29) /* 8021E7A0 0021B700 38 81 00 1C */ addi r4, r1, 0x1c /* 8021E7A4 0021B704 EC 01 00 28 */ fsubs f0, f1, f0 /* 8021E7A8 0021B708 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8021E7AC 0021B70C 4B E3 0F 85 */ bl "Max__5CMathFRCfRCf" /* 8021E7B0 0021B710 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E7B4 0021B714 D0 01 00 20 */ stfs f0, 0x20(r1) lbl_8021E7B8: /* 8021E7B8 0021B718 3B FD 09 FC */ addi r31, r29, 0x9fc /* 8021E7BC 0021B71C 7F FC FB 78 */ mr r28, r31 /* 8021E7C0 0021B720 48 00 00 6C */ b lbl_8021E82C lbl_8021E7C4: /* 8021E7C4 0021B724 A0 1C 00 00 */ lhz r0, 0(r28) /* 8021E7C8 0021B728 7F C3 F3 78 */ mr r3, r30 /* 8021E7CC 0021B72C 38 81 00 10 */ addi r4, r1, 0x10 /* 8021E7D0 0021B730 B0 01 00 10 */ sth r0, 0x10(r1) /* 8021E7D4 0021B734 4B E2 DD A1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E7D8 0021B738 7C 64 1B 78 */ mr r4, r3 /* 8021E7DC 0021B73C 38 61 00 34 */ addi r3, r1, 0x34 /* 8021E7E0 0021B740 4B E9 0B 6D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E7E4 0021B744 80 63 00 04 */ lwz r3, 4(r3) /* 8021E7E8 0021B748 28 03 00 00 */ cmplwi r3, 0 /* 8021E7EC 0021B74C 41 82 00 3C */ beq lbl_8021E828 /* 8021E7F0 0021B750 81 83 00 00 */ lwz r12, 0(r3) /* 8021E7F4 0021B754 7F C4 F3 78 */ mr r4, r30 /* 8021E7F8 0021B758 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E7FC 0021B75C 7D 89 03 A6 */ mtctr r12 /* 8021E800 0021B760 4E 80 04 21 */ bctrl /* 8021E804 0021B764 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E808 0021B768 38 61 00 20 */ addi r3, r1, 0x20 /* 8021E80C 0021B76C C0 3D 08 EC */ lfs f1, 0x8ec(r29) /* 8021E810 0021B770 38 81 00 18 */ addi r4, r1, 0x18 /* 8021E814 0021B774 EC 01 00 28 */ fsubs f0, f1, f0 /* 8021E818 0021B778 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8021E81C 0021B77C 4B E3 0F 15 */ bl "Max__5CMathFRCfRCf" /* 8021E820 0021B780 C0 03 00 00 */ lfs f0, 0(r3) /* 8021E824 0021B784 D0 01 00 20 */ stfs f0, 0x20(r1) lbl_8021E828: /* 8021E828 0021B788 3B 9C 00 02 */ addi r28, r28, 2 lbl_8021E82C: /* 8021E82C 0021B78C 80 1D 09 F8 */ lwz r0, 0x9f8(r29) /* 8021E830 0021B790 54 00 08 3C */ slwi r0, r0, 1 /* 8021E834 0021B794 7C 1F 02 14 */ add r0, r31, r0 /* 8021E838 0021B798 7C 1C 00 40 */ cmplw r28, r0 /* 8021E83C 0021B79C 40 82 FF 88 */ bne lbl_8021E7C4 /* 8021E840 0021B7A0 7F A3 EB 78 */ mr r3, r29 /* 8021E844 0021B7A4 7F C4 F3 78 */ mr r4, r30 /* 8021E848 0021B7A8 81 9D 00 00 */ lwz r12, 0(r29) /* 8021E84C 0021B7AC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E850 0021B7B0 7D 89 03 A6 */ mtctr r12 /* 8021E854 0021B7B4 4E 80 04 21 */ bctrl /* 8021E858 0021B7B8 C0 23 00 00 */ lfs f1, 0(r3) /* 8021E85C 0021B7BC 7F A3 EB 78 */ mr r3, r29 /* 8021E860 0021B7C0 81 9D 00 00 */ lwz r12, 0(r29) /* 8021E864 0021B7C4 7F C4 F3 78 */ mr r4, r30 /* 8021E868 0021B7C8 C0 01 00 20 */ lfs f0, 0x20(r1) /* 8021E86C 0021B7CC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E870 0021B7D0 EF E1 00 28 */ fsubs f31, f1, f0 /* 8021E874 0021B7D4 7D 89 03 A6 */ mtctr r12 /* 8021E878 0021B7D8 4E 80 04 21 */ bctrl /* 8021E87C 0021B7DC D3 E3 00 00 */ stfs f31, 0(r3) /* 8021E880 0021B7E0 7F A3 EB 78 */ mr r3, r29 /* 8021E884 0021B7E4 7F C4 F3 78 */ mr r4, r30 /* 8021E888 0021B7E8 81 9D 00 00 */ lwz r12, 0(r29) /* 8021E88C 0021B7EC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E890 0021B7F0 7D 89 03 A6 */ mtctr r12 /* 8021E894 0021B7F4 4E 80 04 21 */ bctrl /* 8021E898 0021B7F8 C0 23 00 00 */ lfs f1, 0(r3) /* 8021E89C 0021B7FC C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021E8A0 0021B800 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021E8A4 0021B804 4C 40 13 82 */ cror 2, 0, 2 /* 8021E8A8 0021B808 40 82 00 6C */ bne lbl_8021E914 /* 8021E8AC 0021B80C 81 9D 00 00 */ lwz r12, 0(r29) /* 8021E8B0 0021B810 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021E8B4 0021B814 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 8021E8B8 0021B818 7F A3 EB 78 */ mr r3, r29 /* 8021E8BC 0021B81C 81 8C 00 84 */ lwz r12, 0x84(r12) /* 8021E8C0 0021B820 7F C4 F3 78 */ mr r4, r30 /* 8021E8C4 0021B824 38 C0 00 14 */ li r6, 0x14 /* 8021E8C8 0021B828 7D 89 03 A6 */ mtctr r12 /* 8021E8CC 0021B82C 4E 80 04 21 */ bctrl /* 8021E8D0 0021B830 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 8021E8D4 0021B834 38 60 00 01 */ li r3, 1 /* 8021E8D8 0021B838 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8021E8DC 0021B83C 38 A0 00 00 */ li r5, 0 /* 8021E8E0 0021B840 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 8021E8E4 0021B844 7F A3 EB 78 */ mr r3, r29 /* 8021E8E8 0021B848 7F C4 F3 78 */ mr r4, r30 /* 8021E8EC 0021B84C 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 8021E8F0 0021B850 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 8021E8F4 0021B854 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 8021E8F8 0021B858 4B FF ED 4D */ bl sub_8021d644 /* 8021E8FC 0021B85C 7F A3 EB 78 */ mr r3, r29 /* 8021E900 0021B860 7F C6 F3 78 */ mr r6, r30 /* 8021E904 0021B864 38 80 00 29 */ li r4, 0x29 /* 8021E908 0021B868 38 A0 00 28 */ li r5, 0x28 /* 8021E90C 0021B86C 4B E3 55 C9 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 8021E910 0021B870 48 00 00 BC */ b lbl_8021E9CC lbl_8021E914: /* 8021E914 0021B874 A0 1D 09 F6 */ lhz r0, 0x9f6(r29) /* 8021E918 0021B878 7F C3 F3 78 */ mr r3, r30 /* 8021E91C 0021B87C 38 81 00 0C */ addi r4, r1, 0xc /* 8021E920 0021B880 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021E924 0021B884 4B E2 DC 51 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E928 0021B888 7C 64 1B 78 */ mr r4, r3 /* 8021E92C 0021B88C 38 61 00 2C */ addi r3, r1, 0x2c /* 8021E930 0021B890 4B E9 0A 1D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E934 0021B894 80 63 00 04 */ lwz r3, 4(r3) /* 8021E938 0021B898 28 03 00 00 */ cmplwi r3, 0 /* 8021E93C 0021B89C 41 82 00 20 */ beq lbl_8021E95C /* 8021E940 0021B8A0 81 83 00 00 */ lwz r12, 0(r3) /* 8021E944 0021B8A4 7F C4 F3 78 */ mr r4, r30 /* 8021E948 0021B8A8 C3 FD 08 EC */ lfs f31, 0x8ec(r29) /* 8021E94C 0021B8AC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E950 0021B8B0 7D 89 03 A6 */ mtctr r12 /* 8021E954 0021B8B4 4E 80 04 21 */ bctrl /* 8021E958 0021B8B8 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8021E95C: /* 8021E95C 0021B8BC 7F FC FB 78 */ mr r28, r31 /* 8021E960 0021B8C0 48 00 00 50 */ b lbl_8021E9B0 lbl_8021E964: /* 8021E964 0021B8C4 A0 1C 00 00 */ lhz r0, 0(r28) /* 8021E968 0021B8C8 7F C3 F3 78 */ mr r3, r30 /* 8021E96C 0021B8CC 38 81 00 08 */ addi r4, r1, 8 /* 8021E970 0021B8D0 B0 01 00 08 */ sth r0, 8(r1) /* 8021E974 0021B8D4 4B E2 DC 01 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021E978 0021B8D8 7C 64 1B 78 */ mr r4, r3 /* 8021E97C 0021B8DC 38 61 00 24 */ addi r3, r1, 0x24 /* 8021E980 0021B8E0 4B E9 09 CD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021E984 0021B8E4 80 63 00 04 */ lwz r3, 4(r3) /* 8021E988 0021B8E8 28 03 00 00 */ cmplwi r3, 0 /* 8021E98C 0021B8EC 41 82 00 20 */ beq lbl_8021E9AC /* 8021E990 0021B8F0 81 83 00 00 */ lwz r12, 0(r3) /* 8021E994 0021B8F4 7F C4 F3 78 */ mr r4, r30 /* 8021E998 0021B8F8 C3 FD 08 EC */ lfs f31, 0x8ec(r29) /* 8021E99C 0021B8FC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021E9A0 0021B900 7D 89 03 A6 */ mtctr r12 /* 8021E9A4 0021B904 4E 80 04 21 */ bctrl /* 8021E9A8 0021B908 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8021E9AC: /* 8021E9AC 0021B90C 3B 9C 00 02 */ addi r28, r28, 2 lbl_8021E9B0: /* 8021E9B0 0021B910 80 1D 09 F8 */ lwz r0, 0x9f8(r29) /* 8021E9B4 0021B914 54 00 08 3C */ slwi r0, r0, 1 /* 8021E9B8 0021B918 7C 1F 02 14 */ add r0, r31, r0 /* 8021E9BC 0021B91C 7C 1C 00 40 */ cmplw r28, r0 /* 8021E9C0 0021B920 40 82 FF A4 */ bne lbl_8021E964 /* 8021E9C4 0021B924 48 00 00 08 */ b lbl_8021E9CC lbl_8021E9C8: /* 8021E9C8 0021B928 4B FF FA 2D */ bl sub_8021e3f4 lbl_8021E9CC: /* 8021E9CC 0021B92C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8021E9D0 0021B930 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021E9D4 0021B934 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8021E9D8 0021B938 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8021E9DC 0021B93C 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8021E9E0 0021B940 83 A1 00 54 */ lwz r29, 0x54(r1) /* 8021E9E4 0021B944 83 81 00 50 */ lwz r28, 0x50(r1) /* 8021E9E8 0021B948 7C 08 03 A6 */ mtlr r0 /* 8021E9EC 0021B94C 38 21 00 70 */ addi r1, r1, 0x70 /* 8021E9F0 0021B950 4E 80 00 20 */ blr .global sub_8021e9f4 sub_8021e9f4: /* 8021E9F4 0021B954 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8021E9F8 0021B958 7C 08 02 A6 */ mflr r0 /* 8021E9FC 0021B95C 90 01 00 44 */ stw r0, 0x44(r1) /* 8021EA00 0021B960 BF 41 00 28 */ stmw r26, 0x28(r1) /* 8021EA04 0021B964 7C 7A 1B 78 */ mr r26, r3 /* 8021EA08 0021B968 7C 9B 23 78 */ mr r27, r4 /* 8021EA0C 0021B96C 81 83 00 00 */ lwz r12, 0(r3) /* 8021EA10 0021B970 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021EA14 0021B974 7D 89 03 A6 */ mtctr r12 /* 8021EA18 0021B978 4E 80 04 21 */ bctrl /* 8021EA1C 0021B97C A0 1A 09 F6 */ lhz r0, 0x9f6(r26) /* 8021EA20 0021B980 7C 7F 1B 78 */ mr r31, r3 /* 8021EA24 0021B984 7F 63 DB 78 */ mr r3, r27 /* 8021EA28 0021B988 38 81 00 0C */ addi r4, r1, 0xc /* 8021EA2C 0021B98C B0 01 00 0C */ sth r0, 0xc(r1) /* 8021EA30 0021B990 4B E2 DB 45 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021EA34 0021B994 7C 64 1B 78 */ mr r4, r3 /* 8021EA38 0021B998 38 61 00 18 */ addi r3, r1, 0x18 /* 8021EA3C 0021B99C 4B E9 09 11 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021EA40 0021B9A0 83 C3 00 04 */ lwz r30, 4(r3) /* 8021EA44 0021B9A4 28 1E 00 00 */ cmplwi r30, 0 /* 8021EA48 0021B9A8 41 82 00 38 */ beq lbl_8021EA80 /* 8021EA4C 0021B9AC 7F C3 F3 78 */ mr r3, r30 /* 8021EA50 0021B9B0 7F 64 DB 78 */ mr r4, r27 /* 8021EA54 0021B9B4 81 9E 00 00 */ lwz r12, 0(r30) /* 8021EA58 0021B9B8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021EA5C 0021B9BC 7D 89 03 A6 */ mtctr r12 /* 8021EA60 0021B9C0 4E 80 04 21 */ bctrl /* 8021EA64 0021B9C4 C0 1F 00 00 */ lfs f0, 0(r31) /* 8021EA68 0021B9C8 38 9A 09 8C */ addi r4, r26, 0x98c /* 8021EA6C 0021B9CC D0 03 00 00 */ stfs f0, 0(r3) /* 8021EA70 0021B9D0 C0 1F 00 04 */ lfs f0, 4(r31) /* 8021EA74 0021B9D4 D0 03 00 04 */ stfs f0, 4(r3) /* 8021EA78 0021B9D8 7F C3 F3 78 */ mr r3, r30 /* 8021EA7C 0021B9DC 4B F8 A1 1D */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8021EA80: /* 8021EA80 0021B9E0 3B DA 09 FC */ addi r30, r26, 0x9fc /* 8021EA84 0021B9E4 7F DD F3 78 */ mr r29, r30 /* 8021EA88 0021B9E8 48 00 00 68 */ b lbl_8021EAF0 lbl_8021EA8C: /* 8021EA8C 0021B9EC A0 1D 00 00 */ lhz r0, 0(r29) /* 8021EA90 0021B9F0 7F 63 DB 78 */ mr r3, r27 /* 8021EA94 0021B9F4 38 81 00 08 */ addi r4, r1, 8 /* 8021EA98 0021B9F8 B0 01 00 08 */ sth r0, 8(r1) /* 8021EA9C 0021B9FC 4B E2 DA D9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021EAA0 0021BA00 7C 64 1B 78 */ mr r4, r3 /* 8021EAA4 0021BA04 38 61 00 10 */ addi r3, r1, 0x10 /* 8021EAA8 0021BA08 4B E9 08 A5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021EAAC 0021BA0C 83 83 00 04 */ lwz r28, 4(r3) /* 8021EAB0 0021BA10 28 1C 00 00 */ cmplwi r28, 0 /* 8021EAB4 0021BA14 41 82 00 38 */ beq lbl_8021EAEC /* 8021EAB8 0021BA18 7F 83 E3 78 */ mr r3, r28 /* 8021EABC 0021BA1C 7F 64 DB 78 */ mr r4, r27 /* 8021EAC0 0021BA20 81 9C 00 00 */ lwz r12, 0(r28) /* 8021EAC4 0021BA24 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021EAC8 0021BA28 7D 89 03 A6 */ mtctr r12 /* 8021EACC 0021BA2C 4E 80 04 21 */ bctrl /* 8021EAD0 0021BA30 C0 1F 00 00 */ lfs f0, 0(r31) /* 8021EAD4 0021BA34 38 9A 09 8C */ addi r4, r26, 0x98c /* 8021EAD8 0021BA38 D0 03 00 00 */ stfs f0, 0(r3) /* 8021EADC 0021BA3C C0 1F 00 04 */ lfs f0, 4(r31) /* 8021EAE0 0021BA40 D0 03 00 04 */ stfs f0, 4(r3) /* 8021EAE4 0021BA44 7F 83 E3 78 */ mr r3, r28 /* 8021EAE8 0021BA48 4B F8 A0 B1 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8021EAEC: /* 8021EAEC 0021BA4C 3B BD 00 02 */ addi r29, r29, 2 lbl_8021EAF0: /* 8021EAF0 0021BA50 80 1A 09 F8 */ lwz r0, 0x9f8(r26) /* 8021EAF4 0021BA54 54 00 08 3C */ slwi r0, r0, 1 /* 8021EAF8 0021BA58 7C 1E 02 14 */ add r0, r30, r0 /* 8021EAFC 0021BA5C 7C 1D 00 40 */ cmplw r29, r0 /* 8021EB00 0021BA60 40 82 FF 8C */ bne lbl_8021EA8C /* 8021EB04 0021BA64 BB 41 00 28 */ lmw r26, 0x28(r1) /* 8021EB08 0021BA68 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021EB0C 0021BA6C 7C 08 03 A6 */ mtlr r0 /* 8021EB10 0021BA70 38 21 00 40 */ addi r1, r1, 0x40 /* 8021EB14 0021BA74 4E 80 00 20 */ blr .global sub_8021eb18 sub_8021eb18: /* 8021EB18 0021BA78 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8021EB1C 0021BA7C 7C 08 02 A6 */ mflr r0 /* 8021EB20 0021BA80 90 01 00 64 */ stw r0, 0x64(r1) /* 8021EB24 0021BA84 DB E1 00 50 */ stfd f31, 0x50(r1) /* 8021EB28 0021BA88 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 8021EB2C 0021BA8C DB C1 00 40 */ stfd f30, 0x40(r1) /* 8021EB30 0021BA90 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 8021EB34 0021BA94 BF 21 00 24 */ stmw r25, 0x24(r1) /* 8021EB38 0021BA98 81 83 00 00 */ lwz r12, 0(r3) /* 8021EB3C 0021BA9C 7C 79 1B 78 */ mr r25, r3 /* 8021EB40 0021BAA0 7C 9A 23 78 */ mr r26, r4 /* 8021EB44 0021BAA4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021EB48 0021BAA8 7D 89 03 A6 */ mtctr r12 /* 8021EB4C 0021BAAC 4E 80 04 21 */ bctrl /* 8021EB50 0021BAB0 7C 7F 1B 78 */ mr r31, r3 /* 8021EB54 0021BAB4 7F 43 D3 78 */ mr r3, r26 /* 8021EB58 0021BAB8 C0 1F 00 00 */ lfs f0, 0(r31) /* 8021EB5C 0021BABC 38 81 00 0C */ addi r4, r1, 0xc /* 8021EB60 0021BAC0 D0 19 08 EC */ stfs f0, 0x8ec(r25) /* 8021EB64 0021BAC4 A0 19 09 F6 */ lhz r0, 0x9f6(r25) /* 8021EB68 0021BAC8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021EB6C 0021BACC 4B E2 DA 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021EB70 0021BAD0 7C 64 1B 78 */ mr r4, r3 /* 8021EB74 0021BAD4 38 61 00 18 */ addi r3, r1, 0x18 /* 8021EB78 0021BAD8 4B E9 07 D5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021EB7C 0021BADC 80 63 00 04 */ lwz r3, 4(r3) /* 8021EB80 0021BAE0 28 03 00 00 */ cmplwi r3, 0 /* 8021EB84 0021BAE4 41 82 00 20 */ beq lbl_8021EBA4 /* 8021EB88 0021BAE8 81 83 00 00 */ lwz r12, 0(r3) /* 8021EB8C 0021BAEC 7F 44 D3 78 */ mr r4, r26 /* 8021EB90 0021BAF0 C3 F9 06 B0 */ lfs f31, 0x6b0(r25) /* 8021EB94 0021BAF4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021EB98 0021BAF8 7D 89 03 A6 */ mtctr r12 /* 8021EB9C 0021BAFC 4E 80 04 21 */ bctrl /* 8021EBA0 0021BB00 D3 E3 00 00 */ stfs f31, 0(r3) lbl_8021EBA4: /* 8021EBA4 0021BB04 3B B9 09 FC */ addi r29, r25, 0x9fc /* 8021EBA8 0021BB08 3B D9 06 40 */ addi r30, r25, 0x640 /* 8021EBAC 0021BB0C 7F BC EB 78 */ mr r28, r29 /* 8021EBB0 0021BB10 48 00 00 68 */ b lbl_8021EC18 lbl_8021EBB4: /* 8021EBB4 0021BB14 A0 1C 00 00 */ lhz r0, 0(r28) /* 8021EBB8 0021BB18 7F 43 D3 78 */ mr r3, r26 /* 8021EBBC 0021BB1C 38 81 00 08 */ addi r4, r1, 8 /* 8021EBC0 0021BB20 B0 01 00 08 */ sth r0, 8(r1) /* 8021EBC4 0021BB24 4B E2 D9 B1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021EBC8 0021BB28 7C 64 1B 78 */ mr r4, r3 /* 8021EBCC 0021BB2C 38 61 00 10 */ addi r3, r1, 0x10 /* 8021EBD0 0021BB30 4B E9 07 7D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021EBD4 0021BB34 83 63 00 04 */ lwz r27, 4(r3) /* 8021EBD8 0021BB38 28 1B 00 00 */ cmplwi r27, 0 /* 8021EBDC 0021BB3C 41 82 00 38 */ beq lbl_8021EC14 /* 8021EBE0 0021BB40 7F 63 DB 78 */ mr r3, r27 /* 8021EBE4 0021BB44 7F 44 D3 78 */ mr r4, r26 /* 8021EBE8 0021BB48 81 9B 00 00 */ lwz r12, 0(r27) /* 8021EBEC 0021BB4C C3 FF 00 04 */ lfs f31, 4(r31) /* 8021EBF0 0021BB50 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021EBF4 0021BB54 C3 D9 06 B0 */ lfs f30, 0x6b0(r25) /* 8021EBF8 0021BB58 7D 89 03 A6 */ mtctr r12 /* 8021EBFC 0021BB5C 4E 80 04 21 */ bctrl /* 8021EC00 0021BB60 D3 C3 00 00 */ stfs f30, 0(r3) /* 8021EC04 0021BB64 7F C4 F3 78 */ mr r4, r30 /* 8021EC08 0021BB68 D3 E3 00 04 */ stfs f31, 4(r3) /* 8021EC0C 0021BB6C 7F 63 DB 78 */ mr r3, r27 /* 8021EC10 0021BB70 4B F8 9F 89 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8021EC14: /* 8021EC14 0021BB74 3B 9C 00 02 */ addi r28, r28, 2 lbl_8021EC18: /* 8021EC18 0021BB78 80 19 09 F8 */ lwz r0, 0x9f8(r25) /* 8021EC1C 0021BB7C 54 00 08 3C */ slwi r0, r0, 1 /* 8021EC20 0021BB80 7C 1D 02 14 */ add r0, r29, r0 /* 8021EC24 0021BB84 7C 1C 00 40 */ cmplw r28, r0 /* 8021EC28 0021BB88 40 82 FF 8C */ bne lbl_8021EBB4 /* 8021EC2C 0021BB8C C0 19 06 B0 */ lfs f0, 0x6b0(r25) /* 8021EC30 0021BB90 D0 19 0A 00 */ stfs f0, 0xa00(r25) /* 8021EC34 0021BB94 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 8021EC38 0021BB98 CB E1 00 50 */ lfd f31, 0x50(r1) /* 8021EC3C 0021BB9C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 8021EC40 0021BBA0 CB C1 00 40 */ lfd f30, 0x40(r1) /* 8021EC44 0021BBA4 BB 21 00 24 */ lmw r25, 0x24(r1) /* 8021EC48 0021BBA8 80 01 00 64 */ lwz r0, 0x64(r1) /* 8021EC4C 0021BBAC 7C 08 03 A6 */ mtlr r0 /* 8021EC50 0021BBB0 38 21 00 60 */ addi r1, r1, 0x60 /* 8021EC54 0021BBB4 4E 80 00 20 */ blr .global sub_8021ec58 sub_8021ec58: /* 8021EC58 0021BBB8 94 21 FE B0 */ stwu r1, -0x150(r1) /* 8021EC5C 0021BBBC 7C 08 02 A6 */ mflr r0 /* 8021EC60 0021BBC0 90 01 01 54 */ stw r0, 0x154(r1) /* 8021EC64 0021BBC4 DB E1 01 40 */ stfd f31, 0x140(r1) /* 8021EC68 0021BBC8 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 /* 8021EC6C 0021BBCC DB C1 01 30 */ stfd f30, 0x130(r1) /* 8021EC70 0021BBD0 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 /* 8021EC74 0021BBD4 DB A1 01 20 */ stfd f29, 0x120(r1) /* 8021EC78 0021BBD8 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 /* 8021EC7C 0021BBDC DB 81 01 10 */ stfd f28, 0x110(r1) /* 8021EC80 0021BBE0 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 /* 8021EC84 0021BBE4 DB 61 01 00 */ stfd f27, 0x100(r1) /* 8021EC88 0021BBE8 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 /* 8021EC8C 0021BBEC 93 E1 00 FC */ stw r31, 0xfc(r1) /* 8021EC90 0021BBF0 93 C1 00 F8 */ stw r30, 0xf8(r1) /* 8021EC94 0021BBF4 7C 7E 1B 78 */ mr r30, r3 /* 8021EC98 0021BBF8 FF C0 08 90 */ fmr f30, f1 /* 8021EC9C 0021BBFC 80 63 04 50 */ lwz r3, 0x450(r3) /* 8021ECA0 0021BC00 7C 9F 23 78 */ mr r31, r4 /* 8021ECA4 0021BC04 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 8021ECA8 0021BC08 2C 00 00 00 */ cmpwi r0, 0 /* 8021ECAC 0021BC0C 41 82 02 34 */ beq lbl_8021EEE0 /* 8021ECB0 0021BC10 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 8021ECB4 0021BC14 2C 00 00 03 */ cmpwi r0, 3 /* 8021ECB8 0021BC18 41 82 02 28 */ beq lbl_8021EEE0 /* 8021ECBC 0021BC1C 88 1E 09 F4 */ lbz r0, 0x9f4(r30) /* 8021ECC0 0021BC20 7F E5 FB 78 */ mr r5, r31 /* 8021ECC4 0021BC24 38 61 00 48 */ addi r3, r1, 0x48 /* 8021ECC8 0021BC28 38 C1 00 08 */ addi r6, r1, 8 /* 8021ECCC 0021BC2C 98 01 00 08 */ stb r0, 8(r1) /* 8021ECD0 0021BC30 80 9E 09 28 */ lwz r4, 0x928(r30) /* 8021ECD4 0021BC34 4B F8 83 C1 */ bl sub_801a7094 /* 8021ECD8 0021BC38 88 01 00 54 */ lbz r0, 0x54(r1) /* 8021ECDC 0021BC3C 28 00 00 00 */ cmplwi r0, 0 /* 8021ECE0 0021BC40 98 01 00 88 */ stb r0, 0x88(r1) /* 8021ECE4 0021BC44 41 82 00 24 */ beq lbl_8021ED08 /* 8021ECE8 0021BC48 34 61 00 7C */ addic. r3, r1, 0x7c /* 8021ECEC 0021BC4C 41 82 00 1C */ beq lbl_8021ED08 /* 8021ECF0 0021BC50 C0 01 00 48 */ lfs f0, 0x48(r1) /* 8021ECF4 0021BC54 D0 03 00 00 */ stfs f0, 0(r3) /* 8021ECF8 0021BC58 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 8021ECFC 0021BC5C D0 03 00 04 */ stfs f0, 4(r3) /* 8021ED00 0021BC60 C0 01 00 50 */ lfs f0, 0x50(r1) /* 8021ED04 0021BC64 D0 03 00 08 */ stfs f0, 8(r3) lbl_8021ED08: /* 8021ED08 0021BC68 88 01 00 88 */ lbz r0, 0x88(r1) /* 8021ED0C 0021BC6C 38 60 00 00 */ li r3, 0 /* 8021ED10 0021BC70 98 61 00 54 */ stb r3, 0x54(r1) /* 8021ED14 0021BC74 28 00 00 00 */ cmplwi r0, 0 /* 8021ED18 0021BC78 41 82 01 C0 */ beq lbl_8021EED8 /* 8021ED1C 0021BC7C 83 FF 08 4C */ lwz r31, 0x84c(r31) /* 8021ED20 0021BC80 38 61 00 A4 */ addi r3, r1, 0xa4 /* 8021ED24 0021BC84 80 9E 00 64 */ lwz r4, 0x64(r30) /* 8021ED28 0021BC88 38 BE 00 34 */ addi r5, r30, 0x34 /* 8021ED2C 0021BC8C 4B EF 6A 89 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 8021ED30 0021BC90 C0 A1 00 A4 */ lfs f5, 0xa4(r1) /* 8021ED34 0021BC94 7F E4 FB 78 */ mr r4, r31 /* 8021ED38 0021BC98 C0 81 00 A8 */ lfs f4, 0xa8(r1) /* 8021ED3C 0021BC9C 38 61 00 8C */ addi r3, r1, 0x8c /* 8021ED40 0021BCA0 C0 61 00 AC */ lfs f3, 0xac(r1) /* 8021ED44 0021BCA4 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 8021ED48 0021BCA8 C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 8021ED4C 0021BCAC C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 8021ED50 0021BCB0 D0 A1 00 D4 */ stfs f5, 0xd4(r1) /* 8021ED54 0021BCB4 D0 81 00 D8 */ stfs f4, 0xd8(r1) /* 8021ED58 0021BCB8 D0 61 00 DC */ stfs f3, 0xdc(r1) /* 8021ED5C 0021BCBC D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 8021ED60 0021BCC0 D0 21 00 E4 */ stfs f1, 0xe4(r1) /* 8021ED64 0021BCC4 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 8021ED68 0021BCC8 4B EF BB C5 */ bl GetBoundingBox__13CPhysicsActorCFv /* 8021ED6C 0021BCCC C0 A1 00 8C */ lfs f5, 0x8c(r1) /* 8021ED70 0021BCD0 38 61 00 D4 */ addi r3, r1, 0xd4 /* 8021ED74 0021BCD4 C0 81 00 90 */ lfs f4, 0x90(r1) /* 8021ED78 0021BCD8 38 81 00 BC */ addi r4, r1, 0xbc /* 8021ED7C 0021BCDC C0 61 00 94 */ lfs f3, 0x94(r1) /* 8021ED80 0021BCE0 C0 41 00 98 */ lfs f2, 0x98(r1) /* 8021ED84 0021BCE4 C0 21 00 9C */ lfs f1, 0x9c(r1) /* 8021ED88 0021BCE8 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 8021ED8C 0021BCEC D0 A1 00 BC */ stfs f5, 0xbc(r1) /* 8021ED90 0021BCF0 D0 81 00 C0 */ stfs f4, 0xc0(r1) /* 8021ED94 0021BCF4 D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 8021ED98 0021BCF8 D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 8021ED9C 0021BCFC D0 21 00 CC */ stfs f1, 0xcc(r1) /* 8021EDA0 0021BD00 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 8021EDA4 0021BD04 48 11 8D E1 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 8021EDA8 0021BD08 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021EDAC 0021BD0C 41 82 01 2C */ beq lbl_8021EED8 /* 8021EDB0 0021BD10 38 61 00 7C */ addi r3, r1, 0x7c /* 8021EDB4 0021BD14 48 0F 5B 05 */ bl Magnitude__9CVector3fCFv /* 8021EDB8 0021BD18 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8021EDBC 0021BD1C C0 02 B4 2C */ lfs f0, lbl_805AD14C@sda21(r2) /* 8021EDC0 0021BD20 C0 43 00 04 */ lfs f2, 4(r3) /* 8021EDC4 0021BD24 C0 63 00 00 */ lfs f3, 0(r3) /* 8021EDC8 0021BD28 EC A0 00 B2 */ fmuls f5, f0, f2 /* 8021EDCC 0021BD2C C0 03 00 08 */ lfs f0, 8(r3) /* 8021EDD0 0021BD30 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 8021EDD4 0021BD34 FC 01 28 40 */ fcmpo cr0, f1, f5 /* 8021EDD8 0021BD38 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8021EDDC 0021BD3C D0 01 00 44 */ stfs f0, 0x44(r1) /* 8021EDE0 0021BD40 40 81 00 F8 */ ble lbl_8021EED8 /* 8021EDE4 0021BD44 C0 9E 00 40 */ lfs f4, 0x40(r30) /* 8021EDE8 0021BD48 EF 61 28 28 */ fsubs f27, f1, f5 /* 8021EDEC 0021BD4C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8021EDF0 0021BD50 38 61 00 24 */ addi r3, r1, 0x24 /* 8021EDF4 0021BD54 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 8021EDF8 0021BD58 38 81 00 7C */ addi r4, r1, 0x7c /* 8021EDFC 0021BD5C C0 5F 00 50 */ lfs f2, 0x50(r31) /* 8021EE00 0021BD60 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 8021EE04 0021BD64 EF E4 00 28 */ fsubs f31, f4, f0 /* 8021EE08 0021BD68 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 8021EE0C 0021BD6C EF 83 10 28 */ fsubs f28, f3, f2 /* 8021EE10 0021BD70 EF A1 00 28 */ fsubs f29, f1, f0 /* 8021EE14 0021BD74 48 0F 5A 3D */ bl AsNormalized__9CVector3fCFv /* 8021EE18 0021BD78 C0 21 00 28 */ lfs f1, 0x28(r1) /* 8021EE1C 0021BD7C EC 1C 07 32 */ fmuls f0, f28, f28 /* 8021EE20 0021BD80 C0 61 00 24 */ lfs f3, 0x24(r1) /* 8021EE24 0021BD84 38 61 00 18 */ addi r3, r1, 0x18 /* 8021EE28 0021BD88 EC 5B 00 72 */ fmuls f2, f27, f1 /* 8021EE2C 0021BD8C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 8021EE30 0021BD90 EC 7B 00 F2 */ fmuls f3, f27, f3 /* 8021EE34 0021BD94 EC 9B 00 72 */ fmuls f4, f27, f1 /* 8021EE38 0021BD98 38 9E 00 34 */ addi r4, r30, 0x34 /* 8021EE3C 0021BD9C EC 3C 00 B2 */ fmuls f1, f28, f2 /* 8021EE40 0021BDA0 EC 1F 07 FA */ fmadds f0, f31, f31, f0 /* 8021EE44 0021BDA4 D0 61 00 30 */ stfs f3, 0x30(r1) /* 8021EE48 0021BDA8 38 A1 00 70 */ addi r5, r1, 0x70 /* 8021EE4C 0021BDAC EC 3F 08 FA */ fmadds f1, f31, f3, f1 /* 8021EE50 0021BDB0 D0 41 00 34 */ stfs f2, 0x34(r1) /* 8021EE54 0021BDB4 EC 1D 07 7A */ fmadds f0, f29, f29, f0 /* 8021EE58 0021BDB8 D0 81 00 38 */ stfs f4, 0x38(r1) /* 8021EE5C 0021BDBC EC 3D 09 3A */ fmadds f1, f29, f4, f1 /* 8021EE60 0021BDC0 EC 01 00 24 */ fdivs f0, f1, f0 /* 8021EE64 0021BDC4 EC 40 07 F2 */ fmuls f2, f0, f31 /* 8021EE68 0021BDC8 EC 20 07 32 */ fmuls f1, f0, f28 /* 8021EE6C 0021BDCC EC 00 07 72 */ fmuls f0, f0, f29 /* 8021EE70 0021BDD0 D0 41 00 70 */ stfs f2, 0x70(r1) /* 8021EE74 0021BDD4 D0 21 00 74 */ stfs f1, 0x74(r1) /* 8021EE78 0021BDD8 D0 01 00 78 */ stfs f0, 0x78(r1) /* 8021EE7C 0021BDDC 48 0F 3B A9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8021EE80 0021BDE0 C0 61 00 18 */ lfs f3, 0x18(r1) /* 8021EE84 0021BDE4 FC 20 F0 90 */ fmr f1, f30 /* 8021EE88 0021BDE8 C0 41 00 1C */ lfs f2, 0x1c(r1) /* 8021EE8C 0021BDEC 7F C4 F3 78 */ mr r4, r30 /* 8021EE90 0021BDF0 C0 01 00 20 */ lfs f0, 0x20(r1) /* 8021EE94 0021BDF4 38 61 00 0C */ addi r3, r1, 0xc /* 8021EE98 0021BDF8 D0 61 00 64 */ stfs f3, 0x64(r1) /* 8021EE9C 0021BDFC 38 A1 00 64 */ addi r5, r1, 0x64 /* 8021EEA0 0021BE00 D0 41 00 68 */ stfs f2, 0x68(r1) /* 8021EEA4 0021BE04 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8021EEA8 0021BE08 4B EF C1 61 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff /* 8021EEAC 0021BE0C C0 41 00 0C */ lfs f2, 0xc(r1) /* 8021EEB0 0021BE10 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8021EEB4 0021BE14 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8021EEB8 0021BE18 D0 41 00 58 */ stfs f2, 0x58(r1) /* 8021EEBC 0021BE1C D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8021EEC0 0021BE20 D0 01 00 60 */ stfs f0, 0x60(r1) /* 8021EEC4 0021BE24 4B DF C6 71 */ bl Identity__10CAxisAngleFv /* 8021EEC8 0021BE28 7C 65 1B 78 */ mr r5, r3 /* 8021EECC 0021BE2C 7F C3 F3 78 */ mr r3, r30 /* 8021EED0 0021BE30 38 81 00 58 */ addi r4, r1, 0x58 /* 8021EED4 0021BE34 4B EF D4 C5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle lbl_8021EED8: /* 8021EED8 0021BE38 38 00 00 00 */ li r0, 0 /* 8021EEDC 0021BE3C 98 01 00 88 */ stb r0, 0x88(r1) lbl_8021EEE0: /* 8021EEE0 0021BE40 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 /* 8021EEE4 0021BE44 CB E1 01 40 */ lfd f31, 0x140(r1) /* 8021EEE8 0021BE48 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 /* 8021EEEC 0021BE4C CB C1 01 30 */ lfd f30, 0x130(r1) /* 8021EEF0 0021BE50 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 /* 8021EEF4 0021BE54 CB A1 01 20 */ lfd f29, 0x120(r1) /* 8021EEF8 0021BE58 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 /* 8021EEFC 0021BE5C CB 81 01 10 */ lfd f28, 0x110(r1) /* 8021EF00 0021BE60 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 /* 8021EF04 0021BE64 CB 61 01 00 */ lfd f27, 0x100(r1) /* 8021EF08 0021BE68 83 E1 00 FC */ lwz r31, 0xfc(r1) /* 8021EF0C 0021BE6C 80 01 01 54 */ lwz r0, 0x154(r1) /* 8021EF10 0021BE70 83 C1 00 F8 */ lwz r30, 0xf8(r1) /* 8021EF14 0021BE74 7C 08 03 A6 */ mtlr r0 /* 8021EF18 0021BE78 38 21 01 50 */ addi r1, r1, 0x150 /* 8021EF1C 0021BE7C 4E 80 00 20 */ blr .global sub_8021ef20 sub_8021ef20: /* 8021EF20 0021BE80 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021EF24 0021BE84 7C 08 02 A6 */ mflr r0 /* 8021EF28 0021BE88 90 01 00 34 */ stw r0, 0x34(r1) /* 8021EF2C 0021BE8C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8021EF30 0021BE90 3B E0 00 00 */ li r31, 0 /* 8021EF34 0021BE94 93 C1 00 28 */ stw r30, 0x28(r1) /* 8021EF38 0021BE98 7C BE 2B 78 */ mr r30, r5 /* 8021EF3C 0021BE9C 93 A1 00 24 */ stw r29, 0x24(r1) /* 8021EF40 0021BEA0 7C 9D 23 78 */ mr r29, r4 /* 8021EF44 0021BEA4 93 81 00 20 */ stw r28, 0x20(r1) /* 8021EF48 0021BEA8 7C 7C 1B 78 */ mr r28, r3 /* 8021EF4C 0021BEAC 48 00 00 5C */ b lbl_8021EFA8 lbl_8021EF50: /* 8021EF50 0021BEB0 80 7C 09 28 */ lwz r3, 0x928(r28) /* 8021EF54 0021BEB4 7F E4 FB 78 */ mr r4, r31 /* 8021EF58 0021BEB8 4B F8 82 E1 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8021EF5C 0021BEBC A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8021EF60 0021BEC0 7F A3 EB 78 */ mr r3, r29 /* 8021EF64 0021BEC4 38 81 00 08 */ addi r4, r1, 8 /* 8021EF68 0021BEC8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021EF6C 0021BECC B0 01 00 08 */ sth r0, 8(r1) /* 8021EF70 0021BED0 4B E2 D6 05 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021EF74 0021BED4 7C 64 1B 78 */ mr r4, r3 /* 8021EF78 0021BED8 38 61 00 10 */ addi r3, r1, 0x10 /* 8021EF7C 0021BEDC 4B E9 03 D1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021EF80 0021BEE0 80 63 00 04 */ lwz r3, 4(r3) /* 8021EF84 0021BEE4 28 03 00 00 */ cmplwi r3, 0 /* 8021EF88 0021BEE8 41 82 00 1C */ beq lbl_8021EFA4 /* 8021EF8C 0021BEEC C0 1E 00 00 */ lfs f0, 0(r30) /* 8021EF90 0021BEF0 D0 03 03 04 */ stfs f0, 0x304(r3) /* 8021EF94 0021BEF4 C0 1E 00 04 */ lfs f0, 4(r30) /* 8021EF98 0021BEF8 D0 03 03 08 */ stfs f0, 0x308(r3) /* 8021EF9C 0021BEFC C0 1E 00 08 */ lfs f0, 8(r30) /* 8021EFA0 0021BF00 D0 03 03 0C */ stfs f0, 0x30c(r3) lbl_8021EFA4: /* 8021EFA4 0021BF04 3B FF 00 01 */ addi r31, r31, 1 lbl_8021EFA8: /* 8021EFA8 0021BF08 80 7C 09 28 */ lwz r3, 0x928(r28) /* 8021EFAC 0021BF0C 4B F8 82 9D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8021EFB0 0021BF10 7C 1F 18 40 */ cmplw r31, r3 /* 8021EFB4 0021BF14 41 80 FF 9C */ blt lbl_8021EF50 /* 8021EFB8 0021BF18 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021EFBC 0021BF1C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8021EFC0 0021BF20 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8021EFC4 0021BF24 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8021EFC8 0021BF28 83 81 00 20 */ lwz r28, 0x20(r1) /* 8021EFCC 0021BF2C 7C 08 03 A6 */ mtlr r0 /* 8021EFD0 0021BF30 38 21 00 30 */ addi r1, r1, 0x30 /* 8021EFD4 0021BF34 4E 80 00 20 */ blr .global sub_8021efd8 sub_8021efd8: /* 8021EFD8 0021BF38 80 03 09 F8 */ lwz r0, 0x9f8(r3) /* 8021EFDC 0021BF3C 38 63 09 FC */ addi r3, r3, 0x9fc /* 8021EFE0 0021BF40 7C 66 1B 78 */ mr r6, r3 /* 8021EFE4 0021BF44 54 00 08 3C */ slwi r0, r0, 1 /* 8021EFE8 0021BF48 7C A3 02 14 */ add r5, r3, r0 /* 8021EFEC 0021BF4C 48 00 00 20 */ b lbl_8021F00C lbl_8021EFF0: /* 8021EFF0 0021BF50 A0 66 00 00 */ lhz r3, 0(r6) /* 8021EFF4 0021BF54 A0 04 00 00 */ lhz r0, 0(r4) /* 8021EFF8 0021BF58 7C 03 00 40 */ cmplw r3, r0 /* 8021EFFC 0021BF5C 40 82 00 0C */ bne lbl_8021F008 /* 8021F000 0021BF60 38 60 00 01 */ li r3, 1 /* 8021F004 0021BF64 4E 80 00 20 */ blr lbl_8021F008: /* 8021F008 0021BF68 38 C6 00 02 */ addi r6, r6, 2 lbl_8021F00C: /* 8021F00C 0021BF6C 7C 06 28 40 */ cmplw r6, r5 /* 8021F010 0021BF70 40 82 FF E0 */ bne lbl_8021EFF0 /* 8021F014 0021BF74 38 60 00 00 */ li r3, 0 /* 8021F018 0021BF78 4E 80 00 20 */ blr .global sub_8021f01c sub_8021f01c: /* 8021F01C 0021BF7C A0 84 00 00 */ lhz r4, 0(r4) /* 8021F020 0021BF80 A0 03 09 F6 */ lhz r0, 0x9f6(r3) /* 8021F024 0021BF84 7C 04 00 50 */ subf r0, r4, r0 /* 8021F028 0021BF88 7C 00 00 34 */ cntlzw r0, r0 /* 8021F02C 0021BF8C 54 03 D9 7E */ srwi r3, r0, 5 /* 8021F030 0021BF90 4E 80 00 20 */ blr .global sub_8021f034 sub_8021f034: /* 8021F034 0021BF94 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8021F038 0021BF98 7C 08 02 A6 */ mflr r0 /* 8021F03C 0021BF9C 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8021F040 0021BFA0 BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 8021F044 0021BFA4 7C B9 2B 78 */ mr r25, r5 /* 8021F048 0021BFA8 7C DA 33 78 */ mr r26, r6 /* 8021F04C 0021BFAC 7C 9E 23 78 */ mr r30, r4 /* 8021F050 0021BFB0 3B A1 00 60 */ addi r29, r1, 0x60 /* 8021F054 0021BFB4 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 8021F058 0021BFB8 3B 60 00 00 */ li r27, 0 /* 8021F05C 0021BFBC 80 63 00 64 */ lwz r3, 0x64(r3) /* 8021F060 0021BFC0 83 E3 00 10 */ lwz r31, 0x10(r3) /* 8021F064 0021BFC4 48 00 01 20 */ b lbl_8021F184 lbl_8021F068: /* 8021F068 0021BFC8 80 9E 00 00 */ lwz r4, 0(r30) /* 8021F06C 0021BFCC 38 61 00 24 */ addi r3, r1, 0x24 /* 8021F070 0021BFD0 4B DE 5C 49 */ bl string_l__4rstlFPCc /* 8021F074 0021BFD4 7F E4 FB 78 */ mr r4, r31 /* 8021F078 0021BFD8 38 61 00 0C */ addi r3, r1, 0xc /* 8021F07C 0021BFDC 38 A1 00 24 */ addi r5, r1, 0x24 /* 8021F080 0021BFE0 4B E0 F7 B9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021F084 0021BFE4 88 01 00 0C */ lbz r0, 0xc(r1) /* 8021F088 0021BFE8 38 61 00 24 */ addi r3, r1, 0x24 /* 8021F08C 0021BFEC 98 01 00 10 */ stb r0, 0x10(r1) /* 8021F090 0021BFF0 48 11 EA 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021F094 0021BFF4 88 01 00 10 */ lbz r0, 0x10(r1) /* 8021F098 0021BFF8 28 00 00 FF */ cmplwi r0, 0xff /* 8021F09C 0021BFFC 41 82 00 E0 */ beq lbl_8021F17C /* 8021F0A0 0021C000 80 9E 00 00 */ lwz r4, 0(r30) /* 8021F0A4 0021C004 38 61 00 14 */ addi r3, r1, 0x14 /* 8021F0A8 0021C008 4B DE 5C 11 */ bl string_l__4rstlFPCc /* 8021F0AC 0021C00C 88 01 00 10 */ lbz r0, 0x10(r1) /* 8021F0B0 0021C010 38 61 00 34 */ addi r3, r1, 0x34 /* 8021F0B4 0021C014 C0 3E 00 04 */ lfs f1, 4(r30) /* 8021F0B8 0021C018 38 81 00 08 */ addi r4, r1, 8 /* 8021F0BC 0021C01C 98 01 00 08 */ stb r0, 8(r1) /* 8021F0C0 0021C020 38 A1 00 14 */ addi r5, r1, 0x14 /* 8021F0C4 0021C024 C0 42 B4 30 */ lfs f2, lbl_805AD150@sda21(r2) /* 8021F0C8 0021C028 4B F8 97 45 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 8021F0CC 0021C02C 80 E1 00 34 */ lwz r7, 0x34(r1) /* 8021F0D0 0021C030 7F 83 E3 78 */ mr r3, r28 /* 8021F0D4 0021C034 80 C1 00 38 */ lwz r6, 0x38(r1) /* 8021F0D8 0021C038 7F A4 EB 78 */ mr r4, r29 /* 8021F0DC 0021C03C 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 8021F0E0 0021C040 88 01 00 3D */ lbz r0, 0x3d(r1) /* 8021F0E4 0021C044 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 8021F0E8 0021C048 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 8021F0EC 0021C04C C0 A1 00 48 */ lfs f5, 0x48(r1) /* 8021F0F0 0021C050 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 8021F0F4 0021C054 C0 61 00 50 */ lfs f3, 0x50(r1) /* 8021F0F8 0021C058 C0 41 00 54 */ lfs f2, 0x54(r1) /* 8021F0FC 0021C05C C0 21 00 58 */ lfs f1, 0x58(r1) /* 8021F100 0021C060 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 8021F104 0021C064 90 E1 00 78 */ stw r7, 0x78(r1) /* 8021F108 0021C068 90 C1 00 7C */ stw r6, 0x7c(r1) /* 8021F10C 0021C06C 98 A1 00 80 */ stb r5, 0x80(r1) /* 8021F110 0021C070 98 01 00 81 */ stb r0, 0x81(r1) /* 8021F114 0021C074 D0 E1 00 84 */ stfs f7, 0x84(r1) /* 8021F118 0021C078 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 8021F11C 0021C07C D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 8021F120 0021C080 D0 81 00 90 */ stfs f4, 0x90(r1) /* 8021F124 0021C084 D0 61 00 94 */ stfs f3, 0x94(r1) /* 8021F128 0021C088 D0 41 00 98 */ stfs f2, 0x98(r1) /* 8021F12C 0021C08C D0 21 00 9C */ stfs f1, 0x9c(r1) /* 8021F130 0021C090 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8021F134 0021C094 48 11 F0 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8021F138 0021C098 A0 01 00 70 */ lhz r0, 0x70(r1) /* 8021F13C 0021C09C 28 1D 00 00 */ cmplwi r29, 0 /* 8021F140 0021C0A0 C0 01 00 74 */ lfs f0, 0x74(r1) /* 8021F144 0021C0A4 B0 01 00 B4 */ sth r0, 0xb4(r1) /* 8021F148 0021C0A8 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8021F14C 0021C0AC 41 82 00 0C */ beq lbl_8021F158 /* 8021F150 0021C0B0 7F A3 EB 78 */ mr r3, r29 /* 8021F154 0021C0B4 48 11 E9 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021F158: /* 8021F158 0021C0B8 38 61 00 14 */ addi r3, r1, 0x14 /* 8021F15C 0021C0BC 48 11 E9 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021F160 0021C0C0 7F 43 D3 78 */ mr r3, r26 /* 8021F164 0021C0C4 38 81 00 78 */ addi r4, r1, 0x78 /* 8021F168 0021C0C8 4B F3 70 C9 */ bl sub_80156230 /* 8021F16C 0021C0CC 28 1C 00 00 */ cmplwi r28, 0 /* 8021F170 0021C0D0 41 82 00 0C */ beq lbl_8021F17C /* 8021F174 0021C0D4 7F 83 E3 78 */ mr r3, r28 /* 8021F178 0021C0D8 48 11 E9 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8021F17C: /* 8021F17C 0021C0DC 3B DE 00 08 */ addi r30, r30, 8 /* 8021F180 0021C0E0 3B 7B 00 01 */ addi r27, r27, 1 lbl_8021F184: /* 8021F184 0021C0E4 7C 1B C8 00 */ cmpw r27, r25 /* 8021F188 0021C0E8 41 80 FE E0 */ blt lbl_8021F068 /* 8021F18C 0021C0EC BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 8021F190 0021C0F0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8021F194 0021C0F4 7C 08 03 A6 */ mtlr r0 /* 8021F198 0021C0F8 38 21 00 E0 */ addi r1, r1, 0xe0 /* 8021F19C 0021C0FC 4E 80 00 20 */ blr .global sub_8021f1a0 sub_8021f1a0: /* 8021F1A0 0021C100 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8021F1A4 0021C104 7C 08 02 A6 */ mflr r0 /* 8021F1A8 0021C108 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8021F1AC 0021C10C 38 00 00 00 */ li r0, 0 /* 8021F1B0 0021C110 BF 01 00 90 */ stmw r24, 0x90(r1) /* 8021F1B4 0021C114 7C 7A 1B 78 */ mr r26, r3 /* 8021F1B8 0021C118 7C 9B 23 78 */ mr r27, r4 /* 8021F1BC 0021C11C 38 61 00 60 */ addi r3, r1, 0x60 /* 8021F1C0 0021C120 38 80 00 05 */ li r4, 5 /* 8021F1C4 0021C124 90 01 00 64 */ stw r0, 0x64(r1) /* 8021F1C8 0021C128 90 01 00 68 */ stw r0, 0x68(r1) /* 8021F1CC 0021C12C 90 01 00 6C */ stw r0, 0x6c(r1) /* 8021F1D0 0021C130 4B F3 75 E9 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 8021F1D4 0021C134 3C 80 80 3D */ lis r4, lbl_803D31A8@ha /* 8021F1D8 0021C138 7F 43 D3 78 */ mr r3, r26 /* 8021F1DC 0021C13C 38 84 31 A8 */ addi r4, r4, lbl_803D31A8@l /* 8021F1E0 0021C140 38 C1 00 60 */ addi r6, r1, 0x60 /* 8021F1E4 0021C144 38 A0 00 05 */ li r5, 5 /* 8021F1E8 0021C148 4B FF FE 4D */ bl sub_8021f034 /* 8021F1EC 0021C14C 3C 80 80 3D */ lis r4, lbl_803D31D0@ha /* 8021F1F0 0021C150 38 60 00 18 */ li r3, 0x18 /* 8021F1F4 0021C154 38 84 31 D0 */ addi r4, r4, lbl_803D31D0@l /* 8021F1F8 0021C158 38 A0 00 00 */ li r5, 0 /* 8021F1FC 0021C15C 38 84 00 2D */ addi r4, r4, 0x2d /* 8021F200 0021C160 48 0F 66 6D */ bl __nw__FUlPCcPCc /* 8021F204 0021C164 7C 78 1B 79 */ or. r24, r3, r3 /* 8021F208 0021C168 41 82 00 38 */ beq lbl_8021F240 /* 8021F20C 0021C16C 81 3A 00 04 */ lwz r9, 4(r26) /* 8021F210 0021C170 7F 64 DB 78 */ mr r4, r27 /* 8021F214 0021C174 38 A1 00 10 */ addi r5, r1, 0x10 /* 8021F218 0021C178 38 C1 00 1C */ addi r6, r1, 0x1c /* 8021F21C 0021C17C 91 21 00 1C */ stw r9, 0x1c(r1) /* 8021F220 0021C180 38 E1 00 60 */ addi r7, r1, 0x60 /* 8021F224 0021C184 39 00 00 00 */ li r8, 0 /* 8021F228 0021C188 A0 1A 00 08 */ lhz r0, 8(r26) /* 8021F22C 0021C18C 91 21 00 18 */ stw r9, 0x18(r1) /* 8021F230 0021C190 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021F234 0021C194 B0 01 00 10 */ sth r0, 0x10(r1) /* 8021F238 0021C198 4B F8 86 F9 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 8021F23C 0021C19C 7C 78 1B 78 */ mr r24, r3 lbl_8021F240: /* 8021F240 0021C1A0 80 7A 09 28 */ lwz r3, 0x928(r26) /* 8021F244 0021C1A4 38 80 00 01 */ li r4, 1 /* 8021F248 0021C1A8 4B F8 86 95 */ bl sub_801a78dc /* 8021F24C 0021C1AC 93 1A 09 28 */ stw r24, 0x928(r26) /* 8021F250 0021C1B0 7F 64 DB 78 */ mr r4, r27 /* 8021F254 0021C1B4 88 1A 00 30 */ lbz r0, 0x30(r26) /* 8021F258 0021C1B8 80 7A 09 28 */ lwz r3, 0x928(r26) /* 8021F25C 0021C1BC 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f /* 8021F260 0021C1C0 4B F8 80 99 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 8021F264 0021C1C4 3B FA 05 D8 */ addi r31, r26, 0x5d8 /* 8021F268 0021C1C8 3B DA 09 FC */ addi r30, r26, 0x9fc /* 8021F26C 0021C1CC 3B A0 00 00 */ li r29, 0 /* 8021F270 0021C1D0 48 00 01 10 */ b lbl_8021F380 lbl_8021F274: /* 8021F274 0021C1D4 80 7A 09 28 */ lwz r3, 0x928(r26) /* 8021F278 0021C1D8 7F A4 EB 78 */ mr r4, r29 /* 8021F27C 0021C1DC 4B F8 7F BD */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8021F280 0021C1E0 7C 78 1B 78 */ mr r24, r3 /* 8021F284 0021C1E4 7F 63 DB 78 */ mr r3, r27 /* 8021F288 0021C1E8 A0 18 00 3C */ lhz r0, 0x3c(r24) /* 8021F28C 0021C1EC 38 81 00 08 */ addi r4, r1, 8 /* 8021F290 0021C1F0 B0 01 00 14 */ sth r0, 0x14(r1) /* 8021F294 0021C1F4 B0 01 00 08 */ sth r0, 8(r1) /* 8021F298 0021C1F8 4B E2 D2 DD */ bl ObjectById__13CStateManagerF9TUniqueId /* 8021F29C 0021C1FC 7C 64 1B 78 */ mr r4, r3 /* 8021F2A0 0021C200 38 61 00 28 */ addi r3, r1, 0x28 /* 8021F2A4 0021C204 4B E9 00 A9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021F2A8 0021C208 83 83 00 04 */ lwz r28, 4(r3) /* 8021F2AC 0021C20C 28 1C 00 00 */ cmplwi r28, 0 /* 8021F2B0 0021C210 41 82 00 CC */ beq lbl_8021F37C /* 8021F2B4 0021C214 7F 83 E3 78 */ mr r3, r28 /* 8021F2B8 0021C218 7F E4 FB 78 */ mr r4, r31 /* 8021F2BC 0021C21C 4B F8 98 DD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability /* 8021F2C0 0021C220 80 82 B3 F4 */ lwz r4, lbl_805AD114@sda21(r2) /* 8021F2C4 0021C224 38 61 00 50 */ addi r3, r1, 0x50 /* 8021F2C8 0021C228 4B DE 59 F1 */ bl string_l__4rstlFPCc /* 8021F2CC 0021C22C 38 78 00 2C */ addi r3, r24, 0x2c /* 8021F2D0 0021C230 38 81 00 50 */ addi r4, r1, 0x50 /* 8021F2D4 0021C234 4B E3 33 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" /* 8021F2D8 0021C238 7C 79 1B 78 */ mr r25, r3 /* 8021F2DC 0021C23C 38 61 00 50 */ addi r3, r1, 0x50 /* 8021F2E0 0021C240 48 11 E8 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021F2E4 0021C244 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 8021F2E8 0021C248 41 82 00 10 */ beq lbl_8021F2F8 /* 8021F2EC 0021C24C A0 01 00 14 */ lhz r0, 0x14(r1) /* 8021F2F0 0021C250 B0 1A 09 F6 */ sth r0, 0x9f6(r26) /* 8021F2F4 0021C254 48 00 00 88 */ b lbl_8021F37C lbl_8021F2F8: /* 8021F2F8 0021C258 80 82 B3 F8 */ lwz r4, lbl_805AD118@sda21(r2) /* 8021F2FC 0021C25C 38 61 00 40 */ addi r3, r1, 0x40 /* 8021F300 0021C260 4B DE 59 B9 */ bl string_l__4rstlFPCc /* 8021F304 0021C264 38 78 00 2C */ addi r3, r24, 0x2c /* 8021F308 0021C268 38 81 00 40 */ addi r4, r1, 0x40 /* 8021F30C 0021C26C 4B E3 32 D5 */ 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" /* 8021F310 0021C270 7C 79 1B 78 */ mr r25, r3 /* 8021F314 0021C274 38 61 00 40 */ addi r3, r1, 0x40 /* 8021F318 0021C278 48 11 E7 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021F31C 0021C27C 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 8021F320 0021C280 40 82 00 30 */ bne lbl_8021F350 /* 8021F324 0021C284 80 82 B3 FC */ lwz r4, lbl_805AD11C@sda21(r2) /* 8021F328 0021C288 38 61 00 30 */ addi r3, r1, 0x30 /* 8021F32C 0021C28C 4B DE 59 8D */ bl string_l__4rstlFPCc /* 8021F330 0021C290 38 78 00 2C */ addi r3, r24, 0x2c /* 8021F334 0021C294 38 81 00 30 */ addi r4, r1, 0x30 /* 8021F338 0021C298 4B E3 32 A9 */ 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" /* 8021F33C 0021C29C 7C 79 1B 78 */ mr r25, r3 /* 8021F340 0021C2A0 38 61 00 30 */ addi r3, r1, 0x30 /* 8021F344 0021C2A4 48 11 E7 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8021F348 0021C2A8 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 8021F34C 0021C2AC 41 82 00 30 */ beq lbl_8021F37C lbl_8021F350: /* 8021F350 0021C2B0 80 1A 09 F8 */ lwz r0, 0x9f8(r26) /* 8021F354 0021C2B4 54 00 08 3C */ slwi r0, r0, 1 /* 8021F358 0021C2B8 7C 7E 02 15 */ add. r3, r30, r0 /* 8021F35C 0021C2BC 41 82 00 0C */ beq lbl_8021F368 /* 8021F360 0021C2C0 A0 01 00 14 */ lhz r0, 0x14(r1) /* 8021F364 0021C2C4 B0 03 00 00 */ sth r0, 0(r3) lbl_8021F368: /* 8021F368 0021C2C8 80 7A 09 F8 */ lwz r3, 0x9f8(r26) /* 8021F36C 0021C2CC 38 00 00 42 */ li r0, 0x42 /* 8021F370 0021C2D0 38 63 00 01 */ addi r3, r3, 1 /* 8021F374 0021C2D4 90 7A 09 F8 */ stw r3, 0x9f8(r26) /* 8021F378 0021C2D8 90 1C 03 00 */ stw r0, 0x300(r28) lbl_8021F37C: /* 8021F37C 0021C2DC 3B BD 00 01 */ addi r29, r29, 1 lbl_8021F380: /* 8021F380 0021C2E0 80 7A 09 28 */ lwz r3, 0x928(r26) /* 8021F384 0021C2E4 4B F8 7E C5 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8021F388 0021C2E8 7C 1D 18 40 */ cmplw r29, r3 /* 8021F38C 0021C2EC 41 80 FE E8 */ blt lbl_8021F274 /* 8021F390 0021C2F0 7F 43 D3 78 */ mr r3, r26 /* 8021F394 0021C2F4 7F 64 DB 78 */ mr r4, r27 /* 8021F398 0021C2F8 4B FF F7 81 */ bl sub_8021eb18 /* 8021F39C 0021C2FC 80 AD 95 20 */ lwz r5, lbl_805A80E0@sda21(r13) /* 8021F3A0 0021C300 38 60 00 00 */ li r3, 0 /* 8021F3A4 0021C304 38 80 00 01 */ li r4, 1 /* 8021F3A8 0021C308 48 16 AB 4D */ bl __shl2i /* 8021F3AC 0021C30C 80 AD 95 24 */ lwz r5, lbl_805A80E4@sda21(r13) /* 8021F3B0 0021C310 7C 99 23 78 */ mr r25, r4 /* 8021F3B4 0021C314 7C 78 1B 78 */ mr r24, r3 /* 8021F3B8 0021C318 38 60 00 00 */ li r3, 0 /* 8021F3BC 0021C31C 38 80 00 01 */ li r4, 1 /* 8021F3C0 0021C320 48 16 AB 35 */ bl __shl2i /* 8021F3C4 0021C324 80 AD 95 28 */ lwz r5, lbl_805A80E8@sda21(r13) /* 8021F3C8 0021C328 7F 39 23 78 */ or r25, r25, r4 /* 8021F3CC 0021C32C 7F 18 1B 78 */ or r24, r24, r3 /* 8021F3D0 0021C330 38 60 00 00 */ li r3, 0 /* 8021F3D4 0021C334 38 80 00 01 */ li r4, 1 /* 8021F3D8 0021C338 48 16 AB 1D */ bl __shl2i /* 8021F3DC 0021C33C 80 AD 95 1C */ lwz r5, lbl_805A80DC@sda21(r13) /* 8021F3E0 0021C340 7F 39 23 78 */ or r25, r25, r4 /* 8021F3E4 0021C344 7F 18 1B 78 */ or r24, r24, r3 /* 8021F3E8 0021C348 38 60 00 00 */ li r3, 0 /* 8021F3EC 0021C34C 38 80 00 01 */ li r4, 1 /* 8021F3F0 0021C350 48 16 AB 05 */ bl __shl2i /* 8021F3F4 0021C354 38 00 00 03 */ li r0, 3 /* 8021F3F8 0021C358 90 81 00 74 */ stw r4, 0x74(r1) /* 8021F3FC 0021C35C 38 81 00 70 */ addi r4, r1, 0x70 /* 8021F400 0021C360 90 61 00 70 */ stw r3, 0x70(r1) /* 8021F404 0021C364 7F 43 D3 78 */ mr r3, r26 /* 8021F408 0021C368 93 21 00 7C */ stw r25, 0x7c(r1) /* 8021F40C 0021C36C 93 01 00 78 */ stw r24, 0x78(r1) /* 8021F410 0021C370 90 01 00 80 */ stw r0, 0x80(r1) /* 8021F414 0021C374 4B E3 44 8D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 8021F418 0021C378 7F 43 D3 78 */ mr r3, r26 /* 8021F41C 0021C37C 7F 65 DB 78 */ mr r5, r27 /* 8021F420 0021C380 38 80 00 12 */ li r4, 0x12 /* 8021F424 0021C384 4B E3 4F 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 8021F428 0021C388 38 00 00 00 */ li r0, 0 /* 8021F42C 0021C38C 80 AD 95 2C */ lwz r5, lbl_805A80EC@sda21(r13) /* 8021F430 0021C390 90 01 00 24 */ stw r0, 0x24(r1) /* 8021F434 0021C394 38 60 00 00 */ li r3, 0 /* 8021F438 0021C398 38 80 00 01 */ li r4, 1 /* 8021F43C 0021C39C 90 01 00 20 */ stw r0, 0x20(r1) /* 8021F440 0021C3A0 48 16 AA B5 */ bl __shl2i /* 8021F444 0021C3A4 80 01 00 20 */ lwz r0, 0x20(r1) /* 8021F448 0021C3A8 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8021F44C 0021C3AC 7C 00 1B 78 */ or r0, r0, r3 /* 8021F450 0021C3B0 80 AD 95 30 */ lwz r5, lbl_805A80F0@sda21(r13) /* 8021F454 0021C3B4 7C C4 23 78 */ or r4, r6, r4 /* 8021F458 0021C3B8 90 01 00 20 */ stw r0, 0x20(r1) /* 8021F45C 0021C3BC 38 60 00 00 */ li r3, 0 /* 8021F460 0021C3C0 90 81 00 24 */ stw r4, 0x24(r1) /* 8021F464 0021C3C4 38 80 00 01 */ li r4, 1 /* 8021F468 0021C3C8 48 16 AA 8D */ bl __shl2i /* 8021F46C 0021C3CC 80 01 00 20 */ lwz r0, 0x20(r1) /* 8021F470 0021C3D0 38 A1 00 20 */ addi r5, r1, 0x20 /* 8021F474 0021C3D4 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8021F478 0021C3D8 7C 00 1B 78 */ or r0, r0, r3 /* 8021F47C 0021C3DC 7C C3 23 78 */ or r3, r6, r4 /* 8021F480 0021C3E0 90 01 00 20 */ stw r0, 0x20(r1) /* 8021F484 0021C3E4 7F 64 DB 78 */ mr r4, r27 /* 8021F488 0021C3E8 90 61 00 24 */ stw r3, 0x24(r1) /* 8021F48C 0021C3EC 80 7A 09 28 */ lwz r3, 0x928(r26) /* 8021F490 0021C3F0 4B F8 7D C1 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 8021F494 0021C3F4 38 61 00 60 */ addi r3, r1, 0x60 /* 8021F498 0021C3F8 38 80 FF FF */ li r4, -1 /* 8021F49C 0021C3FC 4B F3 6E 91 */ bl sub_8015632c /* 8021F4A0 0021C400 BB 01 00 90 */ lmw r24, 0x90(r1) /* 8021F4A4 0021C404 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8021F4A8 0021C408 7C 08 03 A6 */ mtlr r0 /* 8021F4AC 0021C40C 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8021F4B0 0021C410 4E 80 00 20 */ blr .global sub_8021f4b4 sub_8021f4b4: /* 8021F4B4 0021C414 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8021F4B8 0021C418 7C 08 02 A6 */ mflr r0 /* 8021F4BC 0021C41C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8021F4C0 0021C420 93 E1 00 AC */ stw r31, 0xac(r1) /* 8021F4C4 0021C424 7C BF 2B 78 */ mr r31, r5 /* 8021F4C8 0021C428 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 8021F4CC 0021C42C 7C 7E 1B 78 */ mr r30, r3 /* 8021F4D0 0021C430 7F E3 FB 78 */ mr r3, r31 /* 8021F4D4 0021C434 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 8021F4D8 0021C438 A0 04 00 00 */ lhz r0, 0(r4) /* 8021F4DC 0021C43C 38 81 00 3C */ addi r4, r1, 0x3c /* 8021F4E0 0021C440 B0 01 00 3C */ sth r0, 0x3c(r1) /* 8021F4E4 0021C444 4B E2 D0 C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8021F4E8 0021C448 7C 64 1B 78 */ mr r4, r3 /* 8021F4EC 0021C44C 38 61 00 40 */ addi r3, r1, 0x40 /* 8021F4F0 0021C450 4B E8 FE 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8021F4F4 0021C454 83 A3 00 04 */ lwz r29, 4(r3) /* 8021F4F8 0021C458 28 1D 00 00 */ cmplwi r29, 0 /* 8021F4FC 0021C45C 41 82 01 98 */ beq lbl_8021F694 /* 8021F500 0021C460 7F C3 F3 78 */ mr r3, r30 /* 8021F504 0021C464 7F E4 FB 78 */ mr r4, r31 /* 8021F508 0021C468 81 9E 00 00 */ lwz r12, 0(r30) /* 8021F50C 0021C46C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8021F510 0021C470 7D 89 03 A6 */ mtctr r12 /* 8021F514 0021C474 4E 80 04 21 */ bctrl /* 8021F518 0021C478 C0 23 00 00 */ lfs f1, 0(r3) /* 8021F51C 0021C47C C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021F520 0021C480 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021F524 0021C484 40 81 01 70 */ ble lbl_8021F694 /* 8021F528 0021C488 7F A4 EB 78 */ mr r4, r29 /* 8021F52C 0021C48C 38 61 00 38 */ addi r3, r1, 0x38 /* 8021F530 0021C490 4B F8 96 5D */ bl GetLastTouchedObject__15CCollisionActorCFv /* 8021F534 0021C494 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8021F538 0021C498 A0 81 00 38 */ lhz r4, 0x38(r1) /* 8021F53C 0021C49C A0 03 00 08 */ lhz r0, 8(r3) /* 8021F540 0021C4A0 7C 04 00 40 */ cmplw r4, r0 /* 8021F544 0021C4A4 40 82 01 50 */ bne lbl_8021F694 /* 8021F548 0021C4A8 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 8021F54C 0021C4AC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8021F550 0021C4B0 41 82 00 98 */ beq lbl_8021F5E8 /* 8021F554 0021C4B4 80 AD 95 18 */ lwz r5, lbl_805A80D8@sda21(r13) /* 8021F558 0021C4B8 38 60 00 00 */ li r3, 0 /* 8021F55C 0021C4BC 38 80 00 01 */ li r4, 1 /* 8021F560 0021C4C0 48 16 A9 95 */ bl __shl2i /* 8021F564 0021C4C4 39 40 00 00 */ li r10, 0 /* 8021F568 0021C4C8 38 00 00 03 */ li r0, 3 /* 8021F56C 0021C4CC 90 81 00 84 */ stw r4, 0x84(r1) /* 8021F570 0021C4D0 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021F574 0021C4D4 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8021F578 0021C4D8 38 A1 00 2C */ addi r5, r1, 0x2c /* 8021F57C 0021C4DC 90 61 00 80 */ stw r3, 0x80(r1) /* 8021F580 0021C4E0 38 81 00 34 */ addi r4, r1, 0x34 /* 8021F584 0021C4E4 7F E3 FB 78 */ mr r3, r31 /* 8021F588 0021C4E8 38 C1 00 24 */ addi r6, r1, 0x24 /* 8021F58C 0021C4EC 91 41 00 8C */ stw r10, 0x8c(r1) /* 8021F590 0021C4F0 38 FE 05 98 */ addi r7, r30, 0x598 /* 8021F594 0021C4F4 39 01 00 80 */ addi r8, r1, 0x80 /* 8021F598 0021C4F8 91 41 00 88 */ stw r10, 0x88(r1) /* 8021F59C 0021C4FC 90 01 00 90 */ stw r0, 0x90(r1) /* 8021F5A0 0021C500 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021F5A4 0021C504 B0 01 00 24 */ sth r0, 0x24(r1) /* 8021F5A8 0021C508 81 5F 08 4C */ lwz r10, 0x84c(r31) /* 8021F5AC 0021C50C B0 01 00 20 */ sth r0, 0x20(r1) /* 8021F5B0 0021C510 A1 4A 00 08 */ lhz r10, 8(r10) /* 8021F5B4 0021C514 B1 41 00 2C */ sth r10, 0x2c(r1) /* 8021F5B8 0021C518 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021F5BC 0021C51C B1 41 00 28 */ sth r10, 0x28(r1) /* 8021F5C0 0021C520 B0 01 00 30 */ sth r0, 0x30(r1) /* 8021F5C4 0021C524 B0 01 00 34 */ sth r0, 0x34(r1) /* 8021F5C8 0021C528 4B E2 AA D9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 8021F5CC 0021C52C 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 8021F5D0 0021C530 38 60 00 00 */ li r3, 0 /* 8021F5D4 0021C534 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8021F5D8 0021C538 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 8021F5DC 0021C53C C0 1E 04 24 */ lfs f0, 0x424(r30) /* 8021F5E0 0021C540 D0 1E 04 20 */ stfs f0, 0x420(r30) /* 8021F5E4 0021C544 48 00 00 B0 */ b lbl_8021F694 lbl_8021F5E8: /* 8021F5E8 0021C548 C0 3E 04 20 */ lfs f1, 0x420(r30) /* 8021F5EC 0021C54C C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021F5F0 0021C550 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8021F5F4 0021C554 4C 40 13 82 */ cror 2, 0, 2 /* 8021F5F8 0021C558 40 82 00 9C */ bne lbl_8021F694 /* 8021F5FC 0021C55C 80 AD 95 18 */ lwz r5, lbl_805A80D8@sda21(r13) /* 8021F600 0021C560 38 60 00 00 */ li r3, 0 /* 8021F604 0021C564 38 80 00 01 */ li r4, 1 /* 8021F608 0021C568 48 16 A8 ED */ bl __shl2i /* 8021F60C 0021C56C 38 A0 00 00 */ li r5, 0 /* 8021F610 0021C570 38 00 00 03 */ li r0, 3 /* 8021F614 0021C574 90 81 00 4C */ stw r4, 0x4c(r1) /* 8021F618 0021C578 7F C4 F3 78 */ mr r4, r30 /* 8021F61C 0021C57C 90 61 00 48 */ stw r3, 0x48(r1) /* 8021F620 0021C580 38 61 00 60 */ addi r3, r1, 0x60 /* 8021F624 0021C584 90 A1 00 54 */ stw r5, 0x54(r1) /* 8021F628 0021C588 90 A1 00 50 */ stw r5, 0x50(r1) /* 8021F62C 0021C58C 90 01 00 58 */ stw r0, 0x58(r1) /* 8021F630 0021C590 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021F634 0021C594 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021F638 0021C598 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 8021F63C 0021C59C B0 01 00 08 */ sth r0, 8(r1) /* 8021F640 0021C5A0 A0 A5 00 08 */ lhz r5, 8(r5) /* 8021F644 0021C5A4 B0 A1 00 14 */ sth r5, 0x14(r1) /* 8021F648 0021C5A8 A0 1E 00 08 */ lhz r0, 8(r30) /* 8021F64C 0021C5AC B0 A1 00 10 */ sth r5, 0x10(r1) /* 8021F650 0021C5B0 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8021F654 0021C5B4 81 9E 00 00 */ lwz r12, 0(r30) /* 8021F658 0021C5B8 B0 01 00 18 */ sth r0, 0x18(r1) /* 8021F65C 0021C5BC 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 8021F660 0021C5C0 7D 89 03 A6 */ mtctr r12 /* 8021F664 0021C5C4 4E 80 04 21 */ bctrl /* 8021F668 0021C5C8 3C 80 80 5A */ lis r4, skZero3f@ha /* 8021F66C 0021C5CC 7F E3 FB 78 */ mr r3, r31 /* 8021F670 0021C5D0 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8021F674 0021C5D4 38 A1 00 14 */ addi r5, r1, 0x14 /* 8021F678 0021C5D8 38 81 00 1C */ addi r4, r1, 0x1c /* 8021F67C 0021C5DC 38 C1 00 0C */ addi r6, r1, 0xc /* 8021F680 0021C5E0 38 E1 00 60 */ addi r7, r1, 0x60 /* 8021F684 0021C5E4 39 01 00 48 */ addi r8, r1, 0x48 /* 8021F688 0021C5E8 4B E2 AA 19 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 8021F68C 0021C5EC C0 1E 04 24 */ lfs f0, 0x424(r30) /* 8021F690 0021C5F0 D0 1E 04 20 */ stfs f0, 0x420(r30) lbl_8021F694: /* 8021F694 0021C5F4 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8021F698 0021C5F8 83 E1 00 AC */ lwz r31, 0xac(r1) /* 8021F69C 0021C5FC 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 8021F6A0 0021C600 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 8021F6A4 0021C604 7C 08 03 A6 */ mtlr r0 /* 8021F6A8 0021C608 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8021F6AC 0021C60C 4E 80 00 20 */ blr .global sub_8021f6b0 sub_8021f6b0: /* 8021F6B0 0021C610 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8021F6B4 0021C614 7C 08 02 A6 */ mflr r0 /* 8021F6B8 0021C618 90 01 00 54 */ stw r0, 0x54(r1) /* 8021F6BC 0021C61C DB E1 00 40 */ stfd f31, 0x40(r1) /* 8021F6C0 0021C620 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 8021F6C4 0021C624 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8021F6C8 0021C628 93 C1 00 38 */ stw r30, 0x38(r1) /* 8021F6CC 0021C62C 7C 7E 1B 78 */ mr r30, r3 /* 8021F6D0 0021C630 7C BF 2B 78 */ mr r31, r5 /* 8021F6D4 0021C634 C0 63 00 60 */ lfs f3, 0x60(r3) /* 8021F6D8 0021C638 7C 85 23 78 */ mr r5, r4 /* 8021F6DC 0021C63C C0 43 00 50 */ lfs f2, 0x50(r3) /* 8021F6E0 0021C640 C0 03 00 40 */ lfs f0, 0x40(r3) /* 8021F6E4 0021C644 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 8021F6E8 0021C648 D0 1F 00 00 */ stfs f0, 0(r31) /* 8021F6EC 0021C64C D0 5F 00 04 */ stfs f2, 4(r31) /* 8021F6F0 0021C650 D0 7F 00 08 */ stfs f3, 8(r31) /* 8021F6F4 0021C654 C0 03 08 D8 */ lfs f0, 0x8d8(r3) /* 8021F6F8 0021C658 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8021F6FC 0021C65C 4C 40 13 82 */ cror 2, 0, 2 /* 8021F700 0021C660 40 82 00 C8 */ bne lbl_8021F7C8 /* 8021F704 0021C664 80 85 08 4C */ lwz r4, 0x84c(r5) /* 8021F708 0021C668 38 61 00 14 */ addi r3, r1, 0x14 /* 8021F70C 0021C66C 81 84 00 00 */ lwz r12, 0(r4) /* 8021F710 0021C670 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8021F714 0021C674 7D 89 03 A6 */ mtctr r12 /* 8021F718 0021C678 4E 80 04 21 */ bctrl /* 8021F71C 0021C67C C0 21 00 14 */ lfs f1, 0x14(r1) /* 8021F720 0021C680 38 61 00 20 */ addi r3, r1, 0x20 /* 8021F724 0021C684 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021F728 0021C688 D0 3F 00 00 */ stfs f1, 0(r31) /* 8021F72C 0021C68C C0 21 00 18 */ lfs f1, 0x18(r1) /* 8021F730 0021C690 D0 3F 00 04 */ stfs f1, 4(r31) /* 8021F734 0021C694 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 8021F738 0021C698 D0 3F 00 08 */ stfs f1, 8(r31) /* 8021F73C 0021C69C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8021F740 0021C6A0 C0 3F 00 08 */ lfs f1, 8(r31) /* 8021F744 0021C6A4 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 8021F748 0021C6A8 C0 7F 00 04 */ lfs f3, 4(r31) /* 8021F74C 0021C6AC EC A2 08 28 */ fsubs f5, f2, f1 /* 8021F750 0021C6B0 C0 5E 00 40 */ lfs f2, 0x40(r30) /* 8021F754 0021C6B4 C0 3F 00 00 */ lfs f1, 0(r31) /* 8021F758 0021C6B8 EC 64 18 28 */ fsubs f3, f4, f3 /* 8021F75C 0021C6BC EC 22 08 28 */ fsubs f1, f2, f1 /* 8021F760 0021C6C0 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 8021F764 0021C6C4 D0 61 00 24 */ stfs f3, 0x24(r1) /* 8021F768 0021C6C8 D0 21 00 20 */ stfs f1, 0x20(r1) /* 8021F76C 0021C6CC D0 01 00 28 */ stfs f0, 0x28(r1) /* 8021F770 0021C6D0 48 0F 4F 89 */ bl CanBeNormalized__9CVector3fCFv /* 8021F774 0021C6D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021F778 0021C6D8 41 82 00 50 */ beq lbl_8021F7C8 /* 8021F77C 0021C6DC C3 FE 02 FC */ lfs f31, 0x2fc(r30) /* 8021F780 0021C6E0 38 61 00 08 */ addi r3, r1, 8 /* 8021F784 0021C6E4 38 81 00 20 */ addi r4, r1, 0x20 /* 8021F788 0021C6E8 48 0F 50 C9 */ bl AsNormalized__9CVector3fCFv /* 8021F78C 0021C6EC C0 01 00 08 */ lfs f0, 8(r1) /* 8021F790 0021C6F0 C0 61 00 0C */ lfs f3, 0xc(r1) /* 8021F794 0021C6F4 EC 1F 00 32 */ fmuls f0, f31, f0 /* 8021F798 0021C6F8 C0 3F 00 00 */ lfs f1, 0(r31) /* 8021F79C 0021C6FC C0 41 00 10 */ lfs f2, 0x10(r1) /* 8021F7A0 0021C700 EC 7F 00 F2 */ fmuls f3, f31, f3 /* 8021F7A4 0021C704 EC 01 00 2A */ fadds f0, f1, f0 /* 8021F7A8 0021C708 EC 3F 00 B2 */ fmuls f1, f31, f2 /* 8021F7AC 0021C70C D0 1F 00 00 */ stfs f0, 0(r31) /* 8021F7B0 0021C710 C0 1F 00 04 */ lfs f0, 4(r31) /* 8021F7B4 0021C714 EC 00 18 2A */ fadds f0, f0, f3 /* 8021F7B8 0021C718 D0 1F 00 04 */ stfs f0, 4(r31) /* 8021F7BC 0021C71C C0 1F 00 08 */ lfs f0, 8(r31) /* 8021F7C0 0021C720 EC 00 08 2A */ fadds f0, f0, f1 /* 8021F7C4 0021C724 D0 1F 00 08 */ stfs f0, 8(r31) lbl_8021F7C8: /* 8021F7C8 0021C728 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8021F7CC 0021C72C 80 01 00 54 */ lwz r0, 0x54(r1) /* 8021F7D0 0021C730 CB E1 00 40 */ lfd f31, 0x40(r1) /* 8021F7D4 0021C734 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8021F7D8 0021C738 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8021F7DC 0021C73C 7C 08 03 A6 */ mtlr r0 /* 8021F7E0 0021C740 38 21 00 50 */ addi r1, r1, 0x50 /* 8021F7E4 0021C744 4E 80 00 20 */ blr .global sub_8021f7e8 sub_8021f7e8: /* 8021F7E8 0021C748 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8021F7EC 0021C74C 7C 08 02 A6 */ mflr r0 /* 8021F7F0 0021C750 C0 62 B4 34 */ lfs f3, lbl_805AD154@sda21(r2) /* 8021F7F4 0021C754 90 01 00 44 */ stw r0, 0x44(r1) /* 8021F7F8 0021C758 38 81 00 14 */ addi r4, r1, 0x14 /* 8021F7FC 0021C75C C0 22 B4 38 */ lfs f1, lbl_805AD158@sda21(r2) /* 8021F800 0021C760 38 A1 00 08 */ addi r5, r1, 8 /* 8021F804 0021C764 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8021F808 0021C768 7C 7F 1B 78 */ mr r31, r3 /* 8021F80C 0021C76C C0 42 B4 24 */ lfs f2, lbl_805AD144@sda21(r2) /* 8021F810 0021C770 38 61 00 20 */ addi r3, r1, 0x20 /* 8021F814 0021C774 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021F818 0021C778 D0 61 00 08 */ stfs f3, 8(r1) /* 8021F81C 0021C77C D0 61 00 0C */ stfs f3, 0xc(r1) /* 8021F820 0021C780 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8021F824 0021C784 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8021F828 0021C788 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8021F82C 0021C78C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8021F830 0021C790 48 11 8C D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8021F834 0021C794 7F E3 FB 78 */ mr r3, r31 /* 8021F838 0021C798 38 81 00 20 */ addi r4, r1, 0x20 /* 8021F83C 0021C79C 4B EF AE 1D */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox /* 8021F840 0021C7A0 80 61 00 20 */ lwz r3, 0x20(r1) /* 8021F844 0021C7A4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021F848 0021C7A8 90 7F 09 40 */ stw r3, 0x940(r31) /* 8021F84C 0021C7AC 90 1F 09 44 */ stw r0, 0x944(r31) /* 8021F850 0021C7B0 80 01 00 28 */ lwz r0, 0x28(r1) /* 8021F854 0021C7B4 90 1F 09 48 */ stw r0, 0x948(r31) /* 8021F858 0021C7B8 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8021F85C 0021C7BC 80 01 00 30 */ lwz r0, 0x30(r1) /* 8021F860 0021C7C0 90 7F 09 4C */ stw r3, 0x94c(r31) /* 8021F864 0021C7C4 90 1F 09 50 */ stw r0, 0x950(r31) /* 8021F868 0021C7C8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021F86C 0021C7CC 90 1F 09 54 */ stw r0, 0x954(r31) /* 8021F870 0021C7D0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8021F874 0021C7D4 80 01 00 44 */ lwz r0, 0x44(r1) /* 8021F878 0021C7D8 7C 08 03 A6 */ mtlr r0 /* 8021F87C 0021C7DC 38 21 00 40 */ addi r1, r1, 0x40 /* 8021F880 0021C7E0 4E 80 00 20 */ blr .global TurnAround__9CBabygothFR13CStateManager9EStateMsgf TurnAround__9CBabygothFR13CStateManager9EStateMsgf: /* 8021F884 0021C7E4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8021F888 0021C7E8 7C 08 02 A6 */ mflr r0 /* 8021F88C 0021C7EC 90 01 00 74 */ stw r0, 0x74(r1) /* 8021F890 0021C7F0 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8021F894 0021C7F4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8021F898 0021C7F8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8021F89C 0021C7FC 93 C1 00 58 */ stw r30, 0x58(r1) /* 8021F8A0 0021C800 FF E0 08 90 */ fmr f31, f1 /* 8021F8A4 0021C804 2C 05 00 01 */ cmpwi r5, 1 /* 8021F8A8 0021C808 7C 7E 1B 78 */ mr r30, r3 /* 8021F8AC 0021C80C 7C 9F 23 78 */ mr r31, r4 /* 8021F8B0 0021C810 41 82 00 88 */ beq lbl_8021F938 /* 8021F8B4 0021C814 40 80 00 10 */ bge lbl_8021F8C4 /* 8021F8B8 0021C818 2C 05 00 00 */ cmpwi r5, 0 /* 8021F8BC 0021C81C 40 80 00 14 */ bge lbl_8021F8D0 /* 8021F8C0 0021C820 48 00 01 80 */ b lbl_8021FA40 lbl_8021F8C4: /* 8021F8C4 0021C824 2C 05 00 03 */ cmpwi r5, 3 /* 8021F8C8 0021C828 40 80 01 78 */ bge lbl_8021FA40 /* 8021F8CC 0021C82C 48 00 01 68 */ b lbl_8021FA34 lbl_8021F8D0: /* 8021F8D0 0021C830 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 8021F8D4 0021C834 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 8021F8D8 0021C838 38 81 00 0C */ addi r4, r1, 0xc /* 8021F8DC 0021C83C A0 05 00 08 */ lhz r0, 8(r5) /* 8021F8E0 0021C840 B0 01 00 08 */ sth r0, 8(r1) /* 8021F8E4 0021C844 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021F8E8 0021C848 4B F5 59 31 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 8021F8EC 0021C84C 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 8021F8F0 0021C850 38 80 00 01 */ li r4, 1 /* 8021F8F4 0021C854 4B F5 59 31 */ bl SetActive__13CBoneTrackingFb /* 8021F8F8 0021C858 7F C3 F3 78 */ mr r3, r30 /* 8021F8FC 0021C85C 7F E4 FB 78 */ mr r4, r31 /* 8021F900 0021C860 38 BE 02 E0 */ addi r5, r30, 0x2e0 /* 8021F904 0021C864 4B FF FD AD */ bl sub_8021f6b0 /* 8021F908 0021C868 7F C3 F3 78 */ mr r3, r30 /* 8021F90C 0021C86C 38 80 00 00 */ li r4, 0 /* 8021F910 0021C870 4B FF E7 8D */ bl sub_8021e09c /* 8021F914 0021C874 FC 20 F8 90 */ fmr f1, f31 /* 8021F918 0021C878 7F C3 F3 78 */ mr r3, r30 /* 8021F91C 0021C87C 7F E4 FB 78 */ mr r4, r31 /* 8021F920 0021C880 38 A0 00 00 */ li r5, 0 /* 8021F924 0021C884 4B FD 6D A9 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8021F928 0021C888 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8021F92C 0021C88C 38 63 00 04 */ addi r3, r3, 4 /* 8021F930 0021C890 4B F1 1B 79 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 8021F934 0021C894 48 00 01 0C */ b lbl_8021FA40 lbl_8021F938: /* 8021F938 0021C898 81 83 00 00 */ lwz r12, 0(r3) /* 8021F93C 0021C89C C0 22 B4 3C */ lfs f1, lbl_805AD15C@sda21(r2) /* 8021F940 0021C8A0 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8021F944 0021C8A4 7D 89 03 A6 */ mtctr r12 /* 8021F948 0021C8A8 4E 80 04 21 */ bctrl /* 8021F94C 0021C8AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021F950 0021C8B0 41 82 00 F0 */ beq lbl_8021FA40 /* 8021F954 0021C8B4 80 9E 00 64 */ lwz r4, 0x64(r30) /* 8021F958 0021C8B8 7F E5 FB 78 */ mr r5, r31 /* 8021F95C 0021C8BC C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 8021F960 0021C8C0 38 61 00 1C */ addi r3, r1, 0x1c /* 8021F964 0021C8C4 80 C4 00 10 */ lwz r6, 0x10(r4) /* 8021F968 0021C8C8 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8021F96C 0021C8CC C0 46 02 00 */ lfs f2, 0x200(r6) /* 8021F970 0021C8D0 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8021F974 0021C8D4 40 81 00 0C */ ble lbl_8021F980 /* 8021F978 0021C8D8 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 8021F97C 0021C8DC EC 20 10 24 */ fdivs f1, f0, f2 lbl_8021F980: /* 8021F980 0021C8E0 81 84 00 00 */ lwz r12, 0(r4) /* 8021F984 0021C8E4 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8021F988 0021C8E8 7D 89 03 A6 */ mtctr r12 /* 8021F98C 0021C8EC 4E 80 04 21 */ bctrl /* 8021F990 0021C8F0 C0 21 00 24 */ lfs f1, 0x24(r1) /* 8021F994 0021C8F4 38 61 00 28 */ addi r3, r1, 0x28 /* 8021F998 0021C8F8 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8021F99C 0021C8FC C0 61 00 20 */ lfs f3, 0x20(r1) /* 8021F9A0 0021C900 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 8021F9A4 0021C904 EC 81 00 28 */ fsubs f4, f1, f0 /* 8021F9A8 0021C908 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8021F9AC 0021C90C C0 21 00 1C */ lfs f1, 0x1c(r1) /* 8021F9B0 0021C910 EC 43 10 28 */ fsubs f2, f3, f2 /* 8021F9B4 0021C914 D0 81 00 30 */ stfs f4, 0x30(r1) /* 8021F9B8 0021C918 EC 21 00 28 */ fsubs f1, f1, f0 /* 8021F9BC 0021C91C C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8021F9C0 0021C920 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8021F9C4 0021C924 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8021F9C8 0021C928 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8021F9CC 0021C92C 48 0F 4D 2D */ bl CanBeNormalized__9CVector3fCFv /* 8021F9D0 0021C930 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8021F9D4 0021C934 41 82 00 6C */ beq lbl_8021FA40 /* 8021F9D8 0021C938 38 61 00 10 */ addi r3, r1, 0x10 /* 8021F9DC 0021C93C 38 81 00 28 */ addi r4, r1, 0x28 /* 8021F9E0 0021C940 48 0F 4E 71 */ bl AsNormalized__9CVector3fCFv /* 8021F9E4 0021C944 3C 60 80 5A */ lis r3, skZero3f@ha /* 8021F9E8 0021C948 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 8021F9EC 0021C94C C0 61 00 10 */ lfs f3, 0x10(r1) /* 8021F9F0 0021C950 38 81 00 34 */ addi r4, r1, 0x34 /* 8021F9F4 0021C954 C0 41 00 14 */ lfs f2, 0x14(r1) /* 8021F9F8 0021C958 C0 A3 00 04 */ lfs f5, 4(r3) /* 8021F9FC 0021C95C C0 83 00 08 */ lfs f4, 8(r3) /* 8021FA00 0021C960 C0 21 00 18 */ lfs f1, 0x18(r1) /* 8021FA04 0021C964 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 8021FA08 0021C968 D0 C1 00 34 */ stfs f6, 0x34(r1) /* 8021FA0C 0021C96C D0 A1 00 38 */ stfs f5, 0x38(r1) /* 8021FA10 0021C970 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 8021FA14 0021C974 D0 61 00 40 */ stfs f3, 0x40(r1) /* 8021FA18 0021C978 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8021FA1C 0021C97C D0 21 00 48 */ stfs f1, 0x48(r1) /* 8021FA20 0021C980 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 8021FA24 0021C984 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8021FA28 0021C988 38 63 00 04 */ addi r3, r3, 4 /* 8021FA2C 0021C98C 4B F1 1C ED */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8021FA30 0021C990 48 00 00 10 */ b lbl_8021FA40 lbl_8021FA34: /* 8021FA34 0021C994 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 8021FA38 0021C998 38 80 00 00 */ li r4, 0 /* 8021FA3C 0021C99C 4B F5 57 E9 */ bl SetActive__13CBoneTrackingFb lbl_8021FA40: /* 8021FA40 0021C9A0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8021FA44 0021C9A4 80 01 00 74 */ lwz r0, 0x74(r1) /* 8021FA48 0021C9A8 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8021FA4C 0021C9AC 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8021FA50 0021C9B0 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8021FA54 0021C9B4 7C 08 03 A6 */ mtlr r0 /* 8021FA58 0021C9B8 38 21 00 70 */ addi r1, r1, 0x70 /* 8021FA5C 0021C9BC 4E 80 00 20 */ blr .global GetUp__9CBabygothFR13CStateManager9EStateMsgf GetUp__9CBabygothFR13CStateManager9EStateMsgf: /* 8021FA60 0021C9C0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021FA64 0021C9C4 7C 08 02 A6 */ mflr r0 /* 8021FA68 0021C9C8 2C 05 00 01 */ cmpwi r5, 1 /* 8021FA6C 0021C9CC 90 01 00 24 */ stw r0, 0x24(r1) /* 8021FA70 0021C9D0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021FA74 0021C9D4 41 82 00 3C */ beq lbl_8021FAB0 /* 8021FA78 0021C9D8 40 80 00 10 */ bge lbl_8021FA88 /* 8021FA7C 0021C9DC 2C 05 00 00 */ cmpwi r5, 0 /* 8021FA80 0021C9E0 40 80 00 14 */ bge lbl_8021FA94 /* 8021FA84 0021C9E4 48 00 00 F0 */ b lbl_8021FB74 lbl_8021FA88: /* 8021FA88 0021C9E8 2C 05 00 03 */ cmpwi r5, 3 /* 8021FA8C 0021C9EC 40 80 00 E8 */ bge lbl_8021FB74 /* 8021FA90 0021C9F0 48 00 00 D4 */ b lbl_8021FB64 lbl_8021FA94: /* 8021FA94 0021C9F4 38 00 00 00 */ li r0, 0 /* 8021FA98 0021C9F8 38 80 00 01 */ li r4, 1 /* 8021FA9C 0021C9FC 90 03 05 68 */ stw r0, 0x568(r3) /* 8021FAA0 0021CA00 88 03 0A 49 */ lbz r0, 0xa49(r3) /* 8021FAA4 0021CA04 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8021FAA8 0021CA08 98 03 0A 49 */ stb r0, 0xa49(r3) /* 8021FAAC 0021CA0C 48 00 00 C8 */ b lbl_8021FB74 lbl_8021FAB0: /* 8021FAB0 0021CA10 80 03 05 68 */ lwz r0, 0x568(r3) /* 8021FAB4 0021CA14 2C 00 00 03 */ cmpwi r0, 3 /* 8021FAB8 0021CA18 41 82 00 90 */ beq lbl_8021FB48 /* 8021FABC 0021CA1C 40 80 00 B8 */ bge lbl_8021FB74 /* 8021FAC0 0021CA20 2C 00 00 00 */ cmpwi r0, 0 /* 8021FAC4 0021CA24 41 82 00 08 */ beq lbl_8021FACC /* 8021FAC8 0021CA28 48 00 00 AC */ b lbl_8021FB74 lbl_8021FACC: /* 8021FACC 0021CA2C 80 83 04 50 */ lwz r4, 0x450(r3) /* 8021FAD0 0021CA30 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 8021FAD4 0021CA34 2C 00 00 01 */ cmpwi r0, 1 /* 8021FAD8 0021CA38 40 82 00 10 */ bne lbl_8021FAE8 /* 8021FADC 0021CA3C 38 00 00 03 */ li r0, 3 /* 8021FAE0 0021CA40 90 03 05 68 */ stw r0, 0x568(r3) /* 8021FAE4 0021CA44 48 00 00 90 */ b lbl_8021FB74 lbl_8021FAE8: /* 8021FAE8 0021CA48 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021FAEC 0021CA4C 38 A0 00 00 */ li r5, 0 /* 8021FAF0 0021CA50 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8021FAF4 0021CA54 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 8021FAF8 0021CA58 90 01 00 08 */ stw r0, 8(r1) /* 8021FAFC 0021CA5C 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l /* 8021FB00 0021CA60 3B E4 00 04 */ addi r31, r4, 4 /* 8021FB04 0021CA64 38 80 00 00 */ li r4, 0 /* 8021FB08 0021CA68 90 A1 00 0C */ stw r5, 0xc(r1) /* 8021FB0C 0021CA6C 7F E3 FB 78 */ mr r3, r31 /* 8021FB10 0021CA70 90 01 00 08 */ stw r0, 8(r1) /* 8021FB14 0021CA74 90 A1 00 10 */ stw r5, 0x10(r1) /* 8021FB18 0021CA78 4B F1 19 21 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8021FB1C 0021CA7C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8021FB20 0021CA80 3C 60 80 3E */ lis r3, lbl_803DAA20@ha /* 8021FB24 0021CA84 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l /* 8021FB28 0021CA88 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021FB2C 0021CA8C 90 1F 00 BC */ stw r0, 0xbc(r31) /* 8021FB30 0021CA90 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8021FB34 0021CA94 80 61 00 10 */ lwz r3, 0x10(r1) /* 8021FB38 0021CA98 90 81 00 08 */ stw r4, 8(r1) /* 8021FB3C 0021CA9C 90 7F 00 C0 */ stw r3, 0xc0(r31) /* 8021FB40 0021CAA0 90 01 00 08 */ stw r0, 8(r1) /* 8021FB44 0021CAA4 48 00 00 30 */ b lbl_8021FB74 lbl_8021FB48: /* 8021FB48 0021CAA8 80 83 04 50 */ lwz r4, 0x450(r3) /* 8021FB4C 0021CAAC 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 8021FB50 0021CAB0 2C 00 00 01 */ cmpwi r0, 1 /* 8021FB54 0021CAB4 41 82 00 20 */ beq lbl_8021FB74 /* 8021FB58 0021CAB8 38 00 00 04 */ li r0, 4 /* 8021FB5C 0021CABC 90 03 05 68 */ stw r0, 0x568(r3) /* 8021FB60 0021CAC0 48 00 00 14 */ b lbl_8021FB74 lbl_8021FB64: /* 8021FB64 0021CAC4 88 03 0A 49 */ lbz r0, 0xa49(r3) /* 8021FB68 0021CAC8 38 80 00 00 */ li r4, 0 /* 8021FB6C 0021CACC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8021FB70 0021CAD0 98 03 0A 49 */ stb r0, 0xa49(r3) lbl_8021FB74: /* 8021FB74 0021CAD4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021FB78 0021CAD8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021FB7C 0021CADC 7C 08 03 A6 */ mtlr r0 /* 8021FB80 0021CAE0 38 21 00 20 */ addi r1, r1, 0x20 /* 8021FB84 0021CAE4 4E 80 00 20 */ blr .global Enraged__9CBabygothFR13CStateManager9EStateMsgf Enraged__9CBabygothFR13CStateManager9EStateMsgf: /* 8021FB88 0021CAE8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021FB8C 0021CAEC 7C 08 02 A6 */ mflr r0 /* 8021FB90 0021CAF0 2C 05 00 01 */ cmpwi r5, 1 /* 8021FB94 0021CAF4 90 01 00 34 */ stw r0, 0x34(r1) /* 8021FB98 0021CAF8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8021FB9C 0021CAFC 41 82 00 30 */ beq lbl_8021FBCC /* 8021FBA0 0021CB00 40 80 01 4C */ bge lbl_8021FCEC /* 8021FBA4 0021CB04 2C 05 00 00 */ cmpwi r5, 0 /* 8021FBA8 0021CB08 40 80 00 08 */ bge lbl_8021FBB0 /* 8021FBAC 0021CB0C 48 00 01 40 */ b lbl_8021FCEC lbl_8021FBB0: /* 8021FBB0 0021CB10 88 83 0A 48 */ lbz r4, 0xa48(r3) /* 8021FBB4 0021CB14 38 00 00 01 */ li r0, 1 /* 8021FBB8 0021CB18 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d /* 8021FBBC 0021CB1C 38 00 00 00 */ li r0, 0 /* 8021FBC0 0021CB20 98 83 0A 48 */ stb r4, 0xa48(r3) /* 8021FBC4 0021CB24 90 03 05 68 */ stw r0, 0x568(r3) /* 8021FBC8 0021CB28 48 00 01 24 */ b lbl_8021FCEC lbl_8021FBCC: /* 8021FBCC 0021CB2C 80 03 05 68 */ lwz r0, 0x568(r3) /* 8021FBD0 0021CB30 2C 00 00 03 */ cmpwi r0, 3 /* 8021FBD4 0021CB34 41 82 01 00 */ beq lbl_8021FCD4 /* 8021FBD8 0021CB38 40 80 01 14 */ bge lbl_8021FCEC /* 8021FBDC 0021CB3C 2C 00 00 00 */ cmpwi r0, 0 /* 8021FBE0 0021CB40 41 82 00 08 */ beq lbl_8021FBE8 /* 8021FBE4 0021CB44 48 00 01 08 */ b lbl_8021FCEC lbl_8021FBE8: /* 8021FBE8 0021CB48 81 43 04 50 */ lwz r10, 0x450(r3) /* 8021FBEC 0021CB4C 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 8021FBF0 0021CB50 2C 00 00 0C */ cmpwi r0, 0xc /* 8021FBF4 0021CB54 40 82 00 10 */ bne lbl_8021FC04 /* 8021FBF8 0021CB58 38 00 00 03 */ li r0, 3 /* 8021FBFC 0021CB5C 90 03 05 68 */ stw r0, 0x568(r3) /* 8021FC00 0021CB60 48 00 00 EC */ b lbl_8021FCEC lbl_8021FC04: /* 8021FC04 0021CB64 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 8021FC08 0021CB68 3C 60 80 5A */ lis r3, skZero3f@ha /* 8021FC0C 0021CB6C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8021FC10 0021CB70 80 81 00 24 */ lwz r4, 0x24(r1) /* 8021FC14 0021CB74 38 60 00 00 */ li r3, 0 /* 8021FC18 0021CB78 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 8021FC1C 0021CB7C 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 8021FC20 0021CB80 C0 45 00 00 */ lfs f2, 0(r5) /* 8021FC24 0021CB84 C0 25 00 04 */ lfs f1, 4(r5) /* 8021FC28 0021CB88 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 8021FC2C 0021CB8C C0 05 00 08 */ lfs f0, 8(r5) /* 8021FC30 0021CB90 7C 80 23 78 */ mr r0, r4 /* 8021FC34 0021CB94 39 00 00 0E */ li r8, 0xe /* 8021FC38 0021CB98 38 C0 00 03 */ li r6, 3 /* 8021FC3C 0021CB9C 38 A0 FF FF */ li r5, -1 /* 8021FC40 0021CBA0 3B EA 00 04 */ addi r31, r10, 4 /* 8021FC44 0021CBA4 91 21 00 08 */ stw r9, 8(r1) /* 8021FC48 0021CBA8 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 8021FC4C 0021CBAC 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 8021FC50 0021CBB0 7F E3 FB 78 */ mr r3, r31 /* 8021FC54 0021CBB4 90 81 00 24 */ stw r4, 0x24(r1) /* 8021FC58 0021CBB8 38 80 00 0E */ li r4, 0xe /* 8021FC5C 0021CBBC 91 01 00 0C */ stw r8, 0xc(r1) /* 8021FC60 0021CBC0 90 E1 00 08 */ stw r7, 8(r1) /* 8021FC64 0021CBC4 90 C1 00 10 */ stw r6, 0x10(r1) /* 8021FC68 0021CBC8 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8021FC6C 0021CBCC D0 21 00 18 */ stfs f1, 0x18(r1) /* 8021FC70 0021CBD0 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8021FC74 0021CBD4 90 A1 00 20 */ stw r5, 0x20(r1) /* 8021FC78 0021CBD8 90 01 00 24 */ stw r0, 0x24(r1) /* 8021FC7C 0021CBDC 4B F1 17 BD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8021FC80 0021CBE0 80 01 00 0C */ lwz r0, 0xc(r1) /* 8021FC84 0021CBE4 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 8021FC88 0021CBE8 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 8021FC8C 0021CBEC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021FC90 0021CBF0 90 1F 01 90 */ stw r0, 0x190(r31) /* 8021FC94 0021CBF4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8021FC98 0021CBF8 80 A1 00 10 */ lwz r5, 0x10(r1) /* 8021FC9C 0021CBFC 80 61 00 14 */ lwz r3, 0x14(r1) /* 8021FCA0 0021CC00 90 BF 01 94 */ stw r5, 0x194(r31) /* 8021FCA4 0021CC04 80 A1 00 18 */ lwz r5, 0x18(r1) /* 8021FCA8 0021CC08 90 7F 01 98 */ stw r3, 0x198(r31) /* 8021FCAC 0021CC0C 80 61 00 1C */ lwz r3, 0x1c(r1) /* 8021FCB0 0021CC10 90 BF 01 9C */ stw r5, 0x19c(r31) /* 8021FCB4 0021CC14 80 A1 00 20 */ lwz r5, 0x20(r1) /* 8021FCB8 0021CC18 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 8021FCBC 0021CC1C 80 61 00 24 */ lwz r3, 0x24(r1) /* 8021FCC0 0021CC20 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 8021FCC4 0021CC24 90 81 00 08 */ stw r4, 8(r1) /* 8021FCC8 0021CC28 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 8021FCCC 0021CC2C 90 01 00 08 */ stw r0, 8(r1) /* 8021FCD0 0021CC30 48 00 00 1C */ b lbl_8021FCEC lbl_8021FCD4: /* 8021FCD4 0021CC34 80 83 04 50 */ lwz r4, 0x450(r3) /* 8021FCD8 0021CC38 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 8021FCDC 0021CC3C 2C 00 00 0C */ cmpwi r0, 0xc /* 8021FCE0 0021CC40 41 82 00 0C */ beq lbl_8021FCEC /* 8021FCE4 0021CC44 38 00 00 04 */ li r0, 4 /* 8021FCE8 0021CC48 90 03 05 68 */ stw r0, 0x568(r3) lbl_8021FCEC: /* 8021FCEC 0021CC4C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021FCF0 0021CC50 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8021FCF4 0021CC54 7C 08 03 A6 */ mtlr r0 /* 8021FCF8 0021CC58 38 21 00 30 */ addi r1, r1, 0x30 /* 8021FCFC 0021CC5C 4E 80 00 20 */ blr .global FollowPattern__9CBabygothFR13CStateManager9EStateMsgf FollowPattern__9CBabygothFR13CStateManager9EStateMsgf: /* 8021FD00 0021CC60 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8021FD04 0021CC64 7C 08 02 A6 */ mflr r0 /* 8021FD08 0021CC68 2C 05 00 01 */ cmpwi r5, 1 /* 8021FD0C 0021CC6C 90 01 00 34 */ stw r0, 0x34(r1) /* 8021FD10 0021CC70 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8021FD14 0021CC74 7C 7F 1B 78 */ mr r31, r3 /* 8021FD18 0021CC78 93 C1 00 28 */ stw r30, 0x28(r1) /* 8021FD1C 0021CC7C 41 82 00 74 */ beq lbl_8021FD90 /* 8021FD20 0021CC80 40 80 00 10 */ bge lbl_8021FD30 /* 8021FD24 0021CC84 2C 05 00 00 */ cmpwi r5, 0 /* 8021FD28 0021CC88 40 80 00 14 */ bge lbl_8021FD3C /* 8021FD2C 0021CC8C 48 00 01 68 */ b lbl_8021FE94 lbl_8021FD30: /* 8021FD30 0021CC90 2C 05 00 03 */ cmpwi r5, 3 /* 8021FD34 0021CC94 40 80 01 60 */ bge lbl_8021FE94 /* 8021FD38 0021CC98 48 00 01 44 */ b lbl_8021FE7C lbl_8021FD3C: /* 8021FD3C 0021CC9C 88 1F 0A 49 */ lbz r0, 0xa49(r31) /* 8021FD40 0021CCA0 38 60 00 04 */ li r3, 4 /* 8021FD44 0021CCA4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8021FD48 0021CCA8 41 82 00 08 */ beq lbl_8021FD50 /* 8021FD4C 0021CCAC 38 60 00 00 */ li r3, 0 lbl_8021FD50: /* 8021FD50 0021CCB0 90 7F 05 68 */ stw r3, 0x568(r31) /* 8021FD54 0021CCB4 38 A0 00 00 */ li r5, 0 /* 8021FD58 0021CCB8 38 7F 08 F0 */ addi r3, r31, 0x8f0 /* 8021FD5C 0021CCBC 88 1F 0A 49 */ lbz r0, 0xa49(r31) /* 8021FD60 0021CCC0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8021FD64 0021CCC4 98 1F 0A 49 */ stb r0, 0xa49(r31) /* 8021FD68 0021CCC8 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 8021FD6C 0021CCCC 38 81 00 0C */ addi r4, r1, 0xc /* 8021FD70 0021CCD0 A0 05 00 08 */ lhz r0, 8(r5) /* 8021FD74 0021CCD4 B0 01 00 08 */ sth r0, 8(r1) /* 8021FD78 0021CCD8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8021FD7C 0021CCDC 4B F5 54 9D */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 8021FD80 0021CCE0 38 7F 08 F0 */ addi r3, r31, 0x8f0 /* 8021FD84 0021CCE4 38 80 00 01 */ li r4, 1 /* 8021FD88 0021CCE8 4B F5 54 9D */ bl SetActive__13CBoneTrackingFb /* 8021FD8C 0021CCEC 48 00 01 08 */ b lbl_8021FE94 lbl_8021FD90: /* 8021FD90 0021CCF0 80 1F 05 68 */ lwz r0, 0x568(r31) /* 8021FD94 0021CCF4 2C 00 00 03 */ cmpwi r0, 3 /* 8021FD98 0021CCF8 41 82 00 90 */ beq lbl_8021FE28 /* 8021FD9C 0021CCFC 40 80 00 F8 */ bge lbl_8021FE94 /* 8021FDA0 0021CD00 2C 00 00 00 */ cmpwi r0, 0 /* 8021FDA4 0021CD04 41 82 00 08 */ beq lbl_8021FDAC /* 8021FDA8 0021CD08 48 00 00 EC */ b lbl_8021FE94 lbl_8021FDAC: /* 8021FDAC 0021CD0C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021FDB0 0021CD10 38 C0 00 01 */ li r6, 1 /* 8021FDB4 0021CD14 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8021FDB8 0021CD18 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8021FDBC 0021CD1C 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha /* 8021FDC0 0021CD20 90 01 00 10 */ stw r0, 0x10(r1) /* 8021FDC4 0021CD24 38 A4 A9 E4 */ addi r5, r4, lbl_803DA9E4@l /* 8021FDC8 0021CD28 38 00 00 00 */ li r0, 0 /* 8021FDCC 0021CD2C 3B C3 00 04 */ addi r30, r3, 4 /* 8021FDD0 0021CD30 90 C1 00 14 */ stw r6, 0x14(r1) /* 8021FDD4 0021CD34 7F C3 F3 78 */ mr r3, r30 /* 8021FDD8 0021CD38 38 80 00 01 */ li r4, 1 /* 8021FDDC 0021CD3C 90 A1 00 10 */ stw r5, 0x10(r1) /* 8021FDE0 0021CD40 90 C1 00 18 */ stw r6, 0x18(r1) /* 8021FDE4 0021CD44 90 01 00 1C */ stw r0, 0x1c(r1) /* 8021FDE8 0021CD48 4B F1 16 51 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8021FDEC 0021CD4C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8021FDF0 0021CD50 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha /* 8021FDF4 0021CD54 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l /* 8021FDF8 0021CD58 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021FDFC 0021CD5C 90 1E 00 C8 */ stw r0, 0xc8(r30) /* 8021FE00 0021CD60 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 8021FE04 0021CD64 80 C1 00 18 */ lwz r6, 0x18(r1) /* 8021FE08 0021CD68 38 00 00 03 */ li r0, 3 /* 8021FE0C 0021CD6C 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8021FE10 0021CD70 90 DE 00 CC */ stw r6, 0xcc(r30) /* 8021FE14 0021CD74 90 BE 00 D0 */ stw r5, 0xd0(r30) /* 8021FE18 0021CD78 90 81 00 10 */ stw r4, 0x10(r1) /* 8021FE1C 0021CD7C 90 61 00 10 */ stw r3, 0x10(r1) /* 8021FE20 0021CD80 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021FE24 0021CD84 48 00 00 70 */ b lbl_8021FE94 lbl_8021FE28: /* 8021FE28 0021CD88 80 BF 04 50 */ lwz r5, 0x450(r31) /* 8021FE2C 0021CD8C 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 8021FE30 0021CD90 2C 00 00 03 */ cmpwi r0, 3 /* 8021FE34 0021CD94 40 82 00 3C */ bne lbl_8021FE70 /* 8021FE38 0021CD98 80 64 08 4C */ lwz r3, 0x84c(r4) /* 8021FE3C 0021CD9C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8021FE40 0021CDA0 C0 23 00 40 */ lfs f1, 0x40(r3) /* 8021FE44 0021CDA4 C0 83 00 50 */ lfs f4, 0x50(r3) /* 8021FE48 0021CDA8 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 8021FE4C 0021CDAC EC 01 00 28 */ fsubs f0, f1, f0 /* 8021FE50 0021CDB0 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8021FE54 0021CDB4 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 8021FE58 0021CDB8 EC 64 18 28 */ fsubs f3, f4, f3 /* 8021FE5C 0021CDBC D0 05 00 1C */ stfs f0, 0x1c(r5) /* 8021FE60 0021CDC0 EC 02 08 28 */ fsubs f0, f2, f1 /* 8021FE64 0021CDC4 D0 65 00 20 */ stfs f3, 0x20(r5) /* 8021FE68 0021CDC8 D0 05 00 24 */ stfs f0, 0x24(r5) /* 8021FE6C 0021CDCC 48 00 00 28 */ b lbl_8021FE94 lbl_8021FE70: /* 8021FE70 0021CDD0 38 00 00 04 */ li r0, 4 /* 8021FE74 0021CDD4 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021FE78 0021CDD8 48 00 00 1C */ b lbl_8021FE94 lbl_8021FE7C: /* 8021FE7C 0021CDDC 38 7F 08 F0 */ addi r3, r31, 0x8f0 /* 8021FE80 0021CDE0 38 80 00 00 */ li r4, 0 /* 8021FE84 0021CDE4 4B F5 53 A1 */ bl SetActive__13CBoneTrackingFb /* 8021FE88 0021CDE8 7F E3 FB 78 */ mr r3, r31 /* 8021FE8C 0021CDEC 38 80 00 00 */ li r4, 0 /* 8021FE90 0021CDF0 4B FF E2 0D */ bl sub_8021e09c lbl_8021FE94: /* 8021FE94 0021CDF4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8021FE98 0021CDF8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8021FE9C 0021CDFC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8021FEA0 0021CE00 7C 08 03 A6 */ mtlr r0 /* 8021FEA4 0021CE04 38 21 00 30 */ addi r1, r1, 0x30 /* 8021FEA8 0021CE08 4E 80 00 20 */ blr .global Taunt__9CBabygothFR13CStateManager9EStateMsgf Taunt__9CBabygothFR13CStateManager9EStateMsgf: /* 8021FEAC 0021CE0C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021FEB0 0021CE10 7C 08 02 A6 */ mflr r0 /* 8021FEB4 0021CE14 2C 05 00 01 */ cmpwi r5, 1 /* 8021FEB8 0021CE18 90 01 00 24 */ stw r0, 0x24(r1) /* 8021FEBC 0021CE1C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021FEC0 0021CE20 7C 7F 1B 78 */ mr r31, r3 /* 8021FEC4 0021CE24 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021FEC8 0021CE28 41 82 00 84 */ beq lbl_8021FF4C /* 8021FECC 0021CE2C 40 80 00 98 */ bge lbl_8021FF64 /* 8021FED0 0021CE30 2C 05 00 00 */ cmpwi r5, 0 /* 8021FED4 0021CE34 40 80 00 08 */ bge lbl_8021FEDC /* 8021FED8 0021CE38 48 00 00 8C */ b lbl_8021FF64 lbl_8021FEDC: /* 8021FEDC 0021CE3C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 8021FEE0 0021CE40 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8021FEE4 0021CE44 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 8021FEE8 0021CE48 3C 80 80 3E */ lis r4, lbl_803DAA14@ha /* 8021FEEC 0021CE4C 90 01 00 08 */ stw r0, 8(r1) /* 8021FEF0 0021CE50 38 A4 AA 14 */ addi r5, r4, lbl_803DAA14@l /* 8021FEF4 0021CE54 38 80 00 12 */ li r4, 0x12 /* 8021FEF8 0021CE58 38 00 00 01 */ li r0, 1 /* 8021FEFC 0021CE5C 3B C3 00 04 */ addi r30, r3, 4 /* 8021FF00 0021CE60 90 81 00 0C */ stw r4, 0xc(r1) /* 8021FF04 0021CE64 7F C3 F3 78 */ mr r3, r30 /* 8021FF08 0021CE68 38 80 00 12 */ li r4, 0x12 /* 8021FF0C 0021CE6C 90 A1 00 08 */ stw r5, 8(r1) /* 8021FF10 0021CE70 90 01 00 10 */ stw r0, 0x10(r1) /* 8021FF14 0021CE74 4B F1 15 25 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8021FF18 0021CE78 80 01 00 0C */ lwz r0, 0xc(r1) /* 8021FF1C 0021CE7C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 8021FF20 0021CE80 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 8021FF24 0021CE84 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8021FF28 0021CE88 90 1E 02 14 */ stw r0, 0x214(r30) /* 8021FF2C 0021CE8C 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 8021FF30 0021CE90 80 A1 00 10 */ lwz r5, 0x10(r1) /* 8021FF34 0021CE94 38 00 00 03 */ li r0, 3 /* 8021FF38 0021CE98 90 81 00 08 */ stw r4, 8(r1) /* 8021FF3C 0021CE9C 90 BE 02 18 */ stw r5, 0x218(r30) /* 8021FF40 0021CEA0 90 61 00 08 */ stw r3, 8(r1) /* 8021FF44 0021CEA4 90 1F 05 68 */ stw r0, 0x568(r31) /* 8021FF48 0021CEA8 48 00 00 1C */ b lbl_8021FF64 lbl_8021FF4C: /* 8021FF4C 0021CEAC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8021FF50 0021CEB0 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 8021FF54 0021CEB4 2C 00 00 10 */ cmpwi r0, 0x10 /* 8021FF58 0021CEB8 41 82 00 0C */ beq lbl_8021FF64 /* 8021FF5C 0021CEBC 38 00 00 04 */ li r0, 4 /* 8021FF60 0021CEC0 90 1F 05 68 */ stw r0, 0x568(r31) lbl_8021FF64: /* 8021FF64 0021CEC4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8021FF68 0021CEC8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8021FF6C 0021CECC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8021FF70 0021CED0 7C 08 03 A6 */ mtlr r0 /* 8021FF74 0021CED4 38 21 00 20 */ addi r1, r1, 0x20 /* 8021FF78 0021CED8 4E 80 00 20 */ blr .global Crouch__9CBabygothFR13CStateManager9EStateMsgf Crouch__9CBabygothFR13CStateManager9EStateMsgf: /* 8021FF7C 0021CEDC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021FF80 0021CEE0 7C 08 02 A6 */ mflr r0 /* 8021FF84 0021CEE4 2C 05 00 01 */ cmpwi r5, 1 /* 8021FF88 0021CEE8 90 01 00 24 */ stw r0, 0x24(r1) /* 8021FF8C 0021CEEC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8021FF90 0021CEF0 7C 9F 23 78 */ mr r31, r4 /* 8021FF94 0021CEF4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8021FF98 0021CEF8 7C 7E 1B 78 */ mr r30, r3 /* 8021FF9C 0021CEFC 41 82 00 A8 */ beq lbl_80220044 /* 8021FFA0 0021CF00 40 80 00 10 */ bge lbl_8021FFB0 /* 8021FFA4 0021CF04 2C 05 00 00 */ cmpwi r5, 0 /* 8021FFA8 0021CF08 40 80 00 14 */ bge lbl_8021FFBC /* 8021FFAC 0021CF0C 48 00 00 98 */ b lbl_80220044 lbl_8021FFB0: /* 8021FFB0 0021CF10 2C 05 00 03 */ cmpwi r5, 3 /* 8021FFB4 0021CF14 40 80 00 90 */ bge lbl_80220044 /* 8021FFB8 0021CF18 48 00 00 7C */ b lbl_80220034 lbl_8021FFBC: /* 8021FFBC 0021CF1C 7F E6 FB 78 */ mr r6, r31 /* 8021FFC0 0021CF20 38 80 00 29 */ li r4, 0x29 /* 8021FFC4 0021CF24 38 A0 00 28 */ li r5, 0x28 /* 8021FFC8 0021CF28 4B E3 3F 0D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 8021FFCC 0021CF2C A0 1E 00 08 */ lhz r0, 8(r30) /* 8021FFD0 0021CF30 7F E6 FB 78 */ mr r6, r31 /* 8021FFD4 0021CF34 38 81 00 0C */ addi r4, r1, 0xc /* 8021FFD8 0021CF38 38 A0 00 08 */ li r5, 8 /* 8021FFDC 0021CF3C B0 01 00 0C */ sth r0, 0xc(r1) /* 8021FFE0 0021CF40 B0 01 00 08 */ sth r0, 8(r1) /* 8021FFE4 0021CF44 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8021FFE8 0021CF48 4B F5 B2 6D */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager /* 8021FFEC 0021CF4C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8021FFF0 0021CF50 38 80 00 00 */ li r4, 0 /* 8021FFF4 0021CF54 4B F1 A9 E5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8021FFF8 0021CF58 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 8021FFFC 0021CF5C 38 80 00 00 */ li r4, 0 /* 80220000 0021CF60 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80220004 0021CF64 38 60 00 00 */ li r3, 0 /* 80220008 0021CF68 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 8022000C 0021CF6C 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f /* 80220010 0021CF70 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80220014 0021CF74 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 80220018 0021CF78 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 8022001C 0021CF7C 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 80220020 0021CF80 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80220024 0021CF84 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80220028 0021CF88 98 1E 04 00 */ stb r0, 0x400(r30) /* 8022002C 0021CF8C D0 1E 08 E8 */ stfs f0, 0x8e8(r30) /* 80220030 0021CF90 48 00 00 14 */ b lbl_80220044 lbl_80220034: /* 80220034 0021CF94 7F E6 FB 78 */ mr r6, r31 /* 80220038 0021CF98 38 80 00 29 */ li r4, 0x29 /* 8022003C 0021CF9C 38 A0 00 28 */ li r5, 0x28 /* 80220040 0021CFA0 4B E3 42 75 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager lbl_80220044: /* 80220044 0021CFA4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80220048 0021CFA8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022004C 0021CFAC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80220050 0021CFB0 7C 08 03 A6 */ mtlr r0 /* 80220054 0021CFB4 38 21 00 20 */ addi r1, r1, 0x20 /* 80220058 0021CFB8 4E 80 00 20 */ blr .global Deactivate__9CBabygothFR13CStateManager9EStateMsgf Deactivate__9CBabygothFR13CStateManager9EStateMsgf: /* 8022005C 0021CFBC 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80220060 0021CFC0 7C 08 02 A6 */ mflr r0 /* 80220064 0021CFC4 2C 05 00 01 */ cmpwi r5, 1 /* 80220068 0021CFC8 90 01 00 84 */ stw r0, 0x84(r1) /* 8022006C 0021CFCC 93 E1 00 7C */ stw r31, 0x7c(r1) /* 80220070 0021CFD0 7C 7F 1B 78 */ mr r31, r3 /* 80220074 0021CFD4 41 82 00 20 */ beq lbl_80220094 /* 80220078 0021CFD8 40 80 02 98 */ bge lbl_80220310 /* 8022007C 0021CFDC 2C 05 00 00 */ cmpwi r5, 0 /* 80220080 0021CFE0 40 80 00 08 */ bge lbl_80220088 /* 80220084 0021CFE4 48 00 02 8C */ b lbl_80220310 lbl_80220088: /* 80220088 0021CFE8 38 00 00 01 */ li r0, 1 /* 8022008C 0021CFEC 90 1F 05 68 */ stw r0, 0x568(r31) /* 80220090 0021CFF0 48 00 02 80 */ b lbl_80220310 lbl_80220094: /* 80220094 0021CFF4 80 1F 05 68 */ lwz r0, 0x568(r31) /* 80220098 0021CFF8 2C 00 00 02 */ cmpwi r0, 2 /* 8022009C 0021CFFC 41 82 00 D8 */ beq lbl_80220174 /* 802200A0 0021D000 40 80 00 14 */ bge lbl_802200B4 /* 802200A4 0021D004 2C 00 00 00 */ cmpwi r0, 0 /* 802200A8 0021D008 41 82 01 58 */ beq lbl_80220200 /* 802200AC 0021D00C 40 80 00 14 */ bge lbl_802200C0 /* 802200B0 0021D010 48 00 02 60 */ b lbl_80220310 lbl_802200B4: /* 802200B4 0021D014 2C 00 00 04 */ cmpwi r0, 4 /* 802200B8 0021D018 40 80 02 58 */ bge lbl_80220310 /* 802200BC 0021D01C 48 00 02 3C */ b lbl_802202F8 lbl_802200C0: /* 802200C0 0021D020 38 DF 03 A0 */ addi r6, r31, 0x3a0 /* 802200C4 0021D024 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 802200C8 0021D028 C0 3F 03 A4 */ lfs f1, 0x3a4(r31) /* 802200CC 0021D02C C0 7F 03 A0 */ lfs f3, 0x3a0(r31) /* 802200D0 0021D030 EC 81 00 28 */ fsubs f4, f1, f0 /* 802200D4 0021D034 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 802200D8 0021D038 C0 5F 03 A8 */ lfs f2, 0x3a8(r31) /* 802200DC 0021D03C C0 1F 00 60 */ lfs f0, 0x60(r31) /* 802200E0 0021D040 EC 63 08 28 */ fsubs f3, f3, f1 /* 802200E4 0021D044 EC 24 01 32 */ fmuls f1, f4, f4 /* 802200E8 0021D048 EC 42 00 28 */ fsubs f2, f2, f0 /* 802200EC 0021D04C C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 802200F0 0021D050 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 802200F4 0021D054 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 802200F8 0021D058 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802200FC 0021D05C 4C 40 13 82 */ cror 2, 0, 2 /* 80220100 0021D060 40 82 00 10 */ bne lbl_80220110 /* 80220104 0021D064 38 00 00 02 */ li r0, 2 /* 80220108 0021D068 90 1F 05 68 */ stw r0, 0x568(r31) /* 8022010C 0021D06C 48 00 02 04 */ b lbl_80220310 lbl_80220110: /* 80220110 0021D070 C0 22 B4 14 */ lfs f1, lbl_805AD134@sda21(r2) /* 80220114 0021D074 7F E5 FB 78 */ mr r5, r31 /* 80220118 0021D078 38 61 00 08 */ addi r3, r1, 8 /* 8022011C 0021D07C 38 9F 04 5C */ addi r4, r31, 0x45c /* 80220120 0021D080 4B F1 E9 FD */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 80220124 0021D084 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220128 0021D088 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 8022012C 0021D08C C0 C1 00 08 */ lfs f6, 8(r1) /* 80220130 0021D090 38 81 00 5C */ addi r4, r1, 0x5c /* 80220134 0021D094 C0 A1 00 0C */ lfs f5, 0xc(r1) /* 80220138 0021D098 C0 81 00 10 */ lfs f4, 0x10(r1) /* 8022013C 0021D09C C0 43 00 04 */ lfs f2, 4(r3) /* 80220140 0021D0A0 C0 23 00 08 */ lfs f1, 8(r3) /* 80220144 0021D0A4 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 80220148 0021D0A8 D0 C1 00 5C */ stfs f6, 0x5c(r1) /* 8022014C 0021D0AC D0 A1 00 60 */ stfs f5, 0x60(r1) /* 80220150 0021D0B0 D0 81 00 64 */ stfs f4, 0x64(r1) /* 80220154 0021D0B4 D0 61 00 68 */ stfs f3, 0x68(r1) /* 80220158 0021D0B8 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8022015C 0021D0BC D0 21 00 70 */ stfs f1, 0x70(r1) /* 80220160 0021D0C0 D0 01 00 74 */ stfs f0, 0x74(r1) /* 80220164 0021D0C4 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80220168 0021D0C8 38 63 00 04 */ addi r3, r3, 4 /* 8022016C 0021D0CC 4B F1 15 AD */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 80220170 0021D0D0 48 00 01 A0 */ b lbl_80220310 lbl_80220174: /* 80220174 0021D0D4 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 80220178 0021D0D8 38 61 00 14 */ addi r3, r1, 0x14 /* 8022017C 0021D0DC C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80220180 0021D0E0 38 9F 08 C4 */ addi r4, r31, 0x8c4 /* 80220184 0021D0E4 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80220188 0021D0E8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022018C 0021D0EC D0 21 00 18 */ stfs f1, 0x18(r1) /* 80220190 0021D0F0 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80220194 0021D0F4 48 0F 44 9D */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80220198 0021D0F8 C0 02 B4 40 */ lfs f0, lbl_805AD160@sda21(r2) /* 8022019C 0021D0FC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802201A0 0021D100 40 81 00 54 */ ble lbl_802201F4 /* 802201A4 0021D104 3C 60 80 5A */ lis r3, skZero3f@ha /* 802201A8 0021D108 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 802201AC 0021D10C C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 802201B0 0021D110 38 81 00 40 */ addi r4, r1, 0x40 /* 802201B4 0021D114 C0 43 00 04 */ lfs f2, 4(r3) /* 802201B8 0021D118 C0 23 00 08 */ lfs f1, 8(r3) /* 802201BC 0021D11C D0 61 00 40 */ stfs f3, 0x40(r1) /* 802201C0 0021D120 D0 41 00 44 */ stfs f2, 0x44(r1) /* 802201C4 0021D124 D0 21 00 48 */ stfs f1, 0x48(r1) /* 802201C8 0021D128 C0 3F 08 C4 */ lfs f1, 0x8c4(r31) /* 802201CC 0021D12C D0 21 00 4C */ stfs f1, 0x4c(r1) /* 802201D0 0021D130 C0 3F 08 C8 */ lfs f1, 0x8c8(r31) /* 802201D4 0021D134 D0 21 00 50 */ stfs f1, 0x50(r1) /* 802201D8 0021D138 C0 3F 08 CC */ lfs f1, 0x8cc(r31) /* 802201DC 0021D13C D0 21 00 54 */ stfs f1, 0x54(r1) /* 802201E0 0021D140 D0 01 00 58 */ stfs f0, 0x58(r1) /* 802201E4 0021D144 80 7F 04 50 */ lwz r3, 0x450(r31) /* 802201E8 0021D148 38 63 00 04 */ addi r3, r3, 4 /* 802201EC 0021D14C 4B F1 15 2D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 802201F0 0021D150 48 00 01 20 */ b lbl_80220310 lbl_802201F4: /* 802201F4 0021D154 38 00 00 00 */ li r0, 0 /* 802201F8 0021D158 90 1F 05 68 */ stw r0, 0x568(r31) /* 802201FC 0021D15C 48 00 01 14 */ b lbl_80220310 lbl_80220200: /* 80220200 0021D160 81 5F 04 50 */ lwz r10, 0x450(r31) /* 80220204 0021D164 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 80220208 0021D168 2C 00 00 0C */ cmpwi r0, 0xc /* 8022020C 0021D16C 40 82 00 1C */ bne lbl_80220228 /* 80220210 0021D170 38 00 00 03 */ li r0, 3 /* 80220214 0021D174 38 80 00 00 */ li r4, 0 /* 80220218 0021D178 90 1F 05 68 */ stw r0, 0x568(r31) /* 8022021C 0021D17C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80220220 0021D180 4B F1 A7 B9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80220224 0021D184 48 00 00 EC */ b lbl_80220310 lbl_80220228: /* 80220228 0021D188 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 8022022C 0021D18C 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220230 0021D190 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80220234 0021D194 80 81 00 3C */ lwz r4, 0x3c(r1) /* 80220238 0021D198 38 60 00 00 */ li r3, 0 /* 8022023C 0021D19C 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 80220240 0021D1A0 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 80220244 0021D1A4 C0 45 00 00 */ lfs f2, 0(r5) /* 80220248 0021D1A8 C0 25 00 04 */ lfs f1, 4(r5) /* 8022024C 0021D1AC 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 80220250 0021D1B0 C0 05 00 08 */ lfs f0, 8(r5) /* 80220254 0021D1B4 7C 80 23 78 */ mr r0, r4 /* 80220258 0021D1B8 39 00 00 0E */ li r8, 0xe /* 8022025C 0021D1BC 38 C0 00 01 */ li r6, 1 /* 80220260 0021D1C0 38 A0 FF FF */ li r5, -1 /* 80220264 0021D1C4 3B EA 00 04 */ addi r31, r10, 4 /* 80220268 0021D1C8 91 21 00 20 */ stw r9, 0x20(r1) /* 8022026C 0021D1CC 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 80220270 0021D1D0 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 80220274 0021D1D4 7F E3 FB 78 */ mr r3, r31 /* 80220278 0021D1D8 90 81 00 3C */ stw r4, 0x3c(r1) /* 8022027C 0021D1DC 38 80 00 0E */ li r4, 0xe /* 80220280 0021D1E0 91 01 00 24 */ stw r8, 0x24(r1) /* 80220284 0021D1E4 90 E1 00 20 */ stw r7, 0x20(r1) /* 80220288 0021D1E8 90 C1 00 28 */ stw r6, 0x28(r1) /* 8022028C 0021D1EC D0 41 00 2C */ stfs f2, 0x2c(r1) /* 80220290 0021D1F0 D0 21 00 30 */ stfs f1, 0x30(r1) /* 80220294 0021D1F4 D0 01 00 34 */ stfs f0, 0x34(r1) /* 80220298 0021D1F8 90 A1 00 38 */ stw r5, 0x38(r1) /* 8022029C 0021D1FC 90 01 00 3C */ stw r0, 0x3c(r1) /* 802202A0 0021D200 4B F1 11 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 802202A4 0021D204 80 01 00 24 */ lwz r0, 0x24(r1) /* 802202A8 0021D208 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 802202AC 0021D20C 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 802202B0 0021D210 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 802202B4 0021D214 90 1F 01 90 */ stw r0, 0x190(r31) /* 802202B8 0021D218 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 802202BC 0021D21C 80 A1 00 28 */ lwz r5, 0x28(r1) /* 802202C0 0021D220 80 61 00 2C */ lwz r3, 0x2c(r1) /* 802202C4 0021D224 90 BF 01 94 */ stw r5, 0x194(r31) /* 802202C8 0021D228 80 A1 00 30 */ lwz r5, 0x30(r1) /* 802202CC 0021D22C 90 7F 01 98 */ stw r3, 0x198(r31) /* 802202D0 0021D230 80 61 00 34 */ lwz r3, 0x34(r1) /* 802202D4 0021D234 90 BF 01 9C */ stw r5, 0x19c(r31) /* 802202D8 0021D238 80 A1 00 38 */ lwz r5, 0x38(r1) /* 802202DC 0021D23C 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 802202E0 0021D240 80 61 00 3C */ lwz r3, 0x3c(r1) /* 802202E4 0021D244 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 802202E8 0021D248 90 81 00 20 */ stw r4, 0x20(r1) /* 802202EC 0021D24C 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 802202F0 0021D250 90 01 00 20 */ stw r0, 0x20(r1) /* 802202F4 0021D254 48 00 00 1C */ b lbl_80220310 lbl_802202F8: /* 802202F8 0021D258 80 7F 04 50 */ lwz r3, 0x450(r31) /* 802202FC 0021D25C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 80220300 0021D260 2C 00 00 0C */ cmpwi r0, 0xc /* 80220304 0021D264 41 82 00 0C */ beq lbl_80220310 /* 80220308 0021D268 38 00 00 04 */ li r0, 4 /* 8022030C 0021D26C 90 1F 05 68 */ stw r0, 0x568(r31) lbl_80220310: /* 80220310 0021D270 80 01 00 84 */ lwz r0, 0x84(r1) /* 80220314 0021D274 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80220318 0021D278 7C 08 03 A6 */ mtlr r0 /* 8022031C 0021D27C 38 21 00 80 */ addi r1, r1, 0x80 /* 80220320 0021D280 4E 80 00 20 */ blr .global Generate__9CBabygothFR13CStateManager9EStateMsgf Generate__9CBabygothFR13CStateManager9EStateMsgf: /* 80220324 0021D284 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80220328 0021D288 7C 08 02 A6 */ mflr r0 /* 8022032C 0021D28C 2C 05 00 01 */ cmpwi r5, 1 /* 80220330 0021D290 90 01 00 34 */ stw r0, 0x34(r1) /* 80220334 0021D294 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80220338 0021D298 7C 9F 23 78 */ mr r31, r4 /* 8022033C 0021D29C 93 C1 00 28 */ stw r30, 0x28(r1) /* 80220340 0021D2A0 7C 7E 1B 78 */ mr r30, r3 /* 80220344 0021D2A4 41 82 00 38 */ beq lbl_8022037C /* 80220348 0021D2A8 40 80 01 68 */ bge lbl_802204B0 /* 8022034C 0021D2AC 2C 05 00 00 */ cmpwi r5, 0 /* 80220350 0021D2B0 40 80 00 08 */ bge lbl_80220358 /* 80220354 0021D2B4 48 00 01 5C */ b lbl_802204B0 lbl_80220358: /* 80220358 0021D2B8 38 00 00 00 */ li r0, 0 /* 8022035C 0021D2BC 90 1E 05 68 */ stw r0, 0x568(r30) /* 80220360 0021D2C0 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 80220364 0021D2C4 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80220368 0021D2C8 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 8022036C 0021D2CC D0 1E 08 C4 */ stfs f0, 0x8c4(r30) /* 80220370 0021D2D0 D0 3E 08 C8 */ stfs f1, 0x8c8(r30) /* 80220374 0021D2D4 D0 5E 08 CC */ stfs f2, 0x8cc(r30) /* 80220378 0021D2D8 48 00 01 38 */ b lbl_802204B0 lbl_8022037C: /* 8022037C 0021D2DC 80 1E 05 68 */ lwz r0, 0x568(r30) /* 80220380 0021D2E0 2C 00 00 03 */ cmpwi r0, 3 /* 80220384 0021D2E4 41 82 01 14 */ beq lbl_80220498 /* 80220388 0021D2E8 40 80 01 28 */ bge lbl_802204B0 /* 8022038C 0021D2EC 2C 00 00 00 */ cmpwi r0, 0 /* 80220390 0021D2F0 41 82 00 08 */ beq lbl_80220398 /* 80220394 0021D2F4 48 00 01 1C */ b lbl_802204B0 lbl_80220398: /* 80220398 0021D2F8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022039C 0021D2FC 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 802203A0 0021D300 2C 00 00 0C */ cmpwi r0, 0xc /* 802203A4 0021D304 40 82 00 2C */ bne lbl_802203D0 /* 802203A8 0021D308 38 80 00 01 */ li r4, 1 /* 802203AC 0021D30C 4B F1 A6 2D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 802203B0 0021D310 38 00 00 03 */ li r0, 3 /* 802203B4 0021D314 7F C3 F3 78 */ mr r3, r30 /* 802203B8 0021D318 90 1E 05 68 */ stw r0, 0x568(r30) /* 802203BC 0021D31C 7F E5 FB 78 */ mr r5, r31 /* 802203C0 0021D320 38 80 00 0A */ li r4, 0xa /* 802203C4 0021D324 38 C0 FF FF */ li r6, -1 /* 802203C8 0021D328 4B E3 0C F9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 802203CC 0021D32C 48 00 00 E4 */ b lbl_802204B0 lbl_802203D0: /* 802203D0 0021D330 3C E0 80 3E */ lis r7, lbl_803DAA68@ha /* 802203D4 0021D334 38 C0 00 00 */ li r6, 0 /* 802203D8 0021D338 39 27 AA 68 */ addi r9, r7, lbl_803DAA68@l /* 802203DC 0021D33C 80 81 00 24 */ lwz r4, 0x24(r1) /* 802203E0 0021D340 50 C4 F8 00 */ rlwimi r4, r6, 0x1f, 0, 0 /* 802203E4 0021D344 3C A0 80 5A */ lis r5, skZero3f@ha /* 802203E8 0021D348 C4 45 66 A0 */ lfsu f2, skZero3f@l(r5) /* 802203EC 0021D34C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 802203F0 0021D350 7C 80 23 78 */ mr r0, r4 /* 802203F4 0021D354 90 81 00 24 */ stw r4, 0x24(r1) /* 802203F8 0021D358 C0 25 00 04 */ lfs f1, 4(r5) /* 802203FC 0021D35C 39 00 00 0E */ li r8, 0xe /* 80220400 0021D360 C0 05 00 08 */ lfs f0, 8(r5) /* 80220404 0021D364 38 A0 FF FF */ li r5, -1 /* 80220408 0021D368 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 /* 8022040C 0021D36C 3B E3 00 04 */ addi r31, r3, 4 /* 80220410 0021D370 91 21 00 08 */ stw r9, 8(r1) /* 80220414 0021D374 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 80220418 0021D378 7F E3 FB 78 */ mr r3, r31 /* 8022041C 0021D37C 38 80 00 0E */ li r4, 0xe /* 80220420 0021D380 91 01 00 0C */ stw r8, 0xc(r1) /* 80220424 0021D384 90 E1 00 08 */ stw r7, 8(r1) /* 80220428 0021D388 90 C1 00 10 */ stw r6, 0x10(r1) /* 8022042C 0021D38C D0 41 00 14 */ stfs f2, 0x14(r1) /* 80220430 0021D390 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80220434 0021D394 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80220438 0021D398 90 A1 00 20 */ stw r5, 0x20(r1) /* 8022043C 0021D39C 90 01 00 24 */ stw r0, 0x24(r1) /* 80220440 0021D3A0 4B F1 0F F9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80220444 0021D3A4 80 01 00 0C */ lwz r0, 0xc(r1) /* 80220448 0021D3A8 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 8022044C 0021D3AC 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 80220450 0021D3B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80220454 0021D3B4 90 1F 01 90 */ stw r0, 0x190(r31) /* 80220458 0021D3B8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022045C 0021D3BC 80 A1 00 10 */ lwz r5, 0x10(r1) /* 80220460 0021D3C0 80 61 00 14 */ lwz r3, 0x14(r1) /* 80220464 0021D3C4 90 BF 01 94 */ stw r5, 0x194(r31) /* 80220468 0021D3C8 80 A1 00 18 */ lwz r5, 0x18(r1) /* 8022046C 0021D3CC 90 7F 01 98 */ stw r3, 0x198(r31) /* 80220470 0021D3D0 80 61 00 1C */ lwz r3, 0x1c(r1) /* 80220474 0021D3D4 90 BF 01 9C */ stw r5, 0x19c(r31) /* 80220478 0021D3D8 80 A1 00 20 */ lwz r5, 0x20(r1) /* 8022047C 0021D3DC 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 80220480 0021D3E0 80 61 00 24 */ lwz r3, 0x24(r1) /* 80220484 0021D3E4 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 80220488 0021D3E8 90 81 00 08 */ stw r4, 8(r1) /* 8022048C 0021D3EC 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 80220490 0021D3F0 90 01 00 08 */ stw r0, 8(r1) /* 80220494 0021D3F4 48 00 00 1C */ b lbl_802204B0 lbl_80220498: /* 80220498 0021D3F8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022049C 0021D3FC 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 802204A0 0021D400 2C 00 00 0C */ cmpwi r0, 0xc /* 802204A4 0021D404 41 82 00 0C */ beq lbl_802204B0 /* 802204A8 0021D408 38 00 00 04 */ li r0, 4 /* 802204AC 0021D40C 90 1E 05 68 */ stw r0, 0x568(r30) lbl_802204B0: /* 802204B0 0021D410 80 01 00 34 */ lwz r0, 0x34(r1) /* 802204B4 0021D414 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802204B8 0021D418 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802204BC 0021D41C 7C 08 03 A6 */ mtlr r0 /* 802204C0 0021D420 38 21 00 30 */ addi r1, r1, 0x30 /* 802204C4 0021D424 4E 80 00 20 */ blr .global TargetPatrol__9CBabygothFR13CStateManager9EStateMsgf TargetPatrol__9CBabygothFR13CStateManager9EStateMsgf: /* 802204C8 0021D428 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802204CC 0021D42C 7C 08 02 A6 */ mflr r0 /* 802204D0 0021D430 90 01 00 54 */ stw r0, 0x54(r1) /* 802204D4 0021D434 DB E1 00 40 */ stfd f31, 0x40(r1) /* 802204D8 0021D438 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 802204DC 0021D43C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802204E0 0021D440 93 C1 00 38 */ stw r30, 0x38(r1) /* 802204E4 0021D444 93 A1 00 34 */ stw r29, 0x34(r1) /* 802204E8 0021D448 7C BF 2B 78 */ mr r31, r5 /* 802204EC 0021D44C FF E0 08 90 */ fmr f31, f1 /* 802204F0 0021D450 2C 1F 00 01 */ cmpwi r31, 1 /* 802204F4 0021D454 7C 7D 1B 78 */ mr r29, r3 /* 802204F8 0021D458 7C 9E 23 78 */ mr r30, r4 /* 802204FC 0021D45C 41 82 00 F0 */ beq lbl_802205EC /* 80220500 0021D460 40 80 01 BC */ bge lbl_802206BC /* 80220504 0021D464 2C 1F 00 00 */ cmpwi r31, 0 /* 80220508 0021D468 40 80 00 08 */ bge lbl_80220510 /* 8022050C 0021D46C 48 00 01 B0 */ b lbl_802206BC lbl_80220510: /* 80220510 0021D470 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80220514 0021D474 38 A0 00 00 */ li r5, 0 /* 80220518 0021D478 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 8022051C 0021D47C 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80220520 0021D480 4B FF D1 25 */ bl sub_8021d644 /* 80220524 0021D484 88 1D 04 00 */ lbz r0, 0x400(r29) /* 80220528 0021D488 38 60 00 00 */ li r3, 0 /* 8022052C 0021D48C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80220530 0021D490 38 80 00 01 */ li r4, 1 /* 80220534 0021D494 98 1D 04 00 */ stb r0, 0x400(r29) /* 80220538 0021D498 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022053C 0021D49C 4B F1 A4 9D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80220540 0021D4A0 7F A3 EB 78 */ mr r3, r29 /* 80220544 0021D4A4 7F C4 F3 78 */ mr r4, r30 /* 80220548 0021D4A8 81 9D 00 00 */ lwz r12, 0(r29) /* 8022054C 0021D4AC C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80220550 0021D4B0 81 8C 01 C0 */ lwz r12, 0x1c0(r12) /* 80220554 0021D4B4 7D 89 03 A6 */ mtctr r12 /* 80220558 0021D4B8 4E 80 04 21 */ bctrl /* 8022055C 0021D4BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220560 0021D4C0 41 82 00 28 */ beq lbl_80220588 /* 80220564 0021D4C4 FC 20 F8 90 */ fmr f1, f31 /* 80220568 0021D4C8 7F A3 EB 78 */ mr r3, r29 /* 8022056C 0021D4CC 7F C4 F3 78 */ mr r4, r30 /* 80220570 0021D4D0 7F E5 FB 78 */ mr r5, r31 /* 80220574 0021D4D4 4B FD 69 01 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 80220578 0021D4D8 7F A3 EB 78 */ mr r3, r29 /* 8022057C 0021D4DC 7F C4 F3 78 */ mr r4, r30 /* 80220580 0021D4E0 4B FD 4D 11 */ bl UpdateDest__10CPatternedFR13CStateManager /* 80220584 0021D4E4 48 00 00 10 */ b lbl_80220594 lbl_80220588: /* 80220588 0021D4E8 7F A3 EB 78 */ mr r3, r29 /* 8022058C 0021D4EC 38 9D 03 A0 */ addi r4, r29, 0x3a0 /* 80220590 0021D4F0 4B E5 C5 CD */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_80220594: /* 80220594 0021D4F4 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) /* 80220598 0021D4F8 7F A3 EB 78 */ mr r3, r29 /* 8022059C 0021D4FC D0 1D 08 B8 */ stfs f0, 0x8b8(r29) /* 802205A0 0021D500 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) /* 802205A4 0021D504 D0 1D 08 BC */ stfs f0, 0x8bc(r29) /* 802205A8 0021D508 C0 1D 02 E8 */ lfs f0, 0x2e8(r29) /* 802205AC 0021D50C D0 1D 08 C0 */ stfs f0, 0x8c0(r29) /* 802205B0 0021D510 81 9D 00 00 */ lwz r12, 0(r29) /* 802205B4 0021D514 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 802205B8 0021D518 7D 89 03 A6 */ mtctr r12 /* 802205BC 0021D51C 4E 80 04 21 */ bctrl /* 802205C0 0021D520 28 03 00 00 */ cmplwi r3, 0 /* 802205C4 0021D524 41 82 00 F8 */ beq lbl_802206BC /* 802205C8 0021D528 7F A3 EB 78 */ mr r3, r29 /* 802205CC 0021D52C 38 80 00 00 */ li r4, 0 /* 802205D0 0021D530 4B FF DA CD */ bl sub_8021e09c /* 802205D4 0021D534 FC 20 F8 90 */ fmr f1, f31 /* 802205D8 0021D538 7F A3 EB 78 */ mr r3, r29 /* 802205DC 0021D53C 7F C4 F3 78 */ mr r4, r30 /* 802205E0 0021D540 7F E5 FB 78 */ mr r5, r31 /* 802205E4 0021D544 4B FD 60 E9 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 802205E8 0021D548 48 00 00 D4 */ b lbl_802206BC lbl_802205EC: /* 802205EC 0021D54C 81 83 00 00 */ lwz r12, 0(r3) /* 802205F0 0021D550 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 802205F4 0021D554 7D 89 03 A6 */ mtctr r12 /* 802205F8 0021D558 4E 80 04 21 */ bctrl /* 802205FC 0021D55C 28 03 00 00 */ cmplwi r3, 0 /* 80220600 0021D560 41 82 00 58 */ beq lbl_80220658 /* 80220604 0021D564 7F A3 EB 78 */ mr r3, r29 /* 80220608 0021D568 7F C4 F3 78 */ mr r4, r30 /* 8022060C 0021D56C 81 9D 00 00 */ lwz r12, 0(r29) /* 80220610 0021D570 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80220614 0021D574 81 8C 01 90 */ lwz r12, 0x190(r12) /* 80220618 0021D578 7D 89 03 A6 */ mtctr r12 /* 8022061C 0021D57C 4E 80 04 21 */ bctrl /* 80220620 0021D580 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220624 0021D584 40 82 00 34 */ bne lbl_80220658 /* 80220628 0021D588 7F A3 EB 78 */ mr r3, r29 /* 8022062C 0021D58C 38 80 00 00 */ li r4, 0 /* 80220630 0021D590 4B FF DA 6D */ bl sub_8021e09c /* 80220634 0021D594 FC 20 F8 90 */ fmr f1, f31 /* 80220638 0021D598 7F A3 EB 78 */ mr r3, r29 /* 8022063C 0021D59C 7F C4 F3 78 */ mr r4, r30 /* 80220640 0021D5A0 7F E5 FB 78 */ mr r5, r31 /* 80220644 0021D5A4 4B FD 60 89 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 80220648 0021D5A8 7F A3 EB 78 */ mr r3, r29 /* 8022064C 0021D5AC 7F C4 F3 78 */ mr r4, r30 /* 80220650 0021D5B0 4B FF D7 B9 */ bl sub_8021de08 /* 80220654 0021D5B4 48 00 00 68 */ b lbl_802206BC lbl_80220658: /* 80220658 0021D5B8 C0 22 B4 44 */ lfs f1, lbl_805AD164@sda21(r2) /* 8022065C 0021D5BC 7F A5 EB 78 */ mr r5, r29 /* 80220660 0021D5C0 38 61 00 08 */ addi r3, r1, 8 /* 80220664 0021D5C4 38 9D 04 5C */ addi r4, r29, 0x45c /* 80220668 0021D5C8 38 DD 08 B8 */ addi r6, r29, 0x8b8 /* 8022066C 0021D5CC 4B F1 E4 B1 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 80220670 0021D5D0 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220674 0021D5D4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 80220678 0021D5D8 C0 C1 00 08 */ lfs f6, 8(r1) /* 8022067C 0021D5DC 38 81 00 14 */ addi r4, r1, 0x14 /* 80220680 0021D5E0 C0 A1 00 0C */ lfs f5, 0xc(r1) /* 80220684 0021D5E4 C0 81 00 10 */ lfs f4, 0x10(r1) /* 80220688 0021D5E8 C0 43 00 04 */ lfs f2, 4(r3) /* 8022068C 0021D5EC C0 23 00 08 */ lfs f1, 8(r3) /* 80220690 0021D5F0 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 80220694 0021D5F4 D0 C1 00 14 */ stfs f6, 0x14(r1) /* 80220698 0021D5F8 D0 A1 00 18 */ stfs f5, 0x18(r1) /* 8022069C 0021D5FC D0 81 00 1C */ stfs f4, 0x1c(r1) /* 802206A0 0021D600 D0 61 00 20 */ stfs f3, 0x20(r1) /* 802206A4 0021D604 D0 41 00 24 */ stfs f2, 0x24(r1) /* 802206A8 0021D608 D0 21 00 28 */ stfs f1, 0x28(r1) /* 802206AC 0021D60C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802206B0 0021D610 80 7D 04 50 */ lwz r3, 0x450(r29) /* 802206B4 0021D614 38 63 00 04 */ addi r3, r3, 4 /* 802206B8 0021D618 4B F1 10 61 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_802206BC: /* 802206BC 0021D61C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 802206C0 0021D620 80 01 00 54 */ lwz r0, 0x54(r1) /* 802206C4 0021D624 CB E1 00 40 */ lfd f31, 0x40(r1) /* 802206C8 0021D628 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 802206CC 0021D62C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 802206D0 0021D630 83 A1 00 34 */ lwz r29, 0x34(r1) /* 802206D4 0021D634 7C 08 03 A6 */ mtlr r0 /* 802206D8 0021D638 38 21 00 50 */ addi r1, r1, 0x50 /* 802206DC 0021D63C 4E 80 00 20 */ blr .global Patrol__9CBabygothFR13CStateManager9EStateMsgf Patrol__9CBabygothFR13CStateManager9EStateMsgf: /* 802206E0 0021D640 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802206E4 0021D644 7C 08 02 A6 */ mflr r0 /* 802206E8 0021D648 90 01 00 24 */ stw r0, 0x24(r1) /* 802206EC 0021D64C DB E1 00 18 */ stfd f31, 0x18(r1) /* 802206F0 0021D650 FF E0 08 90 */ fmr f31, f1 /* 802206F4 0021D654 93 E1 00 14 */ stw r31, 0x14(r1) /* 802206F8 0021D658 7C BF 2B 78 */ mr r31, r5 /* 802206FC 0021D65C 2C 1F 00 01 */ cmpwi r31, 1 /* 80220700 0021D660 93 C1 00 10 */ stw r30, 0x10(r1) /* 80220704 0021D664 7C 9E 23 78 */ mr r30, r4 /* 80220708 0021D668 93 A1 00 0C */ stw r29, 0xc(r1) /* 8022070C 0021D66C 7C 7D 1B 78 */ mr r29, r3 /* 80220710 0021D670 40 82 00 08 */ bne lbl_80220718 /* 80220714 0021D674 4B FF D6 F5 */ bl sub_8021de08 lbl_80220718: /* 80220718 0021D678 FC 20 F8 90 */ fmr f1, f31 /* 8022071C 0021D67C 7F A3 EB 78 */ mr r3, r29 /* 80220720 0021D680 7F C4 F3 78 */ mr r4, r30 /* 80220724 0021D684 7F E5 FB 78 */ mr r5, r31 /* 80220728 0021D688 4B FD 67 4D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 8022072C 0021D68C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80220730 0021D690 CB E1 00 18 */ lfd f31, 0x18(r1) /* 80220734 0021D694 83 E1 00 14 */ lwz r31, 0x14(r1) /* 80220738 0021D698 83 C1 00 10 */ lwz r30, 0x10(r1) /* 8022073C 0021D69C 83 A1 00 0C */ lwz r29, 0xc(r1) /* 80220740 0021D6A0 7C 08 03 A6 */ mtlr r0 /* 80220744 0021D6A4 38 21 00 20 */ addi r1, r1, 0x20 /* 80220748 0021D6A8 4E 80 00 20 */ blr .global Approach__9CBabygothFR13CStateManager9EStateMsgf Approach__9CBabygothFR13CStateManager9EStateMsgf: /* 8022074C 0021D6AC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80220750 0021D6B0 7C 08 02 A6 */ mflr r0 /* 80220754 0021D6B4 90 01 00 74 */ stw r0, 0x74(r1) /* 80220758 0021D6B8 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8022075C 0021D6BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 80220760 0021D6C0 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80220764 0021D6C4 93 C1 00 58 */ stw r30, 0x58(r1) /* 80220768 0021D6C8 93 A1 00 54 */ stw r29, 0x54(r1) /* 8022076C 0021D6CC 7C BF 2B 78 */ mr r31, r5 /* 80220770 0021D6D0 FF E0 08 90 */ fmr f31, f1 /* 80220774 0021D6D4 2C 1F 00 01 */ cmpwi r31, 1 /* 80220778 0021D6D8 7C 7D 1B 78 */ mr r29, r3 /* 8022077C 0021D6DC 7C 9E 23 78 */ mr r30, r4 /* 80220780 0021D6E0 41 82 00 BC */ beq lbl_8022083C /* 80220784 0021D6E4 40 80 00 10 */ bge lbl_80220794 /* 80220788 0021D6E8 2C 1F 00 00 */ cmpwi r31, 0 /* 8022078C 0021D6EC 40 80 00 14 */ bge lbl_802207A0 /* 80220790 0021D6F0 48 00 03 40 */ b lbl_80220AD0 lbl_80220794: /* 80220794 0021D6F4 2C 1F 00 03 */ cmpwi r31, 3 /* 80220798 0021D6F8 40 80 03 38 */ bge lbl_80220AD0 /* 8022079C 0021D6FC 48 00 03 1C */ b lbl_80220AB8 lbl_802207A0: /* 802207A0 0021D700 80 7D 04 50 */ lwz r3, 0x450(r29) /* 802207A4 0021D704 38 80 00 01 */ li r4, 1 /* 802207A8 0021D708 4B F1 A2 31 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 802207AC 0021D70C 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 802207B0 0021D710 38 7D 08 F0 */ addi r3, r29, 0x8f0 /* 802207B4 0021D714 38 81 00 0C */ addi r4, r1, 0xc /* 802207B8 0021D718 A0 05 00 08 */ lhz r0, 8(r5) /* 802207BC 0021D71C B0 01 00 08 */ sth r0, 8(r1) /* 802207C0 0021D720 B0 01 00 0C */ sth r0, 0xc(r1) /* 802207C4 0021D724 4B F5 4A 55 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 802207C8 0021D728 38 7D 08 F0 */ addi r3, r29, 0x8f0 /* 802207CC 0021D72C 38 80 00 01 */ li r4, 1 /* 802207D0 0021D730 4B F5 4A 55 */ bl SetActive__13CBoneTrackingFb /* 802207D4 0021D734 7F A3 EB 78 */ mr r3, r29 /* 802207D8 0021D738 7F C4 F3 78 */ mr r4, r30 /* 802207DC 0021D73C 38 BD 02 E0 */ addi r5, r29, 0x2e0 /* 802207E0 0021D740 4B FF EE D1 */ bl sub_8021f6b0 /* 802207E4 0021D744 7F A3 EB 78 */ mr r3, r29 /* 802207E8 0021D748 38 80 00 00 */ li r4, 0 /* 802207EC 0021D74C 4B FF D8 B1 */ bl sub_8021e09c /* 802207F0 0021D750 FC 20 F8 90 */ fmr f1, f31 /* 802207F4 0021D754 7F A3 EB 78 */ mr r3, r29 /* 802207F8 0021D758 7F C4 F3 78 */ mr r4, r30 /* 802207FC 0021D75C 38 A0 00 00 */ li r5, 0 /* 80220800 0021D760 4B FD 5E CD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 80220804 0021D764 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80220808 0021D768 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8022080C 0021D76C 40 82 00 10 */ bne lbl_8022081C /* 80220810 0021D770 80 7D 04 50 */ lwz r3, 0x450(r29) /* 80220814 0021D774 38 63 00 04 */ addi r3, r3, 4 /* 80220818 0021D778 4B F1 0C 91 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv lbl_8022081C: /* 8022081C 0021D77C 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80220820 0021D780 38 60 00 01 */ li r3, 1 /* 80220824 0021D784 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 80220828 0021D788 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 8022082C 0021D78C 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80220830 0021D790 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80220834 0021D794 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80220838 0021D798 48 00 02 98 */ b lbl_80220AD0 lbl_8022083C: /* 8022083C 0021D79C 38 80 00 01 */ li r4, 1 /* 80220840 0021D7A0 4B FF D8 5D */ bl sub_8021e09c /* 80220844 0021D7A4 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80220848 0021D7A8 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 8022084C 0021D7AC 41 82 00 E8 */ beq lbl_80220934 /* 80220850 0021D7B0 C0 1D 08 B8 */ lfs f0, 0x8b8(r29) /* 80220854 0021D7B4 38 7D 07 D0 */ addi r3, r29, 0x7d0 /* 80220858 0021D7B8 38 81 00 1C */ addi r4, r1, 0x1c /* 8022085C 0021D7BC 38 BD 02 E0 */ addi r5, r29, 0x2e0 /* 80220860 0021D7C0 D0 1D 02 E0 */ stfs f0, 0x2e0(r29) /* 80220864 0021D7C4 C0 1D 08 BC */ lfs f0, 0x8bc(r29) /* 80220868 0021D7C8 D0 1D 02 E4 */ stfs f0, 0x2e4(r29) /* 8022086C 0021D7CC C0 1D 08 C0 */ lfs f0, 0x8c0(r29) /* 80220870 0021D7D0 D0 1D 02 E8 */ stfs f0, 0x2e8(r29) /* 80220874 0021D7D4 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 80220878 0021D7D8 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 8022087C 0021D7DC C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80220880 0021D7E0 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80220884 0021D7E4 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80220888 0021D7E8 D0 41 00 24 */ stfs f2, 0x24(r1) /* 8022088C 0021D7EC 4B FA 68 71 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f /* 80220890 0021D7F0 2C 03 00 00 */ cmpwi r3, 0 /* 80220894 0021D7F4 40 82 00 90 */ bne lbl_80220924 /* 80220898 0021D7F8 C0 BD 00 50 */ lfs f5, 0x50(r29) /* 8022089C 0021D7FC C0 1D 02 E4 */ lfs f0, 0x2e4(r29) /* 802208A0 0021D800 C0 DD 00 40 */ lfs f6, 0x40(r29) /* 802208A4 0021D804 EC 20 28 28 */ fsubs f1, f0, f5 /* 802208A8 0021D808 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) /* 802208AC 0021D80C C0 9D 00 60 */ lfs f4, 0x60(r29) /* 802208B0 0021D810 EC 60 30 28 */ fsubs f3, f0, f6 /* 802208B4 0021D814 C0 1D 02 E8 */ lfs f0, 0x2e8(r29) /* 802208B8 0021D818 EC 21 00 72 */ fmuls f1, f1, f1 /* 802208BC 0021D81C EC 40 20 28 */ fsubs f2, f0, f4 /* 802208C0 0021D820 C0 02 B4 00 */ lfs f0, lbl_805AD120@sda21(r2) /* 802208C4 0021D824 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 802208C8 0021D828 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 802208CC 0021D82C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802208D0 0021D830 40 80 00 10 */ bge lbl_802208E0 /* 802208D4 0021D834 D0 DD 02 E0 */ stfs f6, 0x2e0(r29) /* 802208D8 0021D838 D0 BD 02 E4 */ stfs f5, 0x2e4(r29) /* 802208DC 0021D83C D0 9D 02 E8 */ stfs f4, 0x2e8(r29) lbl_802208E0: /* 802208E0 0021D840 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) /* 802208E4 0021D844 FC 20 F8 90 */ fmr f1, f31 /* 802208E8 0021D848 7F A3 EB 78 */ mr r3, r29 /* 802208EC 0021D84C 7F C4 F3 78 */ mr r4, r30 /* 802208F0 0021D850 D0 1D 08 B8 */ stfs f0, 0x8b8(r29) /* 802208F4 0021D854 38 A0 00 00 */ li r5, 0 /* 802208F8 0021D858 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) /* 802208FC 0021D85C D0 1D 08 BC */ stfs f0, 0x8bc(r29) /* 80220900 0021D860 C0 1D 02 E8 */ lfs f0, 0x2e8(r29) /* 80220904 0021D864 D0 1D 08 C0 */ stfs f0, 0x8c0(r29) /* 80220908 0021D868 4B FD 5D C5 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022090C 0021D86C 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80220910 0021D870 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80220914 0021D874 40 82 00 10 */ bne lbl_80220924 /* 80220918 0021D878 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022091C 0021D87C 38 63 00 04 */ addi r3, r3, 4 /* 80220920 0021D880 4B F1 0B 89 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv lbl_80220924: /* 80220924 0021D884 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80220928 0021D888 38 60 00 00 */ li r3, 0 /* 8022092C 0021D88C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 80220930 0021D890 98 1D 0A 48 */ stb r0, 0xa48(r29) lbl_80220934: /* 80220934 0021D894 7F A3 EB 78 */ mr r3, r29 /* 80220938 0021D898 7F C4 F3 78 */ mr r4, r30 /* 8022093C 0021D89C 4B FF D6 29 */ bl sub_8021df64 /* 80220940 0021D8A0 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 80220944 0021D8A4 88 9D 0A 49 */ lbz r4, 0xa49(r29) /* 80220948 0021D8A8 7C 00 00 34 */ cntlzw r0, r0 /* 8022094C 0021D8AC 54 03 D9 7E */ srwi r3, r0, 5 /* 80220950 0021D8B0 54 80 E7 FE */ rlwinm r0, r4, 0x1c, 0x1f, 0x1f /* 80220954 0021D8B4 7C 00 18 38 */ and r0, r0, r3 /* 80220958 0021D8B8 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b /* 8022095C 0021D8BC 98 9D 0A 49 */ stb r4, 0xa49(r29) /* 80220960 0021D8C0 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80220964 0021D8C4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80220968 0021D8C8 41 82 00 7C */ beq lbl_802209E4 /* 8022096C 0021D8CC 7F A3 EB 78 */ mr r3, r29 /* 80220970 0021D8D0 81 9D 00 00 */ lwz r12, 0(r29) /* 80220974 0021D8D4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 80220978 0021D8D8 7D 89 03 A6 */ mtctr r12 /* 8022097C 0021D8DC 4E 80 04 21 */ bctrl /* 80220980 0021D8E0 28 03 00 00 */ cmplwi r3, 0 /* 80220984 0021D8E4 41 82 00 60 */ beq lbl_802209E4 /* 80220988 0021D8E8 7F A3 EB 78 */ mr r3, r29 /* 8022098C 0021D8EC 7F C4 F3 78 */ mr r4, r30 /* 80220990 0021D8F0 81 9D 00 00 */ lwz r12, 0(r29) /* 80220994 0021D8F4 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80220998 0021D8F8 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022099C 0021D8FC 7D 89 03 A6 */ mtctr r12 /* 802209A0 0021D900 4E 80 04 21 */ bctrl /* 802209A4 0021D904 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802209A8 0021D908 40 82 00 3C */ bne lbl_802209E4 /* 802209AC 0021D90C 80 7D 07 D4 */ lwz r3, 0x7d4(r29) /* 802209B0 0021D910 80 9D 08 98 */ lwz r4, 0x898(r29) /* 802209B4 0021D914 38 03 FF FF */ addi r0, r3, -1 /* 802209B8 0021D918 7C 04 00 00 */ cmpw r4, r0 /* 802209BC 0021D91C 40 80 00 28 */ bge lbl_802209E4 /* 802209C0 0021D920 FC 20 F8 90 */ fmr f1, f31 /* 802209C4 0021D924 7F A3 EB 78 */ mr r3, r29 /* 802209C8 0021D928 7F C4 F3 78 */ mr r4, r30 /* 802209CC 0021D92C 7F E5 FB 78 */ mr r5, r31 /* 802209D0 0021D930 4B FD 5C FD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 802209D4 0021D934 7F A3 EB 78 */ mr r3, r29 /* 802209D8 0021D938 7F C4 F3 78 */ mr r4, r30 /* 802209DC 0021D93C 4B FF D4 2D */ bl sub_8021de08 /* 802209E0 0021D940 48 00 00 C4 */ b lbl_80220AA4 lbl_802209E4: /* 802209E4 0021D944 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 802209E8 0021D948 7F A3 EB 78 */ mr r3, r29 /* 802209EC 0021D94C C0 1D 00 50 */ lfs f0, 0x50(r29) /* 802209F0 0021D950 7F C4 F3 78 */ mr r4, r30 /* 802209F4 0021D954 C0 45 00 50 */ lfs f2, 0x50(r5) /* 802209F8 0021D958 C0 65 00 60 */ lfs f3, 0x60(r5) /* 802209FC 0021D95C C0 3D 00 60 */ lfs f1, 0x60(r29) /* 80220A00 0021D960 EC 82 00 28 */ fsubs f4, f2, f0 /* 80220A04 0021D964 C0 45 00 40 */ lfs f2, 0x40(r5) /* 80220A08 0021D968 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80220A0C 0021D96C EC 63 08 28 */ fsubs f3, f3, f1 /* 80220A10 0021D970 C0 22 B4 3C */ lfs f1, lbl_805AD15C@sda21(r2) /* 80220A14 0021D974 EC 02 00 28 */ fsubs f0, f2, f0 /* 80220A18 0021D978 D0 81 00 2C */ stfs f4, 0x2c(r1) /* 80220A1C 0021D97C D0 61 00 30 */ stfs f3, 0x30(r1) /* 80220A20 0021D980 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80220A24 0021D984 81 9D 00 00 */ lwz r12, 0(r29) /* 80220A28 0021D988 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 80220A2C 0021D98C 7D 89 03 A6 */ mtctr r12 /* 80220A30 0021D990 4E 80 04 21 */ bctrl /* 80220A34 0021D994 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220A38 0021D998 41 82 00 6C */ beq lbl_80220AA4 /* 80220A3C 0021D99C 38 61 00 28 */ addi r3, r1, 0x28 /* 80220A40 0021D9A0 48 0F 3C B9 */ bl CanBeNormalized__9CVector3fCFv /* 80220A44 0021D9A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220A48 0021D9A8 41 82 00 5C */ beq lbl_80220AA4 /* 80220A4C 0021D9AC 38 61 00 10 */ addi r3, r1, 0x10 /* 80220A50 0021D9B0 38 81 00 28 */ addi r4, r1, 0x28 /* 80220A54 0021D9B4 48 0F 3D FD */ bl AsNormalized__9CVector3fCFv /* 80220A58 0021D9B8 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220A5C 0021D9BC C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 80220A60 0021D9C0 C0 61 00 10 */ lfs f3, 0x10(r1) /* 80220A64 0021D9C4 38 81 00 34 */ addi r4, r1, 0x34 /* 80220A68 0021D9C8 C0 41 00 14 */ lfs f2, 0x14(r1) /* 80220A6C 0021D9CC C0 A3 00 04 */ lfs f5, 4(r3) /* 80220A70 0021D9D0 C0 83 00 08 */ lfs f4, 8(r3) /* 80220A74 0021D9D4 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80220A78 0021D9D8 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 80220A7C 0021D9DC D0 C1 00 34 */ stfs f6, 0x34(r1) /* 80220A80 0021D9E0 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 80220A84 0021D9E4 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 80220A88 0021D9E8 D0 61 00 40 */ stfs f3, 0x40(r1) /* 80220A8C 0021D9EC D0 41 00 44 */ stfs f2, 0x44(r1) /* 80220A90 0021D9F0 D0 21 00 48 */ stfs f1, 0x48(r1) /* 80220A94 0021D9F4 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80220A98 0021D9F8 80 7D 04 50 */ lwz r3, 0x450(r29) /* 80220A9C 0021D9FC 38 63 00 04 */ addi r3, r3, 4 /* 80220AA0 0021DA00 4B F1 0C 79 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_80220AA4: /* 80220AA4 0021DA04 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80220AA8 0021DA08 38 60 00 01 */ li r3, 1 /* 80220AAC 0021DA0C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80220AB0 0021DA10 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80220AB4 0021DA14 48 00 00 1C */ b lbl_80220AD0 lbl_80220AB8: /* 80220AB8 0021DA18 38 7D 08 F0 */ addi r3, r29, 0x8f0 /* 80220ABC 0021DA1C 38 80 00 00 */ li r4, 0 /* 80220AC0 0021DA20 4B F5 47 65 */ bl SetActive__13CBoneTrackingFb /* 80220AC4 0021DA24 7F A3 EB 78 */ mr r3, r29 /* 80220AC8 0021DA28 38 80 00 00 */ li r4, 0 /* 80220ACC 0021DA2C 4B FF D5 D1 */ bl sub_8021e09c lbl_80220AD0: /* 80220AD0 0021DA30 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 80220AD4 0021DA34 80 01 00 74 */ lwz r0, 0x74(r1) /* 80220AD8 0021DA38 CB E1 00 60 */ lfd f31, 0x60(r1) /* 80220ADC 0021DA3C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80220AE0 0021DA40 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80220AE4 0021DA44 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80220AE8 0021DA48 7C 08 03 A6 */ mtlr r0 /* 80220AEC 0021DA4C 38 21 00 70 */ addi r1, r1, 0x70 /* 80220AF0 0021DA50 4E 80 00 20 */ blr .global PathFind__9CBabygothFR13CStateManager9EStateMsgf PathFind__9CBabygothFR13CStateManager9EStateMsgf: /* 80220AF4 0021DA54 94 21 FF 00 */ stwu r1, -0x100(r1) /* 80220AF8 0021DA58 7C 08 02 A6 */ mflr r0 /* 80220AFC 0021DA5C 90 01 01 04 */ stw r0, 0x104(r1) /* 80220B00 0021DA60 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 80220B04 0021DA64 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 80220B08 0021DA68 93 E1 00 EC */ stw r31, 0xec(r1) /* 80220B0C 0021DA6C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 80220B10 0021DA70 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 80220B14 0021DA74 7C BD 2B 78 */ mr r29, r5 /* 80220B18 0021DA78 FF E0 08 90 */ fmr f31, f1 /* 80220B1C 0021DA7C 2C 1D 00 01 */ cmpwi r29, 1 /* 80220B20 0021DA80 7C 7E 1B 78 */ mr r30, r3 /* 80220B24 0021DA84 7C 9F 23 78 */ mr r31, r4 /* 80220B28 0021DA88 41 82 00 D4 */ beq lbl_80220BFC /* 80220B2C 0021DA8C 40 80 00 10 */ bge lbl_80220B3C /* 80220B30 0021DA90 2C 1D 00 00 */ cmpwi r29, 0 /* 80220B34 0021DA94 40 80 00 14 */ bge lbl_80220B48 /* 80220B38 0021DA98 48 00 03 AC */ b lbl_80220EE4 lbl_80220B3C: /* 80220B3C 0021DA9C 2C 1D 00 03 */ cmpwi r29, 3 /* 80220B40 0021DAA0 40 80 03 A4 */ bge lbl_80220EE4 /* 80220B44 0021DAA4 48 00 03 94 */ b lbl_80220ED8 lbl_80220B48: /* 80220B48 0021DAA8 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 80220B4C 0021DAAC 38 A0 00 00 */ li r5, 0 /* 80220B50 0021DAB0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80220B54 0021DAB4 38 60 00 01 */ li r3, 1 /* 80220B58 0021DAB8 98 1E 0A 49 */ stb r0, 0xa49(r30) /* 80220B5C 0021DABC 38 80 00 01 */ li r4, 1 /* 80220B60 0021DAC0 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80220B64 0021DAC4 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 80220B68 0021DAC8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80220B6C 0021DACC 98 1E 0A 49 */ stb r0, 0xa49(r30) /* 80220B70 0021DAD0 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 80220B74 0021DAD4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80220B78 0021DAD8 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 80220B7C 0021DADC D0 1E 08 E8 */ stfs f0, 0x8e8(r30) /* 80220B80 0021DAE0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220B84 0021DAE4 4B F1 9E 55 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80220B88 0021DAE8 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 80220B8C 0021DAEC 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 80220B90 0021DAF0 38 81 00 0C */ addi r4, r1, 0xc /* 80220B94 0021DAF4 A0 05 00 08 */ lhz r0, 8(r5) /* 80220B98 0021DAF8 B0 01 00 08 */ sth r0, 8(r1) /* 80220B9C 0021DAFC B0 01 00 0C */ sth r0, 0xc(r1) /* 80220BA0 0021DB00 4B F5 46 79 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 80220BA4 0021DB04 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 80220BA8 0021DB08 38 80 00 01 */ li r4, 1 /* 80220BAC 0021DB0C 4B F5 46 79 */ bl SetActive__13CBoneTrackingFb /* 80220BB0 0021DB10 7F C3 F3 78 */ mr r3, r30 /* 80220BB4 0021DB14 7F E4 FB 78 */ mr r4, r31 /* 80220BB8 0021DB18 38 BE 02 E0 */ addi r5, r30, 0x2e0 /* 80220BBC 0021DB1C 4B FF EA F5 */ bl sub_8021f6b0 /* 80220BC0 0021DB20 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) /* 80220BC4 0021DB24 7F C3 F3 78 */ mr r3, r30 /* 80220BC8 0021DB28 38 80 00 00 */ li r4, 0 /* 80220BCC 0021DB2C D0 1E 08 B8 */ stfs f0, 0x8b8(r30) /* 80220BD0 0021DB30 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) /* 80220BD4 0021DB34 D0 1E 08 BC */ stfs f0, 0x8bc(r30) /* 80220BD8 0021DB38 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) /* 80220BDC 0021DB3C D0 1E 08 C0 */ stfs f0, 0x8c0(r30) /* 80220BE0 0021DB40 4B FF D4 BD */ bl sub_8021e09c /* 80220BE4 0021DB44 FC 20 F8 90 */ fmr f1, f31 /* 80220BE8 0021DB48 7F C3 F3 78 */ mr r3, r30 /* 80220BEC 0021DB4C 7F E4 FB 78 */ mr r4, r31 /* 80220BF0 0021DB50 7F A5 EB 78 */ mr r5, r29 /* 80220BF4 0021DB54 4B FD 5A D9 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 80220BF8 0021DB58 48 00 02 EC */ b lbl_80220EE4 lbl_80220BFC: /* 80220BFC 0021DB5C 38 80 00 00 */ li r4, 0 /* 80220C00 0021DB60 4B FF D4 9D */ bl sub_8021e09c /* 80220C04 0021DB64 7F C3 F3 78 */ mr r3, r30 /* 80220C08 0021DB68 81 9E 00 00 */ lwz r12, 0(r30) /* 80220C0C 0021DB6C 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 80220C10 0021DB70 7D 89 03 A6 */ mtctr r12 /* 80220C14 0021DB74 4E 80 04 21 */ bctrl /* 80220C18 0021DB78 28 03 00 00 */ cmplwi r3, 0 /* 80220C1C 0021DB7C 41 82 02 1C */ beq lbl_80220E38 /* 80220C20 0021DB80 7F C3 F3 78 */ mr r3, r30 /* 80220C24 0021DB84 7F E4 FB 78 */ mr r4, r31 /* 80220C28 0021DB88 81 9E 00 00 */ lwz r12, 0(r30) /* 80220C2C 0021DB8C C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80220C30 0021DB90 81 8C 01 90 */ lwz r12, 0x190(r12) /* 80220C34 0021DB94 7D 89 03 A6 */ mtctr r12 /* 80220C38 0021DB98 4E 80 04 21 */ bctrl /* 80220C3C 0021DB9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220C40 0021DBA0 40 82 01 F8 */ bne lbl_80220E38 /* 80220C44 0021DBA4 80 7E 06 F0 */ lwz r3, 0x6f0(r30) /* 80220C48 0021DBA8 80 9E 07 B4 */ lwz r4, 0x7b4(r30) /* 80220C4C 0021DBAC 38 03 FF FF */ addi r0, r3, -1 /* 80220C50 0021DBB0 7C 04 00 00 */ cmpw r4, r0 /* 80220C54 0021DBB4 40 80 01 E4 */ bge lbl_80220E38 /* 80220C58 0021DBB8 FC 20 F8 90 */ fmr f1, f31 /* 80220C5C 0021DBBC 7F C3 F3 78 */ mr r3, r30 /* 80220C60 0021DBC0 7F E4 FB 78 */ mr r4, r31 /* 80220C64 0021DBC4 7F A5 EB 78 */ mr r5, r29 /* 80220C68 0021DBC8 4B FD 5A 65 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 80220C6C 0021DBCC C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80220C70 0021DBD0 38 61 00 7C */ addi r3, r1, 0x7c /* 80220C74 0021DBD4 D0 1E 08 E8 */ stfs f0, 0x8e8(r30) /* 80220C78 0021DBD8 80 9E 04 50 */ lwz r4, 0x450(r30) /* 80220C7C 0021DBDC C0 04 00 04 */ lfs f0, 4(r4) /* 80220C80 0021DBE0 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80220C84 0021DBE4 C0 04 00 08 */ lfs f0, 8(r4) /* 80220C88 0021DBE8 D0 01 00 80 */ stfs f0, 0x80(r1) /* 80220C8C 0021DBEC C0 04 00 0C */ lfs f0, 0xc(r4) /* 80220C90 0021DBF0 D0 01 00 84 */ stfs f0, 0x84(r1) /* 80220C94 0021DBF4 48 0F 3A 65 */ bl CanBeNormalized__9CVector3fCFv /* 80220C98 0021DBF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220C9C 0021DBFC 41 82 00 D8 */ beq lbl_80220D74 /* 80220CA0 0021DC00 80 FF 08 4C */ lwz r7, 0x84c(r31) /* 80220CA4 0021DC04 7F C5 F3 78 */ mr r5, r30 /* 80220CA8 0021DC08 C0 22 B4 14 */ lfs f1, lbl_805AD134@sda21(r2) /* 80220CAC 0021DC0C 38 61 00 4C */ addi r3, r1, 0x4c /* 80220CB0 0021DC10 C0 67 00 60 */ lfs f3, 0x60(r7) /* 80220CB4 0021DC14 38 9E 04 5C */ addi r4, r30, 0x45c /* 80220CB8 0021DC18 C0 47 00 50 */ lfs f2, 0x50(r7) /* 80220CBC 0021DC1C 38 C1 00 40 */ addi r6, r1, 0x40 /* 80220CC0 0021DC20 C0 07 00 40 */ lfs f0, 0x40(r7) /* 80220CC4 0021DC24 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80220CC8 0021DC28 D0 41 00 44 */ stfs f2, 0x44(r1) /* 80220CCC 0021DC2C D0 61 00 48 */ stfs f3, 0x48(r1) /* 80220CD0 0021DC30 4B F1 DE 4D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 80220CD4 0021DC34 C0 41 00 4C */ lfs f2, 0x4c(r1) /* 80220CD8 0021DC38 38 61 00 70 */ addi r3, r1, 0x70 /* 80220CDC 0021DC3C C0 21 00 50 */ lfs f1, 0x50(r1) /* 80220CE0 0021DC40 C0 01 00 54 */ lfs f0, 0x54(r1) /* 80220CE4 0021DC44 D0 41 00 70 */ stfs f2, 0x70(r1) /* 80220CE8 0021DC48 D0 21 00 74 */ stfs f1, 0x74(r1) /* 80220CEC 0021DC4C D0 01 00 78 */ stfs f0, 0x78(r1) /* 80220CF0 0021DC50 48 0F 3B C9 */ bl Magnitude__9CVector3fCFv /* 80220CF4 0021DC54 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220CF8 0021DC58 FF E0 08 90 */ fmr f31, f1 /* 80220CFC 0021DC5C 38 63 00 04 */ addi r3, r3, 4 /* 80220D00 0021DC60 4B F1 07 A9 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 80220D04 0021DC64 38 61 00 28 */ addi r3, r1, 0x28 /* 80220D08 0021DC68 38 81 00 7C */ addi r4, r1, 0x7c /* 80220D0C 0021DC6C 48 0F 3B 45 */ bl AsNormalized__9CVector3fCFv /* 80220D10 0021DC70 C0 01 00 30 */ lfs f0, 0x30(r1) /* 80220D14 0021DC74 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220D18 0021DC78 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 80220D1C 0021DC7C 38 81 00 C0 */ addi r4, r1, 0xc0 /* 80220D20 0021DC80 EC DF 00 32 */ fmuls f6, f31, f0 /* 80220D24 0021DC84 C0 21 00 28 */ lfs f1, 0x28(r1) /* 80220D28 0021DC88 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 80220D2C 0021DC8C EC BF 00 72 */ fmuls f5, f31, f1 /* 80220D30 0021DC90 C0 43 00 04 */ lfs f2, 4(r3) /* 80220D34 0021DC94 EC 9F 00 32 */ fmuls f4, f31, f0 /* 80220D38 0021DC98 C0 23 00 08 */ lfs f1, 8(r3) /* 80220D3C 0021DC9C C0 02 B4 00 */ lfs f0, lbl_805AD120@sda21(r2) /* 80220D40 0021DCA0 D0 A1 00 C0 */ stfs f5, 0xc0(r1) /* 80220D44 0021DCA4 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 80220D48 0021DCA8 D0 C1 00 C8 */ stfs f6, 0xc8(r1) /* 80220D4C 0021DCAC D0 61 00 CC */ stfs f3, 0xcc(r1) /* 80220D50 0021DCB0 D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 80220D54 0021DCB4 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 80220D58 0021DCB8 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 80220D5C 0021DCBC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220D60 0021DCC0 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 80220D64 0021DCC4 38 63 00 04 */ addi r3, r3, 4 /* 80220D68 0021DCC8 D0 81 00 38 */ stfs f4, 0x38(r1) /* 80220D6C 0021DCCC D0 C1 00 3C */ stfs f6, 0x3c(r1) /* 80220D70 0021DCD0 4B F1 09 A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_80220D74: /* 80220D74 0021DCD4 7F C3 F3 78 */ mr r3, r30 /* 80220D78 0021DCD8 7F E4 FB 78 */ mr r4, r31 /* 80220D7C 0021DCDC 4B FF D0 8D */ bl sub_8021de08 /* 80220D80 0021DCE0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220D84 0021DCE4 C0 BE 00 58 */ lfs f5, 0x58(r30) /* 80220D88 0021DCE8 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80220D8C 0021DCEC C0 9E 00 38 */ lfs f4, 0x38(r30) /* 80220D90 0021DCF0 C0 63 00 04 */ lfs f3, 4(r3) /* 80220D94 0021DCF4 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80220D98 0021DCF8 D0 61 00 64 */ stfs f3, 0x64(r1) /* 80220D9C 0021DCFC C0 43 00 08 */ lfs f2, 8(r3) /* 80220DA0 0021DD00 EC 21 00 B2 */ fmuls f1, f1, f2 /* 80220DA4 0021DD04 D0 41 00 68 */ stfs f2, 0x68(r1) /* 80220DA8 0021DD08 C0 43 00 0C */ lfs f2, 0xc(r3) /* 80220DAC 0021DD0C EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 80220DB0 0021DD10 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 80220DB4 0021DD14 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 80220DB8 0021DD18 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80220DBC 0021DD1C 40 80 01 28 */ bge lbl_80220EE4 /* 80220DC0 0021DD20 38 61 00 7C */ addi r3, r1, 0x7c /* 80220DC4 0021DD24 48 0F 39 35 */ bl CanBeNormalized__9CVector3fCFv /* 80220DC8 0021DD28 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220DCC 0021DD2C 41 82 01 18 */ beq lbl_80220EE4 /* 80220DD0 0021DD30 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220DD4 0021DD34 38 63 00 04 */ addi r3, r3, 4 /* 80220DD8 0021DD38 4B F1 06 D1 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 80220DDC 0021DD3C 38 61 00 1C */ addi r3, r1, 0x1c /* 80220DE0 0021DD40 38 81 00 64 */ addi r4, r1, 0x64 /* 80220DE4 0021DD44 48 0F 3A 6D */ bl AsNormalized__9CVector3fCFv /* 80220DE8 0021DD48 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220DEC 0021DD4C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 80220DF0 0021DD50 C0 61 00 1C */ lfs f3, 0x1c(r1) /* 80220DF4 0021DD54 38 81 00 A4 */ addi r4, r1, 0xa4 /* 80220DF8 0021DD58 C0 41 00 20 */ lfs f2, 0x20(r1) /* 80220DFC 0021DD5C C0 A3 00 04 */ lfs f5, 4(r3) /* 80220E00 0021DD60 C0 83 00 08 */ lfs f4, 8(r3) /* 80220E04 0021DD64 C0 21 00 24 */ lfs f1, 0x24(r1) /* 80220E08 0021DD68 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 80220E0C 0021DD6C D0 C1 00 A4 */ stfs f6, 0xa4(r1) /* 80220E10 0021DD70 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 80220E14 0021DD74 D0 81 00 AC */ stfs f4, 0xac(r1) /* 80220E18 0021DD78 D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 80220E1C 0021DD7C D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 80220E20 0021DD80 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 80220E24 0021DD84 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 80220E28 0021DD88 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220E2C 0021DD8C 38 63 00 04 */ addi r3, r3, 4 /* 80220E30 0021DD90 4B F1 08 E9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 80220E34 0021DD94 48 00 00 B0 */ b lbl_80220EE4 lbl_80220E38: /* 80220E38 0021DD98 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 80220E3C 0021DD9C 38 61 00 58 */ addi r3, r1, 0x58 /* 80220E40 0021DDA0 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 80220E44 0021DDA4 C0 24 00 50 */ lfs f1, 0x50(r4) /* 80220E48 0021DDA8 C0 64 00 60 */ lfs f3, 0x60(r4) /* 80220E4C 0021DDAC C0 5E 00 60 */ lfs f2, 0x60(r30) /* 80220E50 0021DDB0 EC 81 00 28 */ fsubs f4, f1, f0 /* 80220E54 0021DDB4 C0 24 00 40 */ lfs f1, 0x40(r4) /* 80220E58 0021DDB8 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80220E5C 0021DDBC EC 43 10 28 */ fsubs f2, f3, f2 /* 80220E60 0021DDC0 EC 01 00 28 */ fsubs f0, f1, f0 /* 80220E64 0021DDC4 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 80220E68 0021DDC8 D0 41 00 60 */ stfs f2, 0x60(r1) /* 80220E6C 0021DDCC D0 01 00 58 */ stfs f0, 0x58(r1) /* 80220E70 0021DDD0 48 0F 38 89 */ bl CanBeNormalized__9CVector3fCFv /* 80220E74 0021DDD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220E78 0021DDD8 41 82 00 6C */ beq lbl_80220EE4 /* 80220E7C 0021DDDC 38 61 00 10 */ addi r3, r1, 0x10 /* 80220E80 0021DDE0 38 81 00 58 */ addi r4, r1, 0x58 /* 80220E84 0021DDE4 48 0F 39 CD */ bl AsNormalized__9CVector3fCFv /* 80220E88 0021DDE8 3C 60 80 5A */ lis r3, skZero3f@ha /* 80220E8C 0021DDEC C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 80220E90 0021DDF0 C0 61 00 10 */ lfs f3, 0x10(r1) /* 80220E94 0021DDF4 38 81 00 88 */ addi r4, r1, 0x88 /* 80220E98 0021DDF8 C0 41 00 14 */ lfs f2, 0x14(r1) /* 80220E9C 0021DDFC C0 A3 00 04 */ lfs f5, 4(r3) /* 80220EA0 0021DE00 C0 83 00 08 */ lfs f4, 8(r3) /* 80220EA4 0021DE04 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80220EA8 0021DE08 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 80220EAC 0021DE0C D0 C1 00 88 */ stfs f6, 0x88(r1) /* 80220EB0 0021DE10 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 80220EB4 0021DE14 D0 81 00 90 */ stfs f4, 0x90(r1) /* 80220EB8 0021DE18 D0 61 00 94 */ stfs f3, 0x94(r1) /* 80220EBC 0021DE1C D0 41 00 98 */ stfs f2, 0x98(r1) /* 80220EC0 0021DE20 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 80220EC4 0021DE24 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 80220EC8 0021DE28 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80220ECC 0021DE2C 38 63 00 04 */ addi r3, r3, 4 /* 80220ED0 0021DE30 4B F1 08 49 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 80220ED4 0021DE34 48 00 00 10 */ b lbl_80220EE4 lbl_80220ED8: /* 80220ED8 0021DE38 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 80220EDC 0021DE3C 38 80 00 00 */ li r4, 0 /* 80220EE0 0021DE40 4B F5 43 45 */ bl SetActive__13CBoneTrackingFb lbl_80220EE4: /* 80220EE4 0021DE44 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 80220EE8 0021DE48 80 01 01 04 */ lwz r0, 0x104(r1) /* 80220EEC 0021DE4C CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 80220EF0 0021DE50 83 E1 00 EC */ lwz r31, 0xec(r1) /* 80220EF4 0021DE54 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 80220EF8 0021DE58 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 80220EFC 0021DE5C 7C 08 03 A6 */ mtlr r0 /* 80220F00 0021DE60 38 21 01 00 */ addi r1, r1, 0x100 /* 80220F04 0021DE64 4E 80 00 20 */ blr .global SpecialAttack__9CBabygothFR13CStateManager9EStateMsgf SpecialAttack__9CBabygothFR13CStateManager9EStateMsgf: /* 80220F08 0021DE68 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80220F0C 0021DE6C 7C 08 02 A6 */ mflr r0 /* 80220F10 0021DE70 2C 05 00 01 */ cmpwi r5, 1 /* 80220F14 0021DE74 90 01 00 64 */ stw r0, 0x64(r1) /* 80220F18 0021DE78 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80220F1C 0021DE7C 7C 7F 1B 78 */ mr r31, r3 /* 80220F20 0021DE80 93 C1 00 58 */ stw r30, 0x58(r1) /* 80220F24 0021DE84 7C 9E 23 78 */ mr r30, r4 /* 80220F28 0021DE88 41 82 00 D0 */ beq lbl_80220FF8 /* 80220F2C 0021DE8C 40 80 00 10 */ bge lbl_80220F3C /* 80220F30 0021DE90 2C 05 00 00 */ cmpwi r5, 0 /* 80220F34 0021DE94 40 80 00 14 */ bge lbl_80220F48 /* 80220F38 0021DE98 48 00 02 50 */ b lbl_80221188 lbl_80220F3C: /* 80220F3C 0021DE9C 2C 05 00 03 */ cmpwi r5, 3 /* 80220F40 0021DEA0 40 80 02 48 */ bge lbl_80221188 /* 80220F44 0021DEA4 48 00 01 C0 */ b lbl_80221104 lbl_80220F48: /* 80220F48 0021DEA8 88 1F 0A 48 */ lbz r0, 0xa48(r31) /* 80220F4C 0021DEAC 38 60 00 01 */ li r3, 1 /* 80220F50 0021DEB0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80220F54 0021DEB4 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80220F58 0021DEB8 98 1F 0A 48 */ stb r0, 0xa48(r31) /* 80220F5C 0021DEBC 38 A0 00 00 */ li r5, 0 /* 80220F60 0021DEC0 7F C3 F3 78 */ mr r3, r30 /* 80220F64 0021DEC4 38 81 00 24 */ addi r4, r1, 0x24 /* 80220F68 0021DEC8 D0 1F 08 E8 */ stfs f0, 0x8e8(r31) /* 80220F6C 0021DECC 88 1F 0A 49 */ lbz r0, 0xa49(r31) /* 80220F70 0021DED0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80220F74 0021DED4 98 1F 0A 49 */ stb r0, 0xa49(r31) /* 80220F78 0021DED8 A0 1F 06 E8 */ lhz r0, 0x6e8(r31) /* 80220F7C 0021DEDC B0 01 00 24 */ sth r0, 0x24(r1) /* 80220F80 0021DEE0 4B E2 B5 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80220F84 0021DEE4 7C 64 1B 78 */ mr r4, r3 /* 80220F88 0021DEE8 38 61 00 30 */ addi r3, r1, 0x30 /* 80220F8C 0021DEEC 4B E8 65 E9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 80220F90 0021DEF0 83 C3 00 04 */ lwz r30, 4(r3) /* 80220F94 0021DEF4 28 1E 00 00 */ cmplwi r30, 0 /* 80220F98 0021DEF8 41 82 00 54 */ beq lbl_80220FEC /* 80220F9C 0021DEFC A0 1F 00 08 */ lhz r0, 8(r31) /* 80220FA0 0021DF00 7F C3 F3 78 */ mr r3, r30 /* 80220FA4 0021DF04 38 81 00 20 */ addi r4, r1, 0x20 /* 80220FA8 0021DF08 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80220FAC 0021DF0C B0 01 00 20 */ sth r0, 0x20(r1) /* 80220FB0 0021DF10 48 01 81 55 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 80220FB4 0021DF14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220FB8 0021DF18 41 82 00 34 */ beq lbl_80220FEC /* 80220FBC 0021DF1C A0 1F 00 08 */ lhz r0, 8(r31) /* 80220FC0 0021DF20 7F C3 F3 78 */ mr r3, r30 /* 80220FC4 0021DF24 38 81 00 18 */ addi r4, r1, 0x18 /* 80220FC8 0021DF28 B0 01 00 14 */ sth r0, 0x14(r1) /* 80220FCC 0021DF2C B0 01 00 18 */ sth r0, 0x18(r1) /* 80220FD0 0021DF30 48 01 75 F5 */ bl AddProjectileAttacker__10CTeamAiMgrF9TUniqueId /* 80220FD4 0021DF34 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80220FD8 0021DF38 38 60 00 04 */ li r3, 4 /* 80220FDC 0021DF3C 41 82 00 08 */ beq lbl_80220FE4 /* 80220FE0 0021DF40 38 60 00 00 */ li r3, 0 lbl_80220FE4: /* 80220FE4 0021DF44 90 7F 05 68 */ stw r3, 0x568(r31) /* 80220FE8 0021DF48 48 00 01 A0 */ b lbl_80221188 lbl_80220FEC: /* 80220FEC 0021DF4C 38 00 00 00 */ li r0, 0 /* 80220FF0 0021DF50 90 1F 05 68 */ stw r0, 0x568(r31) /* 80220FF4 0021DF54 48 00 01 94 */ b lbl_80221188 lbl_80220FF8: /* 80220FF8 0021DF58 80 1F 05 68 */ lwz r0, 0x568(r31) /* 80220FFC 0021DF5C 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80221000 0021DF60 2C 00 00 03 */ cmpwi r0, 3 /* 80221004 0021DF64 C0 43 00 60 */ lfs f2, 0x60(r3) /* 80221008 0021DF68 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022100C 0021DF6C C0 03 00 40 */ lfs f0, 0x40(r3) /* 80221010 0021DF70 41 82 00 D8 */ beq lbl_802210E8 /* 80221014 0021DF74 40 80 01 74 */ bge lbl_80221188 /* 80221018 0021DF78 2C 00 00 00 */ cmpwi r0, 0 /* 8022101C 0021DF7C 41 82 00 08 */ beq lbl_80221024 /* 80221020 0021DF80 48 00 01 68 */ b lbl_80221188 lbl_80221024: /* 80221024 0021DF84 80 FF 04 50 */ lwz r7, 0x450(r31) /* 80221028 0021DF88 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 8022102C 0021DF8C 2C 00 00 12 */ cmpwi r0, 0x12 /* 80221030 0021DF90 40 82 00 20 */ bne lbl_80221050 /* 80221034 0021DF94 38 00 00 03 */ li r0, 3 /* 80221038 0021DF98 C0 22 B4 24 */ lfs f1, lbl_805AD144@sda21(r2) /* 8022103C 0021DF9C 90 1F 05 68 */ stw r0, 0x568(r31) /* 80221040 0021DFA0 C0 1F 08 D0 */ lfs f0, 0x8d0(r31) /* 80221044 0021DFA4 EC 01 00 32 */ fmuls f0, f1, f0 /* 80221048 0021DFA8 D0 1F 03 B4 */ stfs f0, 0x3b4(r31) /* 8022104C 0021DFAC 48 00 01 3C */ b lbl_80221188 lbl_80221050: /* 80221050 0021DFB0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 80221054 0021DFB4 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 80221058 0021DFB8 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 8022105C 0021DFBC 38 80 00 06 */ li r4, 6 /* 80221060 0021DFC0 90 01 00 38 */ stw r0, 0x38(r1) /* 80221064 0021DFC4 38 C3 A9 CC */ addi r6, r3, lbl_803DA9CC@l /* 80221068 0021DFC8 38 A0 00 01 */ li r5, 1 /* 8022106C 0021DFCC 38 00 00 00 */ li r0, 0 /* 80221070 0021DFD0 3B E7 00 04 */ addi r31, r7, 4 /* 80221074 0021DFD4 90 81 00 3C */ stw r4, 0x3c(r1) /* 80221078 0021DFD8 7F E3 FB 78 */ mr r3, r31 /* 8022107C 0021DFDC 38 80 00 06 */ li r4, 6 /* 80221080 0021DFE0 90 C1 00 38 */ stw r6, 0x38(r1) /* 80221084 0021DFE4 90 A1 00 40 */ stw r5, 0x40(r1) /* 80221088 0021DFE8 D0 01 00 44 */ stfs f0, 0x44(r1) /* 8022108C 0021DFEC D0 21 00 48 */ stfs f1, 0x48(r1) /* 80221090 0021DFF0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80221094 0021DFF4 98 01 00 50 */ stb r0, 0x50(r1) /* 80221098 0021DFF8 4B F1 03 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022109C 0021DFFC 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802210A0 0021E000 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 802210A4 0021E004 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 802210A8 0021E008 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 802210AC 0021E00C 90 1F 01 2C */ stw r0, 0x12c(r31) /* 802210B0 0021E010 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 802210B4 0021E014 80 61 00 40 */ lwz r3, 0x40(r1) /* 802210B8 0021E018 80 A1 00 44 */ lwz r5, 0x44(r1) /* 802210BC 0021E01C 90 7F 01 30 */ stw r3, 0x130(r31) /* 802210C0 0021E020 80 61 00 48 */ lwz r3, 0x48(r1) /* 802210C4 0021E024 90 BF 01 34 */ stw r5, 0x134(r31) /* 802210C8 0021E028 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 802210CC 0021E02C 90 7F 01 38 */ stw r3, 0x138(r31) /* 802210D0 0021E030 88 61 00 50 */ lbz r3, 0x50(r1) /* 802210D4 0021E034 90 BF 01 3C */ stw r5, 0x13c(r31) /* 802210D8 0021E038 90 81 00 38 */ stw r4, 0x38(r1) /* 802210DC 0021E03C 98 7F 01 40 */ stb r3, 0x140(r31) /* 802210E0 0021E040 90 01 00 38 */ stw r0, 0x38(r1) /* 802210E4 0021E044 48 00 00 A4 */ b lbl_80221188 lbl_802210E8: /* 802210E8 0021E048 80 7F 04 50 */ lwz r3, 0x450(r31) /* 802210EC 0021E04C 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 802210F0 0021E050 2C 00 00 12 */ cmpwi r0, 0x12 /* 802210F4 0021E054 41 82 00 94 */ beq lbl_80221188 /* 802210F8 0021E058 38 00 00 04 */ li r0, 4 /* 802210FC 0021E05C 90 1F 05 68 */ stw r0, 0x568(r31) /* 80221100 0021E060 48 00 00 88 */ b lbl_80221188 lbl_80221104: /* 80221104 0021E064 4B FF D2 3D */ bl sub_8021e340 /* 80221108 0021E068 88 1F 0A 48 */ lbz r0, 0xa48(r31) /* 8022110C 0021E06C 38 60 00 00 */ li r3, 0 /* 80221110 0021E070 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80221114 0021E074 98 1F 0A 48 */ stb r0, 0xa48(r31) /* 80221118 0021E078 C0 1F 08 D0 */ lfs f0, 0x8d0(r31) /* 8022111C 0021E07C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) /* 80221120 0021E080 80 9F 04 50 */ lwz r4, 0x450(r31) /* 80221124 0021E084 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 80221128 0021E088 2C 00 00 12 */ cmpwi r0, 0x12 /* 8022112C 0021E08C 40 82 00 30 */ bne lbl_8022115C /* 80221130 0021E090 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80221134 0021E094 38 00 00 0C */ li r0, 0xc /* 80221138 0021E098 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 8022113C 0021E09C 90 01 00 2C */ stw r0, 0x2c(r1) /* 80221140 0021E0A0 38 64 00 04 */ addi r3, r4, 4 /* 80221144 0021E0A4 38 81 00 28 */ addi r4, r1, 0x28 /* 80221148 0021E0A8 90 A1 00 28 */ stw r5, 0x28(r1) /* 8022114C 0021E0AC 4B F1 06 6D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 80221150 0021E0B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80221154 0021E0B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80221158 0021E0B8 90 01 00 28 */ stw r0, 0x28(r1) lbl_8022115C: /* 8022115C 0021E0BC A1 1F 00 08 */ lhz r8, 8(r31) /* 80221160 0021E0C0 7F C4 F3 78 */ mr r4, r30 /* 80221164 0021E0C4 38 A1 00 10 */ addi r5, r1, 0x10 /* 80221168 0021E0C8 38 C1 00 0C */ addi r6, r1, 0xc /* 8022116C 0021E0CC B1 01 00 0C */ sth r8, 0xc(r1) /* 80221170 0021E0D0 38 60 00 01 */ li r3, 1 /* 80221174 0021E0D4 38 E0 00 00 */ li r7, 0 /* 80221178 0021E0D8 A0 1F 06 E8 */ lhz r0, 0x6e8(r31) /* 8022117C 0021E0DC B1 01 00 08 */ sth r8, 8(r1) /* 80221180 0021E0E0 B0 01 00 10 */ sth r0, 0x10(r1) /* 80221184 0021E0E4 48 01 8D 4D */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb lbl_80221188: /* 80221188 0021E0E8 80 01 00 64 */ lwz r0, 0x64(r1) /* 8022118C 0021E0EC 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80221190 0021E0F0 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80221194 0021E0F4 7C 08 03 A6 */ mtlr r0 /* 80221198 0021E0F8 38 21 00 60 */ addi r1, r1, 0x60 /* 8022119C 0021E0FC 4E 80 00 20 */ blr .global Attack__9CBabygothFR13CStateManager9EStateMsgf Attack__9CBabygothFR13CStateManager9EStateMsgf: /* 802211A0 0021E100 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802211A4 0021E104 7C 08 02 A6 */ mflr r0 /* 802211A8 0021E108 90 01 00 44 */ stw r0, 0x44(r1) /* 802211AC 0021E10C DB E1 00 30 */ stfd f31, 0x30(r1) /* 802211B0 0021E110 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 802211B4 0021E114 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802211B8 0021E118 93 C1 00 28 */ stw r30, 0x28(r1) /* 802211BC 0021E11C 93 A1 00 24 */ stw r29, 0x24(r1) /* 802211C0 0021E120 7C BD 2B 78 */ mr r29, r5 /* 802211C4 0021E124 FF E0 08 90 */ fmr f31, f1 /* 802211C8 0021E128 2C 1D 00 01 */ cmpwi r29, 1 /* 802211CC 0021E12C 7C 7E 1B 78 */ mr r30, r3 /* 802211D0 0021E130 7C 9F 23 78 */ mr r31, r4 /* 802211D4 0021E134 41 82 00 F0 */ beq lbl_802212C4 /* 802211D8 0021E138 40 80 00 10 */ bge lbl_802211E8 /* 802211DC 0021E13C 2C 1D 00 00 */ cmpwi r29, 0 /* 802211E0 0021E140 40 80 00 14 */ bge lbl_802211F4 /* 802211E4 0021E144 48 00 01 B0 */ b lbl_80221394 lbl_802211E8: /* 802211E8 0021E148 2C 1D 00 03 */ cmpwi r29, 3 /* 802211EC 0021E14C 40 80 01 A8 */ bge lbl_80221394 /* 802211F0 0021E150 48 00 00 DC */ b lbl_802212CC lbl_802211F4: /* 802211F4 0021E154 38 C0 00 00 */ li r6, 0 /* 802211F8 0021E158 38 80 00 01 */ li r4, 1 /* 802211FC 0021E15C 90 DE 05 68 */ stw r6, 0x568(r30) /* 80221200 0021E160 7F E5 FB 78 */ mr r5, r31 /* 80221204 0021E164 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221208 0021E168 38 61 00 14 */ addi r3, r1, 0x14 /* 8022120C 0021E16C 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 80221210 0021E170 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 80221214 0021E174 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 80221218 0021E178 54 04 EF FE */ rlwinm r4, r0, 0x1d, 0x1f, 0x1f /* 8022121C 0021E17C 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 80221220 0021E180 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80221224 0021E184 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 80221228 0021E188 D0 3E 08 E8 */ stfs f1, 0x8e8(r30) /* 8022122C 0021E18C 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 80221230 0021E190 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 80221234 0021E194 98 1E 0A 49 */ stb r0, 0xa49(r30) /* 80221238 0021E198 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8022123C 0021E19C 81 84 00 00 */ lwz r12, 0(r4) /* 80221240 0021E1A0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80221244 0021E1A4 7D 89 03 A6 */ mtctr r12 /* 80221248 0021E1A8 4E 80 04 21 */ bctrl /* 8022124C 0021E1AC C0 01 00 14 */ lfs f0, 0x14(r1) /* 80221250 0021E1B0 7F C3 F3 78 */ mr r3, r30 /* 80221254 0021E1B4 38 80 00 00 */ li r4, 0 /* 80221258 0021E1B8 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) /* 8022125C 0021E1BC C0 01 00 18 */ lfs f0, 0x18(r1) /* 80221260 0021E1C0 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) /* 80221264 0021E1C4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80221268 0021E1C8 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) /* 8022126C 0021E1CC 4B FF CE 31 */ bl sub_8021e09c /* 80221270 0021E1D0 FC 20 F8 90 */ fmr f1, f31 /* 80221274 0021E1D4 7F C3 F3 78 */ mr r3, r30 /* 80221278 0021E1D8 7F E4 FB 78 */ mr r4, r31 /* 8022127C 0021E1DC 7F A5 EB 78 */ mr r5, r29 /* 80221280 0021E1E0 4B FD 54 4D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 80221284 0021E1E4 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80221288 0021E1E8 38 00 00 01 */ li r0, 1 /* 8022128C 0021E1EC C0 22 B4 18 */ lfs f1, lbl_805AD138@sda21(r2) /* 80221290 0021E1F0 D0 1E 08 DC */ stfs f0, 0x8dc(r30) /* 80221294 0021E1F4 FC 40 08 90 */ fmr f2, f1 /* 80221298 0021E1F8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022129C 0021E1FC 90 03 00 34 */ stw r0, 0x34(r3) /* 802212A0 0021E200 80 7E 04 50 */ lwz r3, 0x450(r30) /* 802212A4 0021E204 38 63 00 04 */ addi r3, r3, 4 /* 802212A8 0021E208 4B F1 05 41 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff /* 802212AC 0021E20C 3C 80 80 57 */ lis r4, lbl_80572128@ha /* 802212B0 0021E210 7F C3 F3 78 */ mr r3, r30 /* 802212B4 0021E214 38 A4 21 28 */ addi r5, r4, lbl_80572128@l /* 802212B8 0021E218 7F E4 FB 78 */ mr r4, r31 /* 802212BC 0021E21C 4B FF DC 65 */ bl sub_8021ef20 /* 802212C0 0021E220 48 00 00 D4 */ b lbl_80221394 lbl_802212C4: /* 802212C4 0021E224 4B FF C8 DD */ bl sub_8021dba0 /* 802212C8 0021E228 48 00 00 CC */ b lbl_80221394 lbl_802212CC: /* 802212CC 0021E22C 4B FF D0 75 */ bl sub_8021e340 /* 802212D0 0021E230 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 802212D4 0021E234 38 60 00 00 */ li r3, 0 /* 802212D8 0021E238 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802212DC 0021E23C C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 802212E0 0021E240 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 802212E4 0021E244 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f /* 802212E8 0021E248 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 802212EC 0021E24C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 802212F0 0021E250 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 802212F4 0021E254 C0 3E 06 D4 */ lfs f1, 0x6d4(r30) /* 802212F8 0021E258 D0 3E 08 E0 */ stfs f1, 0x8e0(r30) /* 802212FC 0021E25C D0 1E 08 DC */ stfs f0, 0x8dc(r30) /* 80221300 0021E260 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80221304 0021E264 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80221308 0021E268 4B F1 2B A5 */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 8022130C 0021E26C FF E0 08 90 */ fmr f31, f1 /* 80221310 0021E270 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80221314 0021E274 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 80221318 0021E278 40 81 00 1C */ ble lbl_80221334 /* 8022131C 0021E27C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80221320 0021E280 38 80 00 01 */ li r4, 1 /* 80221324 0021E284 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80221328 0021E288 4B F1 2A AD */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim /* 8022132C 0021E28C EC 41 F8 24 */ fdivs f2, f1, f31 /* 80221330 0021E290 48 00 00 08 */ b lbl_80221338 lbl_80221334: /* 80221334 0021E294 C0 42 B4 18 */ lfs f2, lbl_805AD138@sda21(r2) lbl_80221338: /* 80221338 0021E298 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022133C 0021E29C 38 00 00 02 */ li r0, 2 /* 80221340 0021E2A0 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221344 0021E2A4 90 03 00 34 */ stw r0, 0x34(r3) /* 80221348 0021E2A8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022134C 0021E2AC 38 63 00 04 */ addi r3, r3, 4 /* 80221350 0021E2B0 4B F1 04 99 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff /* 80221354 0021E2B4 3C 80 80 5A */ lis r4, skZero3f@ha /* 80221358 0021E2B8 7F C3 F3 78 */ mr r3, r30 /* 8022135C 0021E2BC 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 80221360 0021E2C0 7F E4 FB 78 */ mr r4, r31 /* 80221364 0021E2C4 4B FF DB BD */ bl sub_8021ef20 /* 80221368 0021E2C8 A1 1E 00 08 */ lhz r8, 8(r30) /* 8022136C 0021E2CC 7F E4 FB 78 */ mr r4, r31 /* 80221370 0021E2D0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80221374 0021E2D4 38 C1 00 0C */ addi r6, r1, 0xc /* 80221378 0021E2D8 B1 01 00 0C */ sth r8, 0xc(r1) /* 8022137C 0021E2DC 38 60 00 00 */ li r3, 0 /* 80221380 0021E2E0 38 E0 00 01 */ li r7, 1 /* 80221384 0021E2E4 A0 1E 06 E8 */ lhz r0, 0x6e8(r30) /* 80221388 0021E2E8 B1 01 00 08 */ sth r8, 8(r1) /* 8022138C 0021E2EC B0 01 00 10 */ sth r0, 0x10(r1) /* 80221390 0021E2F0 48 01 8B 41 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb lbl_80221394: /* 80221394 0021E2F4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80221398 0021E2F8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8022139C 0021E2FC CB E1 00 30 */ lfd f31, 0x30(r1) /* 802213A0 0021E300 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802213A4 0021E304 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802213A8 0021E308 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802213AC 0021E30C 7C 08 03 A6 */ mtlr r0 /* 802213B0 0021E310 38 21 00 40 */ addi r1, r1, 0x40 /* 802213B4 0021E314 4E 80 00 20 */ blr .global ProjectileAttack__9CBabygothFR13CStateManager9EStateMsgf ProjectileAttack__9CBabygothFR13CStateManager9EStateMsgf: /* 802213B8 0021E318 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802213BC 0021E31C 7C 08 02 A6 */ mflr r0 /* 802213C0 0021E320 2C 05 00 01 */ cmpwi r5, 1 /* 802213C4 0021E324 90 01 00 84 */ stw r0, 0x84(r1) /* 802213C8 0021E328 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802213CC 0021E32C 7C 9F 23 78 */ mr r31, r4 /* 802213D0 0021E330 93 C1 00 78 */ stw r30, 0x78(r1) /* 802213D4 0021E334 7C 7E 1B 78 */ mr r30, r3 /* 802213D8 0021E338 41 82 00 D0 */ beq lbl_802214A8 /* 802213DC 0021E33C 40 80 00 10 */ bge lbl_802213EC /* 802213E0 0021E340 2C 05 00 00 */ cmpwi r5, 0 /* 802213E4 0021E344 40 80 00 14 */ bge lbl_802213F8 /* 802213E8 0021E348 48 00 03 14 */ b lbl_802216FC lbl_802213EC: /* 802213EC 0021E34C 2C 05 00 03 */ cmpwi r5, 3 /* 802213F0 0021E350 40 80 03 0C */ bge lbl_802216FC /* 802213F4 0021E354 48 00 02 50 */ b lbl_80221644 lbl_802213F8: /* 802213F8 0021E358 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 802213FC 0021E35C 38 60 00 01 */ li r3, 1 /* 80221400 0021E360 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80221404 0021E364 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80221408 0021E368 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 8022140C 0021E36C 38 A0 00 00 */ li r5, 0 /* 80221410 0021E370 7F E3 FB 78 */ mr r3, r31 /* 80221414 0021E374 38 81 00 2C */ addi r4, r1, 0x2c /* 80221418 0021E378 D0 1E 08 E8 */ stfs f0, 0x8e8(r30) /* 8022141C 0021E37C 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 80221420 0021E380 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80221424 0021E384 98 1E 0A 49 */ stb r0, 0xa49(r30) /* 80221428 0021E388 A0 1E 06 E8 */ lhz r0, 0x6e8(r30) /* 8022142C 0021E38C B0 01 00 2C */ sth r0, 0x2c(r1) /* 80221430 0021E390 4B E2 B1 45 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80221434 0021E394 7C 64 1B 78 */ mr r4, r3 /* 80221438 0021E398 38 61 00 38 */ addi r3, r1, 0x38 /* 8022143C 0021E39C 4B E8 61 39 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 80221440 0021E3A0 83 E3 00 04 */ lwz r31, 4(r3) /* 80221444 0021E3A4 28 1F 00 00 */ cmplwi r31, 0 /* 80221448 0021E3A8 41 82 00 54 */ beq lbl_8022149C /* 8022144C 0021E3AC A0 1E 00 08 */ lhz r0, 8(r30) /* 80221450 0021E3B0 7F E3 FB 78 */ mr r3, r31 /* 80221454 0021E3B4 38 81 00 28 */ addi r4, r1, 0x28 /* 80221458 0021E3B8 B0 01 00 24 */ sth r0, 0x24(r1) /* 8022145C 0021E3BC B0 01 00 28 */ sth r0, 0x28(r1) /* 80221460 0021E3C0 48 01 7C A5 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 80221464 0021E3C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221468 0021E3C8 41 82 00 34 */ beq lbl_8022149C /* 8022146C 0021E3CC A0 1E 00 08 */ lhz r0, 8(r30) /* 80221470 0021E3D0 7F E3 FB 78 */ mr r3, r31 /* 80221474 0021E3D4 38 81 00 20 */ addi r4, r1, 0x20 /* 80221478 0021E3D8 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8022147C 0021E3DC B0 01 00 20 */ sth r0, 0x20(r1) /* 80221480 0021E3E0 48 01 71 45 */ bl AddProjectileAttacker__10CTeamAiMgrF9TUniqueId /* 80221484 0021E3E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221488 0021E3E8 38 60 00 04 */ li r3, 4 /* 8022148C 0021E3EC 41 82 00 08 */ beq lbl_80221494 /* 80221490 0021E3F0 38 60 00 00 */ li r3, 0 lbl_80221494: /* 80221494 0021E3F4 90 7E 05 68 */ stw r3, 0x568(r30) /* 80221498 0021E3F8 48 00 02 64 */ b lbl_802216FC lbl_8022149C: /* 8022149C 0021E3FC 38 00 00 00 */ li r0, 0 /* 802214A0 0021E400 90 1E 05 68 */ stw r0, 0x568(r30) /* 802214A4 0021E404 48 00 02 58 */ b lbl_802216FC lbl_802214A8: /* 802214A8 0021E408 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 802214AC 0021E40C 7F E5 FB 78 */ mr r5, r31 /* 802214B0 0021E410 38 61 00 40 */ addi r3, r1, 0x40 /* 802214B4 0021E414 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 802214B8 0021E418 81 84 00 00 */ lwz r12, 0(r4) /* 802214BC 0021E41C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802214C0 0021E420 7D 89 03 A6 */ mtctr r12 /* 802214C4 0021E424 4E 80 04 21 */ bctrl /* 802214C8 0021E428 C0 41 00 40 */ lfs f2, 0x40(r1) /* 802214CC 0021E42C C0 21 00 44 */ lfs f1, 0x44(r1) /* 802214D0 0021E430 C0 01 00 48 */ lfs f0, 0x48(r1) /* 802214D4 0021E434 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 802214D8 0021E438 D0 21 00 50 */ stfs f1, 0x50(r1) /* 802214DC 0021E43C D0 01 00 54 */ stfs f0, 0x54(r1) /* 802214E0 0021E440 80 1E 05 68 */ lwz r0, 0x568(r30) /* 802214E4 0021E444 2C 00 00 03 */ cmpwi r0, 3 /* 802214E8 0021E448 41 82 00 D8 */ beq lbl_802215C0 /* 802214EC 0021E44C 40 80 02 10 */ bge lbl_802216FC /* 802214F0 0021E450 2C 00 00 00 */ cmpwi r0, 0 /* 802214F4 0021E454 41 82 00 08 */ beq lbl_802214FC /* 802214F8 0021E458 48 00 02 04 */ b lbl_802216FC lbl_802214FC: /* 802214FC 0021E45C 80 FE 04 50 */ lwz r7, 0x450(r30) /* 80221500 0021E460 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 80221504 0021E464 2C 00 00 12 */ cmpwi r0, 0x12 /* 80221508 0021E468 40 82 00 20 */ bne lbl_80221528 /* 8022150C 0021E46C 38 00 00 03 */ li r0, 3 /* 80221510 0021E470 C0 22 B4 24 */ lfs f1, lbl_805AD144@sda21(r2) /* 80221514 0021E474 90 1E 05 68 */ stw r0, 0x568(r30) /* 80221518 0021E478 C0 1E 08 D0 */ lfs f0, 0x8d0(r30) /* 8022151C 0021E47C EC 01 00 32 */ fmuls f0, f1, f0 /* 80221520 0021E480 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 80221524 0021E484 48 00 01 D8 */ b lbl_802216FC lbl_80221528: /* 80221528 0021E488 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 8022152C 0021E48C 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 80221530 0021E490 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 80221534 0021E494 38 80 00 06 */ li r4, 6 /* 80221538 0021E498 90 01 00 58 */ stw r0, 0x58(r1) /* 8022153C 0021E49C 38 C3 A9 CC */ addi r6, r3, lbl_803DA9CC@l /* 80221540 0021E4A0 38 A0 00 02 */ li r5, 2 /* 80221544 0021E4A4 38 00 00 00 */ li r0, 0 /* 80221548 0021E4A8 3B C7 00 04 */ addi r30, r7, 4 /* 8022154C 0021E4AC 90 81 00 5C */ stw r4, 0x5c(r1) /* 80221550 0021E4B0 7F C3 F3 78 */ mr r3, r30 /* 80221554 0021E4B4 38 80 00 06 */ li r4, 6 /* 80221558 0021E4B8 90 C1 00 58 */ stw r6, 0x58(r1) /* 8022155C 0021E4BC 90 A1 00 60 */ stw r5, 0x60(r1) /* 80221560 0021E4C0 D0 41 00 64 */ stfs f2, 0x64(r1) /* 80221564 0021E4C4 D0 21 00 68 */ stfs f1, 0x68(r1) /* 80221568 0021E4C8 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8022156C 0021E4CC 98 01 00 70 */ stb r0, 0x70(r1) /* 80221570 0021E4D0 4B F0 FE C9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80221574 0021E4D4 80 01 00 5C */ lwz r0, 0x5c(r1) /* 80221578 0021E4D8 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 8022157C 0021E4DC 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 80221580 0021E4E0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80221584 0021E4E4 90 1E 01 2C */ stw r0, 0x12c(r30) /* 80221588 0021E4E8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022158C 0021E4EC 80 61 00 60 */ lwz r3, 0x60(r1) /* 80221590 0021E4F0 80 A1 00 64 */ lwz r5, 0x64(r1) /* 80221594 0021E4F4 90 7E 01 30 */ stw r3, 0x130(r30) /* 80221598 0021E4F8 80 61 00 68 */ lwz r3, 0x68(r1) /* 8022159C 0021E4FC 90 BE 01 34 */ stw r5, 0x134(r30) /* 802215A0 0021E500 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 802215A4 0021E504 90 7E 01 38 */ stw r3, 0x138(r30) /* 802215A8 0021E508 88 61 00 70 */ lbz r3, 0x70(r1) /* 802215AC 0021E50C 90 BE 01 3C */ stw r5, 0x13c(r30) /* 802215B0 0021E510 90 81 00 58 */ stw r4, 0x58(r1) /* 802215B4 0021E514 98 7E 01 40 */ stb r3, 0x140(r30) /* 802215B8 0021E518 90 01 00 58 */ stw r0, 0x58(r1) /* 802215BC 0021E51C 48 00 01 40 */ b lbl_802216FC lbl_802215C0: /* 802215C0 0021E520 80 7E 04 50 */ lwz r3, 0x450(r30) /* 802215C4 0021E524 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 802215C8 0021E528 2C 00 00 12 */ cmpwi r0, 0x12 /* 802215CC 0021E52C 41 82 00 10 */ beq lbl_802215DC /* 802215D0 0021E530 38 00 00 04 */ li r0, 4 /* 802215D4 0021E534 90 1E 05 68 */ stw r0, 0x568(r30) /* 802215D8 0021E538 48 00 01 24 */ b lbl_802216FC lbl_802215DC: /* 802215DC 0021E53C A0 1E 09 80 */ lhz r0, 0x980(r30) /* 802215E0 0021E540 7F E3 FB 78 */ mr r3, r31 /* 802215E4 0021E544 38 81 00 18 */ addi r4, r1, 0x18 /* 802215E8 0021E548 B0 01 00 18 */ sth r0, 0x18(r1) /* 802215EC 0021E54C 4B E2 AF 89 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802215F0 0021E550 28 03 00 00 */ cmplwi r3, 0 /* 802215F4 0021E554 40 82 01 08 */ bne lbl_802216FC /* 802215F8 0021E558 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 802215FC 0021E55C 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 80221600 0021E560 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80221604 0021E564 C0 81 00 50 */ lfs f4, 0x50(r1) /* 80221608 0021E568 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 8022160C 0021E56C EC 01 00 28 */ fsubs f0, f1, f0 /* 80221610 0021E570 C0 41 00 54 */ lfs f2, 0x54(r1) /* 80221614 0021E574 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 80221618 0021E578 EC 64 18 28 */ fsubs f3, f4, f3 /* 8022161C 0021E57C 80 9E 04 50 */ lwz r4, 0x450(r30) /* 80221620 0021E580 EC 22 08 28 */ fsubs f1, f2, f1 /* 80221624 0021E584 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 80221628 0021E588 D0 64 00 20 */ stfs f3, 0x20(r4) /* 8022162C 0021E58C D0 24 00 24 */ stfs f1, 0x24(r4) /* 80221630 0021E590 4B F5 3B DD */ bl UnsetTarget__13CBoneTrackingFv /* 80221634 0021E594 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 80221638 0021E598 38 81 00 4C */ addi r4, r1, 0x4c /* 8022163C 0021E59C 4B F5 3B 7D */ bl SetTargetPosition__13CBoneTrackingFRC9CVector3f /* 80221640 0021E5A0 48 00 00 BC */ b lbl_802216FC lbl_80221644: /* 80221644 0021E5A4 4B FF CC FD */ bl sub_8021e340 /* 80221648 0021E5A8 A0 1E 09 80 */ lhz r0, 0x980(r30) /* 8022164C 0021E5AC 7F E3 FB 78 */ mr r3, r31 /* 80221650 0021E5B0 38 81 00 14 */ addi r4, r1, 0x14 /* 80221654 0021E5B4 B0 01 00 14 */ sth r0, 0x14(r1) /* 80221658 0021E5B8 4B E2 AF 1D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022165C 0021E5BC 28 03 00 00 */ cmplwi r3, 0 /* 80221660 0021E5C0 41 82 00 10 */ beq lbl_80221670 /* 80221664 0021E5C4 7F E4 FB 78 */ mr r4, r31 /* 80221668 0021E5C8 38 A0 00 00 */ li r5, 0 /* 8022166C 0021E5CC 4B F7 6B 55 */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_80221670: /* 80221670 0021E5D0 88 1E 0A 48 */ lbz r0, 0xa48(r30) /* 80221674 0021E5D4 38 60 00 00 */ li r3, 0 /* 80221678 0021E5D8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8022167C 0021E5DC 98 1E 0A 48 */ stb r0, 0xa48(r30) /* 80221680 0021E5E0 80 9E 04 50 */ lwz r4, 0x450(r30) /* 80221684 0021E5E4 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 80221688 0021E5E8 2C 00 00 12 */ cmpwi r0, 0x12 /* 8022168C 0021E5EC 40 82 00 30 */ bne lbl_802216BC /* 80221690 0021E5F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80221694 0021E5F4 38 00 00 0C */ li r0, 0xc /* 80221698 0021E5F8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 8022169C 0021E5FC 90 01 00 34 */ stw r0, 0x34(r1) /* 802216A0 0021E600 38 64 00 04 */ addi r3, r4, 4 /* 802216A4 0021E604 38 81 00 30 */ addi r4, r1, 0x30 /* 802216A8 0021E608 90 A1 00 30 */ stw r5, 0x30(r1) /* 802216AC 0021E60C 4B F1 01 0D */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 802216B0 0021E610 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 802216B4 0021E614 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 802216B8 0021E618 90 01 00 30 */ stw r0, 0x30(r1) lbl_802216BC: /* 802216BC 0021E61C 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 802216C0 0021E620 38 80 00 00 */ li r4, 0 /* 802216C4 0021E624 4B F5 3B 61 */ bl SetActive__13CBoneTrackingFb /* 802216C8 0021E628 C0 1E 08 D0 */ lfs f0, 0x8d0(r30) /* 802216CC 0021E62C 7F E4 FB 78 */ mr r4, r31 /* 802216D0 0021E630 38 A1 00 10 */ addi r5, r1, 0x10 /* 802216D4 0021E634 38 C1 00 0C */ addi r6, r1, 0xc /* 802216D8 0021E638 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 802216DC 0021E63C 38 60 00 01 */ li r3, 1 /* 802216E0 0021E640 38 E0 00 00 */ li r7, 0 /* 802216E4 0021E644 A1 1E 00 08 */ lhz r8, 8(r30) /* 802216E8 0021E648 B1 01 00 0C */ sth r8, 0xc(r1) /* 802216EC 0021E64C A0 1E 06 E8 */ lhz r0, 0x6e8(r30) /* 802216F0 0021E650 B1 01 00 08 */ sth r8, 8(r1) /* 802216F4 0021E654 B0 01 00 10 */ sth r0, 0x10(r1) /* 802216F8 0021E658 48 01 87 D9 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb lbl_802216FC: /* 802216FC 0021E65C 80 01 00 84 */ lwz r0, 0x84(r1) /* 80221700 0021E660 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80221704 0021E664 83 C1 00 78 */ lwz r30, 0x78(r1) /* 80221708 0021E668 7C 08 03 A6 */ mtlr r0 /* 8022170C 0021E66C 38 21 00 80 */ addi r1, r1, 0x80 /* 80221710 0021E670 4E 80 00 20 */ blr .global sub_80221714 sub_80221714: /* 80221714 0021E674 80 03 05 68 */ lwz r0, 0x568(r3) /* 80221718 0021E678 20 00 00 04 */ subfic r0, r0, 4 /* 8022171C 0021E67C 7C 00 00 34 */ cntlzw r0, r0 /* 80221720 0021E680 54 03 D9 7E */ srwi r3, r0, 5 /* 80221724 0021E684 4E 80 00 20 */ blr .global SpotPlayer__9CBabygothFR13CStateManagerf SpotPlayer__9CBabygothFR13CStateManagerf: /* 80221728 0021E688 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022172C 0021E68C 7C 08 02 A6 */ mflr r0 /* 80221730 0021E690 90 01 00 14 */ stw r0, 0x14(r1) /* 80221734 0021E694 88 03 0A 48 */ lbz r0, 0xa48(r3) /* 80221738 0021E698 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8022173C 0021E69C 41 82 00 08 */ beq lbl_80221744 /* 80221740 0021E6A0 48 00 00 0C */ b lbl_8022174C lbl_80221744: /* 80221744 0021E6A4 4B FD 4A B9 */ bl SpotPlayer__10CPatternedFR13CStateManagerf /* 80221748 0021E6A8 7C 60 1B 78 */ mr r0, r3 lbl_8022174C: /* 8022174C 0021E6AC 7C 03 03 78 */ mr r3, r0 /* 80221750 0021E6B0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80221754 0021E6B4 7C 08 03 A6 */ mtlr r0 /* 80221758 0021E6B8 38 21 00 10 */ addi r1, r1, 0x10 /* 8022175C 0021E6BC 4E 80 00 20 */ blr .global InDetectionRange__9CBabygothFR13CStateManagerf InDetectionRange__9CBabygothFR13CStateManagerf: /* 80221760 0021E6C0 88 03 0A 48 */ lbz r0, 0xa48(r3) /* 80221764 0021E6C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80221768 0021E6C8 40 82 00 90 */ bne lbl_802217F8 /* 8022176C 0021E6CC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80221770 0021E6D0 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80221774 0021E6D4 C0 A4 00 40 */ lfs f5, 0x40(r4) /* 80221778 0021E6D8 C0 43 00 40 */ lfs f2, 0x40(r3) /* 8022177C 0021E6DC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221780 0021E6E0 C0 84 00 50 */ lfs f4, 0x50(r4) /* 80221784 0021E6E4 C0 63 00 50 */ lfs f3, 0x50(r3) /* 80221788 0021E6E8 EC A5 10 28 */ fsubs f5, f5, f2 /* 8022178C 0021E6EC C0 44 00 60 */ lfs f2, 0x60(r4) /* 80221790 0021E6F0 C0 03 00 60 */ lfs f0, 0x60(r3) /* 80221794 0021E6F4 EC 84 18 28 */ fsubs f4, f4, f3 /* 80221798 0021E6F8 EC 62 00 28 */ fsubs f3, f2, f0 /* 8022179C 0021E6FC 40 81 00 08 */ ble lbl_802217A4 /* 802217A0 0021E700 48 00 00 08 */ b lbl_802217A8 lbl_802217A4: /* 802217A4 0021E704 C0 22 B4 18 */ lfs f1, lbl_805AD138@sda21(r2) lbl_802217A8: /* 802217A8 0021E708 EC 04 01 32 */ fmuls f0, f4, f4 /* 802217AC 0021E70C C0 43 03 BC */ lfs f2, 0x3bc(r3) /* 802217B0 0021E710 EC 63 00 F2 */ fmuls f3, f3, f3 /* 802217B4 0021E714 EC 41 00 B2 */ fmuls f2, f1, f2 /* 802217B8 0021E718 EC 25 01 7A */ fmadds f1, f5, f5, f0 /* 802217BC 0021E71C EC 02 00 B2 */ fmuls f0, f2, f2 /* 802217C0 0021E720 EC 23 08 2A */ fadds f1, f3, f1 /* 802217C4 0021E724 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802217C8 0021E728 40 80 00 30 */ bge lbl_802217F8 /* 802217CC 0021E72C C0 23 03 C0 */ lfs f1, 0x3c0(r3) /* 802217D0 0021E730 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 802217D4 0021E734 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802217D8 0021E738 40 81 00 18 */ ble lbl_802217F0 /* 802217DC 0021E73C EC 01 00 72 */ fmuls f0, f1, f1 /* 802217E0 0021E740 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 802217E4 0021E744 7C 00 00 26 */ mfcr r0 /* 802217E8 0021E748 54 03 0F FE */ srwi r3, r0, 0x1f /* 802217EC 0021E74C 4E 80 00 20 */ blr lbl_802217F0: /* 802217F0 0021E750 38 60 00 01 */ li r3, 1 /* 802217F4 0021E754 4E 80 00 20 */ blr lbl_802217F8: /* 802217F8 0021E758 7C 03 03 78 */ mr r3, r0 /* 802217FC 0021E75C 4E 80 00 20 */ blr .global InPosition__9CBabygothFR13CStateManagerf InPosition__9CBabygothFR13CStateManagerf: /* 80221800 0021E760 C0 23 08 BC */ lfs f1, 0x8bc(r3) /* 80221804 0021E764 C0 03 00 50 */ lfs f0, 0x50(r3) /* 80221808 0021E768 C0 63 08 B8 */ lfs f3, 0x8b8(r3) /* 8022180C 0021E76C EC 21 00 28 */ fsubs f1, f1, f0 /* 80221810 0021E770 C0 03 00 40 */ lfs f0, 0x40(r3) /* 80221814 0021E774 C0 43 08 C0 */ lfs f2, 0x8c0(r3) /* 80221818 0021E778 EC 63 00 28 */ fsubs f3, f3, f0 /* 8022181C 0021E77C C0 03 00 60 */ lfs f0, 0x60(r3) /* 80221820 0021E780 EC 21 00 72 */ fmuls f1, f1, f1 /* 80221824 0021E784 EC 42 00 28 */ fsubs f2, f2, f0 /* 80221828 0021E788 C0 02 B4 44 */ lfs f0, lbl_805AD164@sda21(r2) /* 8022182C 0021E78C EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 80221830 0021E790 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 80221834 0021E794 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221838 0021E798 7C 00 00 26 */ mfcr r0 /* 8022183C 0021E79C 54 03 0F FE */ srwi r3, r0, 0x1f /* 80221840 0021E7A0 4E 80 00 20 */ blr .global ShouldTurn__9CBabygothFR13CStateManagerf ShouldTurn__9CBabygothFR13CStateManagerf: /* 80221844 0021E7A4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80221848 0021E7A8 7C 08 02 A6 */ mflr r0 /* 8022184C 0021E7AC 90 01 00 74 */ stw r0, 0x74(r1) /* 80221850 0021E7B0 DB E1 00 60 */ stfd f31, 0x60(r1) /* 80221854 0021E7B4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 80221858 0021E7B8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8022185C 0021E7BC C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80221860 0021E7C0 7C 7F 1B 78 */ mr r31, r3 /* 80221864 0021E7C4 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 80221868 0021E7C8 40 82 00 0C */ bne lbl_80221874 /* 8022186C 0021E7CC C3 E2 B4 48 */ lfs f31, lbl_805AD168@sda21(r2) /* 80221870 0021E7D0 48 00 00 08 */ b lbl_80221878 lbl_80221874: /* 80221874 0021E7D4 FF E0 08 90 */ fmr f31, f1 lbl_80221878: /* 80221878 0021E7D8 80 DF 00 64 */ lwz r6, 0x64(r31) /* 8022187C 0021E7DC 7C 85 23 78 */ mr r5, r4 /* 80221880 0021E7E0 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221884 0021E7E4 38 61 00 40 */ addi r3, r1, 0x40 /* 80221888 0021E7E8 80 C6 00 10 */ lwz r6, 0x10(r6) /* 8022188C 0021E7EC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80221890 0021E7F0 C0 46 02 00 */ lfs f2, 0x200(r6) /* 80221894 0021E7F4 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 80221898 0021E7F8 40 81 00 0C */ ble lbl_802218A4 /* 8022189C 0021E7FC C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 802218A0 0021E800 EC 20 10 24 */ fdivs f1, f0, f2 lbl_802218A4: /* 802218A4 0021E804 81 84 00 00 */ lwz r12, 0(r4) /* 802218A8 0021E808 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802218AC 0021E80C 7D 89 03 A6 */ mtctr r12 /* 802218B0 0021E810 4E 80 04 21 */ bctrl /* 802218B4 0021E814 C0 41 00 44 */ lfs f2, 0x44(r1) /* 802218B8 0021E818 38 61 00 10 */ addi r3, r1, 0x10 /* 802218BC 0021E81C C0 1F 00 50 */ lfs f0, 0x50(r31) /* 802218C0 0021E820 C0 21 00 40 */ lfs f1, 0x40(r1) /* 802218C4 0021E824 EC 42 00 28 */ fsubs f2, f2, f0 /* 802218C8 0021E828 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 802218CC 0021E82C C0 61 00 48 */ lfs f3, 0x48(r1) /* 802218D0 0021E830 EC 21 00 28 */ fsubs f1, f1, f0 /* 802218D4 0021E834 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 802218D8 0021E838 D0 41 00 38 */ stfs f2, 0x38(r1) /* 802218DC 0021E83C EC 03 00 28 */ fsubs f0, f3, f0 /* 802218E0 0021E840 D0 21 00 34 */ stfs f1, 0x34(r1) /* 802218E4 0021E844 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802218E8 0021E848 48 0F 29 19 */ bl __ct__9CVector2fFff /* 802218EC 0021E84C C0 21 00 10 */ lfs f1, 0x10(r1) /* 802218F0 0021E850 38 61 00 08 */ addi r3, r1, 8 /* 802218F4 0021E854 C0 01 00 14 */ lfs f0, 0x14(r1) /* 802218F8 0021E858 D0 21 00 20 */ stfs f1, 0x20(r1) /* 802218FC 0021E85C D0 01 00 24 */ stfs f0, 0x24(r1) /* 80221900 0021E860 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 80221904 0021E864 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80221908 0021E868 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 8022190C 0021E86C D0 21 00 28 */ stfs f1, 0x28(r1) /* 80221910 0021E870 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 80221914 0021E874 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80221918 0021E878 48 0F 28 E9 */ bl __ct__9CVector2fFff /* 8022191C 0021E87C C0 21 00 08 */ lfs f1, 8(r1) /* 80221920 0021E880 38 61 00 18 */ addi r3, r1, 0x18 /* 80221924 0021E884 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80221928 0021E888 38 81 00 20 */ addi r4, r1, 0x20 /* 8022192C 0021E88C D0 21 00 18 */ stfs f1, 0x18(r1) /* 80221930 0021E890 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80221934 0021E894 48 0F 26 91 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 80221938 0021E898 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 8022193C 0021E89C 7C 00 00 26 */ mfcr r0 /* 80221940 0021E8A0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 80221944 0021E8A4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 80221948 0021E8A8 80 01 00 74 */ lwz r0, 0x74(r1) /* 8022194C 0021E8AC CB E1 00 60 */ lfd f31, 0x60(r1) /* 80221950 0021E8B0 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80221954 0021E8B4 7C 08 03 A6 */ mtlr r0 /* 80221958 0021E8B8 38 21 00 70 */ addi r1, r1, 0x70 /* 8022195C 0021E8BC 4E 80 00 20 */ blr .global ShouldFire__9CBabygothFR13CStateManagerf ShouldFire__9CBabygothFR13CStateManagerf: /* 80221960 0021E8C0 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80221964 0021E8C4 7C 08 02 A6 */ mflr r0 /* 80221968 0021E8C8 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8022196C 0021E8CC 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80221970 0021E8D0 7C 9F 23 78 */ mr r31, r4 /* 80221974 0021E8D4 93 C1 00 98 */ stw r30, 0x98(r1) /* 80221978 0021E8D8 7C 7E 1B 78 */ mr r30, r3 /* 8022197C 0021E8DC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80221980 0021E8E0 80 63 00 04 */ lwz r3, 4(r3) /* 80221984 0021E8E4 80 04 00 04 */ lwz r0, 4(r4) /* 80221988 0021E8E8 7C 03 00 00 */ cmpw r3, r0 /* 8022198C 0021E8EC 40 82 00 FC */ bne lbl_80221A88 /* 80221990 0021E8F0 C0 1E 08 D8 */ lfs f0, 0x8d8(r30) /* 80221994 0021E8F4 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221998 0021E8F8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022199C 0021E8FC 4C 40 13 82 */ cror 2, 0, 2 /* 802219A0 0021E900 40 82 00 E8 */ bne lbl_80221A88 /* 802219A4 0021E904 81 84 00 00 */ lwz r12, 0(r4) /* 802219A8 0021E908 7F E5 FB 78 */ mr r5, r31 /* 802219AC 0021E90C 38 61 00 08 */ addi r3, r1, 8 /* 802219B0 0021E910 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802219B4 0021E914 7D 89 03 A6 */ mtctr r12 /* 802219B8 0021E918 4E 80 04 21 */ bctrl /* 802219BC 0021E91C C0 41 00 08 */ lfs f2, 8(r1) /* 802219C0 0021E920 7F C4 F3 78 */ mr r4, r30 /* 802219C4 0021E924 C0 21 00 0C */ lfs f1, 0xc(r1) /* 802219C8 0021E928 38 61 00 2C */ addi r3, r1, 0x2c /* 802219CC 0021E92C C0 01 00 10 */ lfs f0, 0x10(r1) /* 802219D0 0021E930 38 BE 09 F4 */ addi r5, r30, 0x9f4 /* 802219D4 0021E934 D0 41 00 20 */ stfs f2, 0x20(r1) /* 802219D8 0021E938 D0 21 00 24 */ stfs f1, 0x24(r1) /* 802219DC 0021E93C D0 01 00 28 */ stfs f0, 0x28(r1) /* 802219E0 0021E940 4B E5 6E D9 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 802219E4 0021E944 38 61 00 5C */ addi r3, r1, 0x5c /* 802219E8 0021E948 38 81 00 2C */ addi r4, r1, 0x2c /* 802219EC 0021E94C 48 0F 11 89 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802219F0 0021E950 C0 41 00 78 */ lfs f2, 0x78(r1) /* 802219F4 0021E954 C0 01 00 24 */ lfs f0, 0x24(r1) /* 802219F8 0021E958 C0 61 00 68 */ lfs f3, 0x68(r1) /* 802219FC 0021E95C EC 80 10 28 */ fsubs f4, f0, f2 /* 80221A00 0021E960 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80221A04 0021E964 C0 C1 00 88 */ lfs f6, 0x88(r1) /* 80221A08 0021E968 EC A0 18 28 */ fsubs f5, f0, f3 /* 80221A0C 0021E96C C0 21 00 28 */ lfs f1, 0x28(r1) /* 80221A10 0021E970 EC 04 01 32 */ fmuls f0, f4, f4 /* 80221A14 0021E974 D0 61 00 14 */ stfs f3, 0x14(r1) /* 80221A18 0021E978 EC 21 30 28 */ fsubs f1, f1, f6 /* 80221A1C 0021E97C EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 80221A20 0021E980 D0 41 00 18 */ stfs f2, 0x18(r1) /* 80221A24 0021E984 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 80221A28 0021E988 EC 21 00 7A */ fmadds f1, f1, f1, f0 /* 80221A2C 0021E98C C0 1E 03 00 */ lfs f0, 0x300(r30) /* 80221A30 0021E990 EC 00 00 32 */ fmuls f0, f0, f0 /* 80221A34 0021E994 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221A38 0021E998 4C 40 13 82 */ cror 2, 0, 2 /* 80221A3C 0021E99C 40 82 00 4C */ bne lbl_80221A88 /* 80221A40 0021E9A0 7F C3 F3 78 */ mr r3, r30 /* 80221A44 0021E9A4 7F E4 FB 78 */ mr r4, r31 /* 80221A48 0021E9A8 81 9E 00 00 */ lwz r12, 0(r30) /* 80221A4C 0021E9AC C0 22 B4 4C */ lfs f1, lbl_805AD16C@sda21(r2) /* 80221A50 0021E9B0 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 80221A54 0021E9B4 7D 89 03 A6 */ mtctr r12 /* 80221A58 0021E9B8 4E 80 04 21 */ bctrl /* 80221A5C 0021E9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221A60 0021E9C0 40 82 00 28 */ bne lbl_80221A88 /* 80221A64 0021E9C4 7F C3 F3 78 */ mr r3, r30 /* 80221A68 0021E9C8 7F E4 FB 78 */ mr r4, r31 /* 80221A6C 0021E9CC 38 A1 00 14 */ addi r5, r1, 0x14 /* 80221A70 0021E9D0 38 C1 00 20 */ addi r6, r1, 0x20 /* 80221A74 0021E9D4 4B FD 33 5D */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 80221A78 0021E9D8 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 80221A7C 0021E9DC 7C 00 00 34 */ cntlzw r0, r0 /* 80221A80 0021E9E0 54 03 D9 7E */ srwi r3, r0, 5 /* 80221A84 0021E9E4 48 00 00 08 */ b lbl_80221A8C lbl_80221A88: /* 80221A88 0021E9E8 38 60 00 00 */ li r3, 0 lbl_80221A8C: /* 80221A8C 0021E9EC 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80221A90 0021E9F0 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 80221A94 0021E9F4 83 C1 00 98 */ lwz r30, 0x98(r1) /* 80221A98 0021E9F8 7C 08 03 A6 */ mtlr r0 /* 80221A9C 0021E9FC 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80221AA0 0021EA00 4E 80 00 20 */ blr .global ShouldSpecialAttack__9CBabygothFR13CStateManagerf ShouldSpecialAttack__9CBabygothFR13CStateManagerf: /* 80221AA4 0021EA04 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80221AA8 0021EA08 7C 08 02 A6 */ mflr r0 /* 80221AAC 0021EA0C 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80221AB0 0021EA10 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80221AB4 0021EA14 7C 9F 23 78 */ mr r31, r4 /* 80221AB8 0021EA18 93 C1 00 98 */ stw r30, 0x98(r1) /* 80221ABC 0021EA1C 7C 7E 1B 78 */ mr r30, r3 /* 80221AC0 0021EA20 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80221AC4 0021EA24 80 63 00 04 */ lwz r3, 4(r3) /* 80221AC8 0021EA28 80 04 00 04 */ lwz r0, 4(r4) /* 80221ACC 0021EA2C 7C 03 00 00 */ cmpw r3, r0 /* 80221AD0 0021EA30 40 82 00 FC */ bne lbl_80221BCC /* 80221AD4 0021EA34 C0 1E 08 E4 */ lfs f0, 0x8e4(r30) /* 80221AD8 0021EA38 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221ADC 0021EA3C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80221AE0 0021EA40 4C 40 13 82 */ cror 2, 0, 2 /* 80221AE4 0021EA44 40 82 00 E8 */ bne lbl_80221BCC /* 80221AE8 0021EA48 81 84 00 00 */ lwz r12, 0(r4) /* 80221AEC 0021EA4C 7F E5 FB 78 */ mr r5, r31 /* 80221AF0 0021EA50 38 61 00 08 */ addi r3, r1, 8 /* 80221AF4 0021EA54 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80221AF8 0021EA58 7D 89 03 A6 */ mtctr r12 /* 80221AFC 0021EA5C 4E 80 04 21 */ bctrl /* 80221B00 0021EA60 C0 41 00 08 */ lfs f2, 8(r1) /* 80221B04 0021EA64 7F C4 F3 78 */ mr r4, r30 /* 80221B08 0021EA68 C0 21 00 0C */ lfs f1, 0xc(r1) /* 80221B0C 0021EA6C 38 61 00 2C */ addi r3, r1, 0x2c /* 80221B10 0021EA70 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80221B14 0021EA74 38 BE 09 F4 */ addi r5, r30, 0x9f4 /* 80221B18 0021EA78 D0 41 00 20 */ stfs f2, 0x20(r1) /* 80221B1C 0021EA7C D0 21 00 24 */ stfs f1, 0x24(r1) /* 80221B20 0021EA80 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80221B24 0021EA84 4B E5 6D 95 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 80221B28 0021EA88 38 61 00 5C */ addi r3, r1, 0x5c /* 80221B2C 0021EA8C 38 81 00 2C */ addi r4, r1, 0x2c /* 80221B30 0021EA90 48 0F 10 45 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80221B34 0021EA94 C0 41 00 78 */ lfs f2, 0x78(r1) /* 80221B38 0021EA98 C0 01 00 24 */ lfs f0, 0x24(r1) /* 80221B3C 0021EA9C C0 61 00 68 */ lfs f3, 0x68(r1) /* 80221B40 0021EAA0 EC 80 10 28 */ fsubs f4, f0, f2 /* 80221B44 0021EAA4 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80221B48 0021EAA8 C0 C1 00 88 */ lfs f6, 0x88(r1) /* 80221B4C 0021EAAC EC A0 18 28 */ fsubs f5, f0, f3 /* 80221B50 0021EAB0 C0 21 00 28 */ lfs f1, 0x28(r1) /* 80221B54 0021EAB4 EC 04 01 32 */ fmuls f0, f4, f4 /* 80221B58 0021EAB8 D0 61 00 14 */ stfs f3, 0x14(r1) /* 80221B5C 0021EABC EC 21 30 28 */ fsubs f1, f1, f6 /* 80221B60 0021EAC0 EC 05 01 7A */ fmadds f0, f5, f5, f0 /* 80221B64 0021EAC4 D0 41 00 18 */ stfs f2, 0x18(r1) /* 80221B68 0021EAC8 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 80221B6C 0021EACC EC 21 00 7A */ fmadds f1, f1, f1, f0 /* 80221B70 0021EAD0 C0 1E 03 00 */ lfs f0, 0x300(r30) /* 80221B74 0021EAD4 EC 00 00 32 */ fmuls f0, f0, f0 /* 80221B78 0021EAD8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221B7C 0021EADC 4C 41 13 82 */ cror 2, 1, 2 /* 80221B80 0021EAE0 40 82 00 4C */ bne lbl_80221BCC /* 80221B84 0021EAE4 7F C3 F3 78 */ mr r3, r30 /* 80221B88 0021EAE8 7F E4 FB 78 */ mr r4, r31 /* 80221B8C 0021EAEC 81 9E 00 00 */ lwz r12, 0(r30) /* 80221B90 0021EAF0 C0 22 B4 3C */ lfs f1, lbl_805AD15C@sda21(r2) /* 80221B94 0021EAF4 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 80221B98 0021EAF8 7D 89 03 A6 */ mtctr r12 /* 80221B9C 0021EAFC 4E 80 04 21 */ bctrl /* 80221BA0 0021EB00 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221BA4 0021EB04 40 82 00 28 */ bne lbl_80221BCC /* 80221BA8 0021EB08 7F C3 F3 78 */ mr r3, r30 /* 80221BAC 0021EB0C 7F E4 FB 78 */ mr r4, r31 /* 80221BB0 0021EB10 38 A1 00 14 */ addi r5, r1, 0x14 /* 80221BB4 0021EB14 38 C1 00 20 */ addi r6, r1, 0x20 /* 80221BB8 0021EB18 4B FD 32 19 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 80221BBC 0021EB1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221BC0 0021EB20 40 82 00 0C */ bne lbl_80221BCC /* 80221BC4 0021EB24 38 60 00 01 */ li r3, 1 /* 80221BC8 0021EB28 48 00 00 08 */ b lbl_80221BD0 lbl_80221BCC: /* 80221BCC 0021EB2C 38 60 00 00 */ li r3, 0 lbl_80221BD0: /* 80221BD0 0021EB30 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80221BD4 0021EB34 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 80221BD8 0021EB38 83 C1 00 98 */ lwz r30, 0x98(r1) /* 80221BDC 0021EB3C 7C 08 03 A6 */ mtlr r0 /* 80221BE0 0021EB40 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80221BE4 0021EB44 4E 80 00 20 */ blr .global ShouldAttack__9CBabygothFR13CStateManagerf ShouldAttack__9CBabygothFR13CStateManagerf: /* 80221BE8 0021EB48 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 80221BEC 0021EB4C 7C 08 02 A6 */ mflr r0 /* 80221BF0 0021EB50 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80221BF4 0021EB54 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 80221BF8 0021EB58 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 80221BFC 0021EB5C DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 80221C00 0021EB60 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 80221C04 0021EB64 93 E1 00 CC */ stw r31, 0xcc(r1) /* 80221C08 0021EB68 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 80221C0C 0021EB6C 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 80221C10 0021EB70 7C 9E 23 78 */ mr r30, r4 /* 80221C14 0021EB74 7C 7D 1B 78 */ mr r29, r3 /* 80221C18 0021EB78 83 E4 08 4C */ lwz r31, 0x84c(r4) /* 80221C1C 0021EB7C 80 63 00 04 */ lwz r3, 4(r3) /* 80221C20 0021EB80 80 1F 00 04 */ lwz r0, 4(r31) /* 80221C24 0021EB84 7C 03 00 00 */ cmpw r3, r0 /* 80221C28 0021EB88 40 82 01 9C */ bne lbl_80221DC4 /* 80221C2C 0021EB8C 7F E3 FB 78 */ mr r3, r31 /* 80221C30 0021EB90 4B DF 40 CD */ bl GetFrozenState__7CPlayerCFv /* 80221C34 0021EB94 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221C38 0021EB98 40 82 01 8C */ bne lbl_80221DC4 /* 80221C3C 0021EB9C C0 1D 08 D8 */ lfs f0, 0x8d8(r29) /* 80221C40 0021EBA0 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221C44 0021EBA4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80221C48 0021EBA8 4C 40 13 82 */ cror 2, 0, 2 /* 80221C4C 0021EBAC 40 82 01 78 */ bne lbl_80221DC4 /* 80221C50 0021EBB0 C0 1D 08 E0 */ lfs f0, 0x8e0(r29) /* 80221C54 0021EBB4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80221C58 0021EBB8 4C 40 13 82 */ cror 2, 0, 2 /* 80221C5C 0021EBBC 40 82 01 68 */ bne lbl_80221DC4 /* 80221C60 0021EBC0 81 9F 00 00 */ lwz r12, 0(r31) /* 80221C64 0021EBC4 7F E4 FB 78 */ mr r4, r31 /* 80221C68 0021EBC8 7F C5 F3 78 */ mr r5, r30 /* 80221C6C 0021EBCC 38 61 00 24 */ addi r3, r1, 0x24 /* 80221C70 0021EBD0 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80221C74 0021EBD4 7D 89 03 A6 */ mtctr r12 /* 80221C78 0021EBD8 4E 80 04 21 */ bctrl /* 80221C7C 0021EBDC C0 A1 00 24 */ lfs f5, 0x24(r1) /* 80221C80 0021EBE0 38 61 00 3C */ addi r3, r1, 0x3c /* 80221C84 0021EBE4 C0 81 00 28 */ lfs f4, 0x28(r1) /* 80221C88 0021EBE8 C0 61 00 2C */ lfs f3, 0x2c(r1) /* 80221C8C 0021EBEC D0 A1 00 48 */ stfs f5, 0x48(r1) /* 80221C90 0021EBF0 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 80221C94 0021EBF4 D0 61 00 50 */ stfs f3, 0x50(r1) /* 80221C98 0021EBF8 C0 5D 00 50 */ lfs f2, 0x50(r29) /* 80221C9C 0021EBFC C0 3D 00 60 */ lfs f1, 0x60(r29) /* 80221CA0 0021EC00 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80221CA4 0021EC04 EC 44 10 28 */ fsubs f2, f4, f2 /* 80221CA8 0021EC08 EC 23 08 28 */ fsubs f1, f3, f1 /* 80221CAC 0021EC0C EC 05 00 28 */ fsubs f0, f5, f0 /* 80221CB0 0021EC10 D0 41 00 40 */ stfs f2, 0x40(r1) /* 80221CB4 0021EC14 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80221CB8 0021EC18 D0 21 00 44 */ stfs f1, 0x44(r1) /* 80221CBC 0021EC1C 48 0F 2B FD */ bl Magnitude__9CVector3fCFv /* 80221CC0 0021EC20 80 7D 04 50 */ lwz r3, 0x450(r29) /* 80221CC4 0021EC24 FF E0 08 90 */ fmr f31, f1 /* 80221CC8 0021EC28 C3 DD 06 D0 */ lfs f30, 0x6d0(r29) /* 80221CCC 0021EC2C 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80221CD0 0021EC30 4B F1 21 DD */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 80221CD4 0021EC34 EC 01 07 B2 */ fmuls f0, f1, f30 /* 80221CD8 0021EC38 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 80221CDC 0021EC3C 40 81 00 E8 */ ble lbl_80221DC4 /* 80221CE0 0021EC40 7F A3 EB 78 */ mr r3, r29 /* 80221CE4 0021EC44 7F C4 F3 78 */ mr r4, r30 /* 80221CE8 0021EC48 81 9D 00 00 */ lwz r12, 0(r29) /* 80221CEC 0021EC4C C0 22 B4 3C */ lfs f1, lbl_805AD15C@sda21(r2) /* 80221CF0 0021EC50 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 80221CF4 0021EC54 7D 89 03 A6 */ mtctr r12 /* 80221CF8 0021EC58 4E 80 04 21 */ bctrl /* 80221CFC 0021EC5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221D00 0021EC60 40 82 00 C4 */ bne lbl_80221DC4 /* 80221D04 0021EC64 7F A4 EB 78 */ mr r4, r29 /* 80221D08 0021EC68 38 61 00 54 */ addi r3, r1, 0x54 /* 80221D0C 0021EC6C 38 BD 09 F4 */ addi r5, r29, 0x9f4 /* 80221D10 0021EC70 4B E5 6B A9 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 80221D14 0021EC74 38 61 00 84 */ addi r3, r1, 0x84 /* 80221D18 0021EC78 38 81 00 54 */ addi r4, r1, 0x54 /* 80221D1C 0021EC7C 48 0F 0E 59 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80221D20 0021EC80 C0 41 00 90 */ lfs f2, 0x90(r1) /* 80221D24 0021EC84 7F A3 EB 78 */ mr r3, r29 /* 80221D28 0021EC88 C0 21 00 A0 */ lfs f1, 0xa0(r1) /* 80221D2C 0021EC8C 7F C4 F3 78 */ mr r4, r30 /* 80221D30 0021EC90 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 80221D34 0021EC94 38 A1 00 30 */ addi r5, r1, 0x30 /* 80221D38 0021EC98 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80221D3C 0021EC9C 38 C1 00 48 */ addi r6, r1, 0x48 /* 80221D40 0021ECA0 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80221D44 0021ECA4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80221D48 0021ECA8 4B FD 30 89 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 80221D4C 0021ECAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221D50 0021ECB0 40 82 00 74 */ bne lbl_80221DC4 /* 80221D54 0021ECB4 A0 1D 06 E8 */ lhz r0, 0x6e8(r29) /* 80221D58 0021ECB8 7F C3 F3 78 */ mr r3, r30 /* 80221D5C 0021ECBC 38 81 00 18 */ addi r4, r1, 0x18 /* 80221D60 0021ECC0 B0 01 00 18 */ sth r0, 0x18(r1) /* 80221D64 0021ECC4 4B E2 A8 11 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80221D68 0021ECC8 7C 64 1B 78 */ mr r4, r3 /* 80221D6C 0021ECCC 38 61 00 1C */ addi r3, r1, 0x1c /* 80221D70 0021ECD0 4B E8 58 05 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 80221D74 0021ECD4 83 E3 00 04 */ lwz r31, 4(r3) /* 80221D78 0021ECD8 28 1F 00 00 */ cmplwi r31, 0 /* 80221D7C 0021ECDC 41 82 00 40 */ beq lbl_80221DBC /* 80221D80 0021ECE0 A0 1D 00 08 */ lhz r0, 8(r29) /* 80221D84 0021ECE4 7F E3 FB 78 */ mr r3, r31 /* 80221D88 0021ECE8 38 81 00 14 */ addi r4, r1, 0x14 /* 80221D8C 0021ECEC B0 01 00 10 */ sth r0, 0x10(r1) /* 80221D90 0021ECF0 B0 01 00 14 */ sth r0, 0x14(r1) /* 80221D94 0021ECF4 48 01 72 5D */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId /* 80221D98 0021ECF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80221D9C 0021ECFC 41 82 00 20 */ beq lbl_80221DBC /* 80221DA0 0021ED00 A0 1D 00 08 */ lhz r0, 8(r29) /* 80221DA4 0021ED04 7F E3 FB 78 */ mr r3, r31 /* 80221DA8 0021ED08 38 81 00 0C */ addi r4, r1, 0xc /* 80221DAC 0021ED0C B0 01 00 08 */ sth r0, 8(r1) /* 80221DB0 0021ED10 B0 01 00 0C */ sth r0, 0xc(r1) /* 80221DB4 0021ED14 48 01 6E F9 */ bl AddMeleeAttacker__10CTeamAiMgrF9TUniqueId /* 80221DB8 0021ED18 48 00 00 10 */ b lbl_80221DC8 lbl_80221DBC: /* 80221DBC 0021ED1C 38 60 00 01 */ li r3, 1 /* 80221DC0 0021ED20 48 00 00 08 */ b lbl_80221DC8 lbl_80221DC4: /* 80221DC4 0021ED24 38 60 00 00 */ li r3, 0 lbl_80221DC8: /* 80221DC8 0021ED28 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 80221DCC 0021ED2C CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 80221DD0 0021ED30 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 80221DD4 0021ED34 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 80221DD8 0021ED38 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80221DDC 0021ED3C 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 80221DE0 0021ED40 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80221DE4 0021ED44 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 80221DE8 0021ED48 7C 08 03 A6 */ mtlr r0 /* 80221DEC 0021ED4C 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80221DF0 0021ED50 4E 80 00 20 */ blr .global Leash__9CBabygothFR13CStateManagerf Leash__9CBabygothFR13CStateManagerf: /* 80221DF4 0021ED54 C0 C3 00 50 */ lfs f6, 0x50(r3) /* 80221DF8 0021ED58 C0 03 03 A4 */ lfs f0, 0x3a4(r3) /* 80221DFC 0021ED5C C0 43 03 C8 */ lfs f2, 0x3c8(r3) /* 80221E00 0021ED60 EC 60 30 28 */ fsubs f3, f0, f6 /* 80221E04 0021ED64 C0 E3 00 40 */ lfs f7, 0x40(r3) /* 80221E08 0021ED68 C0 23 03 A0 */ lfs f1, 0x3a0(r3) /* 80221E0C 0021ED6C EC 02 00 B2 */ fmuls f0, f2, f2 /* 80221E10 0021ED70 C0 A3 00 60 */ lfs f5, 0x60(r3) /* 80221E14 0021ED74 C0 43 03 A8 */ lfs f2, 0x3a8(r3) /* 80221E18 0021ED78 EC 81 38 28 */ fsubs f4, f1, f7 /* 80221E1C 0021ED7C EC 23 00 F2 */ fmuls f1, f3, f3 /* 80221E20 0021ED80 EC 42 28 28 */ fsubs f2, f2, f5 /* 80221E24 0021ED84 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 80221E28 0021ED88 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 80221E2C 0021ED8C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221E30 0021ED90 40 81 00 5C */ ble lbl_80221E8C /* 80221E34 0021ED94 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80221E38 0021ED98 38 00 00 00 */ li r0, 0 /* 80221E3C 0021ED9C C0 03 03 CC */ lfs f0, 0x3cc(r3) /* 80221E40 0021EDA0 C0 24 00 50 */ lfs f1, 0x50(r4) /* 80221E44 0021EDA4 C0 44 00 40 */ lfs f2, 0x40(r4) /* 80221E48 0021EDA8 EC 00 00 32 */ fmuls f0, f0, f0 /* 80221E4C 0021EDAC EC 61 30 28 */ fsubs f3, f1, f6 /* 80221E50 0021EDB0 C0 24 00 60 */ lfs f1, 0x60(r4) /* 80221E54 0021EDB4 EC 82 38 28 */ fsubs f4, f2, f7 /* 80221E58 0021EDB8 EC 41 28 28 */ fsubs f2, f1, f5 /* 80221E5C 0021EDBC EC 23 00 F2 */ fmuls f1, f3, f3 /* 80221E60 0021EDC0 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 80221E64 0021EDC4 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 80221E68 0021EDC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221E6C 0021EDCC 40 81 00 18 */ ble lbl_80221E84 /* 80221E70 0021EDD0 C0 23 03 D4 */ lfs f1, 0x3d4(r3) /* 80221E74 0021EDD4 C0 03 03 D0 */ lfs f0, 0x3d0(r3) /* 80221E78 0021EDD8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221E7C 0021EDDC 40 81 00 08 */ ble lbl_80221E84 /* 80221E80 0021EDE0 38 00 00 01 */ li r0, 1 lbl_80221E84: /* 80221E84 0021EDE4 7C 03 03 78 */ mr r3, r0 /* 80221E88 0021EDE8 4E 80 00 20 */ blr lbl_80221E8C: /* 80221E8C 0021EDEC 38 60 00 00 */ li r3, 0 /* 80221E90 0021EDF0 4E 80 00 20 */ blr .global LineOfSight__9CBabygothFR13CStateManagerf LineOfSight__9CBabygothFR13CStateManagerf: /* 80221E94 0021EDF4 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80221E98 0021EDF8 7C 08 02 A6 */ mflr r0 /* 80221E9C 0021EDFC C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221EA0 0021EE00 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80221EA4 0021EE04 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80221EA8 0021EE08 7C 9F 23 78 */ mr r31, r4 /* 80221EAC 0021EE0C 7F E5 FB 78 */ mr r5, r31 /* 80221EB0 0021EE10 93 C1 00 98 */ stw r30, 0x98(r1) /* 80221EB4 0021EE14 7C 7E 1B 78 */ mr r30, r3 /* 80221EB8 0021EE18 38 61 00 08 */ addi r3, r1, 8 /* 80221EBC 0021EE1C 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80221EC0 0021EE20 81 84 00 00 */ lwz r12, 0(r4) /* 80221EC4 0021EE24 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80221EC8 0021EE28 7D 89 03 A6 */ mtctr r12 /* 80221ECC 0021EE2C 4E 80 04 21 */ bctrl /* 80221ED0 0021EE30 C0 41 00 08 */ lfs f2, 8(r1) /* 80221ED4 0021EE34 7F C4 F3 78 */ mr r4, r30 /* 80221ED8 0021EE38 C0 21 00 0C */ lfs f1, 0xc(r1) /* 80221EDC 0021EE3C 38 61 00 2C */ addi r3, r1, 0x2c /* 80221EE0 0021EE40 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80221EE4 0021EE44 38 BE 09 F4 */ addi r5, r30, 0x9f4 /* 80221EE8 0021EE48 D0 41 00 20 */ stfs f2, 0x20(r1) /* 80221EEC 0021EE4C D0 21 00 24 */ stfs f1, 0x24(r1) /* 80221EF0 0021EE50 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80221EF4 0021EE54 4B E5 69 C5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId /* 80221EF8 0021EE58 38 61 00 5C */ addi r3, r1, 0x5c /* 80221EFC 0021EE5C 38 81 00 2C */ addi r4, r1, 0x2c /* 80221F00 0021EE60 48 0F 0C 75 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80221F04 0021EE64 C0 41 00 68 */ lfs f2, 0x68(r1) /* 80221F08 0021EE68 7F C3 F3 78 */ mr r3, r30 /* 80221F0C 0021EE6C C0 21 00 78 */ lfs f1, 0x78(r1) /* 80221F10 0021EE70 7F E4 FB 78 */ mr r4, r31 /* 80221F14 0021EE74 C0 01 00 88 */ lfs f0, 0x88(r1) /* 80221F18 0021EE78 38 A1 00 14 */ addi r5, r1, 0x14 /* 80221F1C 0021EE7C D0 41 00 14 */ stfs f2, 0x14(r1) /* 80221F20 0021EE80 38 C1 00 20 */ addi r6, r1, 0x20 /* 80221F24 0021EE84 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80221F28 0021EE88 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80221F2C 0021EE8C 4B FD 2E A5 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 80221F30 0021EE90 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 80221F34 0021EE94 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 80221F38 0021EE98 7C 00 00 34 */ cntlzw r0, r0 /* 80221F3C 0021EE9C 83 C1 00 98 */ lwz r30, 0x98(r1) /* 80221F40 0021EEA0 54 03 D9 7E */ srwi r3, r0, 5 /* 80221F44 0021EEA4 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80221F48 0021EEA8 7C 08 03 A6 */ mtlr r0 /* 80221F4C 0021EEAC 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80221F50 0021EEB0 4E 80 00 20 */ blr .global LostInterest__9CBabygothFR13CStateManagerf LostInterest__9CBabygothFR13CStateManagerf: /* 80221F54 0021EEB4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80221F58 0021EEB8 7C 08 02 A6 */ mflr r0 /* 80221F5C 0021EEBC 7C 65 1B 78 */ mr r5, r3 /* 80221F60 0021EEC0 90 01 00 24 */ stw r0, 0x24(r1) /* 80221F64 0021EEC4 C0 23 08 E8 */ lfs f1, 0x8e8(r3) /* 80221F68 0021EEC8 C0 03 06 D8 */ lfs f0, 0x6d8(r3) /* 80221F6C 0021EECC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80221F70 0021EED0 4C 41 13 82 */ cror 2, 1, 2 /* 80221F74 0021EED4 40 82 00 34 */ bne lbl_80221FA8 /* 80221F78 0021EED8 C0 45 00 60 */ lfs f2, 0x60(r5) /* 80221F7C 0021EEDC 38 65 06 EC */ addi r3, r5, 0x6ec /* 80221F80 0021EEE0 C0 25 00 50 */ lfs f1, 0x50(r5) /* 80221F84 0021EEE4 38 81 00 08 */ addi r4, r1, 8 /* 80221F88 0021EEE8 C0 05 00 40 */ lfs f0, 0x40(r5) /* 80221F8C 0021EEEC D0 01 00 08 */ stfs f0, 8(r1) /* 80221F90 0021EEF0 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80221F94 0021EEF4 D0 41 00 10 */ stfs f2, 0x10(r1) /* 80221F98 0021EEF8 4B FA 4B 9D */ bl OnPath__15CPathFindSearchCFRC9CVector3f /* 80221F9C 0021EEFC 7C 60 00 34 */ cntlzw r0, r3 /* 80221FA0 0021EF00 54 03 D9 7E */ srwi r3, r0, 5 /* 80221FA4 0021EF04 48 00 00 08 */ b lbl_80221FAC lbl_80221FA8: /* 80221FA8 0021EF08 38 60 00 00 */ li r3, 0 lbl_80221FAC: /* 80221FAC 0021EF0C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80221FB0 0021EF10 7C 08 03 A6 */ mtlr r0 /* 80221FB4 0021EF14 38 21 00 20 */ addi r1, r1, 0x20 /* 80221FB8 0021EF18 4E 80 00 20 */ blr .global OffLine__9CBabygothFR13CStateManagerf OffLine__9CBabygothFR13CStateManagerf: /* 80221FBC 0021EF1C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80221FC0 0021EF20 7C 08 02 A6 */ mflr r0 /* 80221FC4 0021EF24 90 01 00 14 */ stw r0, 0x14(r1) /* 80221FC8 0021EF28 93 E1 00 0C */ stw r31, 0xc(r1) /* 80221FCC 0021EF2C 7C 9F 23 78 */ mr r31, r4 /* 80221FD0 0021EF30 38 80 00 00 */ li r4, 0 /* 80221FD4 0021EF34 93 C1 00 08 */ stw r30, 8(r1) /* 80221FD8 0021EF38 7C 7E 1B 78 */ mr r30, r3 /* 80221FDC 0021EF3C 4B FF C0 C1 */ bl sub_8021e09c /* 80221FE0 0021EF40 7F C3 F3 78 */ mr r3, r30 /* 80221FE4 0021EF44 7F E4 FB 78 */ mr r4, r31 /* 80221FE8 0021EF48 81 9E 00 00 */ lwz r12, 0(r30) /* 80221FEC 0021EF4C C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80221FF0 0021EF50 81 8C 01 90 */ lwz r12, 0x190(r12) /* 80221FF4 0021EF54 7D 89 03 A6 */ mtctr r12 /* 80221FF8 0021EF58 4E 80 04 21 */ bctrl /* 80221FFC 0021EF5C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80222000 0021EF60 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80222004 0021EF64 83 C1 00 08 */ lwz r30, 8(r1) /* 80222008 0021EF68 7C 08 03 A6 */ mtlr r0 /* 8022200C 0021EF6C 38 21 00 10 */ addi r1, r1, 0x10 /* 80222010 0021EF70 4E 80 00 20 */ blr .global ShotAt__9CBabygothFR13CStateManagerf ShotAt__9CBabygothFR13CStateManagerf: /* 80222014 0021EF74 88 03 04 00 */ lbz r0, 0x400(r3) /* 80222018 0021EF78 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 8022201C 0021EF7C 7C 03 00 D0 */ neg r0, r3 /* 80222020 0021EF80 7C 00 1B 78 */ or r0, r0, r3 /* 80222024 0021EF84 54 03 0F FE */ srwi r3, r0, 0x1f /* 80222028 0021EF88 4E 80 00 20 */ blr .global InMaxRange__9CBabygothFR13CStateManagerf InMaxRange__9CBabygothFR13CStateManagerf: /* 8022202C 0021EF8C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80222030 0021EF90 C0 22 B4 34 */ lfs f1, lbl_805AD154@sda21(r2) /* 80222034 0021EF94 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80222038 0021EF98 C0 03 00 50 */ lfs f0, 0x50(r3) /* 8022203C 0021EF9C C1 24 00 50 */ lfs f9, 0x50(r4) /* 80222040 0021EFA0 C0 C4 00 40 */ lfs f6, 0x40(r4) /* 80222044 0021EFA4 ED 09 00 28 */ fsubs f8, f9, f0 /* 80222048 0021EFA8 C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022204C 0021EFAC C1 44 00 60 */ lfs f10, 0x60(r4) /* 80222050 0021EFB0 EC A6 00 28 */ fsubs f5, f6, f0 /* 80222054 0021EFB4 C0 03 00 60 */ lfs f0, 0x60(r3) /* 80222058 0021EFB8 EC 48 02 32 */ fmuls f2, f8, f8 /* 8022205C 0021EFBC EC EA 00 28 */ fsubs f7, f10, f0 /* 80222060 0021EFC0 C0 03 03 00 */ lfs f0, 0x300(r3) /* 80222064 0021EFC4 EC 65 01 72 */ fmuls f3, f5, f5 /* 80222068 0021EFC8 EC 01 00 32 */ fmuls f0, f1, f0 /* 8022206C 0021EFCC D0 C1 00 08 */ stfs f6, 8(r1) /* 80222070 0021EFD0 EC 87 01 F2 */ fmuls f4, f7, f7 /* 80222074 0021EFD4 EC 43 10 2A */ fadds f2, f3, f2 /* 80222078 0021EFD8 D1 21 00 0C */ stfs f9, 0xc(r1) /* 8022207C 0021EFDC EC 00 00 32 */ fmuls f0, f0, f0 /* 80222080 0021EFE0 D1 41 00 10 */ stfs f10, 0x10(r1) /* 80222084 0021EFE4 EC 24 10 2A */ fadds f1, f4, f2 /* 80222088 0021EFE8 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 8022208C 0021EFEC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80222090 0021EFF0 D1 01 00 18 */ stfs f8, 0x18(r1) /* 80222094 0021EFF4 D0 E1 00 1C */ stfs f7, 0x1c(r1) /* 80222098 0021EFF8 7C 00 00 26 */ mfcr r0 /* 8022209C 0021EFFC 54 03 0F FE */ srwi r3, r0, 0x1f /* 802220A0 0021F000 38 21 00 20 */ addi r1, r1, 0x20 /* 802220A4 0021F004 4E 80 00 20 */ blr .global AggressionCheck__9CBabygothFR13CStateManagerf AggressionCheck__9CBabygothFR13CStateManagerf: /* 802220A8 0021F008 88 03 04 00 */ lbz r0, 0x400(r3) /* 802220AC 0021F00C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802220B0 0021F010 41 82 00 24 */ beq lbl_802220D4 /* 802220B4 0021F014 88 03 0A 48 */ lbz r0, 0xa48(r3) /* 802220B8 0021F018 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 802220BC 0021F01C 40 82 00 18 */ bne lbl_802220D4 /* 802220C0 0021F020 80 03 05 6C */ lwz r0, 0x56c(r3) /* 802220C4 0021F024 2C 00 00 03 */ cmpwi r0, 3 /* 802220C8 0021F028 40 82 00 0C */ bne lbl_802220D4 /* 802220CC 0021F02C 38 60 00 01 */ li r3, 1 /* 802220D0 0021F030 4E 80 00 20 */ blr lbl_802220D4: /* 802220D4 0021F034 38 60 00 00 */ li r3, 0 /* 802220D8 0021F038 4E 80 00 20 */ blr .global TooClose__9CBabygothFR13CStateManagerf TooClose__9CBabygothFR13CStateManagerf: /* 802220DC 0021F03C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 802220E0 0021F040 7C 08 02 A6 */ mflr r0 /* 802220E4 0021F044 90 01 00 74 */ stw r0, 0x74(r1) /* 802220E8 0021F048 93 E1 00 6C */ stw r31, 0x6c(r1) /* 802220EC 0021F04C 7C 7F 1B 78 */ mr r31, r3 /* 802220F0 0021F050 38 61 00 20 */ addi r3, r1, 0x20 /* 802220F4 0021F054 80 84 08 4C */ lwz r4, 0x84c(r4) /* 802220F8 0021F058 4B EF 88 35 */ bl GetBoundingBox__13CPhysicsActorCFv /* 802220FC 0021F05C C0 A1 00 20 */ lfs f5, 0x20(r1) /* 80222100 0021F060 38 9F 09 30 */ addi r4, r31, 0x930 /* 80222104 0021F064 C0 81 00 24 */ lfs f4, 0x24(r1) /* 80222108 0021F068 38 61 00 08 */ addi r3, r1, 8 /* 8022210C 0021F06C C0 61 00 28 */ lfs f3, 0x28(r1) /* 80222110 0021F070 38 BF 00 34 */ addi r5, r31, 0x34 /* 80222114 0021F074 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 80222118 0021F078 C0 21 00 30 */ lfs f1, 0x30(r1) /* 8022211C 0021F07C C0 01 00 34 */ lfs f0, 0x34(r1) /* 80222120 0021F080 D0 A1 00 50 */ stfs f5, 0x50(r1) /* 80222124 0021F084 D0 81 00 54 */ stfs f4, 0x54(r1) /* 80222128 0021F088 D0 61 00 58 */ stfs f3, 0x58(r1) /* 8022212C 0021F08C D0 41 00 5C */ stfs f2, 0x5c(r1) /* 80222130 0021F090 D0 21 00 60 */ stfs f1, 0x60(r1) /* 80222134 0021F094 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80222138 0021F098 81 9F 09 30 */ lwz r12, 0x930(r31) /* 8022213C 0021F09C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80222140 0021F0A0 7D 89 03 A6 */ mtctr r12 /* 80222144 0021F0A4 4E 80 04 21 */ bctrl /* 80222148 0021F0A8 C0 A1 00 08 */ lfs f5, 8(r1) /* 8022214C 0021F0AC 38 61 00 38 */ addi r3, r1, 0x38 /* 80222150 0021F0B0 C0 81 00 0C */ lfs f4, 0xc(r1) /* 80222154 0021F0B4 38 81 00 50 */ addi r4, r1, 0x50 /* 80222158 0021F0B8 C0 61 00 10 */ lfs f3, 0x10(r1) /* 8022215C 0021F0BC C0 41 00 14 */ lfs f2, 0x14(r1) /* 80222160 0021F0C0 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80222164 0021F0C4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80222168 0021F0C8 D0 A1 00 38 */ stfs f5, 0x38(r1) /* 8022216C 0021F0CC D0 81 00 3C */ stfs f4, 0x3c(r1) /* 80222170 0021F0D0 D0 61 00 40 */ stfs f3, 0x40(r1) /* 80222174 0021F0D4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 80222178 0021F0D8 D0 21 00 48 */ stfs f1, 0x48(r1) /* 8022217C 0021F0DC D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80222180 0021F0E0 48 11 5A 05 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox /* 80222184 0021F0E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80222188 0021F0E8 41 82 00 1C */ beq lbl_802221A4 /* 8022218C 0021F0EC 88 1F 0A 49 */ lbz r0, 0xa49(r31) /* 80222190 0021F0F0 38 60 00 01 */ li r3, 1 /* 80222194 0021F0F4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80222198 0021F0F8 38 60 00 01 */ li r3, 1 /* 8022219C 0021F0FC 98 1F 0A 49 */ stb r0, 0xa49(r31) /* 802221A0 0021F100 48 00 00 08 */ b lbl_802221A8 lbl_802221A4: /* 802221A4 0021F104 38 60 00 00 */ li r3, 0 lbl_802221A8: /* 802221A8 0021F108 80 01 00 74 */ lwz r0, 0x74(r1) /* 802221AC 0021F10C 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 802221B0 0021F110 7C 08 03 A6 */ mtlr r0 /* 802221B4 0021F114 38 21 00 70 */ addi r1, r1, 0x70 /* 802221B8 0021F118 4E 80 00 20 */ blr .global GetAimPosition__9CBabygothCFRC13CStateManagerf GetAimPosition__9CBabygothCFRC13CStateManagerf: /* 802221BC 0021F11C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 802221C0 0021F120 7C 08 02 A6 */ mflr r0 /* 802221C4 0021F124 90 01 00 E4 */ stw r0, 0xe4(r1) /* 802221C8 0021F128 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 802221CC 0021F12C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 802221D0 0021F130 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 802221D4 0021F134 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 802221D8 0021F138 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 802221DC 0021F13C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 802221E0 0021F140 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 802221E4 0021F144 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 802221E8 0021F148 BF 21 00 84 */ stmw r25, 0x84(r1) /* 802221EC 0021F14C 7C 9E 23 78 */ mr r30, r4 /* 802221F0 0021F150 7C 7D 1B 78 */ mr r29, r3 /* 802221F4 0021F154 80 64 04 50 */ lwz r3, 0x450(r4) /* 802221F8 0021F158 7C BF 2B 78 */ mr r31, r5 /* 802221FC 0021F15C 80 03 02 EC */ lwz r0, 0x2ec(r3) /* 80222200 0021F160 2C 00 00 00 */ cmpwi r0, 0 /* 80222204 0021F164 41 82 02 34 */ beq lbl_80222438 /* 80222208 0021F168 80 1E 09 F8 */ lwz r0, 0x9f8(r30) /* 8022220C 0021F16C 2C 00 00 00 */ cmpwi r0, 0 /* 80222210 0021F170 41 82 02 28 */ beq lbl_80222438 /* 80222214 0021F174 3C 60 80 5A */ lis r3, skZero3f@ha /* 80222218 0021F178 3B 5E 09 FC */ addi r26, r30, 0x9fc /* 8022221C 0021F17C 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 80222220 0021F180 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80222224 0021F184 C3 E4 00 00 */ lfs f31, 0(r4) /* 80222228 0021F188 7F 59 D3 78 */ mr r25, r26 /* 8022222C 0021F18C C3 C4 00 04 */ lfs f30, 4(r4) /* 80222230 0021F190 3B 83 66 F4 */ addi r28, r3, lbl_805A66F4@l /* 80222234 0021F194 C3 A4 00 08 */ lfs f29, 8(r4) /* 80222238 0021F198 48 00 00 7C */ b lbl_802222B4 lbl_8022223C: /* 8022223C 0021F19C A0 19 00 00 */ lhz r0, 0(r25) /* 80222240 0021F1A0 7F E3 FB 78 */ mr r3, r31 /* 80222244 0021F1A4 38 81 00 0C */ addi r4, r1, 0xc /* 80222248 0021F1A8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8022224C 0021F1AC 4B E2 A3 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80222250 0021F1B0 7C 64 1B 78 */ mr r4, r3 /* 80222254 0021F1B4 38 61 00 18 */ addi r3, r1, 0x18 /* 80222258 0021F1B8 4B E8 D0 F5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022225C 0021F1BC 83 63 00 04 */ lwz r27, 4(r3) /* 80222260 0021F1C0 28 1B 00 00 */ cmplwi r27, 0 /* 80222264 0021F1C4 41 82 00 4C */ beq lbl_802222B0 /* 80222268 0021F1C8 7F 63 DB 78 */ mr r3, r27 /* 8022226C 0021F1CC 4B F8 69 11 */ bl GetSphereRadius__15CCollisionActorCFv /* 80222270 0021F1D0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80222274 0021F1D4 C0 5C 00 04 */ lfs f2, 4(r28) /* 80222278 0021F1D8 C0 1C 00 08 */ lfs f0, 8(r28) /* 8022227C 0021F1DC C0 83 66 F4 */ lfs f4, lbl_805A66F4@l(r3) /* 80222280 0021F1E0 EC 41 00 B2 */ fmuls f2, f1, f2 /* 80222284 0021F1E4 EC 01 00 32 */ fmuls f0, f1, f0 /* 80222288 0021F1E8 C0 7B 00 50 */ lfs f3, 0x50(r27) /* 8022228C 0021F1EC EC 81 01 32 */ fmuls f4, f1, f4 /* 80222290 0021F1F0 C0 3B 00 60 */ lfs f1, 0x60(r27) /* 80222294 0021F1F4 C0 BB 00 40 */ lfs f5, 0x40(r27) /* 80222298 0021F1F8 EC 43 10 2A */ fadds f2, f3, f2 /* 8022229C 0021F1FC EC 65 20 2A */ fadds f3, f5, f4 /* 802222A0 0021F200 EC 01 00 2A */ fadds f0, f1, f0 /* 802222A4 0021F204 EF DE 10 2A */ fadds f30, f30, f2 /* 802222A8 0021F208 EF FF 18 2A */ fadds f31, f31, f3 /* 802222AC 0021F20C EF BD 00 2A */ fadds f29, f29, f0 lbl_802222B0: /* 802222B0 0021F210 3B 39 00 02 */ addi r25, r25, 2 lbl_802222B4: /* 802222B4 0021F214 80 7E 09 F8 */ lwz r3, 0x9f8(r30) /* 802222B8 0021F218 54 60 08 3C */ slwi r0, r3, 1 /* 802222BC 0021F21C 7C 1A 02 14 */ add r0, r26, r0 /* 802222C0 0021F220 7C 19 00 40 */ cmplw r25, r0 /* 802222C4 0021F224 40 82 FF 78 */ bne lbl_8022223C /* 802222C8 0021F228 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 802222CC 0021F22C 38 00 00 00 */ li r0, 0 /* 802222D0 0021F230 FC 00 F8 00 */ fcmpu cr0, f0, f31 /* 802222D4 0021F234 40 82 00 14 */ bne lbl_802222E8 /* 802222D8 0021F238 FC 00 F0 00 */ fcmpu cr0, f0, f30 /* 802222DC 0021F23C 40 82 00 0C */ bne lbl_802222E8 /* 802222E0 0021F240 FC 00 E8 00 */ fcmpu cr0, f0, f29 /* 802222E4 0021F244 41 82 00 08 */ beq lbl_802222EC lbl_802222E8: /* 802222E8 0021F248 38 00 00 01 */ li r0, 1 lbl_802222EC: /* 802222EC 0021F24C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802222F0 0021F250 41 82 00 34 */ beq lbl_80222324 /* 802222F4 0021F254 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 802222F8 0021F258 3C 00 43 30 */ lis r0, 0x4330 /* 802222FC 0021F25C 90 61 00 74 */ stw r3, 0x74(r1) /* 80222300 0021F260 C8 22 B4 58 */ lfd f1, lbl_805AD178@sda21(r2) /* 80222304 0021F264 90 01 00 70 */ stw r0, 0x70(r1) /* 80222308 0021F268 C0 42 B4 18 */ lfs f2, lbl_805AD138@sda21(r2) /* 8022230C 0021F26C C8 01 00 70 */ lfd f0, 0x70(r1) /* 80222310 0021F270 EC 00 08 28 */ fsubs f0, f0, f1 /* 80222314 0021F274 EC 02 00 24 */ fdivs f0, f2, f0 /* 80222318 0021F278 EF FF 00 32 */ fmuls f31, f31, f0 /* 8022231C 0021F27C EF DE 00 32 */ fmuls f30, f30, f0 /* 80222320 0021F280 EF BD 00 32 */ fmuls f29, f29, f0 lbl_80222324: /* 80222324 0021F284 A0 1E 09 F6 */ lhz r0, 0x9f6(r30) /* 80222328 0021F288 FF 80 E8 90 */ fmr f28, f29 /* 8022232C 0021F28C 7F E3 FB 78 */ mr r3, r31 /* 80222330 0021F290 38 81 00 08 */ addi r4, r1, 8 /* 80222334 0021F294 B0 01 00 08 */ sth r0, 8(r1) /* 80222338 0021F298 4B E2 A2 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022233C 0021F29C 7C 64 1B 78 */ mr r4, r3 /* 80222340 0021F2A0 38 61 00 10 */ addi r3, r1, 0x10 /* 80222344 0021F2A4 4B E8 D0 09 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80222348 0021F2A8 80 63 00 04 */ lwz r3, 4(r3) /* 8022234C 0021F2AC 28 03 00 00 */ cmplwi r3, 0 /* 80222350 0021F2B0 41 82 00 1C */ beq lbl_8022236C /* 80222354 0021F2B4 C3 83 00 60 */ lfs f28, 0x60(r3) /* 80222358 0021F2B8 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022235C 0021F2BC C0 03 00 40 */ lfs f0, 0x40(r3) /* 80222360 0021F2C0 D0 21 00 68 */ stfs f1, 0x68(r1) /* 80222364 0021F2C4 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80222368 0021F2C8 D3 81 00 6C */ stfs f28, 0x6c(r1) lbl_8022236C: /* 8022236C 0021F2CC C0 5E 00 48 */ lfs f2, 0x48(r30) /* 80222370 0021F2D0 38 61 00 28 */ addi r3, r1, 0x28 /* 80222374 0021F2D4 C0 3E 00 38 */ lfs f1, 0x38(r30) /* 80222378 0021F2D8 C0 1E 00 58 */ lfs f0, 0x58(r30) /* 8022237C 0021F2DC D0 21 00 58 */ stfs f1, 0x58(r1) /* 80222380 0021F2E0 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 80222384 0021F2E4 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80222388 0021F2E8 48 0F 1E 79 */ bl __ct__9CVector2fFff /* 8022238C 0021F2EC C0 21 00 28 */ lfs f1, 0x28(r1) /* 80222390 0021F2F0 38 61 00 20 */ addi r3, r1, 0x20 /* 80222394 0021F2F4 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 80222398 0021F2F8 D0 21 00 38 */ stfs f1, 0x38(r1) /* 8022239C 0021F2FC 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 802223A0 0021F300 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802223A4 0021F304 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 802223A8 0021F308 C0 84 00 50 */ lfs f4, 0x50(r4) /* 802223AC 0021F30C C0 04 00 40 */ lfs f0, 0x40(r4) /* 802223B0 0021F310 EC 44 08 28 */ fsubs f2, f4, f1 /* 802223B4 0021F314 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 802223B8 0021F318 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 802223BC 0021F31C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 802223C0 0021F320 EC 20 08 28 */ fsubs f1, f0, f1 /* 802223C4 0021F324 D0 01 00 40 */ stfs f0, 0x40(r1) /* 802223C8 0021F328 EC 65 18 28 */ fsubs f3, f5, f3 /* 802223CC 0021F32C D0 81 00 44 */ stfs f4, 0x44(r1) /* 802223D0 0021F330 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 802223D4 0021F334 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 802223D8 0021F338 D0 41 00 50 */ stfs f2, 0x50(r1) /* 802223DC 0021F33C D0 61 00 54 */ stfs f3, 0x54(r1) /* 802223E0 0021F340 48 0F 1E 21 */ bl __ct__9CVector2fFff /* 802223E4 0021F344 C0 21 00 20 */ lfs f1, 0x20(r1) /* 802223E8 0021F348 38 61 00 38 */ addi r3, r1, 0x38 /* 802223EC 0021F34C C0 01 00 24 */ lfs f0, 0x24(r1) /* 802223F0 0021F350 38 81 00 30 */ addi r4, r1, 0x30 /* 802223F4 0021F354 D0 21 00 30 */ stfs f1, 0x30(r1) /* 802223F8 0021F358 D0 01 00 34 */ stfs f0, 0x34(r1) /* 802223FC 0021F35C 48 0F 1B C9 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 80222400 0021F360 C0 42 B4 50 */ lfs f2, lbl_805AD170@sda21(r2) /* 80222404 0021F364 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 80222408 0021F368 EC 81 10 24 */ fdivs f4, f1, f2 /* 8022240C 0021F36C EC 60 20 28 */ fsubs f3, f0, f4 /* 80222410 0021F370 EC 5F 01 32 */ fmuls f2, f31, f4 /* 80222414 0021F374 EC 3E 01 32 */ fmuls f1, f30, f4 /* 80222418 0021F378 EC 1D 01 32 */ fmuls f0, f29, f4 /* 8022241C 0021F37C EC 5F 10 FA */ fmadds f2, f31, f3, f2 /* 80222420 0021F380 EC 3E 08 FA */ fmadds f1, f30, f3, f1 /* 80222424 0021F384 EC 1C 00 FA */ fmadds f0, f28, f3, f0 /* 80222428 0021F388 D0 5D 00 00 */ stfs f2, 0(r29) /* 8022242C 0021F38C D0 3D 00 04 */ stfs f1, 4(r29) /* 80222430 0021F390 D0 1D 00 08 */ stfs f0, 8(r29) /* 80222434 0021F394 48 00 00 18 */ b lbl_8022244C lbl_80222438: /* 80222438 0021F398 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 8022243C 0021F39C 7F A3 EB 78 */ mr r3, r29 /* 80222440 0021F3A0 7F C4 F3 78 */ mr r4, r30 /* 80222444 0021F3A4 7F E5 FB 78 */ mr r5, r31 /* 80222448 0021F3A8 4B E5 61 A1 */ bl GetAimPosition__10CPatternedCFRC13CStateManagerf lbl_8022244C: /* 8022244C 0021F3AC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 80222450 0021F3B0 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 80222454 0021F3B4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 80222458 0021F3B8 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 8022245C 0021F3BC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 80222460 0021F3C0 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 80222464 0021F3C4 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 80222468 0021F3C8 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 8022246C 0021F3CC BB 21 00 84 */ lmw r25, 0x84(r1) /* 80222470 0021F3D0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80222474 0021F3D4 7C 08 03 A6 */ mtlr r0 /* 80222478 0021F3D8 38 21 00 E0 */ addi r1, r1, 0xe0 /* 8022247C 0021F3DC 4E 80 00 20 */ blr .global DoUserAnimEvent__9CBabygothFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__9CBabygothFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 80222480 0021F3E0 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 80222484 0021F3E4 7C 08 02 A6 */ mflr r0 /* 80222488 0021F3E8 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 8022248C 0021F3EC DB E1 01 C0 */ stfd f31, 0x1c0(r1) /* 80222490 0021F3F0 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 /* 80222494 0021F3F4 DB C1 01 B0 */ stfd f30, 0x1b0(r1) /* 80222498 0021F3F8 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 /* 8022249C 0021F3FC DB A1 01 A0 */ stfd f29, 0x1a0(r1) /* 802224A0 0021F400 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 /* 802224A4 0021F404 DB 81 01 90 */ stfd f28, 0x190(r1) /* 802224A8 0021F408 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 /* 802224AC 0021F40C BF 61 01 7C */ stmw r27, 0x17c(r1) /* 802224B0 0021F410 7C DE 33 78 */ mr r30, r6 /* 802224B4 0021F414 FF E0 08 90 */ fmr f31, f1 /* 802224B8 0021F418 28 1E 00 17 */ cmplwi r30, 0x17 /* 802224BC 0021F41C 7C 7B 1B 78 */ mr r27, r3 /* 802224C0 0021F420 7C 9C 23 78 */ mr r28, r4 /* 802224C4 0021F424 7C BD 2B 78 */ mr r29, r5 /* 802224C8 0021F428 3B E0 00 00 */ li r31, 0 /* 802224CC 0021F42C 41 81 03 64 */ bgt lbl_80222830 /* 802224D0 0021F430 3C A0 80 3E */ lis r5, lbl_803E761C@ha /* 802224D4 0021F434 57 C0 10 3A */ slwi r0, r30, 2 /* 802224D8 0021F438 38 A5 76 1C */ addi r5, r5, lbl_803E761C@l /* 802224DC 0021F43C 7C 05 00 2E */ lwzx r0, r5, r0 /* 802224E0 0021F440 7C 09 03 A6 */ mtctr r0 /* 802224E4 0021F444 4E 80 04 20 */ bctr /* 802224E8 0021F448 7F 64 DB 78 */ mr r4, r27 /* 802224EC 0021F44C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 802224F0 0021F450 38 BD 00 3C */ addi r5, r29, 0x3c /* 802224F4 0021F454 4B E5 64 85 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802224F8 0021F458 38 61 01 48 */ addi r3, r1, 0x148 /* 802224FC 0021F45C 38 81 00 E8 */ addi r4, r1, 0xe8 /* 80222500 0021F460 48 0F 06 75 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80222504 0021F464 80 9C 08 4C */ lwz r4, 0x84c(r28) /* 80222508 0021F468 7F 85 E3 78 */ mr r5, r28 /* 8022250C 0021F46C 38 61 00 7C */ addi r3, r1, 0x7c /* 80222510 0021F470 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80222514 0021F474 81 84 00 00 */ lwz r12, 0(r4) /* 80222518 0021F478 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022251C 0021F47C 7D 89 03 A6 */ mtctr r12 /* 80222520 0021F480 4E 80 04 21 */ bctrl /* 80222524 0021F484 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 80222528 0021F488 7F 63 DB 78 */ mr r3, r27 /* 8022252C 0021F48C C0 21 00 80 */ lfs f1, 0x80(r1) /* 80222530 0021F490 C0 01 00 84 */ lfs f0, 0x84(r1) /* 80222534 0021F494 D0 41 00 AC */ stfs f2, 0xac(r1) /* 80222538 0021F498 C0 41 01 54 */ lfs f2, 0x154(r1) /* 8022253C 0021F49C D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 80222540 0021F4A0 C0 21 01 64 */ lfs f1, 0x164(r1) /* 80222544 0021F4A4 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 80222548 0021F4A8 C0 01 01 74 */ lfs f0, 0x174(r1) /* 8022254C 0021F4AC 83 FC 08 4C */ lwz r31, 0x84c(r28) /* 80222550 0021F4B0 D0 41 00 64 */ stfs f2, 0x64(r1) /* 80222554 0021F4B4 D0 21 00 68 */ stfs f1, 0x68(r1) /* 80222558 0021F4B8 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8022255C 0021F4BC 81 9B 00 00 */ lwz r12, 0(r27) /* 80222560 0021F4C0 81 8C 02 C0 */ lwz r12, 0x2c0(r12) /* 80222564 0021F4C4 7D 89 03 A6 */ mtctr r12 /* 80222568 0021F4C8 4E 80 04 21 */ bctrl /* 8022256C 0021F4CC FC 20 F8 90 */ fmr f1, f31 /* 80222570 0021F4D0 7C 64 1B 78 */ mr r4, r3 /* 80222574 0021F4D4 7F E7 FB 78 */ mr r7, r31 /* 80222578 0021F4D8 38 61 00 70 */ addi r3, r1, 0x70 /* 8022257C 0021F4DC 38 A1 00 64 */ addi r5, r1, 0x64 /* 80222580 0021F4E0 38 C1 00 AC */ addi r6, r1, 0xac /* 80222584 0021F4E4 39 00 00 00 */ li r8, 0 /* 80222588 0021F4E8 4B FF 99 65 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf /* 8022258C 0021F4EC C0 A1 00 70 */ lfs f5, 0x70(r1) /* 80222590 0021F4F0 38 61 00 94 */ addi r3, r1, 0x94 /* 80222594 0021F4F4 C0 81 00 74 */ lfs f4, 0x74(r1) /* 80222598 0021F4F8 38 81 00 88 */ addi r4, r1, 0x88 /* 8022259C 0021F4FC C0 61 00 78 */ lfs f3, 0x78(r1) /* 802225A0 0021F500 C0 41 01 64 */ lfs f2, 0x164(r1) /* 802225A4 0021F504 C0 21 01 74 */ lfs f1, 0x174(r1) /* 802225A8 0021F508 C0 01 01 54 */ lfs f0, 0x154(r1) /* 802225AC 0021F50C EC C4 10 28 */ fsubs f6, f4, f2 /* 802225B0 0021F510 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 802225B4 0021F514 EC 43 08 28 */ fsubs f2, f3, f1 /* 802225B8 0021F518 EC 05 00 28 */ fsubs f0, f5, f0 /* 802225BC 0021F51C D0 81 00 A4 */ stfs f4, 0xa4(r1) /* 802225C0 0021F520 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 802225C4 0021F524 C0 9B 00 58 */ lfs f4, 0x58(r27) /* 802225C8 0021F528 C0 7B 00 48 */ lfs f3, 0x48(r27) /* 802225CC 0021F52C C0 3B 00 38 */ lfs f1, 0x38(r27) /* 802225D0 0021F530 D0 21 00 94 */ stfs f1, 0x94(r1) /* 802225D4 0021F534 D0 61 00 98 */ stfs f3, 0x98(r1) /* 802225D8 0021F538 D0 81 00 9C */ stfs f4, 0x9c(r1) /* 802225DC 0021F53C D0 01 00 88 */ stfs f0, 0x88(r1) /* 802225E0 0021F540 D0 C1 00 8C */ stfs f6, 0x8c(r1) /* 802225E4 0021F544 D0 41 00 90 */ stfs f2, 0x90(r1) /* 802225E8 0021F548 48 0F 20 49 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 802225EC 0021F54C C0 02 B4 4C */ lfs f0, lbl_805AD16C@sda21(r2) /* 802225F0 0021F550 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802225F4 0021F554 40 81 00 C8 */ ble lbl_802226BC /* 802225F8 0021F558 38 61 00 88 */ addi r3, r1, 0x88 /* 802225FC 0021F55C 48 0F 20 FD */ bl CanBeNormalized__9CVector3fCFv /* 80222600 0021F560 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80222604 0021F564 41 82 00 74 */ beq lbl_80222678 /* 80222608 0021F568 C0 02 B4 4C */ lfs f0, lbl_805AD16C@sda21(r2) /* 8022260C 0021F56C 38 61 00 4C */ addi r3, r1, 0x4c /* 80222610 0021F570 38 81 00 88 */ addi r4, r1, 0x88 /* 80222614 0021F574 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80222618 0021F578 48 0F 22 39 */ bl AsNormalized__9CVector3fCFv /* 8022261C 0021F57C 38 61 00 58 */ addi r3, r1, 0x58 /* 80222620 0021F580 38 81 00 94 */ addi r4, r1, 0x94 /* 80222624 0021F584 38 A1 00 4C */ addi r5, r1, 0x4c /* 80222628 0021F588 38 C1 00 20 */ addi r6, r1, 0x20 /* 8022262C 0021F58C 48 0F 23 29 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 80222630 0021F590 C3 C1 00 58 */ lfs f30, 0x58(r1) /* 80222634 0021F594 38 61 00 88 */ addi r3, r1, 0x88 /* 80222638 0021F598 C3 A1 00 5C */ lfs f29, 0x5c(r1) /* 8022263C 0021F59C C3 81 00 60 */ lfs f28, 0x60(r1) /* 80222640 0021F5A0 48 0F 22 79 */ bl Magnitude__9CVector3fCFv /* 80222644 0021F5A4 EC 81 07 72 */ fmuls f4, f1, f29 /* 80222648 0021F5A8 C0 A1 01 64 */ lfs f5, 0x164(r1) /* 8022264C 0021F5AC EC 41 07 32 */ fmuls f2, f1, f28 /* 80222650 0021F5B0 C0 61 01 74 */ lfs f3, 0x174(r1) /* 80222654 0021F5B4 EC 01 07 B2 */ fmuls f0, f1, f30 /* 80222658 0021F5B8 C0 21 01 54 */ lfs f1, 0x154(r1) /* 8022265C 0021F5BC EC 85 20 2A */ fadds f4, f5, f4 /* 80222660 0021F5C0 EC 43 10 2A */ fadds f2, f3, f2 /* 80222664 0021F5C4 EC 01 00 2A */ fadds f0, f1, f0 /* 80222668 0021F5C8 D0 81 00 A4 */ stfs f4, 0xa4(r1) /* 8022266C 0021F5CC D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 80222670 0021F5D0 D0 41 00 A8 */ stfs f2, 0xa8(r1) /* 80222674 0021F5D4 48 00 00 48 */ b lbl_802226BC lbl_80222678: /* 80222678 0021F5D8 38 61 00 88 */ addi r3, r1, 0x88 /* 8022267C 0021F5DC 48 0F 22 3D */ bl Magnitude__9CVector3fCFv /* 80222680 0021F5E0 C0 61 01 5C */ lfs f3, 0x15c(r1) /* 80222684 0021F5E4 C0 41 01 6C */ lfs f2, 0x16c(r1) /* 80222688 0021F5E8 C0 01 01 4C */ lfs f0, 0x14c(r1) /* 8022268C 0021F5EC EC 81 00 F2 */ fmuls f4, f1, f3 /* 80222690 0021F5F0 C0 A1 01 64 */ lfs f5, 0x164(r1) /* 80222694 0021F5F4 EC 41 00 B2 */ fmuls f2, f1, f2 /* 80222698 0021F5F8 C0 61 01 74 */ lfs f3, 0x174(r1) /* 8022269C 0021F5FC EC 01 00 32 */ fmuls f0, f1, f0 /* 802226A0 0021F600 C0 21 01 54 */ lfs f1, 0x154(r1) /* 802226A4 0021F604 EC 85 20 2A */ fadds f4, f5, f4 /* 802226A8 0021F608 EC 43 10 2A */ fadds f2, f3, f2 /* 802226AC 0021F60C EC 01 00 2A */ fadds f0, f1, f0 /* 802226B0 0021F610 D0 81 00 A4 */ stfs f4, 0xa4(r1) /* 802226B4 0021F614 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 802226B8 0021F618 D0 41 00 A8 */ stfs f2, 0xa8(r1) lbl_802226BC: /* 802226BC 0021F61C C0 41 01 54 */ lfs f2, 0x154(r1) /* 802226C0 0021F620 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802226C4 0021F624 C0 21 01 64 */ lfs f1, 0x164(r1) /* 802226C8 0021F628 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 802226CC 0021F62C C0 01 01 74 */ lfs f0, 0x174(r1) /* 802226D0 0021F630 38 61 00 B8 */ addi r3, r1, 0xb8 /* 802226D4 0021F634 D0 41 00 40 */ stfs f2, 0x40(r1) /* 802226D8 0021F638 38 81 00 40 */ addi r4, r1, 0x40 /* 802226DC 0021F63C 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 802226E0 0021F640 D0 21 00 44 */ stfs f1, 0x44(r1) /* 802226E4 0021F644 D0 01 00 48 */ stfs f0, 0x48(r1) /* 802226E8 0021F648 48 0F 14 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 802226EC 0021F64C 38 61 01 18 */ addi r3, r1, 0x118 /* 802226F0 0021F650 38 81 00 B8 */ addi r4, r1, 0xb8 /* 802226F4 0021F654 48 0F 04 81 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802226F8 0021F658 C0 02 B4 18 */ lfs f0, lbl_805AD138@sda21(r2) /* 802226FC 0021F65C 39 60 00 00 */ li r11, 0 /* 80222700 0021F660 99 61 00 3C */ stb r11, 0x3c(r1) /* 80222704 0021F664 38 01 00 24 */ addi r0, r1, 0x24 /* 80222708 0021F668 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) /* 8022270C 0021F66C 7F 63 DB 78 */ mr r3, r27 /* 80222710 0021F670 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80222714 0021F674 7F 85 E3 78 */ mr r5, r28 /* 80222718 0021F678 38 81 01 18 */ addi r4, r1, 0x118 /* 8022271C 0021F67C 39 21 00 30 */ addi r9, r1, 0x30 /* 80222720 0021F680 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80222724 0021F684 38 C0 00 04 */ li r6, 4 /* 80222728 0021F688 38 E0 00 00 */ li r7, 0 /* 8022272C 0021F68C 39 00 00 00 */ li r8, 0 /* 80222730 0021F690 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80222734 0021F694 91 61 00 08 */ stw r11, 8(r1) /* 80222738 0021F698 90 01 00 0C */ stw r0, 0xc(r1) /* 8022273C 0021F69C 4B E5 52 BD */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" /* 80222740 0021F6A0 88 01 00 3C */ lbz r0, 0x3c(r1) /* 80222744 0021F6A4 28 00 00 00 */ cmplwi r0, 0 /* 80222748 0021F6A8 41 82 00 1C */ beq lbl_80222764 /* 8022274C 0021F6AC 34 61 00 30 */ addic. r3, r1, 0x30 /* 80222750 0021F6B0 41 82 00 14 */ beq lbl_80222764 /* 80222754 0021F6B4 28 03 00 00 */ cmplwi r3, 0 /* 80222758 0021F6B8 41 82 00 0C */ beq lbl_80222764 /* 8022275C 0021F6BC 38 80 00 00 */ li r4, 0 /* 80222760 0021F6C0 48 11 E6 E1 */ bl __dt__6CTokenFv lbl_80222764: /* 80222764 0021F6C4 38 00 00 00 */ li r0, 0 /* 80222768 0021F6C8 3B E0 00 01 */ li r31, 1 /* 8022276C 0021F6CC 98 01 00 3C */ stb r0, 0x3c(r1) /* 80222770 0021F6D0 48 00 00 C0 */ b lbl_80222830 /* 80222774 0021F6D4 3B E0 00 01 */ li r31, 1 /* 80222778 0021F6D8 48 00 00 B8 */ b lbl_80222830 /* 8022277C 0021F6DC 4B FF AE 29 */ bl sub_8021d5a4 /* 80222780 0021F6E0 3B E0 00 01 */ li r31, 1 /* 80222784 0021F6E4 48 00 00 AC */ b lbl_80222830 /* 80222788 0021F6E8 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 8022278C 0021F6EC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80222790 0021F6F0 41 82 00 A0 */ beq lbl_80222830 /* 80222794 0021F6F4 A0 1B 09 80 */ lhz r0, 0x980(r27) /* 80222798 0021F6F8 7F 83 E3 78 */ mr r3, r28 /* 8022279C 0021F6FC 38 81 00 1C */ addi r4, r1, 0x1c /* 802227A0 0021F700 B0 01 00 1C */ sth r0, 0x1c(r1) /* 802227A4 0021F704 4B E2 9D D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802227A8 0021F708 28 03 00 00 */ cmplwi r3, 0 /* 802227AC 0021F70C 41 82 00 84 */ beq lbl_80222830 /* 802227B0 0021F710 7F 85 E3 78 */ mr r5, r28 /* 802227B4 0021F714 38 9B 00 34 */ addi r4, r27, 0x34 /* 802227B8 0021F718 38 C0 00 00 */ li r6, 0 /* 802227BC 0021F71C 4B F7 5B 31 */ bl Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb /* 802227C0 0021F720 48 00 00 70 */ b lbl_80222830 /* 802227C4 0021F724 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 802227C8 0021F728 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 802227CC 0021F72C 41 82 00 64 */ beq lbl_80222830 /* 802227D0 0021F730 A0 1B 09 80 */ lhz r0, 0x980(r27) /* 802227D4 0021F734 7F 83 E3 78 */ mr r3, r28 /* 802227D8 0021F738 38 81 00 18 */ addi r4, r1, 0x18 /* 802227DC 0021F73C B0 01 00 18 */ sth r0, 0x18(r1) /* 802227E0 0021F740 4B E2 9D 95 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802227E4 0021F744 28 03 00 00 */ cmplwi r3, 0 /* 802227E8 0021F748 41 82 00 48 */ beq lbl_80222830 /* 802227EC 0021F74C 7F 84 E3 78 */ mr r4, r28 /* 802227F0 0021F750 38 A0 00 00 */ li r5, 0 /* 802227F4 0021F754 4B F7 59 CD */ bl Reset__13CFlameThrowerFR13CStateManagerb /* 802227F8 0021F758 48 00 00 38 */ b lbl_80222830 /* 802227FC 0021F75C 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 80222800 0021F760 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80222804 0021F764 41 82 00 2C */ beq lbl_80222830 /* 80222808 0021F768 80 BC 08 4C */ lwz r5, 0x84c(r28) /* 8022280C 0021F76C 38 7B 08 F0 */ addi r3, r27, 0x8f0 /* 80222810 0021F770 38 81 00 14 */ addi r4, r1, 0x14 /* 80222814 0021F774 A0 05 00 08 */ lhz r0, 8(r5) /* 80222818 0021F778 B0 01 00 10 */ sth r0, 0x10(r1) /* 8022281C 0021F77C B0 01 00 14 */ sth r0, 0x14(r1) /* 80222820 0021F780 4B F5 29 F9 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 80222824 0021F784 38 7B 08 F0 */ addi r3, r27, 0x8f0 /* 80222828 0021F788 38 80 00 01 */ li r4, 1 /* 8022282C 0021F78C 4B F5 29 F9 */ bl SetActive__13CBoneTrackingFb lbl_80222830: /* 80222830 0021F790 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80222834 0021F794 40 82 00 1C */ bne lbl_80222850 /* 80222838 0021F798 FC 20 F8 90 */ fmr f1, f31 /* 8022283C 0021F79C 7F 63 DB 78 */ mr r3, r27 /* 80222840 0021F7A0 7F 84 E3 78 */ mr r4, r28 /* 80222844 0021F7A4 7F A5 EB 78 */ mr r5, r29 /* 80222848 0021F7A8 7F C6 F3 78 */ mr r6, r30 /* 8022284C 0021F7AC 4B E5 66 65 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_80222850: /* 80222850 0021F7B0 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 /* 80222854 0021F7B4 CB E1 01 C0 */ lfd f31, 0x1c0(r1) /* 80222858 0021F7B8 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 /* 8022285C 0021F7BC CB C1 01 B0 */ lfd f30, 0x1b0(r1) /* 80222860 0021F7C0 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 /* 80222864 0021F7C4 CB A1 01 A0 */ lfd f29, 0x1a0(r1) /* 80222868 0021F7C8 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 /* 8022286C 0021F7CC CB 81 01 90 */ lfd f28, 0x190(r1) /* 80222870 0021F7D0 BB 61 01 7C */ lmw r27, 0x17c(r1) /* 80222874 0021F7D4 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 80222878 0021F7D8 7C 08 03 A6 */ mtlr r0 /* 8022287C 0021F7DC 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 80222880 0021F7E0 4E 80 00 20 */ blr .global GetOrigin__9CBabygothCFv GetOrigin__9CBabygothCFv: /* 80222884 0021F7E4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80222888 0021F7E8 7C 08 02 A6 */ mflr r0 /* 8022288C 0021F7EC 90 01 00 64 */ stw r0, 0x64(r1) /* 80222890 0021F7F0 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80222894 0021F7F4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 80222898 0021F7F8 DB C1 00 40 */ stfd f30, 0x40(r1) /* 8022289C 0021F7FC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 802228A0 0021F800 DB A1 00 30 */ stfd f29, 0x30(r1) /* 802228A4 0021F804 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 802228A8 0021F808 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802228AC 0021F80C 93 C1 00 28 */ stw r30, 0x28(r1) /* 802228B0 0021F810 93 A1 00 24 */ stw r29, 0x24(r1) /* 802228B4 0021F814 C3 E4 00 60 */ lfs f31, 0x60(r4) /* 802228B8 0021F818 7C 7D 1B 78 */ mr r29, r3 /* 802228BC 0021F81C C0 07 00 08 */ lfs f0, 8(r7) /* 802228C0 0021F820 7C 9E 23 78 */ mr r30, r4 /* 802228C4 0021F824 C3 C4 00 50 */ lfs f30, 0x50(r4) /* 802228C8 0021F828 7C FF 3B 78 */ mr r31, r7 /* 802228CC 0021F82C EC 5F 00 28 */ fsubs f2, f31, f0 /* 802228D0 0021F830 C3 A4 00 40 */ lfs f29, 0x40(r4) /* 802228D4 0021F834 C0 27 00 04 */ lfs f1, 4(r7) /* 802228D8 0021F838 38 61 00 14 */ addi r3, r1, 0x14 /* 802228DC 0021F83C C0 07 00 00 */ lfs f0, 0(r7) /* 802228E0 0021F840 EC 7E 08 28 */ fsubs f3, f30, f1 /* 802228E4 0021F844 EC 3D 00 28 */ fsubs f1, f29, f0 /* 802228E8 0021F848 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 802228EC 0021F84C C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 802228F0 0021F850 D0 61 00 18 */ stfs f3, 0x18(r1) /* 802228F4 0021F854 D0 21 00 14 */ stfs f1, 0x14(r1) /* 802228F8 0021F858 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802228FC 0021F85C 48 0F 1D FD */ bl CanBeNormalized__9CVector3fCFv /* 80222900 0021F860 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80222904 0021F864 41 82 00 44 */ beq lbl_80222948 /* 80222908 0021F868 C3 FE 02 FC */ lfs f31, 0x2fc(r30) /* 8022290C 0021F86C 38 61 00 08 */ addi r3, r1, 8 /* 80222910 0021F870 38 81 00 14 */ addi r4, r1, 0x14 /* 80222914 0021F874 48 0F 1F 3D */ bl AsNormalized__9CVector3fCFv /* 80222918 0021F878 C0 41 00 08 */ lfs f2, 8(r1) /* 8022291C 0021F87C C0 21 00 0C */ lfs f1, 0xc(r1) /* 80222920 0021F880 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80222924 0021F884 EC 9F 00 B2 */ fmuls f4, f31, f2 /* 80222928 0021F888 C0 BF 00 00 */ lfs f5, 0(r31) /* 8022292C 0021F88C EC 5F 00 72 */ fmuls f2, f31, f1 /* 80222930 0021F890 C0 7F 00 04 */ lfs f3, 4(r31) /* 80222934 0021F894 EC 1F 00 32 */ fmuls f0, f31, f0 /* 80222938 0021F898 C0 3F 00 08 */ lfs f1, 8(r31) /* 8022293C 0021F89C EF A5 20 2A */ fadds f29, f5, f4 /* 80222940 0021F8A0 EF C3 10 2A */ fadds f30, f3, f2 /* 80222944 0021F8A4 EF E1 00 2A */ fadds f31, f1, f0 lbl_80222948: /* 80222948 0021F8A8 D3 BD 00 00 */ stfs f29, 0(r29) /* 8022294C 0021F8AC D3 DD 00 04 */ stfs f30, 4(r29) /* 80222950 0021F8B0 D3 FD 00 08 */ stfs f31, 8(r29) /* 80222954 0021F8B4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80222958 0021F8B8 CB E1 00 50 */ lfd f31, 0x50(r1) /* 8022295C 0021F8BC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 80222960 0021F8C0 CB C1 00 40 */ lfd f30, 0x40(r1) /* 80222964 0021F8C4 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 80222968 0021F8C8 CB A1 00 30 */ lfd f29, 0x30(r1) /* 8022296C 0021F8CC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80222970 0021F8D0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80222974 0021F8D4 80 01 00 64 */ lwz r0, 0x64(r1) /* 80222978 0021F8D8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8022297C 0021F8DC 7C 08 03 A6 */ mtlr r0 /* 80222980 0021F8E0 38 21 00 60 */ addi r1, r1, 0x60 /* 80222984 0021F8E4 4E 80 00 20 */ blr .global Listen__9CBabygothFRC9CVector3f16EListenNoiseType Listen__9CBabygothFRC9CVector3f16EListenNoiseType: /* 80222988 0021F8E8 88 03 04 00 */ lbz r0, 0x400(r3) /* 8022298C 0021F8EC 38 C0 00 00 */ li r6, 0 /* 80222990 0021F8F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80222994 0021F8F4 41 82 00 58 */ beq lbl_802229EC /* 80222998 0021F8F8 2C 05 00 00 */ cmpwi r5, 0 /* 8022299C 0021F8FC 40 82 00 50 */ bne lbl_802229EC /* 802229A0 0021F900 C0 24 00 04 */ lfs f1, 4(r4) /* 802229A4 0021F904 C0 03 00 50 */ lfs f0, 0x50(r3) /* 802229A8 0021F908 C0 64 00 00 */ lfs f3, 0(r4) /* 802229AC 0021F90C EC 21 00 28 */ fsubs f1, f1, f0 /* 802229B0 0021F910 C0 03 00 40 */ lfs f0, 0x40(r3) /* 802229B4 0021F914 C0 44 00 08 */ lfs f2, 8(r4) /* 802229B8 0021F918 EC 63 00 28 */ fsubs f3, f3, f0 /* 802229BC 0021F91C C0 03 00 60 */ lfs f0, 0x60(r3) /* 802229C0 0021F920 EC 21 00 72 */ fmuls f1, f1, f1 /* 802229C4 0021F924 EC 42 00 28 */ fsubs f2, f2, f0 /* 802229C8 0021F928 C0 02 B4 60 */ lfs f0, lbl_805AD180@sda21(r2) /* 802229CC 0021F92C EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 802229D0 0021F930 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 802229D4 0021F934 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802229D8 0021F938 40 80 00 14 */ bge lbl_802229EC /* 802229DC 0021F93C 88 03 0A 48 */ lbz r0, 0xa48(r3) /* 802229E0 0021F940 38 C0 00 01 */ li r6, 1 /* 802229E4 0021F944 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e /* 802229E8 0021F948 98 03 0A 48 */ stb r0, 0xa48(r3) lbl_802229EC: /* 802229EC 0021F94C 54 C3 06 3E */ clrlwi r3, r6, 0x18 /* 802229F0 0021F950 4E 80 00 20 */ blr .global GetDamageVulnerability__9CBabygothCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__9CBabygothCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 802229F4 0021F954 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha /* 802229F8 0021F958 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l /* 802229FC 0021F95C 4E 80 00 20 */ blr .global GetDamageVulnerability__9CBabygothCFv GetDamageVulnerability__9CBabygothCFv: /* 80222A00 0021F960 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha /* 80222A04 0021F964 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l /* 80222A08 0021F968 4E 80 00 20 */ blr .global TakeDamage__9CBabygothFRC9CVector3ff TakeDamage__9CBabygothFRC9CVector3ff: /* 80222A0C 0021F96C 88 03 04 00 */ lbz r0, 0x400(r3) /* 80222A10 0021F970 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80222A14 0021F974 4D 82 00 20 */ beqlr /* 80222A18 0021F978 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) /* 80222A1C 0021F97C D0 03 04 28 */ stfs f0, 0x428(r3) /* 80222A20 0021F980 4E 80 00 20 */ blr .global Shock__9CBabygothFff Shock__9CBabygothFff: /* 80222A24 0021F984 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80222A28 0021F988 7C 08 02 A6 */ mflr r0 /* 80222A2C 0021F98C 90 01 00 54 */ stw r0, 0x54(r1) /* 80222A30 0021F990 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80222A34 0021F994 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80222A38 0021F998 DB C1 00 30 */ stfd f30, 0x30(r1) /* 80222A3C 0021F99C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 80222A40 0021F9A0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80222A44 0021F9A4 80 03 09 F8 */ lwz r0, 0x9f8(r3) /* 80222A48 0021F9A8 FF C0 08 90 */ fmr f30, f1 /* 80222A4C 0021F9AC FF E0 10 90 */ fmr f31, f2 /* 80222A50 0021F9B0 7C 7F 1B 78 */ mr r31, r3 /* 80222A54 0021F9B4 2C 00 00 00 */ cmpwi r0, 0 /* 80222A58 0021F9B8 41 82 00 C4 */ beq lbl_80222B1C /* 80222A5C 0021F9BC A0 1F 09 FC */ lhz r0, 0x9fc(r31) /* 80222A60 0021F9C0 7C 83 23 78 */ mr r3, r4 /* 80222A64 0021F9C4 38 81 00 08 */ addi r4, r1, 8 /* 80222A68 0021F9C8 B0 01 00 08 */ sth r0, 8(r1) /* 80222A6C 0021F9CC 4B E2 9B 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80222A70 0021F9D0 7C 64 1B 78 */ mr r4, r3 /* 80222A74 0021F9D4 38 61 00 0C */ addi r3, r1, 0xc /* 80222A78 0021F9D8 4B E8 C8 D5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80222A7C 0021F9DC 80 63 00 04 */ lwz r3, 4(r3) /* 80222A80 0021F9E0 28 03 00 00 */ cmplwi r3, 0 /* 80222A84 0021F9E4 41 82 00 98 */ beq lbl_80222B1C /* 80222A88 0021F9E8 88 01 00 18 */ lbz r0, 0x18(r1) /* 80222A8C 0021F9EC 38 80 00 00 */ li r4, 0 /* 80222A90 0021F9F0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80222A94 0021F9F4 38 A0 00 02 */ li r5, 2 /* 80222A98 0021F9F8 98 01 00 18 */ stb r0, 0x18(r1) /* 80222A9C 0021F9FC 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 80222AA0 0021FA00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80222AA4 0021FA04 98 01 00 18 */ stb r0, 0x18(r1) /* 80222AA8 0021FA08 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 80222AAC 0021FA0C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 80222AB0 0021FA10 90 A1 00 14 */ stw r5, 0x14(r1) /* 80222AB4 0021FA14 98 01 00 18 */ stb r0, 0x18(r1) /* 80222AB8 0021FA18 81 83 00 00 */ lwz r12, 0(r3) /* 80222ABC 0021FA1C 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80222AC0 0021FA20 7D 89 03 A6 */ mtctr r12 /* 80222AC4 0021FA24 4E 80 04 21 */ bctrl /* 80222AC8 0021FA28 38 81 00 14 */ addi r4, r1, 0x14 /* 80222ACC 0021FA2C 38 A0 00 00 */ li r5, 0 /* 80222AD0 0021FA30 4B ED F9 ED */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode /* 80222AD4 0021FA34 2C 03 00 01 */ cmpwi r3, 1 /* 80222AD8 0021FA38 41 82 00 34 */ beq lbl_80222B0C /* 80222ADC 0021FA3C 40 80 00 40 */ bge lbl_80222B1C /* 80222AE0 0021FA40 2C 03 00 00 */ cmpwi r3, 0 /* 80222AE4 0021FA44 40 80 00 08 */ bge lbl_80222AEC /* 80222AE8 0021FA48 48 00 00 34 */ b lbl_80222B1C lbl_80222AEC: /* 80222AEC 0021FA4C C0 02 B4 34 */ lfs f0, lbl_805AD154@sda21(r2) /* 80222AF0 0021FA50 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80222AF4 0021FA54 EC 20 07 B2 */ fmuls f1, f0, f30 /* 80222AF8 0021FA58 4B F1 74 75 */ bl SetElectrocuting__15CBodyControllerFf /* 80222AFC 0021FA5C C0 02 B4 34 */ lfs f0, lbl_805AD154@sda21(r2) /* 80222B00 0021FA60 EC 00 07 F2 */ fmuls f0, f0, f31 /* 80222B04 0021FA64 D0 1F 03 F0 */ stfs f0, 0x3f0(r31) /* 80222B08 0021FA68 48 00 00 14 */ b lbl_80222B1C lbl_80222B0C: /* 80222B0C 0021FA6C FC 20 F0 90 */ fmr f1, f30 /* 80222B10 0021FA70 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80222B14 0021FA74 4B F1 74 59 */ bl SetElectrocuting__15CBodyControllerFf /* 80222B18 0021FA78 D3 FF 03 F0 */ stfs f31, 0x3f0(r31) lbl_80222B1C: /* 80222B1C 0021FA7C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80222B20 0021FA80 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80222B24 0021FA84 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 80222B28 0021FA88 CB C1 00 30 */ lfd f30, 0x30(r1) /* 80222B2C 0021FA8C 80 01 00 54 */ lwz r0, 0x54(r1) /* 80222B30 0021FA90 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80222B34 0021FA94 7C 08 03 A6 */ mtlr r0 /* 80222B38 0021FA98 38 21 00 50 */ addi r1, r1, 0x50 /* 80222B3C 0021FA9C 4E 80 00 20 */ blr .global KnockBack__9CBabygothFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef KnockBack__9CBabygothFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: /* 80222B40 0021FAA0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80222B44 0021FAA4 7C 08 02 A6 */ mflr r0 /* 80222B48 0021FAA8 90 01 00 44 */ stw r0, 0x44(r1) /* 80222B4C 0021FAAC DB E1 00 38 */ stfd f31, 0x38(r1) /* 80222B50 0021FAB0 FF E0 08 90 */ fmr f31, f1 /* 80222B54 0021FAB4 BF 41 00 20 */ stmw r26, 0x20(r1) /* 80222B58 0021FAB8 7C 9B 23 78 */ mr r27, r4 /* 80222B5C 0021FABC 7C 7A 1B 78 */ mr r26, r3 /* 80222B60 0021FAC0 7C BC 2B 78 */ mr r28, r5 /* 80222B64 0021FAC4 7C DD 33 78 */ mr r29, r6 /* 80222B68 0021FAC8 7C FE 3B 78 */ mr r30, r7 /* 80222B6C 0021FACC 7D 1F 43 78 */ mr r31, r8 /* 80222B70 0021FAD0 38 80 00 03 */ li r4, 3 /* 80222B74 0021FAD4 80 03 05 6C */ lwz r0, 0x56c(r3) /* 80222B78 0021FAD8 38 7A 04 60 */ addi r3, r26, 0x460 /* 80222B7C 0021FADC 20 00 00 03 */ subfic r0, r0, 3 /* 80222B80 0021FAE0 7C 00 00 34 */ cntlzw r0, r0 /* 80222B84 0021FAE4 54 05 D9 7E */ srwi r5, r0, 5 /* 80222B88 0021FAE8 48 01 12 3D */ bl SetAvailableState__20CKnockBackControllerFib /* 80222B8C 0021FAEC FC 20 F8 90 */ fmr f1, f31 /* 80222B90 0021FAF0 7F 43 D3 78 */ mr r3, r26 /* 80222B94 0021FAF4 7F 64 DB 78 */ mr r4, r27 /* 80222B98 0021FAF8 7F 85 E3 78 */ mr r5, r28 /* 80222B9C 0021FAFC 7F A6 EB 78 */ mr r6, r29 /* 80222BA0 0021FB00 7F C7 F3 78 */ mr r7, r30 /* 80222BA4 0021FB04 7F E8 FB 78 */ mr r8, r31 /* 80222BA8 0021FB08 4B E5 7B D5 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef /* 80222BAC 0021FB0C 88 1A 04 00 */ lbz r0, 0x400(r26) /* 80222BB0 0021FB10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80222BB4 0021FB14 41 82 00 50 */ beq lbl_80222C04 /* 80222BB8 0021FB18 80 1A 04 64 */ lwz r0, 0x464(r26) /* 80222BBC 0021FB1C 2C 00 00 03 */ cmpwi r0, 3 /* 80222BC0 0021FB20 41 82 00 08 */ beq lbl_80222BC8 /* 80222BC4 0021FB24 48 00 00 40 */ b lbl_80222C04 lbl_80222BC8: /* 80222BC8 0021FB28 3C 80 80 3D */ lis r4, lbl_803D31D0@ha /* 80222BCC 0021FB2C 38 61 00 08 */ addi r3, r1, 8 /* 80222BD0 0021FB30 38 84 31 D0 */ addi r4, r4, lbl_803D31D0@l /* 80222BD4 0021FB34 38 84 00 4C */ addi r4, r4, 0x4c /* 80222BD8 0021FB38 4B DE 20 E1 */ bl string_l__4rstlFPCc /* 80222BDC 0021FB3C 7F 43 D3 78 */ mr r3, r26 /* 80222BE0 0021FB40 4B E7 FD 19 */ bl GetStateMachine__3CAiFv /* 80222BE4 0021FB44 7C 66 1B 78 */ mr r6, r3 /* 80222BE8 0021FB48 7F 84 E3 78 */ mr r4, r28 /* 80222BEC 0021FB4C 7F 45 D3 78 */ mr r5, r26 /* 80222BF0 0021FB50 38 7A 03 30 */ addi r3, r26, 0x330 /* 80222BF4 0021FB54 38 E1 00 08 */ addi r7, r1, 8 /* 80222BF8 0021FB58 4B E5 D0 0D */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80222BFC 0021FB5C 38 61 00 08 */ addi r3, r1, 8 /* 80222C00 0021FB60 48 11 AE E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80222C04: /* 80222C04 0021FB64 CB E1 00 38 */ lfd f31, 0x38(r1) /* 80222C08 0021FB68 BB 41 00 20 */ lmw r26, 0x20(r1) /* 80222C0C 0021FB6C 80 01 00 44 */ lwz r0, 0x44(r1) /* 80222C10 0021FB70 7C 08 03 A6 */ mtlr r0 /* 80222C14 0021FB74 38 21 00 40 */ addi r1, r1, 0x40 /* 80222C18 0021FB78 4E 80 00 20 */ blr .global ProjectileInfo__9CBabygothFv ProjectileInfo__9CBabygothFv: /* 80222C1C 0021FB7C 38 63 09 58 */ addi r3, r3, 0x958 /* 80222C20 0021FB80 4E 80 00 20 */ blr .global PreRender__9CBabygothFR13CStateManagerRC14CFrustumPlanes PreRender__9CBabygothFR13CStateManagerRC14CFrustumPlanes: /* 80222C24 0021FB84 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80222C28 0021FB88 7C 08 02 A6 */ mflr r0 /* 80222C2C 0021FB8C 90 01 00 14 */ stw r0, 0x14(r1) /* 80222C30 0021FB90 93 E1 00 0C */ stw r31, 0xc(r1) /* 80222C34 0021FB94 7C 7F 1B 78 */ mr r31, r3 /* 80222C38 0021FB98 4B E5 56 A5 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes /* 80222C3C 0021FB9C 80 7F 0A 04 */ lwz r3, 0xa04(r31) /* 80222C40 0021FBA0 98 7F 00 B5 */ stb r3, 0xb5(r31) /* 80222C44 0021FBA4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80222C48 0021FBA8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80222C4C 0021FBAC 7C 08 03 A6 */ mtlr r0 /* 80222C50 0021FBB0 38 21 00 10 */ addi r1, r1, 0x10 /* 80222C54 0021FBB4 4E 80 00 20 */ blr .global Render__9CBabygothCFRC13CStateManager Render__9CBabygothCFRC13CStateManager: /* 80222C58 0021FBB8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80222C5C 0021FBBC 7C 08 02 A6 */ mflr r0 /* 80222C60 0021FBC0 90 01 00 14 */ stw r0, 0x14(r1) /* 80222C64 0021FBC4 4B E5 53 C9 */ bl Render__10CPatternedCFRC13CStateManager /* 80222C68 0021FBC8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80222C6C 0021FBCC 7C 08 03 A6 */ mtlr r0 /* 80222C70 0021FBD0 38 21 00 10 */ addi r1, r1, 0x10 /* 80222C74 0021FBD4 4E 80 00 20 */ blr .global AcceptScriptMsg__9CBabygothF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__9CBabygothF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80222C78 0021FBD8 94 21 FE F0 */ stwu r1, -0x110(r1) /* 80222C7C 0021FBDC 7C 08 02 A6 */ mflr r0 /* 80222C80 0021FBE0 90 01 01 14 */ stw r0, 0x114(r1) /* 80222C84 0021FBE4 DB E1 01 00 */ stfd f31, 0x100(r1) /* 80222C88 0021FBE8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 80222C8C 0021FBEC BF 41 00 E8 */ stmw r26, 0xe8(r1) /* 80222C90 0021FBF0 7C 9C 23 78 */ mr r28, r4 /* 80222C94 0021FBF4 7C 7B 1B 78 */ mr r27, r3 /* 80222C98 0021FBF8 28 1C 00 30 */ cmplwi r28, 0x30 /* 80222C9C 0021FBFC 7C BD 2B 78 */ mr r29, r5 /* 80222CA0 0021FC00 7C DE 33 78 */ mr r30, r6 /* 80222CA4 0021FC04 3B E0 00 01 */ li r31, 1 /* 80222CA8 0021FC08 41 81 05 D8 */ bgt lbl_80223280 /* 80222CAC 0021FC0C 3C 80 80 3E */ lis r4, lbl_803E767C@ha /* 80222CB0 0021FC10 57 80 10 3A */ slwi r0, r28, 2 /* 80222CB4 0021FC14 38 84 76 7C */ addi r4, r4, lbl_803E767C@l /* 80222CB8 0021FC18 7C 04 00 2E */ lwzx r0, r4, r0 /* 80222CBC 0021FC1C 7C 09 03 A6 */ mtctr r0 /* 80222CC0 0021FC20 4E 80 04 20 */ bctr /* 80222CC4 0021FC24 81 83 00 00 */ lwz r12, 0(r3) /* 80222CC8 0021FC28 7F C4 F3 78 */ mr r4, r30 /* 80222CCC 0021FC2C C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80222CD0 0021FC30 81 8C 01 C0 */ lwz r12, 0x1c0(r12) /* 80222CD4 0021FC34 7D 89 03 A6 */ mtctr r12 /* 80222CD8 0021FC38 4E 80 04 21 */ bctrl /* 80222CDC 0021FC3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80222CE0 0021FC40 40 82 00 10 */ bne lbl_80222CF0 /* 80222CE4 0021FC44 80 7B 04 50 */ lwz r3, 0x450(r27) /* 80222CE8 0021FC48 38 80 00 00 */ li r4, 0 /* 80222CEC 0021FC4C 4B F1 7C ED */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType lbl_80222CF0: /* 80222CF0 0021FC50 80 7B 04 50 */ lwz r3, 0x450(r27) /* 80222CF4 0021FC54 7F C4 F3 78 */ mr r4, r30 /* 80222CF8 0021FC58 4B F1 7F F9 */ bl Activate__15CBodyControllerFR13CStateManager /* 80222CFC 0021FC5C 7F 63 DB 78 */ mr r3, r27 /* 80222D00 0021FC60 7F C4 F3 78 */ mr r4, r30 /* 80222D04 0021FC64 4B FF C4 9D */ bl sub_8021f1a0 /* 80222D08 0021FC68 7F 63 DB 78 */ mr r3, r27 /* 80222D0C 0021FC6C 7F C4 F3 78 */ mr r4, r30 /* 80222D10 0021FC70 4B FF B4 51 */ bl sub_8021e160 /* 80222D14 0021FC74 80 7B 04 50 */ lwz r3, 0x450(r27) /* 80222D18 0021FC78 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80222D1C 0021FC7C 4B F1 11 91 */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 80222D20 0021FC80 FF E0 08 90 */ fmr f31, f1 /* 80222D24 0021FC84 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80222D28 0021FC88 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 80222D2C 0021FC8C 40 81 00 1C */ ble lbl_80222D48 /* 80222D30 0021FC90 80 7B 04 50 */ lwz r3, 0x450(r27) /* 80222D34 0021FC94 38 80 00 01 */ li r4, 1 /* 80222D38 0021FC98 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80222D3C 0021FC9C 4B F1 10 99 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim /* 80222D40 0021FCA0 EC 41 F8 24 */ fdivs f2, f1, f31 /* 80222D44 0021FCA4 48 00 00 08 */ b lbl_80222D4C lbl_80222D48: /* 80222D48 0021FCA8 C0 42 B4 18 */ lfs f2, lbl_805AD138@sda21(r2) lbl_80222D4C: /* 80222D4C 0021FCAC 80 7B 04 50 */ lwz r3, 0x450(r27) /* 80222D50 0021FCB0 38 00 00 02 */ li r0, 2 /* 80222D54 0021FCB4 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80222D58 0021FCB8 90 03 00 34 */ stw r0, 0x34(r3) /* 80222D5C 0021FCBC 80 7B 04 50 */ lwz r3, 0x450(r27) /* 80222D60 0021FCC0 38 63 00 04 */ addi r3, r3, 4 /* 80222D64 0021FCC4 4B F0 EA 85 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff /* 80222D68 0021FCC8 80 82 B3 F4 */ lwz r4, lbl_805AD114@sda21(r2) /* 80222D6C 0021FCCC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80222D70 0021FCD0 4B DE 1F 49 */ bl string_l__4rstlFPCc /* 80222D74 0021FCD4 80 9B 00 64 */ lwz r4, 0x64(r27) /* 80222D78 0021FCD8 38 61 00 08 */ addi r3, r1, 8 /* 80222D7C 0021FCDC 38 A1 00 A0 */ addi r5, r1, 0xa0 /* 80222D80 0021FCE0 80 84 00 10 */ lwz r4, 0x10(r4) /* 80222D84 0021FCE4 4B E0 BA B5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80222D88 0021FCE8 88 01 00 08 */ lbz r0, 8(r1) /* 80222D8C 0021FCEC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80222D90 0021FCF0 98 1B 09 F4 */ stb r0, 0x9f4(r27) /* 80222D94 0021FCF4 48 11 AD 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80222D98 0021FCF8 48 00 04 E8 */ b lbl_80223280 /* 80222D9C 0021FCFC 80 7B 09 28 */ lwz r3, 0x928(r27) /* 80222DA0 0021FD00 7F C4 F3 78 */ mr r4, r30 /* 80222DA4 0021FD04 38 A0 00 01 */ li r5, 1 /* 80222DA8 0021FD08 4B F8 45 51 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 80222DAC 0021FD0C 48 00 04 D4 */ b lbl_80223280 /* 80222DB0 0021FD10 80 7B 09 28 */ lwz r3, 0x928(r27) /* 80222DB4 0021FD14 7F C4 F3 78 */ mr r4, r30 /* 80222DB8 0021FD18 38 A0 00 00 */ li r5, 0 /* 80222DBC 0021FD1C 4B F8 45 3D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 80222DC0 0021FD20 88 1B 0A 49 */ lbz r0, 0xa49(r27) /* 80222DC4 0021FD24 38 60 00 00 */ li r3, 0 /* 80222DC8 0021FD28 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80222DCC 0021FD2C 7F 63 DB 78 */ mr r3, r27 /* 80222DD0 0021FD30 98 1B 0A 49 */ stb r0, 0xa49(r27) /* 80222DD4 0021FD34 7F C4 F3 78 */ mr r4, r30 /* 80222DD8 0021FD38 4B FF A8 6D */ bl sub_8021d644 /* 80222DDC 0021FD3C 48 00 04 A4 */ b lbl_80223280 /* 80222DE0 0021FD40 80 7B 09 28 */ lwz r3, 0x928(r27) /* 80222DE4 0021FD44 7F C4 F3 78 */ mr r4, r30 /* 80222DE8 0021FD48 4B F8 45 DD */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 80222DEC 0021FD4C A0 7B 09 80 */ lhz r3, 0x980(r27) /* 80222DF0 0021FD50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80222DF4 0021FD54 7C 03 00 40 */ cmplw r3, r0 /* 80222DF8 0021FD58 41 82 00 20 */ beq lbl_80222E18 /* 80222DFC 0021FD5C A0 1B 09 80 */ lhz r0, 0x980(r27) /* 80222E00 0021FD60 7F C3 F3 78 */ mr r3, r30 /* 80222E04 0021FD64 38 81 00 3C */ addi r4, r1, 0x3c /* 80222E08 0021FD68 B0 01 00 3C */ sth r0, 0x3c(r1) /* 80222E0C 0021FD6C 4B E2 94 61 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 80222E10 0021FD70 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80222E14 0021FD74 B0 1B 09 80 */ sth r0, 0x980(r27) lbl_80222E18: /* 80222E18 0021FD78 7F 63 DB 78 */ mr r3, r27 /* 80222E1C 0021FD7C 7F C4 F3 78 */ mr r4, r30 /* 80222E20 0021FD80 4B FF A8 25 */ bl sub_8021d644 /* 80222E24 0021FD84 48 00 04 5C */ b lbl_80223280 /* 80222E28 0021FD88 80 9B 04 50 */ lwz r4, 0x450(r27) /* 80222E2C 0021FD8C 88 04 03 00 */ lbz r0, 0x300(r4) /* 80222E30 0021FD90 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80222E34 0021FD94 40 82 00 50 */ bne lbl_80222E84 /* 80222E38 0021FD98 81 83 00 00 */ lwz r12, 0(r3) /* 80222E3C 0021FD9C C3 FB 00 E8 */ lfs f31, 0xe8(r27) /* 80222E40 0021FDA0 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 80222E44 0021FDA4 7D 89 03 A6 */ mtctr r12 /* 80222E48 0021FDA8 4E 80 04 21 */ bctrl /* 80222E4C 0021FDAC EC 01 07 F2 */ fmuls f0, f1, f31 /* 80222E50 0021FDB0 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80222E54 0021FDB4 38 C0 00 00 */ li r6, 0 /* 80222E58 0021FDB8 7F 63 DB 78 */ mr r3, r27 /* 80222E5C 0021FDBC D0 3B 01 50 */ stfs f1, 0x150(r27) /* 80222E60 0021FDC0 7F C5 F3 78 */ mr r5, r30 /* 80222E64 0021FDC4 FC 00 00 50 */ fneg f0, f0 /* 80222E68 0021FDC8 D0 3B 01 54 */ stfs f1, 0x154(r27) /* 80222E6C 0021FDCC 38 80 00 25 */ li r4, 0x25 /* 80222E70 0021FDD0 D0 1B 01 58 */ stfs f0, 0x158(r27) /* 80222E74 0021FDD4 88 1B 03 28 */ lbz r0, 0x328(r27) /* 80222E78 0021FDD8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 80222E7C 0021FDDC 98 1B 03 28 */ stb r0, 0x328(r27) /* 80222E80 0021FDE0 4B E3 11 01 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_80222E84: /* 80222E84 0021FDE4 3B E0 00 00 */ li r31, 0 /* 80222E88 0021FDE8 48 00 03 F8 */ b lbl_80223280 /* 80222E8C 0021FDEC 3C 80 80 5A */ lis r4, skZero3f@ha /* 80222E90 0021FDF0 38 C0 00 01 */ li r6, 1 /* 80222E94 0021FDF4 38 E4 66 A0 */ addi r7, r4, skZero3f@l /* 80222E98 0021FDF8 7F C5 F3 78 */ mr r5, r30 /* 80222E9C 0021FDFC C0 07 00 00 */ lfs f0, 0(r7) /* 80222EA0 0021FE00 38 80 00 25 */ li r4, 0x25 /* 80222EA4 0021FE04 D0 1B 01 50 */ stfs f0, 0x150(r27) /* 80222EA8 0021FE08 C0 07 00 04 */ lfs f0, 4(r7) /* 80222EAC 0021FE0C D0 1B 01 54 */ stfs f0, 0x154(r27) /* 80222EB0 0021FE10 C0 07 00 08 */ lfs f0, 8(r7) /* 80222EB4 0021FE14 D0 1B 01 58 */ stfs f0, 0x158(r27) /* 80222EB8 0021FE18 88 1B 03 28 */ lbz r0, 0x328(r27) /* 80222EBC 0021FE1C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 80222EC0 0021FE20 98 1B 03 28 */ stb r0, 0x328(r27) /* 80222EC4 0021FE24 4B E3 14 8D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80222EC8 0021FE28 3B E0 00 00 */ li r31, 0 /* 80222ECC 0021FE2C 48 00 03 B4 */ b lbl_80223280 /* 80222ED0 0021FE30 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 80222ED4 0021FE34 38 60 00 01 */ li r3, 1 /* 80222ED8 0021FE38 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80222EDC 0021FE3C 98 1B 0A 48 */ stb r0, 0xa48(r27) /* 80222EE0 0021FE40 48 00 03 A0 */ b lbl_80223280 /* 80222EE4 0021FE44 80 BB 00 04 */ lwz r5, 4(r27) /* 80222EE8 0021FE48 80 9E 08 50 */ lwz r4, 0x850(r30) /* 80222EEC 0021FE4C 54 A3 18 38 */ slwi r3, r5, 3 /* 80222EF0 0021FE50 90 A1 00 50 */ stw r5, 0x50(r1) /* 80222EF4 0021FE54 80 84 00 20 */ lwz r4, 0x20(r4) /* 80222EF8 0021FE58 38 03 00 04 */ addi r0, r3, 4 /* 80222EFC 0021FE5C 90 A1 00 4C */ stw r5, 0x4c(r1) /* 80222F00 0021FE60 7C 84 00 2E */ lwzx r4, r4, r0 /* 80222F04 0021FE64 80 64 01 2C */ lwz r3, 0x12c(r4) /* 80222F08 0021FE68 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 80222F0C 0021FE6C 90 1B 06 EC */ stw r0, 0x6ec(r27) /* 80222F10 0021FE70 80 64 01 2C */ lwz r3, 0x12c(r4) /* 80222F14 0021FE74 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 80222F18 0021FE78 90 1B 07 D0 */ stw r0, 0x7d0(r27) /* 80222F1C 0021FE7C A0 7B 06 E8 */ lhz r3, 0x6e8(r27) /* 80222F20 0021FE80 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80222F24 0021FE84 7C 03 00 40 */ cmplw r3, r0 /* 80222F28 0021FE88 40 82 03 58 */ bne lbl_80223280 /* 80222F2C 0021FE8C 7F 64 DB 78 */ mr r4, r27 /* 80222F30 0021FE90 7F C5 F3 78 */ mr r5, r30 /* 80222F34 0021FE94 38 61 00 38 */ addi r3, r1, 0x38 /* 80222F38 0021FE98 48 01 72 B1 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager /* 80222F3C 0021FE9C A0 01 00 38 */ lhz r0, 0x38(r1) /* 80222F40 0021FEA0 B0 1B 06 E8 */ sth r0, 0x6e8(r27) /* 80222F44 0021FEA4 48 00 03 3C */ b lbl_80223280 /* 80222F48 0021FEA8 A0 1D 00 00 */ lhz r0, 0(r29) /* 80222F4C 0021FEAC 7F C5 F3 78 */ mr r5, r30 /* 80222F50 0021FEB0 38 81 00 34 */ addi r4, r1, 0x34 /* 80222F54 0021FEB4 B0 01 00 34 */ sth r0, 0x34(r1) /* 80222F58 0021FEB8 4B FF C5 5D */ bl sub_8021f4b4 /* 80222F5C 0021FEBC A0 1D 00 00 */ lhz r0, 0(r29) /* 80222F60 0021FEC0 7F C3 F3 78 */ mr r3, r30 /* 80222F64 0021FEC4 38 81 00 30 */ addi r4, r1, 0x30 /* 80222F68 0021FEC8 B0 01 00 30 */ sth r0, 0x30(r1) /* 80222F6C 0021FECC 4B E2 96 09 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80222F70 0021FED0 7C 64 1B 78 */ mr r4, r3 /* 80222F74 0021FED4 38 61 00 74 */ addi r3, r1, 0x74 /* 80222F78 0021FED8 4B E8 C3 D5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80222F7C 0021FEDC 80 83 00 04 */ lwz r4, 4(r3) /* 80222F80 0021FEE0 28 04 00 00 */ cmplwi r4, 0 /* 80222F84 0021FEE4 41 82 02 FC */ beq lbl_80223280 /* 80222F88 0021FEE8 38 61 00 2C */ addi r3, r1, 0x2c /* 80222F8C 0021FEEC 4B F8 5C 01 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 80222F90 0021FEF0 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80222F94 0021FEF4 7F C3 F3 78 */ mr r3, r30 /* 80222F98 0021FEF8 38 81 00 28 */ addi r4, r1, 0x28 /* 80222F9C 0021FEFC B0 01 00 44 */ sth r0, 0x44(r1) /* 80222FA0 0021FF00 B0 01 00 28 */ sth r0, 0x28(r1) /* 80222FA4 0021FF04 4B E2 96 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80222FA8 0021FF08 7C 64 1B 78 */ mr r4, r3 /* 80222FAC 0021FF0C 38 61 00 5C */ addi r3, r1, 0x5c /* 80222FB0 0021FF10 4B E8 28 E9 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 80222FB4 0021FF14 80 83 00 04 */ lwz r4, 4(r3) /* 80222FB8 0021FF18 28 04 00 00 */ cmplwi r4, 0 /* 80222FBC 0021FF1C 41 82 02 C4 */ beq lbl_80223280 /* 80222FC0 0021FF20 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80222FC4 0021FF24 A0 84 00 EC */ lhz r4, 0xec(r4) /* 80222FC8 0021FF28 A0 03 00 08 */ lhz r0, 8(r3) /* 80222FCC 0021FF2C 7C 04 00 40 */ cmplw r4, r0 /* 80222FD0 0021FF30 40 82 02 B0 */ bne lbl_80223280 /* 80222FD4 0021FF34 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 80222FD8 0021FF38 38 60 00 01 */ li r3, 1 /* 80222FDC 0021FF3C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80222FE0 0021FF40 98 1B 0A 48 */ stb r0, 0xa48(r27) /* 80222FE4 0021FF44 48 00 02 9C */ b lbl_80223280 /* 80222FE8 0021FF48 A0 1D 00 00 */ lhz r0, 0(r29) /* 80222FEC 0021FF4C 7F C3 F3 78 */ mr r3, r30 /* 80222FF0 0021FF50 38 81 00 24 */ addi r4, r1, 0x24 /* 80222FF4 0021FF54 B0 01 00 24 */ sth r0, 0x24(r1) /* 80222FF8 0021FF58 4B E2 95 7D */ bl ObjectById__13CStateManagerF9TUniqueId /* 80222FFC 0021FF5C 7C 64 1B 78 */ mr r4, r3 /* 80223000 0021FF60 38 61 00 6C */ addi r3, r1, 0x6c /* 80223004 0021FF64 4B E8 C3 49 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80223008 0021FF68 80 83 00 04 */ lwz r4, 4(r3) /* 8022300C 0021FF6C 28 04 00 00 */ cmplwi r4, 0 /* 80223010 0021FF70 41 82 01 98 */ beq lbl_802231A8 /* 80223014 0021FF74 38 61 00 20 */ addi r3, r1, 0x20 /* 80223018 0021FF78 4B F8 5B 75 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 8022301C 0021FF7C A0 01 00 20 */ lhz r0, 0x20(r1) /* 80223020 0021FF80 7F C3 F3 78 */ mr r3, r30 /* 80223024 0021FF84 38 81 00 1C */ addi r4, r1, 0x1c /* 80223028 0021FF88 B0 01 00 40 */ sth r0, 0x40(r1) /* 8022302C 0021FF8C B0 01 00 1C */ sth r0, 0x1c(r1) /* 80223030 0021FF90 4B E2 95 75 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80223034 0021FF94 7C 64 1B 78 */ mr r4, r3 /* 80223038 0021FF98 38 61 00 54 */ addi r3, r1, 0x54 /* 8022303C 0021FF9C 4B E8 28 5D */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 80223040 0021FFA0 83 43 00 04 */ lwz r26, 4(r3) /* 80223044 0021FFA4 28 1A 00 00 */ cmplwi r26, 0 /* 80223048 0021FFA8 41 82 01 1C */ beq lbl_80223164 /* 8022304C 0021FFAC 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80223050 0021FFB0 A0 9A 00 EC */ lhz r4, 0xec(r26) /* 80223054 0021FFB4 A0 03 00 08 */ lhz r0, 8(r3) /* 80223058 0021FFB8 7C 04 00 40 */ cmplw r4, r0 /* 8022305C 0021FFBC 40 82 01 08 */ bne lbl_80223164 /* 80223060 0021FFC0 7F 63 DB 78 */ mr r3, r27 /* 80223064 0021FFC4 7F A4 EB 78 */ mr r4, r29 /* 80223068 0021FFC8 4B FF BF B5 */ bl sub_8021f01c /* 8022306C 0021FFCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80223070 0021FFD0 41 82 00 28 */ beq lbl_80223098 /* 80223074 0021FFD4 81 9B 00 00 */ lwz r12, 0(r27) /* 80223078 0021FFD8 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022307C 0021FFDC 7F 63 DB 78 */ mr r3, r27 /* 80223080 0021FFE0 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 80223084 0021FFE4 81 8C 00 90 */ lwz r12, 0x90(r12) /* 80223088 0021FFE8 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 8022308C 0021FFEC 7D 89 03 A6 */ mtctr r12 /* 80223090 0021FFF0 4E 80 04 21 */ bctrl /* 80223094 0021FFF4 48 00 00 8C */ b lbl_80223120 lbl_80223098: /* 80223098 0021FFF8 7F 63 DB 78 */ mr r3, r27 /* 8022309C 0021FFFC 7F A4 EB 78 */ mr r4, r29 /* 802230A0 00220000 4B FF BF 39 */ bl sub_8021efd8 /* 802230A4 00220004 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802230A8 00220008 41 82 00 78 */ beq lbl_80223120 /* 802230AC 0022000C 81 9B 00 00 */ lwz r12, 0(r27) /* 802230B0 00220010 3C 80 80 5A */ lis r4, skZero3f@ha /* 802230B4 00220014 7F 63 DB 78 */ mr r3, r27 /* 802230B8 00220018 C0 22 B4 04 */ lfs f1, lbl_805AD124@sda21(r2) /* 802230BC 0022001C 81 8C 00 90 */ lwz r12, 0x90(r12) /* 802230C0 00220020 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 802230C4 00220024 7D 89 03 A6 */ mtctr r12 /* 802230C8 00220028 4E 80 04 21 */ bctrl /* 802230CC 0022002C 80 1B 05 6C */ lwz r0, 0x56c(r27) /* 802230D0 00220030 2C 00 00 03 */ cmpwi r0, 3 /* 802230D4 00220034 41 82 00 4C */ beq lbl_80223120 /* 802230D8 00220038 88 1B 0A 44 */ lbz r0, 0xa44(r27) /* 802230DC 0022003C 28 00 00 00 */ cmplwi r0, 0 /* 802230E0 00220040 41 82 00 40 */ beq lbl_80223120 /* 802230E4 00220044 38 61 00 B0 */ addi r3, r1, 0xb0 /* 802230E8 00220048 38 9A 00 34 */ addi r4, r26, 0x34 /* 802230EC 0022004C 48 0E FA 89 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802230F0 00220050 C0 02 B4 50 */ lfs f0, lbl_805AD170@sda21(r2) /* 802230F4 00220054 38 61 00 B0 */ addi r3, r1, 0xb0 /* 802230F8 00220058 38 81 00 48 */ addi r4, r1, 0x48 /* 802230FC 0022005C D0 01 00 48 */ stfs f0, 0x48(r1) /* 80223100 00220060 48 0F 03 BD */ bl RotateLocalZ__12CTransform4fFRC9CRelAngle /* 80223104 00220064 A0 FB 06 B4 */ lhz r7, 0x6b4(r27) /* 80223108 00220068 7F 63 DB 78 */ mr r3, r27 /* 8022310C 0022006C 7F C4 F3 78 */ mr r4, r30 /* 80223110 00220070 38 BB 0A 38 */ addi r5, r27, 0xa38 /* 80223114 00220074 38 C1 00 B0 */ addi r6, r1, 0xb0 /* 80223118 00220078 39 00 00 00 */ li r8, 0 /* 8022311C 0022007C 4B FF A6 C5 */ bl sub_8021d7e0 lbl_80223120: /* 80223120 00220080 C0 3A 01 40 */ lfs f1, 0x140(r26) /* 80223124 00220084 7F 63 DB 78 */ mr r3, r27 /* 80223128 00220088 C0 7A 00 58 */ lfs f3, 0x58(r26) /* 8022312C 0022008C 7F C5 F3 78 */ mr r5, r30 /* 80223130 00220090 C0 5A 00 48 */ lfs f2, 0x48(r26) /* 80223134 00220094 38 81 00 94 */ addi r4, r1, 0x94 /* 80223138 00220098 C0 1A 00 38 */ lfs f0, 0x38(r26) /* 8022313C 0022009C 38 DA 01 2C */ addi r6, r26, 0x12c /* 80223140 002200A0 38 E0 00 01 */ li r7, 1 /* 80223144 002200A4 39 00 00 00 */ li r8, 0 /* 80223148 002200A8 D0 01 00 94 */ stfs f0, 0x94(r1) /* 8022314C 002200AC D0 41 00 98 */ stfs f2, 0x98(r1) /* 80223150 002200B0 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 80223154 002200B4 81 9B 00 00 */ lwz r12, 0(r27) /* 80223158 002200B8 81 8C 00 88 */ lwz r12, 0x88(r12) /* 8022315C 002200BC 7D 89 03 A6 */ mtctr r12 /* 80223160 002200C0 4E 80 04 21 */ bctrl lbl_80223164: /* 80223164 002200C4 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 80223168 002200C8 38 60 00 01 */ li r3, 1 /* 8022316C 002200CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80223170 002200D0 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80223174 002200D4 98 1B 0A 48 */ stb r0, 0xa48(r27) /* 80223178 002200D8 7F C3 F3 78 */ mr r3, r30 /* 8022317C 002200DC 38 81 00 88 */ addi r4, r1, 0x88 /* 80223180 002200E0 38 A0 00 00 */ li r5, 0 /* 80223184 002200E4 D0 1B 08 E8 */ stfs f0, 0x8e8(r27) /* 80223188 002200E8 C0 5B 00 60 */ lfs f2, 0x60(r27) /* 8022318C 002200EC C0 3B 00 50 */ lfs f1, 0x50(r27) /* 80223190 002200F0 C0 1B 00 40 */ lfs f0, 0x40(r27) /* 80223194 002200F4 D0 01 00 88 */ stfs f0, 0x88(r1) /* 80223198 002200F8 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 8022319C 002200FC D0 41 00 90 */ stfs f2, 0x90(r1) /* 802231A0 00220100 4B E2 55 E5 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType /* 802231A4 00220104 48 00 00 1C */ b lbl_802231C0 lbl_802231A8: /* 802231A8 00220108 A0 1D 00 00 */ lhz r0, 0(r29) /* 802231AC 0022010C 7F 63 DB 78 */ mr r3, r27 /* 802231B0 00220110 7F C4 F3 78 */ mr r4, r30 /* 802231B4 00220114 38 A1 00 18 */ addi r5, r1, 0x18 /* 802231B8 00220118 B0 01 00 18 */ sth r0, 0x18(r1) /* 802231BC 0022011C 4B FF A2 BD */ bl sub_8021d478 lbl_802231C0: /* 802231C0 00220120 88 1B 04 00 */ lbz r0, 0x400(r27) /* 802231C4 00220124 38 60 00 01 */ li r3, 1 /* 802231C8 00220128 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802231CC 0022012C 98 1B 04 00 */ stb r0, 0x400(r27) /* 802231D0 00220130 48 00 00 B0 */ b lbl_80223280 /* 802231D4 00220134 C0 5B 00 60 */ lfs f2, 0x60(r27) /* 802231D8 00220138 7F C3 F3 78 */ mr r3, r30 /* 802231DC 0022013C C0 3B 00 50 */ lfs f1, 0x50(r27) /* 802231E0 00220140 38 81 00 7C */ addi r4, r1, 0x7c /* 802231E4 00220144 C0 1B 00 40 */ lfs f0, 0x40(r27) /* 802231E8 00220148 38 A0 00 00 */ li r5, 0 /* 802231EC 0022014C D0 01 00 7C */ stfs f0, 0x7c(r1) /* 802231F0 00220150 D0 21 00 80 */ stfs f1, 0x80(r1) /* 802231F4 00220154 D0 41 00 84 */ stfs f2, 0x84(r1) /* 802231F8 00220158 4B E2 55 8D */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType /* 802231FC 0022015C 88 1B 04 00 */ lbz r0, 0x400(r27) /* 80223200 00220160 38 A0 00 01 */ li r5, 1 /* 80223204 00220164 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80223208 00220168 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8022320C 0022016C 98 1B 04 00 */ stb r0, 0x400(r27) /* 80223210 00220170 7F C3 F3 78 */ mr r3, r30 /* 80223214 00220174 38 81 00 14 */ addi r4, r1, 0x14 /* 80223218 00220178 88 1B 0A 48 */ lbz r0, 0xa48(r27) /* 8022321C 0022017C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80223220 00220180 98 1B 0A 48 */ stb r0, 0xa48(r27) /* 80223224 00220184 D0 1B 08 E8 */ stfs f0, 0x8e8(r27) /* 80223228 00220188 A0 1D 00 00 */ lhz r0, 0(r29) /* 8022322C 0022018C B0 01 00 14 */ sth r0, 0x14(r1) /* 80223230 00220190 4B E2 93 45 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80223234 00220194 7C 64 1B 78 */ mr r4, r3 /* 80223238 00220198 38 61 00 64 */ addi r3, r1, 0x64 /* 8022323C 0022019C 4B E8 C1 11 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80223240 002201A0 80 03 00 04 */ lwz r0, 4(r3) /* 80223244 002201A4 28 00 00 00 */ cmplwi r0, 0 /* 80223248 002201A8 40 82 00 38 */ bne lbl_80223280 /* 8022324C 002201AC A0 1D 00 00 */ lhz r0, 0(r29) /* 80223250 002201B0 7F 63 DB 78 */ mr r3, r27 /* 80223254 002201B4 7F C4 F3 78 */ mr r4, r30 /* 80223258 002201B8 38 A1 00 10 */ addi r5, r1, 0x10 /* 8022325C 002201BC B0 01 00 10 */ sth r0, 0x10(r1) /* 80223260 002201C0 4B FF A2 19 */ bl sub_8021d478 /* 80223264 002201C4 48 00 00 1C */ b lbl_80223280 /* 80223268 002201C8 80 7B 09 28 */ lwz r3, 0x928(r27) /* 8022326C 002201CC 28 03 00 00 */ cmplwi r3, 0 /* 80223270 002201D0 41 82 00 10 */ beq lbl_80223280 /* 80223274 002201D4 7F C4 F3 78 */ mr r4, r30 /* 80223278 002201D8 38 A0 00 00 */ li r5, 0 /* 8022327C 002201DC 4B F8 3C 45 */ bl SetMovable__22CCollisionActorManagerFb lbl_80223280: /* 80223280 002201E0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80223284 002201E4 41 82 00 20 */ beq lbl_802232A4 /* 80223288 002201E8 A0 1D 00 00 */ lhz r0, 0(r29) /* 8022328C 002201EC 7F 63 DB 78 */ mr r3, r27 /* 80223290 002201F0 7F 84 E3 78 */ mr r4, r28 /* 80223294 002201F4 7F C6 F3 78 */ mr r6, r30 /* 80223298 002201F8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8022329C 002201FC 38 A1 00 0C */ addi r5, r1, 0xc /* 802232A0 00220200 4B E5 98 D9 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager lbl_802232A4: /* 802232A4 00220204 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 802232A8 00220208 CB E1 01 00 */ lfd f31, 0x100(r1) /* 802232AC 0022020C BB 41 00 E8 */ lmw r26, 0xe8(r1) /* 802232B0 00220210 80 01 01 14 */ lwz r0, 0x114(r1) /* 802232B4 00220214 7C 08 03 A6 */ mtlr r0 /* 802232B8 00220218 38 21 01 10 */ addi r1, r1, 0x110 /* 802232BC 0022021C 4E 80 00 20 */ blr .global Think__9CBabygothFfR13CStateManager Think__9CBabygothFfR13CStateManager: /* 802232C0 00220220 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802232C4 00220224 7C 08 02 A6 */ mflr r0 /* 802232C8 00220228 90 01 00 44 */ stw r0, 0x44(r1) /* 802232CC 0022022C DB E1 00 30 */ stfd f31, 0x30(r1) /* 802232D0 00220230 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 802232D4 00220234 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802232D8 00220238 93 C1 00 28 */ stw r30, 0x28(r1) /* 802232DC 0022023C 88 03 00 30 */ lbz r0, 0x30(r3) /* 802232E0 00220240 FF E0 08 90 */ fmr f31, f1 /* 802232E4 00220244 7C 7E 1B 78 */ mr r30, r3 /* 802232E8 00220248 7C 9F 23 78 */ mr r31, r4 /* 802232EC 0022024C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802232F0 00220250 41 82 01 80 */ beq lbl_80223470 /* 802232F4 00220254 4B FF B9 65 */ bl sub_8021ec58 /* 802232F8 00220258 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 802232FC 0022025C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80223300 00220260 41 82 00 3C */ beq lbl_8022333C /* 80223304 00220264 A0 DE 00 08 */ lhz r6, 8(r30) /* 80223308 00220268 7F E3 FB 78 */ mr r3, r31 /* 8022330C 0022026C 38 81 00 10 */ addi r4, r1, 0x10 /* 80223310 00220270 38 A1 00 0C */ addi r5, r1, 0xc /* 80223314 00220274 B0 C1 00 0C */ sth r6, 0xc(r1) /* 80223318 00220278 A0 1E 06 E8 */ lhz r0, 0x6e8(r30) /* 8022331C 0022027C B0 C1 00 08 */ sth r6, 8(r1) /* 80223320 00220280 B0 01 00 10 */ sth r0, 0x10(r1) /* 80223324 00220284 48 01 6E 5D */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId /* 80223328 00220288 28 03 00 00 */ cmplwi r3, 0 /* 8022332C 0022028C 40 82 00 10 */ bne lbl_8022333C /* 80223330 00220290 7F C3 F3 78 */ mr r3, r30 /* 80223334 00220294 7F E4 FB 78 */ mr r4, r31 /* 80223338 00220298 4B FF A3 B1 */ bl sub_8021d6e8 lbl_8022333C: /* 8022333C 0022029C FC 20 F8 90 */ fmr f1, f31 /* 80223340 002202A0 7F C3 F3 78 */ mr r3, r30 /* 80223344 002202A4 7F E4 FB 78 */ mr r4, r31 /* 80223348 002202A8 4B E5 67 D1 */ bl Think__10CPatternedFfR13CStateManager /* 8022334C 002202AC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80223350 002202B0 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 80223354 002202B4 C0 23 03 24 */ lfs f1, 0x324(r3) /* 80223358 002202B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022335C 002202BC 40 81 00 10 */ ble lbl_8022336C /* 80223360 002202C0 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 80223364 002202C4 38 80 00 00 */ li r4, 0 /* 80223368 002202C8 4B F5 1E BD */ bl SetActive__13CBoneTrackingFb lbl_8022336C: /* 8022336C 002202CC FC 20 F8 90 */ fmr f1, f31 /* 80223370 002202D0 7F C3 F3 78 */ mr r3, r30 /* 80223374 002202D4 4B FF AF 51 */ bl sub_8021e2c4 /* 80223378 002202D8 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8022337C 002202DC 80 63 00 10 */ lwz r3, 0x10(r3) /* 80223380 002202E0 4B E0 96 85 */ bl PreRender__9CAnimDataFv /* 80223384 002202E4 FC 20 F8 90 */ fmr f1, f31 /* 80223388 002202E8 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 8022338C 002202EC 4B F5 26 1D */ bl Update__13CBoneTrackingFf /* 80223390 002202F0 80 BE 00 64 */ lwz r5, 0x64(r30) /* 80223394 002202F4 7F E4 FB 78 */ mr r4, r31 /* 80223398 002202F8 81 1E 04 50 */ lwz r8, 0x450(r30) /* 8022339C 002202FC 38 7E 08 F0 */ addi r3, r30, 0x8f0 /* 802233A0 00220300 C0 05 00 00 */ lfs f0, 0(r5) /* 802233A4 00220304 38 DE 00 34 */ addi r6, r30, 0x34 /* 802233A8 00220308 38 E1 00 14 */ addi r7, r1, 0x14 /* 802233AC 0022030C D0 01 00 14 */ stfs f0, 0x14(r1) /* 802233B0 00220310 C0 05 00 04 */ lfs f0, 4(r5) /* 802233B4 00220314 D0 01 00 18 */ stfs f0, 0x18(r1) /* 802233B8 00220318 C0 05 00 08 */ lfs f0, 8(r5) /* 802233BC 0022031C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802233C0 00220320 80 BE 00 64 */ lwz r5, 0x64(r30) /* 802233C4 00220324 80 A5 00 10 */ lwz r5, 0x10(r5) /* 802233C8 00220328 4B F5 25 49 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 802233CC 0022032C 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 802233D0 00220330 FC 20 F8 90 */ fmr f1, f31 /* 802233D4 00220334 80 7E 09 28 */ lwz r3, 0x928(r30) /* 802233D8 00220338 7F E4 FB 78 */ mr r4, r31 /* 802233DC 0022033C 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f /* 802233E0 00220340 7C 00 00 34 */ cntlzw r0, r0 /* 802233E4 00220344 54 05 D9 7E */ srwi r5, r0, 5 /* 802233E8 00220348 4B F8 40 69 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 802233EC 0022034C 88 1E 0A 49 */ lbz r0, 0xa49(r30) /* 802233F0 00220350 38 60 00 01 */ li r3, 1 /* 802233F4 00220354 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 802233F8 00220358 7F C3 F3 78 */ mr r3, r30 /* 802233FC 0022035C 98 1E 0A 49 */ stb r0, 0xa49(r30) /* 80223400 00220360 7F E4 FB 78 */ mr r4, r31 /* 80223404 00220364 4B FF B3 05 */ bl sub_8021e708 /* 80223408 00220368 FC 20 F8 90 */ fmr f1, f31 /* 8022340C 0022036C 7F C3 F3 78 */ mr r3, r30 /* 80223410 00220370 7F E4 FB 78 */ mr r4, r31 /* 80223414 00220374 4B FF AC 91 */ bl sub_8021e0a4 /* 80223418 00220378 7F C3 F3 78 */ mr r3, r30 /* 8022341C 0022037C 7F E4 FB 78 */ mr r4, r31 /* 80223420 00220380 4B FF A6 E5 */ bl sub_8021db04 /* 80223424 00220384 FC 20 F8 90 */ fmr f1, f31 /* 80223428 00220388 7F C3 F3 78 */ mr r3, r30 /* 8022342C 0022038C 7F E4 FB 78 */ mr r4, r31 /* 80223430 00220390 4B FF A6 3D */ bl sub_8021da6c /* 80223434 00220394 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80223438 00220398 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8022343C 0022039C 40 82 00 34 */ bne lbl_80223470 /* 80223440 002203A0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80223444 002203A4 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80223448 002203A8 4B F1 0C 31 */ bl GetCurrentState__14CBodyStateInfoCFv /* 8022344C 002203AC 81 83 00 00 */ lwz r12, 0(r3) /* 80223450 002203B0 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80223454 002203B4 7D 89 03 A6 */ mtctr r12 /* 80223458 002203B8 4E 80 04 21 */ bctrl /* 8022345C 002203BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80223460 002203C0 41 82 00 10 */ beq lbl_80223470 /* 80223464 002203C4 7F C3 F3 78 */ mr r3, r30 /* 80223468 002203C8 7F E4 FB 78 */ mr r4, r31 /* 8022346C 002203CC 4B FF A1 39 */ bl sub_8021d5a4 lbl_80223470: /* 80223470 002203D0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80223474 002203D4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80223478 002203D8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 8022347C 002203DC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80223480 002203E0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80223484 002203E4 7C 08 03 A6 */ mtlr r0 /* 80223488 002203E8 38 21 00 40 */ addi r1, r1, 0x40 /* 8022348C 002203EC 4E 80 00 20 */ blr .global Accept__9CBabygothFR8IVisitor Accept__9CBabygothFR8IVisitor: /* 80223490 002203F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80223494 002203F4 7C 08 02 A6 */ mflr r0 /* 80223498 002203F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8022349C 002203FC 7C 60 1B 78 */ mr r0, r3 /* 802234A0 00220400 7C 83 23 78 */ mr r3, r4 /* 802234A4 00220404 81 84 00 00 */ lwz r12, 0(r4) /* 802234A8 00220408 7C 04 03 78 */ mr r4, r0 /* 802234AC 0022040C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802234B0 00220410 7D 89 03 A6 */ mtctr r12 /* 802234B4 00220414 4E 80 04 21 */ bctrl /* 802234B8 00220418 80 01 00 14 */ lwz r0, 0x14(r1) /* 802234BC 0022041C 7C 08 03 A6 */ mtlr r0 /* 802234C0 00220420 38 21 00 10 */ addi r1, r1, 0x10 /* 802234C4 00220424 4E 80 00 20 */ blr .global __dt__9CBabygothFv __dt__9CBabygothFv: /* 802234C8 00220428 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802234CC 0022042C 7C 08 02 A6 */ mflr r0 /* 802234D0 00220430 90 01 00 14 */ stw r0, 0x14(r1) /* 802234D4 00220434 93 E1 00 0C */ stw r31, 0xc(r1) /* 802234D8 00220438 7C 9F 23 78 */ mr r31, r4 /* 802234DC 0022043C 93 C1 00 08 */ stw r30, 8(r1) /* 802234E0 00220440 7C 7E 1B 79 */ or. r30, r3, r3 /* 802234E4 00220444 41 82 02 80 */ beq lbl_80223764 /* 802234E8 00220448 3C 60 80 3E */ lis r3, lbl_803E7350@ha /* 802234EC 0022044C 34 1E 0A 38 */ addic. r0, r30, 0xa38 /* 802234F0 00220450 38 03 73 50 */ addi r0, r3, lbl_803E7350@l /* 802234F4 00220454 90 1E 00 00 */ stw r0, 0(r30) /* 802234F8 00220458 41 82 00 30 */ beq lbl_80223528 /* 802234FC 0022045C 88 1E 0A 44 */ lbz r0, 0xa44(r30) /* 80223500 00220460 28 00 00 00 */ cmplwi r0, 0 /* 80223504 00220464 41 82 00 1C */ beq lbl_80223520 /* 80223508 00220468 34 7E 0A 38 */ addic. r3, r30, 0xa38 /* 8022350C 0022046C 41 82 00 14 */ beq lbl_80223520 /* 80223510 00220470 28 03 00 00 */ cmplwi r3, 0 /* 80223514 00220474 41 82 00 0C */ beq lbl_80223520 /* 80223518 00220478 38 80 00 00 */ li r4, 0 /* 8022351C 0022047C 48 11 D9 25 */ bl __dt__6CTokenFv lbl_80223520: /* 80223520 00220480 38 00 00 00 */ li r0, 0 /* 80223524 00220484 98 1E 0A 44 */ stb r0, 0xa44(r30) lbl_80223528: /* 80223528 00220488 34 1E 0A 2C */ addic. r0, r30, 0xa2c /* 8022352C 0022048C 41 82 00 18 */ beq lbl_80223544 /* 80223530 00220490 34 1E 0A 2C */ addic. r0, r30, 0xa2c /* 80223534 00220494 41 82 00 10 */ beq lbl_80223544 /* 80223538 00220498 38 7E 0A 2C */ addi r3, r30, 0xa2c /* 8022353C 0022049C 38 80 00 00 */ li r4, 0 /* 80223540 002204A0 48 11 D9 01 */ bl __dt__6CTokenFv lbl_80223544: /* 80223544 002204A4 34 1E 0A 20 */ addic. r0, r30, 0xa20 /* 80223548 002204A8 41 82 00 18 */ beq lbl_80223560 /* 8022354C 002204AC 34 1E 0A 20 */ addic. r0, r30, 0xa20 /* 80223550 002204B0 41 82 00 10 */ beq lbl_80223560 /* 80223554 002204B4 38 7E 0A 20 */ addi r3, r30, 0xa20 /* 80223558 002204B8 38 80 00 00 */ li r4, 0 /* 8022355C 002204BC 48 11 D8 E5 */ bl __dt__6CTokenFv lbl_80223560: /* 80223560 002204C0 34 1E 0A 14 */ addic. r0, r30, 0xa14 /* 80223564 002204C4 41 82 00 18 */ beq lbl_8022357C /* 80223568 002204C8 34 1E 0A 14 */ addic. r0, r30, 0xa14 /* 8022356C 002204CC 41 82 00 10 */ beq lbl_8022357C /* 80223570 002204D0 38 7E 0A 14 */ addi r3, r30, 0xa14 /* 80223574 002204D4 38 80 00 00 */ li r4, 0 /* 80223578 002204D8 48 11 D8 C9 */ bl __dt__6CTokenFv lbl_8022357C: /* 8022357C 002204DC 34 1E 0A 08 */ addic. r0, r30, 0xa08 /* 80223580 002204E0 41 82 00 18 */ beq lbl_80223598 /* 80223584 002204E4 34 1E 0A 08 */ addic. r0, r30, 0xa08 /* 80223588 002204E8 41 82 00 10 */ beq lbl_80223598 /* 8022358C 002204EC 38 7E 0A 08 */ addi r3, r30, 0xa08 /* 80223590 002204F0 38 80 00 00 */ li r4, 0 /* 80223594 002204F4 48 11 D8 AD */ bl __dt__6CTokenFv lbl_80223598: /* 80223598 002204F8 34 1E 09 F8 */ addic. r0, r30, 0x9f8 /* 8022359C 002204FC 41 82 00 58 */ beq lbl_802235F4 /* 802235A0 00220500 80 BE 09 F8 */ lwz r5, 0x9f8(r30) /* 802235A4 00220504 38 60 00 00 */ li r3, 0 /* 802235A8 00220508 2C 05 00 00 */ cmpwi r5, 0 /* 802235AC 0022050C 40 81 00 40 */ ble lbl_802235EC /* 802235B0 00220510 2C 05 00 08 */ cmpwi r5, 8 /* 802235B4 00220514 38 85 FF F8 */ addi r4, r5, -8 /* 802235B8 00220518 40 81 00 20 */ ble lbl_802235D8 /* 802235BC 0022051C 38 04 00 07 */ addi r0, r4, 7 /* 802235C0 00220520 54 00 E8 FE */ srwi r0, r0, 3 /* 802235C4 00220524 7C 09 03 A6 */ mtctr r0 /* 802235C8 00220528 2C 04 00 00 */ cmpwi r4, 0 /* 802235CC 0022052C 40 81 00 0C */ ble lbl_802235D8 lbl_802235D0: /* 802235D0 00220530 38 63 00 08 */ addi r3, r3, 8 /* 802235D4 00220534 42 00 FF FC */ bdnz lbl_802235D0 lbl_802235D8: /* 802235D8 00220538 7C 03 28 50 */ subf r0, r3, r5 /* 802235DC 0022053C 7C 09 03 A6 */ mtctr r0 /* 802235E0 00220540 7C 03 28 00 */ cmpw r3, r5 /* 802235E4 00220544 40 80 00 08 */ bge lbl_802235EC lbl_802235E8: /* 802235E8 00220548 42 00 00 00 */ bdnz lbl_802235E8 lbl_802235EC: /* 802235EC 0022054C 38 00 00 00 */ li r0, 0 /* 802235F0 00220550 90 1E 09 F8 */ stw r0, 0x9f8(r30) lbl_802235F4: /* 802235F4 00220554 34 1E 09 84 */ addic. r0, r30, 0x984 /* 802235F8 00220558 41 82 00 10 */ beq lbl_80223608 /* 802235FC 0022055C 38 7E 09 84 */ addi r3, r30, 0x984 /* 80223600 00220560 38 80 00 00 */ li r4, 0 /* 80223604 00220564 48 11 D8 3D */ bl __dt__6CTokenFv lbl_80223608: /* 80223608 00220568 34 1E 09 58 */ addic. r0, r30, 0x958 /* 8022360C 0022056C 41 82 00 20 */ beq lbl_8022362C /* 80223610 00220570 34 1E 09 58 */ addic. r0, r30, 0x958 /* 80223614 00220574 41 82 00 18 */ beq lbl_8022362C /* 80223618 00220578 34 1E 09 58 */ addic. r0, r30, 0x958 /* 8022361C 0022057C 41 82 00 10 */ beq lbl_8022362C /* 80223620 00220580 38 7E 09 58 */ addi r3, r30, 0x958 /* 80223624 00220584 38 80 00 00 */ li r4, 0 /* 80223628 00220588 48 11 D8 19 */ bl __dt__6CTokenFv lbl_8022362C: /* 8022362C 0022058C 34 1E 09 30 */ addic. r0, r30, 0x930 /* 80223630 00220590 41 82 00 24 */ beq lbl_80223654 /* 80223634 00220594 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 80223638 00220598 34 1E 09 30 */ addic. r0, r30, 0x930 /* 8022363C 0022059C 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 80223640 002205A0 90 1E 09 30 */ stw r0, 0x930(r30) /* 80223644 002205A4 41 82 00 10 */ beq lbl_80223654 /* 80223648 002205A8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 8022364C 002205AC 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l /* 80223650 002205B0 90 1E 09 30 */ stw r0, 0x930(r30) lbl_80223654: /* 80223654 002205B4 34 1E 09 28 */ addic. r0, r30, 0x928 /* 80223658 002205B8 41 82 00 10 */ beq lbl_80223668 /* 8022365C 002205BC 80 7E 09 28 */ lwz r3, 0x928(r30) /* 80223660 002205C0 38 80 00 01 */ li r4, 1 /* 80223664 002205C4 4B F8 42 79 */ bl sub_801a78dc lbl_80223668: /* 80223668 002205C8 34 1E 08 F0 */ addic. r0, r30, 0x8f0 /* 8022366C 002205CC 41 82 00 14 */ beq lbl_80223680 /* 80223670 002205D0 34 1E 09 14 */ addic. r0, r30, 0x914 /* 80223674 002205D4 41 82 00 0C */ beq lbl_80223680 /* 80223678 002205D8 38 00 00 00 */ li r0, 0 /* 8022367C 002205DC 98 1E 09 20 */ stb r0, 0x920(r30) lbl_80223680: /* 80223680 002205E0 34 1E 07 D0 */ addic. r0, r30, 0x7d0 /* 80223684 002205E4 41 82 00 60 */ beq lbl_802236E4 /* 80223688 002205E8 34 1E 07 D4 */ addic. r0, r30, 0x7d4 /* 8022368C 002205EC 41 82 00 58 */ beq lbl_802236E4 /* 80223690 002205F0 80 BE 07 D4 */ lwz r5, 0x7d4(r30) /* 80223694 002205F4 38 60 00 00 */ li r3, 0 /* 80223698 002205F8 2C 05 00 00 */ cmpwi r5, 0 /* 8022369C 002205FC 40 81 00 40 */ ble lbl_802236DC /* 802236A0 00220600 2C 05 00 08 */ cmpwi r5, 8 /* 802236A4 00220604 38 85 FF F8 */ addi r4, r5, -8 /* 802236A8 00220608 40 81 00 20 */ ble lbl_802236C8 /* 802236AC 0022060C 38 04 00 07 */ addi r0, r4, 7 /* 802236B0 00220610 54 00 E8 FE */ srwi r0, r0, 3 /* 802236B4 00220614 7C 09 03 A6 */ mtctr r0 /* 802236B8 00220618 2C 04 00 00 */ cmpwi r4, 0 /* 802236BC 0022061C 40 81 00 0C */ ble lbl_802236C8 lbl_802236C0: /* 802236C0 00220620 38 63 00 08 */ addi r3, r3, 8 /* 802236C4 00220624 42 00 FF FC */ bdnz lbl_802236C0 lbl_802236C8: /* 802236C8 00220628 7C 03 28 50 */ subf r0, r3, r5 /* 802236CC 0022062C 7C 09 03 A6 */ mtctr r0 /* 802236D0 00220630 7C 03 28 00 */ cmpw r3, r5 /* 802236D4 00220634 40 80 00 08 */ bge lbl_802236DC lbl_802236D8: /* 802236D8 00220638 42 00 00 00 */ bdnz lbl_802236D8 lbl_802236DC: /* 802236DC 0022063C 38 00 00 00 */ li r0, 0 /* 802236E0 00220640 90 1E 07 D4 */ stw r0, 0x7d4(r30) lbl_802236E4: /* 802236E4 00220644 34 1E 06 EC */ addic. r0, r30, 0x6ec /* 802236E8 00220648 41 82 00 60 */ beq lbl_80223748 /* 802236EC 0022064C 34 1E 06 F0 */ addic. r0, r30, 0x6f0 /* 802236F0 00220650 41 82 00 58 */ beq lbl_80223748 /* 802236F4 00220654 80 BE 06 F0 */ lwz r5, 0x6f0(r30) /* 802236F8 00220658 38 60 00 00 */ li r3, 0 /* 802236FC 0022065C 2C 05 00 00 */ cmpwi r5, 0 /* 80223700 00220660 40 81 00 40 */ ble lbl_80223740 /* 80223704 00220664 2C 05 00 08 */ cmpwi r5, 8 /* 80223708 00220668 38 85 FF F8 */ addi r4, r5, -8 /* 8022370C 0022066C 40 81 00 20 */ ble lbl_8022372C /* 80223710 00220670 38 04 00 07 */ addi r0, r4, 7 /* 80223714 00220674 54 00 E8 FE */ srwi r0, r0, 3 /* 80223718 00220678 7C 09 03 A6 */ mtctr r0 /* 8022371C 0022067C 2C 04 00 00 */ cmpwi r4, 0 /* 80223720 00220680 40 81 00 0C */ ble lbl_8022372C lbl_80223724: /* 80223724 00220684 38 63 00 08 */ addi r3, r3, 8 /* 80223728 00220688 42 00 FF FC */ bdnz lbl_80223724 lbl_8022372C: /* 8022372C 0022068C 7C 03 28 50 */ subf r0, r3, r5 /* 80223730 00220690 7C 09 03 A6 */ mtctr r0 /* 80223734 00220694 7C 03 28 00 */ cmpw r3, r5 /* 80223738 00220698 40 80 00 08 */ bge lbl_80223740 lbl_8022373C: /* 8022373C 0022069C 42 00 00 00 */ bdnz lbl_8022373C lbl_80223740: /* 80223740 002206A0 38 00 00 00 */ li r0, 0 /* 80223744 002206A4 90 1E 06 F0 */ stw r0, 0x6f0(r30) lbl_80223748: /* 80223748 002206A8 7F C3 F3 78 */ mr r3, r30 /* 8022374C 002206AC 38 80 00 00 */ li r4, 0 /* 80223750 002206B0 4B E5 3E 21 */ bl __dt__10CPatternedFv /* 80223754 002206B4 7F E0 07 35 */ extsh. r0, r31 /* 80223758 002206B8 40 81 00 0C */ ble lbl_80223764 /* 8022375C 002206BC 7F C3 F3 78 */ mr r3, r30 /* 80223760 002206C0 48 0F 21 D1 */ bl Free__7CMemoryFPCv lbl_80223764: /* 80223764 002206C4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80223768 002206C8 7F C3 F3 78 */ mr r3, r30 /* 8022376C 002206CC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80223770 002206D0 83 C1 00 08 */ lwz r30, 8(r1) /* 80223774 002206D4 7C 08 03 A6 */ mtlr r0 /* 80223778 002206D8 38 21 00 10 */ addi r1, r1, 0x10 /* 8022377C 002206DC 4E 80 00 20 */ blr .global "__ct__9CBabygothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CBabygothData" "__ct__9CBabygothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CBabygothData": /* 80223780 002206E0 94 21 FE 30 */ stwu r1, -0x1d0(r1) /* 80223784 002206E4 7C 08 02 A6 */ mflr r0 /* 80223788 002206E8 7C CC 33 78 */ mr r12, r6 /* 8022378C 002206EC 7D 0B 43 78 */ mr r11, r8 /* 80223790 002206F0 90 01 01 D4 */ stw r0, 0x1d4(r1) /* 80223794 002206F4 7C A6 2B 78 */ mr r6, r5 /* 80223798 002206F8 7D 88 63 78 */ mr r8, r12 /* 8022379C 002206FC 38 A1 00 20 */ addi r5, r1, 0x20 /* 802237A0 00220700 BF 01 01 B0 */ stmw r24, 0x1b0(r1) /* 802237A4 00220704 7D 3E 4B 78 */ mr r30, r9 /* 802237A8 00220708 7C E9 3B 78 */ mr r9, r7 /* 802237AC 0022070C 83 E1 01 D8 */ lwz r31, 0x1d8(r1) /* 802237B0 00220710 7C 7D 1B 78 */ mr r29, r3 /* 802237B4 00220714 38 E0 00 00 */ li r7, 0 /* 802237B8 00220718 A0 04 00 00 */ lhz r0, 0(r4) /* 802237BC 0022071C 38 80 00 00 */ li r4, 0 /* 802237C0 00220720 B0 01 00 20 */ sth r0, 0x20(r1) /* 802237C4 00220724 38 00 00 01 */ li r0, 1 /* 802237C8 00220728 93 C1 00 08 */ stw r30, 8(r1) /* 802237CC 0022072C 90 81 00 0C */ stw r4, 0xc(r1) /* 802237D0 00220730 38 80 00 02 */ li r4, 2 /* 802237D4 00220734 90 01 00 10 */ stw r0, 0x10(r1) /* 802237D8 00220738 90 01 00 14 */ stw r0, 0x14(r1) /* 802237DC 0022073C 91 41 00 18 */ stw r10, 0x18(r1) /* 802237E0 00220740 7D 6A 5B 78 */ mr r10, r11 /* 802237E4 00220744 90 01 00 1C */ stw r0, 0x1c(r1) /* 802237E8 00220748 4B E5 9C 69 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 802237EC 0022074C 3C 60 80 3E */ lis r3, lbl_803E7350@ha /* 802237F0 00220750 38 A0 FF FF */ li r5, -1 /* 802237F4 00220754 38 63 73 50 */ addi r3, r3, lbl_803E7350@l /* 802237F8 00220758 38 00 00 00 */ li r0, 0 /* 802237FC 0022075C 90 7D 00 00 */ stw r3, 0(r29) /* 80223800 00220760 7F E4 FB 78 */ mr r4, r31 /* 80223804 00220764 38 7D 05 70 */ addi r3, r29, 0x570 /* 80223808 00220768 90 BD 05 68 */ stw r5, 0x568(r29) /* 8022380C 0022076C 90 1D 05 6C */ stw r0, 0x56c(r29) /* 80223810 00220770 48 00 09 C9 */ bl __ct__13CBabygothDataFRC13CBabygothData /* 80223814 00220774 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80223818 00220778 38 7D 06 EC */ addi r3, r29, 0x6ec /* 8022381C 0022077C C0 22 B4 18 */ lfs f1, lbl_805AD138@sda21(r2) /* 80223820 00220780 38 80 00 00 */ li r4, 0 /* 80223824 00220784 B0 1D 06 E8 */ sth r0, 0x6e8(r29) /* 80223828 00220788 38 A0 00 01 */ li r5, 1 /* 8022382C 0022078C FC 40 08 90 */ fmr f2, f1 /* 80223830 00220790 80 DE 01 0C */ lwz r6, 0x10c(r30) /* 80223834 00220794 4B FA 55 61 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 80223838 00220798 C0 22 B4 18 */ lfs f1, lbl_805AD138@sda21(r2) /* 8022383C 0022079C 38 7D 07 D0 */ addi r3, r29, 0x7d0 /* 80223840 002207A0 80 DE 01 0C */ lwz r6, 0x10c(r30) /* 80223844 002207A4 38 80 00 00 */ li r4, 0 /* 80223848 002207A8 FC 40 08 90 */ fmr f2, f1 /* 8022384C 002207AC 38 A0 00 01 */ li r5, 1 /* 80223850 002207B0 4B FA 55 45 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 80223854 002207B4 38 00 00 00 */ li r0, 0 /* 80223858 002207B8 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022385C 002207BC 90 1D 08 B4 */ stw r0, 0x8b4(r29) /* 80223860 002207C0 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80223864 002207C4 3C 60 80 3D */ lis r3, lbl_803D31D0@ha /* 80223868 002207C8 C0 02 B4 04 */ lfs f0, lbl_805AD124@sda21(r2) /* 8022386C 002207CC C0 25 00 00 */ lfs f1, 0(r5) /* 80223870 002207D0 38 83 31 D0 */ addi r4, r3, lbl_803D31D0@l /* 80223874 002207D4 38 61 01 40 */ addi r3, r1, 0x140 /* 80223878 002207D8 D0 3D 08 B8 */ stfs f1, 0x8b8(r29) /* 8022387C 002207DC 38 84 00 64 */ addi r4, r4, 0x64 /* 80223880 002207E0 C0 25 00 04 */ lfs f1, 4(r5) /* 80223884 002207E4 D0 3D 08 BC */ stfs f1, 0x8bc(r29) /* 80223888 002207E8 C0 25 00 08 */ lfs f1, 8(r5) /* 8022388C 002207EC D0 3D 08 C0 */ stfs f1, 0x8c0(r29) /* 80223890 002207F0 C0 25 00 00 */ lfs f1, 0(r5) /* 80223894 002207F4 D0 3D 08 C4 */ stfs f1, 0x8c4(r29) /* 80223898 002207F8 C0 25 00 04 */ lfs f1, 4(r5) /* 8022389C 002207FC D0 3D 08 C8 */ stfs f1, 0x8c8(r29) /* 802238A0 00220800 C0 25 00 08 */ lfs f1, 8(r5) /* 802238A4 00220804 D0 3D 08 CC */ stfs f1, 0x8cc(r29) /* 802238A8 00220808 C0 3D 03 B4 */ lfs f1, 0x3b4(r29) /* 802238AC 0022080C D0 3D 08 D0 */ stfs f1, 0x8d0(r29) /* 802238B0 00220810 D0 1D 08 D4 */ stfs f0, 0x8d4(r29) /* 802238B4 00220814 D0 1D 08 D8 */ stfs f0, 0x8d8(r29) /* 802238B8 00220818 D0 1D 08 DC */ stfs f0, 0x8dc(r29) /* 802238BC 0022081C D0 1D 08 E0 */ stfs f0, 0x8e0(r29) /* 802238C0 00220820 D0 1D 08 E4 */ stfs f0, 0x8e4(r29) /* 802238C4 00220824 D0 1D 08 E8 */ stfs f0, 0x8e8(r29) /* 802238C8 00220828 D0 1D 08 EC */ stfs f0, 0x8ec(r29) /* 802238CC 0022082C 4B DE 13 ED */ bl string_l__4rstlFPCc /* 802238D0 00220830 80 9D 00 64 */ lwz r4, 0x64(r29) /* 802238D4 00220834 38 7D 08 F0 */ addi r3, r29, 0x8f0 /* 802238D8 00220838 C0 22 B4 64 */ lfs f1, lbl_805AD184@sda21(r2) /* 802238DC 0022083C 38 A1 01 40 */ addi r5, r1, 0x140 /* 802238E0 00220840 80 84 00 10 */ lwz r4, 0x10(r4) /* 802238E4 00220844 38 C0 00 00 */ li r6, 0 /* 802238E8 00220848 C0 42 B4 50 */ lfs f2, lbl_805AD170@sda21(r2) /* 802238EC 0022084C 4B F5 20 CD */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 802238F0 00220850 38 61 01 40 */ addi r3, r1, 0x140 /* 802238F4 00220854 48 11 A1 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802238F8 00220858 38 00 00 00 */ li r0, 0 /* 802238FC 0022085C 7F A4 EB 78 */ mr r4, r29 /* 80223900 00220860 90 1D 09 28 */ stw r0, 0x928(r29) /* 80223904 00220864 3B 3D 00 68 */ addi r25, r29, 0x68 /* 80223908 00220868 38 61 01 50 */ addi r3, r1, 0x150 /* 8022390C 0022086C 4B EF 70 21 */ bl GetBoundingBox__13CPhysicsActorCFv /* 80223910 00220870 3B 5D 09 30 */ addi r26, r29, 0x930 /* 80223914 00220874 7F 24 CB 78 */ mr r4, r25 /* 80223918 00220878 7F 43 D3 78 */ mr r3, r26 /* 8022391C 0022087C 48 0A BF 99 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 80223920 00220880 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha /* 80223924 00220884 38 7D 09 58 */ addi r3, r29, 0x958 /* 80223928 00220888 38 04 CA D0 */ addi r0, r4, lbl_803ECAD0@l /* 8022392C 0022088C 38 BF 00 0C */ addi r5, r31, 0xc /* 80223930 00220890 90 1A 00 00 */ stw r0, 0(r26) /* 80223934 00220894 C0 01 01 50 */ lfs f0, 0x150(r1) /* 80223938 00220898 D0 1A 00 10 */ stfs f0, 0x10(r26) /* 8022393C 0022089C C0 01 01 54 */ lfs f0, 0x154(r1) /* 80223940 002208A0 D0 1A 00 14 */ stfs f0, 0x14(r26) /* 80223944 002208A4 C0 01 01 58 */ lfs f0, 0x158(r1) /* 80223948 002208A8 D0 1A 00 18 */ stfs f0, 0x18(r26) /* 8022394C 002208AC C0 01 01 5C */ lfs f0, 0x15c(r1) /* 80223950 002208B0 D0 1A 00 1C */ stfs f0, 0x1c(r26) /* 80223954 002208B4 C0 01 01 60 */ lfs f0, 0x160(r1) /* 80223958 002208B8 D0 1A 00 20 */ stfs f0, 0x20(r26) /* 8022395C 002208BC C0 01 01 64 */ lfs f0, 0x164(r1) /* 80223960 002208C0 D0 1A 00 24 */ stfs f0, 0x24(r26) /* 80223964 002208C4 80 9F 00 08 */ lwz r4, 8(r31) /* 80223968 002208C8 4B FF 87 41 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 8022396C 002208CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80223970 002208D0 3B 20 00 00 */ li r25, 0 /* 80223974 002208D4 3B 40 00 00 */ li r26, 0 /* 80223978 002208D8 B0 1D 09 80 */ sth r0, 0x980(r29) /* 8022397C 002208DC 80 9F 00 44 */ lwz r4, 0x44(r31) /* 80223980 002208E0 3C 04 00 01 */ addis r0, r4, 1 /* 80223984 002208E4 28 00 FF FF */ cmplwi r0, 0xffff /* 80223988 002208E8 41 82 00 3C */ beq lbl_802239C4 /* 8022398C 002208EC 3C 60 57 50 */ lis r3, 0x57505343@ha /* 80223990 002208F0 90 81 00 E0 */ stw r4, 0xe0(r1) /* 80223994 002208F4 38 03 53 43 */ addi r0, r3, 0x57505343@l /* 80223998 002208F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8022399C 002208FC 90 01 00 DC */ stw r0, 0xdc(r1) /* 802239A0 00220900 38 61 00 D4 */ addi r3, r1, 0xd4 /* 802239A4 00220904 38 A1 00 DC */ addi r5, r1, 0xdc /* 802239A8 00220908 81 84 00 00 */ lwz r12, 0(r4) /* 802239AC 0022090C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802239B0 00220910 7D 89 03 A6 */ mtctr r12 /* 802239B4 00220914 4E 80 04 21 */ bctrl /* 802239B8 00220918 38 81 00 D4 */ addi r4, r1, 0xd4 /* 802239BC 0022091C 3B 20 00 01 */ li r25, 1 /* 802239C0 00220920 48 00 00 30 */ b lbl_802239F0 lbl_802239C4: /* 802239C4 00220924 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802239C8 00220928 3C 60 80 3D */ lis r3, lbl_803D31D0@ha /* 802239CC 0022092C 38 A3 31 D0 */ addi r5, r3, lbl_803D31D0@l /* 802239D0 00220930 38 61 00 CC */ addi r3, r1, 0xcc /* 802239D4 00220934 81 84 00 00 */ lwz r12, 0(r4) /* 802239D8 00220938 38 A5 00 6B */ addi r5, r5, 0x6b /* 802239DC 0022093C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802239E0 00220940 7D 89 03 A6 */ mtctr r12 /* 802239E4 00220944 4E 80 04 21 */ bctrl /* 802239E8 00220948 3B 40 00 01 */ li r26, 1 /* 802239EC 0022094C 38 81 00 CC */ addi r4, r1, 0xcc lbl_802239F0: /* 802239F0 00220950 38 7D 09 84 */ addi r3, r29, 0x984 /* 802239F4 00220954 48 11 D4 B5 */ bl __ct__6CTokenFRC6CToken /* 802239F8 00220958 7F 40 07 75 */ extsb. r0, r26 /* 802239FC 0022095C 41 82 00 10 */ beq lbl_80223A0C /* 80223A00 00220960 38 61 00 CC */ addi r3, r1, 0xcc /* 80223A04 00220964 38 80 FF FF */ li r4, -1 /* 80223A08 00220968 48 11 D4 39 */ bl __dt__6CTokenFv lbl_80223A0C: /* 80223A0C 0022096C 7F 20 07 75 */ extsb. r0, r25 /* 80223A10 00220970 41 82 00 10 */ beq lbl_80223A20 /* 80223A14 00220974 38 61 00 D4 */ addi r3, r1, 0xd4 /* 80223A18 00220978 38 80 FF FF */ li r4, -1 /* 80223A1C 0022097C 48 11 D4 25 */ bl __dt__6CTokenFv lbl_80223A20: /* 80223A20 00220980 80 9E 00 5C */ lwz r4, 0x5c(r30) /* 80223A24 00220984 3C 60 80 3D */ lis r3, lbl_803D31D0@ha /* 80223A28 00220988 80 BE 00 60 */ lwz r5, 0x60(r30) /* 80223A2C 0022098C 38 63 31 D0 */ addi r3, r3, lbl_803D31D0@l /* 80223A30 00220990 38 C0 00 FF */ li r6, 0xff /* 80223A34 00220994 38 00 00 00 */ li r0, 0 /* 80223A38 00220998 90 9D 09 8C */ stw r4, 0x98c(r29) /* 80223A3C 0022099C 38 83 00 2D */ addi r4, r3, 0x2d /* 80223A40 002209A0 3B 80 00 00 */ li r28, 0 /* 80223A44 002209A4 3B 60 00 00 */ li r27, 0 /* 80223A48 002209A8 90 BD 09 90 */ stw r5, 0x990(r29) /* 80223A4C 002209AC 3B 40 00 00 */ li r26, 0 /* 80223A50 002209B0 3B 20 00 00 */ li r25, 0 /* 80223A54 002209B4 38 60 00 3C */ li r3, 0x3c /* 80223A58 002209B8 81 1E 00 64 */ lwz r8, 0x64(r30) /* 80223A5C 002209BC 38 A0 00 00 */ li r5, 0 /* 80223A60 002209C0 80 FE 00 68 */ lwz r7, 0x68(r30) /* 80223A64 002209C4 91 1D 09 94 */ stw r8, 0x994(r29) /* 80223A68 002209C8 90 FD 09 98 */ stw r7, 0x998(r29) /* 80223A6C 002209CC 81 1E 00 6C */ lwz r8, 0x6c(r30) /* 80223A70 002209D0 80 FE 00 70 */ lwz r7, 0x70(r30) /* 80223A74 002209D4 91 1D 09 9C */ stw r8, 0x99c(r29) /* 80223A78 002209D8 90 FD 09 A0 */ stw r7, 0x9a0(r29) /* 80223A7C 002209DC 81 1E 00 74 */ lwz r8, 0x74(r30) /* 80223A80 002209E0 80 FE 00 78 */ lwz r7, 0x78(r30) /* 80223A84 002209E4 91 1D 09 A4 */ stw r8, 0x9a4(r29) /* 80223A88 002209E8 90 FD 09 A8 */ stw r7, 0x9a8(r29) /* 80223A8C 002209EC 81 1E 00 7C */ lwz r8, 0x7c(r30) /* 80223A90 002209F0 80 FE 00 80 */ lwz r7, 0x80(r30) /* 80223A94 002209F4 91 1D 09 AC */ stw r8, 0x9ac(r29) /* 80223A98 002209F8 90 FD 09 B0 */ stw r7, 0x9b0(r29) /* 80223A9C 002209FC 81 1E 00 84 */ lwz r8, 0x84(r30) /* 80223AA0 00220A00 80 FE 00 88 */ lwz r7, 0x88(r30) /* 80223AA4 00220A04 91 1D 09 B4 */ stw r8, 0x9b4(r29) /* 80223AA8 00220A08 90 FD 09 B8 */ stw r7, 0x9b8(r29) /* 80223AAC 00220A0C 81 1E 00 8C */ lwz r8, 0x8c(r30) /* 80223AB0 00220A10 80 FE 00 90 */ lwz r7, 0x90(r30) /* 80223AB4 00220A14 91 1D 09 BC */ stw r8, 0x9bc(r29) /* 80223AB8 00220A18 90 FD 09 C0 */ stw r7, 0x9c0(r29) /* 80223ABC 00220A1C 80 FE 00 94 */ lwz r7, 0x94(r30) /* 80223AC0 00220A20 90 FD 09 C4 */ stw r7, 0x9c4(r29) /* 80223AC4 00220A24 81 1E 00 98 */ lwz r8, 0x98(r30) /* 80223AC8 00220A28 80 FE 00 9C */ lwz r7, 0x9c(r30) /* 80223ACC 00220A2C 91 1D 09 C8 */ stw r8, 0x9c8(r29) /* 80223AD0 00220A30 90 FD 09 CC */ stw r7, 0x9cc(r29) /* 80223AD4 00220A34 81 1E 00 A0 */ lwz r8, 0xa0(r30) /* 80223AD8 00220A38 80 FE 00 A4 */ lwz r7, 0xa4(r30) /* 80223ADC 00220A3C 91 1D 09 D0 */ stw r8, 0x9d0(r29) /* 80223AE0 00220A40 90 FD 09 D4 */ stw r7, 0x9d4(r29) /* 80223AE4 00220A44 81 1E 00 A8 */ lwz r8, 0xa8(r30) /* 80223AE8 00220A48 80 FE 00 AC */ lwz r7, 0xac(r30) /* 80223AEC 00220A4C 91 1D 09 D8 */ stw r8, 0x9d8(r29) /* 80223AF0 00220A50 90 FD 09 DC */ stw r7, 0x9dc(r29) /* 80223AF4 00220A54 81 1E 00 B0 */ lwz r8, 0xb0(r30) /* 80223AF8 00220A58 80 FE 00 B4 */ lwz r7, 0xb4(r30) /* 80223AFC 00220A5C 91 1D 09 E0 */ stw r8, 0x9e0(r29) /* 80223B00 00220A60 90 FD 09 E4 */ stw r7, 0x9e4(r29) /* 80223B04 00220A64 80 FE 00 B8 */ lwz r7, 0xb8(r30) /* 80223B08 00220A68 90 FD 09 E8 */ stw r7, 0x9e8(r29) /* 80223B0C 00220A6C 80 FE 00 BC */ lwz r7, 0xbc(r30) /* 80223B10 00220A70 90 FD 09 EC */ stw r7, 0x9ec(r29) /* 80223B14 00220A74 80 FE 00 C0 */ lwz r7, 0xc0(r30) /* 80223B18 00220A78 90 FD 09 F0 */ stw r7, 0x9f0(r29) /* 80223B1C 00220A7C 98 DD 09 F4 */ stb r6, 0x9f4(r29) /* 80223B20 00220A80 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 80223B24 00220A84 B0 DD 09 F6 */ sth r6, 0x9f6(r29) /* 80223B28 00220A88 90 1D 09 F8 */ stw r0, 0x9f8(r29) /* 80223B2C 00220A8C C0 1F 01 40 */ lfs f0, 0x140(r31) /* 80223B30 00220A90 D0 1D 0A 00 */ stfs f0, 0xa00(r29) /* 80223B34 00220A94 90 1D 0A 04 */ stw r0, 0xa04(r29) /* 80223B38 00220A98 48 0F 1D 35 */ bl __nw__FUlPCcPCc /* 80223B3C 00220A9C 7C 7E 1B 79 */ or. r30, r3, r3 /* 80223B40 00220AA0 41 82 00 DC */ beq lbl_80223C1C /* 80223B44 00220AA4 80 DF 01 38 */ lwz r6, 0x138(r31) /* 80223B48 00220AA8 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 80223B4C 00220AAC 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 80223B50 00220AB0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80223B54 00220AB4 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80223B58 00220AB8 38 61 00 AC */ addi r3, r1, 0xac /* 80223B5C 00220ABC 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 80223B60 00220AC0 90 C1 00 B8 */ stw r6, 0xb8(r1) /* 80223B64 00220AC4 81 84 00 00 */ lwz r12, 0(r4) /* 80223B68 00220AC8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80223B6C 00220ACC 7D 89 03 A6 */ mtctr r12 /* 80223B70 00220AD0 4E 80 04 21 */ bctrl /* 80223B74 00220AD4 3B 21 01 28 */ addi r25, r1, 0x128 /* 80223B78 00220AD8 38 81 00 AC */ addi r4, r1, 0xac /* 80223B7C 00220ADC 7F 23 CB 78 */ mr r3, r25 /* 80223B80 00220AE0 3B 40 00 01 */ li r26, 1 /* 80223B84 00220AE4 48 11 D3 25 */ bl __ct__6CTokenFRC6CToken /* 80223B88 00220AE8 7F 23 CB 78 */ mr r3, r25 /* 80223B8C 00220AEC 48 11 D2 81 */ bl GetObj__6CTokenFv /* 80223B90 00220AF0 80 A3 00 04 */ lwz r5, 4(r3) /* 80223B94 00220AF4 3C 60 43 53 */ lis r3, 0x43534B52@ha /* 80223B98 00220AF8 38 03 4B 52 */ addi r0, r3, 0x43534B52@l /* 80223B9C 00220AFC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80223BA0 00220B00 90 A1 01 30 */ stw r5, 0x130(r1) /* 80223BA4 00220B04 38 61 00 BC */ addi r3, r1, 0xbc /* 80223BA8 00220B08 38 A1 00 C4 */ addi r5, r1, 0xc4 /* 80223BAC 00220B0C 3B 20 00 01 */ li r25, 1 /* 80223BB0 00220B10 80 DF 01 3C */ lwz r6, 0x13c(r31) /* 80223BB4 00220B14 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80223BB8 00220B18 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 80223BBC 00220B1C 81 84 00 00 */ lwz r12, 0(r4) /* 80223BC0 00220B20 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80223BC4 00220B24 7D 89 03 A6 */ mtctr r12 /* 80223BC8 00220B28 4E 80 04 21 */ bctrl /* 80223BCC 00220B2C 3B 61 01 34 */ addi r27, r1, 0x134 /* 80223BD0 00220B30 38 81 00 BC */ addi r4, r1, 0xbc /* 80223BD4 00220B34 7F 63 DB 78 */ mr r3, r27 /* 80223BD8 00220B38 3B 80 00 01 */ li r28, 1 /* 80223BDC 00220B3C 48 11 D2 CD */ bl __ct__6CTokenFRC6CToken /* 80223BE0 00220B40 7F 63 DB 78 */ mr r3, r27 /* 80223BE4 00220B44 48 11 D2 29 */ bl GetObj__6CTokenFv /* 80223BE8 00220B48 80 03 00 04 */ lwz r0, 4(r3) /* 80223BEC 00220B4C 7F 65 DB 78 */ mr r5, r27 /* 80223BF0 00220B50 7F C3 F3 78 */ mr r3, r30 /* 80223BF4 00220B54 38 81 01 28 */ addi r4, r1, 0x128 /* 80223BF8 00220B58 90 01 01 3C */ stw r0, 0x13c(r1) /* 80223BFC 00220B5C 3B 60 00 01 */ li r27, 1 /* 80223C00 00220B60 38 E0 00 01 */ li r7, 1 /* 80223C04 00220B64 80 DD 00 64 */ lwz r6, 0x64(r29) /* 80223C08 00220B68 80 C6 00 10 */ lwz r6, 0x10(r6) /* 80223C0C 00220B6C 80 C6 00 E0 */ lwz r6, 0xe0(r6) /* 80223C10 00220B70 38 C6 00 1C */ addi r6, r6, 0x1c /* 80223C14 00220B74 48 12 F8 25 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" /* 80223C18 00220B78 7C 7E 1B 78 */ mr r30, r3 lbl_80223C1C: /* 80223C1C 00220B7C 3B 01 01 1C */ addi r24, r1, 0x11c /* 80223C20 00220B80 7F C4 F3 78 */ mr r4, r30 /* 80223C24 00220B84 38 61 00 24 */ addi r3, r1, 0x24 /* 80223C28 00220B88 4B F3 6F 91 */ bl sub_8015abb8 /* 80223C2C 00220B8C 38 00 00 00 */ li r0, 0 /* 80223C30 00220B90 80 81 00 28 */ lwz r4, 0x28(r1) /* 80223C34 00220B94 98 01 00 24 */ stb r0, 0x24(r1) /* 80223C38 00220B98 7F 03 C3 78 */ mr r3, r24 /* 80223C3C 00220B9C 48 11 D2 C9 */ bl __ct__6CTokenFP4IObj /* 80223C40 00220BA0 88 01 00 24 */ lbz r0, 0x24(r1) /* 80223C44 00220BA4 28 00 00 00 */ cmplwi r0, 0 /* 80223C48 00220BA8 41 82 00 24 */ beq lbl_80223C6C /* 80223C4C 00220BAC 80 61 00 28 */ lwz r3, 0x28(r1) /* 80223C50 00220BB0 28 03 00 00 */ cmplwi r3, 0 /* 80223C54 00220BB4 41 82 00 18 */ beq lbl_80223C6C /* 80223C58 00220BB8 81 83 00 00 */ lwz r12, 0(r3) /* 80223C5C 00220BBC 38 80 00 01 */ li r4, 1 /* 80223C60 00220BC0 81 8C 00 08 */ lwz r12, 8(r12) /* 80223C64 00220BC4 7D 89 03 A6 */ mtctr r12 /* 80223C68 00220BC8 4E 80 04 21 */ bctrl lbl_80223C6C: /* 80223C6C 00220BCC 93 C1 01 24 */ stw r30, 0x124(r1) /* 80223C70 00220BD0 7F 03 C3 78 */ mr r3, r24 /* 80223C74 00220BD4 48 11 D1 11 */ bl Lock__6CTokenFv /* 80223C78 00220BD8 3B 1D 0A 08 */ addi r24, r29, 0xa08 /* 80223C7C 00220BDC 38 81 01 1C */ addi r4, r1, 0x11c /* 80223C80 00220BE0 7F 03 C3 78 */ mr r3, r24 /* 80223C84 00220BE4 48 11 D2 25 */ bl __ct__6CTokenFRC6CToken /* 80223C88 00220BE8 80 01 01 24 */ lwz r0, 0x124(r1) /* 80223C8C 00220BEC 7F 03 C3 78 */ mr r3, r24 /* 80223C90 00220BF0 90 18 00 08 */ stw r0, 8(r24) /* 80223C94 00220BF4 48 11 D0 F1 */ bl Lock__6CTokenFv /* 80223C98 00220BF8 38 61 01 1C */ addi r3, r1, 0x11c /* 80223C9C 00220BFC 38 80 00 00 */ li r4, 0 /* 80223CA0 00220C00 48 11 D1 A1 */ bl __dt__6CTokenFv /* 80223CA4 00220C04 7F 20 07 75 */ extsb. r0, r25 /* 80223CA8 00220C08 41 82 00 10 */ beq lbl_80223CB8 /* 80223CAC 00220C0C 38 61 01 28 */ addi r3, r1, 0x128 /* 80223CB0 00220C10 38 80 00 00 */ li r4, 0 /* 80223CB4 00220C14 48 11 D1 8D */ bl __dt__6CTokenFv lbl_80223CB8: /* 80223CB8 00220C18 7F 40 07 75 */ extsb. r0, r26 /* 80223CBC 00220C1C 41 82 00 10 */ beq lbl_80223CCC /* 80223CC0 00220C20 38 61 00 AC */ addi r3, r1, 0xac /* 80223CC4 00220C24 38 80 FF FF */ li r4, -1 /* 80223CC8 00220C28 48 11 D1 79 */ bl __dt__6CTokenFv lbl_80223CCC: /* 80223CCC 00220C2C 7F 60 07 75 */ extsb. r0, r27 /* 80223CD0 00220C30 41 82 00 10 */ beq lbl_80223CE0 /* 80223CD4 00220C34 38 61 01 34 */ addi r3, r1, 0x134 /* 80223CD8 00220C38 38 80 00 00 */ li r4, 0 /* 80223CDC 00220C3C 48 11 D1 65 */ bl __dt__6CTokenFv lbl_80223CE0: /* 80223CE0 00220C40 7F 80 07 75 */ extsb. r0, r28 /* 80223CE4 00220C44 41 82 00 10 */ beq lbl_80223CF4 /* 80223CE8 00220C48 38 61 00 BC */ addi r3, r1, 0xbc /* 80223CEC 00220C4C 38 80 FF FF */ li r4, -1 /* 80223CF0 00220C50 48 11 D1 51 */ bl __dt__6CTokenFv lbl_80223CF4: /* 80223CF4 00220C54 80 DF 01 4C */ lwz r6, 0x14c(r31) /* 80223CF8 00220C58 3C 60 50 41 */ lis r3, 0x50415254@ha /* 80223CFC 00220C5C 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 80223D00 00220C60 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80223D04 00220C64 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80223D08 00220C68 38 61 00 9C */ addi r3, r1, 0x9c /* 80223D0C 00220C6C 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 80223D10 00220C70 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 80223D14 00220C74 81 84 00 00 */ lwz r12, 0(r4) /* 80223D18 00220C78 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80223D1C 00220C7C 7D 89 03 A6 */ mtctr r12 /* 80223D20 00220C80 4E 80 04 21 */ bctrl /* 80223D24 00220C84 3B 1D 0A 14 */ addi r24, r29, 0xa14 /* 80223D28 00220C88 38 81 00 9C */ addi r4, r1, 0x9c /* 80223D2C 00220C8C 7F 03 C3 78 */ mr r3, r24 /* 80223D30 00220C90 48 11 D1 79 */ bl __ct__6CTokenFRC6CToken /* 80223D34 00220C94 7F 03 C3 78 */ mr r3, r24 /* 80223D38 00220C98 48 11 D0 D5 */ bl GetObj__6CTokenFv /* 80223D3C 00220C9C 80 03 00 04 */ lwz r0, 4(r3) /* 80223D40 00220CA0 38 61 00 9C */ addi r3, r1, 0x9c /* 80223D44 00220CA4 38 80 FF FF */ li r4, -1 /* 80223D48 00220CA8 90 18 00 08 */ stw r0, 8(r24) /* 80223D4C 00220CAC 48 11 D0 F5 */ bl __dt__6CTokenFv /* 80223D50 00220CB0 80 DF 01 50 */ lwz r6, 0x150(r31) /* 80223D54 00220CB4 3C 60 50 41 */ lis r3, 0x50415254@ha /* 80223D58 00220CB8 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 80223D5C 00220CBC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80223D60 00220CC0 90 01 00 94 */ stw r0, 0x94(r1) /* 80223D64 00220CC4 38 61 00 8C */ addi r3, r1, 0x8c /* 80223D68 00220CC8 38 A1 00 94 */ addi r5, r1, 0x94 /* 80223D6C 00220CCC 90 C1 00 98 */ stw r6, 0x98(r1) /* 80223D70 00220CD0 81 84 00 00 */ lwz r12, 0(r4) /* 80223D74 00220CD4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80223D78 00220CD8 7D 89 03 A6 */ mtctr r12 /* 80223D7C 00220CDC 4E 80 04 21 */ bctrl /* 80223D80 00220CE0 3B 1D 0A 20 */ addi r24, r29, 0xa20 /* 80223D84 00220CE4 38 81 00 8C */ addi r4, r1, 0x8c /* 80223D88 00220CE8 7F 03 C3 78 */ mr r3, r24 /* 80223D8C 00220CEC 48 11 D1 1D */ bl __ct__6CTokenFRC6CToken /* 80223D90 00220CF0 7F 03 C3 78 */ mr r3, r24 /* 80223D94 00220CF4 48 11 D0 79 */ bl GetObj__6CTokenFv /* 80223D98 00220CF8 80 03 00 04 */ lwz r0, 4(r3) /* 80223D9C 00220CFC 38 61 00 8C */ addi r3, r1, 0x8c /* 80223DA0 00220D00 38 80 FF FF */ li r4, -1 /* 80223DA4 00220D04 90 18 00 08 */ stw r0, 8(r24) /* 80223DA8 00220D08 48 11 D0 99 */ bl __dt__6CTokenFv /* 80223DAC 00220D0C 80 DF 01 54 */ lwz r6, 0x154(r31) /* 80223DB0 00220D10 3C 60 50 41 */ lis r3, 0x50415254@ha /* 80223DB4 00220D14 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 80223DB8 00220D18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80223DBC 00220D1C 90 01 00 84 */ stw r0, 0x84(r1) /* 80223DC0 00220D20 38 61 00 7C */ addi r3, r1, 0x7c /* 80223DC4 00220D24 38 A1 00 84 */ addi r5, r1, 0x84 /* 80223DC8 00220D28 90 C1 00 88 */ stw r6, 0x88(r1) /* 80223DCC 00220D2C 81 84 00 00 */ lwz r12, 0(r4) /* 80223DD0 00220D30 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80223DD4 00220D34 7D 89 03 A6 */ mtctr r12 /* 80223DD8 00220D38 4E 80 04 21 */ bctrl /* 80223DDC 00220D3C 3B 1D 0A 2C */ addi r24, r29, 0xa2c /* 80223DE0 00220D40 38 81 00 7C */ addi r4, r1, 0x7c /* 80223DE4 00220D44 7F 03 C3 78 */ mr r3, r24 /* 80223DE8 00220D48 48 11 D0 C1 */ bl __ct__6CTokenFRC6CToken /* 80223DEC 00220D4C 7F 03 C3 78 */ mr r3, r24 /* 80223DF0 00220D50 48 11 D0 1D */ bl GetObj__6CTokenFv /* 80223DF4 00220D54 80 03 00 04 */ lwz r0, 4(r3) /* 80223DF8 00220D58 38 61 00 7C */ addi r3, r1, 0x7c /* 80223DFC 00220D5C 38 80 FF FF */ li r4, -1 /* 80223E00 00220D60 90 18 00 08 */ stw r0, 8(r24) /* 80223E04 00220D64 48 11 D0 3D */ bl __dt__6CTokenFv /* 80223E08 00220D68 80 9F 01 48 */ lwz r4, 0x148(r31) /* 80223E0C 00220D6C 3B 20 00 00 */ li r25, 0 /* 80223E10 00220D70 3B 40 00 00 */ li r26, 0 /* 80223E14 00220D74 3B 00 00 00 */ li r24, 0 /* 80223E18 00220D78 3C 04 00 01 */ addis r0, r4, 1 /* 80223E1C 00220D7C 3B 60 00 00 */ li r27, 0 /* 80223E20 00220D80 28 00 FF FF */ cmplwi r0, 0xffff /* 80223E24 00220D84 41 82 00 90 */ beq lbl_80223EB4 /* 80223E28 00220D88 3C 60 50 41 */ lis r3, 0x50415254@ha /* 80223E2C 00220D8C 90 81 00 78 */ stw r4, 0x78(r1) /* 80223E30 00220D90 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 80223E34 00220D94 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80223E38 00220D98 90 01 00 74 */ stw r0, 0x74(r1) /* 80223E3C 00220D9C 38 61 00 6C */ addi r3, r1, 0x6c /* 80223E40 00220DA0 38 A1 00 74 */ addi r5, r1, 0x74 /* 80223E44 00220DA4 81 84 00 00 */ lwz r12, 0(r4) /* 80223E48 00220DA8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80223E4C 00220DAC 7D 89 03 A6 */ mtctr r12 /* 80223E50 00220DB0 4E 80 04 21 */ bctrl /* 80223E54 00220DB4 3B 01 01 10 */ addi r24, r1, 0x110 /* 80223E58 00220DB8 38 81 00 6C */ addi r4, r1, 0x6c /* 80223E5C 00220DBC 7F 03 C3 78 */ mr r3, r24 /* 80223E60 00220DC0 3B 20 00 01 */ li r25, 1 /* 80223E64 00220DC4 48 11 D0 45 */ bl __ct__6CTokenFRC6CToken /* 80223E68 00220DC8 7F 03 C3 78 */ mr r3, r24 /* 80223E6C 00220DCC 48 11 CF A1 */ bl GetObj__6CTokenFv /* 80223E70 00220DD0 80 63 00 04 */ lwz r3, 4(r3) /* 80223E74 00220DD4 38 00 00 01 */ li r0, 1 /* 80223E78 00220DD8 37 81 01 00 */ addic. r28, r1, 0x100 /* 80223E7C 00220DDC 3B 40 00 01 */ li r26, 1 /* 80223E80 00220DE0 90 61 01 18 */ stw r3, 0x118(r1) /* 80223E84 00220DE4 98 01 01 0C */ stb r0, 0x10c(r1) /* 80223E88 00220DE8 41 82 00 20 */ beq lbl_80223EA8 /* 80223E8C 00220DEC 7F 83 E3 78 */ mr r3, r28 /* 80223E90 00220DF0 7F 04 C3 78 */ mr r4, r24 /* 80223E94 00220DF4 48 11 D0 15 */ bl __ct__6CTokenFRC6CToken /* 80223E98 00220DF8 80 01 01 18 */ lwz r0, 0x118(r1) /* 80223E9C 00220DFC 7F 83 E3 78 */ mr r3, r28 /* 80223EA0 00220E00 90 1C 00 08 */ stw r0, 8(r28) /* 80223EA4 00220E04 48 11 CE E1 */ bl Lock__6CTokenFv lbl_80223EA8: /* 80223EA8 00220E08 3B 81 01 00 */ addi r28, r1, 0x100 /* 80223EAC 00220E0C 3B 00 00 01 */ li r24, 1 /* 80223EB0 00220E10 48 00 00 14 */ b lbl_80223EC4 lbl_80223EB4: /* 80223EB4 00220E14 38 00 00 00 */ li r0, 0 /* 80223EB8 00220E18 3B 81 00 F0 */ addi r28, r1, 0xf0 /* 80223EBC 00220E1C 98 01 00 FC */ stb r0, 0xfc(r1) /* 80223EC0 00220E20 3B 60 00 01 */ li r27, 1 lbl_80223EC4: /* 80223EC4 00220E24 88 1C 00 0C */ lbz r0, 0xc(r28) /* 80223EC8 00220E28 98 1D 0A 44 */ stb r0, 0xa44(r29) /* 80223ECC 00220E2C 88 1C 00 0C */ lbz r0, 0xc(r28) /* 80223ED0 00220E30 28 00 00 00 */ cmplwi r0, 0 /* 80223ED4 00220E34 41 82 00 28 */ beq lbl_80223EFC /* 80223ED8 00220E38 37 DD 0A 38 */ addic. r30, r29, 0xa38 /* 80223EDC 00220E3C 41 82 00 20 */ beq lbl_80223EFC /* 80223EE0 00220E40 7F C3 F3 78 */ mr r3, r30 /* 80223EE4 00220E44 7F 84 E3 78 */ mr r4, r28 /* 80223EE8 00220E48 48 11 CF C1 */ bl __ct__6CTokenFRC6CToken /* 80223EEC 00220E4C 80 1C 00 08 */ lwz r0, 8(r28) /* 80223EF0 00220E50 7F C3 F3 78 */ mr r3, r30 /* 80223EF4 00220E54 90 1E 00 08 */ stw r0, 8(r30) /* 80223EF8 00220E58 48 11 CE 8D */ bl Lock__6CTokenFv lbl_80223EFC: /* 80223EFC 00220E5C 7F 60 07 75 */ extsb. r0, r27 /* 80223F00 00220E60 41 82 00 30 */ beq lbl_80223F30 /* 80223F04 00220E64 88 01 00 FC */ lbz r0, 0xfc(r1) /* 80223F08 00220E68 28 00 00 00 */ cmplwi r0, 0 /* 80223F0C 00220E6C 41 82 00 1C */ beq lbl_80223F28 /* 80223F10 00220E70 34 61 00 F0 */ addic. r3, r1, 0xf0 /* 80223F14 00220E74 41 82 00 14 */ beq lbl_80223F28 /* 80223F18 00220E78 28 03 00 00 */ cmplwi r3, 0 /* 80223F1C 00220E7C 41 82 00 0C */ beq lbl_80223F28 /* 80223F20 00220E80 38 80 00 00 */ li r4, 0 /* 80223F24 00220E84 48 11 CF 1D */ bl __dt__6CTokenFv lbl_80223F28: /* 80223F28 00220E88 38 00 00 00 */ li r0, 0 /* 80223F2C 00220E8C 98 01 00 FC */ stb r0, 0xfc(r1) lbl_80223F30: /* 80223F30 00220E90 7F 00 07 75 */ extsb. r0, r24 /* 80223F34 00220E94 41 82 00 30 */ beq lbl_80223F64 /* 80223F38 00220E98 88 01 01 0C */ lbz r0, 0x10c(r1) /* 80223F3C 00220E9C 28 00 00 00 */ cmplwi r0, 0 /* 80223F40 00220EA0 41 82 00 1C */ beq lbl_80223F5C /* 80223F44 00220EA4 34 61 01 00 */ addic. r3, r1, 0x100 /* 80223F48 00220EA8 41 82 00 14 */ beq lbl_80223F5C /* 80223F4C 00220EAC 28 03 00 00 */ cmplwi r3, 0 /* 80223F50 00220EB0 41 82 00 0C */ beq lbl_80223F5C /* 80223F54 00220EB4 38 80 00 00 */ li r4, 0 /* 80223F58 00220EB8 48 11 CE E9 */ bl __dt__6CTokenFv lbl_80223F5C: /* 80223F5C 00220EBC 38 00 00 00 */ li r0, 0 /* 80223F60 00220EC0 98 01 01 0C */ stb r0, 0x10c(r1) lbl_80223F64: /* 80223F64 00220EC4 7F 40 07 75 */ extsb. r0, r26 /* 80223F68 00220EC8 41 82 00 10 */ beq lbl_80223F78 /* 80223F6C 00220ECC 38 61 01 10 */ addi r3, r1, 0x110 /* 80223F70 00220ED0 38 80 00 00 */ li r4, 0 /* 80223F74 00220ED4 48 11 CE CD */ bl __dt__6CTokenFv lbl_80223F78: /* 80223F78 00220ED8 7F 20 07 75 */ extsb. r0, r25 /* 80223F7C 00220EDC 41 82 00 10 */ beq lbl_80223F8C /* 80223F80 00220EE0 38 61 00 6C */ addi r3, r1, 0x6c /* 80223F84 00220EE4 38 80 FF FF */ li r4, -1 /* 80223F88 00220EE8 48 11 CE B9 */ bl __dt__6CTokenFv lbl_80223F8C: /* 80223F8C 00220EEC 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223F90 00220EF0 38 A0 00 00 */ li r5, 0 /* 80223F94 00220EF4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80223F98 00220EF8 38 80 00 01 */ li r4, 1 /* 80223F9C 00220EFC 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FA0 00220F00 38 7D 09 58 */ addi r3, r29, 0x958 /* 80223FA4 00220F04 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FA8 00220F08 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80223FAC 00220F0C 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FB0 00220F10 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FB4 00220F14 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80223FB8 00220F18 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FBC 00220F1C 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FC0 00220F20 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80223FC4 00220F24 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FC8 00220F28 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FCC 00220F2C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80223FD0 00220F30 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FD4 00220F34 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FD8 00220F38 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80223FDC 00220F3C 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FE0 00220F40 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FE4 00220F44 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e /* 80223FE8 00220F48 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FEC 00220F4C 88 1D 0A 48 */ lbz r0, 0xa48(r29) /* 80223FF0 00220F50 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 80223FF4 00220F54 98 1D 0A 48 */ stb r0, 0xa48(r29) /* 80223FF8 00220F58 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80223FFC 00220F5C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80224000 00220F60 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80224004 00220F64 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80224008 00220F68 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8022400C 00220F6C 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80224010 00220F70 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80224014 00220F74 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80224018 00220F78 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 8022401C 00220F7C 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80224020 00220F80 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 80224024 00220F84 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80224028 00220F88 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 8022402C 00220F8C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 80224030 00220F90 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80224034 00220F94 88 1D 0A 49 */ lbz r0, 0xa49(r29) /* 80224038 00220F98 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 8022403C 00220F9C 98 1D 0A 49 */ stb r0, 0xa49(r29) /* 80224040 00220FA0 48 11 CD 45 */ bl Lock__6CTokenFv /* 80224044 00220FA4 7F A3 EB 78 */ mr r3, r29 /* 80224048 00220FA8 4B FF B7 A1 */ bl sub_8021f7e8 /* 8022404C 00220FAC 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 80224050 00220FB0 38 A0 00 00 */ li r5, 0 /* 80224054 00220FB4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80224058 00220FB8 38 80 00 01 */ li r4, 1 /* 8022405C 00220FBC 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 80224060 00220FC0 38 61 00 2C */ addi r3, r1, 0x2c /* 80224064 00220FC4 88 1D 04 E2 */ lbz r0, 0x4e2(r29) /* 80224068 00220FC8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8022406C 00220FCC 98 1D 04 E2 */ stb r0, 0x4e2(r29) /* 80224070 00220FD0 88 1D 04 E2 */ lbz r0, 0x4e2(r29) /* 80224074 00220FD4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 80224078 00220FD8 98 1D 04 E2 */ stb r0, 0x4e2(r29) /* 8022407C 00220FDC 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 80224080 00220FE0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80224084 00220FE4 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 80224088 00220FE8 48 0B EF F5 */ bl NoParameter__12CPASAnimParmFv /* 8022408C 00220FEC 38 61 00 34 */ addi r3, r1, 0x34 /* 80224090 00220FF0 48 0B EF ED */ bl NoParameter__12CPASAnimParmFv /* 80224094 00220FF4 38 61 00 3C */ addi r3, r1, 0x3c /* 80224098 00220FF8 48 0B EF E5 */ bl NoParameter__12CPASAnimParmFv /* 8022409C 00220FFC 38 61 00 44 */ addi r3, r1, 0x44 /* 802240A0 00221000 48 0B EF DD */ bl NoParameter__12CPASAnimParmFv /* 802240A4 00221004 38 61 00 4C */ addi r3, r1, 0x4c /* 802240A8 00221008 48 0B EF D5 */ bl NoParameter__12CPASAnimParmFv /* 802240AC 0022100C 38 61 00 54 */ addi r3, r1, 0x54 /* 802240B0 00221010 48 0B EF CD */ bl NoParameter__12CPASAnimParmFv /* 802240B4 00221014 38 61 00 5C */ addi r3, r1, 0x5c /* 802240B8 00221018 38 80 00 00 */ li r4, 0 /* 802240BC 0022101C 48 0B EE C9 */ bl FromEnum__12CPASAnimParmFi /* 802240C0 00221020 38 61 00 64 */ addi r3, r1, 0x64 /* 802240C4 00221024 38 80 00 01 */ li r4, 1 /* 802240C8 00221028 48 0B EE BD */ bl FromEnum__12CPASAnimParmFi /* 802240CC 0022102C 38 61 00 34 */ addi r3, r1, 0x34 /* 802240D0 00221030 38 01 00 2C */ addi r0, r1, 0x2c /* 802240D4 00221034 90 61 00 08 */ stw r3, 8(r1) /* 802240D8 00221038 38 61 01 68 */ addi r3, r1, 0x168 /* 802240DC 0022103C 38 A1 00 64 */ addi r5, r1, 0x64 /* 802240E0 00221040 38 C1 00 5C */ addi r6, r1, 0x5c /* 802240E4 00221044 90 01 00 0C */ stw r0, 0xc(r1) /* 802240E8 00221048 38 E1 00 54 */ addi r7, r1, 0x54 /* 802240EC 0022104C 39 01 00 4C */ addi r8, r1, 0x4c /* 802240F0 00221050 39 21 00 44 */ addi r9, r1, 0x44 /* 802240F4 00221054 39 41 00 3C */ addi r10, r1, 0x3c /* 802240F8 00221058 38 80 00 03 */ li r4, 3 /* 802240FC 0022105C 4B E5 91 C9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 80224100 00221060 80 BD 00 64 */ lwz r5, 0x64(r29) /* 80224104 00221064 7F A3 EB 78 */ mr r3, r29 /* 80224108 00221068 38 81 01 68 */ addi r4, r1, 0x168 /* 8022410C 0022106C C0 45 00 00 */ lfs f2, 0(r5) /* 80224110 00221070 C0 25 00 04 */ lfs f1, 4(r5) /* 80224114 00221074 C0 05 00 08 */ lfs f0, 8(r5) /* 80224118 00221078 D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 8022411C 0022107C D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 80224120 00221080 D0 01 00 EC */ stfs f0, 0xec(r1) /* 80224124 00221084 4B E5 88 DD */ bl func_8007CA00 /* 80224128 00221088 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 8022412C 0022108C EC 01 00 32 */ fmuls f0, f1, f0 /* 80224130 00221090 D0 1D 08 D4 */ stfs f0, 0x8d4(r29) /* 80224134 00221094 80 7D 00 64 */ lwz r3, 0x64(r29) /* 80224138 00221098 83 5D 0A 10 */ lwz r26, 0xa10(r29) /* 8022413C 0022109C 80 83 00 10 */ lwz r4, 0x10(r3) /* 80224140 002210A0 38 7A 00 1C */ addi r3, r26, 0x1c /* 80224144 002210A4 80 84 00 E0 */ lwz r4, 0xe0(r4) /* 80224148 002210A8 3B 24 00 1C */ addi r25, r4, 0x1c /* 8022414C 002210AC 7F 24 CB 78 */ mr r4, r25 /* 80224150 002210B0 48 11 CB 75 */ bl __as__6CTokenFRC6CToken /* 80224154 002210B4 80 19 00 08 */ lwz r0, 8(r25) /* 80224158 002210B8 7F A3 EB 78 */ mr r3, r29 /* 8022415C 002210BC 90 1A 00 24 */ stw r0, 0x24(r26) /* 80224160 002210C0 4B E5 37 35 */ bl MakeThermalColdAndHot__10CPatternedFv /* 80224164 002210C4 34 A1 01 6C */ addic. r5, r1, 0x16c /* 80224168 002210C8 41 82 00 58 */ beq lbl_802241C0 /* 8022416C 002210CC 80 C5 00 00 */ lwz r6, 0(r5) /* 80224170 002210D0 38 60 00 00 */ li r3, 0 /* 80224174 002210D4 2C 06 00 00 */ cmpwi r6, 0 /* 80224178 002210D8 40 81 00 40 */ ble lbl_802241B8 /* 8022417C 002210DC 2C 06 00 08 */ cmpwi r6, 8 /* 80224180 002210E0 38 86 FF F8 */ addi r4, r6, -8 /* 80224184 002210E4 40 81 00 20 */ ble lbl_802241A4 /* 80224188 002210E8 38 04 00 07 */ addi r0, r4, 7 /* 8022418C 002210EC 54 00 E8 FE */ srwi r0, r0, 3 /* 80224190 002210F0 7C 09 03 A6 */ mtctr r0 /* 80224194 002210F4 2C 04 00 00 */ cmpwi r4, 0 /* 80224198 002210F8 40 81 00 0C */ ble lbl_802241A4 lbl_8022419C: /* 8022419C 002210FC 38 63 00 08 */ addi r3, r3, 8 /* 802241A0 00221100 42 00 FF FC */ bdnz lbl_8022419C lbl_802241A4: /* 802241A4 00221104 7C 03 30 50 */ subf r0, r3, r6 /* 802241A8 00221108 7C 09 03 A6 */ mtctr r0 /* 802241AC 0022110C 7C 03 30 00 */ cmpw r3, r6 /* 802241B0 00221110 40 80 00 08 */ bge lbl_802241B8 lbl_802241B4: /* 802241B4 00221114 42 00 00 00 */ bdnz lbl_802241B4 lbl_802241B8: /* 802241B8 00221118 38 00 00 00 */ li r0, 0 /* 802241BC 0022111C 90 05 00 00 */ stw r0, 0(r5) lbl_802241C0: /* 802241C0 00221120 7F A3 EB 78 */ mr r3, r29 /* 802241C4 00221124 BB 01 01 B0 */ lmw r24, 0x1b0(r1) /* 802241C8 00221128 80 01 01 D4 */ lwz r0, 0x1d4(r1) /* 802241CC 0022112C 7C 08 03 A6 */ mtlr r0 /* 802241D0 00221130 38 21 01 D0 */ addi r1, r1, 0x1d0 /* 802241D4 00221134 4E 80 00 20 */ blr .global __ct__13CBabygothDataFRC13CBabygothData __ct__13CBabygothDataFRC13CBabygothData: /* 802241D8 00221138 C0 04 00 00 */ lfs f0, 0(r4) /* 802241DC 0022113C D0 03 00 00 */ stfs f0, 0(r3) /* 802241E0 00221140 C0 04 00 04 */ lfs f0, 4(r4) /* 802241E4 00221144 D0 03 00 04 */ stfs f0, 4(r3) /* 802241E8 00221148 80 04 00 08 */ lwz r0, 8(r4) /* 802241EC 0022114C 90 03 00 08 */ stw r0, 8(r3) /* 802241F0 00221150 80 04 00 0C */ lwz r0, 0xc(r4) /* 802241F4 00221154 90 03 00 0C */ stw r0, 0xc(r3) /* 802241F8 00221158 88 04 00 10 */ lbz r0, 0x10(r4) /* 802241FC 0022115C 98 03 00 10 */ stb r0, 0x10(r3) /* 80224200 00221160 C0 04 00 14 */ lfs f0, 0x14(r4) /* 80224204 00221164 D0 03 00 14 */ stfs f0, 0x14(r3) /* 80224208 00221168 C0 04 00 18 */ lfs f0, 0x18(r4) /* 8022420C 0022116C D0 03 00 18 */ stfs f0, 0x18(r3) /* 80224210 00221170 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 80224214 00221174 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 80224218 00221178 C0 04 00 20 */ lfs f0, 0x20(r4) /* 8022421C 0022117C D0 03 00 20 */ stfs f0, 0x20(r3) /* 80224220 00221180 88 04 00 24 */ lbz r0, 0x24(r4) /* 80224224 00221184 98 03 00 24 */ stb r0, 0x24(r3) /* 80224228 00221188 80 04 00 28 */ lwz r0, 0x28(r4) /* 8022422C 0022118C 90 03 00 28 */ stw r0, 0x28(r3) /* 80224230 00221190 88 04 00 2C */ lbz r0, 0x2c(r4) /* 80224234 00221194 98 03 00 2C */ stb r0, 0x2c(r3) /* 80224238 00221198 C0 04 00 30 */ lfs f0, 0x30(r4) /* 8022423C 0022119C D0 03 00 30 */ stfs f0, 0x30(r3) /* 80224240 002211A0 C0 04 00 34 */ lfs f0, 0x34(r4) /* 80224244 002211A4 D0 03 00 34 */ stfs f0, 0x34(r3) /* 80224248 002211A8 C0 04 00 38 */ lfs f0, 0x38(r4) /* 8022424C 002211AC D0 03 00 38 */ stfs f0, 0x38(r3) /* 80224250 002211B0 C0 04 00 3C */ lfs f0, 0x3c(r4) /* 80224254 002211B4 D0 03 00 3C */ stfs f0, 0x3c(r3) /* 80224258 002211B8 88 04 00 40 */ lbz r0, 0x40(r4) /* 8022425C 002211BC 98 03 00 40 */ stb r0, 0x40(r3) /* 80224260 002211C0 80 04 00 44 */ lwz r0, 0x44(r4) /* 80224264 002211C4 90 03 00 44 */ stw r0, 0x44(r3) /* 80224268 002211C8 80 04 00 48 */ lwz r0, 0x48(r4) /* 8022426C 002211CC 90 03 00 48 */ stw r0, 0x48(r3) /* 80224270 002211D0 80 04 00 4C */ lwz r0, 0x4c(r4) /* 80224274 002211D4 90 03 00 4C */ stw r0, 0x4c(r3) /* 80224278 002211D8 88 04 00 50 */ lbz r0, 0x50(r4) /* 8022427C 002211DC 98 03 00 50 */ stb r0, 0x50(r3) /* 80224280 002211E0 C0 04 00 54 */ lfs f0, 0x54(r4) /* 80224284 002211E4 D0 03 00 54 */ stfs f0, 0x54(r3) /* 80224288 002211E8 C0 04 00 58 */ lfs f0, 0x58(r4) /* 8022428C 002211EC D0 03 00 58 */ stfs f0, 0x58(r3) /* 80224290 002211F0 C0 04 00 5C */ lfs f0, 0x5c(r4) /* 80224294 002211F4 D0 03 00 5C */ stfs f0, 0x5c(r3) /* 80224298 002211F8 C0 04 00 60 */ lfs f0, 0x60(r4) /* 8022429C 002211FC D0 03 00 60 */ stfs f0, 0x60(r3) /* 802242A0 00221200 88 04 00 64 */ lbz r0, 0x64(r4) /* 802242A4 00221204 98 03 00 64 */ stb r0, 0x64(r3) /* 802242A8 00221208 80 A4 00 68 */ lwz r5, 0x68(r4) /* 802242AC 0022120C 80 04 00 6C */ lwz r0, 0x6c(r4) /* 802242B0 00221210 90 A3 00 68 */ stw r5, 0x68(r3) /* 802242B4 00221214 90 03 00 6C */ stw r0, 0x6c(r3) /* 802242B8 00221218 80 A4 00 70 */ lwz r5, 0x70(r4) /* 802242BC 0022121C 80 04 00 74 */ lwz r0, 0x74(r4) /* 802242C0 00221220 90 A3 00 70 */ stw r5, 0x70(r3) /* 802242C4 00221224 90 03 00 74 */ stw r0, 0x74(r3) /* 802242C8 00221228 80 A4 00 78 */ lwz r5, 0x78(r4) /* 802242CC 0022122C 80 04 00 7C */ lwz r0, 0x7c(r4) /* 802242D0 00221230 90 A3 00 78 */ stw r5, 0x78(r3) /* 802242D4 00221234 90 03 00 7C */ stw r0, 0x7c(r3) /* 802242D8 00221238 80 A4 00 80 */ lwz r5, 0x80(r4) /* 802242DC 0022123C 80 04 00 84 */ lwz r0, 0x84(r4) /* 802242E0 00221240 90 A3 00 80 */ stw r5, 0x80(r3) /* 802242E4 00221244 90 03 00 84 */ stw r0, 0x84(r3) /* 802242E8 00221248 80 A4 00 88 */ lwz r5, 0x88(r4) /* 802242EC 0022124C 80 04 00 8C */ lwz r0, 0x8c(r4) /* 802242F0 00221250 90 A3 00 88 */ stw r5, 0x88(r3) /* 802242F4 00221254 90 03 00 8C */ stw r0, 0x8c(r3) /* 802242F8 00221258 80 A4 00 90 */ lwz r5, 0x90(r4) /* 802242FC 0022125C 80 04 00 94 */ lwz r0, 0x94(r4) /* 80224300 00221260 90 A3 00 90 */ stw r5, 0x90(r3) /* 80224304 00221264 90 03 00 94 */ stw r0, 0x94(r3) /* 80224308 00221268 80 A4 00 98 */ lwz r5, 0x98(r4) /* 8022430C 0022126C 80 04 00 9C */ lwz r0, 0x9c(r4) /* 80224310 00221270 90 A3 00 98 */ stw r5, 0x98(r3) /* 80224314 00221274 90 03 00 9C */ stw r0, 0x9c(r3) /* 80224318 00221278 80 04 00 A0 */ lwz r0, 0xa0(r4) /* 8022431C 0022127C 90 03 00 A0 */ stw r0, 0xa0(r3) /* 80224320 00221280 80 A4 00 A4 */ lwz r5, 0xa4(r4) /* 80224324 00221284 80 04 00 A8 */ lwz r0, 0xa8(r4) /* 80224328 00221288 90 A3 00 A4 */ stw r5, 0xa4(r3) /* 8022432C 0022128C 90 03 00 A8 */ stw r0, 0xa8(r3) /* 80224330 00221290 80 A4 00 AC */ lwz r5, 0xac(r4) /* 80224334 00221294 80 04 00 B0 */ lwz r0, 0xb0(r4) /* 80224338 00221298 90 A3 00 AC */ stw r5, 0xac(r3) /* 8022433C 0022129C 90 03 00 B0 */ stw r0, 0xb0(r3) /* 80224340 002212A0 80 A4 00 B4 */ lwz r5, 0xb4(r4) /* 80224344 002212A4 80 04 00 B8 */ lwz r0, 0xb8(r4) /* 80224348 002212A8 90 A3 00 B4 */ stw r5, 0xb4(r3) /* 8022434C 002212AC 90 03 00 B8 */ stw r0, 0xb8(r3) /* 80224350 002212B0 80 A4 00 BC */ lwz r5, 0xbc(r4) /* 80224354 002212B4 80 04 00 C0 */ lwz r0, 0xc0(r4) /* 80224358 002212B8 90 A3 00 BC */ stw r5, 0xbc(r3) /* 8022435C 002212BC 90 03 00 C0 */ stw r0, 0xc0(r3) /* 80224360 002212C0 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 80224364 002212C4 90 03 00 C4 */ stw r0, 0xc4(r3) /* 80224368 002212C8 80 04 00 C8 */ lwz r0, 0xc8(r4) /* 8022436C 002212CC 90 03 00 C8 */ stw r0, 0xc8(r3) /* 80224370 002212D0 80 04 00 CC */ lwz r0, 0xcc(r4) /* 80224374 002212D4 90 03 00 CC */ stw r0, 0xcc(r3) /* 80224378 002212D8 80 A4 00 D0 */ lwz r5, 0xd0(r4) /* 8022437C 002212DC 80 04 00 D4 */ lwz r0, 0xd4(r4) /* 80224380 002212E0 90 A3 00 D0 */ stw r5, 0xd0(r3) /* 80224384 002212E4 90 03 00 D4 */ stw r0, 0xd4(r3) /* 80224388 002212E8 80 A4 00 D8 */ lwz r5, 0xd8(r4) /* 8022438C 002212EC 80 04 00 DC */ lwz r0, 0xdc(r4) /* 80224390 002212F0 90 A3 00 D8 */ stw r5, 0xd8(r3) /* 80224394 002212F4 90 03 00 DC */ stw r0, 0xdc(r3) /* 80224398 002212F8 80 A4 00 E0 */ lwz r5, 0xe0(r4) /* 8022439C 002212FC 80 04 00 E4 */ lwz r0, 0xe4(r4) /* 802243A0 00221300 90 A3 00 E0 */ stw r5, 0xe0(r3) /* 802243A4 00221304 90 03 00 E4 */ stw r0, 0xe4(r3) /* 802243A8 00221308 80 A4 00 E8 */ lwz r5, 0xe8(r4) /* 802243AC 0022130C 80 04 00 EC */ lwz r0, 0xec(r4) /* 802243B0 00221310 90 A3 00 E8 */ stw r5, 0xe8(r3) /* 802243B4 00221314 90 03 00 EC */ stw r0, 0xec(r3) /* 802243B8 00221318 80 A4 00 F0 */ lwz r5, 0xf0(r4) /* 802243BC 0022131C 80 04 00 F4 */ lwz r0, 0xf4(r4) /* 802243C0 00221320 90 A3 00 F0 */ stw r5, 0xf0(r3) /* 802243C4 00221324 90 03 00 F4 */ stw r0, 0xf4(r3) /* 802243C8 00221328 80 A4 00 F8 */ lwz r5, 0xf8(r4) /* 802243CC 0022132C 80 04 00 FC */ lwz r0, 0xfc(r4) /* 802243D0 00221330 90 A3 00 F8 */ stw r5, 0xf8(r3) /* 802243D4 00221334 90 03 00 FC */ stw r0, 0xfc(r3) /* 802243D8 00221338 80 A4 01 00 */ lwz r5, 0x100(r4) /* 802243DC 0022133C 80 04 01 04 */ lwz r0, 0x104(r4) /* 802243E0 00221340 90 A3 01 00 */ stw r5, 0x100(r3) /* 802243E4 00221344 90 03 01 04 */ stw r0, 0x104(r3) /* 802243E8 00221348 80 04 01 08 */ lwz r0, 0x108(r4) /* 802243EC 0022134C 90 03 01 08 */ stw r0, 0x108(r3) /* 802243F0 00221350 80 A4 01 0C */ lwz r5, 0x10c(r4) /* 802243F4 00221354 80 04 01 10 */ lwz r0, 0x110(r4) /* 802243F8 00221358 90 A3 01 0C */ stw r5, 0x10c(r3) /* 802243FC 0022135C 90 03 01 10 */ stw r0, 0x110(r3) /* 80224400 00221360 80 A4 01 14 */ lwz r5, 0x114(r4) /* 80224404 00221364 80 04 01 18 */ lwz r0, 0x118(r4) /* 80224408 00221368 90 A3 01 14 */ stw r5, 0x114(r3) /* 8022440C 0022136C 90 03 01 18 */ stw r0, 0x118(r3) /* 80224410 00221370 80 A4 01 1C */ lwz r5, 0x11c(r4) /* 80224414 00221374 80 04 01 20 */ lwz r0, 0x120(r4) /* 80224418 00221378 90 A3 01 1C */ stw r5, 0x11c(r3) /* 8022441C 0022137C 90 03 01 20 */ stw r0, 0x120(r3) /* 80224420 00221380 80 A4 01 24 */ lwz r5, 0x124(r4) /* 80224424 00221384 80 04 01 28 */ lwz r0, 0x128(r4) /* 80224428 00221388 90 A3 01 24 */ stw r5, 0x124(r3) /* 8022442C 0022138C 90 03 01 28 */ stw r0, 0x128(r3) /* 80224430 00221390 80 04 01 2C */ lwz r0, 0x12c(r4) /* 80224434 00221394 90 03 01 2C */ stw r0, 0x12c(r3) /* 80224438 00221398 80 04 01 30 */ lwz r0, 0x130(r4) /* 8022443C 0022139C 90 03 01 30 */ stw r0, 0x130(r3) /* 80224440 002213A0 80 04 01 34 */ lwz r0, 0x134(r4) /* 80224444 002213A4 90 03 01 34 */ stw r0, 0x134(r3) /* 80224448 002213A8 80 04 01 38 */ lwz r0, 0x138(r4) /* 8022444C 002213AC 90 03 01 38 */ stw r0, 0x138(r3) /* 80224450 002213B0 80 04 01 3C */ lwz r0, 0x13c(r4) /* 80224454 002213B4 90 03 01 3C */ stw r0, 0x13c(r3) /* 80224458 002213B8 C0 04 01 40 */ lfs f0, 0x140(r4) /* 8022445C 002213BC D0 03 01 40 */ stfs f0, 0x140(r3) /* 80224460 002213C0 A0 04 01 44 */ lhz r0, 0x144(r4) /* 80224464 002213C4 B0 03 01 44 */ sth r0, 0x144(r3) /* 80224468 002213C8 80 04 01 48 */ lwz r0, 0x148(r4) /* 8022446C 002213CC 90 03 01 48 */ stw r0, 0x148(r3) /* 80224470 002213D0 80 04 01 4C */ lwz r0, 0x14c(r4) /* 80224474 002213D4 90 03 01 4C */ stw r0, 0x14c(r3) /* 80224478 002213D8 80 04 01 50 */ lwz r0, 0x150(r4) /* 8022447C 002213DC 90 03 01 50 */ stw r0, 0x150(r3) /* 80224480 002213E0 80 04 01 54 */ lwz r0, 0x154(r4) /* 80224484 002213E4 90 03 01 54 */ stw r0, 0x154(r3) /* 80224488 002213E8 A0 04 01 58 */ lhz r0, 0x158(r4) /* 8022448C 002213EC B0 03 01 58 */ sth r0, 0x158(r3) /* 80224490 002213F0 A0 04 01 5A */ lhz r0, 0x15a(r4) /* 80224494 002213F4 B0 03 01 5A */ sth r0, 0x15a(r3) /* 80224498 002213F8 A0 04 01 5C */ lhz r0, 0x15c(r4) /* 8022449C 002213FC B0 03 01 5C */ sth r0, 0x15c(r3) /* 802244A0 00221400 C0 04 01 60 */ lfs f0, 0x160(r4) /* 802244A4 00221404 D0 03 01 60 */ stfs f0, 0x160(r3) /* 802244A8 00221408 C0 04 01 64 */ lfs f0, 0x164(r4) /* 802244AC 0022140C D0 03 01 64 */ stfs f0, 0x164(r3) /* 802244B0 00221410 C0 04 01 68 */ lfs f0, 0x168(r4) /* 802244B4 00221414 D0 03 01 68 */ stfs f0, 0x168(r3) /* 802244B8 00221418 80 04 01 6C */ lwz r0, 0x16c(r4) /* 802244BC 0022141C 90 03 01 6C */ stw r0, 0x16c(r3) /* 802244C0 00221420 A0 04 01 70 */ lhz r0, 0x170(r4) /* 802244C4 00221424 B0 03 01 70 */ sth r0, 0x170(r3) /* 802244C8 00221428 80 04 01 74 */ lwz r0, 0x174(r4) /* 802244CC 0022142C 90 03 01 74 */ stw r0, 0x174(r3) /* 802244D0 00221430 4E 80 00 20 */ blr .global __ct__13CBabygothDataFR12CInputStream __ct__13CBabygothDataFR12CInputStream: /* 802244D4 00221434 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802244D8 00221438 7C 08 02 A6 */ mflr r0 /* 802244DC 0022143C 90 01 00 14 */ stw r0, 0x14(r1) /* 802244E0 00221440 93 E1 00 0C */ stw r31, 0xc(r1) /* 802244E4 00221444 7C 9F 23 78 */ mr r31, r4 /* 802244E8 00221448 93 C1 00 08 */ stw r30, 8(r1) /* 802244EC 0022144C 7C 7E 1B 78 */ mr r30, r3 /* 802244F0 00221450 7F E3 FB 78 */ mr r3, r31 /* 802244F4 00221454 48 11 A7 35 */ bl ReadFloat__12CInputStreamFv /* 802244F8 00221458 D0 3E 00 00 */ stfs f1, 0(r30) /* 802244FC 0022145C 7F E3 FB 78 */ mr r3, r31 /* 80224500 00221460 48 11 A7 29 */ bl ReadFloat__12CInputStreamFv /* 80224504 00221464 D0 3E 00 04 */ stfs f1, 4(r30) /* 80224508 00221468 7F E3 FB 78 */ mr r3, r31 /* 8022450C 0022146C 48 11 A7 79 */ bl ReadLong__12CInputStreamFv /* 80224510 00221470 90 7E 00 08 */ stw r3, 8(r30) /* 80224514 00221474 7F E4 FB 78 */ mr r4, r31 /* 80224518 00221478 38 7E 00 0C */ addi r3, r30, 0xc /* 8022451C 0022147C 4B E9 F0 45 */ bl __ct__11CDamageInfoFR12CInputStream /* 80224520 00221480 7F E4 FB 78 */ mr r4, r31 /* 80224524 00221484 38 7E 00 28 */ addi r3, r30, 0x28 /* 80224528 00221488 4B E9 F0 39 */ bl __ct__11CDamageInfoFR12CInputStream /* 8022452C 0022148C 7F E3 FB 78 */ mr r3, r31 /* 80224530 00221490 48 11 A7 55 */ bl ReadLong__12CInputStreamFv /* 80224534 00221494 90 7E 00 44 */ stw r3, 0x44(r30) /* 80224538 00221498 7F E3 FB 78 */ mr r3, r31 /* 8022453C 0022149C 48 11 A7 49 */ bl ReadLong__12CInputStreamFv /* 80224540 002214A0 90 7E 00 48 */ stw r3, 0x48(r30) /* 80224544 002214A4 7F E4 FB 78 */ mr r4, r31 /* 80224548 002214A8 38 7E 00 4C */ addi r3, r30, 0x4c /* 8022454C 002214AC 4B E9 F0 15 */ bl __ct__11CDamageInfoFR12CInputStream /* 80224550 002214B0 7F E4 FB 78 */ mr r4, r31 /* 80224554 002214B4 38 7E 00 68 */ addi r3, r30, 0x68 /* 80224558 002214B8 4B ED E6 01 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 8022455C 002214BC 7F E4 FB 78 */ mr r4, r31 /* 80224560 002214C0 38 7E 00 D0 */ addi r3, r30, 0xd0 /* 80224564 002214C4 4B ED E5 F5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 80224568 002214C8 7F E3 FB 78 */ mr r3, r31 /* 8022456C 002214CC 48 11 A7 19 */ bl ReadLong__12CInputStreamFv /* 80224570 002214D0 90 7E 01 38 */ stw r3, 0x138(r30) /* 80224574 002214D4 7F E3 FB 78 */ mr r3, r31 /* 80224578 002214D8 48 11 A7 0D */ bl ReadLong__12CInputStreamFv /* 8022457C 002214DC 90 7E 01 3C */ stw r3, 0x13c(r30) /* 80224580 002214E0 7F E3 FB 78 */ mr r3, r31 /* 80224584 002214E4 48 11 A6 A5 */ bl ReadFloat__12CInputStreamFv /* 80224588 002214E8 D0 3E 01 40 */ stfs f1, 0x140(r30) /* 8022458C 002214EC 7F E3 FB 78 */ mr r3, r31 /* 80224590 002214F0 48 11 A6 F5 */ bl ReadLong__12CInputStreamFv /* 80224594 002214F4 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 80224598 002214F8 48 0C 44 19 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022459C 002214FC B0 7E 01 44 */ sth r3, 0x144(r30) /* 802245A0 00221500 7F E3 FB 78 */ mr r3, r31 /* 802245A4 00221504 48 11 A6 E1 */ bl ReadLong__12CInputStreamFv /* 802245A8 00221508 90 7E 01 48 */ stw r3, 0x148(r30) /* 802245AC 0022150C 7F E3 FB 78 */ mr r3, r31 /* 802245B0 00221510 48 11 A6 D5 */ bl ReadLong__12CInputStreamFv /* 802245B4 00221514 90 7E 01 4C */ stw r3, 0x14c(r30) /* 802245B8 00221518 7F E3 FB 78 */ mr r3, r31 /* 802245BC 0022151C 48 11 A6 C9 */ bl ReadLong__12CInputStreamFv /* 802245C0 00221520 90 7E 01 50 */ stw r3, 0x150(r30) /* 802245C4 00221524 7F E3 FB 78 */ mr r3, r31 /* 802245C8 00221528 48 11 A6 BD */ bl ReadLong__12CInputStreamFv /* 802245CC 0022152C 90 7E 01 54 */ stw r3, 0x154(r30) /* 802245D0 00221530 7F E3 FB 78 */ mr r3, r31 /* 802245D4 00221534 48 11 A6 B1 */ bl ReadLong__12CInputStreamFv /* 802245D8 00221538 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 802245DC 0022153C 48 0C 43 D5 */ bl TranslateSFXID__11CSfxManagerFUs /* 802245E0 00221540 B0 7E 01 58 */ sth r3, 0x158(r30) /* 802245E4 00221544 7F E3 FB 78 */ mr r3, r31 /* 802245E8 00221548 48 11 A6 9D */ bl ReadLong__12CInputStreamFv /* 802245EC 0022154C 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 802245F0 00221550 48 0C 43 C1 */ bl TranslateSFXID__11CSfxManagerFUs /* 802245F4 00221554 B0 7E 01 5A */ sth r3, 0x15a(r30) /* 802245F8 00221558 7F E3 FB 78 */ mr r3, r31 /* 802245FC 0022155C 48 11 A6 89 */ bl ReadLong__12CInputStreamFv /* 80224600 00221560 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 80224604 00221564 48 0C 43 AD */ bl TranslateSFXID__11CSfxManagerFUs /* 80224608 00221568 B0 7E 01 5C */ sth r3, 0x15c(r30) /* 8022460C 0022156C 7F E3 FB 78 */ mr r3, r31 /* 80224610 00221570 48 11 A6 19 */ bl ReadFloat__12CInputStreamFv /* 80224614 00221574 D0 3E 01 60 */ stfs f1, 0x160(r30) /* 80224618 00221578 7F E3 FB 78 */ mr r3, r31 /* 8022461C 0022157C 48 11 A6 0D */ bl ReadFloat__12CInputStreamFv /* 80224620 00221580 D0 3E 01 64 */ stfs f1, 0x164(r30) /* 80224624 00221584 7F E3 FB 78 */ mr r3, r31 /* 80224628 00221588 48 11 A6 01 */ bl ReadFloat__12CInputStreamFv /* 8022462C 0022158C D0 3E 01 68 */ stfs f1, 0x168(r30) /* 80224630 00221590 7F E3 FB 78 */ mr r3, r31 /* 80224634 00221594 48 11 A6 51 */ bl ReadLong__12CInputStreamFv /* 80224638 00221598 90 7E 01 6C */ stw r3, 0x16c(r30) /* 8022463C 0022159C 7F E3 FB 78 */ mr r3, r31 /* 80224640 002215A0 48 11 A6 45 */ bl ReadLong__12CInputStreamFv /* 80224644 002215A4 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 80224648 002215A8 48 0C 43 69 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022464C 002215AC B0 7E 01 70 */ sth r3, 0x170(r30) /* 80224650 002215B0 7F E3 FB 78 */ mr r3, r31 /* 80224654 002215B4 48 11 A6 31 */ bl ReadLong__12CInputStreamFv /* 80224658 002215B8 90 7E 01 74 */ stw r3, 0x174(r30) /* 8022465C 002215BC 7F C3 F3 78 */ mr r3, r30 /* 80224660 002215C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80224664 002215C4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80224668 002215C8 83 C1 00 08 */ lwz r30, 8(r1) /* 8022466C 002215CC 7C 08 03 A6 */ mtlr r0 /* 80224670 002215D0 38 21 00 10 */ addi r1, r1, 0x10 /* 80224674 002215D4 4E 80 00 20 */ blr .global __sinit_CBabygoth_cpp __sinit_CBabygoth_cpp: /* 80224678 002215D8 C0 02 B4 68 */ lfs f0, lbl_805AD188@sda21(r2) /* 8022467C 002215DC 3C 60 80 57 */ lis r3, lbl_80572128@ha /* 80224680 002215E0 D4 03 21 28 */ stfsu f0, lbl_80572128@l(r3) /* 80224684 002215E4 D0 03 00 04 */ stfs f0, 4(r3) /* 80224688 002215E8 D0 03 00 08 */ stfs f0, 8(r3) /* 8022468C 002215EC 4E 80 00 20 */ blr .global __dt__8CEyeBallFv __dt__8CEyeBallFv: /* 80224690 002215F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80224694 002215F4 7C 08 02 A6 */ mflr r0 /* 80224698 002215F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8022469C 002215FC 93 E1 00 0C */ stw r31, 0xc(r1) /* 802246A0 00221600 7C 9F 23 78 */ mr r31, r4 /* 802246A4 00221604 93 C1 00 08 */ stw r30, 8(r1) /* 802246A8 00221608 7C 7E 1B 79 */ or. r30, r3, r3 /* 802246AC 0022160C 41 82 00 68 */ beq lbl_80224714 /* 802246B0 00221610 3C 60 80 3E */ lis r3, lbl_803E774C@ha /* 802246B4 00221614 34 1E 05 B4 */ addic. r0, r30, 0x5b4 /* 802246B8 00221618 38 03 77 4C */ addi r0, r3, lbl_803E774C@l /* 802246BC 0022161C 90 1E 00 00 */ stw r0, 0(r30) /* 802246C0 00221620 41 82 00 20 */ beq lbl_802246E0 /* 802246C4 00221624 34 1E 05 B4 */ addic. r0, r30, 0x5b4 /* 802246C8 00221628 41 82 00 18 */ beq lbl_802246E0 /* 802246CC 0022162C 34 1E 05 B4 */ addic. r0, r30, 0x5b4 /* 802246D0 00221630 41 82 00 10 */ beq lbl_802246E0 /* 802246D4 00221634 38 7E 05 B4 */ addi r3, r30, 0x5b4 /* 802246D8 00221638 38 80 00 00 */ li r4, 0 /* 802246DC 0022163C 48 11 C7 65 */ bl __dt__6CTokenFv lbl_802246E0: /* 802246E0 00221640 34 1E 05 70 */ addic. r0, r30, 0x570 /* 802246E4 00221644 41 82 00 14 */ beq lbl_802246F8 /* 802246E8 00221648 34 1E 05 94 */ addic. r0, r30, 0x594 /* 802246EC 0022164C 41 82 00 0C */ beq lbl_802246F8 /* 802246F0 00221650 38 00 00 00 */ li r0, 0 /* 802246F4 00221654 98 1E 05 A0 */ stb r0, 0x5a0(r30) lbl_802246F8: /* 802246F8 00221658 7F C3 F3 78 */ mr r3, r30 /* 802246FC 0022165C 38 80 00 00 */ li r4, 0 /* 80224700 00221660 4B E5 2E 71 */ bl __dt__10CPatternedFv /* 80224704 00221664 7F E0 07 35 */ extsh. r0, r31 /* 80224708 00221668 40 81 00 0C */ ble lbl_80224714 /* 8022470C 0022166C 7F C3 F3 78 */ mr r3, r30 /* 80224710 00221670 48 0F 12 21 */ bl Free__7CMemoryFPCv lbl_80224714: /* 80224714 00221674 80 01 00 14 */ lwz r0, 0x14(r1) /* 80224718 00221678 7F C3 F3 78 */ mr r3, r30 /* 8022471C 0022167C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80224720 00221680 83 C1 00 08 */ lwz r30, 8(r1) /* 80224724 00221684 7C 08 03 A6 */ mtlr r0 /* 80224728 00221688 38 21 00 10 */ addi r1, r1, 0x10 /* 8022472C 0022168C 4E 80 00 20 */ blr .global Death__8CEyeBallFRC9CVector3fR13CStateManager Death__8CEyeBallFRC9CVector3fR13CStateManager: /* 80224730 00221690 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80224734 00221694 7C 08 02 A6 */ mflr r0 /* 80224738 00221698 90 01 00 54 */ stw r0, 0x54(r1) /* 8022473C 0022169C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80224740 002216A0 7C DF 33 78 */ mr r31, r6 /* 80224744 002216A4 93 C1 00 48 */ stw r30, 0x48(r1) /* 80224748 002216A8 7C BE 2B 78 */ mr r30, r5 /* 8022474C 002216AC 93 A1 00 44 */ stw r29, 0x44(r1) /* 80224750 002216B0 7C 9D 23 78 */ mr r29, r4 /* 80224754 002216B4 93 81 00 40 */ stw r28, 0x40(r1) /* 80224758 002216B8 7C 7C 1B 78 */ mr r28, r3 /* 8022475C 002216BC 38 61 00 08 */ addi r3, r1, 8 /* 80224760 002216C0 38 9C 00 34 */ addi r4, r28, 0x34 /* 80224764 002216C4 48 0E E4 11 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80224768 002216C8 7F 83 E3 78 */ mr r3, r28 /* 8022476C 002216CC 7F A4 EB 78 */ mr r4, r29 /* 80224770 002216D0 7F C5 F3 78 */ mr r5, r30 /* 80224774 002216D4 7F E6 FB 78 */ mr r6, r31 /* 80224778 002216D8 4B E5 6C 2D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState /* 8022477C 002216DC 38 7C 00 34 */ addi r3, r28, 0x34 /* 80224780 002216E0 38 81 00 08 */ addi r4, r1, 8 /* 80224784 002216E4 48 0E E3 BD */ bl __as__12CTransform4fFRC12CTransform4f /* 80224788 002216E8 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 8022478C 002216EC 38 60 00 01 */ li r3, 1 /* 80224790 002216F0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80224794 002216F4 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80224798 002216F8 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 8022479C 002216FC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802247A0 00221700 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802247A4 00221704 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802247A8 00221708 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 802247AC 0022170C 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802247B0 00221710 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802247B4 00221714 83 C1 00 48 */ lwz r30, 0x48(r1) /* 802247B8 00221718 83 A1 00 44 */ lwz r29, 0x44(r1) /* 802247BC 0022171C 83 81 00 40 */ lwz r28, 0x40(r1) /* 802247C0 00221720 80 01 00 54 */ lwz r0, 0x54(r1) /* 802247C4 00221724 7C 08 03 A6 */ mtlr r0 /* 802247C8 00221728 38 21 00 50 */ addi r1, r1, 0x50 /* 802247CC 0022172C 4E 80 00 20 */ blr .global ResetBeamState__8CEyeballFR13CStateManager ResetBeamState__8CEyeballFR13CStateManager: /* 802247D0 00221730 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802247D4 00221734 7C 08 02 A6 */ mflr r0 /* 802247D8 00221738 90 01 00 24 */ stw r0, 0x24(r1) /* 802247DC 0022173C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802247E0 00221740 7C 9F 23 78 */ mr r31, r4 /* 802247E4 00221744 38 81 00 08 */ addi r4, r1, 8 /* 802247E8 00221748 93 C1 00 18 */ stw r30, 0x18(r1) /* 802247EC 0022174C 7C 7E 1B 78 */ mr r30, r3 /* 802247F0 00221750 A0 03 05 EC */ lhz r0, 0x5ec(r3) /* 802247F4 00221754 7F E3 FB 78 */ mr r3, r31 /* 802247F8 00221758 B0 01 00 08 */ sth r0, 8(r1) /* 802247FC 0022175C 4B E2 7D 79 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80224800 00221760 28 03 00 00 */ cmplwi r3, 0 /* 80224804 00221764 41 82 00 1C */ beq lbl_80224820 /* 80224808 00221768 81 83 00 00 */ lwz r12, 0(r3) /* 8022480C 0022176C 7F E4 FB 78 */ mr r4, r31 /* 80224810 00221770 38 A0 00 01 */ li r5, 1 /* 80224814 00221774 81 8C 00 74 */ lwz r12, 0x74(r12) /* 80224818 00221778 7D 89 03 A6 */ mtctr r12 /* 8022481C 0022177C 4E 80 04 21 */ bctrl lbl_80224820: /* 80224820 00221780 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 80224824 00221784 38 60 00 00 */ li r3, 0 /* 80224828 00221788 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8022482C 0022178C 98 1E 06 0C */ stb r0, 0x60c(r30) /* 80224830 00221790 80 1E 06 08 */ lwz r0, 0x608(r30) /* 80224834 00221794 28 00 00 00 */ cmplwi r0, 0 /* 80224838 00221798 41 82 00 1C */ beq lbl_80224854 /* 8022483C 0022179C 80 1E 06 08 */ lwz r0, 0x608(r30) /* 80224840 002217A0 38 61 00 0C */ addi r3, r1, 0xc /* 80224844 002217A4 90 01 00 0C */ stw r0, 0xc(r1) /* 80224848 002217A8 48 0C 56 3D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 8022484C 002217AC 38 00 00 00 */ li r0, 0 /* 80224850 002217B0 90 1E 06 08 */ stw r0, 0x608(r30) lbl_80224854: /* 80224854 002217B4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80224858 002217B8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022485C 002217BC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80224860 002217C0 7C 08 03 A6 */ mtlr r0 /* 80224864 002217C4 38 21 00 20 */ addi r1, r1, 0x20 /* 80224868 002217C8 4E 80 00 20 */ blr .global FireBeam__8CEyeballFR13CStateManagerRC12CTransform4f FireBeam__8CEyeballFR13CStateManagerRC12CTransform4f: /* 8022486C 002217CC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80224870 002217D0 7C 08 02 A6 */ mflr r0 /* 80224874 002217D4 90 01 00 54 */ stw r0, 0x54(r1) /* 80224878 002217D8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8022487C 002217DC 7C 7F 1B 78 */ mr r31, r3 /* 80224880 002217E0 93 C1 00 48 */ stw r30, 0x48(r1) /* 80224884 002217E4 7C BE 2B 78 */ mr r30, r5 /* 80224888 002217E8 93 A1 00 44 */ stw r29, 0x44(r1) /* 8022488C 002217EC 7C 9D 23 78 */ mr r29, r4 /* 80224890 002217F0 38 81 00 08 */ addi r4, r1, 8 /* 80224894 002217F4 A0 03 05 EC */ lhz r0, 0x5ec(r3) /* 80224898 002217F8 7F A3 EB 78 */ mr r3, r29 /* 8022489C 002217FC B0 01 00 08 */ sth r0, 8(r1) /* 802248A0 00221800 4B E2 7C D5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802248A4 00221804 28 03 00 00 */ cmplwi r3, 0 /* 802248A8 00221808 41 82 01 00 */ beq lbl_802249A8 /* 802248AC 0022180C 88 03 00 30 */ lbz r0, 0x30(r3) /* 802248B0 00221810 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802248B4 00221814 40 82 00 F4 */ bne lbl_802249A8 /* 802248B8 00221818 81 83 00 00 */ lwz r12, 0(r3) /* 802248BC 0022181C 7F C4 F3 78 */ mr r4, r30 /* 802248C0 00221820 7F A5 EB 78 */ mr r5, r29 /* 802248C4 00221824 38 C0 00 00 */ li r6, 0 /* 802248C8 00221828 81 8C 00 78 */ lwz r12, 0x78(r12) /* 802248CC 0022182C 7D 89 03 A6 */ mtctr r12 /* 802248D0 00221830 4E 80 04 21 */ bctrl /* 802248D4 00221834 88 1F 06 0C */ lbz r0, 0x60c(r31) /* 802248D8 00221838 39 80 00 01 */ li r12, 1 /* 802248DC 0022183C 51 80 1F 38 */ rlwimi r0, r12, 3, 0x1c, 0x1c /* 802248E0 00221840 98 1F 06 0C */ stb r0, 0x60c(r31) /* 802248E4 00221844 80 1F 06 08 */ lwz r0, 0x608(r31) /* 802248E8 00221848 28 00 00 00 */ cmplwi r0, 0 /* 802248EC 0022184C 40 82 00 BC */ bne lbl_802249A8 /* 802248F0 00221850 81 1F 00 04 */ lwz r8, 4(r31) /* 802248F4 00221854 39 60 00 00 */ li r11, 0 /* 802248F8 00221858 C0 A2 B4 70 */ lfs f5, lbl_805AD190@sda21(r2) /* 802248FC 0022185C 39 40 00 7F */ li r10, 0x7f /* 80224900 00221860 C0 82 B4 74 */ lfs f4, lbl_805AD194@sda21(r2) /* 80224904 00221864 39 20 00 14 */ li r9, 0x14 /* 80224908 00221868 C0 62 B4 78 */ lfs f3, lbl_805AD198@sda21(r2) /* 8022490C 0022186C 3C 60 80 5A */ lis r3, skZero3f@ha /* 80224910 00221870 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 80224914 00221874 88 02 CC 41 */ lbz r0, lbl_805AE961@sda21(r2) /* 80224918 00221878 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 8022491C 0022187C 38 61 00 0C */ addi r3, r1, 0xc /* 80224920 00221880 C0 46 00 00 */ lfs f2, 0(r6) /* 80224924 00221884 38 81 00 10 */ addi r4, r1, 0x10 /* 80224928 00221888 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 8022492C 0022188C 38 A0 00 01 */ li r5, 1 /* 80224930 00221890 C0 26 00 04 */ lfs f1, 4(r6) /* 80224934 00221894 38 E0 00 01 */ li r7, 1 /* 80224938 00221898 C0 06 00 08 */ lfs f0, 8(r6) /* 8022493C 0022189C D0 A1 00 18 */ stfs f5, 0x18(r1) /* 80224940 002218A0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) /* 80224944 002218A4 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 80224948 002218A8 D0 A1 00 20 */ stfs f5, 0x20(r1) /* 8022494C 002218AC D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80224950 002218B0 D0 81 00 28 */ stfs f4, 0x28(r1) /* 80224954 002218B4 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 80224958 002218B8 91 81 00 30 */ stw r12, 0x30(r1) /* 8022495C 002218BC B1 61 00 34 */ sth r11, 0x34(r1) /* 80224960 002218C0 99 41 00 36 */ stb r10, 0x36(r1) /* 80224964 002218C4 99 21 00 37 */ stb r9, 0x37(r1) /* 80224968 002218C8 99 61 00 38 */ stb r11, 0x38(r1) /* 8022496C 002218CC 98 01 00 39 */ stb r0, 0x39(r1) /* 80224970 002218D0 C0 BF 00 60 */ lfs f5, 0x60(r31) /* 80224974 002218D4 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 80224978 002218D8 C0 7F 00 40 */ lfs f3, 0x40(r31) /* 8022497C 002218DC D0 61 00 10 */ stfs f3, 0x10(r1) /* 80224980 002218E0 D0 81 00 14 */ stfs f4, 0x14(r1) /* 80224984 002218E4 D0 A1 00 18 */ stfs f5, 0x18(r1) /* 80224988 002218E8 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 8022498C 002218EC D0 21 00 20 */ stfs f1, 0x20(r1) /* 80224990 002218F0 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80224994 002218F4 A0 1F 06 04 */ lhz r0, 0x604(r31) /* 80224998 002218F8 B0 01 00 34 */ sth r0, 0x34(r1) /* 8022499C 002218FC 48 0C 56 45 */ bl AddEmitter__11CSfxManagerFRQ29CAudioSys18C3DEmitterParmDatabsbi /* 802249A0 00221900 80 01 00 0C */ lwz r0, 0xc(r1) /* 802249A4 00221904 90 1F 06 08 */ stw r0, 0x608(r31) lbl_802249A8: /* 802249A8 00221908 80 01 00 54 */ lwz r0, 0x54(r1) /* 802249AC 0022190C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802249B0 00221910 83 C1 00 48 */ lwz r30, 0x48(r1) /* 802249B4 00221914 83 A1 00 44 */ lwz r29, 0x44(r1) /* 802249B8 00221918 7C 08 03 A6 */ mtlr r0 /* 802249BC 0022191C 38 21 00 50 */ addi r1, r1, 0x50 /* 802249C0 00221920 4E 80 00 20 */ blr .global Touch__8CEyeBallFR6CActorR13CStateManager Touch__8CEyeBallFR6CActorR13CStateManager: /* 802249C4 00221924 4E 80 00 20 */ blr .global UpdateAnimation__8CEyeballFv UpdateAnimation__8CEyeballFv: /* 802249C8 00221928 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802249CC 0022192C 7C 08 02 A6 */ mflr r0 /* 802249D0 00221930 3C 80 80 3D */ lis r4, lbl_803D3248@ha /* 802249D4 00221934 90 01 00 44 */ stw r0, 0x44(r1) /* 802249D8 00221938 38 84 32 48 */ addi r4, r4, lbl_803D3248@l /* 802249DC 0022193C 38 84 00 0B */ addi r4, r4, 0xb /* 802249E0 00221940 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802249E4 00221944 7C 7F 1B 78 */ mr r31, r3 /* 802249E8 00221948 38 61 00 08 */ addi r3, r1, 8 /* 802249EC 0022194C 93 C1 00 38 */ stw r30, 0x38(r1) /* 802249F0 00221950 4B DE 02 C9 */ bl string_l__4rstlFPCc /* 802249F4 00221954 80 7F 00 64 */ lwz r3, 0x64(r31) /* 802249F8 00221958 38 81 00 08 */ addi r4, r1, 8 /* 802249FC 0022195C 80 63 00 10 */ lwz r3, 0x10(r3) /* 80224A00 00221960 4B E0 7A 6D */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80224A04 00221964 C0 42 B4 70 */ lfs f2, lbl_805AD190@sda21(r2) /* 80224A08 00221968 C8 02 B4 80 */ lfd f0, lbl_805AD1A0@sda21(r2) /* 80224A0C 0022196C EC 21 10 28 */ fsubs f1, f1, f2 /* 80224A10 00221970 FC 20 0A 10 */ fabs f1, f1 /* 80224A14 00221974 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80224A18 00221978 7C 00 00 26 */ mfcr r0 /* 80224A1C 0022197C 38 61 00 08 */ addi r3, r1, 8 /* 80224A20 00221980 54 1E 0F FE */ srwi r30, r0, 0x1f /* 80224A24 00221984 48 11 90 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80224A28 00221988 28 1E 00 00 */ cmplwi r30, 0 /* 80224A2C 0022198C 41 82 01 14 */ beq lbl_80224B40 /* 80224A30 00221990 80 7F 05 F0 */ lwz r3, 0x5f0(r31) /* 80224A34 00221994 38 A0 00 00 */ li r5, 0 /* 80224A38 00221998 38 63 00 01 */ addi r3, r3, 1 /* 80224A3C 0022199C 54 60 F0 02 */ slwi r0, r3, 0x1e /* 80224A40 002219A0 54 63 0F FE */ srwi r3, r3, 0x1f /* 80224A44 002219A4 7C 03 00 50 */ subf r0, r3, r0 /* 80224A48 002219A8 54 00 10 3E */ rotlwi r0, r0, 2 /* 80224A4C 002219AC 7C 00 1A 14 */ add r0, r0, r3 /* 80224A50 002219B0 90 1F 05 F0 */ stw r0, 0x5f0(r31) /* 80224A54 002219B4 48 00 00 24 */ b lbl_80224A78 lbl_80224A58: /* 80224A58 002219B8 38 64 00 01 */ addi r3, r4, 1 /* 80224A5C 002219BC 38 A5 00 01 */ addi r5, r5, 1 /* 80224A60 002219C0 54 60 F0 02 */ slwi r0, r3, 0x1e /* 80224A64 002219C4 54 63 0F FE */ srwi r3, r3, 0x1f /* 80224A68 002219C8 7C 03 00 50 */ subf r0, r3, r0 /* 80224A6C 002219CC 54 00 10 3E */ rotlwi r0, r0, 2 /* 80224A70 002219D0 7C 00 1A 14 */ add r0, r0, r3 /* 80224A74 002219D4 90 1F 05 F0 */ stw r0, 0x5f0(r31) lbl_80224A78: /* 80224A78 002219D8 80 9F 05 F0 */ lwz r4, 0x5f0(r31) /* 80224A7C 002219DC 54 83 10 3A */ slwi r3, r4, 2 /* 80224A80 002219E0 38 03 05 F4 */ addi r0, r3, 0x5f4 /* 80224A84 002219E4 7C 1F 00 2E */ lwzx r0, r31, r0 /* 80224A88 002219E8 2C 00 FF FF */ cmpwi r0, -1 /* 80224A8C 002219EC 40 82 00 0C */ bne lbl_80224A98 /* 80224A90 002219F0 2C 05 00 04 */ cmpwi r5, 4 /* 80224A94 002219F4 41 80 FF C4 */ blt lbl_80224A58 lbl_80224A98: /* 80224A98 002219F8 54 80 10 3A */ slwi r0, r4, 2 /* 80224A9C 002219FC 7C 7F 02 14 */ add r3, r31, r0 /* 80224AA0 00221A00 81 23 05 F4 */ lwz r9, 0x5f4(r3) /* 80224AA4 00221A04 2C 09 FF FF */ cmpwi r9, -1 /* 80224AA8 00221A08 41 82 00 98 */ beq lbl_80224B40 /* 80224AAC 00221A0C 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 80224AB0 00221A10 88 61 00 24 */ lbz r3, 0x24(r1) /* 80224AB4 00221A14 38 80 00 00 */ li r4, 0 /* 80224AB8 00221A18 81 1F 04 50 */ lwz r8, 0x450(r31) /* 80224ABC 00221A1C 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 /* 80224AC0 00221A20 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l /* 80224AC4 00221A24 C0 02 B4 70 */ lfs f0, lbl_805AD190@sda21(r2) /* 80224AC8 00221A28 3C A0 80 3E */ lis r5, lbl_803DFE40@ha /* 80224ACC 00221A2C 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 80224AD0 00221A30 38 C0 00 13 */ li r6, 0x13 /* 80224AD4 00221A34 3B C8 00 04 */ addi r30, r8, 4 /* 80224AD8 00221A38 90 E1 00 18 */ stw r7, 0x18(r1) /* 80224ADC 00221A3C 38 A5 FE 40 */ addi r5, r5, lbl_803DFE40@l /* 80224AE0 00221A40 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80224AE4 00221A44 98 61 00 24 */ stb r3, 0x24(r1) /* 80224AE8 00221A48 7F C3 F3 78 */ mr r3, r30 /* 80224AEC 00221A4C 38 80 00 13 */ li r4, 0x13 /* 80224AF0 00221A50 90 C1 00 1C */ stw r6, 0x1c(r1) /* 80224AF4 00221A54 90 A1 00 18 */ stw r5, 0x18(r1) /* 80224AF8 00221A58 91 21 00 20 */ stw r9, 0x20(r1) /* 80224AFC 00221A5C 98 01 00 24 */ stb r0, 0x24(r1) /* 80224B00 00221A60 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80224B04 00221A64 4B F0 C9 35 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80224B08 00221A68 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80224B0C 00221A6C 3C 60 80 3E */ lis r3, lbl_803DFE40@ha /* 80224B10 00221A70 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l /* 80224B14 00221A74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80224B18 00221A78 90 1E 02 20 */ stw r0, 0x220(r30) /* 80224B1C 00221A7C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80224B20 00221A80 80 A1 00 20 */ lwz r5, 0x20(r1) /* 80224B24 00221A84 88 61 00 24 */ lbz r3, 0x24(r1) /* 80224B28 00221A88 90 BE 02 24 */ stw r5, 0x224(r30) /* 80224B2C 00221A8C C0 01 00 28 */ lfs f0, 0x28(r1) /* 80224B30 00221A90 98 7E 02 28 */ stb r3, 0x228(r30) /* 80224B34 00221A94 90 81 00 18 */ stw r4, 0x18(r1) /* 80224B38 00221A98 D0 1E 02 2C */ stfs f0, 0x22c(r30) /* 80224B3C 00221A9C 90 01 00 18 */ stw r0, 0x18(r1) lbl_80224B40: /* 80224B40 00221AA0 80 01 00 44 */ lwz r0, 0x44(r1) /* 80224B44 00221AA4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80224B48 00221AA8 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80224B4C 00221AAC 7C 08 03 A6 */ mtlr r0 /* 80224B50 00221AB0 38 21 00 40 */ addi r1, r1, 0x40 /* 80224B54 00221AB4 4E 80 00 20 */ blr .global ShouldAttack__8CEyeBallFR13CStateManagerf ShouldAttack__8CEyeBallFR13CStateManagerf: /* 80224B58 00221AB8 88 03 06 0C */ lbz r0, 0x60c(r3) /* 80224B5C 00221ABC 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f /* 80224B60 00221AC0 4E 80 00 20 */ blr .global ShouldFire__8CEyeBallFR13CStateManagerf ShouldFire__8CEyeBallFR13CStateManagerf: /* 80224B64 00221AC4 88 03 06 0C */ lbz r0, 0x60c(r3) /* 80224B68 00221AC8 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f /* 80224B6C 00221ACC 7C 00 00 34 */ cntlzw r0, r0 /* 80224B70 00221AD0 54 03 D9 7E */ srwi r3, r0, 5 /* 80224B74 00221AD4 4E 80 00 20 */ blr .global Cover__8CEyeBallFR13CStateManager9EStateMsgf Cover__8CEyeBallFR13CStateManager9EStateMsgf: /* 80224B78 00221AD8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80224B7C 00221ADC 7C 08 02 A6 */ mflr r0 /* 80224B80 00221AE0 2C 05 00 00 */ cmpwi r5, 0 /* 80224B84 00221AE4 90 01 00 14 */ stw r0, 0x14(r1) /* 80224B88 00221AE8 93 E1 00 0C */ stw r31, 0xc(r1) /* 80224B8C 00221AEC 7C 7F 1B 78 */ mr r31, r3 /* 80224B90 00221AF0 41 82 00 0C */ beq lbl_80224B9C /* 80224B94 00221AF4 41 80 00 2C */ blt lbl_80224BC0 /* 80224B98 00221AF8 48 00 00 28 */ b lbl_80224BC0 lbl_80224B9C: /* 80224B9C 00221AFC 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80224BA0 00221B00 38 80 00 02 */ li r4, 2 /* 80224BA4 00221B04 4B F1 5E 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80224BA8 00221B08 88 1F 06 0C */ lbz r0, 0x60c(r31) /* 80224BAC 00221B0C 38 60 00 00 */ li r3, 0 /* 80224BB0 00221B10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80224BB4 00221B14 98 1F 06 0C */ stb r0, 0x60c(r31) /* 80224BB8 00221B18 C0 1F 05 68 */ lfs f0, 0x568(r31) /* 80224BBC 00221B1C D0 1F 03 40 */ stfs f0, 0x340(r31) lbl_80224BC0: /* 80224BC0 00221B20 80 01 00 14 */ lwz r0, 0x14(r1) /* 80224BC4 00221B24 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80224BC8 00221B28 7C 08 03 A6 */ mtlr r0 /* 80224BCC 00221B2C 38 21 00 10 */ addi r1, r1, 0x10 /* 80224BD0 00221B30 4E 80 00 20 */ blr .global Flinch__8CEyeBallFR13CStateManager9EStateMsgf Flinch__8CEyeBallFR13CStateManager9EStateMsgf: /* 80224BD4 00221B34 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80224BD8 00221B38 7C 08 02 A6 */ mflr r0 /* 80224BDC 00221B3C 2C 05 00 01 */ cmpwi r5, 1 /* 80224BE0 00221B40 90 01 00 24 */ stw r0, 0x24(r1) /* 80224BE4 00221B44 41 82 00 34 */ beq lbl_80224C18 /* 80224BE8 00221B48 40 80 00 10 */ bge lbl_80224BF8 /* 80224BEC 00221B4C 2C 05 00 00 */ cmpwi r5, 0 /* 80224BF0 00221B50 40 80 00 14 */ bge lbl_80224C04 /* 80224BF4 00221B54 48 00 00 60 */ b lbl_80224C54 lbl_80224BF8: /* 80224BF8 00221B58 2C 05 00 03 */ cmpwi r5, 3 /* 80224BFC 00221B5C 40 80 00 58 */ bge lbl_80224C54 /* 80224C00 00221B60 48 00 00 4C */ b lbl_80224C4C lbl_80224C04: /* 80224C04 00221B64 38 00 00 01 */ li r0, 1 /* 80224C08 00221B68 90 03 03 2C */ stw r0, 0x32c(r3) /* 80224C0C 00221B6C C0 03 05 68 */ lfs f0, 0x568(r3) /* 80224C10 00221B70 D0 03 03 40 */ stfs f0, 0x340(r3) /* 80224C14 00221B74 48 00 00 40 */ b lbl_80224C54 lbl_80224C18: /* 80224C18 00221B78 3C A0 80 3E */ lis r5, lbl_803E7740@ha /* 80224C1C 00221B7C 38 C1 00 08 */ addi r6, r1, 8 /* 80224C20 00221B80 39 45 77 40 */ addi r10, r5, lbl_803E7740@l /* 80224C24 00221B84 38 A0 00 06 */ li r5, 6 /* 80224C28 00221B88 81 2A 00 00 */ lwz r9, 0(r10) /* 80224C2C 00221B8C 38 E0 00 00 */ li r7, 0 /* 80224C30 00221B90 81 0A 00 04 */ lwz r8, 4(r10) /* 80224C34 00221B94 80 0A 00 08 */ lwz r0, 8(r10) /* 80224C38 00221B98 91 21 00 08 */ stw r9, 8(r1) /* 80224C3C 00221B9C 91 01 00 0C */ stw r8, 0xc(r1) /* 80224C40 00221BA0 90 01 00 10 */ stw r0, 0x10(r1) /* 80224C44 00221BA4 4B E5 7B 71 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 80224C48 00221BA8 48 00 00 0C */ b lbl_80224C54 lbl_80224C4C: /* 80224C4C 00221BAC 38 00 00 00 */ li r0, 0 /* 80224C50 00221BB0 90 03 03 2C */ stw r0, 0x32c(r3) lbl_80224C54: /* 80224C54 00221BB4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80224C58 00221BB8 7C 08 03 A6 */ mtlr r0 /* 80224C5C 00221BBC 38 21 00 20 */ addi r1, r1, 0x20 /* 80224C60 00221BC0 4E 80 00 20 */ blr .global Render__8CEyeBallCFRC13CStateManager Render__8CEyeBallCFRC13CStateManager: /* 80224C64 00221BC4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80224C68 00221BC8 7C 08 02 A6 */ mflr r0 /* 80224C6C 00221BCC 90 01 00 14 */ stw r0, 0x14(r1) /* 80224C70 00221BD0 4B E5 33 BD */ bl Render__10CPatternedCFRC13CStateManager /* 80224C74 00221BD4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80224C78 00221BD8 7C 08 03 A6 */ mtlr r0 /* 80224C7C 00221BDC 38 21 00 10 */ addi r1, r1, 0x10 /* 80224C80 00221BE0 4E 80 00 20 */ blr .global sub_80224c84 sub_80224c84: /* 80224C84 00221BE4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80224C88 00221BE8 7C 08 02 A6 */ mflr r0 /* 80224C8C 00221BEC 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 80224C90 00221BF0 90 01 00 34 */ stw r0, 0x34(r1) /* 80224C94 00221BF4 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 80224C98 00221BF8 3C 80 80 3E */ lis r4, lbl_803DAA44@ha /* 80224C9C 00221BFC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80224CA0 00221C00 80 C3 04 50 */ lwz r6, 0x450(r3) /* 80224CA4 00221C04 C0 43 00 54 */ lfs f2, 0x54(r3) /* 80224CA8 00221C08 C0 23 00 44 */ lfs f1, 0x44(r3) /* 80224CAC 00221C0C 3B E6 00 04 */ addi r31, r6, 4 /* 80224CB0 00221C10 C0 03 00 34 */ lfs f0, 0x34(r3) /* 80224CB4 00221C14 38 60 00 04 */ li r3, 4 /* 80224CB8 00221C18 90 01 00 08 */ stw r0, 8(r1) /* 80224CBC 00221C1C 38 04 AA 44 */ addi r0, r4, lbl_803DAA44@l /* 80224CC0 00221C20 38 80 00 04 */ li r4, 4 /* 80224CC4 00221C24 90 61 00 0C */ stw r3, 0xc(r1) /* 80224CC8 00221C28 7F E3 FB 78 */ mr r3, r31 /* 80224CCC 00221C2C 90 01 00 08 */ stw r0, 8(r1) /* 80224CD0 00221C30 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80224CD4 00221C34 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80224CD8 00221C38 D0 41 00 18 */ stfs f2, 0x18(r1) /* 80224CDC 00221C3C 90 A1 00 1C */ stw r5, 0x1c(r1) /* 80224CE0 00221C40 4B F0 C7 59 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80224CE4 00221C44 80 01 00 0C */ lwz r0, 0xc(r1) /* 80224CE8 00221C48 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 80224CEC 00221C4C 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 80224CF0 00221C50 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80224CF4 00221C54 90 1F 00 F8 */ stw r0, 0xf8(r31) /* 80224CF8 00221C58 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80224CFC 00221C5C 80 A1 00 10 */ lwz r5, 0x10(r1) /* 80224D00 00221C60 80 61 00 14 */ lwz r3, 0x14(r1) /* 80224D04 00221C64 90 BF 00 FC */ stw r5, 0xfc(r31) /* 80224D08 00221C68 80 A1 00 18 */ lwz r5, 0x18(r1) /* 80224D0C 00221C6C 90 7F 01 00 */ stw r3, 0x100(r31) /* 80224D10 00221C70 80 61 00 1C */ lwz r3, 0x1c(r1) /* 80224D14 00221C74 90 BF 01 04 */ stw r5, 0x104(r31) /* 80224D18 00221C78 90 81 00 08 */ stw r4, 8(r1) /* 80224D1C 00221C7C 90 7F 01 08 */ stw r3, 0x108(r31) /* 80224D20 00221C80 90 01 00 08 */ stw r0, 8(r1) /* 80224D24 00221C84 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80224D28 00221C88 80 01 00 34 */ lwz r0, 0x34(r1) /* 80224D2C 00221C8C 7C 08 03 A6 */ mtlr r0 /* 80224D30 00221C90 38 21 00 30 */ addi r1, r1, 0x30 /* 80224D34 00221C94 4E 80 00 20 */ blr .global Think__8CEyeBallFfR13CStateManager Think__8CEyeBallFfR13CStateManager: /* 80224D38 00221C98 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 80224D3C 00221C9C 7C 08 02 A6 */ mflr r0 /* 80224D40 00221CA0 90 01 00 E4 */ stw r0, 0xe4(r1) /* 80224D44 00221CA4 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 80224D48 00221CA8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 80224D4C 00221CAC 93 E1 00 CC */ stw r31, 0xcc(r1) /* 80224D50 00221CB0 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 80224D54 00221CB4 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 80224D58 00221CB8 FF E0 08 90 */ fmr f31, f1 /* 80224D5C 00221CBC 7C 7E 1B 78 */ mr r30, r3 /* 80224D60 00221CC0 7C 9F 23 78 */ mr r31, r4 /* 80224D64 00221CC4 4B E5 4D B5 */ bl Think__10CPatternedFfR13CStateManager /* 80224D68 00221CC8 88 1E 00 30 */ lbz r0, 0x30(r30) /* 80224D6C 00221CCC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80224D70 00221CD0 41 82 02 74 */ beq lbl_80224FE4 /* 80224D74 00221CD4 88 0D A5 14 */ lbz r0, lbl_805A90D4@sda21(r13) /* 80224D78 00221CD8 83 BF 08 4C */ lwz r29, 0x84c(r31) /* 80224D7C 00221CDC 7C 00 07 75 */ extsb. r0, r0 /* 80224D80 00221CE0 40 82 00 18 */ bne lbl_80224D98 /* 80224D84 00221CE4 C0 22 B4 88 */ lfs f1, lbl_805AD1A8@sda21(r2) /* 80224D88 00221CE8 48 0E FF BD */ bl FastCosR__5CMathFf /* 80224D8C 00221CEC 38 00 00 01 */ li r0, 1 /* 80224D90 00221CF0 D0 2D A5 10 */ stfs f1, lbl_805A90D0@sda21(r13) /* 80224D94 00221CF4 98 0D A5 14 */ stb r0, lbl_805A90D4@sda21(r13) lbl_80224D98: /* 80224D98 00221CF8 C0 BD 00 60 */ lfs f5, 0x60(r29) /* 80224D9C 00221CFC 38 61 00 54 */ addi r3, r1, 0x54 /* 80224DA0 00221D00 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 80224DA4 00221D04 38 81 00 48 */ addi r4, r1, 0x48 /* 80224DA8 00221D08 C0 9D 00 50 */ lfs f4, 0x50(r29) /* 80224DAC 00221D0C C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80224DB0 00221D10 EC 25 00 28 */ fsubs f1, f5, f0 /* 80224DB4 00221D14 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80224DB8 00221D18 C0 7E 00 40 */ lfs f3, 0x40(r30) /* 80224DBC 00221D1C EC 44 10 28 */ fsubs f2, f4, f2 /* 80224DC0 00221D20 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80224DC4 00221D24 EC 00 18 28 */ fsubs f0, f0, f3 /* 80224DC8 00221D28 D0 81 00 40 */ stfs f4, 0x40(r1) /* 80224DCC 00221D2C D0 A1 00 44 */ stfs f5, 0x44(r1) /* 80224DD0 00221D30 D0 01 00 48 */ stfs f0, 0x48(r1) /* 80224DD4 00221D34 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80224DD8 00221D38 D0 21 00 50 */ stfs f1, 0x50(r1) /* 80224DDC 00221D3C 48 0E FA 75 */ bl AsNormalized__9CVector3fCFv /* 80224DE0 00221D40 C0 7E 00 48 */ lfs f3, 0x48(r30) /* 80224DE4 00221D44 38 60 00 00 */ li r3, 0 /* 80224DE8 00221D48 C0 01 00 58 */ lfs f0, 0x58(r1) /* 80224DEC 00221D4C C0 5E 00 38 */ lfs f2, 0x38(r30) /* 80224DF0 00221D50 EC 03 00 32 */ fmuls f0, f3, f0 /* 80224DF4 00221D54 C0 21 00 54 */ lfs f1, 0x54(r1) /* 80224DF8 00221D58 C0 9E 00 58 */ lfs f4, 0x58(r30) /* 80224DFC 00221D5C 80 1D 02 F8 */ lwz r0, 0x2f8(r29) /* 80224E00 00221D60 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 80224E04 00221D64 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 80224E08 00221D68 2C 00 00 01 */ cmpwi r0, 1 /* 80224E0C 00221D6C D0 41 00 30 */ stfs f2, 0x30(r1) /* 80224E10 00221D70 EC 24 00 7A */ fmadds f1, f4, f1, f0 /* 80224E14 00221D74 D0 61 00 34 */ stfs f3, 0x34(r1) /* 80224E18 00221D78 D0 81 00 38 */ stfs f4, 0x38(r1) /* 80224E1C 00221D7C 40 82 00 14 */ bne lbl_80224E30 /* 80224E20 00221D80 C0 0D A5 10 */ lfs f0, lbl_805A90D0@sda21(r13) /* 80224E24 00221D84 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80224E28 00221D88 40 81 00 08 */ ble lbl_80224E30 /* 80224E2C 00221D8C 38 60 00 01 */ li r3, 1 lbl_80224E30: /* 80224E30 00221D90 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 80224E34 00221D94 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80224E38 00221D98 98 1E 06 0C */ stb r0, 0x60c(r30) /* 80224E3C 00221D9C 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 80224E40 00221DA0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80224E44 00221DA4 41 82 00 B4 */ beq lbl_80224EF8 /* 80224E48 00221DA8 38 7E 05 70 */ addi r3, r30, 0x570 /* 80224E4C 00221DAC 38 80 00 01 */ li r4, 1 /* 80224E50 00221DB0 4B F5 03 D5 */ bl SetActive__13CBoneTrackingFb /* 80224E54 00221DB4 C0 A2 B4 8C */ lfs f5, lbl_805AD1AC@sda21(r2) /* 80224E58 00221DB8 38 7E 05 70 */ addi r3, r30, 0x570 /* 80224E5C 00221DBC C0 1D 01 38 */ lfs f0, 0x138(r29) /* 80224E60 00221DC0 38 9E 05 A8 */ addi r4, r30, 0x5a8 /* 80224E64 00221DC4 C0 7D 01 3C */ lfs f3, 0x13c(r29) /* 80224E68 00221DC8 EC 05 00 32 */ fmuls f0, f5, f0 /* 80224E6C 00221DCC C0 3D 00 40 */ lfs f1, 0x40(r29) /* 80224E70 00221DD0 C0 5D 01 40 */ lfs f2, 0x140(r29) /* 80224E74 00221DD4 EC 85 00 F2 */ fmuls f4, f5, f3 /* 80224E78 00221DD8 C0 DD 00 50 */ lfs f6, 0x50(r29) /* 80224E7C 00221DDC EC 01 00 28 */ fsubs f0, f1, f0 /* 80224E80 00221DE0 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 80224E84 00221DE4 EC 25 00 B2 */ fmuls f1, f5, f2 /* 80224E88 00221DE8 EC 46 20 28 */ fsubs f2, f6, f4 /* 80224E8C 00221DEC D0 1E 05 A8 */ stfs f0, 0x5a8(r30) /* 80224E90 00221DF0 EC 03 08 28 */ fsubs f0, f3, f1 /* 80224E94 00221DF4 D0 5E 05 AC */ stfs f2, 0x5ac(r30) /* 80224E98 00221DF8 D0 1E 05 B0 */ stfs f0, 0x5b0(r30) /* 80224E9C 00221DFC 4B F5 03 1D */ bl SetTargetPosition__13CBoneTrackingFRC9CVector3f /* 80224EA0 00221E00 FC 20 F8 90 */ fmr f1, f31 /* 80224EA4 00221E04 38 7E 05 70 */ addi r3, r30, 0x570 /* 80224EA8 00221E08 4B F5 0B 01 */ bl Update__13CBoneTrackingFf /* 80224EAC 00221E0C 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80224EB0 00221E10 80 63 00 10 */ lwz r3, 0x10(r3) /* 80224EB4 00221E14 4B E0 7B 51 */ bl PreRender__9CAnimDataFv /* 80224EB8 00221E18 80 BE 00 64 */ lwz r5, 0x64(r30) /* 80224EBC 00221E1C 7F E4 FB 78 */ mr r4, r31 /* 80224EC0 00221E20 81 1E 04 50 */ lwz r8, 0x450(r30) /* 80224EC4 00221E24 38 7E 05 70 */ addi r3, r30, 0x570 /* 80224EC8 00221E28 C0 05 00 00 */ lfs f0, 0(r5) /* 80224ECC 00221E2C 38 DE 00 34 */ addi r6, r30, 0x34 /* 80224ED0 00221E30 38 E1 00 24 */ addi r7, r1, 0x24 /* 80224ED4 00221E34 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80224ED8 00221E38 C0 05 00 04 */ lfs f0, 4(r5) /* 80224EDC 00221E3C D0 01 00 28 */ stfs f0, 0x28(r1) /* 80224EE0 00221E40 C0 05 00 08 */ lfs f0, 8(r5) /* 80224EE4 00221E44 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80224EE8 00221E48 80 BE 00 64 */ lwz r5, 0x64(r30) /* 80224EEC 00221E4C 80 A5 00 10 */ lwz r5, 0x10(r5) /* 80224EF0 00221E50 4B F5 0A 21 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 80224EF4 00221E54 48 00 00 10 */ b lbl_80224F04 lbl_80224EF8: /* 80224EF8 00221E58 38 7E 05 70 */ addi r3, r30, 0x570 /* 80224EFC 00221E5C 38 80 00 00 */ li r4, 0 /* 80224F00 00221E60 4B F5 03 25 */ bl SetActive__13CBoneTrackingFb lbl_80224F04: /* 80224F04 00221E64 88 1E 00 30 */ lbz r0, 0x30(r30) /* 80224F08 00221E68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80224F0C 00221E6C 41 82 00 7C */ beq lbl_80224F88 /* 80224F10 00221E70 A0 1E 05 EC */ lhz r0, 0x5ec(r30) /* 80224F14 00221E74 7F E3 FB 78 */ mr r3, r31 /* 80224F18 00221E78 38 81 00 08 */ addi r4, r1, 8 /* 80224F1C 00221E7C B0 01 00 08 */ sth r0, 8(r1) /* 80224F20 00221E80 4B E2 76 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80224F24 00221E84 7C 7D 1B 79 */ or. r29, r3, r3 /* 80224F28 00221E88 41 82 00 60 */ beq lbl_80224F88 /* 80224F2C 00221E8C 88 1D 00 30 */ lbz r0, 0x30(r29) /* 80224F30 00221E90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80224F34 00221E94 41 82 00 54 */ beq lbl_80224F88 /* 80224F38 00221E98 80 8D 95 38 */ lwz r4, lbl_805A80F8@sda21(r13) /* 80224F3C 00221E9C 38 61 00 14 */ addi r3, r1, 0x14 /* 80224F40 00221EA0 4B DD FD 79 */ bl string_l__4rstlFPCc /* 80224F44 00221EA4 7F C4 F3 78 */ mr r4, r30 /* 80224F48 00221EA8 38 61 00 60 */ addi r3, r1, 0x60 /* 80224F4C 00221EAC 38 A1 00 14 */ addi r5, r1, 0x14 /* 80224F50 00221EB0 4B E5 3A 29 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80224F54 00221EB4 38 61 00 90 */ addi r3, r1, 0x90 /* 80224F58 00221EB8 38 81 00 60 */ addi r4, r1, 0x60 /* 80224F5C 00221EBC 48 0E DC 19 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80224F60 00221EC0 38 61 00 14 */ addi r3, r1, 0x14 /* 80224F64 00221EC4 48 11 8B 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80224F68 00221EC8 7F A3 EB 78 */ mr r3, r29 /* 80224F6C 00221ECC FC 20 F8 90 */ fmr f1, f31 /* 80224F70 00221ED0 81 9D 00 00 */ lwz r12, 0(r29) /* 80224F74 00221ED4 7F E5 FB 78 */ mr r5, r31 /* 80224F78 00221ED8 38 81 00 90 */ addi r4, r1, 0x90 /* 80224F7C 00221EDC 81 8C 00 70 */ lwz r12, 0x70(r12) /* 80224F80 00221EE0 7D 89 03 A6 */ mtctr r12 /* 80224F84 00221EE4 4E 80 04 21 */ bctrl lbl_80224F88: /* 80224F88 00221EE8 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 80224F8C 00221EEC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80224F90 00221EF0 41 82 00 54 */ beq lbl_80224FE4 /* 80224F94 00221EF4 80 BE 00 04 */ lwz r5, 4(r30) /* 80224F98 00221EF8 80 9F 08 50 */ lwz r4, 0x850(r31) /* 80224F9C 00221EFC 54 A3 18 38 */ slwi r3, r5, 3 /* 80224FA0 00221F00 90 A1 00 0C */ stw r5, 0xc(r1) /* 80224FA4 00221F04 80 84 00 20 */ lwz r4, 0x20(r4) /* 80224FA8 00221F08 38 03 00 04 */ addi r0, r3, 4 /* 80224FAC 00221F0C 90 A1 00 10 */ stw r5, 0x10(r1) /* 80224FB0 00221F10 7C 64 00 2E */ lwzx r3, r4, r0 /* 80224FB4 00221F14 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 80224FB8 00221F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80224FBC 00221F1C 41 82 00 10 */ beq lbl_80224FCC /* 80224FC0 00221F20 80 63 01 2C */ lwz r3, 0x12c(r3) /* 80224FC4 00221F24 80 03 10 DC */ lwz r0, 0x10dc(r3) /* 80224FC8 00221F28 48 00 00 08 */ b lbl_80224FD0 lbl_80224FCC: /* 80224FCC 00221F2C 38 00 00 00 */ li r0, 0 lbl_80224FD0: /* 80224FD0 00221F30 2C 00 00 01 */ cmpwi r0, 1 /* 80224FD4 00221F34 41 82 00 10 */ beq lbl_80224FE4 /* 80224FD8 00221F38 7F C3 F3 78 */ mr r3, r30 /* 80224FDC 00221F3C 7F E4 FB 78 */ mr r4, r31 /* 80224FE0 00221F40 4B FF F7 F1 */ bl ResetBeamState__8CEyeballFR13CStateManager lbl_80224FE4: /* 80224FE4 00221F44 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 80224FE8 00221F48 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80224FEC 00221F4C CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 80224FF0 00221F50 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80224FF4 00221F54 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 80224FF8 00221F58 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 80224FFC 00221F5C 7C 08 03 A6 */ mtlr r0 /* 80225000 00221F60 38 21 00 E0 */ addi r1, r1, 0xe0 /* 80225004 00221F64 4E 80 00 20 */ blr .global PreRender__8CEyeBallFR13CStateManagerRC14CFrustumPlanes PreRender__8CEyeBallFR13CStateManagerRC14CFrustumPlanes: /* 80225008 00221F68 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022500C 00221F6C 7C 08 02 A6 */ mflr r0 /* 80225010 00221F70 90 01 00 24 */ stw r0, 0x24(r1) /* 80225014 00221F74 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80225018 00221F78 7C 9F 23 78 */ mr r31, r4 /* 8022501C 00221F7C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80225020 00221F80 7C 7E 1B 78 */ mr r30, r3 /* 80225024 00221F84 4B E5 32 B9 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes /* 80225028 00221F88 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8022502C 00221F8C 7F E4 FB 78 */ mr r4, r31 /* 80225030 00221F90 81 1E 04 50 */ lwz r8, 0x450(r30) /* 80225034 00221F94 38 7E 05 70 */ addi r3, r30, 0x570 /* 80225038 00221F98 C0 05 00 00 */ lfs f0, 0(r5) /* 8022503C 00221F9C 38 DE 00 34 */ addi r6, r30, 0x34 /* 80225040 00221FA0 38 E1 00 08 */ addi r7, r1, 8 /* 80225044 00221FA4 D0 01 00 08 */ stfs f0, 8(r1) /* 80225048 00221FA8 C0 05 00 04 */ lfs f0, 4(r5) /* 8022504C 00221FAC D0 01 00 0C */ stfs f0, 0xc(r1) /* 80225050 00221FB0 C0 05 00 08 */ lfs f0, 8(r5) /* 80225054 00221FB4 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80225058 00221FB8 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8022505C 00221FBC 80 A5 00 10 */ lwz r5, 0x10(r5) /* 80225060 00221FC0 4B F5 08 B1 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 80225064 00221FC4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80225068 00221FC8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022506C 00221FCC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80225070 00221FD0 7C 08 03 A6 */ mtlr r0 /* 80225074 00221FD4 38 21 00 20 */ addi r1, r1, 0x20 /* 80225078 00221FD8 4E 80 00 20 */ blr .global Active__8CEyeBallFR13CStateManager9EStateMsgf Active__8CEyeBallFR13CStateManager9EStateMsgf: /* 8022507C 00221FDC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80225080 00221FE0 7C 08 02 A6 */ mflr r0 /* 80225084 00221FE4 2C 05 00 01 */ cmpwi r5, 1 /* 80225088 00221FE8 90 01 00 24 */ stw r0, 0x24(r1) /* 8022508C 00221FEC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80225090 00221FF0 7C 9F 23 78 */ mr r31, r4 /* 80225094 00221FF4 93 C1 00 18 */ stw r30, 0x18(r1) /* 80225098 00221FF8 7C 7E 1B 78 */ mr r30, r3 /* 8022509C 00221FFC 41 82 00 50 */ beq lbl_802250EC /* 802250A0 00222000 40 80 00 10 */ bge lbl_802250B0 /* 802250A4 00222004 2C 05 00 00 */ cmpwi r5, 0 /* 802250A8 00222008 40 80 00 14 */ bge lbl_802250BC /* 802250AC 0022200C 48 00 00 D0 */ b lbl_8022517C lbl_802250B0: /* 802250B0 00222010 2C 05 00 03 */ cmpwi r5, 3 /* 802250B4 00222014 40 80 00 C8 */ bge lbl_8022517C /* 802250B8 00222018 48 00 00 60 */ b lbl_80225118 lbl_802250BC: /* 802250BC 0022201C 88 1E 04 00 */ lbz r0, 0x400(r30) /* 802250C0 00222020 38 60 00 00 */ li r3, 0 /* 802250C4 00222024 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802250C8 00222028 38 80 00 03 */ li r4, 3 /* 802250CC 0022202C 98 1E 04 00 */ stb r0, 0x400(r30) /* 802250D0 00222030 80 7E 04 50 */ lwz r3, 0x450(r30) /* 802250D4 00222034 4B F1 59 05 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 802250D8 00222038 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 802250DC 0022203C 38 60 00 00 */ li r3, 0 /* 802250E0 00222040 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802250E4 00222044 98 1E 06 0C */ stb r0, 0x60c(r30) /* 802250E8 00222048 48 00 00 94 */ b lbl_8022517C lbl_802250EC: /* 802250EC 0022204C C0 5E 03 38 */ lfs f2, 0x338(r30) /* 802250F0 00222050 C0 1E 05 6C */ lfs f0, 0x56c(r30) /* 802250F4 00222054 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802250F8 00222058 40 81 00 14 */ ble lbl_8022510C /* 802250FC 0022205C 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 80225100 00222060 38 60 00 01 */ li r3, 1 /* 80225104 00222064 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80225108 00222068 98 1E 06 0C */ stb r0, 0x60c(r30) lbl_8022510C: /* 8022510C 0022206C 7F C3 F3 78 */ mr r3, r30 /* 80225110 00222070 4B FF F8 B9 */ bl UpdateAnimation__8CEyeballFv /* 80225114 00222074 48 00 00 68 */ b lbl_8022517C lbl_80225118: /* 80225118 00222078 C0 1E 05 68 */ lfs f0, 0x568(r30) /* 8022511C 0022207C 7F E3 FB 78 */ mr r3, r31 /* 80225120 00222080 38 81 00 08 */ addi r4, r1, 8 /* 80225124 00222084 D0 1E 03 40 */ stfs f0, 0x340(r30) /* 80225128 00222088 A0 1E 05 EC */ lhz r0, 0x5ec(r30) /* 8022512C 0022208C B0 01 00 08 */ sth r0, 8(r1) /* 80225130 00222090 4B E2 74 45 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80225134 00222094 28 03 00 00 */ cmplwi r3, 0 /* 80225138 00222098 41 82 00 1C */ beq lbl_80225154 /* 8022513C 0022209C 81 83 00 00 */ lwz r12, 0(r3) /* 80225140 002220A0 7F E4 FB 78 */ mr r4, r31 /* 80225144 002220A4 38 A0 00 01 */ li r5, 1 /* 80225148 002220A8 81 8C 00 74 */ lwz r12, 0x74(r12) /* 8022514C 002220AC 7D 89 03 A6 */ mtctr r12 /* 80225150 002220B0 4E 80 04 21 */ bctrl lbl_80225154: /* 80225154 002220B4 88 1E 06 0C */ lbz r0, 0x60c(r30) /* 80225158 002220B8 38 60 00 00 */ li r3, 0 /* 8022515C 002220BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80225160 002220C0 38 61 00 0C */ addi r3, r1, 0xc /* 80225164 002220C4 98 1E 06 0C */ stb r0, 0x60c(r30) /* 80225168 002220C8 80 1E 06 08 */ lwz r0, 0x608(r30) /* 8022516C 002220CC 90 01 00 0C */ stw r0, 0xc(r1) /* 80225170 002220D0 48 0C 4D 15 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80225174 002220D4 38 00 00 00 */ li r0, 0 /* 80225178 002220D8 90 1E 06 08 */ stw r0, 0x608(r30) lbl_8022517C: /* 8022517C 002220DC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80225180 002220E0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80225184 002220E4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80225188 002220E8 7C 08 03 A6 */ mtlr r0 /* 8022518C 002220EC 38 21 00 20 */ addi r1, r1, 0x20 /* 80225190 002220F0 4E 80 00 20 */ blr .global InActive__8CEyeBallFR13CStateManager9EStateMsgf InActive__8CEyeBallFR13CStateManager9EStateMsgf: /* 80225194 002220F4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80225198 002220F8 7C 08 02 A6 */ mflr r0 /* 8022519C 002220FC 2C 05 00 00 */ cmpwi r5, 0 /* 802251A0 00222100 90 01 00 14 */ stw r0, 0x14(r1) /* 802251A4 00222104 41 82 00 0C */ beq lbl_802251B0 /* 802251A8 00222108 41 80 00 14 */ blt lbl_802251BC /* 802251AC 0022210C 48 00 00 10 */ b lbl_802251BC lbl_802251B0: /* 802251B0 00222110 80 63 04 50 */ lwz r3, 0x450(r3) /* 802251B4 00222114 38 80 00 01 */ li r4, 1 /* 802251B8 00222118 4B F1 58 21 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType lbl_802251BC: /* 802251BC 0022211C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802251C0 00222120 7C 08 03 A6 */ mtlr r0 /* 802251C4 00222124 38 21 00 10 */ addi r1, r1, 0x10 /* 802251C8 00222128 4E 80 00 20 */ blr .global DoUserAnimEvent__8CEyeBallFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__8CEyeBallFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 802251CC 0022212C 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802251D0 00222130 7C 08 02 A6 */ mflr r0 /* 802251D4 00222134 90 01 00 94 */ stw r0, 0x94(r1) /* 802251D8 00222138 DB E1 00 88 */ stfd f31, 0x88(r1) /* 802251DC 0022213C FF E0 08 90 */ fmr f31, f1 /* 802251E0 00222140 BF 61 00 74 */ stmw r27, 0x74(r1) /* 802251E4 00222144 7C DE 33 78 */ mr r30, r6 /* 802251E8 00222148 2C 1E 00 09 */ cmpwi r30, 9 /* 802251EC 0022214C 7C 7B 1B 78 */ mr r27, r3 /* 802251F0 00222150 7C 9C 23 78 */ mr r28, r4 /* 802251F4 00222154 7C BD 2B 78 */ mr r29, r5 /* 802251F8 00222158 3B E0 00 00 */ li r31, 0 /* 802251FC 0022215C 41 82 00 54 */ beq lbl_80225250 /* 80225200 00222160 40 80 00 58 */ bge lbl_80225258 /* 80225204 00222164 2C 1E 00 08 */ cmpwi r30, 8 /* 80225208 00222168 40 80 00 08 */ bge lbl_80225210 /* 8022520C 0022216C 48 00 00 4C */ b lbl_80225258 lbl_80225210: /* 80225210 00222170 88 1B 06 0C */ lbz r0, 0x60c(r27) /* 80225214 00222174 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80225218 00222178 41 82 00 40 */ beq lbl_80225258 /* 8022521C 0022217C 7F 64 DB 78 */ mr r4, r27 /* 80225220 00222180 38 61 00 08 */ addi r3, r1, 8 /* 80225224 00222184 38 BD 00 3C */ addi r5, r29, 0x3c /* 80225228 00222188 3B E0 00 01 */ li r31, 1 /* 8022522C 0022218C 4B E5 37 4D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80225230 00222190 38 61 00 38 */ addi r3, r1, 0x38 /* 80225234 00222194 38 81 00 08 */ addi r4, r1, 8 /* 80225238 00222198 48 0E D9 3D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022523C 0022219C 7F 63 DB 78 */ mr r3, r27 /* 80225240 002221A0 7F 84 E3 78 */ mr r4, r28 /* 80225244 002221A4 38 A1 00 38 */ addi r5, r1, 0x38 /* 80225248 002221A8 4B FF F6 25 */ bl FireBeam__8CEyeballFR13CStateManagerRC12CTransform4f /* 8022524C 002221AC 48 00 00 0C */ b lbl_80225258 lbl_80225250: /* 80225250 002221B0 3B E0 00 01 */ li r31, 1 /* 80225254 002221B4 4B FF F5 7D */ bl ResetBeamState__8CEyeballFR13CStateManager lbl_80225258: /* 80225258 002221B8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8022525C 002221BC 40 82 00 1C */ bne lbl_80225278 /* 80225260 002221C0 FC 20 F8 90 */ fmr f1, f31 /* 80225264 002221C4 7F 63 DB 78 */ mr r3, r27 /* 80225268 002221C8 7F 84 E3 78 */ mr r4, r28 /* 8022526C 002221CC 7F A5 EB 78 */ mr r5, r29 /* 80225270 002221D0 7F C6 F3 78 */ mr r6, r30 /* 80225274 002221D4 4B E5 3C 3D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_80225278: /* 80225278 002221D8 CB E1 00 88 */ lfd f31, 0x88(r1) /* 8022527C 002221DC BB 61 00 74 */ lmw r27, 0x74(r1) /* 80225280 002221E0 80 01 00 94 */ lwz r0, 0x94(r1) /* 80225284 002221E4 7C 08 03 A6 */ mtlr r0 /* 80225288 002221E8 38 21 00 90 */ addi r1, r1, 0x90 /* 8022528C 002221EC 4E 80 00 20 */ blr .global AcceptScriptMsg__8CEyeBallF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__8CEyeBallF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80225290 002221F0 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80225294 002221F4 7C 08 02 A6 */ mflr r0 /* 80225298 002221F8 90 01 00 54 */ stw r0, 0x54(r1) /* 8022529C 002221FC BF 61 00 3C */ stmw r27, 0x3c(r1) /* 802252A0 00222200 7C 9C 23 78 */ mr r28, r4 /* 802252A4 00222204 38 1C FF EB */ addi r0, r28, -21 /* 802252A8 00222208 7C 7B 1B 78 */ mr r27, r3 /* 802252AC 0022220C 28 00 00 15 */ cmplwi r0, 0x15 /* 802252B0 00222210 7C BD 2B 78 */ mr r29, r5 /* 802252B4 00222214 7C DE 33 78 */ mr r30, r6 /* 802252B8 00222218 3B E0 00 00 */ li r31, 0 /* 802252BC 0022221C 41 81 01 BC */ bgt lbl_80225478 /* 802252C0 00222220 3C 80 80 3E */ lis r4, lbl_803E7A18@ha /* 802252C4 00222224 54 00 10 3A */ slwi r0, r0, 2 /* 802252C8 00222228 38 84 7A 18 */ addi r4, r4, lbl_803E7A18@l /* 802252CC 0022222C 7C 04 00 2E */ lwzx r0, r4, r0 /* 802252D0 00222230 7C 09 03 A6 */ mtctr r0 /* 802252D4 00222234 4E 80 04 20 */ bctr /* 802252D8 00222238 A0 1D 00 00 */ lhz r0, 0(r29) /* 802252DC 0022223C 7F C3 F3 78 */ mr r3, r30 /* 802252E0 00222240 38 81 00 14 */ addi r4, r1, 0x14 /* 802252E4 00222244 B0 01 00 14 */ sth r0, 0x14(r1) /* 802252E8 00222248 4B E2 72 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802252EC 0022224C 7C 64 1B 78 */ mr r4, r3 /* 802252F0 00222250 38 61 00 24 */ addi r3, r1, 0x24 /* 802252F4 00222254 4B E8 84 19 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 802252F8 00222258 83 E3 00 04 */ lwz r31, 4(r3) /* 802252FC 0022225C 28 1F 00 00 */ cmplwi r31, 0 /* 80225300 00222260 41 82 00 50 */ beq lbl_80225350 /* 80225304 00222264 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80225308 00222268 A0 9F 00 EC */ lhz r4, 0xec(r31) /* 8022530C 0022226C A0 03 00 08 */ lhz r0, 8(r3) /* 80225310 00222270 7C 04 00 40 */ cmplw r4, r0 /* 80225314 00222274 40 82 00 3C */ bne lbl_80225350 /* 80225318 00222278 7F 63 DB 78 */ mr r3, r27 /* 8022531C 0022227C 81 9B 00 00 */ lwz r12, 0(r27) /* 80225320 00222280 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80225324 00222284 7D 89 03 A6 */ mtctr r12 /* 80225328 00222288 4E 80 04 21 */ bctrl /* 8022532C 0022228C 38 9F 01 2C */ addi r4, r31, 0x12c /* 80225330 00222290 38 A0 00 00 */ li r5, 0 /* 80225334 00222294 4B ED D1 89 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode /* 80225338 00222298 2C 03 00 02 */ cmpwi r3, 2 /* 8022533C 0022229C 41 82 00 14 */ beq lbl_80225350 /* 80225340 002222A0 88 1B 04 00 */ lbz r0, 0x400(r27) /* 80225344 002222A4 38 60 00 01 */ li r3, 1 /* 80225348 002222A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022534C 002222AC 98 1B 04 00 */ stb r0, 0x400(r27) lbl_80225350: /* 80225350 002222B0 3B E0 00 01 */ li r31, 1 /* 80225354 002222B4 48 00 01 24 */ b lbl_80225478 /* 80225358 002222B8 A0 1D 00 00 */ lhz r0, 0(r29) /* 8022535C 002222BC 7F C3 F3 78 */ mr r3, r30 /* 80225360 002222C0 38 81 00 10 */ addi r4, r1, 0x10 /* 80225364 002222C4 B0 01 00 10 */ sth r0, 0x10(r1) /* 80225368 002222C8 4B E2 72 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022536C 002222CC 7C 64 1B 78 */ mr r4, r3 /* 80225370 002222D0 38 61 00 1C */ addi r3, r1, 0x1c /* 80225374 002222D4 4B E8 83 99 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 80225378 002222D8 83 E3 00 04 */ lwz r31, 4(r3) /* 8022537C 002222DC 28 1F 00 00 */ cmplwi r31, 0 /* 80225380 002222E0 41 82 00 50 */ beq lbl_802253D0 /* 80225384 002222E4 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 80225388 002222E8 A0 9F 00 EC */ lhz r4, 0xec(r31) /* 8022538C 002222EC A0 03 00 08 */ lhz r0, 8(r3) /* 80225390 002222F0 7C 04 00 40 */ cmplw r4, r0 /* 80225394 002222F4 40 82 00 3C */ bne lbl_802253D0 /* 80225398 002222F8 7F 63 DB 78 */ mr r3, r27 /* 8022539C 002222FC 81 9B 00 00 */ lwz r12, 0(r27) /* 802253A0 00222300 81 8C 00 38 */ lwz r12, 0x38(r12) /* 802253A4 00222304 7D 89 03 A6 */ mtctr r12 /* 802253A8 00222308 4E 80 04 21 */ bctrl /* 802253AC 0022230C 38 9F 01 2C */ addi r4, r31, 0x12c /* 802253B0 00222310 38 A0 00 00 */ li r5, 0 /* 802253B4 00222314 4B ED D1 09 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode /* 802253B8 00222318 2C 03 00 02 */ cmpwi r3, 2 /* 802253BC 0022231C 41 82 00 14 */ beq lbl_802253D0 /* 802253C0 00222320 88 1B 04 00 */ lbz r0, 0x400(r27) /* 802253C4 00222324 38 60 00 01 */ li r3, 1 /* 802253C8 00222328 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802253CC 0022232C 98 1B 04 00 */ stb r0, 0x400(r27) lbl_802253D0: /* 802253D0 00222330 3B E0 00 01 */ li r31, 1 /* 802253D4 00222334 48 00 00 A4 */ b lbl_80225478 /* 802253D8 00222338 88 1B 06 0C */ lbz r0, 0x60c(r27) /* 802253DC 0022233C 38 60 00 01 */ li r3, 1 /* 802253E0 00222340 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 802253E4 00222344 98 1B 06 0C */ stb r0, 0x60c(r27) /* 802253E8 00222348 48 00 00 90 */ b lbl_80225478 /* 802253EC 0022234C 38 80 00 28 */ li r4, 0x28 /* 802253F0 00222350 38 A0 00 29 */ li r5, 0x29 /* 802253F4 00222354 4B E2 EA E1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 802253F8 00222358 80 7B 04 50 */ lwz r3, 0x450(r27) /* 802253FC 0022235C 7F C4 F3 78 */ mr r4, r30 /* 80225400 00222360 4B F1 58 F1 */ bl Activate__15CBodyControllerFR13CStateManager /* 80225404 00222364 C0 02 B4 70 */ lfs f0, lbl_805AD190@sda21(r2) /* 80225408 00222368 7F 63 DB 78 */ mr r3, r27 /* 8022540C 0022236C 38 80 00 00 */ li r4, 0 /* 80225410 00222370 D0 1B 03 40 */ stfs f0, 0x340(r27) /* 80225414 00222374 4B E2 D9 59 */ bl CreateShadow__6CActorFb /* 80225418 00222378 7F 63 DB 78 */ mr r3, r27 /* 8022541C 0022237C 7F C4 F3 78 */ mr r4, r30 /* 80225420 00222380 48 00 00 91 */ bl CreateBeam__8CEyeballFR13CStateManager /* 80225424 00222384 48 00 00 54 */ b lbl_80225478 /* 80225428 00222388 A0 7B 05 EC */ lhz r3, 0x5ec(r27) /* 8022542C 0022238C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80225430 00222390 7C 03 00 40 */ cmplw r3, r0 /* 80225434 00222394 41 82 00 3C */ beq lbl_80225470 /* 80225438 00222398 A0 1B 05 EC */ lhz r0, 0x5ec(r27) /* 8022543C 0022239C 7F C3 F3 78 */ mr r3, r30 /* 80225440 002223A0 38 81 00 0C */ addi r4, r1, 0xc /* 80225444 002223A4 B0 01 00 0C */ sth r0, 0xc(r1) /* 80225448 002223A8 4B E2 6E 25 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 8022544C 002223AC 80 1B 06 08 */ lwz r0, 0x608(r27) /* 80225450 002223B0 28 00 00 00 */ cmplwi r0, 0 /* 80225454 002223B4 41 82 00 1C */ beq lbl_80225470 /* 80225458 002223B8 80 1B 06 08 */ lwz r0, 0x608(r27) /* 8022545C 002223BC 38 61 00 18 */ addi r3, r1, 0x18 /* 80225460 002223C0 90 01 00 18 */ stw r0, 0x18(r1) /* 80225464 002223C4 48 0C 4A 21 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 80225468 002223C8 38 00 00 00 */ li r0, 0 /* 8022546C 002223CC 90 1B 06 08 */ stw r0, 0x608(r27) lbl_80225470: /* 80225470 002223D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80225474 002223D4 B0 1B 05 EC */ sth r0, 0x5ec(r27) lbl_80225478: /* 80225478 002223D8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8022547C 002223DC 40 82 00 20 */ bne lbl_8022549C /* 80225480 002223E0 A0 1D 00 00 */ lhz r0, 0(r29) /* 80225484 002223E4 7F 63 DB 78 */ mr r3, r27 /* 80225488 002223E8 7F 84 E3 78 */ mr r4, r28 /* 8022548C 002223EC 7F C6 F3 78 */ mr r6, r30 /* 80225490 002223F0 B0 01 00 08 */ sth r0, 8(r1) /* 80225494 002223F4 38 A1 00 08 */ addi r5, r1, 8 /* 80225498 002223F8 4B E5 76 E1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager lbl_8022549C: /* 8022549C 002223FC BB 61 00 3C */ lmw r27, 0x3c(r1) /* 802254A0 00222400 80 01 00 54 */ lwz r0, 0x54(r1) /* 802254A4 00222404 7C 08 03 A6 */ mtlr r0 /* 802254A8 00222408 38 21 00 50 */ addi r1, r1, 0x50 /* 802254AC 0022240C 4E 80 00 20 */ blr .global CreateBeam__8CEyeballFR13CStateManager CreateBeam__8CEyeballFR13CStateManager: /* 802254B0 00222410 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 802254B4 00222414 7C 08 02 A6 */ mflr r0 /* 802254B8 00222418 90 01 00 D4 */ stw r0, 0xd4(r1) /* 802254BC 0022241C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 802254C0 00222420 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 802254C4 00222424 7C 9E 23 78 */ mr r30, r4 /* 802254C8 00222428 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 802254CC 0022242C 7C 7D 1B 78 */ mr r29, r3 /* 802254D0 00222430 93 81 00 C0 */ stw r28, 0xc0(r1) /* 802254D4 00222434 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 802254D8 00222438 A0 63 05 EC */ lhz r3, 0x5ec(r3) /* 802254DC 0022243C 7C 03 00 40 */ cmplw r3, r0 /* 802254E0 00222440 40 82 01 C0 */ bne lbl_802256A0 /* 802254E4 00222444 C0 22 B4 70 */ lfs f1, lbl_805AD190@sda21(r2) /* 802254E8 00222448 38 61 00 38 */ addi r3, r1, 0x38 /* 802254EC 0022244C C0 42 B4 90 */ lfs f2, lbl_805AD1B0@sda21(r2) /* 802254F0 00222450 FC 80 08 90 */ fmr f4, f1 /* 802254F4 00222454 C0 62 B4 8C */ lfs f3, lbl_805AD1AC@sda21(r2) /* 802254F8 00222458 48 13 DE F5 */ bl __ct__6CColorFffff /* 802254FC 0022245C C0 22 B4 90 */ lfs f1, lbl_805AD1B0@sda21(r2) /* 80225500 00222460 38 61 00 3C */ addi r3, r1, 0x3c /* 80225504 00222464 C0 82 B4 70 */ lfs f4, lbl_805AD190@sda21(r2) /* 80225508 00222468 FC 40 08 90 */ fmr f2, f1 /* 8022550C 0022246C FC 60 08 90 */ fmr f3, f1 /* 80225510 00222470 48 13 DE DD */ bl __ct__6CColorFffff /* 80225514 00222474 81 7D 05 E8 */ lwz r11, 0x5e8(r29) /* 80225518 00222478 38 E0 00 03 */ li r7, 3 /* 8022551C 0022247C 81 5D 05 E4 */ lwz r10, 0x5e4(r29) /* 80225520 00222480 38 C0 00 32 */ li r6, 0x32 /* 80225524 00222484 81 3D 05 E0 */ lwz r9, 0x5e0(r29) /* 80225528 00222488 7F C4 F3 78 */ mr r4, r30 /* 8022552C 0022248C 81 1D 05 DC */ lwz r8, 0x5dc(r29) /* 80225530 00222490 38 61 00 2C */ addi r3, r1, 0x2c /* 80225534 00222494 C0 62 B4 90 */ lfs f3, lbl_805AD1B0@sda21(r2) /* 80225538 00222498 C0 42 B4 98 */ lfs f2, lbl_805AD1B8@sda21(r2) /* 8022553C 0022249C C0 82 B4 94 */ lfs f4, lbl_805AD1B4@sda21(r2) /* 80225540 002224A0 C0 22 B4 9C */ lfs f1, lbl_805AD1BC@sda21(r2) /* 80225544 002224A4 C0 02 B4 A0 */ lfs f0, lbl_805AD1C0@sda21(r2) /* 80225548 002224A8 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 8022554C 002224AC 80 01 00 38 */ lwz r0, 0x38(r1) /* 80225550 002224B0 90 E1 00 78 */ stw r7, 0x78(r1) /* 80225554 002224B4 91 01 00 7C */ stw r8, 0x7c(r1) /* 80225558 002224B8 91 21 00 80 */ stw r9, 0x80(r1) /* 8022555C 002224BC 91 41 00 84 */ stw r10, 0x84(r1) /* 80225560 002224C0 91 61 00 88 */ stw r11, 0x88(r1) /* 80225564 002224C4 90 C1 00 8C */ stw r6, 0x8c(r1) /* 80225568 002224C8 D0 81 00 90 */ stfs f4, 0x90(r1) /* 8022556C 002224CC D0 61 00 94 */ stfs f3, 0x94(r1) /* 80225570 002224D0 D0 41 00 98 */ stfs f2, 0x98(r1) /* 80225574 002224D4 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 80225578 002224D8 D0 61 00 A0 */ stfs f3, 0xa0(r1) /* 8022557C 002224DC D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 80225580 002224E0 D0 41 00 A8 */ stfs f2, 0xa8(r1) /* 80225584 002224E4 D0 01 00 AC */ stfs f0, 0xac(r1) /* 80225588 002224E8 90 A1 00 B0 */ stw r5, 0xb0(r1) /* 8022558C 002224EC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80225590 002224F0 4B E2 7B 4D */ bl AllocateUniqueId__13CStateManagerFv /* 80225594 002224F4 A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80225598 002224F8 3C 60 80 3D */ lis r3, lbl_803D3248@ha /* 8022559C 002224FC 38 63 32 48 */ addi r3, r3, lbl_803D3248@l /* 802255A0 00222500 3B 80 00 00 */ li r28, 0 /* 802255A4 00222504 B0 1D 05 EC */ sth r0, 0x5ec(r29) /* 802255A8 00222508 38 83 00 16 */ addi r4, r3, 0x16 /* 802255AC 0022250C 38 60 05 50 */ li r3, 0x550 /* 802255B0 00222510 38 A0 00 00 */ li r5, 0 /* 802255B4 00222514 48 0F 02 B9 */ bl __nw__FUlPCcPCc /* 802255B8 00222518 7C 7F 1B 79 */ or. r31, r3, r3 /* 802255BC 0022251C 41 82 00 C4 */ beq lbl_80225680 /* 802255C0 00222520 38 00 FF FF */ li r0, -1 /* 802255C4 00222524 38 60 00 08 */ li r3, 8 /* 802255C8 00222528 90 61 00 50 */ stw r3, 0x50(r1) /* 802255CC 0022252C 3C 60 80 3D */ lis r3, lbl_803D3248@ha /* 802255D0 00222530 38 83 32 48 */ addi r4, r3, lbl_803D3248@l /* 802255D4 00222534 38 61 00 40 */ addi r3, r1, 0x40 /* 802255D8 00222538 90 01 00 54 */ stw r0, 0x54(r1) /* 802255DC 0022253C 38 84 00 1D */ addi r4, r4, 0x1d /* 802255E0 00222540 90 01 00 58 */ stw r0, 0x58(r1) /* 802255E4 00222544 90 01 00 5C */ stw r0, 0x5c(r1) /* 802255E8 00222548 90 01 00 60 */ stw r0, 0x60(r1) /* 802255EC 0022254C 90 01 00 64 */ stw r0, 0x64(r1) /* 802255F0 00222550 90 01 00 68 */ stw r0, 0x68(r1) /* 802255F4 00222554 90 01 00 6C */ stw r0, 0x6c(r1) /* 802255F8 00222558 90 01 00 70 */ stw r0, 0x70(r1) /* 802255FC 0022255C A0 1D 00 08 */ lhz r0, 8(r29) /* 80225600 00222560 B0 01 00 28 */ sth r0, 0x28(r1) /* 80225604 00222564 80 BD 00 04 */ lwz r5, 4(r29) /* 80225608 00222568 B0 01 00 24 */ sth r0, 0x24(r1) /* 8022560C 0022256C 90 A1 00 34 */ stw r5, 0x34(r1) /* 80225610 00222570 A0 1D 05 EC */ lhz r0, 0x5ec(r29) /* 80225614 00222574 90 A1 00 30 */ stw r5, 0x30(r1) /* 80225618 00222578 B0 01 00 20 */ sth r0, 0x20(r1) /* 8022561C 0022257C 4B DD F6 9D */ bl string_l__4rstlFPCc /* 80225620 00222580 38 01 00 20 */ addi r0, r1, 0x20 /* 80225624 00222584 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80225628 00222588 90 01 00 08 */ stw r0, 8(r1) /* 8022562C 0022258C 38 01 00 34 */ addi r0, r1, 0x34 /* 80225630 00222590 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 80225634 00222594 38 61 00 28 */ addi r3, r1, 0x28 /* 80225638 00222598 90 01 00 0C */ stw r0, 0xc(r1) /* 8022563C 0022259C 38 A1 00 50 */ addi r5, r1, 0x50 /* 80225640 002225A0 38 C0 00 00 */ li r6, 0 /* 80225644 002225A4 3C 00 00 02 */ lis r0, 2 /* 80225648 002225A8 90 61 00 10 */ stw r3, 0x10(r1) /* 8022564C 002225AC 7F E3 FB 78 */ mr r3, r31 /* 80225650 002225B0 38 9D 05 B4 */ addi r4, r29, 0x5b4 /* 80225654 002225B4 38 E1 00 74 */ addi r7, r1, 0x74 /* 80225658 002225B8 90 A1 00 14 */ stw r5, 0x14(r1) /* 8022565C 002225BC 38 A1 00 40 */ addi r5, r1, 0x40 /* 80225660 002225C0 39 5D 05 C0 */ addi r10, r29, 0x5c0 /* 80225664 002225C4 3B 80 00 01 */ li r28, 1 /* 80225668 002225C8 90 C1 00 18 */ stw r6, 0x18(r1) /* 8022566C 002225CC 38 C0 00 09 */ li r6, 9 /* 80225670 002225D0 39 20 00 21 */ li r9, 0x21 /* 80225674 002225D4 90 01 00 1C */ stw r0, 0x1c(r1) /* 80225678 002225D8 4B F5 35 B1 */ bl "__ct__17CPlasmaProjectileFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC9CBeamInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdbUi" /* 8022567C 002225DC 7C 7F 1B 78 */ mr r31, r3 lbl_80225680: /* 80225680 002225E0 7F 80 07 75 */ extsb. r0, r28 /* 80225684 002225E4 7F FD FB 78 */ mr r29, r31 /* 80225688 002225E8 41 82 00 0C */ beq lbl_80225694 /* 8022568C 002225EC 38 61 00 40 */ addi r3, r1, 0x40 /* 80225690 002225F0 48 11 84 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80225694: /* 80225694 002225F4 7F C3 F3 78 */ mr r3, r30 /* 80225698 002225F8 7F A4 EB 78 */ mr r4, r29 /* 8022569C 002225FC 4B E2 74 79 */ bl AddObject__13CStateManagerFR7CEntity lbl_802256A0: /* 802256A0 00222600 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 802256A4 00222604 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 802256A8 00222608 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 802256AC 0022260C 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 802256B0 00222610 83 81 00 C0 */ lwz r28, 0xc0(r1) /* 802256B4 00222614 7C 08 03 A6 */ mtlr r0 /* 802256B8 00222618 38 21 00 D0 */ addi r1, r1, 0xd0 /* 802256BC 0022261C 4E 80 00 20 */ blr .global Accept__8CEyeBallFR8IVisitor Accept__8CEyeBallFR8IVisitor: /* 802256C0 00222620 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802256C4 00222624 7C 08 02 A6 */ mflr r0 /* 802256C8 00222628 90 01 00 14 */ stw r0, 0x14(r1) /* 802256CC 0022262C 7C 60 1B 78 */ mr r0, r3 /* 802256D0 00222630 7C 83 23 78 */ mr r3, r4 /* 802256D4 00222634 81 84 00 00 */ lwz r12, 0(r4) /* 802256D8 00222638 7C 04 03 78 */ mr r4, r0 /* 802256DC 0022263C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802256E0 00222640 7D 89 03 A6 */ mtctr r12 /* 802256E4 00222644 4E 80 04 21 */ bctrl /* 802256E8 00222648 80 01 00 14 */ lwz r0, 0x14(r1) /* 802256EC 0022264C 7C 08 03 A6 */ mtlr r0 /* 802256F0 00222650 38 21 00 10 */ addi r1, r1, 0x10 /* 802256F4 00222654 4E 80 00 20 */ blr .global "__ct__8CEyeBallF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoffUiRC11CDamageInfoUiUiUiUiRC16CActorParameters" "__ct__8CEyeBallF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoffUiRC11CDamageInfoUiUiUiUiRC16CActorParameters": /* 802256F8 00222658 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802256FC 0022265C 7C 08 02 A6 */ mflr r0 /* 80225700 00222660 90 01 00 94 */ stw r0, 0x94(r1) /* 80225704 00222664 DB E1 00 80 */ stfd f31, 0x80(r1) /* 80225708 00222668 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 8022570C 0022266C DB C1 00 70 */ stfd f30, 0x70(r1) /* 80225710 00222670 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 80225714 00222674 BE 61 00 3C */ stmw r19, 0x3c(r1) /* 80225718 00222678 A0 04 00 00 */ lhz r0, 0(r4) /* 8022571C 0022267C 7D 2B 4B 78 */ mr r11, r9 /* 80225720 00222680 7C F8 3B 78 */ mr r24, r7 /* 80225724 00222684 7C D7 33 78 */ mr r23, r6 /* 80225728 00222688 B0 01 00 20 */ sth r0, 0x20(r1) /* 8022572C 0022268C 7D 0C 43 78 */ mr r12, r8 /* 80225730 00222690 7F 08 C3 78 */ mr r8, r24 /* 80225734 00222694 7C A6 2B 78 */ mr r6, r5 /* 80225738 00222698 91 41 00 08 */ stw r10, 8(r1) /* 8022573C 0022269C 39 20 00 01 */ li r9, 1 /* 80225740 002226A0 38 80 00 00 */ li r4, 0 /* 80225744 002226A4 38 00 00 02 */ li r0, 2 /* 80225748 002226A8 91 21 00 0C */ stw r9, 0xc(r1) /* 8022574C 002226AC FF C0 08 90 */ fmr f30, f1 /* 80225750 002226B0 80 E1 00 C8 */ lwz r7, 0xc8(r1) /* 80225754 002226B4 FF E0 10 90 */ fmr f31, f2 /* 80225758 002226B8 90 81 00 10 */ stw r4, 0x10(r1) /* 8022575C 002226BC 7C 73 1B 78 */ mr r19, r3 /* 80225760 002226C0 82 81 00 98 */ lwz r20, 0x98(r1) /* 80225764 002226C4 90 01 00 14 */ stw r0, 0x14(r1) /* 80225768 002226C8 7D 6A 5B 78 */ mr r10, r11 /* 8022576C 002226CC 82 A1 00 9C */ lwz r21, 0x9c(r1) /* 80225770 002226D0 38 A1 00 20 */ addi r5, r1, 0x20 /* 80225774 002226D4 90 E1 00 18 */ stw r7, 0x18(r1) /* 80225778 002226D8 7E E7 BB 78 */ mr r7, r23 /* 8022577C 002226DC 82 C1 00 A0 */ lwz r22, 0xa0(r1) /* 80225780 002226E0 38 80 00 09 */ li r4, 9 /* 80225784 002226E4 91 21 00 1C */ stw r9, 0x1c(r1) /* 80225788 002226E8 7D 89 63 78 */ mr r9, r12 /* 8022578C 002226EC 82 E1 00 A4 */ lwz r23, 0xa4(r1) /* 80225790 002226F0 83 01 00 A8 */ lwz r24, 0xa8(r1) /* 80225794 002226F4 83 21 00 AC */ lwz r25, 0xac(r1) /* 80225798 002226F8 83 41 00 B0 */ lwz r26, 0xb0(r1) /* 8022579C 002226FC 83 61 00 B4 */ lwz r27, 0xb4(r1) /* 802257A0 00222700 83 81 00 B8 */ lwz r28, 0xb8(r1) /* 802257A4 00222704 83 A1 00 BC */ lwz r29, 0xbc(r1) /* 802257A8 00222708 83 C1 00 C0 */ lwz r30, 0xc0(r1) /* 802257AC 0022270C 8B E1 00 C7 */ lbz r31, 0xc7(r1) /* 802257B0 00222710 4B E5 7C A1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 802257B4 00222714 3C 60 80 3E */ lis r3, lbl_803E774C@ha /* 802257B8 00222718 3C 80 80 3D */ lis r4, lbl_803D3248@ha /* 802257BC 0022271C 38 03 77 4C */ addi r0, r3, lbl_803E774C@l /* 802257C0 00222720 38 61 00 24 */ addi r3, r1, 0x24 /* 802257C4 00222724 90 13 00 00 */ stw r0, 0(r19) /* 802257C8 00222728 38 84 32 48 */ addi r4, r4, lbl_803D3248@l /* 802257CC 0022272C 38 84 00 2A */ addi r4, r4, 0x2a /* 802257D0 00222730 D3 D3 05 68 */ stfs f30, 0x568(r19) /* 802257D4 00222734 D3 F3 05 6C */ stfs f31, 0x56c(r19) /* 802257D8 00222738 4B DD F4 E1 */ bl string_l__4rstlFPCc /* 802257DC 0022273C 80 93 00 64 */ lwz r4, 0x64(r19) /* 802257E0 00222740 38 73 05 70 */ addi r3, r19, 0x570 /* 802257E4 00222744 C0 22 B4 88 */ lfs f1, lbl_805AD1A8@sda21(r2) /* 802257E8 00222748 38 A1 00 24 */ addi r5, r1, 0x24 /* 802257EC 0022274C 80 84 00 10 */ lwz r4, 0x10(r4) /* 802257F0 00222750 38 C0 00 01 */ li r6, 1 /* 802257F4 00222754 C0 42 B4 A4 */ lfs f2, lbl_805AD1C4@sda21(r2) /* 802257F8 00222758 4B F5 01 C1 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 802257FC 0022275C 38 61 00 24 */ addi r3, r1, 0x24 /* 80225800 00222760 48 11 82 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80225804 00222764 3C 60 80 5A */ lis r3, skZero3f@ha /* 80225808 00222768 7E 84 A3 78 */ mr r4, r20 /* 8022580C 0022276C 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 80225810 00222770 7E A5 AB 78 */ mr r5, r21 /* 80225814 00222774 C0 06 00 00 */ lfs f0, 0(r6) /* 80225818 00222778 38 73 05 B4 */ addi r3, r19, 0x5b4 /* 8022581C 0022277C D0 13 05 A8 */ stfs f0, 0x5a8(r19) /* 80225820 00222780 C0 06 00 04 */ lfs f0, 4(r6) /* 80225824 00222784 D0 13 05 AC */ stfs f0, 0x5ac(r19) /* 80225828 00222788 C0 06 00 08 */ lfs f0, 8(r6) /* 8022582C 0022278C D0 13 05 B0 */ stfs f0, 0x5b0(r19) /* 80225830 00222790 4B FF 68 79 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 80225834 00222794 92 D3 05 DC */ stw r22, 0x5dc(r19) /* 80225838 00222798 38 00 00 00 */ li r0, 0 /* 8022583C 0022279C 57 C3 04 3E */ clrlwi r3, r30, 0x10 /* 80225840 002227A0 92 F3 05 E0 */ stw r23, 0x5e0(r19) /* 80225844 002227A4 93 13 05 E4 */ stw r24, 0x5e4(r19) /* 80225848 002227A8 93 33 05 E8 */ stw r25, 0x5e8(r19) /* 8022584C 002227AC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 80225850 002227B0 B0 93 05 EC */ sth r4, 0x5ec(r19) /* 80225854 002227B4 90 13 05 F0 */ stw r0, 0x5f0(r19) /* 80225858 002227B8 48 0C 31 59 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022585C 002227BC B0 73 06 04 */ sth r3, 0x604(r19) /* 80225860 002227C0 38 A0 00 00 */ li r5, 0 /* 80225864 002227C4 38 73 04 60 */ addi r3, r19, 0x460 /* 80225868 002227C8 38 80 00 00 */ li r4, 0 /* 8022586C 002227CC 90 B3 06 08 */ stw r5, 0x608(r19) /* 80225870 002227D0 88 13 06 0C */ lbz r0, 0x60c(r19) /* 80225874 002227D4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80225878 002227D8 98 13 06 0C */ stb r0, 0x60c(r19) /* 8022587C 002227DC 88 13 06 0C */ lbz r0, 0x60c(r19) /* 80225880 002227E0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80225884 002227E4 98 13 06 0C */ stb r0, 0x60c(r19) /* 80225888 002227E8 88 13 06 0C */ lbz r0, 0x60c(r19) /* 8022588C 002227EC 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80225890 002227F0 98 13 06 0C */ stb r0, 0x60c(r19) /* 80225894 002227F4 88 13 06 0C */ lbz r0, 0x60c(r19) /* 80225898 002227F8 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b /* 8022589C 002227FC 98 13 06 0C */ stb r0, 0x60c(r19) /* 802258A0 00222800 88 13 06 0C */ lbz r0, 0x60c(r19) /* 802258A4 00222804 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 802258A8 00222808 98 13 06 0C */ stb r0, 0x60c(r19) /* 802258AC 0022280C 93 53 05 F4 */ stw r26, 0x5f4(r19) /* 802258B0 00222810 93 73 05 F8 */ stw r27, 0x5f8(r19) /* 802258B4 00222814 93 93 05 FC */ stw r28, 0x5fc(r19) /* 802258B8 00222818 93 B3 06 00 */ stw r29, 0x600(r19) /* 802258BC 0022281C 48 00 E4 A9 */ bl SetAutoResetImpulse__20CKnockBackControllerFb /* 802258C0 00222820 7E 63 9B 78 */ mr r3, r19 /* 802258C4 00222824 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 802258C8 00222828 CB E1 00 80 */ lfd f31, 0x80(r1) /* 802258CC 0022282C E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 802258D0 00222830 CB C1 00 70 */ lfd f30, 0x70(r1) /* 802258D4 00222834 BA 61 00 3C */ lmw r19, 0x3c(r1) /* 802258D8 00222838 80 01 00 94 */ lwz r0, 0x94(r1) /* 802258DC 0022283C 7C 08 03 A6 */ mtlr r0 /* 802258E0 00222840 38 21 00 90 */ addi r1, r1, 0x90 /* 802258E4 00222844 4E 80 00 20 */ blr .global Update__8CIkChainFf Update__8CIkChainFf: /* 802258E8 00222848 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802258EC 0022284C 7C 08 02 A6 */ mflr r0 /* 802258F0 00222850 90 01 00 24 */ stw r0, 0x24(r1) /* 802258F4 00222854 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802258F8 00222858 7C 7F 1B 78 */ mr r31, r3 /* 802258FC 0022285C 88 03 00 44 */ lbz r0, 0x44(r3) /* 80225900 00222860 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80225904 00222864 41 82 00 28 */ beq lbl_8022592C /* 80225908 00222868 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8022590C 0022286C 38 61 00 0C */ addi r3, r1, 0xc /* 80225910 00222870 38 8D 95 58 */ addi r4, r13, lbl_805A8118@sda21 /* 80225914 00222874 EC 00 08 2A */ fadds f0, f0, f1 /* 80225918 00222878 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8022591C 0022287C 4B E5 84 C5 */ bl "Min__5CMathFRCfRCf" /* 80225920 00222880 C0 03 00 00 */ lfs f0, 0(r3) /* 80225924 00222884 D0 1F 00 40 */ stfs f0, 0x40(r31) /* 80225928 00222888 48 00 00 24 */ b lbl_8022594C lbl_8022592C: /* 8022592C 0022288C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80225930 00222890 38 81 00 08 */ addi r4, r1, 8 /* 80225934 00222894 38 6D 95 5C */ addi r3, r13, lbl_805A811C@sda21 /* 80225938 00222898 EC 00 08 28 */ fsubs f0, f0, f1 /* 8022593C 0022289C D0 01 00 08 */ stfs f0, 8(r1) /* 80225940 002228A0 4B E2 9D F1 */ bl "Max__5CMathFRCfRCf" /* 80225944 002228A4 C0 03 00 00 */ lfs f0, 0(r3) /* 80225948 002228A8 D0 1F 00 40 */ stfs f0, 0x40(r31) lbl_8022594C: /* 8022594C 002228AC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80225950 002228B0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80225954 002228B4 7C 08 03 A6 */ mtlr r0 /* 80225958 002228B8 38 21 00 20 */ addi r1, r1, 0x20 /* 8022595C 002228BC 4E 80 00 20 */ blr .global Deactivate__8CIkChainFv Deactivate__8CIkChainFv: /* 80225960 002228C0 88 03 00 44 */ lbz r0, 0x44(r3) /* 80225964 002228C4 38 80 00 00 */ li r4, 0 /* 80225968 002228C8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8022596C 002228CC 98 03 00 44 */ stb r0, 0x44(r3) /* 80225970 002228D0 4E 80 00 20 */ blr .global PreRender__8CIkChainFR9CAnimDataRC12CTransform4fRC9CVector3f PreRender__8CIkChainFR9CAnimDataRC12CTransform4fRC9CVector3f: /* 80225974 002228D4 94 21 FE 00 */ stwu r1, -0x200(r1) /* 80225978 002228D8 7C 08 02 A6 */ mflr r0 /* 8022597C 002228DC C0 02 B4 A8 */ lfs f0, lbl_805AD1C8@sda21(r2) /* 80225980 002228E0 90 01 02 04 */ stw r0, 0x204(r1) /* 80225984 002228E4 93 E1 01 FC */ stw r31, 0x1fc(r1) /* 80225988 002228E8 7C DF 33 78 */ mr r31, r6 /* 8022598C 002228EC 93 C1 01 F8 */ stw r30, 0x1f8(r1) /* 80225990 002228F0 7C 9E 23 78 */ mr r30, r4 /* 80225994 002228F4 93 A1 01 F4 */ stw r29, 0x1f4(r1) /* 80225998 002228F8 7C 7D 1B 78 */ mr r29, r3 /* 8022599C 002228FC 93 81 01 F0 */ stw r28, 0x1f0(r1) /* 802259A0 00222900 7C BC 2B 78 */ mr r28, r5 /* 802259A4 00222904 C0 23 00 40 */ lfs f1, 0x40(r3) /* 802259A8 00222908 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802259AC 0022290C 40 81 04 50 */ ble lbl_80225DFC /* 802259B0 00222910 88 1D 00 02 */ lbz r0, 2(r29) /* 802259B4 00222914 38 61 01 88 */ addi r3, r1, 0x188 /* 802259B8 00222918 38 A1 00 08 */ addi r5, r1, 8 /* 802259BC 0022291C 38 C0 00 00 */ li r6, 0 /* 802259C0 00222920 98 01 00 08 */ stb r0, 8(r1) /* 802259C4 00222924 4B E0 68 B1 */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime /* 802259C8 00222928 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 802259CC 0022292C 38 81 01 88 */ addi r4, r1, 0x188 /* 802259D0 00222930 48 0E D1 A5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802259D4 00222934 C0 3D 00 3C */ lfs f1, 0x3c(r29) /* 802259D8 00222938 7F 84 E3 78 */ mr r4, r28 /* 802259DC 0022293C C0 1C 00 2C */ lfs f0, 0x2c(r28) /* 802259E0 00222940 38 61 00 D0 */ addi r3, r1, 0xd0 /* 802259E4 00222944 C0 7D 00 38 */ lfs f3, 0x38(r29) /* 802259E8 00222948 38 A1 00 18 */ addi r5, r1, 0x18 /* 802259EC 0022294C C0 5C 00 1C */ lfs f2, 0x1c(r28) /* 802259F0 00222950 EC 81 00 28 */ fsubs f4, f1, f0 /* 802259F4 00222954 C0 3D 00 34 */ lfs f1, 0x34(r29) /* 802259F8 00222958 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 802259FC 0022295C EC 43 10 28 */ fsubs f2, f3, f2 /* 80225A00 00222960 D0 81 00 20 */ stfs f4, 0x20(r1) /* 80225A04 00222964 EC 01 00 28 */ fsubs f0, f1, f0 /* 80225A08 00222968 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80225A0C 0022296C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80225A10 00222970 48 0E D0 15 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 80225A14 00222974 C0 21 00 D0 */ lfs f1, 0xd0(r1) /* 80225A18 00222978 38 61 00 C4 */ addi r3, r1, 0xc4 /* 80225A1C 0022297C C0 E1 00 D4 */ lfs f7, 0xd4(r1) /* 80225A20 00222980 38 81 01 B8 */ addi r4, r1, 0x1b8 /* 80225A24 00222984 C0 C1 00 D8 */ lfs f6, 0xd8(r1) /* 80225A28 00222988 38 A1 00 0C */ addi r5, r1, 0xc /* 80225A2C 0022298C C0 1F 00 00 */ lfs f0, 0(r31) /* 80225A30 00222990 C0 9F 00 04 */ lfs f4, 4(r31) /* 80225A34 00222994 C0 7F 00 08 */ lfs f3, 8(r31) /* 80225A38 00222998 EC A1 00 24 */ fdivs f5, f1, f0 /* 80225A3C 0022299C C0 41 01 C4 */ lfs f2, 0x1c4(r1) /* 80225A40 002229A0 D0 21 01 4C */ stfs f1, 0x14c(r1) /* 80225A44 002229A4 C0 21 01 D4 */ lfs f1, 0x1d4(r1) /* 80225A48 002229A8 C0 01 01 E4 */ lfs f0, 0x1e4(r1) /* 80225A4C 002229AC D0 E1 01 50 */ stfs f7, 0x150(r1) /* 80225A50 002229B0 EC 87 20 24 */ fdivs f4, f7, f4 /* 80225A54 002229B4 D0 C1 01 54 */ stfs f6, 0x154(r1) /* 80225A58 002229B8 D0 A1 01 4C */ stfs f5, 0x14c(r1) /* 80225A5C 002229BC EC 66 18 24 */ fdivs f3, f6, f3 /* 80225A60 002229C0 D0 81 01 50 */ stfs f4, 0x150(r1) /* 80225A64 002229C4 EC 45 10 28 */ fsubs f2, f5, f2 /* 80225A68 002229C8 D0 61 01 54 */ stfs f3, 0x154(r1) /* 80225A6C 002229CC EC 24 08 28 */ fsubs f1, f4, f1 /* 80225A70 002229D0 EC 03 00 28 */ fsubs f0, f3, f0 /* 80225A74 002229D4 D0 41 00 0C */ stfs f2, 0xc(r1) /* 80225A78 002229D8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80225A7C 002229DC D0 01 00 14 */ stfs f0, 0x14(r1) /* 80225A80 002229E0 48 0E CF A5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 80225A84 002229E4 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 80225A88 002229E8 3B FE 03 3C */ addi r31, r30, 0x33c /* 80225A8C 002229EC C0 21 00 C8 */ lfs f1, 0xc8(r1) /* 80225A90 002229F0 7F 84 E3 78 */ mr r4, r28 /* 80225A94 002229F4 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 80225A98 002229F8 38 61 01 58 */ addi r3, r1, 0x158 /* 80225A9C 002229FC D0 41 01 4C */ stfs f2, 0x14c(r1) /* 80225AA0 00222A00 38 A1 01 B8 */ addi r5, r1, 0x1b8 /* 80225AA4 00222A04 D0 21 01 50 */ stfs f1, 0x150(r1) /* 80225AA8 00222A08 D0 01 01 54 */ stfs f0, 0x154(r1) /* 80225AAC 00222A0C 88 1D 00 02 */ lbz r0, 2(r29) /* 80225AB0 00222A10 80 FE 04 04 */ lwz r7, 0x404(r30) /* 80225AB4 00222A14 54 00 08 3C */ slwi r0, r0, 1 /* 80225AB8 00222A18 7C DF 02 14 */ add r6, r31, r0 /* 80225ABC 00222A1C 88 06 00 01 */ lbz r0, 1(r6) /* 80225AC0 00222A20 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a /* 80225AC4 00222A24 38 C6 00 04 */ addi r6, r6, 4 /* 80225AC8 00222A28 7C C7 32 14 */ add r6, r7, r6 /* 80225ACC 00222A2C C0 06 00 04 */ lfs f0, 4(r6) /* 80225AD0 00222A30 C0 A6 00 08 */ lfs f5, 8(r6) /* 80225AD4 00222A34 C0 C6 00 0C */ lfs f6, 0xc(r6) /* 80225AD8 00222A38 FC 40 00 50 */ fneg f2, f0 /* 80225ADC 00222A3C C0 26 00 00 */ lfs f1, 0(r6) /* 80225AE0 00222A40 FC 60 28 50 */ fneg f3, f5 /* 80225AE4 00222A44 FC 80 30 50 */ fneg f4, f6 /* 80225AE8 00222A48 D0 21 01 3C */ stfs f1, 0x13c(r1) /* 80225AEC 00222A4C D0 01 01 40 */ stfs f0, 0x140(r1) /* 80225AF0 00222A50 D0 A1 01 44 */ stfs f5, 0x144(r1) /* 80225AF4 00222A54 D0 C1 01 48 */ stfs f6, 0x148(r1) /* 80225AF8 00222A58 88 1D 00 01 */ lbz r0, 1(r29) /* 80225AFC 00222A5C 54 06 08 3C */ slwi r6, r0, 1 /* 80225B00 00222A60 38 06 00 01 */ addi r0, r6, 1 /* 80225B04 00222A64 7C 1F 00 AE */ lbzx r0, r31, r0 /* 80225B08 00222A68 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a /* 80225B0C 00222A6C 38 C6 00 04 */ addi r6, r6, 4 /* 80225B10 00222A70 7C C7 32 14 */ add r6, r7, r6 /* 80225B14 00222A74 C0 A6 00 04 */ lfs f5, 4(r6) /* 80225B18 00222A78 C0 C6 00 08 */ lfs f6, 8(r6) /* 80225B1C 00222A7C C0 E6 00 0C */ lfs f7, 0xc(r6) /* 80225B20 00222A80 C0 06 00 00 */ lfs f0, 0(r6) /* 80225B24 00222A84 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 80225B28 00222A88 D0 A1 01 30 */ stfs f5, 0x130(r1) /* 80225B2C 00222A8C D0 C1 01 34 */ stfs f6, 0x134(r1) /* 80225B30 00222A90 D0 E1 01 38 */ stfs f7, 0x138(r1) /* 80225B34 00222A94 88 1D 00 00 */ lbz r0, 0(r29) /* 80225B38 00222A98 54 06 08 3C */ slwi r6, r0, 1 /* 80225B3C 00222A9C 38 06 00 01 */ addi r0, r6, 1 /* 80225B40 00222AA0 7C 1F 00 AE */ lbzx r0, r31, r0 /* 80225B44 00222AA4 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a /* 80225B48 00222AA8 38 C6 00 04 */ addi r6, r6, 4 /* 80225B4C 00222AAC 7C C7 32 14 */ add r6, r7, r6 /* 80225B50 00222AB0 C0 A6 00 04 */ lfs f5, 4(r6) /* 80225B54 00222AB4 C0 C6 00 08 */ lfs f6, 8(r6) /* 80225B58 00222AB8 C0 E6 00 0C */ lfs f7, 0xc(r6) /* 80225B5C 00222ABC C0 06 00 00 */ lfs f0, 0(r6) /* 80225B60 00222AC0 D0 01 01 1C */ stfs f0, 0x11c(r1) /* 80225B64 00222AC4 D0 A1 01 20 */ stfs f5, 0x120(r1) /* 80225B68 00222AC8 D0 C1 01 24 */ stfs f6, 0x124(r1) /* 80225B6C 00222ACC D0 E1 01 28 */ stfs f7, 0x128(r1) /* 80225B70 00222AD0 D0 21 00 94 */ stfs f1, 0x94(r1) /* 80225B74 00222AD4 D0 41 00 98 */ stfs f2, 0x98(r1) /* 80225B78 00222AD8 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 80225B7C 00222ADC D0 81 00 A0 */ stfs f4, 0xa0(r1) /* 80225B80 00222AE0 48 0E CD D1 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80225B84 00222AE4 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80225B88 00222AE8 38 81 01 58 */ addi r4, r1, 0x158 /* 80225B8C 00222AEC 48 0E C5 9D */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 80225B90 00222AF0 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80225B94 00222AF4 38 81 00 A4 */ addi r4, r1, 0xa4 /* 80225B98 00222AF8 38 A1 00 94 */ addi r5, r1, 0x94 /* 80225B9C 00222AFC 48 0E B6 05 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80225BA0 00222B00 C1 61 00 B4 */ lfs f11, 0xb4(r1) /* 80225BA4 00222B04 7F A3 EB 78 */ mr r3, r29 /* 80225BA8 00222B08 C1 41 00 B8 */ lfs f10, 0xb8(r1) /* 80225BAC 00222B0C 38 81 00 FC */ addi r4, r1, 0xfc /* 80225BB0 00222B10 C1 21 00 BC */ lfs f9, 0xbc(r1) /* 80225BB4 00222B14 38 A1 00 EC */ addi r5, r1, 0xec /* 80225BB8 00222B18 C1 01 00 C0 */ lfs f8, 0xc0(r1) /* 80225BBC 00222B1C 38 C1 01 4C */ addi r6, r1, 0x14c /* 80225BC0 00222B20 C0 E1 01 3C */ lfs f7, 0x13c(r1) /* 80225BC4 00222B24 C0 C1 01 40 */ lfs f6, 0x140(r1) /* 80225BC8 00222B28 C0 A1 01 44 */ lfs f5, 0x144(r1) /* 80225BCC 00222B2C C0 81 01 48 */ lfs f4, 0x148(r1) /* 80225BD0 00222B30 C0 61 01 2C */ lfs f3, 0x12c(r1) /* 80225BD4 00222B34 C0 41 01 30 */ lfs f2, 0x130(r1) /* 80225BD8 00222B38 C0 21 01 34 */ lfs f1, 0x134(r1) /* 80225BDC 00222B3C C0 01 01 38 */ lfs f0, 0x138(r1) /* 80225BE0 00222B40 D1 61 01 0C */ stfs f11, 0x10c(r1) /* 80225BE4 00222B44 D1 41 01 10 */ stfs f10, 0x110(r1) /* 80225BE8 00222B48 D1 21 01 14 */ stfs f9, 0x114(r1) /* 80225BEC 00222B4C D1 01 01 18 */ stfs f8, 0x118(r1) /* 80225BF0 00222B50 D0 E1 00 FC */ stfs f7, 0xfc(r1) /* 80225BF4 00222B54 D0 C1 01 00 */ stfs f6, 0x100(r1) /* 80225BF8 00222B58 D0 A1 01 04 */ stfs f5, 0x104(r1) /* 80225BFC 00222B5C D0 81 01 08 */ stfs f4, 0x108(r1) /* 80225C00 00222B60 D0 61 00 EC */ stfs f3, 0xec(r1) /* 80225C04 00222B64 D0 41 00 F0 */ stfs f2, 0xf0(r1) /* 80225C08 00222B68 D0 21 00 F4 */ stfs f1, 0xf4(r1) /* 80225C0C 00222B6C D0 01 00 F8 */ stfs f0, 0xf8(r1) /* 80225C10 00222B70 48 00 04 21 */ bl Solve__8CIkChainFR11CQuaternionR11CQuaternionRC9CVector3f /* 80225C14 00222B74 38 61 00 74 */ addi r3, r1, 0x74 /* 80225C18 00222B78 38 81 01 0C */ addi r4, r1, 0x10c /* 80225C1C 00222B7C 38 A1 00 FC */ addi r5, r1, 0xfc /* 80225C20 00222B80 48 0E B5 81 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80225C24 00222B84 38 61 00 84 */ addi r3, r1, 0x84 /* 80225C28 00222B88 38 81 00 74 */ addi r4, r1, 0x74 /* 80225C2C 00222B8C 38 A1 00 EC */ addi r5, r1, 0xec /* 80225C30 00222B90 48 0E B5 71 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80225C34 00222B94 C0 41 00 88 */ lfs f2, 0x88(r1) /* 80225C38 00222B98 38 61 00 64 */ addi r3, r1, 0x64 /* 80225C3C 00222B9C C0 21 00 8C */ lfs f1, 0x8c(r1) /* 80225C40 00222BA0 38 81 00 54 */ addi r4, r1, 0x54 /* 80225C44 00222BA4 C0 01 00 90 */ lfs f0, 0x90(r1) /* 80225C48 00222BA8 FC 40 10 50 */ fneg f2, f2 /* 80225C4C 00222BAC FC 20 08 50 */ fneg f1, f1 /* 80225C50 00222BB0 C0 61 00 84 */ lfs f3, 0x84(r1) /* 80225C54 00222BB4 FC 00 00 50 */ fneg f0, f0 /* 80225C58 00222BB8 38 BD 00 24 */ addi r5, r29, 0x24 /* 80225C5C 00222BBC D0 61 00 54 */ stfs f3, 0x54(r1) /* 80225C60 00222BC0 D0 41 00 58 */ stfs f2, 0x58(r1) /* 80225C64 00222BC4 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 80225C68 00222BC8 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80225C6C 00222BCC 48 0E B5 35 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80225C70 00222BD0 C0 01 00 64 */ lfs f0, 0x64(r1) /* 80225C74 00222BD4 C0 61 00 68 */ lfs f3, 0x68(r1) /* 80225C78 00222BD8 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 80225C7C 00222BDC C0 21 00 70 */ lfs f1, 0x70(r1) /* 80225C80 00222BE0 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 80225C84 00222BE4 C0 02 B4 AC */ lfs f0, lbl_805AD1CC@sda21(r2) /* 80225C88 00222BE8 D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 80225C8C 00222BEC D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 80225C90 00222BF0 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 80225C94 00222BF4 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 80225C98 00222BF8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80225C9C 00222BFC 40 80 00 9C */ bge lbl_80225D38 /* 80225CA0 00222C00 38 61 00 44 */ addi r3, r1, 0x44 /* 80225CA4 00222C04 38 81 01 3C */ addi r4, r1, 0x13c /* 80225CA8 00222C08 38 A1 00 FC */ addi r5, r1, 0xfc /* 80225CAC 00222C0C 48 0E B9 0D */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf /* 80225CB0 00222C10 C0 01 00 44 */ lfs f0, 0x44(r1) /* 80225CB4 00222C14 38 61 00 34 */ addi r3, r1, 0x34 /* 80225CB8 00222C18 80 E1 00 48 */ lwz r7, 0x48(r1) /* 80225CBC 00222C1C 38 81 01 2C */ addi r4, r1, 0x12c /* 80225CC0 00222C20 80 C1 00 4C */ lwz r6, 0x4c(r1) /* 80225CC4 00222C24 38 A1 00 EC */ addi r5, r1, 0xec /* 80225CC8 00222C28 80 01 00 50 */ lwz r0, 0x50(r1) /* 80225CCC 00222C2C D0 01 00 FC */ stfs f0, 0xfc(r1) /* 80225CD0 00222C30 90 E1 01 00 */ stw r7, 0x100(r1) /* 80225CD4 00222C34 90 C1 01 04 */ stw r6, 0x104(r1) /* 80225CD8 00222C38 90 01 01 08 */ stw r0, 0x108(r1) /* 80225CDC 00222C3C C0 3D 00 40 */ lfs f1, 0x40(r29) /* 80225CE0 00222C40 48 0E B8 D9 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf /* 80225CE4 00222C44 C0 01 00 34 */ lfs f0, 0x34(r1) /* 80225CE8 00222C48 38 61 00 24 */ addi r3, r1, 0x24 /* 80225CEC 00222C4C 80 E1 00 38 */ lwz r7, 0x38(r1) /* 80225CF0 00222C50 38 81 01 1C */ addi r4, r1, 0x11c /* 80225CF4 00222C54 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 80225CF8 00222C58 38 A1 00 DC */ addi r5, r1, 0xdc /* 80225CFC 00222C5C 80 01 00 40 */ lwz r0, 0x40(r1) /* 80225D00 00222C60 D0 01 00 EC */ stfs f0, 0xec(r1) /* 80225D04 00222C64 90 E1 00 F0 */ stw r7, 0xf0(r1) /* 80225D08 00222C68 90 C1 00 F4 */ stw r6, 0xf4(r1) /* 80225D0C 00222C6C 90 01 00 F8 */ stw r0, 0xf8(r1) /* 80225D10 00222C70 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 80225D14 00222C74 48 0E B8 A5 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf /* 80225D18 00222C78 C0 01 00 24 */ lfs f0, 0x24(r1) /* 80225D1C 00222C7C 80 81 00 28 */ lwz r4, 0x28(r1) /* 80225D20 00222C80 80 61 00 2C */ lwz r3, 0x2c(r1) /* 80225D24 00222C84 80 01 00 30 */ lwz r0, 0x30(r1) /* 80225D28 00222C88 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 80225D2C 00222C8C 90 81 00 E0 */ stw r4, 0xe0(r1) /* 80225D30 00222C90 90 61 00 E4 */ stw r3, 0xe4(r1) /* 80225D34 00222C94 90 01 00 E8 */ stw r0, 0xe8(r1) lbl_80225D38: /* 80225D38 00222C98 88 1D 00 02 */ lbz r0, 2(r29) /* 80225D3C 00222C9C 38 60 00 00 */ li r3, 0 /* 80225D40 00222CA0 80 BE 04 04 */ lwz r5, 0x404(r30) /* 80225D44 00222CA4 54 04 08 3C */ slwi r4, r0, 1 /* 80225D48 00222CA8 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 80225D4C 00222CAC 38 04 00 01 */ addi r0, r4, 1 /* 80225D50 00222CB0 7C 1F 00 AE */ lbzx r0, r31, r0 /* 80225D54 00222CB4 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 80225D58 00222CB8 7C A5 02 14 */ add r5, r5, r0 /* 80225D5C 00222CBC D0 05 00 04 */ stfs f0, 4(r5) /* 80225D60 00222CC0 80 81 01 00 */ lwz r4, 0x100(r1) /* 80225D64 00222CC4 80 01 01 04 */ lwz r0, 0x104(r1) /* 80225D68 00222CC8 90 85 00 08 */ stw r4, 8(r5) /* 80225D6C 00222CCC 90 05 00 0C */ stw r0, 0xc(r5) /* 80225D70 00222CD0 80 01 01 08 */ lwz r0, 0x108(r1) /* 80225D74 00222CD4 90 05 00 10 */ stw r0, 0x10(r5) /* 80225D78 00222CD8 88 1D 00 01 */ lbz r0, 1(r29) /* 80225D7C 00222CDC 80 BE 04 04 */ lwz r5, 0x404(r30) /* 80225D80 00222CE0 54 04 08 3C */ slwi r4, r0, 1 /* 80225D84 00222CE4 C0 01 00 EC */ lfs f0, 0xec(r1) /* 80225D88 00222CE8 38 04 00 01 */ addi r0, r4, 1 /* 80225D8C 00222CEC 7C 1F 00 AE */ lbzx r0, r31, r0 /* 80225D90 00222CF0 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 80225D94 00222CF4 7C A5 02 14 */ add r5, r5, r0 /* 80225D98 00222CF8 D0 05 00 04 */ stfs f0, 4(r5) /* 80225D9C 00222CFC 80 81 00 F0 */ lwz r4, 0xf0(r1) /* 80225DA0 00222D00 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80225DA4 00222D04 90 85 00 08 */ stw r4, 8(r5) /* 80225DA8 00222D08 90 05 00 0C */ stw r0, 0xc(r5) /* 80225DAC 00222D0C 80 01 00 F8 */ lwz r0, 0xf8(r1) /* 80225DB0 00222D10 90 05 00 10 */ stw r0, 0x10(r5) /* 80225DB4 00222D14 88 1D 00 00 */ lbz r0, 0(r29) /* 80225DB8 00222D18 80 BE 04 04 */ lwz r5, 0x404(r30) /* 80225DBC 00222D1C 54 04 08 3C */ slwi r4, r0, 1 /* 80225DC0 00222D20 C0 01 00 DC */ lfs f0, 0xdc(r1) /* 80225DC4 00222D24 38 04 00 01 */ addi r0, r4, 1 /* 80225DC8 00222D28 7C 1F 00 AE */ lbzx r0, r31, r0 /* 80225DCC 00222D2C 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 80225DD0 00222D30 7C A5 02 14 */ add r5, r5, r0 /* 80225DD4 00222D34 D0 05 00 04 */ stfs f0, 4(r5) /* 80225DD8 00222D38 80 81 00 E0 */ lwz r4, 0xe0(r1) /* 80225DDC 00222D3C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80225DE0 00222D40 90 85 00 08 */ stw r4, 8(r5) /* 80225DE4 00222D44 90 05 00 0C */ stw r0, 0xc(r5) /* 80225DE8 00222D48 80 01 00 E8 */ lwz r0, 0xe8(r1) /* 80225DEC 00222D4C 90 05 00 10 */ stw r0, 0x10(r5) /* 80225DF0 00222D50 88 1E 02 20 */ lbz r0, 0x220(r30) /* 80225DF4 00222D54 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80225DF8 00222D58 98 1E 02 20 */ stb r0, 0x220(r30) lbl_80225DFC: /* 80225DFC 00222D5C 80 01 02 04 */ lwz r0, 0x204(r1) /* 80225E00 00222D60 83 E1 01 FC */ lwz r31, 0x1fc(r1) /* 80225E04 00222D64 83 C1 01 F8 */ lwz r30, 0x1f8(r1) /* 80225E08 00222D68 83 A1 01 F4 */ lwz r29, 0x1f4(r1) /* 80225E0C 00222D6C 83 81 01 F0 */ lwz r28, 0x1f0(r1) /* 80225E10 00222D70 7C 08 03 A6 */ mtlr r0 /* 80225E14 00222D74 38 21 02 00 */ addi r1, r1, 0x200 /* 80225E18 00222D78 4E 80 00 20 */ blr .global Activate__8CIkChainFRC9CAnimData6CSegIdRC12CTransform4f Activate__8CIkChainFRC9CAnimData6CSegIdRC12CTransform4f: /* 80225E1C 00222D7C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80225E20 00222D80 7C 08 02 A6 */ mflr r0 /* 80225E24 00222D84 90 01 00 44 */ stw r0, 0x44(r1) /* 80225E28 00222D88 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80225E2C 00222D8C 3B E4 02 FC */ addi r31, r4, 0x2fc /* 80225E30 00222D90 93 C1 00 38 */ stw r30, 0x38(r1) /* 80225E34 00222D94 7C DE 33 78 */ mr r30, r6 /* 80225E38 00222D98 93 A1 00 34 */ stw r29, 0x34(r1) /* 80225E3C 00222D9C 7C 7D 1B 78 */ mr r29, r3 /* 80225E40 00222DA0 88 05 00 00 */ lbz r0, 0(r5) /* 80225E44 00222DA4 98 03 00 00 */ stb r0, 0(r3) /* 80225E48 00222DA8 88 04 03 28 */ lbz r0, 0x328(r4) /* 80225E4C 00222DAC 28 00 00 00 */ cmplwi r0, 0 /* 80225E50 00222DB0 41 82 00 0C */ beq lbl_80225E5C /* 80225E54 00222DB4 38 7F 00 0C */ addi r3, r31, 0xc /* 80225E58 00222DB8 48 00 00 08 */ b lbl_80225E60 lbl_80225E5C: /* 80225E5C 00222DBC 7F E3 FB 78 */ mr r3, r31 lbl_80225E60: /* 80225E60 00222DC0 80 63 00 08 */ lwz r3, 8(r3) /* 80225E64 00222DC4 88 1D 00 00 */ lbz r0, 0(r29) /* 80225E68 00222DC8 80 83 00 00 */ lwz r4, 0(r3) /* 80225E6C 00222DCC 54 00 08 3C */ slwi r0, r0, 1 /* 80225E70 00222DD0 7C 64 02 14 */ add r3, r4, r0 /* 80225E74 00222DD4 80 84 00 D0 */ lwz r4, 0xd0(r4) /* 80225E78 00222DD8 88 03 00 09 */ lbz r0, 9(r3) /* 80225E7C 00222DDC 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 80225E80 00222DE0 7C 04 00 AE */ lbzx r0, r4, r0 /* 80225E84 00222DE4 98 1D 00 01 */ stb r0, 1(r29) /* 80225E88 00222DE8 88 9D 00 01 */ lbz r4, 1(r29) /* 80225E8C 00222DEC 28 04 00 02 */ cmplwi r4, 2 /* 80225E90 00222DF0 41 82 01 84 */ beq lbl_80226014 /* 80225E94 00222DF4 88 1F 00 2C */ lbz r0, 0x2c(r31) /* 80225E98 00222DF8 28 00 00 00 */ cmplwi r0, 0 /* 80225E9C 00222DFC 41 82 00 0C */ beq lbl_80225EA8 /* 80225EA0 00222E00 38 7F 00 0C */ addi r3, r31, 0xc /* 80225EA4 00222E04 48 00 00 08 */ b lbl_80225EAC lbl_80225EA8: /* 80225EA8 00222E08 7F E3 FB 78 */ mr r3, r31 lbl_80225EAC: /* 80225EAC 00222E0C 80 63 00 08 */ lwz r3, 8(r3) /* 80225EB0 00222E10 54 80 0D FC */ rlwinm r0, r4, 1, 0x17, 0x1e /* 80225EB4 00222E14 80 83 00 00 */ lwz r4, 0(r3) /* 80225EB8 00222E18 7C 64 02 14 */ add r3, r4, r0 /* 80225EBC 00222E1C 80 84 00 D0 */ lwz r4, 0xd0(r4) /* 80225EC0 00222E20 88 03 00 09 */ lbz r0, 9(r3) /* 80225EC4 00222E24 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a /* 80225EC8 00222E28 7C 04 00 AE */ lbzx r0, r4, r0 /* 80225ECC 00222E2C 98 1D 00 02 */ stb r0, 2(r29) /* 80225ED0 00222E30 88 1F 00 2C */ lbz r0, 0x2c(r31) /* 80225ED4 00222E34 28 00 00 00 */ cmplwi r0, 0 /* 80225ED8 00222E38 41 82 00 0C */ beq lbl_80225EE4 /* 80225EDC 00222E3C 38 7F 00 0C */ addi r3, r31, 0xc /* 80225EE0 00222E40 48 00 00 08 */ b lbl_80225EE8 lbl_80225EE4: /* 80225EE4 00222E44 7F E3 FB 78 */ mr r3, r31 lbl_80225EE8: /* 80225EE8 00222E48 80 83 00 08 */ lwz r4, 8(r3) /* 80225EEC 00222E4C 38 61 00 24 */ addi r3, r1, 0x24 /* 80225EF0 00222E50 38 BD 00 01 */ addi r5, r29, 1 /* 80225EF4 00222E54 4B F0 5A AD */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId /* 80225EF8 00222E58 C0 01 00 24 */ lfs f0, 0x24(r1) /* 80225EFC 00222E5C 38 7D 00 04 */ addi r3, r29, 4 /* 80225F00 00222E60 D0 1D 00 04 */ stfs f0, 4(r29) /* 80225F04 00222E64 C0 01 00 28 */ lfs f0, 0x28(r1) /* 80225F08 00222E68 D0 1D 00 08 */ stfs f0, 8(r29) /* 80225F0C 00222E6C C0 01 00 2C */ lfs f0, 0x2c(r1) /* 80225F10 00222E70 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 80225F14 00222E74 48 0E E9 A5 */ bl Magnitude__9CVector3fCFv /* 80225F18 00222E78 D0 3D 00 1C */ stfs f1, 0x1c(r29) /* 80225F1C 00222E7C C0 42 B4 AC */ lfs f2, lbl_805AD1CC@sda21(r2) /* 80225F20 00222E80 C0 3D 00 1C */ lfs f1, 0x1c(r29) /* 80225F24 00222E84 C0 1D 00 04 */ lfs f0, 4(r29) /* 80225F28 00222E88 EC 22 08 24 */ fdivs f1, f2, f1 /* 80225F2C 00222E8C EC 00 00 72 */ fmuls f0, f0, f1 /* 80225F30 00222E90 D0 1D 00 04 */ stfs f0, 4(r29) /* 80225F34 00222E94 C0 1D 00 08 */ lfs f0, 8(r29) /* 80225F38 00222E98 EC 00 00 72 */ fmuls f0, f0, f1 /* 80225F3C 00222E9C D0 1D 00 08 */ stfs f0, 8(r29) /* 80225F40 00222EA0 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 80225F44 00222EA4 EC 00 00 72 */ fmuls f0, f0, f1 /* 80225F48 00222EA8 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 80225F4C 00222EAC 88 1F 00 2C */ lbz r0, 0x2c(r31) /* 80225F50 00222EB0 28 00 00 00 */ cmplwi r0, 0 /* 80225F54 00222EB4 41 82 00 08 */ beq lbl_80225F5C /* 80225F58 00222EB8 3B FF 00 0C */ addi r31, r31, 0xc lbl_80225F5C: /* 80225F5C 00222EBC 80 9F 00 08 */ lwz r4, 8(r31) /* 80225F60 00222EC0 7F A5 EB 78 */ mr r5, r29 /* 80225F64 00222EC4 38 61 00 18 */ addi r3, r1, 0x18 /* 80225F68 00222EC8 4B F0 5A 39 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId /* 80225F6C 00222ECC C0 01 00 18 */ lfs f0, 0x18(r1) /* 80225F70 00222ED0 38 7D 00 10 */ addi r3, r29, 0x10 /* 80225F74 00222ED4 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 80225F78 00222ED8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80225F7C 00222EDC D0 1D 00 14 */ stfs f0, 0x14(r29) /* 80225F80 00222EE0 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80225F84 00222EE4 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 80225F88 00222EE8 48 0E E9 31 */ bl Magnitude__9CVector3fCFv /* 80225F8C 00222EEC D0 3D 00 20 */ stfs f1, 0x20(r29) /* 80225F90 00222EF0 7F C4 F3 78 */ mr r4, r30 /* 80225F94 00222EF4 C0 42 B4 AC */ lfs f2, lbl_805AD1CC@sda21(r2) /* 80225F98 00222EF8 38 61 00 08 */ addi r3, r1, 8 /* 80225F9C 00222EFC C0 3D 00 20 */ lfs f1, 0x20(r29) /* 80225FA0 00222F00 C0 1D 00 10 */ lfs f0, 0x10(r29) /* 80225FA4 00222F04 EC 22 08 24 */ fdivs f1, f2, f1 /* 80225FA8 00222F08 EC 00 00 72 */ fmuls f0, f0, f1 /* 80225FAC 00222F0C D0 1D 00 10 */ stfs f0, 0x10(r29) /* 80225FB0 00222F10 C0 1D 00 14 */ lfs f0, 0x14(r29) /* 80225FB4 00222F14 EC 00 00 72 */ fmuls f0, f0, f1 /* 80225FB8 00222F18 D0 1D 00 14 */ stfs f0, 0x14(r29) /* 80225FBC 00222F1C C0 1D 00 18 */ lfs f0, 0x18(r29) /* 80225FC0 00222F20 EC 00 00 72 */ fmuls f0, f0, f1 /* 80225FC4 00222F24 D0 1D 00 18 */ stfs f0, 0x18(r29) /* 80225FC8 00222F28 C0 5E 00 2C */ lfs f2, 0x2c(r30) /* 80225FCC 00222F2C C0 3E 00 1C */ lfs f1, 0x1c(r30) /* 80225FD0 00222F30 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 80225FD4 00222F34 D0 1D 00 34 */ stfs f0, 0x34(r29) /* 80225FD8 00222F38 D0 3D 00 38 */ stfs f1, 0x38(r29) /* 80225FDC 00222F3C D0 5D 00 3C */ stfs f2, 0x3c(r29) /* 80225FE0 00222F40 48 0E C1 49 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 80225FE4 00222F44 C0 01 00 08 */ lfs f0, 8(r1) /* 80225FE8 00222F48 38 60 00 01 */ li r3, 1 /* 80225FEC 00222F4C D0 1D 00 24 */ stfs f0, 0x24(r29) /* 80225FF0 00222F50 80 81 00 0C */ lwz r4, 0xc(r1) /* 80225FF4 00222F54 80 01 00 10 */ lwz r0, 0x10(r1) /* 80225FF8 00222F58 90 9D 00 28 */ stw r4, 0x28(r29) /* 80225FFC 00222F5C 90 1D 00 2C */ stw r0, 0x2c(r29) /* 80226000 00222F60 80 01 00 14 */ lwz r0, 0x14(r1) /* 80226004 00222F64 90 1D 00 30 */ stw r0, 0x30(r29) /* 80226008 00222F68 88 1D 00 44 */ lbz r0, 0x44(r29) /* 8022600C 00222F6C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80226010 00222F70 98 1D 00 44 */ stb r0, 0x44(r29) lbl_80226014: /* 80226014 00222F74 80 01 00 44 */ lwz r0, 0x44(r1) /* 80226018 00222F78 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8022601C 00222F7C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80226020 00222F80 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80226024 00222F84 7C 08 03 A6 */ mtlr r0 /* 80226028 00222F88 38 21 00 40 */ addi r1, r1, 0x40 /* 8022602C 00222F8C 4E 80 00 20 */ blr .global Solve__8CIkChainFR11CQuaternionR11CQuaternionRC9CVector3f Solve__8CIkChainFR11CQuaternionR11CQuaternionRC9CVector3f: /* 80226030 00222F90 94 21 FE 80 */ stwu r1, -0x180(r1) /* 80226034 00222F94 7C 08 02 A6 */ mflr r0 /* 80226038 00222F98 90 01 01 84 */ stw r0, 0x184(r1) /* 8022603C 00222F9C DB E1 01 70 */ stfd f31, 0x170(r1) /* 80226040 00222FA0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 /* 80226044 00222FA4 DB C1 01 60 */ stfd f30, 0x160(r1) /* 80226048 00222FA8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 /* 8022604C 00222FAC DB A1 01 50 */ stfd f29, 0x150(r1) /* 80226050 00222FB0 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 /* 80226054 00222FB4 DB 81 01 40 */ stfd f28, 0x140(r1) /* 80226058 00222FB8 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 /* 8022605C 00222FBC DB 61 01 30 */ stfd f27, 0x130(r1) /* 80226060 00222FC0 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 /* 80226064 00222FC4 DB 41 01 20 */ stfd f26, 0x120(r1) /* 80226068 00222FC8 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 /* 8022606C 00222FCC 93 E1 01 1C */ stw r31, 0x11c(r1) /* 80226070 00222FD0 93 C1 01 18 */ stw r30, 0x118(r1) /* 80226074 00222FD4 93 A1 01 14 */ stw r29, 0x114(r1) /* 80226078 00222FD8 93 81 01 10 */ stw r28, 0x110(r1) /* 8022607C 00222FDC 7C DF 33 78 */ mr r31, r6 /* 80226080 00222FE0 7C 7C 1B 78 */ mr r28, r3 /* 80226084 00222FE4 7C 9D 23 78 */ mr r29, r4 /* 80226088 00222FE8 7C BE 2B 78 */ mr r30, r5 /* 8022608C 00222FEC 7F E3 FB 78 */ mr r3, r31 /* 80226090 00222FF0 48 0E E8 29 */ bl Magnitude__9CVector3fCFv /* 80226094 00222FF4 FF E0 08 90 */ fmr f31, f1 /* 80226098 00222FF8 C0 3C 00 1C */ lfs f1, 0x1c(r28) /* 8022609C 00222FFC C0 02 B4 B0 */ lfs f0, lbl_805AD1D0@sda21(r2) /* 802260A0 00223000 38 81 00 18 */ addi r4, r1, 0x18 /* 802260A4 00223004 C0 7C 00 20 */ lfs f3, 0x20(r28) /* 802260A8 00223008 EC 21 00 72 */ fmuls f1, f1, f1 /* 802260AC 0022300C EF 5F 07 F2 */ fmuls f26, f31, f31 /* 802260B0 00223010 38 6D 95 40 */ addi r3, r13, lbl_805A8100@sda21 /* 802260B4 00223014 EF 60 07 F2 */ fmuls f27, f0, f31 /* 802260B8 00223018 38 AD 95 44 */ addi r5, r13, lbl_805A8104@sda21 /* 802260BC 0022301C EC 43 D0 FA */ fmadds f2, f3, f3, f26 /* 802260C0 00223020 EC 1B 00 F2 */ fmuls f0, f27, f3 /* 802260C4 00223024 EC 22 08 28 */ fsubs f1, f2, f1 /* 802260C8 00223028 EC 01 00 24 */ fdivs f0, f1, f0 /* 802260CC 0022302C D0 01 00 18 */ stfs f0, 0x18(r1) /* 802260D0 00223030 4B DE 61 E5 */ bl "Clamp__5CMathFRCfRCfRCf" /* 802260D4 00223034 C0 23 00 00 */ lfs f1, 0(r3) /* 802260D8 00223038 D0 21 00 18 */ stfs f1, 0x18(r1) /* 802260DC 0022303C 48 16 EB 51 */ bl acos /* 802260E0 00223040 C0 1C 00 20 */ lfs f0, 0x20(r28) /* 802260E4 00223044 FF A0 08 18 */ frsp f29, f1 /* 802260E8 00223048 C0 5C 00 1C */ lfs f2, 0x1c(r28) /* 802260EC 0022304C 38 81 00 14 */ addi r4, r1, 0x14 /* 802260F0 00223050 EC 20 00 32 */ fmuls f1, f0, f0 /* 802260F4 00223054 38 6D 95 48 */ addi r3, r13, lbl_805A8108@sda21 /* 802260F8 00223058 EC 1B 00 B2 */ fmuls f0, f27, f2 /* 802260FC 0022305C 38 AD 95 4C */ addi r5, r13, lbl_805A810C@sda21 /* 80226100 00223060 EC 3A 08 28 */ fsubs f1, f26, f1 /* 80226104 00223064 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 80226108 00223068 EC 01 00 24 */ fdivs f0, f1, f0 /* 8022610C 0022306C D0 01 00 14 */ stfs f0, 0x14(r1) /* 80226110 00223070 4B DE 61 A5 */ bl "Clamp__5CMathFRCfRCfRCf" /* 80226114 00223074 C0 23 00 00 */ lfs f1, 0(r3) /* 80226118 00223078 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8022611C 0022307C 48 16 EB 11 */ bl acos /* 80226120 00223080 FF C0 08 18 */ frsp f30, f1 /* 80226124 00223084 7F C4 F3 78 */ mr r4, r30 /* 80226128 00223088 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8022612C 0022308C 38 BC 00 10 */ addi r5, r28, 0x10 /* 80226130 00223090 48 0E B1 35 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80226134 00223094 C3 41 00 C8 */ lfs f26, 0xc8(r1) /* 80226138 00223098 38 61 01 00 */ addi r3, r1, 0x100 /* 8022613C 0022309C C0 7C 00 08 */ lfs f3, 8(r28) /* 80226140 002230A0 C3 81 00 CC */ lfs f28, 0xcc(r1) /* 80226144 002230A4 C0 9C 00 0C */ lfs f4, 0xc(r28) /* 80226148 002230A8 EC 1A 00 F2 */ fmuls f0, f26, f3 /* 8022614C 002230AC C0 3C 00 04 */ lfs f1, 4(r28) /* 80226150 002230B0 C3 61 00 D0 */ lfs f27, 0xd0(r1) /* 80226154 002230B4 EC 5C 01 32 */ fmuls f2, f28, f4 /* 80226158 002230B8 EC 01 07 38 */ fmsubs f0, f1, f28, f0 /* 8022615C 002230BC EC 3B 00 72 */ fmuls f1, f27, f1 /* 80226160 002230C0 EC 43 16 F8 */ fmsubs f2, f3, f27, f2 /* 80226164 002230C4 D0 01 01 08 */ stfs f0, 0x108(r1) /* 80226168 002230C8 EC 04 0E B8 */ fmsubs f0, f4, f26, f1 /* 8022616C 002230CC D0 41 01 00 */ stfs f2, 0x100(r1) /* 80226170 002230D0 D0 01 01 04 */ stfs f0, 0x104(r1) /* 80226174 002230D4 48 0E E7 45 */ bl Magnitude__9CVector3fCFv /* 80226178 002230D8 FC 00 08 18 */ frsp f0, f1 /* 8022617C 002230DC C0 82 B4 AC */ lfs f4, lbl_805AD1CC@sda21(r2) /* 80226180 002230E0 C0 61 01 00 */ lfs f3, 0x100(r1) /* 80226184 002230E4 38 61 00 10 */ addi r3, r1, 0x10 /* 80226188 002230E8 C0 41 01 04 */ lfs f2, 0x104(r1) /* 8022618C 002230EC 38 8D 95 50 */ addi r4, r13, lbl_805A8110@sda21 /* 80226190 002230F0 EC 84 00 24 */ fdivs f4, f4, f0 /* 80226194 002230F4 C0 01 01 08 */ lfs f0, 0x108(r1) /* 80226198 002230F8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8022619C 002230FC EC 63 01 32 */ fmuls f3, f3, f4 /* 802261A0 00223100 EC 22 01 32 */ fmuls f1, f2, f4 /* 802261A4 00223104 EC 00 01 32 */ fmuls f0, f0, f4 /* 802261A8 00223108 D0 61 01 00 */ stfs f3, 0x100(r1) /* 802261AC 0022310C D0 21 01 04 */ stfs f1, 0x104(r1) /* 802261B0 00223110 D0 01 01 08 */ stfs f0, 0x108(r1) /* 802261B4 00223114 4B E5 7C 2D */ bl "Min__5CMathFRCfRCf" /* 802261B8 00223118 C0 23 00 00 */ lfs f1, 0(r3) /* 802261BC 0022311C D0 21 00 10 */ stfs f1, 0x10(r1) /* 802261C0 00223120 48 16 EA 8D */ bl asin /* 802261C4 00223124 C0 1C 00 08 */ lfs f0, 8(r28) /* 802261C8 00223128 FC 80 08 18 */ frsp f4, f1 /* 802261CC 0022312C C0 5C 00 04 */ lfs f2, 4(r28) /* 802261D0 00223130 EC 20 07 32 */ fmuls f1, f0, f28 /* 802261D4 00223134 C0 7C 00 0C */ lfs f3, 0xc(r28) /* 802261D8 00223138 C0 02 B4 A8 */ lfs f0, lbl_805AD1C8@sda21(r2) /* 802261DC 0022313C EC 22 0E BA */ fmadds f1, f2, f26, f1 /* 802261E0 00223140 EC 23 0E FA */ fmadds f1, f3, f27, f1 /* 802261E4 00223144 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802261E8 00223148 40 80 00 0C */ bge lbl_802261F4 /* 802261EC 0022314C C0 02 B4 B4 */ lfs f0, lbl_805AD1D4@sda21(r2) /* 802261F0 00223150 EC 80 20 28 */ fsubs f4, f0, f4 lbl_802261F4: /* 802261F4 00223154 EC 7E E8 2A */ fadds f3, f30, f29 /* 802261F8 00223158 C0 41 01 00 */ lfs f2, 0x100(r1) /* 802261FC 0022315C C0 21 01 04 */ lfs f1, 0x104(r1) /* 80226200 00223160 38 61 00 B8 */ addi r3, r1, 0xb8 /* 80226204 00223164 C0 01 01 08 */ lfs f0, 0x108(r1) /* 80226208 00223168 38 81 00 AC */ addi r4, r1, 0xac /* 8022620C 0022316C EC 63 20 28 */ fsubs f3, f3, f4 /* 80226210 00223170 D0 41 00 AC */ stfs f2, 0xac(r1) /* 80226214 00223174 38 A1 00 0C */ addi r5, r1, 0xc /* 80226218 00223178 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 8022621C 0022317C D0 61 00 0C */ stfs f3, 0xc(r1) /* 80226220 00223180 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 80226224 00223184 48 0E B0 D1 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle /* 80226228 00223188 C0 61 00 B8 */ lfs f3, 0xb8(r1) /* 8022622C 0022318C 7F C5 F3 78 */ mr r5, r30 /* 80226230 00223190 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 80226234 00223194 38 61 00 9C */ addi r3, r1, 0x9c /* 80226238 00223198 C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 8022623C 0022319C 38 81 00 F0 */ addi r4, r1, 0xf0 /* 80226240 002231A0 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 80226244 002231A4 D0 61 00 F0 */ stfs f3, 0xf0(r1) /* 80226248 002231A8 D0 41 00 F4 */ stfs f2, 0xf4(r1) /* 8022624C 002231AC D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 80226250 002231B0 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 80226254 002231B4 48 0E AF 4D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80226258 002231B8 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 8022625C 002231BC 7F C4 F3 78 */ mr r4, r30 /* 80226260 002231C0 38 61 00 60 */ addi r3, r1, 0x60 /* 80226264 002231C4 38 BC 00 10 */ addi r5, r28, 0x10 /* 80226268 002231C8 D0 1E 00 00 */ stfs f0, 0(r30) /* 8022626C 002231CC 80 C1 00 A0 */ lwz r6, 0xa0(r1) /* 80226270 002231D0 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80226274 002231D4 90 DE 00 04 */ stw r6, 4(r30) /* 80226278 002231D8 90 1E 00 08 */ stw r0, 8(r30) /* 8022627C 002231DC 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 80226280 002231E0 90 1E 00 0C */ stw r0, 0xc(r30) /* 80226284 002231E4 48 0E AF E1 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80226288 002231E8 C0 9C 00 20 */ lfs f4, 0x20(r28) /* 8022628C 002231EC 7F A4 EB 78 */ mr r4, r29 /* 80226290 002231F0 C0 41 00 68 */ lfs f2, 0x68(r1) /* 80226294 002231F4 38 61 00 90 */ addi r3, r1, 0x90 /* 80226298 002231F8 C0 21 00 60 */ lfs f1, 0x60(r1) /* 8022629C 002231FC 38 A1 00 84 */ addi r5, r1, 0x84 /* 802262A0 00223200 C0 01 00 64 */ lfs f0, 0x64(r1) /* 802262A4 00223204 EC E4 00 B2 */ fmuls f7, f4, f2 /* 802262A8 00223208 EC 64 00 72 */ fmuls f3, f4, f1 /* 802262AC 0022320C C0 DC 00 1C */ lfs f6, 0x1c(r28) /* 802262B0 00223210 C0 3C 00 08 */ lfs f1, 8(r28) /* 802262B4 00223214 EC 44 00 32 */ fmuls f2, f4, f0 /* 802262B8 00223218 C0 1C 00 0C */ lfs f0, 0xc(r28) /* 802262BC 0022321C EC A6 00 72 */ fmuls f5, f6, f1 /* 802262C0 00223220 EC 86 00 32 */ fmuls f4, f6, f0 /* 802262C4 00223224 C0 1C 00 04 */ lfs f0, 4(r28) /* 802262C8 00223228 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 802262CC 0022322C EC 26 00 32 */ fmuls f1, f6, f0 /* 802262D0 00223230 EC C5 10 2A */ fadds f6, f5, f2 /* 802262D4 00223234 D0 41 00 70 */ stfs f2, 0x70(r1) /* 802262D8 00223238 EC 44 38 2A */ fadds f2, f4, f7 /* 802262DC 0022323C EC 01 18 2A */ fadds f0, f1, f3 /* 802262E0 00223240 D0 E1 00 74 */ stfs f7, 0x74(r1) /* 802262E4 00223244 D0 21 00 78 */ stfs f1, 0x78(r1) /* 802262E8 00223248 D0 A1 00 7C */ stfs f5, 0x7c(r1) /* 802262EC 0022324C D0 81 00 80 */ stfs f4, 0x80(r1) /* 802262F0 00223250 D0 01 00 84 */ stfs f0, 0x84(r1) /* 802262F4 00223254 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 802262F8 00223258 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 802262FC 0022325C 48 0E AF 69 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80226300 00223260 C0 41 00 90 */ lfs f2, 0x90(r1) /* 80226304 00223264 7F A4 EB 78 */ mr r4, r29 /* 80226308 00223268 C0 21 00 94 */ lfs f1, 0x94(r1) /* 8022630C 0022326C 7F E5 FB 78 */ mr r5, r31 /* 80226310 00223270 C0 01 00 98 */ lfs f0, 0x98(r1) /* 80226314 00223274 38 61 00 54 */ addi r3, r1, 0x54 /* 80226318 00223278 D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 8022631C 0022327C D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 80226320 00223280 D0 01 00 EC */ stfs f0, 0xec(r1) /* 80226324 00223284 48 0E AF 41 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80226328 00223288 C0 02 B4 AC */ lfs f0, lbl_805AD1CC@sda21(r2) /* 8022632C 0022328C 38 61 00 48 */ addi r3, r1, 0x48 /* 80226330 00223290 C0 41 00 54 */ lfs f2, 0x54(r1) /* 80226334 00223294 38 81 00 E4 */ addi r4, r1, 0xe4 /* 80226338 00223298 EC 60 F8 24 */ fdivs f3, f0, f31 /* 8022633C 0022329C C0 21 00 58 */ lfs f1, 0x58(r1) /* 80226340 002232A0 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 80226344 002232A4 EF A3 00 B2 */ fmuls f29, f3, f2 /* 80226348 002232A8 EF C3 00 72 */ fmuls f30, f3, f1 /* 8022634C 002232AC EF E3 00 32 */ fmuls f31, f3, f0 /* 80226350 002232B0 48 0E E5 01 */ bl AsNormalized__9CVector3fCFv /* 80226354 002232B4 C0 61 00 4C */ lfs f3, 0x4c(r1) /* 80226358 002232B8 38 61 01 00 */ addi r3, r1, 0x100 /* 8022635C 002232BC C0 81 00 50 */ lfs f4, 0x50(r1) /* 80226360 002232C0 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 80226364 002232C4 EC 5D 00 F2 */ fmuls f2, f29, f3 /* 80226368 002232C8 EC 3E 01 32 */ fmuls f1, f30, f4 /* 8022636C 002232CC EC 1F 01 72 */ fmuls f0, f31, f5 /* 80226370 002232D0 EC 45 17 B8 */ fmsubs f2, f5, f30, f2 /* 80226374 002232D4 EC 23 0F F8 */ fmsubs f1, f3, f31, f1 /* 80226378 002232D8 EC 04 07 78 */ fmsubs f0, f4, f29, f0 /* 8022637C 002232DC D0 41 01 08 */ stfs f2, 0x108(r1) /* 80226380 002232E0 D0 21 01 00 */ stfs f1, 0x100(r1) /* 80226384 002232E4 D0 01 01 04 */ stfs f0, 0x104(r1) /* 80226388 002232E8 48 0E E5 31 */ bl Magnitude__9CVector3fCFv /* 8022638C 002232EC FC 00 08 18 */ frsp f0, f1 /* 80226390 002232F0 C0 82 B4 AC */ lfs f4, lbl_805AD1CC@sda21(r2) /* 80226394 002232F4 C0 61 01 00 */ lfs f3, 0x100(r1) /* 80226398 002232F8 38 61 00 10 */ addi r3, r1, 0x10 /* 8022639C 002232FC C0 41 01 04 */ lfs f2, 0x104(r1) /* 802263A0 00223300 38 8D 95 54 */ addi r4, r13, lbl_805A8114@sda21 /* 802263A4 00223304 EC 84 00 24 */ fdivs f4, f4, f0 /* 802263A8 00223308 C0 01 01 08 */ lfs f0, 0x108(r1) /* 802263AC 0022330C D0 21 00 10 */ stfs f1, 0x10(r1) /* 802263B0 00223310 EC 63 01 32 */ fmuls f3, f3, f4 /* 802263B4 00223314 EC 22 01 32 */ fmuls f1, f2, f4 /* 802263B8 00223318 EC 00 01 32 */ fmuls f0, f0, f4 /* 802263BC 0022331C D0 61 01 00 */ stfs f3, 0x100(r1) /* 802263C0 00223320 D0 21 01 04 */ stfs f1, 0x104(r1) /* 802263C4 00223324 D0 01 01 08 */ stfs f0, 0x108(r1) /* 802263C8 00223328 4B E5 7A 19 */ bl "Min__5CMathFRCfRCf" /* 802263CC 0022332C C0 23 00 00 */ lfs f1, 0(r3) /* 802263D0 00223330 D0 21 00 10 */ stfs f1, 0x10(r1) /* 802263D4 00223334 48 16 E8 79 */ bl asin /* 802263D8 00223338 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 802263DC 0022333C FC 80 08 18 */ frsp f4, f1 /* 802263E0 00223340 C0 41 00 E4 */ lfs f2, 0xe4(r1) /* 802263E4 00223344 EC 20 07 B2 */ fmuls f1, f0, f30 /* 802263E8 00223348 C0 61 00 EC */ lfs f3, 0xec(r1) /* 802263EC 0022334C C0 02 B4 A8 */ lfs f0, lbl_805AD1C8@sda21(r2) /* 802263F0 00223350 EC 22 0F 7A */ fmadds f1, f2, f29, f1 /* 802263F4 00223354 EC 23 0F FA */ fmadds f1, f3, f31, f1 /* 802263F8 00223358 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802263FC 0022335C 40 80 00 0C */ bge lbl_80226408 /* 80226400 00223360 C0 02 B4 B4 */ lfs f0, lbl_805AD1D4@sda21(r2) /* 80226404 00223364 EC 80 20 28 */ fsubs f4, f0, f4 lbl_80226408: /* 80226408 00223368 C0 41 01 00 */ lfs f2, 0x100(r1) /* 8022640C 0022336C 38 61 00 38 */ addi r3, r1, 0x38 /* 80226410 00223370 C0 21 01 04 */ lfs f1, 0x104(r1) /* 80226414 00223374 38 81 00 2C */ addi r4, r1, 0x2c /* 80226418 00223378 C0 01 01 08 */ lfs f0, 0x108(r1) /* 8022641C 0022337C 38 A1 00 08 */ addi r5, r1, 8 /* 80226420 00223380 D0 81 00 08 */ stfs f4, 8(r1) /* 80226424 00223384 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 80226428 00223388 D0 21 00 30 */ stfs f1, 0x30(r1) /* 8022642C 0022338C D0 01 00 34 */ stfs f0, 0x34(r1) /* 80226430 00223390 48 0E AE C5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle /* 80226434 00223394 C0 61 00 38 */ lfs f3, 0x38(r1) /* 80226438 00223398 7F A5 EB 78 */ mr r5, r29 /* 8022643C 0022339C C0 41 00 3C */ lfs f2, 0x3c(r1) /* 80226440 002233A0 38 61 00 1C */ addi r3, r1, 0x1c /* 80226444 002233A4 C0 21 00 40 */ lfs f1, 0x40(r1) /* 80226448 002233A8 38 81 00 D4 */ addi r4, r1, 0xd4 /* 8022644C 002233AC C0 01 00 44 */ lfs f0, 0x44(r1) /* 80226450 002233B0 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 80226454 002233B4 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 80226458 002233B8 D0 21 00 DC */ stfs f1, 0xdc(r1) /* 8022645C 002233BC D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 80226460 002233C0 48 0E AD 41 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80226464 002233C4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80226468 002233C8 D0 1D 00 00 */ stfs f0, 0(r29) /* 8022646C 002233CC 80 61 00 20 */ lwz r3, 0x20(r1) /* 80226470 002233D0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80226474 002233D4 90 7D 00 04 */ stw r3, 4(r29) /* 80226478 002233D8 90 1D 00 08 */ stw r0, 8(r29) /* 8022647C 002233DC 80 01 00 28 */ lwz r0, 0x28(r1) /* 80226480 002233E0 90 1D 00 0C */ stw r0, 0xc(r29) /* 80226484 002233E4 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 /* 80226488 002233E8 CB E1 01 70 */ lfd f31, 0x170(r1) /* 8022648C 002233EC E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 /* 80226490 002233F0 CB C1 01 60 */ lfd f30, 0x160(r1) /* 80226494 002233F4 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 /* 80226498 002233F8 CB A1 01 50 */ lfd f29, 0x150(r1) /* 8022649C 002233FC E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 /* 802264A0 00223400 CB 81 01 40 */ lfd f28, 0x140(r1) /* 802264A4 00223404 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 /* 802264A8 00223408 CB 61 01 30 */ lfd f27, 0x130(r1) /* 802264AC 0022340C E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 /* 802264B0 00223410 CB 41 01 20 */ lfd f26, 0x120(r1) /* 802264B4 00223414 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 802264B8 00223418 83 C1 01 18 */ lwz r30, 0x118(r1) /* 802264BC 0022341C 83 A1 01 14 */ lwz r29, 0x114(r1) /* 802264C0 00223420 80 01 01 84 */ lwz r0, 0x184(r1) /* 802264C4 00223424 83 81 01 10 */ lwz r28, 0x110(r1) /* 802264C8 00223428 7C 08 03 A6 */ mtlr r0 /* 802264CC 0022342C 38 21 01 80 */ addi r1, r1, 0x180 /* 802264D0 00223430 4E 80 00 20 */ blr .global __dt__24CScriptCameraPitchVolumeFv __dt__24CScriptCameraPitchVolumeFv: /* 802264D4 00223434 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802264D8 00223438 7C 08 02 A6 */ mflr r0 /* 802264DC 0022343C 90 01 00 14 */ stw r0, 0x14(r1) /* 802264E0 00223440 93 E1 00 0C */ stw r31, 0xc(r1) /* 802264E4 00223444 7C 9F 23 78 */ mr r31, r4 /* 802264E8 00223448 93 C1 00 08 */ stw r30, 8(r1) /* 802264EC 0022344C 7C 7E 1B 79 */ or. r30, r3, r3 /* 802264F0 00223450 41 82 00 28 */ beq lbl_80226518 /* 802264F4 00223454 3C A0 80 3E */ lis r5, lbl_803E7A70@ha /* 802264F8 00223458 38 80 00 00 */ li r4, 0 /* 802264FC 0022345C 38 05 7A 70 */ addi r0, r5, lbl_803E7A70@l /* 80226500 00223460 90 1E 00 00 */ stw r0, 0(r30) /* 80226504 00223464 4B E2 F1 ED */ bl __dt__6CActorFv /* 80226508 00223468 7F E0 07 35 */ extsh. r0, r31 /* 8022650C 0022346C 40 81 00 0C */ ble lbl_80226518 /* 80226510 00223470 7F C3 F3 78 */ mr r3, r30 /* 80226514 00223474 48 0E F4 1D */ bl Free__7CMemoryFPCv lbl_80226518: /* 80226518 00223478 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022651C 0022347C 7F C3 F3 78 */ mr r3, r30 /* 80226520 00223480 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80226524 00223484 83 C1 00 08 */ lwz r30, 8(r1) /* 80226528 00223488 7C 08 03 A6 */ mtlr r0 /* 8022652C 0022348C 38 21 00 10 */ addi r1, r1, 0x10 /* 80226530 00223490 4E 80 00 20 */ blr .global Exited__24CScriptCameraPitchVolumeFR13CStateManager Exited__24CScriptCameraPitchVolumeFR13CStateManager: /* 80226534 00223494 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80226538 00223498 38 A0 00 00 */ li r5, 0 /* 8022653C 0022349C 88 03 01 3C */ lbz r0, 0x13c(r3) /* 80226540 002234A0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80226544 002234A4 98 03 01 3C */ stb r0, 0x13c(r3) /* 80226548 002234A8 80 64 08 70 */ lwz r3, 0x870(r4) /* 8022654C 002234AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80226550 002234B0 80 63 00 7C */ lwz r3, 0x7c(r3) /* 80226554 002234B4 B0 01 00 08 */ sth r0, 8(r1) /* 80226558 002234B8 B0 03 01 C4 */ sth r0, 0x1c4(r3) /* 8022655C 002234BC 38 21 00 10 */ addi r1, r1, 0x10 /* 80226560 002234C0 4E 80 00 20 */ blr .global Entered__24CScriptCameraPitchVolumeFR13CStateManager Entered__24CScriptCameraPitchVolumeFR13CStateManager: /* 80226564 002234C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80226568 002234C8 38 A0 00 01 */ li r5, 1 /* 8022656C 002234CC 88 03 01 3C */ lbz r0, 0x13c(r3) /* 80226570 002234D0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80226574 002234D4 98 03 01 3C */ stb r0, 0x13c(r3) /* 80226578 002234D8 80 84 08 70 */ lwz r4, 0x870(r4) /* 8022657C 002234DC A0 03 00 08 */ lhz r0, 8(r3) /* 80226580 002234E0 80 64 00 7C */ lwz r3, 0x7c(r4) /* 80226584 002234E4 B0 01 00 08 */ sth r0, 8(r1) /* 80226588 002234E8 B0 01 00 0C */ sth r0, 0xc(r1) /* 8022658C 002234EC B0 03 01 C4 */ sth r0, 0x1c4(r3) /* 80226590 002234F0 38 21 00 10 */ addi r1, r1, 0x10 /* 80226594 002234F4 4E 80 00 20 */ blr .global Think__24CScriptCameraPitchVolumeFfR13CStateManager Think__24CScriptCameraPitchVolumeFfR13CStateManager: /* 80226598 002234F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022659C 002234FC 7C 08 02 A6 */ mflr r0 /* 802265A0 00223500 90 01 00 14 */ stw r0, 0x14(r1) /* 802265A4 00223504 93 E1 00 0C */ stw r31, 0xc(r1) /* 802265A8 00223508 7C 9F 23 78 */ mr r31, r4 /* 802265AC 0022350C 93 C1 00 08 */ stw r30, 8(r1) /* 802265B0 00223510 7C 7E 1B 78 */ mr r30, r3 /* 802265B4 00223514 88 03 00 30 */ lbz r0, 0x30(r3) /* 802265B8 00223518 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802265BC 0022351C 41 82 00 4C */ beq lbl_80226608 /* 802265C0 00223520 88 BE 01 3C */ lbz r5, 0x13c(r30) /* 802265C4 00223524 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f /* 802265C8 00223528 41 82 00 10 */ beq lbl_802265D8 /* 802265CC 0022352C 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f /* 802265D0 00223530 40 82 00 08 */ bne lbl_802265D8 /* 802265D4 00223534 4B FF FF 91 */ bl Entered__24CScriptCameraPitchVolumeFR13CStateManager lbl_802265D8: /* 802265D8 00223538 88 7E 01 3C */ lbz r3, 0x13c(r30) /* 802265DC 0022353C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 802265E0 00223540 40 82 00 18 */ bne lbl_802265F8 /* 802265E4 00223544 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 802265E8 00223548 41 82 00 10 */ beq lbl_802265F8 /* 802265EC 0022354C 7F C3 F3 78 */ mr r3, r30 /* 802265F0 00223550 7F E4 FB 78 */ mr r4, r31 /* 802265F4 00223554 4B FF FF 41 */ bl Exited__24CScriptCameraPitchVolumeFR13CStateManager lbl_802265F8: /* 802265F8 00223558 88 1E 01 3C */ lbz r0, 0x13c(r30) /* 802265FC 0022355C 38 60 00 00 */ li r3, 0 /* 80226600 00223560 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80226604 00223564 98 1E 01 3C */ stb r0, 0x13c(r30) lbl_80226608: /* 80226608 00223568 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022660C 0022356C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80226610 00223570 83 C1 00 08 */ lwz r30, 8(r1) /* 80226614 00223574 7C 08 03 A6 */ mtlr r0 /* 80226618 00223578 38 21 00 10 */ addi r1, r1, 0x10 /* 8022661C 0022357C 4E 80 00 20 */ blr .global Touch__24CScriptCameraPitchVolumeFR6CActorR13CStateManager Touch__24CScriptCameraPitchVolumeFR6CActorR13CStateManager: /* 80226620 00223580 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 80226624 00223584 7C 08 02 A6 */ mflr r0 /* 80226628 00223588 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8022662C 0022358C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 80226630 00223590 7C 9F 23 78 */ mr r31, r4 /* 80226634 00223594 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 80226638 00223598 7C 7E 1B 78 */ mr r30, r3 /* 8022663C 0022359C 38 61 00 08 */ addi r3, r1, 8 /* 80226640 002235A0 4B E8 5D C1 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" /* 80226644 002235A4 80 03 00 04 */ lwz r0, 4(r3) /* 80226648 002235A8 28 00 00 00 */ cmplwi r0, 0 /* 8022664C 002235AC 41 82 00 D0 */ beq lbl_8022671C /* 80226650 002235B0 7F E4 FB 78 */ mr r4, r31 /* 80226654 002235B4 38 61 00 10 */ addi r3, r1, 0x10 /* 80226658 002235B8 81 9F 00 00 */ lwz r12, 0(r31) /* 8022665C 002235BC 81 8C 00 40 */ lwz r12, 0x40(r12) /* 80226660 002235C0 7D 89 03 A6 */ mtctr r12 /* 80226664 002235C4 4E 80 04 21 */ bctrl /* 80226668 002235C8 88 01 00 28 */ lbz r0, 0x28(r1) /* 8022666C 002235CC 28 00 00 00 */ cmplwi r0, 0 /* 80226670 002235D0 98 01 00 44 */ stb r0, 0x44(r1) /* 80226674 002235D4 41 82 00 3C */ beq lbl_802266B0 /* 80226678 002235D8 34 61 00 2C */ addic. r3, r1, 0x2c /* 8022667C 002235DC 41 82 00 34 */ beq lbl_802266B0 /* 80226680 002235E0 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80226684 002235E4 D0 03 00 00 */ stfs f0, 0(r3) /* 80226688 002235E8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8022668C 002235EC D0 03 00 04 */ stfs f0, 4(r3) /* 80226690 002235F0 C0 01 00 18 */ lfs f0, 0x18(r1) /* 80226694 002235F4 D0 03 00 08 */ stfs f0, 8(r3) /* 80226698 002235F8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8022669C 002235FC D0 03 00 0C */ stfs f0, 0xc(r3) /* 802266A0 00223600 C0 01 00 20 */ lfs f0, 0x20(r1) /* 802266A4 00223604 D0 03 00 10 */ stfs f0, 0x10(r3) /* 802266A8 00223608 C0 01 00 24 */ lfs f0, 0x24(r1) /* 802266AC 0022360C D0 03 00 14 */ stfs f0, 0x14(r3) lbl_802266B0: /* 802266B0 00223610 88 01 00 44 */ lbz r0, 0x44(r1) /* 802266B4 00223614 38 60 00 00 */ li r3, 0 /* 802266B8 00223618 98 61 00 28 */ stb r3, 0x28(r1) /* 802266BC 0022361C 28 00 00 00 */ cmplwi r0, 0 /* 802266C0 00223620 41 82 00 54 */ beq lbl_80226714 /* 802266C4 00223624 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 802266C8 00223628 38 61 00 48 */ addi r3, r1, 0x48 /* 802266CC 0022362C 38 A4 66 70 */ addi r5, r4, skIdentity4f@l /* 802266D0 00223630 38 81 00 2C */ addi r4, r1, 0x2c /* 802266D4 00223634 48 0A F6 49 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f /* 802266D8 00223638 38 61 00 84 */ addi r3, r1, 0x84 /* 802266DC 0022363C 38 81 00 48 */ addi r4, r1, 0x48 /* 802266E0 00223640 48 0E C4 95 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802266E4 00223644 C0 41 00 78 */ lfs f2, 0x78(r1) /* 802266E8 00223648 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 802266EC 0022364C C0 21 00 7C */ lfs f1, 0x7c(r1) /* 802266F0 00223650 38 81 00 84 */ addi r4, r1, 0x84 /* 802266F4 00223654 C0 01 00 80 */ lfs f0, 0x80(r1) /* 802266F8 00223658 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 802266FC 0022365C D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 80226700 00223660 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 80226704 00223664 48 0A ED 91 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox /* 80226708 00223668 88 1E 01 3C */ lbz r0, 0x13c(r30) /* 8022670C 0022366C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80226710 00223670 98 1E 01 3C */ stb r0, 0x13c(r30) lbl_80226714: /* 80226714 00223674 38 00 00 00 */ li r0, 0 /* 80226718 00223678 98 01 00 44 */ stb r0, 0x44(r1) lbl_8022671C: /* 8022671C 0022367C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 80226720 00223680 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 80226724 00223684 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 80226728 00223688 7C 08 03 A6 */ mtlr r0 /* 8022672C 0022368C 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80226730 00223690 4E 80 00 20 */ blr .global GetTouchBounds__24CScriptCameraPitchVolumeCFv GetTouchBounds__24CScriptCameraPitchVolumeCFv: /* 80226734 00223694 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80226738 00223698 7C 08 02 A6 */ mflr r0 /* 8022673C 0022369C 3C A0 80 5A */ lis r5, skIdentity4f@ha /* 80226740 002236A0 38 84 00 E8 */ addi r4, r4, 0xe8 /* 80226744 002236A4 90 01 00 34 */ stw r0, 0x34(r1) /* 80226748 002236A8 38 A5 66 70 */ addi r5, r5, skIdentity4f@l /* 8022674C 002236AC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80226750 002236B0 7C 7F 1B 78 */ mr r31, r3 /* 80226754 002236B4 38 61 00 08 */ addi r3, r1, 8 /* 80226758 002236B8 48 0A F6 81 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f /* 8022675C 002236BC 38 00 00 01 */ li r0, 1 /* 80226760 002236C0 28 1F 00 00 */ cmplwi r31, 0 /* 80226764 002236C4 98 1F 00 18 */ stb r0, 0x18(r31) /* 80226768 002236C8 41 82 00 34 */ beq lbl_8022679C /* 8022676C 002236CC C0 01 00 08 */ lfs f0, 8(r1) /* 80226770 002236D0 D0 1F 00 00 */ stfs f0, 0(r31) /* 80226774 002236D4 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80226778 002236D8 D0 1F 00 04 */ stfs f0, 4(r31) /* 8022677C 002236DC C0 01 00 10 */ lfs f0, 0x10(r1) /* 80226780 002236E0 D0 1F 00 08 */ stfs f0, 8(r31) /* 80226784 002236E4 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80226788 002236E8 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8022678C 002236EC C0 01 00 18 */ lfs f0, 0x18(r1) /* 80226790 002236F0 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 80226794 002236F4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80226798 002236F8 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_8022679C: /* 8022679C 002236FC 80 01 00 34 */ lwz r0, 0x34(r1) /* 802267A0 00223700 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802267A4 00223704 7C 08 03 A6 */ mtlr r0 /* 802267A8 00223708 38 21 00 30 */ addi r1, r1, 0x30 /* 802267AC 0022370C 4E 80 00 20 */ blr .global Accept__24CScriptCameraPitchVolumeFR8IVisitor Accept__24CScriptCameraPitchVolumeFR8IVisitor: /* 802267B0 00223710 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802267B4 00223714 7C 08 02 A6 */ mflr r0 /* 802267B8 00223718 90 01 00 14 */ stw r0, 0x14(r1) /* 802267BC 0022371C 7C 60 1B 78 */ mr r0, r3 /* 802267C0 00223720 7C 83 23 78 */ mr r3, r4 /* 802267C4 00223724 81 84 00 00 */ lwz r12, 0(r4) /* 802267C8 00223728 7C 04 03 78 */ mr r4, r0 /* 802267CC 0022372C 81 8C 00 6C */ lwz r12, 0x6c(r12) /* 802267D0 00223730 7D 89 03 A6 */ mtctr r12 /* 802267D4 00223734 4E 80 04 21 */ bctrl /* 802267D8 00223738 80 01 00 14 */ lwz r0, 0x14(r1) /* 802267DC 0022373C 7C 08 03 A6 */ mtlr r0 /* 802267E0 00223740 38 21 00 10 */ addi r1, r1, 0x10 /* 802267E4 00223744 4E 80 00 20 */ blr .global "__ct__24CScriptCameraPitchVolumeF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC9CRelAngleRC9CRelAnglef" "__ct__24CScriptCameraPitchVolumeF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC9CRelAngleRC9CRelAnglef": /* 802267E8 00223748 94 21 FE E0 */ stwu r1, -0x120(r1) /* 802267EC 0022374C 7C 08 02 A6 */ mflr r0 /* 802267F0 00223750 90 01 01 24 */ stw r0, 0x124(r1) /* 802267F4 00223754 DB E1 01 10 */ stfd f31, 0x110(r1) /* 802267F8 00223758 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 802267FC 0022375C BE E1 00 EC */ stmw r23, 0xec(r1) /* 80226800 00223760 FF E0 08 90 */ fmr f31, f1 /* 80226804 00223764 7C 78 1B 78 */ mr r24, r3 /* 80226808 00223768 83 E1 01 28 */ lwz r31, 0x128(r1) /* 8022680C 0022376C 7C 97 23 78 */ mr r23, r4 /* 80226810 00223770 7C B9 2B 78 */ mr r25, r5 /* 80226814 00223774 7C DA 33 78 */ mr r26, r6 /* 80226818 00223778 7C FB 3B 78 */ mr r27, r7 /* 8022681C 0022377C 7D 1C 43 78 */ mr r28, r8 /* 80226820 00223780 7D 3D 4B 78 */ mr r29, r9 /* 80226824 00223784 7D 5E 53 78 */ mr r30, r10 /* 80226828 00223788 38 61 00 94 */ addi r3, r1, 0x94 /* 8022682C 0022378C 4B E1 3F 79 */ bl CModelDataNull__10CModelDataFv /* 80226830 00223790 38 61 00 2C */ addi r3, r1, 0x2c /* 80226834 00223794 4B DF 46 05 */ bl None__16CActorParametersFv /* 80226838 00223798 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 8022683C 0022379C 38 00 00 00 */ li r0, 0 /* 80226840 002237A0 80 AD 95 60 */ lwz r5, lbl_805A8120@sda21(r13) /* 80226844 002237A4 38 60 00 00 */ li r3, 0 /* 80226848 002237A8 B0 81 00 10 */ sth r4, 0x10(r1) /* 8022684C 002237AC 38 80 00 01 */ li r4, 1 /* 80226850 002237B0 90 01 00 1C */ stw r0, 0x1c(r1) /* 80226854 002237B4 90 01 00 18 */ stw r0, 0x18(r1) /* 80226858 002237B8 48 16 36 9D */ bl __shl2i /* 8022685C 002237BC 80 A1 00 18 */ lwz r5, 0x18(r1) /* 80226860 002237C0 39 61 00 2C */ addi r11, r1, 0x2c /* 80226864 002237C4 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80226868 002237C8 38 01 00 10 */ addi r0, r1, 0x10 /* 8022686C 002237CC 7C A3 1B 78 */ or r3, r5, r3 /* 80226870 002237D0 A1 37 00 00 */ lhz r9, 0(r23) /* 80226874 002237D4 7C C4 23 78 */ or r4, r6, r4 /* 80226878 002237D8 90 61 00 18 */ stw r3, 0x18(r1) /* 8022687C 002237DC 7F 03 C3 78 */ mr r3, r24 /* 80226880 002237E0 7F 25 CB 78 */ mr r5, r25 /* 80226884 002237E4 90 81 00 1C */ stw r4, 0x1c(r1) /* 80226888 002237E8 7F 46 D3 78 */ mr r6, r26 /* 8022688C 002237EC 7F 67 DB 78 */ mr r7, r27 /* 80226890 002237F0 7F A8 EB 78 */ mr r8, r29 /* 80226894 002237F4 B1 21 00 14 */ sth r9, 0x14(r1) /* 80226898 002237F8 38 81 00 14 */ addi r4, r1, 0x14 /* 8022689C 002237FC 39 21 00 94 */ addi r9, r1, 0x94 /* 802268A0 00223800 39 41 00 18 */ addi r10, r1, 0x18 /* 802268A4 00223804 91 61 00 08 */ stw r11, 8(r1) /* 802268A8 00223808 90 01 00 0C */ stw r0, 0xc(r1) /* 802268AC 0022380C 4B E2 EF 75 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 802268B0 00223810 38 61 00 2C */ addi r3, r1, 0x2c /* 802268B4 00223814 38 80 FF FF */ li r4, -1 /* 802268B8 00223818 4B ED FD 51 */ bl __dt__16CActorParametersFv /* 802268BC 0022381C 38 61 00 94 */ addi r3, r1, 0x94 /* 802268C0 00223820 38 80 FF FF */ li r4, -1 /* 802268C4 00223824 4B EF 01 89 */ bl __dt__10CModelDataFv /* 802268C8 00223828 3C 80 80 3E */ lis r4, lbl_803E7A70@ha /* 802268CC 0022382C 3C 60 80 57 */ lis r3, lbl_80572134@ha /* 802268D0 00223830 38 04 7A 70 */ addi r0, r4, lbl_803E7A70@l /* 802268D4 00223834 7F A4 EB 78 */ mr r4, r29 /* 802268D8 00223838 90 18 00 00 */ stw r0, 0(r24) /* 802268DC 0022383C 3B 23 21 34 */ addi r25, r3, lbl_80572134@l /* 802268E0 00223840 38 78 00 E8 */ addi r3, r24, 0xe8 /* 802268E4 00223844 38 A1 00 20 */ addi r5, r1, 0x20 /* 802268E8 00223848 C0 3C 00 08 */ lfs f1, 8(r28) /* 802268EC 0022384C C0 19 00 08 */ lfs f0, 8(r25) /* 802268F0 00223850 C0 7C 00 04 */ lfs f3, 4(r28) /* 802268F4 00223854 C0 59 00 04 */ lfs f2, 4(r25) /* 802268F8 00223858 EC 81 00 32 */ fmuls f4, f1, f0 /* 802268FC 0022385C C0 3C 00 00 */ lfs f1, 0(r28) /* 80226900 00223860 C0 19 00 00 */ lfs f0, 0(r25) /* 80226904 00223864 EC 43 00 B2 */ fmuls f2, f3, f2 /* 80226908 00223868 D0 81 00 28 */ stfs f4, 0x28(r1) /* 8022690C 0022386C EC 01 00 32 */ fmuls f0, f1, f0 /* 80226910 00223870 D0 41 00 24 */ stfs f2, 0x24(r1) /* 80226914 00223874 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80226918 00223878 48 0A F6 7D */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f /* 8022691C 0022387C C0 1E 00 00 */ lfs f0, 0(r30) /* 80226920 00223880 3C 60 80 57 */ lis r3, lbl_80572134@ha /* 80226924 00223884 38 A3 21 34 */ addi r5, r3, lbl_80572134@l /* 80226928 00223888 38 80 00 00 */ li r4, 0 /* 8022692C 0022388C D0 18 01 24 */ stfs f0, 0x124(r24) /* 80226930 00223890 7F 03 C3 78 */ mr r3, r24 /* 80226934 00223894 C0 1F 00 00 */ lfs f0, 0(r31) /* 80226938 00223898 D0 18 01 28 */ stfs f0, 0x128(r24) /* 8022693C 0022389C C0 3C 00 00 */ lfs f1, 0(r28) /* 80226940 002238A0 C0 05 00 00 */ lfs f0, 0(r5) /* 80226944 002238A4 C0 7C 00 04 */ lfs f3, 4(r28) /* 80226948 002238A8 C0 59 00 04 */ lfs f2, 4(r25) /* 8022694C 002238AC EC 01 00 32 */ fmuls f0, f1, f0 /* 80226950 002238B0 C0 9C 00 08 */ lfs f4, 8(r28) /* 80226954 002238B4 C0 39 00 08 */ lfs f1, 8(r25) /* 80226958 002238B8 EC 43 00 B2 */ fmuls f2, f3, f2 /* 8022695C 002238BC D0 18 01 2C */ stfs f0, 0x12c(r24) /* 80226960 002238C0 EC 04 00 72 */ fmuls f0, f4, f1 /* 80226964 002238C4 D0 58 01 30 */ stfs f2, 0x130(r24) /* 80226968 002238C8 D0 18 01 34 */ stfs f0, 0x134(r24) /* 8022696C 002238CC D3 F8 01 38 */ stfs f31, 0x138(r24) /* 80226970 002238D0 88 18 01 3C */ lbz r0, 0x13c(r24) /* 80226974 002238D4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80226978 002238D8 98 18 01 3C */ stb r0, 0x13c(r24) /* 8022697C 002238DC 88 18 01 3C */ lbz r0, 0x13c(r24) /* 80226980 002238E0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80226984 002238E4 98 18 01 3C */ stb r0, 0x13c(r24) /* 80226988 002238E8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 8022698C 002238EC CB E1 01 10 */ lfd f31, 0x110(r1) /* 80226990 002238F0 BA E1 00 EC */ lmw r23, 0xec(r1) /* 80226994 002238F4 80 01 01 24 */ lwz r0, 0x124(r1) /* 80226998 002238F8 7C 08 03 A6 */ mtlr r0 /* 8022699C 002238FC 38 21 01 20 */ addi r1, r1, 0x120 /* 802269A0 00223900 4E 80 00 20 */ blr .global __sinit_CScriptCameraPitchVolume_cpp __sinit_CScriptCameraPitchVolume_cpp: /* 802269A4 00223904 C0 02 B4 B8 */ lfs f0, lbl_805AD1D8@sda21(r2) /* 802269A8 00223908 3C 60 80 57 */ lis r3, lbl_80572134@ha /* 802269AC 0022390C D4 03 21 34 */ stfsu f0, lbl_80572134@l(r3) /* 802269B0 00223910 D0 03 00 04 */ stfs f0, 4(r3) /* 802269B4 00223914 D0 03 00 08 */ stfs f0, 8(r3) /* 802269B8 00223918 4E 80 00 20 */ blr .global __sinit_RumbleFxTable_cpp __sinit_RumbleFxTable_cpp: /* 802269BC 0022391C 94 21 FD 50 */ stwu r1, -0x2b0(r1) /* 802269C0 00223920 7C 08 02 A6 */ mflr r0 /* 802269C4 00223924 C0 22 B4 C0 */ lfs f1, lbl_805AD1E0@sda21(r2) /* 802269C8 00223928 38 80 00 00 */ li r4, 0 /* 802269CC 0022392C 90 01 02 B4 */ stw r0, 0x2b4(r1) /* 802269D0 00223930 38 61 02 8C */ addi r3, r1, 0x28c /* 802269D4 00223934 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 802269D8 00223938 38 A0 00 00 */ li r5, 0 /* 802269DC 0022393C C0 62 B4 C8 */ lfs f3, lbl_805AD1E8@sda21(r2) /* 802269E0 00223940 C0 82 B4 CC */ lfs f4, lbl_805AD1EC@sda21(r2) /* 802269E4 00223944 C0 A2 B4 D0 */ lfs f5, lbl_805AD1F0@sda21(r2) /* 802269E8 00223948 C0 C2 B4 D4 */ lfs f6, lbl_805AD1F4@sda21(r2) /* 802269EC 0022394C 48 14 31 ED */ bl __ct__9SAdsrDataFffffffbb /* 802269F0 00223950 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 802269F4 00223954 C0 21 02 8C */ lfs f1, 0x28c(r1) /* 802269F8 00223958 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 802269FC 0022395C C0 41 02 90 */ lfs f2, 0x290(r1) /* 80226A00 00223960 C0 61 02 94 */ lfs f3, 0x294(r1) /* 80226A04 00223964 38 61 02 70 */ addi r3, r1, 0x270 /* 80226A08 00223968 C0 81 02 98 */ lfs f4, 0x298(r1) /* 80226A0C 0022396C 38 80 00 00 */ li r4, 0 /* 80226A10 00223970 C0 A1 02 9C */ lfs f5, 0x29c(r1) /* 80226A14 00223974 38 A0 00 00 */ li r5, 0 /* 80226A18 00223978 C0 01 02 A0 */ lfs f0, 0x2a0(r1) /* 80226A1C 0022397C 88 01 02 A4 */ lbz r0, 0x2a4(r1) /* 80226A20 00223980 D0 26 00 00 */ stfs f1, 0(r6) /* 80226A24 00223984 C0 22 B4 D8 */ lfs f1, lbl_805AD1F8@sda21(r2) /* 80226A28 00223988 D0 46 00 04 */ stfs f2, 4(r6) /* 80226A2C 0022398C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226A30 00223990 D0 66 00 08 */ stfs f3, 8(r6) /* 80226A34 00223994 C0 62 B4 DC */ lfs f3, lbl_805AD1FC@sda21(r2) /* 80226A38 00223998 D0 86 00 0C */ stfs f4, 0xc(r6) /* 80226A3C 0022399C C0 82 B4 E0 */ lfs f4, lbl_805AD200@sda21(r2) /* 80226A40 002239A0 D0 A6 00 10 */ stfs f5, 0x10(r6) /* 80226A44 002239A4 C0 A2 B4 E4 */ lfs f5, lbl_805AD204@sda21(r2) /* 80226A48 002239A8 D0 06 00 14 */ stfs f0, 0x14(r6) /* 80226A4C 002239AC C0 C2 B4 E8 */ lfs f6, lbl_805AD208@sda21(r2) /* 80226A50 002239B0 98 06 00 18 */ stb r0, 0x18(r6) /* 80226A54 002239B4 48 14 31 85 */ bl __ct__9SAdsrDataFffffffbb /* 80226A58 002239B8 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226A5C 002239BC 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226A60 002239C0 C0 82 B4 EC */ lfs f4, lbl_805AD20C@sda21(r2) /* 80226A64 002239C4 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226A68 002239C8 C0 21 02 70 */ lfs f1, 0x270(r1) /* 80226A6C 002239CC FC C0 10 90 */ fmr f6, f2 /* 80226A70 002239D0 C0 61 02 74 */ lfs f3, 0x274(r1) /* 80226A74 002239D4 FC A0 20 90 */ fmr f5, f4 /* 80226A78 002239D8 C1 21 02 78 */ lfs f9, 0x278(r1) /* 80226A7C 002239DC 38 61 02 54 */ addi r3, r1, 0x254 /* 80226A80 002239E0 C1 01 02 7C */ lfs f8, 0x27c(r1) /* 80226A84 002239E4 C0 E1 02 80 */ lfs f7, 0x280(r1) /* 80226A88 002239E8 38 80 00 00 */ li r4, 0 /* 80226A8C 002239EC C0 01 02 84 */ lfs f0, 0x284(r1) /* 80226A90 002239F0 38 A0 00 00 */ li r5, 0 /* 80226A94 002239F4 88 01 02 88 */ lbz r0, 0x288(r1) /* 80226A98 002239F8 D0 26 00 1C */ stfs f1, 0x1c(r6) /* 80226A9C 002239FC C0 22 B4 E4 */ lfs f1, lbl_805AD204@sda21(r2) /* 80226AA0 00223A00 D0 66 00 20 */ stfs f3, 0x20(r6) /* 80226AA4 00223A04 C0 62 B4 D0 */ lfs f3, lbl_805AD1F0@sda21(r2) /* 80226AA8 00223A08 D1 26 00 24 */ stfs f9, 0x24(r6) /* 80226AAC 00223A0C D1 06 00 28 */ stfs f8, 0x28(r6) /* 80226AB0 00223A10 D0 E6 00 2C */ stfs f7, 0x2c(r6) /* 80226AB4 00223A14 D0 06 00 30 */ stfs f0, 0x30(r6) /* 80226AB8 00223A18 98 06 00 34 */ stb r0, 0x34(r6) /* 80226ABC 00223A1C 48 14 31 1D */ bl __ct__9SAdsrDataFffffffbb /* 80226AC0 00223A20 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226AC4 00223A24 C0 21 02 54 */ lfs f1, 0x254(r1) /* 80226AC8 00223A28 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226ACC 00223A2C C0 41 02 58 */ lfs f2, 0x258(r1) /* 80226AD0 00223A30 C0 61 02 5C */ lfs f3, 0x25c(r1) /* 80226AD4 00223A34 38 61 02 38 */ addi r3, r1, 0x238 /* 80226AD8 00223A38 C0 81 02 60 */ lfs f4, 0x260(r1) /* 80226ADC 00223A3C 38 80 00 00 */ li r4, 0 /* 80226AE0 00223A40 C0 A1 02 64 */ lfs f5, 0x264(r1) /* 80226AE4 00223A44 38 A0 00 00 */ li r5, 0 /* 80226AE8 00223A48 C0 01 02 68 */ lfs f0, 0x268(r1) /* 80226AEC 00223A4C 88 01 02 6C */ lbz r0, 0x26c(r1) /* 80226AF0 00223A50 D0 26 00 38 */ stfs f1, 0x38(r6) /* 80226AF4 00223A54 C0 22 B4 F0 */ lfs f1, lbl_805AD210@sda21(r2) /* 80226AF8 00223A58 D0 46 00 3C */ stfs f2, 0x3c(r6) /* 80226AFC 00223A5C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226B00 00223A60 D0 66 00 40 */ stfs f3, 0x40(r6) /* 80226B04 00223A64 C0 62 B4 D0 */ lfs f3, lbl_805AD1F0@sda21(r2) /* 80226B08 00223A68 D0 86 00 44 */ stfs f4, 0x44(r6) /* 80226B0C 00223A6C C0 82 B4 EC */ lfs f4, lbl_805AD20C@sda21(r2) /* 80226B10 00223A70 D0 A6 00 48 */ stfs f5, 0x48(r6) /* 80226B14 00223A74 C0 A2 B4 F4 */ lfs f5, lbl_805AD214@sda21(r2) /* 80226B18 00223A78 D0 06 00 4C */ stfs f0, 0x4c(r6) /* 80226B1C 00223A7C C0 C2 B4 F8 */ lfs f6, lbl_805AD218@sda21(r2) /* 80226B20 00223A80 98 06 00 50 */ stb r0, 0x50(r6) /* 80226B24 00223A84 48 14 30 B5 */ bl __ct__9SAdsrDataFffffffbb /* 80226B28 00223A88 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226B2C 00223A8C C0 21 02 38 */ lfs f1, 0x238(r1) /* 80226B30 00223A90 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226B34 00223A94 C0 41 02 3C */ lfs f2, 0x23c(r1) /* 80226B38 00223A98 C0 61 02 40 */ lfs f3, 0x240(r1) /* 80226B3C 00223A9C 38 61 02 1C */ addi r3, r1, 0x21c /* 80226B40 00223AA0 C0 81 02 44 */ lfs f4, 0x244(r1) /* 80226B44 00223AA4 38 80 00 00 */ li r4, 0 /* 80226B48 00223AA8 C0 A1 02 48 */ lfs f5, 0x248(r1) /* 80226B4C 00223AAC 38 A0 00 00 */ li r5, 0 /* 80226B50 00223AB0 C0 01 02 4C */ lfs f0, 0x24c(r1) /* 80226B54 00223AB4 88 01 02 50 */ lbz r0, 0x250(r1) /* 80226B58 00223AB8 D0 26 00 54 */ stfs f1, 0x54(r6) /* 80226B5C 00223ABC C0 22 B4 FC */ lfs f1, lbl_805AD21C@sda21(r2) /* 80226B60 00223AC0 D0 46 00 58 */ stfs f2, 0x58(r6) /* 80226B64 00223AC4 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226B68 00223AC8 D0 66 00 5C */ stfs f3, 0x5c(r6) /* 80226B6C 00223ACC C0 62 B4 D0 */ lfs f3, lbl_805AD1F0@sda21(r2) /* 80226B70 00223AD0 D0 86 00 60 */ stfs f4, 0x60(r6) /* 80226B74 00223AD4 C0 82 B5 00 */ lfs f4, lbl_805AD220@sda21(r2) /* 80226B78 00223AD8 D0 A6 00 64 */ stfs f5, 0x64(r6) /* 80226B7C 00223ADC C0 A2 B5 04 */ lfs f5, lbl_805AD224@sda21(r2) /* 80226B80 00223AE0 D0 06 00 68 */ stfs f0, 0x68(r6) /* 80226B84 00223AE4 C0 C2 B5 08 */ lfs f6, lbl_805AD228@sda21(r2) /* 80226B88 00223AE8 98 06 00 6C */ stb r0, 0x6c(r6) /* 80226B8C 00223AEC 48 14 30 4D */ bl __ct__9SAdsrDataFffffffbb /* 80226B90 00223AF0 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226B94 00223AF4 C0 21 02 1C */ lfs f1, 0x21c(r1) /* 80226B98 00223AF8 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226B9C 00223AFC C0 41 02 20 */ lfs f2, 0x220(r1) /* 80226BA0 00223B00 C0 61 02 24 */ lfs f3, 0x224(r1) /* 80226BA4 00223B04 38 61 02 00 */ addi r3, r1, 0x200 /* 80226BA8 00223B08 C0 81 02 28 */ lfs f4, 0x228(r1) /* 80226BAC 00223B0C 38 80 00 00 */ li r4, 0 /* 80226BB0 00223B10 C0 A1 02 2C */ lfs f5, 0x22c(r1) /* 80226BB4 00223B14 38 A0 00 00 */ li r5, 0 /* 80226BB8 00223B18 C0 01 02 30 */ lfs f0, 0x230(r1) /* 80226BBC 00223B1C 88 01 02 34 */ lbz r0, 0x234(r1) /* 80226BC0 00223B20 D0 26 00 70 */ stfs f1, 0x70(r6) /* 80226BC4 00223B24 C0 22 B5 0C */ lfs f1, lbl_805AD22C@sda21(r2) /* 80226BC8 00223B28 D0 46 00 74 */ stfs f2, 0x74(r6) /* 80226BCC 00223B2C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226BD0 00223B30 D0 66 00 78 */ stfs f3, 0x78(r6) /* 80226BD4 00223B34 C0 62 B4 F8 */ lfs f3, lbl_805AD218@sda21(r2) /* 80226BD8 00223B38 D0 86 00 7C */ stfs f4, 0x7c(r6) /* 80226BDC 00223B3C C0 82 B4 D0 */ lfs f4, lbl_805AD1F0@sda21(r2) /* 80226BE0 00223B40 D0 A6 00 80 */ stfs f5, 0x80(r6) /* 80226BE4 00223B44 C0 A2 B5 10 */ lfs f5, lbl_805AD230@sda21(r2) /* 80226BE8 00223B48 D0 06 00 84 */ stfs f0, 0x84(r6) /* 80226BEC 00223B4C C0 C2 B5 14 */ lfs f6, lbl_805AD234@sda21(r2) /* 80226BF0 00223B50 98 06 00 88 */ stb r0, 0x88(r6) /* 80226BF4 00223B54 48 14 2F E5 */ bl __ct__9SAdsrDataFffffffbb /* 80226BF8 00223B58 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226BFC 00223B5C C0 21 02 00 */ lfs f1, 0x200(r1) /* 80226C00 00223B60 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226C04 00223B64 C0 41 02 04 */ lfs f2, 0x204(r1) /* 80226C08 00223B68 C0 61 02 08 */ lfs f3, 0x208(r1) /* 80226C0C 00223B6C 38 61 01 E4 */ addi r3, r1, 0x1e4 /* 80226C10 00223B70 C0 81 02 0C */ lfs f4, 0x20c(r1) /* 80226C14 00223B74 38 80 00 00 */ li r4, 0 /* 80226C18 00223B78 C0 A1 02 10 */ lfs f5, 0x210(r1) /* 80226C1C 00223B7C 38 A0 00 00 */ li r5, 0 /* 80226C20 00223B80 C0 01 02 14 */ lfs f0, 0x214(r1) /* 80226C24 00223B84 88 01 02 18 */ lbz r0, 0x218(r1) /* 80226C28 00223B88 D0 26 00 8C */ stfs f1, 0x8c(r6) /* 80226C2C 00223B8C C0 22 B5 0C */ lfs f1, lbl_805AD22C@sda21(r2) /* 80226C30 00223B90 D0 46 00 90 */ stfs f2, 0x90(r6) /* 80226C34 00223B94 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226C38 00223B98 D0 66 00 94 */ stfs f3, 0x94(r6) /* 80226C3C 00223B9C C0 62 B5 18 */ lfs f3, lbl_805AD238@sda21(r2) /* 80226C40 00223BA0 D0 86 00 98 */ stfs f4, 0x98(r6) /* 80226C44 00223BA4 C0 82 B4 C8 */ lfs f4, lbl_805AD1E8@sda21(r2) /* 80226C48 00223BA8 D0 A6 00 9C */ stfs f5, 0x9c(r6) /* 80226C4C 00223BAC C0 A2 B4 F8 */ lfs f5, lbl_805AD218@sda21(r2) /* 80226C50 00223BB0 D0 06 00 A0 */ stfs f0, 0xa0(r6) /* 80226C54 00223BB4 C0 C2 B5 1C */ lfs f6, lbl_805AD23C@sda21(r2) /* 80226C58 00223BB8 98 06 00 A4 */ stb r0, 0xa4(r6) /* 80226C5C 00223BBC 48 14 2F 7D */ bl __ct__9SAdsrDataFffffffbb /* 80226C60 00223BC0 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226C64 00223BC4 C0 21 01 E4 */ lfs f1, 0x1e4(r1) /* 80226C68 00223BC8 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226C6C 00223BCC C0 41 01 E8 */ lfs f2, 0x1e8(r1) /* 80226C70 00223BD0 C0 61 01 EC */ lfs f3, 0x1ec(r1) /* 80226C74 00223BD4 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 80226C78 00223BD8 C0 81 01 F0 */ lfs f4, 0x1f0(r1) /* 80226C7C 00223BDC 38 80 00 00 */ li r4, 0 /* 80226C80 00223BE0 C0 A1 01 F4 */ lfs f5, 0x1f4(r1) /* 80226C84 00223BE4 38 A0 00 00 */ li r5, 0 /* 80226C88 00223BE8 C0 01 01 F8 */ lfs f0, 0x1f8(r1) /* 80226C8C 00223BEC 88 01 01 FC */ lbz r0, 0x1fc(r1) /* 80226C90 00223BF0 D0 26 00 A8 */ stfs f1, 0xa8(r6) /* 80226C94 00223BF4 C0 22 B5 20 */ lfs f1, lbl_805AD240@sda21(r2) /* 80226C98 00223BF8 D0 46 00 AC */ stfs f2, 0xac(r6) /* 80226C9C 00223BFC C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226CA0 00223C00 D0 66 00 B0 */ stfs f3, 0xb0(r6) /* 80226CA4 00223C04 C0 62 B5 24 */ lfs f3, lbl_805AD244@sda21(r2) /* 80226CA8 00223C08 D0 86 00 B4 */ stfs f4, 0xb4(r6) /* 80226CAC 00223C0C C0 82 B4 E0 */ lfs f4, lbl_805AD200@sda21(r2) /* 80226CB0 00223C10 D0 A6 00 B8 */ stfs f5, 0xb8(r6) /* 80226CB4 00223C14 C0 A2 B5 28 */ lfs f5, lbl_805AD248@sda21(r2) /* 80226CB8 00223C18 D0 06 00 BC */ stfs f0, 0xbc(r6) /* 80226CBC 00223C1C C0 C2 B5 2C */ lfs f6, lbl_805AD24C@sda21(r2) /* 80226CC0 00223C20 98 06 00 C0 */ stb r0, 0xc0(r6) /* 80226CC4 00223C24 48 14 2F 15 */ bl __ct__9SAdsrDataFffffffbb /* 80226CC8 00223C28 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226CCC 00223C2C 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226CD0 00223C30 C0 21 01 C8 */ lfs f1, 0x1c8(r1) /* 80226CD4 00223C34 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226CD8 00223C38 C0 61 01 CC */ lfs f3, 0x1cc(r1) /* 80226CDC 00223C3C FC C0 10 90 */ fmr f6, f2 /* 80226CE0 00223C40 C0 81 01 D0 */ lfs f4, 0x1d0(r1) /* 80226CE4 00223C44 38 61 01 AC */ addi r3, r1, 0x1ac /* 80226CE8 00223C48 C0 A1 01 D4 */ lfs f5, 0x1d4(r1) /* 80226CEC 00223C4C 38 80 00 00 */ li r4, 0 /* 80226CF0 00223C50 C0 E1 01 D8 */ lfs f7, 0x1d8(r1) /* 80226CF4 00223C54 C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 80226CF8 00223C58 38 A0 00 00 */ li r5, 0 /* 80226CFC 00223C5C 88 01 01 E0 */ lbz r0, 0x1e0(r1) /* 80226D00 00223C60 D0 26 00 C4 */ stfs f1, 0xc4(r6) /* 80226D04 00223C64 C0 22 B4 C0 */ lfs f1, lbl_805AD1E0@sda21(r2) /* 80226D08 00223C68 D0 66 00 C8 */ stfs f3, 0xc8(r6) /* 80226D0C 00223C6C C0 62 B5 24 */ lfs f3, lbl_805AD244@sda21(r2) /* 80226D10 00223C70 D0 86 00 CC */ stfs f4, 0xcc(r6) /* 80226D14 00223C74 C0 82 B4 E0 */ lfs f4, lbl_805AD200@sda21(r2) /* 80226D18 00223C78 D0 A6 00 D0 */ stfs f5, 0xd0(r6) /* 80226D1C 00223C7C C0 A2 B4 F8 */ lfs f5, lbl_805AD218@sda21(r2) /* 80226D20 00223C80 D0 E6 00 D4 */ stfs f7, 0xd4(r6) /* 80226D24 00223C84 D0 06 00 D8 */ stfs f0, 0xd8(r6) /* 80226D28 00223C88 98 06 00 DC */ stb r0, 0xdc(r6) /* 80226D2C 00223C8C 48 14 2E AD */ bl __ct__9SAdsrDataFffffffbb /* 80226D30 00223C90 C0 62 B5 34 */ lfs f3, lbl_805AD254@sda21(r2) /* 80226D34 00223C94 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226D38 00223C98 C0 21 01 AC */ lfs f1, 0x1ac(r1) /* 80226D3C 00223C9C 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226D40 00223CA0 C0 41 01 B0 */ lfs f2, 0x1b0(r1) /* 80226D44 00223CA4 FC 80 18 90 */ fmr f4, f3 /* 80226D48 00223CA8 C0 A1 01 B4 */ lfs f5, 0x1b4(r1) /* 80226D4C 00223CAC 38 61 01 90 */ addi r3, r1, 0x190 /* 80226D50 00223CB0 C0 C1 01 B8 */ lfs f6, 0x1b8(r1) /* 80226D54 00223CB4 38 80 00 00 */ li r4, 0 /* 80226D58 00223CB8 C0 E1 01 BC */ lfs f7, 0x1bc(r1) /* 80226D5C 00223CBC C0 01 01 C0 */ lfs f0, 0x1c0(r1) /* 80226D60 00223CC0 38 A0 00 00 */ li r5, 0 /* 80226D64 00223CC4 88 01 01 C4 */ lbz r0, 0x1c4(r1) /* 80226D68 00223CC8 D0 26 00 E0 */ stfs f1, 0xe0(r6) /* 80226D6C 00223CCC C0 22 B5 30 */ lfs f1, lbl_805AD250@sda21(r2) /* 80226D70 00223CD0 D0 46 00 E4 */ stfs f2, 0xe4(r6) /* 80226D74 00223CD4 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226D78 00223CD8 D0 A6 00 E8 */ stfs f5, 0xe8(r6) /* 80226D7C 00223CDC C0 A2 B5 38 */ lfs f5, lbl_805AD258@sda21(r2) /* 80226D80 00223CE0 D0 C6 00 EC */ stfs f6, 0xec(r6) /* 80226D84 00223CE4 C0 C2 B4 D0 */ lfs f6, lbl_805AD1F0@sda21(r2) /* 80226D88 00223CE8 D0 E6 00 F0 */ stfs f7, 0xf0(r6) /* 80226D8C 00223CEC D0 06 00 F4 */ stfs f0, 0xf4(r6) /* 80226D90 00223CF0 98 06 00 F8 */ stb r0, 0xf8(r6) /* 80226D94 00223CF4 48 14 2E 45 */ bl __ct__9SAdsrDataFffffffbb /* 80226D98 00223CF8 C0 A2 B5 44 */ lfs f5, lbl_805AD264@sda21(r2) /* 80226D9C 00223CFC 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226DA0 00223D00 C0 21 01 90 */ lfs f1, 0x190(r1) /* 80226DA4 00223D04 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226DA8 00223D08 C0 41 01 94 */ lfs f2, 0x194(r1) /* 80226DAC 00223D0C FC C0 28 90 */ fmr f6, f5 /* 80226DB0 00223D10 C0 61 01 98 */ lfs f3, 0x198(r1) /* 80226DB4 00223D14 38 61 01 74 */ addi r3, r1, 0x174 /* 80226DB8 00223D18 C0 81 01 9C */ lfs f4, 0x19c(r1) /* 80226DBC 00223D1C 38 80 00 00 */ li r4, 0 /* 80226DC0 00223D20 C0 E1 01 A0 */ lfs f7, 0x1a0(r1) /* 80226DC4 00223D24 C0 01 01 A4 */ lfs f0, 0x1a4(r1) /* 80226DC8 00223D28 38 A0 00 00 */ li r5, 0 /* 80226DCC 00223D2C 88 01 01 A8 */ lbz r0, 0x1a8(r1) /* 80226DD0 00223D30 D0 26 00 FC */ stfs f1, 0xfc(r6) /* 80226DD4 00223D34 C0 22 B5 3C */ lfs f1, lbl_805AD25C@sda21(r2) /* 80226DD8 00223D38 D0 46 01 00 */ stfs f2, 0x100(r6) /* 80226DDC 00223D3C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226DE0 00223D40 D0 66 01 04 */ stfs f3, 0x104(r6) /* 80226DE4 00223D44 C0 62 B5 34 */ lfs f3, lbl_805AD254@sda21(r2) /* 80226DE8 00223D48 D0 86 01 08 */ stfs f4, 0x108(r6) /* 80226DEC 00223D4C C0 82 B5 40 */ lfs f4, lbl_805AD260@sda21(r2) /* 80226DF0 00223D50 D0 E6 01 0C */ stfs f7, 0x10c(r6) /* 80226DF4 00223D54 D0 06 01 10 */ stfs f0, 0x110(r6) /* 80226DF8 00223D58 98 06 01 14 */ stb r0, 0x114(r6) /* 80226DFC 00223D5C 48 14 2D DD */ bl __ct__9SAdsrDataFffffffbb /* 80226E00 00223D60 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226E04 00223D64 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226E08 00223D68 C0 21 01 74 */ lfs f1, 0x174(r1) /* 80226E0C 00223D6C 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226E10 00223D70 C0 61 01 78 */ lfs f3, 0x178(r1) /* 80226E14 00223D74 FC A0 10 90 */ fmr f5, f2 /* 80226E18 00223D78 C0 81 01 7C */ lfs f4, 0x17c(r1) /* 80226E1C 00223D7C FC C0 10 90 */ fmr f6, f2 /* 80226E20 00223D80 C1 01 01 80 */ lfs f8, 0x180(r1) /* 80226E24 00223D84 38 61 01 58 */ addi r3, r1, 0x158 /* 80226E28 00223D88 C0 E1 01 84 */ lfs f7, 0x184(r1) /* 80226E2C 00223D8C C0 01 01 88 */ lfs f0, 0x188(r1) /* 80226E30 00223D90 38 80 00 00 */ li r4, 0 /* 80226E34 00223D94 88 01 01 8C */ lbz r0, 0x18c(r1) /* 80226E38 00223D98 38 A0 00 00 */ li r5, 0 /* 80226E3C 00223D9C D0 26 01 18 */ stfs f1, 0x118(r6) /* 80226E40 00223DA0 C0 22 B5 48 */ lfs f1, lbl_805AD268@sda21(r2) /* 80226E44 00223DA4 D0 66 01 1C */ stfs f3, 0x11c(r6) /* 80226E48 00223DA8 C0 62 B5 34 */ lfs f3, lbl_805AD254@sda21(r2) /* 80226E4C 00223DAC D0 86 01 20 */ stfs f4, 0x120(r6) /* 80226E50 00223DB0 C0 82 B5 4C */ lfs f4, lbl_805AD26C@sda21(r2) /* 80226E54 00223DB4 D1 06 01 24 */ stfs f8, 0x124(r6) /* 80226E58 00223DB8 D0 E6 01 28 */ stfs f7, 0x128(r6) /* 80226E5C 00223DBC D0 06 01 2C */ stfs f0, 0x12c(r6) /* 80226E60 00223DC0 98 06 01 30 */ stb r0, 0x130(r6) /* 80226E64 00223DC4 48 14 2D 75 */ bl __ct__9SAdsrDataFffffffbb /* 80226E68 00223DC8 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226E6C 00223DCC 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226E70 00223DD0 C0 21 01 58 */ lfs f1, 0x158(r1) /* 80226E74 00223DD4 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226E78 00223DD8 C0 81 01 5C */ lfs f4, 0x15c(r1) /* 80226E7C 00223DDC FC 60 10 90 */ fmr f3, f2 /* 80226E80 00223DE0 C0 C1 01 60 */ lfs f6, 0x160(r1) /* 80226E84 00223DE4 FC A0 10 90 */ fmr f5, f2 /* 80226E88 00223DE8 C1 01 01 64 */ lfs f8, 0x164(r1) /* 80226E8C 00223DEC 38 61 01 3C */ addi r3, r1, 0x13c /* 80226E90 00223DF0 C0 E1 01 68 */ lfs f7, 0x168(r1) /* 80226E94 00223DF4 C0 01 01 6C */ lfs f0, 0x16c(r1) /* 80226E98 00223DF8 38 80 00 00 */ li r4, 0 /* 80226E9C 00223DFC 88 01 01 70 */ lbz r0, 0x170(r1) /* 80226EA0 00223E00 38 A0 00 00 */ li r5, 0 /* 80226EA4 00223E04 D0 26 01 34 */ stfs f1, 0x134(r6) /* 80226EA8 00223E08 C0 22 B5 50 */ lfs f1, lbl_805AD270@sda21(r2) /* 80226EAC 00223E0C D0 86 01 38 */ stfs f4, 0x138(r6) /* 80226EB0 00223E10 C0 82 B5 54 */ lfs f4, lbl_805AD274@sda21(r2) /* 80226EB4 00223E14 D0 C6 01 3C */ stfs f6, 0x13c(r6) /* 80226EB8 00223E18 C0 C2 B5 58 */ lfs f6, lbl_805AD278@sda21(r2) /* 80226EBC 00223E1C D1 06 01 40 */ stfs f8, 0x140(r6) /* 80226EC0 00223E20 D0 E6 01 44 */ stfs f7, 0x144(r6) /* 80226EC4 00223E24 D0 06 01 48 */ stfs f0, 0x148(r6) /* 80226EC8 00223E28 98 06 01 4C */ stb r0, 0x14c(r6) /* 80226ECC 00223E2C 48 14 2D 0D */ bl __ct__9SAdsrDataFffffffbb /* 80226ED0 00223E30 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226ED4 00223E34 C0 21 01 3C */ lfs f1, 0x13c(r1) /* 80226ED8 00223E38 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226EDC 00223E3C C0 41 01 40 */ lfs f2, 0x140(r1) /* 80226EE0 00223E40 C0 61 01 44 */ lfs f3, 0x144(r1) /* 80226EE4 00223E44 38 61 01 20 */ addi r3, r1, 0x120 /* 80226EE8 00223E48 C0 81 01 48 */ lfs f4, 0x148(r1) /* 80226EEC 00223E4C 38 80 00 00 */ li r4, 0 /* 80226EF0 00223E50 C0 A1 01 4C */ lfs f5, 0x14c(r1) /* 80226EF4 00223E54 38 A0 00 00 */ li r5, 0 /* 80226EF8 00223E58 C0 01 01 50 */ lfs f0, 0x150(r1) /* 80226EFC 00223E5C 88 01 01 54 */ lbz r0, 0x154(r1) /* 80226F00 00223E60 D0 26 01 50 */ stfs f1, 0x150(r6) /* 80226F04 00223E64 C0 22 B5 48 */ lfs f1, lbl_805AD268@sda21(r2) /* 80226F08 00223E68 D0 46 01 54 */ stfs f2, 0x154(r6) /* 80226F0C 00223E6C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226F10 00223E70 D0 66 01 58 */ stfs f3, 0x158(r6) /* 80226F14 00223E74 C0 62 B5 34 */ lfs f3, lbl_805AD254@sda21(r2) /* 80226F18 00223E78 D0 86 01 5C */ stfs f4, 0x15c(r6) /* 80226F1C 00223E7C C0 82 B4 CC */ lfs f4, lbl_805AD1EC@sda21(r2) /* 80226F20 00223E80 D0 A6 01 60 */ stfs f5, 0x160(r6) /* 80226F24 00223E84 C0 A2 B5 5C */ lfs f5, lbl_805AD27C@sda21(r2) /* 80226F28 00223E88 D0 06 01 64 */ stfs f0, 0x164(r6) /* 80226F2C 00223E8C C0 C2 B4 D4 */ lfs f6, lbl_805AD1F4@sda21(r2) /* 80226F30 00223E90 98 06 01 68 */ stb r0, 0x168(r6) /* 80226F34 00223E94 48 14 2C A5 */ bl __ct__9SAdsrDataFffffffbb /* 80226F38 00223E98 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226F3C 00223E9C C0 21 01 20 */ lfs f1, 0x120(r1) /* 80226F40 00223EA0 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226F44 00223EA4 C0 41 01 24 */ lfs f2, 0x124(r1) /* 80226F48 00223EA8 C0 61 01 28 */ lfs f3, 0x128(r1) /* 80226F4C 00223EAC 38 61 01 04 */ addi r3, r1, 0x104 /* 80226F50 00223EB0 C0 81 01 2C */ lfs f4, 0x12c(r1) /* 80226F54 00223EB4 38 80 00 00 */ li r4, 0 /* 80226F58 00223EB8 C0 A1 01 30 */ lfs f5, 0x130(r1) /* 80226F5C 00223EBC 38 A0 00 00 */ li r5, 0 /* 80226F60 00223EC0 C0 01 01 34 */ lfs f0, 0x134(r1) /* 80226F64 00223EC4 88 01 01 38 */ lbz r0, 0x138(r1) /* 80226F68 00223EC8 D0 26 01 6C */ stfs f1, 0x16c(r6) /* 80226F6C 00223ECC C0 22 B5 60 */ lfs f1, lbl_805AD280@sda21(r2) /* 80226F70 00223ED0 D0 46 01 70 */ stfs f2, 0x170(r6) /* 80226F74 00223ED4 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226F78 00223ED8 D0 66 01 74 */ stfs f3, 0x174(r6) /* 80226F7C 00223EDC C0 62 B4 D0 */ lfs f3, lbl_805AD1F0@sda21(r2) /* 80226F80 00223EE0 D0 86 01 78 */ stfs f4, 0x178(r6) /* 80226F84 00223EE4 C0 82 B4 CC */ lfs f4, lbl_805AD1EC@sda21(r2) /* 80226F88 00223EE8 D0 A6 01 7C */ stfs f5, 0x17c(r6) /* 80226F8C 00223EEC C0 A2 B5 64 */ lfs f5, lbl_805AD284@sda21(r2) /* 80226F90 00223EF0 D0 06 01 80 */ stfs f0, 0x180(r6) /* 80226F94 00223EF4 C0 C2 B5 10 */ lfs f6, lbl_805AD230@sda21(r2) /* 80226F98 00223EF8 98 06 01 84 */ stb r0, 0x184(r6) /* 80226F9C 00223EFC 48 14 2C 3D */ bl __ct__9SAdsrDataFffffffbb /* 80226FA0 00223F00 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80226FA4 00223F04 C0 21 01 04 */ lfs f1, 0x104(r1) /* 80226FA8 00223F08 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80226FAC 00223F0C C0 41 01 08 */ lfs f2, 0x108(r1) /* 80226FB0 00223F10 C0 61 01 0C */ lfs f3, 0x10c(r1) /* 80226FB4 00223F14 38 61 00 E8 */ addi r3, r1, 0xe8 /* 80226FB8 00223F18 C0 81 01 10 */ lfs f4, 0x110(r1) /* 80226FBC 00223F1C 38 80 00 00 */ li r4, 0 /* 80226FC0 00223F20 C0 A1 01 14 */ lfs f5, 0x114(r1) /* 80226FC4 00223F24 38 A0 00 00 */ li r5, 0 /* 80226FC8 00223F28 C0 01 01 18 */ lfs f0, 0x118(r1) /* 80226FCC 00223F2C 88 01 01 1C */ lbz r0, 0x11c(r1) /* 80226FD0 00223F30 D0 26 01 88 */ stfs f1, 0x188(r6) /* 80226FD4 00223F34 C0 22 B5 48 */ lfs f1, lbl_805AD268@sda21(r2) /* 80226FD8 00223F38 D0 46 01 8C */ stfs f2, 0x18c(r6) /* 80226FDC 00223F3C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80226FE0 00223F40 D0 66 01 90 */ stfs f3, 0x190(r6) /* 80226FE4 00223F44 C0 62 B4 D0 */ lfs f3, lbl_805AD1F0@sda21(r2) /* 80226FE8 00223F48 D0 86 01 94 */ stfs f4, 0x194(r6) /* 80226FEC 00223F4C C0 82 B4 EC */ lfs f4, lbl_805AD20C@sda21(r2) /* 80226FF0 00223F50 D0 A6 01 98 */ stfs f5, 0x198(r6) /* 80226FF4 00223F54 C0 A2 B5 68 */ lfs f5, lbl_805AD288@sda21(r2) /* 80226FF8 00223F58 D0 06 01 9C */ stfs f0, 0x19c(r6) /* 80226FFC 00223F5C C0 C2 B4 C8 */ lfs f6, lbl_805AD1E8@sda21(r2) /* 80227000 00223F60 98 06 01 A0 */ stb r0, 0x1a0(r6) /* 80227004 00223F64 48 14 2B D5 */ bl __ct__9SAdsrDataFffffffbb /* 80227008 00223F68 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 8022700C 00223F6C 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80227010 00223F70 C0 21 00 E8 */ lfs f1, 0xe8(r1) /* 80227014 00223F74 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80227018 00223F78 C0 61 00 EC */ lfs f3, 0xec(r1) /* 8022701C 00223F7C FC C0 10 90 */ fmr f6, f2 /* 80227020 00223F80 C0 81 00 F0 */ lfs f4, 0xf0(r1) /* 80227024 00223F84 38 61 00 CC */ addi r3, r1, 0xcc /* 80227028 00223F88 C0 A1 00 F4 */ lfs f5, 0xf4(r1) /* 8022702C 00223F8C 38 80 00 00 */ li r4, 0 /* 80227030 00223F90 C0 E1 00 F8 */ lfs f7, 0xf8(r1) /* 80227034 00223F94 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 80227038 00223F98 38 A0 00 00 */ li r5, 0 /* 8022703C 00223F9C 88 01 01 00 */ lbz r0, 0x100(r1) /* 80227040 00223FA0 D0 26 01 A4 */ stfs f1, 0x1a4(r6) /* 80227044 00223FA4 C0 22 B4 C0 */ lfs f1, lbl_805AD1E0@sda21(r2) /* 80227048 00223FA8 D0 66 01 A8 */ stfs f3, 0x1a8(r6) /* 8022704C 00223FAC C0 62 B5 24 */ lfs f3, lbl_805AD244@sda21(r2) /* 80227050 00223FB0 D0 86 01 AC */ stfs f4, 0x1ac(r6) /* 80227054 00223FB4 C0 82 B4 E0 */ lfs f4, lbl_805AD200@sda21(r2) /* 80227058 00223FB8 D0 A6 01 B0 */ stfs f5, 0x1b0(r6) /* 8022705C 00223FBC C0 A2 B4 F8 */ lfs f5, lbl_805AD218@sda21(r2) /* 80227060 00223FC0 D0 E6 01 B4 */ stfs f7, 0x1b4(r6) /* 80227064 00223FC4 D0 06 01 B8 */ stfs f0, 0x1b8(r6) /* 80227068 00223FC8 98 06 01 BC */ stb r0, 0x1bc(r6) /* 8022706C 00223FCC 48 14 2B 6D */ bl __ct__9SAdsrDataFffffffbb /* 80227070 00223FD0 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80227074 00223FD4 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80227078 00223FD8 C0 21 00 CC */ lfs f1, 0xcc(r1) /* 8022707C 00223FDC 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80227080 00223FE0 C0 61 00 D0 */ lfs f3, 0xd0(r1) /* 80227084 00223FE4 FC A0 10 90 */ fmr f5, f2 /* 80227088 00223FE8 C0 81 00 D4 */ lfs f4, 0xd4(r1) /* 8022708C 00223FEC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80227090 00223FF0 C0 C1 00 D8 */ lfs f6, 0xd8(r1) /* 80227094 00223FF4 38 80 00 00 */ li r4, 0 /* 80227098 00223FF8 C0 E1 00 DC */ lfs f7, 0xdc(r1) /* 8022709C 00223FFC C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 802270A0 00224000 38 A0 00 00 */ li r5, 0 /* 802270A4 00224004 88 01 00 E4 */ lbz r0, 0xe4(r1) /* 802270A8 00224008 D0 26 01 C0 */ stfs f1, 0x1c0(r6) /* 802270AC 0022400C C0 22 B5 6C */ lfs f1, lbl_805AD28C@sda21(r2) /* 802270B0 00224010 D0 66 01 C4 */ stfs f3, 0x1c4(r6) /* 802270B4 00224014 C0 62 B4 D0 */ lfs f3, lbl_805AD1F0@sda21(r2) /* 802270B8 00224018 D0 86 01 C8 */ stfs f4, 0x1c8(r6) /* 802270BC 0022401C C0 82 B5 54 */ lfs f4, lbl_805AD274@sda21(r2) /* 802270C0 00224020 D0 C6 01 CC */ stfs f6, 0x1cc(r6) /* 802270C4 00224024 C0 C2 B5 58 */ lfs f6, lbl_805AD278@sda21(r2) /* 802270C8 00224028 D0 E6 01 D0 */ stfs f7, 0x1d0(r6) /* 802270CC 0022402C D0 06 01 D4 */ stfs f0, 0x1d4(r6) /* 802270D0 00224030 98 06 01 D8 */ stb r0, 0x1d8(r6) /* 802270D4 00224034 48 14 2B 05 */ bl __ct__9SAdsrDataFffffffbb /* 802270D8 00224038 C0 62 B5 34 */ lfs f3, lbl_805AD254@sda21(r2) /* 802270DC 0022403C 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 802270E0 00224040 C0 21 00 B0 */ lfs f1, 0xb0(r1) /* 802270E4 00224044 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 802270E8 00224048 C0 41 00 B4 */ lfs f2, 0xb4(r1) /* 802270EC 0022404C FC 80 18 90 */ fmr f4, f3 /* 802270F0 00224050 C0 A1 00 B8 */ lfs f5, 0xb8(r1) /* 802270F4 00224054 38 61 00 94 */ addi r3, r1, 0x94 /* 802270F8 00224058 C0 C1 00 BC */ lfs f6, 0xbc(r1) /* 802270FC 0022405C 38 80 00 00 */ li r4, 0 /* 80227100 00224060 C0 E1 00 C0 */ lfs f7, 0xc0(r1) /* 80227104 00224064 C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 80227108 00224068 38 A0 00 00 */ li r5, 0 /* 8022710C 0022406C 88 01 00 C8 */ lbz r0, 0xc8(r1) /* 80227110 00224070 D0 26 01 DC */ stfs f1, 0x1dc(r6) /* 80227114 00224074 C0 22 B5 30 */ lfs f1, lbl_805AD250@sda21(r2) /* 80227118 00224078 D0 46 01 E0 */ stfs f2, 0x1e0(r6) /* 8022711C 0022407C C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80227120 00224080 D0 A6 01 E4 */ stfs f5, 0x1e4(r6) /* 80227124 00224084 C0 A2 B5 38 */ lfs f5, lbl_805AD258@sda21(r2) /* 80227128 00224088 D0 C6 01 E8 */ stfs f6, 0x1e8(r6) /* 8022712C 0022408C C0 C2 B4 D0 */ lfs f6, lbl_805AD1F0@sda21(r2) /* 80227130 00224090 D0 E6 01 EC */ stfs f7, 0x1ec(r6) /* 80227134 00224094 D0 06 01 F0 */ stfs f0, 0x1f0(r6) /* 80227138 00224098 98 06 01 F4 */ stb r0, 0x1f4(r6) /* 8022713C 0022409C 48 14 2A 9D */ bl __ct__9SAdsrDataFffffffbb /* 80227140 002240A0 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80227144 002240A4 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80227148 002240A8 C0 21 00 94 */ lfs f1, 0x94(r1) /* 8022714C 002240AC 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80227150 002240B0 C0 81 00 98 */ lfs f4, 0x98(r1) /* 80227154 002240B4 FC 60 10 90 */ fmr f3, f2 /* 80227158 002240B8 C0 A1 00 9C */ lfs f5, 0x9c(r1) /* 8022715C 002240BC 38 61 00 78 */ addi r3, r1, 0x78 /* 80227160 002240C0 C0 C1 00 A0 */ lfs f6, 0xa0(r1) /* 80227164 002240C4 38 80 00 01 */ li r4, 1 /* 80227168 002240C8 C0 E1 00 A4 */ lfs f7, 0xa4(r1) /* 8022716C 002240CC C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 80227170 002240D0 38 A0 00 00 */ li r5, 0 /* 80227174 002240D4 88 01 00 AC */ lbz r0, 0xac(r1) /* 80227178 002240D8 D0 26 01 F8 */ stfs f1, 0x1f8(r6) /* 8022717C 002240DC C0 22 B5 70 */ lfs f1, lbl_805AD290@sda21(r2) /* 80227180 002240E0 D0 86 01 FC */ stfs f4, 0x1fc(r6) /* 80227184 002240E4 C0 82 B4 CC */ lfs f4, lbl_805AD1EC@sda21(r2) /* 80227188 002240E8 D0 A6 02 00 */ stfs f5, 0x200(r6) /* 8022718C 002240EC C0 A2 B5 74 */ lfs f5, lbl_805AD294@sda21(r2) /* 80227190 002240F0 D0 C6 02 04 */ stfs f6, 0x204(r6) /* 80227194 002240F4 C0 C2 B4 D4 */ lfs f6, lbl_805AD1F4@sda21(r2) /* 80227198 002240F8 D0 E6 02 08 */ stfs f7, 0x208(r6) /* 8022719C 002240FC D0 06 02 0C */ stfs f0, 0x20c(r6) /* 802271A0 00224100 98 06 02 10 */ stb r0, 0x210(r6) /* 802271A4 00224104 48 14 2A 35 */ bl __ct__9SAdsrDataFffffffbb /* 802271A8 00224108 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 802271AC 0022410C 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 802271B0 00224110 C0 21 00 78 */ lfs f1, 0x78(r1) /* 802271B4 00224114 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 802271B8 00224118 C0 61 00 7C */ lfs f3, 0x7c(r1) /* 802271BC 0022411C FC A0 10 90 */ fmr f5, f2 /* 802271C0 00224120 C0 81 00 80 */ lfs f4, 0x80(r1) /* 802271C4 00224124 FC C0 10 90 */ fmr f6, f2 /* 802271C8 00224128 C1 01 00 84 */ lfs f8, 0x84(r1) /* 802271CC 0022412C 38 61 00 5C */ addi r3, r1, 0x5c /* 802271D0 00224130 C0 E1 00 88 */ lfs f7, 0x88(r1) /* 802271D4 00224134 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 802271D8 00224138 38 80 00 00 */ li r4, 0 /* 802271DC 0022413C 88 01 00 90 */ lbz r0, 0x90(r1) /* 802271E0 00224140 38 A0 00 00 */ li r5, 0 /* 802271E4 00224144 D0 26 02 14 */ stfs f1, 0x214(r6) /* 802271E8 00224148 C0 22 B5 0C */ lfs f1, lbl_805AD22C@sda21(r2) /* 802271EC 0022414C D0 66 02 18 */ stfs f3, 0x218(r6) /* 802271F0 00224150 C0 62 B5 34 */ lfs f3, lbl_805AD254@sda21(r2) /* 802271F4 00224154 D0 86 02 1C */ stfs f4, 0x21c(r6) /* 802271F8 00224158 C0 82 B5 78 */ lfs f4, lbl_805AD298@sda21(r2) /* 802271FC 0022415C D1 06 02 20 */ stfs f8, 0x220(r6) /* 80227200 00224160 D0 E6 02 24 */ stfs f7, 0x224(r6) /* 80227204 00224164 D0 06 02 28 */ stfs f0, 0x228(r6) /* 80227208 00224168 98 06 02 2C */ stb r0, 0x22c(r6) /* 8022720C 0022416C 48 14 29 CD */ bl __ct__9SAdsrDataFffffffbb /* 80227210 00224170 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80227214 00224174 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80227218 00224178 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 8022721C 0022417C 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80227220 00224180 C0 61 00 60 */ lfs f3, 0x60(r1) /* 80227224 00224184 FC A0 10 90 */ fmr f5, f2 /* 80227228 00224188 C0 81 00 64 */ lfs f4, 0x64(r1) /* 8022722C 0022418C 38 61 00 40 */ addi r3, r1, 0x40 /* 80227230 00224190 C0 C1 00 68 */ lfs f6, 0x68(r1) /* 80227234 00224194 38 80 00 00 */ li r4, 0 /* 80227238 00224198 C0 E1 00 6C */ lfs f7, 0x6c(r1) /* 8022723C 0022419C C0 01 00 70 */ lfs f0, 0x70(r1) /* 80227240 002241A0 38 A0 00 00 */ li r5, 0 /* 80227244 002241A4 88 01 00 74 */ lbz r0, 0x74(r1) /* 80227248 002241A8 D0 26 02 30 */ stfs f1, 0x230(r6) /* 8022724C 002241AC C0 22 B5 7C */ lfs f1, lbl_805AD29C@sda21(r2) /* 80227250 002241B0 D0 66 02 34 */ stfs f3, 0x234(r6) /* 80227254 002241B4 C0 62 B5 80 */ lfs f3, lbl_805AD2A0@sda21(r2) /* 80227258 002241B8 D0 86 02 38 */ stfs f4, 0x238(r6) /* 8022725C 002241BC C0 82 B5 84 */ lfs f4, lbl_805AD2A4@sda21(r2) /* 80227260 002241C0 D0 C6 02 3C */ stfs f6, 0x23c(r6) /* 80227264 002241C4 C0 C2 B5 88 */ lfs f6, lbl_805AD2A8@sda21(r2) /* 80227268 002241C8 D0 E6 02 40 */ stfs f7, 0x240(r6) /* 8022726C 002241CC D0 06 02 44 */ stfs f0, 0x244(r6) /* 80227270 002241D0 98 06 02 48 */ stb r0, 0x248(r6) /* 80227274 002241D4 48 14 29 65 */ bl __ct__9SAdsrDataFffffffbb /* 80227278 002241D8 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 8022727C 002241DC 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80227280 002241E0 C0 21 00 40 */ lfs f1, 0x40(r1) /* 80227284 002241E4 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 80227288 002241E8 C0 81 00 44 */ lfs f4, 0x44(r1) /* 8022728C 002241EC FC 60 10 90 */ fmr f3, f2 /* 80227290 002241F0 C1 21 00 48 */ lfs f9, 0x48(r1) /* 80227294 002241F4 FC A0 10 90 */ fmr f5, f2 /* 80227298 002241F8 C1 01 00 4C */ lfs f8, 0x4c(r1) /* 8022729C 002241FC FC C0 10 90 */ fmr f6, f2 /* 802272A0 00224200 C0 E1 00 50 */ lfs f7, 0x50(r1) /* 802272A4 00224204 C0 01 00 54 */ lfs f0, 0x54(r1) /* 802272A8 00224208 38 61 00 24 */ addi r3, r1, 0x24 /* 802272AC 0022420C 88 01 00 58 */ lbz r0, 0x58(r1) /* 802272B0 00224210 38 80 00 00 */ li r4, 0 /* 802272B4 00224214 D0 26 02 4C */ stfs f1, 0x24c(r6) /* 802272B8 00224218 38 A0 00 00 */ li r5, 0 /* 802272BC 0022421C C0 22 B5 8C */ lfs f1, lbl_805AD2AC@sda21(r2) /* 802272C0 00224220 D0 86 02 50 */ stfs f4, 0x250(r6) /* 802272C4 00224224 C0 82 B5 90 */ lfs f4, lbl_805AD2B0@sda21(r2) /* 802272C8 00224228 D1 26 02 54 */ stfs f9, 0x254(r6) /* 802272CC 0022422C D1 06 02 58 */ stfs f8, 0x258(r6) /* 802272D0 00224230 D0 E6 02 5C */ stfs f7, 0x25c(r6) /* 802272D4 00224234 D0 06 02 60 */ stfs f0, 0x260(r6) /* 802272D8 00224238 98 06 02 64 */ stb r0, 0x264(r6) /* 802272DC 0022423C 48 14 28 FD */ bl __ct__9SAdsrDataFffffffbb /* 802272E0 00224240 C0 62 B4 D4 */ lfs f3, lbl_805AD1F4@sda21(r2) /* 802272E4 00224244 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 802272E8 00224248 C0 21 00 24 */ lfs f1, 0x24(r1) /* 802272EC 0022424C 38 C3 21 40 */ addi r6, r3, lbl_80572140@l /* 802272F0 00224250 C0 41 00 28 */ lfs f2, 0x28(r1) /* 802272F4 00224254 FC C0 18 90 */ fmr f6, f3 /* 802272F8 00224258 C0 81 00 2C */ lfs f4, 0x2c(r1) /* 802272FC 0022425C 38 61 00 08 */ addi r3, r1, 8 /* 80227300 00224260 C0 A1 00 30 */ lfs f5, 0x30(r1) /* 80227304 00224264 38 80 00 00 */ li r4, 0 /* 80227308 00224268 C0 E1 00 34 */ lfs f7, 0x34(r1) /* 8022730C 0022426C C0 01 00 38 */ lfs f0, 0x38(r1) /* 80227310 00224270 38 A0 00 00 */ li r5, 0 /* 80227314 00224274 88 01 00 3C */ lbz r0, 0x3c(r1) /* 80227318 00224278 D0 26 02 68 */ stfs f1, 0x268(r6) /* 8022731C 0022427C C0 22 B5 94 */ lfs f1, lbl_805AD2B4@sda21(r2) /* 80227320 00224280 D0 46 02 6C */ stfs f2, 0x26c(r6) /* 80227324 00224284 C0 42 B4 C4 */ lfs f2, lbl_805AD1E4@sda21(r2) /* 80227328 00224288 D0 86 02 70 */ stfs f4, 0x270(r6) /* 8022732C 0022428C C0 82 B5 98 */ lfs f4, lbl_805AD2B8@sda21(r2) /* 80227330 00224290 D0 A6 02 74 */ stfs f5, 0x274(r6) /* 80227334 00224294 C0 A2 B5 64 */ lfs f5, lbl_805AD284@sda21(r2) /* 80227338 00224298 D0 E6 02 78 */ stfs f7, 0x278(r6) /* 8022733C 0022429C D0 06 02 7C */ stfs f0, 0x27c(r6) /* 80227340 002242A0 98 06 02 80 */ stb r0, 0x280(r6) /* 80227344 002242A4 48 14 28 95 */ bl __ct__9SAdsrDataFffffffbb /* 80227348 002242A8 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 8022734C 002242AC C0 A1 00 08 */ lfs f5, 8(r1) /* 80227350 002242B0 38 63 21 40 */ addi r3, r3, lbl_80572140@l /* 80227354 002242B4 C0 81 00 0C */ lfs f4, 0xc(r1) /* 80227358 002242B8 C0 61 00 10 */ lfs f3, 0x10(r1) /* 8022735C 002242BC C0 41 00 14 */ lfs f2, 0x14(r1) /* 80227360 002242C0 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80227364 002242C4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80227368 002242C8 88 01 00 20 */ lbz r0, 0x20(r1) /* 8022736C 002242CC D0 A3 02 84 */ stfs f5, 0x284(r3) /* 80227370 002242D0 D0 83 02 88 */ stfs f4, 0x288(r3) /* 80227374 002242D4 D0 63 02 8C */ stfs f3, 0x28c(r3) /* 80227378 002242D8 D0 43 02 90 */ stfs f2, 0x290(r3) /* 8022737C 002242DC D0 23 02 94 */ stfs f1, 0x294(r3) /* 80227380 002242E0 D0 03 02 98 */ stfs f0, 0x298(r3) /* 80227384 002242E4 98 03 02 9C */ stb r0, 0x29c(r3) /* 80227388 002242E8 80 01 02 B4 */ lwz r0, 0x2b4(r1) /* 8022738C 002242EC 7C 08 03 A6 */ mtlr r0 /* 80227390 002242F0 38 21 02 B0 */ addi r1, r1, 0x2b0 /* 80227394 002242F4 4E 80 00 20 */ blr .global GetSearchPath__12CElitePirateFv GetSearchPath__12CElitePirateFv: /* 80227398 002242F8 38 63 07 D0 */ addi r3, r3, 0x7d0 /* 8022739C 002242FC 4E 80 00 20 */ blr .global GetCollisionPrimitive__12CElitePirateCFv GetCollisionPrimitive__12CElitePirateCFv: /* 802273A0 00224300 38 63 07 38 */ addi r3, r3, 0x738 /* 802273A4 00224304 4E 80 00 20 */ blr .global sub_802273a8 sub_802273a8: /* 802273A8 00224308 38 60 00 01 */ li r3, 1 /* 802273AC 0022430C 4E 80 00 20 */ blr .global sub_802273b0 sub_802273b0: /* 802273B0 00224310 38 60 00 01 */ li r3, 1 /* 802273B4 00224314 4E 80 00 20 */ blr .global sub_802273b8 sub_802273b8: /* 802273B8 00224318 A0 A4 06 F4 */ lhz r5, 0x6f4(r4) /* 802273BC 0022431C 38 00 00 08 */ li r0, 8 /* 802273C0 00224320 80 C4 06 F0 */ lwz r6, 0x6f0(r4) /* 802273C4 00224324 80 E4 06 D0 */ lwz r7, 0x6d0(r4) /* 802273C8 00224328 C0 42 B5 B8 */ lfs f2, lbl_805AD2D8@sda21(r2) /* 802273CC 0022432C 90 03 00 00 */ stw r0, 0(r3) /* 802273D0 00224330 C0 22 B5 BC */ lfs f1, lbl_805AD2DC@sda21(r2) /* 802273D4 00224334 90 E3 00 04 */ stw r7, 4(r3) /* 802273D8 00224338 C0 02 B5 C0 */ lfs f0, lbl_805AD2E0@sda21(r2) /* 802273DC 0022433C 80 04 06 D4 */ lwz r0, 0x6d4(r4) /* 802273E0 00224340 90 03 00 08 */ stw r0, 8(r3) /* 802273E4 00224344 88 04 06 D8 */ lbz r0, 0x6d8(r4) /* 802273E8 00224348 98 03 00 0C */ stb r0, 0xc(r3) /* 802273EC 0022434C C0 64 06 DC */ lfs f3, 0x6dc(r4) /* 802273F0 00224350 D0 63 00 10 */ stfs f3, 0x10(r3) /* 802273F4 00224354 C0 64 06 E0 */ lfs f3, 0x6e0(r4) /* 802273F8 00224358 D0 63 00 14 */ stfs f3, 0x14(r3) /* 802273FC 0022435C C0 64 06 E4 */ lfs f3, 0x6e4(r4) /* 80227400 00224360 D0 63 00 18 */ stfs f3, 0x18(r3) /* 80227404 00224364 C0 64 06 E8 */ lfs f3, 0x6e8(r4) /* 80227408 00224368 D0 63 00 1C */ stfs f3, 0x1c(r3) /* 8022740C 0022436C 88 04 06 EC */ lbz r0, 0x6ec(r4) /* 80227410 00224370 98 03 00 20 */ stb r0, 0x20(r3) /* 80227414 00224374 D0 43 00 24 */ stfs f2, 0x24(r3) /* 80227418 00224378 D0 23 00 28 */ stfs f1, 0x28(r3) /* 8022741C 0022437C D0 03 00 2C */ stfs f0, 0x2c(r3) /* 80227420 00224380 D0 43 00 30 */ stfs f2, 0x30(r3) /* 80227424 00224384 90 C3 00 34 */ stw r6, 0x34(r3) /* 80227428 00224388 B0 A3 00 38 */ sth r5, 0x38(r3) /* 8022742C 0022438C 4E 80 00 20 */ blr .global sub_80227430 sub_80227430: /* 80227430 00224390 88 03 04 00 */ lbz r0, 0x400(r3) /* 80227434 00224394 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80227438 00224398 41 82 00 24 */ beq lbl_8022745C /* 8022743C 0022439C 88 04 00 04 */ lbz r0, 4(r4) /* 80227440 002243A0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80227444 002243A4 40 82 00 18 */ bne lbl_8022745C /* 80227448 002243A8 80 04 00 00 */ lwz r0, 0(r4) /* 8022744C 002243AC 2C 00 00 03 */ cmpwi r0, 3 /* 80227450 002243B0 40 82 00 0C */ bne lbl_8022745C /* 80227454 002243B4 38 60 00 00 */ li r3, 0 /* 80227458 002243B8 4E 80 00 20 */ blr lbl_8022745C: /* 8022745C 002243BC 38 60 00 01 */ li r3, 1 /* 80227460 002243C0 4E 80 00 20 */ blr .global sub_80227464 sub_80227464: /* 80227464 002243C4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80227468 002243C8 7C 08 02 A6 */ mflr r0 /* 8022746C 002243CC 90 01 00 74 */ stw r0, 0x74(r1) /* 80227470 002243D0 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80227474 002243D4 7C 7F 1B 78 */ mr r31, r3 /* 80227478 002243D8 93 C1 00 68 */ stw r30, 0x68(r1) /* 8022747C 002243DC 93 A1 00 64 */ stw r29, 0x64(r1) /* 80227480 002243E0 7C BD 2B 78 */ mr r29, r5 /* 80227484 002243E4 93 81 00 60 */ stw r28, 0x60(r1) /* 80227488 002243E8 7C 9C 23 78 */ mr r28, r4 /* 8022748C 002243EC 81 83 00 00 */ lwz r12, 0(r3) /* 80227490 002243F0 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 80227494 002243F4 7D 89 03 A6 */ mtctr r12 /* 80227498 002243F8 4E 80 04 21 */ bctrl /* 8022749C 002243FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802274A0 00224400 41 82 00 DC */ beq lbl_8022757C /* 802274A4 00224404 A0 1D 00 00 */ lhz r0, 0(r29) /* 802274A8 00224408 7F 83 E3 78 */ mr r3, r28 /* 802274AC 0022440C 38 81 00 18 */ addi r4, r1, 0x18 /* 802274B0 00224410 B0 01 00 18 */ sth r0, 0x18(r1) /* 802274B4 00224414 4B E2 50 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802274B8 00224418 7C 64 1B 78 */ mr r4, r3 /* 802274BC 0022441C 38 61 00 1C */ addi r3, r1, 0x1c /* 802274C0 00224420 4B E7 E3 D9 */ bl "__ct__20TCastToPtr<7CWeapon>FP7CEntity" /* 802274C4 00224424 83 C3 00 04 */ lwz r30, 4(r3) /* 802274C8 00224428 28 1E 00 00 */ cmplwi r30, 0 /* 802274CC 0022442C 41 82 00 B0 */ beq lbl_8022757C /* 802274D0 00224430 80 1E 01 2C */ lwz r0, 0x12c(r30) /* 802274D4 00224434 38 60 00 00 */ li r3, 0 /* 802274D8 00224438 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 802274DC 0022443C 38 80 00 01 */ li r4, 1 /* 802274E0 00224440 90 01 00 40 */ stw r0, 0x40(r1) /* 802274E4 00224444 80 AD 95 68 */ lwz r5, lbl_805A8128@sda21(r13) /* 802274E8 00224448 88 1E 01 30 */ lbz r0, 0x130(r30) /* 802274EC 0022444C 98 01 00 44 */ stb r0, 0x44(r1) /* 802274F0 00224450 C0 3E 01 34 */ lfs f1, 0x134(r30) /* 802274F4 00224454 D0 21 00 48 */ stfs f1, 0x48(r1) /* 802274F8 00224458 C0 3E 01 38 */ lfs f1, 0x138(r30) /* 802274FC 0022445C D0 21 00 4C */ stfs f1, 0x4c(r1) /* 80227500 00224460 C0 3E 01 3C */ lfs f1, 0x13c(r30) /* 80227504 00224464 D0 21 00 50 */ stfs f1, 0x50(r1) /* 80227508 00224468 C0 3E 01 40 */ lfs f1, 0x140(r30) /* 8022750C 0022446C D0 21 00 54 */ stfs f1, 0x54(r1) /* 80227510 00224470 88 1E 01 44 */ lbz r0, 0x144(r30) /* 80227514 00224474 98 01 00 58 */ stb r0, 0x58(r1) /* 80227518 00224478 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8022751C 0022447C 48 16 29 D9 */ bl __shl2i /* 80227520 00224480 39 00 00 00 */ li r8, 0 /* 80227524 00224484 39 40 00 03 */ li r10, 3 /* 80227528 00224488 90 81 00 2C */ stw r4, 0x2c(r1) /* 8022752C 0022448C 3C 80 80 5A */ lis r4, skZero3f@ha /* 80227530 00224490 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 80227534 00224494 A0 1D 00 00 */ lhz r0, 0(r29) /* 80227538 00224498 90 61 00 28 */ stw r3, 0x28(r1) /* 8022753C 0022449C 7F 83 E3 78 */ mr r3, r28 /* 80227540 002244A0 38 81 00 14 */ addi r4, r1, 0x14 /* 80227544 002244A4 38 A1 00 10 */ addi r5, r1, 0x10 /* 80227548 002244A8 91 01 00 34 */ stw r8, 0x34(r1) /* 8022754C 002244AC 38 C1 00 0C */ addi r6, r1, 0xc /* 80227550 002244B0 38 E1 00 40 */ addi r7, r1, 0x40 /* 80227554 002244B4 91 01 00 30 */ stw r8, 0x30(r1) /* 80227558 002244B8 39 01 00 28 */ addi r8, r1, 0x28 /* 8022755C 002244BC 91 41 00 38 */ stw r10, 0x38(r1) /* 80227560 002244C0 A1 7E 00 EC */ lhz r11, 0xec(r30) /* 80227564 002244C4 B1 61 00 0C */ sth r11, 0xc(r1) /* 80227568 002244C8 A1 5F 07 70 */ lhz r10, 0x770(r31) /* 8022756C 002244CC B1 61 00 08 */ sth r11, 8(r1) /* 80227570 002244D0 B1 41 00 10 */ sth r10, 0x10(r1) /* 80227574 002244D4 B0 01 00 14 */ sth r0, 0x14(r1) /* 80227578 002244D8 4B E2 2B 29 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_8022757C: /* 8022757C 002244DC 80 01 00 74 */ lwz r0, 0x74(r1) /* 80227580 002244E0 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80227584 002244E4 83 C1 00 68 */ lwz r30, 0x68(r1) /* 80227588 002244E8 83 A1 00 64 */ lwz r29, 0x64(r1) /* 8022758C 002244EC 83 81 00 60 */ lwz r28, 0x60(r1) /* 80227590 002244F0 7C 08 03 A6 */ mtlr r0 /* 80227594 002244F4 38 21 00 70 */ addi r1, r1, 0x70 /* 80227598 002244F8 4E 80 00 20 */ blr .global sub_8022759c sub_8022759c: /* 8022759C 002244FC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802275A0 00224500 7C 08 02 A6 */ mflr r0 /* 802275A4 00224504 90 01 00 44 */ stw r0, 0x44(r1) /* 802275A8 00224508 DB E1 00 30 */ stfd f31, 0x30(r1) /* 802275AC 0022450C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 802275B0 00224510 DB C1 00 20 */ stfd f30, 0x20(r1) /* 802275B4 00224514 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 /* 802275B8 00224518 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802275BC 0022451C 93 C1 00 18 */ stw r30, 0x18(r1) /* 802275C0 00224520 93 A1 00 14 */ stw r29, 0x14(r1) /* 802275C4 00224524 81 83 00 00 */ lwz r12, 0(r3) /* 802275C8 00224528 7C 7D 1B 78 */ mr r29, r3 /* 802275CC 0022452C 7C 9E 23 78 */ mr r30, r4 /* 802275D0 00224530 7C BF 2B 78 */ mr r31, r5 /* 802275D4 00224534 81 8C 02 D0 */ lwz r12, 0x2d0(r12) /* 802275D8 00224538 7D 89 03 A6 */ mtctr r12 /* 802275DC 0022453C 4E 80 04 21 */ bctrl /* 802275E0 00224540 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802275E4 00224544 41 82 00 70 */ beq lbl_80227654 /* 802275E8 00224548 C0 3D 07 B4 */ lfs f1, 0x7b4(r29) /* 802275EC 0022454C C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 802275F0 00224550 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802275F4 00224554 40 81 00 60 */ ble lbl_80227654 /* 802275F8 00224558 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 802275FC 0022455C 41 82 00 58 */ beq lbl_80227654 /* 80227600 00224560 7F A3 EB 78 */ mr r3, r29 /* 80227604 00224564 7F E4 FB 78 */ mr r4, r31 /* 80227608 00224568 81 9D 00 00 */ lwz r12, 0(r29) /* 8022760C 0022456C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80227610 00224570 7D 89 03 A6 */ mtctr r12 /* 80227614 00224574 4E 80 04 21 */ bctrl /* 80227618 00224578 C0 43 00 00 */ lfs f2, 0(r3) /* 8022761C 0022457C C0 1D 07 B4 */ lfs f0, 0x7b4(r29) /* 80227620 00224580 C0 3D 07 B0 */ lfs f1, 0x7b0(r29) /* 80227624 00224584 EC 02 00 24 */ fdivs f0, f2, f0 /* 80227628 00224588 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022762C 0022458C 4C 40 13 82 */ cror 2, 0, 2 /* 80227630 00224590 40 82 00 30 */ bne lbl_80227660 /* 80227634 00224594 C0 02 B5 C4 */ lfs f0, lbl_805AD2E4@sda21(r2) /* 80227638 00224598 38 60 00 01 */ li r3, 1 /* 8022763C 0022459C EC 01 00 28 */ fsubs f0, f1, f0 /* 80227640 002245A0 D0 1D 07 B0 */ stfs f0, 0x7b0(r29) /* 80227644 002245A4 88 1D 09 88 */ lbz r0, 0x988(r29) /* 80227648 002245A8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 8022764C 002245AC 98 1D 09 88 */ stb r0, 0x988(r29) /* 80227650 002245B0 48 00 00 10 */ b lbl_80227660 lbl_80227654: /* 80227654 002245B4 88 1D 09 88 */ lbz r0, 0x988(r29) /* 80227658 002245B8 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b /* 8022765C 002245BC 98 1D 09 88 */ stb r0, 0x988(r29) lbl_80227660: /* 80227660 002245C0 88 1D 09 88 */ lbz r0, 0x988(r29) /* 80227664 002245C4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80227668 002245C8 41 82 00 20 */ beq lbl_80227688 /* 8022766C 002245CC C3 FD 05 F0 */ lfs f31, 0x5f0(r29) /* 80227670 002245D0 C3 DD 05 EC */ lfs f30, 0x5ec(r29) /* 80227674 002245D4 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80227678 002245D8 48 0E AE 65 */ bl Float__9CRandom16Fv /* 8022767C 002245DC EC 01 F7 FA */ fmadds f0, f1, f31, f30 /* 80227680 002245E0 D0 1D 07 C0 */ stfs f0, 0x7c0(r29) /* 80227684 002245E4 48 00 00 0C */ b lbl_80227690 lbl_80227688: /* 80227688 002245E8 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022768C 002245EC D0 1D 07 C0 */ stfs f0, 0x7c0(r29) lbl_80227690: /* 80227690 002245F0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 80227694 002245F4 CB E1 00 30 */ lfd f31, 0x30(r1) /* 80227698 002245F8 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 /* 8022769C 002245FC CB C1 00 20 */ lfd f30, 0x20(r1) /* 802276A0 00224600 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802276A4 00224604 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802276A8 00224608 80 01 00 44 */ lwz r0, 0x44(r1) /* 802276AC 0022460C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802276B0 00224610 7C 08 03 A6 */ mtlr r0 /* 802276B4 00224614 38 21 00 40 */ addi r1, r1, 0x40 /* 802276B8 00224618 4E 80 00 20 */ blr .global sub_802276bc sub_802276bc: /* 802276BC 0022461C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802276C0 00224620 7C 08 02 A6 */ mflr r0 /* 802276C4 00224624 90 01 00 44 */ stw r0, 0x44(r1) /* 802276C8 00224628 DB E1 00 30 */ stfd f31, 0x30(r1) /* 802276CC 0022462C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 802276D0 00224630 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 802276D4 00224634 7C 7B 1B 78 */ mr r27, r3 /* 802276D8 00224638 7C DE 33 78 */ mr r30, r6 /* 802276DC 0022463C C0 26 00 04 */ lfs f1, 4(r6) /* 802276E0 00224640 7C BD 2B 78 */ mr r29, r5 /* 802276E4 00224644 C0 03 00 50 */ lfs f0, 0x50(r3) /* 802276E8 00224648 7C 9C 23 78 */ mr r28, r4 /* 802276EC 0022464C C0 66 00 00 */ lfs f3, 0(r6) /* 802276F0 00224650 3B FD 00 04 */ addi r31, r29, 4 /* 802276F4 00224654 EC 81 00 28 */ fsubs f4, f1, f0 /* 802276F8 00224658 C0 03 00 40 */ lfs f0, 0x40(r3) /* 802276FC 0022465C C0 46 00 08 */ lfs f2, 8(r6) /* 80227700 00224660 EC 63 00 28 */ fsubs f3, f3, f0 /* 80227704 00224664 C0 23 00 60 */ lfs f1, 0x60(r3) /* 80227708 00224668 EC 04 01 32 */ fmuls f0, f4, f4 /* 8022770C 0022466C EC 22 08 28 */ fsubs f1, f2, f1 /* 80227710 00224670 EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 80227714 00224674 EF E1 00 7A */ fmadds f31, f1, f1, f0 /* 80227718 00224678 48 00 00 90 */ b lbl_802277A8 lbl_8022771C: /* 8022771C 0022467C A0 1F 00 00 */ lhz r0, 0(r31) /* 80227720 00224680 7F 83 E3 78 */ mr r3, r28 /* 80227724 00224684 38 81 00 08 */ addi r4, r1, 8 /* 80227728 00224688 B0 01 00 08 */ sth r0, 8(r1) /* 8022772C 0022468C 4B E2 4E 79 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80227730 00224690 7C 64 1B 78 */ mr r4, r3 /* 80227734 00224694 38 61 00 0C */ addi r3, r1, 0xc /* 80227738 00224698 4B E8 53 25 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 8022773C 0022469C 80 83 00 04 */ lwz r4, 4(r3) /* 80227740 002246A0 28 04 00 00 */ cmplwi r4, 0 /* 80227744 002246A4 41 82 00 60 */ beq lbl_802277A4 /* 80227748 002246A8 A0 64 00 08 */ lhz r3, 8(r4) /* 8022774C 002246AC A0 1B 00 08 */ lhz r0, 8(r27) /* 80227750 002246B0 7C 03 00 40 */ cmplw r3, r0 /* 80227754 002246B4 41 82 00 50 */ beq lbl_802277A4 /* 80227758 002246B8 88 04 03 28 */ lbz r0, 0x328(r4) /* 8022775C 002246BC 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 80227760 002246C0 41 82 00 44 */ beq lbl_802277A4 /* 80227764 002246C4 C0 3E 00 04 */ lfs f1, 4(r30) /* 80227768 002246C8 C0 04 00 50 */ lfs f0, 0x50(r4) /* 8022776C 002246CC C0 7E 00 00 */ lfs f3, 0(r30) /* 80227770 002246D0 EC 81 00 28 */ fsubs f4, f1, f0 /* 80227774 002246D4 C0 04 00 40 */ lfs f0, 0x40(r4) /* 80227778 002246D8 C0 5E 00 08 */ lfs f2, 8(r30) /* 8022777C 002246DC EC 63 00 28 */ fsubs f3, f3, f0 /* 80227780 002246E0 C0 24 00 60 */ lfs f1, 0x60(r4) /* 80227784 002246E4 EC 04 01 32 */ fmuls f0, f4, f4 /* 80227788 002246E8 EC 22 08 28 */ fsubs f1, f2, f1 /* 8022778C 002246EC EC 03 00 FA */ fmadds f0, f3, f3, f0 /* 80227790 002246F0 EC 01 00 7A */ fmadds f0, f1, f1, f0 /* 80227794 002246F4 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 80227798 002246F8 40 80 00 0C */ bge lbl_802277A4 /* 8022779C 002246FC 38 60 00 00 */ li r3, 0 /* 802277A0 00224700 48 00 00 24 */ b lbl_802277C4 lbl_802277A4: /* 802277A4 00224704 3B FF 00 02 */ addi r31, r31, 2 lbl_802277A8: /* 802277A8 00224708 80 1D 00 00 */ lwz r0, 0(r29) /* 802277AC 0022470C 54 00 08 3C */ slwi r0, r0, 1 /* 802277B0 00224710 7C 7D 02 14 */ add r3, r29, r0 /* 802277B4 00224714 38 03 00 04 */ addi r0, r3, 4 /* 802277B8 00224718 7C 1F 00 40 */ cmplw r31, r0 /* 802277BC 0022471C 40 82 FF 60 */ bne lbl_8022771C /* 802277C0 00224720 38 60 00 01 */ li r3, 1 lbl_802277C4: /* 802277C4 00224724 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 802277C8 00224728 CB E1 00 30 */ lfd f31, 0x30(r1) /* 802277CC 0022472C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 802277D0 00224730 80 01 00 44 */ lwz r0, 0x44(r1) /* 802277D4 00224734 7C 08 03 A6 */ mtlr r0 /* 802277D8 00224738 38 21 00 40 */ addi r1, r1, 0x40 /* 802277DC 0022473C 4E 80 00 20 */ blr .global sub_802277e0 sub_802277e0: /* 802277E0 00224740 94 21 FF 90 */ stwu r1, -0x70(r1) /* 802277E4 00224744 7C 08 02 A6 */ mflr r0 /* 802277E8 00224748 90 01 00 74 */ stw r0, 0x74(r1) /* 802277EC 0022474C 93 E1 00 6C */ stw r31, 0x6c(r1) /* 802277F0 00224750 7C 9F 23 78 */ mr r31, r4 /* 802277F4 00224754 93 C1 00 68 */ stw r30, 0x68(r1) /* 802277F8 00224758 7C 7E 1B 78 */ mr r30, r3 /* 802277FC 0022475C 93 A1 00 64 */ stw r29, 0x64(r1) /* 80227800 00224760 88 03 09 88 */ lbz r0, 0x988(r3) /* 80227804 00224764 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80227808 00224768 41 82 02 6C */ beq lbl_80227A74 /* 8022780C 0022476C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80227810 00224770 88 03 03 00 */ lbz r0, 0x300(r3) /* 80227814 00224774 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80227818 00224778 40 82 02 5C */ bne lbl_80227A74 /* 8022781C 0022477C C0 5E 07 C4 */ lfs f2, 0x7c4(r30) /* 80227820 00224780 C0 02 B5 C8 */ lfs f0, lbl_805AD2E8@sda21(r2) /* 80227824 00224784 EC 22 08 2A */ fadds f1, f2, f1 /* 80227828 00224788 D0 3E 07 C4 */ stfs f1, 0x7c4(r30) /* 8022782C 0022478C C0 3E 07 C4 */ lfs f1, 0x7c4(r30) /* 80227830 00224790 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80227834 00224794 4C 41 13 82 */ cror 2, 1, 2 /* 80227838 00224798 40 82 02 3C */ bne lbl_80227A74 /* 8022783C 0022479C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80227840 002247A0 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 80227844 002247A4 2C 00 00 08 */ cmpwi r0, 8 /* 80227848 002247A8 41 82 00 24 */ beq lbl_8022786C /* 8022784C 002247AC 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 80227850 002247B0 4B F0 C8 29 */ bl GetCurrentState__14CBodyStateInfoCFv /* 80227854 002247B4 81 83 00 00 */ lwz r12, 0(r3) /* 80227858 002247B8 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8022785C 002247BC 7D 89 03 A6 */ mtctr r12 /* 80227860 002247C0 4E 80 04 21 */ bctrl /* 80227864 002247C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80227868 002247C8 40 82 01 80 */ bne lbl_802279E8 lbl_8022786C: /* 8022786C 002247CC 7F C3 F3 78 */ mr r3, r30 /* 80227870 002247D0 3B A0 00 00 */ li r29, 0 /* 80227874 002247D4 81 9E 00 00 */ lwz r12, 0(r30) /* 80227878 002247D8 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022787C 002247DC 7D 89 03 A6 */ mtctr r12 /* 80227880 002247E0 4E 80 04 21 */ bctrl /* 80227884 002247E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80227888 002247E8 41 82 00 98 */ beq lbl_80227920 /* 8022788C 002247EC A0 1E 07 70 */ lhz r0, 0x770(r30) /* 80227890 002247F0 7F E3 FB 78 */ mr r3, r31 /* 80227894 002247F4 38 81 00 08 */ addi r4, r1, 8 /* 80227898 002247F8 B0 01 00 08 */ sth r0, 8(r1) /* 8022789C 002247FC 4B E2 4D 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802278A0 00224800 7C 64 1B 78 */ mr r4, r3 /* 802278A4 00224804 38 61 00 0C */ addi r3, r1, 0xc /* 802278A8 00224808 4B E8 7A A5 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 802278AC 0022480C 80 63 00 04 */ lwz r3, 4(r3) /* 802278B0 00224810 28 03 00 00 */ cmplwi r3, 0 /* 802278B4 00224814 41 82 00 6C */ beq lbl_80227920 /* 802278B8 00224818 C0 83 00 60 */ lfs f4, 0x60(r3) /* 802278BC 0022481C C0 DE 00 60 */ lfs f6, 0x60(r30) /* 802278C0 00224820 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 802278C4 00224824 EC 24 30 28 */ fsubs f1, f4, f6 /* 802278C8 00224828 C0 02 B5 BC */ lfs f0, lbl_805AD2DC@sda21(r2) /* 802278CC 0022482C C1 04 00 60 */ lfs f8, 0x60(r4) /* 802278D0 00224830 C0 63 00 50 */ lfs f3, 0x50(r3) /* 802278D4 00224834 EC 00 20 7C */ fnmsubs f0, f0, f1, f4 /* 802278D8 00224838 C0 43 00 40 */ lfs f2, 0x40(r3) /* 802278DC 0022483C C0 BE 00 50 */ lfs f5, 0x50(r30) /* 802278E0 00224840 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 802278E4 00224844 C0 E4 00 50 */ lfs f7, 0x50(r4) /* 802278E8 00224848 FC 08 00 40 */ fcmpo cr0, f8, f0 /* 802278EC 0022484C C0 04 00 40 */ lfs f0, 0x40(r4) /* 802278F0 00224850 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 802278F4 00224854 D0 61 00 30 */ stfs f3, 0x30(r1) /* 802278F8 00224858 D0 81 00 34 */ stfs f4, 0x34(r1) /* 802278FC 0022485C D0 21 00 20 */ stfs f1, 0x20(r1) /* 80227900 00224860 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80227904 00224864 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 80227908 00224868 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022790C 0022486C D0 E1 00 18 */ stfs f7, 0x18(r1) /* 80227910 00224870 D1 01 00 1C */ stfs f8, 0x1c(r1) /* 80227914 00224874 4C 41 13 82 */ cror 2, 1, 2 /* 80227918 00224878 7C 00 00 26 */ mfcr r0 /* 8022791C 0022487C 54 1D 1F FE */ rlwinm r29, r0, 3, 0x1f, 0x1f lbl_80227920: /* 80227920 00224880 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 80227924 00224884 3B A0 00 00 */ li r29, 0 /* 80227928 00224888 40 82 00 28 */ bne lbl_80227950 /* 8022792C 0022488C 7F C3 F3 78 */ mr r3, r30 /* 80227930 00224890 7F E4 FB 78 */ mr r4, r31 /* 80227934 00224894 81 9E 00 00 */ lwz r12, 0(r30) /* 80227938 00224898 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022793C 0022489C 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 80227940 002248A0 7D 89 03 A6 */ mtctr r12 /* 80227944 002248A4 4E 80 04 21 */ bctrl /* 80227948 002248A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022794C 002248AC 41 82 00 08 */ beq lbl_80227954 lbl_80227950: /* 80227950 002248B0 3B A0 00 01 */ li r29, 1 lbl_80227954: /* 80227954 002248B4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 80227958 002248B8 38 C0 00 05 */ li r6, 5 /* 8022795C 002248BC 41 82 00 08 */ beq lbl_80227964 /* 80227960 002248C0 38 C0 00 07 */ li r6, 7 lbl_80227964: /* 80227964 002248C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80227968 002248C8 C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022796C 002248CC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80227970 002248D0 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80227974 002248D4 3C 80 80 3E */ lis r4, lbl_803E10C8@ha /* 80227978 002248D8 90 01 00 4C */ stw r0, 0x4c(r1) /* 8022797C 002248DC 38 A4 10 C8 */ addi r5, r4, lbl_803E10C8@l /* 80227980 002248E0 38 80 00 1A */ li r4, 0x1a /* 80227984 002248E4 38 00 00 00 */ li r0, 0 /* 80227988 002248E8 3B A3 00 04 */ addi r29, r3, 4 /* 8022798C 002248EC 90 81 00 50 */ stw r4, 0x50(r1) /* 80227990 002248F0 7F A3 EB 78 */ mr r3, r29 /* 80227994 002248F4 38 80 00 1A */ li r4, 0x1a /* 80227998 002248F8 90 A1 00 4C */ stw r5, 0x4c(r1) /* 8022799C 002248FC D0 01 00 54 */ stfs f0, 0x54(r1) /* 802279A0 00224900 90 C1 00 58 */ stw r6, 0x58(r1) /* 802279A4 00224904 98 01 00 5C */ stb r0, 0x5c(r1) /* 802279A8 00224908 4B F0 9A 91 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 802279AC 0022490C 80 01 00 50 */ lwz r0, 0x50(r1) /* 802279B0 00224910 3C 60 80 3E */ lis r3, lbl_803E10C8@ha /* 802279B4 00224914 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l /* 802279B8 00224918 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 802279BC 0022491C 90 1D 02 88 */ stw r0, 0x288(r29) /* 802279C0 00224920 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 802279C4 00224924 C0 01 00 54 */ lfs f0, 0x54(r1) /* 802279C8 00224928 80 A1 00 58 */ lwz r5, 0x58(r1) /* 802279CC 0022492C D0 1D 02 8C */ stfs f0, 0x28c(r29) /* 802279D0 00224930 88 61 00 5C */ lbz r3, 0x5c(r1) /* 802279D4 00224934 90 BD 02 90 */ stw r5, 0x290(r29) /* 802279D8 00224938 90 81 00 4C */ stw r4, 0x4c(r1) /* 802279DC 0022493C 98 7D 02 94 */ stb r3, 0x294(r29) /* 802279E0 00224940 90 01 00 4C */ stw r0, 0x4c(r1) /* 802279E4 00224944 48 00 00 88 */ b lbl_80227A6C lbl_802279E8: /* 802279E8 00224948 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 802279EC 0022494C C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 802279F0 00224950 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 802279F4 00224954 80 7E 04 50 */ lwz r3, 0x450(r30) /* 802279F8 00224958 3C 80 80 3E */ lis r4, lbl_803E10C8@ha /* 802279FC 0022495C 90 01 00 38 */ stw r0, 0x38(r1) /* 80227A00 00224960 38 C4 10 C8 */ addi r6, r4, lbl_803E10C8@l /* 80227A04 00224964 38 80 00 1A */ li r4, 0x1a /* 80227A08 00224968 38 A0 00 06 */ li r5, 6 /* 80227A0C 0022496C 38 00 00 00 */ li r0, 0 /* 80227A10 00224970 3B A3 00 04 */ addi r29, r3, 4 /* 80227A14 00224974 90 81 00 3C */ stw r4, 0x3c(r1) /* 80227A18 00224978 7F A3 EB 78 */ mr r3, r29 /* 80227A1C 0022497C 38 80 00 1A */ li r4, 0x1a /* 80227A20 00224980 90 C1 00 38 */ stw r6, 0x38(r1) /* 80227A24 00224984 D0 01 00 40 */ stfs f0, 0x40(r1) /* 80227A28 00224988 90 A1 00 44 */ stw r5, 0x44(r1) /* 80227A2C 0022498C 98 01 00 48 */ stb r0, 0x48(r1) /* 80227A30 00224990 4B F0 9A 09 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80227A34 00224994 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80227A38 00224998 3C 60 80 3E */ lis r3, lbl_803E10C8@ha /* 80227A3C 0022499C 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l /* 80227A40 002249A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80227A44 002249A4 90 1D 02 88 */ stw r0, 0x288(r29) /* 80227A48 002249A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80227A4C 002249AC C0 01 00 40 */ lfs f0, 0x40(r1) /* 80227A50 002249B0 80 A1 00 44 */ lwz r5, 0x44(r1) /* 80227A54 002249B4 D0 1D 02 8C */ stfs f0, 0x28c(r29) /* 80227A58 002249B8 88 61 00 48 */ lbz r3, 0x48(r1) /* 80227A5C 002249BC 90 BD 02 90 */ stw r5, 0x290(r29) /* 80227A60 002249C0 90 81 00 38 */ stw r4, 0x38(r1) /* 80227A64 002249C4 98 7D 02 94 */ stb r3, 0x294(r29) /* 80227A68 002249C8 90 01 00 38 */ stw r0, 0x38(r1) lbl_80227A6C: /* 80227A6C 002249CC C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 80227A70 002249D0 D0 1E 07 C4 */ stfs f0, 0x7c4(r30) lbl_80227A74: /* 80227A74 002249D4 80 01 00 74 */ lwz r0, 0x74(r1) /* 80227A78 002249D8 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80227A7C 002249DC 83 C1 00 68 */ lwz r30, 0x68(r1) /* 80227A80 002249E0 83 A1 00 64 */ lwz r29, 0x64(r1) /* 80227A84 002249E4 7C 08 03 A6 */ mtlr r0 /* 80227A88 002249E8 38 21 00 70 */ addi r1, r1, 0x70 /* 80227A8C 002249EC 4E 80 00 20 */ blr .global sub_80227a90 sub_80227a90: /* 80227A90 002249F0 94 21 ED 30 */ stwu r1, -0x12d0(r1) /* 80227A94 002249F4 7C 08 02 A6 */ mflr r0 /* 80227A98 002249F8 90 01 12 D4 */ stw r0, 0x12d4(r1) /* 80227A9C 002249FC 38 00 12 C8 */ li r0, 0x12c8 /* 80227AA0 00224A00 DB E1 12 C0 */ stfd f31, 0x12c0(r1) /* 80227AA4 00224A04 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 80227AA8 00224A08 38 00 12 B8 */ li r0, 0x12b8 /* 80227AAC 00224A0C DB C1 12 B0 */ stfd f30, 0x12b0(r1) /* 80227AB0 00224A10 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 /* 80227AB4 00224A14 38 00 12 A8 */ li r0, 0x12a8 /* 80227AB8 00224A18 DB A1 12 A0 */ stfd f29, 0x12a0(r1) /* 80227ABC 00224A1C 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 /* 80227AC0 00224A20 38 00 12 98 */ li r0, 0x1298 /* 80227AC4 00224A24 DB 81 12 90 */ stfd f28, 0x1290(r1) /* 80227AC8 00224A28 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 /* 80227ACC 00224A2C 38 00 12 88 */ li r0, 0x1288 /* 80227AD0 00224A30 DB 61 12 80 */ stfd f27, 0x1280(r1) /* 80227AD4 00224A34 13 61 00 0E */ psq_stx f27, r1, r0, 0, qr0 /* 80227AD8 00224A38 38 00 12 78 */ li r0, 0x1278 /* 80227ADC 00224A3C DB 41 12 70 */ stfd f26, 0x1270(r1) /* 80227AE0 00224A40 13 41 00 0E */ psq_stx f26, r1, r0, 0, qr0 /* 80227AE4 00224A44 BF 41 12 58 */ stmw r26, 0x1258(r1) /* 80227AE8 00224A48 88 03 04 00 */ lbz r0, 0x400(r3) /* 80227AEC 00224A4C 7C 7C 1B 78 */ mr r28, r3 /* 80227AF0 00224A50 7C 9D 23 78 */ mr r29, r4 /* 80227AF4 00224A54 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80227AF8 00224A58 41 82 06 84 */ beq lbl_8022817C /* 80227AFC 00224A5C A0 1C 07 9C */ lhz r0, 0x79c(r28) /* 80227B00 00224A60 7F A3 EB 78 */ mr r3, r29 /* 80227B04 00224A64 38 81 00 0C */ addi r4, r1, 0xc /* 80227B08 00224A68 B0 01 00 0C */ sth r0, 0xc(r1) /* 80227B0C 00224A6C 4B E2 4A 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80227B10 00224A70 7C 64 1B 78 */ mr r4, r3 /* 80227B14 00224A74 38 61 00 10 */ addi r3, r1, 0x10 /* 80227B18 00224A78 4B E8 78 35 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80227B1C 00224A7C 80 A3 00 04 */ lwz r5, 4(r3) /* 80227B20 00224A80 28 05 00 00 */ cmplwi r5, 0 /* 80227B24 00224A84 41 82 06 58 */ beq lbl_8022817C /* 80227B28 00224A88 C0 45 00 60 */ lfs f2, 0x60(r5) /* 80227B2C 00224A8C 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 80227B30 00224A90 C0 25 00 50 */ lfs f1, 0x50(r5) /* 80227B34 00224A94 38 81 01 04 */ addi r4, r1, 0x104 /* 80227B38 00224A98 C0 05 00 40 */ lfs f0, 0x40(r5) /* 80227B3C 00224A9C 38 A1 00 F8 */ addi r5, r1, 0xf8 /* 80227B40 00224AA0 D0 01 01 4C */ stfs f0, 0x14c(r1) /* 80227B44 00224AA4 D0 21 01 50 */ stfs f1, 0x150(r1) /* 80227B48 00224AA8 D0 41 01 54 */ stfs f2, 0x154(r1) /* 80227B4C 00224AAC C0 7C 05 F4 */ lfs f3, 0x5f4(r28) /* 80227B50 00224AB0 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 80227B54 00224AB4 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 80227B58 00224AB8 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 80227B5C 00224ABC EF E2 18 2A */ fadds f31, f2, f3 /* 80227B60 00224AC0 EF C1 18 2A */ fadds f30, f1, f3 /* 80227B64 00224AC4 EF A0 18 2A */ fadds f29, f0, f3 /* 80227B68 00224AC8 EF 80 18 28 */ fsubs f28, f0, f3 /* 80227B6C 00224ACC D3 E1 01 00 */ stfs f31, 0x100(r1) /* 80227B70 00224AD0 EF 61 18 28 */ fsubs f27, f1, f3 /* 80227B74 00224AD4 EF 42 18 28 */ fsubs f26, f2, f3 /* 80227B78 00224AD8 D3 A1 00 F8 */ stfs f29, 0xf8(r1) /* 80227B7C 00224ADC D3 C1 00 FC */ stfs f30, 0xfc(r1) /* 80227B80 00224AE0 D3 81 01 04 */ stfs f28, 0x104(r1) /* 80227B84 00224AE4 D3 61 01 08 */ stfs f27, 0x108(r1) /* 80227B88 00224AE8 D3 41 01 0C */ stfs f26, 0x10c(r1) /* 80227B8C 00224AEC 48 11 09 7D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 80227B90 00224AF0 80 AD 95 B0 */ lwz r5, lbl_805A8170@sda21(r13) /* 80227B94 00224AF4 38 60 00 00 */ li r3, 0 /* 80227B98 00224AF8 38 80 00 01 */ li r4, 1 /* 80227B9C 00224AFC 48 16 23 59 */ bl __shl2i /* 80227BA0 00224B00 38 00 00 00 */ li r0, 0 /* 80227BA4 00224B04 39 00 00 01 */ li r8, 1 /* 80227BA8 00224B08 90 81 01 BC */ stw r4, 0x1bc(r1) /* 80227BAC 00224B0C 38 81 0A 4C */ addi r4, r1, 0xa4c /* 80227BB0 00224B10 38 A1 01 D0 */ addi r5, r1, 0x1d0 /* 80227BB4 00224B14 38 C1 01 B8 */ addi r6, r1, 0x1b8 /* 80227BB8 00224B18 90 61 01 B8 */ stw r3, 0x1b8(r1) /* 80227BBC 00224B1C 7F A3 EB 78 */ mr r3, r29 /* 80227BC0 00224B20 38 E0 00 00 */ li r7, 0 /* 80227BC4 00224B24 91 01 01 80 */ stw r8, 0x180(r1) /* 80227BC8 00224B28 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 80227BCC 00224B2C 90 01 01 C0 */ stw r0, 0x1c0(r1) /* 80227BD0 00224B30 91 01 01 C8 */ stw r8, 0x1c8(r1) /* 80227BD4 00224B34 90 01 0A 4C */ stw r0, 0xa4c(r1) /* 80227BD8 00224B38 4B E2 4B 49 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 80227BDC 00224B3C 80 01 0A 4C */ lwz r0, 0xa4c(r1) /* 80227BE0 00224B40 2C 00 00 00 */ cmpwi r0, 0 /* 80227BE4 00224B44 41 82 05 44 */ beq lbl_80228128 /* 80227BE8 00224B48 D3 A1 00 E0 */ stfs f29, 0xe0(r1) /* 80227BEC 00224B4C 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 80227BF0 00224B50 38 81 00 EC */ addi r4, r1, 0xec /* 80227BF4 00224B54 38 A1 00 E0 */ addi r5, r1, 0xe0 /* 80227BF8 00224B58 D3 C1 00 E4 */ stfs f30, 0xe4(r1) /* 80227BFC 00224B5C D3 E1 00 E8 */ stfs f31, 0xe8(r1) /* 80227C00 00224B60 D3 81 00 EC */ stfs f28, 0xec(r1) /* 80227C04 00224B64 D3 61 00 F0 */ stfs f27, 0xf0(r1) /* 80227C08 00224B68 D3 41 00 F4 */ stfs f26, 0xf4(r1) /* 80227C0C 00224B6C 48 11 08 FD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 80227C10 00224B70 80 AD 95 B4 */ lwz r5, lbl_805A8174@sda21(r13) /* 80227C14 00224B74 38 60 00 00 */ li r3, 0 /* 80227C18 00224B78 38 80 00 01 */ li r4, 1 /* 80227C1C 00224B7C 48 16 22 D9 */ bl __shl2i /* 80227C20 00224B80 38 00 00 00 */ li r0, 0 /* 80227C24 00224B84 39 00 00 01 */ li r8, 1 /* 80227C28 00224B88 90 81 01 8C */ stw r4, 0x18c(r1) /* 80227C2C 00224B8C 38 81 02 48 */ addi r4, r1, 0x248 /* 80227C30 00224B90 38 A1 01 A0 */ addi r5, r1, 0x1a0 /* 80227C34 00224B94 38 C1 01 88 */ addi r6, r1, 0x188 /* 80227C38 00224B98 90 61 01 88 */ stw r3, 0x188(r1) /* 80227C3C 00224B9C 7F A3 EB 78 */ mr r3, r29 /* 80227C40 00224BA0 38 E0 00 00 */ li r7, 0 /* 80227C44 00224BA4 91 01 01 68 */ stw r8, 0x168(r1) /* 80227C48 00224BA8 90 01 01 94 */ stw r0, 0x194(r1) /* 80227C4C 00224BAC 90 01 01 90 */ stw r0, 0x190(r1) /* 80227C50 00224BB0 91 01 01 98 */ stw r8, 0x198(r1) /* 80227C54 00224BB4 90 01 02 48 */ stw r0, 0x248(r1) /* 80227C58 00224BB8 4B E2 4A C9 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 80227C5C 00224BBC 3B E1 0A 50 */ addi r31, r1, 0xa50 /* 80227C60 00224BC0 7F FE FB 78 */ mr r30, r31 /* 80227C64 00224BC4 48 00 04 5C */ b lbl_802280C0 lbl_80227C68: /* 80227C68 00224BC8 A0 1E 00 00 */ lhz r0, 0(r30) /* 80227C6C 00224BCC 7F A3 EB 78 */ mr r3, r29 /* 80227C70 00224BD0 38 81 00 08 */ addi r4, r1, 8 /* 80227C74 00224BD4 B0 01 00 08 */ sth r0, 8(r1) /* 80227C78 00224BD8 4B E2 48 FD */ bl ObjectById__13CStateManagerF9TUniqueId /* 80227C7C 00224BDC 7C 64 1B 78 */ mr r4, r3 /* 80227C80 00224BE0 38 61 00 18 */ addi r3, r1, 0x18 /* 80227C84 00224BE4 4B E8 5A 89 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 80227C88 00224BE8 83 43 00 04 */ lwz r26, 4(r3) /* 80227C8C 00224BEC 28 1A 00 00 */ cmplwi r26, 0 /* 80227C90 00224BF0 41 82 04 2C */ beq lbl_802280BC /* 80227C94 00224BF4 80 1A 00 F0 */ lwz r0, 0xf0(r26) /* 80227C98 00224BF8 2C 00 00 06 */ cmpwi r0, 6 /* 80227C9C 00224BFC 41 82 04 20 */ beq lbl_802280BC /* 80227CA0 00224C00 80 7D 08 4C */ lwz r3, 0x84c(r29) /* 80227CA4 00224C04 A0 9A 00 EC */ lhz r4, 0xec(r26) /* 80227CA8 00224C08 A0 03 00 08 */ lhz r0, 8(r3) /* 80227CAC 00224C0C 7C 04 00 40 */ cmplw r4, r0 /* 80227CB0 00224C10 40 82 04 0C */ bne lbl_802280BC /* 80227CB4 00224C14 80 7A 00 04 */ lwz r3, 4(r26) /* 80227CB8 00224C18 80 1C 00 04 */ lwz r0, 4(r28) /* 80227CBC 00224C1C 7C 03 00 00 */ cmpw r3, r0 /* 80227CC0 00224C20 40 82 03 FC */ bne lbl_802280BC /* 80227CC4 00224C24 C0 01 01 50 */ lfs f0, 0x150(r1) /* 80227CC8 00224C28 C0 DA 00 50 */ lfs f6, 0x50(r26) /* 80227CCC 00224C2C C0 21 01 54 */ lfs f1, 0x154(r1) /* 80227CD0 00224C30 C0 BA 00 60 */ lfs f5, 0x60(r26) /* 80227CD4 00224C34 ED 00 30 28 */ fsubs f8, f0, f6 /* 80227CD8 00224C38 C0 9A 00 40 */ lfs f4, 0x40(r26) /* 80227CDC 00224C3C C0 01 01 4C */ lfs f0, 0x14c(r1) /* 80227CE0 00224C40 EC E1 28 28 */ fsubs f7, f1, f5 /* 80227CE4 00224C44 D1 01 01 44 */ stfs f8, 0x144(r1) /* 80227CE8 00224C48 EC 60 20 28 */ fsubs f3, f0, f4 /* 80227CEC 00224C4C C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 80227CF0 00224C50 D0 E1 01 48 */ stfs f7, 0x148(r1) /* 80227CF4 00224C54 D0 61 01 40 */ stfs f3, 0x140(r1) /* 80227CF8 00224C58 C1 3C 00 48 */ lfs f9, 0x48(r28) /* 80227CFC 00224C5C C0 5C 00 38 */ lfs f2, 0x38(r28) /* 80227D00 00224C60 EC 29 02 32 */ fmuls f1, f9, f8 /* 80227D04 00224C64 C1 1C 00 58 */ lfs f8, 0x58(r28) /* 80227D08 00224C68 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 80227D0C 00224C6C EC 22 08 FA */ fmadds f1, f2, f3, f1 /* 80227D10 00224C70 D1 21 00 D8 */ stfs f9, 0xd8(r1) /* 80227D14 00224C74 D1 01 00 DC */ stfs f8, 0xdc(r1) /* 80227D18 00224C78 EC 28 09 FA */ fmadds f1, f8, f7, f1 /* 80227D1C 00224C7C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80227D20 00224C80 40 80 03 8C */ bge lbl_802280AC /* 80227D24 00224C84 C0 5A 02 9C */ lfs f2, 0x29c(r26) /* 80227D28 00224C88 38 61 00 C8 */ addi r3, r1, 0xc8 /* 80227D2C 00224C8C C0 3A 02 A0 */ lfs f1, 0x2a0(r26) /* 80227D30 00224C90 C0 1A 02 98 */ lfs f0, 0x298(r26) /* 80227D34 00224C94 EC 46 10 28 */ fsubs f2, f6, f2 /* 80227D38 00224C98 EC 25 08 28 */ fsubs f1, f5, f1 /* 80227D3C 00224C9C EC 04 00 28 */ fsubs f0, f4, f0 /* 80227D40 00224CA0 D0 41 00 CC */ stfs f2, 0xcc(r1) /* 80227D44 00224CA4 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 80227D48 00224CA8 D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 80227D4C 00224CAC 48 0E C9 AD */ bl CanBeNormalized__9CVector3fCFv /* 80227D50 00224CB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80227D54 00224CB4 41 82 03 58 */ beq lbl_802280AC /* 80227D58 00224CB8 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 80227D5C 00224CBC 7F 83 E3 78 */ mr r3, r28 /* 80227D60 00224CC0 C0 3A 00 50 */ lfs f1, 0x50(r26) /* 80227D64 00224CC4 7F A4 EB 78 */ mr r4, r29 /* 80227D68 00224CC8 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 80227D6C 00224CCC 38 A1 02 48 */ addi r5, r1, 0x248 /* 80227D70 00224CD0 38 C1 00 BC */ addi r6, r1, 0xbc /* 80227D74 00224CD4 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 80227D78 00224CD8 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 80227D7C 00224CDC D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 80227D80 00224CE0 4B FF F9 3D */ bl sub_802276bc /* 80227D84 00224CE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80227D88 00224CE8 41 82 03 24 */ beq lbl_802280AC /* 80227D8C 00224CEC 38 61 01 40 */ addi r3, r1, 0x140 /* 80227D90 00224CF0 48 0E CB 29 */ bl Magnitude__9CVector3fCFv /* 80227D94 00224CF4 C0 9A 00 50 */ lfs f4, 0x50(r26) /* 80227D98 00224CF8 FF E0 08 90 */ fmr f31, f1 /* 80227D9C 00224CFC C0 1A 02 9C */ lfs f0, 0x29c(r26) /* 80227DA0 00224D00 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80227DA4 00224D04 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 80227DA8 00224D08 38 81 00 A4 */ addi r4, r1, 0xa4 /* 80227DAC 00224D0C C0 5A 02 A0 */ lfs f2, 0x2a0(r26) /* 80227DB0 00224D10 C0 3A 00 40 */ lfs f1, 0x40(r26) /* 80227DB4 00224D14 EC 84 00 28 */ fsubs f4, f4, f0 /* 80227DB8 00224D18 C0 1A 02 98 */ lfs f0, 0x298(r26) /* 80227DBC 00224D1C EC 43 10 28 */ fsubs f2, f3, f2 /* 80227DC0 00224D20 EC 01 00 28 */ fsubs f0, f1, f0 /* 80227DC4 00224D24 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 80227DC8 00224D28 D0 41 00 AC */ stfs f2, 0xac(r1) /* 80227DCC 00224D2C D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 80227DD0 00224D30 48 0E CA 81 */ bl AsNormalized__9CVector3fCFv /* 80227DD4 00224D34 C0 02 B5 BC */ lfs f0, lbl_805AD2DC@sda21(r2) /* 80227DD8 00224D38 3B 7A 01 70 */ addi r27, r26, 0x170 /* 80227DDC 00224D3C C0 42 B5 D0 */ lfs f2, lbl_805AD2F0@sda21(r2) /* 80227DE0 00224D40 38 61 00 98 */ addi r3, r1, 0x98 /* 80227DE4 00224D44 ED 20 07 F2 */ fmuls f9, f0, f31 /* 80227DE8 00224D48 C0 81 00 B0 */ lfs f4, 0xb0(r1) /* 80227DEC 00224D4C EC 22 07 F2 */ fmuls f1, f2, f31 /* 80227DF0 00224D50 C0 61 00 B4 */ lfs f3, 0xb4(r1) /* 80227DF4 00224D54 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 80227DF8 00224D58 38 81 00 8C */ addi r4, r1, 0x8c /* 80227DFC 00224D5C EC A9 01 32 */ fmuls f5, f9, f4 /* 80227E00 00224D60 C0 DA 00 40 */ lfs f6, 0x40(r26) /* 80227E04 00224D64 EC 69 00 F2 */ fmuls f3, f9, f3 /* 80227E08 00224D68 C1 1A 00 50 */ lfs f8, 0x50(r26) /* 80227E0C 00224D6C C0 FA 00 60 */ lfs f7, 0x60(r26) /* 80227E10 00224D70 EC 09 00 32 */ fmuls f0, f9, f0 /* 80227E14 00224D74 ED 48 18 2A */ fadds f10, f8, f3 /* 80227E18 00224D78 C0 61 01 50 */ lfs f3, 0x150(r1) /* 80227E1C 00224D7C C0 82 B5 B8 */ lfs f4, lbl_805AD2D8@sda21(r2) /* 80227E20 00224D80 ED 27 00 2A */ fadds f9, f7, f0 /* 80227E24 00224D84 C0 01 01 4C */ lfs f0, 0x14c(r1) /* 80227E28 00224D88 EC A6 28 2A */ fadds f5, f6, f5 /* 80227E2C 00224D8C ED 63 20 2A */ fadds f11, f3, f4 /* 80227E30 00224D90 C0 61 01 54 */ lfs f3, 0x154(r1) /* 80227E34 00224D94 EC 42 00 72 */ fmuls f2, f2, f1 /* 80227E38 00224D98 D0 A1 01 34 */ stfs f5, 0x134(r1) /* 80227E3C 00224D9C EC 00 20 2A */ fadds f0, f0, f4 /* 80227E40 00224DA0 C0 22 B5 D4 */ lfs f1, lbl_805AD2F4@sda21(r2) /* 80227E44 00224DA4 EC 43 10 2A */ fadds f2, f3, f2 /* 80227E48 00224DA8 D1 41 01 38 */ stfs f10, 0x138(r1) /* 80227E4C 00224DAC 38 A1 01 34 */ addi r5, r1, 0x134 /* 80227E50 00224DB0 38 C1 01 28 */ addi r6, r1, 0x128 /* 80227E54 00224DB4 D1 21 01 3C */ stfs f9, 0x13c(r1) /* 80227E58 00224DB8 38 E1 01 4C */ addi r7, r1, 0x14c /* 80227E5C 00224DBC D0 01 01 28 */ stfs f0, 0x128(r1) /* 80227E60 00224DC0 D1 61 01 2C */ stfs f11, 0x12c(r1) /* 80227E64 00224DC4 D0 41 01 30 */ stfs f2, 0x130(r1) /* 80227E68 00224DC8 D0 C1 00 8C */ stfs f6, 0x8c(r1) /* 80227E6C 00224DCC D1 01 00 90 */ stfs f8, 0x90(r1) /* 80227E70 00224DD0 D0 E1 00 94 */ stfs f7, 0x94(r1) /* 80227E74 00224DD4 48 0E D0 A5 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 80227E78 00224DD8 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 80227E7C 00224DDC 38 61 00 80 */ addi r3, r1, 0x80 /* 80227E80 00224DE0 C0 3A 00 50 */ lfs f1, 0x50(r26) /* 80227E84 00224DE4 38 81 00 74 */ addi r4, r1, 0x74 /* 80227E88 00224DE8 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 80227E8C 00224DEC 38 A1 01 34 */ addi r5, r1, 0x134 /* 80227E90 00224DF0 C3 E1 00 98 */ lfs f31, 0x98(r1) /* 80227E94 00224DF4 38 C1 01 28 */ addi r6, r1, 0x128 /* 80227E98 00224DF8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 80227E9C 00224DFC 38 E1 01 4C */ addi r7, r1, 0x14c /* 80227EA0 00224E00 C3 A1 00 9C */ lfs f29, 0x9c(r1) /* 80227EA4 00224E04 D0 21 00 78 */ stfs f1, 0x78(r1) /* 80227EA8 00224E08 C3 C1 00 A0 */ lfs f30, 0xa0(r1) /* 80227EAC 00224E0C D0 41 00 7C */ stfs f2, 0x7c(r1) /* 80227EB0 00224E10 C0 22 B5 D8 */ lfs f1, lbl_805AD2F8@sda21(r2) /* 80227EB4 00224E14 48 0E D0 65 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 80227EB8 00224E18 C0 C1 00 84 */ lfs f6, 0x84(r1) /* 80227EBC 00224E1C 38 61 00 50 */ addi r3, r1, 0x50 /* 80227EC0 00224E20 C0 E1 00 88 */ lfs f7, 0x88(r1) /* 80227EC4 00224E24 C0 A1 00 80 */ lfs f5, 0x80(r1) /* 80227EC8 00224E28 EC 06 E8 28 */ fsubs f0, f6, f29 /* 80227ECC 00224E2C EC 67 F0 28 */ fsubs f3, f7, f30 /* 80227ED0 00224E30 C0 41 01 50 */ lfs f2, 0x150(r1) /* 80227ED4 00224E34 EC 85 F8 28 */ fsubs f4, f5, f31 /* 80227ED8 00224E38 C0 21 01 54 */ lfs f1, 0x154(r1) /* 80227EDC 00224E3C D0 01 00 54 */ stfs f0, 0x54(r1) /* 80227EE0 00224E40 C0 01 01 4C */ lfs f0, 0x14c(r1) /* 80227EE4 00224E44 D0 81 00 50 */ stfs f4, 0x50(r1) /* 80227EE8 00224E48 EC C2 30 28 */ fsubs f6, f2, f6 /* 80227EEC 00224E4C EC 81 38 28 */ fsubs f4, f1, f7 /* 80227EF0 00224E50 D0 61 00 58 */ stfs f3, 0x58(r1) /* 80227EF4 00224E54 EC 00 28 28 */ fsubs f0, f0, f5 /* 80227EF8 00224E58 C0 7A 00 50 */ lfs f3, 0x50(r26) /* 80227EFC 00224E5C C0 5A 00 60 */ lfs f2, 0x60(r26) /* 80227F00 00224E60 C0 3A 00 40 */ lfs f1, 0x40(r26) /* 80227F04 00224E64 EC 7D 18 28 */ fsubs f3, f29, f3 /* 80227F08 00224E68 EC 5E 10 28 */ fsubs f2, f30, f2 /* 80227F0C 00224E6C EC 3F 08 28 */ fsubs f1, f31, f1 /* 80227F10 00224E70 D0 01 00 68 */ stfs f0, 0x68(r1) /* 80227F14 00224E74 D0 61 00 60 */ stfs f3, 0x60(r1) /* 80227F18 00224E78 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 80227F1C 00224E7C D0 41 00 64 */ stfs f2, 0x64(r1) /* 80227F20 00224E80 D0 C1 00 6C */ stfs f6, 0x6c(r1) /* 80227F24 00224E84 D0 81 00 70 */ stfs f4, 0x70(r1) /* 80227F28 00224E88 48 0E C9 91 */ bl Magnitude__9CVector3fCFv /* 80227F2C 00224E8C FF E0 08 90 */ fmr f31, f1 /* 80227F30 00224E90 38 61 00 5C */ addi r3, r1, 0x5c /* 80227F34 00224E94 48 0E C9 85 */ bl Magnitude__9CVector3fCFv /* 80227F38 00224E98 EF E1 F8 2A */ fadds f31, f1, f31 /* 80227F3C 00224E9C 38 61 00 68 */ addi r3, r1, 0x68 /* 80227F40 00224EA0 48 0E C9 79 */ bl Magnitude__9CVector3fCFv /* 80227F44 00224EA4 C0 9A 00 50 */ lfs f4, 0x50(r26) /* 80227F48 00224EA8 EF 41 F8 2A */ fadds f26, f1, f31 /* 80227F4C 00224EAC C0 1A 02 9C */ lfs f0, 0x29c(r26) /* 80227F50 00224EB0 38 61 00 44 */ addi r3, r1, 0x44 /* 80227F54 00224EB4 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 80227F58 00224EB8 C0 5A 02 A0 */ lfs f2, 0x2a0(r26) /* 80227F5C 00224EBC EC 84 00 28 */ fsubs f4, f4, f0 /* 80227F60 00224EC0 C0 3A 00 40 */ lfs f1, 0x40(r26) /* 80227F64 00224EC4 C0 1A 02 98 */ lfs f0, 0x298(r26) /* 80227F68 00224EC8 EC 43 10 28 */ fsubs f2, f3, f2 /* 80227F6C 00224ECC EC 01 00 28 */ fsubs f0, f1, f0 /* 80227F70 00224ED0 D0 81 00 48 */ stfs f4, 0x48(r1) /* 80227F74 00224ED4 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80227F78 00224ED8 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80227F7C 00224EDC 48 0E C9 3D */ bl Magnitude__9CVector3fCFv /* 80227F80 00224EE0 EC 21 D0 24 */ fdivs f1, f1, f26 /* 80227F84 00224EE4 C0 7A 00 60 */ lfs f3, 0x60(r26) /* 80227F88 00224EE8 C0 5A 00 50 */ lfs f2, 0x50(r26) /* 80227F8C 00224EEC 38 61 00 38 */ addi r3, r1, 0x38 /* 80227F90 00224EF0 C0 1A 00 40 */ lfs f0, 0x40(r26) /* 80227F94 00224EF4 38 81 00 2C */ addi r4, r1, 0x2c /* 80227F98 00224EF8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80227F9C 00224EFC 38 A1 01 34 */ addi r5, r1, 0x134 /* 80227FA0 00224F00 38 C1 01 28 */ addi r6, r1, 0x128 /* 80227FA4 00224F04 38 E1 01 4C */ addi r7, r1, 0x14c /* 80227FA8 00224F08 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80227FAC 00224F0C D0 61 00 34 */ stfs f3, 0x34(r1) /* 80227FB0 00224F10 48 0E CF 69 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 80227FB4 00224F14 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 80227FB8 00224F18 38 61 01 1C */ addi r3, r1, 0x11c /* 80227FBC 00224F1C C0 1A 00 50 */ lfs f0, 0x50(r26) /* 80227FC0 00224F20 C0 61 00 40 */ lfs f3, 0x40(r1) /* 80227FC4 00224F24 C0 5A 00 60 */ lfs f2, 0x60(r26) /* 80227FC8 00224F28 EC 81 00 28 */ fsubs f4, f1, f0 /* 80227FCC 00224F2C C0 1A 00 40 */ lfs f0, 0x40(r26) /* 80227FD0 00224F30 C0 21 00 38 */ lfs f1, 0x38(r1) /* 80227FD4 00224F34 EC 43 10 28 */ fsubs f2, f3, f2 /* 80227FD8 00224F38 D0 81 01 20 */ stfs f4, 0x120(r1) /* 80227FDC 00224F3C EC 01 00 28 */ fsubs f0, f1, f0 /* 80227FE0 00224F40 D0 41 01 24 */ stfs f2, 0x124(r1) /* 80227FE4 00224F44 D0 01 01 1C */ stfs f0, 0x11c(r1) /* 80227FE8 00224F48 48 0E C7 11 */ bl CanBeNormalized__9CVector3fCFv /* 80227FEC 00224F4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80227FF0 00224F50 41 82 00 BC */ beq lbl_802280AC /* 80227FF4 00224F54 3C 60 80 5A */ lis r3, skZero3f@ha /* 80227FF8 00224F58 3C A0 80 5A */ lis r5, lbl_805A66F4@ha /* 80227FFC 00224F5C 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 80228000 00224F60 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l /* 80228004 00224F64 38 61 01 E8 */ addi r3, r1, 0x1e8 /* 80228008 00224F68 38 A1 01 1C */ addi r5, r1, 0x11c /* 8022800C 00224F6C 48 0E BB 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80228010 00224F70 38 61 02 18 */ addi r3, r1, 0x218 /* 80228014 00224F74 38 81 01 E8 */ addi r4, r1, 0x1e8 /* 80228018 00224F78 48 0E AB 5D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022801C 00224F7C 38 61 02 18 */ addi r3, r1, 0x218 /* 80228020 00224F80 48 0E B3 85 */ bl Orthonormalize__12CTransform4fFv /* 80228024 00224F84 7F 63 DB 78 */ mr r3, r27 /* 80228028 00224F88 38 81 02 18 */ addi r4, r1, 0x218 /* 8022802C 00224F8C 48 08 84 79 */ bl SetWorldSpaceOrientation__17CProjectileWeaponFRC12CTransform4f /* 80228030 00224F90 7F 63 DB 78 */ mr r3, r27 /* 80228034 00224F94 48 08 71 01 */ bl GetVelocity__17CProjectileWeaponCFv /* 80228038 00224F98 7C 64 1B 78 */ mr r4, r3 /* 8022803C 00224F9C 38 61 00 20 */ addi r3, r1, 0x20 /* 80228040 00224FA0 48 0E C8 11 */ bl AsNormalized__9CVector3fCFv /* 80228044 00224FA4 C0 62 B5 DC */ lfs f3, lbl_805AD2FC@sda21(r2) /* 80228048 00224FA8 7F 63 DB 78 */ mr r3, r27 /* 8022804C 00224FAC C0 41 00 20 */ lfs f2, 0x20(r1) /* 80228050 00224FB0 C0 21 00 24 */ lfs f1, 0x24(r1) /* 80228054 00224FB4 C0 01 00 28 */ lfs f0, 0x28(r1) /* 80228058 00224FB8 EF A3 00 B2 */ fmuls f29, f3, f2 /* 8022805C 00224FBC EF C3 00 72 */ fmuls f30, f3, f1 /* 80228060 00224FC0 EF E3 00 32 */ fmuls f31, f3, f0 /* 80228064 00224FC4 48 08 70 D1 */ bl GetVelocity__17CProjectileWeaponCFv /* 80228068 00224FC8 C0 02 B5 E4 */ lfs f0, lbl_805AD304@sda21(r2) /* 8022806C 00224FCC 38 81 01 10 */ addi r4, r1, 0x110 /* 80228070 00224FD0 C0 C3 00 04 */ lfs f6, 4(r3) /* 80228074 00224FD4 EC 9E 00 32 */ fmuls f4, f30, f0 /* 80228078 00224FD8 C0 A2 B5 E0 */ lfs f5, lbl_805AD300@sda21(r2) /* 8022807C 00224FDC EC 5F 00 32 */ fmuls f2, f31, f0 /* 80228080 00224FE0 C0 63 00 08 */ lfs f3, 8(r3) /* 80228084 00224FE4 C0 23 00 00 */ lfs f1, 0(r3) /* 80228088 00224FE8 EC 1D 00 32 */ fmuls f0, f29, f0 /* 8022808C 00224FEC EC 86 21 7A */ fmadds f4, f6, f5, f4 /* 80228090 00224FF0 7F 63 DB 78 */ mr r3, r27 /* 80228094 00224FF4 EC 43 11 7A */ fmadds f2, f3, f5, f2 /* 80228098 00224FF8 EC 01 01 7A */ fmadds f0, f1, f5, f0 /* 8022809C 00224FFC D0 81 01 14 */ stfs f4, 0x114(r1) /* 802280A0 00225000 D0 01 01 10 */ stfs f0, 0x110(r1) /* 802280A4 00225004 D0 41 01 18 */ stfs f2, 0x118(r1) /* 802280A8 00225008 48 08 70 95 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f lbl_802280AC: /* 802280AC 0022500C 7F 83 E3 78 */ mr r3, r28 /* 802280B0 00225010 7F A5 EB 78 */ mr r5, r29 /* 802280B4 00225014 38 80 00 01 */ li r4, 1 /* 802280B8 00225018 4B FF F4 E5 */ bl sub_8022759c lbl_802280BC: /* 802280BC 0022501C 3B DE 00 02 */ addi r30, r30, 2 lbl_802280C0: /* 802280C0 00225020 80 01 0A 4C */ lwz r0, 0xa4c(r1) /* 802280C4 00225024 54 00 08 3C */ slwi r0, r0, 1 /* 802280C8 00225028 7C 1F 02 14 */ add r0, r31, r0 /* 802280CC 0022502C 7C 1E 00 40 */ cmplw r30, r0 /* 802280D0 00225030 40 82 FB 98 */ bne lbl_80227C68 /* 802280D4 00225034 80 A1 02 48 */ lwz r5, 0x248(r1) /* 802280D8 00225038 38 60 00 00 */ li r3, 0 /* 802280DC 0022503C 2C 05 00 00 */ cmpwi r5, 0 /* 802280E0 00225040 40 81 00 40 */ ble lbl_80228120 /* 802280E4 00225044 2C 05 00 08 */ cmpwi r5, 8 /* 802280E8 00225048 38 85 FF F8 */ addi r4, r5, -8 /* 802280EC 0022504C 40 81 00 20 */ ble lbl_8022810C /* 802280F0 00225050 38 04 00 07 */ addi r0, r4, 7 /* 802280F4 00225054 54 00 E8 FE */ srwi r0, r0, 3 /* 802280F8 00225058 7C 09 03 A6 */ mtctr r0 /* 802280FC 0022505C 2C 04 00 00 */ cmpwi r4, 0 /* 80228100 00225060 40 81 00 0C */ ble lbl_8022810C lbl_80228104: /* 80228104 00225064 38 63 00 08 */ addi r3, r3, 8 /* 80228108 00225068 42 00 FF FC */ bdnz lbl_80228104 lbl_8022810C: /* 8022810C 0022506C 7C 03 28 50 */ subf r0, r3, r5 /* 80228110 00225070 7C 09 03 A6 */ mtctr r0 /* 80228114 00225074 7C 03 28 00 */ cmpw r3, r5 /* 80228118 00225078 40 80 00 08 */ bge lbl_80228120 lbl_8022811C: /* 8022811C 0022507C 42 00 00 00 */ bdnz lbl_8022811C lbl_80228120: /* 80228120 00225080 38 00 00 00 */ li r0, 0 /* 80228124 00225084 90 01 02 48 */ stw r0, 0x248(r1) lbl_80228128: /* 80228128 00225088 80 A1 0A 4C */ lwz r5, 0xa4c(r1) /* 8022812C 0022508C 38 60 00 00 */ li r3, 0 /* 80228130 00225090 2C 05 00 00 */ cmpwi r5, 0 /* 80228134 00225094 40 81 00 40 */ ble lbl_80228174 /* 80228138 00225098 2C 05 00 08 */ cmpwi r5, 8 /* 8022813C 0022509C 38 85 FF F8 */ addi r4, r5, -8 /* 80228140 002250A0 40 81 00 20 */ ble lbl_80228160 /* 80228144 002250A4 38 04 00 07 */ addi r0, r4, 7 /* 80228148 002250A8 54 00 E8 FE */ srwi r0, r0, 3 /* 8022814C 002250AC 7C 09 03 A6 */ mtctr r0 /* 80228150 002250B0 2C 04 00 00 */ cmpwi r4, 0 /* 80228154 002250B4 40 81 00 0C */ ble lbl_80228160 lbl_80228158: /* 80228158 002250B8 38 63 00 08 */ addi r3, r3, 8 /* 8022815C 002250BC 42 00 FF FC */ bdnz lbl_80228158 lbl_80228160: /* 80228160 002250C0 7C 03 28 50 */ subf r0, r3, r5 /* 80228164 002250C4 7C 09 03 A6 */ mtctr r0 /* 80228168 002250C8 7C 03 28 00 */ cmpw r3, r5 /* 8022816C 002250CC 40 80 00 08 */ bge lbl_80228174 lbl_80228170: /* 80228170 002250D0 42 00 00 00 */ bdnz lbl_80228170 lbl_80228174: /* 80228174 002250D4 38 00 00 00 */ li r0, 0 /* 80228178 002250D8 90 01 0A 4C */ stw r0, 0xa4c(r1) lbl_8022817C: /* 8022817C 002250DC 38 00 12 C8 */ li r0, 0x12c8 /* 80228180 002250E0 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 80228184 002250E4 CB E1 12 C0 */ lfd f31, 0x12c0(r1) /* 80228188 002250E8 38 00 12 B8 */ li r0, 0x12b8 /* 8022818C 002250EC 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 /* 80228190 002250F0 CB C1 12 B0 */ lfd f30, 0x12b0(r1) /* 80228194 002250F4 38 00 12 A8 */ li r0, 0x12a8 /* 80228198 002250F8 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 /* 8022819C 002250FC CB A1 12 A0 */ lfd f29, 0x12a0(r1) /* 802281A0 00225100 38 00 12 98 */ li r0, 0x1298 /* 802281A4 00225104 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 /* 802281A8 00225108 CB 81 12 90 */ lfd f28, 0x1290(r1) /* 802281AC 0022510C 38 00 12 88 */ li r0, 0x1288 /* 802281B0 00225110 13 61 00 0C */ psq_lx f27, r1, r0, 0, qr0 /* 802281B4 00225114 CB 61 12 80 */ lfd f27, 0x1280(r1) /* 802281B8 00225118 38 00 12 78 */ li r0, 0x1278 /* 802281BC 0022511C 13 41 00 0C */ psq_lx f26, r1, r0, 0, qr0 /* 802281C0 00225120 CB 41 12 70 */ lfd f26, 0x1270(r1) /* 802281C4 00225124 BB 41 12 58 */ lmw r26, 0x1258(r1) /* 802281C8 00225128 80 01 12 D4 */ lwz r0, 0x12d4(r1) /* 802281CC 0022512C 7C 08 03 A6 */ mtlr r0 /* 802281D0 00225130 38 21 12 D0 */ addi r1, r1, 0x12d0 /* 802281D4 00225134 4E 80 00 20 */ blr .global sub_802281d8 sub_802281d8: /* 802281D8 00225138 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802281DC 0022513C 7C 08 02 A6 */ mflr r0 /* 802281E0 00225140 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 802281E4 00225144 90 01 00 94 */ stw r0, 0x94(r1) /* 802281E8 00225148 BF 41 00 78 */ stmw r26, 0x78(r1) /* 802281EC 0022514C 7C 7D 1B 78 */ mr r29, r3 /* 802281F0 00225150 7C 9E 23 78 */ mr r30, r4 /* 802281F4 00225154 7C BB 2B 78 */ mr r27, r5 /* 802281F8 00225158 C0 23 07 AC */ lfs f1, 0x7ac(r3) /* 802281FC 0022515C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80228200 00225160 4C 40 13 82 */ cror 2, 0, 2 /* 80228204 00225164 40 82 01 90 */ bne lbl_80228394 /* 80228208 00225168 3C 60 80 3D */ lis r3, lbl_803D3310@ha /* 8022820C 0022516C 3B 80 00 00 */ li r28, 0 /* 80228210 00225170 38 63 33 10 */ addi r3, r3, lbl_803D3310@l /* 80228214 00225174 3B 40 00 00 */ li r26, 0 /* 80228218 00225178 38 83 00 B8 */ addi r4, r3, 0xb8 /* 8022821C 0022517C 38 60 01 00 */ li r3, 0x100 /* 80228220 00225180 38 A0 00 00 */ li r5, 0 /* 80228224 00225184 48 0E D6 49 */ bl __nw__FUlPCcPCc /* 80228228 00225188 7C 7F 1B 79 */ or. r31, r3, r3 /* 8022822C 0022518C 41 82 00 B4 */ beq lbl_802282E0 /* 80228230 00225190 80 BD 00 64 */ lwz r5, 0x64(r29) /* 80228234 00225194 3C 60 80 3D */ lis r3, lbl_803D3310@ha /* 80228238 00225198 38 83 33 10 */ addi r4, r3, lbl_803D3310@l /* 8022823C 0022519C 38 61 00 44 */ addi r3, r1, 0x44 /* 80228240 002251A0 C0 05 00 00 */ lfs f0, 0(r5) /* 80228244 002251A4 38 84 00 BF */ addi r4, r4, 0xbf /* 80228248 002251A8 D0 01 00 54 */ stfs f0, 0x54(r1) /* 8022824C 002251AC C0 05 00 04 */ lfs f0, 4(r5) /* 80228250 002251B0 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80228254 002251B4 C0 05 00 08 */ lfs f0, 8(r5) /* 80228258 002251B8 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 8022825C 002251BC 4B DD CA 5D */ bl string_l__4rstlFPCc /* 80228260 002251C0 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 80228264 002251C4 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80228268 002251C8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 8022826C 002251CC 38 81 00 30 */ addi r4, r1, 0x30 /* 80228270 002251D0 90 01 00 34 */ stw r0, 0x34(r1) /* 80228274 002251D4 38 61 00 60 */ addi r3, r1, 0x60 /* 80228278 002251D8 38 C1 00 34 */ addi r6, r1, 0x34 /* 8022827C 002251DC 3B 80 00 01 */ li r28, 1 /* 80228280 002251E0 80 1D 00 04 */ lwz r0, 4(r29) /* 80228284 002251E4 90 01 00 2C */ stw r0, 0x2c(r1) /* 80228288 002251E8 90 01 00 30 */ stw r0, 0x30(r1) /* 8022828C 002251EC 4B E2 91 F9 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80228290 002251F0 7F C4 F3 78 */ mr r4, r30 /* 80228294 002251F4 38 61 00 10 */ addi r3, r1, 0x10 /* 80228298 002251F8 3B 40 00 01 */ li r26, 1 /* 8022829C 002251FC 4B E2 4E 41 */ bl AllocateUniqueId__13CStateManagerFv /* 802282A0 00225200 A0 01 00 10 */ lhz r0, 0x10(r1) /* 802282A4 00225204 B0 01 00 14 */ sth r0, 0x14(r1) /* 802282A8 00225208 48 12 1D 05 */ bl White__6CColorFv /* 802282AC 0022520C 38 01 00 54 */ addi r0, r1, 0x54 /* 802282B0 00225210 7F 69 DB 78 */ mr r9, r27 /* 802282B4 00225214 90 01 00 08 */ stw r0, 8(r1) /* 802282B8 00225218 38 9D 07 60 */ addi r4, r29, 0x760 /* 802282BC 0022521C 38 A1 00 14 */ addi r5, r1, 0x14 /* 802282C0 00225220 38 E1 00 60 */ addi r7, r1, 0x60 /* 802282C4 00225224 90 61 00 0C */ stw r3, 0xc(r1) /* 802282C8 00225228 7F E3 FB 78 */ mr r3, r31 /* 802282CC 0022522C 39 01 00 44 */ addi r8, r1, 0x44 /* 802282D0 00225230 38 C0 00 01 */ li r6, 1 /* 802282D4 00225234 39 40 00 00 */ li r10, 0 /* 802282D8 00225238 4B E3 28 21 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 802282DC 0022523C 7C 7F 1B 78 */ mr r31, r3 lbl_802282E0: /* 802282E0 00225240 7F 40 07 75 */ extsb. r0, r26 /* 802282E4 00225244 41 82 00 44 */ beq lbl_80228328 /* 802282E8 00225248 80 01 00 68 */ lwz r0, 0x68(r1) /* 802282EC 0022524C 80 61 00 70 */ lwz r3, 0x70(r1) /* 802282F0 00225250 1C 00 00 0C */ mulli r0, r0, 0xc /* 802282F4 00225254 90 61 00 1C */ stw r3, 0x1c(r1) /* 802282F8 00225258 7C 64 1B 78 */ mr r4, r3 /* 802282FC 0022525C 7C 03 02 14 */ add r0, r3, r0 /* 80228300 00225260 90 61 00 18 */ stw r3, 0x18(r1) /* 80228304 00225264 90 01 00 24 */ stw r0, 0x24(r1) /* 80228308 00225268 90 01 00 20 */ stw r0, 0x20(r1) /* 8022830C 0022526C 48 00 00 08 */ b lbl_80228314 lbl_80228310: /* 80228310 00225270 38 84 00 0C */ addi r4, r4, 0xc lbl_80228314: /* 80228314 00225274 7C 04 00 40 */ cmplw r4, r0 /* 80228318 00225278 40 82 FF F8 */ bne lbl_80228310 /* 8022831C 0022527C 28 03 00 00 */ cmplwi r3, 0 /* 80228320 00225280 41 82 00 08 */ beq lbl_80228328 /* 80228324 00225284 48 0E D6 0D */ bl Free__7CMemoryFPCv lbl_80228328: /* 80228328 00225288 7F 80 07 75 */ extsb. r0, r28 /* 8022832C 0022528C 41 82 00 0C */ beq lbl_80228338 /* 80228330 00225290 38 61 00 44 */ addi r3, r1, 0x44 /* 80228334 00225294 48 11 57 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80228338: /* 80228338 00225298 28 1F 00 00 */ cmplwi r31, 0 /* 8022833C 0022529C 41 82 00 58 */ beq lbl_80228394 /* 80228340 002252A0 7F C3 F3 78 */ mr r3, r30 /* 80228344 002252A4 7F E4 FB 78 */ mr r4, r31 /* 80228348 002252A8 4B E2 49 AD */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 8022834C 002252AC 81 5D 00 04 */ lwz r10, 4(r29) /* 80228350 002252B0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80228354 002252B4 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 80228358 002252B8 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 8022835C 002252BC C0 3D 00 50 */ lfs f1, 0x50(r29) /* 80228360 002252C0 38 61 00 28 */ addi r3, r1, 0x28 /* 80228364 002252C4 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80228368 002252C8 38 A1 00 38 */ addi r5, r1, 0x38 /* 8022836C 002252CC A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 80228370 002252D0 38 E0 00 00 */ li r7, 0 /* 80228374 002252D4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80228378 002252D8 39 00 00 00 */ li r8, 0 /* 8022837C 002252DC D0 21 00 3C */ stfs f1, 0x3c(r1) /* 80228380 002252E0 D0 41 00 40 */ stfs f2, 0x40(r1) /* 80228384 002252E4 A0 9D 05 FC */ lhz r4, 0x5fc(r29) /* 80228388 002252E8 48 0C 1F 29 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8022838C 002252EC C0 02 B5 E8 */ lfs f0, lbl_805AD308@sda21(r2) /* 80228390 002252F0 D0 1D 07 AC */ stfs f0, 0x7ac(r29) lbl_80228394: /* 80228394 002252F4 BB 41 00 78 */ lmw r26, 0x78(r1) /* 80228398 002252F8 80 01 00 94 */ lwz r0, 0x94(r1) /* 8022839C 002252FC 7C 08 03 A6 */ mtlr r0 /* 802283A0 00225300 38 21 00 90 */ addi r1, r1, 0x90 /* 802283A4 00225304 4E 80 00 20 */ blr .global sub_802283a8 sub_802283a8: /* 802283A8 00225308 94 21 FE C0 */ stwu r1, -0x140(r1) /* 802283AC 0022530C 7C 08 02 A6 */ mflr r0 /* 802283B0 00225310 90 01 01 44 */ stw r0, 0x144(r1) /* 802283B4 00225314 DB E1 01 30 */ stfd f31, 0x130(r1) /* 802283B8 00225318 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 802283BC 0022531C DB C1 01 20 */ stfd f30, 0x120(r1) /* 802283C0 00225320 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 /* 802283C4 00225324 93 E1 01 1C */ stw r31, 0x11c(r1) /* 802283C8 00225328 93 C1 01 18 */ stw r30, 0x118(r1) /* 802283CC 0022532C 93 A1 01 14 */ stw r29, 0x114(r1) /* 802283D0 00225330 7C 9F 23 78 */ mr r31, r4 /* 802283D4 00225334 7C 7D 1B 78 */ mr r29, r3 /* 802283D8 00225338 83 C4 08 4C */ lwz r30, 0x84c(r4) /* 802283DC 0022533C 38 61 00 24 */ addi r3, r1, 0x24 /* 802283E0 00225340 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 802283E4 00225344 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 802283E8 00225348 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 802283EC 0022534C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 802283F0 00225350 EC 81 00 28 */ fsubs f4, f1, f0 /* 802283F4 00225354 C0 3D 00 40 */ lfs f1, 0x40(r29) /* 802283F8 00225358 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 802283FC 0022535C EC 43 10 28 */ fsubs f2, f3, f2 /* 80228400 00225360 EC 01 00 28 */ fsubs f0, f1, f0 /* 80228404 00225364 D0 81 00 28 */ stfs f4, 0x28(r1) /* 80228408 00225368 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8022840C 0022536C D0 01 00 24 */ stfs f0, 0x24(r1) /* 80228410 00225370 48 0E C4 A9 */ bl Magnitude__9CVector3fCFv /* 80228414 00225374 88 1D 09 88 */ lbz r0, 0x988(r29) /* 80228418 00225378 FF E0 08 90 */ fmr f31, f1 /* 8022841C 0022537C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80228420 00225380 41 82 00 0C */ beq lbl_8022842C /* 80228424 00225384 C3 C2 B5 CC */ lfs f30, lbl_805AD2EC@sda21(r2) /* 80228428 00225388 48 00 00 08 */ b lbl_80228430 lbl_8022842C: /* 8022842C 0022538C C3 C2 B5 E8 */ lfs f30, lbl_805AD308@sda21(r2) lbl_80228430: /* 80228430 00225390 80 9D 00 64 */ lwz r4, 0x64(r29) /* 80228434 00225394 38 61 00 18 */ addi r3, r1, 0x18 /* 80228438 00225398 C0 04 00 00 */ lfs f0, 0(r4) /* 8022843C 0022539C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80228440 002253A0 C0 04 00 04 */ lfs f0, 4(r4) /* 80228444 002253A4 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80228448 002253A8 C0 04 00 08 */ lfs f0, 8(r4) /* 8022844C 002253AC D0 01 00 20 */ stfs f0, 0x20(r1) /* 80228450 002253B0 48 0E C4 69 */ bl Magnitude__9CVector3fCFv /* 80228454 002253B4 EF DE 00 72 */ fmuls f30, f30, f1 /* 80228458 002253B8 C0 22 B5 EC */ lfs f1, lbl_805AD30C@sda21(r2) /* 8022845C 002253BC C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 80228460 002253C0 EF C1 F7 FC */ fnmsubs f30, f1, f31, f30 /* 80228464 002253C4 FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 80228468 002253C8 40 81 01 30 */ ble lbl_80228598 /* 8022846C 002253CC 80 1E 02 B0 */ lwz r0, 0x2b0(r30) /* 80228470 002253D0 2C 00 00 02 */ cmpwi r0, 2 /* 80228474 002253D4 40 82 00 0C */ bne lbl_80228480 /* 80228478 002253D8 80 1E 02 AC */ lwz r0, 0x2ac(r30) /* 8022847C 002253DC 48 00 00 08 */ b lbl_80228484 lbl_80228480: /* 80228480 002253E0 38 00 00 04 */ li r0, 4 lbl_80228484: /* 80228484 002253E4 2C 00 00 01 */ cmpwi r0, 1 /* 80228488 002253E8 41 82 01 10 */ beq lbl_80228598 /* 8022848C 002253EC 88 1E 09 C4 */ lbz r0, 0x9c4(r30) /* 80228490 002253F0 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 80228494 002253F4 40 82 01 04 */ bne lbl_80228598 /* 80228498 002253F8 80 1E 02 F8 */ lwz r0, 0x2f8(r30) /* 8022849C 002253FC 2C 00 00 01 */ cmpwi r0, 1 /* 802284A0 00225400 41 82 00 84 */ beq lbl_80228524 /* 802284A4 00225404 80 9F 08 70 */ lwz r4, 0x870(r31) /* 802284A8 00225408 38 61 00 08 */ addi r3, r1, 8 /* 802284AC 0022540C 80 A4 00 7C */ lwz r5, 0x7c(r4) /* 802284B0 00225410 A3 C5 00 08 */ lhz r30, 8(r5) /* 802284B4 00225414 4B DE 37 25 */ bl GetCurrentCameraId__14CCameraManagerCFv /* 802284B8 00225418 A0 01 00 08 */ lhz r0, 8(r1) /* 802284BC 0022541C 7C 00 F0 40 */ cmplw r0, r30 /* 802284C0 00225420 40 82 00 D8 */ bne lbl_80228598 /* 802284C4 00225424 FC 40 F0 90 */ fmr f2, f30 /* 802284C8 00225428 C0 22 B5 BC */ lfs f1, lbl_805AD2DC@sda21(r2) /* 802284CC 0022542C 38 61 00 30 */ addi r3, r1, 0x30 /* 802284D0 00225430 4B F3 53 61 */ bl __ct__16CCameraShakeDataFff /* 802284D4 00225434 80 7F 08 70 */ lwz r3, 0x870(r31) /* 802284D8 00225438 38 81 00 30 */ addi r4, r1, 0x30 /* 802284DC 0022543C 38 A0 00 01 */ li r5, 1 /* 802284E0 00225440 4B DE 25 41 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab /* 802284E4 00225444 34 81 00 B0 */ addic. r4, r1, 0xb0 /* 802284E8 00225448 41 82 00 10 */ beq lbl_802284F8 /* 802284EC 0022544C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 802284F0 00225450 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 802284F4 00225454 90 04 00 00 */ stw r0, 0(r4) lbl_802284F8: /* 802284F8 00225458 34 81 00 74 */ addic. r4, r1, 0x74 /* 802284FC 0022545C 41 82 00 10 */ beq lbl_8022850C /* 80228500 00225460 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 80228504 00225464 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 80228508 00225468 90 04 00 00 */ stw r0, 0(r4) lbl_8022850C: /* 8022850C 0022546C 34 81 00 38 */ addic. r4, r1, 0x38 /* 80228510 00225470 41 82 00 88 */ beq lbl_80228598 /* 80228514 00225474 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 80228518 00225478 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 8022851C 0022547C 90 04 00 00 */ stw r0, 0(r4) /* 80228520 00225480 48 00 00 78 */ b lbl_80228598 lbl_80228524: /* 80228524 00225484 88 1D 09 88 */ lbz r0, 0x988(r29) /* 80228528 00225488 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 8022852C 0022548C 41 82 00 0C */ beq lbl_80228538 /* 80228530 00225490 C0 62 B5 F0 */ lfs f3, lbl_805AD310@sda21(r2) /* 80228534 00225494 48 00 00 08 */ b lbl_8022853C lbl_80228538: /* 80228538 00225498 C0 62 B5 F4 */ lfs f3, lbl_805AD314@sda21(r2) lbl_8022853C: /* 8022853C 0022549C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80228540 002254A0 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) /* 80228544 002254A4 C0 9E 00 E8 */ lfs f4, 0xe8(r30) /* 80228548 002254A8 C0 23 00 04 */ lfs f1, 4(r3) /* 8022854C 002254AC EC 43 00 B2 */ fmuls f2, f3, f2 /* 80228550 002254B0 C0 03 00 08 */ lfs f0, 8(r3) /* 80228554 002254B4 EC 23 00 72 */ fmuls f1, f3, f1 /* 80228558 002254B8 EC 03 00 32 */ fmuls f0, f3, f0 /* 8022855C 002254BC EC 44 00 B2 */ fmuls f2, f4, f2 /* 80228560 002254C0 EC 24 00 72 */ fmuls f1, f4, f1 /* 80228564 002254C4 EC 04 00 32 */ fmuls f0, f4, f0 /* 80228568 002254C8 D0 41 00 0C */ stfs f2, 0xc(r1) /* 8022856C 002254CC D0 21 00 10 */ stfs f1, 0x10(r1) /* 80228570 002254D0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80228574 002254D4 4B DF 2F C1 */ bl Identity__10CAxisAngleFv /* 80228578 002254D8 7C 65 1B 78 */ mr r5, r3 /* 8022857C 002254DC 7F C3 F3 78 */ mr r3, r30 /* 80228580 002254E0 38 81 00 0C */ addi r4, r1, 0xc /* 80228584 002254E4 4B EF 3E 15 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 80228588 002254E8 7F C3 F3 78 */ mr r3, r30 /* 8022858C 002254EC 7F E5 FB 78 */ mr r5, r31 /* 80228590 002254F0 38 80 00 02 */ li r4, 2 /* 80228594 002254F4 48 05 DE 59 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager lbl_80228598: /* 80228598 002254F8 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 8022859C 002254FC CB E1 01 30 */ lfd f31, 0x130(r1) /* 802285A0 00225500 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 /* 802285A4 00225504 CB C1 01 20 */ lfd f30, 0x120(r1) /* 802285A8 00225508 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 802285AC 0022550C 83 C1 01 18 */ lwz r30, 0x118(r1) /* 802285B0 00225510 80 01 01 44 */ lwz r0, 0x144(r1) /* 802285B4 00225514 83 A1 01 14 */ lwz r29, 0x114(r1) /* 802285B8 00225518 7C 08 03 A6 */ mtlr r0 /* 802285BC 0022551C 38 21 01 40 */ addi r1, r1, 0x140 /* 802285C0 00225520 4E 80 00 20 */ blr .global sub_802285c4 sub_802285c4: /* 802285C4 00225524 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802285C8 00225528 7C 08 02 A6 */ mflr r0 /* 802285CC 0022552C 90 01 00 24 */ stw r0, 0x24(r1) /* 802285D0 00225530 DB E1 00 10 */ stfd f31, 0x10(r1) /* 802285D4 00225534 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 802285D8 00225538 93 E1 00 0C */ stw r31, 0xc(r1) /* 802285DC 0022553C 93 C1 00 08 */ stw r30, 8(r1) /* 802285E0 00225540 7C 7E 1B 78 */ mr r30, r3 /* 802285E4 00225544 7C 9F 23 78 */ mr r31, r4 /* 802285E8 00225548 C3 E3 05 E8 */ lfs f31, 0x5e8(r3) /* 802285EC 0022554C 80 64 09 00 */ lwz r3, 0x900(r4) /* 802285F0 00225550 48 0E 9E ED */ bl Float__9CRandom16Fv /* 802285F4 00225554 FC 01 F8 40 */ fcmpo cr0, f1, f31 /* 802285F8 00225558 40 81 00 1C */ ble lbl_80228614 /* 802285FC 0022555C 80 7F 09 00 */ lwz r3, 0x900(r31) /* 80228600 00225560 48 0E 9E DD */ bl Float__9CRandom16Fv /* 80228604 00225564 C0 5E 03 08 */ lfs f2, 0x308(r30) /* 80228608 00225568 C0 1E 03 04 */ lfs f0, 0x304(r30) /* 8022860C 0022556C EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 80228610 00225570 D0 1E 07 B8 */ stfs f0, 0x7b8(r30) lbl_80228614: /* 80228614 00225574 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 80228618 00225578 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022861C 0022557C CB E1 00 10 */ lfd f31, 0x10(r1) /* 80228620 00225580 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80228624 00225584 83 C1 00 08 */ lwz r30, 8(r1) /* 80228628 00225588 7C 08 03 A6 */ mtlr r0 /* 8022862C 0022558C 38 21 00 20 */ addi r1, r1, 0x20 /* 80228630 00225590 4E 80 00 20 */ blr .global sub_80228634 sub_80228634: /* 80228634 00225594 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80228638 00225598 7C 08 02 A6 */ mflr r0 /* 8022863C 0022559C 90 01 00 84 */ stw r0, 0x84(r1) /* 80228640 002255A0 DB E1 00 70 */ stfd f31, 0x70(r1) /* 80228644 002255A4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80228648 002255A8 DB C1 00 60 */ stfd f30, 0x60(r1) /* 8022864C 002255AC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 80228650 002255B0 DB A1 00 50 */ stfd f29, 0x50(r1) /* 80228654 002255B4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 /* 80228658 002255B8 DB 81 00 40 */ stfd f28, 0x40(r1) /* 8022865C 002255BC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 /* 80228660 002255C0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80228664 002255C4 7C 7F 1B 78 */ mr r31, r3 /* 80228668 002255C8 38 61 00 2C */ addi r3, r1, 0x2c /* 8022866C 002255CC C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80228670 002255D0 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80228674 002255D4 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80228678 002255D8 D0 1F 08 B4 */ stfs f0, 0x8b4(r31) /* 8022867C 002255DC D0 3F 08 B8 */ stfs f1, 0x8b8(r31) /* 80228680 002255E0 D0 5F 08 BC */ stfs f2, 0x8bc(r31) /* 80228684 002255E4 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80228688 002255E8 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 8022868C 002255EC C3 C4 00 50 */ lfs f30, 0x50(r4) /* 80228690 002255F0 C3 A4 00 60 */ lfs f29, 0x60(r4) /* 80228694 002255F4 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 80228698 002255F8 EC 40 F0 28 */ fsubs f2, f0, f30 /* 8022869C 002255FC C3 E4 00 40 */ lfs f31, 0x40(r4) /* 802286A0 00225600 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 802286A4 00225604 EC 21 E8 28 */ fsubs f1, f1, f29 /* 802286A8 00225608 EC 00 F8 28 */ fsubs f0, f0, f31 /* 802286AC 0022560C D0 41 00 30 */ stfs f2, 0x30(r1) /* 802286B0 00225610 D0 21 00 34 */ stfs f1, 0x34(r1) /* 802286B4 00225614 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802286B8 00225618 C0 1F 02 FC */ lfs f0, 0x2fc(r31) /* 802286BC 0022561C EF 80 00 32 */ fmuls f28, f0, f0 /* 802286C0 00225620 48 0E C0 39 */ bl CanBeNormalized__9CVector3fCFv /* 802286C4 00225624 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802286C8 00225628 41 82 00 9C */ beq lbl_80228764 /* 802286CC 0022562C C0 21 00 2C */ lfs f1, 0x2c(r1) /* 802286D0 00225630 C0 01 00 30 */ lfs f0, 0x30(r1) /* 802286D4 00225634 EC 21 00 72 */ fmuls f1, f1, f1 /* 802286D8 00225638 C0 41 00 34 */ lfs f2, 0x34(r1) /* 802286DC 0022563C EC 00 00 32 */ fmuls f0, f0, f0 /* 802286E0 00225640 EC 42 00 B2 */ fmuls f2, f2, f2 /* 802286E4 00225644 EC 01 00 2A */ fadds f0, f1, f0 /* 802286E8 00225648 EC 02 00 2A */ fadds f0, f2, f0 /* 802286EC 0022564C FC 00 E0 40 */ fcmpo cr0, f0, f28 /* 802286F0 00225650 40 81 00 74 */ ble lbl_80228764 /* 802286F4 00225654 C3 9F 02 FC */ lfs f28, 0x2fc(r31) /* 802286F8 00225658 38 61 00 08 */ addi r3, r1, 8 /* 802286FC 0022565C 38 81 00 2C */ addi r4, r1, 0x2c /* 80228700 00225660 48 0E C1 51 */ bl AsNormalized__9CVector3fCFv /* 80228704 00225664 C0 21 00 08 */ lfs f1, 8(r1) /* 80228708 00225668 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8022870C 0022566C EC 5C 00 72 */ fmuls f2, f28, f1 /* 80228710 00225670 C0 21 00 10 */ lfs f1, 0x10(r1) /* 80228714 00225674 EC 1C 00 32 */ fmuls f0, f28, f0 /* 80228718 00225678 EC 7C 00 72 */ fmuls f3, f28, f1 /* 8022871C 0022567C EC 3F 10 2A */ fadds f1, f31, f2 /* 80228720 00225680 D0 41 00 14 */ stfs f2, 0x14(r1) /* 80228724 00225684 EC 9E 00 2A */ fadds f4, f30, f0 /* 80228728 00225688 EC 5D 18 2A */ fadds f2, f29, f3 /* 8022872C 0022568C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80228730 00225690 D0 3F 02 E0 */ stfs f1, 0x2e0(r31) /* 80228734 00225694 D0 9F 02 E4 */ stfs f4, 0x2e4(r31) /* 80228738 00225698 D0 5F 02 E8 */ stfs f2, 0x2e8(r31) /* 8022873C 0022569C C0 1F 02 E0 */ lfs f0, 0x2e0(r31) /* 80228740 002256A0 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 80228744 002256A4 D0 1F 08 B4 */ stfs f0, 0x8b4(r31) /* 80228748 002256A8 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) /* 8022874C 002256AC D0 21 00 20 */ stfs f1, 0x20(r1) /* 80228750 002256B0 D0 1F 08 B8 */ stfs f0, 0x8b8(r31) /* 80228754 002256B4 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) /* 80228758 002256B8 D0 81 00 24 */ stfs f4, 0x24(r1) /* 8022875C 002256BC D0 41 00 28 */ stfs f2, 0x28(r1) /* 80228760 002256C0 D0 1F 08 BC */ stfs f0, 0x8bc(r31) lbl_80228764: /* 80228764 002256C4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80228768 002256C8 CB E1 00 70 */ lfd f31, 0x70(r1) /* 8022876C 002256CC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 80228770 002256D0 CB C1 00 60 */ lfd f30, 0x60(r1) /* 80228774 002256D4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 /* 80228778 002256D8 CB A1 00 50 */ lfd f29, 0x50(r1) /* 8022877C 002256DC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 /* 80228780 002256E0 CB 81 00 40 */ lfd f28, 0x40(r1) /* 80228784 002256E4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80228788 002256E8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8022878C 002256EC 7C 08 03 A6 */ mtlr r0 /* 80228790 002256F0 38 21 00 80 */ addi r1, r1, 0x80 /* 80228794 002256F4 4E 80 00 20 */ blr .global sub_80228798 sub_80228798: /* 80228798 002256F8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022879C 002256FC 7C 08 02 A6 */ mflr r0 /* 802287A0 00225700 90 01 00 34 */ stw r0, 0x34(r1) /* 802287A4 00225704 38 81 00 14 */ addi r4, r1, 0x14 /* 802287A8 00225708 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802287AC 0022570C 7C 7F 1B 78 */ mr r31, r3 /* 802287B0 00225710 C0 43 00 60 */ lfs f2, 0x60(r3) /* 802287B4 00225714 38 7F 07 D0 */ addi r3, r31, 0x7d0 /* 802287B8 00225718 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 802287BC 0022571C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 802287C0 00225720 D0 01 00 14 */ stfs f0, 0x14(r1) /* 802287C4 00225724 D0 21 00 18 */ stfs f1, 0x18(r1) /* 802287C8 00225728 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 802287CC 0022572C 4B F9 E3 69 */ bl OnPath__15CPathFindSearchCFRC9CVector3f /* 802287D0 00225730 2C 03 00 00 */ cmpwi r3, 0 /* 802287D4 00225734 40 82 00 58 */ bne lbl_8022882C /* 802287D8 00225738 80 BF 08 C4 */ lwz r5, 0x8c4(r31) /* 802287DC 0022573C 38 60 00 00 */ li r3, 0 /* 802287E0 00225740 2C 05 00 00 */ cmpwi r5, 0 /* 802287E4 00225744 40 81 00 40 */ ble lbl_80228824 /* 802287E8 00225748 2C 05 00 08 */ cmpwi r5, 8 /* 802287EC 0022574C 38 85 FF F8 */ addi r4, r5, -8 /* 802287F0 00225750 40 81 00 20 */ ble lbl_80228810 /* 802287F4 00225754 38 04 00 07 */ addi r0, r4, 7 /* 802287F8 00225758 54 00 E8 FE */ srwi r0, r0, 3 /* 802287FC 0022575C 7C 09 03 A6 */ mtctr r0 /* 80228800 00225760 2C 04 00 00 */ cmpwi r4, 0 /* 80228804 00225764 40 81 00 0C */ ble lbl_80228810 lbl_80228808: /* 80228808 00225768 38 63 00 08 */ addi r3, r3, 8 /* 8022880C 0022576C 42 00 FF FC */ bdnz lbl_80228808 lbl_80228810: /* 80228810 00225770 7C 03 28 50 */ subf r0, r3, r5 /* 80228814 00225774 7C 09 03 A6 */ mtctr r0 /* 80228818 00225778 7C 03 28 00 */ cmpw r3, r5 /* 8022881C 0022577C 40 80 00 08 */ bge lbl_80228824 lbl_80228820: /* 80228820 00225780 42 00 00 00 */ bdnz lbl_80228820 lbl_80228824: /* 80228824 00225784 38 00 00 00 */ li r0, 0 /* 80228828 00225788 90 1F 08 C4 */ stw r0, 0x8c4(r31) lbl_8022882C: /* 8022882C 0022578C 80 C1 00 14 */ lwz r6, 0x14(r1) /* 80228830 00225790 38 7F 08 C0 */ addi r3, r31, 0x8c0 /* 80228834 00225794 80 A1 00 18 */ lwz r5, 0x18(r1) /* 80228838 00225798 38 81 00 08 */ addi r4, r1, 8 /* 8022883C 0022579C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80228840 002257A0 90 C1 00 08 */ stw r6, 8(r1) /* 80228844 002257A4 90 A1 00 0C */ stw r5, 0xc(r1) /* 80228848 002257A8 90 01 00 10 */ stw r0, 0x10(r1) /* 8022884C 002257AC 48 07 80 E5 */ bl sub_802a0930 /* 80228850 002257B0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80228854 002257B4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80228858 002257B8 7C 08 03 A6 */ mtlr r0 /* 8022885C 002257BC 38 21 00 30 */ addi r1, r1, 0x30 /* 80228860 002257C0 4E 80 00 20 */ blr .global sub_80228864 sub_80228864: /* 80228864 002257C4 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80228868 002257C8 7C 08 02 A6 */ mflr r0 /* 8022886C 002257CC 80 82 B5 B4 */ lwz r4, lbl_805AD2D4@sda21(r2) /* 80228870 002257D0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80228874 002257D4 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80228878 002257D8 7C BF 2B 78 */ mr r31, r5 /* 8022887C 002257DC 93 C1 00 98 */ stw r30, 0x98(r1) /* 80228880 002257E0 7C 7E 1B 78 */ mr r30, r3 /* 80228884 002257E4 38 61 00 20 */ addi r3, r1, 0x20 /* 80228888 002257E8 4B DD C4 31 */ bl string_l__4rstlFPCc /* 8022888C 002257EC 7F E4 FB 78 */ mr r4, r31 /* 80228890 002257F0 38 61 00 30 */ addi r3, r1, 0x30 /* 80228894 002257F4 38 A1 00 20 */ addi r5, r1, 0x20 /* 80228898 002257F8 4B E2 A6 69 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8022889C 002257FC 38 61 00 60 */ addi r3, r1, 0x60 /* 802288A0 00225800 38 81 00 30 */ addi r4, r1, 0x30 /* 802288A4 00225804 48 0E A2 D1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802288A8 00225808 38 61 00 20 */ addi r3, r1, 0x20 /* 802288AC 0022580C 48 11 52 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802288B0 00225810 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 802288B4 00225814 38 61 00 14 */ addi r3, r1, 0x14 /* 802288B8 00225818 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 802288BC 0022581C 38 9F 00 34 */ addi r4, r31, 0x34 /* 802288C0 00225820 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 802288C4 00225824 38 A1 00 08 */ addi r5, r1, 8 /* 802288C8 00225828 D0 41 00 08 */ stfs f2, 8(r1) /* 802288CC 0022582C D0 21 00 0C */ stfs f1, 0xc(r1) /* 802288D0 00225830 D0 01 00 10 */ stfs f0, 0x10(r1) /* 802288D4 00225834 48 0E A1 AD */ bl Rotate__12CTransform4fCFRC9CVector3f /* 802288D8 00225838 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 802288DC 0022583C C0 01 00 14 */ lfs f0, 0x14(r1) /* 802288E0 00225840 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 802288E4 00225844 C0 61 00 18 */ lfs f3, 0x18(r1) /* 802288E8 00225848 EC 01 00 2A */ fadds f0, f1, f0 /* 802288EC 0022584C C0 5F 00 60 */ lfs f2, 0x60(r31) /* 802288F0 00225850 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 802288F4 00225854 EC 64 18 2A */ fadds f3, f4, f3 /* 802288F8 00225858 D0 1E 00 00 */ stfs f0, 0(r30) /* 802288FC 0022585C EC 02 08 2A */ fadds f0, f2, f1 /* 80228900 00225860 D0 7E 00 04 */ stfs f3, 4(r30) /* 80228904 00225864 D0 1E 00 08 */ stfs f0, 8(r30) /* 80228908 00225868 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 8022890C 0022586C 83 C1 00 98 */ lwz r30, 0x98(r1) /* 80228910 00225870 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80228914 00225874 7C 08 03 A6 */ mtlr r0 /* 80228918 00225878 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8022891C 0022587C 4E 80 00 20 */ blr .global sub_80228920 sub_80228920: /* 80228920 00225880 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80228924 00225884 7C 08 02 A6 */ mflr r0 /* 80228928 00225888 90 01 00 34 */ stw r0, 0x34(r1) /* 8022892C 0022588C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80228930 00225890 7C BF 2B 78 */ mr r31, r5 /* 80228934 00225894 93 C1 00 28 */ stw r30, 0x28(r1) /* 80228938 00225898 7C 9E 23 78 */ mr r30, r4 /* 8022893C 0022589C 93 A1 00 24 */ stw r29, 0x24(r1) /* 80228940 002258A0 7C 7D 1B 78 */ mr r29, r3 /* 80228944 002258A4 A0 C6 00 00 */ lhz r6, 0(r6) /* 80228948 002258A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022894C 002258AC 7C 06 00 40 */ cmplw r6, r0 /* 80228950 002258B0 41 82 00 44 */ beq lbl_80228994 /* 80228954 002258B4 B0 C1 00 10 */ sth r6, 0x10(r1) /* 80228958 002258B8 7F C3 F3 78 */ mr r3, r30 /* 8022895C 002258BC 38 81 00 10 */ addi r4, r1, 0x10 /* 80228960 002258C0 4B E2 3C 15 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80228964 002258C4 7C 64 1B 79 */ or. r4, r3, r3 /* 80228968 002258C8 41 82 00 2C */ beq lbl_80228994 /* 8022896C 002258CC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80228970 002258D0 38 C0 00 0F */ li r6, 0xf /* 80228974 002258D4 41 82 00 08 */ beq lbl_8022897C /* 80228978 002258D8 38 C0 00 0E */ li r6, 0xe lbl_8022897C: /* 8022897C 002258DC A0 1D 00 08 */ lhz r0, 8(r29) /* 80228980 002258E0 7F C3 F3 78 */ mr r3, r30 /* 80228984 002258E4 38 A1 00 0C */ addi r5, r1, 0xc /* 80228988 002258E8 B0 01 00 08 */ sth r0, 8(r1) /* 8022898C 002258EC B0 01 00 0C */ sth r0, 0xc(r1) /* 80228990 002258F0 4B E1 B5 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_80228994: /* 80228994 002258F4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80228998 002258F8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022899C 002258FC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802289A0 00225900 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802289A4 00225904 7C 08 03 A6 */ mtlr r0 /* 802289A8 00225908 38 21 00 30 */ addi r1, r1, 0x30 /* 802289AC 0022590C 4E 80 00 20 */ blr .global sub_802289b0 sub_802289b0: /* 802289B0 00225910 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802289B4 00225914 7C 08 02 A6 */ mflr r0 /* 802289B8 00225918 90 01 00 14 */ stw r0, 0x14(r1) /* 802289BC 0022591C 38 C1 00 08 */ addi r6, r1, 8 /* 802289C0 00225920 A0 03 07 72 */ lhz r0, 0x772(r3) /* 802289C4 00225924 B0 01 00 08 */ sth r0, 8(r1) /* 802289C8 00225928 4B FF FF 59 */ bl sub_80228920 /* 802289CC 0022592C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802289D0 00225930 7C 08 03 A6 */ mtlr r0 /* 802289D4 00225934 38 21 00 10 */ addi r1, r1, 0x10 /* 802289D8 00225938 4E 80 00 20 */ blr .global sub_802289dc sub_802289dc: /* 802289DC 0022593C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802289E0 00225940 7C 08 02 A6 */ mflr r0 /* 802289E4 00225944 90 01 00 84 */ stw r0, 0x84(r1) /* 802289E8 00225948 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802289EC 0022594C 93 C1 00 78 */ stw r30, 0x78(r1) /* 802289F0 00225950 7C DE 33 78 */ mr r30, r6 /* 802289F4 00225954 93 A1 00 74 */ stw r29, 0x74(r1) /* 802289F8 00225958 7C BD 2B 78 */ mr r29, r5 /* 802289FC 0022595C 93 81 00 70 */ stw r28, 0x70(r1) /* 80228A00 00225960 7C 7C 1B 78 */ mr r28, r3 /* 80228A04 00225964 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80228A08 00225968 A0 A5 00 00 */ lhz r5, 0(r5) /* 80228A0C 0022596C 7C 05 00 40 */ cmplw r5, r0 /* 80228A10 00225970 41 82 00 7C */ beq lbl_80228A8C /* 80228A14 00225974 A0 1D 00 00 */ lhz r0, 0(r29) /* 80228A18 00225978 7C 83 23 78 */ mr r3, r4 /* 80228A1C 0022597C 38 81 00 08 */ addi r4, r1, 8 /* 80228A20 00225980 B0 01 00 08 */ sth r0, 8(r1) /* 80228A24 00225984 4B E2 3B 51 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80228A28 00225988 7C 7F 1B 79 */ or. r31, r3, r3 /* 80228A2C 0022598C 41 82 00 58 */ beq lbl_80228A84 /* 80228A30 00225990 7F 84 E3 78 */ mr r4, r28 /* 80228A34 00225994 7F C5 F3 78 */ mr r5, r30 /* 80228A38 00225998 38 61 00 0C */ addi r3, r1, 0xc /* 80228A3C 0022599C 4B E4 FF 3D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80228A40 002259A0 38 61 00 3C */ addi r3, r1, 0x3c /* 80228A44 002259A4 38 81 00 0C */ addi r4, r1, 0xc /* 80228A48 002259A8 48 0E A1 2D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80228A4C 002259AC 38 7F 00 34 */ addi r3, r31, 0x34 /* 80228A50 002259B0 38 81 00 3C */ addi r4, r1, 0x3c /* 80228A54 002259B4 48 0E A0 ED */ bl __as__12CTransform4fFRC12CTransform4f /* 80228A58 002259B8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80228A5C 002259BC 38 60 00 01 */ li r3, 1 /* 80228A60 002259C0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80228A64 002259C4 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80228A68 002259C8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80228A6C 002259CC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80228A70 002259D0 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80228A74 002259D4 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80228A78 002259D8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80228A7C 002259DC 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80228A80 002259E0 48 00 00 0C */ b lbl_80228A8C lbl_80228A84: /* 80228A84 002259E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80228A88 002259E8 B0 1D 00 00 */ sth r0, 0(r29) lbl_80228A8C: /* 80228A8C 002259EC 80 01 00 84 */ lwz r0, 0x84(r1) /* 80228A90 002259F0 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80228A94 002259F4 83 C1 00 78 */ lwz r30, 0x78(r1) /* 80228A98 002259F8 83 A1 00 74 */ lwz r29, 0x74(r1) /* 80228A9C 002259FC 83 81 00 70 */ lwz r28, 0x70(r1) /* 80228AA0 00225A00 7C 08 03 A6 */ mtlr r0 /* 80228AA4 00225A04 38 21 00 80 */ addi r1, r1, 0x80 /* 80228AA8 00225A08 4E 80 00 20 */ blr .global sub_80228aac sub_80228aac: /* 80228AAC 00225A0C 94 21 FD F0 */ stwu r1, -0x210(r1) /* 80228AB0 00225A10 7C 08 02 A6 */ mflr r0 /* 80228AB4 00225A14 90 01 02 14 */ stw r0, 0x214(r1) /* 80228AB8 00225A18 BF 41 01 F8 */ stmw r26, 0x1f8(r1) /* 80228ABC 00225A1C 7C 7D 1B 78 */ mr r29, r3 /* 80228AC0 00225A20 7C 9E 23 78 */ mr r30, r4 /* 80228AC4 00225A24 7C BF 2B 78 */ mr r31, r5 /* 80228AC8 00225A28 80 C3 06 68 */ lwz r6, 0x668(r3) /* 80228ACC 00225A2C 3C 06 00 01 */ addis r0, r6, 1 /* 80228AD0 00225A30 28 00 FF FF */ cmplwi r0, 0xffff /* 80228AD4 00225A34 41 82 02 B8 */ beq lbl_80228D8C /* 80228AD8 00225A38 80 BD 00 64 */ lwz r5, 0x64(r29) /* 80228ADC 00225A3C 38 00 00 01 */ li r0, 1 /* 80228AE0 00225A40 80 FD 06 70 */ lwz r7, 0x670(r29) /* 80228AE4 00225A44 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 80228AE8 00225A48 C0 45 00 00 */ lfs f2, 0(r5) /* 80228AEC 00225A4C 38 81 00 C0 */ addi r4, r1, 0xc0 /* 80228AF0 00225A50 C0 25 00 04 */ lfs f1, 4(r5) /* 80228AF4 00225A54 C0 05 00 08 */ lfs f0, 8(r5) /* 80228AF8 00225A58 80 BD 06 6C */ lwz r5, 0x66c(r29) /* 80228AFC 00225A5C D0 41 00 58 */ stfs f2, 0x58(r1) /* 80228B00 00225A60 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 80228B04 00225A64 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80228B08 00225A68 90 C1 00 C0 */ stw r6, 0xc0(r1) /* 80228B0C 00225A6C 90 A1 00 C4 */ stw r5, 0xc4(r1) /* 80228B10 00225A70 D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 80228B14 00225A74 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 80228B18 00225A78 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 80228B1C 00225A7C 98 01 00 D4 */ stb r0, 0xd4(r1) /* 80228B20 00225A80 90 E1 00 D8 */ stw r7, 0xd8(r1) /* 80228B24 00225A84 4B EE E0 31 */ bl __ct__10CModelDataFRC8CAnimRes /* 80228B28 00225A88 81 5D 06 84 */ lwz r10, 0x684(r29) /* 80228B2C 00225A8C 38 61 01 48 */ addi r3, r1, 0x148 /* 80228B30 00225A90 81 3D 06 88 */ lwz r9, 0x688(r29) /* 80228B34 00225A94 38 81 01 0C */ addi r4, r1, 0x10c /* 80228B38 00225A98 80 FD 06 8C */ lwz r7, 0x68c(r29) /* 80228B3C 00225A9C 39 01 00 64 */ addi r8, r1, 0x64 /* 80228B40 00225AA0 80 DD 06 90 */ lwz r6, 0x690(r29) /* 80228B44 00225AA4 80 BD 06 94 */ lwz r5, 0x694(r29) /* 80228B48 00225AA8 80 1D 06 98 */ lwz r0, 0x698(r29) /* 80228B4C 00225AAC 91 41 00 A8 */ stw r10, 0xa8(r1) /* 80228B50 00225AB0 81 5D 06 80 */ lwz r10, 0x680(r29) /* 80228B54 00225AB4 91 21 00 AC */ stw r9, 0xac(r1) /* 80228B58 00225AB8 A1 3D 06 CE */ lhz r9, 0x6ce(r29) /* 80228B5C 00225ABC 90 E1 00 B0 */ stw r7, 0xb0(r1) /* 80228B60 00225AC0 A0 FD 06 CC */ lhz r7, 0x6cc(r29) /* 80228B64 00225AC4 90 C1 00 B4 */ stw r6, 0xb4(r1) /* 80228B68 00225AC8 80 DD 06 C8 */ lwz r6, 0x6c8(r29) /* 80228B6C 00225ACC 90 A1 00 B8 */ stw r5, 0xb8(r1) /* 80228B70 00225AD0 81 7D 06 AC */ lwz r11, 0x6ac(r29) /* 80228B74 00225AD4 90 01 00 BC */ stw r0, 0xbc(r1) /* 80228B78 00225AD8 81 9D 06 A8 */ lwz r12, 0x6a8(r29) /* 80228B7C 00225ADC 83 9D 06 A4 */ lwz r28, 0x6a4(r29) /* 80228B80 00225AE0 83 7D 06 A0 */ lwz r27, 0x6a0(r29) /* 80228B84 00225AE4 C0 BD 06 B4 */ lfs f5, 0x6b4(r29) /* 80228B88 00225AE8 C0 9D 06 B0 */ lfs f4, 0x6b0(r29) /* 80228B8C 00225AEC 88 A1 00 A8 */ lbz r5, 0xa8(r1) /* 80228B90 00225AF0 C0 61 00 AC */ lfs f3, 0xac(r1) /* 80228B94 00225AF4 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 80228B98 00225AF8 C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 80228B9C 00225AFC C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 80228BA0 00225B00 88 01 00 BC */ lbz r0, 0xbc(r1) /* 80228BA4 00225B04 D0 81 01 0C */ stfs f4, 0x10c(r1) /* 80228BA8 00225B08 D0 A1 01 10 */ stfs f5, 0x110(r1) /* 80228BAC 00225B0C 91 41 01 14 */ stw r10, 0x114(r1) /* 80228BB0 00225B10 98 A1 01 18 */ stb r5, 0x118(r1) /* 80228BB4 00225B14 D0 61 01 1C */ stfs f3, 0x11c(r1) /* 80228BB8 00225B18 D0 41 01 20 */ stfs f2, 0x120(r1) /* 80228BBC 00225B1C D0 21 01 24 */ stfs f1, 0x124(r1) /* 80228BC0 00225B20 D0 01 01 28 */ stfs f0, 0x128(r1) /* 80228BC4 00225B24 98 01 01 2C */ stb r0, 0x12c(r1) /* 80228BC8 00225B28 93 61 01 30 */ stw r27, 0x130(r1) /* 80228BCC 00225B2C 93 81 01 34 */ stw r28, 0x134(r1) /* 80228BD0 00225B30 91 81 01 38 */ stw r12, 0x138(r1) /* 80228BD4 00225B34 91 61 01 3C */ stw r11, 0x13c(r1) /* 80228BD8 00225B38 90 C1 01 40 */ stw r6, 0x140(r1) /* 80228BDC 00225B3C B0 E1 01 44 */ sth r7, 0x144(r1) /* 80228BE0 00225B40 B1 21 01 46 */ sth r9, 0x146(r1) /* 80228BE4 00225B44 C0 3D 06 C4 */ lfs f1, 0x6c4(r29) /* 80228BE8 00225B48 C0 5D 06 C0 */ lfs f2, 0x6c0(r29) /* 80228BEC 00225B4C C0 7D 06 BC */ lfs f3, 0x6bc(r29) /* 80228BF0 00225B50 C0 1D 06 B8 */ lfs f0, 0x6b8(r29) /* 80228BF4 00225B54 91 41 00 A4 */ stw r10, 0xa4(r1) /* 80228BF8 00225B58 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80228BFC 00225B5C D0 61 00 68 */ stfs f3, 0x68(r1) /* 80228C00 00225B60 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 80228C04 00225B64 D0 21 00 70 */ stfs f1, 0x70(r1) /* 80228C08 00225B68 80 BD 06 7C */ lwz r5, 0x67c(r29) /* 80228C0C 00225B6C 80 DD 06 74 */ lwz r6, 0x674(r29) /* 80228C10 00225B70 A0 FD 06 78 */ lhz r7, 0x678(r29) /* 80228C14 00225B74 48 00 01 8D */ bl sub_80228da0 /* 80228C18 00225B78 3C 60 80 3D */ lis r3, lbl_803D3310@ha /* 80228C1C 00225B7C 3B 80 00 00 */ li r28, 0 /* 80228C20 00225B80 38 63 33 10 */ addi r3, r3, lbl_803D3310@l /* 80228C24 00225B84 3B 40 00 00 */ li r26, 0 /* 80228C28 00225B88 38 83 00 B8 */ addi r4, r3, 0xb8 /* 80228C2C 00225B8C 38 60 04 00 */ li r3, 0x400 /* 80228C30 00225B90 38 A0 00 00 */ li r5, 0 /* 80228C34 00225B94 48 0E CC 39 */ bl __nw__FUlPCcPCc /* 80228C38 00225B98 7C 7B 1B 79 */ or. r27, r3, r3 /* 80228C3C 00225B9C 41 82 00 D8 */ beq lbl_80228D14 /* 80228C40 00225BA0 A0 DD 00 08 */ lhz r6, 8(r29) /* 80228C44 00225BA4 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 80228C48 00225BA8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 80228C4C 00225BAC C0 02 B5 F4 */ lfs f0, lbl_805AD314@sda21(r2) /* 80228C50 00225BB0 B0 C1 00 20 */ sth r6, 0x20(r1) /* 80228C54 00225BB4 38 61 00 74 */ addi r3, r1, 0x74 /* 80228C58 00225BB8 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 80228C5C 00225BBC 38 81 00 38 */ addi r4, r1, 0x38 /* 80228C60 00225BC0 C0 3D 06 9C */ lfs f1, 0x69c(r29) /* 80228C64 00225BC4 B0 C1 00 1C */ sth r6, 0x1c(r1) /* 80228C68 00225BC8 38 C1 00 3C */ addi r6, r1, 0x3c /* 80228C6C 00225BCC D0 21 00 40 */ stfs f1, 0x40(r1) /* 80228C70 00225BD0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80228C74 00225BD4 90 01 00 3C */ stw r0, 0x3c(r1) /* 80228C78 00225BD8 80 1D 00 04 */ lwz r0, 4(r29) /* 80228C7C 00225BDC 90 01 00 34 */ stw r0, 0x34(r1) /* 80228C80 00225BE0 90 01 00 38 */ stw r0, 0x38(r1) /* 80228C84 00225BE4 4B E2 88 01 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 80228C88 00225BE8 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 80228C8C 00225BEC 38 61 00 48 */ addi r3, r1, 0x48 /* 80228C90 00225BF0 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 80228C94 00225BF4 3B 80 00 01 */ li r28, 1 /* 80228C98 00225BF8 38 84 00 D0 */ addi r4, r4, 0xd0 /* 80228C9C 00225BFC 4B DD C0 1D */ bl string_l__4rstlFPCc /* 80228CA0 00225C00 A0 1F 00 00 */ lhz r0, 0(r31) /* 80228CA4 00225C04 38 61 00 DC */ addi r3, r1, 0xdc /* 80228CA8 00225C08 38 9D 00 34 */ addi r4, r29, 0x34 /* 80228CAC 00225C0C 3B 40 00 01 */ li r26, 1 /* 80228CB0 00225C10 B0 01 00 18 */ sth r0, 0x18(r1) /* 80228CB4 00225C14 48 0E 9F 8D */ bl GetRotation__12CTransform4fCFv /* 80228CB8 00225C18 38 61 00 8C */ addi r3, r1, 0x8c /* 80228CBC 00225C1C 38 81 01 A0 */ addi r4, r1, 0x1a0 /* 80228CC0 00225C20 38 A1 00 DC */ addi r5, r1, 0xdc /* 80228CC4 00225C24 4B EE CA F1 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 80228CC8 00225C28 38 1D 05 6C */ addi r0, r29, 0x56c /* 80228CCC 00225C2C 38 7D 06 00 */ addi r3, r29, 0x600 /* 80228CD0 00225C30 90 01 00 08 */ stw r0, 8(r1) /* 80228CD4 00225C34 38 C1 00 20 */ addi r6, r1, 0x20 /* 80228CD8 00225C38 38 01 01 48 */ addi r0, r1, 0x148 /* 80228CDC 00225C3C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 80228CE0 00225C40 90 61 00 0C */ stw r3, 0xc(r1) /* 80228CE4 00225C44 7F 63 DB 78 */ mr r3, r27 /* 80228CE8 00225C48 38 81 00 18 */ addi r4, r1, 0x18 /* 80228CEC 00225C4C 38 A1 00 48 */ addi r5, r1, 0x48 /* 80228CF0 00225C50 90 C1 00 10 */ stw r6, 0x10(r1) /* 80228CF4 00225C54 38 C1 00 74 */ addi r6, r1, 0x74 /* 80228CF8 00225C58 38 FD 00 34 */ addi r7, r29, 0x34 /* 80228CFC 00225C5C 39 01 01 A0 */ addi r8, r1, 0x1a0 /* 80228D00 00225C60 90 01 00 14 */ stw r0, 0x14(r1) /* 80228D04 00225C64 39 21 00 8C */ addi r9, r1, 0x8c /* 80228D08 00225C68 39 41 00 40 */ addi r10, r1, 0x40 /* 80228D0C 00225C6C 48 00 82 7D */ bl __ct__16CGrenadeLauncherF9TUniqueId /* 80228D10 00225C70 7C 7B 1B 78 */ mr r27, r3 lbl_80228D14: /* 80228D14 00225C74 7F 40 07 75 */ extsb. r0, r26 /* 80228D18 00225C78 41 82 00 0C */ beq lbl_80228D24 /* 80228D1C 00225C7C 38 61 00 48 */ addi r3, r1, 0x48 /* 80228D20 00225C80 48 11 4D C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80228D24: /* 80228D24 00225C84 7F 80 07 75 */ extsb. r0, r28 /* 80228D28 00225C88 41 82 00 44 */ beq lbl_80228D6C /* 80228D2C 00225C8C 80 01 00 7C */ lwz r0, 0x7c(r1) /* 80228D30 00225C90 80 61 00 84 */ lwz r3, 0x84(r1) /* 80228D34 00225C94 1C 00 00 0C */ mulli r0, r0, 0xc /* 80228D38 00225C98 90 61 00 28 */ stw r3, 0x28(r1) /* 80228D3C 00225C9C 7C 64 1B 78 */ mr r4, r3 /* 80228D40 00225CA0 7C 03 02 14 */ add r0, r3, r0 /* 80228D44 00225CA4 90 61 00 24 */ stw r3, 0x24(r1) /* 80228D48 00225CA8 90 01 00 30 */ stw r0, 0x30(r1) /* 80228D4C 00225CAC 90 01 00 2C */ stw r0, 0x2c(r1) /* 80228D50 00225CB0 48 00 00 08 */ b lbl_80228D58 lbl_80228D54: /* 80228D54 00225CB4 38 84 00 0C */ addi r4, r4, 0xc lbl_80228D58: /* 80228D58 00225CB8 7C 04 00 40 */ cmplw r4, r0 /* 80228D5C 00225CBC 40 82 FF F8 */ bne lbl_80228D54 /* 80228D60 00225CC0 28 03 00 00 */ cmplwi r3, 0 /* 80228D64 00225CC4 41 82 00 08 */ beq lbl_80228D6C /* 80228D68 00225CC8 48 0E CB C9 */ bl Free__7CMemoryFPCv lbl_80228D6C: /* 80228D6C 00225CCC 28 1B 00 00 */ cmplwi r27, 0 /* 80228D70 00225CD0 41 82 00 10 */ beq lbl_80228D80 /* 80228D74 00225CD4 7F C3 F3 78 */ mr r3, r30 /* 80228D78 00225CD8 7F 64 DB 78 */ mr r4, r27 /* 80228D7C 00225CDC 4B E2 3F 79 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence lbl_80228D80: /* 80228D80 00225CE0 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 80228D84 00225CE4 38 80 FF FF */ li r4, -1 /* 80228D88 00225CE8 4B EE DC C5 */ bl __dt__10CModelDataFv lbl_80228D8C: /* 80228D8C 00225CEC BB 41 01 F8 */ lmw r26, 0x1f8(r1) /* 80228D90 00225CF0 80 01 02 14 */ lwz r0, 0x214(r1) /* 80228D94 00225CF4 7C 08 03 A6 */ mtlr r0 /* 80228D98 00225CF8 38 21 02 10 */ addi r1, r1, 0x210 /* 80228D9C 00225CFC 4E 80 00 20 */ blr .global sub_80228da0 sub_80228da0: /* 80228DA0 00225D00 C0 04 00 00 */ lfs f0, 0(r4) /* 80228DA4 00225D04 D0 03 00 00 */ stfs f0, 0(r3) /* 80228DA8 00225D08 C0 04 00 04 */ lfs f0, 4(r4) /* 80228DAC 00225D0C D0 03 00 04 */ stfs f0, 4(r3) /* 80228DB0 00225D10 80 04 00 08 */ lwz r0, 8(r4) /* 80228DB4 00225D14 90 03 00 08 */ stw r0, 8(r3) /* 80228DB8 00225D18 88 04 00 0C */ lbz r0, 0xc(r4) /* 80228DBC 00225D1C 98 03 00 0C */ stb r0, 0xc(r3) /* 80228DC0 00225D20 C0 04 00 10 */ lfs f0, 0x10(r4) /* 80228DC4 00225D24 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80228DC8 00225D28 C0 04 00 14 */ lfs f0, 0x14(r4) /* 80228DCC 00225D2C D0 03 00 14 */ stfs f0, 0x14(r3) /* 80228DD0 00225D30 C0 04 00 18 */ lfs f0, 0x18(r4) /* 80228DD4 00225D34 D0 03 00 18 */ stfs f0, 0x18(r3) /* 80228DD8 00225D38 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 80228DDC 00225D3C D0 03 00 1C */ stfs f0, 0x1c(r3) /* 80228DE0 00225D40 88 04 00 20 */ lbz r0, 0x20(r4) /* 80228DE4 00225D44 98 03 00 20 */ stb r0, 0x20(r3) /* 80228DE8 00225D48 80 04 00 24 */ lwz r0, 0x24(r4) /* 80228DEC 00225D4C 90 03 00 24 */ stw r0, 0x24(r3) /* 80228DF0 00225D50 80 04 00 28 */ lwz r0, 0x28(r4) /* 80228DF4 00225D54 90 03 00 28 */ stw r0, 0x28(r3) /* 80228DF8 00225D58 80 04 00 2C */ lwz r0, 0x2c(r4) /* 80228DFC 00225D5C 90 03 00 2C */ stw r0, 0x2c(r3) /* 80228E00 00225D60 80 04 00 30 */ lwz r0, 0x30(r4) /* 80228E04 00225D64 90 03 00 30 */ stw r0, 0x30(r3) /* 80228E08 00225D68 80 04 00 34 */ lwz r0, 0x34(r4) /* 80228E0C 00225D6C 90 03 00 34 */ stw r0, 0x34(r3) /* 80228E10 00225D70 A0 04 00 38 */ lhz r0, 0x38(r4) /* 80228E14 00225D74 B0 03 00 38 */ sth r0, 0x38(r3) /* 80228E18 00225D78 A0 04 00 3A */ lhz r0, 0x3a(r4) /* 80228E1C 00225D7C B0 03 00 3A */ sth r0, 0x3a(r3) /* 80228E20 00225D80 90 A3 00 3C */ stw r5, 0x3c(r3) /* 80228E24 00225D84 90 C3 00 40 */ stw r6, 0x40(r3) /* 80228E28 00225D88 B0 E3 00 44 */ sth r7, 0x44(r3) /* 80228E2C 00225D8C C0 08 00 00 */ lfs f0, 0(r8) /* 80228E30 00225D90 D0 03 00 48 */ stfs f0, 0x48(r3) /* 80228E34 00225D94 C0 08 00 04 */ lfs f0, 4(r8) /* 80228E38 00225D98 D0 03 00 4C */ stfs f0, 0x4c(r3) /* 80228E3C 00225D9C C0 08 00 08 */ lfs f0, 8(r8) /* 80228E40 00225DA0 D0 03 00 50 */ stfs f0, 0x50(r3) /* 80228E44 00225DA4 C0 08 00 0C */ lfs f0, 0xc(r8) /* 80228E48 00225DA8 D0 03 00 54 */ stfs f0, 0x54(r3) /* 80228E4C 00225DAC 4E 80 00 20 */ blr .global sub_80228e50 sub_80228e50: /* 80228E50 00225DB0 C0 43 07 B8 */ lfs f2, 0x7b8(r3) /* 80228E54 00225DB4 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 80228E58 00225DB8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80228E5C 00225DBC 40 81 00 0C */ ble lbl_80228E68 /* 80228E60 00225DC0 EC 02 08 28 */ fsubs f0, f2, f1 /* 80228E64 00225DC4 D0 03 07 B8 */ stfs f0, 0x7b8(r3) lbl_80228E68: /* 80228E68 00225DC8 C0 43 07 AC */ lfs f2, 0x7ac(r3) /* 80228E6C 00225DCC C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 80228E70 00225DD0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80228E74 00225DD4 4C 81 00 20 */ blelr /* 80228E78 00225DD8 EC 02 08 28 */ fsubs f0, f2, f1 /* 80228E7C 00225DDC D0 03 07 AC */ stfs f0, 0x7ac(r3) /* 80228E80 00225DE0 4E 80 00 20 */ blr .global sub_80228e84 sub_80228e84: /* 80228E84 00225DE4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80228E88 00225DE8 7C 08 02 A6 */ mflr r0 /* 80228E8C 00225DEC 90 01 00 54 */ stw r0, 0x54(r1) /* 80228E90 00225DF0 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80228E94 00225DF4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80228E98 00225DF8 DB C1 00 30 */ stfd f30, 0x30(r1) /* 80228E9C 00225DFC F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 80228EA0 00225E00 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80228EA4 00225E04 93 C1 00 28 */ stw r30, 0x28(r1) /* 80228EA8 00225E08 93 A1 00 24 */ stw r29, 0x24(r1) /* 80228EAC 00225E0C 93 81 00 20 */ stw r28, 0x20(r1) /* 80228EB0 00225E10 81 83 00 00 */ lwz r12, 0(r3) /* 80228EB4 00225E14 7C 7C 1B 78 */ mr r28, r3 /* 80228EB8 00225E18 7C 9D 23 78 */ mr r29, r4 /* 80228EBC 00225E1C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80228EC0 00225E20 7D 89 03 A6 */ mtctr r12 /* 80228EC4 00225E24 4E 80 04 21 */ bctrl /* 80228EC8 00225E28 C3 E3 00 00 */ lfs f31, 0(r3) /* 80228ECC 00225E2C 7F 83 E3 78 */ mr r3, r28 /* 80228ED0 00225E30 81 9C 00 00 */ lwz r12, 0(r28) /* 80228ED4 00225E34 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 80228ED8 00225E38 7D 89 03 A6 */ mtctr r12 /* 80228EDC 00225E3C 4E 80 04 21 */ bctrl /* 80228EE0 00225E40 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80228EE4 00225E44 41 82 00 B4 */ beq lbl_80228F98 /* 80228EE8 00225E48 A0 1C 07 70 */ lhz r0, 0x770(r28) /* 80228EEC 00225E4C 7F A3 EB 78 */ mr r3, r29 /* 80228EF0 00225E50 38 81 00 08 */ addi r4, r1, 8 /* 80228EF4 00225E54 B0 01 00 08 */ sth r0, 8(r1) /* 80228EF8 00225E58 4B E2 36 7D */ bl ObjectById__13CStateManagerF9TUniqueId /* 80228EFC 00225E5C 7C 64 1B 78 */ mr r4, r3 /* 80228F00 00225E60 38 61 00 0C */ addi r3, r1, 0xc /* 80228F04 00225E64 4B E8 64 49 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80228F08 00225E68 83 C3 00 04 */ lwz r30, 4(r3) /* 80228F0C 00225E6C 28 1E 00 00 */ cmplwi r30, 0 /* 80228F10 00225E70 41 82 00 88 */ beq lbl_80228F98 /* 80228F14 00225E74 7F C3 F3 78 */ mr r3, r30 /* 80228F18 00225E78 7F A4 EB 78 */ mr r4, r29 /* 80228F1C 00225E7C 81 9E 00 00 */ lwz r12, 0(r30) /* 80228F20 00225E80 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80228F24 00225E84 7D 89 03 A6 */ mtctr r12 /* 80228F28 00225E88 4E 80 04 21 */ bctrl /* 80228F2C 00225E8C C3 C3 00 00 */ lfs f30, 0(r3) /* 80228F30 00225E90 7F 83 E3 78 */ mr r3, r28 /* 80228F34 00225E94 81 9C 00 00 */ lwz r12, 0(r28) /* 80228F38 00225E98 7F A4 EB 78 */ mr r4, r29 /* 80228F3C 00225E9C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80228F40 00225EA0 7D 89 03 A6 */ mtctr r12 /* 80228F44 00225EA4 4E 80 04 21 */ bctrl /* 80228F48 00225EA8 EC 1F F0 28 */ fsubs f0, f31, f30 /* 80228F4C 00225EAC 7F A4 EB 78 */ mr r4, r29 /* 80228F50 00225EB0 EC 1F 00 28 */ fsubs f0, f31, f0 /* 80228F54 00225EB4 D0 03 00 00 */ stfs f0, 0(r3) /* 80228F58 00225EB8 7F 83 E3 78 */ mr r3, r28 /* 80228F5C 00225EBC 81 9C 00 00 */ lwz r12, 0(r28) /* 80228F60 00225EC0 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80228F64 00225EC4 7D 89 03 A6 */ mtctr r12 /* 80228F68 00225EC8 4E 80 04 21 */ bctrl /* 80228F6C 00225ECC 7C 7F 1B 78 */ mr r31, r3 /* 80228F70 00225ED0 7F C3 F3 78 */ mr r3, r30 /* 80228F74 00225ED4 81 9E 00 00 */ lwz r12, 0(r30) /* 80228F78 00225ED8 7F A4 EB 78 */ mr r4, r29 /* 80228F7C 00225EDC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80228F80 00225EE0 7D 89 03 A6 */ mtctr r12 /* 80228F84 00225EE4 4E 80 04 21 */ bctrl /* 80228F88 00225EE8 C0 1F 00 00 */ lfs f0, 0(r31) /* 80228F8C 00225EEC D0 03 00 00 */ stfs f0, 0(r3) /* 80228F90 00225EF0 C0 1F 00 04 */ lfs f0, 4(r31) /* 80228F94 00225EF4 D0 03 00 04 */ stfs f0, 4(r3) lbl_80228F98: /* 80228F98 00225EF8 7F 83 E3 78 */ mr r3, r28 /* 80228F9C 00225EFC 7F A4 EB 78 */ mr r4, r29 /* 80228FA0 00225F00 81 9C 00 00 */ lwz r12, 0(r28) /* 80228FA4 00225F04 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80228FA8 00225F08 7D 89 03 A6 */ mtctr r12 /* 80228FAC 00225F0C 4E 80 04 21 */ bctrl /* 80228FB0 00225F10 C0 23 00 00 */ lfs f1, 0(r3) /* 80228FB4 00225F14 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 80228FB8 00225F18 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80228FBC 00225F1C 4C 40 13 82 */ cror 2, 0, 2 /* 80228FC0 00225F20 40 82 00 3C */ bne lbl_80228FFC /* 80228FC4 00225F24 81 9C 00 00 */ lwz r12, 0(r28) /* 80228FC8 00225F28 3C 80 80 5A */ lis r4, skZero3f@ha /* 80228FCC 00225F2C 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 80228FD0 00225F30 7F 83 E3 78 */ mr r3, r28 /* 80228FD4 00225F34 81 8C 00 84 */ lwz r12, 0x84(r12) /* 80228FD8 00225F38 7F A4 EB 78 */ mr r4, r29 /* 80228FDC 00225F3C 38 C0 00 14 */ li r6, 0x14 /* 80228FE0 00225F40 7D 89 03 A6 */ mtctr r12 /* 80228FE4 00225F44 4E 80 04 21 */ bctrl /* 80228FE8 00225F48 7F 83 E3 78 */ mr r3, r28 /* 80228FEC 00225F4C 7F A6 EB 78 */ mr r6, r29 /* 80228FF0 00225F50 38 80 00 29 */ li r4, 0x29 /* 80228FF4 00225F54 38 A0 00 28 */ li r5, 0x28 /* 80228FF8 00225F58 4B E2 AE DD */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager lbl_80228FFC: /* 80228FFC 00225F5C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80229000 00225F60 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80229004 00225F64 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 80229008 00225F68 CB C1 00 30 */ lfd f30, 0x30(r1) /* 8022900C 00225F6C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80229010 00225F70 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80229014 00225F74 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80229018 00225F78 80 01 00 54 */ lwz r0, 0x54(r1) /* 8022901C 00225F7C 83 81 00 20 */ lwz r28, 0x20(r1) /* 80229020 00225F80 7C 08 03 A6 */ mtlr r0 /* 80229024 00225F84 38 21 00 50 */ addi r1, r1, 0x50 /* 80229028 00225F88 4E 80 00 20 */ blr .global sub_8022902c sub_8022902c: /* 8022902C 00225F8C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80229030 00225F90 7C 08 02 A6 */ mflr r0 /* 80229034 00225F94 90 01 00 54 */ stw r0, 0x54(r1) /* 80229038 00225F98 DB E1 00 40 */ stfd f31, 0x40(r1) /* 8022903C 00225F9C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80229040 00225FA0 DB C1 00 30 */ stfd f30, 0x30(r1) /* 80229044 00225FA4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 80229048 00225FA8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022904C 00225FAC 93 C1 00 28 */ stw r30, 0x28(r1) /* 80229050 00225FB0 93 A1 00 24 */ stw r29, 0x24(r1) /* 80229054 00225FB4 93 81 00 20 */ stw r28, 0x20(r1) /* 80229058 00225FB8 81 83 00 00 */ lwz r12, 0(r3) /* 8022905C 00225FBC 7C 7C 1B 78 */ mr r28, r3 /* 80229060 00225FC0 7C 9D 23 78 */ mr r29, r4 /* 80229064 00225FC4 7C BE 2B 78 */ mr r30, r5 /* 80229068 00225FC8 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8022906C 00225FCC 7D 89 03 A6 */ mtctr r12 /* 80229070 00225FD0 4E 80 04 21 */ bctrl /* 80229074 00225FD4 A0 9E 00 00 */ lhz r4, 0(r30) /* 80229078 00225FD8 7C 7F 1B 78 */ mr r31, r3 /* 8022907C 00225FDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80229080 00225FE0 7C 04 00 40 */ cmplw r4, r0 /* 80229084 00225FE4 41 82 00 60 */ beq lbl_802290E4 /* 80229088 00225FE8 B0 81 00 08 */ sth r4, 8(r1) /* 8022908C 00225FEC 7F A3 EB 78 */ mr r3, r29 /* 80229090 00225FF0 38 81 00 08 */ addi r4, r1, 8 /* 80229094 00225FF4 4B E2 34 E1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80229098 00225FF8 7C 64 1B 78 */ mr r4, r3 /* 8022909C 00225FFC 38 61 00 0C */ addi r3, r1, 0xc /* 802290A0 00226000 4B E8 62 AD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 802290A4 00226004 83 C3 00 04 */ lwz r30, 4(r3) /* 802290A8 00226008 28 1E 00 00 */ cmplwi r30, 0 /* 802290AC 0022600C 41 82 00 38 */ beq lbl_802290E4 /* 802290B0 00226010 7F C3 F3 78 */ mr r3, r30 /* 802290B4 00226014 7F A4 EB 78 */ mr r4, r29 /* 802290B8 00226018 81 9E 00 00 */ lwz r12, 0(r30) /* 802290BC 0022601C C3 FF 00 04 */ lfs f31, 4(r31) /* 802290C0 00226020 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802290C4 00226024 C3 DC 06 9C */ lfs f30, 0x69c(r28) /* 802290C8 00226028 7D 89 03 A6 */ mtctr r12 /* 802290CC 0022602C 4E 80 04 21 */ bctrl /* 802290D0 00226030 D3 C3 00 00 */ stfs f30, 0(r3) /* 802290D4 00226034 38 9C 05 6C */ addi r4, r28, 0x56c /* 802290D8 00226038 D3 E3 00 04 */ stfs f31, 4(r3) /* 802290DC 0022603C 7F C3 F3 78 */ mr r3, r30 /* 802290E0 00226040 4B F7 FA B9 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_802290E4: /* 802290E4 00226044 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 802290E8 00226048 CB E1 00 40 */ lfd f31, 0x40(r1) /* 802290EC 0022604C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 802290F0 00226050 CB C1 00 30 */ lfd f30, 0x30(r1) /* 802290F4 00226054 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802290F8 00226058 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802290FC 0022605C 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80229100 00226060 80 01 00 54 */ lwz r0, 0x54(r1) /* 80229104 00226064 83 81 00 20 */ lwz r28, 0x20(r1) /* 80229108 00226068 7C 08 03 A6 */ mtlr r0 /* 8022910C 0022606C 38 21 00 50 */ addi r1, r1, 0x50 /* 80229110 00226070 4E 80 00 20 */ blr .global sub_80229114 sub_80229114: /* 80229114 00226074 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80229118 00226078 7C 08 02 A6 */ mflr r0 /* 8022911C 0022607C 90 01 00 34 */ stw r0, 0x34(r1) /* 80229120 00226080 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80229124 00226084 93 C1 00 28 */ stw r30, 0x28(r1) /* 80229128 00226088 93 A1 00 24 */ stw r29, 0x24(r1) /* 8022912C 0022608C 7C 9D 23 78 */ mr r29, r4 /* 80229130 00226090 93 81 00 20 */ stw r28, 0x20(r1) /* 80229134 00226094 7C 7C 1B 78 */ mr r28, r3 /* 80229138 00226098 81 83 00 00 */ lwz r12, 0(r3) /* 8022913C 0022609C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80229140 002260A0 7D 89 03 A6 */ mtctr r12 /* 80229144 002260A4 4E 80 04 21 */ bctrl /* 80229148 002260A8 7C 7F 1B 78 */ mr r31, r3 /* 8022914C 002260AC 7F 83 E3 78 */ mr r3, r28 /* 80229150 002260B0 C0 1F 00 00 */ lfs f0, 0(r31) /* 80229154 002260B4 D0 1C 07 B4 */ stfs f0, 0x7b4(r28) /* 80229158 002260B8 81 9C 00 00 */ lwz r12, 0(r28) /* 8022915C 002260BC 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 80229160 002260C0 7D 89 03 A6 */ mtctr r12 /* 80229164 002260C4 4E 80 04 21 */ bctrl /* 80229168 002260C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022916C 002260CC 41 82 00 64 */ beq lbl_802291D0 /* 80229170 002260D0 A0 1C 07 70 */ lhz r0, 0x770(r28) /* 80229174 002260D4 7F A3 EB 78 */ mr r3, r29 /* 80229178 002260D8 38 81 00 0C */ addi r4, r1, 0xc /* 8022917C 002260DC B0 01 00 0C */ sth r0, 0xc(r1) /* 80229180 002260E0 4B E2 33 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80229184 002260E4 7C 64 1B 78 */ mr r4, r3 /* 80229188 002260E8 38 61 00 10 */ addi r3, r1, 0x10 /* 8022918C 002260EC 4B E8 61 C1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80229190 002260F0 83 C3 00 04 */ lwz r30, 4(r3) /* 80229194 002260F4 28 1E 00 00 */ cmplwi r30, 0 /* 80229198 002260F8 41 82 00 38 */ beq lbl_802291D0 /* 8022919C 002260FC 7F C3 F3 78 */ mr r3, r30 /* 802291A0 00226100 7F A4 EB 78 */ mr r4, r29 /* 802291A4 00226104 81 9E 00 00 */ lwz r12, 0(r30) /* 802291A8 00226108 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802291AC 0022610C 7D 89 03 A6 */ mtctr r12 /* 802291B0 00226110 4E 80 04 21 */ bctrl /* 802291B4 00226114 C0 1F 00 00 */ lfs f0, 0(r31) /* 802291B8 00226118 38 9C 05 6C */ addi r4, r28, 0x56c /* 802291BC 0022611C D0 03 00 00 */ stfs f0, 0(r3) /* 802291C0 00226120 C0 1F 00 04 */ lfs f0, 4(r31) /* 802291C4 00226124 D0 03 00 04 */ stfs f0, 4(r3) /* 802291C8 00226128 7F C3 F3 78 */ mr r3, r30 /* 802291CC 0022612C 4B F7 F9 CD */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_802291D0: /* 802291D0 00226130 A0 1C 07 72 */ lhz r0, 0x772(r28) /* 802291D4 00226134 7F 83 E3 78 */ mr r3, r28 /* 802291D8 00226138 7F A4 EB 78 */ mr r4, r29 /* 802291DC 0022613C 38 A1 00 08 */ addi r5, r1, 8 /* 802291E0 00226140 B0 01 00 08 */ sth r0, 8(r1) /* 802291E4 00226144 4B FF FE 49 */ bl sub_8022902c /* 802291E8 00226148 80 01 00 34 */ lwz r0, 0x34(r1) /* 802291EC 0022614C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802291F0 00226150 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802291F4 00226154 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802291F8 00226158 83 81 00 20 */ lwz r28, 0x20(r1) /* 802291FC 0022615C 7C 08 03 A6 */ mtlr r0 /* 80229200 00226160 38 21 00 30 */ addi r1, r1, 0x30 /* 80229204 00226164 4E 80 00 20 */ blr .global sub_80229208 sub_80229208: /* 80229208 00226168 80 83 04 50 */ lwz r4, 0x450(r3) /* 8022920C 0022616C 38 60 00 00 */ li r3, 0 /* 80229210 00226170 80 04 02 EC */ lwz r0, 0x2ec(r4) /* 80229214 00226174 2C 00 00 00 */ cmpwi r0, 0 /* 80229218 00226178 4C 82 00 20 */ bnelr /* 8022921C 0022617C 80 84 02 B8 */ lwz r4, 0x2b8(r4) /* 80229220 00226180 38 00 00 01 */ li r0, 1 /* 80229224 00226184 2C 04 00 05 */ cmpwi r4, 5 /* 80229228 00226188 41 82 00 10 */ beq lbl_80229238 /* 8022922C 0022618C 2C 04 00 08 */ cmpwi r4, 8 /* 80229230 00226190 41 82 00 08 */ beq lbl_80229238 /* 80229234 00226194 7C 60 1B 78 */ mr r0, r3 lbl_80229238: /* 80229238 00226198 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8022923C 0022619C 4D 82 00 20 */ beqlr /* 80229240 002261A0 38 60 00 01 */ li r3, 1 /* 80229244 002261A4 4E 80 00 20 */ blr .global sub_80229248 sub_80229248: /* 80229248 002261A8 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8022924C 002261AC 7C 08 02 A6 */ mflr r0 /* 80229250 002261B0 90 01 00 64 */ stw r0, 0x64(r1) /* 80229254 002261B4 DB E1 00 50 */ stfd f31, 0x50(r1) /* 80229258 002261B8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 8022925C 002261BC 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80229260 002261C0 7C 7F 1B 78 */ mr r31, r3 /* 80229264 002261C4 81 83 00 00 */ lwz r12, 0(r3) /* 80229268 002261C8 80 83 00 64 */ lwz r4, 0x64(r3) /* 8022926C 002261CC C0 02 B5 F8 */ lfs f0, lbl_805AD318@sda21(r2) /* 80229270 002261D0 C0 44 00 04 */ lfs f2, 4(r4) /* 80229274 002261D4 C0 64 00 00 */ lfs f3, 0(r4) /* 80229278 002261D8 C0 24 00 08 */ lfs f1, 8(r4) /* 8022927C 002261DC EF E0 00 B2 */ fmuls f31, f0, f2 /* 80229280 002261E0 81 8C 02 D0 */ lwz r12, 0x2d0(r12) /* 80229284 002261E4 D0 61 00 20 */ stfs f3, 0x20(r1) /* 80229288 002261E8 D0 41 00 24 */ stfs f2, 0x24(r1) /* 8022928C 002261EC D0 21 00 28 */ stfs f1, 0x28(r1) /* 80229290 002261F0 7D 89 03 A6 */ mtctr r12 /* 80229294 002261F4 4E 80 04 21 */ bctrl /* 80229298 002261F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022929C 002261FC 41 82 00 0C */ beq lbl_802292A8 /* 802292A0 00226200 C0 22 B5 FC */ lfs f1, lbl_805AD31C@sda21(r2) /* 802292A4 00226204 48 00 00 08 */ b lbl_802292AC lbl_802292A8: /* 802292A8 00226208 C0 22 B5 CC */ lfs f1, lbl_805AD2EC@sda21(r2) lbl_802292AC: /* 802292AC 0022620C FC 40 F8 50 */ fneg f2, f31 /* 802292B0 00226210 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 802292B4 00226214 EC 21 07 F2 */ fmuls f1, f1, f31 /* 802292B8 00226218 D3 E1 00 08 */ stfs f31, 8(r1) /* 802292BC 0022621C 38 61 00 2C */ addi r3, r1, 0x2c /* 802292C0 00226220 38 81 00 14 */ addi r4, r1, 0x14 /* 802292C4 00226224 D3 E1 00 0C */ stfs f31, 0xc(r1) /* 802292C8 00226228 38 A1 00 08 */ addi r5, r1, 8 /* 802292CC 0022622C D0 21 00 10 */ stfs f1, 0x10(r1) /* 802292D0 00226230 D0 41 00 14 */ stfs f2, 0x14(r1) /* 802292D4 00226234 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802292D8 00226238 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 802292DC 0022623C 48 10 F2 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 802292E0 00226240 7F E3 FB 78 */ mr r3, r31 /* 802292E4 00226244 38 81 00 2C */ addi r4, r1, 0x2c /* 802292E8 00226248 4B EF 13 71 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox /* 802292EC 0022624C 80 61 00 2C */ lwz r3, 0x2c(r1) /* 802292F0 00226250 80 01 00 30 */ lwz r0, 0x30(r1) /* 802292F4 00226254 C0 02 B5 C8 */ lfs f0, lbl_805AD2E8@sda21(r2) /* 802292F8 00226258 90 7F 07 48 */ stw r3, 0x748(r31) /* 802292FC 0022625C EC 00 07 F2 */ fmuls f0, f0, f31 /* 80229300 00226260 90 1F 07 4C */ stw r0, 0x74c(r31) /* 80229304 00226264 80 01 00 34 */ lwz r0, 0x34(r1) /* 80229308 00226268 90 1F 07 50 */ stw r0, 0x750(r31) /* 8022930C 0022626C 80 61 00 38 */ lwz r3, 0x38(r1) /* 80229310 00226270 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80229314 00226274 90 7F 07 54 */ stw r3, 0x754(r31) /* 80229318 00226278 90 1F 07 58 */ stw r0, 0x758(r31) /* 8022931C 0022627C 80 01 00 40 */ lwz r0, 0x40(r1) /* 80229320 00226280 90 1F 07 5C */ stw r0, 0x75c(r31) /* 80229324 00226284 D3 FF 08 A4 */ stfs f31, 0x8a4(r31) /* 80229328 00226288 D0 1F 08 A0 */ stfs f0, 0x8a0(r31) /* 8022932C 0022628C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 80229330 00226290 80 01 00 64 */ lwz r0, 0x64(r1) /* 80229334 00226294 CB E1 00 50 */ lfd f31, 0x50(r1) /* 80229338 00226298 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8022933C 0022629C 7C 08 03 A6 */ mtlr r0 /* 80229340 002262A0 38 21 00 60 */ addi r1, r1, 0x60 /* 80229344 002262A4 4E 80 00 20 */ blr .global sub_80229348 sub_80229348: /* 80229348 002262A8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022934C 002262AC 7C 08 02 A6 */ mflr r0 /* 80229350 002262B0 90 01 00 34 */ stw r0, 0x34(r1) /* 80229354 002262B4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80229358 002262B8 93 C1 00 28 */ stw r30, 0x28(r1) /* 8022935C 002262BC 7C DE 33 78 */ mr r30, r6 /* 80229360 002262C0 93 A1 00 24 */ stw r29, 0x24(r1) /* 80229364 002262C4 7C BD 2B 78 */ mr r29, r5 /* 80229368 002262C8 3B FD 00 04 */ addi r31, r29, 4 /* 8022936C 002262CC 93 81 00 20 */ stw r28, 0x20(r1) /* 80229370 002262D0 7C 9C 23 78 */ mr r28, r4 /* 80229374 002262D4 48 00 00 4C */ b lbl_802293C0 lbl_80229378: /* 80229378 002262D8 A0 1F 00 00 */ lhz r0, 0(r31) /* 8022937C 002262DC 7F 83 E3 78 */ mr r3, r28 /* 80229380 002262E0 38 81 00 08 */ addi r4, r1, 8 /* 80229384 002262E4 B0 01 00 08 */ sth r0, 8(r1) /* 80229388 002262E8 4B E2 31 ED */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022938C 002262EC 7C 64 1B 78 */ mr r4, r3 /* 80229390 002262F0 38 61 00 0C */ addi r3, r1, 0xc /* 80229394 002262F4 4B E8 5F B9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80229398 002262F8 80 63 00 04 */ lwz r3, 4(r3) /* 8022939C 002262FC 28 03 00 00 */ cmplwi r3, 0 /* 802293A0 00226300 41 82 00 1C */ beq lbl_802293BC /* 802293A4 00226304 C0 1E 00 00 */ lfs f0, 0(r30) /* 802293A8 00226308 D0 03 03 04 */ stfs f0, 0x304(r3) /* 802293AC 0022630C C0 1E 00 04 */ lfs f0, 4(r30) /* 802293B0 00226310 D0 03 03 08 */ stfs f0, 0x308(r3) /* 802293B4 00226314 C0 1E 00 08 */ lfs f0, 8(r30) /* 802293B8 00226318 D0 03 03 0C */ stfs f0, 0x30c(r3) lbl_802293BC: /* 802293BC 0022631C 3B FF 00 02 */ addi r31, r31, 2 lbl_802293C0: /* 802293C0 00226320 80 1D 00 00 */ lwz r0, 0(r29) /* 802293C4 00226324 54 00 08 3C */ slwi r0, r0, 1 /* 802293C8 00226328 7C 7D 02 14 */ add r3, r29, r0 /* 802293CC 0022632C 38 03 00 04 */ addi r0, r3, 4 /* 802293D0 00226330 7C 1F 00 40 */ cmplw r31, r0 /* 802293D4 00226334 40 82 FF A4 */ bne lbl_80229378 /* 802293D8 00226338 80 01 00 34 */ lwz r0, 0x34(r1) /* 802293DC 0022633C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802293E0 00226340 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802293E4 00226344 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802293E8 00226348 83 81 00 20 */ lwz r28, 0x20(r1) /* 802293EC 0022634C 7C 08 03 A6 */ mtlr r0 /* 802293F0 00226350 38 21 00 30 */ addi r1, r1, 0x30 /* 802293F4 00226354 4E 80 00 20 */ blr .global sub_802293f8 sub_802293f8: /* 802293F8 00226358 80 05 00 00 */ lwz r0, 0(r5) /* 802293FC 0022635C 38 C5 00 04 */ addi r6, r5, 4 /* 80229400 00226360 54 00 08 3C */ slwi r0, r0, 1 /* 80229404 00226364 7C A5 02 14 */ add r5, r5, r0 /* 80229408 00226368 38 A5 00 04 */ addi r5, r5, 4 /* 8022940C 0022636C 48 00 00 20 */ b lbl_8022942C lbl_80229410: /* 80229410 00226370 A0 66 00 00 */ lhz r3, 0(r6) /* 80229414 00226374 A0 04 00 00 */ lhz r0, 0(r4) /* 80229418 00226378 7C 03 00 40 */ cmplw r3, r0 /* 8022941C 0022637C 40 82 00 0C */ bne lbl_80229428 /* 80229420 00226380 38 60 00 01 */ li r3, 1 /* 80229424 00226384 4E 80 00 20 */ blr lbl_80229428: /* 80229428 00226388 38 C6 00 02 */ addi r6, r6, 2 lbl_8022942C: /* 8022942C 0022638C 7C 06 28 40 */ cmplw r6, r5 /* 80229430 00226390 40 82 FF E0 */ bne lbl_80229410 /* 80229434 00226394 38 60 00 00 */ li r3, 0 /* 80229438 00226398 4E 80 00 20 */ blr .global sub_8022943c sub_8022943c: /* 8022943C 0022639C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80229440 002263A0 7C 08 02 A6 */ mflr r0 /* 80229444 002263A4 90 01 00 44 */ stw r0, 0x44(r1) /* 80229448 002263A8 38 61 00 18 */ addi r3, r1, 0x18 /* 8022944C 002263AC BF 61 00 2C */ stmw r27, 0x2c(r1) /* 80229450 002263B0 7C 9B 23 78 */ mr r27, r4 /* 80229454 002263B4 7C DD 33 78 */ mr r29, r6 /* 80229458 002263B8 7C FC 3B 78 */ mr r28, r7 /* 8022945C 002263BC 7C A4 2B 78 */ mr r4, r5 /* 80229460 002263C0 4B DD B8 59 */ bl string_l__4rstlFPCc /* 80229464 002263C4 7F 63 DB 78 */ mr r3, r27 /* 80229468 002263C8 38 81 00 18 */ addi r4, r1, 0x18 /* 8022946C 002263CC 4B E2 91 75 */ 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" /* 80229470 002263D0 7C 7F 1B 78 */ mr r31, r3 /* 80229474 002263D4 38 61 00 18 */ addi r3, r1, 0x18 /* 80229478 002263D8 48 11 46 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8022947C 002263DC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80229480 002263E0 41 82 00 0C */ beq lbl_8022948C /* 80229484 002263E4 38 60 00 01 */ li r3, 1 /* 80229488 002263E8 48 00 00 58 */ b lbl_802294E0 lbl_8022948C: /* 8022948C 002263EC 7F BE EB 78 */ mr r30, r29 /* 80229490 002263F0 3B A0 00 00 */ li r29, 0 /* 80229494 002263F4 48 00 00 40 */ b lbl_802294D4 lbl_80229498: /* 80229498 002263F8 80 9E 00 00 */ lwz r4, 0(r30) /* 8022949C 002263FC 38 61 00 08 */ addi r3, r1, 8 /* 802294A0 00226400 4B DD B8 19 */ bl string_l__4rstlFPCc /* 802294A4 00226404 7F 63 DB 78 */ mr r3, r27 /* 802294A8 00226408 38 81 00 08 */ addi r4, r1, 8 /* 802294AC 0022640C 4B E2 91 35 */ 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" /* 802294B0 00226410 7C 7F 1B 78 */ mr r31, r3 /* 802294B4 00226414 38 61 00 08 */ addi r3, r1, 8 /* 802294B8 00226418 48 11 46 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802294BC 0022641C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802294C0 00226420 41 82 00 0C */ beq lbl_802294CC /* 802294C4 00226424 38 60 00 01 */ li r3, 1 /* 802294C8 00226428 48 00 00 18 */ b lbl_802294E0 lbl_802294CC: /* 802294CC 0022642C 3B DE 00 10 */ addi r30, r30, 0x10 /* 802294D0 00226430 3B BD 00 01 */ addi r29, r29, 1 lbl_802294D4: /* 802294D4 00226434 7C 1D E0 00 */ cmpw r29, r28 /* 802294D8 00226438 41 80 FF C0 */ blt lbl_80229498 /* 802294DC 0022643C 38 60 00 00 */ li r3, 0 lbl_802294E0: /* 802294E0 00226440 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 802294E4 00226444 80 01 00 44 */ lwz r0, 0x44(r1) /* 802294E8 00226448 7C 08 03 A6 */ mtlr r0 /* 802294EC 0022644C 38 21 00 40 */ addi r1, r1, 0x40 /* 802294F0 00226450 4E 80 00 20 */ blr .global sub_802294f4 sub_802294f4: /* 802294F4 00226454 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 802294F8 00226458 7C 08 02 A6 */ mflr r0 /* 802294FC 0022645C 90 01 00 E4 */ stw r0, 0xe4(r1) /* 80229500 00226460 BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 80229504 00226464 7C B9 2B 78 */ mr r25, r5 /* 80229508 00226468 7C DA 33 78 */ mr r26, r6 /* 8022950C 0022646C 7C 9E 23 78 */ mr r30, r4 /* 80229510 00226470 3B A1 00 60 */ addi r29, r1, 0x60 /* 80229514 00226474 3B 81 00 A4 */ addi r28, r1, 0xa4 /* 80229518 00226478 3B 60 00 00 */ li r27, 0 /* 8022951C 0022647C 80 63 00 64 */ lwz r3, 0x64(r3) /* 80229520 00226480 83 E3 00 10 */ lwz r31, 0x10(r3) /* 80229524 00226484 48 00 01 20 */ b lbl_80229644 lbl_80229528: /* 80229528 00226488 80 9E 00 00 */ lwz r4, 0(r30) /* 8022952C 0022648C 38 61 00 24 */ addi r3, r1, 0x24 /* 80229530 00226490 4B DD B7 89 */ bl string_l__4rstlFPCc /* 80229534 00226494 7F E4 FB 78 */ mr r4, r31 /* 80229538 00226498 38 61 00 0C */ addi r3, r1, 0xc /* 8022953C 0022649C 38 A1 00 24 */ addi r5, r1, 0x24 /* 80229540 002264A0 4B E0 52 F9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80229544 002264A4 88 01 00 0C */ lbz r0, 0xc(r1) /* 80229548 002264A8 38 61 00 24 */ addi r3, r1, 0x24 /* 8022954C 002264AC 98 01 00 10 */ stb r0, 0x10(r1) /* 80229550 002264B0 48 11 45 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80229554 002264B4 88 01 00 10 */ lbz r0, 0x10(r1) /* 80229558 002264B8 28 00 00 FF */ cmplwi r0, 0xff /* 8022955C 002264BC 41 82 00 E0 */ beq lbl_8022963C /* 80229560 002264C0 80 9E 00 00 */ lwz r4, 0(r30) /* 80229564 002264C4 38 61 00 14 */ addi r3, r1, 0x14 /* 80229568 002264C8 4B DD B7 51 */ bl string_l__4rstlFPCc /* 8022956C 002264CC 88 01 00 10 */ lbz r0, 0x10(r1) /* 80229570 002264D0 38 61 00 34 */ addi r3, r1, 0x34 /* 80229574 002264D4 C0 3E 00 04 */ lfs f1, 4(r30) /* 80229578 002264D8 38 81 00 08 */ addi r4, r1, 8 /* 8022957C 002264DC 98 01 00 08 */ stb r0, 8(r1) /* 80229580 002264E0 38 A1 00 14 */ addi r5, r1, 0x14 /* 80229584 002264E4 C0 42 B5 F4 */ lfs f2, lbl_805AD314@sda21(r2) /* 80229588 002264E8 4B F7 F2 85 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 8022958C 002264EC 80 E1 00 34 */ lwz r7, 0x34(r1) /* 80229590 002264F0 7F 83 E3 78 */ mr r3, r28 /* 80229594 002264F4 80 C1 00 38 */ lwz r6, 0x38(r1) /* 80229598 002264F8 7F A4 EB 78 */ mr r4, r29 /* 8022959C 002264FC 88 A1 00 3C */ lbz r5, 0x3c(r1) /* 802295A0 00226500 88 01 00 3D */ lbz r0, 0x3d(r1) /* 802295A4 00226504 C0 E1 00 40 */ lfs f7, 0x40(r1) /* 802295A8 00226508 C0 C1 00 44 */ lfs f6, 0x44(r1) /* 802295AC 0022650C C0 A1 00 48 */ lfs f5, 0x48(r1) /* 802295B0 00226510 C0 81 00 4C */ lfs f4, 0x4c(r1) /* 802295B4 00226514 C0 61 00 50 */ lfs f3, 0x50(r1) /* 802295B8 00226518 C0 41 00 54 */ lfs f2, 0x54(r1) /* 802295BC 0022651C C0 21 00 58 */ lfs f1, 0x58(r1) /* 802295C0 00226520 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 802295C4 00226524 90 E1 00 78 */ stw r7, 0x78(r1) /* 802295C8 00226528 90 C1 00 7C */ stw r6, 0x7c(r1) /* 802295CC 0022652C 98 A1 00 80 */ stb r5, 0x80(r1) /* 802295D0 00226530 98 01 00 81 */ stb r0, 0x81(r1) /* 802295D4 00226534 D0 E1 00 84 */ stfs f7, 0x84(r1) /* 802295D8 00226538 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 802295DC 0022653C D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 802295E0 00226540 D0 81 00 90 */ stfs f4, 0x90(r1) /* 802295E4 00226544 D0 61 00 94 */ stfs f3, 0x94(r1) /* 802295E8 00226548 D0 41 00 98 */ stfs f2, 0x98(r1) /* 802295EC 0022654C D0 21 00 9C */ stfs f1, 0x9c(r1) /* 802295F0 00226550 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 802295F4 00226554 48 11 4B 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802295F8 00226558 A0 01 00 70 */ lhz r0, 0x70(r1) /* 802295FC 0022655C 28 1D 00 00 */ cmplwi r29, 0 /* 80229600 00226560 C0 01 00 74 */ lfs f0, 0x74(r1) /* 80229604 00226564 B0 01 00 B4 */ sth r0, 0xb4(r1) /* 80229608 00226568 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8022960C 0022656C 41 82 00 0C */ beq lbl_80229618 /* 80229610 00226570 7F A3 EB 78 */ mr r3, r29 /* 80229614 00226574 48 11 44 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80229618: /* 80229618 00226578 38 61 00 14 */ addi r3, r1, 0x14 /* 8022961C 0022657C 48 11 44 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80229620 00226580 7F 43 D3 78 */ mr r3, r26 /* 80229624 00226584 38 81 00 78 */ addi r4, r1, 0x78 /* 80229628 00226588 4B F2 CC 09 */ bl sub_80156230 /* 8022962C 0022658C 28 1C 00 00 */ cmplwi r28, 0 /* 80229630 00226590 41 82 00 0C */ beq lbl_8022963C /* 80229634 00226594 7F 83 E3 78 */ mr r3, r28 /* 80229638 00226598 48 11 44 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8022963C: /* 8022963C 0022659C 3B DE 00 08 */ addi r30, r30, 8 /* 80229640 002265A0 3B 7B 00 01 */ addi r27, r27, 1 lbl_80229644: /* 80229644 002265A4 7C 1B C8 00 */ cmpw r27, r25 /* 80229648 002265A8 41 80 FE E0 */ blt lbl_80229528 /* 8022964C 002265AC BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 80229650 002265B0 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 80229654 002265B4 7C 08 03 A6 */ mtlr r0 /* 80229658 002265B8 38 21 00 E0 */ addi r1, r1, 0xe0 /* 8022965C 002265BC 4E 80 00 20 */ blr .global sub_80229660 sub_80229660: /* 80229660 002265C0 94 21 FF 00 */ stwu r1, -0x100(r1) /* 80229664 002265C4 7C 08 02 A6 */ mflr r0 /* 80229668 002265C8 90 01 01 04 */ stw r0, 0x104(r1) /* 8022966C 002265CC BF 21 00 E4 */ stmw r25, 0xe4(r1) /* 80229670 002265D0 7C B9 2B 78 */ mr r25, r5 /* 80229674 002265D4 7C DA 33 78 */ mr r26, r6 /* 80229678 002265D8 7C 9E 23 78 */ mr r30, r4 /* 8022967C 002265DC 3B A1 00 7C */ addi r29, r1, 0x7c /* 80229680 002265E0 3B 81 00 C0 */ addi r28, r1, 0xc0 /* 80229684 002265E4 3B 60 00 00 */ li r27, 0 /* 80229688 002265E8 80 63 00 64 */ lwz r3, 0x64(r3) /* 8022968C 002265EC 83 E3 00 10 */ lwz r31, 0x10(r3) /* 80229690 002265F0 48 00 01 6C */ b lbl_802297FC lbl_80229694: /* 80229694 002265F4 80 9E 00 00 */ lwz r4, 0(r30) /* 80229698 002265F8 38 61 00 40 */ addi r3, r1, 0x40 /* 8022969C 002265FC 4B DD B6 1D */ bl string_l__4rstlFPCc /* 802296A0 00226600 7F E4 FB 78 */ mr r4, r31 /* 802296A4 00226604 38 61 00 14 */ addi r3, r1, 0x14 /* 802296A8 00226608 38 A1 00 40 */ addi r5, r1, 0x40 /* 802296AC 0022660C 4B E0 51 8D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802296B0 00226610 88 01 00 14 */ lbz r0, 0x14(r1) /* 802296B4 00226614 38 61 00 40 */ addi r3, r1, 0x40 /* 802296B8 00226618 98 01 00 1C */ stb r0, 0x1c(r1) /* 802296BC 0022661C 48 11 44 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802296C0 00226620 80 9E 00 04 */ lwz r4, 4(r30) /* 802296C4 00226624 38 61 00 30 */ addi r3, r1, 0x30 /* 802296C8 00226628 4B DD B5 F1 */ bl string_l__4rstlFPCc /* 802296CC 0022662C 7F E4 FB 78 */ mr r4, r31 /* 802296D0 00226630 38 61 00 10 */ addi r3, r1, 0x10 /* 802296D4 00226634 38 A1 00 30 */ addi r5, r1, 0x30 /* 802296D8 00226638 4B E0 51 61 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802296DC 0022663C 88 01 00 10 */ lbz r0, 0x10(r1) /* 802296E0 00226640 38 61 00 30 */ addi r3, r1, 0x30 /* 802296E4 00226644 98 01 00 18 */ stb r0, 0x18(r1) /* 802296E8 00226648 48 11 43 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802296EC 0022664C 88 01 00 1C */ lbz r0, 0x1c(r1) /* 802296F0 00226650 28 00 00 FF */ cmplwi r0, 0xff /* 802296F4 00226654 41 82 01 00 */ beq lbl_802297F4 /* 802296F8 00226658 88 01 00 18 */ lbz r0, 0x18(r1) /* 802296FC 0022665C 28 00 00 FF */ cmplwi r0, 0xff /* 80229700 00226660 41 82 00 F4 */ beq lbl_802297F4 /* 80229704 00226664 80 9E 00 00 */ lwz r4, 0(r30) /* 80229708 00226668 38 61 00 20 */ addi r3, r1, 0x20 /* 8022970C 0022666C 4B DD B5 AD */ bl string_l__4rstlFPCc /* 80229710 00226670 88 A1 00 18 */ lbz r5, 0x18(r1) /* 80229714 00226674 38 61 00 50 */ addi r3, r1, 0x50 /* 80229718 00226678 88 01 00 1C */ lbz r0, 0x1c(r1) /* 8022971C 0022667C 38 81 00 0C */ addi r4, r1, 0xc /* 80229720 00226680 98 A1 00 08 */ stb r5, 8(r1) /* 80229724 00226684 38 A1 00 08 */ addi r5, r1, 8 /* 80229728 00226688 C0 3E 00 08 */ lfs f1, 8(r30) /* 8022972C 0022668C 38 E1 00 20 */ addi r7, r1, 0x20 /* 80229730 00226690 98 01 00 0C */ stb r0, 0xc(r1) /* 80229734 00226694 38 C0 00 01 */ li r6, 1 /* 80229738 00226698 C0 5E 00 0C */ lfs f2, 0xc(r30) /* 8022973C 0022669C C0 62 B5 F4 */ lfs f3, lbl_805AD314@sda21(r2) /* 80229740 002266A0 4B F7 F0 15 */ bl "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 80229744 002266A4 80 E1 00 50 */ lwz r7, 0x50(r1) /* 80229748 002266A8 7F 83 E3 78 */ mr r3, r28 /* 8022974C 002266AC 80 C1 00 54 */ lwz r6, 0x54(r1) /* 80229750 002266B0 7F A4 EB 78 */ mr r4, r29 /* 80229754 002266B4 88 A1 00 58 */ lbz r5, 0x58(r1) /* 80229758 002266B8 88 01 00 59 */ lbz r0, 0x59(r1) /* 8022975C 002266BC C0 E1 00 5C */ lfs f7, 0x5c(r1) /* 80229760 002266C0 C0 C1 00 60 */ lfs f6, 0x60(r1) /* 80229764 002266C4 C0 A1 00 64 */ lfs f5, 0x64(r1) /* 80229768 002266C8 C0 81 00 68 */ lfs f4, 0x68(r1) /* 8022976C 002266CC C0 61 00 6C */ lfs f3, 0x6c(r1) /* 80229770 002266D0 C0 41 00 70 */ lfs f2, 0x70(r1) /* 80229774 002266D4 C0 21 00 74 */ lfs f1, 0x74(r1) /* 80229778 002266D8 C0 01 00 78 */ lfs f0, 0x78(r1) /* 8022977C 002266DC 90 E1 00 94 */ stw r7, 0x94(r1) /* 80229780 002266E0 90 C1 00 98 */ stw r6, 0x98(r1) /* 80229784 002266E4 98 A1 00 9C */ stb r5, 0x9c(r1) /* 80229788 002266E8 98 01 00 9D */ stb r0, 0x9d(r1) /* 8022978C 002266EC D0 E1 00 A0 */ stfs f7, 0xa0(r1) /* 80229790 002266F0 D0 C1 00 A4 */ stfs f6, 0xa4(r1) /* 80229794 002266F4 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 80229798 002266F8 D0 81 00 AC */ stfs f4, 0xac(r1) /* 8022979C 002266FC D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 802297A0 00226700 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 802297A4 00226704 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 802297A8 00226708 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 802297AC 0022670C 48 11 49 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802297B0 00226710 A0 01 00 8C */ lhz r0, 0x8c(r1) /* 802297B4 00226714 28 1D 00 00 */ cmplwi r29, 0 /* 802297B8 00226718 C0 01 00 90 */ lfs f0, 0x90(r1) /* 802297BC 0022671C B0 01 00 D0 */ sth r0, 0xd0(r1) /* 802297C0 00226720 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 802297C4 00226724 41 82 00 0C */ beq lbl_802297D0 /* 802297C8 00226728 7F A3 EB 78 */ mr r3, r29 /* 802297CC 0022672C 48 11 43 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802297D0: /* 802297D0 00226730 38 61 00 20 */ addi r3, r1, 0x20 /* 802297D4 00226734 48 11 43 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802297D8 00226738 7F 43 D3 78 */ mr r3, r26 /* 802297DC 0022673C 38 81 00 94 */ addi r4, r1, 0x94 /* 802297E0 00226740 4B F2 CA 51 */ bl sub_80156230 /* 802297E4 00226744 28 1C 00 00 */ cmplwi r28, 0 /* 802297E8 00226748 41 82 00 0C */ beq lbl_802297F4 /* 802297EC 0022674C 7F 83 E3 78 */ mr r3, r28 /* 802297F0 00226750 48 11 42 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802297F4: /* 802297F4 00226754 3B DE 00 10 */ addi r30, r30, 0x10 /* 802297F8 00226758 3B 7B 00 01 */ addi r27, r27, 1 lbl_802297FC: /* 802297FC 0022675C 7C 1B C8 00 */ cmpw r27, r25 /* 80229800 00226760 41 80 FE 94 */ blt lbl_80229694 /* 80229804 00226764 BB 21 00 E4 */ lmw r25, 0xe4(r1) /* 80229808 00226768 80 01 01 04 */ lwz r0, 0x104(r1) /* 8022980C 0022676C 7C 08 03 A6 */ mtlr r0 /* 80229810 00226770 38 21 01 00 */ addi r1, r1, 0x100 /* 80229814 00226774 4E 80 00 20 */ blr .global sub_80229818 sub_80229818: /* 80229818 00226778 94 21 FF 00 */ stwu r1, -0x100(r1) /* 8022981C 0022677C 7C 08 02 A6 */ mflr r0 /* 80229820 00226780 3C A0 80 57 */ lis r5, lbl_80570004@ha /* 80229824 00226784 90 01 01 04 */ stw r0, 0x104(r1) /* 80229828 00226788 BD C1 00 B8 */ stmw r14, 0xb8(r1) /* 8022982C 0022678C 7C 9F 23 78 */ mr r31, r4 /* 80229830 00226790 7C 7E 1B 78 */ mr r30, r3 /* 80229834 00226794 85 E5 D7 80 */ lwzu r15, -0x2880(r5) /* 80229838 00226798 82 05 00 04 */ lwz r16, lbl_80570004@l(r5) /* 8022983C 0022679C 82 25 00 08 */ lwz r17, 8(r5) /* 80229840 002267A0 82 45 00 0C */ lwz r18, 0xc(r5) /* 80229844 002267A4 82 65 00 10 */ lwz r19, 0x10(r5) /* 80229848 002267A8 82 85 00 14 */ lwz r20, 0x14(r5) /* 8022984C 002267AC 82 A5 00 18 */ lwz r21, 0x18(r5) /* 80229850 002267B0 82 C5 00 1C */ lwz r22, 0x1c(r5) /* 80229854 002267B4 82 E5 00 20 */ lwz r23, 0x20(r5) /* 80229858 002267B8 83 05 00 24 */ lwz r24, 0x24(r5) /* 8022985C 002267BC 83 25 00 28 */ lwz r25, 0x28(r5) /* 80229860 002267C0 83 45 00 2C */ lwz r26, 0x2c(r5) /* 80229864 002267C4 83 65 00 30 */ lwz r27, 0x30(r5) /* 80229868 002267C8 83 85 00 34 */ lwz r28, 0x34(r5) /* 8022986C 002267CC 83 A5 00 38 */ lwz r29, 0x38(r5) /* 80229870 002267D0 81 85 00 3C */ lwz r12, 0x3c(r5) /* 80229874 002267D4 81 65 00 40 */ lwz r11, 0x40(r5) /* 80229878 002267D8 81 45 00 44 */ lwz r10, 0x44(r5) /* 8022987C 002267DC 81 25 00 48 */ lwz r9, 0x48(r5) /* 80229880 002267E0 81 05 00 4C */ lwz r8, 0x4c(r5) /* 80229884 002267E4 80 E5 00 50 */ lwz r7, 0x50(r5) /* 80229888 002267E8 80 C5 00 54 */ lwz r6, 0x54(r5) /* 8022988C 002267EC 80 85 00 58 */ lwz r4, 0x58(r5) /* 80229890 002267F0 80 05 00 5C */ lwz r0, 0x5c(r5) /* 80229894 002267F4 81 C5 00 60 */ lwz r14, 0x60(r5) /* 80229898 002267F8 80 A5 00 64 */ lwz r5, 0x64(r5) /* 8022989C 002267FC 91 E1 00 48 */ stw r15, 0x48(r1) /* 802298A0 00226800 92 01 00 4C */ stw r16, 0x4c(r1) /* 802298A4 00226804 92 21 00 50 */ stw r17, 0x50(r1) /* 802298A8 00226808 92 41 00 54 */ stw r18, 0x54(r1) /* 802298AC 0022680C 92 61 00 58 */ stw r19, 0x58(r1) /* 802298B0 00226810 92 81 00 5C */ stw r20, 0x5c(r1) /* 802298B4 00226814 92 A1 00 60 */ stw r21, 0x60(r1) /* 802298B8 00226818 92 C1 00 64 */ stw r22, 0x64(r1) /* 802298BC 0022681C 92 E1 00 68 */ stw r23, 0x68(r1) /* 802298C0 00226820 93 01 00 6C */ stw r24, 0x6c(r1) /* 802298C4 00226824 93 21 00 70 */ stw r25, 0x70(r1) /* 802298C8 00226828 93 41 00 74 */ stw r26, 0x74(r1) /* 802298CC 0022682C 93 61 00 78 */ stw r27, 0x78(r1) /* 802298D0 00226830 93 81 00 7C */ stw r28, 0x7c(r1) /* 802298D4 00226834 93 A1 00 80 */ stw r29, 0x80(r1) /* 802298D8 00226838 91 81 00 84 */ stw r12, 0x84(r1) /* 802298DC 0022683C 91 61 00 88 */ stw r11, 0x88(r1) /* 802298E0 00226840 91 41 00 8C */ stw r10, 0x8c(r1) /* 802298E4 00226844 91 21 00 90 */ stw r9, 0x90(r1) /* 802298E8 00226848 91 01 00 94 */ stw r8, 0x94(r1) /* 802298EC 0022684C 90 E1 00 98 */ stw r7, 0x98(r1) /* 802298F0 00226850 90 C1 00 9C */ stw r6, 0x9c(r1) /* 802298F4 00226854 90 81 00 A0 */ stw r4, 0xa0(r1) /* 802298F8 00226858 90 01 00 A4 */ stw r0, 0xa4(r1) /* 802298FC 0022685C 91 C1 00 A8 */ stw r14, 0xa8(r1) /* 80229900 00226860 90 A1 00 AC */ stw r5, 0xac(r1) /* 80229904 00226864 81 83 00 00 */ lwz r12, 0(r3) /* 80229908 00226868 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022990C 0022686C 7D 89 03 A6 */ mtctr r12 /* 80229910 00226870 4E 80 04 21 */ bctrl /* 80229914 00226874 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80229918 00226878 41 82 01 E4 */ beq lbl_80229AFC /* 8022991C 0022687C 39 DE 07 78 */ addi r14, r30, 0x778 /* 80229920 00226880 39 FE 07 8C */ addi r15, r30, 0x78c /* 80229924 00226884 3A 00 00 00 */ li r16, 0 /* 80229928 00226888 48 00 01 30 */ b lbl_80229A58 lbl_8022992C: /* 8022992C 0022688C 80 7E 07 30 */ lwz r3, 0x730(r30) /* 80229930 00226890 7E 04 83 78 */ mr r4, r16 /* 80229934 00226894 4B F7 D9 05 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80229938 00226898 7C 73 1B 78 */ mr r19, r3 /* 8022993C 0022689C 7F E3 FB 78 */ mr r3, r31 /* 80229940 002268A0 A0 13 00 3C */ lhz r0, 0x3c(r19) /* 80229944 002268A4 38 81 00 0C */ addi r4, r1, 0xc /* 80229948 002268A8 B0 01 00 10 */ sth r0, 0x10(r1) /* 8022994C 002268AC B0 01 00 0C */ sth r0, 0xc(r1) /* 80229950 002268B0 4B E2 2C 25 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80229954 002268B4 7C 64 1B 78 */ mr r4, r3 /* 80229958 002268B8 38 61 00 30 */ addi r3, r1, 0x30 /* 8022995C 002268BC 4B E8 59 F1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80229960 002268C0 82 23 00 04 */ lwz r17, 4(r3) /* 80229964 002268C4 28 11 00 00 */ cmplwi r17, 0 /* 80229968 002268C8 41 82 00 EC */ beq lbl_80229A54 /* 8022996C 002268CC 80 82 B5 A4 */ lwz r4, lbl_805AD2C4@sda21(r2) /* 80229970 002268D0 38 61 00 38 */ addi r3, r1, 0x38 /* 80229974 002268D4 4B DD B3 45 */ bl string_l__4rstlFPCc /* 80229978 002268D8 38 73 00 2C */ addi r3, r19, 0x2c /* 8022997C 002268DC 38 81 00 38 */ addi r4, r1, 0x38 /* 80229980 002268E0 4B E2 8C 61 */ 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" /* 80229984 002268E4 7C 72 1B 78 */ mr r18, r3 /* 80229988 002268E8 38 61 00 38 */ addi r3, r1, 0x38 /* 8022998C 002268EC 48 11 41 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80229990 002268F0 56 40 06 3F */ clrlwi. r0, r18, 0x18 /* 80229994 002268F4 41 82 00 10 */ beq lbl_802299A4 /* 80229998 002268F8 A0 01 00 10 */ lhz r0, 0x10(r1) /* 8022999C 002268FC B0 1E 07 70 */ sth r0, 0x770(r30) /* 802299A0 00226900 48 00 00 98 */ b lbl_80229A38 lbl_802299A4: /* 802299A4 00226904 3C 60 80 3D */ lis r3, lbl_803D32A8@ha /* 802299A8 00226908 80 A2 B5 AC */ lwz r5, lbl_805AD2CC@sda21(r2) /* 802299AC 0022690C 38 C3 32 A8 */ addi r6, r3, lbl_803D32A8@l /* 802299B0 00226910 38 93 00 2C */ addi r4, r19, 0x2c /* 802299B4 00226914 7F C3 F3 78 */ mr r3, r30 /* 802299B8 00226918 38 E0 00 03 */ li r7, 3 /* 802299BC 0022691C 4B FF FA 81 */ bl sub_8022943c /* 802299C0 00226920 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802299C4 00226924 41 82 00 2C */ beq lbl_802299F0 /* 802299C8 00226928 80 1E 07 74 */ lwz r0, 0x774(r30) /* 802299CC 0022692C 54 00 08 3C */ slwi r0, r0, 1 /* 802299D0 00226930 7C 6E 02 15 */ add. r3, r14, r0 /* 802299D4 00226934 41 82 00 0C */ beq lbl_802299E0 /* 802299D8 00226938 A0 01 00 10 */ lhz r0, 0x10(r1) /* 802299DC 0022693C B0 03 00 00 */ sth r0, 0(r3) lbl_802299E0: /* 802299E0 00226940 80 7E 07 74 */ lwz r3, 0x774(r30) /* 802299E4 00226944 38 03 00 01 */ addi r0, r3, 1 /* 802299E8 00226948 90 1E 07 74 */ stw r0, 0x774(r30) /* 802299EC 0022694C 48 00 00 4C */ b lbl_80229A38 lbl_802299F0: /* 802299F0 00226950 3C 60 80 3D */ lis r3, lbl_803D3278@ha /* 802299F4 00226954 80 A2 B5 B0 */ lwz r5, lbl_805AD2D0@sda21(r2) /* 802299F8 00226958 38 C3 32 78 */ addi r6, r3, lbl_803D3278@l /* 802299FC 0022695C 38 93 00 2C */ addi r4, r19, 0x2c /* 80229A00 00226960 7F C3 F3 78 */ mr r3, r30 /* 80229A04 00226964 38 E0 00 03 */ li r7, 3 /* 80229A08 00226968 4B FF FA 35 */ bl sub_8022943c /* 80229A0C 0022696C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80229A10 00226970 41 82 00 28 */ beq lbl_80229A38 /* 80229A14 00226974 80 1E 07 88 */ lwz r0, 0x788(r30) /* 80229A18 00226978 54 00 08 3C */ slwi r0, r0, 1 /* 80229A1C 0022697C 7C 6F 02 15 */ add. r3, r15, r0 /* 80229A20 00226980 41 82 00 0C */ beq lbl_80229A2C /* 80229A24 00226984 A0 01 00 10 */ lhz r0, 0x10(r1) /* 80229A28 00226988 B0 03 00 00 */ sth r0, 0(r3) lbl_80229A2C: /* 80229A2C 0022698C 80 7E 07 88 */ lwz r3, 0x788(r30) /* 80229A30 00226990 38 03 00 01 */ addi r0, r3, 1 /* 80229A34 00226994 90 1E 07 88 */ stw r0, 0x788(r30) lbl_80229A38: /* 80229A38 00226998 A0 61 00 10 */ lhz r3, 0x10(r1) /* 80229A3C 0022699C A0 1E 07 70 */ lhz r0, 0x770(r30) /* 80229A40 002269A0 7C 03 00 40 */ cmplw r3, r0 /* 80229A44 002269A4 41 82 00 10 */ beq lbl_80229A54 /* 80229A48 002269A8 7E 23 8B 78 */ mr r3, r17 /* 80229A4C 002269AC 38 81 00 48 */ addi r4, r1, 0x48 /* 80229A50 002269B0 4B F7 F1 49 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_80229A54: /* 80229A54 002269B4 3A 10 00 01 */ addi r16, r16, 1 lbl_80229A58: /* 80229A58 002269B8 80 7E 07 30 */ lwz r3, 0x730(r30) /* 80229A5C 002269BC 4B F7 D7 ED */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 80229A60 002269C0 7C 10 18 40 */ cmplw r16, r3 /* 80229A64 002269C4 41 80 FE C8 */ blt lbl_8022992C /* 80229A68 002269C8 38 00 00 00 */ li r0, 0 /* 80229A6C 002269CC 80 AD 95 9C */ lwz r5, lbl_805A815C@sda21(r13) /* 80229A70 002269D0 90 01 00 2C */ stw r0, 0x2c(r1) /* 80229A74 002269D4 38 60 00 00 */ li r3, 0 /* 80229A78 002269D8 38 80 00 01 */ li r4, 1 /* 80229A7C 002269DC 90 01 00 28 */ stw r0, 0x28(r1) /* 80229A80 002269E0 48 16 04 75 */ bl __shl2i /* 80229A84 002269E4 80 01 00 28 */ lwz r0, 0x28(r1) /* 80229A88 002269E8 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80229A8C 002269EC 7C 00 1B 78 */ or r0, r0, r3 /* 80229A90 002269F0 80 AD 95 A0 */ lwz r5, lbl_805A8160@sda21(r13) /* 80229A94 002269F4 7C C4 23 78 */ or r4, r6, r4 /* 80229A98 002269F8 90 01 00 28 */ stw r0, 0x28(r1) /* 80229A9C 002269FC 38 60 00 00 */ li r3, 0 /* 80229AA0 00226A00 90 81 00 2C */ stw r4, 0x2c(r1) /* 80229AA4 00226A04 38 80 00 01 */ li r4, 1 /* 80229AA8 00226A08 48 16 04 4D */ bl __shl2i /* 80229AAC 00226A0C 80 01 00 28 */ lwz r0, 0x28(r1) /* 80229AB0 00226A10 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80229AB4 00226A14 7C 00 1B 78 */ or r0, r0, r3 /* 80229AB8 00226A18 80 AD 95 A4 */ lwz r5, lbl_805A8164@sda21(r13) /* 80229ABC 00226A1C 7C C4 23 78 */ or r4, r6, r4 /* 80229AC0 00226A20 90 01 00 28 */ stw r0, 0x28(r1) /* 80229AC4 00226A24 38 60 00 00 */ li r3, 0 /* 80229AC8 00226A28 90 81 00 2C */ stw r4, 0x2c(r1) /* 80229ACC 00226A2C 38 80 00 01 */ li r4, 1 /* 80229AD0 00226A30 48 16 04 25 */ bl __shl2i /* 80229AD4 00226A34 80 01 00 28 */ lwz r0, 0x28(r1) /* 80229AD8 00226A38 38 A1 00 28 */ addi r5, r1, 0x28 /* 80229ADC 00226A3C 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 80229AE0 00226A40 7C 00 1B 78 */ or r0, r0, r3 /* 80229AE4 00226A44 7C C3 23 78 */ or r3, r6, r4 /* 80229AE8 00226A48 90 01 00 28 */ stw r0, 0x28(r1) /* 80229AEC 00226A4C 7F E4 FB 78 */ mr r4, r31 /* 80229AF0 00226A50 90 61 00 2C */ stw r3, 0x2c(r1) /* 80229AF4 00226A54 80 7E 07 30 */ lwz r3, 0x730(r30) /* 80229AF8 00226A58 4B F7 D7 59 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList lbl_80229AFC: /* 80229AFC 00226A5C 80 7E 05 D4 */ lwz r3, 0x5d4(r30) /* 80229B00 00226A60 38 80 00 00 */ li r4, 0 /* 80229B04 00226A64 4B F7 D7 35 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80229B08 00226A68 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 80229B0C 00226A6C 7F E3 FB 78 */ mr r3, r31 /* 80229B10 00226A70 38 81 00 08 */ addi r4, r1, 8 /* 80229B14 00226A74 B0 1E 07 9C */ sth r0, 0x79c(r30) /* 80229B18 00226A78 A0 1E 07 9C */ lhz r0, 0x79c(r30) /* 80229B1C 00226A7C B0 01 00 08 */ sth r0, 8(r1) /* 80229B20 00226A80 4B E2 2A 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80229B24 00226A84 7C 64 1B 78 */ mr r4, r3 /* 80229B28 00226A88 38 61 00 20 */ addi r3, r1, 0x20 /* 80229B2C 00226A8C 4B E8 58 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80229B30 00226A90 80 63 00 04 */ lwz r3, 4(r3) /* 80229B34 00226A94 28 03 00 00 */ cmplwi r3, 0 /* 80229B38 00226A98 41 82 00 0C */ beq lbl_80229B44 /* 80229B3C 00226A9C 38 00 00 00 */ li r0, 0 /* 80229B40 00226AA0 90 03 03 00 */ stw r0, 0x300(r3) lbl_80229B44: /* 80229B44 00226AA4 38 00 00 00 */ li r0, 0 /* 80229B48 00226AA8 80 AD 95 A8 */ lwz r5, lbl_805A8168@sda21(r13) /* 80229B4C 00226AAC 90 01 00 1C */ stw r0, 0x1c(r1) /* 80229B50 00226AB0 38 60 00 00 */ li r3, 0 /* 80229B54 00226AB4 38 80 00 01 */ li r4, 1 /* 80229B58 00226AB8 90 01 00 18 */ stw r0, 0x18(r1) /* 80229B5C 00226ABC 48 16 03 99 */ bl __shl2i /* 80229B60 00226AC0 80 01 00 18 */ lwz r0, 0x18(r1) /* 80229B64 00226AC4 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80229B68 00226AC8 7C 00 1B 78 */ or r0, r0, r3 /* 80229B6C 00226ACC 80 AD 95 AC */ lwz r5, lbl_805A816C@sda21(r13) /* 80229B70 00226AD0 7C C4 23 78 */ or r4, r6, r4 /* 80229B74 00226AD4 90 01 00 18 */ stw r0, 0x18(r1) /* 80229B78 00226AD8 38 60 00 00 */ li r3, 0 /* 80229B7C 00226ADC 90 81 00 1C */ stw r4, 0x1c(r1) /* 80229B80 00226AE0 38 80 00 01 */ li r4, 1 /* 80229B84 00226AE4 48 16 03 71 */ bl __shl2i /* 80229B88 00226AE8 80 01 00 18 */ lwz r0, 0x18(r1) /* 80229B8C 00226AEC 38 A1 00 18 */ addi r5, r1, 0x18 /* 80229B90 00226AF0 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 80229B94 00226AF4 7C 00 1B 78 */ or r0, r0, r3 /* 80229B98 00226AF8 7C C3 23 78 */ or r3, r6, r4 /* 80229B9C 00226AFC 90 01 00 18 */ stw r0, 0x18(r1) /* 80229BA0 00226B00 7F E4 FB 78 */ mr r4, r31 /* 80229BA4 00226B04 90 61 00 1C */ stw r3, 0x1c(r1) /* 80229BA8 00226B08 80 7E 05 D4 */ lwz r3, 0x5d4(r30) /* 80229BAC 00226B0C 4B F7 D6 A5 */ bl AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList /* 80229BB0 00226B10 B9 C1 00 B8 */ lmw r14, 0xb8(r1) /* 80229BB4 00226B14 80 01 01 04 */ lwz r0, 0x104(r1) /* 80229BB8 00226B18 7C 08 03 A6 */ mtlr r0 /* 80229BBC 00226B1C 38 21 01 00 */ addi r1, r1, 0x100 /* 80229BC0 00226B20 4E 80 00 20 */ blr .global sub_80229bc4 sub_80229bc4: /* 80229BC4 00226B24 94 21 FE D0 */ stwu r1, -0x130(r1) /* 80229BC8 00226B28 7C 08 02 A6 */ mflr r0 /* 80229BCC 00226B2C 3C A0 80 3D */ lis r5, lbl_803D3278@ha /* 80229BD0 00226B30 90 01 01 34 */ stw r0, 0x134(r1) /* 80229BD4 00226B34 38 00 00 00 */ li r0, 0 /* 80229BD8 00226B38 BF 61 01 1C */ stmw r27, 0x11c(r1) /* 80229BDC 00226B3C 7C 7D 1B 78 */ mr r29, r3 /* 80229BE0 00226B40 7C 9E 23 78 */ mr r30, r4 /* 80229BE4 00226B44 3B 85 32 78 */ addi r28, r5, lbl_803D3278@l /* 80229BE8 00226B48 38 61 00 64 */ addi r3, r1, 0x64 /* 80229BEC 00226B4C 38 80 00 0D */ li r4, 0xd /* 80229BF0 00226B50 90 01 00 68 */ stw r0, 0x68(r1) /* 80229BF4 00226B54 90 01 00 6C */ stw r0, 0x6c(r1) /* 80229BF8 00226B58 90 01 00 70 */ stw r0, 0x70(r1) /* 80229BFC 00226B5C 4B F2 CB BD */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 80229C00 00226B60 7F A3 EB 78 */ mr r3, r29 /* 80229C04 00226B64 38 9C 00 00 */ addi r4, r28, 0 /* 80229C08 00226B68 38 C1 00 64 */ addi r6, r1, 0x64 /* 80229C0C 00226B6C 38 A0 00 03 */ li r5, 3 /* 80229C10 00226B70 4B FF FA 51 */ bl sub_80229660 /* 80229C14 00226B74 7F A3 EB 78 */ mr r3, r29 /* 80229C18 00226B78 38 9C 00 30 */ addi r4, r28, 0x30 /* 80229C1C 00226B7C 38 C1 00 64 */ addi r6, r1, 0x64 /* 80229C20 00226B80 38 A0 00 03 */ li r5, 3 /* 80229C24 00226B84 4B FF FA 3D */ bl sub_80229660 /* 80229C28 00226B88 7F A3 EB 78 */ mr r3, r29 /* 80229C2C 00226B8C 38 9C 00 60 */ addi r4, r28, 0x60 /* 80229C30 00226B90 38 C1 00 64 */ addi r6, r1, 0x64 /* 80229C34 00226B94 38 A0 00 07 */ li r5, 7 /* 80229C38 00226B98 4B FF F8 BD */ bl sub_802294f4 /* 80229C3C 00226B9C 7F A3 EB 78 */ mr r3, r29 /* 80229C40 00226BA0 81 9D 00 00 */ lwz r12, 0(r29) /* 80229C44 00226BA4 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 80229C48 00226BA8 7D 89 03 A6 */ mtctr r12 /* 80229C4C 00226BAC 4E 80 04 21 */ bctrl /* 80229C50 00226BB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80229C54 00226BB4 41 82 00 7C */ beq lbl_80229CD0 /* 80229C58 00226BB8 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 80229C5C 00226BBC 38 60 00 18 */ li r3, 0x18 /* 80229C60 00226BC0 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 80229C64 00226BC4 38 A0 00 00 */ li r5, 0 /* 80229C68 00226BC8 38 84 00 B8 */ addi r4, r4, 0xb8 /* 80229C6C 00226BCC 48 0E BC 01 */ bl __nw__FUlPCcPCc /* 80229C70 00226BD0 7C 7C 1B 79 */ or. r28, r3, r3 /* 80229C74 00226BD4 41 82 00 38 */ beq lbl_80229CAC /* 80229C78 00226BD8 81 3D 00 04 */ lwz r9, 4(r29) /* 80229C7C 00226BDC 7F C4 F3 78 */ mr r4, r30 /* 80229C80 00226BE0 38 A1 00 20 */ addi r5, r1, 0x20 /* 80229C84 00226BE4 38 C1 00 40 */ addi r6, r1, 0x40 /* 80229C88 00226BE8 91 21 00 40 */ stw r9, 0x40(r1) /* 80229C8C 00226BEC 38 E1 00 64 */ addi r7, r1, 0x64 /* 80229C90 00226BF0 39 00 00 01 */ li r8, 1 /* 80229C94 00226BF4 A0 1D 00 08 */ lhz r0, 8(r29) /* 80229C98 00226BF8 91 21 00 3C */ stw r9, 0x3c(r1) /* 80229C9C 00226BFC B0 01 00 1C */ sth r0, 0x1c(r1) /* 80229CA0 00226C00 B0 01 00 20 */ sth r0, 0x20(r1) /* 80229CA4 00226C04 4B F7 DC 8D */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 80229CA8 00226C08 7C 7C 1B 78 */ mr r28, r3 lbl_80229CAC: /* 80229CAC 00226C0C 80 7D 07 30 */ lwz r3, 0x730(r29) /* 80229CB0 00226C10 38 80 00 01 */ li r4, 1 /* 80229CB4 00226C14 4B F7 DC 29 */ bl sub_801a78dc /* 80229CB8 00226C18 93 9D 07 30 */ stw r28, 0x730(r29) /* 80229CBC 00226C1C 7F C4 F3 78 */ mr r4, r30 /* 80229CC0 00226C20 88 1D 00 30 */ lbz r0, 0x30(r29) /* 80229CC4 00226C24 80 7D 07 30 */ lwz r3, 0x730(r29) /* 80229CC8 00226C28 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f /* 80229CCC 00226C2C 4B F7 D6 2D */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb lbl_80229CD0: /* 80229CD0 00226C30 80 BD 07 74 */ lwz r5, 0x774(r29) /* 80229CD4 00226C34 38 60 00 00 */ li r3, 0 /* 80229CD8 00226C38 2C 05 00 00 */ cmpwi r5, 0 /* 80229CDC 00226C3C 40 81 00 40 */ ble lbl_80229D1C /* 80229CE0 00226C40 2C 05 00 08 */ cmpwi r5, 8 /* 80229CE4 00226C44 38 85 FF F8 */ addi r4, r5, -8 /* 80229CE8 00226C48 40 81 00 20 */ ble lbl_80229D08 /* 80229CEC 00226C4C 38 04 00 07 */ addi r0, r4, 7 /* 80229CF0 00226C50 54 00 E8 FE */ srwi r0, r0, 3 /* 80229CF4 00226C54 7C 09 03 A6 */ mtctr r0 /* 80229CF8 00226C58 2C 04 00 00 */ cmpwi r4, 0 /* 80229CFC 00226C5C 40 81 00 0C */ ble lbl_80229D08 lbl_80229D00: /* 80229D00 00226C60 38 63 00 08 */ addi r3, r3, 8 /* 80229D04 00226C64 42 00 FF FC */ bdnz lbl_80229D00 lbl_80229D08: /* 80229D08 00226C68 7C 03 28 50 */ subf r0, r3, r5 /* 80229D0C 00226C6C 7C 09 03 A6 */ mtctr r0 /* 80229D10 00226C70 7C 03 28 00 */ cmpw r3, r5 /* 80229D14 00226C74 40 80 00 08 */ bge lbl_80229D1C lbl_80229D18: /* 80229D18 00226C78 42 00 00 00 */ bdnz lbl_80229D18 lbl_80229D1C: /* 80229D1C 00226C7C 38 60 00 00 */ li r3, 0 /* 80229D20 00226C80 90 7D 07 74 */ stw r3, 0x774(r29) /* 80229D24 00226C84 80 BD 07 88 */ lwz r5, 0x788(r29) /* 80229D28 00226C88 2C 05 00 00 */ cmpwi r5, 0 /* 80229D2C 00226C8C 40 81 00 40 */ ble lbl_80229D6C /* 80229D30 00226C90 2C 05 00 08 */ cmpwi r5, 8 /* 80229D34 00226C94 38 85 FF F8 */ addi r4, r5, -8 /* 80229D38 00226C98 40 81 00 20 */ ble lbl_80229D58 /* 80229D3C 00226C9C 38 04 00 07 */ addi r0, r4, 7 /* 80229D40 00226CA0 54 00 E8 FE */ srwi r0, r0, 3 /* 80229D44 00226CA4 7C 09 03 A6 */ mtctr r0 /* 80229D48 00226CA8 2C 04 00 00 */ cmpwi r4, 0 /* 80229D4C 00226CAC 40 81 00 0C */ ble lbl_80229D58 lbl_80229D50: /* 80229D50 00226CB0 38 63 00 08 */ addi r3, r3, 8 /* 80229D54 00226CB4 42 00 FF FC */ bdnz lbl_80229D50 lbl_80229D58: /* 80229D58 00226CB8 7C 03 28 50 */ subf r0, r3, r5 /* 80229D5C 00226CBC 7C 09 03 A6 */ mtctr r0 /* 80229D60 00226CC0 7C 03 28 00 */ cmpw r3, r5 /* 80229D64 00226CC4 40 80 00 08 */ bge lbl_80229D6C lbl_80229D68: /* 80229D68 00226CC8 42 00 00 00 */ bdnz lbl_80229D68 lbl_80229D6C: /* 80229D6C 00226CCC 38 00 00 00 */ li r0, 0 /* 80229D70 00226CD0 80 82 B5 B0 */ lwz r4, lbl_805AD2D0@sda21(r2) /* 80229D74 00226CD4 90 1D 07 88 */ stw r0, 0x788(r29) /* 80229D78 00226CD8 38 61 00 54 */ addi r3, r1, 0x54 /* 80229D7C 00226CDC 4B DD AF 3D */ bl string_l__4rstlFPCc /* 80229D80 00226CE0 80 9D 00 64 */ lwz r4, 0x64(r29) /* 80229D84 00226CE4 38 61 00 0C */ addi r3, r1, 0xc /* 80229D88 00226CE8 38 A1 00 54 */ addi r5, r1, 0x54 /* 80229D8C 00226CEC 80 84 00 10 */ lwz r4, 0x10(r4) /* 80229D90 00226CF0 4B E0 4A A9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80229D94 00226CF4 88 01 00 0C */ lbz r0, 0xc(r1) /* 80229D98 00226CF8 38 61 00 54 */ addi r3, r1, 0x54 /* 80229D9C 00226CFC 98 01 00 10 */ stb r0, 0x10(r1) /* 80229DA0 00226D00 48 11 3D 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80229DA4 00226D04 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 80229DA8 00226D08 38 61 00 44 */ addi r3, r1, 0x44 /* 80229DAC 00226D0C 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 80229DB0 00226D10 38 84 00 E1 */ addi r4, r4, 0xe1 /* 80229DB4 00226D14 4B DD AF 05 */ bl string_l__4rstlFPCc /* 80229DB8 00226D18 88 01 00 10 */ lbz r0, 0x10(r1) /* 80229DBC 00226D1C 3C 80 80 57 */ lis r4, lbl_805723F8@ha /* 80229DC0 00226D20 3C 60 80 5A */ lis r3, skZero3f@ha /* 80229DC4 00226D24 C0 22 B5 F4 */ lfs f1, lbl_805AD314@sda21(r2) /* 80229DC8 00226D28 98 01 00 08 */ stb r0, 8(r1) /* 80229DCC 00226D2C 38 A4 23 F8 */ addi r5, r4, lbl_805723F8@l /* 80229DD0 00226D30 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 80229DD4 00226D34 38 61 00 90 */ addi r3, r1, 0x90 /* 80229DD8 00226D38 38 81 00 08 */ addi r4, r1, 8 /* 80229DDC 00226D3C 38 E1 00 44 */ addi r7, r1, 0x44 /* 80229DE0 00226D40 4B F7 E7 39 */ bl "OBBCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRC9CVector3fRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 80229DE4 00226D44 80 E1 00 90 */ lwz r7, 0x90(r1) /* 80229DE8 00226D48 3B E1 01 00 */ addi r31, r1, 0x100 /* 80229DEC 00226D4C 80 C1 00 94 */ lwz r6, 0x94(r1) /* 80229DF0 00226D50 3B 61 00 BC */ addi r27, r1, 0xbc /* 80229DF4 00226D54 88 A1 00 98 */ lbz r5, 0x98(r1) /* 80229DF8 00226D58 7F E3 FB 78 */ mr r3, r31 /* 80229DFC 00226D5C 88 01 00 99 */ lbz r0, 0x99(r1) /* 80229E00 00226D60 7F 64 DB 78 */ mr r4, r27 /* 80229E04 00226D64 C0 E1 00 9C */ lfs f7, 0x9c(r1) /* 80229E08 00226D68 C0 C1 00 A0 */ lfs f6, 0xa0(r1) /* 80229E0C 00226D6C C0 A1 00 A4 */ lfs f5, 0xa4(r1) /* 80229E10 00226D70 C0 81 00 A8 */ lfs f4, 0xa8(r1) /* 80229E14 00226D74 C0 61 00 AC */ lfs f3, 0xac(r1) /* 80229E18 00226D78 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 80229E1C 00226D7C C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 80229E20 00226D80 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 80229E24 00226D84 90 E1 00 D4 */ stw r7, 0xd4(r1) /* 80229E28 00226D88 90 C1 00 D8 */ stw r6, 0xd8(r1) /* 80229E2C 00226D8C 98 A1 00 DC */ stb r5, 0xdc(r1) /* 80229E30 00226D90 98 01 00 DD */ stb r0, 0xdd(r1) /* 80229E34 00226D94 D0 E1 00 E0 */ stfs f7, 0xe0(r1) /* 80229E38 00226D98 D0 C1 00 E4 */ stfs f6, 0xe4(r1) /* 80229E3C 00226D9C D0 A1 00 E8 */ stfs f5, 0xe8(r1) /* 80229E40 00226DA0 D0 81 00 EC */ stfs f4, 0xec(r1) /* 80229E44 00226DA4 D0 61 00 F0 */ stfs f3, 0xf0(r1) /* 80229E48 00226DA8 D0 41 00 F4 */ stfs f2, 0xf4(r1) /* 80229E4C 00226DAC D0 21 00 F8 */ stfs f1, 0xf8(r1) /* 80229E50 00226DB0 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 80229E54 00226DB4 48 11 43 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80229E58 00226DB8 A0 01 00 CC */ lhz r0, 0xcc(r1) /* 80229E5C 00226DBC 28 1B 00 00 */ cmplwi r27, 0 /* 80229E60 00226DC0 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 80229E64 00226DC4 B0 01 01 10 */ sth r0, 0x110(r1) /* 80229E68 00226DC8 D0 01 01 14 */ stfs f0, 0x114(r1) /* 80229E6C 00226DCC 41 82 00 0C */ beq lbl_80229E78 /* 80229E70 00226DD0 7F 63 DB 78 */ mr r3, r27 /* 80229E74 00226DD4 48 11 3C 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80229E78: /* 80229E78 00226DD8 38 61 00 44 */ addi r3, r1, 0x44 /* 80229E7C 00226DDC 48 11 3C 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80229E80 00226DE0 80 01 00 68 */ lwz r0, 0x68(r1) /* 80229E84 00226DE4 83 61 00 70 */ lwz r27, 0x70(r1) /* 80229E88 00226DE8 1C 00 00 44 */ mulli r0, r0, 0x44 /* 80229E8C 00226DEC 93 61 00 28 */ stw r27, 0x28(r1) /* 80229E90 00226DF0 7F 9B 02 14 */ add r28, r27, r0 /* 80229E94 00226DF4 93 61 00 24 */ stw r27, 0x24(r1) /* 80229E98 00226DF8 93 81 00 30 */ stw r28, 0x30(r1) /* 80229E9C 00226DFC 93 81 00 2C */ stw r28, 0x2c(r1) /* 80229EA0 00226E00 48 00 00 20 */ b lbl_80229EC0 lbl_80229EA4: /* 80229EA4 00226E04 28 1B 00 00 */ cmplwi r27, 0 /* 80229EA8 00226E08 41 82 00 14 */ beq lbl_80229EBC /* 80229EAC 00226E0C 34 1B 00 2C */ addic. r0, r27, 0x2c /* 80229EB0 00226E10 41 82 00 0C */ beq lbl_80229EBC /* 80229EB4 00226E14 38 7B 00 2C */ addi r3, r27, 0x2c /* 80229EB8 00226E18 48 11 3C 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80229EBC: /* 80229EBC 00226E1C 3B 7B 00 44 */ addi r27, r27, 0x44 lbl_80229EC0: /* 80229EC0 00226E20 7C 1B E0 40 */ cmplw r27, r28 /* 80229EC4 00226E24 40 82 FF E0 */ bne lbl_80229EA4 /* 80229EC8 00226E28 38 00 00 00 */ li r0, 0 /* 80229ECC 00226E2C 38 61 00 64 */ addi r3, r1, 0x64 /* 80229ED0 00226E30 90 01 00 68 */ stw r0, 0x68(r1) /* 80229ED4 00226E34 38 81 00 D4 */ addi r4, r1, 0xd4 /* 80229ED8 00226E38 4B F2 C3 59 */ bl sub_80156230 /* 80229EDC 00226E3C 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 80229EE0 00226E40 38 60 00 18 */ li r3, 0x18 /* 80229EE4 00226E44 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 80229EE8 00226E48 38 A0 00 00 */ li r5, 0 /* 80229EEC 00226E4C 38 84 00 B8 */ addi r4, r4, 0xb8 /* 80229EF0 00226E50 48 0E B9 7D */ bl __nw__FUlPCcPCc /* 80229EF4 00226E54 7C 7C 1B 79 */ or. r28, r3, r3 /* 80229EF8 00226E58 41 82 00 38 */ beq lbl_80229F30 /* 80229EFC 00226E5C 81 3D 00 04 */ lwz r9, 4(r29) /* 80229F00 00226E60 7F C4 F3 78 */ mr r4, r30 /* 80229F04 00226E64 38 A1 00 18 */ addi r5, r1, 0x18 /* 80229F08 00226E68 38 C1 00 38 */ addi r6, r1, 0x38 /* 80229F0C 00226E6C 91 21 00 38 */ stw r9, 0x38(r1) /* 80229F10 00226E70 38 E1 00 64 */ addi r7, r1, 0x64 /* 80229F14 00226E74 39 00 00 00 */ li r8, 0 /* 80229F18 00226E78 A0 1D 00 08 */ lhz r0, 8(r29) /* 80229F1C 00226E7C 91 21 00 34 */ stw r9, 0x34(r1) /* 80229F20 00226E80 B0 01 00 14 */ sth r0, 0x14(r1) /* 80229F24 00226E84 B0 01 00 18 */ sth r0, 0x18(r1) /* 80229F28 00226E88 4B F7 DA 09 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 80229F2C 00226E8C 7C 7C 1B 78 */ mr r28, r3 lbl_80229F30: /* 80229F30 00226E90 80 7D 05 D4 */ lwz r3, 0x5d4(r29) /* 80229F34 00226E94 38 80 00 01 */ li r4, 1 /* 80229F38 00226E98 4B F7 D9 A5 */ bl sub_801a78dc /* 80229F3C 00226E9C 93 9D 05 D4 */ stw r28, 0x5d4(r29) /* 80229F40 00226EA0 7F A3 EB 78 */ mr r3, r29 /* 80229F44 00226EA4 7F C4 F3 78 */ mr r4, r30 /* 80229F48 00226EA8 4B FF F8 D1 */ bl sub_80229818 /* 80229F4C 00226EAC 7F A3 EB 78 */ mr r3, r29 /* 80229F50 00226EB0 7F C4 F3 78 */ mr r4, r30 /* 80229F54 00226EB4 81 9D 00 00 */ lwz r12, 0(r29) /* 80229F58 00226EB8 81 8C 02 D4 */ lwz r12, 0x2d4(r12) /* 80229F5C 00226EBC 7D 89 03 A6 */ mtctr r12 /* 80229F60 00226EC0 4E 80 04 21 */ bctrl /* 80229F64 00226EC4 80 AD 95 8C */ lwz r5, lbl_805A814C@sda21(r13) /* 80229F68 00226EC8 38 60 00 00 */ li r3, 0 /* 80229F6C 00226ECC 38 80 00 01 */ li r4, 1 /* 80229F70 00226ED0 48 15 FF 85 */ bl __shl2i /* 80229F74 00226ED4 80 AD 95 90 */ lwz r5, lbl_805A8150@sda21(r13) /* 80229F78 00226ED8 7C 9B 23 78 */ mr r27, r4 /* 80229F7C 00226EDC 7C 7C 1B 78 */ mr r28, r3 /* 80229F80 00226EE0 38 60 00 00 */ li r3, 0 /* 80229F84 00226EE4 38 80 00 01 */ li r4, 1 /* 80229F88 00226EE8 48 15 FF 6D */ bl __shl2i /* 80229F8C 00226EEC 80 AD 95 94 */ lwz r5, lbl_805A8154@sda21(r13) /* 80229F90 00226EF0 7F 7B 23 78 */ or r27, r27, r4 /* 80229F94 00226EF4 7F 9C 1B 78 */ or r28, r28, r3 /* 80229F98 00226EF8 38 60 00 00 */ li r3, 0 /* 80229F9C 00226EFC 38 80 00 01 */ li r4, 1 /* 80229FA0 00226F00 48 15 FF 55 */ bl __shl2i /* 80229FA4 00226F04 80 AD 95 98 */ lwz r5, lbl_805A8158@sda21(r13) /* 80229FA8 00226F08 7F 7B 23 78 */ or r27, r27, r4 /* 80229FAC 00226F0C 7F 9C 1B 78 */ or r28, r28, r3 /* 80229FB0 00226F10 38 60 00 00 */ li r3, 0 /* 80229FB4 00226F14 38 80 00 01 */ li r4, 1 /* 80229FB8 00226F18 48 15 FF 3D */ bl __shl2i /* 80229FBC 00226F1C 3C A0 00 02 */ lis r5, 2 /* 80229FC0 00226F20 38 00 00 03 */ li r0, 3 /* 80229FC4 00226F24 7F 85 2B 78 */ or r5, r28, r5 /* 80229FC8 00226F28 90 81 00 7C */ stw r4, 0x7c(r1) /* 80229FCC 00226F2C 38 81 00 78 */ addi r4, r1, 0x78 /* 80229FD0 00226F30 90 61 00 78 */ stw r3, 0x78(r1) /* 80229FD4 00226F34 7F A3 EB 78 */ mr r3, r29 /* 80229FD8 00226F38 93 61 00 84 */ stw r27, 0x84(r1) /* 80229FDC 00226F3C 90 A1 00 80 */ stw r5, 0x80(r1) /* 80229FE0 00226F40 90 01 00 88 */ stw r0, 0x88(r1) /* 80229FE4 00226F44 4B E2 98 BD */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 80229FE8 00226F48 7F A3 EB 78 */ mr r3, r29 /* 80229FEC 00226F4C 7F C5 F3 78 */ mr r5, r30 /* 80229FF0 00226F50 38 80 00 12 */ li r4, 0x12 /* 80229FF4 00226F54 4B E2 A3 5D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80229FF8 00226F58 28 1F 00 00 */ cmplwi r31, 0 /* 80229FFC 00226F5C 41 82 00 0C */ beq lbl_8022A008 /* 8022A000 00226F60 7F E3 FB 78 */ mr r3, r31 /* 8022A004 00226F64 48 11 3A DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8022A008: /* 8022A008 00226F68 38 61 00 64 */ addi r3, r1, 0x64 /* 8022A00C 00226F6C 38 80 FF FF */ li r4, -1 /* 8022A010 00226F70 4B F2 C3 1D */ bl sub_8015632c /* 8022A014 00226F74 BB 61 01 1C */ lmw r27, 0x11c(r1) /* 8022A018 00226F78 80 01 01 34 */ lwz r0, 0x134(r1) /* 8022A01C 00226F7C 7C 08 03 A6 */ mtlr r0 /* 8022A020 00226F80 38 21 01 30 */ addi r1, r1, 0x130 /* 8022A024 00226F84 4E 80 00 20 */ blr .global CallForBackup__12CElitePirateFR13CStateManager9EStateMsgf CallForBackup__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022A028 00226F88 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022A02C 00226F8C 7C 08 02 A6 */ mflr r0 /* 8022A030 00226F90 2C 05 00 01 */ cmpwi r5, 1 /* 8022A034 00226F94 90 01 00 34 */ stw r0, 0x34(r1) /* 8022A038 00226F98 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022A03C 00226F9C 41 82 00 48 */ beq lbl_8022A084 /* 8022A040 00226FA0 40 80 00 10 */ bge lbl_8022A050 /* 8022A044 00226FA4 2C 05 00 00 */ cmpwi r5, 0 /* 8022A048 00226FA8 40 80 00 14 */ bge lbl_8022A05C /* 8022A04C 00226FAC 48 00 01 78 */ b lbl_8022A1C4 lbl_8022A050: /* 8022A050 00226FB0 2C 05 00 03 */ cmpwi r5, 3 /* 8022A054 00226FB4 40 80 01 70 */ bge lbl_8022A1C4 /* 8022A058 00226FB8 48 00 01 5C */ b lbl_8022A1B4 lbl_8022A05C: /* 8022A05C 00226FBC 38 00 00 00 */ li r0, 0 /* 8022A060 00226FC0 38 C0 00 01 */ li r6, 1 /* 8022A064 00226FC4 90 03 05 68 */ stw r0, 0x568(r3) /* 8022A068 00226FC8 7C 85 23 78 */ mr r5, r4 /* 8022A06C 00226FCC 38 80 00 00 */ li r4, 0 /* 8022A070 00226FD0 88 03 09 88 */ lbz r0, 0x988(r3) /* 8022A074 00226FD4 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e /* 8022A078 00226FD8 98 03 09 88 */ stb r0, 0x988(r3) /* 8022A07C 00226FDC 4B FF D5 21 */ bl sub_8022759c /* 8022A080 00226FE0 48 00 01 44 */ b lbl_8022A1C4 lbl_8022A084: /* 8022A084 00226FE4 80 03 05 68 */ lwz r0, 0x568(r3) /* 8022A088 00226FE8 2C 00 00 01 */ cmpwi r0, 1 /* 8022A08C 00226FEC 41 82 01 38 */ beq lbl_8022A1C4 /* 8022A090 00226FF0 40 80 00 10 */ bge lbl_8022A0A0 /* 8022A094 00226FF4 2C 00 00 00 */ cmpwi r0, 0 /* 8022A098 00226FF8 40 80 00 14 */ bge lbl_8022A0AC /* 8022A09C 00226FFC 48 00 01 28 */ b lbl_8022A1C4 lbl_8022A0A0: /* 8022A0A0 00227000 2C 00 00 03 */ cmpwi r0, 3 /* 8022A0A4 00227004 40 80 01 20 */ bge lbl_8022A1C4 /* 8022A0A8 00227008 48 00 00 F0 */ b lbl_8022A198 lbl_8022A0AC: /* 8022A0AC 0022700C 81 43 04 50 */ lwz r10, 0x450(r3) /* 8022A0B0 00227010 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 8022A0B4 00227014 2C 00 00 0C */ cmpwi r0, 0xc /* 8022A0B8 00227018 40 82 00 10 */ bne lbl_8022A0C8 /* 8022A0BC 0022701C 38 00 00 02 */ li r0, 2 /* 8022A0C0 00227020 90 03 05 68 */ stw r0, 0x568(r3) /* 8022A0C4 00227024 48 00 01 00 */ b lbl_8022A1C4 lbl_8022A0C8: /* 8022A0C8 00227028 3C C0 80 3E */ lis r6, lbl_803DAA68@ha /* 8022A0CC 0022702C 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022A0D0 00227030 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8022A0D4 00227034 80 81 00 24 */ lwz r4, 0x24(r1) /* 8022A0D8 00227038 38 60 00 00 */ li r3, 0 /* 8022A0DC 0022703C 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l /* 8022A0E0 00227040 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 /* 8022A0E4 00227044 C0 45 00 00 */ lfs f2, 0(r5) /* 8022A0E8 00227048 C0 25 00 04 */ lfs f1, 4(r5) /* 8022A0EC 0022704C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 8022A0F0 00227050 C0 05 00 08 */ lfs f0, 8(r5) /* 8022A0F4 00227054 7C 80 23 78 */ mr r0, r4 /* 8022A0F8 00227058 39 00 00 0E */ li r8, 0xe /* 8022A0FC 0022705C 38 C0 00 05 */ li r6, 5 /* 8022A100 00227060 38 A0 FF FF */ li r5, -1 /* 8022A104 00227064 3B EA 00 04 */ addi r31, r10, 4 /* 8022A108 00227068 91 21 00 08 */ stw r9, 8(r1) /* 8022A10C 0022706C 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 8022A110 00227070 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 /* 8022A114 00227074 7F E3 FB 78 */ mr r3, r31 /* 8022A118 00227078 90 81 00 24 */ stw r4, 0x24(r1) /* 8022A11C 0022707C 38 80 00 0E */ li r4, 0xe /* 8022A120 00227080 91 01 00 0C */ stw r8, 0xc(r1) /* 8022A124 00227084 90 E1 00 08 */ stw r7, 8(r1) /* 8022A128 00227088 90 C1 00 10 */ stw r6, 0x10(r1) /* 8022A12C 0022708C D0 41 00 14 */ stfs f2, 0x14(r1) /* 8022A130 00227090 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8022A134 00227094 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8022A138 00227098 90 A1 00 20 */ stw r5, 0x20(r1) /* 8022A13C 0022709C 90 01 00 24 */ stw r0, 0x24(r1) /* 8022A140 002270A0 4B F0 72 F9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022A144 002270A4 80 01 00 0C */ lwz r0, 0xc(r1) /* 8022A148 002270A8 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 8022A14C 002270AC 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 8022A150 002270B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022A154 002270B4 90 1F 01 90 */ stw r0, 0x190(r31) /* 8022A158 002270B8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022A15C 002270BC 80 A1 00 10 */ lwz r5, 0x10(r1) /* 8022A160 002270C0 80 61 00 14 */ lwz r3, 0x14(r1) /* 8022A164 002270C4 90 BF 01 94 */ stw r5, 0x194(r31) /* 8022A168 002270C8 80 A1 00 18 */ lwz r5, 0x18(r1) /* 8022A16C 002270CC 90 7F 01 98 */ stw r3, 0x198(r31) /* 8022A170 002270D0 80 61 00 1C */ lwz r3, 0x1c(r1) /* 8022A174 002270D4 90 BF 01 9C */ stw r5, 0x19c(r31) /* 8022A178 002270D8 80 A1 00 20 */ lwz r5, 0x20(r1) /* 8022A17C 002270DC 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 8022A180 002270E0 80 61 00 24 */ lwz r3, 0x24(r1) /* 8022A184 002270E4 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 8022A188 002270E8 90 81 00 08 */ stw r4, 8(r1) /* 8022A18C 002270EC 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 8022A190 002270F0 90 01 00 08 */ stw r0, 8(r1) /* 8022A194 002270F4 48 00 00 30 */ b lbl_8022A1C4 lbl_8022A198: /* 8022A198 002270F8 80 83 04 50 */ lwz r4, 0x450(r3) /* 8022A19C 002270FC 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 8022A1A0 00227100 2C 00 00 0C */ cmpwi r0, 0xc /* 8022A1A4 00227104 41 82 00 20 */ beq lbl_8022A1C4 /* 8022A1A8 00227108 38 00 00 03 */ li r0, 3 /* 8022A1AC 0022710C 90 03 05 68 */ stw r0, 0x568(r3) /* 8022A1B0 00227110 48 00 00 14 */ b lbl_8022A1C4 lbl_8022A1B4: /* 8022A1B4 00227114 7C 85 23 78 */ mr r5, r4 /* 8022A1B8 00227118 38 80 00 09 */ li r4, 9 /* 8022A1BC 0022711C 38 C0 FF FF */ li r6, -1 /* 8022A1C0 00227120 4B E2 6F 01 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_8022A1C4: /* 8022A1C4 00227124 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022A1C8 00227128 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022A1CC 0022712C 7C 08 03 A6 */ mtlr r0 /* 8022A1D0 00227130 38 21 00 30 */ addi r1, r1, 0x30 /* 8022A1D4 00227134 4E 80 00 20 */ blr .global Cover__12CElitePirateFR13CStateManager9EStateMsgf Cover__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022A1D8 00227138 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8022A1DC 0022713C 7C 08 02 A6 */ mflr r0 /* 8022A1E0 00227140 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8022A1E4 00227144 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 8022A1E8 00227148 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 8022A1EC 0022714C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 8022A1F0 00227150 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 8022A1F4 00227154 93 A1 00 C4 */ stw r29, 0xc4(r1) /* 8022A1F8 00227158 7C BF 2B 78 */ mr r31, r5 /* 8022A1FC 0022715C FF E0 08 90 */ fmr f31, f1 /* 8022A200 00227160 2C 1F 00 01 */ cmpwi r31, 1 /* 8022A204 00227164 7C 7D 1B 78 */ mr r29, r3 /* 8022A208 00227168 7C 9E 23 78 */ mr r30, r4 /* 8022A20C 0022716C 41 82 01 0C */ beq lbl_8022A318 /* 8022A210 00227170 40 80 00 10 */ bge lbl_8022A220 /* 8022A214 00227174 2C 1F 00 00 */ cmpwi r31, 0 /* 8022A218 00227178 40 80 00 14 */ bge lbl_8022A22C /* 8022A21C 0022717C 48 00 04 68 */ b lbl_8022A684 lbl_8022A220: /* 8022A220 00227180 2C 1F 00 03 */ cmpwi r31, 3 /* 8022A224 00227184 40 80 04 60 */ bge lbl_8022A684 /* 8022A228 00227188 48 00 03 E4 */ b lbl_8022A60C lbl_8022A22C: /* 8022A22C 0022718C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022A230 00227190 38 80 00 00 */ li r4, 0 /* 8022A234 00227194 4B F1 07 A5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022A238 00227198 7F A3 EB 78 */ mr r3, r29 /* 8022A23C 0022719C 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A240 002271A0 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022A244 002271A4 7D 89 03 A6 */ mtctr r12 /* 8022A248 002271A8 4E 80 04 21 */ bctrl /* 8022A24C 002271AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A250 002271B0 41 82 00 3C */ beq lbl_8022A28C /* 8022A254 002271B4 A0 1D 07 70 */ lhz r0, 0x770(r29) /* 8022A258 002271B8 7F C3 F3 78 */ mr r3, r30 /* 8022A25C 002271BC 38 81 00 14 */ addi r4, r1, 0x14 /* 8022A260 002271C0 B0 01 00 14 */ sth r0, 0x14(r1) /* 8022A264 002271C4 4B E2 23 11 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022A268 002271C8 7C 64 1B 78 */ mr r4, r3 /* 8022A26C 002271CC 38 61 00 20 */ addi r3, r1, 0x20 /* 8022A270 002271D0 4B E8 50 DD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022A274 002271D4 80 63 00 04 */ lwz r3, 4(r3) /* 8022A278 002271D8 28 03 00 00 */ cmplwi r3, 0 /* 8022A27C 002271DC 41 82 00 10 */ beq lbl_8022A28C /* 8022A280 002271E0 3C 80 80 57 */ lis r4, lbl_8056D718@ha /* 8022A284 002271E4 38 84 D7 18 */ addi r4, r4, lbl_8056D718@l /* 8022A288 002271E8 4B F7 E9 11 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8022A28C: /* 8022A28C 002271EC 80 7D 05 D4 */ lwz r3, 0x5d4(r29) /* 8022A290 002271F0 7F C4 F3 78 */ mr r4, r30 /* 8022A294 002271F4 38 A0 00 01 */ li r5, 1 /* 8022A298 002271F8 4B F7 D0 61 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 8022A29C 002271FC 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 8022A2A0 00227200 38 7D 06 F8 */ addi r3, r29, 0x6f8 /* 8022A2A4 00227204 38 81 00 10 */ addi r4, r1, 0x10 /* 8022A2A8 00227208 A0 05 00 08 */ lhz r0, 8(r5) /* 8022A2AC 0022720C B0 01 00 0C */ sth r0, 0xc(r1) /* 8022A2B0 00227210 B0 01 00 10 */ sth r0, 0x10(r1) /* 8022A2B4 00227214 4B F4 AF 65 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 8022A2B8 00227218 38 7D 06 F8 */ addi r3, r29, 0x6f8 /* 8022A2BC 0022721C 38 80 00 01 */ li r4, 1 /* 8022A2C0 00227220 4B F4 AF 65 */ bl SetActive__13CBoneTrackingFb /* 8022A2C4 00227224 7F A3 EB 78 */ mr r3, r29 /* 8022A2C8 00227228 7F C4 F3 78 */ mr r4, r30 /* 8022A2CC 0022722C 4B FF E3 69 */ bl sub_80228634 /* 8022A2D0 00227230 FC 20 F8 90 */ fmr f1, f31 /* 8022A2D4 00227234 7F A3 EB 78 */ mr r3, r29 /* 8022A2D8 00227238 7F C4 F3 78 */ mr r4, r30 /* 8022A2DC 0022723C 7F E5 FB 78 */ mr r5, r31 /* 8022A2E0 00227240 4B FC C3 ED */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022A2E4 00227244 7F A3 EB 78 */ mr r3, r29 /* 8022A2E8 00227248 7F C4 F3 78 */ mr r4, r30 /* 8022A2EC 0022724C 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A2F0 00227250 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A2F4 00227254 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 8022A2F8 00227258 7D 89 03 A6 */ mtctr r12 /* 8022A2FC 0022725C 4E 80 04 21 */ bctrl /* 8022A300 00227260 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A304 00227264 41 82 03 80 */ beq lbl_8022A684 /* 8022A308 00227268 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022A30C 0022726C 38 63 00 04 */ addi r3, r3, 4 /* 8022A310 00227270 4B F0 71 99 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 8022A314 00227274 48 00 03 70 */ b lbl_8022A684 lbl_8022A318: /* 8022A318 00227278 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022A31C 0022727C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 8022A320 00227280 41 82 00 34 */ beq lbl_8022A354 /* 8022A324 00227284 C0 3D 07 C0 */ lfs f1, 0x7c0(r29) /* 8022A328 00227288 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022A32C 0022728C EC 21 F8 28 */ fsubs f1, f1, f31 /* 8022A330 00227290 D0 3D 07 C0 */ stfs f1, 0x7c0(r29) /* 8022A334 00227294 C0 3D 07 C0 */ lfs f1, 0x7c0(r29) /* 8022A338 00227298 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022A33C 0022729C 4C 40 13 82 */ cror 2, 0, 2 /* 8022A340 002272A0 40 82 00 14 */ bne lbl_8022A354 /* 8022A344 002272A4 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022A348 002272A8 38 60 00 00 */ li r3, 0 /* 8022A34C 002272AC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 8022A350 002272B0 98 1D 09 88 */ stb r0, 0x988(r29) lbl_8022A354: /* 8022A354 002272B4 7F A3 EB 78 */ mr r3, r29 /* 8022A358 002272B8 7F C4 F3 78 */ mr r4, r30 /* 8022A35C 002272BC 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A360 002272C0 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A364 002272C4 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022A368 002272C8 7D 89 03 A6 */ mtctr r12 /* 8022A36C 002272CC 4E 80 04 21 */ bctrl /* 8022A370 002272D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A374 002272D4 41 82 00 10 */ beq lbl_8022A384 /* 8022A378 002272D8 C0 1D 07 A8 */ lfs f0, 0x7a8(r29) /* 8022A37C 002272DC EC 00 F8 2A */ fadds f0, f0, f31 /* 8022A380 002272E0 48 00 00 08 */ b lbl_8022A388 lbl_8022A384: /* 8022A384 002272E4 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) lbl_8022A388: /* 8022A388 002272E8 D0 1D 07 A8 */ stfs f0, 0x7a8(r29) /* 8022A38C 002272EC 7F A3 EB 78 */ mr r3, r29 /* 8022A390 002272F0 7F C4 F3 78 */ mr r4, r30 /* 8022A394 002272F4 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A398 002272F8 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A39C 002272FC 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 8022A3A0 00227300 7D 89 03 A6 */ mtctr r12 /* 8022A3A4 00227304 4E 80 04 21 */ bctrl /* 8022A3A8 00227308 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A3AC 0022730C 40 82 00 40 */ bne lbl_8022A3EC /* 8022A3B0 00227310 7F A3 EB 78 */ mr r3, r29 /* 8022A3B4 00227314 7F C4 F3 78 */ mr r4, r30 /* 8022A3B8 00227318 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A3BC 0022731C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A3C0 00227320 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022A3C4 00227324 7D 89 03 A6 */ mtctr r12 /* 8022A3C8 00227328 4E 80 04 21 */ bctrl /* 8022A3CC 0022732C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A3D0 00227330 40 82 00 1C */ bne lbl_8022A3EC /* 8022A3D4 00227334 FC 20 F8 90 */ fmr f1, f31 /* 8022A3D8 00227338 7F A3 EB 78 */ mr r3, r29 /* 8022A3DC 0022733C 7F C4 F3 78 */ mr r4, r30 /* 8022A3E0 00227340 7F E5 FB 78 */ mr r5, r31 /* 8022A3E4 00227344 4B FC C2 E9 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022A3E8 00227348 48 00 02 04 */ b lbl_8022A5EC lbl_8022A3EC: /* 8022A3EC 0022734C 7F A3 EB 78 */ mr r3, r29 /* 8022A3F0 00227350 7F C4 F3 78 */ mr r4, r30 /* 8022A3F4 00227354 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A3F8 00227358 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A3FC 0022735C 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022A400 00227360 7D 89 03 A6 */ mtctr r12 /* 8022A404 00227364 4E 80 04 21 */ bctrl /* 8022A408 00227368 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A40C 0022736C 41 82 00 F4 */ beq lbl_8022A500 /* 8022A410 00227370 C0 5D 00 38 */ lfs f2, 0x38(r29) /* 8022A414 00227374 38 61 00 70 */ addi r3, r1, 0x70 /* 8022A418 00227378 C0 3D 00 48 */ lfs f1, 0x48(r29) /* 8022A41C 0022737C 38 9D 08 C0 */ addi r4, r29, 0x8c0 /* 8022A420 00227380 C0 1D 00 58 */ lfs f0, 0x58(r29) /* 8022A424 00227384 38 A1 00 64 */ addi r5, r1, 0x64 /* 8022A428 00227388 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8022A42C 0022738C 38 C1 00 4C */ addi r6, r1, 0x4c /* 8022A430 00227390 D0 21 00 44 */ stfs f1, 0x44(r1) /* 8022A434 00227394 81 01 00 40 */ lwz r8, 0x40(r1) /* 8022A438 00227398 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8022A43C 0022739C 80 E1 00 44 */ lwz r7, 0x44(r1) /* 8022A440 002273A0 80 01 00 48 */ lwz r0, 0x48(r1) /* 8022A444 002273A4 91 01 00 4C */ stw r8, 0x4c(r1) /* 8022A448 002273A8 90 E1 00 50 */ stw r7, 0x50(r1) /* 8022A44C 002273AC 90 01 00 54 */ stw r0, 0x54(r1) /* 8022A450 002273B0 C0 5D 00 40 */ lfs f2, 0x40(r29) /* 8022A454 002273B4 C0 3D 00 50 */ lfs f1, 0x50(r29) /* 8022A458 002273B8 C0 1D 00 60 */ lfs f0, 0x60(r29) /* 8022A45C 002273BC D0 41 00 58 */ stfs f2, 0x58(r1) /* 8022A460 002273C0 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 8022A464 002273C4 81 01 00 58 */ lwz r8, 0x58(r1) /* 8022A468 002273C8 D0 01 00 60 */ stfs f0, 0x60(r1) /* 8022A46C 002273CC 80 E1 00 5C */ lwz r7, 0x5c(r1) /* 8022A470 002273D0 80 01 00 60 */ lwz r0, 0x60(r1) /* 8022A474 002273D4 91 01 00 64 */ stw r8, 0x64(r1) /* 8022A478 002273D8 90 E1 00 68 */ stw r7, 0x68(r1) /* 8022A47C 002273DC 90 01 00 6C */ stw r0, 0x6c(r1) /* 8022A480 002273E0 48 07 63 71 */ bl sub_802a07f0 /* 8022A484 002273E4 C0 21 00 70 */ lfs f1, 0x70(r1) /* 8022A488 002273E8 38 00 00 00 */ li r0, 0 /* 8022A48C 002273EC C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022A490 002273F0 C0 81 00 74 */ lfs f4, 0x74(r1) /* 8022A494 002273F4 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 8022A498 002273F8 C0 A1 00 78 */ lfs f5, 0x78(r1) /* 8022A49C 002273FC 40 82 00 14 */ bne lbl_8022A4B0 /* 8022A4A0 00227400 FC 00 20 00 */ fcmpu cr0, f0, f4 /* 8022A4A4 00227404 40 82 00 0C */ bne lbl_8022A4B0 /* 8022A4A8 00227408 FC 00 28 00 */ fcmpu cr0, f0, f5 /* 8022A4AC 0022740C 41 82 00 08 */ beq lbl_8022A4B4 lbl_8022A4B0: /* 8022A4B0 00227410 38 00 00 01 */ li r0, 1 lbl_8022A4B4: /* 8022A4B4 00227414 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8022A4B8 00227418 41 82 01 34 */ beq lbl_8022A5EC /* 8022A4BC 0022741C 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022A4C0 00227420 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 8022A4C4 00227424 C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022A4C8 00227428 38 81 00 A4 */ addi r4, r1, 0xa4 /* 8022A4CC 0022742C D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 8022A4D0 00227430 C0 43 00 04 */ lfs f2, 4(r3) /* 8022A4D4 00227434 C0 23 00 08 */ lfs f1, 8(r3) /* 8022A4D8 00227438 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 8022A4DC 0022743C D0 A1 00 AC */ stfs f5, 0xac(r1) /* 8022A4E0 00227440 D0 61 00 B0 */ stfs f3, 0xb0(r1) /* 8022A4E4 00227444 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 8022A4E8 00227448 D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 8022A4EC 0022744C D0 01 00 BC */ stfs f0, 0xbc(r1) /* 8022A4F0 00227450 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022A4F4 00227454 38 63 00 04 */ addi r3, r3, 4 /* 8022A4F8 00227458 4B F0 72 21 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022A4FC 0022745C 48 00 00 F0 */ b lbl_8022A5EC lbl_8022A500: /* 8022A500 00227460 7F A3 EB 78 */ mr r3, r29 /* 8022A504 00227464 7F C4 F3 78 */ mr r4, r30 /* 8022A508 00227468 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A50C 0022746C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A510 00227470 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8022A514 00227474 7D 89 03 A6 */ mtctr r12 /* 8022A518 00227478 4E 80 04 21 */ bctrl /* 8022A51C 0022747C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A520 00227480 41 82 00 CC */ beq lbl_8022A5EC /* 8022A524 00227484 80 DD 00 64 */ lwz r6, 0x64(r29) /* 8022A528 00227488 7F C5 F3 78 */ mr r5, r30 /* 8022A52C 0022748C 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 8022A530 00227490 38 61 00 34 */ addi r3, r1, 0x34 /* 8022A534 00227494 80 C6 00 10 */ lwz r6, 0x10(r6) /* 8022A538 00227498 81 84 00 00 */ lwz r12, 0(r4) /* 8022A53C 0022749C C0 22 B5 BC */ lfs f1, lbl_805AD2DC@sda21(r2) /* 8022A540 002274A0 C0 06 02 00 */ lfs f0, 0x200(r6) /* 8022A544 002274A4 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022A548 002274A8 EC 21 00 32 */ fmuls f1, f1, f0 /* 8022A54C 002274AC 7D 89 03 A6 */ mtctr r12 /* 8022A550 002274B0 4E 80 04 21 */ bctrl /* 8022A554 002274B4 C0 21 00 38 */ lfs f1, 0x38(r1) /* 8022A558 002274B8 38 61 00 7C */ addi r3, r1, 0x7c /* 8022A55C 002274BC C0 1D 00 50 */ lfs f0, 0x50(r29) /* 8022A560 002274C0 C0 61 00 3C */ lfs f3, 0x3c(r1) /* 8022A564 002274C4 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 8022A568 002274C8 EC 81 00 28 */ fsubs f4, f1, f0 /* 8022A56C 002274CC C0 1D 00 40 */ lfs f0, 0x40(r29) /* 8022A570 002274D0 C0 21 00 34 */ lfs f1, 0x34(r1) /* 8022A574 002274D4 EC 43 10 28 */ fsubs f2, f3, f2 /* 8022A578 002274D8 D0 81 00 80 */ stfs f4, 0x80(r1) /* 8022A57C 002274DC EC 01 00 28 */ fsubs f0, f1, f0 /* 8022A580 002274E0 D0 41 00 84 */ stfs f2, 0x84(r1) /* 8022A584 002274E4 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 8022A588 002274E8 48 0E A1 71 */ bl CanBeNormalized__9CVector3fCFv /* 8022A58C 002274EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A590 002274F0 41 82 00 5C */ beq lbl_8022A5EC /* 8022A594 002274F4 38 61 00 28 */ addi r3, r1, 0x28 /* 8022A598 002274F8 38 81 00 7C */ addi r4, r1, 0x7c /* 8022A59C 002274FC 48 0E A2 B5 */ bl AsNormalized__9CVector3fCFv /* 8022A5A0 00227500 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022A5A4 00227504 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 8022A5A8 00227508 C0 61 00 28 */ lfs f3, 0x28(r1) /* 8022A5AC 0022750C 38 81 00 88 */ addi r4, r1, 0x88 /* 8022A5B0 00227510 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 8022A5B4 00227514 C0 A3 00 04 */ lfs f5, 4(r3) /* 8022A5B8 00227518 C0 83 00 08 */ lfs f4, 8(r3) /* 8022A5BC 0022751C C0 21 00 30 */ lfs f1, 0x30(r1) /* 8022A5C0 00227520 C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022A5C4 00227524 D0 C1 00 88 */ stfs f6, 0x88(r1) /* 8022A5C8 00227528 D0 A1 00 8C */ stfs f5, 0x8c(r1) /* 8022A5CC 0022752C D0 81 00 90 */ stfs f4, 0x90(r1) /* 8022A5D0 00227530 D0 61 00 94 */ stfs f3, 0x94(r1) /* 8022A5D4 00227534 D0 41 00 98 */ stfs f2, 0x98(r1) /* 8022A5D8 00227538 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 8022A5DC 0022753C D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8022A5E0 00227540 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022A5E4 00227544 38 63 00 04 */ addi r3, r3, 4 /* 8022A5E8 00227548 4B F0 71 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd lbl_8022A5EC: /* 8022A5EC 0022754C 7F A3 EB 78 */ mr r3, r29 /* 8022A5F0 00227550 7F C4 F3 78 */ mr r4, r30 /* 8022A5F4 00227554 4B FF D4 9D */ bl sub_80227a90 /* 8022A5F8 00227558 FC 20 F8 90 */ fmr f1, f31 /* 8022A5FC 0022755C 7F A3 EB 78 */ mr r3, r29 /* 8022A600 00227560 7F C4 F3 78 */ mr r4, r30 /* 8022A604 00227564 4B FF D1 DD */ bl sub_802277e0 /* 8022A608 00227568 48 00 00 7C */ b lbl_8022A684 lbl_8022A60C: /* 8022A60C 0022756C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022A610 00227570 38 80 00 01 */ li r4, 1 /* 8022A614 00227574 4B F1 03 C5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022A618 00227578 38 7D 06 F8 */ addi r3, r29, 0x6f8 /* 8022A61C 0022757C 38 80 00 00 */ li r4, 0 /* 8022A620 00227580 4B F4 AC 05 */ bl SetActive__13CBoneTrackingFb /* 8022A624 00227584 7F A3 EB 78 */ mr r3, r29 /* 8022A628 00227588 81 9D 00 00 */ lwz r12, 0(r29) /* 8022A62C 0022758C 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022A630 00227590 7D 89 03 A6 */ mtctr r12 /* 8022A634 00227594 4E 80 04 21 */ bctrl /* 8022A638 00227598 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A63C 0022759C 41 82 00 38 */ beq lbl_8022A674 /* 8022A640 002275A0 A0 1D 07 70 */ lhz r0, 0x770(r29) /* 8022A644 002275A4 7F C3 F3 78 */ mr r3, r30 /* 8022A648 002275A8 38 81 00 08 */ addi r4, r1, 8 /* 8022A64C 002275AC B0 01 00 08 */ sth r0, 8(r1) /* 8022A650 002275B0 4B E2 1F 25 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022A654 002275B4 7C 64 1B 78 */ mr r4, r3 /* 8022A658 002275B8 38 61 00 18 */ addi r3, r1, 0x18 /* 8022A65C 002275BC 4B E8 4C F1 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022A660 002275C0 80 63 00 04 */ lwz r3, 4(r3) /* 8022A664 002275C4 28 03 00 00 */ cmplwi r3, 0 /* 8022A668 002275C8 41 82 00 0C */ beq lbl_8022A674 /* 8022A66C 002275CC 38 9D 05 6C */ addi r4, r29, 0x56c /* 8022A670 002275D0 4B F7 E5 29 */ bl SetDamageVulnerability__15CCollisionActorFRC20CDamageVulnerability lbl_8022A674: /* 8022A674 002275D4 80 7D 05 D4 */ lwz r3, 0x5d4(r29) /* 8022A678 002275D8 7F C4 F3 78 */ mr r4, r30 /* 8022A67C 002275DC 38 A0 00 00 */ li r5, 0 /* 8022A680 002275E0 4B F7 CC 79 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb lbl_8022A684: /* 8022A684 002275E4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 8022A688 002275E8 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8022A68C 002275EC CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 8022A690 002275F0 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 8022A694 002275F4 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 8022A698 002275F8 83 A1 00 C4 */ lwz r29, 0xc4(r1) /* 8022A69C 002275FC 7C 08 03 A6 */ mtlr r0 /* 8022A6A0 00227600 38 21 00 E0 */ addi r1, r1, 0xe0 /* 8022A6A4 00227604 4E 80 00 20 */ blr .global Attack__12CElitePirateFR13CStateManager9EStateMsgf Attack__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022A6A8 00227608 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8022A6AC 0022760C 7C 08 02 A6 */ mflr r0 /* 8022A6B0 00227610 2C 05 00 01 */ cmpwi r5, 1 /* 8022A6B4 00227614 90 01 00 54 */ stw r0, 0x54(r1) /* 8022A6B8 00227618 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8022A6BC 0022761C 7C 9F 23 78 */ mr r31, r4 /* 8022A6C0 00227620 93 C1 00 48 */ stw r30, 0x48(r1) /* 8022A6C4 00227624 7C 7E 1B 78 */ mr r30, r3 /* 8022A6C8 00227628 41 82 00 54 */ beq lbl_8022A71C /* 8022A6CC 0022762C 40 80 00 10 */ bge lbl_8022A6DC /* 8022A6D0 00227630 2C 05 00 00 */ cmpwi r5, 0 /* 8022A6D4 00227634 40 80 00 14 */ bge lbl_8022A6E8 /* 8022A6D8 00227638 48 00 03 90 */ b lbl_8022AA68 lbl_8022A6DC: /* 8022A6DC 0022763C 2C 05 00 03 */ cmpwi r5, 3 /* 8022A6E0 00227640 40 80 03 88 */ bge lbl_8022AA68 /* 8022A6E4 00227644 48 00 03 10 */ b lbl_8022A9F4 lbl_8022A6E8: /* 8022A6E8 00227648 38 00 00 00 */ li r0, 0 /* 8022A6EC 0022764C 3C A0 80 57 */ lis r5, lbl_805723E0@ha /* 8022A6F0 00227650 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022A6F4 00227654 38 C5 23 E0 */ addi r6, r5, lbl_805723E0@l /* 8022A6F8 00227658 38 BE 07 74 */ addi r5, r30, 0x774 /* 8022A6FC 0022765C 4B FF EC 4D */ bl sub_80229348 /* 8022A700 00227660 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8022A704 00227664 4B EE A5 45 */ bl GetNumMaterialSets__10CModelDataCFv /* 8022A708 00227668 2C 03 00 01 */ cmpwi r3, 1 /* 8022A70C 0022766C 40 81 03 5C */ ble lbl_8022AA68 /* 8022A710 00227670 38 00 00 01 */ li r0, 1 /* 8022A714 00227674 90 1E 07 CC */ stw r0, 0x7cc(r30) /* 8022A718 00227678 48 00 03 50 */ b lbl_8022AA68 lbl_8022A71C: /* 8022A71C 0022767C 80 1E 05 68 */ lwz r0, 0x568(r30) /* 8022A720 00227680 2C 00 00 01 */ cmpwi r0, 1 /* 8022A724 00227684 41 82 00 FC */ beq lbl_8022A820 /* 8022A728 00227688 40 80 00 10 */ bge lbl_8022A738 /* 8022A72C 0022768C 2C 00 00 00 */ cmpwi r0, 0 /* 8022A730 00227690 40 80 00 14 */ bge lbl_8022A744 /* 8022A734 00227694 48 00 03 34 */ b lbl_8022AA68 lbl_8022A738: /* 8022A738 00227698 2C 00 00 03 */ cmpwi r0, 3 /* 8022A73C 0022769C 40 80 03 2C */ bge lbl_8022AA68 /* 8022A740 002276A0 48 00 02 60 */ b lbl_8022A9A0 lbl_8022A744: /* 8022A744 002276A4 81 1E 04 50 */ lwz r8, 0x450(r30) /* 8022A748 002276A8 80 08 02 B8 */ lwz r0, 0x2b8(r8) /* 8022A74C 002276AC 2C 00 00 07 */ cmpwi r0, 7 /* 8022A750 002276B0 40 82 00 28 */ bne lbl_8022A778 /* 8022A754 002276B4 38 60 00 01 */ li r3, 1 /* 8022A758 002276B8 90 7E 05 68 */ stw r3, 0x568(r30) /* 8022A75C 002276BC 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022A760 002276C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8022A764 002276C4 98 1E 09 88 */ stb r0, 0x988(r30) /* 8022A768 002276C8 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022A76C 002276CC 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 8022A770 002276D0 90 1E 07 C8 */ stw r0, 0x7c8(r30) /* 8022A774 002276D4 48 00 02 F4 */ b lbl_8022AA68 lbl_8022A778: /* 8022A778 002276D8 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 8022A77C 002276DC 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022A780 002276E0 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) /* 8022A784 002276E4 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l /* 8022A788 002276E8 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha /* 8022A78C 002276EC 90 C1 00 24 */ stw r6, 0x24(r1) /* 8022A790 002276F0 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l /* 8022A794 002276F4 C0 23 00 04 */ lfs f1, 4(r3) /* 8022A798 002276F8 C0 03 00 08 */ lfs f0, 8(r3) /* 8022A79C 002276FC 38 E0 00 05 */ li r7, 5 /* 8022A7A0 00227700 38 A0 00 01 */ li r5, 1 /* 8022A7A4 00227704 38 00 00 00 */ li r0, 0 /* 8022A7A8 00227708 3B C8 00 04 */ addi r30, r8, 4 /* 8022A7AC 0022770C 90 E1 00 28 */ stw r7, 0x28(r1) /* 8022A7B0 00227710 7F C3 F3 78 */ mr r3, r30 /* 8022A7B4 00227714 38 80 00 05 */ li r4, 5 /* 8022A7B8 00227718 90 C1 00 24 */ stw r6, 0x24(r1) /* 8022A7BC 0022771C 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8022A7C0 00227720 D0 41 00 30 */ stfs f2, 0x30(r1) /* 8022A7C4 00227724 D0 21 00 34 */ stfs f1, 0x34(r1) /* 8022A7C8 00227728 D0 01 00 38 */ stfs f0, 0x38(r1) /* 8022A7CC 0022772C 98 01 00 3C */ stb r0, 0x3c(r1) /* 8022A7D0 00227730 4B F0 6C 69 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022A7D4 00227734 80 01 00 28 */ lwz r0, 0x28(r1) /* 8022A7D8 00227738 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 8022A7DC 0022773C 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 8022A7E0 00227740 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022A7E4 00227744 90 1E 01 10 */ stw r0, 0x110(r30) /* 8022A7E8 00227748 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022A7EC 0022774C 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8022A7F0 00227750 80 A1 00 30 */ lwz r5, 0x30(r1) /* 8022A7F4 00227754 90 7E 01 14 */ stw r3, 0x114(r30) /* 8022A7F8 00227758 80 61 00 34 */ lwz r3, 0x34(r1) /* 8022A7FC 0022775C 90 BE 01 18 */ stw r5, 0x118(r30) /* 8022A800 00227760 80 A1 00 38 */ lwz r5, 0x38(r1) /* 8022A804 00227764 90 7E 01 1C */ stw r3, 0x11c(r30) /* 8022A808 00227768 88 61 00 3C */ lbz r3, 0x3c(r1) /* 8022A80C 0022776C 90 BE 01 20 */ stw r5, 0x120(r30) /* 8022A810 00227770 90 81 00 24 */ stw r4, 0x24(r1) /* 8022A814 00227774 98 7E 01 24 */ stb r3, 0x124(r30) /* 8022A818 00227778 90 01 00 24 */ stw r0, 0x24(r1) /* 8022A81C 0022777C 48 00 02 4C */ b lbl_8022AA68 lbl_8022A820: /* 8022A820 00227780 80 DE 04 50 */ lwz r6, 0x450(r30) /* 8022A824 00227784 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 8022A828 00227788 2C 00 00 07 */ cmpwi r0, 7 /* 8022A82C 0022778C 41 82 00 10 */ beq lbl_8022A83C /* 8022A830 00227790 38 00 00 03 */ li r0, 3 /* 8022A834 00227794 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022A838 00227798 48 00 02 30 */ b lbl_8022AA68 lbl_8022A83C: /* 8022A83C 0022779C 80 BE 07 C8 */ lwz r5, 0x7c8(r30) /* 8022A840 002277A0 80 06 02 F8 */ lwz r0, 0x2f8(r6) /* 8022A844 002277A4 7C 05 00 00 */ cmpw r5, r0 /* 8022A848 002277A8 41 82 00 58 */ beq lbl_8022A8A0 /* 8022A84C 002277AC 38 00 00 02 */ li r0, 2 /* 8022A850 002277B0 3C A0 80 5A */ lis r5, skZero3f@ha /* 8022A854 002277B4 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022A858 002277B8 38 C5 66 A0 */ addi r6, r5, skZero3f@l /* 8022A85C 002277BC 38 A0 00 00 */ li r5, 0 /* 8022A860 002277C0 38 E0 00 01 */ li r7, 1 /* 8022A864 002277C4 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022A868 002277C8 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8022A86C 002277CC 38 BE 07 74 */ addi r5, r30, 0x774 /* 8022A870 002277D0 98 1E 09 88 */ stb r0, 0x988(r30) /* 8022A874 002277D4 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022A878 002277D8 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a /* 8022A87C 002277DC 98 1E 09 88 */ stb r0, 0x988(r30) /* 8022A880 002277E0 4B FF EA C9 */ bl sub_80229348 /* 8022A884 002277E4 3C 80 80 57 */ lis r4, lbl_805723E0@ha /* 8022A888 002277E8 7F C3 F3 78 */ mr r3, r30 /* 8022A88C 002277EC 38 C4 23 E0 */ addi r6, r4, lbl_805723E0@l /* 8022A890 002277F0 38 BE 07 88 */ addi r5, r30, 0x788 /* 8022A894 002277F4 7F E4 FB 78 */ mr r4, r31 /* 8022A898 002277F8 4B FF EA B1 */ bl sub_80229348 /* 8022A89C 002277FC 48 00 01 CC */ b lbl_8022AA68 lbl_8022A8A0: /* 8022A8A0 00227800 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 8022A8A4 00227804 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022A8A8 00227808 C0 25 00 40 */ lfs f1, 0x40(r5) /* 8022A8AC 0022780C C0 A5 00 50 */ lfs f5, 0x50(r5) /* 8022A8B0 00227810 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 8022A8B4 00227814 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022A8B8 00227818 C0 65 00 60 */ lfs f3, 0x60(r5) /* 8022A8BC 0022781C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8022A8C0 00227820 EC 85 20 28 */ fsubs f4, f5, f4 /* 8022A8C4 00227824 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022A8C8 00227828 D0 06 00 1C */ stfs f0, 0x1c(r6) /* 8022A8CC 0022782C EC 03 10 28 */ fsubs f0, f3, f2 /* 8022A8D0 00227830 D0 86 00 20 */ stfs f4, 0x20(r6) /* 8022A8D4 00227834 D0 06 00 24 */ stfs f0, 0x24(r6) /* 8022A8D8 00227838 81 83 00 00 */ lwz r12, 0(r3) /* 8022A8DC 0022783C 81 8C 01 DC */ lwz r12, 0x1dc(r12) /* 8022A8E0 00227840 7D 89 03 A6 */ mtctr r12 /* 8022A8E4 00227844 4E 80 04 21 */ bctrl /* 8022A8E8 00227848 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022A8EC 0022784C 41 82 01 7C */ beq lbl_8022AA68 /* 8022A8F0 00227850 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 8022A8F4 00227854 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022A8F8 00227858 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 8022A8FC 0022785C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022A900 00227860 39 05 AA 68 */ addi r8, r5, lbl_803DAA68@l /* 8022A904 00227864 C0 44 00 00 */ lfs f2, 0(r4) /* 8022A908 00227868 C0 24 00 04 */ lfs f1, 4(r4) /* 8022A90C 0022786C 3C C0 80 3E */ lis r6, lbl_803DA9D8@ha /* 8022A910 00227870 C0 04 00 08 */ lfs f0, 8(r4) /* 8022A914 00227874 38 E0 00 05 */ li r7, 5 /* 8022A918 00227878 38 A0 00 02 */ li r5, 2 /* 8022A91C 0022787C 38 00 00 00 */ li r0, 0 /* 8022A920 00227880 3B C3 00 04 */ addi r30, r3, 4 /* 8022A924 00227884 91 01 00 08 */ stw r8, 8(r1) /* 8022A928 00227888 38 C6 A9 D8 */ addi r6, r6, lbl_803DA9D8@l /* 8022A92C 0022788C 38 80 00 05 */ li r4, 5 /* 8022A930 00227890 90 E1 00 0C */ stw r7, 0xc(r1) /* 8022A934 00227894 7F C3 F3 78 */ mr r3, r30 /* 8022A938 00227898 90 C1 00 08 */ stw r6, 8(r1) /* 8022A93C 0022789C 90 A1 00 10 */ stw r5, 0x10(r1) /* 8022A940 002278A0 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8022A944 002278A4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8022A948 002278A8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8022A94C 002278AC 98 01 00 20 */ stb r0, 0x20(r1) /* 8022A950 002278B0 4B F0 6A E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022A954 002278B4 80 01 00 0C */ lwz r0, 0xc(r1) /* 8022A958 002278B8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha /* 8022A95C 002278BC 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l /* 8022A960 002278C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022A964 002278C4 90 1E 01 10 */ stw r0, 0x110(r30) /* 8022A968 002278C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022A96C 002278CC 80 61 00 10 */ lwz r3, 0x10(r1) /* 8022A970 002278D0 80 A1 00 14 */ lwz r5, 0x14(r1) /* 8022A974 002278D4 90 7E 01 14 */ stw r3, 0x114(r30) /* 8022A978 002278D8 80 61 00 18 */ lwz r3, 0x18(r1) /* 8022A97C 002278DC 90 BE 01 18 */ stw r5, 0x118(r30) /* 8022A980 002278E0 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8022A984 002278E4 90 7E 01 1C */ stw r3, 0x11c(r30) /* 8022A988 002278E8 88 61 00 20 */ lbz r3, 0x20(r1) /* 8022A98C 002278EC 90 BE 01 20 */ stw r5, 0x120(r30) /* 8022A990 002278F0 90 81 00 08 */ stw r4, 8(r1) /* 8022A994 002278F4 98 7E 01 24 */ stb r3, 0x124(r30) /* 8022A998 002278F8 90 01 00 08 */ stw r0, 8(r1) /* 8022A99C 002278FC 48 00 00 CC */ b lbl_8022AA68 lbl_8022A9A0: /* 8022A9A0 00227900 80 9E 04 50 */ lwz r4, 0x450(r30) /* 8022A9A4 00227904 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 8022A9A8 00227908 2C 00 00 07 */ cmpwi r0, 7 /* 8022A9AC 0022790C 41 82 00 10 */ beq lbl_8022A9BC /* 8022A9B0 00227910 38 00 00 03 */ li r0, 3 /* 8022A9B4 00227914 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022A9B8 00227918 48 00 00 B0 */ b lbl_8022AA68 lbl_8022A9BC: /* 8022A9BC 0022791C 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8022A9C0 00227920 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022A9C4 00227924 C0 23 00 40 */ lfs f1, 0x40(r3) /* 8022A9C8 00227928 C0 83 00 50 */ lfs f4, 0x50(r3) /* 8022A9CC 0022792C C0 7E 00 50 */ lfs f3, 0x50(r30) /* 8022A9D0 00227930 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022A9D4 00227934 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8022A9D8 00227938 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 8022A9DC 0022793C EC 64 18 28 */ fsubs f3, f4, f3 /* 8022A9E0 00227940 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 8022A9E4 00227944 EC 02 08 28 */ fsubs f0, f2, f1 /* 8022A9E8 00227948 D0 64 00 20 */ stfs f3, 0x20(r4) /* 8022A9EC 0022794C D0 04 00 24 */ stfs f0, 0x24(r4) /* 8022A9F0 00227950 48 00 00 78 */ b lbl_8022AA68 lbl_8022A9F4: /* 8022A9F4 00227954 4B FF DB D1 */ bl sub_802285c4 /* 8022A9F8 00227958 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022A9FC 0022795C 39 00 00 00 */ li r8, 0 /* 8022AA00 00227960 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 /* 8022AA04 00227964 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022AA08 00227968 98 1E 09 88 */ stb r0, 0x988(r30) /* 8022AA0C 0022796C 54 08 CF FE */ rlwinm r8, r0, 0x19, 0x1f, 0x1f /* 8022AA10 00227970 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 8022AA14 00227974 38 00 FF FF */ li r0, -1 /* 8022AA18 00227978 88 BE 09 88 */ lbz r5, 0x988(r30) /* 8022AA1C 0022797C 51 05 2E B4 */ rlwimi r5, r8, 5, 0x1a, 0x1a /* 8022AA20 00227980 7F C3 F3 78 */ mr r3, r30 /* 8022AA24 00227984 7F E4 FB 78 */ mr r4, r31 /* 8022AA28 00227988 98 BE 09 88 */ stb r5, 0x988(r30) /* 8022AA2C 0022798C 54 A8 DF FE */ rlwinm r8, r5, 0x1b, 0x1f, 0x1f /* 8022AA30 00227990 38 BE 07 74 */ addi r5, r30, 0x774 /* 8022AA34 00227994 88 FE 09 88 */ lbz r7, 0x988(r30) /* 8022AA38 00227998 51 07 36 72 */ rlwimi r7, r8, 6, 0x19, 0x19 /* 8022AA3C 0022799C 98 FE 09 88 */ stb r7, 0x988(r30) /* 8022AA40 002279A0 90 1E 07 C8 */ stw r0, 0x7c8(r30) /* 8022AA44 002279A4 4B FF E9 05 */ bl sub_80229348 /* 8022AA48 002279A8 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022AA4C 002279AC 7F C3 F3 78 */ mr r3, r30 /* 8022AA50 002279B0 38 C4 66 A0 */ addi r6, r4, skZero3f@l /* 8022AA54 002279B4 38 BE 07 88 */ addi r5, r30, 0x788 /* 8022AA58 002279B8 7F E4 FB 78 */ mr r4, r31 /* 8022AA5C 002279BC 4B FF E8 ED */ bl sub_80229348 /* 8022AA60 002279C0 38 00 00 00 */ li r0, 0 /* 8022AA64 002279C4 90 1E 07 CC */ stw r0, 0x7cc(r30) lbl_8022AA68: /* 8022AA68 002279C8 80 01 00 54 */ lwz r0, 0x54(r1) /* 8022AA6C 002279CC 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8022AA70 002279D0 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8022AA74 002279D4 7C 08 03 A6 */ mtlr r0 /* 8022AA78 002279D8 38 21 00 50 */ addi r1, r1, 0x50 /* 8022AA7C 002279DC 4E 80 00 20 */ blr .global SpecialAttack__12CElitePirateFR13CStateManager9EStateMsgf SpecialAttack__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022AA80 002279E0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022AA84 002279E4 7C 08 02 A6 */ mflr r0 /* 8022AA88 002279E8 2C 05 00 01 */ cmpwi r5, 1 /* 8022AA8C 002279EC 90 01 00 34 */ stw r0, 0x34(r1) /* 8022AA90 002279F0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022AA94 002279F4 7C 7F 1B 78 */ mr r31, r3 /* 8022AA98 002279F8 41 82 00 2C */ beq lbl_8022AAC4 /* 8022AA9C 002279FC 40 80 00 10 */ bge lbl_8022AAAC /* 8022AAA0 00227A00 2C 05 00 00 */ cmpwi r5, 0 /* 8022AAA4 00227A04 40 80 00 14 */ bge lbl_8022AAB8 /* 8022AAA8 00227A08 48 00 01 70 */ b lbl_8022AC18 lbl_8022AAAC: /* 8022AAAC 00227A0C 2C 05 00 03 */ cmpwi r5, 3 /* 8022AAB0 00227A10 40 80 01 68 */ bge lbl_8022AC18 /* 8022AAB4 00227A14 48 00 01 50 */ b lbl_8022AC04 lbl_8022AAB8: /* 8022AAB8 00227A18 38 00 00 00 */ li r0, 0 /* 8022AABC 00227A1C 90 1F 05 68 */ stw r0, 0x568(r31) /* 8022AAC0 00227A20 48 00 01 58 */ b lbl_8022AC18 lbl_8022AAC4: /* 8022AAC4 00227A24 80 1F 05 68 */ lwz r0, 0x568(r31) /* 8022AAC8 00227A28 80 64 08 4C */ lwz r3, 0x84c(r4) /* 8022AACC 00227A2C 2C 00 00 01 */ cmpwi r0, 1 /* 8022AAD0 00227A30 C0 83 00 60 */ lfs f4, 0x60(r3) /* 8022AAD4 00227A34 C0 63 00 50 */ lfs f3, 0x50(r3) /* 8022AAD8 00227A38 C0 23 00 40 */ lfs f1, 0x40(r3) /* 8022AADC 00227A3C 41 82 01 3C */ beq lbl_8022AC18 /* 8022AAE0 00227A40 40 80 00 10 */ bge lbl_8022AAF0 /* 8022AAE4 00227A44 2C 00 00 00 */ cmpwi r0, 0 /* 8022AAE8 00227A48 40 80 00 14 */ bge lbl_8022AAFC /* 8022AAEC 00227A4C 48 00 01 2C */ b lbl_8022AC18 lbl_8022AAF0: /* 8022AAF0 00227A50 2C 00 00 03 */ cmpwi r0, 3 /* 8022AAF4 00227A54 40 80 01 24 */ bge lbl_8022AC18 /* 8022AAF8 00227A58 48 00 00 C8 */ b lbl_8022ABC0 lbl_8022AAFC: /* 8022AAFC 00227A5C 80 FF 04 50 */ lwz r7, 0x450(r31) /* 8022AB00 00227A60 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 8022AB04 00227A64 2C 00 00 12 */ cmpwi r0, 0x12 /* 8022AB08 00227A68 40 82 00 20 */ bne lbl_8022AB28 /* 8022AB0C 00227A6C 38 00 00 02 */ li r0, 2 /* 8022AB10 00227A70 38 60 00 01 */ li r3, 1 /* 8022AB14 00227A74 90 1F 05 68 */ stw r0, 0x568(r31) /* 8022AB18 00227A78 88 1F 09 88 */ lbz r0, 0x988(r31) /* 8022AB1C 00227A7C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8022AB20 00227A80 98 1F 09 88 */ stb r0, 0x988(r31) /* 8022AB24 00227A84 48 00 00 F4 */ b lbl_8022AC18 lbl_8022AB28: /* 8022AB28 00227A88 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 8022AB2C 00227A8C 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 8022AB30 00227A90 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 8022AB34 00227A94 38 80 00 06 */ li r4, 6 /* 8022AB38 00227A98 90 01 00 08 */ stw r0, 8(r1) /* 8022AB3C 00227A9C 38 C3 A9 CC */ addi r6, r3, lbl_803DA9CC@l /* 8022AB40 00227AA0 38 A0 00 02 */ li r5, 2 /* 8022AB44 00227AA4 38 00 00 00 */ li r0, 0 /* 8022AB48 00227AA8 3B E7 00 04 */ addi r31, r7, 4 /* 8022AB4C 00227AAC 90 81 00 0C */ stw r4, 0xc(r1) /* 8022AB50 00227AB0 7F E3 FB 78 */ mr r3, r31 /* 8022AB54 00227AB4 38 80 00 06 */ li r4, 6 /* 8022AB58 00227AB8 90 C1 00 08 */ stw r6, 8(r1) /* 8022AB5C 00227ABC 90 A1 00 10 */ stw r5, 0x10(r1) /* 8022AB60 00227AC0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8022AB64 00227AC4 D0 61 00 18 */ stfs f3, 0x18(r1) /* 8022AB68 00227AC8 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 8022AB6C 00227ACC 98 01 00 20 */ stb r0, 0x20(r1) /* 8022AB70 00227AD0 4B F0 68 C9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022AB74 00227AD4 80 01 00 0C */ lwz r0, 0xc(r1) /* 8022AB78 00227AD8 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 8022AB7C 00227ADC 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 8022AB80 00227AE0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022AB84 00227AE4 90 1F 01 2C */ stw r0, 0x12c(r31) /* 8022AB88 00227AE8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022AB8C 00227AEC 80 61 00 10 */ lwz r3, 0x10(r1) /* 8022AB90 00227AF0 80 A1 00 14 */ lwz r5, 0x14(r1) /* 8022AB94 00227AF4 90 7F 01 30 */ stw r3, 0x130(r31) /* 8022AB98 00227AF8 80 61 00 18 */ lwz r3, 0x18(r1) /* 8022AB9C 00227AFC 90 BF 01 34 */ stw r5, 0x134(r31) /* 8022ABA0 00227B00 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8022ABA4 00227B04 90 7F 01 38 */ stw r3, 0x138(r31) /* 8022ABA8 00227B08 88 61 00 20 */ lbz r3, 0x20(r1) /* 8022ABAC 00227B0C 90 BF 01 3C */ stw r5, 0x13c(r31) /* 8022ABB0 00227B10 90 81 00 08 */ stw r4, 8(r1) /* 8022ABB4 00227B14 98 7F 01 40 */ stb r3, 0x140(r31) /* 8022ABB8 00227B18 90 01 00 08 */ stw r0, 8(r1) /* 8022ABBC 00227B1C 48 00 00 5C */ b lbl_8022AC18 lbl_8022ABC0: /* 8022ABC0 00227B20 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8022ABC4 00227B24 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 8022ABC8 00227B28 2C 00 00 12 */ cmpwi r0, 0x12 /* 8022ABCC 00227B2C 41 82 00 10 */ beq lbl_8022ABDC /* 8022ABD0 00227B30 38 00 00 03 */ li r0, 3 /* 8022ABD4 00227B34 90 1F 05 68 */ stw r0, 0x568(r31) /* 8022ABD8 00227B38 48 00 00 40 */ b lbl_8022AC18 lbl_8022ABDC: /* 8022ABDC 00227B3C C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8022ABE0 00227B40 C0 5F 00 50 */ lfs f2, 0x50(r31) /* 8022ABE4 00227B44 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022ABE8 00227B48 C0 3F 00 60 */ lfs f1, 0x60(r31) /* 8022ABEC 00227B4C EC 43 10 28 */ fsubs f2, f3, f2 /* 8022ABF0 00227B50 EC 24 08 28 */ fsubs f1, f4, f1 /* 8022ABF4 00227B54 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 8022ABF8 00227B58 D0 43 00 20 */ stfs f2, 0x20(r3) /* 8022ABFC 00227B5C D0 23 00 24 */ stfs f1, 0x24(r3) /* 8022AC00 00227B60 48 00 00 18 */ b lbl_8022AC18 lbl_8022AC04: /* 8022AC04 00227B64 4B FF D9 C1 */ bl sub_802285c4 /* 8022AC08 00227B68 88 1F 09 88 */ lbz r0, 0x988(r31) /* 8022AC0C 00227B6C 38 60 00 00 */ li r3, 0 /* 8022AC10 00227B70 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8022AC14 00227B74 98 1F 09 88 */ stb r0, 0x988(r31) lbl_8022AC18: /* 8022AC18 00227B78 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022AC1C 00227B7C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022AC20 00227B80 7C 08 03 A6 */ mtlr r0 /* 8022AC24 00227B84 38 21 00 30 */ addi r1, r1, 0x30 /* 8022AC28 00227B88 4E 80 00 20 */ blr .global ProjectileAttack__12CElitePirateFR13CStateManager9EStateMsgf ProjectileAttack__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022AC2C 00227B8C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022AC30 00227B90 7C 08 02 A6 */ mflr r0 /* 8022AC34 00227B94 2C 05 00 01 */ cmpwi r5, 1 /* 8022AC38 00227B98 90 01 00 34 */ stw r0, 0x34(r1) /* 8022AC3C 00227B9C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022AC40 00227BA0 41 82 00 2C */ beq lbl_8022AC6C /* 8022AC44 00227BA4 40 80 00 10 */ bge lbl_8022AC54 /* 8022AC48 00227BA8 2C 05 00 00 */ cmpwi r5, 0 /* 8022AC4C 00227BAC 40 80 00 14 */ bge lbl_8022AC60 /* 8022AC50 00227BB0 48 00 01 50 */ b lbl_8022ADA0 lbl_8022AC54: /* 8022AC54 00227BB4 2C 05 00 03 */ cmpwi r5, 3 /* 8022AC58 00227BB8 40 80 01 48 */ bge lbl_8022ADA0 /* 8022AC5C 00227BBC 48 00 01 40 */ b lbl_8022AD9C lbl_8022AC60: /* 8022AC60 00227BC0 38 00 00 00 */ li r0, 0 /* 8022AC64 00227BC4 90 03 05 68 */ stw r0, 0x568(r3) /* 8022AC68 00227BC8 48 00 01 38 */ b lbl_8022ADA0 lbl_8022AC6C: /* 8022AC6C 00227BCC 80 03 05 68 */ lwz r0, 0x568(r3) /* 8022AC70 00227BD0 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8022AC74 00227BD4 2C 00 00 01 */ cmpwi r0, 1 /* 8022AC78 00227BD8 C0 84 00 60 */ lfs f4, 0x60(r4) /* 8022AC7C 00227BDC C0 64 00 50 */ lfs f3, 0x50(r4) /* 8022AC80 00227BE0 C0 24 00 40 */ lfs f1, 0x40(r4) /* 8022AC84 00227BE4 41 82 01 1C */ beq lbl_8022ADA0 /* 8022AC88 00227BE8 40 80 00 10 */ bge lbl_8022AC98 /* 8022AC8C 00227BEC 2C 00 00 00 */ cmpwi r0, 0 /* 8022AC90 00227BF0 40 80 00 14 */ bge lbl_8022ACA4 /* 8022AC94 00227BF4 48 00 01 0C */ b lbl_8022ADA0 lbl_8022AC98: /* 8022AC98 00227BF8 2C 00 00 03 */ cmpwi r0, 3 /* 8022AC9C 00227BFC 40 80 01 04 */ bge lbl_8022ADA0 /* 8022ACA0 00227C00 48 00 00 B8 */ b lbl_8022AD58 lbl_8022ACA4: /* 8022ACA4 00227C04 80 E3 04 50 */ lwz r7, 0x450(r3) /* 8022ACA8 00227C08 80 07 02 B8 */ lwz r0, 0x2b8(r7) /* 8022ACAC 00227C0C 2C 00 00 12 */ cmpwi r0, 0x12 /* 8022ACB0 00227C10 40 82 00 10 */ bne lbl_8022ACC0 /* 8022ACB4 00227C14 38 00 00 02 */ li r0, 2 /* 8022ACB8 00227C18 90 03 05 68 */ stw r0, 0x568(r3) /* 8022ACBC 00227C1C 48 00 00 E4 */ b lbl_8022ADA0 lbl_8022ACC0: /* 8022ACC0 00227C20 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 8022ACC4 00227C24 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 8022ACC8 00227C28 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 8022ACCC 00227C2C 38 80 00 06 */ li r4, 6 /* 8022ACD0 00227C30 90 01 00 08 */ stw r0, 8(r1) /* 8022ACD4 00227C34 38 C3 A9 CC */ addi r6, r3, lbl_803DA9CC@l /* 8022ACD8 00227C38 38 A0 00 01 */ li r5, 1 /* 8022ACDC 00227C3C 38 00 00 00 */ li r0, 0 /* 8022ACE0 00227C40 3B E7 00 04 */ addi r31, r7, 4 /* 8022ACE4 00227C44 90 81 00 0C */ stw r4, 0xc(r1) /* 8022ACE8 00227C48 7F E3 FB 78 */ mr r3, r31 /* 8022ACEC 00227C4C 38 80 00 06 */ li r4, 6 /* 8022ACF0 00227C50 90 C1 00 08 */ stw r6, 8(r1) /* 8022ACF4 00227C54 90 A1 00 10 */ stw r5, 0x10(r1) /* 8022ACF8 00227C58 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8022ACFC 00227C5C D0 61 00 18 */ stfs f3, 0x18(r1) /* 8022AD00 00227C60 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 8022AD04 00227C64 98 01 00 20 */ stb r0, 0x20(r1) /* 8022AD08 00227C68 4B F0 67 31 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022AD0C 00227C6C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8022AD10 00227C70 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha /* 8022AD14 00227C74 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l /* 8022AD18 00227C78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022AD1C 00227C7C 90 1F 01 2C */ stw r0, 0x12c(r31) /* 8022AD20 00227C80 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022AD24 00227C84 80 61 00 10 */ lwz r3, 0x10(r1) /* 8022AD28 00227C88 80 A1 00 14 */ lwz r5, 0x14(r1) /* 8022AD2C 00227C8C 90 7F 01 30 */ stw r3, 0x130(r31) /* 8022AD30 00227C90 80 61 00 18 */ lwz r3, 0x18(r1) /* 8022AD34 00227C94 90 BF 01 34 */ stw r5, 0x134(r31) /* 8022AD38 00227C98 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8022AD3C 00227C9C 90 7F 01 38 */ stw r3, 0x138(r31) /* 8022AD40 00227CA0 88 61 00 20 */ lbz r3, 0x20(r1) /* 8022AD44 00227CA4 90 BF 01 3C */ stw r5, 0x13c(r31) /* 8022AD48 00227CA8 90 81 00 08 */ stw r4, 8(r1) /* 8022AD4C 00227CAC 98 7F 01 40 */ stb r3, 0x140(r31) /* 8022AD50 00227CB0 90 01 00 08 */ stw r0, 8(r1) /* 8022AD54 00227CB4 48 00 00 4C */ b lbl_8022ADA0 lbl_8022AD58: /* 8022AD58 00227CB8 80 83 04 50 */ lwz r4, 0x450(r3) /* 8022AD5C 00227CBC 80 04 02 B8 */ lwz r0, 0x2b8(r4) /* 8022AD60 00227CC0 2C 00 00 12 */ cmpwi r0, 0x12 /* 8022AD64 00227CC4 41 82 00 10 */ beq lbl_8022AD74 /* 8022AD68 00227CC8 38 00 00 03 */ li r0, 3 /* 8022AD6C 00227CCC 90 03 05 68 */ stw r0, 0x568(r3) /* 8022AD70 00227CD0 48 00 00 30 */ b lbl_8022ADA0 lbl_8022AD74: /* 8022AD74 00227CD4 C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022AD78 00227CD8 C0 43 00 50 */ lfs f2, 0x50(r3) /* 8022AD7C 00227CDC EC 01 00 28 */ fsubs f0, f1, f0 /* 8022AD80 00227CE0 C0 23 00 60 */ lfs f1, 0x60(r3) /* 8022AD84 00227CE4 EC 43 10 28 */ fsubs f2, f3, f2 /* 8022AD88 00227CE8 EC 24 08 28 */ fsubs f1, f4, f1 /* 8022AD8C 00227CEC D0 04 00 1C */ stfs f0, 0x1c(r4) /* 8022AD90 00227CF0 D0 44 00 20 */ stfs f2, 0x20(r4) /* 8022AD94 00227CF4 D0 24 00 24 */ stfs f1, 0x24(r4) /* 8022AD98 00227CF8 48 00 00 08 */ b lbl_8022ADA0 lbl_8022AD9C: /* 8022AD9C 00227CFC 4B FF D8 29 */ bl sub_802285c4 lbl_8022ADA0: /* 8022ADA0 00227D00 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022ADA4 00227D04 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022ADA8 00227D08 7C 08 03 A6 */ mtlr r0 /* 8022ADAC 00227D0C 38 21 00 30 */ addi r1, r1, 0x30 /* 8022ADB0 00227D10 4E 80 00 20 */ blr .global Generate__12CElitePirateFR13CStateManager9EStateMsgf Generate__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022ADB4 00227D14 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8022ADB8 00227D18 7C 08 02 A6 */ mflr r0 /* 8022ADBC 00227D1C 2C 05 00 01 */ cmpwi r5, 1 /* 8022ADC0 00227D20 90 01 00 74 */ stw r0, 0x74(r1) /* 8022ADC4 00227D24 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8022ADC8 00227D28 7C 9F 23 78 */ mr r31, r4 /* 8022ADCC 00227D2C 93 C1 00 68 */ stw r30, 0x68(r1) /* 8022ADD0 00227D30 7C 7E 1B 78 */ mr r30, r3 /* 8022ADD4 00227D34 41 82 00 2C */ beq lbl_8022AE00 /* 8022ADD8 00227D38 40 80 00 10 */ bge lbl_8022ADE8 /* 8022ADDC 00227D3C 2C 05 00 00 */ cmpwi r5, 0 /* 8022ADE0 00227D40 40 80 00 14 */ bge lbl_8022ADF4 /* 8022ADE4 00227D44 48 00 02 34 */ b lbl_8022B018 lbl_8022ADE8: /* 8022ADE8 00227D48 2C 05 00 03 */ cmpwi r5, 3 /* 8022ADEC 00227D4C 40 80 02 2C */ bge lbl_8022B018 /* 8022ADF0 00227D50 48 00 02 00 */ b lbl_8022AFF0 lbl_8022ADF4: /* 8022ADF4 00227D54 38 00 00 01 */ li r0, 1 /* 8022ADF8 00227D58 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022ADFC 00227D5C 48 00 02 1C */ b lbl_8022B018 lbl_8022AE00: /* 8022AE00 00227D60 80 1E 05 68 */ lwz r0, 0x568(r30) /* 8022AE04 00227D64 2C 00 00 01 */ cmpwi r0, 1 /* 8022AE08 00227D68 41 82 00 20 */ beq lbl_8022AE28 /* 8022AE0C 00227D6C 40 80 00 10 */ bge lbl_8022AE1C /* 8022AE10 00227D70 2C 00 00 00 */ cmpwi r0, 0 /* 8022AE14 00227D74 40 80 00 DC */ bge lbl_8022AEF0 /* 8022AE18 00227D78 48 00 02 00 */ b lbl_8022B018 lbl_8022AE1C: /* 8022AE1C 00227D7C 2C 00 00 03 */ cmpwi r0, 3 /* 8022AE20 00227D80 40 80 01 F8 */ bge lbl_8022B018 /* 8022AE24 00227D84 48 00 01 B0 */ b lbl_8022AFD4 lbl_8022AE28: /* 8022AE28 00227D88 81 83 00 00 */ lwz r12, 0(r3) /* 8022AE2C 00227D8C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022AE30 00227D90 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8022AE34 00227D94 7D 89 03 A6 */ mtctr r12 /* 8022AE38 00227D98 4E 80 04 21 */ bctrl /* 8022AE3C 00227D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022AE40 00227DA0 41 82 00 A4 */ beq lbl_8022AEE4 /* 8022AE44 00227DA4 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8022AE48 00227DA8 38 61 00 14 */ addi r3, r1, 0x14 /* 8022AE4C 00227DAC C0 1E 00 50 */ lfs f0, 0x50(r30) /* 8022AE50 00227DB0 C0 24 00 50 */ lfs f1, 0x50(r4) /* 8022AE54 00227DB4 C0 64 00 60 */ lfs f3, 0x60(r4) /* 8022AE58 00227DB8 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8022AE5C 00227DBC EC 81 00 28 */ fsubs f4, f1, f0 /* 8022AE60 00227DC0 C0 24 00 40 */ lfs f1, 0x40(r4) /* 8022AE64 00227DC4 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022AE68 00227DC8 EC 43 10 28 */ fsubs f2, f3, f2 /* 8022AE6C 00227DCC EC 01 00 28 */ fsubs f0, f1, f0 /* 8022AE70 00227DD0 D0 81 00 18 */ stfs f4, 0x18(r1) /* 8022AE74 00227DD4 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 8022AE78 00227DD8 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022AE7C 00227DDC 48 0E 98 7D */ bl CanBeNormalized__9CVector3fCFv /* 8022AE80 00227DE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022AE84 00227DE4 41 82 01 94 */ beq lbl_8022B018 /* 8022AE88 00227DE8 38 61 00 08 */ addi r3, r1, 8 /* 8022AE8C 00227DEC 38 81 00 14 */ addi r4, r1, 0x14 /* 8022AE90 00227DF0 48 0E 99 C1 */ bl AsNormalized__9CVector3fCFv /* 8022AE94 00227DF4 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022AE98 00227DF8 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 8022AE9C 00227DFC C0 61 00 08 */ lfs f3, 8(r1) /* 8022AEA0 00227E00 38 81 00 40 */ addi r4, r1, 0x40 /* 8022AEA4 00227E04 C0 41 00 0C */ lfs f2, 0xc(r1) /* 8022AEA8 00227E08 C0 A3 00 04 */ lfs f5, 4(r3) /* 8022AEAC 00227E0C C0 83 00 08 */ lfs f4, 8(r3) /* 8022AEB0 00227E10 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8022AEB4 00227E14 C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022AEB8 00227E18 D0 C1 00 40 */ stfs f6, 0x40(r1) /* 8022AEBC 00227E1C D0 A1 00 44 */ stfs f5, 0x44(r1) /* 8022AEC0 00227E20 D0 81 00 48 */ stfs f4, 0x48(r1) /* 8022AEC4 00227E24 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 8022AEC8 00227E28 D0 41 00 50 */ stfs f2, 0x50(r1) /* 8022AECC 00227E2C D0 21 00 54 */ stfs f1, 0x54(r1) /* 8022AED0 00227E30 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8022AED4 00227E34 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022AED8 00227E38 38 63 00 04 */ addi r3, r3, 4 /* 8022AEDC 00227E3C 4B F0 68 3D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022AEE0 00227E40 48 00 01 38 */ b lbl_8022B018 lbl_8022AEE4: /* 8022AEE4 00227E44 38 00 00 00 */ li r0, 0 /* 8022AEE8 00227E48 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022AEEC 00227E4C 48 00 01 2C */ b lbl_8022B018 lbl_8022AEF0: /* 8022AEF0 00227E50 81 5E 04 50 */ lwz r10, 0x450(r30) /* 8022AEF4 00227E54 80 0A 02 B8 */ lwz r0, 0x2b8(r10) /* 8022AEF8 00227E58 2C 00 00 0C */ cmpwi r0, 0xc /* 8022AEFC 00227E5C 40 82 00 10 */ bne lbl_8022AF0C /* 8022AF00 00227E60 38 00 00 02 */ li r0, 2 /* 8022AF04 00227E64 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022AF08 00227E68 48 00 01 10 */ b lbl_8022B018 lbl_8022AF0C: /* 8022AF0C 00227E6C 3C A0 80 3E */ lis r5, lbl_803DAA68@ha /* 8022AF10 00227E70 38 C0 00 00 */ li r6, 0 /* 8022AF14 00227E74 39 25 AA 68 */ addi r9, r5, lbl_803DAA68@l /* 8022AF18 00227E78 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8022AF1C 00227E7C 50 C3 F8 00 */ rlwimi r3, r6, 0x1f, 0, 0 /* 8022AF20 00227E80 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022AF24 00227E84 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 8022AF28 00227E88 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha /* 8022AF2C 00227E8C 7C 60 1B 78 */ mr r0, r3 /* 8022AF30 00227E90 39 00 00 0E */ li r8, 0xe /* 8022AF34 00227E94 C0 24 00 04 */ lfs f1, 4(r4) /* 8022AF38 00227E98 38 A0 FF FF */ li r5, -1 /* 8022AF3C 00227E9C C0 04 00 08 */ lfs f0, 8(r4) /* 8022AF40 00227EA0 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l /* 8022AF44 00227EA4 91 21 00 20 */ stw r9, 0x20(r1) /* 8022AF48 00227EA8 50 C0 F0 42 */ rlwimi r0, r6, 0x1e, 1, 1 /* 8022AF4C 00227EAC 3B EA 00 04 */ addi r31, r10, 4 /* 8022AF50 00227EB0 38 80 00 0E */ li r4, 0xe /* 8022AF54 00227EB4 90 61 00 3C */ stw r3, 0x3c(r1) /* 8022AF58 00227EB8 7F E3 FB 78 */ mr r3, r31 /* 8022AF5C 00227EBC 91 01 00 24 */ stw r8, 0x24(r1) /* 8022AF60 00227EC0 90 E1 00 20 */ stw r7, 0x20(r1) /* 8022AF64 00227EC4 90 C1 00 28 */ stw r6, 0x28(r1) /* 8022AF68 00227EC8 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8022AF6C 00227ECC D0 21 00 30 */ stfs f1, 0x30(r1) /* 8022AF70 00227ED0 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8022AF74 00227ED4 90 A1 00 38 */ stw r5, 0x38(r1) /* 8022AF78 00227ED8 90 01 00 3C */ stw r0, 0x3c(r1) /* 8022AF7C 00227EDC 4B F0 64 BD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022AF80 00227EE0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022AF84 00227EE4 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha /* 8022AF88 00227EE8 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l /* 8022AF8C 00227EEC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022AF90 00227EF0 90 1F 01 90 */ stw r0, 0x190(r31) /* 8022AF94 00227EF4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022AF98 00227EF8 80 A1 00 28 */ lwz r5, 0x28(r1) /* 8022AF9C 00227EFC 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8022AFA0 00227F00 90 BF 01 94 */ stw r5, 0x194(r31) /* 8022AFA4 00227F04 80 A1 00 30 */ lwz r5, 0x30(r1) /* 8022AFA8 00227F08 90 7F 01 98 */ stw r3, 0x198(r31) /* 8022AFAC 00227F0C 80 61 00 34 */ lwz r3, 0x34(r1) /* 8022AFB0 00227F10 90 BF 01 9C */ stw r5, 0x19c(r31) /* 8022AFB4 00227F14 80 A1 00 38 */ lwz r5, 0x38(r1) /* 8022AFB8 00227F18 90 7F 01 A0 */ stw r3, 0x1a0(r31) /* 8022AFBC 00227F1C 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8022AFC0 00227F20 90 BF 01 A4 */ stw r5, 0x1a4(r31) /* 8022AFC4 00227F24 90 81 00 20 */ stw r4, 0x20(r1) /* 8022AFC8 00227F28 90 7F 01 A8 */ stw r3, 0x1a8(r31) /* 8022AFCC 00227F2C 90 01 00 20 */ stw r0, 0x20(r1) /* 8022AFD0 00227F30 48 00 00 48 */ b lbl_8022B018 lbl_8022AFD4: /* 8022AFD4 00227F34 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022AFD8 00227F38 80 03 02 B8 */ lwz r0, 0x2b8(r3) /* 8022AFDC 00227F3C 2C 00 00 0C */ cmpwi r0, 0xc /* 8022AFE0 00227F40 41 82 00 38 */ beq lbl_8022B018 /* 8022AFE4 00227F44 38 00 00 03 */ li r0, 3 /* 8022AFE8 00227F48 90 1E 05 68 */ stw r0, 0x568(r30) /* 8022AFEC 00227F4C 48 00 00 2C */ b lbl_8022B018 lbl_8022AFF0: /* 8022AFF0 00227F50 7F E5 FB 78 */ mr r5, r31 /* 8022AFF4 00227F54 38 80 00 00 */ li r4, 0 /* 8022AFF8 00227F58 4B FF C5 A5 */ bl sub_8022759c /* 8022AFFC 00227F5C 7F C3 F3 78 */ mr r3, r30 /* 8022B000 00227F60 7F E4 FB 78 */ mr r4, r31 /* 8022B004 00227F64 81 9E 00 00 */ lwz r12, 0(r30) /* 8022B008 00227F68 38 A0 00 01 */ li r5, 1 /* 8022B00C 00227F6C 81 8C 02 D8 */ lwz r12, 0x2d8(r12) /* 8022B010 00227F70 7D 89 03 A6 */ mtctr r12 /* 8022B014 00227F74 4E 80 04 21 */ bctrl lbl_8022B018: /* 8022B018 00227F78 80 01 00 74 */ lwz r0, 0x74(r1) /* 8022B01C 00227F7C 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8022B020 00227F80 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8022B024 00227F84 7C 08 03 A6 */ mtlr r0 /* 8022B028 00227F88 38 21 00 70 */ addi r1, r1, 0x70 /* 8022B02C 00227F8C 4E 80 00 20 */ blr .global Patrol__12CElitePirateFR13CStateManager9EStateMsgf Patrol__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022B030 00227F90 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022B034 00227F94 7C 08 02 A6 */ mflr r0 /* 8022B038 00227F98 90 01 00 24 */ stw r0, 0x24(r1) /* 8022B03C 00227F9C DB E1 00 18 */ stfd f31, 0x18(r1) /* 8022B040 00227FA0 FF E0 08 90 */ fmr f31, f1 /* 8022B044 00227FA4 93 E1 00 14 */ stw r31, 0x14(r1) /* 8022B048 00227FA8 7C BF 2B 79 */ or. r31, r5, r5 /* 8022B04C 00227FAC 93 C1 00 10 */ stw r30, 0x10(r1) /* 8022B050 00227FB0 7C 9E 23 78 */ mr r30, r4 /* 8022B054 00227FB4 93 A1 00 0C */ stw r29, 0xc(r1) /* 8022B058 00227FB8 7C 7D 1B 78 */ mr r29, r3 /* 8022B05C 00227FBC 41 82 00 08 */ beq lbl_8022B064 /* 8022B060 00227FC0 48 00 00 2C */ b lbl_8022B08C lbl_8022B064: /* 8022B064 00227FC4 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022B068 00227FC8 38 80 00 01 */ li r4, 1 /* 8022B06C 00227FCC 4B F0 F9 6D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022B070 00227FD0 88 1D 04 00 */ lbz r0, 0x400(r29) /* 8022B074 00227FD4 38 60 00 00 */ li r3, 0 /* 8022B078 00227FD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022B07C 00227FDC 98 1D 04 00 */ stb r0, 0x400(r29) /* 8022B080 00227FE0 88 1D 09 89 */ lbz r0, 0x989(r29) /* 8022B084 00227FE4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022B088 00227FE8 98 1D 09 89 */ stb r0, 0x989(r29) lbl_8022B08C: /* 8022B08C 00227FEC FC 20 F8 90 */ fmr f1, f31 /* 8022B090 00227FF0 7F A3 EB 78 */ mr r3, r29 /* 8022B094 00227FF4 7F C4 F3 78 */ mr r4, r30 /* 8022B098 00227FF8 7F E5 FB 78 */ mr r5, r31 /* 8022B09C 00227FFC 4B FC BD D9 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 8022B0A0 00228000 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022B0A4 00228004 CB E1 00 18 */ lfd f31, 0x18(r1) /* 8022B0A8 00228008 83 E1 00 14 */ lwz r31, 0x14(r1) /* 8022B0AC 0022800C 83 C1 00 10 */ lwz r30, 0x10(r1) /* 8022B0B0 00228010 83 A1 00 0C */ lwz r29, 0xc(r1) /* 8022B0B4 00228014 7C 08 03 A6 */ mtlr r0 /* 8022B0B8 00228018 38 21 00 20 */ addi r1, r1, 0x20 /* 8022B0BC 0022801C 4E 80 00 20 */ blr .global TargetPatrol__12CElitePirateFR13CStateManager9EStateMsgf TargetPatrol__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022B0C0 00228020 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8022B0C4 00228024 7C 08 02 A6 */ mflr r0 /* 8022B0C8 00228028 90 01 00 54 */ stw r0, 0x54(r1) /* 8022B0CC 0022802C DB E1 00 40 */ stfd f31, 0x40(r1) /* 8022B0D0 00228030 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 8022B0D4 00228034 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8022B0D8 00228038 93 C1 00 38 */ stw r30, 0x38(r1) /* 8022B0DC 0022803C 93 A1 00 34 */ stw r29, 0x34(r1) /* 8022B0E0 00228040 7C BF 2B 78 */ mr r31, r5 /* 8022B0E4 00228044 FF E0 08 90 */ fmr f31, f1 /* 8022B0E8 00228048 2C 1F 00 01 */ cmpwi r31, 1 /* 8022B0EC 0022804C 7C 7D 1B 78 */ mr r29, r3 /* 8022B0F0 00228050 7C 9E 23 78 */ mr r30, r4 /* 8022B0F4 00228054 41 82 00 CC */ beq lbl_8022B1C0 /* 8022B0F8 00228058 40 80 00 10 */ bge lbl_8022B108 /* 8022B0FC 0022805C 2C 1F 00 00 */ cmpwi r31, 0 /* 8022B100 00228060 40 80 00 14 */ bge lbl_8022B114 /* 8022B104 00228064 48 00 01 68 */ b lbl_8022B26C lbl_8022B108: /* 8022B108 00228068 2C 1F 00 03 */ cmpwi r31, 3 /* 8022B10C 0022806C 40 80 01 60 */ bge lbl_8022B26C /* 8022B110 00228070 48 00 01 4C */ b lbl_8022B25C lbl_8022B114: /* 8022B114 00228074 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022B118 00228078 38 80 00 01 */ li r4, 1 /* 8022B11C 0022807C 4B F0 F8 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022B120 00228080 7F A3 EB 78 */ mr r3, r29 /* 8022B124 00228084 7F C4 F3 78 */ mr r4, r30 /* 8022B128 00228088 81 9D 00 00 */ lwz r12, 0(r29) /* 8022B12C 0022808C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B130 00228090 81 8C 01 C0 */ lwz r12, 0x1c0(r12) /* 8022B134 00228094 7D 89 03 A6 */ mtctr r12 /* 8022B138 00228098 4E 80 04 21 */ bctrl /* 8022B13C 0022809C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B140 002280A0 41 82 00 28 */ beq lbl_8022B168 /* 8022B144 002280A4 FC 20 F8 90 */ fmr f1, f31 /* 8022B148 002280A8 7F A3 EB 78 */ mr r3, r29 /* 8022B14C 002280AC 7F C4 F3 78 */ mr r4, r30 /* 8022B150 002280B0 7F E5 FB 78 */ mr r5, r31 /* 8022B154 002280B4 4B FC BD 21 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 8022B158 002280B8 7F A3 EB 78 */ mr r3, r29 /* 8022B15C 002280BC 7F C4 F3 78 */ mr r4, r30 /* 8022B160 002280C0 4B FC A1 31 */ bl UpdateDest__10CPatternedFR13CStateManager /* 8022B164 002280C4 48 00 00 10 */ b lbl_8022B174 lbl_8022B168: /* 8022B168 002280C8 7F A3 EB 78 */ mr r3, r29 /* 8022B16C 002280CC 38 9D 03 A0 */ addi r4, r29, 0x3a0 /* 8022B170 002280D0 4B E5 19 ED */ bl SetDestPos__10CPatternedFRC9CVector3f lbl_8022B174: /* 8022B174 002280D4 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) /* 8022B178 002280D8 7F A3 EB 78 */ mr r3, r29 /* 8022B17C 002280DC D0 1D 08 B4 */ stfs f0, 0x8b4(r29) /* 8022B180 002280E0 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) /* 8022B184 002280E4 D0 1D 08 B8 */ stfs f0, 0x8b8(r29) /* 8022B188 002280E8 C0 1D 02 E8 */ lfs f0, 0x2e8(r29) /* 8022B18C 002280EC D0 1D 08 BC */ stfs f0, 0x8bc(r29) /* 8022B190 002280F0 81 9D 00 00 */ lwz r12, 0(r29) /* 8022B194 002280F4 81 8C 02 AC */ lwz r12, 0x2ac(r12) /* 8022B198 002280F8 7D 89 03 A6 */ mtctr r12 /* 8022B19C 002280FC 4E 80 04 21 */ bctrl /* 8022B1A0 00228100 28 03 00 00 */ cmplwi r3, 0 /* 8022B1A4 00228104 41 82 00 C8 */ beq lbl_8022B26C /* 8022B1A8 00228108 FC 20 F8 90 */ fmr f1, f31 /* 8022B1AC 0022810C 7F A3 EB 78 */ mr r3, r29 /* 8022B1B0 00228110 7F C4 F3 78 */ mr r4, r30 /* 8022B1B4 00228114 7F E5 FB 78 */ mr r5, r31 /* 8022B1B8 00228118 4B FC B5 15 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022B1BC 0022811C 48 00 00 B0 */ b lbl_8022B26C lbl_8022B1C0: /* 8022B1C0 00228120 81 83 00 00 */ lwz r12, 0(r3) /* 8022B1C4 00228124 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B1C8 00228128 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022B1CC 0022812C 7D 89 03 A6 */ mtctr r12 /* 8022B1D0 00228130 4E 80 04 21 */ bctrl /* 8022B1D4 00228134 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B1D8 00228138 40 82 00 1C */ bne lbl_8022B1F4 /* 8022B1DC 0022813C FC 20 F8 90 */ fmr f1, f31 /* 8022B1E0 00228140 7F A3 EB 78 */ mr r3, r29 /* 8022B1E4 00228144 7F C4 F3 78 */ mr r4, r30 /* 8022B1E8 00228148 7F E5 FB 78 */ mr r5, r31 /* 8022B1EC 0022814C 4B FC B4 E1 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022B1F0 00228150 48 00 00 7C */ b lbl_8022B26C lbl_8022B1F4: /* 8022B1F4 00228154 C0 22 B6 00 */ lfs f1, lbl_805AD320@sda21(r2) /* 8022B1F8 00228158 7F A5 EB 78 */ mr r5, r29 /* 8022B1FC 0022815C 38 61 00 08 */ addi r3, r1, 8 /* 8022B200 00228160 38 9D 04 5C */ addi r4, r29, 0x45c /* 8022B204 00228164 38 DD 08 B4 */ addi r6, r29, 0x8b4 /* 8022B208 00228168 4B F1 39 15 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff /* 8022B20C 0022816C 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022B210 00228170 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 8022B214 00228174 C0 C1 00 08 */ lfs f6, 8(r1) /* 8022B218 00228178 38 81 00 14 */ addi r4, r1, 0x14 /* 8022B21C 0022817C C0 A1 00 0C */ lfs f5, 0xc(r1) /* 8022B220 00228180 C0 81 00 10 */ lfs f4, 0x10(r1) /* 8022B224 00228184 C0 43 00 04 */ lfs f2, 4(r3) /* 8022B228 00228188 C0 23 00 08 */ lfs f1, 8(r3) /* 8022B22C 0022818C C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022B230 00228190 D0 C1 00 14 */ stfs f6, 0x14(r1) /* 8022B234 00228194 D0 A1 00 18 */ stfs f5, 0x18(r1) /* 8022B238 00228198 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 8022B23C 0022819C D0 61 00 20 */ stfs f3, 0x20(r1) /* 8022B240 002281A0 D0 41 00 24 */ stfs f2, 0x24(r1) /* 8022B244 002281A4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8022B248 002281A8 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8022B24C 002281AC 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022B250 002281B0 38 63 00 04 */ addi r3, r3, 4 /* 8022B254 002281B4 4B F0 64 C5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022B258 002281B8 48 00 00 14 */ b lbl_8022B26C lbl_8022B25C: /* 8022B25C 002281BC 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022B260 002281C0 38 60 00 00 */ li r3, 0 /* 8022B264 002281C4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8022B268 002281C8 98 1D 09 88 */ stb r0, 0x988(r29) lbl_8022B26C: /* 8022B26C 002281CC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8022B270 002281D0 80 01 00 54 */ lwz r0, 0x54(r1) /* 8022B274 002281D4 CB E1 00 40 */ lfd f31, 0x40(r1) /* 8022B278 002281D8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8022B27C 002281DC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8022B280 002281E0 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8022B284 002281E4 7C 08 03 A6 */ mtlr r0 /* 8022B288 002281E8 38 21 00 50 */ addi r1, r1, 0x50 /* 8022B28C 002281EC 4E 80 00 20 */ blr .global Taunt__12CElitePirateFR13CStateManager9EStateMsgf Taunt__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022B290 002281F0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022B294 002281F4 7C 08 02 A6 */ mflr r0 /* 8022B298 002281F8 2C 05 00 01 */ cmpwi r5, 1 /* 8022B29C 002281FC 90 01 00 24 */ stw r0, 0x24(r1) /* 8022B2A0 00228200 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8022B2A4 00228204 41 82 00 20 */ beq lbl_8022B2C4 /* 8022B2A8 00228208 40 80 01 14 */ bge lbl_8022B3BC /* 8022B2AC 0022820C 2C 05 00 00 */ cmpwi r5, 0 /* 8022B2B0 00228210 40 80 00 08 */ bge lbl_8022B2B8 /* 8022B2B4 00228214 48 00 01 08 */ b lbl_8022B3BC lbl_8022B2B8: /* 8022B2B8 00228218 38 00 00 00 */ li r0, 0 /* 8022B2BC 0022821C 90 03 05 68 */ stw r0, 0x568(r3) /* 8022B2C0 00228220 48 00 00 FC */ b lbl_8022B3BC lbl_8022B2C4: /* 8022B2C4 00228224 80 03 05 68 */ lwz r0, 0x568(r3) /* 8022B2C8 00228228 2C 00 00 01 */ cmpwi r0, 1 /* 8022B2CC 0022822C 41 82 00 F0 */ beq lbl_8022B3BC /* 8022B2D0 00228230 40 80 00 10 */ bge lbl_8022B2E0 /* 8022B2D4 00228234 2C 00 00 00 */ cmpwi r0, 0 /* 8022B2D8 00228238 40 80 00 14 */ bge lbl_8022B2EC /* 8022B2DC 0022823C 48 00 00 E0 */ b lbl_8022B3BC lbl_8022B2E0: /* 8022B2E0 00228240 2C 00 00 03 */ cmpwi r0, 3 /* 8022B2E4 00228244 40 80 00 D8 */ bge lbl_8022B3BC /* 8022B2E8 00228248 48 00 00 84 */ b lbl_8022B36C lbl_8022B2EC: /* 8022B2EC 0022824C 80 C3 04 50 */ lwz r6, 0x450(r3) /* 8022B2F0 00228250 80 06 02 B8 */ lwz r0, 0x2b8(r6) /* 8022B2F4 00228254 2C 00 00 10 */ cmpwi r0, 0x10 /* 8022B2F8 00228258 40 82 00 10 */ bne lbl_8022B308 /* 8022B2FC 0022825C 38 00 00 02 */ li r0, 2 /* 8022B300 00228260 90 03 05 68 */ stw r0, 0x568(r3) /* 8022B304 00228264 48 00 00 B8 */ b lbl_8022B3BC lbl_8022B308: /* 8022B308 00228268 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 8022B30C 0022826C 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 8022B310 00228270 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 8022B314 00228274 38 80 00 12 */ li r4, 0x12 /* 8022B318 00228278 90 01 00 08 */ stw r0, 8(r1) /* 8022B31C 0022827C 38 A3 AA 14 */ addi r5, r3, lbl_803DAA14@l /* 8022B320 00228280 38 00 00 00 */ li r0, 0 /* 8022B324 00228284 3B E6 00 04 */ addi r31, r6, 4 /* 8022B328 00228288 90 81 00 0C */ stw r4, 0xc(r1) /* 8022B32C 0022828C 7F E3 FB 78 */ mr r3, r31 /* 8022B330 00228290 38 80 00 12 */ li r4, 0x12 /* 8022B334 00228294 90 A1 00 08 */ stw r5, 8(r1) /* 8022B338 00228298 90 01 00 10 */ stw r0, 0x10(r1) /* 8022B33C 0022829C 4B F0 60 FD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022B340 002282A0 80 01 00 0C */ lwz r0, 0xc(r1) /* 8022B344 002282A4 3C 60 80 3E */ lis r3, lbl_803DAA14@ha /* 8022B348 002282A8 38 83 AA 14 */ addi r4, r3, lbl_803DAA14@l /* 8022B34C 002282AC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022B350 002282B0 90 1F 02 14 */ stw r0, 0x214(r31) /* 8022B354 002282B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022B358 002282B8 80 61 00 10 */ lwz r3, 0x10(r1) /* 8022B35C 002282BC 90 81 00 08 */ stw r4, 8(r1) /* 8022B360 002282C0 90 7F 02 18 */ stw r3, 0x218(r31) /* 8022B364 002282C4 90 01 00 08 */ stw r0, 8(r1) /* 8022B368 002282C8 48 00 00 54 */ b lbl_8022B3BC lbl_8022B36C: /* 8022B36C 002282CC 80 A3 04 50 */ lwz r5, 0x450(r3) /* 8022B370 002282D0 80 05 02 B8 */ lwz r0, 0x2b8(r5) /* 8022B374 002282D4 2C 00 00 10 */ cmpwi r0, 0x10 /* 8022B378 002282D8 41 82 00 10 */ beq lbl_8022B388 /* 8022B37C 002282DC 38 00 00 03 */ li r0, 3 /* 8022B380 002282E0 90 03 05 68 */ stw r0, 0x568(r3) /* 8022B384 002282E4 48 00 00 38 */ b lbl_8022B3BC lbl_8022B388: /* 8022B388 002282E8 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8022B38C 002282EC C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022B390 002282F0 C0 24 00 40 */ lfs f1, 0x40(r4) /* 8022B394 002282F4 C0 84 00 50 */ lfs f4, 0x50(r4) /* 8022B398 002282F8 C0 63 00 50 */ lfs f3, 0x50(r3) /* 8022B39C 002282FC EC 01 00 28 */ fsubs f0, f1, f0 /* 8022B3A0 00228300 C0 44 00 60 */ lfs f2, 0x60(r4) /* 8022B3A4 00228304 C0 23 00 60 */ lfs f1, 0x60(r3) /* 8022B3A8 00228308 EC 64 18 28 */ fsubs f3, f4, f3 /* 8022B3AC 0022830C D0 05 00 1C */ stfs f0, 0x1c(r5) /* 8022B3B0 00228310 EC 02 08 28 */ fsubs f0, f2, f1 /* 8022B3B4 00228314 D0 65 00 20 */ stfs f3, 0x20(r5) /* 8022B3B8 00228318 D0 05 00 24 */ stfs f0, 0x24(r5) lbl_8022B3BC: /* 8022B3BC 0022831C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022B3C0 00228320 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022B3C4 00228324 7C 08 03 A6 */ mtlr r0 /* 8022B3C8 00228328 38 21 00 20 */ addi r1, r1, 0x20 /* 8022B3CC 0022832C 4E 80 00 20 */ blr .global PathFind__12CElitePirateFR13CStateManager9EStateMsgf PathFind__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022B3D0 00228330 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8022B3D4 00228334 7C 08 02 A6 */ mflr r0 /* 8022B3D8 00228338 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8022B3DC 0022833C DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 8022B3E0 00228340 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 8022B3E4 00228344 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 8022B3E8 00228348 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 8022B3EC 0022834C 93 E1 00 BC */ stw r31, 0xbc(r1) /* 8022B3F0 00228350 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 8022B3F4 00228354 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 8022B3F8 00228358 7C BE 2B 78 */ mr r30, r5 /* 8022B3FC 0022835C FF C0 08 90 */ fmr f30, f1 /* 8022B400 00228360 2C 1E 00 01 */ cmpwi r30, 1 /* 8022B404 00228364 7C 7F 1B 78 */ mr r31, r3 /* 8022B408 00228368 7C 9D 23 78 */ mr r29, r4 /* 8022B40C 0022836C 41 82 00 E0 */ beq lbl_8022B4EC /* 8022B410 00228370 40 80 00 10 */ bge lbl_8022B420 /* 8022B414 00228374 2C 1E 00 00 */ cmpwi r30, 0 /* 8022B418 00228378 40 80 00 14 */ bge lbl_8022B42C /* 8022B41C 0022837C 48 00 03 58 */ b lbl_8022B774 lbl_8022B420: /* 8022B420 00228380 2C 1E 00 03 */ cmpwi r30, 3 /* 8022B424 00228384 40 80 03 50 */ bge lbl_8022B774 /* 8022B428 00228388 48 00 03 40 */ b lbl_8022B768 lbl_8022B42C: /* 8022B42C 0022838C 88 1F 09 89 */ lbz r0, 0x989(r31) /* 8022B430 00228390 38 60 00 01 */ li r3, 1 /* 8022B434 00228394 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022B438 00228398 38 60 00 00 */ li r3, 0 /* 8022B43C 0022839C 98 1F 09 89 */ stb r0, 0x989(r31) /* 8022B440 002283A0 38 80 00 01 */ li r4, 1 /* 8022B444 002283A4 88 1F 09 88 */ lbz r0, 0x988(r31) /* 8022B448 002283A8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8022B44C 002283AC 98 1F 09 88 */ stb r0, 0x988(r31) /* 8022B450 002283B0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8022B454 002283B4 4B F0 F5 85 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022B458 002283B8 80 BD 08 4C */ lwz r5, 0x84c(r29) /* 8022B45C 002283BC 38 7F 06 F8 */ addi r3, r31, 0x6f8 /* 8022B460 002283C0 38 81 00 0C */ addi r4, r1, 0xc /* 8022B464 002283C4 A0 05 00 08 */ lhz r0, 8(r5) /* 8022B468 002283C8 B0 01 00 08 */ sth r0, 8(r1) /* 8022B46C 002283CC B0 01 00 0C */ sth r0, 0xc(r1) /* 8022B470 002283D0 4B F4 9D A9 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 8022B474 002283D4 38 7F 06 F8 */ addi r3, r31, 0x6f8 /* 8022B478 002283D8 38 80 00 01 */ li r4, 1 /* 8022B47C 002283DC 4B F4 9D A9 */ bl SetActive__13CBoneTrackingFb /* 8022B480 002283E0 7F E3 FB 78 */ mr r3, r31 /* 8022B484 002283E4 7F A4 EB 78 */ mr r4, r29 /* 8022B488 002283E8 4B FF D1 AD */ bl sub_80228634 /* 8022B48C 002283EC FC 20 F0 90 */ fmr f1, f30 /* 8022B490 002283F0 7F E3 FB 78 */ mr r3, r31 /* 8022B494 002283F4 7F A4 EB 78 */ mr r4, r29 /* 8022B498 002283F8 7F C5 F3 78 */ mr r5, r30 /* 8022B49C 002283FC 4B FC B2 31 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022B4A0 00228400 C3 FF 05 DC */ lfs f31, 0x5dc(r31) /* 8022B4A4 00228404 C3 DF 05 D8 */ lfs f30, 0x5d8(r31) /* 8022B4A8 00228408 80 7D 09 00 */ lwz r3, 0x900(r29) /* 8022B4AC 0022840C 48 0E 70 31 */ bl Float__9CRandom16Fv /* 8022B4B0 00228410 EC 01 F7 FA */ fmadds f0, f1, f31, f30 /* 8022B4B4 00228414 7F E3 FB 78 */ mr r3, r31 /* 8022B4B8 00228418 7F A4 EB 78 */ mr r4, r29 /* 8022B4BC 0022841C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B4C0 00228420 D0 1F 07 BC */ stfs f0, 0x7bc(r31) /* 8022B4C4 00228424 81 9F 00 00 */ lwz r12, 0(r31) /* 8022B4C8 00228428 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 8022B4CC 0022842C 7D 89 03 A6 */ mtctr r12 /* 8022B4D0 00228430 4E 80 04 21 */ bctrl /* 8022B4D4 00228434 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B4D8 00228438 41 82 02 9C */ beq lbl_8022B774 /* 8022B4DC 0022843C 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8022B4E0 00228440 38 63 00 04 */ addi r3, r3, 4 /* 8022B4E4 00228444 4B F0 5F C5 */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv /* 8022B4E8 00228448 48 00 02 8C */ b lbl_8022B774 lbl_8022B4EC: /* 8022B4EC 0022844C C0 3F 07 BC */ lfs f1, 0x7bc(r31) /* 8022B4F0 00228450 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022B4F4 00228454 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022B4F8 00228458 40 81 00 0C */ ble lbl_8022B504 /* 8022B4FC 0022845C EC 01 F0 28 */ fsubs f0, f1, f30 /* 8022B500 00228460 D0 1F 07 BC */ stfs f0, 0x7bc(r31) lbl_8022B504: /* 8022B504 00228464 7F E3 FB 78 */ mr r3, r31 /* 8022B508 00228468 7F A4 EB 78 */ mr r4, r29 /* 8022B50C 0022846C 81 9F 00 00 */ lwz r12, 0(r31) /* 8022B510 00228470 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B514 00228474 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 8022B518 00228478 7D 89 03 A6 */ mtctr r12 /* 8022B51C 0022847C 4E 80 04 21 */ bctrl /* 8022B520 00228480 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B524 00228484 40 82 00 40 */ bne lbl_8022B564 /* 8022B528 00228488 7F E3 FB 78 */ mr r3, r31 /* 8022B52C 0022848C 7F A4 EB 78 */ mr r4, r29 /* 8022B530 00228490 81 9F 00 00 */ lwz r12, 0(r31) /* 8022B534 00228494 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B538 00228498 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022B53C 0022849C 7D 89 03 A6 */ mtctr r12 /* 8022B540 002284A0 4E 80 04 21 */ bctrl /* 8022B544 002284A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B548 002284A8 40 82 00 1C */ bne lbl_8022B564 /* 8022B54C 002284AC FC 20 F0 90 */ fmr f1, f30 /* 8022B550 002284B0 7F E3 FB 78 */ mr r3, r31 /* 8022B554 002284B4 7F A4 EB 78 */ mr r4, r29 /* 8022B558 002284B8 7F C5 F3 78 */ mr r5, r30 /* 8022B55C 002284BC 4B FC B1 71 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022B560 002284C0 48 00 02 14 */ b lbl_8022B774 lbl_8022B564: /* 8022B564 002284C4 7F E3 FB 78 */ mr r3, r31 /* 8022B568 002284C8 7F A4 EB 78 */ mr r4, r29 /* 8022B56C 002284CC 81 9F 00 00 */ lwz r12, 0(r31) /* 8022B570 002284D0 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B574 002284D4 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022B578 002284D8 7D 89 03 A6 */ mtctr r12 /* 8022B57C 002284DC 4E 80 04 21 */ bctrl /* 8022B580 002284E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B584 002284E4 41 82 00 F4 */ beq lbl_8022B678 /* 8022B588 002284E8 C0 5F 00 38 */ lfs f2, 0x38(r31) /* 8022B58C 002284EC 38 61 00 58 */ addi r3, r1, 0x58 /* 8022B590 002284F0 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8022B594 002284F4 38 9F 08 C0 */ addi r4, r31, 0x8c0 /* 8022B598 002284F8 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 8022B59C 002284FC 38 A1 00 4C */ addi r5, r1, 0x4c /* 8022B5A0 00228500 D0 41 00 28 */ stfs f2, 0x28(r1) /* 8022B5A4 00228504 38 C1 00 34 */ addi r6, r1, 0x34 /* 8022B5A8 00228508 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 8022B5AC 0022850C 81 01 00 28 */ lwz r8, 0x28(r1) /* 8022B5B0 00228510 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8022B5B4 00228514 80 E1 00 2C */ lwz r7, 0x2c(r1) /* 8022B5B8 00228518 80 01 00 30 */ lwz r0, 0x30(r1) /* 8022B5BC 0022851C 91 01 00 34 */ stw r8, 0x34(r1) /* 8022B5C0 00228520 90 E1 00 38 */ stw r7, 0x38(r1) /* 8022B5C4 00228524 90 01 00 3C */ stw r0, 0x3c(r1) /* 8022B5C8 00228528 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 8022B5CC 0022852C C0 3F 00 50 */ lfs f1, 0x50(r31) /* 8022B5D0 00228530 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 8022B5D4 00228534 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8022B5D8 00228538 D0 21 00 44 */ stfs f1, 0x44(r1) /* 8022B5DC 0022853C 81 01 00 40 */ lwz r8, 0x40(r1) /* 8022B5E0 00228540 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8022B5E4 00228544 80 E1 00 44 */ lwz r7, 0x44(r1) /* 8022B5E8 00228548 80 01 00 48 */ lwz r0, 0x48(r1) /* 8022B5EC 0022854C 91 01 00 4C */ stw r8, 0x4c(r1) /* 8022B5F0 00228550 90 E1 00 50 */ stw r7, 0x50(r1) /* 8022B5F4 00228554 90 01 00 54 */ stw r0, 0x54(r1) /* 8022B5F8 00228558 48 07 51 F9 */ bl sub_802a07f0 /* 8022B5FC 0022855C C0 21 00 58 */ lfs f1, 0x58(r1) /* 8022B600 00228560 38 00 00 00 */ li r0, 0 /* 8022B604 00228564 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022B608 00228568 C0 81 00 5C */ lfs f4, 0x5c(r1) /* 8022B60C 0022856C FC 00 08 00 */ fcmpu cr0, f0, f1 /* 8022B610 00228570 C0 A1 00 60 */ lfs f5, 0x60(r1) /* 8022B614 00228574 40 82 00 14 */ bne lbl_8022B628 /* 8022B618 00228578 FC 00 20 00 */ fcmpu cr0, f0, f4 /* 8022B61C 0022857C 40 82 00 0C */ bne lbl_8022B628 /* 8022B620 00228580 FC 00 28 00 */ fcmpu cr0, f0, f5 /* 8022B624 00228584 41 82 00 08 */ beq lbl_8022B62C lbl_8022B628: /* 8022B628 00228588 38 00 00 01 */ li r0, 1 lbl_8022B62C: /* 8022B62C 0022858C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8022B630 00228590 41 82 01 44 */ beq lbl_8022B774 /* 8022B634 00228594 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022B638 00228598 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 8022B63C 0022859C C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022B640 002285A0 38 81 00 8C */ addi r4, r1, 0x8c /* 8022B644 002285A4 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 8022B648 002285A8 C0 43 00 04 */ lfs f2, 4(r3) /* 8022B64C 002285AC C0 23 00 08 */ lfs f1, 8(r3) /* 8022B650 002285B0 D0 81 00 90 */ stfs f4, 0x90(r1) /* 8022B654 002285B4 D0 A1 00 94 */ stfs f5, 0x94(r1) /* 8022B658 002285B8 D0 61 00 98 */ stfs f3, 0x98(r1) /* 8022B65C 002285BC D0 41 00 9C */ stfs f2, 0x9c(r1) /* 8022B660 002285C0 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 8022B664 002285C4 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 8022B668 002285C8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8022B66C 002285CC 38 63 00 04 */ addi r3, r3, 4 /* 8022B670 002285D0 4B F0 60 A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022B674 002285D4 48 00 01 00 */ b lbl_8022B774 lbl_8022B678: /* 8022B678 002285D8 7F E3 FB 78 */ mr r3, r31 /* 8022B67C 002285DC 7F A4 EB 78 */ mr r4, r29 /* 8022B680 002285E0 81 9F 00 00 */ lwz r12, 0(r31) /* 8022B684 002285E4 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022B688 002285E8 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8022B68C 002285EC 7D 89 03 A6 */ mtctr r12 /* 8022B690 002285F0 4E 80 04 21 */ bctrl /* 8022B694 002285F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B698 002285F8 41 82 00 DC */ beq lbl_8022B774 /* 8022B69C 002285FC 80 DF 00 64 */ lwz r6, 0x64(r31) /* 8022B6A0 00228600 7F A5 EB 78 */ mr r5, r29 /* 8022B6A4 00228604 80 9D 08 4C */ lwz r4, 0x84c(r29) /* 8022B6A8 00228608 38 61 00 1C */ addi r3, r1, 0x1c /* 8022B6AC 0022860C 80 C6 00 10 */ lwz r6, 0x10(r6) /* 8022B6B0 00228610 81 84 00 00 */ lwz r12, 0(r4) /* 8022B6B4 00228614 C0 22 B5 BC */ lfs f1, lbl_805AD2DC@sda21(r2) /* 8022B6B8 00228618 C0 06 02 00 */ lfs f0, 0x200(r6) /* 8022B6BC 0022861C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022B6C0 00228620 EC 21 00 32 */ fmuls f1, f1, f0 /* 8022B6C4 00228624 7D 89 03 A6 */ mtctr r12 /* 8022B6C8 00228628 4E 80 04 21 */ bctrl /* 8022B6CC 0022862C C0 21 00 20 */ lfs f1, 0x20(r1) /* 8022B6D0 00228630 38 61 00 64 */ addi r3, r1, 0x64 /* 8022B6D4 00228634 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 8022B6D8 00228638 C0 61 00 24 */ lfs f3, 0x24(r1) /* 8022B6DC 0022863C C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8022B6E0 00228640 EC 81 00 28 */ fsubs f4, f1, f0 /* 8022B6E4 00228644 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8022B6E8 00228648 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 8022B6EC 0022864C EC 43 10 28 */ fsubs f2, f3, f2 /* 8022B6F0 00228650 D0 81 00 68 */ stfs f4, 0x68(r1) /* 8022B6F4 00228654 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022B6F8 00228658 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8022B6FC 0022865C D0 01 00 64 */ stfs f0, 0x64(r1) /* 8022B700 00228660 48 0E 8F F9 */ bl CanBeNormalized__9CVector3fCFv /* 8022B704 00228664 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022B708 00228668 41 82 00 6C */ beq lbl_8022B774 /* 8022B70C 0022866C 38 61 00 10 */ addi r3, r1, 0x10 /* 8022B710 00228670 38 81 00 64 */ addi r4, r1, 0x64 /* 8022B714 00228674 48 0E 91 3D */ bl AsNormalized__9CVector3fCFv /* 8022B718 00228678 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022B71C 0022867C C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 8022B720 00228680 C0 61 00 10 */ lfs f3, 0x10(r1) /* 8022B724 00228684 38 81 00 70 */ addi r4, r1, 0x70 /* 8022B728 00228688 C0 41 00 14 */ lfs f2, 0x14(r1) /* 8022B72C 0022868C C0 A3 00 04 */ lfs f5, 4(r3) /* 8022B730 00228690 C0 83 00 08 */ lfs f4, 8(r3) /* 8022B734 00228694 C0 21 00 18 */ lfs f1, 0x18(r1) /* 8022B738 00228698 C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022B73C 0022869C D0 C1 00 70 */ stfs f6, 0x70(r1) /* 8022B740 002286A0 D0 A1 00 74 */ stfs f5, 0x74(r1) /* 8022B744 002286A4 D0 81 00 78 */ stfs f4, 0x78(r1) /* 8022B748 002286A8 D0 61 00 7C */ stfs f3, 0x7c(r1) /* 8022B74C 002286AC D0 41 00 80 */ stfs f2, 0x80(r1) /* 8022B750 002286B0 D0 21 00 84 */ stfs f1, 0x84(r1) /* 8022B754 002286B4 D0 01 00 88 */ stfs f0, 0x88(r1) /* 8022B758 002286B8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8022B75C 002286BC 38 63 00 04 */ addi r3, r3, 4 /* 8022B760 002286C0 4B F0 5F B9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022B764 002286C4 48 00 00 10 */ b lbl_8022B774 lbl_8022B768: /* 8022B768 002286C8 38 7F 06 F8 */ addi r3, r31, 0x6f8 /* 8022B76C 002286CC 38 80 00 00 */ li r4, 0 /* 8022B770 002286D0 4B F4 9A B5 */ bl SetActive__13CBoneTrackingFb lbl_8022B774: /* 8022B774 002286D4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 8022B778 002286D8 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 8022B77C 002286DC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 8022B780 002286E0 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 8022B784 002286E4 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 8022B788 002286E8 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 8022B78C 002286EC 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8022B790 002286F0 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 8022B794 002286F4 7C 08 03 A6 */ mtlr r0 /* 8022B798 002286F8 38 21 00 E0 */ addi r1, r1, 0xe0 /* 8022B79C 002286FC 4E 80 00 20 */ blr .global Halt__12CElitePirateFR13CStateManager9EStateMsgf Halt__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022B7A0 00228700 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8022B7A4 00228704 7C 08 02 A6 */ mflr r0 /* 8022B7A8 00228708 2C 05 00 01 */ cmpwi r5, 1 /* 8022B7AC 0022870C 90 01 00 54 */ stw r0, 0x54(r1) /* 8022B7B0 00228710 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8022B7B4 00228714 7C 7F 1B 78 */ mr r31, r3 /* 8022B7B8 00228718 93 C1 00 48 */ stw r30, 0x48(r1) /* 8022B7BC 0022871C 93 A1 00 44 */ stw r29, 0x44(r1) /* 8022B7C0 00228720 41 82 01 AC */ beq lbl_8022B96C /* 8022B7C4 00228724 40 80 00 10 */ bge lbl_8022B7D4 /* 8022B7C8 00228728 2C 05 00 00 */ cmpwi r5, 0 /* 8022B7CC 0022872C 40 80 00 14 */ bge lbl_8022B7E0 /* 8022B7D0 00228730 48 00 01 9C */ b lbl_8022B96C lbl_8022B7D4: /* 8022B7D4 00228734 2C 05 00 03 */ cmpwi r5, 3 /* 8022B7D8 00228738 40 80 01 94 */ bge lbl_8022B96C /* 8022B7DC 0022873C 48 00 00 D8 */ b lbl_8022B8B4 lbl_8022B7E0: /* 8022B7E0 00228740 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8022B7E4 00228744 38 80 00 02 */ li r4, 2 /* 8022B7E8 00228748 4B F0 F1 F1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022B7EC 0022874C 88 1F 09 89 */ lbz r0, 0x989(r31) /* 8022B7F0 00228750 38 60 00 00 */ li r3, 0 /* 8022B7F4 00228754 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022B7F8 00228758 7F E3 FB 78 */ mr r3, r31 /* 8022B7FC 0022875C 98 1F 09 89 */ stb r0, 0x989(r31) /* 8022B800 00228760 4B E2 80 BD */ bl GetMaterialFilter__6CActorCFv /* 8022B804 00228764 80 03 00 00 */ lwz r0, 0(r3) /* 8022B808 00228768 38 80 00 01 */ li r4, 1 /* 8022B80C 0022876C 80 C3 00 04 */ lwz r6, 4(r3) /* 8022B810 00228770 80 AD 95 6C */ lwz r5, lbl_805A812C@sda21(r13) /* 8022B814 00228774 90 C1 00 24 */ stw r6, 0x24(r1) /* 8022B818 00228778 90 01 00 20 */ stw r0, 0x20(r1) /* 8022B81C 0022877C 80 03 00 08 */ lwz r0, 8(r3) /* 8022B820 00228780 80 C3 00 0C */ lwz r6, 0xc(r3) /* 8022B824 00228784 90 C1 00 2C */ stw r6, 0x2c(r1) /* 8022B828 00228788 90 01 00 28 */ stw r0, 0x28(r1) /* 8022B82C 0022878C 80 03 00 10 */ lwz r0, 0x10(r3) /* 8022B830 00228790 38 60 00 00 */ li r3, 0 /* 8022B834 00228794 90 01 00 30 */ stw r0, 0x30(r1) /* 8022B838 00228798 48 15 E6 BD */ bl __shl2i /* 8022B83C 0022879C 80 AD 95 70 */ lwz r5, lbl_805A8130@sda21(r13) /* 8022B840 002287A0 7C 9D 23 78 */ mr r29, r4 /* 8022B844 002287A4 7C 7E 1B 78 */ mr r30, r3 /* 8022B848 002287A8 38 60 00 00 */ li r3, 0 /* 8022B84C 002287AC 38 80 00 01 */ li r4, 1 /* 8022B850 002287B0 48 15 E6 A5 */ bl __shl2i /* 8022B854 002287B4 80 AD 95 74 */ lwz r5, lbl_805A8134@sda21(r13) /* 8022B858 002287B8 7F BD 23 78 */ or r29, r29, r4 /* 8022B85C 002287BC 7F DE 1B 78 */ or r30, r30, r3 /* 8022B860 002287C0 38 60 00 00 */ li r3, 0 /* 8022B864 002287C4 38 80 00 01 */ li r4, 1 /* 8022B868 002287C8 48 15 E6 8D */ bl __shl2i /* 8022B86C 002287CC 80 AD 95 78 */ lwz r5, lbl_805A8138@sda21(r13) /* 8022B870 002287D0 7F BD 23 78 */ or r29, r29, r4 /* 8022B874 002287D4 7F DE 1B 78 */ or r30, r30, r3 /* 8022B878 002287D8 38 60 00 00 */ li r3, 0 /* 8022B87C 002287DC 38 80 00 01 */ li r4, 1 /* 8022B880 002287E0 48 15 E6 75 */ bl __shl2i /* 8022B884 002287E4 80 01 00 28 */ lwz r0, 0x28(r1) /* 8022B888 002287E8 7F DE 1B 78 */ or r30, r30, r3 /* 8022B88C 002287EC 7F BD 23 78 */ or r29, r29, r4 /* 8022B890 002287F0 80 81 00 2C */ lwz r4, 0x2c(r1) /* 8022B894 002287F4 7C 00 F3 78 */ or r0, r0, r30 /* 8022B898 002287F8 7F E3 FB 78 */ mr r3, r31 /* 8022B89C 002287FC 7C 85 EB 78 */ or r5, r4, r29 /* 8022B8A0 00228800 90 01 00 28 */ stw r0, 0x28(r1) /* 8022B8A4 00228804 38 81 00 20 */ addi r4, r1, 0x20 /* 8022B8A8 00228808 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8022B8AC 0022880C 4B E2 7F F5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 8022B8B0 00228810 48 00 00 BC */ b lbl_8022B96C lbl_8022B8B4: /* 8022B8B4 00228814 4B E2 80 09 */ bl GetMaterialFilter__6CActorCFv /* 8022B8B8 00228818 80 03 00 00 */ lwz r0, 0(r3) /* 8022B8BC 0022881C 38 80 00 01 */ li r4, 1 /* 8022B8C0 00228820 80 C3 00 04 */ lwz r6, 4(r3) /* 8022B8C4 00228824 80 AD 95 7C */ lwz r5, lbl_805A813C@sda21(r13) /* 8022B8C8 00228828 90 C1 00 0C */ stw r6, 0xc(r1) /* 8022B8CC 0022882C 90 01 00 08 */ stw r0, 8(r1) /* 8022B8D0 00228830 80 03 00 08 */ lwz r0, 8(r3) /* 8022B8D4 00228834 80 C3 00 0C */ lwz r6, 0xc(r3) /* 8022B8D8 00228838 90 C1 00 14 */ stw r6, 0x14(r1) /* 8022B8DC 0022883C 90 01 00 10 */ stw r0, 0x10(r1) /* 8022B8E0 00228840 80 03 00 10 */ lwz r0, 0x10(r3) /* 8022B8E4 00228844 38 60 00 00 */ li r3, 0 /* 8022B8E8 00228848 90 01 00 18 */ stw r0, 0x18(r1) /* 8022B8EC 0022884C 48 15 E6 09 */ bl __shl2i /* 8022B8F0 00228850 80 AD 95 80 */ lwz r5, lbl_805A8140@sda21(r13) /* 8022B8F4 00228854 7C 9E 23 78 */ mr r30, r4 /* 8022B8F8 00228858 7C 7D 1B 78 */ mr r29, r3 /* 8022B8FC 0022885C 38 60 00 00 */ li r3, 0 /* 8022B900 00228860 38 80 00 01 */ li r4, 1 /* 8022B904 00228864 48 15 E5 F1 */ bl __shl2i /* 8022B908 00228868 80 AD 95 84 */ lwz r5, lbl_805A8144@sda21(r13) /* 8022B90C 0022886C 7F DE 23 78 */ or r30, r30, r4 /* 8022B910 00228870 7F BD 1B 78 */ or r29, r29, r3 /* 8022B914 00228874 38 60 00 00 */ li r3, 0 /* 8022B918 00228878 38 80 00 01 */ li r4, 1 /* 8022B91C 0022887C 48 15 E5 D9 */ bl __shl2i /* 8022B920 00228880 80 AD 95 88 */ lwz r5, lbl_805A8148@sda21(r13) /* 8022B924 00228884 7F DE 23 78 */ or r30, r30, r4 /* 8022B928 00228888 7F BD 1B 78 */ or r29, r29, r3 /* 8022B92C 0022888C 38 60 00 00 */ li r3, 0 /* 8022B930 00228890 38 80 00 01 */ li r4, 1 /* 8022B934 00228894 48 15 E5 C1 */ bl __shl2i /* 8022B938 00228898 7F DE 23 78 */ or r30, r30, r4 /* 8022B93C 0022889C 7F BD 1B 78 */ or r29, r29, r3 /* 8022B940 002288A0 80 61 00 10 */ lwz r3, 0x10(r1) /* 8022B944 002288A4 7F A0 E8 F8 */ nor r0, r29, r29 /* 8022B948 002288A8 80 A1 00 14 */ lwz r5, 0x14(r1) /* 8022B94C 002288AC 7F C4 F0 F8 */ nor r4, r30, r30 /* 8022B950 002288B0 7C 60 00 38 */ and r0, r3, r0 /* 8022B954 002288B4 7F E3 FB 78 */ mr r3, r31 /* 8022B958 002288B8 7C A5 20 38 */ and r5, r5, r4 /* 8022B95C 002288BC 90 01 00 10 */ stw r0, 0x10(r1) /* 8022B960 002288C0 38 81 00 08 */ addi r4, r1, 8 /* 8022B964 002288C4 90 A1 00 14 */ stw r5, 0x14(r1) /* 8022B968 002288C8 4B E2 7F 39 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter lbl_8022B96C: /* 8022B96C 002288CC 80 01 00 54 */ lwz r0, 0x54(r1) /* 8022B970 002288D0 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8022B974 002288D4 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8022B978 002288D8 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8022B97C 002288DC 7C 08 03 A6 */ mtlr r0 /* 8022B980 002288E0 38 21 00 50 */ addi r1, r1, 0x50 /* 8022B984 002288E4 4E 80 00 20 */ blr .global Run__12CElitePirateFR13CStateManager9EStateMsgf Run__12CElitePirateFR13CStateManager9EStateMsgf: /* 8022B988 002288E8 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8022B98C 002288EC 7C 08 02 A6 */ mflr r0 /* 8022B990 002288F0 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8022B994 002288F4 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 8022B998 002288F8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 8022B99C 002288FC 93 E1 00 BC */ stw r31, 0xbc(r1) /* 8022B9A0 00228900 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 8022B9A4 00228904 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 8022B9A8 00228908 7C BD 2B 78 */ mr r29, r5 /* 8022B9AC 0022890C FF E0 08 90 */ fmr f31, f1 /* 8022B9B0 00228910 2C 1D 00 01 */ cmpwi r29, 1 /* 8022B9B4 00228914 7C 7E 1B 78 */ mr r30, r3 /* 8022B9B8 00228918 7C 9F 23 78 */ mr r31, r4 /* 8022B9BC 0022891C 41 82 00 9C */ beq lbl_8022BA58 /* 8022B9C0 00228920 40 80 00 10 */ bge lbl_8022B9D0 /* 8022B9C4 00228924 2C 1D 00 00 */ cmpwi r29, 0 /* 8022B9C8 00228928 40 80 00 14 */ bge lbl_8022B9DC /* 8022B9CC 0022892C 48 00 02 D0 */ b lbl_8022BC9C lbl_8022B9D0: /* 8022B9D0 00228930 2C 1D 00 03 */ cmpwi r29, 3 /* 8022B9D4 00228934 40 80 02 C8 */ bge lbl_8022BC9C /* 8022B9D8 00228938 48 00 02 94 */ b lbl_8022BC6C lbl_8022B9DC: /* 8022B9DC 0022893C 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022B9E0 00228940 38 60 00 01 */ li r3, 1 /* 8022B9E4 00228944 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 8022B9E8 00228948 38 80 00 01 */ li r4, 1 /* 8022B9EC 0022894C 98 1E 09 88 */ stb r0, 0x988(r30) /* 8022B9F0 00228950 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022B9F4 00228954 4B F0 EF E5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8022B9F8 00228958 C0 22 B5 CC */ lfs f1, lbl_805AD2EC@sda21(r2) /* 8022B9FC 0022895C 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022BA00 00228960 FC 40 08 90 */ fmr f2, f1 /* 8022BA04 00228964 38 63 00 04 */ addi r3, r3, 4 /* 8022BA08 00228968 4B F0 5D E1 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff /* 8022BA0C 0022896C 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 8022BA10 00228970 38 7E 06 F8 */ addi r3, r30, 0x6f8 /* 8022BA14 00228974 38 81 00 0C */ addi r4, r1, 0xc /* 8022BA18 00228978 A0 05 00 08 */ lhz r0, 8(r5) /* 8022BA1C 0022897C B0 01 00 08 */ sth r0, 8(r1) /* 8022BA20 00228980 B0 01 00 0C */ sth r0, 0xc(r1) /* 8022BA24 00228984 4B F4 97 F5 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 8022BA28 00228988 38 7E 06 F8 */ addi r3, r30, 0x6f8 /* 8022BA2C 0022898C 38 80 00 01 */ li r4, 1 /* 8022BA30 00228990 4B F4 97 F5 */ bl SetActive__13CBoneTrackingFb /* 8022BA34 00228994 7F C3 F3 78 */ mr r3, r30 /* 8022BA38 00228998 7F E4 FB 78 */ mr r4, r31 /* 8022BA3C 0022899C 4B FF CB F9 */ bl sub_80228634 /* 8022BA40 002289A0 FC 20 F8 90 */ fmr f1, f31 /* 8022BA44 002289A4 7F C3 F3 78 */ mr r3, r30 /* 8022BA48 002289A8 7F E4 FB 78 */ mr r4, r31 /* 8022BA4C 002289AC 7F A5 EB 78 */ mr r5, r29 /* 8022BA50 002289B0 4B FC AC 7D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022BA54 002289B4 48 00 02 48 */ b lbl_8022BC9C lbl_8022BA58: /* 8022BA58 002289B8 81 83 00 00 */ lwz r12, 0(r3) /* 8022BA5C 002289BC C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022BA60 002289C0 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022BA64 002289C4 7D 89 03 A6 */ mtctr r12 /* 8022BA68 002289C8 4E 80 04 21 */ bctrl /* 8022BA6C 002289CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022BA70 002289D0 40 82 00 1C */ bne lbl_8022BA8C /* 8022BA74 002289D4 FC 20 F8 90 */ fmr f1, f31 /* 8022BA78 002289D8 7F C3 F3 78 */ mr r3, r30 /* 8022BA7C 002289DC 7F E4 FB 78 */ mr r4, r31 /* 8022BA80 002289E0 7F A5 EB 78 */ mr r5, r29 /* 8022BA84 002289E4 4B FC AC 49 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf /* 8022BA88 002289E8 48 00 02 14 */ b lbl_8022BC9C lbl_8022BA8C: /* 8022BA8C 002289EC C0 5E 00 38 */ lfs f2, 0x38(r30) /* 8022BA90 002289F0 38 61 00 58 */ addi r3, r1, 0x58 /* 8022BA94 002289F4 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 8022BA98 002289F8 38 9E 08 C0 */ addi r4, r30, 0x8c0 /* 8022BA9C 002289FC C0 1E 00 58 */ lfs f0, 0x58(r30) /* 8022BAA0 00228A00 38 A1 00 4C */ addi r5, r1, 0x4c /* 8022BAA4 00228A04 D0 41 00 28 */ stfs f2, 0x28(r1) /* 8022BAA8 00228A08 38 C1 00 34 */ addi r6, r1, 0x34 /* 8022BAAC 00228A0C D0 21 00 2C */ stfs f1, 0x2c(r1) /* 8022BAB0 00228A10 81 01 00 28 */ lwz r8, 0x28(r1) /* 8022BAB4 00228A14 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8022BAB8 00228A18 80 E1 00 2C */ lwz r7, 0x2c(r1) /* 8022BABC 00228A1C 80 01 00 30 */ lwz r0, 0x30(r1) /* 8022BAC0 00228A20 91 01 00 34 */ stw r8, 0x34(r1) /* 8022BAC4 00228A24 90 E1 00 38 */ stw r7, 0x38(r1) /* 8022BAC8 00228A28 90 01 00 3C */ stw r0, 0x3c(r1) /* 8022BACC 00228A2C C0 5E 00 40 */ lfs f2, 0x40(r30) /* 8022BAD0 00228A30 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8022BAD4 00228A34 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8022BAD8 00228A38 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8022BADC 00228A3C D0 21 00 44 */ stfs f1, 0x44(r1) /* 8022BAE0 00228A40 81 01 00 40 */ lwz r8, 0x40(r1) /* 8022BAE4 00228A44 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8022BAE8 00228A48 80 E1 00 44 */ lwz r7, 0x44(r1) /* 8022BAEC 00228A4C 80 01 00 48 */ lwz r0, 0x48(r1) /* 8022BAF0 00228A50 91 01 00 4C */ stw r8, 0x4c(r1) /* 8022BAF4 00228A54 90 E1 00 50 */ stw r7, 0x50(r1) /* 8022BAF8 00228A58 90 01 00 54 */ stw r0, 0x54(r1) /* 8022BAFC 00228A5C 48 07 4C F5 */ bl sub_802a07f0 /* 8022BB00 00228A60 C0 21 00 58 */ lfs f1, 0x58(r1) /* 8022BB04 00228A64 38 00 00 00 */ li r0, 0 /* 8022BB08 00228A68 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022BB0C 00228A6C C0 81 00 5C */ lfs f4, 0x5c(r1) /* 8022BB10 00228A70 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 8022BB14 00228A74 C0 A1 00 60 */ lfs f5, 0x60(r1) /* 8022BB18 00228A78 40 82 00 14 */ bne lbl_8022BB2C /* 8022BB1C 00228A7C FC 00 20 00 */ fcmpu cr0, f0, f4 /* 8022BB20 00228A80 40 82 00 0C */ bne lbl_8022BB2C /* 8022BB24 00228A84 FC 00 28 00 */ fcmpu cr0, f0, f5 /* 8022BB28 00228A88 41 82 00 08 */ beq lbl_8022BB30 lbl_8022BB2C: /* 8022BB2C 00228A8C 38 00 00 01 */ li r0, 1 lbl_8022BB30: /* 8022BB30 00228A90 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 8022BB34 00228A94 41 82 00 48 */ beq lbl_8022BB7C /* 8022BB38 00228A98 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022BB3C 00228A9C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 8022BB40 00228AA0 C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022BB44 00228AA4 38 81 00 8C */ addi r4, r1, 0x8c /* 8022BB48 00228AA8 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 8022BB4C 00228AAC C0 43 00 04 */ lfs f2, 4(r3) /* 8022BB50 00228AB0 C0 23 00 08 */ lfs f1, 8(r3) /* 8022BB54 00228AB4 D0 81 00 90 */ stfs f4, 0x90(r1) /* 8022BB58 00228AB8 D0 A1 00 94 */ stfs f5, 0x94(r1) /* 8022BB5C 00228ABC D0 61 00 98 */ stfs f3, 0x98(r1) /* 8022BB60 00228AC0 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 8022BB64 00228AC4 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 8022BB68 00228AC8 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 8022BB6C 00228ACC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022BB70 00228AD0 38 63 00 04 */ addi r3, r3, 4 /* 8022BB74 00228AD4 4B F0 5B A5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022BB78 00228AD8 48 00 01 24 */ b lbl_8022BC9C lbl_8022BB7C: /* 8022BB7C 00228ADC 7F C3 F3 78 */ mr r3, r30 /* 8022BB80 00228AE0 7F E4 FB 78 */ mr r4, r31 /* 8022BB84 00228AE4 81 9E 00 00 */ lwz r12, 0(r30) /* 8022BB88 00228AE8 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022BB8C 00228AEC 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8022BB90 00228AF0 7D 89 03 A6 */ mtctr r12 /* 8022BB94 00228AF4 4E 80 04 21 */ bctrl /* 8022BB98 00228AF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022BB9C 00228AFC 41 82 01 00 */ beq lbl_8022BC9C /* 8022BBA0 00228B00 80 DE 00 64 */ lwz r6, 0x64(r30) /* 8022BBA4 00228B04 7F E5 FB 78 */ mr r5, r31 /* 8022BBA8 00228B08 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8022BBAC 00228B0C 38 61 00 1C */ addi r3, r1, 0x1c /* 8022BBB0 00228B10 80 C6 00 10 */ lwz r6, 0x10(r6) /* 8022BBB4 00228B14 81 84 00 00 */ lwz r12, 0(r4) /* 8022BBB8 00228B18 C0 22 B5 BC */ lfs f1, lbl_805AD2DC@sda21(r2) /* 8022BBBC 00228B1C C0 06 02 00 */ lfs f0, 0x200(r6) /* 8022BBC0 00228B20 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022BBC4 00228B24 EC 21 00 32 */ fmuls f1, f1, f0 /* 8022BBC8 00228B28 7D 89 03 A6 */ mtctr r12 /* 8022BBCC 00228B2C 4E 80 04 21 */ bctrl /* 8022BBD0 00228B30 C0 21 00 20 */ lfs f1, 0x20(r1) /* 8022BBD4 00228B34 38 61 00 64 */ addi r3, r1, 0x64 /* 8022BBD8 00228B38 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 8022BBDC 00228B3C C0 61 00 24 */ lfs f3, 0x24(r1) /* 8022BBE0 00228B40 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8022BBE4 00228B44 EC 81 00 28 */ fsubs f4, f1, f0 /* 8022BBE8 00228B48 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022BBEC 00228B4C C0 21 00 1C */ lfs f1, 0x1c(r1) /* 8022BBF0 00228B50 EC 43 10 28 */ fsubs f2, f3, f2 /* 8022BBF4 00228B54 D0 81 00 68 */ stfs f4, 0x68(r1) /* 8022BBF8 00228B58 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022BBFC 00228B5C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8022BC00 00228B60 D0 01 00 64 */ stfs f0, 0x64(r1) /* 8022BC04 00228B64 48 0E 8A F5 */ bl CanBeNormalized__9CVector3fCFv /* 8022BC08 00228B68 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022BC0C 00228B6C 41 82 00 90 */ beq lbl_8022BC9C /* 8022BC10 00228B70 38 61 00 10 */ addi r3, r1, 0x10 /* 8022BC14 00228B74 38 81 00 64 */ addi r4, r1, 0x64 /* 8022BC18 00228B78 48 0E 8C 39 */ bl AsNormalized__9CVector3fCFv /* 8022BC1C 00228B7C 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022BC20 00228B80 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 8022BC24 00228B84 C0 61 00 10 */ lfs f3, 0x10(r1) /* 8022BC28 00228B88 38 81 00 70 */ addi r4, r1, 0x70 /* 8022BC2C 00228B8C C0 41 00 14 */ lfs f2, 0x14(r1) /* 8022BC30 00228B90 C0 A3 00 04 */ lfs f5, 4(r3) /* 8022BC34 00228B94 C0 83 00 08 */ lfs f4, 8(r3) /* 8022BC38 00228B98 C0 21 00 18 */ lfs f1, 0x18(r1) /* 8022BC3C 00228B9C C0 02 B5 CC */ lfs f0, lbl_805AD2EC@sda21(r2) /* 8022BC40 00228BA0 D0 C1 00 70 */ stfs f6, 0x70(r1) /* 8022BC44 00228BA4 D0 A1 00 74 */ stfs f5, 0x74(r1) /* 8022BC48 00228BA8 D0 81 00 78 */ stfs f4, 0x78(r1) /* 8022BC4C 00228BAC D0 61 00 7C */ stfs f3, 0x7c(r1) /* 8022BC50 00228BB0 D0 41 00 80 */ stfs f2, 0x80(r1) /* 8022BC54 00228BB4 D0 21 00 84 */ stfs f1, 0x84(r1) /* 8022BC58 00228BB8 D0 01 00 88 */ stfs f0, 0x88(r1) /* 8022BC5C 00228BBC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022BC60 00228BC0 38 63 00 04 */ addi r3, r3, 4 /* 8022BC64 00228BC4 4B F0 5A B5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 8022BC68 00228BC8 48 00 00 34 */ b lbl_8022BC9C lbl_8022BC6C: /* 8022BC6C 00228BCC 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022BC70 00228BD0 38 60 00 00 */ li r3, 0 /* 8022BC74 00228BD4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 8022BC78 00228BD8 38 7E 06 F8 */ addi r3, r30, 0x6f8 /* 8022BC7C 00228BDC 98 1E 09 88 */ stb r0, 0x988(r30) /* 8022BC80 00228BE0 38 80 00 00 */ li r4, 0 /* 8022BC84 00228BE4 4B F4 95 A1 */ bl SetActive__13CBoneTrackingFb /* 8022BC88 00228BE8 C0 3E 07 A4 */ lfs f1, 0x7a4(r30) /* 8022BC8C 00228BEC 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8022BC90 00228BF0 FC 40 08 90 */ fmr f2, f1 /* 8022BC94 00228BF4 38 63 00 04 */ addi r3, r3, 4 /* 8022BC98 00228BF8 4B F0 5B 51 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff lbl_8022BC9C: /* 8022BC9C 00228BFC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 8022BCA0 00228C00 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8022BCA4 00228C04 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 8022BCA8 00228C08 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 8022BCAC 00228C0C 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 8022BCB0 00228C10 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 8022BCB4 00228C14 7C 08 03 A6 */ mtlr r0 /* 8022BCB8 00228C18 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8022BCBC 00228C1C 4E 80 00 20 */ blr .global sub_8022bcc0 sub_8022bcc0: /* 8022BCC0 00228C20 80 03 05 68 */ lwz r0, 0x568(r3) /* 8022BCC4 00228C24 20 00 00 03 */ subfic r0, r0, 3 /* 8022BCC8 00228C28 7C 00 00 34 */ cntlzw r0, r0 /* 8022BCCC 00228C2C 54 03 D9 7E */ srwi r3, r0, 5 /* 8022BCD0 00228C30 4E 80 00 20 */ blr .global AggressionCheck__12CElitePirateFR13CStateManagerf AggressionCheck__12CElitePirateFR13CStateManagerf: /* 8022BCD4 00228C34 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022BCD8 00228C38 7C 08 02 A6 */ mflr r0 /* 8022BCDC 00228C3C 90 01 00 14 */ stw r0, 0x14(r1) /* 8022BCE0 00228C40 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022BCE4 00228C44 7C 9F 23 78 */ mr r31, r4 /* 8022BCE8 00228C48 93 C1 00 08 */ stw r30, 8(r1) /* 8022BCEC 00228C4C 7C 7E 1B 78 */ mr r30, r3 /* 8022BCF0 00228C50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022BCF4 00228C54 A0 A3 07 72 */ lhz r5, 0x772(r3) /* 8022BCF8 00228C58 7C 05 00 40 */ cmplw r5, r0 /* 8022BCFC 00228C5C 40 82 00 84 */ bne lbl_8022BD80 /* 8022BD00 00228C60 81 83 00 00 */ lwz r12, 0(r3) /* 8022BD04 00228C64 81 8C 01 90 */ lwz r12, 0x190(r12) /* 8022BD08 00228C68 7D 89 03 A6 */ mtctr r12 /* 8022BD0C 00228C6C 4E 80 04 21 */ bctrl /* 8022BD10 00228C70 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022BD14 00228C74 40 82 00 6C */ bne lbl_8022BD80 /* 8022BD18 00228C78 88 1E 09 88 */ lbz r0, 0x988(r30) /* 8022BD1C 00228C7C 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 8022BD20 00228C80 40 82 00 58 */ bne lbl_8022BD78 /* 8022BD24 00228C84 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8022BD28 00228C88 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 8022BD2C 00228C8C C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022BD30 00228C90 C0 63 00 40 */ lfs f3, 0x40(r3) /* 8022BD34 00228C94 EC 81 00 28 */ fsubs f4, f1, f0 /* 8022BD38 00228C98 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 8022BD3C 00228C9C C0 43 00 60 */ lfs f2, 0x60(r3) /* 8022BD40 00228CA0 C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8022BD44 00228CA4 EC 63 08 28 */ fsubs f3, f3, f1 /* 8022BD48 00228CA8 EC 24 01 32 */ fmuls f1, f4, f4 /* 8022BD4C 00228CAC C0 9E 03 00 */ lfs f4, 0x300(r30) /* 8022BD50 00228CB0 EC 42 00 28 */ fsubs f2, f2, f0 /* 8022BD54 00228CB4 C0 02 B6 04 */ lfs f0, lbl_805AD324@sda21(r2) /* 8022BD58 00228CB8 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 8022BD5C 00228CBC EC 00 01 32 */ fmuls f0, f0, f4 /* 8022BD60 00228CC0 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8022BD64 00228CC4 EC 00 01 32 */ fmuls f0, f0, f4 /* 8022BD68 00228CC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BD6C 00228CCC 7C 00 00 26 */ mfcr r0 /* 8022BD70 00228CD0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 8022BD74 00228CD4 48 00 00 10 */ b lbl_8022BD84 lbl_8022BD78: /* 8022BD78 00228CD8 38 60 00 01 */ li r3, 1 /* 8022BD7C 00228CDC 48 00 00 08 */ b lbl_8022BD84 lbl_8022BD80: /* 8022BD80 00228CE0 38 60 00 00 */ li r3, 0 lbl_8022BD84: /* 8022BD84 00228CE4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022BD88 00228CE8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022BD8C 00228CEC 83 C1 00 08 */ lwz r30, 8(r1) /* 8022BD90 00228CF0 7C 08 03 A6 */ mtlr r0 /* 8022BD94 00228CF4 38 21 00 10 */ addi r1, r1, 0x10 /* 8022BD98 00228CF8 4E 80 00 20 */ blr .global TooClose__12CElitePirateFR13CStateManagerf TooClose__12CElitePirateFR13CStateManagerf: /* 8022BD9C 00228CFC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8022BDA0 00228D00 C0 03 02 FC */ lfs f0, 0x2fc(r3) /* 8022BDA4 00228D04 C0 43 00 50 */ lfs f2, 0x50(r3) /* 8022BDA8 00228D08 C0 24 00 50 */ lfs f1, 0x50(r4) /* 8022BDAC 00228D0C EC 00 00 32 */ fmuls f0, f0, f0 /* 8022BDB0 00228D10 C0 83 00 40 */ lfs f4, 0x40(r3) /* 8022BDB4 00228D14 EC A2 08 28 */ fsubs f5, f2, f1 /* 8022BDB8 00228D18 C0 24 00 40 */ lfs f1, 0x40(r4) /* 8022BDBC 00228D1C C0 63 00 60 */ lfs f3, 0x60(r3) /* 8022BDC0 00228D20 EC 84 08 28 */ fsubs f4, f4, f1 /* 8022BDC4 00228D24 C0 44 00 60 */ lfs f2, 0x60(r4) /* 8022BDC8 00228D28 EC 25 01 72 */ fmuls f1, f5, f5 /* 8022BDCC 00228D2C EC 43 10 28 */ fsubs f2, f3, f2 /* 8022BDD0 00228D30 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 8022BDD4 00228D34 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8022BDD8 00228D38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BDDC 00228D3C 7C 00 00 26 */ mfcr r0 /* 8022BDE0 00228D40 54 03 0F FE */ srwi r3, r0, 0x1f /* 8022BDE4 00228D44 4E 80 00 20 */ blr .global InPosition__12CElitePirateFR13CStateManagerf InPosition__12CElitePirateFR13CStateManagerf: /* 8022BDE8 00228D48 C0 23 08 B8 */ lfs f1, 0x8b8(r3) /* 8022BDEC 00228D4C C0 03 00 50 */ lfs f0, 0x50(r3) /* 8022BDF0 00228D50 C0 63 08 B4 */ lfs f3, 0x8b4(r3) /* 8022BDF4 00228D54 EC 21 00 28 */ fsubs f1, f1, f0 /* 8022BDF8 00228D58 C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022BDFC 00228D5C C0 43 08 BC */ lfs f2, 0x8bc(r3) /* 8022BE00 00228D60 EC 63 00 28 */ fsubs f3, f3, f0 /* 8022BE04 00228D64 C0 03 00 60 */ lfs f0, 0x60(r3) /* 8022BE08 00228D68 EC 21 00 72 */ fmuls f1, f1, f1 /* 8022BE0C 00228D6C EC 42 00 28 */ fsubs f2, f2, f0 /* 8022BE10 00228D70 C0 02 B6 00 */ lfs f0, lbl_805AD320@sda21(r2) /* 8022BE14 00228D74 EC 23 08 FA */ fmadds f1, f3, f3, f1 /* 8022BE18 00228D78 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8022BE1C 00228D7C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BE20 00228D80 7C 00 00 26 */ mfcr r0 /* 8022BE24 00228D84 54 03 0F FE */ srwi r3, r0, 0x1f /* 8022BE28 00228D88 4E 80 00 20 */ blr .global ShotAt__12CElitePirateFR13CStateManagerf ShotAt__12CElitePirateFR13CStateManagerf: /* 8022BE2C 00228D8C 88 03 09 88 */ lbz r0, 0x988(r3) /* 8022BE30 00228D90 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f /* 8022BE34 00228D94 4E 80 00 20 */ blr .global sub_8022be38 sub_8022be38: /* 8022BE38 00228D98 88 03 09 88 */ lbz r0, 0x988(r3) /* 8022BE3C 00228D9C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 8022BE40 00228DA0 40 82 00 3C */ bne lbl_8022BE7C /* 8022BE44 00228DA4 A0 85 00 00 */ lhz r4, 0(r5) /* 8022BE48 00228DA8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022BE4C 00228DAC 7C 04 00 40 */ cmplw r4, r0 /* 8022BE50 00228DB0 40 82 00 2C */ bne lbl_8022BE7C /* 8022BE54 00228DB4 88 03 06 F6 */ lbz r0, 0x6f6(r3) /* 8022BE58 00228DB8 28 00 00 00 */ cmplwi r0, 0 /* 8022BE5C 00228DBC 41 82 00 20 */ beq lbl_8022BE7C /* 8022BE60 00228DC0 C0 23 07 A8 */ lfs f1, 0x7a8(r3) /* 8022BE64 00228DC4 C0 02 B5 C8 */ lfs f0, lbl_805AD2E8@sda21(r2) /* 8022BE68 00228DC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BE6C 00228DCC 4C 41 13 82 */ cror 2, 1, 2 /* 8022BE70 00228DD0 7C 00 00 26 */ mfcr r0 /* 8022BE74 00228DD4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 8022BE78 00228DD8 4E 80 00 20 */ blr lbl_8022BE7C: /* 8022BE7C 00228DDC 38 60 00 00 */ li r3, 0 /* 8022BE80 00228DE0 4E 80 00 20 */ blr .global ShouldCallForBackup__12CElitePirateFR13CStateManagerf ShouldCallForBackup__12CElitePirateFR13CStateManagerf: /* 8022BE84 00228DE4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022BE88 00228DE8 7C 08 02 A6 */ mflr r0 /* 8022BE8C 00228DEC 90 01 00 14 */ stw r0, 0x14(r1) /* 8022BE90 00228DF0 38 A1 00 08 */ addi r5, r1, 8 /* 8022BE94 00228DF4 A0 03 07 72 */ lhz r0, 0x772(r3) /* 8022BE98 00228DF8 B0 01 00 08 */ sth r0, 8(r1) /* 8022BE9C 00228DFC 4B FF FF 9D */ bl sub_8022be38 /* 8022BEA0 00228E00 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022BEA4 00228E04 7C 08 03 A6 */ mtlr r0 /* 8022BEA8 00228E08 38 21 00 10 */ addi r1, r1, 0x10 /* 8022BEAC 00228E0C 4E 80 00 20 */ blr .global ShouldSpecialAttack__12CElitePirateFR13CStateManagerf ShouldSpecialAttack__12CElitePirateFR13CStateManagerf: /* 8022BEB0 00228E10 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022BEB4 00228E14 7C 08 02 A6 */ mflr r0 /* 8022BEB8 00228E18 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022BEBC 00228E1C 7C 85 23 78 */ mr r5, r4 /* 8022BEC0 00228E20 90 01 00 24 */ stw r0, 0x24(r1) /* 8022BEC4 00228E24 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8022BEC8 00228E28 7C 7F 1B 78 */ mr r31, r3 /* 8022BECC 00228E2C C0 03 07 B8 */ lfs f0, 0x7b8(r3) /* 8022BED0 00228E30 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022BED4 00228E34 4C 40 13 82 */ cror 2, 0, 2 /* 8022BED8 00228E38 40 82 00 A0 */ bne lbl_8022BF78 /* 8022BEDC 00228E3C 80 85 08 4C */ lwz r4, 0x84c(r5) /* 8022BEE0 00228E40 80 7F 00 04 */ lwz r3, 4(r31) /* 8022BEE4 00228E44 80 04 00 04 */ lwz r0, 4(r4) /* 8022BEE8 00228E48 7C 03 00 00 */ cmpw r3, r0 /* 8022BEEC 00228E4C 40 82 00 8C */ bne lbl_8022BF78 /* 8022BEF0 00228E50 81 84 00 00 */ lwz r12, 0(r4) /* 8022BEF4 00228E54 38 61 00 08 */ addi r3, r1, 8 /* 8022BEF8 00228E58 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022BEFC 00228E5C 7D 89 03 A6 */ mtctr r12 /* 8022BF00 00228E60 4E 80 04 21 */ bctrl /* 8022BF04 00228E64 C0 21 00 0C */ lfs f1, 0xc(r1) /* 8022BF08 00228E68 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 8022BF0C 00228E6C C0 5F 02 FC */ lfs f2, 0x2fc(r31) /* 8022BF10 00228E70 EC A1 00 28 */ fsubs f5, f1, f0 /* 8022BF14 00228E74 C0 81 00 08 */ lfs f4, 8(r1) /* 8022BF18 00228E78 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 8022BF1C 00228E7C EC 02 00 B2 */ fmuls f0, f2, f2 /* 8022BF20 00228E80 C0 61 00 10 */ lfs f3, 0x10(r1) /* 8022BF24 00228E84 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8022BF28 00228E88 EC 84 08 28 */ fsubs f4, f4, f1 /* 8022BF2C 00228E8C EC 25 01 72 */ fmuls f1, f5, f5 /* 8022BF30 00228E90 EC 43 10 28 */ fsubs f2, f3, f2 /* 8022BF34 00228E94 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 8022BF38 00228E98 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8022BF3C 00228E9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BF40 00228EA0 4C 41 13 82 */ cror 2, 1, 2 /* 8022BF44 00228EA4 40 82 00 34 */ bne lbl_8022BF78 /* 8022BF48 00228EA8 C0 1F 03 00 */ lfs f0, 0x300(r31) /* 8022BF4C 00228EAC EC 00 00 32 */ fmuls f0, f0, f0 /* 8022BF50 00228EB0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BF54 00228EB4 4C 40 13 82 */ cror 2, 0, 2 /* 8022BF58 00228EB8 40 82 00 20 */ bne lbl_8022BF78 /* 8022BF5C 00228EBC FC 20 12 10 */ fabs f1, f2 /* 8022BF60 00228EC0 C0 02 B5 C8 */ lfs f0, lbl_805AD2E8@sda21(r2) /* 8022BF64 00228EC4 FC 20 08 18 */ frsp f1, f1 /* 8022BF68 00228EC8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BF6C 00228ECC 7C 00 00 26 */ mfcr r0 /* 8022BF70 00228ED0 54 03 0F FE */ srwi r3, r0, 0x1f /* 8022BF74 00228ED4 48 00 00 08 */ b lbl_8022BF7C lbl_8022BF78: /* 8022BF78 00228ED8 38 60 00 00 */ li r3, 0 lbl_8022BF7C: /* 8022BF7C 00228EDC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022BF80 00228EE0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022BF84 00228EE4 7C 08 03 A6 */ mtlr r0 /* 8022BF88 00228EE8 38 21 00 20 */ addi r1, r1, 0x20 /* 8022BF8C 00228EEC 4E 80 00 20 */ blr .global ShouldAttack__12CElitePirateFR13CStateManagerf ShouldAttack__12CElitePirateFR13CStateManagerf: /* 8022BF90 00228EF0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022BF94 00228EF4 7C 08 02 A6 */ mflr r0 /* 8022BF98 00228EF8 90 01 00 14 */ stw r0, 0x14(r1) /* 8022BF9C 00228EFC 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 8022BFA0 00228F00 C0 03 02 FC */ lfs f0, 0x2fc(r3) /* 8022BFA4 00228F04 C0 45 00 50 */ lfs f2, 0x50(r5) /* 8022BFA8 00228F08 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022BFAC 00228F0C EC 00 00 32 */ fmuls f0, f0, f0 /* 8022BFB0 00228F10 C0 85 00 40 */ lfs f4, 0x40(r5) /* 8022BFB4 00228F14 EC A2 08 28 */ fsubs f5, f2, f1 /* 8022BFB8 00228F18 C0 23 00 40 */ lfs f1, 0x40(r3) /* 8022BFBC 00228F1C C0 65 00 60 */ lfs f3, 0x60(r5) /* 8022BFC0 00228F20 EC 84 08 28 */ fsubs f4, f4, f1 /* 8022BFC4 00228F24 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8022BFC8 00228F28 EC 25 01 72 */ fmuls f1, f5, f5 /* 8022BFCC 00228F2C EC 43 10 28 */ fsubs f2, f3, f2 /* 8022BFD0 00228F30 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 8022BFD4 00228F34 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8022BFD8 00228F38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022BFDC 00228F3C 4C 40 13 82 */ cror 2, 0, 2 /* 8022BFE0 00228F40 40 82 00 28 */ bne lbl_8022C008 /* 8022BFE4 00228F44 81 83 00 00 */ lwz r12, 0(r3) /* 8022BFE8 00228F48 C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022BFEC 00228F4C 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8022BFF0 00228F50 7D 89 03 A6 */ mtctr r12 /* 8022BFF4 00228F54 4E 80 04 21 */ bctrl /* 8022BFF8 00228F58 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 8022BFFC 00228F5C 7C 00 00 34 */ cntlzw r0, r0 /* 8022C000 00228F60 54 03 D9 7E */ srwi r3, r0, 5 /* 8022C004 00228F64 48 00 00 08 */ b lbl_8022C00C lbl_8022C008: /* 8022C008 00228F68 38 60 00 00 */ li r3, 0 lbl_8022C00C: /* 8022C00C 00228F6C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022C010 00228F70 7C 08 03 A6 */ mtlr r0 /* 8022C014 00228F74 38 21 00 10 */ addi r1, r1, 0x10 /* 8022C018 00228F78 4E 80 00 20 */ blr .global sub_8022c01c sub_8022c01c: /* 8022C01C 00228F7C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8022C020 00228F80 7C 08 02 A6 */ mflr r0 /* 8022C024 00228F84 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8022C028 00228F88 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 8022C02C 00228F8C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 8022C030 00228F90 93 E1 00 9C */ stw r31, 0x9c(r1) /* 8022C034 00228F94 93 C1 00 98 */ stw r30, 0x98(r1) /* 8022C038 00228F98 93 A1 00 94 */ stw r29, 0x94(r1) /* 8022C03C 00228F9C 7C 7D 1B 78 */ mr r29, r3 /* 8022C040 00228FA0 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022C044 00228FA4 C0 23 07 B8 */ lfs f1, 0x7b8(r3) /* 8022C048 00228FA8 7C 9E 23 78 */ mr r30, r4 /* 8022C04C 00228FAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022C050 00228FB0 4C 40 13 82 */ cror 2, 0, 2 /* 8022C054 00228FB4 40 82 02 08 */ bne lbl_8022C25C /* 8022C058 00228FB8 A0 65 00 00 */ lhz r3, 0(r5) /* 8022C05C 00228FBC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022C060 00228FC0 7C 03 00 40 */ cmplw r3, r0 /* 8022C064 00228FC4 41 82 01 F8 */ beq lbl_8022C25C /* 8022C068 00228FC8 B0 61 00 08 */ sth r3, 8(r1) /* 8022C06C 00228FCC 7F C3 F3 78 */ mr r3, r30 /* 8022C070 00228FD0 38 81 00 08 */ addi r4, r1, 8 /* 8022C074 00228FD4 4B E2 05 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022C078 00228FD8 7C 7F 1B 79 */ or. r31, r3, r3 /* 8022C07C 00228FDC 41 82 01 E0 */ beq lbl_8022C25C /* 8022C080 00228FE0 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 8022C084 00228FE4 7F C5 F3 78 */ mr r5, r30 /* 8022C088 00228FE8 38 61 00 38 */ addi r3, r1, 0x38 /* 8022C08C 00228FEC C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022C090 00228FF0 81 84 00 00 */ lwz r12, 0(r4) /* 8022C094 00228FF4 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022C098 00228FF8 7D 89 03 A6 */ mtctr r12 /* 8022C09C 00228FFC 4E 80 04 21 */ bctrl /* 8022C0A0 00229000 C0 81 00 38 */ lfs f4, 0x38(r1) /* 8022C0A4 00229004 C0 61 00 3C */ lfs f3, 0x3c(r1) /* 8022C0A8 00229008 C0 41 00 40 */ lfs f2, 0x40(r1) /* 8022C0AC 0022900C D0 81 00 84 */ stfs f4, 0x84(r1) /* 8022C0B0 00229010 D0 61 00 88 */ stfs f3, 0x88(r1) /* 8022C0B4 00229014 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 8022C0B8 00229018 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 8022C0BC 0022901C C0 3D 00 40 */ lfs f1, 0x40(r29) /* 8022C0C0 00229020 EC 63 00 28 */ fsubs f3, f3, f0 /* 8022C0C4 00229024 C0 1D 00 60 */ lfs f0, 0x60(r29) /* 8022C0C8 00229028 EC 84 08 28 */ fsubs f4, f4, f1 /* 8022C0CC 0022902C C0 BD 03 00 */ lfs f5, 0x300(r29) /* 8022C0D0 00229030 EC 42 00 28 */ fsubs f2, f2, f0 /* 8022C0D4 00229034 EC 23 00 F2 */ fmuls f1, f3, f3 /* 8022C0D8 00229038 EC 05 01 72 */ fmuls f0, f5, f5 /* 8022C0DC 0022903C EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 8022C0E0 00229040 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8022C0E4 00229044 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022C0E8 00229048 4C 41 13 82 */ cror 2, 1, 2 /* 8022C0EC 0022904C 40 82 01 70 */ bne lbl_8022C25C /* 8022C0F0 00229050 7F A3 EB 78 */ mr r3, r29 /* 8022C0F4 00229054 7F C4 F3 78 */ mr r4, r30 /* 8022C0F8 00229058 81 9D 00 00 */ lwz r12, 0(r29) /* 8022C0FC 0022905C C0 22 B5 B8 */ lfs f1, lbl_805AD2D8@sda21(r2) /* 8022C100 00229060 81 8C 01 E8 */ lwz r12, 0x1e8(r12) /* 8022C104 00229064 7D 89 03 A6 */ mtctr r12 /* 8022C108 00229068 4E 80 04 21 */ bctrl /* 8022C10C 0022906C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C110 00229070 40 82 01 4C */ bne lbl_8022C25C /* 8022C114 00229074 7F A4 EB 78 */ mr r4, r29 /* 8022C118 00229078 7F E5 FB 78 */ mr r5, r31 /* 8022C11C 0022907C 38 61 00 2C */ addi r3, r1, 0x2c /* 8022C120 00229080 4B FF C7 45 */ bl sub_80228864 /* 8022C124 00229084 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 8022C128 00229088 7F A3 EB 78 */ mr r3, r29 /* 8022C12C 0022908C C0 21 00 30 */ lfs f1, 0x30(r1) /* 8022C130 00229090 7F C4 F3 78 */ mr r4, r30 /* 8022C134 00229094 C0 01 00 34 */ lfs f0, 0x34(r1) /* 8022C138 00229098 38 A1 00 78 */ addi r5, r1, 0x78 /* 8022C13C 0022909C D0 41 00 78 */ stfs f2, 0x78(r1) /* 8022C140 002290A0 38 C1 00 84 */ addi r6, r1, 0x84 /* 8022C144 002290A4 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 8022C148 002290A8 D0 01 00 80 */ stfs f0, 0x80(r1) /* 8022C14C 002290AC 4B FC 8C 85 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 8022C150 002290B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C154 002290B4 40 82 01 08 */ bne lbl_8022C25C /* 8022C158 002290B8 C0 1D 06 C0 */ lfs f0, 0x6c0(r29) /* 8022C15C 002290BC 7F C4 F3 78 */ mr r4, r30 /* 8022C160 002290C0 38 61 00 20 */ addi r3, r1, 0x20 /* 8022C164 002290C4 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8022C168 002290C8 C0 1D 06 B8 */ lfs f0, 0x6b8(r29) /* 8022C16C 002290CC D0 01 00 0C */ stfs f0, 0xc(r1) /* 8022C170 002290D0 C0 3D 06 C4 */ lfs f1, 0x6c4(r29) /* 8022C174 002290D4 C0 5D 06 C0 */ lfs f2, 0x6c0(r29) /* 8022C178 002290D8 C0 7D 06 BC */ lfs f3, 0x6bc(r29) /* 8022C17C 002290DC C0 1D 06 B8 */ lfs f0, 0x6b8(r29) /* 8022C180 002290E0 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8022C184 002290E4 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 8022C188 002290E8 D0 41 00 70 */ stfs f2, 0x70(r1) /* 8022C18C 002290EC D0 21 00 74 */ stfs f1, 0x74(r1) /* 8022C190 002290F0 48 00 46 D5 */ bl sub_80230864 /* 8022C194 002290F4 C0 41 00 20 */ lfs f2, 0x20(r1) /* 8022C198 002290F8 38 61 00 5C */ addi r3, r1, 0x5c /* 8022C19C 002290FC C0 21 00 24 */ lfs f1, 0x24(r1) /* 8022C1A0 00229100 38 81 00 78 */ addi r4, r1, 0x78 /* 8022C1A4 00229104 C0 01 00 28 */ lfs f0, 0x28(r1) /* 8022C1A8 00229108 38 A1 00 68 */ addi r5, r1, 0x68 /* 8022C1AC 0022910C D0 41 00 5C */ stfs f2, 0x5c(r1) /* 8022C1B0 00229110 38 C1 00 10 */ addi r6, r1, 0x10 /* 8022C1B4 00229114 38 E1 00 0C */ addi r7, r1, 0xc /* 8022C1B8 00229118 D0 21 00 60 */ stfs f1, 0x60(r1) /* 8022C1BC 0022911C D0 01 00 64 */ stfs f0, 0x64(r1) /* 8022C1C0 00229120 48 00 44 49 */ bl sub_80230608 /* 8022C1C4 00229124 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8022C1C8 00229128 48 0E 8C 29 */ bl FastSinR__5CMathFf /* 8022C1CC 0022912C FF E0 08 90 */ fmr f31, f1 /* 8022C1D0 00229130 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8022C1D4 00229134 48 0E 8B 71 */ bl FastCosR__5CMathFf /* 8022C1D8 00229138 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022C1DC 0022913C 38 61 00 14 */ addi r3, r1, 0x14 /* 8022C1E0 00229140 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8022C1E4 00229144 38 9D 00 34 */ addi r4, r29, 0x34 /* 8022C1E8 00229148 38 A1 00 50 */ addi r5, r1, 0x50 /* 8022C1EC 0022914C D0 01 00 50 */ stfs f0, 0x50(r1) /* 8022C1F0 00229150 D3 E1 00 58 */ stfs f31, 0x58(r1) /* 8022C1F4 00229154 48 0E 68 8D */ bl Rotate__12CTransform4fCFRC9CVector3f /* 8022C1F8 00229158 C0 A2 B6 08 */ lfs f5, lbl_805AD328@sda21(r2) /* 8022C1FC 0022915C 7F A3 EB 78 */ mr r3, r29 /* 8022C200 00229160 C0 41 00 18 */ lfs f2, 0x18(r1) /* 8022C204 00229164 7F C4 F3 78 */ mr r4, r30 /* 8022C208 00229168 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 8022C20C 0022916C 38 A1 00 78 */ addi r5, r1, 0x78 /* 8022C210 00229170 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8022C214 00229174 EC 85 00 B2 */ fmuls f4, f5, f2 /* 8022C218 00229178 C0 C1 00 7C */ lfs f6, 0x7c(r1) /* 8022C21C 0022917C EC 45 00 72 */ fmuls f2, f5, f1 /* 8022C220 00229180 C0 61 00 80 */ lfs f3, 0x80(r1) /* 8022C224 00229184 EC 05 00 32 */ fmuls f0, f5, f0 /* 8022C228 00229188 C0 21 00 78 */ lfs f1, 0x78(r1) /* 8022C22C 0022918C EC 86 20 2A */ fadds f4, f6, f4 /* 8022C230 00229190 38 C1 00 44 */ addi r6, r1, 0x44 /* 8022C234 00229194 EC 43 10 2A */ fadds f2, f3, f2 /* 8022C238 00229198 EC 01 00 2A */ fadds f0, f1, f0 /* 8022C23C 0022919C D0 81 00 48 */ stfs f4, 0x48(r1) /* 8022C240 002291A0 D0 01 00 44 */ stfs f0, 0x44(r1) /* 8022C244 002291A4 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 8022C248 002291A8 4B FC 8B 89 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f /* 8022C24C 002291AC 54 60 06 3E */ clrlwi r0, r3, 0x18 /* 8022C250 002291B0 7C 00 00 34 */ cntlzw r0, r0 /* 8022C254 002291B4 54 03 D9 7E */ srwi r3, r0, 5 /* 8022C258 002291B8 48 00 00 08 */ b lbl_8022C260 lbl_8022C25C: /* 8022C25C 002291BC 38 60 00 00 */ li r3, 0 lbl_8022C260: /* 8022C260 002291C0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 8022C264 002291C4 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8022C268 002291C8 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 8022C26C 002291CC 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 8022C270 002291D0 83 C1 00 98 */ lwz r30, 0x98(r1) /* 8022C274 002291D4 83 A1 00 94 */ lwz r29, 0x94(r1) /* 8022C278 002291D8 7C 08 03 A6 */ mtlr r0 /* 8022C27C 002291DC 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8022C280 002291E0 4E 80 00 20 */ blr .global ShouldFire__12CElitePirateFR13CStateManagerf ShouldFire__12CElitePirateFR13CStateManagerf: /* 8022C284 002291E4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022C288 002291E8 7C 08 02 A6 */ mflr r0 /* 8022C28C 002291EC 90 01 00 14 */ stw r0, 0x14(r1) /* 8022C290 002291F0 38 A1 00 08 */ addi r5, r1, 8 /* 8022C294 002291F4 A0 03 07 72 */ lhz r0, 0x772(r3) /* 8022C298 002291F8 B0 01 00 08 */ sth r0, 8(r1) /* 8022C29C 002291FC 4B FF FD 81 */ bl sub_8022c01c /* 8022C2A0 00229200 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022C2A4 00229204 7C 08 03 A6 */ mtlr r0 /* 8022C2A8 00229208 38 21 00 10 */ addi r1, r1, 0x10 /* 8022C2AC 0022920C 4E 80 00 20 */ blr .global ShouldTaunt__12CElitePirateFR13CStateManagerf ShouldTaunt__12CElitePirateFR13CStateManagerf: /* 8022C2B0 00229210 C0 23 07 BC */ lfs f1, 0x7bc(r3) /* 8022C2B4 00229214 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022C2B8 00229218 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022C2BC 0022921C 4C 40 13 82 */ cror 2, 0, 2 /* 8022C2C0 00229220 7C 00 00 26 */ mfcr r0 /* 8022C2C4 00229224 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 8022C2C8 00229228 4E 80 00 20 */ blr .global ShouldTurn__12CElitePirateFR13CStateManagerf ShouldTurn__12CElitePirateFR13CStateManagerf: /* 8022C2CC 0022922C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8022C2D0 00229230 7C 08 02 A6 */ mflr r0 /* 8022C2D4 00229234 90 01 00 64 */ stw r0, 0x64(r1) /* 8022C2D8 00229238 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8022C2DC 0022923C 7C 7F 1B 78 */ mr r31, r3 /* 8022C2E0 00229240 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8022C2E4 00229244 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022C2E8 00229248 38 61 00 10 */ addi r3, r1, 0x10 /* 8022C2EC 0022924C C0 84 00 50 */ lfs f4, 0x50(r4) /* 8022C2F0 00229250 C0 04 00 40 */ lfs f0, 0x40(r4) /* 8022C2F4 00229254 EC 44 08 28 */ fsubs f2, f4, f1 /* 8022C2F8 00229258 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 8022C2FC 0022925C C0 A4 00 60 */ lfs f5, 0x60(r4) /* 8022C300 00229260 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 8022C304 00229264 EC 20 08 28 */ fsubs f1, f0, f1 /* 8022C308 00229268 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8022C30C 0022926C EC 65 18 28 */ fsubs f3, f5, f3 /* 8022C310 00229270 D0 81 00 38 */ stfs f4, 0x38(r1) /* 8022C314 00229274 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 8022C318 00229278 D0 21 00 40 */ stfs f1, 0x40(r1) /* 8022C31C 0022927C D0 41 00 44 */ stfs f2, 0x44(r1) /* 8022C320 00229280 D0 61 00 48 */ stfs f3, 0x48(r1) /* 8022C324 00229284 48 0E 7E DD */ bl __ct__9CVector2fFff /* 8022C328 00229288 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8022C32C 0022928C 38 61 00 08 */ addi r3, r1, 8 /* 8022C330 00229290 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8022C334 00229294 D0 21 00 20 */ stfs f1, 0x20(r1) /* 8022C338 00229298 D0 01 00 24 */ stfs f0, 0x24(r1) /* 8022C33C 0022929C C0 5F 00 48 */ lfs f2, 0x48(r31) /* 8022C340 002292A0 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 8022C344 002292A4 C0 1F 00 58 */ lfs f0, 0x58(r31) /* 8022C348 002292A8 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8022C34C 002292AC D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8022C350 002292B0 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8022C354 002292B4 48 0E 7E AD */ bl __ct__9CVector2fFff /* 8022C358 002292B8 C0 21 00 08 */ lfs f1, 8(r1) /* 8022C35C 002292BC 38 61 00 18 */ addi r3, r1, 0x18 /* 8022C360 002292C0 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8022C364 002292C4 38 81 00 20 */ addi r4, r1, 0x20 /* 8022C368 002292C8 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8022C36C 002292CC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8022C370 002292D0 48 0E 7C 55 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f /* 8022C374 002292D4 C0 02 B6 0C */ lfs f0, lbl_805AD32C@sda21(r2) /* 8022C378 002292D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022C37C 002292DC 7C 00 00 26 */ mfcr r0 /* 8022C380 002292E0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f /* 8022C384 002292E4 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8022C388 002292E8 80 01 00 64 */ lwz r0, 0x64(r1) /* 8022C38C 002292EC 7C 08 03 A6 */ mtlr r0 /* 8022C390 002292F0 38 21 00 60 */ addi r1, r1, 0x60 /* 8022C394 002292F4 4E 80 00 20 */ blr .global InDetectionRange__12CElitePirateFR13CStateManagerf InDetectionRange__12CElitePirateFR13CStateManagerf: /* 8022C398 002292F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022C39C 002292FC 7C 08 02 A6 */ mflr r0 /* 8022C3A0 00229300 90 01 00 14 */ stw r0, 0x14(r1) /* 8022C3A4 00229304 88 03 09 88 */ lbz r0, 0x988(r3) /* 8022C3A8 00229308 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8022C3AC 0022930C 41 82 00 0C */ beq lbl_8022C3B8 /* 8022C3B0 00229310 38 60 00 01 */ li r3, 1 /* 8022C3B4 00229314 48 00 00 08 */ b lbl_8022C3BC lbl_8022C3B8: /* 8022C3B8 00229318 4B FC 9F B5 */ bl InDetectionRange__10CPatternedFR13CStateManagerf lbl_8022C3BC: /* 8022C3BC 0022931C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022C3C0 00229320 7C 08 03 A6 */ mtlr r0 /* 8022C3C4 00229324 38 21 00 10 */ addi r1, r1, 0x10 /* 8022C3C8 00229328 4E 80 00 20 */ blr .global SpotPlayer__12CElitePirateFR13CStateManagerf SpotPlayer__12CElitePirateFR13CStateManagerf: /* 8022C3CC 0022932C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022C3D0 00229330 7C 08 02 A6 */ mflr r0 /* 8022C3D4 00229334 90 01 00 14 */ stw r0, 0x14(r1) /* 8022C3D8 00229338 88 03 09 88 */ lbz r0, 0x988(r3) /* 8022C3DC 0022933C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 8022C3E0 00229340 41 82 00 0C */ beq lbl_8022C3EC /* 8022C3E4 00229344 38 60 00 01 */ li r3, 1 /* 8022C3E8 00229348 48 00 00 08 */ b lbl_8022C3F0 lbl_8022C3EC: /* 8022C3EC 0022934C 4B FC 9E 11 */ bl SpotPlayer__10CPatternedFR13CStateManagerf lbl_8022C3F0: /* 8022C3F0 00229350 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022C3F4 00229354 7C 08 03 A6 */ mtlr r0 /* 8022C3F8 00229358 38 21 00 10 */ addi r1, r1, 0x10 /* 8022C3FC 0022935C 4E 80 00 20 */ blr .global DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__12CElitePirateFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 8022C400 00229360 94 21 FE 20 */ stwu r1, -0x1e0(r1) /* 8022C404 00229364 7C 08 02 A6 */ mflr r0 /* 8022C408 00229368 90 01 01 E4 */ stw r0, 0x1e4(r1) /* 8022C40C 0022936C DB E1 01 D0 */ stfd f31, 0x1d0(r1) /* 8022C410 00229370 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0 /* 8022C414 00229374 DB C1 01 C0 */ stfd f30, 0x1c0(r1) /* 8022C418 00229378 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0 /* 8022C41C 0022937C DB A1 01 B0 */ stfd f29, 0x1b0(r1) /* 8022C420 00229380 F3 A1 01 B8 */ psq_st f29, 440(r1), 0, qr0 /* 8022C424 00229384 BF 21 01 94 */ stmw r25, 0x194(r1) /* 8022C428 00229388 7C DF 33 78 */ mr r31, r6 /* 8022C42C 0022938C FF E0 08 90 */ fmr f31, f1 /* 8022C430 00229390 28 1F 00 17 */ cmplwi r31, 0x17 /* 8022C434 00229394 7C 7C 1B 78 */ mr r28, r3 /* 8022C438 00229398 7C 9D 23 78 */ mr r29, r4 /* 8022C43C 0022939C 7C BE 2B 78 */ mr r30, r5 /* 8022C440 002293A0 38 C0 00 00 */ li r6, 0 /* 8022C444 002293A4 41 81 03 64 */ bgt lbl_8022C7A8 /* 8022C448 002293A8 3C A0 80 3E */ lis r5, lbl_803E7DC0@ha /* 8022C44C 002293AC 57 E0 10 3A */ slwi r0, r31, 2 /* 8022C450 002293B0 38 A5 7D C0 */ addi r5, r5, lbl_803E7DC0@l /* 8022C454 002293B4 7C 05 00 2E */ lwzx r0, r5, r0 /* 8022C458 002293B8 7C 09 03 A6 */ mtctr r0 /* 8022C45C 002293BC 4E 80 04 20 */ bctr /* 8022C460 002293C0 A0 7C 07 72 */ lhz r3, 0x772(r28) /* 8022C464 002293C4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022C468 002293C8 7C 03 00 40 */ cmplw r3, r0 /* 8022C46C 002293CC 41 82 00 3C */ beq lbl_8022C4A8 /* 8022C470 002293D0 A0 1C 07 72 */ lhz r0, 0x772(r28) /* 8022C474 002293D4 7F A3 EB 78 */ mr r3, r29 /* 8022C478 002293D8 38 81 00 24 */ addi r4, r1, 0x24 /* 8022C47C 002293DC B0 01 00 24 */ sth r0, 0x24(r1) /* 8022C480 002293E0 4B E2 00 F5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022C484 002293E4 7C 64 1B 79 */ or. r4, r3, r3 /* 8022C488 002293E8 41 82 00 20 */ beq lbl_8022C4A8 /* 8022C48C 002293EC A0 1C 00 08 */ lhz r0, 8(r28) /* 8022C490 002293F0 7F A3 EB 78 */ mr r3, r29 /* 8022C494 002293F4 38 A1 00 20 */ addi r5, r1, 0x20 /* 8022C498 002293F8 38 C0 00 13 */ li r6, 0x13 /* 8022C49C 002293FC B0 01 00 1C */ sth r0, 0x1c(r1) /* 8022C4A0 00229400 B0 01 00 20 */ sth r0, 0x20(r1) /* 8022C4A4 00229404 4B E1 7A 2D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_8022C4A8: /* 8022C4A8 00229408 38 C0 00 01 */ li r6, 1 /* 8022C4AC 0022940C 48 00 02 FC */ b lbl_8022C7A8 /* 8022C4B0 00229410 7F 84 E3 78 */ mr r4, r28 /* 8022C4B4 00229414 38 61 00 FC */ addi r3, r1, 0xfc /* 8022C4B8 00229418 38 BE 00 3C */ addi r5, r30, 0x3c /* 8022C4BC 0022941C 4B E4 C4 BD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8022C4C0 00229420 38 61 01 5C */ addi r3, r1, 0x15c /* 8022C4C4 00229424 38 81 00 FC */ addi r4, r1, 0xfc /* 8022C4C8 00229428 48 0E 66 AD */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022C4CC 0022942C C0 FC 00 50 */ lfs f7, 0x50(r28) /* 8022C4D0 00229430 38 61 00 CC */ addi r3, r1, 0xcc /* 8022C4D4 00229434 C0 01 01 78 */ lfs f0, 0x178(r1) /* 8022C4D8 00229438 38 81 00 6C */ addi r4, r1, 0x6c /* 8022C4DC 0022943C C1 1C 00 40 */ lfs f8, 0x40(r28) /* 8022C4E0 00229440 C0 21 01 68 */ lfs f1, 0x168(r1) /* 8022C4E4 00229444 EC 00 38 28 */ fsubs f0, f0, f7 /* 8022C4E8 00229448 C0 9C 00 48 */ lfs f4, 0x48(r28) /* 8022C4EC 0022944C EC 21 40 28 */ fsubs f1, f1, f8 /* 8022C4F0 00229450 C0 DC 00 60 */ lfs f6, 0x60(r28) /* 8022C4F4 00229454 C0 41 01 88 */ lfs f2, 0x188(r1) /* 8022C4F8 00229458 EC 00 01 32 */ fmuls f0, f0, f4 /* 8022C4FC 0022945C C0 7C 00 38 */ lfs f3, 0x38(r28) /* 8022C500 00229460 EC 42 30 28 */ fsubs f2, f2, f6 /* 8022C504 00229464 EC 01 00 FA */ fmadds f0, f1, f3, f0 /* 8022C508 00229468 C0 3C 00 58 */ lfs f1, 0x58(r28) /* 8022C50C 0022946C D1 01 00 60 */ stfs f8, 0x60(r1) /* 8022C510 00229470 EC A2 00 7A */ fmadds f5, f2, f1, f0 /* 8022C514 00229474 D0 E1 00 64 */ stfs f7, 0x64(r1) /* 8022C518 00229478 D0 C1 00 68 */ stfs f6, 0x68(r1) /* 8022C51C 0022947C EC 05 00 72 */ fmuls f0, f5, f1 /* 8022C520 00229480 EC 45 00 F2 */ fmuls f2, f5, f3 /* 8022C524 00229484 EC 25 01 32 */ fmuls f1, f5, f4 /* 8022C528 00229488 EC 06 00 2A */ fadds f0, f6, f0 /* 8022C52C 0022948C EC 48 10 2A */ fadds f2, f8, f2 /* 8022C530 00229490 EC 27 08 2A */ fadds f1, f7, f1 /* 8022C534 00229494 D0 01 00 74 */ stfs f0, 0x74(r1) /* 8022C538 00229498 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8022C53C 0022949C D0 21 00 70 */ stfs f1, 0x70(r1) /* 8022C540 002294A0 D0 C1 00 74 */ stfs f6, 0x74(r1) /* 8022C544 002294A4 48 0E 6B FD */ bl Translate__12CTransform4fFRC9CVector3f /* 8022C548 002294A8 38 61 01 2C */ addi r3, r1, 0x12c /* 8022C54C 002294AC 38 81 00 CC */ addi r4, r1, 0xcc /* 8022C550 002294B0 48 0E 66 25 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022C554 002294B4 3C 60 80 3D */ lis r3, lbl_803D3310@ha /* 8022C558 002294B8 3B 40 00 00 */ li r26, 0 /* 8022C55C 002294BC 38 63 33 10 */ addi r3, r3, lbl_803D3310@l /* 8022C560 002294C0 3B 20 00 00 */ li r25, 0 /* 8022C564 002294C4 38 83 00 B8 */ addi r4, r3, 0xb8 /* 8022C568 002294C8 38 60 09 88 */ li r3, 0x988 /* 8022C56C 002294CC 38 A0 00 00 */ li r5, 0 /* 8022C570 002294D0 48 0E 92 FD */ bl __nw__FUlPCcPCc /* 8022C574 002294D4 7C 7B 1B 79 */ or. r27, r3, r3 /* 8022C578 002294D8 41 82 01 00 */ beq lbl_8022C678 /* 8022C57C 002294DC 7F 83 E3 78 */ mr r3, r28 /* 8022C580 002294E0 81 9C 00 00 */ lwz r12, 0(r28) /* 8022C584 002294E4 81 8C 02 D0 */ lwz r12, 0x2d0(r12) /* 8022C588 002294E8 7D 89 03 A6 */ mtctr r12 /* 8022C58C 002294EC 4E 80 04 21 */ bctrl /* 8022C590 002294F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C594 002294F4 41 82 00 0C */ beq lbl_8022C5A0 /* 8022C598 002294F8 C3 C2 B5 D0 */ lfs f30, lbl_805AD2F0@sda21(r2) /* 8022C59C 002294FC 48 00 00 08 */ b lbl_8022C5A4 lbl_8022C5A0: /* 8022C5A0 00229500 C3 C2 B5 BC */ lfs f30, lbl_805AD2DC@sda21(r2) lbl_8022C5A4: /* 8022C5A4 00229504 7F 83 E3 78 */ mr r3, r28 /* 8022C5A8 00229508 81 9C 00 00 */ lwz r12, 0(r28) /* 8022C5AC 0022950C 81 8C 02 D0 */ lwz r12, 0x2d0(r12) /* 8022C5B0 00229510 7D 89 03 A6 */ mtctr r12 /* 8022C5B4 00229514 4E 80 04 21 */ bctrl /* 8022C5B8 00229518 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C5BC 0022951C 41 82 00 0C */ beq lbl_8022C5C8 /* 8022C5C0 00229520 C3 A2 B6 10 */ lfs f29, lbl_805AD330@sda21(r2) /* 8022C5C4 00229524 48 00 00 08 */ b lbl_8022C5CC lbl_8022C5C8: /* 8022C5C8 00229528 C3 A2 B6 14 */ lfs f29, lbl_805AD334@sda21(r2) lbl_8022C5CC: /* 8022C5CC 0022952C A0 FC 00 08 */ lhz r7, 8(r28) /* 8022C5D0 00229530 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 8022C5D4 00229534 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 8022C5D8 00229538 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 8022C5DC 0022953C B0 E1 00 18 */ sth r7, 0x18(r1) /* 8022C5E0 00229540 38 61 00 78 */ addi r3, r1, 0x78 /* 8022C5E4 00229544 38 81 00 40 */ addi r4, r1, 0x40 /* 8022C5E8 00229548 38 C1 00 44 */ addi r6, r1, 0x44 /* 8022C5EC 0022954C 90 01 00 44 */ stw r0, 0x44(r1) /* 8022C5F0 00229550 80 1C 00 04 */ lwz r0, 4(r28) /* 8022C5F4 00229554 B0 E1 00 14 */ sth r7, 0x14(r1) /* 8022C5F8 00229558 90 01 00 3C */ stw r0, 0x3c(r1) /* 8022C5FC 0022955C 90 01 00 40 */ stw r0, 0x40(r1) /* 8022C600 00229560 4B E2 4E 85 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 8022C604 00229564 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 8022C608 00229568 38 61 00 50 */ addi r3, r1, 0x50 /* 8022C60C 0022956C 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 8022C610 00229570 3B 40 00 01 */ li r26, 1 /* 8022C614 00229574 38 84 00 E8 */ addi r4, r4, 0xe8 /* 8022C618 00229578 4B DD 86 A1 */ bl string_l__4rstlFPCc /* 8022C61C 0022957C 7F A4 EB 78 */ mr r4, r29 /* 8022C620 00229580 38 61 00 0C */ addi r3, r1, 0xc /* 8022C624 00229584 3B 20 00 01 */ li r25, 1 /* 8022C628 00229588 4B E2 0A B5 */ bl AllocateUniqueId__13CStateManagerFv /* 8022C62C 0022958C A0 01 00 0C */ lhz r0, 0xc(r1) /* 8022C630 00229590 7F 84 E3 78 */ mr r4, r28 /* 8022C634 00229594 38 61 00 90 */ addi r3, r1, 0x90 /* 8022C638 00229598 B0 01 00 10 */ sth r0, 0x10(r1) /* 8022C63C 0022959C 81 9C 00 00 */ lwz r12, 0(r28) /* 8022C640 002295A0 81 8C 02 DC */ lwz r12, 0x2dc(r12) /* 8022C644 002295A4 7D 89 03 A6 */ mtctr r12 /* 8022C648 002295A8 4E 80 04 21 */ bctrl /* 8022C64C 002295AC FC 20 E8 90 */ fmr f1, f29 /* 8022C650 002295B0 7F 63 DB 78 */ mr r3, r27 /* 8022C654 002295B4 FC 40 F0 90 */ fmr f2, f30 /* 8022C658 002295B8 38 81 00 10 */ addi r4, r1, 0x10 /* 8022C65C 002295BC 38 A1 00 50 */ addi r5, r1, 0x50 /* 8022C660 002295C0 38 C1 00 78 */ addi r6, r1, 0x78 /* 8022C664 002295C4 38 E1 01 2C */ addi r7, r1, 0x12c /* 8022C668 002295C8 39 01 00 18 */ addi r8, r1, 0x18 /* 8022C66C 002295CC 39 21 00 90 */ addi r9, r1, 0x90 /* 8022C670 002295D0 48 00 5C E9 */ bl __ct__10CShockWaveFv /* 8022C674 002295D4 7C 7B 1B 78 */ mr r27, r3 lbl_8022C678: /* 8022C678 002295D8 7F 20 07 75 */ extsb. r0, r25 /* 8022C67C 002295DC 41 82 00 0C */ beq lbl_8022C688 /* 8022C680 002295E0 38 61 00 50 */ addi r3, r1, 0x50 /* 8022C684 002295E4 48 11 14 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8022C688: /* 8022C688 002295E8 7F 40 07 75 */ extsb. r0, r26 /* 8022C68C 002295EC 41 82 00 44 */ beq lbl_8022C6D0 /* 8022C690 002295F0 80 01 00 80 */ lwz r0, 0x80(r1) /* 8022C694 002295F4 80 61 00 88 */ lwz r3, 0x88(r1) /* 8022C698 002295F8 1C 00 00 0C */ mulli r0, r0, 0xc /* 8022C69C 002295FC 90 61 00 30 */ stw r3, 0x30(r1) /* 8022C6A0 00229600 7C 64 1B 78 */ mr r4, r3 /* 8022C6A4 00229604 7C 03 02 14 */ add r0, r3, r0 /* 8022C6A8 00229608 90 61 00 2C */ stw r3, 0x2c(r1) /* 8022C6AC 0022960C 90 01 00 38 */ stw r0, 0x38(r1) /* 8022C6B0 00229610 90 01 00 34 */ stw r0, 0x34(r1) /* 8022C6B4 00229614 48 00 00 08 */ b lbl_8022C6BC lbl_8022C6B8: /* 8022C6B8 00229618 38 84 00 0C */ addi r4, r4, 0xc lbl_8022C6BC: /* 8022C6BC 0022961C 7C 04 00 40 */ cmplw r4, r0 /* 8022C6C0 00229620 40 82 FF F8 */ bne lbl_8022C6B8 /* 8022C6C4 00229624 28 03 00 00 */ cmplwi r3, 0 /* 8022C6C8 00229628 41 82 00 08 */ beq lbl_8022C6D0 /* 8022C6CC 0022962C 48 0E 92 65 */ bl Free__7CMemoryFPCv lbl_8022C6D0: /* 8022C6D0 00229630 28 1B 00 00 */ cmplwi r27, 0 /* 8022C6D4 00229634 41 82 00 10 */ beq lbl_8022C6E4 /* 8022C6D8 00229638 7F A3 EB 78 */ mr r3, r29 /* 8022C6DC 0022963C 7F 64 DB 78 */ mr r4, r27 /* 8022C6E0 00229640 4B E2 06 15 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence lbl_8022C6E4: /* 8022C6E4 00229644 38 C0 00 01 */ li r6, 1 /* 8022C6E8 00229648 48 00 00 C0 */ b lbl_8022C7A8 /* 8022C6EC 0022964C 88 1C 09 88 */ lbz r0, 0x988(r28) /* 8022C6F0 00229650 38 60 00 01 */ li r3, 1 /* 8022C6F4 00229654 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022C6F8 00229658 38 C0 00 01 */ li r6, 1 /* 8022C6FC 0022965C 98 1C 09 88 */ stb r0, 0x988(r28) /* 8022C700 00229660 48 00 00 A8 */ b lbl_8022C7A8 /* 8022C704 00229664 88 1C 09 88 */ lbz r0, 0x988(r28) /* 8022C708 00229668 38 60 00 00 */ li r3, 0 /* 8022C70C 0022966C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022C710 00229670 38 C0 00 01 */ li r6, 1 /* 8022C714 00229674 98 1C 09 88 */ stb r0, 0x988(r28) /* 8022C718 00229678 48 00 00 90 */ b lbl_8022C7A8 /* 8022C71C 0022967C 4B FF BC 8D */ bl sub_802283a8 /* 8022C720 00229680 38 C0 00 01 */ li r6, 1 /* 8022C724 00229684 48 00 00 84 */ b lbl_8022C7A8 /* 8022C728 00229688 81 83 00 00 */ lwz r12, 0(r3) /* 8022C72C 0022968C 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022C730 00229690 7D 89 03 A6 */ mtctr r12 /* 8022C734 00229694 4E 80 04 21 */ bctrl /* 8022C738 00229698 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C73C 0022969C 41 82 00 68 */ beq lbl_8022C7A4 /* 8022C740 002296A0 3B 60 00 00 */ li r27, 0 /* 8022C744 002296A4 48 00 00 50 */ b lbl_8022C794 lbl_8022C748: /* 8022C748 002296A8 80 7C 07 30 */ lwz r3, 0x730(r28) /* 8022C74C 002296AC 7F 64 DB 78 */ mr r4, r27 /* 8022C750 002296B0 4B F7 AA E9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8022C754 002296B4 A0 03 00 3C */ lhz r0, 0x3c(r3) /* 8022C758 002296B8 7F A3 EB 78 */ mr r3, r29 /* 8022C75C 002296BC 38 81 00 08 */ addi r4, r1, 8 /* 8022C760 002296C0 B0 01 00 28 */ sth r0, 0x28(r1) /* 8022C764 002296C4 B0 01 00 08 */ sth r0, 8(r1) /* 8022C768 002296C8 4B E1 FE 0D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022C76C 002296CC 7C 64 1B 78 */ mr r4, r3 /* 8022C770 002296D0 38 61 00 48 */ addi r3, r1, 0x48 /* 8022C774 002296D4 4B E8 2B D9 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022C778 002296D8 80 63 00 04 */ lwz r3, 4(r3) /* 8022C77C 002296DC 28 03 00 00 */ cmplwi r3, 0 /* 8022C780 002296E0 41 82 00 10 */ beq lbl_8022C790 /* 8022C784 002296E4 7F A5 EB 78 */ mr r5, r29 /* 8022C788 002296E8 38 80 00 12 */ li r4, 0x12 /* 8022C78C 002296EC 4B E2 7B C5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_8022C790: /* 8022C790 002296F0 3B 7B 00 01 */ addi r27, r27, 1 lbl_8022C794: /* 8022C794 002296F4 80 7C 07 30 */ lwz r3, 0x730(r28) /* 8022C798 002296F8 4B F7 AA B1 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 8022C79C 002296FC 7C 1B 18 40 */ cmplw r27, r3 /* 8022C7A0 00229700 41 80 FF A8 */ blt lbl_8022C748 lbl_8022C7A4: /* 8022C7A4 00229704 38 C0 00 01 */ li r6, 1 lbl_8022C7A8: /* 8022C7A8 00229708 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 8022C7AC 0022970C 40 82 00 1C */ bne lbl_8022C7C8 /* 8022C7B0 00229710 FC 20 F8 90 */ fmr f1, f31 /* 8022C7B4 00229714 7F 83 E3 78 */ mr r3, r28 /* 8022C7B8 00229718 7F A4 EB 78 */ mr r4, r29 /* 8022C7BC 0022971C 7F C5 F3 78 */ mr r5, r30 /* 8022C7C0 00229720 7F E6 FB 78 */ mr r6, r31 /* 8022C7C4 00229724 4B E4 C6 ED */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_8022C7C8: /* 8022C7C8 00229728 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0 /* 8022C7CC 0022972C CB E1 01 D0 */ lfd f31, 0x1d0(r1) /* 8022C7D0 00229730 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0 /* 8022C7D4 00229734 CB C1 01 C0 */ lfd f30, 0x1c0(r1) /* 8022C7D8 00229738 E3 A1 01 B8 */ psq_l f29, 440(r1), 0, qr0 /* 8022C7DC 0022973C CB A1 01 B0 */ lfd f29, 0x1b0(r1) /* 8022C7E0 00229740 BB 21 01 94 */ lmw r25, 0x194(r1) /* 8022C7E4 00229744 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 8022C7E8 00229748 7C 08 03 A6 */ mtlr r0 /* 8022C7EC 0022974C 38 21 01 E0 */ addi r1, r1, 0x1e0 /* 8022C7F0 00229750 4E 80 00 20 */ blr .global GetDamageVulnerability__12CElitePirateCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__12CElitePirateCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 8022C7F4 00229754 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha /* 8022C7F8 00229758 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l /* 8022C7FC 0022975C 4E 80 00 20 */ blr .global GetDamageVulnerability__12CElitePirateCFv GetDamageVulnerability__12CElitePirateCFv: /* 8022C800 00229760 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha /* 8022C804 00229764 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l /* 8022C808 00229768 4E 80 00 20 */ blr .global TakeDamage__12CElitePirateFRC9CVector3ff TakeDamage__12CElitePirateFRC9CVector3ff: /* 8022C80C 0022976C 4E 80 00 20 */ blr .global GetOrbitPosition__12CElitePirateCFRC13CStateManager GetOrbitPosition__12CElitePirateCFRC13CStateManager: /* 8022C810 00229770 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8022C814 00229774 7C 08 02 A6 */ mflr r0 /* 8022C818 00229778 90 01 00 74 */ stw r0, 0x74(r1) /* 8022C81C 0022977C 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8022C820 00229780 7C BF 2B 78 */ mr r31, r5 /* 8022C824 00229784 93 C1 00 68 */ stw r30, 0x68(r1) /* 8022C828 00229788 7C 9E 23 78 */ mr r30, r4 /* 8022C82C 0022978C 93 A1 00 64 */ stw r29, 0x64(r1) /* 8022C830 00229790 7C 7D 1B 78 */ mr r29, r3 /* 8022C834 00229794 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022C838 00229798 A0 84 07 72 */ lhz r4, 0x772(r4) /* 8022C83C 0022979C 7C 04 00 40 */ cmplw r4, r0 /* 8022C840 002297A0 41 82 00 40 */ beq lbl_8022C880 /* 8022C844 002297A4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 8022C848 002297A8 80 63 00 00 */ lwz r3, 0(r3) /* 8022C84C 002297AC 80 03 00 14 */ lwz r0, 0x14(r3) /* 8022C850 002297B0 2C 00 00 03 */ cmpwi r0, 3 /* 8022C854 002297B4 40 82 00 2C */ bne lbl_8022C880 /* 8022C858 002297B8 B0 81 00 10 */ sth r4, 0x10(r1) /* 8022C85C 002297BC 7F E3 FB 78 */ mr r3, r31 /* 8022C860 002297C0 38 81 00 10 */ addi r4, r1, 0x10 /* 8022C864 002297C4 4B E1 FD 41 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022C868 002297C8 7C 65 1B 79 */ or. r5, r3, r3 /* 8022C86C 002297CC 41 82 00 14 */ beq lbl_8022C880 /* 8022C870 002297D0 7F A3 EB 78 */ mr r3, r29 /* 8022C874 002297D4 7F C4 F3 78 */ mr r4, r30 /* 8022C878 002297D8 4B FF BF ED */ bl sub_80228864 /* 8022C87C 002297DC 48 00 00 B4 */ b lbl_8022C930 lbl_8022C880: /* 8022C880 002297E0 7F C3 F3 78 */ mr r3, r30 /* 8022C884 002297E4 81 9E 00 00 */ lwz r12, 0(r30) /* 8022C888 002297E8 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022C88C 002297EC 7D 89 03 A6 */ mtctr r12 /* 8022C890 002297F0 4E 80 04 21 */ bctrl /* 8022C894 002297F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C898 002297F8 41 82 00 4C */ beq lbl_8022C8E4 /* 8022C89C 002297FC A0 1E 07 70 */ lhz r0, 0x770(r30) /* 8022C8A0 00229800 7F E3 FB 78 */ mr r3, r31 /* 8022C8A4 00229804 38 81 00 0C */ addi r4, r1, 0xc /* 8022C8A8 00229808 B0 01 00 0C */ sth r0, 0xc(r1) /* 8022C8AC 0022980C 4B E1 FC F9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022C8B0 00229810 7C 64 1B 78 */ mr r4, r3 /* 8022C8B4 00229814 38 61 00 14 */ addi r3, r1, 0x14 /* 8022C8B8 00229818 4B E8 2A 95 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022C8BC 0022981C 80 63 00 04 */ lwz r3, 4(r3) /* 8022C8C0 00229820 28 03 00 00 */ cmplwi r3, 0 /* 8022C8C4 00229824 41 82 00 20 */ beq lbl_8022C8E4 /* 8022C8C8 00229828 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8022C8CC 0022982C C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022C8D0 00229830 C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022C8D4 00229834 D0 1D 00 00 */ stfs f0, 0(r29) /* 8022C8D8 00229838 D0 3D 00 04 */ stfs f1, 4(r29) /* 8022C8DC 0022983C D0 5D 00 08 */ stfs f2, 8(r29) /* 8022C8E0 00229840 48 00 00 50 */ b lbl_8022C930 lbl_8022C8E4: /* 8022C8E4 00229844 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 8022C8E8 00229848 38 61 00 1C */ addi r3, r1, 0x1c /* 8022C8EC 0022984C 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 8022C8F0 00229850 38 C1 00 08 */ addi r6, r1, 8 /* 8022C8F4 00229854 38 84 00 A5 */ addi r4, r4, 0xa5 /* 8022C8F8 00229858 38 A0 FF FF */ li r5, -1 /* 8022C8FC 0022985C 48 11 18 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" /* 8022C900 00229860 7F C4 F3 78 */ mr r4, r30 /* 8022C904 00229864 38 61 00 2C */ addi r3, r1, 0x2c /* 8022C908 00229868 38 A1 00 1C */ addi r5, r1, 0x1c /* 8022C90C 0022986C 4B E4 C0 6D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8022C910 00229870 C0 41 00 58 */ lfs f2, 0x58(r1) /* 8022C914 00229874 38 61 00 1C */ addi r3, r1, 0x1c /* 8022C918 00229878 C0 21 00 48 */ lfs f1, 0x48(r1) /* 8022C91C 0022987C C0 01 00 38 */ lfs f0, 0x38(r1) /* 8022C920 00229880 D0 1D 00 00 */ stfs f0, 0(r29) /* 8022C924 00229884 D0 3D 00 04 */ stfs f1, 4(r29) /* 8022C928 00229888 D0 5D 00 08 */ stfs f2, 8(r29) /* 8022C92C 0022988C 48 11 11 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8022C930: /* 8022C930 00229890 80 01 00 74 */ lwz r0, 0x74(r1) /* 8022C934 00229894 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8022C938 00229898 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8022C93C 0022989C 83 A1 00 64 */ lwz r29, 0x64(r1) /* 8022C940 002298A0 7C 08 03 A6 */ mtlr r0 /* 8022C944 002298A4 38 21 00 70 */ addi r1, r1, 0x70 /* 8022C948 002298A8 4E 80 00 20 */ blr .global GetAimPosition__12CElitePirateCFRC13CStateManagerf GetAimPosition__12CElitePirateCFRC13CStateManagerf: /* 8022C94C 002298AC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022C950 002298B0 7C 08 02 A6 */ mflr r0 /* 8022C954 002298B4 90 01 00 34 */ stw r0, 0x34(r1) /* 8022C958 002298B8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022C95C 002298BC 93 C1 00 28 */ stw r30, 0x28(r1) /* 8022C960 002298C0 7C BE 2B 78 */ mr r30, r5 /* 8022C964 002298C4 93 A1 00 24 */ stw r29, 0x24(r1) /* 8022C968 002298C8 7C 9D 23 78 */ mr r29, r4 /* 8022C96C 002298CC 93 81 00 20 */ stw r28, 0x20(r1) /* 8022C970 002298D0 7C 7C 1B 78 */ mr r28, r3 /* 8022C974 002298D4 80 85 08 B8 */ lwz r4, 0x8b8(r5) /* 8022C978 002298D8 80 7D 05 D4 */ lwz r3, 0x5d4(r29) /* 8022C97C 002298DC 83 E4 00 00 */ lwz r31, 0(r4) /* 8022C980 002298E0 4B F7 AA 3D */ bl GetActive__22CCollisionActorManagerCFv /* 8022C984 002298E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022C988 002298E8 41 82 00 64 */ beq lbl_8022C9EC /* 8022C98C 002298EC 88 1F 00 00 */ lbz r0, 0(r31) /* 8022C990 002298F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8022C994 002298F4 41 82 00 58 */ beq lbl_8022C9EC /* 8022C998 002298F8 80 1F 00 08 */ lwz r0, 8(r31) /* 8022C99C 002298FC 2C 00 00 02 */ cmpwi r0, 2 /* 8022C9A0 00229900 40 82 00 4C */ bne lbl_8022C9EC /* 8022C9A4 00229904 A0 1D 07 9C */ lhz r0, 0x79c(r29) /* 8022C9A8 00229908 7F C3 F3 78 */ mr r3, r30 /* 8022C9AC 0022990C 38 81 00 08 */ addi r4, r1, 8 /* 8022C9B0 00229910 B0 01 00 08 */ sth r0, 8(r1) /* 8022C9B4 00229914 4B E1 FB F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022C9B8 00229918 7C 64 1B 78 */ mr r4, r3 /* 8022C9BC 0022991C 38 61 00 0C */ addi r3, r1, 0xc /* 8022C9C0 00229920 4B E8 29 8D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022C9C4 00229924 80 63 00 04 */ lwz r3, 4(r3) /* 8022C9C8 00229928 28 03 00 00 */ cmplwi r3, 0 /* 8022C9CC 0022992C 41 82 00 20 */ beq lbl_8022C9EC /* 8022C9D0 00229930 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8022C9D4 00229934 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022C9D8 00229938 C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022C9DC 0022993C D0 1C 00 00 */ stfs f0, 0(r28) /* 8022C9E0 00229940 D0 3C 00 04 */ stfs f1, 4(r28) /* 8022C9E4 00229944 D0 5C 00 08 */ stfs f2, 8(r28) /* 8022C9E8 00229948 48 00 00 20 */ b lbl_8022CA08 lbl_8022C9EC: /* 8022C9EC 0022994C 7F A4 EB 78 */ mr r4, r29 /* 8022C9F0 00229950 7F 83 E3 78 */ mr r3, r28 /* 8022C9F4 00229954 81 9D 00 00 */ lwz r12, 0(r29) /* 8022C9F8 00229958 7F C5 F3 78 */ mr r5, r30 /* 8022C9FC 0022995C 81 8C 00 48 */ lwz r12, 0x48(r12) /* 8022CA00 00229960 7D 89 03 A6 */ mtctr r12 /* 8022CA04 00229964 4E 80 04 21 */ bctrl lbl_8022CA08: /* 8022CA08 00229968 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022CA0C 0022996C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022CA10 00229970 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8022CA14 00229974 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8022CA18 00229978 83 81 00 20 */ lwz r28, 0x20(r1) /* 8022CA1C 0022997C 7C 08 03 A6 */ mtlr r0 /* 8022CA20 00229980 38 21 00 30 */ addi r1, r1, 0x30 /* 8022CA24 00229984 4E 80 00 20 */ blr .global KnockBack__12CElitePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef KnockBack__12CElitePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: /* 8022CA28 00229988 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8022CA2C 0022998C 7C 08 02 A6 */ mflr r0 /* 8022CA30 00229990 90 01 00 64 */ stw r0, 0x64(r1) /* 8022CA34 00229994 DB E1 00 50 */ stfd f31, 0x50(r1) /* 8022CA38 00229998 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 8022CA3C 0022999C BF 41 00 38 */ stmw r26, 0x38(r1) /* 8022CA40 002299A0 FF E0 08 90 */ fmr f31, f1 /* 8022CA44 002299A4 7C DD 33 78 */ mr r29, r6 /* 8022CA48 002299A8 7C 9B 23 78 */ mr r27, r4 /* 8022CA4C 002299AC 7C 7A 1B 78 */ mr r26, r3 /* 8022CA50 002299B0 7C BC 2B 78 */ mr r28, r5 /* 8022CA54 002299B4 7C FE 3B 78 */ mr r30, r7 /* 8022CA58 002299B8 7D 1F 43 78 */ mr r31, r8 /* 8022CA5C 002299BC 7F A4 EB 78 */ mr r4, r29 /* 8022CA60 002299C0 4B FF A9 D1 */ bl sub_80227430 /* 8022CA64 002299C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022CA68 002299C8 41 82 00 A4 */ beq lbl_8022CB0C /* 8022CA6C 002299CC FC 20 F8 90 */ fmr f1, f31 /* 8022CA70 002299D0 7F 43 D3 78 */ mr r3, r26 /* 8022CA74 002299D4 7F 64 DB 78 */ mr r4, r27 /* 8022CA78 002299D8 7F 85 E3 78 */ mr r5, r28 /* 8022CA7C 002299DC 7F A6 EB 78 */ mr r6, r29 /* 8022CA80 002299E0 7F C7 F3 78 */ mr r7, r30 /* 8022CA84 002299E4 7F E8 FB 78 */ mr r8, r31 /* 8022CA88 002299E8 4B E4 DC F5 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef /* 8022CA8C 002299EC 88 1D 00 04 */ lbz r0, 4(r29) /* 8022CA90 002299F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8022CA94 002299F4 41 82 00 78 */ beq lbl_8022CB0C /* 8022CA98 002299F8 80 1D 00 00 */ lwz r0, 0(r29) /* 8022CA9C 002299FC 2C 00 00 01 */ cmpwi r0, 1 /* 8022CAA0 00229A00 40 82 00 6C */ bne lbl_8022CB0C /* 8022CAA4 00229A04 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022CAA8 00229A08 7F 65 DB 78 */ mr r5, r27 /* 8022CAAC 00229A0C 38 61 00 14 */ addi r3, r1, 0x14 /* 8022CAB0 00229A10 38 9A 00 34 */ addi r4, r26, 0x34 /* 8022CAB4 00229A14 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8022CAB8 00229A18 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8022CABC 00229A1C D0 01 00 34 */ stfs f0, 0x34(r1) /* 8022CAC0 00229A20 48 0E 5F 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8022CAC4 00229A24 38 61 00 20 */ addi r3, r1, 0x20 /* 8022CAC8 00229A28 38 81 00 14 */ addi r4, r1, 0x14 /* 8022CACC 00229A2C 48 0E 73 05 */ bl __ct__11CUnitVectorFRC9CVector3f /* 8022CAD0 00229A30 80 C1 00 20 */ lwz r6, 0x20(r1) /* 8022CAD4 00229A34 7F 43 D3 78 */ mr r3, r26 /* 8022CAD8 00229A38 80 E1 00 24 */ lwz r7, 0x24(r1) /* 8022CADC 00229A3C 7F 84 E3 78 */ mr r4, r28 /* 8022CAE0 00229A40 80 01 00 28 */ lwz r0, 0x28(r1) /* 8022CAE4 00229A44 38 A1 00 2C */ addi r5, r1, 0x2c /* 8022CAE8 00229A48 90 C1 00 08 */ stw r6, 8(r1) /* 8022CAEC 00229A4C 38 C1 00 08 */ addi r6, r1, 8 /* 8022CAF0 00229A50 C0 22 B5 F8 */ lfs f1, lbl_805AD318@sda21(r2) /* 8022CAF4 00229A54 90 E1 00 0C */ stw r7, 0xc(r1) /* 8022CAF8 00229A58 90 01 00 10 */ stw r0, 0x10(r1) /* 8022CAFC 00229A5C 81 9A 00 00 */ lwz r12, 0(r26) /* 8022CB00 00229A60 81 8C 02 90 */ lwz r12, 0x290(r12) /* 8022CB04 00229A64 7D 89 03 A6 */ mtctr r12 /* 8022CB08 00229A68 4E 80 04 21 */ bctrl lbl_8022CB0C: /* 8022CB0C 00229A6C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 8022CB10 00229A70 CB E1 00 50 */ lfd f31, 0x50(r1) /* 8022CB14 00229A74 BB 41 00 38 */ lmw r26, 0x38(r1) /* 8022CB18 00229A78 80 01 00 64 */ lwz r0, 0x64(r1) /* 8022CB1C 00229A7C 7C 08 03 A6 */ mtlr r0 /* 8022CB20 00229A80 38 21 00 60 */ addi r1, r1, 0x60 /* 8022CB24 00229A84 4E 80 00 20 */ blr .global PreRender__12CElitePirateFR13CStateManagerRC14CFrustumPlanes PreRender__12CElitePirateFR13CStateManagerRC14CFrustumPlanes: /* 8022CB28 00229A88 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022CB2C 00229A8C 7C 08 02 A6 */ mflr r0 /* 8022CB30 00229A90 90 01 00 34 */ stw r0, 0x34(r1) /* 8022CB34 00229A94 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022CB38 00229A98 7C 9F 23 78 */ mr r31, r4 /* 8022CB3C 00229A9C 93 C1 00 28 */ stw r30, 0x28(r1) /* 8022CB40 00229AA0 7C 7E 1B 78 */ mr r30, r3 /* 8022CB44 00229AA4 4B E4 B7 99 */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes /* 8022CB48 00229AA8 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8022CB4C 00229AAC 7F E4 FB 78 */ mr r4, r31 /* 8022CB50 00229AB0 81 1E 04 50 */ lwz r8, 0x450(r30) /* 8022CB54 00229AB4 38 7E 06 F8 */ addi r3, r30, 0x6f8 /* 8022CB58 00229AB8 C0 05 00 00 */ lfs f0, 0(r5) /* 8022CB5C 00229ABC 38 DE 00 34 */ addi r6, r30, 0x34 /* 8022CB60 00229AC0 38 E1 00 10 */ addi r7, r1, 0x10 /* 8022CB64 00229AC4 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8022CB68 00229AC8 C0 05 00 04 */ lfs f0, 4(r5) /* 8022CB6C 00229ACC D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022CB70 00229AD0 C0 05 00 08 */ lfs f0, 8(r5) /* 8022CB74 00229AD4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8022CB78 00229AD8 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8022CB7C 00229ADC 80 A5 00 10 */ lwz r5, 0x10(r5) /* 8022CB80 00229AE0 4B F4 8D 91 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 8022CB84 00229AE4 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8022CB88 00229AE8 4B EE 80 C1 */ bl GetNumMaterialSets__10CModelDataCFv /* 8022CB8C 00229AEC 38 83 FF FF */ addi r4, r3, -1 /* 8022CB90 00229AF0 38 61 00 0C */ addi r3, r1, 0xc /* 8022CB94 00229AF4 90 81 00 08 */ stw r4, 8(r1) /* 8022CB98 00229AF8 80 1E 07 CC */ lwz r0, 0x7cc(r30) /* 8022CB9C 00229AFC 7C 04 00 00 */ cmpw r4, r0 /* 8022CBA0 00229B00 90 01 00 0C */ stw r0, 0xc(r1) /* 8022CBA4 00229B04 40 80 00 08 */ bge lbl_8022CBAC /* 8022CBA8 00229B08 38 61 00 08 */ addi r3, r1, 8 lbl_8022CBAC: /* 8022CBAC 00229B0C 80 63 00 00 */ lwz r3, 0(r3) /* 8022CBB0 00229B10 98 7E 00 B5 */ stb r3, 0xb5(r30) /* 8022CBB4 00229B14 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022CBB8 00229B18 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022CBBC 00229B1C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8022CBC0 00229B20 7C 08 03 A6 */ mtlr r0 /* 8022CBC4 00229B24 38 21 00 30 */ addi r1, r1, 0x30 /* 8022CBC8 00229B28 4E 80 00 20 */ blr .global AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__12CElitePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8022CBCC 00229B2C 94 21 FE 70 */ stwu r1, -0x190(r1) /* 8022CBD0 00229B30 7C 08 02 A6 */ mflr r0 /* 8022CBD4 00229B34 90 01 01 94 */ stw r0, 0x194(r1) /* 8022CBD8 00229B38 DB E1 01 80 */ stfd f31, 0x180(r1) /* 8022CBDC 00229B3C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 /* 8022CBE0 00229B40 BF 41 01 68 */ stmw r26, 0x168(r1) /* 8022CBE4 00229B44 7C 9C 23 78 */ mr r28, r4 /* 8022CBE8 00229B48 7C 7D 1B 78 */ mr r29, r3 /* 8022CBEC 00229B4C 28 1C 00 2A */ cmplwi r28, 0x2a /* 8022CBF0 00229B50 7C BE 2B 78 */ mr r30, r5 /* 8022CBF4 00229B54 7C DF 33 78 */ mr r31, r6 /* 8022CBF8 00229B58 3B 60 00 01 */ li r27, 1 /* 8022CBFC 00229B5C 41 81 07 48 */ bgt lbl_8022D344 /* 8022CC00 00229B60 3C 80 80 3E */ lis r4, lbl_803E7E20@ha /* 8022CC04 00229B64 57 80 10 3A */ slwi r0, r28, 2 /* 8022CC08 00229B68 38 84 7E 20 */ addi r4, r4, lbl_803E7E20@l /* 8022CC0C 00229B6C 7C 04 00 2E */ lwzx r0, r4, r0 /* 8022CC10 00229B70 7C 09 03 A6 */ mtctr r0 /* 8022CC14 00229B74 4E 80 04 20 */ bctr /* 8022CC18 00229B78 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022CC1C 00229B7C 7F E4 FB 78 */ mr r4, r31 /* 8022CC20 00229B80 4B F0 E0 D1 */ bl Activate__15CBodyControllerFR13CStateManager /* 8022CC24 00229B84 7F A3 EB 78 */ mr r3, r29 /* 8022CC28 00229B88 7F E4 FB 78 */ mr r4, r31 /* 8022CC2C 00229B8C 4B FF CF 99 */ bl sub_80229bc4 /* 8022CC30 00229B90 7F E4 FB 78 */ mr r4, r31 /* 8022CC34 00229B94 38 61 00 7C */ addi r3, r1, 0x7c /* 8022CC38 00229B98 4B E2 04 A5 */ bl AllocateUniqueId__13CStateManagerFv /* 8022CC3C 00229B9C A0 01 00 7C */ lhz r0, 0x7c(r1) /* 8022CC40 00229BA0 7F A3 EB 78 */ mr r3, r29 /* 8022CC44 00229BA4 7F E4 FB 78 */ mr r4, r31 /* 8022CC48 00229BA8 38 A1 00 78 */ addi r5, r1, 0x78 /* 8022CC4C 00229BAC B0 1D 07 72 */ sth r0, 0x772(r29) /* 8022CC50 00229BB0 A0 1D 07 72 */ lhz r0, 0x772(r29) /* 8022CC54 00229BB4 B0 01 00 78 */ sth r0, 0x78(r1) /* 8022CC58 00229BB8 4B FF BE 55 */ bl sub_80228aac /* 8022CC5C 00229BBC 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022CC60 00229BC0 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 8022CC64 00229BC4 4B F0 72 49 */ bl GetMaxSpeed__14CBodyStateInfoCFv /* 8022CC68 00229BC8 FF E0 08 90 */ fmr f31, f1 /* 8022CC6C 00229BCC C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022CC70 00229BD0 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8022CC74 00229BD4 40 81 00 24 */ ble lbl_8022CC98 /* 8022CC78 00229BD8 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022CC7C 00229BDC 38 80 00 01 */ li r4, 1 /* 8022CC80 00229BE0 38 63 02 A4 */ addi r3, r3, 0x2a4 /* 8022CC84 00229BE4 4B F0 71 51 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim /* 8022CC88 00229BE8 C0 02 B6 18 */ lfs f0, lbl_805AD338@sda21(r2) /* 8022CC8C 00229BEC EC 00 00 72 */ fmuls f0, f0, f1 /* 8022CC90 00229BF0 EC 00 F8 24 */ fdivs f0, f0, f31 /* 8022CC94 00229BF4 D0 1D 07 A4 */ stfs f0, 0x7a4(r29) lbl_8022CC98: /* 8022CC98 00229BF8 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022CC9C 00229BFC 38 00 00 01 */ li r0, 1 /* 8022CCA0 00229C00 90 03 00 34 */ stw r0, 0x34(r3) /* 8022CCA4 00229C04 C0 3D 07 A4 */ lfs f1, 0x7a4(r29) /* 8022CCA8 00229C08 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022CCAC 00229C0C FC 40 08 90 */ fmr f2, f1 /* 8022CCB0 00229C10 38 63 00 04 */ addi r3, r3, 4 /* 8022CCB4 00229C14 4B F0 4B 35 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff /* 8022CCB8 00229C18 48 00 06 8C */ b lbl_8022D344 /* 8022CCBC 00229C1C 81 83 00 00 */ lwz r12, 0(r3) /* 8022CCC0 00229C20 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022CCC4 00229C24 7D 89 03 A6 */ mtctr r12 /* 8022CCC8 00229C28 4E 80 04 21 */ bctrl /* 8022CCCC 00229C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022CCD0 00229C30 41 82 00 14 */ beq lbl_8022CCE4 /* 8022CCD4 00229C34 80 7D 07 30 */ lwz r3, 0x730(r29) /* 8022CCD8 00229C38 7F E4 FB 78 */ mr r4, r31 /* 8022CCDC 00229C3C 38 A0 00 01 */ li r5, 1 /* 8022CCE0 00229C40 4B F7 A6 19 */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb lbl_8022CCE4: /* 8022CCE4 00229C44 A0 1D 07 72 */ lhz r0, 0x772(r29) /* 8022CCE8 00229C48 7F E3 FB 78 */ mr r3, r31 /* 8022CCEC 00229C4C 38 81 00 74 */ addi r4, r1, 0x74 /* 8022CCF0 00229C50 B0 01 00 74 */ sth r0, 0x74(r1) /* 8022CCF4 00229C54 4B E1 F8 81 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022CCF8 00229C58 28 03 00 00 */ cmplwi r3, 0 /* 8022CCFC 00229C5C 41 82 06 48 */ beq lbl_8022D344 /* 8022CD00 00229C60 81 83 00 00 */ lwz r12, 0(r3) /* 8022CD04 00229C64 38 80 00 01 */ li r4, 1 /* 8022CD08 00229C68 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8022CD0C 00229C6C 7D 89 03 A6 */ mtctr r12 /* 8022CD10 00229C70 4E 80 04 21 */ bctrl /* 8022CD14 00229C74 48 00 06 30 */ b lbl_8022D344 /* 8022CD18 00229C78 81 83 00 00 */ lwz r12, 0(r3) /* 8022CD1C 00229C7C 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022CD20 00229C80 7D 89 03 A6 */ mtctr r12 /* 8022CD24 00229C84 4E 80 04 21 */ bctrl /* 8022CD28 00229C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022CD2C 00229C8C 41 82 00 14 */ beq lbl_8022CD40 /* 8022CD30 00229C90 80 7D 07 30 */ lwz r3, 0x730(r29) /* 8022CD34 00229C94 7F E4 FB 78 */ mr r4, r31 /* 8022CD38 00229C98 38 A0 00 00 */ li r5, 0 /* 8022CD3C 00229C9C 4B F7 A5 BD */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb lbl_8022CD40: /* 8022CD40 00229CA0 80 7D 05 D4 */ lwz r3, 0x5d4(r29) /* 8022CD44 00229CA4 7F E4 FB 78 */ mr r4, r31 /* 8022CD48 00229CA8 38 A0 00 00 */ li r5, 0 /* 8022CD4C 00229CAC 4B F7 A5 AD */ bl SetActive__22CCollisionActorManagerFR13CStateManagerb /* 8022CD50 00229CB0 A0 1D 07 72 */ lhz r0, 0x772(r29) /* 8022CD54 00229CB4 7F E3 FB 78 */ mr r3, r31 /* 8022CD58 00229CB8 38 81 00 70 */ addi r4, r1, 0x70 /* 8022CD5C 00229CBC B0 01 00 70 */ sth r0, 0x70(r1) /* 8022CD60 00229CC0 4B E1 F8 15 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022CD64 00229CC4 28 03 00 00 */ cmplwi r3, 0 /* 8022CD68 00229CC8 41 82 05 DC */ beq lbl_8022D344 /* 8022CD6C 00229CCC 81 83 00 00 */ lwz r12, 0(r3) /* 8022CD70 00229CD0 38 80 00 00 */ li r4, 0 /* 8022CD74 00229CD4 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8022CD78 00229CD8 7D 89 03 A6 */ mtctr r12 /* 8022CD7C 00229CDC 4E 80 04 21 */ bctrl /* 8022CD80 00229CE0 48 00 05 C4 */ b lbl_8022D344 /* 8022CD84 00229CE4 81 83 00 00 */ lwz r12, 0(r3) /* 8022CD88 00229CE8 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022CD8C 00229CEC 7D 89 03 A6 */ mtctr r12 /* 8022CD90 00229CF0 4E 80 04 21 */ bctrl /* 8022CD94 00229CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022CD98 00229CF8 41 82 00 10 */ beq lbl_8022CDA8 /* 8022CD9C 00229CFC 80 7D 07 30 */ lwz r3, 0x730(r29) /* 8022CDA0 00229D00 7F E4 FB 78 */ mr r4, r31 /* 8022CDA4 00229D04 4B F7 A6 21 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager lbl_8022CDA8: /* 8022CDA8 00229D08 80 7D 05 D4 */ lwz r3, 0x5d4(r29) /* 8022CDAC 00229D0C 7F E4 FB 78 */ mr r4, r31 /* 8022CDB0 00229D10 4B F7 A6 15 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 8022CDB4 00229D14 A0 1D 07 72 */ lhz r0, 0x772(r29) /* 8022CDB8 00229D18 7F E3 FB 78 */ mr r3, r31 /* 8022CDBC 00229D1C 38 81 00 6C */ addi r4, r1, 0x6c /* 8022CDC0 00229D20 B0 01 00 6C */ sth r0, 0x6c(r1) /* 8022CDC4 00229D24 4B E1 F4 A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 8022CDC8 00229D28 48 00 05 7C */ b lbl_8022D344 /* 8022CDCC 00229D2C 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022CDD0 00229D30 38 60 00 01 */ li r3, 1 /* 8022CDD4 00229D34 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8022CDD8 00229D38 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022CDDC 00229D3C 48 00 05 68 */ b lbl_8022D344 /* 8022CDE0 00229D40 80 BD 00 04 */ lwz r5, 4(r29) /* 8022CDE4 00229D44 80 9F 08 50 */ lwz r4, 0x850(r31) /* 8022CDE8 00229D48 54 A3 18 38 */ slwi r3, r5, 3 /* 8022CDEC 00229D4C 90 A1 00 8C */ stw r5, 0x8c(r1) /* 8022CDF0 00229D50 80 84 00 20 */ lwz r4, 0x20(r4) /* 8022CDF4 00229D54 38 03 00 04 */ addi r0, r3, 4 /* 8022CDF8 00229D58 90 A1 00 88 */ stw r5, 0x88(r1) /* 8022CDFC 00229D5C 7C 64 00 2E */ lwzx r3, r4, r0 /* 8022CE00 00229D60 80 63 01 2C */ lwz r3, 0x12c(r3) /* 8022CE04 00229D64 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 8022CE08 00229D68 90 1D 07 D0 */ stw r0, 0x7d0(r29) /* 8022CE0C 00229D6C 48 00 05 38 */ b lbl_8022D344 /* 8022CE10 00229D70 81 83 00 00 */ lwz r12, 0(r3) /* 8022CE14 00229D74 7F E4 FB 78 */ mr r4, r31 /* 8022CE18 00229D78 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8022CE1C 00229D7C 7D 89 03 A6 */ mtctr r12 /* 8022CE20 00229D80 4E 80 04 21 */ bctrl /* 8022CE24 00229D84 C0 23 00 00 */ lfs f1, 0(r3) /* 8022CE28 00229D88 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022CE2C 00229D8C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022CE30 00229D90 40 81 05 14 */ ble lbl_8022D344 /* 8022CE34 00229D94 A0 1E 00 00 */ lhz r0, 0(r30) /* 8022CE38 00229D98 7F E3 FB 78 */ mr r3, r31 /* 8022CE3C 00229D9C 38 81 00 68 */ addi r4, r1, 0x68 /* 8022CE40 00229DA0 B0 01 00 68 */ sth r0, 0x68(r1) /* 8022CE44 00229DA4 4B E1 F7 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022CE48 00229DA8 7C 64 1B 78 */ mr r4, r3 /* 8022CE4C 00229DAC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8022CE50 00229DB0 4B E8 24 FD */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022CE54 00229DB4 80 83 00 04 */ lwz r4, 4(r3) /* 8022CE58 00229DB8 28 04 00 00 */ cmplwi r4, 0 /* 8022CE5C 00229DBC 41 82 02 60 */ beq lbl_8022D0BC /* 8022CE60 00229DC0 38 61 00 64 */ addi r3, r1, 0x64 /* 8022CE64 00229DC4 4B F7 BD 29 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 8022CE68 00229DC8 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8022CE6C 00229DCC A0 81 00 64 */ lhz r4, 0x64(r1) /* 8022CE70 00229DD0 A0 03 00 08 */ lhz r0, 8(r3) /* 8022CE74 00229DD4 B0 81 00 84 */ sth r4, 0x84(r1) /* 8022CE78 00229DD8 7C 04 00 40 */ cmplw r4, r0 /* 8022CE7C 00229DDC 40 82 02 04 */ bne lbl_8022D080 /* 8022CE80 00229DE0 88 7D 09 88 */ lbz r3, 0x988(r29) /* 8022CE84 00229DE4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 8022CE88 00229DE8 41 82 01 04 */ beq lbl_8022CF8C /* 8022CE8C 00229DEC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f /* 8022CE90 00229DF0 41 82 00 24 */ beq lbl_8022CEB4 /* 8022CE94 00229DF4 A0 1E 00 00 */ lhz r0, 0(r30) /* 8022CE98 00229DF8 7F A3 EB 78 */ mr r3, r29 /* 8022CE9C 00229DFC 38 81 00 60 */ addi r4, r1, 0x60 /* 8022CEA0 00229E00 38 BD 07 74 */ addi r5, r29, 0x774 /* 8022CEA4 00229E04 B0 01 00 60 */ sth r0, 0x60(r1) /* 8022CEA8 00229E08 4B FF C5 51 */ bl sub_802293f8 /* 8022CEAC 00229E0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022CEB0 00229E10 40 82 00 30 */ bne lbl_8022CEE0 lbl_8022CEB4: /* 8022CEB4 00229E14 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022CEB8 00229E18 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8022CEBC 00229E1C 41 82 04 88 */ beq lbl_8022D344 /* 8022CEC0 00229E20 A0 1E 00 00 */ lhz r0, 0(r30) /* 8022CEC4 00229E24 7F A3 EB 78 */ mr r3, r29 /* 8022CEC8 00229E28 38 81 00 5C */ addi r4, r1, 0x5c /* 8022CECC 00229E2C 38 BD 07 88 */ addi r5, r29, 0x788 /* 8022CED0 00229E30 B0 01 00 5C */ sth r0, 0x5c(r1) /* 8022CED4 00229E34 4B FF C5 25 */ bl sub_802293f8 /* 8022CED8 00229E38 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022CEDC 00229E3C 41 82 04 68 */ beq lbl_8022D344 lbl_8022CEE0: /* 8022CEE0 00229E40 80 AD 95 68 */ lwz r5, lbl_805A8128@sda21(r13) /* 8022CEE4 00229E44 38 60 00 00 */ li r3, 0 /* 8022CEE8 00229E48 38 80 00 01 */ li r4, 1 /* 8022CEEC 00229E4C 48 15 D0 09 */ bl __shl2i /* 8022CEF0 00229E50 38 A0 00 00 */ li r5, 0 /* 8022CEF4 00229E54 38 00 00 03 */ li r0, 3 /* 8022CEF8 00229E58 90 81 01 1C */ stw r4, 0x11c(r1) /* 8022CEFC 00229E5C 7F A4 EB 78 */ mr r4, r29 /* 8022CF00 00229E60 90 61 01 18 */ stw r3, 0x118(r1) /* 8022CF04 00229E64 38 61 01 30 */ addi r3, r1, 0x130 /* 8022CF08 00229E68 90 A1 01 24 */ stw r5, 0x124(r1) /* 8022CF0C 00229E6C 90 A1 01 20 */ stw r5, 0x120(r1) /* 8022CF10 00229E70 90 01 01 28 */ stw r0, 0x128(r1) /* 8022CF14 00229E74 A0 1D 00 08 */ lhz r0, 8(r29) /* 8022CF18 00229E78 B0 01 00 48 */ sth r0, 0x48(r1) /* 8022CF1C 00229E7C 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 8022CF20 00229E80 B0 01 00 44 */ sth r0, 0x44(r1) /* 8022CF24 00229E84 A0 A5 00 08 */ lhz r5, 8(r5) /* 8022CF28 00229E88 B0 A1 00 50 */ sth r5, 0x50(r1) /* 8022CF2C 00229E8C A0 1D 00 08 */ lhz r0, 8(r29) /* 8022CF30 00229E90 B0 A1 00 4C */ sth r5, 0x4c(r1) /* 8022CF34 00229E94 B0 01 00 58 */ sth r0, 0x58(r1) /* 8022CF38 00229E98 81 9D 00 00 */ lwz r12, 0(r29) /* 8022CF3C 00229E9C B0 01 00 54 */ sth r0, 0x54(r1) /* 8022CF40 00229EA0 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 8022CF44 00229EA4 7D 89 03 A6 */ mtctr r12 /* 8022CF48 00229EA8 4E 80 04 21 */ bctrl /* 8022CF4C 00229EAC 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022CF50 00229EB0 7F E3 FB 78 */ mr r3, r31 /* 8022CF54 00229EB4 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8022CF58 00229EB8 38 A1 00 50 */ addi r5, r1, 0x50 /* 8022CF5C 00229EBC 38 81 00 58 */ addi r4, r1, 0x58 /* 8022CF60 00229EC0 38 C1 00 48 */ addi r6, r1, 0x48 /* 8022CF64 00229EC4 38 E1 01 30 */ addi r7, r1, 0x130 /* 8022CF68 00229EC8 39 01 01 18 */ addi r8, r1, 0x118 /* 8022CF6C 00229ECC 4B E1 D1 35 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 8022CF70 00229ED0 C0 1D 04 24 */ lfs f0, 0x424(r29) /* 8022CF74 00229ED4 38 60 00 00 */ li r3, 0 /* 8022CF78 00229ED8 D0 1D 04 20 */ stfs f0, 0x420(r29) /* 8022CF7C 00229EDC 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022CF80 00229EE0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022CF84 00229EE4 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022CF88 00229EE8 48 00 03 BC */ b lbl_8022D344 lbl_8022CF8C: /* 8022CF8C 00229EEC C0 3D 04 20 */ lfs f1, 0x420(r29) /* 8022CF90 00229EF0 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022CF94 00229EF4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022CF98 00229EF8 4C 40 13 82 */ cror 2, 0, 2 /* 8022CF9C 00229EFC 40 82 03 A8 */ bne lbl_8022D344 /* 8022CFA0 00229F00 7F A4 EB 78 */ mr r4, r29 /* 8022CFA4 00229F04 38 61 00 F8 */ addi r3, r1, 0xf8 /* 8022CFA8 00229F08 81 9D 00 00 */ lwz r12, 0(r29) /* 8022CFAC 00229F0C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 8022CFB0 00229F10 7D 89 03 A6 */ mtctr r12 /* 8022CFB4 00229F14 4E 80 04 21 */ bctrl /* 8022CFB8 00229F18 C0 21 01 00 */ lfs f1, 0x100(r1) /* 8022CFBC 00229F1C 38 60 00 00 */ li r3, 0 /* 8022CFC0 00229F20 C0 02 B5 BC */ lfs f0, lbl_805AD2DC@sda21(r2) /* 8022CFC4 00229F24 38 80 00 01 */ li r4, 1 /* 8022CFC8 00229F28 80 E1 00 F8 */ lwz r7, 0xf8(r1) /* 8022CFCC 00229F2C 88 C1 00 FC */ lbz r6, 0xfc(r1) /* 8022CFD0 00229F30 EC 00 00 72 */ fmuls f0, f0, f1 /* 8022CFD4 00229F34 D0 21 01 54 */ stfs f1, 0x154(r1) /* 8022CFD8 00229F38 C0 61 01 04 */ lfs f3, 0x104(r1) /* 8022CFDC 00229F3C C0 41 01 08 */ lfs f2, 0x108(r1) /* 8022CFE0 00229F40 C0 21 01 0C */ lfs f1, 0x10c(r1) /* 8022CFE4 00229F44 88 01 01 10 */ lbz r0, 0x110(r1) /* 8022CFE8 00229F48 80 AD 95 68 */ lwz r5, lbl_805A8128@sda21(r13) /* 8022CFEC 00229F4C 90 E1 01 4C */ stw r7, 0x14c(r1) /* 8022CFF0 00229F50 98 C1 01 50 */ stb r6, 0x150(r1) /* 8022CFF4 00229F54 D0 61 01 58 */ stfs f3, 0x158(r1) /* 8022CFF8 00229F58 D0 41 01 5C */ stfs f2, 0x15c(r1) /* 8022CFFC 00229F5C D0 21 01 60 */ stfs f1, 0x160(r1) /* 8022D000 00229F60 98 01 01 64 */ stb r0, 0x164(r1) /* 8022D004 00229F64 D0 01 01 54 */ stfs f0, 0x154(r1) /* 8022D008 00229F68 48 15 CE ED */ bl __shl2i /* 8022D00C 00229F6C 39 40 00 00 */ li r10, 0 /* 8022D010 00229F70 38 00 00 03 */ li r0, 3 /* 8022D014 00229F74 90 81 00 E4 */ stw r4, 0xe4(r1) /* 8022D018 00229F78 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022D01C 00229F7C 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8022D020 00229F80 38 A1 00 38 */ addi r5, r1, 0x38 /* 8022D024 00229F84 90 61 00 E0 */ stw r3, 0xe0(r1) /* 8022D028 00229F88 38 81 00 40 */ addi r4, r1, 0x40 /* 8022D02C 00229F8C 7F E3 FB 78 */ mr r3, r31 /* 8022D030 00229F90 38 C1 00 30 */ addi r6, r1, 0x30 /* 8022D034 00229F94 91 41 00 EC */ stw r10, 0xec(r1) /* 8022D038 00229F98 38 E1 01 4C */ addi r7, r1, 0x14c /* 8022D03C 00229F9C 39 01 00 E0 */ addi r8, r1, 0xe0 /* 8022D040 00229FA0 91 41 00 E8 */ stw r10, 0xe8(r1) /* 8022D044 00229FA4 90 01 00 F0 */ stw r0, 0xf0(r1) /* 8022D048 00229FA8 A0 1D 00 08 */ lhz r0, 8(r29) /* 8022D04C 00229FAC B0 01 00 30 */ sth r0, 0x30(r1) /* 8022D050 00229FB0 81 5F 08 4C */ lwz r10, 0x84c(r31) /* 8022D054 00229FB4 B0 01 00 2C */ sth r0, 0x2c(r1) /* 8022D058 00229FB8 A1 4A 00 08 */ lhz r10, 8(r10) /* 8022D05C 00229FBC B1 41 00 38 */ sth r10, 0x38(r1) /* 8022D060 00229FC0 A0 1D 00 08 */ lhz r0, 8(r29) /* 8022D064 00229FC4 B1 41 00 34 */ sth r10, 0x34(r1) /* 8022D068 00229FC8 B0 01 00 3C */ sth r0, 0x3c(r1) /* 8022D06C 00229FCC B0 01 00 40 */ sth r0, 0x40(r1) /* 8022D070 00229FD0 4B E1 D0 31 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 8022D074 00229FD4 C0 1D 04 24 */ lfs f0, 0x424(r29) /* 8022D078 00229FD8 D0 1D 04 20 */ stfs f0, 0x420(r29) /* 8022D07C 00229FDC 48 00 02 C8 */ b lbl_8022D344 lbl_8022D080: /* 8022D080 00229FE0 B0 81 00 28 */ sth r4, 0x28(r1) /* 8022D084 00229FE4 7F E3 FB 78 */ mr r3, r31 /* 8022D088 00229FE8 38 81 00 28 */ addi r4, r1, 0x28 /* 8022D08C 00229FEC 4B E1 F5 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022D090 00229FF0 7C 64 1B 78 */ mr r4, r3 /* 8022D094 00229FF4 38 61 00 98 */ addi r3, r1, 0x98 /* 8022D098 00229FF8 4B E8 06 75 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 8022D09C 00229FFC 80 03 00 04 */ lwz r0, 4(r3) /* 8022D0A0 0022A000 28 00 00 00 */ cmplwi r0, 0 /* 8022D0A4 0022A004 41 82 02 A0 */ beq lbl_8022D344 /* 8022D0A8 0022A008 7F A3 EB 78 */ mr r3, r29 /* 8022D0AC 0022A00C 7F E5 FB 78 */ mr r5, r31 /* 8022D0B0 0022A010 38 80 00 01 */ li r4, 1 /* 8022D0B4 0022A014 4B FF A4 E9 */ bl sub_8022759c /* 8022D0B8 0022A018 48 00 02 8C */ b lbl_8022D344 lbl_8022D0BC: /* 8022D0BC 0022A01C A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D0C0 0022A020 A0 7D 07 72 */ lhz r3, 0x772(r29) /* 8022D0C4 0022A024 7C 00 18 40 */ cmplw r0, r3 /* 8022D0C8 0022A028 40 82 02 7C */ bne lbl_8022D344 /* 8022D0CC 0022A02C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022D0D0 0022A030 7C 03 00 40 */ cmplw r3, r0 /* 8022D0D4 0022A034 41 82 02 70 */ beq lbl_8022D344 /* 8022D0D8 0022A038 7F A3 EB 78 */ mr r3, r29 /* 8022D0DC 0022A03C 7F E5 FB 78 */ mr r5, r31 /* 8022D0E0 0022A040 38 80 00 01 */ li r4, 1 /* 8022D0E4 0022A044 4B FF A4 B9 */ bl sub_8022759c /* 8022D0E8 0022A048 48 00 02 5C */ b lbl_8022D344 /* 8022D0EC 0022A04C A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D0F0 0022A050 7F E3 FB 78 */ mr r3, r31 /* 8022D0F4 0022A054 38 81 00 24 */ addi r4, r1, 0x24 /* 8022D0F8 0022A058 3B 60 00 00 */ li r27, 0 /* 8022D0FC 0022A05C B0 01 00 24 */ sth r0, 0x24(r1) /* 8022D100 0022A060 4B E1 F4 75 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022D104 0022A064 7C 64 1B 78 */ mr r4, r3 /* 8022D108 0022A068 38 61 00 B0 */ addi r3, r1, 0xb0 /* 8022D10C 0022A06C 4B E8 22 41 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022D110 0022A070 80 83 00 04 */ lwz r4, 4(r3) /* 8022D114 0022A074 28 04 00 00 */ cmplwi r4, 0 /* 8022D118 0022A078 41 82 01 0C */ beq lbl_8022D224 /* 8022D11C 0022A07C 38 61 00 20 */ addi r3, r1, 0x20 /* 8022D120 0022A080 4B F7 BA 6D */ bl GetLastTouchedObject__15CCollisionActorCFv /* 8022D124 0022A084 A0 01 00 20 */ lhz r0, 0x20(r1) /* 8022D128 0022A088 7F E3 FB 78 */ mr r3, r31 /* 8022D12C 0022A08C 38 81 00 1C */ addi r4, r1, 0x1c /* 8022D130 0022A090 B0 01 00 80 */ sth r0, 0x80(r1) /* 8022D134 0022A094 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8022D138 0022A098 4B E1 F4 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022D13C 0022A09C 7C 64 1B 78 */ mr r4, r3 /* 8022D140 0022A0A0 38 61 00 90 */ addi r3, r1, 0x90 /* 8022D144 0022A0A4 4B E8 05 C9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 8022D148 0022A0A8 81 23 00 04 */ lwz r9, 4(r3) /* 8022D14C 0022A0AC 28 09 00 00 */ cmplwi r9, 0 /* 8022D150 0022A0B0 41 82 01 F4 */ beq lbl_8022D344 /* 8022D154 0022A0B4 A0 7E 00 00 */ lhz r3, 0(r30) /* 8022D158 0022A0B8 A0 1D 07 70 */ lhz r0, 0x770(r29) /* 8022D15C 0022A0BC 7C 03 00 40 */ cmplw r3, r0 /* 8022D160 0022A0C0 40 82 00 88 */ bne lbl_8022D1E8 /* 8022D164 0022A0C4 C0 02 88 F0 */ lfs f0, lbl_805AA610@sda21(r2) /* 8022D168 0022A0C8 7F A3 EB 78 */ mr r3, r29 /* 8022D16C 0022A0CC 7F E5 FB 78 */ mr r5, r31 /* 8022D170 0022A0D0 38 81 00 B8 */ addi r4, r1, 0xb8 /* 8022D174 0022A0D4 D0 1D 04 28 */ stfs f0, 0x428(r29) /* 8022D178 0022A0D8 38 C9 01 2C */ addi r6, r9, 0x12c /* 8022D17C 0022A0DC 38 E0 00 01 */ li r7, 1 /* 8022D180 0022A0E0 39 00 00 00 */ li r8, 0 /* 8022D184 0022A0E4 C0 49 00 50 */ lfs f2, 0x50(r9) /* 8022D188 0022A0E8 C0 29 02 9C */ lfs f1, 0x29c(r9) /* 8022D18C 0022A0EC C0 69 00 60 */ lfs f3, 0x60(r9) /* 8022D190 0022A0F0 EC 82 08 28 */ fsubs f4, f2, f1 /* 8022D194 0022A0F4 C0 09 02 A0 */ lfs f0, 0x2a0(r9) /* 8022D198 0022A0F8 C0 49 00 40 */ lfs f2, 0x40(r9) /* 8022D19C 0022A0FC EC 63 00 28 */ fsubs f3, f3, f0 /* 8022D1A0 0022A100 C0 09 02 98 */ lfs f0, 0x298(r9) /* 8022D1A4 0022A104 C0 29 01 40 */ lfs f1, 0x140(r9) /* 8022D1A8 0022A108 EC 02 00 28 */ fsubs f0, f2, f0 /* 8022D1AC 0022A10C D0 81 00 BC */ stfs f4, 0xbc(r1) /* 8022D1B0 0022A110 D0 61 00 C0 */ stfs f3, 0xc0(r1) /* 8022D1B4 0022A114 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8022D1B8 0022A118 81 9D 00 00 */ lwz r12, 0(r29) /* 8022D1BC 0022A11C 81 8C 00 88 */ lwz r12, 0x88(r12) /* 8022D1C0 0022A120 7D 89 03 A6 */ mtctr r12 /* 8022D1C4 0022A124 4E 80 04 21 */ bctrl /* 8022D1C8 0022A128 A0 01 00 80 */ lhz r0, 0x80(r1) /* 8022D1CC 0022A12C 7F A3 EB 78 */ mr r3, r29 /* 8022D1D0 0022A130 7F 84 E3 78 */ mr r4, r28 /* 8022D1D4 0022A134 7F E6 FB 78 */ mr r6, r31 /* 8022D1D8 0022A138 B0 01 00 18 */ sth r0, 0x18(r1) /* 8022D1DC 0022A13C 38 A1 00 18 */ addi r5, r1, 0x18 /* 8022D1E0 0022A140 4B E4 F9 99 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8022D1E4 0022A144 48 00 00 2C */ b lbl_8022D210 lbl_8022D1E8: /* 8022D1E8 0022A148 A0 1D 07 9C */ lhz r0, 0x79c(r29) /* 8022D1EC 0022A14C 7C 03 00 40 */ cmplw r3, r0 /* 8022D1F0 0022A150 40 82 00 20 */ bne lbl_8022D210 /* 8022D1F4 0022A154 88 1D 07 6C */ lbz r0, 0x76c(r29) /* 8022D1F8 0022A158 28 00 00 00 */ cmplwi r0, 0 /* 8022D1FC 0022A15C 41 82 00 14 */ beq lbl_8022D210 /* 8022D200 0022A160 7F A3 EB 78 */ mr r3, r29 /* 8022D204 0022A164 7F E4 FB 78 */ mr r4, r31 /* 8022D208 0022A168 38 A9 00 34 */ addi r5, r9, 0x34 /* 8022D20C 0022A16C 4B FF AF CD */ bl sub_802281d8 lbl_8022D210: /* 8022D210 0022A170 7F A3 EB 78 */ mr r3, r29 /* 8022D214 0022A174 7F E5 FB 78 */ mr r5, r31 /* 8022D218 0022A178 38 80 00 01 */ li r4, 1 /* 8022D21C 0022A17C 4B FF A3 81 */ bl sub_8022759c /* 8022D220 0022A180 48 00 01 24 */ b lbl_8022D344 lbl_8022D224: /* 8022D224 0022A184 A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D228 0022A188 A0 7D 07 72 */ lhz r3, 0x772(r29) /* 8022D22C 0022A18C 7C 00 18 40 */ cmplw r0, r3 /* 8022D230 0022A190 40 82 00 A8 */ bne lbl_8022D2D8 /* 8022D234 0022A194 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022D238 0022A198 7C 03 00 40 */ cmplw r3, r0 /* 8022D23C 0022A19C 41 82 00 9C */ beq lbl_8022D2D8 /* 8022D240 0022A1A0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022D244 0022A1A4 C0 5D 00 58 */ lfs f2, 0x58(r29) /* 8022D248 0022A1A8 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 8022D24C 0022A1AC C0 3D 00 48 */ lfs f1, 0x48(r29) /* 8022D250 0022A1B0 C0 1D 00 38 */ lfs f0, 0x38(r29) /* 8022D254 0022A1B4 3C 80 80 3E */ lis r4, lbl_803DAA44@ha /* 8022D258 0022A1B8 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8022D25C 0022A1BC 38 C0 00 04 */ li r6, 4 /* 8022D260 0022A1C0 38 00 00 08 */ li r0, 8 /* 8022D264 0022A1C4 90 A1 00 C4 */ stw r5, 0xc4(r1) /* 8022D268 0022A1C8 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l /* 8022D26C 0022A1CC 3B 43 00 04 */ addi r26, r3, 4 /* 8022D270 0022A1D0 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 8022D274 0022A1D4 7F 43 D3 78 */ mr r3, r26 /* 8022D278 0022A1D8 38 80 00 04 */ li r4, 4 /* 8022D27C 0022A1DC 90 A1 00 C4 */ stw r5, 0xc4(r1) /* 8022D280 0022A1E0 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 8022D284 0022A1E4 D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 8022D288 0022A1E8 D0 41 00 D4 */ stfs f2, 0xd4(r1) /* 8022D28C 0022A1EC 90 01 00 D8 */ stw r0, 0xd8(r1) /* 8022D290 0022A1F0 4B F0 41 A9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 8022D294 0022A1F4 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 8022D298 0022A1F8 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 8022D29C 0022A1FC 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 8022D2A0 0022A200 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 8022D2A4 0022A204 90 1A 00 F8 */ stw r0, 0xf8(r26) /* 8022D2A8 0022A208 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 8022D2AC 0022A20C 80 A1 00 CC */ lwz r5, 0xcc(r1) /* 8022D2B0 0022A210 80 61 00 D0 */ lwz r3, 0xd0(r1) /* 8022D2B4 0022A214 90 BA 00 FC */ stw r5, 0xfc(r26) /* 8022D2B8 0022A218 80 A1 00 D4 */ lwz r5, 0xd4(r1) /* 8022D2BC 0022A21C 90 7A 01 00 */ stw r3, 0x100(r26) /* 8022D2C0 0022A220 80 61 00 D8 */ lwz r3, 0xd8(r1) /* 8022D2C4 0022A224 90 BA 01 04 */ stw r5, 0x104(r26) /* 8022D2C8 0022A228 90 81 00 C4 */ stw r4, 0xc4(r1) /* 8022D2CC 0022A22C 90 7A 01 08 */ stw r3, 0x108(r26) /* 8022D2D0 0022A230 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8022D2D4 0022A234 48 00 00 70 */ b lbl_8022D344 lbl_8022D2D8: /* 8022D2D8 0022A238 A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D2DC 0022A23C 7F A3 EB 78 */ mr r3, r29 /* 8022D2E0 0022A240 7F E4 FB 78 */ mr r4, r31 /* 8022D2E4 0022A244 38 A1 00 14 */ addi r5, r1, 0x14 /* 8022D2E8 0022A248 B0 01 00 14 */ sth r0, 0x14(r1) /* 8022D2EC 0022A24C 4B FF A1 79 */ bl sub_80227464 /* 8022D2F0 0022A250 48 00 00 54 */ b lbl_8022D344 /* 8022D2F4 0022A254 7F E5 FB 78 */ mr r5, r31 /* 8022D2F8 0022A258 38 80 00 01 */ li r4, 1 /* 8022D2FC 0022A25C 4B FF A2 A1 */ bl sub_8022759c /* 8022D300 0022A260 A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D304 0022A264 7F E3 FB 78 */ mr r3, r31 /* 8022D308 0022A268 38 81 00 10 */ addi r4, r1, 0x10 /* 8022D30C 0022A26C B0 01 00 10 */ sth r0, 0x10(r1) /* 8022D310 0022A270 4B E1 F2 65 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022D314 0022A274 7C 64 1B 78 */ mr r4, r3 /* 8022D318 0022A278 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8022D31C 0022A27C 4B E8 20 31 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022D320 0022A280 80 03 00 04 */ lwz r0, 4(r3) /* 8022D324 0022A284 28 00 00 00 */ cmplwi r0, 0 /* 8022D328 0022A288 40 82 00 1C */ bne lbl_8022D344 /* 8022D32C 0022A28C A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D330 0022A290 7F A3 EB 78 */ mr r3, r29 /* 8022D334 0022A294 7F E4 FB 78 */ mr r4, r31 /* 8022D338 0022A298 38 A1 00 0C */ addi r5, r1, 0xc /* 8022D33C 0022A29C B0 01 00 0C */ sth r0, 0xc(r1) /* 8022D340 0022A2A0 4B FF A1 25 */ bl sub_80227464 lbl_8022D344: /* 8022D344 0022A2A4 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 8022D348 0022A2A8 41 82 00 20 */ beq lbl_8022D368 /* 8022D34C 0022A2AC A0 1E 00 00 */ lhz r0, 0(r30) /* 8022D350 0022A2B0 7F A3 EB 78 */ mr r3, r29 /* 8022D354 0022A2B4 7F 84 E3 78 */ mr r4, r28 /* 8022D358 0022A2B8 7F E6 FB 78 */ mr r6, r31 /* 8022D35C 0022A2BC B0 01 00 08 */ sth r0, 8(r1) /* 8022D360 0022A2C0 38 A1 00 08 */ addi r5, r1, 8 /* 8022D364 0022A2C4 4B E4 F8 15 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager lbl_8022D368: /* 8022D368 0022A2C8 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 /* 8022D36C 0022A2CC CB E1 01 80 */ lfd f31, 0x180(r1) /* 8022D370 0022A2D0 BB 41 01 68 */ lmw r26, 0x168(r1) /* 8022D374 0022A2D4 80 01 01 94 */ lwz r0, 0x194(r1) /* 8022D378 0022A2D8 7C 08 03 A6 */ mtlr r0 /* 8022D37C 0022A2DC 38 21 01 90 */ addi r1, r1, 0x190 /* 8022D380 0022A2E0 4E 80 00 20 */ blr .global Think__12CElitePirateFfR13CStateManager Think__12CElitePirateFfR13CStateManager: /* 8022D384 0022A2E4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022D388 0022A2E8 7C 08 02 A6 */ mflr r0 /* 8022D38C 0022A2EC 90 01 00 34 */ stw r0, 0x34(r1) /* 8022D390 0022A2F0 DB E1 00 20 */ stfd f31, 0x20(r1) /* 8022D394 0022A2F4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8022D398 0022A2F8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8022D39C 0022A2FC 93 C1 00 18 */ stw r30, 0x18(r1) /* 8022D3A0 0022A300 88 03 00 30 */ lbz r0, 0x30(r3) /* 8022D3A4 0022A304 FF E0 08 90 */ fmr f31, f1 /* 8022D3A8 0022A308 7C 7E 1B 78 */ mr r30, r3 /* 8022D3AC 0022A30C 7C 9F 23 78 */ mr r31, r4 /* 8022D3B0 0022A310 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8022D3B4 0022A314 41 82 00 EC */ beq lbl_8022D4A0 /* 8022D3B8 0022A318 4B E4 C7 61 */ bl Think__10CPatternedFfR13CStateManager /* 8022D3BC 0022A31C FC 20 F8 90 */ fmr f1, f31 /* 8022D3C0 0022A320 38 7E 06 F8 */ addi r3, r30, 0x6f8 /* 8022D3C4 0022A324 4B F4 85 E5 */ bl Update__13CBoneTrackingFf /* 8022D3C8 0022A328 7F C3 F3 78 */ mr r3, r30 /* 8022D3CC 0022A32C 81 9E 00 00 */ lwz r12, 0(r30) /* 8022D3D0 0022A330 81 8C 02 CC */ lwz r12, 0x2cc(r12) /* 8022D3D4 0022A334 7D 89 03 A6 */ mtctr r12 /* 8022D3D8 0022A338 4E 80 04 21 */ bctrl /* 8022D3DC 0022A33C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022D3E0 0022A340 41 82 00 18 */ beq lbl_8022D3F8 /* 8022D3E4 0022A344 FC 20 F8 90 */ fmr f1, f31 /* 8022D3E8 0022A348 80 7E 07 30 */ lwz r3, 0x730(r30) /* 8022D3EC 0022A34C 7F E4 FB 78 */ mr r4, r31 /* 8022D3F0 0022A350 38 A0 00 00 */ li r5, 0 /* 8022D3F4 0022A354 4B F7 A0 5D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions lbl_8022D3F8: /* 8022D3F8 0022A358 FC 20 F8 90 */ fmr f1, f31 /* 8022D3FC 0022A35C 80 7E 05 D4 */ lwz r3, 0x5d4(r30) /* 8022D400 0022A360 7F E4 FB 78 */ mr r4, r31 /* 8022D404 0022A364 38 A0 00 00 */ li r5, 0 /* 8022D408 0022A368 4B F7 A0 49 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 8022D40C 0022A36C 7F C3 F3 78 */ mr r3, r30 /* 8022D410 0022A370 4B FF BD F9 */ bl sub_80229208 /* 8022D414 0022A374 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022D418 0022A378 41 82 00 24 */ beq lbl_8022D43C /* 8022D41C 0022A37C 88 1E 06 F7 */ lbz r0, 0x6f7(r30) /* 8022D420 0022A380 28 00 00 00 */ cmplwi r0, 0 /* 8022D424 0022A384 41 82 00 18 */ beq lbl_8022D43C /* 8022D428 0022A388 C0 22 B6 10 */ lfs f1, lbl_805AD330@sda21(r2) /* 8022D42C 0022A38C C0 1E 07 A0 */ lfs f0, 0x7a0(r30) /* 8022D430 0022A390 EC 01 00 32 */ fmuls f0, f1, f0 /* 8022D434 0022A394 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) /* 8022D438 0022A398 48 00 00 0C */ b lbl_8022D444 lbl_8022D43C: /* 8022D43C 0022A39C C0 1E 07 A0 */ lfs f0, 0x7a0(r30) /* 8022D440 0022A3A0 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) lbl_8022D444: /* 8022D444 0022A3A4 FC 20 F8 90 */ fmr f1, f31 /* 8022D448 0022A3A8 7F C3 F3 78 */ mr r3, r30 /* 8022D44C 0022A3AC 4B FF BA 05 */ bl sub_80228e50 /* 8022D450 0022A3B0 7F C3 F3 78 */ mr r3, r30 /* 8022D454 0022A3B4 4B FF B3 45 */ bl sub_80228798 /* 8022D458 0022A3B8 80 82 B5 A8 */ lwz r4, lbl_805AD2C8@sda21(r2) /* 8022D45C 0022A3BC 38 61 00 08 */ addi r3, r1, 8 /* 8022D460 0022A3C0 4B DD 78 59 */ bl string_l__4rstlFPCc /* 8022D464 0022A3C4 7F C3 F3 78 */ mr r3, r30 /* 8022D468 0022A3C8 7F E4 FB 78 */ mr r4, r31 /* 8022D46C 0022A3CC 38 BE 07 72 */ addi r5, r30, 0x772 /* 8022D470 0022A3D0 38 C1 00 08 */ addi r6, r1, 8 /* 8022D474 0022A3D4 4B FF B5 69 */ bl sub_802289dc /* 8022D478 0022A3D8 38 61 00 08 */ addi r3, r1, 8 /* 8022D47C 0022A3DC 48 11 06 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8022D480 0022A3E0 7F C3 F3 78 */ mr r3, r30 /* 8022D484 0022A3E4 7F E4 FB 78 */ mr r4, r31 /* 8022D488 0022A3E8 4B FF B9 FD */ bl sub_80228e84 /* 8022D48C 0022A3EC 7F C3 F3 78 */ mr r3, r30 /* 8022D490 0022A3F0 4B FF BD 79 */ bl sub_80229208 /* 8022D494 0022A3F4 88 1E 03 28 */ lbz r0, 0x328(r30) /* 8022D498 0022A3F8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 8022D49C 0022A3FC 98 1E 03 28 */ stb r0, 0x328(r30) lbl_8022D4A0: /* 8022D4A0 0022A400 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 8022D4A4 0022A404 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022D4A8 0022A408 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8022D4AC 0022A40C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022D4B0 0022A410 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8022D4B4 0022A414 7C 08 03 A6 */ mtlr r0 /* 8022D4B8 0022A418 38 21 00 30 */ addi r1, r1, 0x30 /* 8022D4BC 0022A41C 4E 80 00 20 */ blr .global Accept__12CElitePirateFR8IVisitor Accept__12CElitePirateFR8IVisitor: /* 8022D4C0 0022A420 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022D4C4 0022A424 7C 08 02 A6 */ mflr r0 /* 8022D4C8 0022A428 90 01 00 14 */ stw r0, 0x14(r1) /* 8022D4CC 0022A42C 7C 60 1B 78 */ mr r0, r3 /* 8022D4D0 0022A430 7C 83 23 78 */ mr r3, r4 /* 8022D4D4 0022A434 81 84 00 00 */ lwz r12, 0(r4) /* 8022D4D8 0022A438 7C 04 03 78 */ mr r4, r0 /* 8022D4DC 0022A43C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022D4E0 0022A440 7D 89 03 A6 */ mtctr r12 /* 8022D4E4 0022A444 4E 80 04 21 */ bctrl /* 8022D4E8 0022A448 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022D4EC 0022A44C 7C 08 03 A6 */ mtlr r0 /* 8022D4F0 0022A450 38 21 00 10 */ addi r1, r1, 0x10 /* 8022D4F4 0022A454 4E 80 00 20 */ blr .global __dt__12CElitePirateFv __dt__12CElitePirateFv: /* 8022D4F8 0022A458 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022D4FC 0022A45C 7C 08 02 A6 */ mflr r0 /* 8022D500 0022A460 90 01 00 14 */ stw r0, 0x14(r1) /* 8022D504 0022A464 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022D508 0022A468 7C 9F 23 78 */ mr r31, r4 /* 8022D50C 0022A46C 93 C1 00 08 */ stw r30, 8(r1) /* 8022D510 0022A470 7C 7E 1B 79 */ or. r30, r3, r3 /* 8022D514 0022A474 41 82 02 60 */ beq lbl_8022D774 /* 8022D518 0022A478 3C 60 80 3E */ lis r3, lbl_803E7AE0@ha /* 8022D51C 0022A47C 34 1E 08 C0 */ addic. r0, r30, 0x8c0 /* 8022D520 0022A480 38 03 7A E0 */ addi r0, r3, lbl_803E7AE0@l /* 8022D524 0022A484 90 1E 00 00 */ stw r0, 0(r30) /* 8022D528 0022A488 41 82 00 60 */ beq lbl_8022D588 /* 8022D52C 0022A48C 34 1E 08 C4 */ addic. r0, r30, 0x8c4 /* 8022D530 0022A490 41 82 00 58 */ beq lbl_8022D588 /* 8022D534 0022A494 80 BE 08 C4 */ lwz r5, 0x8c4(r30) /* 8022D538 0022A498 38 60 00 00 */ li r3, 0 /* 8022D53C 0022A49C 2C 05 00 00 */ cmpwi r5, 0 /* 8022D540 0022A4A0 40 81 00 40 */ ble lbl_8022D580 /* 8022D544 0022A4A4 2C 05 00 08 */ cmpwi r5, 8 /* 8022D548 0022A4A8 38 85 FF F8 */ addi r4, r5, -8 /* 8022D54C 0022A4AC 40 81 00 20 */ ble lbl_8022D56C /* 8022D550 0022A4B0 38 04 00 07 */ addi r0, r4, 7 /* 8022D554 0022A4B4 54 00 E8 FE */ srwi r0, r0, 3 /* 8022D558 0022A4B8 7C 09 03 A6 */ mtctr r0 /* 8022D55C 0022A4BC 2C 04 00 00 */ cmpwi r4, 0 /* 8022D560 0022A4C0 40 81 00 0C */ ble lbl_8022D56C lbl_8022D564: /* 8022D564 0022A4C4 38 63 00 08 */ addi r3, r3, 8 /* 8022D568 0022A4C8 42 00 FF FC */ bdnz lbl_8022D564 lbl_8022D56C: /* 8022D56C 0022A4CC 7C 03 28 50 */ subf r0, r3, r5 /* 8022D570 0022A4D0 7C 09 03 A6 */ mtctr r0 /* 8022D574 0022A4D4 7C 03 28 00 */ cmpw r3, r5 /* 8022D578 0022A4D8 40 80 00 08 */ bge lbl_8022D580 lbl_8022D57C: /* 8022D57C 0022A4DC 42 00 00 00 */ bdnz lbl_8022D57C lbl_8022D580: /* 8022D580 0022A4E0 38 00 00 00 */ li r0, 0 /* 8022D584 0022A4E4 90 1E 08 C4 */ stw r0, 0x8c4(r30) lbl_8022D588: /* 8022D588 0022A4E8 34 1E 07 D0 */ addic. r0, r30, 0x7d0 /* 8022D58C 0022A4EC 41 82 00 60 */ beq lbl_8022D5EC /* 8022D590 0022A4F0 34 1E 07 D4 */ addic. r0, r30, 0x7d4 /* 8022D594 0022A4F4 41 82 00 58 */ beq lbl_8022D5EC /* 8022D598 0022A4F8 80 BE 07 D4 */ lwz r5, 0x7d4(r30) /* 8022D59C 0022A4FC 38 60 00 00 */ li r3, 0 /* 8022D5A0 0022A500 2C 05 00 00 */ cmpwi r5, 0 /* 8022D5A4 0022A504 40 81 00 40 */ ble lbl_8022D5E4 /* 8022D5A8 0022A508 2C 05 00 08 */ cmpwi r5, 8 /* 8022D5AC 0022A50C 38 85 FF F8 */ addi r4, r5, -8 /* 8022D5B0 0022A510 40 81 00 20 */ ble lbl_8022D5D0 /* 8022D5B4 0022A514 38 04 00 07 */ addi r0, r4, 7 /* 8022D5B8 0022A518 54 00 E8 FE */ srwi r0, r0, 3 /* 8022D5BC 0022A51C 7C 09 03 A6 */ mtctr r0 /* 8022D5C0 0022A520 2C 04 00 00 */ cmpwi r4, 0 /* 8022D5C4 0022A524 40 81 00 0C */ ble lbl_8022D5D0 lbl_8022D5C8: /* 8022D5C8 0022A528 38 63 00 08 */ addi r3, r3, 8 /* 8022D5CC 0022A52C 42 00 FF FC */ bdnz lbl_8022D5C8 lbl_8022D5D0: /* 8022D5D0 0022A530 7C 03 28 50 */ subf r0, r3, r5 /* 8022D5D4 0022A534 7C 09 03 A6 */ mtctr r0 /* 8022D5D8 0022A538 7C 03 28 00 */ cmpw r3, r5 /* 8022D5DC 0022A53C 40 80 00 08 */ bge lbl_8022D5E4 lbl_8022D5E0: /* 8022D5E0 0022A540 42 00 00 00 */ bdnz lbl_8022D5E0 lbl_8022D5E4: /* 8022D5E4 0022A544 38 00 00 00 */ li r0, 0 /* 8022D5E8 0022A548 90 1E 07 D4 */ stw r0, 0x7d4(r30) lbl_8022D5EC: /* 8022D5EC 0022A54C 34 1E 07 88 */ addic. r0, r30, 0x788 /* 8022D5F0 0022A550 41 82 00 58 */ beq lbl_8022D648 /* 8022D5F4 0022A554 80 BE 07 88 */ lwz r5, 0x788(r30) /* 8022D5F8 0022A558 38 60 00 00 */ li r3, 0 /* 8022D5FC 0022A55C 2C 05 00 00 */ cmpwi r5, 0 /* 8022D600 0022A560 40 81 00 40 */ ble lbl_8022D640 /* 8022D604 0022A564 2C 05 00 08 */ cmpwi r5, 8 /* 8022D608 0022A568 38 85 FF F8 */ addi r4, r5, -8 /* 8022D60C 0022A56C 40 81 00 20 */ ble lbl_8022D62C /* 8022D610 0022A570 38 04 00 07 */ addi r0, r4, 7 /* 8022D614 0022A574 54 00 E8 FE */ srwi r0, r0, 3 /* 8022D618 0022A578 7C 09 03 A6 */ mtctr r0 /* 8022D61C 0022A57C 2C 04 00 00 */ cmpwi r4, 0 /* 8022D620 0022A580 40 81 00 0C */ ble lbl_8022D62C lbl_8022D624: /* 8022D624 0022A584 38 63 00 08 */ addi r3, r3, 8 /* 8022D628 0022A588 42 00 FF FC */ bdnz lbl_8022D624 lbl_8022D62C: /* 8022D62C 0022A58C 7C 03 28 50 */ subf r0, r3, r5 /* 8022D630 0022A590 7C 09 03 A6 */ mtctr r0 /* 8022D634 0022A594 7C 03 28 00 */ cmpw r3, r5 /* 8022D638 0022A598 40 80 00 08 */ bge lbl_8022D640 lbl_8022D63C: /* 8022D63C 0022A59C 42 00 00 00 */ bdnz lbl_8022D63C lbl_8022D640: /* 8022D640 0022A5A0 38 00 00 00 */ li r0, 0 /* 8022D644 0022A5A4 90 1E 07 88 */ stw r0, 0x788(r30) lbl_8022D648: /* 8022D648 0022A5A8 34 1E 07 74 */ addic. r0, r30, 0x774 /* 8022D64C 0022A5AC 41 82 00 58 */ beq lbl_8022D6A4 /* 8022D650 0022A5B0 80 BE 07 74 */ lwz r5, 0x774(r30) /* 8022D654 0022A5B4 38 60 00 00 */ li r3, 0 /* 8022D658 0022A5B8 2C 05 00 00 */ cmpwi r5, 0 /* 8022D65C 0022A5BC 40 81 00 40 */ ble lbl_8022D69C /* 8022D660 0022A5C0 2C 05 00 08 */ cmpwi r5, 8 /* 8022D664 0022A5C4 38 85 FF F8 */ addi r4, r5, -8 /* 8022D668 0022A5C8 40 81 00 20 */ ble lbl_8022D688 /* 8022D66C 0022A5CC 38 04 00 07 */ addi r0, r4, 7 /* 8022D670 0022A5D0 54 00 E8 FE */ srwi r0, r0, 3 /* 8022D674 0022A5D4 7C 09 03 A6 */ mtctr r0 /* 8022D678 0022A5D8 2C 04 00 00 */ cmpwi r4, 0 /* 8022D67C 0022A5DC 40 81 00 0C */ ble lbl_8022D688 lbl_8022D680: /* 8022D680 0022A5E0 38 63 00 08 */ addi r3, r3, 8 /* 8022D684 0022A5E4 42 00 FF FC */ bdnz lbl_8022D680 lbl_8022D688: /* 8022D688 0022A5E8 7C 03 28 50 */ subf r0, r3, r5 /* 8022D68C 0022A5EC 7C 09 03 A6 */ mtctr r0 /* 8022D690 0022A5F0 7C 03 28 00 */ cmpw r3, r5 /* 8022D694 0022A5F4 40 80 00 08 */ bge lbl_8022D69C lbl_8022D698: /* 8022D698 0022A5F8 42 00 00 00 */ bdnz lbl_8022D698 lbl_8022D69C: /* 8022D69C 0022A5FC 38 00 00 00 */ li r0, 0 /* 8022D6A0 0022A600 90 1E 07 74 */ stw r0, 0x774(r30) lbl_8022D6A4: /* 8022D6A4 0022A604 34 1E 07 60 */ addic. r0, r30, 0x760 /* 8022D6A8 0022A608 41 82 00 30 */ beq lbl_8022D6D8 /* 8022D6AC 0022A60C 88 1E 07 6C */ lbz r0, 0x76c(r30) /* 8022D6B0 0022A610 28 00 00 00 */ cmplwi r0, 0 /* 8022D6B4 0022A614 41 82 00 1C */ beq lbl_8022D6D0 /* 8022D6B8 0022A618 34 7E 07 60 */ addic. r3, r30, 0x760 /* 8022D6BC 0022A61C 41 82 00 14 */ beq lbl_8022D6D0 /* 8022D6C0 0022A620 28 03 00 00 */ cmplwi r3, 0 /* 8022D6C4 0022A624 41 82 00 0C */ beq lbl_8022D6D0 /* 8022D6C8 0022A628 38 80 00 00 */ li r4, 0 /* 8022D6CC 0022A62C 48 11 37 75 */ bl __dt__6CTokenFv lbl_8022D6D0: /* 8022D6D0 0022A630 38 00 00 00 */ li r0, 0 /* 8022D6D4 0022A634 98 1E 07 6C */ stb r0, 0x76c(r30) lbl_8022D6D8: /* 8022D6D8 0022A638 34 1E 07 38 */ addic. r0, r30, 0x738 /* 8022D6DC 0022A63C 41 82 00 24 */ beq lbl_8022D700 /* 8022D6E0 0022A640 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 8022D6E4 0022A644 34 1E 07 38 */ addic. r0, r30, 0x738 /* 8022D6E8 0022A648 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 8022D6EC 0022A64C 90 1E 07 38 */ stw r0, 0x738(r30) /* 8022D6F0 0022A650 41 82 00 10 */ beq lbl_8022D700 /* 8022D6F4 0022A654 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 8022D6F8 0022A658 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l /* 8022D6FC 0022A65C 90 1E 07 38 */ stw r0, 0x738(r30) lbl_8022D700: /* 8022D700 0022A660 34 1E 07 30 */ addic. r0, r30, 0x730 /* 8022D704 0022A664 41 82 00 10 */ beq lbl_8022D714 /* 8022D708 0022A668 80 7E 07 30 */ lwz r3, 0x730(r30) /* 8022D70C 0022A66C 38 80 00 01 */ li r4, 1 /* 8022D710 0022A670 4B F7 A1 CD */ bl sub_801a78dc lbl_8022D714: /* 8022D714 0022A674 34 1E 06 F8 */ addic. r0, r30, 0x6f8 /* 8022D718 0022A678 41 82 00 14 */ beq lbl_8022D72C /* 8022D71C 0022A67C 34 1E 07 1C */ addic. r0, r30, 0x71c /* 8022D720 0022A680 41 82 00 0C */ beq lbl_8022D72C /* 8022D724 0022A684 38 00 00 00 */ li r0, 0 /* 8022D728 0022A688 98 1E 07 28 */ stb r0, 0x728(r30) lbl_8022D72C: /* 8022D72C 0022A68C 34 1E 05 D8 */ addic. r0, r30, 0x5d8 /* 8022D730 0022A690 41 82 00 14 */ beq lbl_8022D744 /* 8022D734 0022A694 34 7E 06 00 */ addic. r3, r30, 0x600 /* 8022D738 0022A698 41 82 00 0C */ beq lbl_8022D744 /* 8022D73C 0022A69C 38 80 FF FF */ li r4, -1 /* 8022D740 0022A6A0 4B ED 8E C9 */ bl __dt__16CActorParametersFv lbl_8022D744: /* 8022D744 0022A6A4 34 1E 05 D4 */ addic. r0, r30, 0x5d4 /* 8022D748 0022A6A8 41 82 00 10 */ beq lbl_8022D758 /* 8022D74C 0022A6AC 80 7E 05 D4 */ lwz r3, 0x5d4(r30) /* 8022D750 0022A6B0 38 80 00 01 */ li r4, 1 /* 8022D754 0022A6B4 4B F7 A1 89 */ bl sub_801a78dc lbl_8022D758: /* 8022D758 0022A6B8 7F C3 F3 78 */ mr r3, r30 /* 8022D75C 0022A6BC 38 80 00 00 */ li r4, 0 /* 8022D760 0022A6C0 4B E4 9E 11 */ bl __dt__10CPatternedFv /* 8022D764 0022A6C4 7F E0 07 35 */ extsh. r0, r31 /* 8022D768 0022A6C8 40 81 00 0C */ ble lbl_8022D774 /* 8022D76C 0022A6CC 7F C3 F3 78 */ mr r3, r30 /* 8022D770 0022A6D0 48 0E 81 C1 */ bl Free__7CMemoryFPCv lbl_8022D774: /* 8022D774 0022A6D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022D778 0022A6D8 7F C3 F3 78 */ mr r3, r30 /* 8022D77C 0022A6DC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022D780 0022A6E0 83 C1 00 08 */ lwz r30, 8(r1) /* 8022D784 0022A6E4 7C 08 03 A6 */ mtlr r0 /* 8022D788 0022A6E8 38 21 00 10 */ addi r1, r1, 0x10 /* 8022D78C 0022A6EC 4E 80 00 20 */ blr .global "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData" "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData": /* 8022D790 0022A6F0 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8022D794 0022A6F4 7C 08 02 A6 */ mflr r0 /* 8022D798 0022A6F8 39 60 00 01 */ li r11, 1 /* 8022D79C 0022A6FC 7D 0C 43 78 */ mr r12, r8 /* 8022D7A0 0022A700 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8022D7A4 0022A704 BE E1 00 8C */ stmw r23, 0x8c(r1) /* 8022D7A8 0022A708 7C D8 33 78 */ mr r24, r6 /* 8022D7AC 0022A70C 7D 3E 4B 78 */ mr r30, r9 /* 8022D7B0 0022A710 7C A6 2B 78 */ mr r6, r5 /* 8022D7B4 0022A714 7C E9 3B 78 */ mr r9, r7 /* 8022D7B8 0022A718 83 E1 00 B8 */ lwz r31, 0xb8(r1) /* 8022D7BC 0022A71C 7C 7D 1B 78 */ mr r29, r3 /* 8022D7C0 0022A720 7F 08 C3 78 */ mr r8, r24 /* 8022D7C4 0022A724 38 A1 00 20 */ addi r5, r1, 0x20 /* 8022D7C8 0022A728 38 E0 00 00 */ li r7, 0 /* 8022D7CC 0022A72C A0 04 00 00 */ lhz r0, 0(r4) /* 8022D7D0 0022A730 38 80 00 00 */ li r4, 0 /* 8022D7D4 0022A734 B0 01 00 20 */ sth r0, 0x20(r1) /* 8022D7D8 0022A738 38 00 00 02 */ li r0, 2 /* 8022D7DC 0022A73C 93 C1 00 08 */ stw r30, 8(r1) /* 8022D7E0 0022A740 90 81 00 0C */ stw r4, 0xc(r1) /* 8022D7E4 0022A744 38 80 00 08 */ li r4, 8 /* 8022D7E8 0022A748 91 61 00 10 */ stw r11, 0x10(r1) /* 8022D7EC 0022A74C 91 61 00 14 */ stw r11, 0x14(r1) /* 8022D7F0 0022A750 91 41 00 18 */ stw r10, 0x18(r1) /* 8022D7F4 0022A754 7D 8A 63 78 */ mr r10, r12 /* 8022D7F8 0022A758 90 01 00 1C */ stw r0, 0x1c(r1) /* 8022D7FC 0022A75C 4B E4 FC 55 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 8022D800 0022A760 3C 60 80 3E */ lis r3, lbl_803E7AE0@ha /* 8022D804 0022A764 38 A0 FF FF */ li r5, -1 /* 8022D808 0022A768 38 63 7A E0 */ addi r3, r3, lbl_803E7AE0@l /* 8022D80C 0022A76C 38 00 00 00 */ li r0, 0 /* 8022D810 0022A770 90 7D 00 00 */ stw r3, 0(r29) /* 8022D814 0022A774 7F E4 FB 78 */ mr r4, r31 /* 8022D818 0022A778 38 7D 05 D8 */ addi r3, r29, 0x5d8 /* 8022D81C 0022A77C 90 BD 05 68 */ stw r5, 0x568(r29) /* 8022D820 0022A780 80 DE 00 5C */ lwz r6, 0x5c(r30) /* 8022D824 0022A784 80 BE 00 60 */ lwz r5, 0x60(r30) /* 8022D828 0022A788 90 DD 05 6C */ stw r6, 0x56c(r29) /* 8022D82C 0022A78C 90 BD 05 70 */ stw r5, 0x570(r29) /* 8022D830 0022A790 80 DE 00 64 */ lwz r6, 0x64(r30) /* 8022D834 0022A794 80 BE 00 68 */ lwz r5, 0x68(r30) /* 8022D838 0022A798 90 DD 05 74 */ stw r6, 0x574(r29) /* 8022D83C 0022A79C 90 BD 05 78 */ stw r5, 0x578(r29) /* 8022D840 0022A7A0 80 DE 00 6C */ lwz r6, 0x6c(r30) /* 8022D844 0022A7A4 80 BE 00 70 */ lwz r5, 0x70(r30) /* 8022D848 0022A7A8 90 DD 05 7C */ stw r6, 0x57c(r29) /* 8022D84C 0022A7AC 90 BD 05 80 */ stw r5, 0x580(r29) /* 8022D850 0022A7B0 80 DE 00 74 */ lwz r6, 0x74(r30) /* 8022D854 0022A7B4 80 BE 00 78 */ lwz r5, 0x78(r30) /* 8022D858 0022A7B8 90 DD 05 84 */ stw r6, 0x584(r29) /* 8022D85C 0022A7BC 90 BD 05 88 */ stw r5, 0x588(r29) /* 8022D860 0022A7C0 80 DE 00 7C */ lwz r6, 0x7c(r30) /* 8022D864 0022A7C4 80 BE 00 80 */ lwz r5, 0x80(r30) /* 8022D868 0022A7C8 90 DD 05 8C */ stw r6, 0x58c(r29) /* 8022D86C 0022A7CC 90 BD 05 90 */ stw r5, 0x590(r29) /* 8022D870 0022A7D0 80 DE 00 84 */ lwz r6, 0x84(r30) /* 8022D874 0022A7D4 80 BE 00 88 */ lwz r5, 0x88(r30) /* 8022D878 0022A7D8 90 DD 05 94 */ stw r6, 0x594(r29) /* 8022D87C 0022A7DC 90 BD 05 98 */ stw r5, 0x598(r29) /* 8022D880 0022A7E0 80 DE 00 8C */ lwz r6, 0x8c(r30) /* 8022D884 0022A7E4 80 BE 00 90 */ lwz r5, 0x90(r30) /* 8022D888 0022A7E8 90 DD 05 9C */ stw r6, 0x59c(r29) /* 8022D88C 0022A7EC 90 BD 05 A0 */ stw r5, 0x5a0(r29) /* 8022D890 0022A7F0 80 BE 00 94 */ lwz r5, 0x94(r30) /* 8022D894 0022A7F4 90 BD 05 A4 */ stw r5, 0x5a4(r29) /* 8022D898 0022A7F8 80 DE 00 98 */ lwz r6, 0x98(r30) /* 8022D89C 0022A7FC 80 BE 00 9C */ lwz r5, 0x9c(r30) /* 8022D8A0 0022A800 90 DD 05 A8 */ stw r6, 0x5a8(r29) /* 8022D8A4 0022A804 90 BD 05 AC */ stw r5, 0x5ac(r29) /* 8022D8A8 0022A808 80 DE 00 A0 */ lwz r6, 0xa0(r30) /* 8022D8AC 0022A80C 80 BE 00 A4 */ lwz r5, 0xa4(r30) /* 8022D8B0 0022A810 90 DD 05 B0 */ stw r6, 0x5b0(r29) /* 8022D8B4 0022A814 90 BD 05 B4 */ stw r5, 0x5b4(r29) /* 8022D8B8 0022A818 80 DE 00 A8 */ lwz r6, 0xa8(r30) /* 8022D8BC 0022A81C 80 BE 00 AC */ lwz r5, 0xac(r30) /* 8022D8C0 0022A820 90 DD 05 B8 */ stw r6, 0x5b8(r29) /* 8022D8C4 0022A824 90 BD 05 BC */ stw r5, 0x5bc(r29) /* 8022D8C8 0022A828 80 DE 00 B0 */ lwz r6, 0xb0(r30) /* 8022D8CC 0022A82C 80 BE 00 B4 */ lwz r5, 0xb4(r30) /* 8022D8D0 0022A830 90 DD 05 C0 */ stw r6, 0x5c0(r29) /* 8022D8D4 0022A834 90 BD 05 C4 */ stw r5, 0x5c4(r29) /* 8022D8D8 0022A838 80 BE 00 B8 */ lwz r5, 0xb8(r30) /* 8022D8DC 0022A83C 90 BD 05 C8 */ stw r5, 0x5c8(r29) /* 8022D8E0 0022A840 80 BE 00 BC */ lwz r5, 0xbc(r30) /* 8022D8E4 0022A844 90 BD 05 CC */ stw r5, 0x5cc(r29) /* 8022D8E8 0022A848 80 BE 00 C0 */ lwz r5, 0xc0(r30) /* 8022D8EC 0022A84C 90 BD 05 D0 */ stw r5, 0x5d0(r29) /* 8022D8F0 0022A850 90 1D 05 D4 */ stw r0, 0x5d4(r29) /* 8022D8F4 0022A854 48 00 03 9D */ bl __ct__16CElitePirateDataFRC16CElitePirateData /* 8022D8F8 0022A858 3C 80 80 3D */ lis r4, lbl_803D3310@ha /* 8022D8FC 0022A85C 38 61 00 60 */ addi r3, r1, 0x60 /* 8022D900 0022A860 38 84 33 10 */ addi r4, r4, lbl_803D3310@l /* 8022D904 0022A864 38 84 00 54 */ addi r4, r4, 0x54 /* 8022D908 0022A868 4B DD 73 B1 */ bl string_l__4rstlFPCc /* 8022D90C 0022A86C 80 9D 00 64 */ lwz r4, 0x64(r29) /* 8022D910 0022A870 38 7D 06 F8 */ addi r3, r29, 0x6f8 /* 8022D914 0022A874 C0 22 B6 1C */ lfs f1, lbl_805AD33C@sda21(r2) /* 8022D918 0022A878 38 A1 00 60 */ addi r5, r1, 0x60 /* 8022D91C 0022A87C 80 84 00 10 */ lwz r4, 0x10(r4) /* 8022D920 0022A880 38 C0 00 00 */ li r6, 0 /* 8022D924 0022A884 C0 42 B6 20 */ lfs f2, lbl_805AD340@sda21(r2) /* 8022D928 0022A888 4B F4 80 91 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 8022D92C 0022A88C 38 61 00 60 */ addi r3, r1, 0x60 /* 8022D930 0022A890 48 11 01 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8022D934 0022A894 38 00 00 00 */ li r0, 0 /* 8022D938 0022A898 7F A4 EB 78 */ mr r4, r29 /* 8022D93C 0022A89C 90 1D 07 30 */ stw r0, 0x730(r29) /* 8022D940 0022A8A0 3B 1D 00 68 */ addi r24, r29, 0x68 /* 8022D944 0022A8A4 38 61 00 70 */ addi r3, r1, 0x70 /* 8022D948 0022A8A8 4B EE CF E5 */ bl GetBoundingBox__13CPhysicsActorCFv /* 8022D94C 0022A8AC 3A FD 07 38 */ addi r23, r29, 0x738 /* 8022D950 0022A8B0 7F 04 C3 78 */ mr r4, r24 /* 8022D954 0022A8B4 7E E3 BB 78 */ mr r3, r23 /* 8022D958 0022A8B8 48 0A 1F 5D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 8022D95C 0022A8BC 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha /* 8022D960 0022A8C0 3B 80 00 00 */ li r28, 0 /* 8022D964 0022A8C4 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l /* 8022D968 0022A8C8 3B 60 00 00 */ li r27, 0 /* 8022D96C 0022A8CC 90 17 00 00 */ stw r0, 0(r23) /* 8022D970 0022A8D0 3B 40 00 00 */ li r26, 0 /* 8022D974 0022A8D4 3B 20 00 00 */ li r25, 0 /* 8022D978 0022A8D8 C0 01 00 70 */ lfs f0, 0x70(r1) /* 8022D97C 0022A8DC D0 17 00 10 */ stfs f0, 0x10(r23) /* 8022D980 0022A8E0 C0 01 00 74 */ lfs f0, 0x74(r1) /* 8022D984 0022A8E4 D0 17 00 14 */ stfs f0, 0x14(r23) /* 8022D988 0022A8E8 C0 01 00 78 */ lfs f0, 0x78(r1) /* 8022D98C 0022A8EC D0 17 00 18 */ stfs f0, 0x18(r23) /* 8022D990 0022A8F0 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 8022D994 0022A8F4 D0 17 00 1C */ stfs f0, 0x1c(r23) /* 8022D998 0022A8F8 C0 01 00 80 */ lfs f0, 0x80(r1) /* 8022D99C 0022A8FC D0 17 00 20 */ stfs f0, 0x20(r23) /* 8022D9A0 0022A900 C0 01 00 84 */ lfs f0, 0x84(r1) /* 8022D9A4 0022A904 D0 17 00 24 */ stfs f0, 0x24(r23) /* 8022D9A8 0022A908 80 9F 00 20 */ lwz r4, 0x20(r31) /* 8022D9AC 0022A90C 3C 04 00 01 */ addis r0, r4, 1 /* 8022D9B0 0022A910 28 00 FF FF */ cmplwi r0, 0xffff /* 8022D9B4 0022A914 41 82 00 90 */ beq lbl_8022DA44 /* 8022D9B8 0022A918 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8022D9BC 0022A91C 90 81 00 30 */ stw r4, 0x30(r1) /* 8022D9C0 0022A920 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8022D9C4 0022A924 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8022D9C8 0022A928 90 01 00 2C */ stw r0, 0x2c(r1) /* 8022D9CC 0022A92C 38 61 00 24 */ addi r3, r1, 0x24 /* 8022D9D0 0022A930 38 A1 00 2C */ addi r5, r1, 0x2c /* 8022D9D4 0022A934 81 84 00 00 */ lwz r12, 0(r4) /* 8022D9D8 0022A938 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8022D9DC 0022A93C 7D 89 03 A6 */ mtctr r12 /* 8022D9E0 0022A940 4E 80 04 21 */ bctrl /* 8022D9E4 0022A944 3A E1 00 54 */ addi r23, r1, 0x54 /* 8022D9E8 0022A948 38 81 00 24 */ addi r4, r1, 0x24 /* 8022D9EC 0022A94C 7E E3 BB 78 */ mr r3, r23 /* 8022D9F0 0022A950 3B 80 00 01 */ li r28, 1 /* 8022D9F4 0022A954 48 11 34 B5 */ bl __ct__6CTokenFRC6CToken /* 8022D9F8 0022A958 7E E3 BB 78 */ mr r3, r23 /* 8022D9FC 0022A95C 48 11 34 11 */ bl GetObj__6CTokenFv /* 8022DA00 0022A960 80 63 00 04 */ lwz r3, 4(r3) /* 8022DA04 0022A964 38 00 00 01 */ li r0, 1 /* 8022DA08 0022A968 37 41 00 44 */ addic. r26, r1, 0x44 /* 8022DA0C 0022A96C 3B 60 00 01 */ li r27, 1 /* 8022DA10 0022A970 90 61 00 5C */ stw r3, 0x5c(r1) /* 8022DA14 0022A974 98 01 00 50 */ stb r0, 0x50(r1) /* 8022DA18 0022A978 41 82 00 20 */ beq lbl_8022DA38 /* 8022DA1C 0022A97C 7F 43 D3 78 */ mr r3, r26 /* 8022DA20 0022A980 7E E4 BB 78 */ mr r4, r23 /* 8022DA24 0022A984 48 11 34 85 */ bl __ct__6CTokenFRC6CToken /* 8022DA28 0022A988 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8022DA2C 0022A98C 7F 43 D3 78 */ mr r3, r26 /* 8022DA30 0022A990 90 1A 00 08 */ stw r0, 8(r26) /* 8022DA34 0022A994 48 11 33 51 */ bl Lock__6CTokenFv lbl_8022DA38: /* 8022DA38 0022A998 3B E1 00 44 */ addi r31, r1, 0x44 /* 8022DA3C 0022A99C 3B 40 00 01 */ li r26, 1 /* 8022DA40 0022A9A0 48 00 00 14 */ b lbl_8022DA54 lbl_8022DA44: /* 8022DA44 0022A9A4 38 00 00 00 */ li r0, 0 /* 8022DA48 0022A9A8 3B E1 00 34 */ addi r31, r1, 0x34 /* 8022DA4C 0022A9AC 98 01 00 40 */ stb r0, 0x40(r1) /* 8022DA50 0022A9B0 3B 20 00 01 */ li r25, 1 lbl_8022DA54: /* 8022DA54 0022A9B4 88 1F 00 0C */ lbz r0, 0xc(r31) /* 8022DA58 0022A9B8 98 1D 07 6C */ stb r0, 0x76c(r29) /* 8022DA5C 0022A9BC 88 1F 00 0C */ lbz r0, 0xc(r31) /* 8022DA60 0022A9C0 28 00 00 00 */ cmplwi r0, 0 /* 8022DA64 0022A9C4 41 82 00 28 */ beq lbl_8022DA8C /* 8022DA68 0022A9C8 37 1D 07 60 */ addic. r24, r29, 0x760 /* 8022DA6C 0022A9CC 41 82 00 20 */ beq lbl_8022DA8C /* 8022DA70 0022A9D0 7F 03 C3 78 */ mr r3, r24 /* 8022DA74 0022A9D4 7F E4 FB 78 */ mr r4, r31 /* 8022DA78 0022A9D8 48 11 34 31 */ bl __ct__6CTokenFRC6CToken /* 8022DA7C 0022A9DC 80 1F 00 08 */ lwz r0, 8(r31) /* 8022DA80 0022A9E0 7F 03 C3 78 */ mr r3, r24 /* 8022DA84 0022A9E4 90 18 00 08 */ stw r0, 8(r24) /* 8022DA88 0022A9E8 48 11 32 FD */ bl Lock__6CTokenFv lbl_8022DA8C: /* 8022DA8C 0022A9EC 7F 20 07 75 */ extsb. r0, r25 /* 8022DA90 0022A9F0 41 82 00 30 */ beq lbl_8022DAC0 /* 8022DA94 0022A9F4 88 01 00 40 */ lbz r0, 0x40(r1) /* 8022DA98 0022A9F8 28 00 00 00 */ cmplwi r0, 0 /* 8022DA9C 0022A9FC 41 82 00 1C */ beq lbl_8022DAB8 /* 8022DAA0 0022AA00 34 61 00 34 */ addic. r3, r1, 0x34 /* 8022DAA4 0022AA04 41 82 00 14 */ beq lbl_8022DAB8 /* 8022DAA8 0022AA08 28 03 00 00 */ cmplwi r3, 0 /* 8022DAAC 0022AA0C 41 82 00 0C */ beq lbl_8022DAB8 /* 8022DAB0 0022AA10 38 80 00 00 */ li r4, 0 /* 8022DAB4 0022AA14 48 11 33 8D */ bl __dt__6CTokenFv lbl_8022DAB8: /* 8022DAB8 0022AA18 38 00 00 00 */ li r0, 0 /* 8022DABC 0022AA1C 98 01 00 40 */ stb r0, 0x40(r1) lbl_8022DAC0: /* 8022DAC0 0022AA20 7F 40 07 75 */ extsb. r0, r26 /* 8022DAC4 0022AA24 41 82 00 30 */ beq lbl_8022DAF4 /* 8022DAC8 0022AA28 88 01 00 50 */ lbz r0, 0x50(r1) /* 8022DACC 0022AA2C 28 00 00 00 */ cmplwi r0, 0 /* 8022DAD0 0022AA30 41 82 00 1C */ beq lbl_8022DAEC /* 8022DAD4 0022AA34 34 61 00 44 */ addic. r3, r1, 0x44 /* 8022DAD8 0022AA38 41 82 00 14 */ beq lbl_8022DAEC /* 8022DADC 0022AA3C 28 03 00 00 */ cmplwi r3, 0 /* 8022DAE0 0022AA40 41 82 00 0C */ beq lbl_8022DAEC /* 8022DAE4 0022AA44 38 80 00 00 */ li r4, 0 /* 8022DAE8 0022AA48 48 11 33 59 */ bl __dt__6CTokenFv lbl_8022DAEC: /* 8022DAEC 0022AA4C 38 00 00 00 */ li r0, 0 /* 8022DAF0 0022AA50 98 01 00 50 */ stb r0, 0x50(r1) lbl_8022DAF4: /* 8022DAF4 0022AA54 7F 60 07 75 */ extsb. r0, r27 /* 8022DAF8 0022AA58 41 82 00 10 */ beq lbl_8022DB08 /* 8022DAFC 0022AA5C 38 61 00 54 */ addi r3, r1, 0x54 /* 8022DB00 0022AA60 38 80 00 00 */ li r4, 0 /* 8022DB04 0022AA64 48 11 33 3D */ bl __dt__6CTokenFv lbl_8022DB08: /* 8022DB08 0022AA68 7F 80 07 75 */ extsb. r0, r28 /* 8022DB0C 0022AA6C 41 82 00 10 */ beq lbl_8022DB1C /* 8022DB10 0022AA70 38 61 00 24 */ addi r3, r1, 0x24 /* 8022DB14 0022AA74 38 80 FF FF */ li r4, -1 /* 8022DB18 0022AA78 48 11 33 29 */ bl __dt__6CTokenFv lbl_8022DB1C: /* 8022DB1C 0022AA7C A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) /* 8022DB20 0022AA80 38 E0 00 00 */ li r7, 0 /* 8022DB24 0022AA84 C0 22 B5 CC */ lfs f1, lbl_805AD2EC@sda21(r2) /* 8022DB28 0022AA88 38 00 FF FF */ li r0, -1 /* 8022DB2C 0022AA8C B0 7D 07 70 */ sth r3, 0x770(r29) /* 8022DB30 0022AA90 38 7D 07 D0 */ addi r3, r29, 0x7d0 /* 8022DB34 0022AA94 C0 02 B5 B8 */ lfs f0, lbl_805AD2D8@sda21(r2) /* 8022DB38 0022AA98 FC 40 08 90 */ fmr f2, f1 /* 8022DB3C 0022AA9C A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 8022DB40 0022AAA0 38 80 00 00 */ li r4, 0 /* 8022DB44 0022AAA4 38 A0 00 01 */ li r5, 1 /* 8022DB48 0022AAA8 B0 DD 07 72 */ sth r6, 0x772(r29) /* 8022DB4C 0022AAAC 90 FD 07 74 */ stw r7, 0x774(r29) /* 8022DB50 0022AAB0 90 FD 07 88 */ stw r7, 0x788(r29) /* 8022DB54 0022AAB4 A0 CD A3 8C */ lhz r6, lbl_805A8F4C@sda21(r13) /* 8022DB58 0022AAB8 B0 DD 07 9C */ sth r6, 0x79c(r29) /* 8022DB5C 0022AABC C0 7D 03 B4 */ lfs f3, 0x3b4(r29) /* 8022DB60 0022AAC0 D0 7D 07 A0 */ stfs f3, 0x7a0(r29) /* 8022DB64 0022AAC4 D0 3D 07 A4 */ stfs f1, 0x7a4(r29) /* 8022DB68 0022AAC8 D0 1D 07 A8 */ stfs f0, 0x7a8(r29) /* 8022DB6C 0022AACC D0 1D 07 AC */ stfs f0, 0x7ac(r29) /* 8022DB70 0022AAD0 D0 3D 07 B0 */ stfs f1, 0x7b0(r29) /* 8022DB74 0022AAD4 D0 1D 07 B4 */ stfs f0, 0x7b4(r29) /* 8022DB78 0022AAD8 D0 1D 07 B8 */ stfs f0, 0x7b8(r29) /* 8022DB7C 0022AADC D0 1D 07 BC */ stfs f0, 0x7bc(r29) /* 8022DB80 0022AAE0 D0 1D 07 C0 */ stfs f0, 0x7c0(r29) /* 8022DB84 0022AAE4 D0 1D 07 C4 */ stfs f0, 0x7c4(r29) /* 8022DB88 0022AAE8 90 1D 07 C8 */ stw r0, 0x7c8(r29) /* 8022DB8C 0022AAEC 90 FD 07 CC */ stw r7, 0x7cc(r29) /* 8022DB90 0022AAF0 80 DE 01 0C */ lwz r6, 0x10c(r30) /* 8022DB94 0022AAF4 4B F9 B2 01 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 8022DB98 0022AAF8 3C 60 80 5A */ lis r3, skZero3f@ha /* 8022DB9C 0022AAFC C0 22 B5 FC */ lfs f1, lbl_805AD31C@sda21(r2) /* 8022DBA0 0022AB00 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 8022DBA4 0022AB04 38 7D 08 C0 */ addi r3, r29, 0x8c0 /* 8022DBA8 0022AB08 C0 04 00 00 */ lfs f0, 0(r4) /* 8022DBAC 0022AB0C D0 1D 08 B4 */ stfs f0, 0x8b4(r29) /* 8022DBB0 0022AB10 C0 04 00 04 */ lfs f0, 4(r4) /* 8022DBB4 0022AB14 D0 1D 08 B8 */ stfs f0, 0x8b8(r29) /* 8022DBB8 0022AB18 C0 04 00 08 */ lfs f0, 8(r4) /* 8022DBBC 0022AB1C D0 1D 08 BC */ stfs f0, 0x8bc(r29) /* 8022DBC0 0022AB20 48 07 2E 39 */ bl sub_802a09f8 /* 8022DBC4 0022AB24 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DBC8 0022AB28 38 80 00 00 */ li r4, 0 /* 8022DBCC 0022AB2C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8022DBD0 0022AB30 7F A3 EB 78 */ mr r3, r29 /* 8022DBD4 0022AB34 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DBD8 0022AB38 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DBDC 0022AB3C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8022DBE0 0022AB40 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DBE4 0022AB44 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DBE8 0022AB48 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 8022DBEC 0022AB4C 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DBF0 0022AB50 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DBF4 0022AB54 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8022DBF8 0022AB58 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DBFC 0022AB5C 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DC00 0022AB60 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 8022DC04 0022AB64 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DC08 0022AB68 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DC0C 0022AB6C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 8022DC10 0022AB70 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DC14 0022AB74 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DC18 0022AB78 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 8022DC1C 0022AB7C 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DC20 0022AB80 88 1D 09 88 */ lbz r0, 0x988(r29) /* 8022DC24 0022AB84 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 8022DC28 0022AB88 98 1D 09 88 */ stb r0, 0x988(r29) /* 8022DC2C 0022AB8C 88 1D 09 89 */ lbz r0, 0x989(r29) /* 8022DC30 0022AB90 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8022DC34 0022AB94 98 1D 09 89 */ stb r0, 0x989(r29) /* 8022DC38 0022AB98 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 8022DC3C 0022AB9C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8022DC40 0022ABA0 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 8022DC44 0022ABA4 88 1D 04 E2 */ lbz r0, 0x4e2(r29) /* 8022DC48 0022ABA8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 8022DC4C 0022ABAC 98 1D 04 E2 */ stb r0, 0x4e2(r29) /* 8022DC50 0022ABB0 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 8022DC54 0022ABB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 8022DC58 0022ABB8 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 8022DC5C 0022ABBC 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 8022DC60 0022ABC0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 8022DC64 0022ABC4 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 8022DC68 0022ABC8 88 1D 04 E1 */ lbz r0, 0x4e1(r29) /* 8022DC6C 0022ABCC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e /* 8022DC70 0022ABD0 98 1D 04 E1 */ stb r0, 0x4e1(r29) /* 8022DC74 0022ABD4 4B FF B5 D5 */ bl sub_80229248 /* 8022DC78 0022ABD8 7F A3 EB 78 */ mr r3, r29 /* 8022DC7C 0022ABDC BA E1 00 8C */ lmw r23, 0x8c(r1) /* 8022DC80 0022ABE0 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8022DC84 0022ABE4 7C 08 03 A6 */ mtlr r0 /* 8022DC88 0022ABE8 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8022DC8C 0022ABEC 4E 80 00 20 */ blr .global __ct__16CElitePirateDataFRC16CElitePirateData __ct__16CElitePirateDataFRC16CElitePirateData: /* 8022DC90 0022ABF0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022DC94 0022ABF4 7C 08 02 A6 */ mflr r0 /* 8022DC98 0022ABF8 90 01 00 14 */ stw r0, 0x14(r1) /* 8022DC9C 0022ABFC 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022DCA0 0022AC00 7C 9F 23 78 */ mr r31, r4 /* 8022DCA4 0022AC04 93 C1 00 08 */ stw r30, 8(r1) /* 8022DCA8 0022AC08 7C 7E 1B 78 */ mr r30, r3 /* 8022DCAC 0022AC0C 38 7E 00 28 */ addi r3, r30, 0x28 /* 8022DCB0 0022AC10 C0 04 00 00 */ lfs f0, 0(r4) /* 8022DCB4 0022AC14 38 9F 00 28 */ addi r4, r31, 0x28 /* 8022DCB8 0022AC18 D0 1E 00 00 */ stfs f0, 0(r30) /* 8022DCBC 0022AC1C C0 1F 00 04 */ lfs f0, 4(r31) /* 8022DCC0 0022AC20 D0 1E 00 04 */ stfs f0, 4(r30) /* 8022DCC4 0022AC24 C0 1F 00 08 */ lfs f0, 8(r31) /* 8022DCC8 0022AC28 D0 1E 00 08 */ stfs f0, 8(r30) /* 8022DCCC 0022AC2C C0 1F 00 0C */ lfs f0, 0xc(r31) /* 8022DCD0 0022AC30 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 8022DCD4 0022AC34 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 8022DCD8 0022AC38 D0 1E 00 10 */ stfs f0, 0x10(r30) /* 8022DCDC 0022AC3C C0 1F 00 14 */ lfs f0, 0x14(r31) /* 8022DCE0 0022AC40 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 8022DCE4 0022AC44 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 8022DCE8 0022AC48 D0 1E 00 18 */ stfs f0, 0x18(r30) /* 8022DCEC 0022AC4C C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8022DCF0 0022AC50 D0 1E 00 1C */ stfs f0, 0x1c(r30) /* 8022DCF4 0022AC54 80 1F 00 20 */ lwz r0, 0x20(r31) /* 8022DCF8 0022AC58 90 1E 00 20 */ stw r0, 0x20(r30) /* 8022DCFC 0022AC5C A0 1F 00 24 */ lhz r0, 0x24(r31) /* 8022DD00 0022AC60 B0 1E 00 24 */ sth r0, 0x24(r30) /* 8022DD04 0022AC64 4B E9 79 19 */ bl __ct__16CActorParametersFRC16CActorParameters /* 8022DD08 0022AC68 80 1F 00 90 */ lwz r0, 0x90(r31) /* 8022DD0C 0022AC6C 7F C3 F3 78 */ mr r3, r30 /* 8022DD10 0022AC70 90 1E 00 90 */ stw r0, 0x90(r30) /* 8022DD14 0022AC74 80 1F 00 94 */ lwz r0, 0x94(r31) /* 8022DD18 0022AC78 90 1E 00 94 */ stw r0, 0x94(r30) /* 8022DD1C 0022AC7C 80 1F 00 98 */ lwz r0, 0x98(r31) /* 8022DD20 0022AC80 90 1E 00 98 */ stw r0, 0x98(r30) /* 8022DD24 0022AC84 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 8022DD28 0022AC88 90 1E 00 9C */ stw r0, 0x9c(r30) /* 8022DD2C 0022AC8C A0 1F 00 A0 */ lhz r0, 0xa0(r31) /* 8022DD30 0022AC90 B0 1E 00 A0 */ sth r0, 0xa0(r30) /* 8022DD34 0022AC94 80 1F 00 A4 */ lwz r0, 0xa4(r31) /* 8022DD38 0022AC98 90 1E 00 A4 */ stw r0, 0xa4(r30) /* 8022DD3C 0022AC9C 80 1F 00 A8 */ lwz r0, 0xa8(r31) /* 8022DD40 0022ACA0 90 1E 00 A8 */ stw r0, 0xa8(r30) /* 8022DD44 0022ACA4 88 1F 00 AC */ lbz r0, 0xac(r31) /* 8022DD48 0022ACA8 98 1E 00 AC */ stb r0, 0xac(r30) /* 8022DD4C 0022ACAC C0 1F 00 B0 */ lfs f0, 0xb0(r31) /* 8022DD50 0022ACB0 D0 1E 00 B0 */ stfs f0, 0xb0(r30) /* 8022DD54 0022ACB4 C0 1F 00 B4 */ lfs f0, 0xb4(r31) /* 8022DD58 0022ACB8 D0 1E 00 B4 */ stfs f0, 0xb4(r30) /* 8022DD5C 0022ACBC C0 1F 00 B8 */ lfs f0, 0xb8(r31) /* 8022DD60 0022ACC0 D0 1E 00 B8 */ stfs f0, 0xb8(r30) /* 8022DD64 0022ACC4 C0 1F 00 BC */ lfs f0, 0xbc(r31) /* 8022DD68 0022ACC8 D0 1E 00 BC */ stfs f0, 0xbc(r30) /* 8022DD6C 0022ACCC 88 1F 00 C0 */ lbz r0, 0xc0(r31) /* 8022DD70 0022ACD0 98 1E 00 C0 */ stb r0, 0xc0(r30) /* 8022DD74 0022ACD4 C0 1F 00 C4 */ lfs f0, 0xc4(r31) /* 8022DD78 0022ACD8 D0 1E 00 C4 */ stfs f0, 0xc4(r30) /* 8022DD7C 0022ACDC 80 1F 00 C8 */ lwz r0, 0xc8(r31) /* 8022DD80 0022ACE0 90 1E 00 C8 */ stw r0, 0xc8(r30) /* 8022DD84 0022ACE4 80 1F 00 CC */ lwz r0, 0xcc(r31) /* 8022DD88 0022ACE8 90 1E 00 CC */ stw r0, 0xcc(r30) /* 8022DD8C 0022ACEC 80 1F 00 D0 */ lwz r0, 0xd0(r31) /* 8022DD90 0022ACF0 90 1E 00 D0 */ stw r0, 0xd0(r30) /* 8022DD94 0022ACF4 80 1F 00 D4 */ lwz r0, 0xd4(r31) /* 8022DD98 0022ACF8 90 1E 00 D4 */ stw r0, 0xd4(r30) /* 8022DD9C 0022ACFC C0 1F 00 D8 */ lfs f0, 0xd8(r31) /* 8022DDA0 0022AD00 D0 1E 00 D8 */ stfs f0, 0xd8(r30) /* 8022DDA4 0022AD04 C0 1F 00 DC */ lfs f0, 0xdc(r31) /* 8022DDA8 0022AD08 D0 1E 00 DC */ stfs f0, 0xdc(r30) /* 8022DDAC 0022AD0C C0 1F 00 E0 */ lfs f0, 0xe0(r31) /* 8022DDB0 0022AD10 D0 1E 00 E0 */ stfs f0, 0xe0(r30) /* 8022DDB4 0022AD14 C0 1F 00 E4 */ lfs f0, 0xe4(r31) /* 8022DDB8 0022AD18 D0 1E 00 E4 */ stfs f0, 0xe4(r30) /* 8022DDBC 0022AD1C C0 1F 00 E8 */ lfs f0, 0xe8(r31) /* 8022DDC0 0022AD20 D0 1E 00 E8 */ stfs f0, 0xe8(r30) /* 8022DDC4 0022AD24 C0 1F 00 EC */ lfs f0, 0xec(r31) /* 8022DDC8 0022AD28 D0 1E 00 EC */ stfs f0, 0xec(r30) /* 8022DDCC 0022AD2C 80 1F 00 F0 */ lwz r0, 0xf0(r31) /* 8022DDD0 0022AD30 90 1E 00 F0 */ stw r0, 0xf0(r30) /* 8022DDD4 0022AD34 A0 1F 00 F4 */ lhz r0, 0xf4(r31) /* 8022DDD8 0022AD38 B0 1E 00 F4 */ sth r0, 0xf4(r30) /* 8022DDDC 0022AD3C A0 1F 00 F6 */ lhz r0, 0xf6(r31) /* 8022DDE0 0022AD40 B0 1E 00 F6 */ sth r0, 0xf6(r30) /* 8022DDE4 0022AD44 80 1F 00 F8 */ lwz r0, 0xf8(r31) /* 8022DDE8 0022AD48 90 1E 00 F8 */ stw r0, 0xf8(r30) /* 8022DDEC 0022AD4C 80 1F 00 FC */ lwz r0, 0xfc(r31) /* 8022DDF0 0022AD50 90 1E 00 FC */ stw r0, 0xfc(r30) /* 8022DDF4 0022AD54 88 1F 01 00 */ lbz r0, 0x100(r31) /* 8022DDF8 0022AD58 98 1E 01 00 */ stb r0, 0x100(r30) /* 8022DDFC 0022AD5C C0 1F 01 04 */ lfs f0, 0x104(r31) /* 8022DE00 0022AD60 D0 1E 01 04 */ stfs f0, 0x104(r30) /* 8022DE04 0022AD64 C0 1F 01 08 */ lfs f0, 0x108(r31) /* 8022DE08 0022AD68 D0 1E 01 08 */ stfs f0, 0x108(r30) /* 8022DE0C 0022AD6C C0 1F 01 0C */ lfs f0, 0x10c(r31) /* 8022DE10 0022AD70 D0 1E 01 0C */ stfs f0, 0x10c(r30) /* 8022DE14 0022AD74 C0 1F 01 10 */ lfs f0, 0x110(r31) /* 8022DE18 0022AD78 D0 1E 01 10 */ stfs f0, 0x110(r30) /* 8022DE1C 0022AD7C 88 1F 01 14 */ lbz r0, 0x114(r31) /* 8022DE20 0022AD80 98 1E 01 14 */ stb r0, 0x114(r30) /* 8022DE24 0022AD84 80 1F 01 18 */ lwz r0, 0x118(r31) /* 8022DE28 0022AD88 90 1E 01 18 */ stw r0, 0x118(r30) /* 8022DE2C 0022AD8C A0 1F 01 1C */ lhz r0, 0x11c(r31) /* 8022DE30 0022AD90 B0 1E 01 1C */ sth r0, 0x11c(r30) /* 8022DE34 0022AD94 88 1F 01 1E */ lbz r0, 0x11e(r31) /* 8022DE38 0022AD98 98 1E 01 1E */ stb r0, 0x11e(r30) /* 8022DE3C 0022AD9C 88 1F 01 1F */ lbz r0, 0x11f(r31) /* 8022DE40 0022ADA0 98 1E 01 1F */ stb r0, 0x11f(r30) /* 8022DE44 0022ADA4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022DE48 0022ADA8 83 C1 00 08 */ lwz r30, 8(r1) /* 8022DE4C 0022ADAC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022DE50 0022ADB0 7C 08 03 A6 */ mtlr r0 /* 8022DE54 0022ADB4 38 21 00 10 */ addi r1, r1, 0x10 /* 8022DE58 0022ADB8 4E 80 00 20 */ blr .global __ct__16CElitePirateDataFR12CInputStreami __ct__16CElitePirateDataFR12CInputStreami: /* 8022DE5C 0022ADBC 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8022DE60 0022ADC0 7C 08 02 A6 */ mflr r0 /* 8022DE64 0022ADC4 90 01 00 94 */ stw r0, 0x94(r1) /* 8022DE68 0022ADC8 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8022DE6C 0022ADCC 7C BF 2B 78 */ mr r31, r5 /* 8022DE70 0022ADD0 93 C1 00 88 */ stw r30, 0x88(r1) /* 8022DE74 0022ADD4 7C 9E 23 78 */ mr r30, r4 /* 8022DE78 0022ADD8 93 A1 00 84 */ stw r29, 0x84(r1) /* 8022DE7C 0022ADDC 7C 7D 1B 78 */ mr r29, r3 /* 8022DE80 0022ADE0 7F C3 F3 78 */ mr r3, r30 /* 8022DE84 0022ADE4 48 11 0D A5 */ bl ReadFloat__12CInputStreamFv /* 8022DE88 0022ADE8 D0 3D 00 00 */ stfs f1, 0(r29) /* 8022DE8C 0022ADEC 7F C3 F3 78 */ mr r3, r30 /* 8022DE90 0022ADF0 48 11 0D 99 */ bl ReadFloat__12CInputStreamFv /* 8022DE94 0022ADF4 D0 3D 00 04 */ stfs f1, 4(r29) /* 8022DE98 0022ADF8 7F C3 F3 78 */ mr r3, r30 /* 8022DE9C 0022ADFC 48 11 0D 8D */ bl ReadFloat__12CInputStreamFv /* 8022DEA0 0022AE00 D0 3D 00 08 */ stfs f1, 8(r29) /* 8022DEA4 0022AE04 7F C3 F3 78 */ mr r3, r30 /* 8022DEA8 0022AE08 48 11 0D 81 */ bl ReadFloat__12CInputStreamFv /* 8022DEAC 0022AE0C D0 3D 00 0C */ stfs f1, 0xc(r29) /* 8022DEB0 0022AE10 7F C3 F3 78 */ mr r3, r30 /* 8022DEB4 0022AE14 48 11 0D 75 */ bl ReadFloat__12CInputStreamFv /* 8022DEB8 0022AE18 D0 3D 00 10 */ stfs f1, 0x10(r29) /* 8022DEBC 0022AE1C 7F C3 F3 78 */ mr r3, r30 /* 8022DEC0 0022AE20 48 11 0D 69 */ bl ReadFloat__12CInputStreamFv /* 8022DEC4 0022AE24 D0 3D 00 14 */ stfs f1, 0x14(r29) /* 8022DEC8 0022AE28 7F C3 F3 78 */ mr r3, r30 /* 8022DECC 0022AE2C 48 11 0D 5D */ bl ReadFloat__12CInputStreamFv /* 8022DED0 0022AE30 D0 3D 00 18 */ stfs f1, 0x18(r29) /* 8022DED4 0022AE34 7F C3 F3 78 */ mr r3, r30 /* 8022DED8 0022AE38 48 11 0D 51 */ bl ReadFloat__12CInputStreamFv /* 8022DEDC 0022AE3C D0 3D 00 1C */ stfs f1, 0x1c(r29) /* 8022DEE0 0022AE40 7F C3 F3 78 */ mr r3, r30 /* 8022DEE4 0022AE44 48 11 0D A1 */ bl ReadLong__12CInputStreamFv /* 8022DEE8 0022AE48 90 7D 00 20 */ stw r3, 0x20(r29) /* 8022DEEC 0022AE4C 7F C3 F3 78 */ mr r3, r30 /* 8022DEF0 0022AE50 48 11 0D 95 */ bl ReadLong__12CInputStreamFv /* 8022DEF4 0022AE54 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8022DEF8 0022AE58 48 0B AA B9 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022DEFC 0022AE5C B0 7D 00 24 */ sth r3, 0x24(r29) /* 8022DF00 0022AE60 7F C4 F3 78 */ mr r4, r30 /* 8022DF04 0022AE64 38 61 00 14 */ addi r3, r1, 0x14 /* 8022DF08 0022AE68 4B EA BE 6D */ bl LoadActorParameters__FR12CInputStream /* 8022DF0C 0022AE6C 38 7D 00 28 */ addi r3, r29, 0x28 /* 8022DF10 0022AE70 38 81 00 14 */ addi r4, r1, 0x14 /* 8022DF14 0022AE74 4B E9 77 09 */ bl __ct__16CActorParametersFRC16CActorParameters /* 8022DF18 0022AE78 38 61 00 14 */ addi r3, r1, 0x14 /* 8022DF1C 0022AE7C 38 80 FF FF */ li r4, -1 /* 8022DF20 0022AE80 4B ED 86 E9 */ bl __dt__16CActorParametersFv /* 8022DF24 0022AE84 7F C4 F3 78 */ mr r4, r30 /* 8022DF28 0022AE88 38 61 00 08 */ addi r3, r1, 8 /* 8022DF2C 0022AE8C 4B EA C4 E1 */ bl LoadAnimationParameters__FR12CInputStream /* 8022DF30 0022AE90 80 01 00 08 */ lwz r0, 8(r1) /* 8022DF34 0022AE94 7F C3 F3 78 */ mr r3, r30 /* 8022DF38 0022AE98 90 1D 00 90 */ stw r0, 0x90(r29) /* 8022DF3C 0022AE9C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8022DF40 0022AEA0 90 1D 00 94 */ stw r0, 0x94(r29) /* 8022DF44 0022AEA4 80 01 00 10 */ lwz r0, 0x10(r1) /* 8022DF48 0022AEA8 90 1D 00 98 */ stw r0, 0x98(r29) /* 8022DF4C 0022AEAC 48 11 0D 39 */ bl ReadLong__12CInputStreamFv /* 8022DF50 0022AEB0 90 7D 00 9C */ stw r3, 0x9c(r29) /* 8022DF54 0022AEB4 7F C3 F3 78 */ mr r3, r30 /* 8022DF58 0022AEB8 48 11 0D 2D */ bl ReadLong__12CInputStreamFv /* 8022DF5C 0022AEBC 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8022DF60 0022AEC0 48 0B AA 51 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022DF64 0022AEC4 B0 7D 00 A0 */ sth r3, 0xa0(r29) /* 8022DF68 0022AEC8 7F C3 F3 78 */ mr r3, r30 /* 8022DF6C 0022AECC 48 11 0D 19 */ bl ReadLong__12CInputStreamFv /* 8022DF70 0022AED0 90 7D 00 A4 */ stw r3, 0xa4(r29) /* 8022DF74 0022AED4 7F C4 F3 78 */ mr r4, r30 /* 8022DF78 0022AED8 38 7D 00 A8 */ addi r3, r29, 0xa8 /* 8022DF7C 0022AEDC 4B E9 55 E5 */ bl __ct__11CDamageInfoFR12CInputStream /* 8022DF80 0022AEE0 7F C3 F3 78 */ mr r3, r30 /* 8022DF84 0022AEE4 48 11 0C A5 */ bl ReadFloat__12CInputStreamFv /* 8022DF88 0022AEE8 D0 3D 00 C4 */ stfs f1, 0xc4(r29) /* 8022DF8C 0022AEEC 7F C3 F3 78 */ mr r3, r30 /* 8022DF90 0022AEF0 48 11 0C F5 */ bl ReadLong__12CInputStreamFv /* 8022DF94 0022AEF4 90 7D 00 C8 */ stw r3, 0xc8(r29) /* 8022DF98 0022AEF8 7F C3 F3 78 */ mr r3, r30 /* 8022DF9C 0022AEFC 48 11 0C E9 */ bl ReadLong__12CInputStreamFv /* 8022DFA0 0022AF00 90 7D 00 CC */ stw r3, 0xcc(r29) /* 8022DFA4 0022AF04 7F C3 F3 78 */ mr r3, r30 /* 8022DFA8 0022AF08 48 11 0C DD */ bl ReadLong__12CInputStreamFv /* 8022DFAC 0022AF0C 90 7D 00 D0 */ stw r3, 0xd0(r29) /* 8022DFB0 0022AF10 7F C3 F3 78 */ mr r3, r30 /* 8022DFB4 0022AF14 48 11 0C D1 */ bl ReadLong__12CInputStreamFv /* 8022DFB8 0022AF18 90 7D 00 D4 */ stw r3, 0xd4(r29) /* 8022DFBC 0022AF1C 7F C3 F3 78 */ mr r3, r30 /* 8022DFC0 0022AF20 48 11 0C 69 */ bl ReadFloat__12CInputStreamFv /* 8022DFC4 0022AF24 D0 3D 00 D8 */ stfs f1, 0xd8(r29) /* 8022DFC8 0022AF28 7F C3 F3 78 */ mr r3, r30 /* 8022DFCC 0022AF2C 48 11 0C 5D */ bl ReadFloat__12CInputStreamFv /* 8022DFD0 0022AF30 D0 3D 00 DC */ stfs f1, 0xdc(r29) /* 8022DFD4 0022AF34 7F C3 F3 78 */ mr r3, r30 /* 8022DFD8 0022AF38 48 11 0C 51 */ bl ReadFloat__12CInputStreamFv /* 8022DFDC 0022AF3C D0 3D 00 E0 */ stfs f1, 0xe0(r29) /* 8022DFE0 0022AF40 7F C3 F3 78 */ mr r3, r30 /* 8022DFE4 0022AF44 48 11 0C 45 */ bl ReadFloat__12CInputStreamFv /* 8022DFE8 0022AF48 D0 3D 00 E4 */ stfs f1, 0xe4(r29) /* 8022DFEC 0022AF4C 7F C3 F3 78 */ mr r3, r30 /* 8022DFF0 0022AF50 48 11 0C 39 */ bl ReadFloat__12CInputStreamFv /* 8022DFF4 0022AF54 C0 02 B6 24 */ lfs f0, lbl_805AD344@sda21(r2) /* 8022DFF8 0022AF58 7F C3 F3 78 */ mr r3, r30 /* 8022DFFC 0022AF5C EC 00 00 72 */ fmuls f0, f0, f1 /* 8022E000 0022AF60 D0 1D 00 E8 */ stfs f0, 0xe8(r29) /* 8022E004 0022AF64 48 11 0C 25 */ bl ReadFloat__12CInputStreamFv /* 8022E008 0022AF68 C0 02 B6 24 */ lfs f0, lbl_805AD344@sda21(r2) /* 8022E00C 0022AF6C 7F C3 F3 78 */ mr r3, r30 /* 8022E010 0022AF70 EC 00 00 72 */ fmuls f0, f0, f1 /* 8022E014 0022AF74 D0 1D 00 EC */ stfs f0, 0xec(r29) /* 8022E018 0022AF78 48 11 0C 6D */ bl ReadLong__12CInputStreamFv /* 8022E01C 0022AF7C 90 7D 00 F0 */ stw r3, 0xf0(r29) /* 8022E020 0022AF80 7F C3 F3 78 */ mr r3, r30 /* 8022E024 0022AF84 48 11 0C 61 */ bl ReadLong__12CInputStreamFv /* 8022E028 0022AF88 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8022E02C 0022AF8C 48 0B A9 85 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022E030 0022AF90 B0 7D 00 F4 */ sth r3, 0xf4(r29) /* 8022E034 0022AF94 7F C3 F3 78 */ mr r3, r30 /* 8022E038 0022AF98 48 11 0C 4D */ bl ReadLong__12CInputStreamFv /* 8022E03C 0022AF9C 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8022E040 0022AFA0 48 0B A9 71 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022E044 0022AFA4 B0 7D 00 F6 */ sth r3, 0xf6(r29) /* 8022E048 0022AFA8 7F C3 F3 78 */ mr r3, r30 /* 8022E04C 0022AFAC 48 11 0C 39 */ bl ReadLong__12CInputStreamFv /* 8022E050 0022AFB0 90 7D 00 F8 */ stw r3, 0xf8(r29) /* 8022E054 0022AFB4 7F C4 F3 78 */ mr r4, r30 /* 8022E058 0022AFB8 38 7D 00 FC */ addi r3, r29, 0xfc /* 8022E05C 0022AFBC 4B E9 55 05 */ bl __ct__11CDamageInfoFR12CInputStream /* 8022E060 0022AFC0 7F C3 F3 78 */ mr r3, r30 /* 8022E064 0022AFC4 48 11 0C 21 */ bl ReadLong__12CInputStreamFv /* 8022E068 0022AFC8 90 7D 01 18 */ stw r3, 0x118(r29) /* 8022E06C 0022AFCC 7F C3 F3 78 */ mr r3, r30 /* 8022E070 0022AFD0 48 11 0C 15 */ bl ReadLong__12CInputStreamFv /* 8022E074 0022AFD4 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 8022E078 0022AFD8 48 0B A9 39 */ bl TranslateSFXID__11CSfxManagerFUs /* 8022E07C 0022AFDC B0 7D 01 1C */ sth r3, 0x11c(r29) /* 8022E080 0022AFE0 7F C3 F3 78 */ mr r3, r30 /* 8022E084 0022AFE4 48 11 0C 59 */ bl ReadBool__12CInputStreamFv /* 8022E088 0022AFE8 2C 1F 00 2A */ cmpwi r31, 0x2a /* 8022E08C 0022AFEC 98 7D 01 1E */ stb r3, 0x11e(r29) /* 8022E090 0022AFF0 41 80 00 10 */ blt lbl_8022E0A0 /* 8022E094 0022AFF4 7F C3 F3 78 */ mr r3, r30 /* 8022E098 0022AFF8 48 11 0C 45 */ bl ReadBool__12CInputStreamFv /* 8022E09C 0022AFFC 48 00 00 08 */ b lbl_8022E0A4 lbl_8022E0A0: /* 8022E0A0 0022B000 38 60 00 01 */ li r3, 1 lbl_8022E0A4: /* 8022E0A4 0022B004 98 7D 01 1F */ stb r3, 0x11f(r29) /* 8022E0A8 0022B008 7F A3 EB 78 */ mr r3, r29 /* 8022E0AC 0022B00C 80 01 00 94 */ lwz r0, 0x94(r1) /* 8022E0B0 0022B010 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8022E0B4 0022B014 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8022E0B8 0022B018 83 A1 00 84 */ lwz r29, 0x84(r1) /* 8022E0BC 0022B01C 7C 08 03 A6 */ mtlr r0 /* 8022E0C0 0022B020 38 21 00 90 */ addi r1, r1, 0x90 /* 8022E0C4 0022B024 4E 80 00 20 */ blr .global __sinit_CElitePirate_cpp __sinit_CElitePirate_cpp: /* 8022E0C8 0022B028 C0 22 B6 10 */ lfs f1, lbl_805AD330@sda21(r2) /* 8022E0CC 0022B02C 3C 80 80 57 */ lis r4, lbl_805723E0@ha /* 8022E0D0 0022B030 C0 02 B6 04 */ lfs f0, lbl_805AD324@sda21(r2) /* 8022E0D4 0022B034 3C 60 80 57 */ lis r3, lbl_805723F8@ha /* 8022E0D8 0022B038 D4 24 23 E0 */ stfsu f1, lbl_805723E0@l(r4) /* 8022E0DC 0022B03C D4 03 23 F8 */ stfsu f0, lbl_805723F8@l(r3) /* 8022E0E0 0022B040 D0 24 00 04 */ stfs f1, 4(r4) /* 8022E0E4 0022B044 D0 24 00 08 */ stfs f1, 8(r4) /* 8022E0E8 0022B048 D0 03 00 04 */ stfs f0, 4(r3) /* 8022E0EC 0022B04C D0 23 00 08 */ stfs f1, 8(r3) /* 8022E0F0 0022B050 4E 80 00 20 */ blr .global Update__14CRumbleManagerFf Update__14CRumbleManagerFf: /* 8022E0F4 0022B054 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E0F8 0022B058 7C 08 02 A6 */ mflr r0 /* 8022E0FC 0022B05C 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E100 0022B060 48 13 BC E1 */ bl Update__16CRumbleGeneratorFf /* 8022E104 0022B064 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E108 0022B068 7C 08 03 A6 */ mtlr r0 /* 8022E10C 0022B06C 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E110 0022B070 4E 80 00 20 */ blr .global StopRumble__14CRumbleManagerFs StopRumble__14CRumbleManagerFs: /* 8022E114 0022B074 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E118 0022B078 7C 08 02 A6 */ mflr r0 /* 8022E11C 0022B07C 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E120 0022B080 7C 80 07 34 */ extsh r0, r4 /* 8022E124 0022B084 2C 00 FF FF */ cmpwi r0, -1 /* 8022E128 0022B088 41 82 00 10 */ beq lbl_8022E138 /* 8022E12C 0022B08C 41 82 00 0C */ beq lbl_8022E138 /* 8022E130 0022B090 38 A0 00 00 */ li r5, 0 /* 8022E134 0022B094 48 13 B6 5D */ bl Deactivate__12CRumbleVoiceFsb lbl_8022E138: /* 8022E138 0022B098 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E13C 0022B09C 7C 08 03 A6 */ mtlr r0 /* 8022E140 0022B0A0 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E144 0022B0A4 4E 80 00 20 */ blr .global Rumble__14CRumbleManagerFR13CStateManagerRC9CVector3f11ERumbleFxIdf15ERumblePriority Rumble__14CRumbleManagerFR13CStateManagerRC9CVector3f11ERumbleFxIdf15ERumblePriority: /* 8022E148 0022B0A8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8022E14C 0022B0AC 7C 08 02 A6 */ mflr r0 /* 8022E150 0022B0B0 90 01 00 44 */ stw r0, 0x44(r1) /* 8022E154 0022B0B4 DB E1 00 30 */ stfd f31, 0x30(r1) /* 8022E158 0022B0B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8022E15C 0022B0BC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022E160 0022B0C0 93 C1 00 28 */ stw r30, 0x28(r1) /* 8022E164 0022B0C4 93 A1 00 24 */ stw r29, 0x24(r1) /* 8022E168 0022B0C8 93 81 00 20 */ stw r28, 0x20(r1) /* 8022E16C 0022B0CC FF E0 08 90 */ fmr f31, f1 /* 8022E170 0022B0D0 C0 22 B6 28 */ lfs f1, lbl_805AD348@sda21(r2) /* 8022E174 0022B0D4 C0 02 B6 2C */ lfs f0, lbl_805AD34C@sda21(r2) /* 8022E178 0022B0D8 7C 7C 1B 78 */ mr r28, r3 /* 8022E17C 0022B0DC 7C 9D 23 78 */ mr r29, r4 /* 8022E180 0022B0E0 7C DE 33 78 */ mr r30, r6 /* 8022E184 0022B0E4 EC 3F 08 28 */ fsubs f1, f31, f1 /* 8022E188 0022B0E8 7C FF 3B 78 */ mr r31, r7 /* 8022E18C 0022B0EC FC 20 0A 10 */ fabs f1, f1 /* 8022E190 0022B0F0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022E194 0022B0F4 41 80 00 84 */ blt lbl_8022E218 /* 8022E198 0022B0F8 80 7D 08 4C */ lwz r3, 0x84c(r29) /* 8022E19C 0022B0FC EC 1F 07 F2 */ fmuls f0, f31, f31 /* 8022E1A0 0022B100 C0 65 00 04 */ lfs f3, 4(r5) /* 8022E1A4 0022B104 C0 83 00 50 */ lfs f4, 0x50(r3) /* 8022E1A8 0022B108 C0 43 00 40 */ lfs f2, 0x40(r3) /* 8022E1AC 0022B10C C0 25 00 00 */ lfs f1, 0(r5) /* 8022E1B0 0022B110 EC A4 18 28 */ fsubs f5, f4, f3 /* 8022E1B4 0022B114 C0 83 00 60 */ lfs f4, 0x60(r3) /* 8022E1B8 0022B118 EC 62 08 28 */ fsubs f3, f2, f1 /* 8022E1BC 0022B11C C0 45 00 08 */ lfs f2, 8(r5) /* 8022E1C0 0022B120 EC 25 01 72 */ fmuls f1, f5, f5 /* 8022E1C4 0022B124 D0 A1 00 0C */ stfs f5, 0xc(r1) /* 8022E1C8 0022B128 EC 84 10 28 */ fsubs f4, f4, f2 /* 8022E1CC 0022B12C EC 43 00 F2 */ fmuls f2, f3, f3 /* 8022E1D0 0022B130 D0 61 00 08 */ stfs f3, 8(r1) /* 8022E1D4 0022B134 EC 64 01 32 */ fmuls f3, f4, f4 /* 8022E1D8 0022B138 EC 22 08 2A */ fadds f1, f2, f1 /* 8022E1DC 0022B13C D0 81 00 10 */ stfs f4, 0x10(r1) /* 8022E1E0 0022B140 EC 23 08 2A */ fadds f1, f3, f1 /* 8022E1E4 0022B144 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022E1E8 0022B148 40 80 00 30 */ bge lbl_8022E218 /* 8022E1EC 0022B14C 38 61 00 08 */ addi r3, r1, 8 /* 8022E1F0 0022B150 48 0E 66 C9 */ bl Magnitude__9CVector3fCFv /* 8022E1F4 0022B154 EC 21 F8 24 */ fdivs f1, f1, f31 /* 8022E1F8 0022B158 C0 02 B6 30 */ lfs f0, lbl_805AD350@sda21(r2) /* 8022E1FC 0022B15C 7F 83 E3 78 */ mr r3, r28 /* 8022E200 0022B160 7F A4 EB 78 */ mr r4, r29 /* 8022E204 0022B164 7F C5 F3 78 */ mr r5, r30 /* 8022E208 0022B168 7F E6 FB 78 */ mr r6, r31 /* 8022E20C 0022B16C EC 20 08 28 */ fsubs f1, f0, f1 /* 8022E210 0022B170 48 00 00 35 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority /* 8022E214 0022B174 48 00 00 08 */ b lbl_8022E21C lbl_8022E218: /* 8022E218 0022B178 38 60 FF FF */ li r3, -1 lbl_8022E21C: /* 8022E21C 0022B17C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8022E220 0022B180 80 01 00 44 */ lwz r0, 0x44(r1) /* 8022E224 0022B184 CB E1 00 30 */ lfd f31, 0x30(r1) /* 8022E228 0022B188 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022E22C 0022B18C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8022E230 0022B190 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8022E234 0022B194 83 81 00 20 */ lwz r28, 0x20(r1) /* 8022E238 0022B198 7C 08 03 A6 */ mtlr r0 /* 8022E23C 0022B19C 38 21 00 40 */ addi r1, r1, 0x40 /* 8022E240 0022B1A0 4E 80 00 20 */ blr .global Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority: /* 8022E244 0022B1A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E248 0022B1A8 7C 08 02 A6 */ mflr r0 /* 8022E24C 0022B1AC 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E250 0022B1B0 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 8022E254 0022B1B4 88 04 01 E4 */ lbz r0, 0x1e4(r4) /* 8022E258 0022B1B8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8022E25C 0022B1BC 41 82 00 24 */ beq lbl_8022E280 /* 8022E260 0022B1C0 1C E5 00 1C */ mulli r7, r5, 0x1c /* 8022E264 0022B1C4 3C 80 80 57 */ lis r4, lbl_80572140@ha /* 8022E268 0022B1C8 7C C5 33 78 */ mr r5, r6 /* 8022E26C 0022B1CC 38 04 21 40 */ addi r0, r4, lbl_80572140@l /* 8022E270 0022B1D0 7C 80 3A 14 */ add r4, r0, r7 /* 8022E274 0022B1D4 38 C0 00 00 */ li r6, 0 /* 8022E278 0022B1D8 48 13 BC D5 */ bl Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort /* 8022E27C 0022B1DC 48 00 00 08 */ b lbl_8022E284 lbl_8022E280: /* 8022E280 0022B1E0 38 60 FF FF */ li r3, -1 lbl_8022E284: /* 8022E284 0022B1E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E288 0022B1E8 7C 08 03 A6 */ mtlr r0 /* 8022E28C 0022B1EC 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E290 0022B1F0 4E 80 00 20 */ blr .global __dt__14CRumbleManagerFv __dt__14CRumbleManagerFv: /* 8022E294 0022B1F4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E298 0022B1F8 7C 08 02 A6 */ mflr r0 /* 8022E29C 0022B1FC 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E2A0 0022B200 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022E2A4 0022B204 7C 9F 23 78 */ mr r31, r4 /* 8022E2A8 0022B208 93 C1 00 08 */ stw r30, 8(r1) /* 8022E2AC 0022B20C 7C 7E 1B 79 */ or. r30, r3, r3 /* 8022E2B0 0022B210 41 82 00 24 */ beq lbl_8022E2D4 /* 8022E2B4 0022B214 48 13 BA 99 */ bl HardStopAll__16CRumbleGeneratorFv /* 8022E2B8 0022B218 7F C3 F3 78 */ mr r3, r30 /* 8022E2BC 0022B21C 38 80 FF FF */ li r4, -1 /* 8022E2C0 0022B220 48 13 BD 35 */ bl __dt__16CRumbleGeneratorFv /* 8022E2C4 0022B224 7F E0 07 35 */ extsh. r0, r31 /* 8022E2C8 0022B228 40 81 00 0C */ ble lbl_8022E2D4 /* 8022E2CC 0022B22C 7F C3 F3 78 */ mr r3, r30 /* 8022E2D0 0022B230 48 0E 76 61 */ bl Free__7CMemoryFPCv lbl_8022E2D4: /* 8022E2D4 0022B234 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E2D8 0022B238 7F C3 F3 78 */ mr r3, r30 /* 8022E2DC 0022B23C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022E2E0 0022B240 83 C1 00 08 */ lwz r30, 8(r1) /* 8022E2E4 0022B244 7C 08 03 A6 */ mtlr r0 /* 8022E2E8 0022B248 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E2EC 0022B24C 4E 80 00 20 */ blr .global __ct__14CRumbleManagerFv __ct__14CRumbleManagerFv: /* 8022E2F0 0022B250 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E2F4 0022B254 7C 08 02 A6 */ mflr r0 /* 8022E2F8 0022B258 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E2FC 0022B25C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022E300 0022B260 7C 7F 1B 78 */ mr r31, r3 /* 8022E304 0022B264 48 13 BE 91 */ bl __ct__16CRumbleGeneratorFv /* 8022E308 0022B268 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E30C 0022B26C 7F E3 FB 78 */ mr r3, r31 /* 8022E310 0022B270 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022E314 0022B274 7C 08 03 A6 */ mtlr r0 /* 8022E318 0022B278 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E31C 0022B27C 4E 80 00 20 */ blr .global __dt__14CBouncyGrenadeFv __dt__14CBouncyGrenadeFv: /* 8022E320 0022B280 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E324 0022B284 7C 08 02 A6 */ mflr r0 /* 8022E328 0022B288 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E32C 0022B28C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022E330 0022B290 7C 9F 23 78 */ mr r31, r4 /* 8022E334 0022B294 93 C1 00 08 */ stw r30, 8(r1) /* 8022E338 0022B298 7C 7E 1B 79 */ or. r30, r3, r3 /* 8022E33C 0022B29C 41 82 00 CC */ beq lbl_8022E408 /* 8022E340 0022B2A0 3C 60 80 3E */ lis r3, lbl_803E7ED0@ha /* 8022E344 0022B2A4 34 1E 02 AC */ addic. r0, r30, 0x2ac /* 8022E348 0022B2A8 38 03 7E D0 */ addi r0, r3, lbl_803E7ED0@l /* 8022E34C 0022B2AC 90 1E 00 00 */ stw r0, 0(r30) /* 8022E350 0022B2B0 41 82 00 24 */ beq lbl_8022E374 /* 8022E354 0022B2B4 80 7E 02 AC */ lwz r3, 0x2ac(r30) /* 8022E358 0022B2B8 28 03 00 00 */ cmplwi r3, 0 /* 8022E35C 0022B2BC 41 82 00 18 */ beq lbl_8022E374 /* 8022E360 0022B2C0 81 83 00 00 */ lwz r12, 0(r3) /* 8022E364 0022B2C4 38 80 00 01 */ li r4, 1 /* 8022E368 0022B2C8 81 8C 00 08 */ lwz r12, 8(r12) /* 8022E36C 0022B2CC 7D 89 03 A6 */ mtctr r12 /* 8022E370 0022B2D0 4E 80 04 21 */ bctrl lbl_8022E374: /* 8022E374 0022B2D4 34 1E 02 A8 */ addic. r0, r30, 0x2a8 /* 8022E378 0022B2D8 41 82 00 24 */ beq lbl_8022E39C /* 8022E37C 0022B2DC 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022E380 0022B2E0 28 03 00 00 */ cmplwi r3, 0 /* 8022E384 0022B2E4 41 82 00 18 */ beq lbl_8022E39C /* 8022E388 0022B2E8 81 83 00 00 */ lwz r12, 0(r3) /* 8022E38C 0022B2EC 38 80 00 01 */ li r4, 1 /* 8022E390 0022B2F0 81 8C 00 08 */ lwz r12, 8(r12) /* 8022E394 0022B2F4 7D 89 03 A6 */ mtctr r12 /* 8022E398 0022B2F8 4E 80 04 21 */ bctrl lbl_8022E39C: /* 8022E39C 0022B2FC 34 1E 02 A4 */ addic. r0, r30, 0x2a4 /* 8022E3A0 0022B300 41 82 00 24 */ beq lbl_8022E3C4 /* 8022E3A4 0022B304 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022E3A8 0022B308 28 03 00 00 */ cmplwi r3, 0 /* 8022E3AC 0022B30C 41 82 00 18 */ beq lbl_8022E3C4 /* 8022E3B0 0022B310 81 83 00 00 */ lwz r12, 0(r3) /* 8022E3B4 0022B314 38 80 00 01 */ li r4, 1 /* 8022E3B8 0022B318 81 8C 00 08 */ lwz r12, 8(r12) /* 8022E3BC 0022B31C 7D 89 03 A6 */ mtctr r12 /* 8022E3C0 0022B320 4E 80 04 21 */ bctrl lbl_8022E3C4: /* 8022E3C4 0022B324 34 1E 02 A0 */ addic. r0, r30, 0x2a0 /* 8022E3C8 0022B328 41 82 00 24 */ beq lbl_8022E3EC /* 8022E3CC 0022B32C 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022E3D0 0022B330 28 03 00 00 */ cmplwi r3, 0 /* 8022E3D4 0022B334 41 82 00 18 */ beq lbl_8022E3EC /* 8022E3D8 0022B338 81 83 00 00 */ lwz r12, 0(r3) /* 8022E3DC 0022B33C 38 80 00 01 */ li r4, 1 /* 8022E3E0 0022B340 81 8C 00 08 */ lwz r12, 8(r12) /* 8022E3E4 0022B344 7D 89 03 A6 */ mtctr r12 /* 8022E3E8 0022B348 4E 80 04 21 */ bctrl lbl_8022E3EC: /* 8022E3EC 0022B34C 7F C3 F3 78 */ mr r3, r30 /* 8022E3F0 0022B350 38 80 00 00 */ li r4, 0 /* 8022E3F4 0022B354 4B EE E0 21 */ bl __dt__13CPhysicsActorFv /* 8022E3F8 0022B358 7F E0 07 35 */ extsh. r0, r31 /* 8022E3FC 0022B35C 40 81 00 0C */ ble lbl_8022E408 /* 8022E400 0022B360 7F C3 F3 78 */ mr r3, r30 /* 8022E404 0022B364 48 0E 75 2D */ bl Free__7CMemoryFPCv lbl_8022E408: /* 8022E408 0022B368 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E40C 0022B36C 7F C3 F3 78 */ mr r3, r30 /* 8022E410 0022B370 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022E414 0022B374 83 C1 00 08 */ lwz r30, 8(r1) /* 8022E418 0022B378 7C 08 03 A6 */ mtlr r0 /* 8022E41C 0022B37C 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E420 0022B380 4E 80 00 20 */ blr .global sub_8022e424 sub_8022e424: /* 8022E424 0022B384 94 21 F6 C0 */ stwu r1, -0x940(r1) /* 8022E428 0022B388 7C 08 02 A6 */ mflr r0 /* 8022E42C 0022B38C 90 01 09 44 */ stw r0, 0x944(r1) /* 8022E430 0022B390 BF 41 09 28 */ stmw r26, 0x928(r1) /* 8022E434 0022B394 7C 9F 23 78 */ mr r31, r4 /* 8022E438 0022B398 7C 7E 1B 78 */ mr r30, r3 /* 8022E43C 0022B39C 7C BB 2B 78 */ mr r27, r5 /* 8022E440 0022B3A0 88 83 02 B4 */ lbz r4, 0x2b4(r3) /* 8022E444 0022B3A4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f /* 8022E448 0022B3A8 40 82 04 3C */ bne lbl_8022E884 /* 8022E44C 0022B3AC 38 00 00 01 */ li r0, 1 /* 8022E450 0022B3B0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 8022E454 0022B3B4 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 /* 8022E458 0022B3B8 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8022E45C 0022B3BC 98 9E 02 B4 */ stb r4, 0x2b4(r30) /* 8022E460 0022B3C0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 8022E464 0022B3C4 38 61 00 3C */ addi r3, r1, 0x3c /* 8022E468 0022B3C8 38 A1 00 68 */ addi r5, r1, 0x68 /* 8022E46C 0022B3CC 81 5E 00 04 */ lwz r10, 4(r30) /* 8022E470 0022B3D0 38 E0 00 00 */ li r7, 0 /* 8022E474 0022B3D4 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8022E478 0022B3D8 39 00 00 00 */ li r8, 0 /* 8022E47C 0022B3DC C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8022E480 0022B3E0 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022E484 0022B3E4 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8022E488 0022B3E8 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 8022E48C 0022B3EC D0 41 00 70 */ stfs f2, 0x70(r1) /* 8022E490 0022B3F0 A0 9E 02 92 */ lhz r4, 0x292(r30) /* 8022E494 0022B3F4 48 0B BE 1D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8022E498 0022B3F8 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022E49C 0022B3FC 38 80 00 01 */ li r4, 1 /* 8022E4A0 0022B400 81 83 00 00 */ lwz r12, 0(r3) /* 8022E4A4 0022B404 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022E4A8 0022B408 7D 89 03 A6 */ mtctr r12 /* 8022E4AC 0022B40C 4E 80 04 21 */ bctrl /* 8022E4B0 0022B410 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022E4B4 0022B414 38 80 00 01 */ li r4, 1 /* 8022E4B8 0022B418 81 83 00 00 */ lwz r12, 0(r3) /* 8022E4BC 0022B41C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022E4C0 0022B420 7D 89 03 A6 */ mtctr r12 /* 8022E4C4 0022B424 4E 80 04 21 */ bctrl /* 8022E4C8 0022B428 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022E4CC 0022B42C 38 80 00 01 */ li r4, 1 /* 8022E4D0 0022B430 81 83 00 00 */ lwz r12, 0(r3) /* 8022E4D4 0022B434 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022E4D8 0022B438 7D 89 03 A6 */ mtctr r12 /* 8022E4DC 0022B43C 4E 80 04 21 */ bctrl /* 8022E4E0 0022B440 80 7E 02 AC */ lwz r3, 0x2ac(r30) /* 8022E4E4 0022B444 38 80 00 00 */ li r4, 0 /* 8022E4E8 0022B448 81 83 00 00 */ lwz r12, 0(r3) /* 8022E4EC 0022B44C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022E4F0 0022B450 7D 89 03 A6 */ mtctr r12 /* 8022E4F4 0022B454 4E 80 04 21 */ bctrl /* 8022E4F8 0022B458 A0 BB 00 00 */ lhz r5, 0(r27) /* 8022E4FC 0022B45C 7F E3 FB 78 */ mr r3, r31 /* 8022E500 0022B460 A0 1E 02 98 */ lhz r0, 0x298(r30) /* 8022E504 0022B464 38 81 00 38 */ addi r4, r1, 0x38 /* 8022E508 0022B468 7C 05 00 50 */ subf r0, r5, r0 /* 8022E50C 0022B46C B0 A1 00 38 */ sth r5, 0x38(r1) /* 8022E510 0022B470 7C 00 00 34 */ cntlzw r0, r0 /* 8022E514 0022B474 54 1C D9 7E */ srwi r28, r0, 5 /* 8022E518 0022B478 4B E1 E0 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022E51C 0022B47C 7C 64 1B 78 */ mr r4, r3 /* 8022E520 0022B480 38 61 00 48 */ addi r3, r1, 0x48 /* 8022E524 0022B484 4B E8 0E 29 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022E528 0022B488 80 63 00 04 */ lwz r3, 4(r3) /* 8022E52C 0022B48C 28 03 00 00 */ cmplwi r3, 0 /* 8022E530 0022B490 41 82 00 18 */ beq lbl_8022E548 /* 8022E534 0022B494 A0 63 02 5C */ lhz r3, 0x25c(r3) /* 8022E538 0022B498 A0 1E 02 98 */ lhz r0, 0x298(r30) /* 8022E53C 0022B49C 7C 03 00 50 */ subf r0, r3, r0 /* 8022E540 0022B4A0 7C 00 00 34 */ cntlzw r0, r0 /* 8022E544 0022B4A4 54 1C D9 7E */ srwi r28, r0, 5 lbl_8022E548: /* 8022E548 0022B4A8 A0 7B 00 00 */ lhz r3, 0(r27) /* 8022E54C 0022B4AC 3B BE 02 60 */ addi r29, r30, 0x260 /* 8022E550 0022B4B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022E554 0022B4B4 7C 03 00 40 */ cmplw r3, r0 /* 8022E558 0022B4B8 41 82 00 7C */ beq lbl_8022E5D4 /* 8022E55C 0022B4BC 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 8022E560 0022B4C0 40 82 00 74 */ bne lbl_8022E5D4 /* 8022E564 0022B4C4 80 AD 95 B8 */ lwz r5, lbl_805A8178@sda21(r13) /* 8022E568 0022B4C8 38 60 00 00 */ li r3, 0 /* 8022E56C 0022B4CC 38 80 00 01 */ li r4, 1 /* 8022E570 0022B4D0 48 15 B9 85 */ bl __shl2i /* 8022E574 0022B4D4 39 00 00 00 */ li r8, 0 /* 8022E578 0022B4D8 39 40 00 03 */ li r10, 3 /* 8022E57C 0022B4DC 90 81 00 B4 */ stw r4, 0xb4(r1) /* 8022E580 0022B4E0 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022E584 0022B4E4 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8022E588 0022B4E8 A0 1B 00 00 */ lhz r0, 0(r27) /* 8022E58C 0022B4EC 90 61 00 B0 */ stw r3, 0xb0(r1) /* 8022E590 0022B4F0 7F E3 FB 78 */ mr r3, r31 /* 8022E594 0022B4F4 7F A7 EB 78 */ mr r7, r29 /* 8022E598 0022B4F8 38 81 00 34 */ addi r4, r1, 0x34 /* 8022E59C 0022B4FC 91 01 00 BC */ stw r8, 0xbc(r1) /* 8022E5A0 0022B500 38 A1 00 2C */ addi r5, r1, 0x2c /* 8022E5A4 0022B504 38 C1 00 28 */ addi r6, r1, 0x28 /* 8022E5A8 0022B508 91 01 00 B8 */ stw r8, 0xb8(r1) /* 8022E5AC 0022B50C 39 01 00 B0 */ addi r8, r1, 0xb0 /* 8022E5B0 0022B510 91 41 00 C0 */ stw r10, 0xc0(r1) /* 8022E5B4 0022B514 A1 5E 00 08 */ lhz r10, 8(r30) /* 8022E5B8 0022B518 B1 41 00 28 */ sth r10, 0x28(r1) /* 8022E5BC 0022B51C B0 01 00 2C */ sth r0, 0x2c(r1) /* 8022E5C0 0022B520 A0 1E 00 08 */ lhz r0, 8(r30) /* 8022E5C4 0022B524 B1 41 00 24 */ sth r10, 0x24(r1) /* 8022E5C8 0022B528 B0 01 00 30 */ sth r0, 0x30(r1) /* 8022E5CC 0022B52C B0 01 00 34 */ sth r0, 0x34(r1) /* 8022E5D0 0022B530 4B E1 BA D1 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_8022E5D4: /* 8022E5D4 0022B534 C0 FD 00 10 */ lfs f7, 0x10(r29) /* 8022E5D8 0022B538 C0 02 B6 38 */ lfs f0, lbl_805AD358@sda21(r2) /* 8022E5DC 0022B53C FC 07 00 40 */ fcmpo cr0, f7, f0 /* 8022E5E0 0022B540 40 81 02 A4 */ ble lbl_8022E884 /* 8022E5E4 0022B544 C0 DE 00 60 */ lfs f6, 0x60(r30) /* 8022E5E8 0022B548 38 61 01 00 */ addi r3, r1, 0x100 /* 8022E5EC 0022B54C C0 BE 00 50 */ lfs f5, 0x50(r30) /* 8022E5F0 0022B550 38 81 00 5C */ addi r4, r1, 0x5c /* 8022E5F4 0022B554 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 8022E5F8 0022B558 EC 06 38 2A */ fadds f0, f6, f7 /* 8022E5FC 0022B55C EC 65 38 2A */ fadds f3, f5, f7 /* 8022E600 0022B560 38 A1 00 50 */ addi r5, r1, 0x50 /* 8022E604 0022B564 EC 81 38 2A */ fadds f4, f1, f7 /* 8022E608 0022B568 EC 41 38 28 */ fsubs f2, f1, f7 /* 8022E60C 0022B56C D0 01 00 58 */ stfs f0, 0x58(r1) /* 8022E610 0022B570 EC 25 38 28 */ fsubs f1, f5, f7 /* 8022E614 0022B574 EC 06 38 28 */ fsubs f0, f6, f7 /* 8022E618 0022B578 D0 81 00 50 */ stfs f4, 0x50(r1) /* 8022E61C 0022B57C D0 61 00 54 */ stfs f3, 0x54(r1) /* 8022E620 0022B580 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 8022E624 0022B584 D0 21 00 60 */ stfs f1, 0x60(r1) /* 8022E628 0022B588 D0 01 00 64 */ stfs f0, 0x64(r1) /* 8022E62C 0022B58C 48 10 9E DD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8022E630 0022B590 80 AD 95 DC */ lwz r5, lbl_805A819C@sda21(r13) /* 8022E634 0022B594 38 60 00 00 */ li r3, 0 /* 8022E638 0022B598 38 80 00 01 */ li r4, 1 /* 8022E63C 0022B59C 48 15 B8 B9 */ bl __shl2i /* 8022E640 0022B5A0 80 AD 95 E0 */ lwz r5, lbl_805A81A0@sda21(r13) /* 8022E644 0022B5A4 7C 9C 23 78 */ mr r28, r4 /* 8022E648 0022B5A8 7C 7B 1B 78 */ mr r27, r3 /* 8022E64C 0022B5AC 38 60 00 00 */ li r3, 0 /* 8022E650 0022B5B0 38 80 00 01 */ li r4, 1 /* 8022E654 0022B5B4 48 15 B8 A1 */ bl __shl2i /* 8022E658 0022B5B8 38 00 00 00 */ li r0, 0 /* 8022E65C 0022B5BC 7F 9C 23 78 */ or r28, r28, r4 /* 8022E660 0022B5C0 7F 7B 1B 78 */ or r27, r27, r3 /* 8022E664 0022B5C4 39 00 00 01 */ li r8, 1 /* 8022E668 0022B5C8 91 01 00 A8 */ stw r8, 0xa8(r1) /* 8022E66C 0022B5CC 7F E3 FB 78 */ mr r3, r31 /* 8022E670 0022B5D0 38 81 01 18 */ addi r4, r1, 0x118 /* 8022E674 0022B5D4 38 A1 01 00 */ addi r5, r1, 0x100 /* 8022E678 0022B5D8 93 81 00 EC */ stw r28, 0xec(r1) /* 8022E67C 0022B5DC 38 C1 00 E8 */ addi r6, r1, 0xe8 /* 8022E680 0022B5E0 38 E0 00 00 */ li r7, 0 /* 8022E684 0022B5E4 93 61 00 E8 */ stw r27, 0xe8(r1) /* 8022E688 0022B5E8 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8022E68C 0022B5EC 90 01 00 F0 */ stw r0, 0xf0(r1) /* 8022E690 0022B5F0 91 01 00 F8 */ stw r8, 0xf8(r1) /* 8022E694 0022B5F4 90 01 01 18 */ stw r0, 0x118(r1) /* 8022E698 0022B5F8 4B E1 E0 89 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" /* 8022E69C 0022B5FC 3B 81 01 1C */ addi r28, r1, 0x11c /* 8022E6A0 0022B600 7F 9B E3 78 */ mr r27, r28 /* 8022E6A4 0022B604 48 00 01 7C */ b lbl_8022E820 lbl_8022E6A8: /* 8022E6A8 0022B608 A0 DB 00 00 */ lhz r6, 0(r27) /* 8022E6AC 0022B60C 7F E3 FB 78 */ mr r3, r31 /* 8022E6B0 0022B610 A0 BE 02 98 */ lhz r5, 0x298(r30) /* 8022E6B4 0022B614 38 81 00 20 */ addi r4, r1, 0x20 /* 8022E6B8 0022B618 A0 1B 00 00 */ lhz r0, 0(r27) /* 8022E6BC 0022B61C 7C A6 28 50 */ subf r5, r6, r5 /* 8022E6C0 0022B620 7C A5 00 34 */ cntlzw r5, r5 /* 8022E6C4 0022B624 B0 01 00 20 */ sth r0, 0x20(r1) /* 8022E6C8 0022B628 54 BA D9 7E */ srwi r26, r5, 5 /* 8022E6CC 0022B62C 4B E1 DE D9 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022E6D0 0022B630 7C 64 1B 78 */ mr r4, r3 /* 8022E6D4 0022B634 38 61 00 40 */ addi r3, r1, 0x40 /* 8022E6D8 0022B638 4B E8 0C 75 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022E6DC 0022B63C 80 63 00 04 */ lwz r3, 4(r3) /* 8022E6E0 0022B640 28 03 00 00 */ cmplwi r3, 0 /* 8022E6E4 0022B644 41 82 00 18 */ beq lbl_8022E6FC /* 8022E6E8 0022B648 A0 63 02 5C */ lhz r3, 0x25c(r3) /* 8022E6EC 0022B64C A0 1E 02 98 */ lhz r0, 0x298(r30) /* 8022E6F0 0022B650 7C 03 00 50 */ subf r0, r3, r0 /* 8022E6F4 0022B654 7C 00 00 34 */ cntlzw r0, r0 /* 8022E6F8 0022B658 54 1A D9 7E */ srwi r26, r0, 5 lbl_8022E6FC: /* 8022E6FC 0022B65C 57 40 06 3F */ clrlwi. r0, r26, 0x18 /* 8022E700 0022B660 40 82 01 1C */ bne lbl_8022E81C /* 8022E704 0022B664 A0 1B 00 00 */ lhz r0, 0(r27) /* 8022E708 0022B668 7F E3 FB 78 */ mr r3, r31 /* 8022E70C 0022B66C 38 81 00 1C */ addi r4, r1, 0x1c /* 8022E710 0022B670 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8022E714 0022B674 4B E1 DE 61 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8022E718 0022B678 28 03 00 00 */ cmplwi r3, 0 /* 8022E71C 0022B67C 41 82 01 00 */ beq lbl_8022E81C /* 8022E720 0022B680 C0 23 00 50 */ lfs f1, 0x50(r3) /* 8022E724 0022B684 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 8022E728 0022B688 C0 63 00 60 */ lfs f3, 0x60(r3) /* 8022E72C 0022B68C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8022E730 0022B690 EC 81 00 28 */ fsubs f4, f1, f0 /* 8022E734 0022B694 C0 23 00 40 */ lfs f1, 0x40(r3) /* 8022E738 0022B698 38 61 00 74 */ addi r3, r1, 0x74 /* 8022E73C 0022B69C C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022E740 0022B6A0 EC 43 10 28 */ fsubs f2, f3, f2 /* 8022E744 0022B6A4 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022E748 0022B6A8 D0 81 00 78 */ stfs f4, 0x78(r1) /* 8022E74C 0022B6AC D0 41 00 7C */ stfs f2, 0x7c(r1) /* 8022E750 0022B6B0 D0 01 00 74 */ stfs f0, 0x74(r1) /* 8022E754 0022B6B4 48 0E 61 65 */ bl Magnitude__9CVector3fCFv /* 8022E758 0022B6B8 C0 5D 00 10 */ lfs f2, 0x10(r29) /* 8022E75C 0022B6BC FC 01 10 40 */ fcmpo cr0, f1, f2 /* 8022E760 0022B6C0 40 80 00 BC */ bge lbl_8022E81C /* 8022E764 0022B6C4 EC 02 08 28 */ fsubs f0, f2, f1 /* 8022E768 0022B6C8 C0 3D 00 14 */ lfs f1, 0x14(r29) /* 8022E76C 0022B6CC 80 DD 00 00 */ lwz r6, 0(r29) /* 8022E770 0022B6D0 38 60 00 00 */ li r3, 0 /* 8022E774 0022B6D4 88 01 00 E0 */ lbz r0, 0xe0(r1) /* 8022E778 0022B6D8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8022E77C 0022B6DC EC 60 10 24 */ fdivs f3, f0, f2 /* 8022E780 0022B6E0 C0 1D 00 08 */ lfs f0, 8(r29) /* 8022E784 0022B6E4 80 AD 95 B8 */ lwz r5, lbl_805A8178@sda21(r13) /* 8022E788 0022B6E8 38 60 00 00 */ li r3, 0 /* 8022E78C 0022B6EC 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 8022E790 0022B6F0 38 80 00 01 */ li r4, 1 /* 8022E794 0022B6F4 88 DD 00 04 */ lbz r6, 4(r29) /* 8022E798 0022B6F8 EC 03 00 32 */ fmuls f0, f3, f0 /* 8022E79C 0022B6FC EC 23 00 72 */ fmuls f1, f3, f1 /* 8022E7A0 0022B700 98 C1 00 CC */ stb r6, 0xcc(r1) /* 8022E7A4 0022B704 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 8022E7A8 0022B708 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 8022E7AC 0022B70C D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 8022E7B0 0022B710 D0 21 00 DC */ stfs f1, 0xdc(r1) /* 8022E7B4 0022B714 98 01 00 E0 */ stb r0, 0xe0(r1) /* 8022E7B8 0022B718 48 15 B7 3D */ bl __shl2i /* 8022E7BC 0022B71C 39 00 00 00 */ li r8, 0 /* 8022E7C0 0022B720 39 40 00 03 */ li r10, 3 /* 8022E7C4 0022B724 90 81 00 84 */ stw r4, 0x84(r1) /* 8022E7C8 0022B728 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022E7CC 0022B72C 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8022E7D0 0022B730 A0 1B 00 00 */ lhz r0, 0(r27) /* 8022E7D4 0022B734 90 61 00 80 */ stw r3, 0x80(r1) /* 8022E7D8 0022B738 7F E3 FB 78 */ mr r3, r31 /* 8022E7DC 0022B73C 38 81 00 18 */ addi r4, r1, 0x18 /* 8022E7E0 0022B740 38 A1 00 10 */ addi r5, r1, 0x10 /* 8022E7E4 0022B744 91 01 00 8C */ stw r8, 0x8c(r1) /* 8022E7E8 0022B748 38 C1 00 0C */ addi r6, r1, 0xc /* 8022E7EC 0022B74C 38 E1 00 C8 */ addi r7, r1, 0xc8 /* 8022E7F0 0022B750 91 01 00 88 */ stw r8, 0x88(r1) /* 8022E7F4 0022B754 39 01 00 80 */ addi r8, r1, 0x80 /* 8022E7F8 0022B758 91 41 00 90 */ stw r10, 0x90(r1) /* 8022E7FC 0022B75C A1 5E 00 08 */ lhz r10, 8(r30) /* 8022E800 0022B760 B1 41 00 0C */ sth r10, 0xc(r1) /* 8022E804 0022B764 B0 01 00 10 */ sth r0, 0x10(r1) /* 8022E808 0022B768 A0 1E 00 08 */ lhz r0, 8(r30) /* 8022E80C 0022B76C B1 41 00 08 */ sth r10, 8(r1) /* 8022E810 0022B770 B0 01 00 14 */ sth r0, 0x14(r1) /* 8022E814 0022B774 B0 01 00 18 */ sth r0, 0x18(r1) /* 8022E818 0022B778 4B E1 B8 89 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_8022E81C: /* 8022E81C 0022B77C 3B 7B 00 02 */ addi r27, r27, 2 lbl_8022E820: /* 8022E820 0022B780 80 A1 01 18 */ lwz r5, 0x118(r1) /* 8022E824 0022B784 54 A0 08 3C */ slwi r0, r5, 1 /* 8022E828 0022B788 7C 1C 02 14 */ add r0, r28, r0 /* 8022E82C 0022B78C 7C 1B 00 40 */ cmplw r27, r0 /* 8022E830 0022B790 40 82 FE 78 */ bne lbl_8022E6A8 /* 8022E834 0022B794 2C 05 00 00 */ cmpwi r5, 0 /* 8022E838 0022B798 38 60 00 00 */ li r3, 0 /* 8022E83C 0022B79C 40 81 00 40 */ ble lbl_8022E87C /* 8022E840 0022B7A0 2C 05 00 08 */ cmpwi r5, 8 /* 8022E844 0022B7A4 38 85 FF F8 */ addi r4, r5, -8 /* 8022E848 0022B7A8 40 81 00 20 */ ble lbl_8022E868 /* 8022E84C 0022B7AC 38 04 00 07 */ addi r0, r4, 7 /* 8022E850 0022B7B0 54 00 E8 FE */ srwi r0, r0, 3 /* 8022E854 0022B7B4 7C 09 03 A6 */ mtctr r0 /* 8022E858 0022B7B8 2C 04 00 00 */ cmpwi r4, 0 /* 8022E85C 0022B7BC 40 81 00 0C */ ble lbl_8022E868 lbl_8022E860: /* 8022E860 0022B7C0 38 63 00 08 */ addi r3, r3, 8 /* 8022E864 0022B7C4 42 00 FF FC */ bdnz lbl_8022E860 lbl_8022E868: /* 8022E868 0022B7C8 7C 03 28 50 */ subf r0, r3, r5 /* 8022E86C 0022B7CC 7C 09 03 A6 */ mtctr r0 /* 8022E870 0022B7D0 7C 03 28 00 */ cmpw r3, r5 /* 8022E874 0022B7D4 40 80 00 08 */ bge lbl_8022E87C lbl_8022E878: /* 8022E878 0022B7D8 42 00 00 00 */ bdnz lbl_8022E878 lbl_8022E87C: /* 8022E87C 0022B7DC 38 00 00 00 */ li r0, 0 /* 8022E880 0022B7E0 90 01 01 18 */ stw r0, 0x118(r1) lbl_8022E884: /* 8022E884 0022B7E4 BB 41 09 28 */ lmw r26, 0x928(r1) /* 8022E888 0022B7E8 80 01 09 44 */ lwz r0, 0x944(r1) /* 8022E88C 0022B7EC 7C 08 03 A6 */ mtlr r0 /* 8022E890 0022B7F0 38 21 09 40 */ addi r1, r1, 0x940 /* 8022E894 0022B7F4 4E 80 00 20 */ blr .global sub_8022e898 sub_8022e898: /* 8022E898 0022B7F8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022E89C 0022B7FC 7C 08 02 A6 */ mflr r0 /* 8022E8A0 0022B800 90 01 00 14 */ stw r0, 0x14(r1) /* 8022E8A4 0022B804 93 E1 00 0C */ stw r31, 0xc(r1) /* 8022E8A8 0022B808 7C BF 2B 78 */ mr r31, r5 /* 8022E8AC 0022B80C 93 C1 00 08 */ stw r30, 8(r1) /* 8022E8B0 0022B810 7C 7E 1B 78 */ mr r30, r3 /* 8022E8B4 0022B814 4B E2 62 85 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager /* 8022E8B8 0022B818 88 1E 02 B4 */ lbz r0, 0x2b4(r30) /* 8022E8BC 0022B81C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8022E8C0 0022B820 41 82 00 70 */ beq lbl_8022E930 /* 8022E8C4 0022B824 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 8022E8C8 0022B828 7F E4 FB 78 */ mr r4, r31 /* 8022E8CC 0022B82C 80 63 00 00 */ lwz r3, 0(r3) /* 8022E8D0 0022B830 4B E6 2C 89 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 8022E8D4 0022B834 2C 03 00 02 */ cmpwi r3, 2 /* 8022E8D8 0022B838 41 82 00 20 */ beq lbl_8022E8F8 /* 8022E8DC 0022B83C 40 80 00 10 */ bge lbl_8022E8EC /* 8022E8E0 0022B840 2C 03 00 00 */ cmpwi r3, 0 /* 8022E8E4 0022B844 41 82 00 14 */ beq lbl_8022E8F8 /* 8022E8E8 0022B848 48 00 00 60 */ b lbl_8022E948 lbl_8022E8EC: /* 8022E8EC 0022B84C 2C 03 00 04 */ cmpwi r3, 4 /* 8022E8F0 0022B850 40 80 00 58 */ bge lbl_8022E948 /* 8022E8F4 0022B854 48 00 00 20 */ b lbl_8022E914 lbl_8022E8F8: /* 8022E8F8 0022B858 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8022E8FC 0022B85C 80 9E 02 A0 */ lwz r4, 0x2a0(r30) /* 8022E900 0022B860 81 83 00 00 */ lwz r12, 0(r3) /* 8022E904 0022B864 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8022E908 0022B868 7D 89 03 A6 */ mtctr r12 /* 8022E90C 0022B86C 4E 80 04 21 */ bctrl /* 8022E910 0022B870 48 00 00 38 */ b lbl_8022E948 lbl_8022E914: /* 8022E914 0022B874 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8022E918 0022B878 80 9E 02 A8 */ lwz r4, 0x2a8(r30) /* 8022E91C 0022B87C 81 83 00 00 */ lwz r12, 0(r3) /* 8022E920 0022B880 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8022E924 0022B884 7D 89 03 A6 */ mtctr r12 /* 8022E928 0022B888 4E 80 04 21 */ bctrl /* 8022E92C 0022B88C 48 00 00 1C */ b lbl_8022E948 lbl_8022E930: /* 8022E930 0022B890 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8022E934 0022B894 80 9E 02 AC */ lwz r4, 0x2ac(r30) /* 8022E938 0022B898 81 83 00 00 */ lwz r12, 0(r3) /* 8022E93C 0022B89C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8022E940 0022B8A0 7D 89 03 A6 */ mtctr r12 /* 8022E944 0022B8A4 4E 80 04 21 */ bctrl lbl_8022E948: /* 8022E948 0022B8A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022E94C 0022B8AC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8022E950 0022B8B0 83 C1 00 08 */ lwz r30, 8(r1) /* 8022E954 0022B8B4 7C 08 03 A6 */ mtlr r0 /* 8022E958 0022B8B8 38 21 00 10 */ addi r1, r1, 0x10 /* 8022E95C 0022B8BC 4E 80 00 20 */ blr .global sub_8022e960 sub_8022e960: /* 8022E960 0022B8C0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022E964 0022B8C4 7C 08 02 A6 */ mflr r0 /* 8022E968 0022B8C8 90 01 00 24 */ stw r0, 0x24(r1) /* 8022E96C 0022B8CC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8022E970 0022B8D0 7C 9F 23 78 */ mr r31, r4 /* 8022E974 0022B8D4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8022E978 0022B8D8 7C 7E 1B 78 */ mr r30, r3 /* 8022E97C 0022B8DC 88 03 02 B4 */ lbz r0, 0x2b4(r3) /* 8022E980 0022B8E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8022E984 0022B8E4 40 82 00 4C */ bne lbl_8022E9D0 /* 8022E988 0022B8E8 C0 22 B6 38 */ lfs f1, lbl_805AD358@sda21(r2) /* 8022E98C 0022B8EC 38 80 00 00 */ li r4, 0 /* 8022E990 0022B8F0 38 00 00 03 */ li r0, 3 /* 8022E994 0022B8F4 98 81 00 10 */ stb r4, 0x10(r1) /* 8022E998 0022B8F8 FC 40 08 90 */ fmr f2, f1 /* 8022E99C 0022B8FC 38 61 00 14 */ addi r3, r1, 0x14 /* 8022E9A0 0022B900 FC 60 08 90 */ fmr f3, f1 /* 8022E9A4 0022B904 98 81 00 11 */ stb r4, 0x11(r1) /* 8022E9A8 0022B908 FC 80 08 90 */ fmr f4, f1 /* 8022E9AC 0022B90C B0 01 00 12 */ sth r0, 0x12(r1) /* 8022E9B0 0022B910 48 13 4A 3D */ bl __ct__6CColorFffff /* 8022E9B4 0022B914 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8022E9B8 0022B918 7F E4 FB 78 */ mr r4, r31 /* 8022E9BC 0022B91C 38 BE 00 34 */ addi r5, r30, 0x34 /* 8022E9C0 0022B920 38 E1 00 10 */ addi r7, r1, 0x10 /* 8022E9C4 0022B924 38 C0 00 00 */ li r6, 0 /* 8022E9C8 0022B928 4B EE 63 F5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 8022E9CC 0022B92C 48 00 00 74 */ b lbl_8022EA40 lbl_8022E9D0: /* 8022E9D0 0022B930 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 8022E9D4 0022B934 80 63 00 00 */ lwz r3, 0(r3) /* 8022E9D8 0022B938 4B E6 2B 81 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 8022E9DC 0022B93C 2C 03 00 01 */ cmpwi r3, 1 /* 8022E9E0 0022B940 40 82 00 60 */ bne lbl_8022EA40 /* 8022E9E4 0022B944 38 00 00 01 */ li r0, 1 /* 8022E9E8 0022B948 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 8022E9EC 0022B94C 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) /* 8022E9F0 0022B950 48 11 B5 C5 */ bl Black__6CColorFv /* 8022E9F4 0022B954 C0 22 B6 3C */ lfs f1, lbl_805AD35C@sda21(r2) /* 8022E9F8 0022B958 7C 64 1B 78 */ mr r4, r3 /* 8022E9FC 0022B95C C0 42 B6 40 */ lfs f2, lbl_805AD360@sda21(r2) /* 8022EA00 0022B960 38 60 00 02 */ li r3, 2 /* 8022EA04 0022B964 48 0D B8 85 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor /* 8022EA08 0022B968 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022EA0C 0022B96C 81 83 00 00 */ lwz r12, 0(r3) /* 8022EA10 0022B970 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8022EA14 0022B974 7D 89 03 A6 */ mtctr r12 /* 8022EA18 0022B978 4E 80 04 21 */ bctrl /* 8022EA1C 0022B97C 80 1E 00 04 */ lwz r0, 4(r30) /* 8022EA20 0022B980 7F E3 FB 78 */ mr r3, r31 /* 8022EA24 0022B984 38 81 00 0C */ addi r4, r1, 0xc /* 8022EA28 0022B988 90 01 00 08 */ stw r0, 8(r1) /* 8022EA2C 0022B98C 90 01 00 0C */ stw r0, 0xc(r1) /* 8022EA30 0022B990 4B E1 83 51 */ bl SetupFogForArea__13CStateManagerCF7TAreaId /* 8022EA34 0022B994 38 00 00 00 */ li r0, 0 /* 8022EA38 0022B998 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) /* 8022EA3C 0022B99C 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) lbl_8022EA40: /* 8022EA40 0022B9A0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022EA44 0022B9A4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022EA48 0022B9A8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8022EA4C 0022B9AC 7C 08 03 A6 */ mtlr r0 /* 8022EA50 0022B9B0 38 21 00 20 */ addi r1, r1, 0x20 /* 8022EA54 0022B9B4 4E 80 00 20 */ blr .global sub_8022ea58 sub_8022ea58: /* 8022EA58 0022B9B8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8022EA5C 0022B9BC 7C 08 02 A6 */ mflr r0 /* 8022EA60 0022B9C0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8022EA64 0022B9C4 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 8022EA68 0022B9C8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 8022EA6C 0022B9CC DB C1 00 90 */ stfd f30, 0x90(r1) /* 8022EA70 0022B9D0 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 8022EA74 0022B9D4 DB A1 00 80 */ stfd f29, 0x80(r1) /* 8022EA78 0022B9D8 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 8022EA7C 0022B9DC DB 81 00 70 */ stfd f28, 0x70(r1) /* 8022EA80 0022B9E0 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 /* 8022EA84 0022B9E4 BF 61 00 5C */ stmw r27, 0x5c(r1) /* 8022EA88 0022B9E8 88 0D A5 18 */ lbz r0, lbl_805A90D8@sda21(r13) /* 8022EA8C 0022B9EC 7C 7C 1B 78 */ mr r28, r3 /* 8022EA90 0022B9F0 7C 9D 23 78 */ mr r29, r4 /* 8022EA94 0022B9F4 7C BE 2B 78 */ mr r30, r5 /* 8022EA98 0022B9F8 7C 00 07 75 */ extsb. r0, r0 /* 8022EA9C 0022B9FC 7C DF 33 78 */ mr r31, r6 /* 8022EAA0 0022BA00 40 82 00 E0 */ bne lbl_8022EB80 /* 8022EAA4 0022BA04 38 00 00 00 */ li r0, 0 /* 8022EAA8 0022BA08 80 AD 95 C8 */ lwz r5, lbl_805A8188@sda21(r13) /* 8022EAAC 0022BA0C 90 0D A5 24 */ stw r0, lbl_805A90E4@sda21(r13) /* 8022EAB0 0022BA10 38 60 00 00 */ li r3, 0 /* 8022EAB4 0022BA14 38 80 00 01 */ li r4, 1 /* 8022EAB8 0022BA18 90 0D A5 20 */ stw r0, lbl_805A90E0@sda21(r13) /* 8022EABC 0022BA1C 48 15 B4 39 */ bl __shl2i /* 8022EAC0 0022BA20 80 0D A5 20 */ lwz r0, lbl_805A90E0@sda21(r13) /* 8022EAC4 0022BA24 80 CD A5 24 */ lwz r6, lbl_805A90E4@sda21(r13) /* 8022EAC8 0022BA28 7C 00 1B 78 */ or r0, r0, r3 /* 8022EACC 0022BA2C 80 AD 95 CC */ lwz r5, lbl_805A818C@sda21(r13) /* 8022EAD0 0022BA30 7C C4 23 78 */ or r4, r6, r4 /* 8022EAD4 0022BA34 90 0D A5 20 */ stw r0, lbl_805A90E0@sda21(r13) /* 8022EAD8 0022BA38 38 60 00 00 */ li r3, 0 /* 8022EADC 0022BA3C 90 8D A5 24 */ stw r4, lbl_805A90E4@sda21(r13) /* 8022EAE0 0022BA40 38 80 00 01 */ li r4, 1 /* 8022EAE4 0022BA44 48 15 B4 11 */ bl __shl2i /* 8022EAE8 0022BA48 80 0D A5 20 */ lwz r0, lbl_805A90E0@sda21(r13) /* 8022EAEC 0022BA4C 80 CD A5 24 */ lwz r6, lbl_805A90E4@sda21(r13) /* 8022EAF0 0022BA50 7C 00 1B 78 */ or r0, r0, r3 /* 8022EAF4 0022BA54 80 AD 95 D0 */ lwz r5, lbl_805A8190@sda21(r13) /* 8022EAF8 0022BA58 7C C4 23 78 */ or r4, r6, r4 /* 8022EAFC 0022BA5C 90 0D A5 20 */ stw r0, lbl_805A90E0@sda21(r13) /* 8022EB00 0022BA60 38 60 00 00 */ li r3, 0 /* 8022EB04 0022BA64 90 8D A5 24 */ stw r4, lbl_805A90E4@sda21(r13) /* 8022EB08 0022BA68 38 80 00 01 */ li r4, 1 /* 8022EB0C 0022BA6C 48 15 B3 E9 */ bl __shl2i /* 8022EB10 0022BA70 80 0D A5 20 */ lwz r0, lbl_805A90E0@sda21(r13) /* 8022EB14 0022BA74 80 CD A5 24 */ lwz r6, lbl_805A90E4@sda21(r13) /* 8022EB18 0022BA78 7C 00 1B 78 */ or r0, r0, r3 /* 8022EB1C 0022BA7C 80 AD 95 D4 */ lwz r5, lbl_805A8194@sda21(r13) /* 8022EB20 0022BA80 7C C4 23 78 */ or r4, r6, r4 /* 8022EB24 0022BA84 90 0D A5 20 */ stw r0, lbl_805A90E0@sda21(r13) /* 8022EB28 0022BA88 38 60 00 00 */ li r3, 0 /* 8022EB2C 0022BA8C 90 8D A5 24 */ stw r4, lbl_805A90E4@sda21(r13) /* 8022EB30 0022BA90 38 80 00 01 */ li r4, 1 /* 8022EB34 0022BA94 48 15 B3 C1 */ bl __shl2i /* 8022EB38 0022BA98 80 0D A5 20 */ lwz r0, lbl_805A90E0@sda21(r13) /* 8022EB3C 0022BA9C 80 CD A5 24 */ lwz r6, lbl_805A90E4@sda21(r13) /* 8022EB40 0022BAA0 7C 00 1B 78 */ or r0, r0, r3 /* 8022EB44 0022BAA4 80 AD 95 D8 */ lwz r5, lbl_805A8198@sda21(r13) /* 8022EB48 0022BAA8 7C C4 23 78 */ or r4, r6, r4 /* 8022EB4C 0022BAAC 90 0D A5 20 */ stw r0, lbl_805A90E0@sda21(r13) /* 8022EB50 0022BAB0 38 60 00 00 */ li r3, 0 /* 8022EB54 0022BAB4 90 8D A5 24 */ stw r4, lbl_805A90E4@sda21(r13) /* 8022EB58 0022BAB8 38 80 00 01 */ li r4, 1 /* 8022EB5C 0022BABC 48 15 B3 99 */ bl __shl2i /* 8022EB60 0022BAC0 80 AD A5 20 */ lwz r5, lbl_805A90E0@sda21(r13) /* 8022EB64 0022BAC4 38 00 00 01 */ li r0, 1 /* 8022EB68 0022BAC8 80 CD A5 24 */ lwz r6, lbl_805A90E4@sda21(r13) /* 8022EB6C 0022BACC 7C A3 1B 78 */ or r3, r5, r3 /* 8022EB70 0022BAD0 98 0D A5 18 */ stb r0, lbl_805A90D8@sda21(r13) /* 8022EB74 0022BAD4 7C C0 23 78 */ or r0, r6, r4 /* 8022EB78 0022BAD8 90 0D A5 24 */ stw r0, lbl_805A90E4@sda21(r13) /* 8022EB7C 0022BADC 90 6D A5 20 */ stw r3, lbl_805A90E0@sda21(r13) lbl_8022EB80: /* 8022EB80 0022BAE0 A0 7D 00 00 */ lhz r3, 0(r29) /* 8022EB84 0022BAE4 3B 60 00 00 */ li r27, 0 /* 8022EB88 0022BAE8 A0 1C 02 98 */ lhz r0, 0x298(r28) /* 8022EB8C 0022BAEC 7C 03 00 40 */ cmplw r3, r0 /* 8022EB90 0022BAF0 41 82 00 54 */ beq lbl_8022EBE4 /* 8022EB94 0022BAF4 B0 61 00 10 */ sth r3, 0x10(r1) /* 8022EB98 0022BAF8 7F E3 FB 78 */ mr r3, r31 /* 8022EB9C 0022BAFC 38 81 00 10 */ addi r4, r1, 0x10 /* 8022EBA0 0022BB00 4B E1 DA 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8022EBA4 0022BB04 28 03 00 00 */ cmplwi r3, 0 /* 8022EBA8 0022BB08 41 82 00 3C */ beq lbl_8022EBE4 /* 8022EBAC 0022BB0C 7C 64 1B 78 */ mr r4, r3 /* 8022EBB0 0022BB10 38 61 00 1C */ addi r3, r1, 0x1c /* 8022EBB4 0022BB14 4B E8 07 99 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 8022EBB8 0022BB18 80 63 00 04 */ lwz r3, 4(r3) /* 8022EBBC 0022BB1C 28 03 00 00 */ cmplwi r3, 0 /* 8022EBC0 0022BB20 41 82 00 20 */ beq lbl_8022EBE0 /* 8022EBC4 0022BB24 A0 83 02 5C */ lhz r4, 0x25c(r3) /* 8022EBC8 0022BB28 A0 1C 02 98 */ lhz r0, 0x298(r28) /* 8022EBCC 0022BB2C 7C 64 00 50 */ subf r3, r4, r0 /* 8022EBD0 0022BB30 7C 00 20 50 */ subf r0, r0, r4 /* 8022EBD4 0022BB34 7C 60 03 78 */ or r0, r3, r0 /* 8022EBD8 0022BB38 54 1B 0F FE */ srwi r27, r0, 0x1f /* 8022EBDC 0022BB3C 48 00 00 08 */ b lbl_8022EBE4 lbl_8022EBE0: /* 8022EBE0 0022BB40 3B 60 00 01 */ li r27, 1 lbl_8022EBE4: /* 8022EBE4 0022BB44 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 8022EBE8 0022BB48 41 82 00 20 */ beq lbl_8022EC08 /* 8022EBEC 0022BB4C A0 1D 00 00 */ lhz r0, 0(r29) /* 8022EBF0 0022BB50 7F 83 E3 78 */ mr r3, r28 /* 8022EBF4 0022BB54 7F E4 FB 78 */ mr r4, r31 /* 8022EBF8 0022BB58 38 A1 00 0C */ addi r5, r1, 0xc /* 8022EBFC 0022BB5C B0 01 00 0C */ sth r0, 0xc(r1) /* 8022EC00 0022BB60 4B FF F8 25 */ bl sub_8022e424 /* 8022EC04 0022BB64 48 00 01 74 */ b lbl_8022ED78 lbl_8022EC08: /* 8022EC08 0022BB68 80 1E 00 00 */ lwz r0, 0(r30) /* 8022EC0C 0022BB6C 38 BE 00 04 */ addi r5, r30, 4 /* 8022EC10 0022BB70 80 CD A5 20 */ lwz r6, lbl_805A90E0@sda21(r13) /* 8022EC14 0022BB74 38 80 00 00 */ li r4, 0 /* 8022EC18 0022BB78 80 ED A5 24 */ lwz r7, lbl_805A90E4@sda21(r13) /* 8022EC1C 0022BB7C 7C 09 03 A6 */ mtctr r0 /* 8022EC20 0022BB80 2C 00 00 00 */ cmpwi r0, 0 /* 8022EC24 0022BB84 40 81 01 54 */ ble lbl_8022ED78 lbl_8022EC28: /* 8022EC28 0022BB88 80 05 00 38 */ lwz r0, 0x38(r5) /* 8022EC2C 0022BB8C 80 65 00 3C */ lwz r3, 0x3c(r5) /* 8022EC30 0022BB90 7C C0 00 38 */ and r0, r6, r0 /* 8022EC34 0022BB94 7C E3 18 38 */ and r3, r7, r3 /* 8022EC38 0022BB98 7C 63 22 78 */ xor r3, r3, r4 /* 8022EC3C 0022BB9C 7C 00 22 78 */ xor r0, r0, r4 /* 8022EC40 0022BBA0 7C 60 03 79 */ or. r0, r3, r0 /* 8022EC44 0022BBA4 41 82 01 2C */ beq lbl_8022ED70 /* 8022EC48 0022BBA8 80 1C 02 94 */ lwz r0, 0x294(r28) /* 8022EC4C 0022BBAC 28 00 00 00 */ cmplwi r0, 0 /* 8022EC50 0022BBB0 41 82 01 04 */ beq lbl_8022ED54 /* 8022EC54 0022BBB4 38 85 00 48 */ addi r4, r5, 0x48 /* 8022EC58 0022BBB8 C0 3C 01 3C */ lfs f1, 0x13c(r28) /* 8022EC5C 0022BBBC C0 05 00 4C */ lfs f0, 0x4c(r5) /* 8022EC60 0022BBC0 C0 5C 01 38 */ lfs f2, 0x138(r28) /* 8022EC64 0022BBC4 EC 01 00 32 */ fmuls f0, f1, f0 /* 8022EC68 0022BBC8 C0 25 00 48 */ lfs f1, 0x48(r5) /* 8022EC6C 0022BBCC C0 9C 01 40 */ lfs f4, 0x140(r28) /* 8022EC70 0022BBD0 C0 65 00 50 */ lfs f3, 0x50(r5) /* 8022EC74 0022BBD4 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 8022EC78 0022BBD8 C0 02 B6 3C */ lfs f0, lbl_805AD35C@sda21(r2) /* 8022EC7C 0022BBDC EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 8022EC80 0022BBE0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022EC84 0022BBE4 40 81 00 08 */ ble lbl_8022EC8C /* 8022EC88 0022BBE8 38 85 00 54 */ addi r4, r5, 0x54 lbl_8022EC8C: /* 8022EC8C 0022BBEC C3 C4 00 00 */ lfs f30, 0(r4) /* 8022EC90 0022BBF0 38 7C 00 FC */ addi r3, r28, 0xfc /* 8022EC94 0022BBF4 C3 A4 00 04 */ lfs f29, 4(r4) /* 8022EC98 0022BBF8 C3 84 00 08 */ lfs f28, 8(r4) /* 8022EC9C 0022BBFC C3 FC 02 5C */ lfs f31, 0x25c(r28) /* 8022ECA0 0022BC00 48 0E 5C 19 */ bl Magnitude__9CVector3fCFv /* 8022ECA4 0022BC04 EC 1F 00 72 */ fmuls f0, f31, f1 /* 8022ECA8 0022BC08 38 61 00 30 */ addi r3, r1, 0x30 /* 8022ECAC 0022BC0C 38 81 00 18 */ addi r4, r1, 0x18 /* 8022ECB0 0022BC10 38 BC 01 08 */ addi r5, r28, 0x108 /* 8022ECB4 0022BC14 EC 40 07 B2 */ fmuls f2, f0, f30 /* 8022ECB8 0022BC18 EC 20 07 72 */ fmuls f1, f0, f29 /* 8022ECBC 0022BC1C EC 00 07 32 */ fmuls f0, f0, f28 /* 8022ECC0 0022BC20 D0 41 00 48 */ stfs f2, 0x48(r1) /* 8022ECC4 0022BC24 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 8022ECC8 0022BC28 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8022ECCC 0022BC2C C0 1C 02 5C */ lfs f0, 0x25c(r28) /* 8022ECD0 0022BC30 FC 00 00 50 */ fneg f0, f0 /* 8022ECD4 0022BC34 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8022ECD8 0022BC38 4B DE C7 81 */ bl __ml__FRCfRC10CAxisAngle /* 8022ECDC 0022BC3C C0 41 00 30 */ lfs f2, 0x30(r1) /* 8022ECE0 0022BC40 7F 83 E3 78 */ mr r3, r28 /* 8022ECE4 0022BC44 C0 21 00 34 */ lfs f1, 0x34(r1) /* 8022ECE8 0022BC48 38 81 00 48 */ addi r4, r1, 0x48 /* 8022ECEC 0022BC4C C0 01 00 38 */ lfs f0, 0x38(r1) /* 8022ECF0 0022BC50 38 A1 00 3C */ addi r5, r1, 0x3c /* 8022ECF4 0022BC54 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 8022ECF8 0022BC58 D0 21 00 40 */ stfs f1, 0x40(r1) /* 8022ECFC 0022BC5C D0 01 00 44 */ stfs f0, 0x44(r1) /* 8022ED00 0022BC60 4B EE D6 99 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle /* 8022ED04 0022BC64 81 5C 00 04 */ lwz r10, 4(r28) /* 8022ED08 0022BC68 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 8022ED0C 0022BC6C C0 5C 00 60 */ lfs f2, 0x60(r28) /* 8022ED10 0022BC70 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 8022ED14 0022BC74 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 8022ED18 0022BC78 38 61 00 14 */ addi r3, r1, 0x14 /* 8022ED1C 0022BC7C C0 1C 00 40 */ lfs f0, 0x40(r28) /* 8022ED20 0022BC80 38 A1 00 24 */ addi r5, r1, 0x24 /* 8022ED24 0022BC84 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8022ED28 0022BC88 38 E0 00 00 */ li r7, 0 /* 8022ED2C 0022BC8C D0 01 00 24 */ stfs f0, 0x24(r1) /* 8022ED30 0022BC90 39 00 00 00 */ li r8, 0 /* 8022ED34 0022BC94 D0 21 00 28 */ stfs f1, 0x28(r1) /* 8022ED38 0022BC98 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8022ED3C 0022BC9C A0 9C 02 90 */ lhz r4, 0x290(r28) /* 8022ED40 0022BCA0 48 0B B5 71 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8022ED44 0022BCA4 80 7C 02 94 */ lwz r3, 0x294(r28) /* 8022ED48 0022BCA8 38 03 FF FF */ addi r0, r3, -1 /* 8022ED4C 0022BCAC 90 1C 02 94 */ stw r0, 0x294(r28) /* 8022ED50 0022BCB0 48 00 00 28 */ b lbl_8022ED78 lbl_8022ED54: /* 8022ED54 0022BCB4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022ED58 0022BCB8 7F 83 E3 78 */ mr r3, r28 /* 8022ED5C 0022BCBC 7F E4 FB 78 */ mr r4, r31 /* 8022ED60 0022BCC0 38 A1 00 08 */ addi r5, r1, 8 /* 8022ED64 0022BCC4 B0 01 00 08 */ sth r0, 8(r1) /* 8022ED68 0022BCC8 4B FF F6 BD */ bl sub_8022e424 /* 8022ED6C 0022BCCC 48 00 00 0C */ b lbl_8022ED78 lbl_8022ED70: /* 8022ED70 0022BCD0 38 A5 00 60 */ addi r5, r5, 0x60 /* 8022ED74 0022BCD4 42 00 FE B4 */ bdnz lbl_8022EC28 lbl_8022ED78: /* 8022ED78 0022BCD8 7F 83 E3 78 */ mr r3, r28 /* 8022ED7C 0022BCDC 7F A4 EB 78 */ mr r4, r29 /* 8022ED80 0022BCE0 7F C5 F3 78 */ mr r5, r30 /* 8022ED84 0022BCE4 7F E6 FB 78 */ mr r6, r31 /* 8022ED88 0022BCE8 4B EE BC 41 */ bl CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager /* 8022ED8C 0022BCEC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 8022ED90 0022BCF0 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 8022ED94 0022BCF4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 8022ED98 0022BCF8 CB C1 00 90 */ lfd f30, 0x90(r1) /* 8022ED9C 0022BCFC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 8022EDA0 0022BD00 CB A1 00 80 */ lfd f29, 0x80(r1) /* 8022EDA4 0022BD04 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 /* 8022EDA8 0022BD08 CB 81 00 70 */ lfd f28, 0x70(r1) /* 8022EDAC 0022BD0C BB 61 00 5C */ lmw r27, 0x5c(r1) /* 8022EDB0 0022BD10 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8022EDB4 0022BD14 7C 08 03 A6 */ mtlr r0 /* 8022EDB8 0022BD18 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8022EDBC 0022BD1C 4E 80 00 20 */ blr .global sub_8022edc0 sub_8022edc0: /* 8022EDC0 0022BD20 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8022EDC4 0022BD24 7C 08 02 A6 */ mflr r0 /* 8022EDC8 0022BD28 7C 85 23 78 */ mr r5, r4 /* 8022EDCC 0022BD2C 90 01 00 34 */ stw r0, 0x34(r1) /* 8022EDD0 0022BD30 38 A5 00 34 */ addi r5, r5, 0x34 /* 8022EDD4 0022BD34 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8022EDD8 0022BD38 7C 7F 1B 78 */ mr r31, r3 /* 8022EDDC 0022BD3C 38 61 00 08 */ addi r3, r1, 8 /* 8022EDE0 0022BD40 80 84 00 64 */ lwz r4, 0x64(r4) /* 8022EDE4 0022BD44 4B EE 69 D1 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 8022EDE8 0022BD48 38 00 00 01 */ li r0, 1 /* 8022EDEC 0022BD4C 28 1F 00 00 */ cmplwi r31, 0 /* 8022EDF0 0022BD50 98 1F 00 18 */ stb r0, 0x18(r31) /* 8022EDF4 0022BD54 41 82 00 34 */ beq lbl_8022EE28 /* 8022EDF8 0022BD58 C0 01 00 08 */ lfs f0, 8(r1) /* 8022EDFC 0022BD5C D0 1F 00 00 */ stfs f0, 0(r31) /* 8022EE00 0022BD60 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8022EE04 0022BD64 D0 1F 00 04 */ stfs f0, 4(r31) /* 8022EE08 0022BD68 C0 01 00 10 */ lfs f0, 0x10(r1) /* 8022EE0C 0022BD6C D0 1F 00 08 */ stfs f0, 8(r31) /* 8022EE10 0022BD70 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8022EE14 0022BD74 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8022EE18 0022BD78 C0 01 00 18 */ lfs f0, 0x18(r1) /* 8022EE1C 0022BD7C D0 1F 00 10 */ stfs f0, 0x10(r31) /* 8022EE20 0022BD80 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8022EE24 0022BD84 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_8022EE28: /* 8022EE28 0022BD88 80 01 00 34 */ lwz r0, 0x34(r1) /* 8022EE2C 0022BD8C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8022EE30 0022BD90 7C 08 03 A6 */ mtlr r0 /* 8022EE34 0022BD94 38 21 00 30 */ addi r1, r1, 0x30 /* 8022EE38 0022BD98 4E 80 00 20 */ blr .global sub_8022ee3c sub_8022ee3c: /* 8022EE3C 0022BD9C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022EE40 0022BDA0 7C 08 02 A6 */ mflr r0 /* 8022EE44 0022BDA4 90 01 00 14 */ stw r0, 0x14(r1) /* 8022EE48 0022BDA8 4B E2 55 C1 */ bl Touch__6CActorFR6CActorR13CStateManager /* 8022EE4C 0022BDAC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022EE50 0022BDB0 7C 08 03 A6 */ mtlr r0 /* 8022EE54 0022BDB4 38 21 00 10 */ addi r1, r1, 0x10 /* 8022EE58 0022BDB8 4E 80 00 20 */ blr .global sub_8022ee5c sub_8022ee5c: /* 8022EE5C 0022BDBC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8022EE60 0022BDC0 7C 08 02 A6 */ mflr r0 /* 8022EE64 0022BDC4 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8022EE68 0022BDC8 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 8022EE6C 0022BDCC F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 8022EE70 0022BDD0 93 E1 00 AC */ stw r31, 0xac(r1) /* 8022EE74 0022BDD4 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 8022EE78 0022BDD8 88 03 00 30 */ lbz r0, 0x30(r3) /* 8022EE7C 0022BDDC FF E0 08 90 */ fmr f31, f1 /* 8022EE80 0022BDE0 7C 7E 1B 78 */ mr r30, r3 /* 8022EE84 0022BDE4 7C 9F 23 78 */ mr r31, r4 /* 8022EE88 0022BDE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8022EE8C 0022BDEC 41 82 02 BC */ beq lbl_8022F148 /* 8022EE90 0022BDF0 38 61 00 44 */ addi r3, r1, 0x44 /* 8022EE94 0022BDF4 38 9E 00 34 */ addi r4, r30, 0x34 /* 8022EE98 0022BDF8 48 0E 3D A9 */ bl GetRotation__12CTransform4fCFv /* 8022EE9C 0022BDFC 38 61 00 74 */ addi r3, r1, 0x74 /* 8022EEA0 0022BE00 38 81 00 44 */ addi r4, r1, 0x44 /* 8022EEA4 0022BE04 48 0E 3C D1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022EEA8 0022BE08 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8022EEAC 0022BE0C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 8022EEB0 0022BE10 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 8022EEB4 0022BE14 D0 01 00 38 */ stfs f0, 0x38(r1) /* 8022EEB8 0022BE18 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8022EEBC 0022BE1C D0 41 00 40 */ stfs f2, 0x40(r1) /* 8022EEC0 0022BE20 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8022EEC4 0022BE24 C0 23 00 04 */ lfs f1, 4(r3) /* 8022EEC8 0022BE28 C0 43 00 08 */ lfs f2, 8(r3) /* 8022EECC 0022BE2C C0 03 00 00 */ lfs f0, 0(r3) /* 8022EED0 0022BE30 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8022EED4 0022BE34 D0 21 00 30 */ stfs f1, 0x30(r1) /* 8022EED8 0022BE38 D0 41 00 34 */ stfs f2, 0x34(r1) /* 8022EEDC 0022BE3C 88 1E 02 B4 */ lbz r0, 0x2b4(r30) /* 8022EEE0 0022BE40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8022EEE4 0022BE44 41 82 01 30 */ beq lbl_8022F014 /* 8022EEE8 0022BE48 7F C3 F3 78 */ mr r3, r30 /* 8022EEEC 0022BE4C 4B EE C4 8D */ bl Stop__13CPhysicsActorFv /* 8022EEF0 0022BE50 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022EEF4 0022BE54 38 81 00 74 */ addi r4, r1, 0x74 /* 8022EEF8 0022BE58 81 83 00 00 */ lwz r12, 0(r3) /* 8022EEFC 0022BE5C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8022EF00 0022BE60 7D 89 03 A6 */ mtctr r12 /* 8022EF04 0022BE64 4E 80 04 21 */ bctrl /* 8022EF08 0022BE68 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022EF0C 0022BE6C 38 81 00 38 */ addi r4, r1, 0x38 /* 8022EF10 0022BE70 81 83 00 00 */ lwz r12, 0(r3) /* 8022EF14 0022BE74 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8022EF18 0022BE78 7D 89 03 A6 */ mtctr r12 /* 8022EF1C 0022BE7C 4E 80 04 21 */ bctrl /* 8022EF20 0022BE80 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022EF24 0022BE84 38 81 00 2C */ addi r4, r1, 0x2c /* 8022EF28 0022BE88 81 83 00 00 */ lwz r12, 0(r3) /* 8022EF2C 0022BE8C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8022EF30 0022BE90 7D 89 03 A6 */ mtctr r12 /* 8022EF34 0022BE94 4E 80 04 21 */ bctrl /* 8022EF38 0022BE98 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022EF3C 0022BE9C FC 20 F8 90 */ fmr f1, f31 /* 8022EF40 0022BEA0 81 83 00 00 */ lwz r12, 0(r3) /* 8022EF44 0022BEA4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8022EF48 0022BEA8 7D 89 03 A6 */ mtctr r12 /* 8022EF4C 0022BEAC 4E 80 04 21 */ bctrl /* 8022EF50 0022BEB0 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022EF54 0022BEB4 38 81 00 74 */ addi r4, r1, 0x74 /* 8022EF58 0022BEB8 81 83 00 00 */ lwz r12, 0(r3) /* 8022EF5C 0022BEBC 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8022EF60 0022BEC0 7D 89 03 A6 */ mtctr r12 /* 8022EF64 0022BEC4 4E 80 04 21 */ bctrl /* 8022EF68 0022BEC8 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022EF6C 0022BECC 38 81 00 38 */ addi r4, r1, 0x38 /* 8022EF70 0022BED0 81 83 00 00 */ lwz r12, 0(r3) /* 8022EF74 0022BED4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8022EF78 0022BED8 7D 89 03 A6 */ mtctr r12 /* 8022EF7C 0022BEDC 4E 80 04 21 */ bctrl /* 8022EF80 0022BEE0 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022EF84 0022BEE4 38 81 00 2C */ addi r4, r1, 0x2c /* 8022EF88 0022BEE8 81 83 00 00 */ lwz r12, 0(r3) /* 8022EF8C 0022BEEC 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8022EF90 0022BEF0 7D 89 03 A6 */ mtctr r12 /* 8022EF94 0022BEF4 4E 80 04 21 */ bctrl /* 8022EF98 0022BEF8 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022EF9C 0022BEFC FC 20 F8 90 */ fmr f1, f31 /* 8022EFA0 0022BF00 81 83 00 00 */ lwz r12, 0(r3) /* 8022EFA4 0022BF04 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8022EFA8 0022BF08 7D 89 03 A6 */ mtctr r12 /* 8022EFAC 0022BF0C 4E 80 04 21 */ bctrl /* 8022EFB0 0022BF10 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022EFB4 0022BF14 38 81 00 74 */ addi r4, r1, 0x74 /* 8022EFB8 0022BF18 81 83 00 00 */ lwz r12, 0(r3) /* 8022EFBC 0022BF1C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8022EFC0 0022BF20 7D 89 03 A6 */ mtctr r12 /* 8022EFC4 0022BF24 4E 80 04 21 */ bctrl /* 8022EFC8 0022BF28 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022EFCC 0022BF2C 38 81 00 38 */ addi r4, r1, 0x38 /* 8022EFD0 0022BF30 81 83 00 00 */ lwz r12, 0(r3) /* 8022EFD4 0022BF34 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8022EFD8 0022BF38 7D 89 03 A6 */ mtctr r12 /* 8022EFDC 0022BF3C 4E 80 04 21 */ bctrl /* 8022EFE0 0022BF40 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022EFE4 0022BF44 38 81 00 2C */ addi r4, r1, 0x2c /* 8022EFE8 0022BF48 81 83 00 00 */ lwz r12, 0(r3) /* 8022EFEC 0022BF4C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8022EFF0 0022BF50 7D 89 03 A6 */ mtctr r12 /* 8022EFF4 0022BF54 4E 80 04 21 */ bctrl /* 8022EFF8 0022BF58 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022EFFC 0022BF5C FC 20 F8 90 */ fmr f1, f31 /* 8022F000 0022BF60 81 83 00 00 */ lwz r12, 0(r3) /* 8022F004 0022BF64 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8022F008 0022BF68 7D 89 03 A6 */ mtctr r12 /* 8022F00C 0022BF6C 4E 80 04 21 */ bctrl /* 8022F010 0022BF70 48 00 00 64 */ b lbl_8022F074 lbl_8022F014: /* 8022F014 0022BF74 80 7E 02 AC */ lwz r3, 0x2ac(r30) /* 8022F018 0022BF78 38 81 00 74 */ addi r4, r1, 0x74 /* 8022F01C 0022BF7C 81 83 00 00 */ lwz r12, 0(r3) /* 8022F020 0022BF80 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8022F024 0022BF84 7D 89 03 A6 */ mtctr r12 /* 8022F028 0022BF88 4E 80 04 21 */ bctrl /* 8022F02C 0022BF8C 80 7E 02 AC */ lwz r3, 0x2ac(r30) /* 8022F030 0022BF90 38 81 00 38 */ addi r4, r1, 0x38 /* 8022F034 0022BF94 81 83 00 00 */ lwz r12, 0(r3) /* 8022F038 0022BF98 81 8C 00 20 */ lwz r12, 0x20(r12) /* 8022F03C 0022BF9C 7D 89 03 A6 */ mtctr r12 /* 8022F040 0022BFA0 4E 80 04 21 */ bctrl /* 8022F044 0022BFA4 80 7E 02 AC */ lwz r3, 0x2ac(r30) /* 8022F048 0022BFA8 38 81 00 2C */ addi r4, r1, 0x2c /* 8022F04C 0022BFAC 81 83 00 00 */ lwz r12, 0(r3) /* 8022F050 0022BFB0 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8022F054 0022BFB4 7D 89 03 A6 */ mtctr r12 /* 8022F058 0022BFB8 4E 80 04 21 */ bctrl /* 8022F05C 0022BFBC 80 7E 02 AC */ lwz r3, 0x2ac(r30) /* 8022F060 0022BFC0 FC 20 F8 90 */ fmr f1, f31 /* 8022F064 0022BFC4 81 83 00 00 */ lwz r12, 0(r3) /* 8022F068 0022BFC8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8022F06C 0022BFCC 7D 89 03 A6 */ mtctr r12 /* 8022F070 0022BFD0 4E 80 04 21 */ bctrl lbl_8022F074: /* 8022F074 0022BFD4 C0 3E 02 9C */ lfs f1, 0x29c(r30) /* 8022F078 0022BFD8 C0 02 B6 44 */ lfs f0, lbl_805AD364@sda21(r2) /* 8022F07C 0022BFDC EC 21 F8 2A */ fadds f1, f1, f31 /* 8022F080 0022BFE0 D0 3E 02 9C */ stfs f1, 0x29c(r30) /* 8022F084 0022BFE4 C0 3E 02 9C */ lfs f1, 0x29c(r30) /* 8022F088 0022BFE8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022F08C 0022BFEC 40 81 00 14 */ ble lbl_8022F0A0 /* 8022F090 0022BFF0 88 1E 02 B4 */ lbz r0, 0x2b4(r30) /* 8022F094 0022BFF4 38 60 00 01 */ li r3, 1 /* 8022F098 0022BFF8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8022F09C 0022BFFC 98 1E 02 B4 */ stb r0, 0x2b4(r30) lbl_8022F0A0: /* 8022F0A0 0022C000 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8022F0A4 0022C004 48 05 5D 3D */ bl GetEyeHeight__7CPlayerCFv /* 8022F0A8 0022C008 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 8022F0AC 0022C00C C0 02 B6 48 */ lfs f0, lbl_805AD368@sda21(r2) /* 8022F0B0 0022C010 C0 63 00 50 */ lfs f3, 0x50(r3) /* 8022F0B4 0022C014 C0 A2 B6 3C */ lfs f5, lbl_805AD35C@sda21(r2) /* 8022F0B8 0022C018 EC C0 00 72 */ fmuls f6, f0, f1 /* 8022F0BC 0022C01C C0 03 00 40 */ lfs f0, 0x40(r3) /* 8022F0C0 0022C020 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8022F0C4 0022C024 EC 83 28 2A */ fadds f4, f3, f5 /* 8022F0C8 0022C028 C0 61 00 3C */ lfs f3, 0x3c(r1) /* 8022F0CC 0022C02C EC 20 28 2A */ fadds f1, f0, f5 /* 8022F0D0 0022C030 C0 01 00 38 */ lfs f0, 0x38(r1) /* 8022F0D4 0022C034 EC 42 30 2A */ fadds f2, f2, f6 /* 8022F0D8 0022C038 EC A4 18 28 */ fsubs f5, f4, f3 /* 8022F0DC 0022C03C EC 01 00 28 */ fsubs f0, f1, f0 /* 8022F0E0 0022C040 C0 21 00 40 */ lfs f1, 0x40(r1) /* 8022F0E4 0022C044 C0 DE 02 B0 */ lfs f6, 0x2b0(r30) /* 8022F0E8 0022C048 EC 82 08 28 */ fsubs f4, f2, f1 /* 8022F0EC 0022C04C D0 A1 00 18 */ stfs f5, 0x18(r1) /* 8022F0F0 0022C050 FC 40 00 18 */ frsp f2, f0 /* 8022F0F4 0022C054 FC 20 28 18 */ frsp f1, f5 /* 8022F0F8 0022C058 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022F0FC 0022C05C FC 60 20 18 */ frsp f3, f4 /* 8022F100 0022C060 EC 42 00 B2 */ fmuls f2, f2, f2 /* 8022F104 0022C064 D0 81 00 1C */ stfs f4, 0x1c(r1) /* 8022F108 0022C068 EC 21 00 72 */ fmuls f1, f1, f1 /* 8022F10C 0022C06C EC 63 00 F2 */ fmuls f3, f3, f3 /* 8022F110 0022C070 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8022F114 0022C074 EC 06 01 B2 */ fmuls f0, f6, f6 /* 8022F118 0022C078 EC 22 08 2A */ fadds f1, f2, f1 /* 8022F11C 0022C07C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 8022F120 0022C080 D0 81 00 28 */ stfs f4, 0x28(r1) /* 8022F124 0022C084 EC 23 08 2A */ fadds f1, f3, f1 /* 8022F128 0022C088 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022F12C 0022C08C 40 80 00 1C */ bge lbl_8022F148 /* 8022F130 0022C090 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8022F134 0022C094 7F C3 F3 78 */ mr r3, r30 /* 8022F138 0022C098 7F E4 FB 78 */ mr r4, r31 /* 8022F13C 0022C09C 38 A1 00 10 */ addi r5, r1, 0x10 /* 8022F140 0022C0A0 B0 01 00 10 */ sth r0, 0x10(r1) /* 8022F144 0022C0A4 4B FF F2 E1 */ bl sub_8022e424 lbl_8022F148: /* 8022F148 0022C0A8 80 7E 02 A0 */ lwz r3, 0x2a0(r30) /* 8022F14C 0022C0AC 81 83 00 00 */ lwz r12, 0(r3) /* 8022F150 0022C0B0 81 8C 00 58 */ lwz r12, 0x58(r12) /* 8022F154 0022C0B4 7D 89 03 A6 */ mtctr r12 /* 8022F158 0022C0B8 4E 80 04 21 */ bctrl /* 8022F15C 0022C0BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022F160 0022C0C0 41 82 00 54 */ beq lbl_8022F1B4 /* 8022F164 0022C0C4 80 7E 02 A4 */ lwz r3, 0x2a4(r30) /* 8022F168 0022C0C8 81 83 00 00 */ lwz r12, 0(r3) /* 8022F16C 0022C0CC 81 8C 00 58 */ lwz r12, 0x58(r12) /* 8022F170 0022C0D0 7D 89 03 A6 */ mtctr r12 /* 8022F174 0022C0D4 4E 80 04 21 */ bctrl /* 8022F178 0022C0D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022F17C 0022C0DC 41 82 00 38 */ beq lbl_8022F1B4 /* 8022F180 0022C0E0 80 7E 02 A8 */ lwz r3, 0x2a8(r30) /* 8022F184 0022C0E4 81 83 00 00 */ lwz r12, 0(r3) /* 8022F188 0022C0E8 81 8C 00 58 */ lwz r12, 0x58(r12) /* 8022F18C 0022C0EC 7D 89 03 A6 */ mtctr r12 /* 8022F190 0022C0F0 4E 80 04 21 */ bctrl /* 8022F194 0022C0F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022F198 0022C0F8 41 82 00 1C */ beq lbl_8022F1B4 /* 8022F19C 0022C0FC A0 1E 00 08 */ lhz r0, 8(r30) /* 8022F1A0 0022C100 7F E3 FB 78 */ mr r3, r31 /* 8022F1A4 0022C104 38 81 00 0C */ addi r4, r1, 0xc /* 8022F1A8 0022C108 B0 01 00 08 */ sth r0, 8(r1) /* 8022F1AC 0022C10C B0 01 00 0C */ sth r0, 0xc(r1) /* 8022F1B0 0022C110 4B E1 D0 BD */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_8022F1B4: /* 8022F1B4 0022C114 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 8022F1B8 0022C118 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8022F1BC 0022C11C CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 8022F1C0 0022C120 83 E1 00 AC */ lwz r31, 0xac(r1) /* 8022F1C4 0022C124 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 8022F1C8 0022C128 7C 08 03 A6 */ mtlr r0 /* 8022F1CC 0022C12C 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8022F1D0 0022C130 4E 80 00 20 */ blr .global Accept__14CBouncyGrenadeFR8IVisitor Accept__14CBouncyGrenadeFR8IVisitor: /* 8022F1D4 0022C134 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8022F1D8 0022C138 7C 08 02 A6 */ mflr r0 /* 8022F1DC 0022C13C 90 01 00 14 */ stw r0, 0x14(r1) /* 8022F1E0 0022C140 7C 60 1B 78 */ mr r0, r3 /* 8022F1E4 0022C144 7C 83 23 78 */ mr r3, r4 /* 8022F1E8 0022C148 81 84 00 00 */ lwz r12, 0(r4) /* 8022F1EC 0022C14C 7C 04 03 78 */ mr r4, r0 /* 8022F1F0 0022C150 81 8C 00 50 */ lwz r12, 0x50(r12) /* 8022F1F4 0022C154 7D 89 03 A6 */ mtctr r12 /* 8022F1F8 0022C158 4E 80 04 21 */ bctrl /* 8022F1FC 0022C15C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8022F200 0022C160 7C 08 03 A6 */ mtlr r0 /* 8022F204 0022C164 38 21 00 10 */ addi r1, r1, 0x10 /* 8022F208 0022C168 4E 80 00 20 */ blr .global __ct__14CBouncyGrenade __ct__14CBouncyGrenade: /* 8022F20C 0022C16C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8022F210 0022C170 7C 08 02 A6 */ mflr r0 /* 8022F214 0022C174 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8022F218 0022C178 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 8022F21C 0022C17C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 8022F220 0022C180 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 8022F224 0022C184 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 8022F228 0022C188 BE C1 00 A8 */ stmw r22, 0xa8(r1) /* 8022F22C 0022C18C FF C0 08 90 */ fmr f30, f1 /* 8022F230 0022C190 83 E1 00 F8 */ lwz r31, 0xf8(r1) /* 8022F234 0022C194 FF E0 10 90 */ fmr f31, f2 /* 8022F238 0022C198 7C 77 1B 78 */ mr r23, r3 /* 8022F23C 0022C19C 7C 98 23 78 */ mr r24, r4 /* 8022F240 0022C1A0 7C B9 2B 78 */ mr r25, r5 /* 8022F244 0022C1A4 7C DA 33 78 */ mr r26, r6 /* 8022F248 0022C1A8 7C FB 3B 78 */ mr r27, r7 /* 8022F24C 0022C1AC 7D 1C 43 78 */ mr r28, r8 /* 8022F250 0022C1B0 7D 3D 4B 78 */ mr r29, r9 /* 8022F254 0022C1B4 7D 5E 53 78 */ mr r30, r10 /* 8022F258 0022C1B8 4B DE C2 DD */ bl Identity__10CAxisAngleFv /* 8022F25C 0022C1BC 7C 76 1B 78 */ mr r22, r3 /* 8022F260 0022C1C0 4B DE C2 D5 */ bl Identity__10CAxisAngleFv /* 8022F264 0022C1C4 3C 80 80 5A */ lis r4, skZero3f@ha /* 8022F268 0022C1C8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) /* 8022F26C 0022C1CC C0 3F 00 00 */ lfs f1, 0(r31) /* 8022F270 0022C1D0 38 00 00 00 */ li r0, 0 /* 8022F274 0022C1D4 C0 64 00 04 */ lfs f3, 4(r4) /* 8022F278 0022C1D8 C0 84 00 08 */ lfs f4, 8(r4) /* 8022F27C 0022C1DC 38 80 00 01 */ li r4, 1 /* 8022F280 0022C1E0 D0 41 00 68 */ stfs f2, 0x68(r1) /* 8022F284 0022C1E4 80 AD 95 BC */ lwz r5, lbl_805A817C@sda21(r13) /* 8022F288 0022C1E8 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 8022F28C 0022C1EC D0 81 00 70 */ stfs f4, 0x70(r1) /* 8022F290 0022C1F0 C0 03 00 00 */ lfs f0, 0(r3) /* 8022F294 0022C1F4 D0 01 00 74 */ stfs f0, 0x74(r1) /* 8022F298 0022C1F8 C0 03 00 04 */ lfs f0, 4(r3) /* 8022F29C 0022C1FC D0 01 00 78 */ stfs f0, 0x78(r1) /* 8022F2A0 0022C200 C0 03 00 08 */ lfs f0, 8(r3) /* 8022F2A4 0022C204 38 60 00 00 */ li r3, 0 /* 8022F2A8 0022C208 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 8022F2AC 0022C20C D0 41 00 80 */ stfs f2, 0x80(r1) /* 8022F2B0 0022C210 D0 61 00 84 */ stfs f3, 0x84(r1) /* 8022F2B4 0022C214 D0 81 00 88 */ stfs f4, 0x88(r1) /* 8022F2B8 0022C218 C0 16 00 00 */ lfs f0, 0(r22) /* 8022F2BC 0022C21C D0 01 00 8C */ stfs f0, 0x8c(r1) /* 8022F2C0 0022C220 C0 16 00 04 */ lfs f0, 4(r22) /* 8022F2C4 0022C224 D0 01 00 90 */ stfs f0, 0x90(r1) /* 8022F2C8 0022C228 C0 16 00 08 */ lfs f0, 8(r22) /* 8022F2CC 0022C22C D0 01 00 94 */ stfs f0, 0x94(r1) /* 8022F2D0 0022C230 D0 21 00 98 */ stfs f1, 0x98(r1) /* 8022F2D4 0022C234 90 01 00 24 */ stw r0, 0x24(r1) /* 8022F2D8 0022C238 90 01 00 20 */ stw r0, 0x20(r1) /* 8022F2DC 0022C23C 48 15 AC 19 */ bl __shl2i /* 8022F2E0 0022C240 80 01 00 20 */ lwz r0, 0x20(r1) /* 8022F2E4 0022C244 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8022F2E8 0022C248 7C 00 1B 78 */ or r0, r0, r3 /* 8022F2EC 0022C24C 80 AD 95 C0 */ lwz r5, lbl_805A8180@sda21(r13) /* 8022F2F0 0022C250 7C C4 23 78 */ or r4, r6, r4 /* 8022F2F4 0022C254 90 01 00 20 */ stw r0, 0x20(r1) /* 8022F2F8 0022C258 38 60 00 00 */ li r3, 0 /* 8022F2FC 0022C25C 90 81 00 24 */ stw r4, 0x24(r1) /* 8022F300 0022C260 38 80 00 01 */ li r4, 1 /* 8022F304 0022C264 48 15 AB F1 */ bl __shl2i /* 8022F308 0022C268 80 01 00 20 */ lwz r0, 0x20(r1) /* 8022F30C 0022C26C 80 A1 00 24 */ lwz r5, 0x24(r1) /* 8022F310 0022C270 7C 03 1B 78 */ or r3, r0, r3 /* 8022F314 0022C274 A0 18 00 00 */ lhz r0, 0(r24) /* 8022F318 0022C278 7C A5 23 78 */ or r5, r5, r4 /* 8022F31C 0022C27C 90 61 00 20 */ stw r3, 0x20(r1) /* 8022F320 0022C280 7F 84 E3 78 */ mr r4, r28 /* 8022F324 0022C284 38 61 00 50 */ addi r3, r1, 0x50 /* 8022F328 0022C288 90 A1 00 24 */ stw r5, 0x24(r1) /* 8022F32C 0022C28C B0 01 00 18 */ sth r0, 0x18(r1) /* 8022F330 0022C290 4B EE 62 95 */ bl GetBounds__10CModelDataCFv /* 8022F334 0022C294 38 61 00 50 */ addi r3, r1, 0x50 /* 8022F338 0022C298 38 01 00 68 */ addi r0, r1, 0x68 /* 8022F33C 0022C29C 90 61 00 08 */ stw r3, 8(r1) /* 8022F340 0022C2A0 7E E3 BB 78 */ mr r3, r23 /* 8022F344 0022C2A4 C0 22 B6 44 */ lfs f1, lbl_805AD364@sda21(r2) /* 8022F348 0022C2A8 7F 26 CB 78 */ mr r6, r25 /* 8022F34C 0022C2AC 90 01 00 0C */ stw r0, 0xc(r1) /* 8022F350 0022C2B0 7F 47 D3 78 */ mr r7, r26 /* 8022F354 0022C2B4 C0 42 B6 4C */ lfs f2, lbl_805AD36C@sda21(r2) /* 8022F358 0022C2B8 7F 68 DB 78 */ mr r8, r27 /* 8022F35C 0022C2BC 93 A1 00 10 */ stw r29, 0x10(r1) /* 8022F360 0022C2C0 7F 89 E3 78 */ mr r9, r28 /* 8022F364 0022C2C4 38 81 00 18 */ addi r4, r1, 0x18 /* 8022F368 0022C2C8 39 41 00 20 */ addi r10, r1, 0x20 /* 8022F36C 0022C2CC 38 A0 00 01 */ li r5, 1 /* 8022F370 0022C2D0 4B EE D1 41 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 8022F374 0022C2D4 3C 60 80 3E */ lis r3, lbl_803E7ED0@ha /* 8022F378 0022C2D8 C0 02 B6 3C */ lfs f0, lbl_805AD35C@sda21(r2) /* 8022F37C 0022C2DC 38 03 7E D0 */ addi r0, r3, lbl_803E7ED0@l /* 8022F380 0022C2E0 90 17 00 00 */ stw r0, 0(r23) /* 8022F384 0022C2E4 C0 3F 00 00 */ lfs f1, 0(r31) /* 8022F388 0022C2E8 D0 37 02 58 */ stfs f1, 0x258(r23) /* 8022F38C 0022C2EC C0 3F 00 04 */ lfs f1, 4(r31) /* 8022F390 0022C2F0 D0 37 02 5C */ stfs f1, 0x25c(r23) /* 8022F394 0022C2F4 80 1F 00 08 */ lwz r0, 8(r31) /* 8022F398 0022C2F8 90 17 02 60 */ stw r0, 0x260(r23) /* 8022F39C 0022C2FC 88 1F 00 0C */ lbz r0, 0xc(r31) /* 8022F3A0 0022C300 98 17 02 64 */ stb r0, 0x264(r23) /* 8022F3A4 0022C304 C0 3F 00 10 */ lfs f1, 0x10(r31) /* 8022F3A8 0022C308 D0 37 02 68 */ stfs f1, 0x268(r23) /* 8022F3AC 0022C30C C0 3F 00 14 */ lfs f1, 0x14(r31) /* 8022F3B0 0022C310 D0 37 02 6C */ stfs f1, 0x26c(r23) /* 8022F3B4 0022C314 C0 3F 00 18 */ lfs f1, 0x18(r31) /* 8022F3B8 0022C318 D0 37 02 70 */ stfs f1, 0x270(r23) /* 8022F3BC 0022C31C C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 8022F3C0 0022C320 D0 37 02 74 */ stfs f1, 0x274(r23) /* 8022F3C4 0022C324 88 1F 00 20 */ lbz r0, 0x20(r31) /* 8022F3C8 0022C328 98 17 02 78 */ stb r0, 0x278(r23) /* 8022F3CC 0022C32C 80 1F 00 24 */ lwz r0, 0x24(r31) /* 8022F3D0 0022C330 90 17 02 7C */ stw r0, 0x27c(r23) /* 8022F3D4 0022C334 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8022F3D8 0022C338 90 17 02 80 */ stw r0, 0x280(r23) /* 8022F3DC 0022C33C 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 8022F3E0 0022C340 90 17 02 84 */ stw r0, 0x284(r23) /* 8022F3E4 0022C344 80 1F 00 30 */ lwz r0, 0x30(r31) /* 8022F3E8 0022C348 90 17 02 88 */ stw r0, 0x288(r23) /* 8022F3EC 0022C34C 80 1F 00 34 */ lwz r0, 0x34(r31) /* 8022F3F0 0022C350 90 17 02 8C */ stw r0, 0x28c(r23) /* 8022F3F4 0022C354 A0 1F 00 38 */ lhz r0, 0x38(r31) /* 8022F3F8 0022C358 B0 17 02 90 */ sth r0, 0x290(r23) /* 8022F3FC 0022C35C A0 1F 00 3A */ lhz r0, 0x3a(r31) /* 8022F400 0022C360 B0 17 02 92 */ sth r0, 0x292(r23) /* 8022F404 0022C364 80 1F 00 34 */ lwz r0, 0x34(r31) /* 8022F408 0022C368 90 17 02 94 */ stw r0, 0x294(r23) /* 8022F40C 0022C36C A0 1E 00 00 */ lhz r0, 0(r30) /* 8022F410 0022C370 B0 17 02 98 */ sth r0, 0x298(r23) /* 8022F414 0022C374 D0 17 02 9C */ stfs f0, 0x29c(r23) /* 8022F418 0022C378 80 7F 00 24 */ lwz r3, 0x24(r31) /* 8022F41C 0022C37C 48 00 01 81 */ bl sub_8022f59c /* 8022F420 0022C380 90 77 02 A0 */ stw r3, 0x2a0(r23) /* 8022F424 0022C384 80 7F 00 28 */ lwz r3, 0x28(r31) /* 8022F428 0022C388 48 00 01 75 */ bl sub_8022f59c /* 8022F42C 0022C38C 90 77 02 A4 */ stw r3, 0x2a4(r23) /* 8022F430 0022C390 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8022F434 0022C394 48 00 01 69 */ bl sub_8022f59c /* 8022F438 0022C398 90 77 02 A8 */ stw r3, 0x2a8(r23) /* 8022F43C 0022C39C 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8022F440 0022C3A0 48 00 01 5D */ bl sub_8022f59c /* 8022F444 0022C3A4 90 77 02 AC */ stw r3, 0x2ac(r23) /* 8022F448 0022C3A8 38 A0 00 00 */ li r5, 0 /* 8022F44C 0022C3AC C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) /* 8022F450 0022C3B0 7E E3 BB 78 */ mr r3, r23 /* 8022F454 0022C3B4 D3 F7 02 B0 */ stfs f31, 0x2b0(r23) /* 8022F458 0022C3B8 38 81 00 28 */ addi r4, r1, 0x28 /* 8022F45C 0022C3BC FC 20 00 50 */ fneg f1, f0 /* 8022F460 0022C3C0 C0 02 B6 3C */ lfs f0, lbl_805AD35C@sda21(r2) /* 8022F464 0022C3C4 88 17 02 B4 */ lbz r0, 0x2b4(r23) /* 8022F468 0022C3C8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8022F46C 0022C3CC 98 17 02 B4 */ stb r0, 0x2b4(r23) /* 8022F470 0022C3D0 88 17 02 B4 */ lbz r0, 0x2b4(r23) /* 8022F474 0022C3D4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8022F478 0022C3D8 98 17 02 B4 */ stb r0, 0x2b4(r23) /* 8022F47C 0022C3DC C0 57 00 E8 */ lfs f2, 0xe8(r23) /* 8022F480 0022C3E0 D0 17 01 50 */ stfs f0, 0x150(r23) /* 8022F484 0022C3E4 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8022F488 0022C3E8 D0 17 01 54 */ stfs f0, 0x154(r23) /* 8022F48C 0022C3EC D0 37 01 58 */ stfs f1, 0x158(r23) /* 8022F490 0022C3F0 C0 5B 00 14 */ lfs f2, 0x14(r27) /* 8022F494 0022C3F4 C0 3B 00 24 */ lfs f1, 0x24(r27) /* 8022F498 0022C3F8 C0 1B 00 04 */ lfs f0, 4(r27) /* 8022F49C 0022C3FC EC 5E 00 B2 */ fmuls f2, f30, f2 /* 8022F4A0 0022C400 EC 3E 00 72 */ fmuls f1, f30, f1 /* 8022F4A4 0022C404 EC 1E 00 32 */ fmuls f0, f30, f0 /* 8022F4A8 0022C408 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 8022F4AC 0022C40C D0 01 00 28 */ stfs f0, 0x28(r1) /* 8022F4B0 0022C410 D0 21 00 30 */ stfs f1, 0x30(r1) /* 8022F4B4 0022C414 4B EE B7 ED */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f /* 8022F4B8 0022C418 80 77 02 A0 */ lwz r3, 0x2a0(r23) /* 8022F4BC 0022C41C 38 80 00 00 */ li r4, 0 /* 8022F4C0 0022C420 81 83 00 00 */ lwz r12, 0(r3) /* 8022F4C4 0022C424 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022F4C8 0022C428 7D 89 03 A6 */ mtctr r12 /* 8022F4CC 0022C42C 4E 80 04 21 */ bctrl /* 8022F4D0 0022C430 80 77 02 A4 */ lwz r3, 0x2a4(r23) /* 8022F4D4 0022C434 38 80 00 00 */ li r4, 0 /* 8022F4D8 0022C438 81 83 00 00 */ lwz r12, 0(r3) /* 8022F4DC 0022C43C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022F4E0 0022C440 7D 89 03 A6 */ mtctr r12 /* 8022F4E4 0022C444 4E 80 04 21 */ bctrl /* 8022F4E8 0022C448 80 77 02 A8 */ lwz r3, 0x2a8(r23) /* 8022F4EC 0022C44C 38 80 00 00 */ li r4, 0 /* 8022F4F0 0022C450 81 83 00 00 */ lwz r12, 0(r3) /* 8022F4F4 0022C454 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022F4F8 0022C458 7D 89 03 A6 */ mtctr r12 /* 8022F4FC 0022C45C 4E 80 04 21 */ bctrl /* 8022F500 0022C460 80 77 02 AC */ lwz r3, 0x2ac(r23) /* 8022F504 0022C464 38 80 00 01 */ li r4, 1 /* 8022F508 0022C468 81 83 00 00 */ lwz r12, 0(r3) /* 8022F50C 0022C46C 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8022F510 0022C470 7D 89 03 A6 */ mtctr r12 /* 8022F514 0022C474 4E 80 04 21 */ bctrl /* 8022F518 0022C478 7E E3 BB 78 */ mr r3, r23 /* 8022F51C 0022C47C 4B E2 43 A1 */ bl GetMaterialFilter__6CActorCFv /* 8022F520 0022C480 80 AD 95 C4 */ lwz r5, lbl_805A8184@sda21(r13) /* 8022F524 0022C484 38 80 00 01 */ li r4, 1 /* 8022F528 0022C488 82 C3 00 08 */ lwz r22, 8(r3) /* 8022F52C 0022C48C 83 03 00 0C */ lwz r24, 0xc(r3) /* 8022F530 0022C490 38 60 00 00 */ li r3, 0 /* 8022F534 0022C494 48 15 A9 C1 */ bl __shl2i /* 8022F538 0022C498 7E D6 1B 78 */ or r22, r22, r3 /* 8022F53C 0022C49C 7E E3 BB 78 */ mr r3, r23 /* 8022F540 0022C4A0 7F 18 23 78 */ or r24, r24, r4 /* 8022F544 0022C4A4 4B E2 43 79 */ bl GetMaterialFilter__6CActorCFv /* 8022F548 0022C4A8 80 A3 00 00 */ lwz r5, 0(r3) /* 8022F54C 0022C4AC 38 00 00 03 */ li r0, 3 /* 8022F550 0022C4B0 80 C3 00 04 */ lwz r6, 4(r3) /* 8022F554 0022C4B4 7E E3 BB 78 */ mr r3, r23 /* 8022F558 0022C4B8 38 81 00 38 */ addi r4, r1, 0x38 /* 8022F55C 0022C4BC 90 C1 00 3C */ stw r6, 0x3c(r1) /* 8022F560 0022C4C0 90 A1 00 38 */ stw r5, 0x38(r1) /* 8022F564 0022C4C4 93 01 00 44 */ stw r24, 0x44(r1) /* 8022F568 0022C4C8 92 C1 00 40 */ stw r22, 0x40(r1) /* 8022F56C 0022C4CC 90 01 00 48 */ stw r0, 0x48(r1) /* 8022F570 0022C4D0 4B E2 43 31 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter /* 8022F574 0022C4D4 7E E3 BB 78 */ mr r3, r23 /* 8022F578 0022C4D8 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 8022F57C 0022C4DC CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 8022F580 0022C4E0 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 8022F584 0022C4E4 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 8022F588 0022C4E8 BA C1 00 A8 */ lmw r22, 0xa8(r1) /* 8022F58C 0022C4EC 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8022F590 0022C4F0 7C 08 03 A6 */ mtlr r0 /* 8022F594 0022C4F4 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8022F598 0022C4F8 4E 80 00 20 */ blr .global sub_8022f59c sub_8022f59c: /* 8022F59C 0022C4FC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8022F5A0 0022C500 7C 08 02 A6 */ mflr r0 /* 8022F5A4 0022C504 3C 80 50 41 */ lis r4, 0x50415254@ha /* 8022F5A8 0022C508 90 01 00 44 */ stw r0, 0x44(r1) /* 8022F5AC 0022C50C 38 04 52 54 */ addi r0, r4, 0x50415254@l /* 8022F5B0 0022C510 38 A1 00 18 */ addi r5, r1, 0x18 /* 8022F5B4 0022C514 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8022F5B8 0022C518 93 C1 00 38 */ stw r30, 0x38(r1) /* 8022F5BC 0022C51C 90 61 00 1C */ stw r3, 0x1c(r1) /* 8022F5C0 0022C520 38 61 00 10 */ addi r3, r1, 0x10 /* 8022F5C4 0022C524 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8022F5C8 0022C528 90 01 00 18 */ stw r0, 0x18(r1) /* 8022F5CC 0022C52C 81 84 00 00 */ lwz r12, 0(r4) /* 8022F5D0 0022C530 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8022F5D4 0022C534 7D 89 03 A6 */ mtctr r12 /* 8022F5D8 0022C538 4E 80 04 21 */ bctrl /* 8022F5DC 0022C53C 3B E1 00 20 */ addi r31, r1, 0x20 /* 8022F5E0 0022C540 38 81 00 10 */ addi r4, r1, 0x10 /* 8022F5E4 0022C544 7F E3 FB 78 */ mr r3, r31 /* 8022F5E8 0022C548 48 11 18 C1 */ bl __ct__6CTokenFRC6CToken /* 8022F5EC 0022C54C 7F E3 FB 78 */ mr r3, r31 /* 8022F5F0 0022C550 48 11 18 1D */ bl GetObj__6CTokenFv /* 8022F5F4 0022C554 80 03 00 04 */ lwz r0, 4(r3) /* 8022F5F8 0022C558 38 61 00 10 */ addi r3, r1, 0x10 /* 8022F5FC 0022C55C 38 80 FF FF */ li r4, -1 /* 8022F600 0022C560 90 01 00 28 */ stw r0, 0x28(r1) /* 8022F604 0022C564 48 11 18 3D */ bl __dt__6CTokenFv /* 8022F608 0022C568 3C 60 80 3D */ lis r3, lbl_803D3408@ha /* 8022F60C 0022C56C 3B C0 00 00 */ li r30, 0 /* 8022F610 0022C570 38 83 34 08 */ addi r4, r3, lbl_803D3408@l /* 8022F614 0022C574 38 A0 00 00 */ li r5, 0 /* 8022F618 0022C578 38 60 03 40 */ li r3, 0x340 /* 8022F61C 0022C57C 48 0E 62 51 */ bl __nw__FUlPCcPCc /* 8022F620 0022C580 7C 7F 1B 79 */ or. r31, r3, r3 /* 8022F624 0022C584 41 82 00 2C */ beq lbl_8022F650 /* 8022F628 0022C588 38 61 00 08 */ addi r3, r1, 8 /* 8022F62C 0022C58C 38 81 00 20 */ addi r4, r1, 0x20 /* 8022F630 0022C590 48 11 18 79 */ bl __ct__6CTokenFRC6CToken /* 8022F634 0022C594 7F E3 FB 78 */ mr r3, r31 /* 8022F638 0022C598 38 81 00 08 */ addi r4, r1, 8 /* 8022F63C 0022C59C 3B C0 00 01 */ li r30, 1 /* 8022F640 0022C5A0 38 A0 00 00 */ li r5, 0 /* 8022F644 0022C5A4 38 C0 00 01 */ li r6, 1 /* 8022F648 0022C5A8 48 0E FD 99 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8022F64C 0022C5AC 7C 7F 1B 78 */ mr r31, r3 lbl_8022F650: /* 8022F650 0022C5B0 7F C0 07 75 */ extsb. r0, r30 /* 8022F654 0022C5B4 41 82 00 10 */ beq lbl_8022F664 /* 8022F658 0022C5B8 38 61 00 08 */ addi r3, r1, 8 /* 8022F65C 0022C5BC 38 80 00 00 */ li r4, 0 /* 8022F660 0022C5C0 48 11 17 E1 */ bl __dt__6CTokenFv lbl_8022F664: /* 8022F664 0022C5C4 38 61 00 20 */ addi r3, r1, 0x20 /* 8022F668 0022C5C8 38 80 00 00 */ li r4, 0 /* 8022F66C 0022C5CC 48 11 17 D5 */ bl __dt__6CTokenFv /* 8022F670 0022C5D0 80 01 00 44 */ lwz r0, 0x44(r1) /* 8022F674 0022C5D4 7F E3 FB 78 */ mr r3, r31 /* 8022F678 0022C5D8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8022F67C 0022C5DC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8022F680 0022C5E0 7C 08 03 A6 */ mtlr r0 /* 8022F684 0022C5E4 38 21 00 40 */ addi r1, r1, 0x40 /* 8022F688 0022C5E8 4E 80 00 20 */ blr .global HealthInfo__16CGrenadeLauncherFR13CStateManager HealthInfo__16CGrenadeLauncherFR13CStateManager: /* 8022F68C 0022C5EC 38 63 02 5C */ addi r3, r3, 0x25c /* 8022F690 0022C5F0 4E 80 00 20 */ blr .global GetDamageVulnerability__16CGrenadeLauncherCFv GetDamageVulnerability__16CGrenadeLauncherCFv: /* 8022F694 0022C5F4 38 63 02 64 */ addi r3, r3, 0x264 /* 8022F698 0022C5F8 4E 80 00 20 */ blr .global sub_8022f69c sub_8022f69c: /* 8022F69C 0022C5FC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022F6A0 0022C600 7C 08 02 A6 */ mflr r0 /* 8022F6A4 0022C604 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022F6A8 0022C608 90 01 00 24 */ stw r0, 0x24(r1) /* 8022F6AC 0022C60C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8022F6B0 0022C610 93 C1 00 18 */ stw r30, 0x18(r1) /* 8022F6B4 0022C614 7C 7E 1B 78 */ mr r30, r3 /* 8022F6B8 0022C618 C0 43 03 EC */ lfs f2, 0x3ec(r3) /* 8022F6BC 0022C61C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8022F6C0 0022C620 40 81 00 90 */ ble lbl_8022F750 /* 8022F6C4 0022C624 EC 02 08 28 */ fsubs f0, f2, f1 /* 8022F6C8 0022C628 38 81 00 14 */ addi r4, r1, 0x14 /* 8022F6CC 0022C62C 38 6D 96 18 */ addi r3, r13, lbl_805A81D8@sda21 /* 8022F6D0 0022C630 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022F6D4 0022C634 4B E2 00 5D */ bl "Max__5CMathFRCfRCf" /* 8022F6D8 0022C638 C0 23 00 00 */ lfs f1, 0(r3) /* 8022F6DC 0022C63C 38 81 00 08 */ addi r4, r1, 8 /* 8022F6E0 0022C640 C0 02 B6 68 */ lfs f0, lbl_805AD388@sda21(r2) /* 8022F6E4 0022C644 38 6D 96 1C */ addi r3, r13, lbl_805A81DC@sda21 /* 8022F6E8 0022C648 D0 3E 03 EC */ stfs f1, 0x3ec(r30) /* 8022F6EC 0022C64C 38 AD 96 20 */ addi r5, r13, lbl_805A81E0@sda21 /* 8022F6F0 0022C650 C0 3E 03 EC */ lfs f1, 0x3ec(r30) /* 8022F6F4 0022C654 EC 01 00 24 */ fdivs f0, f1, f0 /* 8022F6F8 0022C658 D0 01 00 08 */ stfs f0, 8(r1) /* 8022F6FC 0022C65C 4B DD CB B9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022F700 0022C660 C0 22 B6 64 */ lfs f1, lbl_805AD384@sda21(r2) /* 8022F704 0022C664 7C 7F 1B 78 */ mr r31, r3 /* 8022F708 0022C668 C0 82 B6 6C */ lfs f4, lbl_805AD38C@sda21(r2) /* 8022F70C 0022C66C 38 61 00 0C */ addi r3, r1, 0xc /* 8022F710 0022C670 FC 40 08 90 */ fmr f2, f1 /* 8022F714 0022C674 FC 60 08 90 */ fmr f3, f1 /* 8022F718 0022C678 48 13 3C D5 */ bl __ct__6CColorFffff /* 8022F71C 0022C67C C0 3F 00 00 */ lfs f1, 0(r31) /* 8022F720 0022C680 7C 64 1B 78 */ mr r4, r3 /* 8022F724 0022C684 38 61 00 10 */ addi r3, r1, 0x10 /* 8022F728 0022C688 38 BE 03 F0 */ addi r5, r30, 0x3f0 /* 8022F72C 0022C68C 48 13 3B 81 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8022F730 0022C690 80 01 00 10 */ lwz r0, 0x10(r1) /* 8022F734 0022C694 C0 42 B6 70 */ lfs f2, lbl_805AD390@sda21(r2) /* 8022F738 0022C698 90 1E 03 F4 */ stw r0, 0x3f4(r30) /* 8022F73C 0022C69C C0 3E 03 EC */ lfs f1, 0x3ec(r30) /* 8022F740 0022C6A0 C0 1E 03 E8 */ lfs f0, 0x3e8(r30) /* 8022F744 0022C6A4 EC 02 00 7A */ fmadds f0, f2, f1, f0 /* 8022F748 0022C6A8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) /* 8022F74C 0022C6AC 48 00 00 0C */ b lbl_8022F758 lbl_8022F750: /* 8022F750 0022C6B0 C0 1E 03 E8 */ lfs f0, 0x3e8(r30) /* 8022F754 0022C6B4 D0 1E 00 D0 */ stfs f0, 0xd0(r30) lbl_8022F758: /* 8022F758 0022C6B8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022F75C 0022C6BC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022F760 0022C6C0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8022F764 0022C6C4 7C 08 03 A6 */ mtlr r0 /* 8022F768 0022C6C8 38 21 00 20 */ addi r1, r1, 0x20 /* 8022F76C 0022C6CC 4E 80 00 20 */ blr .global sub_8022f770 sub_8022f770: /* 8022F770 0022C6D0 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8022F774 0022C6D4 7C 08 02 A6 */ mflr r0 /* 8022F778 0022C6D8 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8022F77C 0022C6DC BF 61 00 AC */ stmw r27, 0xac(r1) /* 8022F780 0022C6E0 7C 7E 1B 78 */ mr r30, r3 /* 8022F784 0022C6E4 7C 9F 23 78 */ mr r31, r4 /* 8022F788 0022C6E8 88 03 03 C4 */ lbz r0, 0x3c4(r3) /* 8022F78C 0022C6EC 28 00 00 00 */ cmplwi r0, 0 /* 8022F790 0022C6F0 41 82 01 78 */ beq lbl_8022F908 /* 8022F794 0022C6F4 38 61 00 6C */ addi r3, r1, 0x6c /* 8022F798 0022C6F8 38 9E 00 34 */ addi r4, r30, 0x34 /* 8022F79C 0022C6FC 48 0E 33 D9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022F7A0 0022C700 3C 60 80 3D */ lis r3, lbl_803D3410@ha /* 8022F7A4 0022C704 3B 80 00 00 */ li r28, 0 /* 8022F7A8 0022C708 38 63 34 10 */ addi r3, r3, lbl_803D3410@l /* 8022F7AC 0022C70C 3B 60 00 00 */ li r27, 0 /* 8022F7B0 0022C710 38 83 00 20 */ addi r4, r3, 0x20 /* 8022F7B4 0022C714 38 60 01 00 */ li r3, 0x100 /* 8022F7B8 0022C718 38 A0 00 00 */ li r5, 0 /* 8022F7BC 0022C71C 48 0E 60 B1 */ bl __nw__FUlPCcPCc /* 8022F7C0 0022C720 7C 7D 1B 79 */ or. r29, r3, r3 /* 8022F7C4 0022C724 41 82 00 B4 */ beq lbl_8022F878 /* 8022F7C8 0022C728 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8022F7CC 0022C72C 3C 60 80 3D */ lis r3, lbl_803D3410@ha /* 8022F7D0 0022C730 38 83 34 10 */ addi r4, r3, lbl_803D3410@l /* 8022F7D4 0022C734 38 61 00 38 */ addi r3, r1, 0x38 /* 8022F7D8 0022C738 C0 05 00 00 */ lfs f0, 0(r5) /* 8022F7DC 0022C73C 38 84 00 27 */ addi r4, r4, 0x27 /* 8022F7E0 0022C740 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8022F7E4 0022C744 C0 05 00 04 */ lfs f0, 4(r5) /* 8022F7E8 0022C748 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 8022F7EC 0022C74C C0 05 00 08 */ lfs f0, 8(r5) /* 8022F7F0 0022C750 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8022F7F4 0022C754 4B DD 54 C5 */ bl string_l__4rstlFPCc /* 8022F7F8 0022C758 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 8022F7FC 0022C75C 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 8022F800 0022C760 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 8022F804 0022C764 38 81 00 30 */ addi r4, r1, 0x30 /* 8022F808 0022C768 90 01 00 34 */ stw r0, 0x34(r1) /* 8022F80C 0022C76C 38 61 00 54 */ addi r3, r1, 0x54 /* 8022F810 0022C770 38 C1 00 34 */ addi r6, r1, 0x34 /* 8022F814 0022C774 3B 80 00 01 */ li r28, 1 /* 8022F818 0022C778 80 1E 00 04 */ lwz r0, 4(r30) /* 8022F81C 0022C77C 90 01 00 2C */ stw r0, 0x2c(r1) /* 8022F820 0022C780 90 01 00 30 */ stw r0, 0x30(r1) /* 8022F824 0022C784 4B E2 1C 61 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 8022F828 0022C788 7F E4 FB 78 */ mr r4, r31 /* 8022F82C 0022C78C 38 61 00 10 */ addi r3, r1, 0x10 /* 8022F830 0022C790 3B 60 00 01 */ li r27, 1 /* 8022F834 0022C794 4B E1 D8 A9 */ bl AllocateUniqueId__13CStateManagerFv /* 8022F838 0022C798 A0 01 00 10 */ lhz r0, 0x10(r1) /* 8022F83C 0022C79C B0 01 00 14 */ sth r0, 0x14(r1) /* 8022F840 0022C7A0 48 11 A7 6D */ bl White__6CColorFv /* 8022F844 0022C7A4 38 01 00 48 */ addi r0, r1, 0x48 /* 8022F848 0022C7A8 38 9E 03 B8 */ addi r4, r30, 0x3b8 /* 8022F84C 0022C7AC 90 01 00 08 */ stw r0, 8(r1) /* 8022F850 0022C7B0 38 A1 00 14 */ addi r5, r1, 0x14 /* 8022F854 0022C7B4 38 E1 00 54 */ addi r7, r1, 0x54 /* 8022F858 0022C7B8 39 01 00 38 */ addi r8, r1, 0x38 /* 8022F85C 0022C7BC 90 61 00 0C */ stw r3, 0xc(r1) /* 8022F860 0022C7C0 7F A3 EB 78 */ mr r3, r29 /* 8022F864 0022C7C4 39 21 00 6C */ addi r9, r1, 0x6c /* 8022F868 0022C7C8 38 C0 00 01 */ li r6, 1 /* 8022F86C 0022C7CC 39 40 00 00 */ li r10, 0 /* 8022F870 0022C7D0 4B E2 B2 89 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" /* 8022F874 0022C7D4 7C 7D 1B 78 */ mr r29, r3 lbl_8022F878: /* 8022F878 0022C7D8 7F 60 07 75 */ extsb. r0, r27 /* 8022F87C 0022C7DC 41 82 00 44 */ beq lbl_8022F8C0 /* 8022F880 0022C7E0 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8022F884 0022C7E4 80 61 00 64 */ lwz r3, 0x64(r1) /* 8022F888 0022C7E8 1C 00 00 0C */ mulli r0, r0, 0xc /* 8022F88C 0022C7EC 90 61 00 1C */ stw r3, 0x1c(r1) /* 8022F890 0022C7F0 7C 64 1B 78 */ mr r4, r3 /* 8022F894 0022C7F4 7C 03 02 14 */ add r0, r3, r0 /* 8022F898 0022C7F8 90 61 00 18 */ stw r3, 0x18(r1) /* 8022F89C 0022C7FC 90 01 00 24 */ stw r0, 0x24(r1) /* 8022F8A0 0022C800 90 01 00 20 */ stw r0, 0x20(r1) /* 8022F8A4 0022C804 48 00 00 08 */ b lbl_8022F8AC lbl_8022F8A8: /* 8022F8A8 0022C808 38 84 00 0C */ addi r4, r4, 0xc lbl_8022F8AC: /* 8022F8AC 0022C80C 7C 04 00 40 */ cmplw r4, r0 /* 8022F8B0 0022C810 40 82 FF F8 */ bne lbl_8022F8A8 /* 8022F8B4 0022C814 28 03 00 00 */ cmplwi r3, 0 /* 8022F8B8 0022C818 41 82 00 08 */ beq lbl_8022F8C0 /* 8022F8BC 0022C81C 48 0E 60 75 */ bl Free__7CMemoryFPCv lbl_8022F8C0: /* 8022F8C0 0022C820 7F 80 07 75 */ extsb. r0, r28 /* 8022F8C4 0022C824 41 82 00 0C */ beq lbl_8022F8D0 /* 8022F8C8 0022C828 38 61 00 38 */ addi r3, r1, 0x38 /* 8022F8CC 0022C82C 48 10 E2 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8022F8D0: /* 8022F8D0 0022C830 28 1D 00 00 */ cmplwi r29, 0 /* 8022F8D4 0022C834 41 82 00 34 */ beq lbl_8022F908 /* 8022F8D8 0022C838 7F E3 FB 78 */ mr r3, r31 /* 8022F8DC 0022C83C 7F A4 EB 78 */ mr r4, r29 /* 8022F8E0 0022C840 4B E1 D4 15 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 8022F8E4 0022C844 A0 9E 03 14 */ lhz r4, 0x314(r30) /* 8022F8E8 0022C848 38 61 00 28 */ addi r3, r1, 0x28 /* 8022F8EC 0022C84C 88 A2 CC 40 */ lbz r5, lbl_805AE960@sda21(r2) /* 8022F8F0 0022C850 38 C0 00 40 */ li r6, 0x40 /* 8022F8F4 0022C854 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8022F8F8 0022C858 38 E0 00 00 */ li r7, 0 /* 8022F8FC 0022C85C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8022F900 0022C860 39 20 00 00 */ li r9, 0 /* 8022F904 0022C864 48 0B A4 71 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8022F908: /* 8022F908 0022C868 BB 61 00 AC */ lmw r27, 0xac(r1) /* 8022F90C 0022C86C 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8022F910 0022C870 7C 08 03 A6 */ mtlr r0 /* 8022F914 0022C874 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8022F918 0022C878 4E 80 00 20 */ blr .global sub_8022f91c sub_8022f91c: /* 8022F91C 0022C87C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8022F920 0022C880 7C 08 02 A6 */ mflr r0 /* 8022F924 0022C884 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022F928 0022C888 90 01 00 24 */ stw r0, 0x24(r1) /* 8022F92C 0022C88C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8022F930 0022C890 93 C1 00 18 */ stw r30, 0x18(r1) /* 8022F934 0022C894 7C 7E 1B 78 */ mr r30, r3 /* 8022F938 0022C898 C0 43 03 48 */ lfs f2, 0x348(r3) /* 8022F93C 0022C89C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8022F940 0022C8A0 40 81 00 88 */ ble lbl_8022F9C8 /* 8022F944 0022C8A4 EC 02 08 28 */ fsubs f0, f2, f1 /* 8022F948 0022C8A8 38 81 00 14 */ addi r4, r1, 0x14 /* 8022F94C 0022C8AC 38 6D 96 14 */ addi r3, r13, lbl_805A81D4@sda21 /* 8022F950 0022C8B0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022F954 0022C8B4 4B E1 FD DD */ bl "Max__5CMathFRCfRCf" /* 8022F958 0022C8B8 C0 22 B6 6C */ lfs f1, lbl_805AD38C@sda21(r2) /* 8022F95C 0022C8BC C0 03 00 00 */ lfs f0, 0(r3) /* 8022F960 0022C8C0 38 61 00 08 */ addi r3, r1, 8 /* 8022F964 0022C8C4 C0 42 B6 64 */ lfs f2, lbl_805AD384@sda21(r2) /* 8022F968 0022C8C8 FC 80 08 90 */ fmr f4, f1 /* 8022F96C 0022C8CC D0 1E 03 48 */ stfs f0, 0x348(r30) /* 8022F970 0022C8D0 FC 60 10 90 */ fmr f3, f2 /* 8022F974 0022C8D4 48 13 3A 79 */ bl __ct__6CColorFffff /* 8022F978 0022C8D8 C0 22 B6 6C */ lfs f1, lbl_805AD38C@sda21(r2) /* 8022F97C 0022C8DC 7C 7F 1B 78 */ mr r31, r3 /* 8022F980 0022C8E0 38 61 00 0C */ addi r3, r1, 0xc /* 8022F984 0022C8E4 FC 40 08 90 */ fmr f2, f1 /* 8022F988 0022C8E8 FC 60 08 90 */ fmr f3, f1 /* 8022F98C 0022C8EC FC 80 08 90 */ fmr f4, f1 /* 8022F990 0022C8F0 48 13 3A 5D */ bl __ct__6CColorFffff /* 8022F994 0022C8F4 C0 3E 03 48 */ lfs f1, 0x348(r30) /* 8022F998 0022C8F8 7C 64 1B 78 */ mr r4, r3 /* 8022F99C 0022C8FC 7F E5 FB 78 */ mr r5, r31 /* 8022F9A0 0022C900 38 61 00 10 */ addi r3, r1, 0x10 /* 8022F9A4 0022C904 48 13 39 09 */ bl Lerp__6CColorFRC6CColorRC6CColorf /* 8022F9A8 0022C908 88 81 00 12 */ lbz r4, 0x12(r1) /* 8022F9AC 0022C90C 38 00 00 FF */ li r0, 0xff /* 8022F9B0 0022C910 88 A1 00 11 */ lbz r5, 0x11(r1) /* 8022F9B4 0022C914 88 61 00 10 */ lbz r3, 0x10(r1) /* 8022F9B8 0022C918 98 7E 03 4C */ stb r3, 0x34c(r30) /* 8022F9BC 0022C91C 98 BE 03 4D */ stb r5, 0x34d(r30) /* 8022F9C0 0022C920 98 9E 03 4E */ stb r4, 0x34e(r30) /* 8022F9C4 0022C924 98 1E 03 4F */ stb r0, 0x34f(r30) lbl_8022F9C8: /* 8022F9C8 0022C928 80 01 00 24 */ lwz r0, 0x24(r1) /* 8022F9CC 0022C92C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8022F9D0 0022C930 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8022F9D4 0022C934 7C 08 03 A6 */ mtlr r0 /* 8022F9D8 0022C938 38 21 00 20 */ addi r1, r1, 0x20 /* 8022F9DC 0022C93C 4E 80 00 20 */ blr .global sub_8022f9e0 sub_8022f9e0: /* 8022F9E0 0022C940 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8022F9E4 0022C944 7C 08 02 A6 */ mflr r0 /* 8022F9E8 0022C948 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8022F9EC 0022C94C DB E1 00 90 */ stfd f31, 0x90(r1) /* 8022F9F0 0022C950 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8022F9F4 0022C954 DB C1 00 80 */ stfd f30, 0x80(r1) /* 8022F9F8 0022C958 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 8022F9FC 0022C95C DB A1 00 70 */ stfd f29, 0x70(r1) /* 8022FA00 0022C960 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 /* 8022FA04 0022C964 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8022FA08 0022C968 93 C1 00 68 */ stw r30, 0x68(r1) /* 8022FA0C 0022C96C 7C 7F 1B 78 */ mr r31, r3 /* 8022FA10 0022C970 FF C0 08 90 */ fmr f30, f1 /* 8022FA14 0022C974 80 C3 00 64 */ lwz r6, 0x64(r3) /* 8022FA18 0022C978 7C 85 23 78 */ mr r5, r4 /* 8022FA1C 0022C97C 38 60 00 00 */ li r3, 0 /* 8022FA20 0022C980 28 06 00 00 */ cmplwi r6, 0 /* 8022FA24 0022C984 41 82 00 14 */ beq lbl_8022FA38 /* 8022FA28 0022C988 80 06 00 10 */ lwz r0, 0x10(r6) /* 8022FA2C 0022C98C 28 00 00 00 */ cmplwi r0, 0 /* 8022FA30 0022C990 41 82 00 08 */ beq lbl_8022FA38 /* 8022FA34 0022C994 38 60 00 01 */ li r3, 1 lbl_8022FA38: /* 8022FA38 0022C998 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022FA3C 0022C99C 41 82 03 98 */ beq lbl_8022FDD4 /* 8022FA40 0022C9A0 80 1F 02 58 */ lwz r0, 0x258(r31) /* 8022FA44 0022C9A4 2C 00 00 01 */ cmpwi r0, 1 /* 8022FA48 0022C9A8 40 82 03 8C */ bne lbl_8022FDD4 /* 8022FA4C 0022C9AC 88 1F 03 FE */ lbz r0, 0x3fe(r31) /* 8022FA50 0022C9B0 28 00 00 00 */ cmplwi r0, 0 /* 8022FA54 0022C9B4 41 82 03 80 */ beq lbl_8022FDD4 /* 8022FA58 0022C9B8 80 85 08 4C */ lwz r4, 0x84c(r5) /* 8022FA5C 0022C9BC 38 61 00 44 */ addi r3, r1, 0x44 /* 8022FA60 0022C9C0 C0 22 B6 64 */ lfs f1, lbl_805AD384@sda21(r2) /* 8022FA64 0022C9C4 81 84 00 00 */ lwz r12, 0(r4) /* 8022FA68 0022C9C8 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8022FA6C 0022C9CC 7D 89 03 A6 */ mtctr r12 /* 8022FA70 0022C9D0 4E 80 04 21 */ bctrl /* 8022FA74 0022C9D4 C0 9F 00 60 */ lfs f4, 0x60(r31) /* 8022FA78 0022C9D8 38 9F 00 34 */ addi r4, r31, 0x34 /* 8022FA7C 0022C9DC C0 3F 00 60 */ lfs f1, 0x60(r31) /* 8022FA80 0022C9E0 38 61 00 2C */ addi r3, r1, 0x2c /* 8022FA84 0022C9E4 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 8022FA88 0022C9E8 38 A1 00 20 */ addi r5, r1, 0x20 /* 8022FA8C 0022C9EC C0 1F 00 50 */ lfs f0, 0x50(r31) /* 8022FA90 0022C9F0 EC C4 08 28 */ fsubs f6, f4, f1 /* 8022FA94 0022C9F4 C0 21 00 44 */ lfs f1, 0x44(r1) /* 8022FA98 0022C9F8 EC A5 00 28 */ fsubs f5, f5, f0 /* 8022FA9C 0022C9FC C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8022FAA0 0022CA00 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 8022FAA4 0022CA04 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 8022FAA8 0022CA08 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022FAAC 0022CA0C D0 61 00 3C */ stfs f3, 0x3c(r1) /* 8022FAB0 0022CA10 D0 41 00 38 */ stfs f2, 0x38(r1) /* 8022FAB4 0022CA14 D0 81 00 40 */ stfs f4, 0x40(r1) /* 8022FAB8 0022CA18 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8022FABC 0022CA1C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 8022FAC0 0022CA20 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 8022FAC4 0022CA24 48 0E 2F 61 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8022FAC8 0022CA28 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 8022FACC 0022CA2C 38 61 00 50 */ addi r3, r1, 0x50 /* 8022FAD0 0022CA30 C0 21 00 30 */ lfs f1, 0x30(r1) /* 8022FAD4 0022CA34 C0 01 00 34 */ lfs f0, 0x34(r1) /* 8022FAD8 0022CA38 D0 41 00 50 */ stfs f2, 0x50(r1) /* 8022FADC 0022CA3C D0 21 00 54 */ stfs f1, 0x54(r1) /* 8022FAE0 0022CA40 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8022FAE4 0022CA44 48 0E 4C 15 */ bl CanBeNormalized__9CVector3fCFv /* 8022FAE8 0022CA48 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022FAEC 0022CA4C 41 82 03 6C */ beq lbl_8022FE58 /* 8022FAF0 0022CA50 C0 21 00 50 */ lfs f1, 0x50(r1) /* 8022FAF4 0022CA54 C0 41 00 54 */ lfs f2, 0x54(r1) /* 8022FAF8 0022CA58 48 16 51 75 */ bl atan2 /* 8022FAFC 0022CA5C FC 00 08 18 */ frsp f0, f1 /* 8022FB00 0022CA60 38 81 00 1C */ addi r4, r1, 0x1c /* 8022FB04 0022CA64 38 6D 95 F4 */ addi r3, r13, lbl_805A81B4@sda21 /* 8022FB08 0022CA68 38 A2 B6 74 */ addi r5, r2, lbl_805AD394@sda21 /* 8022FB0C 0022CA6C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8022FB10 0022CA70 4B DD C7 A5 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FB14 0022CA74 C0 23 00 00 */ lfs f1, 0(r3) /* 8022FB18 0022CA78 38 81 00 18 */ addi r4, r1, 0x18 /* 8022FB1C 0022CA7C C0 02 B6 80 */ lfs f0, lbl_805AD3A0@sda21(r2) /* 8022FB20 0022CA80 38 6D 95 F8 */ addi r3, r13, lbl_805A81B8@sda21 /* 8022FB24 0022CA84 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8022FB28 0022CA88 38 A2 B6 78 */ addi r5, r2, lbl_805AD398@sda21 /* 8022FB2C 0022CA8C EC 40 00 72 */ fmuls f2, f0, f1 /* 8022FB30 0022CA90 C0 22 B6 84 */ lfs f1, lbl_805AD3A4@sda21(r2) /* 8022FB34 0022CA94 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 8022FB38 0022CA98 C0 1F 03 D8 */ lfs f0, 0x3d8(r31) /* 8022FB3C 0022CA9C EC 02 00 28 */ fsubs f0, f2, f0 /* 8022FB40 0022CAA0 EC 01 00 32 */ fmuls f0, f1, f0 /* 8022FB44 0022CAA4 EC 00 F0 24 */ fdivs f0, f0, f30 /* 8022FB48 0022CAA8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8022FB4C 0022CAAC 4B DD C7 69 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FB50 0022CAB0 C0 23 00 00 */ lfs f1, 0(r3) /* 8022FB54 0022CAB4 38 81 00 14 */ addi r4, r1, 0x14 /* 8022FB58 0022CAB8 38 6D 95 FC */ addi r3, r13, lbl_805A81BC@sda21 /* 8022FB5C 0022CABC 38 A2 B6 7C */ addi r5, r2, lbl_805AD39C@sda21 /* 8022FB60 0022CAC0 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8022FB64 0022CAC4 C0 1F 03 DC */ lfs f0, 0x3dc(r31) /* 8022FB68 0022CAC8 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022FB6C 0022CACC EC 00 F0 24 */ fdivs f0, f0, f30 /* 8022FB70 0022CAD0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022FB74 0022CAD4 4B DD C7 41 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FB78 0022CAD8 C0 23 00 00 */ lfs f1, 0(r3) /* 8022FB7C 0022CADC C0 1F 03 DC */ lfs f0, 0x3dc(r31) /* 8022FB80 0022CAE0 EC 1E 00 7A */ fmadds f0, f30, f1, f0 /* 8022FB84 0022CAE4 D0 1F 03 DC */ stfs f0, 0x3dc(r31) /* 8022FB88 0022CAE8 C0 21 00 54 */ lfs f1, 0x54(r1) /* 8022FB8C 0022CAEC C0 01 00 50 */ lfs f0, 0x50(r1) /* 8022FB90 0022CAF0 EC 21 00 72 */ fmuls f1, f1, f1 /* 8022FB94 0022CAF4 EC 00 00 32 */ fmuls f0, f0, f0 /* 8022FB98 0022CAF8 EC 21 00 2A */ fadds f1, f1, f0 /* 8022FB9C 0022CAFC 48 0E 59 65 */ bl SqrtF__5CMathFf /* 8022FBA0 0022CB00 FC 40 08 90 */ fmr f2, f1 /* 8022FBA4 0022CB04 C0 21 00 58 */ lfs f1, 0x58(r1) /* 8022FBA8 0022CB08 48 16 50 C5 */ bl atan2 /* 8022FBAC 0022CB0C FC 00 08 18 */ frsp f0, f1 /* 8022FBB0 0022CB10 38 81 00 10 */ addi r4, r1, 0x10 /* 8022FBB4 0022CB14 38 6D 96 00 */ addi r3, r13, lbl_805A81C0@sda21 /* 8022FBB8 0022CB18 38 A2 B6 74 */ addi r5, r2, lbl_805AD394@sda21 /* 8022FBBC 0022CB1C D0 01 00 10 */ stfs f0, 0x10(r1) /* 8022FBC0 0022CB20 4B DD C6 F5 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FBC4 0022CB24 C0 23 00 00 */ lfs f1, 0(r3) /* 8022FBC8 0022CB28 38 81 00 18 */ addi r4, r1, 0x18 /* 8022FBCC 0022CB2C C0 02 B6 80 */ lfs f0, lbl_805AD3A0@sda21(r2) /* 8022FBD0 0022CB30 38 6D 96 04 */ addi r3, r13, lbl_805A81C4@sda21 /* 8022FBD4 0022CB34 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8022FBD8 0022CB38 38 A2 B6 78 */ addi r5, r2, lbl_805AD398@sda21 /* 8022FBDC 0022CB3C EC 40 00 72 */ fmuls f2, f0, f1 /* 8022FBE0 0022CB40 C0 22 B6 84 */ lfs f1, lbl_805AD3A4@sda21(r2) /* 8022FBE4 0022CB44 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8022FBE8 0022CB48 C0 1F 03 E0 */ lfs f0, 0x3e0(r31) /* 8022FBEC 0022CB4C EC 02 00 28 */ fsubs f0, f2, f0 /* 8022FBF0 0022CB50 EC 01 00 32 */ fmuls f0, f1, f0 /* 8022FBF4 0022CB54 EC 00 F0 24 */ fdivs f0, f0, f30 /* 8022FBF8 0022CB58 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8022FBFC 0022CB5C 4B DD C6 B9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FC00 0022CB60 C0 23 00 00 */ lfs f1, 0(r3) /* 8022FC04 0022CB64 38 81 00 14 */ addi r4, r1, 0x14 /* 8022FC08 0022CB68 38 6D 96 08 */ addi r3, r13, lbl_805A81C8@sda21 /* 8022FC0C 0022CB6C 38 A2 B6 7C */ addi r5, r2, lbl_805AD39C@sda21 /* 8022FC10 0022CB70 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8022FC14 0022CB74 C0 1F 03 E4 */ lfs f0, 0x3e4(r31) /* 8022FC18 0022CB78 EC 01 00 28 */ fsubs f0, f1, f0 /* 8022FC1C 0022CB7C EC 00 F0 24 */ fdivs f0, f0, f30 /* 8022FC20 0022CB80 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8022FC24 0022CB84 4B DD C6 91 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FC28 0022CB88 C0 23 00 00 */ lfs f1, 0(r3) /* 8022FC2C 0022CB8C 38 81 00 0C */ addi r4, r1, 0xc /* 8022FC30 0022CB90 C0 1F 03 E4 */ lfs f0, 0x3e4(r31) /* 8022FC34 0022CB94 38 6D 96 0C */ addi r3, r13, lbl_805A81CC@sda21 /* 8022FC38 0022CB98 38 A2 B6 60 */ addi r5, r2, lbl_805AD380@sda21 /* 8022FC3C 0022CB9C EC 1E 00 7A */ fmadds f0, f30, f1, f0 /* 8022FC40 0022CBA0 D0 1F 03 E4 */ stfs f0, 0x3e4(r31) /* 8022FC44 0022CBA4 C0 3F 03 DC */ lfs f1, 0x3dc(r31) /* 8022FC48 0022CBA8 C0 1F 03 D8 */ lfs f0, 0x3d8(r31) /* 8022FC4C 0022CBAC EC 1E 00 7A */ fmadds f0, f30, f1, f0 /* 8022FC50 0022CBB0 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8022FC54 0022CBB4 4B DD C6 61 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FC58 0022CBB8 C0 3F 03 E4 */ lfs f1, 0x3e4(r31) /* 8022FC5C 0022CBBC 38 81 00 08 */ addi r4, r1, 8 /* 8022FC60 0022CBC0 C0 1F 03 E0 */ lfs f0, 0x3e0(r31) /* 8022FC64 0022CBC4 38 A2 B6 60 */ addi r5, r2, lbl_805AD380@sda21 /* 8022FC68 0022CBC8 C3 E3 00 00 */ lfs f31, 0(r3) /* 8022FC6C 0022CBCC 38 6D 96 10 */ addi r3, r13, lbl_805A81D0@sda21 /* 8022FC70 0022CBD0 EC 1E 00 7A */ fmadds f0, f30, f1, f0 /* 8022FC74 0022CBD4 D0 01 00 08 */ stfs f0, 8(r1) /* 8022FC78 0022CBD8 4B DD C6 3D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8022FC7C 0022CBDC C0 5F 03 D8 */ lfs f2, 0x3d8(r31) /* 8022FC80 0022CBE0 80 9F 00 64 */ lwz r4, 0x64(r31) /* 8022FC84 0022CBE4 FC 1F 10 00 */ fcmpu cr0, f31, f2 /* 8022FC88 0022CBE8 C3 A3 00 00 */ lfs f29, 0(r3) /* 8022FC8C 0022CBEC 83 C4 00 10 */ lwz r30, 0x10(r4) /* 8022FC90 0022CBF0 41 82 00 98 */ beq lbl_8022FD28 /* 8022FC94 0022CBF4 FC 00 12 10 */ fabs f0, f2 /* 8022FC98 0022CBF8 C0 22 B6 64 */ lfs f1, lbl_805AD384@sda21(r2) /* 8022FC9C 0022CBFC FC 60 FA 10 */ fabs f3, f31 /* 8022FCA0 0022CC00 FC 00 00 18 */ frsp f0, f0 /* 8022FCA4 0022CC04 FF C0 18 18 */ frsp f30, f3 /* 8022FCA8 0022CC08 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022FCAC 0022CC0C 40 81 00 3C */ ble lbl_8022FCE8 /* 8022FCB0 0022CC10 EC 02 07 F2 */ fmuls f0, f2, f31 /* 8022FCB4 0022CC14 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022FCB8 0022CC18 4C 40 13 82 */ cror 2, 0, 2 /* 8022FCBC 0022CC1C 40 82 00 2C */ bne lbl_8022FCE8 /* 8022FCC0 0022CC20 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8022FCC4 0022CC24 7F C3 F3 78 */ mr r3, r30 /* 8022FCC8 0022CC28 40 80 00 0C */ bge lbl_8022FCD4 /* 8022FCCC 0022CC2C 38 00 00 00 */ li r0, 0 /* 8022FCD0 0022CC30 48 00 00 08 */ b lbl_8022FCD8 lbl_8022FCD4: /* 8022FCD4 0022CC34 38 00 00 01 */ li r0, 1 lbl_8022FCD8: /* 8022FCD8 0022CC38 54 00 10 3A */ slwi r0, r0, 2 /* 8022FCDC 0022CC3C 7C 9F 02 14 */ add r4, r31, r0 /* 8022FCE0 0022CC40 80 84 03 C8 */ lwz r4, 0x3c8(r4) /* 8022FCE4 0022CC44 4B DF A4 75 */ bl DelAdditiveAnimation__9CAnimDataFUi lbl_8022FCE8: /* 8022FCE8 0022CC48 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FCEC 0022CC4C FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 8022FCF0 0022CC50 40 81 00 38 */ ble lbl_8022FD28 /* 8022FCF4 0022CC54 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8022FCF8 0022CC58 7F C3 F3 78 */ mr r3, r30 /* 8022FCFC 0022CC5C 40 80 00 0C */ bge lbl_8022FD08 /* 8022FD00 0022CC60 38 00 00 00 */ li r0, 0 /* 8022FD04 0022CC64 48 00 00 08 */ b lbl_8022FD0C lbl_8022FD08: /* 8022FD08 0022CC68 38 00 00 01 */ li r0, 1 lbl_8022FD0C: /* 8022FD0C 0022CC6C 54 00 10 3A */ slwi r0, r0, 2 /* 8022FD10 0022CC70 FC 20 F0 90 */ fmr f1, f30 /* 8022FD14 0022CC74 7C 9F 02 14 */ add r4, r31, r0 /* 8022FD18 0022CC78 38 A0 00 00 */ li r5, 0 /* 8022FD1C 0022CC7C 80 84 03 C8 */ lwz r4, 0x3c8(r4) /* 8022FD20 0022CC80 38 C0 00 00 */ li r6, 0 /* 8022FD24 0022CC84 4B DF A4 AD */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_8022FD28: /* 8022FD28 0022CC88 C0 5F 03 E0 */ lfs f2, 0x3e0(r31) /* 8022FD2C 0022CC8C FC 1D 10 00 */ fcmpu cr0, f29, f2 /* 8022FD30 0022CC90 41 82 00 98 */ beq lbl_8022FDC8 /* 8022FD34 0022CC94 FC 00 12 10 */ fabs f0, f2 /* 8022FD38 0022CC98 C0 22 B6 64 */ lfs f1, lbl_805AD384@sda21(r2) /* 8022FD3C 0022CC9C FC 60 EA 10 */ fabs f3, f29 /* 8022FD40 0022CCA0 FC 00 00 18 */ frsp f0, f0 /* 8022FD44 0022CCA4 FF C0 18 18 */ frsp f30, f3 /* 8022FD48 0022CCA8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022FD4C 0022CCAC 40 81 00 3C */ ble lbl_8022FD88 /* 8022FD50 0022CCB0 EC 02 07 72 */ fmuls f0, f2, f29 /* 8022FD54 0022CCB4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 8022FD58 0022CCB8 4C 40 13 82 */ cror 2, 0, 2 /* 8022FD5C 0022CCBC 40 82 00 2C */ bne lbl_8022FD88 /* 8022FD60 0022CCC0 FC 02 08 40 */ fcmpo cr0, f2, f1 /* 8022FD64 0022CCC4 7F C3 F3 78 */ mr r3, r30 /* 8022FD68 0022CCC8 40 81 00 0C */ ble lbl_8022FD74 /* 8022FD6C 0022CCCC 38 00 00 02 */ li r0, 2 /* 8022FD70 0022CCD0 48 00 00 08 */ b lbl_8022FD78 lbl_8022FD74: /* 8022FD74 0022CCD4 38 00 00 03 */ li r0, 3 lbl_8022FD78: /* 8022FD78 0022CCD8 54 00 10 3A */ slwi r0, r0, 2 /* 8022FD7C 0022CCDC 7C 9F 02 14 */ add r4, r31, r0 /* 8022FD80 0022CCE0 80 84 03 C8 */ lwz r4, 0x3c8(r4) /* 8022FD84 0022CCE4 4B DF A3 D5 */ bl DelAdditiveAnimation__9CAnimDataFUi lbl_8022FD88: /* 8022FD88 0022CCE8 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FD8C 0022CCEC FC 1E 00 40 */ fcmpo cr0, f30, f0 /* 8022FD90 0022CCF0 40 81 00 38 */ ble lbl_8022FDC8 /* 8022FD94 0022CCF4 FC 1D 00 40 */ fcmpo cr0, f29, f0 /* 8022FD98 0022CCF8 7F C3 F3 78 */ mr r3, r30 /* 8022FD9C 0022CCFC 40 81 00 0C */ ble lbl_8022FDA8 /* 8022FDA0 0022CD00 38 00 00 02 */ li r0, 2 /* 8022FDA4 0022CD04 48 00 00 08 */ b lbl_8022FDAC lbl_8022FDA8: /* 8022FDA8 0022CD08 38 00 00 03 */ li r0, 3 lbl_8022FDAC: /* 8022FDAC 0022CD0C 54 00 10 3A */ slwi r0, r0, 2 /* 8022FDB0 0022CD10 FC 20 F0 90 */ fmr f1, f30 /* 8022FDB4 0022CD14 7C 9F 02 14 */ add r4, r31, r0 /* 8022FDB8 0022CD18 38 A0 00 00 */ li r5, 0 /* 8022FDBC 0022CD1C 80 84 03 C8 */ lwz r4, 0x3c8(r4) /* 8022FDC0 0022CD20 38 C0 00 00 */ li r6, 0 /* 8022FDC4 0022CD24 4B DF A4 0D */ bl AddAdditiveAnimation__9CAnimDataFUifbb lbl_8022FDC8: /* 8022FDC8 0022CD28 D3 FF 03 D8 */ stfs f31, 0x3d8(r31) /* 8022FDCC 0022CD2C D3 BF 03 E0 */ stfs f29, 0x3e0(r31) /* 8022FDD0 0022CD30 48 00 00 88 */ b lbl_8022FE58 lbl_8022FDD4: /* 8022FDD4 0022CD34 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FDD8 0022CD38 C0 3F 03 D8 */ lfs f1, 0x3d8(r31) /* 8022FDDC 0022CD3C 83 C6 00 10 */ lwz r30, 0x10(r6) /* 8022FDE0 0022CD40 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 8022FDE4 0022CD44 41 82 00 34 */ beq lbl_8022FE18 /* 8022FDE8 0022CD48 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022FDEC 0022CD4C 7F C3 F3 78 */ mr r3, r30 /* 8022FDF0 0022CD50 40 80 00 0C */ bge lbl_8022FDFC /* 8022FDF4 0022CD54 38 00 00 00 */ li r0, 0 /* 8022FDF8 0022CD58 48 00 00 08 */ b lbl_8022FE00 lbl_8022FDFC: /* 8022FDFC 0022CD5C 38 00 00 01 */ li r0, 1 lbl_8022FE00: /* 8022FE00 0022CD60 54 00 10 3A */ slwi r0, r0, 2 /* 8022FE04 0022CD64 7C 9F 02 14 */ add r4, r31, r0 /* 8022FE08 0022CD68 80 84 03 C8 */ lwz r4, 0x3c8(r4) /* 8022FE0C 0022CD6C 4B DF A3 4D */ bl DelAdditiveAnimation__9CAnimDataFUi /* 8022FE10 0022CD70 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FE14 0022CD74 D0 1F 03 D8 */ stfs f0, 0x3d8(r31) lbl_8022FE18: /* 8022FE18 0022CD78 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FE1C 0022CD7C C0 3F 03 E0 */ lfs f1, 0x3e0(r31) /* 8022FE20 0022CD80 FC 00 08 00 */ fcmpu cr0, f0, f1 /* 8022FE24 0022CD84 41 82 00 34 */ beq lbl_8022FE58 /* 8022FE28 0022CD88 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8022FE2C 0022CD8C 7F C3 F3 78 */ mr r3, r30 /* 8022FE30 0022CD90 40 81 00 0C */ ble lbl_8022FE3C /* 8022FE34 0022CD94 38 00 00 02 */ li r0, 2 /* 8022FE38 0022CD98 48 00 00 08 */ b lbl_8022FE40 lbl_8022FE3C: /* 8022FE3C 0022CD9C 38 00 00 03 */ li r0, 3 lbl_8022FE40: /* 8022FE40 0022CDA0 54 00 10 3A */ slwi r0, r0, 2 /* 8022FE44 0022CDA4 7C 9F 02 14 */ add r4, r31, r0 /* 8022FE48 0022CDA8 80 84 03 C8 */ lwz r4, 0x3c8(r4) /* 8022FE4C 0022CDAC 4B DF A3 0D */ bl DelAdditiveAnimation__9CAnimDataFUi /* 8022FE50 0022CDB0 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FE54 0022CDB4 D0 1F 03 E0 */ stfs f0, 0x3e0(r31) lbl_8022FE58: /* 8022FE58 0022CDB8 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 8022FE5C 0022CDBC CB E1 00 90 */ lfd f31, 0x90(r1) /* 8022FE60 0022CDC0 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 8022FE64 0022CDC4 CB C1 00 80 */ lfd f30, 0x80(r1) /* 8022FE68 0022CDC8 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 /* 8022FE6C 0022CDCC CB A1 00 70 */ lfd f29, 0x70(r1) /* 8022FE70 0022CDD0 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8022FE74 0022CDD4 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8022FE78 0022CDD8 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8022FE7C 0022CDDC 7C 08 03 A6 */ mtlr r0 /* 8022FE80 0022CDE0 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8022FE84 0022CDE4 4E 80 00 20 */ blr .global sub_8022fe88 sub_8022fe88: /* 8022FE88 0022CDE8 94 21 FF 70 */ stwu r1, -0x90(r1) /* 8022FE8C 0022CDEC 7C 08 02 A6 */ mflr r0 /* 8022FE90 0022CDF0 80 82 B6 5C */ lwz r4, lbl_805AD37C@sda21(r2) /* 8022FE94 0022CDF4 90 01 00 94 */ stw r0, 0x94(r1) /* 8022FE98 0022CDF8 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8022FE9C 0022CDFC 7C 7F 1B 78 */ mr r31, r3 /* 8022FEA0 0022CE00 38 61 00 18 */ addi r3, r1, 0x18 /* 8022FEA4 0022CE04 4B DD 4E 15 */ bl string_l__4rstlFPCc /* 8022FEA8 0022CE08 7F E4 FB 78 */ mr r4, r31 /* 8022FEAC 0022CE0C 38 61 00 28 */ addi r3, r1, 0x28 /* 8022FEB0 0022CE10 38 A1 00 18 */ addi r5, r1, 0x18 /* 8022FEB4 0022CE14 4B E2 30 4D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8022FEB8 0022CE18 38 61 00 58 */ addi r3, r1, 0x58 /* 8022FEBC 0022CE1C 38 81 00 28 */ addi r4, r1, 0x28 /* 8022FEC0 0022CE20 48 0E 2C B5 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8022FEC4 0022CE24 38 61 00 18 */ addi r3, r1, 0x18 /* 8022FEC8 0022CE28 48 10 DC 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8022FECC 0022CE2C C0 21 00 64 */ lfs f1, 0x64(r1) /* 8022FED0 0022CE30 C0 01 00 74 */ lfs f0, 0x74(r1) /* 8022FED4 0022CE34 D0 21 00 08 */ stfs f1, 8(r1) /* 8022FED8 0022CE38 C0 3F 03 44 */ lfs f1, 0x344(r31) /* 8022FEDC 0022CE3C D0 01 00 0C */ stfs f0, 0xc(r1) /* 8022FEE0 0022CE40 C0 01 00 84 */ lfs f0, 0x84(r1) /* 8022FEE4 0022CE44 80 01 00 08 */ lwz r0, 8(r1) /* 8022FEE8 0022CE48 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8022FEEC 0022CE4C 80 61 00 0C */ lwz r3, 0xc(r1) /* 8022FEF0 0022CE50 90 1F 03 38 */ stw r0, 0x338(r31) /* 8022FEF4 0022CE54 80 01 00 10 */ lwz r0, 0x10(r1) /* 8022FEF8 0022CE58 90 7F 03 3C */ stw r3, 0x33c(r31) /* 8022FEFC 0022CE5C 90 1F 03 40 */ stw r0, 0x340(r31) /* 8022FF00 0022CE60 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8022FF04 0022CE64 D0 3F 03 44 */ stfs f1, 0x344(r31) /* 8022FF08 0022CE68 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8022FF0C 0022CE6C 80 01 00 94 */ lwz r0, 0x94(r1) /* 8022FF10 0022CE70 7C 08 03 A6 */ mtlr r0 /* 8022FF14 0022CE74 38 21 00 90 */ addi r1, r1, 0x90 /* 8022FF18 0022CE78 4E 80 00 20 */ blr .global sub_8022ff1c sub_8022ff1c: /* 8022FF1C 0022CE7C 94 21 FD 20 */ stwu r1, -0x2e0(r1) /* 8022FF20 0022CE80 7C 08 02 A6 */ mflr r0 /* 8022FF24 0022CE84 90 01 02 E4 */ stw r0, 0x2e4(r1) /* 8022FF28 0022CE88 BF 41 02 C8 */ stmw r26, 0x2c8(r1) /* 8022FF2C 0022CE8C 7C 9F 23 78 */ mr r31, r4 /* 8022FF30 0022CE90 7C 7E 1B 78 */ mr r30, r3 /* 8022FF34 0022CE94 80 83 00 64 */ lwz r4, 0x64(r3) /* 8022FF38 0022CE98 38 60 00 00 */ li r3, 0 /* 8022FF3C 0022CE9C 28 04 00 00 */ cmplwi r4, 0 /* 8022FF40 0022CEA0 41 82 00 14 */ beq lbl_8022FF54 /* 8022FF44 0022CEA4 80 04 00 10 */ lwz r0, 0x10(r4) /* 8022FF48 0022CEA8 28 00 00 00 */ cmplwi r0, 0 /* 8022FF4C 0022CEAC 41 82 00 08 */ beq lbl_8022FF54 /* 8022FF50 0022CEB0 38 60 00 01 */ li r3, 1 lbl_8022FF54: /* 8022FF54 0022CEB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8022FF58 0022CEB8 41 82 04 CC */ beq lbl_80230424 /* 8022FF5C 0022CEBC 38 61 00 50 */ addi r3, r1, 0x50 /* 8022FF60 0022CEC0 48 0B 31 1D */ bl NoParameter__12CPASAnimParmFv /* 8022FF64 0022CEC4 38 61 00 58 */ addi r3, r1, 0x58 /* 8022FF68 0022CEC8 48 0B 31 15 */ bl NoParameter__12CPASAnimParmFv /* 8022FF6C 0022CECC 38 61 00 60 */ addi r3, r1, 0x60 /* 8022FF70 0022CED0 48 0B 31 0D */ bl NoParameter__12CPASAnimParmFv /* 8022FF74 0022CED4 38 61 00 68 */ addi r3, r1, 0x68 /* 8022FF78 0022CED8 48 0B 31 05 */ bl NoParameter__12CPASAnimParmFv /* 8022FF7C 0022CEDC 38 61 00 70 */ addi r3, r1, 0x70 /* 8022FF80 0022CEE0 48 0B 30 FD */ bl NoParameter__12CPASAnimParmFv /* 8022FF84 0022CEE4 38 61 00 78 */ addi r3, r1, 0x78 /* 8022FF88 0022CEE8 48 0B 30 F5 */ bl NoParameter__12CPASAnimParmFv /* 8022FF8C 0022CEEC 38 61 00 80 */ addi r3, r1, 0x80 /* 8022FF90 0022CEF0 48 0B 30 ED */ bl NoParameter__12CPASAnimParmFv /* 8022FF94 0022CEF4 38 61 00 88 */ addi r3, r1, 0x88 /* 8022FF98 0022CEF8 48 0B 30 E5 */ bl NoParameter__12CPASAnimParmFv /* 8022FF9C 0022CEFC 38 61 00 58 */ addi r3, r1, 0x58 /* 8022FFA0 0022CF00 38 01 00 50 */ addi r0, r1, 0x50 /* 8022FFA4 0022CF04 90 61 00 08 */ stw r3, 8(r1) /* 8022FFA8 0022CF08 38 61 02 80 */ addi r3, r1, 0x280 /* 8022FFAC 0022CF0C 38 A1 00 88 */ addi r5, r1, 0x88 /* 8022FFB0 0022CF10 38 C1 00 80 */ addi r6, r1, 0x80 /* 8022FFB4 0022CF14 90 01 00 0C */ stw r0, 0xc(r1) /* 8022FFB8 0022CF18 38 E1 00 78 */ addi r7, r1, 0x78 /* 8022FFBC 0022CF1C 39 01 00 70 */ addi r8, r1, 0x70 /* 8022FFC0 0022CF20 39 21 00 68 */ addi r9, r1, 0x68 /* 8022FFC4 0022CF24 39 41 00 60 */ addi r10, r1, 0x60 /* 8022FFC8 0022CF28 38 80 00 17 */ li r4, 0x17 /* 8022FFCC 0022CF2C 4B E4 D2 F9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 8022FFD0 0022CF30 80 9E 00 64 */ lwz r4, 0x64(r30) /* 8022FFD4 0022CF34 38 61 00 48 */ addi r3, r1, 0x48 /* 8022FFD8 0022CF38 80 DF 09 00 */ lwz r6, 0x900(r31) /* 8022FFDC 0022CF3C 38 A1 02 80 */ addi r5, r1, 0x280 /* 8022FFE0 0022CF40 80 84 00 10 */ lwz r4, 0x10(r4) /* 8022FFE4 0022CF44 38 E0 FF FF */ li r7, -1 /* 8022FFE8 0022CF48 38 84 00 3C */ addi r4, r4, 0x3c /* 8022FFEC 0022CF4C 48 0B 50 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 8022FFF0 0022CF50 C0 21 00 48 */ lfs f1, 0x48(r1) /* 8022FFF4 0022CF54 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 8022FFF8 0022CF58 80 81 00 4C */ lwz r4, 0x4c(r1) /* 8022FFFC 0022CF5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80230000 0022CF60 40 81 03 C8 */ ble lbl_802303C8 /* 80230004 0022CF64 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80230008 0022CF68 38 A0 00 00 */ li r5, 0 /* 8023000C 0022CF6C C0 22 B6 6C */ lfs f1, lbl_805AD38C@sda21(r2) /* 80230010 0022CF70 38 C0 00 01 */ li r6, 1 /* 80230014 0022CF74 80 63 00 10 */ lwz r3, 0x10(r3) /* 80230018 0022CF78 4B DF A1 B9 */ bl AddAdditiveAnimation__9CAnimDataFUifbb /* 8023001C 0022CF7C 80 82 B6 58 */ lwz r4, lbl_805AD378@sda21(r2) /* 80230020 0022CF80 38 61 01 10 */ addi r3, r1, 0x110 /* 80230024 0022CF84 4B DD 4C 95 */ bl string_l__4rstlFPCc /* 80230028 0022CF88 7F C4 F3 78 */ mr r4, r30 /* 8023002C 0022CF8C 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 80230030 0022CF90 38 A1 01 10 */ addi r5, r1, 0x110 /* 80230034 0022CF94 4B E2 2E CD */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80230038 0022CF98 38 61 02 04 */ addi r3, r1, 0x204 /* 8023003C 0022CF9C 38 81 01 A4 */ addi r4, r1, 0x1a4 /* 80230040 0022CFA0 48 0E 2B 35 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80230044 0022CFA4 38 61 01 10 */ addi r3, r1, 0x110 /* 80230048 0022CFA8 48 10 DA 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8023004C 0022CFAC C0 41 02 10 */ lfs f2, 0x210(r1) /* 80230050 0022CFB0 38 61 01 04 */ addi r3, r1, 0x104 /* 80230054 0022CFB4 C0 21 02 20 */ lfs f1, 0x220(r1) /* 80230058 0022CFB8 38 9E 00 34 */ addi r4, r30, 0x34 /* 8023005C 0022CFBC C0 01 02 30 */ lfs f0, 0x230(r1) /* 80230060 0022CFC0 38 A1 00 F8 */ addi r5, r1, 0xf8 /* 80230064 0022CFC4 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 80230068 0022CFC8 D0 21 00 FC */ stfs f1, 0xfc(r1) /* 8023006C 0022CFCC D0 01 01 00 */ stfs f0, 0x100(r1) /* 80230070 0022CFD0 48 0E 2A 11 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 80230074 0022CFD4 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80230078 0022CFD8 3B 9E 03 18 */ addi r28, r30, 0x318 /* 8023007C 0022CFDC C0 01 01 08 */ lfs f0, 0x108(r1) /* 80230080 0022CFE0 7F E4 FB 78 */ mr r4, r31 /* 80230084 0022CFE4 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 80230088 0022CFE8 38 61 00 EC */ addi r3, r1, 0xec /* 8023008C 0022CFEC C0 41 01 0C */ lfs f2, 0x10c(r1) /* 80230090 0022CFF0 EC 81 00 2A */ fadds f4, f1, f0 /* 80230094 0022CFF4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 80230098 0022CFF8 C0 01 01 04 */ lfs f0, 0x104(r1) /* 8023009C 0022CFFC EC 43 10 2A */ fadds f2, f3, f2 /* 802300A0 0022D000 D0 81 01 54 */ stfs f4, 0x154(r1) /* 802300A4 0022D004 EC 01 00 2A */ fadds f0, f1, f0 /* 802300A8 0022D008 D0 41 01 58 */ stfs f2, 0x158(r1) /* 802300AC 0022D00C D0 01 01 50 */ stfs f0, 0x150(r1) /* 802300B0 0022D010 C0 1E 03 20 */ lfs f0, 0x320(r30) /* 802300B4 0022D014 D0 01 00 44 */ stfs f0, 0x44(r1) /* 802300B8 0022D018 C0 1E 03 18 */ lfs f0, 0x318(r30) /* 802300BC 0022D01C D0 01 00 40 */ stfs f0, 0x40(r1) /* 802300C0 0022D020 48 00 07 A5 */ bl sub_80230864 /* 802300C4 0022D024 C0 41 00 EC */ lfs f2, 0xec(r1) /* 802300C8 0022D028 7F 85 E3 78 */ mr r5, r28 /* 802300CC 0022D02C C0 21 00 F0 */ lfs f1, 0xf0(r1) /* 802300D0 0022D030 38 61 01 44 */ addi r3, r1, 0x144 /* 802300D4 0022D034 C0 01 00 F4 */ lfs f0, 0xf4(r1) /* 802300D8 0022D038 38 81 01 50 */ addi r4, r1, 0x150 /* 802300DC 0022D03C D0 41 01 44 */ stfs f2, 0x144(r1) /* 802300E0 0022D040 38 C1 00 44 */ addi r6, r1, 0x44 /* 802300E4 0022D044 38 E1 00 40 */ addi r7, r1, 0x40 /* 802300E8 0022D048 D0 21 01 48 */ stfs f1, 0x148(r1) /* 802300EC 0022D04C D0 01 01 4C */ stfs f0, 0x14c(r1) /* 802300F0 0022D050 48 00 05 19 */ bl sub_80230608 /* 802300F4 0022D054 C0 21 01 4C */ lfs f1, 0x14c(r1) /* 802300F8 0022D058 38 61 01 38 */ addi r3, r1, 0x138 /* 802300FC 0022D05C C0 01 01 58 */ lfs f0, 0x158(r1) /* 80230100 0022D060 C0 61 01 48 */ lfs f3, 0x148(r1) /* 80230104 0022D064 EC 81 00 28 */ fsubs f4, f1, f0 /* 80230108 0022D068 C0 41 01 54 */ lfs f2, 0x154(r1) /* 8023010C 0022D06C C0 21 01 44 */ lfs f1, 0x144(r1) /* 80230110 0022D070 C0 01 01 50 */ lfs f0, 0x150(r1) /* 80230114 0022D074 EC 43 10 28 */ fsubs f2, f3, f2 /* 80230118 0022D078 D0 81 01 40 */ stfs f4, 0x140(r1) /* 8023011C 0022D07C EC 21 00 28 */ fsubs f1, f1, f0 /* 80230120 0022D080 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 80230124 0022D084 D0 41 01 3C */ stfs f2, 0x13c(r1) /* 80230128 0022D088 D0 21 01 38 */ stfs f1, 0x138(r1) /* 8023012C 0022D08C D0 01 01 40 */ stfs f0, 0x140(r1) /* 80230130 0022D090 C0 5E 00 58 */ lfs f2, 0x58(r30) /* 80230134 0022D094 C0 3E 00 48 */ lfs f1, 0x48(r30) /* 80230138 0022D098 C0 1E 00 38 */ lfs f0, 0x38(r30) /* 8023013C 0022D09C D0 01 01 2C */ stfs f0, 0x12c(r1) /* 80230140 0022D0A0 D0 21 01 30 */ stfs f1, 0x130(r1) /* 80230144 0022D0A4 D0 41 01 34 */ stfs f2, 0x134(r1) /* 80230148 0022D0A8 48 0E 45 B1 */ bl CanBeNormalized__9CVector3fCFv /* 8023014C 0022D0AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80230150 0022D0B0 41 82 00 18 */ beq lbl_80230168 /* 80230154 0022D0B4 38 61 00 E0 */ addi r3, r1, 0xe0 /* 80230158 0022D0B8 38 81 01 38 */ addi r4, r1, 0x138 /* 8023015C 0022D0BC 48 0E 46 F5 */ bl AsNormalized__9CVector3fCFv /* 80230160 0022D0C0 38 A1 00 E0 */ addi r5, r1, 0xe0 /* 80230164 0022D0C4 48 00 00 08 */ b lbl_8023016C lbl_80230168: /* 80230168 0022D0C8 38 A1 01 2C */ addi r5, r1, 0x12c lbl_8023016C: /* 8023016C 0022D0CC C0 05 00 00 */ lfs f0, 0(r5) /* 80230170 0022D0D0 38 61 01 2C */ addi r3, r1, 0x12c /* 80230174 0022D0D4 38 81 01 20 */ addi r4, r1, 0x120 /* 80230178 0022D0D8 D0 01 01 20 */ stfs f0, 0x120(r1) /* 8023017C 0022D0DC C0 05 00 04 */ lfs f0, 4(r5) /* 80230180 0022D0E0 D0 01 01 24 */ stfs f0, 0x124(r1) /* 80230184 0022D0E4 C0 05 00 08 */ lfs f0, 8(r5) /* 80230188 0022D0E8 D0 01 01 28 */ stfs f0, 0x128(r1) /* 8023018C 0022D0EC 48 0E 44 A5 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80230190 0022D0F0 C0 02 B6 88 */ lfs f0, lbl_805AD3A8@sda21(r2) /* 80230194 0022D0F4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80230198 0022D0F8 40 81 00 34 */ ble lbl_802301CC /* 8023019C 0022D0FC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802301A0 0022D100 38 61 00 D4 */ addi r3, r1, 0xd4 /* 802301A4 0022D104 38 81 01 2C */ addi r4, r1, 0x12c /* 802301A8 0022D108 38 A1 01 20 */ addi r5, r1, 0x120 /* 802301AC 0022D10C 38 C1 00 3C */ addi r6, r1, 0x3c /* 802301B0 0022D110 48 0E 47 A5 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 802301B4 0022D114 C0 41 00 D4 */ lfs f2, 0xd4(r1) /* 802301B8 0022D118 C0 21 00 D8 */ lfs f1, 0xd8(r1) /* 802301BC 0022D11C C0 01 00 DC */ lfs f0, 0xdc(r1) /* 802301C0 0022D120 D0 41 01 20 */ stfs f2, 0x120(r1) /* 802301C4 0022D124 D0 21 01 24 */ stfs f1, 0x124(r1) /* 802301C8 0022D128 D0 01 01 28 */ stfs f0, 0x128(r1) lbl_802301CC: /* 802301CC 0022D12C C0 01 00 44 */ lfs f0, 0x44(r1) /* 802301D0 0022D130 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802301D4 0022D134 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l /* 802301D8 0022D138 38 81 01 20 */ addi r4, r1, 0x120 /* 802301DC 0022D13C D0 01 00 38 */ stfs f0, 0x38(r1) /* 802301E0 0022D140 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802301E4 0022D144 38 C1 00 38 */ addi r6, r1, 0x38 /* 802301E8 0022D148 48 0E 47 6D */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle /* 802301EC 0022D14C C0 21 01 54 */ lfs f1, 0x154(r1) /* 802301F0 0022D150 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 802301F4 0022D154 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 802301F8 0022D158 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 802301FC 0022D15C C0 61 01 58 */ lfs f3, 0x158(r1) /* 80230200 0022D160 38 61 01 74 */ addi r3, r1, 0x174 /* 80230204 0022D164 EC 81 00 2A */ fadds f4, f1, f0 /* 80230208 0022D168 C0 41 00 D0 */ lfs f2, 0xd0(r1) /* 8023020C 0022D16C C0 21 01 50 */ lfs f1, 0x150(r1) /* 80230210 0022D170 38 81 01 50 */ addi r4, r1, 0x150 /* 80230214 0022D174 C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 80230218 0022D178 EC 43 10 2A */ fadds f2, f3, f2 /* 8023021C 0022D17C EC 01 00 2A */ fadds f0, f1, f0 /* 80230220 0022D180 D0 81 00 C0 */ stfs f4, 0xc0(r1) /* 80230224 0022D184 38 A1 00 BC */ addi r5, r1, 0xbc /* 80230228 0022D188 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 8023022C 0022D18C D0 01 00 BC */ stfs f0, 0xbc(r1) /* 80230230 0022D190 48 0E 38 E1 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80230234 0022D194 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 80230238 0022D198 38 81 01 74 */ addi r4, r1, 0x174 /* 8023023C 0022D19C 48 0E 29 39 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80230240 0022D1A0 3C 60 80 3D */ lis r3, lbl_803D3410@ha /* 80230244 0022D1A4 3B A0 00 00 */ li r29, 0 /* 80230248 0022D1A8 38 63 34 10 */ addi r3, r3, lbl_803D3410@l /* 8023024C 0022D1AC 3B 60 00 00 */ li r27, 0 /* 80230250 0022D1B0 38 83 00 20 */ addi r4, r3, 0x20 /* 80230254 0022D1B4 3B 40 00 00 */ li r26, 0 /* 80230258 0022D1B8 38 60 02 B8 */ li r3, 0x2b8 /* 8023025C 0022D1BC 38 A0 00 00 */ li r5, 0 /* 80230260 0022D1C0 48 0E 56 0D */ bl __nw__FUlPCcPCc /* 80230264 0022D1C4 7C 7C 1B 79 */ or. r28, r3, r3 /* 80230268 0022D1C8 41 82 00 E0 */ beq lbl_80230348 /* 8023026C 0022D1CC A0 1E 02 CC */ lhz r0, 0x2cc(r30) /* 80230270 0022D1D0 38 61 02 34 */ addi r3, r1, 0x234 /* 80230274 0022D1D4 38 81 00 A0 */ addi r4, r1, 0xa0 /* 80230278 0022D1D8 B0 01 00 18 */ sth r0, 0x18(r1) /* 8023027C 0022D1DC 80 BE 00 64 */ lwz r5, 0x64(r30) /* 80230280 0022D1E0 80 1E 03 0C */ lwz r0, 0x30c(r30) /* 80230284 0022D1E4 C0 45 00 00 */ lfs f2, 0(r5) /* 80230288 0022D1E8 C0 25 00 04 */ lfs f1, 4(r5) /* 8023028C 0022D1EC C0 05 00 08 */ lfs f0, 8(r5) /* 80230290 0022D1F0 D0 41 00 B0 */ stfs f2, 0xb0(r1) /* 80230294 0022D1F4 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 80230298 0022D1F8 D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 8023029C 0022D1FC 90 01 00 A0 */ stw r0, 0xa0(r1) /* 802302A0 0022D200 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 802302A4 0022D204 D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 802302A8 0022D208 D0 01 00 AC */ stfs f0, 0xac(r1) /* 802302AC 0022D20C 4B EE 6A B1 */ bl __ct__10CModelDataFRC10CStaticRes /* 802302B0 0022D210 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) /* 802302B4 0022D214 3C 60 80 57 */ lis r3, lbl_8056D410@ha /* 802302B8 0022D218 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l /* 802302BC 0022D21C 38 81 00 30 */ addi r4, r1, 0x30 /* 802302C0 0022D220 90 01 00 34 */ stw r0, 0x34(r1) /* 802302C4 0022D224 38 61 01 5C */ addi r3, r1, 0x15c /* 802302C8 0022D228 38 C1 00 34 */ addi r6, r1, 0x34 /* 802302CC 0022D22C 3B A0 00 01 */ li r29, 1 /* 802302D0 0022D230 80 1E 00 04 */ lwz r0, 4(r30) /* 802302D4 0022D234 90 01 00 2C */ stw r0, 0x2c(r1) /* 802302D8 0022D238 90 01 00 30 */ stw r0, 0x30(r1) /* 802302DC 0022D23C 4B E2 11 A9 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" /* 802302E0 0022D240 3C 80 80 3D */ lis r4, lbl_803D3410@ha /* 802302E4 0022D244 38 61 00 90 */ addi r3, r1, 0x90 /* 802302E8 0022D248 38 84 34 10 */ addi r4, r4, lbl_803D3410@l /* 802302EC 0022D24C 3B 60 00 01 */ li r27, 1 /* 802302F0 0022D250 38 84 00 43 */ addi r4, r4, 0x43 /* 802302F4 0022D254 4B DD 49 C5 */ bl string_l__4rstlFPCc /* 802302F8 0022D258 7F E4 FB 78 */ mr r4, r31 /* 802302FC 0022D25C 38 61 00 10 */ addi r3, r1, 0x10 /* 80230300 0022D260 3B 40 00 01 */ li r26, 1 /* 80230304 0022D264 4B E1 CD D9 */ bl AllocateUniqueId__13CStateManagerFv /* 80230308 0022D268 A0 A1 00 10 */ lhz r5, 0x10(r1) /* 8023030C 0022D26C 38 1E 02 D0 */ addi r0, r30, 0x2d0 /* 80230310 0022D270 7F 83 E3 78 */ mr r3, r28 /* 80230314 0022D274 38 81 00 14 */ addi r4, r1, 0x14 /* 80230318 0022D278 B0 A1 00 14 */ sth r5, 0x14(r1) /* 8023031C 0022D27C 38 A1 00 90 */ addi r5, r1, 0x90 /* 80230320 0022D280 38 C1 01 5C */ addi r6, r1, 0x15c /* 80230324 0022D284 38 E1 01 D4 */ addi r7, r1, 0x1d4 /* 80230328 0022D288 90 01 00 08 */ stw r0, 8(r1) /* 8023032C 0022D28C 39 01 02 34 */ addi r8, r1, 0x234 /* 80230330 0022D290 39 3E 03 50 */ addi r9, r30, 0x350 /* 80230334 0022D294 39 41 00 18 */ addi r10, r1, 0x18 /* 80230338 0022D298 C0 21 00 40 */ lfs f1, 0x40(r1) /* 8023033C 0022D29C C0 5E 03 F8 */ lfs f2, 0x3f8(r30) /* 80230340 0022D2A0 4B FF EE CD */ bl __ct__14CBouncyGrenade /* 80230344 0022D2A4 7C 7C 1B 78 */ mr r28, r3 lbl_80230348: /* 80230348 0022D2A8 7F 40 07 75 */ extsb. r0, r26 /* 8023034C 0022D2AC 41 82 00 0C */ beq lbl_80230358 /* 80230350 0022D2B0 38 61 00 90 */ addi r3, r1, 0x90 /* 80230354 0022D2B4 48 10 D7 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80230358: /* 80230358 0022D2B8 7F 60 07 75 */ extsb. r0, r27 /* 8023035C 0022D2BC 41 82 00 44 */ beq lbl_802303A0 /* 80230360 0022D2C0 80 01 01 64 */ lwz r0, 0x164(r1) /* 80230364 0022D2C4 80 61 01 6C */ lwz r3, 0x16c(r1) /* 80230368 0022D2C8 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023036C 0022D2CC 90 61 00 20 */ stw r3, 0x20(r1) /* 80230370 0022D2D0 7C 64 1B 78 */ mr r4, r3 /* 80230374 0022D2D4 7C 03 02 14 */ add r0, r3, r0 /* 80230378 0022D2D8 90 61 00 1C */ stw r3, 0x1c(r1) /* 8023037C 0022D2DC 90 01 00 28 */ stw r0, 0x28(r1) /* 80230380 0022D2E0 90 01 00 24 */ stw r0, 0x24(r1) /* 80230384 0022D2E4 48 00 00 08 */ b lbl_8023038C lbl_80230388: /* 80230388 0022D2E8 38 84 00 0C */ addi r4, r4, 0xc lbl_8023038C: /* 8023038C 0022D2EC 7C 04 00 40 */ cmplw r4, r0 /* 80230390 0022D2F0 40 82 FF F8 */ bne lbl_80230388 /* 80230394 0022D2F4 28 03 00 00 */ cmplwi r3, 0 /* 80230398 0022D2F8 41 82 00 08 */ beq lbl_802303A0 /* 8023039C 0022D2FC 48 0E 55 95 */ bl Free__7CMemoryFPCv lbl_802303A0: /* 802303A0 0022D300 7F A0 07 75 */ extsb. r0, r29 /* 802303A4 0022D304 41 82 00 10 */ beq lbl_802303B4 /* 802303A8 0022D308 38 61 02 34 */ addi r3, r1, 0x234 /* 802303AC 0022D30C 38 80 FF FF */ li r4, -1 /* 802303B0 0022D310 4B EE 66 9D */ bl __dt__10CModelDataFv lbl_802303B4: /* 802303B4 0022D314 28 1C 00 00 */ cmplwi r28, 0 /* 802303B8 0022D318 41 82 00 10 */ beq lbl_802303C8 /* 802303BC 0022D31C 7F E3 FB 78 */ mr r3, r31 /* 802303C0 0022D320 7F 84 E3 78 */ mr r4, r28 /* 802303C4 0022D324 4B E1 C9 31 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence lbl_802303C8: /* 802303C8 0022D328 34 A1 02 84 */ addic. r5, r1, 0x284 /* 802303CC 0022D32C 41 82 00 58 */ beq lbl_80230424 /* 802303D0 0022D330 80 C5 00 00 */ lwz r6, 0(r5) /* 802303D4 0022D334 38 60 00 00 */ li r3, 0 /* 802303D8 0022D338 2C 06 00 00 */ cmpwi r6, 0 /* 802303DC 0022D33C 40 81 00 40 */ ble lbl_8023041C /* 802303E0 0022D340 2C 06 00 08 */ cmpwi r6, 8 /* 802303E4 0022D344 38 86 FF F8 */ addi r4, r6, -8 /* 802303E8 0022D348 40 81 00 20 */ ble lbl_80230408 /* 802303EC 0022D34C 38 04 00 07 */ addi r0, r4, 7 /* 802303F0 0022D350 54 00 E8 FE */ srwi r0, r0, 3 /* 802303F4 0022D354 7C 09 03 A6 */ mtctr r0 /* 802303F8 0022D358 2C 04 00 00 */ cmpwi r4, 0 /* 802303FC 0022D35C 40 81 00 0C */ ble lbl_80230408 lbl_80230400: /* 80230400 0022D360 38 63 00 08 */ addi r3, r3, 8 /* 80230404 0022D364 42 00 FF FC */ bdnz lbl_80230400 lbl_80230408: /* 80230408 0022D368 7C 03 30 50 */ subf r0, r3, r6 /* 8023040C 0022D36C 7C 09 03 A6 */ mtctr r0 /* 80230410 0022D370 7C 03 30 00 */ cmpw r3, r6 /* 80230414 0022D374 40 80 00 08 */ bge lbl_8023041C lbl_80230418: /* 80230418 0022D378 42 00 00 00 */ bdnz lbl_80230418 lbl_8023041C: /* 8023041C 0022D37C 38 00 00 00 */ li r0, 0 /* 80230420 0022D380 90 05 00 00 */ stw r0, 0(r5) lbl_80230424: /* 80230424 0022D384 BB 41 02 C8 */ lmw r26, 0x2c8(r1) /* 80230428 0022D388 80 01 02 E4 */ lwz r0, 0x2e4(r1) /* 8023042C 0022D38C 7C 08 03 A6 */ mtlr r0 /* 80230430 0022D390 38 21 02 E0 */ addi r1, r1, 0x2e0 /* 80230434 0022D394 4E 80 00 20 */ blr .global sub_80230438 sub_80230438: /* 80230438 0022D398 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8023043C 0022D39C 7C 08 02 A6 */ mflr r0 /* 80230440 0022D3A0 90 01 00 D4 */ stw r0, 0xd4(r1) /* 80230444 0022D3A4 93 E1 00 CC */ stw r31, 0xcc(r1) /* 80230448 0022D3A8 7C 7F 1B 78 */ mr r31, r3 /* 8023044C 0022D3AC 38 60 00 00 */ li r3, 0 /* 80230450 0022D3B0 80 9F 00 64 */ lwz r4, 0x64(r31) /* 80230454 0022D3B4 28 04 00 00 */ cmplwi r4, 0 /* 80230458 0022D3B8 41 82 00 14 */ beq lbl_8023046C /* 8023045C 0022D3BC 80 04 00 10 */ lwz r0, 0x10(r4) /* 80230460 0022D3C0 28 00 00 00 */ cmplwi r0, 0 /* 80230464 0022D3C4 41 82 00 08 */ beq lbl_8023046C /* 80230468 0022D3C8 38 60 00 01 */ li r3, 1 lbl_8023046C: /* 8023046C 0022D3CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80230470 0022D3D0 41 82 01 84 */ beq lbl_802305F4 /* 80230474 0022D3D4 80 1F 02 58 */ lwz r0, 0x258(r31) /* 80230478 0022D3D8 2C 00 00 00 */ cmpwi r0, 0 /* 8023047C 0022D3DC 41 80 01 78 */ blt lbl_802305F4 /* 80230480 0022D3E0 2C 00 00 01 */ cmpwi r0, 1 /* 80230484 0022D3E4 41 81 01 70 */ bgt lbl_802305F4 /* 80230488 0022D3E8 38 61 00 18 */ addi r3, r1, 0x18 /* 8023048C 0022D3EC 48 0B 2B F1 */ bl NoParameter__12CPASAnimParmFv /* 80230490 0022D3F0 38 61 00 20 */ addi r3, r1, 0x20 /* 80230494 0022D3F4 48 0B 2B E9 */ bl NoParameter__12CPASAnimParmFv /* 80230498 0022D3F8 38 61 00 28 */ addi r3, r1, 0x28 /* 8023049C 0022D3FC 48 0B 2B E1 */ bl NoParameter__12CPASAnimParmFv /* 802304A0 0022D400 38 61 00 30 */ addi r3, r1, 0x30 /* 802304A4 0022D404 48 0B 2B D9 */ bl NoParameter__12CPASAnimParmFv /* 802304A8 0022D408 38 61 00 38 */ addi r3, r1, 0x38 /* 802304AC 0022D40C 48 0B 2B D1 */ bl NoParameter__12CPASAnimParmFv /* 802304B0 0022D410 38 61 00 40 */ addi r3, r1, 0x40 /* 802304B4 0022D414 48 0B 2B C9 */ bl NoParameter__12CPASAnimParmFv /* 802304B8 0022D418 80 1F 02 58 */ lwz r0, 0x258(r31) /* 802304BC 0022D41C 38 82 B6 50 */ addi r4, r2, lbl_805AD370@sda21 /* 802304C0 0022D420 38 61 00 48 */ addi r3, r1, 0x48 /* 802304C4 0022D424 54 00 10 3A */ slwi r0, r0, 2 /* 802304C8 0022D428 7C 84 00 2E */ lwzx r4, r4, r0 /* 802304CC 0022D42C 48 0B 2A B9 */ bl FromEnum__12CPASAnimParmFi /* 802304D0 0022D430 38 61 00 50 */ addi r3, r1, 0x50 /* 802304D4 0022D434 38 80 00 00 */ li r4, 0 /* 802304D8 0022D438 48 0B 2A AD */ bl FromEnum__12CPASAnimParmFi /* 802304DC 0022D43C 38 61 00 20 */ addi r3, r1, 0x20 /* 802304E0 0022D440 38 01 00 18 */ addi r0, r1, 0x18 /* 802304E4 0022D444 90 61 00 08 */ stw r3, 8(r1) /* 802304E8 0022D448 38 61 00 80 */ addi r3, r1, 0x80 /* 802304EC 0022D44C 38 A1 00 50 */ addi r5, r1, 0x50 /* 802304F0 0022D450 38 C1 00 48 */ addi r6, r1, 0x48 /* 802304F4 0022D454 90 01 00 0C */ stw r0, 0xc(r1) /* 802304F8 0022D458 38 E1 00 40 */ addi r7, r1, 0x40 /* 802304FC 0022D45C 39 01 00 38 */ addi r8, r1, 0x38 /* 80230500 0022D460 39 21 00 30 */ addi r9, r1, 0x30 /* 80230504 0022D464 39 41 00 28 */ addi r10, r1, 0x28 /* 80230508 0022D468 38 80 00 05 */ li r4, 5 /* 8023050C 0022D46C 4B E4 CD B9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 80230510 0022D470 80 9F 00 64 */ lwz r4, 0x64(r31) /* 80230514 0022D474 38 61 00 10 */ addi r3, r1, 0x10 /* 80230518 0022D478 38 A1 00 80 */ addi r5, r1, 0x80 /* 8023051C 0022D47C 38 C0 FF FF */ li r6, -1 /* 80230520 0022D480 80 84 00 10 */ lwz r4, 0x10(r4) /* 80230524 0022D484 38 84 00 3C */ addi r4, r4, 0x3c /* 80230528 0022D488 48 0B 4C 45 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai /* 8023052C 0022D48C C0 21 00 10 */ lfs f1, 0x10(r1) /* 80230530 0022D490 C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 80230534 0022D494 80 81 00 14 */ lwz r4, 0x14(r1) /* 80230538 0022D498 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023053C 0022D49C 40 81 00 5C */ ble lbl_80230598 /* 80230540 0022D4A0 C0 02 B6 6C */ lfs f0, lbl_805AD38C@sda21(r2) /* 80230544 0022D4A4 38 00 00 00 */ li r0, 0 /* 80230548 0022D4A8 38 C0 FF FF */ li r6, -1 /* 8023054C 0022D4AC 38 60 00 01 */ li r3, 1 /* 80230550 0022D4B0 90 81 00 58 */ stw r4, 0x58(r1) /* 80230554 0022D4B4 38 81 00 58 */ addi r4, r1, 0x58 /* 80230558 0022D4B8 38 A0 00 00 */ li r5, 0 /* 8023055C 0022D4BC 90 C1 00 5C */ stw r6, 0x5c(r1) /* 80230560 0022D4C0 D0 01 00 60 */ stfs f0, 0x60(r1) /* 80230564 0022D4C4 98 61 00 64 */ stb r3, 0x64(r1) /* 80230568 0022D4C8 90 01 00 68 */ stw r0, 0x68(r1) /* 8023056C 0022D4CC 90 01 00 6C */ stw r0, 0x6c(r1) /* 80230570 0022D4D0 98 01 00 70 */ stb r0, 0x70(r1) /* 80230574 0022D4D4 90 01 00 74 */ stw r0, 0x74(r1) /* 80230578 0022D4D8 90 01 00 78 */ stw r0, 0x78(r1) /* 8023057C 0022D4DC 90 01 00 7C */ stw r0, 0x7c(r1) /* 80230580 0022D4E0 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80230584 0022D4E4 80 63 00 10 */ lwz r3, 0x10(r3) /* 80230588 0022D4E8 4B DF C7 F5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8023058C 0022D4EC 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80230590 0022D4F0 38 80 00 01 */ li r4, 1 /* 80230594 0022D4F4 4B EE 4F CD */ bl EnableLooping__10CModelDataFb lbl_80230598: /* 80230598 0022D4F8 34 A1 00 84 */ addic. r5, r1, 0x84 /* 8023059C 0022D4FC 41 82 00 58 */ beq lbl_802305F4 /* 802305A0 0022D500 80 C5 00 00 */ lwz r6, 0(r5) /* 802305A4 0022D504 38 60 00 00 */ li r3, 0 /* 802305A8 0022D508 2C 06 00 00 */ cmpwi r6, 0 /* 802305AC 0022D50C 40 81 00 40 */ ble lbl_802305EC /* 802305B0 0022D510 2C 06 00 08 */ cmpwi r6, 8 /* 802305B4 0022D514 38 86 FF F8 */ addi r4, r6, -8 /* 802305B8 0022D518 40 81 00 20 */ ble lbl_802305D8 /* 802305BC 0022D51C 38 04 00 07 */ addi r0, r4, 7 /* 802305C0 0022D520 54 00 E8 FE */ srwi r0, r0, 3 /* 802305C4 0022D524 7C 09 03 A6 */ mtctr r0 /* 802305C8 0022D528 2C 04 00 00 */ cmpwi r4, 0 /* 802305CC 0022D52C 40 81 00 0C */ ble lbl_802305D8 lbl_802305D0: /* 802305D0 0022D530 38 63 00 08 */ addi r3, r3, 8 /* 802305D4 0022D534 42 00 FF FC */ bdnz lbl_802305D0 lbl_802305D8: /* 802305D8 0022D538 7C 03 30 50 */ subf r0, r3, r6 /* 802305DC 0022D53C 7C 09 03 A6 */ mtctr r0 /* 802305E0 0022D540 7C 03 30 00 */ cmpw r3, r6 /* 802305E4 0022D544 40 80 00 08 */ bge lbl_802305EC lbl_802305E8: /* 802305E8 0022D548 42 00 00 00 */ bdnz lbl_802305E8 lbl_802305EC: /* 802305EC 0022D54C 38 00 00 00 */ li r0, 0 /* 802305F0 0022D550 90 05 00 00 */ stw r0, 0(r5) lbl_802305F4: /* 802305F4 0022D554 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 802305F8 0022D558 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 802305FC 0022D55C 7C 08 03 A6 */ mtlr r0 /* 80230600 0022D560 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80230604 0022D564 4E 80 00 20 */ blr .global sub_80230608 sub_80230608: /* 80230608 0022D568 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8023060C 0022D56C 7C 08 02 A6 */ mflr r0 /* 80230610 0022D570 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80230614 0022D574 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 80230618 0022D578 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 8023061C 0022D57C DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 80230620 0022D580 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 80230624 0022D584 DB A1 00 C0 */ stfd f29, 0xc0(r1) /* 80230628 0022D588 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 /* 8023062C 0022D58C DB 81 00 B0 */ stfd f28, 0xb0(r1) /* 80230630 0022D590 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 /* 80230634 0022D594 DB 61 00 A0 */ stfd f27, 0xa0(r1) /* 80230638 0022D598 F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 /* 8023063C 0022D59C DB 41 00 90 */ stfd f26, 0x90(r1) /* 80230640 0022D5A0 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 /* 80230644 0022D5A4 DB 21 00 80 */ stfd f25, 0x80(r1) /* 80230648 0022D5A8 F3 21 00 88 */ psq_st f25, 136(r1), 0, qr0 /* 8023064C 0022D5AC DB 01 00 70 */ stfd f24, 0x70(r1) /* 80230650 0022D5B0 F3 01 00 78 */ psq_st f24, 120(r1), 0, qr0 /* 80230654 0022D5B4 DA E1 00 60 */ stfd f23, 0x60(r1) /* 80230658 0022D5B8 F2 E1 00 68 */ psq_st f23, 104(r1), 0, qr0 /* 8023065C 0022D5BC DA C1 00 50 */ stfd f22, 0x50(r1) /* 80230660 0022D5C0 F2 C1 00 58 */ psq_st f22, 88(r1), 0, qr0 /* 80230664 0022D5C4 DA A1 00 40 */ stfd f21, 0x40(r1) /* 80230668 0022D5C8 F2 A1 00 48 */ psq_st f21, 72(r1), 0, qr0 /* 8023066C 0022D5CC DA 81 00 30 */ stfd f20, 0x30(r1) /* 80230670 0022D5D0 F2 81 00 38 */ psq_st f20, 56(r1), 0, qr0 /* 80230674 0022D5D4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80230678 0022D5D8 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023067C 0022D5DC 93 A1 00 24 */ stw r29, 0x24(r1) /* 80230680 0022D5E0 7C BD 2B 78 */ mr r29, r5 /* 80230684 0022D5E4 C0 42 B6 90 */ lfs f2, lbl_805AD3B0@sda21(r2) /* 80230688 0022D5E8 C0 65 00 08 */ lfs f3, 8(r5) /* 8023068C 0022D5EC 7C 68 1B 78 */ mr r8, r3 /* 80230690 0022D5F0 C0 25 00 0C */ lfs f1, 0xc(r5) /* 80230694 0022D5F4 7C DE 33 78 */ mr r30, r6 /* 80230698 0022D5F8 C0 0D 95 F0 */ lfs f0, lbl_805A81B0@sda21(r13) /* 8023069C 0022D5FC FF 80 18 90 */ fmr f28, f3 /* 802306A0 0022D600 EC 21 18 28 */ fsubs f1, f1, f3 /* 802306A4 0022D604 C3 65 00 00 */ lfs f27, 0(r5) /* 802306A8 0022D608 C3 42 B6 8C */ lfs f26, lbl_805AD3AC@sda21(r2) /* 802306AC 0022D60C 7C FF 3B 78 */ mr r31, r7 /* 802306B0 0022D610 EC 22 00 72 */ fmuls f1, f2, f1 /* 802306B4 0022D614 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802306B8 0022D618 D0 21 00 08 */ stfs f1, 8(r1) /* 802306BC 0022D61C 40 80 00 0C */ bge lbl_802306C8 /* 802306C0 0022D620 38 A1 00 08 */ addi r5, r1, 8 /* 802306C4 0022D624 48 00 00 08 */ b lbl_802306CC lbl_802306C8: /* 802306C8 0022D628 38 AD 95 F0 */ addi r5, r13, lbl_805A81B0@sda21 lbl_802306CC: /* 802306CC 0022D62C C0 48 00 08 */ lfs f2, 8(r8) /* 802306D0 0022D630 38 61 00 0C */ addi r3, r1, 0xc /* 802306D4 0022D634 C0 04 00 08 */ lfs f0, 8(r4) /* 802306D8 0022D638 C0 68 00 00 */ lfs f3, 0(r8) /* 802306DC 0022D63C C0 24 00 00 */ lfs f1, 0(r4) /* 802306E0 0022D640 EF C2 00 28 */ fsubs f30, f2, f0 /* 802306E4 0022D644 C0 48 00 04 */ lfs f2, 4(r8) /* 802306E8 0022D648 C0 04 00 04 */ lfs f0, 4(r4) /* 802306EC 0022D64C EC 23 08 28 */ fsubs f1, f3, f1 /* 802306F0 0022D650 C3 25 00 00 */ lfs f25, 0(r5) /* 802306F4 0022D654 EC 42 00 28 */ fsubs f2, f2, f0 /* 802306F8 0022D658 48 0E 3B 09 */ bl __ct__9CVector2fFff /* 802306FC 0022D65C C0 21 00 0C */ lfs f1, 0xc(r1) /* 80230700 0022D660 38 61 00 14 */ addi r3, r1, 0x14 /* 80230704 0022D664 C0 01 00 10 */ lfs f0, 0x10(r1) /* 80230708 0022D668 D0 21 00 14 */ stfs f1, 0x14(r1) /* 8023070C 0022D66C D0 01 00 18 */ stfs f0, 0x18(r1) /* 80230710 0022D670 48 0E 39 E5 */ bl Magnitude__9CVector2fCFv /* 80230714 0022D674 C0 42 B6 94 */ lfs f2, lbl_805AD3B4@sda21(r2) /* 80230718 0022D678 FF E0 08 90 */ fmr f31, f1 /* 8023071C 0022D67C C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) /* 80230720 0022D680 C0 3D 00 00 */ lfs f1, 0(r29) /* 80230724 0022D684 EC 02 00 32 */ fmuls f0, f2, f0 /* 80230728 0022D688 C0 5D 00 04 */ lfs f2, 4(r29) /* 8023072C 0022D68C EF 01 00 72 */ fmuls f24, f1, f1 /* 80230730 0022D690 C2 DD 00 08 */ lfs f22, 8(r29) /* 80230734 0022D694 EE E2 00 B2 */ fmuls f23, f2, f2 /* 80230738 0022D698 C2 A2 B6 98 */ lfs f21, lbl_805AD3B8@sda21(r2) /* 8023073C 0022D69C EC 00 07 F2 */ fmuls f0, f0, f31 /* 80230740 0022D6A0 EF BF 00 32 */ fmuls f29, f31, f0 /* 80230744 0022D6A4 48 00 00 8C */ b lbl_802307D0 lbl_80230748: /* 80230748 0022D6A8 FC 20 B0 90 */ fmr f1, f22 /* 8023074C 0022D6AC 48 0E 45 F9 */ bl FastCosR__5CMathFf /* 80230750 0022D6B0 FE 80 08 90 */ fmr f20, f1 /* 80230754 0022D6B4 FC 20 B0 90 */ fmr f1, f22 /* 80230758 0022D6B8 48 0E 46 99 */ bl FastSinR__5CMathFf /* 8023075C 0022D6BC EC 14 05 32 */ fmuls f0, f20, f20 /* 80230760 0022D6C0 EC 34 00 72 */ fmuls f1, f20, f1 /* 80230764 0022D6C4 EC 1E 00 32 */ fmuls f0, f30, f0 /* 80230768 0022D6C8 EC 1F 00 78 */ fmsubs f0, f31, f1, f0 /* 8023076C 0022D6CC FC 00 A8 40 */ fcmpo cr0, f0, f21 /* 80230770 0022D6D0 40 81 00 5C */ ble lbl_802307CC /* 80230774 0022D6D4 EC 3D 00 24 */ fdivs f1, f29, f0 /* 80230778 0022D6D8 FC 01 C0 40 */ fcmpo cr0, f1, f24 /* 8023077C 0022D6DC 4C 41 13 82 */ cror 2, 1, 2 /* 80230780 0022D6E0 40 82 00 20 */ bne lbl_802307A0 /* 80230784 0022D6E4 FC 01 B8 40 */ fcmpo cr0, f1, f23 /* 80230788 0022D6E8 4C 40 13 82 */ cror 2, 0, 2 /* 8023078C 0022D6EC 40 82 00 14 */ bne lbl_802307A0 /* 80230790 0022D6F0 FF 80 B0 90 */ fmr f28, f22 /* 80230794 0022D6F4 48 0E 4D 6D */ bl SqrtF__5CMathFf /* 80230798 0022D6F8 FF 60 08 90 */ fmr f27, f1 /* 8023079C 0022D6FC 48 00 00 44 */ b lbl_802307E0 lbl_802307A0: /* 802307A0 0022D700 FC 01 B8 40 */ fcmpo cr0, f1, f23 /* 802307A4 0022D704 40 81 00 0C */ ble lbl_802307B0 /* 802307A8 0022D708 EE 81 B8 28 */ fsubs f20, f1, f23 /* 802307AC 0022D70C 48 00 00 08 */ b lbl_802307B4 lbl_802307B0: /* 802307B0 0022D710 EE 98 08 28 */ fsubs f20, f24, f1 lbl_802307B4: /* 802307B4 0022D714 FC 14 D0 40 */ fcmpo cr0, f20, f26 /* 802307B8 0022D718 40 80 00 14 */ bge lbl_802307CC /* 802307BC 0022D71C FF 80 B0 90 */ fmr f28, f22 /* 802307C0 0022D720 48 0E 4D 41 */ bl SqrtF__5CMathFf /* 802307C4 0022D724 FF 40 A0 90 */ fmr f26, f20 /* 802307C8 0022D728 FF 60 08 90 */ fmr f27, f1 lbl_802307CC: /* 802307CC 0022D72C EE D6 C8 2A */ fadds f22, f22, f25 lbl_802307D0: /* 802307D0 0022D730 C0 1D 00 0C */ lfs f0, 0xc(r29) /* 802307D4 0022D734 FC 16 00 40 */ fcmpo cr0, f22, f0 /* 802307D8 0022D738 4C 40 13 82 */ cror 2, 0, 2 /* 802307DC 0022D73C 41 82 FF 6C */ beq lbl_80230748 lbl_802307E0: /* 802307E0 0022D740 D3 9E 00 00 */ stfs f28, 0(r30) /* 802307E4 0022D744 D3 7F 00 00 */ stfs f27, 0(r31) /* 802307E8 0022D748 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 802307EC 0022D74C CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 802307F0 0022D750 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 802307F4 0022D754 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 802307F8 0022D758 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 /* 802307FC 0022D75C CB A1 00 C0 */ lfd f29, 0xc0(r1) /* 80230800 0022D760 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 /* 80230804 0022D764 CB 81 00 B0 */ lfd f28, 0xb0(r1) /* 80230808 0022D768 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 /* 8023080C 0022D76C CB 61 00 A0 */ lfd f27, 0xa0(r1) /* 80230810 0022D770 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 /* 80230814 0022D774 CB 41 00 90 */ lfd f26, 0x90(r1) /* 80230818 0022D778 E3 21 00 88 */ psq_l f25, 136(r1), 0, qr0 /* 8023081C 0022D77C CB 21 00 80 */ lfd f25, 0x80(r1) /* 80230820 0022D780 E3 01 00 78 */ psq_l f24, 120(r1), 0, qr0 /* 80230824 0022D784 CB 01 00 70 */ lfd f24, 0x70(r1) /* 80230828 0022D788 E2 E1 00 68 */ psq_l f23, 104(r1), 0, qr0 /* 8023082C 0022D78C CA E1 00 60 */ lfd f23, 0x60(r1) /* 80230830 0022D790 E2 C1 00 58 */ psq_l f22, 88(r1), 0, qr0 /* 80230834 0022D794 CA C1 00 50 */ lfd f22, 0x50(r1) /* 80230838 0022D798 E2 A1 00 48 */ psq_l f21, 72(r1), 0, qr0 /* 8023083C 0022D79C CA A1 00 40 */ lfd f21, 0x40(r1) /* 80230840 0022D7A0 E2 81 00 38 */ psq_l f20, 56(r1), 0, qr0 /* 80230844 0022D7A4 CA 81 00 30 */ lfd f20, 0x30(r1) /* 80230848 0022D7A8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023084C 0022D7AC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80230850 0022D7B0 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80230854 0022D7B4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80230858 0022D7B8 7C 08 03 A6 */ mtlr r0 /* 8023085C 0022D7BC 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80230860 0022D7C0 4E 80 00 20 */ blr .global sub_80230864 sub_80230864: /* 80230864 0022D7C4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80230868 0022D7C8 7C 08 02 A6 */ mflr r0 /* 8023086C 0022D7CC 90 01 00 54 */ stw r0, 0x54(r1) /* 80230870 0022D7D0 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80230874 0022D7D4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80230878 0022D7D8 DB C1 00 30 */ stfd f30, 0x30(r1) /* 8023087C 0022D7DC F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 80230880 0022D7E0 DB A1 00 20 */ stfd f29, 0x20(r1) /* 80230884 0022D7E4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 /* 80230888 0022D7E8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023088C 0022D7EC 93 C1 00 18 */ stw r30, 0x18(r1) /* 80230890 0022D7F0 7C 9F 23 78 */ mr r31, r4 /* 80230894 0022D7F4 7C 7E 1B 78 */ mr r30, r3 /* 80230898 0022D7F8 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8023089C 0022D7FC 7F E5 FB 78 */ mr r5, r31 /* 802308A0 0022D800 38 61 00 08 */ addi r3, r1, 8 /* 802308A4 0022D804 C0 22 B6 6C */ lfs f1, lbl_805AD38C@sda21(r2) /* 802308A8 0022D808 81 84 00 00 */ lwz r12, 0(r4) /* 802308AC 0022D80C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802308B0 0022D810 7D 89 03 A6 */ mtctr r12 /* 802308B4 0022D814 4E 80 04 21 */ bctrl /* 802308B8 0022D818 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 802308BC 0022D81C C3 E1 00 08 */ lfs f31, 8(r1) /* 802308C0 0022D820 80 03 02 F8 */ lwz r0, 0x2f8(r3) /* 802308C4 0022D824 C3 C1 00 0C */ lfs f30, 0xc(r1) /* 802308C8 0022D828 2C 00 00 00 */ cmpwi r0, 0 /* 802308CC 0022D82C C3 A1 00 10 */ lfs f29, 0x10(r1) /* 802308D0 0022D830 40 82 00 20 */ bne lbl_802308F0 /* 802308D4 0022D834 48 05 45 0D */ bl GetEyeHeight__7CPlayerCFv /* 802308D8 0022D838 C0 42 B6 94 */ lfs f2, lbl_805AD3B4@sda21(r2) /* 802308DC 0022D83C C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 802308E0 0022D840 EC 22 00 72 */ fmuls f1, f2, f1 /* 802308E4 0022D844 EF FF 00 28 */ fsubs f31, f31, f0 /* 802308E8 0022D848 EF DE 00 28 */ fsubs f30, f30, f0 /* 802308EC 0022D84C EF BD 08 28 */ fsubs f29, f29, f1 lbl_802308F0: /* 802308F0 0022D850 D3 FE 00 00 */ stfs f31, 0(r30) /* 802308F4 0022D854 D3 DE 00 04 */ stfs f30, 4(r30) /* 802308F8 0022D858 D3 BE 00 08 */ stfs f29, 8(r30) /* 802308FC 0022D85C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80230900 0022D860 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80230904 0022D864 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 80230908 0022D868 CB C1 00 30 */ lfd f30, 0x30(r1) /* 8023090C 0022D86C E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 /* 80230910 0022D870 CB A1 00 20 */ lfd f29, 0x20(r1) /* 80230914 0022D874 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80230918 0022D878 80 01 00 54 */ lwz r0, 0x54(r1) /* 8023091C 0022D87C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80230920 0022D880 7C 08 03 A6 */ mtlr r0 /* 80230924 0022D884 38 21 00 50 */ addi r1, r1, 0x50 /* 80230928 0022D888 4E 80 00 20 */ blr .global GetCollisionPrimitive__16CGrenadeLauncherCFv GetCollisionPrimitive__16CGrenadeLauncherCFv: /* 8023092C 0022D88C 38 63 03 28 */ addi r3, r3, 0x328 /* 80230930 0022D890 4E 80 00 20 */ blr .global GetTouchBounds__16CGrenadeLauncherCFv GetTouchBounds__16CGrenadeLauncherCFv: /* 80230934 0022D894 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80230938 0022D898 7C 08 02 A6 */ mflr r0 /* 8023093C 0022D89C 7C 85 23 78 */ mr r5, r4 /* 80230940 0022D8A0 90 01 00 34 */ stw r0, 0x34(r1) /* 80230944 0022D8A4 38 85 03 28 */ addi r4, r5, 0x328 /* 80230948 0022D8A8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023094C 0022D8AC 7C 7F 1B 78 */ mr r31, r3 /* 80230950 0022D8B0 38 61 00 08 */ addi r3, r1, 8 /* 80230954 0022D8B4 81 85 03 28 */ lwz r12, 0x328(r5) /* 80230958 0022D8B8 38 A5 00 34 */ addi r5, r5, 0x34 /* 8023095C 0022D8BC 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80230960 0022D8C0 7D 89 03 A6 */ mtctr r12 /* 80230964 0022D8C4 4E 80 04 21 */ bctrl /* 80230968 0022D8C8 38 00 00 01 */ li r0, 1 /* 8023096C 0022D8CC 28 1F 00 00 */ cmplwi r31, 0 /* 80230970 0022D8D0 98 1F 00 18 */ stb r0, 0x18(r31) /* 80230974 0022D8D4 41 82 00 34 */ beq lbl_802309A8 /* 80230978 0022D8D8 C0 01 00 08 */ lfs f0, 8(r1) /* 8023097C 0022D8DC D0 1F 00 00 */ stfs f0, 0(r31) /* 80230980 0022D8E0 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80230984 0022D8E4 D0 1F 00 04 */ stfs f0, 4(r31) /* 80230988 0022D8E8 C0 01 00 10 */ lfs f0, 0x10(r1) /* 8023098C 0022D8EC D0 1F 00 08 */ stfs f0, 8(r31) /* 80230990 0022D8F0 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80230994 0022D8F4 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 80230998 0022D8F8 C0 01 00 18 */ lfs f0, 0x18(r1) /* 8023099C 0022D8FC D0 1F 00 10 */ stfs f0, 0x10(r31) /* 802309A0 0022D900 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 802309A4 0022D904 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_802309A8: /* 802309A8 0022D908 80 01 00 34 */ lwz r0, 0x34(r1) /* 802309AC 0022D90C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802309B0 0022D910 7C 08 03 A6 */ mtlr r0 /* 802309B4 0022D914 38 21 00 30 */ addi r1, r1, 0x30 /* 802309B8 0022D918 4E 80 00 20 */ blr .global Touch__16CGrenadeLauncherFR6CActorR13CStateManager Touch__16CGrenadeLauncherFR6CActorR13CStateManager: /* 802309BC 0022D91C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802309C0 0022D920 7C 08 02 A6 */ mflr r0 /* 802309C4 0022D924 90 01 00 44 */ stw r0, 0x44(r1) /* 802309C8 0022D928 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802309CC 0022D92C 93 C1 00 38 */ stw r30, 0x38(r1) /* 802309D0 0022D930 7C BE 2B 78 */ mr r30, r5 /* 802309D4 0022D934 93 A1 00 34 */ stw r29, 0x34(r1) /* 802309D8 0022D938 7C 7D 1B 78 */ mr r29, r3 /* 802309DC 0022D93C 38 61 00 14 */ addi r3, r1, 0x14 /* 802309E0 0022D940 4B E7 CD 99 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" /* 802309E4 0022D944 83 E3 00 04 */ lwz r31, 4(r3) /* 802309E8 0022D948 28 1F 00 00 */ cmplwi r31, 0 /* 802309EC 0022D94C 41 82 00 B0 */ beq lbl_80230A9C /* 802309F0 0022D950 80 7E 08 4C */ lwz r3, 0x84c(r30) /* 802309F4 0022D954 A0 9F 00 EC */ lhz r4, 0xec(r31) /* 802309F8 0022D958 A0 03 00 08 */ lhz r0, 8(r3) /* 802309FC 0022D95C 7C 04 00 40 */ cmplw r4, r0 /* 80230A00 0022D960 40 82 00 9C */ bne lbl_80230A9C /* 80230A04 0022D964 7F A3 EB 78 */ mr r3, r29 /* 80230A08 0022D968 81 9D 00 00 */ lwz r12, 0(r29) /* 80230A0C 0022D96C 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80230A10 0022D970 7D 89 03 A6 */ mtctr r12 /* 80230A14 0022D974 4E 80 04 21 */ bctrl /* 80230A18 0022D978 80 9F 00 F0 */ lwz r4, 0xf0(r31) /* 80230A1C 0022D97C 38 E0 00 00 */ li r7, 0 /* 80230A20 0022D980 88 01 00 20 */ lbz r0, 0x20(r1) /* 80230A24 0022D984 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 80230A28 0022D988 90 81 00 1C */ stw r4, 0x1c(r1) /* 80230A2C 0022D98C 38 81 00 1C */ addi r4, r1, 0x1c /* 80230A30 0022D990 54 06 06 3E */ clrlwi r6, r0, 0x18 /* 80230A34 0022D994 38 A0 00 00 */ li r5, 0 /* 80230A38 0022D998 50 E6 36 72 */ rlwimi r6, r7, 6, 0x19, 0x19 /* 80230A3C 0022D99C 98 01 00 20 */ stb r0, 0x20(r1) /* 80230A40 0022D9A0 54 C0 06 3E */ clrlwi r0, r6, 0x18 /* 80230A44 0022D9A4 98 C1 00 20 */ stb r6, 0x20(r1) /* 80230A48 0022D9A8 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a /* 80230A4C 0022D9AC 98 01 00 20 */ stb r0, 0x20(r1) /* 80230A50 0022D9B0 4B ED 1C B9 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode /* 80230A54 0022D9B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80230A58 0022D9B8 41 82 00 44 */ beq lbl_80230A9C /* 80230A5C 0022D9BC C0 02 B6 94 */ lfs f0, lbl_805AD3B4@sda21(r2) /* 80230A60 0022D9C0 7F C3 F3 78 */ mr r3, r30 /* 80230A64 0022D9C4 38 81 00 10 */ addi r4, r1, 0x10 /* 80230A68 0022D9C8 D0 1D 03 48 */ stfs f0, 0x348(r29) /* 80230A6C 0022D9CC A0 1D 02 CC */ lhz r0, 0x2cc(r29) /* 80230A70 0022D9D0 B0 01 00 10 */ sth r0, 0x10(r1) /* 80230A74 0022D9D4 4B E1 BB 01 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80230A78 0022D9D8 7C 64 1B 79 */ or. r4, r3, r3 /* 80230A7C 0022D9DC 41 82 00 20 */ beq lbl_80230A9C /* 80230A80 0022D9E0 A0 1D 00 08 */ lhz r0, 8(r29) /* 80230A84 0022D9E4 7F C3 F3 78 */ mr r3, r30 /* 80230A88 0022D9E8 38 A1 00 0C */ addi r5, r1, 0xc /* 80230A8C 0022D9EC 38 C0 00 1E */ li r6, 0x1e /* 80230A90 0022D9F0 B0 01 00 08 */ sth r0, 8(r1) /* 80230A94 0022D9F4 B0 01 00 0C */ sth r0, 0xc(r1) /* 80230A98 0022D9F8 4B E1 34 39 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_80230A9C: /* 80230A9C 0022D9FC 80 01 00 44 */ lwz r0, 0x44(r1) /* 80230AA0 0022DA00 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80230AA4 0022DA04 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80230AA8 0022DA08 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80230AAC 0022DA0C 7C 08 03 A6 */ mtlr r0 /* 80230AB0 0022DA10 38 21 00 40 */ addi r1, r1, 0x40 /* 80230AB4 0022DA14 4E 80 00 20 */ blr .global AddToRenderer__16CGrenadeLauncherCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__16CGrenadeLauncherCFRC14CFrustumPlanesRC13CStateManager: /* 80230AB8 0022DA18 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80230ABC 0022DA1C 7C 08 02 A6 */ mflr r0 /* 80230AC0 0022DA20 90 01 00 14 */ stw r0, 0x14(r1) /* 80230AC4 0022DA24 4B E2 40 75 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager /* 80230AC8 0022DA28 80 01 00 14 */ lwz r0, 0x14(r1) /* 80230ACC 0022DA2C 7C 08 03 A6 */ mtlr r0 /* 80230AD0 0022DA30 38 21 00 10 */ addi r1, r1, 0x10 /* 80230AD4 0022DA34 4E 80 00 20 */ blr .global PreRender__16CGrenadeLauncherFR13CStateManagerRC14CFrustumPlanes PreRender__16CGrenadeLauncherFR13CStateManagerRC14CFrustumPlanes: /* 80230AD8 0022DA38 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80230ADC 0022DA3C 7C 08 02 A6 */ mflr r0 /* 80230AE0 0022DA40 90 01 00 24 */ stw r0, 0x24(r1) /* 80230AE4 0022DA44 88 03 03 F7 */ lbz r0, 0x3f7(r3) /* 80230AE8 0022DA48 28 00 00 FF */ cmplwi r0, 0xff /* 80230AEC 0022DA4C 40 82 00 48 */ bne lbl_80230B34 /* 80230AF0 0022DA50 88 03 03 F4 */ lbz r0, 0x3f4(r3) /* 80230AF4 0022DA54 39 00 00 FF */ li r8, 0xff /* 80230AF8 0022DA58 89 43 03 F5 */ lbz r10, 0x3f5(r3) /* 80230AFC 0022DA5C 38 E0 00 02 */ li r7, 2 /* 80230B00 0022DA60 89 23 03 F6 */ lbz r9, 0x3f6(r3) /* 80230B04 0022DA64 38 C0 00 00 */ li r6, 0 /* 80230B08 0022DA68 98 01 00 08 */ stb r0, 8(r1) /* 80230B0C 0022DA6C 38 00 00 03 */ li r0, 3 /* 80230B10 0022DA70 98 E3 00 B4 */ stb r7, 0xb4(r3) /* 80230B14 0022DA74 98 C3 00 B5 */ stb r6, 0xb5(r3) /* 80230B18 0022DA78 99 41 00 09 */ stb r10, 9(r1) /* 80230B1C 0022DA7C 99 21 00 0A */ stb r9, 0xa(r1) /* 80230B20 0022DA80 99 01 00 0B */ stb r8, 0xb(r1) /* 80230B24 0022DA84 B0 03 00 B6 */ sth r0, 0xb6(r3) /* 80230B28 0022DA88 80 01 00 08 */ lwz r0, 8(r1) /* 80230B2C 0022DA8C 90 03 00 B8 */ stw r0, 0xb8(r3) /* 80230B30 0022DA90 48 00 00 3C */ b lbl_80230B6C lbl_80230B34: /* 80230B34 0022DA94 80 C3 03 F4 */ lwz r6, 0x3f4(r3) /* 80230B38 0022DA98 39 20 00 05 */ li r9, 5 /* 80230B3C 0022DA9C 38 E0 00 03 */ li r7, 3 /* 80230B40 0022DAA0 39 00 00 00 */ li r8, 0 /* 80230B44 0022DAA4 99 23 00 B4 */ stb r9, 0xb4(r3) /* 80230B48 0022DAA8 54 E0 00 3A */ rlwinm r0, r7, 0, 0, 0x1d /* 80230B4C 0022DAAC 60 00 00 03 */ ori r0, r0, 3 /* 80230B50 0022DAB0 99 03 00 B5 */ stb r8, 0xb5(r3) /* 80230B54 0022DAB4 B0 03 00 B6 */ sth r0, 0xb6(r3) /* 80230B58 0022DAB8 99 21 00 0C */ stb r9, 0xc(r1) /* 80230B5C 0022DABC 99 01 00 0D */ stb r8, 0xd(r1) /* 80230B60 0022DAC0 B0 E1 00 0E */ sth r7, 0xe(r1) /* 80230B64 0022DAC4 90 C1 00 10 */ stw r6, 0x10(r1) /* 80230B68 0022DAC8 90 C3 00 B8 */ stw r6, 0xb8(r3) lbl_80230B6C: /* 80230B6C 0022DACC 4B E2 41 75 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes /* 80230B70 0022DAD0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80230B74 0022DAD4 7C 08 03 A6 */ mtlr r0 /* 80230B78 0022DAD8 38 21 00 20 */ addi r1, r1, 0x20 /* 80230B7C 0022DADC 4E 80 00 20 */ blr .global Render__16CGrenadeLauncherCFRC13CStateManager Render__16CGrenadeLauncherCFRC13CStateManager: /* 80230B80 0022DAE0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80230B84 0022DAE4 7C 08 02 A6 */ mflr r0 /* 80230B88 0022DAE8 90 01 00 14 */ stw r0, 0x14(r1) /* 80230B8C 0022DAEC 88 03 03 FD */ lbz r0, 0x3fd(r3) /* 80230B90 0022DAF0 28 00 00 00 */ cmplwi r0, 0 /* 80230B94 0022DAF4 41 82 00 08 */ beq lbl_80230B9C /* 80230B98 0022DAF8 4B EE 99 51 */ bl Render__13CPhysicsActorCFRC13CStateManager lbl_80230B9C: /* 80230B9C 0022DAFC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80230BA0 0022DB00 7C 08 03 A6 */ mtlr r0 /* 80230BA4 0022DB04 38 21 00 10 */ addi r1, r1, 0x10 /* 80230BA8 0022DB08 4E 80 00 20 */ blr .global Accept__16CGrenadeLauncherFR8IVisitor Accept__16CGrenadeLauncherFR8IVisitor: /* 80230BAC 0022DB0C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80230BB0 0022DB10 7C 08 02 A6 */ mflr r0 /* 80230BB4 0022DB14 90 01 00 14 */ stw r0, 0x14(r1) /* 80230BB8 0022DB18 7C 60 1B 78 */ mr r0, r3 /* 80230BBC 0022DB1C 7C 83 23 78 */ mr r3, r4 /* 80230BC0 0022DB20 81 84 00 00 */ lwz r12, 0(r4) /* 80230BC4 0022DB24 7C 04 03 78 */ mr r4, r0 /* 80230BC8 0022DB28 81 8C 00 50 */ lwz r12, 0x50(r12) /* 80230BCC 0022DB2C 7D 89 03 A6 */ mtctr r12 /* 80230BD0 0022DB30 4E 80 04 21 */ bctrl /* 80230BD4 0022DB34 80 01 00 14 */ lwz r0, 0x14(r1) /* 80230BD8 0022DB38 7C 08 03 A6 */ mtlr r0 /* 80230BDC 0022DB3C 38 21 00 10 */ addi r1, r1, 0x10 /* 80230BE0 0022DB40 4E 80 00 20 */ blr .global AcceptScriptMsg__16CGrenadeLauncherF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__16CGrenadeLauncherF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80230BE4 0022DB44 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80230BE8 0022DB48 7C 08 02 A6 */ mflr r0 /* 80230BEC 0022DB4C 90 01 00 24 */ stw r0, 0x24(r1) /* 80230BF0 0022DB50 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80230BF4 0022DB54 7C 7F 1B 78 */ mr r31, r3 /* 80230BF8 0022DB58 93 C1 00 18 */ stw r30, 0x18(r1) /* 80230BFC 0022DB5C 7C BE 2B 78 */ mr r30, r5 /* 80230C00 0022DB60 93 A1 00 14 */ stw r29, 0x14(r1) /* 80230C04 0022DB64 7C 9D 23 78 */ mr r29, r4 /* 80230C08 0022DB68 A0 05 00 00 */ lhz r0, 0(r5) /* 80230C0C 0022DB6C 38 A1 00 08 */ addi r5, r1, 8 /* 80230C10 0022DB70 B0 01 00 08 */ sth r0, 8(r1) /* 80230C14 0022DB74 4B E2 2A 01 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80230C18 0022DB78 38 1D FF F2 */ addi r0, r29, -14 /* 80230C1C 0022DB7C 28 00 00 1B */ cmplwi r0, 0x1b /* 80230C20 0022DB80 41 81 00 B8 */ bgt lbl_80230CD8 /* 80230C24 0022DB84 3C 60 80 3E */ lis r3, lbl_803E7FDC@ha /* 80230C28 0022DB88 54 00 10 3A */ slwi r0, r0, 2 /* 80230C2C 0022DB8C 38 63 7F DC */ addi r3, r3, lbl_803E7FDC@l /* 80230C30 0022DB90 7C 03 00 2E */ lwzx r0, r3, r0 /* 80230C34 0022DB94 7C 09 03 A6 */ mtctr r0 /* 80230C38 0022DB98 4E 80 04 20 */ bctr /* 80230C3C 0022DB9C 7F E3 FB 78 */ mr r3, r31 /* 80230C40 0022DBA0 4B FF F7 F9 */ bl sub_80230438 /* 80230C44 0022DBA4 48 00 00 94 */ b lbl_80230CD8 /* 80230C48 0022DBA8 A0 7E 00 00 */ lhz r3, 0(r30) /* 80230C4C 0022DBAC A0 1F 02 CC */ lhz r0, 0x2cc(r31) /* 80230C50 0022DBB0 7C 03 00 40 */ cmplw r3, r0 /* 80230C54 0022DBB4 40 82 00 84 */ bne lbl_80230CD8 /* 80230C58 0022DBB8 80 1F 02 58 */ lwz r0, 0x258(r31) /* 80230C5C 0022DBBC 2C 00 00 01 */ cmpwi r0, 1 /* 80230C60 0022DBC0 41 82 00 78 */ beq lbl_80230CD8 /* 80230C64 0022DBC4 38 00 00 01 */ li r0, 1 /* 80230C68 0022DBC8 7F E3 FB 78 */ mr r3, r31 /* 80230C6C 0022DBCC 90 1F 02 58 */ stw r0, 0x258(r31) /* 80230C70 0022DBD0 4B FF F7 C9 */ bl sub_80230438 /* 80230C74 0022DBD4 48 00 00 64 */ b lbl_80230CD8 /* 80230C78 0022DBD8 A0 7E 00 00 */ lhz r3, 0(r30) /* 80230C7C 0022DBDC A0 1F 02 CC */ lhz r0, 0x2cc(r31) /* 80230C80 0022DBE0 7C 03 00 40 */ cmplw r3, r0 /* 80230C84 0022DBE4 40 82 00 54 */ bne lbl_80230CD8 /* 80230C88 0022DBE8 80 1F 02 58 */ lwz r0, 0x258(r31) /* 80230C8C 0022DBEC 2C 00 00 00 */ cmpwi r0, 0 /* 80230C90 0022DBF0 41 82 00 48 */ beq lbl_80230CD8 /* 80230C94 0022DBF4 38 00 00 00 */ li r0, 0 /* 80230C98 0022DBF8 7F E3 FB 78 */ mr r3, r31 /* 80230C9C 0022DBFC 90 1F 02 58 */ stw r0, 0x258(r31) /* 80230CA0 0022DC00 4B FF F7 99 */ bl sub_80230438 /* 80230CA4 0022DC04 48 00 00 34 */ b lbl_80230CD8 /* 80230CA8 0022DC08 A0 7E 00 00 */ lhz r3, 0(r30) /* 80230CAC 0022DC0C A0 1F 02 CC */ lhz r0, 0x2cc(r31) /* 80230CB0 0022DC10 7C 03 00 40 */ cmplw r3, r0 /* 80230CB4 0022DC14 40 82 00 24 */ bne lbl_80230CD8 /* 80230CB8 0022DC18 80 1F 02 58 */ lwz r0, 0x258(r31) /* 80230CBC 0022DC1C 2C 00 00 01 */ cmpwi r0, 1 /* 80230CC0 0022DC20 40 82 00 18 */ bne lbl_80230CD8 /* 80230CC4 0022DC24 38 00 00 01 */ li r0, 1 /* 80230CC8 0022DC28 98 1F 03 FC */ stb r0, 0x3fc(r31) /* 80230CCC 0022DC2C 48 00 00 0C */ b lbl_80230CD8 /* 80230CD0 0022DC30 C0 02 B6 68 */ lfs f0, lbl_805AD388@sda21(r2) /* 80230CD4 0022DC34 D0 1F 03 EC */ stfs f0, 0x3ec(r31) lbl_80230CD8: /* 80230CD8 0022DC38 80 01 00 24 */ lwz r0, 0x24(r1) /* 80230CDC 0022DC3C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80230CE0 0022DC40 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80230CE4 0022DC44 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80230CE8 0022DC48 7C 08 03 A6 */ mtlr r0 /* 80230CEC 0022DC4C 38 21 00 20 */ addi r1, r1, 0x20 /* 80230CF0 0022DC50 4E 80 00 20 */ blr .global Think__16CGrenadeLauncherFfR13CStateManager Think__16CGrenadeLauncherFfR13CStateManager: /* 80230CF4 0022DC54 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80230CF8 0022DC58 7C 08 02 A6 */ mflr r0 /* 80230CFC 0022DC5C 90 01 00 84 */ stw r0, 0x84(r1) /* 80230D00 0022DC60 DB E1 00 70 */ stfd f31, 0x70(r1) /* 80230D04 0022DC64 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80230D08 0022DC68 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80230D0C 0022DC6C 93 C1 00 68 */ stw r30, 0x68(r1) /* 80230D10 0022DC70 93 A1 00 64 */ stw r29, 0x64(r1) /* 80230D14 0022DC74 88 03 00 30 */ lbz r0, 0x30(r3) /* 80230D18 0022DC78 FF E0 08 90 */ fmr f31, f1 /* 80230D1C 0022DC7C 7C 7D 1B 78 */ mr r29, r3 /* 80230D20 0022DC80 7C 9E 23 78 */ mr r30, r4 /* 80230D24 0022DC84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80230D28 0022DC88 41 82 01 68 */ beq lbl_80230E90 /* 80230D2C 0022DC8C 88 1D 03 FC */ lbz r0, 0x3fc(r29) /* 80230D30 0022DC90 28 00 00 00 */ cmplwi r0, 0 /* 80230D34 0022DC94 41 82 00 10 */ beq lbl_80230D44 /* 80230D38 0022DC98 4B FF F1 E5 */ bl sub_8022ff1c /* 80230D3C 0022DC9C 38 00 00 00 */ li r0, 0 /* 80230D40 0022DCA0 98 1D 03 FC */ stb r0, 0x3fc(r29) lbl_80230D44: /* 80230D44 0022DCA4 7F A3 EB 78 */ mr r3, r29 /* 80230D48 0022DCA8 4B FF F1 41 */ bl sub_8022fe88 /* 80230D4C 0022DCAC FC 20 F8 90 */ fmr f1, f31 /* 80230D50 0022DCB0 7F A3 EB 78 */ mr r3, r29 /* 80230D54 0022DCB4 4B FF EB C9 */ bl sub_8022f91c /* 80230D58 0022DCB8 FC 20 F8 90 */ fmr f1, f31 /* 80230D5C 0022DCBC 7F A3 EB 78 */ mr r3, r29 /* 80230D60 0022DCC0 7F C4 F3 78 */ mr r4, r30 /* 80230D64 0022DCC4 4B FF EC 7D */ bl sub_8022f9e0 /* 80230D68 0022DCC8 FC 20 F8 90 */ fmr f1, f31 /* 80230D6C 0022DCCC 7F A3 EB 78 */ mr r3, r29 /* 80230D70 0022DCD0 4B FF E9 2D */ bl sub_8022f69c /* 80230D74 0022DCD4 FC 20 F8 90 */ fmr f1, f31 /* 80230D78 0022DCD8 7F A4 EB 78 */ mr r4, r29 /* 80230D7C 0022DCDC 7F C5 F3 78 */ mr r5, r30 /* 80230D80 0022DCE0 38 61 00 24 */ addi r3, r1, 0x24 /* 80230D84 0022DCE4 38 C0 00 01 */ li r6, 1 /* 80230D88 0022DCE8 4B E2 45 15 */ bl UpdateAnimation__6CActorFfR13CStateManagerb /* 80230D8C 0022DCEC C0 E1 00 24 */ lfs f7, 0x24(r1) /* 80230D90 0022DCF0 FC 20 F8 90 */ fmr f1, f31 /* 80230D94 0022DCF4 C0 C1 00 28 */ lfs f6, 0x28(r1) /* 80230D98 0022DCF8 7F A3 EB 78 */ mr r3, r29 /* 80230D9C 0022DCFC C0 A1 00 2C */ lfs f5, 0x2c(r1) /* 80230DA0 0022DD00 3B E1 00 4C */ addi r31, r1, 0x4c /* 80230DA4 0022DD04 C0 81 00 30 */ lfs f4, 0x30(r1) /* 80230DA8 0022DD08 C0 61 00 34 */ lfs f3, 0x34(r1) /* 80230DAC 0022DD0C 38 81 00 40 */ addi r4, r1, 0x40 /* 80230DB0 0022DD10 C0 41 00 38 */ lfs f2, 0x38(r1) /* 80230DB4 0022DD14 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80230DB8 0022DD18 D0 E1 00 40 */ stfs f7, 0x40(r1) /* 80230DBC 0022DD1C D0 C1 00 44 */ stfs f6, 0x44(r1) /* 80230DC0 0022DD20 D0 A1 00 48 */ stfs f5, 0x48(r1) /* 80230DC4 0022DD24 D0 81 00 4C */ stfs f4, 0x4c(r1) /* 80230DC8 0022DD28 D0 61 00 50 */ stfs f3, 0x50(r1) /* 80230DCC 0022DD2C D0 41 00 54 */ stfs f2, 0x54(r1) /* 80230DD0 0022DD30 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80230DD4 0022DD34 4B EE A0 A5 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff /* 80230DD8 0022DD38 FC 20 F8 90 */ fmr f1, f31 /* 80230DDC 0022DD3C 7F A3 EB 78 */ mr r3, r29 /* 80230DE0 0022DD40 7F E4 FB 78 */ mr r4, r31 /* 80230DE4 0022DD44 4B EE A0 31 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf /* 80230DE8 0022DD48 A0 1D 02 CC */ lhz r0, 0x2cc(r29) /* 80230DEC 0022DD4C 7F C3 F3 78 */ mr r3, r30 /* 80230DF0 0022DD50 38 81 00 18 */ addi r4, r1, 0x18 /* 80230DF4 0022DD54 B0 01 00 18 */ sth r0, 0x18(r1) /* 80230DF8 0022DD58 4B E1 B7 7D */ bl ObjectById__13CStateManagerF9TUniqueId /* 80230DFC 0022DD5C 7C 64 1B 78 */ mr r4, r3 /* 80230E00 0022DD60 38 61 00 1C */ addi r3, r1, 0x1c /* 80230E04 0022DD64 4B E7 BC 59 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 80230E08 0022DD68 83 E3 00 04 */ lwz r31, 4(r3) /* 80230E0C 0022DD6C 28 1F 00 00 */ cmplwi r31, 0 /* 80230E10 0022DD70 41 82 00 3C */ beq lbl_80230E4C /* 80230E14 0022DD74 88 1F 04 00 */ lbz r0, 0x400(r31) /* 80230E18 0022DD78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80230E1C 0022DD7C 41 82 00 30 */ beq lbl_80230E4C /* 80230E20 0022DD80 7F A3 EB 78 */ mr r3, r29 /* 80230E24 0022DD84 7F C4 F3 78 */ mr r4, r30 /* 80230E28 0022DD88 81 9D 00 00 */ lwz r12, 0(r29) /* 80230E2C 0022DD8C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80230E30 0022DD90 7D 89 03 A6 */ mtctr r12 /* 80230E34 0022DD94 4E 80 04 21 */ bctrl /* 80230E38 0022DD98 C0 23 00 00 */ lfs f1, 0(r3) /* 80230E3C 0022DD9C C0 02 B6 64 */ lfs f0, lbl_805AD384@sda21(r2) /* 80230E40 0022DDA0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80230E44 0022DDA4 4C 40 13 82 */ cror 2, 0, 2 /* 80230E48 0022DDA8 40 82 00 48 */ bne lbl_80230E90 lbl_80230E4C: /* 80230E4C 0022DDAC A0 1D 00 08 */ lhz r0, 8(r29) /* 80230E50 0022DDB0 7F C3 F3 78 */ mr r3, r30 /* 80230E54 0022DDB4 7F E4 FB 78 */ mr r4, r31 /* 80230E58 0022DDB8 38 A1 00 14 */ addi r5, r1, 0x14 /* 80230E5C 0022DDBC B0 01 00 10 */ sth r0, 0x10(r1) /* 80230E60 0022DDC0 38 C0 00 29 */ li r6, 0x29 /* 80230E64 0022DDC4 B0 01 00 14 */ sth r0, 0x14(r1) /* 80230E68 0022DDC8 4B E1 30 69 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage /* 80230E6C 0022DDCC 7F A3 EB 78 */ mr r3, r29 /* 80230E70 0022DDD0 7F C4 F3 78 */ mr r4, r30 /* 80230E74 0022DDD4 4B FF E8 FD */ bl sub_8022f770 /* 80230E78 0022DDD8 A0 1D 00 08 */ lhz r0, 8(r29) /* 80230E7C 0022DDDC 7F C3 F3 78 */ mr r3, r30 /* 80230E80 0022DDE0 38 81 00 0C */ addi r4, r1, 0xc /* 80230E84 0022DDE4 B0 01 00 08 */ sth r0, 8(r1) /* 80230E88 0022DDE8 B0 01 00 0C */ sth r0, 0xc(r1) /* 80230E8C 0022DDEC 4B E1 B3 E1 */ bl FreeScriptObject__13CStateManagerF9TUniqueId lbl_80230E90: /* 80230E90 0022DDF0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80230E94 0022DDF4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80230E98 0022DDF8 CB E1 00 70 */ lfd f31, 0x70(r1) /* 80230E9C 0022DDFC 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80230EA0 0022DE00 83 C1 00 68 */ lwz r30, 0x68(r1) /* 80230EA4 0022DE04 83 A1 00 64 */ lwz r29, 0x64(r1) /* 80230EA8 0022DE08 7C 08 03 A6 */ mtlr r0 /* 80230EAC 0022DE0C 38 21 00 80 */ addi r1, r1, 0x80 /* 80230EB0 0022DE10 4E 80 00 20 */ blr .global __dt__16CGrenadeLauncherFv __dt__16CGrenadeLauncherFv: /* 80230EB4 0022DE14 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80230EB8 0022DE18 7C 08 02 A6 */ mflr r0 /* 80230EBC 0022DE1C 90 01 00 14 */ stw r0, 0x14(r1) /* 80230EC0 0022DE20 93 E1 00 0C */ stw r31, 0xc(r1) /* 80230EC4 0022DE24 7C 9F 23 78 */ mr r31, r4 /* 80230EC8 0022DE28 93 C1 00 08 */ stw r30, 8(r1) /* 80230ECC 0022DE2C 7C 7E 1B 79 */ or. r30, r3, r3 /* 80230ED0 0022DE30 41 82 00 9C */ beq lbl_80230F6C /* 80230ED4 0022DE34 3C 60 80 3E */ lis r3, lbl_803E7F58@ha /* 80230ED8 0022DE38 34 1E 03 B8 */ addic. r0, r30, 0x3b8 /* 80230EDC 0022DE3C 38 03 7F 58 */ addi r0, r3, lbl_803E7F58@l /* 80230EE0 0022DE40 90 1E 00 00 */ stw r0, 0(r30) /* 80230EE4 0022DE44 41 82 00 30 */ beq lbl_80230F14 /* 80230EE8 0022DE48 88 1E 03 C4 */ lbz r0, 0x3c4(r30) /* 80230EEC 0022DE4C 28 00 00 00 */ cmplwi r0, 0 /* 80230EF0 0022DE50 41 82 00 1C */ beq lbl_80230F0C /* 80230EF4 0022DE54 34 7E 03 B8 */ addic. r3, r30, 0x3b8 /* 80230EF8 0022DE58 41 82 00 14 */ beq lbl_80230F0C /* 80230EFC 0022DE5C 28 03 00 00 */ cmplwi r3, 0 /* 80230F00 0022DE60 41 82 00 0C */ beq lbl_80230F0C /* 80230F04 0022DE64 38 80 00 00 */ li r4, 0 /* 80230F08 0022DE68 48 10 FF 39 */ bl __dt__6CTokenFv lbl_80230F0C: /* 80230F0C 0022DE6C 38 00 00 00 */ li r0, 0 /* 80230F10 0022DE70 98 1E 03 C4 */ stb r0, 0x3c4(r30) lbl_80230F14: /* 80230F14 0022DE74 34 1E 03 50 */ addic. r0, r30, 0x350 /* 80230F18 0022DE78 41 82 00 10 */ beq lbl_80230F28 /* 80230F1C 0022DE7C 38 7E 03 50 */ addi r3, r30, 0x350 /* 80230F20 0022DE80 38 80 FF FF */ li r4, -1 /* 80230F24 0022DE84 4B ED 56 E5 */ bl __dt__16CActorParametersFv lbl_80230F28: /* 80230F28 0022DE88 34 1E 03 28 */ addic. r0, r30, 0x328 /* 80230F2C 0022DE8C 41 82 00 24 */ beq lbl_80230F50 /* 80230F30 0022DE90 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha /* 80230F34 0022DE94 34 1E 03 28 */ addic. r0, r30, 0x328 /* 80230F38 0022DE98 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l /* 80230F3C 0022DE9C 90 1E 03 28 */ stw r0, 0x328(r30) /* 80230F40 0022DEA0 41 82 00 10 */ beq lbl_80230F50 /* 80230F44 0022DEA4 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 80230F48 0022DEA8 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l /* 80230F4C 0022DEAC 90 1E 03 28 */ stw r0, 0x328(r30) lbl_80230F50: /* 80230F50 0022DEB0 7F C3 F3 78 */ mr r3, r30 /* 80230F54 0022DEB4 38 80 00 00 */ li r4, 0 /* 80230F58 0022DEB8 4B EE B4 BD */ bl __dt__13CPhysicsActorFv /* 80230F5C 0022DEBC 7F E0 07 35 */ extsh. r0, r31 /* 80230F60 0022DEC0 40 81 00 0C */ ble lbl_80230F6C /* 80230F64 0022DEC4 7F C3 F3 78 */ mr r3, r30 /* 80230F68 0022DEC8 48 0E 49 C9 */ bl Free__7CMemoryFPCv lbl_80230F6C: /* 80230F6C 0022DECC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80230F70 0022DED0 7F C3 F3 78 */ mr r3, r30 /* 80230F74 0022DED4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80230F78 0022DED8 83 C1 00 08 */ lwz r30, 8(r1) /* 80230F7C 0022DEDC 7C 08 03 A6 */ mtlr r0 /* 80230F80 0022DEE0 38 21 00 10 */ addi r1, r1, 0x10 /* 80230F84 0022DEE4 4E 80 00 20 */ blr .global __ct__16CGrenadeLauncherF9TUniqueId __ct__16CGrenadeLauncherF9TUniqueId: /* 80230F88 0022DEE8 94 21 FE 80 */ stwu r1, -0x180(r1) /* 80230F8C 0022DEEC 7C 08 02 A6 */ mflr r0 /* 80230F90 0022DEF0 90 01 01 84 */ stw r0, 0x184(r1) /* 80230F94 0022DEF4 DB E1 01 70 */ stfd f31, 0x170(r1) /* 80230F98 0022DEF8 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 /* 80230F9C 0022DEFC DB C1 01 60 */ stfd f30, 0x160(r1) /* 80230FA0 0022DF00 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 /* 80230FA4 0022DF04 BE 61 01 2C */ stmw r19, 0x12c(r1) /* 80230FA8 0022DF08 FF E0 08 90 */ fmr f31, f1 /* 80230FAC 0022DF0C 83 81 01 88 */ lwz r28, 0x188(r1) /* 80230FB0 0022DF10 83 A1 01 8C */ lwz r29, 0x18c(r1) /* 80230FB4 0022DF14 7C 7A 1B 78 */ mr r26, r3 /* 80230FB8 0022DF18 83 C1 01 90 */ lwz r30, 0x190(r1) /* 80230FBC 0022DF1C 7C 93 23 78 */ mr r19, r4 /* 80230FC0 0022DF20 83 E1 01 94 */ lwz r31, 0x194(r1) /* 80230FC4 0022DF24 7C B4 2B 78 */ mr r20, r5 /* 80230FC8 0022DF28 7C D5 33 78 */ mr r21, r6 /* 80230FCC 0022DF2C 7C F6 3B 78 */ mr r22, r7 /* 80230FD0 0022DF30 7D 1B 43 78 */ mr r27, r8 /* 80230FD4 0022DF34 7D 37 4B 78 */ mr r23, r9 /* 80230FD8 0022DF38 7D 58 53 78 */ mr r24, r10 /* 80230FDC 0022DF3C 4B DE A5 59 */ bl Identity__10CAxisAngleFv /* 80230FE0 0022DF40 7C 79 1B 78 */ mr r25, r3 /* 80230FE4 0022DF44 4B DE A5 51 */ bl Identity__10CAxisAngleFv /* 80230FE8 0022DF48 3C 80 80 5A */ lis r4, skZero3f@ha /* 80230FEC 0022DF4C C4 84 66 A0 */ lfsu f4, skZero3f@l(r4) /* 80230FF0 0022DF50 C0 02 B6 9C */ lfs f0, lbl_805AD3BC@sda21(r2) /* 80230FF4 0022DF54 38 01 00 AC */ addi r0, r1, 0xac /* 80230FF8 0022DF58 C0 A4 00 04 */ lfs f5, 4(r4) /* 80230FFC 0022DF5C 7E 86 A3 78 */ mr r6, r20 /* 80231000 0022DF60 C0 C4 00 08 */ lfs f6, 8(r4) /* 80231004 0022DF64 7E A7 AB 78 */ mr r7, r21 /* 80231008 0022DF68 D0 81 00 AC */ stfs f4, 0xac(r1) /* 8023100C 0022DF6C 7E C8 B3 78 */ mr r8, r22 /* 80231010 0022DF70 A1 73 00 00 */ lhz r11, 0(r19) /* 80231014 0022DF74 7F 69 DB 78 */ mr r9, r27 /* 80231018 0022DF78 D0 A1 00 B0 */ stfs f5, 0xb0(r1) /* 8023101C 0022DF7C 38 81 00 18 */ addi r4, r1, 0x18 /* 80231020 0022DF80 C0 22 B6 A0 */ lfs f1, lbl_805AD3C0@sda21(r2) /* 80231024 0022DF84 38 A0 00 01 */ li r5, 1 /* 80231028 0022DF88 D0 C1 00 B4 */ stfs f6, 0xb4(r1) /* 8023102C 0022DF8C 39 4D A5 28 */ addi r10, r13, lbl_805A90E8@sda21 /* 80231030 0022DF90 C0 42 B6 90 */ lfs f2, lbl_805AD3B0@sda21(r2) /* 80231034 0022DF94 C0 63 00 00 */ lfs f3, 0(r3) /* 80231038 0022DF98 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 8023103C 0022DF9C C0 63 00 04 */ lfs f3, 4(r3) /* 80231040 0022DFA0 D0 61 00 BC */ stfs f3, 0xbc(r1) /* 80231044 0022DFA4 C0 63 00 08 */ lfs f3, 8(r3) /* 80231048 0022DFA8 7F 43 D3 78 */ mr r3, r26 /* 8023104C 0022DFAC D0 61 00 C0 */ stfs f3, 0xc0(r1) /* 80231050 0022DFB0 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 80231054 0022DFB4 D0 A1 00 C8 */ stfs f5, 0xc8(r1) /* 80231058 0022DFB8 D0 C1 00 CC */ stfs f6, 0xcc(r1) /* 8023105C 0022DFBC C0 79 00 00 */ lfs f3, 0(r25) /* 80231060 0022DFC0 D0 61 00 D0 */ stfs f3, 0xd0(r1) /* 80231064 0022DFC4 C0 79 00 04 */ lfs f3, 4(r25) /* 80231068 0022DFC8 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 8023106C 0022DFCC C0 79 00 08 */ lfs f3, 8(r25) /* 80231070 0022DFD0 D0 61 00 D8 */ stfs f3, 0xd8(r1) /* 80231074 0022DFD4 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 80231078 0022DFD8 B1 61 00 18 */ sth r11, 0x18(r1) /* 8023107C 0022DFDC 92 E1 00 08 */ stw r23, 8(r1) /* 80231080 0022DFE0 90 01 00 0C */ stw r0, 0xc(r1) /* 80231084 0022DFE4 93 A1 00 10 */ stw r29, 0x10(r1) /* 80231088 0022DFE8 4B EE B4 29 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 8023108C 0022DFEC 3C 60 80 3E */ lis r3, lbl_803E7F58@ha /* 80231090 0022DFF0 38 00 00 00 */ li r0, 0 /* 80231094 0022DFF4 38 63 7F 58 */ addi r3, r3, lbl_803E7F58@l /* 80231098 0022DFF8 7F E4 FB 78 */ mr r4, r31 /* 8023109C 0022DFFC 90 7A 00 00 */ stw r3, 0(r26) /* 802310A0 0022E000 38 7A 02 D0 */ addi r3, r26, 0x2d0 /* 802310A4 0022E004 90 1A 02 58 */ stw r0, 0x258(r26) /* 802310A8 0022E008 C0 18 00 00 */ lfs f0, 0(r24) /* 802310AC 0022E00C D0 1A 02 5C */ stfs f0, 0x25c(r26) /* 802310B0 0022E010 C0 18 00 04 */ lfs f0, 4(r24) /* 802310B4 0022E014 D0 1A 02 60 */ stfs f0, 0x260(r26) /* 802310B8 0022E018 80 BC 00 00 */ lwz r5, 0(r28) /* 802310BC 0022E01C 80 1C 00 04 */ lwz r0, 4(r28) /* 802310C0 0022E020 90 BA 02 64 */ stw r5, 0x264(r26) /* 802310C4 0022E024 90 1A 02 68 */ stw r0, 0x268(r26) /* 802310C8 0022E028 80 BC 00 08 */ lwz r5, 8(r28) /* 802310CC 0022E02C 80 1C 00 0C */ lwz r0, 0xc(r28) /* 802310D0 0022E030 90 BA 02 6C */ stw r5, 0x26c(r26) /* 802310D4 0022E034 90 1A 02 70 */ stw r0, 0x270(r26) /* 802310D8 0022E038 80 BC 00 10 */ lwz r5, 0x10(r28) /* 802310DC 0022E03C 80 1C 00 14 */ lwz r0, 0x14(r28) /* 802310E0 0022E040 90 BA 02 74 */ stw r5, 0x274(r26) /* 802310E4 0022E044 90 1A 02 78 */ stw r0, 0x278(r26) /* 802310E8 0022E048 80 BC 00 18 */ lwz r5, 0x18(r28) /* 802310EC 0022E04C 80 1C 00 1C */ lwz r0, 0x1c(r28) /* 802310F0 0022E050 90 BA 02 7C */ stw r5, 0x27c(r26) /* 802310F4 0022E054 90 1A 02 80 */ stw r0, 0x280(r26) /* 802310F8 0022E058 80 BC 00 20 */ lwz r5, 0x20(r28) /* 802310FC 0022E05C 80 1C 00 24 */ lwz r0, 0x24(r28) /* 80231100 0022E060 90 BA 02 84 */ stw r5, 0x284(r26) /* 80231104 0022E064 90 1A 02 88 */ stw r0, 0x288(r26) /* 80231108 0022E068 80 BC 00 28 */ lwz r5, 0x28(r28) /* 8023110C 0022E06C 80 1C 00 2C */ lwz r0, 0x2c(r28) /* 80231110 0022E070 90 BA 02 8C */ stw r5, 0x28c(r26) /* 80231114 0022E074 90 1A 02 90 */ stw r0, 0x290(r26) /* 80231118 0022E078 80 BC 00 30 */ lwz r5, 0x30(r28) /* 8023111C 0022E07C 80 1C 00 34 */ lwz r0, 0x34(r28) /* 80231120 0022E080 90 BA 02 94 */ stw r5, 0x294(r26) /* 80231124 0022E084 90 1A 02 98 */ stw r0, 0x298(r26) /* 80231128 0022E088 80 1C 00 38 */ lwz r0, 0x38(r28) /* 8023112C 0022E08C 90 1A 02 9C */ stw r0, 0x29c(r26) /* 80231130 0022E090 80 BC 00 3C */ lwz r5, 0x3c(r28) /* 80231134 0022E094 80 1C 00 40 */ lwz r0, 0x40(r28) /* 80231138 0022E098 90 BA 02 A0 */ stw r5, 0x2a0(r26) /* 8023113C 0022E09C 90 1A 02 A4 */ stw r0, 0x2a4(r26) /* 80231140 0022E0A0 80 BC 00 44 */ lwz r5, 0x44(r28) /* 80231144 0022E0A4 80 1C 00 48 */ lwz r0, 0x48(r28) /* 80231148 0022E0A8 90 BA 02 A8 */ stw r5, 0x2a8(r26) /* 8023114C 0022E0AC 90 1A 02 AC */ stw r0, 0x2ac(r26) /* 80231150 0022E0B0 80 BC 00 4C */ lwz r5, 0x4c(r28) /* 80231154 0022E0B4 80 1C 00 50 */ lwz r0, 0x50(r28) /* 80231158 0022E0B8 90 BA 02 B0 */ stw r5, 0x2b0(r26) /* 8023115C 0022E0BC 90 1A 02 B4 */ stw r0, 0x2b4(r26) /* 80231160 0022E0C0 80 BC 00 54 */ lwz r5, 0x54(r28) /* 80231164 0022E0C4 80 1C 00 58 */ lwz r0, 0x58(r28) /* 80231168 0022E0C8 90 BA 02 B8 */ stw r5, 0x2b8(r26) /* 8023116C 0022E0CC 90 1A 02 BC */ stw r0, 0x2bc(r26) /* 80231170 0022E0D0 80 1C 00 5C */ lwz r0, 0x5c(r28) /* 80231174 0022E0D4 90 1A 02 C0 */ stw r0, 0x2c0(r26) /* 80231178 0022E0D8 80 1C 00 60 */ lwz r0, 0x60(r28) /* 8023117C 0022E0DC 90 1A 02 C4 */ stw r0, 0x2c4(r26) /* 80231180 0022E0E0 80 1C 00 64 */ lwz r0, 0x64(r28) /* 80231184 0022E0E4 90 1A 02 C8 */ stw r0, 0x2c8(r26) /* 80231188 0022E0E8 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023118C 0022E0EC B0 1A 02 CC */ sth r0, 0x2cc(r26) /* 80231190 0022E0F0 48 00 03 B1 */ bl sub_80231540 /* 80231194 0022E0F4 C0 3B 00 00 */ lfs f1, 0(r27) /* 80231198 0022E0F8 3A 7A 03 28 */ addi r19, r26, 0x328 /* 8023119C 0022E0FC C0 1B 00 04 */ lfs f0, 4(r27) /* 802311A0 0022E100 7E 63 9B 78 */ mr r3, r19 /* 802311A4 0022E104 C3 DB 00 08 */ lfs f30, 8(r27) /* 802311A8 0022E108 38 8D A5 28 */ addi r4, r13, lbl_805A90E8@sda21 /* 802311AC 0022E10C D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 802311B0 0022E110 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 802311B4 0022E114 D3 C1 00 A8 */ stfs f30, 0xa8(r1) /* 802311B8 0022E118 48 09 E6 FD */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 802311BC 0022E11C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha /* 802311C0 0022E120 C0 22 B6 6C */ lfs f1, lbl_805AD38C@sda21(r2) /* 802311C4 0022E124 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l /* 802311C8 0022E128 C0 A2 B6 64 */ lfs f5, lbl_805AD384@sda21(r2) /* 802311CC 0022E12C 90 13 00 00 */ stw r0, 0(r19) /* 802311D0 0022E130 FC 40 08 90 */ fmr f2, f1 /* 802311D4 0022E134 C0 02 B6 A4 */ lfs f0, lbl_805AD3C4@sda21(r2) /* 802311D8 0022E138 FC 60 08 90 */ fmr f3, f1 /* 802311DC 0022E13C D0 B3 00 10 */ stfs f5, 0x10(r19) /* 802311E0 0022E140 FC 80 08 90 */ fmr f4, f1 /* 802311E4 0022E144 38 7A 03 4C */ addi r3, r26, 0x34c /* 802311E8 0022E148 D0 B3 00 14 */ stfs f5, 0x14(r19) /* 802311EC 0022E14C D0 B3 00 18 */ stfs f5, 0x18(r19) /* 802311F0 0022E150 D3 D3 00 1C */ stfs f30, 0x1c(r19) /* 802311F4 0022E154 D0 1A 03 48 */ stfs f0, 0x348(r26) /* 802311F8 0022E158 48 13 21 F5 */ bl __ct__6CColorFffff /* 802311FC 0022E15C 7F A4 EB 78 */ mr r4, r29 /* 80231200 0022E160 38 7A 03 50 */ addi r3, r26, 0x350 /* 80231204 0022E164 4B E9 44 19 */ bl __ct__16CActorParametersFRC16CActorParameters /* 80231208 0022E168 80 9F 00 40 */ lwz r4, 0x40(r31) /* 8023120C 0022E16C 3B 60 00 00 */ li r27, 0 /* 80231210 0022E170 3B 80 00 00 */ li r28, 0 /* 80231214 0022E174 3B C0 00 00 */ li r30, 0 /* 80231218 0022E178 3C 04 00 01 */ addis r0, r4, 1 /* 8023121C 0022E17C 3B E0 00 00 */ li r31, 0 /* 80231220 0022E180 28 00 FF FF */ cmplwi r0, 0xffff /* 80231224 0022E184 41 82 00 90 */ beq lbl_802312B4 /* 80231228 0022E188 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8023122C 0022E18C 90 81 00 70 */ stw r4, 0x70(r1) /* 80231230 0022E190 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 80231234 0022E194 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80231238 0022E198 90 01 00 6C */ stw r0, 0x6c(r1) /* 8023123C 0022E19C 38 61 00 64 */ addi r3, r1, 0x64 /* 80231240 0022E1A0 38 A1 00 6C */ addi r5, r1, 0x6c /* 80231244 0022E1A4 81 84 00 00 */ lwz r12, 0(r4) /* 80231248 0022E1A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8023124C 0022E1AC 7D 89 03 A6 */ mtctr r12 /* 80231250 0022E1B0 4E 80 04 21 */ bctrl /* 80231254 0022E1B4 3A 61 00 94 */ addi r19, r1, 0x94 /* 80231258 0022E1B8 38 81 00 64 */ addi r4, r1, 0x64 /* 8023125C 0022E1BC 7E 63 9B 78 */ mr r3, r19 /* 80231260 0022E1C0 3B 60 00 01 */ li r27, 1 /* 80231264 0022E1C4 48 10 FC 45 */ bl __ct__6CTokenFRC6CToken /* 80231268 0022E1C8 7E 63 9B 78 */ mr r3, r19 /* 8023126C 0022E1CC 48 10 FB A1 */ bl GetObj__6CTokenFv /* 80231270 0022E1D0 80 63 00 04 */ lwz r3, 4(r3) /* 80231274 0022E1D4 38 00 00 01 */ li r0, 1 /* 80231278 0022E1D8 37 21 00 84 */ addic. r25, r1, 0x84 /* 8023127C 0022E1DC 3B 80 00 01 */ li r28, 1 /* 80231280 0022E1E0 90 61 00 9C */ stw r3, 0x9c(r1) /* 80231284 0022E1E4 98 01 00 90 */ stb r0, 0x90(r1) /* 80231288 0022E1E8 41 82 00 20 */ beq lbl_802312A8 /* 8023128C 0022E1EC 7F 23 CB 78 */ mr r3, r25 /* 80231290 0022E1F0 7E 64 9B 78 */ mr r4, r19 /* 80231294 0022E1F4 48 10 FC 15 */ bl __ct__6CTokenFRC6CToken /* 80231298 0022E1F8 80 01 00 9C */ lwz r0, 0x9c(r1) /* 8023129C 0022E1FC 7F 23 CB 78 */ mr r3, r25 /* 802312A0 0022E200 90 19 00 08 */ stw r0, 8(r25) /* 802312A4 0022E204 48 10 FA E1 */ bl Lock__6CTokenFv lbl_802312A8: /* 802312A8 0022E208 3B 21 00 84 */ addi r25, r1, 0x84 /* 802312AC 0022E20C 3B C0 00 01 */ li r30, 1 /* 802312B0 0022E210 48 00 00 14 */ b lbl_802312C4 lbl_802312B4: /* 802312B4 0022E214 38 00 00 00 */ li r0, 0 /* 802312B8 0022E218 3B 21 00 74 */ addi r25, r1, 0x74 /* 802312BC 0022E21C 98 01 00 80 */ stb r0, 0x80(r1) /* 802312C0 0022E220 3B E0 00 01 */ li r31, 1 lbl_802312C4: /* 802312C4 0022E224 88 19 00 0C */ lbz r0, 0xc(r25) /* 802312C8 0022E228 98 1A 03 C4 */ stb r0, 0x3c4(r26) /* 802312CC 0022E22C 88 19 00 0C */ lbz r0, 0xc(r25) /* 802312D0 0022E230 28 00 00 00 */ cmplwi r0, 0 /* 802312D4 0022E234 41 82 00 28 */ beq lbl_802312FC /* 802312D8 0022E238 37 1A 03 B8 */ addic. r24, r26, 0x3b8 /* 802312DC 0022E23C 41 82 00 20 */ beq lbl_802312FC /* 802312E0 0022E240 7F 03 C3 78 */ mr r3, r24 /* 802312E4 0022E244 7F 24 CB 78 */ mr r4, r25 /* 802312E8 0022E248 48 10 FB C1 */ bl __ct__6CTokenFRC6CToken /* 802312EC 0022E24C 80 19 00 08 */ lwz r0, 8(r25) /* 802312F0 0022E250 7F 03 C3 78 */ mr r3, r24 /* 802312F4 0022E254 90 18 00 08 */ stw r0, 8(r24) /* 802312F8 0022E258 48 10 FA 8D */ bl Lock__6CTokenFv lbl_802312FC: /* 802312FC 0022E25C 7F E0 07 75 */ extsb. r0, r31 /* 80231300 0022E260 41 82 00 30 */ beq lbl_80231330 /* 80231304 0022E264 88 01 00 80 */ lbz r0, 0x80(r1) /* 80231308 0022E268 28 00 00 00 */ cmplwi r0, 0 /* 8023130C 0022E26C 41 82 00 1C */ beq lbl_80231328 /* 80231310 0022E270 34 61 00 74 */ addic. r3, r1, 0x74 /* 80231314 0022E274 41 82 00 14 */ beq lbl_80231328 /* 80231318 0022E278 28 03 00 00 */ cmplwi r3, 0 /* 8023131C 0022E27C 41 82 00 0C */ beq lbl_80231328 /* 80231320 0022E280 38 80 00 00 */ li r4, 0 /* 80231324 0022E284 48 10 FB 1D */ bl __dt__6CTokenFv lbl_80231328: /* 80231328 0022E288 38 00 00 00 */ li r0, 0 /* 8023132C 0022E28C 98 01 00 80 */ stb r0, 0x80(r1) lbl_80231330: /* 80231330 0022E290 7F C0 07 75 */ extsb. r0, r30 /* 80231334 0022E294 41 82 00 30 */ beq lbl_80231364 /* 80231338 0022E298 88 01 00 90 */ lbz r0, 0x90(r1) /* 8023133C 0022E29C 28 00 00 00 */ cmplwi r0, 0 /* 80231340 0022E2A0 41 82 00 1C */ beq lbl_8023135C /* 80231344 0022E2A4 34 61 00 84 */ addic. r3, r1, 0x84 /* 80231348 0022E2A8 41 82 00 14 */ beq lbl_8023135C /* 8023134C 0022E2AC 28 03 00 00 */ cmplwi r3, 0 /* 80231350 0022E2B0 41 82 00 0C */ beq lbl_8023135C /* 80231354 0022E2B4 38 80 00 00 */ li r4, 0 /* 80231358 0022E2B8 48 10 FA E9 */ bl __dt__6CTokenFv lbl_8023135C: /* 8023135C 0022E2BC 38 00 00 00 */ li r0, 0 /* 80231360 0022E2C0 98 01 00 90 */ stb r0, 0x90(r1) lbl_80231364: /* 80231364 0022E2C4 7F 80 07 75 */ extsb. r0, r28 /* 80231368 0022E2C8 41 82 00 10 */ beq lbl_80231378 /* 8023136C 0022E2CC 38 61 00 94 */ addi r3, r1, 0x94 /* 80231370 0022E2D0 38 80 00 00 */ li r4, 0 /* 80231374 0022E2D4 48 10 FA CD */ bl __dt__6CTokenFv lbl_80231378: /* 80231378 0022E2D8 7F 60 07 75 */ extsb. r0, r27 /* 8023137C 0022E2DC 41 82 00 10 */ beq lbl_8023138C /* 80231380 0022E2E0 38 61 00 64 */ addi r3, r1, 0x64 /* 80231384 0022E2E4 38 80 FF FF */ li r4, -1 /* 80231388 0022E2E8 48 10 FA B9 */ bl __dt__6CTokenFv lbl_8023138C: /* 8023138C 0022E2EC C0 42 B6 64 */ lfs f2, lbl_805AD384@sda21(r2) /* 80231390 0022E2F0 38 7A 03 F0 */ addi r3, r26, 0x3f0 /* 80231394 0022E2F4 C0 22 B6 94 */ lfs f1, lbl_805AD3B4@sda21(r2) /* 80231398 0022E2F8 D0 5A 03 D8 */ stfs f2, 0x3d8(r26) /* 8023139C 0022E2FC FC 60 10 90 */ fmr f3, f2 /* 802313A0 0022E300 C0 82 B6 6C */ lfs f4, lbl_805AD38C@sda21(r2) /* 802313A4 0022E304 D0 5A 03 DC */ stfs f2, 0x3dc(r26) /* 802313A8 0022E308 D0 5A 03 E0 */ stfs f2, 0x3e0(r26) /* 802313AC 0022E30C D0 5A 03 E4 */ stfs f2, 0x3e4(r26) /* 802313B0 0022E310 C0 1D 00 64 */ lfs f0, 0x64(r29) /* 802313B4 0022E314 D0 1A 03 E8 */ stfs f0, 0x3e8(r26) /* 802313B8 0022E318 D0 5A 03 EC */ stfs f2, 0x3ec(r26) /* 802313BC 0022E31C 48 13 20 31 */ bl __ct__6CColorFffff /* 802313C0 0022E320 C0 22 B6 64 */ lfs f1, lbl_805AD384@sda21(r2) /* 802313C4 0022E324 38 7A 03 F4 */ addi r3, r26, 0x3f4 /* 802313C8 0022E328 C0 82 B6 6C */ lfs f4, lbl_805AD38C@sda21(r2) /* 802313CC 0022E32C FC 40 08 90 */ fmr f2, f1 /* 802313D0 0022E330 FC 60 08 90 */ fmr f3, f1 /* 802313D4 0022E334 48 13 20 19 */ bl __ct__6CColorFffff /* 802313D8 0022E338 D3 FA 03 F8 */ stfs f31, 0x3f8(r26) /* 802313DC 0022E33C 38 60 00 00 */ li r3, 0 /* 802313E0 0022E340 38 00 00 01 */ li r0, 1 /* 802313E4 0022E344 38 80 00 01 */ li r4, 1 /* 802313E8 0022E348 98 7A 03 FC */ stb r3, 0x3fc(r26) /* 802313EC 0022E34C 98 1A 03 FD */ stb r0, 0x3fd(r26) /* 802313F0 0022E350 98 1A 03 FE */ stb r0, 0x3fe(r26) /* 802313F4 0022E354 80 7A 00 64 */ lwz r3, 0x64(r26) /* 802313F8 0022E358 4B EE 41 69 */ bl EnableLooping__10CModelDataFb /* 802313FC 0022E35C 3B 21 00 E4 */ addi r25, r1, 0xe4 /* 80231400 0022E360 3B 81 00 2C */ addi r28, r1, 0x2c /* 80231404 0022E364 3B 61 00 24 */ addi r27, r1, 0x24 /* 80231408 0022E368 3B A0 00 00 */ li r29, 0 /* 8023140C 0022E36C 3B 00 00 00 */ li r24, 0 lbl_80231410: /* 80231410 0022E370 38 61 00 24 */ addi r3, r1, 0x24 /* 80231414 0022E374 48 0B 1C 69 */ bl NoParameter__12CPASAnimParmFv /* 80231418 0022E378 38 61 00 2C */ addi r3, r1, 0x2c /* 8023141C 0022E37C 48 0B 1C 61 */ bl NoParameter__12CPASAnimParmFv /* 80231420 0022E380 38 61 00 34 */ addi r3, r1, 0x34 /* 80231424 0022E384 48 0B 1C 59 */ bl NoParameter__12CPASAnimParmFv /* 80231428 0022E388 38 61 00 3C */ addi r3, r1, 0x3c /* 8023142C 0022E38C 48 0B 1C 51 */ bl NoParameter__12CPASAnimParmFv /* 80231430 0022E390 38 61 00 44 */ addi r3, r1, 0x44 /* 80231434 0022E394 48 0B 1C 49 */ bl NoParameter__12CPASAnimParmFv /* 80231438 0022E398 38 61 00 4C */ addi r3, r1, 0x4c /* 8023143C 0022E39C 48 0B 1C 41 */ bl NoParameter__12CPASAnimParmFv /* 80231440 0022E3A0 38 61 00 54 */ addi r3, r1, 0x54 /* 80231444 0022E3A4 48 0B 1C 39 */ bl NoParameter__12CPASAnimParmFv /* 80231448 0022E3A8 7F A4 EB 78 */ mr r4, r29 /* 8023144C 0022E3AC 38 61 00 5C */ addi r3, r1, 0x5c /* 80231450 0022E3B0 48 0B 1B 35 */ bl FromEnum__12CPASAnimParmFi /* 80231454 0022E3B4 93 81 00 08 */ stw r28, 8(r1) /* 80231458 0022E3B8 38 61 00 E0 */ addi r3, r1, 0xe0 /* 8023145C 0022E3BC 38 A1 00 5C */ addi r5, r1, 0x5c /* 80231460 0022E3C0 38 C1 00 54 */ addi r6, r1, 0x54 /* 80231464 0022E3C4 93 61 00 0C */ stw r27, 0xc(r1) /* 80231468 0022E3C8 38 E1 00 4C */ addi r7, r1, 0x4c /* 8023146C 0022E3CC 39 01 00 44 */ addi r8, r1, 0x44 /* 80231470 0022E3D0 39 21 00 3C */ addi r9, r1, 0x3c /* 80231474 0022E3D4 39 41 00 34 */ addi r10, r1, 0x34 /* 80231478 0022E3D8 38 80 00 16 */ li r4, 0x16 /* 8023147C 0022E3DC 4B E4 BE 49 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 80231480 0022E3E0 80 9A 00 64 */ lwz r4, 0x64(r26) /* 80231484 0022E3E4 38 61 00 1C */ addi r3, r1, 0x1c /* 80231488 0022E3E8 38 A1 00 E0 */ addi r5, r1, 0xe0 /* 8023148C 0022E3EC 38 C0 FF FF */ li r6, -1 /* 80231490 0022E3F0 80 84 00 10 */ lwz r4, 0x10(r4) /* 80231494 0022E3F4 38 84 00 3C */ addi r4, r4, 0x3c /* 80231498 0022E3F8 48 0B 3C D5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai /* 8023149C 0022E3FC 80 61 00 20 */ lwz r3, 0x20(r1) /* 802314A0 0022E400 38 18 03 C8 */ addi r0, r24, 0x3c8 /* 802314A4 0022E404 28 19 00 00 */ cmplwi r25, 0 /* 802314A8 0022E408 7C 7A 01 2E */ stwx r3, r26, r0 /* 802314AC 0022E40C 41 82 00 5C */ beq lbl_80231508 /* 802314B0 0022E410 80 A1 00 E4 */ lwz r5, 0xe4(r1) /* 802314B4 0022E414 38 60 00 00 */ li r3, 0 /* 802314B8 0022E418 2C 05 00 00 */ cmpwi r5, 0 /* 802314BC 0022E41C 40 81 00 44 */ ble lbl_80231500 /* 802314C0 0022E420 2C 05 00 08 */ cmpwi r5, 8 /* 802314C4 0022E424 38 85 FF F8 */ addi r4, r5, -8 /* 802314C8 0022E428 40 81 00 20 */ ble lbl_802314E8 /* 802314CC 0022E42C 38 04 00 07 */ addi r0, r4, 7 /* 802314D0 0022E430 54 00 E8 FE */ srwi r0, r0, 3 /* 802314D4 0022E434 7C 09 03 A6 */ mtctr r0 /* 802314D8 0022E438 2C 04 00 00 */ cmpwi r4, 0 /* 802314DC 0022E43C 40 81 00 0C */ ble lbl_802314E8 lbl_802314E0: /* 802314E0 0022E440 38 63 00 08 */ addi r3, r3, 8 /* 802314E4 0022E444 42 00 FF FC */ bdnz lbl_802314E0 lbl_802314E8: /* 802314E8 0022E448 7C 03 28 50 */ subf r0, r3, r5 /* 802314EC 0022E44C 7C 09 03 A6 */ mtctr r0 /* 802314F0 0022E450 7C 03 28 00 */ cmpw r3, r5 /* 802314F4 0022E454 40 80 00 0C */ bge lbl_80231500 lbl_802314F8: /* 802314F8 0022E458 38 63 00 01 */ addi r3, r3, 1 /* 802314FC 0022E45C 42 00 FF FC */ bdnz lbl_802314F8 lbl_80231500: /* 80231500 0022E460 38 00 00 00 */ li r0, 0 /* 80231504 0022E464 90 01 00 E4 */ stw r0, 0xe4(r1) lbl_80231508: /* 80231508 0022E468 3B BD 00 01 */ addi r29, r29, 1 /* 8023150C 0022E46C 3B 18 00 04 */ addi r24, r24, 4 /* 80231510 0022E470 2C 1D 00 04 */ cmpwi r29, 4 /* 80231514 0022E474 41 80 FE FC */ blt lbl_80231410 /* 80231518 0022E478 7F 43 D3 78 */ mr r3, r26 /* 8023151C 0022E47C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 /* 80231520 0022E480 CB E1 01 70 */ lfd f31, 0x170(r1) /* 80231524 0022E484 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 /* 80231528 0022E488 CB C1 01 60 */ lfd f30, 0x160(r1) /* 8023152C 0022E48C BA 61 01 2C */ lmw r19, 0x12c(r1) /* 80231530 0022E490 80 01 01 84 */ lwz r0, 0x184(r1) /* 80231534 0022E494 7C 08 03 A6 */ mtlr r0 /* 80231538 0022E498 38 21 01 80 */ addi r1, r1, 0x180 /* 8023153C 0022E49C 4E 80 00 20 */ blr .global sub_80231540 sub_80231540: /* 80231540 0022E4A0 C0 04 00 00 */ lfs f0, 0(r4) /* 80231544 0022E4A4 D0 03 00 00 */ stfs f0, 0(r3) /* 80231548 0022E4A8 C0 04 00 04 */ lfs f0, 4(r4) /* 8023154C 0022E4AC D0 03 00 04 */ stfs f0, 4(r3) /* 80231550 0022E4B0 80 04 00 08 */ lwz r0, 8(r4) /* 80231554 0022E4B4 90 03 00 08 */ stw r0, 8(r3) /* 80231558 0022E4B8 88 04 00 0C */ lbz r0, 0xc(r4) /* 8023155C 0022E4BC 98 03 00 0C */ stb r0, 0xc(r3) /* 80231560 0022E4C0 C0 04 00 10 */ lfs f0, 0x10(r4) /* 80231564 0022E4C4 D0 03 00 10 */ stfs f0, 0x10(r3) /* 80231568 0022E4C8 C0 04 00 14 */ lfs f0, 0x14(r4) /* 8023156C 0022E4CC D0 03 00 14 */ stfs f0, 0x14(r3) /* 80231570 0022E4D0 C0 04 00 18 */ lfs f0, 0x18(r4) /* 80231574 0022E4D4 D0 03 00 18 */ stfs f0, 0x18(r3) /* 80231578 0022E4D8 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 8023157C 0022E4DC D0 03 00 1C */ stfs f0, 0x1c(r3) /* 80231580 0022E4E0 88 04 00 20 */ lbz r0, 0x20(r4) /* 80231584 0022E4E4 98 03 00 20 */ stb r0, 0x20(r3) /* 80231588 0022E4E8 80 04 00 24 */ lwz r0, 0x24(r4) /* 8023158C 0022E4EC 90 03 00 24 */ stw r0, 0x24(r3) /* 80231590 0022E4F0 80 04 00 28 */ lwz r0, 0x28(r4) /* 80231594 0022E4F4 90 03 00 28 */ stw r0, 0x28(r3) /* 80231598 0022E4F8 80 04 00 2C */ lwz r0, 0x2c(r4) /* 8023159C 0022E4FC 90 03 00 2C */ stw r0, 0x2c(r3) /* 802315A0 0022E500 80 04 00 30 */ lwz r0, 0x30(r4) /* 802315A4 0022E504 90 03 00 30 */ stw r0, 0x30(r3) /* 802315A8 0022E508 80 04 00 34 */ lwz r0, 0x34(r4) /* 802315AC 0022E50C 90 03 00 34 */ stw r0, 0x34(r3) /* 802315B0 0022E510 A0 04 00 38 */ lhz r0, 0x38(r4) /* 802315B4 0022E514 B0 03 00 38 */ sth r0, 0x38(r3) /* 802315B8 0022E518 A0 04 00 3A */ lhz r0, 0x3a(r4) /* 802315BC 0022E51C B0 03 00 3A */ sth r0, 0x3a(r3) /* 802315C0 0022E520 80 04 00 3C */ lwz r0, 0x3c(r4) /* 802315C4 0022E524 90 03 00 3C */ stw r0, 0x3c(r3) /* 802315C8 0022E528 80 04 00 40 */ lwz r0, 0x40(r4) /* 802315CC 0022E52C 90 03 00 40 */ stw r0, 0x40(r3) /* 802315D0 0022E530 A0 04 00 44 */ lhz r0, 0x44(r4) /* 802315D4 0022E534 B0 03 00 44 */ sth r0, 0x44(r3) /* 802315D8 0022E538 C0 04 00 48 */ lfs f0, 0x48(r4) /* 802315DC 0022E53C D0 03 00 48 */ stfs f0, 0x48(r3) /* 802315E0 0022E540 C0 04 00 4C */ lfs f0, 0x4c(r4) /* 802315E4 0022E544 D0 03 00 4C */ stfs f0, 0x4c(r3) /* 802315E8 0022E548 C0 04 00 50 */ lfs f0, 0x50(r4) /* 802315EC 0022E54C D0 03 00 50 */ stfs f0, 0x50(r3) /* 802315F0 0022E550 C0 04 00 54 */ lfs f0, 0x54(r4) /* 802315F4 0022E554 D0 03 00 54 */ stfs f0, 0x54(r3) /* 802315F8 0022E558 4E 80 00 20 */ blr .global __sinit_CGrenadeLauncher_cpp __sinit_CGrenadeLauncher_cpp: /* 802315FC 0022E55C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80231600 0022E560 7C 08 02 A6 */ mflr r0 /* 80231604 0022E564 38 60 00 00 */ li r3, 0 /* 80231608 0022E568 38 80 00 01 */ li r4, 1 /* 8023160C 0022E56C 90 01 00 14 */ stw r0, 0x14(r1) /* 80231610 0022E570 38 00 00 00 */ li r0, 0 /* 80231614 0022E574 80 AD 95 E8 */ lwz r5, lbl_805A81A8@sda21(r13) /* 80231618 0022E578 90 0D A5 2C */ stw r0, lbl_805A90EC@sda21(r13) /* 8023161C 0022E57C 90 0D A5 28 */ stw r0, lbl_805A90E8@sda21(r13) /* 80231620 0022E580 48 15 88 D5 */ bl __shl2i /* 80231624 0022E584 80 0D A5 28 */ lwz r0, lbl_805A90E8@sda21(r13) /* 80231628 0022E588 80 CD A5 2C */ lwz r6, lbl_805A90EC@sda21(r13) /* 8023162C 0022E58C 7C 00 1B 78 */ or r0, r0, r3 /* 80231630 0022E590 80 AD 95 EC */ lwz r5, lbl_805A81AC@sda21(r13) /* 80231634 0022E594 7C C4 23 78 */ or r4, r6, r4 /* 80231638 0022E598 90 0D A5 28 */ stw r0, lbl_805A90E8@sda21(r13) /* 8023163C 0022E59C 38 60 00 00 */ li r3, 0 /* 80231640 0022E5A0 90 8D A5 2C */ stw r4, lbl_805A90EC@sda21(r13) /* 80231644 0022E5A4 38 80 00 01 */ li r4, 1 /* 80231648 0022E5A8 48 15 88 AD */ bl __shl2i /* 8023164C 0022E5AC 80 0D A5 28 */ lwz r0, lbl_805A90E8@sda21(r13) /* 80231650 0022E5B0 80 AD A5 2C */ lwz r5, lbl_805A90EC@sda21(r13) /* 80231654 0022E5B4 7C 00 1B 78 */ or r0, r0, r3 /* 80231658 0022E5B8 7C A3 23 78 */ or r3, r5, r4 /* 8023165C 0022E5BC 90 0D A5 28 */ stw r0, lbl_805A90E8@sda21(r13) /* 80231660 0022E5C0 90 6D A5 2C */ stw r3, lbl_805A90EC@sda21(r13) /* 80231664 0022E5C4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80231668 0022E5C8 7C 08 03 A6 */ mtlr r0 /* 8023166C 0022E5CC 38 21 00 10 */ addi r1, r1, 0x10 /* 80231670 0022E5D0 4E 80 00 20 */ blr .global __dt__10CShockwaveFv __dt__10CShockwaveFv: /* 80231674 0022E5D4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80231678 0022E5D8 7C 08 02 A6 */ mflr r0 /* 8023167C 0022E5DC 90 01 00 14 */ stw r0, 0x14(r1) /* 80231680 0022E5E0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80231684 0022E5E4 7C 7F 1B 79 */ or. r31, r3, r3 /* 80231688 0022E5E8 93 C1 00 08 */ stw r30, 8(r1) /* 8023168C 0022E5EC 7C 9E 23 78 */ mr r30, r4 /* 80231690 0022E5F0 41 82 00 F0 */ beq lbl_80231780 /* 80231694 0022E5F4 3C 60 80 3F */ lis r3, lbl_803E8050@ha /* 80231698 0022E5F8 34 1F 09 74 */ addic. r0, r31, 0x974 /* 8023169C 0022E5FC 38 03 80 50 */ addi r0, r3, lbl_803E8050@l /* 802316A0 0022E600 90 1F 00 00 */ stw r0, 0(r31) /* 802316A4 0022E604 41 82 00 28 */ beq lbl_802316CC /* 802316A8 0022E608 88 1F 09 7C */ lbz r0, 0x97c(r31) /* 802316AC 0022E60C 28 00 00 00 */ cmplwi r0, 0 /* 802316B0 0022E610 41 82 00 14 */ beq lbl_802316C4 /* 802316B4 0022E614 34 7F 09 74 */ addic. r3, r31, 0x974 /* 802316B8 0022E618 41 82 00 0C */ beq lbl_802316C4 /* 802316BC 0022E61C 38 80 00 00 */ li r4, 0 /* 802316C0 0022E620 48 10 F7 81 */ bl __dt__6CTokenFv lbl_802316C4: /* 802316C4 0022E624 38 00 00 00 */ li r0, 0 /* 802316C8 0022E628 98 1F 09 7C */ stb r0, 0x97c(r31) lbl_802316CC: /* 802316CC 0022E62C 34 1F 01 70 */ addic. r0, r31, 0x170 /* 802316D0 0022E630 41 82 00 58 */ beq lbl_80231728 /* 802316D4 0022E634 80 BF 01 70 */ lwz r5, 0x170(r31) /* 802316D8 0022E638 38 60 00 00 */ li r3, 0 /* 802316DC 0022E63C 2C 05 00 00 */ cmpwi r5, 0 /* 802316E0 0022E640 40 81 00 40 */ ble lbl_80231720 /* 802316E4 0022E644 2C 05 00 08 */ cmpwi r5, 8 /* 802316E8 0022E648 38 85 FF F8 */ addi r4, r5, -8 /* 802316EC 0022E64C 40 81 00 20 */ ble lbl_8023170C /* 802316F0 0022E650 38 04 00 07 */ addi r0, r4, 7 /* 802316F4 0022E654 54 00 E8 FE */ srwi r0, r0, 3 /* 802316F8 0022E658 7C 09 03 A6 */ mtctr r0 /* 802316FC 0022E65C 2C 04 00 00 */ cmpwi r4, 0 /* 80231700 0022E660 40 81 00 0C */ ble lbl_8023170C lbl_80231704: /* 80231704 0022E664 38 63 00 08 */ addi r3, r3, 8 /* 80231708 0022E668 42 00 FF FC */ bdnz lbl_80231704 lbl_8023170C: /* 8023170C 0022E66C 7C 03 28 50 */ subf r0, r3, r5 /* 80231710 0022E670 7C 09 03 A6 */ mtctr r0 /* 80231714 0022E674 7C 03 28 00 */ cmpw r3, r5 /* 80231718 0022E678 40 80 00 08 */ bge lbl_80231720 lbl_8023171C: /* 8023171C 0022E67C 42 00 00 00 */ bdnz lbl_8023171C lbl_80231720: /* 80231720 0022E680 38 00 00 00 */ li r0, 0 /* 80231724 0022E684 90 1F 01 70 */ stw r0, 0x170(r31) lbl_80231728: /* 80231728 0022E688 34 1F 01 10 */ addic. r0, r31, 0x110 /* 8023172C 0022E68C 41 82 00 24 */ beq lbl_80231750 /* 80231730 0022E690 80 7F 01 10 */ lwz r3, 0x110(r31) /* 80231734 0022E694 28 03 00 00 */ cmplwi r3, 0 /* 80231738 0022E698 41 82 00 18 */ beq lbl_80231750 /* 8023173C 0022E69C 81 83 00 00 */ lwz r12, 0(r3) /* 80231740 0022E6A0 38 80 00 01 */ li r4, 1 /* 80231744 0022E6A4 81 8C 00 08 */ lwz r12, 8(r12) /* 80231748 0022E6A8 7D 89 03 A6 */ mtctr r12 /* 8023174C 0022E6AC 4E 80 04 21 */ bctrl lbl_80231750: /* 80231750 0022E6B0 34 1F 01 08 */ addic. r0, r31, 0x108 /* 80231754 0022E6B4 41 82 00 10 */ beq lbl_80231764 /* 80231758 0022E6B8 38 7F 01 08 */ addi r3, r31, 0x108 /* 8023175C 0022E6BC 38 80 00 00 */ li r4, 0 /* 80231760 0022E6C0 48 10 F6 E1 */ bl __dt__6CTokenFv lbl_80231764: /* 80231764 0022E6C4 7F E3 FB 78 */ mr r3, r31 /* 80231768 0022E6C8 38 80 00 00 */ li r4, 0 /* 8023176C 0022E6CC 4B E2 3F 85 */ bl __dt__6CActorFv /* 80231770 0022E6D0 7F C0 07 35 */ extsh. r0, r30 /* 80231774 0022E6D4 40 81 00 0C */ ble lbl_80231780 /* 80231778 0022E6D8 7F E3 FB 78 */ mr r3, r31 /* 8023177C 0022E6DC 48 0E 41 B5 */ bl Free__7CMemoryFPCv lbl_80231780: /* 80231780 0022E6E0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80231784 0022E6E4 7F E3 FB 78 */ mr r3, r31 /* 80231788 0022E6E8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8023178C 0022E6EC 83 C1 00 08 */ lwz r30, 8(r1) /* 80231790 0022E6F0 7C 08 03 A6 */ mtlr r0 /* 80231794 0022E6F4 38 21 00 10 */ addi r1, r1, 0x10 /* 80231798 0022E6F8 4E 80 00 20 */ blr .global AcceptScriptMsg__10CShockwaveF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__10CShockwaveF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8023179C 0022E6FC 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 802317A0 0022E700 7C 08 02 A6 */ mflr r0 /* 802317A4 0022E704 90 01 00 D4 */ stw r0, 0xd4(r1) /* 802317A8 0022E708 BE E1 00 AC */ stmw r23, 0xac(r1) /* 802317AC 0022E70C 7C 9D 23 78 */ mr r29, r4 /* 802317B0 0022E710 2C 1D 00 22 */ cmpwi r29, 0x22 /* 802317B4 0022E714 7C 7C 1B 78 */ mr r28, r3 /* 802317B8 0022E718 7C BE 2B 78 */ mr r30, r5 /* 802317BC 0022E71C 7C DF 33 78 */ mr r31, r6 /* 802317C0 0022E720 41 82 01 44 */ beq lbl_80231904 /* 802317C4 0022E724 40 80 01 6C */ bge lbl_80231930 /* 802317C8 0022E728 2C 1D 00 21 */ cmpwi r29, 0x21 /* 802317CC 0022E72C 40 80 00 08 */ bge lbl_802317D4 /* 802317D0 0022E730 48 00 01 60 */ b lbl_80231930 lbl_802317D4: /* 802317D4 0022E734 80 7C 01 10 */ lwz r3, 0x110(r28) /* 802317D8 0022E738 81 83 00 00 */ lwz r12, 0(r3) /* 802317DC 0022E73C 81 8C 00 64 */ lwz r12, 0x64(r12) /* 802317E0 0022E740 7D 89 03 A6 */ mtctr r12 /* 802317E4 0022E744 4E 80 04 21 */ bctrl /* 802317E8 0022E748 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802317EC 0022E74C 41 82 01 44 */ beq lbl_80231930 /* 802317F0 0022E750 7F E4 FB 78 */ mr r4, r31 /* 802317F4 0022E754 38 61 00 2C */ addi r3, r1, 0x2c /* 802317F8 0022E758 4B E1 B8 E5 */ bl AllocateUniqueId__13CStateManagerFv /* 802317FC 0022E75C A0 01 00 2C */ lhz r0, 0x2c(r1) /* 80231800 0022E760 3C 60 80 3D */ lis r3, lbl_803D3468@ha /* 80231804 0022E764 38 83 34 68 */ addi r4, r3, lbl_803D3468@l /* 80231808 0022E768 3B 60 00 00 */ li r27, 0 /* 8023180C 0022E76C B0 1C 09 80 */ sth r0, 0x980(r28) /* 80231810 0022E770 3A E0 00 00 */ li r23, 0 /* 80231814 0022E774 38 60 01 48 */ li r3, 0x148 /* 80231818 0022E778 38 A0 00 00 */ li r5, 0 /* 8023181C 0022E77C 83 1C 01 18 */ lwz r24, 0x118(r28) /* 80231820 0022E780 48 0E 40 4D */ bl __nw__FUlPCcPCc /* 80231824 0022E784 7C 7A 1B 79 */ or. r26, r3, r3 /* 80231828 0022E788 41 82 00 AC */ beq lbl_802318D4 /* 8023182C 0022E78C A0 1C 00 08 */ lhz r0, 8(r28) /* 80231830 0022E790 3C 60 80 3D */ lis r3, lbl_803D3468@ha /* 80231834 0022E794 83 3C 01 10 */ lwz r25, 0x110(r28) /* 80231838 0022E798 38 83 34 68 */ addi r4, r3, lbl_803D3468@l /* 8023183C 0022E79C B0 01 00 24 */ sth r0, 0x24(r1) /* 80231840 0022E7A0 38 61 00 48 */ addi r3, r1, 0x48 /* 80231844 0022E7A4 38 84 00 07 */ addi r4, r4, 7 /* 80231848 0022E7A8 B0 01 00 28 */ sth r0, 0x28(r1) /* 8023184C 0022E7AC 4B DD 34 6D */ bl string_l__4rstlFPCc /* 80231850 0022E7B0 38 61 00 38 */ addi r3, r1, 0x38 /* 80231854 0022E7B4 38 81 00 48 */ addi r4, r1, 0x48 /* 80231858 0022E7B8 38 BC 00 10 */ addi r5, r28, 0x10 /* 8023185C 0022E7BC 3B 60 00 01 */ li r27, 1 /* 80231860 0022E7C0 4B DD 33 FD */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80231864 0022E7C4 88 1C 00 30 */ lbz r0, 0x30(r28) /* 80231868 0022E7C8 7F 24 CB 78 */ mr r4, r25 /* 8023186C 0022E7CC 80 BC 00 04 */ lwz r5, 4(r28) /* 80231870 0022E7D0 38 61 00 58 */ addi r3, r1, 0x58 /* 80231874 0022E7D4 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f /* 80231878 0022E7D8 3A E0 00 01 */ li r23, 1 /* 8023187C 0022E7DC 90 A1 00 34 */ stw r5, 0x34(r1) /* 80231880 0022E7E0 A0 1C 09 80 */ lhz r0, 0x980(r28) /* 80231884 0022E7E4 90 A1 00 30 */ stw r5, 0x30(r1) /* 80231888 0022E7E8 B0 01 00 20 */ sth r0, 0x20(r1) /* 8023188C 0022E7EC 81 84 00 00 */ lwz r12, 0(r4) /* 80231890 0022E7F0 81 8C 00 68 */ lwz r12, 0x68(r12) /* 80231894 0022E7F4 7D 89 03 A6 */ mtctr r12 /* 80231898 0022E7F8 4E 80 04 21 */ bctrl /* 8023189C 0022E7FC 93 01 00 08 */ stw r24, 8(r1) /* 802318A0 0022E800 38 00 00 01 */ li r0, 1 /* 802318A4 0022E804 C0 22 B6 A8 */ lfs f1, lbl_805AD3C8@sda21(r2) /* 802318A8 0022E808 7F 43 D3 78 */ mr r3, r26 /* 802318AC 0022E80C 90 01 00 0C */ stw r0, 0xc(r1) /* 802318B0 0022E810 7F 26 CB 78 */ mr r6, r25 /* 802318B4 0022E814 38 81 00 20 */ addi r4, r1, 0x20 /* 802318B8 0022E818 38 A1 00 34 */ addi r5, r1, 0x34 /* 802318BC 0022E81C 38 E1 00 38 */ addi r7, r1, 0x38 /* 802318C0 0022E820 39 1C 00 34 */ addi r8, r28, 0x34 /* 802318C4 0022E824 39 21 00 28 */ addi r9, r1, 0x28 /* 802318C8 0022E828 39 41 00 58 */ addi r10, r1, 0x58 /* 802318CC 0022E82C 4B E8 3F 59 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" /* 802318D0 0022E830 7C 7A 1B 78 */ mr r26, r3 lbl_802318D4: /* 802318D4 0022E834 7F E3 FB 78 */ mr r3, r31 /* 802318D8 0022E838 7F 44 D3 78 */ mr r4, r26 /* 802318DC 0022E83C 4B E1 B4 19 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 802318E0 0022E840 7E E0 07 75 */ extsb. r0, r23 /* 802318E4 0022E844 41 82 00 0C */ beq lbl_802318F0 /* 802318E8 0022E848 38 61 00 38 */ addi r3, r1, 0x38 /* 802318EC 0022E84C 48 10 C1 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802318F0: /* 802318F0 0022E850 7F 60 07 75 */ extsb. r0, r27 /* 802318F4 0022E854 41 82 00 3C */ beq lbl_80231930 /* 802318F8 0022E858 38 61 00 48 */ addi r3, r1, 0x48 /* 802318FC 0022E85C 48 10 C1 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80231900 0022E860 48 00 00 30 */ b lbl_80231930 lbl_80231904: /* 80231904 0022E864 A0 7C 09 80 */ lhz r3, 0x980(r28) /* 80231908 0022E868 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8023190C 0022E86C 7C 03 00 40 */ cmplw r3, r0 /* 80231910 0022E870 41 82 00 20 */ beq lbl_80231930 /* 80231914 0022E874 A0 1C 09 80 */ lhz r0, 0x980(r28) /* 80231918 0022E878 7F E3 FB 78 */ mr r3, r31 /* 8023191C 0022E87C 38 81 00 1C */ addi r4, r1, 0x1c /* 80231920 0022E880 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80231924 0022E884 4B E1 A9 49 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 80231928 0022E888 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8023192C 0022E88C B0 1C 09 80 */ sth r0, 0x980(r28) lbl_80231930: /* 80231930 0022E890 A0 1E 00 00 */ lhz r0, 0(r30) /* 80231934 0022E894 7F 83 E3 78 */ mr r3, r28 /* 80231938 0022E898 7F A4 EB 78 */ mr r4, r29 /* 8023193C 0022E89C 7F E6 FB 78 */ mr r6, r31 /* 80231940 0022E8A0 B0 01 00 18 */ sth r0, 0x18(r1) /* 80231944 0022E8A4 38 A1 00 18 */ addi r5, r1, 0x18 /* 80231948 0022E8A8 4B E2 1C CD */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8023194C 0022E8AC A0 1E 00 00 */ lhz r0, 0(r30) /* 80231950 0022E8B0 7F E3 FB 78 */ mr r3, r31 /* 80231954 0022E8B4 7F A6 EB 78 */ mr r6, r29 /* 80231958 0022E8B8 38 81 00 14 */ addi r4, r1, 0x14 /* 8023195C 0022E8BC B0 01 00 10 */ sth r0, 0x10(r1) /* 80231960 0022E8C0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80231964 0022E8C4 A0 1C 09 80 */ lhz r0, 0x980(r28) /* 80231968 0022E8C8 B0 01 00 14 */ sth r0, 0x14(r1) /* 8023196C 0022E8CC 4B E1 24 E9 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId /* 80231970 0022E8D0 BA E1 00 AC */ lmw r23, 0xac(r1) /* 80231974 0022E8D4 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 80231978 0022E8D8 7C 08 03 A6 */ mtlr r0 /* 8023197C 0022E8DC 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80231980 0022E8E0 4E 80 00 20 */ blr .global sub_80231984 sub_80231984: /* 80231984 0022E8E4 80 03 01 70 */ lwz r0, 0x170(r3) /* 80231988 0022E8E8 38 63 01 74 */ addi r3, r3, 0x174 /* 8023198C 0022E8EC 7C 66 1B 78 */ mr r6, r3 /* 80231990 0022E8F0 54 00 08 3C */ slwi r0, r0, 1 /* 80231994 0022E8F4 7C A3 02 14 */ add r5, r3, r0 /* 80231998 0022E8F8 48 00 00 20 */ b lbl_802319B8 lbl_8023199C: /* 8023199C 0022E8FC A0 66 00 00 */ lhz r3, 0(r6) /* 802319A0 0022E900 A0 04 00 00 */ lhz r0, 0(r4) /* 802319A4 0022E904 7C 03 00 40 */ cmplw r3, r0 /* 802319A8 0022E908 40 82 00 0C */ bne lbl_802319B4 /* 802319AC 0022E90C 38 60 00 01 */ li r3, 1 /* 802319B0 0022E910 4E 80 00 20 */ blr lbl_802319B4: /* 802319B4 0022E914 38 C6 00 02 */ addi r6, r6, 2 lbl_802319B8: /* 802319B8 0022E918 7C 06 28 40 */ cmplw r6, r5 /* 802319BC 0022E91C 40 82 FF E0 */ bne lbl_8023199C /* 802319C0 0022E920 38 60 00 00 */ li r3, 0 /* 802319C4 0022E924 4E 80 00 20 */ blr .global GetTouchBounds__10CShockwaveCFv GetTouchBounds__10CShockwaveCFv: /* 802319C8 0022E928 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802319CC 0022E92C 7C 08 02 A6 */ mflr r0 /* 802319D0 0022E930 C0 22 B6 A8 */ lfs f1, lbl_805AD3C8@sda21(r2) /* 802319D4 0022E934 90 01 00 64 */ stw r0, 0x64(r1) /* 802319D8 0022E938 93 E1 00 5C */ stw r31, 0x5c(r1) /* 802319DC 0022E93C 7C 9F 23 78 */ mr r31, r4 /* 802319E0 0022E940 93 C1 00 58 */ stw r30, 0x58(r1) /* 802319E4 0022E944 7C 7E 1B 78 */ mr r30, r3 /* 802319E8 0022E948 C0 44 01 50 */ lfs f2, 0x150(r4) /* 802319EC 0022E94C FC 02 08 40 */ fcmpo cr0, f2, f1 /* 802319F0 0022E950 40 81 00 88 */ ble lbl_80231A78 /* 802319F4 0022E954 FC 60 10 50 */ fneg f3, f2 /* 802319F8 0022E958 C0 02 B6 AC */ lfs f0, lbl_805AD3CC@sda21(r2) /* 802319FC 0022E95C D0 41 00 08 */ stfs f2, 8(r1) /* 80231A00 0022E960 38 61 00 38 */ addi r3, r1, 0x38 /* 80231A04 0022E964 38 81 00 14 */ addi r4, r1, 0x14 /* 80231A08 0022E968 38 A1 00 08 */ addi r5, r1, 8 /* 80231A0C 0022E96C D0 41 00 0C */ stfs f2, 0xc(r1) /* 80231A10 0022E970 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80231A14 0022E974 D0 61 00 14 */ stfs f3, 0x14(r1) /* 80231A18 0022E978 D0 61 00 18 */ stfs f3, 0x18(r1) /* 80231A1C 0022E97C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 80231A20 0022E980 48 10 6A E9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 80231A24 0022E984 38 61 00 20 */ addi r3, r1, 0x20 /* 80231A28 0022E988 38 81 00 38 */ addi r4, r1, 0x38 /* 80231A2C 0022E98C 38 BF 00 34 */ addi r5, r31, 0x34 /* 80231A30 0022E990 48 10 5E CD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 80231A34 0022E994 38 00 00 01 */ li r0, 1 /* 80231A38 0022E998 28 1E 00 00 */ cmplwi r30, 0 /* 80231A3C 0022E99C 98 1E 00 18 */ stb r0, 0x18(r30) /* 80231A40 0022E9A0 41 82 00 40 */ beq lbl_80231A80 /* 80231A44 0022E9A4 C0 01 00 20 */ lfs f0, 0x20(r1) /* 80231A48 0022E9A8 D0 1E 00 00 */ stfs f0, 0(r30) /* 80231A4C 0022E9AC C0 01 00 24 */ lfs f0, 0x24(r1) /* 80231A50 0022E9B0 D0 1E 00 04 */ stfs f0, 4(r30) /* 80231A54 0022E9B4 C0 01 00 28 */ lfs f0, 0x28(r1) /* 80231A58 0022E9B8 D0 1E 00 08 */ stfs f0, 8(r30) /* 80231A5C 0022E9BC C0 01 00 2C */ lfs f0, 0x2c(r1) /* 80231A60 0022E9C0 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 80231A64 0022E9C4 C0 01 00 30 */ lfs f0, 0x30(r1) /* 80231A68 0022E9C8 D0 1E 00 10 */ stfs f0, 0x10(r30) /* 80231A6C 0022E9CC C0 01 00 34 */ lfs f0, 0x34(r1) /* 80231A70 0022E9D0 D0 1E 00 14 */ stfs f0, 0x14(r30) /* 80231A74 0022E9D4 48 00 00 0C */ b lbl_80231A80 lbl_80231A78: /* 80231A78 0022E9D8 38 00 00 00 */ li r0, 0 /* 80231A7C 0022E9DC 98 1E 00 18 */ stb r0, 0x18(r30) lbl_80231A80: /* 80231A80 0022E9E0 80 01 00 64 */ lwz r0, 0x64(r1) /* 80231A84 0022E9E4 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80231A88 0022E9E8 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80231A8C 0022E9EC 7C 08 03 A6 */ mtlr r0 /* 80231A90 0022E9F0 38 21 00 60 */ addi r1, r1, 0x60 /* 80231A94 0022E9F4 4E 80 00 20 */ blr .global Touch__10CShockwaveFR6CActorR13CStateManager Touch__10CShockwaveFR6CActorR13CStateManager: /* 80231A98 0022E9F8 94 21 FE 40 */ stwu r1, -0x1c0(r1) /* 80231A9C 0022E9FC 7C 08 02 A6 */ mflr r0 /* 80231AA0 0022EA00 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 80231AA4 0022EA04 DB E1 01 B0 */ stfd f31, 0x1b0(r1) /* 80231AA8 0022EA08 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 /* 80231AAC 0022EA0C DB C1 01 A0 */ stfd f30, 0x1a0(r1) /* 80231AB0 0022EA10 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 /* 80231AB4 0022EA14 DB A1 01 90 */ stfd f29, 0x190(r1) /* 80231AB8 0022EA18 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 /* 80231ABC 0022EA1C DB 81 01 80 */ stfd f28, 0x180(r1) /* 80231AC0 0022EA20 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 /* 80231AC4 0022EA24 DB 61 01 70 */ stfd f27, 0x170(r1) /* 80231AC8 0022EA28 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 /* 80231ACC 0022EA2C BE C1 01 48 */ stmw r22, 0x148(r1) /* 80231AD0 0022EA30 7C 7B 1B 78 */ mr r27, r3 /* 80231AD4 0022EA34 7C 9C 23 78 */ mr r28, r4 /* 80231AD8 0022EA38 C0 23 01 58 */ lfs f1, 0x158(r3) /* 80231ADC 0022EA3C 7C BD 2B 78 */ mr r29, r5 /* 80231AE0 0022EA40 C0 03 01 5C */ lfs f0, 0x15c(r3) /* 80231AE4 0022EA44 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80231AE8 0022EA48 4C 41 13 82 */ cror 2, 1, 2 /* 80231AEC 0022EA4C 41 82 05 64 */ beq lbl_80232050 /* 80231AF0 0022EA50 A0 BC 00 08 */ lhz r5, 8(r28) /* 80231AF4 0022EA54 7F A3 EB 78 */ mr r3, r29 /* 80231AF8 0022EA58 A0 1B 00 E8 */ lhz r0, 0xe8(r27) /* 80231AFC 0022EA5C 38 81 00 54 */ addi r4, r1, 0x54 /* 80231B00 0022EA60 B0 A1 00 50 */ sth r5, 0x50(r1) /* 80231B04 0022EA64 7C 05 00 50 */ subf r0, r5, r0 /* 80231B08 0022EA68 7C 00 00 34 */ cntlzw r0, r0 /* 80231B0C 0022EA6C B0 A1 00 54 */ sth r5, 0x54(r1) /* 80231B10 0022EA70 54 17 D9 7E */ srwi r23, r0, 5 /* 80231B14 0022EA74 4B E1 AA 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80231B18 0022EA78 7C 64 1B 78 */ mr r4, r3 /* 80231B1C 0022EA7C 38 61 00 68 */ addi r3, r1, 0x68 /* 80231B20 0022EA80 4B E7 D8 2D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80231B24 0022EA84 80 63 00 04 */ lwz r3, 4(r3) /* 80231B28 0022EA88 28 03 00 00 */ cmplwi r3, 0 /* 80231B2C 0022EA8C 41 82 00 18 */ beq lbl_80231B44 /* 80231B30 0022EA90 A0 63 02 5C */ lhz r3, 0x25c(r3) /* 80231B34 0022EA94 A0 1B 00 E8 */ lhz r0, 0xe8(r27) /* 80231B38 0022EA98 7C 03 00 50 */ subf r0, r3, r0 /* 80231B3C 0022EA9C 7C 00 00 34 */ cntlzw r0, r0 /* 80231B40 0022EAA0 54 17 D9 7E */ srwi r23, r0, 5 lbl_80231B44: /* 80231B44 0022EAA4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 80231B48 0022EAA8 40 82 05 08 */ bne lbl_80232050 /* 80231B4C 0022EAAC C0 5B 01 50 */ lfs f2, 0x150(r27) /* 80231B50 0022EAB0 C0 3C 00 40 */ lfs f1, 0x40(r28) /* 80231B54 0022EAB4 C0 1B 00 40 */ lfs f0, 0x40(r27) /* 80231B58 0022EAB8 EF E2 00 B2 */ fmuls f31, f2, f2 /* 80231B5C 0022EABC C0 9B 01 3C */ lfs f4, 0x13c(r27) /* 80231B60 0022EAC0 C0 7C 00 50 */ lfs f3, 0x50(r28) /* 80231B64 0022EAC4 EF 81 00 28 */ fsubs f28, f1, f0 /* 80231B68 0022EAC8 C0 5B 00 50 */ lfs f2, 0x50(r27) /* 80231B6C 0022EACC EC 1F 01 32 */ fmuls f0, f31, f4 /* 80231B70 0022EAD0 80 1B 00 EC */ lwz r0, 0xec(r27) /* 80231B74 0022EAD4 C0 22 B6 AC */ lfs f1, lbl_805AD3CC@sda21(r2) /* 80231B78 0022EAD8 EF A3 10 28 */ fsubs f29, f3, f2 /* 80231B7C 0022EADC 90 01 00 F0 */ stw r0, 0xf0(r1) /* 80231B80 0022EAE0 EF 60 01 32 */ fmuls f27, f0, f4 /* 80231B84 0022EAE4 C0 0D 96 30 */ lfs f0, lbl_805A81F0@sda21(r13) /* 80231B88 0022EAE8 88 1B 00 F0 */ lbz r0, 0xf0(r27) /* 80231B8C 0022EAEC 98 01 00 F4 */ stb r0, 0xf4(r1) /* 80231B90 0022EAF0 C0 5B 00 F4 */ lfs f2, 0xf4(r27) /* 80231B94 0022EAF4 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 80231B98 0022EAF8 C0 5B 00 F8 */ lfs f2, 0xf8(r27) /* 80231B9C 0022EAFC D0 41 00 FC */ stfs f2, 0xfc(r1) /* 80231BA0 0022EB00 C0 5B 00 FC */ lfs f2, 0xfc(r27) /* 80231BA4 0022EB04 D0 41 01 00 */ stfs f2, 0x100(r1) /* 80231BA8 0022EB08 C0 5B 01 00 */ lfs f2, 0x100(r27) /* 80231BAC 0022EB0C D0 41 01 04 */ stfs f2, 0x104(r1) /* 80231BB0 0022EB10 88 1B 01 04 */ lbz r0, 0x104(r27) /* 80231BB4 0022EB14 98 01 01 08 */ stb r0, 0x108(r1) /* 80231BB8 0022EB18 C0 7B 01 60 */ lfs f3, 0x160(r27) /* 80231BBC 0022EB1C C0 5B 01 58 */ lfs f2, 0x158(r27) /* 80231BC0 0022EB20 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 /* 80231BC4 0022EB24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80231BC8 0022EB28 D0 21 00 64 */ stfs f1, 0x64(r1) /* 80231BCC 0022EB2C 40 80 00 0C */ bge lbl_80231BD8 /* 80231BD0 0022EB30 38 6D 96 30 */ addi r3, r13, lbl_805A81F0@sda21 /* 80231BD4 0022EB34 48 00 00 08 */ b lbl_80231BDC lbl_80231BD8: /* 80231BD8 0022EB38 38 61 00 64 */ addi r3, r1, 0x64 lbl_80231BDC: /* 80231BDC 0022EB3C C3 C3 00 00 */ lfs f30, 0(r3) /* 80231BE0 0022EB40 7F A3 EB 78 */ mr r3, r29 /* 80231BE4 0022EB44 4B E1 23 59 */ bl GetPlayer__13CStateManagerCFv /* 80231BE8 0022EB48 A0 9C 00 08 */ lhz r4, 8(r28) /* 80231BEC 0022EB4C 3B C0 00 00 */ li r30, 0 /* 80231BF0 0022EB50 A0 03 00 08 */ lhz r0, 8(r3) /* 80231BF4 0022EB54 7C 04 00 50 */ subf r0, r4, r0 /* 80231BF8 0022EB58 7C 03 00 34 */ cntlzw r3, r0 /* 80231BFC 0022EB5C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f /* 80231C00 0022EB60 54 7F D9 7E */ srwi r31, r3, 5 /* 80231C04 0022EB64 41 82 00 18 */ beq lbl_80231C1C /* 80231C08 0022EB68 80 7D 08 4C */ lwz r3, 0x84c(r29) /* 80231C0C 0022EB6C 80 03 02 58 */ lwz r0, 0x258(r3) /* 80231C10 0022EB70 2C 00 00 00 */ cmpwi r0, 0 /* 80231C14 0022EB74 41 82 00 08 */ beq lbl_80231C1C /* 80231C18 0022EB78 3B C0 00 01 */ li r30, 1 lbl_80231C1C: /* 80231C1C 0022EB7C EC 1D 07 72 */ fmuls f0, f29, f29 /* 80231C20 0022EB80 C0 22 B6 A8 */ lfs f1, lbl_805AD3C8@sda21(r2) /* 80231C24 0022EB84 EC 1C 07 3A */ fmadds f0, f28, f28, f0 /* 80231C28 0022EB88 EC 01 00 2A */ fadds f0, f1, f0 /* 80231C2C 0022EB8C FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 80231C30 0022EB90 4C 41 13 82 */ cror 2, 1, 2 /* 80231C34 0022EB94 40 82 04 1C */ bne lbl_80232050 /* 80231C38 0022EB98 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 80231C3C 0022EB9C 4C 40 13 82 */ cror 2, 0, 2 /* 80231C40 0022EBA0 40 82 04 10 */ bne lbl_80232050 /* 80231C44 0022EBA4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80231C48 0022EBA8 41 82 00 FC */ beq lbl_80231D44 /* 80231C4C 0022EBAC 80 9D 08 4C */ lwz r4, 0x84c(r29) /* 80231C50 0022EBB0 80 04 02 F8 */ lwz r0, 0x2f8(r4) /* 80231C54 0022EBB4 2C 00 00 00 */ cmpwi r0, 0 /* 80231C58 0022EBB8 40 82 00 B4 */ bne lbl_80231D0C /* 80231C5C 0022EBBC 38 61 01 0C */ addi r3, r1, 0x10c /* 80231C60 0022EBC0 38 84 00 34 */ addi r4, r4, 0x34 /* 80231C64 0022EBC4 48 0E 0F 11 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80231C68 0022EBC8 C0 3B 00 50 */ lfs f1, 0x50(r27) /* 80231C6C 0022EBCC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80231C70 0022EBD0 C0 01 01 28 */ lfs f0, 0x128(r1) /* 80231C74 0022EBD4 C0 7B 00 60 */ lfs f3, 0x60(r27) /* 80231C78 0022EBD8 C0 41 01 38 */ lfs f2, 0x138(r1) /* 80231C7C 0022EBDC EC 81 00 28 */ fsubs f4, f1, f0 /* 80231C80 0022EBE0 C0 3B 00 40 */ lfs f1, 0x40(r27) /* 80231C84 0022EBE4 C0 01 01 18 */ lfs f0, 0x118(r1) /* 80231C88 0022EBE8 EC 43 10 28 */ fsubs f2, f3, f2 /* 80231C8C 0022EBEC D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 80231C90 0022EBF0 EC 01 00 28 */ fsubs f0, f1, f0 /* 80231C94 0022EBF4 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 80231C98 0022EBF8 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 80231C9C 0022EBFC 48 0E 2A 5D */ bl CanBeNormalized__9CVector3fCFv /* 80231CA0 0022EC00 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80231CA4 0022EC04 41 82 00 68 */ beq lbl_80231D0C /* 80231CA8 0022EC08 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80231CAC 0022EC0C 48 0E 2C 4D */ bl Normalize__9CVector3fFv /* 80231CB0 0022EC10 C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 80231CB4 0022EC14 C0 01 01 20 */ lfs f0, 0x120(r1) /* 80231CB8 0022EC18 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 80231CBC 0022EC1C EC 01 00 32 */ fmuls f0, f1, f0 /* 80231CC0 0022EC20 C0 21 01 10 */ lfs f1, 0x110(r1) /* 80231CC4 0022EC24 C0 81 00 B8 */ lfs f4, 0xb8(r1) /* 80231CC8 0022EC28 C0 61 01 30 */ lfs f3, 0x130(r1) /* 80231CCC 0022EC2C EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80231CD0 0022EC30 C0 42 B6 B4 */ lfs f2, lbl_805AD3D4@sda21(r2) /* 80231CD4 0022EC34 C0 02 B6 B0 */ lfs f0, lbl_805AD3D0@sda21(r2) /* 80231CD8 0022EC38 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 80231CDC 0022EC3C FC 20 0A 10 */ fabs f1, f1 /* 80231CE0 0022EC40 FC 20 08 18 */ frsp f1, f1 /* 80231CE4 0022EC44 EC 21 00 72 */ fmuls f1, f1, f1 /* 80231CE8 0022EC48 EC 22 00 72 */ fmuls f1, f2, f1 /* 80231CEC 0022EC4C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80231CF0 0022EC50 D0 21 00 60 */ stfs f1, 0x60(r1) /* 80231CF4 0022EC54 40 80 00 0C */ bge lbl_80231D00 /* 80231CF8 0022EC58 38 61 00 60 */ addi r3, r1, 0x60 /* 80231CFC 0022EC5C 48 00 00 08 */ b lbl_80231D04 lbl_80231D00: /* 80231D00 0022EC60 38 62 B6 B0 */ addi r3, r2, lbl_805AD3D0@sda21 lbl_80231D04: /* 80231D04 0022EC64 C0 03 00 00 */ lfs f0, 0(r3) /* 80231D08 0022EC68 EF DE 00 32 */ fmuls f30, f30, f0 lbl_80231D0C: /* 80231D0C 0022EC6C 80 9D 08 4C */ lwz r4, 0x84c(r29) /* 80231D10 0022EC70 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80231D14 0022EC74 C0 04 01 38 */ lfs f0, 0x138(r4) /* 80231D18 0022EC78 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 80231D1C 0022EC7C C0 04 01 3C */ lfs f0, 0x13c(r4) /* 80231D20 0022EC80 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 80231D24 0022EC84 C0 04 01 40 */ lfs f0, 0x140(r4) /* 80231D28 0022EC88 D0 01 00 AC */ stfs f0, 0xac(r1) /* 80231D2C 0022EC8C 48 0E 2B 8D */ bl Magnitude__9CVector3fCFv /* 80231D30 0022EC90 C0 02 B6 B8 */ lfs f0, lbl_805AD3D8@sda21(r2) /* 80231D34 0022EC94 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80231D38 0022EC98 40 81 00 0C */ ble lbl_80231D44 /* 80231D3C 0022EC9C C0 02 B6 BC */ lfs f0, lbl_805AD3DC@sda21(r2) /* 80231D40 0022ECA0 D0 1B 01 68 */ stfs f0, 0x168(r27) lbl_80231D44: /* 80231D44 0022ECA4 C0 1B 01 00 */ lfs f0, 0x100(r27) /* 80231D48 0022ECA8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80231D4C 0022ECAC 38 00 00 01 */ li r0, 1 /* 80231D50 0022ECB0 EC 1E 00 32 */ fmuls f0, f30, f0 /* 80231D54 0022ECB4 D0 01 01 04 */ stfs f0, 0x104(r1) /* 80231D58 0022ECB8 41 82 00 30 */ beq lbl_80231D88 /* 80231D5C 0022ECBC C0 3B 01 64 */ lfs f1, 0x164(r27) /* 80231D60 0022ECC0 C0 02 B6 C0 */ lfs f0, lbl_805AD3E0@sda21(r2) /* 80231D64 0022ECC4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80231D68 0022ECC8 4C 41 13 82 */ cror 2, 1, 2 /* 80231D6C 0022ECCC 41 82 00 18 */ beq lbl_80231D84 /* 80231D70 0022ECD0 C0 3B 01 68 */ lfs f1, 0x168(r27) /* 80231D74 0022ECD4 C0 02 B6 BC */ lfs f0, lbl_805AD3DC@sda21(r2) /* 80231D78 0022ECD8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80231D7C 0022ECDC 4C 41 13 82 */ cror 2, 1, 2 /* 80231D80 0022ECE0 40 82 00 08 */ bne lbl_80231D88 lbl_80231D84: /* 80231D84 0022ECE4 38 00 00 00 */ li r0, 0 lbl_80231D88: /* 80231D88 0022ECE8 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80231D8C 0022ECEC 41 82 02 C4 */ beq lbl_80232050 /* 80231D90 0022ECF0 A0 1C 00 08 */ lhz r0, 8(r28) /* 80231D94 0022ECF4 7F 63 DB 78 */ mr r3, r27 /* 80231D98 0022ECF8 38 81 00 4C */ addi r4, r1, 0x4c /* 80231D9C 0022ECFC B0 01 00 48 */ sth r0, 0x48(r1) /* 80231DA0 0022ED00 B0 01 00 4C */ sth r0, 0x4c(r1) /* 80231DA4 0022ED04 4B FF FB E1 */ bl sub_80231984 /* 80231DA8 0022ED08 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80231DAC 0022ED0C 40 82 02 08 */ bne lbl_80231FB4 /* 80231DB0 0022ED10 80 AD 96 28 */ lwz r5, lbl_805A81E8@sda21(r13) /* 80231DB4 0022ED14 38 60 00 00 */ li r3, 0 /* 80231DB8 0022ED18 38 80 00 01 */ li r4, 1 /* 80231DBC 0022ED1C 48 15 81 39 */ bl __shl2i /* 80231DC0 0022ED20 39 40 00 00 */ li r10, 0 /* 80231DC4 0022ED24 38 00 00 03 */ li r0, 3 /* 80231DC8 0022ED28 90 81 00 DC */ stw r4, 0xdc(r1) /* 80231DCC 0022ED2C 3C 80 80 5A */ lis r4, skZero3f@ha /* 80231DD0 0022ED30 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 80231DD4 0022ED34 38 A1 00 3C */ addi r5, r1, 0x3c /* 80231DD8 0022ED38 90 61 00 D8 */ stw r3, 0xd8(r1) /* 80231DDC 0022ED3C 38 81 00 44 */ addi r4, r1, 0x44 /* 80231DE0 0022ED40 7F A3 EB 78 */ mr r3, r29 /* 80231DE4 0022ED44 38 C1 00 34 */ addi r6, r1, 0x34 /* 80231DE8 0022ED48 91 41 00 E4 */ stw r10, 0xe4(r1) /* 80231DEC 0022ED4C 38 E1 00 F0 */ addi r7, r1, 0xf0 /* 80231DF0 0022ED50 39 01 00 D8 */ addi r8, r1, 0xd8 /* 80231DF4 0022ED54 91 41 00 E0 */ stw r10, 0xe0(r1) /* 80231DF8 0022ED58 90 01 00 E8 */ stw r0, 0xe8(r1) /* 80231DFC 0022ED5C A0 1B 00 08 */ lhz r0, 8(r27) /* 80231E00 0022ED60 B0 01 00 34 */ sth r0, 0x34(r1) /* 80231E04 0022ED64 A1 5C 00 08 */ lhz r10, 8(r28) /* 80231E08 0022ED68 B0 01 00 30 */ sth r0, 0x30(r1) /* 80231E0C 0022ED6C B1 41 00 3C */ sth r10, 0x3c(r1) /* 80231E10 0022ED70 A0 1B 00 08 */ lhz r0, 8(r27) /* 80231E14 0022ED74 B1 41 00 38 */ sth r10, 0x38(r1) /* 80231E18 0022ED78 B0 01 00 40 */ sth r0, 0x40(r1) /* 80231E1C 0022ED7C B0 01 00 44 */ sth r0, 0x44(r1) /* 80231E20 0022ED80 4B E1 82 81 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 80231E24 0022ED84 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80231E28 0022ED88 41 82 01 60 */ beq lbl_80231F88 /* 80231E2C 0022ED8C 88 1B 09 7C */ lbz r0, 0x97c(r27) /* 80231E30 0022ED90 28 00 00 00 */ cmplwi r0, 0 /* 80231E34 0022ED94 41 82 01 54 */ beq lbl_80231F88 /* 80231E38 0022ED98 3C 60 80 3D */ lis r3, lbl_803D3468@ha /* 80231E3C 0022ED9C 3B 40 00 00 */ li r26, 0 /* 80231E40 0022EDA0 38 83 34 68 */ addi r4, r3, lbl_803D3468@l /* 80231E44 0022EDA4 3A C0 00 00 */ li r22, 0 /* 80231E48 0022EDA8 38 60 01 10 */ li r3, 0x110 /* 80231E4C 0022EDAC 38 A0 00 00 */ li r5, 0 /* 80231E50 0022EDB0 48 0E 3A 1D */ bl __nw__FUlPCcPCc /* 80231E54 0022EDB4 7C 77 1B 79 */ or. r23, r3, r3 /* 80231E58 0022EDB8 41 82 00 C4 */ beq lbl_80231F1C /* 80231E5C 0022EDBC C0 22 B6 A8 */ lfs f1, lbl_805AD3C8@sda21(r2) /* 80231E60 0022EDC0 3C 60 80 3D */ lis r3, lbl_803D3468@ha /* 80231E64 0022EDC4 C0 02 B6 AC */ lfs f0, lbl_805AD3CC@sda21(r2) /* 80231E68 0022EDC8 38 83 34 68 */ addi r4, r3, lbl_803D3468@l /* 80231E6C 0022EDCC D0 21 00 98 */ stfs f1, 0x98(r1) /* 80231E70 0022EDD0 38 61 00 7C */ addi r3, r1, 0x7c /* 80231E74 0022EDD4 38 84 00 17 */ addi r4, r4, 0x17 /* 80231E78 0022EDD8 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 80231E7C 0022EDDC D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 80231E80 0022EDE0 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 80231E84 0022EDE4 D0 01 00 90 */ stfs f0, 0x90(r1) /* 80231E88 0022EDE8 D0 01 00 94 */ stfs f0, 0x94(r1) /* 80231E8C 0022EDEC 4B DD 2E 2D */ bl string_l__4rstlFPCc /* 80231E90 0022EDF0 7F A4 EB 78 */ mr r4, r29 /* 80231E94 0022EDF4 38 61 00 28 */ addi r3, r1, 0x28 /* 80231E98 0022EDF8 3B 40 00 01 */ li r26, 1 /* 80231E9C 0022EDFC 4B E1 B2 41 */ bl AllocateUniqueId__13CStateManagerFv /* 80231EA0 0022EE00 C0 22 B6 AC */ lfs f1, lbl_805AD3CC@sda21(r2) /* 80231EA4 0022EE04 38 00 00 00 */ li r0, 0 /* 80231EA8 0022EE08 A0 81 00 28 */ lhz r4, 0x28(r1) /* 80231EAC 0022EE0C 38 61 00 5C */ addi r3, r1, 0x5c /* 80231EB0 0022EE10 FC 40 08 90 */ fmr f2, f1 /* 80231EB4 0022EE14 98 01 00 78 */ stb r0, 0x78(r1) /* 80231EB8 0022EE18 FC 60 08 90 */ fmr f3, f1 /* 80231EBC 0022EE1C 3A C0 00 01 */ li r22, 1 /* 80231EC0 0022EE20 FC 80 08 90 */ fmr f4, f1 /* 80231EC4 0022EE24 B0 81 00 2C */ sth r4, 0x2c(r1) /* 80231EC8 0022EE28 48 13 15 25 */ bl __ct__6CColorFffff /* 80231ECC 0022EE2C 7C 78 1B 78 */ mr r24, r3 /* 80231ED0 0022EE30 7F A3 EB 78 */ mr r3, r29 /* 80231ED4 0022EE34 4B EF E3 59 */ bl GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager /* 80231ED8 0022EE38 7C 79 1B 78 */ mr r25, r3 /* 80231EDC 0022EE3C 7F A3 EB 78 */ mr r3, r29 /* 80231EE0 0022EE40 4B EF E3 19 */ bl GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager /* 80231EE4 0022EE44 38 61 00 8C */ addi r3, r1, 0x8c /* 80231EE8 0022EE48 38 01 00 98 */ addi r0, r1, 0x98 /* 80231EEC 0022EE4C 90 61 00 08 */ stw r3, 8(r1) /* 80231EF0 0022EE50 7E E3 BB 78 */ mr r3, r23 /* 80231EF4 0022EE54 7F 29 CB 78 */ mr r9, r25 /* 80231EF8 0022EE58 7F 0A C3 78 */ mr r10, r24 /* 80231EFC 0022EE5C 90 01 00 0C */ stw r0, 0xc(r1) /* 80231F00 0022EE60 38 81 00 70 */ addi r4, r1, 0x70 /* 80231F04 0022EE64 38 BB 09 74 */ addi r5, r27, 0x974 /* 80231F08 0022EE68 38 C1 00 2C */ addi r6, r1, 0x2c /* 80231F0C 0022EE6C 39 01 00 7C */ addi r8, r1, 0x7c /* 80231F10 0022EE70 38 E0 00 01 */ li r7, 1 /* 80231F14 0022EE74 4B EF DF E5 */ bl "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" /* 80231F18 0022EE78 7C 77 1B 78 */ mr r23, r3 lbl_80231F1C: /* 80231F1C 0022EE7C 7F A3 EB 78 */ mr r3, r29 /* 80231F20 0022EE80 7E E4 BB 78 */ mr r4, r23 /* 80231F24 0022EE84 4B E1 AD D1 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence /* 80231F28 0022EE88 7E C0 07 75 */ extsb. r0, r22 /* 80231F2C 0022EE8C 41 82 00 28 */ beq lbl_80231F54 /* 80231F30 0022EE90 88 01 00 78 */ lbz r0, 0x78(r1) /* 80231F34 0022EE94 28 00 00 00 */ cmplwi r0, 0 /* 80231F38 0022EE98 41 82 00 14 */ beq lbl_80231F4C /* 80231F3C 0022EE9C 34 61 00 70 */ addic. r3, r1, 0x70 /* 80231F40 0022EEA0 41 82 00 0C */ beq lbl_80231F4C /* 80231F44 0022EEA4 38 80 00 00 */ li r4, 0 /* 80231F48 0022EEA8 48 10 EE F9 */ bl __dt__6CTokenFv lbl_80231F4C: /* 80231F4C 0022EEAC 38 00 00 00 */ li r0, 0 /* 80231F50 0022EEB0 98 01 00 78 */ stb r0, 0x78(r1) lbl_80231F54: /* 80231F54 0022EEB4 7F 40 07 75 */ extsb. r0, r26 /* 80231F58 0022EEB8 41 82 00 0C */ beq lbl_80231F64 /* 80231F5C 0022EEBC 38 61 00 7C */ addi r3, r1, 0x7c /* 80231F60 0022EEC0 48 10 BB 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80231F64: /* 80231F64 0022EEC4 A0 9B 01 4C */ lhz r4, 0x14c(r27) /* 80231F68 0022EEC8 38 61 00 58 */ addi r3, r1, 0x58 /* 80231F6C 0022EECC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80231F70 0022EED0 38 A0 00 7F */ li r5, 0x7f /* 80231F74 0022EED4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80231F78 0022EED8 38 C0 00 40 */ li r6, 0x40 /* 80231F7C 0022EEDC 38 E0 00 00 */ li r7, 0 /* 80231F80 0022EEE0 39 20 00 00 */ li r9, 0 /* 80231F84 0022EEE4 48 0B 7D F1 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_80231F88: /* 80231F88 0022EEE8 80 1B 01 70 */ lwz r0, 0x170(r27) /* 80231F8C 0022EEEC A0 9C 00 08 */ lhz r4, 8(r28) /* 80231F90 0022EEF0 54 00 08 3C */ slwi r0, r0, 1 /* 80231F94 0022EEF4 7C 7B 02 14 */ add r3, r27, r0 /* 80231F98 0022EEF8 34 63 01 74 */ addic. r3, r3, 0x174 /* 80231F9C 0022EEFC 41 82 00 08 */ beq lbl_80231FA4 /* 80231FA0 0022EF00 B0 83 00 00 */ sth r4, 0(r3) lbl_80231FA4: /* 80231FA4 0022EF04 80 7B 01 70 */ lwz r3, 0x170(r27) /* 80231FA8 0022EF08 38 03 00 01 */ addi r0, r3, 1 /* 80231FAC 0022EF0C 90 1B 01 70 */ stw r0, 0x170(r27) /* 80231FB0 0022EF10 48 00 00 80 */ b lbl_80232030 lbl_80231FB4: /* 80231FB4 0022EF14 C0 02 B6 A8 */ lfs f0, lbl_805AD3C8@sda21(r2) /* 80231FB8 0022EF18 38 60 00 00 */ li r3, 0 /* 80231FBC 0022EF1C 80 AD 96 28 */ lwz r5, lbl_805A81E8@sda21(r13) /* 80231FC0 0022EF20 38 80 00 01 */ li r4, 1 /* 80231FC4 0022EF24 D0 01 00 F8 */ stfs f0, 0xf8(r1) /* 80231FC8 0022EF28 48 15 7F 2D */ bl __shl2i /* 80231FCC 0022EF2C 39 40 00 00 */ li r10, 0 /* 80231FD0 0022EF30 38 00 00 03 */ li r0, 3 /* 80231FD4 0022EF34 90 81 00 C4 */ stw r4, 0xc4(r1) /* 80231FD8 0022EF38 3C 80 80 5A */ lis r4, skZero3f@ha /* 80231FDC 0022EF3C 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 80231FE0 0022EF40 38 A1 00 1C */ addi r5, r1, 0x1c /* 80231FE4 0022EF44 90 61 00 C0 */ stw r3, 0xc0(r1) /* 80231FE8 0022EF48 38 81 00 24 */ addi r4, r1, 0x24 /* 80231FEC 0022EF4C 7F A3 EB 78 */ mr r3, r29 /* 80231FF0 0022EF50 38 C1 00 14 */ addi r6, r1, 0x14 /* 80231FF4 0022EF54 91 41 00 CC */ stw r10, 0xcc(r1) /* 80231FF8 0022EF58 38 E1 00 F0 */ addi r7, r1, 0xf0 /* 80231FFC 0022EF5C 39 01 00 C0 */ addi r8, r1, 0xc0 /* 80232000 0022EF60 91 41 00 C8 */ stw r10, 0xc8(r1) /* 80232004 0022EF64 90 01 00 D0 */ stw r0, 0xd0(r1) /* 80232008 0022EF68 A0 1B 00 08 */ lhz r0, 8(r27) /* 8023200C 0022EF6C B0 01 00 14 */ sth r0, 0x14(r1) /* 80232010 0022EF70 A1 5C 00 08 */ lhz r10, 8(r28) /* 80232014 0022EF74 B0 01 00 10 */ sth r0, 0x10(r1) /* 80232018 0022EF78 B1 41 00 1C */ sth r10, 0x1c(r1) /* 8023201C 0022EF7C A0 1B 00 08 */ lhz r0, 8(r27) /* 80232020 0022EF80 B1 41 00 18 */ sth r10, 0x18(r1) /* 80232024 0022EF84 B0 01 00 20 */ sth r0, 0x20(r1) /* 80232028 0022EF88 B0 01 00 24 */ sth r0, 0x24(r1) /* 8023202C 0022EF8C 4B E1 80 75 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_80232030: /* 80232030 0022EF90 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 80232034 0022EF94 41 82 00 0C */ beq lbl_80232040 /* 80232038 0022EF98 38 00 00 01 */ li r0, 1 /* 8023203C 0022EF9C 98 1B 01 6C */ stb r0, 0x16c(r27) lbl_80232040: /* 80232040 0022EFA0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80232044 0022EFA4 41 82 00 0C */ beq lbl_80232050 /* 80232048 0022EFA8 38 00 00 01 */ li r0, 1 /* 8023204C 0022EFAC 98 1B 01 6D */ stb r0, 0x16d(r27) lbl_80232050: /* 80232050 0022EFB0 E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 /* 80232054 0022EFB4 CB E1 01 B0 */ lfd f31, 0x1b0(r1) /* 80232058 0022EFB8 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 /* 8023205C 0022EFBC CB C1 01 A0 */ lfd f30, 0x1a0(r1) /* 80232060 0022EFC0 E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 /* 80232064 0022EFC4 CB A1 01 90 */ lfd f29, 0x190(r1) /* 80232068 0022EFC8 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 /* 8023206C 0022EFCC CB 81 01 80 */ lfd f28, 0x180(r1) /* 80232070 0022EFD0 E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 /* 80232074 0022EFD4 CB 61 01 70 */ lfd f27, 0x170(r1) /* 80232078 0022EFD8 BA C1 01 48 */ lmw r22, 0x148(r1) /* 8023207C 0022EFDC 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 80232080 0022EFE0 7C 08 03 A6 */ mtlr r0 /* 80232084 0022EFE4 38 21 01 C0 */ addi r1, r1, 0x1c0 /* 80232088 0022EFE8 4E 80 00 20 */ blr .global AddToRenderer__10CShockwaveCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__10CShockwaveCFRC14CFrustumPlanesRC13CStateManager: /* 8023208C 0022EFEC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80232090 0022EFF0 7C 08 02 A6 */ mflr r0 /* 80232094 0022EFF4 90 01 00 14 */ stw r0, 0x14(r1) /* 80232098 0022EFF8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023209C 0022EFFC 7C 7F 1B 78 */ mr r31, r3 /* 802320A0 0022F000 4B E2 2A 99 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager /* 802320A4 0022F004 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 802320A8 0022F008 80 9F 01 10 */ lwz r4, 0x110(r31) /* 802320AC 0022F00C 81 83 00 00 */ lwz r12, 0(r3) /* 802320B0 0022F010 81 8C 00 34 */ lwz r12, 0x34(r12) /* 802320B4 0022F014 7D 89 03 A6 */ mtctr r12 /* 802320B8 0022F018 4E 80 04 21 */ bctrl /* 802320BC 0022F01C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802320C0 0022F020 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802320C4 0022F024 7C 08 03 A6 */ mtlr r0 /* 802320C8 0022F028 38 21 00 10 */ addi r1, r1, 0x10 /* 802320CC 0022F02C 4E 80 00 20 */ blr .global Render__10CShockwaveCFRC13CStateManager Render__10CShockwaveCFRC13CStateManager: /* 802320D0 0022F030 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802320D4 0022F034 7C 08 02 A6 */ mflr r0 /* 802320D8 0022F038 90 01 00 14 */ stw r0, 0x14(r1) /* 802320DC 0022F03C 93 E1 00 0C */ stw r31, 0xc(r1) /* 802320E0 0022F040 7C 7F 1B 78 */ mr r31, r3 /* 802320E4 0022F044 4B E2 26 C1 */ bl Render__6CActorCFRC13CStateManager /* 802320E8 0022F048 80 7F 01 10 */ lwz r3, 0x110(r31) /* 802320EC 0022F04C 81 83 00 00 */ lwz r12, 0(r3) /* 802320F0 0022F050 81 8C 00 10 */ lwz r12, 0x10(r12) /* 802320F4 0022F054 7D 89 03 A6 */ mtctr r12 /* 802320F8 0022F058 4E 80 04 21 */ bctrl /* 802320FC 0022F05C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80232100 0022F060 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80232104 0022F064 7C 08 03 A6 */ mtlr r0 /* 80232108 0022F068 38 21 00 10 */ addi r1, r1, 0x10 /* 8023210C 0022F06C 4E 80 00 20 */ blr .global Think__10CShockwaveFfR13CStateManager Think__10CShockwaveFfR13CStateManager: /* 80232110 0022F070 94 21 FF 70 */ stwu r1, -0x90(r1) /* 80232114 0022F074 7C 08 02 A6 */ mflr r0 /* 80232118 0022F078 90 01 00 94 */ stw r0, 0x94(r1) /* 8023211C 0022F07C DB E1 00 80 */ stfd f31, 0x80(r1) /* 80232120 0022F080 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 80232124 0022F084 93 E1 00 7C */ stw r31, 0x7c(r1) /* 80232128 0022F088 93 C1 00 78 */ stw r30, 0x78(r1) /* 8023212C 0022F08C 93 A1 00 74 */ stw r29, 0x74(r1) /* 80232130 0022F090 93 81 00 70 */ stw r28, 0x70(r1) /* 80232134 0022F094 88 03 00 30 */ lbz r0, 0x30(r3) /* 80232138 0022F098 FF E0 08 90 */ fmr f31, f1 /* 8023213C 0022F09C 7C 7F 1B 78 */ mr r31, r3 /* 80232140 0022F0A0 7C 9C 23 78 */ mr r28, r4 /* 80232144 0022F0A4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80232148 0022F0A8 41 82 00 EC */ beq lbl_80232234 /* 8023214C 0022F0AC 80 7F 01 10 */ lwz r3, 0x110(r31) /* 80232150 0022F0B0 81 83 00 00 */ lwz r12, 0(r3) /* 80232154 0022F0B4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80232158 0022F0B8 7D 89 03 A6 */ mtctr r12 /* 8023215C 0022F0BC 4E 80 04 21 */ bctrl /* 80232160 0022F0C0 C0 1F 01 58 */ lfs f0, 0x158(r31) /* 80232164 0022F0C4 38 80 00 00 */ li r4, 0 /* 80232168 0022F0C8 EC 00 F8 2A */ fadds f0, f0, f31 /* 8023216C 0022F0CC D0 1F 01 58 */ stfs f0, 0x158(r31) /* 80232170 0022F0D0 C0 3F 01 54 */ lfs f1, 0x154(r31) /* 80232174 0022F0D4 C0 1F 01 50 */ lfs f0, 0x150(r31) /* 80232178 0022F0D8 EC 01 07 FA */ fmadds f0, f1, f31, f0 /* 8023217C 0022F0DC D0 1F 01 50 */ stfs f0, 0x150(r31) /* 80232180 0022F0E0 C0 3F 01 44 */ lfs f1, 0x144(r31) /* 80232184 0022F0E4 C0 1F 01 54 */ lfs f0, 0x154(r31) /* 80232188 0022F0E8 EC 1F 00 7A */ fmadds f0, f31, f1, f0 /* 8023218C 0022F0EC D0 1F 01 54 */ stfs f0, 0x154(r31) /* 80232190 0022F0F0 80 7F 01 10 */ lwz r3, 0x110(r31) /* 80232194 0022F0F4 C0 3F 01 50 */ lfs f1, 0x150(r31) /* 80232198 0022F0F8 48 0E 54 E5 */ bl SetCEXTValue__11CElementGenFif /* 8023219C 0022F0FC 3B C0 00 00 */ li r30, 0 /* 802321A0 0022F100 48 00 00 44 */ b lbl_802321E4 lbl_802321A4: /* 802321A4 0022F104 80 7F 01 10 */ lwz r3, 0x110(r31) /* 802321A8 0022F108 7F C4 F3 78 */ mr r4, r30 /* 802321AC 0022F10C 48 0E 54 E1 */ bl GetActiveChildParticle__11CElementGenCFi /* 802321B0 0022F110 81 83 00 00 */ lwz r12, 0(r3) /* 802321B4 0022F114 7C 7D 1B 78 */ mr r29, r3 /* 802321B8 0022F118 81 8C 00 74 */ lwz r12, 0x74(r12) /* 802321BC 0022F11C 7D 89 03 A6 */ mtctr r12 /* 802321C0 0022F120 4E 80 04 21 */ bctrl /* 802321C4 0022F124 3C 03 AF BF */ addis r0, r3, 0xafbf /* 802321C8 0022F128 28 00 52 54 */ cmplwi r0, 0x5254 /* 802321CC 0022F12C 40 82 00 14 */ bne lbl_802321E0 /* 802321D0 0022F130 C0 3F 01 50 */ lfs f1, 0x150(r31) /* 802321D4 0022F134 7F A3 EB 78 */ mr r3, r29 /* 802321D8 0022F138 38 80 00 00 */ li r4, 0 /* 802321DC 0022F13C 48 0E 54 A1 */ bl SetCEXTValue__11CElementGenFif lbl_802321E0: /* 802321E0 0022F140 3B DE 00 01 */ addi r30, r30, 1 lbl_802321E4: /* 802321E4 0022F144 80 7F 01 10 */ lwz r3, 0x110(r31) /* 802321E8 0022F148 48 0E 54 B5 */ bl GetNumActiveChildParticles__11CElementGenCFv /* 802321EC 0022F14C 7C 1E 18 00 */ cmpw r30, r3 /* 802321F0 0022F150 41 80 FF B4 */ blt lbl_802321A4 /* 802321F4 0022F154 88 1F 01 6C */ lbz r0, 0x16c(r31) /* 802321F8 0022F158 28 00 00 00 */ cmplwi r0, 0 /* 802321FC 0022F15C 41 82 00 18 */ beq lbl_80232214 /* 80232200 0022F160 C0 1F 01 64 */ lfs f0, 0x164(r31) /* 80232204 0022F164 38 00 00 00 */ li r0, 0 /* 80232208 0022F168 EC 00 F8 2A */ fadds f0, f0, f31 /* 8023220C 0022F16C D0 1F 01 64 */ stfs f0, 0x164(r31) /* 80232210 0022F170 98 1F 01 6C */ stb r0, 0x16c(r31) lbl_80232214: /* 80232214 0022F174 88 1F 01 6D */ lbz r0, 0x16d(r31) /* 80232218 0022F178 28 00 00 00 */ cmplwi r0, 0 /* 8023221C 0022F17C 41 82 00 18 */ beq lbl_80232234 /* 80232220 0022F180 C0 1F 01 68 */ lfs f0, 0x168(r31) /* 80232224 0022F184 38 00 00 00 */ li r0, 0 /* 80232228 0022F188 EC 00 F8 2A */ fadds f0, f0, f31 /* 8023222C 0022F18C D0 1F 01 68 */ stfs f0, 0x168(r31) /* 80232230 0022F190 98 1F 01 6D */ stb r0, 0x16d(r31) lbl_80232234: /* 80232234 0022F194 80 7F 01 10 */ lwz r3, 0x110(r31) /* 80232238 0022F198 81 83 00 00 */ lwz r12, 0(r3) /* 8023223C 0022F19C 81 8C 00 58 */ lwz r12, 0x58(r12) /* 80232240 0022F1A0 7D 89 03 A6 */ mtctr r12 /* 80232244 0022F1A4 4E 80 04 21 */ bctrl /* 80232248 0022F1A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023224C 0022F1AC 41 82 00 40 */ beq lbl_8023228C /* 80232250 0022F1B0 C0 3F 01 5C */ lfs f1, 0x15c(r31) /* 80232254 0022F1B4 C0 02 B6 A8 */ lfs f0, lbl_805AD3C8@sda21(r2) /* 80232258 0022F1B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023225C 0022F1BC 40 81 00 30 */ ble lbl_8023228C /* 80232260 0022F1C0 C0 1F 01 58 */ lfs f0, 0x158(r31) /* 80232264 0022F1C4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80232268 0022F1C8 4C 41 13 82 */ cror 2, 1, 2 /* 8023226C 0022F1CC 40 82 00 20 */ bne lbl_8023228C /* 80232270 0022F1D0 A0 1F 00 08 */ lhz r0, 8(r31) /* 80232274 0022F1D4 7F 83 E3 78 */ mr r3, r28 /* 80232278 0022F1D8 38 81 00 10 */ addi r4, r1, 0x10 /* 8023227C 0022F1DC B0 01 00 0C */ sth r0, 0xc(r1) /* 80232280 0022F1E0 B0 01 00 10 */ sth r0, 0x10(r1) /* 80232284 0022F1E4 4B E1 9F E9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 80232288 0022F1E8 48 00 00 70 */ b lbl_802322F8 lbl_8023228C: /* 8023228C 0022F1EC A0 7F 09 80 */ lhz r3, 0x980(r31) /* 80232290 0022F1F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80232294 0022F1F4 7C 03 00 40 */ cmplw r3, r0 /* 80232298 0022F1F8 41 82 00 60 */ beq lbl_802322F8 /* 8023229C 0022F1FC A0 1F 09 80 */ lhz r0, 0x980(r31) /* 802322A0 0022F200 7F 83 E3 78 */ mr r3, r28 /* 802322A4 0022F204 38 81 00 08 */ addi r4, r1, 8 /* 802322A8 0022F208 B0 01 00 08 */ sth r0, 8(r1) /* 802322AC 0022F20C 4B E1 A2 C9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802322B0 0022F210 7C 64 1B 78 */ mr r4, r3 /* 802322B4 0022F214 38 61 00 14 */ addi r3, r1, 0x14 /* 802322B8 0022F218 4B E7 B7 CD */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" /* 802322BC 0022F21C 83 C3 00 04 */ lwz r30, 4(r3) /* 802322C0 0022F220 28 1E 00 00 */ cmplwi r30, 0 /* 802322C4 0022F224 41 82 00 34 */ beq lbl_802322F8 /* 802322C8 0022F228 88 1F 00 30 */ lbz r0, 0x30(r31) /* 802322CC 0022F22C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802322D0 0022F230 41 82 00 28 */ beq lbl_802322F8 /* 802322D4 0022F234 80 9F 01 10 */ lwz r4, 0x110(r31) /* 802322D8 0022F238 38 61 00 1C */ addi r3, r1, 0x1c /* 802322DC 0022F23C 81 84 00 00 */ lwz r12, 0(r4) /* 802322E0 0022F240 81 8C 00 68 */ lwz r12, 0x68(r12) /* 802322E4 0022F244 7D 89 03 A6 */ mtctr r12 /* 802322E8 0022F248 4E 80 04 21 */ bctrl /* 802322EC 0022F24C 7F C3 F3 78 */ mr r3, r30 /* 802322F0 0022F250 38 81 00 1C */ addi r4, r1, 0x1c /* 802322F4 0022F254 4B E8 34 51 */ bl SetLight__10CGameLightFRC6CLight lbl_802322F8: /* 802322F8 0022F258 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 802322FC 0022F25C 80 01 00 94 */ lwz r0, 0x94(r1) /* 80232300 0022F260 CB E1 00 80 */ lfd f31, 0x80(r1) /* 80232304 0022F264 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80232308 0022F268 83 C1 00 78 */ lwz r30, 0x78(r1) /* 8023230C 0022F26C 83 A1 00 74 */ lwz r29, 0x74(r1) /* 80232310 0022F270 83 81 00 70 */ lwz r28, 0x70(r1) /* 80232314 0022F274 7C 08 03 A6 */ mtlr r0 /* 80232318 0022F278 38 21 00 90 */ addi r1, r1, 0x90 /* 8023231C 0022F27C 4E 80 00 20 */ blr .global Accept__10CShockwaveFR8IVisitor Accept__10CShockwaveFR8IVisitor: /* 80232320 0022F280 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80232324 0022F284 7C 08 02 A6 */ mflr r0 /* 80232328 0022F288 90 01 00 14 */ stw r0, 0x14(r1) /* 8023232C 0022F28C 7C 60 1B 78 */ mr r0, r3 /* 80232330 0022F290 7C 83 23 78 */ mr r3, r4 /* 80232334 0022F294 81 84 00 00 */ lwz r12, 0(r4) /* 80232338 0022F298 7C 04 03 78 */ mr r4, r0 /* 8023233C 0022F29C 81 8C 00 08 */ lwz r12, 8(r12) /* 80232340 0022F2A0 7D 89 03 A6 */ mtctr r12 /* 80232344 0022F2A4 4E 80 04 21 */ bctrl /* 80232348 0022F2A8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023234C 0022F2AC 7C 08 03 A6 */ mtlr r0 /* 80232350 0022F2B0 38 21 00 10 */ addi r1, r1, 0x10 /* 80232354 0022F2B4 4E 80 00 20 */ blr .global __ct__10CShockWaveFv __ct__10CShockWaveFv: /* 80232358 0022F2B8 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 8023235C 0022F2BC 7C 08 02 A6 */ mflr r0 /* 80232360 0022F2C0 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 80232364 0022F2C4 DB E1 01 90 */ stfd f31, 0x190(r1) /* 80232368 0022F2C8 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 8023236C 0022F2CC DB C1 01 80 */ stfd f30, 0x180(r1) /* 80232370 0022F2D0 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 80232374 0022F2D4 BF 21 01 64 */ stmw r25, 0x164(r1) /* 80232378 0022F2D8 FF C0 08 90 */ fmr f30, f1 /* 8023237C 0022F2DC 7C 7E 1B 78 */ mr r30, r3 /* 80232380 0022F2E0 FF E0 10 90 */ fmr f31, f2 /* 80232384 0022F2E4 7C 99 23 78 */ mr r25, r4 /* 80232388 0022F2E8 7C BD 2B 78 */ mr r29, r5 /* 8023238C 0022F2EC 7C DC 33 78 */ mr r28, r6 /* 80232390 0022F2F0 7C FB 3B 78 */ mr r27, r7 /* 80232394 0022F2F4 7D 1A 43 78 */ mr r26, r8 /* 80232398 0022F2F8 7D 3F 4B 78 */ mr r31, r9 /* 8023239C 0022F2FC 38 61 01 0C */ addi r3, r1, 0x10c /* 802323A0 0022F300 4B E0 84 05 */ bl CModelDataNull__10CModelDataFv /* 802323A4 0022F304 38 61 00 A4 */ addi r3, r1, 0xa4 /* 802323A8 0022F308 4B DE 8A 91 */ bl None__16CActorParametersFv /* 802323AC 0022F30C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 802323B0 0022F310 38 00 00 00 */ li r0, 0 /* 802323B4 0022F314 80 AD 96 2C */ lwz r5, lbl_805A81EC@sda21(r13) /* 802323B8 0022F318 38 60 00 00 */ li r3, 0 /* 802323BC 0022F31C B0 81 00 10 */ sth r4, 0x10(r1) /* 802323C0 0022F320 38 80 00 01 */ li r4, 1 /* 802323C4 0022F324 90 01 00 4C */ stw r0, 0x4c(r1) /* 802323C8 0022F328 90 01 00 48 */ stw r0, 0x48(r1) /* 802323CC 0022F32C 48 15 7B 29 */ bl __shl2i /* 802323D0 0022F330 80 A1 00 48 */ lwz r5, 0x48(r1) /* 802323D4 0022F334 39 61 00 A4 */ addi r11, r1, 0xa4 /* 802323D8 0022F338 80 C1 00 4C */ lwz r6, 0x4c(r1) /* 802323DC 0022F33C 38 01 00 10 */ addi r0, r1, 0x10 /* 802323E0 0022F340 7C A3 1B 78 */ or r3, r5, r3 /* 802323E4 0022F344 A0 B9 00 00 */ lhz r5, 0(r25) /* 802323E8 0022F348 7C C4 23 78 */ or r4, r6, r4 /* 802323EC 0022F34C 90 61 00 48 */ stw r3, 0x48(r1) /* 802323F0 0022F350 7F C3 F3 78 */ mr r3, r30 /* 802323F4 0022F354 7F A6 EB 78 */ mr r6, r29 /* 802323F8 0022F358 90 81 00 4C */ stw r4, 0x4c(r1) /* 802323FC 0022F35C 7F 87 E3 78 */ mr r7, r28 /* 80232400 0022F360 7F 68 DB 78 */ mr r8, r27 /* 80232404 0022F364 38 81 00 14 */ addi r4, r1, 0x14 /* 80232408 0022F368 B0 A1 00 14 */ sth r5, 0x14(r1) /* 8023240C 0022F36C 39 21 01 0C */ addi r9, r1, 0x10c /* 80232410 0022F370 39 41 00 48 */ addi r10, r1, 0x48 /* 80232414 0022F374 38 A0 00 01 */ li r5, 1 /* 80232418 0022F378 91 61 00 08 */ stw r11, 8(r1) /* 8023241C 0022F37C 90 01 00 0C */ stw r0, 0xc(r1) /* 80232420 0022F380 4B E2 34 01 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 80232424 0022F384 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80232428 0022F388 38 80 FF FF */ li r4, -1 /* 8023242C 0022F38C 4B ED 41 DD */ bl __dt__16CActorParametersFv /* 80232430 0022F390 38 61 01 0C */ addi r3, r1, 0x10c /* 80232434 0022F394 38 80 FF FF */ li r4, -1 /* 80232438 0022F398 4B EE 46 15 */ bl __dt__10CModelDataFv /* 8023243C 0022F39C 3C 60 80 3F */ lis r3, lbl_803E8050@ha /* 80232440 0022F3A0 3C 80 50 41 */ lis r4, 0x50415254@ha /* 80232444 0022F3A4 38 03 80 50 */ addi r0, r3, lbl_803E8050@l /* 80232448 0022F3A8 38 61 00 38 */ addi r3, r1, 0x38 /* 8023244C 0022F3AC 90 1E 00 00 */ stw r0, 0(r30) /* 80232450 0022F3B0 38 04 52 54 */ addi r0, r4, 0x50415254@l /* 80232454 0022F3B4 38 A1 00 40 */ addi r5, r1, 0x40 /* 80232458 0022F3B8 A0 9A 00 00 */ lhz r4, 0(r26) /* 8023245C 0022F3BC B0 9E 00 E8 */ sth r4, 0xe8(r30) /* 80232460 0022F3C0 80 9F 00 08 */ lwz r4, 8(r31) /* 80232464 0022F3C4 90 9E 00 EC */ stw r4, 0xec(r30) /* 80232468 0022F3C8 88 9F 00 0C */ lbz r4, 0xc(r31) /* 8023246C 0022F3CC 98 9E 00 F0 */ stb r4, 0xf0(r30) /* 80232470 0022F3D0 C0 1F 00 10 */ lfs f0, 0x10(r31) /* 80232474 0022F3D4 D0 1E 00 F4 */ stfs f0, 0xf4(r30) /* 80232478 0022F3D8 C0 1F 00 14 */ lfs f0, 0x14(r31) /* 8023247C 0022F3DC D0 1E 00 F8 */ stfs f0, 0xf8(r30) /* 80232480 0022F3E0 C0 1F 00 18 */ lfs f0, 0x18(r31) /* 80232484 0022F3E4 D0 1E 00 FC */ stfs f0, 0xfc(r30) /* 80232488 0022F3E8 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8023248C 0022F3EC D0 1E 01 00 */ stfs f0, 0x100(r30) /* 80232490 0022F3F0 88 9F 00 20 */ lbz r4, 0x20(r31) /* 80232494 0022F3F4 98 9E 01 04 */ stb r4, 0x104(r30) /* 80232498 0022F3F8 80 DF 00 04 */ lwz r6, 4(r31) /* 8023249C 0022F3FC 90 01 00 40 */ stw r0, 0x40(r1) /* 802324A0 0022F400 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802324A4 0022F404 90 C1 00 44 */ stw r6, 0x44(r1) /* 802324A8 0022F408 81 84 00 00 */ lwz r12, 0(r4) /* 802324AC 0022F40C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802324B0 0022F410 7D 89 03 A6 */ mtctr r12 /* 802324B4 0022F414 4E 80 04 21 */ bctrl /* 802324B8 0022F418 38 7E 01 08 */ addi r3, r30, 0x108 /* 802324BC 0022F41C 38 81 00 38 */ addi r4, r1, 0x38 /* 802324C0 0022F420 48 10 E9 E9 */ bl __ct__6CTokenFRC6CToken /* 802324C4 0022F424 38 61 00 38 */ addi r3, r1, 0x38 /* 802324C8 0022F428 38 80 FF FF */ li r4, -1 /* 802324CC 0022F42C 48 10 E9 75 */ bl __dt__6CTokenFv /* 802324D0 0022F430 3C 60 80 3D */ lis r3, lbl_803D3468@ha /* 802324D4 0022F434 3B 20 00 00 */ li r25, 0 /* 802324D8 0022F438 38 83 34 68 */ addi r4, r3, lbl_803D3468@l /* 802324DC 0022F43C 38 A0 00 00 */ li r5, 0 /* 802324E0 0022F440 38 60 03 40 */ li r3, 0x340 /* 802324E4 0022F444 48 0E 33 89 */ bl __nw__FUlPCcPCc /* 802324E8 0022F448 7C 7A 1B 79 */ or. r26, r3, r3 /* 802324EC 0022F44C 41 82 00 2C */ beq lbl_80232518 /* 802324F0 0022F450 38 61 00 30 */ addi r3, r1, 0x30 /* 802324F4 0022F454 38 9E 01 08 */ addi r4, r30, 0x108 /* 802324F8 0022F458 48 10 E9 B1 */ bl __ct__6CTokenFRC6CToken /* 802324FC 0022F45C 7F 43 D3 78 */ mr r3, r26 /* 80232500 0022F460 38 81 00 30 */ addi r4, r1, 0x30 /* 80232504 0022F464 3B 20 00 01 */ li r25, 1 /* 80232508 0022F468 38 A0 00 00 */ li r5, 0 /* 8023250C 0022F46C 38 C0 00 01 */ li r6, 1 /* 80232510 0022F470 48 0E CE D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 80232514 0022F474 7C 7A 1B 78 */ mr r26, r3 lbl_80232518: /* 80232518 0022F478 7F 20 07 75 */ extsb. r0, r25 /* 8023251C 0022F47C 93 5E 01 10 */ stw r26, 0x110(r30) /* 80232520 0022F480 41 82 00 10 */ beq lbl_80232530 /* 80232524 0022F484 38 61 00 30 */ addi r3, r1, 0x30 /* 80232528 0022F488 38 80 00 00 */ li r4, 0 /* 8023252C 0022F48C 48 10 E9 15 */ bl __dt__6CTokenFv lbl_80232530: /* 80232530 0022F490 80 1F 00 00 */ lwz r0, 0(r31) /* 80232534 0022F494 38 60 00 00 */ li r3, 0 /* 80232538 0022F498 C0 02 B6 A8 */ lfs f0, lbl_805AD3C8@sda21(r2) /* 8023253C 0022F49C 3B A0 00 00 */ li r29, 0 /* 80232540 0022F4A0 90 1E 01 14 */ stw r0, 0x114(r30) /* 80232544 0022F4A4 3B 80 00 00 */ li r28, 0 /* 80232548 0022F4A8 3B 60 00 00 */ li r27, 0 /* 8023254C 0022F4AC 3B 40 00 00 */ li r26, 0 /* 80232550 0022F4B0 80 1F 00 04 */ lwz r0, 4(r31) /* 80232554 0022F4B4 90 1E 01 18 */ stw r0, 0x118(r30) /* 80232558 0022F4B8 80 1F 00 08 */ lwz r0, 8(r31) /* 8023255C 0022F4BC 90 1E 01 1C */ stw r0, 0x11c(r30) /* 80232560 0022F4C0 88 1F 00 0C */ lbz r0, 0xc(r31) /* 80232564 0022F4C4 98 1E 01 20 */ stb r0, 0x120(r30) /* 80232568 0022F4C8 C0 3F 00 10 */ lfs f1, 0x10(r31) /* 8023256C 0022F4CC D0 3E 01 24 */ stfs f1, 0x124(r30) /* 80232570 0022F4D0 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 80232574 0022F4D4 D0 3E 01 28 */ stfs f1, 0x128(r30) /* 80232578 0022F4D8 C0 3F 00 18 */ lfs f1, 0x18(r31) /* 8023257C 0022F4DC D0 3E 01 2C */ stfs f1, 0x12c(r30) /* 80232580 0022F4E0 C0 3F 00 1C */ lfs f1, 0x1c(r31) /* 80232584 0022F4E4 D0 3E 01 30 */ stfs f1, 0x130(r30) /* 80232588 0022F4E8 88 1F 00 20 */ lbz r0, 0x20(r31) /* 8023258C 0022F4EC 98 1E 01 34 */ stb r0, 0x134(r30) /* 80232590 0022F4F0 C0 3F 00 24 */ lfs f1, 0x24(r31) /* 80232594 0022F4F4 D0 3E 01 38 */ stfs f1, 0x138(r30) /* 80232598 0022F4F8 C0 3F 00 28 */ lfs f1, 0x28(r31) /* 8023259C 0022F4FC D0 3E 01 3C */ stfs f1, 0x13c(r30) /* 802325A0 0022F500 C0 3F 00 2C */ lfs f1, 0x2c(r31) /* 802325A4 0022F504 D0 3E 01 40 */ stfs f1, 0x140(r30) /* 802325A8 0022F508 C0 3F 00 30 */ lfs f1, 0x30(r31) /* 802325AC 0022F50C D0 3E 01 44 */ stfs f1, 0x144(r30) /* 802325B0 0022F510 80 1F 00 34 */ lwz r0, 0x34(r31) /* 802325B4 0022F514 90 1E 01 48 */ stw r0, 0x148(r30) /* 802325B8 0022F518 A0 1F 00 38 */ lhz r0, 0x38(r31) /* 802325BC 0022F51C B0 1E 01 4C */ sth r0, 0x14c(r30) /* 802325C0 0022F520 C0 3F 00 24 */ lfs f1, 0x24(r31) /* 802325C4 0022F524 D0 3E 01 50 */ stfs f1, 0x150(r30) /* 802325C8 0022F528 C0 3F 00 2C */ lfs f1, 0x2c(r31) /* 802325CC 0022F52C D0 3E 01 54 */ stfs f1, 0x154(r30) /* 802325D0 0022F530 D0 1E 01 58 */ stfs f0, 0x158(r30) /* 802325D4 0022F534 D3 DE 01 5C */ stfs f30, 0x15c(r30) /* 802325D8 0022F538 D3 FE 01 60 */ stfs f31, 0x160(r30) /* 802325DC 0022F53C D0 1E 01 64 */ stfs f0, 0x164(r30) /* 802325E0 0022F540 D0 1E 01 68 */ stfs f0, 0x168(r30) /* 802325E4 0022F544 98 7E 01 6C */ stb r3, 0x16c(r30) /* 802325E8 0022F548 98 7E 01 6D */ stb r3, 0x16d(r30) /* 802325EC 0022F54C 90 7E 01 70 */ stw r3, 0x170(r30) /* 802325F0 0022F550 80 9F 00 34 */ lwz r4, 0x34(r31) /* 802325F4 0022F554 3C 04 00 01 */ addis r0, r4, 1 /* 802325F8 0022F558 28 00 FF FF */ cmplwi r0, 0xffff /* 802325FC 0022F55C 41 82 00 68 */ beq lbl_80232664 /* 80232600 0022F560 3C 60 45 4C */ lis r3, 0x454C5343@ha /* 80232604 0022F564 90 81 00 2C */ stw r4, 0x2c(r1) /* 80232608 0022F568 38 03 53 43 */ addi r0, r3, 0x454C5343@l /* 8023260C 0022F56C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80232610 0022F570 90 01 00 28 */ stw r0, 0x28(r1) /* 80232614 0022F574 38 61 00 20 */ addi r3, r1, 0x20 /* 80232618 0022F578 38 A1 00 28 */ addi r5, r1, 0x28 /* 8023261C 0022F57C 81 84 00 00 */ lwz r12, 0(r4) /* 80232620 0022F580 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80232624 0022F584 7D 89 03 A6 */ mtctr r12 /* 80232628 0022F588 4E 80 04 21 */ bctrl /* 8023262C 0022F58C 38 61 00 18 */ addi r3, r1, 0x18 /* 80232630 0022F590 38 81 00 20 */ addi r4, r1, 0x20 /* 80232634 0022F594 3B A0 00 01 */ li r29, 1 /* 80232638 0022F598 48 10 E8 71 */ bl __ct__6CTokenFRC6CToken /* 8023263C 0022F59C 38 00 00 01 */ li r0, 1 /* 80232640 0022F5A0 34 61 00 68 */ addic. r3, r1, 0x68 /* 80232644 0022F5A4 98 01 00 70 */ stb r0, 0x70(r1) /* 80232648 0022F5A8 3B 80 00 01 */ li r28, 1 /* 8023264C 0022F5AC 41 82 00 0C */ beq lbl_80232658 /* 80232650 0022F5B0 38 81 00 18 */ addi r4, r1, 0x18 /* 80232654 0022F5B4 48 10 E8 55 */ bl __ct__6CTokenFRC6CToken lbl_80232658: /* 80232658 0022F5B8 38 81 00 68 */ addi r4, r1, 0x68 /* 8023265C 0022F5BC 3B 60 00 01 */ li r27, 1 /* 80232660 0022F5C0 48 00 00 10 */ b lbl_80232670 lbl_80232664: /* 80232664 0022F5C4 98 61 00 64 */ stb r3, 0x64(r1) /* 80232668 0022F5C8 38 81 00 5C */ addi r4, r1, 0x5c /* 8023266C 0022F5CC 3B 40 00 01 */ li r26, 1 lbl_80232670: /* 80232670 0022F5D0 88 04 00 08 */ lbz r0, 8(r4) /* 80232674 0022F5D4 98 1E 09 7C */ stb r0, 0x97c(r30) /* 80232678 0022F5D8 88 04 00 08 */ lbz r0, 8(r4) /* 8023267C 0022F5DC 28 00 00 00 */ cmplwi r0, 0 /* 80232680 0022F5E0 41 82 00 10 */ beq lbl_80232690 /* 80232684 0022F5E4 34 7E 09 74 */ addic. r3, r30, 0x974 /* 80232688 0022F5E8 41 82 00 08 */ beq lbl_80232690 /* 8023268C 0022F5EC 48 10 E8 1D */ bl __ct__6CTokenFRC6CToken lbl_80232690: /* 80232690 0022F5F0 7F 40 07 75 */ extsb. r0, r26 /* 80232694 0022F5F4 41 82 00 28 */ beq lbl_802326BC /* 80232698 0022F5F8 88 01 00 64 */ lbz r0, 0x64(r1) /* 8023269C 0022F5FC 28 00 00 00 */ cmplwi r0, 0 /* 802326A0 0022F600 41 82 00 14 */ beq lbl_802326B4 /* 802326A4 0022F604 34 61 00 5C */ addic. r3, r1, 0x5c /* 802326A8 0022F608 41 82 00 0C */ beq lbl_802326B4 /* 802326AC 0022F60C 38 80 00 00 */ li r4, 0 /* 802326B0 0022F610 48 10 E7 91 */ bl __dt__6CTokenFv lbl_802326B4: /* 802326B4 0022F614 38 00 00 00 */ li r0, 0 /* 802326B8 0022F618 98 01 00 64 */ stb r0, 0x64(r1) lbl_802326BC: /* 802326BC 0022F61C 7F 60 07 75 */ extsb. r0, r27 /* 802326C0 0022F620 41 82 00 28 */ beq lbl_802326E8 /* 802326C4 0022F624 88 01 00 70 */ lbz r0, 0x70(r1) /* 802326C8 0022F628 28 00 00 00 */ cmplwi r0, 0 /* 802326CC 0022F62C 41 82 00 14 */ beq lbl_802326E0 /* 802326D0 0022F630 34 61 00 68 */ addic. r3, r1, 0x68 /* 802326D4 0022F634 41 82 00 0C */ beq lbl_802326E0 /* 802326D8 0022F638 38 80 00 00 */ li r4, 0 /* 802326DC 0022F63C 48 10 E7 65 */ bl __dt__6CTokenFv lbl_802326E0: /* 802326E0 0022F640 38 00 00 00 */ li r0, 0 /* 802326E4 0022F644 98 01 00 70 */ stb r0, 0x70(r1) lbl_802326E8: /* 802326E8 0022F648 7F 80 07 75 */ extsb. r0, r28 /* 802326EC 0022F64C 41 82 00 10 */ beq lbl_802326FC /* 802326F0 0022F650 38 61 00 18 */ addi r3, r1, 0x18 /* 802326F4 0022F654 38 80 00 00 */ li r4, 0 /* 802326F8 0022F658 48 10 E7 49 */ bl __dt__6CTokenFv lbl_802326FC: /* 802326FC 0022F65C 7F A0 07 75 */ extsb. r0, r29 /* 80232700 0022F660 41 82 00 10 */ beq lbl_80232710 /* 80232704 0022F664 38 61 00 20 */ addi r3, r1, 0x20 /* 80232708 0022F668 38 80 FF FF */ li r4, -1 /* 8023270C 0022F66C 48 10 E7 35 */ bl __dt__6CTokenFv lbl_80232710: /* 80232710 0022F670 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80232714 0022F674 38 80 00 01 */ li r4, 1 /* 80232718 0022F678 B0 1E 09 80 */ sth r0, 0x980(r30) /* 8023271C 0022F67C 80 7E 01 10 */ lwz r3, 0x110(r30) /* 80232720 0022F680 81 83 00 00 */ lwz r12, 0(r3) /* 80232724 0022F684 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80232728 0022F688 7D 89 03 A6 */ mtctr r12 /* 8023272C 0022F68C 4E 80 04 21 */ bctrl /* 80232730 0022F690 83 5E 01 10 */ lwz r26, 0x110(r30) /* 80232734 0022F694 38 61 00 74 */ addi r3, r1, 0x74 /* 80232738 0022F698 38 9E 00 34 */ addi r4, r30, 0x34 /* 8023273C 0022F69C 48 0E 05 05 */ bl GetRotation__12CTransform4fCFv /* 80232740 0022F6A0 7F 43 D3 78 */ mr r3, r26 /* 80232744 0022F6A4 38 81 00 74 */ addi r4, r1, 0x74 /* 80232748 0022F6A8 81 9A 00 00 */ lwz r12, 0(r26) /* 8023274C 0022F6AC 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80232750 0022F6B0 7D 89 03 A6 */ mtctr r12 /* 80232754 0022F6B4 4E 80 04 21 */ bctrl /* 80232758 0022F6B8 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8023275C 0022F6BC 38 81 00 50 */ addi r4, r1, 0x50 /* 80232760 0022F6C0 C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80232764 0022F6C4 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80232768 0022F6C8 D0 01 00 50 */ stfs f0, 0x50(r1) /* 8023276C 0022F6CC D0 21 00 54 */ stfs f1, 0x54(r1) /* 80232770 0022F6D0 D0 41 00 58 */ stfs f2, 0x58(r1) /* 80232774 0022F6D4 80 7E 01 10 */ lwz r3, 0x110(r30) /* 80232778 0022F6D8 81 83 00 00 */ lwz r12, 0(r3) /* 8023277C 0022F6DC 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80232780 0022F6E0 7D 89 03 A6 */ mtctr r12 /* 80232784 0022F6E4 4E 80 04 21 */ bctrl /* 80232788 0022F6E8 88 1E 00 E6 */ lbz r0, 0xe6(r30) /* 8023278C 0022F6EC 38 60 00 02 */ li r3, 2 /* 80232790 0022F6F0 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c /* 80232794 0022F6F4 7F C3 F3 78 */ mr r3, r30 /* 80232798 0022F6F8 98 1E 00 E6 */ stb r0, 0xe6(r30) /* 8023279C 0022F6FC E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 802327A0 0022F700 CB E1 01 90 */ lfd f31, 0x190(r1) /* 802327A4 0022F704 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 802327A8 0022F708 CB C1 01 80 */ lfd f30, 0x180(r1) /* 802327AC 0022F70C BB 21 01 64 */ lmw r25, 0x164(r1) /* 802327B0 0022F710 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 802327B4 0022F714 7C 08 03 A6 */ mtlr r0 /* 802327B8 0022F718 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 802327BC 0022F71C 4E 80 00 20 */ blr .global __dt__25CRipperControlledPlatformFv __dt__25CRipperControlledPlatformFv: /* 802327C0 0022F720 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802327C4 0022F724 7C 08 02 A6 */ mflr r0 /* 802327C8 0022F728 90 01 00 14 */ stw r0, 0x14(r1) /* 802327CC 0022F72C 93 E1 00 0C */ stw r31, 0xc(r1) /* 802327D0 0022F730 7C 9F 23 78 */ mr r31, r4 /* 802327D4 0022F734 93 C1 00 08 */ stw r30, 8(r1) /* 802327D8 0022F738 7C 7E 1B 79 */ or. r30, r3, r3 /* 802327DC 0022F73C 41 82 00 28 */ beq lbl_80232804 /* 802327E0 0022F740 3C A0 80 3F */ lis r5, lbl_803E80C0@ha /* 802327E4 0022F744 38 80 00 00 */ li r4, 0 /* 802327E8 0022F748 38 05 80 C0 */ addi r0, r5, lbl_803E80C0@l /* 802327EC 0022F74C 90 1E 00 00 */ stw r0, 0(r30) /* 802327F0 0022F750 4B E8 14 1D */ bl __dt__15CScriptPlatformFv /* 802327F4 0022F754 7F E0 07 35 */ extsh. r0, r31 /* 802327F8 0022F758 40 81 00 0C */ ble lbl_80232804 /* 802327FC 0022F75C 7F C3 F3 78 */ mr r3, r30 /* 80232800 0022F760 48 0E 31 31 */ bl Free__7CMemoryFPCv lbl_80232804: /* 80232804 0022F764 80 01 00 14 */ lwz r0, 0x14(r1) /* 80232808 0022F768 7F C3 F3 78 */ mr r3, r30 /* 8023280C 0022F76C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80232810 0022F770 83 C1 00 08 */ lwz r30, 8(r1) /* 80232814 0022F774 7C 08 03 A6 */ mtlr r0 /* 80232818 0022F778 38 21 00 10 */ addi r1, r1, 0x10 /* 8023281C 0022F77C 4E 80 00 20 */ blr .global Move__25CRipperControlledPlatformFR13CStateManager Move__25CRipperControlledPlatformFR13CStateManager: /* 80232820 0022F780 94 21 EF 40 */ stwu r1, -0x10c0(r1) /* 80232824 0022F784 7C 08 02 A6 */ mflr r0 /* 80232828 0022F788 90 01 10 C4 */ stw r0, 0x10c4(r1) /* 8023282C 0022F78C 38 00 10 B8 */ li r0, 0x10b8 /* 80232830 0022F790 DB E1 10 B0 */ stfd f31, 0x10b0(r1) /* 80232834 0022F794 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 80232838 0022F798 BF 41 10 98 */ stmw r26, 0x1098(r1) /* 8023283C 0022F79C 7C 9B 23 78 */ mr r27, r4 /* 80232840 0022F7A0 FF E0 08 90 */ fmr f31, f1 /* 80232844 0022F7A4 A0 04 03 58 */ lhz r0, 0x358(r4) /* 80232848 0022F7A8 7C BC 2B 78 */ mr r28, r5 /* 8023284C 0022F7AC 7C 7A 1B 78 */ mr r26, r3 /* 80232850 0022F7B0 38 81 00 10 */ addi r4, r1, 0x10 /* 80232854 0022F7B4 B0 01 00 10 */ sth r0, 0x10(r1) /* 80232858 0022F7B8 7F 83 E3 78 */ mr r3, r28 /* 8023285C 0022F7BC 4B E1 9D 19 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80232860 0022F7C0 7C 7D 1B 79 */ or. r29, r3, r3 /* 80232864 0022F7C4 41 82 02 F0 */ beq lbl_80232B54 /* 80232868 0022F7C8 C0 9B 00 60 */ lfs f4, 0x60(r27) /* 8023286C 0022F7CC FC 20 F8 90 */ fmr f1, f31 /* 80232870 0022F7D0 C0 1D 00 60 */ lfs f0, 0x60(r29) /* 80232874 0022F7D4 7F 63 DB 78 */ mr r3, r27 /* 80232878 0022F7D8 C0 BB 00 50 */ lfs f5, 0x50(r27) /* 8023287C 0022F7DC 38 81 00 28 */ addi r4, r1, 0x28 /* 80232880 0022F7E0 C0 7D 00 50 */ lfs f3, 0x50(r29) /* 80232884 0022F7E4 EC 40 20 28 */ fsubs f2, f0, f4 /* 80232888 0022F7E8 C0 DB 00 40 */ lfs f6, 0x40(r27) /* 8023288C 0022F7EC C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80232890 0022F7F0 EC 63 28 28 */ fsubs f3, f3, f5 /* 80232894 0022F7F4 EC 00 30 28 */ fsubs f0, f0, f6 /* 80232898 0022F7F8 EC 65 18 2A */ fadds f3, f5, f3 /* 8023289C 0022F7FC EC 44 10 2A */ fadds f2, f4, f2 /* 802328A0 0022F800 EC 06 00 2A */ fadds f0, f6, f0 /* 802328A4 0022F804 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 802328A8 0022F808 D0 01 00 28 */ stfs f0, 0x28(r1) /* 802328AC 0022F80C D0 41 00 30 */ stfs f2, 0x30(r1) /* 802328B0 0022F810 4B EE 88 59 */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff /* 802328B4 0022F814 7F A3 EB 78 */ mr r3, r29 /* 802328B8 0022F818 4B E2 1B F9 */ bl GetYaw__6CActorCFv /* 802328BC 0022F81C C0 5B 03 5C */ lfs f2, 0x35c(r27) /* 802328C0 0022F820 3C 00 43 30 */ lis r0, 0x4330 /* 802328C4 0022F824 C0 02 B6 C8 */ lfs f0, lbl_805AD3E8@sda21(r2) /* 802328C8 0022F828 EC 81 10 28 */ fsubs f4, f1, f2 /* 802328CC 0022F82C 90 01 10 88 */ stw r0, 0x1088(r1) /* 802328D0 0022F830 C8 62 B6 D8 */ lfd f3, lbl_805AD3F8@sda21(r2) /* 802328D4 0022F834 C0 22 B6 CC */ lfs f1, lbl_805AD3EC@sda21(r2) /* 802328D8 0022F838 EC 44 00 32 */ fmuls f2, f4, f0 /* 802328DC 0022F83C C0 02 B6 D0 */ lfs f0, lbl_805AD3F0@sda21(r2) /* 802328E0 0022F840 FC 40 10 1E */ fctiwz f2, f2 /* 802328E4 0022F844 D8 41 10 80 */ stfd f2, 0x1080(r1) /* 802328E8 0022F848 80 01 10 84 */ lwz r0, 0x1084(r1) /* 802328EC 0022F84C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802328F0 0022F850 90 01 10 8C */ stw r0, 0x108c(r1) /* 802328F4 0022F854 C8 41 10 88 */ lfd f2, 0x1088(r1) /* 802328F8 0022F858 EC 42 18 28 */ fsubs f2, f2, f3 /* 802328FC 0022F85C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 /* 80232900 0022F860 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80232904 0022F864 40 80 00 08 */ bge lbl_8023290C /* 80232908 0022F868 EC 42 08 2A */ fadds f2, f2, f1 lbl_8023290C: /* 8023290C 0022F86C C0 02 B6 D4 */ lfs f0, lbl_805AD3F4@sda21(r2) /* 80232910 0022F870 FC 20 10 90 */ fmr f1, f2 /* 80232914 0022F874 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80232918 0022F878 40 81 00 0C */ ble lbl_80232924 /* 8023291C 0022F87C C0 02 B6 CC */ lfs f0, lbl_805AD3EC@sda21(r2) /* 80232920 0022F880 EC 22 00 28 */ fsubs f1, f2, f0 lbl_80232924: /* 80232924 0022F884 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80232928 0022F888 38 61 00 18 */ addi r3, r1, 0x18 /* 8023292C 0022F88C 38 81 00 14 */ addi r4, r1, 0x14 /* 80232930 0022F890 48 0D E7 C9 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80232934 0022F894 C0 81 00 18 */ lfs f4, 0x18(r1) /* 80232938 0022F898 FC 20 F8 90 */ fmr f1, f31 /* 8023293C 0022F89C C0 61 00 1C */ lfs f3, 0x1c(r1) /* 80232940 0022F8A0 7F 63 DB 78 */ mr r3, r27 /* 80232944 0022F8A4 C0 41 00 20 */ lfs f2, 0x20(r1) /* 80232948 0022F8A8 38 81 00 34 */ addi r4, r1, 0x34 /* 8023294C 0022F8AC C0 01 00 24 */ lfs f0, 0x24(r1) /* 80232950 0022F8B0 D0 81 00 34 */ stfs f4, 0x34(r1) /* 80232954 0022F8B4 D0 61 00 38 */ stfs f3, 0x38(r1) /* 80232958 0022F8B8 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 8023295C 0022F8BC D0 01 00 40 */ stfs f0, 0x40(r1) /* 80232960 0022F8C0 4B EE 84 B5 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf /* 80232964 0022F8C4 38 00 00 00 */ li r0, 0 /* 80232968 0022F8C8 FC 20 F8 90 */ fmr f1, f31 /* 8023296C 0022F8CC 90 01 08 78 */ stw r0, 0x878(r1) /* 80232970 0022F8D0 7F 64 DB 78 */ mr r4, r27 /* 80232974 0022F8D4 38 61 00 44 */ addi r3, r1, 0x44 /* 80232978 0022F8D8 4B EE 7D 3D */ bl GetMotionVolume__13CPhysicsActorCFf /* 8023297C 0022F8DC C0 A1 00 44 */ lfs f5, 0x44(r1) /* 80232980 0022F8E0 7F 83 E3 78 */ mr r3, r28 /* 80232984 0022F8E4 C0 81 00 48 */ lfs f4, 0x48(r1) /* 80232988 0022F8E8 7F 65 DB 78 */ mr r5, r27 /* 8023298C 0022F8EC C0 61 00 4C */ lfs f3, 0x4c(r1) /* 80232990 0022F8F0 38 81 08 78 */ addi r4, r1, 0x878 /* 80232994 0022F8F4 C0 41 00 50 */ lfs f2, 0x50(r1) /* 80232998 0022F8F8 38 C1 00 5C */ addi r6, r1, 0x5c /* 8023299C 0022F8FC C0 21 00 54 */ lfs f1, 0x54(r1) /* 802329A0 0022F900 C0 01 00 58 */ lfs f0, 0x58(r1) /* 802329A4 0022F904 D0 A1 00 5C */ stfs f5, 0x5c(r1) /* 802329A8 0022F908 D0 81 00 60 */ stfs f4, 0x60(r1) /* 802329AC 0022F90C D0 61 00 64 */ stfs f3, 0x64(r1) /* 802329B0 0022F910 D0 41 00 68 */ stfs f2, 0x68(r1) /* 802329B4 0022F914 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 802329B8 0022F918 D0 01 00 70 */ stfs f0, 0x70(r1) /* 802329BC 0022F91C 4B E1 9D 41 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" /* 802329C0 0022F920 38 00 00 00 */ li r0, 0 /* 802329C4 0022F924 3B C1 08 7C */ addi r30, r1, 0x87c /* 802329C8 0022F928 90 01 00 74 */ stw r0, 0x74(r1) /* 802329CC 0022F92C 7F DD F3 78 */ mr r29, r30 /* 802329D0 0022F930 3B E1 00 78 */ addi r31, r1, 0x78 /* 802329D4 0022F934 48 00 00 64 */ b lbl_80232A38 lbl_802329D8: /* 802329D8 0022F938 A0 1D 00 00 */ lhz r0, 0(r29) /* 802329DC 0022F93C 7F 63 DB 78 */ mr r3, r27 /* 802329E0 0022F940 38 81 00 0C */ addi r4, r1, 0xc /* 802329E4 0022F944 B0 01 00 0C */ sth r0, 0xc(r1) /* 802329E8 0022F948 4B E7 F3 69 */ bl IsRider__15CScriptPlatformCF9TUniqueId /* 802329EC 0022F94C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802329F0 0022F950 40 82 00 44 */ bne lbl_80232A34 /* 802329F4 0022F954 A0 1D 00 00 */ lhz r0, 0(r29) /* 802329F8 0022F958 7F 63 DB 78 */ mr r3, r27 /* 802329FC 0022F95C 38 81 00 08 */ addi r4, r1, 8 /* 80232A00 0022F960 B0 01 00 08 */ sth r0, 8(r1) /* 80232A04 0022F964 4B E7 F1 F5 */ bl IsSlave__15CScriptPlatformCF9TUniqueId /* 80232A08 0022F968 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80232A0C 0022F96C 40 82 00 28 */ bne lbl_80232A34 /* 80232A10 0022F970 80 01 00 74 */ lwz r0, 0x74(r1) /* 80232A14 0022F974 54 00 08 3C */ slwi r0, r0, 1 /* 80232A18 0022F978 7C 7F 02 15 */ add. r3, r31, r0 /* 80232A1C 0022F97C 41 82 00 0C */ beq lbl_80232A28 /* 80232A20 0022F980 A0 1D 00 00 */ lhz r0, 0(r29) /* 80232A24 0022F984 B0 03 00 00 */ sth r0, 0(r3) lbl_80232A28: /* 80232A28 0022F988 80 61 00 74 */ lwz r3, 0x74(r1) /* 80232A2C 0022F98C 38 03 00 01 */ addi r0, r3, 1 /* 80232A30 0022F990 90 01 00 74 */ stw r0, 0x74(r1) lbl_80232A34: /* 80232A34 0022F994 3B BD 00 02 */ addi r29, r29, 2 lbl_80232A38: /* 80232A38 0022F998 80 01 08 78 */ lwz r0, 0x878(r1) /* 80232A3C 0022F99C 54 00 08 3C */ slwi r0, r0, 1 /* 80232A40 0022F9A0 7C 1E 02 14 */ add r0, r30, r0 /* 80232A44 0022F9A4 7C 1D 00 40 */ cmplw r29, r0 /* 80232A48 0022F9A8 40 82 FF 90 */ bne lbl_802329D8 /* 80232A4C 0022F9AC 88 1B 00 F8 */ lbz r0, 0xf8(r27) /* 80232A50 0022F9B0 38 60 00 01 */ li r3, 1 /* 80232A54 0022F9B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80232A58 0022F9B8 FC 20 F8 90 */ fmr f1, f31 /* 80232A5C 0022F9BC 98 1B 00 F8 */ stb r0, 0xf8(r27) /* 80232A60 0022F9C0 7F 83 E3 78 */ mr r3, r28 /* 80232A64 0022F9C4 7F 64 DB 78 */ mr r4, r27 /* 80232A68 0022F9C8 38 A1 00 74 */ addi r5, r1, 0x74 /* 80232A6C 0022F9CC 4B F4 F2 CD */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" /* 80232A70 0022F9D0 88 1B 00 F8 */ lbz r0, 0xf8(r27) /* 80232A74 0022F9D4 38 60 00 00 */ li r3, 0 /* 80232A78 0022F9D8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80232A7C 0022F9DC 7F 63 DB 78 */ mr r3, r27 /* 80232A80 0022F9E0 98 1B 00 F8 */ stb r0, 0xf8(r27) /* 80232A84 0022F9E4 4B E2 1A 2D */ bl GetYaw__6CActorCFv /* 80232A88 0022F9E8 D0 3B 03 5C */ stfs f1, 0x35c(r27) /* 80232A8C 0022F9EC 38 60 00 00 */ li r3, 0 /* 80232A90 0022F9F0 C0 01 00 34 */ lfs f0, 0x34(r1) /* 80232A94 0022F9F4 D0 1A 00 00 */ stfs f0, 0(r26) /* 80232A98 0022F9F8 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80232A9C 0022F9FC D0 1A 00 04 */ stfs f0, 4(r26) /* 80232AA0 0022FA00 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80232AA4 0022FA04 D0 1A 00 08 */ stfs f0, 8(r26) /* 80232AA8 0022FA08 C0 01 00 40 */ lfs f0, 0x40(r1) /* 80232AAC 0022FA0C D0 1A 00 0C */ stfs f0, 0xc(r26) /* 80232AB0 0022FA10 80 A1 00 74 */ lwz r5, 0x74(r1) /* 80232AB4 0022FA14 2C 05 00 00 */ cmpwi r5, 0 /* 80232AB8 0022FA18 40 81 00 40 */ ble lbl_80232AF8 /* 80232ABC 0022FA1C 2C 05 00 08 */ cmpwi r5, 8 /* 80232AC0 0022FA20 38 85 FF F8 */ addi r4, r5, -8 /* 80232AC4 0022FA24 40 81 00 20 */ ble lbl_80232AE4 /* 80232AC8 0022FA28 38 04 00 07 */ addi r0, r4, 7 /* 80232ACC 0022FA2C 54 00 E8 FE */ srwi r0, r0, 3 /* 80232AD0 0022FA30 7C 09 03 A6 */ mtctr r0 /* 80232AD4 0022FA34 2C 04 00 00 */ cmpwi r4, 0 /* 80232AD8 0022FA38 40 81 00 0C */ ble lbl_80232AE4 lbl_80232ADC: /* 80232ADC 0022FA3C 38 63 00 08 */ addi r3, r3, 8 /* 80232AE0 0022FA40 42 00 FF FC */ bdnz lbl_80232ADC lbl_80232AE4: /* 80232AE4 0022FA44 7C 03 28 50 */ subf r0, r3, r5 /* 80232AE8 0022FA48 7C 09 03 A6 */ mtctr r0 /* 80232AEC 0022FA4C 7C 03 28 00 */ cmpw r3, r5 /* 80232AF0 0022FA50 40 80 00 08 */ bge lbl_80232AF8 lbl_80232AF4: /* 80232AF4 0022FA54 42 00 00 00 */ bdnz lbl_80232AF4 lbl_80232AF8: /* 80232AF8 0022FA58 80 A1 08 78 */ lwz r5, 0x878(r1) /* 80232AFC 0022FA5C 38 60 00 00 */ li r3, 0 /* 80232B00 0022FA60 90 61 00 74 */ stw r3, 0x74(r1) /* 80232B04 0022FA64 2C 05 00 00 */ cmpwi r5, 0 /* 80232B08 0022FA68 40 81 00 40 */ ble lbl_80232B48 /* 80232B0C 0022FA6C 2C 05 00 08 */ cmpwi r5, 8 /* 80232B10 0022FA70 38 85 FF F8 */ addi r4, r5, -8 /* 80232B14 0022FA74 40 81 00 20 */ ble lbl_80232B34 /* 80232B18 0022FA78 38 04 00 07 */ addi r0, r4, 7 /* 80232B1C 0022FA7C 54 00 E8 FE */ srwi r0, r0, 3 /* 80232B20 0022FA80 7C 09 03 A6 */ mtctr r0 /* 80232B24 0022FA84 2C 04 00 00 */ cmpwi r4, 0 /* 80232B28 0022FA88 40 81 00 0C */ ble lbl_80232B34 lbl_80232B2C: /* 80232B2C 0022FA8C 38 63 00 08 */ addi r3, r3, 8 /* 80232B30 0022FA90 42 00 FF FC */ bdnz lbl_80232B2C lbl_80232B34: /* 80232B34 0022FA94 7C 03 28 50 */ subf r0, r3, r5 /* 80232B38 0022FA98 7C 09 03 A6 */ mtctr r0 /* 80232B3C 0022FA9C 7C 03 28 00 */ cmpw r3, r5 /* 80232B40 0022FAA0 40 80 00 08 */ bge lbl_80232B48 lbl_80232B44: /* 80232B44 0022FAA4 42 00 00 00 */ bdnz lbl_80232B44 lbl_80232B48: /* 80232B48 0022FAA8 38 00 00 00 */ li r0, 0 /* 80232B4C 0022FAAC 90 01 08 78 */ stw r0, 0x878(r1) /* 80232B50 0022FAB0 48 00 00 28 */ b lbl_80232B78 lbl_80232B54: /* 80232B54 0022FAB4 3C 60 80 5A */ lis r3, lbl_805A6660@ha /* 80232B58 0022FAB8 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) /* 80232B5C 0022FABC D0 1A 00 00 */ stfs f0, 0(r26) /* 80232B60 0022FAC0 C0 03 00 04 */ lfs f0, 4(r3) /* 80232B64 0022FAC4 D0 1A 00 04 */ stfs f0, 4(r26) /* 80232B68 0022FAC8 C0 03 00 08 */ lfs f0, 8(r3) /* 80232B6C 0022FACC D0 1A 00 08 */ stfs f0, 8(r26) /* 80232B70 0022FAD0 C0 03 00 0C */ lfs f0, 0xc(r3) /* 80232B74 0022FAD4 D0 1A 00 0C */ stfs f0, 0xc(r26) lbl_80232B78: /* 80232B78 0022FAD8 38 00 10 B8 */ li r0, 0x10b8 /* 80232B7C 0022FADC 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 80232B80 0022FAE0 CB E1 10 B0 */ lfd f31, 0x10b0(r1) /* 80232B84 0022FAE4 BB 41 10 98 */ lmw r26, 0x1098(r1) /* 80232B88 0022FAE8 80 01 10 C4 */ lwz r0, 0x10c4(r1) /* 80232B8C 0022FAEC 7C 08 03 A6 */ mtlr r0 /* 80232B90 0022FAF0 38 21 10 C0 */ addi r1, r1, 0x10c0 /* 80232B94 0022FAF4 4E 80 00 20 */ blr .global "__ct__25CRipperControlledPlatformF9TUniqueId9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC6CAABoxbRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>" "__ct__25CRipperControlledPlatformF9TUniqueId9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC6CAABoxbRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>": /* 80232B98 0022FAF8 94 21 FE F0 */ stwu r1, -0x110(r1) /* 80232B9C 0022FAFC 7C 08 02 A6 */ mflr r0 /* 80232BA0 0022FB00 90 01 01 14 */ stw r0, 0x114(r1) /* 80232BA4 0022FB04 BE C1 00 E8 */ stmw r22, 0xe8(r1) /* 80232BA8 0022FB08 7C 7F 1B 78 */ mr r31, r3 /* 80232BAC 0022FB0C 83 A1 01 18 */ lwz r29, 0x118(r1) /* 80232BB0 0022FB10 7C 96 23 78 */ mr r22, r4 /* 80232BB4 0022FB14 7C B7 2B 78 */ mr r23, r5 /* 80232BB8 0022FB18 7C D8 33 78 */ mr r24, r6 /* 80232BBC 0022FB1C 7C F9 3B 78 */ mr r25, r7 /* 80232BC0 0022FB20 7D 1A 43 78 */ mr r26, r8 /* 80232BC4 0022FB24 7D 3B 4B 78 */ mr r27, r9 /* 80232BC8 0022FB28 7D 5C 53 78 */ mr r28, r10 /* 80232BCC 0022FB2C 38 61 00 9C */ addi r3, r1, 0x9c /* 80232BD0 0022FB30 4B E0 7B D5 */ bl CModelDataNull__10CModelDataFv /* 80232BD4 0022FB34 38 61 00 34 */ addi r3, r1, 0x34 /* 80232BD8 0022FB38 4B DE 82 61 */ bl None__16CActorParametersFv /* 80232BDC 0022FB3C C0 22 B6 E0 */ lfs f1, lbl_805AD400@sda21(r2) /* 80232BE0 0022FB40 3C 60 80 57 */ lis r3, lbl_8056D718@ha /* 80232BE4 0022FB44 C0 02 B6 E4 */ lfs f0, lbl_805AD404@sda21(r2) /* 80232BE8 0022FB48 3B C0 00 00 */ li r30, 0 /* 80232BEC 0022FB4C A0 96 00 00 */ lhz r4, 0(r22) /* 80232BF0 0022FB50 39 81 00 2C */ addi r12, r1, 0x2c /* 80232BF4 0022FB54 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80232BF8 0022FB58 39 63 D7 18 */ addi r11, r3, lbl_8056D718@l /* 80232BFC 0022FB5C 38 00 00 01 */ li r0, 1 /* 80232C00 0022FB60 C0 22 B6 D0 */ lfs f1, lbl_805AD3F0@sda21(r2) /* 80232C04 0022FB64 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80232C08 0022FB68 7F E3 FB 78 */ mr r3, r31 /* 80232C0C 0022FB6C C0 42 B6 E8 */ lfs f2, lbl_805AD408@sda21(r2) /* 80232C10 0022FB70 7F 05 C3 78 */ mr r5, r24 /* 80232C14 0022FB74 B0 81 00 28 */ sth r4, 0x28(r1) /* 80232C18 0022FB78 7F 26 CB 78 */ mr r6, r25 /* 80232C1C 0022FB7C 7F 47 D3 78 */ mr r7, r26 /* 80232C20 0022FB80 7F 6A DB 78 */ mr r10, r27 /* 80232C24 0022FB84 93 C1 00 08 */ stw r30, 8(r1) /* 80232C28 0022FB88 38 81 00 28 */ addi r4, r1, 0x28 /* 80232C2C 0022FB8C 39 01 00 9C */ addi r8, r1, 0x9c /* 80232C30 0022FB90 39 21 00 34 */ addi r9, r1, 0x34 /* 80232C34 0022FB94 93 81 00 0C */ stw r28, 0xc(r1) /* 80232C38 0022FB98 91 81 00 10 */ stw r12, 0x10(r1) /* 80232C3C 0022FB9C 91 61 00 14 */ stw r11, 0x14(r1) /* 80232C40 0022FBA0 93 A1 00 18 */ stw r29, 0x18(r1) /* 80232C44 0022FBA4 93 C1 00 1C */ stw r30, 0x1c(r1) /* 80232C48 0022FBA8 90 01 00 20 */ stw r0, 0x20(r1) /* 80232C4C 0022FBAC 90 01 00 24 */ stw r0, 0x24(r1) /* 80232C50 0022FBB0 4B E8 11 B1 */ bl "__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>bii" /* 80232C54 0022FBB4 38 61 00 34 */ addi r3, r1, 0x34 /* 80232C58 0022FBB8 38 80 FF FF */ li r4, -1 /* 80232C5C 0022FBBC 4B ED 39 AD */ bl __dt__16CActorParametersFv /* 80232C60 0022FBC0 38 61 00 9C */ addi r3, r1, 0x9c /* 80232C64 0022FBC4 38 80 FF FF */ li r4, -1 /* 80232C68 0022FBC8 4B EE 3D E5 */ bl __dt__10CModelDataFv /* 80232C6C 0022FBCC 3C 80 80 3F */ lis r4, lbl_803E80C0@ha /* 80232C70 0022FBD0 7F E3 FB 78 */ mr r3, r31 /* 80232C74 0022FBD4 38 04 80 C0 */ addi r0, r4, lbl_803E80C0@l /* 80232C78 0022FBD8 90 1F 00 00 */ stw r0, 0(r31) /* 80232C7C 0022FBDC A0 17 00 00 */ lhz r0, 0(r23) /* 80232C80 0022FBE0 B0 1F 03 58 */ sth r0, 0x358(r31) /* 80232C84 0022FBE4 4B E2 18 2D */ bl GetYaw__6CActorCFv /* 80232C88 0022FBE8 D0 3F 03 5C */ stfs f1, 0x35c(r31) /* 80232C8C 0022FBEC 7F E3 FB 78 */ mr r3, r31 /* 80232C90 0022FBF0 BA C1 00 E8 */ lmw r22, 0xe8(r1) /* 80232C94 0022FBF4 80 01 01 14 */ lwz r0, 0x114(r1) /* 80232C98 0022FBF8 7C 08 03 A6 */ mtlr r0 /* 80232C9C 0022FBFC 38 21 01 10 */ addi r1, r1, 0x110 /* 80232CA0 0022FC00 4E 80 00 20 */ blr .global DoKnockBackAnimation__20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedf DoKnockBackAnimation__20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedf: /* 80232CA4 0022FC04 94 21 FE B0 */ stwu r1, -0x150(r1) /* 80232CA8 0022FC08 7C 08 02 A6 */ mflr r0 /* 80232CAC 0022FC0C 90 01 01 54 */ stw r0, 0x154(r1) /* 80232CB0 0022FC10 DB E1 01 40 */ stfd f31, 0x140(r1) /* 80232CB4 0022FC14 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 /* 80232CB8 0022FC18 DB C1 01 30 */ stfd f30, 0x130(r1) /* 80232CBC 0022FC1C F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 /* 80232CC0 0022FC20 BF 61 01 1C */ stmw r27, 0x11c(r1) /* 80232CC4 0022FC24 7C 7D 1B 78 */ mr r29, r3 /* 80232CC8 0022FC28 7C DE 33 78 */ mr r30, r6 /* 80232CCC 0022FC2C 80 03 00 04 */ lwz r0, 4(r3) /* 80232CD0 0022FC30 FF C0 08 90 */ fmr f30, f1 /* 80232CD4 0022FC34 83 E6 04 50 */ lwz r31, 0x450(r6) /* 80232CD8 0022FC38 7C 9B 23 78 */ mr r27, r4 /* 80232CDC 0022FC3C 2C 00 00 03 */ cmpwi r0, 3 /* 80232CE0 0022FC40 7C BC 2B 78 */ mr r28, r5 /* 80232CE4 0022FC44 41 82 00 24 */ beq lbl_80232D08 /* 80232CE8 0022FC48 40 80 00 14 */ bge lbl_80232CFC /* 80232CEC 0022FC4C 2C 00 00 01 */ cmpwi r0, 1 /* 80232CF0 0022FC50 41 82 03 30 */ beq lbl_80233020 /* 80232CF4 0022FC54 40 80 02 8C */ bge lbl_80232F80 /* 80232CF8 0022FC58 48 00 04 88 */ b lbl_80233180 lbl_80232CFC: /* 80232CFC 0022FC5C 2C 00 00 05 */ cmpwi r0, 5 /* 80232D00 0022FC60 40 80 04 80 */ bge lbl_80233180 /* 80232D04 0022FC64 48 00 01 DC */ b lbl_80232EE0 lbl_80232D08: /* 80232D08 0022FC68 7F C3 F3 78 */ mr r3, r30 /* 80232D0C 0022FC6C 7F 84 E3 78 */ mr r4, r28 /* 80232D10 0022FC70 81 9E 00 00 */ lwz r12, 0(r30) /* 80232D14 0022FC74 C3 E2 B6 F8 */ lfs f31, lbl_805AD418@sda21(r2) /* 80232D18 0022FC78 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80232D1C 0022FC7C 7D 89 03 A6 */ mtctr r12 /* 80232D20 0022FC80 4E 80 04 21 */ bctrl /* 80232D24 0022FC84 28 03 00 00 */ cmplwi r3, 0 /* 80232D28 0022FC88 41 82 00 1C */ beq lbl_80232D44 /* 80232D2C 0022FC8C FC 20 F0 90 */ fmr f1, f30 /* 80232D30 0022FC90 C0 43 00 04 */ lfs f2, 4(r3) /* 80232D34 0022FC94 7F A3 EB 78 */ mr r3, r29 /* 80232D38 0022FC98 7F 84 E3 78 */ mr r4, r28 /* 80232D3C 0022FC9C 48 00 0B F5 */ bl CalculateExtraHurlVelocity__20CKnockBackControllerFR13CStateManagerff /* 80232D40 0022FCA0 EF FF 08 2A */ fadds f31, f31, f1 lbl_80232D44: /* 80232D44 0022FCA4 7F C3 F3 78 */ mr r3, r30 /* 80232D48 0022FCA8 81 9E 00 00 */ lwz r12, 0(r30) /* 80232D4C 0022FCAC 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 80232D50 0022FCB0 7D 89 03 A6 */ mtctr r12 /* 80232D54 0022FCB4 4E 80 04 21 */ bctrl /* 80232D58 0022FCB8 C0 02 B6 FC */ lfs f0, lbl_805AD41C@sda21(r2) /* 80232D5C 0022FCBC EC 00 07 F2 */ fmuls f0, f0, f31 /* 80232D60 0022FCC0 EC 20 00 72 */ fmuls f1, f0, f1 /* 80232D64 0022FCC4 48 0E 27 9D */ bl SqrtF__5CMathFf /* 80232D68 0022FCC8 FF E0 08 90 */ fmr f31, f1 /* 80232D6C 0022FCCC 7F 63 DB 78 */ mr r3, r27 /* 80232D70 0022FCD0 48 0E 1B 49 */ bl Magnitude__9CVector3fCFv /* 80232D74 0022FCD4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80232D78 0022FCD8 C0 DB 00 04 */ lfs f6, 4(r27) /* 80232D7C 0022FCDC 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l /* 80232D80 0022FCE0 C0 9B 00 08 */ lfs f4, 8(r27) /* 80232D84 0022FCE4 C0 64 00 04 */ lfs f3, 4(r4) /* 80232D88 0022FCE8 38 61 00 68 */ addi r3, r1, 0x68 /* 80232D8C 0022FCEC C0 44 00 08 */ lfs f2, 8(r4) /* 80232D90 0022FCF0 C0 04 00 00 */ lfs f0, 0(r4) /* 80232D94 0022FCF4 EC A1 00 F2 */ fmuls f5, f1, f3 /* 80232D98 0022FCF8 EC 61 00 B2 */ fmuls f3, f1, f2 /* 80232D9C 0022FCFC C0 5B 00 00 */ lfs f2, 0(r27) /* 80232DA0 0022FD00 EC 01 00 32 */ fmuls f0, f1, f0 /* 80232DA4 0022FD04 EC A6 28 2A */ fadds f5, f6, f5 /* 80232DA8 0022FD08 EC 24 18 2A */ fadds f1, f4, f3 /* 80232DAC 0022FD0C EC 02 00 2A */ fadds f0, f2, f0 /* 80232DB0 0022FD10 D0 A1 00 6C */ stfs f5, 0x6c(r1) /* 80232DB4 0022FD14 D0 01 00 68 */ stfs f0, 0x68(r1) /* 80232DB8 0022FD18 D0 21 00 70 */ stfs f1, 0x70(r1) /* 80232DBC 0022FD1C 48 0E 19 3D */ bl CanBeNormalized__9CVector3fCFv /* 80232DC0 0022FD20 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80232DC4 0022FD24 41 82 03 BC */ beq lbl_80233180 /* 80232DC8 0022FD28 38 61 00 5C */ addi r3, r1, 0x5c /* 80232DCC 0022FD2C 38 81 00 68 */ addi r4, r1, 0x68 /* 80232DD0 0022FD30 48 0E 1A 81 */ bl AsNormalized__9CVector3fCFv /* 80232DD4 0022FD34 C0 41 00 5C */ lfs f2, 0x5c(r1) /* 80232DD8 0022FD38 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80232DDC 0022FD3C C0 21 00 60 */ lfs f1, 0x60(r1) /* 80232DE0 0022FD40 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l /* 80232DE4 0022FD44 C0 01 00 64 */ lfs f0, 0x64(r1) /* 80232DE8 0022FD48 EC BF 00 B2 */ fmuls f5, f31, f2 /* 80232DEC 0022FD4C C0 5B 00 08 */ lfs f2, 8(r27) /* 80232DF0 0022FD50 EC 9F 00 72 */ fmuls f4, f31, f1 /* 80232DF4 0022FD54 C0 3B 00 04 */ lfs f1, 4(r27) /* 80232DF8 0022FD58 EC 7F 00 32 */ fmuls f3, f31, f0 /* 80232DFC 0022FD5C C0 1B 00 00 */ lfs f0, 0(r27) /* 80232E00 0022FD60 FC 40 10 50 */ fneg f2, f2 /* 80232E04 0022FD64 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha /* 80232E08 0022FD68 FC 20 08 50 */ fneg f1, f1 /* 80232E0C 0022FD6C 38 C0 00 0F */ li r6, 0xf /* 80232E10 0022FD70 FC 00 00 50 */ fneg f0, f0 /* 80232E14 0022FD74 38 00 00 00 */ li r0, 0 /* 80232E18 0022FD78 3B FF 00 04 */ addi r31, r31, 4 /* 80232E1C 0022FD7C 90 81 00 A4 */ stw r4, 0xa4(r1) /* 80232E20 0022FD80 38 A3 AA 5C */ addi r5, r3, lbl_803DAA5C@l /* 80232E24 0022FD84 38 80 00 0F */ li r4, 0xf /* 80232E28 0022FD88 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 80232E2C 0022FD8C 7F E3 FB 78 */ mr r3, r31 /* 80232E30 0022FD90 90 A1 00 A4 */ stw r5, 0xa4(r1) /* 80232E34 0022FD94 D0 01 00 AC */ stfs f0, 0xac(r1) /* 80232E38 0022FD98 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 80232E3C 0022FD9C D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 80232E40 0022FDA0 D0 A1 00 B8 */ stfs f5, 0xb8(r1) /* 80232E44 0022FDA4 D0 81 00 BC */ stfs f4, 0xbc(r1) /* 80232E48 0022FDA8 D0 61 00 C0 */ stfs f3, 0xc0(r1) /* 80232E4C 0022FDAC 98 01 00 C4 */ stb r0, 0xc4(r1) /* 80232E50 0022FDB0 4B EF E5 E9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80232E54 0022FDB4 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 80232E58 0022FDB8 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha /* 80232E5C 0022FDBC 38 A3 AA 5C */ addi r5, r3, lbl_803DAA5C@l /* 80232E60 0022FDC0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha /* 80232E64 0022FDC4 90 1F 01 B0 */ stw r0, 0x1b0(r31) /* 80232E68 0022FDC8 7F C3 F3 78 */ mr r3, r30 /* 80232E6C 0022FDCC 80 E1 00 AC */ lwz r7, 0xac(r1) /* 80232E70 0022FDD0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l /* 80232E74 0022FDD4 80 C1 00 B0 */ lwz r6, 0xb0(r1) /* 80232E78 0022FDD8 90 FF 01 B4 */ stw r7, 0x1b4(r31) /* 80232E7C 0022FDDC 80 81 00 B4 */ lwz r4, 0xb4(r1) /* 80232E80 0022FDE0 90 DF 01 B8 */ stw r6, 0x1b8(r31) /* 80232E84 0022FDE4 80 C1 00 B8 */ lwz r6, 0xb8(r1) /* 80232E88 0022FDE8 90 9F 01 BC */ stw r4, 0x1bc(r31) /* 80232E8C 0022FDEC 80 81 00 BC */ lwz r4, 0xbc(r1) /* 80232E90 0022FDF0 90 DF 01 C0 */ stw r6, 0x1c0(r31) /* 80232E94 0022FDF4 80 C1 00 C0 */ lwz r6, 0xc0(r1) /* 80232E98 0022FDF8 90 9F 01 C4 */ stw r4, 0x1c4(r31) /* 80232E9C 0022FDFC 88 81 00 C4 */ lbz r4, 0xc4(r1) /* 80232EA0 0022FE00 90 DF 01 C8 */ stw r6, 0x1c8(r31) /* 80232EA4 0022FE04 98 9F 01 CC */ stb r4, 0x1cc(r31) /* 80232EA8 0022FE08 81 9E 00 00 */ lwz r12, 0(r30) /* 80232EAC 0022FE0C 90 A1 00 A4 */ stw r5, 0xa4(r1) /* 80232EB0 0022FE10 81 8C 02 BC */ lwz r12, 0x2bc(r12) /* 80232EB4 0022FE14 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80232EB8 0022FE18 C3 FE 00 E8 */ lfs f31, 0xe8(r30) /* 80232EBC 0022FE1C 7D 89 03 A6 */ mtctr r12 /* 80232EC0 0022FE20 4E 80 04 21 */ bctrl /* 80232EC4 0022FE24 FC 40 F8 50 */ fneg f2, f31 /* 80232EC8 0022FE28 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80232ECC 0022FE2C D0 1E 01 50 */ stfs f0, 0x150(r30) /* 80232ED0 0022FE30 EC 22 00 72 */ fmuls f1, f2, f1 /* 80232ED4 0022FE34 D0 1E 01 54 */ stfs f0, 0x154(r30) /* 80232ED8 0022FE38 D0 3E 01 58 */ stfs f1, 0x158(r30) /* 80232EDC 0022FE3C 48 00 02 A4 */ b lbl_80233180 lbl_80232EE0: /* 80232EE0 0022FE40 C0 5B 00 08 */ lfs f2, 8(r27) /* 80232EE4 0022FE44 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80232EE8 0022FE48 C0 3B 00 04 */ lfs f1, 4(r27) /* 80232EEC 0022FE4C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80232EF0 0022FE50 C0 1B 00 00 */ lfs f0, 0(r27) /* 80232EF4 0022FE54 FC 40 10 50 */ fneg f2, f2 /* 80232EF8 0022FE58 FC 20 08 50 */ fneg f1, f1 /* 80232EFC 0022FE5C 80 DD 00 7C */ lwz r6, 0x7c(r29) /* 80232F00 0022FE60 FC 00 00 50 */ fneg f0, f0 /* 80232F04 0022FE64 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 80232F08 0022FE68 38 A0 00 03 */ li r5, 3 /* 80232F0C 0022FE6C 3B BF 00 04 */ addi r29, r31, 4 /* 80232F10 0022FE70 90 01 00 8C */ stw r0, 0x8c(r1) /* 80232F14 0022FE74 38 03 AA 50 */ addi r0, r3, lbl_803DAA50@l /* 80232F18 0022FE78 7F A3 EB 78 */ mr r3, r29 /* 80232F1C 0022FE7C 38 80 00 03 */ li r4, 3 /* 80232F20 0022FE80 90 A1 00 90 */ stw r5, 0x90(r1) /* 80232F24 0022FE84 90 01 00 8C */ stw r0, 0x8c(r1) /* 80232F28 0022FE88 D0 01 00 94 */ stfs f0, 0x94(r1) /* 80232F2C 0022FE8C D0 21 00 98 */ stfs f1, 0x98(r1) /* 80232F30 0022FE90 D0 41 00 9C */ stfs f2, 0x9c(r1) /* 80232F34 0022FE94 90 C1 00 A0 */ stw r6, 0xa0(r1) /* 80232F38 0022FE98 4B EF E5 01 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80232F3C 0022FE9C 80 01 00 90 */ lwz r0, 0x90(r1) /* 80232F40 0022FEA0 3C 60 80 3E */ lis r3, lbl_803DAA50@ha /* 80232F44 0022FEA4 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l /* 80232F48 0022FEA8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80232F4C 0022FEAC 90 1D 00 E0 */ stw r0, 0xe0(r29) /* 80232F50 0022FEB0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80232F54 0022FEB4 80 A1 00 94 */ lwz r5, 0x94(r1) /* 80232F58 0022FEB8 80 61 00 98 */ lwz r3, 0x98(r1) /* 80232F5C 0022FEBC 90 BD 00 E4 */ stw r5, 0xe4(r29) /* 80232F60 0022FEC0 80 A1 00 9C */ lwz r5, 0x9c(r1) /* 80232F64 0022FEC4 90 7D 00 E8 */ stw r3, 0xe8(r29) /* 80232F68 0022FEC8 80 61 00 A0 */ lwz r3, 0xa0(r1) /* 80232F6C 0022FECC 90 BD 00 EC */ stw r5, 0xec(r29) /* 80232F70 0022FED0 90 81 00 8C */ stw r4, 0x8c(r1) /* 80232F74 0022FED4 90 7D 00 F0 */ stw r3, 0xf0(r29) /* 80232F78 0022FED8 90 01 00 8C */ stw r0, 0x8c(r1) /* 80232F7C 0022FEDC 48 00 02 04 */ b lbl_80233180 lbl_80232F80: /* 80232F80 0022FEE0 C0 5B 00 08 */ lfs f2, 8(r27) /* 80232F84 0022FEE4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80232F88 0022FEE8 C0 3B 00 04 */ lfs f1, 4(r27) /* 80232F8C 0022FEEC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80232F90 0022FEF0 C0 1B 00 00 */ lfs f0, 0(r27) /* 80232F94 0022FEF4 FC 40 10 50 */ fneg f2, f2 /* 80232F98 0022FEF8 FC 20 08 50 */ fneg f1, f1 /* 80232F9C 0022FEFC 80 DD 00 7C */ lwz r6, 0x7c(r29) /* 80232FA0 0022FF00 FC 00 00 50 */ fneg f0, f0 /* 80232FA4 0022FF04 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 80232FA8 0022FF08 38 A0 00 04 */ li r5, 4 /* 80232FAC 0022FF0C 3B BF 00 04 */ addi r29, r31, 4 /* 80232FB0 0022FF10 90 01 00 74 */ stw r0, 0x74(r1) /* 80232FB4 0022FF14 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l /* 80232FB8 0022FF18 7F A3 EB 78 */ mr r3, r29 /* 80232FBC 0022FF1C 38 80 00 04 */ li r4, 4 /* 80232FC0 0022FF20 90 A1 00 78 */ stw r5, 0x78(r1) /* 80232FC4 0022FF24 90 01 00 74 */ stw r0, 0x74(r1) /* 80232FC8 0022FF28 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80232FCC 0022FF2C D0 21 00 80 */ stfs f1, 0x80(r1) /* 80232FD0 0022FF30 D0 41 00 84 */ stfs f2, 0x84(r1) /* 80232FD4 0022FF34 90 C1 00 88 */ stw r6, 0x88(r1) /* 80232FD8 0022FF38 4B EF E4 61 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd /* 80232FDC 0022FF3C 80 01 00 78 */ lwz r0, 0x78(r1) /* 80232FE0 0022FF40 3C 60 80 3E */ lis r3, lbl_803DAA44@ha /* 80232FE4 0022FF44 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l /* 80232FE8 0022FF48 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80232FEC 0022FF4C 90 1D 00 F8 */ stw r0, 0xf8(r29) /* 80232FF0 0022FF50 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80232FF4 0022FF54 80 A1 00 7C */ lwz r5, 0x7c(r1) /* 80232FF8 0022FF58 80 61 00 80 */ lwz r3, 0x80(r1) /* 80232FFC 0022FF5C 90 BD 00 FC */ stw r5, 0xfc(r29) /* 80233000 0022FF60 80 A1 00 84 */ lwz r5, 0x84(r1) /* 80233004 0022FF64 90 7D 01 00 */ stw r3, 0x100(r29) /* 80233008 0022FF68 80 61 00 88 */ lwz r3, 0x88(r1) /* 8023300C 0022FF6C 90 BD 01 04 */ stw r5, 0x104(r29) /* 80233010 0022FF70 90 81 00 74 */ stw r4, 0x74(r1) /* 80233014 0022FF74 90 7D 01 08 */ stw r3, 0x108(r29) /* 80233018 0022FF78 90 01 00 74 */ stw r0, 0x74(r1) /* 8023301C 0022FF7C 48 00 01 64 */ b lbl_80233180 lbl_80233020: /* 80233020 0022FF80 7F E3 FB 78 */ mr r3, r31 /* 80233024 0022FF84 4B F0 74 31 */ bl GetPASDatabase__15CBodyControllerCFv /* 80233028 0022FF88 7C 60 1B 78 */ mr r0, r3 /* 8023302C 0022FF8C 38 61 00 1C */ addi r3, r1, 0x1c /* 80233030 0022FF90 7C 1F 03 78 */ mr r31, r0 /* 80233034 0022FF94 48 0B 00 49 */ bl NoParameter__12CPASAnimParmFv /* 80233038 0022FF98 38 61 00 24 */ addi r3, r1, 0x24 /* 8023303C 0022FF9C 48 0B 00 41 */ bl NoParameter__12CPASAnimParmFv /* 80233040 0022FFA0 38 61 00 2C */ addi r3, r1, 0x2c /* 80233044 0022FFA4 48 0B 00 39 */ bl NoParameter__12CPASAnimParmFv /* 80233048 0022FFA8 38 61 00 34 */ addi r3, r1, 0x34 /* 8023304C 0022FFAC 48 0B 00 31 */ bl NoParameter__12CPASAnimParmFv /* 80233050 0022FFB0 38 61 00 3C */ addi r3, r1, 0x3c /* 80233054 0022FFB4 48 0B 00 29 */ bl NoParameter__12CPASAnimParmFv /* 80233058 0022FFB8 38 61 00 44 */ addi r3, r1, 0x44 /* 8023305C 0022FFBC 48 0B 00 21 */ bl NoParameter__12CPASAnimParmFv /* 80233060 0022FFC0 38 61 00 4C */ addi r3, r1, 0x4c /* 80233064 0022FFC4 48 0B 00 19 */ bl NoParameter__12CPASAnimParmFv /* 80233068 0022FFC8 38 61 00 54 */ addi r3, r1, 0x54 /* 8023306C 0022FFCC 48 0B 00 11 */ bl NoParameter__12CPASAnimParmFv /* 80233070 0022FFD0 38 61 00 24 */ addi r3, r1, 0x24 /* 80233074 0022FFD4 38 01 00 1C */ addi r0, r1, 0x1c /* 80233078 0022FFD8 90 61 00 08 */ stw r3, 8(r1) /* 8023307C 0022FFDC 38 61 00 C8 */ addi r3, r1, 0xc8 /* 80233080 0022FFE0 38 A1 00 54 */ addi r5, r1, 0x54 /* 80233084 0022FFE4 38 C1 00 4C */ addi r6, r1, 0x4c /* 80233088 0022FFE8 90 01 00 0C */ stw r0, 0xc(r1) /* 8023308C 0022FFEC 38 E1 00 44 */ addi r7, r1, 0x44 /* 80233090 0022FFF0 39 01 00 3C */ addi r8, r1, 0x3c /* 80233094 0022FFF4 39 21 00 34 */ addi r9, r1, 0x34 /* 80233098 0022FFF8 39 41 00 2C */ addi r10, r1, 0x2c /* 8023309C 0022FFFC 38 80 00 17 */ li r4, 0x17 /* 802330A0 00230000 4B E4 A2 25 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm /* 802330A4 00230004 80 DC 09 00 */ lwz r6, 0x900(r28) /* 802330A8 00230008 7F E4 FB 78 */ mr r4, r31 /* 802330AC 0023000C 38 61 00 14 */ addi r3, r1, 0x14 /* 802330B0 00230010 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 802330B4 00230014 38 E0 FF FF */ li r7, -1 /* 802330B8 00230018 48 0B 1F A9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i /* 802330BC 0023001C C0 21 00 14 */ lfs f1, 0x14(r1) /* 802330C0 00230020 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 802330C4 00230024 83 E1 00 18 */ lwz r31, 0x18(r1) /* 802330C8 00230028 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802330CC 0023002C 40 81 00 58 */ ble lbl_80233124 /* 802330D0 00230030 80 7E 00 64 */ lwz r3, 0x64(r30) /* 802330D4 00230034 7F E4 FB 78 */ mr r4, r31 /* 802330D8 00230038 C0 22 B7 04 */ lfs f1, lbl_805AD424@sda21(r2) /* 802330DC 0023003C 38 A0 00 00 */ li r5, 0 /* 802330E0 00230040 80 63 00 10 */ lwz r3, 0x10(r3) /* 802330E4 00230044 38 C0 00 01 */ li r6, 1 /* 802330E8 00230048 4B DF 70 E9 */ bl AddAdditiveAnimation__9CAnimDataFUifbb /* 802330EC 0023004C 80 7E 00 64 */ lwz r3, 0x64(r30) /* 802330F0 00230050 7F E4 FB 78 */ mr r4, r31 /* 802330F4 00230054 80 63 00 10 */ lwz r3, 0x10(r3) /* 802330F8 00230058 4B DF 93 D1 */ bl GetAnimationDuration__9CAnimDataCFi /* 802330FC 0023005C D0 21 00 10 */ stfs f1, 0x10(r1) /* 80233100 00230060 FC 00 08 18 */ frsp f0, f1 /* 80233104 00230064 C0 3D 00 64 */ lfs f1, 0x64(r29) /* 80233108 00230068 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023310C 0023006C 40 80 00 0C */ bge lbl_80233118 /* 80233110 00230070 38 61 00 10 */ addi r3, r1, 0x10 /* 80233114 00230074 48 00 00 08 */ b lbl_8023311C lbl_80233118: /* 80233118 00230078 38 7D 00 64 */ addi r3, r29, 0x64 lbl_8023311C: /* 8023311C 0023007C C0 03 00 00 */ lfs f0, 0(r3) /* 80233120 00230080 D0 1D 00 64 */ stfs f0, 0x64(r29) lbl_80233124: /* 80233124 00230084 34 A1 00 CC */ addic. r5, r1, 0xcc /* 80233128 00230088 41 82 00 58 */ beq lbl_80233180 /* 8023312C 0023008C 80 C5 00 00 */ lwz r6, 0(r5) /* 80233130 00230090 38 60 00 00 */ li r3, 0 /* 80233134 00230094 2C 06 00 00 */ cmpwi r6, 0 /* 80233138 00230098 40 81 00 40 */ ble lbl_80233178 /* 8023313C 0023009C 2C 06 00 08 */ cmpwi r6, 8 /* 80233140 002300A0 38 86 FF F8 */ addi r4, r6, -8 /* 80233144 002300A4 40 81 00 20 */ ble lbl_80233164 /* 80233148 002300A8 38 04 00 07 */ addi r0, r4, 7 /* 8023314C 002300AC 54 00 E8 FE */ srwi r0, r0, 3 /* 80233150 002300B0 7C 09 03 A6 */ mtctr r0 /* 80233154 002300B4 2C 04 00 00 */ cmpwi r4, 0 /* 80233158 002300B8 40 81 00 0C */ ble lbl_80233164 lbl_8023315C: /* 8023315C 002300BC 38 63 00 08 */ addi r3, r3, 8 /* 80233160 002300C0 42 00 FF FC */ bdnz lbl_8023315C lbl_80233164: /* 80233164 002300C4 7C 03 30 50 */ subf r0, r3, r6 /* 80233168 002300C8 7C 09 03 A6 */ mtctr r0 /* 8023316C 002300CC 7C 03 30 00 */ cmpw r3, r6 /* 80233170 002300D0 40 80 00 08 */ bge lbl_80233178 lbl_80233174: /* 80233174 002300D4 42 00 00 00 */ bdnz lbl_80233174 lbl_80233178: /* 80233178 002300D8 38 00 00 00 */ li r0, 0 /* 8023317C 002300DC 90 05 00 00 */ stw r0, 0(r5) lbl_80233180: /* 80233180 002300E0 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 /* 80233184 002300E4 CB E1 01 40 */ lfd f31, 0x140(r1) /* 80233188 002300E8 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 /* 8023318C 002300EC CB C1 01 30 */ lfd f30, 0x130(r1) /* 80233190 002300F0 BB 61 01 1C */ lmw r27, 0x11c(r1) /* 80233194 002300F4 80 01 01 54 */ lwz r0, 0x154(r1) /* 80233198 002300F8 7C 08 03 A6 */ mtlr r0 /* 8023319C 002300FC 38 21 01 50 */ addi r1, r1, 0x150 /* 802331A0 00230100 4E 80 00 20 */ blr .global DoDeferredKnockBack__20CKnockBackControllerFR13CStateManagerR10CPatterned DoDeferredKnockBack__20CKnockBackControllerFR13CStateManagerR10CPatterned: /* 802331A4 00230104 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802331A8 00230108 7C 08 02 A6 */ mflr r0 /* 802331AC 0023010C 90 01 00 54 */ stw r0, 0x54(r1) /* 802331B0 00230110 93 E1 00 4C */ stw r31, 0x4c(r1) /* 802331B4 00230114 7C BF 2B 78 */ mr r31, r5 /* 802331B8 00230118 93 C1 00 48 */ stw r30, 0x48(r1) /* 802331BC 0023011C 7C 9E 23 78 */ mr r30, r4 /* 802331C0 00230120 93 A1 00 44 */ stw r29, 0x44(r1) /* 802331C4 00230124 7C 7D 1B 78 */ mr r29, r3 /* 802331C8 00230128 80 03 00 14 */ lwz r0, 0x14(r3) /* 802331CC 0023012C 2C 00 00 02 */ cmpwi r0, 2 /* 802331D0 00230130 40 82 01 70 */ bne lbl_80233340 /* 802331D4 00230134 7F E4 FB 78 */ mr r4, r31 /* 802331D8 00230138 48 00 07 CD */ bl GetKnockBackCharacterState__20CKnockBackControllerFR10CPatterned /* 802331DC 0023013C 80 BD 00 00 */ lwz r5, 0(r29) /* 802331E0 00230140 3C 80 80 3D */ lis r4, lbl_803D34A0@ha /* 802331E4 00230144 54 60 20 36 */ slwi r0, r3, 4 /* 802331E8 00230148 7F A3 EB 78 */ mr r3, r29 /* 802331EC 0023014C 1C C5 04 C0 */ mulli r6, r5, 0x4c0 /* 802331F0 00230150 38 A4 34 A0 */ addi r5, r4, lbl_803D34A0@l /* 802331F4 00230154 7F E4 FB 78 */ mr r4, r31 /* 802331F8 00230158 7C A5 32 14 */ add r5, r5, r6 /* 802331FC 0023015C 7C A5 02 14 */ add r5, r5, r0 /* 80233200 00230160 38 C5 01 C0 */ addi r6, r5, 0x1c0 /* 80233204 00230164 80 A5 01 C0 */ lwz r5, 0x1c0(r5) /* 80233208 00230168 80 06 00 04 */ lwz r0, 4(r6) /* 8023320C 0023016C 90 BD 00 04 */ stw r5, 4(r29) /* 80233210 00230170 C0 26 00 08 */ lfs f1, 8(r6) /* 80233214 00230174 90 1D 00 08 */ stw r0, 8(r29) /* 80233218 00230178 C0 06 00 0C */ lfs f0, 0xc(r6) /* 8023321C 0023017C D0 3D 00 0C */ stfs f1, 0xc(r29) /* 80233220 00230180 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 80233224 00230184 48 00 04 59 */ bl ValidateState__20CKnockBackControllerFR10CPatterned /* 80233228 00230188 7F E3 FB 78 */ mr r3, r31 /* 8023322C 0023018C 7F C4 F3 78 */ mr r4, r30 /* 80233230 00230190 81 9F 00 00 */ lwz r12, 0(r31) /* 80233234 00230194 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80233238 00230198 7D 89 03 A6 */ mtctr r12 /* 8023323C 0023019C 4E 80 04 21 */ bctrl /* 80233240 002301A0 28 03 00 00 */ cmplwi r3, 0 /* 80233244 002301A4 41 82 00 FC */ beq lbl_80233340 /* 80233248 002301A8 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 8023324C 002301AC 7F A3 EB 78 */ mr r3, r29 /* 80233250 002301B0 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80233254 002301B4 7F C5 F3 78 */ mr r5, r30 /* 80233258 002301B8 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 8023325C 002301BC FC 60 10 50 */ fneg f3, f2 /* 80233260 002301C0 FC 40 08 50 */ fneg f2, f1 /* 80233264 002301C4 C0 22 B7 08 */ lfs f1, lbl_805AD428@sda21(r2) /* 80233268 002301C8 FC 00 00 50 */ fneg f0, f0 /* 8023326C 002301CC 7F E6 FB 78 */ mr r6, r31 /* 80233270 002301D0 D0 61 00 18 */ stfs f3, 0x18(r1) /* 80233274 002301D4 38 81 00 10 */ addi r4, r1, 0x10 /* 80233278 002301D8 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8023327C 002301DC D0 41 00 14 */ stfs f2, 0x14(r1) /* 80233280 002301E0 4B FF FA 25 */ bl DoKnockBackAnimation__20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedf /* 80233284 002301E4 C0 22 B7 0C */ lfs f1, lbl_805AD42C@sda21(r2) /* 80233288 002301E8 7F A3 EB 78 */ mr r3, r29 /* 8023328C 002301EC 7F E4 FB 78 */ mr r4, r31 /* 80233290 002301F0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80233294 002301F4 48 00 02 6D */ bl ResetKnockBackImpulse__20CKnockBackControllerFR10CPatternedRC9CVector3ff /* 80233298 002301F8 88 C1 00 0C */ lbz r6, 0xc(r1) /* 8023329C 002301FC 38 60 00 00 */ li r3, 0 /* 802332A0 00230200 50 66 3E 30 */ rlwimi r6, r3, 7, 0x18, 0x18 /* 802332A4 00230204 39 40 00 01 */ li r10, 1 /* 802332A8 00230208 81 7D 00 14 */ lwz r11, 0x14(r29) /* 802332AC 0023020C 54 C8 06 3E */ clrlwi r8, r6, 0x18 /* 802332B0 00230210 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 802332B4 00230214 51 48 36 72 */ rlwimi r8, r10, 6, 0x19, 0x19 /* 802332B8 00230218 C0 22 B7 08 */ lfs f1, lbl_805AD428@sda21(r2) /* 802332BC 0023021C 55 09 06 3E */ clrlwi r9, r8, 0x18 /* 802332C0 00230220 88 01 00 34 */ lbz r0, 0x34(r1) /* 802332C4 00230224 50 69 2E B4 */ rlwimi r9, r3, 5, 0x1a, 0x1a /* 802332C8 00230228 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802332CC 0023022C 91 61 00 1C */ stw r11, 0x1c(r1) /* 802332D0 00230230 7F E3 FB 78 */ mr r3, r31 /* 802332D4 00230234 7F C5 F3 78 */ mr r5, r30 /* 802332D8 00230238 99 21 00 20 */ stb r9, 0x20(r1) /* 802332DC 0023023C 38 81 00 10 */ addi r4, r1, 0x10 /* 802332E0 00230240 38 E0 00 01 */ li r7, 1 /* 802332E4 00230244 98 C1 00 0C */ stb r6, 0xc(r1) /* 802332E8 00230248 38 C1 00 1C */ addi r6, r1, 0x1c /* 802332EC 0023024C 99 01 00 0C */ stb r8, 0xc(r1) /* 802332F0 00230250 D0 01 00 24 */ stfs f0, 0x24(r1) /* 802332F4 00230254 D0 01 00 28 */ stfs f0, 0x28(r1) /* 802332F8 00230258 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802332FC 0023025C D0 21 00 30 */ stfs f1, 0x30(r1) /* 80233300 00230260 98 01 00 34 */ stb r0, 0x34(r1) /* 80233304 00230264 88 1D 00 82 */ lbz r0, 0x82(r29) /* 80233308 00230268 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 /* 8023330C 0023026C 91 61 00 08 */ stw r11, 8(r1) /* 80233310 00230270 98 1D 00 82 */ stb r0, 0x82(r29) /* 80233314 00230274 81 9F 00 00 */ lwz r12, 0(r31) /* 80233318 00230278 88 1D 00 82 */ lbz r0, 0x82(r29) /* 8023331C 0023027C 81 8C 00 88 */ lwz r12, 0x88(r12) /* 80233320 00230280 54 08 D7 FE */ rlwinm r8, r0, 0x1a, 0x1f, 0x1f /* 80233324 00230284 99 21 00 0C */ stb r9, 0xc(r1) /* 80233328 00230288 7D 89 03 A6 */ mtctr r12 /* 8023332C 0023028C 4E 80 04 21 */ bctrl /* 80233330 00230290 88 1D 00 82 */ lbz r0, 0x82(r29) /* 80233334 00230294 38 60 00 00 */ li r3, 0 /* 80233338 00230298 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8023333C 0023029C 98 1D 00 82 */ stb r0, 0x82(r29) lbl_80233340: /* 80233340 002302A0 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80233344 002302A4 3C 60 80 3D */ lis r3, lbl_803D3490@ha /* 80233348 002302A8 38 A3 34 90 */ addi r5, r3, lbl_803D3490@l /* 8023334C 002302AC 38 00 FF FF */ li r0, -1 /* 80233350 002302B0 D0 1D 00 68 */ stfs f0, 0x68(r29) /* 80233354 002302B4 80 85 00 00 */ lwz r4, 0(r5) /* 80233358 002302B8 80 65 00 04 */ lwz r3, 4(r5) /* 8023335C 002302BC 90 9D 00 04 */ stw r4, 4(r29) /* 80233360 002302C0 C0 25 00 08 */ lfs f1, 8(r5) /* 80233364 002302C4 90 7D 00 08 */ stw r3, 8(r29) /* 80233368 002302C8 C0 05 00 0C */ lfs f0, 0xc(r5) /* 8023336C 002302CC D0 3D 00 0C */ stfs f1, 0xc(r29) /* 80233370 002302D0 D0 1D 00 10 */ stfs f0, 0x10(r29) /* 80233374 002302D4 90 1D 00 14 */ stw r0, 0x14(r29) /* 80233378 002302D8 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8023337C 002302DC 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80233380 002302E0 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80233384 002302E4 80 01 00 54 */ lwz r0, 0x54(r1) /* 80233388 002302E8 7C 08 03 A6 */ mtlr r0 /* 8023338C 002302EC 38 21 00 50 */ addi r1, r1, 0x50 /* 80233390 002302F0 4E 80 00 20 */ blr .global ApplyImpulse__20CKnockBackControllerFfR10CPatterned ApplyImpulse__20CKnockBackControllerFfR10CPatterned: /* 80233394 002302F4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80233398 002302F8 7C 08 02 A6 */ mflr r0 /* 8023339C 002302FC 90 01 00 64 */ stw r0, 0x64(r1) /* 802333A0 00230300 DB E1 00 50 */ stfd f31, 0x50(r1) /* 802333A4 00230304 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 802333A8 00230308 93 E1 00 4C */ stw r31, 0x4c(r1) /* 802333AC 0023030C 93 C1 00 48 */ stw r30, 0x48(r1) /* 802333B0 00230310 7C 7E 1B 78 */ mr r30, r3 /* 802333B4 00230314 FF E0 08 90 */ fmr f31, f1 /* 802333B8 00230318 C0 03 00 60 */ lfs f0, 0x60(r3) /* 802333BC 0023031C 7C 9F 23 78 */ mr r31, r4 /* 802333C0 00230320 38 81 00 08 */ addi r4, r1, 8 /* 802333C4 00230324 38 6D 96 3C */ addi r3, r13, lbl_805A81FC@sda21 /* 802333C8 00230328 EC 00 F8 28 */ fsubs f0, f0, f31 /* 802333CC 0023032C D0 01 00 08 */ stfs f0, 8(r1) /* 802333D0 00230330 4B E1 C3 61 */ bl "Max__5CMathFRCfRCf" /* 802333D4 00230334 C0 03 00 00 */ lfs f0, 0(r3) /* 802333D8 00230338 38 80 00 00 */ li r4, 0 /* 802333DC 0023033C 38 00 08 00 */ li r0, 0x800 /* 802333E0 00230340 D0 1E 00 60 */ stfs f0, 0x60(r30) /* 802333E4 00230344 80 7F 00 68 */ lwz r3, 0x68(r31) /* 802333E8 00230348 80 BF 00 6C */ lwz r5, 0x6c(r31) /* 802333EC 0023034C 7C 60 00 38 */ and r0, r3, r0 /* 802333F0 00230350 7C A3 20 38 */ and r3, r5, r4 /* 802333F4 00230354 7C 63 22 78 */ xor r3, r3, r4 /* 802333F8 00230358 7C 00 22 78 */ xor r0, r0, r4 /* 802333FC 0023035C 7C 60 03 79 */ or. r0, r3, r0 /* 80233400 00230360 40 82 00 E0 */ bne lbl_802334E0 /* 80233404 00230364 C0 3E 00 60 */ lfs f1, 0x60(r30) /* 80233408 00230368 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 8023340C 0023036C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80233410 00230370 40 81 00 D0 */ ble lbl_802334E0 /* 80233414 00230374 80 9E 00 20 */ lwz r4, 0x20(r30) /* 80233418 00230378 C0 A2 B7 04 */ lfs f5, lbl_805AD424@sda21(r2) /* 8023341C 0023037C 2C 04 00 01 */ cmpwi r4, 1 /* 80233420 00230380 41 82 00 08 */ beq lbl_80233428 /* 80233424 00230384 48 00 00 14 */ b lbl_80233438 lbl_80233428: /* 80233428 00230388 54 80 10 3A */ slwi r0, r4, 2 /* 8023342C 0023038C 38 62 B6 F0 */ addi r3, r2, lbl_805AD410@sda21 /* 80233430 00230390 7C 03 04 2E */ lfsx f0, r3, r0 /* 80233434 00230394 EC A1 00 24 */ fdivs f5, f1, f0 lbl_80233438: /* 80233438 00230398 54 80 10 3A */ slwi r0, r4, 2 /* 8023343C 0023039C 38 82 B6 F0 */ addi r4, r2, lbl_805AD410@sda21 /* 80233440 002303A0 C0 22 B7 04 */ lfs f1, lbl_805AD424@sda21(r2) /* 80233444 002303A4 38 61 00 0C */ addi r3, r1, 0xc /* 80233448 002303A8 7C 04 04 2E */ lfsx f0, r4, r0 /* 8023344C 002303AC 38 9F 00 34 */ addi r4, r31, 0x34 /* 80233450 002303B0 C0 7E 00 5C */ lfs f3, 0x5c(r30) /* 80233454 002303B4 38 A1 00 30 */ addi r5, r1, 0x30 /* 80233458 002303B8 EC 81 00 24 */ fdivs f4, f1, f0 /* 8023345C 002303BC C0 5E 00 54 */ lfs f2, 0x54(r30) /* 80233460 002303C0 C0 3E 00 58 */ lfs f1, 0x58(r30) /* 80233464 002303C4 C0 1E 00 50 */ lfs f0, 0x50(r30) /* 80233468 002303C8 EC 65 00 F2 */ fmuls f3, f5, f3 /* 8023346C 002303CC EC 43 00 B2 */ fmuls f2, f3, f2 /* 80233470 002303D0 EC 23 00 72 */ fmuls f1, f3, f1 /* 80233474 002303D4 EC 03 00 32 */ fmuls f0, f3, f0 /* 80233478 002303D8 EC 5F 00 B2 */ fmuls f2, f31, f2 /* 8023347C 002303DC EC 3F 00 72 */ fmuls f1, f31, f1 /* 80233480 002303E0 EC 1F 00 32 */ fmuls f0, f31, f0 /* 80233484 002303E4 EC 44 00 B2 */ fmuls f2, f4, f2 /* 80233488 002303E8 EC 24 00 72 */ fmuls f1, f4, f1 /* 8023348C 002303EC EC 04 00 32 */ fmuls f0, f4, f0 /* 80233490 002303F0 D0 41 00 34 */ stfs f2, 0x34(r1) /* 80233494 002303F4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80233498 002303F8 D0 21 00 38 */ stfs f1, 0x38(r1) /* 8023349C 002303FC 48 0D F5 89 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 802334A0 00230400 FC 20 F8 90 */ fmr f1, f31 /* 802334A4 00230404 7F E4 FB 78 */ mr r4, r31 /* 802334A8 00230408 38 61 00 18 */ addi r3, r1, 0x18 /* 802334AC 0023040C 38 A1 00 0C */ addi r5, r1, 0xc /* 802334B0 00230410 4B EE 7B 59 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff /* 802334B4 00230414 C0 41 00 18 */ lfs f2, 0x18(r1) /* 802334B8 00230418 C0 21 00 1C */ lfs f1, 0x1c(r1) /* 802334BC 0023041C C0 01 00 20 */ lfs f0, 0x20(r1) /* 802334C0 00230420 D0 41 00 24 */ stfs f2, 0x24(r1) /* 802334C4 00230424 D0 21 00 28 */ stfs f1, 0x28(r1) /* 802334C8 00230428 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802334CC 0023042C 4B DE 80 69 */ bl Identity__10CAxisAngleFv /* 802334D0 00230430 7C 65 1B 78 */ mr r5, r3 /* 802334D4 00230434 7F E3 FB 78 */ mr r3, r31 /* 802334D8 00230438 38 81 00 24 */ addi r4, r1, 0x24 /* 802334DC 0023043C 4B EE 8E BD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle lbl_802334E0: /* 802334E0 00230440 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 802334E4 00230444 80 01 00 64 */ lwz r0, 0x64(r1) /* 802334E8 00230448 CB E1 00 50 */ lfd f31, 0x50(r1) /* 802334EC 0023044C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802334F0 00230450 83 C1 00 48 */ lwz r30, 0x48(r1) /* 802334F4 00230454 7C 08 03 A6 */ mtlr r0 /* 802334F8 00230458 38 21 00 60 */ addi r1, r1, 0x60 /* 802334FC 0023045C 4E 80 00 20 */ blr .global ResetKnockBackImpulse__20CKnockBackControllerFR10CPatternedRC9CVector3ff ResetKnockBackImpulse__20CKnockBackControllerFR10CPatternedRC9CVector3ff: /* 80233500 00230460 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80233504 00230464 7C 08 02 A6 */ mflr r0 /* 80233508 00230468 90 01 00 54 */ stw r0, 0x54(r1) /* 8023350C 0023046C DB E1 00 40 */ stfd f31, 0x40(r1) /* 80233510 00230470 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80233514 00230474 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80233518 00230478 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023351C 0023047C 93 A1 00 34 */ stw r29, 0x34(r1) /* 80233520 00230480 88 03 00 81 */ lbz r0, 0x81(r3) /* 80233524 00230484 FF E0 08 90 */ fmr f31, f1 /* 80233528 00230488 7C 7D 1B 78 */ mr r29, r3 /* 8023352C 0023048C 7C 9E 23 78 */ mr r30, r4 /* 80233530 00230490 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80233534 00230494 7C BF 2B 78 */ mr r31, r5 /* 80233538 00230498 41 82 00 E4 */ beq lbl_8023361C /* 8023353C 0023049C 80 1D 00 04 */ lwz r0, 4(r29) /* 80233540 002304A0 2C 00 00 02 */ cmpwi r0, 2 /* 80233544 002304A4 40 82 00 D8 */ bne lbl_8023361C /* 80233548 002304A8 80 1D 00 08 */ lwz r0, 8(r29) /* 8023354C 002304AC 2C 00 00 01 */ cmpwi r0, 1 /* 80233550 002304B0 41 82 00 CC */ beq lbl_8023361C /* 80233554 002304B4 7F E3 FB 78 */ mr r3, r31 /* 80233558 002304B8 48 0E 11 A1 */ bl CanBeNormalized__9CVector3fCFv /* 8023355C 002304BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233560 002304C0 41 82 00 18 */ beq lbl_80233578 /* 80233564 002304C4 7F E4 FB 78 */ mr r4, r31 /* 80233568 002304C8 38 61 00 20 */ addi r3, r1, 0x20 /* 8023356C 002304CC 48 0E 12 E5 */ bl AsNormalized__9CVector3fCFv /* 80233570 002304D0 38 61 00 20 */ addi r3, r1, 0x20 /* 80233574 002304D4 48 00 00 38 */ b lbl_802335AC lbl_80233578: /* 80233578 002304D8 C0 9E 00 58 */ lfs f4, 0x58(r30) /* 8023357C 002304DC 38 61 00 08 */ addi r3, r1, 8 /* 80233580 002304E0 C0 5E 00 48 */ lfs f2, 0x48(r30) /* 80233584 002304E4 C0 7E 00 38 */ lfs f3, 0x38(r30) /* 80233588 002304E8 FC 00 20 50 */ fneg f0, f4 /* 8023358C 002304EC FC 20 10 50 */ fneg f1, f2 /* 80233590 002304F0 D0 41 00 18 */ stfs f2, 0x18(r1) /* 80233594 002304F4 FC 40 18 50 */ fneg f2, f3 /* 80233598 002304F8 D0 61 00 14 */ stfs f3, 0x14(r1) /* 8023359C 002304FC D0 81 00 1C */ stfs f4, 0x1c(r1) /* 802335A0 00230500 D0 41 00 08 */ stfs f2, 8(r1) /* 802335A4 00230504 D0 21 00 0C */ stfs f1, 0xc(r1) /* 802335A8 00230508 D0 01 00 10 */ stfs f0, 0x10(r1) lbl_802335AC: /* 802335AC 0023050C C0 23 00 00 */ lfs f1, 0(r3) /* 802335B0 00230510 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 802335B4 00230514 D0 3D 00 50 */ stfs f1, 0x50(r29) /* 802335B8 00230518 C0 23 00 04 */ lfs f1, 4(r3) /* 802335BC 0023051C D0 3D 00 54 */ stfs f1, 0x54(r29) /* 802335C0 00230520 C0 23 00 08 */ lfs f1, 8(r3) /* 802335C4 00230524 D0 3D 00 58 */ stfs f1, 0x58(r29) /* 802335C8 00230528 C0 7D 00 60 */ lfs f3, 0x60(r29) /* 802335CC 0023052C FC 03 00 40 */ fcmpo cr0, f3, f0 /* 802335D0 00230530 4C 40 13 82 */ cror 2, 0, 2 /* 802335D4 00230534 40 82 00 0C */ bne lbl_802335E0 /* 802335D8 00230538 D3 FD 00 5C */ stfs f31, 0x5c(r29) /* 802335DC 0023053C 48 00 00 2C */ b lbl_80233608 lbl_802335E0: /* 802335E0 00230540 80 1D 00 20 */ lwz r0, 0x20(r29) /* 802335E4 00230544 38 62 B6 F0 */ addi r3, r2, lbl_805AD410@sda21 /* 802335E8 00230548 C0 42 B7 04 */ lfs f2, lbl_805AD424@sda21(r2) /* 802335EC 0023054C 54 00 10 3A */ slwi r0, r0, 2 /* 802335F0 00230550 C0 1D 00 5C */ lfs f0, 0x5c(r29) /* 802335F4 00230554 7C 23 04 2E */ lfsx f1, r3, r0 /* 802335F8 00230558 EC 23 08 24 */ fdivs f1, f3, f1 /* 802335FC 0023055C EC 22 08 28 */ fsubs f1, f2, f1 /* 80233600 00230560 EC 1F 00 7A */ fmadds f0, f31, f1, f0 /* 80233604 00230564 D0 1D 00 5C */ stfs f0, 0x5c(r29) lbl_80233608: /* 80233608 00230568 80 1D 00 20 */ lwz r0, 0x20(r29) /* 8023360C 0023056C 38 62 B6 F0 */ addi r3, r2, lbl_805AD410@sda21 /* 80233610 00230570 54 00 10 3A */ slwi r0, r0, 2 /* 80233614 00230574 7C 03 04 2E */ lfsx f0, r3, r0 /* 80233618 00230578 D0 1D 00 60 */ stfs f0, 0x60(r29) lbl_8023361C: /* 8023361C 0023057C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80233620 00230580 80 01 00 54 */ lwz r0, 0x54(r1) /* 80233624 00230584 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80233628 00230588 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023362C 0023058C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80233630 00230590 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80233634 00230594 7C 08 03 A6 */ mtlr r0 /* 80233638 00230598 38 21 00 50 */ addi r1, r1, 0x50 /* 8023363C 0023059C 4E 80 00 20 */ blr .global TickDeferredTimer__20CKnockBackControllerFf TickDeferredTimer__20CKnockBackControllerFf: /* 80233640 002305A0 C0 03 00 68 */ lfs f0, 0x68(r3) /* 80233644 002305A4 EC 00 08 28 */ fsubs f0, f0, f1 /* 80233648 002305A8 D0 03 00 68 */ stfs f0, 0x68(r3) /* 8023364C 002305AC 80 03 00 14 */ lwz r0, 0x14(r3) /* 80233650 002305B0 2C 00 FF FF */ cmpwi r0, -1 /* 80233654 002305B4 41 82 00 20 */ beq lbl_80233674 /* 80233658 002305B8 C0 23 00 68 */ lfs f1, 0x68(r3) /* 8023365C 002305BC C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80233660 002305C0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80233664 002305C4 4C 40 13 82 */ cror 2, 0, 2 /* 80233668 002305C8 7C 00 00 26 */ mfcr r0 /* 8023366C 002305CC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 80233670 002305D0 4E 80 00 20 */ blr lbl_80233674: /* 80233674 002305D4 38 60 00 00 */ li r3, 0 /* 80233678 002305D8 4E 80 00 20 */ blr .global ValidateState__20CKnockBackControllerFR10CPatterned ValidateState__20CKnockBackControllerFR10CPatterned: /* 8023367C 002305DC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80233680 002305E0 7C 08 02 A6 */ mflr r0 /* 80233684 002305E4 90 01 00 24 */ stw r0, 0x24(r1) /* 80233688 002305E8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023368C 002305EC 93 C1 00 18 */ stw r30, 0x18(r1) /* 80233690 002305F0 7C 7E 1B 78 */ mr r30, r3 /* 80233694 002305F4 93 A1 00 14 */ stw r29, 0x14(r1) /* 80233698 002305F8 80 63 00 04 */ lwz r3, 4(r3) /* 8023369C 002305FC 80 1E 00 18 */ lwz r0, 0x18(r30) /* 802336A0 00230600 7C 03 00 00 */ cmpw r3, r0 /* 802336A4 00230604 40 80 00 0C */ bge lbl_802336B0 /* 802336A8 00230608 90 1E 00 04 */ stw r0, 4(r30) /* 802336AC 0023060C 48 00 00 14 */ b lbl_802336C0 lbl_802336B0: /* 802336B0 00230610 80 1E 00 1C */ lwz r0, 0x1c(r30) /* 802336B4 00230614 7C 03 00 00 */ cmpw r3, r0 /* 802336B8 00230618 40 81 00 08 */ ble lbl_802336C0 /* 802336BC 0023061C 90 1E 00 04 */ stw r0, 4(r30) lbl_802336C0: /* 802336C0 00230620 88 04 04 00 */ lbz r0, 0x400(r4) /* 802336C4 00230624 3B E0 FF FF */ li r31, -1 /* 802336C8 00230628 83 A4 04 50 */ lwz r29, 0x450(r4) /* 802336CC 0023062C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802336D0 00230630 41 82 00 B8 */ beq lbl_80233788 /* 802336D4 00230634 7F A3 EB 78 */ mr r3, r29 /* 802336D8 00230638 38 80 00 0E */ li r4, 0xe /* 802336DC 0023063C 4B F0 74 D9 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 802336E0 00230640 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802336E4 00230644 41 82 00 2C */ beq lbl_80233710 /* 802336E8 00230648 7F C3 F3 78 */ mr r3, r30 /* 802336EC 0023064C 38 80 00 03 */ li r4, 3 /* 802336F0 00230650 48 00 06 B1 */ bl TestAvailableState__20CKnockBackControllerCFi /* 802336F4 00230654 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802336F8 00230658 41 82 00 18 */ beq lbl_80233710 /* 802336FC 0023065C 80 1E 00 04 */ lwz r0, 4(r30) /* 80233700 00230660 2C 00 00 03 */ cmpwi r0, 3 /* 80233704 00230664 41 80 00 0C */ blt lbl_80233710 /* 80233708 00230668 3B E0 00 03 */ li r31, 3 /* 8023370C 0023066C 48 00 01 10 */ b lbl_8023381C lbl_80233710: /* 80233710 00230670 7F A3 EB 78 */ mr r3, r29 /* 80233714 00230674 38 80 00 06 */ li r4, 6 /* 80233718 00230678 4B F0 74 9D */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 8023371C 0023067C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233720 00230680 41 82 00 2C */ beq lbl_8023374C /* 80233724 00230684 7F C3 F3 78 */ mr r3, r30 /* 80233728 00230688 38 80 00 02 */ li r4, 2 /* 8023372C 0023068C 48 00 06 75 */ bl TestAvailableState__20CKnockBackControllerCFi /* 80233730 00230690 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233734 00230694 41 82 00 18 */ beq lbl_8023374C /* 80233738 00230698 80 1E 00 04 */ lwz r0, 4(r30) /* 8023373C 0023069C 2C 00 00 02 */ cmpwi r0, 2 /* 80233740 002306A0 41 80 00 0C */ blt lbl_8023374C /* 80233744 002306A4 3B E0 00 02 */ li r31, 2 /* 80233748 002306A8 48 00 00 D4 */ b lbl_8023381C lbl_8023374C: /* 8023374C 002306AC 7F A3 EB 78 */ mr r3, r29 /* 80233750 002306B0 38 80 00 17 */ li r4, 0x17 /* 80233754 002306B4 4B F0 74 61 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 80233758 002306B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023375C 002306BC 41 82 00 C0 */ beq lbl_8023381C /* 80233760 002306C0 7F C3 F3 78 */ mr r3, r30 /* 80233764 002306C4 38 80 00 01 */ li r4, 1 /* 80233768 002306C8 48 00 06 39 */ bl TestAvailableState__20CKnockBackControllerCFi /* 8023376C 002306CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233770 002306D0 41 82 00 AC */ beq lbl_8023381C /* 80233774 002306D4 80 1E 00 04 */ lwz r0, 4(r30) /* 80233778 002306D8 2C 00 00 01 */ cmpwi r0, 1 /* 8023377C 002306DC 41 80 00 A0 */ blt lbl_8023381C /* 80233780 002306E0 3B E0 00 01 */ li r31, 1 /* 80233784 002306E4 48 00 00 98 */ b lbl_8023381C lbl_80233788: /* 80233788 002306E8 7F A3 EB 78 */ mr r3, r29 /* 8023378C 002306EC 38 80 00 00 */ li r4, 0 /* 80233790 002306F0 4B F0 74 25 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 80233794 002306F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233798 002306F8 41 82 00 4C */ beq lbl_802337E4 /* 8023379C 002306FC 7F C3 F3 78 */ mr r3, r30 /* 802337A0 00230700 38 80 00 04 */ li r4, 4 /* 802337A4 00230704 48 00 05 FD */ bl TestAvailableState__20CKnockBackControllerCFi /* 802337A8 00230708 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802337AC 0023070C 41 82 00 38 */ beq lbl_802337E4 /* 802337B0 00230710 80 1E 00 04 */ lwz r0, 4(r30) /* 802337B4 00230714 2C 00 00 04 */ cmpwi r0, 4 /* 802337B8 00230718 40 80 00 24 */ bge lbl_802337DC /* 802337BC 0023071C 7F A3 EB 78 */ mr r3, r29 /* 802337C0 00230720 38 80 00 0E */ li r4, 0xe /* 802337C4 00230724 4B F0 73 F1 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 802337C8 00230728 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802337CC 0023072C 40 82 00 18 */ bne lbl_802337E4 /* 802337D0 00230730 80 1E 00 04 */ lwz r0, 4(r30) /* 802337D4 00230734 2C 00 00 03 */ cmpwi r0, 3 /* 802337D8 00230738 41 80 00 0C */ blt lbl_802337E4 lbl_802337DC: /* 802337DC 0023073C 3B E0 00 04 */ li r31, 4 /* 802337E0 00230740 48 00 00 3C */ b lbl_8023381C lbl_802337E4: /* 802337E4 00230744 7F A3 EB 78 */ mr r3, r29 /* 802337E8 00230748 38 80 00 0E */ li r4, 0xe /* 802337EC 0023074C 4B F0 73 C9 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState /* 802337F0 00230750 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802337F4 00230754 41 82 00 28 */ beq lbl_8023381C /* 802337F8 00230758 7F C3 F3 78 */ mr r3, r30 /* 802337FC 0023075C 38 80 00 03 */ li r4, 3 /* 80233800 00230760 48 00 05 A1 */ bl TestAvailableState__20CKnockBackControllerCFi /* 80233804 00230764 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233808 00230768 41 82 00 14 */ beq lbl_8023381C /* 8023380C 0023076C 80 1E 00 04 */ lwz r0, 4(r30) /* 80233810 00230770 2C 00 00 03 */ cmpwi r0, 3 /* 80233814 00230774 41 80 00 08 */ blt lbl_8023381C /* 80233818 00230778 3B E0 00 03 */ li r31, 3 lbl_8023381C: /* 8023381C 0023077C 2C 1F FF FF */ cmpwi r31, -1 /* 80233820 00230780 38 00 00 00 */ li r0, 0 /* 80233824 00230784 41 82 00 08 */ beq lbl_8023382C /* 80233828 00230788 7F E0 FB 78 */ mr r0, r31 lbl_8023382C: /* 8023382C 0023078C 90 1E 00 04 */ stw r0, 4(r30) /* 80233830 00230790 38 80 00 00 */ li r4, 0 /* 80233834 00230794 80 1E 00 08 */ lwz r0, 8(r30) /* 80233838 00230798 28 00 00 09 */ cmplwi r0, 9 /* 8023383C 0023079C 41 81 00 C0 */ bgt lbl_802338FC /* 80233840 002307A0 3C 60 80 3F */ lis r3, lbl_803E8150@ha /* 80233844 002307A4 54 00 10 3A */ slwi r0, r0, 2 /* 80233848 002307A8 38 63 81 50 */ addi r3, r3, lbl_803E8150@l /* 8023384C 002307AC 7C 03 00 2E */ lwzx r0, r3, r0 /* 80233850 002307B0 7C 09 03 A6 */ mtctr r0 /* 80233854 002307B4 4E 80 04 20 */ bctr /* 80233858 002307B8 88 1E 00 81 */ lbz r0, 0x81(r30) /* 8023385C 002307BC 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f /* 80233860 002307C0 7C 00 00 34 */ cntlzw r0, r0 /* 80233864 002307C4 54 00 D9 7E */ srwi r0, r0, 5 /* 80233868 002307C8 7C 04 03 78 */ mr r4, r0 /* 8023386C 002307CC 48 00 00 90 */ b lbl_802338FC /* 80233870 002307D0 88 1E 00 81 */ lbz r0, 0x81(r30) /* 80233874 002307D4 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f /* 80233878 002307D8 7C 00 00 34 */ cntlzw r0, r0 /* 8023387C 002307DC 54 00 D9 7E */ srwi r0, r0, 5 /* 80233880 002307E0 7C 04 03 78 */ mr r4, r0 /* 80233884 002307E4 48 00 00 78 */ b lbl_802338FC /* 80233888 002307E8 88 1E 00 81 */ lbz r0, 0x81(r30) /* 8023388C 002307EC 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f /* 80233890 002307F0 7C 00 00 34 */ cntlzw r0, r0 /* 80233894 002307F4 54 00 D9 7E */ srwi r0, r0, 5 /* 80233898 002307F8 7C 04 03 78 */ mr r4, r0 /* 8023389C 002307FC 48 00 00 60 */ b lbl_802338FC /* 802338A0 00230800 88 1E 00 81 */ lbz r0, 0x81(r30) /* 802338A4 00230804 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f /* 802338A8 00230808 7C 00 00 34 */ cntlzw r0, r0 /* 802338AC 0023080C 54 00 D9 7E */ srwi r0, r0, 5 /* 802338B0 00230810 7C 04 03 78 */ mr r4, r0 /* 802338B4 00230814 48 00 00 48 */ b lbl_802338FC /* 802338B8 00230818 88 1E 00 81 */ lbz r0, 0x81(r30) /* 802338BC 0023081C 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f /* 802338C0 00230820 7C 00 00 34 */ cntlzw r0, r0 /* 802338C4 00230824 54 00 D9 7E */ srwi r0, r0, 5 /* 802338C8 00230828 7C 04 03 78 */ mr r4, r0 /* 802338CC 0023082C 48 00 00 30 */ b lbl_802338FC /* 802338D0 00230830 88 1E 00 81 */ lbz r0, 0x81(r30) /* 802338D4 00230834 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f /* 802338D8 00230838 7C 00 00 34 */ cntlzw r0, r0 /* 802338DC 0023083C 54 00 D9 7E */ srwi r0, r0, 5 /* 802338E0 00230840 7C 04 03 78 */ mr r4, r0 /* 802338E4 00230844 48 00 00 18 */ b lbl_802338FC /* 802338E8 00230848 88 1E 00 81 */ lbz r0, 0x81(r30) /* 802338EC 0023084C 54 00 FF FE */ rlwinm r0, r0, 0x1f, 0x1f, 0x1f /* 802338F0 00230850 7C 00 00 34 */ cntlzw r0, r0 /* 802338F4 00230854 54 00 D9 7E */ srwi r0, r0, 5 /* 802338F8 00230858 7C 04 03 78 */ mr r4, r0 lbl_802338FC: /* 802338FC 0023085C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80233900 00230860 41 82 00 14 */ beq lbl_80233914 /* 80233904 00230864 38 00 00 00 */ li r0, 0 /* 80233908 00230868 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 8023390C 0023086C 90 1E 00 08 */ stw r0, 8(r30) /* 80233910 00230870 D0 1E 00 0C */ stfs f0, 0xc(r30) lbl_80233914: /* 80233914 00230874 80 01 00 24 */ lwz r0, 0x24(r1) /* 80233918 00230878 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023391C 0023087C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80233920 00230880 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80233924 00230884 7C 08 03 A6 */ mtlr r0 /* 80233928 00230888 38 21 00 20 */ addi r1, r1, 0x20 /* 8023392C 0023088C 4E 80 00 20 */ blr .global CalculateExtraHurlVelocity__20CKnockBackControllerFR13CStateManagerff CalculateExtraHurlVelocity__20CKnockBackControllerFR13CStateManagerff: /* 80233930 00230890 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80233934 00230894 7C 08 02 A6 */ mflr r0 /* 80233938 00230898 90 01 00 34 */ stw r0, 0x34(r1) /* 8023393C 0023089C DB E1 00 20 */ stfd f31, 0x20(r1) /* 80233940 002308A0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80233944 002308A4 DB C1 00 10 */ stfd f30, 0x10(r1) /* 80233948 002308A8 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 /* 8023394C 002308AC FF C0 08 90 */ fmr f30, f1 /* 80233950 002308B0 C0 22 B7 00 */ lfs f1, lbl_805AD420@sda21(r2) /* 80233954 002308B4 FF E0 10 90 */ fmr f31, f2 /* 80233958 002308B8 FC 1E F8 40 */ fcmpo cr0, f30, f31 /* 8023395C 002308BC 40 81 00 28 */ ble lbl_80233984 /* 80233960 002308C0 80 64 09 00 */ lwz r3, 0x900(r4) /* 80233964 002308C4 48 0D EB 79 */ bl Float__9CRandom16Fv /* 80233968 002308C8 C0 82 B7 14 */ lfs f4, lbl_805AD434@sda21(r2) /* 8023396C 002308CC EC 1E F8 28 */ fsubs f0, f30, f31 /* 80233970 002308D0 C0 62 B7 10 */ lfs f3, lbl_805AD430@sda21(r2) /* 80233974 002308D4 C0 42 B7 0C */ lfs f2, lbl_805AD42C@sda21(r2) /* 80233978 002308D8 EC 24 18 7C */ fnmsubs f1, f4, f1, f3 /* 8023397C 002308DC EC 22 00 72 */ fmuls f1, f2, f1 /* 80233980 002308E0 EC 21 00 32 */ fmuls f1, f1, f0 lbl_80233984: /* 80233984 002308E4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80233988 002308E8 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8023398C 002308EC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 /* 80233990 002308F0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80233994 002308F4 CB C1 00 10 */ lfd f30, 0x10(r1) /* 80233998 002308F8 7C 08 03 A6 */ mtlr r0 /* 8023399C 002308FC 38 21 00 30 */ addi r1, r1, 0x30 /* 802339A0 00230900 4E 80 00 20 */ blr .global GetKnockBackCharacterState__20CKnockBackControllerFR10CPatterned GetKnockBackCharacterState__20CKnockBackControllerFR10CPatterned: /* 802339A4 00230904 80 64 04 50 */ lwz r3, 0x450(r4) /* 802339A8 00230908 88 03 03 00 */ lbz r0, 0x300(r3) /* 802339AC 0023090C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 802339B0 00230910 41 82 00 1C */ beq lbl_802339CC /* 802339B4 00230914 88 04 04 00 */ lbz r0, 0x400(r4) /* 802339B8 00230918 38 60 00 03 */ li r3, 3 /* 802339BC 0023091C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802339C0 00230920 4D 82 00 20 */ beqlr /* 802339C4 00230924 38 60 00 02 */ li r3, 2 /* 802339C8 00230928 4E 80 00 20 */ blr lbl_802339CC: /* 802339CC 0023092C 88 04 04 00 */ lbz r0, 0x400(r4) /* 802339D0 00230930 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f /* 802339D4 00230934 7C 00 00 34 */ cntlzw r0, r0 /* 802339D8 00230938 54 03 D9 7E */ srwi r3, r0, 5 /* 802339DC 0023093C 4E 80 00 20 */ blr .global GetKnockBackWeaponType__20CKnockBackControllerFRC11CDamageInfo11EWeaponType14EKnockBackType GetKnockBackWeaponType__20CKnockBackControllerFRC11CDamageInfo11EWeaponType14EKnockBackType: /* 802339E0 00230940 88 84 00 04 */ lbz r4, 4(r4) /* 802339E4 00230944 38 60 FF FF */ li r3, -1 /* 802339E8 00230948 38 E0 00 00 */ li r7, 0 /* 802339EC 0023094C 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f /* 802339F0 00230950 41 82 00 0C */ beq lbl_802339FC /* 802339F4 00230954 38 E0 00 01 */ li r7, 1 /* 802339F8 00230958 48 00 00 10 */ b lbl_80233A08 lbl_802339FC: /* 802339FC 0023095C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f /* 80233A00 00230960 41 82 00 08 */ beq lbl_80233A08 /* 80233A04 00230964 38 E0 00 02 */ li r7, 2 lbl_80233A08: /* 80233A08 00230968 28 05 00 08 */ cmplwi r5, 8 /* 80233A0C 0023096C 4D 81 00 20 */ bgtlr /* 80233A10 00230970 3C 80 80 3F */ lis r4, lbl_803E8178@ha /* 80233A14 00230974 54 A0 10 3A */ slwi r0, r5, 2 /* 80233A18 00230978 38 84 81 78 */ addi r4, r4, lbl_803E8178@l /* 80233A1C 0023097C 7C 04 00 2E */ lwzx r0, r4, r0 /* 80233A20 00230980 7C 09 03 A6 */ mtctr r0 /* 80233A24 00230984 4E 80 04 20 */ bctr /* 80233A28 00230988 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 80233A2C 0023098C 7C E3 3B 78 */ mr r3, r7 /* 80233A30 00230990 4C 82 00 20 */ bnelr /* 80233A34 00230994 38 67 00 01 */ addi r3, r7, 1 /* 80233A38 00230998 4E 80 00 20 */ blr /* 80233A3C 0023099C 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 80233A40 002309A0 38 67 00 08 */ addi r3, r7, 8 /* 80233A44 002309A4 4C 82 00 20 */ bnelr /* 80233A48 002309A8 38 63 00 01 */ addi r3, r3, 1 /* 80233A4C 002309AC 4E 80 00 20 */ blr /* 80233A50 002309B0 38 67 00 04 */ addi r3, r7, 4 /* 80233A54 002309B4 4E 80 00 20 */ blr /* 80233A58 002309B8 38 67 00 0C */ addi r3, r7, 0xc /* 80233A5C 002309BC 4E 80 00 20 */ blr /* 80233A60 002309C0 38 60 00 10 */ li r3, 0x10 /* 80233A64 002309C4 4E 80 00 20 */ blr /* 80233A68 002309C8 38 60 00 11 */ li r3, 0x11 /* 80233A6C 002309CC 4E 80 00 20 */ blr /* 80233A70 002309D0 38 60 00 0F */ li r3, 0xf /* 80233A74 002309D4 4E 80 00 20 */ blr /* 80233A78 002309D8 38 60 00 12 */ li r3, 0x12 /* 80233A7C 002309DC 4E 80 00 20 */ blr .global SelectDamageState__20CKnockBackControllerFR10CPatternedRC11CDamageInfo11EWeaponType14EKnockBackType SelectDamageState__20CKnockBackControllerFR10CPatternedRC11CDamageInfo11EWeaponType14EKnockBackType: /* 80233A80 002309E0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80233A84 002309E4 7C 08 02 A6 */ mflr r0 /* 80233A88 002309E8 3D 00 80 3D */ lis r8, lbl_803D0008@ha /* 80233A8C 002309EC 90 01 00 24 */ stw r0, 0x24(r1) /* 80233A90 002309F0 84 08 34 90 */ lwzu r0, 0x3490(r8) /* 80233A94 002309F4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80233A98 002309F8 7C 7F 1B 78 */ mr r31, r3 /* 80233A9C 002309FC C0 28 00 08 */ lfs f1, lbl_803D0008@l(r8) /* 80233AA0 00230A00 93 C1 00 18 */ stw r30, 0x18(r1) /* 80233AA4 00230A04 C0 08 00 0C */ lfs f0, 0xc(r8) /* 80233AA8 00230A08 93 A1 00 14 */ stw r29, 0x14(r1) /* 80233AAC 00230A0C 7C 9D 23 78 */ mr r29, r4 /* 80233AB0 00230A10 7C A4 2B 78 */ mr r4, r5 /* 80233AB4 00230A14 7C C5 33 78 */ mr r5, r6 /* 80233AB8 00230A18 90 03 00 04 */ stw r0, 4(r3) /* 80233ABC 00230A1C 7C E6 3B 78 */ mr r6, r7 /* 80233AC0 00230A20 80 08 00 04 */ lwz r0, 4(r8) /* 80233AC4 00230A24 90 03 00 08 */ stw r0, 8(r3) /* 80233AC8 00230A28 D0 23 00 0C */ stfs f1, 0xc(r3) /* 80233ACC 00230A2C D0 03 00 10 */ stfs f0, 0x10(r3) /* 80233AD0 00230A30 4B FF FF 11 */ bl GetKnockBackWeaponType__20CKnockBackControllerFRC11CDamageInfo11EWeaponType14EKnockBackType /* 80233AD4 00230A34 7C 7E 1B 78 */ mr r30, r3 /* 80233AD8 00230A38 2C 1E FF FF */ cmpwi r30, -1 /* 80233ADC 00230A3C 41 82 00 60 */ beq lbl_80233B3C /* 80233AE0 00230A40 7F E3 FB 78 */ mr r3, r31 /* 80233AE4 00230A44 7F A4 EB 78 */ mr r4, r29 /* 80233AE8 00230A48 4B FF FE BD */ bl GetKnockBackCharacterState__20CKnockBackControllerFR10CPatterned /* 80233AEC 00230A4C 80 DF 00 00 */ lwz r6, 0(r31) /* 80233AF0 00230A50 3C 80 80 3D */ lis r4, lbl_803D34A0@ha /* 80233AF4 00230A54 54 60 20 36 */ slwi r0, r3, 4 /* 80233AF8 00230A58 57 C5 30 32 */ slwi r5, r30, 6 /* 80233AFC 00230A5C 1C E6 04 C0 */ mulli r7, r6, 0x4c0 /* 80233B00 00230A60 38 C4 34 A0 */ addi r6, r4, lbl_803D34A0@l /* 80233B04 00230A64 7F E3 FB 78 */ mr r3, r31 /* 80233B08 00230A68 7F A4 EB 78 */ mr r4, r29 /* 80233B0C 00230A6C 7C C6 3A 14 */ add r6, r6, r7 /* 80233B10 00230A70 7C A6 2A 14 */ add r5, r6, r5 /* 80233B14 00230A74 7C C5 02 14 */ add r6, r5, r0 /* 80233B18 00230A78 80 A6 00 00 */ lwz r5, 0(r6) /* 80233B1C 00230A7C 80 06 00 04 */ lwz r0, 4(r6) /* 80233B20 00230A80 90 BF 00 04 */ stw r5, 4(r31) /* 80233B24 00230A84 C0 26 00 08 */ lfs f1, 8(r6) /* 80233B28 00230A88 90 1F 00 08 */ stw r0, 8(r31) /* 80233B2C 00230A8C C0 06 00 0C */ lfs f0, 0xc(r6) /* 80233B30 00230A90 D0 3F 00 0C */ stfs f1, 0xc(r31) /* 80233B34 00230A94 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 80233B38 00230A98 4B FF FB 45 */ bl ValidateState__20CKnockBackControllerFR10CPatterned lbl_80233B3C: /* 80233B3C 00230A9C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80233B40 00230AA0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80233B44 00230AA4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80233B48 00230AA8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80233B4C 00230AAC 7C 08 03 A6 */ mtlr r0 /* 80233B50 00230AB0 38 21 00 20 */ addi r1, r1, 0x20 /* 80233B54 00230AB4 4E 80 00 20 */ blr .global Update__20CKnockBackControllerFfR13CStateManagerR10CPatterned Update__20CKnockBackControllerFfR13CStateManagerR10CPatterned: /* 80233B58 00230AB8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80233B5C 00230ABC 7C 08 02 A6 */ mflr r0 /* 80233B60 00230AC0 90 01 00 34 */ stw r0, 0x34(r1) /* 80233B64 00230AC4 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80233B68 00230AC8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80233B6C 00230ACC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80233B70 00230AD0 93 C1 00 18 */ stw r30, 0x18(r1) /* 80233B74 00230AD4 93 A1 00 14 */ stw r29, 0x14(r1) /* 80233B78 00230AD8 FF E0 08 90 */ fmr f31, f1 /* 80233B7C 00230ADC 7C BF 2B 78 */ mr r31, r5 /* 80233B80 00230AE0 7C 9E 23 78 */ mr r30, r4 /* 80233B84 00230AE4 7C 7D 1B 78 */ mr r29, r3 /* 80233B88 00230AE8 7F E4 FB 78 */ mr r4, r31 /* 80233B8C 00230AEC 4B FF F8 09 */ bl ApplyImpulse__20CKnockBackControllerFfR10CPatterned /* 80233B90 00230AF0 C0 1D 00 64 */ lfs f0, 0x64(r29) /* 80233B94 00230AF4 FC 20 F8 90 */ fmr f1, f31 /* 80233B98 00230AF8 7F A3 EB 78 */ mr r3, r29 /* 80233B9C 00230AFC EC 00 F8 28 */ fsubs f0, f0, f31 /* 80233BA0 00230B00 D0 1D 00 64 */ stfs f0, 0x64(r29) /* 80233BA4 00230B04 4B FF FA 9D */ bl TickDeferredTimer__20CKnockBackControllerFf /* 80233BA8 00230B08 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233BAC 00230B0C 41 82 00 14 */ beq lbl_80233BC0 /* 80233BB0 00230B10 7F A3 EB 78 */ mr r3, r29 /* 80233BB4 00230B14 7F C4 F3 78 */ mr r4, r30 /* 80233BB8 00230B18 7F E5 FB 78 */ mr r5, r31 /* 80233BBC 00230B1C 4B FF F5 E9 */ bl DoDeferredKnockBack__20CKnockBackControllerFR13CStateManagerR10CPatterned lbl_80233BC0: /* 80233BC0 00230B20 88 1D 00 82 */ lbz r0, 0x82(r29) /* 80233BC4 00230B24 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80233BC8 00230B28 41 82 00 44 */ beq lbl_80233C0C /* 80233BCC 00230B2C 80 9F 04 50 */ lwz r4, 0x450(r31) /* 80233BD0 00230B30 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80233BD4 00230B34 C0 24 03 24 */ lfs f1, 0x324(r4) /* 80233BD8 00230B38 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80233BDC 00230B3C 40 81 00 30 */ ble lbl_80233C0C /* 80233BE0 00230B40 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80233BE4 00230B44 38 00 00 16 */ li r0, 0x16 /* 80233BE8 00230B48 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l /* 80233BEC 00230B4C 90 01 00 0C */ stw r0, 0xc(r1) /* 80233BF0 00230B50 38 64 00 04 */ addi r3, r4, 4 /* 80233BF4 00230B54 38 81 00 08 */ addi r4, r1, 8 /* 80233BF8 00230B58 90 A1 00 08 */ stw r5, 8(r1) /* 80233BFC 00230B5C 4B EF DB BD */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 80233C00 00230B60 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80233C04 00230B64 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 80233C08 00230B68 90 01 00 08 */ stw r0, 8(r1) lbl_80233C0C: /* 80233C0C 00230B6C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80233C10 00230B70 80 01 00 34 */ lwz r0, 0x34(r1) /* 80233C14 00230B74 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80233C18 00230B78 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80233C1C 00230B7C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80233C20 00230B80 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80233C24 00230B84 7C 08 03 A6 */ mtlr r0 /* 80233C28 00230B88 38 21 00 30 */ addi r1, r1, 0x30 /* 80233C2C 00230B8C 4E 80 00 20 */ blr .global KnockBack__C20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedRC11CDamageInfo14EKnockBackTypef KnockBack__C20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedRC11CDamageInfo14EKnockBackTypef: /* 80233C30 00230B90 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80233C34 00230B94 7C 08 02 A6 */ mflr r0 /* 80233C38 00230B98 90 01 00 54 */ stw r0, 0x54(r1) /* 80233C3C 00230B9C DB E1 00 40 */ stfd f31, 0x40(r1) /* 80233C40 00230BA0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80233C44 00230BA4 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 80233C48 00230BA8 88 03 00 82 */ lbz r0, 0x82(r3) /* 80233C4C 00230BAC FF E0 08 90 */ fmr f31, f1 /* 80233C50 00230BB0 7C 7B 1B 78 */ mr r27, r3 /* 80233C54 00230BB4 7C BC 2B 78 */ mr r28, r5 /* 80233C58 00230BB8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80233C5C 00230BBC 7C DD 33 78 */ mr r29, r6 /* 80233C60 00230BC0 7C FE 3B 78 */ mr r30, r7 /* 80233C64 00230BC4 7D 1F 43 78 */ mr r31, r8 /* 80233C68 00230BC8 40 82 00 A4 */ bne lbl_80233D0C /* 80233C6C 00230BCC C0 24 00 00 */ lfs f1, 0(r4) /* 80233C70 00230BD0 38 61 00 08 */ addi r3, r1, 8 /* 80233C74 00230BD4 C0 44 00 04 */ lfs f2, 4(r4) /* 80233C78 00230BD8 48 0E 05 89 */ bl __ct__9CVector2fFff /* 80233C7C 00230BDC C0 41 00 08 */ lfs f2, 8(r1) /* 80233C80 00230BE0 38 61 00 10 */ addi r3, r1, 0x10 /* 80233C84 00230BE4 C0 21 00 0C */ lfs f1, 0xc(r1) /* 80233C88 00230BE8 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80233C8C 00230BEC D0 41 00 10 */ stfs f2, 0x10(r1) /* 80233C90 00230BF0 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80233C94 00230BF4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80233C98 00230BF8 48 0E 0A F5 */ bl IsMagnitudeSafe__9CVector3fCFv /* 80233C9C 00230BFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80233CA0 00230C00 40 82 00 28 */ bne lbl_80233CC8 /* 80233CA4 00230C04 C0 5D 00 58 */ lfs f2, 0x58(r29) /* 80233CA8 00230C08 C0 3D 00 48 */ lfs f1, 0x48(r29) /* 80233CAC 00230C0C C0 1D 00 38 */ lfs f0, 0x38(r29) /* 80233CB0 00230C10 FC 40 10 50 */ fneg f2, f2 /* 80233CB4 00230C14 FC 20 08 50 */ fneg f1, f1 /* 80233CB8 00230C18 FC 00 00 50 */ fneg f0, f0 /* 80233CBC 00230C1C D0 41 00 18 */ stfs f2, 0x18(r1) /* 80233CC0 00230C20 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80233CC4 00230C24 D0 21 00 14 */ stfs f1, 0x14(r1) lbl_80233CC8: /* 80233CC8 00230C28 80 DE 00 00 */ lwz r6, 0(r30) /* 80233CCC 00230C2C 7F 63 DB 78 */ mr r3, r27 /* 80233CD0 00230C30 7F A4 EB 78 */ mr r4, r29 /* 80233CD4 00230C34 7F C5 F3 78 */ mr r5, r30 /* 80233CD8 00230C38 7F E7 FB 78 */ mr r7, r31 /* 80233CDC 00230C3C 4B FF FD A5 */ bl SelectDamageState__20CKnockBackControllerFR10CPatternedRC11CDamageInfo11EWeaponType14EKnockBackType /* 80233CE0 00230C40 FC 20 F8 90 */ fmr f1, f31 /* 80233CE4 00230C44 7F 63 DB 78 */ mr r3, r27 /* 80233CE8 00230C48 7F 85 E3 78 */ mr r5, r28 /* 80233CEC 00230C4C 7F A6 EB 78 */ mr r6, r29 /* 80233CF0 00230C50 38 81 00 10 */ addi r4, r1, 0x10 /* 80233CF4 00230C54 4B FF EF B1 */ bl DoKnockBackAnimation__20CKnockBackControllerFRC9CVector3fR13CStateManagerR10CPatternedf /* 80233CF8 00230C58 C0 22 B7 0C */ lfs f1, lbl_805AD42C@sda21(r2) /* 80233CFC 00230C5C 7F 63 DB 78 */ mr r3, r27 /* 80233D00 00230C60 7F A4 EB 78 */ mr r4, r29 /* 80233D04 00230C64 38 A1 00 10 */ addi r5, r1, 0x10 /* 80233D08 00230C68 4B FF F7 F9 */ bl ResetKnockBackImpulse__20CKnockBackControllerFR10CPatternedRC9CVector3ff lbl_80233D0C: /* 80233D0C 00230C6C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80233D10 00230C70 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80233D14 00230C74 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 80233D18 00230C78 80 01 00 54 */ lwz r0, 0x54(r1) /* 80233D1C 00230C7C 7C 08 03 A6 */ mtlr r0 /* 80233D20 00230C80 38 21 00 50 */ addi r1, r1, 0x50 /* 80233D24 00230C84 4E 80 00 20 */ blr .global SetKnockBackVariant__20CKnockBackControllerF17EKnockBackVariant SetKnockBackVariant__20CKnockBackControllerF17EKnockBackVariant: /* 80233D28 00230C88 90 83 00 00 */ stw r4, 0(r3) /* 80233D2C 00230C8C 4E 80 00 20 */ blr .global DeferKnockBack__20CKnockBackControllerF11EWeaponType DeferKnockBack__20CKnockBackControllerF11EWeaponType: /* 80233D30 00230C90 90 83 00 14 */ stw r4, 0x14(r3) /* 80233D34 00230C94 C0 02 B7 18 */ lfs f0, lbl_805AD438@sda21(r2) /* 80233D38 00230C98 D0 03 00 68 */ stfs f0, 0x68(r3) /* 80233D3C 00230C9C 4E 80 00 20 */ blr .global sub_80233d40 sub_80233d40: /* 80233D40 00230CA0 2C 04 00 00 */ cmpwi r4, 0 /* 80233D44 00230CA4 4D 80 00 20 */ bltlr /* 80233D48 00230CA8 2C 04 00 04 */ cmpwi r4, 4 /* 80233D4C 00230CAC 4D 81 00 20 */ bgtlr /* 80233D50 00230CB0 54 80 18 38 */ slwi r0, r4, 3 /* 80233D54 00230CB4 7C 63 02 14 */ add r3, r3, r0 /* 80233D58 00230CB8 D0 23 00 28 */ stfs f1, 0x28(r3) /* 80233D5C 00230CBC D0 43 00 2C */ stfs f2, 0x2c(r3) /* 80233D60 00230CC0 4E 80 00 20 */ blr .global SetAutoResetImpulse__20CKnockBackControllerFb SetAutoResetImpulse__20CKnockBackControllerFb: /* 80233D64 00230CC4 88 03 00 81 */ lbz r0, 0x81(r3) /* 80233D68 00230CC8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80233D6C 00230CCC 98 03 00 81 */ stb r0, 0x81(r3) /* 80233D70 00230CD0 88 03 00 81 */ lbz r0, 0x81(r3) /* 80233D74 00230CD4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80233D78 00230CD8 4C 82 00 20 */ bnelr /* 80233D7C 00230CDC C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80233D80 00230CE0 D0 03 00 5C */ stfs f0, 0x5c(r3) /* 80233D84 00230CE4 D0 03 00 60 */ stfs f0, 0x60(r3) /* 80233D88 00230CE8 4E 80 00 20 */ blr .global SetImpulseDurationIdx__20CKnockBackControllerFi SetImpulseDurationIdx__20CKnockBackControllerFi: /* 80233D8C 00230CEC 90 83 00 20 */ stw r4, 0x20(r3) /* 80233D90 00230CF0 4E 80 00 20 */ blr .global SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState: /* 80233D94 00230CF4 90 83 00 18 */ stw r4, 0x18(r3) /* 80233D98 00230CF8 90 A3 00 1C */ stw r5, 0x1c(r3) /* 80233D9C 00230CFC 4E 80 00 20 */ blr .global TestAvailableState__20CKnockBackControllerCFi TestAvailableState__20CKnockBackControllerCFi: /* 80233DA0 00230D00 38 00 00 01 */ li r0, 1 /* 80233DA4 00230D04 88 63 00 80 */ lbz r3, 0x80(r3) /* 80233DA8 00230D08 7C 00 20 30 */ slw r0, r0, r4 /* 80233DAC 00230D0C 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 80233DB0 00230D10 7C 63 00 38 */ and r3, r3, r0 /* 80233DB4 00230D14 7C 03 00 D0 */ neg r0, r3 /* 80233DB8 00230D18 7C 00 1B 78 */ or r0, r0, r3 /* 80233DBC 00230D1C 54 03 0F FE */ srwi r3, r0, 0x1f /* 80233DC0 00230D20 4E 80 00 20 */ blr .global SetAvailableState__20CKnockBackControllerFib SetAvailableState__20CKnockBackControllerFib: /* 80233DC4 00230D24 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 80233DC8 00230D28 38 A0 00 01 */ li r5, 1 /* 80233DCC 00230D2C 7C A0 20 30 */ slw r0, r5, r4 /* 80233DD0 00230D30 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 80233DD4 00230D34 41 82 00 14 */ beq lbl_80233DE8 /* 80233DD8 00230D38 88 03 00 80 */ lbz r0, 0x80(r3) /* 80233DDC 00230D3C 7C 00 23 78 */ or r0, r0, r4 /* 80233DE0 00230D40 98 03 00 80 */ stb r0, 0x80(r3) /* 80233DE4 00230D44 4E 80 00 20 */ blr lbl_80233DE8: /* 80233DE8 00230D48 88 03 00 80 */ lbz r0, 0x80(r3) /* 80233DEC 00230D4C 7C 00 20 78 */ andc r0, r0, r4 /* 80233DF0 00230D50 98 03 00 80 */ stb r0, 0x80(r3) /* 80233DF4 00230D54 4E 80 00 20 */ blr .global __ct__20CKnockBackController2F17EKnockBackVariant __ct__20CKnockBackController2F17EKnockBackVariant: /* 80233DF8 00230D58 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80233DFC 00230D5C 7C 08 02 A6 */ mflr r0 /* 80233E00 00230D60 90 01 00 34 */ stw r0, 0x34(r1) /* 80233E04 00230D64 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80233E08 00230D68 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80233E0C 00230D6C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80233E10 00230D70 93 C1 00 18 */ stw r30, 0x18(r1) /* 80233E14 00230D74 93 A1 00 14 */ stw r29, 0x14(r1) /* 80233E18 00230D78 3C A0 80 3D */ lis r5, lbl_803D3490@ha /* 80233E1C 00230D7C 7C 7D 1B 78 */ mr r29, r3 /* 80233E20 00230D80 39 25 34 90 */ addi r9, r5, lbl_803D3490@l /* 80233E24 00230D84 3C 60 80 5A */ lis r3, skZero3f@ha /* 80233E28 00230D88 90 9D 00 00 */ stw r4, 0(r29) /* 80233E2C 00230D8C 38 C0 FF FF */ li r6, -1 /* 80233E30 00230D90 80 89 00 00 */ lwz r4, 0(r9) /* 80233E34 00230D94 38 A0 00 00 */ li r5, 0 /* 80233E38 00230D98 80 E9 00 04 */ lwz r7, 4(r9) /* 80233E3C 00230D9C 38 00 00 04 */ li r0, 4 /* 80233E40 00230DA0 90 9D 00 04 */ stw r4, 4(r29) /* 80233E44 00230DA4 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 80233E48 00230DA8 81 09 00 08 */ lwz r8, 8(r9) /* 80233E4C 00230DAC 38 60 00 01 */ li r3, 1 /* 80233E50 00230DB0 90 FD 00 08 */ stw r7, 8(r29) /* 80233E54 00230DB4 3B FD 00 28 */ addi r31, r29, 0x28 /* 80233E58 00230DB8 80 E9 00 0C */ lwz r7, 0xc(r9) /* 80233E5C 00230DBC 3B C0 00 00 */ li r30, 0 /* 80233E60 00230DC0 91 1D 00 0C */ stw r8, 0xc(r29) /* 80233E64 00230DC4 C0 02 B7 00 */ lfs f0, lbl_805AD420@sda21(r2) /* 80233E68 00230DC8 90 FD 00 10 */ stw r7, 0x10(r29) /* 80233E6C 00230DCC C3 E2 B7 1C */ lfs f31, lbl_805AD43C@sda21(r2) /* 80233E70 00230DD0 90 DD 00 14 */ stw r6, 0x14(r29) /* 80233E74 00230DD4 90 BD 00 18 */ stw r5, 0x18(r29) /* 80233E78 00230DD8 90 1D 00 1C */ stw r0, 0x1c(r29) /* 80233E7C 00230DDC 90 BD 00 20 */ stw r5, 0x20(r29) /* 80233E80 00230DE0 90 BD 00 24 */ stw r5, 0x24(r29) /* 80233E84 00230DE4 C0 24 00 00 */ lfs f1, 0(r4) /* 80233E88 00230DE8 D0 3D 00 50 */ stfs f1, 0x50(r29) /* 80233E8C 00230DEC C0 24 00 04 */ lfs f1, 4(r4) /* 80233E90 00230DF0 D0 3D 00 54 */ stfs f1, 0x54(r29) /* 80233E94 00230DF4 C0 24 00 08 */ lfs f1, 8(r4) /* 80233E98 00230DF8 D0 3D 00 58 */ stfs f1, 0x58(r29) /* 80233E9C 00230DFC D0 1D 00 5C */ stfs f0, 0x5c(r29) /* 80233EA0 00230E00 D0 1D 00 60 */ stfs f0, 0x60(r29) /* 80233EA4 00230E04 D0 1D 00 64 */ stfs f0, 0x64(r29) /* 80233EA8 00230E08 D0 1D 00 68 */ stfs f0, 0x68(r29) /* 80233EAC 00230E0C 90 BD 00 6C */ stw r5, 0x6c(r29) /* 80233EB0 00230E10 90 BD 00 70 */ stw r5, 0x70(r29) /* 80233EB4 00230E14 90 BD 00 74 */ stw r5, 0x74(r29) /* 80233EB8 00230E18 90 7D 00 7C */ stw r3, 0x7c(r29) /* 80233EBC 00230E1C 98 BD 00 80 */ stb r5, 0x80(r29) /* 80233EC0 00230E20 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233EC4 00230E24 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80233EC8 00230E28 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233ECC 00230E2C 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233ED0 00230E30 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80233ED4 00230E34 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233ED8 00230E38 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233EDC 00230E3C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80233EE0 00230E40 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233EE4 00230E44 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233EE8 00230E48 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80233EEC 00230E4C 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233EF0 00230E50 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233EF4 00230E54 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80233EF8 00230E58 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233EFC 00230E5C 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233F00 00230E60 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80233F04 00230E64 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233F08 00230E68 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233F0C 00230E6C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80233F10 00230E70 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233F14 00230E74 88 1D 00 81 */ lbz r0, 0x81(r29) /* 80233F18 00230E78 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f /* 80233F1C 00230E7C 98 1D 00 81 */ stb r0, 0x81(r29) /* 80233F20 00230E80 88 1D 00 82 */ lbz r0, 0x82(r29) /* 80233F24 00230E84 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80233F28 00230E88 98 1D 00 82 */ stb r0, 0x82(r29) /* 80233F2C 00230E8C 88 1D 00 82 */ lbz r0, 0x82(r29) /* 80233F30 00230E90 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 80233F34 00230E94 98 1D 00 82 */ stb r0, 0x82(r29) /* 80233F38 00230E98 88 1D 00 82 */ lbz r0, 0x82(r29) /* 80233F3C 00230E9C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a /* 80233F40 00230EA0 98 1D 00 82 */ stb r0, 0x82(r29) lbl_80233F44: /* 80233F44 00230EA4 80 1D 00 24 */ lwz r0, 0x24(r29) /* 80233F48 00230EA8 C0 0D 96 38 */ lfs f0, lbl_805A81F8@sda21(r13) /* 80233F4C 00230EAC 54 00 18 38 */ slwi r0, r0, 3 /* 80233F50 00230EB0 7C 7F 02 15 */ add. r3, r31, r0 /* 80233F54 00230EB4 41 82 00 0C */ beq lbl_80233F60 /* 80233F58 00230EB8 D0 03 00 00 */ stfs f0, 0(r3) /* 80233F5C 00230EBC D3 E3 00 04 */ stfs f31, 4(r3) lbl_80233F60: /* 80233F60 00230EC0 80 DD 00 24 */ lwz r6, 0x24(r29) /* 80233F64 00230EC4 7F A3 EB 78 */ mr r3, r29 /* 80233F68 00230EC8 7F C4 F3 78 */ mr r4, r30 /* 80233F6C 00230ECC 38 A0 00 01 */ li r5, 1 /* 80233F70 00230ED0 38 06 00 01 */ addi r0, r6, 1 /* 80233F74 00230ED4 90 1D 00 24 */ stw r0, 0x24(r29) /* 80233F78 00230ED8 4B FF FE 4D */ bl SetAvailableState__20CKnockBackControllerFib /* 80233F7C 00230EDC 3B DE 00 01 */ addi r30, r30, 1 /* 80233F80 00230EE0 2C 1E 00 04 */ cmpwi r30, 4 /* 80233F84 00230EE4 40 81 FF C0 */ ble lbl_80233F44 /* 80233F88 00230EE8 7F A3 EB 78 */ mr r3, r29 /* 80233F8C 00230EEC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80233F90 00230EF0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80233F94 00230EF4 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80233F98 00230EF8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80233F9C 00230EFC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80233FA0 00230F00 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80233FA4 00230F04 7C 08 03 A6 */ mtlr r0 /* 80233FA8 00230F08 38 21 00 30 */ addi r1, r1, 0x30 /* 80233FAC 00230F0C 4E 80 00 20 */ blr .global nullsub_5 nullsub_5: /* 80233FB0 00230F10 4E 80 00 20 */ blr .global GetAreaLayerCount__16CWorldLayerStateFi GetAreaLayerCount__16CWorldLayerStateFi: /* 80233FB4 00230F14 80 04 00 00 */ lwz r0, 0(r4) /* 80233FB8 00230F18 80 63 00 0C */ lwz r3, 0xc(r3) /* 80233FBC 00230F1C 54 00 20 36 */ slwi r0, r0, 4 /* 80233FC0 00230F20 7C 63 00 2E */ lwzx r3, r3, r0 /* 80233FC4 00230F24 4E 80 00 20 */ blr .global "InitializeWorldLayers__16CWorldLayerStateFQ24rstl6vector" "InitializeWorldLayers__16CWorldLayerStateFQ24rstl6vector": /* 80233FC8 00230F28 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80233FCC 00230F2C 7C 08 02 A6 */ mflr r0 /* 80233FD0 00230F30 90 01 00 74 */ stw r0, 0x74(r1) /* 80233FD4 00230F34 BF 41 00 58 */ stmw r26, 0x58(r1) /* 80233FD8 00230F38 7C 7A 1B 78 */ mr r26, r3 /* 80233FDC 00230F3C 80 03 00 04 */ lwz r0, 4(r3) /* 80233FE0 00230F40 2C 00 00 00 */ cmpwi r0, 0 /* 80233FE4 00230F44 40 82 01 34 */ bne lbl_80234118 /* 80233FE8 00230F48 48 00 01 85 */ bl sub_8023416c /* 80233FEC 00230F4C 80 1A 00 10 */ lwz r0, 0x10(r26) /* 80233FF0 00230F50 2C 00 00 00 */ cmpwi r0, 0 /* 80233FF4 00230F54 41 82 01 24 */ beq lbl_80234118 /* 80233FF8 00230F58 83 DA 00 04 */ lwz r30, 4(r26) /* 80233FFC 00230F5C 3B A0 00 00 */ li r29, 0 /* 80234000 00230F60 3B 80 00 00 */ li r28, 0 /* 80234004 00230F64 48 00 00 AC */ b lbl_802340B0 lbl_80234008: /* 80234008 00230F68 93 81 00 30 */ stw r28, 0x30(r1) /* 8023400C 00230F6C 7F 43 D3 78 */ mr r3, r26 /* 80234010 00230F70 38 81 00 34 */ addi r4, r1, 0x34 /* 80234014 00230F74 93 81 00 34 */ stw r28, 0x34(r1) /* 80234018 00230F78 4B FF FF 9D */ bl GetAreaLayerCount__16CWorldLayerStateFi /* 8023401C 00230F7C 93 81 00 28 */ stw r28, 0x28(r1) /* 80234020 00230F80 7C 7F 1B 78 */ mr r31, r3 /* 80234024 00230F84 3B 60 00 01 */ li r27, 1 /* 80234028 00230F88 48 00 00 7C */ b lbl_802340A4 lbl_8023402C: /* 8023402C 00230F8C 7F A3 2E 70 */ srawi r3, r29, 5 /* 80234030 00230F90 57 A0 D8 08 */ slwi r0, r29, 0x1b /* 80234034 00230F94 57 A4 0F FE */ srwi r4, r29, 0x1f /* 80234038 00230F98 81 1A 00 20 */ lwz r8, 0x20(r26) /* 8023403C 00230F9C 7C 63 01 94 */ addze r3, r3 /* 80234040 00230FA0 38 A0 00 01 */ li r5, 1 /* 80234044 00230FA4 54 66 10 3A */ slwi r6, r3, 2 /* 80234048 00230FA8 93 61 00 20 */ stw r27, 0x20(r1) /* 8023404C 00230FAC 7D 08 32 14 */ add r8, r8, r6 /* 80234050 00230FB0 7C 64 00 50 */ subf r3, r4, r0 /* 80234054 00230FB4 80 08 00 00 */ lwz r0, 0(r8) /* 80234058 00230FB8 54 63 28 3E */ rotlwi r3, r3, 5 /* 8023405C 00230FBC 7C 63 22 14 */ add r3, r3, r4 /* 80234060 00230FC0 91 01 00 1C */ stw r8, 0x1c(r1) /* 80234064 00230FC4 7C A7 18 30 */ slw r7, r5, r3 /* 80234068 00230FC8 38 81 00 2C */ addi r4, r1, 0x2c /* 8023406C 00230FCC 7C E5 00 38 */ and r5, r7, r0 /* 80234070 00230FD0 91 01 00 18 */ stw r8, 0x18(r1) /* 80234074 00230FD4 7C 05 00 D0 */ neg r0, r5 /* 80234078 00230FD8 7F 43 D3 78 */ mr r3, r26 /* 8023407C 00230FDC 7C 00 2B 78 */ or r0, r0, r5 /* 80234080 00230FE0 91 01 00 38 */ stw r8, 0x38(r1) /* 80234084 00230FE4 54 06 0F FE */ srwi r6, r0, 0x1f /* 80234088 00230FE8 38 A1 00 24 */ addi r5, r1, 0x24 /* 8023408C 00230FEC 90 E1 00 3C */ stw r7, 0x3c(r1) /* 80234090 00230FF0 3B BD 00 01 */ addi r29, r29, 1 /* 80234094 00230FF4 93 61 00 24 */ stw r27, 0x24(r1) /* 80234098 00230FF8 93 81 00 2C */ stw r28, 0x2c(r1) /* 8023409C 00230FFC 48 00 02 25 */ bl SetLayerActive__16CWorldLayerStateFiib /* 802340A0 00231000 3B 7B 00 01 */ addi r27, r27, 1 lbl_802340A4: /* 802340A4 00231004 7C 1B F8 00 */ cmpw r27, r31 /* 802340A8 00231008 41 80 FF 84 */ blt lbl_8023402C /* 802340AC 0023100C 3B 9C 00 01 */ addi r28, r28, 1 lbl_802340B0: /* 802340B0 00231010 7C 1C F0 00 */ cmpw r28, r30 /* 802340B4 00231014 41 80 FF 54 */ blt lbl_80234008 /* 802340B8 00231018 38 00 00 00 */ li r0, 0 /* 802340BC 0023101C 38 7A 00 10 */ addi r3, r26, 0x10 /* 802340C0 00231020 90 01 00 40 */ stw r0, 0x40(r1) /* 802340C4 00231024 38 81 00 40 */ addi r4, r1, 0x40 /* 802340C8 00231028 90 01 00 48 */ stw r0, 0x48(r1) /* 802340CC 0023102C 90 01 00 4C */ stw r0, 0x4c(r1) /* 802340D0 00231030 90 01 00 50 */ stw r0, 0x50(r1) /* 802340D4 00231034 48 00 00 59 */ bl sub_8023412c /* 802340D8 00231038 80 01 00 48 */ lwz r0, 0x48(r1) /* 802340DC 0023103C 80 61 00 50 */ lwz r3, 0x50(r1) /* 802340E0 00231040 54 00 10 3A */ slwi r0, r0, 2 /* 802340E4 00231044 7C 03 02 14 */ add r0, r3, r0 /* 802340E8 00231048 90 61 00 0C */ stw r3, 0xc(r1) /* 802340EC 0023104C 7C 64 1B 78 */ mr r4, r3 /* 802340F0 00231050 90 01 00 14 */ stw r0, 0x14(r1) /* 802340F4 00231054 90 01 00 10 */ stw r0, 0x10(r1) /* 802340F8 00231058 90 61 00 08 */ stw r3, 8(r1) /* 802340FC 0023105C 48 00 00 08 */ b lbl_80234104 lbl_80234100: /* 80234100 00231060 38 84 00 04 */ addi r4, r4, 4 lbl_80234104: /* 80234104 00231064 7C 04 00 40 */ cmplw r4, r0 /* 80234108 00231068 40 82 FF F8 */ bne lbl_80234100 /* 8023410C 0023106C 28 03 00 00 */ cmplwi r3, 0 /* 80234110 00231070 41 82 00 08 */ beq lbl_80234118 /* 80234114 00231074 48 0E 18 1D */ bl Free__7CMemoryFPCv lbl_80234118: /* 80234118 00231078 BB 41 00 58 */ lmw r26, 0x58(r1) /* 8023411C 0023107C 80 01 00 74 */ lwz r0, 0x74(r1) /* 80234120 00231080 7C 08 03 A6 */ mtlr r0 /* 80234124 00231084 38 21 00 70 */ addi r1, r1, 0x70 /* 80234128 00231088 4E 80 00 20 */ blr .global sub_8023412c sub_8023412c: /* 8023412C 0023108C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80234130 00231090 7C 08 02 A6 */ mflr r0 /* 80234134 00231094 90 01 00 14 */ stw r0, 0x14(r1) /* 80234138 00231098 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023413C 0023109C 7C 7F 1B 78 */ mr r31, r3 /* 80234140 002310A0 38 7F 00 04 */ addi r3, r31, 4 /* 80234144 002310A4 80 04 00 00 */ lwz r0, 0(r4) /* 80234148 002310A8 38 84 00 04 */ addi r4, r4, 4 /* 8023414C 002310AC 90 1F 00 00 */ stw r0, 0(r31) /* 80234150 002310B0 4B E2 F5 AD */ bl "clear__Q24rstl37vectorFv" /* 80234154 002310B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80234158 002310B8 7F E3 FB 78 */ mr r3, r31 /* 8023415C 002310BC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80234160 002310C0 7C 08 03 A6 */ mtlr r0 /* 80234164 002310C4 38 21 00 10 */ addi r1, r1, 0x10 /* 80234168 002310C8 4E 80 00 20 */ blr .global sub_8023416c sub_8023416c: /* 8023416C 002310CC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80234170 002310D0 7C 08 02 A6 */ mflr r0 /* 80234174 002310D4 90 01 00 24 */ stw r0, 0x24(r1) /* 80234178 002310D8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023417C 002310DC 7C 9F 23 78 */ mr r31, r4 /* 80234180 002310E0 93 C1 00 18 */ stw r30, 0x18(r1) /* 80234184 002310E4 7C 7E 1B 78 */ mr r30, r3 /* 80234188 002310E8 7C 1E F8 40 */ cmplw r30, r31 /* 8023418C 002310EC 40 82 00 08 */ bne lbl_80234194 /* 80234190 002310F0 48 00 00 C8 */ b lbl_80234258 lbl_80234194: /* 80234194 002310F4 80 1E 00 04 */ lwz r0, 4(r30) /* 80234198 002310F8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8023419C 002310FC 54 00 20 36 */ slwi r0, r0, 4 /* 802341A0 00231100 7C 03 02 14 */ add r0, r3, r0 /* 802341A4 00231104 90 61 00 0C */ stw r3, 0xc(r1) /* 802341A8 00231108 90 01 00 14 */ stw r0, 0x14(r1) /* 802341AC 0023110C 90 01 00 10 */ stw r0, 0x10(r1) /* 802341B0 00231110 90 61 00 08 */ stw r3, 8(r1) /* 802341B4 00231114 48 00 00 08 */ b lbl_802341BC lbl_802341B8: /* 802341B8 00231118 38 63 00 10 */ addi r3, r3, 0x10 lbl_802341BC: /* 802341BC 0023111C 7C 03 00 40 */ cmplw r3, r0 /* 802341C0 00231120 40 82 FF F8 */ bne lbl_802341B8 /* 802341C4 00231124 38 00 00 00 */ li r0, 0 /* 802341C8 00231128 90 1E 00 04 */ stw r0, 4(r30) /* 802341CC 0023112C 80 9F 00 04 */ lwz r4, 4(r31) /* 802341D0 00231130 2C 04 00 00 */ cmpwi r4, 0 /* 802341D4 00231134 40 82 00 28 */ bne lbl_802341FC /* 802341D8 00231138 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802341DC 0023113C 28 03 00 00 */ cmplwi r3, 0 /* 802341E0 00231140 41 82 00 08 */ beq lbl_802341E8 /* 802341E4 00231144 48 0E 17 4D */ bl Free__7CMemoryFPCv lbl_802341E8: /* 802341E8 00231148 38 00 00 00 */ li r0, 0 /* 802341EC 0023114C 90 1E 00 04 */ stw r0, 4(r30) /* 802341F0 00231150 90 1E 00 08 */ stw r0, 8(r30) /* 802341F4 00231154 90 1E 00 0C */ stw r0, 0xc(r30) /* 802341F8 00231158 48 00 00 5C */ b lbl_80234254 lbl_802341FC: /* 802341FC 0023115C 7F C3 F3 78 */ mr r3, r30 /* 80234200 00231160 4B E2 58 B5 */ bl sub_80059ab4 /* 80234204 00231164 80 1F 00 04 */ lwz r0, 4(r31) /* 80234208 00231168 80 DF 00 0C */ lwz r6, 0xc(r31) /* 8023420C 0023116C 54 00 20 36 */ slwi r0, r0, 4 /* 80234210 00231170 80 9E 00 0C */ lwz r4, 0xc(r30) /* 80234214 00231174 7C A6 02 14 */ add r5, r6, r0 /* 80234218 00231178 48 00 00 2C */ b lbl_80234244 lbl_8023421C: /* 8023421C 0023117C 28 04 00 00 */ cmplwi r4, 0 /* 80234220 00231180 41 82 00 1C */ beq lbl_8023423C /* 80234224 00231184 80 06 00 00 */ lwz r0, 0(r6) /* 80234228 00231188 90 04 00 00 */ stw r0, 0(r4) /* 8023422C 0023118C 80 06 00 08 */ lwz r0, 8(r6) /* 80234230 00231190 80 66 00 0C */ lwz r3, 0xc(r6) /* 80234234 00231194 90 64 00 0C */ stw r3, 0xc(r4) /* 80234238 00231198 90 04 00 08 */ stw r0, 8(r4) lbl_8023423C: /* 8023423C 0023119C 38 84 00 10 */ addi r4, r4, 0x10 /* 80234240 002311A0 38 C6 00 10 */ addi r6, r6, 0x10 lbl_80234244: /* 80234244 002311A4 7C 06 28 40 */ cmplw r6, r5 /* 80234248 002311A8 40 82 FF D4 */ bne lbl_8023421C /* 8023424C 002311AC 80 1F 00 04 */ lwz r0, 4(r31) /* 80234250 002311B0 90 1E 00 04 */ stw r0, 4(r30) lbl_80234254: /* 80234254 002311B4 7F C3 F3 78 */ mr r3, r30 lbl_80234258: /* 80234258 002311B8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023425C 002311BC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80234260 002311C0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80234264 002311C4 7C 08 03 A6 */ mtlr r0 /* 80234268 002311C8 38 21 00 20 */ addi r1, r1, 0x20 /* 8023426C 002311CC 4E 80 00 20 */ blr .global IsLayerActive__16CWorldLayerStateFii IsLayerActive__16CWorldLayerStateFii: /* 80234270 002311D0 80 E4 00 00 */ lwz r7, 0(r4) /* 80234274 002311D4 38 C0 00 01 */ li r6, 1 /* 80234278 002311D8 80 05 00 00 */ lwz r0, 0(r5) /* 8023427C 002311DC 38 80 00 00 */ li r4, 0 /* 80234280 002311E0 54 E5 20 36 */ slwi r5, r7, 4 /* 80234284 002311E4 80 E3 00 0C */ lwz r7, 0xc(r3) /* 80234288 002311E8 38 65 00 08 */ addi r3, r5, 8 /* 8023428C 002311EC 7C C5 00 30 */ slw r5, r6, r0 /* 80234290 002311F0 7C C7 1A 14 */ add r6, r7, r3 /* 80234294 002311F4 80 66 00 00 */ lwz r3, 0(r6) /* 80234298 002311F8 7C A0 FE 70 */ srawi r0, r5, 0x1f /* 8023429C 002311FC 80 C6 00 04 */ lwz r6, 4(r6) /* 802342A0 00231200 7C 63 00 38 */ and r3, r3, r0 /* 802342A4 00231204 7C C0 28 38 */ and r0, r6, r5 /* 802342A8 00231208 7C 00 22 78 */ xor r0, r0, r4 /* 802342AC 0023120C 7C 63 22 78 */ xor r3, r3, r4 /* 802342B0 00231210 7C 03 1B 78 */ or r3, r0, r3 /* 802342B4 00231214 30 03 FF FF */ addic r0, r3, -1 /* 802342B8 00231218 7C 60 19 10 */ subfe r3, r0, r3 /* 802342BC 0023121C 4E 80 00 20 */ blr .global SetLayerActive__16CWorldLayerStateFiib SetLayerActive__16CWorldLayerStateFiib: /* 802342C0 00231220 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 802342C4 00231224 80 84 00 00 */ lwz r4, 0(r4) /* 802342C8 00231228 80 63 00 0C */ lwz r3, 0xc(r3) /* 802342CC 0023122C 54 80 20 36 */ slwi r0, r4, 4 /* 802342D0 00231230 80 85 00 00 */ lwz r4, 0(r5) /* 802342D4 00231234 7C C3 02 14 */ add r6, r3, r0 /* 802342D8 00231238 41 82 00 2C */ beq lbl_80234304 /* 802342DC 0023123C 38 00 00 01 */ li r0, 1 /* 802342E0 00231240 80 A6 00 0C */ lwz r5, 0xc(r6) /* 802342E4 00231244 7C 03 20 30 */ slw r3, r0, r4 /* 802342E8 00231248 80 86 00 08 */ lwz r4, 8(r6) /* 802342EC 0023124C 7C A0 1B 78 */ or r0, r5, r3 /* 802342F0 00231250 7C 63 FE 70 */ srawi r3, r3, 0x1f /* 802342F4 00231254 90 06 00 0C */ stw r0, 0xc(r6) /* 802342F8 00231258 7C 80 1B 78 */ or r0, r4, r3 /* 802342FC 0023125C 90 06 00 08 */ stw r0, 8(r6) /* 80234300 00231260 4E 80 00 20 */ blr lbl_80234304: /* 80234304 00231264 38 00 00 01 */ li r0, 1 /* 80234308 00231268 80 A6 00 0C */ lwz r5, 0xc(r6) /* 8023430C 0023126C 7C 00 20 30 */ slw r0, r0, r4 /* 80234310 00231270 80 86 00 08 */ lwz r4, 8(r6) /* 80234314 00231274 7C 03 00 F8 */ nor r3, r0, r0 /* 80234318 00231278 7C A0 18 38 */ and r0, r5, r3 /* 8023431C 0023127C 7C 63 FE 70 */ srawi r3, r3, 0x1f /* 80234320 00231280 90 06 00 0C */ stw r0, 0xc(r6) /* 80234324 00231284 7C 80 18 38 */ and r0, r4, r3 /* 80234328 00231288 90 06 00 08 */ stw r0, 8(r6) /* 8023432C 0023128C 4E 80 00 20 */ blr .global PutTo__16CWorldLayerStateFR16CMemoryStreamOut PutTo__16CWorldLayerStateFR16CMemoryStreamOut: /* 80234330 00231290 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80234334 00231294 7C 08 02 A6 */ mflr r0 /* 80234338 00231298 90 01 00 44 */ stw r0, 0x44(r1) /* 8023433C 0023129C BF 41 00 28 */ stmw r26, 0x28(r1) /* 80234340 002312A0 7C 7A 1B 78 */ mr r26, r3 /* 80234344 002312A4 7C 9B 23 78 */ mr r27, r4 /* 80234348 002312A8 3B E0 00 00 */ li r31, 0 /* 8023434C 002312AC 3B A0 00 00 */ li r29, 0 /* 80234350 002312B0 83 C3 00 04 */ lwz r30, 4(r3) /* 80234354 002312B4 48 00 00 24 */ b lbl_80234378 lbl_80234358: /* 80234358 002312B8 93 A1 00 20 */ stw r29, 0x20(r1) /* 8023435C 002312BC 7F 43 D3 78 */ mr r3, r26 /* 80234360 002312C0 38 81 00 24 */ addi r4, r1, 0x24 /* 80234364 002312C4 93 A1 00 24 */ stw r29, 0x24(r1) /* 80234368 002312C8 4B FF FC 4D */ bl GetAreaLayerCount__16CWorldLayerStateFi /* 8023436C 002312CC 7F E3 FA 14 */ add r31, r3, r31 /* 80234370 002312D0 3B BD 00 01 */ addi r29, r29, 1 /* 80234374 002312D4 3B FF FF FF */ addi r31, r31, -1 lbl_80234378: /* 80234378 002312D8 7C 1D F0 00 */ cmpw r29, r30 /* 8023437C 002312DC 41 80 FF DC */ blt lbl_80234358 /* 80234380 002312E0 7F 63 DB 78 */ mr r3, r27 /* 80234384 002312E4 7F E4 FB 78 */ mr r4, r31 /* 80234388 002312E8 38 A0 00 0A */ li r5, 0xa /* 8023438C 002312EC 48 10 B0 31 */ bl WriteBits__13COutputStreamFii /* 80234390 002312F0 3B A0 00 00 */ li r29, 0 /* 80234394 002312F4 48 00 00 70 */ b lbl_80234404 lbl_80234398: /* 80234398 002312F8 93 A1 00 18 */ stw r29, 0x18(r1) /* 8023439C 002312FC 7F 43 D3 78 */ mr r3, r26 /* 802343A0 00231300 38 81 00 1C */ addi r4, r1, 0x1c /* 802343A4 00231304 93 A1 00 1C */ stw r29, 0x1c(r1) /* 802343A8 00231308 4B FF FC 0D */ bl GetAreaLayerCount__16CWorldLayerStateFi /* 802343AC 0023130C 93 A1 00 10 */ stw r29, 0x10(r1) /* 802343B0 00231310 7C 7F 1B 78 */ mr r31, r3 /* 802343B4 00231314 3B 80 00 01 */ li r28, 1 /* 802343B8 00231318 48 00 00 40 */ b lbl_802343F8 lbl_802343BC: /* 802343BC 0023131C 93 81 00 08 */ stw r28, 8(r1) /* 802343C0 00231320 7F 43 D3 78 */ mr r3, r26 /* 802343C4 00231324 38 81 00 14 */ addi r4, r1, 0x14 /* 802343C8 00231328 38 A1 00 0C */ addi r5, r1, 0xc /* 802343CC 0023132C 93 81 00 0C */ stw r28, 0xc(r1) /* 802343D0 00231330 93 A1 00 14 */ stw r29, 0x14(r1) /* 802343D4 00231334 4B FF FE 9D */ bl IsLayerActive__16CWorldLayerStateFii /* 802343D8 00231338 54 64 06 3E */ clrlwi r4, r3, 0x18 /* 802343DC 0023133C 7F 63 DB 78 */ mr r3, r27 /* 802343E0 00231340 7C 04 00 D0 */ neg r0, r4 /* 802343E4 00231344 38 A0 00 01 */ li r5, 1 /* 802343E8 00231348 7C 00 23 78 */ or r0, r0, r4 /* 802343EC 0023134C 54 04 0F FE */ srwi r4, r0, 0x1f /* 802343F0 00231350 48 10 AF CD */ bl WriteBits__13COutputStreamFii /* 802343F4 00231354 3B 9C 00 01 */ addi r28, r28, 1 lbl_802343F8: /* 802343F8 00231358 7C 1C F8 00 */ cmpw r28, r31 /* 802343FC 0023135C 41 80 FF C0 */ blt lbl_802343BC /* 80234400 00231360 3B BD 00 01 */ addi r29, r29, 1 lbl_80234404: /* 80234404 00231364 7C 1D F0 00 */ cmpw r29, r30 /* 80234408 00231368 41 80 FF 90 */ blt lbl_80234398 /* 8023440C 0023136C BB 41 00 28 */ lmw r26, 0x28(r1) /* 80234410 00231370 80 01 00 44 */ lwz r0, 0x44(r1) /* 80234414 00231374 7C 08 03 A6 */ mtlr r0 /* 80234418 00231378 38 21 00 40 */ addi r1, r1, 0x40 /* 8023441C 0023137C 4E 80 00 20 */ blr .global __ct__16CWorldLayerStateFR16CBitStreamReaderRC10CSaveWorld __ct__16CWorldLayerStateFR16CBitStreamReaderRC10CSaveWorld: /* 80234420 00231380 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80234424 00231384 7C 08 02 A6 */ mflr r0 /* 80234428 00231388 90 01 00 24 */ stw r0, 0x24(r1) /* 8023442C 0023138C 38 00 00 00 */ li r0, 0 /* 80234430 00231390 BF 61 00 0C */ stmw r27, 0xc(r1) /* 80234434 00231394 7C 9D 23 78 */ mr r29, r4 /* 80234438 00231398 7C 7C 1B 78 */ mr r28, r3 /* 8023443C 0023139C 38 80 00 0A */ li r4, 0xa /* 80234440 002313A0 90 03 00 04 */ stw r0, 4(r3) /* 80234444 002313A4 7F A3 EB 78 */ mr r3, r29 /* 80234448 002313A8 90 1C 00 08 */ stw r0, 8(r28) /* 8023444C 002313AC 90 1C 00 0C */ stw r0, 0xc(r28) /* 80234450 002313B0 90 1C 00 10 */ stw r0, 0x10(r28) /* 80234454 002313B4 90 1C 00 18 */ stw r0, 0x18(r28) /* 80234458 002313B8 90 1C 00 1C */ stw r0, 0x1c(r28) /* 8023445C 002313BC 90 1C 00 20 */ stw r0, 0x20(r28) /* 80234460 002313C0 48 10 A8 D9 */ bl ReadBits__12CInputStreamFi /* 80234464 002313C4 7C 7F 1B 78 */ mr r31, r3 /* 80234468 002313C8 38 7C 00 14 */ addi r3, r28, 0x14 /* 8023446C 002313CC 57 E4 D8 08 */ slwi r4, r31, 0x1b /* 80234470 002313D0 57 E5 0F FE */ srwi r5, r31, 0x1f /* 80234474 002313D4 7F E0 2E 70 */ srawi r0, r31, 5 /* 80234478 002313D8 7C 85 20 50 */ subf r4, r5, r4 /* 8023447C 002313DC 54 84 28 3E */ rotlwi r4, r4, 5 /* 80234480 002313E0 7C 00 01 94 */ addze r0, r0 /* 80234484 002313E4 7C A4 2A 14 */ add r5, r4, r5 /* 80234488 002313E8 7C 85 00 D0 */ neg r4, r5 /* 8023448C 002313EC 7C 84 2B 78 */ or r4, r4, r5 /* 80234490 002313F0 54 84 0F FE */ srwi r4, r4, 0x1f /* 80234494 002313F4 7C 80 22 14 */ add r4, r0, r4 /* 80234498 002313F8 4B E2 F6 8D */ bl "reserve__Q24rstl37vectorFi" /* 8023449C 002313FC 3B C0 00 00 */ li r30, 0 /* 802344A0 00231400 48 00 01 14 */ b lbl_802345B4 lbl_802344A4: /* 802344A4 00231404 7F A3 EB 78 */ mr r3, r29 /* 802344A8 00231408 38 80 00 01 */ li r4, 1 /* 802344AC 0023140C 48 10 A8 8D */ bl ReadBits__12CInputStreamFi /* 802344B0 00231410 80 9C 00 10 */ lwz r4, 0x10(r28) /* 802344B4 00231414 7C 03 00 D0 */ neg r0, r3 /* 802344B8 00231418 7C 05 1B 78 */ or r5, r0, r3 /* 802344BC 0023141C 54 80 D8 08 */ slwi r0, r4, 0x1b /* 802344C0 00231420 54 83 0F FE */ srwi r3, r4, 0x1f /* 802344C4 00231424 7C 03 00 50 */ subf r0, r3, r0 /* 802344C8 00231428 54 BB 0F FE */ srwi r27, r5, 0x1f /* 802344CC 0023142C 54 00 28 3E */ rotlwi r0, r0, 5 /* 802344D0 00231430 7C 00 1A 15 */ add. r0, r0, r3 /* 802344D4 00231434 40 82 00 54 */ bne lbl_80234528 /* 802344D8 00231438 80 1C 00 18 */ lwz r0, 0x18(r28) /* 802344DC 0023143C 80 BC 00 1C */ lwz r5, 0x1c(r28) /* 802344E0 00231440 7C 00 28 00 */ cmpw r0, r5 /* 802344E4 00231444 41 80 00 1C */ blt lbl_80234500 /* 802344E8 00231448 2C 05 00 00 */ cmpwi r5, 0 /* 802344EC 0023144C 38 7C 00 14 */ addi r3, r28, 0x14 /* 802344F0 00231450 38 80 00 04 */ li r4, 4 /* 802344F4 00231454 41 82 00 08 */ beq lbl_802344FC /* 802344F8 00231458 54 A4 08 3C */ slwi r4, r5, 1 lbl_802344FC: /* 802344FC 0023145C 4B E2 F6 29 */ bl "reserve__Q24rstl37vectorFi" lbl_80234500: /* 80234500 00231460 80 1C 00 18 */ lwz r0, 0x18(r28) /* 80234504 00231464 80 7C 00 20 */ lwz r3, 0x20(r28) /* 80234508 00231468 54 00 10 3A */ slwi r0, r0, 2 /* 8023450C 0023146C 7C 63 02 15 */ add. r3, r3, r0 /* 80234510 00231470 41 82 00 0C */ beq lbl_8023451C /* 80234514 00231474 80 0D 96 40 */ lwz r0, lbl_805A8200@sda21(r13) /* 80234518 00231478 90 03 00 00 */ stw r0, 0(r3) lbl_8023451C: /* 8023451C 0023147C 80 7C 00 18 */ lwz r3, 0x18(r28) /* 80234520 00231480 38 03 00 01 */ addi r0, r3, 1 /* 80234524 00231484 90 1C 00 18 */ stw r0, 0x18(r28) lbl_80234528: /* 80234528 00231488 80 7C 00 10 */ lwz r3, 0x10(r28) /* 8023452C 0023148C 28 1B 00 00 */ cmplwi r27, 0 /* 80234530 00231490 38 03 00 01 */ addi r0, r3, 1 /* 80234534 00231494 90 1C 00 10 */ stw r0, 0x10(r28) /* 80234538 00231498 41 82 00 40 */ beq lbl_80234578 /* 8023453C 0023149C 7C 64 2E 70 */ srawi r4, r3, 5 /* 80234540 002314A0 54 60 D8 08 */ slwi r0, r3, 0x1b /* 80234544 002314A4 54 63 0F FE */ srwi r3, r3, 0x1f /* 80234548 002314A8 80 FC 00 20 */ lwz r7, 0x20(r28) /* 8023454C 002314AC 7C A4 01 94 */ addze r5, r4 /* 80234550 002314B0 38 80 00 01 */ li r4, 1 /* 80234554 002314B4 7C 03 00 50 */ subf r0, r3, r0 /* 80234558 002314B8 54 A6 10 3A */ slwi r6, r5, 2 /* 8023455C 002314BC 54 00 28 3E */ rotlwi r0, r0, 5 /* 80234560 002314C0 7C A7 30 2E */ lwzx r5, r7, r6 /* 80234564 002314C4 7C 00 1A 14 */ add r0, r0, r3 /* 80234568 002314C8 7C 80 00 30 */ slw r0, r4, r0 /* 8023456C 002314CC 7C A0 03 78 */ or r0, r5, r0 /* 80234570 002314D0 7C 07 31 2E */ stwx r0, r7, r6 /* 80234574 002314D4 48 00 00 3C */ b lbl_802345B0 lbl_80234578: /* 80234578 002314D8 7C 64 2E 70 */ srawi r4, r3, 5 /* 8023457C 002314DC 54 60 D8 08 */ slwi r0, r3, 0x1b /* 80234580 002314E0 54 63 0F FE */ srwi r3, r3, 0x1f /* 80234584 002314E4 80 FC 00 20 */ lwz r7, 0x20(r28) /* 80234588 002314E8 7C A4 01 94 */ addze r5, r4 /* 8023458C 002314EC 38 80 00 01 */ li r4, 1 /* 80234590 002314F0 7C 03 00 50 */ subf r0, r3, r0 /* 80234594 002314F4 54 A6 10 3A */ slwi r6, r5, 2 /* 80234598 002314F8 54 00 28 3E */ rotlwi r0, r0, 5 /* 8023459C 002314FC 7C A7 30 2E */ lwzx r5, r7, r6 /* 802345A0 00231500 7C 00 1A 14 */ add r0, r0, r3 /* 802345A4 00231504 7C 80 00 30 */ slw r0, r4, r0 /* 802345A8 00231508 7C A0 00 78 */ andc r0, r5, r0 /* 802345AC 0023150C 7C 07 31 2E */ stwx r0, r7, r6 lbl_802345B0: /* 802345B0 00231510 3B DE 00 01 */ addi r30, r30, 1 lbl_802345B4: /* 802345B4 00231514 7C 1E F8 40 */ cmplw r30, r31 /* 802345B8 00231518 41 80 FE EC */ blt lbl_802344A4 /* 802345BC 0023151C 7F 83 E3 78 */ mr r3, r28 /* 802345C0 00231520 BB 61 00 0C */ lmw r27, 0xc(r1) /* 802345C4 00231524 80 01 00 24 */ lwz r0, 0x24(r1) /* 802345C8 00231528 7C 08 03 A6 */ mtlr r0 /* 802345CC 0023152C 38 21 00 20 */ addi r1, r1, 0x20 /* 802345D0 00231530 4E 80 00 20 */ blr .global __ct__13CGLXMemoryInfoFi __ct__13CGLXMemoryInfoFi: /* 802345D4 00231534 38 00 00 00 */ li r0, 0 /* 802345D8 00231538 90 03 00 04 */ stw r0, 4(r3) /* 802345DC 0023153C 90 03 00 08 */ stw r0, 8(r3) /* 802345E0 00231540 90 03 00 0C */ stw r0, 0xc(r3) /* 802345E4 00231544 90 03 00 10 */ stw r0, 0x10(r3) /* 802345E8 00231548 90 03 00 18 */ stw r0, 0x18(r3) /* 802345EC 0023154C 90 03 00 1C */ stw r0, 0x1c(r3) /* 802345F0 00231550 90 03 00 20 */ stw r0, 0x20(r3) /* 802345F4 00231554 4E 80 00 20 */ blr .global __sinit_CScriptLayerManager_cpp __sinit_CScriptLayerManager_cpp: /* 802345F8 00231558 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802345FC 0023155C 7C 08 02 A6 */ mflr r0 /* 80234600 00231560 3C 80 80 3D */ lis r4, lbl_803D42E0@ha /* 80234604 00231564 3C 60 80 47 */ lis r3, lbl_8046D34C@ha /* 80234608 00231568 90 01 00 14 */ stw r0, 0x14(r1) /* 8023460C 0023156C 38 84 42 E0 */ addi r4, r4, lbl_803D42E0@l /* 80234610 00231570 38 C4 00 07 */ addi r6, r4, 7 /* 80234614 00231574 38 00 00 00 */ li r0, 0 /* 80234618 00231578 94 C3 D3 4C */ stwu r6, lbl_8046D34C@l(r3) /* 8023461C 0023157C 90 03 00 04 */ stw r0, 4(r3) /* 80234620 00231580 48 00 00 08 */ b lbl_80234628 lbl_80234624: /* 80234624 00231584 38 C6 00 01 */ addi r6, r6, 1 lbl_80234628: /* 80234628 00231588 88 06 00 00 */ lbz r0, 0(r6) /* 8023462C 0023158C 7C 00 07 75 */ extsb. r0, r0 /* 80234630 00231590 40 82 FF F4 */ bne lbl_80234624 /* 80234634 00231594 3C 80 80 3D */ lis r4, lbl_803D42E0@ha /* 80234638 00231598 3C 60 80 47 */ lis r3, lbl_8046D34C@ha /* 8023463C 0023159C 38 A4 42 E0 */ addi r5, r4, lbl_803D42E0@l /* 80234640 002315A0 38 05 00 07 */ addi r0, r5, 7 /* 80234644 002315A4 3C 80 80 00 */ lis r4, sub_80004a9c@ha /* 80234648 002315A8 38 63 D3 4C */ addi r3, r3, lbl_8046D34C@l /* 8023464C 002315AC 3C A0 80 47 */ lis r5, lbl_8046D340@ha /* 80234650 002315B0 7C 00 30 50 */ subf r0, r0, r6 /* 80234654 002315B4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l /* 80234658 002315B8 90 03 00 08 */ stw r0, 8(r3) /* 8023465C 002315BC 38 A5 D3 40 */ addi r5, r5, lbl_8046D340@l /* 80234660 002315C0 48 15 50 2D */ bl __register_global_object /* 80234664 002315C4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80234668 002315C8 7C 08 03 A6 */ mtlr r0 /* 8023466C 002315CC 38 21 00 10 */ addi r1, r1, 0x10 /* 80234670 002315D0 4E 80 00 20 */ blr .global __dt__10CMagdoliteFv __dt__10CMagdoliteFv: /* 80234674 002315D4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80234678 002315D8 7C 08 02 A6 */ mflr r0 /* 8023467C 002315DC 90 01 00 14 */ stw r0, 0x14(r1) /* 80234680 002315E0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80234684 002315E4 7C 9F 23 78 */ mr r31, r4 /* 80234688 002315E8 93 C1 00 08 */ stw r30, 8(r1) /* 8023468C 002315EC 7C 7E 1B 79 */ or. r30, r3, r3 /* 80234690 002315F0 41 82 00 FC */ beq lbl_8023478C /* 80234694 002315F4 3C 60 80 3F */ lis r3, lbl_803E8240@ha /* 80234698 002315F8 34 1E 06 CC */ addic. r0, r30, 0x6cc /* 8023469C 002315FC 38 03 82 40 */ addi r0, r3, lbl_803E8240@l /* 802346A0 00231600 90 1E 00 00 */ stw r0, 0(r30) /* 802346A4 00231604 41 82 00 10 */ beq lbl_802346B4 /* 802346A8 00231608 38 7E 06 CC */ addi r3, r30, 0x6cc /* 802346AC 0023160C 38 80 00 00 */ li r4, 0 /* 802346B0 00231610 48 10 C7 91 */ bl __dt__6CTokenFv lbl_802346B4: /* 802346B4 00231614 34 1E 06 9C */ addic. r0, r30, 0x69c /* 802346B8 00231618 41 82 00 58 */ beq lbl_80234710 /* 802346BC 0023161C 80 BE 06 9C */ lwz r5, 0x69c(r30) /* 802346C0 00231620 38 60 00 00 */ li r3, 0 /* 802346C4 00231624 2C 05 00 00 */ cmpwi r5, 0 /* 802346C8 00231628 40 81 00 40 */ ble lbl_80234708 /* 802346CC 0023162C 2C 05 00 08 */ cmpwi r5, 8 /* 802346D0 00231630 38 85 FF F8 */ addi r4, r5, -8 /* 802346D4 00231634 40 81 00 20 */ ble lbl_802346F4 /* 802346D8 00231638 38 04 00 07 */ addi r0, r4, 7 /* 802346DC 0023163C 54 00 E8 FE */ srwi r0, r0, 3 /* 802346E0 00231640 7C 09 03 A6 */ mtctr r0 /* 802346E4 00231644 2C 04 00 00 */ cmpwi r4, 0 /* 802346E8 00231648 40 81 00 0C */ ble lbl_802346F4 lbl_802346EC: /* 802346EC 0023164C 38 63 00 08 */ addi r3, r3, 8 /* 802346F0 00231650 42 00 FF FC */ bdnz lbl_802346EC lbl_802346F4: /* 802346F4 00231654 7C 03 28 50 */ subf r0, r3, r5 /* 802346F8 00231658 7C 09 03 A6 */ mtctr r0 /* 802346FC 0023165C 7C 03 28 00 */ cmpw r3, r5 /* 80234700 00231660 40 80 00 08 */ bge lbl_80234708 lbl_80234704: /* 80234704 00231664 42 00 00 00 */ bdnz lbl_80234704 lbl_80234708: /* 80234708 00231668 38 00 00 00 */ li r0, 0 /* 8023470C 0023166C 90 1E 06 9C */ stw r0, 0x69c(r30) lbl_80234710: /* 80234710 00231670 34 1E 06 90 */ addic. r0, r30, 0x690 /* 80234714 00231674 41 82 00 18 */ beq lbl_8023472C /* 80234718 00231678 34 1E 06 90 */ addic. r0, r30, 0x690 /* 8023471C 0023167C 41 82 00 10 */ beq lbl_8023472C /* 80234720 00231680 38 7E 06 90 */ addi r3, r30, 0x690 /* 80234724 00231684 38 80 00 00 */ li r4, 0 /* 80234728 00231688 48 10 C7 19 */ bl __dt__6CTokenFv lbl_8023472C: /* 8023472C 0023168C 34 1E 06 8C */ addic. r0, r30, 0x68c /* 80234730 00231690 41 82 00 14 */ beq lbl_80234744 /* 80234734 00231694 34 1E 06 8C */ addic. r0, r30, 0x68c /* 80234738 00231698 41 82 00 0C */ beq lbl_80234744 /* 8023473C 0023169C 38 7E 06 8C */ addi r3, r30, 0x68c /* 80234740 002316A0 4B F9 EC 21 */ bl sub_801d3360 lbl_80234744: /* 80234744 002316A4 34 1E 05 84 */ addic. r0, r30, 0x584 /* 80234748 002316A8 41 82 00 14 */ beq lbl_8023475C /* 8023474C 002316AC 34 1E 05 A8 */ addic. r0, r30, 0x5a8 /* 80234750 002316B0 41 82 00 0C */ beq lbl_8023475C /* 80234754 002316B4 38 00 00 00 */ li r0, 0 /* 80234758 002316B8 98 1E 05 B4 */ stb r0, 0x5b4(r30) lbl_8023475C: /* 8023475C 002316BC 34 1E 05 80 */ addic. r0, r30, 0x580 /* 80234760 002316C0 41 82 00 10 */ beq lbl_80234770 /* 80234764 002316C4 80 7E 05 80 */ lwz r3, 0x580(r30) /* 80234768 002316C8 38 80 00 01 */ li r4, 1 /* 8023476C 002316CC 4B F7 31 71 */ bl sub_801a78dc lbl_80234770: /* 80234770 002316D0 7F C3 F3 78 */ mr r3, r30 /* 80234774 002316D4 38 80 00 00 */ li r4, 0 /* 80234778 002316D8 4B E4 2D F9 */ bl __dt__10CPatternedFv /* 8023477C 002316DC 7F E0 07 35 */ extsh. r0, r31 /* 80234780 002316E0 40 81 00 0C */ ble lbl_8023478C /* 80234784 002316E4 7F C3 F3 78 */ mr r3, r30 /* 80234788 002316E8 48 0E 11 A9 */ bl Free__7CMemoryFPCv lbl_8023478C: /* 8023478C 002316EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80234790 002316F0 7F C3 F3 78 */ mr r3, r30 /* 80234794 002316F4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80234798 002316F8 83 C1 00 08 */ lwz r30, 8(r1) /* 8023479C 002316FC 7C 08 03 A6 */ mtlr r0 /* 802347A0 00231700 38 21 00 10 */ addi r1, r1, 0x10 /* 802347A4 00231704 4E 80 00 20 */ blr .global sub_802347a8 sub_802347a8: /* 802347A8 00231708 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802347AC 0023170C 7C 08 02 A6 */ mflr r0 /* 802347B0 00231710 90 01 00 94 */ stw r0, 0x94(r1) /* 802347B4 00231714 93 E1 00 8C */ stw r31, 0x8c(r1) /* 802347B8 00231718 7C BF 2B 78 */ mr r31, r5 /* 802347BC 0023171C 93 C1 00 88 */ stw r30, 0x88(r1) /* 802347C0 00231720 7C 7E 1B 78 */ mr r30, r3 /* 802347C4 00231724 7F E3 FB 78 */ mr r3, r31 /* 802347C8 00231728 93 A1 00 84 */ stw r29, 0x84(r1) /* 802347CC 0023172C A0 04 00 00 */ lhz r0, 0(r4) /* 802347D0 00231730 38 81 00 24 */ addi r4, r1, 0x24 /* 802347D4 00231734 B0 01 00 24 */ sth r0, 0x24(r1) /* 802347D8 00231738 4B E1 7D CD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 802347DC 0023173C 7C 64 1B 78 */ mr r4, r3 /* 802347E0 00231740 38 61 00 28 */ addi r3, r1, 0x28 /* 802347E4 00231744 4B E7 AB 69 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 802347E8 00231748 83 A3 00 04 */ lwz r29, 4(r3) /* 802347EC 0023174C 28 1D 00 00 */ cmplwi r29, 0 /* 802347F0 00231750 41 82 01 80 */ beq lbl_80234970 /* 802347F4 00231754 88 1E 04 00 */ lbz r0, 0x400(r30) /* 802347F8 00231758 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802347FC 0023175C 41 82 01 74 */ beq lbl_80234970 /* 80234800 00231760 7F C4 F3 78 */ mr r4, r30 /* 80234804 00231764 38 61 00 48 */ addi r3, r1, 0x48 /* 80234808 00231768 81 9E 00 00 */ lwz r12, 0(r30) /* 8023480C 0023176C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) /* 80234810 00231770 7D 89 03 A6 */ mtctr r12 /* 80234814 00231774 4E 80 04 21 */ bctrl /* 80234818 00231778 80 81 00 48 */ lwz r4, 0x48(r1) /* 8023481C 0023177C 38 BE 06 A0 */ addi r5, r30, 0x6a0 /* 80234820 00231780 88 61 00 4C */ lbz r3, 0x4c(r1) /* 80234824 00231784 C0 61 00 50 */ lfs f3, 0x50(r1) /* 80234828 00231788 C0 41 00 54 */ lfs f2, 0x54(r1) /* 8023482C 0023178C C0 21 00 58 */ lfs f1, 0x58(r1) /* 80234830 00231790 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 80234834 00231794 88 01 00 60 */ lbz r0, 0x60(r1) /* 80234838 00231798 90 81 00 64 */ stw r4, 0x64(r1) /* 8023483C 0023179C 98 61 00 68 */ stb r3, 0x68(r1) /* 80234840 002317A0 D0 61 00 6C */ stfs f3, 0x6c(r1) /* 80234844 002317A4 D0 41 00 70 */ stfs f2, 0x70(r1) /* 80234848 002317A8 D0 21 00 74 */ stfs f1, 0x74(r1) /* 8023484C 002317AC D0 01 00 78 */ stfs f0, 0x78(r1) /* 80234850 002317B0 98 01 00 7C */ stb r0, 0x7c(r1) /* 80234854 002317B4 80 1E 06 9C */ lwz r0, 0x69c(r30) /* 80234858 002317B8 54 00 08 3C */ slwi r0, r0, 1 /* 8023485C 002317BC 7C 85 02 14 */ add r4, r5, r0 /* 80234860 002317C0 48 00 00 54 */ b lbl_802348B4 lbl_80234864: /* 80234864 002317C4 A0 7D 00 08 */ lhz r3, 8(r29) /* 80234868 002317C8 A0 05 00 00 */ lhz r0, 0(r5) /* 8023486C 002317CC 7C 03 00 40 */ cmplw r3, r0 /* 80234870 002317D0 40 82 00 40 */ bne lbl_802348B0 /* 80234874 002317D4 80 7E 06 F0 */ lwz r3, 0x6f0(r30) /* 80234878 002317D8 80 1E 06 F4 */ lwz r0, 0x6f4(r30) /* 8023487C 002317DC 90 61 00 64 */ stw r3, 0x64(r1) /* 80234880 002317E0 90 01 00 68 */ stw r0, 0x68(r1) /* 80234884 002317E4 C0 1E 06 F8 */ lfs f0, 0x6f8(r30) /* 80234888 002317E8 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8023488C 002317EC C0 1E 06 FC */ lfs f0, 0x6fc(r30) /* 80234890 002317F0 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80234894 002317F4 C0 1E 07 00 */ lfs f0, 0x700(r30) /* 80234898 002317F8 D0 01 00 74 */ stfs f0, 0x74(r1) /* 8023489C 002317FC C0 1E 07 04 */ lfs f0, 0x704(r30) /* 802348A0 00231800 D0 01 00 78 */ stfs f0, 0x78(r1) /* 802348A4 00231804 88 1E 07 08 */ lbz r0, 0x708(r30) /* 802348A8 00231808 98 01 00 7C */ stb r0, 0x7c(r1) /* 802348AC 0023180C 48 00 00 10 */ b lbl_802348BC lbl_802348B0: /* 802348B0 00231810 38 A5 00 02 */ addi r5, r5, 2 lbl_802348B4: /* 802348B4 00231814 7C 05 20 40 */ cmplw r5, r4 /* 802348B8 00231818 40 82 FF AC */ bne lbl_80234864 lbl_802348BC: /* 802348BC 0023181C 7F A4 EB 78 */ mr r4, r29 /* 802348C0 00231820 38 61 00 20 */ addi r3, r1, 0x20 /* 802348C4 00231824 4B F7 42 C9 */ bl GetLastTouchedObject__15CCollisionActorCFv /* 802348C8 00231828 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 802348CC 0023182C A0 81 00 20 */ lhz r4, 0x20(r1) /* 802348D0 00231830 A0 03 00 08 */ lhz r0, 8(r3) /* 802348D4 00231834 7C 04 00 40 */ cmplw r4, r0 /* 802348D8 00231838 40 82 00 98 */ bne lbl_80234970 /* 802348DC 0023183C C0 22 B7 20 */ lfs f1, lbl_805AD440@sda21(r2) /* 802348E0 00231840 C0 1E 04 20 */ lfs f0, 0x420(r30) /* 802348E4 00231844 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802348E8 00231848 4C 41 13 82 */ cror 2, 1, 2 /* 802348EC 0023184C 40 82 00 84 */ bne lbl_80234970 /* 802348F0 00231850 80 AD 96 48 */ lwz r5, lbl_805A8208@sda21(r13) /* 802348F4 00231854 38 60 00 00 */ li r3, 0 /* 802348F8 00231858 38 80 00 01 */ li r4, 1 /* 802348FC 0023185C 48 15 55 F9 */ bl __shl2i /* 80234900 00231860 39 40 00 00 */ li r10, 0 /* 80234904 00231864 38 00 00 03 */ li r0, 3 /* 80234908 00231868 90 81 00 34 */ stw r4, 0x34(r1) /* 8023490C 0023186C 3C 80 80 5A */ lis r4, skZero3f@ha /* 80234910 00231870 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 80234914 00231874 38 A1 00 14 */ addi r5, r1, 0x14 /* 80234918 00231878 90 61 00 30 */ stw r3, 0x30(r1) /* 8023491C 0023187C 38 81 00 1C */ addi r4, r1, 0x1c /* 80234920 00231880 7F E3 FB 78 */ mr r3, r31 /* 80234924 00231884 38 C1 00 0C */ addi r6, r1, 0xc /* 80234928 00231888 91 41 00 3C */ stw r10, 0x3c(r1) /* 8023492C 0023188C 38 E1 00 64 */ addi r7, r1, 0x64 /* 80234930 00231890 39 01 00 30 */ addi r8, r1, 0x30 /* 80234934 00231894 91 41 00 38 */ stw r10, 0x38(r1) /* 80234938 00231898 90 01 00 40 */ stw r0, 0x40(r1) /* 8023493C 0023189C A0 1E 00 08 */ lhz r0, 8(r30) /* 80234940 002318A0 B0 01 00 0C */ sth r0, 0xc(r1) /* 80234944 002318A4 81 5F 08 4C */ lwz r10, 0x84c(r31) /* 80234948 002318A8 B0 01 00 08 */ sth r0, 8(r1) /* 8023494C 002318AC A1 4A 00 08 */ lhz r10, 8(r10) /* 80234950 002318B0 B1 41 00 14 */ sth r10, 0x14(r1) /* 80234954 002318B4 A0 1E 00 08 */ lhz r0, 8(r30) /* 80234958 002318B8 B1 41 00 10 */ sth r10, 0x10(r1) /* 8023495C 002318BC B0 01 00 18 */ sth r0, 0x18(r1) /* 80234960 002318C0 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80234964 002318C4 4B E1 57 3D */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f /* 80234968 002318C8 C0 1E 04 24 */ lfs f0, 0x424(r30) /* 8023496C 002318CC D0 1E 04 20 */ stfs f0, 0x420(r30) lbl_80234970: /* 80234970 002318D0 80 01 00 94 */ lwz r0, 0x94(r1) /* 80234974 002318D4 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 80234978 002318D8 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8023497C 002318DC 83 A1 00 84 */ lwz r29, 0x84(r1) /* 80234980 002318E0 7C 08 03 A6 */ mtlr r0 /* 80234984 002318E4 38 21 00 90 */ addi r1, r1, 0x90 /* 80234988 002318E8 4E 80 00 20 */ blr .global FluidFXThink__10CMagdoliteFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager FluidFXThink__10CMagdoliteFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: /* 8023498C 002318EC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80234990 002318F0 7C 08 02 A6 */ mflr r0 /* 80234994 002318F4 90 01 00 64 */ stw r0, 0x64(r1) /* 80234998 002318F8 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8023499C 002318FC 7C DF 33 78 */ mr r31, r6 /* 802349A0 00231900 93 C1 00 58 */ stw r30, 0x58(r1) /* 802349A4 00231904 7C BE 2B 78 */ mr r30, r5 /* 802349A8 00231908 93 A1 00 54 */ stw r29, 0x54(r1) /* 802349AC 0023190C 7C 7D 1B 78 */ mr r29, r3 /* 802349B0 00231910 88 03 07 54 */ lbz r0, 0x754(r3) /* 802349B4 00231914 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 802349B8 00231918 41 82 00 9C */ beq lbl_80234A54 /* 802349BC 0023191C 2C 04 00 01 */ cmpwi r4, 1 /* 802349C0 00231920 40 82 00 94 */ bne lbl_80234A54 /* 802349C4 00231924 A0 1D 00 08 */ lhz r0, 8(r29) /* 802349C8 00231928 38 81 00 14 */ addi r4, r1, 0x14 /* 802349CC 0023192C B0 01 00 14 */ sth r0, 0x14(r1) /* 802349D0 00231930 B0 01 00 10 */ sth r0, 0x10(r1) /* 802349D4 00231934 80 7F 08 7C */ lwz r3, 0x87c(r31) /* 802349D8 00231938 4B EF AB A9 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId /* 802349DC 0023193C C0 02 B7 24 */ lfs f0, lbl_805AD444@sda21(r2) /* 802349E0 00231940 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802349E4 00231944 4C 41 13 82 */ cror 2, 1, 2 /* 802349E8 00231948 40 82 00 6C */ bne lbl_80234A54 /* 802349EC 0023194C 7F C4 F3 78 */ mr r4, r30 /* 802349F0 00231950 38 61 00 30 */ addi r3, r1, 0x30 /* 802349F4 00231954 4B E4 1C D9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv /* 802349F8 00231958 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 802349FC 0023195C 7F C6 F3 78 */ mr r6, r30 /* 80234A00 00231960 C0 1D 00 50 */ lfs f0, 0x50(r29) /* 80234A04 00231964 7F E7 FB 78 */ mr r7, r31 /* 80234A08 00231968 C0 9D 00 40 */ lfs f4, 0x40(r29) /* 80234A0C 0023196C 38 81 00 0C */ addi r4, r1, 0xc /* 80234A10 00231970 C0 61 00 44 */ lfs f3, 0x44(r1) /* 80234A14 00231974 38 A1 00 24 */ addi r5, r1, 0x24 /* 80234A18 00231978 D0 81 00 24 */ stfs f4, 0x24(r1) /* 80234A1C 0023197C C0 22 B7 28 */ lfs f1, lbl_805AD448@sda21(r2) /* 80234A20 00231980 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80234A24 00231984 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 80234A28 00231988 A0 1D 00 08 */ lhz r0, 8(r29) /* 80234A2C 0023198C D0 81 00 18 */ stfs f4, 0x18(r1) /* 80234A30 00231990 B0 01 00 0C */ sth r0, 0xc(r1) /* 80234A34 00231994 80 7E 01 B4 */ lwz r3, 0x1b4(r30) /* 80234A38 00231998 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80234A3C 0023199C 81 83 00 00 */ lwz r12, 0(r3) /* 80234A40 002319A0 D0 41 00 20 */ stfs f2, 0x20(r1) /* 80234A44 002319A4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80234A48 002319A8 B0 01 00 08 */ sth r0, 8(r1) /* 80234A4C 002319AC 7D 89 03 A6 */ mtctr r12 /* 80234A50 002319B0 4E 80 04 21 */ bctrl lbl_80234A54: /* 80234A54 002319B4 80 01 00 64 */ lwz r0, 0x64(r1) /* 80234A58 002319B8 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80234A5C 002319BC 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80234A60 002319C0 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80234A64 002319C4 7C 08 03 A6 */ mtlr r0 /* 80234A68 002319C8 38 21 00 60 */ addi r1, r1, 0x60 /* 80234A6C 002319CC 4E 80 00 20 */ blr .global sub_80234a70 sub_80234a70: /* 80234A70 002319D0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80234A74 002319D4 7C 08 02 A6 */ mflr r0 /* 80234A78 002319D8 90 01 00 24 */ stw r0, 0x24(r1) /* 80234A7C 002319DC 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 80234A80 002319E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80234A84 002319E4 7C BF 2B 78 */ mr r31, r5 /* 80234A88 002319E8 93 C1 00 18 */ stw r30, 0x18(r1) /* 80234A8C 002319EC 7C 9E 23 78 */ mr r30, r4 /* 80234A90 002319F0 93 A1 00 14 */ stw r29, 0x14(r1) /* 80234A94 002319F4 7C 7D 1B 78 */ mr r29, r3 /* 80234A98 002319F8 41 82 00 10 */ beq lbl_80234AA8 /* 80234A9C 002319FC 88 1D 07 54 */ lbz r0, 0x754(r29) /* 80234AA0 00231A00 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 80234AA4 00231A04 41 82 00 60 */ beq lbl_80234B04 lbl_80234AA8: /* 80234AA8 00231A08 88 1D 04 00 */ lbz r0, 0x400(r29) /* 80234AAC 00231A0C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80234AB0 00231A10 41 82 00 54 */ beq lbl_80234B04 /* 80234AB4 00231A14 A0 1D 06 C8 */ lhz r0, 0x6c8(r29) /* 80234AB8 00231A18 7F C3 F3 78 */ mr r3, r30 /* 80234ABC 00231A1C 38 81 00 08 */ addi r4, r1, 8 /* 80234AC0 00231A20 B0 01 00 08 */ sth r0, 8(r1) /* 80234AC4 00231A24 4B E1 7A B1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80234AC8 00231A28 28 03 00 00 */ cmplwi r3, 0 /* 80234ACC 00231A2C 41 82 00 2C */ beq lbl_80234AF8 /* 80234AD0 00231A30 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80234AD4 00231A34 41 82 00 18 */ beq lbl_80234AEC /* 80234AD8 00231A38 7F C5 F3 78 */ mr r5, r30 /* 80234ADC 00231A3C 38 9D 00 34 */ addi r4, r29, 0x34 /* 80234AE0 00231A40 38 C0 00 00 */ li r6, 0 /* 80234AE4 00231A44 4B F6 38 09 */ bl Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb /* 80234AE8 00231A48 48 00 00 10 */ b lbl_80234AF8 lbl_80234AEC: /* 80234AEC 00231A4C 7F C4 F3 78 */ mr r4, r30 /* 80234AF0 00231A50 38 A0 00 00 */ li r5, 0 /* 80234AF4 00231A54 4B F6 36 CD */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_80234AF8: /* 80234AF8 00231A58 88 1D 07 54 */ lbz r0, 0x754(r29) /* 80234AFC 00231A5C 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b /* 80234B00 00231A60 98 1D 07 54 */ stb r0, 0x754(r29) lbl_80234B04: /* 80234B04 00231A64 80 01 00 24 */ lwz r0, 0x24(r1) /* 80234B08 00231A68 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80234B0C 00231A6C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80234B10 00231A70 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80234B14 00231A74 7C 08 03 A6 */ mtlr r0 /* 80234B18 00231A78 38 21 00 20 */ addi r1, r1, 0x20 /* 80234B1C 00231A7C 4E 80 00 20 */ blr .global sub_80234b20 sub_80234b20: /* 80234B20 00231A80 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80234B24 00231A84 7C 08 02 A6 */ mflr r0 /* 80234B28 00231A88 90 01 00 64 */ stw r0, 0x64(r1) /* 80234B2C 00231A8C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80234B30 00231A90 7C 9F 23 78 */ mr r31, r4 /* 80234B34 00231A94 93 C1 00 58 */ stw r30, 0x58(r1) /* 80234B38 00231A98 7C 7E 1B 78 */ mr r30, r3 /* 80234B3C 00231A9C 93 A1 00 54 */ stw r29, 0x54(r1) /* 80234B40 00231AA0 93 81 00 50 */ stw r28, 0x50(r1) /* 80234B44 00231AA4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80234B48 00231AA8 A0 63 06 C8 */ lhz r3, 0x6c8(r3) /* 80234B4C 00231AAC 7C 03 00 40 */ cmplw r3, r0 /* 80234B50 00231AB0 40 82 00 EC */ bne lbl_80234C3C /* 80234B54 00231AB4 38 61 00 34 */ addi r3, r1, 0x34 /* 80234B58 00231AB8 4B E1 85 85 */ bl AllocateUniqueId__13CStateManagerFv /* 80234B5C 00231ABC A0 01 00 34 */ lhz r0, 0x34(r1) /* 80234B60 00231AC0 3C 60 80 3D */ lis r3, lbl_803D4310@ha /* 80234B64 00231AC4 38 63 43 10 */ addi r3, r3, lbl_803D4310@l /* 80234B68 00231AC8 3B 80 00 00 */ li r28, 0 /* 80234B6C 00231ACC B0 1E 06 C8 */ sth r0, 0x6c8(r30) /* 80234B70 00231AD0 38 83 00 4B */ addi r4, r3, 0x4b /* 80234B74 00231AD4 38 60 04 08 */ li r3, 0x408 /* 80234B78 00231AD8 38 A0 00 00 */ li r5, 0 /* 80234B7C 00231ADC 48 0E 0C F1 */ bl __nw__FUlPCcPCc /* 80234B80 00231AE0 7C 7D 1B 79 */ or. r29, r3, r3 /* 80234B84 00231AE4 41 82 00 9C */ beq lbl_80234C20 /* 80234B88 00231AE8 A0 1E 00 08 */ lhz r0, 8(r30) /* 80234B8C 00231AEC 3C 60 80 3D */ lis r3, lbl_803D4310@ha /* 80234B90 00231AF0 38 83 43 10 */ addi r4, r3, lbl_803D4310@l /* 80234B94 00231AF4 38 61 00 40 */ addi r3, r1, 0x40 /* 80234B98 00231AF8 B0 01 00 30 */ sth r0, 0x30(r1) /* 80234B9C 00231AFC 38 84 00 52 */ addi r4, r4, 0x52 /* 80234BA0 00231B00 80 BE 00 04 */ lwz r5, 4(r30) /* 80234BA4 00231B04 B0 01 00 2C */ sth r0, 0x2c(r1) /* 80234BA8 00231B08 90 A1 00 3C */ stw r5, 0x3c(r1) /* 80234BAC 00231B0C A0 1E 06 C8 */ lhz r0, 0x6c8(r30) /* 80234BB0 00231B10 90 A1 00 38 */ stw r5, 0x38(r1) /* 80234BB4 00231B14 B0 01 00 28 */ sth r0, 0x28(r1) /* 80234BB8 00231B18 4B DD 01 01 */ bl string_l__4rstlFPCc /* 80234BBC 00231B1C 38 01 00 28 */ addi r0, r1, 0x28 /* 80234BC0 00231B20 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 80234BC4 00231B24 90 01 00 08 */ stw r0, 8(r1) /* 80234BC8 00231B28 38 01 00 3C */ addi r0, r1, 0x3c /* 80234BCC 00231B2C 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 80234BD0 00231B30 38 61 00 30 */ addi r3, r1, 0x30 /* 80234BD4 00231B34 90 01 00 0C */ stw r0, 0xc(r1) /* 80234BD8 00231B38 38 A0 00 00 */ li r5, 0 /* 80234BDC 00231B3C 39 60 FF FF */ li r11, -1 /* 80234BE0 00231B40 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 80234BE4 00231B44 90 61 00 10 */ stw r3, 0x10(r1) /* 80234BE8 00231B48 7F A3 EB 78 */ mr r3, r29 /* 80234BEC 00231B4C 38 9E 06 CC */ addi r4, r30, 0x6cc /* 80234BF0 00231B50 38 FE 06 A8 */ addi r7, r30, 0x6a8 /* 80234BF4 00231B54 90 A1 00 14 */ stw r5, 0x14(r1) /* 80234BF8 00231B58 38 A1 00 40 */ addi r5, r1, 0x40 /* 80234BFC 00231B5C 39 5E 06 D4 */ addi r10, r30, 0x6d4 /* 80234C00 00231B60 3B 80 00 01 */ li r28, 1 /* 80234C04 00231B64 91 61 00 18 */ stw r11, 0x18(r1) /* 80234C08 00231B68 38 C0 00 03 */ li r6, 3 /* 80234C0C 00231B6C 39 20 00 2F */ li r9, 0x2f /* 80234C10 00231B70 90 01 00 1C */ stw r0, 0x1c(r1) /* 80234C14 00231B74 91 61 00 20 */ stw r11, 0x20(r1) /* 80234C18 00231B78 4B F6 3E D9 */ bl "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi" /* 80234C1C 00231B7C 7C 7D 1B 78 */ mr r29, r3 lbl_80234C20: /* 80234C20 00231B80 7F 80 07 75 */ extsb. r0, r28 /* 80234C24 00231B84 41 82 00 0C */ beq lbl_80234C30 /* 80234C28 00231B88 38 61 00 40 */ addi r3, r1, 0x40 /* 80234C2C 00231B8C 48 10 8E B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80234C30: /* 80234C30 00231B90 7F E3 FB 78 */ mr r3, r31 /* 80234C34 00231B94 7F A4 EB 78 */ mr r4, r29 /* 80234C38 00231B98 4B E1 7E DD */ bl AddObject__13CStateManagerFR7CEntity lbl_80234C3C: /* 80234C3C 00231B9C 80 01 00 64 */ lwz r0, 0x64(r1) /* 80234C40 00231BA0 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80234C44 00231BA4 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80234C48 00231BA8 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80234C4C 00231BAC 83 81 00 50 */ lwz r28, 0x50(r1) /* 80234C50 00231BB0 7C 08 03 A6 */ mtlr r0 /* 80234C54 00231BB4 38 21 00 60 */ addi r1, r1, 0x60 /* 80234C58 00231BB8 4E 80 00 20 */ blr .global SelectTarget__10CMagdoliteFR13CStateManager9EStateMsgf SelectTarget__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80234C5C 00231BBC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80234C60 00231BC0 7C 08 02 A6 */ mflr r0 /* 80234C64 00231BC4 2C 05 00 02 */ cmpwi r5, 2 /* 80234C68 00231BC8 90 01 00 34 */ stw r0, 0x34(r1) /* 80234C6C 00231BCC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80234C70 00231BD0 7C 9F 23 78 */ mr r31, r4 /* 80234C74 00231BD4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80234C78 00231BD8 7C 7E 1B 78 */ mr r30, r3 /* 80234C7C 00231BDC 41 82 00 B8 */ beq lbl_80234D34 /* 80234C80 00231BE0 40 80 00 B8 */ bge lbl_80234D38 /* 80234C84 00231BE4 2C 05 00 01 */ cmpwi r5, 1 /* 80234C88 00231BE8 40 80 00 08 */ bge lbl_80234C90 /* 80234C8C 00231BEC 48 00 00 AC */ b lbl_80234D38 lbl_80234C90: /* 80234C90 00231BF0 7F C4 F3 78 */ mr r4, r30 /* 80234C94 00231BF4 7F E5 FB 78 */ mr r5, r31 /* 80234C98 00231BF8 38 61 00 0C */ addi r3, r1, 0xc /* 80234C9C 00231BFC 38 C0 00 0A */ li r6, 0xa /* 80234CA0 00231C00 38 E0 00 06 */ li r7, 6 /* 80234CA4 00231C04 48 00 00 F9 */ bl sub_80234d9c /* 80234CA8 00231C08 A0 61 00 0C */ lhz r3, 0xc(r1) /* 80234CAC 00231C0C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80234CB0 00231C10 B0 61 00 10 */ sth r3, 0x10(r1) /* 80234CB4 00231C14 7C 03 00 40 */ cmplw r3, r0 /* 80234CB8 00231C18 41 82 00 80 */ beq lbl_80234D38 /* 80234CBC 00231C1C B0 61 00 08 */ sth r3, 8(r1) /* 80234CC0 00231C20 7F E3 FB 78 */ mr r3, r31 /* 80234CC4 00231C24 38 81 00 08 */ addi r4, r1, 8 /* 80234CC8 00231C28 4B E1 78 DD */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80234CCC 00231C2C 7C 64 1B 78 */ mr r4, r3 /* 80234CD0 00231C30 38 61 00 14 */ addi r3, r1, 0x14 /* 80234CD4 00231C34 4B E7 18 79 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 80234CD8 00231C38 80 83 00 04 */ lwz r4, 4(r3) /* 80234CDC 00231C3C 28 04 00 00 */ cmplwi r4, 0 /* 80234CE0 00231C40 41 82 00 58 */ beq lbl_80234D38 /* 80234CE4 00231C44 38 7E 00 34 */ addi r3, r30, 0x34 /* 80234CE8 00231C48 38 84 00 34 */ addi r4, r4, 0x34 /* 80234CEC 00231C4C 48 0D DE 55 */ bl __as__12CTransform4fFRC12CTransform4f /* 80234CF0 00231C50 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 80234CF4 00231C54 38 60 00 01 */ li r3, 1 /* 80234CF8 00231C58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80234CFC 00231C5C 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 80234D00 00231C60 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 80234D04 00231C64 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80234D08 00231C68 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 80234D0C 00231C6C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 80234D10 00231C70 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80234D14 00231C74 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 80234D18 00231C78 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 80234D1C 00231C7C C0 3E 00 50 */ lfs f1, 0x50(r30) /* 80234D20 00231C80 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80234D24 00231C84 D0 1E 07 1C */ stfs f0, 0x71c(r30) /* 80234D28 00231C88 D0 3E 07 20 */ stfs f1, 0x720(r30) /* 80234D2C 00231C8C D0 5E 07 24 */ stfs f2, 0x724(r30) /* 80234D30 00231C90 48 00 00 08 */ b lbl_80234D38 lbl_80234D34: /* 80234D34 00231C94 48 00 15 D5 */ bl sub_80236308 lbl_80234D38: /* 80234D38 00231C98 80 01 00 34 */ lwz r0, 0x34(r1) /* 80234D3C 00231C9C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80234D40 00231CA0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80234D44 00231CA4 7C 08 03 A6 */ mtlr r0 /* 80234D48 00231CA8 38 21 00 30 */ addi r1, r1, 0x30 /* 80234D4C 00231CAC 4E 80 00 20 */ blr .global HasAttackPattern__10CMagdoliteFR13CStateManagerf HasAttackPattern__10CMagdoliteFR13CStateManagerf: /* 80234D50 00231CB0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80234D54 00231CB4 7C 08 02 A6 */ mflr r0 /* 80234D58 00231CB8 7C 85 23 78 */ mr r5, r4 /* 80234D5C 00231CBC 7C 64 1B 78 */ mr r4, r3 /* 80234D60 00231CC0 90 01 00 14 */ stw r0, 0x14(r1) /* 80234D64 00231CC4 38 61 00 08 */ addi r3, r1, 8 /* 80234D68 00231CC8 38 C0 00 0A */ li r6, 0xa /* 80234D6C 00231CCC 38 E0 00 06 */ li r7, 6 /* 80234D70 00231CD0 48 00 00 2D */ bl sub_80234d9c /* 80234D74 00231CD4 A0 81 00 08 */ lhz r4, 8(r1) /* 80234D78 00231CD8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80234D7C 00231CDC 7C 64 00 50 */ subf r3, r4, r0 /* 80234D80 00231CE0 7C 00 20 50 */ subf r0, r0, r4 /* 80234D84 00231CE4 7C 60 03 78 */ or r0, r3, r0 /* 80234D88 00231CE8 54 03 0F FE */ srwi r3, r0, 0x1f /* 80234D8C 00231CEC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80234D90 00231CF0 7C 08 03 A6 */ mtlr r0 /* 80234D94 00231CF4 38 21 00 10 */ addi r1, r1, 0x10 /* 80234D98 00231CF8 4E 80 00 20 */ blr .global sub_80234d9c sub_80234d9c: /* 80234D9C 00231CFC 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 80234DA0 00231D00 7C 08 02 A6 */ mflr r0 /* 80234DA4 00231D04 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80234DA8 00231D08 DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 80234DAC 00231D0C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 80234DB0 00231D10 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 80234DB4 00231D14 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 80234DB8 00231D18 DB A1 00 90 */ stfd f29, 0x90(r1) /* 80234DBC 00231D1C F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 80234DC0 00231D20 DB 81 00 80 */ stfd f28, 0x80(r1) /* 80234DC4 00231D24 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 /* 80234DC8 00231D28 DB 61 00 70 */ stfd f27, 0x70(r1) /* 80234DCC 00231D2C F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 /* 80234DD0 00231D30 BF 01 00 50 */ stmw r24, 0x50(r1) /* 80234DD4 00231D34 88 04 07 54 */ lbz r0, 0x754(r4) /* 80234DD8 00231D38 7C 99 23 78 */ mr r25, r4 /* 80234DDC 00231D3C C3 62 B7 2C */ lfs f27, lbl_805AD44C@sda21(r2) /* 80234DE0 00231D40 7C 78 1B 78 */ mr r24, r3 /* 80234DE4 00231D44 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80234DE8 00231D48 A3 ED A3 8C */ lhz r31, lbl_805A8F4C@sda21(r13) /* 80234DEC 00231D4C 7C BA 2B 78 */ mr r26, r5 /* 80234DF0 00231D50 7C DB 33 78 */ mr r27, r6 /* 80234DF4 00231D54 7C FC 3B 78 */ mr r28, r7 /* 80234DF8 00231D58 3B A0 00 00 */ li r29, 0 /* 80234DFC 00231D5C 41 82 00 10 */ beq lbl_80234E0C /* 80234E00 00231D60 C0 19 03 BC */ lfs f0, 0x3bc(r25) /* 80234E04 00231D64 EF E0 00 32 */ fmuls f31, f0, f0 /* 80234E08 00231D68 48 00 00 0C */ b lbl_80234E14 lbl_80234E0C: /* 80234E0C 00231D6C C0 19 03 00 */ lfs f0, 0x300(r25) /* 80234E10 00231D70 EF E0 00 32 */ fmuls f31, f0, f0 lbl_80234E14: /* 80234E14 00231D74 80 7A 08 4C */ lwz r3, 0x84c(r26) /* 80234E18 00231D78 83 D9 00 2C */ lwz r30, 0x2c(r25) /* 80234E1C 00231D7C C3 C3 00 40 */ lfs f30, 0x40(r3) /* 80234E20 00231D80 C3 A3 00 50 */ lfs f29, 0x50(r3) /* 80234E24 00231D84 C3 83 00 60 */ lfs f28, 0x60(r3) /* 80234E28 00231D88 48 00 00 D0 */ b lbl_80234EF8 lbl_80234E2C: /* 80234E2C 00231D8C 80 1E 00 00 */ lwz r0, 0(r30) /* 80234E30 00231D90 7C 1B 00 00 */ cmpw r27, r0 /* 80234E34 00231D94 40 82 00 C0 */ bne lbl_80234EF4 /* 80234E38 00231D98 80 1E 00 04 */ lwz r0, 4(r30) /* 80234E3C 00231D9C 7C 1C 00 00 */ cmpw r28, r0 /* 80234E40 00231DA0 40 82 00 B4 */ bne lbl_80234EF4 /* 80234E44 00231DA4 80 1E 00 08 */ lwz r0, 8(r30) /* 80234E48 00231DA8 7F 44 D3 78 */ mr r4, r26 /* 80234E4C 00231DAC 38 61 00 14 */ addi r3, r1, 0x14 /* 80234E50 00231DB0 38 A1 00 24 */ addi r5, r1, 0x24 /* 80234E54 00231DB4 90 01 00 24 */ stw r0, 0x24(r1) /* 80234E58 00231DB8 4B E1 30 C5 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 80234E5C 00231DBC A0 01 00 14 */ lhz r0, 0x14(r1) /* 80234E60 00231DC0 7F 43 D3 78 */ mr r3, r26 /* 80234E64 00231DC4 38 81 00 10 */ addi r4, r1, 0x10 /* 80234E68 00231DC8 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80234E6C 00231DCC B0 01 00 10 */ sth r0, 0x10(r1) /* 80234E70 00231DD0 4B E1 77 35 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80234E74 00231DD4 28 03 00 00 */ cmplwi r3, 0 /* 80234E78 00231DD8 41 82 00 7C */ beq lbl_80234EF4 /* 80234E7C 00231DDC 88 03 00 30 */ lbz r0, 0x30(r3) /* 80234E80 00231DE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80234E84 00231DE4 41 82 00 70 */ beq lbl_80234EF4 /* 80234E88 00231DE8 7C 64 1B 78 */ mr r4, r3 /* 80234E8C 00231DEC 38 61 00 30 */ addi r3, r1, 0x30 /* 80234E90 00231DF0 4B E7 16 BD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 80234E94 00231DF4 80 63 00 04 */ lwz r3, 4(r3) /* 80234E98 00231DF8 28 03 00 00 */ cmplwi r3, 0 /* 80234E9C 00231DFC 41 82 00 58 */ beq lbl_80234EF4 /* 80234EA0 00231E00 C0 23 00 50 */ lfs f1, 0x50(r3) /* 80234EA4 00231E04 3B BD 00 01 */ addi r29, r29, 1 /* 80234EA8 00231E08 C0 03 00 40 */ lfs f0, 0x40(r3) /* 80234EAC 00231E0C EC 41 E8 28 */ fsubs f2, f1, f29 /* 80234EB0 00231E10 C0 23 00 60 */ lfs f1, 0x60(r3) /* 80234EB4 00231E14 EC 60 F0 28 */ fsubs f3, f0, f30 /* 80234EB8 00231E18 EC 81 E0 28 */ fsubs f4, f1, f28 /* 80234EBC 00231E1C EC 02 00 B2 */ fmuls f0, f2, f2 /* 80234EC0 00231E20 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80234EC4 00231E24 EC 23 00 F2 */ fmuls f1, f3, f3 /* 80234EC8 00231E28 EC 44 01 32 */ fmuls f2, f4, f4 /* 80234ECC 00231E2C D0 61 00 38 */ stfs f3, 0x38(r1) /* 80234ED0 00231E30 EC 01 00 2A */ fadds f0, f1, f0 /* 80234ED4 00231E34 D0 81 00 40 */ stfs f4, 0x40(r1) /* 80234ED8 00231E38 EC 02 00 2A */ fadds f0, f2, f0 /* 80234EDC 00231E3C FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 80234EE0 00231E40 40 80 00 14 */ bge lbl_80234EF4 /* 80234EE4 00231E44 FC 00 D8 40 */ fcmpo cr0, f0, f27 /* 80234EE8 00231E48 40 80 00 0C */ bge lbl_80234EF4 /* 80234EEC 00231E4C A3 E1 00 1C */ lhz r31, 0x1c(r1) /* 80234EF0 00231E50 FF 60 00 90 */ fmr f27, f0 lbl_80234EF4: /* 80234EF4 00231E54 3B DE 00 0C */ addi r30, r30, 0xc lbl_80234EF8: /* 80234EF8 00231E58 80 19 00 24 */ lwz r0, 0x24(r25) /* 80234EFC 00231E5C 80 79 00 2C */ lwz r3, 0x2c(r25) /* 80234F00 00231E60 1C 00 00 0C */ mulli r0, r0, 0xc /* 80234F04 00231E64 7C 03 02 14 */ add r0, r3, r0 /* 80234F08 00231E68 7C 1E 00 40 */ cmplw r30, r0 /* 80234F0C 00231E6C 40 82 FF 20 */ bne lbl_80234E2C /* 80234F10 00231E70 88 19 07 54 */ lbz r0, 0x754(r25) /* 80234F14 00231E74 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80234F18 00231E78 40 82 00 C4 */ bne lbl_80234FDC /* 80234F1C 00231E7C 80 7A 09 00 */ lwz r3, 0x900(r26) /* 80234F20 00231E80 48 0D D6 01 */ bl Next__9CRandom16Fv /* 80234F24 00231E84 7C 03 EB D6 */ divw r0, r3, r29 /* 80234F28 00231E88 83 D9 00 2C */ lwz r30, 0x2c(r25) /* 80234F2C 00231E8C 7C 00 E9 D6 */ mullw r0, r0, r29 /* 80234F30 00231E90 7F A0 18 50 */ subf r29, r0, r3 /* 80234F34 00231E94 48 00 00 90 */ b lbl_80234FC4 lbl_80234F38: /* 80234F38 00231E98 80 1E 00 00 */ lwz r0, 0(r30) /* 80234F3C 00231E9C 7C 1B 00 00 */ cmpw r27, r0 /* 80234F40 00231EA0 40 82 00 80 */ bne lbl_80234FC0 /* 80234F44 00231EA4 80 1E 00 04 */ lwz r0, 4(r30) /* 80234F48 00231EA8 7C 1C 00 00 */ cmpw r28, r0 /* 80234F4C 00231EAC 40 82 00 74 */ bne lbl_80234FC0 /* 80234F50 00231EB0 80 1E 00 08 */ lwz r0, 8(r30) /* 80234F54 00231EB4 7F 44 D3 78 */ mr r4, r26 /* 80234F58 00231EB8 38 61 00 0C */ addi r3, r1, 0xc /* 80234F5C 00231EBC 38 A1 00 20 */ addi r5, r1, 0x20 /* 80234F60 00231EC0 90 01 00 20 */ stw r0, 0x20(r1) /* 80234F64 00231EC4 4B E1 2F B9 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 80234F68 00231EC8 A0 01 00 0C */ lhz r0, 0xc(r1) /* 80234F6C 00231ECC 7F 43 D3 78 */ mr r3, r26 /* 80234F70 00231ED0 38 81 00 08 */ addi r4, r1, 8 /* 80234F74 00231ED4 B0 01 00 18 */ sth r0, 0x18(r1) /* 80234F78 00231ED8 B0 01 00 08 */ sth r0, 8(r1) /* 80234F7C 00231EDC 4B E1 76 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80234F80 00231EE0 28 03 00 00 */ cmplwi r3, 0 /* 80234F84 00231EE4 41 82 00 3C */ beq lbl_80234FC0 /* 80234F88 00231EE8 88 03 00 30 */ lbz r0, 0x30(r3) /* 80234F8C 00231EEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80234F90 00231EF0 41 82 00 30 */ beq lbl_80234FC0 /* 80234F94 00231EF4 7C 64 1B 78 */ mr r4, r3 /* 80234F98 00231EF8 38 61 00 28 */ addi r3, r1, 0x28 /* 80234F9C 00231EFC 4B E7 15 B1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" /* 80234FA0 00231F00 80 03 00 04 */ lwz r0, 4(r3) /* 80234FA4 00231F04 28 00 00 00 */ cmplwi r0, 0 /* 80234FA8 00231F08 41 82 00 18 */ beq lbl_80234FC0 /* 80234FAC 00231F0C 2C 1D 00 00 */ cmpwi r29, 0 /* 80234FB0 00231F10 40 82 00 0C */ bne lbl_80234FBC /* 80234FB4 00231F14 A3 E1 00 18 */ lhz r31, 0x18(r1) /* 80234FB8 00231F18 48 00 00 24 */ b lbl_80234FDC lbl_80234FBC: /* 80234FBC 00231F1C 3B BD FF FF */ addi r29, r29, -1 lbl_80234FC0: /* 80234FC0 00231F20 3B DE 00 0C */ addi r30, r30, 0xc lbl_80234FC4: /* 80234FC4 00231F24 80 19 00 24 */ lwz r0, 0x24(r25) /* 80234FC8 00231F28 80 79 00 2C */ lwz r3, 0x2c(r25) /* 80234FCC 00231F2C 1C 00 00 0C */ mulli r0, r0, 0xc /* 80234FD0 00231F30 7C 03 02 14 */ add r0, r3, r0 /* 80234FD4 00231F34 7C 1E 00 40 */ cmplw r30, r0 /* 80234FD8 00231F38 40 82 FF 60 */ bne lbl_80234F38 lbl_80234FDC: /* 80234FDC 00231F3C B3 F8 00 00 */ sth r31, 0(r24) /* 80234FE0 00231F40 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 80234FE4 00231F44 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 80234FE8 00231F48 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 80234FEC 00231F4C CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 80234FF0 00231F50 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 80234FF4 00231F54 CB A1 00 90 */ lfd f29, 0x90(r1) /* 80234FF8 00231F58 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 /* 80234FFC 00231F5C CB 81 00 80 */ lfd f28, 0x80(r1) /* 80235000 00231F60 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 /* 80235004 00231F64 CB 61 00 70 */ lfd f27, 0x70(r1) /* 80235008 00231F68 BB 01 00 50 */ lmw r24, 0x50(r1) /* 8023500C 00231F6C 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80235010 00231F70 7C 08 03 A6 */ mtlr r0 /* 80235014 00231F74 38 21 00 C0 */ addi r1, r1, 0xc0 /* 80235018 00231F78 4E 80 00 20 */ blr .global InAttackPosition__10CMagdoliteFR13CStateManagerf InAttackPosition__10CMagdoliteFR13CStateManagerf: /* 8023501C 00231F7C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 80235020 00231F80 7C 08 02 A6 */ mflr r0 /* 80235024 00231F84 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80235028 00231F88 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 8023502C 00231F8C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 80235030 00231F90 DB C1 00 90 */ stfd f30, 0x90(r1) /* 80235034 00231F94 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 80235038 00231F98 DB A1 00 80 */ stfd f29, 0x80(r1) /* 8023503C 00231F9C F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 80235040 00231FA0 DB 81 00 70 */ stfd f28, 0x70(r1) /* 80235044 00231FA4 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 /* 80235048 00231FA8 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8023504C 00231FAC 93 C1 00 68 */ stw r30, 0x68(r1) /* 80235050 00231FB0 7C 7E 1B 78 */ mr r30, r3 /* 80235054 00231FB4 7C 9F 23 78 */ mr r31, r4 /* 80235058 00231FB8 C3 C3 00 60 */ lfs f30, 0x60(r3) /* 8023505C 00231FBC 38 61 00 14 */ addi r3, r1, 0x14 /* 80235060 00231FC0 C3 BE 00 50 */ lfs f29, 0x50(r30) /* 80235064 00231FC4 C3 9E 00 40 */ lfs f28, 0x40(r30) /* 80235068 00231FC8 80 8D 96 50 */ lwz r4, lbl_805A8210@sda21(r13) /* 8023506C 00231FCC 4B DC FC 4D */ bl string_l__4rstlFPCc /* 80235070 00231FD0 7F C4 F3 78 */ mr r4, r30 /* 80235074 00231FD4 38 61 00 30 */ addi r3, r1, 0x30 /* 80235078 00231FD8 38 A1 00 14 */ addi r5, r1, 0x14 /* 8023507C 00231FDC 4B E4 38 FD */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80235080 00231FE0 C3 E1 00 5C */ lfs f31, 0x5c(r1) /* 80235084 00231FE4 38 61 00 14 */ addi r3, r1, 0x14 /* 80235088 00231FE8 48 10 8A 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8023508C 00231FEC 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 80235090 00231FF0 7F E5 FB 78 */ mr r5, r31 /* 80235094 00231FF4 38 61 00 08 */ addi r3, r1, 8 /* 80235098 00231FF8 C0 22 B7 20 */ lfs f1, lbl_805AD440@sda21(r2) /* 8023509C 00231FFC 81 84 00 00 */ lwz r12, 0(r4) /* 802350A0 00232000 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802350A4 00232004 7D 89 03 A6 */ mtctr r12 /* 802350A8 00232008 4E 80 04 21 */ bctrl /* 802350AC 0023200C C0 61 00 10 */ lfs f3, 0x10(r1) /* 802350B0 00232010 C0 41 00 08 */ lfs f2, 8(r1) /* 802350B4 00232014 C0 21 00 0C */ lfs f1, 0xc(r1) /* 802350B8 00232018 EC 03 F0 28 */ fsubs f0, f3, f30 /* 802350BC 0023201C EC 42 E0 28 */ fsubs f2, f2, f28 /* 802350C0 00232020 EC 21 E8 28 */ fsubs f1, f1, f29 /* 802350C4 00232024 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 802350C8 00232028 FC 03 F0 40 */ fcmpo cr0, f3, f30 /* 802350CC 0023202C D0 41 00 24 */ stfs f2, 0x24(r1) /* 802350D0 00232030 D0 21 00 28 */ stfs f1, 0x28(r1) /* 802350D4 00232034 C3 9E 00 58 */ lfs f28, 0x58(r30) /* 802350D8 00232038 C3 BE 00 48 */ lfs f29, 0x48(r30) /* 802350DC 0023203C C3 DE 00 38 */ lfs f30, 0x38(r30) /* 802350E0 00232040 40 81 00 14 */ ble lbl_802350F4 /* 802350E4 00232044 FC 03 F8 40 */ fcmpo cr0, f3, f31 /* 802350E8 00232048 40 80 00 0C */ bge lbl_802350F4 /* 802350EC 0023204C C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 802350F0 00232050 D0 01 00 2C */ stfs f0, 0x2c(r1) lbl_802350F4: /* 802350F4 00232054 38 61 00 24 */ addi r3, r1, 0x24 /* 802350F8 00232058 48 0D F7 C1 */ bl Magnitude__9CVector3fCFv /* 802350FC 0023205C C0 42 B7 20 */ lfs f2, lbl_805AD440@sda21(r2) /* 80235100 00232060 C0 02 B7 30 */ lfs f0, lbl_805AD450@sda21(r2) /* 80235104 00232064 EC 41 10 28 */ fsubs f2, f1, f2 /* 80235108 00232068 FC 40 12 10 */ fabs f2, f2 /* 8023510C 0023206C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80235110 00232070 40 80 00 0C */ bge lbl_8023511C /* 80235114 00232074 38 60 00 00 */ li r3, 0 /* 80235118 00232078 48 00 00 54 */ b lbl_8023516C lbl_8023511C: /* 8023511C 0023207C C0 02 B7 34 */ lfs f0, lbl_805AD454@sda21(r2) /* 80235120 00232080 C0 41 00 28 */ lfs f2, 0x28(r1) /* 80235124 00232084 EC 80 08 24 */ fdivs f4, f0, f1 /* 80235128 00232088 C0 21 00 24 */ lfs f1, 0x24(r1) /* 8023512C 0023208C C0 01 00 2C */ lfs f0, 0x2c(r1) /* 80235130 00232090 EC 42 01 32 */ fmuls f2, f2, f4 /* 80235134 00232094 EC 61 01 32 */ fmuls f3, f1, f4 /* 80235138 00232098 EC 20 01 32 */ fmuls f1, f0, f4 /* 8023513C 0023209C EC 02 07 72 */ fmuls f0, f2, f29 /* 80235140 002320A0 D0 41 00 28 */ stfs f2, 0x28(r1) /* 80235144 002320A4 D0 61 00 24 */ stfs f3, 0x24(r1) /* 80235148 002320A8 EC 03 07 BA */ fmadds f0, f3, f30, f0 /* 8023514C 002320AC D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80235150 002320B0 EC 21 07 3A */ fmadds f1, f1, f28, f0 /* 80235154 002320B4 C0 1E 05 78 */ lfs f0, 0x578(r30) /* 80235158 002320B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023515C 002320BC 7C 00 00 26 */ mfcr r0 /* 80235160 002320C0 54 00 0F FE */ srwi r0, r0, 0x1f /* 80235164 002320C4 7C 00 00 34 */ cntlzw r0, r0 /* 80235168 002320C8 54 03 D9 7E */ srwi r3, r0, 5 lbl_8023516C: /* 8023516C 002320CC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 80235170 002320D0 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80235174 002320D4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 80235178 002320D8 CB C1 00 90 */ lfd f30, 0x90(r1) /* 8023517C 002320DC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 80235180 002320E0 CB A1 00 80 */ lfd f29, 0x80(r1) /* 80235184 002320E4 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 /* 80235188 002320E8 CB 81 00 70 */ lfd f28, 0x70(r1) /* 8023518C 002320EC 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80235190 002320F0 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80235194 002320F4 83 C1 00 68 */ lwz r30, 0x68(r1) /* 80235198 002320F8 7C 08 03 A6 */ mtlr r0 /* 8023519C 002320FC 38 21 00 B0 */ addi r1, r1, 0xb0 /* 802351A0 00232100 4E 80 00 20 */ blr .global LineOfSight__10CMagdoliteFR13CStateManagerf LineOfSight__10CMagdoliteFR13CStateManagerf: /* 802351A4 00232104 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 802351A8 00232108 7C 08 02 A6 */ mflr r0 /* 802351AC 0023210C 90 01 00 F4 */ stw r0, 0xf4(r1) /* 802351B0 00232110 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 802351B4 00232114 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 802351B8 00232118 DB C1 00 D0 */ stfd f30, 0xd0(r1) /* 802351BC 0023211C F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 /* 802351C0 00232120 DB A1 00 C0 */ stfd f29, 0xc0(r1) /* 802351C4 00232124 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 /* 802351C8 00232128 BF 41 00 A8 */ stmw r26, 0xa8(r1) /* 802351CC 0023212C 7C 9B 23 78 */ mr r27, r4 /* 802351D0 00232130 80 8D 96 4C */ lwz r4, lbl_805A820C@sda21(r13) /* 802351D4 00232134 7C 7A 1B 78 */ mr r26, r3 /* 802351D8 00232138 38 61 00 14 */ addi r3, r1, 0x14 /* 802351DC 0023213C 4B DC FA DD */ bl string_l__4rstlFPCc /* 802351E0 00232140 7F 44 D3 78 */ mr r4, r26 /* 802351E4 00232144 38 61 00 78 */ addi r3, r1, 0x78 /* 802351E8 00232148 38 A1 00 14 */ addi r5, r1, 0x14 /* 802351EC 0023214C 4B E4 37 8D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802351F0 00232150 C0 41 00 A4 */ lfs f2, 0xa4(r1) /* 802351F4 00232154 38 61 00 14 */ addi r3, r1, 0x14 /* 802351F8 00232158 C0 21 00 94 */ lfs f1, 0x94(r1) /* 802351FC 0023215C C0 01 00 84 */ lfs f0, 0x84(r1) /* 80235200 00232160 D0 21 00 40 */ stfs f1, 0x40(r1) /* 80235204 00232164 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80235208 00232168 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8023520C 0023216C 48 10 88 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80235210 00232170 C0 3A 07 10 */ lfs f1, 0x710(r26) /* 80235214 00232174 38 61 00 24 */ addi r3, r1, 0x24 /* 80235218 00232178 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 8023521C 0023217C D0 21 00 30 */ stfs f1, 0x30(r1) /* 80235220 00232180 C0 41 00 44 */ lfs f2, 0x44(r1) /* 80235224 00232184 EC 21 00 28 */ fsubs f1, f1, f0 /* 80235228 00232188 C0 7A 07 14 */ lfs f3, 0x714(r26) /* 8023522C 0023218C C0 01 00 40 */ lfs f0, 0x40(r1) /* 80235230 00232190 D0 61 00 34 */ stfs f3, 0x34(r1) /* 80235234 00232194 EC 83 00 28 */ fsubs f4, f3, f0 /* 80235238 00232198 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 8023523C 0023219C C0 7A 07 18 */ lfs f3, 0x718(r26) /* 80235240 002321A0 EC 43 10 28 */ fsubs f2, f3, f2 /* 80235244 002321A4 D0 61 00 38 */ stfs f3, 0x38(r1) /* 80235248 002321A8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 8023524C 002321AC D0 41 00 2C */ stfs f2, 0x2c(r1) /* 80235250 002321B0 D0 81 00 28 */ stfs f4, 0x28(r1) /* 80235254 002321B4 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80235258 002321B8 C3 BA 00 58 */ lfs f29, 0x58(r26) /* 8023525C 002321BC C3 DA 00 48 */ lfs f30, 0x48(r26) /* 80235260 002321C0 C3 FA 00 38 */ lfs f31, 0x38(r26) /* 80235264 002321C4 48 0D F4 95 */ bl CanBeNormalized__9CVector3fCFv /* 80235268 002321C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023526C 002321CC 41 82 00 48 */ beq lbl_802352B4 /* 80235270 002321D0 38 61 00 08 */ addi r3, r1, 8 /* 80235274 002321D4 38 81 00 24 */ addi r4, r1, 0x24 /* 80235278 002321D8 48 0D F5 D9 */ bl AsNormalized__9CVector3fCFv /* 8023527C 002321DC C0 41 00 0C */ lfs f2, 0xc(r1) /* 80235280 002321E0 C0 61 00 08 */ lfs f3, 8(r1) /* 80235284 002321E4 EC 02 07 B2 */ fmuls f0, f2, f30 /* 80235288 002321E8 C0 21 00 10 */ lfs f1, 0x10(r1) /* 8023528C 002321EC D0 61 00 24 */ stfs f3, 0x24(r1) /* 80235290 002321F0 EC 03 07 FA */ fmadds f0, f3, f31, f0 /* 80235294 002321F4 D0 41 00 28 */ stfs f2, 0x28(r1) /* 80235298 002321F8 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 8023529C 002321FC EC 21 07 7A */ fmadds f1, f1, f29, f0 /* 802352A0 00232200 C0 1A 05 78 */ lfs f0, 0x578(r26) /* 802352A4 00232204 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802352A8 00232208 40 80 00 0C */ bge lbl_802352B4 /* 802352AC 0023220C 38 60 00 00 */ li r3, 0 /* 802352B0 00232210 48 00 00 98 */ b lbl_80235348 lbl_802352B4: /* 802352B4 00232214 80 AD 96 68 */ lwz r5, lbl_805A8228@sda21(r13) /* 802352B8 00232218 38 60 00 00 */ li r3, 0 /* 802352BC 0023221C 38 80 00 01 */ li r4, 1 /* 802352C0 00232220 48 15 4C 35 */ bl __shl2i /* 802352C4 00232224 80 AD 96 6C */ lwz r5, lbl_805A822C@sda21(r13) /* 802352C8 00232228 7C 9E 23 78 */ mr r30, r4 /* 802352CC 0023222C 7C 7F 1B 78 */ mr r31, r3 /* 802352D0 00232230 38 60 00 00 */ li r3, 0 /* 802352D4 00232234 38 80 00 01 */ li r4, 1 /* 802352D8 00232238 48 15 4C 1D */ bl __shl2i /* 802352DC 0023223C 80 AD 96 60 */ lwz r5, lbl_805A8220@sda21(r13) /* 802352E0 00232240 7F DE 23 78 */ or r30, r30, r4 /* 802352E4 00232244 7F FF 1B 78 */ or r31, r31, r3 /* 802352E8 00232248 38 60 00 00 */ li r3, 0 /* 802352EC 0023224C 38 80 00 01 */ li r4, 1 /* 802352F0 00232250 48 15 4C 05 */ bl __shl2i /* 802352F4 00232254 80 AD 96 64 */ lwz r5, lbl_805A8224@sda21(r13) /* 802352F8 00232258 7C 9C 23 78 */ mr r28, r4 /* 802352FC 0023225C 7C 7D 1B 78 */ mr r29, r3 /* 80235300 00232260 38 60 00 00 */ li r3, 0 /* 80235304 00232264 38 80 00 01 */ li r4, 1 /* 80235308 00232268 48 15 4B ED */ bl __shl2i /* 8023530C 0023226C 7F 9C 23 78 */ or r28, r28, r4 /* 80235310 00232270 7F BD 1B 78 */ or r29, r29, r3 /* 80235314 00232274 38 00 00 03 */ li r0, 3 /* 80235318 00232278 93 81 00 64 */ stw r28, 0x64(r1) /* 8023531C 0023227C 7F 63 DB 78 */ mr r3, r27 /* 80235320 00232280 7F 47 D3 78 */ mr r7, r26 /* 80235324 00232284 90 01 00 58 */ stw r0, 0x58(r1) /* 80235328 00232288 38 81 00 3C */ addi r4, r1, 0x3c /* 8023532C 0023228C 38 A1 00 30 */ addi r5, r1, 0x30 /* 80235330 00232290 38 C1 00 60 */ addi r6, r1, 0x60 /* 80235334 00232294 93 A1 00 60 */ stw r29, 0x60(r1) /* 80235338 00232298 93 C1 00 6C */ stw r30, 0x6c(r1) /* 8023533C 0023229C 93 E1 00 68 */ stw r31, 0x68(r1) /* 80235340 002322A0 90 01 00 70 */ stw r0, 0x70(r1) /* 80235344 002322A4 4B E1 7A F9 */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor lbl_80235348: /* 80235348 002322A8 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 8023534C 002322AC CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 80235350 002322B0 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 /* 80235354 002322B4 CB C1 00 D0 */ lfd f30, 0xd0(r1) /* 80235358 002322B8 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 /* 8023535C 002322BC CB A1 00 C0 */ lfd f29, 0xc0(r1) /* 80235360 002322C0 BB 41 00 A8 */ lmw r26, 0xa8(r1) /* 80235364 002322C4 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80235368 002322C8 7C 08 03 A6 */ mtlr r0 /* 8023536C 002322CC 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80235370 002322D0 4E 80 00 20 */ blr .global Leash__10CMagdoliteFR13CStateManagerf Leash__10CMagdoliteFR13CStateManagerf: /* 80235374 002322D4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80235378 002322D8 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8023537C 002322DC C0 03 03 C8 */ lfs f0, 0x3c8(r3) /* 80235380 002322E0 C0 E4 00 50 */ lfs f7, 0x50(r4) /* 80235384 002322E4 C0 23 00 50 */ lfs f1, 0x50(r3) /* 80235388 002322E8 EC 00 00 32 */ fmuls f0, f0, f0 /* 8023538C 002322EC C0 44 00 40 */ lfs f2, 0x40(r4) /* 80235390 002322F0 EC C7 08 28 */ fsubs f6, f7, f1 /* 80235394 002322F4 C0 23 00 40 */ lfs f1, 0x40(r3) /* 80235398 002322F8 C1 04 00 60 */ lfs f8, 0x60(r4) /* 8023539C 002322FC EC 82 08 28 */ fsubs f4, f2, f1 /* 802353A0 00232300 C0 63 00 60 */ lfs f3, 0x60(r3) /* 802353A4 00232304 D0 41 00 08 */ stfs f2, 8(r1) /* 802353A8 00232308 EC A8 18 28 */ fsubs f5, f8, f3 /* 802353AC 0023230C EC 26 01 B2 */ fmuls f1, f6, f6 /* 802353B0 00232310 D0 E1 00 0C */ stfs f7, 0xc(r1) /* 802353B4 00232314 EC 44 01 32 */ fmuls f2, f4, f4 /* 802353B8 00232318 EC 65 01 72 */ fmuls f3, f5, f5 /* 802353BC 0023231C D1 01 00 10 */ stfs f8, 0x10(r1) /* 802353C0 00232320 EC 22 08 2A */ fadds f1, f2, f1 /* 802353C4 00232324 D0 81 00 14 */ stfs f4, 0x14(r1) /* 802353C8 00232328 D0 C1 00 18 */ stfs f6, 0x18(r1) /* 802353CC 0023232C EC 23 08 2A */ fadds f1, f3, f1 /* 802353D0 00232330 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 802353D4 00232334 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802353D8 00232338 7C 00 00 26 */ mfcr r0 /* 802353DC 0023233C 54 03 0F FE */ srwi r3, r0, 0x1f /* 802353E0 00232340 38 21 00 20 */ addi r1, r1, 0x20 /* 802353E4 00232344 4E 80 00 20 */ blr .global ShouldRetreat__10CMagdoliteFR13CStateManagerf ShouldRetreat__10CMagdoliteFR13CStateManagerf: /* 802353E8 00232348 88 03 07 54 */ lbz r0, 0x754(r3) /* 802353EC 0023234C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 802353F0 00232350 4E 80 00 20 */ blr .global Touch__10CMagdoliteFR6CActorR13CStateManager Touch__10CMagdoliteFR6CActorR13CStateManager: /* 802353F4 00232354 4E 80 00 20 */ blr .global Death__10CMagdoliteFRC9CVector3fR13CStateManager Death__10CMagdoliteFRC9CVector3fR13CStateManager: /* 802353F8 00232358 94 21 FF 70 */ stwu r1, -0x90(r1) /* 802353FC 0023235C 7C 08 02 A6 */ mflr r0 /* 80235400 00232360 90 01 00 94 */ stw r0, 0x94(r1) /* 80235404 00232364 93 E1 00 8C */ stw r31, 0x8c(r1) /* 80235408 00232368 7C DF 33 78 */ mr r31, r6 /* 8023540C 0023236C 93 C1 00 88 */ stw r30, 0x88(r1) /* 80235410 00232370 7C BE 2B 78 */ mr r30, r5 /* 80235414 00232374 93 A1 00 84 */ stw r29, 0x84(r1) /* 80235418 00232378 7C 9D 23 78 */ mr r29, r4 /* 8023541C 0023237C 93 81 00 80 */ stw r28, 0x80(r1) /* 80235420 00232380 7C 7C 1B 78 */ mr r28, r3 /* 80235424 00232384 88 03 04 00 */ lbz r0, 0x400(r3) /* 80235428 00232388 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023542C 0023238C 41 82 01 20 */ beq lbl_8023554C /* 80235430 00232390 38 61 00 48 */ addi r3, r1, 0x48 /* 80235434 00232394 38 9C 00 34 */ addi r4, r28, 0x34 /* 80235438 00232398 48 0D D7 3D */ bl __ct__12CTransform4fFRC12CTransform4f /* 8023543C 0023239C 80 8D 96 50 */ lwz r4, lbl_805A8210@sda21(r13) /* 80235440 002323A0 38 61 00 08 */ addi r3, r1, 8 /* 80235444 002323A4 4B DC F8 75 */ bl string_l__4rstlFPCc /* 80235448 002323A8 7F 84 E3 78 */ mr r4, r28 /* 8023544C 002323AC 38 61 00 18 */ addi r3, r1, 0x18 /* 80235450 002323B0 38 A1 00 08 */ addi r5, r1, 8 /* 80235454 002323B4 4B E4 35 25 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80235458 002323B8 38 7C 00 34 */ addi r3, r28, 0x34 /* 8023545C 002323BC 38 81 00 18 */ addi r4, r1, 0x18 /* 80235460 002323C0 48 0D D6 E1 */ bl __as__12CTransform4fFRC12CTransform4f /* 80235464 002323C4 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80235468 002323C8 38 80 00 01 */ li r4, 1 /* 8023546C 002323CC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80235470 002323D0 38 61 00 08 */ addi r3, r1, 8 /* 80235474 002323D4 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80235478 002323D8 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 8023547C 002323DC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c /* 80235480 002323E0 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80235484 002323E4 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80235488 002323E8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d /* 8023548C 002323EC 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80235490 002323F0 48 10 86 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80235494 002323F4 7F 83 E3 78 */ mr r3, r28 /* 80235498 002323F8 7F A5 EB 78 */ mr r5, r29 /* 8023549C 002323FC 38 80 00 13 */ li r4, 0x13 /* 802354A0 00232400 38 C0 FF FF */ li r6, -1 /* 802354A4 00232404 4B E1 BC 1D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 802354A8 00232408 7F 83 E3 78 */ mr r3, r28 /* 802354AC 0023240C 7F A4 EB 78 */ mr r4, r29 /* 802354B0 00232410 4B E4 5B 29 */ bl GenerateDeathExplosion__10CPatternedFR13CStateManager /* 802354B4 00232414 38 7C 00 34 */ addi r3, r28, 0x34 /* 802354B8 00232418 38 81 00 48 */ addi r4, r1, 0x48 /* 802354BC 0023241C 48 0D D6 85 */ bl __as__12CTransform4fFRC12CTransform4f /* 802354C0 00232420 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802354C4 00232424 38 60 00 01 */ li r3, 1 /* 802354C8 00232428 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 802354CC 0023242C 38 9C 06 90 */ addi r4, r28, 0x690 /* 802354D0 00232430 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802354D4 00232434 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802354D8 00232438 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802354DC 0023243C 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802354E0 00232440 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 802354E4 00232444 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 802354E8 00232448 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 802354EC 0023244C 80 7C 00 64 */ lwz r3, 0x64(r28) /* 802354F0 00232450 80 63 00 10 */ lwz r3, 0x10(r3) /* 802354F4 00232454 4B DF 8B A9 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" /* 802354F8 00232458 88 1C 04 E1 */ lbz r0, 0x4e1(r28) /* 802354FC 0023245C 38 60 00 00 */ li r3, 0 /* 80235500 00232460 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80235504 00232464 98 1C 04 E1 */ stb r0, 0x4e1(r28) /* 80235508 00232468 80 7C 04 50 */ lwz r3, 0x450(r28) /* 8023550C 0023246C 4B F0 4C 49 */ bl UnFreeze__15CBodyControllerFv /* 80235510 00232470 88 1C 07 54 */ lbz r0, 0x754(r28) /* 80235514 00232474 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80235518 00232478 40 82 00 10 */ bne lbl_80235528 /* 8023551C 0023247C 38 00 00 02 */ li r0, 2 /* 80235520 00232480 90 1C 04 DC */ stw r0, 0x4dc(r28) /* 80235524 00232484 48 00 00 14 */ b lbl_80235538 lbl_80235528: /* 80235528 00232488 80 7C 00 64 */ lwz r3, 0x64(r28) /* 8023552C 0023248C 38 9C 06 90 */ addi r4, r28, 0x690 /* 80235530 00232490 80 63 00 10 */ lwz r3, 0x10(r3) /* 80235534 00232494 4B DF 8B 69 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" lbl_80235538: /* 80235538 00232498 7F 83 E3 78 */ mr r3, r28 /* 8023553C 0023249C 7F A4 EB 78 */ mr r4, r29 /* 80235540 002324A0 7F C5 F3 78 */ mr r5, r30 /* 80235544 002324A4 7F E6 FB 78 */ mr r6, r31 /* 80235548 002324A8 4B E4 5E 5D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState lbl_8023554C: /* 8023554C 002324AC 80 01 00 94 */ lwz r0, 0x94(r1) /* 80235550 002324B0 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 80235554 002324B4 83 C1 00 88 */ lwz r30, 0x88(r1) /* 80235558 002324B8 83 A1 00 84 */ lwz r29, 0x84(r1) /* 8023555C 002324BC 83 81 00 80 */ lwz r28, 0x80(r1) /* 80235560 002324C0 7C 08 03 A6 */ mtlr r0 /* 80235564 002324C4 38 21 00 90 */ addi r1, r1, 0x90 /* 80235568 002324C8 4E 80 00 20 */ blr .global Deactivate__10CMagdoliteFR13CStateManager9EStateMsgf Deactivate__10CMagdoliteFR13CStateManager9EStateMsgf: /* 8023556C 002324CC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80235570 002324D0 7C 08 02 A6 */ mflr r0 /* 80235574 002324D4 2C 05 00 01 */ cmpwi r5, 1 /* 80235578 002324D8 90 01 00 24 */ stw r0, 0x24(r1) /* 8023557C 002324DC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80235580 002324E0 7C 7F 1B 78 */ mr r31, r3 /* 80235584 002324E4 41 82 00 48 */ beq lbl_802355CC /* 80235588 002324E8 40 80 00 10 */ bge lbl_80235598 /* 8023558C 002324EC 2C 05 00 00 */ cmpwi r5, 0 /* 80235590 002324F0 40 80 00 14 */ bge lbl_802355A4 /* 80235594 002324F4 48 00 00 8C */ b lbl_80235620 lbl_80235598: /* 80235598 002324F8 2C 05 00 03 */ cmpwi r5, 3 /* 8023559C 002324FC 40 80 00 84 */ bge lbl_80235620 /* 802355A0 00232500 48 00 00 78 */ b lbl_80235618 lbl_802355A4: /* 802355A4 00232504 38 00 00 01 */ li r0, 1 /* 802355A8 00232508 38 A0 00 00 */ li r5, 0 /* 802355AC 0023250C 90 1F 03 2C */ stw r0, 0x32c(r31) /* 802355B0 00232510 38 7F 05 84 */ addi r3, r31, 0x584 /* 802355B4 00232514 38 80 00 00 */ li r4, 0 /* 802355B8 00232518 88 1F 07 54 */ lbz r0, 0x754(r31) /* 802355BC 0023251C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 802355C0 00232520 98 1F 07 54 */ stb r0, 0x754(r31) /* 802355C4 00232524 4B F3 FC 61 */ bl SetActive__13CBoneTrackingFb /* 802355C8 00232528 48 00 00 58 */ b lbl_80235620 lbl_802355CC: /* 802355CC 0023252C 3C A0 80 3F */ lis r5, lbl_803E8234@ha /* 802355D0 00232530 38 C1 00 08 */ addi r6, r1, 8 /* 802355D4 00232534 39 45 82 34 */ addi r10, r5, lbl_803E8234@l /* 802355D8 00232538 38 A0 00 03 */ li r5, 3 /* 802355DC 0023253C 81 2A 00 00 */ lwz r9, 0(r10) /* 802355E0 00232540 38 E0 00 05 */ li r7, 5 /* 802355E4 00232544 81 0A 00 04 */ lwz r8, 4(r10) /* 802355E8 00232548 80 0A 00 08 */ lwz r0, 8(r10) /* 802355EC 0023254C 91 21 00 08 */ stw r9, 8(r1) /* 802355F0 00232550 91 01 00 0C */ stw r8, 0xc(r1) /* 802355F4 00232554 90 01 00 10 */ stw r0, 0x10(r1) /* 802355F8 00232558 4B E4 71 BD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 802355FC 0023255C 80 1F 03 2C */ lwz r0, 0x32c(r31) /* 80235600 00232560 2C 00 00 02 */ cmpwi r0, 2 /* 80235604 00232564 40 82 00 1C */ bne lbl_80235620 /* 80235608 00232568 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8023560C 0023256C 38 80 00 07 */ li r4, 7 /* 80235610 00232570 4B F0 53 C9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80235614 00232574 48 00 00 0C */ b lbl_80235620 lbl_80235618: /* 80235618 00232578 38 00 00 00 */ li r0, 0 /* 8023561C 0023257C 90 1F 03 2C */ stw r0, 0x32c(r31) lbl_80235620: /* 80235620 00232580 80 01 00 24 */ lwz r0, 0x24(r1) /* 80235624 00232584 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80235628 00232588 7C 08 03 A6 */ mtlr r0 /* 8023562C 0023258C 38 21 00 20 */ addi r1, r1, 0x20 /* 80235630 00232590 4E 80 00 20 */ blr .global GetUp__10CMagdoliteFR13CStateManager9EStateMsgf GetUp__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235634 00232594 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80235638 00232598 7C 08 02 A6 */ mflr r0 /* 8023563C 0023259C 2C 05 00 01 */ cmpwi r5, 1 /* 80235640 002325A0 90 01 00 34 */ stw r0, 0x34(r1) /* 80235644 002325A4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80235648 002325A8 7C 7F 1B 78 */ mr r31, r3 /* 8023564C 002325AC 41 82 00 58 */ beq lbl_802356A4 /* 80235650 002325B0 40 80 00 10 */ bge lbl_80235660 /* 80235654 002325B4 2C 05 00 00 */ cmpwi r5, 0 /* 80235658 002325B8 40 80 00 14 */ bge lbl_8023566C /* 8023565C 002325BC 48 00 00 E8 */ b lbl_80235744 lbl_80235660: /* 80235660 002325C0 2C 05 00 03 */ cmpwi r5, 3 /* 80235664 002325C4 40 80 00 E0 */ bge lbl_80235744 /* 80235668 002325C8 48 00 00 C8 */ b lbl_80235730 lbl_8023566C: /* 8023566C 002325CC 39 00 00 01 */ li r8, 1 /* 80235670 002325D0 38 E0 00 00 */ li r7, 0 /* 80235674 002325D4 91 1F 03 2C */ stw r8, 0x32c(r31) /* 80235678 002325D8 7C 86 23 78 */ mr r6, r4 /* 8023567C 002325DC 38 80 00 29 */ li r4, 0x29 /* 80235680 002325E0 38 A0 00 28 */ li r5, 0x28 /* 80235684 002325E4 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235688 002325E8 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 8023568C 002325EC 98 1F 07 54 */ stb r0, 0x754(r31) /* 80235690 002325F0 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235694 002325F4 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c /* 80235698 002325F8 98 1F 07 54 */ stb r0, 0x754(r31) /* 8023569C 002325FC 4B E1 EC 19 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 802356A0 00232600 48 00 00 A4 */ b lbl_80235744 lbl_802356A4: /* 802356A4 00232604 88 1F 07 54 */ lbz r0, 0x754(r31) /* 802356A8 00232608 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802356AC 0023260C 41 82 00 38 */ beq lbl_802356E4 /* 802356B0 00232610 3C A0 80 3F */ lis r5, lbl_803E821C@ha /* 802356B4 00232614 38 C1 00 14 */ addi r6, r1, 0x14 /* 802356B8 00232618 39 45 82 1C */ addi r10, r5, lbl_803E821C@l /* 802356BC 0023261C 38 A0 00 03 */ li r5, 3 /* 802356C0 00232620 81 2A 00 00 */ lwz r9, 0(r10) /* 802356C4 00232624 38 E0 00 04 */ li r7, 4 /* 802356C8 00232628 81 0A 00 04 */ lwz r8, 4(r10) /* 802356CC 0023262C 80 0A 00 08 */ lwz r0, 8(r10) /* 802356D0 00232630 91 21 00 14 */ stw r9, 0x14(r1) /* 802356D4 00232634 91 01 00 18 */ stw r8, 0x18(r1) /* 802356D8 00232638 90 01 00 1C */ stw r0, 0x1c(r1) /* 802356DC 0023263C 4B E4 70 D9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 802356E0 00232640 48 00 00 34 */ b lbl_80235714 lbl_802356E4: /* 802356E4 00232644 3C A0 80 3F */ lis r5, lbl_803E8228@ha /* 802356E8 00232648 38 C1 00 08 */ addi r6, r1, 8 /* 802356EC 0023264C 39 45 82 28 */ addi r10, r5, lbl_803E8228@l /* 802356F0 00232650 38 A0 00 03 */ li r5, 3 /* 802356F4 00232654 81 2A 00 00 */ lwz r9, 0(r10) /* 802356F8 00232658 38 E0 00 00 */ li r7, 0 /* 802356FC 0023265C 81 0A 00 04 */ lwz r8, 4(r10) /* 80235700 00232660 80 0A 00 08 */ lwz r0, 8(r10) /* 80235704 00232664 91 21 00 08 */ stw r9, 8(r1) /* 80235708 00232668 91 01 00 0C */ stw r8, 0xc(r1) /* 8023570C 0023266C 90 01 00 10 */ stw r0, 0x10(r1) /* 80235710 00232670 4B E4 70 A5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi lbl_80235714: /* 80235714 00232674 80 1F 03 2C */ lwz r0, 0x32c(r31) /* 80235718 00232678 2C 00 00 02 */ cmpwi r0, 2 /* 8023571C 0023267C 40 82 00 28 */ bne lbl_80235744 /* 80235720 00232680 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80235724 00232684 38 80 00 02 */ li r4, 2 /* 80235728 00232688 4B F0 52 B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8023572C 0023268C 48 00 00 18 */ b lbl_80235744 lbl_80235730: /* 80235730 00232690 38 60 00 00 */ li r3, 0 /* 80235734 00232694 90 7F 03 2C */ stw r3, 0x32c(r31) /* 80235738 00232698 88 1F 07 54 */ lbz r0, 0x754(r31) /* 8023573C 0023269C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80235740 002326A0 98 1F 07 54 */ stb r0, 0x754(r31) lbl_80235744: /* 80235744 002326A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80235748 002326A8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023574C 002326AC 7C 08 03 A6 */ mtlr r0 /* 80235750 002326B0 38 21 00 30 */ addi r1, r1, 0x30 /* 80235754 002326B4 4E 80 00 20 */ blr .global Generate__10CMagdoliteFR13CStateManager9EStateMsgf Generate__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235758 002326B8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023575C 002326BC 7C 08 02 A6 */ mflr r0 /* 80235760 002326C0 2C 05 00 01 */ cmpwi r5, 1 /* 80235764 002326C4 90 01 00 24 */ stw r0, 0x24(r1) /* 80235768 002326C8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023576C 002326CC 7C 7F 1B 78 */ mr r31, r3 /* 80235770 002326D0 41 82 00 3C */ beq lbl_802357AC /* 80235774 002326D4 40 80 00 10 */ bge lbl_80235784 /* 80235778 002326D8 2C 05 00 00 */ cmpwi r5, 0 /* 8023577C 002326DC 40 80 00 14 */ bge lbl_80235790 /* 80235780 002326E0 48 00 00 80 */ b lbl_80235800 lbl_80235784: /* 80235784 002326E4 2C 05 00 03 */ cmpwi r5, 3 /* 80235788 002326E8 40 80 00 78 */ bge lbl_80235800 /* 8023578C 002326EC 48 00 00 6C */ b lbl_802357F8 lbl_80235790: /* 80235790 002326F0 38 00 00 01 */ li r0, 1 /* 80235794 002326F4 38 60 00 00 */ li r3, 0 /* 80235798 002326F8 90 1F 03 2C */ stw r0, 0x32c(r31) /* 8023579C 002326FC 88 1F 07 54 */ lbz r0, 0x754(r31) /* 802357A0 00232700 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802357A4 00232704 98 1F 07 54 */ stb r0, 0x754(r31) /* 802357A8 00232708 48 00 00 58 */ b lbl_80235800 lbl_802357AC: /* 802357AC 0023270C 3C A0 80 3F */ lis r5, lbl_803E8210@ha /* 802357B0 00232710 38 C1 00 08 */ addi r6, r1, 8 /* 802357B4 00232714 39 45 82 10 */ addi r10, r5, lbl_803E8210@l /* 802357B8 00232718 38 A0 00 0C */ li r5, 0xc /* 802357BC 0023271C 81 2A 00 00 */ lwz r9, 0(r10) /* 802357C0 00232720 38 E0 00 00 */ li r7, 0 /* 802357C4 00232724 81 0A 00 04 */ lwz r8, 4(r10) /* 802357C8 00232728 80 0A 00 08 */ lwz r0, 8(r10) /* 802357CC 0023272C 91 21 00 08 */ stw r9, 8(r1) /* 802357D0 00232730 91 01 00 0C */ stw r8, 0xc(r1) /* 802357D4 00232734 90 01 00 10 */ stw r0, 0x10(r1) /* 802357D8 00232738 4B E4 6F DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 802357DC 0023273C 80 1F 03 2C */ lwz r0, 0x32c(r31) /* 802357E0 00232740 2C 00 00 02 */ cmpwi r0, 2 /* 802357E4 00232744 40 82 00 1C */ bne lbl_80235800 /* 802357E8 00232748 80 7F 04 50 */ lwz r3, 0x450(r31) /* 802357EC 0023274C 38 80 00 01 */ li r4, 1 /* 802357F0 00232750 4B F0 51 E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 802357F4 00232754 48 00 00 0C */ b lbl_80235800 lbl_802357F8: /* 802357F8 00232758 38 00 00 00 */ li r0, 0 /* 802357FC 0023275C 90 1F 03 2C */ stw r0, 0x32c(r31) lbl_80235800: /* 80235800 00232760 80 01 00 24 */ lwz r0, 0x24(r1) /* 80235804 00232764 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80235808 00232768 7C 08 03 A6 */ mtlr r0 /* 8023580C 0023276C 38 21 00 20 */ addi r1, r1, 0x20 /* 80235810 00232770 4E 80 00 20 */ blr .global Retreat__10CMagdoliteFR13CStateManager9EStateMsgf Retreat__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235814 00232774 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80235818 00232778 7C 08 02 A6 */ mflr r0 /* 8023581C 0023277C 2C 05 00 01 */ cmpwi r5, 1 /* 80235820 00232780 90 01 00 34 */ stw r0, 0x34(r1) /* 80235824 00232784 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80235828 00232788 7C 7F 1B 78 */ mr r31, r3 /* 8023582C 0023278C 41 82 00 90 */ beq lbl_802358BC /* 80235830 00232790 40 80 00 10 */ bge lbl_80235840 /* 80235834 00232794 2C 05 00 00 */ cmpwi r5, 0 /* 80235838 00232798 40 80 00 14 */ bge lbl_8023584C /* 8023583C 0023279C 48 00 00 E0 */ b lbl_8023591C lbl_80235840: /* 80235840 002327A0 2C 05 00 03 */ cmpwi r5, 3 /* 80235844 002327A4 40 80 00 D8 */ bge lbl_8023591C /* 80235848 002327A8 48 00 00 C0 */ b lbl_80235908 lbl_8023584C: /* 8023584C 002327AC 38 00 00 01 */ li r0, 1 /* 80235850 002327B0 38 A0 00 00 */ li r5, 0 /* 80235854 002327B4 90 1F 03 2C */ stw r0, 0x32c(r31) /* 80235858 002327B8 38 7F 05 84 */ addi r3, r31, 0x584 /* 8023585C 002327BC 38 80 00 00 */ li r4, 0 /* 80235860 002327C0 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235864 002327C4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80235868 002327C8 98 1F 07 54 */ stb r0, 0x754(r31) /* 8023586C 002327CC 4B F3 F9 B9 */ bl SetActive__13CBoneTrackingFb /* 80235870 002327D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 80235874 002327D4 38 00 00 0C */ li r0, 0xc /* 80235878 002327D8 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l /* 8023587C 002327DC 90 01 00 0C */ stw r0, 0xc(r1) /* 80235880 002327E0 38 81 00 08 */ addi r4, r1, 8 /* 80235884 002327E4 90 61 00 08 */ stw r3, 8(r1) /* 80235888 002327E8 80 7F 04 50 */ lwz r3, 0x450(r31) /* 8023588C 002327EC 38 63 00 04 */ addi r3, r3, 4 /* 80235890 002327F0 4B EF BF 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd /* 80235894 002327F4 34 01 00 08 */ addic. r0, r1, 8 /* 80235898 002327F8 41 82 00 10 */ beq lbl_802358A8 /* 8023589C 002327FC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha /* 802358A0 00232800 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l /* 802358A4 00232804 90 01 00 08 */ stw r0, 8(r1) lbl_802358A8: /* 802358A8 00232808 88 1F 07 54 */ lbz r0, 0x754(r31) /* 802358AC 0023280C 38 60 00 01 */ li r3, 1 /* 802358B0 00232810 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802358B4 00232814 98 1F 07 54 */ stb r0, 0x754(r31) /* 802358B8 00232818 48 00 00 64 */ b lbl_8023591C lbl_802358BC: /* 802358BC 0023281C 3C A0 80 3F */ lis r5, lbl_803E8204@ha /* 802358C0 00232820 38 C1 00 10 */ addi r6, r1, 0x10 /* 802358C4 00232824 39 45 82 04 */ addi r10, r5, lbl_803E8204@l /* 802358C8 00232828 38 A0 00 0C */ li r5, 0xc /* 802358CC 0023282C 81 2A 00 00 */ lwz r9, 0(r10) /* 802358D0 00232830 38 E0 00 01 */ li r7, 1 /* 802358D4 00232834 81 0A 00 04 */ lwz r8, 4(r10) /* 802358D8 00232838 80 0A 00 08 */ lwz r0, 8(r10) /* 802358DC 0023283C 91 21 00 10 */ stw r9, 0x10(r1) /* 802358E0 00232840 91 01 00 14 */ stw r8, 0x14(r1) /* 802358E4 00232844 90 01 00 18 */ stw r0, 0x18(r1) /* 802358E8 00232848 4B E4 6E CD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 802358EC 0023284C 80 1F 03 2C */ lwz r0, 0x32c(r31) /* 802358F0 00232850 2C 00 00 02 */ cmpwi r0, 2 /* 802358F4 00232854 40 82 00 28 */ bne lbl_8023591C /* 802358F8 00232858 80 7F 04 50 */ lwz r3, 0x450(r31) /* 802358FC 0023285C 38 80 00 07 */ li r4, 7 /* 80235900 00232860 4B F0 50 D9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80235904 00232864 48 00 00 18 */ b lbl_8023591C lbl_80235908: /* 80235908 00232868 88 1F 07 54 */ lbz r0, 0x754(r31) /* 8023590C 0023286C 38 60 00 00 */ li r3, 0 /* 80235910 00232870 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80235914 00232874 98 1F 07 54 */ stb r0, 0x754(r31) /* 80235918 00232878 90 7F 03 2C */ stw r3, 0x32c(r31) lbl_8023591C: /* 8023591C 0023287C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80235920 00232880 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80235924 00232884 7C 08 03 A6 */ mtlr r0 /* 80235928 00232888 38 21 00 30 */ addi r1, r1, 0x30 /* 8023592C 0023288C 4E 80 00 20 */ blr .global Flinch__10CMagdoliteFR13CStateManager9EStateMsgf Flinch__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235930 00232890 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80235934 00232894 7C 08 02 A6 */ mflr r0 /* 80235938 00232898 2C 05 00 01 */ cmpwi r5, 1 /* 8023593C 0023289C 7C 66 1B 78 */ mr r6, r3 /* 80235940 002328A0 90 01 00 24 */ stw r0, 0x24(r1) /* 80235944 002328A4 41 82 00 48 */ beq lbl_8023598C /* 80235948 002328A8 40 80 00 10 */ bge lbl_80235958 /* 8023594C 002328AC 2C 05 00 00 */ cmpwi r5, 0 /* 80235950 002328B0 40 80 00 14 */ bge lbl_80235964 /* 80235954 002328B4 48 00 00 74 */ b lbl_802359C8 lbl_80235958: /* 80235958 002328B8 2C 05 00 03 */ cmpwi r5, 3 /* 8023595C 002328BC 40 80 00 6C */ bge lbl_802359C8 /* 80235960 002328C0 48 00 00 60 */ b lbl_802359C0 lbl_80235964: /* 80235964 002328C4 38 00 00 01 */ li r0, 1 /* 80235968 002328C8 38 A0 00 00 */ li r5, 0 /* 8023596C 002328CC 90 06 03 2C */ stw r0, 0x32c(r6) /* 80235970 002328D0 38 66 05 84 */ addi r3, r6, 0x584 /* 80235974 002328D4 38 80 00 00 */ li r4, 0 /* 80235978 002328D8 88 06 04 00 */ lbz r0, 0x400(r6) /* 8023597C 002328DC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 80235980 002328E0 98 06 04 00 */ stb r0, 0x400(r6) /* 80235984 002328E4 4B F3 F8 A1 */ bl SetActive__13CBoneTrackingFb /* 80235988 002328E8 48 00 00 40 */ b lbl_802359C8 lbl_8023598C: /* 8023598C 002328EC 3C A0 80 3F */ lis r5, lbl_803E81F8@ha /* 80235990 002328F0 38 C1 00 08 */ addi r6, r1, 8 /* 80235994 002328F4 39 45 81 F8 */ addi r10, r5, lbl_803E81F8@l /* 80235998 002328F8 38 A0 00 06 */ li r5, 6 /* 8023599C 002328FC 81 2A 00 00 */ lwz r9, 0(r10) /* 802359A0 00232900 38 E0 00 00 */ li r7, 0 /* 802359A4 00232904 81 0A 00 04 */ lwz r8, 4(r10) /* 802359A8 00232908 80 0A 00 08 */ lwz r0, 8(r10) /* 802359AC 0023290C 91 21 00 08 */ stw r9, 8(r1) /* 802359B0 00232910 91 01 00 0C */ stw r8, 0xc(r1) /* 802359B4 00232914 90 01 00 10 */ stw r0, 0x10(r1) /* 802359B8 00232918 4B E4 6D FD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 802359BC 0023291C 48 00 00 0C */ b lbl_802359C8 lbl_802359C0: /* 802359C0 00232920 38 00 00 00 */ li r0, 0 /* 802359C4 00232924 90 06 03 2C */ stw r0, 0x32c(r6) lbl_802359C8: /* 802359C8 00232928 80 01 00 24 */ lwz r0, 0x24(r1) /* 802359CC 0023292C 7C 08 03 A6 */ mtlr r0 /* 802359D0 00232930 38 21 00 20 */ addi r1, r1, 0x20 /* 802359D4 00232934 4E 80 00 20 */ blr .global ProjectileAttack__10CMagdoliteFR13CStateManager9EStateMsgf ProjectileAttack__10CMagdoliteFR13CStateManager9EStateMsgf: /* 802359D8 00232938 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802359DC 0023293C 7C 08 02 A6 */ mflr r0 /* 802359E0 00232940 2C 05 00 01 */ cmpwi r5, 1 /* 802359E4 00232944 90 01 00 44 */ stw r0, 0x44(r1) /* 802359E8 00232948 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802359EC 0023294C 7C 7F 1B 78 */ mr r31, r3 /* 802359F0 00232950 93 C1 00 38 */ stw r30, 0x38(r1) /* 802359F4 00232954 7C 9E 23 78 */ mr r30, r4 /* 802359F8 00232958 41 82 00 68 */ beq lbl_80235A60 /* 802359FC 0023295C 40 80 00 10 */ bge lbl_80235A0C /* 80235A00 00232960 2C 05 00 00 */ cmpwi r5, 0 /* 80235A04 00232964 40 80 00 14 */ bge lbl_80235A18 /* 80235A08 00232968 48 00 01 4C */ b lbl_80235B54 lbl_80235A0C: /* 80235A0C 0023296C 2C 05 00 03 */ cmpwi r5, 3 /* 80235A10 00232970 40 80 01 44 */ bge lbl_80235B54 /* 80235A14 00232974 48 00 00 EC */ b lbl_80235B00 lbl_80235A18: /* 80235A18 00232978 38 00 00 01 */ li r0, 1 /* 80235A1C 0023297C 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235A20 00232980 90 1F 03 2C */ stw r0, 0x32c(r31) /* 80235A24 00232984 38 80 00 01 */ li r4, 1 /* 80235A28 00232988 4B F3 F7 FD */ bl SetActive__13CBoneTrackingFb /* 80235A2C 0023298C 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235A30 00232990 38 80 00 01 */ li r4, 1 /* 80235A34 00232994 4B F3 F7 75 */ bl SetNoHorizontalAim__13CBoneTrackingFb /* 80235A38 00232998 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80235A3C 0023299C 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235A40 002329A0 38 81 00 10 */ addi r4, r1, 0x10 /* 80235A44 002329A4 B0 01 00 10 */ sth r0, 0x10(r1) /* 80235A48 002329A8 4B F3 F7 D1 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 80235A4C 002329AC 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235A50 002329B0 38 60 00 01 */ li r3, 1 /* 80235A54 002329B4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80235A58 002329B8 98 1F 07 54 */ stb r0, 0x754(r31) /* 80235A5C 002329BC 48 00 00 F8 */ b lbl_80235B54 lbl_80235A60: /* 80235A60 002329C0 81 83 00 00 */ lwz r12, 0(r3) /* 80235A64 002329C4 C0 22 B7 20 */ lfs f1, lbl_805AD440@sda21(r2) /* 80235A68 002329C8 81 8C 01 9C */ lwz r12, 0x19c(r12) /* 80235A6C 002329CC 7D 89 03 A6 */ mtctr r12 /* 80235A70 002329D0 4E 80 04 21 */ bctrl /* 80235A74 002329D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80235A78 002329D8 41 82 00 40 */ beq lbl_80235AB8 /* 80235A7C 002329DC 3C 80 80 3F */ lis r4, lbl_803E81E0@ha /* 80235A80 002329E0 7F E3 FB 78 */ mr r3, r31 /* 80235A84 002329E4 38 E4 81 E0 */ addi r7, r4, lbl_803E81E0@l /* 80235A88 002329E8 7F C4 F3 78 */ mr r4, r30 /* 80235A8C 002329EC 81 27 00 00 */ lwz r9, 0(r7) /* 80235A90 002329F0 38 C1 00 20 */ addi r6, r1, 0x20 /* 80235A94 002329F4 81 07 00 04 */ lwz r8, 4(r7) /* 80235A98 002329F8 38 A0 00 12 */ li r5, 0x12 /* 80235A9C 002329FC 80 07 00 08 */ lwz r0, 8(r7) /* 80235AA0 00232A00 38 E0 00 00 */ li r7, 0 /* 80235AA4 00232A04 91 21 00 20 */ stw r9, 0x20(r1) /* 80235AA8 00232A08 91 01 00 24 */ stw r8, 0x24(r1) /* 80235AAC 00232A0C 90 01 00 28 */ stw r0, 0x28(r1) /* 80235AB0 00232A10 4B E4 6D 05 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 80235AB4 00232A14 48 00 00 3C */ b lbl_80235AF0 lbl_80235AB8: /* 80235AB8 00232A18 3C 80 80 3F */ lis r4, lbl_803E81EC@ha /* 80235ABC 00232A1C 7F E3 FB 78 */ mr r3, r31 /* 80235AC0 00232A20 38 E4 81 EC */ addi r7, r4, lbl_803E81EC@l /* 80235AC4 00232A24 7F C4 F3 78 */ mr r4, r30 /* 80235AC8 00232A28 81 27 00 00 */ lwz r9, 0(r7) /* 80235ACC 00232A2C 38 C1 00 14 */ addi r6, r1, 0x14 /* 80235AD0 00232A30 81 07 00 04 */ lwz r8, 4(r7) /* 80235AD4 00232A34 38 A0 00 12 */ li r5, 0x12 /* 80235AD8 00232A38 80 07 00 08 */ lwz r0, 8(r7) /* 80235ADC 00232A3C 38 E0 00 01 */ li r7, 1 /* 80235AE0 00232A40 91 21 00 14 */ stw r9, 0x14(r1) /* 80235AE4 00232A44 91 01 00 18 */ stw r8, 0x18(r1) /* 80235AE8 00232A48 90 01 00 1C */ stw r0, 0x1c(r1) /* 80235AEC 00232A4C 4B E4 6C C9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi lbl_80235AF0: /* 80235AF0 00232A50 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235AF4 00232A54 38 9F 07 10 */ addi r4, r31, 0x710 /* 80235AF8 00232A58 4B F3 F6 C1 */ bl SetTargetPosition__13CBoneTrackingFRC9CVector3f /* 80235AFC 00232A5C 48 00 00 58 */ b lbl_80235B54 lbl_80235B00: /* 80235B00 00232A60 38 00 00 00 */ li r0, 0 /* 80235B04 00232A64 38 A0 00 00 */ li r5, 0 /* 80235B08 00232A68 90 1F 03 2C */ stw r0, 0x32c(r31) /* 80235B0C 00232A6C 4B FF EF 65 */ bl sub_80234a70 /* 80235B10 00232A70 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235B14 00232A74 38 80 00 00 */ li r4, 0 /* 80235B18 00232A78 4B F3 F7 0D */ bl SetActive__13CBoneTrackingFb /* 80235B1C 00232A7C 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235B20 00232A80 38 80 00 00 */ li r4, 0 /* 80235B24 00232A84 4B F3 F6 85 */ bl SetNoHorizontalAim__13CBoneTrackingFb /* 80235B28 00232A88 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235B2C 00232A8C 38 60 00 00 */ li r3, 0 /* 80235B30 00232A90 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80235B34 00232A94 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235B38 00232A98 98 1F 07 54 */ stb r0, 0x754(r31) /* 80235B3C 00232A9C 38 81 00 0C */ addi r4, r1, 0xc /* 80235B40 00232AA0 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 80235B44 00232AA4 A0 05 00 08 */ lhz r0, 8(r5) /* 80235B48 00232AA8 B0 01 00 08 */ sth r0, 8(r1) /* 80235B4C 00232AAC B0 01 00 0C */ sth r0, 0xc(r1) /* 80235B50 00232AB0 4B F3 F6 C9 */ bl SetTarget__13CBoneTrackingF9TUniqueId lbl_80235B54: /* 80235B54 00232AB4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80235B58 00232AB8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80235B5C 00232ABC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80235B60 00232AC0 7C 08 03 A6 */ mtlr r0 /* 80235B64 00232AC4 38 21 00 40 */ addi r1, r1, 0x40 /* 80235B68 00232AC8 4E 80 00 20 */ blr .global Attack__10CMagdoliteFR13CStateManager9EStateMsgf Attack__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235B6C 00232ACC 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 80235B70 00232AD0 7C 08 02 A6 */ mflr r0 /* 80235B74 00232AD4 90 01 00 F4 */ stw r0, 0xf4(r1) /* 80235B78 00232AD8 DB E1 00 E0 */ stfd f31, 0xe0(r1) /* 80235B7C 00232ADC F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 /* 80235B80 00232AE0 93 E1 00 DC */ stw r31, 0xdc(r1) /* 80235B84 00232AE4 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 80235B88 00232AE8 FF E0 08 90 */ fmr f31, f1 /* 80235B8C 00232AEC 2C 05 00 01 */ cmpwi r5, 1 /* 80235B90 00232AF0 7C 7F 1B 78 */ mr r31, r3 /* 80235B94 00232AF4 7C 9E 23 78 */ mr r30, r4 /* 80235B98 00232AF8 41 82 01 78 */ beq lbl_80235D10 /* 80235B9C 00232AFC 40 80 00 10 */ bge lbl_80235BAC /* 80235BA0 00232B00 2C 05 00 00 */ cmpwi r5, 0 /* 80235BA4 00232B04 40 80 00 14 */ bge lbl_80235BB8 /* 80235BA8 00232B08 48 00 03 64 */ b lbl_80235F0C lbl_80235BAC: /* 80235BAC 00232B0C 2C 05 00 03 */ cmpwi r5, 3 /* 80235BB0 00232B10 40 80 03 5C */ bge lbl_80235F0C /* 80235BB4 00232B14 48 00 02 CC */ b lbl_80235E80 lbl_80235BB8: /* 80235BB8 00232B18 38 00 00 01 */ li r0, 1 /* 80235BBC 00232B1C 38 7F 05 84 */ addi r3, r31, 0x584 /* 80235BC0 00232B20 90 1F 03 2C */ stw r0, 0x32c(r31) /* 80235BC4 00232B24 38 80 00 00 */ li r4, 0 /* 80235BC8 00232B28 4B F3 F6 5D */ bl SetActive__13CBoneTrackingFb /* 80235BCC 00232B2C 80 8D 96 50 */ lwz r4, lbl_805A8210@sda21(r13) /* 80235BD0 00232B30 38 61 00 70 */ addi r3, r1, 0x70 /* 80235BD4 00232B34 4B DC F0 E5 */ bl string_l__4rstlFPCc /* 80235BD8 00232B38 80 DE 08 4C */ lwz r6, 0x84c(r30) /* 80235BDC 00232B3C 7F E4 FB 78 */ mr r4, r31 /* 80235BE0 00232B40 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80235BE4 00232B44 38 A1 00 70 */ addi r5, r1, 0x70 /* 80235BE8 00232B48 C0 46 00 60 */ lfs f2, 0x60(r6) /* 80235BEC 00232B4C C0 26 00 50 */ lfs f1, 0x50(r6) /* 80235BF0 00232B50 C0 06 00 40 */ lfs f0, 0x40(r6) /* 80235BF4 00232B54 D0 21 00 68 */ stfs f1, 0x68(r1) /* 80235BF8 00232B58 D0 01 00 64 */ stfs f0, 0x64(r1) /* 80235BFC 00232B5C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 80235C00 00232B60 4B E4 2D 79 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80235C04 00232B64 C0 A1 00 D0 */ lfs f5, 0xd0(r1) /* 80235C08 00232B68 38 61 00 70 */ addi r3, r1, 0x70 /* 80235C0C 00232B6C C0 81 00 C0 */ lfs f4, 0xc0(r1) /* 80235C10 00232B70 C0 61 00 B0 */ lfs f3, 0xb0(r1) /* 80235C14 00232B74 C0 41 00 68 */ lfs f2, 0x68(r1) /* 80235C18 00232B78 C0 21 00 6C */ lfs f1, 0x6c(r1) /* 80235C1C 00232B7C C0 01 00 64 */ lfs f0, 0x64(r1) /* 80235C20 00232B80 EC 44 10 28 */ fsubs f2, f4, f2 /* 80235C24 00232B84 EF E5 08 28 */ fsubs f31, f5, f1 /* 80235C28 00232B88 D0 61 00 80 */ stfs f3, 0x80(r1) /* 80235C2C 00232B8C EC 03 00 28 */ fsubs f0, f3, f0 /* 80235C30 00232B90 D0 81 00 84 */ stfs f4, 0x84(r1) /* 80235C34 00232B94 D0 A1 00 88 */ stfs f5, 0x88(r1) /* 80235C38 00232B98 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 80235C3C 00232B9C D0 41 00 90 */ stfs f2, 0x90(r1) /* 80235C40 00232BA0 D3 E1 00 94 */ stfs f31, 0x94(r1) /* 80235C44 00232BA4 48 10 7E 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80235C48 00232BA8 C0 3F 07 4C */ lfs f1, 0x74c(r31) /* 80235C4C 00232BAC C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80235C50 00232BB0 EC BF 08 28 */ fsubs f5, f31, f1 /* 80235C54 00232BB4 FC 05 00 40 */ fcmpo cr0, f5, f0 /* 80235C58 00232BB8 40 80 00 0C */ bge lbl_80235C64 /* 80235C5C 00232BBC FC A0 00 90 */ fmr f5, f0 /* 80235C60 00232BC0 48 00 00 14 */ b lbl_80235C74 lbl_80235C64: /* 80235C64 00232BC4 C0 1F 07 48 */ lfs f0, 0x748(r31) /* 80235C68 00232BC8 FC 05 00 40 */ fcmpo cr0, f5, f0 /* 80235C6C 00232BCC 40 81 00 08 */ ble lbl_80235C74 /* 80235C70 00232BD0 FC A0 00 90 */ fmr f5, f0 lbl_80235C74: /* 80235C74 00232BD4 C0 62 B7 20 */ lfs f3, lbl_805AD440@sda21(r2) /* 80235C78 00232BD8 C0 1F 07 1C */ lfs f0, 0x71c(r31) /* 80235C7C 00232BDC C0 3F 07 20 */ lfs f1, 0x720(r31) /* 80235C80 00232BE0 C0 5F 07 24 */ lfs f2, 0x724(r31) /* 80235C84 00232BE4 EC 00 18 28 */ fsubs f0, f0, f3 /* 80235C88 00232BE8 EC 81 18 28 */ fsubs f4, f1, f3 /* 80235C8C 00232BEC C0 22 B7 38 */ lfs f1, lbl_805AD458@sda21(r2) /* 80235C90 00232BF0 EC 42 28 28 */ fsubs f2, f2, f5 /* 80235C94 00232BF4 D0 1F 07 28 */ stfs f0, 0x728(r31) /* 80235C98 00232BF8 D0 9F 07 2C */ stfs f4, 0x72c(r31) /* 80235C9C 00232BFC D0 5F 07 30 */ stfs f2, 0x730(r31) /* 80235CA0 00232C00 D0 7F 07 40 */ stfs f3, 0x740(r31) /* 80235CA4 00232C04 D0 7F 07 34 */ stfs f3, 0x734(r31) /* 80235CA8 00232C08 D0 BF 07 38 */ stfs f5, 0x738(r31) /* 80235CAC 00232C0C C0 1F 07 38 */ lfs f0, 0x738(r31) /* 80235CB0 00232C10 C0 5F 07 44 */ lfs f2, 0x744(r31) /* 80235CB4 00232C14 EC 21 00 32 */ fmuls f1, f1, f0 /* 80235CB8 00232C18 EC 02 00 B2 */ fmuls f0, f2, f2 /* 80235CBC 00232C1C EC 01 00 24 */ fdivs f0, f1, f0 /* 80235CC0 00232C20 D0 1F 07 3C */ stfs f0, 0x73c(r31) /* 80235CC4 00232C24 C0 7F 00 60 */ lfs f3, 0x60(r31) /* 80235CC8 00232C28 C0 1F 07 30 */ lfs f0, 0x730(r31) /* 80235CCC 00232C2C C0 5F 00 50 */ lfs f2, 0x50(r31) /* 80235CD0 00232C30 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 80235CD4 00232C34 FC 00 18 40 */ fcmpo cr0, f0, f3 /* 80235CD8 00232C38 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 80235CDC 00232C3C D0 21 00 58 */ stfs f1, 0x58(r1) /* 80235CE0 00232C40 D0 61 00 60 */ stfs f3, 0x60(r1) /* 80235CE4 00232C44 40 80 00 10 */ bge lbl_80235CF4 /* 80235CE8 00232C48 38 00 00 02 */ li r0, 2 /* 80235CEC 00232C4C 90 1F 07 50 */ stw r0, 0x750(r31) /* 80235CF0 00232C50 48 00 00 0C */ b lbl_80235CFC lbl_80235CF4: /* 80235CF4 00232C54 38 00 00 01 */ li r0, 1 /* 80235CF8 00232C58 90 1F 07 50 */ stw r0, 0x750(r31) lbl_80235CFC: /* 80235CFC 00232C5C 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235D00 00232C60 38 60 00 01 */ li r3, 1 /* 80235D04 00232C64 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80235D08 00232C68 98 1F 07 54 */ stb r0, 0x754(r31) /* 80235D0C 00232C6C 48 00 02 00 */ b lbl_80235F0C lbl_80235D10: /* 80235D10 00232C70 3C A0 80 3F */ lis r5, lbl_803E81D4@ha /* 80235D14 00232C74 38 C1 00 4C */ addi r6, r1, 0x4c /* 80235D18 00232C78 39 45 81 D4 */ addi r10, r5, lbl_803E81D4@l /* 80235D1C 00232C7C 38 A0 00 07 */ li r5, 7 /* 80235D20 00232C80 81 2A 00 00 */ lwz r9, 0(r10) /* 80235D24 00232C84 38 E0 00 01 */ li r7, 1 /* 80235D28 00232C88 81 0A 00 04 */ lwz r8, 4(r10) /* 80235D2C 00232C8C 80 0A 00 08 */ lwz r0, 8(r10) /* 80235D30 00232C90 91 21 00 4C */ stw r9, 0x4c(r1) /* 80235D34 00232C94 91 01 00 50 */ stw r8, 0x50(r1) /* 80235D38 00232C98 90 01 00 54 */ stw r0, 0x54(r1) /* 80235D3C 00232C9C 4B E4 6A 79 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 80235D40 00232CA0 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 80235D44 00232CA4 38 61 00 40 */ addi r3, r1, 0x40 /* 80235D48 00232CA8 C0 1F 00 60 */ lfs f0, 0x60(r31) /* 80235D4C 00232CAC 38 81 00 98 */ addi r4, r1, 0x98 /* 80235D50 00232CB0 C0 25 00 60 */ lfs f1, 0x60(r5) /* 80235D54 00232CB4 C0 85 00 50 */ lfs f4, 0x50(r5) /* 80235D58 00232CB8 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 80235D5C 00232CBC EC A1 00 28 */ fsubs f5, f1, f0 /* 80235D60 00232CC0 C0 45 00 40 */ lfs f2, 0x40(r5) /* 80235D64 00232CC4 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 80235D68 00232CC8 EC 64 18 28 */ fsubs f3, f4, f3 /* 80235D6C 00232CCC C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80235D70 00232CD0 EC 22 08 28 */ fsubs f1, f2, f1 /* 80235D74 00232CD4 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 80235D78 00232CD8 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 80235D7C 00232CDC D0 21 00 98 */ stfs f1, 0x98(r1) /* 80235D80 00232CE0 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 80235D84 00232CE4 48 0D EA CD */ bl AsNormalized__9CVector3fCFv /* 80235D88 00232CE8 C0 41 00 40 */ lfs f2, 0x40(r1) /* 80235D8C 00232CEC 38 61 00 34 */ addi r3, r1, 0x34 /* 80235D90 00232CF0 C0 21 00 44 */ lfs f1, 0x44(r1) /* 80235D94 00232CF4 38 81 00 98 */ addi r4, r1, 0x98 /* 80235D98 00232CF8 C0 01 00 48 */ lfs f0, 0x48(r1) /* 80235D9C 00232CFC D0 41 00 98 */ stfs f2, 0x98(r1) /* 80235DA0 00232D00 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 80235DA4 00232D04 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 80235DA8 00232D08 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 80235DAC 00232D0C C0 3F 00 48 */ lfs f1, 0x48(r31) /* 80235DB0 00232D10 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80235DB4 00232D14 D0 01 00 34 */ stfs f0, 0x34(r1) /* 80235DB8 00232D18 D0 21 00 38 */ stfs f1, 0x38(r1) /* 80235DBC 00232D1C D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80235DC0 00232D20 48 0D E8 71 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80235DC4 00232D24 D0 21 00 08 */ stfs f1, 8(r1) /* 80235DC8 00232D28 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 80235DCC 00232D2C C0 BF 00 44 */ lfs f5, 0x44(r31) /* 80235DD0 00232D30 C0 9F 00 34 */ lfs f4, 0x34(r31) /* 80235DD4 00232D34 EC 05 00 32 */ fmuls f0, f5, f0 /* 80235DD8 00232D38 C0 41 00 98 */ lfs f2, 0x98(r1) /* 80235DDC 00232D3C C0 DF 00 54 */ lfs f6, 0x54(r31) /* 80235DE0 00232D40 C0 61 00 A0 */ lfs f3, 0xa0(r1) /* 80235DE4 00232D44 EC 44 00 BA */ fmadds f2, f4, f2, f0 /* 80235DE8 00232D48 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80235DEC 00232D4C D0 81 00 28 */ stfs f4, 0x28(r1) /* 80235DF0 00232D50 EC 46 10 FA */ fmadds f2, f6, f3, f2 /* 80235DF4 00232D54 D0 A1 00 2C */ stfs f5, 0x2c(r1) /* 80235DF8 00232D58 D0 C1 00 30 */ stfs f6, 0x30(r1) /* 80235DFC 00232D5C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80235E00 00232D60 40 81 00 14 */ ble lbl_80235E14 /* 80235E04 00232D64 FC 20 08 18 */ frsp f1, f1 /* 80235E08 00232D68 C0 02 B7 3C */ lfs f0, lbl_805AD45C@sda21(r2) /* 80235E0C 00232D6C EC 01 00 32 */ fmuls f0, f1, f0 /* 80235E10 00232D70 D0 01 00 08 */ stfs f0, 8(r1) lbl_80235E14: /* 80235E14 00232D74 C0 22 B7 40 */ lfs f1, lbl_805AD460@sda21(r2) /* 80235E18 00232D78 C0 01 00 08 */ lfs f0, 8(r1) /* 80235E1C 00232D7C C0 5F 03 B8 */ lfs f2, 0x3b8(r31) /* 80235E20 00232D80 EC 01 00 32 */ fmuls f0, f1, f0 /* 80235E24 00232D84 FC 00 10 40 */ fcmpo cr0, f0, f2 /* 80235E28 00232D88 40 81 00 14 */ ble lbl_80235E3C /* 80235E2C 00232D8C C0 02 B7 44 */ lfs f0, lbl_805AD464@sda21(r2) /* 80235E30 00232D90 EC 00 00 B2 */ fmuls f0, f0, f2 /* 80235E34 00232D94 D0 01 00 08 */ stfs f0, 8(r1) /* 80235E38 00232D98 48 00 00 1C */ b lbl_80235E54 lbl_80235E3C: /* 80235E3C 00232D9C FC 20 10 50 */ fneg f1, f2 /* 80235E40 00232DA0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80235E44 00232DA4 40 80 00 10 */ bge lbl_80235E54 /* 80235E48 00232DA8 C0 02 B7 44 */ lfs f0, lbl_805AD464@sda21(r2) /* 80235E4C 00232DAC EC 00 00 72 */ fmuls f0, f0, f1 /* 80235E50 00232DB0 D0 01 00 08 */ stfs f0, 8(r1) lbl_80235E54: /* 80235E54 00232DB4 C0 01 00 08 */ lfs f0, 8(r1) /* 80235E58 00232DB8 38 61 00 18 */ addi r3, r1, 0x18 /* 80235E5C 00232DBC 38 81 00 08 */ addi r4, r1, 8 /* 80235E60 00232DC0 EC 00 07 F2 */ fmuls f0, f0, f31 /* 80235E64 00232DC4 D0 01 00 08 */ stfs f0, 8(r1) /* 80235E68 00232DC8 48 0D B2 91 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80235E6C 00232DCC FC 20 F8 90 */ fmr f1, f31 /* 80235E70 00232DD0 7F E3 FB 78 */ mr r3, r31 /* 80235E74 00232DD4 38 81 00 18 */ addi r4, r1, 0x18 /* 80235E78 00232DD8 4B EE 4E E5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf /* 80235E7C 00232DDC 48 00 00 90 */ b lbl_80235F0C lbl_80235E80: /* 80235E80 00232DE0 38 00 00 00 */ li r0, 0 /* 80235E84 00232DE4 38 A0 00 00 */ li r5, 0 /* 80235E88 00232DE8 90 1F 03 2C */ stw r0, 0x32c(r31) /* 80235E8C 00232DEC 4B FF EB E5 */ bl sub_80234a70 /* 80235E90 00232DF0 38 00 00 01 */ li r0, 1 /* 80235E94 00232DF4 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80235E98 00232DF8 90 1F 07 50 */ stw r0, 0x750(r31) /* 80235E9C 00232DFC 38 60 00 00 */ li r3, 0 /* 80235EA0 00232E00 C0 22 B7 38 */ lfs f1, lbl_805AD458@sda21(r2) /* 80235EA4 00232E04 C0 5F 07 1C */ lfs f2, 0x71c(r31) /* 80235EA8 00232E08 D0 5F 07 28 */ stfs f2, 0x728(r31) /* 80235EAC 00232E0C C0 5F 07 20 */ lfs f2, 0x720(r31) /* 80235EB0 00232E10 D0 5F 07 2C */ stfs f2, 0x72c(r31) /* 80235EB4 00232E14 C0 5F 07 24 */ lfs f2, 0x724(r31) /* 80235EB8 00232E18 D0 5F 07 30 */ stfs f2, 0x730(r31) /* 80235EBC 00232E1C D0 1F 07 40 */ stfs f0, 0x740(r31) /* 80235EC0 00232E20 D0 1F 07 34 */ stfs f0, 0x734(r31) /* 80235EC4 00232E24 C0 9F 00 60 */ lfs f4, 0x60(r31) /* 80235EC8 00232E28 C0 1F 07 30 */ lfs f0, 0x730(r31) /* 80235ECC 00232E2C C0 7F 00 50 */ lfs f3, 0x50(r31) /* 80235ED0 00232E30 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 80235ED4 00232E34 EC 00 20 28 */ fsubs f0, f0, f4 /* 80235ED8 00232E38 D0 61 00 10 */ stfs f3, 0x10(r1) /* 80235EDC 00232E3C D0 1F 07 38 */ stfs f0, 0x738(r31) /* 80235EE0 00232E40 C0 1F 07 38 */ lfs f0, 0x738(r31) /* 80235EE4 00232E44 C0 7F 07 44 */ lfs f3, 0x744(r31) /* 80235EE8 00232E48 EC 21 00 32 */ fmuls f1, f1, f0 /* 80235EEC 00232E4C D0 41 00 0C */ stfs f2, 0xc(r1) /* 80235EF0 00232E50 EC 03 00 F2 */ fmuls f0, f3, f3 /* 80235EF4 00232E54 D0 81 00 14 */ stfs f4, 0x14(r1) /* 80235EF8 00232E58 EC 01 00 24 */ fdivs f0, f1, f0 /* 80235EFC 00232E5C D0 1F 07 3C */ stfs f0, 0x73c(r31) /* 80235F00 00232E60 88 1F 07 54 */ lbz r0, 0x754(r31) /* 80235F04 00232E64 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80235F08 00232E68 98 1F 07 54 */ stb r0, 0x754(r31) lbl_80235F0C: /* 80235F0C 00232E6C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 /* 80235F10 00232E70 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 80235F14 00232E74 CB E1 00 E0 */ lfd f31, 0xe0(r1) /* 80235F18 00232E78 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 80235F1C 00232E7C 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 80235F20 00232E80 7C 08 03 A6 */ mtlr r0 /* 80235F24 00232E84 38 21 00 F0 */ addi r1, r1, 0xf0 /* 80235F28 00232E88 4E 80 00 20 */ blr .global Taunt__10CMagdoliteFR13CStateManager9EStateMsgf Taunt__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235F2C 00232E8C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80235F30 00232E90 7C 08 02 A6 */ mflr r0 /* 80235F34 00232E94 2C 05 00 01 */ cmpwi r5, 1 /* 80235F38 00232E98 7C 66 1B 78 */ mr r6, r3 /* 80235F3C 00232E9C 90 01 00 24 */ stw r0, 0x24(r1) /* 80235F40 00232EA0 41 82 00 38 */ beq lbl_80235F78 /* 80235F44 00232EA4 40 80 00 10 */ bge lbl_80235F54 /* 80235F48 00232EA8 2C 05 00 00 */ cmpwi r5, 0 /* 80235F4C 00232EAC 40 80 00 14 */ bge lbl_80235F60 /* 80235F50 00232EB0 48 00 00 70 */ b lbl_80235FC0 lbl_80235F54: /* 80235F54 00232EB4 2C 05 00 03 */ cmpwi r5, 3 /* 80235F58 00232EB8 40 80 00 68 */ bge lbl_80235FC0 /* 80235F5C 00232EBC 48 00 00 50 */ b lbl_80235FAC lbl_80235F60: /* 80235F60 00232EC0 38 00 00 01 */ li r0, 1 /* 80235F64 00232EC4 38 66 05 84 */ addi r3, r6, 0x584 /* 80235F68 00232EC8 90 06 03 2C */ stw r0, 0x32c(r6) /* 80235F6C 00232ECC 38 80 00 01 */ li r4, 1 /* 80235F70 00232ED0 4B F3 F2 B5 */ bl SetActive__13CBoneTrackingFb /* 80235F74 00232ED4 48 00 00 4C */ b lbl_80235FC0 lbl_80235F78: /* 80235F78 00232ED8 3C A0 80 3F */ lis r5, lbl_803E81C8@ha /* 80235F7C 00232EDC 38 C1 00 08 */ addi r6, r1, 8 /* 80235F80 00232EE0 39 45 81 C8 */ addi r10, r5, lbl_803E81C8@l /* 80235F84 00232EE4 38 A0 00 10 */ li r5, 0x10 /* 80235F88 00232EE8 81 2A 00 00 */ lwz r9, 0(r10) /* 80235F8C 00232EEC 38 E0 00 01 */ li r7, 1 /* 80235F90 00232EF0 81 0A 00 04 */ lwz r8, 4(r10) /* 80235F94 00232EF4 80 0A 00 08 */ lwz r0, 8(r10) /* 80235F98 00232EF8 91 21 00 08 */ stw r9, 8(r1) /* 80235F9C 00232EFC 91 01 00 0C */ stw r8, 0xc(r1) /* 80235FA0 00232F00 90 01 00 10 */ stw r0, 0x10(r1) /* 80235FA4 00232F04 4B E4 68 11 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi /* 80235FA8 00232F08 48 00 00 18 */ b lbl_80235FC0 lbl_80235FAC: /* 80235FAC 00232F0C 38 00 00 00 */ li r0, 0 /* 80235FB0 00232F10 38 66 05 84 */ addi r3, r6, 0x584 /* 80235FB4 00232F14 90 06 03 2C */ stw r0, 0x32c(r6) /* 80235FB8 00232F18 38 80 00 00 */ li r4, 0 /* 80235FBC 00232F1C 4B F3 F2 69 */ bl SetActive__13CBoneTrackingFb lbl_80235FC0: /* 80235FC0 00232F20 80 01 00 24 */ lwz r0, 0x24(r1) /* 80235FC4 00232F24 7C 08 03 A6 */ mtlr r0 /* 80235FC8 00232F28 38 21 00 20 */ addi r1, r1, 0x20 /* 80235FCC 00232F2C 4E 80 00 20 */ blr .global Active__10CMagdoliteFR13CStateManager9EStateMsgf Active__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80235FD0 00232F30 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80235FD4 00232F34 7C 08 02 A6 */ mflr r0 /* 80235FD8 00232F38 90 01 00 84 */ stw r0, 0x84(r1) /* 80235FDC 00232F3C DB E1 00 70 */ stfd f31, 0x70(r1) /* 80235FE0 00232F40 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 80235FE4 00232F44 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80235FE8 00232F48 93 C1 00 68 */ stw r30, 0x68(r1) /* 80235FEC 00232F4C 2C 05 00 01 */ cmpwi r5, 1 /* 80235FF0 00232F50 7C 7E 1B 78 */ mr r30, r3 /* 80235FF4 00232F54 7C 9F 23 78 */ mr r31, r4 /* 80235FF8 00232F58 41 82 00 7C */ beq lbl_80236074 /* 80235FFC 00232F5C 40 80 00 10 */ bge lbl_8023600C /* 80236000 00232F60 2C 05 00 00 */ cmpwi r5, 0 /* 80236004 00232F64 40 80 00 14 */ bge lbl_80236018 /* 80236008 00232F68 48 00 01 78 */ b lbl_80236180 lbl_8023600C: /* 8023600C 00232F6C 2C 05 00 03 */ cmpwi r5, 3 /* 80236010 00232F70 40 80 01 70 */ bge lbl_80236180 /* 80236014 00232F74 48 00 01 50 */ b lbl_80236164 lbl_80236018: /* 80236018 00232F78 80 7E 04 50 */ lwz r3, 0x450(r30) /* 8023601C 00232F7C 38 80 00 02 */ li r4, 2 /* 80236020 00232F80 4B F0 49 B9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80236024 00232F84 38 7E 05 84 */ addi r3, r30, 0x584 /* 80236028 00232F88 38 80 00 01 */ li r4, 1 /* 8023602C 00232F8C 4B F3 F1 F9 */ bl SetActive__13CBoneTrackingFb /* 80236030 00232F90 80 BF 08 4C */ lwz r5, 0x84c(r31) /* 80236034 00232F94 38 7E 05 84 */ addi r3, r30, 0x584 /* 80236038 00232F98 38 81 00 0C */ addi r4, r1, 0xc /* 8023603C 00232F9C A0 05 00 08 */ lhz r0, 8(r5) /* 80236040 00232FA0 B0 01 00 08 */ sth r0, 8(r1) /* 80236044 00232FA4 B0 01 00 0C */ sth r0, 0xc(r1) /* 80236048 00232FA8 4B F3 F1 D1 */ bl SetTarget__13CBoneTrackingF9TUniqueId /* 8023604C 00232FAC 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80236050 00232FB0 38 60 00 00 */ li r3, 0 /* 80236054 00232FB4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80236058 00232FB8 98 1E 04 00 */ stb r0, 0x400(r30) /* 8023605C 00232FBC 88 1E 07 54 */ lbz r0, 0x754(r30) /* 80236060 00232FC0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80236064 00232FC4 98 1E 07 54 */ stb r0, 0x754(r30) /* 80236068 00232FC8 C0 1E 05 68 */ lfs f0, 0x568(r30) /* 8023606C 00232FCC D0 1E 03 40 */ stfs f0, 0x340(r30) /* 80236070 00232FD0 48 00 01 10 */ b lbl_80236180 lbl_80236074: /* 80236074 00232FD4 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 80236078 00232FD8 38 61 00 34 */ addi r3, r1, 0x34 /* 8023607C 00232FDC C0 1E 00 60 */ lfs f0, 0x60(r30) /* 80236080 00232FE0 C0 24 00 60 */ lfs f1, 0x60(r4) /* 80236084 00232FE4 C0 84 00 50 */ lfs f4, 0x50(r4) /* 80236088 00232FE8 C0 7E 00 50 */ lfs f3, 0x50(r30) /* 8023608C 00232FEC EC A1 00 28 */ fsubs f5, f1, f0 /* 80236090 00232FF0 C0 44 00 40 */ lfs f2, 0x40(r4) /* 80236094 00232FF4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 80236098 00232FF8 EC 64 18 28 */ fsubs f3, f4, f3 /* 8023609C 00232FFC C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 802360A0 00233000 EC 22 08 28 */ fsubs f1, f2, f1 /* 802360A4 00233004 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 802360A8 00233008 D0 61 00 38 */ stfs f3, 0x38(r1) /* 802360AC 0023300C D0 21 00 34 */ stfs f1, 0x34(r1) /* 802360B0 00233010 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 802360B4 00233014 48 0D E6 45 */ bl CanBeNormalized__9CVector3fCFv /* 802360B8 00233018 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802360BC 0023301C 41 82 00 C4 */ beq lbl_80236180 /* 802360C0 00233020 38 61 00 28 */ addi r3, r1, 0x28 /* 802360C4 00233024 38 81 00 34 */ addi r4, r1, 0x34 /* 802360C8 00233028 48 0D E7 89 */ bl AsNormalized__9CVector3fCFv /* 802360CC 0023302C C0 9E 00 48 */ lfs f4, 0x48(r30) /* 802360D0 00233030 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 802360D4 00233034 C0 7E 00 38 */ lfs f3, 0x38(r30) /* 802360D8 00233038 EC 04 00 32 */ fmuls f0, f4, f0 /* 802360DC 0023303C C0 21 00 28 */ lfs f1, 0x28(r1) /* 802360E0 00233040 C0 BE 00 58 */ lfs f5, 0x58(r30) /* 802360E4 00233044 C0 41 00 30 */ lfs f2, 0x30(r1) /* 802360E8 00233048 EC 23 00 7A */ fmadds f1, f3, f1, f0 /* 802360EC 0023304C C0 1E 05 78 */ lfs f0, 0x578(r30) /* 802360F0 00233050 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 802360F4 00233054 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 802360F8 00233058 D0 81 00 20 */ stfs f4, 0x20(r1) /* 802360FC 0023305C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 80236100 00233060 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80236104 00233064 40 80 00 7C */ bge lbl_80236180 /* 80236108 00233068 38 61 00 10 */ addi r3, r1, 0x10 /* 8023610C 0023306C 38 81 00 34 */ addi r4, r1, 0x34 /* 80236110 00233070 48 0D E7 41 */ bl AsNormalized__9CVector3fCFv /* 80236114 00233074 3C 60 80 5A */ lis r3, skZero3f@ha /* 80236118 00233078 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) /* 8023611C 0023307C C0 61 00 10 */ lfs f3, 0x10(r1) /* 80236120 00233080 38 81 00 40 */ addi r4, r1, 0x40 /* 80236124 00233084 C0 41 00 14 */ lfs f2, 0x14(r1) /* 80236128 00233088 C0 A3 00 04 */ lfs f5, 4(r3) /* 8023612C 0023308C C0 83 00 08 */ lfs f4, 8(r3) /* 80236130 00233090 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80236134 00233094 C0 02 B7 34 */ lfs f0, lbl_805AD454@sda21(r2) /* 80236138 00233098 D0 C1 00 40 */ stfs f6, 0x40(r1) /* 8023613C 0023309C D0 A1 00 44 */ stfs f5, 0x44(r1) /* 80236140 002330A0 D0 81 00 48 */ stfs f4, 0x48(r1) /* 80236144 002330A4 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 80236148 002330A8 D0 41 00 50 */ stfs f2, 0x50(r1) /* 8023614C 002330AC D0 21 00 54 */ stfs f1, 0x54(r1) /* 80236150 002330B0 D0 01 00 58 */ stfs f0, 0x58(r1) /* 80236154 002330B4 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80236158 002330B8 38 63 00 04 */ addi r3, r3, 4 /* 8023615C 002330BC 4B EF B5 BD */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 80236160 002330C0 48 00 00 20 */ b lbl_80236180 lbl_80236164: /* 80236164 002330C4 C3 FE 05 6C */ lfs f31, 0x56c(r30) /* 80236168 002330C8 80 7F 09 00 */ lwz r3, 0x900(r31) /* 8023616C 002330CC 48 0D C3 71 */ bl Float__9CRandom16Fv /* 80236170 002330D0 C0 1E 05 70 */ lfs f0, 0x570(r30) /* 80236174 002330D4 EC 00 F8 28 */ fsubs f0, f0, f31 /* 80236178 002330D8 EC 00 F8 7A */ fmadds f0, f0, f1, f31 /* 8023617C 002330DC D0 1E 03 40 */ stfs f0, 0x340(r30) lbl_80236180: /* 80236180 002330E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 80236184 002330E4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80236188 002330E8 CB E1 00 70 */ lfd f31, 0x70(r1) /* 8023618C 002330EC 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 80236190 002330F0 83 C1 00 68 */ lwz r30, 0x68(r1) /* 80236194 002330F4 7C 08 03 A6 */ mtlr r0 /* 80236198 002330F8 38 21 00 80 */ addi r1, r1, 0x80 /* 8023619C 002330FC 4E 80 00 20 */ blr .global Lurk__10CMagdoliteFR13CStateManager9EStateMsgf Lurk__10CMagdoliteFR13CStateManager9EStateMsgf: /* 802361A0 00233100 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802361A4 00233104 7C 08 02 A6 */ mflr r0 /* 802361A8 00233108 2C 05 00 01 */ cmpwi r5, 1 /* 802361AC 0023310C 90 01 00 14 */ stw r0, 0x14(r1) /* 802361B0 00233110 93 E1 00 0C */ stw r31, 0xc(r1) /* 802361B4 00233114 7C 9F 23 78 */ mr r31, r4 /* 802361B8 00233118 93 C1 00 08 */ stw r30, 8(r1) /* 802361BC 0023311C 7C 7E 1B 78 */ mr r30, r3 /* 802361C0 00233120 41 82 00 68 */ beq lbl_80236228 /* 802361C4 00233124 40 80 00 10 */ bge lbl_802361D4 /* 802361C8 00233128 2C 05 00 00 */ cmpwi r5, 0 /* 802361CC 0023312C 40 80 00 14 */ bge lbl_802361E0 /* 802361D0 00233130 48 00 00 58 */ b lbl_80236228 lbl_802361D4: /* 802361D4 00233134 2C 05 00 03 */ cmpwi r5, 3 /* 802361D8 00233138 40 80 00 50 */ bge lbl_80236228 /* 802361DC 0023313C 48 00 00 3C */ b lbl_80236218 lbl_802361E0: /* 802361E0 00233140 80 7E 04 50 */ lwz r3, 0x450(r30) /* 802361E4 00233144 38 80 00 01 */ li r4, 1 /* 802361E8 00233148 4B F0 47 F1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 802361EC 0023314C 38 7E 05 84 */ addi r3, r30, 0x584 /* 802361F0 00233150 38 80 00 00 */ li r4, 0 /* 802361F4 00233154 4B F3 F0 31 */ bl SetActive__13CBoneTrackingFb /* 802361F8 00233158 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 802361FC 0023315C 7F C3 F3 78 */ mr r3, r30 /* 80236200 00233160 7F E6 FB 78 */ mr r6, r31 /* 80236204 00233164 38 80 00 28 */ li r4, 0x28 /* 80236208 00233168 D0 1E 03 40 */ stfs f0, 0x340(r30) /* 8023620C 0023316C 38 A0 00 29 */ li r5, 0x29 /* 80236210 00233170 4B E1 E0 A5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 80236214 00233174 48 00 00 14 */ b lbl_80236228 lbl_80236218: /* 80236218 00233178 88 1E 07 54 */ lbz r0, 0x754(r30) /* 8023621C 0023317C 38 60 00 01 */ li r3, 1 /* 80236220 00233180 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80236224 00233184 98 1E 07 54 */ stb r0, 0x754(r30) lbl_80236228: /* 80236228 00233188 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023622C 0023318C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80236230 00233190 83 C1 00 08 */ lwz r30, 8(r1) /* 80236234 00233194 7C 08 03 A6 */ mtlr r0 /* 80236238 00233198 38 21 00 10 */ addi r1, r1, 0x10 /* 8023623C 0023319C 4E 80 00 20 */ blr .global InActive__10CMagdoliteFR13CStateManager9EStateMsgf InActive__10CMagdoliteFR13CStateManager9EStateMsgf: /* 80236240 002331A0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80236244 002331A4 7C 08 02 A6 */ mflr r0 /* 80236248 002331A8 2C 05 00 01 */ cmpwi r5, 1 /* 8023624C 002331AC 90 01 00 14 */ stw r0, 0x14(r1) /* 80236250 002331B0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80236254 002331B4 7C 9F 23 78 */ mr r31, r4 /* 80236258 002331B8 93 C1 00 08 */ stw r30, 8(r1) /* 8023625C 002331BC 7C 7E 1B 78 */ mr r30, r3 /* 80236260 002331C0 41 82 00 90 */ beq lbl_802362F0 /* 80236264 002331C4 40 80 00 10 */ bge lbl_80236274 /* 80236268 002331C8 2C 05 00 00 */ cmpwi r5, 0 /* 8023626C 002331CC 40 80 00 14 */ bge lbl_80236280 /* 80236270 002331D0 48 00 00 80 */ b lbl_802362F0 lbl_80236274: /* 80236274 002331D4 2C 05 00 03 */ cmpwi r5, 3 /* 80236278 002331D8 40 80 00 78 */ bge lbl_802362F0 /* 8023627C 002331DC 48 00 00 38 */ b lbl_802362B4 lbl_80236280: /* 80236280 002331E0 88 1E 00 E7 */ lbz r0, 0xe7(r30) /* 80236284 002331E4 38 60 00 00 */ li r3, 0 /* 80236288 002331E8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 8023628C 002331EC 38 80 00 07 */ li r4, 7 /* 80236290 002331F0 98 1E 00 E7 */ stb r0, 0xe7(r30) /* 80236294 002331F4 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80236298 002331F8 4B F0 47 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 8023629C 002331FC 7F C3 F3 78 */ mr r3, r30 /* 802362A0 00233200 7F E6 FB 78 */ mr r6, r31 /* 802362A4 00233204 38 80 00 29 */ li r4, 0x29 /* 802362A8 00233208 38 A0 00 28 */ li r5, 0x28 /* 802362AC 0023320C 4B E1 DC 29 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 802362B0 00233210 48 00 00 40 */ b lbl_802362F0 lbl_802362B4: /* 802362B4 00233214 7F E6 FB 78 */ mr r6, r31 /* 802362B8 00233218 38 80 00 29 */ li r4, 0x29 /* 802362BC 0023321C 38 A0 00 28 */ li r5, 0x28 /* 802362C0 00233220 4B E1 DF F5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 802362C4 00233224 88 1E 07 54 */ lbz r0, 0x754(r30) /* 802362C8 00233228 38 60 00 00 */ li r3, 0 /* 802362CC 0023322C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 802362D0 00233230 7F C3 F3 78 */ mr r3, r30 /* 802362D4 00233234 98 1E 07 54 */ stb r0, 0x754(r30) /* 802362D8 00233238 7F E4 FB 78 */ mr r4, r31 /* 802362DC 0023323C 48 00 00 2D */ bl sub_80236308 /* 802362E0 00233240 88 1E 00 E7 */ lbz r0, 0xe7(r30) /* 802362E4 00233244 38 60 00 01 */ li r3, 1 /* 802362E8 00233248 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 802362EC 0023324C 98 1E 00 E7 */ stb r0, 0xe7(r30) lbl_802362F0: /* 802362F0 00233250 80 01 00 14 */ lwz r0, 0x14(r1) /* 802362F4 00233254 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802362F8 00233258 83 C1 00 08 */ lwz r30, 8(r1) /* 802362FC 0023325C 7C 08 03 A6 */ mtlr r0 /* 80236300 00233260 38 21 00 10 */ addi r1, r1, 0x10 /* 80236304 00233264 4E 80 00 20 */ blr .global sub_80236308 sub_80236308: /* 80236308 00233268 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8023630C 0023326C 7C 08 02 A6 */ mflr r0 /* 80236310 00233270 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80236314 00233274 93 E1 00 AC */ stw r31, 0xac(r1) /* 80236318 00233278 7C 7F 1B 78 */ mr r31, r3 /* 8023631C 0023327C 80 A4 08 4C */ lwz r5, 0x84c(r4) /* 80236320 00233280 38 81 00 6C */ addi r4, r1, 0x6c /* 80236324 00233284 C0 03 00 60 */ lfs f0, 0x60(r3) /* 80236328 00233288 38 61 00 60 */ addi r3, r1, 0x60 /* 8023632C 0023328C C0 25 00 60 */ lfs f1, 0x60(r5) /* 80236330 00233290 C0 85 00 50 */ lfs f4, 0x50(r5) /* 80236334 00233294 EC A1 00 28 */ fsubs f5, f1, f0 /* 80236338 00233298 C0 7F 00 50 */ lfs f3, 0x50(r31) /* 8023633C 0023329C C0 45 00 40 */ lfs f2, 0x40(r5) /* 80236340 002332A0 C0 3F 00 40 */ lfs f1, 0x40(r31) /* 80236344 002332A4 EC 64 18 28 */ fsubs f3, f4, f3 /* 80236348 002332A8 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 8023634C 002332AC EC 22 08 28 */ fsubs f1, f2, f1 /* 80236350 002332B0 D0 A1 00 74 */ stfs f5, 0x74(r1) /* 80236354 002332B4 D0 61 00 70 */ stfs f3, 0x70(r1) /* 80236358 002332B8 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 8023635C 002332BC D0 01 00 74 */ stfs f0, 0x74(r1) /* 80236360 002332C0 48 0D E4 F1 */ bl AsNormalized__9CVector3fCFv /* 80236364 002332C4 C0 41 00 60 */ lfs f2, 0x60(r1) /* 80236368 002332C8 38 61 00 54 */ addi r3, r1, 0x54 /* 8023636C 002332CC C0 21 00 64 */ lfs f1, 0x64(r1) /* 80236370 002332D0 38 81 00 6C */ addi r4, r1, 0x6c /* 80236374 002332D4 C0 01 00 68 */ lfs f0, 0x68(r1) /* 80236378 002332D8 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8023637C 002332DC D0 21 00 70 */ stfs f1, 0x70(r1) /* 80236380 002332E0 D0 01 00 74 */ stfs f0, 0x74(r1) /* 80236384 002332E4 C0 5F 00 58 */ lfs f2, 0x58(r31) /* 80236388 002332E8 C0 3F 00 48 */ lfs f1, 0x48(r31) /* 8023638C 002332EC C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80236390 002332F0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 80236394 002332F4 D0 21 00 58 */ stfs f1, 0x58(r1) /* 80236398 002332F8 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 8023639C 002332FC 48 0D E2 95 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 802363A0 00233300 D0 21 00 08 */ stfs f1, 8(r1) /* 802363A4 00233304 C0 01 00 70 */ lfs f0, 0x70(r1) /* 802363A8 00233308 C0 BF 00 44 */ lfs f5, 0x44(r31) /* 802363AC 0023330C C0 9F 00 34 */ lfs f4, 0x34(r31) /* 802363B0 00233310 EC 05 00 32 */ fmuls f0, f5, f0 /* 802363B4 00233314 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 802363B8 00233318 C0 DF 00 54 */ lfs f6, 0x54(r31) /* 802363BC 0023331C C0 61 00 74 */ lfs f3, 0x74(r1) /* 802363C0 00233320 EC 44 00 BA */ fmadds f2, f4, f2, f0 /* 802363C4 00233324 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 802363C8 00233328 D0 81 00 48 */ stfs f4, 0x48(r1) /* 802363CC 0023332C EC 46 10 FA */ fmadds f2, f6, f3, f2 /* 802363D0 00233330 D0 A1 00 4C */ stfs f5, 0x4c(r1) /* 802363D4 00233334 D0 C1 00 50 */ stfs f6, 0x50(r1) /* 802363D8 00233338 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802363DC 0023333C 40 81 00 14 */ ble lbl_802363F0 /* 802363E0 00233340 FC 20 08 18 */ frsp f1, f1 /* 802363E4 00233344 C0 02 B7 3C */ lfs f0, lbl_805AD45C@sda21(r2) /* 802363E8 00233348 EC 01 00 32 */ fmuls f0, f1, f0 /* 802363EC 0023334C D0 01 00 08 */ stfs f0, 8(r1) lbl_802363F0: /* 802363F0 00233350 38 61 00 28 */ addi r3, r1, 0x28 /* 802363F4 00233354 38 9F 00 34 */ addi r4, r31, 0x34 /* 802363F8 00233358 48 0D BD 31 */ bl FromMatrix__11CQuaternionFRC12CTransform4f /* 802363FC 0023335C 38 61 00 18 */ addi r3, r1, 0x18 /* 80236400 00233360 38 81 00 08 */ addi r4, r1, 8 /* 80236404 00233364 48 0D AC F5 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80236408 00233368 38 61 00 38 */ addi r3, r1, 0x38 /* 8023640C 0023336C 38 81 00 28 */ addi r4, r1, 0x28 /* 80236410 00233370 38 A1 00 18 */ addi r5, r1, 0x18 /* 80236414 00233374 48 0D AD 8D */ bl __ml__11CQuaternionCFRC11CQuaternion /* 80236418 00233378 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8023641C 0023337C 38 61 00 78 */ addi r3, r1, 0x78 /* 80236420 00233380 C0 3F 00 50 */ lfs f1, 0x50(r31) /* 80236424 00233384 38 81 00 38 */ addi r4, r1, 0x38 /* 80236428 00233388 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8023642C 0023338C 38 A1 00 0C */ addi r5, r1, 0xc /* 80236430 00233390 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80236434 00233394 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80236438 00233398 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8023643C 0023339C 48 0D BA 81 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f /* 80236440 002333A0 38 7F 00 34 */ addi r3, r31, 0x34 /* 80236444 002333A4 38 81 00 78 */ addi r4, r1, 0x78 /* 80236448 002333A8 48 0D C6 F9 */ bl __as__12CTransform4fFRC12CTransform4f /* 8023644C 002333AC 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80236450 002333B0 38 60 00 01 */ li r3, 1 /* 80236454 002333B4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80236458 002333B8 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 8023645C 002333BC 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 80236460 002333C0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80236464 002333C4 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80236468 002333C8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 8023646C 002333CC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80236470 002333D0 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 80236474 002333D4 83 E1 00 AC */ lwz r31, 0xac(r1) /* 80236478 002333D8 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8023647C 002333DC 7C 08 03 A6 */ mtlr r0 /* 80236480 002333E0 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80236484 002333E4 4E 80 00 20 */ blr .global DoUserAnimEvent__10CMagdoliteFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__10CMagdoliteFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 80236488 002333E8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023648C 002333EC 7C 08 02 A6 */ mflr r0 /* 80236490 002333F0 90 01 00 34 */ stw r0, 0x34(r1) /* 80236494 002333F4 DB E1 00 28 */ stfd f31, 0x28(r1) /* 80236498 002333F8 FF E0 08 90 */ fmr f31, f1 /* 8023649C 002333FC BF 61 00 14 */ stmw r27, 0x14(r1) /* 802364A0 00233400 7C DE 33 78 */ mr r30, r6 /* 802364A4 00233404 2C 1E 00 09 */ cmpwi r30, 9 /* 802364A8 00233408 7C 7B 1B 78 */ mr r27, r3 /* 802364AC 0023340C 7C 9C 23 78 */ mr r28, r4 /* 802364B0 00233410 7C BD 2B 78 */ mr r29, r5 /* 802364B4 00233414 3B E0 00 00 */ li r31, 0 /* 802364B8 00233418 41 82 00 2C */ beq lbl_802364E4 /* 802364BC 0023341C 40 80 00 10 */ bge lbl_802364CC /* 802364C0 00233420 2C 1E 00 08 */ cmpwi r30, 8 /* 802364C4 00233424 40 80 00 14 */ bge lbl_802364D8 /* 802364C8 00233428 48 00 00 5C */ b lbl_80236524 lbl_802364CC: /* 802364CC 0023342C 2C 1E 00 16 */ cmpwi r30, 0x16 /* 802364D0 00233430 41 82 00 20 */ beq lbl_802364F0 /* 802364D4 00233434 48 00 00 50 */ b lbl_80236524 lbl_802364D8: /* 802364D8 00233438 38 A0 00 01 */ li r5, 1 /* 802364DC 0023343C 4B FF E5 95 */ bl sub_80234a70 /* 802364E0 00233440 48 00 00 44 */ b lbl_80236524 lbl_802364E4: /* 802364E4 00233444 38 A0 00 00 */ li r5, 0 /* 802364E8 00233448 4B FF E5 89 */ bl sub_80234a70 /* 802364EC 0023344C 48 00 00 38 */ b lbl_80236524 lbl_802364F0: /* 802364F0 00233450 7F 86 E3 78 */ mr r6, r28 /* 802364F4 00233454 38 80 00 28 */ li r4, 0x28 /* 802364F8 00233458 38 A0 00 29 */ li r5, 0x29 /* 802364FC 0023345C 4B E1 D9 D9 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager /* 80236500 00233460 A0 1B 00 08 */ lhz r0, 8(r27) /* 80236504 00233464 7F 86 E3 78 */ mr r6, r28 /* 80236508 00233468 38 81 00 0C */ addi r4, r1, 0xc /* 8023650C 0023346C 3B E0 00 01 */ li r31, 1 /* 80236510 00233470 B0 01 00 0C */ sth r0, 0xc(r1) /* 80236514 00233474 38 A0 00 08 */ li r5, 8 /* 80236518 00233478 B0 01 00 08 */ sth r0, 8(r1) /* 8023651C 0023347C 80 7C 08 4C */ lwz r3, 0x84c(r28) /* 80236520 00233480 4B F4 4D 35 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager lbl_80236524: /* 80236524 00233484 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 80236528 00233488 40 82 00 1C */ bne lbl_80236544 /* 8023652C 0023348C FC 20 F8 90 */ fmr f1, f31 /* 80236530 00233490 7F 63 DB 78 */ mr r3, r27 /* 80236534 00233494 7F 84 E3 78 */ mr r4, r28 /* 80236538 00233498 7F A5 EB 78 */ mr r5, r29 /* 8023653C 0023349C 7F C6 F3 78 */ mr r6, r30 /* 80236540 002334A0 4B E4 29 71 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_80236544: /* 80236544 002334A4 CB E1 00 28 */ lfd f31, 0x28(r1) /* 80236548 002334A8 BB 61 00 14 */ lmw r27, 0x14(r1) /* 8023654C 002334AC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80236550 002334B0 7C 08 03 A6 */ mtlr r0 /* 80236554 002334B4 38 21 00 30 */ addi r1, r1, 0x30 /* 80236558 002334B8 4E 80 00 20 */ blr .global GetDamageVulnerability__10CMagdoliteCFRC9CVector3fRC9CVector3fRC11CDamageInfo GetDamageVulnerability__10CMagdoliteCFRC9CVector3fRC9CVector3fRC11CDamageInfo: /* 8023655C 002334BC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80236560 002334C0 7C 08 02 A6 */ mflr r0 /* 80236564 002334C4 90 01 00 14 */ stw r0, 0x14(r1) /* 80236568 002334C8 81 83 00 00 */ lwz r12, 0(r3) /* 8023656C 002334CC 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80236570 002334D0 7D 89 03 A6 */ mtctr r12 /* 80236574 002334D4 4E 80 04 21 */ bctrl /* 80236578 002334D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023657C 002334DC 7C 08 03 A6 */ mtlr r0 /* 80236580 002334E0 38 21 00 10 */ addi r1, r1, 0x10 /* 80236584 002334E4 4E 80 00 20 */ blr .global GetDamageVulnerability__10CMagdoliteCFv GetDamageVulnerability__10CMagdoliteCFv: /* 80236588 002334E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023658C 002334EC 7C 08 02 A6 */ mflr r0 /* 80236590 002334F0 90 01 00 14 */ stw r0, 0x14(r1) /* 80236594 002334F4 88 03 04 00 */ lbz r0, 0x400(r3) /* 80236598 002334F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023659C 002334FC 41 82 00 0C */ beq lbl_802365A8 /* 802365A0 00233500 4B E6 C7 D1 */ bl GetDamageVulnerability__3CAiCFv /* 802365A4 00233504 48 00 00 0C */ b lbl_802365B0 lbl_802365A8: /* 802365A8 00233508 3C 60 80 57 */ lis r3, lbl_8056D718@ha /* 802365AC 0023350C 38 63 D7 18 */ addi r3, r3, lbl_8056D718@l lbl_802365B0: /* 802365B0 00233510 80 01 00 14 */ lwz r0, 0x14(r1) /* 802365B4 00233514 7C 08 03 A6 */ mtlr r0 /* 802365B8 00233518 38 21 00 10 */ addi r1, r1, 0x10 /* 802365BC 0023351C 4E 80 00 20 */ blr .global sub_802365c0 sub_802365c0: /* 802365C0 00233520 94 21 FD F0 */ stwu r1, -0x210(r1) /* 802365C4 00233524 7C 08 02 A6 */ mflr r0 /* 802365C8 00233528 90 01 02 14 */ stw r0, 0x214(r1) /* 802365CC 0023352C 38 00 00 00 */ li r0, 0 /* 802365D0 00233530 BF 21 01 F4 */ stmw r25, 0x1f4(r1) /* 802365D4 00233534 7C 7D 1B 78 */ mr r29, r3 /* 802365D8 00233538 7C 9E 23 78 */ mr r30, r4 /* 802365DC 0023353C 38 61 00 CC */ addi r3, r1, 0xcc /* 802365E0 00233540 38 80 00 08 */ li r4, 8 /* 802365E4 00233544 90 01 00 D0 */ stw r0, 0xd0(r1) /* 802365E8 00233548 90 01 00 D4 */ stw r0, 0xd4(r1) /* 802365EC 0023354C 90 01 00 D8 */ stw r0, 0xd8(r1) /* 802365F0 00233550 4B F2 01 C9 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi" /* 802365F4 00233554 80 9D 00 64 */ lwz r4, 0x64(r29) /* 802365F8 00233558 3C 60 80 3D */ lis r3, lbl_803D42E8@ha /* 802365FC 0023355C 3B 83 42 E8 */ addi r28, r3, lbl_803D42E8@l /* 80236600 00233560 3B 61 01 4C */ addi r27, r1, 0x14c /* 80236604 00233564 83 E4 00 10 */ lwz r31, 0x10(r4) /* 80236608 00233568 3B 41 01 D4 */ addi r26, r1, 0x1d4 /* 8023660C 0023356C 3B 20 00 00 */ li r25, 0 lbl_80236610: /* 80236610 00233570 80 9C 00 00 */ lwz r4, 0(r28) /* 80236614 00233574 38 61 00 BC */ addi r3, r1, 0xbc /* 80236618 00233578 4B DC E6 A1 */ bl string_l__4rstlFPCc /* 8023661C 0023357C 80 9C 00 00 */ lwz r4, 0(r28) /* 80236620 00233580 38 61 00 AC */ addi r3, r1, 0xac /* 80236624 00233584 4B DC E6 95 */ bl string_l__4rstlFPCc /* 80236628 00233588 7F E4 FB 78 */ mr r4, r31 /* 8023662C 0023358C 38 61 00 18 */ addi r3, r1, 0x18 /* 80236630 00233590 38 A1 00 BC */ addi r5, r1, 0xbc /* 80236634 00233594 4B DF 82 05 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80236638 00233598 88 01 00 18 */ lbz r0, 0x18(r1) /* 8023663C 0023359C 38 61 01 20 */ addi r3, r1, 0x120 /* 80236640 002335A0 C0 3C 00 04 */ lfs f1, 4(r28) /* 80236644 002335A4 38 81 00 1C */ addi r4, r1, 0x1c /* 80236648 002335A8 98 01 00 1C */ stb r0, 0x1c(r1) /* 8023664C 002335AC 38 A1 00 AC */ addi r5, r1, 0xac /* 80236650 002335B0 C0 42 B7 48 */ lfs f2, lbl_805AD468@sda21(r2) /* 80236654 002335B4 4B F7 21 B9 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 80236658 002335B8 80 E1 01 20 */ lwz r7, 0x120(r1) /* 8023665C 002335BC 7F 43 D3 78 */ mr r3, r26 /* 80236660 002335C0 80 C1 01 24 */ lwz r6, 0x124(r1) /* 80236664 002335C4 7F 64 DB 78 */ mr r4, r27 /* 80236668 002335C8 88 A1 01 28 */ lbz r5, 0x128(r1) /* 8023666C 002335CC 88 01 01 29 */ lbz r0, 0x129(r1) /* 80236670 002335D0 C0 E1 01 2C */ lfs f7, 0x12c(r1) /* 80236674 002335D4 C0 C1 01 30 */ lfs f6, 0x130(r1) /* 80236678 002335D8 C0 A1 01 34 */ lfs f5, 0x134(r1) /* 8023667C 002335DC C0 81 01 38 */ lfs f4, 0x138(r1) /* 80236680 002335E0 C0 61 01 3C */ lfs f3, 0x13c(r1) /* 80236684 002335E4 C0 41 01 40 */ lfs f2, 0x140(r1) /* 80236688 002335E8 C0 21 01 44 */ lfs f1, 0x144(r1) /* 8023668C 002335EC C0 01 01 48 */ lfs f0, 0x148(r1) /* 80236690 002335F0 90 E1 01 A8 */ stw r7, 0x1a8(r1) /* 80236694 002335F4 90 C1 01 AC */ stw r6, 0x1ac(r1) /* 80236698 002335F8 98 A1 01 B0 */ stb r5, 0x1b0(r1) /* 8023669C 002335FC 98 01 01 B1 */ stb r0, 0x1b1(r1) /* 802366A0 00233600 D0 E1 01 B4 */ stfs f7, 0x1b4(r1) /* 802366A4 00233604 D0 C1 01 B8 */ stfs f6, 0x1b8(r1) /* 802366A8 00233608 D0 A1 01 BC */ stfs f5, 0x1bc(r1) /* 802366AC 0023360C D0 81 01 C0 */ stfs f4, 0x1c0(r1) /* 802366B0 00233610 D0 61 01 C4 */ stfs f3, 0x1c4(r1) /* 802366B4 00233614 D0 41 01 C8 */ stfs f2, 0x1c8(r1) /* 802366B8 00233618 D0 21 01 CC */ stfs f1, 0x1cc(r1) /* 802366BC 0023361C D0 01 01 D0 */ stfs f0, 0x1d0(r1) /* 802366C0 00233620 48 10 7A A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802366C4 00233624 A0 01 01 5C */ lhz r0, 0x15c(r1) /* 802366C8 00233628 28 1B 00 00 */ cmplwi r27, 0 /* 802366CC 0023362C C0 01 01 60 */ lfs f0, 0x160(r1) /* 802366D0 00233630 B0 01 01 E4 */ sth r0, 0x1e4(r1) /* 802366D4 00233634 D0 01 01 E8 */ stfs f0, 0x1e8(r1) /* 802366D8 00233638 41 82 00 0C */ beq lbl_802366E4 /* 802366DC 0023363C 7F 63 DB 78 */ mr r3, r27 /* 802366E0 00233640 48 10 74 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802366E4: /* 802366E4 00233644 38 61 00 AC */ addi r3, r1, 0xac /* 802366E8 00233648 48 10 73 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802366EC 0023364C 38 61 00 BC */ addi r3, r1, 0xbc /* 802366F0 00233650 48 10 73 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802366F4 00233654 38 61 00 CC */ addi r3, r1, 0xcc /* 802366F8 00233658 38 81 01 A8 */ addi r4, r1, 0x1a8 /* 802366FC 0023365C 4B F1 FB 35 */ bl sub_80156230 /* 80236700 00233660 28 1A 00 00 */ cmplwi r26, 0 /* 80236704 00233664 41 82 00 0C */ beq lbl_80236710 /* 80236708 00233668 7F 43 D3 78 */ mr r3, r26 /* 8023670C 0023366C 48 10 73 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80236710: /* 80236710 00233670 3B 39 00 01 */ addi r25, r25, 1 /* 80236714 00233674 3B 9C 00 08 */ addi r28, r28, 8 /* 80236718 00233678 28 19 00 05 */ cmplwi r25, 5 /* 8023671C 0023367C 41 80 FE F4 */ blt lbl_80236610 /* 80236720 00233680 3C 60 80 3F */ lis r3, lbl_803E81A0@ha /* 80236724 00233684 3B 61 01 08 */ addi r27, r1, 0x108 /* 80236728 00233688 3B 43 81 A0 */ addi r26, r3, lbl_803E81A0@l /* 8023672C 0023368C 3B 81 01 90 */ addi r28, r1, 0x190 /* 80236730 00233690 3B 20 00 00 */ li r25, 0 lbl_80236734: /* 80236734 00233694 80 9A 00 00 */ lwz r4, 0(r26) /* 80236738 00233698 38 61 00 9C */ addi r3, r1, 0x9c /* 8023673C 0023369C 4B DC E5 7D */ bl string_l__4rstlFPCc /* 80236740 002336A0 80 9A 00 04 */ lwz r4, 4(r26) /* 80236744 002336A4 38 61 00 8C */ addi r3, r1, 0x8c /* 80236748 002336A8 4B DC E5 71 */ bl string_l__4rstlFPCc /* 8023674C 002336AC 80 9A 00 04 */ lwz r4, 4(r26) /* 80236750 002336B0 38 61 00 70 */ addi r3, r1, 0x70 /* 80236754 002336B4 4B DC E5 65 */ bl string_l__4rstlFPCc /* 80236758 002336B8 C0 5A 00 10 */ lfs f2, 0x10(r26) /* 8023675C 002336BC 7F E4 FB 78 */ mr r4, r31 /* 80236760 002336C0 C0 3A 00 0C */ lfs f1, 0xc(r26) /* 80236764 002336C4 38 61 00 08 */ addi r3, r1, 8 /* 80236768 002336C8 C0 1A 00 08 */ lfs f0, 8(r26) /* 8023676C 002336CC 38 A1 00 8C */ addi r5, r1, 0x8c /* 80236770 002336D0 D0 21 00 84 */ stfs f1, 0x84(r1) /* 80236774 002336D4 D0 01 00 80 */ stfs f0, 0x80(r1) /* 80236778 002336D8 D0 41 00 88 */ stfs f2, 0x88(r1) /* 8023677C 002336DC 4B DF 80 BD */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80236780 002336E0 88 01 00 08 */ lbz r0, 8(r1) /* 80236784 002336E4 7F E4 FB 78 */ mr r4, r31 /* 80236788 002336E8 38 61 00 10 */ addi r3, r1, 0x10 /* 8023678C 002336EC 38 A1 00 9C */ addi r5, r1, 0x9c /* 80236790 002336F0 98 01 00 0C */ stb r0, 0xc(r1) /* 80236794 002336F4 4B DF 80 A5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80236798 002336F8 88 01 00 10 */ lbz r0, 0x10(r1) /* 8023679C 002336FC 38 61 00 DC */ addi r3, r1, 0xdc /* 802367A0 00233700 C0 22 B7 48 */ lfs f1, lbl_805AD468@sda21(r2) /* 802367A4 00233704 38 81 00 14 */ addi r4, r1, 0x14 /* 802367A8 00233708 98 01 00 14 */ stb r0, 0x14(r1) /* 802367AC 0023370C 38 A1 00 0C */ addi r5, r1, 0xc /* 802367B0 00233710 38 C1 00 80 */ addi r6, r1, 0x80 /* 802367B4 00233714 39 01 00 70 */ addi r8, r1, 0x70 /* 802367B8 00233718 38 E0 00 01 */ li r7, 1 /* 802367BC 0023371C 4B F7 1E 19 */ bl "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" /* 802367C0 00233720 80 E1 00 DC */ lwz r7, 0xdc(r1) /* 802367C4 00233724 7F 83 E3 78 */ mr r3, r28 /* 802367C8 00233728 80 C1 00 E0 */ lwz r6, 0xe0(r1) /* 802367CC 0023372C 7F 64 DB 78 */ mr r4, r27 /* 802367D0 00233730 88 A1 00 E4 */ lbz r5, 0xe4(r1) /* 802367D4 00233734 88 01 00 E5 */ lbz r0, 0xe5(r1) /* 802367D8 00233738 C0 E1 00 E8 */ lfs f7, 0xe8(r1) /* 802367DC 0023373C C0 C1 00 EC */ lfs f6, 0xec(r1) /* 802367E0 00233740 C0 A1 00 F0 */ lfs f5, 0xf0(r1) /* 802367E4 00233744 C0 81 00 F4 */ lfs f4, 0xf4(r1) /* 802367E8 00233748 C0 61 00 F8 */ lfs f3, 0xf8(r1) /* 802367EC 0023374C C0 41 00 FC */ lfs f2, 0xfc(r1) /* 802367F0 00233750 C0 21 01 00 */ lfs f1, 0x100(r1) /* 802367F4 00233754 C0 01 01 04 */ lfs f0, 0x104(r1) /* 802367F8 00233758 90 E1 01 64 */ stw r7, 0x164(r1) /* 802367FC 0023375C 90 C1 01 68 */ stw r6, 0x168(r1) /* 80236800 00233760 98 A1 01 6C */ stb r5, 0x16c(r1) /* 80236804 00233764 98 01 01 6D */ stb r0, 0x16d(r1) /* 80236808 00233768 D0 E1 01 70 */ stfs f7, 0x170(r1) /* 8023680C 0023376C D0 C1 01 74 */ stfs f6, 0x174(r1) /* 80236810 00233770 D0 A1 01 78 */ stfs f5, 0x178(r1) /* 80236814 00233774 D0 81 01 7C */ stfs f4, 0x17c(r1) /* 80236818 00233778 D0 61 01 80 */ stfs f3, 0x180(r1) /* 8023681C 0023377C D0 41 01 84 */ stfs f2, 0x184(r1) /* 80236820 00233780 D0 21 01 88 */ stfs f1, 0x188(r1) /* 80236824 00233784 D0 01 01 8C */ stfs f0, 0x18c(r1) /* 80236828 00233788 48 10 79 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8023682C 0023378C A0 01 01 18 */ lhz r0, 0x118(r1) /* 80236830 00233790 28 1B 00 00 */ cmplwi r27, 0 /* 80236834 00233794 C0 01 01 1C */ lfs f0, 0x11c(r1) /* 80236838 00233798 B0 01 01 A0 */ sth r0, 0x1a0(r1) /* 8023683C 0023379C D0 01 01 A4 */ stfs f0, 0x1a4(r1) /* 80236840 002337A0 41 82 00 0C */ beq lbl_8023684C /* 80236844 002337A4 7F 63 DB 78 */ mr r3, r27 /* 80236848 002337A8 48 10 72 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8023684C: /* 8023684C 002337AC 38 61 00 70 */ addi r3, r1, 0x70 /* 80236850 002337B0 48 10 72 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80236854 002337B4 38 61 00 8C */ addi r3, r1, 0x8c /* 80236858 002337B8 48 10 72 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8023685C 002337BC 38 61 00 9C */ addi r3, r1, 0x9c /* 80236860 002337C0 48 10 72 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80236864 002337C4 38 61 00 CC */ addi r3, r1, 0xcc /* 80236868 002337C8 38 81 01 64 */ addi r4, r1, 0x164 /* 8023686C 002337CC 4B F1 F9 C5 */ bl sub_80156230 /* 80236870 002337D0 28 1C 00 00 */ cmplwi r28, 0 /* 80236874 002337D4 41 82 00 0C */ beq lbl_80236880 /* 80236878 002337D8 7F 83 E3 78 */ mr r3, r28 /* 8023687C 002337DC 48 10 72 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80236880: /* 80236880 002337E0 3B 39 00 01 */ addi r25, r25, 1 /* 80236884 002337E4 3B 5A 00 14 */ addi r26, r26, 0x14 /* 80236888 002337E8 28 19 00 02 */ cmplwi r25, 2 /* 8023688C 002337EC 41 80 FE A8 */ blt lbl_80236734 /* 80236890 002337F0 3C 80 80 3D */ lis r4, lbl_803D4310@ha /* 80236894 002337F4 38 60 00 18 */ li r3, 0x18 /* 80236898 002337F8 38 84 43 10 */ addi r4, r4, lbl_803D4310@l /* 8023689C 002337FC 38 A0 00 00 */ li r5, 0 /* 802368A0 00233800 38 84 00 4B */ addi r4, r4, 0x4b /* 802368A4 00233804 48 0D EF C9 */ bl __nw__FUlPCcPCc /* 802368A8 00233808 7C 7C 1B 79 */ or. r28, r3, r3 /* 802368AC 0023380C 41 82 00 3C */ beq lbl_802368E8 /* 802368B0 00233810 88 1D 00 30 */ lbz r0, 0x30(r29) /* 802368B4 00233814 7F C4 F3 78 */ mr r4, r30 /* 802368B8 00233818 81 3D 00 04 */ lwz r9, 4(r29) /* 802368BC 0023381C 38 A1 00 2C */ addi r5, r1, 0x2c /* 802368C0 00233820 54 08 CF FE */ rlwinm r8, r0, 0x19, 0x1f, 0x1f /* 802368C4 00233824 38 C1 00 3C */ addi r6, r1, 0x3c /* 802368C8 00233828 91 21 00 3C */ stw r9, 0x3c(r1) /* 802368CC 0023382C 38 E1 00 CC */ addi r7, r1, 0xcc /* 802368D0 00233830 A0 1D 00 08 */ lhz r0, 8(r29) /* 802368D4 00233834 91 21 00 38 */ stw r9, 0x38(r1) /* 802368D8 00233838 B0 01 00 28 */ sth r0, 0x28(r1) /* 802368DC 0023383C B0 01 00 2C */ sth r0, 0x2c(r1) /* 802368E0 00233840 4B F7 10 51 */ bl "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b" /* 802368E4 00233844 7C 7C 1B 78 */ mr r28, r3 lbl_802368E8: /* 802368E8 00233848 80 7D 05 80 */ lwz r3, 0x580(r29) /* 802368EC 0023384C 38 80 00 01 */ li r4, 1 /* 802368F0 00233850 4B F7 0F ED */ bl sub_801a78dc /* 802368F4 00233854 93 9D 05 80 */ stw r28, 0x580(r29) /* 802368F8 00233858 3B 20 00 00 */ li r25, 0 /* 802368FC 0023385C 48 00 00 50 */ b lbl_8023694C lbl_80236900: /* 80236900 00233860 80 7D 05 80 */ lwz r3, 0x580(r29) /* 80236904 00233864 7F 24 CB 78 */ mr r4, r25 /* 80236908 00233868 4B F7 09 31 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 8023690C 0023386C A0 03 00 3C */ lhz r0, 0x3c(r3) /* 80236910 00233870 7F C3 F3 78 */ mr r3, r30 /* 80236914 00233874 38 81 00 24 */ addi r4, r1, 0x24 /* 80236918 00233878 B0 01 00 34 */ sth r0, 0x34(r1) /* 8023691C 0023387C B0 01 00 24 */ sth r0, 0x24(r1) /* 80236920 00233880 4B E1 5C 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80236924 00233884 7C 64 1B 78 */ mr r4, r3 /* 80236928 00233888 38 61 00 48 */ addi r3, r1, 0x48 /* 8023692C 0023388C 4B E7 8A 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 80236930 00233890 80 63 00 04 */ lwz r3, 4(r3) /* 80236934 00233894 28 03 00 00 */ cmplwi r3, 0 /* 80236938 00233898 41 82 00 10 */ beq lbl_80236948 /* 8023693C 0023389C 7F C5 F3 78 */ mr r5, r30 /* 80236940 002338A0 38 80 00 35 */ li r4, 0x35 /* 80236944 002338A4 4B E1 DA 0D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager lbl_80236948: /* 80236948 002338A8 3B 39 00 01 */ addi r25, r25, 1 lbl_8023694C: /* 8023694C 002338AC 80 7D 05 80 */ lwz r3, 0x580(r29) /* 80236950 002338B0 4B F7 08 F9 */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 80236954 002338B4 7C 19 18 40 */ cmplw r25, r3 /* 80236958 002338B8 41 80 FF A8 */ blt lbl_80236900 /* 8023695C 002338BC 3B 5D 06 A0 */ addi r26, r29, 0x6a0 /* 80236960 002338C0 3B 20 00 00 */ li r25, 0 /* 80236964 002338C4 48 00 00 D4 */ b lbl_80236A38 lbl_80236968: /* 80236968 002338C8 80 7D 05 80 */ lwz r3, 0x580(r29) /* 8023696C 002338CC 7F 24 CB 78 */ mr r4, r25 /* 80236970 002338D0 4B F7 08 C9 */ bl GetCollisionDescFromIndex__22CCollisionActorManagerCFUi /* 80236974 002338D4 80 8D 96 58 */ lwz r4, lbl_805A8218@sda21(r13) /* 80236978 002338D8 7C 7C 1B 78 */ mr r28, r3 /* 8023697C 002338DC 38 61 00 60 */ addi r3, r1, 0x60 /* 80236980 002338E0 4B DC E3 39 */ bl string_l__4rstlFPCc /* 80236984 002338E4 38 7C 00 2C */ addi r3, r28, 0x2c /* 80236988 002338E8 38 81 00 60 */ addi r4, r1, 0x60 /* 8023698C 002338EC 4B E1 BC 55 */ 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" /* 80236990 002338F0 7C 7F 1B 78 */ mr r31, r3 /* 80236994 002338F4 38 61 00 60 */ addi r3, r1, 0x60 /* 80236998 002338F8 48 10 71 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8023699C 002338FC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802369A0 00233900 40 82 00 30 */ bne lbl_802369D0 /* 802369A4 00233904 80 8D 96 5C */ lwz r4, lbl_805A821C@sda21(r13) /* 802369A8 00233908 38 61 00 50 */ addi r3, r1, 0x50 /* 802369AC 0023390C 4B DC E3 0D */ bl string_l__4rstlFPCc /* 802369B0 00233910 38 7C 00 2C */ addi r3, r28, 0x2c /* 802369B4 00233914 38 81 00 50 */ addi r4, r1, 0x50 /* 802369B8 00233918 4B E1 BC 29 */ 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" /* 802369BC 0023391C 7C 7F 1B 78 */ mr r31, r3 /* 802369C0 00233920 38 61 00 50 */ addi r3, r1, 0x50 /* 802369C4 00233924 48 10 71 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802369C8 00233928 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 802369CC 0023392C 41 82 00 68 */ beq lbl_80236A34 lbl_802369D0: /* 802369D0 00233930 A0 1C 00 3C */ lhz r0, 0x3c(r28) /* 802369D4 00233934 7F C3 F3 78 */ mr r3, r30 /* 802369D8 00233938 38 81 00 20 */ addi r4, r1, 0x20 /* 802369DC 0023393C B0 01 00 30 */ sth r0, 0x30(r1) /* 802369E0 00233940 B0 01 00 20 */ sth r0, 0x20(r1) /* 802369E4 00233944 4B E1 5B 91 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802369E8 00233948 7C 64 1B 78 */ mr r4, r3 /* 802369EC 0023394C 38 61 00 40 */ addi r3, r1, 0x40 /* 802369F0 00233950 4B E7 89 5D */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity" /* 802369F4 00233954 83 63 00 04 */ lwz r27, 4(r3) /* 802369F8 00233958 28 1B 00 00 */ cmplwi r27, 0 /* 802369FC 0023395C 41 82 00 38 */ beq lbl_80236A34 /* 80236A00 00233960 7F 63 DB 78 */ mr r3, r27 /* 80236A04 00233964 7F C5 F3 78 */ mr r5, r30 /* 80236A08 00233968 38 80 00 12 */ li r4, 0x12 /* 80236A0C 0023396C 4B E1 D9 45 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80236A10 00233970 80 1D 06 9C */ lwz r0, 0x69c(r29) /* 80236A14 00233974 A0 9B 00 08 */ lhz r4, 8(r27) /* 80236A18 00233978 54 00 08 3C */ slwi r0, r0, 1 /* 80236A1C 0023397C 7C 7A 02 15 */ add. r3, r26, r0 /* 80236A20 00233980 41 82 00 08 */ beq lbl_80236A28 /* 80236A24 00233984 B0 83 00 00 */ sth r4, 0(r3) lbl_80236A28: /* 80236A28 00233988 80 7D 06 9C */ lwz r3, 0x69c(r29) /* 80236A2C 0023398C 38 03 00 01 */ addi r0, r3, 1 /* 80236A30 00233990 90 1D 06 9C */ stw r0, 0x69c(r29) lbl_80236A34: /* 80236A34 00233994 3B 39 00 01 */ addi r25, r25, 1 lbl_80236A38: /* 80236A38 00233998 80 7D 05 80 */ lwz r3, 0x580(r29) /* 80236A3C 0023399C 4B F7 08 0D */ bl GetNumCollisionActors__22CCollisionActorManagerCFv /* 80236A40 002339A0 7C 19 18 40 */ cmplw r25, r3 /* 80236A44 002339A4 41 80 FF 24 */ blt lbl_80236968 /* 80236A48 002339A8 38 61 00 CC */ addi r3, r1, 0xcc /* 80236A4C 002339AC 38 80 FF FF */ li r4, -1 /* 80236A50 002339B0 4B F1 F8 DD */ bl sub_8015632c /* 80236A54 002339B4 BB 21 01 F4 */ lmw r25, 0x1f4(r1) /* 80236A58 002339B8 80 01 02 14 */ lwz r0, 0x214(r1) /* 80236A5C 002339BC 7C 08 03 A6 */ mtlr r0 /* 80236A60 002339C0 38 21 02 10 */ addi r1, r1, 0x210 /* 80236A64 002339C4 4E 80 00 20 */ blr .global AcceptScriptMsg__10CMagdoliteF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__10CMagdoliteF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80236A68 002339C8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80236A6C 002339CC 7C 08 02 A6 */ mflr r0 /* 80236A70 002339D0 90 01 00 74 */ stw r0, 0x74(r1) /* 80236A74 002339D4 BF 61 00 5C */ stmw r27, 0x5c(r1) /* 80236A78 002339D8 7C 9D 23 78 */ mr r29, r4 /* 80236A7C 002339DC 38 1D FF E2 */ addi r0, r29, -30 /* 80236A80 002339E0 7C 7C 1B 78 */ mr r28, r3 /* 80236A84 002339E4 28 00 00 12 */ cmplwi r0, 0x12 /* 80236A88 002339E8 7C BE 2B 78 */ mr r30, r5 /* 80236A8C 002339EC 7C DF 33 78 */ mr r31, r6 /* 80236A90 002339F0 3B 60 00 00 */ li r27, 0 /* 80236A94 002339F4 41 81 02 AC */ bgt lbl_80236D40 /* 80236A98 002339F8 3C 80 80 3F */ lis r4, lbl_803E850C@ha /* 80236A9C 002339FC 54 00 10 3A */ slwi r0, r0, 2 /* 80236AA0 00233A00 38 84 85 0C */ addi r4, r4, lbl_803E850C@l /* 80236AA4 00233A04 7C 04 00 2E */ lwzx r0, r4, r0 /* 80236AA8 00233A08 7C 09 03 A6 */ mtctr r0 /* 80236AAC 00233A0C 4E 80 04 20 */ bctr /* 80236AB0 00233A10 A0 1E 00 00 */ lhz r0, 0(r30) /* 80236AB4 00233A14 7F E3 FB 78 */ mr r3, r31 /* 80236AB8 00233A18 38 81 00 14 */ addi r4, r1, 0x14 /* 80236ABC 00233A1C B0 01 00 14 */ sth r0, 0x14(r1) /* 80236AC0 00233A20 4B E1 5A E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80236AC4 00233A24 7C 64 1B 78 */ mr r4, r3 /* 80236AC8 00233A28 38 61 00 18 */ addi r3, r1, 0x18 /* 80236ACC 00233A2C 4B E7 6C 41 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" /* 80236AD0 00233A30 83 63 00 04 */ lwz r27, 4(r3) /* 80236AD4 00233A34 28 1B 00 00 */ cmplwi r27, 0 /* 80236AD8 00233A38 41 82 00 FC */ beq lbl_80236BD4 /* 80236ADC 00233A3C 80 7F 08 4C */ lwz r3, 0x84c(r31) /* 80236AE0 00233A40 A0 9B 00 EC */ lhz r4, 0xec(r27) /* 80236AE4 00233A44 A0 03 00 08 */ lhz r0, 8(r3) /* 80236AE8 00233A48 7C 04 00 40 */ cmplw r4, r0 /* 80236AEC 00233A4C 40 82 00 E8 */ bne lbl_80236BD4 /* 80236AF0 00233A50 80 7C 04 50 */ lwz r3, 0x450(r28) /* 80236AF4 00233A54 4B F0 35 D9 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 80236AF8 00233A58 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80236AFC 00233A5C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80236B00 00233A60 40 81 00 48 */ ble lbl_80236B48 /* 80236B04 00233A64 38 7C 05 BC */ addi r3, r28, 0x5bc /* 80236B08 00233A68 38 9B 01 2C */ addi r4, r27, 0x12c /* 80236B0C 00233A6C 38 A0 00 00 */ li r5, 0 /* 80236B10 00233A70 4B EC B9 AD */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode /* 80236B14 00233A74 2C 03 00 02 */ cmpwi r3, 2 /* 80236B18 00233A78 41 82 00 30 */ beq lbl_80236B48 /* 80236B1C 00233A7C 88 1C 04 00 */ lbz r0, 0x400(r28) /* 80236B20 00233A80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80236B24 00233A84 41 82 00 B0 */ beq lbl_80236BD4 /* 80236B28 00233A88 88 1C 07 54 */ lbz r0, 0x754(r28) /* 80236B2C 00233A8C 38 60 00 01 */ li r3, 1 /* 80236B30 00233A90 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80236B34 00233A94 98 1C 07 54 */ stb r0, 0x754(r28) /* 80236B38 00233A98 88 1C 04 01 */ lbz r0, 0x401(r28) /* 80236B3C 00233A9C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80236B40 00233AA0 98 1C 04 01 */ stb r0, 0x401(r28) /* 80236B44 00233AA4 48 00 00 90 */ b lbl_80236BD4 lbl_80236B48: /* 80236B48 00233AA8 7F 83 E3 78 */ mr r3, r28 /* 80236B4C 00233AAC 7F E4 FB 78 */ mr r4, r31 /* 80236B50 00233AB0 81 9C 00 00 */ lwz r12, 0(r28) /* 80236B54 00233AB4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80236B58 00233AB8 7D 89 03 A6 */ mtctr r12 /* 80236B5C 00233ABC 4E 80 04 21 */ bctrl /* 80236B60 00233AC0 C0 5C 07 0C */ lfs f2, 0x70c(r28) /* 80236B64 00233AC4 C0 23 00 00 */ lfs f1, 0(r3) /* 80236B68 00233AC8 C0 1C 05 74 */ lfs f0, 0x574(r28) /* 80236B6C 00233ACC EC 22 08 28 */ fsubs f1, f2, f1 /* 80236B70 00233AD0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80236B74 00233AD4 40 81 00 38 */ ble lbl_80236BAC /* 80236B78 00233AD8 7F 83 E3 78 */ mr r3, r28 /* 80236B7C 00233ADC 7F E4 FB 78 */ mr r4, r31 /* 80236B80 00233AE0 81 9C 00 00 */ lwz r12, 0(r28) /* 80236B84 00233AE4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80236B88 00233AE8 7D 89 03 A6 */ mtctr r12 /* 80236B8C 00233AEC 4E 80 04 21 */ bctrl /* 80236B90 00233AF0 C0 03 00 00 */ lfs f0, 0(r3) /* 80236B94 00233AF4 38 60 00 01 */ li r3, 1 /* 80236B98 00233AF8 D0 1C 07 0C */ stfs f0, 0x70c(r28) /* 80236B9C 00233AFC 88 1C 07 54 */ lbz r0, 0x754(r28) /* 80236BA0 00233B00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80236BA4 00233B04 98 1C 07 54 */ stb r0, 0x754(r28) /* 80236BA8 00233B08 48 00 00 2C */ b lbl_80236BD4 lbl_80236BAC: /* 80236BAC 00233B0C 38 7C 06 24 */ addi r3, r28, 0x624 /* 80236BB0 00233B10 38 9B 01 2C */ addi r4, r27, 0x12c /* 80236BB4 00233B14 38 A0 00 00 */ li r5, 0 /* 80236BB8 00233B18 4B EC B9 05 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode /* 80236BBC 00233B1C 2C 03 00 02 */ cmpwi r3, 2 /* 80236BC0 00233B20 41 82 00 14 */ beq lbl_80236BD4 /* 80236BC4 00233B24 88 1C 04 00 */ lbz r0, 0x400(r28) /* 80236BC8 00233B28 38 60 00 01 */ li r3, 1 /* 80236BCC 00233B2C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80236BD0 00233B30 98 1C 04 00 */ stb r0, 0x400(r28) lbl_80236BD4: /* 80236BD4 00233B34 3B 60 00 01 */ li r27, 1 /* 80236BD8 00233B38 48 00 01 68 */ b lbl_80236D40 /* 80236BDC 00233B3C 80 7C 04 50 */ lwz r3, 0x450(r28) /* 80236BE0 00233B40 7F E4 FB 78 */ mr r4, r31 /* 80236BE4 00233B44 4B F0 41 0D */ bl Activate__15CBodyControllerFR13CStateManager /* 80236BE8 00233B48 7F 83 E3 78 */ mr r3, r28 /* 80236BEC 00233B4C 7F E5 FB 78 */ mr r5, r31 /* 80236BF0 00233B50 38 80 00 13 */ li r4, 0x13 /* 80236BF4 00233B54 4B E1 D3 8D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80236BF8 00233B58 7F 83 E3 78 */ mr r3, r28 /* 80236BFC 00233B5C 7F E5 FB 78 */ mr r5, r31 /* 80236C00 00233B60 38 80 00 32 */ li r4, 0x32 /* 80236C04 00233B64 4B E1 D7 4D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 80236C08 00233B68 38 7C 05 84 */ addi r3, r28, 0x584 /* 80236C0C 00233B6C 38 80 00 00 */ li r4, 0 /* 80236C10 00233B70 4B F3 E6 15 */ bl SetActive__13CBoneTrackingFb /* 80236C14 00233B74 7F 83 E3 78 */ mr r3, r28 /* 80236C18 00233B78 38 80 00 00 */ li r4, 0 /* 80236C1C 00233B7C 4B E1 C1 51 */ bl CreateShadow__6CActorFb /* 80236C20 00233B80 7F 84 E3 78 */ mr r4, r28 /* 80236C24 00233B84 38 61 00 38 */ addi r3, r1, 0x38 /* 80236C28 00233B88 4B EE 3D 05 */ bl GetBoundingBox__13CPhysicsActorCFv /* 80236C2C 00233B8C C0 61 00 44 */ lfs f3, 0x44(r1) /* 80236C30 00233B90 7F 83 E3 78 */ mr r3, r28 /* 80236C34 00233B94 C0 41 00 38 */ lfs f2, 0x38(r1) /* 80236C38 00233B98 38 81 00 20 */ addi r4, r1, 0x20 /* 80236C3C 00233B9C C0 21 00 4C */ lfs f1, 0x4c(r1) /* 80236C40 00233BA0 C0 01 00 40 */ lfs f0, 0x40(r1) /* 80236C44 00233BA4 EC 63 10 28 */ fsubs f3, f3, f2 /* 80236C48 00233BA8 C0 82 B7 4C */ lfs f4, lbl_805AD46C@sda21(r2) /* 80236C4C 00233BAC EC 41 00 28 */ fsubs f2, f1, f0 /* 80236C50 00233BB0 C0 21 00 48 */ lfs f1, 0x48(r1) /* 80236C54 00233BB4 EC 64 00 F2 */ fmuls f3, f4, f3 /* 80236C58 00233BB8 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80236C5C 00233BBC EC A4 00 B2 */ fmuls f5, f4, f2 /* 80236C60 00233BC0 EC 41 00 28 */ fsubs f2, f1, f0 /* 80236C64 00233BC4 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 80236C68 00233BC8 FC 20 18 50 */ fneg f1, f3 /* 80236C6C 00233BCC FC 00 28 50 */ fneg f0, f5 /* 80236C70 00233BD0 D0 A1 00 34 */ stfs f5, 0x34(r1) /* 80236C74 00233BD4 EC 44 00 B2 */ fmuls f2, f4, f2 /* 80236C78 00233BD8 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80236C7C 00233BDC FC 20 10 50 */ fneg f1, f2 /* 80236C80 00233BE0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80236C84 00233BE4 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80236C88 00233BE8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 80236C8C 00233BEC 4B EE 39 CD */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox /* 80236C90 00233BF0 7F 83 E3 78 */ mr r3, r28 /* 80236C94 00233BF4 7F E4 FB 78 */ mr r4, r31 /* 80236C98 00233BF8 4B FF F9 29 */ bl sub_802365c0 /* 80236C9C 00233BFC C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80236CA0 00233C00 7F 83 E3 78 */ mr r3, r28 /* 80236CA4 00233C04 7F E4 FB 78 */ mr r4, r31 /* 80236CA8 00233C08 D0 1C 03 40 */ stfs f0, 0x340(r28) /* 80236CAC 00233C0C 4B FF DE 75 */ bl sub_80234b20 /* 80236CB0 00233C10 7F 83 E3 78 */ mr r3, r28 /* 80236CB4 00233C14 7F E4 FB 78 */ mr r4, r31 /* 80236CB8 00233C18 81 9C 00 00 */ lwz r12, 0(r28) /* 80236CBC 00233C1C 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80236CC0 00233C20 7D 89 03 A6 */ mtctr r12 /* 80236CC4 00233C24 4E 80 04 21 */ bctrl /* 80236CC8 00233C28 C0 03 00 00 */ lfs f0, 0(r3) /* 80236CCC 00233C2C D0 1C 07 0C */ stfs f0, 0x70c(r28) /* 80236CD0 00233C30 48 00 00 70 */ b lbl_80236D40 /* 80236CD4 00233C34 80 7C 05 80 */ lwz r3, 0x580(r28) /* 80236CD8 00233C38 7F E4 FB 78 */ mr r4, r31 /* 80236CDC 00233C3C 4B F7 06 E9 */ bl Destroy__22CCollisionActorManagerCFR13CStateManager /* 80236CE0 00233C40 A0 7C 06 C8 */ lhz r3, 0x6c8(r28) /* 80236CE4 00233C44 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80236CE8 00233C48 7C 03 00 40 */ cmplw r3, r0 /* 80236CEC 00233C4C 41 82 00 54 */ beq lbl_80236D40 /* 80236CF0 00233C50 A0 1C 06 C8 */ lhz r0, 0x6c8(r28) /* 80236CF4 00233C54 7F E3 FB 78 */ mr r3, r31 /* 80236CF8 00233C58 38 81 00 10 */ addi r4, r1, 0x10 /* 80236CFC 00233C5C B0 01 00 10 */ sth r0, 0x10(r1) /* 80236D00 00233C60 4B E1 55 6D */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 80236D04 00233C64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80236D08 00233C68 B0 1C 06 C8 */ sth r0, 0x6c8(r28) /* 80236D0C 00233C6C 48 00 00 34 */ b lbl_80236D40 /* 80236D10 00233C70 A0 1E 00 00 */ lhz r0, 0(r30) /* 80236D14 00233C74 7F E5 FB 78 */ mr r5, r31 /* 80236D18 00233C78 38 81 00 0C */ addi r4, r1, 0xc /* 80236D1C 00233C7C B0 01 00 0C */ sth r0, 0xc(r1) /* 80236D20 00233C80 4B FF DA 89 */ bl sub_802347a8 /* 80236D24 00233C84 48 00 00 1C */ b lbl_80236D40 /* 80236D28 00233C88 80 7C 05 80 */ lwz r3, 0x580(r28) /* 80236D2C 00233C8C 28 03 00 00 */ cmplwi r3, 0 /* 80236D30 00233C90 41 82 00 10 */ beq lbl_80236D40 /* 80236D34 00233C94 7F E4 FB 78 */ mr r4, r31 /* 80236D38 00233C98 38 A0 00 00 */ li r5, 0 /* 80236D3C 00233C9C 4B F7 01 85 */ bl SetMovable__22CCollisionActorManagerFb lbl_80236D40: /* 80236D40 00233CA0 57 60 06 3F */ clrlwi. r0, r27, 0x18 /* 80236D44 00233CA4 40 82 00 20 */ bne lbl_80236D64 /* 80236D48 00233CA8 A0 1E 00 00 */ lhz r0, 0(r30) /* 80236D4C 00233CAC 7F 83 E3 78 */ mr r3, r28 /* 80236D50 00233CB0 7F A4 EB 78 */ mr r4, r29 /* 80236D54 00233CB4 7F E6 FB 78 */ mr r6, r31 /* 80236D58 00233CB8 B0 01 00 08 */ sth r0, 8(r1) /* 80236D5C 00233CBC 38 A1 00 08 */ addi r5, r1, 8 /* 80236D60 00233CC0 4B E4 5E 19 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager lbl_80236D64: /* 80236D64 00233CC4 BB 61 00 5C */ lmw r27, 0x5c(r1) /* 80236D68 00233CC8 80 01 00 74 */ lwz r0, 0x74(r1) /* 80236D6C 00233CCC 7C 08 03 A6 */ mtlr r0 /* 80236D70 00233CD0 38 21 00 70 */ addi r1, r1, 0x70 /* 80236D74 00233CD4 4E 80 00 20 */ blr .global Render__10CMagdoliteCFRC13CStateManager Render__10CMagdoliteCFRC13CStateManager: /* 80236D78 00233CD8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80236D7C 00233CDC 7C 08 02 A6 */ mflr r0 /* 80236D80 00233CE0 90 01 00 14 */ stw r0, 0x14(r1) /* 80236D84 00233CE4 4B E4 12 A9 */ bl Render__10CPatternedCFRC13CStateManager /* 80236D88 00233CE8 80 01 00 14 */ lwz r0, 0x14(r1) /* 80236D8C 00233CEC 7C 08 03 A6 */ mtlr r0 /* 80236D90 00233CF0 38 21 00 10 */ addi r1, r1, 0x10 /* 80236D94 00233CF4 4E 80 00 20 */ blr .global KnockBack__10CMagdoliteFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef KnockBack__10CMagdoliteFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: /* 80236D98 00233CF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80236D9C 00233CFC 7C 08 02 A6 */ mflr r0 /* 80236DA0 00233D00 90 01 00 14 */ stw r0, 0x14(r1) /* 80236DA4 00233D04 4B E4 39 D9 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef /* 80236DA8 00233D08 80 01 00 14 */ lwz r0, 0x14(r1) /* 80236DAC 00233D0C 7C 08 03 A6 */ mtlr r0 /* 80236DB0 00233D10 38 21 00 10 */ addi r1, r1, 0x10 /* 80236DB4 00233D14 4E 80 00 20 */ blr .global Think__10CMagdoliteFfR13CStateManager Think__10CMagdoliteFfR13CStateManager: /* 80236DB8 00233D18 94 21 FD 40 */ stwu r1, -0x2c0(r1) /* 80236DBC 00233D1C 7C 08 02 A6 */ mflr r0 /* 80236DC0 00233D20 90 01 02 C4 */ stw r0, 0x2c4(r1) /* 80236DC4 00233D24 DB E1 02 B0 */ stfd f31, 0x2b0(r1) /* 80236DC8 00233D28 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 /* 80236DCC 00233D2C DB C1 02 A0 */ stfd f30, 0x2a0(r1) /* 80236DD0 00233D30 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 /* 80236DD4 00233D34 DB A1 02 90 */ stfd f29, 0x290(r1) /* 80236DD8 00233D38 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 /* 80236DDC 00233D3C DB 81 02 80 */ stfd f28, 0x280(r1) /* 80236DE0 00233D40 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 /* 80236DE4 00233D44 DB 61 02 70 */ stfd f27, 0x270(r1) /* 80236DE8 00233D48 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 /* 80236DEC 00233D4C DB 41 02 60 */ stfd f26, 0x260(r1) /* 80236DF0 00233D50 F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 /* 80236DF4 00233D54 DB 21 02 50 */ stfd f25, 0x250(r1) /* 80236DF8 00233D58 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 /* 80236DFC 00233D5C 93 E1 02 4C */ stw r31, 0x24c(r1) /* 80236E00 00233D60 93 C1 02 48 */ stw r30, 0x248(r1) /* 80236E04 00233D64 93 A1 02 44 */ stw r29, 0x244(r1) /* 80236E08 00233D68 FF 20 08 90 */ fmr f25, f1 /* 80236E0C 00233D6C 7C 7E 1B 78 */ mr r30, r3 /* 80236E10 00233D70 7C 9F 23 78 */ mr r31, r4 /* 80236E14 00233D74 4B E4 2D 05 */ bl Think__10CPatternedFfR13CStateManager /* 80236E18 00233D78 88 1E 00 30 */ lbz r0, 0x30(r30) /* 80236E1C 00233D7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80236E20 00233D80 41 82 05 34 */ beq lbl_80237354 /* 80236E24 00233D84 C0 1E 07 58 */ lfs f0, 0x758(r30) /* 80236E28 00233D88 EC 00 C8 2A */ fadds f0, f0, f25 /* 80236E2C 00233D8C D0 1E 07 58 */ stfs f0, 0x758(r30) /* 80236E30 00233D90 80 7E 04 50 */ lwz r3, 0x450(r30) /* 80236E34 00233D94 4B F0 32 99 */ bl GetPercentageFrozen__15CBodyControllerCFv /* 80236E38 00233D98 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80236E3C 00233D9C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80236E40 00233DA0 40 81 00 20 */ ble lbl_80236E60 /* 80236E44 00233DA4 88 1E 07 54 */ lbz r0, 0x754(r30) /* 80236E48 00233DA8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f /* 80236E4C 00233DAC 41 82 00 14 */ beq lbl_80236E60 /* 80236E50 00233DB0 7F C3 F3 78 */ mr r3, r30 /* 80236E54 00233DB4 7F E4 FB 78 */ mr r4, r31 /* 80236E58 00233DB8 38 A0 00 00 */ li r5, 0 /* 80236E5C 00233DBC 4B FF DC 15 */ bl sub_80234a70 lbl_80236E60: /* 80236E60 00233DC0 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80236E64 00233DC4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80236E68 00233DC8 40 82 00 64 */ bne lbl_80236ECC /* 80236E6C 00233DCC A0 1E 06 C8 */ lhz r0, 0x6c8(r30) /* 80236E70 00233DD0 7F E3 FB 78 */ mr r3, r31 /* 80236E74 00233DD4 38 81 00 0C */ addi r4, r1, 0xc /* 80236E78 00233DD8 B0 01 00 0C */ sth r0, 0xc(r1) /* 80236E7C 00233DDC 4B E1 56 F9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 80236E80 00233DE0 7C 7D 1B 79 */ or. r29, r3, r3 /* 80236E84 00233DE4 41 82 00 48 */ beq lbl_80236ECC /* 80236E88 00233DE8 80 8D 96 4C */ lwz r4, lbl_805A820C@sda21(r13) /* 80236E8C 00233DEC 38 61 00 C0 */ addi r3, r1, 0xc0 /* 80236E90 00233DF0 4B DC DE 29 */ bl string_l__4rstlFPCc /* 80236E94 00233DF4 7F C4 F3 78 */ mr r4, r30 /* 80236E98 00233DF8 38 61 01 78 */ addi r3, r1, 0x178 /* 80236E9C 00233DFC 38 A1 00 C0 */ addi r5, r1, 0xc0 /* 80236EA0 00233E00 4B E4 1A D9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80236EA4 00233E04 38 61 02 08 */ addi r3, r1, 0x208 /* 80236EA8 00233E08 38 81 01 78 */ addi r4, r1, 0x178 /* 80236EAC 00233E0C 48 0D BC C9 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80236EB0 00233E10 38 61 00 C0 */ addi r3, r1, 0xc0 /* 80236EB4 00233E14 48 10 6C 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80236EB8 00233E18 FC 20 C8 90 */ fmr f1, f25 /* 80236EBC 00233E1C 7F A3 EB 78 */ mr r3, r29 /* 80236EC0 00233E20 7F E5 FB 78 */ mr r5, r31 /* 80236EC4 00233E24 38 81 02 08 */ addi r4, r1, 0x208 /* 80236EC8 00233E28 4B F6 15 39 */ bl SetTransform__13CFlameThrowerFRC12CTransform4f lbl_80236ECC: /* 80236ECC 00233E2C 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 80236ED0 00233E30 7F E5 FB 78 */ mr r5, r31 /* 80236ED4 00233E34 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80236ED8 00233E38 C0 22 B7 20 */ lfs f1, lbl_805AD440@sda21(r2) /* 80236EDC 00233E3C 81 84 00 00 */ lwz r12, 0(r4) /* 80236EE0 00233E40 C3 A4 00 60 */ lfs f29, 0x60(r4) /* 80236EE4 00233E44 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80236EE8 00233E48 C3 C4 00 50 */ lfs f30, 0x50(r4) /* 80236EEC 00233E4C C3 E4 00 40 */ lfs f31, 0x40(r4) /* 80236EF0 00233E50 7D 89 03 A6 */ mtctr r12 /* 80236EF4 00233E54 4E 80 04 21 */ bctrl /* 80236EF8 00233E58 C3 81 00 B4 */ lfs f28, 0xb4(r1) /* 80236EFC 00233E5C 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80236F00 00233E60 C3 61 00 B8 */ lfs f27, 0xb8(r1) /* 80236F04 00233E64 C3 41 00 BC */ lfs f26, 0xbc(r1) /* 80236F08 00233E68 80 8D 96 4C */ lwz r4, lbl_805A820C@sda21(r13) /* 80236F0C 00233E6C 4B DC DD AD */ bl string_l__4rstlFPCc /* 80236F10 00233E70 7F C4 F3 78 */ mr r4, r30 /* 80236F14 00233E74 38 61 01 48 */ addi r3, r1, 0x148 /* 80236F18 00233E78 38 A1 00 A4 */ addi r5, r1, 0xa4 /* 80236F1C 00233E7C 4B E4 1A 5D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80236F20 00233E80 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 80236F24 00233E84 38 81 01 48 */ addi r4, r1, 0x148 /* 80236F28 00233E88 48 0D BC 4D */ bl __ct__12CTransform4fFRC12CTransform4f /* 80236F2C 00233E8C 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80236F30 00233E90 48 10 6B B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80236F34 00233E94 C0 41 01 E4 */ lfs f2, 0x1e4(r1) /* 80236F38 00233E98 38 61 00 98 */ addi r3, r1, 0x98 /* 80236F3C 00233E9C C0 21 01 F4 */ lfs f1, 0x1f4(r1) /* 80236F40 00233EA0 38 81 00 8C */ addi r4, r1, 0x8c /* 80236F44 00233EA4 C0 01 02 04 */ lfs f0, 0x204(r1) /* 80236F48 00233EA8 EC 5C 10 28 */ fsubs f2, f28, f2 /* 80236F4C 00233EAC EC 3B 08 28 */ fsubs f1, f27, f1 /* 80236F50 00233EB0 EC 1A 00 28 */ fsubs f0, f26, f0 /* 80236F54 00233EB4 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 80236F58 00233EB8 D0 21 00 90 */ stfs f1, 0x90(r1) /* 80236F5C 00233EBC D0 01 00 94 */ stfs f0, 0x94(r1) /* 80236F60 00233EC0 48 0D D8 F1 */ bl AsNormalized__9CVector3fCFv /* 80236F64 00233EC4 C0 41 00 98 */ lfs f2, 0x98(r1) /* 80236F68 00233EC8 38 61 00 80 */ addi r3, r1, 0x80 /* 80236F6C 00233ECC C0 21 00 9C */ lfs f1, 0x9c(r1) /* 80236F70 00233ED0 38 81 00 DC */ addi r4, r1, 0xdc /* 80236F74 00233ED4 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 80236F78 00233ED8 D0 41 00 DC */ stfs f2, 0xdc(r1) /* 80236F7C 00233EDC C0 82 B7 44 */ lfs f4, lbl_805AD464@sda21(r2) /* 80236F80 00233EE0 D0 21 00 E0 */ stfs f1, 0xe0(r1) /* 80236F84 00233EE4 C0 41 01 DC */ lfs f2, 0x1dc(r1) /* 80236F88 00233EE8 D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 80236F8C 00233EEC C0 21 01 EC */ lfs f1, 0x1ec(r1) /* 80236F90 00233EF0 C0 7E 05 7C */ lfs f3, 0x57c(r30) /* 80236F94 00233EF4 C0 01 01 FC */ lfs f0, 0x1fc(r1) /* 80236F98 00233EF8 EC 64 00 F2 */ fmuls f3, f4, f3 /* 80236F9C 00233EFC D0 41 00 80 */ stfs f2, 0x80(r1) /* 80236FA0 00233F00 D0 21 00 84 */ stfs f1, 0x84(r1) /* 80236FA4 00233F04 D0 61 00 14 */ stfs f3, 0x14(r1) /* 80236FA8 00233F08 D0 01 00 88 */ stfs f0, 0x88(r1) /* 80236FAC 00233F0C 48 0D D6 85 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f /* 80236FB0 00233F10 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80236FB4 00233F14 38 61 00 10 */ addi r3, r1, 0x10 /* 80236FB8 00233F18 38 81 00 14 */ addi r4, r1, 0x14 /* 80236FBC 00233F1C 4B E4 6E 25 */ bl "Min__5CMathFRCfRCf" /* 80236FC0 00233F20 C0 21 01 F0 */ lfs f1, 0x1f0(r1) /* 80236FC4 00233F24 C0 01 00 E0 */ lfs f0, 0xe0(r1) /* 80236FC8 00233F28 C0 41 01 E0 */ lfs f2, 0x1e0(r1) /* 80236FCC 00233F2C EC 01 00 32 */ fmuls f0, f1, f0 /* 80236FD0 00233F30 C0 21 00 DC */ lfs f1, 0xdc(r1) /* 80236FD4 00233F34 C0 81 02 00 */ lfs f4, 0x200(r1) /* 80236FD8 00233F38 C0 61 00 E4 */ lfs f3, 0xe4(r1) /* 80236FDC 00233F3C EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80236FE0 00233F40 C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80236FE4 00233F44 C0 43 00 00 */ lfs f2, 0(r3) /* 80236FE8 00233F48 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 80236FEC 00233F4C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80236FF0 00233F50 40 80 00 08 */ bge lbl_80236FF8 /* 80236FF4 00233F54 FC 40 10 50 */ fneg f2, f2 lbl_80236FF8: /* 80236FF8 00233F58 C0 61 00 14 */ lfs f3, 0x14(r1) /* 80236FFC 00233F5C C0 22 B7 38 */ lfs f1, lbl_805AD458@sda21(r2) /* 80237000 00233F60 EC 42 18 2A */ fadds f2, f2, f3 /* 80237004 00233F64 C0 02 B7 34 */ lfs f0, lbl_805AD454@sda21(r2) /* 80237008 00233F68 EC 21 00 F2 */ fmuls f1, f1, f3 /* 8023700C 00233F6C EC 82 08 24 */ fdivs f4, f2, f1 /* 80237010 00233F70 EC 60 20 28 */ fsubs f3, f0, f4 /* 80237014 00233F74 EC 5C 01 32 */ fmuls f2, f28, f4 /* 80237018 00233F78 EC 3B 01 32 */ fmuls f1, f27, f4 /* 8023701C 00233F7C EC 1A 01 32 */ fmuls f0, f26, f4 /* 80237020 00233F80 EC 5F 10 FA */ fmadds f2, f31, f3, f2 /* 80237024 00233F84 EC 3E 08 FA */ fmadds f1, f30, f3, f1 /* 80237028 00233F88 EC 1D 00 FA */ fmadds f0, f29, f3, f0 /* 8023702C 00233F8C D0 5E 07 10 */ stfs f2, 0x710(r30) /* 80237030 00233F90 D0 3E 07 14 */ stfs f1, 0x714(r30) /* 80237034 00233F94 D0 1E 07 18 */ stfs f0, 0x718(r30) /* 80237038 00233F98 88 1E 00 30 */ lbz r0, 0x30(r30) /* 8023703C 00233F9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80237040 00233FA0 41 82 01 74 */ beq lbl_802371B4 /* 80237044 00233FA4 88 1E 04 00 */ lbz r0, 0x400(r30) /* 80237048 00233FA8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023704C 00233FAC 41 82 00 B8 */ beq lbl_80237104 /* 80237050 00233FB0 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80237054 00233FB4 80 63 00 10 */ lwz r3, 0x10(r3) /* 80237058 00233FB8 4B DF 59 AD */ bl PreRender__9CAnimDataFv /* 8023705C 00233FBC FC 20 C8 90 */ fmr f1, f25 /* 80237060 00233FC0 38 7E 05 84 */ addi r3, r30, 0x584 /* 80237064 00233FC4 4B F3 E9 45 */ bl Update__13CBoneTrackingFf /* 80237068 00233FC8 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8023706C 00233FCC 7F E4 FB 78 */ mr r4, r31 /* 80237070 00233FD0 81 1E 04 50 */ lwz r8, 0x450(r30) /* 80237074 00233FD4 38 7E 05 84 */ addi r3, r30, 0x584 /* 80237078 00233FD8 C0 05 00 00 */ lfs f0, 0(r5) /* 8023707C 00233FDC 38 DE 00 34 */ addi r6, r30, 0x34 /* 80237080 00233FE0 38 E1 00 74 */ addi r7, r1, 0x74 /* 80237084 00233FE4 D0 01 00 74 */ stfs f0, 0x74(r1) /* 80237088 00233FE8 C0 05 00 04 */ lfs f0, 4(r5) /* 8023708C 00233FEC D0 01 00 78 */ stfs f0, 0x78(r1) /* 80237090 00233FF0 C0 05 00 08 */ lfs f0, 8(r5) /* 80237094 00233FF4 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 80237098 00233FF8 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8023709C 00233FFC 80 A5 00 10 */ lwz r5, 0x10(r5) /* 802370A0 00234000 4B F3 E8 71 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController /* 802370A4 00234004 A0 1E 06 C8 */ lhz r0, 0x6c8(r30) /* 802370A8 00234008 7F E3 FB 78 */ mr r3, r31 /* 802370AC 0023400C 38 81 00 08 */ addi r4, r1, 8 /* 802370B0 00234010 B0 01 00 08 */ sth r0, 8(r1) /* 802370B4 00234014 4B E1 54 C1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802370B8 00234018 7C 7D 1B 79 */ or. r29, r3, r3 /* 802370BC 0023401C 41 82 00 48 */ beq lbl_80237104 /* 802370C0 00234020 80 8D 96 4C */ lwz r4, lbl_805A820C@sda21(r13) /* 802370C4 00234024 38 61 00 64 */ addi r3, r1, 0x64 /* 802370C8 00234028 4B DC DB F1 */ bl string_l__4rstlFPCc /* 802370CC 0023402C 7F C4 F3 78 */ mr r4, r30 /* 802370D0 00234030 38 61 01 18 */ addi r3, r1, 0x118 /* 802370D4 00234034 38 A1 00 64 */ addi r5, r1, 0x64 /* 802370D8 00234038 4B E4 18 A1 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802370DC 0023403C 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 802370E0 00234040 38 81 01 18 */ addi r4, r1, 0x118 /* 802370E4 00234044 48 0D BA 91 */ bl __ct__12CTransform4fFRC12CTransform4f /* 802370E8 00234048 38 61 00 64 */ addi r3, r1, 0x64 /* 802370EC 0023404C 48 10 69 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802370F0 00234050 FC 20 C8 90 */ fmr f1, f25 /* 802370F4 00234054 7F A3 EB 78 */ mr r3, r29 /* 802370F8 00234058 7F E5 FB 78 */ mr r5, r31 /* 802370FC 0023405C 38 81 01 A8 */ addi r4, r1, 0x1a8 /* 80237100 00234060 4B F6 13 01 */ bl SetTransform__13CFlameThrowerFRC12CTransform4f lbl_80237104: /* 80237104 00234064 FC 20 C8 90 */ fmr f1, f25 /* 80237108 00234068 80 7E 05 80 */ lwz r3, 0x580(r30) /* 8023710C 0023406C 7F E4 FB 78 */ mr r4, r31 /* 80237110 00234070 38 A0 00 00 */ li r5, 0 /* 80237114 00234074 4B F7 03 3D */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions /* 80237118 00234078 80 BE 00 64 */ lwz r5, 0x64(r30) /* 8023711C 0023407C 38 61 00 54 */ addi r3, r1, 0x54 /* 80237120 00234080 80 8D 96 54 */ lwz r4, lbl_805A8214@sda21(r13) /* 80237124 00234084 C3 A5 00 00 */ lfs f29, 0(r5) /* 80237128 00234088 C3 C5 00 04 */ lfs f30, 4(r5) /* 8023712C 0023408C C3 E5 00 08 */ lfs f31, 8(r5) /* 80237130 00234090 4B DC DB 89 */ bl string_l__4rstlFPCc /* 80237134 00234094 7F C4 F3 78 */ mr r4, r30 /* 80237138 00234098 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8023713C 0023409C 38 A1 00 54 */ addi r5, r1, 0x54 /* 80237140 002340A0 4B E1 BD C1 */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80237144 002340A4 C3 81 01 14 */ lfs f28, 0x114(r1) /* 80237148 002340A8 38 61 00 54 */ addi r3, r1, 0x54 /* 8023714C 002340AC C3 61 01 04 */ lfs f27, 0x104(r1) /* 80237150 002340B0 C3 41 00 F4 */ lfs f26, 0xf4(r1) /* 80237154 002340B4 48 10 69 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80237158 002340B8 EC 5D 06 B2 */ fmuls f2, f29, f26 /* 8023715C 002340BC 38 61 00 48 */ addi r3, r1, 0x48 /* 80237160 002340C0 EC 3E 06 F2 */ fmuls f1, f30, f27 /* 80237164 002340C4 38 9E 00 34 */ addi r4, r30, 0x34 /* 80237168 002340C8 EC 1F 07 32 */ fmuls f0, f31, f28 /* 8023716C 002340CC 38 A1 00 D0 */ addi r5, r1, 0xd0 /* 80237170 002340D0 D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 80237174 002340D4 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 80237178 002340D8 D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 8023717C 002340DC 48 0D B9 05 */ bl Rotate__12CTransform4fCFRC9CVector3f /* 80237180 002340E0 C0 41 00 48 */ lfs f2, 0x48(r1) /* 80237184 002340E4 7F C3 F3 78 */ mr r3, r30 /* 80237188 002340E8 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 8023718C 002340EC 38 81 00 D0 */ addi r4, r1, 0xd0 /* 80237190 002340F0 C0 01 00 50 */ lfs f0, 0x50(r1) /* 80237194 002340F4 D0 41 00 D0 */ stfs f2, 0xd0(r1) /* 80237198 002340F8 D0 21 00 D4 */ stfs f1, 0xd4(r1) /* 8023719C 002340FC D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 802371A0 00234100 4B EE 38 99 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f /* 802371A4 00234104 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 802371A8 00234108 38 60 00 01 */ li r3, 1 /* 802371AC 0023410C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 802371B0 00234110 98 1E 00 E4 */ stb r0, 0xe4(r30) lbl_802371B4: /* 802371B4 00234114 80 1E 07 50 */ lwz r0, 0x750(r30) /* 802371B8 00234118 2C 00 00 02 */ cmpwi r0, 2 /* 802371BC 0023411C 41 82 00 D8 */ beq lbl_80237294 /* 802371C0 00234120 40 80 01 94 */ bge lbl_80237354 /* 802371C4 00234124 2C 00 00 01 */ cmpwi r0, 1 /* 802371C8 00234128 40 80 00 08 */ bge lbl_802371D0 /* 802371CC 0023412C 48 00 01 88 */ b lbl_80237354 lbl_802371D0: /* 802371D0 00234130 C0 3E 07 38 */ lfs f1, 0x738(r30) /* 802371D4 00234134 C0 02 B7 4C */ lfs f0, lbl_805AD46C@sda21(r2) /* 802371D8 00234138 C0 5E 07 34 */ lfs f2, 0x734(r30) /* 802371DC 0023413C EC 01 00 32 */ fmuls f0, f1, f0 /* 802371E0 00234140 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802371E4 00234144 40 80 00 18 */ bge lbl_802371FC /* 802371E8 00234148 C0 3E 07 3C */ lfs f1, 0x73c(r30) /* 802371EC 0023414C C0 1E 07 40 */ lfs f0, 0x740(r30) /* 802371F0 00234150 EC 01 06 7A */ fmadds f0, f1, f25, f0 /* 802371F4 00234154 D0 1E 07 40 */ stfs f0, 0x740(r30) /* 802371F8 00234158 48 00 00 14 */ b lbl_8023720C lbl_802371FC: /* 802371FC 0023415C C0 3E 07 3C */ lfs f1, 0x73c(r30) /* 80237200 00234160 C0 1E 07 40 */ lfs f0, 0x740(r30) /* 80237204 00234164 EC 01 06 7C */ fnmsubs f0, f1, f25, f0 /* 80237208 00234168 D0 1E 07 40 */ stfs f0, 0x740(r30) lbl_8023720C: /* 8023720C 0023416C C0 3E 07 40 */ lfs f1, 0x740(r30) /* 80237210 00234170 7F C3 F3 78 */ mr r3, r30 /* 80237214 00234174 C0 1E 07 34 */ lfs f0, 0x734(r30) /* 80237218 00234178 38 81 00 3C */ addi r4, r1, 0x3c /* 8023721C 0023417C C0 62 B7 20 */ lfs f3, lbl_805AD440@sda21(r2) /* 80237220 00234180 EC 01 06 7A */ fmadds f0, f1, f25, f0 /* 80237224 00234184 D0 1E 07 34 */ stfs f0, 0x734(r30) /* 80237228 00234188 C0 3E 07 40 */ lfs f1, 0x740(r30) /* 8023722C 0023418C C0 9E 00 50 */ lfs f4, 0x50(r30) /* 80237230 00234190 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 80237234 00234194 EC 21 06 72 */ fmuls f1, f1, f25 /* 80237238 00234198 C0 5E 00 60 */ lfs f2, 0x60(r30) /* 8023723C 0023419C EC 84 18 2A */ fadds f4, f4, f3 /* 80237240 002341A0 EC 00 18 2A */ fadds f0, f0, f3 /* 80237244 002341A4 EC 22 08 2A */ fadds f1, f2, f1 /* 80237248 002341A8 D0 81 00 40 */ stfs f4, 0x40(r1) /* 8023724C 002341AC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80237250 002341B0 D0 21 00 44 */ stfs f1, 0x44(r1) /* 80237254 002341B4 4B E1 BC 39 */ bl SetTranslation__6CActorFRC9CVector3f /* 80237258 002341B8 C0 7E 00 60 */ lfs f3, 0x60(r30) /* 8023725C 002341BC C0 1E 07 30 */ lfs f0, 0x730(r30) /* 80237260 002341C0 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80237264 002341C4 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 80237268 002341C8 FC 03 00 40 */ fcmpo cr0, f3, f0 /* 8023726C 002341CC D0 41 00 34 */ stfs f2, 0x34(r1) /* 80237270 002341D0 D0 21 00 30 */ stfs f1, 0x30(r1) /* 80237274 002341D4 D0 61 00 38 */ stfs f3, 0x38(r1) /* 80237278 002341D8 40 81 00 DC */ ble lbl_80237354 /* 8023727C 002341DC 7F C3 F3 78 */ mr r3, r30 /* 80237280 002341E0 38 9E 07 28 */ addi r4, r30, 0x728 /* 80237284 002341E4 4B E1 BC 09 */ bl SetTranslation__6CActorFRC9CVector3f /* 80237288 002341E8 38 00 00 00 */ li r0, 0 /* 8023728C 002341EC 90 1E 07 50 */ stw r0, 0x750(r30) /* 80237290 002341F0 48 00 00 C4 */ b lbl_80237354 lbl_80237294: /* 80237294 002341F4 C0 3E 07 38 */ lfs f1, 0x738(r30) /* 80237298 002341F8 C0 02 B7 4C */ lfs f0, lbl_805AD46C@sda21(r2) /* 8023729C 002341FC C0 5E 07 34 */ lfs f2, 0x734(r30) /* 802372A0 00234200 EC 01 00 32 */ fmuls f0, f1, f0 /* 802372A4 00234204 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802372A8 00234208 40 80 00 18 */ bge lbl_802372C0 /* 802372AC 0023420C C0 3E 07 3C */ lfs f1, 0x73c(r30) /* 802372B0 00234210 C0 1E 07 40 */ lfs f0, 0x740(r30) /* 802372B4 00234214 EC 01 06 7A */ fmadds f0, f1, f25, f0 /* 802372B8 00234218 D0 1E 07 40 */ stfs f0, 0x740(r30) /* 802372BC 0023421C 48 00 00 14 */ b lbl_802372D0 lbl_802372C0: /* 802372C0 00234220 C0 3E 07 3C */ lfs f1, 0x73c(r30) /* 802372C4 00234224 C0 1E 07 40 */ lfs f0, 0x740(r30) /* 802372C8 00234228 EC 01 06 7C */ fnmsubs f0, f1, f25, f0 /* 802372CC 0023422C D0 1E 07 40 */ stfs f0, 0x740(r30) lbl_802372D0: /* 802372D0 00234230 C0 3E 07 40 */ lfs f1, 0x740(r30) /* 802372D4 00234234 7F C3 F3 78 */ mr r3, r30 /* 802372D8 00234238 C0 1E 07 34 */ lfs f0, 0x734(r30) /* 802372DC 0023423C 38 81 00 24 */ addi r4, r1, 0x24 /* 802372E0 00234240 C0 62 B7 20 */ lfs f3, lbl_805AD440@sda21(r2) /* 802372E4 00234244 EC 01 06 7A */ fmadds f0, f1, f25, f0 /* 802372E8 00234248 D0 1E 07 34 */ stfs f0, 0x734(r30) /* 802372EC 0023424C C0 3E 07 40 */ lfs f1, 0x740(r30) /* 802372F0 00234250 C0 9E 00 50 */ lfs f4, 0x50(r30) /* 802372F4 00234254 C0 1E 00 40 */ lfs f0, 0x40(r30) /* 802372F8 00234258 EC 21 06 72 */ fmuls f1, f1, f25 /* 802372FC 0023425C C0 5E 00 60 */ lfs f2, 0x60(r30) /* 80237300 00234260 EC 84 18 28 */ fsubs f4, f4, f3 /* 80237304 00234264 EC 00 18 28 */ fsubs f0, f0, f3 /* 80237308 00234268 EC 22 08 28 */ fsubs f1, f2, f1 /* 8023730C 0023426C D0 81 00 28 */ stfs f4, 0x28(r1) /* 80237310 00234270 D0 01 00 24 */ stfs f0, 0x24(r1) /* 80237314 00234274 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80237318 00234278 4B E1 BB 75 */ bl SetTranslation__6CActorFRC9CVector3f /* 8023731C 0023427C C0 7E 00 60 */ lfs f3, 0x60(r30) /* 80237320 00234280 C0 1E 07 30 */ lfs f0, 0x730(r30) /* 80237324 00234284 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 80237328 00234288 C0 3E 00 40 */ lfs f1, 0x40(r30) /* 8023732C 0023428C FC 03 00 40 */ fcmpo cr0, f3, f0 /* 80237330 00234290 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80237334 00234294 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80237338 00234298 D0 61 00 20 */ stfs f3, 0x20(r1) /* 8023733C 0023429C 40 80 00 18 */ bge lbl_80237354 /* 80237340 002342A0 7F C3 F3 78 */ mr r3, r30 /* 80237344 002342A4 38 9E 07 28 */ addi r4, r30, 0x728 /* 80237348 002342A8 4B E1 BB 45 */ bl SetTranslation__6CActorFRC9CVector3f /* 8023734C 002342AC 38 00 00 00 */ li r0, 0 /* 80237350 002342B0 90 1E 07 50 */ stw r0, 0x750(r30) lbl_80237354: /* 80237354 002342B4 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 /* 80237358 002342B8 CB E1 02 B0 */ lfd f31, 0x2b0(r1) /* 8023735C 002342BC E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 /* 80237360 002342C0 CB C1 02 A0 */ lfd f30, 0x2a0(r1) /* 80237364 002342C4 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 /* 80237368 002342C8 CB A1 02 90 */ lfd f29, 0x290(r1) /* 8023736C 002342CC E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 /* 80237370 002342D0 CB 81 02 80 */ lfd f28, 0x280(r1) /* 80237374 002342D4 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 /* 80237378 002342D8 CB 61 02 70 */ lfd f27, 0x270(r1) /* 8023737C 002342DC E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 /* 80237380 002342E0 CB 41 02 60 */ lfd f26, 0x260(r1) /* 80237384 002342E4 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 /* 80237388 002342E8 CB 21 02 50 */ lfd f25, 0x250(r1) /* 8023738C 002342EC 83 E1 02 4C */ lwz r31, 0x24c(r1) /* 80237390 002342F0 83 C1 02 48 */ lwz r30, 0x248(r1) /* 80237394 002342F4 80 01 02 C4 */ lwz r0, 0x2c4(r1) /* 80237398 002342F8 83 A1 02 44 */ lwz r29, 0x244(r1) /* 8023739C 002342FC 7C 08 03 A6 */ mtlr r0 /* 802373A0 00234300 38 21 02 C0 */ addi r1, r1, 0x2c0 /* 802373A4 00234304 4E 80 00 20 */ blr .global Accept__10CMagdoliteFR8IVisitor Accept__10CMagdoliteFR8IVisitor: /* 802373A8 00234308 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802373AC 0023430C 7C 08 02 A6 */ mflr r0 /* 802373B0 00234310 90 01 00 14 */ stw r0, 0x14(r1) /* 802373B4 00234314 7C 60 1B 78 */ mr r0, r3 /* 802373B8 00234318 7C 83 23 78 */ mr r3, r4 /* 802373BC 0023431C 81 84 00 00 */ lwz r12, 0(r4) /* 802373C0 00234320 7C 04 03 78 */ mr r4, r0 /* 802373C4 00234324 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802373C8 00234328 7D 89 03 A6 */ mtctr r12 /* 802373CC 0023432C 4E 80 04 21 */ bctrl /* 802373D0 00234330 80 01 00 14 */ lwz r0, 0x14(r1) /* 802373D4 00234334 7C 08 03 A6 */ mtlr r0 /* 802373D8 00234338 38 21 00 10 */ addi r1, r1, 0x10 /* 802373DC 0023433C 4E 80 00 20 */ blr .global "__ct__10CMagdoliteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" "__ct__10CMagdoliteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo": /* 802373E0 00234340 94 21 FE B0 */ stwu r1, -0x150(r1) /* 802373E4 00234344 7C 08 02 A6 */ mflr r0 /* 802373E8 00234348 90 01 01 54 */ stw r0, 0x154(r1) /* 802373EC 0023434C DB E1 01 40 */ stfd f31, 0x140(r1) /* 802373F0 00234350 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 /* 802373F4 00234354 DB C1 01 30 */ stfd f30, 0x130(r1) /* 802373F8 00234358 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 /* 802373FC 0023435C DB A1 01 20 */ stfd f29, 0x120(r1) /* 80237400 00234360 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 /* 80237404 00234364 DB 81 01 10 */ stfd f28, 0x110(r1) /* 80237408 00234368 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 /* 8023740C 0023436C DB 61 01 00 */ stfd f27, 0x100(r1) /* 80237410 00234370 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 /* 80237414 00234374 DB 41 00 F0 */ stfd f26, 0xf0(r1) /* 80237418 00234378 F3 41 00 F8 */ psq_st f26, 248(r1), 0, qr0 /* 8023741C 0023437C DB 21 00 E0 */ stfd f25, 0xe0(r1) /* 80237420 00234380 F3 21 00 E8 */ psq_st f25, 232(r1), 0, qr0 /* 80237424 00234384 DB 01 00 D0 */ stfd f24, 0xd0(r1) /* 80237428 00234388 F3 01 00 D8 */ psq_st f24, 216(r1), 0, qr0 /* 8023742C 0023438C DA E1 00 C0 */ stfd f23, 0xc0(r1) /* 80237430 00234390 F2 E1 00 C8 */ psq_st f23, 200(r1), 0, qr0 /* 80237434 00234394 BE 81 00 90 */ stmw r20, 0x90(r1) /* 80237438 00234398 A0 04 00 00 */ lhz r0, 0(r4) /* 8023743C 0023439C 7C CB 33 78 */ mr r11, r6 /* 80237440 002343A0 7C F8 3B 78 */ mr r24, r7 /* 80237444 002343A4 7D 07 43 78 */ mr r7, r8 /* 80237448 002343A8 B0 01 00 20 */ sth r0, 0x20(r1) /* 8023744C 002343AC 7C A6 2B 78 */ mr r6, r5 /* 80237450 002343B0 38 80 00 01 */ li r4, 1 /* 80237454 002343B4 FE E0 08 90 */ fmr f23, f1 /* 80237458 002343B8 91 21 00 08 */ stw r9, 8(r1) /* 8023745C 002343BC FF 00 10 90 */ fmr f24, f2 /* 80237460 002343C0 FF 20 18 90 */ fmr f25, f3 /* 80237464 002343C4 38 00 00 02 */ li r0, 2 /* 80237468 002343C8 90 81 00 0C */ stw r4, 0xc(r1) /* 8023746C 002343CC FF 40 20 90 */ fmr f26, f4 /* 80237470 002343D0 83 21 01 58 */ lwz r25, 0x158(r1) /* 80237474 002343D4 90 81 00 10 */ stw r4, 0x10(r1) /* 80237478 002343D8 FF 60 28 90 */ fmr f27, f5 /* 8023747C 002343DC 83 41 01 5C */ lwz r26, 0x15c(r1) /* 80237480 002343E0 90 81 00 14 */ stw r4, 0x14(r1) /* 80237484 002343E4 FF 80 30 90 */ fmr f28, f6 /* 80237488 002343E8 83 61 01 60 */ lwz r27, 0x160(r1) /* 8023748C 002343EC 91 41 00 18 */ stw r10, 0x18(r1) /* 80237490 002343F0 FF A0 38 90 */ fmr f29, f7 /* 80237494 002343F4 7C EA 3B 78 */ mr r10, r7 /* 80237498 002343F8 FF C0 40 90 */ fmr f30, f8 /* 8023749C 002343FC 83 E1 01 64 */ lwz r31, 0x164(r1) /* 802374A0 00234400 7C 77 1B 78 */ mr r23, r3 /* 802374A4 00234404 90 01 00 1C */ stw r0, 0x1c(r1) /* 802374A8 00234408 83 81 01 68 */ lwz r28, 0x168(r1) /* 802374AC 0023440C 7D 68 5B 78 */ mr r8, r11 /* 802374B0 00234410 83 A1 01 6C */ lwz r29, 0x16c(r1) /* 802374B4 00234414 7F 09 C3 78 */ mr r9, r24 /* 802374B8 00234418 83 C1 01 70 */ lwz r30, 0x170(r1) /* 802374BC 0023441C 38 A1 00 20 */ addi r5, r1, 0x20 /* 802374C0 00234420 C3 E1 01 74 */ lfs f31, 0x174(r1) /* 802374C4 00234424 38 80 00 11 */ li r4, 0x11 /* 802374C8 00234428 38 E0 00 00 */ li r7, 0 /* 802374CC 0023442C 4B E4 5F 85 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 802374D0 00234430 3C 60 80 3F */ lis r3, lbl_803E8240@ha /* 802374D4 00234434 C0 02 B7 44 */ lfs f0, lbl_805AD464@sda21(r2) /* 802374D8 00234438 38 03 82 40 */ addi r0, r3, lbl_803E8240@l /* 802374DC 0023443C 90 17 00 00 */ stw r0, 0(r23) /* 802374E0 00234440 EC 20 06 32 */ fmuls f1, f0, f24 /* 802374E4 00234444 D3 57 05 68 */ stfs f26, 0x568(r23) /* 802374E8 00234448 D3 77 05 6C */ stfs f27, 0x56c(r23) /* 802374EC 0023444C D3 97 05 70 */ stfs f28, 0x570(r23) /* 802374F0 00234450 D3 37 05 74 */ stfs f25, 0x574(r23) /* 802374F4 00234454 48 15 CE FD */ bl cos /* 802374F8 00234458 FC 00 08 18 */ frsp f0, f1 /* 802374FC 0023445C 38 00 00 00 */ li r0, 0 /* 80237500 00234460 38 61 00 78 */ addi r3, r1, 0x78 /* 80237504 00234464 D0 17 05 78 */ stfs f0, 0x578(r23) /* 80237508 00234468 D2 F7 05 7C */ stfs f23, 0x57c(r23) /* 8023750C 0023446C 90 17 05 80 */ stw r0, 0x580(r23) /* 80237510 00234470 80 8D 96 54 */ lwz r4, lbl_805A8214@sda21(r13) /* 80237514 00234474 4B DC D7 A5 */ bl string_l__4rstlFPCc /* 80237518 00234478 C0 02 B7 44 */ lfs f0, lbl_805AD464@sda21(r2) /* 8023751C 0023447C 38 77 05 84 */ addi r3, r23, 0x584 /* 80237520 00234480 80 97 00 64 */ lwz r4, 0x64(r23) /* 80237524 00234484 38 A1 00 78 */ addi r5, r1, 0x78 /* 80237528 00234488 EC 20 05 F2 */ fmuls f1, f0, f23 /* 8023752C 0023448C C0 42 B7 50 */ lfs f2, lbl_805AD470@sda21(r2) /* 80237530 00234490 80 84 00 10 */ lwz r4, 0x10(r4) /* 80237534 00234494 38 C0 00 08 */ li r6, 8 /* 80237538 00234498 4B F3 E4 81 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" /* 8023753C 0023449C 38 61 00 78 */ addi r3, r1, 0x78 /* 80237540 002344A0 48 10 65 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80237544 002344A4 80 7B 00 00 */ lwz r3, 0(r27) /* 80237548 002344A8 80 1B 00 04 */ lwz r0, 4(r27) /* 8023754C 002344AC 90 77 05 BC */ stw r3, 0x5bc(r23) /* 80237550 002344B0 90 17 05 C0 */ stw r0, 0x5c0(r23) /* 80237554 002344B4 80 7B 00 08 */ lwz r3, 8(r27) /* 80237558 002344B8 80 1B 00 0C */ lwz r0, 0xc(r27) /* 8023755C 002344BC 90 77 05 C4 */ stw r3, 0x5c4(r23) /* 80237560 002344C0 90 17 05 C8 */ stw r0, 0x5c8(r23) /* 80237564 002344C4 80 7B 00 10 */ lwz r3, 0x10(r27) /* 80237568 002344C8 80 1B 00 14 */ lwz r0, 0x14(r27) /* 8023756C 002344CC 90 77 05 CC */ stw r3, 0x5cc(r23) /* 80237570 002344D0 90 17 05 D0 */ stw r0, 0x5d0(r23) /* 80237574 002344D4 80 7B 00 18 */ lwz r3, 0x18(r27) /* 80237578 002344D8 80 1B 00 1C */ lwz r0, 0x1c(r27) /* 8023757C 002344DC 90 77 05 D4 */ stw r3, 0x5d4(r23) /* 80237580 002344E0 90 17 05 D8 */ stw r0, 0x5d8(r23) /* 80237584 002344E4 80 7B 00 20 */ lwz r3, 0x20(r27) /* 80237588 002344E8 80 1B 00 24 */ lwz r0, 0x24(r27) /* 8023758C 002344EC 90 77 05 DC */ stw r3, 0x5dc(r23) /* 80237590 002344F0 90 17 05 E0 */ stw r0, 0x5e0(r23) /* 80237594 002344F4 80 7B 00 28 */ lwz r3, 0x28(r27) /* 80237598 002344F8 80 1B 00 2C */ lwz r0, 0x2c(r27) /* 8023759C 002344FC 90 77 05 E4 */ stw r3, 0x5e4(r23) /* 802375A0 00234500 90 17 05 E8 */ stw r0, 0x5e8(r23) /* 802375A4 00234504 80 7B 00 30 */ lwz r3, 0x30(r27) /* 802375A8 00234508 80 1B 00 34 */ lwz r0, 0x34(r27) /* 802375AC 0023450C 90 77 05 EC */ stw r3, 0x5ec(r23) /* 802375B0 00234510 90 17 05 F0 */ stw r0, 0x5f0(r23) /* 802375B4 00234514 80 1B 00 38 */ lwz r0, 0x38(r27) /* 802375B8 00234518 90 17 05 F4 */ stw r0, 0x5f4(r23) /* 802375BC 0023451C 80 7B 00 3C */ lwz r3, 0x3c(r27) /* 802375C0 00234520 80 1B 00 40 */ lwz r0, 0x40(r27) /* 802375C4 00234524 90 77 05 F8 */ stw r3, 0x5f8(r23) /* 802375C8 00234528 90 17 05 FC */ stw r0, 0x5fc(r23) /* 802375CC 0023452C 80 7B 00 44 */ lwz r3, 0x44(r27) /* 802375D0 00234530 80 1B 00 48 */ lwz r0, 0x48(r27) /* 802375D4 00234534 90 77 06 00 */ stw r3, 0x600(r23) /* 802375D8 00234538 90 17 06 04 */ stw r0, 0x604(r23) /* 802375DC 0023453C 80 7B 00 4C */ lwz r3, 0x4c(r27) /* 802375E0 00234540 80 1B 00 50 */ lwz r0, 0x50(r27) /* 802375E4 00234544 90 77 06 08 */ stw r3, 0x608(r23) /* 802375E8 00234548 90 17 06 0C */ stw r0, 0x60c(r23) /* 802375EC 0023454C 80 7B 00 54 */ lwz r3, 0x54(r27) /* 802375F0 00234550 80 1B 00 58 */ lwz r0, 0x58(r27) /* 802375F4 00234554 90 77 06 10 */ stw r3, 0x610(r23) /* 802375F8 00234558 90 17 06 14 */ stw r0, 0x614(r23) /* 802375FC 0023455C 80 1B 00 5C */ lwz r0, 0x5c(r27) /* 80237600 00234560 90 17 06 18 */ stw r0, 0x618(r23) /* 80237604 00234564 80 1B 00 60 */ lwz r0, 0x60(r27) /* 80237608 00234568 90 17 06 1C */ stw r0, 0x61c(r23) /* 8023760C 0023456C 80 1B 00 64 */ lwz r0, 0x64(r27) /* 80237610 00234570 90 17 06 20 */ stw r0, 0x620(r23) /* 80237614 00234574 80 7F 00 00 */ lwz r3, 0(r31) /* 80237618 00234578 80 1F 00 04 */ lwz r0, 4(r31) /* 8023761C 0023457C 90 77 06 24 */ stw r3, 0x624(r23) /* 80237620 00234580 90 17 06 28 */ stw r0, 0x628(r23) /* 80237624 00234584 80 7F 00 08 */ lwz r3, 8(r31) /* 80237628 00234588 80 1F 00 0C */ lwz r0, 0xc(r31) /* 8023762C 0023458C 90 77 06 2C */ stw r3, 0x62c(r23) /* 80237630 00234590 90 17 06 30 */ stw r0, 0x630(r23) /* 80237634 00234594 80 7F 00 10 */ lwz r3, 0x10(r31) /* 80237638 00234598 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8023763C 0023459C 90 77 06 34 */ stw r3, 0x634(r23) /* 80237640 002345A0 90 17 06 38 */ stw r0, 0x638(r23) /* 80237644 002345A4 80 7F 00 18 */ lwz r3, 0x18(r31) /* 80237648 002345A8 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 8023764C 002345AC 90 77 06 3C */ stw r3, 0x63c(r23) /* 80237650 002345B0 90 17 06 40 */ stw r0, 0x640(r23) /* 80237654 002345B4 80 7F 00 20 */ lwz r3, 0x20(r31) /* 80237658 002345B8 80 1F 00 24 */ lwz r0, 0x24(r31) /* 8023765C 002345BC 90 77 06 44 */ stw r3, 0x644(r23) /* 80237660 002345C0 90 17 06 48 */ stw r0, 0x648(r23) /* 80237664 002345C4 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80237668 002345C8 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 8023766C 002345CC 90 77 06 4C */ stw r3, 0x64c(r23) /* 80237670 002345D0 90 17 06 50 */ stw r0, 0x650(r23) /* 80237674 002345D4 80 7F 00 30 */ lwz r3, 0x30(r31) /* 80237678 002345D8 80 1F 00 34 */ lwz r0, 0x34(r31) /* 8023767C 002345DC 90 77 06 54 */ stw r3, 0x654(r23) /* 80237680 002345E0 90 17 06 58 */ stw r0, 0x658(r23) /* 80237684 002345E4 80 1F 00 38 */ lwz r0, 0x38(r31) /* 80237688 002345E8 90 17 06 5C */ stw r0, 0x65c(r23) /* 8023768C 002345EC 80 7F 00 3C */ lwz r3, 0x3c(r31) /* 80237690 002345F0 80 1F 00 40 */ lwz r0, 0x40(r31) /* 80237694 002345F4 90 77 06 60 */ stw r3, 0x660(r23) /* 80237698 002345F8 90 17 06 64 */ stw r0, 0x664(r23) /* 8023769C 002345FC 80 7F 00 44 */ lwz r3, 0x44(r31) /* 802376A0 00234600 80 1F 00 48 */ lwz r0, 0x48(r31) /* 802376A4 00234604 90 77 06 68 */ stw r3, 0x668(r23) /* 802376A8 00234608 90 17 06 6C */ stw r0, 0x66c(r23) /* 802376AC 0023460C 80 7F 00 4C */ lwz r3, 0x4c(r31) /* 802376B0 00234610 80 1F 00 50 */ lwz r0, 0x50(r31) /* 802376B4 00234614 90 77 06 70 */ stw r3, 0x670(r23) /* 802376B8 00234618 90 17 06 74 */ stw r0, 0x674(r23) /* 802376BC 0023461C 80 7F 00 54 */ lwz r3, 0x54(r31) /* 802376C0 00234620 80 1F 00 58 */ lwz r0, 0x58(r31) /* 802376C4 00234624 90 77 06 78 */ stw r3, 0x678(r23) /* 802376C8 00234628 90 17 06 7C */ stw r0, 0x67c(r23) /* 802376CC 0023462C 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802376D0 00234630 90 17 06 80 */ stw r0, 0x680(r23) /* 802376D4 00234634 80 1F 00 60 */ lwz r0, 0x60(r31) /* 802376D8 00234638 90 17 06 84 */ stw r0, 0x684(r23) /* 802376DC 0023463C 80 9F 00 64 */ lwz r4, 0x64(r31) /* 802376E0 00234640 3C 60 80 3D */ lis r3, lbl_803D4310@ha /* 802376E4 00234644 38 63 43 10 */ addi r3, r3, lbl_803D4310@l /* 802376E8 00234648 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 /* 802376EC 0023464C 90 97 06 88 */ stw r4, 0x688(r23) /* 802376F0 00234650 38 83 00 4B */ addi r4, r3, 0x4b /* 802376F4 00234654 3B 60 00 00 */ li r27, 0 /* 802376F8 00234658 3A C0 00 00 */ li r22, 0 /* 802376FC 0023465C 90 17 06 8C */ stw r0, 0x68c(r23) /* 80237700 00234660 3A A0 00 00 */ li r21, 0 /* 80237704 00234664 3A 80 00 00 */ li r20, 0 /* 80237708 00234668 38 60 00 3C */ li r3, 0x3c /* 8023770C 0023466C 80 F7 06 8C */ lwz r7, 0x68c(r23) /* 80237710 00234670 38 A0 00 00 */ li r5, 0 /* 80237714 00234674 80 C7 00 04 */ lwz r6, 4(r7) /* 80237718 00234678 38 06 00 01 */ addi r0, r6, 1 /* 8023771C 0023467C 90 07 00 04 */ stw r0, 4(r7) /* 80237720 00234680 48 0D E1 4D */ bl __nw__FUlPCcPCc /* 80237724 00234684 7C 7F 1B 79 */ or. r31, r3, r3 /* 80237728 00234688 41 82 00 D4 */ beq lbl_802377FC /* 8023772C 0023468C 3C 60 43 4D */ lis r3, 0x434D444C@ha /* 80237730 00234690 93 81 00 40 */ stw r28, 0x40(r1) /* 80237734 00234694 38 03 44 4C */ addi r0, r3, 0x434D444C@l /* 80237738 00234698 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8023773C 0023469C 90 01 00 3C */ stw r0, 0x3c(r1) /* 80237740 002346A0 38 61 00 34 */ addi r3, r1, 0x34 /* 80237744 002346A4 38 A1 00 3C */ addi r5, r1, 0x3c /* 80237748 002346A8 81 84 00 00 */ lwz r12, 0(r4) /* 8023774C 002346AC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80237750 002346B0 7D 89 03 A6 */ mtctr r12 /* 80237754 002346B4 4E 80 04 21 */ bctrl /* 80237758 002346B8 3A 81 00 60 */ addi r20, r1, 0x60 /* 8023775C 002346BC 38 81 00 34 */ addi r4, r1, 0x34 /* 80237760 002346C0 7E 83 A3 78 */ mr r3, r20 /* 80237764 002346C4 3A A0 00 01 */ li r21, 1 /* 80237768 002346C8 48 10 97 41 */ bl __ct__6CTokenFRC6CToken /* 8023776C 002346CC 7E 83 A3 78 */ mr r3, r20 /* 80237770 002346D0 48 10 96 9D */ bl GetObj__6CTokenFv /* 80237774 002346D4 80 A3 00 04 */ lwz r5, 4(r3) /* 80237778 002346D8 3C 60 43 53 */ lis r3, 0x43534B52@ha /* 8023777C 002346DC 38 03 4B 52 */ addi r0, r3, 0x43534B52@l /* 80237780 002346E0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80237784 002346E4 90 A1 00 68 */ stw r5, 0x68(r1) /* 80237788 002346E8 38 61 00 44 */ addi r3, r1, 0x44 /* 8023778C 002346EC 38 A1 00 4C */ addi r5, r1, 0x4c /* 80237790 002346F0 3A 80 00 01 */ li r20, 1 /* 80237794 002346F4 90 01 00 4C */ stw r0, 0x4c(r1) /* 80237798 002346F8 93 A1 00 50 */ stw r29, 0x50(r1) /* 8023779C 002346FC 81 84 00 00 */ lwz r12, 0(r4) /* 802377A0 00234700 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802377A4 00234704 7D 89 03 A6 */ mtctr r12 /* 802377A8 00234708 4E 80 04 21 */ bctrl /* 802377AC 0023470C 3A C1 00 6C */ addi r22, r1, 0x6c /* 802377B0 00234710 38 81 00 44 */ addi r4, r1, 0x44 /* 802377B4 00234714 7E C3 B3 78 */ mr r3, r22 /* 802377B8 00234718 3B 60 00 01 */ li r27, 1 /* 802377BC 0023471C 48 10 96 ED */ bl __ct__6CTokenFRC6CToken /* 802377C0 00234720 7E C3 B3 78 */ mr r3, r22 /* 802377C4 00234724 48 10 96 49 */ bl GetObj__6CTokenFv /* 802377C8 00234728 80 03 00 04 */ lwz r0, 4(r3) /* 802377CC 0023472C 7E C5 B3 78 */ mr r5, r22 /* 802377D0 00234730 7F E3 FB 78 */ mr r3, r31 /* 802377D4 00234734 38 81 00 60 */ addi r4, r1, 0x60 /* 802377D8 00234738 90 01 00 74 */ stw r0, 0x74(r1) /* 802377DC 0023473C 3A C0 00 01 */ li r22, 1 /* 802377E0 00234740 38 E0 00 01 */ li r7, 1 /* 802377E4 00234744 80 D7 00 64 */ lwz r6, 0x64(r23) /* 802377E8 00234748 80 C6 00 10 */ lwz r6, 0x10(r6) /* 802377EC 0023474C 80 C6 00 E0 */ lwz r6, 0xe0(r6) /* 802377F0 00234750 38 C6 00 1C */ addi r6, r6, 0x1c /* 802377F4 00234754 48 11 BC 45 */ bl "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" /* 802377F8 00234758 7C 7F 1B 78 */ mr r31, r3 lbl_802377FC: /* 802377FC 0023475C 3B 81 00 54 */ addi r28, r1, 0x54 /* 80237800 00234760 7F E4 FB 78 */ mr r4, r31 /* 80237804 00234764 38 61 00 24 */ addi r3, r1, 0x24 /* 80237808 00234768 4B F2 33 B1 */ bl sub_8015abb8 /* 8023780C 0023476C 38 00 00 00 */ li r0, 0 /* 80237810 00234770 80 81 00 28 */ lwz r4, 0x28(r1) /* 80237814 00234774 98 01 00 24 */ stb r0, 0x24(r1) /* 80237818 00234778 7F 83 E3 78 */ mr r3, r28 /* 8023781C 0023477C 48 10 96 E9 */ bl __ct__6CTokenFP4IObj /* 80237820 00234780 88 01 00 24 */ lbz r0, 0x24(r1) /* 80237824 00234784 28 00 00 00 */ cmplwi r0, 0 /* 80237828 00234788 41 82 00 24 */ beq lbl_8023784C /* 8023782C 0023478C 80 61 00 28 */ lwz r3, 0x28(r1) /* 80237830 00234790 28 03 00 00 */ cmplwi r3, 0 /* 80237834 00234794 41 82 00 18 */ beq lbl_8023784C /* 80237838 00234798 81 83 00 00 */ lwz r12, 0(r3) /* 8023783C 0023479C 38 80 00 01 */ li r4, 1 /* 80237840 002347A0 81 8C 00 08 */ lwz r12, 8(r12) /* 80237844 002347A4 7D 89 03 A6 */ mtctr r12 /* 80237848 002347A8 4E 80 04 21 */ bctrl lbl_8023784C: /* 8023784C 002347AC 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80237850 002347B0 7F 83 E3 78 */ mr r3, r28 /* 80237854 002347B4 48 10 95 31 */ bl Lock__6CTokenFv /* 80237858 002347B8 3B 97 06 90 */ addi r28, r23, 0x690 /* 8023785C 002347BC 38 81 00 54 */ addi r4, r1, 0x54 /* 80237860 002347C0 7F 83 E3 78 */ mr r3, r28 /* 80237864 002347C4 48 10 96 45 */ bl __ct__6CTokenFRC6CToken /* 80237868 002347C8 80 01 00 5C */ lwz r0, 0x5c(r1) /* 8023786C 002347CC 7F 83 E3 78 */ mr r3, r28 /* 80237870 002347D0 90 1C 00 08 */ stw r0, 8(r28) /* 80237874 002347D4 48 10 95 11 */ bl Lock__6CTokenFv /* 80237878 002347D8 38 61 00 54 */ addi r3, r1, 0x54 /* 8023787C 002347DC 38 80 00 00 */ li r4, 0 /* 80237880 002347E0 48 10 95 C1 */ bl __dt__6CTokenFv /* 80237884 002347E4 7E 80 07 75 */ extsb. r0, r20 /* 80237888 002347E8 41 82 00 10 */ beq lbl_80237898 /* 8023788C 002347EC 38 61 00 60 */ addi r3, r1, 0x60 /* 80237890 002347F0 38 80 00 00 */ li r4, 0 /* 80237894 002347F4 48 10 95 AD */ bl __dt__6CTokenFv lbl_80237898: /* 80237898 002347F8 7E A0 07 75 */ extsb. r0, r21 /* 8023789C 002347FC 41 82 00 10 */ beq lbl_802378AC /* 802378A0 00234800 38 61 00 34 */ addi r3, r1, 0x34 /* 802378A4 00234804 38 80 FF FF */ li r4, -1 /* 802378A8 00234808 48 10 95 99 */ bl __dt__6CTokenFv lbl_802378AC: /* 802378AC 0023480C 7E C0 07 75 */ extsb. r0, r22 /* 802378B0 00234810 41 82 00 10 */ beq lbl_802378C0 /* 802378B4 00234814 38 61 00 6C */ addi r3, r1, 0x6c /* 802378B8 00234818 38 80 00 00 */ li r4, 0 /* 802378BC 0023481C 48 10 95 85 */ bl __dt__6CTokenFv lbl_802378C0: /* 802378C0 00234820 7F 60 07 75 */ extsb. r0, r27 /* 802378C4 00234824 41 82 00 10 */ beq lbl_802378D4 /* 802378C8 00234828 38 61 00 44 */ addi r3, r1, 0x44 /* 802378CC 0023482C 38 80 FF FF */ li r4, -1 /* 802378D0 00234830 48 10 95 71 */ bl __dt__6CTokenFv lbl_802378D4: /* 802378D4 00234834 38 00 00 00 */ li r0, 0 /* 802378D8 00234838 3C 60 80 3D */ lis r3, lbl_803D4310@ha /* 802378DC 0023483C 90 17 06 9C */ stw r0, 0x69c(r23) /* 802378E0 00234840 38 83 43 10 */ addi r4, r3, lbl_803D4310@l /* 802378E4 00234844 38 61 00 2C */ addi r3, r1, 0x2c /* 802378E8 00234848 80 1E 00 00 */ lwz r0, 0(r30) /* 802378EC 0023484C 38 A4 00 62 */ addi r5, r4, 0x62 /* 802378F0 00234850 90 17 06 A8 */ stw r0, 0x6a8(r23) /* 802378F4 00234854 80 1E 00 04 */ lwz r0, 4(r30) /* 802378F8 00234858 90 17 06 AC */ stw r0, 0x6ac(r23) /* 802378FC 0023485C 80 1E 00 08 */ lwz r0, 8(r30) /* 80237900 00234860 90 17 06 B0 */ stw r0, 0x6b0(r23) /* 80237904 00234864 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80237908 00234868 90 17 06 B4 */ stw r0, 0x6b4(r23) /* 8023790C 0023486C C0 1E 00 10 */ lfs f0, 0x10(r30) /* 80237910 00234870 D0 17 06 B8 */ stfs f0, 0x6b8(r23) /* 80237914 00234874 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 80237918 00234878 D0 17 06 BC */ stfs f0, 0x6bc(r23) /* 8023791C 0023487C C0 1E 00 18 */ lfs f0, 0x18(r30) /* 80237920 00234880 D0 17 06 C0 */ stfs f0, 0x6c0(r23) /* 80237924 00234884 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 80237928 00234888 D0 17 06 C4 */ stfs f0, 0x6c4(r23) /* 8023792C 0023488C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80237930 00234890 B0 17 06 C8 */ sth r0, 0x6c8(r23) /* 80237934 00234894 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80237938 00234898 81 84 00 00 */ lwz r12, 0(r4) /* 8023793C 0023489C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80237940 002348A0 7D 89 03 A6 */ mtctr r12 /* 80237944 002348A4 4E 80 04 21 */ bctrl /* 80237948 002348A8 38 77 06 CC */ addi r3, r23, 0x6cc /* 8023794C 002348AC 38 81 00 2C */ addi r4, r1, 0x2c /* 80237950 002348B0 48 10 95 59 */ bl __ct__6CTokenFRC6CToken /* 80237954 002348B4 38 61 00 2C */ addi r3, r1, 0x2c /* 80237958 002348B8 38 80 FF FF */ li r4, -1 /* 8023795C 002348BC 48 10 94 E5 */ bl __dt__6CTokenFv /* 80237960 002348C0 80 19 00 00 */ lwz r0, 0(r25) /* 80237964 002348C4 3C 60 80 5A */ lis r3, skZero3f@ha /* 80237968 002348C8 38 E3 66 A0 */ addi r7, r3, skZero3f@l /* 8023796C 002348CC C0 02 B7 20 */ lfs f0, lbl_805AD440@sda21(r2) /* 80237970 002348D0 90 17 06 D4 */ stw r0, 0x6d4(r23) /* 80237974 002348D4 38 C0 00 00 */ li r6, 0 /* 80237978 002348D8 38 A0 00 01 */ li r5, 1 /* 8023797C 002348DC 38 77 04 60 */ addi r3, r23, 0x460 /* 80237980 002348E0 88 19 00 04 */ lbz r0, 4(r25) /* 80237984 002348E4 38 80 00 00 */ li r4, 0 /* 80237988 002348E8 98 17 06 D8 */ stb r0, 0x6d8(r23) /* 8023798C 002348EC C0 39 00 08 */ lfs f1, 8(r25) /* 80237990 002348F0 D0 37 06 DC */ stfs f1, 0x6dc(r23) /* 80237994 002348F4 C0 39 00 0C */ lfs f1, 0xc(r25) /* 80237998 002348F8 D0 37 06 E0 */ stfs f1, 0x6e0(r23) /* 8023799C 002348FC C0 39 00 10 */ lfs f1, 0x10(r25) /* 802379A0 00234900 D0 37 06 E4 */ stfs f1, 0x6e4(r23) /* 802379A4 00234904 C0 39 00 14 */ lfs f1, 0x14(r25) /* 802379A8 00234908 D0 37 06 E8 */ stfs f1, 0x6e8(r23) /* 802379AC 0023490C 88 19 00 18 */ lbz r0, 0x18(r25) /* 802379B0 00234910 98 17 06 EC */ stb r0, 0x6ec(r23) /* 802379B4 00234914 80 1A 00 00 */ lwz r0, 0(r26) /* 802379B8 00234918 90 17 06 F0 */ stw r0, 0x6f0(r23) /* 802379BC 0023491C 88 1A 00 04 */ lbz r0, 4(r26) /* 802379C0 00234920 98 17 06 F4 */ stb r0, 0x6f4(r23) /* 802379C4 00234924 C0 3A 00 08 */ lfs f1, 8(r26) /* 802379C8 00234928 D0 37 06 F8 */ stfs f1, 0x6f8(r23) /* 802379CC 0023492C C0 3A 00 0C */ lfs f1, 0xc(r26) /* 802379D0 00234930 D0 37 06 FC */ stfs f1, 0x6fc(r23) /* 802379D4 00234934 C0 3A 00 10 */ lfs f1, 0x10(r26) /* 802379D8 00234938 D0 37 07 00 */ stfs f1, 0x700(r23) /* 802379DC 0023493C C0 3A 00 14 */ lfs f1, 0x14(r26) /* 802379E0 00234940 D0 37 07 04 */ stfs f1, 0x704(r23) /* 802379E4 00234944 88 1A 00 18 */ lbz r0, 0x18(r26) /* 802379E8 00234948 98 17 07 08 */ stb r0, 0x708(r23) /* 802379EC 0023494C C0 27 00 00 */ lfs f1, 0(r7) /* 802379F0 00234950 D0 37 07 10 */ stfs f1, 0x710(r23) /* 802379F4 00234954 C0 27 00 04 */ lfs f1, 4(r7) /* 802379F8 00234958 D0 37 07 14 */ stfs f1, 0x714(r23) /* 802379FC 0023495C C0 27 00 08 */ lfs f1, 8(r7) /* 80237A00 00234960 D0 37 07 18 */ stfs f1, 0x718(r23) /* 80237A04 00234964 C0 78 00 2C */ lfs f3, 0x2c(r24) /* 80237A08 00234968 C0 58 00 1C */ lfs f2, 0x1c(r24) /* 80237A0C 0023496C C0 38 00 0C */ lfs f1, 0xc(r24) /* 80237A10 00234970 D0 37 07 1C */ stfs f1, 0x71c(r23) /* 80237A14 00234974 D0 57 07 20 */ stfs f2, 0x720(r23) /* 80237A18 00234978 D0 77 07 24 */ stfs f3, 0x724(r23) /* 80237A1C 0023497C C0 27 00 00 */ lfs f1, 0(r7) /* 80237A20 00234980 D0 37 07 28 */ stfs f1, 0x728(r23) /* 80237A24 00234984 C0 27 00 04 */ lfs f1, 4(r7) /* 80237A28 00234988 D0 37 07 2C */ stfs f1, 0x72c(r23) /* 80237A2C 0023498C C0 27 00 08 */ lfs f1, 8(r7) /* 80237A30 00234990 D0 37 07 30 */ stfs f1, 0x730(r23) /* 80237A34 00234994 D0 17 07 34 */ stfs f0, 0x734(r23) /* 80237A38 00234998 D0 17 07 38 */ stfs f0, 0x738(r23) /* 80237A3C 0023499C D0 17 07 3C */ stfs f0, 0x73c(r23) /* 80237A40 002349A0 D0 17 07 40 */ stfs f0, 0x740(r23) /* 80237A44 002349A4 D3 B7 07 44 */ stfs f29, 0x744(r23) /* 80237A48 002349A8 D3 D7 07 48 */ stfs f30, 0x748(r23) /* 80237A4C 002349AC D3 F7 07 4C */ stfs f31, 0x74c(r23) /* 80237A50 002349B0 90 D7 07 50 */ stw r6, 0x750(r23) /* 80237A54 002349B4 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237A58 002349B8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 80237A5C 002349BC 98 17 07 54 */ stb r0, 0x754(r23) /* 80237A60 002349C0 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237A64 002349C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 /* 80237A68 002349C8 98 17 07 54 */ stb r0, 0x754(r23) /* 80237A6C 002349CC 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237A70 002349D0 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a /* 80237A74 002349D4 98 17 07 54 */ stb r0, 0x754(r23) /* 80237A78 002349D8 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237A7C 002349DC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b /* 80237A80 002349E0 98 17 07 54 */ stb r0, 0x754(r23) /* 80237A84 002349E4 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237A88 002349E8 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c /* 80237A8C 002349EC 98 17 07 54 */ stb r0, 0x754(r23) /* 80237A90 002349F0 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237A94 002349F4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 80237A98 002349F8 98 17 07 54 */ stb r0, 0x754(r23) /* 80237A9C 002349FC 88 17 07 54 */ lbz r0, 0x754(r23) /* 80237AA0 00234A00 50 C0 0F BC */ rlwimi r0, r6, 1, 0x1e, 0x1e /* 80237AA4 00234A04 98 17 07 54 */ stb r0, 0x754(r23) /* 80237AA8 00234A08 D0 17 07 58 */ stfs f0, 0x758(r23) /* 80237AAC 00234A0C 4B FF C2 B9 */ bl SetAutoResetImpulse__20CKnockBackControllerFb /* 80237AB0 00234A10 88 17 04 E1 */ lbz r0, 0x4e1(r23) /* 80237AB4 00234A14 38 60 00 00 */ li r3, 0 /* 80237AB8 00234A18 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80237ABC 00234A1C 98 17 04 E1 */ stb r0, 0x4e1(r23) /* 80237AC0 00234A20 80 77 00 64 */ lwz r3, 0x64(r23) /* 80237AC4 00234A24 82 B7 06 98 */ lwz r21, 0x698(r23) /* 80237AC8 00234A28 80 83 00 10 */ lwz r4, 0x10(r3) /* 80237ACC 00234A2C 38 75 00 1C */ addi r3, r21, 0x1c /* 80237AD0 00234A30 80 84 00 E0 */ lwz r4, 0xe0(r4) /* 80237AD4 00234A34 3A 84 00 1C */ addi r20, r4, 0x1c /* 80237AD8 00234A38 7E 84 A3 78 */ mr r4, r20 /* 80237ADC 00234A3C 48 10 91 E9 */ bl __as__6CTokenFRC6CToken /* 80237AE0 00234A40 80 14 00 08 */ lwz r0, 8(r20) /* 80237AE4 00234A44 7E E3 BB 78 */ mr r3, r23 /* 80237AE8 00234A48 90 15 00 24 */ stw r0, 0x24(r21) /* 80237AEC 00234A4C E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 /* 80237AF0 00234A50 CB E1 01 40 */ lfd f31, 0x140(r1) /* 80237AF4 00234A54 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 /* 80237AF8 00234A58 CB C1 01 30 */ lfd f30, 0x130(r1) /* 80237AFC 00234A5C E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 /* 80237B00 00234A60 CB A1 01 20 */ lfd f29, 0x120(r1) /* 80237B04 00234A64 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 /* 80237B08 00234A68 CB 81 01 10 */ lfd f28, 0x110(r1) /* 80237B0C 00234A6C E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 /* 80237B10 00234A70 CB 61 01 00 */ lfd f27, 0x100(r1) /* 80237B14 00234A74 E3 41 00 F8 */ psq_l f26, 248(r1), 0, qr0 /* 80237B18 00234A78 CB 41 00 F0 */ lfd f26, 0xf0(r1) /* 80237B1C 00234A7C E3 21 00 E8 */ psq_l f25, 232(r1), 0, qr0 /* 80237B20 00234A80 CB 21 00 E0 */ lfd f25, 0xe0(r1) /* 80237B24 00234A84 E3 01 00 D8 */ psq_l f24, 216(r1), 0, qr0 /* 80237B28 00234A88 CB 01 00 D0 */ lfd f24, 0xd0(r1) /* 80237B2C 00234A8C E2 E1 00 C8 */ psq_l f23, 200(r1), 0, qr0 /* 80237B30 00234A90 CA E1 00 C0 */ lfd f23, 0xc0(r1) /* 80237B34 00234A94 BA 81 00 90 */ lmw r20, 0x90(r1) /* 80237B38 00234A98 80 01 01 54 */ lwz r0, 0x154(r1) /* 80237B3C 00234A9C 7C 08 03 A6 */ mtlr r0 /* 80237B40 00234AA0 38 21 01 50 */ addi r1, r1, 0x150 /* 80237B44 00234AA4 4E 80 00 20 */ blr .global __sinit_CMagdolite_cpp __sinit_CMagdolite_cpp: /* 80237B48 00234AA8 3C 60 80 3F */ lis r3, lbl_803E81A0@ha /* 80237B4C 00234AAC 80 8D 96 58 */ lwz r4, lbl_805A8218@sda21(r13) /* 80237B50 00234AB0 38 63 81 A0 */ addi r3, r3, lbl_803E81A0@l /* 80237B54 00234AB4 80 0D 96 5C */ lwz r0, lbl_805A821C@sda21(r13) /* 80237B58 00234AB8 90 83 00 04 */ stw r4, 4(r3) /* 80237B5C 00234ABC 90 03 00 18 */ stw r0, 0x18(r3) /* 80237B60 00234AC0 4E 80 00 20 */ blr .global __dt__10CTeamAiMgr __dt__10CTeamAiMgr: /* 80237B64 00234AC4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80237B68 00234AC8 7C 08 02 A6 */ mflr r0 /* 80237B6C 00234ACC 90 01 00 44 */ stw r0, 0x44(r1) /* 80237B70 00234AD0 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80237B74 00234AD4 7C 9F 23 78 */ mr r31, r4 /* 80237B78 00234AD8 93 C1 00 38 */ stw r30, 0x38(r1) /* 80237B7C 00234ADC 7C 7E 1B 79 */ or. r30, r3, r3 /* 80237B80 00234AE0 41 82 01 04 */ beq lbl_80237C84 /* 80237B84 00234AE4 3C 60 80 3F */ lis r3, lbl_803E8558@ha /* 80237B88 00234AE8 34 1E 00 78 */ addic. r0, r30, 0x78 /* 80237B8C 00234AEC 38 03 85 58 */ addi r0, r3, lbl_803E8558@l /* 80237B90 00234AF0 90 1E 00 00 */ stw r0, 0(r30) /* 80237B94 00234AF4 41 82 00 44 */ beq lbl_80237BD8 /* 80237B98 00234AF8 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 80237B9C 00234AFC 80 7E 00 84 */ lwz r3, 0x84(r30) /* 80237BA0 00234B00 54 00 08 3C */ slwi r0, r0, 1 /* 80237BA4 00234B04 7C 03 02 14 */ add r0, r3, r0 /* 80237BA8 00234B08 90 61 00 2C */ stw r3, 0x2c(r1) /* 80237BAC 00234B0C 7C 64 1B 78 */ mr r4, r3 /* 80237BB0 00234B10 90 01 00 34 */ stw r0, 0x34(r1) /* 80237BB4 00234B14 90 01 00 30 */ stw r0, 0x30(r1) /* 80237BB8 00234B18 90 61 00 28 */ stw r3, 0x28(r1) /* 80237BBC 00234B1C 48 00 00 08 */ b lbl_80237BC4 lbl_80237BC0: /* 80237BC0 00234B20 38 84 00 02 */ addi r4, r4, 2 lbl_80237BC4: /* 80237BC4 00234B24 7C 04 00 40 */ cmplw r4, r0 /* 80237BC8 00234B28 40 82 FF F8 */ bne lbl_80237BC0 /* 80237BCC 00234B2C 28 03 00 00 */ cmplwi r3, 0 /* 80237BD0 00234B30 41 82 00 08 */ beq lbl_80237BD8 /* 80237BD4 00234B34 48 0D DD 5D */ bl Free__7CMemoryFPCv lbl_80237BD8: /* 80237BD8 00234B38 34 1E 00 68 */ addic. r0, r30, 0x68 /* 80237BDC 00234B3C 41 82 00 44 */ beq lbl_80237C20 /* 80237BE0 00234B40 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80237BE4 00234B44 80 7E 00 74 */ lwz r3, 0x74(r30) /* 80237BE8 00234B48 54 00 08 3C */ slwi r0, r0, 1 /* 80237BEC 00234B4C 7C 03 02 14 */ add r0, r3, r0 /* 80237BF0 00234B50 90 61 00 1C */ stw r3, 0x1c(r1) /* 80237BF4 00234B54 7C 64 1B 78 */ mr r4, r3 /* 80237BF8 00234B58 90 01 00 24 */ stw r0, 0x24(r1) /* 80237BFC 00234B5C 90 01 00 20 */ stw r0, 0x20(r1) /* 80237C00 00234B60 90 61 00 18 */ stw r3, 0x18(r1) /* 80237C04 00234B64 48 00 00 08 */ b lbl_80237C0C lbl_80237C08: /* 80237C08 00234B68 38 84 00 02 */ addi r4, r4, 2 lbl_80237C0C: /* 80237C0C 00234B6C 7C 04 00 40 */ cmplw r4, r0 /* 80237C10 00234B70 40 82 FF F8 */ bne lbl_80237C08 /* 80237C14 00234B74 28 03 00 00 */ cmplwi r3, 0 /* 80237C18 00234B78 41 82 00 08 */ beq lbl_80237C20 /* 80237C1C 00234B7C 48 0D DD 15 */ bl Free__7CMemoryFPCv lbl_80237C20: /* 80237C20 00234B80 34 1E 00 58 */ addic. r0, r30, 0x58 /* 80237C24 00234B84 41 82 00 44 */ beq lbl_80237C68 /* 80237C28 00234B88 80 1E 00 5C */ lwz r0, 0x5c(r30) /* 80237C2C 00234B8C 80 7E 00 64 */ lwz r3, 0x64(r30) /* 80237C30 00234B90 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80237C34 00234B94 90 61 00 0C */ stw r3, 0xc(r1) /* 80237C38 00234B98 7C 64 1B 78 */ mr r4, r3 /* 80237C3C 00234B9C 7C 03 02 14 */ add r0, r3, r0 /* 80237C40 00234BA0 90 61 00 08 */ stw r3, 8(r1) /* 80237C44 00234BA4 90 01 00 14 */ stw r0, 0x14(r1) /* 80237C48 00234BA8 90 01 00 10 */ stw r0, 0x10(r1) /* 80237C4C 00234BAC 48 00 00 08 */ b lbl_80237C54 lbl_80237C50: /* 80237C50 00234BB0 38 84 00 28 */ addi r4, r4, 0x28 lbl_80237C54: /* 80237C54 00234BB4 7C 04 00 40 */ cmplw r4, r0 /* 80237C58 00234BB8 40 82 FF F8 */ bne lbl_80237C50 /* 80237C5C 00234BBC 28 03 00 00 */ cmplwi r3, 0 /* 80237C60 00234BC0 41 82 00 08 */ beq lbl_80237C68 /* 80237C64 00234BC4 48 0D DC CD */ bl Free__7CMemoryFPCv lbl_80237C68: /* 80237C68 00234BC8 7F C3 F3 78 */ mr r3, r30 /* 80237C6C 00234BCC 38 80 00 00 */ li r4, 0 /* 80237C70 00234BD0 4B E1 96 05 */ bl __dt__7CEntityFv /* 80237C74 00234BD4 7F E0 07 35 */ extsh. r0, r31 /* 80237C78 00234BD8 40 81 00 0C */ ble lbl_80237C84 /* 80237C7C 00234BDC 7F C3 F3 78 */ mr r3, r30 /* 80237C80 00234BE0 48 0D DC B1 */ bl Free__7CMemoryFPCv lbl_80237C84: /* 80237C84 00234BE4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80237C88 00234BE8 7F C3 F3 78 */ mr r3, r30 /* 80237C8C 00234BEC 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80237C90 00234BF0 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80237C94 00234BF4 7C 08 03 A6 */ mtlr r0 /* 80237C98 00234BF8 38 21 00 40 */ addi r1, r1, 0x40 /* 80237C9C 00234BFC 4E 80 00 20 */ blr .global UpdateTeamCaptain__10CTeamAiMgrFv UpdateTeamCaptain__10CTeamAiMgrFv: /* 80237CA0 00234C00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 80237CA4 00234C04 3C C0 80 00 */ lis r6, 0x8000 /* 80237CA8 00234C08 B0 03 00 8C */ sth r0, 0x8c(r3) /* 80237CAC 00234C0C 80 A3 00 64 */ lwz r5, 0x64(r3) /* 80237CB0 00234C10 48 00 00 20 */ b lbl_80237CD0 lbl_80237CB4: /* 80237CB4 00234C14 80 85 00 18 */ lwz r4, 0x18(r5) /* 80237CB8 00234C18 7C 04 30 00 */ cmpw r4, r6 /* 80237CBC 00234C1C 40 81 00 10 */ ble lbl_80237CCC /* 80237CC0 00234C20 A0 05 00 00 */ lhz r0, 0(r5) /* 80237CC4 00234C24 7C 86 23 78 */ mr r6, r4 /* 80237CC8 00234C28 B0 03 00 8C */ sth r0, 0x8c(r3) lbl_80237CCC: /* 80237CCC 00234C2C 38 A5 00 28 */ addi r5, r5, 0x28 lbl_80237CD0: /* 80237CD0 00234C30 80 03 00 5C */ lwz r0, 0x5c(r3) /* 80237CD4 00234C34 80 83 00 64 */ lwz r4, 0x64(r3) /* 80237CD8 00234C38 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80237CDC 00234C3C 7C 04 02 14 */ add r0, r4, r0 /* 80237CE0 00234C40 7C 05 00 40 */ cmplw r5, r0 /* 80237CE4 00234C44 40 82 FF D0 */ bne lbl_80237CB4 .global sub_80237ce8 sub_80237ce8: /* 80237CE8 00234C48 4E 80 00 20 */ blr .global SpacingSort__10CTeamAiMgrFR13CStateManagerRC9CVector3f SpacingSort__10CTeamAiMgrFR13CStateManagerRC9CVector3f: /* 80237CEC 00234C4C 94 21 FE D0 */ stwu r1, -0x130(r1) /* 80237CF0 00234C50 7C 08 02 A6 */ mflr r0 /* 80237CF4 00234C54 90 01 01 34 */ stw r0, 0x134(r1) /* 80237CF8 00234C58 DB E1 01 20 */ stfd f31, 0x120(r1) /* 80237CFC 00234C5C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 80237D00 00234C60 DB C1 01 10 */ stfd f30, 0x110(r1) /* 80237D04 00234C64 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 /* 80237D08 00234C68 BF 21 00 F4 */ stmw r25, 0xf4(r1) /* 80237D0C 00234C6C 7C BF 2B 78 */ mr r31, r5 /* 80237D10 00234C70 39 00 00 02 */ li r8, 2 /* 80237D14 00234C74 C0 45 00 00 */ lfs f2, 0(r5) /* 80237D18 00234C78 7C 7D 1B 78 */ mr r29, r3 /* 80237D1C 00234C7C C0 25 00 04 */ lfs f1, 4(r5) /* 80237D20 00234C80 7C 9E 23 78 */ mr r30, r4 /* 80237D24 00234C84 C0 05 00 08 */ lfs f0, 8(r5) /* 80237D28 00234C88 38 61 00 34 */ addi r3, r1, 0x34 /* 80237D2C 00234C8C D0 41 00 BC */ stfs f2, 0xbc(r1) /* 80237D30 00234C90 38 81 00 2C */ addi r4, r1, 0x2c /* 80237D34 00234C94 38 A1 00 CC */ addi r5, r1, 0xcc /* 80237D38 00234C98 D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 80237D3C 00234C9C 80 E1 00 BC */ lwz r7, 0xbc(r1) /* 80237D40 00234CA0 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 80237D44 00234CA4 80 C1 00 C0 */ lwz r6, 0xc0(r1) /* 80237D48 00234CA8 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80237D4C 00234CAC 90 E1 00 CC */ stw r7, 0xcc(r1) /* 80237D50 00234CB0 90 C1 00 D0 */ stw r6, 0xd0(r1) /* 80237D54 00234CB4 90 01 00 D4 */ stw r0, 0xd4(r1) /* 80237D58 00234CB8 91 01 00 D8 */ stw r8, 0xd8(r1) /* 80237D5C 00234CBC 80 1D 00 5C */ lwz r0, 0x5c(r29) /* 80237D60 00234CC0 80 DD 00 64 */ lwz r6, 0x64(r29) /* 80237D64 00234CC4 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80237D68 00234CC8 91 01 00 C8 */ stw r8, 0xc8(r1) /* 80237D6C 00234CCC 7C C6 02 14 */ add r6, r6, r0 /* 80237D70 00234CD0 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80237D74 00234CD4 80 1D 00 64 */ lwz r0, 0x64(r29) /* 80237D78 00234CD8 90 C1 00 28 */ stw r6, 0x28(r1) /* 80237D7C 00234CDC 90 01 00 30 */ stw r0, 0x30(r1) /* 80237D80 00234CE0 90 01 00 34 */ stw r0, 0x34(r1) /* 80237D84 00234CE4 48 00 28 49 */ bl "sort_with_custom_comparator>" /* 80237D88 00234CE8 C3 E2 B7 5C */ lfs f31, lbl_805AD47C@sda21(r2) /* 80237D8C 00234CEC 83 9D 00 64 */ lwz r28, 0x64(r29) /* 80237D90 00234CF0 48 00 00 5C */ b lbl_80237DEC lbl_80237D94: /* 80237D94 00234CF4 A0 1C 00 00 */ lhz r0, 0(r28) /* 80237D98 00234CF8 7F C3 F3 78 */ mr r3, r30 /* 80237D9C 00234CFC 38 81 00 14 */ addi r4, r1, 0x14 /* 80237DA0 00234D00 B0 01 00 10 */ sth r0, 0x10(r1) /* 80237DA4 00234D04 B0 01 00 14 */ sth r0, 0x14(r1) /* 80237DA8 00234D08 4B E1 47 CD */ bl ObjectById__13CStateManagerF9TUniqueId /* 80237DAC 00234D0C 7C 64 1B 78 */ mr r4, r3 /* 80237DB0 00234D10 38 61 00 40 */ addi r3, r1, 0x40 /* 80237DB4 00234D14 4B E7 4C A9 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 80237DB8 00234D18 80 63 00 04 */ lwz r3, 4(r3) /* 80237DBC 00234D1C 28 03 00 00 */ cmplwi r3, 0 /* 80237DC0 00234D20 41 82 00 28 */ beq lbl_80237DE8 /* 80237DC4 00234D24 4B EE 2B FD */ bl GetBaseBoundingBox__13CPhysicsActorCFv /* 80237DC8 00234D28 C0 23 00 10 */ lfs f1, 0x10(r3) /* 80237DCC 00234D2C C0 03 00 04 */ lfs f0, 4(r3) /* 80237DD0 00234D30 C0 42 B7 60 */ lfs f2, lbl_805AD480@sda21(r2) /* 80237DD4 00234D34 EC 01 00 28 */ fsubs f0, f1, f0 /* 80237DD8 00234D38 EC 02 00 32 */ fmuls f0, f2, f0 /* 80237DDC 00234D3C FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 80237DE0 00234D40 40 81 00 08 */ ble lbl_80237DE8 /* 80237DE4 00234D44 FF E0 00 90 */ fmr f31, f0 lbl_80237DE8: /* 80237DE8 00234D48 3B 9C 00 28 */ addi r28, r28, 0x28 lbl_80237DEC: /* 80237DEC 00234D4C 80 1D 00 5C */ lwz r0, 0x5c(r29) /* 80237DF0 00234D50 83 7D 00 64 */ lwz r27, 0x64(r29) /* 80237DF4 00234D54 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80237DF8 00234D58 7C 1B 02 14 */ add r0, r27, r0 /* 80237DFC 00234D5C 7C 1C 00 40 */ cmplw r28, r0 /* 80237E00 00234D60 40 82 FF 94 */ bne lbl_80237D94 /* 80237E04 00234D64 FF C0 F8 90 */ fmr f30, f31 /* 80237E08 00234D68 3B 80 00 00 */ li r28, 0 /* 80237E0C 00234D6C 3B 40 00 03 */ li r26, 3 /* 80237E10 00234D70 48 00 01 78 */ b lbl_80237F88 lbl_80237E14: /* 80237E14 00234D74 A0 1B 00 00 */ lhz r0, 0(r27) /* 80237E18 00234D78 7F C3 F3 78 */ mr r3, r30 /* 80237E1C 00234D7C 38 81 00 0C */ addi r4, r1, 0xc /* 80237E20 00234D80 B0 01 00 08 */ sth r0, 8(r1) /* 80237E24 00234D84 B0 01 00 0C */ sth r0, 0xc(r1) /* 80237E28 00234D88 4B E1 47 4D */ bl ObjectById__13CStateManagerF9TUniqueId /* 80237E2C 00234D8C 7C 64 1B 78 */ mr r4, r3 /* 80237E30 00234D90 38 61 00 38 */ addi r3, r1, 0x38 /* 80237E34 00234D94 4B E7 4C 29 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 80237E38 00234D98 83 23 00 04 */ lwz r25, 4(r3) /* 80237E3C 00234D9C 28 19 00 00 */ cmplwi r25, 0 /* 80237E40 00234DA0 41 82 01 44 */ beq lbl_80237F84 /* 80237E44 00234DA4 C0 39 00 60 */ lfs f1, 0x60(r25) /* 80237E48 00234DA8 38 61 00 DC */ addi r3, r1, 0xdc /* 80237E4C 00234DAC C0 1F 00 08 */ lfs f0, 8(r31) /* 80237E50 00234DB0 C0 79 00 50 */ lfs f3, 0x50(r25) /* 80237E54 00234DB4 C0 5F 00 04 */ lfs f2, 4(r31) /* 80237E58 00234DB8 EC 81 00 28 */ fsubs f4, f1, f0 /* 80237E5C 00234DBC C0 39 00 40 */ lfs f1, 0x40(r25) /* 80237E60 00234DC0 C0 1F 00 00 */ lfs f0, 0(r31) /* 80237E64 00234DC4 EC 43 10 28 */ fsubs f2, f3, f2 /* 80237E68 00234DC8 D0 81 00 E4 */ stfs f4, 0xe4(r1) /* 80237E6C 00234DCC EC 21 00 28 */ fsubs f1, f1, f0 /* 80237E70 00234DD0 C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2) /* 80237E74 00234DD4 D0 41 00 E0 */ stfs f2, 0xe0(r1) /* 80237E78 00234DD8 D0 21 00 DC */ stfs f1, 0xdc(r1) /* 80237E7C 00234DDC D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 80237E80 00234DE0 48 0D C8 79 */ bl CanBeNormalized__9CVector3fCFv /* 80237E84 00234DE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80237E88 00234DE8 41 82 00 60 */ beq lbl_80237EE8 /* 80237E8C 00234DEC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80237E90 00234DF0 38 81 00 DC */ addi r4, r1, 0xdc /* 80237E94 00234DF4 48 0D C9 BD */ bl AsNormalized__9CVector3fCFv /* 80237E98 00234DF8 C0 41 00 B4 */ lfs f2, 0xb4(r1) /* 80237E9C 00234DFC 38 61 00 98 */ addi r3, r1, 0x98 /* 80237EA0 00234E00 C0 21 00 B8 */ lfs f1, 0xb8(r1) /* 80237EA4 00234E04 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 80237EA8 00234E08 EC BE 00 B2 */ fmuls f5, f30, f2 /* 80237EAC 00234E0C EC 9E 00 72 */ fmuls f4, f30, f1 /* 80237EB0 00234E10 C0 5F 00 04 */ lfs f2, 4(r31) /* 80237EB4 00234E14 EC 7E 00 32 */ fmuls f3, f30, f0 /* 80237EB8 00234E18 C0 3F 00 08 */ lfs f1, 8(r31) /* 80237EBC 00234E1C C0 1F 00 00 */ lfs f0, 0(r31) /* 80237EC0 00234E20 EC 42 28 2A */ fadds f2, f2, f5 /* 80237EC4 00234E24 EC 21 20 2A */ fadds f1, f1, f4 /* 80237EC8 00234E28 D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 80237ECC 00234E2C EC 00 18 2A */ fadds f0, f0, f3 /* 80237ED0 00234E30 D0 A1 00 A8 */ stfs f5, 0xa8(r1) /* 80237ED4 00234E34 D0 81 00 AC */ stfs f4, 0xac(r1) /* 80237ED8 00234E38 D0 01 00 98 */ stfs f0, 0x98(r1) /* 80237EDC 00234E3C D0 41 00 9C */ stfs f2, 0x9c(r1) /* 80237EE0 00234E40 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 80237EE4 00234E44 48 00 00 5C */ b lbl_80237F40 lbl_80237EE8: /* 80237EE8 00234E48 C1 19 00 58 */ lfs f8, 0x58(r25) /* 80237EEC 00234E4C 38 61 00 74 */ addi r3, r1, 0x74 /* 80237EF0 00234E50 C0 F9 00 48 */ lfs f7, 0x48(r25) /* 80237EF4 00234E54 C0 99 00 38 */ lfs f4, 0x38(r25) /* 80237EF8 00234E58 EC BE 02 32 */ fmuls f5, f30, f8 /* 80237EFC 00234E5C EC DE 01 F2 */ fmuls f6, f30, f7 /* 80237F00 00234E60 C0 5F 00 04 */ lfs f2, 4(r31) /* 80237F04 00234E64 EC 7E 01 32 */ fmuls f3, f30, f4 /* 80237F08 00234E68 C0 3F 00 08 */ lfs f1, 8(r31) /* 80237F0C 00234E6C C0 1F 00 00 */ lfs f0, 0(r31) /* 80237F10 00234E70 EC 42 30 2A */ fadds f2, f2, f6 /* 80237F14 00234E74 EC 21 28 2A */ fadds f1, f1, f5 /* 80237F18 00234E78 D0 81 00 8C */ stfs f4, 0x8c(r1) /* 80237F1C 00234E7C EC 00 18 2A */ fadds f0, f0, f3 /* 80237F20 00234E80 D0 E1 00 90 */ stfs f7, 0x90(r1) /* 80237F24 00234E84 D1 01 00 94 */ stfs f8, 0x94(r1) /* 80237F28 00234E88 D0 61 00 80 */ stfs f3, 0x80(r1) /* 80237F2C 00234E8C D0 C1 00 84 */ stfs f6, 0x84(r1) /* 80237F30 00234E90 D0 A1 00 88 */ stfs f5, 0x88(r1) /* 80237F34 00234E94 D0 01 00 74 */ stfs f0, 0x74(r1) /* 80237F38 00234E98 D0 41 00 78 */ stfs f2, 0x78(r1) /* 80237F3C 00234E9C D0 21 00 7C */ stfs f1, 0x7c(r1) lbl_80237F40: /* 80237F40 00234EA0 C0 59 00 60 */ lfs f2, 0x60(r25) /* 80237F44 00234EA4 3B 9C 00 01 */ addi r28, r28, 1 /* 80237F48 00234EA8 C0 39 00 50 */ lfs f1, 0x50(r25) /* 80237F4C 00234EAC 7C 1C D0 00 */ cmpw r28, r26 /* 80237F50 00234EB0 C0 19 00 40 */ lfs f0, 0x40(r25) /* 80237F54 00234EB4 C0 63 00 00 */ lfs f3, 0(r3) /* 80237F58 00234EB8 C0 83 00 04 */ lfs f4, 4(r3) /* 80237F5C 00234EBC D0 01 00 68 */ stfs f0, 0x68(r1) /* 80237F60 00234EC0 D0 7B 00 1C */ stfs f3, 0x1c(r27) /* 80237F64 00234EC4 D0 9B 00 20 */ stfs f4, 0x20(r27) /* 80237F68 00234EC8 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 80237F6C 00234ECC D0 41 00 70 */ stfs f2, 0x70(r1) /* 80237F70 00234ED0 D0 5B 00 24 */ stfs f2, 0x24(r27) /* 80237F74 00234ED4 40 81 00 10 */ ble lbl_80237F84 /* 80237F78 00234ED8 EF DE F8 2A */ fadds f30, f30, f31 /* 80237F7C 00234EDC 3B 80 00 00 */ li r28, 0 /* 80237F80 00234EE0 3B 5A 00 01 */ addi r26, r26, 1 lbl_80237F84: /* 80237F84 00234EE4 3B 7B 00 28 */ addi r27, r27, 0x28 lbl_80237F88: /* 80237F88 00234EE8 80 1D 00 5C */ lwz r0, 0x5c(r29) /* 80237F8C 00234EEC 80 7D 00 64 */ lwz r3, 0x64(r29) /* 80237F90 00234EF0 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80237F94 00234EF4 7D 23 02 14 */ add r9, r3, r0 /* 80237F98 00234EF8 7C 1B 48 40 */ cmplw r27, r9 /* 80237F9C 00234EFC 40 82 FE 78 */ bne lbl_80237E14 /* 80237FA0 00234F00 C0 5F 00 00 */ lfs f2, 0(r31) /* 80237FA4 00234F04 39 00 00 00 */ li r8, 0 /* 80237FA8 00234F08 C0 3F 00 04 */ lfs f1, 4(r31) /* 80237FAC 00234F0C 38 61 00 24 */ addi r3, r1, 0x24 /* 80237FB0 00234F10 C0 1F 00 08 */ lfs f0, 8(r31) /* 80237FB4 00234F14 38 81 00 1C */ addi r4, r1, 0x1c /* 80237FB8 00234F18 D0 41 00 48 */ stfs f2, 0x48(r1) /* 80237FBC 00234F1C 38 A1 00 58 */ addi r5, r1, 0x58 /* 80237FC0 00234F20 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 80237FC4 00234F24 80 E1 00 48 */ lwz r7, 0x48(r1) /* 80237FC8 00234F28 D0 01 00 50 */ stfs f0, 0x50(r1) /* 80237FCC 00234F2C 80 C1 00 4C */ lwz r6, 0x4c(r1) /* 80237FD0 00234F30 80 01 00 50 */ lwz r0, 0x50(r1) /* 80237FD4 00234F34 90 E1 00 58 */ stw r7, 0x58(r1) /* 80237FD8 00234F38 90 C1 00 5C */ stw r6, 0x5c(r1) /* 80237FDC 00234F3C 90 01 00 60 */ stw r0, 0x60(r1) /* 80237FE0 00234F40 91 01 00 64 */ stw r8, 0x64(r1) /* 80237FE4 00234F44 91 21 00 1C */ stw r9, 0x1c(r1) /* 80237FE8 00234F48 80 1D 00 64 */ lwz r0, 0x64(r29) /* 80237FEC 00234F4C 91 01 00 54 */ stw r8, 0x54(r1) /* 80237FF0 00234F50 91 21 00 18 */ stw r9, 0x18(r1) /* 80237FF4 00234F54 90 01 00 20 */ stw r0, 0x20(r1) /* 80237FF8 00234F58 90 01 00 24 */ stw r0, 0x24(r1) /* 80237FFC 00234F5C 48 00 25 D1 */ bl "sort_with_custom_comparator>" /* 80238000 00234F60 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 80238004 00234F64 CB E1 01 20 */ lfd f31, 0x120(r1) /* 80238008 00234F68 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 /* 8023800C 00234F6C CB C1 01 10 */ lfd f30, 0x110(r1) /* 80238010 00234F70 BB 21 00 F4 */ lmw r25, 0xf4(r1) /* 80238014 00234F74 80 01 01 34 */ lwz r0, 0x134(r1) /* 80238018 00234F78 7C 08 03 A6 */ mtlr r0 /* 8023801C 00234F7C 38 21 01 30 */ addi r1, r1, 0x130 /* 80238020 00234F80 4E 80 00 20 */ blr .global PositionTeam__10CTeamAiMgrFR13CStateManager PositionTeam__10CTeamAiMgrFR13CStateManager: /* 80238024 00234F84 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80238028 00234F88 7C 08 02 A6 */ mflr r0 /* 8023802C 00234F8C C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2) /* 80238030 00234F90 90 01 00 54 */ stw r0, 0x54(r1) /* 80238034 00234F94 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80238038 00234F98 93 C1 00 48 */ stw r30, 0x48(r1) /* 8023803C 00234F9C 7C 9E 23 78 */ mr r30, r4 /* 80238040 00234FA0 7F C5 F3 78 */ mr r5, r30 /* 80238044 00234FA4 93 A1 00 44 */ stw r29, 0x44(r1) /* 80238048 00234FA8 7C 7D 1B 78 */ mr r29, r3 /* 8023804C 00234FAC 38 61 00 24 */ addi r3, r1, 0x24 /* 80238050 00234FB0 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80238054 00234FB4 81 84 00 00 */ lwz r12, 0(r4) /* 80238058 00234FB8 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 8023805C 00234FBC 7D 89 03 A6 */ mtctr r12 /* 80238060 00234FC0 4E 80 04 21 */ bctrl /* 80238064 00234FC4 C0 41 00 24 */ lfs f2, 0x24(r1) /* 80238068 00234FC8 C0 21 00 28 */ lfs f1, 0x28(r1) /* 8023806C 00234FCC C0 01 00 2C */ lfs f0, 0x2c(r1) /* 80238070 00234FD0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80238074 00234FD4 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80238078 00234FD8 D0 01 00 38 */ stfs f0, 0x38(r1) /* 8023807C 00234FDC 80 1D 00 4C */ lwz r0, 0x4c(r29) /* 80238080 00234FE0 2C 00 00 01 */ cmpwi r0, 1 /* 80238084 00234FE4 41 82 00 0C */ beq lbl_80238090 /* 80238088 00234FE8 40 80 00 1C */ bge lbl_802380A4 /* 8023808C 00234FEC 48 00 00 18 */ b lbl_802380A4 lbl_80238090: /* 80238090 00234FF0 7F A3 EB 78 */ mr r3, r29 /* 80238094 00234FF4 7F C4 F3 78 */ mr r4, r30 /* 80238098 00234FF8 38 A1 00 30 */ addi r5, r1, 0x30 /* 8023809C 00234FFC 4B FF FC 51 */ bl SpacingSort__10CTeamAiMgrFR13CStateManagerRC9CVector3f /* 802380A0 00235000 48 00 00 90 */ b lbl_80238130 lbl_802380A4: /* 802380A4 00235004 83 FD 00 64 */ lwz r31, 0x64(r29) /* 802380A8 00235008 48 00 00 70 */ b lbl_80238118 lbl_802380AC: /* 802380AC 0023500C A0 1F 00 00 */ lhz r0, 0(r31) /* 802380B0 00235010 7F C3 F3 78 */ mr r3, r30 /* 802380B4 00235014 38 81 00 0C */ addi r4, r1, 0xc /* 802380B8 00235018 B0 01 00 08 */ sth r0, 8(r1) /* 802380BC 0023501C B0 01 00 0C */ sth r0, 0xc(r1) /* 802380C0 00235020 4B E1 44 B5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 802380C4 00235024 7C 64 1B 78 */ mr r4, r3 /* 802380C8 00235028 38 61 00 10 */ addi r3, r1, 0x10 /* 802380CC 0023502C 4B E7 49 91 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" /* 802380D0 00235030 80 83 00 04 */ lwz r4, 4(r3) /* 802380D4 00235034 28 04 00 00 */ cmplwi r4, 0 /* 802380D8 00235038 41 82 00 3C */ beq lbl_80238114 /* 802380DC 0023503C 81 84 00 00 */ lwz r12, 0(r4) /* 802380E0 00235040 7F C5 F3 78 */ mr r5, r30 /* 802380E4 00235044 7F E6 FB 78 */ mr r6, r31 /* 802380E8 00235048 38 61 00 18 */ addi r3, r1, 0x18 /* 802380EC 0023504C 81 8C 00 A0 */ lwz r12, 0xa0(r12) /* 802380F0 00235050 38 E1 00 30 */ addi r7, r1, 0x30 /* 802380F4 00235054 7D 89 03 A6 */ mtctr r12 /* 802380F8 00235058 4E 80 04 21 */ bctrl /* 802380FC 0023505C C0 01 00 18 */ lfs f0, 0x18(r1) /* 80238100 00235060 D0 1F 00 1C */ stfs f0, 0x1c(r31) /* 80238104 00235064 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80238108 00235068 D0 1F 00 20 */ stfs f0, 0x20(r31) /* 8023810C 0023506C C0 01 00 20 */ lfs f0, 0x20(r1) /* 80238110 00235070 D0 1F 00 24 */ stfs f0, 0x24(r31) lbl_80238114: /* 80238114 00235074 3B FF 00 28 */ addi r31, r31, 0x28 lbl_80238118: /* 80238118 00235078 80 1D 00 5C */ lwz r0, 0x5c(r29) /* 8023811C 0023507C 80 7D 00 64 */ lwz r3, 0x64(r29) /* 80238120 00235080 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80238124 00235084 7C 03 02 14 */ add r0, r3, r0 /* 80238128 00235088 7C 1F 00 40 */ cmplw r31, r0 /* 8023812C 0023508C 40 82 FF 80 */ bne lbl_802380AC lbl_80238130: /* 80238130 00235090 80 01 00 54 */ lwz r0, 0x54(r1) /* 80238134 00235094 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80238138 00235098 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8023813C 0023509C 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80238140 002350A0 7C 08 03 A6 */ mtlr r0 /* 80238144 002350A4 38 21 00 50 */ addi r1, r1, 0x50 /* 80238148 002350A8 4E 80 00 20 */ blr .global AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole: /* 8023814C 002350AC 28 05 00 00 */ cmplwi r5, 0 /* 80238150 002350B0 4D 82 00 20 */ beqlr /* 80238154 002350B4 80 E3 00 64 */ lwz r7, 0x64(r3) /* 80238158 002350B8 39 00 00 00 */ li r8, 0 /* 8023815C 002350BC 48 00 00 5C */ b lbl_802381B8 lbl_80238160: /* 80238160 002350C0 80 07 00 10 */ lwz r0, 0x10(r7) /* 80238164 002350C4 2C 00 00 00 */ cmpwi r0, 0 /* 80238168 002350C8 40 82 00 4C */ bne lbl_802381B4 /* 8023816C 002350CC 80 07 00 04 */ lwz r0, 4(r7) /* 80238170 002350D0 38 C0 00 00 */ li r6, 0 /* 80238174 002350D4 7C 00 20 00 */ cmpw r0, r4 /* 80238178 002350D8 41 82 00 1C */ beq lbl_80238194 /* 8023817C 002350DC 80 07 00 08 */ lwz r0, 8(r7) /* 80238180 002350E0 7C 00 20 00 */ cmpw r0, r4 /* 80238184 002350E4 41 82 00 10 */ beq lbl_80238194 /* 80238188 002350E8 80 07 00 0C */ lwz r0, 0xc(r7) /* 8023818C 002350EC 7C 00 20 00 */ cmpw r0, r4 /* 80238190 002350F0 40 82 00 08 */ bne lbl_80238198 lbl_80238194: /* 80238194 002350F4 38 C0 00 01 */ li r6, 1 lbl_80238198: /* 80238198 002350F8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 8023819C 002350FC 41 82 00 18 */ beq lbl_802381B4 /* 802381A0 00235100 90 87 00 10 */ stw r4, 0x10(r7) /* 802381A4 00235104 91 07 00 14 */ stw r8, 0x14(r7) /* 802381A8 00235108 39 08 00 01 */ addi r8, r8, 1 /* 802381AC 0023510C 7C 08 28 40 */ cmplw r8, r5 /* 802381B0 00235110 4D 82 00 20 */ beqlr lbl_802381B4: /* 802381B4 00235114 38 E7 00 28 */ addi r7, r7, 0x28 lbl_802381B8: /* 802381B8 00235118 80 03 00 5C */ lwz r0, 0x5c(r3) /* 802381BC 0023511C 80 C3 00 64 */ lwz r6, 0x64(r3) /* 802381C0 00235120 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802381C4 00235124 7C 06 02 14 */ add r0, r6, r0 /* 802381C8 00235128 7C 07 00 40 */ cmplw r7, r0 /* 802381CC 0023512C 40 82 FF 94 */ bne lbl_80238160 .global sub_802381d0 sub_802381d0: /* 802381D0 00235130 4E 80 00 20 */ blr .global ResetRoles__10CTeamAiMgrFR13CStateManager ResetRoles__10CTeamAiMgrFR13CStateManager: /* 802381D4 00235134 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802381D8 00235138 7C 08 02 A6 */ mflr r0 /* 802381DC 0023513C 90 01 00 24 */ stw r0, 0x24(r1) /* 802381E0 00235140 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802381E4 00235144 3B E0 00 00 */ li r31, 0 /* 802381E8 00235148 93 C1 00 18 */ stw r30, 0x18(r1) /* 802381EC 0023514C 93 A1 00 14 */ stw r29, 0x14(r1) /* 802381F0 00235150 7C 9D 23 78 */ mr r29, r4 /* 802381F4 00235154 93 81 00 10 */ stw r28, 0x10(r1) /* 802381F8 00235158 7C 7C 1B 78 */ mr r28, r3 /* 802381FC 0023515C 83 C3 00 64 */ lwz r30, 0x64(r3) /* 80238200 00235160 48 00 00 48 */ b lbl_80238248 lbl_80238204: /* 80238204 00235164 93 FE 00 10 */ stw r31, 0x10(r30) /* 80238208 00235168 7F A3 EB 78 */ mr r3, r29 /* 8023820C 0023516C 38 81 00 0C */ addi r4, r1, 0xc /* 80238210 00235170 93 FE 00 14 */ stw r31, 0x14(r30) /* 80238214 00235174 A0 1E 00 00 */ lhz r0, 0(r30) /* 80238218 00235178 B0 01 00 08 */ sth r0, 8(r1) /* 8023821C 0023517C B0 01 00 0C */ sth r0, 0xc(r1) /* 80238220 00235180 4B E1 43 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80238224 00235184 28 03 00 00 */ cmplwi r3, 0 /* 80238228 00235188 41 82 00 1C */ beq lbl_80238244 /* 8023822C 0023518C C0 43 00 60 */ lfs f2, 0x60(r3) /* 80238230 00235190 C0 23 00 50 */ lfs f1, 0x50(r3) /* 80238234 00235194 C0 03 00 40 */ lfs f0, 0x40(r3) /* 80238238 00235198 D0 1E 00 1C */ stfs f0, 0x1c(r30) /* 8023823C 0023519C D0 3E 00 20 */ stfs f1, 0x20(r30) /* 80238240 002351A0 D0 5E 00 24 */ stfs f2, 0x24(r30) lbl_80238244: /* 80238244 002351A4 3B DE 00 28 */ addi r30, r30, 0x28 lbl_80238248: /* 80238248 002351A8 80 1C 00 5C */ lwz r0, 0x5c(r28) /* 8023824C 002351AC 80 7C 00 64 */ lwz r3, 0x64(r28) /* 80238250 002351B0 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80238254 002351B4 7C 03 02 14 */ add r0, r3, r0 /* 80238258 002351B8 7C 1E 00 40 */ cmplw r30, r0 /* 8023825C 002351BC 40 82 FF A8 */ bne lbl_80238204 /* 80238260 002351C0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80238264 002351C4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80238268 002351C8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023826C 002351CC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80238270 002351D0 83 81 00 10 */ lwz r28, 0x10(r1) /* 80238274 002351D4 7C 08 03 A6 */ mtlr r0 /* 80238278 002351D8 38 21 00 20 */ addi r1, r1, 0x20 /* 8023827C 002351DC 4E 80 00 20 */ blr .global UpdateRoles__10CTeamAiMgrFR13CStateManager UpdateRoles__10CTeamAiMgrFR13CStateManager: /* 80238280 002351E0 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 80238284 002351E4 7C 08 02 A6 */ mflr r0 /* 80238288 002351E8 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8023828C 002351EC DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 80238290 002351F0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 80238294 002351F4 DB C1 00 90 */ stfd f30, 0x90(r1) /* 80238298 002351F8 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 8023829C 002351FC DB A1 00 80 */ stfd f29, 0x80(r1) /* 802382A0 00235200 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 802382A4 00235204 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802382A8 00235208 93 C1 00 78 */ stw r30, 0x78(r1) /* 802382AC 0023520C 7C 7F 1B 78 */ mr r31, r3 /* 802382B0 00235210 7C 9E 23 78 */ mr r30, r4 /* 802382B4 00235214 4B FF FF 21 */ bl ResetRoles__10CTeamAiMgrFR13CStateManager /* 802382B8 00235218 80 9E 08 4C */ lwz r4, 0x84c(r30) /* 802382BC 0023521C 7F C5 F3 78 */ mr r5, r30 /* 802382C0 00235220 38 61 00 68 */ addi r3, r1, 0x68 /* 802382C4 00235224 C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2) /* 802382C8 00235228 81 84 00 00 */ lwz r12, 0(r4) /* 802382CC 0023522C 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 802382D0 00235230 7D 89 03 A6 */ mtctr r12 /* 802382D4 00235234 4E 80 04 21 */ bctrl /* 802382D8 00235238 C3 A1 00 68 */ lfs f29, 0x68(r1) /* 802382DC 0023523C 39 00 00 01 */ li r8, 1 /* 802382E0 00235240 C3 E1 00 6C */ lfs f31, 0x6c(r1) /* 802382E4 00235244 38 61 00 24 */ addi r3, r1, 0x24 /* 802382E8 00235248 C3 C1 00 70 */ lfs f30, 0x70(r1) /* 802382EC 0023524C 38 81 00 1C */ addi r4, r1, 0x1c /* 802382F0 00235250 D3 A1 00 48 */ stfs f29, 0x48(r1) /* 802382F4 00235254 38 A1 00 58 */ addi r5, r1, 0x58 /* 802382F8 00235258 D3 E1 00 4C */ stfs f31, 0x4c(r1) /* 802382FC 0023525C 80 E1 00 48 */ lwz r7, 0x48(r1) /* 80238300 00235260 D3 C1 00 50 */ stfs f30, 0x50(r1) /* 80238304 00235264 80 C1 00 4C */ lwz r6, 0x4c(r1) /* 80238308 00235268 80 01 00 50 */ lwz r0, 0x50(r1) /* 8023830C 0023526C 90 E1 00 58 */ stw r7, 0x58(r1) /* 80238310 00235270 90 C1 00 5C */ stw r6, 0x5c(r1) /* 80238314 00235274 90 01 00 60 */ stw r0, 0x60(r1) /* 80238318 00235278 91 01 00 64 */ stw r8, 0x64(r1) /* 8023831C 0023527C 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 80238320 00235280 80 DF 00 64 */ lwz r6, 0x64(r31) /* 80238324 00235284 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80238328 00235288 91 01 00 54 */ stw r8, 0x54(r1) /* 8023832C 0023528C 7C C6 02 14 */ add r6, r6, r0 /* 80238330 00235290 90 C1 00 1C */ stw r6, 0x1c(r1) /* 80238334 00235294 80 1F 00 64 */ lwz r0, 0x64(r31) /* 80238338 00235298 90 C1 00 18 */ stw r6, 0x18(r1) /* 8023833C 0023529C 90 01 00 20 */ stw r0, 0x20(r1) /* 80238340 002352A0 90 01 00 24 */ stw r0, 0x24(r1) /* 80238344 002352A4 48 00 22 89 */ bl "sort_with_custom_comparator>" /* 80238348 002352A8 80 BF 00 38 */ lwz r5, 0x38(r31) /* 8023834C 002352AC 7F E3 FB 78 */ mr r3, r31 /* 80238350 002352B0 38 80 00 01 */ li r4, 1 /* 80238354 002352B4 4B FF FD F9 */ bl AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole /* 80238358 002352B8 80 BF 00 3C */ lwz r5, 0x3c(r31) /* 8023835C 002352BC 7F E3 FB 78 */ mr r3, r31 /* 80238360 002352C0 38 80 00 02 */ li r4, 2 /* 80238364 002352C4 4B FF FD E9 */ bl AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole /* 80238368 002352C8 80 BF 00 40 */ lwz r5, 0x40(r31) /* 8023836C 002352CC 7F E3 FB 78 */ mr r3, r31 /* 80238370 002352D0 38 80 00 03 */ li r4, 3 /* 80238374 002352D4 4B FF FD D9 */ bl AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole /* 80238378 002352D8 80 BF 00 64 */ lwz r5, 0x64(r31) /* 8023837C 002352DC 38 80 00 04 */ li r4, 4 /* 80238380 002352E0 48 00 00 34 */ b lbl_802383B4 lbl_80238384: /* 80238384 002352E4 80 65 00 10 */ lwz r3, 0x10(r5) /* 80238388 002352E8 38 00 00 00 */ li r0, 0 /* 8023838C 002352EC 2C 03 00 00 */ cmpwi r3, 0 /* 80238390 002352F0 41 82 00 14 */ beq lbl_802383A4 /* 80238394 002352F4 41 80 00 10 */ blt lbl_802383A4 /* 80238398 002352F8 2C 03 00 04 */ cmpwi r3, 4 /* 8023839C 002352FC 41 81 00 08 */ bgt lbl_802383A4 /* 802383A0 00235300 38 00 00 01 */ li r0, 1 lbl_802383A4: /* 802383A4 00235304 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802383A8 00235308 40 82 00 08 */ bne lbl_802383B0 /* 802383AC 0023530C 90 85 00 10 */ stw r4, 0x10(r5) lbl_802383B0: /* 802383B0 00235310 38 A5 00 28 */ addi r5, r5, 0x28 lbl_802383B4: /* 802383B4 00235314 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802383B8 00235318 80 7F 00 64 */ lwz r3, 0x64(r31) /* 802383BC 0023531C 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802383C0 00235320 7D 23 02 14 */ add r9, r3, r0 /* 802383C4 00235324 7C 05 48 40 */ cmplw r5, r9 /* 802383C8 00235328 40 82 FF BC */ bne lbl_80238384 /* 802383CC 0023532C D3 A1 00 28 */ stfs f29, 0x28(r1) /* 802383D0 00235330 39 00 00 00 */ li r8, 0 /* 802383D4 00235334 38 61 00 14 */ addi r3, r1, 0x14 /* 802383D8 00235338 38 81 00 0C */ addi r4, r1, 0xc /* 802383DC 0023533C D3 E1 00 2C */ stfs f31, 0x2c(r1) /* 802383E0 00235340 38 A1 00 38 */ addi r5, r1, 0x38 /* 802383E4 00235344 80 E1 00 28 */ lwz r7, 0x28(r1) /* 802383E8 00235348 D3 C1 00 30 */ stfs f30, 0x30(r1) /* 802383EC 0023534C 80 C1 00 2C */ lwz r6, 0x2c(r1) /* 802383F0 00235350 80 01 00 30 */ lwz r0, 0x30(r1) /* 802383F4 00235354 90 E1 00 38 */ stw r7, 0x38(r1) /* 802383F8 00235358 90 C1 00 3C */ stw r6, 0x3c(r1) /* 802383FC 0023535C 90 01 00 40 */ stw r0, 0x40(r1) /* 80238400 00235360 91 01 00 44 */ stw r8, 0x44(r1) /* 80238404 00235364 91 21 00 0C */ stw r9, 0xc(r1) /* 80238408 00235368 80 1F 00 64 */ lwz r0, 0x64(r31) /* 8023840C 0023536C 91 01 00 34 */ stw r8, 0x34(r1) /* 80238410 00235370 91 21 00 08 */ stw r9, 8(r1) /* 80238414 00235374 90 01 00 10 */ stw r0, 0x10(r1) /* 80238418 00235378 90 01 00 14 */ stw r0, 0x14(r1) /* 8023841C 0023537C 48 00 21 B1 */ bl "sort_with_custom_comparator>" /* 80238420 00235380 C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2) /* 80238424 00235384 D0 1F 00 88 */ stfs f0, 0x88(r31) /* 80238428 00235388 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 8023842C 0023538C CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 80238430 00235390 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 80238434 00235394 CB C1 00 90 */ lfd f30, 0x90(r1) /* 80238438 00235398 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 8023843C 0023539C CB A1 00 80 */ lfd f29, 0x80(r1) /* 80238440 002353A0 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80238444 002353A4 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 80238448 002353A8 83 C1 00 78 */ lwz r30, 0x78(r1) /* 8023844C 002353AC 7C 08 03 A6 */ mtlr r0 /* 80238450 002353B0 38 21 00 B0 */ addi r1, r1, 0xb0 /* 80238454 002353B4 4E 80 00 20 */ blr .global ShouldUpdateRoles__10CTeamAiMgrFf ShouldUpdateRoles__10CTeamAiMgrFf: /* 80238458 002353B8 80 03 00 5C */ lwz r0, 0x5c(r3) /* 8023845C 002353BC 2C 00 00 00 */ cmpwi r0, 0 /* 80238460 002353C0 40 81 00 7C */ ble lbl_802384DC /* 80238464 002353C4 C0 43 00 88 */ lfs f2, 0x88(r3) /* 80238468 002353C8 C0 02 B7 60 */ lfs f0, lbl_805AD480@sda21(r2) /* 8023846C 002353CC EC 22 08 2A */ fadds f1, f2, f1 /* 80238470 002353D0 D0 23 00 88 */ stfs f1, 0x88(r3) /* 80238474 002353D4 C0 23 00 88 */ lfs f1, 0x88(r3) /* 80238478 002353D8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023847C 002353DC 4C 41 13 82 */ cror 2, 1, 2 /* 80238480 002353E0 40 82 00 0C */ bne lbl_8023848C /* 80238484 002353E4 38 60 00 01 */ li r3, 1 /* 80238488 002353E8 4E 80 00 20 */ blr lbl_8023848C: /* 8023848C 002353EC 80 03 00 5C */ lwz r0, 0x5c(r3) /* 80238490 002353F0 80 83 00 64 */ lwz r4, 0x64(r3) /* 80238494 002353F4 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80238498 002353F8 7C 64 02 14 */ add r3, r4, r0 /* 8023849C 002353FC 48 00 00 38 */ b lbl_802384D4 lbl_802384A0: /* 802384A0 00235400 80 A4 00 10 */ lwz r5, 0x10(r4) /* 802384A4 00235404 38 00 00 00 */ li r0, 0 /* 802384A8 00235408 2C 05 00 00 */ cmpwi r5, 0 /* 802384AC 0023540C 41 82 00 14 */ beq lbl_802384C0 /* 802384B0 00235410 41 80 00 10 */ blt lbl_802384C0 /* 802384B4 00235414 2C 05 00 04 */ cmpwi r5, 4 /* 802384B8 00235418 41 81 00 08 */ bgt lbl_802384C0 /* 802384BC 0023541C 38 00 00 01 */ li r0, 1 lbl_802384C0: /* 802384C0 00235420 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802384C4 00235424 40 82 00 0C */ bne lbl_802384D0 /* 802384C8 00235428 38 60 00 01 */ li r3, 1 /* 802384CC 0023542C 4E 80 00 20 */ blr lbl_802384D0: /* 802384D0 00235430 38 84 00 28 */ addi r4, r4, 0x28 lbl_802384D4: /* 802384D4 00235434 7C 04 18 40 */ cmplw r4, r3 /* 802384D8 00235438 40 82 FF C8 */ bne lbl_802384A0 lbl_802384DC: /* 802384DC 0023543C 38 60 00 00 */ li r3, 0 /* 802384E0 00235440 4E 80 00 20 */ blr .global RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId: /* 802384E4 00235444 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802384E8 00235448 7C 08 02 A6 */ mflr r0 /* 802384EC 0023544C 90 01 00 44 */ stw r0, 0x44(r1) /* 802384F0 00235450 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802384F4 00235454 7C 7F 1B 78 */ mr r31, r3 /* 802384F8 00235458 93 C1 00 38 */ stw r30, 0x38(r1) /* 802384FC 0023545C 7C 9E 23 78 */ mr r30, r4 /* 80238500 00235460 7F C6 F3 78 */ mr r6, r30 /* 80238504 00235464 38 81 00 10 */ addi r4, r1, 0x10 /* 80238508 00235468 80 03 00 7C */ lwz r0, 0x7c(r3) /* 8023850C 0023546C 80 A3 00 84 */ lwz r5, 0x84(r3) /* 80238510 00235470 38 61 00 0C */ addi r3, r1, 0xc /* 80238514 00235474 54 00 08 3C */ slwi r0, r0, 1 /* 80238518 00235478 7C E5 02 14 */ add r7, r5, r0 /* 8023851C 0023547C 38 A1 00 14 */ addi r5, r1, 0x14 /* 80238520 00235480 90 E1 00 24 */ stw r7, 0x24(r1) /* 80238524 00235484 80 1F 00 84 */ lwz r0, 0x84(r31) /* 80238528 00235488 90 E1 00 20 */ stw r7, 0x20(r1) /* 8023852C 0023548C 90 01 00 28 */ stw r0, 0x28(r1) /* 80238530 00235490 90 E1 00 14 */ stw r7, 0x14(r1) /* 80238534 00235494 90 01 00 10 */ stw r0, 0x10(r1) /* 80238538 00235498 48 00 26 79 */ bl "lower_bound>" /* 8023853C 0023549C 80 A1 00 0C */ lwz r5, 0xc(r1) /* 80238540 002354A0 38 80 00 00 */ li r4, 0 /* 80238544 002354A4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80238548 002354A8 90 A1 00 08 */ stw r5, 8(r1) /* 8023854C 002354AC 7C 05 00 40 */ cmplw r5, r0 /* 80238550 002354B0 41 82 00 18 */ beq lbl_80238568 /* 80238554 002354B4 A0 7E 00 00 */ lhz r3, 0(r30) /* 80238558 002354B8 A0 05 00 00 */ lhz r0, 0(r5) /* 8023855C 002354BC 7C 03 00 40 */ cmplw r3, r0 /* 80238560 002354C0 41 80 00 08 */ blt lbl_80238568 /* 80238564 002354C4 38 80 00 01 */ li r4, 1 lbl_80238568: /* 80238568 002354C8 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8023856C 002354CC 38 81 00 24 */ addi r4, r1, 0x24 /* 80238570 002354D0 41 82 00 08 */ beq lbl_80238578 /* 80238574 002354D4 38 81 00 08 */ addi r4, r1, 8 lbl_80238578: /* 80238578 002354D8 80 1F 00 7C */ lwz r0, 0x7c(r31) /* 8023857C 002354DC 80 7F 00 84 */ lwz r3, 0x84(r31) /* 80238580 002354E0 54 00 08 3C */ slwi r0, r0, 1 /* 80238584 002354E4 80 84 00 00 */ lwz r4, 0(r4) /* 80238588 002354E8 7C 03 02 14 */ add r0, r3, r0 /* 8023858C 002354EC 7C 04 00 40 */ cmplw r4, r0 /* 80238590 002354F0 90 81 00 2C */ stw r4, 0x2c(r1) /* 80238594 002354F4 41 82 00 18 */ beq lbl_802385AC /* 80238598 002354F8 90 81 00 18 */ stw r4, 0x18(r1) /* 8023859C 002354FC 38 61 00 1C */ addi r3, r1, 0x1c /* 802385A0 00235500 38 9F 00 78 */ addi r4, r31, 0x78 /* 802385A4 00235504 38 A1 00 18 */ addi r5, r1, 0x18 /* 802385A8 00235508 4B DD 2C B1 */ bl "find,Q24rstl17rmemory_allocator>,9TUniqueId>__4rstlFQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC9TUniqueId" lbl_802385AC: /* 802385AC 0023550C 80 01 00 44 */ lwz r0, 0x44(r1) /* 802385B0 00235510 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 802385B4 00235514 83 C1 00 38 */ lwz r30, 0x38(r1) /* 802385B8 00235518 7C 08 03 A6 */ mtlr r0 /* 802385BC 0023551C 38 21 00 40 */ addi r1, r1, 0x40 /* 802385C0 00235520 4E 80 00 20 */ blr .global AddProjectileAttacker__10CTeamAiMgrF9TUniqueId AddProjectileAttacker__10CTeamAiMgrF9TUniqueId: /* 802385C4 00235524 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802385C8 00235528 7C 08 02 A6 */ mflr r0 /* 802385CC 0023552C 90 01 00 54 */ stw r0, 0x54(r1) /* 802385D0 00235530 93 E1 00 4C */ stw r31, 0x4c(r1) /* 802385D4 00235534 7C 9F 23 78 */ mr r31, r4 /* 802385D8 00235538 93 C1 00 48 */ stw r30, 0x48(r1) /* 802385DC 0023553C 7C 7E 1B 78 */ mr r30, r3 /* 802385E0 00235540 C0 23 00 94 */ lfs f1, 0x94(r3) /* 802385E4 00235544 C0 03 00 54 */ lfs f0, 0x54(r3) /* 802385E8 00235548 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802385EC 0023554C 4C 41 13 82 */ cror 2, 1, 2 /* 802385F0 00235550 40 82 01 34 */ bne lbl_80238724 /* 802385F4 00235554 80 9E 00 7C */ lwz r4, 0x7c(r30) /* 802385F8 00235558 80 1E 00 48 */ lwz r0, 0x48(r30) /* 802385FC 0023555C 7C 04 00 40 */ cmplw r4, r0 /* 80238600 00235560 40 80 01 24 */ bge lbl_80238724 /* 80238604 00235564 A0 1F 00 00 */ lhz r0, 0(r31) /* 80238608 00235568 38 81 00 08 */ addi r4, r1, 8 /* 8023860C 0023556C B0 01 00 08 */ sth r0, 8(r1) /* 80238610 00235570 48 00 0A F5 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 80238614 00235574 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80238618 00235578 41 82 01 0C */ beq lbl_80238724 /* 8023861C 0023557C 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 80238620 00235580 7F E6 FB 78 */ mr r6, r31 /* 80238624 00235584 80 BE 00 84 */ lwz r5, 0x84(r30) /* 80238628 00235588 38 61 00 10 */ addi r3, r1, 0x10 /* 8023862C 0023558C 54 00 08 3C */ slwi r0, r0, 1 /* 80238630 00235590 38 81 00 14 */ addi r4, r1, 0x14 /* 80238634 00235594 7C E5 02 14 */ add r7, r5, r0 /* 80238638 00235598 38 A1 00 18 */ addi r5, r1, 0x18 /* 8023863C 0023559C 90 E1 00 3C */ stw r7, 0x3c(r1) /* 80238640 002355A0 80 1E 00 84 */ lwz r0, 0x84(r30) /* 80238644 002355A4 90 E1 00 38 */ stw r7, 0x38(r1) /* 80238648 002355A8 90 01 00 40 */ stw r0, 0x40(r1) /* 8023864C 002355AC 90 E1 00 18 */ stw r7, 0x18(r1) /* 80238650 002355B0 90 01 00 14 */ stw r0, 0x14(r1) /* 80238654 002355B4 48 00 25 5D */ bl "lower_bound>" /* 80238658 002355B8 80 A1 00 10 */ lwz r5, 0x10(r1) /* 8023865C 002355BC 38 80 00 00 */ li r4, 0 /* 80238660 002355C0 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80238664 002355C4 90 A1 00 0C */ stw r5, 0xc(r1) /* 80238668 002355C8 7C 05 00 40 */ cmplw r5, r0 /* 8023866C 002355CC 41 82 00 18 */ beq lbl_80238684 /* 80238670 002355D0 A0 7F 00 00 */ lhz r3, 0(r31) /* 80238674 002355D4 A0 05 00 00 */ lhz r0, 0(r5) /* 80238678 002355D8 7C 03 00 40 */ cmplw r3, r0 /* 8023867C 002355DC 41 80 00 08 */ blt lbl_80238684 /* 80238680 002355E0 38 80 00 01 */ li r4, 1 lbl_80238684: /* 80238684 002355E4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238688 002355E8 38 A1 00 3C */ addi r5, r1, 0x3c /* 8023868C 002355EC 41 82 00 08 */ beq lbl_80238694 /* 80238690 002355F0 38 A1 00 0C */ addi r5, r1, 0xc lbl_80238694: /* 80238694 002355F4 80 DE 00 7C */ lwz r6, 0x7c(r30) /* 80238698 002355F8 80 9E 00 84 */ lwz r4, 0x84(r30) /* 8023869C 002355FC 54 C3 08 3C */ slwi r3, r6, 1 /* 802386A0 00235600 80 05 00 00 */ lwz r0, 0(r5) /* 802386A4 00235604 7C 64 1A 14 */ add r3, r4, r3 /* 802386A8 00235608 7C 00 18 40 */ cmplw r0, r3 /* 802386AC 0023560C 40 82 00 70 */ bne lbl_8023871C /* 802386B0 00235610 38 7E 00 78 */ addi r3, r30, 0x78 /* 802386B4 00235614 38 86 00 01 */ addi r4, r6, 1 /* 802386B8 00235618 4B DD 3D 51 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 802386BC 0023561C 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 802386C0 00235620 7F E6 FB 78 */ mr r6, r31 /* 802386C4 00235624 80 BE 00 84 */ lwz r5, 0x84(r30) /* 802386C8 00235628 38 61 00 34 */ addi r3, r1, 0x34 /* 802386CC 0023562C 54 00 08 3C */ slwi r0, r0, 1 /* 802386D0 00235630 38 81 00 30 */ addi r4, r1, 0x30 /* 802386D4 00235634 7C E5 02 14 */ add r7, r5, r0 /* 802386D8 00235638 38 A1 00 28 */ addi r5, r1, 0x28 /* 802386DC 0023563C 90 E1 00 28 */ stw r7, 0x28(r1) /* 802386E0 00235640 80 1E 00 84 */ lwz r0, 0x84(r30) /* 802386E4 00235644 90 E1 00 24 */ stw r7, 0x24(r1) /* 802386E8 00235648 90 01 00 2C */ stw r0, 0x2c(r1) /* 802386EC 0023564C 90 01 00 30 */ stw r0, 0x30(r1) /* 802386F0 00235650 48 00 24 C1 */ bl "lower_bound>" /* 802386F4 00235654 80 01 00 34 */ lwz r0, 0x34(r1) /* 802386F8 00235658 7F E6 FB 78 */ mr r6, r31 /* 802386FC 0023565C 38 61 00 20 */ addi r3, r1, 0x20 /* 80238700 00235660 38 9E 00 78 */ addi r4, r30, 0x78 /* 80238704 00235664 90 01 00 44 */ stw r0, 0x44(r1) /* 80238708 00235668 38 A1 00 1C */ addi r5, r1, 0x1c /* 8023870C 0023566C 90 01 00 1C */ stw r0, 0x1c(r1) /* 80238710 00235670 48 00 00 31 */ bl sub_80238740 /* 80238714 00235674 C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2) /* 80238718 00235678 D0 1E 00 94 */ stfs f0, 0x94(r30) lbl_8023871C: /* 8023871C 0023567C 38 60 00 01 */ li r3, 1 /* 80238720 00235680 48 00 00 08 */ b lbl_80238728 lbl_80238724: /* 80238724 00235684 38 60 00 00 */ li r3, 0 lbl_80238728: /* 80238728 00235688 80 01 00 54 */ lwz r0, 0x54(r1) /* 8023872C 0023568C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80238730 00235690 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80238734 00235694 7C 08 03 A6 */ mtlr r0 /* 80238738 00235698 38 21 00 50 */ addi r1, r1, 0x50 /* 8023873C 0023569C 4E 80 00 20 */ blr .global sub_80238740 sub_80238740: /* 80238740 002356A0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80238744 002356A4 7C 08 02 A6 */ mflr r0 /* 80238748 002356A8 90 01 00 34 */ stw r0, 0x34(r1) /* 8023874C 002356AC 38 00 00 00 */ li r0, 0 /* 80238750 002356B0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80238754 002356B4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80238758 002356B8 7C 9E 23 78 */ mr r30, r4 /* 8023875C 002356BC 93 A1 00 24 */ stw r29, 0x24(r1) /* 80238760 002356C0 7C 7D 1B 78 */ mr r29, r3 /* 80238764 002356C4 7F C3 F3 78 */ mr r3, r30 /* 80238768 002356C8 80 84 00 0C */ lwz r4, 0xc(r4) /* 8023876C 002356CC 80 E5 00 00 */ lwz r7, 0(r5) /* 80238770 002356D0 90 C1 00 14 */ stw r6, 0x14(r1) /* 80238774 002356D4 7C A4 38 50 */ subf r5, r4, r7 /* 80238778 002356D8 54 A4 0F FE */ srwi r4, r5, 0x1f /* 8023877C 002356DC 90 C1 00 0C */ stw r6, 0xc(r1) /* 80238780 002356E0 7C A4 2A 14 */ add r5, r4, r5 /* 80238784 002356E4 38 C1 00 0C */ addi r6, r1, 0xc /* 80238788 002356E8 7C BF 0E 70 */ srawi r31, r5, 1 /* 8023878C 002356EC 90 01 00 18 */ stw r0, 0x18(r1) /* 80238790 002356F0 38 81 00 08 */ addi r4, r1, 8 /* 80238794 002356F4 38 A0 00 01 */ li r5, 1 /* 80238798 002356F8 90 01 00 10 */ stw r0, 0x10(r1) /* 8023879C 002356FC 90 E1 00 08 */ stw r7, 8(r1) /* 802387A0 00235700 48 00 00 31 */ bl sub_802387d0 /* 802387A4 00235704 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802387A8 00235708 57 E0 08 3C */ slwi r0, r31, 1 /* 802387AC 0023570C 7C 63 02 14 */ add r3, r3, r0 /* 802387B0 00235710 90 7D 00 00 */ stw r3, 0(r29) /* 802387B4 00235714 80 01 00 34 */ lwz r0, 0x34(r1) /* 802387B8 00235718 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802387BC 0023571C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802387C0 00235720 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802387C4 00235724 7C 08 03 A6 */ mtlr r0 /* 802387C8 00235728 38 21 00 30 */ addi r1, r1, 0x30 /* 802387CC 0023572C 4E 80 00 20 */ blr .global sub_802387d0 sub_802387d0: /* 802387D0 00235730 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802387D4 00235734 7C 08 02 A6 */ mflr r0 /* 802387D8 00235738 90 01 00 34 */ stw r0, 0x34(r1) /* 802387DC 0023573C BF 21 00 14 */ stmw r25, 0x14(r1) /* 802387E0 00235740 7C 7A 1B 78 */ mr r26, r3 /* 802387E4 00235744 7C BB 2B 78 */ mr r27, r5 /* 802387E8 00235748 7C 99 23 78 */ mr r25, r4 /* 802387EC 0023574C 81 03 00 04 */ lwz r8, 4(r3) /* 802387F0 00235750 80 63 00 08 */ lwz r3, 8(r3) /* 802387F4 00235754 7C 88 DA 14 */ add r4, r8, r27 /* 802387F8 00235758 80 FA 00 0C */ lwz r7, 0xc(r26) /* 802387FC 0023575C 7C 04 18 00 */ cmpw r4, r3 /* 80238800 00235760 83 C6 00 00 */ lwz r30, 0(r6) /* 80238804 00235764 7C FD 3B 78 */ mr r29, r7 /* 80238808 00235768 41 81 00 A0 */ bgt lbl_802388A8 /* 8023880C 0023576C 80 19 00 00 */ lwz r0, 0(r25) /* 80238810 00235770 57 64 08 3C */ slwi r4, r27, 1 /* 80238814 00235774 7C 67 00 50 */ subf r3, r7, r0 /* 80238818 00235778 54 60 0F FE */ srwi r0, r3, 0x1f /* 8023881C 0023577C 7C 00 1A 14 */ add r0, r0, r3 /* 80238820 00235780 7C 05 0E 70 */ srawi r5, r0, 1 /* 80238824 00235784 7C 65 40 50 */ subf r3, r5, r8 /* 80238828 00235788 35 03 FF FF */ addic. r8, r3, -1 /* 8023882C 0023578C 54 A0 08 3C */ slwi r0, r5, 1 /* 80238830 00235790 7C C7 02 14 */ add r6, r7, r0 /* 80238834 00235794 55 03 08 3C */ slwi r3, r8, 1 /* 80238838 00235798 38 08 00 01 */ addi r0, r8, 1 /* 8023883C 0023579C 7C 84 1A 14 */ add r4, r4, r3 /* 80238840 002357A0 7C 86 22 14 */ add r4, r6, r4 /* 80238844 002357A4 7C 09 03 A6 */ mtctr r0 /* 80238848 002357A8 41 80 00 2C */ blt lbl_80238874 lbl_8023884C: /* 8023884C 002357AC 28 04 00 00 */ cmplwi r4, 0 /* 80238850 002357B0 7C 05 42 14 */ add r0, r5, r8 /* 80238854 002357B4 80 7A 00 0C */ lwz r3, 0xc(r26) /* 80238858 002357B8 54 00 08 3C */ slwi r0, r0, 1 /* 8023885C 002357BC 41 82 00 0C */ beq lbl_80238868 /* 80238860 002357C0 7C 03 02 2E */ lhzx r0, r3, r0 /* 80238864 002357C4 B0 04 00 00 */ sth r0, 0(r4) lbl_80238868: /* 80238868 002357C8 38 84 FF FE */ addi r4, r4, -2 /* 8023886C 002357CC 39 08 FF FF */ addi r8, r8, -1 /* 80238870 002357D0 42 00 FF DC */ bdnz lbl_8023884C lbl_80238874: /* 80238874 002357D4 7F 69 03 A6 */ mtctr r27 /* 80238878 002357D8 2C 1B 00 00 */ cmpwi r27, 0 /* 8023887C 002357DC 40 81 00 1C */ ble lbl_80238898 lbl_80238880: /* 80238880 002357E0 28 06 00 00 */ cmplwi r6, 0 /* 80238884 002357E4 41 82 00 0C */ beq lbl_80238890 /* 80238888 002357E8 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023888C 002357EC B0 06 00 00 */ sth r0, 0(r6) lbl_80238890: /* 80238890 002357F0 38 C6 00 02 */ addi r6, r6, 2 /* 80238894 002357F4 42 00 FF EC */ bdnz lbl_80238880 lbl_80238898: /* 80238898 002357F8 80 1A 00 04 */ lwz r0, 4(r26) /* 8023889C 002357FC 7C 00 DA 14 */ add r0, r0, r27 /* 802388A0 00235800 90 1A 00 04 */ stw r0, 4(r26) /* 802388A4 00235804 48 00 01 4C */ b lbl_802389F0 lbl_802388A8: /* 802388A8 00235808 2C 03 00 00 */ cmpwi r3, 0 /* 802388AC 0023580C 38 00 00 04 */ li r0, 4 /* 802388B0 00235810 41 82 00 08 */ beq lbl_802388B8 /* 802388B4 00235814 54 60 08 3C */ slwi r0, r3, 1 lbl_802388B8: /* 802388B8 00235818 7C 1C 03 78 */ mr r28, r0 /* 802388BC 0023581C 48 00 00 08 */ b lbl_802388C4 lbl_802388C0: /* 802388C0 00235820 57 9C 08 3C */ slwi r28, r28, 1 lbl_802388C4: /* 802388C4 00235824 7C 1C 20 00 */ cmpw r28, r4 /* 802388C8 00235828 41 80 FF F8 */ blt lbl_802388C0 /* 802388CC 0023582C 57 83 08 3D */ rlwinm. r3, r28, 1, 0, 0x1e /* 802388D0 00235830 40 82 00 0C */ bne lbl_802388DC /* 802388D4 00235834 3B E0 00 00 */ li r31, 0 /* 802388D8 00235838 48 00 00 18 */ b lbl_802388F0 lbl_802388DC: /* 802388DC 0023583C 3C 80 80 3D */ lis r4, lbl_803D4380@ha /* 802388E0 00235840 38 A0 00 00 */ li r5, 0 /* 802388E4 00235844 38 84 43 80 */ addi r4, r4, lbl_803D4380@l /* 802388E8 00235848 48 0D CF 31 */ bl __nwa__FUlPCcPCc /* 802388EC 0023584C 7C 7F 1B 78 */ mr r31, r3 lbl_802388F0: /* 802388F0 00235850 80 7A 00 0C */ lwz r3, 0xc(r26) /* 802388F4 00235854 7F E6 FB 78 */ mr r6, r31 /* 802388F8 00235858 80 19 00 00 */ lwz r0, 0(r25) /* 802388FC 0023585C 38 E0 00 00 */ li r7, 0 /* 80238900 00235860 38 A0 00 00 */ li r5, 0 /* 80238904 00235864 7C 63 00 50 */ subf r3, r3, r0 /* 80238908 00235868 54 60 0F FE */ srwi r0, r3, 0x1f /* 8023890C 0023586C 7C 00 1A 14 */ add r0, r0, r3 /* 80238910 00235870 7C 04 0E 71 */ srawi. r4, r0, 1 /* 80238914 00235874 7C 89 03 A6 */ mtctr r4 /* 80238918 00235878 40 81 00 28 */ ble lbl_80238940 lbl_8023891C: /* 8023891C 0023587C 28 06 00 00 */ cmplwi r6, 0 /* 80238920 00235880 80 7A 00 0C */ lwz r3, 0xc(r26) /* 80238924 00235884 41 82 00 0C */ beq lbl_80238930 /* 80238928 00235888 7C 03 2A 2E */ lhzx r0, r3, r5 /* 8023892C 0023588C B0 06 00 00 */ sth r0, 0(r6) lbl_80238930: /* 80238930 00235890 38 C6 00 02 */ addi r6, r6, 2 /* 80238934 00235894 38 E7 00 01 */ addi r7, r7, 1 /* 80238938 00235898 38 A5 00 02 */ addi r5, r5, 2 /* 8023893C 0023589C 42 00 FF E0 */ bdnz lbl_8023891C lbl_80238940: /* 80238940 002358A0 54 E0 08 3C */ slwi r0, r7, 1 /* 80238944 002358A4 7C 7F 02 14 */ add r3, r31, r0 /* 80238948 002358A8 7F 69 03 A6 */ mtctr r27 /* 8023894C 002358AC 2C 1B 00 00 */ cmpwi r27, 0 /* 80238950 002358B0 40 81 00 20 */ ble lbl_80238970 lbl_80238954: /* 80238954 002358B4 28 03 00 00 */ cmplwi r3, 0 /* 80238958 002358B8 41 82 00 0C */ beq lbl_80238964 /* 8023895C 002358BC A0 1E 00 00 */ lhz r0, 0(r30) /* 80238960 002358C0 B0 03 00 00 */ sth r0, 0(r3) lbl_80238964: /* 80238964 002358C4 38 63 00 02 */ addi r3, r3, 2 /* 80238968 002358C8 38 E7 00 01 */ addi r7, r7, 1 /* 8023896C 002358CC 42 00 FF E8 */ bdnz lbl_80238954 lbl_80238970: /* 80238970 002358D0 54 E0 08 3C */ slwi r0, r7, 1 /* 80238974 002358D4 7C 86 23 78 */ mr r6, r4 /* 80238978 002358D8 54 84 08 3C */ slwi r4, r4, 1 /* 8023897C 002358DC 7C BF 02 14 */ add r5, r31, r0 /* 80238980 002358E0 48 00 00 24 */ b lbl_802389A4 lbl_80238984: /* 80238984 002358E4 28 05 00 00 */ cmplwi r5, 0 /* 80238988 002358E8 80 7A 00 0C */ lwz r3, 0xc(r26) /* 8023898C 002358EC 41 82 00 0C */ beq lbl_80238998 /* 80238990 002358F0 7C 03 22 2E */ lhzx r0, r3, r4 /* 80238994 002358F4 B0 05 00 00 */ sth r0, 0(r5) lbl_80238998: /* 80238998 002358F8 38 A5 00 02 */ addi r5, r5, 2 /* 8023899C 002358FC 38 84 00 02 */ addi r4, r4, 2 /* 802389A0 00235900 38 C6 00 01 */ addi r6, r6, 1 lbl_802389A4: /* 802389A4 00235904 80 1A 00 04 */ lwz r0, 4(r26) /* 802389A8 00235908 7C 06 00 00 */ cmpw r6, r0 /* 802389AC 0023590C 41 80 FF D8 */ blt lbl_80238984 /* 802389B0 00235910 54 00 08 3C */ slwi r0, r0, 1 /* 802389B4 00235914 7F A3 EB 78 */ mr r3, r29 /* 802389B8 00235918 7C 1D 02 14 */ add r0, r29, r0 /* 802389BC 0023591C 48 00 00 08 */ b lbl_802389C4 lbl_802389C0: /* 802389C0 00235920 38 63 00 02 */ addi r3, r3, 2 lbl_802389C4: /* 802389C4 00235924 7C 03 00 40 */ cmplw r3, r0 /* 802389C8 00235928 40 82 FF F8 */ bne lbl_802389C0 /* 802389CC 0023592C 80 7A 00 0C */ lwz r3, 0xc(r26) /* 802389D0 00235930 28 03 00 00 */ cmplwi r3, 0 /* 802389D4 00235934 41 82 00 08 */ beq lbl_802389DC /* 802389D8 00235938 48 0D CF 59 */ bl Free__7CMemoryFPCv lbl_802389DC: /* 802389DC 0023593C 93 FA 00 0C */ stw r31, 0xc(r26) /* 802389E0 00235940 93 9A 00 08 */ stw r28, 8(r26) /* 802389E4 00235944 80 1A 00 04 */ lwz r0, 4(r26) /* 802389E8 00235948 7C 00 DA 14 */ add r0, r0, r27 /* 802389EC 0023594C 90 1A 00 04 */ stw r0, 4(r26) lbl_802389F0: /* 802389F0 00235950 BB 21 00 14 */ lmw r25, 0x14(r1) /* 802389F4 00235954 80 01 00 34 */ lwz r0, 0x34(r1) /* 802389F8 00235958 7C 08 03 A6 */ mtlr r0 /* 802389FC 0023595C 38 21 00 30 */ addi r1, r1, 0x30 /* 80238A00 00235960 4E 80 00 20 */ blr .global CanAcceptProjectileAttacker__10CTeamAiMgrCF9TUniqueId CanAcceptProjectileAttacker__10CTeamAiMgrCF9TUniqueId: /* 80238A04 00235964 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80238A08 00235968 7C 08 02 A6 */ mflr r0 /* 80238A0C 0023596C 90 01 00 34 */ stw r0, 0x34(r1) /* 80238A10 00235970 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80238A14 00235974 7C 9F 23 78 */ mr r31, r4 /* 80238A18 00235978 93 C1 00 28 */ stw r30, 0x28(r1) /* 80238A1C 0023597C 7C 7E 1B 78 */ mr r30, r3 /* 80238A20 00235980 C0 23 00 94 */ lfs f1, 0x94(r3) /* 80238A24 00235984 C0 03 00 54 */ lfs f0, 0x54(r3) /* 80238A28 00235988 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80238A2C 0023598C 4C 41 13 82 */ cror 2, 1, 2 /* 80238A30 00235990 40 82 00 1C */ bne lbl_80238A4C /* 80238A34 00235994 80 7E 00 7C */ lwz r3, 0x7c(r30) /* 80238A38 00235998 80 1E 00 48 */ lwz r0, 0x48(r30) /* 80238A3C 0023599C 7C 03 00 40 */ cmplw r3, r0 /* 80238A40 002359A0 40 80 00 0C */ bge lbl_80238A4C /* 80238A44 002359A4 38 60 00 01 */ li r3, 1 /* 80238A48 002359A8 48 00 00 A0 */ b lbl_80238AE8 lbl_80238A4C: /* 80238A4C 002359AC 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 80238A50 002359B0 7F E6 FB 78 */ mr r6, r31 /* 80238A54 002359B4 80 FE 00 84 */ lwz r7, 0x84(r30) /* 80238A58 002359B8 38 61 00 0C */ addi r3, r1, 0xc /* 80238A5C 002359BC 54 00 08 3C */ slwi r0, r0, 1 /* 80238A60 002359C0 38 81 00 10 */ addi r4, r1, 0x10 /* 80238A64 002359C4 7C 07 02 14 */ add r0, r7, r0 /* 80238A68 002359C8 90 E1 00 20 */ stw r7, 0x20(r1) /* 80238A6C 002359CC 38 A1 00 14 */ addi r5, r1, 0x14 /* 80238A70 002359D0 90 01 00 18 */ stw r0, 0x18(r1) /* 80238A74 002359D4 90 01 00 1C */ stw r0, 0x1c(r1) /* 80238A78 002359D8 90 01 00 14 */ stw r0, 0x14(r1) /* 80238A7C 002359DC 90 E1 00 10 */ stw r7, 0x10(r1) /* 80238A80 002359E0 48 00 20 71 */ bl "lower_bound_const>" /* 80238A84 002359E4 80 A1 00 0C */ lwz r5, 0xc(r1) /* 80238A88 002359E8 38 80 00 00 */ li r4, 0 /* 80238A8C 002359EC 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80238A90 002359F0 90 A1 00 08 */ stw r5, 8(r1) /* 80238A94 002359F4 7C 05 00 40 */ cmplw r5, r0 /* 80238A98 002359F8 41 82 00 18 */ beq lbl_80238AB0 /* 80238A9C 002359FC A0 7F 00 00 */ lhz r3, 0(r31) /* 80238AA0 00235A00 A0 05 00 00 */ lhz r0, 0(r5) /* 80238AA4 00235A04 7C 03 00 40 */ cmplw r3, r0 /* 80238AA8 00235A08 41 80 00 08 */ blt lbl_80238AB0 /* 80238AAC 00235A0C 38 80 00 01 */ li r4, 1 lbl_80238AB0: /* 80238AB0 00235A10 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238AB4 00235A14 38 81 00 1C */ addi r4, r1, 0x1c /* 80238AB8 00235A18 41 82 00 08 */ beq lbl_80238AC0 /* 80238ABC 00235A1C 38 81 00 08 */ addi r4, r1, 8 lbl_80238AC0: /* 80238AC0 00235A20 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 80238AC4 00235A24 80 7E 00 84 */ lwz r3, 0x84(r30) /* 80238AC8 00235A28 54 00 08 3C */ slwi r0, r0, 1 /* 80238ACC 00235A2C 80 84 00 00 */ lwz r4, 0(r4) /* 80238AD0 00235A30 7C 03 02 14 */ add r0, r3, r0 /* 80238AD4 00235A34 7C 04 00 40 */ cmplw r4, r0 /* 80238AD8 00235A38 41 82 00 0C */ beq lbl_80238AE4 /* 80238ADC 00235A3C 38 60 00 01 */ li r3, 1 /* 80238AE0 00235A40 48 00 00 08 */ b lbl_80238AE8 lbl_80238AE4: /* 80238AE4 00235A44 38 60 00 00 */ li r3, 0 lbl_80238AE8: /* 80238AE8 00235A48 80 01 00 34 */ lwz r0, 0x34(r1) /* 80238AEC 00235A4C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80238AF0 00235A50 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80238AF4 00235A54 7C 08 03 A6 */ mtlr r0 /* 80238AF8 00235A58 38 21 00 30 */ addi r1, r1, 0x30 /* 80238AFC 00235A5C 4E 80 00 20 */ blr .global IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId: /* 80238B00 00235A60 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80238B04 00235A64 7C 08 02 A6 */ mflr r0 /* 80238B08 00235A68 90 01 00 34 */ stw r0, 0x34(r1) /* 80238B0C 00235A6C 38 A1 00 14 */ addi r5, r1, 0x14 /* 80238B10 00235A70 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80238B14 00235A74 7C 9F 23 78 */ mr r31, r4 /* 80238B18 00235A78 7F E6 FB 78 */ mr r6, r31 /* 80238B1C 00235A7C 38 81 00 10 */ addi r4, r1, 0x10 /* 80238B20 00235A80 93 C1 00 28 */ stw r30, 0x28(r1) /* 80238B24 00235A84 7C 7E 1B 78 */ mr r30, r3 /* 80238B28 00235A88 80 03 00 7C */ lwz r0, 0x7c(r3) /* 80238B2C 00235A8C 80 E3 00 84 */ lwz r7, 0x84(r3) /* 80238B30 00235A90 38 61 00 0C */ addi r3, r1, 0xc /* 80238B34 00235A94 54 00 08 3C */ slwi r0, r0, 1 /* 80238B38 00235A98 7C 07 02 14 */ add r0, r7, r0 /* 80238B3C 00235A9C 90 E1 00 20 */ stw r7, 0x20(r1) /* 80238B40 00235AA0 90 01 00 18 */ stw r0, 0x18(r1) /* 80238B44 00235AA4 90 01 00 1C */ stw r0, 0x1c(r1) /* 80238B48 00235AA8 90 01 00 14 */ stw r0, 0x14(r1) /* 80238B4C 00235AAC 90 E1 00 10 */ stw r7, 0x10(r1) /* 80238B50 00235AB0 48 00 1F A1 */ bl "lower_bound_const>" /* 80238B54 00235AB4 80 A1 00 0C */ lwz r5, 0xc(r1) /* 80238B58 00235AB8 38 80 00 00 */ li r4, 0 /* 80238B5C 00235ABC 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80238B60 00235AC0 90 A1 00 08 */ stw r5, 8(r1) /* 80238B64 00235AC4 7C 05 00 40 */ cmplw r5, r0 /* 80238B68 00235AC8 41 82 00 18 */ beq lbl_80238B80 /* 80238B6C 00235ACC A0 7F 00 00 */ lhz r3, 0(r31) /* 80238B70 00235AD0 A0 05 00 00 */ lhz r0, 0(r5) /* 80238B74 00235AD4 7C 03 00 40 */ cmplw r3, r0 /* 80238B78 00235AD8 41 80 00 08 */ blt lbl_80238B80 /* 80238B7C 00235ADC 38 80 00 01 */ li r4, 1 lbl_80238B80: /* 80238B80 00235AE0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238B84 00235AE4 38 81 00 1C */ addi r4, r1, 0x1c /* 80238B88 00235AE8 41 82 00 08 */ beq lbl_80238B90 /* 80238B8C 00235AEC 38 81 00 08 */ addi r4, r1, 8 lbl_80238B90: /* 80238B90 00235AF0 80 1E 00 7C */ lwz r0, 0x7c(r30) /* 80238B94 00235AF4 80 7E 00 84 */ lwz r3, 0x84(r30) /* 80238B98 00235AF8 54 00 08 3C */ slwi r0, r0, 1 /* 80238B9C 00235AFC 80 84 00 00 */ lwz r4, 0(r4) /* 80238BA0 00235B00 7C 03 02 14 */ add r0, r3, r0 /* 80238BA4 00235B04 7C 64 00 50 */ subf r3, r4, r0 /* 80238BA8 00235B08 7C 00 20 50 */ subf r0, r0, r4 /* 80238BAC 00235B0C 7C 60 03 78 */ or r0, r3, r0 /* 80238BB0 00235B10 54 03 0F FE */ srwi r3, r0, 0x1f /* 80238BB4 00235B14 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80238BB8 00235B18 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80238BBC 00235B1C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80238BC0 00235B20 7C 08 03 A6 */ mtlr r0 /* 80238BC4 00235B24 38 21 00 30 */ addi r1, r1, 0x30 /* 80238BC8 00235B28 4E 80 00 20 */ blr .global RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId: /* 80238BCC 00235B2C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80238BD0 00235B30 7C 08 02 A6 */ mflr r0 /* 80238BD4 00235B34 90 01 00 44 */ stw r0, 0x44(r1) /* 80238BD8 00235B38 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80238BDC 00235B3C 7C 7F 1B 78 */ mr r31, r3 /* 80238BE0 00235B40 93 C1 00 38 */ stw r30, 0x38(r1) /* 80238BE4 00235B44 7C 9E 23 78 */ mr r30, r4 /* 80238BE8 00235B48 7F C6 F3 78 */ mr r6, r30 /* 80238BEC 00235B4C 38 81 00 10 */ addi r4, r1, 0x10 /* 80238BF0 00235B50 80 03 00 6C */ lwz r0, 0x6c(r3) /* 80238BF4 00235B54 80 A3 00 74 */ lwz r5, 0x74(r3) /* 80238BF8 00235B58 38 61 00 0C */ addi r3, r1, 0xc /* 80238BFC 00235B5C 54 00 08 3C */ slwi r0, r0, 1 /* 80238C00 00235B60 7C E5 02 14 */ add r7, r5, r0 /* 80238C04 00235B64 38 A1 00 14 */ addi r5, r1, 0x14 /* 80238C08 00235B68 90 E1 00 24 */ stw r7, 0x24(r1) /* 80238C0C 00235B6C 80 1F 00 74 */ lwz r0, 0x74(r31) /* 80238C10 00235B70 90 E1 00 20 */ stw r7, 0x20(r1) /* 80238C14 00235B74 90 01 00 28 */ stw r0, 0x28(r1) /* 80238C18 00235B78 90 E1 00 14 */ stw r7, 0x14(r1) /* 80238C1C 00235B7C 90 01 00 10 */ stw r0, 0x10(r1) /* 80238C20 00235B80 48 00 1F 91 */ bl "lower_bound>" /* 80238C24 00235B84 80 A1 00 0C */ lwz r5, 0xc(r1) /* 80238C28 00235B88 38 80 00 00 */ li r4, 0 /* 80238C2C 00235B8C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80238C30 00235B90 90 A1 00 08 */ stw r5, 8(r1) /* 80238C34 00235B94 7C 05 00 40 */ cmplw r5, r0 /* 80238C38 00235B98 41 82 00 18 */ beq lbl_80238C50 /* 80238C3C 00235B9C A0 7E 00 00 */ lhz r3, 0(r30) /* 80238C40 00235BA0 A0 05 00 00 */ lhz r0, 0(r5) /* 80238C44 00235BA4 7C 03 00 40 */ cmplw r3, r0 /* 80238C48 00235BA8 41 80 00 08 */ blt lbl_80238C50 /* 80238C4C 00235BAC 38 80 00 01 */ li r4, 1 lbl_80238C50: /* 80238C50 00235BB0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238C54 00235BB4 38 81 00 24 */ addi r4, r1, 0x24 /* 80238C58 00235BB8 41 82 00 08 */ beq lbl_80238C60 /* 80238C5C 00235BBC 38 81 00 08 */ addi r4, r1, 8 lbl_80238C60: /* 80238C60 00235BC0 80 1F 00 6C */ lwz r0, 0x6c(r31) /* 80238C64 00235BC4 80 7F 00 74 */ lwz r3, 0x74(r31) /* 80238C68 00235BC8 54 00 08 3C */ slwi r0, r0, 1 /* 80238C6C 00235BCC 80 84 00 00 */ lwz r4, 0(r4) /* 80238C70 00235BD0 7C 03 02 14 */ add r0, r3, r0 /* 80238C74 00235BD4 7C 04 00 40 */ cmplw r4, r0 /* 80238C78 00235BD8 90 81 00 2C */ stw r4, 0x2c(r1) /* 80238C7C 00235BDC 41 82 00 18 */ beq lbl_80238C94 /* 80238C80 00235BE0 90 81 00 18 */ stw r4, 0x18(r1) /* 80238C84 00235BE4 38 61 00 1C */ addi r3, r1, 0x1c /* 80238C88 00235BE8 38 9F 00 68 */ addi r4, r31, 0x68 /* 80238C8C 00235BEC 38 A1 00 18 */ addi r5, r1, 0x18 /* 80238C90 00235BF0 4B DD 25 C9 */ bl "find,Q24rstl17rmemory_allocator>,9TUniqueId>__4rstlFQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC9TUniqueId" lbl_80238C94: /* 80238C94 00235BF4 80 01 00 44 */ lwz r0, 0x44(r1) /* 80238C98 00235BF8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80238C9C 00235BFC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80238CA0 00235C00 7C 08 03 A6 */ mtlr r0 /* 80238CA4 00235C04 38 21 00 40 */ addi r1, r1, 0x40 /* 80238CA8 00235C08 4E 80 00 20 */ blr .global AddMeleeAttacker__10CTeamAiMgrF9TUniqueId AddMeleeAttacker__10CTeamAiMgrF9TUniqueId: /* 80238CAC 00235C0C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80238CB0 00235C10 7C 08 02 A6 */ mflr r0 /* 80238CB4 00235C14 90 01 00 54 */ stw r0, 0x54(r1) /* 80238CB8 00235C18 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80238CBC 00235C1C 7C 9F 23 78 */ mr r31, r4 /* 80238CC0 00235C20 93 C1 00 48 */ stw r30, 0x48(r1) /* 80238CC4 00235C24 7C 7E 1B 78 */ mr r30, r3 /* 80238CC8 00235C28 C0 23 00 90 */ lfs f1, 0x90(r3) /* 80238CCC 00235C2C C0 03 00 50 */ lfs f0, 0x50(r3) /* 80238CD0 00235C30 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80238CD4 00235C34 4C 41 13 82 */ cror 2, 1, 2 /* 80238CD8 00235C38 40 82 01 34 */ bne lbl_80238E0C /* 80238CDC 00235C3C 80 9E 00 6C */ lwz r4, 0x6c(r30) /* 80238CE0 00235C40 80 1E 00 44 */ lwz r0, 0x44(r30) /* 80238CE4 00235C44 7C 04 00 40 */ cmplw r4, r0 /* 80238CE8 00235C48 40 80 01 24 */ bge lbl_80238E0C /* 80238CEC 00235C4C A0 1F 00 00 */ lhz r0, 0(r31) /* 80238CF0 00235C50 38 81 00 08 */ addi r4, r1, 8 /* 80238CF4 00235C54 B0 01 00 08 */ sth r0, 8(r1) /* 80238CF8 00235C58 48 00 04 0D */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 80238CFC 00235C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80238D00 00235C60 41 82 01 0C */ beq lbl_80238E0C /* 80238D04 00235C64 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80238D08 00235C68 7F E6 FB 78 */ mr r6, r31 /* 80238D0C 00235C6C 80 BE 00 74 */ lwz r5, 0x74(r30) /* 80238D10 00235C70 38 61 00 10 */ addi r3, r1, 0x10 /* 80238D14 00235C74 54 00 08 3C */ slwi r0, r0, 1 /* 80238D18 00235C78 38 81 00 14 */ addi r4, r1, 0x14 /* 80238D1C 00235C7C 7C E5 02 14 */ add r7, r5, r0 /* 80238D20 00235C80 38 A1 00 18 */ addi r5, r1, 0x18 /* 80238D24 00235C84 90 E1 00 3C */ stw r7, 0x3c(r1) /* 80238D28 00235C88 80 1E 00 74 */ lwz r0, 0x74(r30) /* 80238D2C 00235C8C 90 E1 00 38 */ stw r7, 0x38(r1) /* 80238D30 00235C90 90 01 00 40 */ stw r0, 0x40(r1) /* 80238D34 00235C94 90 E1 00 18 */ stw r7, 0x18(r1) /* 80238D38 00235C98 90 01 00 14 */ stw r0, 0x14(r1) /* 80238D3C 00235C9C 48 00 1E 75 */ bl "lower_bound>" /* 80238D40 00235CA0 80 A1 00 10 */ lwz r5, 0x10(r1) /* 80238D44 00235CA4 38 80 00 00 */ li r4, 0 /* 80238D48 00235CA8 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80238D4C 00235CAC 90 A1 00 0C */ stw r5, 0xc(r1) /* 80238D50 00235CB0 7C 05 00 40 */ cmplw r5, r0 /* 80238D54 00235CB4 41 82 00 18 */ beq lbl_80238D6C /* 80238D58 00235CB8 A0 7F 00 00 */ lhz r3, 0(r31) /* 80238D5C 00235CBC A0 05 00 00 */ lhz r0, 0(r5) /* 80238D60 00235CC0 7C 03 00 40 */ cmplw r3, r0 /* 80238D64 00235CC4 41 80 00 08 */ blt lbl_80238D6C /* 80238D68 00235CC8 38 80 00 01 */ li r4, 1 lbl_80238D6C: /* 80238D6C 00235CCC 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238D70 00235CD0 38 A1 00 3C */ addi r5, r1, 0x3c /* 80238D74 00235CD4 41 82 00 08 */ beq lbl_80238D7C /* 80238D78 00235CD8 38 A1 00 0C */ addi r5, r1, 0xc lbl_80238D7C: /* 80238D7C 00235CDC 80 DE 00 6C */ lwz r6, 0x6c(r30) /* 80238D80 00235CE0 80 9E 00 74 */ lwz r4, 0x74(r30) /* 80238D84 00235CE4 54 C3 08 3C */ slwi r3, r6, 1 /* 80238D88 00235CE8 80 05 00 00 */ lwz r0, 0(r5) /* 80238D8C 00235CEC 7C 64 1A 14 */ add r3, r4, r3 /* 80238D90 00235CF0 7C 00 18 40 */ cmplw r0, r3 /* 80238D94 00235CF4 40 82 00 70 */ bne lbl_80238E04 /* 80238D98 00235CF8 38 7E 00 68 */ addi r3, r30, 0x68 /* 80238D9C 00235CFC 38 86 00 01 */ addi r4, r6, 1 /* 80238DA0 00235D00 4B DD 36 69 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" /* 80238DA4 00235D04 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80238DA8 00235D08 7F E6 FB 78 */ mr r6, r31 /* 80238DAC 00235D0C 80 BE 00 74 */ lwz r5, 0x74(r30) /* 80238DB0 00235D10 38 61 00 34 */ addi r3, r1, 0x34 /* 80238DB4 00235D14 54 00 08 3C */ slwi r0, r0, 1 /* 80238DB8 00235D18 38 81 00 30 */ addi r4, r1, 0x30 /* 80238DBC 00235D1C 7C E5 02 14 */ add r7, r5, r0 /* 80238DC0 00235D20 38 A1 00 28 */ addi r5, r1, 0x28 /* 80238DC4 00235D24 90 E1 00 28 */ stw r7, 0x28(r1) /* 80238DC8 00235D28 80 1E 00 74 */ lwz r0, 0x74(r30) /* 80238DCC 00235D2C 90 E1 00 24 */ stw r7, 0x24(r1) /* 80238DD0 00235D30 90 01 00 2C */ stw r0, 0x2c(r1) /* 80238DD4 00235D34 90 01 00 30 */ stw r0, 0x30(r1) /* 80238DD8 00235D38 48 00 1D D9 */ bl "lower_bound>" /* 80238DDC 00235D3C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80238DE0 00235D40 7F E6 FB 78 */ mr r6, r31 /* 80238DE4 00235D44 38 61 00 20 */ addi r3, r1, 0x20 /* 80238DE8 00235D48 38 9E 00 68 */ addi r4, r30, 0x68 /* 80238DEC 00235D4C 90 01 00 44 */ stw r0, 0x44(r1) /* 80238DF0 00235D50 38 A1 00 1C */ addi r5, r1, 0x1c /* 80238DF4 00235D54 90 01 00 1C */ stw r0, 0x1c(r1) /* 80238DF8 00235D58 4B FF F9 49 */ bl sub_80238740 /* 80238DFC 00235D5C C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2) /* 80238E00 00235D60 D0 1E 00 90 */ stfs f0, 0x90(r30) lbl_80238E04: /* 80238E04 00235D64 38 60 00 01 */ li r3, 1 /* 80238E08 00235D68 48 00 00 08 */ b lbl_80238E10 lbl_80238E0C: /* 80238E0C 00235D6C 38 60 00 00 */ li r3, 0 lbl_80238E10: /* 80238E10 00235D70 80 01 00 54 */ lwz r0, 0x54(r1) /* 80238E14 00235D74 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80238E18 00235D78 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80238E1C 00235D7C 7C 08 03 A6 */ mtlr r0 /* 80238E20 00235D80 38 21 00 50 */ addi r1, r1, 0x50 /* 80238E24 00235D84 4E 80 00 20 */ blr .global CanAcceptMeleeAttacker__10CTeamAiMgrCF9TUniqueId CanAcceptMeleeAttacker__10CTeamAiMgrCF9TUniqueId: /* 80238E28 00235D88 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80238E2C 00235D8C 7C 08 02 A6 */ mflr r0 /* 80238E30 00235D90 90 01 00 34 */ stw r0, 0x34(r1) /* 80238E34 00235D94 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80238E38 00235D98 7C 9F 23 78 */ mr r31, r4 /* 80238E3C 00235D9C 93 C1 00 28 */ stw r30, 0x28(r1) /* 80238E40 00235DA0 7C 7E 1B 78 */ mr r30, r3 /* 80238E44 00235DA4 C0 23 00 90 */ lfs f1, 0x90(r3) /* 80238E48 00235DA8 C0 03 00 50 */ lfs f0, 0x50(r3) /* 80238E4C 00235DAC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80238E50 00235DB0 4C 41 13 82 */ cror 2, 1, 2 /* 80238E54 00235DB4 40 82 00 1C */ bne lbl_80238E70 /* 80238E58 00235DB8 80 7E 00 6C */ lwz r3, 0x6c(r30) /* 80238E5C 00235DBC 80 1E 00 44 */ lwz r0, 0x44(r30) /* 80238E60 00235DC0 7C 03 00 40 */ cmplw r3, r0 /* 80238E64 00235DC4 40 80 00 0C */ bge lbl_80238E70 /* 80238E68 00235DC8 38 60 00 01 */ li r3, 1 /* 80238E6C 00235DCC 48 00 00 A0 */ b lbl_80238F0C lbl_80238E70: /* 80238E70 00235DD0 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80238E74 00235DD4 7F E6 FB 78 */ mr r6, r31 /* 80238E78 00235DD8 80 FE 00 74 */ lwz r7, 0x74(r30) /* 80238E7C 00235DDC 38 61 00 0C */ addi r3, r1, 0xc /* 80238E80 00235DE0 54 00 08 3C */ slwi r0, r0, 1 /* 80238E84 00235DE4 38 81 00 10 */ addi r4, r1, 0x10 /* 80238E88 00235DE8 7C 07 02 14 */ add r0, r7, r0 /* 80238E8C 00235DEC 90 E1 00 20 */ stw r7, 0x20(r1) /* 80238E90 00235DF0 38 A1 00 14 */ addi r5, r1, 0x14 /* 80238E94 00235DF4 90 01 00 18 */ stw r0, 0x18(r1) /* 80238E98 00235DF8 90 01 00 1C */ stw r0, 0x1c(r1) /* 80238E9C 00235DFC 90 01 00 14 */ stw r0, 0x14(r1) /* 80238EA0 00235E00 90 E1 00 10 */ stw r7, 0x10(r1) /* 80238EA4 00235E04 48 00 1C 4D */ bl "lower_bound_const>" /* 80238EA8 00235E08 80 A1 00 0C */ lwz r5, 0xc(r1) /* 80238EAC 00235E0C 38 80 00 00 */ li r4, 0 /* 80238EB0 00235E10 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80238EB4 00235E14 90 A1 00 08 */ stw r5, 8(r1) /* 80238EB8 00235E18 7C 05 00 40 */ cmplw r5, r0 /* 80238EBC 00235E1C 41 82 00 18 */ beq lbl_80238ED4 /* 80238EC0 00235E20 A0 7F 00 00 */ lhz r3, 0(r31) /* 80238EC4 00235E24 A0 05 00 00 */ lhz r0, 0(r5) /* 80238EC8 00235E28 7C 03 00 40 */ cmplw r3, r0 /* 80238ECC 00235E2C 41 80 00 08 */ blt lbl_80238ED4 /* 80238ED0 00235E30 38 80 00 01 */ li r4, 1 lbl_80238ED4: /* 80238ED4 00235E34 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238ED8 00235E38 38 81 00 1C */ addi r4, r1, 0x1c /* 80238EDC 00235E3C 41 82 00 08 */ beq lbl_80238EE4 /* 80238EE0 00235E40 38 81 00 08 */ addi r4, r1, 8 lbl_80238EE4: /* 80238EE4 00235E44 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80238EE8 00235E48 80 7E 00 74 */ lwz r3, 0x74(r30) /* 80238EEC 00235E4C 54 00 08 3C */ slwi r0, r0, 1 /* 80238EF0 00235E50 80 84 00 00 */ lwz r4, 0(r4) /* 80238EF4 00235E54 7C 03 02 14 */ add r0, r3, r0 /* 80238EF8 00235E58 7C 04 00 40 */ cmplw r4, r0 /* 80238EFC 00235E5C 41 82 00 0C */ beq lbl_80238F08 /* 80238F00 00235E60 38 60 00 01 */ li r3, 1 /* 80238F04 00235E64 48 00 00 08 */ b lbl_80238F0C lbl_80238F08: /* 80238F08 00235E68 38 60 00 00 */ li r3, 0 lbl_80238F0C: /* 80238F0C 00235E6C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80238F10 00235E70 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80238F14 00235E74 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80238F18 00235E78 7C 08 03 A6 */ mtlr r0 /* 80238F1C 00235E7C 38 21 00 30 */ addi r1, r1, 0x30 /* 80238F20 00235E80 4E 80 00 20 */ blr .global IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId: /* 80238F24 00235E84 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80238F28 00235E88 7C 08 02 A6 */ mflr r0 /* 80238F2C 00235E8C 90 01 00 34 */ stw r0, 0x34(r1) /* 80238F30 00235E90 38 A1 00 14 */ addi r5, r1, 0x14 /* 80238F34 00235E94 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80238F38 00235E98 7C 9F 23 78 */ mr r31, r4 /* 80238F3C 00235E9C 7F E6 FB 78 */ mr r6, r31 /* 80238F40 00235EA0 38 81 00 10 */ addi r4, r1, 0x10 /* 80238F44 00235EA4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80238F48 00235EA8 7C 7E 1B 78 */ mr r30, r3 /* 80238F4C 00235EAC 80 03 00 6C */ lwz r0, 0x6c(r3) /* 80238F50 00235EB0 80 E3 00 74 */ lwz r7, 0x74(r3) /* 80238F54 00235EB4 38 61 00 0C */ addi r3, r1, 0xc /* 80238F58 00235EB8 54 00 08 3C */ slwi r0, r0, 1 /* 80238F5C 00235EBC 7C 07 02 14 */ add r0, r7, r0 /* 80238F60 00235EC0 90 E1 00 20 */ stw r7, 0x20(r1) /* 80238F64 00235EC4 90 01 00 18 */ stw r0, 0x18(r1) /* 80238F68 00235EC8 90 01 00 1C */ stw r0, 0x1c(r1) /* 80238F6C 00235ECC 90 01 00 14 */ stw r0, 0x14(r1) /* 80238F70 00235ED0 90 E1 00 10 */ stw r7, 0x10(r1) /* 80238F74 00235ED4 48 00 1B 7D */ bl "lower_bound_const>" /* 80238F78 00235ED8 80 A1 00 0C */ lwz r5, 0xc(r1) /* 80238F7C 00235EDC 38 80 00 00 */ li r4, 0 /* 80238F80 00235EE0 80 01 00 1C */ lwz r0, 0x1c(r1) /* 80238F84 00235EE4 90 A1 00 08 */ stw r5, 8(r1) /* 80238F88 00235EE8 7C 05 00 40 */ cmplw r5, r0 /* 80238F8C 00235EEC 41 82 00 18 */ beq lbl_80238FA4 /* 80238F90 00235EF0 A0 7F 00 00 */ lhz r3, 0(r31) /* 80238F94 00235EF4 A0 05 00 00 */ lhz r0, 0(r5) /* 80238F98 00235EF8 7C 03 00 40 */ cmplw r3, r0 /* 80238F9C 00235EFC 41 80 00 08 */ blt lbl_80238FA4 /* 80238FA0 00235F00 38 80 00 01 */ li r4, 1 lbl_80238FA4: /* 80238FA4 00235F04 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80238FA8 00235F08 38 81 00 1C */ addi r4, r1, 0x1c /* 80238FAC 00235F0C 41 82 00 08 */ beq lbl_80238FB4 /* 80238FB0 00235F10 38 81 00 08 */ addi r4, r1, 8 lbl_80238FB4: /* 80238FB4 00235F14 80 1E 00 6C */ lwz r0, 0x6c(r30) /* 80238FB8 00235F18 80 7E 00 74 */ lwz r3, 0x74(r30) /* 80238FBC 00235F1C 54 00 08 3C */ slwi r0, r0, 1 /* 80238FC0 00235F20 80 84 00 00 */ lwz r4, 0(r4) /* 80238FC4 00235F24 7C 03 02 14 */ add r0, r3, r0 /* 80238FC8 00235F28 7C 64 00 50 */ subf r3, r4, r0 /* 80238FCC 00235F2C 7C 00 20 50 */ subf r0, r0, r4 /* 80238FD0 00235F30 7C 60 03 78 */ or r0, r3, r0 /* 80238FD4 00235F34 54 03 0F FE */ srwi r3, r0, 0x1f /* 80238FD8 00235F38 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80238FDC 00235F3C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80238FE0 00235F40 80 01 00 34 */ lwz r0, 0x34(r1) /* 80238FE4 00235F44 7C 08 03 A6 */ mtlr r0 /* 80238FE8 00235F48 38 21 00 30 */ addi r1, r1, 0x30 /* 80238FEC 00235F4C 4E 80 00 20 */ blr .global IsPartOfTeam__10CTeamAiMgrCF9TUniqueId IsPartOfTeam__10CTeamAiMgrCF9TUniqueId: /* 80238FF0 00235F50 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80238FF4 00235F54 7C 08 02 A6 */ mflr r0 /* 80238FF8 00235F58 39 20 FF FF */ li r9, -1 /* 80238FFC 00235F5C 39 00 00 00 */ li r8, 0 /* 80239000 00235F60 90 01 00 64 */ stw r0, 0x64(r1) /* 80239004 00235F64 38 C1 00 28 */ addi r6, r1, 0x28 /* 80239008 00235F68 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8023900C 00235F6C 7C 7F 1B 78 */ mr r31, r3 /* 80239010 00235F70 80 03 00 5C */ lwz r0, 0x5c(r3) /* 80239014 00235F74 3C 60 80 5A */ lis r3, skZero3f@ha /* 80239018 00235F78 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 8023901C 00235F7C A1 44 00 00 */ lhz r10, 0(r4) /* 80239020 00235F80 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239024 00235F84 80 FF 00 64 */ lwz r7, 0x64(r31) /* 80239028 00235F88 C0 45 00 00 */ lfs f2, 0(r5) /* 8023902C 00235F8C 38 61 00 10 */ addi r3, r1, 0x10 /* 80239030 00235F90 C0 25 00 04 */ lfs f1, 4(r5) /* 80239034 00235F94 38 81 00 14 */ addi r4, r1, 0x14 /* 80239038 00235F98 7C 07 02 14 */ add r0, r7, r0 /* 8023903C 00235F9C C0 05 00 08 */ lfs f0, 8(r5) /* 80239040 00235FA0 B1 41 00 08 */ sth r10, 8(r1) /* 80239044 00235FA4 38 A1 00 18 */ addi r5, r1, 0x18 /* 80239048 00235FA8 B1 41 00 28 */ sth r10, 0x28(r1) /* 8023904C 00235FAC 91 21 00 2C */ stw r9, 0x2c(r1) /* 80239050 00235FB0 91 21 00 30 */ stw r9, 0x30(r1) /* 80239054 00235FB4 91 21 00 34 */ stw r9, 0x34(r1) /* 80239058 00235FB8 91 21 00 38 */ stw r9, 0x38(r1) /* 8023905C 00235FBC 91 21 00 3C */ stw r9, 0x3c(r1) /* 80239060 00235FC0 91 01 00 40 */ stw r8, 0x40(r1) /* 80239064 00235FC4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 80239068 00235FC8 D0 21 00 48 */ stfs f1, 0x48(r1) /* 8023906C 00235FCC D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80239070 00235FD0 90 01 00 1C */ stw r0, 0x1c(r1) /* 80239074 00235FD4 90 01 00 20 */ stw r0, 0x20(r1) /* 80239078 00235FD8 90 E1 00 24 */ stw r7, 0x24(r1) /* 8023907C 00235FDC 90 01 00 18 */ stw r0, 0x18(r1) /* 80239080 00235FE0 90 E1 00 14 */ stw r7, 0x14(r1) /* 80239084 00235FE4 48 00 19 A5 */ bl "lower_bound_const8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole" /* 80239088 00235FE8 80 A1 00 10 */ lwz r5, 0x10(r1) /* 8023908C 00235FEC 38 80 00 00 */ li r4, 0 /* 80239090 00235FF0 80 01 00 20 */ lwz r0, 0x20(r1) /* 80239094 00235FF4 90 A1 00 0C */ stw r5, 0xc(r1) /* 80239098 00235FF8 7C 05 00 40 */ cmplw r5, r0 /* 8023909C 00235FFC 41 82 00 20 */ beq lbl_802390BC /* 802390A0 00236000 A0 61 00 28 */ lhz r3, 0x28(r1) /* 802390A4 00236004 A0 05 00 00 */ lhz r0, 0(r5) /* 802390A8 00236008 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 802390AC 0023600C 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 802390B0 00236010 7C 03 00 40 */ cmplw r3, r0 /* 802390B4 00236014 41 80 00 08 */ blt lbl_802390BC /* 802390B8 00236018 38 80 00 01 */ li r4, 1 lbl_802390BC: /* 802390BC 0023601C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802390C0 00236020 38 81 00 20 */ addi r4, r1, 0x20 /* 802390C4 00236024 41 82 00 08 */ beq lbl_802390CC /* 802390C8 00236028 38 81 00 0C */ addi r4, r1, 0xc lbl_802390CC: /* 802390CC 0023602C 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802390D0 00236030 80 7F 00 64 */ lwz r3, 0x64(r31) /* 802390D4 00236034 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802390D8 00236038 80 84 00 00 */ lwz r4, 0(r4) /* 802390DC 0023603C 7C 03 02 14 */ add r0, r3, r0 /* 802390E0 00236040 7C 64 00 50 */ subf r3, r4, r0 /* 802390E4 00236044 7C 00 20 50 */ subf r0, r0, r4 /* 802390E8 00236048 7C 60 03 78 */ or r0, r3, r0 /* 802390EC 0023604C 54 03 0F FE */ srwi r3, r0, 0x1f /* 802390F0 00236050 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 802390F4 00236054 80 01 00 64 */ lwz r0, 0x64(r1) /* 802390F8 00236058 7C 08 03 A6 */ mtlr r0 /* 802390FC 0023605C 38 21 00 60 */ addi r1, r1, 0x60 /* 80239100 00236060 4E 80 00 20 */ blr .global HasTeamAiRole__10CTeamAiMgrCF9TUniqueId HasTeamAiRole__10CTeamAiMgrCF9TUniqueId: /* 80239104 00236064 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80239108 00236068 7C 08 02 A6 */ mflr r0 /* 8023910C 0023606C 39 20 FF FF */ li r9, -1 /* 80239110 00236070 39 00 00 00 */ li r8, 0 /* 80239114 00236074 90 01 00 64 */ stw r0, 0x64(r1) /* 80239118 00236078 38 C1 00 28 */ addi r6, r1, 0x28 /* 8023911C 0023607C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80239120 00236080 7C 7F 1B 78 */ mr r31, r3 /* 80239124 00236084 80 03 00 5C */ lwz r0, 0x5c(r3) /* 80239128 00236088 3C 60 80 5A */ lis r3, skZero3f@ha /* 8023912C 0023608C 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80239130 00236090 A1 44 00 00 */ lhz r10, 0(r4) /* 80239134 00236094 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239138 00236098 80 FF 00 64 */ lwz r7, 0x64(r31) /* 8023913C 0023609C C0 45 00 00 */ lfs f2, 0(r5) /* 80239140 002360A0 38 61 00 10 */ addi r3, r1, 0x10 /* 80239144 002360A4 C0 25 00 04 */ lfs f1, 4(r5) /* 80239148 002360A8 38 81 00 14 */ addi r4, r1, 0x14 /* 8023914C 002360AC 7C 07 02 14 */ add r0, r7, r0 /* 80239150 002360B0 C0 05 00 08 */ lfs f0, 8(r5) /* 80239154 002360B4 B1 41 00 08 */ sth r10, 8(r1) /* 80239158 002360B8 38 A1 00 18 */ addi r5, r1, 0x18 /* 8023915C 002360BC B1 41 00 28 */ sth r10, 0x28(r1) /* 80239160 002360C0 91 21 00 2C */ stw r9, 0x2c(r1) /* 80239164 002360C4 91 21 00 30 */ stw r9, 0x30(r1) /* 80239168 002360C8 91 21 00 34 */ stw r9, 0x34(r1) /* 8023916C 002360CC 91 21 00 38 */ stw r9, 0x38(r1) /* 80239170 002360D0 91 21 00 3C */ stw r9, 0x3c(r1) /* 80239174 002360D4 91 01 00 40 */ stw r8, 0x40(r1) /* 80239178 002360D8 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8023917C 002360DC D0 21 00 48 */ stfs f1, 0x48(r1) /* 80239180 002360E0 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 80239184 002360E4 90 01 00 1C */ stw r0, 0x1c(r1) /* 80239188 002360E8 90 01 00 20 */ stw r0, 0x20(r1) /* 8023918C 002360EC 90 E1 00 24 */ stw r7, 0x24(r1) /* 80239190 002360F0 90 01 00 18 */ stw r0, 0x18(r1) /* 80239194 002360F4 90 E1 00 14 */ stw r7, 0x14(r1) /* 80239198 002360F8 48 00 18 91 */ bl "lower_bound_const8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole" /* 8023919C 002360FC 80 A1 00 10 */ lwz r5, 0x10(r1) /* 802391A0 00236100 38 80 00 00 */ li r4, 0 /* 802391A4 00236104 80 01 00 20 */ lwz r0, 0x20(r1) /* 802391A8 00236108 90 A1 00 0C */ stw r5, 0xc(r1) /* 802391AC 0023610C 7C 05 00 40 */ cmplw r5, r0 /* 802391B0 00236110 41 82 00 20 */ beq lbl_802391D0 /* 802391B4 00236114 A0 61 00 28 */ lhz r3, 0x28(r1) /* 802391B8 00236118 A0 05 00 00 */ lhz r0, 0(r5) /* 802391BC 0023611C 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 802391C0 00236120 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 802391C4 00236124 7C 03 00 40 */ cmplw r3, r0 /* 802391C8 00236128 41 80 00 08 */ blt lbl_802391D0 /* 802391CC 0023612C 38 80 00 01 */ li r4, 1 lbl_802391D0: /* 802391D0 00236130 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802391D4 00236134 38 81 00 20 */ addi r4, r1, 0x20 /* 802391D8 00236138 41 82 00 08 */ beq lbl_802391E0 /* 802391DC 0023613C 38 81 00 0C */ addi r4, r1, 0xc lbl_802391E0: /* 802391E0 00236140 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802391E4 00236144 80 7F 00 64 */ lwz r3, 0x64(r31) /* 802391E8 00236148 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802391EC 0023614C 80 84 00 00 */ lwz r4, 0(r4) /* 802391F0 00236150 7C 03 02 14 */ add r0, r3, r0 /* 802391F4 00236154 7C 04 00 40 */ cmplw r4, r0 /* 802391F8 00236158 41 82 00 28 */ beq lbl_80239220 /* 802391FC 0023615C 80 04 00 10 */ lwz r0, 0x10(r4) /* 80239200 00236160 38 60 00 00 */ li r3, 0 /* 80239204 00236164 2C 00 00 00 */ cmpwi r0, 0 /* 80239208 00236168 41 82 00 1C */ beq lbl_80239224 /* 8023920C 0023616C 41 80 00 18 */ blt lbl_80239224 /* 80239210 00236170 2C 00 00 04 */ cmpwi r0, 4 /* 80239214 00236174 41 81 00 10 */ bgt lbl_80239224 /* 80239218 00236178 38 60 00 01 */ li r3, 1 /* 8023921C 0023617C 48 00 00 08 */ b lbl_80239224 lbl_80239220: /* 80239220 00236180 38 60 00 00 */ li r3, 0 lbl_80239224: /* 80239224 00236184 80 01 00 64 */ lwz r0, 0x64(r1) /* 80239228 00236188 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8023922C 0023618C 7C 08 03 A6 */ mtlr r0 /* 80239230 00236190 38 21 00 60 */ addi r1, r1, 0x60 /* 80239234 00236194 4E 80 00 20 */ blr .global ClearTeamAiRole__10CTeamAiMgrF9TUniqueId ClearTeamAiRole__10CTeamAiMgrF9TUniqueId: /* 80239238 00236198 94 21 FF A0 */ stwu r1, -0x60(r1) /* 8023923C 0023619C 7C 08 02 A6 */ mflr r0 /* 80239240 002361A0 3C A0 80 5A */ lis r5, skZero3f@ha /* 80239244 002361A4 38 E0 FF FF */ li r7, -1 /* 80239248 002361A8 90 01 00 64 */ stw r0, 0x64(r1) /* 8023924C 002361AC 38 00 00 00 */ li r0, 0 /* 80239250 002361B0 38 C1 00 28 */ addi r6, r1, 0x28 /* 80239254 002361B4 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80239258 002361B8 7C 7F 1B 78 */ mr r31, r3 /* 8023925C 002361BC 38 61 00 10 */ addi r3, r1, 0x10 /* 80239260 002361C0 C4 45 66 A0 */ lfsu f2, skZero3f@l(r5) /* 80239264 002361C4 A1 04 00 00 */ lhz r8, 0(r4) /* 80239268 002361C8 38 81 00 14 */ addi r4, r1, 0x14 /* 8023926C 002361CC C0 25 00 04 */ lfs f1, 4(r5) /* 80239270 002361D0 C0 05 00 08 */ lfs f0, 8(r5) /* 80239274 002361D4 38 A1 00 18 */ addi r5, r1, 0x18 /* 80239278 002361D8 B1 01 00 28 */ sth r8, 0x28(r1) /* 8023927C 002361DC 90 E1 00 2C */ stw r7, 0x2c(r1) /* 80239280 002361E0 90 E1 00 30 */ stw r7, 0x30(r1) /* 80239284 002361E4 90 E1 00 34 */ stw r7, 0x34(r1) /* 80239288 002361E8 90 E1 00 38 */ stw r7, 0x38(r1) /* 8023928C 002361EC 90 E1 00 3C */ stw r7, 0x3c(r1) /* 80239290 002361F0 90 01 00 40 */ stw r0, 0x40(r1) /* 80239294 002361F4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 80239298 002361F8 D0 21 00 48 */ stfs f1, 0x48(r1) /* 8023929C 002361FC D0 01 00 4C */ stfs f0, 0x4c(r1) /* 802392A0 00236200 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802392A4 00236204 80 FF 00 64 */ lwz r7, 0x64(r31) /* 802392A8 00236208 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802392AC 0023620C B1 01 00 08 */ sth r8, 8(r1) /* 802392B0 00236210 7C E7 02 14 */ add r7, r7, r0 /* 802392B4 00236214 90 E1 00 20 */ stw r7, 0x20(r1) /* 802392B8 00236218 80 1F 00 64 */ lwz r0, 0x64(r31) /* 802392BC 0023621C 90 E1 00 1C */ stw r7, 0x1c(r1) /* 802392C0 00236220 90 01 00 24 */ stw r0, 0x24(r1) /* 802392C4 00236224 90 E1 00 18 */ stw r7, 0x18(r1) /* 802392C8 00236228 90 01 00 14 */ stw r0, 0x14(r1) /* 802392CC 0023622C 48 00 16 95 */ bl "lower_bound14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole" /* 802392D0 00236230 80 A1 00 10 */ lwz r5, 0x10(r1) /* 802392D4 00236234 38 80 00 00 */ li r4, 0 /* 802392D8 00236238 80 01 00 20 */ lwz r0, 0x20(r1) /* 802392DC 0023623C 90 A1 00 0C */ stw r5, 0xc(r1) /* 802392E0 00236240 7C 05 00 40 */ cmplw r5, r0 /* 802392E4 00236244 41 82 00 20 */ beq lbl_80239304 /* 802392E8 00236248 A0 61 00 28 */ lhz r3, 0x28(r1) /* 802392EC 0023624C A0 05 00 00 */ lhz r0, 0(r5) /* 802392F0 00236250 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 802392F4 00236254 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 802392F8 00236258 7C 03 00 40 */ cmplw r3, r0 /* 802392FC 0023625C 41 80 00 08 */ blt lbl_80239304 /* 80239300 00236260 38 80 00 01 */ li r4, 1 lbl_80239304: /* 80239304 00236264 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80239308 00236268 38 81 00 20 */ addi r4, r1, 0x20 /* 8023930C 0023626C 41 82 00 08 */ beq lbl_80239314 /* 80239310 00236270 38 81 00 0C */ addi r4, r1, 0xc lbl_80239314: /* 80239314 00236274 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 80239318 00236278 80 7F 00 64 */ lwz r3, 0x64(r31) /* 8023931C 0023627C 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239320 00236280 80 84 00 00 */ lwz r4, 0(r4) /* 80239324 00236284 7C 03 02 14 */ add r0, r3, r0 /* 80239328 00236288 7C 04 00 40 */ cmplw r4, r0 /* 8023932C 0023628C 41 82 00 0C */ beq lbl_80239338 /* 80239330 00236290 38 00 00 00 */ li r0, 0 /* 80239334 00236294 90 04 00 10 */ stw r0, 0x10(r4) lbl_80239338: /* 80239338 00236298 80 01 00 64 */ lwz r0, 0x64(r1) /* 8023933C 0023629C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80239340 002362A0 7C 08 03 A6 */ mtlr r0 /* 80239344 002362A4 38 21 00 60 */ addi r1, r1, 0x60 /* 80239348 002362A8 4E 80 00 20 */ blr .global GetTeamAiRole__10CTeamAiMgrCF9TUniqueId GetTeamAiRole__10CTeamAiMgrCF9TUniqueId: /* 8023934C 002362AC 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80239350 002362B0 7C 08 02 A6 */ mflr r0 /* 80239354 002362B4 39 20 FF FF */ li r9, -1 /* 80239358 002362B8 39 00 00 00 */ li r8, 0 /* 8023935C 002362BC 90 01 00 64 */ stw r0, 0x64(r1) /* 80239360 002362C0 38 C1 00 28 */ addi r6, r1, 0x28 /* 80239364 002362C4 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80239368 002362C8 7C 7F 1B 78 */ mr r31, r3 /* 8023936C 002362CC 80 03 00 5C */ lwz r0, 0x5c(r3) /* 80239370 002362D0 3C 60 80 5A */ lis r3, skZero3f@ha /* 80239374 002362D4 38 A3 66 A0 */ addi r5, r3, skZero3f@l /* 80239378 002362D8 A1 44 00 00 */ lhz r10, 0(r4) /* 8023937C 002362DC 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239380 002362E0 80 FF 00 64 */ lwz r7, 0x64(r31) /* 80239384 002362E4 C0 45 00 00 */ lfs f2, 0(r5) /* 80239388 002362E8 38 61 00 10 */ addi r3, r1, 0x10 /* 8023938C 002362EC C0 25 00 04 */ lfs f1, 4(r5) /* 80239390 002362F0 38 81 00 14 */ addi r4, r1, 0x14 /* 80239394 002362F4 7C 07 02 14 */ add r0, r7, r0 /* 80239398 002362F8 C0 05 00 08 */ lfs f0, 8(r5) /* 8023939C 002362FC B1 41 00 08 */ sth r10, 8(r1) /* 802393A0 00236300 38 A1 00 18 */ addi r5, r1, 0x18 /* 802393A4 00236304 B1 41 00 28 */ sth r10, 0x28(r1) /* 802393A8 00236308 91 21 00 2C */ stw r9, 0x2c(r1) /* 802393AC 0023630C 91 21 00 30 */ stw r9, 0x30(r1) /* 802393B0 00236310 91 21 00 34 */ stw r9, 0x34(r1) /* 802393B4 00236314 91 21 00 38 */ stw r9, 0x38(r1) /* 802393B8 00236318 91 21 00 3C */ stw r9, 0x3c(r1) /* 802393BC 0023631C 91 01 00 40 */ stw r8, 0x40(r1) /* 802393C0 00236320 D0 41 00 44 */ stfs f2, 0x44(r1) /* 802393C4 00236324 D0 21 00 48 */ stfs f1, 0x48(r1) /* 802393C8 00236328 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 802393CC 0023632C 90 01 00 1C */ stw r0, 0x1c(r1) /* 802393D0 00236330 90 01 00 20 */ stw r0, 0x20(r1) /* 802393D4 00236334 90 E1 00 24 */ stw r7, 0x24(r1) /* 802393D8 00236338 90 01 00 18 */ stw r0, 0x18(r1) /* 802393DC 0023633C 90 E1 00 14 */ stw r7, 0x14(r1) /* 802393E0 00236340 48 00 16 49 */ bl "lower_bound_const8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole" /* 802393E4 00236344 80 A1 00 10 */ lwz r5, 0x10(r1) /* 802393E8 00236348 38 80 00 00 */ li r4, 0 /* 802393EC 0023634C 80 01 00 20 */ lwz r0, 0x20(r1) /* 802393F0 00236350 90 A1 00 0C */ stw r5, 0xc(r1) /* 802393F4 00236354 7C 05 00 40 */ cmplw r5, r0 /* 802393F8 00236358 41 82 00 20 */ beq lbl_80239418 /* 802393FC 0023635C A0 61 00 28 */ lhz r3, 0x28(r1) /* 80239400 00236360 A0 05 00 00 */ lhz r0, 0(r5) /* 80239404 00236364 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 80239408 00236368 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 8023940C 0023636C 7C 03 00 40 */ cmplw r3, r0 /* 80239410 00236370 41 80 00 08 */ blt lbl_80239418 /* 80239414 00236374 38 80 00 01 */ li r4, 1 lbl_80239418: /* 80239418 00236378 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8023941C 0023637C 38 61 00 20 */ addi r3, r1, 0x20 /* 80239420 00236380 41 82 00 08 */ beq lbl_80239428 /* 80239424 00236384 38 61 00 0C */ addi r3, r1, 0xc lbl_80239428: /* 80239428 00236388 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 8023942C 0023638C 80 9F 00 64 */ lwz r4, 0x64(r31) /* 80239430 00236390 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239434 00236394 80 63 00 00 */ lwz r3, 0(r3) /* 80239438 00236398 7C 04 02 14 */ add r0, r4, r0 /* 8023943C 0023639C 7C 03 00 40 */ cmplw r3, r0 /* 80239440 002363A0 41 82 00 08 */ beq lbl_80239448 /* 80239444 002363A4 48 00 00 08 */ b lbl_8023944C lbl_80239448: /* 80239448 002363A8 38 60 00 00 */ li r3, 0 lbl_8023944C: /* 8023944C 002363AC 80 01 00 64 */ lwz r0, 0x64(r1) /* 80239450 002363B0 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80239454 002363B4 7C 08 03 A6 */ mtlr r0 /* 80239458 002363B8 38 21 00 60 */ addi r1, r1, 0x60 /* 8023945C 002363BC 4E 80 00 20 */ blr .global GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole: /* 80239460 002363C0 80 03 00 5C */ lwz r0, 0x5c(r3) /* 80239464 002363C4 38 C0 00 00 */ li r6, 0 /* 80239468 002363C8 80 A3 00 64 */ lwz r5, 0x64(r3) /* 8023946C 002363CC 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239470 002363D0 7C 65 02 14 */ add r3, r5, r0 /* 80239474 002363D4 48 00 00 18 */ b lbl_8023948C lbl_80239478: /* 80239478 002363D8 80 05 00 10 */ lwz r0, 0x10(r5) /* 8023947C 002363DC 7C 04 00 00 */ cmpw r4, r0 /* 80239480 002363E0 40 82 00 08 */ bne lbl_80239488 /* 80239484 002363E4 38 C6 00 01 */ addi r6, r6, 1 lbl_80239488: /* 80239488 002363E8 38 A5 00 28 */ addi r5, r5, 0x28 lbl_8023948C: /* 8023948C 002363EC 7C 05 18 40 */ cmplw r5, r3 /* 80239490 002363F0 40 82 FF E8 */ bne lbl_80239478 /* 80239494 002363F4 7C C3 33 78 */ mr r3, r6 /* 80239498 002363F8 4E 80 00 20 */ blr .global GetNumAssignedAiRoles__10CTeamAiMgrCFv GetNumAssignedAiRoles__10CTeamAiMgrCFv: /* 8023949C 002363FC 80 03 00 5C */ lwz r0, 0x5c(r3) /* 802394A0 00236400 38 C0 00 00 */ li r6, 0 /* 802394A4 00236404 80 83 00 64 */ lwz r4, 0x64(r3) /* 802394A8 00236408 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802394AC 0023640C 7C 64 02 14 */ add r3, r4, r0 /* 802394B0 00236410 48 00 00 34 */ b lbl_802394E4 lbl_802394B4: /* 802394B4 00236414 80 A4 00 10 */ lwz r5, 0x10(r4) /* 802394B8 00236418 38 00 00 00 */ li r0, 0 /* 802394BC 0023641C 2C 05 00 00 */ cmpwi r5, 0 /* 802394C0 00236420 41 82 00 14 */ beq lbl_802394D4 /* 802394C4 00236424 41 80 00 10 */ blt lbl_802394D4 /* 802394C8 00236428 2C 05 00 04 */ cmpwi r5, 4 /* 802394CC 0023642C 41 81 00 08 */ bgt lbl_802394D4 /* 802394D0 00236430 38 00 00 01 */ li r0, 1 lbl_802394D4: /* 802394D4 00236434 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802394D8 00236438 41 82 00 08 */ beq lbl_802394E0 /* 802394DC 0023643C 38 C6 00 01 */ addi r6, r6, 1 lbl_802394E0: /* 802394E0 00236440 38 84 00 28 */ addi r4, r4, 0x28 lbl_802394E4: /* 802394E4 00236444 7C 04 18 40 */ cmplw r4, r3 /* 802394E8 00236448 40 82 FF CC */ bne lbl_802394B4 /* 802394EC 0023644C 7C C3 33 78 */ mr r3, r6 /* 802394F0 00236450 4E 80 00 20 */ blr .global RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId: /* 802394F4 00236454 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802394F8 00236458 7C 08 02 A6 */ mflr r0 /* 802394FC 0023645C 90 01 00 84 */ stw r0, 0x84(r1) /* 80239500 00236460 93 E1 00 7C */ stw r31, 0x7c(r1) /* 80239504 00236464 7C 7F 1B 78 */ mr r31, r3 /* 80239508 00236468 93 C1 00 78 */ stw r30, 0x78(r1) /* 8023950C 0023646C 7C 9E 23 78 */ mr r30, r4 /* 80239510 00236470 A0 04 00 00 */ lhz r0, 0(r4) /* 80239514 00236474 38 81 00 18 */ addi r4, r1, 0x18 /* 80239518 00236478 B0 01 00 18 */ sth r0, 0x18(r1) /* 8023951C 0023647C 4B FF FA 09 */ bl IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId /* 80239520 00236480 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80239524 00236484 41 82 00 18 */ beq lbl_8023953C /* 80239528 00236488 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023952C 0023648C 7F E3 FB 78 */ mr r3, r31 /* 80239530 00236490 38 81 00 14 */ addi r4, r1, 0x14 /* 80239534 00236494 B0 01 00 14 */ sth r0, 0x14(r1) /* 80239538 00236498 4B FF F6 95 */ bl RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId lbl_8023953C: /* 8023953C 0023649C A0 1E 00 00 */ lhz r0, 0(r30) /* 80239540 002364A0 7F E3 FB 78 */ mr r3, r31 /* 80239544 002364A4 38 81 00 10 */ addi r4, r1, 0x10 /* 80239548 002364A8 B0 01 00 10 */ sth r0, 0x10(r1) /* 8023954C 002364AC 4B FF F5 B5 */ bl IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId /* 80239550 002364B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80239554 002364B4 41 82 00 18 */ beq lbl_8023956C /* 80239558 002364B8 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023955C 002364BC 7F E3 FB 78 */ mr r3, r31 /* 80239560 002364C0 38 81 00 0C */ addi r4, r1, 0xc /* 80239564 002364C4 B0 01 00 0C */ sth r0, 0xc(r1) /* 80239568 002364C8 4B FF EF 7D */ bl RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId lbl_8023956C: /* 8023956C 002364CC 3C 60 80 5A */ lis r3, skZero3f@ha /* 80239570 002364D0 38 E0 FF FF */ li r7, -1 /* 80239574 002364D4 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 80239578 002364D8 A1 1E 00 00 */ lhz r8, 0(r30) /* 8023957C 002364DC C0 44 00 00 */ lfs f2, 0(r4) /* 80239580 002364E0 38 00 00 00 */ li r0, 0 /* 80239584 002364E4 C0 24 00 04 */ lfs f1, 4(r4) /* 80239588 002364E8 38 61 00 20 */ addi r3, r1, 0x20 /* 8023958C 002364EC C0 04 00 08 */ lfs f0, 8(r4) /* 80239590 002364F0 38 81 00 24 */ addi r4, r1, 0x24 /* 80239594 002364F4 B1 01 00 44 */ sth r8, 0x44(r1) /* 80239598 002364F8 38 A1 00 28 */ addi r5, r1, 0x28 /* 8023959C 002364FC 38 C1 00 44 */ addi r6, r1, 0x44 /* 802395A0 00236500 90 E1 00 48 */ stw r7, 0x48(r1) /* 802395A4 00236504 90 E1 00 4C */ stw r7, 0x4c(r1) /* 802395A8 00236508 90 E1 00 50 */ stw r7, 0x50(r1) /* 802395AC 0023650C 90 E1 00 54 */ stw r7, 0x54(r1) /* 802395B0 00236510 90 E1 00 58 */ stw r7, 0x58(r1) /* 802395B4 00236514 90 01 00 5C */ stw r0, 0x5c(r1) /* 802395B8 00236518 D0 41 00 60 */ stfs f2, 0x60(r1) /* 802395BC 0023651C D0 21 00 64 */ stfs f1, 0x64(r1) /* 802395C0 00236520 D0 01 00 68 */ stfs f0, 0x68(r1) /* 802395C4 00236524 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 802395C8 00236528 80 FF 00 64 */ lwz r7, 0x64(r31) /* 802395CC 0023652C 1C 00 00 28 */ mulli r0, r0, 0x28 /* 802395D0 00236530 B1 01 00 08 */ sth r8, 8(r1) /* 802395D4 00236534 7C E7 02 14 */ add r7, r7, r0 /* 802395D8 00236538 90 E1 00 38 */ stw r7, 0x38(r1) /* 802395DC 0023653C 80 1F 00 64 */ lwz r0, 0x64(r31) /* 802395E0 00236540 90 E1 00 34 */ stw r7, 0x34(r1) /* 802395E4 00236544 90 01 00 3C */ stw r0, 0x3c(r1) /* 802395E8 00236548 90 E1 00 28 */ stw r7, 0x28(r1) /* 802395EC 0023654C 90 01 00 24 */ stw r0, 0x24(r1) /* 802395F0 00236550 48 00 13 71 */ bl "lower_bound14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole" /* 802395F4 00236554 80 A1 00 20 */ lwz r5, 0x20(r1) /* 802395F8 00236558 38 80 00 00 */ li r4, 0 /* 802395FC 0023655C 80 01 00 38 */ lwz r0, 0x38(r1) /* 80239600 00236560 90 A1 00 1C */ stw r5, 0x1c(r1) /* 80239604 00236564 7C 05 00 40 */ cmplw r5, r0 /* 80239608 00236568 41 82 00 20 */ beq lbl_80239628 /* 8023960C 0023656C A0 61 00 44 */ lhz r3, 0x44(r1) /* 80239610 00236570 A0 05 00 00 */ lhz r0, 0(r5) /* 80239614 00236574 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 80239618 00236578 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 8023961C 0023657C 7C 03 00 40 */ cmplw r3, r0 /* 80239620 00236580 41 80 00 08 */ blt lbl_80239628 /* 80239624 00236584 38 80 00 01 */ li r4, 1 lbl_80239628: /* 80239628 00236588 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 8023962C 0023658C 38 61 00 38 */ addi r3, r1, 0x38 /* 80239630 00236590 41 82 00 08 */ beq lbl_80239638 /* 80239634 00236594 38 61 00 1C */ addi r3, r1, 0x1c lbl_80239638: /* 80239638 00236598 80 03 00 00 */ lwz r0, 0(r3) /* 8023963C 0023659C 38 61 00 30 */ addi r3, r1, 0x30 /* 80239640 002365A0 38 9F 00 58 */ addi r4, r31, 0x58 /* 80239644 002365A4 38 A1 00 2C */ addi r5, r1, 0x2c /* 80239648 002365A8 90 01 00 40 */ stw r0, 0x40(r1) /* 8023964C 002365AC 90 01 00 2C */ stw r0, 0x2c(r1) /* 80239650 002365B0 48 00 00 25 */ bl sub_80239674 /* 80239654 002365B4 7F E3 FB 78 */ mr r3, r31 /* 80239658 002365B8 4B FF E6 49 */ bl UpdateTeamCaptain__10CTeamAiMgrFv /* 8023965C 002365BC 80 01 00 84 */ lwz r0, 0x84(r1) /* 80239660 002365C0 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80239664 002365C4 83 C1 00 78 */ lwz r30, 0x78(r1) /* 80239668 002365C8 7C 08 03 A6 */ mtlr r0 /* 8023966C 002365CC 38 21 00 80 */ addi r1, r1, 0x80 /* 80239670 002365D0 4E 80 00 20 */ blr .global sub_80239674 sub_80239674: /* 80239674 002365D4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80239678 002365D8 7C 08 02 A6 */ mflr r0 /* 8023967C 002365DC 90 01 00 24 */ stw r0, 0x24(r1) /* 80239680 002365E0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80239684 002365E4 7C 7F 1B 78 */ mr r31, r3 /* 80239688 002365E8 80 C5 00 00 */ lwz r6, 0(r5) /* 8023968C 002365EC 80 05 00 00 */ lwz r0, 0(r5) /* 80239690 002365F0 38 A1 00 10 */ addi r5, r1, 0x10 /* 80239694 002365F4 38 E6 00 28 */ addi r7, r6, 0x28 /* 80239698 002365F8 38 C1 00 0C */ addi r6, r1, 0xc /* 8023969C 002365FC 90 E1 00 08 */ stw r7, 8(r1) /* 802396A0 00236600 90 E1 00 0C */ stw r7, 0xc(r1) /* 802396A4 00236604 90 01 00 10 */ stw r0, 0x10(r1) /* 802396A8 00236608 48 00 00 19 */ bl sub_802396c0 /* 802396AC 0023660C 80 01 00 24 */ lwz r0, 0x24(r1) /* 802396B0 00236610 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802396B4 00236614 7C 08 03 A6 */ mtlr r0 /* 802396B8 00236618 38 21 00 20 */ addi r1, r1, 0x20 /* 802396BC 0023661C 4E 80 00 20 */ blr .global sub_802396c0 sub_802396c0: /* 802396C0 00236620 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802396C4 00236624 80 E5 00 00 */ lwz r7, 0(r5) /* 802396C8 00236628 80 06 00 00 */ lwz r0, 0(r6) /* 802396CC 0023662C 90 E1 00 0C */ stw r7, 0xc(r1) /* 802396D0 00236630 90 01 00 08 */ stw r0, 8(r1) /* 802396D4 00236634 48 00 00 08 */ b lbl_802396DC lbl_802396D8: /* 802396D8 00236638 38 E7 00 28 */ addi r7, r7, 0x28 lbl_802396DC: /* 802396DC 0023663C 7C 07 00 40 */ cmplw r7, r0 /* 802396E0 00236640 40 82 FF F8 */ bne lbl_802396D8 /* 802396E4 00236644 81 24 00 0C */ lwz r9, 0xc(r4) /* 802396E8 00236648 3C E0 66 66 */ lis r7, 0x66666667@ha /* 802396EC 0023664C 80 05 00 00 */ lwz r0, 0(r5) /* 802396F0 00236650 38 E7 66 67 */ addi r7, r7, 0x66666667@l /* 802396F4 00236654 81 06 00 00 */ lwz r8, 0(r6) /* 802396F8 00236658 7C 09 00 50 */ subf r0, r9, r0 /* 802396FC 0023665C 7C 07 00 96 */ mulhw r0, r7, r0 /* 80239700 00236660 7C 00 26 70 */ srawi r0, r0, 4 /* 80239704 00236664 54 06 0F FE */ srwi r6, r0, 0x1f /* 80239708 00236668 7C C0 32 14 */ add r6, r0, r6 /* 8023970C 0023666C 1C 06 00 28 */ mulli r0, r6, 0x28 /* 80239710 00236670 7C CA 33 78 */ mr r10, r6 /* 80239714 00236674 7C E9 02 14 */ add r7, r9, r0 /* 80239718 00236678 48 00 00 68 */ b lbl_80239780 lbl_8023971C: /* 8023971C 0023667C 28 07 00 00 */ cmplwi r7, 0 /* 80239720 00236680 41 82 00 54 */ beq lbl_80239774 /* 80239724 00236684 A0 08 00 00 */ lhz r0, 0(r8) /* 80239728 00236688 B0 07 00 00 */ sth r0, 0(r7) /* 8023972C 0023668C 80 08 00 04 */ lwz r0, 4(r8) /* 80239730 00236690 90 07 00 04 */ stw r0, 4(r7) /* 80239734 00236694 80 08 00 08 */ lwz r0, 8(r8) /* 80239738 00236698 90 07 00 08 */ stw r0, 8(r7) /* 8023973C 0023669C 80 08 00 0C */ lwz r0, 0xc(r8) /* 80239740 002366A0 90 07 00 0C */ stw r0, 0xc(r7) /* 80239744 002366A4 80 08 00 10 */ lwz r0, 0x10(r8) /* 80239748 002366A8 90 07 00 10 */ stw r0, 0x10(r7) /* 8023974C 002366AC 80 08 00 14 */ lwz r0, 0x14(r8) /* 80239750 002366B0 90 07 00 14 */ stw r0, 0x14(r7) /* 80239754 002366B4 80 08 00 18 */ lwz r0, 0x18(r8) /* 80239758 002366B8 90 07 00 18 */ stw r0, 0x18(r7) /* 8023975C 002366BC C0 08 00 1C */ lfs f0, 0x1c(r8) /* 80239760 002366C0 D0 07 00 1C */ stfs f0, 0x1c(r7) /* 80239764 002366C4 C0 08 00 20 */ lfs f0, 0x20(r8) /* 80239768 002366C8 D0 07 00 20 */ stfs f0, 0x20(r7) /* 8023976C 002366CC C0 08 00 24 */ lfs f0, 0x24(r8) /* 80239770 002366D0 D0 07 00 24 */ stfs f0, 0x24(r7) lbl_80239774: /* 80239774 002366D4 38 E7 00 28 */ addi r7, r7, 0x28 /* 80239778 002366D8 39 4A 00 01 */ addi r10, r10, 1 /* 8023977C 002366DC 39 08 00 28 */ addi r8, r8, 0x28 lbl_80239780: /* 80239780 002366E0 80 04 00 04 */ lwz r0, 4(r4) /* 80239784 002366E4 80 C4 00 0C */ lwz r6, 0xc(r4) /* 80239788 002366E8 1C 00 00 28 */ mulli r0, r0, 0x28 /* 8023978C 002366EC 7C 06 02 14 */ add r0, r6, r0 /* 80239790 002366F0 7C 08 00 40 */ cmplw r8, r0 /* 80239794 002366F4 40 82 FF 88 */ bne lbl_8023971C /* 80239798 002366F8 91 44 00 04 */ stw r10, 4(r4) /* 8023979C 002366FC 80 05 00 00 */ lwz r0, 0(r5) /* 802397A0 00236700 90 03 00 00 */ stw r0, 0(r3) /* 802397A4 00236704 38 21 00 10 */ addi r1, r1, 0x10 /* 802397A8 00236708 4E 80 00 20 */ blr .global AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii: /* 802397AC 0023670C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 802397B0 00236710 7C 08 02 A6 */ mflr r0 /* 802397B4 00236714 3D 00 80 5A */ lis r8, skZero3f@ha /* 802397B8 00236718 90 01 00 84 */ stw r0, 0x84(r1) /* 802397BC 0023671C 38 00 00 00 */ li r0, 0 /* 802397C0 00236720 93 E1 00 7C */ stw r31, 0x7c(r1) /* 802397C4 00236724 7C 7F 1B 78 */ mr r31, r3 /* 802397C8 00236728 38 61 00 14 */ addi r3, r1, 0x14 /* 802397CC 0023672C A1 24 00 08 */ lhz r9, 8(r4) /* 802397D0 00236730 38 88 66 A0 */ addi r4, r8, skZero3f@l /* 802397D4 00236734 C0 44 00 00 */ lfs f2, 0(r4) /* 802397D8 00236738 39 00 FF FF */ li r8, -1 /* 802397DC 0023673C C0 24 00 04 */ lfs f1, 4(r4) /* 802397E0 00236740 C0 04 00 08 */ lfs f0, 8(r4) /* 802397E4 00236744 38 81 00 18 */ addi r4, r1, 0x18 /* 802397E8 00236748 90 A1 00 50 */ stw r5, 0x50(r1) /* 802397EC 0023674C 38 A1 00 1C */ addi r5, r1, 0x1c /* 802397F0 00236750 90 C1 00 54 */ stw r6, 0x54(r1) /* 802397F4 00236754 38 C1 00 4C */ addi r6, r1, 0x4c /* 802397F8 00236758 B1 21 00 4C */ sth r9, 0x4c(r1) /* 802397FC 0023675C 90 E1 00 58 */ stw r7, 0x58(r1) /* 80239800 00236760 91 01 00 5C */ stw r8, 0x5c(r1) /* 80239804 00236764 91 01 00 60 */ stw r8, 0x60(r1) /* 80239808 00236768 90 01 00 64 */ stw r0, 0x64(r1) /* 8023980C 0023676C D0 41 00 68 */ stfs f2, 0x68(r1) /* 80239810 00236770 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 80239814 00236774 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80239818 00236778 80 1F 00 5C */ lwz r0, 0x5c(r31) /* 8023981C 0023677C 80 FF 00 64 */ lwz r7, 0x64(r31) /* 80239820 00236780 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239824 00236784 B1 21 00 08 */ sth r9, 8(r1) /* 80239828 00236788 B1 21 00 0C */ sth r9, 0xc(r1) /* 8023982C 0023678C 7C E7 02 14 */ add r7, r7, r0 /* 80239830 00236790 90 E1 00 40 */ stw r7, 0x40(r1) /* 80239834 00236794 80 1F 00 64 */ lwz r0, 0x64(r31) /* 80239838 00236798 90 E1 00 3C */ stw r7, 0x3c(r1) /* 8023983C 0023679C 90 01 00 44 */ stw r0, 0x44(r1) /* 80239840 002367A0 90 E1 00 1C */ stw r7, 0x1c(r1) /* 80239844 002367A4 90 01 00 18 */ stw r0, 0x18(r1) /* 80239848 002367A8 48 00 11 19 */ bl "lower_bound14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole" /* 8023984C 002367AC 80 A1 00 14 */ lwz r5, 0x14(r1) /* 80239850 002367B0 38 80 00 00 */ li r4, 0 /* 80239854 002367B4 80 01 00 40 */ lwz r0, 0x40(r1) /* 80239858 002367B8 90 A1 00 10 */ stw r5, 0x10(r1) /* 8023985C 002367BC 7C 05 00 40 */ cmplw r5, r0 /* 80239860 002367C0 41 82 00 20 */ beq lbl_80239880 /* 80239864 002367C4 A0 61 00 4C */ lhz r3, 0x4c(r1) /* 80239868 002367C8 A0 05 00 00 */ lhz r0, 0(r5) /* 8023986C 002367CC 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 80239870 002367D0 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 80239874 002367D4 7C 03 00 40 */ cmplw r3, r0 /* 80239878 002367D8 41 80 00 08 */ blt lbl_80239880 /* 8023987C 002367DC 38 80 00 01 */ li r4, 1 lbl_80239880: /* 80239880 002367E0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80239884 002367E4 38 81 00 40 */ addi r4, r1, 0x40 /* 80239888 002367E8 41 82 00 08 */ beq lbl_80239890 /* 8023988C 002367EC 38 81 00 10 */ addi r4, r1, 0x10 lbl_80239890: /* 80239890 002367F0 80 BF 00 5C */ lwz r5, 0x5c(r31) /* 80239894 002367F4 80 7F 00 64 */ lwz r3, 0x64(r31) /* 80239898 002367F8 1C 05 00 28 */ mulli r0, r5, 0x28 /* 8023989C 002367FC 80 84 00 00 */ lwz r4, 0(r4) /* 802398A0 00236800 7C E3 02 14 */ add r7, r3, r0 /* 802398A4 00236804 7C 04 38 40 */ cmplw r4, r7 /* 802398A8 00236808 40 82 00 64 */ bne lbl_8023990C /* 802398AC 0023680C 80 1F 00 60 */ lwz r0, 0x60(r31) /* 802398B0 00236810 7C 05 00 00 */ cmpw r5, r0 /* 802398B4 00236814 40 80 00 50 */ bge lbl_80239904 /* 802398B8 00236818 90 E1 00 2C */ stw r7, 0x2c(r1) /* 802398BC 0023681C 38 61 00 38 */ addi r3, r1, 0x38 /* 802398C0 00236820 38 81 00 34 */ addi r4, r1, 0x34 /* 802398C4 00236824 38 A1 00 2C */ addi r5, r1, 0x2c /* 802398C8 00236828 80 1F 00 64 */ lwz r0, 0x64(r31) /* 802398CC 0023682C 38 C1 00 4C */ addi r6, r1, 0x4c /* 802398D0 00236830 90 E1 00 28 */ stw r7, 0x28(r1) /* 802398D4 00236834 90 01 00 30 */ stw r0, 0x30(r1) /* 802398D8 00236838 90 01 00 34 */ stw r0, 0x34(r1) /* 802398DC 0023683C 48 00 10 85 */ bl "lower_bound14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole" /* 802398E0 00236840 80 01 00 38 */ lwz r0, 0x38(r1) /* 802398E4 00236844 38 61 00 24 */ addi r3, r1, 0x24 /* 802398E8 00236848 38 9F 00 58 */ addi r4, r31, 0x58 /* 802398EC 0023684C 38 A1 00 20 */ addi r5, r1, 0x20 /* 802398F0 00236850 90 01 00 48 */ stw r0, 0x48(r1) /* 802398F4 00236854 38 C1 00 4C */ addi r6, r1, 0x4c /* 802398F8 00236858 90 01 00 20 */ stw r0, 0x20(r1) /* 802398FC 0023685C 48 00 00 81 */ bl sub_8023997c /* 80239900 00236860 48 00 00 5C */ b lbl_8023995C lbl_80239904: /* 80239904 00236864 38 60 00 00 */ li r3, 0 /* 80239908 00236868 48 00 00 60 */ b lbl_80239968 lbl_8023990C: /* 8023990C 0023686C A0 01 00 4C */ lhz r0, 0x4c(r1) /* 80239910 00236870 B0 04 00 00 */ sth r0, 0(r4) /* 80239914 00236874 80 01 00 50 */ lwz r0, 0x50(r1) /* 80239918 00236878 90 04 00 04 */ stw r0, 4(r4) /* 8023991C 0023687C 80 01 00 54 */ lwz r0, 0x54(r1) /* 80239920 00236880 90 04 00 08 */ stw r0, 8(r4) /* 80239924 00236884 80 01 00 58 */ lwz r0, 0x58(r1) /* 80239928 00236888 90 04 00 0C */ stw r0, 0xc(r4) /* 8023992C 0023688C 80 01 00 5C */ lwz r0, 0x5c(r1) /* 80239930 00236890 90 04 00 10 */ stw r0, 0x10(r4) /* 80239934 00236894 80 01 00 60 */ lwz r0, 0x60(r1) /* 80239938 00236898 90 04 00 14 */ stw r0, 0x14(r4) /* 8023993C 0023689C 80 01 00 64 */ lwz r0, 0x64(r1) /* 80239940 002368A0 90 04 00 18 */ stw r0, 0x18(r4) /* 80239944 002368A4 80 61 00 68 */ lwz r3, 0x68(r1) /* 80239948 002368A8 80 01 00 6C */ lwz r0, 0x6c(r1) /* 8023994C 002368AC 90 64 00 1C */ stw r3, 0x1c(r4) /* 80239950 002368B0 90 04 00 20 */ stw r0, 0x20(r4) /* 80239954 002368B4 80 01 00 70 */ lwz r0, 0x70(r1) /* 80239958 002368B8 90 04 00 24 */ stw r0, 0x24(r4) lbl_8023995C: /* 8023995C 002368BC 7F E3 FB 78 */ mr r3, r31 /* 80239960 002368C0 4B FF E3 41 */ bl UpdateTeamCaptain__10CTeamAiMgrFv /* 80239964 002368C4 38 60 00 01 */ li r3, 1 lbl_80239968: /* 80239968 002368C8 80 01 00 84 */ lwz r0, 0x84(r1) /* 8023996C 002368CC 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 80239970 002368D0 7C 08 03 A6 */ mtlr r0 /* 80239974 002368D4 38 21 00 80 */ addi r1, r1, 0x80 /* 80239978 002368D8 4E 80 00 20 */ blr .global sub_8023997c sub_8023997c: /* 8023997C 002368DC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80239980 002368E0 7C 08 02 A6 */ mflr r0 /* 80239984 002368E4 90 01 00 34 */ stw r0, 0x34(r1) /* 80239988 002368E8 38 00 00 00 */ li r0, 0 /* 8023998C 002368EC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80239990 002368F0 93 C1 00 28 */ stw r30, 0x28(r1) /* 80239994 002368F4 7C 9E 23 78 */ mr r30, r4 /* 80239998 002368F8 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023999C 002368FC 7C 7D 1B 78 */ mr r29, r3 /* 802399A0 00236900 7F C3 F3 78 */ mr r3, r30 /* 802399A4 00236904 81 05 00 00 */ lwz r8, 0(r5) /* 802399A8 00236908 80 A4 00 0C */ lwz r5, 0xc(r4) /* 802399AC 0023690C 3C 80 66 66 */ lis r4, 0x66666667@ha /* 802399B0 00236910 38 84 66 67 */ addi r4, r4, 0x66666667@l /* 802399B4 00236914 90 C1 00 14 */ stw r6, 0x14(r1) /* 802399B8 00236918 7C A5 40 50 */ subf r5, r5, r8 /* 802399BC 0023691C 7C E4 28 96 */ mulhw r7, r4, r5 /* 802399C0 00236920 90 C1 00 0C */ stw r6, 0xc(r1) /* 802399C4 00236924 38 81 00 08 */ addi r4, r1, 8 /* 802399C8 00236928 90 01 00 18 */ stw r0, 0x18(r1) /* 802399CC 0023692C 38 C1 00 0C */ addi r6, r1, 0xc /* 802399D0 00236930 38 A0 00 01 */ li r5, 1 /* 802399D4 00236934 7C E7 26 70 */ srawi r7, r7, 4 /* 802399D8 00236938 90 01 00 10 */ stw r0, 0x10(r1) /* 802399DC 0023693C 54 E0 0F FE */ srwi r0, r7, 0x1f /* 802399E0 00236940 91 01 00 08 */ stw r8, 8(r1) /* 802399E4 00236944 7F E7 02 14 */ add r31, r7, r0 /* 802399E8 00236948 48 00 00 31 */ bl sub_80239a18 /* 802399EC 0023694C 1C 1F 00 28 */ mulli r0, r31, 0x28 /* 802399F0 00236950 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802399F4 00236954 7C 63 02 14 */ add r3, r3, r0 /* 802399F8 00236958 90 7D 00 00 */ stw r3, 0(r29) /* 802399FC 0023695C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80239A00 00236960 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80239A04 00236964 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80239A08 00236968 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80239A0C 0023696C 7C 08 03 A6 */ mtlr r0 /* 80239A10 00236970 38 21 00 30 */ addi r1, r1, 0x30 /* 80239A14 00236974 4E 80 00 20 */ blr .global sub_80239a18 sub_80239a18: /* 80239A18 00236978 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80239A1C 0023697C 7C 08 02 A6 */ mflr r0 /* 80239A20 00236980 90 01 00 34 */ stw r0, 0x34(r1) /* 80239A24 00236984 BF 21 00 14 */ stmw r25, 0x14(r1) /* 80239A28 00236988 7C 7A 1B 78 */ mr r26, r3 /* 80239A2C 0023698C 7C BB 2B 78 */ mr r27, r5 /* 80239A30 00236990 7C 99 23 78 */ mr r25, r4 /* 80239A34 00236994 81 03 00 04 */ lwz r8, 4(r3) /* 80239A38 00236998 80 63 00 08 */ lwz r3, 8(r3) /* 80239A3C 0023699C 7C 88 DA 14 */ add r4, r8, r27 /* 80239A40 002369A0 80 FA 00 0C */ lwz r7, 0xc(r26) /* 80239A44 002369A4 7C 04 18 00 */ cmpw r4, r3 /* 80239A48 002369A8 83 C6 00 00 */ lwz r30, 0(r6) /* 80239A4C 002369AC 7C FD 3B 78 */ mr r29, r7 /* 80239A50 002369B0 41 81 01 40 */ bgt lbl_80239B90 /* 80239A54 002369B4 80 19 00 00 */ lwz r0, 0(r25) /* 80239A58 002369B8 3C 60 66 66 */ lis r3, 0x66666667@ha /* 80239A5C 002369BC 38 63 66 67 */ addi r3, r3, 0x66666667@l /* 80239A60 002369C0 7C 07 00 50 */ subf r0, r7, r0 /* 80239A64 002369C4 7C 03 00 96 */ mulhw r0, r3, r0 /* 80239A68 002369C8 7C 00 26 70 */ srawi r0, r0, 4 /* 80239A6C 002369CC 54 03 0F FE */ srwi r3, r0, 0x1f /* 80239A70 002369D0 7C A0 1A 14 */ add r5, r0, r3 /* 80239A74 002369D4 7C 65 40 50 */ subf r3, r5, r8 /* 80239A78 002369D8 35 03 FF FF */ addic. r8, r3, -1 /* 80239A7C 002369DC 1C 65 00 28 */ mulli r3, r5, 0x28 /* 80239A80 002369E0 38 08 00 01 */ addi r0, r8, 1 /* 80239A84 002369E4 7C C7 1A 14 */ add r6, r7, r3 /* 80239A88 002369E8 1C 9B 00 28 */ mulli r4, r27, 0x28 /* 80239A8C 002369EC 1C 68 00 28 */ mulli r3, r8, 0x28 /* 80239A90 002369F0 7C 84 1A 14 */ add r4, r4, r3 /* 80239A94 002369F4 7C 86 22 14 */ add r4, r6, r4 /* 80239A98 002369F8 7C 09 03 A6 */ mtctr r0 /* 80239A9C 002369FC 41 80 00 78 */ blt lbl_80239B14 lbl_80239AA0: /* 80239AA0 00236A00 7C 05 42 14 */ add r0, r5, r8 /* 80239AA4 00236A04 28 04 00 00 */ cmplwi r4, 0 /* 80239AA8 00236A08 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239AAC 00236A0C 80 7A 00 0C */ lwz r3, 0xc(r26) /* 80239AB0 00236A10 7C 63 02 14 */ add r3, r3, r0 /* 80239AB4 00236A14 41 82 00 54 */ beq lbl_80239B08 /* 80239AB8 00236A18 A0 03 00 00 */ lhz r0, 0(r3) /* 80239ABC 00236A1C B0 04 00 00 */ sth r0, 0(r4) /* 80239AC0 00236A20 80 03 00 04 */ lwz r0, 4(r3) /* 80239AC4 00236A24 90 04 00 04 */ stw r0, 4(r4) /* 80239AC8 00236A28 80 03 00 08 */ lwz r0, 8(r3) /* 80239ACC 00236A2C 90 04 00 08 */ stw r0, 8(r4) /* 80239AD0 00236A30 80 03 00 0C */ lwz r0, 0xc(r3) /* 80239AD4 00236A34 90 04 00 0C */ stw r0, 0xc(r4) /* 80239AD8 00236A38 80 03 00 10 */ lwz r0, 0x10(r3) /* 80239ADC 00236A3C 90 04 00 10 */ stw r0, 0x10(r4) /* 80239AE0 00236A40 80 03 00 14 */ lwz r0, 0x14(r3) /* 80239AE4 00236A44 90 04 00 14 */ stw r0, 0x14(r4) /* 80239AE8 00236A48 80 03 00 18 */ lwz r0, 0x18(r3) /* 80239AEC 00236A4C 90 04 00 18 */ stw r0, 0x18(r4) /* 80239AF0 00236A50 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 80239AF4 00236A54 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 80239AF8 00236A58 C0 03 00 20 */ lfs f0, 0x20(r3) /* 80239AFC 00236A5C D0 04 00 20 */ stfs f0, 0x20(r4) /* 80239B00 00236A60 C0 03 00 24 */ lfs f0, 0x24(r3) /* 80239B04 00236A64 D0 04 00 24 */ stfs f0, 0x24(r4) lbl_80239B08: /* 80239B08 00236A68 38 84 FF D8 */ addi r4, r4, -40 /* 80239B0C 00236A6C 39 08 FF FF */ addi r8, r8, -1 /* 80239B10 00236A70 42 00 FF 90 */ bdnz lbl_80239AA0 lbl_80239B14: /* 80239B14 00236A74 7F 69 03 A6 */ mtctr r27 /* 80239B18 00236A78 2C 1B 00 00 */ cmpwi r27, 0 /* 80239B1C 00236A7C 40 81 00 64 */ ble lbl_80239B80 lbl_80239B20: /* 80239B20 00236A80 28 06 00 00 */ cmplwi r6, 0 /* 80239B24 00236A84 41 82 00 54 */ beq lbl_80239B78 /* 80239B28 00236A88 A0 1E 00 00 */ lhz r0, 0(r30) /* 80239B2C 00236A8C B0 06 00 00 */ sth r0, 0(r6) /* 80239B30 00236A90 80 1E 00 04 */ lwz r0, 4(r30) /* 80239B34 00236A94 90 06 00 04 */ stw r0, 4(r6) /* 80239B38 00236A98 80 1E 00 08 */ lwz r0, 8(r30) /* 80239B3C 00236A9C 90 06 00 08 */ stw r0, 8(r6) /* 80239B40 00236AA0 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80239B44 00236AA4 90 06 00 0C */ stw r0, 0xc(r6) /* 80239B48 00236AA8 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80239B4C 00236AAC 90 06 00 10 */ stw r0, 0x10(r6) /* 80239B50 00236AB0 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80239B54 00236AB4 90 06 00 14 */ stw r0, 0x14(r6) /* 80239B58 00236AB8 80 1E 00 18 */ lwz r0, 0x18(r30) /* 80239B5C 00236ABC 90 06 00 18 */ stw r0, 0x18(r6) /* 80239B60 00236AC0 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 80239B64 00236AC4 D0 06 00 1C */ stfs f0, 0x1c(r6) /* 80239B68 00236AC8 C0 1E 00 20 */ lfs f0, 0x20(r30) /* 80239B6C 00236ACC D0 06 00 20 */ stfs f0, 0x20(r6) /* 80239B70 00236AD0 C0 1E 00 24 */ lfs f0, 0x24(r30) /* 80239B74 00236AD4 D0 06 00 24 */ stfs f0, 0x24(r6) lbl_80239B78: /* 80239B78 00236AD8 38 C6 00 28 */ addi r6, r6, 0x28 /* 80239B7C 00236ADC 42 00 FF A4 */ bdnz lbl_80239B20 lbl_80239B80: /* 80239B80 00236AE0 80 1A 00 04 */ lwz r0, 4(r26) /* 80239B84 00236AE4 7C 00 DA 14 */ add r0, r0, r27 /* 80239B88 00236AE8 90 1A 00 04 */ stw r0, 4(r26) /* 80239B8C 00236AEC 48 00 02 3C */ b lbl_80239DC8 lbl_80239B90: /* 80239B90 00236AF0 2C 03 00 00 */ cmpwi r3, 0 /* 80239B94 00236AF4 38 00 00 04 */ li r0, 4 /* 80239B98 00236AF8 41 82 00 08 */ beq lbl_80239BA0 /* 80239B9C 00236AFC 54 60 08 3C */ slwi r0, r3, 1 lbl_80239BA0: /* 80239BA0 00236B00 7C 1C 03 78 */ mr r28, r0 /* 80239BA4 00236B04 48 00 00 08 */ b lbl_80239BAC lbl_80239BA8: /* 80239BA8 00236B08 57 9C 08 3C */ slwi r28, r28, 1 lbl_80239BAC: /* 80239BAC 00236B0C 7C 1C 20 00 */ cmpw r28, r4 /* 80239BB0 00236B10 41 80 FF F8 */ blt lbl_80239BA8 /* 80239BB4 00236B14 1C 7C 00 28 */ mulli r3, r28, 0x28 /* 80239BB8 00236B18 2C 03 00 00 */ cmpwi r3, 0 /* 80239BBC 00236B1C 40 82 00 0C */ bne lbl_80239BC8 /* 80239BC0 00236B20 3B E0 00 00 */ li r31, 0 /* 80239BC4 00236B24 48 00 00 18 */ b lbl_80239BDC lbl_80239BC8: /* 80239BC8 00236B28 3C 80 80 3D */ lis r4, lbl_803D4380@ha /* 80239BCC 00236B2C 38 A0 00 00 */ li r5, 0 /* 80239BD0 00236B30 38 84 43 80 */ addi r4, r4, lbl_803D4380@l /* 80239BD4 00236B34 48 0D BC 45 */ bl __nwa__FUlPCcPCc /* 80239BD8 00236B38 7C 7F 1B 78 */ mr r31, r3 lbl_80239BDC: /* 80239BDC 00236B3C 80 9A 00 0C */ lwz r4, 0xc(r26) /* 80239BE0 00236B40 3C 60 66 66 */ lis r3, 0x66666667@ha /* 80239BE4 00236B44 80 19 00 00 */ lwz r0, 0(r25) /* 80239BE8 00236B48 38 A3 66 67 */ addi r5, r3, 0x66666667@l /* 80239BEC 00236B4C 7F E7 FB 78 */ mr r7, r31 /* 80239BF0 00236B50 38 60 00 00 */ li r3, 0 /* 80239BF4 00236B54 7C 04 00 50 */ subf r0, r4, r0 /* 80239BF8 00236B58 38 C0 00 00 */ li r6, 0 /* 80239BFC 00236B5C 7C 05 00 96 */ mulhw r0, r5, r0 /* 80239C00 00236B60 7C 00 26 70 */ srawi r0, r0, 4 /* 80239C04 00236B64 54 04 0F FE */ srwi r4, r0, 0x1f /* 80239C08 00236B68 7C A0 22 15 */ add. r5, r0, r4 /* 80239C0C 00236B6C 7C A9 03 A6 */ mtctr r5 /* 80239C10 00236B70 40 81 00 74 */ ble lbl_80239C84 lbl_80239C14: /* 80239C14 00236B74 80 1A 00 0C */ lwz r0, 0xc(r26) /* 80239C18 00236B78 28 07 00 00 */ cmplwi r7, 0 /* 80239C1C 00236B7C 7C 80 32 14 */ add r4, r0, r6 /* 80239C20 00236B80 41 82 00 54 */ beq lbl_80239C74 /* 80239C24 00236B84 A0 04 00 00 */ lhz r0, 0(r4) /* 80239C28 00236B88 B0 07 00 00 */ sth r0, 0(r7) /* 80239C2C 00236B8C 80 04 00 04 */ lwz r0, 4(r4) /* 80239C30 00236B90 90 07 00 04 */ stw r0, 4(r7) /* 80239C34 00236B94 80 04 00 08 */ lwz r0, 8(r4) /* 80239C38 00236B98 90 07 00 08 */ stw r0, 8(r7) /* 80239C3C 00236B9C 80 04 00 0C */ lwz r0, 0xc(r4) /* 80239C40 00236BA0 90 07 00 0C */ stw r0, 0xc(r7) /* 80239C44 00236BA4 80 04 00 10 */ lwz r0, 0x10(r4) /* 80239C48 00236BA8 90 07 00 10 */ stw r0, 0x10(r7) /* 80239C4C 00236BAC 80 04 00 14 */ lwz r0, 0x14(r4) /* 80239C50 00236BB0 90 07 00 14 */ stw r0, 0x14(r7) /* 80239C54 00236BB4 80 04 00 18 */ lwz r0, 0x18(r4) /* 80239C58 00236BB8 90 07 00 18 */ stw r0, 0x18(r7) /* 80239C5C 00236BBC C0 04 00 1C */ lfs f0, 0x1c(r4) /* 80239C60 00236BC0 D0 07 00 1C */ stfs f0, 0x1c(r7) /* 80239C64 00236BC4 C0 04 00 20 */ lfs f0, 0x20(r4) /* 80239C68 00236BC8 D0 07 00 20 */ stfs f0, 0x20(r7) /* 80239C6C 00236BCC C0 04 00 24 */ lfs f0, 0x24(r4) /* 80239C70 00236BD0 D0 07 00 24 */ stfs f0, 0x24(r7) lbl_80239C74: /* 80239C74 00236BD4 38 E7 00 28 */ addi r7, r7, 0x28 /* 80239C78 00236BD8 38 63 00 01 */ addi r3, r3, 1 /* 80239C7C 00236BDC 38 C6 00 28 */ addi r6, r6, 0x28 /* 80239C80 00236BE0 42 00 FF 94 */ bdnz lbl_80239C14 lbl_80239C84: /* 80239C84 00236BE4 1C 03 00 28 */ mulli r0, r3, 0x28 /* 80239C88 00236BE8 7C 9F 02 14 */ add r4, r31, r0 /* 80239C8C 00236BEC 7F 69 03 A6 */ mtctr r27 /* 80239C90 00236BF0 2C 1B 00 00 */ cmpwi r27, 0 /* 80239C94 00236BF4 40 81 00 68 */ ble lbl_80239CFC lbl_80239C98: /* 80239C98 00236BF8 28 04 00 00 */ cmplwi r4, 0 /* 80239C9C 00236BFC 41 82 00 54 */ beq lbl_80239CF0 /* 80239CA0 00236C00 A0 1E 00 00 */ lhz r0, 0(r30) /* 80239CA4 00236C04 B0 04 00 00 */ sth r0, 0(r4) /* 80239CA8 00236C08 80 1E 00 04 */ lwz r0, 4(r30) /* 80239CAC 00236C0C 90 04 00 04 */ stw r0, 4(r4) /* 80239CB0 00236C10 80 1E 00 08 */ lwz r0, 8(r30) /* 80239CB4 00236C14 90 04 00 08 */ stw r0, 8(r4) /* 80239CB8 00236C18 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80239CBC 00236C1C 90 04 00 0C */ stw r0, 0xc(r4) /* 80239CC0 00236C20 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80239CC4 00236C24 90 04 00 10 */ stw r0, 0x10(r4) /* 80239CC8 00236C28 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80239CCC 00236C2C 90 04 00 14 */ stw r0, 0x14(r4) /* 80239CD0 00236C30 80 1E 00 18 */ lwz r0, 0x18(r30) /* 80239CD4 00236C34 90 04 00 18 */ stw r0, 0x18(r4) /* 80239CD8 00236C38 C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 80239CDC 00236C3C D0 04 00 1C */ stfs f0, 0x1c(r4) /* 80239CE0 00236C40 C0 1E 00 20 */ lfs f0, 0x20(r30) /* 80239CE4 00236C44 D0 04 00 20 */ stfs f0, 0x20(r4) /* 80239CE8 00236C48 C0 1E 00 24 */ lfs f0, 0x24(r30) /* 80239CEC 00236C4C D0 04 00 24 */ stfs f0, 0x24(r4) lbl_80239CF0: /* 80239CF0 00236C50 38 84 00 28 */ addi r4, r4, 0x28 /* 80239CF4 00236C54 38 63 00 01 */ addi r3, r3, 1 /* 80239CF8 00236C58 42 00 FF A0 */ bdnz lbl_80239C98 lbl_80239CFC: /* 80239CFC 00236C5C 1C 03 00 28 */ mulli r0, r3, 0x28 /* 80239D00 00236C60 7C A6 2B 78 */ mr r6, r5 /* 80239D04 00236C64 1C 85 00 28 */ mulli r4, r5, 0x28 /* 80239D08 00236C68 7C BF 02 14 */ add r5, r31, r0 /* 80239D0C 00236C6C 48 00 00 70 */ b lbl_80239D7C lbl_80239D10: /* 80239D10 00236C70 80 1A 00 0C */ lwz r0, 0xc(r26) /* 80239D14 00236C74 28 05 00 00 */ cmplwi r5, 0 /* 80239D18 00236C78 7C 60 22 14 */ add r3, r0, r4 /* 80239D1C 00236C7C 41 82 00 54 */ beq lbl_80239D70 /* 80239D20 00236C80 A0 03 00 00 */ lhz r0, 0(r3) /* 80239D24 00236C84 B0 05 00 00 */ sth r0, 0(r5) /* 80239D28 00236C88 80 03 00 04 */ lwz r0, 4(r3) /* 80239D2C 00236C8C 90 05 00 04 */ stw r0, 4(r5) /* 80239D30 00236C90 80 03 00 08 */ lwz r0, 8(r3) /* 80239D34 00236C94 90 05 00 08 */ stw r0, 8(r5) /* 80239D38 00236C98 80 03 00 0C */ lwz r0, 0xc(r3) /* 80239D3C 00236C9C 90 05 00 0C */ stw r0, 0xc(r5) /* 80239D40 00236CA0 80 03 00 10 */ lwz r0, 0x10(r3) /* 80239D44 00236CA4 90 05 00 10 */ stw r0, 0x10(r5) /* 80239D48 00236CA8 80 03 00 14 */ lwz r0, 0x14(r3) /* 80239D4C 00236CAC 90 05 00 14 */ stw r0, 0x14(r5) /* 80239D50 00236CB0 80 03 00 18 */ lwz r0, 0x18(r3) /* 80239D54 00236CB4 90 05 00 18 */ stw r0, 0x18(r5) /* 80239D58 00236CB8 C0 03 00 1C */ lfs f0, 0x1c(r3) /* 80239D5C 00236CBC D0 05 00 1C */ stfs f0, 0x1c(r5) /* 80239D60 00236CC0 C0 03 00 20 */ lfs f0, 0x20(r3) /* 80239D64 00236CC4 D0 05 00 20 */ stfs f0, 0x20(r5) /* 80239D68 00236CC8 C0 03 00 24 */ lfs f0, 0x24(r3) /* 80239D6C 00236CCC D0 05 00 24 */ stfs f0, 0x24(r5) lbl_80239D70: /* 80239D70 00236CD0 38 A5 00 28 */ addi r5, r5, 0x28 /* 80239D74 00236CD4 38 84 00 28 */ addi r4, r4, 0x28 /* 80239D78 00236CD8 38 C6 00 01 */ addi r6, r6, 1 lbl_80239D7C: /* 80239D7C 00236CDC 80 1A 00 04 */ lwz r0, 4(r26) /* 80239D80 00236CE0 7C 06 00 00 */ cmpw r6, r0 /* 80239D84 00236CE4 41 80 FF 8C */ blt lbl_80239D10 /* 80239D88 00236CE8 1C 00 00 28 */ mulli r0, r0, 0x28 /* 80239D8C 00236CEC 7F A3 EB 78 */ mr r3, r29 /* 80239D90 00236CF0 7C 1D 02 14 */ add r0, r29, r0 /* 80239D94 00236CF4 48 00 00 08 */ b lbl_80239D9C lbl_80239D98: /* 80239D98 00236CF8 38 63 00 28 */ addi r3, r3, 0x28 lbl_80239D9C: /* 80239D9C 00236CFC 7C 03 00 40 */ cmplw r3, r0 /* 80239DA0 00236D00 40 82 FF F8 */ bne lbl_80239D98 /* 80239DA4 00236D04 80 7A 00 0C */ lwz r3, 0xc(r26) /* 80239DA8 00236D08 28 03 00 00 */ cmplwi r3, 0 /* 80239DAC 00236D0C 41 82 00 08 */ beq lbl_80239DB4 /* 80239DB0 00236D10 48 0D BB 81 */ bl Free__7CMemoryFPCv lbl_80239DB4: /* 80239DB4 00236D14 93 FA 00 0C */ stw r31, 0xc(r26) /* 80239DB8 00236D18 93 9A 00 08 */ stw r28, 8(r26) /* 80239DBC 00236D1C 80 1A 00 04 */ lwz r0, 4(r26) /* 80239DC0 00236D20 7C 00 DA 14 */ add r0, r0, r27 /* 80239DC4 00236D24 90 1A 00 04 */ stw r0, 4(r26) lbl_80239DC8: /* 80239DC8 00236D28 BB 21 00 14 */ lmw r25, 0x14(r1) /* 80239DCC 00236D2C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80239DD0 00236D30 7C 08 03 A6 */ mtlr r0 /* 80239DD4 00236D34 38 21 00 30 */ addi r1, r1, 0x30 /* 80239DD8 00236D38 4E 80 00 20 */ blr .global Think__10CTeamAiMgrFfR13CStateManager Think__10CTeamAiMgrFfR13CStateManager: /* 80239DDC 00236D3C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80239DE0 00236D40 7C 08 02 A6 */ mflr r0 /* 80239DE4 00236D44 90 01 00 24 */ stw r0, 0x24(r1) /* 80239DE8 00236D48 DB E1 00 10 */ stfd f31, 0x10(r1) /* 80239DEC 00236D4C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 80239DF0 00236D50 93 E1 00 0C */ stw r31, 0xc(r1) /* 80239DF4 00236D54 93 C1 00 08 */ stw r30, 8(r1) /* 80239DF8 00236D58 FF E0 08 90 */ fmr f31, f1 /* 80239DFC 00236D5C 7C 7E 1B 78 */ mr r30, r3 /* 80239E00 00236D60 7C 9F 23 78 */ mr r31, r4 /* 80239E04 00236D64 4B E1 72 B5 */ bl Think__7CEntityFfR13CStateManager /* 80239E08 00236D68 FC 20 F8 90 */ fmr f1, f31 /* 80239E0C 00236D6C 7F C3 F3 78 */ mr r3, r30 /* 80239E10 00236D70 4B FF E6 49 */ bl ShouldUpdateRoles__10CTeamAiMgrFf /* 80239E14 00236D74 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80239E18 00236D78 41 82 00 10 */ beq lbl_80239E28 /* 80239E1C 00236D7C 7F C3 F3 78 */ mr r3, r30 /* 80239E20 00236D80 7F E4 FB 78 */ mr r4, r31 /* 80239E24 00236D84 4B FF E4 5D */ bl UpdateRoles__10CTeamAiMgrFR13CStateManager lbl_80239E28: /* 80239E28 00236D88 7F C3 F3 78 */ mr r3, r30 /* 80239E2C 00236D8C 7F E4 FB 78 */ mr r4, r31 /* 80239E30 00236D90 4B FF E1 F5 */ bl PositionTeam__10CTeamAiMgrFR13CStateManager /* 80239E34 00236D94 C0 1E 00 90 */ lfs f0, 0x90(r30) /* 80239E38 00236D98 EC 00 F8 2A */ fadds f0, f0, f31 /* 80239E3C 00236D9C D0 1E 00 90 */ stfs f0, 0x90(r30) /* 80239E40 00236DA0 C0 1E 00 94 */ lfs f0, 0x94(r30) /* 80239E44 00236DA4 EC 00 F8 2A */ fadds f0, f0, f31 /* 80239E48 00236DA8 D0 1E 00 94 */ stfs f0, 0x94(r30) /* 80239E4C 00236DAC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 80239E50 00236DB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80239E54 00236DB4 CB E1 00 10 */ lfd f31, 0x10(r1) /* 80239E58 00236DB8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80239E5C 00236DBC 83 C1 00 08 */ lwz r30, 8(r1) /* 80239E60 00236DC0 7C 08 03 A6 */ mtlr r0 /* 80239E64 00236DC4 38 21 00 20 */ addi r1, r1, 0x20 /* 80239E68 00236DC8 4E 80 00 20 */ blr .global Accept__10CTeamAiMgrFR8IVisitor Accept__10CTeamAiMgrFR8IVisitor: /* 80239E6C 00236DCC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80239E70 00236DD0 7C 08 02 A6 */ mflr r0 /* 80239E74 00236DD4 90 01 00 14 */ stw r0, 0x14(r1) /* 80239E78 00236DD8 7C 60 1B 78 */ mr r0, r3 /* 80239E7C 00236DDC 7C 83 23 78 */ mr r3, r4 /* 80239E80 00236DE0 81 84 00 00 */ lwz r12, 0(r4) /* 80239E84 00236DE4 7C 04 03 78 */ mr r4, r0 /* 80239E88 00236DE8 81 8C 00 C4 */ lwz r12, 0xc4(r12) /* 80239E8C 00236DEC 7D 89 03 A6 */ mtctr r12 /* 80239E90 00236DF0 4E 80 04 21 */ bctrl /* 80239E94 00236DF4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80239E98 00236DF8 7C 08 03 A6 */ mtlr r0 /* 80239E9C 00236DFC 38 21 00 10 */ addi r1, r1, 0x10 /* 80239EA0 00236E00 4E 80 00 20 */ blr .global AcceptScriptMsg__10CTeamAiMgrF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__10CTeamAiMgrF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80239EA4 00236E04 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80239EA8 00236E08 7C 08 02 A6 */ mflr r0 /* 80239EAC 00236E0C 90 01 00 14 */ stw r0, 0x14(r1) /* 80239EB0 00236E10 A0 05 00 00 */ lhz r0, 0(r5) /* 80239EB4 00236E14 38 A1 00 08 */ addi r5, r1, 8 /* 80239EB8 00236E18 B0 01 00 08 */ sth r0, 8(r1) /* 80239EBC 00236E1C 4B E1 72 A1 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 80239EC0 00236E20 80 01 00 14 */ lwz r0, 0x14(r1) /* 80239EC4 00236E24 7C 08 03 A6 */ mtlr r0 /* 80239EC8 00236E28 38 21 00 10 */ addi r1, r1, 0x10 /* 80239ECC 00236E2C 4E 80 00 20 */ blr .global ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb: /* 80239ED0 00236E30 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80239ED4 00236E34 7C 08 02 A6 */ mflr r0 /* 80239ED8 00236E38 90 01 00 44 */ stw r0, 0x44(r1) /* 80239EDC 00236E3C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80239EE0 00236E40 93 C1 00 38 */ stw r30, 0x38(r1) /* 80239EE4 00236E44 7C FE 3B 78 */ mr r30, r7 /* 80239EE8 00236E48 93 A1 00 34 */ stw r29, 0x34(r1) /* 80239EEC 00236E4C 7C DD 33 78 */ mr r29, r6 /* 80239EF0 00236E50 93 81 00 30 */ stw r28, 0x30(r1) /* 80239EF4 00236E54 7C 7C 1B 78 */ mr r28, r3 /* 80239EF8 00236E58 7C 83 23 78 */ mr r3, r4 /* 80239EFC 00236E5C 38 81 00 20 */ addi r4, r1, 0x20 /* 80239F00 00236E60 A0 05 00 00 */ lhz r0, 0(r5) /* 80239F04 00236E64 B0 01 00 20 */ sth r0, 0x20(r1) /* 80239F08 00236E68 4B E1 26 6D */ bl ObjectById__13CStateManagerF9TUniqueId /* 80239F0C 00236E6C 7C 64 1B 78 */ mr r4, r3 /* 80239F10 00236E70 38 61 00 24 */ addi r3, r1, 0x24 /* 80239F14 00236E74 4B E6 D6 61 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 80239F18 00236E78 83 E3 00 04 */ lwz r31, 4(r3) /* 80239F1C 00236E7C 28 1F 00 00 */ cmplwi r31, 0 /* 80239F20 00236E80 41 82 00 B0 */ beq lbl_80239FD0 /* 80239F24 00236E84 A0 1D 00 00 */ lhz r0, 0(r29) /* 80239F28 00236E88 7F E3 FB 78 */ mr r3, r31 /* 80239F2C 00236E8C 38 81 00 1C */ addi r4, r1, 0x1c /* 80239F30 00236E90 B0 01 00 1C */ sth r0, 0x1c(r1) /* 80239F34 00236E94 4B FF F1 D1 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 80239F38 00236E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80239F3C 00236E9C 41 82 00 94 */ beq lbl_80239FD0 /* 80239F40 00236EA0 2C 1C 00 00 */ cmpwi r28, 0 /* 80239F44 00236EA4 40 82 00 38 */ bne lbl_80239F7C /* 80239F48 00236EA8 A0 1D 00 00 */ lhz r0, 0(r29) /* 80239F4C 00236EAC 7F E3 FB 78 */ mr r3, r31 /* 80239F50 00236EB0 38 81 00 18 */ addi r4, r1, 0x18 /* 80239F54 00236EB4 B0 01 00 18 */ sth r0, 0x18(r1) /* 80239F58 00236EB8 4B FF EF CD */ bl IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId /* 80239F5C 00236EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80239F60 00236EC0 41 82 00 54 */ beq lbl_80239FB4 /* 80239F64 00236EC4 A0 1D 00 00 */ lhz r0, 0(r29) /* 80239F68 00236EC8 7F E3 FB 78 */ mr r3, r31 /* 80239F6C 00236ECC 38 81 00 14 */ addi r4, r1, 0x14 /* 80239F70 00236ED0 B0 01 00 14 */ sth r0, 0x14(r1) /* 80239F74 00236ED4 4B FF EC 59 */ bl RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId /* 80239F78 00236ED8 48 00 00 3C */ b lbl_80239FB4 lbl_80239F7C: /* 80239F7C 00236EDC 2C 1C 00 01 */ cmpwi r28, 1 /* 80239F80 00236EE0 40 82 00 34 */ bne lbl_80239FB4 /* 80239F84 00236EE4 A0 1D 00 00 */ lhz r0, 0(r29) /* 80239F88 00236EE8 7F E3 FB 78 */ mr r3, r31 /* 80239F8C 00236EEC 38 81 00 10 */ addi r4, r1, 0x10 /* 80239F90 00236EF0 B0 01 00 10 */ sth r0, 0x10(r1) /* 80239F94 00236EF4 4B FF EB 6D */ bl IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId /* 80239F98 00236EF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80239F9C 00236EFC 41 82 00 18 */ beq lbl_80239FB4 /* 80239FA0 00236F00 A0 1D 00 00 */ lhz r0, 0(r29) /* 80239FA4 00236F04 7F E3 FB 78 */ mr r3, r31 /* 80239FA8 00236F08 38 81 00 0C */ addi r4, r1, 0xc /* 80239FAC 00236F0C B0 01 00 0C */ sth r0, 0xc(r1) /* 80239FB0 00236F10 4B FF E5 35 */ bl RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId lbl_80239FB4: /* 80239FB4 00236F14 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 80239FB8 00236F18 41 82 00 18 */ beq lbl_80239FD0 /* 80239FBC 00236F1C A0 1D 00 00 */ lhz r0, 0(r29) /* 80239FC0 00236F20 7F E3 FB 78 */ mr r3, r31 /* 80239FC4 00236F24 38 81 00 08 */ addi r4, r1, 8 /* 80239FC8 00236F28 B0 01 00 08 */ sth r0, 8(r1) /* 80239FCC 00236F2C 4B FF F2 6D */ bl ClearTeamAiRole__10CTeamAiMgrF9TUniqueId lbl_80239FD0: /* 80239FD0 00236F30 80 01 00 44 */ lwz r0, 0x44(r1) /* 80239FD4 00236F34 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80239FD8 00236F38 83 C1 00 38 */ lwz r30, 0x38(r1) /* 80239FDC 00236F3C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80239FE0 00236F40 83 81 00 30 */ lwz r28, 0x30(r1) /* 80239FE4 00236F44 7C 08 03 A6 */ mtlr r0 /* 80239FE8 00236F48 38 21 00 40 */ addi r1, r1, 0x40 /* 80239FEC 00236F4C 4E 80 00 20 */ blr .global AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId: /* 80239FF0 00236F50 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80239FF4 00236F54 7C 08 02 A6 */ mflr r0 /* 80239FF8 00236F58 90 01 00 34 */ stw r0, 0x34(r1) /* 80239FFC 00236F5C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023A000 00236F60 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023A004 00236F64 7C DE 33 78 */ mr r30, r6 /* 8023A008 00236F68 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023A00C 00236F6C 7C 7D 1B 78 */ mr r29, r3 /* 8023A010 00236F70 7C 83 23 78 */ mr r3, r4 /* 8023A014 00236F74 38 81 00 14 */ addi r4, r1, 0x14 /* 8023A018 00236F78 A0 05 00 00 */ lhz r0, 0(r5) /* 8023A01C 00236F7C B0 01 00 14 */ sth r0, 0x14(r1) /* 8023A020 00236F80 4B E1 25 55 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023A024 00236F84 7C 64 1B 78 */ mr r4, r3 /* 8023A028 00236F88 38 61 00 18 */ addi r3, r1, 0x18 /* 8023A02C 00236F8C 4B E6 D5 49 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 8023A030 00236F90 83 E3 00 04 */ lwz r31, 4(r3) /* 8023A034 00236F94 28 1F 00 00 */ cmplwi r31, 0 /* 8023A038 00236F98 41 82 00 60 */ beq lbl_8023A098 /* 8023A03C 00236F9C A0 1E 00 00 */ lhz r0, 0(r30) /* 8023A040 00236FA0 7F E3 FB 78 */ mr r3, r31 /* 8023A044 00236FA4 38 81 00 10 */ addi r4, r1, 0x10 /* 8023A048 00236FA8 B0 01 00 10 */ sth r0, 0x10(r1) /* 8023A04C 00236FAC 4B FF F0 B9 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 8023A050 00236FB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023A054 00236FB4 41 82 00 44 */ beq lbl_8023A098 /* 8023A058 00236FB8 2C 1D 00 00 */ cmpwi r29, 0 /* 8023A05C 00236FBC 40 82 00 1C */ bne lbl_8023A078 /* 8023A060 00236FC0 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023A064 00236FC4 7F E3 FB 78 */ mr r3, r31 /* 8023A068 00236FC8 38 81 00 0C */ addi r4, r1, 0xc /* 8023A06C 00236FCC B0 01 00 0C */ sth r0, 0xc(r1) /* 8023A070 00236FD0 4B FF EC 3D */ bl AddMeleeAttacker__10CTeamAiMgrF9TUniqueId /* 8023A074 00236FD4 48 00 00 28 */ b lbl_8023A09C lbl_8023A078: /* 8023A078 00236FD8 2C 1D 00 01 */ cmpwi r29, 1 /* 8023A07C 00236FDC 40 82 00 1C */ bne lbl_8023A098 /* 8023A080 00236FE0 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023A084 00236FE4 7F E3 FB 78 */ mr r3, r31 /* 8023A088 00236FE8 38 81 00 08 */ addi r4, r1, 8 /* 8023A08C 00236FEC B0 01 00 08 */ sth r0, 8(r1) /* 8023A090 00236FF0 4B FF E5 35 */ bl AddProjectileAttacker__10CTeamAiMgrF9TUniqueId /* 8023A094 00236FF4 48 00 00 08 */ b lbl_8023A09C lbl_8023A098: /* 8023A098 00236FF8 38 60 00 00 */ li r3, 0 lbl_8023A09C: /* 8023A09C 00236FFC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023A0A0 00237000 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023A0A4 00237004 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023A0A8 00237008 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023A0AC 0023700C 7C 08 03 A6 */ mtlr r0 /* 8023A0B0 00237010 38 21 00 30 */ addi r1, r1, 0x30 /* 8023A0B4 00237014 4E 80 00 20 */ blr .global CanAcceptAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId CanAcceptAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId: /* 8023A0B8 00237018 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023A0BC 0023701C 7C 08 02 A6 */ mflr r0 /* 8023A0C0 00237020 90 01 00 34 */ stw r0, 0x34(r1) /* 8023A0C4 00237024 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023A0C8 00237028 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023A0CC 0023702C 7C DE 33 78 */ mr r30, r6 /* 8023A0D0 00237030 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023A0D4 00237034 7C 7D 1B 78 */ mr r29, r3 /* 8023A0D8 00237038 7C 83 23 78 */ mr r3, r4 /* 8023A0DC 0023703C 38 81 00 14 */ addi r4, r1, 0x14 /* 8023A0E0 00237040 A0 05 00 00 */ lhz r0, 0(r5) /* 8023A0E4 00237044 B0 01 00 14 */ sth r0, 0x14(r1) /* 8023A0E8 00237048 4B E1 24 8D */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023A0EC 0023704C 7C 64 1B 78 */ mr r4, r3 /* 8023A0F0 00237050 38 61 00 18 */ addi r3, r1, 0x18 /* 8023A0F4 00237054 4B E6 D4 81 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 8023A0F8 00237058 83 E3 00 04 */ lwz r31, 4(r3) /* 8023A0FC 0023705C 28 1F 00 00 */ cmplwi r31, 0 /* 8023A100 00237060 41 82 00 60 */ beq lbl_8023A160 /* 8023A104 00237064 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023A108 00237068 7F E3 FB 78 */ mr r3, r31 /* 8023A10C 0023706C 38 81 00 10 */ addi r4, r1, 0x10 /* 8023A110 00237070 B0 01 00 10 */ sth r0, 0x10(r1) /* 8023A114 00237074 4B FF EF F1 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 8023A118 00237078 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023A11C 0023707C 41 82 00 44 */ beq lbl_8023A160 /* 8023A120 00237080 2C 1D 00 00 */ cmpwi r29, 0 /* 8023A124 00237084 40 82 00 1C */ bne lbl_8023A140 /* 8023A128 00237088 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023A12C 0023708C 7F E3 FB 78 */ mr r3, r31 /* 8023A130 00237090 38 81 00 0C */ addi r4, r1, 0xc /* 8023A134 00237094 B0 01 00 0C */ sth r0, 0xc(r1) /* 8023A138 00237098 4B FF EC F1 */ bl CanAcceptMeleeAttacker__10CTeamAiMgrCF9TUniqueId /* 8023A13C 0023709C 48 00 00 28 */ b lbl_8023A164 lbl_8023A140: /* 8023A140 002370A0 2C 1D 00 01 */ cmpwi r29, 1 /* 8023A144 002370A4 40 82 00 1C */ bne lbl_8023A160 /* 8023A148 002370A8 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023A14C 002370AC 7F E3 FB 78 */ mr r3, r31 /* 8023A150 002370B0 38 81 00 08 */ addi r4, r1, 8 /* 8023A154 002370B4 B0 01 00 08 */ sth r0, 8(r1) /* 8023A158 002370B8 4B FF E8 AD */ bl CanAcceptProjectileAttacker__10CTeamAiMgrCF9TUniqueId /* 8023A15C 002370BC 48 00 00 08 */ b lbl_8023A164 lbl_8023A160: /* 8023A160 002370C0 38 60 00 00 */ li r3, 0 lbl_8023A164: /* 8023A164 002370C4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023A168 002370C8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023A16C 002370CC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023A170 002370D0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023A174 002370D4 7C 08 03 A6 */ mtlr r0 /* 8023A178 002370D8 38 21 00 30 */ addi r1, r1, 0x30 /* 8023A17C 002370DC 4E 80 00 20 */ blr .global GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId: /* 8023A180 002370E0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023A184 002370E4 7C 08 02 A6 */ mflr r0 /* 8023A188 002370E8 90 01 00 24 */ stw r0, 0x24(r1) /* 8023A18C 002370EC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023A190 002370F0 7C BF 2B 78 */ mr r31, r5 /* 8023A194 002370F4 A0 04 00 00 */ lhz r0, 0(r4) /* 8023A198 002370F8 38 81 00 0C */ addi r4, r1, 0xc /* 8023A19C 002370FC B0 01 00 0C */ sth r0, 0xc(r1) /* 8023A1A0 00237100 4B E1 24 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8023A1A4 00237104 7C 64 1B 78 */ mr r4, r3 /* 8023A1A8 00237108 38 61 00 10 */ addi r3, r1, 0x10 /* 8023A1AC 0023710C 4B E6 D3 C9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 8023A1B0 00237110 80 63 00 04 */ lwz r3, 4(r3) /* 8023A1B4 00237114 28 03 00 00 */ cmplwi r3, 0 /* 8023A1B8 00237118 41 82 00 18 */ beq lbl_8023A1D0 /* 8023A1BC 0023711C A0 1F 00 00 */ lhz r0, 0(r31) /* 8023A1C0 00237120 38 81 00 08 */ addi r4, r1, 8 /* 8023A1C4 00237124 B0 01 00 08 */ sth r0, 8(r1) /* 8023A1C8 00237128 4B FF F1 85 */ bl GetTeamAiRole__10CTeamAiMgrCF9TUniqueId /* 8023A1CC 0023712C 48 00 00 08 */ b lbl_8023A1D4 lbl_8023A1D0: /* 8023A1D0 00237130 38 60 00 00 */ li r3, 0 lbl_8023A1D4: /* 8023A1D4 00237134 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023A1D8 00237138 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023A1DC 0023713C 7C 08 03 A6 */ mtlr r0 /* 8023A1E0 00237140 38 21 00 20 */ addi r1, r1, 0x20 /* 8023A1E4 00237144 4E 80 00 20 */ blr .global GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager: /* 8023A1E8 00237148 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023A1EC 0023714C 7C 08 02 A6 */ mflr r0 /* 8023A1F0 00237150 90 01 00 34 */ stw r0, 0x34(r1) /* 8023A1F4 00237154 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023A1F8 00237158 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023A1FC 0023715C 7C BE 2B 78 */ mr r30, r5 /* 8023A200 00237160 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023A204 00237164 7C 9D 23 78 */ mr r29, r4 /* 8023A208 00237168 93 81 00 20 */ stw r28, 0x20(r1) /* 8023A20C 0023716C 7C 7C 1B 78 */ mr r28, r3 /* 8023A210 00237170 83 E4 00 2C */ lwz r31, 0x2c(r4) /* 8023A214 00237174 48 00 00 70 */ b lbl_8023A284 lbl_8023A218: /* 8023A218 00237178 80 1F 00 00 */ lwz r0, 0(r31) /* 8023A21C 0023717C 2C 00 00 00 */ cmpwi r0, 0 /* 8023A220 00237180 40 82 00 60 */ bne lbl_8023A280 /* 8023A224 00237184 80 1F 00 04 */ lwz r0, 4(r31) /* 8023A228 00237188 2C 00 00 14 */ cmpwi r0, 0x14 /* 8023A22C 0023718C 40 82 00 54 */ bne lbl_8023A280 /* 8023A230 00237190 80 1F 00 08 */ lwz r0, 8(r31) /* 8023A234 00237194 7F C4 F3 78 */ mr r4, r30 /* 8023A238 00237198 38 61 00 08 */ addi r3, r1, 8 /* 8023A23C 0023719C 38 A1 00 10 */ addi r5, r1, 0x10 /* 8023A240 002371A0 90 01 00 10 */ stw r0, 0x10(r1) /* 8023A244 002371A4 4B E0 DC D9 */ bl GetIdForScript__13CStateManagerCF9TEditorId /* 8023A248 002371A8 A0 01 00 08 */ lhz r0, 8(r1) /* 8023A24C 002371AC 7F C3 F3 78 */ mr r3, r30 /* 8023A250 002371B0 38 81 00 0C */ addi r4, r1, 0xc /* 8023A254 002371B4 B0 01 00 0C */ sth r0, 0xc(r1) /* 8023A258 002371B8 4B E1 23 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 8023A25C 002371BC 7C 64 1B 78 */ mr r4, r3 /* 8023A260 002371C0 38 61 00 14 */ addi r3, r1, 0x14 /* 8023A264 002371C4 4B E6 D3 11 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" /* 8023A268 002371C8 80 63 00 04 */ lwz r3, 4(r3) /* 8023A26C 002371CC 28 03 00 00 */ cmplwi r3, 0 /* 8023A270 002371D0 41 82 00 10 */ beq lbl_8023A280 /* 8023A274 002371D4 A0 03 00 08 */ lhz r0, 8(r3) /* 8023A278 002371D8 B0 1C 00 00 */ sth r0, 0(r28) /* 8023A27C 002371DC 48 00 00 28 */ b lbl_8023A2A4 lbl_8023A280: /* 8023A280 002371E0 3B FF 00 0C */ addi r31, r31, 0xc lbl_8023A284: /* 8023A284 002371E4 80 1D 00 24 */ lwz r0, 0x24(r29) /* 8023A288 002371E8 80 7D 00 2C */ lwz r3, 0x2c(r29) /* 8023A28C 002371EC 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023A290 002371F0 7C 03 02 14 */ add r0, r3, r0 /* 8023A294 002371F4 7C 1F 00 40 */ cmplw r31, r0 /* 8023A298 002371F8 40 82 FF 80 */ bne lbl_8023A218 /* 8023A29C 002371FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8023A2A0 00237200 B0 1C 00 00 */ sth r0, 0(r28) lbl_8023A2A4: /* 8023A2A4 00237204 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023A2A8 00237208 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023A2AC 0023720C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023A2B0 00237210 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023A2B4 00237214 83 81 00 20 */ lwz r28, 0x20(r1) /* 8023A2B8 00237218 7C 08 03 A6 */ mtlr r0 /* 8023A2BC 0023721C 38 21 00 30 */ addi r1, r1, 0x30 /* 8023A2C0 00237220 4E 80 00 20 */ blr .global "__ct__10CTeamAiMgrF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRCQ210CTeamAiMgr8CUnknown" "__ct__10CTeamAiMgrF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRCQ210CTeamAiMgr8CUnknown": /* 8023A2C4 00237224 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023A2C8 00237228 7C 08 02 A6 */ mflr r0 /* 8023A2CC 0023722C 90 01 00 24 */ stw r0, 0x24(r1) /* 8023A2D0 00237230 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023A2D4 00237234 7C 7F 1B 78 */ mr r31, r3 /* 8023A2D8 00237238 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023A2DC 0023723C 7C FE 3B 78 */ mr r30, r7 /* 8023A2E0 00237240 A0 04 00 00 */ lhz r0, 0(r4) /* 8023A2E4 00237244 7C A4 2B 78 */ mr r4, r5 /* 8023A2E8 00237248 7C C5 33 78 */ mr r5, r6 /* 8023A2EC 0023724C 38 C0 00 01 */ li r6, 1 /* 8023A2F0 00237250 B0 01 00 08 */ sth r0, 8(r1) /* 8023A2F4 00237254 7C 87 23 78 */ mr r7, r4 /* 8023A2F8 00237258 38 81 00 08 */ addi r4, r1, 8 /* 8023A2FC 0023725C 4B E1 70 29 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8023A300 00237260 3C 60 80 3F */ lis r3, lbl_803E8558@ha /* 8023A304 00237264 38 00 00 00 */ li r0, 0 /* 8023A308 00237268 38 63 85 58 */ addi r3, r3, lbl_803E8558@l /* 8023A30C 0023726C C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2) /* 8023A310 00237270 90 7F 00 00 */ stw r3, 0(r31) /* 8023A314 00237274 80 7E 00 00 */ lwz r3, 0(r30) /* 8023A318 00237278 90 7F 00 34 */ stw r3, 0x34(r31) /* 8023A31C 0023727C 80 7E 00 04 */ lwz r3, 4(r30) /* 8023A320 00237280 90 7F 00 38 */ stw r3, 0x38(r31) /* 8023A324 00237284 80 7E 00 08 */ lwz r3, 8(r30) /* 8023A328 00237288 90 7F 00 3C */ stw r3, 0x3c(r31) /* 8023A32C 0023728C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8023A330 00237290 90 7F 00 40 */ stw r3, 0x40(r31) /* 8023A334 00237294 80 7E 00 10 */ lwz r3, 0x10(r30) /* 8023A338 00237298 90 7F 00 44 */ stw r3, 0x44(r31) /* 8023A33C 0023729C 80 7E 00 14 */ lwz r3, 0x14(r30) /* 8023A340 002372A0 90 7F 00 48 */ stw r3, 0x48(r31) /* 8023A344 002372A4 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8023A348 002372A8 90 7F 00 4C */ stw r3, 0x4c(r31) /* 8023A34C 002372AC C0 3E 00 1C */ lfs f1, 0x1c(r30) /* 8023A350 002372B0 D0 3F 00 50 */ stfs f1, 0x50(r31) /* 8023A354 002372B4 C0 3E 00 20 */ lfs f1, 0x20(r30) /* 8023A358 002372B8 D0 3F 00 54 */ stfs f1, 0x54(r31) /* 8023A35C 002372BC 90 1F 00 5C */ stw r0, 0x5c(r31) /* 8023A360 002372C0 90 1F 00 60 */ stw r0, 0x60(r31) /* 8023A364 002372C4 90 1F 00 64 */ stw r0, 0x64(r31) /* 8023A368 002372C8 90 1F 00 6C */ stw r0, 0x6c(r31) /* 8023A36C 002372CC 90 1F 00 70 */ stw r0, 0x70(r31) /* 8023A370 002372D0 90 1F 00 74 */ stw r0, 0x74(r31) /* 8023A374 002372D4 90 1F 00 7C */ stw r0, 0x7c(r31) /* 8023A378 002372D8 90 1F 00 80 */ stw r0, 0x80(r31) /* 8023A37C 002372DC 90 1F 00 84 */ stw r0, 0x84(r31) /* 8023A380 002372E0 D0 1F 00 88 */ stfs f0, 0x88(r31) /* 8023A384 002372E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8023A388 002372E8 B0 1F 00 8C */ sth r0, 0x8c(r31) /* 8023A38C 002372EC C0 1E 00 1C */ lfs f0, 0x1c(r30) /* 8023A390 002372F0 D0 1F 00 90 */ stfs f0, 0x90(r31) /* 8023A394 002372F4 C0 1E 00 20 */ lfs f0, 0x20(r30) /* 8023A398 002372F8 D0 1F 00 94 */ stfs f0, 0x94(r31) /* 8023A39C 002372FC 80 9F 00 34 */ lwz r4, 0x34(r31) /* 8023A3A0 00237300 28 04 00 00 */ cmplwi r4, 0 /* 8023A3A4 00237304 41 82 00 0C */ beq lbl_8023A3B0 /* 8023A3A8 00237308 38 7F 00 58 */ addi r3, r31, 0x58 /* 8023A3AC 0023730C 48 00 08 C5 */ bl sub_8023ac70 lbl_8023A3B0: /* 8023A3B0 00237310 80 9F 00 38 */ lwz r4, 0x38(r31) /* 8023A3B4 00237314 28 04 00 00 */ cmplwi r4, 0 /* 8023A3B8 00237318 41 82 00 0C */ beq lbl_8023A3C4 /* 8023A3BC 0023731C 38 7F 00 68 */ addi r3, r31, 0x68 /* 8023A3C0 00237320 4B DD 20 49 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_8023A3C4: /* 8023A3C4 00237324 80 9F 00 3C */ lwz r4, 0x3c(r31) /* 8023A3C8 00237328 28 04 00 00 */ cmplwi r4, 0 /* 8023A3CC 0023732C 41 82 00 0C */ beq lbl_8023A3D8 /* 8023A3D0 00237330 38 7F 00 78 */ addi r3, r31, 0x78 /* 8023A3D4 00237334 4B DD 20 35 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" lbl_8023A3D8: /* 8023A3D8 00237338 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023A3DC 0023733C 7F E3 FB 78 */ mr r3, r31 /* 8023A3E0 00237340 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023A3E4 00237344 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023A3E8 00237348 7C 08 03 A6 */ mtlr r0 /* 8023A3EC 0023734C 38 21 00 20 */ addi r1, r1, 0x20 /* 8023A3F0 00237350 4E 80 00 20 */ blr .global sub_8023a3f4 sub_8023a3f4: /* 8023A3F4 00237354 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023A3F8 00237358 7C 08 02 A6 */ mflr r0 /* 8023A3FC 0023735C 90 01 00 24 */ stw r0, 0x24(r1) /* 8023A400 00237360 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023A404 00237364 7C BF 2B 78 */ mr r31, r5 /* 8023A408 00237368 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023A40C 0023736C 7C 9E 23 78 */ mr r30, r4 /* 8023A410 00237370 93 A1 00 14 */ stw r29, 0x14(r1) /* 8023A414 00237374 7C 7D 1B 78 */ mr r29, r3 /* 8023A418 00237378 7F C3 F3 78 */ mr r3, r30 /* 8023A41C 0023737C 48 10 48 69 */ bl ReadLong__12CInputStreamFv /* 8023A420 00237380 90 7D 00 00 */ stw r3, 0(r29) /* 8023A424 00237384 7F C3 F3 78 */ mr r3, r30 /* 8023A428 00237388 48 10 48 5D */ bl ReadLong__12CInputStreamFv /* 8023A42C 0023738C 90 7D 00 04 */ stw r3, 4(r29) /* 8023A430 00237390 7F C3 F3 78 */ mr r3, r30 /* 8023A434 00237394 48 10 48 51 */ bl ReadLong__12CInputStreamFv /* 8023A438 00237398 90 7D 00 08 */ stw r3, 8(r29) /* 8023A43C 0023739C 7F C3 F3 78 */ mr r3, r30 /* 8023A440 002373A0 48 10 48 45 */ bl ReadLong__12CInputStreamFv /* 8023A444 002373A4 90 7D 00 0C */ stw r3, 0xc(r29) /* 8023A448 002373A8 7F C3 F3 78 */ mr r3, r30 /* 8023A44C 002373AC 48 10 48 39 */ bl ReadLong__12CInputStreamFv /* 8023A450 002373B0 90 7D 00 10 */ stw r3, 0x10(r29) /* 8023A454 002373B4 7F C3 F3 78 */ mr r3, r30 /* 8023A458 002373B8 48 10 48 2D */ bl ReadLong__12CInputStreamFv /* 8023A45C 002373BC 90 7D 00 14 */ stw r3, 0x14(r29) /* 8023A460 002373C0 7F C3 F3 78 */ mr r3, r30 /* 8023A464 002373C4 48 10 48 21 */ bl ReadLong__12CInputStreamFv /* 8023A468 002373C8 2C 1F 00 08 */ cmpwi r31, 8 /* 8023A46C 002373CC 90 7D 00 18 */ stw r3, 0x18(r29) /* 8023A470 002373D0 40 81 00 10 */ ble lbl_8023A480 /* 8023A474 002373D4 7F C3 F3 78 */ mr r3, r30 /* 8023A478 002373D8 48 10 47 B1 */ bl ReadFloat__12CInputStreamFv /* 8023A47C 002373DC 48 00 00 08 */ b lbl_8023A484 lbl_8023A480: /* 8023A480 002373E0 C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2) lbl_8023A484: /* 8023A484 002373E4 2C 1F 00 08 */ cmpwi r31, 8 /* 8023A488 002373E8 D0 3D 00 1C */ stfs f1, 0x1c(r29) /* 8023A48C 002373EC 40 81 00 10 */ ble lbl_8023A49C /* 8023A490 002373F0 7F C3 F3 78 */ mr r3, r30 /* 8023A494 002373F4 48 10 47 95 */ bl ReadFloat__12CInputStreamFv /* 8023A498 002373F8 48 00 00 08 */ b lbl_8023A4A0 lbl_8023A49C: /* 8023A49C 002373FC C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2) lbl_8023A4A0: /* 8023A4A0 00237400 D0 3D 00 20 */ stfs f1, 0x20(r29) /* 8023A4A4 00237404 7F A3 EB 78 */ mr r3, r29 /* 8023A4A8 00237408 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023A4AC 0023740C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023A4B0 00237410 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023A4B4 00237414 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8023A4B8 00237418 7C 08 03 A6 */ mtlr r0 /* 8023A4BC 0023741C 38 21 00 20 */ addi r1, r1, 0x20 /* 8023A4C0 00237420 4E 80 00 20 */ blr .global __lt__11CTeamAiRoleCFRC11CTeamAiRole __lt__11CTeamAiRoleCFRC11CTeamAiRole: /* 8023A4C4 00237424 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023A4C8 00237428 C0 43 00 00 */ lfs f2, 0(r3) /* 8023A4CC 0023742C C0 24 00 1C */ lfs f1, 0x1c(r4) /* 8023A4D0 00237430 C0 05 00 1C */ lfs f0, 0x1c(r5) /* 8023A4D4 00237434 EC A2 08 28 */ fsubs f5, f2, f1 /* 8023A4D8 00237438 C0 83 00 04 */ lfs f4, 4(r3) /* 8023A4DC 0023743C EC 62 00 28 */ fsubs f3, f2, f0 /* 8023A4E0 00237440 C0 24 00 20 */ lfs f1, 0x20(r4) /* 8023A4E4 00237444 C0 05 00 20 */ lfs f0, 0x20(r5) /* 8023A4E8 00237448 EC E4 08 28 */ fsubs f7, f4, f1 /* 8023A4EC 0023744C ED 24 00 28 */ fsubs f9, f4, f0 /* 8023A4F0 00237450 C0 43 00 08 */ lfs f2, 8(r3) /* 8023A4F4 00237454 C0 24 00 24 */ lfs f1, 0x24(r4) /* 8023A4F8 00237458 EC 85 01 72 */ fmuls f4, f5, f5 /* 8023A4FC 0023745C C0 05 00 24 */ lfs f0, 0x24(r5) /* 8023A500 00237460 EC C2 08 28 */ fsubs f6, f2, f1 /* 8023A504 00237464 ED 02 00 28 */ fsubs f8, f2, f0 /* 8023A508 00237468 D0 A1 00 14 */ stfs f5, 0x14(r1) /* 8023A50C 0023746C EC 47 01 F2 */ fmuls f2, f7, f7 /* 8023A510 00237470 80 03 00 0C */ lwz r0, 0xc(r3) /* 8023A514 00237474 EC 23 00 F2 */ fmuls f1, f3, f3 /* 8023A518 00237478 EC 09 02 72 */ fmuls f0, f9, f9 /* 8023A51C 0023747C EC 84 10 2A */ fadds f4, f4, f2 /* 8023A520 00237480 2C 00 00 01 */ cmpwi r0, 1 /* 8023A524 00237484 EC A6 01 B2 */ fmuls f5, f6, f6 /* 8023A528 00237488 D0 E1 00 18 */ stfs f7, 0x18(r1) /* 8023A52C 0023748C EC 01 00 2A */ fadds f0, f1, f0 /* 8023A530 00237490 EC 48 02 32 */ fmuls f2, f8, f8 /* 8023A534 00237494 EC 25 20 2A */ fadds f1, f5, f4 /* 8023A538 00237498 D0 C1 00 1C */ stfs f6, 0x1c(r1) /* 8023A53C 0023749C EC 02 00 2A */ fadds f0, f2, f0 /* 8023A540 002374A0 D0 61 00 08 */ stfs f3, 8(r1) /* 8023A544 002374A4 D1 21 00 0C */ stfs f9, 0xc(r1) /* 8023A548 002374A8 D1 01 00 10 */ stfs f8, 0x10(r1) /* 8023A54C 002374AC 41 82 00 34 */ beq lbl_8023A580 /* 8023A550 002374B0 40 80 00 40 */ bge lbl_8023A590 /* 8023A554 002374B4 2C 00 00 00 */ cmpwi r0, 0 /* 8023A558 002374B8 40 80 00 0C */ bge lbl_8023A564 /* 8023A55C 002374BC 48 00 00 34 */ b lbl_8023A590 /* 8023A560 002374C0 48 00 00 30 */ b lbl_8023A590 lbl_8023A564: /* 8023A564 002374C4 A0 64 00 00 */ lhz r3, 0(r4) /* 8023A568 002374C8 A0 05 00 00 */ lhz r0, 0(r5) /* 8023A56C 002374CC 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 8023A570 002374D0 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 8023A574 002374D4 7C 00 18 50 */ subf r0, r0, r3 /* 8023A578 002374D8 54 03 0F FE */ srwi r3, r0, 0x1f /* 8023A57C 002374DC 48 00 00 48 */ b lbl_8023A5C4 lbl_8023A580: /* 8023A580 002374E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023A584 002374E4 7C 00 00 26 */ mfcr r0 /* 8023A588 002374E8 54 03 0F FE */ srwi r3, r0, 0x1f /* 8023A58C 002374EC 48 00 00 38 */ b lbl_8023A5C4 lbl_8023A590: /* 8023A590 002374F0 80 04 00 10 */ lwz r0, 0x10(r4) /* 8023A594 002374F4 80 85 00 10 */ lwz r4, 0x10(r5) /* 8023A598 002374F8 7C 00 20 00 */ cmpw r0, r4 /* 8023A59C 002374FC 40 82 00 14 */ bne lbl_8023A5B0 /* 8023A5A0 00237500 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023A5A4 00237504 7C 00 00 26 */ mfcr r0 /* 8023A5A8 00237508 54 03 0F FE */ srwi r3, r0, 0x1f /* 8023A5AC 0023750C 48 00 00 18 */ b lbl_8023A5C4 lbl_8023A5B0: /* 8023A5B0 00237510 7C 80 02 78 */ xor r0, r4, r0 /* 8023A5B4 00237514 7C 03 0E 70 */ srawi r3, r0, 1 /* 8023A5B8 00237518 7C 00 20 38 */ and r0, r0, r4 /* 8023A5BC 0023751C 7C 00 18 50 */ subf r0, r0, r3 /* 8023A5C0 00237520 54 03 0F FE */ srwi r3, r0, 0x1f lbl_8023A5C4: /* 8023A5C4 00237524 38 21 00 20 */ addi r1, r1, 0x20 /* 8023A5C8 00237528 4E 80 00 20 */ blr .global "sort_with_custom_comparator>" "sort_with_custom_comparator>": /* 8023A5CC 0023752C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8023A5D0 00237530 7C 08 02 A6 */ mflr r0 /* 8023A5D4 00237534 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8023A5D8 00237538 93 E1 00 AC */ stw r31, 0xac(r1) /* 8023A5DC 0023753C 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 8023A5E0 00237540 7C BE 2B 78 */ mr r30, r5 /* 8023A5E4 00237544 93 A1 00 A4 */ stw r29, 0xa4(r1) /* 8023A5E8 00237548 7C 9D 23 78 */ mr r29, r4 /* 8023A5EC 0023754C 3C 80 66 66 */ lis r4, 0x66666667@ha /* 8023A5F0 00237550 93 81 00 A0 */ stw r28, 0xa0(r1) /* 8023A5F4 00237554 7C 7C 1B 78 */ mr r28, r3 /* 8023A5F8 00237558 38 84 66 67 */ addi r4, r4, 0x66666667@l /* 8023A5FC 0023755C 80 63 00 00 */ lwz r3, 0(r3) /* 8023A600 00237560 80 DD 00 00 */ lwz r6, 0(r29) /* 8023A604 00237564 7C 03 30 50 */ subf r0, r3, r6 /* 8023A608 00237568 7C 04 00 96 */ mulhw r0, r4, r0 /* 8023A60C 0023756C 7C 00 26 70 */ srawi r0, r0, 4 /* 8023A610 00237570 54 04 0F FE */ srwi r4, r0, 0x1f /* 8023A614 00237574 7C 80 22 14 */ add r4, r0, r4 /* 8023A618 00237578 2C 04 00 01 */ cmpwi r4, 1 /* 8023A61C 0023757C 40 81 02 18 */ ble lbl_8023A834 /* 8023A620 00237580 2C 04 00 14 */ cmpwi r4, 0x14 /* 8023A624 00237584 41 81 00 48 */ bgt lbl_8023A66C /* 8023A628 00237588 81 5E 00 00 */ lwz r10, 0(r30) /* 8023A62C 0023758C 38 61 00 24 */ addi r3, r1, 0x24 /* 8023A630 00237590 81 3E 00 04 */ lwz r9, 4(r30) /* 8023A634 00237594 38 81 00 20 */ addi r4, r1, 0x20 /* 8023A638 00237598 81 1E 00 08 */ lwz r8, 8(r30) /* 8023A63C 0023759C 38 A1 00 60 */ addi r5, r1, 0x60 /* 8023A640 002375A0 80 FE 00 0C */ lwz r7, 0xc(r30) /* 8023A644 002375A4 80 DD 00 00 */ lwz r6, 0(r29) /* 8023A648 002375A8 80 1C 00 00 */ lwz r0, 0(r28) /* 8023A64C 002375AC 91 41 00 60 */ stw r10, 0x60(r1) /* 8023A650 002375B0 91 21 00 64 */ stw r9, 0x64(r1) /* 8023A654 002375B4 91 01 00 68 */ stw r8, 0x68(r1) /* 8023A658 002375B8 90 E1 00 6C */ stw r7, 0x6c(r1) /* 8023A65C 002375BC 90 C1 00 20 */ stw r6, 0x20(r1) /* 8023A660 002375C0 90 01 00 24 */ stw r0, 0x24(r1) /* 8023A664 002375C4 48 00 0D 05 */ bl sub_8023b368 /* 8023A668 002375C8 48 00 01 CC */ b lbl_8023A834 lbl_8023A66C: /* 8023A66C 002375CC 54 80 0F FE */ srwi r0, r4, 0x1f /* 8023A670 002375D0 38 A6 FF D8 */ addi r5, r6, -40 /* 8023A674 002375D4 7C 00 22 14 */ add r0, r0, r4 /* 8023A678 002375D8 80 9E 00 00 */ lwz r4, 0(r30) /* 8023A67C 002375DC 7C 00 0E 70 */ srawi r0, r0, 1 /* 8023A680 002375E0 81 1E 00 04 */ lwz r8, 4(r30) /* 8023A684 002375E4 1C C0 00 28 */ mulli r6, r0, 0x28 /* 8023A688 002375E8 80 FE 00 08 */ lwz r7, 8(r30) /* 8023A68C 002375EC 80 1E 00 0C */ lwz r0, 0xc(r30) /* 8023A690 002375F0 90 A1 00 2C */ stw r5, 0x2c(r1) /* 8023A694 002375F4 7F E3 32 14 */ add r31, r3, r6 /* 8023A698 002375F8 90 81 00 50 */ stw r4, 0x50(r1) /* 8023A69C 002375FC 7F E4 FB 78 */ mr r4, r31 /* 8023A6A0 00237600 38 C1 00 50 */ addi r6, r1, 0x50 /* 8023A6A4 00237604 91 01 00 54 */ stw r8, 0x54(r1) /* 8023A6A8 00237608 90 E1 00 58 */ stw r7, 0x58(r1) /* 8023A6AC 0023760C 90 01 00 5C */ stw r0, 0x5c(r1) /* 8023A6B0 00237610 48 00 09 91 */ bl sub_8023b040 /* 8023A6B4 00237614 A0 1F 00 00 */ lhz r0, 0(r31) /* 8023A6B8 00237618 80 9C 00 00 */ lwz r4, 0(r28) /* 8023A6BC 0023761C B0 01 00 70 */ sth r0, 0x70(r1) /* 8023A6C0 00237620 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8023A6C4 00237624 38 84 00 28 */ addi r4, r4, 0x28 /* 8023A6C8 00237628 80 BF 00 04 */ lwz r5, 4(r31) /* 8023A6CC 0023762C 38 03 FF D8 */ addi r0, r3, -40 /* 8023A6D0 00237630 90 81 00 28 */ stw r4, 0x28(r1) /* 8023A6D4 00237634 90 A1 00 74 */ stw r5, 0x74(r1) /* 8023A6D8 00237638 80 7F 00 08 */ lwz r3, 8(r31) /* 8023A6DC 0023763C 90 01 00 2C */ stw r0, 0x2c(r1) /* 8023A6E0 00237640 90 61 00 78 */ stw r3, 0x78(r1) /* 8023A6E4 00237644 80 1F 00 0C */ lwz r0, 0xc(r31) /* 8023A6E8 00237648 90 01 00 7C */ stw r0, 0x7c(r1) /* 8023A6EC 0023764C 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8023A6F0 00237650 90 01 00 80 */ stw r0, 0x80(r1) /* 8023A6F4 00237654 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8023A6F8 00237658 90 01 00 84 */ stw r0, 0x84(r1) /* 8023A6FC 0023765C 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8023A700 00237660 90 01 00 88 */ stw r0, 0x88(r1) /* 8023A704 00237664 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8023A708 00237668 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 8023A70C 0023766C C0 1F 00 20 */ lfs f0, 0x20(r31) /* 8023A710 00237670 D0 01 00 90 */ stfs f0, 0x90(r1) /* 8023A714 00237674 C0 1F 00 24 */ lfs f0, 0x24(r31) /* 8023A718 00237678 D0 01 00 94 */ stfs f0, 0x94(r1) /* 8023A71C 0023767C 48 00 00 10 */ b lbl_8023A72C lbl_8023A720: /* 8023A720 00237680 80 61 00 28 */ lwz r3, 0x28(r1) /* 8023A724 00237684 38 03 00 28 */ addi r0, r3, 0x28 /* 8023A728 00237688 90 01 00 28 */ stw r0, 0x28(r1) lbl_8023A72C: /* 8023A72C 0023768C 80 81 00 28 */ lwz r4, 0x28(r1) /* 8023A730 00237690 7F C3 F3 78 */ mr r3, r30 /* 8023A734 00237694 38 A1 00 70 */ addi r5, r1, 0x70 /* 8023A738 00237698 4B FF FD 8D */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole /* 8023A73C 0023769C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023A740 002376A0 40 82 FF E0 */ bne lbl_8023A720 /* 8023A744 002376A4 48 00 00 10 */ b lbl_8023A754 lbl_8023A748: /* 8023A748 002376A8 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8023A74C 002376AC 38 03 FF D8 */ addi r0, r3, -40 /* 8023A750 002376B0 90 01 00 2C */ stw r0, 0x2c(r1) lbl_8023A754: /* 8023A754 002376B4 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 8023A758 002376B8 7F C3 F3 78 */ mr r3, r30 /* 8023A75C 002376BC 38 81 00 70 */ addi r4, r1, 0x70 /* 8023A760 002376C0 4B FF FD 65 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole /* 8023A764 002376C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023A768 002376C8 40 82 FF E0 */ bne lbl_8023A748 /* 8023A76C 002376CC 80 61 00 28 */ lwz r3, 0x28(r1) /* 8023A770 002376D0 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023A774 002376D4 7C 03 00 40 */ cmplw r3, r0 /* 8023A778 002376D8 40 80 00 3C */ bge lbl_8023A7B4 /* 8023A77C 002376DC 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 8023A780 002376E0 38 61 00 1C */ addi r3, r1, 0x1c /* 8023A784 002376E4 80 01 00 28 */ lwz r0, 0x28(r1) /* 8023A788 002376E8 38 81 00 18 */ addi r4, r1, 0x18 /* 8023A78C 002376EC 90 A1 00 18 */ stw r5, 0x18(r1) /* 8023A790 002376F0 90 01 00 1C */ stw r0, 0x1c(r1) /* 8023A794 002376F4 48 00 00 C1 */ bl __swap__11CTeamAiRoleFRC11CTeamAiRole /* 8023A798 002376F8 80 81 00 28 */ lwz r4, 0x28(r1) /* 8023A79C 002376FC 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8023A7A0 00237700 38 84 00 28 */ addi r4, r4, 0x28 /* 8023A7A4 00237704 38 03 FF D8 */ addi r0, r3, -40 /* 8023A7A8 00237708 90 81 00 28 */ stw r4, 0x28(r1) /* 8023A7AC 0023770C 90 01 00 2C */ stw r0, 0x2c(r1) /* 8023A7B0 00237710 4B FF FF 7C */ b lbl_8023A72C lbl_8023A7B4: /* 8023A7B4 00237714 81 5E 00 00 */ lwz r10, 0(r30) /* 8023A7B8 00237718 38 61 00 14 */ addi r3, r1, 0x14 /* 8023A7BC 0023771C 81 3E 00 04 */ lwz r9, 4(r30) /* 8023A7C0 00237720 38 81 00 10 */ addi r4, r1, 0x10 /* 8023A7C4 00237724 81 1E 00 08 */ lwz r8, 8(r30) /* 8023A7C8 00237728 38 A1 00 40 */ addi r5, r1, 0x40 /* 8023A7CC 0023772C 80 FE 00 0C */ lwz r7, 0xc(r30) /* 8023A7D0 00237730 80 C1 00 28 */ lwz r6, 0x28(r1) /* 8023A7D4 00237734 80 1C 00 00 */ lwz r0, 0(r28) /* 8023A7D8 00237738 91 41 00 40 */ stw r10, 0x40(r1) /* 8023A7DC 0023773C 91 21 00 44 */ stw r9, 0x44(r1) /* 8023A7E0 00237740 91 01 00 48 */ stw r8, 0x48(r1) /* 8023A7E4 00237744 90 E1 00 4C */ stw r7, 0x4c(r1) /* 8023A7E8 00237748 90 C1 00 10 */ stw r6, 0x10(r1) /* 8023A7EC 0023774C 90 01 00 14 */ stw r0, 0x14(r1) /* 8023A7F0 00237750 4B FF FD DD */ bl "sort_with_custom_comparator>" /* 8023A7F4 00237754 81 5E 00 00 */ lwz r10, 0(r30) /* 8023A7F8 00237758 38 61 00 0C */ addi r3, r1, 0xc /* 8023A7FC 0023775C 81 3E 00 04 */ lwz r9, 4(r30) /* 8023A800 00237760 38 81 00 08 */ addi r4, r1, 8 /* 8023A804 00237764 81 1E 00 08 */ lwz r8, 8(r30) /* 8023A808 00237768 38 A1 00 30 */ addi r5, r1, 0x30 /* 8023A80C 0023776C 80 FE 00 0C */ lwz r7, 0xc(r30) /* 8023A810 00237770 80 DD 00 00 */ lwz r6, 0(r29) /* 8023A814 00237774 80 01 00 28 */ lwz r0, 0x28(r1) /* 8023A818 00237778 91 41 00 30 */ stw r10, 0x30(r1) /* 8023A81C 0023777C 91 21 00 34 */ stw r9, 0x34(r1) /* 8023A820 00237780 91 01 00 38 */ stw r8, 0x38(r1) /* 8023A824 00237784 90 E1 00 3C */ stw r7, 0x3c(r1) /* 8023A828 00237788 90 C1 00 08 */ stw r6, 8(r1) /* 8023A82C 0023778C 90 01 00 0C */ stw r0, 0xc(r1) /* 8023A830 00237790 4B FF FD 9D */ bl "sort_with_custom_comparator>" lbl_8023A834: /* 8023A834 00237794 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8023A838 00237798 83 E1 00 AC */ lwz r31, 0xac(r1) /* 8023A83C 0023779C 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 8023A840 002377A0 83 A1 00 A4 */ lwz r29, 0xa4(r1) /* 8023A844 002377A4 83 81 00 A0 */ lwz r28, 0xa0(r1) /* 8023A848 002377A8 7C 08 03 A6 */ mtlr r0 /* 8023A84C 002377AC 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8023A850 002377B0 4E 80 00 20 */ blr .global __swap__11CTeamAiRoleFRC11CTeamAiRole __swap__11CTeamAiRoleFRC11CTeamAiRole: /* 8023A854 002377B4 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023A858 002377B8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8023A85C 002377BC 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023A860 002377C0 93 A1 00 34 */ stw r29, 0x34(r1) /* 8023A864 002377C4 93 81 00 30 */ stw r28, 0x30(r1) /* 8023A868 002377C8 83 83 00 00 */ lwz r28, 0(r3) /* 8023A86C 002377CC 83 A4 00 00 */ lwz r29, 0(r4) /* 8023A870 002377D0 A3 DC 00 00 */ lhz r30, 0(r28) /* 8023A874 002377D4 83 FC 00 04 */ lwz r31, 4(r28) /* 8023A878 002377D8 81 9C 00 08 */ lwz r12, 8(r28) /* 8023A87C 002377DC 81 7C 00 0C */ lwz r11, 0xc(r28) /* 8023A880 002377E0 81 5C 00 10 */ lwz r10, 0x10(r28) /* 8023A884 002377E4 81 3C 00 14 */ lwz r9, 0x14(r28) /* 8023A888 002377E8 81 1C 00 18 */ lwz r8, 0x18(r28) /* 8023A88C 002377EC C0 5C 00 1C */ lfs f2, 0x1c(r28) /* 8023A890 002377F0 C0 3C 00 20 */ lfs f1, 0x20(r28) /* 8023A894 002377F4 C0 1C 00 24 */ lfs f0, 0x24(r28) /* 8023A898 002377F8 A0 1D 00 00 */ lhz r0, 0(r29) /* 8023A89C 002377FC D0 41 00 24 */ stfs f2, 0x24(r1) /* 8023A8A0 00237800 B0 1C 00 00 */ sth r0, 0(r28) /* 8023A8A4 00237804 80 A1 00 24 */ lwz r5, 0x24(r1) /* 8023A8A8 00237808 80 1D 00 04 */ lwz r0, 4(r29) /* 8023A8AC 0023780C D0 21 00 28 */ stfs f1, 0x28(r1) /* 8023A8B0 00237810 90 1C 00 04 */ stw r0, 4(r28) /* 8023A8B4 00237814 80 61 00 28 */ lwz r3, 0x28(r1) /* 8023A8B8 00237818 80 1D 00 08 */ lwz r0, 8(r29) /* 8023A8BC 0023781C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8023A8C0 00237820 90 1C 00 08 */ stw r0, 8(r28) /* 8023A8C4 00237824 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023A8C8 00237828 80 DD 00 0C */ lwz r6, 0xc(r29) /* 8023A8CC 0023782C B3 C1 00 08 */ sth r30, 8(r1) /* 8023A8D0 00237830 90 DC 00 0C */ stw r6, 0xc(r28) /* 8023A8D4 00237834 80 DD 00 10 */ lwz r6, 0x10(r29) /* 8023A8D8 00237838 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023A8DC 0023783C 90 DC 00 10 */ stw r6, 0x10(r28) /* 8023A8E0 00237840 80 DD 00 14 */ lwz r6, 0x14(r29) /* 8023A8E4 00237844 91 81 00 10 */ stw r12, 0x10(r1) /* 8023A8E8 00237848 90 DC 00 14 */ stw r6, 0x14(r28) /* 8023A8EC 0023784C 80 DD 00 18 */ lwz r6, 0x18(r29) /* 8023A8F0 00237850 91 61 00 14 */ stw r11, 0x14(r1) /* 8023A8F4 00237854 90 DC 00 18 */ stw r6, 0x18(r28) /* 8023A8F8 00237858 80 FD 00 1C */ lwz r7, 0x1c(r29) /* 8023A8FC 0023785C 80 DD 00 20 */ lwz r6, 0x20(r29) /* 8023A900 00237860 91 41 00 18 */ stw r10, 0x18(r1) /* 8023A904 00237864 90 FC 00 1C */ stw r7, 0x1c(r28) /* 8023A908 00237868 90 DC 00 20 */ stw r6, 0x20(r28) /* 8023A90C 0023786C 80 DD 00 24 */ lwz r6, 0x24(r29) /* 8023A910 00237870 91 21 00 1C */ stw r9, 0x1c(r1) /* 8023A914 00237874 90 DC 00 24 */ stw r6, 0x24(r28) /* 8023A918 00237878 80 84 00 00 */ lwz r4, 0(r4) /* 8023A91C 0023787C 91 01 00 20 */ stw r8, 0x20(r1) /* 8023A920 00237880 B3 C4 00 00 */ sth r30, 0(r4) /* 8023A924 00237884 93 E4 00 04 */ stw r31, 4(r4) /* 8023A928 00237888 91 84 00 08 */ stw r12, 8(r4) /* 8023A92C 0023788C 91 64 00 0C */ stw r11, 0xc(r4) /* 8023A930 00237890 91 44 00 10 */ stw r10, 0x10(r4) /* 8023A934 00237894 91 24 00 14 */ stw r9, 0x14(r4) /* 8023A938 00237898 91 04 00 18 */ stw r8, 0x18(r4) /* 8023A93C 0023789C 90 A4 00 1C */ stw r5, 0x1c(r4) /* 8023A940 002378A0 90 64 00 20 */ stw r3, 0x20(r4) /* 8023A944 002378A4 90 04 00 24 */ stw r0, 0x24(r4) /* 8023A948 002378A8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023A94C 002378AC 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8023A950 002378B0 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8023A954 002378B4 83 81 00 30 */ lwz r28, 0x30(r1) /* 8023A958 002378B8 38 21 00 40 */ addi r1, r1, 0x40 /* 8023A95C 002378BC 4E 80 00 20 */ blr .global "lower_bound14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole" "lower_bound14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole": /* 8023A960 002378C0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023A964 002378C4 7C 08 02 A6 */ mflr r0 /* 8023A968 002378C8 90 01 00 34 */ stw r0, 0x34(r1) /* 8023A96C 002378CC BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8023A970 002378D0 7C 9E 23 78 */ mr r30, r4 /* 8023A974 002378D4 7C 7D 1B 78 */ mr r29, r3 /* 8023A978 002378D8 7C DF 33 78 */ mr r31, r6 /* 8023A97C 002378DC 38 61 00 0C */ addi r3, r1, 0xc /* 8023A980 002378E0 80 85 00 00 */ lwz r4, 0(r5) /* 8023A984 002378E4 80 1E 00 00 */ lwz r0, 0(r30) /* 8023A988 002378E8 90 81 00 08 */ stw r4, 8(r1) /* 8023A98C 002378EC 38 81 00 08 */ addi r4, r1, 8 /* 8023A990 002378F0 90 01 00 0C */ stw r0, 0xc(r1) /* 8023A994 002378F4 48 00 05 15 */ bl sub_8023aea8 /* 8023A998 002378F8 80 1E 00 00 */ lwz r0, 0(r30) /* 8023A99C 002378FC 7C 7C 1B 78 */ mr r28, r3 /* 8023A9A0 00237900 90 01 00 10 */ stw r0, 0x10(r1) /* 8023A9A4 00237904 48 00 00 60 */ b lbl_8023AA04 lbl_8023A9A8: /* 8023A9A8 00237908 57 83 0F FE */ srwi r3, r28, 0x1f /* 8023A9AC 0023790C 80 1E 00 00 */ lwz r0, 0(r30) /* 8023A9B0 00237910 7C 83 E2 14 */ add r4, r3, r28 /* 8023A9B4 00237914 38 61 00 10 */ addi r3, r1, 0x10 /* 8023A9B8 00237918 7C 9B 0E 70 */ srawi r27, r4, 1 /* 8023A9BC 0023791C 90 01 00 10 */ stw r0, 0x10(r1) /* 8023A9C0 00237920 7F 64 DB 78 */ mr r4, r27 /* 8023A9C4 00237924 48 00 03 E5 */ bl sub_8023ada8 /* 8023A9C8 00237928 80 81 00 10 */ lwz r4, 0x10(r1) /* 8023A9CC 0023792C A0 1F 00 00 */ lhz r0, 0(r31) /* 8023A9D0 00237930 A0 64 00 00 */ lhz r3, 0(r4) /* 8023A9D4 00237934 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 8023A9D8 00237938 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 8023A9DC 0023793C 7C 03 00 40 */ cmplw r3, r0 /* 8023A9E0 00237940 40 80 00 20 */ bge lbl_8023AA00 /* 8023A9E4 00237944 90 9E 00 00 */ stw r4, 0(r30) /* 8023A9E8 00237948 7C 7B E0 50 */ subf r3, r27, r28 /* 8023A9EC 0023794C 3B 83 FF FF */ addi r28, r3, -1 /* 8023A9F0 00237950 80 7E 00 00 */ lwz r3, 0(r30) /* 8023A9F4 00237954 38 03 00 28 */ addi r0, r3, 0x28 /* 8023A9F8 00237958 90 1E 00 00 */ stw r0, 0(r30) /* 8023A9FC 0023795C 48 00 00 08 */ b lbl_8023AA04 lbl_8023AA00: /* 8023AA00 00237960 7F 7C DB 78 */ mr r28, r27 lbl_8023AA04: /* 8023AA04 00237964 2C 1C 00 00 */ cmpwi r28, 0 /* 8023AA08 00237968 41 81 FF A0 */ bgt lbl_8023A9A8 /* 8023AA0C 0023796C 80 1E 00 00 */ lwz r0, 0(r30) /* 8023AA10 00237970 90 1D 00 00 */ stw r0, 0(r29) /* 8023AA14 00237974 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8023AA18 00237978 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023AA1C 0023797C 7C 08 03 A6 */ mtlr r0 /* 8023AA20 00237980 38 21 00 30 */ addi r1, r1, 0x30 /* 8023AA24 00237984 4E 80 00 20 */ blr .global "lower_bound_const8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole" "lower_bound_const8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole": /* 8023AA28 00237988 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023AA2C 0023798C 7C 08 02 A6 */ mflr r0 /* 8023AA30 00237990 90 01 00 34 */ stw r0, 0x34(r1) /* 8023AA34 00237994 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8023AA38 00237998 7C 9E 23 78 */ mr r30, r4 /* 8023AA3C 0023799C 7C 7D 1B 78 */ mr r29, r3 /* 8023AA40 002379A0 7C DF 33 78 */ mr r31, r6 /* 8023AA44 002379A4 38 61 00 0C */ addi r3, r1, 0xc /* 8023AA48 002379A8 80 85 00 00 */ lwz r4, 0(r5) /* 8023AA4C 002379AC 80 1E 00 00 */ lwz r0, 0(r30) /* 8023AA50 002379B0 90 81 00 08 */ stw r4, 8(r1) /* 8023AA54 002379B4 38 81 00 08 */ addi r4, r1, 8 /* 8023AA58 002379B8 90 01 00 0C */ stw r0, 0xc(r1) /* 8023AA5C 002379BC 48 00 04 91 */ bl sub_8023aeec /* 8023AA60 002379C0 80 1E 00 00 */ lwz r0, 0(r30) /* 8023AA64 002379C4 7C 7C 1B 78 */ mr r28, r3 /* 8023AA68 002379C8 90 01 00 10 */ stw r0, 0x10(r1) /* 8023AA6C 002379CC 48 00 00 60 */ b lbl_8023AACC lbl_8023AA70: /* 8023AA70 002379D0 57 83 0F FE */ srwi r3, r28, 0x1f /* 8023AA74 002379D4 80 1E 00 00 */ lwz r0, 0(r30) /* 8023AA78 002379D8 7C 83 E2 14 */ add r4, r3, r28 /* 8023AA7C 002379DC 38 61 00 10 */ addi r3, r1, 0x10 /* 8023AA80 002379E0 7C 9B 0E 70 */ srawi r27, r4, 1 /* 8023AA84 002379E4 90 01 00 10 */ stw r0, 0x10(r1) /* 8023AA88 002379E8 7F 64 DB 78 */ mr r4, r27 /* 8023AA8C 002379EC 48 00 03 49 */ bl sub_8023add4 /* 8023AA90 002379F0 80 81 00 10 */ lwz r4, 0x10(r1) /* 8023AA94 002379F4 A0 1F 00 00 */ lhz r0, 0(r31) /* 8023AA98 002379F8 A0 64 00 00 */ lhz r3, 0(r4) /* 8023AA9C 002379FC 54 00 05 BE */ clrlwi r0, r0, 0x16 /* 8023AAA0 00237A00 54 63 05 BE */ clrlwi r3, r3, 0x16 /* 8023AAA4 00237A04 7C 03 00 40 */ cmplw r3, r0 /* 8023AAA8 00237A08 40 80 00 20 */ bge lbl_8023AAC8 /* 8023AAAC 00237A0C 90 9E 00 00 */ stw r4, 0(r30) /* 8023AAB0 00237A10 7C 7B E0 50 */ subf r3, r27, r28 /* 8023AAB4 00237A14 3B 83 FF FF */ addi r28, r3, -1 /* 8023AAB8 00237A18 80 7E 00 00 */ lwz r3, 0(r30) /* 8023AABC 00237A1C 38 03 00 28 */ addi r0, r3, 0x28 /* 8023AAC0 00237A20 90 1E 00 00 */ stw r0, 0(r30) /* 8023AAC4 00237A24 48 00 00 08 */ b lbl_8023AACC lbl_8023AAC8: /* 8023AAC8 00237A28 7F 7C DB 78 */ mr r28, r27 lbl_8023AACC: /* 8023AACC 00237A2C 2C 1C 00 00 */ cmpwi r28, 0 /* 8023AAD0 00237A30 41 81 FF A0 */ bgt lbl_8023AA70 /* 8023AAD4 00237A34 80 1E 00 00 */ lwz r0, 0(r30) /* 8023AAD8 00237A38 90 1D 00 00 */ stw r0, 0(r29) /* 8023AADC 00237A3C BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8023AAE0 00237A40 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023AAE4 00237A44 7C 08 03 A6 */ mtlr r0 /* 8023AAE8 00237A48 38 21 00 30 */ addi r1, r1, 0x30 /* 8023AAEC 00237A4C 4E 80 00 20 */ blr .global "lower_bound_const>" "lower_bound_const>": /* 8023AAF0 00237A50 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023AAF4 00237A54 7C 08 02 A6 */ mflr r0 /* 8023AAF8 00237A58 90 01 00 34 */ stw r0, 0x34(r1) /* 8023AAFC 00237A5C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8023AB00 00237A60 7C 9F 23 78 */ mr r31, r4 /* 8023AB04 00237A64 7C 7E 1B 78 */ mr r30, r3 /* 8023AB08 00237A68 7C DB 33 78 */ mr r27, r6 /* 8023AB0C 00237A6C 38 61 00 0C */ addi r3, r1, 0xc /* 8023AB10 00237A70 80 85 00 00 */ lwz r4, 0(r5) /* 8023AB14 00237A74 80 1F 00 00 */ lwz r0, 0(r31) /* 8023AB18 00237A78 90 81 00 08 */ stw r4, 8(r1) /* 8023AB1C 00237A7C 38 81 00 08 */ addi r4, r1, 8 /* 8023AB20 00237A80 90 01 00 0C */ stw r0, 0xc(r1) /* 8023AB24 00237A84 48 00 04 0D */ bl sub_8023af30 /* 8023AB28 00237A88 80 1F 00 00 */ lwz r0, 0(r31) /* 8023AB2C 00237A8C 7C 7D 1B 78 */ mr r29, r3 /* 8023AB30 00237A90 90 01 00 10 */ stw r0, 0x10(r1) /* 8023AB34 00237A94 48 00 00 58 */ b lbl_8023AB8C lbl_8023AB38: /* 8023AB38 00237A98 57 A3 0F FE */ srwi r3, r29, 0x1f /* 8023AB3C 00237A9C 80 1F 00 00 */ lwz r0, 0(r31) /* 8023AB40 00237AA0 7C 83 EA 14 */ add r4, r3, r29 /* 8023AB44 00237AA4 38 61 00 10 */ addi r3, r1, 0x10 /* 8023AB48 00237AA8 7C 9C 0E 70 */ srawi r28, r4, 1 /* 8023AB4C 00237AAC 90 01 00 10 */ stw r0, 0x10(r1) /* 8023AB50 00237AB0 7F 84 E3 78 */ mr r4, r28 /* 8023AB54 00237AB4 48 00 02 AD */ bl sub_8023ae00 /* 8023AB58 00237AB8 80 81 00 10 */ lwz r4, 0x10(r1) /* 8023AB5C 00237ABC A0 1B 00 00 */ lhz r0, 0(r27) /* 8023AB60 00237AC0 A0 64 00 00 */ lhz r3, 0(r4) /* 8023AB64 00237AC4 7C 03 00 40 */ cmplw r3, r0 /* 8023AB68 00237AC8 40 80 00 20 */ bge lbl_8023AB88 /* 8023AB6C 00237ACC 90 9F 00 00 */ stw r4, 0(r31) /* 8023AB70 00237AD0 7C 7C E8 50 */ subf r3, r28, r29 /* 8023AB74 00237AD4 3B A3 FF FF */ addi r29, r3, -1 /* 8023AB78 00237AD8 80 7F 00 00 */ lwz r3, 0(r31) /* 8023AB7C 00237ADC 38 03 00 02 */ addi r0, r3, 2 /* 8023AB80 00237AE0 90 1F 00 00 */ stw r0, 0(r31) /* 8023AB84 00237AE4 48 00 00 08 */ b lbl_8023AB8C lbl_8023AB88: /* 8023AB88 00237AE8 7F 9D E3 78 */ mr r29, r28 lbl_8023AB8C: /* 8023AB8C 00237AEC 2C 1D 00 00 */ cmpwi r29, 0 /* 8023AB90 00237AF0 41 81 FF A8 */ bgt lbl_8023AB38 /* 8023AB94 00237AF4 80 1F 00 00 */ lwz r0, 0(r31) /* 8023AB98 00237AF8 90 1E 00 00 */ stw r0, 0(r30) /* 8023AB9C 00237AFC BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8023ABA0 00237B00 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023ABA4 00237B04 7C 08 03 A6 */ mtlr r0 /* 8023ABA8 00237B08 38 21 00 30 */ addi r1, r1, 0x30 /* 8023ABAC 00237B0C 4E 80 00 20 */ blr .global "lower_bound>" "lower_bound>": /* 8023ABB0 00237B10 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023ABB4 00237B14 7C 08 02 A6 */ mflr r0 /* 8023ABB8 00237B18 90 01 00 34 */ stw r0, 0x34(r1) /* 8023ABBC 00237B1C BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8023ABC0 00237B20 7C 9F 23 78 */ mr r31, r4 /* 8023ABC4 00237B24 7C 7E 1B 78 */ mr r30, r3 /* 8023ABC8 00237B28 7C DB 33 78 */ mr r27, r6 /* 8023ABCC 00237B2C 38 61 00 0C */ addi r3, r1, 0xc /* 8023ABD0 00237B30 80 85 00 00 */ lwz r4, 0(r5) /* 8023ABD4 00237B34 80 1F 00 00 */ lwz r0, 0(r31) /* 8023ABD8 00237B38 90 81 00 08 */ stw r4, 8(r1) /* 8023ABDC 00237B3C 38 81 00 08 */ addi r4, r1, 8 /* 8023ABE0 00237B40 90 01 00 0C */ stw r0, 0xc(r1) /* 8023ABE4 00237B44 48 00 03 91 */ bl sub_8023af74 /* 8023ABE8 00237B48 80 1F 00 00 */ lwz r0, 0(r31) /* 8023ABEC 00237B4C 7C 7D 1B 78 */ mr r29, r3 /* 8023ABF0 00237B50 90 01 00 10 */ stw r0, 0x10(r1) /* 8023ABF4 00237B54 48 00 00 58 */ b lbl_8023AC4C lbl_8023ABF8: /* 8023ABF8 00237B58 57 A3 0F FE */ srwi r3, r29, 0x1f /* 8023ABFC 00237B5C 80 1F 00 00 */ lwz r0, 0(r31) /* 8023AC00 00237B60 7C 83 EA 14 */ add r4, r3, r29 /* 8023AC04 00237B64 38 61 00 10 */ addi r3, r1, 0x10 /* 8023AC08 00237B68 7C 9C 0E 70 */ srawi r28, r4, 1 /* 8023AC0C 00237B6C 90 01 00 10 */ stw r0, 0x10(r1) /* 8023AC10 00237B70 7F 84 E3 78 */ mr r4, r28 /* 8023AC14 00237B74 48 00 02 19 */ bl sub_8023ae2c /* 8023AC18 00237B78 80 81 00 10 */ lwz r4, 0x10(r1) /* 8023AC1C 00237B7C A0 1B 00 00 */ lhz r0, 0(r27) /* 8023AC20 00237B80 A0 64 00 00 */ lhz r3, 0(r4) /* 8023AC24 00237B84 7C 03 00 40 */ cmplw r3, r0 /* 8023AC28 00237B88 40 80 00 20 */ bge lbl_8023AC48 /* 8023AC2C 00237B8C 90 9F 00 00 */ stw r4, 0(r31) /* 8023AC30 00237B90 7C 7C E8 50 */ subf r3, r28, r29 /* 8023AC34 00237B94 3B A3 FF FF */ addi r29, r3, -1 /* 8023AC38 00237B98 80 7F 00 00 */ lwz r3, 0(r31) /* 8023AC3C 00237B9C 38 03 00 02 */ addi r0, r3, 2 /* 8023AC40 00237BA0 90 1F 00 00 */ stw r0, 0(r31) /* 8023AC44 00237BA4 48 00 00 08 */ b lbl_8023AC4C lbl_8023AC48: /* 8023AC48 00237BA8 7F 9D E3 78 */ mr r29, r28 lbl_8023AC4C: /* 8023AC4C 00237BAC 2C 1D 00 00 */ cmpwi r29, 0 /* 8023AC50 00237BB0 41 81 FF A8 */ bgt lbl_8023ABF8 /* 8023AC54 00237BB4 80 1F 00 00 */ lwz r0, 0(r31) /* 8023AC58 00237BB8 90 1E 00 00 */ stw r0, 0(r30) /* 8023AC5C 00237BBC BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8023AC60 00237BC0 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023AC64 00237BC4 7C 08 03 A6 */ mtlr r0 /* 8023AC68 00237BC8 38 21 00 30 */ addi r1, r1, 0x30 /* 8023AC6C 00237BCC 4E 80 00 20 */ blr .global sub_8023ac70 sub_8023ac70: /* 8023AC70 00237BD0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023AC74 00237BD4 7C 08 02 A6 */ mflr r0 /* 8023AC78 00237BD8 90 01 00 34 */ stw r0, 0x34(r1) /* 8023AC7C 00237BDC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023AC80 00237BE0 7C 9F 23 78 */ mr r31, r4 /* 8023AC84 00237BE4 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023AC88 00237BE8 7C 7E 1B 78 */ mr r30, r3 /* 8023AC8C 00237BEC 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023AC90 00237BF0 80 03 00 08 */ lwz r0, 8(r3) /* 8023AC94 00237BF4 7C 1F 00 00 */ cmpw r31, r0 /* 8023AC98 00237BF8 40 81 00 F4 */ ble lbl_8023AD8C /* 8023AC9C 00237BFC 1C 7F 00 28 */ mulli r3, r31, 0x28 /* 8023ACA0 00237C00 2C 03 00 00 */ cmpwi r3, 0 /* 8023ACA4 00237C04 40 82 00 0C */ bne lbl_8023ACB0 /* 8023ACA8 00237C08 3B A0 00 00 */ li r29, 0 /* 8023ACAC 00237C0C 48 00 00 18 */ b lbl_8023ACC4 lbl_8023ACB0: /* 8023ACB0 00237C10 3C 80 80 3D */ lis r4, lbl_803D4380@ha /* 8023ACB4 00237C14 38 A0 00 00 */ li r5, 0 /* 8023ACB8 00237C18 38 84 43 80 */ addi r4, r4, lbl_803D4380@l /* 8023ACBC 00237C1C 48 0D AB 5D */ bl __nwa__FUlPCcPCc /* 8023ACC0 00237C20 7C 7D 1B 78 */ mr r29, r3 lbl_8023ACC4: /* 8023ACC4 00237C24 80 1E 00 04 */ lwz r0, 4(r30) /* 8023ACC8 00237C28 7F A4 EB 78 */ mr r4, r29 /* 8023ACCC 00237C2C 80 BE 00 0C */ lwz r5, 0xc(r30) /* 8023ACD0 00237C30 1C 00 00 28 */ mulli r0, r0, 0x28 /* 8023ACD4 00237C34 90 A1 00 10 */ stw r5, 0x10(r1) /* 8023ACD8 00237C38 7C 65 02 14 */ add r3, r5, r0 /* 8023ACDC 00237C3C 90 A1 00 14 */ stw r5, 0x14(r1) /* 8023ACE0 00237C40 90 61 00 08 */ stw r3, 8(r1) /* 8023ACE4 00237C44 90 61 00 0C */ stw r3, 0xc(r1) /* 8023ACE8 00237C48 48 00 00 64 */ b lbl_8023AD4C lbl_8023ACEC: /* 8023ACEC 00237C4C 28 04 00 00 */ cmplwi r4, 0 /* 8023ACF0 00237C50 41 82 00 54 */ beq lbl_8023AD44 /* 8023ACF4 00237C54 A0 05 00 00 */ lhz r0, 0(r5) /* 8023ACF8 00237C58 B0 04 00 00 */ sth r0, 0(r4) /* 8023ACFC 00237C5C 80 05 00 04 */ lwz r0, 4(r5) /* 8023AD00 00237C60 90 04 00 04 */ stw r0, 4(r4) /* 8023AD04 00237C64 80 05 00 08 */ lwz r0, 8(r5) /* 8023AD08 00237C68 90 04 00 08 */ stw r0, 8(r4) /* 8023AD0C 00237C6C 80 05 00 0C */ lwz r0, 0xc(r5) /* 8023AD10 00237C70 90 04 00 0C */ stw r0, 0xc(r4) /* 8023AD14 00237C74 80 05 00 10 */ lwz r0, 0x10(r5) /* 8023AD18 00237C78 90 04 00 10 */ stw r0, 0x10(r4) /* 8023AD1C 00237C7C 80 05 00 14 */ lwz r0, 0x14(r5) /* 8023AD20 00237C80 90 04 00 14 */ stw r0, 0x14(r4) /* 8023AD24 00237C84 80 05 00 18 */ lwz r0, 0x18(r5) /* 8023AD28 00237C88 90 04 00 18 */ stw r0, 0x18(r4) /* 8023AD2C 00237C8C C0 05 00 1C */ lfs f0, 0x1c(r5) /* 8023AD30 00237C90 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 8023AD34 00237C94 C0 05 00 20 */ lfs f0, 0x20(r5) /* 8023AD38 00237C98 D0 04 00 20 */ stfs f0, 0x20(r4) /* 8023AD3C 00237C9C C0 05 00 24 */ lfs f0, 0x24(r5) /* 8023AD40 00237CA0 D0 04 00 24 */ stfs f0, 0x24(r4) lbl_8023AD44: /* 8023AD44 00237CA4 38 84 00 28 */ addi r4, r4, 0x28 /* 8023AD48 00237CA8 38 A5 00 28 */ addi r5, r5, 0x28 lbl_8023AD4C: /* 8023AD4C 00237CAC 7C 05 18 40 */ cmplw r5, r3 /* 8023AD50 00237CB0 40 82 FF 9C */ bne lbl_8023ACEC /* 8023AD54 00237CB4 80 1E 00 04 */ lwz r0, 4(r30) /* 8023AD58 00237CB8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8023AD5C 00237CBC 1C 00 00 28 */ mulli r0, r0, 0x28 /* 8023AD60 00237CC0 7C 64 1B 78 */ mr r4, r3 /* 8023AD64 00237CC4 7C 03 02 14 */ add r0, r3, r0 /* 8023AD68 00237CC8 48 00 00 08 */ b lbl_8023AD70 lbl_8023AD6C: /* 8023AD6C 00237CCC 38 84 00 28 */ addi r4, r4, 0x28 lbl_8023AD70: /* 8023AD70 00237CD0 7C 04 00 40 */ cmplw r4, r0 /* 8023AD74 00237CD4 40 82 FF F8 */ bne lbl_8023AD6C /* 8023AD78 00237CD8 28 03 00 00 */ cmplwi r3, 0 /* 8023AD7C 00237CDC 41 82 00 08 */ beq lbl_8023AD84 /* 8023AD80 00237CE0 48 0D AB B1 */ bl Free__7CMemoryFPCv lbl_8023AD84: /* 8023AD84 00237CE4 93 BE 00 0C */ stw r29, 0xc(r30) /* 8023AD88 00237CE8 93 FE 00 08 */ stw r31, 8(r30) lbl_8023AD8C: /* 8023AD8C 00237CEC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023AD90 00237CF0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023AD94 00237CF4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023AD98 00237CF8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023AD9C 00237CFC 7C 08 03 A6 */ mtlr r0 /* 8023ADA0 00237D00 38 21 00 30 */ addi r1, r1, 0x30 /* 8023ADA4 00237D04 4E 80 00 20 */ blr .global sub_8023ada8 sub_8023ada8: /* 8023ADA8 00237D08 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023ADAC 00237D0C 7C 08 02 A6 */ mflr r0 /* 8023ADB0 00237D10 90 01 00 14 */ stw r0, 0x14(r1) /* 8023ADB4 00237D14 38 A1 00 0C */ addi r5, r1, 0xc /* 8023ADB8 00237D18 88 01 00 08 */ lbz r0, 8(r1) /* 8023ADBC 00237D1C 98 01 00 0C */ stb r0, 0xc(r1) /* 8023ADC0 00237D20 48 00 00 D5 */ bl sub_8023ae94 /* 8023ADC4 00237D24 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023ADC8 00237D28 7C 08 03 A6 */ mtlr r0 /* 8023ADCC 00237D2C 38 21 00 10 */ addi r1, r1, 0x10 /* 8023ADD0 00237D30 4E 80 00 20 */ blr .global sub_8023add4 sub_8023add4: /* 8023ADD4 00237D34 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023ADD8 00237D38 7C 08 02 A6 */ mflr r0 /* 8023ADDC 00237D3C 90 01 00 14 */ stw r0, 0x14(r1) /* 8023ADE0 00237D40 38 A1 00 0C */ addi r5, r1, 0xc /* 8023ADE4 00237D44 88 01 00 08 */ lbz r0, 8(r1) /* 8023ADE8 00237D48 98 01 00 0C */ stb r0, 0xc(r1) /* 8023ADEC 00237D4C 48 00 00 95 */ bl sub_8023ae80 /* 8023ADF0 00237D50 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023ADF4 00237D54 7C 08 03 A6 */ mtlr r0 /* 8023ADF8 00237D58 38 21 00 10 */ addi r1, r1, 0x10 /* 8023ADFC 00237D5C 4E 80 00 20 */ blr .global sub_8023ae00 sub_8023ae00: /* 8023AE00 00237D60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023AE04 00237D64 7C 08 02 A6 */ mflr r0 /* 8023AE08 00237D68 90 01 00 14 */ stw r0, 0x14(r1) /* 8023AE0C 00237D6C 38 A1 00 0C */ addi r5, r1, 0xc /* 8023AE10 00237D70 88 01 00 08 */ lbz r0, 8(r1) /* 8023AE14 00237D74 98 01 00 0C */ stb r0, 0xc(r1) /* 8023AE18 00237D78 48 00 00 55 */ bl sub_8023ae6c /* 8023AE1C 00237D7C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023AE20 00237D80 7C 08 03 A6 */ mtlr r0 /* 8023AE24 00237D84 38 21 00 10 */ addi r1, r1, 0x10 /* 8023AE28 00237D88 4E 80 00 20 */ blr .global sub_8023ae2c sub_8023ae2c: /* 8023AE2C 00237D8C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023AE30 00237D90 7C 08 02 A6 */ mflr r0 /* 8023AE34 00237D94 90 01 00 14 */ stw r0, 0x14(r1) /* 8023AE38 00237D98 38 A1 00 0C */ addi r5, r1, 0xc /* 8023AE3C 00237D9C 88 01 00 08 */ lbz r0, 8(r1) /* 8023AE40 00237DA0 98 01 00 0C */ stb r0, 0xc(r1) /* 8023AE44 00237DA4 48 00 00 15 */ bl sub_8023ae58 /* 8023AE48 00237DA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023AE4C 00237DAC 7C 08 03 A6 */ mtlr r0 /* 8023AE50 00237DB0 38 21 00 10 */ addi r1, r1, 0x10 /* 8023AE54 00237DB4 4E 80 00 20 */ blr .global sub_8023ae58 sub_8023ae58: /* 8023AE58 00237DB8 80 A3 00 00 */ lwz r5, 0(r3) /* 8023AE5C 00237DBC 54 80 08 3C */ slwi r0, r4, 1 /* 8023AE60 00237DC0 7C 05 02 14 */ add r0, r5, r0 /* 8023AE64 00237DC4 90 03 00 00 */ stw r0, 0(r3) /* 8023AE68 00237DC8 4E 80 00 20 */ blr .global sub_8023ae6c sub_8023ae6c: /* 8023AE6C 00237DCC 80 A3 00 00 */ lwz r5, 0(r3) /* 8023AE70 00237DD0 54 80 08 3C */ slwi r0, r4, 1 /* 8023AE74 00237DD4 7C 05 02 14 */ add r0, r5, r0 /* 8023AE78 00237DD8 90 03 00 00 */ stw r0, 0(r3) /* 8023AE7C 00237DDC 4E 80 00 20 */ blr .global sub_8023ae80 sub_8023ae80: /* 8023AE80 00237DE0 1C 04 00 28 */ mulli r0, r4, 0x28 /* 8023AE84 00237DE4 80 83 00 00 */ lwz r4, 0(r3) /* 8023AE88 00237DE8 7C 04 02 14 */ add r0, r4, r0 /* 8023AE8C 00237DEC 90 03 00 00 */ stw r0, 0(r3) /* 8023AE90 00237DF0 4E 80 00 20 */ blr .global sub_8023ae94 sub_8023ae94: /* 8023AE94 00237DF4 1C 04 00 28 */ mulli r0, r4, 0x28 /* 8023AE98 00237DF8 80 83 00 00 */ lwz r4, 0(r3) /* 8023AE9C 00237DFC 7C 04 02 14 */ add r0, r4, r0 /* 8023AEA0 00237E00 90 03 00 00 */ stw r0, 0(r3) /* 8023AEA4 00237E04 4E 80 00 20 */ blr .global sub_8023aea8 sub_8023aea8: /* 8023AEA8 00237E08 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023AEAC 00237E0C 7C 08 02 A6 */ mflr r0 /* 8023AEB0 00237E10 90 01 00 24 */ stw r0, 0x24(r1) /* 8023AEB4 00237E14 38 A1 00 0C */ addi r5, r1, 0xc /* 8023AEB8 00237E18 88 E1 00 08 */ lbz r7, 8(r1) /* 8023AEBC 00237E1C 80 C4 00 00 */ lwz r6, 0(r4) /* 8023AEC0 00237E20 38 81 00 10 */ addi r4, r1, 0x10 /* 8023AEC4 00237E24 80 03 00 00 */ lwz r0, 0(r3) /* 8023AEC8 00237E28 38 61 00 14 */ addi r3, r1, 0x14 /* 8023AECC 00237E2C 90 C1 00 10 */ stw r6, 0x10(r1) /* 8023AED0 00237E30 98 E1 00 0C */ stb r7, 0xc(r1) /* 8023AED4 00237E34 90 01 00 14 */ stw r0, 0x14(r1) /* 8023AED8 00237E38 48 00 00 FD */ bl sub_8023afd4 /* 8023AEDC 00237E3C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023AEE0 00237E40 7C 08 03 A6 */ mtlr r0 /* 8023AEE4 00237E44 38 21 00 20 */ addi r1, r1, 0x20 /* 8023AEE8 00237E48 4E 80 00 20 */ blr .global sub_8023aeec sub_8023aeec: /* 8023AEEC 00237E4C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023AEF0 00237E50 7C 08 02 A6 */ mflr r0 /* 8023AEF4 00237E54 90 01 00 24 */ stw r0, 0x24(r1) /* 8023AEF8 00237E58 38 A1 00 0C */ addi r5, r1, 0xc /* 8023AEFC 00237E5C 88 E1 00 08 */ lbz r7, 8(r1) /* 8023AF00 00237E60 80 C4 00 00 */ lwz r6, 0(r4) /* 8023AF04 00237E64 38 81 00 10 */ addi r4, r1, 0x10 /* 8023AF08 00237E68 80 03 00 00 */ lwz r0, 0(r3) /* 8023AF0C 00237E6C 38 61 00 14 */ addi r3, r1, 0x14 /* 8023AF10 00237E70 90 C1 00 10 */ stw r6, 0x10(r1) /* 8023AF14 00237E74 98 E1 00 0C */ stb r7, 0xc(r1) /* 8023AF18 00237E78 90 01 00 14 */ stw r0, 0x14(r1) /* 8023AF1C 00237E7C 48 00 00 E1 */ bl sub_8023affc /* 8023AF20 00237E80 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023AF24 00237E84 7C 08 03 A6 */ mtlr r0 /* 8023AF28 00237E88 38 21 00 20 */ addi r1, r1, 0x20 /* 8023AF2C 00237E8C 4E 80 00 20 */ blr .global sub_8023af30 sub_8023af30: /* 8023AF30 00237E90 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023AF34 00237E94 7C 08 02 A6 */ mflr r0 /* 8023AF38 00237E98 90 01 00 24 */ stw r0, 0x24(r1) /* 8023AF3C 00237E9C 38 A1 00 0C */ addi r5, r1, 0xc /* 8023AF40 00237EA0 88 E1 00 08 */ lbz r7, 8(r1) /* 8023AF44 00237EA4 80 C4 00 00 */ lwz r6, 0(r4) /* 8023AF48 00237EA8 38 81 00 10 */ addi r4, r1, 0x10 /* 8023AF4C 00237EAC 80 03 00 00 */ lwz r0, 0(r3) /* 8023AF50 00237EB0 38 61 00 14 */ addi r3, r1, 0x14 /* 8023AF54 00237EB4 90 C1 00 10 */ stw r6, 0x10(r1) /* 8023AF58 00237EB8 98 E1 00 0C */ stb r7, 0xc(r1) /* 8023AF5C 00237EBC 90 01 00 14 */ stw r0, 0x14(r1) /* 8023AF60 00237EC0 48 00 00 C5 */ bl sub_8023b024 /* 8023AF64 00237EC4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023AF68 00237EC8 7C 08 03 A6 */ mtlr r0 /* 8023AF6C 00237ECC 38 21 00 20 */ addi r1, r1, 0x20 /* 8023AF70 00237ED0 4E 80 00 20 */ blr .global sub_8023af74 sub_8023af74: /* 8023AF74 00237ED4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023AF78 00237ED8 7C 08 02 A6 */ mflr r0 /* 8023AF7C 00237EDC 90 01 00 24 */ stw r0, 0x24(r1) /* 8023AF80 00237EE0 38 A1 00 0C */ addi r5, r1, 0xc /* 8023AF84 00237EE4 88 E1 00 08 */ lbz r7, 8(r1) /* 8023AF88 00237EE8 80 C4 00 00 */ lwz r6, 0(r4) /* 8023AF8C 00237EEC 38 81 00 10 */ addi r4, r1, 0x10 /* 8023AF90 00237EF0 80 03 00 00 */ lwz r0, 0(r3) /* 8023AF94 00237EF4 38 61 00 14 */ addi r3, r1, 0x14 /* 8023AF98 00237EF8 90 C1 00 10 */ stw r6, 0x10(r1) /* 8023AF9C 00237EFC 98 E1 00 0C */ stb r7, 0xc(r1) /* 8023AFA0 00237F00 90 01 00 14 */ stw r0, 0x14(r1) /* 8023AFA4 00237F04 48 00 00 15 */ bl sub_8023afb8 /* 8023AFA8 00237F08 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023AFAC 00237F0C 7C 08 03 A6 */ mtlr r0 /* 8023AFB0 00237F10 38 21 00 20 */ addi r1, r1, 0x20 /* 8023AFB4 00237F14 4E 80 00 20 */ blr .global sub_8023afb8 sub_8023afb8: /* 8023AFB8 00237F18 80 63 00 00 */ lwz r3, 0(r3) /* 8023AFBC 00237F1C 80 04 00 00 */ lwz r0, 0(r4) /* 8023AFC0 00237F20 7C 63 00 50 */ subf r3, r3, r0 /* 8023AFC4 00237F24 54 60 0F FE */ srwi r0, r3, 0x1f /* 8023AFC8 00237F28 7C 00 1A 14 */ add r0, r0, r3 /* 8023AFCC 00237F2C 7C 03 0E 70 */ srawi r3, r0, 1 /* 8023AFD0 00237F30 4E 80 00 20 */ blr .global sub_8023afd4 sub_8023afd4: /* 8023AFD4 00237F34 80 A3 00 00 */ lwz r5, 0(r3) /* 8023AFD8 00237F38 3C 60 66 66 */ lis r3, 0x66666667@ha /* 8023AFDC 00237F3C 80 04 00 00 */ lwz r0, 0(r4) /* 8023AFE0 00237F40 38 63 66 67 */ addi r3, r3, 0x66666667@l /* 8023AFE4 00237F44 7C 05 00 50 */ subf r0, r5, r0 /* 8023AFE8 00237F48 7C 03 00 96 */ mulhw r0, r3, r0 /* 8023AFEC 00237F4C 7C 00 26 70 */ srawi r0, r0, 4 /* 8023AFF0 00237F50 54 03 0F FE */ srwi r3, r0, 0x1f /* 8023AFF4 00237F54 7C 60 1A 14 */ add r3, r0, r3 /* 8023AFF8 00237F58 4E 80 00 20 */ blr .global sub_8023affc sub_8023affc: /* 8023AFFC 00237F5C 80 A3 00 00 */ lwz r5, 0(r3) /* 8023B000 00237F60 3C 60 66 66 */ lis r3, 0x66666667@ha /* 8023B004 00237F64 80 04 00 00 */ lwz r0, 0(r4) /* 8023B008 00237F68 38 63 66 67 */ addi r3, r3, 0x66666667@l /* 8023B00C 00237F6C 7C 05 00 50 */ subf r0, r5, r0 /* 8023B010 00237F70 7C 03 00 96 */ mulhw r0, r3, r0 /* 8023B014 00237F74 7C 00 26 70 */ srawi r0, r0, 4 /* 8023B018 00237F78 54 03 0F FE */ srwi r3, r0, 0x1f /* 8023B01C 00237F7C 7C 60 1A 14 */ add r3, r0, r3 /* 8023B020 00237F80 4E 80 00 20 */ blr .global sub_8023b024 sub_8023b024: /* 8023B024 00237F84 80 63 00 00 */ lwz r3, 0(r3) /* 8023B028 00237F88 80 04 00 00 */ lwz r0, 0(r4) /* 8023B02C 00237F8C 7C 63 00 50 */ subf r3, r3, r0 /* 8023B030 00237F90 54 60 0F FE */ srwi r0, r3, 0x1f /* 8023B034 00237F94 7C 00 1A 14 */ add r0, r0, r3 /* 8023B038 00237F98 7C 03 0E 70 */ srawi r3, r0, 1 /* 8023B03C 00237F9C 4E 80 00 20 */ blr .global sub_8023b040 sub_8023b040: /* 8023B040 00237FA0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023B044 00237FA4 7C 08 02 A6 */ mflr r0 /* 8023B048 00237FA8 90 01 00 44 */ stw r0, 0x44(r1) /* 8023B04C 00237FAC 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8023B050 00237FB0 7C BF 2B 78 */ mr r31, r5 /* 8023B054 00237FB4 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023B058 00237FB8 7C 9E 23 78 */ mr r30, r4 /* 8023B05C 00237FBC 93 A1 00 34 */ stw r29, 0x34(r1) /* 8023B060 00237FC0 7C 7D 1B 78 */ mr r29, r3 /* 8023B064 00237FC4 7F A5 EB 78 */ mr r5, r29 /* 8023B068 00237FC8 93 81 00 30 */ stw r28, 0x30(r1) /* 8023B06C 00237FCC 7C DC 33 78 */ mr r28, r6 /* 8023B070 00237FD0 7F 83 E3 78 */ mr r3, r28 /* 8023B074 00237FD4 4B FF F4 51 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole /* 8023B078 00237FD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023B07C 00237FDC 41 82 00 10 */ beq lbl_8023B08C /* 8023B080 00237FE0 7F A3 EB 78 */ mr r3, r29 /* 8023B084 00237FE4 7F C4 F3 78 */ mr r4, r30 /* 8023B088 00237FE8 48 00 01 E9 */ bl sub_8023b270 lbl_8023B08C: /* 8023B08C 00237FEC 7F 83 E3 78 */ mr r3, r28 /* 8023B090 00237FF0 7F E4 FB 78 */ mr r4, r31 /* 8023B094 00237FF4 7F C5 F3 78 */ mr r5, r30 /* 8023B098 00237FF8 4B FF F4 2D */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole /* 8023B09C 00237FFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023B0A0 00238000 41 82 01 B0 */ beq lbl_8023B250 /* 8023B0A4 00238004 A0 1F 00 00 */ lhz r0, 0(r31) /* 8023B0A8 00238008 7F 83 E3 78 */ mr r3, r28 /* 8023B0AC 0023800C 7F A5 EB 78 */ mr r5, r29 /* 8023B0B0 00238010 38 81 00 08 */ addi r4, r1, 8 /* 8023B0B4 00238014 B0 01 00 08 */ sth r0, 8(r1) /* 8023B0B8 00238018 80 1F 00 04 */ lwz r0, 4(r31) /* 8023B0BC 0023801C 90 01 00 0C */ stw r0, 0xc(r1) /* 8023B0C0 00238020 80 1F 00 08 */ lwz r0, 8(r31) /* 8023B0C4 00238024 90 01 00 10 */ stw r0, 0x10(r1) /* 8023B0C8 00238028 80 1F 00 0C */ lwz r0, 0xc(r31) /* 8023B0CC 0023802C 90 01 00 14 */ stw r0, 0x14(r1) /* 8023B0D0 00238030 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8023B0D4 00238034 90 01 00 18 */ stw r0, 0x18(r1) /* 8023B0D8 00238038 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8023B0DC 0023803C 90 01 00 1C */ stw r0, 0x1c(r1) /* 8023B0E0 00238040 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8023B0E4 00238044 90 01 00 20 */ stw r0, 0x20(r1) /* 8023B0E8 00238048 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8023B0EC 0023804C D0 01 00 24 */ stfs f0, 0x24(r1) /* 8023B0F0 00238050 C0 1F 00 20 */ lfs f0, 0x20(r31) /* 8023B0F4 00238054 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8023B0F8 00238058 C0 1F 00 24 */ lfs f0, 0x24(r31) /* 8023B0FC 0023805C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8023B100 00238060 A0 1E 00 00 */ lhz r0, 0(r30) /* 8023B104 00238064 B0 1F 00 00 */ sth r0, 0(r31) /* 8023B108 00238068 80 1E 00 04 */ lwz r0, 4(r30) /* 8023B10C 0023806C 90 1F 00 04 */ stw r0, 4(r31) /* 8023B110 00238070 80 1E 00 08 */ lwz r0, 8(r30) /* 8023B114 00238074 90 1F 00 08 */ stw r0, 8(r31) /* 8023B118 00238078 80 1E 00 0C */ lwz r0, 0xc(r30) /* 8023B11C 0023807C 90 1F 00 0C */ stw r0, 0xc(r31) /* 8023B120 00238080 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8023B124 00238084 90 1F 00 10 */ stw r0, 0x10(r31) /* 8023B128 00238088 80 1E 00 14 */ lwz r0, 0x14(r30) /* 8023B12C 0023808C 90 1F 00 14 */ stw r0, 0x14(r31) /* 8023B130 00238090 80 1E 00 18 */ lwz r0, 0x18(r30) /* 8023B134 00238094 90 1F 00 18 */ stw r0, 0x18(r31) /* 8023B138 00238098 80 DE 00 1C */ lwz r6, 0x1c(r30) /* 8023B13C 0023809C 80 1E 00 20 */ lwz r0, 0x20(r30) /* 8023B140 002380A0 90 DF 00 1C */ stw r6, 0x1c(r31) /* 8023B144 002380A4 90 1F 00 20 */ stw r0, 0x20(r31) /* 8023B148 002380A8 80 1E 00 24 */ lwz r0, 0x24(r30) /* 8023B14C 002380AC 90 1F 00 24 */ stw r0, 0x24(r31) /* 8023B150 002380B0 4B FF F3 75 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole /* 8023B154 002380B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023B158 002380B8 41 82 00 A8 */ beq lbl_8023B200 /* 8023B15C 002380BC A0 1D 00 00 */ lhz r0, 0(r29) /* 8023B160 002380C0 B0 1E 00 00 */ sth r0, 0(r30) /* 8023B164 002380C4 80 1D 00 04 */ lwz r0, 4(r29) /* 8023B168 002380C8 90 1E 00 04 */ stw r0, 4(r30) /* 8023B16C 002380CC 80 1D 00 08 */ lwz r0, 8(r29) /* 8023B170 002380D0 90 1E 00 08 */ stw r0, 8(r30) /* 8023B174 002380D4 80 1D 00 0C */ lwz r0, 0xc(r29) /* 8023B178 002380D8 90 1E 00 0C */ stw r0, 0xc(r30) /* 8023B17C 002380DC 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8023B180 002380E0 90 1E 00 10 */ stw r0, 0x10(r30) /* 8023B184 002380E4 80 1D 00 14 */ lwz r0, 0x14(r29) /* 8023B188 002380E8 90 1E 00 14 */ stw r0, 0x14(r30) /* 8023B18C 002380EC 80 1D 00 18 */ lwz r0, 0x18(r29) /* 8023B190 002380F0 90 1E 00 18 */ stw r0, 0x18(r30) /* 8023B194 002380F4 80 7D 00 1C */ lwz r3, 0x1c(r29) /* 8023B198 002380F8 80 1D 00 20 */ lwz r0, 0x20(r29) /* 8023B19C 002380FC 90 7E 00 1C */ stw r3, 0x1c(r30) /* 8023B1A0 00238100 90 1E 00 20 */ stw r0, 0x20(r30) /* 8023B1A4 00238104 80 1D 00 24 */ lwz r0, 0x24(r29) /* 8023B1A8 00238108 90 1E 00 24 */ stw r0, 0x24(r30) /* 8023B1AC 0023810C A0 01 00 08 */ lhz r0, 8(r1) /* 8023B1B0 00238110 B0 1D 00 00 */ sth r0, 0(r29) /* 8023B1B4 00238114 80 01 00 0C */ lwz r0, 0xc(r1) /* 8023B1B8 00238118 90 1D 00 04 */ stw r0, 4(r29) /* 8023B1BC 0023811C 80 01 00 10 */ lwz r0, 0x10(r1) /* 8023B1C0 00238120 90 1D 00 08 */ stw r0, 8(r29) /* 8023B1C4 00238124 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023B1C8 00238128 90 1D 00 0C */ stw r0, 0xc(r29) /* 8023B1CC 0023812C 80 01 00 18 */ lwz r0, 0x18(r1) /* 8023B1D0 00238130 90 1D 00 10 */ stw r0, 0x10(r29) /* 8023B1D4 00238134 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8023B1D8 00238138 90 1D 00 14 */ stw r0, 0x14(r29) /* 8023B1DC 0023813C 80 01 00 20 */ lwz r0, 0x20(r1) /* 8023B1E0 00238140 90 1D 00 18 */ stw r0, 0x18(r29) /* 8023B1E4 00238144 80 61 00 24 */ lwz r3, 0x24(r1) /* 8023B1E8 00238148 80 01 00 28 */ lwz r0, 0x28(r1) /* 8023B1EC 0023814C 90 7D 00 1C */ stw r3, 0x1c(r29) /* 8023B1F0 00238150 90 1D 00 20 */ stw r0, 0x20(r29) /* 8023B1F4 00238154 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023B1F8 00238158 90 1D 00 24 */ stw r0, 0x24(r29) /* 8023B1FC 0023815C 48 00 00 54 */ b lbl_8023B250 lbl_8023B200: /* 8023B200 00238160 A0 01 00 08 */ lhz r0, 8(r1) /* 8023B204 00238164 B0 1E 00 00 */ sth r0, 0(r30) /* 8023B208 00238168 80 01 00 0C */ lwz r0, 0xc(r1) /* 8023B20C 0023816C 90 1E 00 04 */ stw r0, 4(r30) /* 8023B210 00238170 80 01 00 10 */ lwz r0, 0x10(r1) /* 8023B214 00238174 90 1E 00 08 */ stw r0, 8(r30) /* 8023B218 00238178 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023B21C 0023817C 90 1E 00 0C */ stw r0, 0xc(r30) /* 8023B220 00238180 80 01 00 18 */ lwz r0, 0x18(r1) /* 8023B224 00238184 90 1E 00 10 */ stw r0, 0x10(r30) /* 8023B228 00238188 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8023B22C 0023818C 90 1E 00 14 */ stw r0, 0x14(r30) /* 8023B230 00238190 80 01 00 20 */ lwz r0, 0x20(r1) /* 8023B234 00238194 90 1E 00 18 */ stw r0, 0x18(r30) /* 8023B238 00238198 80 61 00 24 */ lwz r3, 0x24(r1) /* 8023B23C 0023819C 80 01 00 28 */ lwz r0, 0x28(r1) /* 8023B240 002381A0 90 7E 00 1C */ stw r3, 0x1c(r30) /* 8023B244 002381A4 90 1E 00 20 */ stw r0, 0x20(r30) /* 8023B248 002381A8 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023B24C 002381AC 90 1E 00 24 */ stw r0, 0x24(r30) lbl_8023B250: /* 8023B250 002381B0 80 01 00 44 */ lwz r0, 0x44(r1) /* 8023B254 002381B4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023B258 002381B8 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8023B25C 002381BC 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8023B260 002381C0 83 81 00 30 */ lwz r28, 0x30(r1) /* 8023B264 002381C4 7C 08 03 A6 */ mtlr r0 /* 8023B268 002381C8 38 21 00 40 */ addi r1, r1, 0x40 /* 8023B26C 002381CC 4E 80 00 20 */ blr .global sub_8023b270 sub_8023b270: /* 8023B270 002381D0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023B274 002381D4 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8023B278 002381D8 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023B27C 002381DC 93 A1 00 34 */ stw r29, 0x34(r1) /* 8023B280 002381E0 A3 A3 00 00 */ lhz r29, 0(r3) /* 8023B284 002381E4 83 C3 00 04 */ lwz r30, 4(r3) /* 8023B288 002381E8 83 E3 00 08 */ lwz r31, 8(r3) /* 8023B28C 002381EC 81 83 00 0C */ lwz r12, 0xc(r3) /* 8023B290 002381F0 81 63 00 10 */ lwz r11, 0x10(r3) /* 8023B294 002381F4 81 43 00 14 */ lwz r10, 0x14(r3) /* 8023B298 002381F8 81 23 00 18 */ lwz r9, 0x18(r3) /* 8023B29C 002381FC C0 43 00 1C */ lfs f2, 0x1c(r3) /* 8023B2A0 00238200 C0 23 00 20 */ lfs f1, 0x20(r3) /* 8023B2A4 00238204 C0 03 00 24 */ lfs f0, 0x24(r3) /* 8023B2A8 00238208 A0 04 00 00 */ lhz r0, 0(r4) /* 8023B2AC 0023820C D0 41 00 24 */ stfs f2, 0x24(r1) /* 8023B2B0 00238210 B0 03 00 00 */ sth r0, 0(r3) /* 8023B2B4 00238214 80 C1 00 24 */ lwz r6, 0x24(r1) /* 8023B2B8 00238218 80 04 00 04 */ lwz r0, 4(r4) /* 8023B2BC 0023821C D0 21 00 28 */ stfs f1, 0x28(r1) /* 8023B2C0 00238220 90 03 00 04 */ stw r0, 4(r3) /* 8023B2C4 00238224 80 A1 00 28 */ lwz r5, 0x28(r1) /* 8023B2C8 00238228 80 04 00 08 */ lwz r0, 8(r4) /* 8023B2CC 0023822C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8023B2D0 00238230 90 03 00 08 */ stw r0, 8(r3) /* 8023B2D4 00238234 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023B2D8 00238238 80 E4 00 0C */ lwz r7, 0xc(r4) /* 8023B2DC 0023823C B3 A1 00 08 */ sth r29, 8(r1) /* 8023B2E0 00238240 90 E3 00 0C */ stw r7, 0xc(r3) /* 8023B2E4 00238244 80 E4 00 10 */ lwz r7, 0x10(r4) /* 8023B2E8 00238248 93 C1 00 0C */ stw r30, 0xc(r1) /* 8023B2EC 0023824C 90 E3 00 10 */ stw r7, 0x10(r3) /* 8023B2F0 00238250 80 E4 00 14 */ lwz r7, 0x14(r4) /* 8023B2F4 00238254 93 E1 00 10 */ stw r31, 0x10(r1) /* 8023B2F8 00238258 90 E3 00 14 */ stw r7, 0x14(r3) /* 8023B2FC 0023825C 80 E4 00 18 */ lwz r7, 0x18(r4) /* 8023B300 00238260 91 81 00 14 */ stw r12, 0x14(r1) /* 8023B304 00238264 90 E3 00 18 */ stw r7, 0x18(r3) /* 8023B308 00238268 81 04 00 1C */ lwz r8, 0x1c(r4) /* 8023B30C 0023826C 80 E4 00 20 */ lwz r7, 0x20(r4) /* 8023B310 00238270 91 61 00 18 */ stw r11, 0x18(r1) /* 8023B314 00238274 91 03 00 1C */ stw r8, 0x1c(r3) /* 8023B318 00238278 90 E3 00 20 */ stw r7, 0x20(r3) /* 8023B31C 0023827C 80 E4 00 24 */ lwz r7, 0x24(r4) /* 8023B320 00238280 91 41 00 1C */ stw r10, 0x1c(r1) /* 8023B324 00238284 90 E3 00 24 */ stw r7, 0x24(r3) /* 8023B328 00238288 B3 A4 00 00 */ sth r29, 0(r4) /* 8023B32C 0023828C 93 C4 00 04 */ stw r30, 4(r4) /* 8023B330 00238290 93 E4 00 08 */ stw r31, 8(r4) /* 8023B334 00238294 91 84 00 0C */ stw r12, 0xc(r4) /* 8023B338 00238298 91 64 00 10 */ stw r11, 0x10(r4) /* 8023B33C 0023829C 91 44 00 14 */ stw r10, 0x14(r4) /* 8023B340 002382A0 91 24 00 18 */ stw r9, 0x18(r4) /* 8023B344 002382A4 90 C4 00 1C */ stw r6, 0x1c(r4) /* 8023B348 002382A8 90 A4 00 20 */ stw r5, 0x20(r4) /* 8023B34C 002382AC 90 04 00 24 */ stw r0, 0x24(r4) /* 8023B350 002382B0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023B354 002382B4 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8023B358 002382B8 91 21 00 20 */ stw r9, 0x20(r1) /* 8023B35C 002382BC 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8023B360 002382C0 38 21 00 40 */ addi r1, r1, 0x40 /* 8023B364 002382C4 4E 80 00 20 */ blr .global sub_8023b368 sub_8023b368: /* 8023B368 002382C8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8023B36C 002382CC 7C 08 02 A6 */ mflr r0 /* 8023B370 002382D0 90 01 00 54 */ stw r0, 0x54(r1) /* 8023B374 002382D4 BF 41 00 38 */ stmw r26, 0x38(r1) /* 8023B378 002382D8 7C 7A 1B 78 */ mr r26, r3 /* 8023B37C 002382DC 7C 9B 23 78 */ mr r27, r4 /* 8023B380 002382E0 7C BC 2B 78 */ mr r28, r5 /* 8023B384 002382E4 83 E3 00 00 */ lwz r31, 0(r3) /* 8023B388 002382E8 3B FF 00 28 */ addi r31, r31, 0x28 /* 8023B38C 002382EC 48 00 01 30 */ b lbl_8023B4BC lbl_8023B390: /* 8023B390 002382F0 A0 1F 00 00 */ lhz r0, 0(r31) /* 8023B394 002382F4 7F FD FB 78 */ mr r29, r31 /* 8023B398 002382F8 3B DF FF D8 */ addi r30, r31, -40 /* 8023B39C 002382FC B0 01 00 08 */ sth r0, 8(r1) /* 8023B3A0 00238300 80 1F 00 04 */ lwz r0, 4(r31) /* 8023B3A4 00238304 90 01 00 0C */ stw r0, 0xc(r1) /* 8023B3A8 00238308 80 1F 00 08 */ lwz r0, 8(r31) /* 8023B3AC 0023830C 90 01 00 10 */ stw r0, 0x10(r1) /* 8023B3B0 00238310 80 1F 00 0C */ lwz r0, 0xc(r31) /* 8023B3B4 00238314 90 01 00 14 */ stw r0, 0x14(r1) /* 8023B3B8 00238318 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8023B3BC 0023831C 90 01 00 18 */ stw r0, 0x18(r1) /* 8023B3C0 00238320 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8023B3C4 00238324 90 01 00 1C */ stw r0, 0x1c(r1) /* 8023B3C8 00238328 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8023B3CC 0023832C 90 01 00 20 */ stw r0, 0x20(r1) /* 8023B3D0 00238330 C0 1F 00 1C */ lfs f0, 0x1c(r31) /* 8023B3D4 00238334 D0 01 00 24 */ stfs f0, 0x24(r1) /* 8023B3D8 00238338 C0 1F 00 20 */ lfs f0, 0x20(r31) /* 8023B3DC 0023833C D0 01 00 28 */ stfs f0, 0x28(r1) /* 8023B3E0 00238340 C0 1F 00 24 */ lfs f0, 0x24(r31) /* 8023B3E4 00238344 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8023B3E8 00238348 48 00 00 5C */ b lbl_8023B444 lbl_8023B3EC: /* 8023B3EC 0023834C A0 1E 00 00 */ lhz r0, 0(r30) /* 8023B3F0 00238350 B0 1D 00 00 */ sth r0, 0(r29) /* 8023B3F4 00238354 80 1E 00 04 */ lwz r0, 4(r30) /* 8023B3F8 00238358 90 1D 00 04 */ stw r0, 4(r29) /* 8023B3FC 0023835C 80 1E 00 08 */ lwz r0, 8(r30) /* 8023B400 00238360 90 1D 00 08 */ stw r0, 8(r29) /* 8023B404 00238364 80 1E 00 0C */ lwz r0, 0xc(r30) /* 8023B408 00238368 90 1D 00 0C */ stw r0, 0xc(r29) /* 8023B40C 0023836C 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8023B410 00238370 90 1D 00 10 */ stw r0, 0x10(r29) /* 8023B414 00238374 80 1E 00 14 */ lwz r0, 0x14(r30) /* 8023B418 00238378 90 1D 00 14 */ stw r0, 0x14(r29) /* 8023B41C 0023837C 80 1E 00 18 */ lwz r0, 0x18(r30) /* 8023B420 00238380 90 1D 00 18 */ stw r0, 0x18(r29) /* 8023B424 00238384 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 8023B428 00238388 80 1E 00 20 */ lwz r0, 0x20(r30) /* 8023B42C 0023838C 90 7D 00 1C */ stw r3, 0x1c(r29) /* 8023B430 00238390 90 1D 00 20 */ stw r0, 0x20(r29) /* 8023B434 00238394 80 1E 00 24 */ lwz r0, 0x24(r30) /* 8023B438 00238398 3B DE FF D8 */ addi r30, r30, -40 /* 8023B43C 0023839C 90 1D 00 24 */ stw r0, 0x24(r29) /* 8023B440 002383A0 3B BD FF D8 */ addi r29, r29, -40 lbl_8023B444: /* 8023B444 002383A4 80 1A 00 00 */ lwz r0, 0(r26) /* 8023B448 002383A8 7C 00 E8 40 */ cmplw r0, r29 /* 8023B44C 002383AC 40 80 00 1C */ bge lbl_8023B468 /* 8023B450 002383B0 7F 83 E3 78 */ mr r3, r28 /* 8023B454 002383B4 7F C5 F3 78 */ mr r5, r30 /* 8023B458 002383B8 38 81 00 08 */ addi r4, r1, 8 /* 8023B45C 002383BC 4B FF F0 69 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole /* 8023B460 002383C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023B464 002383C4 40 82 FF 88 */ bne lbl_8023B3EC lbl_8023B468: /* 8023B468 002383C8 A0 01 00 08 */ lhz r0, 8(r1) /* 8023B46C 002383CC 3B FF 00 28 */ addi r31, r31, 0x28 /* 8023B470 002383D0 B0 1D 00 00 */ sth r0, 0(r29) /* 8023B474 002383D4 80 01 00 0C */ lwz r0, 0xc(r1) /* 8023B478 002383D8 90 1D 00 04 */ stw r0, 4(r29) /* 8023B47C 002383DC 80 01 00 10 */ lwz r0, 0x10(r1) /* 8023B480 002383E0 90 1D 00 08 */ stw r0, 8(r29) /* 8023B484 002383E4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023B488 002383E8 90 1D 00 0C */ stw r0, 0xc(r29) /* 8023B48C 002383EC 80 01 00 18 */ lwz r0, 0x18(r1) /* 8023B490 002383F0 90 1D 00 10 */ stw r0, 0x10(r29) /* 8023B494 002383F4 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8023B498 002383F8 90 1D 00 14 */ stw r0, 0x14(r29) /* 8023B49C 002383FC 80 01 00 20 */ lwz r0, 0x20(r1) /* 8023B4A0 00238400 90 1D 00 18 */ stw r0, 0x18(r29) /* 8023B4A4 00238404 80 61 00 24 */ lwz r3, 0x24(r1) /* 8023B4A8 00238408 80 01 00 28 */ lwz r0, 0x28(r1) /* 8023B4AC 0023840C 90 7D 00 1C */ stw r3, 0x1c(r29) /* 8023B4B0 00238410 90 1D 00 20 */ stw r0, 0x20(r29) /* 8023B4B4 00238414 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023B4B8 00238418 90 1D 00 24 */ stw r0, 0x24(r29) lbl_8023B4BC: /* 8023B4BC 0023841C 80 1B 00 00 */ lwz r0, 0(r27) /* 8023B4C0 00238420 7C 1F 00 40 */ cmplw r31, r0 /* 8023B4C4 00238424 41 80 FE CC */ blt lbl_8023B390 /* 8023B4C8 00238428 BB 41 00 38 */ lmw r26, 0x38(r1) /* 8023B4CC 0023842C 80 01 00 54 */ lwz r0, 0x54(r1) /* 8023B4D0 00238430 7C 08 03 A6 */ mtlr r0 /* 8023B4D4 00238434 38 21 00 50 */ addi r1, r1, 0x50 /* 8023B4D8 00238438 4E 80 00 20 */ blr .global __dt__15CSnakeWeedSwarmFv __dt__15CSnakeWeedSwarmFv: /* 8023B4DC 0023843C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8023B4E0 00238440 7C 08 02 A6 */ mflr r0 /* 8023B4E4 00238444 90 01 00 54 */ stw r0, 0x54(r1) /* 8023B4E8 00238448 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8023B4EC 0023844C 7C 9F 23 78 */ mr r31, r4 /* 8023B4F0 00238450 93 C1 00 48 */ stw r30, 0x48(r1) /* 8023B4F4 00238454 7C 7E 1B 79 */ or. r30, r3, r3 /* 8023B4F8 00238458 93 A1 00 44 */ stw r29, 0x44(r1) /* 8023B4FC 0023845C 93 81 00 40 */ stw r28, 0x40(r1) /* 8023B500 00238460 41 82 02 F0 */ beq lbl_8023B7F0 /* 8023B504 00238464 3C 60 80 3F */ lis r3, lbl_803E8578@ha /* 8023B508 00238468 34 1E 01 F4 */ addic. r0, r30, 0x1f4 /* 8023B50C 0023846C 38 03 85 78 */ addi r0, r3, lbl_803E8578@l /* 8023B510 00238470 90 1E 00 00 */ stw r0, 0(r30) /* 8023B514 00238474 41 82 00 30 */ beq lbl_8023B544 /* 8023B518 00238478 88 1E 01 F4 */ lbz r0, 0x1f4(r30) /* 8023B51C 0023847C 28 00 00 00 */ cmplwi r0, 0 /* 8023B520 00238480 41 82 00 24 */ beq lbl_8023B544 /* 8023B524 00238484 80 7E 01 F8 */ lwz r3, 0x1f8(r30) /* 8023B528 00238488 28 03 00 00 */ cmplwi r3, 0 /* 8023B52C 0023848C 41 82 00 18 */ beq lbl_8023B544 /* 8023B530 00238490 81 83 00 00 */ lwz r12, 0(r3) /* 8023B534 00238494 38 80 00 01 */ li r4, 1 /* 8023B538 00238498 81 8C 00 08 */ lwz r12, 8(r12) /* 8023B53C 0023849C 7D 89 03 A6 */ mtctr r12 /* 8023B540 002384A0 4E 80 04 21 */ bctrl lbl_8023B544: /* 8023B544 002384A4 34 1E 01 EC */ addic. r0, r30, 0x1ec /* 8023B548 002384A8 41 82 00 30 */ beq lbl_8023B578 /* 8023B54C 002384AC 88 1E 01 EC */ lbz r0, 0x1ec(r30) /* 8023B550 002384B0 28 00 00 00 */ cmplwi r0, 0 /* 8023B554 002384B4 41 82 00 24 */ beq lbl_8023B578 /* 8023B558 002384B8 80 7E 01 F0 */ lwz r3, 0x1f0(r30) /* 8023B55C 002384BC 28 03 00 00 */ cmplwi r3, 0 /* 8023B560 002384C0 41 82 00 18 */ beq lbl_8023B578 /* 8023B564 002384C4 81 83 00 00 */ lwz r12, 0(r3) /* 8023B568 002384C8 38 80 00 01 */ li r4, 1 /* 8023B56C 002384CC 81 8C 00 08 */ lwz r12, 8(r12) /* 8023B570 002384D0 7D 89 03 A6 */ mtctr r12 /* 8023B574 002384D4 4E 80 04 21 */ bctrl lbl_8023B578: /* 8023B578 002384D8 34 1E 01 E4 */ addic. r0, r30, 0x1e4 /* 8023B57C 002384DC 41 82 00 34 */ beq lbl_8023B5B0 /* 8023B580 002384E0 88 1E 01 E4 */ lbz r0, 0x1e4(r30) /* 8023B584 002384E4 28 00 00 00 */ cmplwi r0, 0 /* 8023B588 002384E8 41 82 00 28 */ beq lbl_8023B5B0 /* 8023B58C 002384EC 83 BE 01 E8 */ lwz r29, 0x1e8(r30) /* 8023B590 002384F0 28 1D 00 00 */ cmplwi r29, 0 /* 8023B594 002384F4 41 82 00 1C */ beq lbl_8023B5B0 /* 8023B598 002384F8 41 82 00 10 */ beq lbl_8023B5A8 /* 8023B59C 002384FC 7F A3 EB 78 */ mr r3, r29 /* 8023B5A0 00238500 38 80 00 00 */ li r4, 0 /* 8023B5A4 00238504 48 10 58 9D */ bl __dt__6CTokenFv lbl_8023B5A8: /* 8023B5A8 00238508 7F A3 EB 78 */ mr r3, r29 /* 8023B5AC 0023850C 48 0D A3 85 */ bl Free__7CMemoryFPCv lbl_8023B5B0: /* 8023B5B0 00238510 34 1E 01 DC */ addic. r0, r30, 0x1dc /* 8023B5B4 00238514 41 82 00 34 */ beq lbl_8023B5E8 /* 8023B5B8 00238518 88 1E 01 DC */ lbz r0, 0x1dc(r30) /* 8023B5BC 0023851C 28 00 00 00 */ cmplwi r0, 0 /* 8023B5C0 00238520 41 82 00 28 */ beq lbl_8023B5E8 /* 8023B5C4 00238524 83 BE 01 E0 */ lwz r29, 0x1e0(r30) /* 8023B5C8 00238528 28 1D 00 00 */ cmplwi r29, 0 /* 8023B5CC 0023852C 41 82 00 1C */ beq lbl_8023B5E8 /* 8023B5D0 00238530 41 82 00 10 */ beq lbl_8023B5E0 /* 8023B5D4 00238534 7F A3 EB 78 */ mr r3, r29 /* 8023B5D8 00238538 38 80 00 00 */ li r4, 0 /* 8023B5DC 0023853C 48 10 58 65 */ bl __dt__6CTokenFv lbl_8023B5E0: /* 8023B5E0 00238540 7F A3 EB 78 */ mr r3, r29 /* 8023B5E4 00238544 48 0D A3 4D */ bl Free__7CMemoryFPCv lbl_8023B5E8: /* 8023B5E8 00238548 34 1E 01 CC */ addic. r0, r30, 0x1cc /* 8023B5EC 0023854C 41 82 00 58 */ beq lbl_8023B644 /* 8023B5F0 00238550 83 BE 01 CC */ lwz r29, 0x1cc(r30) /* 8023B5F4 00238554 28 1D 00 00 */ cmplwi r29, 0 /* 8023B5F8 00238558 41 82 00 4C */ beq lbl_8023B644 /* 8023B5FC 0023855C 80 1D 00 04 */ lwz r0, 4(r29) /* 8023B600 00238560 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023B604 00238564 54 00 10 3A */ slwi r0, r0, 2 /* 8023B608 00238568 7C 03 02 14 */ add r0, r3, r0 /* 8023B60C 0023856C 90 61 00 1C */ stw r3, 0x1c(r1) /* 8023B610 00238570 7C 64 1B 78 */ mr r4, r3 /* 8023B614 00238574 90 01 00 24 */ stw r0, 0x24(r1) /* 8023B618 00238578 90 01 00 20 */ stw r0, 0x20(r1) /* 8023B61C 0023857C 90 61 00 18 */ stw r3, 0x18(r1) /* 8023B620 00238580 48 00 00 08 */ b lbl_8023B628 lbl_8023B624: /* 8023B624 00238584 38 84 00 04 */ addi r4, r4, 4 lbl_8023B628: /* 8023B628 00238588 7C 04 00 40 */ cmplw r4, r0 /* 8023B62C 0023858C 40 82 FF F8 */ bne lbl_8023B624 /* 8023B630 00238590 28 03 00 00 */ cmplwi r3, 0 /* 8023B634 00238594 41 82 00 08 */ beq lbl_8023B63C /* 8023B638 00238598 48 0D A2 F9 */ bl Free__7CMemoryFPCv lbl_8023B63C: /* 8023B63C 0023859C 7F A3 EB 78 */ mr r3, r29 /* 8023B640 002385A0 48 0D A2 F1 */ bl Free__7CMemoryFPCv lbl_8023B644: /* 8023B644 002385A4 34 1E 01 C8 */ addic. r0, r30, 0x1c8 /* 8023B648 002385A8 41 82 00 58 */ beq lbl_8023B6A0 /* 8023B64C 002385AC 83 BE 01 C8 */ lwz r29, 0x1c8(r30) /* 8023B650 002385B0 28 1D 00 00 */ cmplwi r29, 0 /* 8023B654 002385B4 41 82 00 4C */ beq lbl_8023B6A0 /* 8023B658 002385B8 80 1D 00 04 */ lwz r0, 4(r29) /* 8023B65C 002385BC 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023B660 002385C0 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023B664 002385C4 90 61 00 0C */ stw r3, 0xc(r1) /* 8023B668 002385C8 7C 64 1B 78 */ mr r4, r3 /* 8023B66C 002385CC 7C 03 02 14 */ add r0, r3, r0 /* 8023B670 002385D0 90 61 00 08 */ stw r3, 8(r1) /* 8023B674 002385D4 90 01 00 14 */ stw r0, 0x14(r1) /* 8023B678 002385D8 90 01 00 10 */ stw r0, 0x10(r1) /* 8023B67C 002385DC 48 00 00 08 */ b lbl_8023B684 lbl_8023B680: /* 8023B680 002385E0 38 84 00 0C */ addi r4, r4, 0xc lbl_8023B684: /* 8023B684 002385E4 7C 04 00 40 */ cmplw r4, r0 /* 8023B688 002385E8 40 82 FF F8 */ bne lbl_8023B680 /* 8023B68C 002385EC 28 03 00 00 */ cmplwi r3, 0 /* 8023B690 002385F0 41 82 00 08 */ beq lbl_8023B698 /* 8023B694 002385F4 48 0D A2 9D */ bl Free__7CMemoryFPCv lbl_8023B698: /* 8023B698 002385F8 7F A3 EB 78 */ mr r3, r29 /* 8023B69C 002385FC 48 0D A2 95 */ bl Free__7CMemoryFPCv lbl_8023B6A0: /* 8023B6A0 00238600 34 1E 01 B0 */ addic. r0, r30, 0x1b0 /* 8023B6A4 00238604 41 82 00 40 */ beq lbl_8023B6E4 /* 8023B6A8 00238608 3B 9E 01 B4 */ addi r28, r30, 0x1b4 /* 8023B6AC 0023860C 3B A0 00 00 */ li r29, 0 /* 8023B6B0 00238610 48 00 00 20 */ b lbl_8023B6D0 lbl_8023B6B4: /* 8023B6B4 00238614 28 1C 00 00 */ cmplwi r28, 0 /* 8023B6B8 00238618 41 82 00 10 */ beq lbl_8023B6C8 /* 8023B6BC 0023861C 41 82 00 0C */ beq lbl_8023B6C8 /* 8023B6C0 00238620 7F 83 E3 78 */ mr r3, r28 /* 8023B6C4 00238624 4B F9 7C 9D */ bl sub_801d3360 lbl_8023B6C8: /* 8023B6C8 00238628 3B 9C 00 04 */ addi r28, r28, 4 /* 8023B6CC 0023862C 3B BD 00 01 */ addi r29, r29, 1 lbl_8023B6D0: /* 8023B6D0 00238630 80 1E 01 B0 */ lwz r0, 0x1b0(r30) /* 8023B6D4 00238634 7C 1D 00 00 */ cmpw r29, r0 /* 8023B6D8 00238638 41 80 FF DC */ blt lbl_8023B6B4 /* 8023B6DC 0023863C 38 00 00 00 */ li r0, 0 /* 8023B6E0 00238640 90 1E 01 B0 */ stw r0, 0x1b0(r30) lbl_8023B6E4: /* 8023B6E4 00238644 34 1E 01 9C */ addic. r0, r30, 0x19c /* 8023B6E8 00238648 41 82 00 58 */ beq lbl_8023B740 /* 8023B6EC 0023864C 80 BE 01 9C */ lwz r5, 0x19c(r30) /* 8023B6F0 00238650 38 60 00 00 */ li r3, 0 /* 8023B6F4 00238654 2C 05 00 00 */ cmpwi r5, 0 /* 8023B6F8 00238658 40 81 00 40 */ ble lbl_8023B738 /* 8023B6FC 0023865C 2C 05 00 08 */ cmpwi r5, 8 /* 8023B700 00238660 38 85 FF F8 */ addi r4, r5, -8 /* 8023B704 00238664 40 81 00 20 */ ble lbl_8023B724 /* 8023B708 00238668 38 04 00 07 */ addi r0, r4, 7 /* 8023B70C 0023866C 54 00 E8 FE */ srwi r0, r0, 3 /* 8023B710 00238670 7C 09 03 A6 */ mtctr r0 /* 8023B714 00238674 2C 04 00 00 */ cmpwi r4, 0 /* 8023B718 00238678 40 81 00 0C */ ble lbl_8023B724 lbl_8023B71C: /* 8023B71C 0023867C 38 63 00 08 */ addi r3, r3, 8 /* 8023B720 00238680 42 00 FF FC */ bdnz lbl_8023B71C lbl_8023B724: /* 8023B724 00238684 7C 03 28 50 */ subf r0, r3, r5 /* 8023B728 00238688 7C 09 03 A6 */ mtctr r0 /* 8023B72C 0023868C 7C 03 28 00 */ cmpw r3, r5 /* 8023B730 00238690 40 80 00 08 */ bge lbl_8023B738 lbl_8023B734: /* 8023B734 00238694 42 00 00 00 */ bdnz lbl_8023B734 lbl_8023B738: /* 8023B738 00238698 38 00 00 00 */ li r0, 0 /* 8023B73C 0023869C 90 1E 01 9C */ stw r0, 0x19c(r30) lbl_8023B740: /* 8023B740 002386A0 34 1E 01 78 */ addic. r0, r30, 0x178 /* 8023B744 002386A4 41 82 00 48 */ beq lbl_8023B78C /* 8023B748 002386A8 3B 9E 01 7C */ addi r28, r30, 0x17c /* 8023B74C 002386AC 3B A0 00 00 */ li r29, 0 /* 8023B750 002386B0 48 00 00 28 */ b lbl_8023B778 lbl_8023B754: /* 8023B754 002386B4 28 1C 00 00 */ cmplwi r28, 0 /* 8023B758 002386B8 41 82 00 18 */ beq lbl_8023B770 /* 8023B75C 002386BC 88 1C 00 00 */ lbz r0, 0(r28) /* 8023B760 002386C0 28 00 00 00 */ cmplwi r0, 0 /* 8023B764 002386C4 41 82 00 0C */ beq lbl_8023B770 /* 8023B768 002386C8 80 7C 00 04 */ lwz r3, 4(r28) /* 8023B76C 002386CC 48 0D A1 C5 */ bl Free__7CMemoryFPCv lbl_8023B770: /* 8023B770 002386D0 3B 9C 00 08 */ addi r28, r28, 8 /* 8023B774 002386D4 3B BD 00 01 */ addi r29, r29, 1 lbl_8023B778: /* 8023B778 002386D8 80 1E 01 78 */ lwz r0, 0x178(r30) /* 8023B77C 002386DC 7C 1D 00 00 */ cmpw r29, r0 /* 8023B780 002386E0 41 80 FF D4 */ blt lbl_8023B754 /* 8023B784 002386E4 38 00 00 00 */ li r0, 0 /* 8023B788 002386E8 90 1E 01 78 */ stw r0, 0x178(r30) lbl_8023B78C: /* 8023B78C 002386EC 34 1E 01 30 */ addic. r0, r30, 0x130 /* 8023B790 002386F0 41 82 00 44 */ beq lbl_8023B7D4 /* 8023B794 002386F4 80 1E 01 34 */ lwz r0, 0x134(r30) /* 8023B798 002386F8 80 7E 01 3C */ lwz r3, 0x13c(r30) /* 8023B79C 002386FC 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023B7A0 00238700 90 61 00 2C */ stw r3, 0x2c(r1) /* 8023B7A4 00238704 7C 64 1B 78 */ mr r4, r3 /* 8023B7A8 00238708 7C 03 02 14 */ add r0, r3, r0 /* 8023B7AC 0023870C 90 61 00 28 */ stw r3, 0x28(r1) /* 8023B7B0 00238710 90 01 00 34 */ stw r0, 0x34(r1) /* 8023B7B4 00238714 90 01 00 30 */ stw r0, 0x30(r1) /* 8023B7B8 00238718 48 00 00 08 */ b lbl_8023B7C0 lbl_8023B7BC: /* 8023B7BC 0023871C 38 84 00 24 */ addi r4, r4, 0x24 lbl_8023B7C0: /* 8023B7C0 00238720 7C 04 00 40 */ cmplw r4, r0 /* 8023B7C4 00238724 40 82 FF F8 */ bne lbl_8023B7BC /* 8023B7C8 00238728 28 03 00 00 */ cmplwi r3, 0 /* 8023B7CC 0023872C 41 82 00 08 */ beq lbl_8023B7D4 /* 8023B7D0 00238730 48 0D A1 61 */ bl Free__7CMemoryFPCv lbl_8023B7D4: /* 8023B7D4 00238734 7F C3 F3 78 */ mr r3, r30 /* 8023B7D8 00238738 38 80 00 00 */ li r4, 0 /* 8023B7DC 0023873C 4B E1 9F 15 */ bl __dt__6CActorFv /* 8023B7E0 00238740 7F E0 07 35 */ extsh. r0, r31 /* 8023B7E4 00238744 40 81 00 0C */ ble lbl_8023B7F0 /* 8023B7E8 00238748 7F C3 F3 78 */ mr r3, r30 /* 8023B7EC 0023874C 48 0D A1 45 */ bl Free__7CMemoryFPCv lbl_8023B7F0: /* 8023B7F0 00238750 80 01 00 54 */ lwz r0, 0x54(r1) /* 8023B7F4 00238754 7F C3 F3 78 */ mr r3, r30 /* 8023B7F8 00238758 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8023B7FC 0023875C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8023B800 00238760 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8023B804 00238764 83 81 00 40 */ lwz r28, 0x40(r1) /* 8023B808 00238768 7C 08 03 A6 */ mtlr r0 /* 8023B80C 0023876C 38 21 00 50 */ addi r1, r1, 0x50 /* 8023B810 00238770 4E 80 00 20 */ blr .global sub_8023b814 sub_8023b814: /* 8023B814 00238774 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023B818 00238778 7C 08 02 A6 */ mflr r0 /* 8023B81C 0023877C 90 01 00 14 */ stw r0, 0x14(r1) /* 8023B820 00238780 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023B824 00238784 7C 9F 23 78 */ mr r31, r4 /* 8023B828 00238788 93 C1 00 08 */ stw r30, 8(r1) /* 8023B82C 0023878C 7C 7E 1B 78 */ mr r30, r3 /* 8023B830 00238790 80 63 01 F0 */ lwz r3, 0x1f0(r3) /* 8023B834 00238794 28 03 00 00 */ cmplwi r3, 0 /* 8023B838 00238798 41 82 00 54 */ beq lbl_8023B88C /* 8023B83C 0023879C 81 83 00 00 */ lwz r12, 0(r3) /* 8023B840 002387A0 38 80 00 01 */ li r4, 1 /* 8023B844 002387A4 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8023B848 002387A8 7D 89 03 A6 */ mtctr r12 /* 8023B84C 002387AC 4E 80 04 21 */ bctrl /* 8023B850 002387B0 80 7E 01 F0 */ lwz r3, 0x1f0(r30) /* 8023B854 002387B4 7F E4 FB 78 */ mr r4, r31 /* 8023B858 002387B8 81 83 00 00 */ lwz r12, 0(r3) /* 8023B85C 002387BC 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8023B860 002387C0 7D 89 03 A6 */ mtctr r12 /* 8023B864 002387C4 4E 80 04 21 */ bctrl /* 8023B868 002387C8 80 7E 01 F0 */ lwz r3, 0x1f0(r30) /* 8023B86C 002387CC 80 9E 01 FC */ lwz r4, 0x1fc(r30) /* 8023B870 002387D0 48 0E 10 51 */ bl ForceParticleCreation__11CElementGenFi /* 8023B874 002387D4 80 7E 01 F0 */ lwz r3, 0x1f0(r30) /* 8023B878 002387D8 38 80 00 00 */ li r4, 0 /* 8023B87C 002387DC 81 83 00 00 */ lwz r12, 0(r3) /* 8023B880 002387E0 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8023B884 002387E4 7D 89 03 A6 */ mtctr r12 /* 8023B888 002387E8 4E 80 04 21 */ bctrl lbl_8023B88C: /* 8023B88C 002387EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023B890 002387F0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8023B894 002387F4 83 C1 00 08 */ lwz r30, 8(r1) /* 8023B898 002387F8 7C 08 03 A6 */ mtlr r0 /* 8023B89C 002387FC 38 21 00 10 */ addi r1, r1, 0x10 /* 8023B8A0 00238800 4E 80 00 20 */ blr .global sub_8023b8a4 sub_8023b8a4: /* 8023B8A4 00238804 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023B8A8 00238808 7C 08 02 A6 */ mflr r0 /* 8023B8AC 0023880C 90 01 00 14 */ stw r0, 0x14(r1) /* 8023B8B0 00238810 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023B8B4 00238814 7C 9F 23 78 */ mr r31, r4 /* 8023B8B8 00238818 93 C1 00 08 */ stw r30, 8(r1) /* 8023B8BC 0023881C 7C 7E 1B 78 */ mr r30, r3 /* 8023B8C0 00238820 80 63 01 F8 */ lwz r3, 0x1f8(r3) /* 8023B8C4 00238824 28 03 00 00 */ cmplwi r3, 0 /* 8023B8C8 00238828 41 82 00 54 */ beq lbl_8023B91C /* 8023B8CC 0023882C 81 83 00 00 */ lwz r12, 0(r3) /* 8023B8D0 00238830 38 80 00 01 */ li r4, 1 /* 8023B8D4 00238834 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8023B8D8 00238838 7D 89 03 A6 */ mtctr r12 /* 8023B8DC 0023883C 4E 80 04 21 */ bctrl /* 8023B8E0 00238840 80 7E 01 F8 */ lwz r3, 0x1f8(r30) /* 8023B8E4 00238844 7F E4 FB 78 */ mr r4, r31 /* 8023B8E8 00238848 81 83 00 00 */ lwz r12, 0(r3) /* 8023B8EC 0023884C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 8023B8F0 00238850 7D 89 03 A6 */ mtctr r12 /* 8023B8F4 00238854 4E 80 04 21 */ bctrl /* 8023B8F8 00238858 80 7E 01 F8 */ lwz r3, 0x1f8(r30) /* 8023B8FC 0023885C 38 80 00 01 */ li r4, 1 /* 8023B900 00238860 48 0E 0F C1 */ bl ForceParticleCreation__11CElementGenFi /* 8023B904 00238864 80 7E 01 F8 */ lwz r3, 0x1f8(r30) /* 8023B908 00238868 38 80 00 00 */ li r4, 0 /* 8023B90C 0023886C 81 83 00 00 */ lwz r12, 0(r3) /* 8023B910 00238870 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8023B914 00238874 7D 89 03 A6 */ mtctr r12 /* 8023B918 00238878 4E 80 04 21 */ bctrl lbl_8023B91C: /* 8023B91C 0023887C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023B920 00238880 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8023B924 00238884 83 C1 00 08 */ lwz r30, 8(r1) /* 8023B928 00238888 7C 08 03 A6 */ mtlr r0 /* 8023B92C 0023888C 38 21 00 10 */ addi r1, r1, 0x10 /* 8023B930 00238890 4E 80 00 20 */ blr .global sub_8023b934 sub_8023b934: /* 8023B934 00238894 94 21 FF 00 */ stwu r1, -0x100(r1) /* 8023B938 00238898 7C 08 02 A6 */ mflr r0 /* 8023B93C 0023889C 90 01 01 04 */ stw r0, 0x104(r1) /* 8023B940 002388A0 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 8023B944 002388A4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 8023B948 002388A8 DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 8023B94C 002388AC F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 /* 8023B950 002388B0 93 E1 00 DC */ stw r31, 0xdc(r1) /* 8023B954 002388B4 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 8023B958 002388B8 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 8023B95C 002388BC 88 0D A5 31 */ lbz r0, lbl_805A90F1@sda21(r13) /* 8023B960 002388C0 7C 7F 1B 78 */ mr r31, r3 /* 8023B964 002388C4 7C 9D 23 78 */ mr r29, r4 /* 8023B968 002388C8 7C BE 2B 78 */ mr r30, r5 /* 8023B96C 002388CC 7C 00 07 75 */ extsb. r0, r0 /* 8023B970 002388D0 40 82 00 40 */ bne lbl_8023B9B0 /* 8023B974 002388D4 80 AD 96 84 */ lwz r5, lbl_805A8244@sda21(r13) /* 8023B978 002388D8 38 60 00 00 */ li r3, 0 /* 8023B97C 002388DC 38 80 00 01 */ li r4, 1 /* 8023B980 002388E0 48 14 E5 75 */ bl __shl2i /* 8023B984 002388E4 3C A0 80 47 */ lis r5, lbl_8046D378@ha /* 8023B988 002388E8 38 C0 00 01 */ li r6, 1 /* 8023B98C 002388EC 38 A5 D3 78 */ addi r5, r5, lbl_8046D378@l /* 8023B990 002388F0 38 00 00 00 */ li r0, 0 /* 8023B994 002388F4 90 C1 00 40 */ stw r6, 0x40(r1) /* 8023B998 002388F8 90 85 00 04 */ stw r4, 4(r5) /* 8023B99C 002388FC 90 65 00 00 */ stw r3, 0(r5) /* 8023B9A0 00238900 90 05 00 0C */ stw r0, 0xc(r5) /* 8023B9A4 00238904 90 05 00 08 */ stw r0, 8(r5) /* 8023B9A8 00238908 90 C5 00 10 */ stw r6, 0x10(r5) /* 8023B9AC 0023890C 98 CD A5 31 */ stb r6, lbl_805A90F1@sda21(r13) lbl_8023B9B0: /* 8023B9B0 00238910 C3 DF 00 F8 */ lfs f30, 0xf8(r31) /* 8023B9B4 00238914 7F E3 FB 78 */ mr r3, r31 /* 8023B9B8 00238918 7F A4 EB 78 */ mr r4, r29 /* 8023B9BC 0023891C 48 00 02 0D */ bl sub_8023bbc8 /* 8023B9C0 00238920 FF E0 08 90 */ fmr f31, f1 /* 8023B9C4 00238924 7F E3 FB 78 */ mr r3, r31 /* 8023B9C8 00238928 7F A4 EB 78 */ mr r4, r29 /* 8023B9CC 0023892C 48 00 02 6D */ bl sub_8023bc38 /* 8023B9D0 00238930 C0 5D 00 04 */ lfs f2, 4(r29) /* 8023B9D4 00238934 3C 60 80 47 */ lis r3, lbl_8046D378@ha /* 8023B9D8 00238938 C0 7D 00 08 */ lfs f3, 8(r29) /* 8023B9DC 0023893C 38 E3 D3 78 */ addi r7, r3, lbl_8046D378@l /* 8023B9E0 00238940 EC A2 F8 2A */ fadds f5, f2, f31 /* 8023B9E4 00238944 C0 1D 00 00 */ lfs f0, 0(r29) /* 8023B9E8 00238948 EC 83 F0 2A */ fadds f4, f3, f30 /* 8023B9EC 0023894C C0 42 B7 68 */ lfs f2, lbl_805AD488@sda21(r2) /* 8023B9F0 00238950 EC 60 08 2A */ fadds f3, f0, f1 /* 8023B9F4 00238954 C0 02 B7 6C */ lfs f0, lbl_805AD48C@sda21(r2) /* 8023B9F8 00238958 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 8023B9FC 0023895C 7F C4 F3 78 */ mr r4, r30 /* 8023BA00 00238960 C0 22 B7 70 */ lfs f1, lbl_805AD490@sda21(r2) /* 8023BA04 00238964 38 61 00 48 */ addi r3, r1, 0x48 /* 8023BA08 00238968 D0 61 00 20 */ stfs f3, 0x20(r1) /* 8023BA0C 0023896C 38 A1 00 20 */ addi r5, r1, 0x20 /* 8023BA10 00238970 38 C1 00 14 */ addi r6, r1, 0x14 /* 8023BA14 00238974 D0 81 00 28 */ stfs f4, 0x28(r1) /* 8023BA18 00238978 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8023BA1C 0023897C D0 41 00 18 */ stfs f2, 0x18(r1) /* 8023BA20 00238980 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8023BA24 00238984 C0 1F 00 F8 */ lfs f0, 0xf8(r31) /* 8023BA28 00238988 EC 21 00 32 */ fmuls f1, f1, f0 /* 8023BA2C 0023898C 4B E1 15 6D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 8023BA30 00238990 88 81 00 68 */ lbz r4, 0x68(r1) /* 8023BA34 00238994 C0 41 00 48 */ lfs f2, 0x48(r1) /* 8023BA38 00238998 C1 01 00 4C */ lfs f8, 0x4c(r1) /* 8023BA3C 0023899C 28 04 00 00 */ cmplwi r4, 0 /* 8023BA40 002389A0 C0 E1 00 50 */ lfs f7, 0x50(r1) /* 8023BA44 002389A4 C0 C1 00 54 */ lfs f6, 0x54(r1) /* 8023BA48 002389A8 C0 A1 00 58 */ lfs f5, 0x58(r1) /* 8023BA4C 002389AC C0 21 00 5C */ lfs f1, 0x5c(r1) /* 8023BA50 002389B0 C0 81 00 60 */ lfs f4, 0x60(r1) /* 8023BA54 002389B4 C0 01 00 64 */ lfs f0, 0x64(r1) /* 8023BA58 002389B8 80 01 00 70 */ lwz r0, 0x70(r1) /* 8023BA5C 002389BC 80 61 00 74 */ lwz r3, 0x74(r1) /* 8023BA60 002389C0 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 8023BA64 002389C4 D1 01 00 A4 */ stfs f8, 0xa4(r1) /* 8023BA68 002389C8 D0 E1 00 A8 */ stfs f7, 0xa8(r1) /* 8023BA6C 002389CC D0 C1 00 AC */ stfs f6, 0xac(r1) /* 8023BA70 002389D0 D0 A1 00 B0 */ stfs f5, 0xb0(r1) /* 8023BA74 002389D4 D0 21 00 B4 */ stfs f1, 0xb4(r1) /* 8023BA78 002389D8 D0 81 00 B8 */ stfs f4, 0xb8(r1) /* 8023BA7C 002389DC D0 01 00 BC */ stfs f0, 0xbc(r1) /* 8023BA80 002389E0 98 81 00 C0 */ stb r4, 0xc0(r1) /* 8023BA84 002389E4 90 61 00 CC */ stw r3, 0xcc(r1) /* 8023BA88 002389E8 90 01 00 C8 */ stw r0, 0xc8(r1) /* 8023BA8C 002389EC 41 82 01 0C */ beq lbl_8023BB98 /* 8023BA90 002389F0 C0 42 B7 68 */ lfs f2, lbl_805AD488@sda21(r2) /* 8023BA94 002389F4 C0 62 B7 74 */ lfs f3, lbl_805AD494@sda21(r2) /* 8023BA98 002389F8 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8023BA9C 002389FC C0 1F 01 1C */ lfs f0, 0x11c(r31) /* 8023BAA0 00238A00 EC 25 08 BA */ fmadds f1, f5, f2, f1 /* 8023BAA4 00238A04 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 8023BAA8 00238A08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023BAAC 00238A0C 40 81 00 EC */ ble lbl_8023BB98 /* 8023BAB0 00238A10 C0 3F 01 28 */ lfs f1, 0x128(r31) /* 8023BAB4 00238A14 EC 67 10 28 */ fsubs f3, f7, f2 /* 8023BAB8 00238A18 EC 08 10 28 */ fsubs f0, f8, f2 /* 8023BABC 00238A1C EC 26 08 28 */ fsubs f1, f6, f1 /* 8023BAC0 00238A20 D0 61 00 0C */ stfs f3, 0xc(r1) /* 8023BAC4 00238A24 D0 01 00 08 */ stfs f0, 8(r1) /* 8023BAC8 00238A28 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8023BACC 00238A2C C3 DF 01 20 */ lfs f30, 0x120(r31) /* 8023BAD0 00238A30 80 7E 09 00 */ lwz r3, 0x900(r30) /* 8023BAD4 00238A34 48 0D 6A 09 */ bl Float__9CRandom16Fv /* 8023BAD8 00238A38 C0 1F 01 24 */ lfs f0, 0x124(r31) /* 8023BADC 00238A3C 38 61 00 78 */ addi r3, r1, 0x78 /* 8023BAE0 00238A40 C0 5F 01 14 */ lfs f2, 0x114(r31) /* 8023BAE4 00238A44 38 81 00 08 */ addi r4, r1, 8 /* 8023BAE8 00238A48 EC 60 F0 28 */ fsubs f3, f0, f30 /* 8023BAEC 00238A4C C0 1F 01 18 */ lfs f0, 0x118(r31) /* 8023BAF0 00238A50 EC 42 00 2A */ fadds f2, f2, f0 /* 8023BAF4 00238A54 EC 63 F0 7A */ fmadds f3, f3, f1, f30 /* 8023BAF8 00238A58 C0 3F 01 10 */ lfs f1, 0x110(r31) /* 8023BAFC 00238A5C 48 00 28 B5 */ bl sub_8023e3b0 /* 8023BB00 00238A60 80 1F 01 34 */ lwz r0, 0x134(r31) /* 8023BB04 00238A64 80 BF 01 38 */ lwz r5, 0x138(r31) /* 8023BB08 00238A68 7C 00 28 00 */ cmpw r0, r5 /* 8023BB0C 00238A6C 41 80 00 1C */ blt lbl_8023BB28 /* 8023BB10 00238A70 2C 05 00 00 */ cmpwi r5, 0 /* 8023BB14 00238A74 38 7F 01 30 */ addi r3, r31, 0x130 /* 8023BB18 00238A78 38 80 00 04 */ li r4, 4 /* 8023BB1C 00238A7C 41 82 00 08 */ beq lbl_8023BB24 /* 8023BB20 00238A80 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023BB24: /* 8023BB24 00238A84 48 00 28 BD */ bl sub_8023e3e0 lbl_8023BB28: /* 8023BB28 00238A88 80 1F 01 34 */ lwz r0, 0x134(r31) /* 8023BB2C 00238A8C 80 7F 01 3C */ lwz r3, 0x13c(r31) /* 8023BB30 00238A90 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023BB34 00238A94 7C 63 02 15 */ add. r3, r3, r0 /* 8023BB38 00238A98 41 82 00 4C */ beq lbl_8023BB84 /* 8023BB3C 00238A9C C0 01 00 78 */ lfs f0, 0x78(r1) /* 8023BB40 00238AA0 D0 03 00 00 */ stfs f0, 0(r3) /* 8023BB44 00238AA4 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 8023BB48 00238AA8 D0 03 00 04 */ stfs f0, 4(r3) /* 8023BB4C 00238AAC C0 01 00 80 */ lfs f0, 0x80(r1) /* 8023BB50 00238AB0 D0 03 00 08 */ stfs f0, 8(r3) /* 8023BB54 00238AB4 80 01 00 84 */ lwz r0, 0x84(r1) /* 8023BB58 00238AB8 90 03 00 0C */ stw r0, 0xc(r3) /* 8023BB5C 00238ABC C0 01 00 88 */ lfs f0, 0x88(r1) /* 8023BB60 00238AC0 D0 03 00 10 */ stfs f0, 0x10(r3) /* 8023BB64 00238AC4 C0 01 00 8C */ lfs f0, 0x8c(r1) /* 8023BB68 00238AC8 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8023BB6C 00238ACC C0 01 00 90 */ lfs f0, 0x90(r1) /* 8023BB70 00238AD0 D0 03 00 18 */ stfs f0, 0x18(r3) /* 8023BB74 00238AD4 C0 01 00 94 */ lfs f0, 0x94(r1) /* 8023BB78 00238AD8 D0 03 00 1C */ stfs f0, 0x1c(r3) /* 8023BB7C 00238ADC C0 01 00 98 */ lfs f0, 0x98(r1) /* 8023BB80 00238AE0 D0 03 00 20 */ stfs f0, 0x20(r3) lbl_8023BB84: /* 8023BB84 00238AE4 80 9F 01 34 */ lwz r4, 0x134(r31) /* 8023BB88 00238AE8 38 60 00 01 */ li r3, 1 /* 8023BB8C 00238AEC 38 04 00 01 */ addi r0, r4, 1 /* 8023BB90 00238AF0 90 1F 01 34 */ stw r0, 0x134(r31) /* 8023BB94 00238AF4 48 00 00 08 */ b lbl_8023BB9C lbl_8023BB98: /* 8023BB98 00238AF8 38 60 00 00 */ li r3, 0 lbl_8023BB9C: /* 8023BB9C 00238AFC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 8023BBA0 00238B00 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 8023BBA4 00238B04 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 /* 8023BBA8 00238B08 CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 8023BBAC 00238B0C 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 8023BBB0 00238B10 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 8023BBB4 00238B14 80 01 01 04 */ lwz r0, 0x104(r1) /* 8023BBB8 00238B18 83 A1 00 D4 */ lwz r29, 0xd4(r1) /* 8023BBBC 00238B1C 7C 08 03 A6 */ mtlr r0 /* 8023BBC0 00238B20 38 21 01 00 */ addi r1, r1, 0x100 /* 8023BBC4 00238B24 4E 80 00 20 */ blr .global sub_8023bbc8 sub_8023bbc8: /* 8023BBC8 00238B28 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023BBCC 00238B2C 3C 00 43 30 */ lis r0, 0x4330 /* 8023BBD0 00238B30 C0 22 B7 7C */ lfs f1, lbl_805AD49C@sda21(r2) /* 8023BBD4 00238B34 C0 04 00 00 */ lfs f0, 0(r4) /* 8023BBD8 00238B38 C0 A2 B7 78 */ lfs f5, lbl_805AD498@sda21(r2) /* 8023BBDC 00238B3C EC 00 00 32 */ fmuls f0, f0, f0 /* 8023BBE0 00238B40 C0 64 00 04 */ lfs f3, 4(r4) /* 8023BBE4 00238B44 90 01 00 10 */ stw r0, 0x10(r1) /* 8023BBE8 00238B48 C8 82 B7 80 */ lfd f4, lbl_805AD4A0@sda21(r2) /* 8023BBEC 00238B4C EC 21 00 32 */ fmuls f1, f1, f0 /* 8023BBF0 00238B50 C0 42 B7 70 */ lfs f2, lbl_805AD490@sda21(r2) /* 8023BBF4 00238B54 C0 02 B7 74 */ lfs f0, lbl_805AD494@sda21(r2) /* 8023BBF8 00238B58 EC A5 08 FA */ fmadds f5, f5, f3, f1 /* 8023BBFC 00238B5C C0 63 00 FC */ lfs f3, 0xfc(r3) /* 8023BC00 00238B60 FC 20 28 1E */ fctiwz f1, f5 /* 8023BC04 00238B64 D8 21 00 08 */ stfd f1, 8(r1) /* 8023BC08 00238B68 80 01 00 0C */ lwz r0, 0xc(r1) /* 8023BC0C 00238B6C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8023BC10 00238B70 90 01 00 14 */ stw r0, 0x14(r1) /* 8023BC14 00238B74 C8 21 00 10 */ lfd f1, 0x10(r1) /* 8023BC18 00238B78 EC 21 20 28 */ fsubs f1, f1, f4 /* 8023BC1C 00238B7C EC 25 08 28 */ fsubs f1, f5, f1 /* 8023BC20 00238B80 FC 20 0A 10 */ fabs f1, f1 /* 8023BC24 00238B84 FC 20 08 18 */ frsp f1, f1 /* 8023BC28 00238B88 EC 02 00 78 */ fmsubs f0, f2, f1, f0 /* 8023BC2C 00238B8C EC 23 00 32 */ fmuls f1, f3, f0 /* 8023BC30 00238B90 38 21 00 20 */ addi r1, r1, 0x20 /* 8023BC34 00238B94 4E 80 00 20 */ blr .global sub_8023bc38 sub_8023bc38: /* 8023BC38 00238B98 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023BC3C 00238B9C 3C 00 43 30 */ lis r0, 0x4330 /* 8023BC40 00238BA0 C0 22 B7 8C */ lfs f1, lbl_805AD4AC@sda21(r2) /* 8023BC44 00238BA4 C0 04 00 04 */ lfs f0, 4(r4) /* 8023BC48 00238BA8 C0 A2 B7 88 */ lfs f5, lbl_805AD4A8@sda21(r2) /* 8023BC4C 00238BAC EC 00 00 32 */ fmuls f0, f0, f0 /* 8023BC50 00238BB0 C0 64 00 00 */ lfs f3, 0(r4) /* 8023BC54 00238BB4 90 01 00 10 */ stw r0, 0x10(r1) /* 8023BC58 00238BB8 C8 82 B7 80 */ lfd f4, lbl_805AD4A0@sda21(r2) /* 8023BC5C 00238BBC EC 21 00 32 */ fmuls f1, f1, f0 /* 8023BC60 00238BC0 C0 42 B7 70 */ lfs f2, lbl_805AD490@sda21(r2) /* 8023BC64 00238BC4 C0 02 B7 74 */ lfs f0, lbl_805AD494@sda21(r2) /* 8023BC68 00238BC8 EC A5 08 FA */ fmadds f5, f5, f3, f1 /* 8023BC6C 00238BCC C0 63 00 FC */ lfs f3, 0xfc(r3) /* 8023BC70 00238BD0 FC 20 28 1E */ fctiwz f1, f5 /* 8023BC74 00238BD4 D8 21 00 08 */ stfd f1, 8(r1) /* 8023BC78 00238BD8 80 01 00 0C */ lwz r0, 0xc(r1) /* 8023BC7C 00238BDC 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8023BC80 00238BE0 90 01 00 14 */ stw r0, 0x14(r1) /* 8023BC84 00238BE4 C8 21 00 10 */ lfd f1, 0x10(r1) /* 8023BC88 00238BE8 EC 21 20 28 */ fsubs f1, f1, f4 /* 8023BC8C 00238BEC EC 25 08 28 */ fsubs f1, f5, f1 /* 8023BC90 00238BF0 FC 20 0A 10 */ fabs f1, f1 /* 8023BC94 00238BF4 FC 20 08 18 */ frsp f1, f1 /* 8023BC98 00238BF8 EC 02 00 78 */ fmsubs f0, f2, f1, f0 /* 8023BC9C 00238BFC EC 23 00 32 */ fmuls f1, f3, f0 /* 8023BCA0 00238C00 38 21 00 20 */ addi r1, r1, 0x20 /* 8023BCA4 00238C04 4E 80 00 20 */ blr .global sub_8023bca8 sub_8023bca8: /* 8023BCA8 00238C08 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8023BCAC 00238C0C 7C 08 02 A6 */ mflr r0 /* 8023BCB0 00238C10 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8023BCB4 00238C14 BF 61 00 BC */ stmw r27, 0xbc(r1) /* 8023BCB8 00238C18 7C 7B 1B 78 */ mr r27, r3 /* 8023BCBC 00238C1C 7C 9C 23 78 */ mr r28, r4 /* 8023BCC0 00238C20 7C BD 2B 78 */ mr r29, r5 /* 8023BCC4 00238C24 48 00 04 91 */ bl sub_8023c154 /* 8023BCC8 00238C28 7C 7F 1B 78 */ mr r31, r3 /* 8023BCCC 00238C2C 3B C0 00 00 */ li r30, 0 /* 8023BCD0 00238C30 48 00 01 F0 */ b lbl_8023BEC0 lbl_8023BCD4: /* 8023BCD4 00238C34 80 A3 00 04 */ lwz r5, 4(r3) /* 8023BCD8 00238C38 7F 64 DB 78 */ mr r4, r27 /* 8023BCDC 00238C3C 80 C3 00 0C */ lwz r6, 0xc(r3) /* 8023BCE0 00238C40 38 61 00 28 */ addi r3, r1, 0x28 /* 8023BCE4 00238C44 38 05 FF FF */ addi r0, r5, -1 /* 8023BCE8 00238C48 38 A1 00 98 */ addi r5, r1, 0x98 /* 8023BCEC 00238C4C 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023BCF0 00238C50 7C C6 02 14 */ add r6, r6, r0 /* 8023BCF4 00238C54 C0 06 00 00 */ lfs f0, 0(r6) /* 8023BCF8 00238C58 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 8023BCFC 00238C5C C0 06 00 04 */ lfs f0, 4(r6) /* 8023BD00 00238C60 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 8023BD04 00238C64 C0 06 00 08 */ lfs f0, 8(r6) /* 8023BD08 00238C68 D0 01 00 AC */ stfs f0, 0xac(r1) /* 8023BD0C 00238C6C 80 FB 01 C8 */ lwz r7, 0x1c8(r27) /* 8023BD10 00238C70 80 C7 00 04 */ lwz r6, 4(r7) /* 8023BD14 00238C74 38 06 FF FF */ addi r0, r6, -1 /* 8023BD18 00238C78 90 07 00 04 */ stw r0, 4(r7) /* 8023BD1C 00238C7C 80 E1 00 A4 */ lwz r7, 0xa4(r1) /* 8023BD20 00238C80 80 C1 00 A8 */ lwz r6, 0xa8(r1) /* 8023BD24 00238C84 80 01 00 AC */ lwz r0, 0xac(r1) /* 8023BD28 00238C88 90 E1 00 98 */ stw r7, 0x98(r1) /* 8023BD2C 00238C8C 90 C1 00 9C */ stw r6, 0x9c(r1) /* 8023BD30 00238C90 90 01 00 A0 */ stw r0, 0xa0(r1) /* 8023BD34 00238C94 48 00 04 79 */ bl sub_8023c1ac /* 8023BD38 00238C98 80 81 00 28 */ lwz r4, 0x28(r1) /* 8023BD3C 00238C9C 7F 63 DB 78 */ mr r3, r27 /* 8023BD40 00238CA0 80 01 00 2C */ lwz r0, 0x2c(r1) /* 8023BD44 00238CA4 7F 85 E3 78 */ mr r5, r28 /* 8023BD48 00238CA8 90 81 00 30 */ stw r4, 0x30(r1) /* 8023BD4C 00238CAC 38 81 00 A4 */ addi r4, r1, 0xa4 /* 8023BD50 00238CB0 90 01 00 34 */ stw r0, 0x34(r1) /* 8023BD54 00238CB4 4B FF FB E1 */ bl sub_8023b934 /* 8023BD58 00238CB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023BD5C 00238CBC 41 82 01 3C */ beq lbl_8023BE98 /* 8023BD60 00238CC0 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023BD64 00238CC4 38 E0 00 03 */ li r7, 3 /* 8023BD68 00238CC8 80 9B 01 CC */ lwz r4, 0x1cc(r27) /* 8023BD6C 00238CCC 7F 63 DB 78 */ mr r3, r27 /* 8023BD70 00238CD0 7C 1F 01 D6 */ mullw r0, r31, r0 /* 8023BD74 00238CD4 80 A1 00 30 */ lwz r5, 0x30(r1) /* 8023BD78 00238CD8 80 C4 00 0C */ lwz r6, 0xc(r4) /* 8023BD7C 00238CDC 38 81 00 8C */ addi r4, r1, 0x8c /* 8023BD80 00238CE0 7C 05 02 14 */ add r0, r5, r0 /* 8023BD84 00238CE4 54 00 10 3A */ slwi r0, r0, 2 /* 8023BD88 00238CE8 7C E6 01 2E */ stwx r7, r6, r0 /* 8023BD8C 00238CEC C0 41 00 A8 */ lfs f2, 0xa8(r1) /* 8023BD90 00238CF0 C0 1B 00 F4 */ lfs f0, 0xf4(r27) /* 8023BD94 00238CF4 C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 8023BD98 00238CF8 EC 42 00 28 */ fsubs f2, f2, f0 /* 8023BD9C 00238CFC C0 01 00 AC */ lfs f0, 0xac(r1) /* 8023BDA0 00238D00 D0 21 00 80 */ stfs f1, 0x80(r1) /* 8023BDA4 00238D04 D0 41 00 84 */ stfs f2, 0x84(r1) /* 8023BDA8 00238D08 80 C1 00 80 */ lwz r6, 0x80(r1) /* 8023BDAC 00238D0C D0 01 00 88 */ stfs f0, 0x88(r1) /* 8023BDB0 00238D10 80 A1 00 84 */ lwz r5, 0x84(r1) /* 8023BDB4 00238D14 80 01 00 88 */ lwz r0, 0x88(r1) /* 8023BDB8 00238D18 90 C1 00 8C */ stw r6, 0x8c(r1) /* 8023BDBC 00238D1C 90 A1 00 90 */ stw r5, 0x90(r1) /* 8023BDC0 00238D20 90 01 00 94 */ stw r0, 0x94(r1) /* 8023BDC4 00238D24 48 00 01 F5 */ bl sub_8023bfb8 /* 8023BDC8 00238D28 C0 5B 00 F4 */ lfs f2, 0xf4(r27) /* 8023BDCC 00238D2C 7F 63 DB 78 */ mr r3, r27 /* 8023BDD0 00238D30 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 8023BDD4 00238D34 38 81 00 74 */ addi r4, r1, 0x74 /* 8023BDD8 00238D38 C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 8023BDDC 00238D3C EC 42 00 2A */ fadds f2, f2, f0 /* 8023BDE0 00238D40 C0 01 00 AC */ lfs f0, 0xac(r1) /* 8023BDE4 00238D44 D0 21 00 68 */ stfs f1, 0x68(r1) /* 8023BDE8 00238D48 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8023BDEC 00238D4C 80 C1 00 68 */ lwz r6, 0x68(r1) /* 8023BDF0 00238D50 D0 01 00 70 */ stfs f0, 0x70(r1) /* 8023BDF4 00238D54 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 8023BDF8 00238D58 80 01 00 70 */ lwz r0, 0x70(r1) /* 8023BDFC 00238D5C 90 C1 00 74 */ stw r6, 0x74(r1) /* 8023BE00 00238D60 90 A1 00 78 */ stw r5, 0x78(r1) /* 8023BE04 00238D64 90 01 00 7C */ stw r0, 0x7c(r1) /* 8023BE08 00238D68 48 00 01 B1 */ bl sub_8023bfb8 /* 8023BE0C 00238D6C C0 41 00 A4 */ lfs f2, 0xa4(r1) /* 8023BE10 00238D70 7F 63 DB 78 */ mr r3, r27 /* 8023BE14 00238D74 C0 1B 00 F4 */ lfs f0, 0xf4(r27) /* 8023BE18 00238D78 38 81 00 5C */ addi r4, r1, 0x5c /* 8023BE1C 00238D7C C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 8023BE20 00238D80 EC 42 00 28 */ fsubs f2, f2, f0 /* 8023BE24 00238D84 C0 01 00 AC */ lfs f0, 0xac(r1) /* 8023BE28 00238D88 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8023BE2C 00238D8C D0 41 00 50 */ stfs f2, 0x50(r1) /* 8023BE30 00238D90 80 A1 00 54 */ lwz r5, 0x54(r1) /* 8023BE34 00238D94 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8023BE38 00238D98 80 C1 00 50 */ lwz r6, 0x50(r1) /* 8023BE3C 00238D9C 80 01 00 58 */ lwz r0, 0x58(r1) /* 8023BE40 00238DA0 90 C1 00 5C */ stw r6, 0x5c(r1) /* 8023BE44 00238DA4 90 A1 00 60 */ stw r5, 0x60(r1) /* 8023BE48 00238DA8 90 01 00 64 */ stw r0, 0x64(r1) /* 8023BE4C 00238DAC 48 00 01 6D */ bl sub_8023bfb8 /* 8023BE50 00238DB0 C0 5B 00 F4 */ lfs f2, 0xf4(r27) /* 8023BE54 00238DB4 7F 63 DB 78 */ mr r3, r27 /* 8023BE58 00238DB8 C0 01 00 A4 */ lfs f0, 0xa4(r1) /* 8023BE5C 00238DBC 38 81 00 44 */ addi r4, r1, 0x44 /* 8023BE60 00238DC0 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 8023BE64 00238DC4 EC 42 00 2A */ fadds f2, f2, f0 /* 8023BE68 00238DC8 C0 01 00 AC */ lfs f0, 0xac(r1) /* 8023BE6C 00238DCC D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8023BE70 00238DD0 D0 41 00 38 */ stfs f2, 0x38(r1) /* 8023BE74 00238DD4 80 A1 00 3C */ lwz r5, 0x3c(r1) /* 8023BE78 00238DD8 D0 01 00 40 */ stfs f0, 0x40(r1) /* 8023BE7C 00238DDC 80 C1 00 38 */ lwz r6, 0x38(r1) /* 8023BE80 00238DE0 80 01 00 40 */ lwz r0, 0x40(r1) /* 8023BE84 00238DE4 90 C1 00 44 */ stw r6, 0x44(r1) /* 8023BE88 00238DE8 90 A1 00 48 */ stw r5, 0x48(r1) /* 8023BE8C 00238DEC 90 01 00 4C */ stw r0, 0x4c(r1) /* 8023BE90 00238DF0 48 00 01 29 */ bl sub_8023bfb8 /* 8023BE94 00238DF4 48 00 00 28 */ b lbl_8023BEBC lbl_8023BE98: /* 8023BE98 00238DF8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023BE9C 00238DFC 38 A0 00 02 */ li r5, 2 /* 8023BEA0 00238E00 80 9B 01 CC */ lwz r4, 0x1cc(r27) /* 8023BEA4 00238E04 7C 1F 01 D6 */ mullw r0, r31, r0 /* 8023BEA8 00238E08 80 61 00 30 */ lwz r3, 0x30(r1) /* 8023BEAC 00238E0C 80 84 00 0C */ lwz r4, 0xc(r4) /* 8023BEB0 00238E10 7C 03 02 14 */ add r0, r3, r0 /* 8023BEB4 00238E14 54 00 10 3A */ slwi r0, r0, 2 /* 8023BEB8 00238E18 7C A4 01 2E */ stwx r5, r4, r0 lbl_8023BEBC: /* 8023BEBC 00238E1C 3B DE 00 01 */ addi r30, r30, 1 lbl_8023BEC0: /* 8023BEC0 00238E20 7C 1E E8 00 */ cmpw r30, r29 /* 8023BEC4 00238E24 40 80 00 14 */ bge lbl_8023BED8 /* 8023BEC8 00238E28 80 7B 01 C8 */ lwz r3, 0x1c8(r27) /* 8023BECC 00238E2C 80 03 00 04 */ lwz r0, 4(r3) /* 8023BED0 00238E30 2C 00 00 00 */ cmpwi r0, 0 /* 8023BED4 00238E34 41 81 FE 00 */ bgt lbl_8023BCD4 lbl_8023BED8: /* 8023BED8 00238E38 7F 63 DB 78 */ mr r3, r27 /* 8023BEDC 00238E3C 48 00 13 29 */ bl sub_8023d204 /* 8023BEE0 00238E40 83 9B 01 C8 */ lwz r28, 0x1c8(r27) /* 8023BEE4 00238E44 80 1C 00 04 */ lwz r0, 4(r28) /* 8023BEE8 00238E48 2C 00 00 00 */ cmpwi r0, 0 /* 8023BEEC 00238E4C 40 82 00 B8 */ bne lbl_8023BFA4 /* 8023BEF0 00238E50 28 1C 00 00 */ cmplwi r28, 0 /* 8023BEF4 00238E54 41 82 00 4C */ beq lbl_8023BF40 /* 8023BEF8 00238E58 80 1C 00 04 */ lwz r0, 4(r28) /* 8023BEFC 00238E5C 80 7C 00 0C */ lwz r3, 0xc(r28) /* 8023BF00 00238E60 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023BF04 00238E64 90 61 00 1C */ stw r3, 0x1c(r1) /* 8023BF08 00238E68 7C 64 1B 78 */ mr r4, r3 /* 8023BF0C 00238E6C 7C 03 02 14 */ add r0, r3, r0 /* 8023BF10 00238E70 90 61 00 18 */ stw r3, 0x18(r1) /* 8023BF14 00238E74 90 01 00 24 */ stw r0, 0x24(r1) /* 8023BF18 00238E78 90 01 00 20 */ stw r0, 0x20(r1) /* 8023BF1C 00238E7C 48 00 00 08 */ b lbl_8023BF24 lbl_8023BF20: /* 8023BF20 00238E80 38 84 00 0C */ addi r4, r4, 0xc lbl_8023BF24: /* 8023BF24 00238E84 7C 04 00 40 */ cmplw r4, r0 /* 8023BF28 00238E88 40 82 FF F8 */ bne lbl_8023BF20 /* 8023BF2C 00238E8C 28 03 00 00 */ cmplwi r3, 0 /* 8023BF30 00238E90 41 82 00 08 */ beq lbl_8023BF38 /* 8023BF34 00238E94 48 0D 99 FD */ bl Free__7CMemoryFPCv lbl_8023BF38: /* 8023BF38 00238E98 7F 83 E3 78 */ mr r3, r28 /* 8023BF3C 00238E9C 48 0D 99 F5 */ bl Free__7CMemoryFPCv lbl_8023BF40: /* 8023BF40 00238EA0 38 00 00 00 */ li r0, 0 /* 8023BF44 00238EA4 90 1B 01 C8 */ stw r0, 0x1c8(r27) /* 8023BF48 00238EA8 83 9B 01 CC */ lwz r28, 0x1cc(r27) /* 8023BF4C 00238EAC 28 1C 00 00 */ cmplwi r28, 0 /* 8023BF50 00238EB0 41 82 00 4C */ beq lbl_8023BF9C /* 8023BF54 00238EB4 80 1C 00 04 */ lwz r0, 4(r28) /* 8023BF58 00238EB8 80 7C 00 0C */ lwz r3, 0xc(r28) /* 8023BF5C 00238EBC 54 00 10 3A */ slwi r0, r0, 2 /* 8023BF60 00238EC0 7C 03 02 14 */ add r0, r3, r0 /* 8023BF64 00238EC4 90 61 00 0C */ stw r3, 0xc(r1) /* 8023BF68 00238EC8 7C 64 1B 78 */ mr r4, r3 /* 8023BF6C 00238ECC 90 01 00 14 */ stw r0, 0x14(r1) /* 8023BF70 00238ED0 90 01 00 10 */ stw r0, 0x10(r1) /* 8023BF74 00238ED4 90 61 00 08 */ stw r3, 8(r1) /* 8023BF78 00238ED8 48 00 00 08 */ b lbl_8023BF80 lbl_8023BF7C: /* 8023BF7C 00238EDC 38 84 00 04 */ addi r4, r4, 4 lbl_8023BF80: /* 8023BF80 00238EE0 7C 04 00 40 */ cmplw r4, r0 /* 8023BF84 00238EE4 40 82 FF F8 */ bne lbl_8023BF7C /* 8023BF88 00238EE8 28 03 00 00 */ cmplwi r3, 0 /* 8023BF8C 00238EEC 41 82 00 08 */ beq lbl_8023BF94 /* 8023BF90 00238EF0 48 0D 99 A1 */ bl Free__7CMemoryFPCv lbl_8023BF94: /* 8023BF94 00238EF4 7F 83 E3 78 */ mr r3, r28 /* 8023BF98 00238EF8 48 0D 99 99 */ bl Free__7CMemoryFPCv lbl_8023BF9C: /* 8023BF9C 00238EFC 38 00 00 00 */ li r0, 0 /* 8023BFA0 00238F00 90 1B 01 CC */ stw r0, 0x1cc(r27) lbl_8023BFA4: /* 8023BFA4 00238F04 BB 61 00 BC */ lmw r27, 0xbc(r1) /* 8023BFA8 00238F08 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8023BFAC 00238F0C 7C 08 03 A6 */ mtlr r0 /* 8023BFB0 00238F10 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8023BFB4 00238F14 4E 80 00 20 */ blr .global sub_8023bfb8 sub_8023bfb8: /* 8023BFB8 00238F18 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023BFBC 00238F1C 7C 08 02 A6 */ mflr r0 /* 8023BFC0 00238F20 90 01 00 44 */ stw r0, 0x44(r1) /* 8023BFC4 00238F24 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8023BFC8 00238F28 7C 9F 23 78 */ mr r31, r4 /* 8023BFCC 00238F2C 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023BFD0 00238F30 93 A1 00 34 */ stw r29, 0x34(r1) /* 8023BFD4 00238F34 93 81 00 30 */ stw r28, 0x30(r1) /* 8023BFD8 00238F38 7C 7C 1B 78 */ mr r28, r3 /* 8023BFDC 00238F3C 48 00 01 79 */ bl sub_8023c154 /* 8023BFE0 00238F40 7C 7D 1B 78 */ mr r29, r3 /* 8023BFE4 00238F44 7F 83 E3 78 */ mr r3, r28 /* 8023BFE8 00238F48 48 00 01 15 */ bl sub_8023c0fc /* 8023BFEC 00238F4C 80 BF 00 00 */ lwz r5, 0(r31) /* 8023BFF0 00238F50 7C 7E 1B 78 */ mr r30, r3 /* 8023BFF4 00238F54 80 DF 00 04 */ lwz r6, 4(r31) /* 8023BFF8 00238F58 7F 84 E3 78 */ mr r4, r28 /* 8023BFFC 00238F5C 80 1F 00 08 */ lwz r0, 8(r31) /* 8023C000 00238F60 38 61 00 08 */ addi r3, r1, 8 /* 8023C004 00238F64 90 A1 00 18 */ stw r5, 0x18(r1) /* 8023C008 00238F68 38 A1 00 18 */ addi r5, r1, 0x18 /* 8023C00C 00238F6C 90 C1 00 1C */ stw r6, 0x1c(r1) /* 8023C010 00238F70 90 01 00 20 */ stw r0, 0x20(r1) /* 8023C014 00238F74 48 00 01 99 */ bl sub_8023c1ac /* 8023C018 00238F78 80 81 00 08 */ lwz r4, 8(r1) /* 8023C01C 00238F7C 80 01 00 0C */ lwz r0, 0xc(r1) /* 8023C020 00238F80 2C 04 00 00 */ cmpwi r4, 0 /* 8023C024 00238F84 90 81 00 10 */ stw r4, 0x10(r1) /* 8023C028 00238F88 90 01 00 14 */ stw r0, 0x14(r1) /* 8023C02C 00238F8C 41 80 00 B0 */ blt lbl_8023C0DC /* 8023C030 00238F90 7C 04 E8 00 */ cmpw r4, r29 /* 8023C034 00238F94 41 80 00 08 */ blt lbl_8023C03C /* 8023C038 00238F98 48 00 00 A4 */ b lbl_8023C0DC lbl_8023C03C: /* 8023C03C 00238F9C 2C 00 00 00 */ cmpwi r0, 0 /* 8023C040 00238FA0 41 80 00 9C */ blt lbl_8023C0DC /* 8023C044 00238FA4 7C 00 F0 00 */ cmpw r0, r30 /* 8023C048 00238FA8 41 80 00 08 */ blt lbl_8023C050 /* 8023C04C 00238FAC 48 00 00 90 */ b lbl_8023C0DC lbl_8023C050: /* 8023C050 00238FB0 7C 1D 01 D6 */ mullw r0, r29, r0 /* 8023C054 00238FB4 80 7C 01 CC */ lwz r3, 0x1cc(r28) /* 8023C058 00238FB8 80 63 00 0C */ lwz r3, 0xc(r3) /* 8023C05C 00238FBC 7C 04 02 14 */ add r0, r4, r0 /* 8023C060 00238FC0 54 04 10 3A */ slwi r4, r0, 2 /* 8023C064 00238FC4 7C 03 20 2E */ lwzx r0, r3, r4 /* 8023C068 00238FC8 2C 00 00 00 */ cmpwi r0, 0 /* 8023C06C 00238FCC 40 82 00 70 */ bne lbl_8023C0DC /* 8023C070 00238FD0 38 00 00 01 */ li r0, 1 /* 8023C074 00238FD4 7C 03 21 2E */ stwx r0, r3, r4 /* 8023C078 00238FD8 83 BC 01 C8 */ lwz r29, 0x1c8(r28) /* 8023C07C 00238FDC 80 1D 00 04 */ lwz r0, 4(r29) /* 8023C080 00238FE0 80 BD 00 08 */ lwz r5, 8(r29) /* 8023C084 00238FE4 7C 00 28 00 */ cmpw r0, r5 /* 8023C088 00238FE8 41 80 00 1C */ blt lbl_8023C0A4 /* 8023C08C 00238FEC 2C 05 00 00 */ cmpwi r5, 0 /* 8023C090 00238FF0 7F A3 EB 78 */ mr r3, r29 /* 8023C094 00238FF4 38 80 00 04 */ li r4, 4 /* 8023C098 00238FF8 41 82 00 08 */ beq lbl_8023C0A0 /* 8023C09C 00238FFC 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023C0A0: /* 8023C0A0 00239000 4B E2 1C 59 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_8023C0A4: /* 8023C0A4 00239004 80 1D 00 04 */ lwz r0, 4(r29) /* 8023C0A8 00239008 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023C0AC 0023900C 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023C0B0 00239010 7C 63 02 15 */ add. r3, r3, r0 /* 8023C0B4 00239014 41 82 00 1C */ beq lbl_8023C0D0 /* 8023C0B8 00239018 C0 1F 00 00 */ lfs f0, 0(r31) /* 8023C0BC 0023901C D0 03 00 00 */ stfs f0, 0(r3) /* 8023C0C0 00239020 C0 1F 00 04 */ lfs f0, 4(r31) /* 8023C0C4 00239024 D0 03 00 04 */ stfs f0, 4(r3) /* 8023C0C8 00239028 C0 1F 00 08 */ lfs f0, 8(r31) /* 8023C0CC 0023902C D0 03 00 08 */ stfs f0, 8(r3) lbl_8023C0D0: /* 8023C0D0 00239030 80 7D 00 04 */ lwz r3, 4(r29) /* 8023C0D4 00239034 38 03 00 01 */ addi r0, r3, 1 /* 8023C0D8 00239038 90 1D 00 04 */ stw r0, 4(r29) lbl_8023C0DC: /* 8023C0DC 0023903C 80 01 00 44 */ lwz r0, 0x44(r1) /* 8023C0E0 00239040 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023C0E4 00239044 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8023C0E8 00239048 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8023C0EC 0023904C 83 81 00 30 */ lwz r28, 0x30(r1) /* 8023C0F0 00239050 7C 08 03 A6 */ mtlr r0 /* 8023C0F4 00239054 38 21 00 40 */ addi r1, r1, 0x40 /* 8023C0F8 00239058 4E 80 00 20 */ blr .global sub_8023c0fc sub_8023c0fc: /* 8023C0FC 0023905C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023C100 00239060 7C 08 02 A6 */ mflr r0 /* 8023C104 00239064 90 01 00 34 */ stw r0, 0x34(r1) /* 8023C108 00239068 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023C10C 0023906C 7C 7F 1B 78 */ mr r31, r3 /* 8023C110 00239070 38 61 00 08 */ addi r3, r1, 8 /* 8023C114 00239074 7F E4 FB 78 */ mr r4, r31 /* 8023C118 00239078 48 00 12 DD */ bl sub_8023d3f4 /* 8023C11C 0023907C C0 41 00 18 */ lfs f2, 0x18(r1) /* 8023C120 00239080 C0 21 00 0C */ lfs f1, 0xc(r1) /* 8023C124 00239084 C0 1F 00 F4 */ lfs f0, 0xf4(r31) /* 8023C128 00239088 EC 22 08 28 */ fsubs f1, f2, f1 /* 8023C12C 0023908C EC 01 00 24 */ fdivs f0, f1, f0 /* 8023C130 00239090 FC 00 00 1E */ fctiwz f0, f0 /* 8023C134 00239094 D8 01 00 20 */ stfd f0, 0x20(r1) /* 8023C138 00239098 80 61 00 24 */ lwz r3, 0x24(r1) /* 8023C13C 0023909C 38 63 00 01 */ addi r3, r3, 1 /* 8023C140 002390A0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023C144 002390A4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023C148 002390A8 7C 08 03 A6 */ mtlr r0 /* 8023C14C 002390AC 38 21 00 30 */ addi r1, r1, 0x30 /* 8023C150 002390B0 4E 80 00 20 */ blr .global sub_8023c154 sub_8023c154: /* 8023C154 002390B4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023C158 002390B8 7C 08 02 A6 */ mflr r0 /* 8023C15C 002390BC 90 01 00 34 */ stw r0, 0x34(r1) /* 8023C160 002390C0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023C164 002390C4 7C 7F 1B 78 */ mr r31, r3 /* 8023C168 002390C8 38 61 00 08 */ addi r3, r1, 8 /* 8023C16C 002390CC 7F E4 FB 78 */ mr r4, r31 /* 8023C170 002390D0 48 00 12 85 */ bl sub_8023d3f4 /* 8023C174 002390D4 C0 41 00 14 */ lfs f2, 0x14(r1) /* 8023C178 002390D8 C0 21 00 08 */ lfs f1, 8(r1) /* 8023C17C 002390DC C0 1F 00 F4 */ lfs f0, 0xf4(r31) /* 8023C180 002390E0 EC 22 08 28 */ fsubs f1, f2, f1 /* 8023C184 002390E4 EC 01 00 24 */ fdivs f0, f1, f0 /* 8023C188 002390E8 FC 00 00 1E */ fctiwz f0, f0 /* 8023C18C 002390EC D8 01 00 20 */ stfd f0, 0x20(r1) /* 8023C190 002390F0 80 61 00 24 */ lwz r3, 0x24(r1) /* 8023C194 002390F4 38 63 00 01 */ addi r3, r3, 1 /* 8023C198 002390F8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023C19C 002390FC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023C1A0 00239100 7C 08 03 A6 */ mtlr r0 /* 8023C1A4 00239104 38 21 00 30 */ addi r1, r1, 0x30 /* 8023C1A8 00239108 4E 80 00 20 */ blr .global sub_8023c1ac sub_8023c1ac: /* 8023C1AC 0023910C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023C1B0 00239110 7C 08 02 A6 */ mflr r0 /* 8023C1B4 00239114 90 01 00 44 */ stw r0, 0x44(r1) /* 8023C1B8 00239118 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8023C1BC 0023911C 7C BF 2B 78 */ mr r31, r5 /* 8023C1C0 00239120 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023C1C4 00239124 7C 9E 23 78 */ mr r30, r4 /* 8023C1C8 00239128 93 A1 00 34 */ stw r29, 0x34(r1) /* 8023C1CC 0023912C 7C 7D 1B 78 */ mr r29, r3 /* 8023C1D0 00239130 38 61 00 08 */ addi r3, r1, 8 /* 8023C1D4 00239134 48 00 12 21 */ bl sub_8023d3f4 /* 8023C1D8 00239138 C0 7F 00 00 */ lfs f3, 0(r31) /* 8023C1DC 0023913C 7F A3 EB 78 */ mr r3, r29 /* 8023C1E0 00239140 C0 41 00 08 */ lfs f2, 8(r1) /* 8023C1E4 00239144 C0 3F 00 04 */ lfs f1, 4(r31) /* 8023C1E8 00239148 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8023C1EC 0023914C EC 43 10 28 */ fsubs f2, f3, f2 /* 8023C1F0 00239150 C0 7E 00 F4 */ lfs f3, 0xf4(r30) /* 8023C1F4 00239154 EC 01 00 28 */ fsubs f0, f1, f0 /* 8023C1F8 00239158 EC 22 18 24 */ fdivs f1, f2, f3 /* 8023C1FC 0023915C EC 00 18 24 */ fdivs f0, f0, f3 /* 8023C200 00239160 FC 20 08 1E */ fctiwz f1, f1 /* 8023C204 00239164 FC 00 00 1E */ fctiwz f0, f0 /* 8023C208 00239168 D8 21 00 20 */ stfd f1, 0x20(r1) /* 8023C20C 0023916C D8 01 00 28 */ stfd f0, 0x28(r1) /* 8023C210 00239170 80 81 00 24 */ lwz r4, 0x24(r1) /* 8023C214 00239174 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 8023C218 00239178 48 0D 81 35 */ bl __ct__9CVector2iFii /* 8023C21C 0023917C 80 01 00 44 */ lwz r0, 0x44(r1) /* 8023C220 00239180 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023C224 00239184 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8023C228 00239188 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8023C22C 0023918C 7C 08 03 A6 */ mtlr r0 /* 8023C230 00239190 38 21 00 40 */ addi r1, r1, 0x40 /* 8023C234 00239194 4E 80 00 20 */ blr .global sub_8023c238 sub_8023c238: /* 8023C238 00239198 94 21 FE E0 */ stwu r1, -0x120(r1) /* 8023C23C 0023919C 7C 08 02 A6 */ mflr r0 /* 8023C240 002391A0 90 01 01 24 */ stw r0, 0x124(r1) /* 8023C244 002391A4 DB E1 01 10 */ stfd f31, 0x110(r1) /* 8023C248 002391A8 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 8023C24C 002391AC DB C1 01 00 */ stfd f30, 0x100(r1) /* 8023C250 002391B0 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 8023C254 002391B4 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 8023C258 002391B8 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 8023C25C 002391BC 93 E1 00 EC */ stw r31, 0xec(r1) /* 8023C260 002391C0 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 8023C264 002391C4 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 8023C268 002391C8 88 0D A5 30 */ lbz r0, lbl_805A90F0@sda21(r13) /* 8023C26C 002391CC 7C 7F 1B 78 */ mr r31, r3 /* 8023C270 002391D0 7C 9D 23 78 */ mr r29, r4 /* 8023C274 002391D4 7C 00 07 75 */ extsb. r0, r0 /* 8023C278 002391D8 40 82 00 40 */ bne lbl_8023C2B8 /* 8023C27C 002391DC 80 AD 96 7C */ lwz r5, lbl_805A823C@sda21(r13) /* 8023C280 002391E0 38 60 00 00 */ li r3, 0 /* 8023C284 002391E4 38 80 00 01 */ li r4, 1 /* 8023C288 002391E8 48 14 DC 6D */ bl __shl2i /* 8023C28C 002391EC 3C A0 80 47 */ lis r5, lbl_8046D360@ha /* 8023C290 002391F0 38 C0 00 01 */ li r6, 1 /* 8023C294 002391F4 38 A5 D3 60 */ addi r5, r5, lbl_8046D360@l /* 8023C298 002391F8 38 00 00 00 */ li r0, 0 /* 8023C29C 002391FC 90 C1 00 58 */ stw r6, 0x58(r1) /* 8023C2A0 00239200 90 85 00 04 */ stw r4, 4(r5) /* 8023C2A4 00239204 90 65 00 00 */ stw r3, 0(r5) /* 8023C2A8 00239208 90 05 00 0C */ stw r0, 0xc(r5) /* 8023C2AC 0023920C 90 05 00 08 */ stw r0, 8(r5) /* 8023C2B0 00239210 90 C5 00 10 */ stw r6, 0x10(r5) /* 8023C2B4 00239214 98 CD A5 30 */ stb r6, lbl_805A90F0@sda21(r13) lbl_8023C2B8: /* 8023C2B8 00239218 7F E4 FB 78 */ mr r4, r31 /* 8023C2BC 0023921C 38 61 00 2C */ addi r3, r1, 0x2c /* 8023C2C0 00239220 48 00 11 35 */ bl sub_8023d3f4 /* 8023C2C4 00239224 C0 A1 00 2C */ lfs f5, 0x2c(r1) /* 8023C2C8 00239228 38 61 00 08 */ addi r3, r1, 8 /* 8023C2CC 0023922C C0 81 00 30 */ lfs f4, 0x30(r1) /* 8023C2D0 00239230 38 81 00 60 */ addi r4, r1, 0x60 /* 8023C2D4 00239234 C0 61 00 34 */ lfs f3, 0x34(r1) /* 8023C2D8 00239238 C0 41 00 38 */ lfs f2, 0x38(r1) /* 8023C2DC 0023923C C0 21 00 3C */ lfs f1, 0x3c(r1) /* 8023C2E0 00239240 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8023C2E4 00239244 D0 A1 00 60 */ stfs f5, 0x60(r1) /* 8023C2E8 00239248 D0 81 00 64 */ stfs f4, 0x64(r1) /* 8023C2EC 0023924C D0 61 00 68 */ stfs f3, 0x68(r1) /* 8023C2F0 00239250 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 8023C2F4 00239254 D0 21 00 70 */ stfs f1, 0x70(r1) /* 8023C2F8 00239258 D0 01 00 74 */ stfs f0, 0x74(r1) /* 8023C2FC 0023925C 48 0F B3 11 */ bl GetCenterPoint__6CAABoxCFv /* 8023C300 00239260 C0 21 00 74 */ lfs f1, 0x74(r1) /* 8023C304 00239264 3C 60 80 47 */ lis r3, lbl_8046D360@ha /* 8023C308 00239268 C0 01 00 68 */ lfs f0, 0x68(r1) /* 8023C30C 0023926C 38 E3 D3 60 */ addi r7, r3, lbl_8046D360@l /* 8023C310 00239270 C0 42 B7 68 */ lfs f2, lbl_805AD488@sda21(r2) /* 8023C314 00239274 7F A4 EB 78 */ mr r4, r29 /* 8023C318 00239278 C0 A1 00 08 */ lfs f5, 8(r1) /* 8023C31C 0023927C EC 21 00 28 */ fsubs f1, f1, f0 /* 8023C320 00239280 C0 81 00 0C */ lfs f4, 0xc(r1) /* 8023C324 00239284 38 61 00 78 */ addi r3, r1, 0x78 /* 8023C328 00239288 C0 61 00 10 */ lfs f3, 0x10(r1) /* 8023C32C 0023928C 38 A1 00 20 */ addi r5, r1, 0x20 /* 8023C330 00239290 C0 02 B7 6C */ lfs f0, lbl_805AD48C@sda21(r2) /* 8023C334 00239294 D0 A1 00 20 */ stfs f5, 0x20(r1) /* 8023C338 00239298 38 C1 00 14 */ addi r6, r1, 0x14 /* 8023C33C 0023929C D0 81 00 24 */ stfs f4, 0x24(r1) /* 8023C340 002392A0 D0 61 00 28 */ stfs f3, 0x28(r1) /* 8023C344 002392A4 D0 41 00 14 */ stfs f2, 0x14(r1) /* 8023C348 002392A8 D0 41 00 18 */ stfs f2, 0x18(r1) /* 8023C34C 002392AC D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8023C350 002392B0 4B E1 0C 49 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter /* 8023C354 002392B4 88 81 00 98 */ lbz r4, 0x98(r1) /* 8023C358 002392B8 C0 81 00 78 */ lfs f4, 0x78(r1) /* 8023C35C 002392BC C3 A1 00 7C */ lfs f29, 0x7c(r1) /* 8023C360 002392C0 28 04 00 00 */ cmplwi r4, 0 /* 8023C364 002392C4 C3 C1 00 80 */ lfs f30, 0x80(r1) /* 8023C368 002392C8 C3 E1 00 84 */ lfs f31, 0x84(r1) /* 8023C36C 002392CC C0 61 00 88 */ lfs f3, 0x88(r1) /* 8023C370 002392D0 C0 41 00 8C */ lfs f2, 0x8c(r1) /* 8023C374 002392D4 C0 21 00 90 */ lfs f1, 0x90(r1) /* 8023C378 002392D8 C0 01 00 94 */ lfs f0, 0x94(r1) /* 8023C37C 002392DC 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 8023C380 002392E0 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 8023C384 002392E4 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 8023C388 002392E8 D3 A1 00 AC */ stfs f29, 0xac(r1) /* 8023C38C 002392EC D3 C1 00 B0 */ stfs f30, 0xb0(r1) /* 8023C390 002392F0 D3 E1 00 B4 */ stfs f31, 0xb4(r1) /* 8023C394 002392F4 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 8023C398 002392F8 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 8023C39C 002392FC D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 8023C3A0 00239300 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 8023C3A4 00239304 98 81 00 C8 */ stb r4, 0xc8(r1) /* 8023C3A8 00239308 90 61 00 D4 */ stw r3, 0xd4(r1) /* 8023C3AC 0023930C 90 01 00 D0 */ stw r0, 0xd0(r1) /* 8023C3B0 00239310 41 82 00 D8 */ beq lbl_8023C488 /* 8023C3B4 00239314 7F E3 FB 78 */ mr r3, r31 /* 8023C3B8 00239318 4B FF FD 45 */ bl sub_8023c0fc /* 8023C3BC 0023931C 7C 7E 1B 78 */ mr r30, r3 /* 8023C3C0 00239320 7F E3 FB 78 */ mr r3, r31 /* 8023C3C4 00239324 4B FF FD 91 */ bl sub_8023c154 /* 8023C3C8 00239328 7C 83 F1 D6 */ mullw r4, r3, r30 /* 8023C3CC 0023932C 38 7F 01 30 */ addi r3, r31, 0x130 /* 8023C3D0 00239330 48 00 20 11 */ bl sub_8023e3e0 /* 8023C3D4 00239334 83 BF 01 C8 */ lwz r29, 0x1c8(r31) /* 8023C3D8 00239338 7F E3 FB 78 */ mr r3, r31 /* 8023C3DC 0023933C 4B FF FD 21 */ bl sub_8023c0fc /* 8023C3E0 00239340 7C 7E 1B 78 */ mr r30, r3 /* 8023C3E4 00239344 7F E3 FB 78 */ mr r3, r31 /* 8023C3E8 00239348 4B FF FD 6D */ bl sub_8023c154 /* 8023C3EC 0023934C 7C 83 F1 D6 */ mullw r4, r3, r30 /* 8023C3F0 00239350 7F A3 EB 78 */ mr r3, r29 /* 8023C3F4 00239354 4B E2 19 05 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" /* 8023C3F8 00239358 83 BF 01 CC */ lwz r29, 0x1cc(r31) /* 8023C3FC 0023935C 7F E3 FB 78 */ mr r3, r31 /* 8023C400 00239360 4B FF FC FD */ bl sub_8023c0fc /* 8023C404 00239364 7C 7E 1B 78 */ mr r30, r3 /* 8023C408 00239368 7F E3 FB 78 */ mr r3, r31 /* 8023C40C 0023936C 4B FF FD 49 */ bl sub_8023c154 /* 8023C410 00239370 7C 83 F1 D6 */ mullw r4, r3, r30 /* 8023C414 00239374 7F A3 EB 78 */ mr r3, r29 /* 8023C418 00239378 38 AD 96 80 */ addi r5, r13, lbl_805A8240@sda21 /* 8023C41C 0023937C 48 00 00 A1 */ bl sub_8023c4bc /* 8023C420 00239380 83 BF 01 C8 */ lwz r29, 0x1c8(r31) /* 8023C424 00239384 80 1D 00 04 */ lwz r0, 4(r29) /* 8023C428 00239388 80 BD 00 08 */ lwz r5, 8(r29) /* 8023C42C 0023938C 7C 00 28 00 */ cmpw r0, r5 /* 8023C430 00239390 41 80 00 1C */ blt lbl_8023C44C /* 8023C434 00239394 2C 05 00 00 */ cmpwi r5, 0 /* 8023C438 00239398 7F A3 EB 78 */ mr r3, r29 /* 8023C43C 0023939C 38 80 00 04 */ li r4, 4 /* 8023C440 002393A0 41 82 00 08 */ beq lbl_8023C448 /* 8023C444 002393A4 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023C448: /* 8023C448 002393A8 4B E2 18 B1 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_8023C44C: /* 8023C44C 002393AC 80 1D 00 04 */ lwz r0, 4(r29) /* 8023C450 002393B0 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023C454 002393B4 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023C458 002393B8 7C 63 02 15 */ add. r3, r3, r0 /* 8023C45C 002393BC 41 82 00 10 */ beq lbl_8023C46C /* 8023C460 002393C0 D3 A3 00 00 */ stfs f29, 0(r3) /* 8023C464 002393C4 D3 C3 00 04 */ stfs f30, 4(r3) /* 8023C468 002393C8 D3 E3 00 08 */ stfs f31, 8(r3) lbl_8023C46C: /* 8023C46C 002393CC 80 9D 00 04 */ lwz r4, 4(r29) /* 8023C470 002393D0 38 60 00 01 */ li r3, 1 /* 8023C474 002393D4 38 04 00 01 */ addi r0, r4, 1 /* 8023C478 002393D8 90 1D 00 04 */ stw r0, 4(r29) /* 8023C47C 002393DC 88 1F 01 40 */ lbz r0, 0x140(r31) /* 8023C480 002393E0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8023C484 002393E4 98 1F 01 40 */ stb r0, 0x140(r31) lbl_8023C488: /* 8023C488 002393E8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 8023C48C 002393EC CB E1 01 10 */ lfd f31, 0x110(r1) /* 8023C490 002393F0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 8023C494 002393F4 CB C1 01 00 */ lfd f30, 0x100(r1) /* 8023C498 002393F8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 8023C49C 002393FC CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 8023C4A0 00239400 83 E1 00 EC */ lwz r31, 0xec(r1) /* 8023C4A4 00239404 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 8023C4A8 00239408 80 01 01 24 */ lwz r0, 0x124(r1) /* 8023C4AC 0023940C 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 8023C4B0 00239410 7C 08 03 A6 */ mtlr r0 /* 8023C4B4 00239414 38 21 01 20 */ addi r1, r1, 0x120 /* 8023C4B8 00239418 4E 80 00 20 */ blr .global sub_8023c4bc sub_8023c4bc: /* 8023C4BC 0023941C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023C4C0 00239420 7C 08 02 A6 */ mflr r0 /* 8023C4C4 00239424 90 01 00 34 */ stw r0, 0x34(r1) /* 8023C4C8 00239428 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023C4CC 0023942C 7C BF 2B 78 */ mr r31, r5 /* 8023C4D0 00239430 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023C4D4 00239434 7C 9E 23 78 */ mr r30, r4 /* 8023C4D8 00239438 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023C4DC 0023943C 7C 7D 1B 78 */ mr r29, r3 /* 8023C4E0 00239440 80 03 00 04 */ lwz r0, 4(r3) /* 8023C4E4 00239444 7C 00 F0 00 */ cmpw r0, r30 /* 8023C4E8 00239448 41 82 00 80 */ beq lbl_8023C568 /* 8023C4EC 0023944C 7C 1E 00 00 */ cmpw r30, r0 /* 8023C4F0 00239450 40 81 00 40 */ ble lbl_8023C530 /* 8023C4F4 00239454 48 00 20 21 */ bl sub_8023e514 /* 8023C4F8 00239458 80 9D 00 04 */ lwz r4, 4(r29) /* 8023C4FC 0023945C 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023C500 00239460 54 80 10 3A */ slwi r0, r4, 2 /* 8023C504 00239464 7C 84 F0 51 */ subf. r4, r4, r30 /* 8023C508 00239468 7C 63 02 14 */ add r3, r3, r0 /* 8023C50C 0023946C 7C 89 03 A6 */ mtctr r4 /* 8023C510 00239470 40 81 00 54 */ ble lbl_8023C564 lbl_8023C514: /* 8023C514 00239474 28 03 00 00 */ cmplwi r3, 0 /* 8023C518 00239478 41 82 00 0C */ beq lbl_8023C524 /* 8023C51C 0023947C 80 1F 00 00 */ lwz r0, 0(r31) /* 8023C520 00239480 90 03 00 00 */ stw r0, 0(r3) lbl_8023C524: /* 8023C524 00239484 38 63 00 04 */ addi r3, r3, 4 /* 8023C528 00239488 42 00 FF EC */ bdnz lbl_8023C514 /* 8023C52C 0023948C 48 00 00 38 */ b lbl_8023C564 lbl_8023C530: /* 8023C530 00239490 80 9D 00 0C */ lwz r4, 0xc(r29) /* 8023C534 00239494 54 03 10 3A */ slwi r3, r0, 2 /* 8023C538 00239498 57 C0 10 3A */ slwi r0, r30, 2 /* 8023C53C 0023949C 7C A4 02 14 */ add r5, r4, r0 /* 8023C540 002394A0 7C 04 1A 14 */ add r0, r4, r3 /* 8023C544 002394A4 90 A1 00 10 */ stw r5, 0x10(r1) /* 8023C548 002394A8 90 01 00 08 */ stw r0, 8(r1) /* 8023C54C 002394AC 90 01 00 0C */ stw r0, 0xc(r1) /* 8023C550 002394B0 90 A1 00 14 */ stw r5, 0x14(r1) /* 8023C554 002394B4 48 00 00 08 */ b lbl_8023C55C lbl_8023C558: /* 8023C558 002394B8 38 A5 00 04 */ addi r5, r5, 4 lbl_8023C55C: /* 8023C55C 002394BC 7C 05 00 40 */ cmplw r5, r0 /* 8023C560 002394C0 40 82 FF F8 */ bne lbl_8023C558 lbl_8023C564: /* 8023C564 002394C4 93 DD 00 04 */ stw r30, 4(r29) lbl_8023C568: /* 8023C568 002394C8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023C56C 002394CC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023C570 002394D0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023C574 002394D4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023C578 002394D8 7C 08 03 A6 */ mtlr r0 /* 8023C57C 002394DC 38 21 00 30 */ addi r1, r1, 0x30 /* 8023C580 002394E0 4E 80 00 20 */ blr .global AddToRenderer__15CSnakeWeedSwarmCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__15CSnakeWeedSwarmCFRC14CFrustumPlanesRC13CStateManager: /* 8023C584 002394E4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023C588 002394E8 7C 08 02 A6 */ mflr r0 /* 8023C58C 002394EC 90 01 00 24 */ stw r0, 0x24(r1) /* 8023C590 002394F0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023C594 002394F4 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023C598 002394F8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8023C59C 002394FC 7C 7D 1B 78 */ mr r29, r3 /* 8023C5A0 00239500 88 03 00 E4 */ lbz r0, 0xe4(r3) /* 8023C5A4 00239504 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f /* 8023C5A8 00239508 40 82 00 C4 */ bne lbl_8023C66C /* 8023C5AC 0023950C 80 9D 01 F0 */ lwz r4, 0x1f0(r29) /* 8023C5B0 00239510 28 04 00 00 */ cmplwi r4, 0 /* 8023C5B4 00239514 41 82 00 18 */ beq lbl_8023C5CC /* 8023C5B8 00239518 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8023C5BC 0023951C 81 83 00 00 */ lwz r12, 0(r3) /* 8023C5C0 00239520 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8023C5C4 00239524 7D 89 03 A6 */ mtctr r12 /* 8023C5C8 00239528 4E 80 04 21 */ bctrl lbl_8023C5CC: /* 8023C5CC 0023952C 80 9D 01 F8 */ lwz r4, 0x1f8(r29) /* 8023C5D0 00239530 28 04 00 00 */ cmplwi r4, 0 /* 8023C5D4 00239534 41 82 00 18 */ beq lbl_8023C5EC /* 8023C5D8 00239538 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8023C5DC 0023953C 81 83 00 00 */ lwz r12, 0(r3) /* 8023C5E0 00239540 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8023C5E4 00239544 7D 89 03 A6 */ mtctr r12 /* 8023C5E8 00239548 4E 80 04 21 */ bctrl lbl_8023C5EC: /* 8023C5EC 0023954C 80 7D 00 90 */ lwz r3, 0x90(r29) /* 8023C5F0 00239550 38 00 FF FF */ li r0, -1 /* 8023C5F4 00239554 90 01 00 08 */ stw r0, 8(r1) /* 8023C5F8 00239558 28 03 00 00 */ cmplwi r3, 0 /* 8023C5FC 0023955C 41 82 00 0C */ beq lbl_8023C608 /* 8023C600 00239560 4B EC 87 89 */ bl ActivateLights__12CActorLightsCFv /* 8023C604 00239564 48 00 00 24 */ b lbl_8023C628 lbl_8023C608: /* 8023C608 00239568 48 0D 03 75 */ bl DisableAllLights__9CGraphicsFv /* 8023C60C 0023956C 48 10 D9 A1 */ bl White__6CColorFv /* 8023C610 00239570 7C 64 1B 78 */ mr r4, r3 /* 8023C614 00239574 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8023C618 00239578 81 83 00 00 */ lwz r12, 0(r3) /* 8023C61C 0023957C 81 8C 00 BC */ lwz r12, 0xbc(r12) /* 8023C620 00239580 7D 89 03 A6 */ mtctr r12 /* 8023C624 00239584 4E 80 04 21 */ bctrl lbl_8023C628: /* 8023C628 00239588 83 FD 01 3C */ lwz r31, 0x13c(r29) /* 8023C62C 0023958C 3B C0 00 00 */ li r30, 0 /* 8023C630 00239590 48 00 00 20 */ b lbl_8023C650 lbl_8023C634: /* 8023C634 00239594 7F A3 EB 78 */ mr r3, r29 /* 8023C638 00239598 7F C4 F3 78 */ mr r4, r30 /* 8023C63C 0023959C 7F E5 FB 78 */ mr r5, r31 /* 8023C640 002395A0 38 C1 00 08 */ addi r6, r1, 8 /* 8023C644 002395A4 48 00 00 45 */ bl sub_8023c688 /* 8023C648 002395A8 3B FF 00 24 */ addi r31, r31, 0x24 /* 8023C64C 002395AC 3B DE 00 01 */ addi r30, r30, 1 lbl_8023C650: /* 8023C650 002395B0 80 1D 01 34 */ lwz r0, 0x134(r29) /* 8023C654 002395B4 80 7D 01 3C */ lwz r3, 0x13c(r29) /* 8023C658 002395B8 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023C65C 002395BC 7C 03 02 14 */ add r0, r3, r0 /* 8023C660 002395C0 7C 1F 00 40 */ cmplw r31, r0 /* 8023C664 002395C4 40 82 FF D0 */ bne lbl_8023C634 /* 8023C668 002395C8 48 0D 03 15 */ bl DisableAllLights__9CGraphicsFv lbl_8023C66C: /* 8023C66C 002395CC 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023C670 002395D0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023C674 002395D4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023C678 002395D8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8023C67C 002395DC 7C 08 03 A6 */ mtlr r0 /* 8023C680 002395E0 38 21 00 20 */ addi r1, r1, 0x20 /* 8023C684 002395E4 4E 80 00 20 */ blr .global sub_8023c688 sub_8023c688: /* 8023C688 002395E8 94 21 FE D0 */ stwu r1, -0x130(r1) /* 8023C68C 002395EC 7C 08 02 A6 */ mflr r0 /* 8023C690 002395F0 90 01 01 34 */ stw r0, 0x134(r1) /* 8023C694 002395F4 DB E1 01 20 */ stfd f31, 0x120(r1) /* 8023C698 002395F8 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 8023C69C 002395FC BF 01 01 00 */ stmw r24, 0x100(r1) /* 8023C6A0 00239600 7C 7D 1B 78 */ mr r29, r3 /* 8023C6A4 00239604 54 9B 17 3A */ rlwinm r27, r4, 2, 0x1c, 0x1d /* 8023C6A8 00239608 7C 7D DA 14 */ add r3, r29, r27 /* 8023C6AC 0023960C 54 9A 07 BE */ clrlwi r26, r4, 0x1e /* 8023C6B0 00239610 80 63 01 B4 */ lwz r3, 0x1b4(r3) /* 8023C6B4 00239614 7C DE 33 78 */ mr r30, r6 /* 8023C6B8 00239618 83 E6 00 00 */ lwz r31, 0(r6) /* 8023C6BC 0023961C 7C B8 2B 78 */ mr r24, r5 /* 8023C6C0 00239620 80 63 00 00 */ lwz r3, 0(r3) /* 8023C6C4 00239624 80 9D 01 C4 */ lwz r4, 0x1c4(r29) /* 8023C6C8 00239628 83 83 00 10 */ lwz r28, 0x10(r3) /* 8023C6CC 0023962C 4B ED 88 91 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 8023C6D0 00239630 38 00 00 01 */ li r0, 1 /* 8023C6D4 00239634 7C 79 1B 78 */ mr r25, r3 /* 8023C6D8 00239638 7C 04 D0 30 */ slw r4, r0, r26 /* 8023C6DC 0023963C 7F E0 20 39 */ and. r0, r31, r4 /* 8023C6E0 00239640 41 82 00 44 */ beq lbl_8023C724 /* 8023C6E4 00239644 7F 83 E3 78 */ mr r3, r28 /* 8023C6E8 00239648 7F FF 20 78 */ andc r31, r31, r4 /* 8023C6EC 0023964C 4B DF 03 75 */ bl BuildPose__9CAnimDataFv /* 8023C6F0 00239650 57 40 18 38 */ slwi r0, r26, 3 /* 8023C6F4 00239654 38 80 00 00 */ li r4, 0 /* 8023C6F8 00239658 7C 7D 02 14 */ add r3, r29, r0 /* 8023C6FC 0023965C 98 81 00 F4 */ stb r4, 0xf4(r1) /* 8023C700 00239660 80 E3 01 80 */ lwz r7, 0x180(r3) /* 8023C704 00239664 7F 23 CB 78 */ mr r3, r25 /* 8023C708 00239668 38 9C 02 24 */ addi r4, r28, 0x224 /* 8023C70C 0023966C 38 A1 00 AC */ addi r5, r1, 0xac /* 8023C710 00239670 38 C0 00 00 */ li r6, 0 /* 8023C714 00239674 48 11 65 E5 */ bl "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" /* 8023C718 00239678 38 61 00 AC */ addi r3, r1, 0xac /* 8023C71C 0023967C 38 80 FF FF */ li r4, -1 /* 8023C720 00239680 4B E3 B5 6D */ bl sub_80077c8c lbl_8023C724: /* 8023C724 00239684 7F 03 C3 78 */ mr r3, r24 /* 8023C728 00239688 48 00 1C 5D */ bl sub_8023e384 /* 8023C72C 0023968C FF E0 08 90 */ fmr f31, f1 /* 8023C730 00239690 7F 03 C3 78 */ mr r3, r24 /* 8023C734 00239694 48 00 1C 69 */ bl nullsub_21 /* 8023C738 00239698 C0 03 00 08 */ lfs f0, 8(r3) /* 8023C73C 0023969C C0 43 00 04 */ lfs f2, 4(r3) /* 8023C740 002396A0 C0 22 B7 68 */ lfs f1, lbl_805AD488@sda21(r2) /* 8023C744 002396A4 EC 60 F8 28 */ fsubs f3, f0, f31 /* 8023C748 002396A8 C0 03 00 00 */ lfs f0, 0(r3) /* 8023C74C 002396AC 7F 03 C3 78 */ mr r3, r24 /* 8023C750 002396B0 EC 42 08 28 */ fsubs f2, f2, f1 /* 8023C754 002396B4 EC 00 08 28 */ fsubs f0, f0, f1 /* 8023C758 002396B8 D0 61 00 18 */ stfs f3, 0x18(r1) /* 8023C75C 002396BC D0 41 00 14 */ stfs f2, 0x14(r1) /* 8023C760 002396C0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 8023C764 002396C4 48 00 1C 01 */ bl sub_8023e364 /* 8023C768 002396C8 38 61 00 1C */ addi r3, r1, 0x1c /* 8023C76C 002396CC 48 0D 6A D5 */ bl Scale__12CTransform4fFf /* 8023C770 002396D0 38 61 00 4C */ addi r3, r1, 0x4c /* 8023C774 002396D4 38 81 00 10 */ addi r4, r1, 0x10 /* 8023C778 002396D8 48 0D 69 C9 */ bl Translate__12CTransform4fFRC9CVector3f /* 8023C77C 002396DC 38 61 00 7C */ addi r3, r1, 0x7c /* 8023C780 002396E0 38 81 00 4C */ addi r4, r1, 0x4c /* 8023C784 002396E4 38 A1 00 1C */ addi r5, r1, 0x1c /* 8023C788 002396E8 48 0D 61 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8023C78C 002396EC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) /* 8023C790 002396F0 38 81 00 7C */ addi r4, r1, 0x7c /* 8023C794 002396F4 81 83 00 00 */ lwz r12, 0(r3) /* 8023C798 002396F8 81 8C 00 30 */ lwz r12, 0x30(r12) /* 8023C79C 002396FC 7D 89 03 A6 */ mtctr r12 /* 8023C7A0 00239700 4E 80 04 21 */ bctrl /* 8023C7A4 00239704 C0 22 B7 74 */ lfs f1, lbl_805AD494@sda21(r2) /* 8023C7A8 00239708 38 80 00 00 */ li r4, 0 /* 8023C7AC 0023970C 38 00 00 03 */ li r0, 3 /* 8023C7B0 00239710 98 81 00 08 */ stb r4, 8(r1) /* 8023C7B4 00239714 FC 40 08 90 */ fmr f2, f1 /* 8023C7B8 00239718 38 61 00 0C */ addi r3, r1, 0xc /* 8023C7BC 0023971C FC 60 08 90 */ fmr f3, f1 /* 8023C7C0 00239720 98 81 00 09 */ stb r4, 9(r1) /* 8023C7C4 00239724 FC 80 08 90 */ fmr f4, f1 /* 8023C7C8 00239728 B0 01 00 0A */ sth r0, 0xa(r1) /* 8023C7CC 0023972C 48 12 6C 21 */ bl __ct__6CColorFffff /* 8023C7D0 00239730 57 40 18 38 */ slwi r0, r26, 3 /* 8023C7D4 00239734 7C 7D DA 14 */ add r3, r29, r27 /* 8023C7D8 00239738 7C 9D 02 14 */ add r4, r29, r0 /* 8023C7DC 0023973C 80 A3 01 A0 */ lwz r5, 0x1a0(r3) /* 8023C7E0 00239740 80 84 01 80 */ lwz r4, 0x180(r4) /* 8023C7E4 00239744 7F 23 CB 78 */ mr r3, r25 /* 8023C7E8 00239748 38 C1 00 08 */ addi r6, r1, 8 /* 8023C7EC 0023974C 48 11 66 FD */ bl sub_80352ee8 /* 8023C7F0 00239750 93 FE 00 00 */ stw r31, 0(r30) /* 8023C7F4 00239754 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 8023C7F8 00239758 CB E1 01 20 */ lfd f31, 0x120(r1) /* 8023C7FC 0023975C BB 01 01 00 */ lmw r24, 0x100(r1) /* 8023C800 00239760 80 01 01 34 */ lwz r0, 0x134(r1) /* 8023C804 00239764 7C 08 03 A6 */ mtlr r0 /* 8023C808 00239768 38 21 01 30 */ addi r1, r1, 0x130 /* 8023C80C 0023976C 4E 80 00 20 */ blr .global PreRender__15CSnakeWeedSwarmFR13CStateManagerRC14CFrustumPlanes PreRender__15CSnakeWeedSwarmFR13CStateManagerRC14CFrustumPlanes: /* 8023C810 00239770 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023C814 00239774 7C 08 02 A6 */ mflr r0 /* 8023C818 00239778 90 01 00 44 */ stw r0, 0x44(r1) /* 8023C81C 0023977C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8023C820 00239780 7C 9F 23 78 */ mr r31, r4 /* 8023C824 00239784 93 C1 00 38 */ stw r30, 0x38(r1) /* 8023C828 00239788 7C 7E 1B 78 */ mr r30, r3 /* 8023C82C 0023978C 7C A3 2B 78 */ mr r3, r5 /* 8023C830 00239790 93 A1 00 34 */ stw r29, 0x34(r1) /* 8023C834 00239794 38 9E 01 44 */ addi r4, r30, 0x144 /* 8023C838 00239798 93 81 00 30 */ stw r28, 0x30(r1) /* 8023C83C 0023979C 48 10 89 95 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox /* 8023C840 002397A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023C844 002397A4 40 82 00 18 */ bne lbl_8023C85C /* 8023C848 002397A8 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023C84C 002397AC 38 60 00 01 */ li r3, 1 /* 8023C850 002397B0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 8023C854 002397B4 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023C858 002397B8 48 00 01 8C */ b lbl_8023C9E4 lbl_8023C85C: /* 8023C85C 002397BC 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023C860 002397C0 38 60 00 00 */ li r3, 0 /* 8023C864 002397C4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 8023C868 002397C8 3B BE 01 B4 */ addi r29, r30, 0x1b4 /* 8023C86C 002397CC 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023C870 002397D0 3B 80 00 00 */ li r28, 0 lbl_8023C874: /* 8023C874 002397D4 80 7D 00 00 */ lwz r3, 0(r29) /* 8023C878 002397D8 80 63 00 00 */ lwz r3, 0(r3) /* 8023C87C 002397DC 80 63 00 10 */ lwz r3, 0x10(r3) /* 8023C880 002397E0 4B DF 01 85 */ bl PreRender__9CAnimDataFv /* 8023C884 002397E4 3B 9C 00 01 */ addi r28, r28, 1 /* 8023C888 002397E8 3B BD 00 04 */ addi r29, r29, 4 /* 8023C88C 002397EC 2C 1C 00 04 */ cmpwi r28, 4 /* 8023C890 002397F0 41 80 FF E4 */ blt lbl_8023C874 /* 8023C894 002397F4 80 7E 00 90 */ lwz r3, 0x90(r30) /* 8023C898 002397F8 3B 80 00 00 */ li r28, 0 /* 8023C89C 002397FC 28 03 00 00 */ cmplwi r3, 0 /* 8023C8A0 00239800 41 82 01 44 */ beq lbl_8023C9E4 /* 8023C8A4 00239804 88 1E 01 40 */ lbz r0, 0x140(r30) /* 8023C8A8 00239808 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023C8AC 0023980C 41 82 01 38 */ beq lbl_8023C9E4 /* 8023C8B0 00239810 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023C8B4 00239814 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 8023C8B8 00239818 41 82 00 1C */ beq lbl_8023C8D4 /* 8023C8BC 0023981C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023C8C0 00239820 38 60 00 00 */ li r3, 0 /* 8023C8C4 00239824 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8023C8C8 00239828 3B 80 00 01 */ li r28, 1 /* 8023C8CC 0023982C 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023C8D0 00239830 48 00 00 18 */ b lbl_8023C8E8 lbl_8023C8D4: /* 8023C8D4 00239834 88 03 02 98 */ lbz r0, 0x298(r3) /* 8023C8D8 00239838 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f /* 8023C8DC 0023983C 28 00 00 01 */ cmplwi r0, 1 /* 8023C8E0 00239840 40 82 00 08 */ bne lbl_8023C8E8 /* 8023C8E4 00239844 3B 80 00 01 */ li r28, 1 lbl_8023C8E8: /* 8023C8E8 00239848 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023C8EC 0023984C 38 60 00 00 */ li r3, 0 /* 8023C8F0 00239850 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 8023C8F4 00239854 41 82 00 14 */ beq lbl_8023C908 /* 8023C8F8 00239858 80 1E 00 90 */ lwz r0, 0x90(r30) /* 8023C8FC 0023985C 28 00 00 00 */ cmplwi r0, 0 /* 8023C900 00239860 41 82 00 08 */ beq lbl_8023C908 /* 8023C904 00239864 38 60 00 01 */ li r3, 1 lbl_8023C908: /* 8023C908 00239868 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023C90C 0023986C 41 82 00 D8 */ beq lbl_8023C9E4 /* 8023C910 00239870 C0 1E 01 44 */ lfs f0, 0x144(r30) /* 8023C914 00239874 7F E4 FB 78 */ mr r4, r31 /* 8023C918 00239878 D0 01 00 18 */ stfs f0, 0x18(r1) /* 8023C91C 0023987C C0 1E 01 48 */ lfs f0, 0x148(r30) /* 8023C920 00239880 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8023C924 00239884 C0 1E 01 4C */ lfs f0, 0x14c(r30) /* 8023C928 00239888 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8023C92C 0023988C C0 1E 01 50 */ lfs f0, 0x150(r30) /* 8023C930 00239890 D0 01 00 24 */ stfs f0, 0x24(r1) /* 8023C934 00239894 C0 1E 01 54 */ lfs f0, 0x154(r30) /* 8023C938 00239898 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8023C93C 0023989C C0 1E 01 58 */ lfs f0, 0x158(r30) /* 8023C940 002398A0 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8023C944 002398A4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 8023C948 002398A8 80 63 00 00 */ lwz r3, 0(r3) /* 8023C94C 002398AC 4B E5 4C 0D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 8023C950 002398B0 2C 03 00 03 */ cmpwi r3, 3 /* 8023C954 002398B4 40 82 00 1C */ bne lbl_8023C970 /* 8023C958 002398B8 83 DE 00 90 */ lwz r30, 0x90(r30) /* 8023C95C 002398BC 48 10 D6 51 */ bl White__6CColorFv /* 8023C960 002398C0 7C 64 1B 78 */ mr r4, r3 /* 8023C964 002398C4 7F C3 F3 78 */ mr r3, r30 /* 8023C968 002398C8 4B EC 67 49 */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor /* 8023C96C 002398CC 48 00 00 78 */ b lbl_8023C9E4 lbl_8023C970: /* 8023C970 002398D0 57 80 06 3E */ clrlwi r0, r28, 0x18 /* 8023C974 002398D4 28 00 00 01 */ cmplwi r0, 1 /* 8023C978 002398D8 40 82 00 5C */ bne lbl_8023C9D4 /* 8023C97C 002398DC 80 BE 00 04 */ lwz r5, 4(r30) /* 8023C980 002398E0 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) /* 8023C984 002398E4 7C 05 00 00 */ cmpw r5, r0 /* 8023C988 002398E8 41 82 00 4C */ beq lbl_8023C9D4 /* 8023C98C 002398EC 80 7F 08 50 */ lwz r3, 0x850(r31) /* 8023C990 002398F0 54 A4 18 38 */ slwi r4, r5, 3 /* 8023C994 002398F4 90 A1 00 10 */ stw r5, 0x10(r1) /* 8023C998 002398F8 80 E3 00 20 */ lwz r7, 0x20(r3) /* 8023C99C 002398FC 90 A1 00 14 */ stw r5, 0x14(r1) /* 8023C9A0 00239900 7C 67 22 14 */ add r3, r7, r4 /* 8023C9A4 00239904 80 63 00 04 */ lwz r3, 4(r3) /* 8023C9A8 00239908 88 03 00 F0 */ lbz r0, 0xf0(r3) /* 8023C9AC 0023990C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023C9B0 00239910 41 82 00 24 */ beq lbl_8023C9D4 /* 8023C9B4 00239914 38 04 00 04 */ addi r0, r4, 4 /* 8023C9B8 00239918 90 A1 00 08 */ stw r5, 8(r1) /* 8023C9BC 0023991C 80 7E 00 90 */ lwz r3, 0x90(r30) /* 8023C9C0 00239920 7F E4 FB 78 */ mr r4, r31 /* 8023C9C4 00239924 90 A1 00 0C */ stw r5, 0xc(r1) /* 8023C9C8 00239928 38 C1 00 18 */ addi r6, r1, 0x18 /* 8023C9CC 0023992C 7C A7 00 2E */ lwzx r5, r7, r0 /* 8023C9D0 00239930 4B EC 73 F1 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox lbl_8023C9D4: /* 8023C9D4 00239934 80 7E 00 90 */ lwz r3, 0x90(r30) /* 8023C9D8 00239938 7F E4 FB 78 */ mr r4, r31 /* 8023C9DC 0023993C 38 A1 00 18 */ addi r5, r1, 0x18 /* 8023C9E0 00239940 4B EC 6D 31 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox lbl_8023C9E4: /* 8023C9E4 00239944 80 01 00 44 */ lwz r0, 0x44(r1) /* 8023C9E8 00239948 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8023C9EC 0023994C 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8023C9F0 00239950 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8023C9F4 00239954 83 81 00 30 */ lwz r28, 0x30(r1) /* 8023C9F8 00239958 7C 08 03 A6 */ mtlr r0 /* 8023C9FC 0023995C 38 21 00 40 */ addi r1, r1, 0x40 /* 8023CA00 00239960 4E 80 00 20 */ blr .global ApplyRadiusDamage__15CSnakeWeedSwarmF9CVector3ffR13CStateManager ApplyRadiusDamage__15CSnakeWeedSwarmF9CVector3ffR13CStateManager: /* 8023CA04 00239964 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023CA08 00239968 7C 08 02 A6 */ mflr r0 /* 8023CA0C 0023996C 7C 87 23 78 */ mr r7, r4 /* 8023CA10 00239970 90 01 00 14 */ stw r0, 0x14(r1) /* 8023CA14 00239974 80 05 00 00 */ lwz r0, 0(r5) /* 8023CA18 00239978 2C 00 00 04 */ cmpwi r0, 4 /* 8023CA1C 0023997C 41 82 00 0C */ beq lbl_8023CA28 /* 8023CA20 00239980 2C 00 00 05 */ cmpwi r0, 5 /* 8023CA24 00239984 40 82 00 14 */ bne lbl_8023CA38 lbl_8023CA28: /* 8023CA28 00239988 C0 25 00 10 */ lfs f1, 0x10(r5) /* 8023CA2C 0023998C 7C C4 33 78 */ mr r4, r6 /* 8023CA30 00239990 7C E5 3B 78 */ mr r5, r7 /* 8023CA34 00239994 48 00 00 15 */ bl sub_8023ca48 lbl_8023CA38: /* 8023CA38 00239998 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023CA3C 0023999C 7C 08 03 A6 */ mtlr r0 /* 8023CA40 002399A0 38 21 00 10 */ addi r1, r1, 0x10 /* 8023CA44 002399A4 4E 80 00 20 */ blr .global sub_8023ca48 sub_8023ca48: /* 8023CA48 002399A8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8023CA4C 002399AC 7C 08 02 A6 */ mflr r0 /* 8023CA50 002399B0 90 01 00 44 */ stw r0, 0x44(r1) /* 8023CA54 002399B4 DB E1 00 30 */ stfd f31, 0x30(r1) /* 8023CA58 002399B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 /* 8023CA5C 002399BC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023CA60 002399C0 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023CA64 002399C4 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023CA68 002399C8 93 81 00 20 */ stw r28, 0x20(r1) /* 8023CA6C 002399CC 7C 7C 1B 78 */ mr r28, r3 /* 8023CA70 002399D0 EF E1 00 72 */ fmuls f31, f1, f1 /* 8023CA74 002399D4 83 E3 01 3C */ lwz r31, 0x13c(r3) /* 8023CA78 002399D8 7C 9D 23 78 */ mr r29, r4 /* 8023CA7C 002399DC 7C BE 2B 78 */ mr r30, r5 /* 8023CA80 002399E0 48 00 00 E8 */ b lbl_8023CB68 lbl_8023CA84: /* 8023CA84 002399E4 7F E3 FB 78 */ mr r3, r31 /* 8023CA88 002399E8 48 00 19 15 */ bl nullsub_21 /* 8023CA8C 002399EC C0 43 00 04 */ lfs f2, 4(r3) /* 8023CA90 002399F0 C0 1E 00 04 */ lfs f0, 4(r30) /* 8023CA94 002399F4 C0 23 00 00 */ lfs f1, 0(r3) /* 8023CA98 002399F8 EC 82 00 28 */ fsubs f4, f2, f0 /* 8023CA9C 002399FC C0 1E 00 00 */ lfs f0, 0(r30) /* 8023CAA0 00239A00 C0 63 00 08 */ lfs f3, 8(r3) /* 8023CAA4 00239A04 EC 41 00 28 */ fsubs f2, f1, f0 /* 8023CAA8 00239A08 C0 3E 00 08 */ lfs f1, 8(r30) /* 8023CAAC 00239A0C EC 04 01 32 */ fmuls f0, f4, f4 /* 8023CAB0 00239A10 EC 63 08 28 */ fsubs f3, f3, f1 /* 8023CAB4 00239A14 D0 81 00 10 */ stfs f4, 0x10(r1) /* 8023CAB8 00239A18 EC 22 00 B2 */ fmuls f1, f2, f2 /* 8023CABC 00239A1C D0 41 00 0C */ stfs f2, 0xc(r1) /* 8023CAC0 00239A20 EC 43 00 F2 */ fmuls f2, f3, f3 /* 8023CAC4 00239A24 EC 01 00 2A */ fadds f0, f1, f0 /* 8023CAC8 00239A28 D0 61 00 14 */ stfs f3, 0x14(r1) /* 8023CACC 00239A2C EC 02 00 2A */ fadds f0, f2, f0 /* 8023CAD0 00239A30 FC 00 F8 40 */ fcmpo cr0, f0, f31 /* 8023CAD4 00239A34 40 80 00 90 */ bge lbl_8023CB64 /* 8023CAD8 00239A38 7F E3 FB 78 */ mr r3, r31 /* 8023CADC 00239A3C 48 00 18 C5 */ bl sub_8023e3a0 /* 8023CAE0 00239A40 2C 03 00 00 */ cmpwi r3, 0 /* 8023CAE4 00239A44 41 82 00 14 */ beq lbl_8023CAF8 /* 8023CAE8 00239A48 7F E3 FB 78 */ mr r3, r31 /* 8023CAEC 00239A4C 48 00 18 B5 */ bl sub_8023e3a0 /* 8023CAF0 00239A50 2C 03 00 01 */ cmpwi r3, 1 /* 8023CAF4 00239A54 40 82 00 70 */ bne lbl_8023CB64 lbl_8023CAF8: /* 8023CAF8 00239A58 7F E3 FB 78 */ mr r3, r31 /* 8023CAFC 00239A5C 38 80 00 03 */ li r4, 3 /* 8023CB00 00239A60 48 00 18 A9 */ bl sub_8023e3a8 /* 8023CB04 00239A64 80 7D 09 00 */ lwz r3, 0x900(r29) /* 8023CB08 00239A68 48 0D 59 D5 */ bl Float__9CRandom16Fv /* 8023CB0C 00239A6C C0 5C 01 18 */ lfs f2, 0x118(r28) /* 8023CB10 00239A70 7F E3 FB 78 */ mr r3, r31 /* 8023CB14 00239A74 C0 1C 01 14 */ lfs f0, 0x114(r28) /* 8023CB18 00239A78 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 8023CB1C 00239A7C 48 00 18 51 */ bl sub_8023e36c /* 8023CB20 00239A80 7F E3 FB 78 */ mr r3, r31 /* 8023CB24 00239A84 48 00 18 79 */ bl nullsub_21 /* 8023CB28 00239A88 3C A0 80 5A */ lis r5, skZero3f@ha /* 8023CB2C 00239A8C A0 9C 01 D2 */ lhz r4, 0x1d2(r28) /* 8023CB30 00239A90 38 C5 66 A0 */ addi r6, r5, skZero3f@l /* 8023CB34 00239A94 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8023CB38 00239A98 7C 65 1B 78 */ mr r5, r3 /* 8023CB3C 00239A9C 81 5C 00 04 */ lwz r10, 4(r28) /* 8023CB40 00239AA0 38 61 00 08 */ addi r3, r1, 8 /* 8023CB44 00239AA4 38 E0 00 01 */ li r7, 1 /* 8023CB48 00239AA8 39 00 00 00 */ li r8, 0 /* 8023CB4C 00239AAC 48 0A D7 65 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8023CB50 00239AB0 7F E3 FB 78 */ mr r3, r31 /* 8023CB54 00239AB4 48 00 18 49 */ bl nullsub_21 /* 8023CB58 00239AB8 7C 64 1B 78 */ mr r4, r3 /* 8023CB5C 00239ABC 7F 83 E3 78 */ mr r3, r28 /* 8023CB60 00239AC0 4B FF EC B5 */ bl sub_8023b814 lbl_8023CB64: /* 8023CB64 00239AC4 3B FF 00 24 */ addi r31, r31, 0x24 lbl_8023CB68: /* 8023CB68 00239AC8 80 1C 01 34 */ lwz r0, 0x134(r28) /* 8023CB6C 00239ACC 80 7C 01 3C */ lwz r3, 0x13c(r28) /* 8023CB70 00239AD0 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023CB74 00239AD4 7C 03 02 14 */ add r0, r3, r0 /* 8023CB78 00239AD8 7C 1F 00 40 */ cmplw r31, r0 /* 8023CB7C 00239ADC 40 82 FF 08 */ bne lbl_8023CA84 /* 8023CB80 00239AE0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 /* 8023CB84 00239AE4 80 01 00 44 */ lwz r0, 0x44(r1) /* 8023CB88 00239AE8 CB E1 00 30 */ lfd f31, 0x30(r1) /* 8023CB8C 00239AEC 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023CB90 00239AF0 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023CB94 00239AF4 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023CB98 00239AF8 83 81 00 20 */ lwz r28, 0x20(r1) /* 8023CB9C 00239AFC 7C 08 03 A6 */ mtlr r0 /* 8023CBA0 00239B00 38 21 00 40 */ addi r1, r1, 0x40 /* 8023CBA4 00239B04 4E 80 00 20 */ blr .global Touch__15CSnakeWeedSwarmFR6CActorR13CStateManager Touch__15CSnakeWeedSwarmFR6CActorR13CStateManager: /* 8023CBA8 00239B08 94 21 FF 80 */ stwu r1, -0x80(r1) /* 8023CBAC 00239B0C 7C 08 02 A6 */ mflr r0 /* 8023CBB0 00239B10 90 01 00 84 */ stw r0, 0x84(r1) /* 8023CBB4 00239B14 DB E1 00 70 */ stfd f31, 0x70(r1) /* 8023CBB8 00239B18 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 8023CBBC 00239B1C DB C1 00 60 */ stfd f30, 0x60(r1) /* 8023CBC0 00239B20 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 8023CBC4 00239B24 DB A1 00 50 */ stfd f29, 0x50(r1) /* 8023CBC8 00239B28 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 /* 8023CBCC 00239B2C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8023CBD0 00239B30 93 C1 00 48 */ stw r30, 0x48(r1) /* 8023CBD4 00239B34 93 A1 00 44 */ stw r29, 0x44(r1) /* 8023CBD8 00239B38 93 81 00 40 */ stw r28, 0x40(r1) /* 8023CBDC 00239B3C 7C 7C 1B 78 */ mr r28, r3 /* 8023CBE0 00239B40 7C 9E 23 78 */ mr r30, r4 /* 8023CBE4 00239B44 7C BD 2B 78 */ mr r29, r5 /* 8023CBE8 00239B48 38 61 00 14 */ addi r3, r1, 0x14 /* 8023CBEC 00239B4C 4B E7 0B 8D */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" /* 8023CBF0 00239B50 80 A3 00 04 */ lwz r5, 4(r3) /* 8023CBF4 00239B54 28 05 00 00 */ cmplwi r5, 0 /* 8023CBF8 00239B58 41 82 00 3C */ beq lbl_8023CC34 /* 8023CBFC 00239B5C 80 05 01 2C */ lwz r0, 0x12c(r5) /* 8023CC00 00239B60 2C 00 00 09 */ cmpwi r0, 9 /* 8023CC04 00239B64 41 82 00 30 */ beq lbl_8023CC34 /* 8023CC08 00239B68 C0 45 00 60 */ lfs f2, 0x60(r5) /* 8023CC0C 00239B6C 7F 83 E3 78 */ mr r3, r28 /* 8023CC10 00239B70 C0 25 00 50 */ lfs f1, 0x50(r5) /* 8023CC14 00239B74 7F A4 EB 78 */ mr r4, r29 /* 8023CC18 00239B78 C0 05 00 40 */ lfs f0, 0x40(r5) /* 8023CC1C 00239B7C 38 A1 00 28 */ addi r5, r1, 0x28 /* 8023CC20 00239B80 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8023CC24 00239B84 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 8023CC28 00239B88 D0 41 00 30 */ stfs f2, 0x30(r1) /* 8023CC2C 00239B8C C0 3C 01 00 */ lfs f1, 0x100(r28) /* 8023CC30 00239B90 4B FF FE 19 */ bl sub_8023ca48 lbl_8023CC34: /* 8023CC34 00239B94 7F C4 F3 78 */ mr r4, r30 /* 8023CC38 00239B98 38 61 00 0C */ addi r3, r1, 0xc /* 8023CC3C 00239B9C 4B E6 F7 C5 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" /* 8023CC40 00239BA0 83 E3 00 04 */ lwz r31, 4(r3) /* 8023CC44 00239BA4 28 1F 00 00 */ cmplwi r31, 0 /* 8023CC48 00239BA8 41 82 00 B4 */ beq lbl_8023CCFC /* 8023CC4C 00239BAC 83 DC 01 3C */ lwz r30, 0x13c(r28) /* 8023CC50 00239BB0 48 00 00 94 */ b lbl_8023CCE4 lbl_8023CC54: /* 8023CC54 00239BB4 C3 BF 00 60 */ lfs f29, 0x60(r31) /* 8023CC58 00239BB8 7F C3 F3 78 */ mr r3, r30 /* 8023CC5C 00239BBC C3 DF 00 50 */ lfs f30, 0x50(r31) /* 8023CC60 00239BC0 C3 FF 00 40 */ lfs f31, 0x40(r31) /* 8023CC64 00239BC4 48 00 17 39 */ bl nullsub_21 /* 8023CC68 00239BC8 C0 43 00 04 */ lfs f2, 4(r3) /* 8023CC6C 00239BCC C0 23 00 08 */ lfs f1, 8(r3) /* 8023CC70 00239BD0 C0 03 00 00 */ lfs f0, 0(r3) /* 8023CC74 00239BD4 EC 42 F0 28 */ fsubs f2, f2, f30 /* 8023CC78 00239BD8 EC 21 E8 28 */ fsubs f1, f1, f29 /* 8023CC7C 00239BDC 38 61 00 1C */ addi r3, r1, 0x1c /* 8023CC80 00239BE0 EC 00 F8 28 */ fsubs f0, f0, f31 /* 8023CC84 00239BE4 D0 41 00 20 */ stfs f2, 0x20(r1) /* 8023CC88 00239BE8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8023CC8C 00239BEC D0 21 00 24 */ stfs f1, 0x24(r1) /* 8023CC90 00239BF0 48 0D 7C 29 */ bl Magnitude__9CVector3fCFv /* 8023CC94 00239BF4 C0 1C 01 04 */ lfs f0, 0x104(r28) /* 8023CC98 00239BF8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023CC9C 00239BFC 40 80 00 44 */ bge lbl_8023CCE0 /* 8023CCA0 00239C00 7F C3 F3 78 */ mr r3, r30 /* 8023CCA4 00239C04 48 00 16 FD */ bl sub_8023e3a0 /* 8023CCA8 00239C08 2C 03 00 00 */ cmpwi r3, 0 /* 8023CCAC 00239C0C 40 82 00 34 */ bne lbl_8023CCE0 /* 8023CCB0 00239C10 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8023CCB4 00239C14 7F A3 EB 78 */ mr r3, r29 /* 8023CCB8 00239C18 7F E4 FB 78 */ mr r4, r31 /* 8023CCBC 00239C1C 38 A1 00 08 */ addi r5, r1, 8 /* 8023CCC0 00239C20 B0 01 00 08 */ sth r0, 8(r1) /* 8023CCC4 00239C24 38 C0 00 2C */ li r6, 0x2c /* 8023CCC8 00239C28 4B E0 72 09 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage /* 8023CCCC 00239C2C 88 1C 01 40 */ lbz r0, 0x140(r28) /* 8023CCD0 00239C30 38 60 00 01 */ li r3, 1 /* 8023CCD4 00239C34 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8023CCD8 00239C38 98 1C 01 40 */ stb r0, 0x140(r28) /* 8023CCDC 00239C3C 48 00 00 20 */ b lbl_8023CCFC lbl_8023CCE0: /* 8023CCE0 00239C40 3B DE 00 24 */ addi r30, r30, 0x24 lbl_8023CCE4: /* 8023CCE4 00239C44 80 1C 01 34 */ lwz r0, 0x134(r28) /* 8023CCE8 00239C48 80 7C 01 3C */ lwz r3, 0x13c(r28) /* 8023CCEC 00239C4C 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023CCF0 00239C50 7C 03 02 14 */ add r0, r3, r0 /* 8023CCF4 00239C54 7C 1E 00 40 */ cmplw r30, r0 /* 8023CCF8 00239C58 40 82 FF 5C */ bne lbl_8023CC54 lbl_8023CCFC: /* 8023CCFC 00239C5C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 8023CD00 00239C60 CB E1 00 70 */ lfd f31, 0x70(r1) /* 8023CD04 00239C64 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 8023CD08 00239C68 CB C1 00 60 */ lfd f30, 0x60(r1) /* 8023CD0C 00239C6C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 /* 8023CD10 00239C70 CB A1 00 50 */ lfd f29, 0x50(r1) /* 8023CD14 00239C74 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8023CD18 00239C78 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8023CD1C 00239C7C 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8023CD20 00239C80 80 01 00 84 */ lwz r0, 0x84(r1) /* 8023CD24 00239C84 83 81 00 40 */ lwz r28, 0x40(r1) /* 8023CD28 00239C88 7C 08 03 A6 */ mtlr r0 /* 8023CD2C 00239C8C 38 21 00 80 */ addi r1, r1, 0x80 /* 8023CD30 00239C90 4E 80 00 20 */ blr .global Think__15CSnakeWeedSwarmFfR13CStateManager Think__15CSnakeWeedSwarmFfR13CStateManager: /* 8023CD34 00239C94 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 8023CD38 00239C98 7C 08 02 A6 */ mflr r0 /* 8023CD3C 00239C9C 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8023CD40 00239CA0 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 8023CD44 00239CA4 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 8023CD48 00239CA8 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 8023CD4C 00239CAC F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 8023CD50 00239CB0 BF 61 00 AC */ stmw r27, 0xac(r1) /* 8023CD54 00239CB4 FF E0 08 90 */ fmr f31, f1 /* 8023CD58 00239CB8 7C 7D 1B 78 */ mr r29, r3 /* 8023CD5C 00239CBC 7C 9E 23 78 */ mr r30, r4 /* 8023CD60 00239CC0 4B E1 43 59 */ bl Think__7CEntityFfR13CStateManager /* 8023CD64 00239CC4 88 1D 00 30 */ lbz r0, 0x30(r29) /* 8023CD68 00239CC8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023CD6C 00239CCC 41 82 04 74 */ beq lbl_8023D1E0 /* 8023CD70 00239CD0 80 7D 01 F0 */ lwz r3, 0x1f0(r29) /* 8023CD74 00239CD4 28 03 00 00 */ cmplwi r3, 0 /* 8023CD78 00239CD8 41 82 00 18 */ beq lbl_8023CD90 /* 8023CD7C 00239CDC 81 83 00 00 */ lwz r12, 0(r3) /* 8023CD80 00239CE0 FC 20 F8 90 */ fmr f1, f31 /* 8023CD84 00239CE4 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8023CD88 00239CE8 7D 89 03 A6 */ mtctr r12 /* 8023CD8C 00239CEC 4E 80 04 21 */ bctrl lbl_8023CD90: /* 8023CD90 00239CF0 80 7D 01 F8 */ lwz r3, 0x1f8(r29) /* 8023CD94 00239CF4 28 03 00 00 */ cmplwi r3, 0 /* 8023CD98 00239CF8 41 82 00 18 */ beq lbl_8023CDB0 /* 8023CD9C 00239CFC 81 83 00 00 */ lwz r12, 0(r3) /* 8023CDA0 00239D00 FC 20 F8 90 */ fmr f1, f31 /* 8023CDA4 00239D04 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8023CDA8 00239D08 7D 89 03 A6 */ mtctr r12 /* 8023CDAC 00239D0C 4E 80 04 21 */ bctrl lbl_8023CDB0: /* 8023CDB0 00239D10 C0 3D 02 04 */ lfs f1, 0x204(r29) /* 8023CDB4 00239D14 3B E0 00 00 */ li r31, 0 /* 8023CDB8 00239D18 C0 02 B7 68 */ lfs f0, lbl_805AD488@sda21(r2) /* 8023CDBC 00239D1C EC 21 F8 28 */ fsubs f1, f1, f31 /* 8023CDC0 00239D20 D0 3D 02 04 */ stfs f1, 0x204(r29) /* 8023CDC4 00239D24 C0 3D 02 04 */ lfs f1, 0x204(r29) /* 8023CDC8 00239D28 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023CDCC 00239D2C 40 80 00 0C */ bge lbl_8023CDD8 /* 8023CDD0 00239D30 D0 1D 02 04 */ stfs f0, 0x204(r29) /* 8023CDD4 00239D34 3B E0 00 01 */ li r31, 1 lbl_8023CDD8: /* 8023CDD8 00239D38 88 1D 01 40 */ lbz r0, 0x140(r29) /* 8023CDDC 00239D3C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023CDE0 00239D40 40 82 00 10 */ bne lbl_8023CDF0 /* 8023CDE4 00239D44 7F A3 EB 78 */ mr r3, r29 /* 8023CDE8 00239D48 7F C4 F3 78 */ mr r4, r30 /* 8023CDEC 00239D4C 4B FF F4 4D */ bl sub_8023c238 lbl_8023CDF0: /* 8023CDF0 00239D50 88 1D 01 40 */ lbz r0, 0x140(r29) /* 8023CDF4 00239D54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023CDF8 00239D58 41 82 00 5C */ beq lbl_8023CE54 /* 8023CDFC 00239D5C 80 7D 01 C8 */ lwz r3, 0x1c8(r29) /* 8023CE00 00239D60 28 03 00 00 */ cmplwi r3, 0 /* 8023CE04 00239D64 41 82 00 50 */ beq lbl_8023CE54 /* 8023CE08 00239D68 80 03 00 04 */ lwz r0, 4(r3) /* 8023CE0C 00239D6C 2C 00 00 00 */ cmpwi r0, 0 /* 8023CE10 00239D70 40 81 00 44 */ ble lbl_8023CE54 /* 8023CE14 00239D74 80 7D 01 CC */ lwz r3, 0x1cc(r29) /* 8023CE18 00239D78 3C 00 43 30 */ lis r0, 0x4330 /* 8023CE1C 00239D7C 90 01 00 98 */ stw r0, 0x98(r1) /* 8023CE20 00239D80 80 03 00 04 */ lwz r0, 4(r3) /* 8023CE24 00239D84 C8 22 B7 80 */ lfd f1, lbl_805AD4A0@sda21(r2) /* 8023CE28 00239D88 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8023CE2C 00239D8C 90 01 00 9C */ stw r0, 0x9c(r1) /* 8023CE30 00239D90 C8 01 00 98 */ lfd f0, 0x98(r1) /* 8023CE34 00239D94 EC 00 08 28 */ fsubs f0, f0, f1 /* 8023CE38 00239D98 EF DF 00 32 */ fmuls f30, f31, f0 /* 8023CE3C 00239D9C F3 C1 D0 08 */ psq_st f30, 8(r1), 1, qr5 /* 8023CE40 00239DA0 7F A3 EB 78 */ mr r3, r29 /* 8023CE44 00239DA4 7F C4 F3 78 */ mr r4, r30 /* 8023CE48 00239DA8 A8 A1 00 08 */ lha r5, 8(r1) /* 8023CE4C 00239DAC 38 A5 00 01 */ addi r5, r5, 1 /* 8023CE50 00239DB0 4B FF EE 59 */ bl sub_8023bca8 lbl_8023CE54: /* 8023CE54 00239DB4 88 1D 01 40 */ lbz r0, 0x140(r29) /* 8023CE58 00239DB8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023CE5C 00239DBC 41 82 00 28 */ beq lbl_8023CE84 /* 8023CE60 00239DC0 7F C3 F3 78 */ mr r3, r30 /* 8023CE64 00239DC4 4B ED 80 79 */ bl GetRenderingModel__10CModelDataFRC13CStateManager /* 8023CE68 00239DC8 80 1D 01 C4 */ lwz r0, 0x1c4(r29) /* 8023CE6C 00239DCC 7C 65 1B 78 */ mr r5, r3 /* 8023CE70 00239DD0 7C 00 28 00 */ cmpw r0, r5 /* 8023CE74 00239DD4 41 82 00 10 */ beq lbl_8023CE84 /* 8023CE78 00239DD8 7F A3 EB 78 */ mr r3, r29 /* 8023CE7C 00239DDC 7F C4 F3 78 */ mr r4, r30 /* 8023CE80 00239DE0 48 00 05 F5 */ bl sub_8023d474 lbl_8023CE84: /* 8023CE84 00239DE4 3B 60 00 00 */ li r27, 0 /* 8023CE88 00239DE8 3B 9D 01 B4 */ addi r28, r29, 0x1b4 lbl_8023CE8C: /* 8023CE8C 00239DEC 80 7C 00 00 */ lwz r3, 0(r28) /* 8023CE90 00239DF0 C0 22 B7 74 */ lfs f1, lbl_805AD494@sda21(r2) /* 8023CE94 00239DF4 80 63 00 00 */ lwz r3, 0(r3) /* 8023CE98 00239DF8 80 63 00 10 */ lwz r3, 0x10(r3) /* 8023CE9C 00239DFC 4B DE E5 CD */ bl SetPlaybackRate__9CAnimDataFf /* 8023CEA0 00239E00 80 1D 00 04 */ lwz r0, 4(r29) /* 8023CEA4 00239E04 FC 20 F8 90 */ fmr f1, f31 /* 8023CEA8 00239E08 7F C5 F3 78 */ mr r5, r30 /* 8023CEAC 00239E0C 38 61 00 7C */ addi r3, r1, 0x7c /* 8023CEB0 00239E10 90 01 00 34 */ stw r0, 0x34(r1) /* 8023CEB4 00239E14 38 C1 00 34 */ addi r6, r1, 0x34 /* 8023CEB8 00239E18 38 E0 00 01 */ li r7, 1 /* 8023CEBC 00239E1C 80 9C 00 00 */ lwz r4, 0(r28) /* 8023CEC0 00239E20 90 01 00 30 */ stw r0, 0x30(r1) /* 8023CEC4 00239E24 80 84 00 00 */ lwz r4, 0(r4) /* 8023CEC8 00239E28 4B ED 8C 6D */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 8023CECC 00239E2C 3B 7B 00 01 */ addi r27, r27, 1 /* 8023CED0 00239E30 3B 9C 00 04 */ addi r28, r28, 4 /* 8023CED4 00239E34 2C 1B 00 04 */ cmpwi r27, 4 /* 8023CED8 00239E38 41 80 FF B4 */ blt lbl_8023CE8C /* 8023CEDC 00239E3C 83 9D 01 3C */ lwz r28, 0x13c(r29) /* 8023CEE0 00239E40 3B 60 00 00 */ li r27, 0 /* 8023CEE4 00239E44 48 00 01 BC */ b lbl_8023D0A0 lbl_8023CEE8: /* 8023CEE8 00239E48 7F 83 E3 78 */ mr r3, r28 /* 8023CEEC 00239E4C 48 00 14 B5 */ bl sub_8023e3a0 /* 8023CEF0 00239E50 2C 03 00 02 */ cmpwi r3, 2 /* 8023CEF4 00239E54 41 82 00 A8 */ beq lbl_8023CF9C /* 8023CEF8 00239E58 40 80 00 14 */ bge lbl_8023CF0C /* 8023CEFC 00239E5C 2C 03 00 00 */ cmpwi r3, 0 /* 8023CF00 00239E60 41 82 00 18 */ beq lbl_8023CF18 /* 8023CF04 00239E64 40 80 00 44 */ bge lbl_8023CF48 /* 8023CF08 00239E68 48 00 01 94 */ b lbl_8023D09C lbl_8023CF0C: /* 8023CF0C 00239E6C 2C 03 00 04 */ cmpwi r3, 4 /* 8023CF10 00239E70 40 80 01 8C */ bge lbl_8023D09C /* 8023CF14 00239E74 48 00 01 08 */ b lbl_8023D01C lbl_8023CF18: /* 8023CF18 00239E78 80 1D 01 F8 */ lwz r0, 0x1f8(r29) /* 8023CF1C 00239E7C 3B 7B 00 01 */ addi r27, r27, 1 /* 8023CF20 00239E80 28 00 00 00 */ cmplwi r0, 0 /* 8023CF24 00239E84 41 82 01 78 */ beq lbl_8023D09C /* 8023CF28 00239E88 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8023CF2C 00239E8C 41 82 01 70 */ beq lbl_8023D09C /* 8023CF30 00239E90 7F 83 E3 78 */ mr r3, r28 /* 8023CF34 00239E94 48 00 14 69 */ bl nullsub_21 /* 8023CF38 00239E98 7C 64 1B 78 */ mr r4, r3 /* 8023CF3C 00239E9C 7F A3 EB 78 */ mr r3, r29 /* 8023CF40 00239EA0 4B FF E9 65 */ bl sub_8023b8a4 /* 8023CF44 00239EA4 48 00 01 58 */ b lbl_8023D09C lbl_8023CF48: /* 8023CF48 00239EA8 7F 83 E3 78 */ mr r3, r28 /* 8023CF4C 00239EAC 48 00 14 39 */ bl sub_8023e384 /* 8023CF50 00239EB0 FF C0 08 90 */ fmr f30, f1 /* 8023CF54 00239EB4 7F 83 E3 78 */ mr r3, r28 /* 8023CF58 00239EB8 48 00 14 1D */ bl sub_8023e374 /* 8023CF5C 00239EBC EC 3F F0 7C */ fnmsubs f1, f31, f1, f30 /* 8023CF60 00239EC0 7F 83 E3 78 */ mr r3, r28 /* 8023CF64 00239EC4 48 00 14 19 */ bl sub_8023e37c /* 8023CF68 00239EC8 7F 83 E3 78 */ mr r3, r28 /* 8023CF6C 00239ECC 48 00 14 19 */ bl sub_8023e384 /* 8023CF70 00239ED0 C0 02 B7 68 */ lfs f0, lbl_805AD488@sda21(r2) /* 8023CF74 00239ED4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023CF78 00239ED8 4C 40 13 82 */ cror 2, 0, 2 /* 8023CF7C 00239EDC 40 82 01 20 */ bne lbl_8023D09C /* 8023CF80 00239EE0 FC 20 00 90 */ fmr f1, f0 /* 8023CF84 00239EE4 7F 83 E3 78 */ mr r3, r28 /* 8023CF88 00239EE8 48 00 13 F5 */ bl sub_8023e37c /* 8023CF8C 00239EEC 7F 83 E3 78 */ mr r3, r28 /* 8023CF90 00239EF0 38 80 00 00 */ li r4, 0 /* 8023CF94 00239EF4 48 00 14 15 */ bl sub_8023e3a8 /* 8023CF98 00239EF8 48 00 01 04 */ b lbl_8023D09C lbl_8023CF9C: /* 8023CF9C 00239EFC 7F 83 E3 78 */ mr r3, r28 /* 8023CFA0 00239F00 48 00 13 F5 */ bl sub_8023e394 /* 8023CFA4 00239F04 EC 21 F8 28 */ fsubs f1, f1, f31 /* 8023CFA8 00239F08 7F 83 E3 78 */ mr r3, r28 /* 8023CFAC 00239F0C 48 00 13 E1 */ bl sub_8023e38c /* 8023CFB0 00239F10 7F 83 E3 78 */ mr r3, r28 /* 8023CFB4 00239F14 48 00 13 E1 */ bl sub_8023e394 /* 8023CFB8 00239F18 C0 02 B7 68 */ lfs f0, lbl_805AD488@sda21(r2) /* 8023CFBC 00239F1C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023CFC0 00239F20 4C 40 13 82 */ cror 2, 0, 2 /* 8023CFC4 00239F24 40 82 00 D8 */ bne lbl_8023D09C /* 8023CFC8 00239F28 7F 83 E3 78 */ mr r3, r28 /* 8023CFCC 00239F2C 38 80 00 01 */ li r4, 1 /* 8023CFD0 00239F30 48 00 13 D9 */ bl sub_8023e3a8 /* 8023CFD4 00239F34 7F 83 E3 78 */ mr r3, r28 /* 8023CFD8 00239F38 48 00 13 C5 */ bl nullsub_21 /* 8023CFDC 00239F3C 3C A0 80 5A */ lis r5, skZero3f@ha /* 8023CFE0 00239F40 A0 9D 01 D4 */ lhz r4, 0x1d4(r29) /* 8023CFE4 00239F44 38 C5 66 A0 */ addi r6, r5, skZero3f@l /* 8023CFE8 00239F48 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8023CFEC 00239F4C 7C 65 1B 78 */ mr r5, r3 /* 8023CFF0 00239F50 81 5D 00 04 */ lwz r10, 4(r29) /* 8023CFF4 00239F54 38 61 00 2C */ addi r3, r1, 0x2c /* 8023CFF8 00239F58 38 E0 00 01 */ li r7, 1 /* 8023CFFC 00239F5C 39 00 00 00 */ li r8, 0 /* 8023D000 00239F60 48 0A D2 B1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8023D004 00239F64 7F 83 E3 78 */ mr r3, r28 /* 8023D008 00239F68 48 00 13 95 */ bl nullsub_21 /* 8023D00C 00239F6C 7C 64 1B 78 */ mr r4, r3 /* 8023D010 00239F70 7F A3 EB 78 */ mr r3, r29 /* 8023D014 00239F74 4B FF E8 01 */ bl sub_8023b814 /* 8023D018 00239F78 48 00 00 84 */ b lbl_8023D09C lbl_8023D01C: /* 8023D01C 00239F7C 7F 83 E3 78 */ mr r3, r28 /* 8023D020 00239F80 48 00 13 65 */ bl sub_8023e384 /* 8023D024 00239F84 FF C0 08 90 */ fmr f30, f1 /* 8023D028 00239F88 7F 83 E3 78 */ mr r3, r28 /* 8023D02C 00239F8C 48 00 13 49 */ bl sub_8023e374 /* 8023D030 00239F90 EC 3F F0 7A */ fmadds f1, f31, f1, f30 /* 8023D034 00239F94 7F 83 E3 78 */ mr r3, r28 /* 8023D038 00239F98 48 00 13 45 */ bl sub_8023e37c /* 8023D03C 00239F9C 7F 83 E3 78 */ mr r3, r28 /* 8023D040 00239FA0 48 00 13 25 */ bl sub_8023e364 /* 8023D044 00239FA4 C0 1D 01 10 */ lfs f0, 0x110(r29) /* 8023D048 00239FA8 7F 83 E3 78 */ mr r3, r28 /* 8023D04C 00239FAC EF C0 00 72 */ fmuls f30, f0, f1 /* 8023D050 00239FB0 48 00 13 35 */ bl sub_8023e384 /* 8023D054 00239FB4 FC 01 F0 40 */ fcmpo cr0, f1, f30 /* 8023D058 00239FB8 40 81 00 44 */ ble lbl_8023D09C /* 8023D05C 00239FBC 7F 83 E3 78 */ mr r3, r28 /* 8023D060 00239FC0 48 00 13 05 */ bl sub_8023e364 /* 8023D064 00239FC4 C0 1D 01 10 */ lfs f0, 0x110(r29) /* 8023D068 00239FC8 7F 83 E3 78 */ mr r3, r28 /* 8023D06C 00239FCC EC 20 00 72 */ fmuls f1, f0, f1 /* 8023D070 00239FD0 48 00 13 0D */ bl sub_8023e37c /* 8023D074 00239FD4 80 7E 09 00 */ lwz r3, 0x900(r30) /* 8023D078 00239FD8 48 0D 54 65 */ bl Float__9CRandom16Fv /* 8023D07C 00239FDC C0 5D 01 0C */ lfs f2, 0x10c(r29) /* 8023D080 00239FE0 7F 83 E3 78 */ mr r3, r28 /* 8023D084 00239FE4 C0 1D 01 08 */ lfs f0, 0x108(r29) /* 8023D088 00239FE8 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 8023D08C 00239FEC 48 00 13 01 */ bl sub_8023e38c /* 8023D090 00239FF0 7F 83 E3 78 */ mr r3, r28 /* 8023D094 00239FF4 38 80 00 02 */ li r4, 2 /* 8023D098 00239FF8 48 00 13 11 */ bl sub_8023e3a8 lbl_8023D09C: /* 8023D09C 00239FFC 3B 9C 00 24 */ addi r28, r28, 0x24 lbl_8023D0A0: /* 8023D0A0 0023A000 80 1D 01 34 */ lwz r0, 0x134(r29) /* 8023D0A4 0023A004 80 7D 01 3C */ lwz r3, 0x13c(r29) /* 8023D0A8 0023A008 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023D0AC 0023A00C 7C 03 02 14 */ add r0, r3, r0 /* 8023D0B0 0023A010 7C 1C 00 40 */ cmplw r28, r0 /* 8023D0B4 0023A014 40 82 FE 34 */ bne lbl_8023CEE8 /* 8023D0B8 0023A018 2C 1B 00 00 */ cmpwi r27, 0 /* 8023D0BC 0023A01C 40 81 00 5C */ ble lbl_8023D118 /* 8023D0C0 0023A020 80 1D 01 D8 */ lwz r0, 0x1d8(r29) /* 8023D0C4 0023A024 28 00 00 00 */ cmplwi r0, 0 /* 8023D0C8 0023A028 40 82 00 74 */ bne lbl_8023D13C /* 8023D0CC 0023A02C 81 5D 00 04 */ lwz r10, 4(r29) /* 8023D0D0 0023A030 3C 60 80 5A */ lis r3, skZero3f@ha /* 8023D0D4 0023A034 C0 5D 00 60 */ lfs f2, 0x60(r29) /* 8023D0D8 0023A038 38 C3 66 A0 */ addi r6, r3, skZero3f@l /* 8023D0DC 0023A03C C0 3D 00 50 */ lfs f1, 0x50(r29) /* 8023D0E0 0023A040 38 61 00 28 */ addi r3, r1, 0x28 /* 8023D0E4 0023A044 C0 1D 00 40 */ lfs f0, 0x40(r29) /* 8023D0E8 0023A048 38 A1 00 38 */ addi r5, r1, 0x38 /* 8023D0EC 0023A04C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) /* 8023D0F0 0023A050 38 E0 00 01 */ li r7, 1 /* 8023D0F4 0023A054 D0 01 00 38 */ stfs f0, 0x38(r1) /* 8023D0F8 0023A058 39 00 00 01 */ li r8, 1 /* 8023D0FC 0023A05C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 8023D100 0023A060 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8023D104 0023A064 A0 9D 01 D0 */ lhz r4, 0x1d0(r29) /* 8023D108 0023A068 48 0A D1 A9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi /* 8023D10C 0023A06C 80 01 00 28 */ lwz r0, 0x28(r1) /* 8023D110 0023A070 90 1D 01 D8 */ stw r0, 0x1d8(r29) /* 8023D114 0023A074 48 00 00 28 */ b lbl_8023D13C lbl_8023D118: /* 8023D118 0023A078 80 1D 01 D8 */ lwz r0, 0x1d8(r29) /* 8023D11C 0023A07C 28 00 00 00 */ cmplwi r0, 0 /* 8023D120 0023A080 41 82 00 1C */ beq lbl_8023D13C /* 8023D124 0023A084 80 1D 01 D8 */ lwz r0, 0x1d8(r29) /* 8023D128 0023A088 38 61 00 24 */ addi r3, r1, 0x24 /* 8023D12C 0023A08C 90 01 00 24 */ stw r0, 0x24(r1) /* 8023D130 0023A090 48 0A CD 55 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 8023D134 0023A094 38 00 00 00 */ li r0, 0 /* 8023D138 0023A098 90 1D 01 D8 */ stw r0, 0x1d8(r29) lbl_8023D13C: /* 8023D13C 0023A09C 88 1D 01 40 */ lbz r0, 0x140(r29) /* 8023D140 0023A0A0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8023D144 0023A0A4 41 82 00 8C */ beq lbl_8023D1D0 /* 8023D148 0023A0A8 80 AD 96 70 */ lwz r5, lbl_805A8230@sda21(r13) /* 8023D14C 0023A0AC 38 60 00 00 */ li r3, 0 /* 8023D150 0023A0B0 38 80 00 01 */ li r4, 1 /* 8023D154 0023A0B4 48 14 CD A1 */ bl __shl2i /* 8023D158 0023A0B8 38 A0 00 00 */ li r5, 0 /* 8023D15C 0023A0BC 38 00 00 03 */ li r0, 3 /* 8023D160 0023A0C0 90 81 00 4C */ stw r4, 0x4c(r1) /* 8023D164 0023A0C4 FC 20 F8 90 */ fmr f1, f31 /* 8023D168 0023A0C8 38 9D 01 5C */ addi r4, r29, 0x15c /* 8023D16C 0023A0CC 90 61 00 48 */ stw r3, 0x48(r1) /* 8023D170 0023A0D0 38 61 00 60 */ addi r3, r1, 0x60 /* 8023D174 0023A0D4 90 A1 00 54 */ stw r5, 0x54(r1) /* 8023D178 0023A0D8 90 A1 00 50 */ stw r5, 0x50(r1) /* 8023D17C 0023A0DC 90 01 00 58 */ stw r0, 0x58(r1) /* 8023D180 0023A0E0 A0 1D 00 08 */ lhz r0, 8(r29) /* 8023D184 0023A0E4 B0 01 00 10 */ sth r0, 0x10(r1) /* 8023D188 0023A0E8 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 8023D18C 0023A0EC B0 01 00 0C */ sth r0, 0xc(r1) /* 8023D190 0023A0F0 A0 A5 00 08 */ lhz r5, 8(r5) /* 8023D194 0023A0F4 B0 A1 00 18 */ sth r5, 0x18(r1) /* 8023D198 0023A0F8 A0 1D 00 08 */ lhz r0, 8(r29) /* 8023D19C 0023A0FC B0 A1 00 14 */ sth r5, 0x14(r1) /* 8023D1A0 0023A100 B0 01 00 1C */ sth r0, 0x1c(r1) /* 8023D1A4 0023A104 B0 01 00 20 */ sth r0, 0x20(r1) /* 8023D1A8 0023A108 4B E8 62 A1 */ bl __ct__11CDamageInfoFRC11CDamageInfof /* 8023D1AC 0023A10C 3C 80 80 5A */ lis r4, skZero3f@ha /* 8023D1B0 0023A110 7F C3 F3 78 */ mr r3, r30 /* 8023D1B4 0023A114 39 24 66 A0 */ addi r9, r4, skZero3f@l /* 8023D1B8 0023A118 38 A1 00 18 */ addi r5, r1, 0x18 /* 8023D1BC 0023A11C 38 81 00 20 */ addi r4, r1, 0x20 /* 8023D1C0 0023A120 38 C1 00 10 */ addi r6, r1, 0x10 /* 8023D1C4 0023A124 38 E1 00 60 */ addi r7, r1, 0x60 /* 8023D1C8 0023A128 39 01 00 48 */ addi r8, r1, 0x48 /* 8023D1CC 0023A12C 4B E0 CE D5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f lbl_8023D1D0: /* 8023D1D0 0023A130 88 1D 01 40 */ lbz r0, 0x140(r29) /* 8023D1D4 0023A134 38 60 00 00 */ li r3, 0 /* 8023D1D8 0023A138 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8023D1DC 0023A13C 98 1D 01 40 */ stb r0, 0x140(r29) lbl_8023D1E0: /* 8023D1E0 0023A140 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 8023D1E4 0023A144 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 8023D1E8 0023A148 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 8023D1EC 0023A14C CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 8023D1F0 0023A150 BB 61 00 AC */ lmw r27, 0xac(r1) /* 8023D1F4 0023A154 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 8023D1F8 0023A158 7C 08 03 A6 */ mtlr r0 /* 8023D1FC 0023A15C 38 21 00 E0 */ addi r1, r1, 0xe0 /* 8023D200 0023A160 4E 80 00 20 */ blr .global sub_8023d204 sub_8023d204: /* 8023D204 0023A164 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8023D208 0023A168 7C 08 02 A6 */ mflr r0 /* 8023D20C 0023A16C 90 01 00 74 */ stw r0, 0x74(r1) /* 8023D210 0023A170 DB E1 00 60 */ stfd f31, 0x60(r1) /* 8023D214 0023A174 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 8023D218 0023A178 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8023D21C 0023A17C 93 C1 00 58 */ stw r30, 0x58(r1) /* 8023D220 0023A180 7C 7F 1B 78 */ mr r31, r3 /* 8023D224 0023A184 80 03 01 34 */ lwz r0, 0x134(r3) /* 8023D228 0023A188 2C 00 00 00 */ cmpwi r0, 0 /* 8023D22C 0023A18C 40 81 00 D8 */ ble lbl_8023D304 /* 8023D230 0023A190 3C 60 80 5A */ lis r3, lbl_805A6754@ha /* 8023D234 0023A194 38 83 67 54 */ addi r4, r3, lbl_805A6754@l /* 8023D238 0023A198 80 64 00 00 */ lwz r3, 0(r4) /* 8023D23C 0023A19C 80 04 00 04 */ lwz r0, 4(r4) /* 8023D240 0023A1A0 90 7F 01 44 */ stw r3, 0x144(r31) /* 8023D244 0023A1A4 90 1F 01 48 */ stw r0, 0x148(r31) /* 8023D248 0023A1A8 80 04 00 08 */ lwz r0, 8(r4) /* 8023D24C 0023A1AC 90 1F 01 4C */ stw r0, 0x14c(r31) /* 8023D250 0023A1B0 80 64 00 0C */ lwz r3, 0xc(r4) /* 8023D254 0023A1B4 80 04 00 10 */ lwz r0, 0x10(r4) /* 8023D258 0023A1B8 90 7F 01 50 */ stw r3, 0x150(r31) /* 8023D25C 0023A1BC 90 1F 01 54 */ stw r0, 0x154(r31) /* 8023D260 0023A1C0 80 04 00 14 */ lwz r0, 0x14(r4) /* 8023D264 0023A1C4 90 1F 01 58 */ stw r0, 0x158(r31) /* 8023D268 0023A1C8 C3 FF 01 00 */ lfs f31, 0x100(r31) /* 8023D26C 0023A1CC 83 DF 01 3C */ lwz r30, 0x13c(r31) /* 8023D270 0023A1D0 48 00 00 78 */ b lbl_8023D2E8 lbl_8023D274: /* 8023D274 0023A1D4 7F C3 F3 78 */ mr r3, r30 /* 8023D278 0023A1D8 48 00 11 25 */ bl nullsub_21 /* 8023D27C 0023A1DC C0 43 00 04 */ lfs f2, 4(r3) /* 8023D280 0023A1E0 38 81 00 2C */ addi r4, r1, 0x2c /* 8023D284 0023A1E4 C0 23 00 08 */ lfs f1, 8(r3) /* 8023D288 0023A1E8 C0 03 00 00 */ lfs f0, 0(r3) /* 8023D28C 0023A1EC EC 42 F8 28 */ fsubs f2, f2, f31 /* 8023D290 0023A1F0 EC 21 F8 28 */ fsubs f1, f1, f31 /* 8023D294 0023A1F4 38 7F 01 44 */ addi r3, r31, 0x144 /* 8023D298 0023A1F8 EC 00 F8 28 */ fsubs f0, f0, f31 /* 8023D29C 0023A1FC D0 41 00 30 */ stfs f2, 0x30(r1) /* 8023D2A0 0023A200 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8023D2A4 0023A204 D0 21 00 34 */ stfs f1, 0x34(r1) /* 8023D2A8 0023A208 48 0F A8 61 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8023D2AC 0023A20C 7F C3 F3 78 */ mr r3, r30 /* 8023D2B0 0023A210 48 00 10 ED */ bl nullsub_21 /* 8023D2B4 0023A214 C0 43 00 04 */ lfs f2, 4(r3) /* 8023D2B8 0023A218 38 81 00 20 */ addi r4, r1, 0x20 /* 8023D2BC 0023A21C C0 23 00 08 */ lfs f1, 8(r3) /* 8023D2C0 0023A220 C0 03 00 00 */ lfs f0, 0(r3) /* 8023D2C4 0023A224 EC 42 F8 2A */ fadds f2, f2, f31 /* 8023D2C8 0023A228 EC 21 F8 2A */ fadds f1, f1, f31 /* 8023D2CC 0023A22C 38 7F 01 44 */ addi r3, r31, 0x144 /* 8023D2D0 0023A230 EC 00 F8 2A */ fadds f0, f0, f31 /* 8023D2D4 0023A234 D0 41 00 24 */ stfs f2, 0x24(r1) /* 8023D2D8 0023A238 D0 01 00 20 */ stfs f0, 0x20(r1) /* 8023D2DC 0023A23C D0 21 00 28 */ stfs f1, 0x28(r1) /* 8023D2E0 0023A240 48 0F A8 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8023D2E4 0023A244 3B DE 00 24 */ addi r30, r30, 0x24 lbl_8023D2E8: /* 8023D2E8 0023A248 80 1F 01 34 */ lwz r0, 0x134(r31) /* 8023D2EC 0023A24C 80 7F 01 3C */ lwz r3, 0x13c(r31) /* 8023D2F0 0023A250 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023D2F4 0023A254 7C 03 02 14 */ add r0, r3, r0 /* 8023D2F8 0023A258 7C 1E 00 40 */ cmplw r30, r0 /* 8023D2FC 0023A25C 40 82 FF 78 */ bne lbl_8023D274 /* 8023D300 0023A260 48 00 00 68 */ b lbl_8023D368 lbl_8023D304: /* 8023D304 0023A264 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 8023D308 0023A268 38 61 00 38 */ addi r3, r1, 0x38 /* 8023D30C 0023A26C C0 3F 00 50 */ lfs f1, 0x50(r31) /* 8023D310 0023A270 38 81 00 14 */ addi r4, r1, 0x14 /* 8023D314 0023A274 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 8023D318 0023A278 38 A1 00 08 */ addi r5, r1, 8 /* 8023D31C 0023A27C D0 01 00 08 */ stfs f0, 8(r1) /* 8023D320 0023A280 D0 21 00 0C */ stfs f1, 0xc(r1) /* 8023D324 0023A284 D0 41 00 10 */ stfs f2, 0x10(r1) /* 8023D328 0023A288 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8023D32C 0023A28C D0 21 00 18 */ stfs f1, 0x18(r1) /* 8023D330 0023A290 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 8023D334 0023A294 48 0F B1 D5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8023D338 0023A298 80 61 00 38 */ lwz r3, 0x38(r1) /* 8023D33C 0023A29C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 8023D340 0023A2A0 90 7F 01 44 */ stw r3, 0x144(r31) /* 8023D344 0023A2A4 90 1F 01 48 */ stw r0, 0x148(r31) /* 8023D348 0023A2A8 80 01 00 40 */ lwz r0, 0x40(r1) /* 8023D34C 0023A2AC 90 1F 01 4C */ stw r0, 0x14c(r31) /* 8023D350 0023A2B0 80 61 00 44 */ lwz r3, 0x44(r1) /* 8023D354 0023A2B4 80 01 00 48 */ lwz r0, 0x48(r1) /* 8023D358 0023A2B8 90 7F 01 50 */ stw r3, 0x150(r31) /* 8023D35C 0023A2BC 90 1F 01 54 */ stw r0, 0x154(r31) /* 8023D360 0023A2C0 80 01 00 4C */ lwz r0, 0x4c(r1) /* 8023D364 0023A2C4 90 1F 01 58 */ stw r0, 0x158(r31) lbl_8023D368: /* 8023D368 0023A2C8 88 1F 00 E4 */ lbz r0, 0xe4(r31) /* 8023D36C 0023A2CC 38 60 00 01 */ li r3, 1 /* 8023D370 0023A2D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 8023D374 0023A2D4 98 1F 00 E4 */ stb r0, 0xe4(r31) /* 8023D378 0023A2D8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 8023D37C 0023A2DC 80 01 00 74 */ lwz r0, 0x74(r1) /* 8023D380 0023A2E0 CB E1 00 60 */ lfd f31, 0x60(r1) /* 8023D384 0023A2E4 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8023D388 0023A2E8 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8023D38C 0023A2EC 7C 08 03 A6 */ mtlr r0 /* 8023D390 0023A2F0 38 21 00 70 */ addi r1, r1, 0x70 /* 8023D394 0023A2F4 4E 80 00 20 */ blr .global GetTouchBounds__15CSnakeWeedSwarmCFv GetTouchBounds__15CSnakeWeedSwarmCFv: /* 8023D398 0023A2F8 88 04 01 40 */ lbz r0, 0x140(r4) /* 8023D39C 0023A2FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023D3A0 0023A300 40 82 00 10 */ bne lbl_8023D3B0 /* 8023D3A4 0023A304 38 00 00 00 */ li r0, 0 /* 8023D3A8 0023A308 98 03 00 18 */ stb r0, 0x18(r3) /* 8023D3AC 0023A30C 4E 80 00 20 */ blr lbl_8023D3B0: /* 8023D3B0 0023A310 38 00 00 01 */ li r0, 1 /* 8023D3B4 0023A314 28 03 00 00 */ cmplwi r3, 0 /* 8023D3B8 0023A318 98 03 00 18 */ stb r0, 0x18(r3) /* 8023D3BC 0023A31C 4D 82 00 20 */ beqlr /* 8023D3C0 0023A320 C0 04 01 44 */ lfs f0, 0x144(r4) /* 8023D3C4 0023A324 D0 03 00 00 */ stfs f0, 0(r3) /* 8023D3C8 0023A328 C0 04 01 48 */ lfs f0, 0x148(r4) /* 8023D3CC 0023A32C D0 03 00 04 */ stfs f0, 4(r3) /* 8023D3D0 0023A330 C0 04 01 4C */ lfs f0, 0x14c(r4) /* 8023D3D4 0023A334 D0 03 00 08 */ stfs f0, 8(r3) /* 8023D3D8 0023A338 C0 04 01 50 */ lfs f0, 0x150(r4) /* 8023D3DC 0023A33C D0 03 00 0C */ stfs f0, 0xc(r3) /* 8023D3E0 0023A340 C0 04 01 54 */ lfs f0, 0x154(r4) /* 8023D3E4 0023A344 D0 03 00 10 */ stfs f0, 0x10(r3) /* 8023D3E8 0023A348 C0 04 01 58 */ lfs f0, 0x158(r4) /* 8023D3EC 0023A34C D0 03 00 14 */ stfs f0, 0x14(r3) /* 8023D3F0 0023A350 4E 80 00 20 */ blr .global sub_8023d3f4 sub_8023d3f4: /* 8023D3F4 0023A354 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023D3F8 0023A358 7C 08 02 A6 */ mflr r0 /* 8023D3FC 0023A35C C0 82 B7 90 */ lfs f4, lbl_805AD4B0@sda21(r2) /* 8023D400 0023A360 90 01 00 24 */ stw r0, 0x24(r1) /* 8023D404 0023A364 38 A1 00 08 */ addi r5, r1, 8 /* 8023D408 0023A368 C0 44 00 F0 */ lfs f2, 0xf0(r4) /* 8023D40C 0023A36C C0 24 00 EC */ lfs f1, 0xec(r4) /* 8023D410 0023A370 EC C4 00 B2 */ fmuls f6, f4, f2 /* 8023D414 0023A374 C0 04 00 E8 */ lfs f0, 0xe8(r4) /* 8023D418 0023A378 EC A4 00 72 */ fmuls f5, f4, f1 /* 8023D41C 0023A37C C0 44 00 60 */ lfs f2, 0x60(r4) /* 8023D420 0023A380 EC 84 00 32 */ fmuls f4, f4, f0 /* 8023D424 0023A384 C0 64 00 50 */ lfs f3, 0x50(r4) /* 8023D428 0023A388 C0 04 00 40 */ lfs f0, 0x40(r4) /* 8023D42C 0023A38C ED 03 28 2A */ fadds f8, f3, f5 /* 8023D430 0023A390 EC E2 30 2A */ fadds f7, f2, f6 /* 8023D434 0023A394 38 81 00 14 */ addi r4, r1, 0x14 /* 8023D438 0023A398 EC 20 20 2A */ fadds f1, f0, f4 /* 8023D43C 0023A39C EC 63 28 28 */ fsubs f3, f3, f5 /* 8023D440 0023A3A0 D1 01 00 0C */ stfs f8, 0xc(r1) /* 8023D444 0023A3A4 EC 42 30 28 */ fsubs f2, f2, f6 /* 8023D448 0023A3A8 EC 00 20 28 */ fsubs f0, f0, f4 /* 8023D44C 0023A3AC D0 21 00 08 */ stfs f1, 8(r1) /* 8023D450 0023A3B0 D0 E1 00 10 */ stfs f7, 0x10(r1) /* 8023D454 0023A3B4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8023D458 0023A3B8 D0 61 00 18 */ stfs f3, 0x18(r1) /* 8023D45C 0023A3BC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 8023D460 0023A3C0 48 0F B0 A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8023D464 0023A3C4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023D468 0023A3C8 7C 08 03 A6 */ mtlr r0 /* 8023D46C 0023A3CC 38 21 00 20 */ addi r1, r1, 0x20 /* 8023D470 0023A3D0 4E 80 00 20 */ blr .global sub_8023d474 sub_8023d474: /* 8023D474 0023A3D4 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8023D478 0023A3D8 7C 08 02 A6 */ mflr r0 /* 8023D47C 0023A3DC 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8023D480 0023A3E0 DB E1 00 90 */ stfd f31, 0x90(r1) /* 8023D484 0023A3E4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8023D488 0023A3E8 DB C1 00 80 */ stfd f30, 0x80(r1) /* 8023D48C 0023A3EC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 8023D490 0023A3F0 BE C1 00 58 */ stmw r22, 0x58(r1) /* 8023D494 0023A3F4 7C 79 1B 78 */ mr r25, r3 /* 8023D498 0023A3F8 7C 9A 23 78 */ mr r26, r4 /* 8023D49C 0023A3FC 3B D9 01 7C */ addi r30, r25, 0x17c /* 8023D4A0 0023A400 7C BB 2B 78 */ mr r27, r5 /* 8023D4A4 0023A404 7F D8 F3 78 */ mr r24, r30 /* 8023D4A8 0023A408 3A E0 00 00 */ li r23, 0 /* 8023D4AC 0023A40C 48 00 00 28 */ b lbl_8023D4D4 lbl_8023D4B0: /* 8023D4B0 0023A410 28 18 00 00 */ cmplwi r24, 0 /* 8023D4B4 0023A414 41 82 00 18 */ beq lbl_8023D4CC /* 8023D4B8 0023A418 88 18 00 00 */ lbz r0, 0(r24) /* 8023D4BC 0023A41C 28 00 00 00 */ cmplwi r0, 0 /* 8023D4C0 0023A420 41 82 00 0C */ beq lbl_8023D4CC /* 8023D4C4 0023A424 80 78 00 04 */ lwz r3, 4(r24) /* 8023D4C8 0023A428 48 0D 84 69 */ bl Free__7CMemoryFPCv lbl_8023D4CC: /* 8023D4CC 0023A42C 3B 18 00 08 */ addi r24, r24, 8 /* 8023D4D0 0023A430 3A F7 00 01 */ addi r23, r23, 1 lbl_8023D4D4: /* 8023D4D4 0023A434 80 19 01 78 */ lwz r0, 0x178(r25) /* 8023D4D8 0023A438 7C 17 00 00 */ cmpw r23, r0 /* 8023D4DC 0023A43C 41 80 FF D4 */ blt lbl_8023D4B0 /* 8023D4E0 0023A440 38 60 00 00 */ li r3, 0 /* 8023D4E4 0023A444 3B B9 01 A0 */ addi r29, r25, 0x1a0 /* 8023D4E8 0023A448 90 79 01 78 */ stw r3, 0x178(r25) /* 8023D4EC 0023A44C 80 B9 01 9C */ lwz r5, 0x19c(r25) /* 8023D4F0 0023A450 2C 05 00 00 */ cmpwi r5, 0 /* 8023D4F4 0023A454 40 81 00 40 */ ble lbl_8023D534 /* 8023D4F8 0023A458 2C 05 00 08 */ cmpwi r5, 8 /* 8023D4FC 0023A45C 38 85 FF F8 */ addi r4, r5, -8 /* 8023D500 0023A460 40 81 00 20 */ ble lbl_8023D520 /* 8023D504 0023A464 38 04 00 07 */ addi r0, r4, 7 /* 8023D508 0023A468 54 00 E8 FE */ srwi r0, r0, 3 /* 8023D50C 0023A46C 7C 09 03 A6 */ mtctr r0 /* 8023D510 0023A470 2C 04 00 00 */ cmpwi r4, 0 /* 8023D514 0023A474 40 81 00 0C */ ble lbl_8023D520 lbl_8023D518: /* 8023D518 0023A478 38 63 00 08 */ addi r3, r3, 8 /* 8023D51C 0023A47C 42 00 FF FC */ bdnz lbl_8023D518 lbl_8023D520: /* 8023D520 0023A480 7C 03 28 50 */ subf r0, r3, r5 /* 8023D524 0023A484 7C 09 03 A6 */ mtctr r0 /* 8023D528 0023A488 7C 03 28 00 */ cmpw r3, r5 /* 8023D52C 0023A48C 40 80 00 08 */ bge lbl_8023D534 lbl_8023D530: /* 8023D530 0023A490 42 00 00 00 */ bdnz lbl_8023D530 lbl_8023D534: /* 8023D534 0023A494 38 00 00 00 */ li r0, 0 /* 8023D538 0023A498 3C 60 80 3D */ lis r3, lbl_803D4388@ha /* 8023D53C 0023A49C 90 19 01 9C */ stw r0, 0x19c(r25) /* 8023D540 0023A4A0 3B F9 01 B4 */ addi r31, r25, 0x1b4 /* 8023D544 0023A4A4 CB C2 B7 80 */ lfd f30, lbl_805AD4A0@sda21(r2) /* 8023D548 0023A4A8 3A E3 43 88 */ addi r23, r3, lbl_803D4388@l /* 8023D54C 0023A4AC C3 E2 B7 94 */ lfs f31, lbl_805AD4B4@sda21(r2) /* 8023D550 0023A4B0 3B 80 00 00 */ li r28, 0 /* 8023D554 0023A4B4 3F 00 43 30 */ lis r24, 0x4330 lbl_8023D558: /* 8023D558 0023A4B8 80 7F 00 00 */ lwz r3, 0(r31) /* 8023D55C 0023A4BC 7F 64 DB 78 */ mr r4, r27 /* 8023D560 0023A4C0 80 63 00 00 */ lwz r3, 0(r3) /* 8023D564 0023A4C4 4B ED 79 F9 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel /* 8023D568 0023A4C8 38 81 00 10 */ addi r4, r1, 0x10 /* 8023D56C 0023A4CC 48 11 50 FD */ bl sub_80352668 /* 8023D570 0023A4D0 80 19 01 78 */ lwz r0, 0x178(r25) /* 8023D574 0023A4D4 7C 83 00 D0 */ neg r4, r3 /* 8023D578 0023A4D8 7C 84 1B 78 */ or r4, r4, r3 /* 8023D57C 0023A4DC 90 61 00 18 */ stw r3, 0x18(r1) /* 8023D580 0023A4E0 54 00 18 38 */ slwi r0, r0, 3 /* 8023D584 0023A4E4 54 84 0F FE */ srwi r4, r4, 0x1f /* 8023D588 0023A4E8 7C BE 02 15 */ add. r5, r30, r0 /* 8023D58C 0023A4EC 98 81 00 14 */ stb r4, 0x14(r1) /* 8023D590 0023A4F0 41 82 00 14 */ beq lbl_8023D5A4 /* 8023D594 0023A4F4 98 85 00 00 */ stb r4, 0(r5) /* 8023D598 0023A4F8 38 00 00 00 */ li r0, 0 /* 8023D59C 0023A4FC 90 65 00 04 */ stw r3, 4(r5) /* 8023D5A0 0023A500 98 01 00 14 */ stb r0, 0x14(r1) lbl_8023D5A4: /* 8023D5A4 0023A504 80 79 01 78 */ lwz r3, 0x178(r25) /* 8023D5A8 0023A508 88 01 00 14 */ lbz r0, 0x14(r1) /* 8023D5AC 0023A50C 38 63 00 01 */ addi r3, r3, 1 /* 8023D5B0 0023A510 28 00 00 00 */ cmplwi r0, 0 /* 8023D5B4 0023A514 90 79 01 78 */ stw r3, 0x178(r25) /* 8023D5B8 0023A518 41 82 00 0C */ beq lbl_8023D5C4 /* 8023D5BC 0023A51C 80 61 00 18 */ lwz r3, 0x18(r1) /* 8023D5C0 0023A520 48 0D 83 71 */ bl Free__7CMemoryFPCv lbl_8023D5C4: /* 8023D5C4 0023A524 80 19 01 9C */ lwz r0, 0x19c(r25) /* 8023D5C8 0023A528 54 00 10 3A */ slwi r0, r0, 2 /* 8023D5CC 0023A52C 7C 7D 02 15 */ add. r3, r29, r0 /* 8023D5D0 0023A530 41 82 00 0C */ beq lbl_8023D5DC /* 8023D5D4 0023A534 80 01 00 10 */ lwz r0, 0x10(r1) /* 8023D5D8 0023A538 90 03 00 00 */ stw r0, 0(r3) lbl_8023D5DC: /* 8023D5DC 0023A53C 80 79 01 9C */ lwz r3, 0x19c(r25) /* 8023D5E0 0023A540 38 80 00 01 */ li r4, 1 /* 8023D5E4 0023A544 38 03 00 01 */ addi r0, r3, 1 /* 8023D5E8 0023A548 90 19 01 9C */ stw r0, 0x19c(r25) /* 8023D5EC 0023A54C 80 7F 00 00 */ lwz r3, 0(r31) /* 8023D5F0 0023A550 80 63 00 00 */ lwz r3, 0(r3) /* 8023D5F4 0023A554 4B ED 7F 6D */ bl EnableLooping__10CModelDataFb /* 8023D5F8 0023A558 7E E4 BB 78 */ mr r4, r23 /* 8023D5FC 0023A55C 38 61 00 1C */ addi r3, r1, 0x1c /* 8023D600 0023A560 4B DC 76 B9 */ bl string_l__4rstlFPCc /* 8023D604 0023A564 80 19 00 04 */ lwz r0, 4(r25) /* 8023D608 0023A568 38 81 00 1C */ addi r4, r1, 0x1c /* 8023D60C 0023A56C 90 01 00 0C */ stw r0, 0xc(r1) /* 8023D610 0023A570 80 7F 00 00 */ lwz r3, 0(r31) /* 8023D614 0023A574 90 01 00 08 */ stw r0, 8(r1) /* 8023D618 0023A578 82 C3 00 00 */ lwz r22, 0(r3) /* 8023D61C 0023A57C 80 76 00 10 */ lwz r3, 0x10(r22) /* 8023D620 0023A580 4B DE EE 4D */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8023D624 0023A584 6F 80 80 00 */ xoris r0, r28, 0x8000 /* 8023D628 0023A588 93 01 00 48 */ stw r24, 0x48(r1) /* 8023D62C 0023A58C 7E C4 B3 78 */ mr r4, r22 /* 8023D630 0023A590 7F 45 D3 78 */ mr r5, r26 /* 8023D634 0023A594 90 01 00 4C */ stw r0, 0x4c(r1) /* 8023D638 0023A598 38 61 00 2C */ addi r3, r1, 0x2c /* 8023D63C 0023A59C 38 C1 00 0C */ addi r6, r1, 0xc /* 8023D640 0023A5A0 38 E0 00 01 */ li r7, 1 /* 8023D644 0023A5A4 C8 01 00 48 */ lfd f0, 0x48(r1) /* 8023D648 0023A5A8 EC 00 F0 28 */ fsubs f0, f0, f30 /* 8023D64C 0023A5AC EC 00 07 F2 */ fmuls f0, f0, f31 /* 8023D650 0023A5B0 EC 20 00 72 */ fmuls f1, f0, f1 /* 8023D654 0023A5B4 4B ED 84 E1 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb /* 8023D658 0023A5B8 38 61 00 1C */ addi r3, r1, 0x1c /* 8023D65C 0023A5BC 48 10 04 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8023D660 0023A5C0 3B 9C 00 01 */ addi r28, r28, 1 /* 8023D664 0023A5C4 3B FF 00 04 */ addi r31, r31, 4 /* 8023D668 0023A5C8 2C 1C 00 04 */ cmpwi r28, 4 /* 8023D66C 0023A5CC 41 80 FE EC */ blt lbl_8023D558 /* 8023D670 0023A5D0 93 79 01 C4 */ stw r27, 0x1c4(r25) /* 8023D674 0023A5D4 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 8023D678 0023A5D8 CB E1 00 90 */ lfd f31, 0x90(r1) /* 8023D67C 0023A5DC E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 8023D680 0023A5E0 CB C1 00 80 */ lfd f30, 0x80(r1) /* 8023D684 0023A5E4 BA C1 00 58 */ lmw r22, 0x58(r1) /* 8023D688 0023A5E8 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8023D68C 0023A5EC 7C 08 03 A6 */ mtlr r0 /* 8023D690 0023A5F0 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8023D694 0023A5F4 4E 80 00 20 */ blr .global AcceptScriptMsg__15CSnakeWeedSwarmF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__15CSnakeWeedSwarmF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8023D698 0023A5F8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023D69C 0023A5FC 7C 08 02 A6 */ mflr r0 /* 8023D6A0 0023A600 90 01 00 24 */ stw r0, 0x24(r1) /* 8023D6A4 0023A604 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023D6A8 0023A608 7C DF 33 78 */ mr r31, r6 /* 8023D6AC 0023A60C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023D6B0 0023A610 7C 9E 23 78 */ mr r30, r4 /* 8023D6B4 0023A614 93 A1 00 14 */ stw r29, 0x14(r1) /* 8023D6B8 0023A618 7C 7D 1B 78 */ mr r29, r3 /* 8023D6BC 0023A61C A0 05 00 00 */ lhz r0, 0(r5) /* 8023D6C0 0023A620 38 A1 00 08 */ addi r5, r1, 8 /* 8023D6C4 0023A624 B0 01 00 08 */ sth r0, 8(r1) /* 8023D6C8 0023A628 4B E1 5F 4D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8023D6CC 0023A62C 2C 1E 00 22 */ cmpwi r30, 0x22 /* 8023D6D0 0023A630 41 82 00 48 */ beq lbl_8023D718 /* 8023D6D4 0023A634 40 80 00 68 */ bge lbl_8023D73C /* 8023D6D8 0023A638 2C 1E 00 21 */ cmpwi r30, 0x21 /* 8023D6DC 0023A63C 40 80 00 08 */ bge lbl_8023D6E4 /* 8023D6E0 0023A640 48 00 00 5C */ b lbl_8023D73C lbl_8023D6E4: /* 8023D6E4 0023A644 7F A3 EB 78 */ mr r3, r29 /* 8023D6E8 0023A648 7F E4 FB 78 */ mr r4, r31 /* 8023D6EC 0023A64C 38 A0 00 00 */ li r5, 0 /* 8023D6F0 0023A650 4B FF FD 85 */ bl sub_8023d474 /* 8023D6F4 0023A654 7F A3 EB 78 */ mr r3, r29 /* 8023D6F8 0023A658 38 80 00 01 */ li r4, 1 /* 8023D6FC 0023A65C 4B E1 62 25 */ bl SetCalculateLighting__6CActorFb /* 8023D700 0023A660 80 7D 00 90 */ lwz r3, 0x90(r29) /* 8023D704 0023A664 38 80 00 01 */ li r4, 1 /* 8023D708 0023A668 88 03 02 98 */ lbz r0, 0x298(r3) /* 8023D70C 0023A66C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 8023D710 0023A670 98 03 02 98 */ stb r0, 0x298(r3) /* 8023D714 0023A674 48 00 00 28 */ b lbl_8023D73C lbl_8023D718: /* 8023D718 0023A678 80 1D 01 D8 */ lwz r0, 0x1d8(r29) /* 8023D71C 0023A67C 28 00 00 00 */ cmplwi r0, 0 /* 8023D720 0023A680 41 82 00 1C */ beq lbl_8023D73C /* 8023D724 0023A684 80 1D 01 D8 */ lwz r0, 0x1d8(r29) /* 8023D728 0023A688 38 61 00 0C */ addi r3, r1, 0xc /* 8023D72C 0023A68C 90 01 00 0C */ stw r0, 0xc(r1) /* 8023D730 0023A690 48 0A C7 55 */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle /* 8023D734 0023A694 38 00 00 00 */ li r0, 0 /* 8023D738 0023A698 90 1D 01 D8 */ stw r0, 0x1d8(r29) lbl_8023D73C: /* 8023D73C 0023A69C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023D740 0023A6A0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023D744 0023A6A4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023D748 0023A6A8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8023D74C 0023A6AC 7C 08 03 A6 */ mtlr r0 /* 8023D750 0023A6B0 38 21 00 20 */ addi r1, r1, 0x20 /* 8023D754 0023A6B4 4E 80 00 20 */ blr .global Accept__15CSnakeWeedSwarmFR8IVisitor Accept__15CSnakeWeedSwarmFR8IVisitor: /* 8023D758 0023A6B8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023D75C 0023A6BC 7C 08 02 A6 */ mflr r0 /* 8023D760 0023A6C0 90 01 00 14 */ stw r0, 0x14(r1) /* 8023D764 0023A6C4 7C 60 1B 78 */ mr r0, r3 /* 8023D768 0023A6C8 7C 83 23 78 */ mr r3, r4 /* 8023D76C 0023A6CC 81 84 00 00 */ lwz r12, 0(r4) /* 8023D770 0023A6D0 7C 04 03 78 */ mr r4, r0 /* 8023D774 0023A6D4 81 8C 00 DC */ lwz r12, 0xdc(r12) /* 8023D778 0023A6D8 7D 89 03 A6 */ mtctr r12 /* 8023D77C 0023A6DC 4E 80 04 21 */ bctrl /* 8023D780 0023A6E0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023D784 0023A6E4 7C 08 03 A6 */ mtlr r0 /* 8023D788 0023A6E8 38 21 00 10 */ addi r1, r1, 0x10 /* 8023D78C 0023A6EC 4E 80 00 20 */ blr .global __ct__15CSnakeWeedSwarm __ct__15CSnakeWeedSwarm: /* 8023D790 0023A6F0 94 21 FD C0 */ stwu r1, -0x240(r1) /* 8023D794 0023A6F4 7C 08 02 A6 */ mflr r0 /* 8023D798 0023A6F8 90 01 02 44 */ stw r0, 0x244(r1) /* 8023D79C 0023A6FC DB E1 02 30 */ stfd f31, 0x230(r1) /* 8023D7A0 0023A700 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 /* 8023D7A4 0023A704 DB C1 02 20 */ stfd f30, 0x220(r1) /* 8023D7A8 0023A708 F3 C1 02 28 */ psq_st f30, 552(r1), 0, qr0 /* 8023D7AC 0023A70C DB A1 02 10 */ stfd f29, 0x210(r1) /* 8023D7B0 0023A710 F3 A1 02 18 */ psq_st f29, 536(r1), 0, qr0 /* 8023D7B4 0023A714 DB 81 02 00 */ stfd f28, 0x200(r1) /* 8023D7B8 0023A718 F3 81 02 08 */ psq_st f28, 520(r1), 0, qr0 /* 8023D7BC 0023A71C DB 61 01 F0 */ stfd f27, 0x1f0(r1) /* 8023D7C0 0023A720 F3 61 01 F8 */ psq_st f27, 504(r1), 0, qr0 /* 8023D7C4 0023A724 DB 41 01 E0 */ stfd f26, 0x1e0(r1) /* 8023D7C8 0023A728 F3 41 01 E8 */ psq_st f26, 488(r1), 0, qr0 /* 8023D7CC 0023A72C DB 21 01 D0 */ stfd f25, 0x1d0(r1) /* 8023D7D0 0023A730 F3 21 01 D8 */ psq_st f25, 472(r1), 0, qr0 /* 8023D7D4 0023A734 DB 01 01 C0 */ stfd f24, 0x1c0(r1) /* 8023D7D8 0023A738 F3 01 01 C8 */ psq_st f24, 456(r1), 0, qr0 /* 8023D7DC 0023A73C DA E1 01 B0 */ stfd f23, 0x1b0(r1) /* 8023D7E0 0023A740 F2 E1 01 B8 */ psq_st f23, 440(r1), 0, qr0 /* 8023D7E4 0023A744 DA C1 01 A0 */ stfd f22, 0x1a0(r1) /* 8023D7E8 0023A748 F2 C1 01 A8 */ psq_st f22, 424(r1), 0, qr0 /* 8023D7EC 0023A74C DA A1 01 90 */ stfd f21, 0x190(r1) /* 8023D7F0 0023A750 F2 A1 01 98 */ psq_st f21, 408(r1), 0, qr0 /* 8023D7F4 0023A754 DA 81 01 80 */ stfd f20, 0x180(r1) /* 8023D7F8 0023A758 F2 81 01 88 */ psq_st f20, 392(r1), 0, qr0 /* 8023D7FC 0023A75C DA 61 01 70 */ stfd f19, 0x170(r1) /* 8023D800 0023A760 F2 61 01 78 */ psq_st f19, 376(r1), 0, qr0 /* 8023D804 0023A764 DA 41 01 60 */ stfd f18, 0x160(r1) /* 8023D808 0023A768 F2 41 01 68 */ psq_st f18, 360(r1), 0, qr0 /* 8023D80C 0023A76C DA 21 01 50 */ stfd f17, 0x150(r1) /* 8023D810 0023A770 F2 21 01 58 */ psq_st f17, 344(r1), 0, qr0 /* 8023D814 0023A774 BE 01 01 10 */ stmw r16, 0x110(r1) /* 8023D818 0023A778 FE 40 08 90 */ fmr f18, f1 /* 8023D81C 0023A77C 7C 7F 1B 78 */ mr r31, r3 /* 8023D820 0023A780 FE 60 10 90 */ fmr f19, f2 /* 8023D824 0023A784 83 A1 02 48 */ lwz r29, 0x248(r1) /* 8023D828 0023A788 FE 80 18 90 */ fmr f20, f3 /* 8023D82C 0023A78C C3 41 02 4C */ lfs f26, 0x24c(r1) /* 8023D830 0023A790 FE A0 20 90 */ fmr f21, f4 /* 8023D834 0023A794 C3 61 02 50 */ lfs f27, 0x250(r1) /* 8023D838 0023A798 FE C0 28 90 */ fmr f22, f5 /* 8023D83C 0023A79C C2 21 02 54 */ lfs f17, 0x254(r1) /* 8023D840 0023A7A0 FE E0 30 90 */ fmr f23, f6 /* 8023D844 0023A7A4 C3 81 02 58 */ lfs f28, 0x258(r1) /* 8023D848 0023A7A8 FF 00 38 90 */ fmr f24, f7 /* 8023D84C 0023A7AC C3 A1 02 5C */ lfs f29, 0x25c(r1) /* 8023D850 0023A7B0 FF 20 40 90 */ fmr f25, f8 /* 8023D854 0023A7B4 C3 C1 02 60 */ lfs f30, 0x260(r1) /* 8023D858 0023A7B8 82 E1 02 64 */ lwz r23, 0x264(r1) /* 8023D85C 0023A7BC 7C 92 23 78 */ mr r18, r4 /* 8023D860 0023A7C0 83 01 02 6C */ lwz r24, 0x26c(r1) /* 8023D864 0023A7C4 7C B3 2B 78 */ mr r19, r5 /* 8023D868 0023A7C8 83 21 02 70 */ lwz r25, 0x270(r1) /* 8023D86C 0023A7CC 7C D4 33 78 */ mr r20, r6 /* 8023D870 0023A7D0 83 41 02 74 */ lwz r26, 0x274(r1) /* 8023D874 0023A7D4 7C F5 3B 78 */ mr r21, r7 /* 8023D878 0023A7D8 83 61 02 78 */ lwz r27, 0x278(r1) /* 8023D87C 0023A7DC 7D 11 43 78 */ mr r17, r8 /* 8023D880 0023A7E0 82 01 02 7C */ lwz r16, 0x27c(r1) /* 8023D884 0023A7E4 7D 36 4B 78 */ mr r22, r9 /* 8023D888 0023A7E8 83 C1 02 80 */ lwz r30, 0x280(r1) /* 8023D88C 0023A7EC 7D 5C 53 78 */ mr r28, r10 /* 8023D890 0023A7F0 C3 E1 02 84 */ lfs f31, 0x284(r1) /* 8023D894 0023A7F4 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8023D898 0023A7F8 4B DF CF 0D */ bl CModelDataNull__10CModelDataFv /* 8023D89C 0023A7FC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 8023D8A0 0023A800 38 00 00 00 */ li r0, 0 /* 8023D8A4 0023A804 80 AD 96 74 */ lwz r5, lbl_805A8234@sda21(r13) /* 8023D8A8 0023A808 38 60 00 00 */ li r3, 0 /* 8023D8AC 0023A80C B0 81 00 10 */ sth r4, 0x10(r1) /* 8023D8B0 0023A810 38 80 00 01 */ li r4, 1 /* 8023D8B4 0023A814 90 01 00 84 */ stw r0, 0x84(r1) /* 8023D8B8 0023A818 90 01 00 80 */ stw r0, 0x80(r1) /* 8023D8BC 0023A81C 48 14 C6 39 */ bl __shl2i /* 8023D8C0 0023A820 80 01 00 80 */ lwz r0, 0x80(r1) /* 8023D8C4 0023A824 80 C1 00 84 */ lwz r6, 0x84(r1) /* 8023D8C8 0023A828 7C 00 1B 78 */ or r0, r0, r3 /* 8023D8CC 0023A82C 80 AD 96 78 */ lwz r5, lbl_805A8238@sda21(r13) /* 8023D8D0 0023A830 7C C4 23 78 */ or r4, r6, r4 /* 8023D8D4 0023A834 90 01 00 80 */ stw r0, 0x80(r1) /* 8023D8D8 0023A838 38 60 00 00 */ li r3, 0 /* 8023D8DC 0023A83C 90 81 00 84 */ stw r4, 0x84(r1) /* 8023D8E0 0023A840 38 80 00 01 */ li r4, 1 /* 8023D8E4 0023A844 48 14 C6 11 */ bl __shl2i /* 8023D8E8 0023A848 80 01 00 80 */ lwz r0, 0x80(r1) /* 8023D8EC 0023A84C 80 A1 00 84 */ lwz r5, 0x84(r1) /* 8023D8F0 0023A850 7C 03 1B 78 */ or r3, r0, r3 /* 8023D8F4 0023A854 A0 12 00 00 */ lhz r0, 0(r18) /* 8023D8F8 0023A858 7C A5 23 78 */ or r5, r5, r4 /* 8023D8FC 0023A85C 90 61 00 80 */ stw r3, 0x80(r1) /* 8023D900 0023A860 7E 24 8B 78 */ mr r4, r17 /* 8023D904 0023A864 38 61 00 88 */ addi r3, r1, 0x88 /* 8023D908 0023A868 90 A1 00 84 */ stw r5, 0x84(r1) /* 8023D90C 0023A86C B0 01 00 14 */ sth r0, 0x14(r1) /* 8023D910 0023A870 48 0D 58 31 */ bl Translate__12CTransform4fFRC9CVector3f /* 8023D914 0023A874 93 A1 00 08 */ stw r29, 8(r1) /* 8023D918 0023A878 38 01 00 10 */ addi r0, r1, 0x10 /* 8023D91C 0023A87C 7F E3 FB 78 */ mr r3, r31 /* 8023D920 0023A880 7E 65 9B 78 */ mr r5, r19 /* 8023D924 0023A884 90 01 00 0C */ stw r0, 0xc(r1) /* 8023D928 0023A888 7E 86 A3 78 */ mr r6, r20 /* 8023D92C 0023A88C 7E A7 AB 78 */ mr r7, r21 /* 8023D930 0023A890 38 81 00 14 */ addi r4, r1, 0x14 /* 8023D934 0023A894 39 01 00 88 */ addi r8, r1, 0x88 /* 8023D938 0023A898 39 21 00 B8 */ addi r9, r1, 0xb8 /* 8023D93C 0023A89C 39 41 00 80 */ addi r10, r1, 0x80 /* 8023D940 0023A8A0 4B E1 7E E1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 8023D944 0023A8A4 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8023D948 0023A8A8 38 80 FF FF */ li r4, -1 /* 8023D94C 0023A8AC 4B ED 91 01 */ bl __dt__10CModelDataFv /* 8023D950 0023A8B0 3C 60 80 3F */ lis r3, lbl_803E8578@ha /* 8023D954 0023A8B4 C0 02 B7 98 */ lfs f0, lbl_805AD4B8@sda21(r2) /* 8023D958 0023A8B8 38 03 85 78 */ addi r0, r3, lbl_803E8578@l /* 8023D95C 0023A8BC 90 1F 00 00 */ stw r0, 0(r31) /* 8023D960 0023A8C0 EC 20 04 72 */ fmuls f1, f0, f17 /* 8023D964 0023A8C4 C0 16 00 00 */ lfs f0, 0(r22) /* 8023D968 0023A8C8 D0 1F 00 E8 */ stfs f0, 0xe8(r31) /* 8023D96C 0023A8CC C0 16 00 04 */ lfs f0, 4(r22) /* 8023D970 0023A8D0 D0 1F 00 EC */ stfs f0, 0xec(r31) /* 8023D974 0023A8D4 C0 16 00 08 */ lfs f0, 8(r22) /* 8023D978 0023A8D8 D0 1F 00 F0 */ stfs f0, 0xf0(r31) /* 8023D97C 0023A8DC D2 5F 00 F4 */ stfs f18, 0xf4(r31) /* 8023D980 0023A8E0 D2 7F 00 F8 */ stfs f19, 0xf8(r31) /* 8023D984 0023A8E4 D2 9F 00 FC */ stfs f20, 0xfc(r31) /* 8023D988 0023A8E8 D2 BF 01 00 */ stfs f21, 0x100(r31) /* 8023D98C 0023A8EC D2 DF 01 04 */ stfs f22, 0x104(r31) /* 8023D990 0023A8F0 D2 FF 01 08 */ stfs f23, 0x108(r31) /* 8023D994 0023A8F4 D3 1F 01 0C */ stfs f24, 0x10c(r31) /* 8023D998 0023A8F8 D3 3F 01 10 */ stfs f25, 0x110(r31) /* 8023D99C 0023A8FC D3 5F 01 14 */ stfs f26, 0x114(r31) /* 8023D9A0 0023A900 D3 7F 01 18 */ stfs f27, 0x118(r31) /* 8023D9A4 0023A904 48 15 6A 4D */ bl cos /* 8023D9A8 0023A908 FC 00 08 18 */ frsp f0, f1 /* 8023D9AC 0023A90C 3C 80 80 5A */ lis r4, lbl_805A6754@ha /* 8023D9B0 0023A910 3C 60 80 3D */ lis r3, lbl_803D4388@ha /* 8023D9B4 0023A914 38 E0 00 00 */ li r7, 0 /* 8023D9B8 0023A918 38 63 43 88 */ addi r3, r3, lbl_803D4388@l /* 8023D9BC 0023A91C 38 C4 67 54 */ addi r6, r4, lbl_805A6754@l /* 8023D9C0 0023A920 D0 1F 01 1C */ stfs f0, 0x11c(r31) /* 8023D9C4 0023A924 38 83 00 0B */ addi r4, r3, 0xb /* 8023D9C8 0023A928 38 60 00 10 */ li r3, 0x10 /* 8023D9CC 0023A92C 38 A0 00 00 */ li r5, 0 /* 8023D9D0 0023A930 D3 9F 01 20 */ stfs f28, 0x120(r31) /* 8023D9D4 0023A934 D3 BF 01 24 */ stfs f29, 0x124(r31) /* 8023D9D8 0023A938 D3 DF 01 28 */ stfs f30, 0x128(r31) /* 8023D9DC 0023A93C 90 FF 01 2C */ stw r7, 0x12c(r31) /* 8023D9E0 0023A940 90 FF 01 34 */ stw r7, 0x134(r31) /* 8023D9E4 0023A944 90 FF 01 38 */ stw r7, 0x138(r31) /* 8023D9E8 0023A948 90 FF 01 3C */ stw r7, 0x13c(r31) /* 8023D9EC 0023A94C 88 1F 01 40 */ lbz r0, 0x140(r31) /* 8023D9F0 0023A950 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 /* 8023D9F4 0023A954 98 1F 01 40 */ stb r0, 0x140(r31) /* 8023D9F8 0023A958 88 1F 01 40 */ lbz r0, 0x140(r31) /* 8023D9FC 0023A95C 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 /* 8023DA00 0023A960 98 1F 01 40 */ stb r0, 0x140(r31) /* 8023DA04 0023A964 88 1F 01 40 */ lbz r0, 0x140(r31) /* 8023DA08 0023A968 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a /* 8023DA0C 0023A96C 98 1F 01 40 */ stb r0, 0x140(r31) /* 8023DA10 0023A970 C0 06 00 00 */ lfs f0, 0(r6) /* 8023DA14 0023A974 D0 1F 01 44 */ stfs f0, 0x144(r31) /* 8023DA18 0023A978 C0 06 00 04 */ lfs f0, 4(r6) /* 8023DA1C 0023A97C D0 1F 01 48 */ stfs f0, 0x148(r31) /* 8023DA20 0023A980 C0 06 00 08 */ lfs f0, 8(r6) /* 8023DA24 0023A984 D0 1F 01 4C */ stfs f0, 0x14c(r31) /* 8023DA28 0023A988 C0 06 00 0C */ lfs f0, 0xc(r6) /* 8023DA2C 0023A98C D0 1F 01 50 */ stfs f0, 0x150(r31) /* 8023DA30 0023A990 C0 06 00 10 */ lfs f0, 0x10(r6) /* 8023DA34 0023A994 D0 1F 01 54 */ stfs f0, 0x154(r31) /* 8023DA38 0023A998 C0 06 00 14 */ lfs f0, 0x14(r6) /* 8023DA3C 0023A99C D0 1F 01 58 */ stfs f0, 0x158(r31) /* 8023DA40 0023A9A0 80 17 00 00 */ lwz r0, 0(r23) /* 8023DA44 0023A9A4 90 1F 01 5C */ stw r0, 0x15c(r31) /* 8023DA48 0023A9A8 88 17 00 04 */ lbz r0, 4(r23) /* 8023DA4C 0023A9AC 98 1F 01 60 */ stb r0, 0x160(r31) /* 8023DA50 0023A9B0 C0 17 00 08 */ lfs f0, 8(r23) /* 8023DA54 0023A9B4 D0 1F 01 64 */ stfs f0, 0x164(r31) /* 8023DA58 0023A9B8 C0 17 00 0C */ lfs f0, 0xc(r23) /* 8023DA5C 0023A9BC D0 1F 01 68 */ stfs f0, 0x168(r31) /* 8023DA60 0023A9C0 C0 17 00 10 */ lfs f0, 0x10(r23) /* 8023DA64 0023A9C4 D0 1F 01 6C */ stfs f0, 0x16c(r31) /* 8023DA68 0023A9C8 C0 17 00 14 */ lfs f0, 0x14(r23) /* 8023DA6C 0023A9CC D0 1F 01 70 */ stfs f0, 0x170(r31) /* 8023DA70 0023A9D0 88 17 00 18 */ lbz r0, 0x18(r23) /* 8023DA74 0023A9D4 98 1F 01 74 */ stb r0, 0x174(r31) /* 8023DA78 0023A9D8 90 FF 01 78 */ stw r7, 0x178(r31) /* 8023DA7C 0023A9DC 90 FF 01 9C */ stw r7, 0x19c(r31) /* 8023DA80 0023A9E0 90 FF 01 B0 */ stw r7, 0x1b0(r31) /* 8023DA84 0023A9E4 48 0D 7D E9 */ bl __nw__FUlPCcPCc /* 8023DA88 0023A9E8 28 03 00 00 */ cmplwi r3, 0 /* 8023DA8C 0023A9EC 41 82 00 14 */ beq lbl_8023DAA0 /* 8023DA90 0023A9F0 38 00 00 00 */ li r0, 0 /* 8023DA94 0023A9F4 90 03 00 04 */ stw r0, 4(r3) /* 8023DA98 0023A9F8 90 03 00 08 */ stw r0, 8(r3) /* 8023DA9C 0023A9FC 90 03 00 0C */ stw r0, 0xc(r3) lbl_8023DAA0: /* 8023DAA0 0023AA00 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DAA4 0023AA04 90 7F 01 C8 */ stw r3, 0x1c8(r31) /* 8023DAA8 0023AA08 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DAAC 0023AA0C 38 60 00 10 */ li r3, 0x10 /* 8023DAB0 0023AA10 38 84 00 0B */ addi r4, r4, 0xb /* 8023DAB4 0023AA14 38 A0 00 00 */ li r5, 0 /* 8023DAB8 0023AA18 48 0D 7D B5 */ bl __nw__FUlPCcPCc /* 8023DABC 0023AA1C 28 03 00 00 */ cmplwi r3, 0 /* 8023DAC0 0023AA20 41 82 00 14 */ beq lbl_8023DAD4 /* 8023DAC4 0023AA24 38 00 00 00 */ li r0, 0 /* 8023DAC8 0023AA28 90 03 00 04 */ stw r0, 4(r3) /* 8023DACC 0023AA2C 90 03 00 08 */ stw r0, 8(r3) /* 8023DAD0 0023AA30 90 03 00 0C */ stw r0, 0xc(r3) lbl_8023DAD4: /* 8023DAD4 0023AA34 2C 18 FF FF */ cmpwi r24, -1 /* 8023DAD8 0023AA38 90 7F 01 CC */ stw r3, 0x1cc(r31) /* 8023DADC 0023AA3C 7F 00 C3 78 */ mr r0, r24 /* 8023DAE0 0023AA40 40 82 00 08 */ bne lbl_8023DAE8 /* 8023DAE4 0023AA44 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) lbl_8023DAE8: /* 8023DAE8 0023AA48 54 03 04 3E */ clrlwi r3, r0, 0x10 /* 8023DAEC 0023AA4C 48 0A AE C5 */ bl TranslateSFXID__11CSfxManagerFUs /* 8023DAF0 0023AA50 2C 19 FF FF */ cmpwi r25, -1 /* 8023DAF4 0023AA54 B0 7F 01 D0 */ sth r3, 0x1d0(r31) /* 8023DAF8 0023AA58 7F 20 CB 78 */ mr r0, r25 /* 8023DAFC 0023AA5C 40 82 00 08 */ bne lbl_8023DB04 /* 8023DB00 0023AA60 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) lbl_8023DB04: /* 8023DB04 0023AA64 54 03 04 3E */ clrlwi r3, r0, 0x10 /* 8023DB08 0023AA68 48 0A AE A9 */ bl TranslateSFXID__11CSfxManagerFUs /* 8023DB0C 0023AA6C 2C 1A FF FF */ cmpwi r26, -1 /* 8023DB10 0023AA70 B0 7F 01 D2 */ sth r3, 0x1d2(r31) /* 8023DB14 0023AA74 7F 40 D3 78 */ mr r0, r26 /* 8023DB18 0023AA78 40 82 00 08 */ bne lbl_8023DB20 /* 8023DB1C 0023AA7C A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) lbl_8023DB20: /* 8023DB20 0023AA80 54 03 04 3E */ clrlwi r3, r0, 0x10 /* 8023DB24 0023AA84 48 0A AE 8D */ bl TranslateSFXID__11CSfxManagerFUs /* 8023DB28 0023AA88 B0 7F 01 D4 */ sth r3, 0x1d4(r31) /* 8023DB2C 0023AA8C 38 00 00 00 */ li r0, 0 /* 8023DB30 0023AA90 C0 02 B7 68 */ lfs f0, lbl_805AD488@sda21(r2) /* 8023DB34 0023AA94 7F A4 EB 78 */ mr r4, r29 /* 8023DB38 0023AA98 90 1F 01 D8 */ stw r0, 0x1d8(r31) /* 8023DB3C 0023AA9C 38 61 00 78 */ addi r3, r1, 0x78 /* 8023DB40 0023AAA0 98 1F 01 DC */ stb r0, 0x1dc(r31) /* 8023DB44 0023AAA4 90 1F 01 E0 */ stw r0, 0x1e0(r31) /* 8023DB48 0023AAA8 98 1F 01 E4 */ stb r0, 0x1e4(r31) /* 8023DB4C 0023AAAC 90 1F 01 E8 */ stw r0, 0x1e8(r31) /* 8023DB50 0023AAB0 98 1F 01 EC */ stb r0, 0x1ec(r31) /* 8023DB54 0023AAB4 90 1F 01 F0 */ stw r0, 0x1f0(r31) /* 8023DB58 0023AAB8 98 1F 01 F4 */ stb r0, 0x1f4(r31) /* 8023DB5C 0023AABC 90 1F 01 F8 */ stw r0, 0x1f8(r31) /* 8023DB60 0023AAC0 92 1F 01 FC */ stw r16, 0x1fc(r31) /* 8023DB64 0023AAC4 D3 FF 02 00 */ stfs f31, 0x200(r31) /* 8023DB68 0023AAC8 D0 1F 02 04 */ stfs f0, 0x204(r31) /* 8023DB6C 0023AACC 4B EC 88 A5 */ bl MakeActorLights__16CLightParametersCFv /* 8023DB70 0023AAD0 7F E3 FB 78 */ mr r3, r31 /* 8023DB74 0023AAD4 38 81 00 78 */ addi r4, r1, 0x78 /* 8023DB78 0023AAD8 4B E1 5D 4D */ bl sub_800538c4 /* 8023DB7C 0023AADC 88 01 00 78 */ lbz r0, 0x78(r1) /* 8023DB80 0023AAE0 28 00 00 00 */ cmplwi r0, 0 /* 8023DB84 0023AAE4 41 82 00 10 */ beq lbl_8023DB94 /* 8023DB88 0023AAE8 80 61 00 7C */ lwz r3, 0x7c(r1) /* 8023DB8C 0023AAEC 38 80 00 01 */ li r4, 1 /* 8023DB90 0023AAF0 4B EC 75 45 */ bl __dt__12CActorLightsFv lbl_8023DB94: /* 8023DB94 0023AAF4 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DB98 0023AAF8 38 60 00 4C */ li r3, 0x4c /* 8023DB9C 0023AAFC 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DBA0 0023AB00 38 A0 00 00 */ li r5, 0 /* 8023DBA4 0023AB04 38 84 00 0B */ addi r4, r4, 0xb /* 8023DBA8 0023AB08 48 0D 7C C5 */ bl __nw__FUlPCcPCc /* 8023DBAC 0023AB0C 7C 70 1B 79 */ or. r16, r3, r3 /* 8023DBB0 0023AB10 41 82 00 10 */ beq lbl_8023DBC0 /* 8023DBB4 0023AB14 7F 84 E3 78 */ mr r4, r28 /* 8023DBB8 0023AB18 4B ED 8F 9D */ bl __ct__10CModelDataFRC8CAnimRes /* 8023DBBC 0023AB1C 7C 70 1B 78 */ mr r16, r3 lbl_8023DBC0: /* 8023DBC0 0023AB20 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DBC4 0023AB24 38 60 00 08 */ li r3, 8 /* 8023DBC8 0023AB28 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DBCC 0023AB2C 38 A0 00 00 */ li r5, 0 /* 8023DBD0 0023AB30 38 84 00 0B */ addi r4, r4, 0xb /* 8023DBD4 0023AB34 48 0D 7C 99 */ bl __nw__FUlPCcPCc /* 8023DBD8 0023AB38 28 03 00 00 */ cmplwi r3, 0 /* 8023DBDC 0023AB3C 41 82 00 10 */ beq lbl_8023DBEC /* 8023DBE0 0023AB40 92 03 00 00 */ stw r16, 0(r3) /* 8023DBE4 0023AB44 38 00 00 01 */ li r0, 1 /* 8023DBE8 0023AB48 90 03 00 04 */ stw r0, 4(r3) lbl_8023DBEC: /* 8023DBEC 0023AB4C 90 61 00 24 */ stw r3, 0x24(r1) /* 8023DBF0 0023AB50 38 9F 01 B0 */ addi r4, r31, 0x1b0 /* 8023DBF4 0023AB54 80 1F 01 B0 */ lwz r0, 0x1b0(r31) /* 8023DBF8 0023AB58 54 00 10 3A */ slwi r0, r0, 2 /* 8023DBFC 0023AB5C 7C 84 02 14 */ add r4, r4, r0 /* 8023DC00 0023AB60 34 84 00 04 */ addic. r4, r4, 4 /* 8023DC04 0023AB64 41 82 00 18 */ beq lbl_8023DC1C /* 8023DC08 0023AB68 90 64 00 00 */ stw r3, 0(r4) /* 8023DC0C 0023AB6C 80 84 00 00 */ lwz r4, 0(r4) /* 8023DC10 0023AB70 80 64 00 04 */ lwz r3, 4(r4) /* 8023DC14 0023AB74 38 03 00 01 */ addi r0, r3, 1 /* 8023DC18 0023AB78 90 04 00 04 */ stw r0, 4(r4) lbl_8023DC1C: /* 8023DC1C 0023AB7C 80 9F 01 B0 */ lwz r4, 0x1b0(r31) /* 8023DC20 0023AB80 38 61 00 24 */ addi r3, r1, 0x24 /* 8023DC24 0023AB84 38 04 00 01 */ addi r0, r4, 1 /* 8023DC28 0023AB88 90 1F 01 B0 */ stw r0, 0x1b0(r31) /* 8023DC2C 0023AB8C 4B F9 57 35 */ bl sub_801d3360 /* 8023DC30 0023AB90 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DC34 0023AB94 38 60 00 4C */ li r3, 0x4c /* 8023DC38 0023AB98 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DC3C 0023AB9C 38 A0 00 00 */ li r5, 0 /* 8023DC40 0023ABA0 38 84 00 0B */ addi r4, r4, 0xb /* 8023DC44 0023ABA4 48 0D 7C 29 */ bl __nw__FUlPCcPCc /* 8023DC48 0023ABA8 7C 70 1B 79 */ or. r16, r3, r3 /* 8023DC4C 0023ABAC 41 82 00 10 */ beq lbl_8023DC5C /* 8023DC50 0023ABB0 7F 84 E3 78 */ mr r4, r28 /* 8023DC54 0023ABB4 4B ED 8F 01 */ bl __ct__10CModelDataFRC8CAnimRes /* 8023DC58 0023ABB8 7C 70 1B 78 */ mr r16, r3 lbl_8023DC5C: /* 8023DC5C 0023ABBC 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DC60 0023ABC0 38 60 00 08 */ li r3, 8 /* 8023DC64 0023ABC4 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DC68 0023ABC8 38 A0 00 00 */ li r5, 0 /* 8023DC6C 0023ABCC 38 84 00 0B */ addi r4, r4, 0xb /* 8023DC70 0023ABD0 48 0D 7B FD */ bl __nw__FUlPCcPCc /* 8023DC74 0023ABD4 28 03 00 00 */ cmplwi r3, 0 /* 8023DC78 0023ABD8 41 82 00 10 */ beq lbl_8023DC88 /* 8023DC7C 0023ABDC 92 03 00 00 */ stw r16, 0(r3) /* 8023DC80 0023ABE0 38 00 00 01 */ li r0, 1 /* 8023DC84 0023ABE4 90 03 00 04 */ stw r0, 4(r3) lbl_8023DC88: /* 8023DC88 0023ABE8 90 61 00 20 */ stw r3, 0x20(r1) /* 8023DC8C 0023ABEC 38 9F 01 B0 */ addi r4, r31, 0x1b0 /* 8023DC90 0023ABF0 80 1F 01 B0 */ lwz r0, 0x1b0(r31) /* 8023DC94 0023ABF4 54 00 10 3A */ slwi r0, r0, 2 /* 8023DC98 0023ABF8 7C 84 02 14 */ add r4, r4, r0 /* 8023DC9C 0023ABFC 34 84 00 04 */ addic. r4, r4, 4 /* 8023DCA0 0023AC00 41 82 00 18 */ beq lbl_8023DCB8 /* 8023DCA4 0023AC04 90 64 00 00 */ stw r3, 0(r4) /* 8023DCA8 0023AC08 80 84 00 00 */ lwz r4, 0(r4) /* 8023DCAC 0023AC0C 80 64 00 04 */ lwz r3, 4(r4) /* 8023DCB0 0023AC10 38 03 00 01 */ addi r0, r3, 1 /* 8023DCB4 0023AC14 90 04 00 04 */ stw r0, 4(r4) lbl_8023DCB8: /* 8023DCB8 0023AC18 80 9F 01 B0 */ lwz r4, 0x1b0(r31) /* 8023DCBC 0023AC1C 38 61 00 20 */ addi r3, r1, 0x20 /* 8023DCC0 0023AC20 38 04 00 01 */ addi r0, r4, 1 /* 8023DCC4 0023AC24 90 1F 01 B0 */ stw r0, 0x1b0(r31) /* 8023DCC8 0023AC28 4B F9 56 99 */ bl sub_801d3360 /* 8023DCCC 0023AC2C 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DCD0 0023AC30 38 60 00 4C */ li r3, 0x4c /* 8023DCD4 0023AC34 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DCD8 0023AC38 38 A0 00 00 */ li r5, 0 /* 8023DCDC 0023AC3C 38 84 00 0B */ addi r4, r4, 0xb /* 8023DCE0 0023AC40 48 0D 7B 8D */ bl __nw__FUlPCcPCc /* 8023DCE4 0023AC44 7C 70 1B 79 */ or. r16, r3, r3 /* 8023DCE8 0023AC48 41 82 00 10 */ beq lbl_8023DCF8 /* 8023DCEC 0023AC4C 7F 84 E3 78 */ mr r4, r28 /* 8023DCF0 0023AC50 4B ED 8E 65 */ bl __ct__10CModelDataFRC8CAnimRes /* 8023DCF4 0023AC54 7C 70 1B 78 */ mr r16, r3 lbl_8023DCF8: /* 8023DCF8 0023AC58 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DCFC 0023AC5C 38 60 00 08 */ li r3, 8 /* 8023DD00 0023AC60 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DD04 0023AC64 38 A0 00 00 */ li r5, 0 /* 8023DD08 0023AC68 38 84 00 0B */ addi r4, r4, 0xb /* 8023DD0C 0023AC6C 48 0D 7B 61 */ bl __nw__FUlPCcPCc /* 8023DD10 0023AC70 28 03 00 00 */ cmplwi r3, 0 /* 8023DD14 0023AC74 41 82 00 10 */ beq lbl_8023DD24 /* 8023DD18 0023AC78 92 03 00 00 */ stw r16, 0(r3) /* 8023DD1C 0023AC7C 38 00 00 01 */ li r0, 1 /* 8023DD20 0023AC80 90 03 00 04 */ stw r0, 4(r3) lbl_8023DD24: /* 8023DD24 0023AC84 90 61 00 1C */ stw r3, 0x1c(r1) /* 8023DD28 0023AC88 38 9F 01 B0 */ addi r4, r31, 0x1b0 /* 8023DD2C 0023AC8C 80 1F 01 B0 */ lwz r0, 0x1b0(r31) /* 8023DD30 0023AC90 54 00 10 3A */ slwi r0, r0, 2 /* 8023DD34 0023AC94 7C 84 02 14 */ add r4, r4, r0 /* 8023DD38 0023AC98 34 84 00 04 */ addic. r4, r4, 4 /* 8023DD3C 0023AC9C 41 82 00 18 */ beq lbl_8023DD54 /* 8023DD40 0023ACA0 90 64 00 00 */ stw r3, 0(r4) /* 8023DD44 0023ACA4 80 84 00 00 */ lwz r4, 0(r4) /* 8023DD48 0023ACA8 80 64 00 04 */ lwz r3, 4(r4) /* 8023DD4C 0023ACAC 38 03 00 01 */ addi r0, r3, 1 /* 8023DD50 0023ACB0 90 04 00 04 */ stw r0, 4(r4) lbl_8023DD54: /* 8023DD54 0023ACB4 80 9F 01 B0 */ lwz r4, 0x1b0(r31) /* 8023DD58 0023ACB8 38 61 00 1C */ addi r3, r1, 0x1c /* 8023DD5C 0023ACBC 38 04 00 01 */ addi r0, r4, 1 /* 8023DD60 0023ACC0 90 1F 01 B0 */ stw r0, 0x1b0(r31) /* 8023DD64 0023ACC4 4B F9 55 FD */ bl sub_801d3360 /* 8023DD68 0023ACC8 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DD6C 0023ACCC 38 60 00 4C */ li r3, 0x4c /* 8023DD70 0023ACD0 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DD74 0023ACD4 38 A0 00 00 */ li r5, 0 /* 8023DD78 0023ACD8 38 84 00 0B */ addi r4, r4, 0xb /* 8023DD7C 0023ACDC 48 0D 7A F1 */ bl __nw__FUlPCcPCc /* 8023DD80 0023ACE0 7C 70 1B 79 */ or. r16, r3, r3 /* 8023DD84 0023ACE4 41 82 00 10 */ beq lbl_8023DD94 /* 8023DD88 0023ACE8 7F 84 E3 78 */ mr r4, r28 /* 8023DD8C 0023ACEC 4B ED 8D C9 */ bl __ct__10CModelDataFRC8CAnimRes /* 8023DD90 0023ACF0 7C 70 1B 78 */ mr r16, r3 lbl_8023DD94: /* 8023DD94 0023ACF4 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023DD98 0023ACF8 38 60 00 08 */ li r3, 8 /* 8023DD9C 0023ACFC 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023DDA0 0023AD00 38 A0 00 00 */ li r5, 0 /* 8023DDA4 0023AD04 38 84 00 0B */ addi r4, r4, 0xb /* 8023DDA8 0023AD08 48 0D 7A C5 */ bl __nw__FUlPCcPCc /* 8023DDAC 0023AD0C 28 03 00 00 */ cmplwi r3, 0 /* 8023DDB0 0023AD10 41 82 00 10 */ beq lbl_8023DDC0 /* 8023DDB4 0023AD14 92 03 00 00 */ stw r16, 0(r3) /* 8023DDB8 0023AD18 38 00 00 01 */ li r0, 1 /* 8023DDBC 0023AD1C 90 03 00 04 */ stw r0, 4(r3) lbl_8023DDC0: /* 8023DDC0 0023AD20 90 61 00 18 */ stw r3, 0x18(r1) /* 8023DDC4 0023AD24 38 9F 01 B0 */ addi r4, r31, 0x1b0 /* 8023DDC8 0023AD28 80 1F 01 B0 */ lwz r0, 0x1b0(r31) /* 8023DDCC 0023AD2C 54 00 10 3A */ slwi r0, r0, 2 /* 8023DDD0 0023AD30 7C 84 02 14 */ add r4, r4, r0 /* 8023DDD4 0023AD34 34 84 00 04 */ addic. r4, r4, 4 /* 8023DDD8 0023AD38 41 82 00 18 */ beq lbl_8023DDF0 /* 8023DDDC 0023AD3C 90 64 00 00 */ stw r3, 0(r4) /* 8023DDE0 0023AD40 80 84 00 00 */ lwz r4, 0(r4) /* 8023DDE4 0023AD44 80 64 00 04 */ lwz r3, 4(r4) /* 8023DDE8 0023AD48 38 03 00 01 */ addi r0, r3, 1 /* 8023DDEC 0023AD4C 90 04 00 04 */ stw r0, 4(r4) lbl_8023DDF0: /* 8023DDF0 0023AD50 80 9F 01 B0 */ lwz r4, 0x1b0(r31) /* 8023DDF4 0023AD54 38 61 00 18 */ addi r3, r1, 0x18 /* 8023DDF8 0023AD58 38 04 00 01 */ addi r0, r4, 1 /* 8023DDFC 0023AD5C 90 1F 01 B0 */ stw r0, 0x1b0(r31) /* 8023DE00 0023AD60 4B F9 55 61 */ bl sub_801d3360 /* 8023DE04 0023AD64 80 1D 00 44 */ lwz r0, 0x44(r29) /* 8023DE08 0023AD68 28 00 00 00 */ cmplwi r0, 0 /* 8023DE0C 0023AD6C 41 82 00 40 */ beq lbl_8023DE4C /* 8023DE10 0023AD70 3A 20 00 00 */ li r17, 0 /* 8023DE14 0023AD74 3A 00 00 00 */ li r16, 0 lbl_8023DE18: /* 8023DE18 0023AD78 7C 7F 82 14 */ add r3, r31, r16 /* 8023DE1C 0023AD7C 38 9D 00 44 */ addi r4, r29, 0x44 /* 8023DE20 0023AD80 80 63 01 B4 */ lwz r3, 0x1b4(r3) /* 8023DE24 0023AD84 80 63 00 00 */ lwz r3, 0(r3) /* 8023DE28 0023AD88 4B ED 71 C9 */ bl "SetXRayModel__10CModelDataFRCQ24rstl11pair" /* 8023DE2C 0023AD8C 3A 31 00 01 */ addi r17, r17, 1 /* 8023DE30 0023AD90 3A 10 00 04 */ addi r16, r16, 4 /* 8023DE34 0023AD94 2C 11 00 04 */ cmpwi r17, 4 /* 8023DE38 0023AD98 41 80 FF E0 */ blt lbl_8023DE18 /* 8023DE3C 0023AD9C 88 1F 01 40 */ lbz r0, 0x140(r31) /* 8023DE40 0023ADA0 38 60 00 01 */ li r3, 1 /* 8023DE44 0023ADA4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8023DE48 0023ADA8 98 1F 01 40 */ stb r0, 0x140(r31) lbl_8023DE4C: /* 8023DE4C 0023ADAC 80 1D 00 4C */ lwz r0, 0x4c(r29) /* 8023DE50 0023ADB0 28 00 00 00 */ cmplwi r0, 0 /* 8023DE54 0023ADB4 41 82 00 40 */ beq lbl_8023DE94 /* 8023DE58 0023ADB8 3A 20 00 00 */ li r17, 0 /* 8023DE5C 0023ADBC 3A 00 00 00 */ li r16, 0 lbl_8023DE60: /* 8023DE60 0023ADC0 7C 7F 82 14 */ add r3, r31, r16 /* 8023DE64 0023ADC4 38 9D 00 4C */ addi r4, r29, 0x4c /* 8023DE68 0023ADC8 80 63 01 B4 */ lwz r3, 0x1b4(r3) /* 8023DE6C 0023ADCC 80 63 00 00 */ lwz r3, 0(r3) /* 8023DE70 0023ADD0 4B ED 73 E5 */ bl "SetInfraModel__10CModelDataFRCQ24rstl11pair" /* 8023DE74 0023ADD4 3A 31 00 01 */ addi r17, r17, 1 /* 8023DE78 0023ADD8 3A 10 00 04 */ addi r16, r16, 4 /* 8023DE7C 0023ADDC 2C 11 00 04 */ cmpwi r17, 4 /* 8023DE80 0023ADE0 41 80 FF E0 */ blt lbl_8023DE60 /* 8023DE84 0023ADE4 88 1F 01 40 */ lbz r0, 0x140(r31) /* 8023DE88 0023ADE8 38 60 00 01 */ li r3, 1 /* 8023DE8C 0023ADEC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8023DE90 0023ADF0 98 1F 01 40 */ stb r0, 0x140(r31) lbl_8023DE94: /* 8023DE94 0023ADF4 3C 1B 00 01 */ addis r0, r27, 1 /* 8023DE98 0023ADF8 28 00 FF FF */ cmplwi r0, 0xffff /* 8023DE9C 0023ADFC 41 82 02 18 */ beq lbl_8023E0B4 /* 8023DEA0 0023AE00 3C 60 80 3D */ lis r3, lbl_803D4388@ha /* 8023DEA4 0023AE04 3A 00 00 00 */ li r16, 0 /* 8023DEA8 0023AE08 38 83 43 88 */ addi r4, r3, lbl_803D4388@l /* 8023DEAC 0023AE0C 38 60 00 0C */ li r3, 0xc /* 8023DEB0 0023AE10 38 84 00 0B */ addi r4, r4, 0xb /* 8023DEB4 0023AE14 38 A0 00 00 */ li r5, 0 /* 8023DEB8 0023AE18 48 0D 79 B5 */ bl __nw__FUlPCcPCc /* 8023DEBC 0023AE1C 7C 71 1B 79 */ or. r17, r3, r3 /* 8023DEC0 0023AE20 41 82 00 50 */ beq lbl_8023DF10 /* 8023DEC4 0023AE24 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8023DEC8 0023AE28 93 61 00 74 */ stw r27, 0x74(r1) /* 8023DECC 0023AE2C 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8023DED0 0023AE30 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8023DED4 0023AE34 90 01 00 70 */ stw r0, 0x70(r1) /* 8023DED8 0023AE38 38 61 00 68 */ addi r3, r1, 0x68 /* 8023DEDC 0023AE3C 38 A1 00 70 */ addi r5, r1, 0x70 /* 8023DEE0 0023AE40 81 84 00 00 */ lwz r12, 0(r4) /* 8023DEE4 0023AE44 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8023DEE8 0023AE48 7D 89 03 A6 */ mtctr r12 /* 8023DEEC 0023AE4C 4E 80 04 21 */ bctrl /* 8023DEF0 0023AE50 7E 23 8B 78 */ mr r3, r17 /* 8023DEF4 0023AE54 38 81 00 68 */ addi r4, r1, 0x68 /* 8023DEF8 0023AE58 3A 00 00 01 */ li r16, 1 /* 8023DEFC 0023AE5C 48 10 2F AD */ bl __ct__6CTokenFRC6CToken /* 8023DF00 0023AE60 7E 23 8B 78 */ mr r3, r17 /* 8023DF04 0023AE64 48 10 2F 09 */ bl GetObj__6CTokenFv /* 8023DF08 0023AE68 80 03 00 04 */ lwz r0, 4(r3) /* 8023DF0C 0023AE6C 90 11 00 08 */ stw r0, 8(r17) lbl_8023DF10: /* 8023DF10 0023AE70 7C 71 00 D0 */ neg r3, r17 /* 8023DF14 0023AE74 38 01 00 60 */ addi r0, r1, 0x60 /* 8023DF18 0023AE78 7C 63 8B 78 */ or r3, r3, r17 /* 8023DF1C 0023AE7C 38 9F 01 DC */ addi r4, r31, 0x1dc /* 8023DF20 0023AE80 54 63 0F FE */ srwi r3, r3, 0x1f /* 8023DF24 0023AE84 92 21 00 64 */ stw r17, 0x64(r1) /* 8023DF28 0023AE88 7C 00 20 40 */ cmplw r0, r4 /* 8023DF2C 0023AE8C 98 61 00 60 */ stb r3, 0x60(r1) /* 8023DF30 0023AE90 41 82 00 4C */ beq lbl_8023DF7C /* 8023DF34 0023AE94 88 04 00 00 */ lbz r0, 0(r4) /* 8023DF38 0023AE98 28 00 00 00 */ cmplwi r0, 0 /* 8023DF3C 0023AE9C 41 82 00 28 */ beq lbl_8023DF64 /* 8023DF40 0023AEA0 82 3F 01 E0 */ lwz r17, 0x1e0(r31) /* 8023DF44 0023AEA4 28 11 00 00 */ cmplwi r17, 0 /* 8023DF48 0023AEA8 41 82 00 1C */ beq lbl_8023DF64 /* 8023DF4C 0023AEAC 41 82 00 10 */ beq lbl_8023DF5C /* 8023DF50 0023AEB0 7E 23 8B 78 */ mr r3, r17 /* 8023DF54 0023AEB4 38 80 00 00 */ li r4, 0 /* 8023DF58 0023AEB8 48 10 2E E9 */ bl __dt__6CTokenFv lbl_8023DF5C: /* 8023DF5C 0023AEBC 7E 23 8B 78 */ mr r3, r17 /* 8023DF60 0023AEC0 48 0D 79 D1 */ bl Free__7CMemoryFPCv lbl_8023DF64: /* 8023DF64 0023AEC4 88 61 00 60 */ lbz r3, 0x60(r1) /* 8023DF68 0023AEC8 38 00 00 00 */ li r0, 0 /* 8023DF6C 0023AECC 98 7F 01 DC */ stb r3, 0x1dc(r31) /* 8023DF70 0023AED0 80 61 00 64 */ lwz r3, 0x64(r1) /* 8023DF74 0023AED4 90 7F 01 E0 */ stw r3, 0x1e0(r31) /* 8023DF78 0023AED8 98 01 00 60 */ stb r0, 0x60(r1) lbl_8023DF7C: /* 8023DF7C 0023AEDC 88 01 00 60 */ lbz r0, 0x60(r1) /* 8023DF80 0023AEE0 28 00 00 00 */ cmplwi r0, 0 /* 8023DF84 0023AEE4 41 82 00 28 */ beq lbl_8023DFAC /* 8023DF88 0023AEE8 82 21 00 64 */ lwz r17, 0x64(r1) /* 8023DF8C 0023AEEC 28 11 00 00 */ cmplwi r17, 0 /* 8023DF90 0023AEF0 41 82 00 1C */ beq lbl_8023DFAC /* 8023DF94 0023AEF4 41 82 00 10 */ beq lbl_8023DFA4 /* 8023DF98 0023AEF8 7E 23 8B 78 */ mr r3, r17 /* 8023DF9C 0023AEFC 38 80 00 00 */ li r4, 0 /* 8023DFA0 0023AF00 48 10 2E A1 */ bl __dt__6CTokenFv lbl_8023DFA4: /* 8023DFA4 0023AF04 7E 23 8B 78 */ mr r3, r17 /* 8023DFA8 0023AF08 48 0D 79 89 */ bl Free__7CMemoryFPCv lbl_8023DFAC: /* 8023DFAC 0023AF0C 7E 00 07 75 */ extsb. r0, r16 /* 8023DFB0 0023AF10 41 82 00 10 */ beq lbl_8023DFC0 /* 8023DFB4 0023AF14 38 61 00 68 */ addi r3, r1, 0x68 /* 8023DFB8 0023AF18 38 80 FF FF */ li r4, -1 /* 8023DFBC 0023AF1C 48 10 2E 85 */ bl __dt__6CTokenFv lbl_8023DFC0: /* 8023DFC0 0023AF20 3C 60 80 3D */ lis r3, lbl_803D4388@ha /* 8023DFC4 0023AF24 3A 00 00 00 */ li r16, 0 /* 8023DFC8 0023AF28 38 83 43 88 */ addi r4, r3, lbl_803D4388@l /* 8023DFCC 0023AF2C 38 60 03 40 */ li r3, 0x340 /* 8023DFD0 0023AF30 38 84 00 0B */ addi r4, r4, 0xb /* 8023DFD4 0023AF34 38 A0 00 00 */ li r5, 0 /* 8023DFD8 0023AF38 48 0D 78 95 */ bl __nw__FUlPCcPCc /* 8023DFDC 0023AF3C 7C 71 1B 79 */ or. r17, r3, r3 /* 8023DFE0 0023AF40 41 82 00 2C */ beq lbl_8023E00C /* 8023DFE4 0023AF44 80 9F 01 E0 */ lwz r4, 0x1e0(r31) /* 8023DFE8 0023AF48 38 61 00 58 */ addi r3, r1, 0x58 /* 8023DFEC 0023AF4C 48 10 2E BD */ bl __ct__6CTokenFRC6CToken /* 8023DFF0 0023AF50 7E 23 8B 78 */ mr r3, r17 /* 8023DFF4 0023AF54 38 81 00 58 */ addi r4, r1, 0x58 /* 8023DFF8 0023AF58 3A 00 00 01 */ li r16, 1 /* 8023DFFC 0023AF5C 38 A0 00 00 */ li r5, 0 /* 8023E000 0023AF60 38 C0 00 01 */ li r6, 1 /* 8023E004 0023AF64 48 0E 13 DD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8023E008 0023AF68 7C 71 1B 78 */ mr r17, r3 lbl_8023E00C: /* 8023E00C 0023AF6C 7C 71 00 D0 */ neg r3, r17 /* 8023E010 0023AF70 38 01 00 50 */ addi r0, r1, 0x50 /* 8023E014 0023AF74 7C 63 8B 78 */ or r3, r3, r17 /* 8023E018 0023AF78 38 9F 01 EC */ addi r4, r31, 0x1ec /* 8023E01C 0023AF7C 54 63 0F FE */ srwi r3, r3, 0x1f /* 8023E020 0023AF80 92 21 00 54 */ stw r17, 0x54(r1) /* 8023E024 0023AF84 7C 00 20 40 */ cmplw r0, r4 /* 8023E028 0023AF88 98 61 00 50 */ stb r3, 0x50(r1) /* 8023E02C 0023AF8C 41 82 00 48 */ beq lbl_8023E074 /* 8023E030 0023AF90 88 04 00 00 */ lbz r0, 0(r4) /* 8023E034 0023AF94 28 00 00 00 */ cmplwi r0, 0 /* 8023E038 0023AF98 41 82 00 24 */ beq lbl_8023E05C /* 8023E03C 0023AF9C 80 7F 01 F0 */ lwz r3, 0x1f0(r31) /* 8023E040 0023AFA0 28 03 00 00 */ cmplwi r3, 0 /* 8023E044 0023AFA4 41 82 00 18 */ beq lbl_8023E05C /* 8023E048 0023AFA8 81 83 00 00 */ lwz r12, 0(r3) /* 8023E04C 0023AFAC 38 80 00 01 */ li r4, 1 /* 8023E050 0023AFB0 81 8C 00 08 */ lwz r12, 8(r12) /* 8023E054 0023AFB4 7D 89 03 A6 */ mtctr r12 /* 8023E058 0023AFB8 4E 80 04 21 */ bctrl lbl_8023E05C: /* 8023E05C 0023AFBC 88 61 00 50 */ lbz r3, 0x50(r1) /* 8023E060 0023AFC0 38 00 00 00 */ li r0, 0 /* 8023E064 0023AFC4 98 7F 01 EC */ stb r3, 0x1ec(r31) /* 8023E068 0023AFC8 80 61 00 54 */ lwz r3, 0x54(r1) /* 8023E06C 0023AFCC 90 7F 01 F0 */ stw r3, 0x1f0(r31) /* 8023E070 0023AFD0 98 01 00 50 */ stb r0, 0x50(r1) lbl_8023E074: /* 8023E074 0023AFD4 88 01 00 50 */ lbz r0, 0x50(r1) /* 8023E078 0023AFD8 28 00 00 00 */ cmplwi r0, 0 /* 8023E07C 0023AFDC 41 82 00 24 */ beq lbl_8023E0A0 /* 8023E080 0023AFE0 80 61 00 54 */ lwz r3, 0x54(r1) /* 8023E084 0023AFE4 28 03 00 00 */ cmplwi r3, 0 /* 8023E088 0023AFE8 41 82 00 18 */ beq lbl_8023E0A0 /* 8023E08C 0023AFEC 81 83 00 00 */ lwz r12, 0(r3) /* 8023E090 0023AFF0 38 80 00 01 */ li r4, 1 /* 8023E094 0023AFF4 81 8C 00 08 */ lwz r12, 8(r12) /* 8023E098 0023AFF8 7D 89 03 A6 */ mtctr r12 /* 8023E09C 0023AFFC 4E 80 04 21 */ bctrl lbl_8023E0A0: /* 8023E0A0 0023B000 7E 00 07 75 */ extsb. r0, r16 /* 8023E0A4 0023B004 41 82 00 10 */ beq lbl_8023E0B4 /* 8023E0A8 0023B008 38 61 00 58 */ addi r3, r1, 0x58 /* 8023E0AC 0023B00C 38 80 00 00 */ li r4, 0 /* 8023E0B0 0023B010 48 10 2D 91 */ bl __dt__6CTokenFv lbl_8023E0B4: /* 8023E0B4 0023B014 3C 1E 00 01 */ addis r0, r30, 1 /* 8023E0B8 0023B018 28 00 FF FF */ cmplwi r0, 0xffff /* 8023E0BC 0023B01C 41 82 02 18 */ beq lbl_8023E2D4 /* 8023E0C0 0023B020 3C 60 80 3D */ lis r3, lbl_803D4388@ha /* 8023E0C4 0023B024 3A 00 00 00 */ li r16, 0 /* 8023E0C8 0023B028 38 83 43 88 */ addi r4, r3, lbl_803D4388@l /* 8023E0CC 0023B02C 38 60 00 0C */ li r3, 0xc /* 8023E0D0 0023B030 38 84 00 0B */ addi r4, r4, 0xb /* 8023E0D4 0023B034 38 A0 00 00 */ li r5, 0 /* 8023E0D8 0023B038 48 0D 77 95 */ bl __nw__FUlPCcPCc /* 8023E0DC 0023B03C 7C 71 1B 79 */ or. r17, r3, r3 /* 8023E0E0 0023B040 41 82 00 50 */ beq lbl_8023E130 /* 8023E0E4 0023B044 3C 60 50 41 */ lis r3, 0x50415254@ha /* 8023E0E8 0023B048 93 C1 00 4C */ stw r30, 0x4c(r1) /* 8023E0EC 0023B04C 38 03 52 54 */ addi r0, r3, 0x50415254@l /* 8023E0F0 0023B050 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8023E0F4 0023B054 90 01 00 48 */ stw r0, 0x48(r1) /* 8023E0F8 0023B058 38 61 00 40 */ addi r3, r1, 0x40 /* 8023E0FC 0023B05C 38 A1 00 48 */ addi r5, r1, 0x48 /* 8023E100 0023B060 81 84 00 00 */ lwz r12, 0(r4) /* 8023E104 0023B064 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8023E108 0023B068 7D 89 03 A6 */ mtctr r12 /* 8023E10C 0023B06C 4E 80 04 21 */ bctrl /* 8023E110 0023B070 7E 23 8B 78 */ mr r3, r17 /* 8023E114 0023B074 38 81 00 40 */ addi r4, r1, 0x40 /* 8023E118 0023B078 3A 00 00 01 */ li r16, 1 /* 8023E11C 0023B07C 48 10 2D 8D */ bl __ct__6CTokenFRC6CToken /* 8023E120 0023B080 7E 23 8B 78 */ mr r3, r17 /* 8023E124 0023B084 48 10 2C E9 */ bl GetObj__6CTokenFv /* 8023E128 0023B088 80 03 00 04 */ lwz r0, 4(r3) /* 8023E12C 0023B08C 90 11 00 08 */ stw r0, 8(r17) lbl_8023E130: /* 8023E130 0023B090 7C 71 00 D0 */ neg r3, r17 /* 8023E134 0023B094 38 01 00 38 */ addi r0, r1, 0x38 /* 8023E138 0023B098 7C 63 8B 78 */ or r3, r3, r17 /* 8023E13C 0023B09C 38 9F 01 DC */ addi r4, r31, 0x1dc /* 8023E140 0023B0A0 54 63 0F FE */ srwi r3, r3, 0x1f /* 8023E144 0023B0A4 92 21 00 3C */ stw r17, 0x3c(r1) /* 8023E148 0023B0A8 7C 00 20 40 */ cmplw r0, r4 /* 8023E14C 0023B0AC 98 61 00 38 */ stb r3, 0x38(r1) /* 8023E150 0023B0B0 41 82 00 4C */ beq lbl_8023E19C /* 8023E154 0023B0B4 88 04 00 00 */ lbz r0, 0(r4) /* 8023E158 0023B0B8 28 00 00 00 */ cmplwi r0, 0 /* 8023E15C 0023B0BC 41 82 00 28 */ beq lbl_8023E184 /* 8023E160 0023B0C0 82 3F 01 E0 */ lwz r17, 0x1e0(r31) /* 8023E164 0023B0C4 28 11 00 00 */ cmplwi r17, 0 /* 8023E168 0023B0C8 41 82 00 1C */ beq lbl_8023E184 /* 8023E16C 0023B0CC 41 82 00 10 */ beq lbl_8023E17C /* 8023E170 0023B0D0 7E 23 8B 78 */ mr r3, r17 /* 8023E174 0023B0D4 38 80 00 00 */ li r4, 0 /* 8023E178 0023B0D8 48 10 2C C9 */ bl __dt__6CTokenFv lbl_8023E17C: /* 8023E17C 0023B0DC 7E 23 8B 78 */ mr r3, r17 /* 8023E180 0023B0E0 48 0D 77 B1 */ bl Free__7CMemoryFPCv lbl_8023E184: /* 8023E184 0023B0E4 88 61 00 38 */ lbz r3, 0x38(r1) /* 8023E188 0023B0E8 38 00 00 00 */ li r0, 0 /* 8023E18C 0023B0EC 98 7F 01 DC */ stb r3, 0x1dc(r31) /* 8023E190 0023B0F0 80 61 00 3C */ lwz r3, 0x3c(r1) /* 8023E194 0023B0F4 90 7F 01 E0 */ stw r3, 0x1e0(r31) /* 8023E198 0023B0F8 98 01 00 38 */ stb r0, 0x38(r1) lbl_8023E19C: /* 8023E19C 0023B0FC 88 01 00 38 */ lbz r0, 0x38(r1) /* 8023E1A0 0023B100 28 00 00 00 */ cmplwi r0, 0 /* 8023E1A4 0023B104 41 82 00 28 */ beq lbl_8023E1CC /* 8023E1A8 0023B108 82 21 00 3C */ lwz r17, 0x3c(r1) /* 8023E1AC 0023B10C 28 11 00 00 */ cmplwi r17, 0 /* 8023E1B0 0023B110 41 82 00 1C */ beq lbl_8023E1CC /* 8023E1B4 0023B114 41 82 00 10 */ beq lbl_8023E1C4 /* 8023E1B8 0023B118 7E 23 8B 78 */ mr r3, r17 /* 8023E1BC 0023B11C 38 80 00 00 */ li r4, 0 /* 8023E1C0 0023B120 48 10 2C 81 */ bl __dt__6CTokenFv lbl_8023E1C4: /* 8023E1C4 0023B124 7E 23 8B 78 */ mr r3, r17 /* 8023E1C8 0023B128 48 0D 77 69 */ bl Free__7CMemoryFPCv lbl_8023E1CC: /* 8023E1CC 0023B12C 7E 00 07 75 */ extsb. r0, r16 /* 8023E1D0 0023B130 41 82 00 10 */ beq lbl_8023E1E0 /* 8023E1D4 0023B134 38 61 00 40 */ addi r3, r1, 0x40 /* 8023E1D8 0023B138 38 80 FF FF */ li r4, -1 /* 8023E1DC 0023B13C 48 10 2C 65 */ bl __dt__6CTokenFv lbl_8023E1E0: /* 8023E1E0 0023B140 3C 60 80 3D */ lis r3, lbl_803D4388@ha /* 8023E1E4 0023B144 3A 00 00 00 */ li r16, 0 /* 8023E1E8 0023B148 38 83 43 88 */ addi r4, r3, lbl_803D4388@l /* 8023E1EC 0023B14C 38 60 03 40 */ li r3, 0x340 /* 8023E1F0 0023B150 38 84 00 0B */ addi r4, r4, 0xb /* 8023E1F4 0023B154 38 A0 00 00 */ li r5, 0 /* 8023E1F8 0023B158 48 0D 76 75 */ bl __nw__FUlPCcPCc /* 8023E1FC 0023B15C 7C 71 1B 79 */ or. r17, r3, r3 /* 8023E200 0023B160 41 82 00 2C */ beq lbl_8023E22C /* 8023E204 0023B164 80 9F 01 E0 */ lwz r4, 0x1e0(r31) /* 8023E208 0023B168 38 61 00 30 */ addi r3, r1, 0x30 /* 8023E20C 0023B16C 48 10 2C 9D */ bl __ct__6CTokenFRC6CToken /* 8023E210 0023B170 7E 23 8B 78 */ mr r3, r17 /* 8023E214 0023B174 38 81 00 30 */ addi r4, r1, 0x30 /* 8023E218 0023B178 3A 00 00 01 */ li r16, 1 /* 8023E21C 0023B17C 38 A0 00 00 */ li r5, 0 /* 8023E220 0023B180 38 C0 00 01 */ li r6, 1 /* 8023E224 0023B184 48 0E 11 BD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" /* 8023E228 0023B188 7C 71 1B 78 */ mr r17, r3 lbl_8023E22C: /* 8023E22C 0023B18C 7C 71 00 D0 */ neg r3, r17 /* 8023E230 0023B190 38 01 00 28 */ addi r0, r1, 0x28 /* 8023E234 0023B194 7C 63 8B 78 */ or r3, r3, r17 /* 8023E238 0023B198 38 9F 01 F4 */ addi r4, r31, 0x1f4 /* 8023E23C 0023B19C 54 63 0F FE */ srwi r3, r3, 0x1f /* 8023E240 0023B1A0 92 21 00 2C */ stw r17, 0x2c(r1) /* 8023E244 0023B1A4 7C 00 20 40 */ cmplw r0, r4 /* 8023E248 0023B1A8 98 61 00 28 */ stb r3, 0x28(r1) /* 8023E24C 0023B1AC 41 82 00 48 */ beq lbl_8023E294 /* 8023E250 0023B1B0 88 04 00 00 */ lbz r0, 0(r4) /* 8023E254 0023B1B4 28 00 00 00 */ cmplwi r0, 0 /* 8023E258 0023B1B8 41 82 00 24 */ beq lbl_8023E27C /* 8023E25C 0023B1BC 80 7F 01 F8 */ lwz r3, 0x1f8(r31) /* 8023E260 0023B1C0 28 03 00 00 */ cmplwi r3, 0 /* 8023E264 0023B1C4 41 82 00 18 */ beq lbl_8023E27C /* 8023E268 0023B1C8 81 83 00 00 */ lwz r12, 0(r3) /* 8023E26C 0023B1CC 38 80 00 01 */ li r4, 1 /* 8023E270 0023B1D0 81 8C 00 08 */ lwz r12, 8(r12) /* 8023E274 0023B1D4 7D 89 03 A6 */ mtctr r12 /* 8023E278 0023B1D8 4E 80 04 21 */ bctrl lbl_8023E27C: /* 8023E27C 0023B1DC 88 61 00 28 */ lbz r3, 0x28(r1) /* 8023E280 0023B1E0 38 00 00 00 */ li r0, 0 /* 8023E284 0023B1E4 98 7F 01 F4 */ stb r3, 0x1f4(r31) /* 8023E288 0023B1E8 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8023E28C 0023B1EC 90 7F 01 F8 */ stw r3, 0x1f8(r31) /* 8023E290 0023B1F0 98 01 00 28 */ stb r0, 0x28(r1) lbl_8023E294: /* 8023E294 0023B1F4 88 01 00 28 */ lbz r0, 0x28(r1) /* 8023E298 0023B1F8 28 00 00 00 */ cmplwi r0, 0 /* 8023E29C 0023B1FC 41 82 00 24 */ beq lbl_8023E2C0 /* 8023E2A0 0023B200 80 61 00 2C */ lwz r3, 0x2c(r1) /* 8023E2A4 0023B204 28 03 00 00 */ cmplwi r3, 0 /* 8023E2A8 0023B208 41 82 00 18 */ beq lbl_8023E2C0 /* 8023E2AC 0023B20C 81 83 00 00 */ lwz r12, 0(r3) /* 8023E2B0 0023B210 38 80 00 01 */ li r4, 1 /* 8023E2B4 0023B214 81 8C 00 08 */ lwz r12, 8(r12) /* 8023E2B8 0023B218 7D 89 03 A6 */ mtctr r12 /* 8023E2BC 0023B21C 4E 80 04 21 */ bctrl lbl_8023E2C0: /* 8023E2C0 0023B220 7E 00 07 75 */ extsb. r0, r16 /* 8023E2C4 0023B224 41 82 00 10 */ beq lbl_8023E2D4 /* 8023E2C8 0023B228 38 61 00 30 */ addi r3, r1, 0x30 /* 8023E2CC 0023B22C 38 80 00 00 */ li r4, 0 /* 8023E2D0 0023B230 48 10 2B 71 */ bl __dt__6CTokenFv lbl_8023E2D4: /* 8023E2D4 0023B234 7F E3 FB 78 */ mr r3, r31 /* 8023E2D8 0023B238 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 /* 8023E2DC 0023B23C CB E1 02 30 */ lfd f31, 0x230(r1) /* 8023E2E0 0023B240 E3 C1 02 28 */ psq_l f30, 552(r1), 0, qr0 /* 8023E2E4 0023B244 CB C1 02 20 */ lfd f30, 0x220(r1) /* 8023E2E8 0023B248 E3 A1 02 18 */ psq_l f29, 536(r1), 0, qr0 /* 8023E2EC 0023B24C CB A1 02 10 */ lfd f29, 0x210(r1) /* 8023E2F0 0023B250 E3 81 02 08 */ psq_l f28, 520(r1), 0, qr0 /* 8023E2F4 0023B254 CB 81 02 00 */ lfd f28, 0x200(r1) /* 8023E2F8 0023B258 E3 61 01 F8 */ psq_l f27, 504(r1), 0, qr0 /* 8023E2FC 0023B25C CB 61 01 F0 */ lfd f27, 0x1f0(r1) /* 8023E300 0023B260 E3 41 01 E8 */ psq_l f26, 488(r1), 0, qr0 /* 8023E304 0023B264 CB 41 01 E0 */ lfd f26, 0x1e0(r1) /* 8023E308 0023B268 E3 21 01 D8 */ psq_l f25, 472(r1), 0, qr0 /* 8023E30C 0023B26C CB 21 01 D0 */ lfd f25, 0x1d0(r1) /* 8023E310 0023B270 E3 01 01 C8 */ psq_l f24, 456(r1), 0, qr0 /* 8023E314 0023B274 CB 01 01 C0 */ lfd f24, 0x1c0(r1) /* 8023E318 0023B278 E2 E1 01 B8 */ psq_l f23, 440(r1), 0, qr0 /* 8023E31C 0023B27C CA E1 01 B0 */ lfd f23, 0x1b0(r1) /* 8023E320 0023B280 E2 C1 01 A8 */ psq_l f22, 424(r1), 0, qr0 /* 8023E324 0023B284 CA C1 01 A0 */ lfd f22, 0x1a0(r1) /* 8023E328 0023B288 E2 A1 01 98 */ psq_l f21, 408(r1), 0, qr0 /* 8023E32C 0023B28C CA A1 01 90 */ lfd f21, 0x190(r1) /* 8023E330 0023B290 E2 81 01 88 */ psq_l f20, 392(r1), 0, qr0 /* 8023E334 0023B294 CA 81 01 80 */ lfd f20, 0x180(r1) /* 8023E338 0023B298 E2 61 01 78 */ psq_l f19, 376(r1), 0, qr0 /* 8023E33C 0023B29C CA 61 01 70 */ lfd f19, 0x170(r1) /* 8023E340 0023B2A0 E2 41 01 68 */ psq_l f18, 360(r1), 0, qr0 /* 8023E344 0023B2A4 CA 41 01 60 */ lfd f18, 0x160(r1) /* 8023E348 0023B2A8 E2 21 01 58 */ psq_l f17, 344(r1), 0, qr0 /* 8023E34C 0023B2AC CA 21 01 50 */ lfd f17, 0x150(r1) /* 8023E350 0023B2B0 BA 01 01 10 */ lmw r16, 0x110(r1) /* 8023E354 0023B2B4 80 01 02 44 */ lwz r0, 0x244(r1) /* 8023E358 0023B2B8 7C 08 03 A6 */ mtlr r0 /* 8023E35C 0023B2BC 38 21 02 40 */ addi r1, r1, 0x240 /* 8023E360 0023B2C0 4E 80 00 20 */ blr .global sub_8023e364 sub_8023e364: /* 8023E364 0023B2C4 C0 23 00 20 */ lfs f1, 0x20(r3) /* 8023E368 0023B2C8 4E 80 00 20 */ blr .global sub_8023e36c sub_8023e36c: /* 8023E36C 0023B2CC D0 23 00 18 */ stfs f1, 0x18(r3) /* 8023E370 0023B2D0 4E 80 00 20 */ blr .global sub_8023e374 sub_8023e374: /* 8023E374 0023B2D4 C0 23 00 18 */ lfs f1, 0x18(r3) /* 8023E378 0023B2D8 4E 80 00 20 */ blr .global sub_8023e37c sub_8023e37c: /* 8023E37C 0023B2DC D0 23 00 14 */ stfs f1, 0x14(r3) /* 8023E380 0023B2E0 4E 80 00 20 */ blr .global sub_8023e384 sub_8023e384: /* 8023E384 0023B2E4 C0 23 00 14 */ lfs f1, 0x14(r3) /* 8023E388 0023B2E8 4E 80 00 20 */ blr .global sub_8023e38c sub_8023e38c: /* 8023E38C 0023B2EC D0 23 00 10 */ stfs f1, 0x10(r3) /* 8023E390 0023B2F0 4E 80 00 20 */ blr .global sub_8023e394 sub_8023e394: /* 8023E394 0023B2F4 C0 23 00 10 */ lfs f1, 0x10(r3) /* 8023E398 0023B2F8 4E 80 00 20 */ blr .global nullsub_21 nullsub_21: /* 8023E39C 0023B2FC 4E 80 00 20 */ blr .global sub_8023e3a0 sub_8023e3a0: /* 8023E3A0 0023B300 80 63 00 0C */ lwz r3, 0xc(r3) /* 8023E3A4 0023B304 4E 80 00 20 */ blr .global sub_8023e3a8 sub_8023e3a8: /* 8023E3A8 0023B308 90 83 00 0C */ stw r4, 0xc(r3) /* 8023E3AC 0023B30C 4E 80 00 20 */ blr .global sub_8023e3b0 sub_8023e3b0: /* 8023E3B0 0023B310 C0 04 00 00 */ lfs f0, 0(r4) /* 8023E3B4 0023B314 38 00 00 01 */ li r0, 1 /* 8023E3B8 0023B318 D0 03 00 00 */ stfs f0, 0(r3) /* 8023E3BC 0023B31C C0 04 00 04 */ lfs f0, 4(r4) /* 8023E3C0 0023B320 D0 03 00 04 */ stfs f0, 4(r3) /* 8023E3C4 0023B324 C0 04 00 08 */ lfs f0, 8(r4) /* 8023E3C8 0023B328 D0 03 00 08 */ stfs f0, 8(r3) /* 8023E3CC 0023B32C 90 03 00 0C */ stw r0, 0xc(r3) /* 8023E3D0 0023B330 D0 23 00 14 */ stfs f1, 0x14(r3) /* 8023E3D4 0023B334 D0 43 00 18 */ stfs f2, 0x18(r3) /* 8023E3D8 0023B338 D0 63 00 20 */ stfs f3, 0x20(r3) /* 8023E3DC 0023B33C 4E 80 00 20 */ blr .global sub_8023e3e0 sub_8023e3e0: /* 8023E3E0 0023B340 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023E3E4 0023B344 7C 08 02 A6 */ mflr r0 /* 8023E3E8 0023B348 90 01 00 34 */ stw r0, 0x34(r1) /* 8023E3EC 0023B34C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023E3F0 0023B350 7C 9F 23 78 */ mr r31, r4 /* 8023E3F4 0023B354 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023E3F8 0023B358 7C 7E 1B 78 */ mr r30, r3 /* 8023E3FC 0023B35C 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023E400 0023B360 80 03 00 08 */ lwz r0, 8(r3) /* 8023E404 0023B364 7C 1F 00 00 */ cmpw r31, r0 /* 8023E408 0023B368 40 81 00 F0 */ ble lbl_8023E4F8 /* 8023E40C 0023B36C 1C 7F 00 24 */ mulli r3, r31, 0x24 /* 8023E410 0023B370 2C 03 00 00 */ cmpwi r3, 0 /* 8023E414 0023B374 40 82 00 0C */ bne lbl_8023E420 /* 8023E418 0023B378 3B A0 00 00 */ li r29, 0 /* 8023E41C 0023B37C 48 00 00 1C */ b lbl_8023E438 lbl_8023E420: /* 8023E420 0023B380 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023E424 0023B384 38 A0 00 00 */ li r5, 0 /* 8023E428 0023B388 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023E42C 0023B38C 38 84 00 0B */ addi r4, r4, 0xb /* 8023E430 0023B390 48 0D 73 E9 */ bl __nwa__FUlPCcPCc /* 8023E434 0023B394 7C 7D 1B 78 */ mr r29, r3 lbl_8023E438: /* 8023E438 0023B398 80 1E 00 04 */ lwz r0, 4(r30) /* 8023E43C 0023B39C 7F A4 EB 78 */ mr r4, r29 /* 8023E440 0023B3A0 80 BE 00 0C */ lwz r5, 0xc(r30) /* 8023E444 0023B3A4 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023E448 0023B3A8 90 A1 00 10 */ stw r5, 0x10(r1) /* 8023E44C 0023B3AC 7C 65 02 14 */ add r3, r5, r0 /* 8023E450 0023B3B0 90 A1 00 14 */ stw r5, 0x14(r1) /* 8023E454 0023B3B4 90 61 00 08 */ stw r3, 8(r1) /* 8023E458 0023B3B8 90 61 00 0C */ stw r3, 0xc(r1) /* 8023E45C 0023B3BC 48 00 00 5C */ b lbl_8023E4B8 lbl_8023E460: /* 8023E460 0023B3C0 28 04 00 00 */ cmplwi r4, 0 /* 8023E464 0023B3C4 41 82 00 4C */ beq lbl_8023E4B0 /* 8023E468 0023B3C8 C0 05 00 00 */ lfs f0, 0(r5) /* 8023E46C 0023B3CC D0 04 00 00 */ stfs f0, 0(r4) /* 8023E470 0023B3D0 C0 05 00 04 */ lfs f0, 4(r5) /* 8023E474 0023B3D4 D0 04 00 04 */ stfs f0, 4(r4) /* 8023E478 0023B3D8 C0 05 00 08 */ lfs f0, 8(r5) /* 8023E47C 0023B3DC D0 04 00 08 */ stfs f0, 8(r4) /* 8023E480 0023B3E0 80 05 00 0C */ lwz r0, 0xc(r5) /* 8023E484 0023B3E4 90 04 00 0C */ stw r0, 0xc(r4) /* 8023E488 0023B3E8 C0 05 00 10 */ lfs f0, 0x10(r5) /* 8023E48C 0023B3EC D0 04 00 10 */ stfs f0, 0x10(r4) /* 8023E490 0023B3F0 C0 05 00 14 */ lfs f0, 0x14(r5) /* 8023E494 0023B3F4 D0 04 00 14 */ stfs f0, 0x14(r4) /* 8023E498 0023B3F8 C0 05 00 18 */ lfs f0, 0x18(r5) /* 8023E49C 0023B3FC D0 04 00 18 */ stfs f0, 0x18(r4) /* 8023E4A0 0023B400 C0 05 00 1C */ lfs f0, 0x1c(r5) /* 8023E4A4 0023B404 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 8023E4A8 0023B408 C0 05 00 20 */ lfs f0, 0x20(r5) /* 8023E4AC 0023B40C D0 04 00 20 */ stfs f0, 0x20(r4) lbl_8023E4B0: /* 8023E4B0 0023B410 38 84 00 24 */ addi r4, r4, 0x24 /* 8023E4B4 0023B414 38 A5 00 24 */ addi r5, r5, 0x24 lbl_8023E4B8: /* 8023E4B8 0023B418 7C 05 18 40 */ cmplw r5, r3 /* 8023E4BC 0023B41C 40 82 FF A4 */ bne lbl_8023E460 /* 8023E4C0 0023B420 80 1E 00 04 */ lwz r0, 4(r30) /* 8023E4C4 0023B424 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8023E4C8 0023B428 1C 00 00 24 */ mulli r0, r0, 0x24 /* 8023E4CC 0023B42C 7C 64 1B 78 */ mr r4, r3 /* 8023E4D0 0023B430 7C 03 02 14 */ add r0, r3, r0 /* 8023E4D4 0023B434 48 00 00 08 */ b lbl_8023E4DC lbl_8023E4D8: /* 8023E4D8 0023B438 38 84 00 24 */ addi r4, r4, 0x24 lbl_8023E4DC: /* 8023E4DC 0023B43C 7C 04 00 40 */ cmplw r4, r0 /* 8023E4E0 0023B440 40 82 FF F8 */ bne lbl_8023E4D8 /* 8023E4E4 0023B444 28 03 00 00 */ cmplwi r3, 0 /* 8023E4E8 0023B448 41 82 00 08 */ beq lbl_8023E4F0 /* 8023E4EC 0023B44C 48 0D 74 45 */ bl Free__7CMemoryFPCv lbl_8023E4F0: /* 8023E4F0 0023B450 93 BE 00 0C */ stw r29, 0xc(r30) /* 8023E4F4 0023B454 93 FE 00 08 */ stw r31, 8(r30) lbl_8023E4F8: /* 8023E4F8 0023B458 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023E4FC 0023B45C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023E500 0023B460 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023E504 0023B464 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023E508 0023B468 7C 08 03 A6 */ mtlr r0 /* 8023E50C 0023B46C 38 21 00 30 */ addi r1, r1, 0x30 /* 8023E510 0023B470 4E 80 00 20 */ blr .global sub_8023e514 sub_8023e514: /* 8023E514 0023B474 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023E518 0023B478 7C 08 02 A6 */ mflr r0 /* 8023E51C 0023B47C 90 01 00 34 */ stw r0, 0x34(r1) /* 8023E520 0023B480 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8023E524 0023B484 7C 9F 23 78 */ mr r31, r4 /* 8023E528 0023B488 93 C1 00 28 */ stw r30, 0x28(r1) /* 8023E52C 0023B48C 7C 7E 1B 78 */ mr r30, r3 /* 8023E530 0023B490 93 A1 00 24 */ stw r29, 0x24(r1) /* 8023E534 0023B494 80 03 00 08 */ lwz r0, 8(r3) /* 8023E538 0023B498 7C 1F 00 00 */ cmpw r31, r0 /* 8023E53C 0023B49C 40 81 00 AC */ ble lbl_8023E5E8 /* 8023E540 0023B4A0 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d /* 8023E544 0023B4A4 40 82 00 0C */ bne lbl_8023E550 /* 8023E548 0023B4A8 3B A0 00 00 */ li r29, 0 /* 8023E54C 0023B4AC 48 00 00 1C */ b lbl_8023E568 lbl_8023E550: /* 8023E550 0023B4B0 3C 80 80 3D */ lis r4, lbl_803D4388@ha /* 8023E554 0023B4B4 38 A0 00 00 */ li r5, 0 /* 8023E558 0023B4B8 38 84 43 88 */ addi r4, r4, lbl_803D4388@l /* 8023E55C 0023B4BC 38 84 00 0B */ addi r4, r4, 0xb /* 8023E560 0023B4C0 48 0D 72 B9 */ bl __nwa__FUlPCcPCc /* 8023E564 0023B4C4 7C 7D 1B 78 */ mr r29, r3 lbl_8023E568: /* 8023E568 0023B4C8 80 1E 00 04 */ lwz r0, 4(r30) /* 8023E56C 0023B4CC 7F A4 EB 78 */ mr r4, r29 /* 8023E570 0023B4D0 80 BE 00 0C */ lwz r5, 0xc(r30) /* 8023E574 0023B4D4 54 00 10 3A */ slwi r0, r0, 2 /* 8023E578 0023B4D8 7C 65 02 14 */ add r3, r5, r0 /* 8023E57C 0023B4DC 90 A1 00 10 */ stw r5, 0x10(r1) /* 8023E580 0023B4E0 90 61 00 08 */ stw r3, 8(r1) /* 8023E584 0023B4E4 90 61 00 0C */ stw r3, 0xc(r1) /* 8023E588 0023B4E8 90 A1 00 14 */ stw r5, 0x14(r1) /* 8023E58C 0023B4EC 48 00 00 1C */ b lbl_8023E5A8 lbl_8023E590: /* 8023E590 0023B4F0 28 04 00 00 */ cmplwi r4, 0 /* 8023E594 0023B4F4 41 82 00 0C */ beq lbl_8023E5A0 /* 8023E598 0023B4F8 80 05 00 00 */ lwz r0, 0(r5) /* 8023E59C 0023B4FC 90 04 00 00 */ stw r0, 0(r4) lbl_8023E5A0: /* 8023E5A0 0023B500 38 84 00 04 */ addi r4, r4, 4 /* 8023E5A4 0023B504 38 A5 00 04 */ addi r5, r5, 4 lbl_8023E5A8: /* 8023E5A8 0023B508 7C 05 18 40 */ cmplw r5, r3 /* 8023E5AC 0023B50C 40 82 FF E4 */ bne lbl_8023E590 /* 8023E5B0 0023B510 80 1E 00 04 */ lwz r0, 4(r30) /* 8023E5B4 0023B514 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8023E5B8 0023B518 54 00 10 3A */ slwi r0, r0, 2 /* 8023E5BC 0023B51C 7C 64 1B 78 */ mr r4, r3 /* 8023E5C0 0023B520 7C 03 02 14 */ add r0, r3, r0 /* 8023E5C4 0023B524 48 00 00 08 */ b lbl_8023E5CC lbl_8023E5C8: /* 8023E5C8 0023B528 38 84 00 04 */ addi r4, r4, 4 lbl_8023E5CC: /* 8023E5CC 0023B52C 7C 04 00 40 */ cmplw r4, r0 /* 8023E5D0 0023B530 40 82 FF F8 */ bne lbl_8023E5C8 /* 8023E5D4 0023B534 28 03 00 00 */ cmplwi r3, 0 /* 8023E5D8 0023B538 41 82 00 08 */ beq lbl_8023E5E0 /* 8023E5DC 0023B53C 48 0D 73 55 */ bl Free__7CMemoryFPCv lbl_8023E5E0: /* 8023E5E0 0023B540 93 BE 00 0C */ stw r29, 0xc(r30) /* 8023E5E4 0023B544 93 FE 00 08 */ stw r31, 8(r30) lbl_8023E5E8: /* 8023E5E8 0023B548 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023E5EC 0023B54C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8023E5F0 0023B550 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8023E5F4 0023B554 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8023E5F8 0023B558 7C 08 03 A6 */ mtlr r0 /* 8023E5FC 0023B55C 38 21 00 30 */ addi r1, r1, 0x30 /* 8023E600 0023B560 4E 80 00 20 */ blr .global nullsub_19 nullsub_19: /* 8023E604 0023B564 4E 80 00 20 */ blr .global __ct__Q211CBallCamera14SFailsafeStateFv __ct__Q211CBallCamera14SFailsafeStateFv: /* 8023E608 0023B568 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023E60C 0023B56C 7C 08 02 A6 */ mflr r0 /* 8023E610 0023B570 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8023E614 0023B574 90 01 00 14 */ stw r0, 0x14(r1) /* 8023E618 0023B578 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 8023E61C 0023B57C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023E620 0023B580 7C 7F 1B 78 */ mr r31, r3 /* 8023E624 0023B584 48 0D 45 51 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8023E628 0023B588 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8023E62C 0023B58C 38 7F 00 30 */ addi r3, r31, 0x30 /* 8023E630 0023B590 38 84 66 70 */ addi r4, r4, skIdentity4f@l /* 8023E634 0023B594 48 0D 45 41 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8023E638 0023B598 3C 60 80 5A */ lis r3, skZero3f@ha /* 8023E63C 0023B59C 38 00 00 00 */ li r0, 0 /* 8023E640 0023B5A0 38 83 66 A0 */ addi r4, r3, skZero3f@l /* 8023E644 0023B5A4 7F E3 FB 78 */ mr r3, r31 /* 8023E648 0023B5A8 C0 04 00 00 */ lfs f0, 0(r4) /* 8023E64C 0023B5AC D0 1F 00 60 */ stfs f0, 0x60(r31) /* 8023E650 0023B5B0 C0 04 00 04 */ lfs f0, 4(r4) /* 8023E654 0023B5B4 D0 1F 00 64 */ stfs f0, 0x64(r31) /* 8023E658 0023B5B8 C0 04 00 08 */ lfs f0, 8(r4) /* 8023E65C 0023B5BC D0 1F 00 68 */ stfs f0, 0x68(r31) /* 8023E660 0023B5C0 C0 04 00 00 */ lfs f0, 0(r4) /* 8023E664 0023B5C4 D0 1F 00 6C */ stfs f0, 0x6c(r31) /* 8023E668 0023B5C8 C0 04 00 04 */ lfs f0, 4(r4) /* 8023E66C 0023B5CC D0 1F 00 70 */ stfs f0, 0x70(r31) /* 8023E670 0023B5D0 C0 04 00 08 */ lfs f0, 8(r4) /* 8023E674 0023B5D4 D0 1F 00 74 */ stfs f0, 0x74(r31) /* 8023E678 0023B5D8 C0 04 00 00 */ lfs f0, 0(r4) /* 8023E67C 0023B5DC D0 1F 00 78 */ stfs f0, 0x78(r31) /* 8023E680 0023B5E0 C0 04 00 04 */ lfs f0, 4(r4) /* 8023E684 0023B5E4 D0 1F 00 7C */ stfs f0, 0x7c(r31) /* 8023E688 0023B5E8 C0 04 00 08 */ lfs f0, 8(r4) /* 8023E68C 0023B5EC D0 1F 00 80 */ stfs f0, 0x80(r31) /* 8023E690 0023B5F0 C0 04 00 00 */ lfs f0, 0(r4) /* 8023E694 0023B5F4 D0 1F 00 84 */ stfs f0, 0x84(r31) /* 8023E698 0023B5F8 C0 04 00 04 */ lfs f0, 4(r4) /* 8023E69C 0023B5FC D0 1F 00 88 */ stfs f0, 0x88(r31) /* 8023E6A0 0023B600 C0 04 00 08 */ lfs f0, 8(r4) /* 8023E6A4 0023B604 D0 1F 00 8C */ stfs f0, 0x8c(r31) /* 8023E6A8 0023B608 90 1F 00 94 */ stw r0, 0x94(r31) /* 8023E6AC 0023B60C 90 1F 00 98 */ stw r0, 0x98(r31) /* 8023E6B0 0023B610 90 1F 00 9C */ stw r0, 0x9c(r31) /* 8023E6B4 0023B614 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8023E6B8 0023B618 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023E6BC 0023B61C 7C 08 03 A6 */ mtlr r0 /* 8023E6C0 0023B620 38 21 00 10 */ addi r1, r1, 0x10 /* 8023E6C4 0023B624 4E 80 00 20 */ blr .global UpdateTransitionFromBallCamera__11CBallCameraFR13CStateManager UpdateTransitionFromBallCamera__11CBallCameraFR13CStateManager: /* 8023E6C8 0023B628 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8023E6CC 0023B62C 7C 08 02 A6 */ mflr r0 /* 8023E6D0 0023B630 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8023E6D4 0023B634 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 8023E6D8 0023B638 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 /* 8023E6DC 0023B63C DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 8023E6E0 0023B640 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 /* 8023E6E4 0023B644 DB A1 00 A0 */ stfd f29, 0xa0(r1) /* 8023E6E8 0023B648 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 /* 8023E6EC 0023B64C DB 81 00 90 */ stfd f28, 0x90(r1) /* 8023E6F0 0023B650 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 /* 8023E6F4 0023B654 93 E1 00 8C */ stw r31, 0x8c(r1) /* 8023E6F8 0023B658 93 C1 00 88 */ stw r30, 0x88(r1) /* 8023E6FC 0023B65C 93 A1 00 84 */ stw r29, 0x84(r1) /* 8023E700 0023B660 7C 9F 23 78 */ mr r31, r4 /* 8023E704 0023B664 C3 82 B7 A0 */ lfs f28, lbl_805AD4C0@sda21(r2) /* 8023E708 0023B668 83 A4 08 4C */ lwz r29, 0x84c(r4) /* 8023E70C 0023B66C 7C 7E 1B 78 */ mr r30, r3 /* 8023E710 0023B670 C0 3D 05 78 */ lfs f1, 0x578(r29) /* 8023E714 0023B674 FC 1C 08 00 */ fcmpu cr0, f28, f1 /* 8023E718 0023B678 40 82 00 08 */ bne lbl_8023E720 /* 8023E71C 0023B67C 48 00 00 24 */ b lbl_8023E740 lbl_8023E720: /* 8023E720 0023B680 C0 1D 05 74 */ lfs f0, 0x574(r29) /* 8023E724 0023B684 38 81 00 08 */ addi r4, r1, 8 /* 8023E728 0023B688 38 6D 96 88 */ addi r3, r13, lbl_805A8248@sda21 /* 8023E72C 0023B68C 38 AD 96 8C */ addi r5, r13, lbl_805A824C@sda21 /* 8023E730 0023B690 EC 00 08 24 */ fdivs f0, f0, f1 /* 8023E734 0023B694 D0 01 00 08 */ stfs f0, 8(r1) /* 8023E738 0023B698 4B DC DB 7D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8023E73C 0023B69C C3 83 00 00 */ lfs f28, 0(r3) lbl_8023E740: /* 8023E740 0023B6A0 7F A4 EB 78 */ mr r4, r29 /* 8023E744 0023B6A4 38 61 00 1C */ addi r3, r1, 0x1c /* 8023E748 0023B6A8 48 04 66 35 */ bl GetEyePosition__7CPlayerCFv /* 8023E74C 0023B6AC C0 61 00 1C */ lfs f3, 0x1c(r1) /* 8023E750 0023B6B0 FC 20 E0 90 */ fmr f1, f28 /* 8023E754 0023B6B4 C0 41 00 20 */ lfs f2, 0x20(r1) /* 8023E758 0023B6B8 38 61 00 10 */ addi r3, r1, 0x10 /* 8023E75C 0023B6BC C0 01 00 24 */ lfs f0, 0x24(r1) /* 8023E760 0023B6C0 D0 61 00 40 */ stfs f3, 0x40(r1) /* 8023E764 0023B6C4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8023E768 0023B6C8 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8023E76C 0023B6CC 80 BE 04 7C */ lwz r5, 0x47c(r30) /* 8023E770 0023B6D0 C3 FD 00 40 */ lfs f31, 0x40(r29) /* 8023E774 0023B6D4 C0 05 00 84 */ lfs f0, 0x84(r5) /* 8023E778 0023B6D8 80 85 00 9C */ lwz r4, 0x9c(r5) /* 8023E77C 0023B6DC EC 9F 00 28 */ fsubs f4, f31, f0 /* 8023E780 0023B6E0 C3 BD 00 60 */ lfs f29, 0x60(r29) /* 8023E784 0023B6E4 C0 04 00 0C */ lfs f0, 0xc(r4) /* 8023E788 0023B6E8 C0 45 00 8C */ lfs f2, 0x8c(r5) /* 8023E78C 0023B6EC EC 00 20 2A */ fadds f0, f0, f4 /* 8023E790 0023B6F0 C3 DD 00 50 */ lfs f30, 0x50(r29) /* 8023E794 0023B6F4 C0 65 00 88 */ lfs f3, 0x88(r5) /* 8023E798 0023B6F8 EC 5D 10 28 */ fsubs f2, f29, f2 /* 8023E79C 0023B6FC D0 04 00 0C */ stfs f0, 0xc(r4) /* 8023E7A0 0023B700 EC 7E 18 28 */ fsubs f3, f30, f3 /* 8023E7A4 0023B704 C0 04 00 10 */ lfs f0, 0x10(r4) /* 8023E7A8 0023B708 EC 00 18 2A */ fadds f0, f0, f3 /* 8023E7AC 0023B70C D0 04 00 10 */ stfs f0, 0x10(r4) /* 8023E7B0 0023B710 C0 04 00 14 */ lfs f0, 0x14(r4) /* 8023E7B4 0023B714 EC 00 10 2A */ fadds f0, f0, f2 /* 8023E7B8 0023B718 D0 04 00 14 */ stfs f0, 0x14(r4) /* 8023E7BC 0023B71C 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023E7C0 0023B720 80 84 00 9C */ lwz r4, 0x9c(r4) /* 8023E7C4 0023B724 C0 04 00 18 */ lfs f0, 0x18(r4) /* 8023E7C8 0023B728 EC 00 20 2A */ fadds f0, f0, f4 /* 8023E7CC 0023B72C D0 04 00 18 */ stfs f0, 0x18(r4) /* 8023E7D0 0023B730 C0 04 00 1C */ lfs f0, 0x1c(r4) /* 8023E7D4 0023B734 EC 00 18 2A */ fadds f0, f0, f3 /* 8023E7D8 0023B738 D0 04 00 1C */ stfs f0, 0x1c(r4) /* 8023E7DC 0023B73C C0 04 00 20 */ lfs f0, 0x20(r4) /* 8023E7E0 0023B740 EC 00 10 2A */ fadds f0, f0, f2 /* 8023E7E4 0023B744 D0 04 00 20 */ stfs f0, 0x20(r4) /* 8023E7E8 0023B748 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023E7EC 0023B74C 80 84 00 9C */ lwz r4, 0x9c(r4) /* 8023E7F0 0023B750 C0 04 00 24 */ lfs f0, 0x24(r4) /* 8023E7F4 0023B754 EC 00 20 2A */ fadds f0, f0, f4 /* 8023E7F8 0023B758 D0 04 00 24 */ stfs f0, 0x24(r4) /* 8023E7FC 0023B75C C0 04 00 28 */ lfs f0, 0x28(r4) /* 8023E800 0023B760 EC 00 18 2A */ fadds f0, f0, f3 /* 8023E804 0023B764 D0 04 00 28 */ stfs f0, 0x28(r4) /* 8023E808 0023B768 C0 04 00 2C */ lfs f0, 0x2c(r4) /* 8023E80C 0023B76C EC 00 10 2A */ fadds f0, f0, f2 /* 8023E810 0023B770 D0 04 00 2C */ stfs f0, 0x2c(r4) /* 8023E814 0023B774 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023E818 0023B778 38 84 00 90 */ addi r4, r4, 0x90 /* 8023E81C 0023B77C 48 00 05 A9 */ bl "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" /* 8023E820 0023B780 C0 22 B7 A8 */ lfs f1, lbl_805AD4C8@sda21(r2) /* 8023E824 0023B784 38 81 00 0C */ addi r4, r1, 0xc /* 8023E828 0023B788 C0 02 B7 A4 */ lfs f0, lbl_805AD4C4@sda21(r2) /* 8023E82C 0023B78C 38 6D 96 A8 */ addi r3, r13, lbl_805A8268@sda21 /* 8023E830 0023B790 C0 41 00 18 */ lfs f2, 0x18(r1) /* 8023E834 0023B794 38 AD 96 AC */ addi r5, r13, lbl_805A826C@sda21 /* 8023E838 0023B798 EC 01 07 3C */ fnmsubs f0, f1, f28, f0 /* 8023E83C 0023B79C C0 21 00 48 */ lfs f1, 0x48(r1) /* 8023E840 0023B7A0 C0 81 00 10 */ lfs f4, 0x10(r1) /* 8023E844 0023B7A4 C0 61 00 14 */ lfs f3, 0x14(r1) /* 8023E848 0023B7A8 EF 82 08 28 */ fsubs f28, f2, f1 /* 8023E84C 0023B7AC D0 81 00 34 */ stfs f4, 0x34(r1) /* 8023E850 0023B7B0 D0 61 00 38 */ stfs f3, 0x38(r1) /* 8023E854 0023B7B4 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 8023E858 0023B7B8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 8023E85C 0023B7BC 4B DC DA 59 */ bl "Clamp__5CMathFRCfRCfRCf" /* 8023E860 0023B7C0 C0 03 00 00 */ lfs f0, 0(r3) /* 8023E864 0023B7C4 38 61 00 28 */ addi r3, r1, 0x28 /* 8023E868 0023B7C8 C0 A1 00 48 */ lfs f5, 0x48(r1) /* 8023E86C 0023B7CC EF 9C 00 32 */ fmuls f28, f28, f0 /* 8023E870 0023B7D0 C0 61 00 44 */ lfs f3, 0x44(r1) /* 8023E874 0023B7D4 C0 01 00 38 */ lfs f0, 0x38(r1) /* 8023E878 0023B7D8 C0 41 00 40 */ lfs f2, 0x40(r1) /* 8023E87C 0023B7DC EC 9C 28 2A */ fadds f4, f28, f5 /* 8023E880 0023B7E0 C0 21 00 34 */ lfs f1, 0x34(r1) /* 8023E884 0023B7E4 EC 63 00 28 */ fsubs f3, f3, f0 /* 8023E888 0023B7E8 C0 02 B7 A0 */ lfs f0, lbl_805AD4C0@sda21(r2) /* 8023E88C 0023B7EC EC 22 08 28 */ fsubs f1, f2, f1 /* 8023E890 0023B7F0 EC 45 20 28 */ fsubs f2, f5, f4 /* 8023E894 0023B7F4 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 8023E898 0023B7F8 D0 41 00 30 */ stfs f2, 0x30(r1) /* 8023E89C 0023B7FC D0 21 00 28 */ stfs f1, 0x28(r1) /* 8023E8A0 0023B800 D0 61 00 2C */ stfs f3, 0x2c(r1) /* 8023E8A4 0023B804 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8023E8A8 0023B808 48 0D 60 11 */ bl Magnitude__9CVector3fCFv /* 8023E8AC 0023B80C C0 02 B7 AC */ lfs f0, lbl_805AD4CC@sda21(r2) /* 8023E8B0 0023B810 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023E8B4 0023B814 40 81 00 54 */ ble lbl_8023E908 /* 8023E8B8 0023B818 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 8023E8BC 0023B81C 38 61 00 4C */ addi r3, r1, 0x4c /* 8023E8C0 0023B820 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l /* 8023E8C4 0023B824 38 A1 00 40 */ addi r5, r1, 0x40 /* 8023E8C8 0023B828 38 81 00 34 */ addi r4, r1, 0x34 /* 8023E8CC 0023B82C 48 0D 52 45 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 8023E8D0 0023B830 38 7E 00 34 */ addi r3, r30, 0x34 /* 8023E8D4 0023B834 38 81 00 4C */ addi r4, r1, 0x4c /* 8023E8D8 0023B838 48 0D 42 69 */ bl __as__12CTransform4fFRC12CTransform4f /* 8023E8DC 0023B83C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023E8E0 0023B840 38 60 00 01 */ li r3, 1 /* 8023E8E4 0023B844 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 8023E8E8 0023B848 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023E8EC 0023B84C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023E8F0 0023B850 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8023E8F4 0023B854 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023E8F8 0023B858 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023E8FC 0023B85C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8023E900 0023B860 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023E904 0023B864 48 00 00 4C */ b lbl_8023E950 lbl_8023E908: /* 8023E908 0023B868 80 9F 08 70 */ lwz r4, 0x870(r31) /* 8023E90C 0023B86C 38 7E 00 34 */ addi r3, r30, 0x34 /* 8023E910 0023B870 80 84 00 7C */ lwz r4, 0x7c(r4) /* 8023E914 0023B874 38 84 00 34 */ addi r4, r4, 0x34 /* 8023E918 0023B878 48 0D 42 29 */ bl __as__12CTransform4fFRC12CTransform4f /* 8023E91C 0023B87C 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023E920 0023B880 38 A0 00 01 */ li r5, 1 /* 8023E924 0023B884 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b /* 8023E928 0023B888 7F C3 F3 78 */ mr r3, r30 /* 8023E92C 0023B88C 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023E930 0023B890 38 81 00 34 */ addi r4, r1, 0x34 /* 8023E934 0023B894 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023E938 0023B898 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c /* 8023E93C 0023B89C 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023E940 0023B8A0 88 1E 00 E4 */ lbz r0, 0xe4(r30) /* 8023E944 0023B8A4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d /* 8023E948 0023B8A8 98 1E 00 E4 */ stb r0, 0xe4(r30) /* 8023E94C 0023B8AC 4B E1 45 41 */ bl SetTranslation__6CActorFRC9CVector3f lbl_8023E950: /* 8023E950 0023B8B0 80 7F 08 70 */ lwz r3, 0x870(r31) /* 8023E954 0023B8B4 7F E5 FB 78 */ mr r5, r31 /* 8023E958 0023B8B8 38 9E 00 34 */ addi r4, r30, 0x34 /* 8023E95C 0023B8BC 80 63 00 7C */ lwz r3, 0x7c(r3) /* 8023E960 0023B8C0 81 83 00 00 */ lwz r12, 0(r3) /* 8023E964 0023B8C4 81 8C 00 70 */ lwz r12, 0x70(r12) /* 8023E968 0023B8C8 7D 89 03 A6 */ mtctr r12 /* 8023E96C 0023B8CC 4E 80 04 21 */ bctrl /* 8023E970 0023B8D0 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023E974 0023B8D4 38 60 00 00 */ li r3, 0 /* 8023E978 0023B8D8 D3 E4 00 84 */ stfs f31, 0x84(r4) /* 8023E97C 0023B8DC D3 C4 00 88 */ stfs f30, 0x88(r4) /* 8023E980 0023B8E0 D3 A4 00 8C */ stfs f29, 0x8c(r4) /* 8023E984 0023B8E4 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 /* 8023E988 0023B8E8 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 8023E98C 0023B8EC E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 /* 8023E990 0023B8F0 CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 8023E994 0023B8F4 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 /* 8023E998 0023B8F8 CB A1 00 A0 */ lfd f29, 0xa0(r1) /* 8023E99C 0023B8FC E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 /* 8023E9A0 0023B900 CB 81 00 90 */ lfd f28, 0x90(r1) /* 8023E9A4 0023B904 83 E1 00 8C */ lwz r31, 0x8c(r1) /* 8023E9A8 0023B908 83 C1 00 88 */ lwz r30, 0x88(r1) /* 8023E9AC 0023B90C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8023E9B0 0023B910 83 A1 00 84 */ lwz r29, 0x84(r1) /* 8023E9B4 0023B914 7C 08 03 A6 */ mtlr r0 /* 8023E9B8 0023B918 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8023E9BC 0023B91C 4E 80 00 20 */ blr .global TransitionFromMorphBallState__11CBallCameraFR13CStateManager TransitionFromMorphBallState__11CBallCameraFR13CStateManager: /* 8023E9C0 0023B920 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 8023E9C4 0023B924 7C 08 02 A6 */ mflr r0 /* 8023E9C8 0023B928 90 01 00 A4 */ stw r0, 0xa4(r1) /* 8023E9CC 0023B92C DB E1 00 90 */ stfd f31, 0x90(r1) /* 8023E9D0 0023B930 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 /* 8023E9D4 0023B934 DB C1 00 80 */ stfd f30, 0x80(r1) /* 8023E9D8 0023B938 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 /* 8023E9DC 0023B93C DB A1 00 70 */ stfd f29, 0x70(r1) /* 8023E9E0 0023B940 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 /* 8023E9E4 0023B944 DB 81 00 60 */ stfd f28, 0x60(r1) /* 8023E9E8 0023B948 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 /* 8023E9EC 0023B94C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 8023E9F0 0023B950 93 C1 00 58 */ stw r30, 0x58(r1) /* 8023E9F4 0023B954 93 A1 00 54 */ stw r29, 0x54(r1) /* 8023E9F8 0023B958 93 81 00 50 */ stw r28, 0x50(r1) /* 8023E9FC 0023B95C 7C 9F 23 78 */ mr r31, r4 /* 8023EA00 0023B960 7C 7E 1B 78 */ mr r30, r3 /* 8023EA04 0023B964 80 84 08 4C */ lwz r4, 0x84c(r4) /* 8023EA08 0023B968 80 63 04 7C */ lwz r3, 0x47c(r3) /* 8023EA0C 0023B96C 38 84 00 34 */ addi r4, r4, 0x34 /* 8023EA10 0023B970 48 0D 41 31 */ bl __as__12CTransform4fFRC12CTransform4f /* 8023EA14 0023B974 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023EA18 0023B978 38 9E 00 34 */ addi r4, r30, 0x34 /* 8023EA1C 0023B97C 38 63 00 30 */ addi r3, r3, 0x30 /* 8023EA20 0023B980 48 0D 41 21 */ bl __as__12CTransform4fFRC12CTransform4f /* 8023EA24 0023B984 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023EA28 0023B988 38 61 00 28 */ addi r3, r1, 0x28 /* 8023EA2C 0023B98C C0 1E 01 D8 */ lfs f0, 0x1d8(r30) /* 8023EA30 0023B990 D0 04 00 60 */ stfs f0, 0x60(r4) /* 8023EA34 0023B994 C0 1E 01 DC */ lfs f0, 0x1dc(r30) /* 8023EA38 0023B998 D0 04 00 64 */ stfs f0, 0x64(r4) /* 8023EA3C 0023B99C C0 1E 01 E0 */ lfs f0, 0x1e0(r30) /* 8023EA40 0023B9A0 D0 04 00 68 */ stfs f0, 0x68(r4) /* 8023EA44 0023B9A4 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023EA48 0023B9A8 C0 44 00 2C */ lfs f2, 0x2c(r4) /* 8023EA4C 0023B9AC C0 24 00 1C */ lfs f1, 0x1c(r4) /* 8023EA50 0023B9B0 C0 04 00 0C */ lfs f0, 0xc(r4) /* 8023EA54 0023B9B4 D0 04 00 84 */ stfs f0, 0x84(r4) /* 8023EA58 0023B9B8 D0 24 00 88 */ stfs f1, 0x88(r4) /* 8023EA5C 0023B9BC D0 44 00 8C */ stfs f2, 0x8c(r4) /* 8023EA60 0023B9C0 80 BE 04 7C */ lwz r5, 0x47c(r30) /* 8023EA64 0023B9C4 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8023EA68 0023B9C8 C3 A5 00 5C */ lfs f29, 0x5c(r5) /* 8023EA6C 0023B9CC C3 C5 00 4C */ lfs f30, 0x4c(r5) /* 8023EA70 0023B9D0 C3 E5 00 3C */ lfs f31, 0x3c(r5) /* 8023EA74 0023B9D4 48 04 63 09 */ bl GetEyePosition__7CPlayerCFv /* 8023EA78 0023B9D8 C0 41 00 28 */ lfs f2, 0x28(r1) /* 8023EA7C 0023B9DC 38 61 00 1C */ addi r3, r1, 0x1c /* 8023EA80 0023B9E0 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 8023EA84 0023B9E4 C0 01 00 30 */ lfs f0, 0x30(r1) /* 8023EA88 0023B9E8 D0 41 00 40 */ stfs f2, 0x40(r1) /* 8023EA8C 0023B9EC D0 21 00 44 */ stfs f1, 0x44(r1) /* 8023EA90 0023B9F0 D0 01 00 48 */ stfs f0, 0x48(r1) /* 8023EA94 0023B9F4 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023EA98 0023B9F8 C0 44 00 64 */ lfs f2, 0x64(r4) /* 8023EA9C 0023B9FC C0 24 00 68 */ lfs f1, 0x68(r4) /* 8023EAA0 0023BA00 C0 04 00 60 */ lfs f0, 0x60(r4) /* 8023EAA4 0023BA04 EC 42 F0 28 */ fsubs f2, f2, f30 /* 8023EAA8 0023BA08 EC 21 E8 28 */ fsubs f1, f1, f29 /* 8023EAAC 0023BA0C EC 00 F8 28 */ fsubs f0, f0, f31 /* 8023EAB0 0023BA10 D0 41 00 20 */ stfs f2, 0x20(r1) /* 8023EAB4 0023BA14 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 8023EAB8 0023BA18 D0 21 00 24 */ stfs f1, 0x24(r1) /* 8023EABC 0023BA1C 48 0D 5D FD */ bl Magnitude__9CVector3fCFv /* 8023EAC0 0023BA20 FF 80 08 90 */ fmr f28, f1 /* 8023EAC4 0023BA24 80 9E 04 7C */ lwz r4, 0x47c(r30) /* 8023EAC8 0023BA28 C0 22 B7 B0 */ lfs f1, lbl_805AD4D0@sda21(r2) /* 8023EACC 0023BA2C 7F E6 FB 78 */ mr r6, r31 /* 8023EAD0 0023BA30 C0 C4 00 04 */ lfs f6, 4(r4) /* 8023EAD4 0023BA34 38 61 00 40 */ addi r3, r1, 0x40 /* 8023EAD8 0023BA38 FC 00 E0 50 */ fneg f0, f28 /* 8023EADC 0023BA3C C0 A4 00 14 */ lfs f5, 0x14(r4) /* 8023EAE0 0023BA40 C0 64 00 24 */ lfs f3, 0x24(r4) /* 8023EAE4 0023BA44 38 81 00 34 */ addi r4, r1, 0x34 /* 8023EAE8 0023BA48 C0 81 00 44 */ lfs f4, 0x44(r1) /* 8023EAEC 0023BA4C 38 A1 00 18 */ addi r5, r1, 0x18 /* 8023EAF0 0023BA50 EC E1 00 32 */ fmuls f7, f1, f0 /* 8023EAF4 0023BA54 C0 41 00 48 */ lfs f2, 0x48(r1) /* 8023EAF8 0023BA58 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8023EAFC 0023BA5C EC C7 01 B2 */ fmuls f6, f7, f6 /* 8023EB00 0023BA60 EC A7 01 72 */ fmuls f5, f7, f5 /* 8023EB04 0023BA64 EC 67 00 F2 */ fmuls f3, f7, f3 /* 8023EB08 0023BA68 EC 06 00 2A */ fadds f0, f6, f0 /* 8023EB0C 0023BA6C EC 85 20 2A */ fadds f4, f5, f4 /* 8023EB10 0023BA70 EC 43 10 2A */ fadds f2, f3, f2 /* 8023EB14 0023BA74 D0 01 00 34 */ stfs f0, 0x34(r1) /* 8023EB18 0023BA78 D0 81 00 38 */ stfs f4, 0x38(r1) /* 8023EB1C 0023BA7C D0 41 00 3C */ stfs f2, 0x3c(r1) /* 8023EB20 0023BA80 48 00 03 49 */ bl CheckTransitionLineOfSight__11CBallCameraFRC9CVector3fRC9CVector3fRffR13CStateManager /* 8023EB24 0023BA84 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023EB28 0023BA88 41 82 00 50 */ beq lbl_8023EB78 /* 8023EB2C 0023BA8C C0 01 00 18 */ lfs f0, 0x18(r1) /* 8023EB30 0023BA90 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023EB34 0023BA94 FC C0 00 50 */ fneg f6, f0 /* 8023EB38 0023BA98 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8023EB3C 0023BA9C C0 23 00 04 */ lfs f1, 4(r3) /* 8023EB40 0023BAA0 C0 63 00 14 */ lfs f3, 0x14(r3) /* 8023EB44 0023BAA4 EC 26 00 72 */ fmuls f1, f6, f1 /* 8023EB48 0023BAA8 C0 43 00 24 */ lfs f2, 0x24(r3) /* 8023EB4C 0023BAAC EC A6 00 F2 */ fmuls f5, f6, f3 /* 8023EB50 0023BAB0 C0 81 00 44 */ lfs f4, 0x44(r1) /* 8023EB54 0023BAB4 EC 66 00 B2 */ fmuls f3, f6, f2 /* 8023EB58 0023BAB8 C0 41 00 48 */ lfs f2, 0x48(r1) /* 8023EB5C 0023BABC EC 01 00 2A */ fadds f0, f1, f0 /* 8023EB60 0023BAC0 EC 85 20 2A */ fadds f4, f5, f4 /* 8023EB64 0023BAC4 EC 23 10 2A */ fadds f1, f3, f2 /* 8023EB68 0023BAC8 D0 03 00 6C */ stfs f0, 0x6c(r3) /* 8023EB6C 0023BACC D0 83 00 70 */ stfs f4, 0x70(r3) /* 8023EB70 0023BAD0 D0 23 00 74 */ stfs f1, 0x74(r3) /* 8023EB74 0023BAD4 48 00 00 24 */ b lbl_8023EB98 lbl_8023EB78: /* 8023EB78 0023BAD8 D3 81 00 18 */ stfs f28, 0x18(r1) /* 8023EB7C 0023BADC C0 01 00 34 */ lfs f0, 0x34(r1) /* 8023EB80 0023BAE0 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023EB84 0023BAE4 D0 03 00 6C */ stfs f0, 0x6c(r3) /* 8023EB88 0023BAE8 C0 01 00 38 */ lfs f0, 0x38(r1) /* 8023EB8C 0023BAEC D0 03 00 70 */ stfs f0, 0x70(r3) /* 8023EB90 0023BAF0 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 8023EB94 0023BAF4 D0 03 00 74 */ stfs f0, 0x74(r3) lbl_8023EB98: /* 8023EB98 0023BAF8 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023EB9C 0023BAFC 80 03 00 94 */ lwz r0, 0x94(r3) /* 8023EBA0 0023BB00 80 83 00 9C */ lwz r4, 0x9c(r3) /* 8023EBA4 0023BB04 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023EBA8 0023BB08 90 81 00 0C */ stw r4, 0xc(r1) /* 8023EBAC 0023BB0C 7C 04 02 14 */ add r0, r4, r0 /* 8023EBB0 0023BB10 90 81 00 08 */ stw r4, 8(r1) /* 8023EBB4 0023BB14 90 01 00 14 */ stw r0, 0x14(r1) /* 8023EBB8 0023BB18 90 01 00 10 */ stw r0, 0x10(r1) /* 8023EBBC 0023BB1C 48 00 00 08 */ b lbl_8023EBC4 lbl_8023EBC0: /* 8023EBC0 0023BB20 38 84 00 0C */ addi r4, r4, 0xc lbl_8023EBC4: /* 8023EBC4 0023BB24 7C 04 00 40 */ cmplw r4, r0 /* 8023EBC8 0023BB28 40 82 FF F8 */ bne lbl_8023EBC0 /* 8023EBCC 0023BB2C 38 00 00 00 */ li r0, 0 /* 8023EBD0 0023BB30 38 80 00 04 */ li r4, 4 /* 8023EBD4 0023BB34 90 03 00 94 */ stw r0, 0x94(r3) /* 8023EBD8 0023BB38 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023EBDC 0023BB3C 38 63 00 90 */ addi r3, r3, 0x90 /* 8023EBE0 0023BB40 4B E1 F1 19 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" /* 8023EBE4 0023BB44 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023EBE8 0023BB48 3B A3 00 90 */ addi r29, r3, 0x90 /* 8023EBEC 0023BB4C 80 03 00 94 */ lwz r0, 0x94(r3) /* 8023EBF0 0023BB50 80 A3 00 98 */ lwz r5, 0x98(r3) /* 8023EBF4 0023BB54 7C 00 28 00 */ cmpw r0, r5 /* 8023EBF8 0023BB58 41 80 00 1C */ blt lbl_8023EC14 /* 8023EBFC 0023BB5C 2C 05 00 00 */ cmpwi r5, 0 /* 8023EC00 0023BB60 7F A3 EB 78 */ mr r3, r29 /* 8023EC04 0023BB64 38 80 00 04 */ li r4, 4 /* 8023EC08 0023BB68 41 82 00 08 */ beq lbl_8023EC10 /* 8023EC0C 0023BB6C 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023EC10: /* 8023EC10 0023BB70 4B E1 F0 E9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_8023EC14: /* 8023EC14 0023BB74 80 1D 00 04 */ lwz r0, 4(r29) /* 8023EC18 0023BB78 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023EC1C 0023BB7C 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023EC20 0023BB80 7C 63 02 15 */ add. r3, r3, r0 /* 8023EC24 0023BB84 41 82 00 10 */ beq lbl_8023EC34 /* 8023EC28 0023BB88 D3 E3 00 00 */ stfs f31, 0(r3) /* 8023EC2C 0023BB8C D3 C3 00 04 */ stfs f30, 4(r3) /* 8023EC30 0023BB90 D3 A3 00 08 */ stfs f29, 8(r3) lbl_8023EC34: /* 8023EC34 0023BB94 80 7D 00 04 */ lwz r3, 4(r29) /* 8023EC38 0023BB98 38 03 00 01 */ addi r0, r3, 1 /* 8023EC3C 0023BB9C 90 1D 00 04 */ stw r0, 4(r29) /* 8023EC40 0023BBA0 83 9E 04 7C */ lwz r28, 0x47c(r30) /* 8023EC44 0023BBA4 3B BC 00 90 */ addi r29, r28, 0x90 /* 8023EC48 0023BBA8 80 1C 00 94 */ lwz r0, 0x94(r28) /* 8023EC4C 0023BBAC 80 BC 00 98 */ lwz r5, 0x98(r28) /* 8023EC50 0023BBB0 7C 00 28 00 */ cmpw r0, r5 /* 8023EC54 0023BBB4 41 80 00 1C */ blt lbl_8023EC70 /* 8023EC58 0023BBB8 2C 05 00 00 */ cmpwi r5, 0 /* 8023EC5C 0023BBBC 7F A3 EB 78 */ mr r3, r29 /* 8023EC60 0023BBC0 38 80 00 04 */ li r4, 4 /* 8023EC64 0023BBC4 41 82 00 08 */ beq lbl_8023EC6C /* 8023EC68 0023BBC8 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023EC6C: /* 8023EC6C 0023BBCC 4B E1 F0 8D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_8023EC70: /* 8023EC70 0023BBD0 80 1D 00 04 */ lwz r0, 4(r29) /* 8023EC74 0023BBD4 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023EC78 0023BBD8 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023EC7C 0023BBDC 7C 63 02 15 */ add. r3, r3, r0 /* 8023EC80 0023BBE0 41 82 00 1C */ beq lbl_8023EC9C /* 8023EC84 0023BBE4 C0 1C 00 6C */ lfs f0, 0x6c(r28) /* 8023EC88 0023BBE8 D0 03 00 00 */ stfs f0, 0(r3) /* 8023EC8C 0023BBEC C0 1C 00 70 */ lfs f0, 0x70(r28) /* 8023EC90 0023BBF0 D0 03 00 04 */ stfs f0, 4(r3) /* 8023EC94 0023BBF4 C0 1C 00 74 */ lfs f0, 0x74(r28) /* 8023EC98 0023BBF8 D0 03 00 08 */ stfs f0, 8(r3) lbl_8023EC9C: /* 8023EC9C 0023BBFC 80 7D 00 04 */ lwz r3, 4(r29) /* 8023ECA0 0023BC00 38 03 00 01 */ addi r0, r3, 1 /* 8023ECA4 0023BC04 90 1D 00 04 */ stw r0, 4(r29) /* 8023ECA8 0023BC08 83 9E 04 7C */ lwz r28, 0x47c(r30) /* 8023ECAC 0023BC0C 3B BC 00 90 */ addi r29, r28, 0x90 /* 8023ECB0 0023BC10 80 1C 00 94 */ lwz r0, 0x94(r28) /* 8023ECB4 0023BC14 80 BC 00 98 */ lwz r5, 0x98(r28) /* 8023ECB8 0023BC18 7C 00 28 00 */ cmpw r0, r5 /* 8023ECBC 0023BC1C 41 80 00 1C */ blt lbl_8023ECD8 /* 8023ECC0 0023BC20 2C 05 00 00 */ cmpwi r5, 0 /* 8023ECC4 0023BC24 7F A3 EB 78 */ mr r3, r29 /* 8023ECC8 0023BC28 38 80 00 04 */ li r4, 4 /* 8023ECCC 0023BC2C 41 82 00 08 */ beq lbl_8023ECD4 /* 8023ECD0 0023BC30 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023ECD4: /* 8023ECD4 0023BC34 4B E1 F0 25 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_8023ECD8: /* 8023ECD8 0023BC38 80 1D 00 04 */ lwz r0, 4(r29) /* 8023ECDC 0023BC3C 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023ECE0 0023BC40 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023ECE4 0023BC44 7C 63 02 15 */ add. r3, r3, r0 /* 8023ECE8 0023BC48 41 82 00 1C */ beq lbl_8023ED04 /* 8023ECEC 0023BC4C C0 1C 00 6C */ lfs f0, 0x6c(r28) /* 8023ECF0 0023BC50 D0 03 00 00 */ stfs f0, 0(r3) /* 8023ECF4 0023BC54 C0 1C 00 70 */ lfs f0, 0x70(r28) /* 8023ECF8 0023BC58 D0 03 00 04 */ stfs f0, 4(r3) /* 8023ECFC 0023BC5C C0 1C 00 74 */ lfs f0, 0x74(r28) /* 8023ED00 0023BC60 D0 03 00 08 */ stfs f0, 8(r3) lbl_8023ED04: /* 8023ED04 0023BC64 80 7D 00 04 */ lwz r3, 4(r29) /* 8023ED08 0023BC68 38 03 00 01 */ addi r0, r3, 1 /* 8023ED0C 0023BC6C 90 1D 00 04 */ stw r0, 4(r29) /* 8023ED10 0023BC70 80 7E 04 7C */ lwz r3, 0x47c(r30) /* 8023ED14 0023BC74 3B A3 00 90 */ addi r29, r3, 0x90 /* 8023ED18 0023BC78 80 03 00 94 */ lwz r0, 0x94(r3) /* 8023ED1C 0023BC7C 80 A3 00 98 */ lwz r5, 0x98(r3) /* 8023ED20 0023BC80 7C 00 28 00 */ cmpw r0, r5 /* 8023ED24 0023BC84 41 80 00 1C */ blt lbl_8023ED40 /* 8023ED28 0023BC88 2C 05 00 00 */ cmpwi r5, 0 /* 8023ED2C 0023BC8C 7F A3 EB 78 */ mr r3, r29 /* 8023ED30 0023BC90 38 80 00 04 */ li r4, 4 /* 8023ED34 0023BC94 41 82 00 08 */ beq lbl_8023ED3C /* 8023ED38 0023BC98 54 A4 08 3C */ slwi r4, r5, 1 lbl_8023ED3C: /* 8023ED3C 0023BC9C 4B E1 EF BD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" lbl_8023ED40: /* 8023ED40 0023BCA0 80 1D 00 04 */ lwz r0, 4(r29) /* 8023ED44 0023BCA4 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8023ED48 0023BCA8 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023ED4C 0023BCAC 7C 63 02 15 */ add. r3, r3, r0 /* 8023ED50 0023BCB0 41 82 00 1C */ beq lbl_8023ED6C /* 8023ED54 0023BCB4 C0 01 00 40 */ lfs f0, 0x40(r1) /* 8023ED58 0023BCB8 D0 03 00 00 */ stfs f0, 0(r3) /* 8023ED5C 0023BCBC C0 01 00 44 */ lfs f0, 0x44(r1) /* 8023ED60 0023BCC0 D0 03 00 04 */ stfs f0, 4(r3) /* 8023ED64 0023BCC4 C0 01 00 48 */ lfs f0, 0x48(r1) /* 8023ED68 0023BCC8 D0 03 00 08 */ stfs f0, 8(r3) lbl_8023ED6C: /* 8023ED6C 0023BCCC 80 BD 00 04 */ lwz r5, 4(r29) /* 8023ED70 0023BCD0 7F C3 F3 78 */ mr r3, r30 /* 8023ED74 0023BCD4 7F E4 FB 78 */ mr r4, r31 /* 8023ED78 0023BCD8 38 05 00 01 */ addi r0, r5, 1 /* 8023ED7C 0023BCDC 90 1D 00 04 */ stw r0, 4(r29) /* 8023ED80 0023BCE0 4B E4 2A 51 */ bl CheckFailsafeFromMorphBallState__11CBallCameraCFR13CStateManager /* 8023ED84 0023BCE4 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 /* 8023ED88 0023BCE8 CB E1 00 90 */ lfd f31, 0x90(r1) /* 8023ED8C 0023BCEC E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 /* 8023ED90 0023BCF0 CB C1 00 80 */ lfd f30, 0x80(r1) /* 8023ED94 0023BCF4 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 /* 8023ED98 0023BCF8 CB A1 00 70 */ lfd f29, 0x70(r1) /* 8023ED9C 0023BCFC E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 /* 8023EDA0 0023BD00 CB 81 00 60 */ lfd f28, 0x60(r1) /* 8023EDA4 0023BD04 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 8023EDA8 0023BD08 83 C1 00 58 */ lwz r30, 0x58(r1) /* 8023EDAC 0023BD0C 83 A1 00 54 */ lwz r29, 0x54(r1) /* 8023EDB0 0023BD10 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 8023EDB4 0023BD14 83 81 00 50 */ lwz r28, 0x50(r1) /* 8023EDB8 0023BD18 7C 08 03 A6 */ mtlr r0 /* 8023EDBC 0023BD1C 38 21 00 A0 */ addi r1, r1, 0xa0 /* 8023EDC0 0023BD20 4E 80 00 20 */ blr .global "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f" "GetFailsafeBezierPoint__11CBallCameraFRCQ24rstl18vector<9CVector3f>f": /* 8023EDC4 0023BD24 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023EDC8 0023BD28 7C 08 02 A6 */ mflr r0 /* 8023EDCC 0023BD2C C8 62 B7 B8 */ lfd f3, lbl_805AD4D8@sda21(r2) /* 8023EDD0 0023BD30 38 E0 00 00 */ li r7, 0 /* 8023EDD4 0023BD34 90 01 00 24 */ stw r0, 0x24(r1) /* 8023EDD8 0023BD38 3C 00 43 30 */ lis r0, 0x4330 /* 8023EDDC 0023BD3C C0 02 B7 A4 */ lfs f0, lbl_805AD4C4@sda21(r2) /* 8023EDE0 0023BD40 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023EDE4 0023BD44 7C 7F 1B 78 */ mr r31, r3 /* 8023EDE8 0023BD48 80 A4 00 04 */ lwz r5, 4(r4) /* 8023EDEC 0023BD4C 90 01 00 08 */ stw r0, 8(r1) /* 8023EDF0 0023BD50 38 05 FF FD */ addi r0, r5, -3 /* 8023EDF4 0023BD54 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8023EDF8 0023BD58 90 01 00 0C */ stw r0, 0xc(r1) /* 8023EDFC 0023BD5C C8 41 00 08 */ lfd f2, 8(r1) /* 8023EE00 0023BD60 EC 42 18 28 */ fsubs f2, f2, f3 /* 8023EE04 0023BD64 EC 21 00 B2 */ fmuls f1, f1, f2 /* 8023EE08 0023BD68 48 00 00 0C */ b lbl_8023EE14 lbl_8023EE0C: /* 8023EE0C 0023BD6C EC 21 00 28 */ fsubs f1, f1, f0 /* 8023EE10 0023BD70 38 E7 00 01 */ addi r7, r7, 1 lbl_8023EE14: /* 8023EE14 0023BD74 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8023EE18 0023BD78 41 81 FF F4 */ bgt lbl_8023EE0C /* 8023EE1C 0023BD7C 38 67 00 03 */ addi r3, r7, 3 /* 8023EE20 0023BD80 38 A7 00 01 */ addi r5, r7, 1 /* 8023EE24 0023BD84 38 07 00 02 */ addi r0, r7, 2 /* 8023EE28 0023BD88 81 04 00 0C */ lwz r8, 0xc(r4) /* 8023EE2C 0023BD8C 1C C3 00 0C */ mulli r6, r3, 0xc /* 8023EE30 0023BD90 7F E3 FB 78 */ mr r3, r31 /* 8023EE34 0023BD94 1C 87 00 0C */ mulli r4, r7, 0xc /* 8023EE38 0023BD98 7C E8 32 14 */ add r7, r8, r6 /* 8023EE3C 0023BD9C 1C A5 00 0C */ mulli r5, r5, 0xc /* 8023EE40 0023BDA0 7C 88 22 14 */ add r4, r8, r4 /* 8023EE44 0023BDA4 1C 00 00 0C */ mulli r0, r0, 0xc /* 8023EE48 0023BDA8 7C A8 2A 14 */ add r5, r8, r5 /* 8023EE4C 0023BDAC 7C C8 02 14 */ add r6, r8, r0 /* 8023EE50 0023BDB0 48 0D 60 C9 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff /* 8023EE54 0023BDB4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023EE58 0023BDB8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023EE5C 0023BDBC 7C 08 03 A6 */ mtlr r0 /* 8023EE60 0023BDC0 38 21 00 20 */ addi r1, r1, 0x20 /* 8023EE64 0023BDC4 4E 80 00 20 */ blr .global CheckTransitionLineOfSight__11CBallCameraFRC9CVector3fRC9CVector3fRffR13CStateManager CheckTransitionLineOfSight__11CBallCameraFRC9CVector3fRC9CVector3fRffR13CStateManager: /* 8023EE68 0023BDC8 94 21 DB 00 */ stwu r1, -0x2500(r1) /* 8023EE6C 0023BDCC 7C 08 02 A6 */ mflr r0 /* 8023EE70 0023BDD0 90 01 25 04 */ stw r0, 0x2504(r1) /* 8023EE74 0023BDD4 38 00 24 F8 */ li r0, 0x24f8 /* 8023EE78 0023BDD8 DB E1 24 F0 */ stfd f31, 0x24f0(r1) /* 8023EE7C 0023BDDC 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 /* 8023EE80 0023BDE0 38 00 24 E8 */ li r0, 0x24e8 /* 8023EE84 0023BDE4 DB C1 24 E0 */ stfd f30, 0x24e0(r1) /* 8023EE88 0023BDE8 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 /* 8023EE8C 0023BDEC 38 00 24 D8 */ li r0, 0x24d8 /* 8023EE90 0023BDF0 DB A1 24 D0 */ stfd f29, 0x24d0(r1) /* 8023EE94 0023BDF4 13 A1 00 0E */ psq_stx f29, r1, r0, 0, qr0 /* 8023EE98 0023BDF8 38 00 24 C8 */ li r0, 0x24c8 /* 8023EE9C 0023BDFC DB 81 24 C0 */ stfd f28, 0x24c0(r1) /* 8023EEA0 0023BE00 13 81 00 0E */ psq_stx f28, r1, r0, 0, qr0 /* 8023EEA4 0023BE04 BF 41 24 A8 */ stmw r26, 0x24a8(r1) /* 8023EEA8 0023BE08 7C 7C 1B 78 */ mr r28, r3 /* 8023EEAC 0023BE0C 7C 9A 23 78 */ mr r26, r4 /* 8023EEB0 0023BE10 C0 84 00 04 */ lfs f4, 4(r4) /* 8023EEB4 0023BE14 FF A0 08 90 */ fmr f29, f1 /* 8023EEB8 0023BE18 C0 03 00 04 */ lfs f0, 4(r3) /* 8023EEBC 0023BE1C 7C BD 2B 78 */ mr r29, r5 /* 8023EEC0 0023BE20 C0 64 00 08 */ lfs f3, 8(r4) /* 8023EEC4 0023BE24 7C DE 33 78 */ mr r30, r6 /* 8023EEC8 0023BE28 C0 43 00 08 */ lfs f2, 8(r3) /* 8023EECC 0023BE2C EC 84 00 28 */ fsubs f4, f4, f0 /* 8023EED0 0023BE30 C0 24 00 00 */ lfs f1, 0(r4) /* 8023EED4 0023BE34 C0 03 00 00 */ lfs f0, 0(r3) /* 8023EED8 0023BE38 EC 43 10 28 */ fsubs f2, f3, f2 /* 8023EEDC 0023BE3C 38 61 00 58 */ addi r3, r1, 0x58 /* 8023EEE0 0023BE40 EC 01 00 28 */ fsubs f0, f1, f0 /* 8023EEE4 0023BE44 D0 81 00 5C */ stfs f4, 0x5c(r1) /* 8023EEE8 0023BE48 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8023EEEC 0023BE4C D0 41 00 60 */ stfs f2, 0x60(r1) /* 8023EEF0 0023BE50 48 0D 59 C9 */ bl Magnitude__9CVector3fCFv /* 8023EEF4 0023BE54 FF E0 08 90 */ fmr f31, f1 /* 8023EEF8 0023BE58 C0 22 B7 A4 */ lfs f1, lbl_805AD4C4@sda21(r2) /* 8023EEFC 0023BE5C C0 02 B7 C0 */ lfs f0, lbl_805AD4E0@sda21(r2) /* 8023EF00 0023BE60 3B E0 00 01 */ li r31, 1 /* 8023EF04 0023BE64 C0 61 00 58 */ lfs f3, 0x58(r1) /* 8023EF08 0023BE68 EC 81 F8 24 */ fdivs f4, f1, f31 /* 8023EF0C 0023BE6C C0 41 00 5C */ lfs f2, 0x5c(r1) /* 8023EF10 0023BE70 C0 21 00 60 */ lfs f1, 0x60(r1) /* 8023EF14 0023BE74 EC 64 00 F2 */ fmuls f3, f4, f3 /* 8023EF18 0023BE78 EC 44 00 B2 */ fmuls f2, f4, f2 /* 8023EF1C 0023BE7C EC 24 00 72 */ fmuls f1, f4, f1 /* 8023EF20 0023BE80 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 8023EF24 0023BE84 D0 61 00 4C */ stfs f3, 0x4c(r1) /* 8023EF28 0023BE88 D0 41 00 50 */ stfs f2, 0x50(r1) /* 8023EF2C 0023BE8C D0 21 00 54 */ stfs f1, 0x54(r1) /* 8023EF30 0023BE90 40 81 03 B0 */ ble lbl_8023F2E0 /* 8023EF34 0023BE94 3C 60 80 5A */ lis r3, lbl_805A6754@ha /* 8023EF38 0023BE98 C0 02 B7 C4 */ lfs f0, lbl_805AD4E4@sda21(r2) /* 8023EF3C 0023BE9C 38 A3 67 54 */ addi r5, r3, lbl_805A6754@l /* 8023EF40 0023BEA0 7F 84 E3 78 */ mr r4, r28 /* 8023EF44 0023BEA4 C0 A5 00 00 */ lfs f5, 0(r5) /* 8023EF48 0023BEA8 EF C0 07 72 */ fmuls f30, f0, f29 /* 8023EF4C 0023BEAC C0 85 00 04 */ lfs f4, 4(r5) /* 8023EF50 0023BEB0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8023EF54 0023BEB4 C0 65 00 08 */ lfs f3, 8(r5) /* 8023EF58 0023BEB8 C0 45 00 0C */ lfs f2, 0xc(r5) /* 8023EF5C 0023BEBC C0 25 00 10 */ lfs f1, 0x10(r5) /* 8023EF60 0023BEC0 C0 05 00 14 */ lfs f0, 0x14(r5) /* 8023EF64 0023BEC4 D0 A1 00 B8 */ stfs f5, 0xb8(r1) /* 8023EF68 0023BEC8 D0 81 00 BC */ stfs f4, 0xbc(r1) /* 8023EF6C 0023BECC D0 61 00 C0 */ stfs f3, 0xc0(r1) /* 8023EF70 0023BED0 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 8023EF74 0023BED4 D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 8023EF78 0023BED8 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 8023EF7C 0023BEDC 48 0F 8B 8D */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8023EF80 0023BEE0 7F 44 D3 78 */ mr r4, r26 /* 8023EF84 0023BEE4 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8023EF88 0023BEE8 48 0F 8B 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f /* 8023EF8C 0023BEEC C0 41 00 C8 */ lfs f2, 0xc8(r1) /* 8023EF90 0023BEF0 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8023EF94 0023BEF4 C0 21 00 CC */ lfs f1, 0xcc(r1) /* 8023EF98 0023BEF8 38 81 00 40 */ addi r4, r1, 0x40 /* 8023EF9C 0023BEFC C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 8023EFA0 0023BF00 EC A2 F0 2A */ fadds f5, f2, f30 /* 8023EFA4 0023BF04 C0 41 00 BC */ lfs f2, 0xbc(r1) /* 8023EFA8 0023BF08 EC 81 F0 2A */ fadds f4, f1, f30 /* 8023EFAC 0023BF0C C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 8023EFB0 0023BF10 EC 60 F0 2A */ fadds f3, f0, f30 /* 8023EFB4 0023BF14 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 8023EFB8 0023BF18 EC 42 F0 28 */ fsubs f2, f2, f30 /* 8023EFBC 0023BF1C D0 A1 00 38 */ stfs f5, 0x38(r1) /* 8023EFC0 0023BF20 EC 21 F0 28 */ fsubs f1, f1, f30 /* 8023EFC4 0023BF24 38 A1 00 34 */ addi r5, r1, 0x34 /* 8023EFC8 0023BF28 EC 00 F0 28 */ fsubs f0, f0, f30 /* 8023EFCC 0023BF2C D0 61 00 34 */ stfs f3, 0x34(r1) /* 8023EFD0 0023BF30 D0 81 00 3C */ stfs f4, 0x3c(r1) /* 8023EFD4 0023BF34 D0 01 00 40 */ stfs f0, 0x40(r1) /* 8023EFD8 0023BF38 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8023EFDC 0023BF3C D0 21 00 48 */ stfs f1, 0x48(r1) /* 8023EFE0 0023BF40 48 0F 95 29 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 8023EFE4 0023BF44 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 8023EFE8 0023BF48 38 00 00 00 */ li r0, 0 /* 8023EFEC 0023BF4C 81 61 00 A4 */ lwz r11, 0xa4(r1) /* 8023EFF0 0023BF50 7F C3 F3 78 */ mr r3, r30 /* 8023EFF4 0023BF54 81 41 00 A8 */ lwz r10, 0xa8(r1) /* 8023EFF8 0023BF58 38 81 1C A4 */ addi r4, r1, 0x1ca4 /* 8023EFFC 0023BF5C 81 21 00 AC */ lwz r9, 0xac(r1) /* 8023F000 0023BF60 38 C1 00 B8 */ addi r6, r1, 0xb8 /* 8023F004 0023BF64 81 01 00 B0 */ lwz r8, 0xb0(r1) /* 8023F008 0023BF68 80 E1 00 B4 */ lwz r7, 0xb4(r1) /* 8023F00C 0023BF6C 90 A1 00 B8 */ stw r5, 0xb8(r1) /* 8023F010 0023BF70 80 BE 08 4C */ lwz r5, 0x84c(r30) /* 8023F014 0023BF74 91 61 00 BC */ stw r11, 0xbc(r1) /* 8023F018 0023BF78 91 41 00 C0 */ stw r10, 0xc0(r1) /* 8023F01C 0023BF7C 91 21 00 C4 */ stw r9, 0xc4(r1) /* 8023F020 0023BF80 91 01 00 C8 */ stw r8, 0xc8(r1) /* 8023F024 0023BF84 90 E1 00 CC */ stw r7, 0xcc(r1) /* 8023F028 0023BF88 90 01 1C A4 */ stw r0, 0x1ca4(r1) /* 8023F02C 0023BF8C 4B E0 D6 D1 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" /* 8023F030 0023BF90 38 61 01 60 */ addi r3, r1, 0x160 /* 8023F034 0023BF94 38 81 00 B8 */ addi r4, r1, 0xb8 /* 8023F038 0023BF98 48 06 4A 59 */ bl __ct__19CAreaCollisionCacheFRC6CAABox /* 8023F03C 0023BF9C 7F C3 F3 78 */ mr r3, r30 /* 8023F040 0023BFA0 38 81 01 60 */ addi r4, r1, 0x160 /* 8023F044 0023BFA4 4B F4 56 81 */ bl BuildAreaCollisionCache__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCache /* 8023F048 0023BFA8 88 01 1C A0 */ lbz r0, 0x1ca0(r1) /* 8023F04C 0023BFAC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023F050 0023BFB0 41 82 00 08 */ beq lbl_8023F058 /* 8023F054 0023BFB4 3B E0 00 00 */ li r31, 0 lbl_8023F058: /* 8023F058 0023BFB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 /* 8023F05C 0023BFBC 41 82 01 98 */ beq lbl_8023F1F4 /* 8023F060 0023BFC0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8023F064 0023BFC4 38 61 01 00 */ addi r3, r1, 0x100 /* 8023F068 0023BFC8 38 80 00 00 */ li r4, 0 /* 8023F06C 0023BFCC B0 01 00 10 */ sth r0, 0x10(r1) /* 8023F070 0023BFD0 48 08 F1 19 */ bl __ct__14CCollisionInfoFQ214CCollisionInfo8EInvalid /* 8023F074 0023BFD4 38 00 00 00 */ li r0, 0 /* 8023F078 0023BFD8 80 AD 96 90 */ lwz r5, lbl_805A8250@sda21(r13) /* 8023F07C 0023BFDC DB E1 00 20 */ stfd f31, 0x20(r1) /* 8023F080 0023BFE0 38 60 00 00 */ li r3, 0 /* 8023F084 0023BFE4 38 80 00 01 */ li r4, 1 /* 8023F088 0023BFE8 90 01 00 1C */ stw r0, 0x1c(r1) /* 8023F08C 0023BFEC 90 01 00 18 */ stw r0, 0x18(r1) /* 8023F090 0023BFF0 48 14 AE 65 */ bl __shl2i /* 8023F094 0023BFF4 80 01 00 18 */ lwz r0, 0x18(r1) /* 8023F098 0023BFF8 3C A0 80 5A */ lis r5, skZero3f@ha /* 8023F09C 0023BFFC C7 C5 66 A0 */ lfsu f30, skZero3f@l(r5) /* 8023F0A0 0023C000 7C 00 1B 78 */ or r0, r0, r3 /* 8023F0A4 0023C004 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 8023F0A8 0023C008 90 01 00 18 */ stw r0, 0x18(r1) /* 8023F0AC 0023C00C 38 61 00 80 */ addi r3, r1, 0x80 /* 8023F0B0 0023C010 7C C4 23 78 */ or r4, r6, r4 /* 8023F0B4 0023C014 C3 E5 00 04 */ lfs f31, 4(r5) /* 8023F0B8 0023C018 90 81 00 1C */ stw r4, 0x1c(r1) /* 8023F0BC 0023C01C 38 81 00 18 */ addi r4, r1, 0x18 /* 8023F0C0 0023C020 C3 85 00 08 */ lfs f28, 8(r5) /* 8023F0C4 0023C024 48 09 07 F1 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList /* 8023F0C8 0023C028 80 E1 00 4C */ lwz r7, 0x4c(r1) /* 8023F0CC 0023C02C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha /* 8023F0D0 0023C030 39 03 CA F8 */ addi r8, r3, lbl_803ECAF8@l /* 8023F0D4 0023C034 80 C1 00 50 */ lwz r6, 0x50(r1) /* 8023F0D8 0023C038 80 01 00 54 */ lwz r0, 0x54(r1) /* 8023F0DC 0023C03C 38 60 00 00 */ li r3, 0 /* 8023F0E0 0023C040 80 AD 96 98 */ lwz r5, lbl_805A8258@sda21(r13) /* 8023F0E4 0023C044 38 80 00 01 */ li r4, 1 /* 8023F0E8 0023C048 91 01 00 80 */ stw r8, 0x80(r1) /* 8023F0EC 0023C04C D3 C1 00 90 */ stfs f30, 0x90(r1) /* 8023F0F0 0023C050 D3 E1 00 94 */ stfs f31, 0x94(r1) /* 8023F0F4 0023C054 D3 81 00 98 */ stfs f28, 0x98(r1) /* 8023F0F8 0023C058 D3 A1 00 9C */ stfs f29, 0x9c(r1) /* 8023F0FC 0023C05C 90 E1 00 28 */ stw r7, 0x28(r1) /* 8023F100 0023C060 90 C1 00 2C */ stw r6, 0x2c(r1) /* 8023F104 0023C064 90 01 00 30 */ stw r0, 0x30(r1) /* 8023F108 0023C068 48 14 AD ED */ bl __shl2i /* 8023F10C 0023C06C 80 AD 96 9C */ lwz r5, lbl_805A825C@sda21(r13) /* 8023F110 0023C070 7C 9A 23 78 */ mr r26, r4 /* 8023F114 0023C074 7C 7B 1B 78 */ mr r27, r3 /* 8023F118 0023C078 38 60 00 00 */ li r3, 0 /* 8023F11C 0023C07C 38 80 00 01 */ li r4, 1 /* 8023F120 0023C080 48 14 AD D5 */ bl __shl2i /* 8023F124 0023C084 80 AD 96 A0 */ lwz r5, lbl_805A8260@sda21(r13) /* 8023F128 0023C088 7F 5A 23 78 */ or r26, r26, r4 /* 8023F12C 0023C08C 7F 7B 1B 78 */ or r27, r27, r3 /* 8023F130 0023C090 38 60 00 00 */ li r3, 0 /* 8023F134 0023C094 38 80 00 01 */ li r4, 1 /* 8023F138 0023C098 48 14 AD BD */ bl __shl2i /* 8023F13C 0023C09C 80 AD 96 A4 */ lwz r5, lbl_805A8264@sda21(r13) /* 8023F140 0023C0A0 7F 5A 23 78 */ or r26, r26, r4 /* 8023F144 0023C0A4 7F 7B 1B 78 */ or r27, r27, r3 /* 8023F148 0023C0A8 38 60 00 00 */ li r3, 0 /* 8023F14C 0023C0AC 38 80 00 01 */ li r4, 1 /* 8023F150 0023C0B0 48 14 AD A5 */ bl __shl2i /* 8023F154 0023C0B4 80 AD 96 94 */ lwz r5, lbl_805A8254@sda21(r13) /* 8023F158 0023C0B8 7F 5A 23 78 */ or r26, r26, r4 /* 8023F15C 0023C0BC 7F 7B 1B 78 */ or r27, r27, r3 /* 8023F160 0023C0C0 38 60 00 00 */ li r3, 0 /* 8023F164 0023C0C4 38 80 00 01 */ li r4, 1 /* 8023F168 0023C0C8 48 14 AD 8D */ bl __shl2i /* 8023F16C 0023C0CC 38 00 00 03 */ li r0, 3 /* 8023F170 0023C0D0 90 81 00 6C */ stw r4, 0x6c(r1) /* 8023F174 0023C0D4 7F 84 E3 78 */ mr r4, r28 /* 8023F178 0023C0D8 90 61 00 68 */ stw r3, 0x68(r1) /* 8023F17C 0023C0DC 38 61 00 D0 */ addi r3, r1, 0xd0 /* 8023F180 0023C0E0 93 41 00 74 */ stw r26, 0x74(r1) /* 8023F184 0023C0E4 93 61 00 70 */ stw r27, 0x70(r1) /* 8023F188 0023C0E8 90 01 00 78 */ stw r0, 0x78(r1) /* 8023F18C 0023C0EC 48 0D 3F B5 */ bl Translate__12CTransform4fFRC9CVector3f /* 8023F190 0023C0F0 38 61 01 00 */ addi r3, r1, 0x100 /* 8023F194 0023C0F4 38 01 00 20 */ addi r0, r1, 0x20 /* 8023F198 0023C0F8 90 61 00 08 */ stw r3, 8(r1) /* 8023F19C 0023C0FC 7F C3 F3 78 */ mr r3, r30 /* 8023F1A0 0023C100 38 81 01 60 */ addi r4, r1, 0x160 /* 8023F1A4 0023C104 38 A1 00 80 */ addi r5, r1, 0x80 /* 8023F1A8 0023C108 90 01 00 0C */ stw r0, 0xc(r1) /* 8023F1AC 0023C10C 38 C1 00 D0 */ addi r6, r1, 0xd0 /* 8023F1B0 0023C110 38 E1 00 68 */ addi r7, r1, 0x68 /* 8023F1B4 0023C114 39 01 1C A4 */ addi r8, r1, 0x1ca4 /* 8023F1B8 0023C118 39 21 00 28 */ addi r9, r1, 0x28 /* 8023F1BC 0023C11C 39 41 00 10 */ addi r10, r1, 0x10 /* 8023F1C0 0023C120 4B F4 51 2D */ bl "DetectCollision_Cached_Moving__14CGameCollisionFRC13CStateManagerR19CAreaCollisionCacheRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>9CVector3fR9TUniqueIdR14CCollisionInfoRd" /* 8023F1C4 0023C124 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha /* 8023F1C8 0023C128 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023F1CC 0023C12C 38 84 CA F8 */ addi r4, r4, lbl_803ECAF8@l /* 8023F1D0 0023C130 3C 60 80 3E */ lis r3, lbl_803D97E4@ha /* 8023F1D4 0023C134 90 81 00 80 */ stw r4, 0x80(r1) /* 8023F1D8 0023C138 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l /* 8023F1DC 0023C13C 90 61 00 80 */ stw r3, 0x80(r1) /* 8023F1E0 0023C140 41 82 00 14 */ beq lbl_8023F1F4 /* 8023F1E4 0023C144 C8 01 00 20 */ lfd f0, 0x20(r1) /* 8023F1E8 0023C148 3B E0 00 00 */ li r31, 0 /* 8023F1EC 0023C14C FC 00 00 18 */ frsp f0, f0 /* 8023F1F0 0023C150 D0 1D 00 00 */ stfs f0, 0(r29) lbl_8023F1F4: /* 8023F1F4 0023C154 34 E1 01 78 */ addic. r7, r1, 0x178 /* 8023F1F8 0023C158 41 82 00 94 */ beq lbl_8023F28C /* 8023F1FC 0023C15C 38 C7 00 04 */ addi r6, r7, 4 /* 8023F200 0023C160 38 60 00 00 */ li r3, 0 /* 8023F204 0023C164 48 00 00 74 */ b lbl_8023F278 lbl_8023F208: /* 8023F208 0023C168 28 06 00 00 */ cmplwi r6, 0 /* 8023F20C 0023C16C 41 82 00 64 */ beq lbl_8023F270 /* 8023F210 0023C170 34 06 00 04 */ addic. r0, r6, 4 /* 8023F214 0023C174 41 82 00 5C */ beq lbl_8023F270 /* 8023F218 0023C178 81 06 00 04 */ lwz r8, 4(r6) /* 8023F21C 0023C17C 38 80 00 00 */ li r4, 0 /* 8023F220 0023C180 2C 08 00 00 */ cmpwi r8, 0 /* 8023F224 0023C184 40 81 00 44 */ ble lbl_8023F268 /* 8023F228 0023C188 2C 08 00 08 */ cmpwi r8, 8 /* 8023F22C 0023C18C 38 A8 FF F8 */ addi r5, r8, -8 /* 8023F230 0023C190 40 81 00 20 */ ble lbl_8023F250 /* 8023F234 0023C194 38 05 00 07 */ addi r0, r5, 7 /* 8023F238 0023C198 54 00 E8 FE */ srwi r0, r0, 3 /* 8023F23C 0023C19C 7C 09 03 A6 */ mtctr r0 /* 8023F240 0023C1A0 2C 05 00 00 */ cmpwi r5, 0 /* 8023F244 0023C1A4 40 81 00 0C */ ble lbl_8023F250 lbl_8023F248: /* 8023F248 0023C1A8 38 84 00 08 */ addi r4, r4, 8 /* 8023F24C 0023C1AC 42 00 FF FC */ bdnz lbl_8023F248 lbl_8023F250: /* 8023F250 0023C1B0 7C 04 40 50 */ subf r0, r4, r8 /* 8023F254 0023C1B4 7C 09 03 A6 */ mtctr r0 /* 8023F258 0023C1B8 7C 04 40 00 */ cmpw r4, r8 /* 8023F25C 0023C1BC 40 80 00 0C */ bge lbl_8023F268 lbl_8023F260: /* 8023F260 0023C1C0 38 84 00 01 */ addi r4, r4, 1 /* 8023F264 0023C1C4 42 00 FF FC */ bdnz lbl_8023F260 lbl_8023F268: /* 8023F268 0023C1C8 38 00 00 00 */ li r0, 0 /* 8023F26C 0023C1CC 90 06 00 04 */ stw r0, 4(r6) lbl_8023F270: /* 8023F270 0023C1D0 38 C6 09 0C */ addi r6, r6, 0x90c /* 8023F274 0023C1D4 38 63 00 01 */ addi r3, r3, 1 lbl_8023F278: /* 8023F278 0023C1D8 80 07 00 00 */ lwz r0, 0(r7) /* 8023F27C 0023C1DC 7C 03 00 00 */ cmpw r3, r0 /* 8023F280 0023C1E0 41 80 FF 88 */ blt lbl_8023F208 /* 8023F284 0023C1E4 38 00 00 00 */ li r0, 0 /* 8023F288 0023C1E8 90 07 00 00 */ stw r0, 0(r7) lbl_8023F28C: /* 8023F28C 0023C1EC 80 A1 1C A4 */ lwz r5, 0x1ca4(r1) /* 8023F290 0023C1F0 38 60 00 00 */ li r3, 0 /* 8023F294 0023C1F4 2C 05 00 00 */ cmpwi r5, 0 /* 8023F298 0023C1F8 40 81 00 40 */ ble lbl_8023F2D8 /* 8023F29C 0023C1FC 2C 05 00 08 */ cmpwi r5, 8 /* 8023F2A0 0023C200 38 85 FF F8 */ addi r4, r5, -8 /* 8023F2A4 0023C204 40 81 00 20 */ ble lbl_8023F2C4 /* 8023F2A8 0023C208 38 04 00 07 */ addi r0, r4, 7 /* 8023F2AC 0023C20C 54 00 E8 FE */ srwi r0, r0, 3 /* 8023F2B0 0023C210 7C 09 03 A6 */ mtctr r0 /* 8023F2B4 0023C214 2C 04 00 00 */ cmpwi r4, 0 /* 8023F2B8 0023C218 40 81 00 0C */ ble lbl_8023F2C4 lbl_8023F2BC: /* 8023F2BC 0023C21C 38 63 00 08 */ addi r3, r3, 8 /* 8023F2C0 0023C220 42 00 FF FC */ bdnz lbl_8023F2BC lbl_8023F2C4: /* 8023F2C4 0023C224 7C 03 28 50 */ subf r0, r3, r5 /* 8023F2C8 0023C228 7C 09 03 A6 */ mtctr r0 /* 8023F2CC 0023C22C 7C 03 28 00 */ cmpw r3, r5 /* 8023F2D0 0023C230 40 80 00 08 */ bge lbl_8023F2D8 lbl_8023F2D4: /* 8023F2D4 0023C234 42 00 00 00 */ bdnz lbl_8023F2D4 lbl_8023F2D8: /* 8023F2D8 0023C238 38 00 00 00 */ li r0, 0 /* 8023F2DC 0023C23C 90 01 1C A4 */ stw r0, 0x1ca4(r1) lbl_8023F2E0: /* 8023F2E0 0023C240 57 E0 06 3E */ clrlwi r0, r31, 0x18 /* 8023F2E4 0023C244 7C 00 00 34 */ cntlzw r0, r0 /* 8023F2E8 0023C248 54 03 D9 7E */ srwi r3, r0, 5 /* 8023F2EC 0023C24C 38 00 24 F8 */ li r0, 0x24f8 /* 8023F2F0 0023C250 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 /* 8023F2F4 0023C254 CB E1 24 F0 */ lfd f31, 0x24f0(r1) /* 8023F2F8 0023C258 38 00 24 E8 */ li r0, 0x24e8 /* 8023F2FC 0023C25C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 /* 8023F300 0023C260 CB C1 24 E0 */ lfd f30, 0x24e0(r1) /* 8023F304 0023C264 38 00 24 D8 */ li r0, 0x24d8 /* 8023F308 0023C268 13 A1 00 0C */ psq_lx f29, r1, r0, 0, qr0 /* 8023F30C 0023C26C CB A1 24 D0 */ lfd f29, 0x24d0(r1) /* 8023F310 0023C270 38 00 24 C8 */ li r0, 0x24c8 /* 8023F314 0023C274 13 81 00 0C */ psq_lx f28, r1, r0, 0, qr0 /* 8023F318 0023C278 CB 81 24 C0 */ lfd f28, 0x24c0(r1) /* 8023F31C 0023C27C BB 41 24 A8 */ lmw r26, 0x24a8(r1) /* 8023F320 0023C280 80 01 25 04 */ lwz r0, 0x2504(r1) /* 8023F324 0023C284 7C 08 03 A6 */ mtlr r0 /* 8023F328 0023C288 38 21 25 00 */ addi r1, r1, 0x2500 /* 8023F32C 0023C28C 4E 80 00 20 */ blr .global __dt__17CActorContraption __dt__17CActorContraption: /* 8023F330 0023C290 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023F334 0023C294 7C 08 02 A6 */ mflr r0 /* 8023F338 0023C298 90 01 00 14 */ stw r0, 0x14(r1) /* 8023F33C 0023C29C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8023F340 0023C2A0 7C 9F 23 78 */ mr r31, r4 /* 8023F344 0023C2A4 93 C1 00 08 */ stw r30, 8(r1) /* 8023F348 0023C2A8 7C 7E 1B 79 */ or. r30, r3, r3 /* 8023F34C 0023C2AC 41 82 00 4C */ beq lbl_8023F398 /* 8023F350 0023C2B0 3C 60 80 3F */ lis r3, lbl_803E85E8@ha /* 8023F354 0023C2B4 34 1E 03 00 */ addic. r0, r30, 0x300 /* 8023F358 0023C2B8 38 03 85 E8 */ addi r0, r3, lbl_803E85E8@l /* 8023F35C 0023C2BC 90 1E 00 00 */ stw r0, 0(r30) /* 8023F360 0023C2C0 41 82 00 10 */ beq lbl_8023F370 /* 8023F364 0023C2C4 38 7E 03 00 */ addi r3, r30, 0x300 /* 8023F368 0023C2C8 38 80 00 00 */ li r4, 0 /* 8023F36C 0023C2CC 48 10 1A D5 */ bl __dt__6CTokenFv lbl_8023F370: /* 8023F370 0023C2D0 38 7E 02 E8 */ addi r3, r30, 0x2e8 /* 8023F374 0023C2D4 38 80 FF FF */ li r4, -1 /* 8023F378 0023C2D8 48 00 07 E9 */ bl sub_8023fb60 /* 8023F37C 0023C2DC 7F C3 F3 78 */ mr r3, r30 /* 8023F380 0023C2E0 38 80 00 00 */ li r4, 0 /* 8023F384 0023C2E4 4B E3 64 C9 */ bl __dt__12CScriptActorFv /* 8023F388 0023C2E8 7F E0 07 35 */ extsh. r0, r31 /* 8023F38C 0023C2EC 40 81 00 0C */ ble lbl_8023F398 /* 8023F390 0023C2F0 7F C3 F3 78 */ mr r3, r30 /* 8023F394 0023C2F4 48 0D 65 9D */ bl Free__7CMemoryFPCv lbl_8023F398: /* 8023F398 0023C2F8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023F39C 0023C2FC 7F C3 F3 78 */ mr r3, r30 /* 8023F3A0 0023C300 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8023F3A4 0023C304 83 C1 00 08 */ lwz r30, 8(r1) /* 8023F3A8 0023C308 7C 08 03 A6 */ mtlr r0 /* 8023F3AC 0023C30C 38 21 00 10 */ addi r1, r1, 0x10 /* 8023F3B0 0023C310 4E 80 00 20 */ blr .global Accept__17CActorContraptionFR8IVisitor Accept__17CActorContraptionFR8IVisitor: /* 8023F3B4 0023C314 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023F3B8 0023C318 7C 08 02 A6 */ mflr r0 /* 8023F3BC 0023C31C 90 01 00 14 */ stw r0, 0x14(r1) /* 8023F3C0 0023C320 7C 60 1B 78 */ mr r0, r3 /* 8023F3C4 0023C324 7C 83 23 78 */ mr r3, r4 /* 8023F3C8 0023C328 81 84 00 00 */ lwz r12, 0(r4) /* 8023F3CC 0023C32C 7C 04 03 78 */ mr r4, r0 /* 8023F3D0 0023C330 81 8C 00 5C */ lwz r12, 0x5c(r12) /* 8023F3D4 0023C334 7D 89 03 A6 */ mtctr r12 /* 8023F3D8 0023C338 4E 80 04 21 */ bctrl /* 8023F3DC 0023C33C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023F3E0 0023C340 7C 08 03 A6 */ mtlr r0 /* 8023F3E4 0023C344 38 21 00 10 */ addi r1, r1, 0x10 /* 8023F3E8 0023C348 4E 80 00 20 */ blr .global DoUserAnimEvent__17CActorContraptionFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__17CActorContraptionFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 8023F3EC 0023C34C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023F3F0 0023C350 7C 08 02 A6 */ mflr r0 /* 8023F3F4 0023C354 2C 06 00 09 */ cmpwi r6, 9 /* 8023F3F8 0023C358 90 01 00 24 */ stw r0, 0x24(r1) /* 8023F3FC 0023C35C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023F400 0023C360 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023F404 0023C364 7C BE 2B 78 */ mr r30, r5 /* 8023F408 0023C368 93 A1 00 14 */ stw r29, 0x14(r1) /* 8023F40C 0023C36C 7C 9D 23 78 */ mr r29, r4 /* 8023F410 0023C370 93 81 00 10 */ stw r28, 0x10(r1) /* 8023F414 0023C374 7C 7C 1B 78 */ mr r28, r3 /* 8023F418 0023C378 41 82 00 48 */ beq lbl_8023F460 /* 8023F41C 0023C37C 40 80 00 A8 */ bge lbl_8023F4C4 /* 8023F420 0023C380 2C 06 00 08 */ cmpwi r6, 8 /* 8023F424 0023C384 40 80 00 08 */ bge lbl_8023F42C /* 8023F428 0023C388 48 00 00 9C */ b lbl_8023F4C4 lbl_8023F42C: /* 8023F42C 0023C38C 7F A5 EB 78 */ mr r5, r29 /* 8023F430 0023C390 38 9E 00 3C */ addi r4, r30, 0x3c /* 8023F434 0023C394 48 00 03 15 */ bl sub_8023f748 /* 8023F438 0023C398 28 03 00 00 */ cmplwi r3, 0 /* 8023F43C 0023C39C 41 82 00 98 */ beq lbl_8023F4D4 /* 8023F440 0023C3A0 88 03 04 00 */ lbz r0, 0x400(r3) /* 8023F444 0023C3A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023F448 0023C3A8 40 82 00 8C */ bne lbl_8023F4D4 /* 8023F44C 0023C3AC 7F A5 EB 78 */ mr r5, r29 /* 8023F450 0023C3B0 38 9C 00 34 */ addi r4, r28, 0x34 /* 8023F454 0023C3B4 38 C0 00 00 */ li r6, 0 /* 8023F458 0023C3B8 4B F5 8E 95 */ bl Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb /* 8023F45C 0023C3BC 48 00 00 78 */ b lbl_8023F4D4 lbl_8023F460: /* 8023F460 0023C3C0 83 FC 02 EC */ lwz r31, 0x2ec(r28) /* 8023F464 0023C3C4 48 00 00 50 */ b lbl_8023F4B4 lbl_8023F468: /* 8023F468 0023C3C8 38 7F 00 0C */ addi r3, r31, 0xc /* 8023F46C 0023C3CC 38 9E 00 3C */ addi r4, r30, 0x3c /* 8023F470 0023C3D0 4B E1 31 71 */ 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" /* 8023F474 0023C3D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023F478 0023C3D8 41 82 00 38 */ beq lbl_8023F4B0 /* 8023F47C 0023C3DC A0 1F 00 08 */ lhz r0, 8(r31) /* 8023F480 0023C3E0 7F A3 EB 78 */ mr r3, r29 /* 8023F484 0023C3E4 38 81 00 08 */ addi r4, r1, 8 /* 8023F488 0023C3E8 B0 01 00 08 */ sth r0, 8(r1) /* 8023F48C 0023C3EC 4B E0 D0 E9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023F490 0023C3F0 28 03 00 00 */ cmplwi r3, 0 /* 8023F494 0023C3F4 41 82 00 1C */ beq lbl_8023F4B0 /* 8023F498 0023C3F8 88 03 04 00 */ lbz r0, 0x400(r3) /* 8023F49C 0023C3FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023F4A0 0023C400 41 82 00 10 */ beq lbl_8023F4B0 /* 8023F4A4 0023C404 7F A4 EB 78 */ mr r4, r29 /* 8023F4A8 0023C408 38 A0 00 00 */ li r5, 0 /* 8023F4AC 0023C40C 4B F5 8D 15 */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_8023F4B0: /* 8023F4B0 0023C410 83 FF 00 04 */ lwz r31, 4(r31) lbl_8023F4B4: /* 8023F4B4 0023C414 80 1C 02 F0 */ lwz r0, 0x2f0(r28) /* 8023F4B8 0023C418 7C 1F 00 40 */ cmplw r31, r0 /* 8023F4BC 0023C41C 40 82 FF AC */ bne lbl_8023F468 /* 8023F4C0 0023C420 48 00 00 14 */ b lbl_8023F4D4 lbl_8023F4C4: /* 8023F4C4 0023C424 7F 83 E3 78 */ mr r3, r28 /* 8023F4C8 0023C428 7F A4 EB 78 */ mr r4, r29 /* 8023F4CC 0023C42C 7F C5 F3 78 */ mr r5, r30 /* 8023F4D0 0023C430 4B E1 5D 4D */ bl DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_8023F4D4: /* 8023F4D4 0023C434 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023F4D8 0023C438 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023F4DC 0023C43C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023F4E0 0023C440 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8023F4E4 0023C444 83 81 00 10 */ lwz r28, 0x10(r1) /* 8023F4E8 0023C448 7C 08 03 A6 */ mtlr r0 /* 8023F4EC 0023C44C 38 21 00 20 */ addi r1, r1, 0x20 /* 8023F4F0 0023C450 4E 80 00 20 */ blr .global AcceptScriptMsg__17CActorContraptionF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__17CActorContraptionF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8023F4F4 0023C454 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8023F4F8 0023C458 7C 08 02 A6 */ mflr r0 /* 8023F4FC 0023C45C 90 01 00 34 */ stw r0, 0x34(r1) /* 8023F500 0023C460 BF 41 00 18 */ stmw r26, 0x18(r1) /* 8023F504 0023C464 7C 9A 23 78 */ mr r26, r4 /* 8023F508 0023C468 2C 1A 00 21 */ cmpwi r26, 0x21 /* 8023F50C 0023C46C 7C 7E 1B 78 */ mr r30, r3 /* 8023F510 0023C470 7C BB 2B 78 */ mr r27, r5 /* 8023F514 0023C474 7C DF 33 78 */ mr r31, r6 /* 8023F518 0023C478 88 03 00 30 */ lbz r0, 0x30(r3) /* 8023F51C 0023C47C 54 1D CF FE */ rlwinm r29, r0, 0x19, 0x1f, 0x1f /* 8023F520 0023C480 41 82 00 20 */ beq lbl_8023F540 /* 8023F524 0023C484 40 80 00 10 */ bge lbl_8023F534 /* 8023F528 0023C488 2C 1A 00 0D */ cmpwi r26, 0xd /* 8023F52C 0023C48C 41 82 00 60 */ beq lbl_8023F58C /* 8023F530 0023C490 48 00 00 A8 */ b lbl_8023F5D8 lbl_8023F534: /* 8023F534 0023C494 2C 1A 00 23 */ cmpwi r26, 0x23 /* 8023F538 0023C498 40 80 00 A0 */ bge lbl_8023F5D8 /* 8023F53C 0023C49C 48 00 00 14 */ b lbl_8023F550 lbl_8023F540: /* 8023F540 0023C4A0 7F E5 FB 78 */ mr r5, r31 /* 8023F544 0023C4A4 38 80 00 1B */ li r4, 0x1b /* 8023F548 0023C4A8 4B E1 4E 09 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager /* 8023F54C 0023C4AC 48 00 00 8C */ b lbl_8023F5D8 lbl_8023F550: /* 8023F550 0023C4B0 83 9E 02 EC */ lwz r28, 0x2ec(r30) /* 8023F554 0023C4B4 48 00 00 28 */ b lbl_8023F57C lbl_8023F558: /* 8023F558 0023C4B8 A0 1C 00 08 */ lhz r0, 8(r28) /* 8023F55C 0023C4BC 7F E3 FB 78 */ mr r3, r31 /* 8023F560 0023C4C0 38 81 00 14 */ addi r4, r1, 0x14 /* 8023F564 0023C4C4 B0 01 00 14 */ sth r0, 0x14(r1) /* 8023F568 0023C4C8 4B E0 CD 05 */ bl FreeScriptObject__13CStateManagerF9TUniqueId /* 8023F56C 0023C4CC 7F 84 E3 78 */ mr r4, r28 /* 8023F570 0023C4D0 38 7E 02 E8 */ addi r3, r30, 0x2e8 /* 8023F574 0023C4D4 48 00 05 4D */ bl sub_8023fac0 /* 8023F578 0023C4D8 7C 7C 1B 78 */ mr r28, r3 lbl_8023F57C: /* 8023F57C 0023C4DC 80 1E 02 F0 */ lwz r0, 0x2f0(r30) /* 8023F580 0023C4E0 7C 1C 00 40 */ cmplw r28, r0 /* 8023F584 0023C4E4 40 82 FF D4 */ bne lbl_8023F558 /* 8023F588 0023C4E8 48 00 00 50 */ b lbl_8023F5D8 lbl_8023F58C: /* 8023F58C 0023C4EC 83 9E 02 EC */ lwz r28, 0x2ec(r30) /* 8023F590 0023C4F0 48 00 00 3C */ b lbl_8023F5CC lbl_8023F594: /* 8023F594 0023C4F4 A0 1C 00 08 */ lhz r0, 8(r28) /* 8023F598 0023C4F8 7F E3 FB 78 */ mr r3, r31 /* 8023F59C 0023C4FC 38 81 00 10 */ addi r4, r1, 0x10 /* 8023F5A0 0023C500 B0 01 00 10 */ sth r0, 0x10(r1) /* 8023F5A4 0023C504 4B E0 CF D1 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023F5A8 0023C508 28 03 00 00 */ cmplwi r3, 0 /* 8023F5AC 0023C50C 41 82 00 1C */ beq lbl_8023F5C8 /* 8023F5B0 0023C510 88 03 04 00 */ lbz r0, 0x400(r3) /* 8023F5B4 0023C514 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023F5B8 0023C518 41 82 00 10 */ beq lbl_8023F5C8 /* 8023F5BC 0023C51C 7F E4 FB 78 */ mr r4, r31 /* 8023F5C0 0023C520 38 A0 00 00 */ li r5, 0 /* 8023F5C4 0023C524 4B F5 8B FD */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_8023F5C8: /* 8023F5C8 0023C528 83 9C 00 04 */ lwz r28, 4(r28) lbl_8023F5CC: /* 8023F5CC 0023C52C 80 1E 02 F0 */ lwz r0, 0x2f0(r30) /* 8023F5D0 0023C530 7C 1C 00 40 */ cmplw r28, r0 /* 8023F5D4 0023C534 40 82 FF C0 */ bne lbl_8023F594 lbl_8023F5D8: /* 8023F5D8 0023C538 A0 1B 00 00 */ lhz r0, 0(r27) /* 8023F5DC 0023C53C 7F C3 F3 78 */ mr r3, r30 /* 8023F5E0 0023C540 7F 44 D3 78 */ mr r4, r26 /* 8023F5E4 0023C544 7F E6 FB 78 */ mr r6, r31 /* 8023F5E8 0023C548 B0 01 00 0C */ sth r0, 0xc(r1) /* 8023F5EC 0023C54C 38 A1 00 0C */ addi r5, r1, 0xc /* 8023F5F0 0023C550 4B E3 5D 11 */ bl AcceptScriptMsg__12CScriptActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8023F5F4 0023C554 88 1E 00 30 */ lbz r0, 0x30(r30) /* 8023F5F8 0023C558 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f /* 8023F5FC 0023C55C 7C 1D 00 40 */ cmplw r29, r0 /* 8023F600 0023C560 41 82 00 60 */ beq lbl_8023F660 /* 8023F604 0023C564 28 00 00 00 */ cmplwi r0, 0 /* 8023F608 0023C568 40 82 00 58 */ bne lbl_8023F660 /* 8023F60C 0023C56C 83 9E 02 EC */ lwz r28, 0x2ec(r30) /* 8023F610 0023C570 48 00 00 3C */ b lbl_8023F64C lbl_8023F614: /* 8023F614 0023C574 A0 1C 00 08 */ lhz r0, 8(r28) /* 8023F618 0023C578 7F E3 FB 78 */ mr r3, r31 /* 8023F61C 0023C57C 38 81 00 08 */ addi r4, r1, 8 /* 8023F620 0023C580 B0 01 00 08 */ sth r0, 8(r1) /* 8023F624 0023C584 4B E0 CF 51 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023F628 0023C588 28 03 00 00 */ cmplwi r3, 0 /* 8023F62C 0023C58C 41 82 00 1C */ beq lbl_8023F648 /* 8023F630 0023C590 88 03 04 00 */ lbz r0, 0x400(r3) /* 8023F634 0023C594 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8023F638 0023C598 41 82 00 10 */ beq lbl_8023F648 /* 8023F63C 0023C59C 7F E4 FB 78 */ mr r4, r31 /* 8023F640 0023C5A0 38 A0 00 00 */ li r5, 0 /* 8023F644 0023C5A4 4B F5 8B 7D */ bl Reset__13CFlameThrowerFR13CStateManagerb lbl_8023F648: /* 8023F648 0023C5A8 83 9C 00 04 */ lwz r28, 4(r28) lbl_8023F64C: /* 8023F64C 0023C5AC 80 1E 02 F0 */ lwz r0, 0x2f0(r30) /* 8023F650 0023C5B0 7C 1C 00 40 */ cmplw r28, r0 /* 8023F654 0023C5B4 40 82 FF C0 */ bne lbl_8023F614 /* 8023F658 0023C5B8 7F C3 F3 78 */ mr r3, r30 /* 8023F65C 0023C5BC 4B E1 5B E9 */ bl RemoveEmitter__6CActorFv lbl_8023F660: /* 8023F660 0023C5C0 BB 41 00 18 */ lmw r26, 0x18(r1) /* 8023F664 0023C5C4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8023F668 0023C5C8 7C 08 03 A6 */ mtlr r0 /* 8023F66C 0023C5CC 38 21 00 30 */ addi r1, r1, 0x30 /* 8023F670 0023C5D0 4E 80 00 20 */ blr .global Think__17CActorContraptionFfR13CStateManager Think__17CActorContraptionFfR13CStateManager: /* 8023F674 0023C5D4 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8023F678 0023C5D8 7C 08 02 A6 */ mflr r0 /* 8023F67C 0023C5DC 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8023F680 0023C5E0 DB E1 00 B8 */ stfd f31, 0xb8(r1) /* 8023F684 0023C5E4 FF E0 08 90 */ fmr f31, f1 /* 8023F688 0023C5E8 93 E1 00 B4 */ stw r31, 0xb4(r1) /* 8023F68C 0023C5EC 93 C1 00 B0 */ stw r30, 0xb0(r1) /* 8023F690 0023C5F0 93 A1 00 AC */ stw r29, 0xac(r1) /* 8023F694 0023C5F4 7C 9D 23 78 */ mr r29, r4 /* 8023F698 0023C5F8 93 81 00 A8 */ stw r28, 0xa8(r1) /* 8023F69C 0023C5FC 7C 7C 1B 78 */ mr r28, r3 /* 8023F6A0 0023C600 4B E3 5E 6D */ bl Think__12CScriptActorFfR13CStateManager /* 8023F6A4 0023C604 83 FC 02 EC */ lwz r31, 0x2ec(r28) /* 8023F6A8 0023C608 48 00 00 70 */ b lbl_8023F718 lbl_8023F6AC: /* 8023F6AC 0023C60C A0 1F 00 08 */ lhz r0, 8(r31) /* 8023F6B0 0023C610 7F A3 EB 78 */ mr r3, r29 /* 8023F6B4 0023C614 38 81 00 08 */ addi r4, r1, 8 /* 8023F6B8 0023C618 B0 01 00 08 */ sth r0, 8(r1) /* 8023F6BC 0023C61C 4B E0 CE B9 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023F6C0 0023C620 7C 7E 1B 79 */ or. r30, r3, r3 /* 8023F6C4 0023C624 41 82 00 50 */ beq lbl_8023F714 /* 8023F6C8 0023C628 88 1E 00 30 */ lbz r0, 0x30(r30) /* 8023F6CC 0023C62C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023F6D0 0023C630 41 82 00 44 */ beq lbl_8023F714 /* 8023F6D4 0023C634 7F 84 E3 78 */ mr r4, r28 /* 8023F6D8 0023C638 38 61 00 0C */ addi r3, r1, 0xc /* 8023F6DC 0023C63C 38 BF 00 0C */ addi r5, r31, 0xc /* 8023F6E0 0023C640 4B E1 37 F1 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8023F6E4 0023C644 38 61 00 3C */ addi r3, r1, 0x3c /* 8023F6E8 0023C648 38 9C 00 34 */ addi r4, r28, 0x34 /* 8023F6EC 0023C64C 38 A1 00 0C */ addi r5, r1, 0xc /* 8023F6F0 0023C650 48 0D 32 61 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8023F6F4 0023C654 38 61 00 6C */ addi r3, r1, 0x6c /* 8023F6F8 0023C658 38 81 00 3C */ addi r4, r1, 0x3c /* 8023F6FC 0023C65C 48 0D 34 79 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8023F700 0023C660 FC 20 F8 90 */ fmr f1, f31 /* 8023F704 0023C664 7F C3 F3 78 */ mr r3, r30 /* 8023F708 0023C668 7F A5 EB 78 */ mr r5, r29 /* 8023F70C 0023C66C 38 81 00 6C */ addi r4, r1, 0x6c /* 8023F710 0023C670 4B F5 8C F1 */ bl SetTransform__13CFlameThrowerFRC12CTransform4f lbl_8023F714: /* 8023F714 0023C674 83 FF 00 04 */ lwz r31, 4(r31) lbl_8023F718: /* 8023F718 0023C678 80 1C 02 F0 */ lwz r0, 0x2f0(r28) /* 8023F71C 0023C67C 7C 1F 00 40 */ cmplw r31, r0 /* 8023F720 0023C680 40 82 FF 8C */ bne lbl_8023F6AC /* 8023F724 0023C684 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8023F728 0023C688 CB E1 00 B8 */ lfd f31, 0xb8(r1) /* 8023F72C 0023C68C 83 E1 00 B4 */ lwz r31, 0xb4(r1) /* 8023F730 0023C690 83 C1 00 B0 */ lwz r30, 0xb0(r1) /* 8023F734 0023C694 83 A1 00 AC */ lwz r29, 0xac(r1) /* 8023F738 0023C698 83 81 00 A8 */ lwz r28, 0xa8(r1) /* 8023F73C 0023C69C 7C 08 03 A6 */ mtlr r0 /* 8023F740 0023C6A0 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8023F744 0023C6A4 4E 80 00 20 */ blr .global sub_8023f748 sub_8023f748: /* 8023F748 0023C6A8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8023F74C 0023C6AC 7C 08 02 A6 */ mflr r0 /* 8023F750 0023C6B0 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8023F754 0023C6B4 BF 41 00 98 */ stmw r26, 0x98(r1) /* 8023F758 0023C6B8 7C 7B 1B 78 */ mr r27, r3 /* 8023F75C 0023C6BC 7C 9C 23 78 */ mr r28, r4 /* 8023F760 0023C6C0 7C BD 2B 78 */ mr r29, r5 /* 8023F764 0023C6C4 83 43 02 EC */ lwz r26, 0x2ec(r3) /* 8023F768 0023C6C8 48 00 00 34 */ b lbl_8023F79C lbl_8023F76C: /* 8023F76C 0023C6CC 7F 84 E3 78 */ mr r4, r28 /* 8023F770 0023C6D0 38 7A 00 0C */ addi r3, r26, 0xc /* 8023F774 0023C6D4 4B E1 2E 6D */ 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" /* 8023F778 0023C6D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023F77C 0023C6DC 41 82 00 1C */ beq lbl_8023F798 /* 8023F780 0023C6E0 A0 1A 00 08 */ lhz r0, 8(r26) /* 8023F784 0023C6E4 7F A3 EB 78 */ mr r3, r29 /* 8023F788 0023C6E8 38 81 00 3C */ addi r4, r1, 0x3c /* 8023F78C 0023C6EC B0 01 00 3C */ sth r0, 0x3c(r1) /* 8023F790 0023C6F0 4B E0 CD E5 */ bl ObjectById__13CStateManagerF9TUniqueId /* 8023F794 0023C6F4 48 00 01 E4 */ b lbl_8023F978 lbl_8023F798: /* 8023F798 0023C6F8 83 5A 00 04 */ lwz r26, 4(r26) lbl_8023F79C: /* 8023F79C 0023C6FC 80 1B 02 F0 */ lwz r0, 0x2f0(r27) /* 8023F7A0 0023C700 7C 1A 00 40 */ cmplw r26, r0 /* 8023F7A4 0023C704 40 82 FF C8 */ bne lbl_8023F76C /* 8023F7A8 0023C708 80 DB 03 08 */ lwz r6, 0x308(r27) /* 8023F7AC 0023C70C 38 A0 00 06 */ li r5, 6 /* 8023F7B0 0023C710 C0 02 B7 CC */ lfs f0, lbl_805AD4EC@sda21(r2) /* 8023F7B4 0023C714 38 00 00 14 */ li r0, 0x14 /* 8023F7B8 0023C718 C0 22 B7 C8 */ lfs f1, lbl_805AD4E8@sda21(r2) /* 8023F7BC 0023C71C 7F A4 EB 78 */ mr r4, r29 /* 8023F7C0 0023C720 90 A1 00 74 */ stw r5, 0x74(r1) /* 8023F7C4 0023C724 38 61 00 38 */ addi r3, r1, 0x38 /* 8023F7C8 0023C728 90 A1 00 78 */ stw r5, 0x78(r1) /* 8023F7CC 0023C72C 90 C1 00 7C */ stw r6, 0x7c(r1) /* 8023F7D0 0023C730 90 01 00 80 */ stw r0, 0x80(r1) /* 8023F7D4 0023C734 D0 21 00 84 */ stfs f1, 0x84(r1) /* 8023F7D8 0023C738 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 8023F7DC 0023C73C D0 01 00 90 */ stfs f0, 0x90(r1) /* 8023F7E0 0023C740 4B E0 D8 FD */ bl AllocateUniqueId__13CStateManagerFv /* 8023F7E4 0023C744 A0 01 00 38 */ lhz r0, 0x38(r1) /* 8023F7E8 0023C748 3C 60 80 3D */ lis r3, lbl_803D43A0@ha /* 8023F7EC 0023C74C 38 83 43 A0 */ addi r4, r3, lbl_803D43A0@l /* 8023F7F0 0023C750 3B 40 00 00 */ li r26, 0 /* 8023F7F4 0023C754 B0 01 00 40 */ sth r0, 0x40(r1) /* 8023F7F8 0023C758 38 60 04 08 */ li r3, 0x408 /* 8023F7FC 0023C75C 38 A0 00 00 */ li r5, 0 /* 8023F800 0023C760 48 0D 60 6D */ bl __nw__FUlPCcPCc /* 8023F804 0023C764 7C 7F 1B 79 */ or. r31, r3, r3 /* 8023F808 0023C768 41 82 00 9C */ beq lbl_8023F8A4 /* 8023F80C 0023C76C A0 DB 00 08 */ lhz r6, 8(r27) /* 8023F810 0023C770 3C 60 80 3D */ lis r3, lbl_803D43A0@ha /* 8023F814 0023C774 38 83 43 A0 */ addi r4, r3, lbl_803D43A0@l /* 8023F818 0023C778 A0 01 00 40 */ lhz r0, 0x40(r1) /* 8023F81C 0023C77C B0 C1 00 34 */ sth r6, 0x34(r1) /* 8023F820 0023C780 38 61 00 4C */ addi r3, r1, 0x4c /* 8023F824 0023C784 38 84 00 07 */ addi r4, r4, 7 /* 8023F828 0023C788 80 BB 00 04 */ lwz r5, 4(r27) /* 8023F82C 0023C78C B0 C1 00 30 */ sth r6, 0x30(r1) /* 8023F830 0023C790 90 A1 00 44 */ stw r5, 0x44(r1) /* 8023F834 0023C794 90 A1 00 48 */ stw r5, 0x48(r1) /* 8023F838 0023C798 B0 01 00 2C */ sth r0, 0x2c(r1) /* 8023F83C 0023C79C 4B DC 54 7D */ bl string_l__4rstlFPCc /* 8023F840 0023C7A0 38 01 00 2C */ addi r0, r1, 0x2c /* 8023F844 0023C7A4 3C 60 80 5A */ lis r3, skIdentity4f@ha /* 8023F848 0023C7A8 90 01 00 08 */ stw r0, 8(r1) /* 8023F84C 0023C7AC 38 01 00 48 */ addi r0, r1, 0x48 /* 8023F850 0023C7B0 39 03 66 70 */ addi r8, r3, skIdentity4f@l /* 8023F854 0023C7B4 38 61 00 34 */ addi r3, r1, 0x34 /* 8023F858 0023C7B8 90 01 00 0C */ stw r0, 0xc(r1) /* 8023F85C 0023C7BC 38 A0 00 00 */ li r5, 0 /* 8023F860 0023C7C0 39 60 FF FF */ li r11, -1 /* 8023F864 0023C7C4 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) /* 8023F868 0023C7C8 90 61 00 10 */ stw r3, 0x10(r1) /* 8023F86C 0023C7CC 7F E3 FB 78 */ mr r3, r31 /* 8023F870 0023C7D0 38 9B 03 00 */ addi r4, r27, 0x300 /* 8023F874 0023C7D4 38 E1 00 74 */ addi r7, r1, 0x74 /* 8023F878 0023C7D8 90 A1 00 14 */ stw r5, 0x14(r1) /* 8023F87C 0023C7DC 38 A1 00 4C */ addi r5, r1, 0x4c /* 8023F880 0023C7E0 39 5B 03 0C */ addi r10, r27, 0x30c /* 8023F884 0023C7E4 3B 40 00 01 */ li r26, 1 /* 8023F888 0023C7E8 91 61 00 18 */ stw r11, 0x18(r1) /* 8023F88C 0023C7EC 38 C0 00 03 */ li r6, 3 /* 8023F890 0023C7F0 39 20 00 2F */ li r9, 0x2f /* 8023F894 0023C7F4 90 01 00 1C */ stw r0, 0x1c(r1) /* 8023F898 0023C7F8 91 61 00 20 */ stw r11, 0x20(r1) /* 8023F89C 0023C7FC 4B F5 92 55 */ bl "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi" /* 8023F8A0 0023C800 7C 7F 1B 78 */ mr r31, r3 lbl_8023F8A4: /* 8023F8A4 0023C804 7F 40 07 75 */ extsb. r0, r26 /* 8023F8A8 0023C808 7F FE FB 78 */ mr r30, r31 /* 8023F8AC 0023C80C 41 82 00 0C */ beq lbl_8023F8B8 /* 8023F8B0 0023C810 38 61 00 4C */ addi r3, r1, 0x4c /* 8023F8B4 0023C814 48 0F E2 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8023F8B8: /* 8023F8B8 0023C818 7F A3 EB 78 */ mr r3, r29 /* 8023F8BC 0023C81C 7F C4 F3 78 */ mr r4, r30 /* 8023F8C0 0023C820 4B E0 D2 55 */ bl AddObject__13CStateManagerFR7CEntity /* 8023F8C4 0023C824 A0 01 00 40 */ lhz r0, 0x40(r1) /* 8023F8C8 0023C828 3B E1 00 60 */ addi r31, r1, 0x60 /* 8023F8CC 0023C82C 7F E3 FB 78 */ mr r3, r31 /* 8023F8D0 0023C830 7F 84 E3 78 */ mr r4, r28 /* 8023F8D4 0023C834 B0 01 00 28 */ sth r0, 0x28(r1) /* 8023F8D8 0023C838 B0 01 00 5C */ sth r0, 0x5c(r1) /* 8023F8DC 0023C83C 48 0F E8 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8023F8E0 0023C840 38 00 00 00 */ li r0, 0 /* 8023F8E4 0023C844 3C 60 80 3D */ lis r3, lbl_803D43A0@ha /* 8023F8E8 0023C848 98 01 00 70 */ stb r0, 0x70(r1) /* 8023F8EC 0023C84C 38 83 43 A0 */ addi r4, r3, lbl_803D43A0@l /* 8023F8F0 0023C850 38 60 00 20 */ li r3, 0x20 /* 8023F8F4 0023C854 38 A0 00 00 */ li r5, 0 /* 8023F8F8 0023C858 83 BB 02 F0 */ lwz r29, 0x2f0(r27) /* 8023F8FC 0023C85C 83 5D 00 00 */ lwz r26, 0(r29) /* 8023F900 0023C860 48 0D 5F 19 */ bl __nwa__FUlPCcPCc /* 8023F904 0023C864 7C 7C 1B 79 */ or. r28, r3, r3 /* 8023F908 0023C868 41 82 00 0C */ beq lbl_8023F914 /* 8023F90C 0023C86C 93 5C 00 00 */ stw r26, 0(r28) /* 8023F910 0023C870 93 BC 00 04 */ stw r29, 4(r28) lbl_8023F914: /* 8023F914 0023C874 37 5C 00 08 */ addic. r26, r28, 8 /* 8023F918 0023C878 41 82 00 20 */ beq lbl_8023F938 /* 8023F91C 0023C87C A0 01 00 5C */ lhz r0, 0x5c(r1) /* 8023F920 0023C880 7F E4 FB 78 */ mr r4, r31 /* 8023F924 0023C884 38 7A 00 04 */ addi r3, r26, 4 /* 8023F928 0023C888 B0 1A 00 00 */ sth r0, 0(r26) /* 8023F92C 0023C88C 48 0F E8 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8023F930 0023C890 88 01 00 70 */ lbz r0, 0x70(r1) /* 8023F934 0023C894 98 1A 00 14 */ stb r0, 0x14(r26) lbl_8023F938: /* 8023F938 0023C898 80 1B 02 EC */ lwz r0, 0x2ec(r27) /* 8023F93C 0023C89C 7C 1D 00 40 */ cmplw r29, r0 /* 8023F940 0023C8A0 40 82 00 08 */ bne lbl_8023F948 /* 8023F944 0023C8A4 93 9B 02 EC */ stw r28, 0x2ec(r27) lbl_8023F948: /* 8023F948 0023C8A8 80 7C 00 00 */ lwz r3, 0(r28) /* 8023F94C 0023C8AC 28 1F 00 00 */ cmplwi r31, 0 /* 8023F950 0023C8B0 93 83 00 04 */ stw r28, 4(r3) /* 8023F954 0023C8B4 80 7C 00 04 */ lwz r3, 4(r28) /* 8023F958 0023C8B8 93 83 00 00 */ stw r28, 0(r3) /* 8023F95C 0023C8BC 80 7B 02 FC */ lwz r3, 0x2fc(r27) /* 8023F960 0023C8C0 38 03 00 01 */ addi r0, r3, 1 /* 8023F964 0023C8C4 90 1B 02 FC */ stw r0, 0x2fc(r27) /* 8023F968 0023C8C8 41 82 00 0C */ beq lbl_8023F974 /* 8023F96C 0023C8CC 7F E3 FB 78 */ mr r3, r31 /* 8023F970 0023C8D0 48 0F E1 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8023F974: /* 8023F974 0023C8D4 7F C3 F3 78 */ mr r3, r30 lbl_8023F978: /* 8023F978 0023C8D8 BB 41 00 98 */ lmw r26, 0x98(r1) /* 8023F97C 0023C8DC 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8023F980 0023C8E0 7C 08 03 A6 */ mtlr r0 /* 8023F984 0023C8E4 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8023F988 0023C8E8 4E 80 00 20 */ blr .global "__ct__17CActorContraptionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersiRC11CDamageInfob" "__ct__17CActorContraptionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersiRC11CDamageInfob": /* 8023F98C 0023C8EC 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8023F990 0023C8F0 7C 08 02 A6 */ mflr r0 /* 8023F994 0023C8F4 C0 62 B7 CC */ lfs f3, lbl_805AD4EC@sda21(r2) /* 8023F998 0023C8F8 90 01 00 54 */ stw r0, 0x54(r1) /* 8023F99C 0023C8FC 38 00 00 00 */ li r0, 0 /* 8023F9A0 0023C900 81 81 00 58 */ lwz r12, 0x58(r1) /* 8023F9A4 0023C904 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8023F9A8 0023C908 7C 7F 1B 78 */ mr r31, r3 /* 8023F9AC 0023C90C 81 61 00 5C */ lwz r11, 0x5c(r1) /* 8023F9B0 0023C910 93 C1 00 48 */ stw r30, 0x48(r1) /* 8023F9B4 0023C914 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8023F9B8 0023C918 93 A1 00 44 */ stw r29, 0x44(r1) /* 8023F9BC 0023C91C 83 A1 00 64 */ lwz r29, 0x64(r1) /* 8023F9C0 0023C920 A0 84 00 00 */ lhz r4, 0(r4) /* 8023F9C4 0023C924 B0 81 00 30 */ sth r4, 0x30(r1) /* 8023F9C8 0023C928 38 81 00 30 */ addi r4, r1, 0x30 /* 8023F9CC 0023C92C 91 81 00 08 */ stw r12, 8(r1) /* 8023F9D0 0023C930 81 81 00 60 */ lwz r12, 0x60(r1) /* 8023F9D4 0023C934 91 61 00 0C */ stw r11, 0xc(r1) /* 8023F9D8 0023C938 89 61 00 6F */ lbz r11, 0x6f(r1) /* 8023F9DC 0023C93C 91 81 00 10 */ stw r12, 0x10(r1) /* 8023F9E0 0023C940 90 01 00 14 */ stw r0, 0x14(r1) /* 8023F9E4 0023C944 91 61 00 18 */ stw r11, 0x18(r1) /* 8023F9E8 0023C948 90 01 00 1C */ stw r0, 0x1c(r1) /* 8023F9EC 0023C94C 90 01 00 20 */ stw r0, 0x20(r1) /* 8023F9F0 0023C950 90 01 00 24 */ stw r0, 0x24(r1) /* 8023F9F4 0023C954 90 01 00 28 */ stw r0, 0x28(r1) /* 8023F9F8 0023C958 90 01 00 2C */ stw r0, 0x2c(r1) /* 8023F9FC 0023C95C 4B E3 5E B1 */ bl "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" /* 8023FA00 0023C960 3C 80 80 3F */ lis r4, lbl_803E85E8@ha /* 8023FA04 0023C964 3C 60 80 3D */ lis r3, lbl_803D43A0@ha /* 8023FA08 0023C968 38 04 85 E8 */ addi r0, r4, lbl_803E85E8@l /* 8023FA0C 0023C96C 38 DF 02 F4 */ addi r6, r31, 0x2f4 /* 8023FA10 0023C970 90 1F 00 00 */ stw r0, 0(r31) /* 8023FA14 0023C974 38 83 43 A0 */ addi r4, r3, lbl_803D43A0@l /* 8023FA18 0023C978 38 00 00 00 */ li r0, 0 /* 8023FA1C 0023C97C 38 61 00 34 */ addi r3, r1, 0x34 /* 8023FA20 0023C980 90 DF 02 EC */ stw r6, 0x2ec(r31) /* 8023FA24 0023C984 38 A4 00 19 */ addi r5, r4, 0x19 /* 8023FA28 0023C988 90 DF 02 F0 */ stw r6, 0x2f0(r31) /* 8023FA2C 0023C98C 90 DF 02 F4 */ stw r6, 0x2f4(r31) /* 8023FA30 0023C990 90 DF 02 F8 */ stw r6, 0x2f8(r31) /* 8023FA34 0023C994 90 1F 02 FC */ stw r0, 0x2fc(r31) /* 8023FA38 0023C998 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8023FA3C 0023C99C 81 84 00 00 */ lwz r12, 0(r4) /* 8023FA40 0023C9A0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8023FA44 0023C9A4 7D 89 03 A6 */ mtctr r12 /* 8023FA48 0023C9A8 4E 80 04 21 */ bctrl /* 8023FA4C 0023C9AC 38 7F 03 00 */ addi r3, r31, 0x300 /* 8023FA50 0023C9B0 38 81 00 34 */ addi r4, r1, 0x34 /* 8023FA54 0023C9B4 48 10 14 55 */ bl __ct__6CTokenFRC6CToken /* 8023FA58 0023C9B8 38 61 00 34 */ addi r3, r1, 0x34 /* 8023FA5C 0023C9BC 38 80 FF FF */ li r4, -1 /* 8023FA60 0023C9C0 48 10 13 E1 */ bl __dt__6CTokenFv /* 8023FA64 0023C9C4 93 BF 03 08 */ stw r29, 0x308(r31) /* 8023FA68 0023C9C8 7F E3 FB 78 */ mr r3, r31 /* 8023FA6C 0023C9CC 80 1E 00 00 */ lwz r0, 0(r30) /* 8023FA70 0023C9D0 90 1F 03 0C */ stw r0, 0x30c(r31) /* 8023FA74 0023C9D4 88 1E 00 04 */ lbz r0, 4(r30) /* 8023FA78 0023C9D8 98 1F 03 10 */ stb r0, 0x310(r31) /* 8023FA7C 0023C9DC C0 1E 00 08 */ lfs f0, 8(r30) /* 8023FA80 0023C9E0 D0 1F 03 14 */ stfs f0, 0x314(r31) /* 8023FA84 0023C9E4 C0 1E 00 0C */ lfs f0, 0xc(r30) /* 8023FA88 0023C9E8 D0 1F 03 18 */ stfs f0, 0x318(r31) /* 8023FA8C 0023C9EC C0 1E 00 10 */ lfs f0, 0x10(r30) /* 8023FA90 0023C9F0 D0 1F 03 1C */ stfs f0, 0x31c(r31) /* 8023FA94 0023C9F4 C0 1E 00 14 */ lfs f0, 0x14(r30) /* 8023FA98 0023C9F8 D0 1F 03 20 */ stfs f0, 0x320(r31) /* 8023FA9C 0023C9FC 88 1E 00 18 */ lbz r0, 0x18(r30) /* 8023FAA0 0023CA00 98 1F 03 24 */ stb r0, 0x324(r31) /* 8023FAA4 0023CA04 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8023FAA8 0023CA08 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8023FAAC 0023CA0C 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8023FAB0 0023CA10 80 01 00 54 */ lwz r0, 0x54(r1) /* 8023FAB4 0023CA14 7C 08 03 A6 */ mtlr r0 /* 8023FAB8 0023CA18 38 21 00 50 */ addi r1, r1, 0x50 /* 8023FABC 0023CA1C 4E 80 00 20 */ blr .global sub_8023fac0 sub_8023fac0: /* 8023FAC0 0023CA20 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023FAC4 0023CA24 7C 08 02 A6 */ mflr r0 /* 8023FAC8 0023CA28 90 01 00 24 */ stw r0, 0x24(r1) /* 8023FACC 0023CA2C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023FAD0 0023CA30 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023FAD4 0023CA34 7C 9E 23 78 */ mr r30, r4 /* 8023FAD8 0023CA38 93 A1 00 14 */ stw r29, 0x14(r1) /* 8023FADC 0023CA3C 7C 7D 1B 78 */ mr r29, r3 /* 8023FAE0 0023CA40 80 03 00 04 */ lwz r0, 4(r3) /* 8023FAE4 0023CA44 83 E4 00 04 */ lwz r31, 4(r4) /* 8023FAE8 0023CA48 7C 1E 00 40 */ cmplw r30, r0 /* 8023FAEC 0023CA4C 40 82 00 08 */ bne lbl_8023FAF4 /* 8023FAF0 0023CA50 93 FD 00 04 */ stw r31, 4(r29) lbl_8023FAF4: /* 8023FAF4 0023CA54 80 1E 00 04 */ lwz r0, 4(r30) /* 8023FAF8 0023CA58 34 9E 00 08 */ addic. r4, r30, 8 /* 8023FAFC 0023CA5C 80 7E 00 00 */ lwz r3, 0(r30) /* 8023FB00 0023CA60 90 03 00 04 */ stw r0, 4(r3) /* 8023FB04 0023CA64 80 1E 00 00 */ lwz r0, 0(r30) /* 8023FB08 0023CA68 80 7E 00 04 */ lwz r3, 4(r30) /* 8023FB0C 0023CA6C 90 03 00 00 */ stw r0, 0(r3) /* 8023FB10 0023CA70 41 82 00 14 */ beq lbl_8023FB24 /* 8023FB14 0023CA74 34 04 00 04 */ addic. r0, r4, 4 /* 8023FB18 0023CA78 41 82 00 0C */ beq lbl_8023FB24 /* 8023FB1C 0023CA7C 38 64 00 04 */ addi r3, r4, 4 /* 8023FB20 0023CA80 48 0F DF C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8023FB24: /* 8023FB24 0023CA84 28 1E 00 00 */ cmplwi r30, 0 /* 8023FB28 0023CA88 41 82 00 0C */ beq lbl_8023FB34 /* 8023FB2C 0023CA8C 7F C3 F3 78 */ mr r3, r30 /* 8023FB30 0023CA90 48 0D 5E 01 */ bl Free__7CMemoryFPCv lbl_8023FB34: /* 8023FB34 0023CA94 80 9D 00 14 */ lwz r4, 0x14(r29) /* 8023FB38 0023CA98 7F E3 FB 78 */ mr r3, r31 /* 8023FB3C 0023CA9C 38 04 FF FF */ addi r0, r4, -1 /* 8023FB40 0023CAA0 90 1D 00 14 */ stw r0, 0x14(r29) /* 8023FB44 0023CAA4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023FB48 0023CAA8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023FB4C 0023CAAC 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8023FB50 0023CAB0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023FB54 0023CAB4 7C 08 03 A6 */ mtlr r0 /* 8023FB58 0023CAB8 38 21 00 20 */ addi r1, r1, 0x20 /* 8023FB5C 0023CABC 4E 80 00 20 */ blr .global sub_8023fb60 sub_8023fb60: /* 8023FB60 0023CAC0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8023FB64 0023CAC4 7C 08 02 A6 */ mflr r0 /* 8023FB68 0023CAC8 90 01 00 24 */ stw r0, 0x24(r1) /* 8023FB6C 0023CACC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8023FB70 0023CAD0 93 C1 00 18 */ stw r30, 0x18(r1) /* 8023FB74 0023CAD4 93 A1 00 14 */ stw r29, 0x14(r1) /* 8023FB78 0023CAD8 7C 9D 23 78 */ mr r29, r4 /* 8023FB7C 0023CADC 93 81 00 10 */ stw r28, 0x10(r1) /* 8023FB80 0023CAE0 7C 7C 1B 79 */ or. r28, r3, r3 /* 8023FB84 0023CAE4 41 82 00 58 */ beq lbl_8023FBDC /* 8023FB88 0023CAE8 83 FC 00 04 */ lwz r31, 4(r28) /* 8023FB8C 0023CAEC 48 00 00 34 */ b lbl_8023FBC0 lbl_8023FB90: /* 8023FB90 0023CAF0 7F FE FB 78 */ mr r30, r31 /* 8023FB94 0023CAF4 83 FF 00 04 */ lwz r31, 4(r31) /* 8023FB98 0023CAF8 34 7E 00 08 */ addic. r3, r30, 8 /* 8023FB9C 0023CAFC 41 82 00 14 */ beq lbl_8023FBB0 /* 8023FBA0 0023CB00 34 03 00 04 */ addic. r0, r3, 4 /* 8023FBA4 0023CB04 41 82 00 0C */ beq lbl_8023FBB0 /* 8023FBA8 0023CB08 38 63 00 04 */ addi r3, r3, 4 /* 8023FBAC 0023CB0C 48 0F DF 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8023FBB0: /* 8023FBB0 0023CB10 28 1E 00 00 */ cmplwi r30, 0 /* 8023FBB4 0023CB14 41 82 00 0C */ beq lbl_8023FBC0 /* 8023FBB8 0023CB18 7F C3 F3 78 */ mr r3, r30 /* 8023FBBC 0023CB1C 48 0D 5D 75 */ bl Free__7CMemoryFPCv lbl_8023FBC0: /* 8023FBC0 0023CB20 80 1C 00 08 */ lwz r0, 8(r28) /* 8023FBC4 0023CB24 7C 1F 00 40 */ cmplw r31, r0 /* 8023FBC8 0023CB28 40 82 FF C8 */ bne lbl_8023FB90 /* 8023FBCC 0023CB2C 7F A0 07 35 */ extsh. r0, r29 /* 8023FBD0 0023CB30 40 81 00 0C */ ble lbl_8023FBDC /* 8023FBD4 0023CB34 7F 83 E3 78 */ mr r3, r28 /* 8023FBD8 0023CB38 48 0D 5D 59 */ bl Free__7CMemoryFPCv lbl_8023FBDC: /* 8023FBDC 0023CB3C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8023FBE0 0023CB40 7F 83 E3 78 */ mr r3, r28 /* 8023FBE4 0023CB44 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8023FBE8 0023CB48 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8023FBEC 0023CB4C 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8023FBF0 0023CB50 83 81 00 10 */ lwz r28, 0x10(r1) /* 8023FBF4 0023CB54 7C 08 03 A6 */ mtlr r0 /* 8023FBF8 0023CB58 38 21 00 20 */ addi r1, r1, 0x20 /* 8023FBFC 0023CB5C 4E 80 00 20 */ blr .global AcceptScriptMsg__20CScriptSpindleCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__20CScriptSpindleCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8023FC00 0023CB60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023FC04 0023CB64 7C 08 02 A6 */ mflr r0 /* 8023FC08 0023CB68 90 01 00 14 */ stw r0, 0x14(r1) /* 8023FC0C 0023CB6C A0 05 00 00 */ lhz r0, 0(r5) /* 8023FC10 0023CB70 38 A1 00 08 */ addi r5, r1, 8 /* 8023FC14 0023CB74 B0 01 00 08 */ sth r0, 8(r1) /* 8023FC18 0023CB78 4B E1 B7 31 */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8023FC1C 0023CB7C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023FC20 0023CB80 7C 08 03 A6 */ mtlr r0 /* 8023FC24 0023CB84 38 21 00 10 */ addi r1, r1, 0x10 /* 8023FC28 0023CB88 4E 80 00 20 */ blr .global Render__20CScriptSpindleCameraCFRC13CStateManager Render__20CScriptSpindleCameraCFRC13CStateManager: /* 8023FC2C 0023CB8C 4E 80 00 20 */ blr .global Accept__20CScriptSpindleCameraFR8IVisitor Accept__20CScriptSpindleCameraFR8IVisitor: /* 8023FC30 0023CB90 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8023FC34 0023CB94 7C 08 02 A6 */ mflr r0 /* 8023FC38 0023CB98 90 01 00 14 */ stw r0, 0x14(r1) /* 8023FC3C 0023CB9C 7C 60 1B 78 */ mr r0, r3 /* 8023FC40 0023CBA0 7C 83 23 78 */ mr r3, r4 /* 8023FC44 0023CBA4 81 84 00 00 */ lwz r12, 0(r4) /* 8023FC48 0023CBA8 7C 04 03 78 */ mr r4, r0 /* 8023FC4C 0023CBAC 81 8C 00 E0 */ lwz r12, 0xe0(r12) /* 8023FC50 0023CBB0 7D 89 03 A6 */ mtctr r12 /* 8023FC54 0023CBB4 4E 80 04 21 */ bctrl /* 8023FC58 0023CBB8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8023FC5C 0023CBBC 7C 08 03 A6 */ mtlr r0 /* 8023FC60 0023CBC0 38 21 00 10 */ addi r1, r1, 0x10 /* 8023FC64 0023CBC4 4E 80 00 20 */ blr .global ProcessInput__20CScriptSpindleCameraFRC11CFinalInputR13CStateManager ProcessInput__20CScriptSpindleCameraFRC11CFinalInputR13CStateManager: /* 8023FC68 0023CBC8 4E 80 00 20 */ blr .global Think__20CScriptSpindleCameraFfR13CStateManager Think__20CScriptSpindleCameraFfR13CStateManager: /* 8023FC6C 0023CBCC 94 21 FC A0 */ stwu r1, -0x360(r1) /* 8023FC70 0023CBD0 7C 08 02 A6 */ mflr r0 /* 8023FC74 0023CBD4 90 01 03 64 */ stw r0, 0x364(r1) /* 8023FC78 0023CBD8 DB E1 03 50 */ stfd f31, 0x350(r1) /* 8023FC7C 0023CBDC F3 E1 03 58 */ psq_st f31, 856(r1), 0, qr0 /* 8023FC80 0023CBE0 DB C1 03 40 */ stfd f30, 0x340(r1) /* 8023FC84 0023CBE4 F3 C1 03 48 */ psq_st f30, 840(r1), 0, qr0 /* 8023FC88 0023CBE8 DB A1 03 30 */ stfd f29, 0x330(r1) /* 8023FC8C 0023CBEC F3 A1 03 38 */ psq_st f29, 824(r1), 0, qr0 /* 8023FC90 0023CBF0 DB 81 03 20 */ stfd f28, 0x320(r1) /* 8023FC94 0023CBF4 F3 81 03 28 */ psq_st f28, 808(r1), 0, qr0 /* 8023FC98 0023CBF8 DB 61 03 10 */ stfd f27, 0x310(r1) /* 8023FC9C 0023CBFC F3 61 03 18 */ psq_st f27, 792(r1), 0, qr0 /* 8023FCA0 0023CC00 DB 41 03 00 */ stfd f26, 0x300(r1) /* 8023FCA4 0023CC04 F3 41 03 08 */ psq_st f26, 776(r1), 0, qr0 /* 8023FCA8 0023CC08 DB 21 02 F0 */ stfd f25, 0x2f0(r1) /* 8023FCAC 0023CC0C F3 21 02 F8 */ psq_st f25, 760(r1), 0, qr0 /* 8023FCB0 0023CC10 DB 01 02 E0 */ stfd f24, 0x2e0(r1) /* 8023FCB4 0023CC14 F3 01 02 E8 */ psq_st f24, 744(r1), 0, qr0 /* 8023FCB8 0023CC18 DA E1 02 D0 */ stfd f23, 0x2d0(r1) /* 8023FCBC 0023CC1C F2 E1 02 D8 */ psq_st f23, 728(r1), 0, qr0 /* 8023FCC0 0023CC20 DA C1 02 C0 */ stfd f22, 0x2c0(r1) /* 8023FCC4 0023CC24 F2 C1 02 C8 */ psq_st f22, 712(r1), 0, qr0 /* 8023FCC8 0023CC28 DA A1 02 B0 */ stfd f21, 0x2b0(r1) /* 8023FCCC 0023CC2C F2 A1 02 B8 */ psq_st f21, 696(r1), 0, qr0 /* 8023FCD0 0023CC30 DA 81 02 A0 */ stfd f20, 0x2a0(r1) /* 8023FCD4 0023CC34 F2 81 02 A8 */ psq_st f20, 680(r1), 0, qr0 /* 8023FCD8 0023CC38 DA 61 02 90 */ stfd f19, 0x290(r1) /* 8023FCDC 0023CC3C F2 61 02 98 */ psq_st f19, 664(r1), 0, qr0 /* 8023FCE0 0023CC40 DA 41 02 80 */ stfd f18, 0x280(r1) /* 8023FCE4 0023CC44 F2 41 02 88 */ psq_st f18, 648(r1), 0, qr0 /* 8023FCE8 0023CC48 93 E1 02 7C */ stw r31, 0x27c(r1) /* 8023FCEC 0023CC4C 93 C1 02 78 */ stw r30, 0x278(r1) /* 8023FCF0 0023CC50 93 A1 02 74 */ stw r29, 0x274(r1) /* 8023FCF4 0023CC54 93 81 02 70 */ stw r28, 0x270(r1) /* 8023FCF8 0023CC58 88 03 00 30 */ lbz r0, 0x30(r3) /* 8023FCFC 0023CC5C FE C0 08 90 */ fmr f22, f1 /* 8023FD00 0023CC60 7C 7C 1B 78 */ mr r28, r3 /* 8023FD04 0023CC64 7C 9D 23 78 */ mr r29, r4 /* 8023FD08 0023CC68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8023FD0C 0023CC6C 41 82 12 38 */ beq lbl_80240F44 /* 8023FD10 0023CC70 80 7D 08 70 */ lwz r3, 0x870(r29) /* 8023FD14 0023CC74 83 C3 00 80 */ lwz r30, 0x80(r3) /* 8023FD18 0023CC78 4B DC 96 B9 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager /* 8023FD1C 0023CC7C 7C 7F 1B 79 */ or. r31, r3, r3 /* 8023FD20 0023CC80 41 82 12 24 */ beq lbl_80240F44 /* 8023FD24 0023CC84 C3 FF 00 60 */ lfs f31, 0x60(r31) /* 8023FD28 0023CC88 38 61 01 80 */ addi r3, r1, 0x180 /* 8023FD2C 0023CC8C C0 1C 00 60 */ lfs f0, 0x60(r28) /* 8023FD30 0023CC90 C3 DF 00 50 */ lfs f30, 0x50(r31) /* 8023FD34 0023CC94 C0 3C 00 50 */ lfs f1, 0x50(r28) /* 8023FD38 0023CC98 EC 40 F8 28 */ fsubs f2, f0, f31 /* 8023FD3C 0023CC9C C3 BF 00 40 */ lfs f29, 0x40(r31) /* 8023FD40 0023CCA0 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 8023FD44 0023CCA4 EC 61 F0 28 */ fsubs f3, f1, f30 /* 8023FD48 0023CCA8 C3 7E 01 C0 */ lfs f27, 0x1c0(r30) /* 8023FD4C 0023CCAC C3 9E 01 C4 */ lfs f28, 0x1c4(r30) /* 8023FD50 0023CCB0 EC 20 E8 28 */ fsubs f1, f0, f29 /* 8023FD54 0023CCB4 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 8023FD58 0023CCB8 D0 41 02 38 */ stfs f2, 0x238(r1) /* 8023FD5C 0023CCBC D0 21 02 30 */ stfs f1, 0x230(r1) /* 8023FD60 0023CCC0 D0 61 02 34 */ stfs f3, 0x234(r1) /* 8023FD64 0023CCC4 D0 01 02 38 */ stfs f0, 0x238(r1) /* 8023FD68 0023CCC8 80 9D 08 4C */ lwz r4, 0x84c(r29) /* 8023FD6C 0023CCCC 48 04 4F DD */ bl GetBallPosition__7CPlayerCFv /* 8023FD70 0023CCD0 C3 41 01 88 */ lfs f26, 0x188(r1) /* 8023FD74 0023CCD4 38 61 02 18 */ addi r3, r1, 0x218 /* 8023FD78 0023CCD8 C3 01 01 80 */ lfs f24, 0x180(r1) /* 8023FD7C 0023CCDC EE 5A F8 28 */ fsubs f18, f26, f31 /* 8023FD80 0023CCE0 C2 E1 01 84 */ lfs f23, 0x184(r1) /* 8023FD84 0023CCE4 EC 58 E8 28 */ fsubs f2, f24, f29 /* 8023FD88 0023CCE8 C0 22 B7 D0 */ lfs f1, lbl_805AD4F0@sda21(r2) /* 8023FD8C 0023CCEC EC 17 F0 28 */ fsubs f0, f23, f30 /* 8023FD90 0023CCF0 D2 41 02 2C */ stfs f18, 0x22c(r1) /* 8023FD94 0023CCF4 FE 80 08 90 */ fmr f20, f1 /* 8023FD98 0023CCF8 D0 41 02 24 */ stfs f2, 0x224(r1) /* 8023FD9C 0023CCFC D0 01 02 28 */ stfs f0, 0x228(r1) /* 8023FDA0 0023CD00 D0 21 02 2C */ stfs f1, 0x22c(r1) /* 8023FDA4 0023CD04 C0 7F 00 58 */ lfs f3, 0x58(r31) /* 8023FDA8 0023CD08 C0 5F 00 48 */ lfs f2, 0x48(r31) /* 8023FDAC 0023CD0C C0 1F 00 38 */ lfs f0, 0x38(r31) /* 8023FDB0 0023CD10 D0 61 02 20 */ stfs f3, 0x220(r1) /* 8023FDB4 0023CD14 D0 01 02 18 */ stfs f0, 0x218(r1) /* 8023FDB8 0023CD18 D0 41 02 1C */ stfs f2, 0x21c(r1) /* 8023FDBC 0023CD1C D0 21 02 20 */ stfs f1, 0x220(r1) /* 8023FDC0 0023CD20 48 0D 49 39 */ bl CanBeNormalized__9CVector3fCFv /* 8023FDC4 0023CD24 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023FDC8 0023CD28 41 82 00 10 */ beq lbl_8023FDD8 /* 8023FDCC 0023CD2C 38 61 02 18 */ addi r3, r1, 0x218 /* 8023FDD0 0023CD30 48 0D 4B 29 */ bl Normalize__9CVector3fFv /* 8023FDD4 0023CD34 48 00 00 18 */ b lbl_8023FDEC lbl_8023FDD8: /* 8023FDD8 0023CD38 C0 22 B7 D0 */ lfs f1, lbl_805AD4F0@sda21(r2) /* 8023FDDC 0023CD3C C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2) /* 8023FDE0 0023CD40 D0 21 02 18 */ stfs f1, 0x218(r1) /* 8023FDE4 0023CD44 D0 01 02 1C */ stfs f0, 0x21c(r1) /* 8023FDE8 0023CD48 D0 21 02 20 */ stfs f1, 0x220(r1) lbl_8023FDEC: /* 8023FDEC 0023CD4C 38 61 02 24 */ addi r3, r1, 0x224 /* 8023FDF0 0023CD50 48 0D 49 09 */ bl CanBeNormalized__9CVector3fCFv /* 8023FDF4 0023CD54 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8023FDF8 0023CD58 41 82 00 1C */ beq lbl_8023FE14 /* 8023FDFC 0023CD5C 38 61 02 24 */ addi r3, r1, 0x224 /* 8023FE00 0023CD60 48 0D 4A B9 */ bl Magnitude__9CVector3fCFv /* 8023FE04 0023CD64 FE 80 08 90 */ fmr f20, f1 /* 8023FE08 0023CD68 38 61 02 24 */ addi r3, r1, 0x224 /* 8023FE0C 0023CD6C 48 0D 4A ED */ bl Normalize__9CVector3fFv /* 8023FE10 0023CD70 48 00 00 1C */ b lbl_8023FE2C lbl_8023FE14: /* 8023FE14 0023CD74 C0 41 02 18 */ lfs f2, 0x218(r1) /* 8023FE18 0023CD78 C0 21 02 1C */ lfs f1, 0x21c(r1) /* 8023FE1C 0023CD7C C0 01 02 20 */ lfs f0, 0x220(r1) /* 8023FE20 0023CD80 D0 41 02 24 */ stfs f2, 0x224(r1) /* 8023FE24 0023CD84 D0 21 02 28 */ stfs f1, 0x228(r1) /* 8023FE28 0023CD88 D0 01 02 2C */ stfs f0, 0x22c(r1) lbl_8023FE2C: /* 8023FE2C 0023CD8C 80 BC 01 8C */ lwz r5, 0x18c(r28) /* 8023FE30 0023CD90 3B DC 01 90 */ addi r30, r28, 0x190 /* 8023FE34 0023CD94 38 60 00 00 */ li r3, 0 /* 8023FE38 0023CD98 2C 05 00 00 */ cmpwi r5, 0 /* 8023FE3C 0023CD9C 40 81 00 40 */ ble lbl_8023FE7C /* 8023FE40 0023CDA0 2C 05 00 08 */ cmpwi r5, 8 /* 8023FE44 0023CDA4 38 85 FF F8 */ addi r4, r5, -8 /* 8023FE48 0023CDA8 40 81 00 20 */ ble lbl_8023FE68 /* 8023FE4C 0023CDAC 38 04 00 07 */ addi r0, r4, 7 /* 8023FE50 0023CDB0 54 00 E8 FE */ srwi r0, r0, 3 /* 8023FE54 0023CDB4 7C 09 03 A6 */ mtctr r0 /* 8023FE58 0023CDB8 2C 04 00 00 */ cmpwi r4, 0 /* 8023FE5C 0023CDBC 40 81 00 0C */ ble lbl_8023FE68 lbl_8023FE60: /* 8023FE60 0023CDC0 38 63 00 08 */ addi r3, r3, 8 /* 8023FE64 0023CDC4 42 00 FF FC */ bdnz lbl_8023FE60 lbl_8023FE68: /* 8023FE68 0023CDC8 7C 03 28 50 */ subf r0, r3, r5 /* 8023FE6C 0023CDCC 7C 09 03 A6 */ mtctr r0 /* 8023FE70 0023CDD0 7C 03 28 00 */ cmpw r3, r5 /* 8023FE74 0023CDD4 40 80 00 08 */ bge lbl_8023FE7C lbl_8023FE78: /* 8023FE78 0023CDD8 42 00 00 00 */ bdnz lbl_8023FE78 lbl_8023FE7C: /* 8023FE7C 0023CDDC 38 00 00 00 */ li r0, 0 /* 8023FE80 0023CDE0 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FE84 0023CDE4 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FE88 0023CDE8 54 00 10 3A */ slwi r0, r0, 2 /* 8023FE8C 0023CDEC 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FE90 0023CDF0 41 82 00 0C */ beq lbl_8023FE9C /* 8023FE94 0023CDF4 C0 0D 96 C4 */ lfs f0, lbl_805A8284@sda21(r13) /* 8023FE98 0023CDF8 D0 03 00 00 */ stfs f0, 0(r3) lbl_8023FE9C: /* 8023FE9C 0023CDFC 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FEA0 0023CE00 38 03 00 01 */ addi r0, r3, 1 /* 8023FEA4 0023CE04 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FEA8 0023CE08 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FEAC 0023CE0C 54 00 10 3A */ slwi r0, r0, 2 /* 8023FEB0 0023CE10 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FEB4 0023CE14 41 82 00 08 */ beq lbl_8023FEBC /* 8023FEB8 0023CE18 D2 83 00 00 */ stfs f20, 0(r3) lbl_8023FEBC: /* 8023FEBC 0023CE1C 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FEC0 0023CE20 FC 00 92 10 */ fabs f0, f18 /* 8023FEC4 0023CE24 38 03 00 01 */ addi r0, r3, 1 /* 8023FEC8 0023CE28 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FECC 0023CE2C FC 00 00 18 */ frsp f0, f0 /* 8023FED0 0023CE30 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FED4 0023CE34 54 00 10 3A */ slwi r0, r0, 2 /* 8023FED8 0023CE38 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FEDC 0023CE3C 41 82 00 08 */ beq lbl_8023FEE4 /* 8023FEE0 0023CE40 D0 03 00 00 */ stfs f0, 0(r3) lbl_8023FEE4: /* 8023FEE4 0023CE44 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FEE8 0023CE48 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 8023FEEC 0023CE4C 38 03 00 01 */ addi r0, r3, 1 /* 8023FEF0 0023CE50 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FEF4 0023CE54 C0 41 02 28 */ lfs f2, 0x228(r1) /* 8023FEF8 0023CE58 C0 21 02 1C */ lfs f1, 0x21c(r1) /* 8023FEFC 0023CE5C C0 61 02 24 */ lfs f3, 0x224(r1) /* 8023FF00 0023CE60 EC 22 00 72 */ fmuls f1, f2, f1 /* 8023FF04 0023CE64 C0 41 02 18 */ lfs f2, 0x218(r1) /* 8023FF08 0023CE68 C0 A1 02 2C */ lfs f5, 0x22c(r1) /* 8023FF0C 0023CE6C C0 81 02 20 */ lfs f4, 0x220(r1) /* 8023FF10 0023CE70 EC 23 08 BA */ fmadds f1, f3, f2, f1 /* 8023FF14 0023CE74 EC 25 09 3A */ fmadds f1, f5, f4, f1 /* 8023FF18 0023CE78 FC 40 0A 10 */ fabs f2, f1 /* 8023FF1C 0023CE7C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8023FF20 0023CE80 40 81 00 14 */ ble lbl_8023FF34 /* 8023FF24 0023CE84 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 8023FF28 0023CE88 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2) /* 8023FF2C 0023CE8C FC 01 00 AE */ fsel f0, f1, f2, f0 /* 8023FF30 0023CE90 EC 22 00 32 */ fmuls f1, f2, f0 lbl_8023FF34: /* 8023FF34 0023CE94 48 15 4C F9 */ bl acos /* 8023FF38 0023CE98 FC 00 08 18 */ frsp f0, f1 /* 8023FF3C 0023CE9C 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FF40 0023CEA0 54 00 10 3A */ slwi r0, r0, 2 /* 8023FF44 0023CEA4 FC 00 02 10 */ fabs f0, f0 /* 8023FF48 0023CEA8 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FF4C 0023CEAC FE 60 00 18 */ frsp f19, f0 /* 8023FF50 0023CEB0 41 82 00 08 */ beq lbl_8023FF58 /* 8023FF54 0023CEB4 D2 63 00 00 */ stfs f19, 0(r3) lbl_8023FF58: /* 8023FF58 0023CEB8 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FF5C 0023CEBC C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 8023FF60 0023CEC0 38 03 00 01 */ addi r0, r3, 1 /* 8023FF64 0023CEC4 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FF68 0023CEC8 C0 41 02 18 */ lfs f2, 0x218(r1) /* 8023FF6C 0023CECC C0 21 02 28 */ lfs f1, 0x228(r1) /* 8023FF70 0023CED0 C0 61 02 24 */ lfs f3, 0x224(r1) /* 8023FF74 0023CED4 EC 22 00 72 */ fmuls f1, f2, f1 /* 8023FF78 0023CED8 C0 41 02 1C */ lfs f2, 0x21c(r1) /* 8023FF7C 0023CEDC EE A3 08 B8 */ fmsubs f21, f3, f2, f1 /* 8023FF80 0023CEE0 FC 15 00 40 */ fcmpo cr0, f21, f0 /* 8023FF84 0023CEE4 4C 41 13 82 */ cror 2, 1, 2 /* 8023FF88 0023CEE8 40 82 00 50 */ bne lbl_8023FFD8 /* 8023FF8C 0023CEEC 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FF90 0023CEF0 54 00 10 3A */ slwi r0, r0, 2 /* 8023FF94 0023CEF4 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FF98 0023CEF8 41 82 00 08 */ beq lbl_8023FFA0 /* 8023FF9C 0023CEFC D2 63 00 00 */ stfs f19, 0(r3) lbl_8023FFA0: /* 8023FFA0 0023CF00 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FFA4 0023CF04 C0 02 B7 E4 */ lfs f0, lbl_805AD504@sda21(r2) /* 8023FFA8 0023CF08 38 03 00 01 */ addi r0, r3, 1 /* 8023FFAC 0023CF0C 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FFB0 0023CF10 EC 00 98 28 */ fsubs f0, f0, f19 /* 8023FFB4 0023CF14 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FFB8 0023CF18 54 00 10 3A */ slwi r0, r0, 2 /* 8023FFBC 0023CF1C 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FFC0 0023CF20 41 82 00 08 */ beq lbl_8023FFC8 /* 8023FFC4 0023CF24 D0 03 00 00 */ stfs f0, 0(r3) lbl_8023FFC8: /* 8023FFC8 0023CF28 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FFCC 0023CF2C 38 03 00 01 */ addi r0, r3, 1 /* 8023FFD0 0023CF30 90 1C 01 8C */ stw r0, 0x18c(r28) /* 8023FFD4 0023CF34 48 00 00 4C */ b lbl_80240020 lbl_8023FFD8: /* 8023FFD8 0023CF38 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 8023FFDC 0023CF3C C0 02 B7 E4 */ lfs f0, lbl_805AD504@sda21(r2) /* 8023FFE0 0023CF40 54 00 10 3A */ slwi r0, r0, 2 /* 8023FFE4 0023CF44 EC 00 98 28 */ fsubs f0, f0, f19 /* 8023FFE8 0023CF48 7C 7E 02 15 */ add. r3, r30, r0 /* 8023FFEC 0023CF4C 41 82 00 08 */ beq lbl_8023FFF4 /* 8023FFF0 0023CF50 D0 03 00 00 */ stfs f0, 0(r3) lbl_8023FFF4: /* 8023FFF4 0023CF54 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 8023FFF8 0023CF58 38 03 00 01 */ addi r0, r3, 1 /* 8023FFFC 0023CF5C 90 1C 01 8C */ stw r0, 0x18c(r28) /* 80240000 0023CF60 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 80240004 0023CF64 54 00 10 3A */ slwi r0, r0, 2 /* 80240008 0023CF68 7C 7E 02 15 */ add. r3, r30, r0 /* 8024000C 0023CF6C 41 82 00 08 */ beq lbl_80240014 /* 80240010 0023CF70 D2 63 00 00 */ stfs f19, 0(r3) lbl_80240014: /* 80240014 0023CF74 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 80240018 0023CF78 38 03 00 01 */ addi r0, r3, 1 /* 8024001C 0023CF7C 90 1C 01 8C */ stw r0, 0x18c(r28) lbl_80240020: /* 80240020 0023CF80 C0 5F 00 60 */ lfs f2, 0x60(r31) /* 80240024 0023CF84 38 61 02 0C */ addi r3, r1, 0x20c /* 80240028 0023CF88 C0 3F 01 94 */ lfs f1, 0x194(r31) /* 8024002C 0023CF8C C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240030 0023CF90 EC A2 08 28 */ fsubs f5, f2, f1 /* 80240034 0023CF94 C0 9F 00 50 */ lfs f4, 0x50(r31) /* 80240038 0023CF98 C0 7F 01 84 */ lfs f3, 0x184(r31) /* 8024003C 0023CF9C FF 20 00 90 */ fmr f25, f0 /* 80240040 0023CFA0 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 80240044 0023CFA4 C0 3F 01 74 */ lfs f1, 0x174(r31) /* 80240048 0023CFA8 FC C0 2A 10 */ fabs f6, f5 /* 8024004C 0023CFAC EC 64 18 28 */ fsubs f3, f4, f3 /* 80240050 0023CFB0 D0 A1 02 14 */ stfs f5, 0x214(r1) /* 80240054 0023CFB4 EC 22 08 28 */ fsubs f1, f2, f1 /* 80240058 0023CFB8 FE 40 30 18 */ frsp f18, f6 /* 8024005C 0023CFBC D0 01 02 14 */ stfs f0, 0x214(r1) /* 80240060 0023CFC0 D0 21 02 0C */ stfs f1, 0x20c(r1) /* 80240064 0023CFC4 D0 61 02 10 */ stfs f3, 0x210(r1) /* 80240068 0023CFC8 48 0D 46 91 */ bl CanBeNormalized__9CVector3fCFv /* 8024006C 0023CFCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80240070 0023CFD0 41 82 00 10 */ beq lbl_80240080 /* 80240074 0023CFD4 38 61 02 0C */ addi r3, r1, 0x20c /* 80240078 0023CFD8 48 0D 48 41 */ bl Magnitude__9CVector3fCFv /* 8024007C 0023CFDC FF 20 08 90 */ fmr f25, f1 lbl_80240080: /* 80240080 0023CFE0 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 80240084 0023CFE4 54 00 10 3A */ slwi r0, r0, 2 /* 80240088 0023CFE8 7C 7E 02 15 */ add. r3, r30, r0 /* 8024008C 0023CFEC 41 82 00 08 */ beq lbl_80240094 /* 80240090 0023CFF0 D3 23 00 00 */ stfs f25, 0(r3) lbl_80240094: /* 80240094 0023CFF4 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 80240098 0023CFF8 38 03 00 01 */ addi r0, r3, 1 /* 8024009C 0023CFFC 90 1C 01 8C */ stw r0, 0x18c(r28) /* 802400A0 0023D000 80 1C 01 8C */ lwz r0, 0x18c(r28) /* 802400A4 0023D004 54 00 10 3A */ slwi r0, r0, 2 /* 802400A8 0023D008 7C 7E 02 15 */ add. r3, r30, r0 /* 802400AC 0023D00C 41 82 00 08 */ beq lbl_802400B4 /* 802400B0 0023D010 D2 43 00 00 */ stfs f18, 0(r3) lbl_802400B4: /* 802400B4 0023D014 80 7C 01 8C */ lwz r3, 0x18c(r28) /* 802400B8 0023D018 38 03 00 01 */ addi r0, r3, 1 /* 802400BC 0023D01C 90 1C 01 8C */ stw r0, 0x18c(r28) /* 802400C0 0023D020 80 1C 01 88 */ lwz r0, 0x188(r28) /* 802400C4 0023D024 54 00 04 A5 */ rlwinm. r0, r0, 0, 0x12, 0x12 /* 802400C8 0023D028 41 82 00 50 */ beq lbl_80240118 /* 802400CC 0023D02C 7F 83 E3 78 */ mr r3, r28 /* 802400D0 0023D030 38 9C 02 F8 */ addi r4, r28, 0x2f8 /* 802400D4 0023D034 48 00 0F 01 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 802400D8 0023D038 38 7C 02 F8 */ addi r3, r28, 0x2f8 /* 802400DC 0023D03C 48 00 14 FD */ bl GetValue__16SSpindlePropertyCFf /* 802400E0 0023D040 FC 14 08 40 */ fcmpo cr0, f20, f1 /* 802400E4 0023D044 40 81 00 34 */ ble lbl_80240118 /* 802400E8 0023D048 A0 7F 01 64 */ lhz r3, 0x164(r31) /* 802400EC 0023D04C A0 1C 00 08 */ lhz r0, 8(r28) /* 802400F0 0023D050 7C 03 00 40 */ cmplw r3, r0 /* 802400F4 0023D054 40 82 0E 50 */ bne lbl_80240F44 /* 802400F8 0023D058 A0 1F 00 08 */ lhz r0, 8(r31) /* 802400FC 0023D05C 7F A5 EB 78 */ mr r5, r29 /* 80240100 0023D060 38 81 00 0C */ addi r4, r1, 0xc /* 80240104 0023D064 B0 01 00 0C */ sth r0, 0xc(r1) /* 80240108 0023D068 B0 01 00 08 */ sth r0, 8(r1) /* 8024010C 0023D06C 80 7D 08 70 */ lwz r3, 0x870(r29) /* 80240110 0023D070 4B DC 94 6D */ bl DeleteCameraHint__14CCameraManagerF9TUniqueIdR13CStateManager /* 80240114 0023D074 48 00 0E 30 */ b lbl_80240F44 lbl_80240118: /* 80240118 0023D078 80 1C 01 88 */ lwz r0, 0x188(r28) /* 8024011C 0023D07C 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14 /* 80240120 0023D080 40 82 00 1C */ bne lbl_8024013C /* 80240124 0023D084 C0 41 02 18 */ lfs f2, 0x218(r1) /* 80240128 0023D088 C0 21 02 1C */ lfs f1, 0x21c(r1) /* 8024012C 0023D08C C0 01 02 20 */ lfs f0, 0x220(r1) /* 80240130 0023D090 D0 41 02 24 */ stfs f2, 0x224(r1) /* 80240134 0023D094 D0 21 02 28 */ stfs f1, 0x228(r1) /* 80240138 0023D098 D0 01 02 2C */ stfs f0, 0x22c(r1) lbl_8024013C: /* 8024013C 0023D09C 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240140 0023D0A0 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a /* 80240144 0023D0A4 41 82 00 E8 */ beq lbl_8024022C /* 80240148 0023D0A8 88 1C 03 2C */ lbz r0, 0x32c(r28) /* 8024014C 0023D0AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80240150 0023D0B0 40 82 00 4C */ bne lbl_8024019C /* 80240154 0023D0B4 7F 83 E3 78 */ mr r3, r28 /* 80240158 0023D0B8 38 9C 02 B0 */ addi r4, r28, 0x2b0 /* 8024015C 0023D0BC 48 00 0E 79 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240160 0023D0C0 38 7C 02 B0 */ addi r3, r28, 0x2b0 /* 80240164 0023D0C4 48 00 14 75 */ bl GetValue__16SSpindlePropertyCFf /* 80240168 0023D0C8 FC 13 08 40 */ fcmpo cr0, f19, f1 /* 8024016C 0023D0CC 40 81 00 C0 */ ble lbl_8024022C /* 80240170 0023D0D0 C0 01 02 24 */ lfs f0, 0x224(r1) /* 80240174 0023D0D4 38 60 00 01 */ li r3, 1 /* 80240178 0023D0D8 D0 1C 03 30 */ stfs f0, 0x330(r28) /* 8024017C 0023D0DC C0 01 02 28 */ lfs f0, 0x228(r1) /* 80240180 0023D0E0 D0 1C 03 34 */ stfs f0, 0x334(r28) /* 80240184 0023D0E4 C0 01 02 2C */ lfs f0, 0x22c(r1) /* 80240188 0023D0E8 D0 1C 03 38 */ stfs f0, 0x338(r28) /* 8024018C 0023D0EC 88 1C 03 2C */ lbz r0, 0x32c(r28) /* 80240190 0023D0F0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80240194 0023D0F4 98 1C 03 2C */ stb r0, 0x32c(r28) /* 80240198 0023D0F8 48 00 00 94 */ b lbl_8024022C lbl_8024019C: /* 8024019C 0023D0FC C0 21 02 18 */ lfs f1, 0x218(r1) /* 802401A0 0023D100 7F 83 E3 78 */ mr r3, r28 /* 802401A4 0023D104 C0 01 02 34 */ lfs f0, 0x234(r1) /* 802401A8 0023D108 38 9C 03 10 */ addi r4, r28, 0x310 /* 802401AC 0023D10C C0 41 02 30 */ lfs f2, 0x230(r1) /* 802401B0 0023D110 EC 01 00 32 */ fmuls f0, f1, f0 /* 802401B4 0023D114 C0 21 02 1C */ lfs f1, 0x21c(r1) /* 802401B8 0023D118 EE 42 00 78 */ fmsubs f18, f2, f1, f0 /* 802401BC 0023D11C 48 00 0E 19 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 802401C0 0023D120 38 7C 03 10 */ addi r3, r28, 0x310 /* 802401C4 0023D124 48 00 14 15 */ bl GetValue__16SSpindlePropertyCFf /* 802401C8 0023D128 FC 13 08 40 */ fcmpo cr0, f19, f1 /* 802401CC 0023D12C 40 80 00 14 */ bge lbl_802401E0 /* 802401D0 0023D130 EC 35 04 B2 */ fmuls f1, f21, f18 /* 802401D4 0023D134 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 802401D8 0023D138 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802401DC 0023D13C 41 80 00 24 */ blt lbl_80240200 lbl_802401E0: /* 802401E0 0023D140 7F 83 E3 78 */ mr r3, r28 /* 802401E4 0023D144 38 9C 02 B0 */ addi r4, r28, 0x2b0 /* 802401E8 0023D148 48 00 0D ED */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 802401EC 0023D14C 38 7C 02 B0 */ addi r3, r28, 0x2b0 /* 802401F0 0023D150 48 00 13 E9 */ bl GetValue__16SSpindlePropertyCFf /* 802401F4 0023D154 FC 13 08 40 */ fcmpo cr0, f19, f1 /* 802401F8 0023D158 4C 40 13 82 */ cror 2, 0, 2 /* 802401FC 0023D15C 40 82 00 18 */ bne lbl_80240214 lbl_80240200: /* 80240200 0023D160 88 1C 03 2C */ lbz r0, 0x32c(r28) /* 80240204 0023D164 38 60 00 00 */ li r3, 0 /* 80240208 0023D168 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8024020C 0023D16C 98 1C 03 2C */ stb r0, 0x32c(r28) /* 80240210 0023D170 48 00 00 1C */ b lbl_8024022C lbl_80240214: /* 80240214 0023D174 C0 1C 03 30 */ lfs f0, 0x330(r28) /* 80240218 0023D178 D0 01 02 24 */ stfs f0, 0x224(r1) /* 8024021C 0023D17C C0 1C 03 34 */ lfs f0, 0x334(r28) /* 80240220 0023D180 D0 01 02 28 */ stfs f0, 0x228(r1) /* 80240224 0023D184 C0 1C 03 38 */ lfs f0, 0x338(r28) /* 80240228 0023D188 D0 01 02 2C */ stfs f0, 0x22c(r1) lbl_8024022C: /* 8024022C 0023D18C 7F 83 E3 78 */ mr r3, r28 /* 80240230 0023D190 38 9C 01 F0 */ addi r4, r28, 0x1f0 /* 80240234 0023D194 48 00 0D A1 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240238 0023D198 38 7C 01 F0 */ addi r3, r28, 0x1f0 /* 8024023C 0023D19C 48 00 13 9D */ bl GetValue__16SSpindlePropertyCFf /* 80240240 0023D1A0 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80240244 0023D1A4 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240248 0023D1A8 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 /* 8024024C 0023D1AC 41 82 00 20 */ beq lbl_8024026C /* 80240250 0023D1B0 7F 83 E3 78 */ mr r3, r28 /* 80240254 0023D1B4 38 9C 02 08 */ addi r4, r28, 0x208 /* 80240258 0023D1B8 48 00 0D 7D */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 8024025C 0023D1BC 38 7C 02 08 */ addi r3, r28, 0x208 /* 80240260 0023D1C0 48 00 13 79 */ bl GetValue__16SSpindlePropertyCFf /* 80240264 0023D1C4 EC 14 08 2A */ fadds f0, f20, f1 /* 80240268 0023D1C8 D0 01 00 34 */ stfs f0, 0x34(r1) lbl_8024026C: /* 8024026C 0023D1CC 38 7C 01 B0 */ addi r3, r28, 0x1b0 /* 80240270 0023D1D0 38 81 00 34 */ addi r4, r1, 0x34 /* 80240274 0023D1D4 38 BC 01 B4 */ addi r5, r28, 0x1b4 /* 80240278 0023D1D8 4B DC C0 3D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8024027C 0023D1DC C0 03 00 00 */ lfs f0, 0(r3) /* 80240280 0023D1E0 38 61 02 30 */ addi r3, r1, 0x230 /* 80240284 0023D1E4 D0 01 00 34 */ stfs f0, 0x34(r1) /* 80240288 0023D1E8 C0 5C 00 60 */ lfs f2, 0x60(r28) /* 8024028C 0023D1EC C0 3C 00 50 */ lfs f1, 0x50(r28) /* 80240290 0023D1F0 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 80240294 0023D1F4 D0 01 02 00 */ stfs f0, 0x200(r1) /* 80240298 0023D1F8 D0 21 02 04 */ stfs f1, 0x204(r1) /* 8024029C 0023D1FC D0 41 02 08 */ stfs f2, 0x208(r1) /* 802402A0 0023D200 48 0D 46 19 */ bl Magnitude__9CVector3fCFv /* 802402A4 0023D204 FE A0 08 90 */ fmr f21, f1 /* 802402A8 0023D208 38 61 02 30 */ addi r3, r1, 0x230 /* 802402AC 0023D20C 48 0D 44 4D */ bl CanBeNormalized__9CVector3fCFv /* 802402B0 0023D210 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802402B4 0023D214 41 82 00 10 */ beq lbl_802402C4 /* 802402B8 0023D218 38 61 02 30 */ addi r3, r1, 0x230 /* 802402BC 0023D21C 48 0D 46 3D */ bl Normalize__9CVector3fFv /* 802402C0 0023D220 48 00 00 34 */ b lbl_802402F4 lbl_802402C4: /* 802402C4 0023D224 C0 41 02 18 */ lfs f2, 0x218(r1) /* 802402C8 0023D228 7F 83 E3 78 */ mr r3, r28 /* 802402CC 0023D22C C0 21 02 1C */ lfs f1, 0x21c(r1) /* 802402D0 0023D230 38 9C 01 F0 */ addi r4, r28, 0x1f0 /* 802402D4 0023D234 C0 01 02 20 */ lfs f0, 0x220(r1) /* 802402D8 0023D238 D0 41 02 30 */ stfs f2, 0x230(r1) /* 802402DC 0023D23C D0 21 02 34 */ stfs f1, 0x234(r1) /* 802402E0 0023D240 D0 01 02 38 */ stfs f0, 0x238(r1) /* 802402E4 0023D244 48 00 0C F1 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 802402E8 0023D248 38 7C 01 F0 */ addi r3, r28, 0x1f0 /* 802402EC 0023D24C 48 00 12 ED */ bl GetValue__16SSpindlePropertyCFf /* 802402F0 0023D250 FE A0 08 90 */ fmr f21, f1 lbl_802402F4: /* 802402F4 0023D254 7F 83 E3 78 */ mr r3, r28 /* 802402F8 0023D258 38 9C 02 20 */ addi r4, r28, 0x220 /* 802402FC 0023D25C 48 00 0C D9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240300 0023D260 38 7C 02 20 */ addi r3, r28, 0x220 /* 80240304 0023D264 48 00 12 D5 */ bl GetValue__16SSpindlePropertyCFf /* 80240308 0023D268 80 1C 01 88 */ lwz r0, 0x188(r28) /* 8024030C 0023D26C FF 20 08 90 */ fmr f25, f1 /* 80240310 0023D270 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11 /* 80240314 0023D274 40 82 00 54 */ bne lbl_80240368 /* 80240318 0023D278 C0 81 02 34 */ lfs f4, 0x234(r1) /* 8024031C 0023D27C C0 E1 02 24 */ lfs f7, 0x224(r1) /* 80240320 0023D280 C0 A1 02 38 */ lfs f5, 0x238(r1) /* 80240324 0023D284 C0 21 02 28 */ lfs f1, 0x228(r1) /* 80240328 0023D288 EC 07 01 32 */ fmuls f0, f7, f4 /* 8024032C 0023D28C C0 41 02 30 */ lfs f2, 0x230(r1) /* 80240330 0023D290 C0 C1 02 2C */ lfs f6, 0x22c(r1) /* 80240334 0023D294 EC 61 01 72 */ fmuls f3, f1, f5 /* 80240338 0023D298 EC 22 00 78 */ fmsubs f1, f2, f1, f0 /* 8024033C 0023D29C C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240340 0023D2A0 EC 46 00 B2 */ fmuls f2, f6, f2 /* 80240344 0023D2A4 EC 64 19 B8 */ fmsubs f3, f4, f6, f3 /* 80240348 0023D2A8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8024034C 0023D2AC D0 21 01 7C */ stfs f1, 0x17c(r1) /* 80240350 0023D2B0 EC 05 11 F8 */ fmsubs f0, f5, f7, f2 /* 80240354 0023D2B4 D0 61 01 74 */ stfs f3, 0x174(r1) /* 80240358 0023D2B8 D0 01 01 78 */ stfs f0, 0x178(r1) /* 8024035C 0023D2BC 4C 41 13 82 */ cror 2, 1, 2 /* 80240360 0023D2C0 40 82 00 08 */ bne lbl_80240368 /* 80240364 0023D2C4 FF 20 C8 50 */ fneg f25, f25 lbl_80240368: /* 80240368 0023D2C8 D3 21 00 2C */ stfs f25, 0x2c(r1) /* 8024036C 0023D2CC 38 61 01 64 */ addi r3, r1, 0x164 /* 80240370 0023D2D0 38 81 00 2C */ addi r4, r1, 0x2c /* 80240374 0023D2D4 48 0D 0D 85 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80240378 0023D2D8 C0 61 01 64 */ lfs f3, 0x164(r1) /* 8024037C 0023D2DC 38 61 01 58 */ addi r3, r1, 0x158 /* 80240380 0023D2E0 C0 41 01 68 */ lfs f2, 0x168(r1) /* 80240384 0023D2E4 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 80240388 0023D2E8 C0 21 01 6C */ lfs f1, 0x16c(r1) /* 8024038C 0023D2EC 38 A1 02 24 */ addi r5, r1, 0x224 /* 80240390 0023D2F0 C0 01 01 70 */ lfs f0, 0x170(r1) /* 80240394 0023D2F4 D0 61 01 F0 */ stfs f3, 0x1f0(r1) /* 80240398 0023D2F8 D0 41 01 F4 */ stfs f2, 0x1f4(r1) /* 8024039C 0023D2FC D0 21 01 F8 */ stfs f1, 0x1f8(r1) /* 802403A0 0023D300 D0 01 01 FC */ stfs f0, 0x1fc(r1) /* 802403A4 0023D304 48 0D 0E C1 */ bl Transform__11CQuaternionCFRC9CVector3f /* 802403A8 0023D308 C0 61 01 5C */ lfs f3, 0x15c(r1) /* 802403AC 0023D30C C0 A1 02 34 */ lfs f5, 0x234(r1) /* 802403B0 0023D310 C0 81 01 58 */ lfs f4, 0x158(r1) /* 802403B4 0023D314 C0 C1 02 30 */ lfs f6, 0x230(r1) /* 802403B8 0023D318 EC 05 00 F2 */ fmuls f0, f5, f3 /* 802403BC 0023D31C C0 41 01 60 */ lfs f2, 0x160(r1) /* 802403C0 0023D320 C0 E1 02 38 */ lfs f7, 0x238(r1) /* 802403C4 0023D324 EC 26 01 3A */ fmadds f1, f6, f4, f0 /* 802403C8 0023D328 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 802403CC 0023D32C D0 81 01 E4 */ stfs f4, 0x1e4(r1) /* 802403D0 0023D330 EC 27 08 BA */ fmadds f1, f7, f2, f1 /* 802403D4 0023D334 D0 61 01 E8 */ stfs f3, 0x1e8(r1) /* 802403D8 0023D338 D0 41 01 EC */ stfs f2, 0x1ec(r1) /* 802403DC 0023D33C FC 40 0A 10 */ fabs f2, f1 /* 802403E0 0023D340 D0 C1 01 D8 */ stfs f6, 0x1d8(r1) /* 802403E4 0023D344 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802403E8 0023D348 D0 A1 01 DC */ stfs f5, 0x1dc(r1) /* 802403EC 0023D34C D0 E1 01 E0 */ stfs f7, 0x1e0(r1) /* 802403F0 0023D350 40 81 00 14 */ ble lbl_80240404 /* 802403F4 0023D354 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 802403F8 0023D358 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2) /* 802403FC 0023D35C FC 01 00 AE */ fsel f0, f1, f2, f0 /* 80240400 0023D360 EC 22 00 32 */ fmuls f1, f2, f0 lbl_80240404: /* 80240404 0023D364 48 15 48 29 */ bl acos /* 80240408 0023D368 FC 00 08 18 */ frsp f0, f1 /* 8024040C 0023D36C 7F 83 E3 78 */ mr r3, r28 /* 80240410 0023D370 38 9C 02 C8 */ addi r4, r28, 0x2c8 /* 80240414 0023D374 FC 00 02 10 */ fabs f0, f0 /* 80240418 0023D378 FE 80 00 18 */ frsp f20, f0 /* 8024041C 0023D37C 48 00 0B B9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240420 0023D380 38 7C 02 C8 */ addi r3, r28, 0x2c8 /* 80240424 0023D384 48 00 11 B5 */ bl GetValue__16SSpindlePropertyCFf /* 80240428 0023D388 EE 54 08 24 */ fdivs f18, f20, f1 /* 8024042C 0023D38C C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 80240430 0023D390 FC 20 92 10 */ fabs f1, f18 /* 80240434 0023D394 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80240438 0023D398 40 81 00 14 */ ble lbl_8024044C /* 8024043C 0023D39C C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 80240440 0023D3A0 C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2) /* 80240444 0023D3A4 FC 12 00 6E */ fsel f0, f18, f1, f0 /* 80240448 0023D3A8 EE 41 00 32 */ fmuls f18, f1, f0 lbl_8024044C: /* 8024044C 0023D3AC 7F 83 E3 78 */ mr r3, r28 /* 80240450 0023D3B0 38 9C 01 C0 */ addi r4, r28, 0x1c0 /* 80240454 0023D3B4 48 00 0B 81 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240458 0023D3B8 38 7C 01 C0 */ addi r3, r28, 0x1c0 /* 8024045C 0023D3BC 48 00 11 7D */ bl GetValue__16SSpindlePropertyCFf /* 80240460 0023D3C0 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240464 0023D3C4 FE 60 08 90 */ fmr f19, f1 /* 80240468 0023D3C8 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17 /* 8024046C 0023D3CC 40 82 00 3C */ bne lbl_802404A8 /* 80240470 0023D3D0 7F 83 E3 78 */ mr r3, r28 /* 80240474 0023D3D4 38 9C 01 D8 */ addi r4, r28, 0x1d8 /* 80240478 0023D3D8 48 00 0B 5D */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 8024047C 0023D3DC 38 7C 01 D8 */ addi r3, r28, 0x1d8 /* 80240480 0023D3E0 48 00 11 59 */ bl GetValue__16SSpindlePropertyCFf /* 80240484 0023D3E4 EC 21 A8 24 */ fdivs f1, f1, f21 /* 80240488 0023D3E8 FC 00 0A 10 */ fabs f0, f1 /* 8024048C 0023D3EC FC 00 98 40 */ fcmpo cr0, f0, f19 /* 80240490 0023D3F0 40 81 00 14 */ ble lbl_802404A4 /* 80240494 0023D3F4 C0 42 B7 E0 */ lfs f2, lbl_805AD500@sda21(r2) /* 80240498 0023D3F8 C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2) /* 8024049C 0023D3FC FC 01 10 2E */ fsel f0, f1, f0, f2 /* 802404A0 0023D400 EC 33 00 32 */ fmuls f1, f19, f0 lbl_802404A4: /* 802404A4 0023D404 FE 60 08 90 */ fmr f19, f1 lbl_802404A8: /* 802404A8 0023D408 C0 81 02 28 */ lfs f4, 0x228(r1) /* 802404AC 0023D40C C0 01 02 30 */ lfs f0, 0x230(r1) /* 802404B0 0023D410 C0 A1 02 2C */ lfs f5, 0x22c(r1) /* 802404B4 0023D414 C0 41 02 34 */ lfs f2, 0x234(r1) /* 802404B8 0023D418 EC C0 01 32 */ fmuls f6, f0, f4 /* 802404BC 0023D41C C0 21 02 24 */ lfs f1, 0x224(r1) /* 802404C0 0023D420 C0 61 02 38 */ lfs f3, 0x238(r1) /* 802404C4 0023D424 ED 02 01 72 */ fmuls f8, f2, f5 /* 802404C8 0023D428 EC C1 30 B8 */ fmsubs f6, f1, f2, f6 /* 802404CC 0023D42C C1 22 B7 D0 */ lfs f9, lbl_805AD4F0@sda21(r2) /* 802404D0 0023D430 EC E3 00 72 */ fmuls f7, f3, f1 /* 802404D4 0023D434 ED 04 40 F8 */ fmsubs f8, f4, f3, f8 /* 802404D8 0023D438 FC 06 48 40 */ fcmpo cr0, f6, f9 /* 802404DC 0023D43C D0 C1 01 54 */ stfs f6, 0x154(r1) /* 802404E0 0023D440 EC C5 38 38 */ fmsubs f6, f5, f0, f7 /* 802404E4 0023D444 D1 01 01 4C */ stfs f8, 0x14c(r1) /* 802404E8 0023D448 D0 C1 01 50 */ stfs f6, 0x150(r1) /* 802404EC 0023D44C 4C 41 13 82 */ cror 2, 1, 2 /* 802404F0 0023D450 40 82 00 3C */ bne lbl_8024052C /* 802404F4 0023D454 C1 41 01 E8 */ lfs f10, 0x1e8(r1) /* 802404F8 0023D458 C1 61 01 EC */ lfs f11, 0x1ec(r1) /* 802404FC 0023D45C C1 81 01 E4 */ lfs f12, 0x1e4(r1) /* 80240500 0023D460 EC C0 02 B2 */ fmuls f6, f0, f10 /* 80240504 0023D464 ED 02 02 F2 */ fmuls f8, f2, f11 /* 80240508 0023D468 EC E3 03 32 */ fmuls f7, f3, f12 /* 8024050C 0023D46C EC CC 30 B8 */ fmsubs f6, f12, f2, f6 /* 80240510 0023D470 ED 0A 40 F8 */ fmsubs f8, f10, f3, f8 /* 80240514 0023D474 EC EB 38 38 */ fmsubs f7, f11, f0, f7 /* 80240518 0023D478 FC 06 48 40 */ fcmpo cr0, f6, f9 /* 8024051C 0023D47C D0 C1 01 48 */ stfs f6, 0x148(r1) /* 80240520 0023D480 D1 01 01 40 */ stfs f8, 0x140(r1) /* 80240524 0023D484 D0 E1 01 44 */ stfs f7, 0x144(r1) /* 80240528 0023D488 41 80 00 70 */ blt lbl_80240598 lbl_8024052C: /* 8024052C 0023D48C EC E0 01 32 */ fmuls f7, f0, f4 /* 80240530 0023D490 C0 C2 B7 D0 */ lfs f6, lbl_805AD4F0@sda21(r2) /* 80240534 0023D494 ED 22 01 72 */ fmuls f9, f2, f5 /* 80240538 0023D498 ED 03 00 72 */ fmuls f8, f3, f1 /* 8024053C 0023D49C EC 21 38 B8 */ fmsubs f1, f1, f2, f7 /* 80240540 0023D4A0 EC E4 48 F8 */ fmsubs f7, f4, f3, f9 /* 80240544 0023D4A4 EC 85 40 38 */ fmsubs f4, f5, f0, f8 /* 80240548 0023D4A8 FC 01 30 40 */ fcmpo cr0, f1, f6 /* 8024054C 0023D4AC D0 21 01 3C */ stfs f1, 0x13c(r1) /* 80240550 0023D4B0 D0 E1 01 34 */ stfs f7, 0x134(r1) /* 80240554 0023D4B4 D0 81 01 38 */ stfs f4, 0x138(r1) /* 80240558 0023D4B8 40 80 00 7C */ bge lbl_802405D4 /* 8024055C 0023D4BC C0 E1 01 E8 */ lfs f7, 0x1e8(r1) /* 80240560 0023D4C0 C1 01 01 EC */ lfs f8, 0x1ec(r1) /* 80240564 0023D4C4 C1 21 01 E4 */ lfs f9, 0x1e4(r1) /* 80240568 0023D4C8 EC 20 01 F2 */ fmuls f1, f0, f7 /* 8024056C 0023D4CC EC A2 02 32 */ fmuls f5, f2, f8 /* 80240570 0023D4D0 EC 83 02 72 */ fmuls f4, f3, f9 /* 80240574 0023D4D4 EC 29 08 B8 */ fmsubs f1, f9, f2, f1 /* 80240578 0023D4D8 EC 47 28 F8 */ fmsubs f2, f7, f3, f5 /* 8024057C 0023D4DC EC 08 20 38 */ fmsubs f0, f8, f0, f4 /* 80240580 0023D4E0 FC 01 30 40 */ fcmpo cr0, f1, f6 /* 80240584 0023D4E4 D0 21 01 30 */ stfs f1, 0x130(r1) /* 80240588 0023D4E8 D0 41 01 28 */ stfs f2, 0x128(r1) /* 8024058C 0023D4EC D0 01 01 2C */ stfs f0, 0x12c(r1) /* 80240590 0023D4F0 4C 41 13 82 */ cror 2, 1, 2 /* 80240594 0023D4F4 40 82 00 40 */ bne lbl_802405D4 lbl_80240598: /* 80240598 0023D4F8 7F 83 E3 78 */ mr r3, r28 /* 8024059C 0023D4FC 38 9C 02 E0 */ addi r4, r28, 0x2e0 /* 802405A0 0023D500 48 00 0A 35 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 802405A4 0023D504 38 7C 02 E0 */ addi r3, r28, 0x2e0 /* 802405A8 0023D508 48 00 10 31 */ bl GetValue__16SSpindlePropertyCFf /* 802405AC 0023D50C FC 00 9A 10 */ fabs f0, f19 /* 802405B0 0023D510 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802405B4 0023D514 40 81 00 18 */ ble lbl_802405CC /* 802405B8 0023D518 C0 42 B7 E0 */ lfs f2, lbl_805AD500@sda21(r2) /* 802405BC 0023D51C C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2) /* 802405C0 0023D520 FC 13 10 2E */ fsel f0, f19, f0, f2 /* 802405C4 0023D524 EC 01 00 32 */ fmuls f0, f1, f0 /* 802405C8 0023D528 48 00 00 08 */ b lbl_802405D0 lbl_802405CC: /* 802405CC 0023D52C FC 00 98 90 */ fmr f0, f19 lbl_802405D0: /* 802405D0 0023D530 FE 60 00 90 */ fmr f19, f0 lbl_802405D4: /* 802405D4 0023D534 C0 3C 00 60 */ lfs f1, 0x60(r28) /* 802405D8 0023D538 EC 76 04 B2 */ fmuls f3, f22, f18 /* 802405DC 0023D53C C0 5C 00 50 */ lfs f2, 0x50(r28) /* 802405E0 0023D540 38 61 01 CC */ addi r3, r1, 0x1cc /* 802405E4 0023D544 C0 1C 00 40 */ lfs f0, 0x40(r28) /* 802405E8 0023D548 EC 9A 08 28 */ fsubs f4, f26, f1 /* 802405EC 0023D54C EC 57 10 28 */ fsubs f2, f23, f2 /* 802405F0 0023D550 EC 38 00 28 */ fsubs f1, f24, f0 /* 802405F4 0023D554 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 802405F8 0023D558 D0 81 01 D4 */ stfs f4, 0x1d4(r1) /* 802405FC 0023D55C EE 73 00 F2 */ fmuls f19, f19, f3 /* 80240600 0023D560 FE 40 00 90 */ fmr f18, f0 /* 80240604 0023D564 D0 21 01 CC */ stfs f1, 0x1cc(r1) /* 80240608 0023D568 D0 41 01 D0 */ stfs f2, 0x1d0(r1) /* 8024060C 0023D56C D0 01 01 D4 */ stfs f0, 0x1d4(r1) /* 80240610 0023D570 48 0D 40 E9 */ bl CanBeNormalized__9CVector3fCFv /* 80240614 0023D574 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80240618 0023D578 41 82 00 10 */ beq lbl_80240628 /* 8024061C 0023D57C 38 61 01 CC */ addi r3, r1, 0x1cc /* 80240620 0023D580 48 0D 42 99 */ bl Magnitude__9CVector3fCFv /* 80240624 0023D584 FE 40 08 90 */ fmr f18, f1 lbl_80240628: /* 80240628 0023D588 C0 22 B7 E8 */ lfs f1, lbl_805AD508@sda21(r2) /* 8024062C 0023D58C 38 81 00 28 */ addi r4, r1, 0x28 /* 80240630 0023D590 C0 02 B7 EC */ lfs f0, lbl_805AD50C@sda21(r2) /* 80240634 0023D594 38 6D 96 C8 */ addi r3, r13, lbl_805A8288@sda21 /* 80240638 0023D598 EC 32 08 28 */ fsubs f1, f18, f1 /* 8024063C 0023D59C 38 AD 96 CC */ addi r5, r13, lbl_805A828C@sda21 /* 80240640 0023D5A0 EC 01 00 32 */ fmuls f0, f1, f0 /* 80240644 0023D5A4 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80240648 0023D5A8 4B DC BC 6D */ bl "Clamp__5CMathFRCfRCfRCf" /* 8024064C 0023D5AC C0 43 00 00 */ lfs f2, 0(r3) /* 80240650 0023D5B0 C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2) /* 80240654 0023D5B4 C0 02 B7 F0 */ lfs f0, lbl_805AD510@sda21(r2) /* 80240658 0023D5B8 EC 41 10 28 */ fsubs f2, f1, f2 /* 8024065C 0023D5BC EC 00 08 BA */ fmadds f0, f0, f2, f1 /* 80240660 0023D5C0 EE 73 00 32 */ fmuls f19, f19, f0 /* 80240664 0023D5C4 FC 00 9A 10 */ fabs f0, f19 /* 80240668 0023D5C8 FC 00 A0 40 */ fcmpo cr0, f0, f20 /* 8024066C 0023D5CC 40 81 00 14 */ ble lbl_80240680 /* 80240670 0023D5D0 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 80240674 0023D5D4 FC 13 00 6E */ fsel f0, f19, f1, f0 /* 80240678 0023D5D8 EC B4 00 32 */ fmuls f5, f20, f0 /* 8024067C 0023D5DC 48 00 00 08 */ b lbl_80240684 lbl_80240680: /* 80240680 0023D5E0 FC A0 98 90 */ fmr f5, f19 lbl_80240684: /* 80240684 0023D5E4 C0 21 02 34 */ lfs f1, 0x234(r1) /* 80240688 0023D5E8 C0 01 01 E8 */ lfs f0, 0x1e8(r1) /* 8024068C 0023D5EC C0 41 02 30 */ lfs f2, 0x230(r1) /* 80240690 0023D5F0 EC 01 00 32 */ fmuls f0, f1, f0 /* 80240694 0023D5F4 C0 21 01 E4 */ lfs f1, 0x1e4(r1) /* 80240698 0023D5F8 C0 81 02 38 */ lfs f4, 0x238(r1) /* 8024069C 0023D5FC C0 61 01 EC */ lfs f3, 0x1ec(r1) /* 802406A0 0023D600 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 802406A4 0023D604 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 802406A8 0023D608 EC 44 08 FA */ fmadds f2, f4, f3, f1 /* 802406AC 0023D60C FC 20 12 10 */ fabs f1, f2 /* 802406B0 0023D610 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802406B4 0023D614 40 81 00 14 */ ble lbl_802406C8 /* 802406B8 0023D618 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 802406BC 0023D61C C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2) /* 802406C0 0023D620 FC 02 00 6E */ fsel f0, f2, f1, f0 /* 802406C4 0023D624 EC 41 00 32 */ fmuls f2, f1, f0 lbl_802406C8: /* 802406C8 0023D628 FC 20 12 10 */ fabs f1, f2 /* 802406CC 0023D62C C0 02 B7 F4 */ lfs f0, lbl_805AD514@sda21(r2) /* 802406D0 0023D630 FC 20 08 18 */ frsp f1, f1 /* 802406D4 0023D634 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802406D8 0023D638 40 80 00 80 */ bge lbl_80240758 /* 802406DC 0023D63C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 802406E0 0023D640 38 61 01 00 */ addi r3, r1, 0x100 /* 802406E4 0023D644 38 81 01 E4 */ addi r4, r1, 0x1e4 /* 802406E8 0023D648 48 0D 36 E9 */ bl __ct__11CUnitVectorFRC9CVector3f /* 802406EC 0023D64C 7C 7D 1B 78 */ mr r29, r3 /* 802406F0 0023D650 38 61 01 0C */ addi r3, r1, 0x10c /* 802406F4 0023D654 38 81 02 30 */ addi r4, r1, 0x230 /* 802406F8 0023D658 48 0D 36 D9 */ bl __ct__11CUnitVectorFRC9CVector3f /* 802406FC 0023D65C 7C 64 1B 78 */ mr r4, r3 /* 80240700 0023D660 7F A5 EB 78 */ mr r5, r29 /* 80240704 0023D664 38 61 01 18 */ addi r3, r1, 0x118 /* 80240708 0023D668 38 C1 00 24 */ addi r6, r1, 0x24 /* 8024070C 0023D66C 48 0D 0F 89 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle /* 80240710 0023D670 C0 01 01 18 */ lfs f0, 0x118(r1) /* 80240714 0023D674 38 61 00 F4 */ addi r3, r1, 0xf4 /* 80240718 0023D678 80 E1 01 1C */ lwz r7, 0x11c(r1) /* 8024071C 0023D67C 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 80240720 0023D680 80 C1 01 20 */ lwz r6, 0x120(r1) /* 80240724 0023D684 38 A1 02 30 */ addi r5, r1, 0x230 /* 80240728 0023D688 80 01 01 24 */ lwz r0, 0x124(r1) /* 8024072C 0023D68C D0 01 01 F0 */ stfs f0, 0x1f0(r1) /* 80240730 0023D690 90 E1 01 F4 */ stw r7, 0x1f4(r1) /* 80240734 0023D694 90 C1 01 F8 */ stw r6, 0x1f8(r1) /* 80240738 0023D698 90 01 01 FC */ stw r0, 0x1fc(r1) /* 8024073C 0023D69C 48 0D 0B 29 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80240740 0023D6A0 C0 41 00 F4 */ lfs f2, 0xf4(r1) /* 80240744 0023D6A4 C0 21 00 F8 */ lfs f1, 0xf8(r1) /* 80240748 0023D6A8 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 8024074C 0023D6AC D0 41 01 D8 */ stfs f2, 0x1d8(r1) /* 80240750 0023D6B0 D0 21 01 DC */ stfs f1, 0x1dc(r1) /* 80240754 0023D6B4 D0 01 01 E0 */ stfs f0, 0x1e0(r1) lbl_80240758: /* 80240758 0023D6B8 C0 21 02 28 */ lfs f1, 0x228(r1) /* 8024075C 0023D6BC C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 80240760 0023D6C0 C0 41 02 24 */ lfs f2, 0x224(r1) /* 80240764 0023D6C4 EC 01 00 32 */ fmuls f0, f1, f0 /* 80240768 0023D6C8 C0 21 01 D8 */ lfs f1, 0x1d8(r1) /* 8024076C 0023D6CC C0 81 02 2C */ lfs f4, 0x22c(r1) /* 80240770 0023D6D0 C0 61 01 E0 */ lfs f3, 0x1e0(r1) /* 80240774 0023D6D4 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80240778 0023D6D8 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 8024077C 0023D6DC EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 80240780 0023D6E0 FC 40 0A 10 */ fabs f2, f1 /* 80240784 0023D6E4 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80240788 0023D6E8 40 81 00 14 */ ble lbl_8024079C /* 8024078C 0023D6EC C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 80240790 0023D6F0 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2) /* 80240794 0023D6F4 FC 01 00 AE */ fsel f0, f1, f2, f0 /* 80240798 0023D6F8 EC 22 00 32 */ fmuls f1, f2, f0 lbl_8024079C: /* 8024079C 0023D6FC 48 15 44 91 */ bl acos /* 802407A0 0023D700 80 1C 01 88 */ lwz r0, 0x188(r28) /* 802407A4 0023D704 FE 40 08 18 */ frsp f18, f1 /* 802407A8 0023D708 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b /* 802407AC 0023D70C 41 82 00 28 */ beq lbl_802407D4 /* 802407B0 0023D710 FE 60 92 10 */ fabs f19, f18 /* 802407B4 0023D714 7F 83 E3 78 */ mr r3, r28 /* 802407B8 0023D718 38 9C 02 20 */ addi r4, r28, 0x220 /* 802407BC 0023D71C 48 00 08 19 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 802407C0 0023D720 38 7C 02 20 */ addi r3, r28, 0x220 /* 802407C4 0023D724 48 00 0E 15 */ bl GetValue__16SSpindlePropertyCFf /* 802407C8 0023D728 FC 00 98 18 */ frsp f0, f19 /* 802407CC 0023D72C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802407D0 0023D730 41 80 00 1C */ blt lbl_802407EC lbl_802407D4: /* 802407D4 0023D734 80 1C 01 88 */ lwz r0, 0x188(r28) /* 802407D8 0023D738 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 802407DC 0023D73C 40 82 00 10 */ bne lbl_802407EC /* 802407E0 0023D740 88 1C 03 3C */ lbz r0, 0x33c(r28) /* 802407E4 0023D744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 802407E8 0023D748 41 82 00 1C */ beq lbl_80240804 lbl_802407EC: /* 802407EC 0023D74C C0 41 01 E4 */ lfs f2, 0x1e4(r1) /* 802407F0 0023D750 C0 21 01 E8 */ lfs f1, 0x1e8(r1) /* 802407F4 0023D754 C0 01 01 EC */ lfs f0, 0x1ec(r1) /* 802407F8 0023D758 D0 41 01 D8 */ stfs f2, 0x1d8(r1) /* 802407FC 0023D75C D0 21 01 DC */ stfs f1, 0x1dc(r1) /* 80240800 0023D760 D0 01 01 E0 */ stfs f0, 0x1e0(r1) lbl_80240804: /* 80240804 0023D764 7F 83 E3 78 */ mr r3, r28 /* 80240808 0023D768 38 9C 02 50 */ addi r4, r28, 0x250 /* 8024080C 0023D76C 48 00 07 C9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240810 0023D770 38 7C 02 50 */ addi r3, r28, 0x250 /* 80240814 0023D774 48 00 0D C5 */ bl GetValue__16SSpindlePropertyCFf /* 80240818 0023D778 FC 00 92 10 */ fabs f0, f18 /* 8024081C 0023D77C FC 00 00 18 */ frsp f0, f0 /* 80240820 0023D780 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80240824 0023D784 40 81 01 9C */ ble lbl_802409C0 /* 80240828 0023D788 C0 5C 03 28 */ lfs f2, 0x328(r28) /* 8024082C 0023D78C C0 02 B7 F8 */ lfs f0, lbl_805AD518@sda21(r2) /* 80240830 0023D790 EC 42 B0 2A */ fadds f2, f2, f22 /* 80240834 0023D794 D0 5C 03 28 */ stfs f2, 0x328(r28) /* 80240838 0023D798 C0 5C 03 28 */ lfs f2, 0x328(r28) /* 8024083C 0023D79C FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80240840 0023D7A0 40 80 00 E0 */ bge lbl_80240920 /* 80240844 0023D7A4 EC 82 00 24 */ fdivs f4, f2, f0 /* 80240848 0023D7A8 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 8024084C 0023D7AC FC 40 22 10 */ fabs f2, f4 /* 80240850 0023D7B0 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80240854 0023D7B4 40 81 00 14 */ ble lbl_80240868 /* 80240858 0023D7B8 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 8024085C 0023D7BC C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2) /* 80240860 0023D7C0 FC 04 00 AE */ fsel f0, f4, f2, f0 /* 80240864 0023D7C4 EC 82 00 32 */ fmuls f4, f2, f0 lbl_80240868: /* 80240868 0023D7C8 EC 01 90 28 */ fsubs f0, f1, f18 /* 8024086C 0023D7CC C0 C1 02 28 */ lfs f6, 0x228(r1) /* 80240870 0023D7D0 C1 41 01 D8 */ lfs f10, 0x1d8(r1) /* 80240874 0023D7D4 C0 E1 02 2C */ lfs f7, 0x22c(r1) /* 80240878 0023D7D8 C1 01 01 DC */ lfs f8, 0x1dc(r1) /* 8024087C 0023D7DC FC 00 02 10 */ fabs f0, f0 /* 80240880 0023D7E0 C1 21 01 E0 */ lfs f9, 0x1e0(r1) /* 80240884 0023D7E4 EC 2A 01 B2 */ fmuls f1, f10, f6 /* 80240888 0023D7E8 C1 61 02 24 */ lfs f11, 0x224(r1) /* 8024088C 0023D7EC EC 68 01 F2 */ fmuls f3, f8, f7 /* 80240890 0023D7F0 FC A0 00 18 */ frsp f5, f0 /* 80240894 0023D7F4 EC 49 02 F2 */ fmuls f2, f9, f11 /* 80240898 0023D7F8 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 8024089C 0023D7FC EC 2B 0A 38 */ fmsubs f1, f11, f8, f1 /* 802408A0 0023D800 EC 66 1A 78 */ fmsubs f3, f6, f9, f3 /* 802408A4 0023D804 EC 47 12 B8 */ fmsubs f2, f7, f10, f2 /* 802408A8 0023D808 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802408AC 0023D80C D0 21 00 F0 */ stfs f1, 0xf0(r1) /* 802408B0 0023D810 D0 61 00 E8 */ stfs f3, 0xe8(r1) /* 802408B4 0023D814 D0 41 00 EC */ stfs f2, 0xec(r1) /* 802408B8 0023D818 40 81 00 08 */ ble lbl_802408C0 /* 802408BC 0023D81C FC A0 28 50 */ fneg f5, f5 lbl_802408C0: /* 802408C0 0023D820 EC 05 01 32 */ fmuls f0, f5, f4 /* 802408C4 0023D824 38 61 00 D8 */ addi r3, r1, 0xd8 /* 802408C8 0023D828 38 81 00 20 */ addi r4, r1, 0x20 /* 802408CC 0023D82C D0 01 00 20 */ stfs f0, 0x20(r1) /* 802408D0 0023D830 48 0D 08 29 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 802408D4 0023D834 C0 01 00 D8 */ lfs f0, 0xd8(r1) /* 802408D8 0023D838 38 61 00 CC */ addi r3, r1, 0xcc /* 802408DC 0023D83C 80 E1 00 DC */ lwz r7, 0xdc(r1) /* 802408E0 0023D840 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 802408E4 0023D844 80 C1 00 E0 */ lwz r6, 0xe0(r1) /* 802408E8 0023D848 38 A1 01 D8 */ addi r5, r1, 0x1d8 /* 802408EC 0023D84C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 802408F0 0023D850 D0 01 01 F0 */ stfs f0, 0x1f0(r1) /* 802408F4 0023D854 90 E1 01 F4 */ stw r7, 0x1f4(r1) /* 802408F8 0023D858 90 C1 01 F8 */ stw r6, 0x1f8(r1) /* 802408FC 0023D85C 90 01 01 FC */ stw r0, 0x1fc(r1) /* 80240900 0023D860 48 0D 09 65 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80240904 0023D864 C0 41 00 CC */ lfs f2, 0xcc(r1) /* 80240908 0023D868 C0 21 00 D0 */ lfs f1, 0xd0(r1) /* 8024090C 0023D86C C0 01 00 D4 */ lfs f0, 0xd4(r1) /* 80240910 0023D870 D0 41 01 D8 */ stfs f2, 0x1d8(r1) /* 80240914 0023D874 D0 21 01 DC */ stfs f1, 0x1dc(r1) /* 80240918 0023D878 D0 01 01 E0 */ stfs f0, 0x1e0(r1) /* 8024091C 0023D87C 48 00 00 AC */ b lbl_802409C8 lbl_80240920: /* 80240920 0023D880 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240924 0023D884 FC 19 00 40 */ fcmpo cr0, f25, f0 /* 80240928 0023D888 40 81 00 38 */ ble lbl_80240960 /* 8024092C 0023D88C D0 21 00 1C */ stfs f1, 0x1c(r1) /* 80240930 0023D890 38 61 00 BC */ addi r3, r1, 0xbc /* 80240934 0023D894 38 81 00 1C */ addi r4, r1, 0x1c /* 80240938 0023D898 48 0D 07 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 8024093C 0023D89C C0 01 00 BC */ lfs f0, 0xbc(r1) /* 80240940 0023D8A0 80 81 00 C0 */ lwz r4, 0xc0(r1) /* 80240944 0023D8A4 80 61 00 C4 */ lwz r3, 0xc4(r1) /* 80240948 0023D8A8 80 01 00 C8 */ lwz r0, 0xc8(r1) /* 8024094C 0023D8AC D0 01 01 F0 */ stfs f0, 0x1f0(r1) /* 80240950 0023D8B0 90 81 01 F4 */ stw r4, 0x1f4(r1) /* 80240954 0023D8B4 90 61 01 F8 */ stw r3, 0x1f8(r1) /* 80240958 0023D8B8 90 01 01 FC */ stw r0, 0x1fc(r1) /* 8024095C 0023D8BC 48 00 00 38 */ b lbl_80240994 lbl_80240960: /* 80240960 0023D8C0 FC 00 08 50 */ fneg f0, f1 /* 80240964 0023D8C4 38 61 00 AC */ addi r3, r1, 0xac /* 80240968 0023D8C8 38 81 00 18 */ addi r4, r1, 0x18 /* 8024096C 0023D8CC D0 01 00 18 */ stfs f0, 0x18(r1) /* 80240970 0023D8D0 48 0D 07 89 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80240974 0023D8D4 C0 01 00 AC */ lfs f0, 0xac(r1) /* 80240978 0023D8D8 80 81 00 B0 */ lwz r4, 0xb0(r1) /* 8024097C 0023D8DC 80 61 00 B4 */ lwz r3, 0xb4(r1) /* 80240980 0023D8E0 80 01 00 B8 */ lwz r0, 0xb8(r1) /* 80240984 0023D8E4 D0 01 01 F0 */ stfs f0, 0x1f0(r1) /* 80240988 0023D8E8 90 81 01 F4 */ stw r4, 0x1f4(r1) /* 8024098C 0023D8EC 90 61 01 F8 */ stw r3, 0x1f8(r1) /* 80240990 0023D8F0 90 01 01 FC */ stw r0, 0x1fc(r1) lbl_80240994: /* 80240994 0023D8F4 38 61 00 A0 */ addi r3, r1, 0xa0 /* 80240998 0023D8F8 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 8024099C 0023D8FC 38 A1 02 24 */ addi r5, r1, 0x224 /* 802409A0 0023D900 48 0D 08 C5 */ bl Transform__11CQuaternionCFRC9CVector3f /* 802409A4 0023D904 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 802409A8 0023D908 C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 802409AC 0023D90C C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 802409B0 0023D910 D0 41 01 D8 */ stfs f2, 0x1d8(r1) /* 802409B4 0023D914 D0 21 01 DC */ stfs f1, 0x1dc(r1) /* 802409B8 0023D918 D0 01 01 E0 */ stfs f0, 0x1e0(r1) /* 802409BC 0023D91C 48 00 00 0C */ b lbl_802409C8 lbl_802409C0: /* 802409C0 0023D920 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 802409C4 0023D924 D0 1C 03 28 */ stfs f0, 0x328(r28) lbl_802409C8: /* 802409C8 0023D928 80 1C 01 88 */ lwz r0, 0x188(r28) /* 802409CC 0023D92C 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a /* 802409D0 0023D930 41 82 01 68 */ beq lbl_80240B38 /* 802409D4 0023D934 C0 7F 00 58 */ lfs f3, 0x58(r31) /* 802409D8 0023D938 38 61 01 C0 */ addi r3, r1, 0x1c0 /* 802409DC 0023D93C C0 5F 00 48 */ lfs f2, 0x48(r31) /* 802409E0 0023D940 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 802409E4 0023D944 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 802409E8 0023D948 D0 61 01 C8 */ stfs f3, 0x1c8(r1) /* 802409EC 0023D94C D0 21 01 C0 */ stfs f1, 0x1c0(r1) /* 802409F0 0023D950 D0 41 01 C4 */ stfs f2, 0x1c4(r1) /* 802409F4 0023D954 D0 01 01 C8 */ stfs f0, 0x1c8(r1) /* 802409F8 0023D958 48 0D 3D 01 */ bl CanBeNormalized__9CVector3fCFv /* 802409FC 0023D95C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80240A00 0023D960 41 82 01 38 */ beq lbl_80240B38 /* 80240A04 0023D964 38 61 01 C0 */ addi r3, r1, 0x1c0 /* 80240A08 0023D968 48 0D 3E F1 */ bl Normalize__9CVector3fFv /* 80240A0C 0023D96C C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 80240A10 0023D970 C0 01 01 DC */ lfs f0, 0x1dc(r1) /* 80240A14 0023D974 C0 41 01 C0 */ lfs f2, 0x1c0(r1) /* 80240A18 0023D978 EC 01 00 32 */ fmuls f0, f1, f0 /* 80240A1C 0023D97C C0 21 01 D8 */ lfs f1, 0x1d8(r1) /* 80240A20 0023D980 C0 81 01 C8 */ lfs f4, 0x1c8(r1) /* 80240A24 0023D984 C0 61 01 E0 */ lfs f3, 0x1e0(r1) /* 80240A28 0023D988 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 80240A2C 0023D98C C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 80240A30 0023D990 EC 24 08 FA */ fmadds f1, f4, f3, f1 /* 80240A34 0023D994 FC 40 0A 10 */ fabs f2, f1 /* 80240A38 0023D998 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 80240A3C 0023D99C 40 81 00 14 */ ble lbl_80240A50 /* 80240A40 0023D9A0 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 80240A44 0023D9A4 C0 42 B7 D4 */ lfs f2, lbl_805AD4F4@sda21(r2) /* 80240A48 0023D9A8 FC 01 00 AE */ fsel f0, f1, f2, f0 /* 80240A4C 0023D9AC EC 22 00 32 */ fmuls f1, f2, f0 lbl_80240A50: /* 80240A50 0023D9B0 48 15 41 DD */ bl acos /* 80240A54 0023D9B4 FC 00 08 18 */ frsp f0, f1 /* 80240A58 0023D9B8 7F 83 E3 78 */ mr r3, r28 /* 80240A5C 0023D9BC 38 9C 02 B0 */ addi r4, r28, 0x2b0 /* 80240A60 0023D9C0 FC 00 02 10 */ fabs f0, f0 /* 80240A64 0023D9C4 FE 40 00 18 */ frsp f18, f0 /* 80240A68 0023D9C8 48 00 05 6D */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240A6C 0023D9CC 38 7C 02 B0 */ addi r3, r28, 0x2b0 /* 80240A70 0023D9D0 48 00 0B 69 */ bl GetValue__16SSpindlePropertyCFf /* 80240A74 0023D9D4 FC 00 92 10 */ fabs f0, f18 /* 80240A78 0023D9D8 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80240A7C 0023D9DC 40 81 00 14 */ ble lbl_80240A90 /* 80240A80 0023D9E0 C0 42 B7 E0 */ lfs f2, lbl_805AD500@sda21(r2) /* 80240A84 0023D9E4 C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2) /* 80240A88 0023D9E8 FC 12 10 2E */ fsel f0, f18, f0, f2 /* 80240A8C 0023D9EC EE 41 00 32 */ fmuls f18, f1, f0 lbl_80240A90: /* 80240A90 0023D9F0 C0 81 01 C4 */ lfs f4, 0x1c4(r1) /* 80240A94 0023D9F4 FD 00 90 90 */ fmr f8, f18 /* 80240A98 0023D9F8 C0 E1 01 D8 */ lfs f7, 0x1d8(r1) /* 80240A9C 0023D9FC C0 A1 01 C8 */ lfs f5, 0x1c8(r1) /* 80240AA0 0023DA00 C0 21 01 DC */ lfs f1, 0x1dc(r1) /* 80240AA4 0023DA04 EC 07 01 32 */ fmuls f0, f7, f4 /* 80240AA8 0023DA08 C0 41 01 C0 */ lfs f2, 0x1c0(r1) /* 80240AAC 0023DA0C C0 C1 01 E0 */ lfs f6, 0x1e0(r1) /* 80240AB0 0023DA10 EC 61 01 72 */ fmuls f3, f1, f5 /* 80240AB4 0023DA14 EC 22 00 78 */ fmsubs f1, f2, f1, f0 /* 80240AB8 0023DA18 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240ABC 0023DA1C EC 46 00 B2 */ fmuls f2, f6, f2 /* 80240AC0 0023DA20 EC 64 19 B8 */ fmsubs f3, f4, f6, f3 /* 80240AC4 0023DA24 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80240AC8 0023DA28 D0 21 00 9C */ stfs f1, 0x9c(r1) /* 80240ACC 0023DA2C EC 05 11 F8 */ fmsubs f0, f5, f7, f2 /* 80240AD0 0023DA30 D0 61 00 94 */ stfs f3, 0x94(r1) /* 80240AD4 0023DA34 D0 01 00 98 */ stfs f0, 0x98(r1) /* 80240AD8 0023DA38 40 80 00 08 */ bge lbl_80240AE0 /* 80240ADC 0023DA3C FD 00 90 50 */ fneg f8, f18 lbl_80240AE0: /* 80240AE0 0023DA40 D1 01 00 14 */ stfs f8, 0x14(r1) /* 80240AE4 0023DA44 38 61 00 84 */ addi r3, r1, 0x84 /* 80240AE8 0023DA48 38 81 00 14 */ addi r4, r1, 0x14 /* 80240AEC 0023DA4C 48 0D 06 0D */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80240AF0 0023DA50 C0 01 00 84 */ lfs f0, 0x84(r1) /* 80240AF4 0023DA54 38 61 00 78 */ addi r3, r1, 0x78 /* 80240AF8 0023DA58 80 E1 00 88 */ lwz r7, 0x88(r1) /* 80240AFC 0023DA5C 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 80240B00 0023DA60 80 C1 00 8C */ lwz r6, 0x8c(r1) /* 80240B04 0023DA64 38 A1 01 C0 */ addi r5, r1, 0x1c0 /* 80240B08 0023DA68 80 01 00 90 */ lwz r0, 0x90(r1) /* 80240B0C 0023DA6C D0 01 01 F0 */ stfs f0, 0x1f0(r1) /* 80240B10 0023DA70 90 E1 01 F4 */ stw r7, 0x1f4(r1) /* 80240B14 0023DA74 90 C1 01 F8 */ stw r6, 0x1f8(r1) /* 80240B18 0023DA78 90 01 01 FC */ stw r0, 0x1fc(r1) /* 80240B1C 0023DA7C 48 0D 07 49 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80240B20 0023DA80 C0 41 00 78 */ lfs f2, 0x78(r1) /* 80240B24 0023DA84 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 80240B28 0023DA88 C0 01 00 80 */ lfs f0, 0x80(r1) /* 80240B2C 0023DA8C D0 41 01 D8 */ stfs f2, 0x1d8(r1) /* 80240B30 0023DA90 D0 21 01 DC */ stfs f1, 0x1dc(r1) /* 80240B34 0023DA94 D0 01 01 E0 */ stfs f0, 0x1e0(r1) lbl_80240B38: /* 80240B38 0023DA98 C0 81 00 34 */ lfs f4, 0x34(r1) /* 80240B3C 0023DA9C C0 01 01 D8 */ lfs f0, 0x1d8(r1) /* 80240B40 0023DAA0 C0 21 01 DC */ lfs f1, 0x1dc(r1) /* 80240B44 0023DAA4 EC 60 01 32 */ fmuls f3, f0, f4 /* 80240B48 0023DAA8 C0 01 01 E0 */ lfs f0, 0x1e0(r1) /* 80240B4C 0023DAAC EC 41 01 32 */ fmuls f2, f1, f4 /* 80240B50 0023DAB0 EC 20 01 32 */ fmuls f1, f0, f4 /* 80240B54 0023DAB4 EC 1D 18 2A */ fadds f0, f29, f3 /* 80240B58 0023DAB8 D0 61 01 D8 */ stfs f3, 0x1d8(r1) /* 80240B5C 0023DABC EC 9E 10 2A */ fadds f4, f30, f2 /* 80240B60 0023DAC0 EC 7F 08 2A */ fadds f3, f31, f1 /* 80240B64 0023DAC4 D0 41 01 DC */ stfs f2, 0x1dc(r1) /* 80240B68 0023DAC8 D0 21 01 E0 */ stfs f1, 0x1e0(r1) /* 80240B6C 0023DACC D0 01 02 00 */ stfs f0, 0x200(r1) /* 80240B70 0023DAD0 D0 81 02 04 */ stfs f4, 0x204(r1) /* 80240B74 0023DAD4 D0 61 02 08 */ stfs f3, 0x208(r1) /* 80240B78 0023DAD8 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240B7C 0023DADC 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18 /* 80240B80 0023DAE0 41 82 00 24 */ beq lbl_80240BA4 /* 80240B84 0023DAE4 7F 83 E3 78 */ mr r3, r28 /* 80240B88 0023DAE8 38 9C 02 98 */ addi r4, r28, 0x298 /* 80240B8C 0023DAEC 48 00 04 49 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240B90 0023DAF0 38 7C 02 98 */ addi r3, r28, 0x298 /* 80240B94 0023DAF4 48 00 0A 45 */ bl GetValue__16SSpindlePropertyCFf /* 80240B98 0023DAF8 EC 1A 08 2A */ fadds f0, f26, f1 /* 80240B9C 0023DAFC D0 01 02 08 */ stfs f0, 0x208(r1) /* 80240BA0 0023DB00 48 00 00 20 */ b lbl_80240BC0 lbl_80240BA4: /* 80240BA4 0023DB04 7F 83 E3 78 */ mr r3, r28 /* 80240BA8 0023DB08 38 9C 02 98 */ addi r4, r28, 0x298 /* 80240BAC 0023DB0C 48 00 04 29 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240BB0 0023DB10 38 7C 02 98 */ addi r3, r28, 0x298 /* 80240BB4 0023DB14 48 00 0A 25 */ bl GetValue__16SSpindlePropertyCFf /* 80240BB8 0023DB18 EC 1F 08 2A */ fadds f0, f31, f1 /* 80240BBC 0023DB1C D0 01 02 08 */ stfs f0, 0x208(r1) lbl_80240BC0: /* 80240BC0 0023DB20 C0 01 02 08 */ lfs f0, 0x208(r1) /* 80240BC4 0023DB24 38 7C 01 B8 */ addi r3, r28, 0x1b8 /* 80240BC8 0023DB28 38 81 00 30 */ addi r4, r1, 0x30 /* 80240BCC 0023DB2C 38 BC 01 BC */ addi r5, r28, 0x1bc /* 80240BD0 0023DB30 EC 00 F8 28 */ fsubs f0, f0, f31 /* 80240BD4 0023DB34 D0 01 00 30 */ stfs f0, 0x30(r1) /* 80240BD8 0023DB38 4B DC B6 DD */ bl "Clamp__5CMathFRCfRCfRCf" /* 80240BDC 0023DB3C C0 23 00 00 */ lfs f1, 0(r3) /* 80240BE0 0023DB40 EC 01 F8 2A */ fadds f0, f1, f31 /* 80240BE4 0023DB44 D0 21 00 30 */ stfs f1, 0x30(r1) /* 80240BE8 0023DB48 D0 01 02 08 */ stfs f0, 0x208(r1) /* 80240BEC 0023DB4C 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240BF0 0023DB50 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 /* 80240BF4 0023DB54 41 82 00 20 */ beq lbl_80240C14 /* 80240BF8 0023DB58 7F 83 E3 78 */ mr r3, r28 /* 80240BFC 0023DB5C 38 9C 02 80 */ addi r4, r28, 0x280 /* 80240C00 0023DB60 48 00 03 D5 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240C04 0023DB64 38 7C 02 80 */ addi r3, r28, 0x280 /* 80240C08 0023DB68 48 00 09 D1 */ bl GetValue__16SSpindlePropertyCFf /* 80240C0C 0023DB6C EE 5A 08 2A */ fadds f18, f26, f1 /* 80240C10 0023DB70 48 00 00 1C */ b lbl_80240C2C lbl_80240C14: /* 80240C14 0023DB74 7F 83 E3 78 */ mr r3, r28 /* 80240C18 0023DB78 38 9C 02 80 */ addi r4, r28, 0x280 /* 80240C1C 0023DB7C 48 00 03 B9 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240C20 0023DB80 38 7C 02 80 */ addi r3, r28, 0x280 /* 80240C24 0023DB84 48 00 09 B5 */ bl GetValue__16SSpindlePropertyCFf /* 80240C28 0023DB88 EE 5F 08 2A */ fadds f18, f31, f1 lbl_80240C2C: /* 80240C2C 0023DB8C C0 01 02 08 */ lfs f0, 0x208(r1) /* 80240C30 0023DB90 FE 80 90 90 */ fmr f20, f18 /* 80240C34 0023DB94 C0 21 02 04 */ lfs f1, 0x204(r1) /* 80240C38 0023DB98 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 80240C3C 0023DB9C EC 52 00 28 */ fsubs f2, f18, f0 /* 80240C40 0023DBA0 C0 01 02 00 */ lfs f0, 0x200(r1) /* 80240C44 0023DBA4 EC 7C 08 28 */ fsubs f3, f28, f1 /* 80240C48 0023DBA8 EC 3B 00 28 */ fsubs f1, f27, f0 /* 80240C4C 0023DBAC C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240C50 0023DBB0 D0 41 01 B0 */ stfs f2, 0x1b0(r1) /* 80240C54 0023DBB4 D0 21 01 B4 */ stfs f1, 0x1b4(r1) /* 80240C58 0023DBB8 D0 61 01 B8 */ stfs f3, 0x1b8(r1) /* 80240C5C 0023DBBC D0 41 01 BC */ stfs f2, 0x1bc(r1) /* 80240C60 0023DBC0 D0 21 01 A8 */ stfs f1, 0x1a8(r1) /* 80240C64 0023DBC4 D0 61 01 AC */ stfs f3, 0x1ac(r1) /* 80240C68 0023DBC8 D0 01 01 B0 */ stfs f0, 0x1b0(r1) /* 80240C6C 0023DBCC 48 0D 3A 8D */ bl CanBeNormalized__9CVector3fCFv /* 80240C70 0023DBD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80240C74 0023DBD4 41 82 01 C8 */ beq lbl_80240E3C /* 80240C78 0023DBD8 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 80240C7C 0023DBDC 48 0D 3C 3D */ bl Magnitude__9CVector3fCFv /* 80240C80 0023DBE0 FE 60 08 90 */ fmr f19, f1 /* 80240C84 0023DBE4 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 80240C88 0023DBE8 48 0D 3C 71 */ bl Normalize__9CVector3fFv /* 80240C8C 0023DBEC 7F 83 E3 78 */ mr r3, r28 /* 80240C90 0023DBF0 38 9C 02 68 */ addi r4, r28, 0x268 /* 80240C94 0023DBF4 48 00 03 41 */ bl GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty /* 80240C98 0023DBF8 38 7C 02 68 */ addi r3, r28, 0x268 /* 80240C9C 0023DBFC 48 00 09 3D */ bl GetValue__16SSpindlePropertyCFf /* 80240CA0 0023DC00 C0 01 02 08 */ lfs f0, 0x208(r1) /* 80240CA4 0023DC04 FE 80 08 50 */ fneg f20, f1 /* 80240CA8 0023DC08 C0 21 02 04 */ lfs f1, 0x204(r1) /* 80240CAC 0023DC0C 38 61 01 9C */ addi r3, r1, 0x19c /* 80240CB0 0023DC10 EC 40 F8 28 */ fsubs f2, f0, f31 /* 80240CB4 0023DC14 C0 01 02 00 */ lfs f0, 0x200(r1) /* 80240CB8 0023DC18 EC 61 F0 28 */ fsubs f3, f1, f30 /* 80240CBC 0023DC1C EC 20 E8 28 */ fsubs f1, f0, f29 /* 80240CC0 0023DC20 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240CC4 0023DC24 D0 41 01 A4 */ stfs f2, 0x1a4(r1) /* 80240CC8 0023DC28 D0 21 01 9C */ stfs f1, 0x19c(r1) /* 80240CCC 0023DC2C D0 61 01 A0 */ stfs f3, 0x1a0(r1) /* 80240CD0 0023DC30 D0 01 01 A4 */ stfs f0, 0x1a4(r1) /* 80240CD4 0023DC34 48 0D 3A 25 */ bl CanBeNormalized__9CVector3fCFv /* 80240CD8 0023DC38 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80240CDC 0023DC3C 41 82 00 10 */ beq lbl_80240CEC /* 80240CE0 0023DC40 38 61 01 9C */ addi r3, r1, 0x19c /* 80240CE4 0023DC44 48 0D 3C 15 */ bl Normalize__9CVector3fFv /* 80240CE8 0023DC48 48 00 00 18 */ b lbl_80240D00 lbl_80240CEC: /* 80240CEC 0023DC4C C0 22 B7 D0 */ lfs f1, lbl_805AD4F0@sda21(r2) /* 80240CF0 0023DC50 C0 02 B7 D4 */ lfs f0, lbl_805AD4F4@sda21(r2) /* 80240CF4 0023DC54 D0 21 01 9C */ stfs f1, 0x19c(r1) /* 80240CF8 0023DC58 D0 01 01 A0 */ stfs f0, 0x1a0(r1) /* 80240CFC 0023DC5C D0 21 01 A4 */ stfs f1, 0x1a4(r1) lbl_80240D00: /* 80240D00 0023DC60 C0 C1 01 A0 */ lfs f6, 0x1a0(r1) /* 80240D04 0023DC64 C0 81 02 24 */ lfs f4, 0x224(r1) /* 80240D08 0023DC68 C1 01 01 A4 */ lfs f8, 0x1a4(r1) /* 80240D0C 0023DC6C C0 E1 02 28 */ lfs f7, 0x228(r1) /* 80240D10 0023DC70 EC 04 01 B2 */ fmuls f0, f4, f6 /* 80240D14 0023DC74 C0 A1 01 9C */ lfs f5, 0x19c(r1) /* 80240D18 0023DC78 C1 21 02 2C */ lfs f9, 0x22c(r1) /* 80240D1C 0023DC7C EC 67 02 32 */ fmuls f3, f7, f8 /* 80240D20 0023DC80 EC 25 01 F8 */ fmsubs f1, f5, f7, f0 /* 80240D24 0023DC84 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 80240D28 0023DC88 EC 49 01 72 */ fmuls f2, f9, f5 /* 80240D2C 0023DC8C EC 66 1A 78 */ fmsubs f3, f6, f9, f3 /* 80240D30 0023DC90 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80240D34 0023DC94 D0 21 00 74 */ stfs f1, 0x74(r1) /* 80240D38 0023DC98 EC 08 11 38 */ fmsubs f0, f8, f4, f2 /* 80240D3C 0023DC9C D0 61 00 6C */ stfs f3, 0x6c(r1) /* 80240D40 0023DCA0 D0 01 00 70 */ stfs f0, 0x70(r1) /* 80240D44 0023DCA4 4C 41 13 82 */ cror 2, 1, 2 /* 80240D48 0023DCA8 40 82 00 08 */ bne lbl_80240D50 /* 80240D4C 0023DCAC FE 80 A0 50 */ fneg f20, f20 lbl_80240D50: /* 80240D50 0023DCB0 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240D54 0023DCB4 54 00 04 E7 */ rlwinm. r0, r0, 0, 0x13, 0x13 /* 80240D58 0023DCB8 41 82 00 6C */ beq lbl_80240DC4 /* 80240D5C 0023DCBC EC 27 01 B2 */ fmuls f1, f7, f6 /* 80240D60 0023DCC0 C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 80240D64 0023DCC4 EC 24 09 7A */ fmadds f1, f4, f5, f1 /* 80240D68 0023DCC8 EC 49 0A 3A */ fmadds f2, f9, f8, f1 /* 80240D6C 0023DCCC FC 20 12 10 */ fabs f1, f2 /* 80240D70 0023DCD0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80240D74 0023DCD4 40 81 00 14 */ ble lbl_80240D88 /* 80240D78 0023DCD8 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 80240D7C 0023DCDC C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2) /* 80240D80 0023DCE0 FC 02 00 6E */ fsel f0, f2, f1, f0 /* 80240D84 0023DCE4 EC 41 00 32 */ fmuls f2, f1, f0 lbl_80240D88: /* 80240D88 0023DCE8 FC 00 12 10 */ fabs f0, f2 /* 80240D8C 0023DCEC FC 20 00 18 */ frsp f1, f0 /* 80240D90 0023DCF0 48 15 3E 9D */ bl acos /* 80240D94 0023DCF4 FC 40 08 18 */ frsp f2, f1 /* 80240D98 0023DCF8 C0 22 B7 FC */ lfs f1, lbl_805AD51C@sda21(r2) /* 80240D9C 0023DCFC C8 02 B7 D8 */ lfd f0, lbl_805AD4F8@sda21(r2) /* 80240DA0 0023DD00 EC 42 08 24 */ fdivs f2, f2, f1 /* 80240DA4 0023DD04 FC 20 12 10 */ fabs f1, f2 /* 80240DA8 0023DD08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80240DAC 0023DD0C 40 81 00 14 */ ble lbl_80240DC0 /* 80240DB0 0023DD10 C0 02 B7 E0 */ lfs f0, lbl_805AD500@sda21(r2) /* 80240DB4 0023DD14 C0 22 B7 D4 */ lfs f1, lbl_805AD4F4@sda21(r2) /* 80240DB8 0023DD18 FC 02 00 6E */ fsel f0, f2, f1, f0 /* 80240DBC 0023DD1C EC 41 00 32 */ fmuls f2, f1, f0 lbl_80240DC0: /* 80240DC0 0023DD20 EE 94 00 B2 */ fmuls f20, f20, f2 lbl_80240DC4: /* 80240DC4 0023DD24 D2 81 00 10 */ stfs f20, 0x10(r1) /* 80240DC8 0023DD28 38 61 00 5C */ addi r3, r1, 0x5c /* 80240DCC 0023DD2C 38 81 00 10 */ addi r4, r1, 0x10 /* 80240DD0 0023DD30 48 0D 03 29 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 80240DD4 0023DD34 C0 61 00 5C */ lfs f3, 0x5c(r1) /* 80240DD8 0023DD38 38 61 00 50 */ addi r3, r1, 0x50 /* 80240DDC 0023DD3C C0 41 00 60 */ lfs f2, 0x60(r1) /* 80240DE0 0023DD40 38 81 01 8C */ addi r4, r1, 0x18c /* 80240DE4 0023DD44 C0 21 00 64 */ lfs f1, 0x64(r1) /* 80240DE8 0023DD48 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 80240DEC 0023DD4C C0 01 00 68 */ lfs f0, 0x68(r1) /* 80240DF0 0023DD50 D0 61 01 8C */ stfs f3, 0x18c(r1) /* 80240DF4 0023DD54 D0 41 01 90 */ stfs f2, 0x190(r1) /* 80240DF8 0023DD58 D0 21 01 94 */ stfs f1, 0x194(r1) /* 80240DFC 0023DD5C D0 01 01 98 */ stfs f0, 0x198(r1) /* 80240E00 0023DD60 48 0D 04 65 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80240E04 0023DD64 FC 20 A0 90 */ fmr f1, f20 /* 80240E08 0023DD68 C2 A1 00 50 */ lfs f21, 0x50(r1) /* 80240E0C 0023DD6C C2 C1 00 54 */ lfs f22, 0x54(r1) /* 80240E10 0023DD70 48 15 35 E1 */ bl cos /* 80240E14 0023DD74 FC 00 08 18 */ frsp f0, f1 /* 80240E18 0023DD78 C0 61 02 00 */ lfs f3, 0x200(r1) /* 80240E1C 0023DD7C C0 21 02 04 */ lfs f1, 0x204(r1) /* 80240E20 0023DD80 FE 80 90 90 */ fmr f20, f18 /* 80240E24 0023DD84 EC 40 05 72 */ fmuls f2, f0, f21 /* 80240E28 0023DD88 EC 00 05 B2 */ fmuls f0, f0, f22 /* 80240E2C 0023DD8C EC 53 00 B2 */ fmuls f2, f19, f2 /* 80240E30 0023DD90 EC 13 00 32 */ fmuls f0, f19, f0 /* 80240E34 0023DD94 EF 63 10 2A */ fadds f27, f3, f2 /* 80240E38 0023DD98 EF 81 00 2A */ fadds f28, f1, f0 lbl_80240E3C: /* 80240E3C 0023DD9C C0 61 02 00 */ lfs f3, 0x200(r1) /* 80240E40 0023DDA0 C0 81 02 04 */ lfs f4, 0x204(r1) /* 80240E44 0023DDA4 C0 01 02 08 */ lfs f0, 0x208(r1) /* 80240E48 0023DDA8 EC 5B 18 28 */ fsubs f2, f27, f3 /* 80240E4C 0023DDAC EC 3C 20 28 */ fsubs f1, f28, f4 /* 80240E50 0023DDB0 EC 14 00 28 */ fsubs f0, f20, f0 /* 80240E54 0023DDB4 D0 41 01 B4 */ stfs f2, 0x1b4(r1) /* 80240E58 0023DDB8 D0 21 01 B8 */ stfs f1, 0x1b8(r1) /* 80240E5C 0023DDBC D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 80240E60 0023DDC0 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240E64 0023DDC4 54 00 07 FF */ clrlwi. r0, r0, 0x1f /* 80240E68 0023DDC8 41 82 00 20 */ beq lbl_80240E88 /* 80240E6C 0023DDCC EC 3D 18 28 */ fsubs f1, f29, f3 /* 80240E70 0023DDD0 D0 01 01 BC */ stfs f0, 0x1bc(r1) /* 80240E74 0023DDD4 EC 1E 20 28 */ fsubs f0, f30, f4 /* 80240E78 0023DDD8 FF 60 E8 90 */ fmr f27, f29 /* 80240E7C 0023DDDC FF 80 F0 90 */ fmr f28, f30 /* 80240E80 0023DDE0 D0 21 01 B4 */ stfs f1, 0x1b4(r1) /* 80240E84 0023DDE4 D0 01 01 B8 */ stfs f0, 0x1b8(r1) lbl_80240E88: /* 80240E88 0023DDE8 80 1C 01 88 */ lwz r0, 0x188(r28) /* 80240E8C 0023DDEC 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e /* 80240E90 0023DDF0 41 82 00 1C */ beq lbl_80240EAC /* 80240E94 0023DDF4 EC 5B E8 28 */ fsubs f2, f27, f29 /* 80240E98 0023DDF8 EC 3C F0 28 */ fsubs f1, f28, f30 /* 80240E9C 0023DDFC EC 14 A0 28 */ fsubs f0, f20, f20 /* 80240EA0 0023DE00 D0 41 01 B4 */ stfs f2, 0x1b4(r1) /* 80240EA4 0023DE04 D0 21 01 B8 */ stfs f1, 0x1b8(r1) /* 80240EA8 0023DE08 D0 01 01 BC */ stfs f0, 0x1bc(r1) lbl_80240EAC: /* 80240EAC 0023DE0C 38 61 01 B4 */ addi r3, r1, 0x1b4 /* 80240EB0 0023DE10 48 0D 38 49 */ bl CanBeNormalized__9CVector3fCFv /* 80240EB4 0023DE14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80240EB8 0023DE18 41 82 00 8C */ beq lbl_80240F44 /* 80240EBC 0023DE1C 38 61 00 38 */ addi r3, r1, 0x38 /* 80240EC0 0023DE20 38 81 01 B4 */ addi r4, r1, 0x1b4 /* 80240EC4 0023DE24 48 0D 39 8D */ bl AsNormalized__9CVector3fCFv /* 80240EC8 0023DE28 C0 21 02 04 */ lfs f1, 0x204(r1) /* 80240ECC 0023DE2C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80240ED0 0023DE30 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 80240ED4 0023DE34 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80240ED8 0023DE38 C0 61 02 08 */ lfs f3, 0x208(r1) /* 80240EDC 0023DE3C 38 61 02 3C */ addi r3, r1, 0x23c /* 80240EE0 0023DE40 EC 81 00 2A */ fadds f4, f1, f0 /* 80240EE4 0023DE44 C0 41 00 40 */ lfs f2, 0x40(r1) /* 80240EE8 0023DE48 C0 21 02 00 */ lfs f1, 0x200(r1) /* 80240EEC 0023DE4C 38 81 02 00 */ addi r4, r1, 0x200 /* 80240EF0 0023DE50 C0 01 00 38 */ lfs f0, 0x38(r1) /* 80240EF4 0023DE54 EC 43 10 2A */ fadds f2, f3, f2 /* 80240EF8 0023DE58 EC 01 00 2A */ fadds f0, f1, f0 /* 80240EFC 0023DE5C D0 81 00 48 */ stfs f4, 0x48(r1) /* 80240F00 0023DE60 38 A1 00 44 */ addi r5, r1, 0x44 /* 80240F04 0023DE64 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 80240F08 0023DE68 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80240F0C 0023DE6C 48 0D 2C 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80240F10 0023DE70 38 7C 00 34 */ addi r3, r28, 0x34 /* 80240F14 0023DE74 38 81 02 3C */ addi r4, r1, 0x23c /* 80240F18 0023DE78 48 0D 1C 29 */ bl __as__12CTransform4fFRC12CTransform4f /* 80240F1C 0023DE7C 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80240F20 0023DE80 38 60 00 01 */ li r3, 1 /* 80240F24 0023DE84 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b /* 80240F28 0023DE88 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80240F2C 0023DE8C 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80240F30 0023DE90 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 80240F34 0023DE94 98 1C 00 E4 */ stb r0, 0xe4(r28) /* 80240F38 0023DE98 88 1C 00 E4 */ lbz r0, 0xe4(r28) /* 80240F3C 0023DE9C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80240F40 0023DEA0 98 1C 00 E4 */ stb r0, 0xe4(r28) lbl_80240F44: /* 80240F44 0023DEA4 E3 E1 03 58 */ psq_l f31, 856(r1), 0, qr0 /* 80240F48 0023DEA8 CB E1 03 50 */ lfd f31, 0x350(r1) /* 80240F4C 0023DEAC E3 C1 03 48 */ psq_l f30, 840(r1), 0, qr0 /* 80240F50 0023DEB0 CB C1 03 40 */ lfd f30, 0x340(r1) /* 80240F54 0023DEB4 E3 A1 03 38 */ psq_l f29, 824(r1), 0, qr0 /* 80240F58 0023DEB8 CB A1 03 30 */ lfd f29, 0x330(r1) /* 80240F5C 0023DEBC E3 81 03 28 */ psq_l f28, 808(r1), 0, qr0 /* 80240F60 0023DEC0 CB 81 03 20 */ lfd f28, 0x320(r1) /* 80240F64 0023DEC4 E3 61 03 18 */ psq_l f27, 792(r1), 0, qr0 /* 80240F68 0023DEC8 CB 61 03 10 */ lfd f27, 0x310(r1) /* 80240F6C 0023DECC E3 41 03 08 */ psq_l f26, 776(r1), 0, qr0 /* 80240F70 0023DED0 CB 41 03 00 */ lfd f26, 0x300(r1) /* 80240F74 0023DED4 E3 21 02 F8 */ psq_l f25, 760(r1), 0, qr0 /* 80240F78 0023DED8 CB 21 02 F0 */ lfd f25, 0x2f0(r1) /* 80240F7C 0023DEDC E3 01 02 E8 */ psq_l f24, 744(r1), 0, qr0 /* 80240F80 0023DEE0 CB 01 02 E0 */ lfd f24, 0x2e0(r1) /* 80240F84 0023DEE4 E2 E1 02 D8 */ psq_l f23, 728(r1), 0, qr0 /* 80240F88 0023DEE8 CA E1 02 D0 */ lfd f23, 0x2d0(r1) /* 80240F8C 0023DEEC E2 C1 02 C8 */ psq_l f22, 712(r1), 0, qr0 /* 80240F90 0023DEF0 CA C1 02 C0 */ lfd f22, 0x2c0(r1) /* 80240F94 0023DEF4 E2 A1 02 B8 */ psq_l f21, 696(r1), 0, qr0 /* 80240F98 0023DEF8 CA A1 02 B0 */ lfd f21, 0x2b0(r1) /* 80240F9C 0023DEFC E2 81 02 A8 */ psq_l f20, 680(r1), 0, qr0 /* 80240FA0 0023DF00 CA 81 02 A0 */ lfd f20, 0x2a0(r1) /* 80240FA4 0023DF04 E2 61 02 98 */ psq_l f19, 664(r1), 0, qr0 /* 80240FA8 0023DF08 CA 61 02 90 */ lfd f19, 0x290(r1) /* 80240FAC 0023DF0C E2 41 02 88 */ psq_l f18, 648(r1), 0, qr0 /* 80240FB0 0023DF10 CA 41 02 80 */ lfd f18, 0x280(r1) /* 80240FB4 0023DF14 83 E1 02 7C */ lwz r31, 0x27c(r1) /* 80240FB8 0023DF18 83 C1 02 78 */ lwz r30, 0x278(r1) /* 80240FBC 0023DF1C 83 A1 02 74 */ lwz r29, 0x274(r1) /* 80240FC0 0023DF20 80 01 03 64 */ lwz r0, 0x364(r1) /* 80240FC4 0023DF24 83 81 02 70 */ lwz r28, 0x270(r1) /* 80240FC8 0023DF28 7C 08 03 A6 */ mtlr r0 /* 80240FCC 0023DF2C 38 21 03 60 */ addi r1, r1, 0x360 /* 80240FD0 0023DF30 4E 80 00 20 */ blr .global GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty GetInVar__20CScriptSpindleCameraCFRC16SSpindleProperty: /* 80240FD4 0023DF34 80 04 00 04 */ lwz r0, 4(r4) /* 80240FD8 0023DF38 54 00 10 3A */ slwi r0, r0, 2 /* 80240FDC 0023DF3C 7C 63 02 14 */ add r3, r3, r0 /* 80240FE0 0023DF40 C0 23 01 90 */ lfs f1, 0x190(r3) /* 80240FE4 0023DF44 4E 80 00 20 */ blr .global Reset__20CScriptSpindleCameraFRC12CTransform4fR13CStateManager Reset__20CScriptSpindleCameraFRC12CTransform4fR13CStateManager: /* 80240FE8 0023DF48 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80240FEC 0023DF4C 7C 08 02 A6 */ mflr r0 /* 80240FF0 0023DF50 90 01 00 14 */ stw r0, 0x14(r1) /* 80240FF4 0023DF54 93 E1 00 0C */ stw r31, 0xc(r1) /* 80240FF8 0023DF58 7C BF 2B 78 */ mr r31, r5 /* 80240FFC 0023DF5C 7F E4 FB 78 */ mr r4, r31 /* 80241000 0023DF60 93 C1 00 08 */ stw r30, 8(r1) /* 80241004 0023DF64 7C 7E 1B 78 */ mr r30, r3 /* 80241008 0023DF68 80 65 08 70 */ lwz r3, 0x870(r5) /* 8024100C 0023DF6C 4B DC 83 C5 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager /* 80241010 0023DF70 88 1E 00 30 */ lbz r0, 0x30(r30) /* 80241014 0023DF74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80241018 0023DF78 41 82 00 60 */ beq lbl_80241078 /* 8024101C 0023DF7C 28 03 00 00 */ cmplwi r3, 0 /* 80241020 0023DF80 40 82 00 08 */ bne lbl_80241028 /* 80241024 0023DF84 48 00 00 54 */ b lbl_80241078 lbl_80241028: /* 80241028 0023DF88 88 1E 03 3C */ lbz r0, 0x33c(r30) /* 8024102C 0023DF8C 38 60 00 01 */ li r3, 1 /* 80241030 0023DF90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80241034 0023DF94 C0 22 B8 00 */ lfs f1, lbl_805AD520@sda21(r2) /* 80241038 0023DF98 98 1E 03 3C */ stb r0, 0x33c(r30) /* 8024103C 0023DF9C 7F E4 FB 78 */ mr r4, r31 /* 80241040 0023DFA0 80 7F 08 70 */ lwz r3, 0x870(r31) /* 80241044 0023DFA4 80 63 00 80 */ lwz r3, 0x80(r3) /* 80241048 0023DFA8 4B E4 2A 1D */ bl UpdateLookAtPosition__11CBallCameraFfR13CStateManager /* 8024104C 0023DFAC 7F C3 F3 78 */ mr r3, r30 /* 80241050 0023DFB0 7F E4 FB 78 */ mr r4, r31 /* 80241054 0023DFB4 81 9E 00 00 */ lwz r12, 0(r30) /* 80241058 0023DFB8 C0 22 B8 00 */ lfs f1, lbl_805AD520@sda21(r2) /* 8024105C 0023DFBC 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80241060 0023DFC0 7D 89 03 A6 */ mtctr r12 /* 80241064 0023DFC4 4E 80 04 21 */ bctrl /* 80241068 0023DFC8 88 1E 03 3C */ lbz r0, 0x33c(r30) /* 8024106C 0023DFCC 38 60 00 00 */ li r3, 0 /* 80241070 0023DFD0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80241074 0023DFD4 98 1E 03 3C */ stb r0, 0x33c(r30) lbl_80241078: /* 80241078 0023DFD8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024107C 0023DFDC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80241080 0023DFE0 83 C1 00 08 */ lwz r30, 8(r1) /* 80241084 0023DFE4 7C 08 03 A6 */ mtlr r0 /* 80241088 0023DFE8 38 21 00 10 */ addi r1, r1, 0x10 /* 8024108C 0023DFEC 4E 80 00 20 */ blr .global __dt__20CScriptSpindleCameraFv __dt__20CScriptSpindleCameraFv: /* 80241090 0023DFF0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80241094 0023DFF4 7C 08 02 A6 */ mflr r0 /* 80241098 0023DFF8 90 01 00 14 */ stw r0, 0x14(r1) /* 8024109C 0023DFFC 93 E1 00 0C */ stw r31, 0xc(r1) /* 802410A0 0023E000 7C 9F 23 78 */ mr r31, r4 /* 802410A4 0023E004 93 C1 00 08 */ stw r30, 8(r1) /* 802410A8 0023E008 7C 7E 1B 79 */ or. r30, r3, r3 /* 802410AC 0023E00C 41 82 00 88 */ beq lbl_80241134 /* 802410B0 0023E010 3C 60 80 3F */ lis r3, lbl_803E8670@ha /* 802410B4 0023E014 34 1E 01 8C */ addic. r0, r30, 0x18c /* 802410B8 0023E018 38 03 86 70 */ addi r0, r3, lbl_803E8670@l /* 802410BC 0023E01C 90 1E 00 00 */ stw r0, 0(r30) /* 802410C0 0023E020 41 82 00 58 */ beq lbl_80241118 /* 802410C4 0023E024 80 BE 01 8C */ lwz r5, 0x18c(r30) /* 802410C8 0023E028 38 60 00 00 */ li r3, 0 /* 802410CC 0023E02C 2C 05 00 00 */ cmpwi r5, 0 /* 802410D0 0023E030 40 81 00 40 */ ble lbl_80241110 /* 802410D4 0023E034 2C 05 00 08 */ cmpwi r5, 8 /* 802410D8 0023E038 38 85 FF F8 */ addi r4, r5, -8 /* 802410DC 0023E03C 40 81 00 20 */ ble lbl_802410FC /* 802410E0 0023E040 38 04 00 07 */ addi r0, r4, 7 /* 802410E4 0023E044 54 00 E8 FE */ srwi r0, r0, 3 /* 802410E8 0023E048 7C 09 03 A6 */ mtctr r0 /* 802410EC 0023E04C 2C 04 00 00 */ cmpwi r4, 0 /* 802410F0 0023E050 40 81 00 0C */ ble lbl_802410FC lbl_802410F4: /* 802410F4 0023E054 38 63 00 08 */ addi r3, r3, 8 /* 802410F8 0023E058 42 00 FF FC */ bdnz lbl_802410F4 lbl_802410FC: /* 802410FC 0023E05C 7C 03 28 50 */ subf r0, r3, r5 /* 80241100 0023E060 7C 09 03 A6 */ mtctr r0 /* 80241104 0023E064 7C 03 28 00 */ cmpw r3, r5 /* 80241108 0023E068 40 80 00 08 */ bge lbl_80241110 lbl_8024110C: /* 8024110C 0023E06C 42 00 00 00 */ bdnz lbl_8024110C lbl_80241110: /* 80241110 0023E070 38 00 00 00 */ li r0, 0 /* 80241114 0023E074 90 1E 01 8C */ stw r0, 0x18c(r30) lbl_80241118: /* 80241118 0023E078 7F C3 F3 78 */ mr r3, r30 /* 8024111C 0023E07C 38 80 00 00 */ li r4, 0 /* 80241120 0023E080 4B E1 C9 3D */ bl __dt__11CGameCameraFv /* 80241124 0023E084 7F E0 07 35 */ extsh. r0, r31 /* 80241128 0023E088 40 81 00 0C */ ble lbl_80241134 /* 8024112C 0023E08C 7F C3 F3 78 */ mr r3, r30 /* 80241130 0023E090 48 0D 48 01 */ bl Free__7CMemoryFPCv lbl_80241134: /* 80241134 0023E094 80 01 00 14 */ lwz r0, 0x14(r1) /* 80241138 0023E098 7F C3 F3 78 */ mr r3, r30 /* 8024113C 0023E09C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80241140 0023E0A0 83 C1 00 08 */ lwz r30, 8(r1) /* 80241144 0023E0A4 7C 08 03 A6 */ mtlr r0 /* 80241148 0023E0A8 38 21 00 10 */ addi r1, r1, 0x10 /* 8024114C 0023E0AC 4E 80 00 20 */ blr .global __ct__20CScriptSpindleCameraF9TUniqueIdRCQ24rstl12basic_stringRC11CEntityInfoRC12CTransform4fbiffffRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABox __ct__20CScriptSpindleCameraF9TUniqueIdRCQ24rstl12basic_stringRC11CEntityInfoRC12CTransform4fbiffffRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABox: /* 80241150 0023E0B0 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 80241154 0023E0B4 7C 08 02 A6 */ mflr r0 /* 80241158 0023E0B8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8024115C 0023E0BC DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 80241160 0023E0C0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 80241164 0023E0C4 DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 80241168 0023E0C8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 8024116C 0023E0CC DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 80241170 0023E0D0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 80241174 0023E0D4 DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 80241178 0023E0D8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 8024117C 0023E0DC DB 61 00 90 */ stfd f27, 0x90(r1) /* 80241180 0023E0E0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 /* 80241184 0023E0E4 DB 41 00 80 */ stfd f26, 0x80(r1) /* 80241188 0023E0E8 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 /* 8024118C 0023E0EC DB 21 00 70 */ stfd f25, 0x70(r1) /* 80241190 0023E0F0 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 /* 80241194 0023E0F4 BD C1 00 28 */ stmw r14, 0x28(r1) /* 80241198 0023E0F8 A1 6D A3 8C */ lhz r11, lbl_805A8F4C@sda21(r13) /* 8024119C 0023E0FC FF 20 08 90 */ fmr f25, f1 /* 802411A0 0023E100 A0 04 00 00 */ lhz r0, 0(r4) /* 802411A4 0023E104 FF 40 10 90 */ fmr f26, f2 /* 802411A8 0023E108 FF 60 18 90 */ fmr f27, f3 /* 802411AC 0023E10C B1 61 00 1C */ sth r11, 0x1c(r1) /* 802411B0 0023E110 FF 80 20 90 */ fmr f28, f4 /* 802411B4 0023E114 B0 01 00 20 */ sth r0, 0x20(r1) /* 802411B8 0023E118 7C 6F 1B 78 */ mr r15, r3 /* 802411BC 0023E11C 82 41 00 E8 */ lwz r18, 0xe8(r1) /* 802411C0 0023E120 82 61 00 EC */ lwz r19, 0xec(r1) /* 802411C4 0023E124 7C AE 2B 78 */ mr r14, r5 /* 802411C8 0023E128 82 81 00 F0 */ lwz r20, 0xf0(r1) /* 802411CC 0023E12C 7C F0 3B 78 */ mr r16, r7 /* 802411D0 0023E130 90 C1 00 10 */ stw r6, 0x10(r1) /* 802411D4 0023E134 7D 51 53 78 */ mr r17, r10 /* 802411D8 0023E138 82 A1 00 F4 */ lwz r21, 0xf4(r1) /* 802411DC 0023E13C 82 C1 00 F8 */ lwz r22, 0xf8(r1) /* 802411E0 0023E140 99 01 00 14 */ stb r8, 0x14(r1) /* 802411E4 0023E144 82 E1 00 FC */ lwz r23, 0xfc(r1) /* 802411E8 0023E148 91 21 00 18 */ stw r9, 0x18(r1) /* 802411EC 0023E14C 83 01 01 00 */ lwz r24, 0x100(r1) /* 802411F0 0023E150 83 21 01 04 */ lwz r25, 0x104(r1) /* 802411F4 0023E154 83 41 01 08 */ lwz r26, 0x108(r1) /* 802411F8 0023E158 83 61 01 0C */ lwz r27, 0x10c(r1) /* 802411FC 0023E15C 83 81 01 10 */ lwz r28, 0x110(r1) /* 80241200 0023E160 83 A1 01 14 */ lwz r29, 0x114(r1) /* 80241204 0023E164 83 C1 01 18 */ lwz r30, 0x118(r1) /* 80241208 0023E168 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 8024120C 0023E16C 4B DC AE AD */ bl DefaultAspect__14CCameraManagerFv /* 80241210 0023E170 FF A0 08 90 */ fmr f29, f1 /* 80241214 0023E174 4B DC AE AD */ bl DefaultFarPlane__14CCameraManagerFv /* 80241218 0023E178 FF C0 08 90 */ fmr f30, f1 /* 8024121C 0023E17C 4B DC AE AD */ bl DefaultNearPlane__14CCameraManagerFv /* 80241220 0023E180 FF E0 08 90 */ fmr f31, f1 /* 80241224 0023E184 4B DC AE B5 */ bl DefaultThirdPersonFov__14CCameraManagerFv /* 80241228 0023E188 38 00 00 00 */ li r0, 0 /* 8024122C 0023E18C FC 40 F8 90 */ fmr f2, f31 /* 80241230 0023E190 FC 60 F0 90 */ fmr f3, f30 /* 80241234 0023E194 90 01 00 08 */ stw r0, 8(r1) /* 80241238 0023E198 FC 80 E8 90 */ fmr f4, f29 /* 8024123C 0023E19C 88 A1 00 14 */ lbz r5, 0x14(r1) /* 80241240 0023E1A0 80 E1 00 10 */ lwz r7, 0x10(r1) /* 80241244 0023E1A4 7D E3 7B 78 */ mr r3, r15 /* 80241248 0023E1A8 7D C6 73 78 */ mr r6, r14 /* 8024124C 0023E1AC 7E 08 83 78 */ mr r8, r16 /* 80241250 0023E1B0 38 81 00 20 */ addi r4, r1, 0x20 /* 80241254 0023E1B4 39 21 00 1C */ addi r9, r1, 0x1c /* 80241258 0023E1B8 39 40 00 00 */ li r10, 0 /* 8024125C 0023E1BC 4B E1 C8 61 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" /* 80241260 0023E1C0 3C 60 80 3F */ lis r3, lbl_803E8670@ha /* 80241264 0023E1C4 38 00 00 00 */ li r0, 0 /* 80241268 0023E1C8 38 63 86 70 */ addi r3, r3, lbl_803E8670@l /* 8024126C 0023E1CC 90 6F 00 00 */ stw r3, 0(r15) /* 80241270 0023E1D0 80 61 00 18 */ lwz r3, 0x18(r1) /* 80241274 0023E1D4 90 6F 01 88 */ stw r3, 0x188(r15) /* 80241278 0023E1D8 90 0F 01 8C */ stw r0, 0x18c(r15) /* 8024127C 0023E1DC D3 2F 01 B0 */ stfs f25, 0x1b0(r15) /* 80241280 0023E1E0 D3 4F 01 B4 */ stfs f26, 0x1b4(r15) /* 80241284 0023E1E4 D3 6F 01 B8 */ stfs f27, 0x1b8(r15) /* 80241288 0023E1E8 D3 8F 01 BC */ stfs f28, 0x1bc(r15) /* 8024128C 0023E1EC 80 71 00 00 */ lwz r3, 0(r17) /* 80241290 0023E1F0 90 6F 01 C0 */ stw r3, 0x1c0(r15) /* 80241294 0023E1F4 80 71 00 04 */ lwz r3, 4(r17) /* 80241298 0023E1F8 90 6F 01 C4 */ stw r3, 0x1c4(r15) /* 8024129C 0023E1FC C0 11 00 08 */ lfs f0, 8(r17) /* 802412A0 0023E200 D0 0F 01 C8 */ stfs f0, 0x1c8(r15) /* 802412A4 0023E204 C0 11 00 0C */ lfs f0, 0xc(r17) /* 802412A8 0023E208 D0 0F 01 CC */ stfs f0, 0x1cc(r15) /* 802412AC 0023E20C C0 11 00 10 */ lfs f0, 0x10(r17) /* 802412B0 0023E210 D0 0F 01 D0 */ stfs f0, 0x1d0(r15) /* 802412B4 0023E214 C0 11 00 14 */ lfs f0, 0x14(r17) /* 802412B8 0023E218 D0 0F 01 D4 */ stfs f0, 0x1d4(r15) /* 802412BC 0023E21C 80 72 00 00 */ lwz r3, 0(r18) /* 802412C0 0023E220 90 6F 01 D8 */ stw r3, 0x1d8(r15) /* 802412C4 0023E224 80 72 00 04 */ lwz r3, 4(r18) /* 802412C8 0023E228 90 6F 01 DC */ stw r3, 0x1dc(r15) /* 802412CC 0023E22C C0 12 00 08 */ lfs f0, 8(r18) /* 802412D0 0023E230 D0 0F 01 E0 */ stfs f0, 0x1e0(r15) /* 802412D4 0023E234 C0 12 00 0C */ lfs f0, 0xc(r18) /* 802412D8 0023E238 D0 0F 01 E4 */ stfs f0, 0x1e4(r15) /* 802412DC 0023E23C C0 12 00 10 */ lfs f0, 0x10(r18) /* 802412E0 0023E240 D0 0F 01 E8 */ stfs f0, 0x1e8(r15) /* 802412E4 0023E244 C0 12 00 14 */ lfs f0, 0x14(r18) /* 802412E8 0023E248 D0 0F 01 EC */ stfs f0, 0x1ec(r15) /* 802412EC 0023E24C 80 73 00 00 */ lwz r3, 0(r19) /* 802412F0 0023E250 90 6F 01 F0 */ stw r3, 0x1f0(r15) /* 802412F4 0023E254 80 73 00 04 */ lwz r3, 4(r19) /* 802412F8 0023E258 90 6F 01 F4 */ stw r3, 0x1f4(r15) /* 802412FC 0023E25C C0 13 00 08 */ lfs f0, 8(r19) /* 80241300 0023E260 D0 0F 01 F8 */ stfs f0, 0x1f8(r15) /* 80241304 0023E264 C0 13 00 0C */ lfs f0, 0xc(r19) /* 80241308 0023E268 D0 0F 01 FC */ stfs f0, 0x1fc(r15) /* 8024130C 0023E26C C0 13 00 10 */ lfs f0, 0x10(r19) /* 80241310 0023E270 D0 0F 02 00 */ stfs f0, 0x200(r15) /* 80241314 0023E274 C0 13 00 14 */ lfs f0, 0x14(r19) /* 80241318 0023E278 D0 0F 02 04 */ stfs f0, 0x204(r15) /* 8024131C 0023E27C 80 74 00 00 */ lwz r3, 0(r20) /* 80241320 0023E280 90 6F 02 08 */ stw r3, 0x208(r15) /* 80241324 0023E284 80 74 00 04 */ lwz r3, 4(r20) /* 80241328 0023E288 90 6F 02 0C */ stw r3, 0x20c(r15) /* 8024132C 0023E28C C0 14 00 08 */ lfs f0, 8(r20) /* 80241330 0023E290 D0 0F 02 10 */ stfs f0, 0x210(r15) /* 80241334 0023E294 C0 14 00 0C */ lfs f0, 0xc(r20) /* 80241338 0023E298 D0 0F 02 14 */ stfs f0, 0x214(r15) /* 8024133C 0023E29C C0 14 00 10 */ lfs f0, 0x10(r20) /* 80241340 0023E2A0 D0 0F 02 18 */ stfs f0, 0x218(r15) /* 80241344 0023E2A4 C0 14 00 14 */ lfs f0, 0x14(r20) /* 80241348 0023E2A8 D0 0F 02 1C */ stfs f0, 0x21c(r15) /* 8024134C 0023E2AC 80 75 00 00 */ lwz r3, 0(r21) /* 80241350 0023E2B0 90 6F 02 20 */ stw r3, 0x220(r15) /* 80241354 0023E2B4 80 75 00 04 */ lwz r3, 4(r21) /* 80241358 0023E2B8 90 6F 02 24 */ stw r3, 0x224(r15) /* 8024135C 0023E2BC C0 15 00 08 */ lfs f0, 8(r21) /* 80241360 0023E2C0 D0 0F 02 28 */ stfs f0, 0x228(r15) /* 80241364 0023E2C4 C0 15 00 0C */ lfs f0, 0xc(r21) /* 80241368 0023E2C8 D0 0F 02 2C */ stfs f0, 0x22c(r15) /* 8024136C 0023E2CC C0 15 00 10 */ lfs f0, 0x10(r21) /* 80241370 0023E2D0 D0 0F 02 30 */ stfs f0, 0x230(r15) /* 80241374 0023E2D4 C0 15 00 14 */ lfs f0, 0x14(r21) /* 80241378 0023E2D8 D0 0F 02 34 */ stfs f0, 0x234(r15) /* 8024137C 0023E2DC 80 76 00 00 */ lwz r3, 0(r22) /* 80241380 0023E2E0 90 6F 02 38 */ stw r3, 0x238(r15) /* 80241384 0023E2E4 80 76 00 04 */ lwz r3, 4(r22) /* 80241388 0023E2E8 90 6F 02 3C */ stw r3, 0x23c(r15) /* 8024138C 0023E2EC C0 16 00 08 */ lfs f0, 8(r22) /* 80241390 0023E2F0 D0 0F 02 40 */ stfs f0, 0x240(r15) /* 80241394 0023E2F4 C0 16 00 0C */ lfs f0, 0xc(r22) /* 80241398 0023E2F8 D0 0F 02 44 */ stfs f0, 0x244(r15) /* 8024139C 0023E2FC C0 16 00 10 */ lfs f0, 0x10(r22) /* 802413A0 0023E300 D0 0F 02 48 */ stfs f0, 0x248(r15) /* 802413A4 0023E304 C0 16 00 14 */ lfs f0, 0x14(r22) /* 802413A8 0023E308 D0 0F 02 4C */ stfs f0, 0x24c(r15) /* 802413AC 0023E30C 80 77 00 00 */ lwz r3, 0(r23) /* 802413B0 0023E310 90 6F 02 50 */ stw r3, 0x250(r15) /* 802413B4 0023E314 80 77 00 04 */ lwz r3, 4(r23) /* 802413B8 0023E318 90 6F 02 54 */ stw r3, 0x254(r15) /* 802413BC 0023E31C C0 17 00 08 */ lfs f0, 8(r23) /* 802413C0 0023E320 D0 0F 02 58 */ stfs f0, 0x258(r15) /* 802413C4 0023E324 C0 17 00 0C */ lfs f0, 0xc(r23) /* 802413C8 0023E328 D0 0F 02 5C */ stfs f0, 0x25c(r15) /* 802413CC 0023E32C C0 17 00 10 */ lfs f0, 0x10(r23) /* 802413D0 0023E330 D0 0F 02 60 */ stfs f0, 0x260(r15) /* 802413D4 0023E334 C0 17 00 14 */ lfs f0, 0x14(r23) /* 802413D8 0023E338 D0 0F 02 64 */ stfs f0, 0x264(r15) /* 802413DC 0023E33C 80 78 00 00 */ lwz r3, 0(r24) /* 802413E0 0023E340 90 6F 02 68 */ stw r3, 0x268(r15) /* 802413E4 0023E344 80 78 00 04 */ lwz r3, 4(r24) /* 802413E8 0023E348 90 6F 02 6C */ stw r3, 0x26c(r15) /* 802413EC 0023E34C C0 18 00 08 */ lfs f0, 8(r24) /* 802413F0 0023E350 D0 0F 02 70 */ stfs f0, 0x270(r15) /* 802413F4 0023E354 C0 38 00 0C */ lfs f1, 0xc(r24) /* 802413F8 0023E358 C0 02 B7 D0 */ lfs f0, lbl_805AD4F0@sda21(r2) /* 802413FC 0023E35C D0 2F 02 74 */ stfs f1, 0x274(r15) /* 80241400 0023E360 C0 38 00 10 */ lfs f1, 0x10(r24) /* 80241404 0023E364 D0 2F 02 78 */ stfs f1, 0x278(r15) /* 80241408 0023E368 C0 38 00 14 */ lfs f1, 0x14(r24) /* 8024140C 0023E36C D0 2F 02 7C */ stfs f1, 0x27c(r15) /* 80241410 0023E370 80 79 00 00 */ lwz r3, 0(r25) /* 80241414 0023E374 90 6F 02 80 */ stw r3, 0x280(r15) /* 80241418 0023E378 80 79 00 04 */ lwz r3, 4(r25) /* 8024141C 0023E37C 90 6F 02 84 */ stw r3, 0x284(r15) /* 80241420 0023E380 C0 39 00 08 */ lfs f1, 8(r25) /* 80241424 0023E384 D0 2F 02 88 */ stfs f1, 0x288(r15) /* 80241428 0023E388 C0 39 00 0C */ lfs f1, 0xc(r25) /* 8024142C 0023E38C D0 2F 02 8C */ stfs f1, 0x28c(r15) /* 80241430 0023E390 C0 39 00 10 */ lfs f1, 0x10(r25) /* 80241434 0023E394 D0 2F 02 90 */ stfs f1, 0x290(r15) /* 80241438 0023E398 C0 39 00 14 */ lfs f1, 0x14(r25) /* 8024143C 0023E39C D0 2F 02 94 */ stfs f1, 0x294(r15) /* 80241440 0023E3A0 80 7A 00 00 */ lwz r3, 0(r26) /* 80241444 0023E3A4 90 6F 02 98 */ stw r3, 0x298(r15) /* 80241448 0023E3A8 80 7A 00 04 */ lwz r3, 4(r26) /* 8024144C 0023E3AC 90 6F 02 9C */ stw r3, 0x29c(r15) /* 80241450 0023E3B0 C0 3A 00 08 */ lfs f1, 8(r26) /* 80241454 0023E3B4 D0 2F 02 A0 */ stfs f1, 0x2a0(r15) /* 80241458 0023E3B8 C0 3A 00 0C */ lfs f1, 0xc(r26) /* 8024145C 0023E3BC D0 2F 02 A4 */ stfs f1, 0x2a4(r15) /* 80241460 0023E3C0 C0 3A 00 10 */ lfs f1, 0x10(r26) /* 80241464 0023E3C4 D0 2F 02 A8 */ stfs f1, 0x2a8(r15) /* 80241468 0023E3C8 C0 3A 00 14 */ lfs f1, 0x14(r26) /* 8024146C 0023E3CC D0 2F 02 AC */ stfs f1, 0x2ac(r15) /* 80241470 0023E3D0 80 7B 00 00 */ lwz r3, 0(r27) /* 80241474 0023E3D4 90 6F 02 B0 */ stw r3, 0x2b0(r15) /* 80241478 0023E3D8 80 7B 00 04 */ lwz r3, 4(r27) /* 8024147C 0023E3DC 90 6F 02 B4 */ stw r3, 0x2b4(r15) /* 80241480 0023E3E0 C0 3B 00 08 */ lfs f1, 8(r27) /* 80241484 0023E3E4 D0 2F 02 B8 */ stfs f1, 0x2b8(r15) /* 80241488 0023E3E8 C0 3B 00 0C */ lfs f1, 0xc(r27) /* 8024148C 0023E3EC D0 2F 02 BC */ stfs f1, 0x2bc(r15) /* 80241490 0023E3F0 C0 3B 00 10 */ lfs f1, 0x10(r27) /* 80241494 0023E3F4 D0 2F 02 C0 */ stfs f1, 0x2c0(r15) /* 80241498 0023E3F8 C0 3B 00 14 */ lfs f1, 0x14(r27) /* 8024149C 0023E3FC D0 2F 02 C4 */ stfs f1, 0x2c4(r15) /* 802414A0 0023E400 80 7C 00 00 */ lwz r3, 0(r28) /* 802414A4 0023E404 90 6F 02 C8 */ stw r3, 0x2c8(r15) /* 802414A8 0023E408 80 7C 00 04 */ lwz r3, 4(r28) /* 802414AC 0023E40C 90 6F 02 CC */ stw r3, 0x2cc(r15) /* 802414B0 0023E410 C0 3C 00 08 */ lfs f1, 8(r28) /* 802414B4 0023E414 D0 2F 02 D0 */ stfs f1, 0x2d0(r15) /* 802414B8 0023E418 C0 3C 00 0C */ lfs f1, 0xc(r28) /* 802414BC 0023E41C D0 2F 02 D4 */ stfs f1, 0x2d4(r15) /* 802414C0 0023E420 C0 3C 00 10 */ lfs f1, 0x10(r28) /* 802414C4 0023E424 D0 2F 02 D8 */ stfs f1, 0x2d8(r15) /* 802414C8 0023E428 C0 3C 00 14 */ lfs f1, 0x14(r28) /* 802414CC 0023E42C D0 2F 02 DC */ stfs f1, 0x2dc(r15) /* 802414D0 0023E430 80 7D 00 00 */ lwz r3, 0(r29) /* 802414D4 0023E434 90 6F 02 E0 */ stw r3, 0x2e0(r15) /* 802414D8 0023E438 80 7D 00 04 */ lwz r3, 4(r29) /* 802414DC 0023E43C 90 6F 02 E4 */ stw r3, 0x2e4(r15) /* 802414E0 0023E440 C0 3D 00 08 */ lfs f1, 8(r29) /* 802414E4 0023E444 D0 2F 02 E8 */ stfs f1, 0x2e8(r15) /* 802414E8 0023E448 C0 3D 00 0C */ lfs f1, 0xc(r29) /* 802414EC 0023E44C D0 2F 02 EC */ stfs f1, 0x2ec(r15) /* 802414F0 0023E450 C0 3D 00 10 */ lfs f1, 0x10(r29) /* 802414F4 0023E454 D0 2F 02 F0 */ stfs f1, 0x2f0(r15) /* 802414F8 0023E458 C0 3D 00 14 */ lfs f1, 0x14(r29) /* 802414FC 0023E45C D0 2F 02 F4 */ stfs f1, 0x2f4(r15) /* 80241500 0023E460 80 7E 00 00 */ lwz r3, 0(r30) /* 80241504 0023E464 90 6F 02 F8 */ stw r3, 0x2f8(r15) /* 80241508 0023E468 80 7E 00 04 */ lwz r3, 4(r30) /* 8024150C 0023E46C 90 6F 02 FC */ stw r3, 0x2fc(r15) /* 80241510 0023E470 C0 3E 00 08 */ lfs f1, 8(r30) /* 80241514 0023E474 D0 2F 03 00 */ stfs f1, 0x300(r15) /* 80241518 0023E478 C0 3E 00 0C */ lfs f1, 0xc(r30) /* 8024151C 0023E47C D0 2F 03 04 */ stfs f1, 0x304(r15) /* 80241520 0023E480 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 80241524 0023E484 D0 2F 03 08 */ stfs f1, 0x308(r15) /* 80241528 0023E488 C0 3E 00 14 */ lfs f1, 0x14(r30) /* 8024152C 0023E48C D0 2F 03 0C */ stfs f1, 0x30c(r15) /* 80241530 0023E490 80 7F 00 00 */ lwz r3, 0(r31) /* 80241534 0023E494 90 6F 03 10 */ stw r3, 0x310(r15) /* 80241538 0023E498 80 7F 00 04 */ lwz r3, 4(r31) /* 8024153C 0023E49C 90 6F 03 14 */ stw r3, 0x314(r15) /* 80241540 0023E4A0 C0 3F 00 08 */ lfs f1, 8(r31) /* 80241544 0023E4A4 D0 2F 03 18 */ stfs f1, 0x318(r15) /* 80241548 0023E4A8 C0 3F 00 0C */ lfs f1, 0xc(r31) /* 8024154C 0023E4AC D0 2F 03 1C */ stfs f1, 0x31c(r15) /* 80241550 0023E4B0 C0 3F 00 10 */ lfs f1, 0x10(r31) /* 80241554 0023E4B4 D0 2F 03 20 */ stfs f1, 0x320(r15) /* 80241558 0023E4B8 C0 3F 00 14 */ lfs f1, 0x14(r31) /* 8024155C 0023E4BC D0 2F 03 24 */ stfs f1, 0x324(r15) /* 80241560 0023E4C0 D0 0F 03 28 */ stfs f0, 0x328(r15) /* 80241564 0023E4C4 88 6F 03 2C */ lbz r3, 0x32c(r15) /* 80241568 0023E4C8 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 /* 8024156C 0023E4CC 98 6F 03 2C */ stb r3, 0x32c(r15) /* 80241570 0023E4D0 C0 50 00 24 */ lfs f2, 0x24(r16) /* 80241574 0023E4D4 C0 30 00 14 */ lfs f1, 0x14(r16) /* 80241578 0023E4D8 C0 10 00 04 */ lfs f0, 4(r16) /* 8024157C 0023E4DC D0 0F 03 30 */ stfs f0, 0x330(r15) /* 80241580 0023E4E0 D0 2F 03 34 */ stfs f1, 0x334(r15) /* 80241584 0023E4E4 D0 4F 03 38 */ stfs f2, 0x338(r15) /* 80241588 0023E4E8 7D E3 7B 78 */ mr r3, r15 /* 8024158C 0023E4EC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 80241590 0023E4F0 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 80241594 0023E4F4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 80241598 0023E4F8 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 8024159C 0023E4FC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 802415A0 0023E500 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 802415A4 0023E504 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 802415A8 0023E508 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 802415AC 0023E50C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 /* 802415B0 0023E510 CB 61 00 90 */ lfd f27, 0x90(r1) /* 802415B4 0023E514 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 /* 802415B8 0023E518 CB 41 00 80 */ lfd f26, 0x80(r1) /* 802415BC 0023E51C E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 /* 802415C0 0023E520 CB 21 00 70 */ lfd f25, 0x70(r1) /* 802415C4 0023E524 B9 C1 00 28 */ lmw r14, 0x28(r1) /* 802415C8 0023E528 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 802415CC 0023E52C 7C 08 03 A6 */ mtlr r0 /* 802415D0 0023E530 38 21 00 E0 */ addi r1, r1, 0xe0 /* 802415D4 0023E534 4E 80 00 20 */ blr .global GetValue__16SSpindlePropertyCFf GetValue__16SSpindlePropertyCFf: /* 802415D8 0023E538 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802415DC 0023E53C 7C 08 02 A6 */ mflr r0 /* 802415E0 0023E540 7C 65 1B 78 */ mr r5, r3 /* 802415E4 0023E544 90 01 00 14 */ stw r0, 0x14(r1) /* 802415E8 0023E548 80 03 00 04 */ lwz r0, 4(r3) /* 802415EC 0023E54C 2C 00 00 00 */ cmpwi r0, 0 /* 802415F0 0023E550 40 82 00 0C */ bne lbl_802415FC /* 802415F4 0023E554 C0 25 00 08 */ lfs f1, 8(r5) /* 802415F8 0023E558 48 00 00 D4 */ b lbl_802416CC lbl_802415FC: /* 802415FC 0023E55C C0 65 00 14 */ lfs f3, 0x14(r5) /* 80241600 0023E560 C0 05 00 10 */ lfs f0, 0x10(r5) /* 80241604 0023E564 C0 42 B7 D0 */ lfs f2, lbl_805AD4F0@sda21(r2) /* 80241608 0023E568 EC A3 00 28 */ fsubs f5, f3, f0 /* 8024160C 0023E56C C0 02 B8 04 */ lfs f0, lbl_805AD524@sda21(r2) /* 80241610 0023E570 EC 45 10 28 */ fsubs f2, f5, f2 /* 80241614 0023E574 FC 40 12 10 */ fabs f2, f2 /* 80241618 0023E578 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8024161C 0023E57C 40 80 00 0C */ bge lbl_80241628 /* 80241620 0023E580 C0 25 00 08 */ lfs f1, 8(r5) /* 80241624 0023E584 48 00 00 A8 */ b lbl_802416CC lbl_80241628: /* 80241628 0023E588 80 65 00 00 */ lwz r3, 0(r5) /* 8024162C 0023E58C FC E0 08 90 */ fmr f7, f1 /* 80241630 0023E590 C0 05 00 0C */ lfs f0, 0xc(r5) /* 80241634 0023E594 C0 85 00 08 */ lfs f4, 8(r5) /* 80241638 0023E598 54 60 07 FF */ clrlwi. r0, r3, 0x1f /* 8024163C 0023E59C EC C0 20 28 */ fsubs f6, f0, f4 /* 80241640 0023E5A0 41 82 00 14 */ beq lbl_80241654 /* 80241644 0023E5A4 FC 01 18 40 */ fcmpo cr0, f1, f3 /* 80241648 0023E5A8 40 81 00 0C */ ble lbl_80241654 /* 8024164C 0023E5AC EC 01 18 28 */ fsubs f0, f1, f3 /* 80241650 0023E5B0 EC E3 00 28 */ fsubs f7, f3, f0 lbl_80241654: /* 80241654 0023E5B4 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e /* 80241658 0023E5B8 41 82 00 18 */ beq lbl_80241670 /* 8024165C 0023E5BC C0 45 00 10 */ lfs f2, 0x10(r5) /* 80241660 0023E5C0 FC 01 10 40 */ fcmpo cr0, f1, f2 /* 80241664 0023E5C4 40 80 00 0C */ bge lbl_80241670 /* 80241668 0023E5C8 EC 02 08 28 */ fsubs f0, f2, f1 /* 8024166C 0023E5CC EC E2 00 2A */ fadds f7, f2, f0 lbl_80241670: /* 80241670 0023E5D0 C0 05 00 10 */ lfs f0, 0x10(r5) /* 80241674 0023E5D4 C0 25 00 08 */ lfs f1, 8(r5) /* 80241678 0023E5D8 EC 47 00 28 */ fsubs f2, f7, f0 /* 8024167C 0023E5DC C0 05 00 0C */ lfs f0, 0xc(r5) /* 80241680 0023E5E0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80241684 0023E5E4 EC 06 00 B2 */ fmuls f0, f6, f2 /* 80241688 0023E5E8 EC 00 28 24 */ fdivs f0, f0, f5 /* 8024168C 0023E5EC EC 04 00 2A */ fadds f0, f4, f0 /* 80241690 0023E5F0 D0 01 00 08 */ stfs f0, 8(r1) /* 80241694 0023E5F4 40 80 00 1C */ bge lbl_802416B0 /* 80241698 0023E5F8 38 65 00 08 */ addi r3, r5, 8 /* 8024169C 0023E5FC 38 81 00 08 */ addi r4, r1, 8 /* 802416A0 0023E600 38 A5 00 0C */ addi r5, r5, 0xc /* 802416A4 0023E604 4B DC AC 11 */ bl "Clamp__5CMathFRCfRCfRCf" /* 802416A8 0023E608 C0 03 00 00 */ lfs f0, 0(r3) /* 802416AC 0023E60C 48 00 00 18 */ b lbl_802416C4 lbl_802416B0: /* 802416B0 0023E610 38 65 00 0C */ addi r3, r5, 0xc /* 802416B4 0023E614 38 81 00 08 */ addi r4, r1, 8 /* 802416B8 0023E618 38 A5 00 08 */ addi r5, r5, 8 /* 802416BC 0023E61C 4B DC AB F9 */ bl "Clamp__5CMathFRCfRCfRCf" /* 802416C0 0023E620 C0 03 00 00 */ lfs f0, 0(r3) lbl_802416C4: /* 802416C4 0023E624 D0 01 00 08 */ stfs f0, 8(r1) /* 802416C8 0023E628 FC 20 00 18 */ frsp f1, f0 lbl_802416CC: /* 802416CC 0023E62C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802416D0 0023E630 7C 08 03 A6 */ mtlr r0 /* 802416D4 0023E634 38 21 00 10 */ addi r1, r1, 0x10 /* 802416D8 0023E638 4E 80 00 20 */ blr .global FixupAngles__15SSpindleSegmentFv FixupAngles__15SSpindleSegmentFv: /* 802416DC 0023E63C C0 03 00 08 */ lfs f0, 8(r3) /* 802416E0 0023E640 C0 22 B8 08 */ lfs f1, lbl_805AD528@sda21(r2) /* 802416E4 0023E644 EC 00 00 72 */ fmuls f0, f0, f1 /* 802416E8 0023E648 D0 03 00 08 */ stfs f0, 8(r3) /* 802416EC 0023E64C C0 03 00 0C */ lfs f0, 0xc(r3) /* 802416F0 0023E650 EC 00 00 72 */ fmuls f0, f0, f1 /* 802416F4 0023E654 D0 03 00 0C */ stfs f0, 0xc(r3) /* 802416F8 0023E658 4E 80 00 20 */ blr .global LoadSpindleSegment__FR12CInputStream LoadSpindleSegment__FR12CInputStream: /* 802416FC 0023E65C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80241700 0023E660 7C 08 02 A6 */ mflr r0 /* 80241704 0023E664 90 01 00 54 */ stw r0, 0x54(r1) /* 80241708 0023E668 DB E1 00 40 */ stfd f31, 0x40(r1) /* 8024170C 0023E66C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80241710 0023E670 DB C1 00 30 */ stfd f30, 0x30(r1) /* 80241714 0023E674 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 /* 80241718 0023E678 DB A1 00 20 */ stfd f29, 0x20(r1) /* 8024171C 0023E67C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 /* 80241720 0023E680 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80241724 0023E684 93 C1 00 18 */ stw r30, 0x18(r1) /* 80241728 0023E688 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024172C 0023E68C 93 81 00 10 */ stw r28, 0x10(r1) /* 80241730 0023E690 7C 9D 23 78 */ mr r29, r4 /* 80241734 0023E694 7C 7C 1B 78 */ mr r28, r3 /* 80241738 0023E698 7F A3 EB 78 */ mr r3, r29 /* 8024173C 0023E69C 48 0F D5 49 */ bl ReadLong__12CInputStreamFv /* 80241740 0023E6A0 7C 60 1B 78 */ mr r0, r3 /* 80241744 0023E6A4 7F A3 EB 78 */ mr r3, r29 /* 80241748 0023E6A8 7C 1F 03 78 */ mr r31, r0 /* 8024174C 0023E6AC 4B E9 84 B1 */ bl LoadParameterFlags__FR12CInputStream /* 80241750 0023E6B0 7C 60 1B 78 */ mr r0, r3 /* 80241754 0023E6B4 7F A3 EB 78 */ mr r3, r29 /* 80241758 0023E6B8 7C 1E 03 78 */ mr r30, r0 /* 8024175C 0023E6BC 48 0F D4 CD */ bl ReadFloat__12CInputStreamFv /* 80241760 0023E6C0 FF E0 08 90 */ fmr f31, f1 /* 80241764 0023E6C4 7F A3 EB 78 */ mr r3, r29 /* 80241768 0023E6C8 48 0F D4 C1 */ bl ReadFloat__12CInputStreamFv /* 8024176C 0023E6CC FF C0 08 90 */ fmr f30, f1 /* 80241770 0023E6D0 7F A3 EB 78 */ mr r3, r29 /* 80241774 0023E6D4 48 0F D4 B5 */ bl ReadFloat__12CInputStreamFv /* 80241778 0023E6D8 FF A0 08 90 */ fmr f29, f1 /* 8024177C 0023E6DC 7F A3 EB 78 */ mr r3, r29 /* 80241780 0023E6E0 48 0F D4 A9 */ bl ReadFloat__12CInputStreamFv /* 80241784 0023E6E4 2C 1F 00 06 */ cmpwi r31, 6 /* 80241788 0023E6E8 FC 80 08 90 */ fmr f4, f1 /* 8024178C 0023E6EC 40 80 00 1C */ bge lbl_802417A8 /* 80241790 0023E6F0 2C 1F 00 03 */ cmpwi r31, 3 /* 80241794 0023E6F4 40 80 00 08 */ bge lbl_8024179C /* 80241798 0023E6F8 48 00 00 10 */ b lbl_802417A8 lbl_8024179C: /* 8024179C 0023E6FC C0 02 B8 08 */ lfs f0, lbl_805AD528@sda21(r2) /* 802417A0 0023E700 EF BD 00 32 */ fmuls f29, f29, f0 /* 802417A4 0023E704 EC 84 00 32 */ fmuls f4, f4, f0 lbl_802417A8: /* 802417A8 0023E708 FC 20 F8 90 */ fmr f1, f31 /* 802417AC 0023E70C 7F 83 E3 78 */ mr r3, r28 /* 802417B0 0023E710 FC 40 F0 90 */ fmr f2, f30 /* 802417B4 0023E714 7F E4 FB 78 */ mr r4, r31 /* 802417B8 0023E718 FC 60 E8 90 */ fmr f3, f29 /* 802417BC 0023E71C 7F C5 F3 78 */ mr r5, r30 /* 802417C0 0023E720 48 00 00 3D */ bl sub_802417fc /* 802417C4 0023E724 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 802417C8 0023E728 CB E1 00 40 */ lfd f31, 0x40(r1) /* 802417CC 0023E72C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 /* 802417D0 0023E730 CB C1 00 30 */ lfd f30, 0x30(r1) /* 802417D4 0023E734 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 /* 802417D8 0023E738 CB A1 00 20 */ lfd f29, 0x20(r1) /* 802417DC 0023E73C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802417E0 0023E740 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802417E4 0023E744 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802417E8 0023E748 80 01 00 54 */ lwz r0, 0x54(r1) /* 802417EC 0023E74C 83 81 00 10 */ lwz r28, 0x10(r1) /* 802417F0 0023E750 7C 08 03 A6 */ mtlr r0 /* 802417F4 0023E754 38 21 00 50 */ addi r1, r1, 0x50 /* 802417F8 0023E758 4E 80 00 20 */ blr .global sub_802417fc sub_802417fc: /* 802417FC 0023E75C 90 A3 00 00 */ stw r5, 0(r3) /* 80241800 0023E760 90 83 00 04 */ stw r4, 4(r3) /* 80241804 0023E764 D0 23 00 08 */ stfs f1, 8(r3) /* 80241808 0023E768 D0 43 00 0C */ stfs f2, 0xc(r3) /* 8024180C 0023E76C D0 63 00 10 */ stfs f3, 0x10(r3) /* 80241810 0023E770 D0 83 00 14 */ stfs f4, 0x14(r3) /* 80241814 0023E774 4E 80 00 20 */ blr .global __sinit_CScriptSpindleCamera_cpp __sinit_CScriptSpindleCamera_cpp: /* 80241818 0023E778 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024181C 0023E77C 7C 08 02 A6 */ mflr r0 /* 80241820 0023E780 38 60 00 00 */ li r3, 0 /* 80241824 0023E784 38 80 00 01 */ li r4, 1 /* 80241828 0023E788 90 01 00 34 */ stw r0, 0x34(r1) /* 8024182C 0023E78C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80241830 0023E790 93 C1 00 28 */ stw r30, 0x28(r1) /* 80241834 0023E794 80 AD 96 B0 */ lwz r5, lbl_805A8270@sda21(r13) /* 80241838 0023E798 48 14 86 BD */ bl __shl2i /* 8024183C 0023E79C 90 8D A5 3C */ stw r4, lbl_805A90FC@sda21(r13) /* 80241840 0023E7A0 38 80 00 01 */ li r4, 1 /* 80241844 0023E7A4 80 AD 96 B4 */ lwz r5, lbl_805A8274@sda21(r13) /* 80241848 0023E7A8 90 6D A5 38 */ stw r3, lbl_805A90F8@sda21(r13) /* 8024184C 0023E7AC 38 60 00 00 */ li r3, 0 /* 80241850 0023E7B0 48 14 86 A5 */ bl __shl2i /* 80241854 0023E7B4 80 AD 96 B8 */ lwz r5, lbl_805A8278@sda21(r13) /* 80241858 0023E7B8 7C 9E 23 78 */ mr r30, r4 /* 8024185C 0023E7BC 7C 7F 1B 78 */ mr r31, r3 /* 80241860 0023E7C0 38 60 00 00 */ li r3, 0 /* 80241864 0023E7C4 38 80 00 01 */ li r4, 1 /* 80241868 0023E7C8 48 14 86 8D */ bl __shl2i /* 8024186C 0023E7CC 80 AD 96 BC */ lwz r5, lbl_805A827C@sda21(r13) /* 80241870 0023E7D0 7F DE 23 78 */ or r30, r30, r4 /* 80241874 0023E7D4 7F FF 1B 78 */ or r31, r31, r3 /* 80241878 0023E7D8 38 60 00 00 */ li r3, 0 /* 8024187C 0023E7DC 38 80 00 01 */ li r4, 1 /* 80241880 0023E7E0 48 14 86 75 */ bl __shl2i /* 80241884 0023E7E4 80 AD 96 C0 */ lwz r5, lbl_805A8280@sda21(r13) /* 80241888 0023E7E8 7F DE 23 78 */ or r30, r30, r4 /* 8024188C 0023E7EC 7F FF 1B 78 */ or r31, r31, r3 /* 80241890 0023E7F0 38 60 00 00 */ li r3, 0 /* 80241894 0023E7F4 38 80 00 01 */ li r4, 1 /* 80241898 0023E7F8 48 14 86 5D */ bl __shl2i /* 8024189C 0023E7FC 3C A0 80 47 */ lis r5, lbl_8046D390@ha /* 802418A0 0023E800 80 0D A5 38 */ lwz r0, lbl_805A90F8@sda21(r13) /* 802418A4 0023E804 7F DE 23 78 */ or r30, r30, r4 /* 802418A8 0023E808 7F FF 1B 78 */ or r31, r31, r3 /* 802418AC 0023E80C 38 65 D3 90 */ addi r3, r5, lbl_8046D390@l /* 802418B0 0023E810 38 A0 00 03 */ li r5, 3 /* 802418B4 0023E814 80 8D A5 3C */ lwz r4, lbl_805A90FC@sda21(r13) /* 802418B8 0023E818 93 CD A5 44 */ stw r30, lbl_805A9104@sda21(r13) /* 802418BC 0023E81C 93 ED A5 40 */ stw r31, lbl_805A9100@sda21(r13) /* 802418C0 0023E820 90 A1 00 18 */ stw r5, 0x18(r1) /* 802418C4 0023E824 90 83 00 04 */ stw r4, 4(r3) /* 802418C8 0023E828 90 03 00 00 */ stw r0, 0(r3) /* 802418CC 0023E82C 93 C3 00 0C */ stw r30, 0xc(r3) /* 802418D0 0023E830 93 E3 00 08 */ stw r31, 8(r3) /* 802418D4 0023E834 90 A3 00 10 */ stw r5, 0x10(r3) /* 802418D8 0023E838 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802418DC 0023E83C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802418E0 0023E840 80 01 00 34 */ lwz r0, 0x34(r1) /* 802418E4 0023E844 7C 08 03 A6 */ mtlr r0 /* 802418E8 0023E848 38 21 00 30 */ addi r1, r1, 0x30 /* 802418EC 0023E84C 4E 80 00 20 */ blr .global Accept__18CScriptMemoryRelayFR8IVisitor Accept__18CScriptMemoryRelayFR8IVisitor: /* 802418F0 0023E850 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802418F4 0023E854 7C 08 02 A6 */ mflr r0 /* 802418F8 0023E858 90 01 00 14 */ stw r0, 0x14(r1) /* 802418FC 0023E85C 7C 60 1B 78 */ mr r0, r3 /* 80241900 0023E860 7C 83 23 78 */ mr r3, r4 /* 80241904 0023E864 81 84 00 00 */ lwz r12, 0(r4) /* 80241908 0023E868 7C 04 03 78 */ mr r4, r0 /* 8024190C 0023E86C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80241910 0023E870 7D 89 03 A6 */ mtctr r12 /* 80241914 0023E874 4E 80 04 21 */ bctrl /* 80241918 0023E878 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024191C 0023E87C 7C 08 03 A6 */ mtlr r0 /* 80241920 0023E880 38 21 00 10 */ addi r1, r1, 0x10 /* 80241924 0023E884 4E 80 00 20 */ blr .global AcceptScriptMsg__18CScriptMemoryRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__18CScriptMemoryRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80241928 0023E888 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024192C 0023E88C 7C 08 02 A6 */ mflr r0 /* 80241930 0023E890 90 01 00 34 */ stw r0, 0x34(r1) /* 80241934 0023E894 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80241938 0023E898 7C DF 33 78 */ mr r31, r6 /* 8024193C 0023E89C 93 C1 00 28 */ stw r30, 0x28(r1) /* 80241940 0023E8A0 7C 7E 1B 78 */ mr r30, r3 /* 80241944 0023E8A4 88 03 00 34 */ lbz r0, 0x34(r3) /* 80241948 0023E8A8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8024194C 0023E8AC 40 82 00 94 */ bne lbl_802419E0 /* 80241950 0023E8B0 2C 04 00 04 */ cmpwi r4, 4 /* 80241954 0023E8B4 41 82 00 54 */ beq lbl_802419A8 /* 80241958 0023E8B8 40 80 00 70 */ bge lbl_802419C8 /* 8024195C 0023E8BC 2C 04 00 01 */ cmpwi r4, 1 /* 80241960 0023E8C0 41 82 00 08 */ beq lbl_80241968 /* 80241964 0023E8C4 48 00 00 64 */ b lbl_802419C8 lbl_80241968: /* 80241968 0023E8C8 80 1E 00 0C */ lwz r0, 0xc(r30) /* 8024196C 0023E8CC 38 81 00 18 */ addi r4, r1, 0x18 /* 80241970 0023E8D0 90 01 00 18 */ stw r0, 0x18(r1) /* 80241974 0023E8D4 80 7F 08 BC */ lwz r3, 0x8bc(r31) /* 80241978 0023E8D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8024197C 0023E8DC 80 63 00 00 */ lwz r3, 0(r3) /* 80241980 0023E8E0 4B EA 01 8D */ bl AddRelay__14CScriptMailboxF9TEditorId /* 80241984 0023E8E4 88 1E 00 34 */ lbz r0, 0x34(r30) /* 80241988 0023E8E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8024198C 0023E8EC 40 82 00 54 */ bne lbl_802419E0 /* 80241990 0023E8F0 7F C3 F3 78 */ mr r3, r30 /* 80241994 0023E8F4 7F E5 FB 78 */ mr r5, r31 /* 80241998 0023E8F8 38 80 00 00 */ li r4, 0 /* 8024199C 0023E8FC 38 C0 FF FF */ li r6, -1 /* 802419A0 0023E900 4B E0 F7 21 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 802419A4 0023E904 48 00 00 3C */ b lbl_802419E0 lbl_802419A8: /* 802419A8 0023E908 80 1E 00 0C */ lwz r0, 0xc(r30) /* 802419AC 0023E90C 38 81 00 10 */ addi r4, r1, 0x10 /* 802419B0 0023E910 90 01 00 10 */ stw r0, 0x10(r1) /* 802419B4 0023E914 80 7F 08 BC */ lwz r3, 0x8bc(r31) /* 802419B8 0023E918 90 01 00 0C */ stw r0, 0xc(r1) /* 802419BC 0023E91C 80 63 00 00 */ lwz r3, 0(r3) /* 802419C0 0023E920 4B EA 00 C5 */ bl RemoveRelay__14CScriptMailboxF9TEditorId /* 802419C4 0023E924 48 00 00 1C */ b lbl_802419E0 lbl_802419C8: /* 802419C8 0023E928 A0 05 00 00 */ lhz r0, 0(r5) /* 802419CC 0023E92C 7F C3 F3 78 */ mr r3, r30 /* 802419D0 0023E930 7F E6 FB 78 */ mr r6, r31 /* 802419D4 0023E934 38 A1 00 08 */ addi r5, r1, 8 /* 802419D8 0023E938 B0 01 00 08 */ sth r0, 8(r1) /* 802419DC 0023E93C 4B E0 F7 81 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager lbl_802419E0: /* 802419E0 0023E940 80 01 00 34 */ lwz r0, 0x34(r1) /* 802419E4 0023E944 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802419E8 0023E948 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802419EC 0023E94C 7C 08 03 A6 */ mtlr r0 /* 802419F0 0023E950 38 21 00 30 */ addi r1, r1, 0x30 /* 802419F4 0023E954 4E 80 00 20 */ blr .global __dt__18CScriptMemoryRelayFv __dt__18CScriptMemoryRelayFv: /* 802419F8 0023E958 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802419FC 0023E95C 7C 08 02 A6 */ mflr r0 /* 80241A00 0023E960 90 01 00 14 */ stw r0, 0x14(r1) /* 80241A04 0023E964 93 E1 00 0C */ stw r31, 0xc(r1) /* 80241A08 0023E968 7C 9F 23 78 */ mr r31, r4 /* 80241A0C 0023E96C 93 C1 00 08 */ stw r30, 8(r1) /* 80241A10 0023E970 7C 7E 1B 79 */ or. r30, r3, r3 /* 80241A14 0023E974 41 82 00 28 */ beq lbl_80241A3C /* 80241A18 0023E978 3C A0 80 3F */ lis r5, lbl_803E86E8@ha /* 80241A1C 0023E97C 38 80 00 00 */ li r4, 0 /* 80241A20 0023E980 38 05 86 E8 */ addi r0, r5, lbl_803E86E8@l /* 80241A24 0023E984 90 1E 00 00 */ stw r0, 0(r30) /* 80241A28 0023E988 4B E0 F8 4D */ bl __dt__7CEntityFv /* 80241A2C 0023E98C 7F E0 07 35 */ extsh. r0, r31 /* 80241A30 0023E990 40 81 00 0C */ ble lbl_80241A3C /* 80241A34 0023E994 7F C3 F3 78 */ mr r3, r30 /* 80241A38 0023E998 48 0D 3E F9 */ bl Free__7CMemoryFPCv lbl_80241A3C: /* 80241A3C 0023E99C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80241A40 0023E9A0 7F C3 F3 78 */ mr r3, r30 /* 80241A44 0023E9A4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80241A48 0023E9A8 83 C1 00 08 */ lwz r30, 8(r1) /* 80241A4C 0023E9AC 7C 08 03 A6 */ mtlr r0 /* 80241A50 0023E9B0 38 21 00 10 */ addi r1, r1, 0x10 /* 80241A54 0023E9B4 4E 80 00 20 */ blr .global "__ct__18CScriptMemoryRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb" "__ct__18CScriptMemoryRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb": /* 80241A58 0023E9B8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80241A5C 0023E9BC 7C 08 02 A6 */ mflr r0 /* 80241A60 0023E9C0 90 01 00 24 */ stw r0, 0x24(r1) /* 80241A64 0023E9C4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80241A68 0023E9C8 7D 3F 4B 78 */ mr r31, r9 /* 80241A6C 0023E9CC 93 C1 00 18 */ stw r30, 0x18(r1) /* 80241A70 0023E9D0 7D 1E 43 78 */ mr r30, r8 /* 80241A74 0023E9D4 93 A1 00 14 */ stw r29, 0x14(r1) /* 80241A78 0023E9D8 7C FD 3B 78 */ mr r29, r7 /* 80241A7C 0023E9DC 93 81 00 10 */ stw r28, 0x10(r1) /* 80241A80 0023E9E0 7C 7C 1B 78 */ mr r28, r3 /* 80241A84 0023E9E4 A0 04 00 00 */ lhz r0, 0(r4) /* 80241A88 0023E9E8 7C A4 2B 78 */ mr r4, r5 /* 80241A8C 0023E9EC 7C C5 33 78 */ mr r5, r6 /* 80241A90 0023E9F0 38 C0 00 01 */ li r6, 1 /* 80241A94 0023E9F4 B0 01 00 08 */ sth r0, 8(r1) /* 80241A98 0023E9F8 7C 87 23 78 */ mr r7, r4 /* 80241A9C 0023E9FC 38 81 00 08 */ addi r4, r1, 8 /* 80241AA0 0023EA00 4B E0 F8 85 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80241AA4 0023EA04 3C 60 80 3F */ lis r3, lbl_803E86E8@ha /* 80241AA8 0023EA08 38 03 86 E8 */ addi r0, r3, lbl_803E86E8@l /* 80241AAC 0023EA0C 90 1C 00 00 */ stw r0, 0(r28) /* 80241AB0 0023EA10 7F 83 E3 78 */ mr r3, r28 /* 80241AB4 0023EA14 88 1C 00 34 */ lbz r0, 0x34(r28) /* 80241AB8 0023EA18 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 /* 80241ABC 0023EA1C 98 1C 00 34 */ stb r0, 0x34(r28) /* 80241AC0 0023EA20 88 1C 00 34 */ lbz r0, 0x34(r28) /* 80241AC4 0023EA24 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19 /* 80241AC8 0023EA28 98 1C 00 34 */ stb r0, 0x34(r28) /* 80241ACC 0023EA2C 88 1C 00 34 */ lbz r0, 0x34(r28) /* 80241AD0 0023EA30 53 E0 2E B4 */ rlwimi r0, r31, 5, 0x1a, 0x1a /* 80241AD4 0023EA34 98 1C 00 34 */ stb r0, 0x34(r28) /* 80241AD8 0023EA38 80 01 00 24 */ lwz r0, 0x24(r1) /* 80241ADC 0023EA3C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80241AE0 0023EA40 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80241AE4 0023EA44 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80241AE8 0023EA48 83 81 00 10 */ lwz r28, 0x10(r1) /* 80241AEC 0023EA4C 7C 08 03 A6 */ mtlr r0 /* 80241AF0 0023EA50 38 21 00 20 */ addi r1, r1, 0x20 /* 80241AF4 0023EA54 4E 80 00 20 */ blr .global DoSliderChange__21SOptionsFrontEndFrameFP15CGuiSliderGroup DoSliderChange__21SOptionsFrontEndFrameFP15CGuiSliderGroup: /* 80241AF8 0023EA58 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80241AFC 0023EA5C 7C 08 02 A6 */ mflr r0 /* 80241B00 0023EA60 90 01 00 24 */ stw r0, 0x24(r1) /* 80241B04 0023EA64 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80241B08 0023EA68 7C 9F 23 78 */ mr r31, r4 /* 80241B0C 0023EA6C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80241B10 0023EA70 7C 7E 1B 78 */ mr r30, r3 /* 80241B14 0023EA74 80 63 00 28 */ lwz r3, 0x28(r3) /* 80241B18 0023EA78 81 83 00 00 */ lwz r12, 0(r3) /* 80241B1C 0023EA7C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80241B20 0023EA80 7D 89 03 A6 */ mtctr r12 /* 80241B24 0023EA84 4E 80 04 21 */ bctrl /* 80241B28 0023EA88 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80241B2C 0023EA8C 41 82 00 44 */ beq lbl_80241B70 /* 80241B30 0023EA90 80 BE 00 24 */ lwz r5, 0x24(r30) /* 80241B34 0023EA94 3C 80 80 3F */ lis r4, lbl_803E8720@ha /* 80241B38 0023EA98 80 7E 00 28 */ lwz r3, 0x28(r30) /* 80241B3C 0023EA9C 38 84 87 20 */ addi r4, r4, lbl_803E8720@l /* 80241B40 0023EAA0 C0 1F 00 C0 */ lfs f0, 0xc0(r31) /* 80241B44 0023EAA4 80 A5 00 C4 */ lwz r5, 0xc4(r5) /* 80241B48 0023EAA8 FC 00 00 1E */ fctiwz f0, f0 /* 80241B4C 0023EAAC 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 80241B50 0023EAB0 54 A3 18 38 */ slwi r3, r5, 3 /* 80241B54 0023EAB4 7C 64 1A 14 */ add r3, r4, r3 /* 80241B58 0023EAB8 D8 01 00 08 */ stfd f0, 8(r1) /* 80241B5C 0023EABC 1C 00 00 18 */ mulli r0, r0, 0x18 /* 80241B60 0023EAC0 80 63 00 04 */ lwz r3, 4(r3) /* 80241B64 0023EAC4 80 81 00 0C */ lwz r4, 0xc(r1) /* 80241B68 0023EAC8 7C 63 00 2E */ lwzx r3, r3, r0 /* 80241B6C 0023EACC 48 00 26 3D */ bl SetOption__12CGameOptionsF11EGameOptioni lbl_80241B70: /* 80241B70 0023EAD0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80241B74 0023EAD4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80241B78 0023EAD8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80241B7C 0023EADC 7C 08 03 A6 */ mtlr r0 /* 80241B80 0023EAE0 38 21 00 20 */ addi r1, r1, 0x20 /* 80241B84 0023EAE4 4E 80 00 20 */ blr .global SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup: /* 80241B88 0023EAE8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80241B8C 0023EAEC 7C 08 02 A6 */ mflr r0 /* 80241B90 0023EAF0 7C 83 23 78 */ mr r3, r4 /* 80241B94 0023EAF4 38 E0 00 FF */ li r7, 0xff /* 80241B98 0023EAF8 90 01 00 14 */ stw r0, 0x14(r1) /* 80241B9C 0023EAFC 38 C0 00 A0 */ li r6, 0xa0 /* 80241BA0 0023EB00 38 00 00 C8 */ li r0, 0xc8 /* 80241BA4 0023EB04 38 81 00 0C */ addi r4, r1, 0xc /* 80241BA8 0023EB08 98 E1 00 0C */ stb r7, 0xc(r1) /* 80241BAC 0023EB0C 38 A1 00 08 */ addi r5, r1, 8 /* 80241BB0 0023EB10 98 E1 00 0D */ stb r7, 0xd(r1) /* 80241BB4 0023EB14 98 E1 00 0E */ stb r7, 0xe(r1) /* 80241BB8 0023EB18 98 E1 00 0F */ stb r7, 0xf(r1) /* 80241BBC 0023EB1C 98 C1 00 08 */ stb r6, 8(r1) /* 80241BC0 0023EB20 98 C1 00 09 */ stb r6, 9(r1) /* 80241BC4 0023EB24 98 C1 00 0A */ stb r6, 0xa(r1) /* 80241BC8 0023EB28 98 01 00 0B */ stb r0, 0xb(r1) /* 80241BCC 0023EB2C 48 08 4A 31 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor /* 80241BD0 0023EB30 80 01 00 14 */ lwz r0, 0x14(r1) /* 80241BD4 0023EB34 7C 08 03 A6 */ mtlr r0 /* 80241BD8 0023EB38 38 21 00 10 */ addi r1, r1, 0x10 /* 80241BDC 0023EB3C 4E 80 00 20 */ blr .global Draw__21SOptionsFrontEndFrameFv Draw__21SOptionsFrontEndFrameFv: /* 80241BE0 0023EB40 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80241BE4 0023EB44 7C 08 02 A6 */ mflr r0 /* 80241BE8 0023EB48 90 01 00 24 */ stw r0, 0x24(r1) /* 80241BEC 0023EB4C 80 C3 00 1C */ lwz r6, 0x1c(r3) /* 80241BF0 0023EB50 28 06 00 00 */ cmplwi r6, 0 /* 80241BF4 0023EB54 41 82 00 44 */ beq lbl_80241C38 /* 80241BF8 0023EB58 88 03 01 34 */ lbz r0, 0x134(r3) /* 80241BFC 0023EB5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80241C00 0023EB60 41 82 00 38 */ beq lbl_80241C38 /* 80241C04 0023EB64 3C 80 80 5A */ lis r4, skZero3f@ha /* 80241C08 0023EB68 C0 63 00 00 */ lfs f3, 0(r3) /* 80241C0C 0023EB6C 38 A4 66 A0 */ addi r5, r4, skZero3f@l /* 80241C10 0023EB70 7C C3 33 78 */ mr r3, r6 /* 80241C14 0023EB74 C0 45 00 00 */ lfs f2, 0(r5) /* 80241C18 0023EB78 38 81 00 08 */ addi r4, r1, 8 /* 80241C1C 0023EB7C C0 25 00 04 */ lfs f1, 4(r5) /* 80241C20 0023EB80 C0 05 00 08 */ lfs f0, 8(r5) /* 80241C24 0023EB84 D0 61 00 08 */ stfs f3, 8(r1) /* 80241C28 0023EB88 D0 41 00 0C */ stfs f2, 0xc(r1) /* 80241C2C 0023EB8C D0 21 00 10 */ stfs f1, 0x10(r1) /* 80241C30 0023EB90 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80241C34 0023EB94 48 08 0B 01 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms lbl_80241C38: /* 80241C38 0023EB98 80 01 00 24 */ lwz r0, 0x24(r1) /* 80241C3C 0023EB9C 7C 08 03 A6 */ mtlr r0 /* 80241C40 0023EBA0 38 21 00 20 */ addi r1, r1, 0x20 /* 80241C44 0023EBA4 4E 80 00 20 */ blr .global ProcessUserInput__21SOptionsFrontEndFrameFRC11CFinalInputPC15CSaveGameScreen ProcessUserInput__21SOptionsFrontEndFrameFRC11CFinalInputPC15CSaveGameScreen: /* 80241C48 0023EBA8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80241C4C 0023EBAC 7C 08 02 A6 */ mflr r0 /* 80241C50 0023EBB0 28 05 00 00 */ cmplwi r5, 0 /* 80241C54 0023EBB4 90 01 00 24 */ stw r0, 0x24(r1) /* 80241C58 0023EBB8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80241C5C 0023EBBC 7C 9F 23 78 */ mr r31, r4 /* 80241C60 0023EBC0 93 C1 00 18 */ stw r30, 0x18(r1) /* 80241C64 0023EBC4 7C 7E 1B 78 */ mr r30, r3 /* 80241C68 0023EBC8 88 03 01 34 */ lbz r0, 0x134(r3) /* 80241C6C 0023EBCC 38 60 00 00 */ li r3, 0 /* 80241C70 0023EBD0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80241C74 0023EBD4 98 1E 01 34 */ stb r0, 0x134(r30) /* 80241C78 0023EBD8 41 82 00 0C */ beq lbl_80241C84 /* 80241C7C 0023EBDC 7C A3 2B 78 */ mr r3, r5 /* 80241C80 0023EBE0 48 00 DA F1 */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput lbl_80241C84: /* 80241C84 0023EBE4 80 1E 00 1C */ lwz r0, 0x1c(r30) /* 80241C88 0023EBE8 28 00 00 00 */ cmplwi r0, 0 /* 80241C8C 0023EBEC 41 82 00 98 */ beq lbl_80241D24 /* 80241C90 0023EBF0 88 1E 01 34 */ lbz r0, 0x134(r30) /* 80241C94 0023EBF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80241C98 0023EBF8 41 82 00 8C */ beq lbl_80241D24 /* 80241C9C 0023EBFC 88 1F 00 2D */ lbz r0, 0x2d(r31) /* 80241CA0 0023EC00 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80241CA4 0023EC04 41 82 00 58 */ beq lbl_80241CFC /* 80241CA8 0023EC08 80 7E 00 24 */ lwz r3, 0x24(r30) /* 80241CAC 0023EC0C 81 83 00 00 */ lwz r12, 0(r3) /* 80241CB0 0023EC10 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80241CB4 0023EC14 7D 89 03 A6 */ mtctr r12 /* 80241CB8 0023EC18 4E 80 04 21 */ bctrl /* 80241CBC 0023EC1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80241CC0 0023EC20 41 82 00 3C */ beq lbl_80241CFC /* 80241CC4 0023EC24 88 1E 01 34 */ lbz r0, 0x134(r30) /* 80241CC8 0023EC28 38 60 00 01 */ li r3, 1 /* 80241CCC 0023EC2C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80241CD0 0023EC30 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80241CD4 0023EC34 98 1E 01 34 */ stb r0, 0x134(r30) /* 80241CD8 0023EC38 38 61 00 08 */ addi r3, r1, 8 /* 80241CDC 0023EC3C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80241CE0 0023EC40 38 80 04 46 */ li r4, 0x446 /* 80241CE4 0023EC44 38 A0 00 7F */ li r5, 0x7f /* 80241CE8 0023EC48 38 C0 00 40 */ li r6, 0x40 /* 80241CEC 0023EC4C 38 E0 00 00 */ li r7, 0 /* 80241CF0 0023EC50 39 20 00 00 */ li r9, 0 /* 80241CF4 0023EC54 48 0A 80 81 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80241CF8 0023EC58 48 00 00 2C */ b lbl_80241D24 lbl_80241CFC: /* 80241CFC 0023EC5C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80241D00 0023EC60 7F E4 FB 78 */ mr r4, r31 /* 80241D04 0023EC64 48 08 09 55 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput /* 80241D08 0023EC68 80 9E 00 24 */ lwz r4, 0x24(r30) /* 80241D0C 0023EC6C 7F E3 FB 78 */ mr r3, r31 /* 80241D10 0023EC70 80 BE 00 28 */ lwz r5, 0x28(r30) /* 80241D14 0023EC74 38 C0 00 01 */ li r6, 1 /* 80241D18 0023EC78 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 80241D1C 0023EC7C 80 A5 00 C4 */ lwz r5, 0xc4(r5) /* 80241D20 0023EC80 48 00 22 A9 */ bl TryRestoreDefaults__12CGameOptionsFRC11CFinalInputiib lbl_80241D24: /* 80241D24 0023EC84 88 1E 01 34 */ lbz r0, 0x134(r30) /* 80241D28 0023EC88 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80241D2C 0023EC8C 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f /* 80241D30 0023EC90 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80241D34 0023EC94 7C 00 00 34 */ cntlzw r0, r0 /* 80241D38 0023EC98 54 03 D9 7E */ srwi r3, r0, 5 /* 80241D3C 0023EC9C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80241D40 0023ECA0 7C 08 03 A6 */ mtlr r0 /* 80241D44 0023ECA4 38 21 00 20 */ addi r1, r1, 0x20 /* 80241D48 0023ECA8 4E 80 00 20 */ blr .global Update__21SOptionsFrontEndFrameFfPC15CSaveGameScreen Update__21SOptionsFrontEndFrameFfPC15CSaveGameScreen: /* 80241D4C 0023ECAC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80241D50 0023ECB0 7C 08 02 A6 */ mflr r0 /* 80241D54 0023ECB4 90 01 00 34 */ stw r0, 0x34(r1) /* 80241D58 0023ECB8 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80241D5C 0023ECBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 80241D60 0023ECC0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80241D64 0023ECC4 93 C1 00 18 */ stw r30, 0x18(r1) /* 80241D68 0023ECC8 FF E0 08 90 */ fmr f31, f1 /* 80241D6C 0023ECCC 7C 7F 1B 78 */ mr r31, r3 /* 80241D70 0023ECD0 7C 9E 23 78 */ mr r30, r4 /* 80241D74 0023ECD4 38 7F 00 40 */ addi r3, r31, 0x40 /* 80241D78 0023ECD8 48 12 80 69 */ bl Update__16CRumbleGeneratorFf /* 80241D7C 0023ECDC 28 1E 00 00 */ cmplwi r30, 0 /* 80241D80 0023ECE0 38 60 00 00 */ li r3, 0 /* 80241D84 0023ECE4 41 82 00 10 */ beq lbl_80241D94 /* 80241D88 0023ECE8 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80241D8C 0023ECEC 2C 00 00 10 */ cmpwi r0, 0x10 /* 80241D90 0023ECF0 40 82 00 08 */ bne lbl_80241D98 lbl_80241D94: /* 80241D94 0023ECF4 38 60 00 01 */ li r3, 1 lbl_80241D98: /* 80241D98 0023ECF8 88 1F 01 34 */ lbz r0, 0x134(r31) /* 80241D9C 0023ECFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80241DA0 0023ED00 7F E3 FB 78 */ mr r3, r31 /* 80241DA4 0023ED04 98 1F 01 34 */ stb r0, 0x134(r31) /* 80241DA8 0023ED08 48 00 0F 2D */ bl PumpLoad__21SOptionsFrontEndFrameFv /* 80241DAC 0023ED0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80241DB0 0023ED10 41 82 00 B8 */ beq lbl_80241E68 /* 80241DB4 0023ED14 C0 3F 00 00 */ lfs f1, 0(r31) /* 80241DB8 0023ED18 C0 0D 96 D8 */ lfs f0, lbl_805A8298@sda21(r13) /* 80241DBC 0023ED1C EC 21 F8 2A */ fadds f1, f1, f31 /* 80241DC0 0023ED20 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80241DC4 0023ED24 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80241DC8 0023ED28 40 80 00 0C */ bge lbl_80241DD4 /* 80241DCC 0023ED2C 38 61 00 10 */ addi r3, r1, 0x10 /* 80241DD0 0023ED30 48 00 00 08 */ b lbl_80241DD8 lbl_80241DD4: /* 80241DD4 0023ED34 38 6D 96 D8 */ addi r3, r13, lbl_805A8298@sda21 lbl_80241DD8: /* 80241DD8 0023ED38 C0 03 00 00 */ lfs f0, 0(r3) /* 80241DDC 0023ED3C FC 20 F8 90 */ fmr f1, f31 /* 80241DE0 0023ED40 D0 1F 00 00 */ stfs f0, 0(r31) /* 80241DE4 0023ED44 80 7F 00 1C */ lwz r3, 0x1c(r31) /* 80241DE8 0023ED48 48 08 09 1D */ bl Update__9CGuiFrameFf /* 80241DEC 0023ED4C 80 9F 00 34 */ lwz r4, 0x34(r31) /* 80241DF0 0023ED50 80 7F 00 3C */ lwz r3, 0x3c(r31) /* 80241DF4 0023ED54 80 A4 00 F0 */ lwz r5, 0xf0(r4) /* 80241DF8 0023ED58 7C 03 00 D0 */ neg r0, r3 /* 80241DFC 0023ED5C 7C 85 00 D0 */ neg r4, r5 /* 80241E00 0023ED60 7C 84 2B 78 */ or r4, r4, r5 /* 80241E04 0023ED64 7C 00 1B 78 */ or r0, r0, r3 /* 80241E08 0023ED68 54 83 0F FE */ srwi r3, r4, 0x1f /* 80241E0C 0023ED6C 54 00 0F FE */ srwi r0, r0, 0x1f /* 80241E10 0023ED70 7C 03 00 40 */ cmplw r3, r0 /* 80241E14 0023ED74 41 82 00 54 */ beq lbl_80241E68 /* 80241E18 0023ED78 28 03 00 00 */ cmplwi r3, 0 /* 80241E1C 0023ED7C 41 82 00 34 */ beq lbl_80241E50 /* 80241E20 0023ED80 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80241E24 0023ED84 38 61 00 0C */ addi r3, r1, 0xc /* 80241E28 0023ED88 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80241E2C 0023ED8C 38 80 05 B2 */ li r4, 0x5b2 /* 80241E30 0023ED90 38 A0 00 7F */ li r5, 0x7f /* 80241E34 0023ED94 38 C0 00 40 */ li r6, 0x40 /* 80241E38 0023ED98 38 E0 00 00 */ li r7, 0 /* 80241E3C 0023ED9C 39 20 00 00 */ li r9, 0 /* 80241E40 0023EDA0 48 0A 7F 35 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80241E44 0023EDA4 80 01 00 0C */ lwz r0, 0xc(r1) /* 80241E48 0023EDA8 90 1F 00 3C */ stw r0, 0x3c(r31) /* 80241E4C 0023EDAC 48 00 00 1C */ b lbl_80241E68 lbl_80241E50: /* 80241E50 0023EDB0 80 1F 00 3C */ lwz r0, 0x3c(r31) /* 80241E54 0023EDB4 38 61 00 08 */ addi r3, r1, 8 /* 80241E58 0023EDB8 90 01 00 08 */ stw r0, 8(r1) /* 80241E5C 0023EDBC 48 0A 7E ED */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80241E60 0023EDC0 38 00 00 00 */ li r0, 0 /* 80241E64 0023EDC4 90 1F 00 3C */ stw r0, 0x3c(r31) lbl_80241E68: /* 80241E68 0023EDC8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80241E6C 0023EDCC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80241E70 0023EDD0 CB E1 00 20 */ lfd f31, 0x20(r1) /* 80241E74 0023EDD4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80241E78 0023EDD8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80241E7C 0023EDDC 7C 08 03 A6 */ mtlr r0 /* 80241E80 0023EDE0 38 21 00 30 */ addi r1, r1, 0x30 /* 80241E84 0023EDE4 4E 80 00 20 */ blr .global DoMenuCancel__21SOptionsFrontEndFrameFP14CGuiTableGroup DoMenuCancel__21SOptionsFrontEndFrameFP14CGuiTableGroup: /* 80241E88 0023EDE8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80241E8C 0023EDEC 7C 08 02 A6 */ mflr r0 /* 80241E90 0023EDF0 90 01 00 24 */ stw r0, 0x24(r1) /* 80241E94 0023EDF4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80241E98 0023EDF8 7C 7F 1B 78 */ mr r31, r3 /* 80241E9C 0023EDFC 80 03 00 28 */ lwz r0, 0x28(r3) /* 80241EA0 0023EE00 7C 04 00 40 */ cmplw r4, r0 /* 80241EA4 0023EE04 40 82 00 64 */ bne lbl_80241F08 /* 80241EA8 0023EE08 48 00 02 A9 */ bl DeactivateRightMenu__21SOptionsFrontEndFrameFv /* 80241EAC 0023EE0C 80 7F 00 24 */ lwz r3, 0x24(r31) /* 80241EB0 0023EE10 38 80 00 01 */ li r4, 1 /* 80241EB4 0023EE14 48 08 87 31 */ bl SetIsActive__10CGuiWidgetFb /* 80241EB8 0023EE18 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80241EBC 0023EE1C 38 80 00 00 */ li r4, 0 /* 80241EC0 0023EE20 48 08 87 25 */ bl SetIsActive__10CGuiWidgetFb /* 80241EC4 0023EE24 80 BF 00 28 */ lwz r5, 0x28(r31) /* 80241EC8 0023EE28 38 00 00 00 */ li r0, 0 /* 80241ECC 0023EE2C 7F E3 FB 78 */ mr r3, r31 /* 80241ED0 0023EE30 80 85 00 C4 */ lwz r4, 0xc4(r5) /* 80241ED4 0023EE34 90 85 00 C8 */ stw r4, 0xc8(r5) /* 80241ED8 0023EE38 90 05 00 C4 */ stw r0, 0xc4(r5) /* 80241EDC 0023EE3C 80 9F 00 28 */ lwz r4, 0x28(r31) /* 80241EE0 0023EE40 4B FF FC A9 */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 80241EE4 0023EE44 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80241EE8 0023EE48 38 61 00 08 */ addi r3, r1, 8 /* 80241EEC 0023EE4C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80241EF0 0023EE50 38 80 04 46 */ li r4, 0x446 /* 80241EF4 0023EE54 38 A0 00 7F */ li r5, 0x7f /* 80241EF8 0023EE58 38 C0 00 40 */ li r6, 0x40 /* 80241EFC 0023EE5C 38 E0 00 00 */ li r7, 0 /* 80241F00 0023EE60 39 20 00 00 */ li r9, 0 /* 80241F04 0023EE64 48 0A 7E 71 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_80241F08: /* 80241F08 0023EE68 80 01 00 24 */ lwz r0, 0x24(r1) /* 80241F0C 0023EE6C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80241F10 0023EE70 7C 08 03 A6 */ mtlr r0 /* 80241F14 0023EE74 38 21 00 20 */ addi r1, r1, 0x20 /* 80241F18 0023EE78 4E 80 00 20 */ blr .global DoMenuSelectionChange__21SOptionsFrontEndFrameFP14CGuiTableGroup DoMenuSelectionChange__21SOptionsFrontEndFrameFP14CGuiTableGroup: /* 80241F1C 0023EE7C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80241F20 0023EE80 7C 08 02 A6 */ mflr r0 /* 80241F24 0023EE84 90 01 00 34 */ stw r0, 0x34(r1) /* 80241F28 0023EE88 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80241F2C 0023EE8C 7C 7F 1B 78 */ mr r31, r3 /* 80241F30 0023EE90 93 C1 00 28 */ stw r30, 0x28(r1) /* 80241F34 0023EE94 93 A1 00 24 */ stw r29, 0x24(r1) /* 80241F38 0023EE98 93 81 00 20 */ stw r28, 0x20(r1) /* 80241F3C 0023EE9C 7C 9C 23 78 */ mr r28, r4 /* 80241F40 0023EEA0 4B FF FC 49 */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 80241F44 0023EEA4 80 1F 00 24 */ lwz r0, 0x24(r31) /* 80241F48 0023EEA8 7C 1C 00 40 */ cmplw r28, r0 /* 80241F4C 0023EEAC 40 82 00 34 */ bne lbl_80241F80 /* 80241F50 0023EEB0 7F E3 FB 78 */ mr r3, r31 /* 80241F54 0023EEB4 48 00 05 25 */ bl SetRightUIText__21SOptionsFrontEndFrameFv /* 80241F58 0023EEB8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80241F5C 0023EEBC 38 61 00 10 */ addi r3, r1, 0x10 /* 80241F60 0023EEC0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80241F64 0023EEC4 38 80 04 45 */ li r4, 0x445 /* 80241F68 0023EEC8 38 A0 00 7F */ li r5, 0x7f /* 80241F6C 0023EECC 38 C0 00 40 */ li r6, 0x40 /* 80241F70 0023EED0 38 E0 00 00 */ li r7, 0 /* 80241F74 0023EED4 39 20 00 00 */ li r9, 0 /* 80241F78 0023EED8 48 0A 7D FD */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80241F7C 0023EEDC 48 00 01 08 */ b lbl_80242084 lbl_80241F80: /* 80241F80 0023EEE0 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80241F84 0023EEE4 7C 1C 18 40 */ cmplw r28, r3 /* 80241F88 0023EEE8 40 82 00 34 */ bne lbl_80241FBC /* 80241F8C 0023EEEC 7F E3 FB 78 */ mr r3, r31 /* 80241F90 0023EEF0 48 00 02 3D */ bl HandleRightSelectionChange__21SOptionsFrontEndFrameFv /* 80241F94 0023EEF4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80241F98 0023EEF8 38 61 00 0C */ addi r3, r1, 0xc /* 80241F9C 0023EEFC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80241FA0 0023EF00 38 80 04 45 */ li r4, 0x445 /* 80241FA4 0023EF04 38 A0 00 7F */ li r5, 0x7f /* 80241FA8 0023EF08 38 C0 00 40 */ li r6, 0x40 /* 80241FAC 0023EF0C 38 E0 00 00 */ li r7, 0 /* 80241FB0 0023EF10 39 20 00 00 */ li r9, 0 /* 80241FB4 0023EF14 48 0A 7D C1 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80241FB8 0023EF18 48 00 00 CC */ b lbl_80242084 lbl_80241FBC: /* 80241FBC 0023EF1C 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 80241FC0 0023EF20 7C 1C 00 40 */ cmplw r28, r0 /* 80241FC4 0023EF24 41 82 00 10 */ beq lbl_80241FD4 /* 80241FC8 0023EF28 80 1F 00 30 */ lwz r0, 0x30(r31) /* 80241FCC 0023EF2C 7C 1C 00 40 */ cmplw r28, r0 /* 80241FD0 0023EF30 40 82 00 B4 */ bne lbl_80242084 lbl_80241FD4: /* 80241FD4 0023EF34 81 83 00 00 */ lwz r12, 0(r3) /* 80241FD8 0023EF38 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80241FDC 0023EF3C 7D 89 03 A6 */ mtctr r12 /* 80241FE0 0023EF40 4E 80 04 21 */ bctrl /* 80241FE4 0023EF44 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80241FE8 0023EF48 41 82 00 9C */ beq lbl_80242084 /* 80241FEC 0023EF4C 80 BF 00 24 */ lwz r5, 0x24(r31) /* 80241FF0 0023EF50 3C 80 80 3F */ lis r4, lbl_803E8720@ha /* 80241FF4 0023EF54 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80241FF8 0023EF58 38 84 87 20 */ addi r4, r4, lbl_803E8720@l /* 80241FFC 0023EF5C 80 A5 00 C4 */ lwz r5, 0xc4(r5) /* 80242000 0023EF60 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 80242004 0023EF64 54 A3 18 38 */ slwi r3, r5, 3 /* 80242008 0023EF68 83 9C 00 C4 */ lwz r28, 0xc4(r28) /* 8024200C 0023EF6C 7C 64 1A 14 */ add r3, r4, r3 /* 80242010 0023EF70 1F C0 00 18 */ mulli r30, r0, 0x18 /* 80242014 0023EF74 83 A3 00 04 */ lwz r29, 4(r3) /* 80242018 0023EF78 7F 84 E3 78 */ mr r4, r28 /* 8024201C 0023EF7C 7C 7D F0 2E */ lwzx r3, r29, r30 /* 80242020 0023EF80 48 00 21 89 */ bl SetOption__12CGameOptionsF11EGameOptioni /* 80242024 0023EF84 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80242028 0023EF88 38 61 00 08 */ addi r3, r1, 8 /* 8024202C 0023EF8C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80242030 0023EF90 38 80 04 47 */ li r4, 0x447 /* 80242034 0023EF94 38 A0 00 7F */ li r5, 0x7f /* 80242038 0023EF98 38 C0 00 40 */ li r6, 0x40 /* 8024203C 0023EF9C 38 E0 00 00 */ li r7, 0 /* 80242040 0023EFA0 39 20 00 00 */ li r9, 0 /* 80242044 0023EFA4 48 0A 7D 31 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80242048 0023EFA8 7C 1D F0 2E */ lwzx r0, r29, r30 /* 8024204C 0023EFAC 2C 00 00 0C */ cmpwi r0, 0xc /* 80242050 0023EFB0 40 82 00 34 */ bne lbl_80242084 /* 80242054 0023EFB4 2C 1C 00 00 */ cmpwi r28, 0 /* 80242058 0023EFB8 40 81 00 2C */ ble lbl_80242084 /* 8024205C 0023EFBC 38 7F 00 40 */ addi r3, r31, 0x40 /* 80242060 0023EFC0 48 12 7C ED */ bl HardStopAll__16CRumbleGeneratorFv /* 80242064 0023EFC4 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 80242068 0023EFC8 C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2) /* 8024206C 0023EFCC 38 83 21 40 */ addi r4, r3, lbl_80572140@l /* 80242070 0023EFD0 38 7F 00 40 */ addi r3, r31, 0x40 /* 80242074 0023EFD4 38 84 01 34 */ addi r4, r4, 0x134 /* 80242078 0023EFD8 38 A0 00 01 */ li r5, 1 /* 8024207C 0023EFDC 38 C0 00 00 */ li r6, 0 /* 80242080 0023EFE0 48 12 7E CD */ bl Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort lbl_80242084: /* 80242084 0023EFE4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80242088 0023EFE8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024208C 0023EFEC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80242090 0023EFF0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80242094 0023EFF4 83 81 00 20 */ lwz r28, 0x20(r1) /* 80242098 0023EFF8 7C 08 03 A6 */ mtlr r0 /* 8024209C 0023EFFC 38 21 00 30 */ addi r1, r1, 0x30 /* 802420A0 0023F000 4E 80 00 20 */ blr .global DoLeftMenuAdvance__21SOptionsFrontEndFrameFP14CGuiTableGroup DoLeftMenuAdvance__21SOptionsFrontEndFrameFP14CGuiTableGroup: /* 802420A4 0023F004 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802420A8 0023F008 7C 08 02 A6 */ mflr r0 /* 802420AC 0023F00C 90 01 00 24 */ stw r0, 0x24(r1) /* 802420B0 0023F010 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802420B4 0023F014 7C 7F 1B 78 */ mr r31, r3 /* 802420B8 0023F018 80 03 00 24 */ lwz r0, 0x24(r3) /* 802420BC 0023F01C 7C 04 00 40 */ cmplw r4, r0 /* 802420C0 0023F020 40 82 00 7C */ bne lbl_8024213C /* 802420C4 0023F024 48 00 01 09 */ bl HandleRightSelectionChange__21SOptionsFrontEndFrameFv /* 802420C8 0023F028 80 BF 00 28 */ lwz r5, 0x28(r31) /* 802420CC 0023F02C 38 00 00 00 */ li r0, 0 /* 802420D0 0023F030 38 80 00 00 */ li r4, 0 /* 802420D4 0023F034 80 65 00 C4 */ lwz r3, 0xc4(r5) /* 802420D8 0023F038 90 65 00 C8 */ stw r3, 0xc8(r5) /* 802420DC 0023F03C 90 05 00 C4 */ stw r0, 0xc4(r5) /* 802420E0 0023F040 80 7F 00 24 */ lwz r3, 0x24(r31) /* 802420E4 0023F044 48 08 85 01 */ bl SetIsActive__10CGuiWidgetFb /* 802420E8 0023F048 80 7F 00 28 */ lwz r3, 0x28(r31) /* 802420EC 0023F04C 38 80 00 01 */ li r4, 1 /* 802420F0 0023F050 48 08 84 F5 */ bl SetIsActive__10CGuiWidgetFb /* 802420F4 0023F054 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 802420F8 0023F058 38 61 00 0C */ addi r3, r1, 0xc /* 802420FC 0023F05C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80242100 0023F060 38 80 04 48 */ li r4, 0x448 /* 80242104 0023F064 38 A0 00 7F */ li r5, 0x7f /* 80242108 0023F068 38 C0 00 40 */ li r6, 0x40 /* 8024210C 0023F06C 38 E0 00 00 */ li r7, 0 /* 80242110 0023F070 39 20 00 00 */ li r9, 0 /* 80242114 0023F074 48 0A 7C 61 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80242118 0023F078 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8024211C 0023F07C 38 61 00 08 */ addi r3, r1, 8 /* 80242120 0023F080 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80242124 0023F084 38 80 04 43 */ li r4, 0x443 /* 80242128 0023F088 38 A0 00 7F */ li r5, 0x7f /* 8024212C 0023F08C 38 C0 00 40 */ li r6, 0x40 /* 80242130 0023F090 38 E0 00 00 */ li r7, 0 /* 80242134 0023F094 39 20 00 00 */ li r9, 0 /* 80242138 0023F098 48 0A 7C 3D */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_8024213C: /* 8024213C 0023F09C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80242140 0023F0A0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80242144 0023F0A4 7C 08 03 A6 */ mtlr r0 /* 80242148 0023F0A8 38 21 00 20 */ addi r1, r1, 0x20 /* 8024214C 0023F0AC 4E 80 00 20 */ blr .global DeactivateRightMenu__21SOptionsFrontEndFrameFv DeactivateRightMenu__21SOptionsFrontEndFrameFv: /* 80242150 0023F0B0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80242154 0023F0B4 7C 08 02 A6 */ mflr r0 /* 80242158 0023F0B8 38 80 00 00 */ li r4, 0 /* 8024215C 0023F0BC 90 01 00 14 */ stw r0, 0x14(r1) /* 80242160 0023F0C0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80242164 0023F0C4 7C 7F 1B 78 */ mr r31, r3 /* 80242168 0023F0C8 80 63 00 2C */ lwz r3, 0x2c(r3) /* 8024216C 0023F0CC 48 08 84 79 */ bl SetIsActive__10CGuiWidgetFb /* 80242170 0023F0D0 80 7F 00 30 */ lwz r3, 0x30(r31) /* 80242174 0023F0D4 38 80 00 00 */ li r4, 0 /* 80242178 0023F0D8 48 08 84 6D */ bl SetIsActive__10CGuiWidgetFb /* 8024217C 0023F0DC 80 7F 00 34 */ lwz r3, 0x34(r31) /* 80242180 0023F0E0 38 80 00 00 */ li r4, 0 /* 80242184 0023F0E4 48 08 84 61 */ bl SetIsActive__10CGuiWidgetFb /* 80242188 0023F0E8 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8024218C 0023F0EC 38 80 00 00 */ li r4, 0 /* 80242190 0023F0F0 38 A0 00 01 */ li r5, 1 /* 80242194 0023F0F4 48 08 85 55 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80242198 0023F0F8 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8024219C 0023F0FC 38 80 00 00 */ li r4, 0 /* 802421A0 0023F100 38 A0 00 01 */ li r5, 1 /* 802421A4 0023F104 48 08 85 45 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 802421A8 0023F108 80 7F 00 34 */ lwz r3, 0x34(r31) /* 802421AC 0023F10C 38 80 00 00 */ li r4, 0 /* 802421B0 0023F110 38 A0 00 01 */ li r5, 1 /* 802421B4 0023F114 48 08 85 35 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 802421B8 0023F118 80 01 00 14 */ lwz r0, 0x14(r1) /* 802421BC 0023F11C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802421C0 0023F120 7C 08 03 A6 */ mtlr r0 /* 802421C4 0023F124 38 21 00 10 */ addi r1, r1, 0x10 /* 802421C8 0023F128 4E 80 00 20 */ blr .global HandleRightSelectionChange__21SOptionsFrontEndFrameFv HandleRightSelectionChange__21SOptionsFrontEndFrameFv: /* 802421CC 0023F12C 94 21 FE C0 */ stwu r1, -0x140(r1) /* 802421D0 0023F130 7C 08 02 A6 */ mflr r0 /* 802421D4 0023F134 90 01 01 44 */ stw r0, 0x144(r1) /* 802421D8 0023F138 93 E1 01 3C */ stw r31, 0x13c(r1) /* 802421DC 0023F13C 7C 7F 1B 78 */ mr r31, r3 /* 802421E0 0023F140 93 C1 01 38 */ stw r30, 0x138(r1) /* 802421E4 0023F144 4B FF FF 6D */ bl DeactivateRightMenu__21SOptionsFrontEndFrameFv /* 802421E8 0023F148 80 BF 00 24 */ lwz r5, 0x24(r31) /* 802421EC 0023F14C 3C 80 80 3F */ lis r4, lbl_803E8720@ha /* 802421F0 0023F150 80 7F 00 28 */ lwz r3, 0x28(r31) /* 802421F4 0023F154 38 84 87 20 */ addi r4, r4, lbl_803E8720@l /* 802421F8 0023F158 80 A5 00 C4 */ lwz r5, 0xc4(r5) /* 802421FC 0023F15C 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 80242200 0023F160 54 A3 18 38 */ slwi r3, r5, 3 /* 80242204 0023F164 7C 64 1A 14 */ add r3, r4, r3 /* 80242208 0023F168 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8024220C 0023F16C 80 63 00 04 */ lwz r3, 4(r3) /* 80242210 0023F170 7F C3 02 14 */ add r30, r3, r0 /* 80242214 0023F174 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80242218 0023F178 2C 00 00 01 */ cmpwi r0, 1 /* 8024221C 0023F17C 41 82 00 F8 */ beq lbl_80242314 /* 80242220 0023F180 40 80 00 10 */ bge lbl_80242230 /* 80242224 0023F184 2C 00 00 00 */ cmpwi r0, 0 /* 80242228 0023F188 40 80 00 14 */ bge lbl_8024223C /* 8024222C 0023F18C 48 00 02 34 */ b lbl_80242460 lbl_80242230: /* 80242230 0023F190 2C 00 00 03 */ cmpwi r0, 3 /* 80242234 0023F194 40 80 02 2C */ bge lbl_80242460 /* 80242238 0023F198 48 00 01 84 */ b lbl_802423BC lbl_8024223C: /* 8024223C 0023F19C 80 7F 00 34 */ lwz r3, 0x34(r31) /* 80242240 0023F1A0 38 80 00 01 */ li r4, 1 /* 80242244 0023F1A4 48 08 83 A1 */ bl SetIsActive__10CGuiWidgetFb /* 80242248 0023F1A8 80 7F 00 34 */ lwz r3, 0x34(r31) /* 8024224C 0023F1AC 38 80 00 01 */ li r4, 1 /* 80242250 0023F1B0 38 A0 00 01 */ li r5, 1 /* 80242254 0023F1B4 48 08 84 95 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80242258 0023F1B8 80 7F 00 34 */ lwz r3, 0x34(r31) /* 8024225C 0023F1BC C0 3E 00 08 */ lfs f1, 8(r30) /* 80242260 0023F1C0 48 08 3A 79 */ bl SetMinVal__15CGuiSliderGroupFf /* 80242264 0023F1C4 80 7F 00 34 */ lwz r3, 0x34(r31) /* 80242268 0023F1C8 C0 3E 00 0C */ lfs f1, 0xc(r30) /* 8024226C 0023F1CC 48 08 3A 95 */ bl SetMaxVal__15CGuiSliderGroupFf /* 80242270 0023F1D0 80 7F 00 34 */ lwz r3, 0x34(r31) /* 80242274 0023F1D4 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 80242278 0023F1D8 48 08 3A 59 */ bl SetIncrement__15CGuiSliderGroupFf /* 8024227C 0023F1DC 80 7E 00 00 */ lwz r3, 0(r30) /* 80242280 0023F1E0 48 00 20 65 */ bl GetOption__11CGameOptionF11EGameOption /* 80242284 0023F1E4 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 80242288 0023F1E8 3C 00 43 30 */ lis r0, 0x4330 /* 8024228C 0023F1EC 90 61 01 2C */ stw r3, 0x12c(r1) /* 80242290 0023F1F0 C8 22 B8 18 */ lfd f1, lbl_805AD538@sda21(r2) /* 80242294 0023F1F4 90 01 01 28 */ stw r0, 0x128(r1) /* 80242298 0023F1F8 80 7F 00 34 */ lwz r3, 0x34(r31) /* 8024229C 0023F1FC C8 01 01 28 */ lfd f0, 0x128(r1) /* 802422A0 0023F200 EC 20 08 28 */ fsubs f1, f0, f1 /* 802422A4 0023F204 48 08 3A 85 */ bl SetCurVal__15CGuiSliderGroupFf /* 802422A8 0023F208 80 9F 00 28 */ lwz r4, 0x28(r31) /* 802422AC 0023F20C 3C 00 43 30 */ lis r0, 0x4330 /* 802422B0 0023F210 C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 802422B4 0023F214 38 61 00 C8 */ addi r3, r1, 0xc8 /* 802422B8 0023F218 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 802422BC 0023F21C 90 01 01 30 */ stw r0, 0x130(r1) /* 802422C0 0023F220 FC 40 08 90 */ fmr f2, f1 /* 802422C4 0023F224 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 802422C8 0023F228 C8 62 B8 18 */ lfd f3, lbl_805AD538@sda21(r2) /* 802422CC 0023F22C 90 01 01 34 */ stw r0, 0x134(r1) /* 802422D0 0023F230 C0 9F 00 38 */ lfs f4, 0x38(r31) /* 802422D4 0023F234 C8 01 01 30 */ lfd f0, 0x130(r1) /* 802422D8 0023F238 EC 00 18 28 */ fsubs f0, f0, f3 /* 802422DC 0023F23C EC 64 00 32 */ fmuls f3, f4, f0 /* 802422E0 0023F240 48 0D 0E A9 */ bl Translate__12CTransform4fFfff /* 802422E4 0023F244 80 BF 00 34 */ lwz r5, 0x34(r31) /* 802422E8 0023F248 38 61 00 F8 */ addi r3, r1, 0xf8 /* 802422EC 0023F24C 38 81 00 C8 */ addi r4, r1, 0xc8 /* 802422F0 0023F250 38 A5 00 74 */ addi r5, r5, 0x74 /* 802422F4 0023F254 48 0D 06 5D */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802422F8 0023F258 83 FF 00 34 */ lwz r31, 0x34(r31) /* 802422FC 0023F25C 38 81 00 F8 */ addi r4, r1, 0xf8 /* 80242300 0023F260 38 7F 00 04 */ addi r3, r31, 4 /* 80242304 0023F264 48 0D 08 3D */ bl __as__12CTransform4fFRC12CTransform4f /* 80242308 0023F268 7F E3 FB 78 */ mr r3, r31 /* 8024230C 0023F26C 48 08 24 DD */ bl RecalculateTransforms__10CGuiObjectFv /* 80242310 0023F270 48 00 01 50 */ b lbl_80242460 lbl_80242314: /* 80242314 0023F274 80 7E 00 00 */ lwz r3, 0(r30) /* 80242318 0023F278 48 00 1F CD */ bl GetOption__11CGameOptionF11EGameOption /* 8024231C 0023F27C 80 BF 00 2C */ lwz r5, 0x2c(r31) /* 80242320 0023F280 38 80 00 01 */ li r4, 1 /* 80242324 0023F284 80 05 00 C4 */ lwz r0, 0xc4(r5) /* 80242328 0023F288 90 05 00 C8 */ stw r0, 0xc8(r5) /* 8024232C 0023F28C 90 65 00 C4 */ stw r3, 0xc4(r5) /* 80242330 0023F290 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80242334 0023F294 48 08 82 F9 */ bl SetIsVisible__10CGuiWidgetFb /* 80242338 0023F298 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 8024233C 0023F29C 38 80 00 01 */ li r4, 1 /* 80242340 0023F2A0 48 08 82 A5 */ bl SetIsActive__10CGuiWidgetFb /* 80242344 0023F2A4 80 9F 00 28 */ lwz r4, 0x28(r31) /* 80242348 0023F2A8 3C 00 43 30 */ lis r0, 0x4330 /* 8024234C 0023F2AC C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 80242350 0023F2B0 38 61 00 68 */ addi r3, r1, 0x68 /* 80242354 0023F2B4 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 80242358 0023F2B8 90 01 01 30 */ stw r0, 0x130(r1) /* 8024235C 0023F2BC FC 40 08 90 */ fmr f2, f1 /* 80242360 0023F2C0 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80242364 0023F2C4 C8 62 B8 18 */ lfd f3, lbl_805AD538@sda21(r2) /* 80242368 0023F2C8 90 01 01 34 */ stw r0, 0x134(r1) /* 8024236C 0023F2CC C0 9F 00 38 */ lfs f4, 0x38(r31) /* 80242370 0023F2D0 C8 01 01 30 */ lfd f0, 0x130(r1) /* 80242374 0023F2D4 EC 00 18 28 */ fsubs f0, f0, f3 /* 80242378 0023F2D8 EC 64 00 32 */ fmuls f3, f4, f0 /* 8024237C 0023F2DC 48 0D 0E 0D */ bl Translate__12CTransform4fFfff /* 80242380 0023F2E0 80 BF 00 2C */ lwz r5, 0x2c(r31) /* 80242384 0023F2E4 38 61 00 98 */ addi r3, r1, 0x98 /* 80242388 0023F2E8 38 81 00 68 */ addi r4, r1, 0x68 /* 8024238C 0023F2EC 38 A5 00 74 */ addi r5, r5, 0x74 /* 80242390 0023F2F0 48 0D 05 C1 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80242394 0023F2F4 83 DF 00 2C */ lwz r30, 0x2c(r31) /* 80242398 0023F2F8 38 81 00 98 */ addi r4, r1, 0x98 /* 8024239C 0023F2FC 38 7E 00 04 */ addi r3, r30, 4 /* 802423A0 0023F300 48 0D 07 A1 */ bl __as__12CTransform4fFRC12CTransform4f /* 802423A4 0023F304 7F C3 F3 78 */ mr r3, r30 /* 802423A8 0023F308 48 08 24 41 */ bl RecalculateTransforms__10CGuiObjectFv /* 802423AC 0023F30C 80 9F 00 2C */ lwz r4, 0x2c(r31) /* 802423B0 0023F310 7F E3 FB 78 */ mr r3, r31 /* 802423B4 0023F314 4B FF F7 D5 */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 802423B8 0023F318 48 00 00 A8 */ b lbl_80242460 lbl_802423BC: /* 802423BC 0023F31C 80 7E 00 00 */ lwz r3, 0(r30) /* 802423C0 0023F320 48 00 1F 25 */ bl GetOption__11CGameOptionF11EGameOption /* 802423C4 0023F324 80 BF 00 30 */ lwz r5, 0x30(r31) /* 802423C8 0023F328 38 80 00 01 */ li r4, 1 /* 802423CC 0023F32C 80 05 00 C4 */ lwz r0, 0xc4(r5) /* 802423D0 0023F330 90 05 00 C8 */ stw r0, 0xc8(r5) /* 802423D4 0023F334 90 65 00 C4 */ stw r3, 0xc4(r5) /* 802423D8 0023F338 80 7F 00 30 */ lwz r3, 0x30(r31) /* 802423DC 0023F33C 48 08 82 51 */ bl SetIsVisible__10CGuiWidgetFb /* 802423E0 0023F340 80 7F 00 30 */ lwz r3, 0x30(r31) /* 802423E4 0023F344 38 80 00 01 */ li r4, 1 /* 802423E8 0023F348 48 08 81 FD */ bl SetIsActive__10CGuiWidgetFb /* 802423EC 0023F34C 80 9F 00 28 */ lwz r4, 0x28(r31) /* 802423F0 0023F350 3C 00 43 30 */ lis r0, 0x4330 /* 802423F4 0023F354 C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 802423F8 0023F358 38 61 00 08 */ addi r3, r1, 8 /* 802423FC 0023F35C 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 80242400 0023F360 90 01 01 30 */ stw r0, 0x130(r1) /* 80242404 0023F364 FC 40 08 90 */ fmr f2, f1 /* 80242408 0023F368 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 8024240C 0023F36C C8 62 B8 18 */ lfd f3, lbl_805AD538@sda21(r2) /* 80242410 0023F370 90 01 01 34 */ stw r0, 0x134(r1) /* 80242414 0023F374 C0 9F 00 38 */ lfs f4, 0x38(r31) /* 80242418 0023F378 C8 01 01 30 */ lfd f0, 0x130(r1) /* 8024241C 0023F37C EC 00 18 28 */ fsubs f0, f0, f3 /* 80242420 0023F380 EC 64 00 32 */ fmuls f3, f4, f0 /* 80242424 0023F384 48 0D 0D 65 */ bl Translate__12CTransform4fFfff /* 80242428 0023F388 80 BF 00 30 */ lwz r5, 0x30(r31) /* 8024242C 0023F38C 38 61 00 38 */ addi r3, r1, 0x38 /* 80242430 0023F390 38 81 00 08 */ addi r4, r1, 8 /* 80242434 0023F394 38 A5 00 74 */ addi r5, r5, 0x74 /* 80242438 0023F398 48 0D 05 19 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 8024243C 0023F39C 83 DF 00 30 */ lwz r30, 0x30(r31) /* 80242440 0023F3A0 38 81 00 38 */ addi r4, r1, 0x38 /* 80242444 0023F3A4 38 7E 00 04 */ addi r3, r30, 4 /* 80242448 0023F3A8 48 0D 06 F9 */ bl __as__12CTransform4fFRC12CTransform4f /* 8024244C 0023F3AC 7F C3 F3 78 */ mr r3, r30 /* 80242450 0023F3B0 48 08 23 99 */ bl RecalculateTransforms__10CGuiObjectFv /* 80242454 0023F3B4 80 9F 00 30 */ lwz r4, 0x30(r31) /* 80242458 0023F3B8 7F E3 FB 78 */ mr r3, r31 /* 8024245C 0023F3BC 4B FF F7 2D */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup lbl_80242460: /* 80242460 0023F3C0 80 01 01 44 */ lwz r0, 0x144(r1) /* 80242464 0023F3C4 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 80242468 0023F3C8 83 C1 01 38 */ lwz r30, 0x138(r1) /* 8024246C 0023F3CC 7C 08 03 A6 */ mtlr r0 /* 80242470 0023F3D0 38 21 01 40 */ addi r1, r1, 0x140 /* 80242474 0023F3D4 4E 80 00 20 */ blr .global SetRightUIText__21SOptionsFrontEndFrameFv SetRightUIText__21SOptionsFrontEndFrameFv: /* 80242478 0023F3D8 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8024247C 0023F3DC 7C 08 02 A6 */ mflr r0 /* 80242480 0023F3E0 3C 80 80 3F */ lis r4, lbl_803E8720@ha /* 80242484 0023F3E4 90 01 00 44 */ stw r0, 0x44(r1) /* 80242488 0023F3E8 38 04 87 20 */ addi r0, r4, lbl_803E8720@l /* 8024248C 0023F3EC BF 61 00 2C */ stmw r27, 0x2c(r1) /* 80242490 0023F3F0 7C 7E 1B 78 */ mr r30, r3 /* 80242494 0023F3F4 3B E0 00 00 */ li r31, 0 /* 80242498 0023F3F8 3B 80 00 00 */ li r28, 0 /* 8024249C 0023F3FC 80 A3 00 24 */ lwz r5, 0x24(r3) /* 802424A0 0023F400 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 802424A4 0023F404 3B A3 45 B4 */ addi r29, r3, lbl_803D45B4@l /* 802424A8 0023F408 80 85 00 C4 */ lwz r4, 0xc4(r5) /* 802424AC 0023F40C 54 83 18 38 */ slwi r3, r4, 3 /* 802424B0 0023F410 7F 60 1A 14 */ add r27, r0, r3 lbl_802424B4: /* 802424B4 0023F414 7F A4 EB 78 */ mr r4, r29 /* 802424B8 0023F418 7F E5 FB 78 */ mr r5, r31 /* 802424BC 0023F41C 38 61 00 08 */ addi r3, r1, 8 /* 802424C0 0023F420 4C C6 31 82 */ crclr 6 /* 802424C4 0023F424 48 14 B8 19 */ bl sprintf /* 802424C8 0023F428 80 1B 00 00 */ lwz r0, 0(r27) /* 802424CC 0023F42C 7C 1F 00 00 */ cmpw r31, r0 /* 802424D0 0023F430 40 80 00 54 */ bge lbl_80242524 /* 802424D4 0023F434 80 9B 00 04 */ lwz r4, 4(r27) /* 802424D8 0023F438 38 1C 00 04 */ addi r0, r28, 4 /* 802424DC 0023F43C 80 7E 00 20 */ lwz r3, 0x20(r30) /* 802424E0 0023F440 7C 84 00 2E */ lwzx r4, r4, r0 /* 802424E4 0023F444 48 11 42 19 */ bl GetString__12CStringTableCFi /* 802424E8 0023F448 7C 65 1B 78 */ mr r5, r3 /* 802424EC 0023F44C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802424F0 0023F450 38 81 00 08 */ addi r4, r1, 8 /* 802424F4 0023F454 48 00 1E DD */ bl sub_802443d0 /* 802424F8 0023F458 80 7E 00 28 */ lwz r3, 0x28(r30) /* 802424FC 0023F45C 7F E4 FB 78 */ mr r4, r31 /* 80242500 0023F460 81 83 00 00 */ lwz r12, 0(r3) /* 80242504 0023F464 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80242508 0023F468 7D 89 03 A6 */ mtctr r12 /* 8024250C 0023F46C 4E 80 04 21 */ bctrl /* 80242510 0023F470 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80242514 0023F474 38 80 00 01 */ li r4, 1 /* 80242518 0023F478 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8024251C 0023F47C 98 03 00 B6 */ stb r0, 0xb6(r3) /* 80242520 0023F480 48 00 00 3C */ b lbl_8024255C lbl_80242524: /* 80242524 0023F484 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242528 0023F488 38 81 00 08 */ addi r4, r1, 8 /* 8024252C 0023F48C 38 AD 96 DC */ addi r5, r13, lbl_805A829C@sda21 /* 80242530 0023F490 48 00 1E A1 */ bl sub_802443d0 /* 80242534 0023F494 80 7E 00 28 */ lwz r3, 0x28(r30) /* 80242538 0023F498 7F E4 FB 78 */ mr r4, r31 /* 8024253C 0023F49C 81 83 00 00 */ lwz r12, 0(r3) /* 80242540 0023F4A0 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80242544 0023F4A4 7D 89 03 A6 */ mtctr r12 /* 80242548 0023F4A8 4E 80 04 21 */ bctrl /* 8024254C 0023F4AC 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80242550 0023F4B0 38 80 00 00 */ li r4, 0 /* 80242554 0023F4B4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80242558 0023F4B8 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_8024255C: /* 8024255C 0023F4BC 3B FF 00 01 */ addi r31, r31, 1 /* 80242560 0023F4C0 3B 9C 00 18 */ addi r28, r28, 0x18 /* 80242564 0023F4C4 2C 1F 00 05 */ cmpwi r31, 5 /* 80242568 0023F4C8 41 80 FF 4C */ blt lbl_802424B4 /* 8024256C 0023F4CC BB 61 00 2C */ lmw r27, 0x2c(r1) /* 80242570 0023F4D0 80 01 00 44 */ lwz r0, 0x44(r1) /* 80242574 0023F4D4 7C 08 03 A6 */ mtlr r0 /* 80242578 0023F4D8 38 21 00 40 */ addi r1, r1, 0x40 /* 8024257C 0023F4DC 4E 80 00 20 */ blr .global FinishedLoading__21SOptionsFrontEndFrameFv FinishedLoading__21SOptionsFrontEndFrameFv: /* 80242580 0023F4E0 94 21 FD D0 */ stwu r1, -0x230(r1) /* 80242584 0023F4E4 7C 08 02 A6 */ mflr r0 /* 80242588 0023F4E8 90 01 02 34 */ stw r0, 0x234(r1) /* 8024258C 0023F4EC DB E1 02 20 */ stfd f31, 0x220(r1) /* 80242590 0023F4F0 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 /* 80242594 0023F4F4 93 E1 02 1C */ stw r31, 0x21c(r1) /* 80242598 0023F4F8 93 C1 02 18 */ stw r30, 0x218(r1) /* 8024259C 0023F4FC 93 A1 02 14 */ stw r29, 0x214(r1) /* 802425A0 0023F500 7C 7E 1B 78 */ mr r30, r3 /* 802425A4 0023F504 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 802425A8 0023F508 38 83 45 B4 */ addi r4, r3, lbl_803D45B4@l /* 802425AC 0023F50C 3C A0 80 3F */ lis r5, lbl_803E8708@ha /* 802425B0 0023F510 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802425B4 0023F514 3B E5 87 08 */ addi r31, r5, lbl_803E8708@l /* 802425B8 0023F518 38 84 00 11 */ addi r4, r4, 0x11 /* 802425BC 0023F51C 48 07 FB 99 */ bl FindWidget__9CGuiFrameCFPCc /* 802425C0 0023F520 90 7E 00 24 */ stw r3, 0x24(r30) /* 802425C4 0023F524 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 802425C8 0023F528 38 83 45 B4 */ addi r4, r3, lbl_803D45B4@l /* 802425CC 0023F52C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802425D0 0023F530 38 84 00 25 */ addi r4, r4, 0x25 /* 802425D4 0023F534 48 07 FB 81 */ bl FindWidget__9CGuiFrameCFPCc /* 802425D8 0023F538 90 7E 00 28 */ stw r3, 0x28(r30) /* 802425DC 0023F53C 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 802425E0 0023F540 38 83 45 B4 */ addi r4, r3, lbl_803D45B4@l /* 802425E4 0023F544 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802425E8 0023F548 38 84 00 3A */ addi r4, r4, 0x3a /* 802425EC 0023F54C 48 07 FB 69 */ bl FindWidget__9CGuiFrameCFPCc /* 802425F0 0023F550 90 7E 00 2C */ stw r3, 0x2c(r30) /* 802425F4 0023F554 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 802425F8 0023F558 38 83 45 B4 */ addi r4, r3, lbl_803D45B4@l /* 802425FC 0023F55C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242600 0023F560 38 84 00 4C */ addi r4, r4, 0x4c /* 80242604 0023F564 48 07 FB 51 */ bl FindWidget__9CGuiFrameCFPCc /* 80242608 0023F568 90 7E 00 30 */ stw r3, 0x30(r30) /* 8024260C 0023F56C 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80242610 0023F570 38 83 45 B4 */ addi r4, r3, lbl_803D45B4@l /* 80242614 0023F574 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242618 0023F578 38 84 00 5E */ addi r4, r4, 0x5e /* 8024261C 0023F57C 48 07 FB 39 */ bl FindWidget__9CGuiFrameCFPCc /* 80242620 0023F580 90 7E 00 34 */ stw r3, 0x34(r30) /* 80242624 0023F584 38 61 00 68 */ addi r3, r1, 0x68 /* 80242628 0023F588 38 81 01 0C */ addi r4, r1, 0x10c /* 8024262C 0023F58C 38 A0 00 0C */ li r5, 0xc /* 80242630 0023F590 80 FF 00 64 */ lwz r7, 0x64(r31) /* 80242634 0023F594 80 DF 00 68 */ lwz r6, 0x68(r31) /* 80242638 0023F598 80 1F 00 6C */ lwz r0, 0x6c(r31) /* 8024263C 0023F59C 90 E1 01 0C */ stw r7, 0x10c(r1) /* 80242640 0023F5A0 90 C1 01 10 */ stw r6, 0x110(r1) /* 80242644 0023F5A4 90 01 01 14 */ stw r0, 0x114(r1) /* 80242648 0023F5A8 4B DC 0E 49 */ bl memcpy /* 8024264C 0023F5AC 3C 60 80 24 */ lis r3, sub_80242c80@ha /* 80242650 0023F5B0 93 C1 01 DC */ stw r30, 0x1dc(r1) /* 80242654 0023F5B4 38 03 2C 80 */ addi r0, r3, sub_80242c80@l /* 80242658 0023F5B8 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 8024265C 0023F5BC 90 01 01 D8 */ stw r0, 0x1d8(r1) /* 80242660 0023F5C0 38 81 00 68 */ addi r4, r1, 0x68 /* 80242664 0023F5C4 38 A0 00 0C */ li r5, 0xc /* 80242668 0023F5C8 4B DC 0E 29 */ bl memcpy /* 8024266C 0023F5CC 80 7E 00 24 */ lwz r3, 0x24(r30) /* 80242670 0023F5D0 38 81 01 D8 */ addi r4, r1, 0x1d8 /* 80242674 0023F5D4 48 08 41 E5 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" /* 80242678 0023F5D8 80 FF 00 70 */ lwz r7, 0x70(r31) /* 8024267C 0023F5DC 38 61 00 5C */ addi r3, r1, 0x5c /* 80242680 0023F5E0 80 DF 00 74 */ lwz r6, 0x74(r31) /* 80242684 0023F5E4 38 81 01 00 */ addi r4, r1, 0x100 /* 80242688 0023F5E8 80 1F 00 78 */ lwz r0, 0x78(r31) /* 8024268C 0023F5EC 38 A0 00 0C */ li r5, 0xc /* 80242690 0023F5F0 90 E1 01 00 */ stw r7, 0x100(r1) /* 80242694 0023F5F4 90 C1 01 04 */ stw r6, 0x104(r1) /* 80242698 0023F5F8 90 01 01 08 */ stw r0, 0x108(r1) /* 8024269C 0023F5FC 4B DC 0D F5 */ bl memcpy /* 802426A0 0023F600 3C 60 80 24 */ lis r3, sub_80242c1c@ha /* 802426A4 0023F604 93 C1 01 C4 */ stw r30, 0x1c4(r1) /* 802426A8 0023F608 38 03 2C 1C */ addi r0, r3, sub_80242c1c@l /* 802426AC 0023F60C 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 802426B0 0023F610 90 01 01 C0 */ stw r0, 0x1c0(r1) /* 802426B4 0023F614 38 81 00 5C */ addi r4, r1, 0x5c /* 802426B8 0023F618 38 A0 00 0C */ li r5, 0xc /* 802426BC 0023F61C 4B DC 0D D5 */ bl memcpy /* 802426C0 0023F620 80 7E 00 24 */ lwz r3, 0x24(r30) /* 802426C4 0023F624 38 81 01 C0 */ addi r4, r1, 0x1c0 /* 802426C8 0023F628 48 08 41 29 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 802426CC 0023F62C 80 7E 00 24 */ lwz r3, 0x24(r30) /* 802426D0 0023F630 38 80 00 00 */ li r4, 0 /* 802426D4 0023F634 81 83 00 00 */ lwz r12, 0(r3) /* 802426D8 0023F638 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 802426DC 0023F63C 7D 89 03 A6 */ mtctr r12 /* 802426E0 0023F640 4E 80 04 21 */ bctrl /* 802426E4 0023F644 7C 64 1B 78 */ mr r4, r3 /* 802426E8 0023F648 38 61 00 E8 */ addi r3, r1, 0xe8 /* 802426EC 0023F64C 48 08 7F C1 */ bl GetIdlePosition__10CGuiWidgetFv /* 802426F0 0023F650 80 7E 00 24 */ lwz r3, 0x24(r30) /* 802426F4 0023F654 38 80 00 01 */ li r4, 1 /* 802426F8 0023F658 C3 E1 00 F0 */ lfs f31, 0xf0(r1) /* 802426FC 0023F65C 81 83 00 00 */ lwz r12, 0(r3) /* 80242700 0023F660 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80242704 0023F664 7D 89 03 A6 */ mtctr r12 /* 80242708 0023F668 4E 80 04 21 */ bctrl /* 8024270C 0023F66C 7C 64 1B 78 */ mr r4, r3 /* 80242710 0023F670 38 61 00 F4 */ addi r3, r1, 0xf4 /* 80242714 0023F674 48 08 7F 99 */ bl GetIdlePosition__10CGuiWidgetFv /* 80242718 0023F678 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 8024271C 0023F67C 38 61 00 50 */ addi r3, r1, 0x50 /* 80242720 0023F680 38 81 00 DC */ addi r4, r1, 0xdc /* 80242724 0023F684 38 A0 00 0C */ li r5, 0xc /* 80242728 0023F688 EC 00 F8 28 */ fsubs f0, f0, f31 /* 8024272C 0023F68C D0 1E 00 38 */ stfs f0, 0x38(r30) /* 80242730 0023F690 80 FF 00 7C */ lwz r7, 0x7c(r31) /* 80242734 0023F694 80 DF 00 80 */ lwz r6, 0x80(r31) /* 80242738 0023F698 80 1F 00 84 */ lwz r0, 0x84(r31) /* 8024273C 0023F69C 90 E1 00 DC */ stw r7, 0xdc(r1) /* 80242740 0023F6A0 90 C1 00 E0 */ stw r6, 0xe0(r1) /* 80242744 0023F6A4 90 01 00 E4 */ stw r0, 0xe4(r1) /* 80242748 0023F6A8 4B DC 0D 49 */ bl memcpy /* 8024274C 0023F6AC 3C 60 80 24 */ lis r3, sub_80242c1c@ha /* 80242750 0023F6B0 93 C1 01 AC */ stw r30, 0x1ac(r1) /* 80242754 0023F6B4 38 03 2C 1C */ addi r0, r3, sub_80242c1c@l /* 80242758 0023F6B8 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 8024275C 0023F6BC 90 01 01 A8 */ stw r0, 0x1a8(r1) /* 80242760 0023F6C0 38 81 00 50 */ addi r4, r1, 0x50 /* 80242764 0023F6C4 38 A0 00 0C */ li r5, 0xc /* 80242768 0023F6C8 4B DC 0D 29 */ bl memcpy /* 8024276C 0023F6CC 80 7E 00 28 */ lwz r3, 0x28(r30) /* 80242770 0023F6D0 38 81 01 A8 */ addi r4, r1, 0x1a8 /* 80242774 0023F6D4 48 08 40 7D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 80242778 0023F6D8 80 FF 00 88 */ lwz r7, 0x88(r31) /* 8024277C 0023F6DC 38 61 00 44 */ addi r3, r1, 0x44 /* 80242780 0023F6E0 80 DF 00 8C */ lwz r6, 0x8c(r31) /* 80242784 0023F6E4 38 81 00 D0 */ addi r4, r1, 0xd0 /* 80242788 0023F6E8 80 1F 00 90 */ lwz r0, 0x90(r31) /* 8024278C 0023F6EC 38 A0 00 0C */ li r5, 0xc /* 80242790 0023F6F0 90 E1 00 D0 */ stw r7, 0xd0(r1) /* 80242794 0023F6F4 90 C1 00 D4 */ stw r6, 0xd4(r1) /* 80242798 0023F6F8 90 01 00 D8 */ stw r0, 0xd8(r1) /* 8024279C 0023F6FC 4B DC 0C F5 */ bl memcpy /* 802427A0 0023F700 3C 60 80 24 */ lis r3, sub_80242c80@ha /* 802427A4 0023F704 93 C1 01 94 */ stw r30, 0x194(r1) /* 802427A8 0023F708 38 03 2C 80 */ addi r0, r3, sub_80242c80@l /* 802427AC 0023F70C 38 61 01 98 */ addi r3, r1, 0x198 /* 802427B0 0023F710 90 01 01 90 */ stw r0, 0x190(r1) /* 802427B4 0023F714 38 81 00 44 */ addi r4, r1, 0x44 /* 802427B8 0023F718 38 A0 00 0C */ li r5, 0xc /* 802427BC 0023F71C 4B DC 0C D5 */ bl memcpy /* 802427C0 0023F720 80 7E 00 28 */ lwz r3, 0x28(r30) /* 802427C4 0023F724 38 81 01 90 */ addi r4, r1, 0x190 /* 802427C8 0023F728 48 08 40 5D */ bl "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" /* 802427CC 0023F72C 80 FF 00 94 */ lwz r7, 0x94(r31) /* 802427D0 0023F730 38 61 00 38 */ addi r3, r1, 0x38 /* 802427D4 0023F734 80 DF 00 98 */ lwz r6, 0x98(r31) /* 802427D8 0023F738 38 81 00 C4 */ addi r4, r1, 0xc4 /* 802427DC 0023F73C 80 1F 00 9C */ lwz r0, 0x9c(r31) /* 802427E0 0023F740 38 A0 00 0C */ li r5, 0xc /* 802427E4 0023F744 90 E1 00 C4 */ stw r7, 0xc4(r1) /* 802427E8 0023F748 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 802427EC 0023F74C 90 01 00 CC */ stw r0, 0xcc(r1) /* 802427F0 0023F750 4B DC 0C A1 */ bl memcpy /* 802427F4 0023F754 3C 60 80 24 */ lis r3, sub_80242c1c@ha /* 802427F8 0023F758 93 C1 01 7C */ stw r30, 0x17c(r1) /* 802427FC 0023F75C 38 03 2C 1C */ addi r0, r3, sub_80242c1c@l /* 80242800 0023F760 38 61 01 80 */ addi r3, r1, 0x180 /* 80242804 0023F764 90 01 01 78 */ stw r0, 0x178(r1) /* 80242808 0023F768 38 81 00 38 */ addi r4, r1, 0x38 /* 8024280C 0023F76C 38 A0 00 0C */ li r5, 0xc /* 80242810 0023F770 4B DC 0C 81 */ bl memcpy /* 80242814 0023F774 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 80242818 0023F778 38 81 01 78 */ addi r4, r1, 0x178 /* 8024281C 0023F77C 48 08 3F D5 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 80242820 0023F780 80 FF 00 A0 */ lwz r7, 0xa0(r31) /* 80242824 0023F784 38 61 00 2C */ addi r3, r1, 0x2c /* 80242828 0023F788 80 DF 00 A4 */ lwz r6, 0xa4(r31) /* 8024282C 0023F78C 38 81 00 B8 */ addi r4, r1, 0xb8 /* 80242830 0023F790 80 1F 00 A8 */ lwz r0, 0xa8(r31) /* 80242834 0023F794 38 A0 00 0C */ li r5, 0xc /* 80242838 0023F798 90 E1 00 B8 */ stw r7, 0xb8(r1) /* 8024283C 0023F79C 90 C1 00 BC */ stw r6, 0xbc(r1) /* 80242840 0023F7A0 90 01 00 C0 */ stw r0, 0xc0(r1) /* 80242844 0023F7A4 4B DC 0C 4D */ bl memcpy /* 80242848 0023F7A8 3C 60 80 24 */ lis r3, sub_80242c80@ha /* 8024284C 0023F7AC 93 C1 01 64 */ stw r30, 0x164(r1) /* 80242850 0023F7B0 38 03 2C 80 */ addi r0, r3, sub_80242c80@l /* 80242854 0023F7B4 38 61 01 68 */ addi r3, r1, 0x168 /* 80242858 0023F7B8 90 01 01 60 */ stw r0, 0x160(r1) /* 8024285C 0023F7BC 38 81 00 2C */ addi r4, r1, 0x2c /* 80242860 0023F7C0 38 A0 00 0C */ li r5, 0xc /* 80242864 0023F7C4 4B DC 0C 2D */ bl memcpy /* 80242868 0023F7C8 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 8024286C 0023F7CC 38 81 01 60 */ addi r4, r1, 0x160 /* 80242870 0023F7D0 48 08 3F B5 */ bl "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" /* 80242874 0023F7D4 80 FF 00 AC */ lwz r7, 0xac(r31) /* 80242878 0023F7D8 38 61 00 20 */ addi r3, r1, 0x20 /* 8024287C 0023F7DC 80 DF 00 B0 */ lwz r6, 0xb0(r31) /* 80242880 0023F7E0 38 81 00 AC */ addi r4, r1, 0xac /* 80242884 0023F7E4 80 1F 00 B4 */ lwz r0, 0xb4(r31) /* 80242888 0023F7E8 38 A0 00 0C */ li r5, 0xc /* 8024288C 0023F7EC 90 E1 00 AC */ stw r7, 0xac(r1) /* 80242890 0023F7F0 90 C1 00 B0 */ stw r6, 0xb0(r1) /* 80242894 0023F7F4 90 01 00 B4 */ stw r0, 0xb4(r1) /* 80242898 0023F7F8 4B DC 0B F9 */ bl memcpy /* 8024289C 0023F7FC 3C 60 80 24 */ lis r3, sub_80242c1c@ha /* 802428A0 0023F800 93 C1 01 4C */ stw r30, 0x14c(r1) /* 802428A4 0023F804 38 03 2C 1C */ addi r0, r3, sub_80242c1c@l /* 802428A8 0023F808 38 61 01 50 */ addi r3, r1, 0x150 /* 802428AC 0023F80C 90 01 01 48 */ stw r0, 0x148(r1) /* 802428B0 0023F810 38 81 00 20 */ addi r4, r1, 0x20 /* 802428B4 0023F814 38 A0 00 0C */ li r5, 0xc /* 802428B8 0023F818 4B DC 0B D9 */ bl memcpy /* 802428BC 0023F81C 80 7E 00 30 */ lwz r3, 0x30(r30) /* 802428C0 0023F820 38 81 01 48 */ addi r4, r1, 0x148 /* 802428C4 0023F824 48 08 3F 2D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 802428C8 0023F828 80 FF 00 B8 */ lwz r7, 0xb8(r31) /* 802428CC 0023F82C 38 61 00 14 */ addi r3, r1, 0x14 /* 802428D0 0023F830 80 DF 00 BC */ lwz r6, 0xbc(r31) /* 802428D4 0023F834 38 81 00 A0 */ addi r4, r1, 0xa0 /* 802428D8 0023F838 80 1F 00 C0 */ lwz r0, 0xc0(r31) /* 802428DC 0023F83C 38 A0 00 0C */ li r5, 0xc /* 802428E0 0023F840 90 E1 00 A0 */ stw r7, 0xa0(r1) /* 802428E4 0023F844 90 C1 00 A4 */ stw r6, 0xa4(r1) /* 802428E8 0023F848 90 01 00 A8 */ stw r0, 0xa8(r1) /* 802428EC 0023F84C 4B DC 0B A5 */ bl memcpy /* 802428F0 0023F850 3C 60 80 24 */ lis r3, sub_80242c80@ha /* 802428F4 0023F854 93 C1 01 34 */ stw r30, 0x134(r1) /* 802428F8 0023F858 38 03 2C 80 */ addi r0, r3, sub_80242c80@l /* 802428FC 0023F85C 38 61 01 38 */ addi r3, r1, 0x138 /* 80242900 0023F860 90 01 01 30 */ stw r0, 0x130(r1) /* 80242904 0023F864 38 81 00 14 */ addi r4, r1, 0x14 /* 80242908 0023F868 38 A0 00 0C */ li r5, 0xc /* 8024290C 0023F86C 4B DC 0B 85 */ bl memcpy /* 80242910 0023F870 80 7E 00 30 */ lwz r3, 0x30(r30) /* 80242914 0023F874 38 81 01 30 */ addi r4, r1, 0x130 /* 80242918 0023F878 48 08 3F 0D */ bl "SetMenuCancelCallback__14CGuiTableGroupFRC29TFunctor1" /* 8024291C 0023F87C 80 FF 00 C4 */ lwz r7, 0xc4(r31) /* 80242920 0023F880 38 61 00 08 */ addi r3, r1, 8 /* 80242924 0023F884 80 DF 00 C8 */ lwz r6, 0xc8(r31) /* 80242928 0023F888 38 81 00 94 */ addi r4, r1, 0x94 /* 8024292C 0023F88C 80 1F 00 CC */ lwz r0, 0xcc(r31) /* 80242930 0023F890 38 A0 00 0C */ li r5, 0xc /* 80242934 0023F894 90 E1 00 94 */ stw r7, 0x94(r1) /* 80242938 0023F898 90 C1 00 98 */ stw r6, 0x98(r1) /* 8024293C 0023F89C 90 01 00 9C */ stw r0, 0x9c(r1) /* 80242940 0023F8A0 4B DC 0B 51 */ bl memcpy /* 80242944 0023F8A4 3C 60 80 24 */ lis r3, sub_80242bb8@ha /* 80242948 0023F8A8 93 C1 01 1C */ stw r30, 0x11c(r1) /* 8024294C 0023F8AC 38 03 2B B8 */ addi r0, r3, sub_80242bb8@l /* 80242950 0023F8B0 38 61 01 20 */ addi r3, r1, 0x120 /* 80242954 0023F8B4 90 01 01 18 */ stw r0, 0x118(r1) /* 80242958 0023F8B8 38 81 00 08 */ addi r4, r1, 8 /* 8024295C 0023F8BC 38 A0 00 0C */ li r5, 0xc /* 80242960 0023F8C0 4B DC 0B 31 */ bl memcpy /* 80242964 0023F8C4 80 7E 00 34 */ lwz r3, 0x34(r30) /* 80242968 0023F8C8 38 81 01 18 */ addi r4, r1, 0x118 /* 8024296C 0023F8CC 48 08 32 F5 */ bl "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2" /* 80242970 0023F8D0 80 7E 00 20 */ lwz r3, 0x20(r30) /* 80242974 0023F8D4 38 80 00 5F */ li r4, 0x5f /* 80242978 0023F8D8 48 11 3D 85 */ bl GetString__12CStringTableCFi /* 8024297C 0023F8DC 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80242980 0023F8E0 7C 65 1B 78 */ mr r5, r3 /* 80242984 0023F8E4 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80242988 0023F8E8 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 8024298C 0023F8EC 38 84 00 71 */ addi r4, r4, 0x71 /* 80242990 0023F8F0 48 00 1A 41 */ bl sub_802443d0 /* 80242994 0023F8F4 80 7E 00 20 */ lwz r3, 0x20(r30) /* 80242998 0023F8F8 38 80 00 5E */ li r4, 0x5e /* 8024299C 0023F8FC 48 11 3D 61 */ bl GetString__12CStringTableCFi /* 802429A0 0023F900 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 802429A4 0023F904 7C 65 1B 78 */ mr r5, r3 /* 802429A8 0023F908 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 802429AC 0023F90C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802429B0 0023F910 38 84 00 82 */ addi r4, r4, 0x82 /* 802429B4 0023F914 48 00 1A 1D */ bl sub_802443d0 /* 802429B8 0023F918 80 7E 00 20 */ lwz r3, 0x20(r30) /* 802429BC 0023F91C 38 80 00 60 */ li r4, 0x60 /* 802429C0 0023F920 48 11 3D 3D */ bl GetString__12CStringTableCFi /* 802429C4 0023F924 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 802429C8 0023F928 7C 65 1B 78 */ mr r5, r3 /* 802429CC 0023F92C 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 802429D0 0023F930 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802429D4 0023F934 38 84 00 93 */ addi r4, r4, 0x93 /* 802429D8 0023F938 48 00 19 F9 */ bl sub_802443d0 /* 802429DC 0023F93C 80 7E 00 20 */ lwz r3, 0x20(r30) /* 802429E0 0023F940 38 80 00 61 */ li r4, 0x61 /* 802429E4 0023F944 48 11 3D 19 */ bl GetString__12CStringTableCFi /* 802429E8 0023F948 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 802429EC 0023F94C 7C 65 1B 78 */ mr r5, r3 /* 802429F0 0023F950 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 802429F4 0023F954 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 802429F8 0023F958 38 84 00 A4 */ addi r4, r4, 0xa4 /* 802429FC 0023F95C 48 00 19 D5 */ bl sub_802443d0 /* 80242A00 0023F960 80 7E 00 20 */ lwz r3, 0x20(r30) /* 80242A04 0023F964 38 80 00 62 */ li r4, 0x62 /* 80242A08 0023F968 48 11 3C F5 */ bl GetString__12CStringTableCFi /* 80242A0C 0023F96C 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80242A10 0023F970 7C 65 1B 78 */ mr r5, r3 /* 80242A14 0023F974 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80242A18 0023F978 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242A1C 0023F97C 38 84 00 B5 */ addi r4, r4, 0xb5 /* 80242A20 0023F980 48 00 19 B1 */ bl sub_802443d0 /* 80242A24 0023F984 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80242A28 0023F988 38 80 00 63 */ li r4, 0x63 /* 80242A2C 0023F98C 48 11 3C D1 */ bl GetString__12CStringTableCFi /* 80242A30 0023F990 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80242A34 0023F994 7C 65 1B 78 */ mr r5, r3 /* 80242A38 0023F998 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80242A3C 0023F99C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242A40 0023F9A0 38 84 00 C6 */ addi r4, r4, 0xc6 /* 80242A44 0023F9A4 48 00 19 8D */ bl sub_802443d0 /* 80242A48 0023F9A8 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80242A4C 0023F9AC 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242A50 0023F9B0 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80242A54 0023F9B4 38 84 00 D5 */ addi r4, r4, 0xd5 /* 80242A58 0023F9B8 48 07 F6 FD */ bl FindWidget__9CGuiFrameCFPCc /* 80242A5C 0023F9BC 7C 7F 1B 79 */ or. r31, r3, r3 /* 80242A60 0023F9C0 41 82 00 34 */ beq lbl_80242A94 /* 80242A64 0023F9C4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80242A68 0023F9C8 38 80 00 55 */ li r4, 0x55 /* 80242A6C 0023F9CC 48 11 3C 91 */ bl GetString__12CStringTableCFi /* 80242A70 0023F9D0 7C 64 1B 78 */ mr r4, r3 /* 80242A74 0023F9D4 38 61 00 84 */ addi r3, r1, 0x84 /* 80242A78 0023F9D8 4B DD 2F 79 */ bl wstring_l__4rstlFPCw /* 80242A7C 0023F9DC 38 7F 00 D4 */ addi r3, r31, 0xd4 /* 80242A80 0023F9E0 38 81 00 84 */ addi r4, r1, 0x84 /* 80242A84 0023F9E4 38 A0 00 00 */ li r5, 0 /* 80242A88 0023F9E8 48 08 6D FD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80242A8C 0023F9EC 38 61 00 84 */ addi r3, r1, 0x84 /* 80242A90 0023F9F0 48 0F A6 A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80242A94: /* 80242A94 0023F9F4 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80242A98 0023F9F8 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242A9C 0023F9FC 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80242AA0 0023FA00 38 84 00 E6 */ addi r4, r4, 0xe6 /* 80242AA4 0023FA04 48 07 F6 B1 */ bl FindWidget__9CGuiFrameCFPCc /* 80242AA8 0023FA08 7C 7F 1B 79 */ or. r31, r3, r3 /* 80242AAC 0023FA0C 41 82 00 34 */ beq lbl_80242AE0 /* 80242AB0 0023FA10 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80242AB4 0023FA14 38 80 00 52 */ li r4, 0x52 /* 80242AB8 0023FA18 48 11 3C 45 */ bl GetString__12CStringTableCFi /* 80242ABC 0023FA1C 7C 64 1B 78 */ mr r4, r3 /* 80242AC0 0023FA20 38 61 00 74 */ addi r3, r1, 0x74 /* 80242AC4 0023FA24 4B DD 2F 2D */ bl wstring_l__4rstlFPCw /* 80242AC8 0023FA28 38 7F 00 D4 */ addi r3, r31, 0xd4 /* 80242ACC 0023FA2C 38 81 00 74 */ addi r4, r1, 0x74 /* 80242AD0 0023FA30 38 A0 00 00 */ li r5, 0 /* 80242AD4 0023FA34 48 08 6D B1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80242AD8 0023FA38 38 61 00 74 */ addi r3, r1, 0x74 /* 80242ADC 0023FA3C 48 0F A6 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80242AE0: /* 80242AE0 0023FA40 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80242AE4 0023FA44 3B A0 00 00 */ li r29, 0 /* 80242AE8 0023FA48 3B E3 45 B4 */ addi r31, r3, lbl_803D45B4@l lbl_80242AEC: /* 80242AEC 0023FA4C 7F A5 EB 78 */ mr r5, r29 /* 80242AF0 0023FA50 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 80242AF4 0023FA54 38 9F 00 F6 */ addi r4, r31, 0xf6 /* 80242AF8 0023FA58 4C C6 31 82 */ crclr 6 /* 80242AFC 0023FA5C 48 14 B1 E1 */ bl sprintf /* 80242B00 0023FA60 80 7E 00 20 */ lwz r3, 0x20(r30) /* 80242B04 0023FA64 38 9D 00 10 */ addi r4, r29, 0x10 /* 80242B08 0023FA68 48 11 3B F5 */ bl GetString__12CStringTableCFi /* 80242B0C 0023FA6C 7C 65 1B 78 */ mr r5, r3 /* 80242B10 0023FA70 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80242B14 0023FA74 38 81 01 F0 */ addi r4, r1, 0x1f0 /* 80242B18 0023FA78 48 00 18 B9 */ bl sub_802443d0 /* 80242B1C 0023FA7C 3B BD 00 01 */ addi r29, r29, 1 /* 80242B20 0023FA80 2C 1D 00 04 */ cmpwi r29, 4 /* 80242B24 0023FA84 41 80 FF C8 */ blt lbl_80242AEC /* 80242B28 0023FA88 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 80242B2C 0023FA8C 38 00 00 00 */ li r0, 0 /* 80242B30 0023FA90 38 80 00 01 */ li r4, 1 /* 80242B34 0023FA94 98 03 00 D1 */ stb r0, 0xd1(r3) /* 80242B38 0023FA98 80 7E 00 30 */ lwz r3, 0x30(r30) /* 80242B3C 0023FA9C 98 03 00 D1 */ stb r0, 0xd1(r3) /* 80242B40 0023FAA0 80 7E 00 24 */ lwz r3, 0x24(r30) /* 80242B44 0023FAA4 48 08 7A A1 */ bl SetIsActive__10CGuiWidgetFb /* 80242B48 0023FAA8 80 7E 00 28 */ lwz r3, 0x28(r30) /* 80242B4C 0023FAAC 38 80 00 00 */ li r4, 0 /* 80242B50 0023FAB0 48 08 7A 95 */ bl SetIsActive__10CGuiWidgetFb /* 80242B54 0023FAB4 80 9E 00 24 */ lwz r4, 0x24(r30) /* 80242B58 0023FAB8 7F C3 F3 78 */ mr r3, r30 /* 80242B5C 0023FABC 4B FF F0 2D */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 80242B60 0023FAC0 80 9E 00 28 */ lwz r4, 0x28(r30) /* 80242B64 0023FAC4 7F C3 F3 78 */ mr r3, r30 /* 80242B68 0023FAC8 4B FF F0 21 */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 80242B6C 0023FACC 80 9E 00 2C */ lwz r4, 0x2c(r30) /* 80242B70 0023FAD0 7F C3 F3 78 */ mr r3, r30 /* 80242B74 0023FAD4 4B FF F0 15 */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 80242B78 0023FAD8 80 9E 00 30 */ lwz r4, 0x30(r30) /* 80242B7C 0023FADC 7F C3 F3 78 */ mr r3, r30 /* 80242B80 0023FAE0 4B FF F0 09 */ bl SetTableColors__21SOptionsFrontEndFrameFP14CGuiTableGroup /* 80242B84 0023FAE4 7F C3 F3 78 */ mr r3, r30 /* 80242B88 0023FAE8 4B FF F8 F1 */ bl SetRightUIText__21SOptionsFrontEndFrameFv /* 80242B8C 0023FAEC 7F C3 F3 78 */ mr r3, r30 /* 80242B90 0023FAF0 4B FF F5 C1 */ bl DeactivateRightMenu__21SOptionsFrontEndFrameFv /* 80242B94 0023FAF4 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 /* 80242B98 0023FAF8 80 01 02 34 */ lwz r0, 0x234(r1) /* 80242B9C 0023FAFC CB E1 02 20 */ lfd f31, 0x220(r1) /* 80242BA0 0023FB00 83 E1 02 1C */ lwz r31, 0x21c(r1) /* 80242BA4 0023FB04 83 C1 02 18 */ lwz r30, 0x218(r1) /* 80242BA8 0023FB08 83 A1 02 14 */ lwz r29, 0x214(r1) /* 80242BAC 0023FB0C 7C 08 03 A6 */ mtlr r0 /* 80242BB0 0023FB10 38 21 02 30 */ addi r1, r1, 0x230 /* 80242BB4 0023FB14 4E 80 00 20 */ blr .global sub_80242bb8 sub_80242bb8: /* 80242BB8 0023FB18 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80242BBC 0023FB1C 7C 08 02 A6 */ mflr r0 /* 80242BC0 0023FB20 90 01 00 34 */ stw r0, 0x34(r1) /* 80242BC4 0023FB24 DB E1 00 28 */ stfd f31, 0x28(r1) /* 80242BC8 0023FB28 FF E0 08 90 */ fmr f31, f1 /* 80242BCC 0023FB2C 93 E1 00 24 */ stw r31, 0x24(r1) /* 80242BD0 0023FB30 7C BF 2B 78 */ mr r31, r5 /* 80242BD4 0023FB34 38 A0 00 0C */ li r5, 0xc /* 80242BD8 0023FB38 93 C1 00 20 */ stw r30, 0x20(r1) /* 80242BDC 0023FB3C 7C 7E 1B 78 */ mr r30, r3 /* 80242BE0 0023FB40 38 61 00 08 */ addi r3, r1, 8 /* 80242BE4 0023FB44 4B DC 08 AD */ bl memcpy /* 80242BE8 0023FB48 FC 20 F8 90 */ fmr f1, f31 /* 80242BEC 0023FB4C 7F C3 F3 78 */ mr r3, r30 /* 80242BF0 0023FB50 7F E4 FB 78 */ mr r4, r31 /* 80242BF4 0023FB54 39 81 00 08 */ addi r12, r1, 8 /* 80242BF8 0023FB58 48 14 6D 35 */ bl __ptmf_scall /* 80242BFC 0023FB5C 60 00 00 00 */ nop /* 80242C00 0023FB60 80 01 00 34 */ lwz r0, 0x34(r1) /* 80242C04 0023FB64 CB E1 00 28 */ lfd f31, 0x28(r1) /* 80242C08 0023FB68 83 E1 00 24 */ lwz r31, 0x24(r1) /* 80242C0C 0023FB6C 83 C1 00 20 */ lwz r30, 0x20(r1) /* 80242C10 0023FB70 7C 08 03 A6 */ mtlr r0 /* 80242C14 0023FB74 38 21 00 30 */ addi r1, r1, 0x30 /* 80242C18 0023FB78 4E 80 00 20 */ blr .global sub_80242c1c sub_80242c1c: /* 80242C1C 0023FB7C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80242C20 0023FB80 7C 08 02 A6 */ mflr r0 /* 80242C24 0023FB84 90 01 00 34 */ stw r0, 0x34(r1) /* 80242C28 0023FB88 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80242C2C 0023FB8C 7C DF 33 78 */ mr r31, r6 /* 80242C30 0023FB90 93 C1 00 28 */ stw r30, 0x28(r1) /* 80242C34 0023FB94 7C BE 2B 78 */ mr r30, r5 /* 80242C38 0023FB98 38 A0 00 0C */ li r5, 0xc /* 80242C3C 0023FB9C 93 A1 00 24 */ stw r29, 0x24(r1) /* 80242C40 0023FBA0 7C 7D 1B 78 */ mr r29, r3 /* 80242C44 0023FBA4 38 61 00 08 */ addi r3, r1, 8 /* 80242C48 0023FBA8 4B DC 08 49 */ bl memcpy /* 80242C4C 0023FBAC 7F A3 EB 78 */ mr r3, r29 /* 80242C50 0023FBB0 7F C4 F3 78 */ mr r4, r30 /* 80242C54 0023FBB4 7F E5 FB 78 */ mr r5, r31 /* 80242C58 0023FBB8 39 81 00 08 */ addi r12, r1, 8 /* 80242C5C 0023FBBC 48 14 6C D1 */ bl __ptmf_scall /* 80242C60 0023FBC0 60 00 00 00 */ nop /* 80242C64 0023FBC4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80242C68 0023FBC8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80242C6C 0023FBCC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80242C70 0023FBD0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80242C74 0023FBD4 7C 08 03 A6 */ mtlr r0 /* 80242C78 0023FBD8 38 21 00 30 */ addi r1, r1, 0x30 /* 80242C7C 0023FBDC 4E 80 00 20 */ blr .global sub_80242c80 sub_80242c80: /* 80242C80 0023FBE0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80242C84 0023FBE4 7C 08 02 A6 */ mflr r0 /* 80242C88 0023FBE8 90 01 00 24 */ stw r0, 0x24(r1) /* 80242C8C 0023FBEC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80242C90 0023FBF0 7C BF 2B 78 */ mr r31, r5 /* 80242C94 0023FBF4 38 A0 00 0C */ li r5, 0xc /* 80242C98 0023FBF8 93 C1 00 18 */ stw r30, 0x18(r1) /* 80242C9C 0023FBFC 7C 7E 1B 78 */ mr r30, r3 /* 80242CA0 0023FC00 38 61 00 08 */ addi r3, r1, 8 /* 80242CA4 0023FC04 4B DC 07 ED */ bl memcpy /* 80242CA8 0023FC08 7F C3 F3 78 */ mr r3, r30 /* 80242CAC 0023FC0C 7F E4 FB 78 */ mr r4, r31 /* 80242CB0 0023FC10 39 81 00 08 */ addi r12, r1, 8 /* 80242CB4 0023FC14 48 14 6C 79 */ bl __ptmf_scall /* 80242CB8 0023FC18 60 00 00 00 */ nop /* 80242CBC 0023FC1C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80242CC0 0023FC20 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80242CC4 0023FC24 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80242CC8 0023FC28 7C 08 03 A6 */ mtlr r0 /* 80242CCC 0023FC2C 38 21 00 20 */ addi r1, r1, 0x20 /* 80242CD0 0023FC30 4E 80 00 20 */ blr .global PumpLoad__21SOptionsFrontEndFrameFv PumpLoad__21SOptionsFrontEndFrameFv: /* 80242CD4 0023FC34 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80242CD8 0023FC38 7C 08 02 A6 */ mflr r0 /* 80242CDC 0023FC3C 90 01 00 14 */ stw r0, 0x14(r1) /* 80242CE0 0023FC40 93 E1 00 0C */ stw r31, 0xc(r1) /* 80242CE4 0023FC44 7C 7F 1B 78 */ mr r31, r3 /* 80242CE8 0023FC48 93 C1 00 08 */ stw r30, 8(r1) /* 80242CEC 0023FC4C 80 03 00 1C */ lwz r0, 0x1c(r3) /* 80242CF0 0023FC50 28 00 00 00 */ cmplwi r0, 0 /* 80242CF4 0023FC54 41 82 00 0C */ beq lbl_80242D00 /* 80242CF8 0023FC58 38 60 00 01 */ li r3, 1 /* 80242CFC 0023FC5C 48 00 00 E0 */ b lbl_80242DDC lbl_80242D00: /* 80242D00 0023FC60 80 1F 00 0C */ lwz r0, 0xc(r31) /* 80242D04 0023FC64 28 00 00 00 */ cmplwi r0, 0 /* 80242D08 0023FC68 41 82 00 0C */ beq lbl_80242D14 /* 80242D0C 0023FC6C 38 60 00 01 */ li r3, 1 /* 80242D10 0023FC70 48 00 00 3C */ b lbl_80242D4C lbl_80242D14: /* 80242D14 0023FC74 88 1F 00 08 */ lbz r0, 8(r31) /* 80242D18 0023FC78 28 00 00 00 */ cmplwi r0, 0 /* 80242D1C 0023FC7C 41 82 00 2C */ beq lbl_80242D48 /* 80242D20 0023FC80 80 7F 00 04 */ lwz r3, 4(r31) /* 80242D24 0023FC84 80 03 00 10 */ lwz r0, 0x10(r3) /* 80242D28 0023FC88 28 00 00 00 */ cmplwi r0, 0 /* 80242D2C 0023FC8C 41 82 00 1C */ beq lbl_80242D48 /* 80242D30 0023FC90 38 7F 00 04 */ addi r3, r31, 4 /* 80242D34 0023FC94 48 0F E0 D9 */ bl GetObj__6CTokenFv /* 80242D38 0023FC98 80 03 00 04 */ lwz r0, 4(r3) /* 80242D3C 0023FC9C 38 60 00 01 */ li r3, 1 /* 80242D40 0023FCA0 90 1F 00 0C */ stw r0, 0xc(r31) /* 80242D44 0023FCA4 48 00 00 08 */ b lbl_80242D4C lbl_80242D48: /* 80242D48 0023FCA8 38 60 00 00 */ li r3, 0 lbl_80242D4C: /* 80242D4C 0023FCAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80242D50 0023FCB0 41 82 00 88 */ beq lbl_80242DD8 /* 80242D54 0023FCB4 80 1F 00 18 */ lwz r0, 0x18(r31) /* 80242D58 0023FCB8 28 00 00 00 */ cmplwi r0, 0 /* 80242D5C 0023FCBC 41 82 00 0C */ beq lbl_80242D68 /* 80242D60 0023FCC0 38 60 00 01 */ li r3, 1 /* 80242D64 0023FCC4 48 00 00 3C */ b lbl_80242DA0 lbl_80242D68: /* 80242D68 0023FCC8 88 1F 00 14 */ lbz r0, 0x14(r31) /* 80242D6C 0023FCCC 28 00 00 00 */ cmplwi r0, 0 /* 80242D70 0023FCD0 41 82 00 2C */ beq lbl_80242D9C /* 80242D74 0023FCD4 80 7F 00 10 */ lwz r3, 0x10(r31) /* 80242D78 0023FCD8 80 03 00 10 */ lwz r0, 0x10(r3) /* 80242D7C 0023FCDC 28 00 00 00 */ cmplwi r0, 0 /* 80242D80 0023FCE0 41 82 00 1C */ beq lbl_80242D9C /* 80242D84 0023FCE4 38 7F 00 10 */ addi r3, r31, 0x10 /* 80242D88 0023FCE8 48 0F E0 85 */ bl GetObj__6CTokenFv /* 80242D8C 0023FCEC 80 03 00 04 */ lwz r0, 4(r3) /* 80242D90 0023FCF0 38 60 00 01 */ li r3, 1 /* 80242D94 0023FCF4 90 1F 00 18 */ stw r0, 0x18(r31) /* 80242D98 0023FCF8 48 00 00 08 */ b lbl_80242DA0 lbl_80242D9C: /* 80242D9C 0023FCFC 38 60 00 00 */ li r3, 0 lbl_80242DA0: /* 80242DA0 0023FD00 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80242DA4 0023FD04 41 82 00 34 */ beq lbl_80242DD8 /* 80242DA8 0023FD08 83 DF 00 0C */ lwz r30, 0xc(r31) /* 80242DAC 0023FD0C 7F C3 F3 78 */ mr r3, r30 /* 80242DB0 0023FD10 48 07 F7 A1 */ bl GetIsFinishedLoading__9CGuiFrameCFv /* 80242DB4 0023FD14 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80242DB8 0023FD18 41 82 00 20 */ beq lbl_80242DD8 /* 80242DBC 0023FD1C 93 DF 00 1C */ stw r30, 0x1c(r31) /* 80242DC0 0023FD20 7F E3 FB 78 */ mr r3, r31 /* 80242DC4 0023FD24 80 1F 00 18 */ lwz r0, 0x18(r31) /* 80242DC8 0023FD28 90 1F 00 20 */ stw r0, 0x20(r31) /* 80242DCC 0023FD2C 4B FF F7 B5 */ bl FinishedLoading__21SOptionsFrontEndFrameFv /* 80242DD0 0023FD30 38 60 00 01 */ li r3, 1 /* 80242DD4 0023FD34 48 00 00 08 */ b lbl_80242DDC lbl_80242DD8: /* 80242DD8 0023FD38 38 60 00 00 */ li r3, 0 lbl_80242DDC: /* 80242DDC 0023FD3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80242DE0 0023FD40 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80242DE4 0023FD44 83 C1 00 08 */ lwz r30, 8(r1) /* 80242DE8 0023FD48 7C 08 03 A6 */ mtlr r0 /* 80242DEC 0023FD4C 38 21 00 10 */ addi r1, r1, 0x10 /* 80242DF0 0023FD50 4E 80 00 20 */ blr .global __dt__21SOptionsFrontEndFrameFv __dt__21SOptionsFrontEndFrameFv: /* 80242DF4 0023FD54 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80242DF8 0023FD58 7C 08 02 A6 */ mflr r0 /* 80242DFC 0023FD5C 90 01 00 24 */ stw r0, 0x24(r1) /* 80242E00 0023FD60 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80242E04 0023FD64 7C 9F 23 78 */ mr r31, r4 /* 80242E08 0023FD68 93 C1 00 18 */ stw r30, 0x18(r1) /* 80242E0C 0023FD6C 7C 7E 1B 79 */ or. r30, r3, r3 /* 80242E10 0023FD70 41 82 00 68 */ beq lbl_80242E78 /* 80242E14 0023FD74 80 1E 00 3C */ lwz r0, 0x3c(r30) /* 80242E18 0023FD78 38 61 00 08 */ addi r3, r1, 8 /* 80242E1C 0023FD7C 90 01 00 08 */ stw r0, 8(r1) /* 80242E20 0023FD80 48 0A 6F 29 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80242E24 0023FD84 38 7E 00 40 */ addi r3, r30, 0x40 /* 80242E28 0023FD88 38 80 FF FF */ li r4, -1 /* 80242E2C 0023FD8C 48 12 71 C9 */ bl __dt__16CRumbleGeneratorFv /* 80242E30 0023FD90 34 1E 00 10 */ addic. r0, r30, 0x10 /* 80242E34 0023FD94 41 82 00 18 */ beq lbl_80242E4C /* 80242E38 0023FD98 34 1E 00 10 */ addic. r0, r30, 0x10 /* 80242E3C 0023FD9C 41 82 00 10 */ beq lbl_80242E4C /* 80242E40 0023FDA0 38 7E 00 10 */ addi r3, r30, 0x10 /* 80242E44 0023FDA4 38 80 00 00 */ li r4, 0 /* 80242E48 0023FDA8 48 0F DF F9 */ bl __dt__6CTokenFv lbl_80242E4C: /* 80242E4C 0023FDAC 34 1E 00 04 */ addic. r0, r30, 4 /* 80242E50 0023FDB0 41 82 00 18 */ beq lbl_80242E68 /* 80242E54 0023FDB4 34 1E 00 04 */ addic. r0, r30, 4 /* 80242E58 0023FDB8 41 82 00 10 */ beq lbl_80242E68 /* 80242E5C 0023FDBC 38 7E 00 04 */ addi r3, r30, 4 /* 80242E60 0023FDC0 38 80 00 00 */ li r4, 0 /* 80242E64 0023FDC4 48 0F DF DD */ bl __dt__6CTokenFv lbl_80242E68: /* 80242E68 0023FDC8 7F E0 07 35 */ extsh. r0, r31 /* 80242E6C 0023FDCC 40 81 00 0C */ ble lbl_80242E78 /* 80242E70 0023FDD0 7F C3 F3 78 */ mr r3, r30 /* 80242E74 0023FDD4 48 0D 2A BD */ bl Free__7CMemoryFPCv lbl_80242E78: /* 80242E78 0023FDD8 80 01 00 24 */ lwz r0, 0x24(r1) /* 80242E7C 0023FDDC 7F C3 F3 78 */ mr r3, r30 /* 80242E80 0023FDE0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80242E84 0023FDE4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80242E88 0023FDE8 7C 08 03 A6 */ mtlr r0 /* 80242E8C 0023FDEC 38 21 00 20 */ addi r1, r1, 0x20 /* 80242E90 0023FDF0 4E 80 00 20 */ blr .global __ct__21SOptionsFrontEndFrameFv __ct__21SOptionsFrontEndFrameFv: /* 80242E94 0023FDF4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80242E98 0023FDF8 7C 08 02 A6 */ mflr r0 /* 80242E9C 0023FDFC 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80242EA0 0023FE00 C0 02 B8 10 */ lfs f0, lbl_805AD530@sda21(r2) /* 80242EA4 0023FE04 90 01 00 24 */ stw r0, 0x24(r1) /* 80242EA8 0023FE08 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80242EAC 0023FE0C 38 A4 01 0A */ addi r5, r4, 0x10a /* 80242EB0 0023FE10 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80242EB4 0023FE14 93 C1 00 18 */ stw r30, 0x18(r1) /* 80242EB8 0023FE18 7C 7E 1B 78 */ mr r30, r3 /* 80242EBC 0023FE1C 38 61 00 10 */ addi r3, r1, 0x10 /* 80242EC0 0023FE20 D0 1E 00 00 */ stfs f0, 0(r30) /* 80242EC4 0023FE24 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80242EC8 0023FE28 81 84 00 00 */ lwz r12, 0(r4) /* 80242ECC 0023FE2C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80242ED0 0023FE30 7D 89 03 A6 */ mtctr r12 /* 80242ED4 0023FE34 4E 80 04 21 */ bctrl /* 80242ED8 0023FE38 3B FE 00 04 */ addi r31, r30, 4 /* 80242EDC 0023FE3C 38 81 00 10 */ addi r4, r1, 0x10 /* 80242EE0 0023FE40 7F E3 FB 78 */ mr r3, r31 /* 80242EE4 0023FE44 48 0F DF C5 */ bl __ct__6CTokenFRC6CToken /* 80242EE8 0023FE48 38 00 00 00 */ li r0, 0 /* 80242EEC 0023FE4C 38 61 00 10 */ addi r3, r1, 0x10 /* 80242EF0 0023FE50 90 1F 00 08 */ stw r0, 8(r31) /* 80242EF4 0023FE54 38 80 FF FF */ li r4, -1 /* 80242EF8 0023FE58 48 0F DF 49 */ bl __dt__6CTokenFv /* 80242EFC 0023FE5C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80242F00 0023FE60 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80242F04 0023FE64 38 A3 45 B4 */ addi r5, r3, lbl_803D45B4@l /* 80242F08 0023FE68 38 61 00 08 */ addi r3, r1, 8 /* 80242F0C 0023FE6C 81 84 00 00 */ lwz r12, 0(r4) /* 80242F10 0023FE70 38 A5 01 1F */ addi r5, r5, 0x11f /* 80242F14 0023FE74 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80242F18 0023FE78 7D 89 03 A6 */ mtctr r12 /* 80242F1C 0023FE7C 4E 80 04 21 */ bctrl /* 80242F20 0023FE80 3B FE 00 10 */ addi r31, r30, 0x10 /* 80242F24 0023FE84 38 81 00 08 */ addi r4, r1, 8 /* 80242F28 0023FE88 7F E3 FB 78 */ mr r3, r31 /* 80242F2C 0023FE8C 48 0F DF 7D */ bl __ct__6CTokenFRC6CToken /* 80242F30 0023FE90 38 00 00 00 */ li r0, 0 /* 80242F34 0023FE94 38 61 00 08 */ addi r3, r1, 8 /* 80242F38 0023FE98 90 1F 00 08 */ stw r0, 8(r31) /* 80242F3C 0023FE9C 38 80 FF FF */ li r4, -1 /* 80242F40 0023FEA0 48 0F DF 01 */ bl __dt__6CTokenFv /* 80242F44 0023FEA4 38 00 00 00 */ li r0, 0 /* 80242F48 0023FEA8 C0 02 B8 10 */ lfs f0, lbl_805AD530@sda21(r2) /* 80242F4C 0023FEAC 90 1E 00 1C */ stw r0, 0x1c(r30) /* 80242F50 0023FEB0 38 7E 00 40 */ addi r3, r30, 0x40 /* 80242F54 0023FEB4 90 1E 00 20 */ stw r0, 0x20(r30) /* 80242F58 0023FEB8 90 1E 00 24 */ stw r0, 0x24(r30) /* 80242F5C 0023FEBC 90 1E 00 28 */ stw r0, 0x28(r30) /* 80242F60 0023FEC0 90 1E 00 2C */ stw r0, 0x2c(r30) /* 80242F64 0023FEC4 90 1E 00 30 */ stw r0, 0x30(r30) /* 80242F68 0023FEC8 90 1E 00 34 */ stw r0, 0x34(r30) /* 80242F6C 0023FECC D0 1E 00 38 */ stfs f0, 0x38(r30) /* 80242F70 0023FED0 90 1E 00 3C */ stw r0, 0x3c(r30) /* 80242F74 0023FED4 48 12 72 21 */ bl __ct__16CRumbleGeneratorFv /* 80242F78 0023FED8 88 1E 01 34 */ lbz r0, 0x134(r30) /* 80242F7C 0023FEDC 38 60 00 01 */ li r3, 1 /* 80242F80 0023FEE0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80242F84 0023FEE4 38 80 00 00 */ li r4, 0 /* 80242F88 0023FEE8 98 1E 01 34 */ stb r0, 0x134(r30) /* 80242F8C 0023FEEC 38 7E 00 04 */ addi r3, r30, 4 /* 80242F90 0023FEF0 88 1E 01 34 */ lbz r0, 0x134(r30) /* 80242F94 0023FEF4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 80242F98 0023FEF8 98 1E 01 34 */ stb r0, 0x134(r30) /* 80242F9C 0023FEFC 48 0F DD E9 */ bl Lock__6CTokenFv /* 80242FA0 0023FF00 7F E3 FB 78 */ mr r3, r31 /* 80242FA4 0023FF04 48 0F DD E1 */ bl Lock__6CTokenFv /* 80242FA8 0023FF08 80 01 00 24 */ lwz r0, 0x24(r1) /* 80242FAC 0023FF0C 7F C3 F3 78 */ mr r3, r30 /* 80242FB0 0023FF10 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80242FB4 0023FF14 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80242FB8 0023FF18 7C 08 03 A6 */ mtlr r0 /* 80242FBC 0023FF1C 38 21 00 20 */ addi r1, r1, 0x20 /* 80242FC0 0023FF20 4E 80 00 20 */ blr .global OnEnumChanged__14COptionsScreenFP14CGuiTableGroupi OnEnumChanged__14COptionsScreenFP14CGuiTableGroupi: /* 80242FC4 0023FF24 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80242FC8 0023FF28 7C 08 02 A6 */ mflr r0 /* 80242FCC 0023FF2C 90 01 00 34 */ stw r0, 0x34(r1) /* 80242FD0 0023FF30 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 80242FD4 0023FF34 7C 7B 1B 78 */ mr r27, r3 /* 80242FD8 0023FF38 7C 9C 23 78 */ mr r28, r4 /* 80242FDC 0023FF3C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80242FE0 0023FF40 2C 00 00 01 */ cmpwi r0, 1 /* 80242FE4 0023FF44 40 82 00 A4 */ bne lbl_80243088 /* 80242FE8 0023FF48 80 9B 00 70 */ lwz r4, 0x70(r27) /* 80242FEC 0023FF4C 3C 60 80 3F */ lis r3, lbl_803E8720@ha /* 80242FF0 0023FF50 80 1B 00 1C */ lwz r0, 0x1c(r27) /* 80242FF4 0023FF54 38 63 87 20 */ addi r3, r3, lbl_803E8720@l /* 80242FF8 0023FF58 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 80242FFC 0023FF5C 83 BC 00 C4 */ lwz r29, 0xc4(r28) /* 80243000 0023FF60 1F E0 00 18 */ mulli r31, r0, 0x18 /* 80243004 0023FF64 54 80 18 38 */ slwi r0, r4, 3 /* 80243008 0023FF68 7F A4 EB 78 */ mr r4, r29 /* 8024300C 0023FF6C 7C 63 02 14 */ add r3, r3, r0 /* 80243010 0023FF70 83 C3 00 04 */ lwz r30, 4(r3) /* 80243014 0023FF74 7C 7E F8 2E */ lwzx r3, r30, r31 /* 80243018 0023FF78 48 00 11 91 */ bl SetOption__12CGameOptionsF11EGameOptioni /* 8024301C 0023FF7C 7C 1E F8 2E */ lwzx r0, r30, r31 /* 80243020 0023FF80 2C 00 00 0C */ cmpwi r0, 0xc /* 80243024 0023FF84 40 82 00 34 */ bne lbl_80243058 /* 80243028 0023FF88 2C 1D 00 00 */ cmpwi r29, 0 /* 8024302C 0023FF8C 40 81 00 2C */ ble lbl_80243058 /* 80243030 0023FF90 38 7B 01 A8 */ addi r3, r27, 0x1a8 /* 80243034 0023FF94 48 12 6D 19 */ bl HardStopAll__16CRumbleGeneratorFv /* 80243038 0023FF98 3C 60 80 57 */ lis r3, lbl_80572140@ha /* 8024303C 0023FF9C C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2) /* 80243040 0023FFA0 38 83 21 40 */ addi r4, r3, lbl_80572140@l /* 80243044 0023FFA4 38 7B 01 A8 */ addi r3, r27, 0x1a8 /* 80243048 0023FFA8 38 84 01 34 */ addi r4, r4, 0x134 /* 8024304C 0023FFAC 38 A0 00 01 */ li r5, 1 /* 80243050 0023FFB0 38 C0 00 00 */ li r6, 0 /* 80243054 0023FFB4 48 12 6E F9 */ bl Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort lbl_80243058: /* 80243058 0023FFB8 7F 63 DB 78 */ mr r3, r27 /* 8024305C 0023FFBC 7F 84 E3 78 */ mr r4, r28 /* 80243060 0023FFC0 4B E2 E0 85 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup /* 80243064 0023FFC4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80243068 0023FFC8 38 61 00 08 */ addi r3, r1, 8 /* 8024306C 0023FFCC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80243070 0023FFD0 38 80 05 9D */ li r4, 0x59d /* 80243074 0023FFD4 38 A0 00 7F */ li r5, 0x7f /* 80243078 0023FFD8 38 C0 00 40 */ li r6, 0x40 /* 8024307C 0023FFDC 38 E0 00 00 */ li r7, 0 /* 80243080 0023FFE0 39 20 00 00 */ li r9, 0 /* 80243084 0023FFE4 48 0A 6C F1 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_80243088: /* 80243088 0023FFE8 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8024308C 0023FFEC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80243090 0023FFF0 7C 08 03 A6 */ mtlr r0 /* 80243094 0023FFF4 38 21 00 30 */ addi r1, r1, 0x30 /* 80243098 0023FFF8 4E 80 00 20 */ blr .global OnSliderChanged__14COptionsScreenFP15CGuiSliderGroupf OnSliderChanged__14COptionsScreenFP15CGuiSliderGroupf: /* 8024309C 0023FFFC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802430A0 00240000 7C 08 02 A6 */ mflr r0 /* 802430A4 00240004 90 01 00 14 */ stw r0, 0x14(r1) /* 802430A8 00240008 80 03 00 10 */ lwz r0, 0x10(r3) /* 802430AC 0024000C 2C 00 00 01 */ cmpwi r0, 1 /* 802430B0 00240010 40 82 00 40 */ bne lbl_802430F0 /* 802430B4 00240014 80 C3 00 70 */ lwz r6, 0x70(r3) /* 802430B8 00240018 3C A0 80 3F */ lis r5, lbl_803E8720@ha /* 802430BC 0024001C C0 04 00 C0 */ lfs f0, 0xc0(r4) /* 802430C0 00240020 38 85 87 20 */ addi r4, r5, lbl_803E8720@l /* 802430C4 00240024 80 A6 00 C4 */ lwz r5, 0xc4(r6) /* 802430C8 00240028 FC 00 00 1E */ fctiwz f0, f0 /* 802430CC 0024002C 80 03 00 1C */ lwz r0, 0x1c(r3) /* 802430D0 00240030 54 A3 18 38 */ slwi r3, r5, 3 /* 802430D4 00240034 7C 64 1A 14 */ add r3, r4, r3 /* 802430D8 00240038 D8 01 00 08 */ stfd f0, 8(r1) /* 802430DC 0024003C 1C 00 00 18 */ mulli r0, r0, 0x18 /* 802430E0 00240040 80 63 00 04 */ lwz r3, 4(r3) /* 802430E4 00240044 80 81 00 0C */ lwz r4, 0xc(r1) /* 802430E8 00240048 7C 63 00 2E */ lwzx r3, r3, r0 /* 802430EC 0024004C 48 00 10 BD */ bl SetOption__12CGameOptionsF11EGameOptioni lbl_802430F0: /* 802430F0 00240050 80 01 00 14 */ lwz r0, 0x14(r1) /* 802430F4 00240054 7C 08 03 A6 */ mtlr r0 /* 802430F8 00240058 38 21 00 10 */ addi r1, r1, 0x10 /* 802430FC 0024005C 4E 80 00 20 */ blr .global UpdateOptionView__14COptionsScreenFv UpdateOptionView__14COptionsScreenFv: /* 80243100 00240060 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80243104 00240064 7C 08 02 A6 */ mflr r0 /* 80243108 00240068 90 01 00 54 */ stw r0, 0x54(r1) /* 8024310C 0024006C DB E1 00 40 */ stfd f31, 0x40(r1) /* 80243110 00240070 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80243114 00240074 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80243118 00240078 93 C1 00 38 */ stw r30, 0x38(r1) /* 8024311C 0024007C 7C 7F 1B 78 */ mr r31, r3 /* 80243120 00240080 48 00 02 29 */ bl ResetOptionWidgetVisibility__14COptionsScreenFv /* 80243124 00240084 80 9F 00 70 */ lwz r4, 0x70(r31) /* 80243128 00240088 3C 60 80 3F */ lis r3, lbl_803E8720@ha /* 8024312C 0024008C 38 03 87 20 */ addi r0, r3, lbl_803E8720@l /* 80243130 00240090 80 64 00 C4 */ lwz r3, 0xc4(r4) /* 80243134 00240094 54 63 18 38 */ slwi r3, r3, 3 /* 80243138 00240098 7C 60 1A 14 */ add r3, r0, r3 /* 8024313C 0024009C 80 03 00 00 */ lwz r0, 0(r3) /* 80243140 002400A0 2C 00 00 00 */ cmpwi r0, 0 /* 80243144 002400A4 41 82 01 E4 */ beq lbl_80243328 /* 80243148 002400A8 80 9F 00 1C */ lwz r4, 0x1c(r31) /* 8024314C 002400AC 3C 00 43 30 */ lis r0, 0x4330 /* 80243150 002400B0 90 01 00 30 */ stw r0, 0x30(r1) /* 80243154 002400B4 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80243158 002400B8 80 63 00 04 */ lwz r3, 4(r3) /* 8024315C 002400BC 90 01 00 34 */ stw r0, 0x34(r1) /* 80243160 002400C0 1C 04 00 18 */ mulli r0, r4, 0x18 /* 80243164 002400C4 C8 22 B8 18 */ lfd f1, lbl_805AD538@sda21(r2) /* 80243168 002400C8 C8 01 00 30 */ lfd f0, 0x30(r1) /* 8024316C 002400CC 7F C3 02 14 */ add r30, r3, r0 /* 80243170 002400D0 C0 5F 00 38 */ lfs f2, 0x38(r31) /* 80243174 002400D4 EC 00 08 28 */ fsubs f0, f0, f1 /* 80243178 002400D8 80 1E 00 14 */ lwz r0, 0x14(r30) /* 8024317C 002400DC 2C 00 00 02 */ cmpwi r0, 2 /* 80243180 002400E0 EF E2 00 32 */ fmuls f31, f2, f0 /* 80243184 002400E4 41 82 01 34 */ beq lbl_802432B8 /* 80243188 002400E8 40 80 01 A0 */ bge lbl_80243328 /* 8024318C 002400EC 2C 00 00 00 */ cmpwi r0, 0 /* 80243190 002400F0 41 82 00 10 */ beq lbl_802431A0 /* 80243194 002400F4 40 80 00 B0 */ bge lbl_80243244 /* 80243198 002400F8 48 00 01 90 */ b lbl_80243328 /* 8024319C 002400FC 48 00 01 8C */ b lbl_80243328 lbl_802431A0: /* 802431A0 00240100 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 802431A4 00240104 38 80 00 01 */ li r4, 1 /* 802431A8 00240108 48 08 74 3D */ bl SetIsActive__10CGuiWidgetFb /* 802431AC 0024010C 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 802431B0 00240110 38 80 00 01 */ li r4, 1 /* 802431B4 00240114 38 A0 00 01 */ li r5, 1 /* 802431B8 00240118 48 08 75 31 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 802431BC 0024011C 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 802431C0 00240120 C0 3E 00 08 */ lfs f1, 8(r30) /* 802431C4 00240124 48 08 2B 15 */ bl SetMinVal__15CGuiSliderGroupFf /* 802431C8 00240128 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 802431CC 0024012C C0 3E 00 0C */ lfs f1, 0xc(r30) /* 802431D0 00240130 48 08 2B 31 */ bl SetMaxVal__15CGuiSliderGroupFf /* 802431D4 00240134 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 802431D8 00240138 C0 3E 00 10 */ lfs f1, 0x10(r30) /* 802431DC 0024013C 48 08 2A F5 */ bl SetIncrement__15CGuiSliderGroupFf /* 802431E0 00240140 80 7E 00 00 */ lwz r3, 0(r30) /* 802431E4 00240144 48 00 11 01 */ bl GetOption__11CGameOptionF11EGameOption /* 802431E8 00240148 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 802431EC 0024014C 3C 00 43 30 */ lis r0, 0x4330 /* 802431F0 00240150 90 61 00 34 */ stw r3, 0x34(r1) /* 802431F4 00240154 C8 22 B8 18 */ lfd f1, lbl_805AD538@sda21(r2) /* 802431F8 00240158 90 01 00 30 */ stw r0, 0x30(r1) /* 802431FC 0024015C 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 80243200 00240160 C8 01 00 30 */ lfd f0, 0x30(r1) /* 80243204 00240164 EC 20 08 28 */ fsubs f1, f0, f1 /* 80243208 00240168 48 08 2B 21 */ bl SetCurVal__15CGuiSliderGroupFf /* 8024320C 0024016C C0 1F 00 44 */ lfs f0, 0x44(r31) /* 80243210 00240170 38 81 00 20 */ addi r4, r1, 0x20 /* 80243214 00240174 C0 5F 00 40 */ lfs f2, 0x40(r31) /* 80243218 00240178 C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 8024321C 0024017C EC 60 F8 2A */ fadds f3, f0, f31 /* 80243220 00240180 C0 1F 00 3C */ lfs f0, 0x3c(r31) /* 80243224 00240184 EC 42 08 2A */ fadds f2, f2, f1 /* 80243228 00240188 EC 00 08 2A */ fadds f0, f0, f1 /* 8024322C 0024018C D0 61 00 28 */ stfs f3, 0x28(r1) /* 80243230 00240190 D0 41 00 24 */ stfs f2, 0x24(r1) /* 80243234 00240194 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80243238 00240198 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 8024323C 0024019C 48 08 1F 8D */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f /* 80243240 002401A0 48 00 00 E8 */ b lbl_80243328 lbl_80243244: /* 80243244 002401A4 80 7E 00 00 */ lwz r3, 0(r30) /* 80243248 002401A8 48 00 10 9D */ bl GetOption__11CGameOptionF11EGameOption /* 8024324C 002401AC 80 BF 01 90 */ lwz r5, 0x190(r31) /* 80243250 002401B0 38 80 00 01 */ li r4, 1 /* 80243254 002401B4 80 05 00 C4 */ lwz r0, 0xc4(r5) /* 80243258 002401B8 90 05 00 C8 */ stw r0, 0xc8(r5) /* 8024325C 002401BC 90 65 00 C4 */ stw r3, 0xc4(r5) /* 80243260 002401C0 80 7F 01 90 */ lwz r3, 0x190(r31) /* 80243264 002401C4 48 08 73 C9 */ bl SetIsVisible__10CGuiWidgetFb /* 80243268 002401C8 80 7F 01 90 */ lwz r3, 0x190(r31) /* 8024326C 002401CC 38 80 00 01 */ li r4, 1 /* 80243270 002401D0 48 08 73 75 */ bl SetIsActive__10CGuiWidgetFb /* 80243274 002401D4 80 9F 01 90 */ lwz r4, 0x190(r31) /* 80243278 002401D8 7F E3 FB 78 */ mr r3, r31 /* 8024327C 002401DC 4B E2 DE 69 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup /* 80243280 002401E0 C0 1F 00 50 */ lfs f0, 0x50(r31) /* 80243284 002401E4 38 81 00 14 */ addi r4, r1, 0x14 /* 80243288 002401E8 C0 5F 00 4C */ lfs f2, 0x4c(r31) /* 8024328C 002401EC C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 80243290 002401F0 EC 60 F8 2A */ fadds f3, f0, f31 /* 80243294 002401F4 C0 1F 00 48 */ lfs f0, 0x48(r31) /* 80243298 002401F8 EC 42 08 2A */ fadds f2, f2, f1 /* 8024329C 002401FC EC 00 08 2A */ fadds f0, f0, f1 /* 802432A0 00240200 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 802432A4 00240204 D0 41 00 18 */ stfs f2, 0x18(r1) /* 802432A8 00240208 D0 01 00 14 */ stfs f0, 0x14(r1) /* 802432AC 0024020C 80 7F 01 90 */ lwz r3, 0x190(r31) /* 802432B0 00240210 48 08 1F 19 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f /* 802432B4 00240214 48 00 00 74 */ b lbl_80243328 lbl_802432B8: /* 802432B8 00240218 80 7E 00 00 */ lwz r3, 0(r30) /* 802432BC 0024021C 48 00 10 29 */ bl GetOption__11CGameOptionF11EGameOption /* 802432C0 00240220 80 BF 01 94 */ lwz r5, 0x194(r31) /* 802432C4 00240224 38 80 00 01 */ li r4, 1 /* 802432C8 00240228 80 05 00 C4 */ lwz r0, 0xc4(r5) /* 802432CC 0024022C 90 05 00 C8 */ stw r0, 0xc8(r5) /* 802432D0 00240230 90 65 00 C4 */ stw r3, 0xc4(r5) /* 802432D4 00240234 80 7F 01 94 */ lwz r3, 0x194(r31) /* 802432D8 00240238 48 08 73 55 */ bl SetIsVisible__10CGuiWidgetFb /* 802432DC 0024023C 80 7F 01 94 */ lwz r3, 0x194(r31) /* 802432E0 00240240 38 80 00 01 */ li r4, 1 /* 802432E4 00240244 48 08 73 01 */ bl SetIsActive__10CGuiWidgetFb /* 802432E8 00240248 80 9F 01 94 */ lwz r4, 0x194(r31) /* 802432EC 0024024C 7F E3 FB 78 */ mr r3, r31 /* 802432F0 00240250 4B E2 DD F5 */ bl UpdateSideTable__16CPauseScreenBaseFP14CGuiTableGroup /* 802432F4 00240254 C0 1F 00 5C */ lfs f0, 0x5c(r31) /* 802432F8 00240258 38 81 00 08 */ addi r4, r1, 8 /* 802432FC 0024025C C0 5F 00 58 */ lfs f2, 0x58(r31) /* 80243300 00240260 C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 80243304 00240264 EC 60 F8 2A */ fadds f3, f0, f31 /* 80243308 00240268 C0 1F 00 54 */ lfs f0, 0x54(r31) /* 8024330C 0024026C EC 42 08 2A */ fadds f2, f2, f1 /* 80243310 00240270 EC 00 08 2A */ fadds f0, f0, f1 /* 80243314 00240274 D0 61 00 10 */ stfs f3, 0x10(r1) /* 80243318 00240278 D0 41 00 0C */ stfs f2, 0xc(r1) /* 8024331C 0024027C D0 01 00 08 */ stfs f0, 8(r1) /* 80243320 00240280 80 7F 01 94 */ lwz r3, 0x194(r31) /* 80243324 00240284 48 08 1E A5 */ bl SetLocalPosition__10CGuiObjectFRC9CVector3f lbl_80243328: /* 80243328 00240288 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 8024332C 0024028C 80 01 00 54 */ lwz r0, 0x54(r1) /* 80243330 00240290 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80243334 00240294 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80243338 00240298 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8024333C 0024029C 7C 08 03 A6 */ mtlr r0 /* 80243340 002402A0 38 21 00 50 */ addi r1, r1, 0x50 /* 80243344 002402A4 4E 80 00 20 */ blr .global ResetOptionWidgetVisibility__14COptionsScreenFv ResetOptionWidgetVisibility__14COptionsScreenFv: /* 80243348 002402A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024334C 002402AC 7C 08 02 A6 */ mflr r0 /* 80243350 002402B0 38 80 00 00 */ li r4, 0 /* 80243354 002402B4 90 01 00 14 */ stw r0, 0x14(r1) /* 80243358 002402B8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024335C 002402BC 7C 7F 1B 78 */ mr r31, r3 /* 80243360 002402C0 80 63 01 8C */ lwz r3, 0x18c(r3) /* 80243364 002402C4 48 08 72 81 */ bl SetIsActive__10CGuiWidgetFb /* 80243368 002402C8 80 7F 01 8C */ lwz r3, 0x18c(r31) /* 8024336C 002402CC 38 80 00 00 */ li r4, 0 /* 80243370 002402D0 38 A0 00 01 */ li r5, 1 /* 80243374 002402D4 48 08 73 75 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80243378 002402D8 80 7F 01 90 */ lwz r3, 0x190(r31) /* 8024337C 002402DC 38 80 00 00 */ li r4, 0 /* 80243380 002402E0 48 08 72 AD */ bl SetIsVisible__10CGuiWidgetFb /* 80243384 002402E4 80 7F 01 90 */ lwz r3, 0x190(r31) /* 80243388 002402E8 38 80 00 00 */ li r4, 0 /* 8024338C 002402EC 48 08 72 59 */ bl SetIsActive__10CGuiWidgetFb /* 80243390 002402F0 80 7F 01 94 */ lwz r3, 0x194(r31) /* 80243394 002402F4 38 80 00 00 */ li r4, 0 /* 80243398 002402F8 48 08 72 4D */ bl SetIsActive__10CGuiWidgetFb /* 8024339C 002402FC 80 7F 01 94 */ lwz r3, 0x194(r31) /* 802433A0 00240300 38 80 00 00 */ li r4, 0 /* 802433A4 00240304 48 08 72 89 */ bl SetIsVisible__10CGuiWidgetFb /* 802433A8 00240308 80 01 00 14 */ lwz r0, 0x14(r1) /* 802433AC 0024030C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802433B0 00240310 7C 08 03 A6 */ mtlr r0 /* 802433B4 00240314 38 21 00 10 */ addi r1, r1, 0x10 /* 802433B8 00240318 4E 80 00 20 */ blr .global RightTableSelectionChanged__14COptionsScreenFii RightTableSelectionChanged__14COptionsScreenFii: /* 802433BC 0024031C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802433C0 00240320 7C 08 02 A6 */ mflr r0 /* 802433C4 00240324 90 01 00 14 */ stw r0, 0x14(r1) /* 802433C8 00240328 4B FF FD 39 */ bl UpdateOptionView__14COptionsScreenFv /* 802433CC 0024032C 80 01 00 14 */ lwz r0, 0x14(r1) /* 802433D0 00240330 7C 08 03 A6 */ mtlr r0 /* 802433D4 00240334 38 21 00 10 */ addi r1, r1, 0x10 /* 802433D8 00240338 4E 80 00 20 */ blr .global ChangedMode__14COptionsScreenQ216CPauseScreenBase5EMode ChangedMode__14COptionsScreenQ216CPauseScreenBase5EMode: /* 802433DC 0024033C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802433E0 00240340 7C 08 02 A6 */ mflr r0 /* 802433E4 00240344 90 01 00 14 */ stw r0, 0x14(r1) /* 802433E8 00240348 93 E1 00 0C */ stw r31, 0xc(r1) /* 802433EC 0024034C 7C 7F 1B 78 */ mr r31, r3 /* 802433F0 00240350 80 03 00 10 */ lwz r0, 0x10(r3) /* 802433F4 00240354 2C 00 00 01 */ cmpwi r0, 1 /* 802433F8 00240358 40 82 00 2C */ bne lbl_80243424 /* 802433FC 0024035C 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80243400 00240360 38 80 00 01 */ li r4, 1 /* 80243404 00240364 48 08 72 29 */ bl SetIsVisible__10CGuiWidgetFb /* 80243408 00240368 7F E3 FB 78 */ mr r3, r31 /* 8024340C 0024036C 4B FF FC F5 */ bl UpdateOptionView__14COptionsScreenFv /* 80243410 00240370 88 1F 02 A0 */ lbz r0, 0x2a0(r31) /* 80243414 00240374 38 60 00 01 */ li r3, 1 /* 80243418 00240378 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8024341C 0024037C 98 1F 02 A0 */ stb r0, 0x2a0(r31) /* 80243420 00240380 48 00 00 14 */ b lbl_80243434 lbl_80243424: /* 80243424 00240384 88 1F 02 A0 */ lbz r0, 0x2a0(r31) /* 80243428 00240388 38 60 00 00 */ li r3, 0 /* 8024342C 0024038C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80243430 00240390 98 1F 02 A0 */ stb r0, 0x2a0(r31) lbl_80243434: /* 80243434 00240394 80 01 00 14 */ lwz r0, 0x14(r1) /* 80243438 00240398 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024343C 0024039C 7C 08 03 A6 */ mtlr r0 /* 80243440 002403A0 38 21 00 10 */ addi r1, r1, 0x10 /* 80243444 002403A4 4E 80 00 20 */ blr .global UpdateRightTable__14COptionsScreenFv UpdateRightTable__14COptionsScreenFv: /* 80243448 002403A8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8024344C 002403AC 7C 08 02 A6 */ mflr r0 /* 80243450 002403B0 90 01 00 54 */ stw r0, 0x54(r1) /* 80243454 002403B4 BF 41 00 38 */ stmw r26, 0x38(r1) /* 80243458 002403B8 7C 7A 1B 78 */ mr r26, r3 /* 8024345C 002403BC 4B E2 D9 71 */ bl UpdateRightTable__16CPauseScreenBaseFv /* 80243460 002403C0 80 9A 00 70 */ lwz r4, 0x70(r26) /* 80243464 002403C4 3C 60 80 3F */ lis r3, lbl_803E8720@ha /* 80243468 002403C8 38 03 87 20 */ addi r0, r3, lbl_803E8720@l /* 8024346C 002403CC 3B FA 00 DC */ addi r31, r26, 0xdc /* 80243470 002403D0 80 64 00 C4 */ lwz r3, 0xc4(r4) /* 80243474 002403D4 3B 80 00 00 */ li r28, 0 /* 80243478 002403D8 3B C0 00 00 */ li r30, 0 /* 8024347C 002403DC 54 63 18 38 */ slwi r3, r3, 3 /* 80243480 002403E0 7F A0 1A 14 */ add r29, r0, r3 lbl_80243484: /* 80243484 002403E4 80 1D 00 00 */ lwz r0, 0(r29) /* 80243488 002403E8 83 7F 00 00 */ lwz r27, 0(r31) /* 8024348C 002403EC 7C 1C 00 00 */ cmpw r28, r0 /* 80243490 002403F0 40 80 00 48 */ bge lbl_802434D8 /* 80243494 002403F4 80 9D 00 04 */ lwz r4, 4(r29) /* 80243498 002403F8 38 1E 00 04 */ addi r0, r30, 4 /* 8024349C 002403FC 80 7A 00 0C */ lwz r3, 0xc(r26) /* 802434A0 00240400 7C 84 00 2E */ lwzx r4, r4, r0 /* 802434A4 00240404 48 11 32 59 */ bl GetString__12CStringTableCFi /* 802434A8 00240408 7C 64 1B 78 */ mr r4, r3 /* 802434AC 0024040C 38 61 00 1C */ addi r3, r1, 0x1c /* 802434B0 00240410 38 C1 00 08 */ addi r6, r1, 8 /* 802434B4 00240414 38 A0 FF FF */ li r5, -1 /* 802434B8 00240418 48 0F A3 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 802434BC 0024041C 38 7B 00 D4 */ addi r3, r27, 0xd4 /* 802434C0 00240420 38 81 00 1C */ addi r4, r1, 0x1c /* 802434C4 00240424 38 A0 00 00 */ li r5, 0 /* 802434C8 00240428 48 08 63 BD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802434CC 0024042C 38 61 00 1C */ addi r3, r1, 0x1c /* 802434D0 00240430 48 0F 9C 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802434D4 00240434 48 00 00 28 */ b lbl_802434FC lbl_802434D8: /* 802434D8 00240438 38 61 00 0C */ addi r3, r1, 0xc /* 802434DC 0024043C 38 8D 96 DC */ addi r4, r13, lbl_805A829C@sda21 /* 802434E0 00240440 4B DD 25 11 */ bl wstring_l__4rstlFPCw /* 802434E4 00240444 38 7B 00 D4 */ addi r3, r27, 0xd4 /* 802434E8 00240448 38 81 00 0C */ addi r4, r1, 0xc /* 802434EC 0024044C 38 A0 00 00 */ li r5, 0 /* 802434F0 00240450 48 08 63 95 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802434F4 00240454 38 61 00 0C */ addi r3, r1, 0xc /* 802434F8 00240458 48 0F 9C 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_802434FC: /* 802434FC 0024045C 3B 9C 00 01 */ addi r28, r28, 1 /* 80243500 00240460 3B DE 00 18 */ addi r30, r30, 0x18 /* 80243504 00240464 2C 1C 00 05 */ cmpwi r28, 5 /* 80243508 00240468 3B FF 00 04 */ addi r31, r31, 4 /* 8024350C 0024046C 41 80 FF 78 */ blt lbl_80243484 /* 80243510 00240470 BB 41 00 38 */ lmw r26, 0x38(r1) /* 80243514 00240474 80 01 00 54 */ lwz r0, 0x54(r1) /* 80243518 00240478 7C 08 03 A6 */ mtlr r0 /* 8024351C 0024047C 38 21 00 50 */ addi r1, r1, 0x50 /* 80243520 00240480 4E 80 00 20 */ blr .global GetRightTableCount__14COptionsScreenCFv GetRightTableCount__14COptionsScreenCFv: /* 80243524 00240484 80 83 00 70 */ lwz r4, 0x70(r3) /* 80243528 00240488 3C 60 80 3F */ lis r3, lbl_803E8720@ha /* 8024352C 0024048C 38 63 87 20 */ addi r3, r3, lbl_803E8720@l /* 80243530 00240490 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 80243534 00240494 54 00 18 38 */ slwi r0, r0, 3 /* 80243538 00240498 7C 63 00 2E */ lwzx r3, r3, r0 /* 8024353C 0024049C 4E 80 00 20 */ blr .global ShouldLeftTableAdvance__14COptionsScreenFv ShouldLeftTableAdvance__14COptionsScreenFv: /* 80243540 002404A0 80 63 00 70 */ lwz r3, 0x70(r3) /* 80243544 002404A4 80 83 00 C4 */ lwz r4, 0xc4(r3) /* 80243548 002404A8 20 64 00 04 */ subfic r3, r4, 4 /* 8024354C 002404AC 38 04 FF FC */ addi r0, r4, -4 /* 80243550 002404B0 7C 60 03 78 */ or r0, r3, r0 /* 80243554 002404B4 54 03 0F FE */ srwi r3, r0, 0x1f /* 80243558 002404B8 4E 80 00 20 */ blr .global ShouldRightTableAdvance__14COptionsScreenFv ShouldRightTableAdvance__14COptionsScreenFv: /* 8024355C 002404BC 38 60 00 00 */ li r3, 0 /* 80243560 002404C0 4E 80 00 20 */ blr .global VActivate__14COptionsScreenFv VActivate__14COptionsScreenFv: /* 80243564 002404C4 94 21 FE D0 */ stwu r1, -0x130(r1) /* 80243568 002404C8 7C 08 02 A6 */ mflr r0 /* 8024356C 002404CC 90 01 01 34 */ stw r0, 0x134(r1) /* 80243570 002404D0 BF 61 01 1C */ stmw r27, 0x11c(r1) /* 80243574 002404D4 7C 7E 1B 78 */ mr r30, r3 /* 80243578 002404D8 3C 60 80 3F */ lis r3, lbl_803E8708@ha /* 8024357C 002404DC 3B 80 00 00 */ li r28, 0 /* 80243580 002404E0 3B E3 87 08 */ addi r31, r3, lbl_803E8708@l /* 80243584 002404E4 3B BE 00 AC */ addi r29, r30, 0xac lbl_80243588: /* 80243588 002404E8 83 7D 00 00 */ lwz r27, 0(r29) /* 8024358C 002404EC 38 9C 00 10 */ addi r4, r28, 0x10 /* 80243590 002404F0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80243594 002404F4 48 11 31 69 */ bl GetString__12CStringTableCFi /* 80243598 002404F8 7C 64 1B 78 */ mr r4, r3 /* 8024359C 002404FC 38 61 00 B8 */ addi r3, r1, 0xb8 /* 802435A0 00240500 38 C1 00 0C */ addi r6, r1, 0xc /* 802435A4 00240504 38 A0 FF FF */ li r5, -1 /* 802435A8 00240508 48 0F A2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 802435AC 0024050C 38 7B 00 D4 */ addi r3, r27, 0xd4 /* 802435B0 00240510 38 81 00 B8 */ addi r4, r1, 0xb8 /* 802435B4 00240514 38 A0 00 00 */ li r5, 0 /* 802435B8 00240518 48 08 62 CD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802435BC 0024051C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 802435C0 00240520 48 0F 9B 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802435C4 00240524 3B 9C 00 01 */ addi r28, r28, 1 /* 802435C8 00240528 3B BD 00 04 */ addi r29, r29, 4 /* 802435CC 0024052C 2C 1C 00 05 */ cmpwi r28, 5 /* 802435D0 00240530 41 80 FF B8 */ blt lbl_80243588 /* 802435D4 00240534 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802435D8 00240538 38 80 00 0F */ li r4, 0xf /* 802435DC 0024053C 48 11 31 21 */ bl GetString__12CStringTableCFi /* 802435E0 00240540 7C 64 1B 78 */ mr r4, r3 /* 802435E4 00240544 38 61 00 A8 */ addi r3, r1, 0xa8 /* 802435E8 00240548 38 C1 00 08 */ addi r6, r1, 8 /* 802435EC 0024054C 38 A0 FF FF */ li r5, -1 /* 802435F0 00240550 48 0F A1 CD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 802435F4 00240554 80 7E 01 78 */ lwz r3, 0x178(r30) /* 802435F8 00240558 38 81 00 A8 */ addi r4, r1, 0xa8 /* 802435FC 0024055C 38 A0 00 00 */ li r5, 0 /* 80243600 00240560 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80243604 00240564 48 08 62 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80243608 00240568 38 61 00 A8 */ addi r3, r1, 0xa8 /* 8024360C 0024056C 48 0F 9B 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80243610 00240570 3B 60 00 05 */ li r27, 5 /* 80243614 00240574 3B A0 00 00 */ li r29, 0 /* 80243618 00240578 48 00 00 2C */ b lbl_80243644 lbl_8024361C: /* 8024361C 0024057C 80 7E 00 70 */ lwz r3, 0x70(r30) /* 80243620 00240580 7F 64 DB 78 */ mr r4, r27 /* 80243624 00240584 81 83 00 00 */ lwz r12, 0(r3) /* 80243628 00240588 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 8024362C 0024058C 7D 89 03 A6 */ mtctr r12 /* 80243630 00240590 4E 80 04 21 */ bctrl /* 80243634 00240594 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80243638 00240598 53 A0 26 F6 */ rlwimi r0, r29, 4, 0x1b, 0x1b /* 8024363C 0024059C 3B 7B 00 01 */ addi r27, r27, 1 /* 80243640 002405A0 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_80243644: /* 80243644 002405A4 2C 1B 00 05 */ cmpwi r27, 5 /* 80243648 002405A8 41 80 FF D4 */ blt lbl_8024361C /* 8024364C 002405AC 80 7E 01 74 */ lwz r3, 0x174(r30) /* 80243650 002405B0 38 80 00 01 */ li r4, 1 /* 80243654 002405B4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80243658 002405B8 48 08 60 91 */ bl SetJustification__15CGuiTextSupportF14EJustification /* 8024365C 002405BC 80 7E 01 74 */ lwz r3, 0x174(r30) /* 80243660 002405C0 38 80 00 02 */ li r4, 2 /* 80243664 002405C4 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80243668 002405C8 48 08 60 51 */ bl SetVerticalJustification__15CGuiTextSupportF22EVerticalJustification /* 8024366C 002405CC 80 7E 01 90 */ lwz r3, 0x190(r30) /* 80243670 002405D0 38 80 00 00 */ li r4, 0 /* 80243674 002405D4 81 83 00 00 */ lwz r12, 0(r3) /* 80243678 002405D8 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 8024367C 002405DC 7D 89 03 A6 */ mtctr r12 /* 80243680 002405E0 4E 80 04 21 */ bctrl /* 80243684 002405E4 7C 7D 1B 78 */ mr r29, r3 /* 80243688 002405E8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8024368C 002405EC 38 80 00 5F */ li r4, 0x5f /* 80243690 002405F0 48 11 30 6D */ bl GetString__12CStringTableCFi /* 80243694 002405F4 7C 64 1B 78 */ mr r4, r3 /* 80243698 002405F8 38 61 00 98 */ addi r3, r1, 0x98 /* 8024369C 002405FC 4B DD 23 55 */ bl wstring_l__4rstlFPCw /* 802436A0 00240600 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 802436A4 00240604 38 81 00 98 */ addi r4, r1, 0x98 /* 802436A8 00240608 38 A0 00 00 */ li r5, 0 /* 802436AC 0024060C 48 08 61 D9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802436B0 00240610 38 61 00 98 */ addi r3, r1, 0x98 /* 802436B4 00240614 48 0F 9A 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802436B8 00240618 80 7E 01 90 */ lwz r3, 0x190(r30) /* 802436BC 0024061C 38 80 00 01 */ li r4, 1 /* 802436C0 00240620 81 83 00 00 */ lwz r12, 0(r3) /* 802436C4 00240624 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 802436C8 00240628 7D 89 03 A6 */ mtctr r12 /* 802436CC 0024062C 4E 80 04 21 */ bctrl /* 802436D0 00240630 7C 7D 1B 78 */ mr r29, r3 /* 802436D4 00240634 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802436D8 00240638 38 80 00 5E */ li r4, 0x5e /* 802436DC 0024063C 48 11 30 21 */ bl GetString__12CStringTableCFi /* 802436E0 00240640 7C 64 1B 78 */ mr r4, r3 /* 802436E4 00240644 38 61 00 88 */ addi r3, r1, 0x88 /* 802436E8 00240648 4B DD 23 09 */ bl wstring_l__4rstlFPCw /* 802436EC 0024064C 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 802436F0 00240650 38 81 00 88 */ addi r4, r1, 0x88 /* 802436F4 00240654 38 A0 00 00 */ li r5, 0 /* 802436F8 00240658 48 08 61 8D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802436FC 0024065C 38 61 00 88 */ addi r3, r1, 0x88 /* 80243700 00240660 48 0F 9A 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80243704 00240664 80 7E 01 94 */ lwz r3, 0x194(r30) /* 80243708 00240668 38 80 00 00 */ li r4, 0 /* 8024370C 0024066C 81 83 00 00 */ lwz r12, 0(r3) /* 80243710 00240670 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80243714 00240674 7D 89 03 A6 */ mtctr r12 /* 80243718 00240678 4E 80 04 21 */ bctrl /* 8024371C 0024067C 7C 7D 1B 78 */ mr r29, r3 /* 80243720 00240680 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80243724 00240684 38 80 00 60 */ li r4, 0x60 /* 80243728 00240688 48 11 2F D5 */ bl GetString__12CStringTableCFi /* 8024372C 0024068C 7C 64 1B 78 */ mr r4, r3 /* 80243730 00240690 38 61 00 78 */ addi r3, r1, 0x78 /* 80243734 00240694 4B DD 22 BD */ bl wstring_l__4rstlFPCw /* 80243738 00240698 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 8024373C 0024069C 38 81 00 78 */ addi r4, r1, 0x78 /* 80243740 002406A0 38 A0 00 00 */ li r5, 0 /* 80243744 002406A4 48 08 61 41 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80243748 002406A8 38 61 00 78 */ addi r3, r1, 0x78 /* 8024374C 002406AC 48 0F 99 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80243750 002406B0 80 7E 01 94 */ lwz r3, 0x194(r30) /* 80243754 002406B4 38 80 00 01 */ li r4, 1 /* 80243758 002406B8 81 83 00 00 */ lwz r12, 0(r3) /* 8024375C 002406BC 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80243760 002406C0 7D 89 03 A6 */ mtctr r12 /* 80243764 002406C4 4E 80 04 21 */ bctrl /* 80243768 002406C8 7C 7D 1B 78 */ mr r29, r3 /* 8024376C 002406CC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80243770 002406D0 38 80 00 61 */ li r4, 0x61 /* 80243774 002406D4 48 11 2F 89 */ bl GetString__12CStringTableCFi /* 80243778 002406D8 7C 64 1B 78 */ mr r4, r3 /* 8024377C 002406DC 38 61 00 68 */ addi r3, r1, 0x68 /* 80243780 002406E0 4B DD 22 71 */ bl wstring_l__4rstlFPCw /* 80243784 002406E4 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 80243788 002406E8 38 81 00 68 */ addi r4, r1, 0x68 /* 8024378C 002406EC 38 A0 00 00 */ li r5, 0 /* 80243790 002406F0 48 08 60 F5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80243794 002406F4 38 61 00 68 */ addi r3, r1, 0x68 /* 80243798 002406F8 48 0F 99 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024379C 002406FC 80 7E 01 94 */ lwz r3, 0x194(r30) /* 802437A0 00240700 38 80 00 02 */ li r4, 2 /* 802437A4 00240704 81 83 00 00 */ lwz r12, 0(r3) /* 802437A8 00240708 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 802437AC 0024070C 7D 89 03 A6 */ mtctr r12 /* 802437B0 00240710 4E 80 04 21 */ bctrl /* 802437B4 00240714 7C 7D 1B 78 */ mr r29, r3 /* 802437B8 00240718 80 7E 00 0C */ lwz r3, 0xc(r30) /* 802437BC 0024071C 38 80 00 62 */ li r4, 0x62 /* 802437C0 00240720 48 11 2F 3D */ bl GetString__12CStringTableCFi /* 802437C4 00240724 7C 64 1B 78 */ mr r4, r3 /* 802437C8 00240728 38 61 00 58 */ addi r3, r1, 0x58 /* 802437CC 0024072C 4B DD 22 25 */ bl wstring_l__4rstlFPCw /* 802437D0 00240730 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 802437D4 00240734 38 81 00 58 */ addi r4, r1, 0x58 /* 802437D8 00240738 38 A0 00 00 */ li r5, 0 /* 802437DC 0024073C 48 08 60 A9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802437E0 00240740 38 61 00 58 */ addi r3, r1, 0x58 /* 802437E4 00240744 48 0F 99 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802437E8 00240748 80 FF 00 40 */ lwz r7, 0x40(r31) /* 802437EC 0024074C 38 61 00 28 */ addi r3, r1, 0x28 /* 802437F0 00240750 80 DF 00 44 */ lwz r6, 0x44(r31) /* 802437F4 00240754 38 81 00 4C */ addi r4, r1, 0x4c /* 802437F8 00240758 80 1F 00 48 */ lwz r0, 0x48(r31) /* 802437FC 0024075C 38 A0 00 0C */ li r5, 0xc /* 80243800 00240760 90 E1 00 4C */ stw r7, 0x4c(r1) /* 80243804 00240764 90 C1 00 50 */ stw r6, 0x50(r1) /* 80243808 00240768 90 01 00 54 */ stw r0, 0x54(r1) /* 8024380C 0024076C 4B DB FC 85 */ bl memcpy /* 80243810 00240770 3C 60 80 24 */ lis r3, sub_8024395c@ha /* 80243814 00240774 93 C1 00 FC */ stw r30, 0xfc(r1) /* 80243818 00240778 38 03 39 5C */ addi r0, r3, sub_8024395c@l /* 8024381C 0024077C 38 61 01 00 */ addi r3, r1, 0x100 /* 80243820 00240780 90 01 00 F8 */ stw r0, 0xf8(r1) /* 80243824 00240784 38 81 00 28 */ addi r4, r1, 0x28 /* 80243828 00240788 38 A0 00 0C */ li r5, 0xc /* 8024382C 0024078C 4B DB FC 65 */ bl memcpy /* 80243830 00240790 80 7E 01 8C */ lwz r3, 0x18c(r30) /* 80243834 00240794 38 81 00 F8 */ addi r4, r1, 0xf8 /* 80243838 00240798 48 08 24 29 */ bl "SetSelectionChangedCallback__15CGuiSliderGroupFRC33TFunctor2" /* 8024383C 0024079C 80 FF 00 4C */ lwz r7, 0x4c(r31) /* 80243840 002407A0 38 61 00 1C */ addi r3, r1, 0x1c /* 80243844 002407A4 80 DF 00 50 */ lwz r6, 0x50(r31) /* 80243848 002407A8 38 81 00 40 */ addi r4, r1, 0x40 /* 8024384C 002407AC 80 1F 00 54 */ lwz r0, 0x54(r31) /* 80243850 002407B0 38 A0 00 0C */ li r5, 0xc /* 80243854 002407B4 90 E1 00 40 */ stw r7, 0x40(r1) /* 80243858 002407B8 90 C1 00 44 */ stw r6, 0x44(r1) /* 8024385C 002407BC 90 01 00 48 */ stw r0, 0x48(r1) /* 80243860 002407C0 4B DB FC 31 */ bl memcpy /* 80243864 002407C4 3C 60 80 24 */ lis r3, sub_802438f8@ha /* 80243868 002407C8 93 C1 00 E4 */ stw r30, 0xe4(r1) /* 8024386C 002407CC 38 03 38 F8 */ addi r0, r3, sub_802438f8@l /* 80243870 002407D0 38 61 00 E8 */ addi r3, r1, 0xe8 /* 80243874 002407D4 90 01 00 E0 */ stw r0, 0xe0(r1) /* 80243878 002407D8 38 81 00 1C */ addi r4, r1, 0x1c /* 8024387C 002407DC 38 A0 00 0C */ li r5, 0xc /* 80243880 002407E0 4B DB FC 11 */ bl memcpy /* 80243884 002407E4 80 7E 01 90 */ lwz r3, 0x190(r30) /* 80243888 002407E8 38 81 00 E0 */ addi r4, r1, 0xe0 /* 8024388C 002407EC 48 08 2F 65 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 80243890 002407F0 80 FF 00 58 */ lwz r7, 0x58(r31) /* 80243894 002407F4 38 61 00 10 */ addi r3, r1, 0x10 /* 80243898 002407F8 80 DF 00 5C */ lwz r6, 0x5c(r31) /* 8024389C 002407FC 38 81 00 34 */ addi r4, r1, 0x34 /* 802438A0 00240800 80 1F 00 60 */ lwz r0, 0x60(r31) /* 802438A4 00240804 38 A0 00 0C */ li r5, 0xc /* 802438A8 00240808 90 E1 00 34 */ stw r7, 0x34(r1) /* 802438AC 0024080C 90 C1 00 38 */ stw r6, 0x38(r1) /* 802438B0 00240810 90 01 00 3C */ stw r0, 0x3c(r1) /* 802438B4 00240814 4B DB FB DD */ bl memcpy /* 802438B8 00240818 3C 60 80 24 */ lis r3, sub_802438f8@ha /* 802438BC 0024081C 93 C1 00 CC */ stw r30, 0xcc(r1) /* 802438C0 00240820 38 03 38 F8 */ addi r0, r3, sub_802438f8@l /* 802438C4 00240824 38 61 00 D0 */ addi r3, r1, 0xd0 /* 802438C8 00240828 90 01 00 C8 */ stw r0, 0xc8(r1) /* 802438CC 0024082C 38 81 00 10 */ addi r4, r1, 0x10 /* 802438D0 00240830 38 A0 00 0C */ li r5, 0xc /* 802438D4 00240834 4B DB FB BD */ bl memcpy /* 802438D8 00240838 80 7E 01 94 */ lwz r3, 0x194(r30) /* 802438DC 0024083C 38 81 00 C8 */ addi r4, r1, 0xc8 /* 802438E0 00240840 48 08 2F 11 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 802438E4 00240844 BB 61 01 1C */ lmw r27, 0x11c(r1) /* 802438E8 00240848 80 01 01 34 */ lwz r0, 0x134(r1) /* 802438EC 0024084C 7C 08 03 A6 */ mtlr r0 /* 802438F0 00240850 38 21 01 30 */ addi r1, r1, 0x130 /* 802438F4 00240854 4E 80 00 20 */ blr .global sub_802438f8 sub_802438f8: /* 802438F8 00240858 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802438FC 0024085C 7C 08 02 A6 */ mflr r0 /* 80243900 00240860 90 01 00 34 */ stw r0, 0x34(r1) /* 80243904 00240864 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80243908 00240868 7C DF 33 78 */ mr r31, r6 /* 8024390C 0024086C 93 C1 00 28 */ stw r30, 0x28(r1) /* 80243910 00240870 7C BE 2B 78 */ mr r30, r5 /* 80243914 00240874 38 A0 00 0C */ li r5, 0xc /* 80243918 00240878 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024391C 0024087C 7C 7D 1B 78 */ mr r29, r3 /* 80243920 00240880 38 61 00 08 */ addi r3, r1, 8 /* 80243924 00240884 4B DB FB 6D */ bl memcpy /* 80243928 00240888 7F A3 EB 78 */ mr r3, r29 /* 8024392C 0024088C 7F C4 F3 78 */ mr r4, r30 /* 80243930 00240890 7F E5 FB 78 */ mr r5, r31 /* 80243934 00240894 39 81 00 08 */ addi r12, r1, 8 /* 80243938 00240898 48 14 5F F5 */ bl __ptmf_scall /* 8024393C 0024089C 60 00 00 00 */ nop /* 80243940 002408A0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80243944 002408A4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80243948 002408A8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024394C 002408AC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80243950 002408B0 7C 08 03 A6 */ mtlr r0 /* 80243954 002408B4 38 21 00 30 */ addi r1, r1, 0x30 /* 80243958 002408B8 4E 80 00 20 */ blr .global sub_8024395c sub_8024395c: /* 8024395C 002408BC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80243960 002408C0 7C 08 02 A6 */ mflr r0 /* 80243964 002408C4 90 01 00 34 */ stw r0, 0x34(r1) /* 80243968 002408C8 DB E1 00 28 */ stfd f31, 0x28(r1) /* 8024396C 002408CC FF E0 08 90 */ fmr f31, f1 /* 80243970 002408D0 93 E1 00 24 */ stw r31, 0x24(r1) /* 80243974 002408D4 7C BF 2B 78 */ mr r31, r5 /* 80243978 002408D8 38 A0 00 0C */ li r5, 0xc /* 8024397C 002408DC 93 C1 00 20 */ stw r30, 0x20(r1) /* 80243980 002408E0 7C 7E 1B 78 */ mr r30, r3 /* 80243984 002408E4 38 61 00 08 */ addi r3, r1, 8 /* 80243988 002408E8 4B DB FB 09 */ bl memcpy /* 8024398C 002408EC FC 20 F8 90 */ fmr f1, f31 /* 80243990 002408F0 7F C3 F3 78 */ mr r3, r30 /* 80243994 002408F4 7F E4 FB 78 */ mr r4, r31 /* 80243998 002408F8 39 81 00 08 */ addi r12, r1, 8 /* 8024399C 002408FC 48 14 5F 91 */ bl __ptmf_scall /* 802439A0 00240900 60 00 00 00 */ nop /* 802439A4 00240904 80 01 00 34 */ lwz r0, 0x34(r1) /* 802439A8 00240908 CB E1 00 28 */ lfd f31, 0x28(r1) /* 802439AC 0024090C 83 E1 00 24 */ lwz r31, 0x24(r1) /* 802439B0 00240910 83 C1 00 20 */ lwz r30, 0x20(r1) /* 802439B4 00240914 7C 08 03 A6 */ mtlr r0 /* 802439B8 00240918 38 21 00 30 */ addi r1, r1, 0x30 /* 802439BC 0024091C 4E 80 00 20 */ blr .global Draw__14COptionsScreenCFfff Draw__14COptionsScreenCFfff: /* 802439C0 00240920 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802439C4 00240924 7C 08 02 A6 */ mflr r0 /* 802439C8 00240928 90 01 00 24 */ stw r0, 0x24(r1) /* 802439CC 0024092C DB E1 00 10 */ stfd f31, 0x10(r1) /* 802439D0 00240930 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 802439D4 00240934 93 E1 00 0C */ stw r31, 0xc(r1) /* 802439D8 00240938 7C 7F 1B 78 */ mr r31, r3 /* 802439DC 0024093C FF E0 08 90 */ fmr f31, f1 /* 802439E0 00240940 4B E2 D9 B1 */ bl Draw__16CPauseScreenBaseCFfff /* 802439E4 00240944 C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2) /* 802439E8 00240948 C0 1F 02 9C */ lfs f0, 0x29c(r31) /* 802439EC 0024094C 80 7F 01 A0 */ lwz r3, 0x1a0(r31) /* 802439F0 00240950 EC 01 00 28 */ fsubs f0, f1, f0 /* 802439F4 00240954 EC 3F 00 32 */ fmuls f1, f31, f0 /* 802439F8 00240958 48 05 AC 4D */ bl Draw__13CGameCubeDollFf /* 802439FC 0024095C 80 1F 01 9C */ lwz r0, 0x19c(r31) /* 80243A00 00240960 28 00 00 00 */ cmplwi r0, 0 /* 80243A04 00240964 41 82 00 24 */ beq lbl_80243A28 /* 80243A08 00240968 C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 80243A0C 0024096C C0 42 B8 20 */ lfs f2, lbl_805AD540@sda21(r2) /* 80243A10 00240970 48 0C 69 D1 */ bl SetDepthRange__9CGraphicsFff /* 80243A14 00240974 80 7F 01 9C */ lwz r3, 0x19c(r31) /* 80243A18 00240978 48 00 0F A5 */ bl Draw__15CQuitGameScreenFv /* 80243A1C 0024097C C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 80243A20 00240980 C0 42 B8 14 */ lfs f2, lbl_805AD534@sda21(r2) /* 80243A24 00240984 48 0C 69 BD */ bl SetDepthRange__9CGraphicsFff lbl_80243A28: /* 80243A28 00240988 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 80243A2C 0024098C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80243A30 00240990 CB E1 00 10 */ lfd f31, 0x10(r1) /* 80243A34 00240994 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80243A38 00240998 7C 08 03 A6 */ mtlr r0 /* 80243A3C 0024099C 38 21 00 20 */ addi r1, r1, 0x20 /* 80243A40 002409A0 4E 80 00 20 */ blr .global ProcessInput__14COptionsScreenFRC11CFinalInput ProcessInput__14COptionsScreenFRC11CFinalInput: /* 80243A44 002409A4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80243A48 002409A8 7C 08 02 A6 */ mflr r0 /* 80243A4C 002409AC 90 01 00 24 */ stw r0, 0x24(r1) /* 80243A50 002409B0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80243A54 002409B4 93 C1 00 18 */ stw r30, 0x18(r1) /* 80243A58 002409B8 7C 9E 23 78 */ mr r30, r4 /* 80243A5C 002409BC 93 A1 00 14 */ stw r29, 0x14(r1) /* 80243A60 002409C0 7C 7D 1B 78 */ mr r29, r3 /* 80243A64 002409C4 80 03 01 9C */ lwz r0, 0x19c(r3) /* 80243A68 002409C8 28 00 00 00 */ cmplwi r0, 0 /* 80243A6C 002409CC 40 82 00 A0 */ bne lbl_80243B0C /* 80243A70 002409D0 4B E2 D8 ED */ bl ProcessInput__16CPauseScreenBaseFRC11CFinalInput /* 80243A74 002409D4 80 9D 00 70 */ lwz r4, 0x70(r29) /* 80243A78 002409D8 7F C3 F3 78 */ mr r3, r30 /* 80243A7C 002409DC 80 BD 00 1C */ lwz r5, 0x1c(r29) /* 80243A80 002409E0 38 C0 00 00 */ li r6, 0 /* 80243A84 002409E4 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 80243A88 002409E8 48 00 05 41 */ bl TryRestoreDefaults__12CGameOptionsFRC11CFinalInputiib /* 80243A8C 002409EC 80 7D 00 70 */ lwz r3, 0x70(r29) /* 80243A90 002409F0 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 80243A94 002409F4 2C 00 00 04 */ cmpwi r0, 4 /* 80243A98 002409F8 40 82 00 7C */ bne lbl_80243B14 /* 80243A9C 002409FC 88 1E 00 2D */ lbz r0, 0x2d(r30) /* 80243AA0 00240A00 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80243AA4 00240A04 41 82 00 70 */ beq lbl_80243B14 /* 80243AA8 00240A08 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80243AAC 00240A0C 38 60 00 1C */ li r3, 0x1c /* 80243AB0 00240A10 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80243AB4 00240A14 38 A0 00 00 */ li r5, 0 /* 80243AB8 00240A18 38 84 01 30 */ addi r4, r4, 0x130 /* 80243ABC 00240A1C 48 0D 1D B1 */ bl __nw__FUlPCcPCc /* 80243AC0 00240A20 7C 7E 1B 79 */ or. r30, r3, r3 /* 80243AC4 00240A24 41 82 00 10 */ beq lbl_80243AD4 /* 80243AC8 00240A28 38 80 00 00 */ li r4, 0 /* 80243ACC 00240A2C 48 00 10 45 */ bl __ct__15CQuitGameScreenF9EQuitType /* 80243AD0 00240A30 7C 7E 1B 78 */ mr r30, r3 lbl_80243AD4: /* 80243AD4 00240A34 83 FD 01 9C */ lwz r31, 0x19c(r29) /* 80243AD8 00240A38 28 1F 00 00 */ cmplwi r31, 0 /* 80243ADC 00240A3C 41 82 00 28 */ beq lbl_80243B04 /* 80243AE0 00240A40 34 1F 00 04 */ addic. r0, r31, 4 /* 80243AE4 00240A44 41 82 00 18 */ beq lbl_80243AFC /* 80243AE8 00240A48 34 1F 00 04 */ addic. r0, r31, 4 /* 80243AEC 00240A4C 41 82 00 10 */ beq lbl_80243AFC /* 80243AF0 00240A50 38 7F 00 04 */ addi r3, r31, 4 /* 80243AF4 00240A54 38 80 00 00 */ li r4, 0 /* 80243AF8 00240A58 48 0F D3 49 */ bl __dt__6CTokenFv lbl_80243AFC: /* 80243AFC 00240A5C 7F E3 FB 78 */ mr r3, r31 /* 80243B00 00240A60 48 0D 1E 31 */ bl Free__7CMemoryFPCv lbl_80243B04: /* 80243B04 00240A64 93 DD 01 9C */ stw r30, 0x19c(r29) /* 80243B08 00240A68 48 00 00 0C */ b lbl_80243B14 lbl_80243B0C: /* 80243B0C 00240A6C 7C 03 03 78 */ mr r3, r0 /* 80243B10 00240A70 48 00 0F 91 */ bl ProcessUserInput__15CQuitGameScreenFRC11CFinalInput lbl_80243B14: /* 80243B14 00240A74 80 01 00 24 */ lwz r0, 0x24(r1) /* 80243B18 00240A78 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80243B1C 00240A7C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80243B20 00240A80 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80243B24 00240A84 7C 08 03 A6 */ mtlr r0 /* 80243B28 00240A88 38 21 00 20 */ addi r1, r1, 0x20 /* 80243B2C 00240A8C 4E 80 00 20 */ blr .global Touch__14COptionsScreenFv Touch__14COptionsScreenFv: /* 80243B30 00240A90 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80243B34 00240A94 7C 08 02 A6 */ mflr r0 /* 80243B38 00240A98 90 01 00 14 */ stw r0, 0x14(r1) /* 80243B3C 00240A9C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80243B40 00240AA0 7C 7F 1B 78 */ mr r31, r3 /* 80243B44 00240AA4 4B E2 D9 59 */ bl Touch__16CPauseScreenBaseFv /* 80243B48 00240AA8 80 7F 01 A0 */ lwz r3, 0x1a0(r31) /* 80243B4C 00240AAC 48 05 AD 01 */ bl Touch__13CGameCubeDollFv /* 80243B50 00240AB0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80243B54 00240AB4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80243B58 00240AB8 7C 08 03 A6 */ mtlr r0 /* 80243B5C 00240ABC 38 21 00 10 */ addi r1, r1, 0x10 /* 80243B60 00240AC0 4E 80 00 20 */ blr .global Update__14COptionsScreenFfR9CRandom16R18CArchitectureQueue Update__14COptionsScreenFfR9CRandom16R18CArchitectureQueue: /* 80243B64 00240AC4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 80243B68 00240AC8 7C 08 02 A6 */ mflr r0 /* 80243B6C 00240ACC 90 01 00 74 */ stw r0, 0x74(r1) /* 80243B70 00240AD0 DB E1 00 60 */ stfd f31, 0x60(r1) /* 80243B74 00240AD4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 80243B78 00240AD8 DB C1 00 50 */ stfd f30, 0x50(r1) /* 80243B7C 00240ADC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 80243B80 00240AE0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80243B84 00240AE4 93 C1 00 48 */ stw r30, 0x48(r1) /* 80243B88 00240AE8 93 A1 00 44 */ stw r29, 0x44(r1) /* 80243B8C 00240AEC FF C0 08 90 */ fmr f30, f1 /* 80243B90 00240AF0 7C 7E 1B 78 */ mr r30, r3 /* 80243B94 00240AF4 7C 9D 23 78 */ mr r29, r4 /* 80243B98 00240AF8 7C BF 2B 78 */ mr r31, r5 /* 80243B9C 00240AFC 38 7E 01 A8 */ addi r3, r30, 0x1a8 /* 80243BA0 00240B00 48 12 62 41 */ bl Update__16CRumbleGeneratorFf /* 80243BA4 00240B04 FC 20 F0 90 */ fmr f1, f30 /* 80243BA8 00240B08 7F C3 F3 78 */ mr r3, r30 /* 80243BAC 00240B0C 7F A4 EB 78 */ mr r4, r29 /* 80243BB0 00240B10 7F E5 FB 78 */ mr r5, r31 /* 80243BB4 00240B14 4B E2 D8 ED */ bl Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue /* 80243BB8 00240B18 80 9E 01 8C */ lwz r4, 0x18c(r30) /* 80243BBC 00240B1C 80 7E 01 A4 */ lwz r3, 0x1a4(r30) /* 80243BC0 00240B20 80 A4 00 F0 */ lwz r5, 0xf0(r4) /* 80243BC4 00240B24 7C 03 00 D0 */ neg r0, r3 /* 80243BC8 00240B28 7C 85 00 D0 */ neg r4, r5 /* 80243BCC 00240B2C 7C 84 2B 78 */ or r4, r4, r5 /* 80243BD0 00240B30 7C 00 1B 78 */ or r0, r0, r3 /* 80243BD4 00240B34 54 83 0F FE */ srwi r3, r4, 0x1f /* 80243BD8 00240B38 54 00 0F FE */ srwi r0, r0, 0x1f /* 80243BDC 00240B3C 7C 03 00 40 */ cmplw r3, r0 /* 80243BE0 00240B40 41 82 00 54 */ beq lbl_80243C34 /* 80243BE4 00240B44 28 03 00 00 */ cmplwi r3, 0 /* 80243BE8 00240B48 41 82 00 34 */ beq lbl_80243C1C /* 80243BEC 00240B4C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80243BF0 00240B50 38 61 00 20 */ addi r3, r1, 0x20 /* 80243BF4 00240B54 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80243BF8 00240B58 38 80 05 AB */ li r4, 0x5ab /* 80243BFC 00240B5C 38 A0 00 7F */ li r5, 0x7f /* 80243C00 00240B60 38 C0 00 40 */ li r6, 0x40 /* 80243C04 00240B64 38 E0 00 00 */ li r7, 0 /* 80243C08 00240B68 39 20 00 00 */ li r9, 0 /* 80243C0C 00240B6C 48 0A 61 69 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80243C10 00240B70 80 01 00 20 */ lwz r0, 0x20(r1) /* 80243C14 00240B74 90 1E 01 A4 */ stw r0, 0x1a4(r30) /* 80243C18 00240B78 48 00 00 1C */ b lbl_80243C34 lbl_80243C1C: /* 80243C1C 00240B7C 80 1E 01 A4 */ lwz r0, 0x1a4(r30) /* 80243C20 00240B80 38 61 00 1C */ addi r3, r1, 0x1c /* 80243C24 00240B84 90 01 00 1C */ stw r0, 0x1c(r1) /* 80243C28 00240B88 48 0A 61 21 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80243C2C 00240B8C 38 00 00 00 */ li r0, 0 /* 80243C30 00240B90 90 1E 01 A4 */ stw r0, 0x1a4(r30) lbl_80243C34: /* 80243C34 00240B94 88 1E 02 A0 */ lbz r0, 0x2a0(r30) /* 80243C38 00240B98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80243C3C 00240B9C 41 82 00 38 */ beq lbl_80243C74 /* 80243C40 00240BA0 C0 42 B8 24 */ lfs f2, lbl_805AD544@sda21(r2) /* 80243C44 00240BA4 C0 3E 02 9C */ lfs f1, 0x29c(r30) /* 80243C48 00240BA8 C0 0D 96 D0 */ lfs f0, lbl_805A8290@sda21(r13) /* 80243C4C 00240BAC EC 22 0F BA */ fmadds f1, f2, f30, f1 /* 80243C50 00240BB0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80243C54 00240BB4 D0 21 00 18 */ stfs f1, 0x18(r1) /* 80243C58 00240BB8 40 80 00 0C */ bge lbl_80243C64 /* 80243C5C 00240BBC 38 61 00 18 */ addi r3, r1, 0x18 /* 80243C60 00240BC0 48 00 00 08 */ b lbl_80243C68 lbl_80243C64: /* 80243C64 00240BC4 38 6D 96 D0 */ addi r3, r13, lbl_805A8290@sda21 lbl_80243C68: /* 80243C68 00240BC8 C0 03 00 00 */ lfs f0, 0(r3) /* 80243C6C 00240BCC D0 1E 02 9C */ stfs f0, 0x29c(r30) /* 80243C70 00240BD0 48 00 00 34 */ b lbl_80243CA4 lbl_80243C74: /* 80243C74 00240BD4 C0 42 B8 24 */ lfs f2, lbl_805AD544@sda21(r2) /* 80243C78 00240BD8 C0 3E 02 9C */ lfs f1, 0x29c(r30) /* 80243C7C 00240BDC C0 0D 96 D4 */ lfs f0, lbl_805A8294@sda21(r13) /* 80243C80 00240BE0 EC 22 0F BC */ fnmsubs f1, f2, f30, f1 /* 80243C84 00240BE4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80243C88 00240BE8 D0 21 00 14 */ stfs f1, 0x14(r1) /* 80243C8C 00240BEC 40 80 00 0C */ bge lbl_80243C98 /* 80243C90 00240BF0 38 61 00 14 */ addi r3, r1, 0x14 /* 80243C94 00240BF4 48 00 00 08 */ b lbl_80243C9C lbl_80243C98: /* 80243C98 00240BF8 38 6D 96 D4 */ addi r3, r13, lbl_805A8294@sda21 lbl_80243C9C: /* 80243C9C 00240BFC C0 03 00 00 */ lfs f0, 0(r3) /* 80243CA0 00240C00 D0 1E 02 9C */ stfs f0, 0x29c(r30) lbl_80243CA4: /* 80243CA4 00240C04 C0 5E 02 9C */ lfs f2, 0x29c(r30) /* 80243CA8 00240C08 C0 22 B8 10 */ lfs f1, lbl_805AD530@sda21(r2) /* 80243CAC 00240C0C C0 02 B8 28 */ lfs f0, lbl_805AD548@sda21(r2) /* 80243CB0 00240C10 EC 22 08 28 */ fsubs f1, f2, f1 /* 80243CB4 00240C14 FC 20 0A 10 */ fabs f1, f1 /* 80243CB8 00240C18 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80243CBC 00240C1C 40 80 00 18 */ bge lbl_80243CD4 /* 80243CC0 00240C20 7F C3 F3 78 */ mr r3, r30 /* 80243CC4 00240C24 4B FF F6 85 */ bl ResetOptionWidgetVisibility__14COptionsScreenFv /* 80243CC8 00240C28 80 7E 01 74 */ lwz r3, 0x174(r30) /* 80243CCC 00240C2C 38 80 00 00 */ li r4, 0 /* 80243CD0 00240C30 48 08 69 5D */ bl SetIsVisible__10CGuiWidgetFb lbl_80243CD4: /* 80243CD4 00240C34 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) /* 80243CD8 00240C38 3C 00 43 30 */ lis r0, 0x4330 /* 80243CDC 00240C3C 90 01 00 38 */ stw r0, 0x38(r1) /* 80243CE0 00240C40 88 03 01 BF */ lbz r0, 0x1bf(r3) /* 80243CE4 00240C44 C8 22 B8 30 */ lfd f1, lbl_805AD550@sda21(r2) /* 80243CE8 00240C48 90 01 00 3C */ stw r0, 0x3c(r1) /* 80243CEC 00240C4C C0 5E 02 9C */ lfs f2, 0x29c(r30) /* 80243CF0 00240C50 C8 01 00 38 */ lfd f0, 0x38(r1) /* 80243CF4 00240C54 EC 00 08 28 */ fsubs f0, f0, f1 /* 80243CF8 00240C58 EF E2 00 32 */ fmuls f31, f2, f0 /* 80243CFC 00240C5C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 80243D00 00240C60 38 81 00 24 */ addi r4, r1, 0x24 /* 80243D04 00240C64 80 63 01 BC */ lwz r3, 0x1bc(r3) /* 80243D08 00240C68 88 01 00 08 */ lbz r0, 8(r1) /* 80243D0C 00240C6C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80243D10 00240C70 90 01 00 24 */ stw r0, 0x24(r1) /* 80243D14 00240C74 80 7E 01 8C */ lwz r3, 0x18c(r30) /* 80243D18 00240C78 48 08 6B 55 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80243D1C 00240C7C 80 7E 01 90 */ lwz r3, 0x190(r30) /* 80243D20 00240C80 38 81 00 24 */ addi r4, r1, 0x24 /* 80243D24 00240C84 48 08 6B 49 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80243D28 00240C88 80 7E 01 94 */ lwz r3, 0x194(r30) /* 80243D2C 00240C8C 38 81 00 24 */ addi r4, r1, 0x24 /* 80243D30 00240C90 48 08 6B 3D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80243D34 00240C94 80 7E 01 9C */ lwz r3, 0x19c(r30) /* 80243D38 00240C98 28 03 00 00 */ cmplwi r3, 0 /* 80243D3C 00240C9C 41 82 00 CC */ beq lbl_80243E08 /* 80243D40 00240CA0 FC 20 F0 90 */ fmr f1, f30 /* 80243D44 00240CA4 48 00 0B E5 */ bl Update__15CQuitGameScreenFv /* 80243D48 00240CA8 2C 03 00 01 */ cmpwi r3, 1 /* 80243D4C 00240CAC 40 82 00 58 */ bne lbl_80243DA4 /* 80243D50 00240CB0 38 61 00 28 */ addi r3, r1, 0x28 /* 80243D54 00240CB4 38 80 00 01 */ li r4, 1 /* 80243D58 00240CB8 4B E0 DC 09 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget /* 80243D5C 00240CBC 7F E3 FB 78 */ mr r3, r31 /* 80243D60 00240CC0 38 81 00 28 */ addi r4, r1, 0x28 /* 80243D64 00240CC4 4B DC 2F 9D */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage /* 80243D68 00240CC8 34 61 00 30 */ addic. r3, r1, 0x30 /* 80243D6C 00240CCC 41 82 00 08 */ beq lbl_80243D74 /* 80243D70 00240CD0 4B DC 49 9D */ bl sub_8000870c lbl_80243D74: /* 80243D74 00240CD4 38 60 00 00 */ li r3, 0 /* 80243D78 00240CD8 48 0A 5B 3D */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels /* 80243D7C 00240CDC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80243D80 00240CE0 38 61 00 10 */ addi r3, r1, 0x10 /* 80243D84 00240CE4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80243D88 00240CE8 38 80 05 8E */ li r4, 0x58e /* 80243D8C 00240CEC 38 A0 00 7F */ li r5, 0x7f /* 80243D90 00240CF0 38 C0 00 40 */ li r6, 0x40 /* 80243D94 00240CF4 38 E0 00 00 */ li r7, 0 /* 80243D98 00240CF8 39 20 00 00 */ li r9, 0 /* 80243D9C 00240CFC 48 0A 5F D9 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80243DA0 00240D00 48 00 00 68 */ b lbl_80243E08 lbl_80243DA4: /* 80243DA4 00240D04 2C 03 00 02 */ cmpwi r3, 2 /* 80243DA8 00240D08 40 82 00 60 */ bne lbl_80243E08 /* 80243DAC 00240D0C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80243DB0 00240D10 38 61 00 0C */ addi r3, r1, 0xc /* 80243DB4 00240D14 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80243DB8 00240D18 38 80 05 8F */ li r4, 0x58f /* 80243DBC 00240D1C 38 A0 00 7F */ li r5, 0x7f /* 80243DC0 00240D20 38 C0 00 40 */ li r6, 0x40 /* 80243DC4 00240D24 38 E0 00 00 */ li r7, 0 /* 80243DC8 00240D28 39 20 00 00 */ li r9, 0 /* 80243DCC 00240D2C 48 0A 5F A9 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80243DD0 00240D30 83 FE 01 9C */ lwz r31, 0x19c(r30) /* 80243DD4 00240D34 28 1F 00 00 */ cmplwi r31, 0 /* 80243DD8 00240D38 41 82 00 28 */ beq lbl_80243E00 /* 80243DDC 00240D3C 34 1F 00 04 */ addic. r0, r31, 4 /* 80243DE0 00240D40 41 82 00 18 */ beq lbl_80243DF8 /* 80243DE4 00240D44 34 1F 00 04 */ addic. r0, r31, 4 /* 80243DE8 00240D48 41 82 00 10 */ beq lbl_80243DF8 /* 80243DEC 00240D4C 38 7F 00 04 */ addi r3, r31, 4 /* 80243DF0 00240D50 38 80 00 00 */ li r4, 0 /* 80243DF4 00240D54 48 0F D0 4D */ bl __dt__6CTokenFv lbl_80243DF8: /* 80243DF8 00240D58 7F E3 FB 78 */ mr r3, r31 /* 80243DFC 00240D5C 48 0D 1B 35 */ bl Free__7CMemoryFPCv lbl_80243E00: /* 80243E00 00240D60 38 00 00 00 */ li r0, 0 /* 80243E04 00240D64 90 1E 01 9C */ stw r0, 0x19c(r30) lbl_80243E08: /* 80243E08 00240D68 FC 20 F0 90 */ fmr f1, f30 /* 80243E0C 00240D6C 80 7E 01 A0 */ lwz r3, 0x1a0(r30) /* 80243E10 00240D70 48 05 A9 BD */ bl Update__13CGameCubeDollFf /* 80243E14 00240D74 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 80243E18 00240D78 CB E1 00 60 */ lfd f31, 0x60(r1) /* 80243E1C 00240D7C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 80243E20 00240D80 CB C1 00 50 */ lfd f30, 0x50(r1) /* 80243E24 00240D84 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80243E28 00240D88 83 C1 00 48 */ lwz r30, 0x48(r1) /* 80243E2C 00240D8C 80 01 00 74 */ lwz r0, 0x74(r1) /* 80243E30 00240D90 83 A1 00 44 */ lwz r29, 0x44(r1) /* 80243E34 00240D94 7C 08 03 A6 */ mtlr r0 /* 80243E38 00240D98 38 21 00 70 */ addi r1, r1, 0x70 /* 80243E3C 00240D9C 4E 80 00 20 */ blr .global InputDisabled__14COptionsScreenCFv InputDisabled__14COptionsScreenCFv: /* 80243E40 00240DA0 80 63 01 9C */ lwz r3, 0x19c(r3) /* 80243E44 00240DA4 7C 03 00 D0 */ neg r0, r3 /* 80243E48 00240DA8 7C 00 1B 78 */ or r0, r0, r3 /* 80243E4C 00240DAC 54 03 0F FE */ srwi r3, r0, 0x1f /* 80243E50 00240DB0 4E 80 00 20 */ blr .global VReady__14COptionsScreenCFv VReady__14COptionsScreenCFv: /* 80243E54 00240DB4 38 60 00 01 */ li r3, 1 /* 80243E58 00240DB8 4E 80 00 20 */ blr .global __dt__14COptionsScreenFv __dt__14COptionsScreenFv: /* 80243E5C 00240DBC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80243E60 00240DC0 7C 08 02 A6 */ mflr r0 /* 80243E64 00240DC4 90 01 00 24 */ stw r0, 0x24(r1) /* 80243E68 00240DC8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80243E6C 00240DCC 93 C1 00 18 */ stw r30, 0x18(r1) /* 80243E70 00240DD0 7C 9E 23 78 */ mr r30, r4 /* 80243E74 00240DD4 93 A1 00 14 */ stw r29, 0x14(r1) /* 80243E78 00240DD8 7C 7D 1B 79 */ or. r29, r3, r3 /* 80243E7C 00240DDC 41 82 00 94 */ beq lbl_80243F10 /* 80243E80 00240DE0 3C 80 80 3F */ lis r4, lbl_803E87D8@ha /* 80243E84 00240DE4 38 61 00 08 */ addi r3, r1, 8 /* 80243E88 00240DE8 38 04 87 D8 */ addi r0, r4, lbl_803E87D8@l /* 80243E8C 00240DEC 90 1D 00 00 */ stw r0, 0(r29) /* 80243E90 00240DF0 80 1D 01 A4 */ lwz r0, 0x1a4(r29) /* 80243E94 00240DF4 90 01 00 08 */ stw r0, 8(r1) /* 80243E98 00240DF8 48 0A 5E B1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle /* 80243E9C 00240DFC 38 7D 01 A8 */ addi r3, r29, 0x1a8 /* 80243EA0 00240E00 38 80 FF FF */ li r4, -1 /* 80243EA4 00240E04 48 12 61 51 */ bl __dt__16CRumbleGeneratorFv /* 80243EA8 00240E08 34 1D 01 A0 */ addic. r0, r29, 0x1a0 /* 80243EAC 00240E0C 41 82 00 10 */ beq lbl_80243EBC /* 80243EB0 00240E10 80 7D 01 A0 */ lwz r3, 0x1a0(r29) /* 80243EB4 00240E14 38 80 00 01 */ li r4, 1 /* 80243EB8 00240E18 48 05 AB CD */ bl __dt__13CGameCubeDollFv lbl_80243EBC: /* 80243EBC 00240E1C 34 1D 01 9C */ addic. r0, r29, 0x19c /* 80243EC0 00240E20 41 82 00 34 */ beq lbl_80243EF4 /* 80243EC4 00240E24 83 FD 01 9C */ lwz r31, 0x19c(r29) /* 80243EC8 00240E28 28 1F 00 00 */ cmplwi r31, 0 /* 80243ECC 00240E2C 41 82 00 28 */ beq lbl_80243EF4 /* 80243ED0 00240E30 34 1F 00 04 */ addic. r0, r31, 4 /* 80243ED4 00240E34 41 82 00 18 */ beq lbl_80243EEC /* 80243ED8 00240E38 34 1F 00 04 */ addic. r0, r31, 4 /* 80243EDC 00240E3C 41 82 00 10 */ beq lbl_80243EEC /* 80243EE0 00240E40 38 7F 00 04 */ addi r3, r31, 4 /* 80243EE4 00240E44 38 80 00 00 */ li r4, 0 /* 80243EE8 00240E48 48 0F CF 59 */ bl __dt__6CTokenFv lbl_80243EEC: /* 80243EEC 00240E4C 7F E3 FB 78 */ mr r3, r31 /* 80243EF0 00240E50 48 0D 1A 41 */ bl Free__7CMemoryFPCv lbl_80243EF4: /* 80243EF4 00240E54 7F A3 EB 78 */ mr r3, r29 /* 80243EF8 00240E58 38 80 00 00 */ li r4, 0 /* 80243EFC 00240E5C 4B E2 E6 D1 */ bl __dt__16CPauseScreenBaseFv /* 80243F00 00240E60 7F C0 07 35 */ extsh. r0, r30 /* 80243F04 00240E64 40 81 00 0C */ ble lbl_80243F10 /* 80243F08 00240E68 7F A3 EB 78 */ mr r3, r29 /* 80243F0C 00240E6C 48 0D 1A 25 */ bl Free__7CMemoryFPCv lbl_80243F10: /* 80243F10 00240E70 80 01 00 24 */ lwz r0, 0x24(r1) /* 80243F14 00240E74 7F A3 EB 78 */ mr r3, r29 /* 80243F18 00240E78 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80243F1C 00240E7C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80243F20 00240E80 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80243F24 00240E84 7C 08 03 A6 */ mtlr r0 /* 80243F28 00240E88 38 21 00 20 */ addi r1, r1, 0x20 /* 80243F2C 00240E8C 4E 80 00 20 */ blr .global __ct__14COptionsScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable __ct__14COptionsScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable: /* 80243F30 00240E90 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80243F34 00240E94 7C 08 02 A6 */ mflr r0 /* 80243F38 00240E98 90 01 00 14 */ stw r0, 0x14(r1) /* 80243F3C 00240E9C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80243F40 00240EA0 7C 7F 1B 78 */ mr r31, r3 /* 80243F44 00240EA4 4B E2 E9 0D */ bl __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable /* 80243F48 00240EA8 3C 80 80 3F */ lis r4, lbl_803E87D8@ha /* 80243F4C 00240EAC 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80243F50 00240EB0 38 84 87 D8 */ addi r4, r4, lbl_803E87D8@l /* 80243F54 00240EB4 38 00 00 00 */ li r0, 0 /* 80243F58 00240EB8 90 9F 00 00 */ stw r4, 0(r31) /* 80243F5C 00240EBC 38 63 45 B4 */ addi r3, r3, lbl_803D45B4@l /* 80243F60 00240EC0 38 83 01 30 */ addi r4, r3, 0x130 /* 80243F64 00240EC4 38 60 00 24 */ li r3, 0x24 /* 80243F68 00240EC8 90 1F 01 9C */ stw r0, 0x19c(r31) /* 80243F6C 00240ECC 38 A0 00 00 */ li r5, 0 /* 80243F70 00240ED0 48 0D 18 FD */ bl __nw__FUlPCcPCc /* 80243F74 00240ED4 7C 60 1B 79 */ or. r0, r3, r3 /* 80243F78 00240ED8 41 82 00 0C */ beq lbl_80243F84 /* 80243F7C 00240EDC 48 05 AC 3D */ bl __ct__13CGameCubeDollFv /* 80243F80 00240EE0 7C 60 1B 78 */ mr r0, r3 lbl_80243F84: /* 80243F84 00240EE4 90 1F 01 A0 */ stw r0, 0x1a0(r31) /* 80243F88 00240EE8 38 00 00 00 */ li r0, 0 /* 80243F8C 00240EEC 38 7F 01 A8 */ addi r3, r31, 0x1a8 /* 80243F90 00240EF0 90 1F 01 A4 */ stw r0, 0x1a4(r31) /* 80243F94 00240EF4 48 12 62 01 */ bl __ct__16CRumbleGeneratorFv /* 80243F98 00240EF8 C0 02 B8 10 */ lfs f0, lbl_805AD530@sda21(r2) /* 80243F9C 00240EFC 38 80 00 00 */ li r4, 0 /* 80243FA0 00240F00 7F E3 FB 78 */ mr r3, r31 /* 80243FA4 00240F04 D0 1F 02 9C */ stfs f0, 0x29c(r31) /* 80243FA8 00240F08 88 1F 02 A0 */ lbz r0, 0x2a0(r31) /* 80243FAC 00240F0C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 80243FB0 00240F10 98 1F 02 A0 */ stb r0, 0x2a0(r31) /* 80243FB4 00240F14 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80243FB8 00240F18 80 01 00 14 */ lwz r0, 0x14(r1) /* 80243FBC 00240F1C 7C 08 03 A6 */ mtlr r0 /* 80243FC0 00240F20 38 21 00 10 */ addi r1, r1, 0x10 /* 80243FC4 00240F24 4E 80 00 20 */ blr .global TryRestoreDefaults__12CGameOptionsFRC11CFinalInputiib TryRestoreDefaults__12CGameOptionsFRC11CFinalInputiib: /* 80243FC8 00240F28 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80243FCC 00240F2C 7C 08 02 A6 */ mflr r0 /* 80243FD0 00240F30 90 01 00 24 */ stw r0, 0x24(r1) /* 80243FD4 00240F34 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80243FD8 00240F38 93 C1 00 18 */ stw r30, 0x18(r1) /* 80243FDC 00240F3C 7C 9E 23 78 */ mr r30, r4 /* 80243FE0 00240F40 3C 80 80 3F */ lis r4, lbl_803E8720@ha /* 80243FE4 00240F44 57 C7 18 38 */ slwi r7, r30, 3 /* 80243FE8 00240F48 38 04 87 20 */ addi r0, r4, lbl_803E8720@l /* 80243FEC 00240F4C 7C 80 3A 14 */ add r4, r0, r7 /* 80243FF0 00240F50 80 04 00 00 */ lwz r0, 0(r4) /* 80243FF4 00240F54 2C 00 00 00 */ cmpwi r0, 0 /* 80243FF8 00240F58 41 82 01 98 */ beq lbl_80244190 /* 80243FFC 00240F5C 1C 05 00 18 */ mulli r0, r5, 0x18 /* 80244000 00240F60 80 84 00 04 */ lwz r4, 4(r4) /* 80244004 00240F64 7C 04 00 2E */ lwzx r0, r4, r0 /* 80244008 00240F68 2C 00 00 0E */ cmpwi r0, 0xe /* 8024400C 00240F6C 40 82 01 84 */ bne lbl_80244190 /* 80244010 00240F70 88 03 00 2D */ lbz r0, 0x2d(r3) /* 80244014 00240F74 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80244018 00240F78 41 82 01 78 */ beq lbl_80244190 /* 8024401C 00240F7C 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 80244020 00240F80 41 82 00 50 */ beq lbl_80244070 /* 80244024 00240F84 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80244028 00240F88 38 61 00 10 */ addi r3, r1, 0x10 /* 8024402C 00240F8C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80244030 00240F90 38 80 04 48 */ li r4, 0x448 /* 80244034 00240F94 38 A0 00 7F */ li r5, 0x7f /* 80244038 00240F98 38 C0 00 40 */ li r6, 0x40 /* 8024403C 00240F9C 38 E0 00 00 */ li r7, 0 /* 80244040 00240FA0 39 20 00 00 */ li r9, 0 /* 80244044 00240FA4 48 0A 5D 31 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80244048 00240FA8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 8024404C 00240FAC 38 61 00 0C */ addi r3, r1, 0xc /* 80244050 00240FB0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80244054 00240FB4 38 80 04 43 */ li r4, 0x443 /* 80244058 00240FB8 38 A0 00 7F */ li r5, 0x7f /* 8024405C 00240FBC 38 C0 00 40 */ li r6, 0x40 /* 80244060 00240FC0 38 E0 00 00 */ li r7, 0 /* 80244064 00240FC4 39 20 00 00 */ li r9, 0 /* 80244068 00240FC8 48 0A 5D 0D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8024406C 00240FCC 48 00 00 28 */ b lbl_80244094 lbl_80244070: /* 80244070 00240FD0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80244074 00240FD4 38 61 00 08 */ addi r3, r1, 8 /* 80244078 00240FD8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 8024407C 00240FDC 38 80 05 98 */ li r4, 0x598 /* 80244080 00240FE0 38 A0 00 7F */ li r5, 0x7f /* 80244084 00240FE4 38 C0 00 40 */ li r6, 0x40 /* 80244088 00240FE8 38 E0 00 00 */ li r7, 0 /* 8024408C 00240FEC 39 20 00 00 */ li r9, 0 /* 80244090 00240FF0 48 0A 5C E5 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_80244094: /* 80244094 00240FF4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80244098 00240FF8 2C 1E 00 02 */ cmpwi r30, 2 /* 8024409C 00240FFC 3B E3 01 7C */ addi r31, r3, 0x17c /* 802440A0 00241000 41 82 00 98 */ beq lbl_80244138 /* 802440A4 00241004 40 80 00 14 */ bge lbl_802440B8 /* 802440A8 00241008 2C 1E 00 00 */ cmpwi r30, 0 /* 802440AC 0024100C 41 82 00 18 */ beq lbl_802440C4 /* 802440B0 00241010 40 80 00 44 */ bge lbl_802440F4 /* 802440B4 00241014 48 00 00 DC */ b lbl_80244190 lbl_802440B8: /* 802440B8 00241018 2C 1E 00 04 */ cmpwi r30, 4 /* 802440BC 0024101C 40 80 00 D4 */ bge lbl_80244190 /* 802440C0 00241020 48 00 00 AC */ b lbl_8024416C lbl_802440C4: /* 802440C4 00241024 38 00 00 FF */ li r0, 0xff /* 802440C8 00241028 7F E3 FB 78 */ mr r3, r31 /* 802440CC 0024102C 90 1F 00 60 */ stw r0, 0x60(r31) /* 802440D0 00241030 38 80 00 FF */ li r4, 0xff /* 802440D4 00241034 4B FC AC 65 */ bl SetHelmetAlpha__12CGameOptionsFi /* 802440D8 00241038 88 82 B2 20 */ lbz r4, lbl_805ACF40@sda21(r2) /* 802440DC 0024103C 7F E3 FB 78 */ mr r3, r31 /* 802440E0 00241040 4B FC AC 49 */ bl SetHUDLag__12CGameOptionsFb /* 802440E4 00241044 88 82 B2 24 */ lbz r4, lbl_805ACF44@sda21(r2) /* 802440E8 00241048 7F E3 FB 78 */ mr r3, r31 /* 802440EC 0024104C 4B FC AC 2D */ bl SetIsHintSystemEnabled__12CGameOptionsFb /* 802440F0 00241050 48 00 00 A0 */ b lbl_80244190 lbl_802440F4: /* 802440F4 00241054 7F E3 FB 78 */ mr r3, r31 /* 802440F8 00241058 38 80 00 04 */ li r4, 4 /* 802440FC 0024105C 38 A0 00 01 */ li r5, 1 /* 80244100 00241060 4B FC AF 99 */ bl SetScreenBrightness__12CGameOptionsFib /* 80244104 00241064 7F E3 FB 78 */ mr r3, r31 /* 80244108 00241068 38 80 00 00 */ li r4, 0 /* 8024410C 0024106C 38 A0 00 01 */ li r5, 1 /* 80244110 00241070 4B FC AE CD */ bl SetScreenPositionX__12CGameOptionsFib /* 80244114 00241074 7F E3 FB 78 */ mr r3, r31 /* 80244118 00241078 38 80 00 00 */ li r4, 0 /* 8024411C 0024107C 38 A0 00 01 */ li r5, 1 /* 80244120 00241080 4B FC AE 45 */ bl SetScreenPositionY__12CGameOptionsFib /* 80244124 00241084 7F E3 FB 78 */ mr r3, r31 /* 80244128 00241088 38 80 00 00 */ li r4, 0 /* 8024412C 0024108C 38 A0 00 01 */ li r5, 1 /* 80244130 00241090 4B FC AD BD */ bl SetScreenStretch__12CGameOptionsFib /* 80244134 00241094 48 00 00 5C */ b lbl_80244190 lbl_80244138: /* 80244138 00241098 7F E3 FB 78 */ mr r3, r31 /* 8024413C 0024109C 38 80 00 7F */ li r4, 0x7f /* 80244140 002410A0 38 A0 00 01 */ li r5, 1 /* 80244144 002410A4 4B FC AD 25 */ bl SetSfxVolume__12CGameOptionsFib /* 80244148 002410A8 7F E3 FB 78 */ mr r3, r31 /* 8024414C 002410AC 38 80 00 7F */ li r4, 0x7f /* 80244150 002410B0 38 A0 00 01 */ li r5, 1 /* 80244154 002410B4 4B FC AC B5 */ bl SetMusicVolume__12CGameOptionsFib /* 80244158 002410B8 7F E3 FB 78 */ mr r3, r31 /* 8024415C 002410BC 38 80 00 01 */ li r4, 1 /* 80244160 002410C0 38 A0 00 01 */ li r5, 1 /* 80244164 002410C4 4B FC AC 45 */ bl SetSurroundMode__12CGameOptionsFQ29CAudioSys14ESurroundModesi /* 80244168 002410C8 48 00 00 28 */ b lbl_80244190 lbl_8024416C: /* 8024416C 002410CC 88 82 B2 21 */ lbz r4, lbl_805ACF41@sda21(r2) /* 80244170 002410D0 7F E3 FB 78 */ mr r3, r31 /* 80244174 002410D4 4B FC AB 95 */ bl SetInvertYAxis__12CGameOptionsFb /* 80244178 002410D8 88 82 B2 22 */ lbz r4, lbl_805ACF42@sda21(r2) /* 8024417C 002410DC 7F E3 FB 78 */ mr r3, r31 /* 80244180 002410E0 4B FC AB 79 */ bl SetIsRumbleEnabled__12CGameOptionsFb /* 80244184 002410E4 88 82 B2 23 */ lbz r4, lbl_805ACF43@sda21(r2) /* 80244188 002410E8 7F E3 FB 78 */ mr r3, r31 /* 8024418C 002410EC 4B FC AB 29 */ bl ToggleControls__12CGameOptionsFb lbl_80244190: /* 80244190 002410F0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80244194 002410F4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80244198 002410F8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024419C 002410FC 7C 08 03 A6 */ mtlr r0 /* 802441A0 00241100 38 21 00 20 */ addi r1, r1, 0x20 /* 802441A4 00241104 4E 80 00 20 */ blr .global SetOption__12CGameOptionsF11EGameOptioni SetOption__12CGameOptionsF11EGameOptioni: /* 802441A8 00241108 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802441AC 0024110C 7C 08 02 A6 */ mflr r0 /* 802441B0 00241110 28 03 00 0D */ cmplwi r3, 0xd /* 802441B4 00241114 90 01 00 14 */ stw r0, 0x14(r1) /* 802441B8 00241118 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 802441BC 0024111C 38 C5 01 7C */ addi r6, r5, 0x17c /* 802441C0 00241120 41 81 01 14 */ bgt lbl_802442D4 /* 802441C4 00241124 3C A0 80 3F */ lis r5, lbl_803E882C@ha /* 802441C8 00241128 54 60 10 3A */ slwi r0, r3, 2 /* 802441CC 0024112C 38 65 88 2C */ addi r3, r5, lbl_803E882C@l /* 802441D0 00241130 7C 03 00 2E */ lwzx r0, r3, r0 /* 802441D4 00241134 7C 09 03 A6 */ mtctr r0 /* 802441D8 00241138 4E 80 04 20 */ bctr /* 802441DC 0024113C 90 86 00 60 */ stw r4, 0x60(r6) /* 802441E0 00241140 48 00 00 F4 */ b lbl_802442D4 /* 802441E4 00241144 7C C3 33 78 */ mr r3, r6 /* 802441E8 00241148 4B FC AB 51 */ bl SetHelmetAlpha__12CGameOptionsFi /* 802441EC 0024114C 48 00 00 E8 */ b lbl_802442D4 /* 802441F0 00241150 7C 04 00 D0 */ neg r0, r4 /* 802441F4 00241154 7C C3 33 78 */ mr r3, r6 /* 802441F8 00241158 7C 00 20 78 */ andc r0, r0, r4 /* 802441FC 0024115C 54 04 0F FE */ srwi r4, r0, 0x1f /* 80244200 00241160 4B FC AB 29 */ bl SetHUDLag__12CGameOptionsFb /* 80244204 00241164 48 00 00 D0 */ b lbl_802442D4 /* 80244208 00241168 7C 04 00 D0 */ neg r0, r4 /* 8024420C 0024116C 7C C3 33 78 */ mr r3, r6 /* 80244210 00241170 7C 00 20 78 */ andc r0, r0, r4 /* 80244214 00241174 54 04 0F FE */ srwi r4, r0, 0x1f /* 80244218 00241178 4B FC AB 01 */ bl SetIsHintSystemEnabled__12CGameOptionsFb /* 8024421C 0024117C 48 00 00 B8 */ b lbl_802442D4 /* 80244220 00241180 7C C3 33 78 */ mr r3, r6 /* 80244224 00241184 38 A0 00 01 */ li r5, 1 /* 80244228 00241188 4B FC AE 71 */ bl SetScreenBrightness__12CGameOptionsFib /* 8024422C 0024118C 48 00 00 A8 */ b lbl_802442D4 /* 80244230 00241190 7C C3 33 78 */ mr r3, r6 /* 80244234 00241194 38 A0 00 01 */ li r5, 1 /* 80244238 00241198 4B FC AD A5 */ bl SetScreenPositionX__12CGameOptionsFib /* 8024423C 0024119C 48 00 00 98 */ b lbl_802442D4 /* 80244240 002411A0 7C C3 33 78 */ mr r3, r6 /* 80244244 002411A4 38 A0 00 01 */ li r5, 1 /* 80244248 002411A8 4B FC AD 1D */ bl SetScreenPositionY__12CGameOptionsFib /* 8024424C 002411AC 48 00 00 88 */ b lbl_802442D4 /* 80244250 002411B0 7C C3 33 78 */ mr r3, r6 /* 80244254 002411B4 38 A0 00 01 */ li r5, 1 /* 80244258 002411B8 4B FC AC 95 */ bl SetScreenStretch__12CGameOptionsFib /* 8024425C 002411BC 48 00 00 78 */ b lbl_802442D4 /* 80244260 002411C0 7C C3 33 78 */ mr r3, r6 /* 80244264 002411C4 38 A0 00 01 */ li r5, 1 /* 80244268 002411C8 4B FC AC 01 */ bl SetSfxVolume__12CGameOptionsFib /* 8024426C 002411CC 48 00 00 68 */ b lbl_802442D4 /* 80244270 002411D0 7C C3 33 78 */ mr r3, r6 /* 80244274 002411D4 38 A0 00 01 */ li r5, 1 /* 80244278 002411D8 4B FC AB 91 */ bl SetMusicVolume__12CGameOptionsFib /* 8024427C 002411DC 48 00 00 58 */ b lbl_802442D4 /* 80244280 002411E0 7C C3 33 78 */ mr r3, r6 /* 80244284 002411E4 38 A0 00 01 */ li r5, 1 /* 80244288 002411E8 4B FC AB 21 */ bl SetSurroundMode__12CGameOptionsFQ29CAudioSys14ESurroundModesi /* 8024428C 002411EC 48 00 00 48 */ b lbl_802442D4 /* 80244290 002411F0 7C 04 00 D0 */ neg r0, r4 /* 80244294 002411F4 7C C3 33 78 */ mr r3, r6 /* 80244298 002411F8 7C 00 20 78 */ andc r0, r0, r4 /* 8024429C 002411FC 54 04 0F FE */ srwi r4, r0, 0x1f /* 802442A0 00241200 4B FC AA 69 */ bl SetInvertYAxis__12CGameOptionsFb /* 802442A4 00241204 48 00 00 30 */ b lbl_802442D4 /* 802442A8 00241208 7C 04 00 D0 */ neg r0, r4 /* 802442AC 0024120C 7C C3 33 78 */ mr r3, r6 /* 802442B0 00241210 7C 00 20 78 */ andc r0, r0, r4 /* 802442B4 00241214 54 04 0F FE */ srwi r4, r0, 0x1f /* 802442B8 00241218 4B FC AA 41 */ bl SetIsRumbleEnabled__12CGameOptionsFb /* 802442BC 0024121C 48 00 00 18 */ b lbl_802442D4 /* 802442C0 00241220 7C 04 00 D0 */ neg r0, r4 /* 802442C4 00241224 7C C3 33 78 */ mr r3, r6 /* 802442C8 00241228 7C 00 20 78 */ andc r0, r0, r4 /* 802442CC 0024122C 54 04 0F FE */ srwi r4, r0, 0x1f /* 802442D0 00241230 4B FC A9 E5 */ bl ToggleControls__12CGameOptionsFb lbl_802442D4: /* 802442D4 00241234 80 01 00 14 */ lwz r0, 0x14(r1) /* 802442D8 00241238 7C 08 03 A6 */ mtlr r0 /* 802442DC 0024123C 38 21 00 10 */ addi r1, r1, 0x10 /* 802442E0 00241240 4E 80 00 20 */ blr .global GetOption__11CGameOptionF11EGameOption GetOption__11CGameOptionF11EGameOption: /* 802442E4 00241244 28 03 00 0D */ cmplwi r3, 0xd /* 802442E8 00241248 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 802442EC 0024124C 41 81 00 DC */ bgt lbl_802443C8 /* 802442F0 00241250 3C 80 80 3F */ lis r4, lbl_803E8864@ha /* 802442F4 00241254 54 60 10 3A */ slwi r0, r3, 2 /* 802442F8 00241258 38 64 88 64 */ addi r3, r4, lbl_803E8864@l /* 802442FC 0024125C 7C 03 00 2E */ lwzx r0, r3, r0 /* 80244300 00241260 7C 09 03 A6 */ mtctr r0 /* 80244304 00241264 4E 80 04 20 */ bctr /* 80244308 00241268 80 65 01 DC */ lwz r3, 0x1dc(r5) /* 8024430C 0024126C 4E 80 00 20 */ blr /* 80244310 00241270 80 65 01 E0 */ lwz r3, 0x1e0(r5) /* 80244314 00241274 4E 80 00 20 */ blr /* 80244318 00241278 88 05 01 E4 */ lbz r0, 0x1e4(r5) /* 8024431C 0024127C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 80244320 00241280 7C 03 00 D0 */ neg r0, r3 /* 80244324 00241284 7C 00 1B 78 */ or r0, r0, r3 /* 80244328 00241288 54 03 0F FE */ srwi r3, r0, 0x1f /* 8024432C 0024128C 4E 80 00 20 */ blr /* 80244330 00241290 88 05 01 E4 */ lbz r0, 0x1e4(r5) /* 80244334 00241294 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f /* 80244338 00241298 7C 03 00 D0 */ neg r0, r3 /* 8024433C 0024129C 7C 00 1B 78 */ or r0, r0, r3 /* 80244340 002412A0 54 03 0F FE */ srwi r3, r0, 0x1f /* 80244344 002412A4 4E 80 00 20 */ blr /* 80244348 002412A8 80 65 01 C4 */ lwz r3, 0x1c4(r5) /* 8024434C 002412AC 4E 80 00 20 */ blr /* 80244350 002412B0 80 65 01 C8 */ lwz r3, 0x1c8(r5) /* 80244354 002412B4 4E 80 00 20 */ blr /* 80244358 002412B8 80 65 01 CC */ lwz r3, 0x1cc(r5) /* 8024435C 002412BC 4E 80 00 20 */ blr /* 80244360 002412C0 80 65 01 D0 */ lwz r3, 0x1d0(r5) /* 80244364 002412C4 4E 80 00 20 */ blr /* 80244368 002412C8 80 65 01 D4 */ lwz r3, 0x1d4(r5) /* 8024436C 002412CC 4E 80 00 20 */ blr /* 80244370 002412D0 80 65 01 D8 */ lwz r3, 0x1d8(r5) /* 80244374 002412D4 4E 80 00 20 */ blr /* 80244378 002412D8 80 65 01 C0 */ lwz r3, 0x1c0(r5) /* 8024437C 002412DC 4E 80 00 20 */ blr /* 80244380 002412E0 88 05 01 E4 */ lbz r0, 0x1e4(r5) /* 80244384 002412E4 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f /* 80244388 002412E8 7C 03 00 D0 */ neg r0, r3 /* 8024438C 002412EC 7C 00 1B 78 */ or r0, r0, r3 /* 80244390 002412F0 54 03 0F FE */ srwi r3, r0, 0x1f /* 80244394 002412F4 4E 80 00 20 */ blr /* 80244398 002412F8 88 05 01 E4 */ lbz r0, 0x1e4(r5) /* 8024439C 002412FC 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f /* 802443A0 00241300 7C 03 00 D0 */ neg r0, r3 /* 802443A4 00241304 7C 00 1B 78 */ or r0, r0, r3 /* 802443A8 00241308 54 03 0F FE */ srwi r3, r0, 0x1f /* 802443AC 0024130C 4E 80 00 20 */ blr /* 802443B0 00241310 88 05 01 E4 */ lbz r0, 0x1e4(r5) /* 802443B4 00241314 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f /* 802443B8 00241318 7C 03 00 D0 */ neg r0, r3 /* 802443BC 0024131C 7C 00 1B 78 */ or r0, r0, r3 /* 802443C0 00241320 54 03 0F FE */ srwi r3, r0, 0x1f /* 802443C4 00241324 4E 80 00 20 */ blr lbl_802443C8: /* 802443C8 00241328 38 60 00 00 */ li r3, 0 /* 802443CC 0024132C 4E 80 00 20 */ blr .global sub_802443d0 sub_802443d0: /* 802443D0 00241330 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802443D4 00241334 7C 08 02 A6 */ mflr r0 /* 802443D8 00241338 90 01 00 44 */ stw r0, 0x44(r1) /* 802443DC 0024133C 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802443E0 00241340 93 C1 00 38 */ stw r30, 0x38(r1) /* 802443E4 00241344 7C BE 2B 78 */ mr r30, r5 /* 802443E8 00241348 93 A1 00 34 */ stw r29, 0x34(r1) /* 802443EC 0024134C 7C 9D 23 78 */ mr r29, r4 /* 802443F0 00241350 93 81 00 30 */ stw r28, 0x30(r1) /* 802443F4 00241354 7C 7C 1B 78 */ mr r28, r3 /* 802443F8 00241358 48 07 DD 5D */ bl FindWidget__9CGuiFrameCFPCc /* 802443FC 0024135C 7C 7F 1B 78 */ mr r31, r3 /* 80244400 00241360 7F C4 F3 78 */ mr r4, r30 /* 80244404 00241364 38 61 00 20 */ addi r3, r1, 0x20 /* 80244408 00241368 38 C1 00 0C */ addi r6, r1, 0xc /* 8024440C 0024136C 38 A0 FF FF */ li r5, -1 /* 80244410 00241370 48 0F 93 AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80244414 00241374 38 7F 00 D4 */ addi r3, r31, 0xd4 /* 80244418 00241378 38 81 00 20 */ addi r4, r1, 0x20 /* 8024441C 0024137C 38 A0 00 00 */ li r5, 0 /* 80244420 00241380 48 08 54 65 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80244424 00241384 38 61 00 20 */ addi r3, r1, 0x20 /* 80244428 00241388 48 0F 8D 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024442C 0024138C 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80244430 00241390 7F A4 EB 78 */ mr r4, r29 /* 80244434 00241394 38 63 45 B4 */ addi r3, r3, lbl_803D45B4@l /* 80244438 00241398 38 63 01 37 */ addi r3, r3, 0x137 /* 8024443C 0024139C 4C C6 31 82 */ crclr 6 /* 80244440 002413A0 48 09 1D 71 */ bl Stringize__7CBasicsFPCce /* 80244444 002413A4 7C 64 1B 78 */ mr r4, r3 /* 80244448 002413A8 7F 83 E3 78 */ mr r3, r28 /* 8024444C 002413AC 48 07 DD 09 */ bl FindWidget__9CGuiFrameCFPCc /* 80244450 002413B0 7C 7F 1B 78 */ mr r31, r3 /* 80244454 002413B4 7F C4 F3 78 */ mr r4, r30 /* 80244458 002413B8 38 61 00 10 */ addi r3, r1, 0x10 /* 8024445C 002413BC 38 C1 00 08 */ addi r6, r1, 8 /* 80244460 002413C0 38 A0 FF FF */ li r5, -1 /* 80244464 002413C4 48 0F 93 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80244468 002413C8 38 7F 00 D4 */ addi r3, r31, 0xd4 /* 8024446C 002413CC 38 81 00 10 */ addi r4, r1, 0x10 /* 80244470 002413D0 38 A0 00 00 */ li r5, 0 /* 80244474 002413D4 48 08 54 11 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80244478 002413D8 38 61 00 10 */ addi r3, r1, 0x10 /* 8024447C 002413DC 48 0F 8C B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80244480 002413E0 80 01 00 44 */ lwz r0, 0x44(r1) /* 80244484 002413E4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80244488 002413E8 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8024448C 002413EC 83 A1 00 34 */ lwz r29, 0x34(r1) /* 80244490 002413F0 83 81 00 30 */ lwz r28, 0x30(r1) /* 80244494 002413F4 7C 08 03 A6 */ mtlr r0 /* 80244498 002413F8 38 21 00 40 */ addi r1, r1, 0x40 /* 8024449C 002413FC 4E 80 00 20 */ blr .global SetColors__15CQuitGameScreenFv SetColors__15CQuitGameScreenFv: /* 802444A0 00241400 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802444A4 00241404 7C 08 02 A6 */ mflr r0 /* 802444A8 00241408 38 A0 00 C8 */ li r5, 0xc8 /* 802444AC 0024140C 38 80 00 FF */ li r4, 0xff /* 802444B0 00241410 90 01 00 24 */ stw r0, 0x24(r1) /* 802444B4 00241414 38 00 00 32 */ li r0, 0x32 /* 802444B8 00241418 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802444BC 0024141C 93 C1 00 18 */ stw r30, 0x18(r1) /* 802444C0 00241420 3B C0 00 00 */ li r30, 0 /* 802444C4 00241424 93 A1 00 14 */ stw r29, 0x14(r1) /* 802444C8 00241428 7C 7D 1B 78 */ mr r29, r3 /* 802444CC 0024142C 98 A1 00 0C */ stb r5, 0xc(r1) /* 802444D0 00241430 98 A1 00 0D */ stb r5, 0xd(r1) /* 802444D4 00241434 98 A1 00 0E */ stb r5, 0xe(r1) /* 802444D8 00241438 98 81 00 0F */ stb r4, 0xf(r1) /* 802444DC 0024143C 98 01 00 08 */ stb r0, 8(r1) /* 802444E0 00241440 98 01 00 09 */ stb r0, 9(r1) /* 802444E4 00241444 98 01 00 0A */ stb r0, 0xa(r1) /* 802444E8 00241448 98 81 00 0B */ stb r4, 0xb(r1) /* 802444EC 0024144C 80 63 00 14 */ lwz r3, 0x14(r3) /* 802444F0 00241450 83 E3 00 C4 */ lwz r31, 0xc4(r3) lbl_802444F4: /* 802444F4 00241454 80 7D 00 14 */ lwz r3, 0x14(r29) /* 802444F8 00241458 7F C4 F3 78 */ mr r4, r30 /* 802444FC 0024145C 81 83 00 00 */ lwz r12, 0(r3) /* 80244500 00241460 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 80244504 00241464 7D 89 03 A6 */ mtctr r12 /* 80244508 00241468 4E 80 04 21 */ bctrl /* 8024450C 0024146C 7C 1E F8 00 */ cmpw r30, r31 /* 80244510 00241470 38 81 00 08 */ addi r4, r1, 8 /* 80244514 00241474 40 82 00 08 */ bne lbl_8024451C /* 80244518 00241478 38 81 00 0C */ addi r4, r1, 0xc lbl_8024451C: /* 8024451C 0024147C 48 08 63 51 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80244520 00241480 3B DE 00 01 */ addi r30, r30, 1 /* 80244524 00241484 2C 1E 00 02 */ cmpwi r30, 2 /* 80244528 00241488 41 80 FF CC */ blt lbl_802444F4 /* 8024452C 0024148C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80244530 00241490 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80244534 00241494 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80244538 00241498 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024453C 0024149C 7C 08 03 A6 */ mtlr r0 /* 80244540 002414A0 38 21 00 20 */ addi r1, r1, 0x20 /* 80244544 002414A4 4E 80 00 20 */ blr .global FinishedLoading__15CQuitGameScreenFv FinishedLoading__15CQuitGameScreenFv: /* 80244548 002414A8 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8024454C 002414AC 7C 08 02 A6 */ mflr r0 /* 80244550 002414B0 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80244554 002414B4 93 E1 00 BC */ stw r31, 0xbc(r1) /* 80244558 002414B8 7C 7F 1B 78 */ mr r31, r3 /* 8024455C 002414BC 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80244560 002414C0 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 80244564 002414C4 38 63 45 B4 */ addi r3, r3, lbl_803D45B4@l /* 80244568 002414C8 38 83 01 3B */ addi r4, r3, 0x13b /* 8024456C 002414CC 80 1F 00 0C */ lwz r0, 0xc(r31) /* 80244570 002414D0 90 1F 00 10 */ stw r0, 0x10(r31) /* 80244574 002414D4 80 7F 00 10 */ lwz r3, 0x10(r31) /* 80244578 002414D8 48 07 DB DD */ bl FindWidget__9CGuiFrameCFPCc /* 8024457C 002414DC 90 7F 00 14 */ stw r3, 0x14(r31) /* 80244580 002414E0 3C 80 80 3F */ lis r4, lbl_803E8708@ha /* 80244584 002414E4 38 00 00 00 */ li r0, 0 /* 80244588 002414E8 38 61 00 14 */ addi r3, r1, 0x14 /* 8024458C 002414EC 80 DF 00 14 */ lwz r6, 0x14(r31) /* 80244590 002414F0 39 04 87 08 */ addi r8, r4, lbl_803E8708@l /* 80244594 002414F4 38 81 00 5C */ addi r4, r1, 0x5c /* 80244598 002414F8 38 A0 00 0C */ li r5, 0xc /* 8024459C 002414FC 98 06 00 D1 */ stb r0, 0xd1(r6) /* 802445A0 00241500 80 E8 00 00 */ lwz r7, 0(r8) /* 802445A4 00241504 80 C8 00 04 */ lwz r6, 4(r8) /* 802445A8 00241508 80 08 00 08 */ lwz r0, 8(r8) /* 802445AC 0024150C 90 E1 00 5C */ stw r7, 0x5c(r1) /* 802445B0 00241510 90 C1 00 60 */ stw r6, 0x60(r1) /* 802445B4 00241514 90 01 00 64 */ stw r0, 0x64(r1) /* 802445B8 00241518 4B DB EE D9 */ bl memcpy /* 802445BC 0024151C 3C 60 80 24 */ lis r3, sub_80244800@ha /* 802445C0 00241520 93 E1 00 84 */ stw r31, 0x84(r1) /* 802445C4 00241524 38 03 48 00 */ addi r0, r3, sub_80244800@l /* 802445C8 00241528 38 61 00 88 */ addi r3, r1, 0x88 /* 802445CC 0024152C 90 01 00 80 */ stw r0, 0x80(r1) /* 802445D0 00241530 38 81 00 14 */ addi r4, r1, 0x14 /* 802445D4 00241534 38 A0 00 0C */ li r5, 0xc /* 802445D8 00241538 4B DB EE B9 */ bl memcpy /* 802445DC 0024153C 80 7F 00 14 */ lwz r3, 0x14(r31) /* 802445E0 00241540 38 81 00 80 */ addi r4, r1, 0x80 /* 802445E4 00241544 48 08 22 75 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1" /* 802445E8 00241548 3C 80 80 3F */ lis r4, lbl_803E8714@ha /* 802445EC 0024154C 38 61 00 08 */ addi r3, r1, 8 /* 802445F0 00241550 39 04 87 14 */ addi r8, r4, lbl_803E8714@l /* 802445F4 00241554 38 81 00 50 */ addi r4, r1, 0x50 /* 802445F8 00241558 80 E8 00 00 */ lwz r7, 0(r8) /* 802445FC 0024155C 38 A0 00 0C */ li r5, 0xc /* 80244600 00241560 80 C8 00 04 */ lwz r6, 4(r8) /* 80244604 00241564 80 08 00 08 */ lwz r0, 8(r8) /* 80244608 00241568 90 E1 00 50 */ stw r7, 0x50(r1) /* 8024460C 0024156C 90 C1 00 54 */ stw r6, 0x54(r1) /* 80244610 00241570 90 01 00 58 */ stw r0, 0x58(r1) /* 80244614 00241574 4B DB EE 7D */ bl memcpy /* 80244618 00241578 3C 60 80 24 */ lis r3, sub_8024479c@ha /* 8024461C 0024157C 93 E1 00 6C */ stw r31, 0x6c(r1) /* 80244620 00241580 38 03 47 9C */ addi r0, r3, sub_8024479c@l /* 80244624 00241584 38 61 00 70 */ addi r3, r1, 0x70 /* 80244628 00241588 90 01 00 68 */ stw r0, 0x68(r1) /* 8024462C 0024158C 38 81 00 08 */ addi r4, r1, 8 /* 80244630 00241590 38 A0 00 0C */ li r5, 0xc /* 80244634 00241594 4B DB EE 5D */ bl memcpy /* 80244638 00241598 80 7F 00 14 */ lwz r3, 0x14(r31) /* 8024463C 0024159C 38 81 00 68 */ addi r4, r1, 0x68 /* 80244640 002415A0 48 08 21 B1 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3" /* 80244644 002415A4 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 80244648 002415A8 80 7F 00 10 */ lwz r3, 0x10(r31) /* 8024464C 002415AC 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 80244650 002415B0 38 84 00 C6 */ addi r4, r4, 0xc6 /* 80244654 002415B4 48 07 DB 01 */ bl FindWidget__9CGuiFrameCFPCc /* 80244658 002415B8 80 1F 00 00 */ lwz r0, 0(r31) /* 8024465C 002415BC 3C 80 80 3D */ lis r4, lbl_803D43C8@ha /* 80244660 002415C0 7C 7E 1B 78 */ mr r30, r3 /* 80244664 002415C4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80244668 002415C8 54 00 10 3A */ slwi r0, r0, 2 /* 8024466C 002415CC 38 84 43 C8 */ addi r4, r4, lbl_803D43C8@l /* 80244670 002415D0 7C 84 00 2E */ lwzx r4, r4, r0 /* 80244674 002415D4 48 11 20 89 */ bl GetString__12CStringTableCFi /* 80244678 002415D8 7C 64 1B 78 */ mr r4, r3 /* 8024467C 002415DC 38 61 00 40 */ addi r3, r1, 0x40 /* 80244680 002415E0 4B DD 13 71 */ bl wstring_l__4rstlFPCw /* 80244684 002415E4 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80244688 002415E8 38 81 00 40 */ addi r4, r1, 0x40 /* 8024468C 002415EC 38 A0 00 00 */ li r5, 0 /* 80244690 002415F0 48 08 51 F5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80244694 002415F4 38 61 00 40 */ addi r3, r1, 0x40 /* 80244698 002415F8 48 0F 8A 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024469C 002415FC 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 802446A0 00241600 80 7F 00 10 */ lwz r3, 0x10(r31) /* 802446A4 00241604 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 802446A8 00241608 38 84 01 4F */ addi r4, r4, 0x14f /* 802446AC 0024160C 48 07 DA A9 */ bl FindWidget__9CGuiFrameCFPCc /* 802446B0 00241610 7C 7E 1B 78 */ mr r30, r3 /* 802446B4 00241614 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 802446B8 00241618 38 80 00 16 */ li r4, 0x16 /* 802446BC 0024161C 48 11 20 41 */ bl GetString__12CStringTableCFi /* 802446C0 00241620 7C 64 1B 78 */ mr r4, r3 /* 802446C4 00241624 38 61 00 30 */ addi r3, r1, 0x30 /* 802446C8 00241628 4B DD 13 29 */ bl wstring_l__4rstlFPCw /* 802446CC 0024162C 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 802446D0 00241630 38 81 00 30 */ addi r4, r1, 0x30 /* 802446D4 00241634 38 A0 00 00 */ li r5, 0 /* 802446D8 00241638 48 08 51 AD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802446DC 0024163C 38 61 00 30 */ addi r3, r1, 0x30 /* 802446E0 00241640 48 0F 8A 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802446E4 00241644 3C 80 80 3D */ lis r4, lbl_803D45B4@ha /* 802446E8 00241648 80 7F 00 10 */ lwz r3, 0x10(r31) /* 802446EC 0024164C 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l /* 802446F0 00241650 38 84 01 5C */ addi r4, r4, 0x15c /* 802446F4 00241654 48 07 DA 61 */ bl FindWidget__9CGuiFrameCFPCc /* 802446F8 00241658 7C 7E 1B 78 */ mr r30, r3 /* 802446FC 0024165C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80244700 00241660 38 80 00 17 */ li r4, 0x17 /* 80244704 00241664 48 11 1F F9 */ bl GetString__12CStringTableCFi /* 80244708 00241668 7C 64 1B 78 */ mr r4, r3 /* 8024470C 0024166C 38 61 00 20 */ addi r3, r1, 0x20 /* 80244710 00241670 4B DD 12 E1 */ bl wstring_l__4rstlFPCw /* 80244714 00241674 38 7E 00 D4 */ addi r3, r30, 0xd4 /* 80244718 00241678 38 81 00 20 */ addi r4, r1, 0x20 /* 8024471C 0024167C 38 A0 00 00 */ li r5, 0 /* 80244720 00241680 48 08 51 65 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80244724 00241684 38 61 00 20 */ addi r3, r1, 0x20 /* 80244728 00241688 48 0F 8A 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024472C 0024168C 3C 60 80 3D */ lis r3, lbl_803D43F0@ha /* 80244730 00241690 81 7F 00 14 */ lwz r11, 0x14(r31) /* 80244734 00241694 38 C3 43 F0 */ addi r6, r3, lbl_803D43F0@l /* 80244738 00241698 80 1F 00 00 */ lwz r0, 0(r31) /* 8024473C 0024169C 81 46 00 00 */ lwz r10, 0(r6) /* 80244740 002416A0 38 81 00 98 */ addi r4, r1, 0x98 /* 80244744 002416A4 81 26 00 04 */ lwz r9, 4(r6) /* 80244748 002416A8 54 05 10 3A */ slwi r5, r0, 2 /* 8024474C 002416AC 81 06 00 08 */ lwz r8, 8(r6) /* 80244750 002416B0 7F E3 FB 78 */ mr r3, r31 /* 80244754 002416B4 80 E6 00 0C */ lwz r7, 0xc(r6) /* 80244758 002416B8 80 C6 00 10 */ lwz r6, 0x10(r6) /* 8024475C 002416BC 80 0B 00 C4 */ lwz r0, 0xc4(r11) /* 80244760 002416C0 91 41 00 98 */ stw r10, 0x98(r1) /* 80244764 002416C4 91 21 00 9C */ stw r9, 0x9c(r1) /* 80244768 002416C8 91 01 00 A0 */ stw r8, 0xa0(r1) /* 8024476C 002416CC 90 E1 00 A4 */ stw r7, 0xa4(r1) /* 80244770 002416D0 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 80244774 002416D4 90 0B 00 C8 */ stw r0, 0xc8(r11) /* 80244778 002416D8 7C 04 28 2E */ lwzx r0, r4, r5 /* 8024477C 002416DC 90 0B 00 C4 */ stw r0, 0xc4(r11) /* 80244780 002416E0 4B FF FD 21 */ bl SetColors__15CQuitGameScreenFv /* 80244784 002416E4 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 80244788 002416E8 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 8024478C 002416EC 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 80244790 002416F0 7C 08 03 A6 */ mtlr r0 /* 80244794 002416F4 38 21 00 C0 */ addi r1, r1, 0xc0 /* 80244798 002416F8 4E 80 00 20 */ blr .global sub_8024479c sub_8024479c: /* 8024479C 002416FC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802447A0 00241700 7C 08 02 A6 */ mflr r0 /* 802447A4 00241704 90 01 00 34 */ stw r0, 0x34(r1) /* 802447A8 00241708 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802447AC 0024170C 7C DF 33 78 */ mr r31, r6 /* 802447B0 00241710 93 C1 00 28 */ stw r30, 0x28(r1) /* 802447B4 00241714 7C BE 2B 78 */ mr r30, r5 /* 802447B8 00241718 38 A0 00 0C */ li r5, 0xc /* 802447BC 0024171C 93 A1 00 24 */ stw r29, 0x24(r1) /* 802447C0 00241720 7C 7D 1B 78 */ mr r29, r3 /* 802447C4 00241724 38 61 00 08 */ addi r3, r1, 8 /* 802447C8 00241728 4B DB EC C9 */ bl memcpy /* 802447CC 0024172C 7F A3 EB 78 */ mr r3, r29 /* 802447D0 00241730 7F C4 F3 78 */ mr r4, r30 /* 802447D4 00241734 7F E5 FB 78 */ mr r5, r31 /* 802447D8 00241738 39 81 00 08 */ addi r12, r1, 8 /* 802447DC 0024173C 48 14 51 51 */ bl __ptmf_scall /* 802447E0 00241740 60 00 00 00 */ nop /* 802447E4 00241744 80 01 00 34 */ lwz r0, 0x34(r1) /* 802447E8 00241748 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802447EC 0024174C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 802447F0 00241750 83 A1 00 24 */ lwz r29, 0x24(r1) /* 802447F4 00241754 7C 08 03 A6 */ mtlr r0 /* 802447F8 00241758 38 21 00 30 */ addi r1, r1, 0x30 /* 802447FC 0024175C 4E 80 00 20 */ blr .global sub_80244800 sub_80244800: /* 80244800 00241760 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80244804 00241764 7C 08 02 A6 */ mflr r0 /* 80244808 00241768 90 01 00 24 */ stw r0, 0x24(r1) /* 8024480C 0024176C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80244810 00241770 7C BF 2B 78 */ mr r31, r5 /* 80244814 00241774 38 A0 00 0C */ li r5, 0xc /* 80244818 00241778 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024481C 0024177C 7C 7E 1B 78 */ mr r30, r3 /* 80244820 00241780 38 61 00 08 */ addi r3, r1, 8 /* 80244824 00241784 4B DB EC 6D */ bl memcpy /* 80244828 00241788 7F C3 F3 78 */ mr r3, r30 /* 8024482C 0024178C 7F E4 FB 78 */ mr r4, r31 /* 80244830 00241790 39 81 00 08 */ addi r12, r1, 8 /* 80244834 00241794 48 14 50 F9 */ bl __ptmf_scall /* 80244838 00241798 60 00 00 00 */ nop /* 8024483C 0024179C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80244840 002417A0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80244844 002417A4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80244848 002417A8 7C 08 03 A6 */ mtlr r0 /* 8024484C 002417AC 38 21 00 20 */ addi r1, r1, 0x20 /* 80244850 002417B0 4E 80 00 20 */ blr .global DoSelectionChange__15CQuitGameScreenFP14CGuiTableGroup DoSelectionChange__15CQuitGameScreenFP14CGuiTableGroup: /* 80244854 002417B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80244858 002417B8 7C 08 02 A6 */ mflr r0 /* 8024485C 002417BC 90 01 00 14 */ stw r0, 0x14(r1) /* 80244860 002417C0 4B FF FC 41 */ bl SetColors__15CQuitGameScreenFv /* 80244864 002417C4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80244868 002417C8 38 61 00 08 */ addi r3, r1, 8 /* 8024486C 002417CC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80244870 002417D0 38 80 05 90 */ li r4, 0x590 /* 80244874 002417D4 38 A0 00 7F */ li r5, 0x7f /* 80244878 002417D8 38 C0 00 40 */ li r6, 0x40 /* 8024487C 002417DC 38 E0 00 00 */ li r7, 0 /* 80244880 002417E0 39 20 00 00 */ li r9, 0 /* 80244884 002417E4 48 0A 54 F1 */ bl SfxStart__11CSfxManagerFUsssbsbi /* 80244888 002417E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024488C 002417EC 7C 08 03 A6 */ mtlr r0 /* 80244890 002417F0 38 21 00 10 */ addi r1, r1, 0x10 /* 80244894 002417F4 4E 80 00 20 */ blr .global DoAdvance__15CQuitGameScreenFP14CGuiTableGroup DoAdvance__15CQuitGameScreenFP14CGuiTableGroup: /* 80244898 002417F8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024489C 002417FC 7C 08 02 A6 */ mflr r0 /* 802448A0 00241800 90 01 00 24 */ stw r0, 0x24(r1) /* 802448A4 00241804 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802448A8 00241808 7C 7F 1B 78 */ mr r31, r3 /* 802448AC 0024180C 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 802448B0 00241810 2C 00 00 00 */ cmpwi r0, 0 /* 802448B4 00241814 40 82 00 34 */ bne lbl_802448E8 /* 802448B8 00241818 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 802448BC 0024181C 38 61 00 0C */ addi r3, r1, 0xc /* 802448C0 00241820 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 802448C4 00241824 38 80 05 98 */ li r4, 0x598 /* 802448C8 00241828 38 A0 00 7F */ li r5, 0x7f /* 802448CC 0024182C 38 C0 00 40 */ li r6, 0x40 /* 802448D0 00241830 38 E0 00 00 */ li r7, 0 /* 802448D4 00241834 39 20 00 00 */ li r9, 0 /* 802448D8 00241838 48 0A 54 9D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 802448DC 0024183C 38 00 00 01 */ li r0, 1 /* 802448E0 00241840 90 1F 00 18 */ stw r0, 0x18(r31) /* 802448E4 00241844 48 00 00 30 */ b lbl_80244914 lbl_802448E8: /* 802448E8 00241848 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 802448EC 0024184C 38 61 00 08 */ addi r3, r1, 8 /* 802448F0 00241850 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 802448F4 00241854 38 80 05 97 */ li r4, 0x597 /* 802448F8 00241858 38 A0 00 7F */ li r5, 0x7f /* 802448FC 0024185C 38 C0 00 40 */ li r6, 0x40 /* 80244900 00241860 38 E0 00 00 */ li r7, 0 /* 80244904 00241864 39 20 00 00 */ li r9, 0 /* 80244908 00241868 48 0A 54 6D */ bl SfxStart__11CSfxManagerFUsssbsbi /* 8024490C 0024186C 38 00 00 02 */ li r0, 2 /* 80244910 00241870 90 1F 00 18 */ stw r0, 0x18(r31) lbl_80244914: /* 80244914 00241874 80 01 00 24 */ lwz r0, 0x24(r1) /* 80244918 00241878 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024491C 0024187C 7C 08 03 A6 */ mtlr r0 /* 80244920 00241880 38 21 00 20 */ addi r1, r1, 0x20 /* 80244924 00241884 4E 80 00 20 */ blr .global Update__15CQuitGameScreenFv Update__15CQuitGameScreenFv: /* 80244928 00241888 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024492C 0024188C 7C 08 02 A6 */ mflr r0 /* 80244930 00241890 90 01 00 14 */ stw r0, 0x14(r1) /* 80244934 00241894 93 E1 00 0C */ stw r31, 0xc(r1) /* 80244938 00241898 7C 7F 1B 78 */ mr r31, r3 /* 8024493C 0024189C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80244940 002418A0 28 00 00 00 */ cmplwi r0, 0 /* 80244944 002418A4 40 82 00 60 */ bne lbl_802449A4 /* 80244948 002418A8 80 1F 00 0C */ lwz r0, 0xc(r31) /* 8024494C 002418AC 28 00 00 00 */ cmplwi r0, 0 /* 80244950 002418B0 41 82 00 0C */ beq lbl_8024495C /* 80244954 002418B4 38 60 00 01 */ li r3, 1 /* 80244958 002418B8 48 00 00 3C */ b lbl_80244994 lbl_8024495C: /* 8024495C 002418BC 88 1F 00 08 */ lbz r0, 8(r31) /* 80244960 002418C0 28 00 00 00 */ cmplwi r0, 0 /* 80244964 002418C4 41 82 00 2C */ beq lbl_80244990 /* 80244968 002418C8 80 7F 00 04 */ lwz r3, 4(r31) /* 8024496C 002418CC 80 03 00 10 */ lwz r0, 0x10(r3) /* 80244970 002418D0 28 00 00 00 */ cmplwi r0, 0 /* 80244974 002418D4 41 82 00 1C */ beq lbl_80244990 /* 80244978 002418D8 38 7F 00 04 */ addi r3, r31, 4 /* 8024497C 002418DC 48 0F C4 91 */ bl GetObj__6CTokenFv /* 80244980 002418E0 80 03 00 04 */ lwz r0, 4(r3) /* 80244984 002418E4 38 60 00 01 */ li r3, 1 /* 80244988 002418E8 90 1F 00 0C */ stw r0, 0xc(r31) /* 8024498C 002418EC 48 00 00 08 */ b lbl_80244994 lbl_80244990: /* 80244990 002418F0 38 60 00 00 */ li r3, 0 lbl_80244994: /* 80244994 002418F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80244998 002418F8 41 82 00 0C */ beq lbl_802449A4 /* 8024499C 002418FC 7F E3 FB 78 */ mr r3, r31 /* 802449A0 00241900 4B FF FB A9 */ bl FinishedLoading__15CQuitGameScreenFv lbl_802449A4: /* 802449A4 00241904 80 01 00 14 */ lwz r0, 0x14(r1) /* 802449A8 00241908 80 7F 00 18 */ lwz r3, 0x18(r31) /* 802449AC 0024190C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802449B0 00241910 7C 08 03 A6 */ mtlr r0 /* 802449B4 00241914 38 21 00 10 */ addi r1, r1, 0x10 /* 802449B8 00241918 4E 80 00 20 */ blr .global Draw__15CQuitGameScreenFv Draw__15CQuitGameScreenFv: /* 802449BC 0024191C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 802449C0 00241920 7C 08 02 A6 */ mflr r0 /* 802449C4 00241924 90 01 00 54 */ stw r0, 0x54(r1) /* 802449C8 00241928 DB E1 00 40 */ stfd f31, 0x40(r1) /* 802449CC 0024192C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 802449D0 00241930 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802449D4 00241934 7C 7F 1B 78 */ mr r31, r3 /* 802449D8 00241938 80 03 00 00 */ lwz r0, 0(r3) /* 802449DC 0024193C 2C 00 00 00 */ cmpwi r0, 0 /* 802449E0 00241940 40 82 00 38 */ bne lbl_80244A18 /* 802449E4 00241944 48 10 55 D1 */ bl Black__6CColorFv /* 802449E8 00241948 C3 E2 B8 38 */ lfs f31, lbl_805AD558@sda21(r2) /* 802449EC 0024194C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 /* 802449F0 00241950 38 A1 00 0C */ addi r5, r1, 0xc /* 802449F4 00241954 80 E3 00 00 */ lwz r7, 0(r3) /* 802449F8 00241958 38 60 00 05 */ li r3, 5 /* 802449FC 0024195C 88 01 00 08 */ lbz r0, 8(r1) /* 80244A00 00241960 38 80 00 00 */ li r4, 0 /* 80244A04 00241964 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 /* 80244A08 00241968 C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2) /* 80244A0C 0024196C 90 01 00 0C */ stw r0, 0xc(r1) /* 80244A10 00241970 38 C0 00 00 */ li r6, 0 /* 80244A14 00241974 4B EA 77 35 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef lbl_80244A18: /* 80244A18 00241978 3C 80 80 3D */ lis r4, lbl_803D43DC@ha /* 80244A1C 0024197C 80 7F 00 10 */ lwz r3, 0x10(r31) /* 80244A20 00241980 39 04 43 DC */ addi r8, r4, lbl_803D43DC@l /* 80244A24 00241984 80 E8 00 00 */ lwz r7, 0(r8) /* 80244A28 00241988 28 03 00 00 */ cmplwi r3, 0 /* 80244A2C 0024198C 80 C8 00 04 */ lwz r6, 4(r8) /* 80244A30 00241990 80 A8 00 08 */ lwz r5, 8(r8) /* 80244A34 00241994 80 88 00 0C */ lwz r4, 0xc(r8) /* 80244A38 00241998 80 08 00 10 */ lwz r0, 0x10(r8) /* 80244A3C 0024199C 90 E1 00 20 */ stw r7, 0x20(r1) /* 80244A40 002419A0 90 C1 00 24 */ stw r6, 0x24(r1) /* 80244A44 002419A4 90 A1 00 28 */ stw r5, 0x28(r1) /* 80244A48 002419A8 90 81 00 2C */ stw r4, 0x2c(r1) /* 80244A4C 002419AC 90 01 00 30 */ stw r0, 0x30(r1) /* 80244A50 002419B0 41 82 00 34 */ beq lbl_80244A84 /* 80244A54 002419B4 80 1F 00 00 */ lwz r0, 0(r31) /* 80244A58 002419B8 38 81 00 20 */ addi r4, r1, 0x20 /* 80244A5C 002419BC C0 02 B8 10 */ lfs f0, lbl_805AD530@sda21(r2) /* 80244A60 002419C0 54 00 10 3A */ slwi r0, r0, 2 /* 80244A64 002419C4 C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2) /* 80244A68 002419C8 7C 44 04 2E */ lfsx f2, r4, r0 /* 80244A6C 002419CC 38 81 00 10 */ addi r4, r1, 0x10 /* 80244A70 002419D0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80244A74 002419D4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80244A78 002419D8 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80244A7C 002419DC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80244A80 002419E0 48 07 DC B5 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms lbl_80244A84: /* 80244A84 002419E4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80244A88 002419E8 80 01 00 54 */ lwz r0, 0x54(r1) /* 80244A8C 002419EC CB E1 00 40 */ lfd f31, 0x40(r1) /* 80244A90 002419F0 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80244A94 002419F4 7C 08 03 A6 */ mtlr r0 /* 80244A98 002419F8 38 21 00 50 */ addi r1, r1, 0x50 /* 80244A9C 002419FC 4E 80 00 20 */ blr .global ProcessUserInput__15CQuitGameScreenFRC11CFinalInput ProcessUserInput__15CQuitGameScreenFRC11CFinalInput: /* 80244AA0 00241A00 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80244AA4 00241A04 7C 08 02 A6 */ mflr r0 /* 80244AA8 00241A08 90 01 00 14 */ stw r0, 0x14(r1) /* 80244AAC 00241A0C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80244AB0 00241A10 7C 9F 23 78 */ mr r31, r4 /* 80244AB4 00241A14 93 C1 00 08 */ stw r30, 8(r1) /* 80244AB8 00241A18 7C 7E 1B 78 */ mr r30, r3 /* 80244ABC 00241A1C 80 04 00 04 */ lwz r0, 4(r4) /* 80244AC0 00241A20 2C 00 00 00 */ cmpwi r0, 0 /* 80244AC4 00241A24 40 82 00 34 */ bne lbl_80244AF8 /* 80244AC8 00241A28 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80244ACC 00241A2C 28 03 00 00 */ cmplwi r3, 0 /* 80244AD0 00241A30 41 82 00 28 */ beq lbl_80244AF8 /* 80244AD4 00241A34 48 07 DB 85 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput /* 80244AD8 00241A38 88 1F 00 2D */ lbz r0, 0x2d(r31) /* 80244ADC 00241A3C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f /* 80244AE0 00241A40 41 82 00 18 */ beq lbl_80244AF8 /* 80244AE4 00241A44 80 1E 00 00 */ lwz r0, 0(r30) /* 80244AE8 00241A48 2C 00 00 01 */ cmpwi r0, 1 /* 80244AEC 00241A4C 41 82 00 0C */ beq lbl_80244AF8 /* 80244AF0 00241A50 38 00 00 02 */ li r0, 2 /* 80244AF4 00241A54 90 1E 00 18 */ stw r0, 0x18(r30) lbl_80244AF8: /* 80244AF8 00241A58 80 01 00 14 */ lwz r0, 0x14(r1) /* 80244AFC 00241A5C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80244B00 00241A60 83 C1 00 08 */ lwz r30, 8(r1) /* 80244B04 00241A64 7C 08 03 A6 */ mtlr r0 /* 80244B08 00241A68 38 21 00 10 */ addi r1, r1, 0x10 /* 80244B0C 00241A6C 4E 80 00 20 */ blr .global __ct__15CQuitGameScreenF9EQuitType __ct__15CQuitGameScreenF9EQuitType: /* 80244B10 00241A70 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80244B14 00241A74 7C 08 02 A6 */ mflr r0 /* 80244B18 00241A78 90 01 00 24 */ stw r0, 0x24(r1) /* 80244B1C 00241A7C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80244B20 00241A80 93 C1 00 18 */ stw r30, 0x18(r1) /* 80244B24 00241A84 7C 7E 1B 78 */ mr r30, r3 /* 80244B28 00241A88 3C 60 80 3D */ lis r3, lbl_803D45B4@ha /* 80244B2C 00241A8C 90 9E 00 00 */ stw r4, 0(r30) /* 80244B30 00241A90 38 A3 45 B4 */ addi r5, r3, lbl_803D45B4@l /* 80244B34 00241A94 38 61 00 08 */ addi r3, r1, 8 /* 80244B38 00241A98 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80244B3C 00241A9C 38 A5 01 68 */ addi r5, r5, 0x168 /* 80244B40 00241AA0 81 84 00 00 */ lwz r12, 0(r4) /* 80244B44 00241AA4 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80244B48 00241AA8 7D 89 03 A6 */ mtctr r12 /* 80244B4C 00241AAC 4E 80 04 21 */ bctrl /* 80244B50 00241AB0 3B FE 00 04 */ addi r31, r30, 4 /* 80244B54 00241AB4 38 81 00 08 */ addi r4, r1, 8 /* 80244B58 00241AB8 7F E3 FB 78 */ mr r3, r31 /* 80244B5C 00241ABC 48 0F C3 4D */ bl __ct__6CTokenFRC6CToken /* 80244B60 00241AC0 38 00 00 00 */ li r0, 0 /* 80244B64 00241AC4 38 61 00 08 */ addi r3, r1, 8 /* 80244B68 00241AC8 90 1F 00 08 */ stw r0, 8(r31) /* 80244B6C 00241ACC 38 80 FF FF */ li r4, -1 /* 80244B70 00241AD0 48 0F C2 D1 */ bl __dt__6CTokenFv /* 80244B74 00241AD4 38 00 00 00 */ li r0, 0 /* 80244B78 00241AD8 7F E3 FB 78 */ mr r3, r31 /* 80244B7C 00241ADC 90 1E 00 10 */ stw r0, 0x10(r30) /* 80244B80 00241AE0 90 1E 00 14 */ stw r0, 0x14(r30) /* 80244B84 00241AE4 90 1E 00 18 */ stw r0, 0x18(r30) /* 80244B88 00241AE8 48 0F C1 FD */ bl Lock__6CTokenFv /* 80244B8C 00241AEC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80244B90 00241AF0 7F C3 F3 78 */ mr r3, r30 /* 80244B94 00241AF4 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80244B98 00241AF8 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80244B9C 00241AFC 7C 08 03 A6 */ mtlr r0 /* 80244BA0 00241B00 38 21 00 20 */ addi r1, r1, 0x20 /* 80244BA4 00241B04 4E 80 00 20 */ blr .global __dt__12CAtomicAlphaFv __dt__12CAtomicAlphaFv: /* 80244BA8 00241B08 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80244BAC 00241B0C 7C 08 02 A6 */ mflr r0 /* 80244BB0 00241B10 90 01 00 24 */ stw r0, 0x24(r1) /* 80244BB4 00241B14 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80244BB8 00241B18 7C 9F 23 78 */ mr r31, r4 /* 80244BBC 00241B1C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80244BC0 00241B20 7C 7E 1B 79 */ or. r30, r3, r3 /* 80244BC4 00241B24 93 A1 00 14 */ stw r29, 0x14(r1) /* 80244BC8 00241B28 93 81 00 10 */ stw r28, 0x10(r1) /* 80244BCC 00241B2C 41 82 01 04 */ beq lbl_80244CD0 /* 80244BD0 00241B30 3C 60 80 3F */ lis r3, lbl_803E88A8@ha /* 80244BD4 00241B34 34 1E 06 DC */ addic. r0, r30, 0x6dc /* 80244BD8 00241B38 38 03 88 A8 */ addi r0, r3, lbl_803E88A8@l /* 80244BDC 00241B3C 90 1E 00 00 */ stw r0, 0(r30) /* 80244BE0 00241B40 41 82 00 40 */ beq lbl_80244C20 /* 80244BE4 00241B44 3B 9E 06 E0 */ addi r28, r30, 0x6e0 /* 80244BE8 00241B48 3B A0 00 00 */ li r29, 0 /* 80244BEC 00241B4C 48 00 00 20 */ b lbl_80244C0C lbl_80244BF0: /* 80244BF0 00241B50 28 1C 00 00 */ cmplwi r28, 0 /* 80244BF4 00241B54 41 82 00 10 */ beq lbl_80244C04 /* 80244BF8 00241B58 41 82 00 0C */ beq lbl_80244C04 /* 80244BFC 00241B5C 7F 83 E3 78 */ mr r3, r28 /* 80244C00 00241B60 48 0F 8E E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80244C04: /* 80244C04 00241B64 3B 9C 00 18 */ addi r28, r28, 0x18 /* 80244C08 00241B68 3B BD 00 01 */ addi r29, r29, 1 lbl_80244C0C: /* 80244C0C 00241B6C 80 1E 06 DC */ lwz r0, 0x6dc(r30) /* 80244C10 00241B70 7C 1D 00 00 */ cmpw r29, r0 /* 80244C14 00241B74 41 80 FF DC */ blt lbl_80244BF0 /* 80244C18 00241B78 38 00 00 00 */ li r0, 0 /* 80244C1C 00241B7C 90 1E 06 DC */ stw r0, 0x6dc(r30) lbl_80244C20: /* 80244C20 00241B80 38 7E 06 90 */ addi r3, r30, 0x690 /* 80244C24 00241B84 38 80 FF FF */ li r4, -1 /* 80244C28 00241B88 4B ED 1E 25 */ bl __dt__10CModelDataFv /* 80244C2C 00241B8C 34 1E 06 68 */ addic. r0, r30, 0x668 /* 80244C30 00241B90 41 82 00 20 */ beq lbl_80244C50 /* 80244C34 00241B94 34 1E 06 68 */ addic. r0, r30, 0x668 /* 80244C38 00241B98 41 82 00 18 */ beq lbl_80244C50 /* 80244C3C 00241B9C 34 1E 06 68 */ addic. r0, r30, 0x668 /* 80244C40 00241BA0 41 82 00 10 */ beq lbl_80244C50 /* 80244C44 00241BA4 38 7E 06 68 */ addi r3, r30, 0x668 /* 80244C48 00241BA8 38 80 00 00 */ li r4, 0 /* 80244C4C 00241BAC 48 0F C1 F5 */ bl __dt__6CTokenFv lbl_80244C50: /* 80244C50 00241BB0 34 1E 05 80 */ addic. r0, r30, 0x580 /* 80244C54 00241BB4 41 82 00 60 */ beq lbl_80244CB4 /* 80244C58 00241BB8 34 1E 05 84 */ addic. r0, r30, 0x584 /* 80244C5C 00241BBC 41 82 00 58 */ beq lbl_80244CB4 /* 80244C60 00241BC0 80 BE 05 84 */ lwz r5, 0x584(r30) /* 80244C64 00241BC4 38 60 00 00 */ li r3, 0 /* 80244C68 00241BC8 2C 05 00 00 */ cmpwi r5, 0 /* 80244C6C 00241BCC 40 81 00 40 */ ble lbl_80244CAC /* 80244C70 00241BD0 2C 05 00 08 */ cmpwi r5, 8 /* 80244C74 00241BD4 38 85 FF F8 */ addi r4, r5, -8 /* 80244C78 00241BD8 40 81 00 20 */ ble lbl_80244C98 /* 80244C7C 00241BDC 38 04 00 07 */ addi r0, r4, 7 /* 80244C80 00241BE0 54 00 E8 FE */ srwi r0, r0, 3 /* 80244C84 00241BE4 7C 09 03 A6 */ mtctr r0 /* 80244C88 00241BE8 2C 04 00 00 */ cmpwi r4, 0 /* 80244C8C 00241BEC 40 81 00 0C */ ble lbl_80244C98 lbl_80244C90: /* 80244C90 00241BF0 38 63 00 08 */ addi r3, r3, 8 /* 80244C94 00241BF4 42 00 FF FC */ bdnz lbl_80244C90 lbl_80244C98: /* 80244C98 00241BF8 7C 03 28 50 */ subf r0, r3, r5 /* 80244C9C 00241BFC 7C 09 03 A6 */ mtctr r0 /* 80244CA0 00241C00 7C 03 28 00 */ cmpw r3, r5 /* 80244CA4 00241C04 40 80 00 08 */ bge lbl_80244CAC lbl_80244CA8: /* 80244CA8 00241C08 42 00 00 00 */ bdnz lbl_80244CA8 lbl_80244CAC: /* 80244CAC 00241C0C 38 00 00 00 */ li r0, 0 /* 80244CB0 00241C10 90 1E 05 84 */ stw r0, 0x584(r30) lbl_80244CB4: /* 80244CB4 00241C14 7F C3 F3 78 */ mr r3, r30 /* 80244CB8 00241C18 38 80 00 00 */ li r4, 0 /* 80244CBC 00241C1C 4B E3 28 B5 */ bl __dt__10CPatternedFv /* 80244CC0 00241C20 7F E0 07 35 */ extsh. r0, r31 /* 80244CC4 00241C24 40 81 00 0C */ ble lbl_80244CD0 /* 80244CC8 00241C28 7F C3 F3 78 */ mr r3, r30 /* 80244CCC 00241C2C 48 0D 0C 65 */ bl Free__7CMemoryFPCv lbl_80244CD0: /* 80244CD0 00241C30 80 01 00 24 */ lwz r0, 0x24(r1) /* 80244CD4 00241C34 7F C3 F3 78 */ mr r3, r30 /* 80244CD8 00241C38 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80244CDC 00241C3C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80244CE0 00241C40 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80244CE4 00241C44 83 81 00 10 */ lwz r28, 0x10(r1) /* 80244CE8 00241C48 7C 08 03 A6 */ mtlr r0 /* 80244CEC 00241C4C 38 21 00 20 */ addi r1, r1, 0x20 /* 80244CF0 00241C50 4E 80 00 20 */ blr .global sub_80244cf4 sub_80244cf4: /* 80244CF4 00241C54 38 63 06 68 */ addi r3, r3, 0x668 /* 80244CF8 00241C58 4E 80 00 20 */ blr .global GetSearchPath__12CAtomicAlphaFv GetSearchPath__12CAtomicAlphaFv: /* 80244CFC 00241C5C 38 63 05 80 */ addi r3, r3, 0x580 /* 80244D00 00241C60 4E 80 00 20 */ blr .global GetCollisionResponseType__12CAtomicAlphaCFRC9CVector3fRC9CVector3fRC11CWeaponModei GetCollisionResponseType__12CAtomicAlphaCFRC9CVector3fRC9CVector3fRC11CWeaponModei: /* 80244D04 00241C64 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80244D08 00241C68 7C 08 02 A6 */ mflr r0 /* 80244D0C 00241C6C 90 01 00 14 */ stw r0, 0x14(r1) /* 80244D10 00241C70 93 E1 00 0C */ stw r31, 0xc(r1) /* 80244D14 00241C74 7C DF 33 78 */ mr r31, r6 /* 80244D18 00241C78 81 83 00 00 */ lwz r12, 0(r3) /* 80244D1C 00241C7C 81 8C 00 38 */ lwz r12, 0x38(r12) /* 80244D20 00241C80 7D 89 03 A6 */ mtctr r12 /* 80244D24 00241C84 4E 80 04 21 */ bctrl /* 80244D28 00241C88 7F E4 FB 78 */ mr r4, r31 /* 80244D2C 00241C8C 38 A0 00 00 */ li r5, 0 /* 80244D30 00241C90 4B EB D8 55 */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei /* 80244D34 00241C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80244D38 00241C98 38 60 00 5D */ li r3, 0x5d /* 80244D3C 00241C9C 41 82 00 08 */ beq lbl_80244D44 /* 80244D40 00241CA0 38 60 00 2B */ li r3, 0x2b lbl_80244D44: /* 80244D44 00241CA4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80244D48 00241CA8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80244D4C 00241CAC 7C 08 03 A6 */ mtlr r0 /* 80244D50 00241CB0 38 21 00 10 */ addi r1, r1, 0x10 /* 80244D54 00241CB4 4E 80 00 20 */ blr .global Attack__12CAtomicAlphaFR13CStateManager9EStateMsgf Attack__12CAtomicAlphaFR13CStateManager9EStateMsgf: /* 80244D58 00241CB8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80244D5C 00241CBC 7C 08 02 A6 */ mflr r0 /* 80244D60 00241CC0 2C 05 00 01 */ cmpwi r5, 1 /* 80244D64 00241CC4 90 01 00 54 */ stw r0, 0x54(r1) /* 80244D68 00241CC8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80244D6C 00241CCC 7C 7F 1B 78 */ mr r31, r3 /* 80244D70 00241CD0 41 82 00 30 */ beq lbl_80244DA0 /* 80244D74 00241CD4 40 80 00 10 */ bge lbl_80244D84 /* 80244D78 00241CD8 2C 05 00 00 */ cmpwi r5, 0 /* 80244D7C 00241CDC 40 80 00 14 */ bge lbl_80244D90 /* 80244D80 00241CE0 48 00 00 B4 */ b lbl_80244E34 lbl_80244D84: /* 80244D84 00241CE4 2C 05 00 03 */ cmpwi r5, 3 /* 80244D88 00241CE8 40 80 00 AC */ bge lbl_80244E34 /* 80244D8C 00241CEC 48 00 00 9C */ b lbl_80244E28 lbl_80244D90: /* 80244D90 00241CF0 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80244D94 00241CF4 38 80 00 08 */ li r4, 8 /* 80244D98 00241CF8 4B EF 5C 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80244D9C 00241CFC 48 00 00 98 */ b lbl_80244E34 lbl_80244DA0: /* 80244DA0 00241D00 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80244DA4 00241D04 38 61 00 14 */ addi r3, r1, 0x14 /* 80244DA8 00241D08 48 03 FF D5 */ bl GetEyePosition__7CPlayerCFv /* 80244DAC 00241D0C C0 41 00 14 */ lfs f2, 0x14(r1) /* 80244DB0 00241D10 7F E5 FB 78 */ mr r5, r31 /* 80244DB4 00241D14 C0 21 00 18 */ lfs f1, 0x18(r1) /* 80244DB8 00241D18 38 61 00 08 */ addi r3, r1, 8 /* 80244DBC 00241D1C C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80244DC0 00241D20 38 9F 06 64 */ addi r4, r31, 0x664 /* 80244DC4 00241D24 D0 41 00 20 */ stfs f2, 0x20(r1) /* 80244DC8 00241D28 38 C1 00 20 */ addi r6, r1, 0x20 /* 80244DCC 00241D2C D0 21 00 24 */ stfs f1, 0x24(r1) /* 80244DD0 00241D30 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80244DD4 00241D34 4B EF 9E 4D */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f /* 80244DD8 00241D38 3C 60 80 5A */ lis r3, skZero3f@ha /* 80244DDC 00241D3C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) /* 80244DE0 00241D40 C0 C1 00 08 */ lfs f6, 8(r1) /* 80244DE4 00241D44 38 81 00 2C */ addi r4, r1, 0x2c /* 80244DE8 00241D48 C0 A1 00 0C */ lfs f5, 0xc(r1) /* 80244DEC 00241D4C C0 81 00 10 */ lfs f4, 0x10(r1) /* 80244DF0 00241D50 C0 43 00 04 */ lfs f2, 4(r3) /* 80244DF4 00241D54 C0 23 00 08 */ lfs f1, 8(r3) /* 80244DF8 00241D58 C0 02 B8 40 */ lfs f0, lbl_805AD560@sda21(r2) /* 80244DFC 00241D5C D0 C1 00 2C */ stfs f6, 0x2c(r1) /* 80244E00 00241D60 D0 A1 00 30 */ stfs f5, 0x30(r1) /* 80244E04 00241D64 D0 81 00 34 */ stfs f4, 0x34(r1) /* 80244E08 00241D68 D0 61 00 38 */ stfs f3, 0x38(r1) /* 80244E0C 00241D6C D0 41 00 3C */ stfs f2, 0x3c(r1) /* 80244E10 00241D70 D0 21 00 40 */ stfs f1, 0x40(r1) /* 80244E14 00241D74 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80244E18 00241D78 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80244E1C 00241D7C 38 63 00 04 */ addi r3, r3, 4 /* 80244E20 00241D80 4B EE C8 F9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd /* 80244E24 00241D84 48 00 00 10 */ b lbl_80244E34 lbl_80244E28: /* 80244E28 00241D88 80 7F 04 50 */ lwz r3, 0x450(r31) /* 80244E2C 00241D8C 38 80 00 01 */ li r4, 1 /* 80244E30 00241D90 4B EF 5B A9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType lbl_80244E34: /* 80244E34 00241D94 80 01 00 54 */ lwz r0, 0x54(r1) /* 80244E38 00241D98 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 80244E3C 00241D9C 7C 08 03 A6 */ mtlr r0 /* 80244E40 00241DA0 38 21 00 50 */ addi r1, r1, 0x50 /* 80244E44 00241DA4 4E 80 00 20 */ blr .global AggressionCheck__12CAtomicAlphaFR13CStateManagerf AggressionCheck__12CAtomicAlphaFR13CStateManagerf: /* 80244E48 00241DA8 88 03 05 68 */ lbz r0, 0x568(r3) /* 80244E4C 00241DAC 80 64 08 4C */ lwz r3, 0x84c(r4) /* 80244E50 00241DB0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 80244E54 00241DB4 80 63 04 90 */ lwz r3, 0x490(r3) /* 80244E58 00241DB8 41 82 00 30 */ beq lbl_80244E88 /* 80244E5C 00241DBC 88 03 08 34 */ lbz r0, 0x834(r3) /* 80244E60 00241DC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80244E64 00241DC4 41 82 00 0C */ beq lbl_80244E70 /* 80244E68 00241DC8 C0 23 03 40 */ lfs f1, 0x340(r3) /* 80244E6C 00241DCC 48 00 00 08 */ b lbl_80244E74 lbl_80244E70: /* 80244E70 00241DD0 C0 22 B8 44 */ lfs f1, lbl_805AD564@sda21(r2) lbl_80244E74: /* 80244E74 00241DD4 C0 02 B8 48 */ lfs f0, lbl_805AD568@sda21(r2) /* 80244E78 00241DD8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80244E7C 00241DDC 40 81 00 0C */ ble lbl_80244E88 /* 80244E80 00241DE0 38 60 00 01 */ li r3, 1 /* 80244E84 00241DE4 4E 80 00 20 */ blr lbl_80244E88: /* 80244E88 00241DE8 38 60 00 00 */ li r3, 0 /* 80244E8C 00241DEC 4E 80 00 20 */ blr .global DoUserAnimEvent__12CAtomicAlphaFR13CStateManagerRC13CInt32POINode14EUserEventType DoUserAnimEvent__12CAtomicAlphaFR13CStateManagerRC13CInt32POINode14EUserEventType: /* 80244E90 00241DF0 94 21 FE D0 */ stwu r1, -0x130(r1) /* 80244E94 00241DF4 7C 08 02 A6 */ mflr r0 /* 80244E98 00241DF8 90 01 01 34 */ stw r0, 0x134(r1) /* 80244E9C 00241DFC DB E1 01 20 */ stfd f31, 0x120(r1) /* 80244EA0 00241E00 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 80244EA4 00241E04 93 E1 01 1C */ stw r31, 0x11c(r1) /* 80244EA8 00241E08 93 C1 01 18 */ stw r30, 0x118(r1) /* 80244EAC 00241E0C 93 A1 01 14 */ stw r29, 0x114(r1) /* 80244EB0 00241E10 93 81 01 10 */ stw r28, 0x110(r1) /* 80244EB4 00241E14 7C DF 33 79 */ or. r31, r6, r6 /* 80244EB8 00241E18 FF E0 08 90 */ fmr f31, f1 /* 80244EBC 00241E1C 7C BE 2B 78 */ mr r30, r5 /* 80244EC0 00241E20 7C 7C 1B 78 */ mr r28, r3 /* 80244EC4 00241E24 7C 9D 23 78 */ mr r29, r4 /* 80244EC8 00241E28 38 A0 00 00 */ li r5, 0 /* 80244ECC 00241E2C 41 82 00 08 */ beq lbl_80244ED4 /* 80244ED0 00241E30 48 00 01 34 */ b lbl_80245004 lbl_80244ED4: /* 80244ED4 00241E34 7F 84 E3 78 */ mr r4, r28 /* 80244ED8 00241E38 38 61 00 74 */ addi r3, r1, 0x74 /* 80244EDC 00241E3C 38 BE 00 3C */ addi r5, r30, 0x3c /* 80244EE0 00241E40 4B E3 3A 99 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80244EE4 00241E44 38 61 00 D4 */ addi r3, r1, 0xd4 /* 80244EE8 00241E48 38 81 00 74 */ addi r4, r1, 0x74 /* 80244EEC 00241E4C 48 0C DC 89 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80244EF0 00241E50 3C 60 80 5A */ lis r3, lbl_805A6700@ha /* 80244EF4 00241E54 C0 A1 01 00 */ lfs f5, 0x100(r1) /* 80244EF8 00241E58 38 83 67 00 */ addi r4, r3, lbl_805A6700@l /* 80244EFC 00241E5C C0 81 00 E0 */ lfs f4, 0xe0(r1) /* 80244F00 00241E60 C0 61 00 F0 */ lfs f3, 0xf0(r1) /* 80244F04 00241E64 3C 60 80 5A */ lis r3, lbl_805A66F4@ha /* 80244F08 00241E68 C0 44 00 04 */ lfs f2, 4(r4) /* 80244F0C 00241E6C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l /* 80244F10 00241E70 C0 24 00 08 */ lfs f1, 8(r4) /* 80244F14 00241E74 38 61 00 44 */ addi r3, r1, 0x44 /* 80244F18 00241E78 C0 04 00 00 */ lfs f0, 0(r4) /* 80244F1C 00241E7C EC 43 10 2A */ fadds f2, f3, f2 /* 80244F20 00241E80 EC 25 08 2A */ fadds f1, f5, f1 /* 80244F24 00241E84 D0 81 00 38 */ stfs f4, 0x38(r1) /* 80244F28 00241E88 EC 04 00 2A */ fadds f0, f4, f0 /* 80244F2C 00241E8C 38 81 00 38 */ addi r4, r1, 0x38 /* 80244F30 00241E90 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 80244F34 00241E94 38 A1 00 2C */ addi r5, r1, 0x2c /* 80244F38 00241E98 D0 A1 00 40 */ stfs f5, 0x40(r1) /* 80244F3C 00241E9C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 80244F40 00241EA0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 80244F44 00241EA4 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80244F48 00241EA8 48 0C EB C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f /* 80244F4C 00241EAC 38 61 00 A4 */ addi r3, r1, 0xa4 /* 80244F50 00241EB0 38 81 00 44 */ addi r4, r1, 0x44 /* 80244F54 00241EB4 48 0C DC 21 */ bl __ct__12CTransform4fFRC12CTransform4f /* 80244F58 00241EB8 C0 02 B8 40 */ lfs f0, lbl_805AD560@sda21(r2) /* 80244F5C 00241EBC 39 60 00 00 */ li r11, 0 /* 80244F60 00241EC0 99 61 00 28 */ stb r11, 0x28(r1) /* 80244F64 00241EC4 38 01 00 10 */ addi r0, r1, 0x10 /* 80244F68 00241EC8 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) /* 80244F6C 00241ECC 7F 83 E3 78 */ mr r3, r28 /* 80244F70 00241ED0 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80244F74 00241ED4 7F A5 EB 78 */ mr r5, r29 /* 80244F78 00241ED8 38 81 00 A4 */ addi r4, r1, 0xa4 /* 80244F7C 00241EDC 39 21 00 1C */ addi r9, r1, 0x1c /* 80244F80 00241EE0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80244F84 00241EE4 38 C0 00 04 */ li r6, 4 /* 80244F88 00241EE8 38 E0 00 00 */ li r7, 0 /* 80244F8C 00241EEC 39 00 00 00 */ li r8, 0 /* 80244F90 00241EF0 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80244F94 00241EF4 91 61 00 08 */ stw r11, 8(r1) /* 80244F98 00241EF8 90 01 00 0C */ stw r0, 0xc(r1) /* 80244F9C 00241EFC 4B E3 2A 5D */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" /* 80244FA0 00241F00 88 01 00 28 */ lbz r0, 0x28(r1) /* 80244FA4 00241F04 28 00 00 00 */ cmplwi r0, 0 /* 80244FA8 00241F08 41 82 00 1C */ beq lbl_80244FC4 /* 80244FAC 00241F0C 34 61 00 1C */ addic. r3, r1, 0x1c /* 80244FB0 00241F10 41 82 00 14 */ beq lbl_80244FC4 /* 80244FB4 00241F14 28 03 00 00 */ cmplwi r3, 0 /* 80244FB8 00241F18 41 82 00 0C */ beq lbl_80244FC4 /* 80244FBC 00241F1C 38 80 00 00 */ li r4, 0 /* 80244FC0 00241F20 48 0F BE 81 */ bl __dt__6CTokenFv lbl_80244FC4: /* 80244FC4 00241F24 38 00 00 00 */ li r0, 0 /* 80244FC8 00241F28 C0 02 B8 44 */ lfs f0, lbl_805AD564@sda21(r2) /* 80244FCC 00241F2C 98 01 00 28 */ stb r0, 0x28(r1) /* 80244FD0 00241F30 38 A0 00 01 */ li r5, 1 /* 80244FD4 00241F34 D0 1C 05 78 */ stfs f0, 0x578(r28) /* 80244FD8 00241F38 80 1C 05 7C */ lwz r0, 0x57c(r28) /* 80244FDC 00241F3C 1C 00 00 18 */ mulli r0, r0, 0x18 /* 80244FE0 00241F40 7C 7C 02 14 */ add r3, r28, r0 /* 80244FE4 00241F44 D0 03 06 F4 */ stfs f0, 0x6f4(r3) /* 80244FE8 00241F48 80 9C 05 7C */ lwz r4, 0x57c(r28) /* 80244FEC 00241F4C 80 7C 06 DC */ lwz r3, 0x6dc(r28) /* 80244FF0 00241F50 38 84 00 01 */ addi r4, r4, 1 /* 80244FF4 00241F54 7C 04 1B D6 */ divw r0, r4, r3 /* 80244FF8 00241F58 7C 00 19 D6 */ mullw r0, r0, r3 /* 80244FFC 00241F5C 7C 00 20 50 */ subf r0, r0, r4 /* 80245000 00241F60 90 1C 05 7C */ stw r0, 0x57c(r28) lbl_80245004: /* 80245004 00241F64 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 80245008 00241F68 40 82 00 1C */ bne lbl_80245024 /* 8024500C 00241F6C FC 20 F8 90 */ fmr f1, f31 /* 80245010 00241F70 7F 83 E3 78 */ mr r3, r28 /* 80245014 00241F74 7F A4 EB 78 */ mr r4, r29 /* 80245018 00241F78 7F C5 F3 78 */ mr r5, r30 /* 8024501C 00241F7C 7F E6 FB 78 */ mr r6, r31 /* 80245020 00241F80 4B E3 3E 91 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType lbl_80245024: /* 80245024 00241F84 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 80245028 00241F88 80 01 01 34 */ lwz r0, 0x134(r1) /* 8024502C 00241F8C CB E1 01 20 */ lfd f31, 0x120(r1) /* 80245030 00241F90 83 E1 01 1C */ lwz r31, 0x11c(r1) /* 80245034 00241F94 83 C1 01 18 */ lwz r30, 0x118(r1) /* 80245038 00241F98 83 A1 01 14 */ lwz r29, 0x114(r1) /* 8024503C 00241F9C 83 81 01 10 */ lwz r28, 0x110(r1) /* 80245040 00241FA0 7C 08 03 A6 */ mtlr r0 /* 80245044 00241FA4 38 21 01 30 */ addi r1, r1, 0x130 /* 80245048 00241FA8 4E 80 00 20 */ blr .global Leash__12CAtomicAlphaFR13CStateManagerf Leash__12CAtomicAlphaFR13CStateManagerf: /* 8024504C 00241FAC 80 84 08 4C */ lwz r4, 0x84c(r4) /* 80245050 00241FB0 38 00 00 00 */ li r0, 0 /* 80245054 00241FB4 C0 03 03 CC */ lfs f0, 0x3cc(r3) /* 80245058 00241FB8 C0 44 00 50 */ lfs f2, 0x50(r4) /* 8024505C 00241FBC C0 23 00 50 */ lfs f1, 0x50(r3) /* 80245060 00241FC0 EC 00 00 32 */ fmuls f0, f0, f0 /* 80245064 00241FC4 C0 84 00 40 */ lfs f4, 0x40(r4) /* 80245068 00241FC8 EC A2 08 28 */ fsubs f5, f2, f1 /* 8024506C 00241FCC C0 23 00 40 */ lfs f1, 0x40(r3) /* 80245070 00241FD0 C0 64 00 60 */ lfs f3, 0x60(r4) /* 80245074 00241FD4 EC 84 08 28 */ fsubs f4, f4, f1 /* 80245078 00241FD8 C0 43 00 60 */ lfs f2, 0x60(r3) /* 8024507C 00241FDC EC 25 01 72 */ fmuls f1, f5, f5 /* 80245080 00241FE0 EC 43 10 28 */ fsubs f2, f3, f2 /* 80245084 00241FE4 EC 24 09 3A */ fmadds f1, f4, f4, f1 /* 80245088 00241FE8 EC 22 08 BA */ fmadds f1, f2, f2, f1 /* 8024508C 00241FEC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80245090 00241FF0 40 81 00 18 */ ble lbl_802450A8 /* 80245094 00241FF4 C0 23 03 D4 */ lfs f1, 0x3d4(r3) /* 80245098 00241FF8 C0 03 03 D0 */ lfs f0, 0x3d0(r3) /* 8024509C 00241FFC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 802450A0 00242000 40 81 00 08 */ ble lbl_802450A8 /* 802450A4 00242004 38 00 00 01 */ li r0, 1 lbl_802450A8: /* 802450A8 00242008 7C 03 03 78 */ mr r3, r0 /* 802450AC 0024200C 4E 80 00 20 */ blr .global Patrol__12CAtomicAlphaFR13CStateManager9EStateMsgf Patrol__12CAtomicAlphaFR13CStateManager9EStateMsgf: /* 802450B0 00242010 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802450B4 00242014 7C 08 02 A6 */ mflr r0 /* 802450B8 00242018 90 01 00 34 */ stw r0, 0x34(r1) /* 802450BC 0024201C DB E1 00 20 */ stfd f31, 0x20(r1) /* 802450C0 00242020 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 802450C4 00242024 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802450C8 00242028 93 C1 00 18 */ stw r30, 0x18(r1) /* 802450CC 0024202C 93 A1 00 14 */ stw r29, 0x14(r1) /* 802450D0 00242030 FF E0 08 90 */ fmr f31, f1 /* 802450D4 00242034 7C 7D 1B 78 */ mr r29, r3 /* 802450D8 00242038 7C 9E 23 78 */ mr r30, r4 /* 802450DC 0024203C 7C BF 2B 78 */ mr r31, r5 /* 802450E0 00242040 4B FB 1D 95 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf /* 802450E4 00242044 2C 1F 00 01 */ cmpwi r31, 1 /* 802450E8 00242048 41 82 00 2C */ beq lbl_80245114 /* 802450EC 0024204C 40 80 00 10 */ bge lbl_802450FC /* 802450F0 00242050 2C 1F 00 00 */ cmpwi r31, 0 /* 802450F4 00242054 40 80 00 14 */ bge lbl_80245108 /* 802450F8 00242058 48 00 01 18 */ b lbl_80245210 lbl_802450FC: /* 802450FC 0024205C 2C 1F 00 03 */ cmpwi r31, 3 /* 80245100 00242060 40 80 01 10 */ bge lbl_80245210 /* 80245104 00242064 48 00 00 FC */ b lbl_80245200 lbl_80245108: /* 80245108 00242068 C0 02 B8 44 */ lfs f0, lbl_805AD564@sda21(r2) /* 8024510C 0024206C D0 1D 05 78 */ stfs f0, 0x578(r29) /* 80245110 00242070 48 00 01 00 */ b lbl_80245210 lbl_80245114: /* 80245114 00242074 88 1D 05 68 */ lbz r0, 0x568(r29) /* 80245118 00242078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024511C 0024207C 41 82 00 A0 */ beq lbl_802451BC /* 80245120 00242080 C0 3D 05 78 */ lfs f1, 0x578(r29) /* 80245124 00242084 38 00 00 00 */ li r0, 0 /* 80245128 00242088 C0 1D 05 6C */ lfs f0, 0x56c(r29) /* 8024512C 0024208C FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80245130 00242090 4C 41 13 82 */ cror 2, 1, 2 /* 80245134 00242094 40 82 00 20 */ bne lbl_80245154 /* 80245138 00242098 C0 3D 05 70 */ lfs f1, 0x570(r29) /* 8024513C 0024209C C0 1D 05 74 */ lfs f0, 0x574(r29) /* 80245140 002420A0 C0 5D 06 F4 */ lfs f2, 0x6f4(r29) /* 80245144 002420A4 EC 01 00 2A */ fadds f0, f1, f0 /* 80245148 002420A8 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8024514C 002420AC 40 81 00 08 */ ble lbl_80245154 /* 80245150 002420B0 38 00 00 01 */ li r0, 1 lbl_80245154: /* 80245154 002420B4 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80245158 002420B8 41 82 00 20 */ beq lbl_80245178 /* 8024515C 002420BC 80 1D 05 7C */ lwz r0, 0x57c(r29) /* 80245160 002420C0 80 7D 04 50 */ lwz r3, 0x450(r29) /* 80245164 002420C4 1C 00 00 18 */ mulli r0, r0, 0x18 /* 80245168 002420C8 7C 9D 02 14 */ add r4, r29, r0 /* 8024516C 002420CC 80 84 06 F0 */ lwz r4, 0x6f0(r4) /* 80245170 002420D0 4B EF 58 69 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 80245174 002420D4 48 00 00 10 */ b lbl_80245184 lbl_80245178: /* 80245178 002420D8 80 7D 04 50 */ lwz r3, 0x450(r29) /* 8024517C 002420DC 38 80 00 01 */ li r4, 1 /* 80245180 002420E0 4B EF 58 59 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType lbl_80245184: /* 80245184 002420E4 7F A3 EB 78 */ mr r3, r29 /* 80245188 002420E8 FC 20 F8 90 */ fmr f1, f31 /* 8024518C 002420EC 81 9D 00 00 */ lwz r12, 0(r29) /* 80245190 002420F0 7F C4 F3 78 */ mr r4, r30 /* 80245194 002420F4 81 8C 01 84 */ lwz r12, 0x184(r12) /* 80245198 002420F8 7D 89 03 A6 */ mtctr r12 /* 8024519C 002420FC 4E 80 04 21 */ bctrl /* 802451A0 00242100 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802451A4 00242104 41 82 00 6C */ beq lbl_80245210 /* 802451A8 00242108 88 1D 05 68 */ lbz r0, 0x568(r29) /* 802451AC 0024210C 38 60 00 00 */ li r3, 0 /* 802451B0 00242110 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802451B4 00242114 98 1D 05 68 */ stb r0, 0x568(r29) /* 802451B8 00242118 48 00 00 58 */ b lbl_80245210 lbl_802451BC: /* 802451BC 0024211C 80 7D 04 50 */ lwz r3, 0x450(r29) /* 802451C0 00242120 38 80 00 01 */ li r4, 1 /* 802451C4 00242124 4B EF 58 15 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType /* 802451C8 00242128 7F A3 EB 78 */ mr r3, r29 /* 802451CC 0024212C FC 20 F8 90 */ fmr f1, f31 /* 802451D0 00242130 81 9D 00 00 */ lwz r12, 0(r29) /* 802451D4 00242134 7F C4 F3 78 */ mr r4, r30 /* 802451D8 00242138 81 8C 01 A4 */ lwz r12, 0x1a4(r12) /* 802451DC 0024213C 7D 89 03 A6 */ mtctr r12 /* 802451E0 00242140 4E 80 04 21 */ bctrl /* 802451E4 00242144 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802451E8 00242148 41 82 00 28 */ beq lbl_80245210 /* 802451EC 0024214C 88 1D 05 68 */ lbz r0, 0x568(r29) /* 802451F0 00242150 38 60 00 01 */ li r3, 1 /* 802451F4 00242154 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802451F8 00242158 98 1D 05 68 */ stb r0, 0x568(r29) /* 802451FC 0024215C 48 00 00 14 */ b lbl_80245210 lbl_80245200: /* 80245200 00242160 88 1D 05 68 */ lbz r0, 0x568(r29) /* 80245204 00242164 38 60 00 00 */ li r3, 0 /* 80245208 00242168 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8024520C 0024216C 98 1D 05 68 */ stb r0, 0x568(r29) lbl_80245210: /* 80245210 00242170 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80245214 00242174 80 01 00 34 */ lwz r0, 0x34(r1) /* 80245218 00242178 CB E1 00 20 */ lfd f31, 0x20(r1) /* 8024521C 0024217C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80245220 00242180 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80245224 00242184 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80245228 00242188 7C 08 03 A6 */ mtlr r0 /* 8024522C 0024218C 38 21 00 30 */ addi r1, r1, 0x30 /* 80245230 00242190 4E 80 00 20 */ blr .global AddToRenderer__12CAtomicAlphaCFRC14CFrustumPlanesRC13CStateManager AddToRenderer__12CAtomicAlphaCFRC14CFrustumPlanesRC13CStateManager: /* 80245234 00242194 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80245238 00242198 7C 08 02 A6 */ mflr r0 /* 8024523C 0024219C 90 01 00 24 */ stw r0, 0x24(r1) /* 80245240 002421A0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80245244 002421A4 7C BF 2B 78 */ mr r31, r5 /* 80245248 002421A8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024524C 002421AC 7C 9E 23 78 */ mr r30, r4 /* 80245250 002421B0 7F E4 FB 78 */ mr r4, r31 /* 80245254 002421B4 93 A1 00 14 */ stw r29, 0x14(r1) /* 80245258 002421B8 7C 7D 1B 78 */ mr r29, r3 /* 8024525C 002421BC 80 A5 08 B8 */ lwz r5, 0x8b8(r5) /* 80245260 002421C0 80 65 00 00 */ lwz r3, 0(r5) /* 80245264 002421C4 4B E4 C2 F5 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 80245268 002421C8 88 1D 05 68 */ lbz r0, 0x568(r29) /* 8024526C 002421CC 20 63 00 01 */ subfic r3, r3, 1 /* 80245270 002421D0 7C 63 00 34 */ cntlzw r3, r3 /* 80245274 002421D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80245278 002421D8 54 60 D9 7E */ srwi r0, r3, 5 /* 8024527C 002421DC 41 82 00 0C */ beq lbl_80245288 /* 80245280 002421E0 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80245284 002421E4 41 82 00 14 */ beq lbl_80245298 lbl_80245288: /* 80245288 002421E8 7F A3 EB 78 */ mr r3, r29 /* 8024528C 002421EC 7F C4 F3 78 */ mr r4, r30 /* 80245290 002421F0 7F E5 FB 78 */ mr r5, r31 /* 80245294 002421F4 4B E3 26 25 */ bl AddToRenderer__10CPatternedCFRC14CFrustumPlanesRC13CStateManager lbl_80245298: /* 80245298 002421F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024529C 002421FC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802452A0 00242200 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802452A4 00242204 83 A1 00 14 */ lwz r29, 0x14(r1) /* 802452A8 00242208 7C 08 03 A6 */ mtlr r0 /* 802452AC 0024220C 38 21 00 20 */ addi r1, r1, 0x20 /* 802452B0 00242210 4E 80 00 20 */ blr .global Render__12CAtomicAlphaCFRC13CStateManager Render__12CAtomicAlphaCFRC13CStateManager: /* 802452B4 00242214 94 21 FE E0 */ stwu r1, -0x120(r1) /* 802452B8 00242218 7C 08 02 A6 */ mflr r0 /* 802452BC 0024221C 90 01 01 24 */ stw r0, 0x124(r1) /* 802452C0 00242220 BF 61 01 0C */ stmw r27, 0x10c(r1) /* 802452C4 00242224 7C 7B 1B 78 */ mr r27, r3 /* 802452C8 00242228 7C 9C 23 78 */ mr r28, r4 /* 802452CC 0024222C 80 64 08 B8 */ lwz r3, 0x8b8(r4) /* 802452D0 00242230 80 63 00 00 */ lwz r3, 0(r3) /* 802452D4 00242234 4B E4 C2 85 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager /* 802452D8 00242238 88 1B 05 68 */ lbz r0, 0x568(r27) /* 802452DC 0024223C 20 63 00 01 */ subfic r3, r3, 1 /* 802452E0 00242240 7C 63 00 34 */ cntlzw r3, r3 /* 802452E4 00242244 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 802452E8 00242248 54 60 D9 7E */ srwi r0, r3, 5 /* 802452EC 0024224C 41 82 00 0C */ beq lbl_802452F8 /* 802452F0 00242250 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 802452F4 00242254 41 82 01 10 */ beq lbl_80245404 lbl_802452F8: /* 802452F8 00242258 7F 63 DB 78 */ mr r3, r27 /* 802452FC 0024225C 7F 84 E3 78 */ mr r4, r28 /* 80245300 00242260 4B E3 2D 2D */ bl Render__10CPatternedCFRC13CStateManager /* 80245304 00242264 3B FB 06 E0 */ addi r31, r27, 0x6e0 /* 80245308 00242268 3B C1 00 14 */ addi r30, r1, 0x14 /* 8024530C 0024226C 3B A0 00 00 */ li r29, 0 /* 80245310 00242270 48 00 00 E8 */ b lbl_802453F8 lbl_80245314: /* 80245314 00242274 C0 5F 00 14 */ lfs f2, 0x14(r31) /* 80245318 00242278 C0 3B 05 70 */ lfs f1, 0x570(r27) /* 8024531C 0024227C C0 0D 96 E0 */ lfs f0, lbl_805A82A0@sda21(r13) /* 80245320 00242280 EC 22 08 28 */ fsubs f1, f2, f1 /* 80245324 00242284 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80245328 00242288 D0 21 00 08 */ stfs f1, 8(r1) /* 8024532C 0024228C 40 80 00 0C */ bge lbl_80245338 /* 80245330 00242290 38 61 00 08 */ addi r3, r1, 8 /* 80245334 00242294 48 00 00 08 */ b lbl_8024533C lbl_80245338: /* 80245338 00242298 38 6D 96 E0 */ addi r3, r13, lbl_805A82A0@sda21 lbl_8024533C: /* 8024533C 0024229C C0 43 00 00 */ lfs f2, 0(r3) /* 80245340 002422A0 C0 3B 05 70 */ lfs f1, 0x570(r27) /* 80245344 002422A4 C0 0D 96 E4 */ lfs f0, lbl_805A82A4@sda21(r13) /* 80245348 002422A8 EC 22 08 24 */ fdivs f1, f2, f1 /* 8024534C 002422AC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80245350 002422B0 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80245354 002422B4 40 80 00 0C */ bge lbl_80245360 /* 80245358 002422B8 38 6D 96 E4 */ addi r3, r13, lbl_805A82A4@sda21 /* 8024535C 002422BC 48 00 00 08 */ b lbl_80245364 lbl_80245360: /* 80245360 002422C0 38 61 00 0C */ addi r3, r1, 0xc lbl_80245364: /* 80245364 002422C4 C0 23 00 00 */ lfs f1, 0(r3) /* 80245368 002422C8 38 61 00 18 */ addi r3, r1, 0x18 /* 8024536C 002422CC 48 0C DE D5 */ bl Scale__12CTransform4fFf /* 80245370 002422D0 7F 64 DB 78 */ mr r4, r27 /* 80245374 002422D4 7F E5 FB 78 */ mr r5, r31 /* 80245378 002422D8 38 61 00 48 */ addi r3, r1, 0x48 /* 8024537C 002422DC 4B E0 DB 55 */ bl "GetScaledLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245380 002422E0 38 61 00 78 */ addi r3, r1, 0x78 /* 80245384 002422E4 38 9B 00 34 */ addi r4, r27, 0x34 /* 80245388 002422E8 38 A1 00 48 */ addi r5, r1, 0x48 /* 8024538C 002422EC 48 0C D5 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80245390 002422F0 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80245394 002422F4 38 81 00 78 */ addi r4, r1, 0x78 /* 80245398 002422F8 38 A1 00 18 */ addi r5, r1, 0x18 /* 8024539C 002422FC 48 0C D5 B5 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 802453A0 00242300 38 61 00 D8 */ addi r3, r1, 0xd8 /* 802453A4 00242304 38 81 00 A8 */ addi r4, r1, 0xa8 /* 802453A8 00242308 48 0C D7 CD */ bl __ct__12CTransform4fFRC12CTransform4f /* 802453AC 0024230C C0 22 B8 40 */ lfs f1, lbl_805AD560@sda21(r2) /* 802453B0 00242310 38 80 00 00 */ li r4, 0 /* 802453B4 00242314 38 00 00 03 */ li r0, 3 /* 802453B8 00242318 98 81 00 10 */ stb r4, 0x10(r1) /* 802453BC 0024231C FC 40 08 90 */ fmr f2, f1 /* 802453C0 00242320 7F C3 F3 78 */ mr r3, r30 /* 802453C4 00242324 FC 60 08 90 */ fmr f3, f1 /* 802453C8 00242328 98 81 00 11 */ stb r4, 0x11(r1) /* 802453CC 0024232C FC 80 08 90 */ fmr f4, f1 /* 802453D0 00242330 B0 01 00 12 */ sth r0, 0x12(r1) /* 802453D4 00242334 48 11 E0 19 */ bl __ct__6CColorFffff /* 802453D8 00242338 80 DB 00 90 */ lwz r6, 0x90(r27) /* 802453DC 0024233C 7F 84 E3 78 */ mr r4, r28 /* 802453E0 00242340 38 7B 06 90 */ addi r3, r27, 0x690 /* 802453E4 00242344 38 A1 00 D8 */ addi r5, r1, 0xd8 /* 802453E8 00242348 38 E1 00 10 */ addi r7, r1, 0x10 /* 802453EC 0024234C 4B EC F9 D1 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags /* 802453F0 00242350 3B FF 00 18 */ addi r31, r31, 0x18 /* 802453F4 00242354 3B BD 00 01 */ addi r29, r29, 1 lbl_802453F8: /* 802453F8 00242358 80 1B 06 DC */ lwz r0, 0x6dc(r27) /* 802453FC 0024235C 7C 1D 00 00 */ cmpw r29, r0 /* 80245400 00242360 41 80 FF 14 */ blt lbl_80245314 lbl_80245404: /* 80245404 00242364 BB 61 01 0C */ lmw r27, 0x10c(r1) /* 80245408 00242368 80 01 01 24 */ lwz r0, 0x124(r1) /* 8024540C 0024236C 7C 08 03 A6 */ mtlr r0 /* 80245410 00242370 38 21 01 20 */ addi r1, r1, 0x120 /* 80245414 00242374 4E 80 00 20 */ blr .global CollidedWith__12CAtomicAlphaFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager CollidedWith__12CAtomicAlphaFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: /* 80245418 00242378 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024541C 0024237C 7C 08 02 A6 */ mflr r0 /* 80245420 00242380 90 01 00 34 */ stw r0, 0x34(r1) /* 80245424 00242384 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80245428 00242388 7C DF 33 78 */ mr r31, r6 /* 8024542C 0024238C 93 C1 00 28 */ stw r30, 0x28(r1) /* 80245430 00242390 7C BE 2B 78 */ mr r30, r5 /* 80245434 00242394 93 A1 00 24 */ stw r29, 0x24(r1) /* 80245438 00242398 7C 9D 23 78 */ mr r29, r4 /* 8024543C 0024239C 93 81 00 20 */ stw r28, 0x20(r1) /* 80245440 002423A0 7C 7C 1B 78 */ mr r28, r3 /* 80245444 002423A4 88 03 04 00 */ lbz r0, 0x400(r3) /* 80245448 002423A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8024544C 002423AC 41 82 00 94 */ beq lbl_802454E0 /* 80245450 002423B0 A0 1D 00 00 */ lhz r0, 0(r29) /* 80245454 002423B4 7F E3 FB 78 */ mr r3, r31 /* 80245458 002423B8 38 81 00 10 */ addi r4, r1, 0x10 /* 8024545C 002423BC B0 01 00 10 */ sth r0, 0x10(r1) /* 80245460 002423C0 4B E0 71 45 */ bl GetObjectById__13CStateManagerCF9TUniqueId /* 80245464 002423C4 7C 64 1B 78 */ mr r4, r3 /* 80245468 002423C8 38 61 00 14 */ addi r3, r1, 0x14 /* 8024546C 002423CC 4B E6 6F 29 */ bl "__ct__20TCastToPtr<7CPlayer>FP7CEntity" /* 80245470 002423D0 80 03 00 04 */ lwz r0, 4(r3) /* 80245474 002423D4 28 00 00 00 */ cmplwi r0, 0 /* 80245478 002423D8 41 82 00 68 */ beq lbl_802454E0 /* 8024547C 002423DC C0 3C 04 20 */ lfs f1, 0x420(r28) /* 80245480 002423E0 C0 02 B8 44 */ lfs f0, lbl_805AD564@sda21(r2) /* 80245484 002423E4 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80245488 002423E8 4C 40 13 82 */ cror 2, 0, 2 /* 8024548C 002423EC 40 82 00 54 */ bne lbl_802454E0 /* 80245490 002423F0 A0 1C 00 08 */ lhz r0, 8(r28) /* 80245494 002423F4 38 81 00 0C */ addi r4, r1, 0xc /* 80245498 002423F8 C0 22 B8 4C */ lfs f1, lbl_805AD56C@sda21(r2) /* 8024549C 002423FC B0 01 00 0C */ sth r0, 0xc(r1) /* 802454A0 00242400 C0 42 B8 50 */ lfs f2, lbl_805AD570@sda21(r2) /* 802454A4 00242404 80 7F 08 B8 */ lwz r3, 0x8b8(r31) /* 802454A8 00242408 B0 01 00 08 */ sth r0, 8(r1) /* 802454AC 0024240C 80 63 00 00 */ lwz r3, 0(r3) /* 802454B0 00242410 38 63 01 88 */ addi r3, r3, 0x188 /* 802454B4 00242414 4B F7 B6 85 */ bl AddSource__19CStaticInterferenceF9TUniqueId /* 802454B8 00242418 C0 02 B8 44 */ lfs f0, lbl_805AD564@sda21(r2) /* 802454BC 0024241C 38 7C 06 E0 */ addi r3, r28, 0x6e0 /* 802454C0 00242420 38 80 00 00 */ li r4, 0 /* 802454C4 00242424 48 00 00 10 */ b lbl_802454D4 lbl_802454C8: /* 802454C8 00242428 D0 03 00 14 */ stfs f0, 0x14(r3) /* 802454CC 0024242C 38 63 00 18 */ addi r3, r3, 0x18 /* 802454D0 00242430 38 84 00 01 */ addi r4, r4, 1 lbl_802454D4: /* 802454D4 00242434 80 1C 06 DC */ lwz r0, 0x6dc(r28) /* 802454D8 00242438 7C 04 00 00 */ cmpw r4, r0 /* 802454DC 0024243C 41 80 FF EC */ blt lbl_802454C8 lbl_802454E0: /* 802454E0 00242440 7F 83 E3 78 */ mr r3, r28 /* 802454E4 00242444 7F A4 EB 78 */ mr r4, r29 /* 802454E8 00242448 7F C5 F3 78 */ mr r5, r30 /* 802454EC 0024244C 7F E6 FB 78 */ mr r6, r31 /* 802454F0 00242450 4B E3 41 61 */ bl CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager /* 802454F4 00242454 80 01 00 34 */ lwz r0, 0x34(r1) /* 802454F8 00242458 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802454FC 0024245C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80245500 00242460 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80245504 00242464 83 81 00 20 */ lwz r28, 0x20(r1) /* 80245508 00242468 7C 08 03 A6 */ mtlr r0 /* 8024550C 0024246C 38 21 00 30 */ addi r1, r1, 0x30 /* 80245510 00242470 4E 80 00 20 */ blr .global Think__12CAtomicAlphaFfR13CStateManager Think__12CAtomicAlphaFfR13CStateManager: /* 80245514 00242474 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80245518 00242478 7C 08 02 A6 */ mflr r0 /* 8024551C 0024247C 90 01 00 24 */ stw r0, 0x24(r1) /* 80245520 00242480 DB E1 00 10 */ stfd f31, 0x10(r1) /* 80245524 00242484 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 80245528 00242488 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024552C 0024248C 7C 7F 1B 78 */ mr r31, r3 /* 80245530 00242490 FF E0 08 90 */ fmr f31, f1 /* 80245534 00242494 4B E3 45 E5 */ bl Think__10CPatternedFfR13CStateManager /* 80245538 00242498 88 1F 00 30 */ lbz r0, 0x30(r31) /* 8024553C 0024249C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80245540 002424A0 41 82 00 3C */ beq lbl_8024557C /* 80245544 002424A4 C0 1F 05 78 */ lfs f0, 0x578(r31) /* 80245548 002424A8 38 7F 06 E0 */ addi r3, r31, 0x6e0 /* 8024554C 002424AC 38 80 00 00 */ li r4, 0 /* 80245550 002424B0 EC 00 F8 2A */ fadds f0, f0, f31 /* 80245554 002424B4 D0 1F 05 78 */ stfs f0, 0x578(r31) /* 80245558 002424B8 48 00 00 18 */ b lbl_80245570 lbl_8024555C: /* 8024555C 002424BC C0 03 00 14 */ lfs f0, 0x14(r3) /* 80245560 002424C0 38 84 00 01 */ addi r4, r4, 1 /* 80245564 002424C4 EC 00 F8 2A */ fadds f0, f0, f31 /* 80245568 002424C8 D0 03 00 14 */ stfs f0, 0x14(r3) /* 8024556C 002424CC 38 63 00 18 */ addi r3, r3, 0x18 lbl_80245570: /* 80245570 002424D0 80 1F 06 DC */ lwz r0, 0x6dc(r31) /* 80245574 002424D4 7C 04 00 00 */ cmpw r4, r0 /* 80245578 002424D8 41 80 FF E4 */ blt lbl_8024555C lbl_8024557C: /* 8024557C 002424DC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 80245580 002424E0 80 01 00 24 */ lwz r0, 0x24(r1) /* 80245584 002424E4 CB E1 00 10 */ lfd f31, 0x10(r1) /* 80245588 002424E8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024558C 002424EC 7C 08 03 A6 */ mtlr r0 /* 80245590 002424F0 38 21 00 20 */ addi r1, r1, 0x20 /* 80245594 002424F4 4E 80 00 20 */ blr .global AcceptScriptMsg__12CAtomicAlphaF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__12CAtomicAlphaF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 80245598 002424F8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024559C 002424FC 7C 08 02 A6 */ mflr r0 /* 802455A0 00242500 90 01 00 34 */ stw r0, 0x34(r1) /* 802455A4 00242504 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802455A8 00242508 7C DF 33 78 */ mr r31, r6 /* 802455AC 0024250C 93 C1 00 28 */ stw r30, 0x28(r1) /* 802455B0 00242510 7C 9E 23 78 */ mr r30, r4 /* 802455B4 00242514 93 A1 00 24 */ stw r29, 0x24(r1) /* 802455B8 00242518 7C 7D 1B 78 */ mr r29, r3 /* 802455BC 0024251C A0 05 00 00 */ lhz r0, 0(r5) /* 802455C0 00242520 38 A1 00 08 */ addi r5, r1, 8 /* 802455C4 00242524 B0 01 00 08 */ sth r0, 8(r1) /* 802455C8 00242528 4B E3 75 B1 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 802455CC 0024252C 2C 1E 00 23 */ cmpwi r30, 0x23 /* 802455D0 00242530 41 82 00 50 */ beq lbl_80245620 /* 802455D4 00242534 40 80 00 10 */ bge lbl_802455E4 /* 802455D8 00242538 2C 1E 00 21 */ cmpwi r30, 0x21 /* 802455DC 0024253C 41 82 00 14 */ beq lbl_802455F0 /* 802455E0 00242540 48 00 00 6C */ b lbl_8024564C lbl_802455E4: /* 802455E4 00242544 2C 1E 00 25 */ cmpwi r30, 0x25 /* 802455E8 00242548 41 82 00 18 */ beq lbl_80245600 /* 802455EC 0024254C 48 00 00 60 */ b lbl_8024564C lbl_802455F0: /* 802455F0 00242550 80 7D 04 50 */ lwz r3, 0x450(r29) /* 802455F4 00242554 7F E4 FB 78 */ mr r4, r31 /* 802455F8 00242558 4B EF 56 F9 */ bl Activate__15CBodyControllerFR13CStateManager /* 802455FC 0024255C 48 00 00 50 */ b lbl_8024564C lbl_80245600: /* 80245600 00242560 88 1D 04 00 */ lbz r0, 0x400(r29) /* 80245604 00242564 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80245608 00242568 41 82 00 44 */ beq lbl_8024564C /* 8024560C 0024256C 88 1D 04 01 */ lbz r0, 0x401(r29) /* 80245610 00242570 38 60 00 01 */ li r3, 1 /* 80245614 00242574 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e /* 80245618 00242578 98 1D 04 01 */ stb r0, 0x401(r29) /* 8024561C 0024257C 48 00 00 30 */ b lbl_8024564C lbl_80245620: /* 80245620 00242580 80 BD 00 04 */ lwz r5, 4(r29) /* 80245624 00242584 80 9F 08 50 */ lwz r4, 0x850(r31) /* 80245628 00242588 54 A3 18 38 */ slwi r3, r5, 3 /* 8024562C 0024258C 90 A1 00 10 */ stw r5, 0x10(r1) /* 80245630 00242590 80 84 00 20 */ lwz r4, 0x20(r4) /* 80245634 00242594 38 03 00 04 */ addi r0, r3, 4 /* 80245638 00242598 90 A1 00 0C */ stw r5, 0xc(r1) /* 8024563C 0024259C 7C 64 00 2E */ lwzx r3, r4, r0 /* 80245640 002425A0 80 63 01 2C */ lwz r3, 0x12c(r3) /* 80245644 002425A4 80 03 10 BC */ lwz r0, 0x10bc(r3) /* 80245648 002425A8 90 1D 05 80 */ stw r0, 0x580(r29) lbl_8024564C: /* 8024564C 002425AC 80 01 00 34 */ lwz r0, 0x34(r1) /* 80245650 002425B0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80245654 002425B4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80245658 002425B8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024565C 002425BC 7C 08 03 A6 */ mtlr r0 /* 80245660 002425C0 38 21 00 30 */ addi r1, r1, 0x30 /* 80245664 002425C4 4E 80 00 20 */ blr .global Accept__12CAtomicAlphaFR8IVisitor Accept__12CAtomicAlphaFR8IVisitor: /* 80245668 002425C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024566C 002425CC 7C 08 02 A6 */ mflr r0 /* 80245670 002425D0 90 01 00 14 */ stw r0, 0x14(r1) /* 80245674 002425D4 7C 60 1B 78 */ mr r0, r3 /* 80245678 002425D8 7C 83 23 78 */ mr r3, r4 /* 8024567C 002425DC 81 84 00 00 */ lwz r12, 0(r4) /* 80245680 002425E0 7C 04 03 78 */ mr r4, r0 /* 80245684 002425E4 81 8C 00 4C */ lwz r12, 0x4c(r12) /* 80245688 002425E8 7D 89 03 A6 */ mtctr r12 /* 8024568C 002425EC 4E 80 04 21 */ bctrl /* 80245690 002425F0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80245694 002425F4 7C 08 03 A6 */ mtlr r0 /* 80245698 002425F8 38 21 00 10 */ addi r1, r1, 0x10 /* 8024569C 002425FC 4E 80 00 20 */ blr .global __ct__12CAtomicAlpha __ct__12CAtomicAlpha: /* 802456A0 00242600 94 21 FE D0 */ stwu r1, -0x130(r1) /* 802456A4 00242604 7C 08 02 A6 */ mflr r0 /* 802456A8 00242608 90 01 01 34 */ stw r0, 0x134(r1) /* 802456AC 0024260C DB E1 01 20 */ stfd f31, 0x120(r1) /* 802456B0 00242610 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 /* 802456B4 00242614 DB C1 01 10 */ stfd f30, 0x110(r1) /* 802456B8 00242618 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 /* 802456BC 0024261C DB A1 01 00 */ stfd f29, 0x100(r1) /* 802456C0 00242620 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 /* 802456C4 00242624 BF 01 00 E0 */ stmw r24, 0xe0(r1) /* 802456C8 00242628 A0 04 00 00 */ lhz r0, 0(r4) /* 802456CC 0024262C 7C CB 33 78 */ mr r11, r6 /* 802456D0 00242630 7D 1B 43 78 */ mr r27, r8 /* 802456D4 00242634 7D 5C 53 78 */ mr r28, r10 /* 802456D8 00242638 B0 01 00 20 */ sth r0, 0x20(r1) /* 802456DC 0024263C 7C A6 2B 78 */ mr r6, r5 /* 802456E0 00242640 38 80 00 01 */ li r4, 1 /* 802456E4 00242644 38 00 00 03 */ li r0, 3 /* 802456E8 00242648 93 81 00 08 */ stw r28, 8(r1) /* 802456EC 0024264C FF A0 08 90 */ fmr f29, f1 /* 802456F0 00242650 FF C0 10 90 */ fmr f30, f2 /* 802456F4 00242654 83 A1 01 38 */ lwz r29, 0x138(r1) /* 802456F8 00242658 90 81 00 0C */ stw r4, 0xc(r1) /* 802456FC 0024265C FF E0 18 90 */ fmr f31, f3 /* 80245700 00242660 83 C1 01 3C */ lwz r30, 0x13c(r1) /* 80245704 00242664 90 81 00 10 */ stw r4, 0x10(r1) /* 80245708 00242668 83 E1 01 40 */ lwz r31, 0x140(r1) /* 8024570C 0024266C 7C 7A 1B 78 */ mr r26, r3 /* 80245710 00242670 90 01 00 14 */ stw r0, 0x14(r1) /* 80245714 00242674 7D 68 5B 78 */ mr r8, r11 /* 80245718 00242678 8B 01 01 47 */ lbz r24, 0x147(r1) /* 8024571C 0024267C 7F 6A DB 78 */ mr r10, r27 /* 80245720 00242680 91 21 00 18 */ stw r9, 0x18(r1) /* 80245724 00242684 7C E9 3B 78 */ mr r9, r7 /* 80245728 00242688 8B 21 01 4B */ lbz r25, 0x14b(r1) /* 8024572C 0024268C 38 A1 00 20 */ addi r5, r1, 0x20 /* 80245730 00242690 90 81 00 1C */ stw r4, 0x1c(r1) /* 80245734 00242694 38 80 00 00 */ li r4, 0 /* 80245738 00242698 38 E0 00 00 */ li r7, 0 /* 8024573C 0024269C 4B E3 7D 15 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" /* 80245740 002426A0 3C 60 80 3F */ lis r3, lbl_803E88A8@ha /* 80245744 002426A4 C0 22 B8 40 */ lfs f1, lbl_805AD560@sda21(r2) /* 80245748 002426A8 38 03 88 A8 */ addi r0, r3, lbl_803E88A8@l /* 8024574C 002426AC 38 C0 00 00 */ li r6, 0 /* 80245750 002426B0 90 1A 00 00 */ stw r0, 0(r26) /* 80245754 002426B4 FC 40 08 90 */ fmr f2, f1 /* 80245758 002426B8 C0 02 B8 44 */ lfs f0, lbl_805AD564@sda21(r2) /* 8024575C 002426BC 38 7A 05 80 */ addi r3, r26, 0x580 /* 80245760 002426C0 88 1A 05 68 */ lbz r0, 0x568(r26) /* 80245764 002426C4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 80245768 002426C8 38 80 00 00 */ li r4, 0 /* 8024576C 002426CC 98 1A 05 68 */ stb r0, 0x568(r26) /* 80245770 002426D0 38 A0 00 03 */ li r5, 3 /* 80245774 002426D4 88 1A 05 68 */ lbz r0, 0x568(r26) /* 80245778 002426D8 53 00 36 72 */ rlwimi r0, r24, 6, 0x19, 0x19 /* 8024577C 002426DC 98 1A 05 68 */ stb r0, 0x568(r26) /* 80245780 002426E0 88 1A 05 68 */ lbz r0, 0x568(r26) /* 80245784 002426E4 53 20 2E B4 */ rlwimi r0, r25, 5, 0x1a, 0x1a /* 80245788 002426E8 98 1A 05 68 */ stb r0, 0x568(r26) /* 8024578C 002426EC D3 BA 05 6C */ stfs f29, 0x56c(r26) /* 80245790 002426F0 D3 DA 05 70 */ stfs f30, 0x570(r26) /* 80245794 002426F4 D3 FA 05 74 */ stfs f31, 0x574(r26) /* 80245798 002426F8 D0 1A 05 78 */ stfs f0, 0x578(r26) /* 8024579C 002426FC 90 DA 05 7C */ stw r6, 0x57c(r26) /* 802457A0 00242700 80 DC 01 0C */ lwz r6, 0x10c(r28) /* 802457A4 00242704 4B F8 35 F1 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff /* 802457A8 00242708 38 7A 06 64 */ addi r3, r26, 0x664 /* 802457AC 0024270C 4B EF 95 A5 */ bl __ct__18CSteeringBehaviorsFv /* 802457B0 00242710 7F A4 EB 78 */ mr r4, r29 /* 802457B4 00242714 7F C5 F3 78 */ mr r5, r30 /* 802457B8 00242718 38 7A 06 68 */ addi r3, r26, 0x668 /* 802457BC 0024271C 4B FD 68 ED */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo /* 802457C0 00242720 C0 5B 00 00 */ lfs f2, 0(r27) /* 802457C4 00242724 38 7A 06 90 */ addi r3, r26, 0x690 /* 802457C8 00242728 C0 3B 00 04 */ lfs f1, 4(r27) /* 802457CC 0024272C 38 81 00 70 */ addi r4, r1, 0x70 /* 802457D0 00242730 C0 1B 00 08 */ lfs f0, 8(r27) /* 802457D4 00242734 D0 41 00 64 */ stfs f2, 0x64(r1) /* 802457D8 00242738 D0 21 00 68 */ stfs f1, 0x68(r1) /* 802457DC 0024273C D0 01 00 6C */ stfs f0, 0x6c(r1) /* 802457E0 00242740 93 E1 00 70 */ stw r31, 0x70(r1) /* 802457E4 00242744 D0 41 00 74 */ stfs f2, 0x74(r1) /* 802457E8 00242748 D0 21 00 78 */ stfs f1, 0x78(r1) /* 802457EC 0024274C D0 01 00 7C */ stfs f0, 0x7c(r1) /* 802457F0 00242750 4B ED 15 6D */ bl __ct__10CModelDataFRC10CStaticRes /* 802457F4 00242754 38 00 00 00 */ li r0, 0 /* 802457F8 00242758 38 7A 06 68 */ addi r3, r26, 0x668 /* 802457FC 0024275C 90 1A 06 DC */ stw r0, 0x6dc(r26) /* 80245800 00242760 48 0F B5 85 */ bl Lock__6CTokenFv /* 80245804 00242764 3C 80 80 3D */ lis r4, lbl_803D4730@ha /* 80245808 00242768 38 61 00 54 */ addi r3, r1, 0x54 /* 8024580C 0024276C 38 84 47 30 */ addi r4, r4, lbl_803D4730@l /* 80245810 00242770 4B DB F4 A9 */ bl string_l__4rstlFPCc /* 80245814 00242774 38 61 00 C8 */ addi r3, r1, 0xc8 /* 80245818 00242778 38 81 00 54 */ addi r4, r1, 0x54 /* 8024581C 0024277C 48 0F 89 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245820 00242780 C0 02 B8 54 */ lfs f0, lbl_805AD574@sda21(r2) /* 80245824 00242784 38 00 00 0A */ li r0, 0xa /* 80245828 00242788 90 01 00 D8 */ stw r0, 0xd8(r1) /* 8024582C 0024278C 38 7A 06 DC */ addi r3, r26, 0x6dc /* 80245830 00242790 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 80245834 00242794 80 1A 06 DC */ lwz r0, 0x6dc(r26) /* 80245838 00242798 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8024583C 0024279C 7F 63 02 14 */ add r27, r3, r0 /* 80245840 002427A0 37 7B 00 04 */ addic. r27, r27, 4 /* 80245844 002427A4 41 82 00 20 */ beq lbl_80245864 /* 80245848 002427A8 7F 63 DB 78 */ mr r3, r27 /* 8024584C 002427AC 38 81 00 C8 */ addi r4, r1, 0xc8 /* 80245850 002427B0 48 0F 89 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245854 002427B4 80 01 00 D8 */ lwz r0, 0xd8(r1) /* 80245858 002427B8 90 1B 00 10 */ stw r0, 0x10(r27) /* 8024585C 002427BC C0 01 00 DC */ lfs f0, 0xdc(r1) /* 80245860 002427C0 D0 1B 00 14 */ stfs f0, 0x14(r27) lbl_80245864: /* 80245864 002427C4 80 9A 06 DC */ lwz r4, 0x6dc(r26) /* 80245868 002427C8 38 61 00 C8 */ addi r3, r1, 0xc8 /* 8024586C 002427CC 38 04 00 01 */ addi r0, r4, 1 /* 80245870 002427D0 90 1A 06 DC */ stw r0, 0x6dc(r26) /* 80245874 002427D4 48 0F 82 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245878 002427D8 38 61 00 54 */ addi r3, r1, 0x54 /* 8024587C 002427DC 48 0F 82 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245880 002427E0 3C 80 80 3D */ lis r4, lbl_803D4730@ha /* 80245884 002427E4 38 61 00 44 */ addi r3, r1, 0x44 /* 80245888 002427E8 38 84 47 30 */ addi r4, r4, lbl_803D4730@l /* 8024588C 002427EC 38 84 00 0B */ addi r4, r4, 0xb /* 80245890 002427F0 4B DB F4 29 */ bl string_l__4rstlFPCc /* 80245894 002427F4 38 61 00 B0 */ addi r3, r1, 0xb0 /* 80245898 002427F8 38 81 00 44 */ addi r4, r1, 0x44 /* 8024589C 002427FC 48 0F 88 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802458A0 00242800 C0 02 B8 54 */ lfs f0, lbl_805AD574@sda21(r2) /* 802458A4 00242804 38 00 00 0B */ li r0, 0xb /* 802458A8 00242808 90 01 00 C0 */ stw r0, 0xc0(r1) /* 802458AC 0024280C 38 7A 06 DC */ addi r3, r26, 0x6dc /* 802458B0 00242810 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 802458B4 00242814 80 1A 06 DC */ lwz r0, 0x6dc(r26) /* 802458B8 00242818 1C 00 00 18 */ mulli r0, r0, 0x18 /* 802458BC 0024281C 7F 63 02 14 */ add r27, r3, r0 /* 802458C0 00242820 37 7B 00 04 */ addic. r27, r27, 4 /* 802458C4 00242824 41 82 00 20 */ beq lbl_802458E4 /* 802458C8 00242828 7F 63 DB 78 */ mr r3, r27 /* 802458CC 0024282C 38 81 00 B0 */ addi r4, r1, 0xb0 /* 802458D0 00242830 48 0F 88 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802458D4 00242834 80 01 00 C0 */ lwz r0, 0xc0(r1) /* 802458D8 00242838 90 1B 00 10 */ stw r0, 0x10(r27) /* 802458DC 0024283C C0 01 00 C4 */ lfs f0, 0xc4(r1) /* 802458E0 00242840 D0 1B 00 14 */ stfs f0, 0x14(r27) lbl_802458E4: /* 802458E4 00242844 80 9A 06 DC */ lwz r4, 0x6dc(r26) /* 802458E8 00242848 38 61 00 B0 */ addi r3, r1, 0xb0 /* 802458EC 0024284C 38 04 00 01 */ addi r0, r4, 1 /* 802458F0 00242850 90 1A 06 DC */ stw r0, 0x6dc(r26) /* 802458F4 00242854 48 0F 81 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802458F8 00242858 38 61 00 44 */ addi r3, r1, 0x44 /* 802458FC 0024285C 48 0F 81 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245900 00242860 3C 80 80 3D */ lis r4, lbl_803D4730@ha /* 80245904 00242864 38 61 00 34 */ addi r3, r1, 0x34 /* 80245908 00242868 38 84 47 30 */ addi r4, r4, lbl_803D4730@l /* 8024590C 0024286C 38 84 00 16 */ addi r4, r4, 0x16 /* 80245910 00242870 4B DB F3 A9 */ bl string_l__4rstlFPCc /* 80245914 00242874 38 61 00 98 */ addi r3, r1, 0x98 /* 80245918 00242878 38 81 00 34 */ addi r4, r1, 0x34 /* 8024591C 0024287C 48 0F 88 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245920 00242880 C0 02 B8 54 */ lfs f0, lbl_805AD574@sda21(r2) /* 80245924 00242884 38 00 00 0C */ li r0, 0xc /* 80245928 00242888 90 01 00 A8 */ stw r0, 0xa8(r1) /* 8024592C 0024288C 38 7A 06 DC */ addi r3, r26, 0x6dc /* 80245930 00242890 D0 01 00 AC */ stfs f0, 0xac(r1) /* 80245934 00242894 80 1A 06 DC */ lwz r0, 0x6dc(r26) /* 80245938 00242898 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8024593C 0024289C 7F 63 02 14 */ add r27, r3, r0 /* 80245940 002428A0 37 7B 00 04 */ addic. r27, r27, 4 /* 80245944 002428A4 41 82 00 20 */ beq lbl_80245964 /* 80245948 002428A8 7F 63 DB 78 */ mr r3, r27 /* 8024594C 002428AC 38 81 00 98 */ addi r4, r1, 0x98 /* 80245950 002428B0 48 0F 88 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245954 002428B4 80 01 00 A8 */ lwz r0, 0xa8(r1) /* 80245958 002428B8 90 1B 00 10 */ stw r0, 0x10(r27) /* 8024595C 002428BC C0 01 00 AC */ lfs f0, 0xac(r1) /* 80245960 002428C0 D0 1B 00 14 */ stfs f0, 0x14(r27) lbl_80245964: /* 80245964 002428C4 80 9A 06 DC */ lwz r4, 0x6dc(r26) /* 80245968 002428C8 38 61 00 98 */ addi r3, r1, 0x98 /* 8024596C 002428CC 38 04 00 01 */ addi r0, r4, 1 /* 80245970 002428D0 90 1A 06 DC */ stw r0, 0x6dc(r26) /* 80245974 002428D4 48 0F 81 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245978 002428D8 38 61 00 34 */ addi r3, r1, 0x34 /* 8024597C 002428DC 48 0F 81 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245980 002428E0 3C 80 80 3D */ lis r4, lbl_803D4730@ha /* 80245984 002428E4 38 61 00 24 */ addi r3, r1, 0x24 /* 80245988 002428E8 38 84 47 30 */ addi r4, r4, lbl_803D4730@l /* 8024598C 002428EC 38 84 00 21 */ addi r4, r4, 0x21 /* 80245990 002428F0 4B DB F3 29 */ bl string_l__4rstlFPCc /* 80245994 002428F4 38 61 00 80 */ addi r3, r1, 0x80 /* 80245998 002428F8 38 81 00 24 */ addi r4, r1, 0x24 /* 8024599C 002428FC 48 0F 87 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802459A0 00242900 C0 02 B8 54 */ lfs f0, lbl_805AD574@sda21(r2) /* 802459A4 00242904 38 00 00 0D */ li r0, 0xd /* 802459A8 00242908 90 01 00 90 */ stw r0, 0x90(r1) /* 802459AC 0024290C 38 7A 06 DC */ addi r3, r26, 0x6dc /* 802459B0 00242910 D0 01 00 94 */ stfs f0, 0x94(r1) /* 802459B4 00242914 80 1A 06 DC */ lwz r0, 0x6dc(r26) /* 802459B8 00242918 1C 00 00 18 */ mulli r0, r0, 0x18 /* 802459BC 0024291C 7F 63 02 14 */ add r27, r3, r0 /* 802459C0 00242920 37 7B 00 04 */ addic. r27, r27, 4 /* 802459C4 00242924 41 82 00 20 */ beq lbl_802459E4 /* 802459C8 00242928 7F 63 DB 78 */ mr r3, r27 /* 802459CC 0024292C 38 81 00 80 */ addi r4, r1, 0x80 /* 802459D0 00242930 48 0F 87 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802459D4 00242934 80 01 00 90 */ lwz r0, 0x90(r1) /* 802459D8 00242938 90 1B 00 10 */ stw r0, 0x10(r27) /* 802459DC 0024293C C0 01 00 94 */ lfs f0, 0x94(r1) /* 802459E0 00242940 D0 1B 00 14 */ stfs f0, 0x14(r27) lbl_802459E4: /* 802459E4 00242944 80 9A 06 DC */ lwz r4, 0x6dc(r26) /* 802459E8 00242948 38 61 00 80 */ addi r3, r1, 0x80 /* 802459EC 0024294C 38 04 00 01 */ addi r0, r4, 1 /* 802459F0 00242950 90 1A 06 DC */ stw r0, 0x6dc(r26) /* 802459F4 00242954 48 0F 80 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802459F8 00242958 38 61 00 24 */ addi r3, r1, 0x24 /* 802459FC 0024295C 48 0F 80 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245A00 00242960 7F 43 D3 78 */ mr r3, r26 /* 80245A04 00242964 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 /* 80245A08 00242968 CB E1 01 20 */ lfd f31, 0x120(r1) /* 80245A0C 0024296C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 /* 80245A10 00242970 CB C1 01 10 */ lfd f30, 0x110(r1) /* 80245A14 00242974 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 /* 80245A18 00242978 CB A1 01 00 */ lfd f29, 0x100(r1) /* 80245A1C 0024297C BB 01 00 E0 */ lmw r24, 0xe0(r1) /* 80245A20 00242980 80 01 01 34 */ lwz r0, 0x134(r1) /* 80245A24 00242984 7C 08 03 A6 */ mtlr r0 /* 80245A28 00242988 38 21 01 30 */ addi r1, r1, 0x130 /* 80245A2C 0024298C 4E 80 00 20 */ blr .global IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState: /* 80245A30 00242990 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80245A34 00242994 7C 08 02 A6 */ mflr r0 /* 80245A38 00242998 90 01 00 14 */ stw r0, 0x14(r1) /* 80245A3C 0024299C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80245A40 002429A0 7C 7F 1B 78 */ mr r31, r3 /* 80245A44 002429A4 7C A3 2B 78 */ mr r3, r5 /* 80245A48 002429A8 4B E4 BC 49 */ bl GetScanTime__12CPlayerStateCFUi /* 80245A4C 002429AC 2C 1F 00 05 */ cmpwi r31, 5 /* 80245A50 002429B0 40 82 00 1C */ bne lbl_80245A6C /* 80245A54 002429B4 C0 02 B8 5C */ lfs f0, lbl_805AD57C@sda21(r2) /* 80245A58 002429B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80245A5C 002429BC 4C 41 13 82 */ cror 2, 1, 2 /* 80245A60 002429C0 7C 00 00 26 */ mfcr r0 /* 80245A64 002429C4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f /* 80245A68 002429C8 48 00 00 18 */ b lbl_80245A80 lbl_80245A6C: /* 80245A6C 002429CC C0 02 B8 60 */ lfs f0, lbl_805AD580@sda21(r2) /* 80245A70 002429D0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80245A74 002429D4 4C 41 13 82 */ cror 2, 1, 2 /* 80245A78 002429D8 7C 00 00 26 */ mfcr r0 /* 80245A7C 002429DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f lbl_80245A80: /* 80245A80 002429E0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80245A84 002429E4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80245A88 002429E8 7C 08 03 A6 */ mtlr r0 /* 80245A8C 002429EC 38 21 00 10 */ addi r1, r1, 0x10 /* 80245A90 002429F0 4E 80 00 20 */ blr .global IsScanCategoryReady__14CLogBookScreenF13EScanCategory IsScanCategoryReady__14CLogBookScreenF13EScanCategory: /* 80245A94 002429F4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80245A98 002429F8 7C 08 02 A6 */ mflr r0 /* 80245A9C 002429FC 90 01 00 24 */ stw r0, 0x24(r1) /* 80245AA0 00242A00 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80245AA4 00242A04 93 C1 00 18 */ stw r30, 0x18(r1) /* 80245AA8 00242A08 93 A1 00 14 */ stw r29, 0x14(r1) /* 80245AAC 00242A0C 93 81 00 10 */ stw r28, 0x10(r1) /* 80245AB0 00242A10 7C 9C 23 78 */ mr r28, r4 /* 80245AB4 00242A14 80 63 00 04 */ lwz r3, 4(r3) /* 80245AB8 00242A18 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13) /* 80245ABC 00242A1C 80 63 08 B8 */ lwz r3, 0x8b8(r3) /* 80245AC0 00242A20 83 BF 00 2C */ lwz r29, 0x2c(r31) /* 80245AC4 00242A24 83 C3 00 00 */ lwz r30, 0(r3) /* 80245AC8 00242A28 48 00 00 30 */ b lbl_80245AF8 lbl_80245ACC: /* 80245ACC 00242A2C 80 7D 00 04 */ lwz r3, 4(r29) /* 80245AD0 00242A30 7C 03 E0 40 */ cmplw r3, r28 /* 80245AD4 00242A34 40 82 00 20 */ bne lbl_80245AF4 /* 80245AD8 00242A38 80 9D 00 00 */ lwz r4, 0(r29) /* 80245ADC 00242A3C 7F C5 F3 78 */ mr r5, r30 /* 80245AE0 00242A40 4B FF FF 51 */ bl IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState /* 80245AE4 00242A44 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80245AE8 00242A48 41 82 00 0C */ beq lbl_80245AF4 /* 80245AEC 00242A4C 38 60 00 01 */ li r3, 1 /* 80245AF0 00242A50 48 00 00 24 */ b lbl_80245B14 lbl_80245AF4: /* 80245AF4 00242A54 3B BD 00 08 */ addi r29, r29, 8 lbl_80245AF8: /* 80245AF8 00242A58 80 1F 00 24 */ lwz r0, 0x24(r31) /* 80245AFC 00242A5C 80 7F 00 2C */ lwz r3, 0x2c(r31) /* 80245B00 00242A60 54 00 18 38 */ slwi r0, r0, 3 /* 80245B04 00242A64 7C 03 02 14 */ add r0, r3, r0 /* 80245B08 00242A68 7C 1D 00 40 */ cmplw r29, r0 /* 80245B0C 00242A6C 40 82 FF C0 */ bne lbl_80245ACC /* 80245B10 00242A70 38 60 00 00 */ li r3, 0 lbl_80245B14: /* 80245B14 00242A74 80 01 00 24 */ lwz r0, 0x24(r1) /* 80245B18 00242A78 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80245B1C 00242A7C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80245B20 00242A80 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80245B24 00242A84 83 81 00 10 */ lwz r28, 0x10(r1) /* 80245B28 00242A88 7C 08 03 A6 */ mtlr r0 /* 80245B2C 00242A8C 38 21 00 20 */ addi r1, r1, 0x20 /* 80245B30 00242A90 4E 80 00 20 */ blr .global InputDisabled__14CLogBookScreenCFv InputDisabled__14CLogBookScreenCFv: /* 80245B34 00242A94 80 03 02 5C */ lwz r0, 0x25c(r3) /* 80245B38 00242A98 20 00 00 01 */ subfic r0, r0, 1 /* 80245B3C 00242A9C 7C 00 00 34 */ cntlzw r0, r0 /* 80245B40 00242AA0 54 03 D9 7E */ srwi r3, r0, 5 /* 80245B44 00242AA4 4E 80 00 20 */ blr .global TransitioningAway__14CLogBookScreenFv TransitioningAway__14CLogBookScreenFv: /* 80245B48 00242AA8 38 00 00 01 */ li r0, 1 /* 80245B4C 00242AAC 90 03 02 5C */ stw r0, 0x25c(r3) /* 80245B50 00242AB0 4E 80 00 20 */ blr .global UpdateRightTitles__14CLogBookScreenFv UpdateRightTitles__14CLogBookScreenFv: /* 80245B54 00242AB4 94 21 FF 00 */ stwu r1, -0x100(r1) /* 80245B58 00242AB8 7C 08 02 A6 */ mflr r0 /* 80245B5C 00242ABC 90 01 01 04 */ stw r0, 0x104(r1) /* 80245B60 00242AC0 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 80245B64 00242AC4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 80245B68 00242AC8 BF 21 00 D4 */ stmw r25, 0xd4(r1) /* 80245B6C 00242ACC 7C 7C 1B 78 */ mr r28, r3 /* 80245B70 00242AD0 3B A0 00 00 */ li r29, 0 /* 80245B74 00242AD4 80 63 00 70 */ lwz r3, 0x70(r3) /* 80245B78 00242AD8 3B DC 00 DC */ addi r30, r28, 0xdc /* 80245B7C 00242ADC 80 03 00 C4 */ lwz r0, 0xc4(r3) /* 80245B80 00242AE0 54 00 20 36 */ slwi r0, r0, 4 /* 80245B84 00242AE4 7F FC 02 14 */ add r31, r28, r0 /* 80245B88 00242AE8 48 00 01 54 */ b lbl_80245CDC lbl_80245B8C: /* 80245B8C 00242AEC 80 9C 00 18 */ lwz r4, 0x18(r28) /* 80245B90 00242AF0 38 00 00 00 */ li r0, 0 /* 80245B94 00242AF4 38 6D A9 1A */ addi r3, r13, lbl_805A94DA@sda21 /* 80245B98 00242AF8 90 61 00 4C */ stw r3, 0x4c(r1) /* 80245B9C 00242AFC 7C 84 EA 14 */ add r4, r4, r29 /* 80245BA0 00242B00 90 01 00 50 */ stw r0, 0x50(r1) /* 80245BA4 00242B04 90 01 00 54 */ stw r0, 0x54(r1) /* 80245BA8 00242B08 80 1C 01 F4 */ lwz r0, 0x1f4(r28) /* 80245BAC 00242B0C 7C 04 00 00 */ cmpw r4, r0 /* 80245BB0 00242B10 40 80 01 08 */ bge lbl_80245CB8 /* 80245BB4 00242B14 1C 64 00 1C */ mulli r3, r4, 0x1c /* 80245BB8 00242B18 80 1C 01 FC */ lwz r0, 0x1fc(r28) /* 80245BBC 00242B1C 38 63 00 0C */ addi r3, r3, 0xc /* 80245BC0 00242B20 7C 60 1A 14 */ add r3, r0, r3 /* 80245BC4 00242B24 88 03 00 0C */ lbz r0, 0xc(r3) /* 80245BC8 00242B28 28 00 00 00 */ cmplwi r0, 0 /* 80245BCC 00242B2C 41 82 00 B8 */ beq lbl_80245C84 /* 80245BD0 00242B30 80 63 00 08 */ lwz r3, 8(r3) /* 80245BD4 00242B34 28 03 00 00 */ cmplwi r3, 0 /* 80245BD8 00242B38 41 82 00 AC */ beq lbl_80245C84 /* 80245BDC 00242B3C 54 84 18 38 */ slwi r4, r4, 3 /* 80245BE0 00242B40 80 BF 01 AC */ lwz r5, 0x1ac(r31) /* 80245BE4 00242B44 38 04 00 04 */ addi r0, r4, 4 /* 80245BE8 00242B48 7C 05 00 AE */ lbzx r0, r5, r0 /* 80245BEC 00242B4C 28 00 00 00 */ cmplwi r0, 0 /* 80245BF0 00242B50 41 82 00 6C */ beq lbl_80245C5C /* 80245BF4 00242B54 80 03 00 00 */ lwz r0, 0(r3) /* 80245BF8 00242B58 2C 00 00 01 */ cmpwi r0, 1 /* 80245BFC 00242B5C 40 81 00 38 */ ble lbl_80245C34 /* 80245C00 00242B60 38 80 00 01 */ li r4, 1 /* 80245C04 00242B64 48 11 0A F9 */ bl GetString__12CStringTableCFi /* 80245C08 00242B68 7C 64 1B 78 */ mr r4, r3 /* 80245C0C 00242B6C 38 61 00 3C */ addi r3, r1, 0x3c /* 80245C10 00242B70 38 C1 00 08 */ addi r6, r1, 8 /* 80245C14 00242B74 38 A0 FF FF */ li r5, -1 /* 80245C18 00242B78 48 0F 7B A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80245C1C 00242B7C 38 61 00 4C */ addi r3, r1, 0x4c /* 80245C20 00242B80 38 81 00 3C */ addi r4, r1, 0x3c /* 80245C24 00242B84 48 0F 77 29 */ bl sub_8033d34c /* 80245C28 00242B88 38 61 00 3C */ addi r3, r1, 0x3c /* 80245C2C 00242B8C 48 0F 75 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245C30 00242B90 48 00 00 54 */ b lbl_80245C84 lbl_80245C34: /* 80245C34 00242B94 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80245C38 00242B98 38 61 00 2C */ addi r3, r1, 0x2c /* 80245C3C 00242B9C 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 80245C40 00242BA0 4B DC FD B1 */ bl wstring_l__4rstlFPCw /* 80245C44 00242BA4 38 61 00 4C */ addi r3, r1, 0x4c /* 80245C48 00242BA8 38 81 00 2C */ addi r4, r1, 0x2c /* 80245C4C 00242BAC 48 0F 77 01 */ bl sub_8033d34c /* 80245C50 00242BB0 38 61 00 2C */ addi r3, r1, 0x2c /* 80245C54 00242BB4 48 0F 74 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245C58 00242BB8 48 00 00 2C */ b lbl_80245C84 lbl_80245C5C: /* 80245C5C 00242BBC 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80245C60 00242BC0 38 61 00 1C */ addi r3, r1, 0x1c /* 80245C64 00242BC4 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 80245C68 00242BC8 38 84 00 14 */ addi r4, r4, 0x14 /* 80245C6C 00242BCC 4B DC FD 85 */ bl wstring_l__4rstlFPCw /* 80245C70 00242BD0 38 61 00 4C */ addi r3, r1, 0x4c /* 80245C74 00242BD4 38 81 00 1C */ addi r4, r1, 0x1c /* 80245C78 00242BD8 48 0F 76 D5 */ bl sub_8033d34c /* 80245C7C 00242BDC 38 61 00 1C */ addi r3, r1, 0x1c /* 80245C80 00242BE0 48 0F 74 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80245C84: /* 80245C84 00242BE4 80 01 00 54 */ lwz r0, 0x54(r1) /* 80245C88 00242BE8 2C 00 00 00 */ cmpwi r0, 0 /* 80245C8C 00242BEC 40 82 00 2C */ bne lbl_80245CB8 /* 80245C90 00242BF0 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80245C94 00242BF4 38 61 00 0C */ addi r3, r1, 0xc /* 80245C98 00242BF8 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 80245C9C 00242BFC 38 84 00 22 */ addi r4, r4, 0x22 /* 80245CA0 00242C00 4B DC FD 51 */ bl wstring_l__4rstlFPCw /* 80245CA4 00242C04 38 61 00 4C */ addi r3, r1, 0x4c /* 80245CA8 00242C08 38 81 00 0C */ addi r4, r1, 0xc /* 80245CAC 00242C0C 48 0F 76 A1 */ bl sub_8033d34c /* 80245CB0 00242C10 38 61 00 0C */ addi r3, r1, 0xc /* 80245CB4 00242C14 48 0F 74 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80245CB8: /* 80245CB8 00242C18 80 7E 00 00 */ lwz r3, 0(r30) /* 80245CBC 00242C1C 38 81 00 4C */ addi r4, r1, 0x4c /* 80245CC0 00242C20 38 A0 00 00 */ li r5, 0 /* 80245CC4 00242C24 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80245CC8 00242C28 48 08 3B BD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245CCC 00242C2C 38 61 00 4C */ addi r3, r1, 0x4c /* 80245CD0 00242C30 48 0F 74 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245CD4 00242C34 3B DE 00 04 */ addi r30, r30, 4 /* 80245CD8 00242C38 3B BD 00 01 */ addi r29, r29, 1 lbl_80245CDC: /* 80245CDC 00242C3C 80 1C 00 D8 */ lwz r0, 0xd8(r28) /* 80245CE0 00242C40 7C 1D 00 00 */ cmpw r29, r0 /* 80245CE4 00242C44 41 80 FE A8 */ blt lbl_80245B8C /* 80245CE8 00242C48 3C 60 66 66 */ lis r3, 0x66666667@ha /* 80245CEC 00242C4C 80 9C 00 18 */ lwz r4, 0x18(r28) /* 80245CF0 00242C50 38 03 66 67 */ addi r0, r3, 0x66666667@l /* 80245CF4 00242C54 CB E2 B8 68 */ lfd f31, lbl_805AD588@sda21(r2) /* 80245CF8 00242C58 7C 00 20 96 */ mulhw r0, r0, r4 /* 80245CFC 00242C5C 3B DC 01 48 */ addi r30, r28, 0x148 /* 80245D00 00242C60 3B 40 00 00 */ li r26, 0 /* 80245D04 00242C64 3F A0 43 30 */ lis r29, 0x4330 /* 80245D08 00242C68 7C 00 0E 70 */ srawi r0, r0, 1 /* 80245D0C 00242C6C 54 03 0F FE */ srwi r3, r0, 0x1f /* 80245D10 00242C70 7C 00 1A 14 */ add r0, r0, r3 /* 80245D14 00242C74 1C 00 00 05 */ mulli r0, r0, 5 /* 80245D18 00242C78 7F 60 20 50 */ subf r27, r0, r4 /* 80245D1C 00242C7C 23 FB 00 05 */ subfic r31, r27, 5 /* 80245D20 00242C80 48 00 00 70 */ b lbl_80245D90 lbl_80245D24: /* 80245D24 00242C84 7C 1A D8 00 */ cmpw r26, r27 /* 80245D28 00242C88 83 3E 00 00 */ lwz r25, 0(r30) /* 80245D2C 00242C8C 7F E0 FB 78 */ mr r0, r31 /* 80245D30 00242C90 41 80 00 08 */ blt lbl_80245D38 /* 80245D34 00242C94 38 1F FF FB */ addi r0, r31, -5 lbl_80245D38: /* 80245D38 00242C98 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80245D3C 00242C9C C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2) /* 80245D40 00242CA0 90 01 00 C4 */ stw r0, 0xc4(r1) /* 80245D44 00242CA4 38 61 00 5C */ addi r3, r1, 0x5c /* 80245D48 00242CA8 C0 7C 00 38 */ lfs f3, 0x38(r28) /* 80245D4C 00242CAC FC 40 08 90 */ fmr f2, f1 /* 80245D50 00242CB0 93 A1 00 C0 */ stw r29, 0xc0(r1) /* 80245D54 00242CB4 C8 01 00 C0 */ lfd f0, 0xc0(r1) /* 80245D58 00242CB8 EC 00 F8 28 */ fsubs f0, f0, f31 /* 80245D5C 00242CBC EC 63 00 32 */ fmuls f3, f3, f0 /* 80245D60 00242CC0 48 0C D4 29 */ bl Translate__12CTransform4fFfff /* 80245D64 00242CC4 38 61 00 8C */ addi r3, r1, 0x8c /* 80245D68 00242CC8 38 81 00 5C */ addi r4, r1, 0x5c /* 80245D6C 00242CCC 38 B9 00 74 */ addi r5, r25, 0x74 /* 80245D70 00242CD0 48 0C CB E1 */ bl __ml__12CTransform4fCFRC12CTransform4f /* 80245D74 00242CD4 38 79 00 04 */ addi r3, r25, 4 /* 80245D78 00242CD8 38 81 00 8C */ addi r4, r1, 0x8c /* 80245D7C 00242CDC 48 0C CD C5 */ bl __as__12CTransform4fFRC12CTransform4f /* 80245D80 00242CE0 7F 23 CB 78 */ mr r3, r25 /* 80245D84 00242CE4 48 07 EA 65 */ bl RecalculateTransforms__10CGuiObjectFv /* 80245D88 00242CE8 3B DE 00 04 */ addi r30, r30, 4 /* 80245D8C 00242CEC 3B 5A 00 01 */ addi r26, r26, 1 lbl_80245D90: /* 80245D90 00242CF0 80 1C 01 44 */ lwz r0, 0x144(r28) /* 80245D94 00242CF4 7C 1A 00 00 */ cmpw r26, r0 /* 80245D98 00242CF8 41 80 FF 8C */ blt lbl_80245D24 /* 80245D9C 00242CFC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 80245DA0 00242D00 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 80245DA4 00242D04 BB 21 00 D4 */ lmw r25, 0xd4(r1) /* 80245DA8 00242D08 80 01 01 04 */ lwz r0, 0x104(r1) /* 80245DAC 00242D0C 7C 08 03 A6 */ mtlr r0 /* 80245DB0 00242D10 38 21 01 00 */ addi r1, r1, 0x100 /* 80245DB4 00242D14 4E 80 00 20 */ blr .global UpdateBodyText__14CLogBookScreenFv UpdateBodyText__14CLogBookScreenFv: /* 80245DB8 00242D18 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80245DBC 00242D1C 7C 08 02 A6 */ mflr r0 /* 80245DC0 00242D20 90 01 00 64 */ stw r0, 0x64(r1) /* 80245DC4 00242D24 93 E1 00 5C */ stw r31, 0x5c(r1) /* 80245DC8 00242D28 7C 7F 1B 78 */ mr r31, r3 /* 80245DCC 00242D2C 93 C1 00 58 */ stw r30, 0x58(r1) /* 80245DD0 00242D30 93 A1 00 54 */ stw r29, 0x54(r1) /* 80245DD4 00242D34 80 03 00 10 */ lwz r0, 0x10(r3) /* 80245DD8 00242D38 2C 00 00 02 */ cmpwi r0, 2 /* 80245DDC 00242D3C 41 82 00 38 */ beq lbl_80245E14 /* 80245DE0 00242D40 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80245DE4 00242D44 38 61 00 30 */ addi r3, r1, 0x30 /* 80245DE8 00242D48 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 80245DEC 00242D4C 38 84 00 34 */ addi r4, r4, 0x34 /* 80245DF0 00242D50 4B DC FC 01 */ bl wstring_l__4rstlFPCw /* 80245DF4 00242D54 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80245DF8 00242D58 38 81 00 30 */ addi r4, r1, 0x30 /* 80245DFC 00242D5C 38 A0 00 00 */ li r5, 0 /* 80245E00 00242D60 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80245E04 00242D64 48 08 3A 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245E08 00242D68 38 61 00 30 */ addi r3, r1, 0x30 /* 80245E0C 00242D6C 48 0F 73 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245E10 00242D70 48 00 01 A4 */ b lbl_80245FB4 lbl_80245E14: /* 80245E14 00242D74 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 80245E18 00242D78 80 9F 01 FC */ lwz r4, 0x1fc(r31) /* 80245E1C 00242D7C 1C 60 00 1C */ mulli r3, r0, 0x1c /* 80245E20 00242D80 3B A3 00 0C */ addi r29, r3, 0xc /* 80245E24 00242D84 7F A4 EA 14 */ add r29, r4, r29 /* 80245E28 00242D88 88 1D 00 0C */ lbz r0, 0xc(r29) /* 80245E2C 00242D8C 28 00 00 00 */ cmplwi r0, 0 /* 80245E30 00242D90 41 82 01 84 */ beq lbl_80245FB4 /* 80245E34 00242D94 80 1D 00 08 */ lwz r0, 8(r29) /* 80245E38 00242D98 28 00 00 00 */ cmplwi r0, 0 /* 80245E3C 00242D9C 41 82 00 0C */ beq lbl_80245E48 /* 80245E40 00242DA0 38 60 00 01 */ li r3, 1 /* 80245E44 00242DA4 48 00 00 3C */ b lbl_80245E80 lbl_80245E48: /* 80245E48 00242DA8 88 1D 00 04 */ lbz r0, 4(r29) /* 80245E4C 00242DAC 28 00 00 00 */ cmplwi r0, 0 /* 80245E50 00242DB0 41 82 00 2C */ beq lbl_80245E7C /* 80245E54 00242DB4 80 7D 00 00 */ lwz r3, 0(r29) /* 80245E58 00242DB8 80 03 00 10 */ lwz r0, 0x10(r3) /* 80245E5C 00242DBC 28 00 00 00 */ cmplwi r0, 0 /* 80245E60 00242DC0 41 82 00 1C */ beq lbl_80245E7C /* 80245E64 00242DC4 7F A3 EB 78 */ mr r3, r29 /* 80245E68 00242DC8 48 0F AF A5 */ bl GetObj__6CTokenFv /* 80245E6C 00242DCC 80 03 00 04 */ lwz r0, 4(r3) /* 80245E70 00242DD0 38 60 00 01 */ li r3, 1 /* 80245E74 00242DD4 90 1D 00 08 */ stw r0, 8(r29) /* 80245E78 00242DD8 48 00 00 08 */ b lbl_80245E80 lbl_80245E7C: /* 80245E7C 00242DDC 38 60 00 00 */ li r3, 0 lbl_80245E80: /* 80245E80 00242DE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80245E84 00242DE4 41 82 01 30 */ beq lbl_80245FB4 /* 80245E88 00242DE8 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80245E8C 00242DEC 80 03 00 DC */ lwz r0, 0xdc(r3) /* 80245E90 00242DF0 2C 00 00 00 */ cmpwi r0, 0 /* 80245E94 00242DF4 40 82 01 20 */ bne lbl_80245FB4 /* 80245E98 00242DF8 83 BD 00 08 */ lwz r29, 8(r29) /* 80245E9C 00242DFC 38 80 00 00 */ li r4, 0 /* 80245EA0 00242E00 7F A3 EB 78 */ mr r3, r29 /* 80245EA4 00242E04 48 11 08 59 */ bl GetString__12CStringTableCFi /* 80245EA8 00242E08 7C 64 1B 78 */ mr r4, r3 /* 80245EAC 00242E0C 38 61 00 40 */ addi r3, r1, 0x40 /* 80245EB0 00242E10 38 C1 00 08 */ addi r6, r1, 8 /* 80245EB4 00242E14 38 A0 FF FF */ li r5, -1 /* 80245EB8 00242E18 48 0F 79 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80245EBC 00242E1C 80 1D 00 00 */ lwz r0, 0(r29) /* 80245EC0 00242E20 2C 00 00 02 */ cmpwi r0, 2 /* 80245EC4 00242E24 40 81 00 38 */ ble lbl_80245EFC /* 80245EC8 00242E28 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80245ECC 00242E2C 38 61 00 40 */ addi r3, r1, 0x40 /* 80245ED0 00242E30 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 80245ED4 00242E34 38 A0 FF FF */ li r5, -1 /* 80245ED8 00242E38 38 84 00 36 */ addi r4, r4, 0x36 /* 80245EDC 00242E3C 48 0F 76 09 */ bl sub_8033d4e4 /* 80245EE0 00242E40 7F A3 EB 78 */ mr r3, r29 /* 80245EE4 00242E44 38 80 00 02 */ li r4, 2 /* 80245EE8 00242E48 48 11 08 15 */ bl GetString__12CStringTableCFi /* 80245EEC 00242E4C 7C 64 1B 78 */ mr r4, r3 /* 80245EF0 00242E50 38 61 00 40 */ addi r3, r1, 0x40 /* 80245EF4 00242E54 38 A0 FF FF */ li r5, -1 /* 80245EF8 00242E58 48 0F 75 ED */ bl sub_8033d4e4 lbl_80245EFC: /* 80245EFC 00242E5C 7F E3 FB 78 */ mr r3, r31 /* 80245F00 00242E60 48 00 17 99 */ bl IsArtifactCategorySelected__14CLogBookScreenCFv /* 80245F04 00242E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80245F08 00242E68 41 82 00 90 */ beq lbl_80245F98 /* 80245F0C 00242E6C 7F E3 FB 78 */ mr r3, r31 /* 80245F10 00242E70 48 00 17 35 */ bl GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv /* 80245F14 00242E74 7C 7E 1B 79 */ or. r30, r3, r3 /* 80245F18 00242E78 41 80 00 80 */ blt lbl_80245F98 /* 80245F1C 00242E7C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13) /* 80245F20 00242E80 38 61 00 0C */ addi r3, r1, 0xc /* 80245F24 00242E84 4B F8 D9 FD */ bl GetPlayerState__10CGameStateCFv /* 80245F28 00242E88 80 81 00 0C */ lwz r4, 0xc(r1) /* 80245F2C 00242E8C 38 61 00 0C */ addi r3, r1, 0xc /* 80245F30 00242E90 83 A4 00 00 */ lwz r29, 0(r4) /* 80245F34 00242E94 4B DC 2F D9 */ bl sub_80008f0c /* 80245F38 00242E98 7F A3 EB 78 */ mr r3, r29 /* 80245F3C 00242E9C 38 9E 00 1D */ addi r4, r30, 0x1d /* 80245F40 00242EA0 4B E4 BB 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType /* 80245F44 00242EA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80245F48 00242EA8 41 82 00 50 */ beq lbl_80245F98 /* 80245F4C 00242EAC 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80245F50 00242EB0 38 61 00 20 */ addi r3, r1, 0x20 /* 80245F54 00242EB4 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 80245F58 00242EB8 38 84 00 3C */ addi r4, r4, 0x3c /* 80245F5C 00242EBC 4B DC FA 95 */ bl wstring_l__4rstlFPCw /* 80245F60 00242EC0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13) /* 80245F64 00242EC4 38 80 00 69 */ li r4, 0x69 /* 80245F68 00242EC8 48 11 07 95 */ bl GetString__12CStringTableCFi /* 80245F6C 00242ECC 7C 65 1B 78 */ mr r5, r3 /* 80245F70 00242ED0 38 61 00 10 */ addi r3, r1, 0x10 /* 80245F74 00242ED4 38 81 00 20 */ addi r4, r1, 0x20 /* 80245F78 00242ED8 48 00 00 59 */ bl sub_80245fd0 /* 80245F7C 00242EDC 38 61 00 40 */ addi r3, r1, 0x40 /* 80245F80 00242EE0 38 81 00 10 */ addi r4, r1, 0x10 /* 80245F84 00242EE4 48 0F 73 C9 */ bl sub_8033d34c /* 80245F88 00242EE8 38 61 00 10 */ addi r3, r1, 0x10 /* 80245F8C 00242EEC 48 0F 71 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80245F90 00242EF0 38 61 00 20 */ addi r3, r1, 0x20 /* 80245F94 00242EF4 48 0F 71 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80245F98: /* 80245F98 00242EF8 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80245F9C 00242EFC 38 81 00 40 */ addi r4, r1, 0x40 /* 80245FA0 00242F00 38 A0 00 01 */ li r5, 1 /* 80245FA4 00242F04 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80245FA8 00242F08 48 08 38 DD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245FAC 00242F0C 38 61 00 40 */ addi r3, r1, 0x40 /* 80245FB0 00242F10 48 0F 71 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_80245FB4: /* 80245FB4 00242F14 80 01 00 64 */ lwz r0, 0x64(r1) /* 80245FB8 00242F18 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80245FBC 00242F1C 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80245FC0 00242F20 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80245FC4 00242F24 7C 08 03 A6 */ mtlr r0 /* 80245FC8 00242F28 38 21 00 60 */ addi r1, r1, 0x60 /* 80245FCC 00242F2C 4E 80 00 20 */ blr .global sub_80245fd0 sub_80245fd0: /* 80245FD0 00242F30 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80245FD4 00242F34 7C 08 02 A6 */ mflr r0 /* 80245FD8 00242F38 90 01 00 24 */ stw r0, 0x24(r1) /* 80245FDC 00242F3C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80245FE0 00242F40 7C BF 2B 78 */ mr r31, r5 /* 80245FE4 00242F44 93 C1 00 18 */ stw r30, 0x18(r1) /* 80245FE8 00242F48 7C 7E 1B 78 */ mr r30, r3 /* 80245FEC 00242F4C 38 61 00 08 */ addi r3, r1, 8 /* 80245FF0 00242F50 48 0F 77 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80245FF4 00242F54 7F E4 FB 78 */ mr r4, r31 /* 80245FF8 00242F58 38 61 00 08 */ addi r3, r1, 8 /* 80245FFC 00242F5C 38 A0 FF FF */ li r5, -1 /* 80246000 00242F60 48 0F 74 E5 */ bl sub_8033d4e4 /* 80246004 00242F64 7F C3 F3 78 */ mr r3, r30 /* 80246008 00242F68 38 81 00 08 */ addi r4, r1, 8 /* 8024600C 00242F6C 48 0F 77 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80246010 00242F70 38 61 00 08 */ addi r3, r1, 8 /* 80246014 00242F74 48 0F 71 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 80246018 00242F78 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024601C 00242F7C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80246020 00242F80 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80246024 00242F84 7C 08 03 A6 */ mtlr r0 /* 80246028 00242F88 38 21 00 20 */ addi r1, r1, 0x20 /* 8024602C 00242F8C 4E 80 00 20 */ blr .global UpdateBodyImagesAndText__14CLogBookScreenFv UpdateBodyImagesAndText__14CLogBookScreenFv: /* 80246030 00242F90 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80246034 00242F94 7C 08 02 A6 */ mflr r0 /* 80246038 00242F98 90 01 00 54 */ stw r0, 0x54(r1) /* 8024603C 00242F9C DB E1 00 40 */ stfd f31, 0x40(r1) /* 80246040 00242FA0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 /* 80246044 00242FA4 BF 41 00 28 */ stmw r26, 0x28(r1) /* 80246048 00242FA8 7C 7F 1B 78 */ mr r31, r3 /* 8024604C 00242FAC 3B 60 00 00 */ li r27, 0 /* 80246050 00242FB0 80 03 00 1C */ lwz r0, 0x1c(r3) /* 80246054 00242FB4 3B BF 00 F4 */ addi r29, r31, 0xf4 /* 80246058 00242FB8 80 83 01 FC */ lwz r4, 0x1fc(r3) /* 8024605C 00242FBC 7F BE EB 78 */ mr r30, r29 /* 80246060 00242FC0 1C 60 00 1C */ mulli r3, r0, 0x1c /* 80246064 00242FC4 38 03 00 08 */ addi r0, r3, 8 /* 80246068 00242FC8 7F 84 00 2E */ lwzx r28, r4, r0 /* 8024606C 00242FCC 48 00 00 34 */ b lbl_802460A0 lbl_80246070: /* 80246070 00242FD0 83 5E 00 00 */ lwz r26, 0(r30) /* 80246074 00242FD4 38 80 FF FF */ li r4, -1 /* 80246078 00242FD8 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13) /* 8024607C 00242FDC 7F 43 D3 78 */ mr r3, r26 /* 80246080 00242FE0 48 08 5E 4D */ bl SetTextureID0__13CAuiImagePaneFUib /* 80246084 00242FE4 C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2) /* 80246088 00242FE8 7F 43 D3 78 */ mr r3, r26 /* 8024608C 00242FEC 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 /* 80246090 00242FF0 FC 40 08 90 */ fmr f2, f1 /* 80246094 00242FF4 48 08 6E 15 */ bl SetAnimationParms__13CAuiImagePaneFRC9CVector2fff /* 80246098 00242FF8 3B DE 00 04 */ addi r30, r30, 4 /* 8024609C 00242FFC 3B 7B 00 01 */ addi r27, r27, 1 lbl_802460A0: /* 802460A0 00243000 80 1F 00 F0 */ lwz r0, 0xf0(r31) /* 802460A4 00243004 7C 1B 00 00 */ cmpw r27, r0 /* 802460A8 00243008 41 80 FF C8 */ blt lbl_80246070 /* 802460AC 0024300C 3B 40 00 00 */ li r26, 0 /* 802460B0 00243010 3B DC 00 18 */ addi r30, r28, 0x18 lbl_802460B4: /* 802460B4 00243014 80 1E 00 08 */ lwz r0, 8(r30) /* 802460B8 00243018 2C 00 FF FF */ cmpwi r0, -1 /* 802460BC 0024301C 41 82 00 88 */ beq lbl_80246144 /* 802460C0 00243020 C3 FE 00 14 */ lfs f31, 0x14(r30) /* 802460C4 00243024 54 00 10 3A */ slwi r0, r0, 2 /* 802460C8 00243028 C0 02 B8 58 */ lfs f0, lbl_805AD578@sda21(r2) /* 802460CC 0024302C 7F 7D 00 2E */ lwzx r27, r29, r0 /* 802460D0 00243030 FC 1F 00 40 */ fcmpo cr0, f31, f0 /* 802460D4 00243034 40 81 00 58 */ ble lbl_8024612C /* 802460D8 00243038 80 BE 00 0C */ lwz r5, 0xc(r30) /* 802460DC 0024303C 3C 80 43 30 */ lis r4, 0x4330 /* 802460E0 00243040 80 1E 00 10 */ lwz r0, 0x10(r30) /* 802460E4 00243044 38 61 00 08 */ addi r3, r1, 8 /* 802460E8 00243048 6C A5 80 00 */ xoris r5, r5, 0x8000 /* 802460EC 0024304C 90 81 00 10 */ stw r4, 0x10(r1) /* 802460F0 00243050 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 802460F4 00243054 C8 42 B8 68 */ lfd f2, lbl_805AD588@sda21(r2) /* 802460F8 00243058 90 A1 00 14 */ stw r5, 0x14(r1) /* 802460FC 0024305C C8 01 00 10 */ lfd f0, 0x10(r1) /* 80246100 00243060 90 01 00 1C */ stw r0, 0x1c(r1) /* 80246104 00243064 EC 20 10 28 */ fsubs f1, f0, f2 /* 80246108 00243068 90 81 00 18 */ stw r4, 0x18(r1) /* 8024610C 0024306C C8 01 00 18 */ lfd f0, 0x18(r1) /* 80246110 00243070 EC 40 10 28 */ fsubs f2, f0, f2 /* 80246114 00243074 48 0C E0 ED */ bl __ct__9CVector2fFff /* 80246118 00243078 FC 20 F8 90 */ fmr f1, f31 /* 8024611C 0024307C 7C 64 1B 78 */ mr r4, r3 /* 80246120 00243080 C0 5E 00 18 */ lfs f2, 0x18(r30) /* 80246124 00243084 7F 63 DB 78 */ mr r3, r27 /* 80246128 00243088 48 08 6D 81 */ bl SetAnimationParms__13CAuiImagePaneFRC9CVector2fff lbl_8024612C: /* 8024612C 0024308C 80 9E 00 00 */ lwz r4, 0(r30) /* 80246130 00243090 7F 63 DB 78 */ mr r3, r27 /* 80246134 00243094 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13) /* 80246138 00243098 48 08 5D 95 */ bl SetTextureID0__13CAuiImagePaneFUib /* 8024613C 0024309C C0 02 B8 58 */ lfs f0, lbl_805AD578@sda21(r2) /* 80246140 002430A0 D0 1B 01 50 */ stfs f0, 0x150(r27) lbl_80246144: /* 80246144 002430A4 3B 5A 00 01 */ addi r26, r26, 1 /* 80246148 002430A8 3B DE 00 1C */ addi r30, r30, 0x1c /* 8024614C 002430AC 2C 1A 00 04 */ cmpwi r26, 4 /* 80246150 002430B0 41 80 FF 64 */ blt lbl_802460B4 /* 80246154 002430B4 88 1F 02 60 */ lbz r0, 0x260(r31) /* 80246158 002430B8 38 60 00 00 */ li r3, 0 /* 8024615C 002430BC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80246160 002430C0 7F E3 FB 78 */ mr r3, r31 /* 80246164 002430C4 98 1F 02 60 */ stb r0, 0x260(r31) /* 80246168 002430C8 4B FF FC 51 */ bl UpdateBodyText__14CLogBookScreenFv /* 8024616C 002430CC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 /* 80246170 002430D0 CB E1 00 40 */ lfd f31, 0x40(r1) /* 80246174 002430D4 BB 41 00 28 */ lmw r26, 0x28(r1) /* 80246178 002430D8 80 01 00 54 */ lwz r0, 0x54(r1) /* 8024617C 002430DC 7C 08 03 A6 */ mtlr r0 /* 80246180 002430E0 38 21 00 50 */ addi r1, r1, 0x50 /* 80246184 002430E4 4E 80 00 20 */ blr .global NextSurroundingArticleIndex__14CLogBookScreenFi NextSurroundingArticleIndex__14CLogBookScreenFi: /* 80246188 002430E8 80 C3 00 18 */ lwz r6, 0x18(r3) /* 8024618C 002430EC 7C 04 30 00 */ cmpw r4, r6 /* 80246190 002430F0 40 80 00 28 */ bge lbl_802461B8 /* 80246194 002430F4 7C A4 30 50 */ subf r5, r4, r6 /* 80246198 002430F8 80 03 01 F4 */ lwz r0, 0x1f4(r3) /* 8024619C 002430FC 38 A5 00 06 */ addi r5, r5, 6 /* 802461A0 00243100 38 64 FF FF */ addi r3, r4, -1 /* 802461A4 00243104 7C A6 2A 14 */ add r5, r6, r5 /* 802461A8 00243108 7C 05 00 00 */ cmpw r5, r0 /* 802461AC 0024310C 4C 80 00 20 */ bgelr /* 802461B0 00243110 7C A3 2B 78 */ mr r3, r5 /* 802461B4 00243114 4E 80 00 20 */ blr lbl_802461B8: /* 802461B8 00243118 38 06 00 06 */ addi r0, r6, 6 /* 802461BC 0024311C 7C 04 00 00 */ cmpw r4, r0 /* 802461C0 00243120 40 80 00 28 */ bge lbl_802461E8 /* 802461C4 00243124 80 03 01 F4 */ lwz r0, 0x1f4(r3) /* 802461C8 00243128 38 64 00 01 */ addi r3, r4, 1 /* 802461CC 0024312C 7C 03 00 00 */ cmpw r3, r0 /* 802461D0 00243130 4D 80 00 20 */ bltlr /* 802461D4 00243134 2C 06 00 00 */ cmpwi r6, 0 /* 802461D8 00243138 38 60 FF FF */ li r3, -1 /* 802461DC 0024313C 4D 82 00 20 */ beqlr /* 802461E0 00243140 38 66 FF FF */ addi r3, r6, -1 /* 802461E4 00243144 4E 80 00 20 */ blr lbl_802461E8: /* 802461E8 00243148 38 06 00 05 */ addi r0, r6, 5 /* 802461EC 0024314C 7C 00 20 50 */ subf r0, r0, r4 /* 802461F0 00243150 7C 00 30 51 */ subf. r0, r0, r6 /* 802461F4 00243154 41 80 00 0C */ blt lbl_80246200 /* 802461F8 00243158 7C 03 03 78 */ mr r3, r0 /* 802461FC 0024315C 4E 80 00 20 */ blr lbl_80246200: /* 80246200 00243160 80 A3 01 F4 */ lwz r5, 0x1f4(r3) /* 80246204 00243164 38 60 FF FF */ li r3, -1 /* 80246208 00243168 38 05 FF FF */ addi r0, r5, -1 /* 8024620C 0024316C 7C 04 00 00 */ cmpw r4, r0 /* 80246210 00243170 4C 80 00 20 */ bgelr /* 80246214 00243174 38 64 00 01 */ addi r3, r4, 1 /* 80246218 00243178 4E 80 00 20 */ blr .global PumpArticleLoad__14CLogBookScreenFv PumpArticleLoad__14CLogBookScreenFv: /* 8024621C 0024317C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80246220 00243180 7C 08 02 A6 */ mflr r0 /* 80246224 00243184 90 01 00 64 */ stw r0, 0x64(r1) /* 80246228 00243188 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 8024622C 0024318C 7C 7B 1B 78 */ mr r27, r3 /* 80246230 00243190 3B DB 02 04 */ addi r30, r27, 0x204 /* 80246234 00243194 38 60 00 01 */ li r3, 1 /* 80246238 00243198 7F DD F3 78 */ mr r29, r30 /* 8024623C 0024319C 88 1B 02 60 */ lbz r0, 0x260(r27) /* 80246240 002431A0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80246244 002431A4 98 1B 02 60 */ stb r0, 0x260(r27) /* 80246248 002431A8 48 00 01 A0 */ b lbl_802463E8 lbl_8024624C: /* 8024624C 002431AC 83 FD 00 0C */ lwz r31, 0xc(r29) /* 80246250 002431B0 48 00 01 7C */ b lbl_802463CC lbl_80246254: /* 80246254 002431B4 80 1F 00 08 */ lwz r0, 8(r31) /* 80246258 002431B8 28 00 00 00 */ cmplwi r0, 0 /* 8024625C 002431BC 41 82 00 0C */ beq lbl_80246268 /* 80246260 002431C0 38 60 00 01 */ li r3, 1 /* 80246264 002431C4 48 00 00 3C */ b lbl_802462A0 lbl_80246268: /* 80246268 002431C8 88 1F 00 04 */ lbz r0, 4(r31) /* 8024626C 002431CC 28 00 00 00 */ cmplwi r0, 0 /* 80246270 002431D0 41 82 00 2C */ beq lbl_8024629C /* 80246274 002431D4 80 7F 00 00 */ lwz r3, 0(r31) /* 80246278 002431D8 80 03 00 10 */ lwz r0, 0x10(r3) /* 8024627C 002431DC 28 00 00 00 */ cmplwi r0, 0 /* 80246280 002431E0 41 82 00 1C */ beq lbl_8024629C /* 80246284 002431E4 7F E3 FB 78 */ mr r3, r31 /* 80246288 002431E8 48 0F AB 85 */ bl GetObj__6CTokenFv /* 8024628C 002431EC 80 03 00 04 */ lwz r0, 4(r3) /* 80246290 002431F0 38 60 00 01 */ li r3, 1 /* 80246294 002431F4 90 1F 00 08 */ stw r0, 8(r31) /* 80246298 002431F8 48 00 00 08 */ b lbl_802462A0 lbl_8024629C: /* 8024629C 002431FC 38 60 00 00 */ li r3, 0 lbl_802462A0: /* 802462A0 00243200 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802462A4 00243204 41 82 01 14 */ beq lbl_802463B8 /* 802462A8 00243208 3B 9F 00 0C */ addi r28, r31, 0xc /* 802462AC 0024320C 88 1F 00 18 */ lbz r0, 0x18(r31) /* 802462B0 00243210 28 00 00 00 */ cmplwi r0, 0 /* 802462B4 00243214 41 82 00 40 */ beq lbl_802462F4 /* 802462B8 00243218 80 1C 00 08 */ lwz r0, 8(r28) /* 802462BC 0024321C 28 00 00 00 */ cmplwi r0, 0 /* 802462C0 00243220 40 82 01 08 */ bne lbl_802463C8 /* 802462C4 00243224 88 1C 00 04 */ lbz r0, 4(r28) /* 802462C8 00243228 28 00 00 00 */ cmplwi r0, 0 /* 802462CC 0024322C 41 82 00 FC */ beq lbl_802463C8 /* 802462D0 00243230 80 7C 00 00 */ lwz r3, 0(r28) /* 802462D4 00243234 80 03 00 10 */ lwz r0, 0x10(r3) /* 802462D8 00243238 28 00 00 00 */ cmplwi r0, 0 /* 802462DC 0024323C 41 82 00 EC */ beq lbl_802463C8 /* 802462E0 00243240 7F 83 E3 78 */ mr r3, r28 /* 802462E4 00243244 48 0F AB 29 */ bl GetObj__6CTokenFv /* 802462E8 00243248 80 03 00 04 */ lwz r0, 4(r3) /* 802462EC 0024324C 90 1C 00 08 */ stw r0, 8(r28) /* 802462F0 00243250 48 00 00 D8 */ b lbl_802463C8 lbl_802462F4: /* 802462F4 00243254 80 BF 00 08 */ lwz r5, 8(r31) /* 802462F8 00243258 3C 60 53 54 */ lis r3, 0x53545247@ha /* 802462FC 0024325C 38 03 52 47 */ addi r0, r3, 0x53545247@l /* 80246300 00243260 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80246304 00243264 80 C5 00 04 */ lwz r6, 4(r5) /* 80246308 00243268 38 61 00 18 */ addi r3, r1, 0x18 /* 8024630C 0024326C 38 A1 00 20 */ addi r5, r1, 0x20 /* 80246310 00243270 90 01 00 20 */ stw r0, 0x20(r1) /* 80246314 00243274 90 C1 00 24 */ stw r6, 0x24(r1) /* 80246318 00243278 81 84 00 00 */ lwz r12, 0(r4) /* 8024631C 0024327C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80246320 00243280 7D 89 03 A6 */ mtctr r12 /* 80246324 00243284 4E 80 04 21 */ bctrl /* 80246328 00243288 38 61 00 34 */ addi r3, r1, 0x34 /* 8024632C 0024328C 38 81 00 18 */ addi r4, r1, 0x18 /* 80246330 00243290 48 0F AB 79 */ bl __ct__6CTokenFRC6CToken /* 80246334 00243294 38 00 00 00 */ li r0, 0 /* 80246338 00243298 90 01 00 3C */ stw r0, 0x3c(r1) /* 8024633C 0024329C 88 1C 00 0C */ lbz r0, 0xc(r28) /* 80246340 002432A0 28 00 00 00 */ cmplwi r0, 0 /* 80246344 002432A4 40 82 00 2C */ bne lbl_80246370 /* 80246348 002432A8 28 1C 00 00 */ cmplwi r28, 0 /* 8024634C 002432AC 41 82 00 18 */ beq lbl_80246364 /* 80246350 002432B0 7F 83 E3 78 */ mr r3, r28 /* 80246354 002432B4 38 81 00 34 */ addi r4, r1, 0x34 /* 80246358 002432B8 48 0F AB 51 */ bl __ct__6CTokenFRC6CToken /* 8024635C 002432BC 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80246360 002432C0 90 1C 00 08 */ stw r0, 8(r28) lbl_80246364: /* 80246364 002432C4 38 00 00 01 */ li r0, 1 /* 80246368 002432C8 98 1C 00 0C */ stb r0, 0xc(r28) /* 8024636C 002432CC 48 00 00 18 */ b lbl_80246384 lbl_80246370: /* 80246370 002432D0 7F 83 E3 78 */ mr r3, r28 /* 80246374 002432D4 38 81 00 34 */ addi r4, r1, 0x34 /* 80246378 002432D8 48 0F A9 4D */ bl __as__6CTokenFRC6CToken /* 8024637C 002432DC 80 01 00 3C */ lwz r0, 0x3c(r1) /* 80246380 002432E0 90 1C 00 08 */ stw r0, 8(r28) lbl_80246384: /* 80246384 002432E4 38 61 00 34 */ addi r3, r1, 0x34 /* 80246388 002432E8 38 80 00 00 */ li r4, 0 /* 8024638C 002432EC 48 0F AA B5 */ bl __dt__6CTokenFv /* 80246390 002432F0 38 61 00 18 */ addi r3, r1, 0x18 /* 80246394 002432F4 38 80 FF FF */ li r4, -1 /* 80246398 002432F8 48 0F AA A9 */ bl __dt__6CTokenFv /* 8024639C 002432FC 7F 83 E3 78 */ mr r3, r28 /* 802463A0 00243300 48 0F A9 E5 */ bl Lock__6CTokenFv /* 802463A4 00243304 88 1B 02 60 */ lbz r0, 0x260(r27) /* 802463A8 00243308 38 60 00 00 */ li r3, 0 /* 802463AC 0024330C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802463B0 00243310 98 1B 02 60 */ stb r0, 0x260(r27) /* 802463B4 00243314 48 00 00 14 */ b lbl_802463C8 lbl_802463B8: /* 802463B8 00243318 88 1B 02 60 */ lbz r0, 0x260(r27) /* 802463BC 0024331C 38 60 00 00 */ li r3, 0 /* 802463C0 00243320 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 802463C4 00243324 98 1B 02 60 */ stb r0, 0x260(r27) lbl_802463C8: /* 802463C8 00243328 3B FF 00 1C */ addi r31, r31, 0x1c lbl_802463CC: /* 802463CC 0024332C 80 1D 00 04 */ lwz r0, 4(r29) /* 802463D0 00243330 80 7D 00 0C */ lwz r3, 0xc(r29) /* 802463D4 00243334 1C 00 00 1C */ mulli r0, r0, 0x1c /* 802463D8 00243338 7C 03 02 14 */ add r0, r3, r0 /* 802463DC 0024333C 7C 1F 00 40 */ cmplw r31, r0 /* 802463E0 00243340 40 82 FE 74 */ bne lbl_80246254 /* 802463E4 00243344 3B BD 00 10 */ addi r29, r29, 0x10 lbl_802463E8: /* 802463E8 00243348 80 1B 02 00 */ lwz r0, 0x200(r27) /* 802463EC 0024334C 54 00 20 36 */ slwi r0, r0, 4 /* 802463F0 00243350 7C 1E 02 14 */ add r0, r30, r0 /* 802463F4 00243354 7C 1D 00 40 */ cmplw r29, r0 /* 802463F8 00243358 40 82 FE 54 */ bne lbl_8024624C /* 802463FC 0024335C 83 FB 01 FC */ lwz r31, 0x1fc(r27) /* 80246400 00243360 3B 80 00 06 */ li r28, 6 /* 80246404 00243364 48 00 01 54 */ b lbl_80246558 lbl_80246408: /* 80246408 00243368 80 1F 00 08 */ lwz r0, 8(r31) /* 8024640C 0024336C 38 80 00 00 */ li r4, 0 /* 80246410 00243370 28 00 00 00 */ cmplwi r0, 0 /* 80246414 00243374 40 82 00 14 */ bne lbl_80246428 /* 80246418 00243378 80 7F 00 00 */ lwz r3, 0(r31) /* 8024641C 0024337C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80246420 00243380 28 00 00 00 */ cmplwi r0, 0 /* 80246424 00243384 41 82 00 08 */ beq lbl_8024642C lbl_80246428: /* 80246428 00243388 38 80 00 01 */ li r4, 1 lbl_8024642C: /* 8024642C 0024338C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80246430 00243390 41 82 01 0C */ beq lbl_8024653C /* 80246434 00243394 7F E3 FB 78 */ mr r3, r31 /* 80246438 00243398 48 0F A9 4D */ bl Lock__6CTokenFv /* 8024643C 0024339C 80 1F 00 08 */ lwz r0, 8(r31) /* 80246440 002433A0 28 00 00 00 */ cmplwi r0, 0 /* 80246444 002433A4 40 82 00 30 */ bne lbl_80246474 /* 80246448 002433A8 88 1F 00 04 */ lbz r0, 4(r31) /* 8024644C 002433AC 28 00 00 00 */ cmplwi r0, 0 /* 80246450 002433B0 41 82 00 24 */ beq lbl_80246474 /* 80246454 002433B4 80 7F 00 00 */ lwz r3, 0(r31) /* 80246458 002433B8 80 03 00 10 */ lwz r0, 0x10(r3) /* 8024645C 002433BC 28 00 00 00 */ cmplwi r0, 0 /* 80246460 002433C0 41 82 00 14 */ beq lbl_80246474 /* 80246464 002433C4 7F E3 FB 78 */ mr r3, r31 /* 80246468 002433C8 48 0F A9 A5 */ bl GetObj__6CTokenFv /* 8024646C 002433CC 80 03 00 04 */ lwz r0, 4(r3) /* 80246470 002433D0 90 1F 00 08 */ stw r0, 8(r31) lbl_80246474: /* 80246474 002433D4 3B BF 00 0C */ addi r29, r31, 0xc /* 80246478 002433D8 88 1F 00 18 */ lbz r0, 0x18(r31) /* 8024647C 002433DC 28 00 00 00 */ cmplwi r0, 0 /* 80246480 002433E0 40 82 00 CC */ bne lbl_8024654C /* 80246484 002433E4 80 BF 00 08 */ lwz r5, 8(r31) /* 80246488 002433E8 3C 60 53 54 */ lis r3, 0x53545247@ha /* 8024648C 002433EC 38 03 52 47 */ addi r0, r3, 0x53545247@l /* 80246490 002433F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80246494 002433F4 80 C5 00 04 */ lwz r6, 4(r5) /* 80246498 002433F8 38 61 00 08 */ addi r3, r1, 8 /* 8024649C 002433FC 38 A1 00 10 */ addi r5, r1, 0x10 /* 802464A0 00243400 90 01 00 10 */ stw r0, 0x10(r1) /* 802464A4 00243404 90 C1 00 14 */ stw r6, 0x14(r1) /* 802464A8 00243408 81 84 00 00 */ lwz r12, 0(r4) /* 802464AC 0024340C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802464B0 00243410 7D 89 03 A6 */ mtctr r12 /* 802464B4 00243414 4E 80 04 21 */ bctrl /* 802464B8 00243418 38 61 00 28 */ addi r3, r1, 0x28 /* 802464BC 0024341C 38 81 00 08 */ addi r4, r1, 8 /* 802464C0 00243420 48 0F A9 E9 */ bl __ct__6CTokenFRC6CToken /* 802464C4 00243424 38 00 00 00 */ li r0, 0 /* 802464C8 00243428 90 01 00 30 */ stw r0, 0x30(r1) /* 802464CC 0024342C 88 1D 00 0C */ lbz r0, 0xc(r29) /* 802464D0 00243430 28 00 00 00 */ cmplwi r0, 0 /* 802464D4 00243434 40 82 00 2C */ bne lbl_80246500 /* 802464D8 00243438 28 1D 00 00 */ cmplwi r29, 0 /* 802464DC 0024343C 41 82 00 18 */ beq lbl_802464F4 /* 802464E0 00243440 7F A3 EB 78 */ mr r3, r29 /* 802464E4 00243444 38 81 00 28 */ addi r4, r1, 0x28 /* 802464E8 00243448 48 0F A9 C1 */ bl __ct__6CTokenFRC6CToken /* 802464EC 0024344C 80 01 00 30 */ lwz r0, 0x30(r1) /* 802464F0 00243450 90 1D 00 08 */ stw r0, 8(r29) lbl_802464F4: /* 802464F4 00243454 38 00 00 01 */ li r0, 1 /* 802464F8 00243458 98 1D 00 0C */ stb r0, 0xc(r29) /* 802464FC 0024345C 48 00 00 18 */ b lbl_80246514 lbl_80246500: /* 80246500 00243460 7F A3 EB 78 */ mr r3, r29 /* 80246504 00243464 38 81 00 28 */ addi r4, r1, 0x28 /* 80246508 00243468 48 0F A7 BD */ bl __as__6CTokenFRC6CToken /* 8024650C 0024346C 80 01 00 30 */ lwz r0, 0x30(r1) /* 80246510 00243470 90 1D 00 08 */ stw r0, 8(r29) lbl_80246514: /* 80246514 00243474 38 61 00 28 */ addi r3, r1, 0x28 /* 80246518 00243478 38 80 00 00 */ li r4, 0 /* 8024651C 0024347C 48 0F A9 25 */ bl __dt__6CTokenFv /* 80246520 00243480 38 61 00 08 */ addi r3, r1, 8 /* 80246524 00243484 38 80 FF FF */ li r4, -1 /* 80246528 00243488 48 0F A9 19 */ bl __dt__6CTokenFv /* 8024652C 0024348C 7F A3 EB 78 */ mr r3, r29 /* 80246530 00243490 48 0F A8 55 */ bl Lock__6CTokenFv /* 80246534 00243494 3B 9C FF FF */ addi r28, r28, -1 /* 80246538 00243498 48 00 00 14 */ b lbl_8024654C lbl_8024653C: /* 8024653C 0024349C 88 1F 00 04 */ lbz r0, 4(r31) /* 80246540 002434A0 28 00 00 00 */ cmplwi r0, 0 /* 80246544 002434A4 41 82 00 08 */ beq lbl_8024654C /* 80246548 002434A8 3B 9C FF FF */ addi r28, r28, -1 lbl_8024654C: /* 8024654C 002434AC 2C 1C 00 00 */ cmpwi r28, 0 /* 80246550 002434B0 41 82 00 20 */ beq lbl_80246570 /* 80246554 002434B4 3B FF 00 1C */ addi r31, r31, 0x1c lbl_80246558: /* 80246558 002434B8 80 1B 01 F4 */ lwz r0, 0x1f4(r27) /* 8024655C 002434BC 80 7B 01 FC */ lwz r3, 0x1fc(r27) /* 80246560 002434C0 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80246564 002434C4 7C 03 02 14 */ add r0, r3, r0 /* 80246568 002434C8 7C 1F 00 40 */ cmplw r31, r0 /* 8024656C 002434CC 40 82 FE 9C */ bne lbl_80246408 lbl_80246570: /* 80246570 002434D0 80 1B 01 F4 */ lwz r0, 0x1f4(r27) /* 80246574 002434D4 80 7B 00 18 */ lwz r3, 0x18(r27) /* 80246578 002434D8 2C 00 00 00 */ cmpwi r0, 0 /* 8024657C 002434DC 41 82 00 48 */ beq lbl_802465C4 /* 80246580 002434E0 48 00 00 3C */ b lbl_802465BC lbl_80246584: /* 80246584 002434E4 1C 03 00 1C */ mulli r0, r3, 0x1c /* 80246588 002434E8 80 9B 01 FC */ lwz r4, 0x1fc(r27) /* 8024658C 002434EC 7C 7D 1B 78 */ mr r29, r3 /* 80246590 002434F0 7C 64 02 14 */ add r3, r4, r0 /* 80246594 002434F4 88 03 00 04 */ lbz r0, 4(r3) /* 80246598 002434F8 28 00 00 00 */ cmplwi r0, 0 /* 8024659C 002434FC 40 82 00 0C */ bne lbl_802465A8 /* 802465A0 00243500 48 0F A7 E5 */ bl Lock__6CTokenFv /* 802465A4 00243504 3B 9C FF FF */ addi r28, r28, -1 lbl_802465A8: /* 802465A8 00243508 7F 63 DB 78 */ mr r3, r27 /* 802465AC 0024350C 7F A4 EB 78 */ mr r4, r29 /* 802465B0 00243510 4B FF FB D9 */ bl NextSurroundingArticleIndex__14CLogBookScreenFi /* 802465B4 00243514 2C 03 FF FF */ cmpwi r3, -1 /* 802465B8 00243518 41 82 00 0C */ beq lbl_802465C4 lbl_802465BC: /* 802465BC 0024351C 2C 1C 00 00 */ cmpwi r28, 0 /* 802465C0 00243520 41 81 FF C4 */ bgt lbl_80246584 lbl_802465C4: /* 802465C4 00243524 3B 80 00 00 */ li r28, 0 /* 802465C8 00243528 3B E0 00 00 */ li r31, 0 /* 802465CC 0024352C 48 00 00 E4 */ b lbl_802466B0 lbl_802465D0: /* 802465D0 00243530 80 1B 01 FC */ lwz r0, 0x1fc(r27) /* 802465D4 00243534 7F A0 FA 14 */ add r29, r0, r31 /* 802465D8 00243538 80 1D 00 08 */ lwz r0, 8(r29) /* 802465DC 0024353C 28 00 00 00 */ cmplwi r0, 0 /* 802465E0 00243540 41 82 00 0C */ beq lbl_802465EC /* 802465E4 00243544 38 60 00 01 */ li r3, 1 /* 802465E8 00243548 48 00 00 3C */ b lbl_80246624 lbl_802465EC: /* 802465EC 0024354C 88 1D 00 04 */ lbz r0, 4(r29) /* 802465F0 00243550 28 00 00 00 */ cmplwi r0, 0 /* 802465F4 00243554 41 82 00 2C */ beq lbl_80246620 /* 802465F8 00243558 80 7D 00 00 */ lwz r3, 0(r29) /* 802465FC 0024355C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80246600 00243560 28 00 00 00 */ cmplwi r0, 0 /* 80246604 00243564 41 82 00 1C */ beq lbl_80246620 /* 80246608 00243568 7F A3 EB 78 */ mr r3, r29 /* 8024660C 0024356C 48 0F A8 01 */ bl GetObj__6CTokenFv /* 80246610 00243570 80 03 00 04 */ lwz r0, 4(r3) /* 80246614 00243574 38 60 00 01 */ li r3, 1 /* 80246618 00243578 90 1D 00 08 */ stw r0, 8(r29) /* 8024661C 0024357C 48 00 00 08 */ b lbl_80246624 lbl_80246620: /* 80246620 00243580 38 60 00 00 */ li r3, 0 lbl_80246624: /* 80246624 00243584 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80246628 00243588 41 82 00 80 */ beq lbl_802466A8 /* 8024662C 0024358C 80 1B 01 FC */ lwz r0, 0x1fc(r27) /* 80246630 00243590 3B BF 00 0C */ addi r29, r31, 0xc /* 80246634 00243594 7F A0 EA 14 */ add r29, r0, r29 /* 80246638 00243598 88 1D 00 0C */ lbz r0, 0xc(r29) /* 8024663C 0024359C 28 00 00 00 */ cmplwi r0, 0 /* 80246640 002435A0 41 82 00 68 */ beq lbl_802466A8 /* 80246644 002435A4 80 1D 00 08 */ lwz r0, 8(r29) /* 80246648 002435A8 28 00 00 00 */ cmplwi r0, 0 /* 8024664C 002435AC 41 82 00 0C */ beq lbl_80246658 /* 80246650 002435B0 38 60 00 01 */ li r3, 1 /* 80246654 002435B4 48 00 00 3C */ b lbl_80246690 lbl_80246658: /* 80246658 002435B8 88 1D 00 04 */ lbz r0, 4(r29) /* 8024665C 002435BC 28 00 00 00 */ cmplwi r0, 0 /* 80246660 002435C0 41 82 00 2C */ beq lbl_8024668C /* 80246664 002435C4 80 7D 00 00 */ lwz r3, 0(r29) /* 80246668 002435C8 80 03 00 10 */ lwz r0, 0x10(r3) /* 8024666C 002435CC 28 00 00 00 */ cmplwi r0, 0 /* 80246670 002435D0 41 82 00 1C */ beq lbl_8024668C /* 80246674 002435D4 7F A3 EB 78 */ mr r3, r29 /* 80246678 002435D8 48 0F A7 95 */ bl GetObj__6CTokenFv /* 8024667C 002435DC 80 03 00 04 */ lwz r0, 4(r3) /* 80246680 002435E0 38 60 00 01 */ li r3, 1 /* 80246684 002435E4 90 1D 00 08 */ stw r0, 8(r29) /* 80246688 002435E8 48 00 00 08 */ b lbl_80246690 lbl_8024668C: /* 8024668C 002435EC 38 60 00 00 */ li r3, 0 lbl_80246690: /* 80246690 002435F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80246694 002435F4 41 82 00 14 */ beq lbl_802466A8 /* 80246698 002435F8 7F 63 DB 78 */ mr r3, r27 /* 8024669C 002435FC 4B FF F4 B9 */ bl UpdateRightTitles__14CLogBookScreenFv /* 802466A0 00243600 7F 63 DB 78 */ mr r3, r27 /* 802466A4 00243604 4B FF F7 15 */ bl UpdateBodyText__14CLogBookScreenFv lbl_802466A8: /* 802466A8 00243608 3B FF 00 1C */ addi r31, r31, 0x1c /* 802466AC 0024360C 3B 9C 00 01 */ addi r28, r28, 1 lbl_802466B0: /* 802466B0 00243610 80 1B 01 F4 */ lwz r0, 0x1f4(r27) /* 802466B4 00243614 7C 1C 00 00 */ cmpw r28, r0 /* 802466B8 00243618 41 80 FF 18 */ blt lbl_802465D0 /* 802466BC 0024361C BB 61 00 4C */ lmw r27, 0x4c(r1) /* 802466C0 00243620 80 01 00 64 */ lwz r0, 0x64(r1) /* 802466C4 00243624 7C 08 03 A6 */ mtlr r0 /* 802466C8 00243628 38 21 00 60 */ addi r1, r1, 0x60 /* 802466CC 0024362C 4E 80 00 20 */ blr .global InitializeLogBook__14CLogBookScreenFv InitializeLogBook__14CLogBookScreenFv: /* 802466D0 00243630 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 802466D4 00243634 7C 08 02 A6 */ mflr r0 /* 802466D8 00243638 90 01 00 A4 */ stw r0, 0xa4(r1) /* 802466DC 0024363C BE 81 00 70 */ stmw r20, 0x70(r1) /* 802466E0 00243640 7C 7F 1B 78 */ mr r31, r3 /* 802466E4 00243644 3B 3F 01 A0 */ addi r25, r31, 0x1a0 /* 802466E8 00243648 3A A0 00 00 */ li r21, 0 /* 802466EC 0024364C 7F 34 CB 78 */ mr r20, r25 /* 802466F0 00243650 82 C3 00 04 */ lwz r22, 4(r3) lbl_802466F4: /* 802466F4 00243654 38 15 00 01 */ addi r0, r21, 1 /* 802466F8 00243658 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13) /* 802466FC 0024365C 54 00 10 3A */ slwi r0, r0, 2 /* 80246700 00243660 7E 83 A3 78 */ mr r3, r20 /* 80246704 00243664 7C 84 02 14 */ add r4, r4, r0 /* 80246708 00243668 80 84 00 34 */ lwz r4, 0x34(r4) /* 8024670C 0024366C 48 00 1A A1 */ bl sub_802481ac /* 80246710 00243670 3A B5 00 01 */ addi r21, r21, 1 /* 80246714 00243674 3A 94 00 10 */ addi r20, r20, 0x10 /* 80246718 00243678 2C 15 00 05 */ cmpwi r21, 5 /* 8024671C 0024367C 41 80 FF D8 */ blt lbl_802466F4 /* 80246720 00243680 82 AD A0 84 */ lwz r21, gpMemoryCard@sda21(r13) /* 80246724 00243684 80 76 08 B8 */ lwz r3, 0x8b8(r22) /* 80246728 00243688 82 D5 00 2C */ lwz r22, 0x2c(r21) /* 8024672C 0024368C 82 83 00 00 */ lwz r20, 0(r3) /* 80246730 00243690 48 00 00 84 */ b lbl_802467B4 lbl_80246734: /* 80246734 00243694 80 76 00 04 */ lwz r3, 4(r22) /* 80246738 00243698 28 03 00 00 */ cmplwi r3, 0 /* 8024673C 0024369C 41 82 00 74 */ beq lbl_802467B0 /* 80246740 002436A0 38 03 FF FF */ addi r0, r3, -1 /* 80246744 002436A4 82 F6 00 00 */ lwz r23, 0(r22) /* 80246748 002436A8 54 00 20 36 */ slwi r0, r0, 4 /* 8024674C 002436AC 7E 85 A3 78 */ mr r5, r20 /* 80246750 002436B0 7E E4 BB 78 */ mr r4, r23 /* 80246754 002436B4 7F 19 02 14 */ add r24, r25, r0 /* 80246758 002436B8 4B FF F2 D9 */ bl IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState /* 8024675C 002436BC 80 18 00 04 */ lwz r0, 4(r24) /* 80246760 002436C0 54 7A 06 3E */ clrlwi r26, r3, 0x18 /* 80246764 002436C4 80 B8 00 08 */ lwz r5, 8(r24) /* 80246768 002436C8 7C 00 28 00 */ cmpw r0, r5 /* 8024676C 002436CC 41 80 00 1C */ blt lbl_80246788 /* 80246770 002436D0 2C 05 00 00 */ cmpwi r5, 0 /* 80246774 002436D4 7F 03 C3 78 */ mr r3, r24 /* 80246778 002436D8 38 80 00 04 */ li r4, 4 /* 8024677C 002436DC 41 82 00 08 */ beq lbl_80246784 /* 80246780 002436E0 54 A4 08 3C */ slwi r4, r5, 1 lbl_80246784: /* 80246784 002436E4 48 00 1A 29 */ bl sub_802481ac lbl_80246788: /* 80246788 002436E8 80 18 00 04 */ lwz r0, 4(r24) /* 8024678C 002436EC 80 78 00 0C */ lwz r3, 0xc(r24) /* 80246790 002436F0 54 00 18 38 */ slwi r0, r0, 3 /* 80246794 002436F4 7C 63 02 15 */ add. r3, r3, r0 /* 80246798 002436F8 41 82 00 0C */ beq lbl_802467A4 /* 8024679C 002436FC 92 E3 00 00 */ stw r23, 0(r3) /* 802467A0 00243700 9B 43 00 04 */ stb r26, 4(r3) lbl_802467A4: /* 802467A4 00243704 80 78 00 04 */ lwz r3, 4(r24) /* 802467A8 00243708 38 03 00 01 */ addi r0, r3, 1 /* 802467AC 0024370C 90 18 00 04 */ stw r0, 4(r24) lbl_802467B0: /* 802467B0 00243710 3A D6 00 08 */ addi r22, r22, 8 lbl_802467B4: /* 802467B4 00243714 80 15 00 24 */ lwz r0, 0x24(r21) /* 802467B8 00243718 80 75 00 2C */ lwz r3, 0x2c(r21) /* 802467BC 0024371C 54 00 18 38 */ slwi r0, r0, 3 /* 802467C0 00243720 7C 03 02 14 */ add r0, r3, r0 /* 802467C4 00243724 7C 16 00 40 */ cmplw r22, r0 /* 802467C8 00243728 40 82 FF 6C */ bne lbl_80246734 /* 802467CC 0024372C 88 0D A5 48 */ lbz r0, lbl_805A9108@sda21(r13) /* 802467D0 00243730 38 61 00 1C */ addi r3, r1, 0x1c /* 802467D4 00243734 38 81 00 14 */ addi r4, r1, 0x14 /* 802467D8 00243738 38 A1 00 08 */ addi r5, r1, 8 /* 802467DC 0024373C 98 01 00 08 */ stb r0, 8(r1) /* 802467E0 00243740 80 19 00 44 */ lwz r0, 0x44(r25) /* 802467E4 00243744 80 D9 00 4C */ lwz r6, 0x4c(r25) /* 802467E8 00243748 54 00 18 38 */ slwi r0, r0, 3 /* 802467EC 0024374C 7C C6 02 14 */ add r6, r6, r0 /* 802467F0 00243750 90 C1 00 14 */ stw r6, 0x14(r1) /* 802467F4 00243754 80 19 00 4C */ lwz r0, 0x4c(r25) /* 802467F8 00243758 90 C1 00 10 */ stw r6, 0x10(r1) /* 802467FC 0024375C 90 01 00 18 */ stw r0, 0x18(r1) /* 80246800 00243760 90 01 00 1C */ stw r0, 0x1c(r1) /* 80246804 00243764 48 00 17 D9 */ bl sub_80247fdc /* 80246808 00243768 3C 60 53 43 */ lis r3, 0x5343414E@ha /* 8024680C 0024376C 3B 41 00 58 */ addi r26, r1, 0x58 /* 80246810 00243770 3A A1 00 4C */ addi r21, r1, 0x4c /* 80246814 00243774 3B 7F 02 04 */ addi r27, r31, 0x204 /* 80246818 00243778 3B C3 41 4E */ addi r30, r3, 0x5343414E@l /* 8024681C 0024377C 3B 00 00 00 */ li r24, 0 /* 80246820 00243780 48 00 02 00 */ b lbl_80246A20 lbl_80246824: /* 80246824 00243784 80 99 00 04 */ lwz r4, 4(r25) /* 80246828 00243788 38 6D 96 F4 */ addi r3, r13, lbl_805A82B4@sda21 /* 8024682C 0024378C 80 0D 96 F4 */ lwz r0, lbl_805A82B4@sda21(r13) /* 80246830 00243790 90 81 00 0C */ stw r4, 0xc(r1) /* 80246834 00243794 7C 04 00 00 */ cmpw r4, r0 /* 80246838 00243798 40 80 00 08 */ bge lbl_80246840 /* 8024683C 0024379C 38 61 00 0C */ addi r3, r1, 0xc lbl_80246840: /* 80246840 002437A0 82 E3 00 00 */ lwz r23, 0(r3) /* 80246844 002437A4 7F 63 DB 78 */ mr r3, r27 /* 80246848 002437A8 7E E4 BB 78 */ mr r4, r23 /* 8024684C 002437AC 48 00 1A 55 */ bl sub_802482a0 /* 80246850 002437B0 3B A0 00 00 */ li r29, 0 /* 80246854 002437B4 3A C0 00 00 */ li r22, 0 /* 80246858 002437B8 7F BC EB 78 */ mr r28, r29 /* 8024685C 002437BC 48 00 01 B0 */ b lbl_80246A0C lbl_80246860: /* 80246860 002437C0 80 D9 00 0C */ lwz r6, 0xc(r25) /* 80246864 002437C4 38 61 00 20 */ addi r3, r1, 0x20 /* 80246868 002437C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8024686C 002437CC 38 A1 00 28 */ addi r5, r1, 0x28 /* 80246870 002437D0 7C 06 E8 2E */ lwzx r0, r6, r29 /* 80246874 002437D4 93 C1 00 28 */ stw r30, 0x28(r1) /* 80246878 002437D8 90 01 00 2C */ stw r0, 0x2c(r1) /* 8024687C 002437DC 81 84 00 00 */ lwz r12, 0(r4) /* 80246880 002437E0 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80246884 002437E4 7D 89 03 A6 */ mtctr r12 /* 80246888 002437E8 4E 80 04 21 */ bctrl /* 8024688C 002437EC 38 61 00 40 */ addi r3, r1, 0x40 /* 80246890 002437F0 38 81 00 20 */ addi r4, r1, 0x20 /* 80246894 002437F4 48 0F A6 15 */ bl __ct__6CTokenFRC6CToken /* 80246898 002437F8 38 00 00 00 */ li r0, 0 /* 8024689C 002437FC 7E A3 AB 78 */ mr r3, r21 /* 802468A0 00243800 90 01 00 48 */ stw r0, 0x48(r1) /* 802468A4 00243804 38 81 00 40 */ addi r4, r1, 0x40 /* 802468A8 00243808 98 01 00 3C */ stb r0, 0x3c(r1) /* 802468AC 0024380C 48 0F A5 FD */ bl __ct__6CTokenFRC6CToken /* 802468B0 00243810 88 01 00 3C */ lbz r0, 0x3c(r1) /* 802468B4 00243814 80 61 00 48 */ lwz r3, 0x48(r1) /* 802468B8 00243818 28 00 00 00 */ cmplwi r0, 0 /* 802468BC 0024381C 98 01 00 64 */ stb r0, 0x64(r1) /* 802468C0 00243820 90 75 00 08 */ stw r3, 8(r21) /* 802468C4 00243824 41 82 00 20 */ beq lbl_802468E4 /* 802468C8 00243828 36 95 00 0C */ addic. r20, r21, 0xc /* 802468CC 0024382C 38 81 00 30 */ addi r4, r1, 0x30 /* 802468D0 00243830 41 82 00 14 */ beq lbl_802468E4 /* 802468D4 00243834 7E 83 A3 78 */ mr r3, r20 /* 802468D8 00243838 48 0F A5 D1 */ bl __ct__6CTokenFRC6CToken /* 802468DC 0024383C 80 01 00 38 */ lwz r0, 0x38(r1) /* 802468E0 00243840 90 14 00 08 */ stw r0, 8(r20) lbl_802468E4: /* 802468E4 00243844 80 1B 00 04 */ lwz r0, 4(r27) /* 802468E8 00243848 80 BB 00 08 */ lwz r5, 8(r27) /* 802468EC 0024384C 7C 00 28 00 */ cmpw r0, r5 /* 802468F0 00243850 41 80 00 1C */ blt lbl_8024690C /* 802468F4 00243854 2C 05 00 00 */ cmpwi r5, 0 /* 802468F8 00243858 7F 63 DB 78 */ mr r3, r27 /* 802468FC 0024385C 38 80 00 04 */ li r4, 4 /* 80246900 00243860 41 82 00 08 */ beq lbl_80246908 /* 80246904 00243864 54 A4 08 3C */ slwi r4, r5, 1 lbl_80246908: /* 80246908 00243868 48 00 19 99 */ bl sub_802482a0 lbl_8024690C: /* 8024690C 0024386C 80 1B 00 04 */ lwz r0, 4(r27) /* 80246910 00243870 80 7B 00 0C */ lwz r3, 0xc(r27) /* 80246914 00243874 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80246918 00243878 7E 83 02 15 */ add. r20, r3, r0 /* 8024691C 0024387C 41 82 00 48 */ beq lbl_80246964 /* 80246920 00243880 7E 83 A3 78 */ mr r3, r20 /* 80246924 00243884 38 81 00 4C */ addi r4, r1, 0x4c /* 80246928 00243888 48 0F A5 81 */ bl __ct__6CTokenFRC6CToken /* 8024692C 0024388C 80 01 00 54 */ lwz r0, 0x54(r1) /* 80246930 00243890 90 14 00 08 */ stw r0, 8(r20) /* 80246934 00243894 88 01 00 64 */ lbz r0, 0x64(r1) /* 80246938 00243898 98 14 00 18 */ stb r0, 0x18(r20) /* 8024693C 0024389C 88 01 00 64 */ lbz r0, 0x64(r1) /* 80246940 002438A0 28 00 00 00 */ cmplwi r0, 0 /* 80246944 002438A4 41 82 00 20 */ beq lbl_80246964 /* 80246948 002438A8 36 94 00 0C */ addic. r20, r20, 0xc /* 8024694C 002438AC 41 82 00 18 */ beq lbl_80246964 /* 80246950 002438B0 7E 83 A3 78 */ mr r3, r20 /* 80246954 002438B4 7F 44 D3 78 */ mr r4, r26 /* 80246958 002438B8 48 0F A5 51 */ bl __ct__6CTokenFRC6CToken /* 8024695C 002438BC 80 1A 00 08 */ lwz r0, 8(r26) /* 80246960 002438C0 90 14 00 08 */ stw r0, 8(r20) lbl_80246964: /* 80246964 002438C4 80 7B 00 04 */ lwz r3, 4(r27) /* 80246968 002438C8 28 1A 00 00 */ cmplwi r26, 0 /* 8024696C 002438CC 38 03 00 01 */ addi r0, r3, 1 /* 80246970 002438D0 90 1B 00 04 */ stw r0, 4(r27) /* 80246974 002438D4 41 82 00 30 */ beq lbl_802469A4 /* 80246978 002438D8 88 01 00 64 */ lbz r0, 0x64(r1) /* 8024697C 002438DC 28 00 00 00 */ cmplwi r0, 0 /* 80246980 002438E0 41 82 00 1C */ beq lbl_8024699C /* 80246984 002438E4 28 1A 00 00 */ cmplwi r26, 0 /* 80246988 002438E8 41 82 00 14 */ beq lbl_8024699C /* 8024698C 002438EC 41 82 00 10 */ beq lbl_8024699C /* 80246990 002438F0 7F 43 D3 78 */ mr r3, r26 /* 80246994 002438F4 38 80 00 00 */ li r4, 0 /* 80246998 002438F8 48 0F A4 A9 */ bl __dt__6CTokenFv lbl_8024699C: /* 8024699C 002438FC 38 00 00 00 */ li r0, 0 /* 802469A0 00243900 98 01 00 64 */ stb r0, 0x64(r1) lbl_802469A4: /* 802469A4 00243904 38 61 00 4C */ addi r3, r1, 0x4c /* 802469A8 00243908 38 80 00 00 */ li r4, 0 /* 802469AC 0024390C 48 0F A4 95 */ bl __dt__6CTokenFv /* 802469B0 00243910 88 01 00 3C */ lbz r0, 0x3c(r1) /* 802469B4 00243914 28 00 00 00 */ cmplwi r0, 0 /* 802469B8 00243918 41 82 00 1C */ beq lbl_802469D4 /* 802469BC 0024391C 34 61 00 30 */ addic. r3, r1, 0x30 /* 802469C0 00243920 41 82 00 14 */ beq lbl_802469D4 /* 802469C4 00243924 28 03 00 00 */ cmplwi r3, 0 /* 802469C8 00243928 41 82 00 0C */ beq lbl_802469D4 /* 802469CC 0024392C 38 80 00 00 */ li r4, 0 /* 802469D0 00243930 48 0F A4 71 */ bl __dt__6CTokenFv lbl_802469D4: /* 802469D4 00243934 38 00 00 00 */ li r0, 0 /* 802469D8 00243938 38 61 00 40 */ addi r3, r1, 0x40 /* 802469DC 0024393C 98 01 00 3C */ stb r0, 0x3c(r1) /* 802469E0 00243940 38 80 00 00 */ li r4, 0 /* 802469E4 00243944 48 0F A4 5D */ bl __dt__6CTokenFv /* 802469E8 00243948 38 61 00 20 */ addi r3, r1, 0x20 /* 802469EC 0024394C 38 80 FF FF */ li r4, -1 /* 802469F0 00243950 48 0F A4 51 */ bl __dt__6CTokenFv /* 802469F4 00243954 80 1B 00 0C */ lwz r0, 0xc(r27) /* 802469F8 00243958 7C 60 E2 14 */ add r3, r0, r28 /* 802469FC 0024395C 48 0F A3 89 */ bl Lock__6CTokenFv /* 80246A00 00243960 3B BD 00 08 */ addi r29, r29, 8 /* 80246A04 00243964 3B 9C 00 1C */ addi r28, r28, 0x1c /* 80246A08 00243968 3A D6 00 01 */ addi r22, r22, 1 lbl_80246A0C: /* 80246A0C 0024396C 7C 16 B8 00 */ cmpw r22, r23 /* 80246A10 00243970 41 80 FE 50 */ blt lbl_80246860 /* 80246A14 00243974 3B 39 00 10 */ addi r25, r25, 0x10 /* 80246A18 00243978 3B 7B 00 10 */ addi r27, r27, 0x10 /* 80246A1C 0024397C 3B 18 00 01 */ addi r24, r24, 1 lbl_80246A20: /* 80246A20 00243980 80 1F 01 9C */ lwz r0, 0x19c(r31) /* 80246A24 00243984 7C 18 00 00 */ cmpw r24, r0 /* 80246A28 00243988 41 80 FD FC */ blt lbl_80246824 /* 80246A2C 0024398C BA 81 00 70 */ lmw r20, 0x70(r1) /* 80246A30 00243990 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 80246A34 00243994 7C 08 03 A6 */ mtlr r0 /* 80246A38 00243998 38 21 00 A0 */ addi r1, r1, 0xa0 /* 80246A3C 0024399C 4E 80 00 20 */ blr .global RightTableSelectionChanged__14CLogBookScreenFii RightTableSelectionChanged__14CLogBookScreenFii: /* 80246A40 002439A0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80246A44 002439A4 7C 08 02 A6 */ mflr r0 /* 80246A48 002439A8 90 01 00 14 */ stw r0, 0x14(r1) /* 80246A4C 002439AC 4B FF F1 09 */ bl UpdateRightTitles__14CLogBookScreenFv /* 80246A50 002439B0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80246A54 002439B4 7C 08 03 A6 */ mtlr r0 /* 80246A58 002439B8 38 21 00 10 */ addi r1, r1, 0x10 /* 80246A5C 002439BC 4E 80 00 20 */ blr .global GetRightTableCount__14CLogBookScreenCFv GetRightTableCount__14CLogBookScreenCFv: /* 80246A60 002439C0 80 63 01 F4 */ lwz r3, 0x1f4(r3) /* 80246A64 002439C4 4E 80 00 20 */ blr .global ShouldRightTableAdvance__14CLogBookScreenFv ShouldRightTableAdvance__14CLogBookScreenFv: /* 80246A68 002439C8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80246A6C 002439CC 7C 08 02 A6 */ mflr r0 /* 80246A70 002439D0 90 01 00 14 */ stw r0, 0x14(r1) /* 80246A74 002439D4 93 E1 00 0C */ stw r31, 0xc(r1) /* 80246A78 002439D8 7C 7F 1B 78 */ mr r31, r3 /* 80246A7C 002439DC 93 C1 00 08 */ stw r30, 8(r1) /* 80246A80 002439E0 80 03 00 1C */ lwz r0, 0x1c(r3) /* 80246A84 002439E4 80 63 01 FC */ lwz r3, 0x1fc(r3) /* 80246A88 002439E8 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80246A8C 002439EC 7F C3 02 14 */ add r30, r3, r0 /* 80246A90 002439F0 80 1E 00 08 */ lwz r0, 8(r30) /* 80246A94 002439F4 28 00 00 00 */ cmplwi r0, 0 /* 80246A98 002439F8 41 82 00 0C */ beq lbl_80246AA4 /* 80246A9C 002439FC 38 60 00 01 */ li r3, 1 /* 80246AA0 00243A00 48 00 00 3C */ b lbl_80246ADC lbl_80246AA4: /* 80246AA4 00243A04 88 1E 00 04 */ lbz r0, 4(r30) /* 80246AA8 00243A08 28 00 00 00 */ cmplwi r0, 0 /* 80246AAC 00243A0C 41 82 00 2C */ beq lbl_80246AD8 /* 80246AB0 00243A10 80 7E 00 00 */ lwz r3, 0(r30) /* 80246AB4 00243A14 80 03 00 10 */ lwz r0, 0x10(r3) /* 80246AB8 00243A18 28 00 00 00 */ cmplwi r0, 0 /* 80246ABC 00243A1C 41 82 00 1C */ beq lbl_80246AD8 /* 80246AC0 00243A20 7F C3 F3 78 */ mr r3, r30 /* 80246AC4 00243A24 48 0F A3 49 */ bl GetObj__6CTokenFv /* 80246AC8 00243A28 80 03 00 04 */ lwz r0, 4(r3) /* 80246ACC 00243A2C 38 60 00 01 */ li r3, 1 /* 80246AD0 00243A30 90 1E 00 08 */ stw r0, 8(r30) /* 80246AD4 00243A34 48 00 00 08 */ b lbl_80246ADC lbl_80246AD8: /* 80246AD8 00243A38 38 60 00 00 */ li r3, 0 lbl_80246ADC: /* 80246ADC 00243A3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80246AE0 00243A40 40 82 00 0C */ bne lbl_80246AEC /* 80246AE4 00243A44 38 60 00 00 */ li r3, 0 /* 80246AE8 00243A48 48 00 00 BC */ b lbl_80246BA4 lbl_80246AEC: /* 80246AEC 00243A4C 88 1E 00 18 */ lbz r0, 0x18(r30) /* 80246AF0 00243A50 28 00 00 00 */ cmplwi r0, 0 /* 80246AF4 00243A54 40 82 00 0C */ bne lbl_80246B00 /* 80246AF8 00243A58 38 60 00 00 */ li r3, 0 /* 80246AFC 00243A5C 48 00 00 A8 */ b lbl_80246BA4 lbl_80246B00: /* 80246B00 00243A60 3B DE 00 0C */ addi r30, r30, 0xc /* 80246B04 00243A64 80 1E 00 08 */ lwz r0, 8(r30) /* 80246B08 00243A68 28 00 00 00 */ cmplwi r0, 0 /* 80246B0C 00243A6C 41 82 00 0C */ beq lbl_80246B18 /* 80246B10 00243A70 38 60 00 01 */ li r3, 1 /* 80246B14 00243A74 48 00 00 3C */ b lbl_80246B50 lbl_80246B18: /* 80246B18 00243A78 88 1E 00 04 */ lbz r0, 4(r30) /* 80246B1C 00243A7C 28 00 00 00 */ cmplwi r0, 0 /* 80246B20 00243A80 41 82 00 2C */ beq lbl_80246B4C /* 80246B24 00243A84 80 7E 00 00 */ lwz r3, 0(r30) /* 80246B28 00243A88 80 03 00 10 */ lwz r0, 0x10(r3) /* 80246B2C 00243A8C 28 00 00 00 */ cmplwi r0, 0 /* 80246B30 00243A90 41 82 00 1C */ beq lbl_80246B4C /* 80246B34 00243A94 7F C3 F3 78 */ mr r3, r30 /* 80246B38 00243A98 48 0F A2 D5 */ bl GetObj__6CTokenFv /* 80246B3C 00243A9C 80 03 00 04 */ lwz r0, 4(r3) /* 80246B40 00243AA0 38 60 00 01 */ li r3, 1 /* 80246B44 00243AA4 90 1E 00 08 */ stw r0, 8(r30) /* 80246B48 00243AA8 48 00 00 08 */ b lbl_80246B50 lbl_80246B4C: /* 80246B4C 00243AAC 38 60 00 00 */ li r3, 0 lbl_80246B50: /* 80246B50 00243AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80246B54 00243AB4 40 82 00 0C */ bne lbl_80246B60 /* 80246B58 00243AB8 38 60 00 00 */ li r3, 0 /* 80246B5C 00243ABC 48 00 00 48 */ b lbl_80246BA4 lbl_80246B60: /* 80246B60 00243AC0 88 1F 01 98 */ lbz r0, 0x198(r31) /* 80246B64 00243AC4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80246B68 00243AC8 40 82 00 38 */ bne lbl_80246BA0 /* 80246B6C 00243ACC 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80246B70 00243AD0 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 80246B74 00243AD4 80 83 00 C4 */ lwz r4, 0xc4(r3) /* 80246B78 00243AD8 54 03 18 38 */ slwi r3, r0, 3 /* 80246B7C 00243ADC 54 80 20 36 */ slwi r0, r4, 4 /* 80246B80 00243AE0 7C 9F 02 14 */ add r4, r31, r0 /* 80246B84 00243AE4 38 03 00 04 */ addi r0, r3, 4 /* 80246B88 00243AE8 80 64 01 AC */ lwz r3, 0x1ac(r4) /* 80246B8C 00243AEC 7C 03 00 AE */ lbzx r0, r3, r0 /* 80246B90 00243AF0 28 00 00 00 */ cmplwi r0, 0 /* 80246B94 00243AF4 41 82 00 0C */ beq lbl_80246BA0 /* 80246B98 00243AF8 38 60 00 01 */ li r3, 1 /* 80246B9C 00243AFC 48 00 00 08 */ b lbl_80246BA4 lbl_80246BA0: /* 80246BA0 00243B00 38 60 00 00 */ li r3, 0 lbl_80246BA4: /* 80246BA4 00243B04 80 01 00 14 */ lwz r0, 0x14(r1) /* 80246BA8 00243B08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80246BAC 00243B0C 83 C1 00 08 */ lwz r30, 8(r1) /* 80246BB0 00243B10 7C 08 03 A6 */ mtlr r0 /* 80246BB4 00243B14 38 21 00 10 */ addi r1, r1, 0x10 /* 80246BB8 00243B18 4E 80 00 20 */ blr .global ShouldLeftTableAdvance__14CLogBookScreenFv ShouldLeftTableAdvance__14CLogBookScreenFv: /* 80246BBC 00243B1C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80246BC0 00243B20 7C 08 02 A6 */ mflr r0 /* 80246BC4 00243B24 90 01 00 14 */ stw r0, 0x14(r1) /* 80246BC8 00243B28 88 03 02 60 */ lbz r0, 0x260(r3) /* 80246BCC 00243B2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 80246BD0 00243B30 41 82 00 10 */ beq lbl_80246BE0 /* 80246BD4 00243B34 80 03 01 F4 */ lwz r0, 0x1f4(r3) /* 80246BD8 00243B38 2C 00 00 00 */ cmpwi r0, 0 /* 80246BDC 00243B3C 40 82 00 0C */ bne lbl_80246BE8 lbl_80246BE0: /* 80246BE0 00243B40 38 60 00 00 */ li r3, 0 /* 80246BE4 00243B44 48 00 00 14 */ b lbl_80246BF8 lbl_80246BE8: /* 80246BE8 00243B48 80 83 00 70 */ lwz r4, 0x70(r3) /* 80246BEC 00243B4C 80 84 00 C4 */ lwz r4, 0xc4(r4) /* 80246BF0 00243B50 38 84 00 01 */ addi r4, r4, 1 /* 80246BF4 00243B54 4B FF EE A1 */ bl IsScanCategoryReady__14CLogBookScreenF13EScanCategory lbl_80246BF8: /* 80246BF8 00243B58 80 01 00 14 */ lwz r0, 0x14(r1) /* 80246BFC 00243B5C 7C 08 03 A6 */ mtlr r0 /* 80246C00 00243B60 38 21 00 10 */ addi r1, r1, 0x10 /* 80246C04 00243B64 4E 80 00 20 */ blr .global UpdateRightTable__14CLogBookScreenFv UpdateRightTable__14CLogBookScreenFv: /* 80246C08 00243B68 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80246C0C 00243B6C 7C 08 02 A6 */ mflr r0 /* 80246C10 00243B70 90 01 00 84 */ stw r0, 0x84(r1) /* 80246C14 00243B74 BF 21 00 64 */ stmw r25, 0x64(r1) /* 80246C18 00243B78 7C 7B 1B 78 */ mr r27, r3 /* 80246C1C 00243B7C 4B E2 A1 B1 */ bl UpdateRightTable__16CPauseScreenBaseFv /* 80246C20 00243B80 80 BB 00 70 */ lwz r5, 0x70(r27) /* 80246C24 00243B84 38 00 00 00 */ li r0, 0 /* 80246C28 00243B88 38 7B 01 F0 */ addi r3, r27, 0x1f0 /* 80246C2C 00243B8C 38 81 00 28 */ addi r4, r1, 0x28 /* 80246C30 00243B90 80 A5 00 C4 */ lwz r5, 0xc4(r5) /* 80246C34 00243B94 54 A5 20 36 */ slwi r5, r5, 4 /* 80246C38 00243B98 7F DB 2A 14 */ add r30, r27, r5 /* 80246C3C 00243B9C 83 3E 01 A4 */ lwz r25, 0x1a4(r30) /* 80246C40 00243BA0 90 01 00 2C */ stw r0, 0x2c(r1) /* 80246C44 00243BA4 90 01 00 30 */ stw r0, 0x30(r1) /* 80246C48 00243BA8 90 01 00 34 */ stw r0, 0x34(r1) /* 80246C4C 00243BAC 48 00 02 09 */ bl sub_80246e54 /* 80246C50 00243BB0 38 61 00 28 */ addi r3, r1, 0x28 /* 80246C54 00243BB4 38 80 FF FF */ li r4, -1 /* 80246C58 00243BB8 48 00 03 F1 */ bl sub_80247048 /* 80246C5C 00243BBC 7F 24 CB 78 */ mr r4, r25 /* 80246C60 00243BC0 38 7B 01 F0 */ addi r3, r27, 0x1f0 /* 80246C64 00243BC4 48 00 16 3D */ bl sub_802482a0 /* 80246C68 00243BC8 3C 60 53 43 */ lis r3, 0x5343414E@ha /* 80246C6C 00243BCC 83 BE 01 AC */ lwz r29, 0x1ac(r30) /* 80246C70 00243BD0 3B 41 00 44 */ addi r26, r1, 0x44 /* 80246C74 00243BD4 3B 81 00 50 */ addi r28, r1, 0x50 /* 80246C78 00243BD8 3B E3 41 4E */ addi r31, r3, 0x5343414E@l /* 80246C7C 00243BDC 48 00 01 9C */ b lbl_80246E18 lbl_80246C80: /* 80246C80 00243BE0 80 1D 00 00 */ lwz r0, 0(r29) /* 80246C84 00243BE4 38 61 00 08 */ addi r3, r1, 8 /* 80246C88 00243BE8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80246C8C 00243BEC 38 A1 00 10 */ addi r5, r1, 0x10 /* 80246C90 00243BF0 93 E1 00 10 */ stw r31, 0x10(r1) /* 80246C94 00243BF4 90 01 00 14 */ stw r0, 0x14(r1) /* 80246C98 00243BF8 81 84 00 00 */ lwz r12, 0(r4) /* 80246C9C 00243BFC 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80246CA0 00243C00 7D 89 03 A6 */ mtctr r12 /* 80246CA4 00243C04 4E 80 04 21 */ bctrl /* 80246CA8 00243C08 38 61 00 38 */ addi r3, r1, 0x38 /* 80246CAC 00243C0C 38 81 00 08 */ addi r4, r1, 8 /* 80246CB0 00243C10 48 0F A1 F9 */ bl __ct__6CTokenFRC6CToken /* 80246CB4 00243C14 38 00 00 00 */ li r0, 0 /* 80246CB8 00243C18 38 61 00 08 */ addi r3, r1, 8 /* 80246CBC 00243C1C 90 01 00 40 */ stw r0, 0x40(r1) /* 80246CC0 00243C20 38 80 FF FF */ li r4, -1 /* 80246CC4 00243C24 48 0F A1 7D */ bl __dt__6CTokenFv /* 80246CC8 00243C28 38 00 00 00 */ li r0, 0 /* 80246CCC 00243C2C 7F 43 D3 78 */ mr r3, r26 /* 80246CD0 00243C30 98 01 00 24 */ stb r0, 0x24(r1) /* 80246CD4 00243C34 38 81 00 38 */ addi r4, r1, 0x38 /* 80246CD8 00243C38 48 0F A1 D1 */ bl __ct__6CTokenFRC6CToken /* 80246CDC 00243C3C 88 01 00 24 */ lbz r0, 0x24(r1) /* 80246CE0 00243C40 80 61 00 40 */ lwz r3, 0x40(r1) /* 80246CE4 00243C44 28 00 00 00 */ cmplwi r0, 0 /* 80246CE8 00243C48 98 01 00 5C */ stb r0, 0x5c(r1) /* 80246CEC 00243C4C 90 7A 00 08 */ stw r3, 8(r26) /* 80246CF0 00243C50 41 82 00 20 */ beq lbl_80246D10 /* 80246CF4 00243C54 37 3A 00 0C */ addic. r25, r26, 0xc /* 80246CF8 00243C58 38 81 00 18 */ addi r4, r1, 0x18 /* 80246CFC 00243C5C 41 82 00 14 */ beq lbl_80246D10 /* 80246D00 00243C60 7F 23 CB 78 */ mr r3, r25 /* 80246D04 00243C64 48 0F A1 A5 */ bl __ct__6CTokenFRC6CToken /* 80246D08 00243C68 80 01 00 20 */ lwz r0, 0x20(r1) /* 80246D0C 00243C6C 90 19 00 08 */ stw r0, 8(r25) lbl_80246D10: /* 80246D10 00243C70 80 1B 01 F4 */ lwz r0, 0x1f4(r27) /* 80246D14 00243C74 80 BB 01 F8 */ lwz r5, 0x1f8(r27) /* 80246D18 00243C78 7C 00 28 00 */ cmpw r0, r5 /* 80246D1C 00243C7C 41 80 00 1C */ blt lbl_80246D38 /* 80246D20 00243C80 2C 05 00 00 */ cmpwi r5, 0 /* 80246D24 00243C84 38 7B 01 F0 */ addi r3, r27, 0x1f0 /* 80246D28 00243C88 38 80 00 04 */ li r4, 4 /* 80246D2C 00243C8C 41 82 00 08 */ beq lbl_80246D34 /* 80246D30 00243C90 54 A4 08 3C */ slwi r4, r5, 1 lbl_80246D34: /* 80246D34 00243C94 48 00 15 6D */ bl sub_802482a0 lbl_80246D38: /* 80246D38 00243C98 80 1B 01 F4 */ lwz r0, 0x1f4(r27) /* 80246D3C 00243C9C 80 7B 01 FC */ lwz r3, 0x1fc(r27) /* 80246D40 00243CA0 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80246D44 00243CA4 7F 23 02 15 */ add. r25, r3, r0 /* 80246D48 00243CA8 41 82 00 48 */ beq lbl_80246D90 /* 80246D4C 00243CAC 7F 23 CB 78 */ mr r3, r25 /* 80246D50 00243CB0 38 81 00 44 */ addi r4, r1, 0x44 /* 80246D54 00243CB4 48 0F A1 55 */ bl __ct__6CTokenFRC6CToken /* 80246D58 00243CB8 80 01 00 4C */ lwz r0, 0x4c(r1) /* 80246D5C 00243CBC 90 19 00 08 */ stw r0, 8(r25) /* 80246D60 00243CC0 88 01 00 5C */ lbz r0, 0x5c(r1) /* 80246D64 00243CC4 98 19 00 18 */ stb r0, 0x18(r25) /* 80246D68 00243CC8 88 01 00 5C */ lbz r0, 0x5c(r1) /* 80246D6C 00243CCC 28 00 00 00 */ cmplwi r0, 0 /* 80246D70 00243CD0 41 82 00 20 */ beq lbl_80246D90 /* 80246D74 00243CD4 37 39 00 0C */ addic. r25, r25, 0xc /* 80246D78 00243CD8 41 82 00 18 */ beq lbl_80246D90 /* 80246D7C 00243CDC 7F 23 CB 78 */ mr r3, r25 /* 80246D80 00243CE0 7F 84 E3 78 */ mr r4, r28 /* 80246D84 00243CE4 48 0F A1 25 */ bl __ct__6CTokenFRC6CToken /* 80246D88 00243CE8 80 01 00 58 */ lwz r0, 0x58(r1) /* 80246D8C 00243CEC 90 19 00 08 */ stw r0, 8(r25) lbl_80246D90: /* 80246D90 00243CF0 80 7B 01 F4 */ lwz r3, 0x1f4(r27) /* 80246D94 00243CF4 28 1C 00 00 */ cmplwi r28, 0 /* 80246D98 00243CF8 38 03 00 01 */ addi r0, r3, 1 /* 80246D9C 00243CFC 90 1B 01 F4 */ stw r0, 0x1f4(r27) /* 80246DA0 00243D00 41 82 00 30 */ beq lbl_80246DD0 /* 80246DA4 00243D04 88 01 00 5C */ lbz r0, 0x5c(r1) /* 80246DA8 00243D08 28 00 00 00 */ cmplwi r0, 0 /* 80246DAC 00243D0C 41 82 00 1C */ beq lbl_80246DC8 /* 80246DB0 00243D10 28 1C 00 00 */ cmplwi r28, 0 /* 80246DB4 00243D14 41 82 00 14 */ beq lbl_80246DC8 /* 80246DB8 00243D18 41 82 00 10 */ beq lbl_80246DC8 /* 80246DBC 00243D1C 7F 83 E3 78 */ mr r3, r28 /* 80246DC0 00243D20 38 80 00 00 */ li r4, 0 /* 80246DC4 00243D24 48 0F A0 7D */ bl __dt__6CTokenFv lbl_80246DC8: /* 80246DC8 00243D28 38 00 00 00 */ li r0, 0 /* 80246DCC 00243D2C 98 01 00 5C */ stb r0, 0x5c(r1) lbl_80246DD0: /* 80246DD0 00243D30 38 61 00 44 */ addi r3, r1, 0x44 /* 80246DD4 00243D34 38 80 00 00 */ li r4, 0 /* 80246DD8 00243D38 48 0F A0 69 */ bl __dt__6CTokenFv /* 80246DDC 00243D3C 88 01 00 24 */ lbz r0, 0x24(r1) /* 80246DE0 00243D40 28 00 00 00 */ cmplwi r0, 0 /* 80246DE4 00243D44 41 82 00 1C */ beq lbl_80246E00 /* 80246DE8 00243D48 34 61 00 18 */ addic. r3, r1, 0x18 /* 80246DEC 00243D4C 41 82 00 14 */ beq lbl_80246E00 /* 80246DF0 00243D50 28 03 00 00 */ cmplwi r3, 0 /* 80246DF4 00243D54 41 82 00 0C */ beq lbl_80246E00 /* 80246DF8 00243D58 38 80 00 00 */ li r4, 0 /* 80246DFC 00243D5C 48 0F A0 45 */ bl __dt__6CTokenFv lbl_80246E00: /* 80246E00 00243D60 38 00 00 00 */ li r0, 0 /* 80246E04 00243D64 38 61 00 38 */ addi r3, r1, 0x38 /* 80246E08 00243D68 98 01 00 24 */ stb r0, 0x24(r1) /* 80246E0C 00243D6C 38 80 00 00 */ li r4, 0 /* 80246E10 00243D70 48 0F A0 31 */ bl __dt__6CTokenFv /* 80246E14 00243D74 3B BD 00 08 */ addi r29, r29, 8 lbl_80246E18: /* 80246E18 00243D78 80 1E 01 A4 */ lwz r0, 0x1a4(r30) /* 80246E1C 00243D7C 80 7E 01 AC */ lwz r3, 0x1ac(r30) /* 80246E20 00243D80 54 00 18 38 */ slwi r0, r0, 3 /* 80246E24 00243D84 7C 03 02 14 */ add r0, r3, r0 /* 80246E28 00243D88 7C 1D 00 40 */ cmplw r29, r0 /* 80246E2C 00243D8C 40 82 FE 54 */ bne lbl_80246C80 /* 80246E30 00243D90 7F 63 DB 78 */ mr r3, r27 /* 80246E34 00243D94 4B FF F3 E9 */ bl PumpArticleLoad__14CLogBookScreenFv /* 80246E38 00243D98 7F 63 DB 78 */ mr r3, r27 /* 80246E3C 00243D9C 4B FF ED 19 */ bl UpdateRightTitles__14CLogBookScreenFv /* 80246E40 00243DA0 BB 21 00 64 */ lmw r25, 0x64(r1) /* 80246E44 00243DA4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80246E48 00243DA8 7C 08 03 A6 */ mtlr r0 /* 80246E4C 00243DAC 38 21 00 80 */ addi r1, r1, 0x80 /* 80246E50 00243DB0 4E 80 00 20 */ blr .global sub_80246e54 sub_80246e54: /* 80246E54 00243DB4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80246E58 00243DB8 7C 08 02 A6 */ mflr r0 /* 80246E5C 00243DBC 90 01 00 34 */ stw r0, 0x34(r1) /* 80246E60 00243DC0 BF 21 00 14 */ stmw r25, 0x14(r1) /* 80246E64 00243DC4 7C 79 1B 78 */ mr r25, r3 /* 80246E68 00243DC8 7C 9A 23 78 */ mr r26, r4 /* 80246E6C 00243DCC 7C 19 D0 40 */ cmplw r25, r26 /* 80246E70 00243DD0 40 82 00 08 */ bne lbl_80246E78 /* 80246E74 00243DD4 48 00 00 C4 */ b lbl_80246F38 lbl_80246E78: /* 80246E78 00243DD8 48 00 00 D5 */ bl sub_80246f4c /* 80246E7C 00243DDC 80 9A 00 04 */ lwz r4, 4(r26) /* 80246E80 00243DE0 2C 04 00 00 */ cmpwi r4, 0 /* 80246E84 00243DE4 40 82 00 28 */ bne lbl_80246EAC /* 80246E88 00243DE8 80 79 00 0C */ lwz r3, 0xc(r25) /* 80246E8C 00243DEC 28 03 00 00 */ cmplwi r3, 0 /* 80246E90 00243DF0 41 82 00 08 */ beq lbl_80246E98 /* 80246E94 00243DF4 48 0C EA 9D */ bl Free__7CMemoryFPCv lbl_80246E98: /* 80246E98 00243DF8 38 00 00 00 */ li r0, 0 /* 80246E9C 00243DFC 90 19 00 04 */ stw r0, 4(r25) /* 80246EA0 00243E00 90 19 00 08 */ stw r0, 8(r25) /* 80246EA4 00243E04 90 19 00 0C */ stw r0, 0xc(r25) /* 80246EA8 00243E08 48 00 00 8C */ b lbl_80246F34 lbl_80246EAC: /* 80246EAC 00243E0C 7F 23 CB 78 */ mr r3, r25 /* 80246EB0 00243E10 48 00 13 F1 */ bl sub_802482a0 /* 80246EB4 00243E14 80 1A 00 04 */ lwz r0, 4(r26) /* 80246EB8 00243E18 83 7A 00 0C */ lwz r27, 0xc(r26) /* 80246EBC 00243E1C 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80246EC0 00243E20 83 F9 00 0C */ lwz r31, 0xc(r25) /* 80246EC4 00243E24 7F DB 02 14 */ add r30, r27, r0 /* 80246EC8 00243E28 48 00 00 5C */ b lbl_80246F24 lbl_80246ECC: /* 80246ECC 00243E2C 28 1F 00 00 */ cmplwi r31, 0 /* 80246ED0 00243E30 41 82 00 4C */ beq lbl_80246F1C /* 80246ED4 00243E34 7F E3 FB 78 */ mr r3, r31 /* 80246ED8 00243E38 7F 64 DB 78 */ mr r4, r27 /* 80246EDC 00243E3C 48 0F 9F CD */ bl __ct__6CTokenFRC6CToken /* 80246EE0 00243E40 80 1B 00 08 */ lwz r0, 8(r27) /* 80246EE4 00243E44 90 1F 00 08 */ stw r0, 8(r31) /* 80246EE8 00243E48 88 1B 00 18 */ lbz r0, 0x18(r27) /* 80246EEC 00243E4C 98 1F 00 18 */ stb r0, 0x18(r31) /* 80246EF0 00243E50 88 1B 00 18 */ lbz r0, 0x18(r27) /* 80246EF4 00243E54 28 00 00 00 */ cmplwi r0, 0 /* 80246EF8 00243E58 41 82 00 24 */ beq lbl_80246F1C /* 80246EFC 00243E5C 37 BF 00 0C */ addic. r29, r31, 0xc /* 80246F00 00243E60 3B 9B 00 0C */ addi r28, r27, 0xc /* 80246F04 00243E64 41 82 00 18 */ beq lbl_80246F1C /* 80246F08 00243E68 7F A3 EB 78 */ mr r3, r29 /* 80246F0C 00243E6C 7F 84 E3 78 */ mr r4, r28 /* 80246F10 00243E70 48 0F 9F 99 */ bl __ct__6CTokenFRC6CToken /* 80246F14 00243E74 80 1C 00 08 */ lwz r0, 8(r28) /* 80246F18 00243E78 90 1D 00 08 */ stw r0, 8(r29) lbl_80246F1C: /* 80246F1C 00243E7C 3B FF 00 1C */ addi r31, r31, 0x1c /* 80246F20 00243E80 3B 7B 00 1C */ addi r27, r27, 0x1c lbl_80246F24: /* 80246F24 00243E84 7C 1B F0 40 */ cmplw r27, r30 /* 80246F28 00243E88 40 82 FF A4 */ bne lbl_80246ECC /* 80246F2C 00243E8C 80 1A 00 04 */ lwz r0, 4(r26) /* 80246F30 00243E90 90 19 00 04 */ stw r0, 4(r25) lbl_80246F34: /* 80246F34 00243E94 7F 23 CB 78 */ mr r3, r25 lbl_80246F38: /* 80246F38 00243E98 BB 21 00 14 */ lmw r25, 0x14(r1) /* 80246F3C 00243E9C 80 01 00 34 */ lwz r0, 0x34(r1) /* 80246F40 00243EA0 7C 08 03 A6 */ mtlr r0 /* 80246F44 00243EA4 38 21 00 30 */ addi r1, r1, 0x30 /* 80246F48 00243EA8 4E 80 00 20 */ blr .global sub_80246f4c sub_80246f4c: /* 80246F4C 00243EAC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80246F50 00243EB0 7C 08 02 A6 */ mflr r0 /* 80246F54 00243EB4 90 01 00 24 */ stw r0, 0x24(r1) /* 80246F58 00243EB8 38 81 00 0C */ addi r4, r1, 0xc /* 80246F5C 00243EBC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80246F60 00243EC0 7C 7F 1B 78 */ mr r31, r3 /* 80246F64 00243EC4 38 61 00 14 */ addi r3, r1, 0x14 /* 80246F68 00243EC8 80 1F 00 04 */ lwz r0, 4(r31) /* 80246F6C 00243ECC 80 BF 00 0C */ lwz r5, 0xc(r31) /* 80246F70 00243ED0 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80246F74 00243ED4 7C A5 02 14 */ add r5, r5, r0 /* 80246F78 00243ED8 90 A1 00 0C */ stw r5, 0xc(r1) /* 80246F7C 00243EDC 80 1F 00 0C */ lwz r0, 0xc(r31) /* 80246F80 00243EE0 90 A1 00 08 */ stw r5, 8(r1) /* 80246F84 00243EE4 90 01 00 10 */ stw r0, 0x10(r1) /* 80246F88 00243EE8 90 01 00 14 */ stw r0, 0x14(r1) /* 80246F8C 00243EEC 48 00 00 21 */ bl sub_80246fac /* 80246F90 00243EF0 38 00 00 00 */ li r0, 0 /* 80246F94 00243EF4 90 1F 00 04 */ stw r0, 4(r31) /* 80246F98 00243EF8 80 01 00 24 */ lwz r0, 0x24(r1) /* 80246F9C 00243EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80246FA0 00243F00 7C 08 03 A6 */ mtlr r0 /* 80246FA4 00243F04 38 21 00 20 */ addi r1, r1, 0x20 /* 80246FA8 00243F08 4E 80 00 20 */ blr .global sub_80246fac sub_80246fac: /* 80246FAC 00243F0C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80246FB0 00243F10 7C 08 02 A6 */ mflr r0 /* 80246FB4 00243F14 90 01 00 14 */ stw r0, 0x14(r1) /* 80246FB8 00243F18 93 E1 00 0C */ stw r31, 0xc(r1) /* 80246FBC 00243F1C 93 C1 00 08 */ stw r30, 8(r1) /* 80246FC0 00243F20 7C 9E 23 78 */ mr r30, r4 /* 80246FC4 00243F24 83 E3 00 00 */ lwz r31, 0(r3) /* 80246FC8 00243F28 48 00 00 5C */ b lbl_80247024 lbl_80246FCC: /* 80246FCC 00243F2C 28 1F 00 00 */ cmplwi r31, 0 /* 80246FD0 00243F30 41 82 00 50 */ beq lbl_80247020 /* 80246FD4 00243F34 34 1F 00 0C */ addic. r0, r31, 0xc /* 80246FD8 00243F38 41 82 00 30 */ beq lbl_80247008 /* 80246FDC 00243F3C 88 1F 00 18 */ lbz r0, 0x18(r31) /* 80246FE0 00243F40 28 00 00 00 */ cmplwi r0, 0 /* 80246FE4 00243F44 41 82 00 1C */ beq lbl_80247000 /* 80246FE8 00243F48 34 7F 00 0C */ addic. r3, r31, 0xc /* 80246FEC 00243F4C 41 82 00 14 */ beq lbl_80247000 /* 80246FF0 00243F50 28 03 00 00 */ cmplwi r3, 0 /* 80246FF4 00243F54 41 82 00 0C */ beq lbl_80247000 /* 80246FF8 00243F58 38 80 00 00 */ li r4, 0 /* 80246FFC 00243F5C 48 0F 9E 45 */ bl __dt__6CTokenFv lbl_80247000: /* 80247000 00243F60 38 00 00 00 */ li r0, 0 /* 80247004 00243F64 98 1F 00 18 */ stb r0, 0x18(r31) lbl_80247008: /* 80247008 00243F68 28 1F 00 00 */ cmplwi r31, 0 /* 8024700C 00243F6C 41 82 00 14 */ beq lbl_80247020 /* 80247010 00243F70 41 82 00 10 */ beq lbl_80247020 /* 80247014 00243F74 7F E3 FB 78 */ mr r3, r31 /* 80247018 00243F78 38 80 00 00 */ li r4, 0 /* 8024701C 00243F7C 48 0F 9E 25 */ bl __dt__6CTokenFv lbl_80247020: /* 80247020 00243F80 3B FF 00 1C */ addi r31, r31, 0x1c lbl_80247024: /* 80247024 00243F84 80 1E 00 00 */ lwz r0, 0(r30) /* 80247028 00243F88 7C 1F 00 40 */ cmplw r31, r0 /* 8024702C 00243F8C 40 82 FF A0 */ bne lbl_80246FCC /* 80247030 00243F90 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247034 00243F94 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247038 00243F98 83 C1 00 08 */ lwz r30, 8(r1) /* 8024703C 00243F9C 7C 08 03 A6 */ mtlr r0 /* 80247040 00243FA0 38 21 00 10 */ addi r1, r1, 0x10 /* 80247044 00243FA4 4E 80 00 20 */ blr .global sub_80247048 sub_80247048: /* 80247048 00243FA8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024704C 00243FAC 7C 08 02 A6 */ mflr r0 /* 80247050 00243FB0 90 01 00 24 */ stw r0, 0x24(r1) /* 80247054 00243FB4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80247058 00243FB8 7C 9F 23 78 */ mr r31, r4 /* 8024705C 00243FBC 93 C1 00 18 */ stw r30, 0x18(r1) /* 80247060 00243FC0 7C 7E 1B 79 */ or. r30, r3, r3 /* 80247064 00243FC4 41 82 00 54 */ beq lbl_802470B8 /* 80247068 00243FC8 80 1E 00 04 */ lwz r0, 4(r30) /* 8024706C 00243FCC 38 61 00 14 */ addi r3, r1, 0x14 /* 80247070 00243FD0 80 BE 00 0C */ lwz r5, 0xc(r30) /* 80247074 00243FD4 38 81 00 0C */ addi r4, r1, 0xc /* 80247078 00243FD8 1C 00 00 1C */ mulli r0, r0, 0x1c /* 8024707C 00243FDC 7C A5 02 14 */ add r5, r5, r0 /* 80247080 00243FE0 90 A1 00 0C */ stw r5, 0xc(r1) /* 80247084 00243FE4 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80247088 00243FE8 90 A1 00 08 */ stw r5, 8(r1) /* 8024708C 00243FEC 90 01 00 10 */ stw r0, 0x10(r1) /* 80247090 00243FF0 90 01 00 14 */ stw r0, 0x14(r1) /* 80247094 00243FF4 4B FF FF 19 */ bl sub_80246fac /* 80247098 00243FF8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8024709C 00243FFC 28 03 00 00 */ cmplwi r3, 0 /* 802470A0 00244000 41 82 00 08 */ beq lbl_802470A8 /* 802470A4 00244004 48 0C E8 8D */ bl Free__7CMemoryFPCv lbl_802470A8: /* 802470A8 00244008 7F E0 07 35 */ extsh. r0, r31 /* 802470AC 0024400C 40 81 00 0C */ ble lbl_802470B8 /* 802470B0 00244010 7F C3 F3 78 */ mr r3, r30 /* 802470B4 00244014 48 0C E8 7D */ bl Free__7CMemoryFPCv lbl_802470B8: /* 802470B8 00244018 80 01 00 24 */ lwz r0, 0x24(r1) /* 802470BC 0024401C 7F C3 F3 78 */ mr r3, r30 /* 802470C0 00244020 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 802470C4 00244024 83 C1 00 18 */ lwz r30, 0x18(r1) /* 802470C8 00244028 7C 08 03 A6 */ mtlr r0 /* 802470CC 0024402C 38 21 00 20 */ addi r1, r1, 0x20 /* 802470D0 00244030 4E 80 00 20 */ blr .global ChangedMode__14CLogBookScreenQ216CPauseScreenBase5EMode ChangedMode__14CLogBookScreenQ216CPauseScreenBase5EMode: /* 802470D4 00244034 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802470D8 00244038 7C 08 02 A6 */ mflr r0 /* 802470DC 0024403C 2C 04 00 02 */ cmpwi r4, 2 /* 802470E0 00244040 90 01 00 14 */ stw r0, 0x14(r1) /* 802470E4 00244044 93 E1 00 0C */ stw r31, 0xc(r1) /* 802470E8 00244048 7C 7F 1B 78 */ mr r31, r3 /* 802470EC 0024404C 40 82 00 40 */ bne lbl_8024712C /* 802470F0 00244050 80 7F 00 74 */ lwz r3, 0x74(r31) /* 802470F4 00244054 38 80 00 00 */ li r4, 0 /* 802470F8 00244058 38 A0 00 01 */ li r5, 1 /* 802470FC 0024405C 48 08 35 ED */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80247100 00244060 80 7F 00 88 */ lwz r3, 0x88(r31) /* 80247104 00244064 38 80 00 00 */ li r4, 0 /* 80247108 00244068 38 A0 00 01 */ li r5, 1 /* 8024710C 0024406C 48 08 35 DD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80247110 00244070 7F E3 FB 78 */ mr r3, r31 /* 80247114 00244074 4B FF EC A5 */ bl UpdateBodyText__14CLogBookScreenFv /* 80247118 00244078 80 7F 01 74 */ lwz r3, 0x174(r31) /* 8024711C 0024407C 38 80 00 00 */ li r4, 0 /* 80247120 00244080 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80247124 00244084 48 08 0C E5 */ bl SetPage__15CGuiTextSupportFi /* 80247128 00244088 48 00 00 48 */ b lbl_80247170 lbl_8024712C: /* 8024712C 0024408C 80 1F 00 10 */ lwz r0, 0x10(r31) /* 80247130 00244090 2C 00 00 02 */ cmpwi r0, 2 /* 80247134 00244094 40 82 00 3C */ bne lbl_80247170 /* 80247138 00244098 80 7F 00 74 */ lwz r3, 0x74(r31) /* 8024713C 0024409C 38 80 00 01 */ li r4, 1 /* 80247140 002440A0 38 A0 00 01 */ li r5, 1 /* 80247144 002440A4 48 08 35 A5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80247148 002440A8 80 7F 00 88 */ lwz r3, 0x88(r31) /* 8024714C 002440AC 38 80 00 01 */ li r4, 1 /* 80247150 002440B0 38 A0 00 01 */ li r5, 1 /* 80247154 002440B4 48 08 35 95 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode /* 80247158 002440B8 88 1F 02 60 */ lbz r0, 0x260(r31) /* 8024715C 002440BC 38 60 00 01 */ li r3, 1 /* 80247160 002440C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80247164 002440C4 7F E3 FB 78 */ mr r3, r31 /* 80247168 002440C8 98 1F 02 60 */ stb r0, 0x260(r31) /* 8024716C 002440CC 4B FF EE C5 */ bl UpdateBodyImagesAndText__14CLogBookScreenFv lbl_80247170: /* 80247170 002440D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247174 002440D4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247178 002440D8 7C 08 03 A6 */ mtlr r0 /* 8024717C 002440DC 38 21 00 10 */ addi r1, r1, 0x10 /* 80247180 002440E0 4E 80 00 20 */ blr .global VActivate__14CLogBookScreenFv VActivate__14CLogBookScreenFv: /* 80247184 002440E4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80247188 002440E8 7C 08 02 A6 */ mflr r0 /* 8024718C 002440EC 90 01 00 54 */ stw r0, 0x54(r1) /* 80247190 002440F0 93 E1 00 4C */ stw r31, 0x4c(r1) /* 80247194 002440F4 93 C1 00 48 */ stw r30, 0x48(r1) /* 80247198 002440F8 3B C0 00 00 */ li r30, 0 /* 8024719C 002440FC 93 A1 00 44 */ stw r29, 0x44(r1) /* 802471A0 00244100 93 81 00 40 */ stw r28, 0x40(r1) /* 802471A4 00244104 7C 7C 1B 78 */ mr r28, r3 /* 802471A8 00244108 3B FC 00 AC */ addi r31, r28, 0xac lbl_802471AC: /* 802471AC 0024410C 83 BF 00 00 */ lwz r29, 0(r31) /* 802471B0 00244110 7F 83 E3 78 */ mr r3, r28 /* 802471B4 00244114 38 9E 00 01 */ addi r4, r30, 1 /* 802471B8 00244118 4B FF E8 DD */ bl IsScanCategoryReady__14CLogBookScreenF13EScanCategory /* 802471BC 0024411C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802471C0 00244120 41 82 00 40 */ beq lbl_80247200 /* 802471C4 00244124 80 7C 00 0C */ lwz r3, 0xc(r28) /* 802471C8 00244128 38 9E 00 01 */ addi r4, r30, 1 /* 802471CC 0024412C 48 10 F5 31 */ bl GetString__12CStringTableCFi /* 802471D0 00244130 7C 64 1B 78 */ mr r4, r3 /* 802471D4 00244134 38 61 00 30 */ addi r3, r1, 0x30 /* 802471D8 00244138 38 C1 00 0C */ addi r6, r1, 0xc /* 802471DC 0024413C 38 A0 FF FF */ li r5, -1 /* 802471E0 00244140 48 0F 65 DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 802471E4 00244144 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 802471E8 00244148 38 81 00 30 */ addi r4, r1, 0x30 /* 802471EC 0024414C 38 A0 00 00 */ li r5, 0 /* 802471F0 00244150 48 08 26 95 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 802471F4 00244154 38 61 00 30 */ addi r3, r1, 0x30 /* 802471F8 00244158 48 0F 5F 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802471FC 0024415C 48 00 00 58 */ b lbl_80247254 lbl_80247200: /* 80247200 00244160 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha /* 80247204 00244164 38 61 00 20 */ addi r3, r1, 0x20 /* 80247208 00244168 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l /* 8024720C 0024416C 38 84 00 14 */ addi r4, r4, 0x14 /* 80247210 00244170 4B DC E7 E1 */ bl wstring_l__4rstlFPCw /* 80247214 00244174 38 7D 00 D4 */ addi r3, r29, 0xd4 /* 80247218 00244178 38 81 00 20 */ addi r4, r1, 0x20 /* 8024721C 0024417C 38 A0 00 00 */ li r5, 0 /* 80247220 00244180 48 08 26 65 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80247224 00244184 38 61 00 20 */ addi r3, r1, 0x20 /* 80247228 00244188 48 0F 5F 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024722C 0024418C 80 7C 00 70 */ lwz r3, 0x70(r28) /* 80247230 00244190 7F C4 F3 78 */ mr r4, r30 /* 80247234 00244194 81 83 00 00 */ lwz r12, 0(r3) /* 80247238 00244198 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 8024723C 0024419C 7D 89 03 A6 */ mtctr r12 /* 80247240 002441A0 4E 80 04 21 */ bctrl /* 80247244 002441A4 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 80247248 002441A8 38 80 00 00 */ li r4, 0 /* 8024724C 002441AC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 80247250 002441B0 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_80247254: /* 80247254 002441B4 3B DE 00 01 */ addi r30, r30, 1 /* 80247258 002441B8 3B FF 00 04 */ addi r31, r31, 4 /* 8024725C 002441BC 2C 1E 00 05 */ cmpwi r30, 5 /* 80247260 002441C0 41 80 FF 4C */ blt lbl_802471AC /* 80247264 002441C4 80 7C 00 0C */ lwz r3, 0xc(r28) /* 80247268 002441C8 38 80 00 00 */ li r4, 0 /* 8024726C 002441CC 48 10 F4 91 */ bl GetString__12CStringTableCFi /* 80247270 002441D0 7C 64 1B 78 */ mr r4, r3 /* 80247274 002441D4 38 61 00 10 */ addi r3, r1, 0x10 /* 80247278 002441D8 38 C1 00 08 */ addi r6, r1, 8 /* 8024727C 002441DC 38 A0 FF FF */ li r5, -1 /* 80247280 002441E0 48 0F 65 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" /* 80247284 002441E4 80 7C 01 78 */ lwz r3, 0x178(r28) /* 80247288 002441E8 38 81 00 10 */ addi r4, r1, 0x10 /* 8024728C 002441EC 38 A0 00 00 */ li r5, 0 /* 80247290 002441F0 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80247294 002441F4 48 08 25 F1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 80247298 002441F8 38 61 00 10 */ addi r3, r1, 0x10 /* 8024729C 002441FC 48 0F 5E 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 802472A0 00244200 3B A0 00 05 */ li r29, 5 /* 802472A4 00244204 3B E0 00 00 */ li r31, 0 /* 802472A8 00244208 48 00 00 2C */ b lbl_802472D4 lbl_802472AC: /* 802472AC 0024420C 80 7C 00 70 */ lwz r3, 0x70(r28) /* 802472B0 00244210 7F A4 EB 78 */ mr r4, r29 /* 802472B4 00244214 81 83 00 00 */ lwz r12, 0(r3) /* 802472B8 00244218 81 8C 00 3C */ lwz r12, 0x3c(r12) /* 802472BC 0024421C 7D 89 03 A6 */ mtctr r12 /* 802472C0 00244220 4E 80 04 21 */ bctrl /* 802472C4 00244224 88 03 00 B6 */ lbz r0, 0xb6(r3) /* 802472C8 00244228 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b /* 802472CC 0024422C 3B BD 00 01 */ addi r29, r29, 1 /* 802472D0 00244230 98 03 00 B6 */ stb r0, 0xb6(r3) lbl_802472D4: /* 802472D4 00244234 2C 1D 00 05 */ cmpwi r29, 5 /* 802472D8 00244238 41 80 FF D4 */ blt lbl_802472AC /* 802472DC 0024423C 80 01 00 54 */ lwz r0, 0x54(r1) /* 802472E0 00244240 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 802472E4 00244244 83 C1 00 48 */ lwz r30, 0x48(r1) /* 802472E8 00244248 83 A1 00 44 */ lwz r29, 0x44(r1) /* 802472EC 0024424C 83 81 00 40 */ lwz r28, 0x40(r1) /* 802472F0 00244250 7C 08 03 A6 */ mtlr r0 /* 802472F4 00244254 38 21 00 50 */ addi r1, r1, 0x50 /* 802472F8 00244258 4E 80 00 20 */ blr .global VReady__14CLogBookScreenCFv VReady__14CLogBookScreenCFv: /* 802472FC 0024425C 38 60 00 01 */ li r3, 1 /* 80247300 00244260 4E 80 00 20 */ blr .global ProcessInput__14CLogBookScreenFRC11CFinalInput ProcessInput__14CLogBookScreenFRC11CFinalInput: /* 80247304 00244264 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80247308 00244268 7C 08 02 A6 */ mflr r0 /* 8024730C 0024426C 90 01 00 34 */ stw r0, 0x34(r1) /* 80247310 00244270 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 80247314 00244274 7C 7B 1B 78 */ mr r27, r3 /* 80247318 00244278 38 60 00 00 */ li r3, 0 /* 8024731C 0024427C 7C 9C 23 78 */ mr r28, r4 /* 80247320 00244280 88 1B 02 60 */ lbz r0, 0x260(r27) /* 80247324 00244284 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80247328 00244288 98 1B 02 60 */ stb r0, 0x260(r27) /* 8024732C 0024428C 80 1B 02 5C */ lwz r0, 0x25c(r27) /* 80247330 00244290 2C 00 00 02 */ cmpwi r0, 2 /* 80247334 00244294 41 82 02 64 */ beq lbl_80247598 /* 80247338 00244298 80 1B 00 10 */ lwz r0, 0x10(r27) /* 8024733C 0024429C 2C 00 00 02 */ cmpwi r0, 2 /* 80247340 002442A0 40 82 02 14 */ bne lbl_80247554 /* 80247344 002442A4 80 7B 01 74 */ lwz r3, 0x174(r27) /* 80247348 002442A8 38 63 00 D4 */ addi r3, r3, 0xd4 /* 8024734C 002442AC 83 E3 03 04 */ lwz r31, 0x304(r3) /* 80247350 002442B0 7F FE FB 78 */ mr r30, r31 /* 80247354 002442B4 48 08 0B 05 */ bl GetTotalPageCount__15CGuiTextSupportFv /* 80247358 002442B8 38 03 FF FF */ addi r0, r3, -1 /* 8024735C 002442BC 2C 03 FF FF */ cmpwi r3, -1 /* 80247360 002442C0 7C 1F 00 50 */ subf r0, r31, r0 /* 80247364 002442C4 7C 00 00 34 */ cntlzw r0, r0 /* 80247368 002442C8 54 1D D9 7E */ srwi r29, r0, 5 /* 8024736C 002442CC 41 82 01 34 */ beq lbl_802474A0 /* 80247370 002442D0 C0 02 CC 28 */ lfs f0, lbl_805AE948@sda21(r2) /* 80247374 002442D4 38 80 00 00 */ li r4, 0 /* 80247378 002442D8 C0 3C 00 0C */ lfs f1, 0xc(r28) /* 8024737C 002442DC FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80247380 002442E0 40 80 00 0C */ bge lbl_8024738C /* 80247384 002442E4 38 00 00 01 */ li r0, 1 /* 80247388 002442E8 48 00 00 08 */ b lbl_80247390 lbl_8024738C: /* 8024738C 002442EC 7C 80 23 78 */ mr r0, r4 lbl_80247390: /* 80247390 002442F0 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 80247394 002442F4 41 82 00 14 */ beq lbl_802473A8 /* 80247398 002442F8 88 1C 00 21 */ lbz r0, 0x21(r28) /* 8024739C 002442FC 28 00 00 00 */ cmplwi r0, 0 /* 802473A0 00244300 41 82 00 08 */ beq lbl_802473A8 /* 802473A4 00244304 38 80 00 01 */ li r4, 1 lbl_802473A8: /* 802473A8 00244308 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802473AC 0024430C 41 82 00 28 */ beq lbl_802473D4 /* 802473B0 00244310 80 0D 96 F0 */ lwz r0, lbl_805A82B0@sda21(r13) /* 802473B4 00244314 38 9F FF FF */ addi r4, r31, -1 /* 802473B8 00244318 90 81 00 14 */ stw r4, 0x14(r1) /* 802473BC 0024431C 38 6D 96 F0 */ addi r3, r13, lbl_805A82B0@sda21 /* 802473C0 00244320 7C 00 20 00 */ cmpw r0, r4 /* 802473C4 00244324 40 80 00 08 */ bge lbl_802473CC /* 802473C8 00244328 38 61 00 14 */ addi r3, r1, 0x14 lbl_802473CC: /* 802473CC 0024432C 83 C3 00 00 */ lwz r30, 0(r3) /* 802473D0 00244330 48 00 00 64 */ b lbl_80247434 lbl_802473D4: /* 802473D4 00244334 FC 00 00 50 */ fneg f0, f0 /* 802473D8 00244338 38 80 00 00 */ li r4, 0 /* 802473DC 0024433C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 802473E0 00244340 40 81 00 14 */ ble lbl_802473F4 /* 802473E4 00244344 88 1C 00 21 */ lbz r0, 0x21(r28) /* 802473E8 00244348 28 00 00 00 */ cmplwi r0, 0 /* 802473EC 0024434C 41 82 00 08 */ beq lbl_802473F4 /* 802473F0 00244350 38 80 00 01 */ li r4, 1 lbl_802473F4: /* 802473F4 00244354 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802473F8 00244358 40 82 00 18 */ bne lbl_80247410 /* 802473FC 0024435C 88 1C 00 2D */ lbz r0, 0x2d(r28) /* 80247400 00244360 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f /* 80247404 00244364 41 82 00 30 */ beq lbl_80247434 /* 80247408 00244368 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8024740C 0024436C 40 82 00 28 */ bne lbl_80247434 lbl_80247410: /* 80247410 00244370 38 9F 00 01 */ addi r4, r31, 1 /* 80247414 00244374 38 03 FF FF */ addi r0, r3, -1 /* 80247418 00244378 7C 04 00 00 */ cmpw r4, r0 /* 8024741C 0024437C 90 81 00 0C */ stw r4, 0xc(r1) /* 80247420 00244380 38 61 00 10 */ addi r3, r1, 0x10 /* 80247424 00244384 90 01 00 10 */ stw r0, 0x10(r1) /* 80247428 00244388 40 80 00 08 */ bge lbl_80247430 /* 8024742C 0024438C 38 61 00 0C */ addi r3, r1, 0xc lbl_80247430: /* 80247430 00244390 83 C3 00 00 */ lwz r30, 0(r3) lbl_80247434: /* 80247434 00244394 80 7B 01 74 */ lwz r3, 0x174(r27) /* 80247438 00244398 7F C4 F3 78 */ mr r4, r30 /* 8024743C 0024439C 38 63 00 D4 */ addi r3, r3, 0xd4 /* 80247440 002443A0 48 08 09 C9 */ bl SetPage__15CGuiTextSupportFi /* 80247444 002443A4 7C 1F F0 00 */ cmpw r31, r30 /* 80247448 002443A8 41 82 00 28 */ beq lbl_80247470 /* 8024744C 002443AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) /* 80247450 002443B0 38 61 00 08 */ addi r3, r1, 8 /* 80247454 002443B4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) /* 80247458 002443B8 38 80 05 A4 */ li r4, 0x5a4 /* 8024745C 002443BC 38 A0 00 7F */ li r5, 0x7f /* 80247460 002443C0 38 C0 00 40 */ li r6, 0x40 /* 80247464 002443C4 38 E0 00 00 */ li r7, 0 /* 80247468 002443C8 39 20 00 00 */ li r9, 0 /* 8024746C 002443CC 48 0A 29 09 */ bl SfxStart__11CSfxManagerFUsssbsbi lbl_80247470: /* 80247470 002443D0 7C 7E 00 D0 */ neg r3, r30 /* 80247474 002443D4 57 A0 06 3E */ clrlwi r0, r29, 0x18 /* 80247478 002443D8 7C 64 F0 78 */ andc r4, r3, r30 /* 8024747C 002443DC 88 7B 01 98 */ lbz r3, 0x198(r27) /* 80247480 002443E0 50 83 27 38 */ rlwimi r3, r4, 4, 0x1c, 0x1c /* 80247484 002443E4 7C 00 00 34 */ cntlzw r0, r0 /* 80247488 002443E8 98 7B 01 98 */ stb r3, 0x198(r27) /* 8024748C 002443EC 54 03 D9 7E */ srwi r3, r0, 5 /* 80247490 002443F0 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80247494 002443F4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 80247498 002443F8 98 1B 01 98 */ stb r0, 0x198(r27) /* 8024749C 002443FC 48 00 00 24 */ b lbl_802474C0 lbl_802474A0: /* 802474A0 00244400 88 1B 01 98 */ lbz r0, 0x198(r27) /* 802474A4 00244404 38 60 00 00 */ li r3, 0 /* 802474A8 00244408 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 802474AC 0024440C 98 1B 01 98 */ stb r0, 0x198(r27) /* 802474B0 00244410 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 802474B4 00244414 88 1B 01 98 */ lbz r0, 0x198(r27) /* 802474B8 00244418 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 802474BC 0024441C 98 1B 01 98 */ stb r0, 0x198(r27) lbl_802474C0: /* 802474C0 00244420 88 1B 02 60 */ lbz r0, 0x260(r27) /* 802474C4 00244424 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 802474C8 00244428 40 82 00 44 */ bne lbl_8024750C /* 802474CC 0024442C 88 7C 00 2D */ lbz r3, 0x2d(r28) /* 802474D0 00244430 38 80 00 01 */ li r4, 1 /* 802474D4 00244434 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f /* 802474D8 00244438 40 82 00 28 */ bne lbl_80247500 /* 802474DC 0024443C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f /* 802474E0 00244440 38 60 00 00 */ li r3, 0 /* 802474E4 00244444 41 82 00 10 */ beq lbl_802474F4 /* 802474E8 00244448 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 802474EC 0024444C 41 82 00 08 */ beq lbl_802474F4 /* 802474F0 00244450 7C 83 23 78 */ mr r3, r4 lbl_802474F4: /* 802474F4 00244454 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802474F8 00244458 40 82 00 08 */ bne lbl_80247500 /* 802474FC 0024445C 38 80 00 00 */ li r4, 0 lbl_80247500: /* 80247500 00244460 88 1B 02 60 */ lbz r0, 0x260(r27) /* 80247504 00244464 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 80247508 00244468 98 1B 02 60 */ stb r0, 0x260(r27) lbl_8024750C: /* 8024750C 0024446C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) /* 80247510 00244470 88 03 02 75 */ lbz r0, 0x275(r3) /* 80247514 00244474 28 00 00 00 */ cmplwi r0, 0 /* 80247518 00244478 41 82 00 18 */ beq lbl_80247530 /* 8024751C 0024447C 88 1B 02 60 */ lbz r0, 0x260(r27) /* 80247520 00244480 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f /* 80247524 00244484 7C 00 00 34 */ cntlzw r0, r0 /* 80247528 00244488 54 03 D9 7E */ srwi r3, r0, 5 /* 8024752C 0024448C 48 00 00 18 */ b lbl_80247544 lbl_80247530: /* 80247530 00244490 88 1C 00 2C */ lbz r0, 0x2c(r28) /* 80247534 00244494 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f /* 80247538 00244498 7C 03 00 D0 */ neg r0, r3 /* 8024753C 0024449C 7C 00 1B 78 */ or r0, r0, r3 /* 80247540 002444A0 54 03 0F FE */ srwi r3, r0, 0x1f lbl_80247544: /* 80247544 002444A4 88 1B 02 60 */ lbz r0, 0x260(r27) /* 80247548 002444A8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8024754C 002444AC 98 1B 02 60 */ stb r0, 0x260(r27) /* 80247550 002444B0 48 00 00 20 */ b lbl_80247570 lbl_80247554: /* 80247554 002444B4 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80247558 002444B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d /* 8024755C 002444BC 98 1B 01 98 */ stb r0, 0x198(r27) /* 80247560 002444C0 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f /* 80247564 002444C4 88 1B 01 98 */ lbz r0, 0x198(r27) /* 80247568 002444C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c /* 8024756C 002444CC 98 1B 01 98 */ stb r0, 0x198(r27) lbl_80247570: /* 80247570 002444D0 80 1B 02 5C */ lwz r0, 0x25c(r27) /* 80247574 002444D4 2C 00 00 01 */ cmpwi r0, 1 /* 80247578 002444D8 40 82 00 14 */ bne lbl_8024758C /* 8024757C 002444DC 88 1B 02 60 */ lbz r0, 0x260(r27) /* 80247580 002444E0 38 60 00 00 */ li r3, 0 /* 80247584 002444E4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80247588 002444E8 98 1B 02 60 */ stb r0, 0x260(r27) lbl_8024758C: /* 8024758C 002444EC 7F 63 DB 78 */ mr r3, r27 /* 80247590 002444F0 7F 84 E3 78 */ mr r4, r28 /* 80247594 002444F4 4B E2 9D C9 */ bl ProcessInput__16CPauseScreenBaseFRC11CFinalInput lbl_80247598: /* 80247598 002444F8 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8024759C 002444FC 80 01 00 34 */ lwz r0, 0x34(r1) /* 802475A0 00244500 7C 08 03 A6 */ mtlr r0 /* 802475A4 00244504 38 21 00 30 */ addi r1, r1, 0x30 /* 802475A8 00244508 4E 80 00 20 */ blr .global Draw__14CLogBookScreenCFfff Draw__14CLogBookScreenCFfff: /* 802475AC 0024450C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802475B0 00244510 7C 08 02 A6 */ mflr r0 /* 802475B4 00244514 90 01 00 24 */ stw r0, 0x24(r1) /* 802475B8 00244518 DB E1 00 10 */ stfd f31, 0x10(r1) /* 802475BC 0024451C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 /* 802475C0 00244520 93 E1 00 0C */ stw r31, 0xc(r1) /* 802475C4 00244524 93 C1 00 08 */ stw r30, 8(r1) /* 802475C8 00244528 7C 7E 1B 78 */ mr r30, r3 /* 802475CC 0024452C FF E0 08 90 */ fmr f31, f1 /* 802475D0 00244530 4B E2 9D C1 */ bl Draw__16CPauseScreenBaseCFfff /* 802475D4 00244534 80 1E 00 10 */ lwz r0, 0x10(r30) /* 802475D8 00244538 3B E0 00 00 */ li r31, 0 /* 802475DC 0024453C 2C 00 00 01 */ cmpwi r0, 1 /* 802475E0 00244540 40 82 00 18 */ bne lbl_802475F8 /* 802475E4 00244544 7F C3 F3 78 */ mr r3, r30 /* 802475E8 00244548 48 00 00 B1 */ bl IsArtifactCategorySelected__14CLogBookScreenCFv /* 802475EC 0024454C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802475F0 00244550 41 82 00 08 */ beq lbl_802475F8 /* 802475F4 00244554 3B E0 00 01 */ li r31, 1 lbl_802475F8: /* 802475F8 00244558 7F C3 F3 78 */ mr r3, r30 /* 802475FC 0024455C 48 00 00 49 */ bl GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv /* 80247600 00244560 C0 22 B8 60 */ lfs f1, lbl_805AD580@sda21(r2) /* 80247604 00244564 7C 66 1B 78 */ mr r6, r3 /* 80247608 00244568 C0 1E 02 54 */ lfs f0, 0x254(r30) /* 8024760C 0024456C 7F E5 FB 78 */ mr r5, r31 /* 80247610 00244570 80 7E 02 58 */ lwz r3, 0x258(r30) /* 80247614 00244574 EC 01 00 28 */ fsubs f0, f1, f0 /* 80247618 00244578 80 9E 00 04 */ lwz r4, 4(r30) /* 8024761C 0024457C EC 3F 00 32 */ fmuls f1, f31, f0 /* 80247620 00244580 48 05 53 49 */ bl Draw__13CArtifactDollFfRC13CStateManagerbUi /* 80247624 00244584 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 /* 80247628 00244588 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024762C 0024458C CB E1 00 10 */ lfd f31, 0x10(r1) /* 80247630 00244590 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247634 00244594 83 C1 00 08 */ lwz r30, 8(r1) /* 80247638 00244598 7C 08 03 A6 */ mtlr r0 /* 8024763C 0024459C 38 21 00 20 */ addi r1, r1, 0x20 /* 80247640 002445A0 4E 80 00 20 */ blr .global GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv: /* 80247644 002445A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80247648 002445A8 7C 08 02 A6 */ mflr r0 /* 8024764C 002445AC 90 01 00 14 */ stw r0, 0x14(r1) /* 80247650 002445B0 80 83 00 70 */ lwz r4, 0x70(r3) /* 80247654 002445B4 80 A3 00 1C */ lwz r5, 0x1c(r3) /* 80247658 002445B8 80 04 00 C4 */ lwz r0, 0xc4(r4) /* 8024765C 002445BC 54 00 20 36 */ slwi r0, r0, 4 /* 80247660 002445C0 7C 63 02 14 */ add r3, r3, r0 /* 80247664 002445C4 80 03 01 A4 */ lwz r0, 0x1a4(r3) /* 80247668 002445C8 7C 05 00 00 */ cmpw r5, r0 /* 8024766C 002445CC 40 80 00 18 */ bge lbl_80247684 /* 80247670 002445D0 80 63 01 AC */ lwz r3, 0x1ac(r3) /* 80247674 002445D4 54 A0 18 38 */ slwi r0, r5, 3 /* 80247678 002445D8 7C 63 00 2E */ lwzx r3, r3, r0 /* 8024767C 002445DC 48 05 52 09 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 80247680 002445E0 48 00 00 08 */ b lbl_80247688 lbl_80247684: /* 80247684 002445E4 38 60 FF FF */ li r3, -1 lbl_80247688: /* 80247688 002445E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024768C 002445EC 7C 08 03 A6 */ mtlr r0 /* 80247690 002445F0 38 21 00 10 */ addi r1, r1, 0x10 /* 80247694 002445F4 4E 80 00 20 */ blr .global IsArtifactCategorySelected__14CLogBookScreenCFv IsArtifactCategorySelected__14CLogBookScreenCFv: /* 80247698 002445F8 80 63 00 70 */ lwz r3, 0x70(r3) /* 8024769C 002445FC 80 63 00 C4 */ lwz r3, 0xc4(r3) /* 802476A0 00244600 38 03 00 01 */ addi r0, r3, 1 /* 802476A4 00244604 20 00 00 05 */ subfic r0, r0, 5 /* 802476A8 00244608 7C 00 00 34 */ cntlzw r0, r0 /* 802476AC 0024460C 54 03 D9 7E */ srwi r3, r0, 5 /* 802476B0 00244610 4E 80 00 20 */ blr .global Touch__14CLogBookScreenFv Touch__14CLogBookScreenFv: /* 802476B4 00244614 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802476B8 00244618 7C 08 02 A6 */ mflr r0 /* 802476BC 0024461C 90 01 00 14 */ stw r0, 0x14(r1) /* 802476C0 00244620 93 E1 00 0C */ stw r31, 0xc(r1) /* 802476C4 00244624 7C 7F 1B 78 */ mr r31, r3 /* 802476C8 00244628 4B E2 9D D5 */ bl Touch__16CPauseScreenBaseFv /* 802476CC 0024462C 80 7F 02 58 */ lwz r3, 0x258(r31) /* 802476D0 00244630 48 05 58 E1 */ bl Touch__13CArtifactDollFv /* 802476D4 00244634 80 01 00 14 */ lwz r0, 0x14(r1) /* 802476D8 00244638 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802476DC 0024463C 7C 08 03 A6 */ mtlr r0 /* 802476E0 00244640 38 21 00 10 */ addi r1, r1, 0x10 /* 802476E4 00244644 4E 80 00 20 */ blr .global Update__14CLogBookScreenFfR9CRandom16R18CArchitectureQueue Update__14CLogBookScreenFfR9CRandom16R18CArchitectureQueue: /* 802476E8 00244648 94 21 FF A0 */ stwu r1, -0x60(r1) /* 802476EC 0024464C 7C 08 02 A6 */ mflr r0 /* 802476F0 00244650 90 01 00 64 */ stw r0, 0x64(r1) /* 802476F4 00244654 DB E1 00 50 */ stfd f31, 0x50(r1) /* 802476F8 00244658 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 /* 802476FC 0024465C DB C1 00 40 */ stfd f30, 0x40(r1) /* 80247700 00244660 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 /* 80247704 00244664 DB A1 00 30 */ stfd f29, 0x30(r1) /* 80247708 00244668 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 /* 8024770C 0024466C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80247710 00244670 7C 7F 1B 78 */ mr r31, r3 /* 80247714 00244674 FF E0 08 90 */ fmr f31, f1 /* 80247718 00244678 4B E2 9D 89 */ bl Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue /* 8024771C 0024467C FC 20 F8 90 */ fmr f1, f31 /* 80247720 00244680 80 7F 02 58 */ lwz r3, 0x258(r31) /* 80247724 00244684 80 9F 00 04 */ lwz r4, 4(r31) /* 80247728 00244688 48 05 57 CD */ bl Update__13CArtifactDollFfRC13CStateManager /* 8024772C 0024468C 7F E3 FB 78 */ mr r3, r31 /* 80247730 00244690 4B FF EA ED */ bl PumpArticleLoad__14CLogBookScreenFv /* 80247734 00244694 80 1F 00 10 */ lwz r0, 0x10(r31) /* 80247738 00244698 2C 00 00 02 */ cmpwi r0, 2 /* 8024773C 0024469C 40 82 01 68 */ bne lbl_802478A4 /* 80247740 002446A0 88 1F 02 60 */ lbz r0, 0x260(r31) /* 80247744 002446A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 80247748 002446A8 41 82 00 38 */ beq lbl_80247780 /* 8024774C 002446AC C0 42 B8 70 */ lfs f2, lbl_805AD590@sda21(r2) /* 80247750 002446B0 C0 3F 02 54 */ lfs f1, 0x254(r31) /* 80247754 002446B4 C0 0D 96 E8 */ lfs f0, lbl_805A82A8@sda21(r13) /* 80247758 002446B8 EC 22 0F FA */ fmadds f1, f2, f31, f1 /* 8024775C 002446BC FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80247760 002446C0 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80247764 002446C4 40 80 00 0C */ bge lbl_80247770 /* 80247768 002446C8 38 61 00 10 */ addi r3, r1, 0x10 /* 8024776C 002446CC 48 00 00 08 */ b lbl_80247774 lbl_80247770: /* 80247770 002446D0 38 6D 96 E8 */ addi r3, r13, lbl_805A82A8@sda21 lbl_80247774: /* 80247774 002446D4 C0 03 00 00 */ lfs f0, 0(r3) /* 80247778 002446D8 D0 1F 02 54 */ stfs f0, 0x254(r31) /* 8024777C 002446DC 48 00 00 34 */ b lbl_802477B0 lbl_80247780: /* 80247780 002446E0 C0 42 B8 70 */ lfs f2, lbl_805AD590@sda21(r2) /* 80247784 002446E4 C0 3F 02 54 */ lfs f1, 0x254(r31) /* 80247788 002446E8 C0 0D 96 EC */ lfs f0, lbl_805A82AC@sda21(r13) /* 8024778C 002446EC EC 22 0F FC */ fnmsubs f1, f2, f31, f1 /* 80247790 002446F0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80247794 002446F4 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80247798 002446F8 40 80 00 0C */ bge lbl_802477A4 /* 8024779C 002446FC 38 61 00 0C */ addi r3, r1, 0xc /* 802477A0 00244700 48 00 00 08 */ b lbl_802477A8 lbl_802477A4: /* 802477A4 00244704 38 6D 96 EC */ addi r3, r13, lbl_805A82AC@sda21 lbl_802477A8: /* 802477A8 00244708 C0 03 00 00 */ lfs f0, 0(r3) /* 802477AC 0024470C D0 1F 02 54 */ stfs f0, 0x254(r31) lbl_802477B0: /* 802477B0 00244710 C3 FF 02 54 */ lfs f31, 0x254(r31) /* 802477B4 00244714 48 10 27 F9 */ bl White__6CColorFv /* 802477B8 00244718 C0 02 B8 74 */ lfs f0, lbl_805AD594@sda21(r2) /* 802477BC 0024471C EF C0 07 F2 */ fmuls f30, f0, f31 /* 802477C0 00244720 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 /* 802477C4 00244724 38 81 00 18 */ addi r4, r1, 0x18 /* 802477C8 00244728 80 63 00 00 */ lwz r3, 0(r3) /* 802477CC 0024472C 88 01 00 09 */ lbz r0, 9(r1) /* 802477D0 00244730 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 802477D4 00244734 90 01 00 18 */ stw r0, 0x18(r1) /* 802477D8 00244738 80 7F 00 74 */ lwz r3, 0x74(r31) /* 802477DC 0024473C 48 08 30 91 */ bl SetColor__10CGuiWidgetFRC6CColor /* 802477E0 00244740 80 7F 00 88 */ lwz r3, 0x88(r31) /* 802477E4 00244744 38 81 00 18 */ addi r4, r1, 0x18 /* 802477E8 00244748 48 08 30 85 */ bl SetColor__10CGuiWidgetFRC6CColor /* 802477EC 0024474C C0 22 B8 60 */ lfs f1, lbl_805AD580@sda21(r2) /* 802477F0 00244750 C0 1F 02 54 */ lfs f0, 0x254(r31) /* 802477F4 00244754 EF E1 00 28 */ fsubs f31, f1, f0 /* 802477F8 00244758 48 10 27 B5 */ bl White__6CColorFv /* 802477FC 0024475C C0 02 B8 74 */ lfs f0, lbl_805AD594@sda21(r2) /* 80247800 00244760 EF A0 07 F2 */ fmuls f29, f0, f31 /* 80247804 00244764 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 /* 80247808 00244768 38 81 00 14 */ addi r4, r1, 0x14 /* 8024780C 0024476C 80 63 00 00 */ lwz r3, 0(r3) /* 80247810 00244770 88 01 00 08 */ lbz r0, 8(r1) /* 80247814 00244774 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 /* 80247818 00244778 90 01 00 14 */ stw r0, 0x14(r1) /* 8024781C 0024477C 80 7F 00 70 */ lwz r3, 0x70(r31) /* 80247820 00244780 48 08 30 4D */ bl SetColor__10CGuiWidgetFRC6CColor /* 80247824 00244784 80 7F 00 84 */ lwz r3, 0x84(r31) /* 80247828 00244788 38 81 00 14 */ addi r4, r1, 0x14 /* 8024782C 0024478C 48 08 30 41 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80247830 00244790 80 7F 01 7C */ lwz r3, 0x17c(r31) /* 80247834 00244794 38 81 00 14 */ addi r4, r1, 0x14 /* 80247838 00244798 48 08 30 35 */ bl SetColor__10CGuiWidgetFRC6CColor /* 8024783C 0024479C 80 7F 01 74 */ lwz r3, 0x174(r31) /* 80247840 002447A0 38 81 00 18 */ addi r4, r1, 0x18 /* 80247844 002447A4 48 08 30 29 */ bl SetColor__10CGuiWidgetFRC6CColor /* 80247848 002447A8 C0 22 B8 60 */ lfs f1, lbl_805AD580@sda21(r2) /* 8024784C 002447AC 38 9F 00 F4 */ addi r4, r31, 0xf4 /* 80247850 002447B0 38 A0 00 00 */ li r5, 0 /* 80247854 002447B4 48 00 00 1C */ b lbl_80247870 lbl_80247858: /* 80247858 002447B8 C0 1F 02 54 */ lfs f0, 0x254(r31) /* 8024785C 002447BC 38 A5 00 01 */ addi r5, r5, 1 /* 80247860 002447C0 80 64 00 00 */ lwz r3, 0(r4) /* 80247864 002447C4 38 84 00 04 */ addi r4, r4, 4 /* 80247868 002447C8 EC 01 00 28 */ fsubs f0, f1, f0 /* 8024786C 002447CC D0 03 01 4C */ stfs f0, 0x14c(r3) lbl_80247870: /* 80247870 002447D0 80 1F 00 F0 */ lwz r0, 0xf0(r31) /* 80247874 002447D4 7C 05 00 00 */ cmpw r5, r0 /* 80247878 002447D8 41 80 FF E0 */ blt lbl_80247858 /* 8024787C 002447DC C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2) /* 80247880 002447E0 C0 1F 02 54 */ lfs f0, 0x254(r31) /* 80247884 002447E4 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 80247888 002447E8 40 82 00 1C */ bne lbl_802478A4 /* 8024788C 002447EC 80 1F 02 5C */ lwz r0, 0x25c(r31) /* 80247890 002447F0 2C 00 00 00 */ cmpwi r0, 0 /* 80247894 002447F4 40 82 00 10 */ bne lbl_802478A4 /* 80247898 002447F8 7F E3 FB 78 */ mr r3, r31 /* 8024789C 002447FC 38 80 00 01 */ li r4, 1 /* 802478A0 00244800 4B E2 95 75 */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode lbl_802478A4: /* 802478A4 00244804 80 1F 02 5C */ lwz r0, 0x25c(r31) /* 802478A8 00244808 2C 00 00 01 */ cmpwi r0, 1 /* 802478AC 0024480C 40 82 00 1C */ bne lbl_802478C8 /* 802478B0 00244810 C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2) /* 802478B4 00244814 C0 1F 02 54 */ lfs f0, 0x254(r31) /* 802478B8 00244818 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 802478BC 0024481C 40 82 00 0C */ bne lbl_802478C8 /* 802478C0 00244820 38 00 00 02 */ li r0, 2 /* 802478C4 00244824 90 1F 02 5C */ stw r0, 0x25c(r31) lbl_802478C8: /* 802478C8 00244828 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 /* 802478CC 0024482C CB E1 00 50 */ lfd f31, 0x50(r1) /* 802478D0 00244830 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 /* 802478D4 00244834 CB C1 00 40 */ lfd f30, 0x40(r1) /* 802478D8 00244838 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 /* 802478DC 0024483C CB A1 00 30 */ lfd f29, 0x30(r1) /* 802478E0 00244840 80 01 00 64 */ lwz r0, 0x64(r1) /* 802478E4 00244844 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 802478E8 00244848 7C 08 03 A6 */ mtlr r0 /* 802478EC 0024484C 38 21 00 60 */ addi r1, r1, 0x60 /* 802478F0 00244850 4E 80 00 20 */ blr .global __dt__14CLogBookScreenFv __dt__14CLogBookScreenFv: /* 802478F4 00244854 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802478F8 00244858 7C 08 02 A6 */ mflr r0 /* 802478FC 0024485C 90 01 00 24 */ stw r0, 0x24(r1) /* 80247900 00244860 BF 61 00 0C */ stmw r27, 0xc(r1) /* 80247904 00244864 7C 7B 1B 79 */ or. r27, r3, r3 /* 80247908 00244868 7C 9C 23 78 */ mr r28, r4 /* 8024790C 0024486C 41 82 00 B4 */ beq lbl_802479C0 /* 80247910 00244870 3C 60 80 3F */ lis r3, lbl_803E8B78@ha /* 80247914 00244874 38 03 8B 78 */ addi r0, r3, lbl_803E8B78@l /* 80247918 00244878 90 1B 00 00 */ stw r0, 0(r27) /* 8024791C 0024487C 80 7B 02 58 */ lwz r3, 0x258(r27) /* 80247920 00244880 80 9B 00 04 */ lwz r4, 4(r27) /* 80247924 00244884 48 05 55 A9 */ bl CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager /* 80247928 00244888 3B FB 01 48 */ addi r31, r27, 0x148 /* 8024792C 0024488C 3B C0 00 00 */ li r30, 0 /* 80247930 00244890 48 00 00 24 */ b lbl_80247954 lbl_80247934: /* 80247934 00244894 83 BF 00 00 */ lwz r29, 0(r31) /* 80247938 00244898 38 7D 00 04 */ addi r3, r29, 4 /* 8024793C 0024489C 38 9D 00 74 */ addi r4, r29, 0x74 /* 80247940 002448A0 48 0C B2 01 */ bl __as__12CTransform4fFRC12CTransform4f /* 80247944 002448A4 7F A3 EB 78 */ mr r3, r29 /* 80247948 002448A8 48 07 CE A1 */ bl RecalculateTransforms__10CGuiObjectFv /* 8024794C 002448AC 3B FF 00 04 */ addi r31, r31, 4 /* 80247950 002448B0 3B DE 00 01 */ addi r30, r30, 1 lbl_80247954: /* 80247954 002448B4 80 1B 01 44 */ lwz r0, 0x144(r27) /* 80247958 002448B8 7C 1E 00 00 */ cmpw r30, r0 /* 8024795C 002448BC 41 80 FF D8 */ blt lbl_80247934 /* 80247960 002448C0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80247964 002448C4 4B F8 C0 6D */ bl CurrentWorldAssetId__10CGameStateCFv /* 80247968 002448C8 4B DB CF 15 */ bl EnsureWorldPakReady__5CMainFUi /* 8024796C 002448CC 34 1B 02 58 */ addic. r0, r27, 0x258 /* 80247970 002448D0 41 82 00 10 */ beq lbl_80247980 /* 80247974 002448D4 80 7B 02 58 */ lwz r3, 0x258(r27) /* 80247978 002448D8 38 80 00 01 */ li r4, 1 /* 8024797C 002448DC 48 05 59 99 */ bl __dt__13CArtifactDollFv lbl_80247980: /* 80247980 002448E0 38 7B 02 00 */ addi r3, r27, 0x200 /* 80247984 002448E4 38 80 FF FF */ li r4, -1 /* 80247988 002448E8 48 00 01 49 */ bl sub_80247ad0 /* 8024798C 002448EC 38 7B 01 F0 */ addi r3, r27, 0x1f0 /* 80247990 002448F0 38 80 FF FF */ li r4, -1 /* 80247994 002448F4 4B FF F6 B5 */ bl sub_80247048 /* 80247998 002448F8 38 7B 01 9C */ addi r3, r27, 0x19c /* 8024799C 002448FC 38 80 FF FF */ li r4, -1 /* 802479A0 00244900 48 00 00 39 */ bl sub_802479d8 /* 802479A4 00244904 7F 63 DB 78 */ mr r3, r27 /* 802479A8 00244908 38 80 00 00 */ li r4, 0 /* 802479AC 0024490C 4B E2 AC 21 */ bl __dt__16CPauseScreenBaseFv /* 802479B0 00244910 7F 80 07 35 */ extsh. r0, r28 /* 802479B4 00244914 40 81 00 0C */ ble lbl_802479C0 /* 802479B8 00244918 7F 63 DB 78 */ mr r3, r27 /* 802479BC 0024491C 48 0C DF 75 */ bl Free__7CMemoryFPCv lbl_802479C0: /* 802479C0 00244920 7F 63 DB 78 */ mr r3, r27 /* 802479C4 00244924 BB 61 00 0C */ lmw r27, 0xc(r1) /* 802479C8 00244928 80 01 00 24 */ lwz r0, 0x24(r1) /* 802479CC 0024492C 7C 08 03 A6 */ mtlr r0 /* 802479D0 00244930 38 21 00 20 */ addi r1, r1, 0x20 /* 802479D4 00244934 4E 80 00 20 */ blr .global sub_802479d8 sub_802479d8: /* 802479D8 00244938 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802479DC 0024493C 7C 08 02 A6 */ mflr r0 /* 802479E0 00244940 90 01 00 14 */ stw r0, 0x14(r1) /* 802479E4 00244944 93 E1 00 0C */ stw r31, 0xc(r1) /* 802479E8 00244948 7C 9F 23 78 */ mr r31, r4 /* 802479EC 0024494C 93 C1 00 08 */ stw r30, 8(r1) /* 802479F0 00244950 7C 7E 1B 79 */ or. r30, r3, r3 /* 802479F4 00244954 41 82 00 18 */ beq lbl_80247A0C /* 802479F8 00244958 48 00 00 31 */ bl sub_80247a28 /* 802479FC 0024495C 7F E0 07 35 */ extsh. r0, r31 /* 80247A00 00244960 40 81 00 0C */ ble lbl_80247A0C /* 80247A04 00244964 7F C3 F3 78 */ mr r3, r30 /* 80247A08 00244968 48 0C DF 29 */ bl Free__7CMemoryFPCv lbl_80247A0C: /* 80247A0C 0024496C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247A10 00244970 7F C3 F3 78 */ mr r3, r30 /* 80247A14 00244974 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247A18 00244978 83 C1 00 08 */ lwz r30, 8(r1) /* 80247A1C 0024497C 7C 08 03 A6 */ mtlr r0 /* 80247A20 00244980 38 21 00 10 */ addi r1, r1, 0x10 /* 80247A24 00244984 4E 80 00 20 */ blr .global sub_80247a28 sub_80247a28: /* 80247A28 00244988 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80247A2C 0024498C 7C 08 02 A6 */ mflr r0 /* 80247A30 00244990 90 01 00 34 */ stw r0, 0x34(r1) /* 80247A34 00244994 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80247A38 00244998 93 C1 00 28 */ stw r30, 0x28(r1) /* 80247A3C 0024499C 3B C0 00 00 */ li r30, 0 /* 80247A40 002449A0 93 A1 00 24 */ stw r29, 0x24(r1) /* 80247A44 002449A4 7C 7D 1B 78 */ mr r29, r3 /* 80247A48 002449A8 3B FD 00 04 */ addi r31, r29, 4 /* 80247A4C 002449AC 48 00 00 54 */ b lbl_80247AA0 lbl_80247A50: /* 80247A50 002449B0 28 1F 00 00 */ cmplwi r31, 0 /* 80247A54 002449B4 41 82 00 44 */ beq lbl_80247A98 /* 80247A58 002449B8 80 1F 00 04 */ lwz r0, 4(r31) /* 80247A5C 002449BC 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80247A60 002449C0 54 00 18 38 */ slwi r0, r0, 3 /* 80247A64 002449C4 7C 03 02 14 */ add r0, r3, r0 /* 80247A68 002449C8 90 61 00 0C */ stw r3, 0xc(r1) /* 80247A6C 002449CC 7C 64 1B 78 */ mr r4, r3 /* 80247A70 002449D0 90 01 00 14 */ stw r0, 0x14(r1) /* 80247A74 002449D4 90 01 00 10 */ stw r0, 0x10(r1) /* 80247A78 002449D8 90 61 00 08 */ stw r3, 8(r1) /* 80247A7C 002449DC 48 00 00 08 */ b lbl_80247A84 lbl_80247A80: /* 80247A80 002449E0 38 84 00 08 */ addi r4, r4, 8 lbl_80247A84: /* 80247A84 002449E4 7C 04 00 40 */ cmplw r4, r0 /* 80247A88 002449E8 40 82 FF F8 */ bne lbl_80247A80 /* 80247A8C 002449EC 28 03 00 00 */ cmplwi r3, 0 /* 80247A90 002449F0 41 82 00 08 */ beq lbl_80247A98 /* 80247A94 002449F4 48 0C DE 9D */ bl Free__7CMemoryFPCv lbl_80247A98: /* 80247A98 002449F8 3B FF 00 10 */ addi r31, r31, 0x10 /* 80247A9C 002449FC 3B DE 00 01 */ addi r30, r30, 1 lbl_80247AA0: /* 80247AA0 00244A00 80 1D 00 00 */ lwz r0, 0(r29) /* 80247AA4 00244A04 7C 1E 00 00 */ cmpw r30, r0 /* 80247AA8 00244A08 41 80 FF A8 */ blt lbl_80247A50 /* 80247AAC 00244A0C 38 00 00 00 */ li r0, 0 /* 80247AB0 00244A10 90 1D 00 00 */ stw r0, 0(r29) /* 80247AB4 00244A14 80 01 00 34 */ lwz r0, 0x34(r1) /* 80247AB8 00244A18 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80247ABC 00244A1C 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80247AC0 00244A20 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80247AC4 00244A24 7C 08 03 A6 */ mtlr r0 /* 80247AC8 00244A28 38 21 00 30 */ addi r1, r1, 0x30 /* 80247ACC 00244A2C 4E 80 00 20 */ blr .global sub_80247ad0 sub_80247ad0: /* 80247AD0 00244A30 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80247AD4 00244A34 7C 08 02 A6 */ mflr r0 /* 80247AD8 00244A38 90 01 00 14 */ stw r0, 0x14(r1) /* 80247ADC 00244A3C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80247AE0 00244A40 7C 9F 23 78 */ mr r31, r4 /* 80247AE4 00244A44 93 C1 00 08 */ stw r30, 8(r1) /* 80247AE8 00244A48 7C 7E 1B 79 */ or. r30, r3, r3 /* 80247AEC 00244A4C 41 82 00 18 */ beq lbl_80247B04 /* 80247AF0 00244A50 48 00 00 31 */ bl sub_80247b20 /* 80247AF4 00244A54 7F E0 07 35 */ extsh. r0, r31 /* 80247AF8 00244A58 40 81 00 0C */ ble lbl_80247B04 /* 80247AFC 00244A5C 7F C3 F3 78 */ mr r3, r30 /* 80247B00 00244A60 48 0C DE 31 */ bl Free__7CMemoryFPCv lbl_80247B04: /* 80247B04 00244A64 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247B08 00244A68 7F C3 F3 78 */ mr r3, r30 /* 80247B0C 00244A6C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247B10 00244A70 83 C1 00 08 */ lwz r30, 8(r1) /* 80247B14 00244A74 7C 08 03 A6 */ mtlr r0 /* 80247B18 00244A78 38 21 00 10 */ addi r1, r1, 0x10 /* 80247B1C 00244A7C 4E 80 00 20 */ blr .global sub_80247b20 sub_80247b20: /* 80247B20 00244A80 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80247B24 00244A84 7C 08 02 A6 */ mflr r0 /* 80247B28 00244A88 90 01 00 24 */ stw r0, 0x24(r1) /* 80247B2C 00244A8C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80247B30 00244A90 93 C1 00 18 */ stw r30, 0x18(r1) /* 80247B34 00244A94 3B C0 00 00 */ li r30, 0 /* 80247B38 00244A98 93 A1 00 14 */ stw r29, 0x14(r1) /* 80247B3C 00244A9C 7C 7D 1B 78 */ mr r29, r3 /* 80247B40 00244AA0 3B FD 00 04 */ addi r31, r29, 4 /* 80247B44 00244AA4 48 00 00 14 */ b lbl_80247B58 lbl_80247B48: /* 80247B48 00244AA8 7F E3 FB 78 */ mr r3, r31 /* 80247B4C 00244AAC 48 00 00 3D */ bl sub_80247b88 /* 80247B50 00244AB0 3B FF 00 10 */ addi r31, r31, 0x10 /* 80247B54 00244AB4 3B DE 00 01 */ addi r30, r30, 1 lbl_80247B58: /* 80247B58 00244AB8 80 1D 00 00 */ lwz r0, 0(r29) /* 80247B5C 00244ABC 7C 1E 00 00 */ cmpw r30, r0 /* 80247B60 00244AC0 41 80 FF E8 */ blt lbl_80247B48 /* 80247B64 00244AC4 38 00 00 00 */ li r0, 0 /* 80247B68 00244AC8 90 1D 00 00 */ stw r0, 0(r29) /* 80247B6C 00244ACC 80 01 00 24 */ lwz r0, 0x24(r1) /* 80247B70 00244AD0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80247B74 00244AD4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80247B78 00244AD8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80247B7C 00244ADC 7C 08 03 A6 */ mtlr r0 /* 80247B80 00244AE0 38 21 00 20 */ addi r1, r1, 0x20 /* 80247B84 00244AE4 4E 80 00 20 */ blr .global sub_80247b88 sub_80247b88: /* 80247B88 00244AE8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80247B8C 00244AEC 7C 08 02 A6 */ mflr r0 /* 80247B90 00244AF0 38 80 FF FF */ li r4, -1 /* 80247B94 00244AF4 90 01 00 14 */ stw r0, 0x14(r1) /* 80247B98 00244AF8 4B FF F4 B1 */ bl sub_80247048 /* 80247B9C 00244AFC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247BA0 00244B00 7C 08 03 A6 */ mtlr r0 /* 80247BA4 00244B04 38 21 00 10 */ addi r1, r1, 0x10 /* 80247BA8 00244B08 4E 80 00 20 */ blr .global __ct__14CLogBookScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable __ct__14CLogBookScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable: /* 80247BAC 00244B0C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80247BB0 00244B10 7C 08 02 A6 */ mflr r0 /* 80247BB4 00244B14 90 01 00 44 */ stw r0, 0x44(r1) /* 80247BB8 00244B18 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80247BBC 00244B1C 7C 7F 1B 78 */ mr r31, r3 /* 80247BC0 00244B20 4B E2 AC 91 */ bl __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable /* 80247BC4 00244B24 3C 60 80 3F */ lis r3, lbl_803E8B78@ha /* 80247BC8 00244B28 38 00 00 00 */ li r0, 0 /* 80247BCC 00244B2C 38 83 8B 78 */ addi r4, r3, lbl_803E8B78@l /* 80247BD0 00244B30 38 7F 01 9C */ addi r3, r31, 0x19c /* 80247BD4 00244B34 90 9F 00 00 */ stw r4, 0(r31) /* 80247BD8 00244B38 38 A1 00 28 */ addi r5, r1, 0x28 /* 80247BDC 00244B3C 38 80 00 05 */ li r4, 5 /* 80247BE0 00244B40 90 01 00 2C */ stw r0, 0x2c(r1) /* 80247BE4 00244B44 90 01 00 30 */ stw r0, 0x30(r1) /* 80247BE8 00244B48 90 01 00 34 */ stw r0, 0x34(r1) /* 80247BEC 00244B4C 48 00 02 B5 */ bl sub_80247ea0 /* 80247BF0 00244B50 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80247BF4 00244B54 80 61 00 34 */ lwz r3, 0x34(r1) /* 80247BF8 00244B58 54 00 18 38 */ slwi r0, r0, 3 /* 80247BFC 00244B5C 7C 03 02 14 */ add r0, r3, r0 /* 80247C00 00244B60 90 61 00 0C */ stw r3, 0xc(r1) /* 80247C04 00244B64 7C 64 1B 78 */ mr r4, r3 /* 80247C08 00244B68 90 01 00 14 */ stw r0, 0x14(r1) /* 80247C0C 00244B6C 90 01 00 10 */ stw r0, 0x10(r1) /* 80247C10 00244B70 90 61 00 08 */ stw r3, 8(r1) /* 80247C14 00244B74 48 00 00 08 */ b lbl_80247C1C lbl_80247C18: /* 80247C18 00244B78 38 84 00 08 */ addi r4, r4, 8 lbl_80247C1C: /* 80247C1C 00244B7C 7C 04 00 40 */ cmplw r4, r0 /* 80247C20 00244B80 40 82 FF F8 */ bne lbl_80247C18 /* 80247C24 00244B84 28 03 00 00 */ cmplwi r3, 0 /* 80247C28 00244B88 41 82 00 08 */ beq lbl_80247C30 /* 80247C2C 00244B8C 48 0C DD 05 */ bl Free__7CMemoryFPCv lbl_80247C30: /* 80247C30 00244B90 38 00 00 00 */ li r0, 0 /* 80247C34 00244B94 38 7F 02 00 */ addi r3, r31, 0x200 /* 80247C38 00244B98 90 1F 01 F4 */ stw r0, 0x1f4(r31) /* 80247C3C 00244B9C 38 A1 00 18 */ addi r5, r1, 0x18 /* 80247C40 00244BA0 38 80 00 05 */ li r4, 5 /* 80247C44 00244BA4 90 1F 01 F8 */ stw r0, 0x1f8(r31) /* 80247C48 00244BA8 90 1F 01 FC */ stw r0, 0x1fc(r31) /* 80247C4C 00244BAC 90 01 00 1C */ stw r0, 0x1c(r1) /* 80247C50 00244BB0 90 01 00 20 */ stw r0, 0x20(r1) /* 80247C54 00244BB4 90 01 00 24 */ stw r0, 0x24(r1) /* 80247C58 00244BB8 48 00 00 91 */ bl sub_80247ce8 /* 80247C5C 00244BBC 38 61 00 18 */ addi r3, r1, 0x18 /* 80247C60 00244BC0 38 80 FF FF */ li r4, -1 /* 80247C64 00244BC4 4B FF F3 E5 */ bl sub_80247048 /* 80247C68 00244BC8 C0 02 B8 58 */ lfs f0, lbl_805AD578@sda21(r2) /* 80247C6C 00244BCC 3C 60 80 3D */ lis r3, lbl_803D4760@ha /* 80247C70 00244BD0 38 83 47 60 */ addi r4, r3, lbl_803D4760@l /* 80247C74 00244BD4 38 A0 00 00 */ li r5, 0 /* 80247C78 00244BD8 D0 1F 02 54 */ stfs f0, 0x254(r31) /* 80247C7C 00244BDC 38 60 00 2C */ li r3, 0x2c /* 80247C80 00244BE0 48 0C DB ED */ bl __nw__FUlPCcPCc /* 80247C84 00244BE4 7C 60 1B 79 */ or. r0, r3, r3 /* 80247C88 00244BE8 41 82 00 0C */ beq lbl_80247C94 /* 80247C8C 00244BEC 48 05 58 35 */ bl __ct__13CArtifactDollFv /* 80247C90 00244BF0 7C 60 1B 78 */ mr r0, r3 lbl_80247C94: /* 80247C94 00244BF4 90 1F 02 58 */ stw r0, 0x258(r31) /* 80247C98 00244BF8 38 60 00 00 */ li r3, 0 /* 80247C9C 00244BFC 90 7F 02 5C */ stw r3, 0x25c(r31) /* 80247CA0 00244C00 88 1F 02 60 */ lbz r0, 0x260(r31) /* 80247CA4 00244C04 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 80247CA8 00244C08 98 1F 02 60 */ stb r0, 0x260(r31) /* 80247CAC 00244C0C 88 1F 02 60 */ lbz r0, 0x260(r31) /* 80247CB0 00244C10 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 80247CB4 00244C14 98 1F 02 60 */ stb r0, 0x260(r31) /* 80247CB8 00244C18 88 1F 02 60 */ lbz r0, 0x260(r31) /* 80247CBC 00244C1C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 80247CC0 00244C20 98 1F 02 60 */ stb r0, 0x260(r31) /* 80247CC4 00244C24 4B DB CB 4D */ bl EnsureWorldPaksReady__5CMainFv /* 80247CC8 00244C28 7F E3 FB 78 */ mr r3, r31 /* 80247CCC 00244C2C 4B FF EA 05 */ bl InitializeLogBook__14CLogBookScreenFv /* 80247CD0 00244C30 80 01 00 44 */ lwz r0, 0x44(r1) /* 80247CD4 00244C34 7F E3 FB 78 */ mr r3, r31 /* 80247CD8 00244C38 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 80247CDC 00244C3C 7C 08 03 A6 */ mtlr r0 /* 80247CE0 00244C40 38 21 00 40 */ addi r1, r1, 0x40 /* 80247CE4 00244C44 4E 80 00 20 */ blr .global sub_80247ce8 sub_80247ce8: /* 80247CE8 00244C48 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80247CEC 00244C4C 7C 08 02 A6 */ mflr r0 /* 80247CF0 00244C50 90 01 00 14 */ stw r0, 0x14(r1) /* 80247CF4 00244C54 93 E1 00 0C */ stw r31, 0xc(r1) /* 80247CF8 00244C58 7C 7F 1B 78 */ mr r31, r3 /* 80247CFC 00244C5C 90 83 00 00 */ stw r4, 0(r3) /* 80247D00 00244C60 38 7F 00 04 */ addi r3, r31, 4 /* 80247D04 00244C64 48 00 00 1D */ bl sub_80247d20 /* 80247D08 00244C68 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247D0C 00244C6C 7F E3 FB 78 */ mr r3, r31 /* 80247D10 00244C70 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247D14 00244C74 7C 08 03 A6 */ mtlr r0 /* 80247D18 00244C78 38 21 00 10 */ addi r1, r1, 0x10 /* 80247D1C 00244C7C 4E 80 00 20 */ blr .global sub_80247d20 sub_80247d20: /* 80247D20 00244C80 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80247D24 00244C84 7C 08 02 A6 */ mflr r0 /* 80247D28 00244C88 90 01 00 24 */ stw r0, 0x24(r1) /* 80247D2C 00244C8C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80247D30 00244C90 7C 7F 1B 78 */ mr r31, r3 /* 80247D34 00244C94 93 C1 00 18 */ stw r30, 0x18(r1) /* 80247D38 00244C98 3B C0 00 00 */ li r30, 0 /* 80247D3C 00244C9C 93 A1 00 14 */ stw r29, 0x14(r1) /* 80247D40 00244CA0 7C BD 2B 78 */ mr r29, r5 /* 80247D44 00244CA4 93 81 00 10 */ stw r28, 0x10(r1) /* 80247D48 00244CA8 7C 9C 23 78 */ mr r28, r4 /* 80247D4C 00244CAC 48 00 00 20 */ b lbl_80247D6C lbl_80247D50: /* 80247D50 00244CB0 28 1F 00 00 */ cmplwi r31, 0 /* 80247D54 00244CB4 41 82 00 10 */ beq lbl_80247D64 /* 80247D58 00244CB8 7F E3 FB 78 */ mr r3, r31 /* 80247D5C 00244CBC 7F A4 EB 78 */ mr r4, r29 /* 80247D60 00244CC0 48 00 00 35 */ bl sub_80247d94 lbl_80247D64: /* 80247D64 00244CC4 3B DE 00 01 */ addi r30, r30, 1 /* 80247D68 00244CC8 3B FF 00 10 */ addi r31, r31, 0x10 lbl_80247D6C: /* 80247D6C 00244CCC 7C 1E E0 00 */ cmpw r30, r28 /* 80247D70 00244CD0 41 80 FF E0 */ blt lbl_80247D50 /* 80247D74 00244CD4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80247D78 00244CD8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80247D7C 00244CDC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80247D80 00244CE0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80247D84 00244CE4 83 81 00 10 */ lwz r28, 0x10(r1) /* 80247D88 00244CE8 7C 08 03 A6 */ mtlr r0 /* 80247D8C 00244CEC 38 21 00 20 */ addi r1, r1, 0x20 /* 80247D90 00244CF0 4E 80 00 20 */ blr .global sub_80247d94 sub_80247d94: /* 80247D94 00244CF4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80247D98 00244CF8 7C 08 02 A6 */ mflr r0 /* 80247D9C 00244CFC 90 01 00 34 */ stw r0, 0x34(r1) /* 80247DA0 00244D00 BF 21 00 14 */ stmw r25, 0x14(r1) /* 80247DA4 00244D04 7C 99 23 78 */ mr r25, r4 /* 80247DA8 00244D08 7C 7F 1B 78 */ mr r31, r3 /* 80247DAC 00244D0C 80 04 00 04 */ lwz r0, 4(r4) /* 80247DB0 00244D10 90 03 00 04 */ stw r0, 4(r3) /* 80247DB4 00244D14 80 04 00 08 */ lwz r0, 8(r4) /* 80247DB8 00244D18 90 03 00 08 */ stw r0, 8(r3) /* 80247DBC 00244D1C 80 04 00 04 */ lwz r0, 4(r4) /* 80247DC0 00244D20 2C 00 00 00 */ cmpwi r0, 0 /* 80247DC4 00244D24 40 82 00 1C */ bne lbl_80247DE0 /* 80247DC8 00244D28 80 19 00 08 */ lwz r0, 8(r25) /* 80247DCC 00244D2C 2C 00 00 00 */ cmpwi r0, 0 /* 80247DD0 00244D30 40 82 00 10 */ bne lbl_80247DE0 /* 80247DD4 00244D34 38 00 00 00 */ li r0, 0 /* 80247DD8 00244D38 90 1F 00 0C */ stw r0, 0xc(r31) /* 80247DDC 00244D3C 48 00 00 AC */ b lbl_80247E88 lbl_80247DE0: /* 80247DE0 00244D40 80 1F 00 08 */ lwz r0, 8(r31) /* 80247DE4 00244D44 1C 60 00 1C */ mulli r3, r0, 0x1c /* 80247DE8 00244D48 2C 03 00 00 */ cmpwi r3, 0 /* 80247DEC 00244D4C 40 82 00 10 */ bne lbl_80247DFC /* 80247DF0 00244D50 38 00 00 00 */ li r0, 0 /* 80247DF4 00244D54 90 1F 00 0C */ stw r0, 0xc(r31) /* 80247DF8 00244D58 48 00 00 18 */ b lbl_80247E10 lbl_80247DFC: /* 80247DFC 00244D5C 3C 80 80 3D */ lis r4, lbl_803D4760@ha /* 80247E00 00244D60 38 A0 00 00 */ li r5, 0 /* 80247E04 00244D64 38 84 47 60 */ addi r4, r4, lbl_803D4760@l /* 80247E08 00244D68 48 0C DA 11 */ bl __nwa__FUlPCcPCc /* 80247E0C 00244D6C 90 7F 00 0C */ stw r3, 0xc(r31) lbl_80247E10: /* 80247E10 00244D70 83 7F 00 04 */ lwz r27, 4(r31) /* 80247E14 00244D74 3B C0 00 00 */ li r30, 0 /* 80247E18 00244D78 83 99 00 0C */ lwz r28, 0xc(r25) /* 80247E1C 00244D7C 83 BF 00 0C */ lwz r29, 0xc(r31) /* 80247E20 00244D80 48 00 00 60 */ b lbl_80247E80 lbl_80247E24: /* 80247E24 00244D84 28 1D 00 00 */ cmplwi r29, 0 /* 80247E28 00244D88 41 82 00 4C */ beq lbl_80247E74 /* 80247E2C 00244D8C 7F A3 EB 78 */ mr r3, r29 /* 80247E30 00244D90 7F 84 E3 78 */ mr r4, r28 /* 80247E34 00244D94 48 0F 90 75 */ bl __ct__6CTokenFRC6CToken /* 80247E38 00244D98 80 1C 00 08 */ lwz r0, 8(r28) /* 80247E3C 00244D9C 90 1D 00 08 */ stw r0, 8(r29) /* 80247E40 00244DA0 88 1C 00 18 */ lbz r0, 0x18(r28) /* 80247E44 00244DA4 98 1D 00 18 */ stb r0, 0x18(r29) /* 80247E48 00244DA8 88 1C 00 18 */ lbz r0, 0x18(r28) /* 80247E4C 00244DAC 28 00 00 00 */ cmplwi r0, 0 /* 80247E50 00244DB0 41 82 00 24 */ beq lbl_80247E74 /* 80247E54 00244DB4 37 5D 00 0C */ addic. r26, r29, 0xc /* 80247E58 00244DB8 3B 3C 00 0C */ addi r25, r28, 0xc /* 80247E5C 00244DBC 41 82 00 18 */ beq lbl_80247E74 /* 80247E60 00244DC0 7F 43 D3 78 */ mr r3, r26 /* 80247E64 00244DC4 7F 24 CB 78 */ mr r4, r25 /* 80247E68 00244DC8 48 0F 90 41 */ bl __ct__6CTokenFRC6CToken /* 80247E6C 00244DCC 80 19 00 08 */ lwz r0, 8(r25) /* 80247E70 00244DD0 90 1A 00 08 */ stw r0, 8(r26) lbl_80247E74: /* 80247E74 00244DD4 3B BD 00 1C */ addi r29, r29, 0x1c /* 80247E78 00244DD8 3B DE 00 01 */ addi r30, r30, 1 /* 80247E7C 00244DDC 3B 9C 00 1C */ addi r28, r28, 0x1c lbl_80247E80: /* 80247E80 00244DE0 7C 1E D8 00 */ cmpw r30, r27 /* 80247E84 00244DE4 41 80 FF A0 */ blt lbl_80247E24 lbl_80247E88: /* 80247E88 00244DE8 7F E3 FB 78 */ mr r3, r31 /* 80247E8C 00244DEC BB 21 00 14 */ lmw r25, 0x14(r1) /* 80247E90 00244DF0 80 01 00 34 */ lwz r0, 0x34(r1) /* 80247E94 00244DF4 7C 08 03 A6 */ mtlr r0 /* 80247E98 00244DF8 38 21 00 30 */ addi r1, r1, 0x30 /* 80247E9C 00244DFC 4E 80 00 20 */ blr .global sub_80247ea0 sub_80247ea0: /* 80247EA0 00244E00 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80247EA4 00244E04 7C 08 02 A6 */ mflr r0 /* 80247EA8 00244E08 90 01 00 14 */ stw r0, 0x14(r1) /* 80247EAC 00244E0C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80247EB0 00244E10 7C 7F 1B 78 */ mr r31, r3 /* 80247EB4 00244E14 90 83 00 00 */ stw r4, 0(r3) /* 80247EB8 00244E18 38 7F 00 04 */ addi r3, r31, 4 /* 80247EBC 00244E1C 48 00 00 1D */ bl sub_80247ed8 /* 80247EC0 00244E20 80 01 00 14 */ lwz r0, 0x14(r1) /* 80247EC4 00244E24 7F E3 FB 78 */ mr r3, r31 /* 80247EC8 00244E28 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80247ECC 00244E2C 7C 08 03 A6 */ mtlr r0 /* 80247ED0 00244E30 38 21 00 10 */ addi r1, r1, 0x10 /* 80247ED4 00244E34 4E 80 00 20 */ blr .global sub_80247ed8 sub_80247ed8: /* 80247ED8 00244E38 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80247EDC 00244E3C 7C 08 02 A6 */ mflr r0 /* 80247EE0 00244E40 90 01 00 24 */ stw r0, 0x24(r1) /* 80247EE4 00244E44 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80247EE8 00244E48 7C 7F 1B 78 */ mr r31, r3 /* 80247EEC 00244E4C 93 C1 00 18 */ stw r30, 0x18(r1) /* 80247EF0 00244E50 3B C0 00 00 */ li r30, 0 /* 80247EF4 00244E54 93 A1 00 14 */ stw r29, 0x14(r1) /* 80247EF8 00244E58 7C BD 2B 78 */ mr r29, r5 /* 80247EFC 00244E5C 93 81 00 10 */ stw r28, 0x10(r1) /* 80247F00 00244E60 7C 9C 23 78 */ mr r28, r4 /* 80247F04 00244E64 48 00 00 B0 */ b lbl_80247FB4 lbl_80247F08: /* 80247F08 00244E68 28 1F 00 00 */ cmplwi r31, 0 /* 80247F0C 00244E6C 41 82 00 A0 */ beq lbl_80247FAC /* 80247F10 00244E70 80 1D 00 04 */ lwz r0, 4(r29) /* 80247F14 00244E74 90 1F 00 04 */ stw r0, 4(r31) /* 80247F18 00244E78 80 1D 00 08 */ lwz r0, 8(r29) /* 80247F1C 00244E7C 90 1F 00 08 */ stw r0, 8(r31) /* 80247F20 00244E80 80 1D 00 04 */ lwz r0, 4(r29) /* 80247F24 00244E84 2C 00 00 00 */ cmpwi r0, 0 /* 80247F28 00244E88 40 82 00 1C */ bne lbl_80247F44 /* 80247F2C 00244E8C 80 1D 00 08 */ lwz r0, 8(r29) /* 80247F30 00244E90 2C 00 00 00 */ cmpwi r0, 0 /* 80247F34 00244E94 40 82 00 10 */ bne lbl_80247F44 /* 80247F38 00244E98 38 00 00 00 */ li r0, 0 /* 80247F3C 00244E9C 90 1F 00 0C */ stw r0, 0xc(r31) /* 80247F40 00244EA0 48 00 00 6C */ b lbl_80247FAC lbl_80247F44: /* 80247F44 00244EA4 80 1F 00 08 */ lwz r0, 8(r31) /* 80247F48 00244EA8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c /* 80247F4C 00244EAC 40 82 00 10 */ bne lbl_80247F5C /* 80247F50 00244EB0 38 00 00 00 */ li r0, 0 /* 80247F54 00244EB4 90 1F 00 0C */ stw r0, 0xc(r31) /* 80247F58 00244EB8 48 00 00 18 */ b lbl_80247F70 lbl_80247F5C: /* 80247F5C 00244EBC 3C 80 80 3D */ lis r4, lbl_803D4760@ha /* 80247F60 00244EC0 38 A0 00 00 */ li r5, 0 /* 80247F64 00244EC4 38 84 47 60 */ addi r4, r4, lbl_803D4760@l /* 80247F68 00244EC8 48 0C D8 B1 */ bl __nwa__FUlPCcPCc /* 80247F6C 00244ECC 90 7F 00 0C */ stw r3, 0xc(r31) lbl_80247F70: /* 80247F70 00244ED0 80 1F 00 04 */ lwz r0, 4(r31) /* 80247F74 00244ED4 80 9D 00 0C */ lwz r4, 0xc(r29) /* 80247F78 00244ED8 80 7F 00 0C */ lwz r3, 0xc(r31) /* 80247F7C 00244EDC 7C 09 03 A6 */ mtctr r0 /* 80247F80 00244EE0 2C 00 00 00 */ cmpwi r0, 0 /* 80247F84 00244EE4 40 81 00 28 */ ble lbl_80247FAC lbl_80247F88: /* 80247F88 00244EE8 28 03 00 00 */ cmplwi r3, 0 /* 80247F8C 00244EEC 41 82 00 14 */ beq lbl_80247FA0 /* 80247F90 00244EF0 80 04 00 00 */ lwz r0, 0(r4) /* 80247F94 00244EF4 90 03 00 00 */ stw r0, 0(r3) /* 80247F98 00244EF8 88 04 00 04 */ lbz r0, 4(r4) /* 80247F9C 00244EFC 98 03 00 04 */ stb r0, 4(r3) lbl_80247FA0: /* 80247FA0 00244F00 38 63 00 08 */ addi r3, r3, 8 /* 80247FA4 00244F04 38 84 00 08 */ addi r4, r4, 8 /* 80247FA8 00244F08 42 00 FF E0 */ bdnz lbl_80247F88 lbl_80247FAC: /* 80247FAC 00244F0C 3B DE 00 01 */ addi r30, r30, 1 /* 80247FB0 00244F10 3B FF 00 10 */ addi r31, r31, 0x10 lbl_80247FB4: /* 80247FB4 00244F14 7C 1E E0 00 */ cmpw r30, r28 /* 80247FB8 00244F18 41 80 FF 50 */ blt lbl_80247F08 /* 80247FBC 00244F1C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80247FC0 00244F20 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80247FC4 00244F24 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80247FC8 00244F28 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80247FCC 00244F2C 83 81 00 10 */ lwz r28, 0x10(r1) /* 80247FD0 00244F30 7C 08 03 A6 */ mtlr r0 /* 80247FD4 00244F34 38 21 00 20 */ addi r1, r1, 0x20 /* 80247FD8 00244F38 4E 80 00 20 */ blr .global sub_80247fdc sub_80247fdc: /* 80247FDC 00244F3C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 80247FE0 00244F40 7C 08 02 A6 */ mflr r0 /* 80247FE4 00244F44 90 01 00 64 */ stw r0, 0x64(r1) /* 80247FE8 00244F48 BF 61 00 4C */ stmw r27, 0x4c(r1) /* 80247FEC 00244F4C 7C 7C 1B 78 */ mr r28, r3 /* 80247FF0 00244F50 7C BE 2B 78 */ mr r30, r5 /* 80247FF4 00244F54 7C 9D 23 78 */ mr r29, r4 /* 80247FF8 00244F58 80 63 00 00 */ lwz r3, 0(r3) /* 80247FFC 00244F5C 80 A4 00 00 */ lwz r5, 0(r4) /* 80248000 00244F60 7C 03 28 50 */ subf r0, r3, r5 /* 80248004 00244F64 7C 00 1E 70 */ srawi r0, r0, 3 /* 80248008 00244F68 7C 80 01 94 */ addze r4, r0 /* 8024800C 00244F6C 2C 04 00 01 */ cmpwi r4, 1 /* 80248010 00244F70 40 81 01 88 */ ble lbl_80248198 /* 80248014 00244F74 2C 04 00 14 */ cmpwi r4, 0x14 /* 80248018 00244F78 41 81 00 30 */ bgt lbl_80248048 /* 8024801C 00244F7C 88 FE 00 00 */ lbz r7, 0(r30) /* 80248020 00244F80 38 61 00 34 */ addi r3, r1, 0x34 /* 80248024 00244F84 80 DD 00 00 */ lwz r6, 0(r29) /* 80248028 00244F88 38 81 00 30 */ addi r4, r1, 0x30 /* 8024802C 00244F8C 80 1C 00 00 */ lwz r0, 0(r28) /* 80248030 00244F90 38 A1 00 14 */ addi r5, r1, 0x14 /* 80248034 00244F94 98 E1 00 14 */ stb r7, 0x14(r1) /* 80248038 00244F98 90 C1 00 30 */ stw r6, 0x30(r1) /* 8024803C 00244F9C 90 01 00 34 */ stw r0, 0x34(r1) /* 80248040 00244FA0 48 00 04 F1 */ bl sub_80248530 /* 80248044 00244FA4 48 00 01 54 */ b lbl_80248198 lbl_80248048: /* 80248048 00244FA8 54 80 0F FE */ srwi r0, r4, 0x1f /* 8024804C 00244FAC 38 A5 FF F8 */ addi r5, r5, -8 /* 80248050 00244FB0 7C 80 22 14 */ add r4, r0, r4 /* 80248054 00244FB4 88 1E 00 00 */ lbz r0, 0(r30) /* 80248058 00244FB8 7C 84 0E 70 */ srawi r4, r4, 1 /* 8024805C 00244FBC 90 A1 00 3C */ stw r5, 0x3c(r1) /* 80248060 00244FC0 54 84 18 38 */ slwi r4, r4, 3 /* 80248064 00244FC4 38 C1 00 10 */ addi r6, r1, 0x10 /* 80248068 00244FC8 7F 63 22 14 */ add r27, r3, r4 /* 8024806C 00244FCC 98 01 00 10 */ stb r0, 0x10(r1) /* 80248070 00244FD0 7F 64 DB 78 */ mr r4, r27 /* 80248074 00244FD4 48 00 03 DD */ bl sub_80248450 /* 80248078 00244FD8 80 9C 00 00 */ lwz r4, 0(r28) /* 8024807C 00244FDC 80 61 00 3C */ lwz r3, 0x3c(r1) /* 80248080 00244FE0 38 84 00 08 */ addi r4, r4, 8 /* 80248084 00244FE4 83 FB 00 00 */ lwz r31, 0(r27) /* 80248088 00244FE8 38 03 FF F8 */ addi r0, r3, -8 /* 8024808C 00244FEC 90 81 00 38 */ stw r4, 0x38(r1) /* 80248090 00244FF0 90 01 00 3C */ stw r0, 0x3c(r1) /* 80248094 00244FF4 48 00 00 10 */ b lbl_802480A4 lbl_80248098: /* 80248098 00244FF8 80 61 00 38 */ lwz r3, 0x38(r1) /* 8024809C 00244FFC 38 03 00 08 */ addi r0, r3, 8 /* 802480A0 00245000 90 01 00 38 */ stw r0, 0x38(r1) lbl_802480A4: /* 802480A4 00245004 7F E3 FB 78 */ mr r3, r31 /* 802480A8 00245008 48 05 47 DD */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802480AC 0024500C 80 81 00 38 */ lwz r4, 0x38(r1) /* 802480B0 00245010 7C 7B 1B 78 */ mr r27, r3 /* 802480B4 00245014 80 64 00 00 */ lwz r3, 0(r4) /* 802480B8 00245018 48 05 47 CD */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802480BC 0024501C 7C 03 D8 00 */ cmpw r3, r27 /* 802480C0 00245020 41 80 FF D8 */ blt lbl_80248098 /* 802480C4 00245024 48 00 00 10 */ b lbl_802480D4 lbl_802480C8: /* 802480C8 00245028 80 61 00 3C */ lwz r3, 0x3c(r1) /* 802480CC 0024502C 38 03 FF F8 */ addi r0, r3, -8 /* 802480D0 00245030 90 01 00 3C */ stw r0, 0x3c(r1) lbl_802480D4: /* 802480D4 00245034 80 61 00 3C */ lwz r3, 0x3c(r1) /* 802480D8 00245038 80 63 00 00 */ lwz r3, 0(r3) /* 802480DC 0024503C 48 05 47 A9 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802480E0 00245040 7C 7B 1B 78 */ mr r27, r3 /* 802480E4 00245044 7F E3 FB 78 */ mr r3, r31 /* 802480E8 00245048 48 05 47 9D */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802480EC 0024504C 7C 03 D8 00 */ cmpw r3, r27 /* 802480F0 00245050 41 80 FF D8 */ blt lbl_802480C8 /* 802480F4 00245054 80 61 00 38 */ lwz r3, 0x38(r1) /* 802480F8 00245058 80 01 00 3C */ lwz r0, 0x3c(r1) /* 802480FC 0024505C 7C 03 00 40 */ cmplw r3, r0 /* 80248100 00245060 40 80 00 48 */ bge lbl_80248148 /* 80248104 00245064 80 A1 00 38 */ lwz r5, 0x38(r1) /* 80248108 00245068 80 C1 00 3C */ lwz r6, 0x3c(r1) /* 8024810C 0024506C 80 E5 00 00 */ lwz r7, 0(r5) /* 80248110 00245070 38 65 00 08 */ addi r3, r5, 8 /* 80248114 00245074 89 05 00 04 */ lbz r8, 4(r5) /* 80248118 00245078 38 06 FF F8 */ addi r0, r6, -8 /* 8024811C 0024507C 80 86 00 00 */ lwz r4, 0(r6) /* 80248120 00245080 90 C1 00 28 */ stw r6, 0x28(r1) /* 80248124 00245084 90 85 00 00 */ stw r4, 0(r5) /* 80248128 00245088 88 86 00 04 */ lbz r4, 4(r6) /* 8024812C 0024508C 90 A1 00 2C */ stw r5, 0x2c(r1) /* 80248130 00245090 98 85 00 04 */ stb r4, 4(r5) /* 80248134 00245094 90 E6 00 00 */ stw r7, 0(r6) /* 80248138 00245098 99 06 00 04 */ stb r8, 4(r6) /* 8024813C 0024509C 90 61 00 38 */ stw r3, 0x38(r1) /* 80248140 002450A0 90 01 00 3C */ stw r0, 0x3c(r1) /* 80248144 002450A4 4B FF FF 60 */ b lbl_802480A4 lbl_80248148: /* 80248148 002450A8 88 FE 00 00 */ lbz r7, 0(r30) /* 8024814C 002450AC 38 61 00 24 */ addi r3, r1, 0x24 /* 80248150 002450B0 80 C1 00 38 */ lwz r6, 0x38(r1) /* 80248154 002450B4 38 81 00 20 */ addi r4, r1, 0x20 /* 80248158 002450B8 80 1C 00 00 */ lwz r0, 0(r28) /* 8024815C 002450BC 38 A1 00 0C */ addi r5, r1, 0xc /* 80248160 002450C0 98 E1 00 0C */ stb r7, 0xc(r1) /* 80248164 002450C4 90 C1 00 20 */ stw r6, 0x20(r1) /* 80248168 002450C8 90 01 00 24 */ stw r0, 0x24(r1) /* 8024816C 002450CC 4B FF FE 71 */ bl sub_80247fdc /* 80248170 002450D0 88 FE 00 00 */ lbz r7, 0(r30) /* 80248174 002450D4 38 61 00 1C */ addi r3, r1, 0x1c /* 80248178 002450D8 80 DD 00 00 */ lwz r6, 0(r29) /* 8024817C 002450DC 38 81 00 18 */ addi r4, r1, 0x18 /* 80248180 002450E0 80 01 00 38 */ lwz r0, 0x38(r1) /* 80248184 002450E4 38 A1 00 08 */ addi r5, r1, 8 /* 80248188 002450E8 98 E1 00 08 */ stb r7, 8(r1) /* 8024818C 002450EC 90 C1 00 18 */ stw r6, 0x18(r1) /* 80248190 002450F0 90 01 00 1C */ stw r0, 0x1c(r1) /* 80248194 002450F4 4B FF FE 49 */ bl sub_80247fdc lbl_80248198: /* 80248198 002450F8 BB 61 00 4C */ lmw r27, 0x4c(r1) /* 8024819C 002450FC 80 01 00 64 */ lwz r0, 0x64(r1) /* 802481A0 00245100 7C 08 03 A6 */ mtlr r0 /* 802481A4 00245104 38 21 00 60 */ addi r1, r1, 0x60 /* 802481A8 00245108 4E 80 00 20 */ blr .global sub_802481ac sub_802481ac: /* 802481AC 0024510C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802481B0 00245110 7C 08 02 A6 */ mflr r0 /* 802481B4 00245114 90 01 00 34 */ stw r0, 0x34(r1) /* 802481B8 00245118 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802481BC 0024511C 7C 9F 23 78 */ mr r31, r4 /* 802481C0 00245120 93 C1 00 28 */ stw r30, 0x28(r1) /* 802481C4 00245124 7C 7E 1B 78 */ mr r30, r3 /* 802481C8 00245128 93 A1 00 24 */ stw r29, 0x24(r1) /* 802481CC 0024512C 80 03 00 08 */ lwz r0, 8(r3) /* 802481D0 00245130 7C 1F 00 00 */ cmpw r31, r0 /* 802481D4 00245134 40 81 00 B0 */ ble lbl_80248284 /* 802481D8 00245138 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c /* 802481DC 0024513C 40 82 00 0C */ bne lbl_802481E8 /* 802481E0 00245140 3B A0 00 00 */ li r29, 0 /* 802481E4 00245144 48 00 00 18 */ b lbl_802481FC lbl_802481E8: /* 802481E8 00245148 3C 80 80 3D */ lis r4, lbl_803D4760@ha /* 802481EC 0024514C 38 A0 00 00 */ li r5, 0 /* 802481F0 00245150 38 84 47 60 */ addi r4, r4, lbl_803D4760@l /* 802481F4 00245154 48 0C D6 25 */ bl __nwa__FUlPCcPCc /* 802481F8 00245158 7C 7D 1B 78 */ mr r29, r3 lbl_802481FC: /* 802481FC 0024515C 80 1E 00 04 */ lwz r0, 4(r30) /* 80248200 00245160 7F A4 EB 78 */ mr r4, r29 /* 80248204 00245164 80 BE 00 0C */ lwz r5, 0xc(r30) /* 80248208 00245168 54 00 18 38 */ slwi r0, r0, 3 /* 8024820C 0024516C 7C 65 02 14 */ add r3, r5, r0 /* 80248210 00245170 90 A1 00 10 */ stw r5, 0x10(r1) /* 80248214 00245174 90 61 00 08 */ stw r3, 8(r1) /* 80248218 00245178 90 61 00 0C */ stw r3, 0xc(r1) /* 8024821C 0024517C 90 A1 00 14 */ stw r5, 0x14(r1) /* 80248220 00245180 48 00 00 24 */ b lbl_80248244 lbl_80248224: /* 80248224 00245184 28 04 00 00 */ cmplwi r4, 0 /* 80248228 00245188 41 82 00 14 */ beq lbl_8024823C /* 8024822C 0024518C 80 05 00 00 */ lwz r0, 0(r5) /* 80248230 00245190 90 04 00 00 */ stw r0, 0(r4) /* 80248234 00245194 88 05 00 04 */ lbz r0, 4(r5) /* 80248238 00245198 98 04 00 04 */ stb r0, 4(r4) lbl_8024823C: /* 8024823C 0024519C 38 84 00 08 */ addi r4, r4, 8 /* 80248240 002451A0 38 A5 00 08 */ addi r5, r5, 8 lbl_80248244: /* 80248244 002451A4 7C 05 18 40 */ cmplw r5, r3 /* 80248248 002451A8 40 82 FF DC */ bne lbl_80248224 /* 8024824C 002451AC 80 1E 00 04 */ lwz r0, 4(r30) /* 80248250 002451B0 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80248254 002451B4 54 00 18 38 */ slwi r0, r0, 3 /* 80248258 002451B8 7C 64 1B 78 */ mr r4, r3 /* 8024825C 002451BC 7C 03 02 14 */ add r0, r3, r0 /* 80248260 002451C0 48 00 00 08 */ b lbl_80248268 lbl_80248264: /* 80248264 002451C4 38 84 00 08 */ addi r4, r4, 8 lbl_80248268: /* 80248268 002451C8 7C 04 00 40 */ cmplw r4, r0 /* 8024826C 002451CC 40 82 FF F8 */ bne lbl_80248264 /* 80248270 002451D0 28 03 00 00 */ cmplwi r3, 0 /* 80248274 002451D4 41 82 00 08 */ beq lbl_8024827C /* 80248278 002451D8 48 0C D6 B9 */ bl Free__7CMemoryFPCv lbl_8024827C: /* 8024827C 002451DC 93 BE 00 0C */ stw r29, 0xc(r30) /* 80248280 002451E0 93 FE 00 08 */ stw r31, 8(r30) lbl_80248284: /* 80248284 002451E4 80 01 00 34 */ lwz r0, 0x34(r1) /* 80248288 002451E8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024828C 002451EC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80248290 002451F0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80248294 002451F4 7C 08 03 A6 */ mtlr r0 /* 80248298 002451F8 38 21 00 30 */ addi r1, r1, 0x30 /* 8024829C 002451FC 4E 80 00 20 */ blr .global sub_802482a0 sub_802482a0: /* 802482A0 00245200 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802482A4 00245204 7C 08 02 A6 */ mflr r0 /* 802482A8 00245208 90 01 00 44 */ stw r0, 0x44(r1) /* 802482AC 0024520C BF 01 00 20 */ stmw r24, 0x20(r1) /* 802482B0 00245210 7C 9F 23 78 */ mr r31, r4 /* 802482B4 00245214 7C 7E 1B 78 */ mr r30, r3 /* 802482B8 00245218 80 03 00 08 */ lwz r0, 8(r3) /* 802482BC 0024521C 7C 1F 00 00 */ cmpw r31, r0 /* 802482C0 00245220 40 81 00 E0 */ ble lbl_802483A0 /* 802482C4 00245224 1C 7F 00 1C */ mulli r3, r31, 0x1c /* 802482C8 00245228 2C 03 00 00 */ cmpwi r3, 0 /* 802482CC 0024522C 40 82 00 0C */ bne lbl_802482D8 /* 802482D0 00245230 3B 80 00 00 */ li r28, 0 /* 802482D4 00245234 48 00 00 18 */ b lbl_802482EC lbl_802482D8: /* 802482D8 00245238 3C 80 80 3D */ lis r4, lbl_803D4760@ha /* 802482DC 0024523C 38 A0 00 00 */ li r5, 0 /* 802482E0 00245240 38 84 47 60 */ addi r4, r4, lbl_803D4760@l /* 802482E4 00245244 48 0C D5 35 */ bl __nwa__FUlPCcPCc /* 802482E8 00245248 7C 7C 1B 78 */ mr r28, r3 lbl_802482EC: /* 802482EC 0024524C 80 1E 00 04 */ lwz r0, 4(r30) /* 802482F0 00245250 7F 9B E3 78 */ mr r27, r28 /* 802482F4 00245254 83 1E 00 0C */ lwz r24, 0xc(r30) /* 802482F8 00245258 1C 00 00 1C */ mulli r0, r0, 0x1c /* 802482FC 0024525C 93 01 00 10 */ stw r24, 0x10(r1) /* 80248300 00245260 7F B8 02 14 */ add r29, r24, r0 /* 80248304 00245264 93 01 00 14 */ stw r24, 0x14(r1) /* 80248308 00245268 93 A1 00 08 */ stw r29, 8(r1) /* 8024830C 0024526C 93 A1 00 0C */ stw r29, 0xc(r1) /* 80248310 00245270 48 00 00 5C */ b lbl_8024836C lbl_80248314: /* 80248314 00245274 28 1B 00 00 */ cmplwi r27, 0 /* 80248318 00245278 41 82 00 4C */ beq lbl_80248364 /* 8024831C 0024527C 7F 63 DB 78 */ mr r3, r27 /* 80248320 00245280 7F 04 C3 78 */ mr r4, r24 /* 80248324 00245284 48 0F 8B 85 */ bl __ct__6CTokenFRC6CToken /* 80248328 00245288 80 18 00 08 */ lwz r0, 8(r24) /* 8024832C 0024528C 90 1B 00 08 */ stw r0, 8(r27) /* 80248330 00245290 88 18 00 18 */ lbz r0, 0x18(r24) /* 80248334 00245294 98 1B 00 18 */ stb r0, 0x18(r27) /* 80248338 00245298 88 18 00 18 */ lbz r0, 0x18(r24) /* 8024833C 0024529C 28 00 00 00 */ cmplwi r0, 0 /* 80248340 002452A0 41 82 00 24 */ beq lbl_80248364 /* 80248344 002452A4 37 5B 00 0C */ addic. r26, r27, 0xc /* 80248348 002452A8 3B 38 00 0C */ addi r25, r24, 0xc /* 8024834C 002452AC 41 82 00 18 */ beq lbl_80248364 /* 80248350 002452B0 7F 43 D3 78 */ mr r3, r26 /* 80248354 002452B4 7F 24 CB 78 */ mr r4, r25 /* 80248358 002452B8 48 0F 8B 51 */ bl __ct__6CTokenFRC6CToken /* 8024835C 002452BC 80 19 00 08 */ lwz r0, 8(r25) /* 80248360 002452C0 90 1A 00 08 */ stw r0, 8(r26) lbl_80248364: /* 80248364 002452C4 3B 7B 00 1C */ addi r27, r27, 0x1c /* 80248368 002452C8 3B 18 00 1C */ addi r24, r24, 0x1c lbl_8024836C: /* 8024836C 002452CC 7C 18 E8 40 */ cmplw r24, r29 /* 80248370 002452D0 40 82 FF A4 */ bne lbl_80248314 /* 80248374 002452D4 80 1E 00 04 */ lwz r0, 4(r30) /* 80248378 002452D8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8024837C 002452DC 1C 00 00 1C */ mulli r0, r0, 0x1c /* 80248380 002452E0 7C 83 02 14 */ add r4, r3, r0 /* 80248384 002452E4 48 00 00 31 */ bl sub_802483b4 /* 80248388 002452E8 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8024838C 002452EC 28 03 00 00 */ cmplwi r3, 0 /* 80248390 002452F0 41 82 00 08 */ beq lbl_80248398 /* 80248394 002452F4 48 0C D5 9D */ bl Free__7CMemoryFPCv lbl_80248398: /* 80248398 002452F8 93 9E 00 0C */ stw r28, 0xc(r30) /* 8024839C 002452FC 93 FE 00 08 */ stw r31, 8(r30) lbl_802483A0: /* 802483A0 00245300 BB 01 00 20 */ lmw r24, 0x20(r1) /* 802483A4 00245304 80 01 00 44 */ lwz r0, 0x44(r1) /* 802483A8 00245308 7C 08 03 A6 */ mtlr r0 /* 802483AC 0024530C 38 21 00 40 */ addi r1, r1, 0x40 /* 802483B0 00245310 4E 80 00 20 */ blr .global sub_802483b4 sub_802483b4: /* 802483B4 00245314 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802483B8 00245318 7C 08 02 A6 */ mflr r0 /* 802483BC 0024531C 90 01 00 24 */ stw r0, 0x24(r1) /* 802483C0 00245320 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802483C4 00245324 3B E0 00 00 */ li r31, 0 /* 802483C8 00245328 93 C1 00 18 */ stw r30, 0x18(r1) /* 802483CC 0024532C 7C 7E 1B 78 */ mr r30, r3 /* 802483D0 00245330 93 A1 00 14 */ stw r29, 0x14(r1) /* 802483D4 00245334 7C 9D 23 78 */ mr r29, r4 /* 802483D8 00245338 48 00 00 54 */ b lbl_8024842C lbl_802483DC: /* 802483DC 0024533C 28 1E 00 00 */ cmplwi r30, 0 /* 802483E0 00245340 41 82 00 48 */ beq lbl_80248428 /* 802483E4 00245344 34 7E 00 0C */ addic. r3, r30, 0xc /* 802483E8 00245348 41 82 00 28 */ beq lbl_80248410 /* 802483EC 0024534C 88 1E 00 18 */ lbz r0, 0x18(r30) /* 802483F0 00245350 28 00 00 00 */ cmplwi r0, 0 /* 802483F4 00245354 41 82 00 18 */ beq lbl_8024840C /* 802483F8 00245358 28 03 00 00 */ cmplwi r3, 0 /* 802483FC 0024535C 41 82 00 10 */ beq lbl_8024840C /* 80248400 00245360 41 82 00 0C */ beq lbl_8024840C /* 80248404 00245364 38 80 00 00 */ li r4, 0 /* 80248408 00245368 48 0F 8A 39 */ bl __dt__6CTokenFv lbl_8024840C: /* 8024840C 0024536C 9B FE 00 18 */ stb r31, 0x18(r30) lbl_80248410: /* 80248410 00245370 28 1E 00 00 */ cmplwi r30, 0 /* 80248414 00245374 41 82 00 14 */ beq lbl_80248428 /* 80248418 00245378 41 82 00 10 */ beq lbl_80248428 /* 8024841C 0024537C 7F C3 F3 78 */ mr r3, r30 /* 80248420 00245380 38 80 00 00 */ li r4, 0 /* 80248424 00245384 48 0F 8A 1D */ bl __dt__6CTokenFv lbl_80248428: /* 80248428 00245388 3B DE 00 1C */ addi r30, r30, 0x1c lbl_8024842C: /* 8024842C 0024538C 7C 1E E8 40 */ cmplw r30, r29 /* 80248430 00245390 40 82 FF AC */ bne lbl_802483DC /* 80248434 00245394 80 01 00 24 */ lwz r0, 0x24(r1) /* 80248438 00245398 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024843C 0024539C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80248440 002453A0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80248444 002453A4 7C 08 03 A6 */ mtlr r0 /* 80248448 002453A8 38 21 00 20 */ addi r1, r1, 0x20 /* 8024844C 002453AC 4E 80 00 20 */ blr .global sub_80248450 sub_80248450: /* 80248450 002453B0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80248454 002453B4 7C 08 02 A6 */ mflr r0 /* 80248458 002453B8 90 01 00 24 */ stw r0, 0x24(r1) /* 8024845C 002453BC BF 41 00 08 */ stmw r26, 8(r1) /* 80248460 002453C0 7C 7A 1B 78 */ mr r26, r3 /* 80248464 002453C4 7C 9B 23 78 */ mr r27, r4 /* 80248468 002453C8 7C BC 2B 78 */ mr r28, r5 /* 8024846C 002453CC 80 63 00 00 */ lwz r3, 0(r3) /* 80248470 002453D0 48 05 44 15 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 80248474 002453D4 7C 7F 1B 78 */ mr r31, r3 /* 80248478 002453D8 80 7B 00 00 */ lwz r3, 0(r27) /* 8024847C 002453DC 48 05 44 09 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 80248480 002453E0 7C 03 F8 00 */ cmpw r3, r31 /* 80248484 002453E4 40 80 00 24 */ bge lbl_802484A8 /* 80248488 002453E8 80 7A 00 00 */ lwz r3, 0(r26) /* 8024848C 002453EC 88 9A 00 04 */ lbz r4, 4(r26) /* 80248490 002453F0 80 1B 00 00 */ lwz r0, 0(r27) /* 80248494 002453F4 90 1A 00 00 */ stw r0, 0(r26) /* 80248498 002453F8 88 1B 00 04 */ lbz r0, 4(r27) /* 8024849C 002453FC 98 1A 00 04 */ stb r0, 4(r26) /* 802484A0 00245400 90 7B 00 00 */ stw r3, 0(r27) /* 802484A4 00245404 98 9B 00 04 */ stb r4, 4(r27) lbl_802484A8: /* 802484A8 00245408 80 7B 00 00 */ lwz r3, 0(r27) /* 802484AC 0024540C 48 05 43 D9 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802484B0 00245410 7C 7F 1B 78 */ mr r31, r3 /* 802484B4 00245414 80 7C 00 00 */ lwz r3, 0(r28) /* 802484B8 00245418 48 05 43 CD */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802484BC 0024541C 7C 03 F8 00 */ cmpw r3, r31 /* 802484C0 00245420 40 80 00 5C */ bge lbl_8024851C /* 802484C4 00245424 83 DC 00 00 */ lwz r30, 0(r28) /* 802484C8 00245428 8B BC 00 04 */ lbz r29, 4(r28) /* 802484CC 0024542C 80 1B 00 00 */ lwz r0, 0(r27) /* 802484D0 00245430 90 1C 00 00 */ stw r0, 0(r28) /* 802484D4 00245434 88 1B 00 04 */ lbz r0, 4(r27) /* 802484D8 00245438 98 1C 00 04 */ stb r0, 4(r28) /* 802484DC 0024543C 80 7A 00 00 */ lwz r3, 0(r26) /* 802484E0 00245440 48 05 43 A5 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802484E4 00245444 7C 7F 1B 78 */ mr r31, r3 /* 802484E8 00245448 7F C3 F3 78 */ mr r3, r30 /* 802484EC 0024544C 48 05 43 99 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802484F0 00245450 7C 03 F8 00 */ cmpw r3, r31 /* 802484F4 00245454 40 80 00 20 */ bge lbl_80248514 /* 802484F8 00245458 80 1A 00 00 */ lwz r0, 0(r26) /* 802484FC 0024545C 90 1B 00 00 */ stw r0, 0(r27) /* 80248500 00245460 88 1A 00 04 */ lbz r0, 4(r26) /* 80248504 00245464 98 1B 00 04 */ stb r0, 4(r27) /* 80248508 00245468 93 DA 00 00 */ stw r30, 0(r26) /* 8024850C 0024546C 9B BA 00 04 */ stb r29, 4(r26) /* 80248510 00245470 48 00 00 0C */ b lbl_8024851C lbl_80248514: /* 80248514 00245474 93 DB 00 00 */ stw r30, 0(r27) /* 80248518 00245478 9B BB 00 04 */ stb r29, 4(r27) lbl_8024851C: /* 8024851C 0024547C BB 41 00 08 */ lmw r26, 8(r1) /* 80248520 00245480 80 01 00 24 */ lwz r0, 0x24(r1) /* 80248524 00245484 7C 08 03 A6 */ mtlr r0 /* 80248528 00245488 38 21 00 20 */ addi r1, r1, 0x20 /* 8024852C 0024548C 4E 80 00 20 */ blr .global sub_80248530 sub_80248530: /* 80248530 00245490 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80248534 00245494 7C 08 02 A6 */ mflr r0 /* 80248538 00245498 90 01 00 34 */ stw r0, 0x34(r1) /* 8024853C 0024549C BF 01 00 10 */ stmw r24, 0x10(r1) /* 80248540 002454A0 7C 78 1B 78 */ mr r24, r3 /* 80248544 002454A4 7C 99 23 78 */ mr r25, r4 /* 80248548 002454A8 83 C3 00 00 */ lwz r30, 0(r3) /* 8024854C 002454AC 3B DE 00 08 */ addi r30, r30, 8 /* 80248550 002454B0 48 00 00 64 */ b lbl_802485B4 lbl_80248554: /* 80248554 002454B4 83 BE 00 00 */ lwz r29, 0(r30) /* 80248558 002454B8 7F DA F3 78 */ mr r26, r30 /* 8024855C 002454BC 8B 9E 00 04 */ lbz r28, 4(r30) /* 80248560 002454C0 3B 7E FF F8 */ addi r27, r30, -8 /* 80248564 002454C4 48 00 00 1C */ b lbl_80248580 lbl_80248568: /* 80248568 002454C8 80 1B 00 00 */ lwz r0, 0(r27) /* 8024856C 002454CC 90 1A 00 00 */ stw r0, 0(r26) /* 80248570 002454D0 88 1B 00 04 */ lbz r0, 4(r27) /* 80248574 002454D4 3B 7B FF F8 */ addi r27, r27, -8 /* 80248578 002454D8 98 1A 00 04 */ stb r0, 4(r26) /* 8024857C 002454DC 3B 5A FF F8 */ addi r26, r26, -8 lbl_80248580: /* 80248580 002454E0 80 18 00 00 */ lwz r0, 0(r24) /* 80248584 002454E4 7C 00 D0 40 */ cmplw r0, r26 /* 80248588 002454E8 40 80 00 20 */ bge lbl_802485A8 /* 8024858C 002454EC 80 7B 00 00 */ lwz r3, 0(r27) /* 80248590 002454F0 48 05 42 F5 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 80248594 002454F4 7C 7F 1B 78 */ mr r31, r3 /* 80248598 002454F8 7F A3 EB 78 */ mr r3, r29 /* 8024859C 002454FC 48 05 42 E9 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi /* 802485A0 00245500 7C 03 F8 00 */ cmpw r3, r31 /* 802485A4 00245504 41 80 FF C4 */ blt lbl_80248568 lbl_802485A8: /* 802485A8 00245508 93 BA 00 00 */ stw r29, 0(r26) /* 802485AC 0024550C 3B DE 00 08 */ addi r30, r30, 8 /* 802485B0 00245510 9B 9A 00 04 */ stb r28, 4(r26) lbl_802485B4: /* 802485B4 00245514 80 19 00 00 */ lwz r0, 0(r25) /* 802485B8 00245518 7C 1E 00 40 */ cmplw r30, r0 /* 802485BC 0024551C 41 80 FF 98 */ blt lbl_80248554 /* 802485C0 00245520 BB 01 00 10 */ lmw r24, 0x10(r1) /* 802485C4 00245524 80 01 00 34 */ lwz r0, 0x34(r1) /* 802485C8 00245528 7C 08 03 A6 */ mtlr r0 /* 802485CC 0024552C 38 21 00 30 */ addi r1, r1, 0x30 /* 802485D0 00245530 4E 80 00 20 */ blr .global PollResponse__11CGBASupportFv PollResponse__11CGBASupportFv: /* 802485D4 00245534 94 21 FF D0 */ stwu r1, -0x30(r1) /* 802485D8 00245538 7C 08 02 A6 */ mflr r0 /* 802485DC 0024553C 90 01 00 34 */ stw r0, 0x34(r1) /* 802485E0 00245540 38 81 00 08 */ addi r4, r1, 8 /* 802485E4 00245544 93 E1 00 2C */ stw r31, 0x2c(r1) /* 802485E8 00245548 7C 7F 1B 78 */ mr r31, r3 /* 802485EC 0024554C 93 C1 00 28 */ stw r30, 0x28(r1) /* 802485F0 00245550 93 A1 00 24 */ stw r29, 0x24(r1) /* 802485F4 00245554 93 81 00 20 */ stw r28, 0x20(r1) /* 802485F8 00245558 80 63 00 40 */ lwz r3, 0x40(r3) /* 802485FC 0024555C 48 18 12 4D */ bl GBAReset /* 80248600 00245560 2C 03 00 01 */ cmpwi r3, 1 /* 80248604 00245564 40 82 00 20 */ bne lbl_80248624 /* 80248608 00245568 80 7F 00 40 */ lwz r3, 0x40(r31) /* 8024860C 0024556C 38 81 00 08 */ addi r4, r1, 8 /* 80248610 00245570 48 18 12 39 */ bl GBAReset /* 80248614 00245574 2C 03 00 01 */ cmpwi r3, 1 /* 80248618 00245578 40 82 00 0C */ bne lbl_80248624 /* 8024861C 0024557C 38 60 00 00 */ li r3, 0 /* 80248620 00245580 48 00 02 D8 */ b lbl_802488F8 lbl_80248624: /* 80248624 00245584 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248628 00245588 38 81 00 08 */ addi r4, r1, 8 /* 8024862C 0024558C 48 18 11 29 */ bl GBAGetStatus /* 80248630 00245590 2C 03 00 01 */ cmpwi r3, 1 /* 80248634 00245594 40 82 00 0C */ bne lbl_80248640 /* 80248638 00245598 38 60 00 00 */ li r3, 0 /* 8024863C 0024559C 48 00 02 BC */ b lbl_802488F8 lbl_80248640: /* 80248640 002455A0 88 01 00 08 */ lbz r0, 8(r1) /* 80248644 002455A4 28 00 00 28 */ cmplwi r0, 0x28 /* 80248648 002455A8 41 82 00 0C */ beq lbl_80248654 /* 8024864C 002455AC 38 60 00 00 */ li r3, 0 /* 80248650 002455B0 48 00 02 A8 */ b lbl_802488F8 lbl_80248654: /* 80248654 002455B4 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248658 002455B8 38 81 00 14 */ addi r4, r1, 0x14 /* 8024865C 002455BC 38 A1 00 08 */ addi r5, r1, 8 /* 80248660 002455C0 48 18 23 8D */ bl GBARead /* 80248664 002455C4 2C 03 00 01 */ cmpwi r3, 1 /* 80248668 002455C8 40 82 00 0C */ bne lbl_80248674 /* 8024866C 002455CC 38 60 00 00 */ li r3, 0 /* 80248670 002455D0 48 00 02 88 */ b lbl_802488F8 lbl_80248674: /* 80248674 002455D4 80 61 00 14 */ lwz r3, 0x14(r1) /* 80248678 002455D8 3C 03 BE B3 */ addis r0, r3, 0xbeb3 /* 8024867C 002455DC 28 00 54 45 */ cmplwi r0, 0x5445 /* 80248680 002455E0 41 82 00 0C */ beq lbl_8024868C /* 80248684 002455E4 38 60 00 00 */ li r3, 0 /* 80248688 002455E8 48 00 02 70 */ b lbl_802488F8 lbl_8024868C: /* 8024868C 002455EC 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248690 002455F0 38 81 00 08 */ addi r4, r1, 8 /* 80248694 002455F4 48 18 10 C1 */ bl GBAGetStatus /* 80248698 002455F8 2C 03 00 01 */ cmpwi r3, 1 /* 8024869C 002455FC 40 82 00 0C */ bne lbl_802486A8 /* 802486A0 00245600 38 60 00 00 */ li r3, 0 /* 802486A4 00245604 48 00 02 54 */ b lbl_802488F8 lbl_802486A8: /* 802486A8 00245608 88 01 00 08 */ lbz r0, 8(r1) /* 802486AC 0024560C 28 00 00 20 */ cmplwi r0, 0x20 /* 802486B0 00245610 41 82 00 0C */ beq lbl_802486BC /* 802486B4 00245614 38 60 00 00 */ li r3, 0 /* 802486B8 00245618 48 00 02 40 */ b lbl_802488F8 lbl_802486BC: /* 802486BC 0024561C 80 7F 00 40 */ lwz r3, 0x40(r31) /* 802486C0 00245620 38 A1 00 08 */ addi r5, r1, 8 /* 802486C4 00245624 38 82 B8 78 */ addi r4, r2, lbl_805AD598@sda21 /* 802486C8 00245628 48 18 24 7D */ bl GBAWrite /* 802486CC 0024562C 2C 03 00 01 */ cmpwi r3, 1 /* 802486D0 00245630 40 82 00 0C */ bne lbl_802486DC /* 802486D4 00245634 38 60 00 00 */ li r3, 0 /* 802486D8 00245638 48 00 02 20 */ b lbl_802488F8 lbl_802486DC: /* 802486DC 0024563C 80 7F 00 40 */ lwz r3, 0x40(r31) /* 802486E0 00245640 38 81 00 08 */ addi r4, r1, 8 /* 802486E4 00245644 48 18 10 71 */ bl GBAGetStatus /* 802486E8 00245648 2C 03 00 01 */ cmpwi r3, 1 /* 802486EC 0024564C 40 82 00 0C */ bne lbl_802486F8 /* 802486F0 00245650 38 60 00 00 */ li r3, 0 /* 802486F4 00245654 48 00 02 04 */ b lbl_802488F8 lbl_802486F8: /* 802486F8 00245658 88 01 00 08 */ lbz r0, 8(r1) /* 802486FC 0024565C 54 00 06 B6 */ rlwinm r0, r0, 0, 0x1a, 0x1b /* 80248700 00245660 2C 00 00 30 */ cmpwi r0, 0x30 /* 80248704 00245664 41 82 00 0C */ beq lbl_80248710 /* 80248708 00245668 38 60 00 00 */ li r3, 0 /* 8024870C 0024566C 48 00 01 EC */ b lbl_802488F8 lbl_80248710: /* 80248710 00245670 48 13 CC B1 */ bl OSGetTick /* 80248714 00245674 3C 80 43 1C */ lis r4, 0x431BDE83@ha /* 80248718 00245678 7C 7C 1B 78 */ mr r28, r3 /* 8024871C 0024567C 3B A4 DE 83 */ addi r29, r4, 0x431BDE83@l /* 80248720 00245680 3F C0 80 00 */ lis r30, 0x8000 lbl_80248724: /* 80248724 00245684 48 13 CC 9D */ bl OSGetTick /* 80248728 00245688 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 8024872C 0024568C 7C 7C 18 50 */ subf r3, r28, r3 /* 80248730 00245690 54 63 18 38 */ slwi r3, r3, 3 /* 80248734 00245694 54 00 F0 BE */ srwi r0, r0, 2 /* 80248738 00245698 7C 1D 00 16 */ mulhwu r0, r29, r0 /* 8024873C 0024569C 54 00 8B FE */ srwi r0, r0, 0xf /* 80248740 002456A0 7C 03 03 96 */ divwu r0, r3, r0 /* 80248744 002456A4 28 00 01 F4 */ cmplwi r0, 0x1f4 /* 80248748 002456A8 41 81 01 AC */ bgt lbl_802488F4 /* 8024874C 002456AC 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248750 002456B0 38 81 00 08 */ addi r4, r1, 8 /* 80248754 002456B4 48 18 10 01 */ bl GBAGetStatus /* 80248758 002456B8 2C 03 00 01 */ cmpwi r3, 1 /* 8024875C 002456BC 41 82 FF C8 */ beq lbl_80248724 /* 80248760 002456C0 88 01 00 08 */ lbz r0, 8(r1) /* 80248764 002456C4 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c /* 80248768 002456C8 41 82 FF BC */ beq lbl_80248724 /* 8024876C 002456CC 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248770 002456D0 38 81 00 08 */ addi r4, r1, 8 /* 80248774 002456D4 48 18 0F E1 */ bl GBAGetStatus /* 80248778 002456D8 2C 03 00 00 */ cmpwi r3, 0 /* 8024877C 002456DC 40 82 FF A8 */ bne lbl_80248724 /* 80248780 002456E0 88 01 00 08 */ lbz r0, 8(r1) /* 80248784 002456E4 28 00 00 38 */ cmplwi r0, 0x38 /* 80248788 002456E8 40 82 FF 9C */ bne lbl_80248724 /* 8024878C 002456EC 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248790 002456F0 38 81 00 10 */ addi r4, r1, 0x10 /* 80248794 002456F4 38 A1 00 08 */ addi r5, r1, 8 /* 80248798 002456F8 48 18 22 55 */ bl GBARead /* 8024879C 002456FC 2C 03 00 00 */ cmpwi r3, 0 /* 802487A0 00245700 41 82 00 0C */ beq lbl_802487AC /* 802487A4 00245704 38 60 00 00 */ li r3, 0 /* 802487A8 00245708 48 00 01 50 */ b lbl_802488F8 lbl_802487AC: /* 802487AC 0024570C 81 01 00 10 */ lwz r8, 0x10(r1) /* 802487B0 00245710 38 C1 00 0C */ addi r6, r1, 0xc /* 802487B4 00245714 38 E0 00 03 */ li r7, 3 /* 802487B8 00245718 38 A0 FF FF */ li r5, -1 /* 802487BC 0024571C 55 04 46 3E */ srwi r4, r8, 0x18 /* 802487C0 00245720 55 03 86 3E */ rlwinm r3, r8, 0x10, 0x18, 0x1f /* 802487C4 00245724 55 00 C6 3E */ rlwinm r0, r8, 0x18, 0x18, 0x1f /* 802487C8 00245728 98 81 00 0C */ stb r4, 0xc(r1) /* 802487CC 0024572C 98 61 00 0D */ stb r3, 0xd(r1) /* 802487D0 00245730 98 01 00 0E */ stb r0, 0xe(r1) /* 802487D4 00245734 99 01 00 0F */ stb r8, 0xf(r1) lbl_802487D8: /* 802487D8 00245738 88 06 00 00 */ lbz r0, 0(r6) /* 802487DC 0024573C 38 C6 00 01 */ addi r6, r6, 1 /* 802487E0 00245740 7C A5 02 78 */ xor r5, r5, r0 /* 802487E4 00245744 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 802487E8 00245748 41 82 00 10 */ beq lbl_802487F8 /* 802487EC 0024574C 54 A5 F8 7E */ srwi r5, r5, 1 /* 802487F0 00245750 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 802487F4 00245754 48 00 00 08 */ b lbl_802487FC lbl_802487F8: /* 802487F8 00245758 54 A5 F8 7E */ srwi r5, r5, 1 lbl_802487FC: /* 802487FC 0024575C 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248800 00245760 41 82 00 10 */ beq lbl_80248810 /* 80248804 00245764 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248808 00245768 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 8024880C 0024576C 48 00 00 08 */ b lbl_80248814 lbl_80248810: /* 80248810 00245770 54 A5 F8 7E */ srwi r5, r5, 1 lbl_80248814: /* 80248814 00245774 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248818 00245778 41 82 00 10 */ beq lbl_80248828 /* 8024881C 0024577C 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248820 00245780 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 80248824 00245784 48 00 00 08 */ b lbl_8024882C lbl_80248828: /* 80248828 00245788 54 A5 F8 7E */ srwi r5, r5, 1 lbl_8024882C: /* 8024882C 0024578C 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248830 00245790 41 82 00 10 */ beq lbl_80248840 /* 80248834 00245794 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248838 00245798 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 8024883C 0024579C 48 00 00 08 */ b lbl_80248844 lbl_80248840: /* 80248840 002457A0 54 A5 F8 7E */ srwi r5, r5, 1 lbl_80248844: /* 80248844 002457A4 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248848 002457A8 41 82 00 10 */ beq lbl_80248858 /* 8024884C 002457AC 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248850 002457B0 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 80248854 002457B4 48 00 00 08 */ b lbl_8024885C lbl_80248858: /* 80248858 002457B8 54 A5 F8 7E */ srwi r5, r5, 1 lbl_8024885C: /* 8024885C 002457BC 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248860 002457C0 41 82 00 10 */ beq lbl_80248870 /* 80248864 002457C4 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248868 002457C8 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 8024886C 002457CC 48 00 00 08 */ b lbl_80248874 lbl_80248870: /* 80248870 002457D0 54 A5 F8 7E */ srwi r5, r5, 1 lbl_80248874: /* 80248874 002457D4 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248878 002457D8 41 82 00 10 */ beq lbl_80248888 /* 8024887C 002457DC 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248880 002457E0 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 80248884 002457E4 48 00 00 08 */ b lbl_8024888C lbl_80248888: /* 80248888 002457E8 54 A5 F8 7E */ srwi r5, r5, 1 lbl_8024888C: /* 8024888C 002457EC 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 80248890 002457F0 41 82 00 10 */ beq lbl_802488A0 /* 80248894 002457F4 54 A5 F8 7E */ srwi r5, r5, 1 /* 80248898 002457F8 68 A5 B0 10 */ xori r5, r5, 0xb010 /* 8024889C 002457FC 48 00 00 08 */ b lbl_802488A4 lbl_802488A0: /* 802488A0 00245800 54 A5 F8 7E */ srwi r5, r5, 1 lbl_802488A4: /* 802488A4 00245804 34 E7 FF FF */ addic. r7, r7, -1 /* 802488A8 00245808 40 82 FF 30 */ bne lbl_802487D8 /* 802488AC 0024580C 88 61 00 0F */ lbz r3, 0xf(r1) /* 802488B0 00245810 54 A0 06 3E */ clrlwi r0, r5, 0x18 /* 802488B4 00245814 7C 03 00 40 */ cmplw r3, r0 /* 802488B8 00245818 41 82 00 0C */ beq lbl_802488C4 /* 802488BC 0024581C 38 60 00 00 */ li r3, 0 /* 802488C0 00245820 48 00 00 38 */ b lbl_802488F8 lbl_802488C4: /* 802488C4 00245824 88 81 00 0E */ lbz r4, 0xe(r1) /* 802488C8 00245828 38 60 00 00 */ li r3, 0 /* 802488CC 0024582C 54 80 FF FE */ rlwinm r0, r4, 0x1f, 0x1f, 0x1f /* 802488D0 00245830 68 00 00 01 */ xori r0, r0, 1 /* 802488D4 00245834 98 1F 00 44 */ stb r0, 0x44(r31) /* 802488D8 00245838 88 1F 00 44 */ lbz r0, 0x44(r31) /* 802488DC 0024583C 28 00 00 00 */ cmplwi r0, 0 /* 802488E0 00245840 41 82 00 10 */ beq lbl_802488F0 /* 802488E4 00245844 54 80 07 FF */ clrlwi. r0, r4, 0x1f /* 802488E8 00245848 40 81 00 08 */ ble lbl_802488F0 /* 802488EC 0024584C 38 60 00 01 */ li r3, 1 lbl_802488F0: /* 802488F0 00245850 98 7F 00 45 */ stb r3, 0x45(r31) lbl_802488F4: /* 802488F4 00245854 38 60 00 01 */ li r3, 1 lbl_802488F8: /* 802488F8 00245858 80 01 00 34 */ lwz r0, 0x34(r1) /* 802488FC 0024585C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80248900 00245860 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80248904 00245864 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80248908 00245868 83 81 00 20 */ lwz r28, 0x20(r1) /* 8024890C 0024586C 7C 08 03 A6 */ mtlr r0 /* 80248910 00245870 38 21 00 30 */ addi r1, r1, 0x30 /* 80248914 00245874 4E 80 00 20 */ blr .global Update__11CGBASupportFv Update__11CGBASupportFv: /* 80248918 00245878 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024891C 0024587C 7C 08 02 A6 */ mflr r0 /* 80248920 00245880 90 01 00 34 */ stw r0, 0x34(r1) /* 80248924 00245884 DB E1 00 20 */ stfd f31, 0x20(r1) /* 80248928 00245888 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 /* 8024892C 0024588C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80248930 00245890 93 C1 00 18 */ stw r30, 0x18(r1) /* 80248934 00245894 7C 7F 1B 78 */ mr r31, r3 /* 80248938 00245898 FF E0 08 90 */ fmr f31, f1 /* 8024893C 0024589C 80 A3 00 34 */ lwz r5, 0x34(r3) /* 80248940 002458A0 28 05 00 08 */ cmplwi r5, 8 /* 80248944 002458A4 41 81 02 10 */ bgt lbl_80248B54 /* 80248948 002458A8 3C 80 80 3F */ lis r4, lbl_803E8C18@ha /* 8024894C 002458AC 54 A0 10 3A */ slwi r0, r5, 2 /* 80248950 002458B0 38 84 8C 18 */ addi r4, r4, lbl_803E8C18@l /* 80248954 002458B4 7C 04 00 2E */ lwzx r0, r4, r0 /* 80248958 002458B8 7C 09 03 A6 */ mtctr r0 /* 8024895C 002458BC 4E 80 04 20 */ bctr /* 80248960 002458C0 2C 05 00 00 */ cmpwi r5, 0 /* 80248964 002458C4 40 82 01 F0 */ bne lbl_80248B54 /* 80248968 002458C8 80 7F 00 30 */ lwz r3, 0x30(r31) /* 8024896C 002458CC 81 83 00 00 */ lwz r12, 0(r3) /* 80248970 002458D0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80248974 002458D4 7D 89 03 A6 */ mtctr r12 /* 80248978 002458D8 4E 80 04 21 */ bctrl /* 8024897C 002458DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80248980 002458E0 41 82 01 D4 */ beq lbl_80248B54 /* 80248984 002458E4 80 7F 00 30 */ lwz r3, 0x30(r31) /* 80248988 002458E8 28 03 00 00 */ cmplwi r3, 0 /* 8024898C 002458EC 41 82 00 18 */ beq lbl_802489A4 /* 80248990 002458F0 81 83 00 00 */ lwz r12, 0(r3) /* 80248994 002458F4 38 80 00 01 */ li r4, 1 /* 80248998 002458F8 81 8C 00 08 */ lwz r12, 8(r12) /* 8024899C 002458FC 7D 89 03 A6 */ mtctr r12 /* 802489A0 00245900 4E 80 04 21 */ bctrl lbl_802489A4: /* 802489A4 00245904 38 60 00 00 */ li r3, 0 /* 802489A8 00245908 38 00 00 01 */ li r0, 1 /* 802489AC 0024590C 90 7F 00 30 */ stw r3, 0x30(r31) /* 802489B0 00245910 90 1F 00 34 */ stw r0, 0x34(r31) /* 802489B4 00245914 83 FF 00 2C */ lwz r31, 0x2c(r31) /* 802489B8 00245918 48 13 CA 09 */ bl OSGetTick /* 802489BC 0024591C 98 7F 00 C8 */ stb r3, 0xc8(r31) /* 802489C0 00245920 54 60 C6 3E */ rlwinm r0, r3, 0x18, 0x18, 0x1f /* 802489C4 00245924 54 65 86 3E */ rlwinm r5, r3, 0x10, 0x18, 0x1f /* 802489C8 00245928 54 64 46 3E */ srwi r4, r3, 0x18 /* 802489CC 0024592C 98 1F 00 C9 */ stb r0, 0xc9(r31) /* 802489D0 00245930 38 60 00 45 */ li r3, 0x45 /* 802489D4 00245934 38 00 00 C9 */ li r0, 0xc9 /* 802489D8 00245938 98 BF 00 CA */ stb r5, 0xca(r31) /* 802489DC 0024593C 98 9F 00 CB */ stb r4, 0xcb(r31) /* 802489E0 00245940 98 7F 00 AF */ stb r3, 0xaf(r31) /* 802489E4 00245944 98 1F 00 BD */ stb r0, 0xbd(r31) /* 802489E8 00245948 48 00 01 6C */ b lbl_80248B54 /* 802489EC 0024594C C0 02 B8 7C */ lfs f0, lbl_805AD59C@sda21(r2) /* 802489F0 00245950 38 00 00 03 */ li r0, 3 /* 802489F4 00245954 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 802489F8 00245958 90 1F 00 34 */ stw r0, 0x34(r31) /* 802489FC 0024595C 3B C0 00 01 */ li r30, 1 lbl_80248A00: /* 80248A00 00245960 7F C3 F3 78 */ mr r3, r30 /* 80248A04 00245964 48 17 74 E5 */ bl SIProbe /* 80248A08 00245968 3C 03 FF FC */ addis r0, r3, 0xfffc /* 80248A0C 0024596C 28 00 00 00 */ cmplwi r0, 0 /* 80248A10 00245970 40 82 00 1C */ bne lbl_80248A2C /* 80248A14 00245974 93 DF 00 40 */ stw r30, 0x40(r31) /* 80248A18 00245978 38 00 00 04 */ li r0, 4 /* 80248A1C 0024597C C0 02 B8 7C */ lfs f0, lbl_805AD59C@sda21(r2) /* 80248A20 00245980 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248A24 00245984 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 80248A28 00245988 48 00 01 2C */ b lbl_80248B54 lbl_80248A2C: /* 80248A2C 0024598C 3B DE 00 01 */ addi r30, r30, 1 /* 80248A30 00245990 2C 1E 00 04 */ cmpwi r30, 4 /* 80248A34 00245994 41 80 FF CC */ blt lbl_80248A00 /* 80248A38 00245998 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80248A3C 0024599C C0 0D 96 F8 */ lfs f0, lbl_805A82B8@sda21(r13) /* 80248A40 002459A0 EC 21 F8 28 */ fsubs f1, f1, f31 /* 80248A44 002459A4 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80248A48 002459A8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80248A4C 002459AC 40 80 00 0C */ bge lbl_80248A58 /* 80248A50 002459B0 38 61 00 0C */ addi r3, r1, 0xc /* 80248A54 002459B4 48 00 00 08 */ b lbl_80248A5C lbl_80248A58: /* 80248A58 002459B8 38 6D 96 F8 */ addi r3, r13, lbl_805A82B8@sda21 lbl_80248A5C: /* 80248A5C 002459BC C0 03 00 00 */ lfs f0, 0(r3) /* 80248A60 002459C0 C0 22 B8 80 */ lfs f1, lbl_805AD5A0@sda21(r2) /* 80248A64 002459C4 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 80248A68 002459C8 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80248A6C 002459CC FC 01 00 00 */ fcmpu cr0, f1, f0 /* 80248A70 002459D0 40 82 00 E4 */ bne lbl_80248B54 /* 80248A74 002459D4 38 00 00 08 */ li r0, 8 /* 80248A78 002459D8 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248A7C 002459DC 48 00 00 D8 */ b lbl_80248B54 /* 80248A80 002459E0 38 00 00 05 */ li r0, 5 /* 80248A84 002459E4 3C 60 80 25 */ lis r3, nullsub_130@ha /* 80248A88 002459E8 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248A8C 002459EC 39 23 8D D8 */ addi r9, r3, nullsub_130@l /* 80248A90 002459F0 39 1F 00 3C */ addi r8, r31, 0x3c /* 80248A94 002459F4 38 A0 00 02 */ li r5, 2 /* 80248A98 002459F8 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248A9C 002459FC 80 DF 00 2C */ lwz r6, 0x2c(r31) /* 80248AA0 00245A00 80 FF 00 14 */ lwz r7, 0x14(r31) /* 80248AA4 00245A04 54 64 08 3C */ slwi r4, r3, 1 /* 80248AA8 00245A08 48 18 0F B5 */ bl GBAJoyBootAsync /* 80248AAC 00245A0C 48 00 00 A8 */ b lbl_80248B54 /* 80248AB0 00245A10 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248AB4 00245A14 38 9F 00 3C */ addi r4, r31, 0x3c /* 80248AB8 00245A18 48 18 0E 31 */ bl GBAGetProcessStatus /* 80248ABC 00245A1C 2C 03 00 02 */ cmpwi r3, 2 /* 80248AC0 00245A20 41 82 00 94 */ beq lbl_80248B54 /* 80248AC4 00245A24 80 7F 00 40 */ lwz r3, 0x40(r31) /* 80248AC8 00245A28 38 9F 00 3C */ addi r4, r31, 0x3c /* 80248ACC 00245A2C 48 18 0C 89 */ bl GBAGetStatus /* 80248AD0 00245A30 2C 03 00 01 */ cmpwi r3, 1 /* 80248AD4 00245A34 40 82 00 10 */ bne lbl_80248AE4 /* 80248AD8 00245A38 38 00 00 08 */ li r0, 8 /* 80248ADC 00245A3C 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248AE0 00245A40 48 00 00 74 */ b lbl_80248B54 lbl_80248AE4: /* 80248AE4 00245A44 C0 02 B8 7C */ lfs f0, lbl_805AD59C@sda21(r2) /* 80248AE8 00245A48 38 00 00 06 */ li r0, 6 /* 80248AEC 00245A4C D0 1F 00 38 */ stfs f0, 0x38(r31) /* 80248AF0 00245A50 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248AF4 00245A54 48 00 00 60 */ b lbl_80248B54 /* 80248AF8 00245A58 4B FF FA DD */ bl PollResponse__11CGBASupportFv /* 80248AFC 00245A5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80248B00 00245A60 41 82 00 10 */ beq lbl_80248B10 /* 80248B04 00245A64 38 00 00 07 */ li r0, 7 /* 80248B08 00245A68 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248B0C 00245A6C 48 00 00 48 */ b lbl_80248B54 lbl_80248B10: /* 80248B10 00245A70 C0 3F 00 38 */ lfs f1, 0x38(r31) /* 80248B14 00245A74 C0 0D 96 FC */ lfs f0, lbl_805A82BC@sda21(r13) /* 80248B18 00245A78 EC 21 F8 28 */ fsubs f1, f1, f31 /* 80248B1C 00245A7C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 80248B20 00245A80 D0 21 00 08 */ stfs f1, 8(r1) /* 80248B24 00245A84 40 80 00 0C */ bge lbl_80248B30 /* 80248B28 00245A88 38 61 00 08 */ addi r3, r1, 8 /* 80248B2C 00245A8C 48 00 00 08 */ b lbl_80248B34 lbl_80248B30: /* 80248B30 00245A90 38 6D 96 FC */ addi r3, r13, lbl_805A82BC@sda21 lbl_80248B34: /* 80248B34 00245A94 C0 03 00 00 */ lfs f0, 0(r3) /* 80248B38 00245A98 C0 22 B8 80 */ lfs f1, lbl_805AD5A0@sda21(r2) /* 80248B3C 00245A9C D0 1F 00 38 */ stfs f0, 0x38(r31) /* 80248B40 00245AA0 C0 1F 00 38 */ lfs f0, 0x38(r31) /* 80248B44 00245AA4 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 80248B48 00245AA8 40 82 00 0C */ bne lbl_80248B54 /* 80248B4C 00245AAC 38 00 00 08 */ li r0, 8 /* 80248B50 00245AB0 90 1F 00 34 */ stw r0, 0x34(r31) lbl_80248B54: /* 80248B54 00245AB4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 /* 80248B58 00245AB8 80 01 00 34 */ lwz r0, 0x34(r1) /* 80248B5C 00245ABC CB E1 00 20 */ lfd f31, 0x20(r1) /* 80248B60 00245AC0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80248B64 00245AC4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80248B68 00245AC8 7C 08 03 A6 */ mtlr r0 /* 80248B6C 00245ACC 38 21 00 30 */ addi r1, r1, 0x30 /* 80248B70 00245AD0 4E 80 00 20 */ blr .global IsReady__11CGBASupportFv IsReady__11CGBASupportFv: /* 80248B74 00245AD4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80248B78 00245AD8 7C 08 02 A6 */ mflr r0 /* 80248B7C 00245ADC 90 01 00 14 */ stw r0, 0x14(r1) /* 80248B80 00245AE0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80248B84 00245AE4 7C 7F 1B 78 */ mr r31, r3 /* 80248B88 00245AE8 80 03 00 34 */ lwz r0, 0x34(r3) /* 80248B8C 00245AEC 2C 00 00 00 */ cmpwi r0, 0 /* 80248B90 00245AF0 41 82 00 0C */ beq lbl_80248B9C /* 80248B94 00245AF4 38 60 00 01 */ li r3, 1 /* 80248B98 00245AF8 48 00 00 90 */ b lbl_80248C28 lbl_80248B9C: /* 80248B9C 00245AFC 80 7F 00 30 */ lwz r3, 0x30(r31) /* 80248BA0 00245B00 81 83 00 00 */ lwz r12, 0(r3) /* 80248BA4 00245B04 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80248BA8 00245B08 7D 89 03 A6 */ mtctr r12 /* 80248BAC 00245B0C 4E 80 04 21 */ bctrl /* 80248BB0 00245B10 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80248BB4 00245B14 41 82 00 70 */ beq lbl_80248C24 /* 80248BB8 00245B18 80 7F 00 30 */ lwz r3, 0x30(r31) /* 80248BBC 00245B1C 28 03 00 00 */ cmplwi r3, 0 /* 80248BC0 00245B20 41 82 00 18 */ beq lbl_80248BD8 /* 80248BC4 00245B24 81 83 00 00 */ lwz r12, 0(r3) /* 80248BC8 00245B28 38 80 00 01 */ li r4, 1 /* 80248BCC 00245B2C 81 8C 00 08 */ lwz r12, 8(r12) /* 80248BD0 00245B30 7D 89 03 A6 */ mtctr r12 /* 80248BD4 00245B34 4E 80 04 21 */ bctrl lbl_80248BD8: /* 80248BD8 00245B38 38 60 00 00 */ li r3, 0 /* 80248BDC 00245B3C 38 00 00 01 */ li r0, 1 /* 80248BE0 00245B40 90 7F 00 30 */ stw r3, 0x30(r31) /* 80248BE4 00245B44 90 1F 00 34 */ stw r0, 0x34(r31) /* 80248BE8 00245B48 83 FF 00 2C */ lwz r31, 0x2c(r31) /* 80248BEC 00245B4C 48 13 C7 D5 */ bl OSGetTick /* 80248BF0 00245B50 98 7F 00 C8 */ stb r3, 0xc8(r31) /* 80248BF4 00245B54 54 60 C6 3E */ rlwinm r0, r3, 0x18, 0x18, 0x1f /* 80248BF8 00245B58 54 66 86 3E */ rlwinm r6, r3, 0x10, 0x18, 0x1f /* 80248BFC 00245B5C 54 65 46 3E */ srwi r5, r3, 0x18 /* 80248C00 00245B60 98 1F 00 C9 */ stb r0, 0xc9(r31) /* 80248C04 00245B64 38 80 00 45 */ li r4, 0x45 /* 80248C08 00245B68 38 00 00 C9 */ li r0, 0xc9 /* 80248C0C 00245B6C 38 60 00 01 */ li r3, 1 /* 80248C10 00245B70 98 DF 00 CA */ stb r6, 0xca(r31) /* 80248C14 00245B74 98 BF 00 CB */ stb r5, 0xcb(r31) /* 80248C18 00245B78 98 9F 00 AF */ stb r4, 0xaf(r31) /* 80248C1C 00245B7C 98 1F 00 BD */ stb r0, 0xbd(r31) /* 80248C20 00245B80 48 00 00 08 */ b lbl_80248C28 lbl_80248C24: /* 80248C24 00245B84 38 60 00 00 */ li r3, 0 lbl_80248C28: /* 80248C28 00245B88 80 01 00 14 */ lwz r0, 0x14(r1) /* 80248C2C 00245B8C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80248C30 00245B90 7C 08 03 A6 */ mtlr r0 /* 80248C34 00245B94 38 21 00 10 */ addi r1, r1, 0x10 /* 80248C38 00245B98 4E 80 00 20 */ blr .global StartLink__11CGBASupportFv StartLink__11CGBASupportFv: /* 80248C3C 00245B9C 38 80 00 02 */ li r4, 2 /* 80248C40 00245BA0 38 00 FF FF */ li r0, -1 /* 80248C44 00245BA4 90 83 00 34 */ stw r4, 0x34(r3) /* 80248C48 00245BA8 90 03 00 40 */ stw r0, 0x40(r3) /* 80248C4C 00245BAC 4E 80 00 20 */ blr .global InitializeSupport__11CGBASupportFv InitializeSupport__11CGBASupportFv: /* 80248C50 00245BB0 38 00 00 01 */ li r0, 1 /* 80248C54 00245BB4 C0 02 B8 80 */ lfs f0, lbl_805AD5A0@sda21(r2) /* 80248C58 00245BB8 90 03 00 34 */ stw r0, 0x34(r3) /* 80248C5C 00245BBC 38 80 00 00 */ li r4, 0 /* 80248C60 00245BC0 38 00 FF FF */ li r0, -1 /* 80248C64 00245BC4 D0 03 00 38 */ stfs f0, 0x38(r3) /* 80248C68 00245BC8 98 83 00 3C */ stb r4, 0x3c(r3) /* 80248C6C 00245BCC 90 03 00 40 */ stw r0, 0x40(r3) /* 80248C70 00245BD0 98 83 00 44 */ stb r4, 0x44(r3) /* 80248C74 00245BD4 98 83 00 45 */ stb r4, 0x45(r3) /* 80248C78 00245BD8 4E 80 00 20 */ blr .global __dt__11CGBASupportFv __dt__11CGBASupportFv: /* 80248C7C 00245BDC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80248C80 00245BE0 7C 08 02 A6 */ mflr r0 /* 80248C84 00245BE4 90 01 00 14 */ stw r0, 0x14(r1) /* 80248C88 00245BE8 93 E1 00 0C */ stw r31, 0xc(r1) /* 80248C8C 00245BEC 7C 9F 23 78 */ mr r31, r4 /* 80248C90 00245BF0 93 C1 00 08 */ stw r30, 8(r1) /* 80248C94 00245BF4 7C 7E 1B 79 */ or. r30, r3, r3 /* 80248C98 00245BF8 41 82 00 60 */ beq lbl_80248CF8 /* 80248C9C 00245BFC 38 60 00 00 */ li r3, 0 /* 80248CA0 00245C00 34 1E 00 30 */ addic. r0, r30, 0x30 /* 80248CA4 00245C04 90 6D A5 50 */ stw r3, lbl_805A9110@sda21(r13) /* 80248CA8 00245C08 41 82 00 24 */ beq lbl_80248CCC /* 80248CAC 00245C0C 80 7E 00 30 */ lwz r3, 0x30(r30) /* 80248CB0 00245C10 28 03 00 00 */ cmplwi r3, 0 /* 80248CB4 00245C14 41 82 00 18 */ beq lbl_80248CCC /* 80248CB8 00245C18 81 83 00 00 */ lwz r12, 0(r3) /* 80248CBC 00245C1C 38 80 00 01 */ li r4, 1 /* 80248CC0 00245C20 81 8C 00 08 */ lwz r12, 8(r12) /* 80248CC4 00245C24 7D 89 03 A6 */ mtctr r12 /* 80248CC8 00245C28 4E 80 04 21 */ bctrl lbl_80248CCC: /* 80248CCC 00245C2C 34 1E 00 2C */ addic. r0, r30, 0x2c /* 80248CD0 00245C30 41 82 00 0C */ beq lbl_80248CDC /* 80248CD4 00245C34 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 80248CD8 00245C38 48 0C CC 59 */ bl Free__7CMemoryFPCv lbl_80248CDC: /* 80248CDC 00245C3C 7F C3 F3 78 */ mr r3, r30 /* 80248CE0 00245C40 38 80 FF FF */ li r4, -1 /* 80248CE4 00245C44 48 10 6F 2D */ bl __dt__8CDvdFileFv /* 80248CE8 00245C48 7F E0 07 35 */ extsh. r0, r31 /* 80248CEC 00245C4C 40 81 00 0C */ ble lbl_80248CF8 /* 80248CF0 00245C50 7F C3 F3 78 */ mr r3, r30 /* 80248CF4 00245C54 48 0C CC 3D */ bl Free__7CMemoryFPCv lbl_80248CF8: /* 80248CF8 00245C58 80 01 00 14 */ lwz r0, 0x14(r1) /* 80248CFC 00245C5C 7F C3 F3 78 */ mr r3, r30 /* 80248D00 00245C60 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80248D04 00245C64 83 C1 00 08 */ lwz r30, 8(r1) /* 80248D08 00245C68 7C 08 03 A6 */ mtlr r0 /* 80248D0C 00245C6C 38 21 00 10 */ addi r1, r1, 0x10 /* 80248D10 00245C70 4E 80 00 20 */ blr .global __ct__11CGBASupportFv __ct__11CGBASupportFv: /* 80248D14 00245C74 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80248D18 00245C78 7C 08 02 A6 */ mflr r0 /* 80248D1C 00245C7C 3C 80 80 3D */ lis r4, lbl_803D4768@ha /* 80248D20 00245C80 90 01 00 24 */ stw r0, 0x24(r1) /* 80248D24 00245C84 38 84 47 68 */ addi r4, r4, lbl_803D4768@l /* 80248D28 00245C88 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80248D2C 00245C8C 7C 7F 1B 78 */ mr r31, r3 /* 80248D30 00245C90 48 10 6F A1 */ bl __ct__8CDvdFileFPCc /* 80248D34 00245C94 80 DF 00 14 */ lwz r6, 0x14(r31) /* 80248D38 00245C98 3C A0 80 3D */ lis r5, lbl_803D4768@ha /* 80248D3C 00245C9C 38 A5 47 68 */ addi r5, r5, lbl_803D4768@l /* 80248D40 00245CA0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha /* 80248D44 00245CA4 38 06 00 1F */ addi r0, r6, 0x1f /* 80248D48 00245CA8 38 61 00 08 */ addi r3, r1, 8 /* 80248D4C 00245CAC 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a /* 80248D50 00245CB0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l /* 80248D54 00245CB4 90 1F 00 28 */ stw r0, 0x28(r31) /* 80248D58 00245CB8 38 A5 00 0F */ addi r5, r5, 0xf /* 80248D5C 00245CBC 38 80 FF FF */ li r4, -1 /* 80248D60 00245CC0 48 08 D6 75 */ bl __ct__10CCallStackFUiPCcPCc /* 80248D64 00245CC4 7C 67 1B 78 */ mr r7, r3 /* 80248D68 00245CC8 80 7F 00 28 */ lwz r3, 0x28(r31) /* 80248D6C 00245CCC 38 80 00 02 */ li r4, 2 /* 80248D70 00245CD0 38 A0 00 01 */ li r5, 1 /* 80248D74 00245CD4 38 C0 00 00 */ li r6, 0 /* 80248D78 00245CD8 48 0C CC 1D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack /* 80248D7C 00245CDC 90 7F 00 2C */ stw r3, 0x2c(r31) /* 80248D80 00245CE0 7F E3 FB 78 */ mr r3, r31 /* 80248D84 00245CE4 80 9F 00 2C */ lwz r4, 0x2c(r31) /* 80248D88 00245CE8 80 BF 00 28 */ lwz r5, 0x28(r31) /* 80248D8C 00245CEC 48 10 6E 5D */ bl SyncRead__8CDvdFileFPvUi /* 80248D90 00245CF0 90 7F 00 30 */ stw r3, 0x30(r31) /* 80248D94 00245CF4 38 60 00 00 */ li r3, 0 /* 80248D98 00245CF8 C0 02 B8 80 */ lfs f0, lbl_805AD5A0@sda21(r2) /* 80248D9C 00245CFC 38 00 FF FF */ li r0, -1 /* 80248DA0 00245D00 90 7F 00 34 */ stw r3, 0x34(r31) /* 80248DA4 00245D04 D0 1F 00 38 */ stfs f0, 0x38(r31) /* 80248DA8 00245D08 98 7F 00 3C */ stb r3, 0x3c(r31) /* 80248DAC 00245D0C 90 1F 00 40 */ stw r0, 0x40(r31) /* 80248DB0 00245D10 98 7F 00 44 */ stb r3, 0x44(r31) /* 80248DB4 00245D14 98 7F 00 45 */ stb r3, 0x45(r31) /* 80248DB8 00245D18 48 18 08 95 */ bl GBAInit /* 80248DBC 00245D1C 93 ED A5 50 */ stw r31, lbl_805A9110@sda21(r13) /* 80248DC0 00245D20 7F E3 FB 78 */ mr r3, r31 /* 80248DC4 00245D24 80 01 00 24 */ lwz r0, 0x24(r1) /* 80248DC8 00245D28 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80248DCC 00245D2C 7C 08 03 A6 */ mtlr r0 /* 80248DD0 00245D30 38 21 00 20 */ addi r1, r1, 0x20 /* 80248DD4 00245D34 4E 80 00 20 */ blr .global nullsub_130 nullsub_130: /* 80248DD8 00245D38 4E 80 00 20 */ blr .global sub_80248ddc sub_80248ddc: /* 80248DDC 00245D3C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80248DE0 00245D40 7C 08 02 A6 */ mflr r0 /* 80248DE4 00245D44 90 01 00 34 */ stw r0, 0x34(r1) /* 80248DE8 00245D48 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80248DEC 00245D4C 7C 7F 1B 78 */ mr r31, r3 /* 80248DF0 00245D50 93 C1 00 28 */ stw r30, 0x28(r1) /* 80248DF4 00245D54 80 04 00 10 */ lwz r0, 0x10(r4) /* 80248DF8 00245D58 83 C4 00 18 */ lwz r30, 0x18(r4) /* 80248DFC 00245D5C 1C 00 00 4C */ mulli r0, r0, 0x4c /* 80248E00 00245D60 7C 9E 02 14 */ add r4, r30, r0 /* 80248E04 00245D64 48 00 00 94 */ b lbl_80248E98 lbl_80248E08: /* 80248E08 00245D68 80 1E 00 14 */ lwz r0, 0x14(r30) /* 80248E0C 00245D6C 80 7E 00 1C */ lwz r3, 0x1c(r30) /* 80248E10 00245D70 54 00 10 3A */ slwi r0, r0, 2 /* 80248E14 00245D74 7C C3 02 14 */ add r6, r3, r0 /* 80248E18 00245D78 90 61 00 1C */ stw r3, 0x1c(r1) /* 80248E1C 00245D7C 90 C1 00 14 */ stw r6, 0x14(r1) /* 80248E20 00245D80 90 C1 00 18 */ stw r6, 0x18(r1) /* 80248E24 00245D84 90 61 00 20 */ stw r3, 0x20(r1) /* 80248E28 00245D88 48 00 00 10 */ b lbl_80248E38 lbl_80248E2C: /* 80248E2C 00245D8C 80 61 00 20 */ lwz r3, 0x20(r1) /* 80248E30 00245D90 38 03 00 04 */ addi r0, r3, 4 /* 80248E34 00245D94 90 01 00 20 */ stw r0, 0x20(r1) lbl_80248E38: /* 80248E38 00245D98 80 01 00 20 */ lwz r0, 0x20(r1) /* 80248E3C 00245D9C 7C 00 30 40 */ cmplw r0, r6 /* 80248E40 00245DA0 41 82 00 14 */ beq lbl_80248E54 /* 80248E44 00245DA4 80 61 00 20 */ lwz r3, 0x20(r1) /* 80248E48 00245DA8 80 03 00 00 */ lwz r0, 0(r3) /* 80248E4C 00245DAC 7C 05 00 40 */ cmplw r5, r0 /* 80248E50 00245DB0 40 82 FF DC */ bne lbl_80248E2C lbl_80248E54: /* 80248E54 00245DB4 80 01 00 20 */ lwz r0, 0x20(r1) /* 80248E58 00245DB8 80 61 00 20 */ lwz r3, 0x20(r1) /* 80248E5C 00245DBC 7C 00 30 40 */ cmplw r0, r6 /* 80248E60 00245DC0 90 61 00 24 */ stw r3, 0x24(r1) /* 80248E64 00245DC4 41 82 00 30 */ beq lbl_80248E94 /* 80248E68 00245DC8 90 61 00 08 */ stw r3, 8(r1) /* 80248E6C 00245DCC 38 61 00 10 */ addi r3, r1, 0x10 /* 80248E70 00245DD0 38 81 00 08 */ addi r4, r1, 8 /* 80248E74 00245DD4 80 1E 00 1C */ lwz r0, 0x1c(r30) /* 80248E78 00245DD8 90 01 00 0C */ stw r0, 0xc(r1) /* 80248E7C 00245DDC 90 01 00 10 */ stw r0, 0x10(r1) /* 80248E80 00245DE0 48 00 1F 2D */ bl sub_8024adac /* 80248E84 00245DE4 80 1E 00 00 */ lwz r0, 0(r30) /* 80248E88 00245DE8 90 1F 00 00 */ stw r0, 0(r31) /* 80248E8C 00245DEC 90 7F 00 04 */ stw r3, 4(r31) /* 80248E90 00245DF0 48 00 00 20 */ b lbl_80248EB0 lbl_80248E94: /* 80248E94 00245DF4 3B DE 00 4C */ addi r30, r30, 0x4c lbl_80248E98: /* 80248E98 00245DF8 7C 1E 20 40 */ cmplw r30, r4 /* 80248E9C 00245DFC 40 82 FF 6C */ bne lbl_80248E08 /* 80248EA0 00245E00 80 02 B8 88 */ lwz r0, lbl_805AD5A8@sda21(r2) /* 80248EA4 00245E04 90 1F 00 00 */ stw r0, 0(r31) /* 80248EA8 00245E08 80 0D 97 04 */ lwz r0, lbl_805A82C4@sda21(r13) /* 80248EAC 00245E0C 90 1F 00 04 */ stw r0, 4(r31) lbl_80248EB0: /* 80248EB0 00245E10 80 01 00 34 */ lwz r0, 0x34(r1) /* 80248EB4 00245E14 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80248EB8 00245E18 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80248EBC 00245E1C 7C 08 03 A6 */ mtlr r0 /* 80248EC0 00245E20 38 21 00 30 */ addi r1, r1, 0x30 /* 80248EC4 00245E24 4E 80 00 20 */ blr .global GetFrontEndName__16CSaveWorldMemoryCFv GetFrontEndName__16CSaveWorldMemoryCFv: /* 80248EC8 00245E28 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80248ECC 00245E2C 7C 08 02 A6 */ mflr r0 /* 80248ED0 00245E30 90 01 00 14 */ stw r0, 0x14(r1) /* 80248ED4 00245E34 88 03 00 38 */ lbz r0, 0x38(r3) /* 80248ED8 00245E38 28 00 00 00 */ cmplwi r0, 0 /* 80248EDC 00245E3C 41 82 00 1C */ beq lbl_80248EF8 /* 80248EE0 00245E40 80 63 00 34 */ lwz r3, 0x34(r3) /* 80248EE4 00245E44 28 03 00 00 */ cmplwi r3, 0 /* 80248EE8 00245E48 41 82 00 10 */ beq lbl_80248EF8 /* 80248EEC 00245E4C 38 80 00 00 */ li r4, 0 /* 80248EF0 00245E50 48 10 D8 0D */ bl GetString__12CStringTableCFi /* 80248EF4 00245E54 48 00 00 08 */ b lbl_80248EFC lbl_80248EF8: /* 80248EF8 00245E58 38 60 00 00 */ li r3, 0 lbl_80248EFC: /* 80248EFC 00245E5C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80248F00 00245E60 7C 08 03 A6 */ mtlr r0 /* 80248F04 00245E64 38 21 00 10 */ addi r1, r1, 0x10 /* 80248F08 00245E68 4E 80 00 20 */ blr .global GetSaveWorldMemory__14CMemoryCardSysCFi GetSaveWorldMemory__14CMemoryCardSysCFi: /* 80248F0C 00245E6C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80248F10 00245E70 7C 08 02 A6 */ mflr r0 /* 80248F14 00245E74 90 01 00 44 */ stw r0, 0x44(r1) /* 80248F18 00245E78 38 A1 00 24 */ addi r5, r1, 0x24 /* 80248F1C 00245E7C 89 21 00 14 */ lbz r9, 0x14(r1) /* 80248F20 00245E80 38 C1 00 08 */ addi r6, r1, 8 /* 80248F24 00245E84 80 03 00 10 */ lwz r0, 0x10(r3) /* 80248F28 00245E88 38 E1 00 0C */ addi r7, r1, 0xc /* 80248F2C 00245E8C 81 03 00 18 */ lwz r8, 0x18(r3) /* 80248F30 00245E90 38 61 00 1C */ addi r3, r1, 0x1c /* 80248F34 00245E94 1C 00 00 4C */ mulli r0, r0, 0x4c /* 80248F38 00245E98 90 81 00 08 */ stw r4, 8(r1) /* 80248F3C 00245E9C 38 81 00 20 */ addi r4, r1, 0x20 /* 80248F40 00245EA0 99 21 00 10 */ stb r9, 0x10(r1) /* 80248F44 00245EA4 7C 08 02 14 */ add r0, r8, r0 /* 80248F48 00245EA8 90 01 00 30 */ stw r0, 0x30(r1) /* 80248F4C 00245EAC 90 01 00 2C */ stw r0, 0x2c(r1) /* 80248F50 00245EB0 91 01 00 28 */ stw r8, 0x28(r1) /* 80248F54 00245EB4 99 21 00 0C */ stb r9, 0xc(r1) /* 80248F58 00245EB8 90 01 00 24 */ stw r0, 0x24(r1) /* 80248F5C 00245EBC 91 01 00 20 */ stw r8, 0x20(r1) /* 80248F60 00245EC0 48 00 1F 69 */ bl sub_8024aec8 /* 80248F64 00245EC4 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 80248F68 00245EC8 38 80 00 00 */ li r4, 0 /* 80248F6C 00245ECC 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80248F70 00245ED0 90 A1 00 18 */ stw r5, 0x18(r1) /* 80248F74 00245ED4 7C 05 00 40 */ cmplw r5, r0 /* 80248F78 00245ED8 41 82 00 18 */ beq lbl_80248F90 /* 80248F7C 00245EDC 80 61 00 08 */ lwz r3, 8(r1) /* 80248F80 00245EE0 80 05 00 00 */ lwz r0, 0(r5) /* 80248F84 00245EE4 7C 03 00 40 */ cmplw r3, r0 /* 80248F88 00245EE8 41 80 00 08 */ blt lbl_80248F90 /* 80248F8C 00245EEC 38 80 00 01 */ li r4, 1 lbl_80248F90: /* 80248F90 00245EF0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80248F94 00245EF4 38 61 00 2C */ addi r3, r1, 0x2c /* 80248F98 00245EF8 41 82 00 08 */ beq lbl_80248FA0 /* 80248F9C 00245EFC 38 61 00 18 */ addi r3, r1, 0x18 lbl_80248FA0: /* 80248FA0 00245F00 80 63 00 00 */ lwz r3, 0(r3) /* 80248FA4 00245F04 80 01 00 44 */ lwz r0, 0x44(r1) /* 80248FA8 00245F08 38 63 00 04 */ addi r3, r3, 4 /* 80248FAC 00245F0C 7C 08 03 A6 */ mtlr r0 /* 80248FB0 00245F10 38 21 00 40 */ addi r1, r1, 0x40 /* 80248FB4 00245F14 4E 80 00 20 */ blr .global HasSaveWorldMemory__15CMemoryCardSysFi HasSaveWorldMemory__15CMemoryCardSysFi: /* 80248FB8 00245F18 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80248FBC 00245F1C 7C 08 02 A6 */ mflr r0 /* 80248FC0 00245F20 90 01 00 44 */ stw r0, 0x44(r1) /* 80248FC4 00245F24 38 A1 00 24 */ addi r5, r1, 0x24 /* 80248FC8 00245F28 89 21 00 14 */ lbz r9, 0x14(r1) /* 80248FCC 00245F2C 38 C1 00 08 */ addi r6, r1, 8 /* 80248FD0 00245F30 93 E1 00 3C */ stw r31, 0x3c(r1) /* 80248FD4 00245F34 7C 7F 1B 78 */ mr r31, r3 /* 80248FD8 00245F38 38 E1 00 0C */ addi r7, r1, 0xc /* 80248FDC 00245F3C 80 03 00 10 */ lwz r0, 0x10(r3) /* 80248FE0 00245F40 38 61 00 1C */ addi r3, r1, 0x1c /* 80248FE4 00245F44 81 1F 00 18 */ lwz r8, 0x18(r31) /* 80248FE8 00245F48 1C 00 00 4C */ mulli r0, r0, 0x4c /* 80248FEC 00245F4C 90 81 00 08 */ stw r4, 8(r1) /* 80248FF0 00245F50 38 81 00 20 */ addi r4, r1, 0x20 /* 80248FF4 00245F54 99 21 00 10 */ stb r9, 0x10(r1) /* 80248FF8 00245F58 7C 08 02 14 */ add r0, r8, r0 /* 80248FFC 00245F5C 90 01 00 30 */ stw r0, 0x30(r1) /* 80249000 00245F60 90 01 00 2C */ stw r0, 0x2c(r1) /* 80249004 00245F64 91 01 00 28 */ stw r8, 0x28(r1) /* 80249008 00245F68 99 21 00 0C */ stb r9, 0xc(r1) /* 8024900C 00245F6C 90 01 00 24 */ stw r0, 0x24(r1) /* 80249010 00245F70 91 01 00 20 */ stw r8, 0x20(r1) /* 80249014 00245F74 48 00 1E B5 */ bl sub_8024aec8 /* 80249018 00245F78 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8024901C 00245F7C 38 80 00 00 */ li r4, 0 /* 80249020 00245F80 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80249024 00245F84 90 A1 00 18 */ stw r5, 0x18(r1) /* 80249028 00245F88 7C 05 00 40 */ cmplw r5, r0 /* 8024902C 00245F8C 41 82 00 18 */ beq lbl_80249044 /* 80249030 00245F90 80 61 00 08 */ lwz r3, 8(r1) /* 80249034 00245F94 80 05 00 00 */ lwz r0, 0(r5) /* 80249038 00245F98 7C 03 00 40 */ cmplw r3, r0 /* 8024903C 00245F9C 41 80 00 08 */ blt lbl_80249044 /* 80249040 00245FA0 38 80 00 01 */ li r4, 1 lbl_80249044: /* 80249044 00245FA4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 80249048 00245FA8 38 81 00 2C */ addi r4, r1, 0x2c /* 8024904C 00245FAC 41 82 00 08 */ beq lbl_80249054 /* 80249050 00245FB0 38 81 00 18 */ addi r4, r1, 0x18 lbl_80249054: /* 80249054 00245FB4 80 1F 00 10 */ lwz r0, 0x10(r31) /* 80249058 00245FB8 80 7F 00 18 */ lwz r3, 0x18(r31) /* 8024905C 00245FBC 1C 00 00 4C */ mulli r0, r0, 0x4c /* 80249060 00245FC0 80 84 00 00 */ lwz r4, 0(r4) /* 80249064 00245FC4 7C 03 02 14 */ add r0, r3, r0 /* 80249068 00245FC8 7C 64 00 50 */ subf r3, r4, r0 /* 8024906C 00245FCC 7C 00 20 50 */ subf r0, r0, r4 /* 80249070 00245FD0 7C 60 03 78 */ or r0, r3, r0 /* 80249074 00245FD4 54 03 0F FE */ srwi r3, r0, 0x1f /* 80249078 00245FD8 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8024907C 00245FDC 80 01 00 44 */ lwz r0, 0x44(r1) /* 80249080 00245FE0 7C 08 03 A6 */ mtlr r0 /* 80249084 00245FE4 38 21 00 40 */ addi r1, r1, 0x40 /* 80249088 00245FE8 4E 80 00 20 */ blr .global InitializePump__14CMemoryCardSysFv InitializePump__14CMemoryCardSysFv: /* 8024908C 00245FEC 94 21 FF 80 */ stwu r1, -0x80(r1) /* 80249090 00245FF0 7C 08 02 A6 */ mflr r0 /* 80249094 00245FF4 90 01 00 84 */ stw r0, 0x84(r1) /* 80249098 00245FF8 BF 01 00 60 */ stmw r24, 0x60(r1) /* 8024909C 00245FFC 7C 78 1B 78 */ mr r24, r3 /* 802490A0 00246000 83 43 00 1C */ lwz r26, 0x1c(r3) /* 802490A4 00246004 28 1A 00 00 */ cmplwi r26, 0 /* 802490A8 00246008 40 82 00 E4 */ bne lbl_8024918C /* 802490AC 0024600C 83 58 00 18 */ lwz r26, 0x18(r24) /* 802490B0 00246010 48 00 00 74 */ b lbl_80249124 lbl_802490B4: /* 802490B4 00246014 88 1A 00 3C */ lbz r0, 0x3c(r26) /* 802490B8 00246018 28 00 00 00 */ cmplwi r0, 0 /* 802490BC 0024601C 41 82 00 64 */ beq lbl_80249120 /* 802490C0 00246020 3B 3A 00 30 */ addi r25, r26, 0x30 /* 802490C4 00246024 80 1A 00 38 */ lwz r0, 0x38(r26) /* 802490C8 00246028 28 00 00 00 */ cmplwi r0, 0 /* 802490CC 0024602C 41 82 00 0C */ beq lbl_802490D8 /* 802490D0 00246030 38 60 00 01 */ li r3, 1 /* 802490D4 00246034 48 00 00 3C */ b lbl_80249110 lbl_802490D8: /* 802490D8 00246038 88 19 00 04 */ lbz r0, 4(r25) /* 802490DC 0024603C 28 00 00 00 */ cmplwi r0, 0 /* 802490E0 00246040 41 82 00 2C */ beq lbl_8024910C /* 802490E4 00246044 80 79 00 00 */ lwz r3, 0(r25) /* 802490E8 00246048 80 03 00 10 */ lwz r0, 0x10(r3) /* 802490EC 0024604C 28 00 00 00 */ cmplwi r0, 0 /* 802490F0 00246050 41 82 00 1C */ beq lbl_8024910C /* 802490F4 00246054 7F 23 CB 78 */ mr r3, r25 /* 802490F8 00246058 48 0F 7D 15 */ bl GetObj__6CTokenFv /* 802490FC 0024605C 80 03 00 04 */ lwz r0, 4(r3) /* 80249100 00246060 38 60 00 01 */ li r3, 1 /* 80249104 00246064 90 19 00 08 */ stw r0, 8(r25) /* 80249108 00246068 48 00 00 08 */ b lbl_80249110 lbl_8024910C: /* 8024910C 0024606C 38 60 00 00 */ li r3, 0 lbl_80249110: /* 80249110 00246070 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80249114 00246074 40 82 00 0C */ bne lbl_80249120 /* 80249118 00246078 38 60 00 00 */ li r3, 0 /* 8024911C 0024607C 48 00 04 34 */ b lbl_80249550 lbl_80249120: /* 80249120 00246080 3B 5A 00 4C */ addi r26, r26, 0x4c lbl_80249124: /* 80249124 00246084 80 18 00 10 */ lwz r0, 0x10(r24) /* 80249128 00246088 80 78 00 18 */ lwz r3, 0x18(r24) /* 8024912C 0024608C 1C 00 00 4C */ mulli r0, r0, 0x4c /* 80249130 00246090 7C 03 02 14 */ add r0, r3, r0 /* 80249134 00246094 7C 1A 00 40 */ cmplw r26, r0 /* 80249138 00246098 40 82 FF 7C */ bne lbl_802490B4 /* 8024913C 0024609C 80 18 00 08 */ lwz r0, 8(r24) /* 80249140 002460A0 28 00 00 00 */ cmplwi r0, 0 /* 80249144 002460A4 41 82 00 0C */ beq lbl_80249150 /* 80249148 002460A8 38 60 00 01 */ li r3, 1 /* 8024914C 002460AC 48 00 04 04 */ b lbl_80249550 lbl_80249150: /* 80249150 002460B0 88 18 00 04 */ lbz r0, 4(r24) /* 80249154 002460B4 28 00 00 00 */ cmplwi r0, 0 /* 80249158 002460B8 41 82 00 2C */ beq lbl_80249184 /* 8024915C 002460BC 80 78 00 00 */ lwz r3, 0(r24) /* 80249160 002460C0 80 03 00 10 */ lwz r0, 0x10(r3) /* 80249164 002460C4 28 00 00 00 */ cmplwi r0, 0 /* 80249168 002460C8 41 82 00 1C */ beq lbl_80249184 /* 8024916C 002460CC 7F 03 C3 78 */ mr r3, r24 /* 80249170 002460D0 48 0F 7C 9D */ bl GetObj__6CTokenFv /* 80249174 002460D4 80 03 00 04 */ lwz r0, 4(r3) /* 80249178 002460D8 38 60 00 01 */ li r3, 1 /* 8024917C 002460DC 90 18 00 08 */ stw r0, 8(r24) /* 80249180 002460E0 48 00 03 D0 */ b lbl_80249550 lbl_80249184: /* 80249184 002460E4 38 60 00 00 */ li r3, 0 /* 80249188 002460E8 48 00 03 C8 */ b lbl_80249550 lbl_8024918C: /* 8024918C 002460EC 83 BA 00 0C */ lwz r29, 0xc(r26) /* 80249190 002460F0 3B 78 00 34 */ addi r27, r24, 0x34 /* 80249194 002460F4 3B 20 00 01 */ li r25, 1 /* 80249198 002460F8 48 00 03 48 */ b lbl_802494E0 lbl_8024919C: /* 8024919C 002460FC 7F A3 EB 78 */ mr r3, r29 /* 802491A0 00246100 48 00 06 5D */ bl InitializePump__20CMemorySomethingElseFv /* 802491A4 00246104 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 802491A8 00246108 41 82 03 30 */ beq lbl_802494D8 /* 802491AC 0024610C 80 1D 00 38 */ lwz r0, 0x38(r29) /* 802491B0 00246110 28 00 00 00 */ cmplwi r0, 0 /* 802491B4 00246114 41 82 03 28 */ beq lbl_802494DC /* 802491B8 00246118 80 9D 00 00 */ lwz r4, 0(r29) /* 802491BC 0024611C 7F 03 C3 78 */ mr r3, r24 /* 802491C0 00246120 4B FF FD 4D */ bl GetSaveWorldMemory__14CMemoryCardSysCFi /* 802491C4 00246124 7C 7F 1B 78 */ mr r31, r3 /* 802491C8 00246128 80 63 00 04 */ lwz r3, 4(r3) /* 802491CC 0024612C 3C 03 00 01 */ addis r0, r3, 1 /* 802491D0 00246130 28 00 FF FF */ cmplwi r0, 0xffff /* 802491D4 00246134 40 82 00 0C */ bne lbl_802491E0 /* 802491D8 00246138 80 1D 00 08 */ lwz r0, 8(r29) /* 802491DC 0024613C 90 1F 00 04 */ stw r0, 4(r31) lbl_802491E0: /* 802491E0 00246140 80 7F 00 00 */ lwz r3, 0(r31) /* 802491E4 00246144 3C 03 00 01 */ addis r0, r3, 1 /* 802491E8 00246148 28 00 FF FF */ cmplwi r0, 0xffff /* 802491EC 0024614C 40 82 00 0C */ bne lbl_802491F8 /* 802491F0 00246150 80 1D 00 04 */ lwz r0, 4(r29) /* 802491F4 00246154 90 1F 00 00 */ stw r0, 0(r31) lbl_802491F8: /* 802491F8 00246158 38 7F 00 0C */ addi r3, r31, 0xc /* 802491FC 0024615C 38 9D 00 0C */ addi r4, r29, 0xc /* 80249200 00246160 4B E1 A4 FD */ bl "clear__Q24rstl37vectorFv" /* 80249204 00246164 38 7F 00 1C */ addi r3, r31, 0x1c /* 80249208 00246168 38 9D 00 1C */ addi r4, r29, 0x1c /* 8024920C 0024616C 4B FE AF 61 */ bl sub_8023416c /* 80249210 00246170 80 9D 00 38 */ lwz r4, 0x38(r29) /* 80249214 00246174 38 78 00 20 */ addi r3, r24, 0x20 /* 80249218 00246178 83 C4 00 08 */ lwz r30, 8(r4) /* 8024921C 0024617C 80 1E 00 00 */ lwz r0, 0(r30) /* 80249220 00246180 90 1F 00 08 */ stw r0, 8(r31) /* 80249224 00246184 80 98 00 24 */ lwz r4, 0x24(r24) /* 80249228 00246188 80 1E 00 48 */ lwz r0, 0x48(r30) /* 8024922C 0024618C 7C 84 02 14 */ add r4, r4, r0 /* 80249230 00246190 4B DB F8 1D */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" /* 80249234 00246194 83 9E 00 50 */ lwz r28, 0x50(r30) /* 80249238 00246198 48 00 00 F0 */ b lbl_80249328 lbl_8024923C: /* 8024923C 0024619C 80 F8 00 24 */ lwz r7, 0x24(r24) /* 80249240 002461A0 80 78 00 2C */ lwz r3, 0x2c(r24) /* 80249244 002461A4 54 E0 18 38 */ slwi r0, r7, 3 /* 80249248 002461A8 7C C3 02 14 */ add r6, r3, r0 /* 8024924C 002461AC 90 61 00 30 */ stw r3, 0x30(r1) /* 80249250 002461B0 90 C1 00 24 */ stw r6, 0x24(r1) /* 80249254 002461B4 90 61 00 34 */ stw r3, 0x34(r1) /* 80249258 002461B8 90 C1 00 28 */ stw r6, 0x28(r1) /* 8024925C 002461BC 90 C1 00 2C */ stw r6, 0x2c(r1) /* 80249260 002461C0 48 00 00 10 */ b lbl_80249270 lbl_80249264: /* 80249264 002461C4 80 61 00 34 */ lwz r3, 0x34(r1) /* 80249268 002461C8 38 03 00 08 */ addi r0, r3, 8 /* 8024926C 002461CC 90 01 00 34 */ stw r0, 0x34(r1) lbl_80249270: /* 80249270 002461D0 80 A1 00 34 */ lwz r5, 0x34(r1) /* 80249274 002461D4 7C 05 30 40 */ cmplw r5, r6 /* 80249278 002461D8 41 82 00 34 */ beq lbl_802492AC /* 8024927C 002461DC 80 65 00 00 */ lwz r3, 0(r5) /* 80249280 002461E0 38 80 00 00 */ li r4, 0 /* 80249284 002461E4 80 1C 00 00 */ lwz r0, 0(r28) /* 80249288 002461E8 7C 03 00 40 */ cmplw r3, r0 /* 8024928C 002461EC 40 82 00 18 */ bne lbl_802492A4 /* 80249290 002461F0 80 65 00 04 */ lwz r3, 4(r5) /* 80249294 002461F4 80 1C 00 04 */ lwz r0, 4(r28) /* 80249298 002461F8 7C 03 00 40 */ cmplw r3, r0 /* 8024929C 002461FC 40 82 00 08 */ bne lbl_802492A4 /* 802492A0 00246200 38 80 00 01 */ li r4, 1 lbl_802492A4: /* 802492A4 00246204 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802492A8 00246208 41 82 FF BC */ beq lbl_80249264 lbl_802492AC: /* 802492AC 0024620C 80 61 00 34 */ lwz r3, 0x34(r1) /* 802492B0 00246210 80 01 00 24 */ lwz r0, 0x24(r1) /* 802492B4 00246214 7C 03 00 40 */ cmplw r3, r0 /* 802492B8 00246218 40 82 00 6C */ bne lbl_80249324 /* 802492BC 0024621C 80 18 00 28 */ lwz r0, 0x28(r24) /* 802492C0 00246220 7C 07 00 00 */ cmpw r7, r0 /* 802492C4 00246224 41 80 00 1C */ blt lbl_802492E0 /* 802492C8 00246228 2C 00 00 00 */ cmpwi r0, 0 /* 802492CC 0024622C 38 78 00 20 */ addi r3, r24, 0x20 /* 802492D0 00246230 38 80 00 04 */ li r4, 4 /* 802492D4 00246234 41 82 00 08 */ beq lbl_802492DC /* 802492D8 00246238 54 04 08 3C */ slwi r4, r0, 1 lbl_802492DC: /* 802492DC 0024623C 4B DB F7 71 */ bl "reserve__Q24rstl47vector<10SScanState,Q24rstl17rmemory_allocator>Fi" lbl_802492E0: /* 802492E0 00246240 80 18 00 24 */ lwz r0, 0x24(r24) /* 802492E4 00246244 80 78 00 2C */ lwz r3, 0x2c(r24) /* 802492E8 00246248 54 00 18 38 */ slwi r0, r0, 3 /* 802492EC 0024624C 7C 63 02 15 */ add. r3, r3, r0 /* 802492F0 00246250 41 82 00 14 */ beq lbl_80249304 /* 802492F4 00246254 80 1C 00 00 */ lwz r0, 0(r28) /* 802492F8 00246258 90 03 00 00 */ stw r0, 0(r3) /* 802492FC 0024625C 80 1C 00 04 */ lwz r0, 4(r28) /* 80249300 00246260 90 03 00 04 */ stw r0, 4(r3) lbl_80249304: /* 80249304 00246264 80 78 00 24 */ lwz r3, 0x24(r24) /* 80249308 00246268 38 03 00 01 */ addi r0, r3, 1 /* 8024930C 0024626C 90 18 00 24 */ stw r0, 0x24(r24) /* 80249310 00246270 80 1C 00 04 */ lwz r0, 4(r28) /* 80249314 00246274 54 04 10 3A */ slwi r4, r0, 2 /* 80249318 00246278 7C 7B 20 2E */ lwzx r3, r27, r4 /* 8024931C 0024627C 38 03 00 01 */ addi r0, r3, 1 /* 80249320 00246280 7C 1B 21 2E */ stwx r0, r27, r4 lbl_80249324: /* 80249324 00246284 3B 9C 00 08 */ addi r28, r28, 8 lbl_80249328: /* 80249328 00246288 80 1E 00 48 */ lwz r0, 0x48(r30) /* 8024932C 0024628C 80 7E 00 50 */ lwz r3, 0x50(r30) /* 80249330 00246290 54 00 18 38 */ slwi r0, r0, 3 /* 80249334 00246294 7C 03 02 14 */ add r0, r3, r0 /* 80249338 00246298 7C 1C 00 40 */ cmplw r28, r0 /* 8024933C 0024629C 40 82 FF 00 */ bne lbl_8024923C /* 80249340 002462A0 88 1F 00 44 */ lbz r0, 0x44(r31) /* 80249344 002462A4 80 9D 00 38 */ lwz r4, 0x38(r29) /* 80249348 002462A8 28 00 00 00 */ cmplwi r0, 0 /* 8024934C 002462AC 40 82 00 1C */ bne lbl_80249368 /* 80249350 002462B0 34 7F 00 3C */ addic. r3, r31, 0x3c /* 80249354 002462B4 41 82 00 08 */ beq lbl_8024935C /* 80249358 002462B8 48 0F 7B 51 */ bl __ct__6CTokenFRC6CToken lbl_8024935C: /* 8024935C 002462BC 38 00 00 01 */ li r0, 1 /* 80249360 002462C0 98 1F 00 44 */ stb r0, 0x44(r31) /* 80249364 002462C4 48 00 00 0C */ b lbl_80249370 lbl_80249368: /* 80249368 002462C8 38 7F 00 3C */ addi r3, r31, 0x3c /* 8024936C 002462CC 48 0F 79 59 */ bl __as__6CTokenFRC6CToken lbl_80249370: /* 80249370 002462D0 38 61 00 40 */ addi r3, r1, 0x40 /* 80249374 002462D4 38 1D 00 34 */ addi r0, r29, 0x34 /* 80249378 002462D8 38 80 00 00 */ li r4, 0 /* 8024937C 002462DC 7C 03 00 40 */ cmplw r3, r0 /* 80249380 002462E0 98 81 00 40 */ stb r4, 0x40(r1) /* 80249384 002462E4 90 81 00 44 */ stw r4, 0x44(r1) /* 80249388 002462E8 41 82 00 4C */ beq lbl_802493D4 /* 8024938C 002462EC 88 1D 00 34 */ lbz r0, 0x34(r29) /* 80249390 002462F0 28 00 00 00 */ cmplwi r0, 0 /* 80249394 002462F4 41 82 00 28 */ beq lbl_802493BC /* 80249398 002462F8 83 9D 00 38 */ lwz r28, 0x38(r29) /* 8024939C 002462FC 28 1C 00 00 */ cmplwi r28, 0 /* 802493A0 00246300 41 82 00 1C */ beq lbl_802493BC /* 802493A4 00246304 41 82 00 10 */ beq lbl_802493B4 /* 802493A8 00246308 7F 83 E3 78 */ mr r3, r28 /* 802493AC 0024630C 38 80 00 00 */ li r4, 0 /* 802493B0 00246310 48 0F 7A 91 */ bl __dt__6CTokenFv lbl_802493B4: /* 802493B4 00246314 7F 83 E3 78 */ mr r3, r28 /* 802493B8 00246318 48 0C C5 79 */ bl Free__7CMemoryFPCv lbl_802493BC: /* 802493BC 0024631C 88 61 00 40 */ lbz r3, 0x40(r1) /* 802493C0 00246320 38 00 00 00 */ li r0, 0 /* 802493C4 00246324 98 7D 00 34 */ stb r3, 0x34(r29) /* 802493C8 00246328 80 61 00 44 */ lwz r3, 0x44(r1) /* 802493CC 0024632C 90 7D 00 38 */ stw r3, 0x38(r29) /* 802493D0 00246330 98 01 00 40 */ stb r0, 0x40(r1) lbl_802493D4: /* 802493D4 00246334 88 01 00 40 */ lbz r0, 0x40(r1) /* 802493D8 00246338 28 00 00 00 */ cmplwi r0, 0 /* 802493DC 0024633C 41 82 00 28 */ beq lbl_80249404 /* 802493E0 00246340 83 81 00 44 */ lwz r28, 0x44(r1) /* 802493E4 00246344 28 1C 00 00 */ cmplwi r28, 0 /* 802493E8 00246348 41 82 00 1C */ beq lbl_80249404 /* 802493EC 0024634C 41 82 00 10 */ beq lbl_802493FC /* 802493F0 00246350 7F 83 E3 78 */ mr r3, r28 /* 802493F4 00246354 38 80 00 00 */ li r4, 0 /* 802493F8 00246358 48 0F 7A 49 */ bl __dt__6CTokenFv lbl_802493FC: /* 802493FC 0024635C 7F 83 E3 78 */ mr r3, r28 /* 80249400 00246360 48 0C C5 31 */ bl Free__7CMemoryFPCv lbl_80249404: /* 80249404 00246364 80 BF 00 00 */ lwz r5, 0(r31) /* 80249408 00246368 3C 60 53 54 */ lis r3, 0x53545247@ha /* 8024940C 0024636C 38 03 52 47 */ addi r0, r3, 0x53545247@l /* 80249410 00246370 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 80249414 00246374 90 01 00 48 */ stw r0, 0x48(r1) /* 80249418 00246378 38 81 00 48 */ addi r4, r1, 0x48 /* 8024941C 0024637C 90 A1 00 4C */ stw r5, 0x4c(r1) /* 80249420 00246380 81 83 00 00 */ lwz r12, 0(r3) /* 80249424 00246384 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80249428 00246388 7D 89 03 A6 */ mtctr r12 /* 8024942C 0024638C 4E 80 04 21 */ bctrl /* 80249430 00246390 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80249434 00246394 41 82 00 A8 */ beq lbl_802494DC /* 80249438 00246398 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8024943C 0024639C 38 61 00 38 */ addi r3, r1, 0x38 /* 80249440 002463A0 38 A1 00 48 */ addi r5, r1, 0x48 /* 80249444 002463A4 81 84 00 00 */ lwz r12, 0(r4) /* 80249448 002463A8 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8024944C 002463AC 7D 89 03 A6 */ mtctr r12 /* 80249450 002463B0 4E 80 04 21 */ bctrl /* 80249454 002463B4 38 61 00 50 */ addi r3, r1, 0x50 /* 80249458 002463B8 38 81 00 38 */ addi r4, r1, 0x38 /* 8024945C 002463BC 48 0F 7A 4D */ bl __ct__6CTokenFRC6CToken /* 80249460 002463C0 38 00 00 00 */ li r0, 0 /* 80249464 002463C4 90 01 00 58 */ stw r0, 0x58(r1) /* 80249468 002463C8 88 1F 00 38 */ lbz r0, 0x38(r31) /* 8024946C 002463CC 28 00 00 00 */ cmplwi r0, 0 /* 80249470 002463D0 40 82 00 2C */ bne lbl_8024949C /* 80249474 002463D4 37 9F 00 2C */ addic. r28, r31, 0x2c /* 80249478 002463D8 41 82 00 18 */ beq lbl_80249490 /* 8024947C 002463DC 7F 83 E3 78 */ mr r3, r28 /* 80249480 002463E0 38 81 00 50 */ addi r4, r1, 0x50 /* 80249484 002463E4 48 0F 7A 25 */ bl __ct__6CTokenFRC6CToken /* 80249488 002463E8 80 01 00 58 */ lwz r0, 0x58(r1) /* 8024948C 002463EC 90 1C 00 08 */ stw r0, 8(r28) lbl_80249490: /* 80249490 002463F0 38 00 00 01 */ li r0, 1 /* 80249494 002463F4 98 1F 00 38 */ stb r0, 0x38(r31) /* 80249498 002463F8 48 00 00 1C */ b lbl_802494B4 lbl_8024949C: /* 8024949C 002463FC 3B 9F 00 2C */ addi r28, r31, 0x2c /* 802494A0 00246400 38 81 00 50 */ addi r4, r1, 0x50 /* 802494A4 00246404 7F 83 E3 78 */ mr r3, r28 /* 802494A8 00246408 48 0F 78 1D */ bl __as__6CTokenFRC6CToken /* 802494AC 0024640C 80 01 00 58 */ lwz r0, 0x58(r1) /* 802494B0 00246410 90 1C 00 08 */ stw r0, 8(r28) lbl_802494B4: /* 802494B4 00246414 38 61 00 50 */ addi r3, r1, 0x50 /* 802494B8 00246418 38 80 00 00 */ li r4, 0 /* 802494BC 0024641C 48 0F 79 85 */ bl __dt__6CTokenFv /* 802494C0 00246420 38 61 00 38 */ addi r3, r1, 0x38 /* 802494C4 00246424 38 80 FF FF */ li r4, -1 /* 802494C8 00246428 48 0F 79 79 */ bl __dt__6CTokenFv /* 802494CC 0024642C 38 7F 00 2C */ addi r3, r31, 0x2c /* 802494D0 00246430 48 0F 78 B5 */ bl Lock__6CTokenFv /* 802494D4 00246434 48 00 00 08 */ b lbl_802494DC lbl_802494D8: /* 802494D8 00246438 3B 20 00 00 */ li r25, 0 lbl_802494DC: /* 802494DC 0024643C 3B BD 00 3C */ addi r29, r29, 0x3c lbl_802494E0: /* 802494E0 00246440 80 1A 00 04 */ lwz r0, 4(r26) /* 802494E4 00246444 80 7A 00 0C */ lwz r3, 0xc(r26) /* 802494E8 00246448 1C 00 00 3C */ mulli r0, r0, 0x3c /* 802494EC 0024644C 7C 03 02 14 */ add r0, r3, r0 /* 802494F0 00246450 7C 1D 00 40 */ cmplw r29, r0 /* 802494F4 00246454 40 82 FC A8 */ bne lbl_8024919C /* 802494F8 00246458 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 802494FC 0024645C 41 82 00 50 */ beq lbl_8024954C /* 80249500 00246460 38 78 00 1C */ addi r3, r24, 0x1c /* 80249504 00246464 38 80 00 00 */ li r4, 0 /* 80249508 00246468 48 00 00 5D */ bl sub_80249564 /* 8024950C 0024646C 88 E1 00 10 */ lbz r7, 0x10(r1) /* 80249510 00246470 38 61 00 14 */ addi r3, r1, 0x14 /* 80249514 00246474 38 81 00 1C */ addi r4, r1, 0x1c /* 80249518 00246478 38 A1 00 08 */ addi r5, r1, 8 /* 8024951C 0024647C 98 E1 00 08 */ stb r7, 8(r1) /* 80249520 00246480 80 18 00 24 */ lwz r0, 0x24(r24) /* 80249524 00246484 80 D8 00 2C */ lwz r6, 0x2c(r24) /* 80249528 00246488 54 00 18 38 */ slwi r0, r0, 3 /* 8024952C 0024648C 98 E1 00 0C */ stb r7, 0xc(r1) /* 80249530 00246490 7C C6 02 14 */ add r6, r6, r0 /* 80249534 00246494 90 C1 00 1C */ stw r6, 0x1c(r1) /* 80249538 00246498 80 18 00 2C */ lwz r0, 0x2c(r24) /* 8024953C 0024649C 90 C1 00 20 */ stw r6, 0x20(r1) /* 80249540 002464A0 90 01 00 18 */ stw r0, 0x18(r1) /* 80249544 002464A4 90 01 00 14 */ stw r0, 0x14(r1) /* 80249548 002464A8 4B FC 64 59 */ bl sub_8020f9a0 lbl_8024954C: /* 8024954C 002464AC 38 60 00 00 */ li r3, 0 lbl_80249550: /* 80249550 002464B0 BB 01 00 60 */ lmw r24, 0x60(r1) /* 80249554 002464B4 80 01 00 84 */ lwz r0, 0x84(r1) /* 80249558 002464B8 7C 08 03 A6 */ mtlr r0 /* 8024955C 002464BC 38 21 00 80 */ addi r1, r1, 0x80 /* 80249560 002464C0 4E 80 00 20 */ blr .global sub_80249564 sub_80249564: /* 80249564 002464C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80249568 002464C8 7C 08 02 A6 */ mflr r0 /* 8024956C 002464CC 90 01 00 14 */ stw r0, 0x14(r1) /* 80249570 002464D0 93 E1 00 0C */ stw r31, 0xc(r1) /* 80249574 002464D4 7C 9F 23 78 */ mr r31, r4 /* 80249578 002464D8 38 80 00 01 */ li r4, 1 /* 8024957C 002464DC 93 C1 00 08 */ stw r30, 8(r1) /* 80249580 002464E0 7C 7E 1B 78 */ mr r30, r3 /* 80249584 002464E4 80 63 00 00 */ lwz r3, 0(r3) /* 80249588 002464E8 48 00 00 25 */ bl sub_802495ac /* 8024958C 002464EC 93 FE 00 00 */ stw r31, 0(r30) /* 80249590 002464F0 7F C3 F3 78 */ mr r3, r30 /* 80249594 002464F4 80 01 00 14 */ lwz r0, 0x14(r1) /* 80249598 002464F8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024959C 002464FC 83 C1 00 08 */ lwz r30, 8(r1) /* 802495A0 00246500 7C 08 03 A6 */ mtlr r0 /* 802495A4 00246504 38 21 00 10 */ addi r1, r1, 0x10 /* 802495A8 00246508 4E 80 00 20 */ blr .global sub_802495ac sub_802495ac: /* 802495AC 0024650C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802495B0 00246510 7C 08 02 A6 */ mflr r0 /* 802495B4 00246514 90 01 00 24 */ stw r0, 0x24(r1) /* 802495B8 00246518 93 E1 00 1C */ stw r31, 0x1c(r1) /* 802495BC 0024651C 7C 9F 23 78 */ mr r31, r4 /* 802495C0 00246520 93 C1 00 18 */ stw r30, 0x18(r1) /* 802495C4 00246524 7C 7E 1B 79 */ or. r30, r3, r3 /* 802495C8 00246528 41 82 00 54 */ beq lbl_8024961C /* 802495CC 0024652C 80 1E 00 04 */ lwz r0, 4(r30) /* 802495D0 00246530 38 61 00 14 */ addi r3, r1, 0x14 /* 802495D4 00246534 80 BE 00 0C */ lwz r5, 0xc(r30) /* 802495D8 00246538 38 81 00 0C */ addi r4, r1, 0xc /* 802495DC 0024653C 1C 00 00 3C */ mulli r0, r0, 0x3c /* 802495E0 00246540 7C A5 02 14 */ add r5, r5, r0 /* 802495E4 00246544 90 A1 00 0C */ stw r5, 0xc(r1) /* 802495E8 00246548 80 1E 00 0C */ lwz r0, 0xc(r30) /* 802495EC 0024654C 90 A1 00 08 */ stw r5, 8(r1) /* 802495F0 00246550 90 01 00 10 */ stw r0, 0x10(r1) /* 802495F4 00246554 90 01 00 14 */ stw r0, 0x14(r1) /* 802495F8 00246558 48 00 00 41 */ bl sub_80249638 /* 802495FC 0024655C 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80249600 00246560 28 03 00 00 */ cmplwi r3, 0 /* 80249604 00246564 41 82 00 08 */ beq lbl_8024960C /* 80249608 00246568 48 0C C3 29 */ bl Free__7CMemoryFPCv lbl_8024960C: /* 8024960C 0024656C 7F E0 07 35 */ extsh. r0, r31 /* 80249610 00246570 40 81 00 0C */ ble lbl_8024961C /* 80249614 00246574 7F C3 F3 78 */ mr r3, r30 /* 80249618 00246578 48 0C C3 19 */ bl Free__7CMemoryFPCv lbl_8024961C: /* 8024961C 0024657C 80 01 00 24 */ lwz r0, 0x24(r1) /* 80249620 00246580 7F C3 F3 78 */ mr r3, r30 /* 80249624 00246584 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80249628 00246588 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024962C 0024658C 7C 08 03 A6 */ mtlr r0 /* 80249630 00246590 38 21 00 20 */ addi r1, r1, 0x20 /* 80249634 00246594 4E 80 00 20 */ blr .global sub_80249638 sub_80249638: /* 80249638 00246598 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024963C 0024659C 7C 08 02 A6 */ mflr r0 /* 80249640 002465A0 90 01 00 14 */ stw r0, 0x14(r1) /* 80249644 002465A4 93 E1 00 0C */ stw r31, 0xc(r1) /* 80249648 002465A8 93 C1 00 08 */ stw r30, 8(r1) /* 8024964C 002465AC 7C 9E 23 78 */ mr r30, r4 /* 80249650 002465B0 83 E3 00 00 */ lwz r31, 0(r3) /* 80249654 002465B4 48 00 00 10 */ b lbl_80249664 lbl_80249658: /* 80249658 002465B8 7F E3 FB 78 */ mr r3, r31 /* 8024965C 002465BC 48 00 00 2D */ bl sub_80249688 /* 80249660 002465C0 3B FF 00 3C */ addi r31, r31, 0x3c lbl_80249664: /* 80249664 002465C4 80 1E 00 00 */ lwz r0, 0(r30) /* 80249668 002465C8 7C 1F 00 40 */ cmplw r31, r0 /* 8024966C 002465CC 40 82 FF EC */ bne lbl_80249658 /* 80249670 002465D0 80 01 00 14 */ lwz r0, 0x14(r1) /* 80249674 002465D4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80249678 002465D8 83 C1 00 08 */ lwz r30, 8(r1) /* 8024967C 002465DC 7C 08 03 A6 */ mtlr r0 /* 80249680 002465E0 38 21 00 10 */ addi r1, r1, 0x10 /* 80249684 002465E4 4E 80 00 20 */ blr .global sub_80249688 sub_80249688: /* 80249688 002465E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024968C 002465EC 7C 08 02 A6 */ mflr r0 /* 80249690 002465F0 38 80 FF FF */ li r4, -1 /* 80249694 002465F4 90 01 00 14 */ stw r0, 0x14(r1) /* 80249698 002465F8 48 00 00 15 */ bl sub_802496ac /* 8024969C 002465FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 802496A0 00246600 7C 08 03 A6 */ mtlr r0 /* 802496A4 00246604 38 21 00 10 */ addi r1, r1, 0x10 /* 802496A8 00246608 4E 80 00 20 */ blr .global sub_802496ac sub_802496ac: /* 802496AC 0024660C 94 21 FF C0 */ stwu r1, -0x40(r1) /* 802496B0 00246610 7C 08 02 A6 */ mflr r0 /* 802496B4 00246614 90 01 00 44 */ stw r0, 0x44(r1) /* 802496B8 00246618 93 E1 00 3C */ stw r31, 0x3c(r1) /* 802496BC 0024661C 7C 9F 23 78 */ mr r31, r4 /* 802496C0 00246620 93 C1 00 38 */ stw r30, 0x38(r1) /* 802496C4 00246624 7C 7E 1B 79 */ or. r30, r3, r3 /* 802496C8 00246628 93 A1 00 34 */ stw r29, 0x34(r1) /* 802496CC 0024662C 41 82 01 10 */ beq lbl_802497DC /* 802496D0 00246630 34 1E 00 34 */ addic. r0, r30, 0x34 /* 802496D4 00246634 41 82 00 34 */ beq lbl_80249708 /* 802496D8 00246638 88 1E 00 34 */ lbz r0, 0x34(r30) /* 802496DC 0024663C 28 00 00 00 */ cmplwi r0, 0 /* 802496E0 00246640 41 82 00 28 */ beq lbl_80249708 /* 802496E4 00246644 83 BE 00 38 */ lwz r29, 0x38(r30) /* 802496E8 00246648 28 1D 00 00 */ cmplwi r29, 0 /* 802496EC 0024664C 41 82 00 1C */ beq lbl_80249708 /* 802496F0 00246650 41 82 00 10 */ beq lbl_80249700 /* 802496F4 00246654 7F A3 EB 78 */ mr r3, r29 /* 802496F8 00246658 38 80 00 00 */ li r4, 0 /* 802496FC 0024665C 48 0F 77 45 */ bl __dt__6CTokenFv lbl_80249700: /* 80249700 00246660 7F A3 EB 78 */ mr r3, r29 /* 80249704 00246664 48 0C C2 2D */ bl Free__7CMemoryFPCv lbl_80249708: /* 80249708 00246668 34 1E 00 2C */ addic. r0, r30, 0x2c /* 8024970C 0024666C 41 82 00 30 */ beq lbl_8024973C /* 80249710 00246670 88 1E 00 2C */ lbz r0, 0x2c(r30) /* 80249714 00246674 28 00 00 00 */ cmplwi r0, 0 /* 80249718 00246678 41 82 00 24 */ beq lbl_8024973C /* 8024971C 0024667C 80 7E 00 30 */ lwz r3, 0x30(r30) /* 80249720 00246680 28 03 00 00 */ cmplwi r3, 0 /* 80249724 00246684 41 82 00 18 */ beq lbl_8024973C /* 80249728 00246688 81 83 00 00 */ lwz r12, 0(r3) /* 8024972C 0024668C 38 80 00 01 */ li r4, 1 /* 80249730 00246690 81 8C 00 08 */ lwz r12, 8(r12) /* 80249734 00246694 7D 89 03 A6 */ mtctr r12 /* 80249738 00246698 4E 80 04 21 */ bctrl lbl_8024973C: /* 8024973C 0024669C 34 1E 00 1C */ addic. r0, r30, 0x1c /* 80249740 002466A0 41 82 00 44 */ beq lbl_80249784 /* 80249744 002466A4 80 1E 00 20 */ lwz r0, 0x20(r30) /* 80249748 002466A8 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8024974C 002466AC 54 00 20 36 */ slwi r0, r0, 4 /* 80249750 002466B0 7C 03 02 14 */ add r0, r3, r0 /* 80249754 002466B4 90 61 00 1C */ stw r3, 0x1c(r1) /* 80249758 002466B8 7C 64 1B 78 */ mr r4, r3 /* 8024975C 002466BC 90 01 00 24 */ stw r0, 0x24(r1) /* 80249760 002466C0 90 01 00 20 */ stw r0, 0x20(r1) /* 80249764 002466C4 90 61 00 18 */ stw r3, 0x18(r1) /* 80249768 002466C8 48 00 00 08 */ b lbl_80249770 lbl_8024976C: /* 8024976C 002466CC 38 84 00 10 */ addi r4, r4, 0x10 lbl_80249770: /* 80249770 002466D0 7C 04 00 40 */ cmplw r4, r0 /* 80249774 002466D4 40 82 FF F8 */ bne lbl_8024976C /* 80249778 002466D8 28 03 00 00 */ cmplwi r3, 0 /* 8024977C 002466DC 41 82 00 08 */ beq lbl_80249784 /* 80249780 002466E0 48 0C C1 B1 */ bl Free__7CMemoryFPCv lbl_80249784: /* 80249784 002466E4 34 1E 00 0C */ addic. r0, r30, 0xc /* 80249788 002466E8 41 82 00 44 */ beq lbl_802497CC /* 8024978C 002466EC 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80249790 002466F0 80 7E 00 18 */ lwz r3, 0x18(r30) /* 80249794 002466F4 54 00 10 3A */ slwi r0, r0, 2 /* 80249798 002466F8 7C 03 02 14 */ add r0, r3, r0 /* 8024979C 002466FC 90 61 00 0C */ stw r3, 0xc(r1) /* 802497A0 00246700 7C 64 1B 78 */ mr r4, r3 /* 802497A4 00246704 90 01 00 14 */ stw r0, 0x14(r1) /* 802497A8 00246708 90 01 00 10 */ stw r0, 0x10(r1) /* 802497AC 0024670C 90 61 00 08 */ stw r3, 8(r1) /* 802497B0 00246710 48 00 00 08 */ b lbl_802497B8 lbl_802497B4: /* 802497B4 00246714 38 84 00 04 */ addi r4, r4, 4 lbl_802497B8: /* 802497B8 00246718 7C 04 00 40 */ cmplw r4, r0 /* 802497BC 0024671C 40 82 FF F8 */ bne lbl_802497B4 /* 802497C0 00246720 28 03 00 00 */ cmplwi r3, 0 /* 802497C4 00246724 41 82 00 08 */ beq lbl_802497CC /* 802497C8 00246728 48 0C C1 69 */ bl Free__7CMemoryFPCv lbl_802497CC: /* 802497CC 0024672C 7F E0 07 35 */ extsh. r0, r31 /* 802497D0 00246730 40 81 00 0C */ ble lbl_802497DC /* 802497D4 00246734 7F C3 F3 78 */ mr r3, r30 /* 802497D8 00246738 48 0C C1 59 */ bl Free__7CMemoryFPCv lbl_802497DC: /* 802497DC 0024673C 80 01 00 44 */ lwz r0, 0x44(r1) /* 802497E0 00246740 7F C3 F3 78 */ mr r3, r30 /* 802497E4 00246744 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 802497E8 00246748 83 C1 00 38 */ lwz r30, 0x38(r1) /* 802497EC 0024674C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 802497F0 00246750 7C 08 03 A6 */ mtlr r0 /* 802497F4 00246754 38 21 00 40 */ addi r1, r1, 0x40 /* 802497F8 00246758 4E 80 00 20 */ blr .global InitializePump__20CMemorySomethingElseFv InitializePump__20CMemorySomethingElseFv: /* 802497FC 0024675C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80249800 00246760 7C 08 02 A6 */ mflr r0 /* 80249804 00246764 90 01 00 54 */ stw r0, 0x54(r1) /* 80249808 00246768 BF 61 00 3C */ stmw r27, 0x3c(r1) /* 8024980C 0024676C 7C 7F 1B 78 */ mr r31, r3 /* 80249810 00246770 80 63 00 30 */ lwz r3, 0x30(r3) /* 80249814 00246774 28 03 00 00 */ cmplwi r3, 0 /* 80249818 00246778 41 82 03 08 */ beq lbl_80249B20 /* 8024981C 0024677C 81 83 00 00 */ lwz r12, 0(r3) /* 80249820 00246780 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 80249824 00246784 7D 89 03 A6 */ mtctr r12 /* 80249828 00246788 4E 80 04 21 */ bctrl /* 8024982C 0024678C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80249830 00246790 41 82 03 60 */ beq lbl_80249B90 /* 80249834 00246794 83 BF 00 30 */ lwz r29, 0x30(r31) /* 80249838 00246798 81 9D 00 00 */ lwz r12, 0(r29) /* 8024983C 0024679C 7F A3 EB 78 */ mr r3, r29 /* 80249840 002467A0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80249844 002467A4 7D 89 03 A6 */ mtctr r12 /* 80249848 002467A8 4E 80 04 21 */ bctrl /* 8024984C 002467AC 90 7F 00 04 */ stw r3, 4(r31) /* 80249850 002467B0 7F A3 EB 78 */ mr r3, r29 /* 80249854 002467B4 81 9D 00 00 */ lwz r12, 0(r29) /* 80249858 002467B8 81 8C 00 14 */ lwz r12, 0x14(r12) /* 8024985C 002467BC 7D 89 03 A6 */ mtctr r12 /* 80249860 002467C0 4E 80 04 21 */ bctrl /* 80249864 002467C4 90 7F 00 08 */ stw r3, 8(r31) /* 80249868 002467C8 7F A3 EB 78 */ mr r3, r29 /* 8024986C 002467CC 81 9D 00 00 */ lwz r12, 0(r29) /* 80249870 002467D0 81 8C 00 34 */ lwz r12, 0x34(r12) /* 80249874 002467D4 7D 89 03 A6 */ mtctr r12 /* 80249878 002467D8 4E 80 04 21 */ bctrl /* 8024987C 002467DC 7C 60 1B 78 */ mr r0, r3 /* 80249880 002467E0 38 7F 00 0C */ addi r3, r31, 0xc /* 80249884 002467E4 7C 1C 03 78 */ mr r28, r0 /* 80249888 002467E8 7F 84 E3 78 */ mr r4, r28 /* 8024988C 002467EC 4B E1 A2 99 */ bl "reserve__Q24rstl37vectorFi" /* 80249890 002467F0 3B 60 00 00 */ li r27, 0 /* 80249894 002467F4 48 00 00 88 */ b lbl_8024991C lbl_80249898: /* 80249898 002467F8 93 61 00 0C */ stw r27, 0xc(r1) /* 8024989C 002467FC 7F A3 EB 78 */ mr r3, r29 /* 802498A0 00246800 38 81 00 0C */ addi r4, r1, 0xc /* 802498A4 00246804 81 9D 00 00 */ lwz r12, 0(r29) /* 802498A8 00246808 93 61 00 08 */ stw r27, 8(r1) /* 802498AC 0024680C 81 8C 00 20 */ lwz r12, 0x20(r12) /* 802498B0 00246810 7D 89 03 A6 */ mtctr r12 /* 802498B4 00246814 4E 80 04 21 */ bctrl /* 802498B8 00246818 81 83 00 00 */ lwz r12, 0(r3) /* 802498BC 0024681C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 802498C0 00246820 7D 89 03 A6 */ mtctr r12 /* 802498C4 00246824 4E 80 04 21 */ bctrl /* 802498C8 00246828 80 1F 00 10 */ lwz r0, 0x10(r31) /* 802498CC 0024682C 7C 7E 1B 78 */ mr r30, r3 /* 802498D0 00246830 80 BF 00 14 */ lwz r5, 0x14(r31) /* 802498D4 00246834 7C 00 28 00 */ cmpw r0, r5 /* 802498D8 00246838 41 80 00 1C */ blt lbl_802498F4 /* 802498DC 0024683C 2C 05 00 00 */ cmpwi r5, 0 /* 802498E0 00246840 38 7F 00 0C */ addi r3, r31, 0xc /* 802498E4 00246844 38 80 00 04 */ li r4, 4 /* 802498E8 00246848 41 82 00 08 */ beq lbl_802498F0 /* 802498EC 0024684C 54 A4 08 3C */ slwi r4, r5, 1 lbl_802498F0: /* 802498F0 00246850 4B E1 A2 35 */ bl "reserve__Q24rstl37vectorFi" lbl_802498F4: /* 802498F4 00246854 80 1F 00 10 */ lwz r0, 0x10(r31) /* 802498F8 00246858 80 7F 00 18 */ lwz r3, 0x18(r31) /* 802498FC 0024685C 54 00 10 3A */ slwi r0, r0, 2 /* 80249900 00246860 7C 63 02 15 */ add. r3, r3, r0 /* 80249904 00246864 41 82 00 08 */ beq lbl_8024990C /* 80249908 00246868 93 C3 00 00 */ stw r30, 0(r3) lbl_8024990C: /* 8024990C 0024686C 80 7F 00 10 */ lwz r3, 0x10(r31) /* 80249910 00246870 3B 7B 00 01 */ addi r27, r27, 1 /* 80249914 00246874 38 03 00 01 */ addi r0, r3, 1 /* 80249918 00246878 90 1F 00 10 */ stw r0, 0x10(r31) lbl_8024991C: /* 8024991C 0024687C 7C 1B E0 00 */ cmpw r27, r28 /* 80249920 00246880 41 80 FF 78 */ blt lbl_80249898 /* 80249924 00246884 7F A3 EB 78 */ mr r3, r29 /* 80249928 00246888 81 9D 00 00 */ lwz r12, 0(r29) /* 8024992C 0024688C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80249930 00246890 7D 89 03 A6 */ mtctr r12 /* 80249934 00246894 4E 80 04 21 */ bctrl /* 80249938 00246898 7C 64 1B 78 */ mr r4, r3 /* 8024993C 0024689C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 80249940 002468A0 4B F8 A0 99 */ bl StateForWorld__10CGameStateFUi /* 80249944 002468A4 4B F8 B3 F1 */ bl GetLayerState__11CWorldStateFv /* 80249948 002468A8 80 63 00 00 */ lwz r3, 0(r3) /* 8024994C 002468AC 80 63 00 00 */ lwz r3, 0(r3) /* 80249950 002468B0 4B FE A6 61 */ bl nullsub_5 /* 80249954 002468B4 7C 64 1B 78 */ mr r4, r3 /* 80249958 002468B8 38 7F 00 1C */ addi r3, r31, 0x1c /* 8024995C 002468BC 4B FE A8 11 */ bl sub_8023416c /* 80249960 002468C0 80 7F 00 08 */ lwz r3, 8(r31) /* 80249964 002468C4 3C 03 00 01 */ addis r0, r3, 1 /* 80249968 002468C8 28 00 FF FF */ cmplwi r0, 0xffff /* 8024996C 002468CC 41 82 01 24 */ beq lbl_80249A90 /* 80249970 002468D0 3C 60 80 3D */ lis r3, lbl_803D4780@ha /* 80249974 002468D4 3B C0 00 00 */ li r30, 0 /* 80249978 002468D8 38 83 47 80 */ addi r4, r3, lbl_803D4780@l /* 8024997C 002468DC 38 A0 00 00 */ li r5, 0 /* 80249980 002468E0 38 60 00 0C */ li r3, 0xc /* 80249984 002468E4 48 0C BE E9 */ bl __nw__FUlPCcPCc /* 80249988 002468E8 7C 7D 1B 79 */ or. r29, r3, r3 /* 8024998C 002468EC 41 82 00 4C */ beq lbl_802499D8 /* 80249990 002468F0 80 DF 00 08 */ lwz r6, 8(r31) /* 80249994 002468F4 3C 60 53 41 */ lis r3, 0x53415657@ha /* 80249998 002468F8 38 03 56 57 */ addi r0, r3, 0x53415657@l /* 8024999C 002468FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 802499A0 00246900 90 01 00 28 */ stw r0, 0x28(r1) /* 802499A4 00246904 38 61 00 20 */ addi r3, r1, 0x20 /* 802499A8 00246908 38 A1 00 28 */ addi r5, r1, 0x28 /* 802499AC 0024690C 90 C1 00 2C */ stw r6, 0x2c(r1) /* 802499B0 00246910 81 84 00 00 */ lwz r12, 0(r4) /* 802499B4 00246914 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802499B8 00246918 7D 89 03 A6 */ mtctr r12 /* 802499BC 0024691C 4E 80 04 21 */ bctrl /* 802499C0 00246920 7F A3 EB 78 */ mr r3, r29 /* 802499C4 00246924 38 81 00 20 */ addi r4, r1, 0x20 /* 802499C8 00246928 3B C0 00 01 */ li r30, 1 /* 802499CC 0024692C 48 0F 74 DD */ bl __ct__6CTokenFRC6CToken /* 802499D0 00246930 38 00 00 00 */ li r0, 0 /* 802499D4 00246934 90 1D 00 08 */ stw r0, 8(r29) lbl_802499D8: /* 802499D8 00246938 7C 1D 00 D0 */ neg r0, r29 /* 802499DC 0024693C 38 61 00 18 */ addi r3, r1, 0x18 /* 802499E0 00246940 7C 04 EB 78 */ or r4, r0, r29 /* 802499E4 00246944 38 1F 00 34 */ addi r0, r31, 0x34 /* 802499E8 00246948 54 84 0F FE */ srwi r4, r4, 0x1f /* 802499EC 0024694C 93 A1 00 1C */ stw r29, 0x1c(r1) /* 802499F0 00246950 7C 03 00 40 */ cmplw r3, r0 /* 802499F4 00246954 98 81 00 18 */ stb r4, 0x18(r1) /* 802499F8 00246958 41 82 00 4C */ beq lbl_80249A44 /* 802499FC 0024695C 88 1F 00 34 */ lbz r0, 0x34(r31) /* 80249A00 00246960 28 00 00 00 */ cmplwi r0, 0 /* 80249A04 00246964 41 82 00 28 */ beq lbl_80249A2C /* 80249A08 00246968 83 BF 00 38 */ lwz r29, 0x38(r31) /* 80249A0C 0024696C 28 1D 00 00 */ cmplwi r29, 0 /* 80249A10 00246970 41 82 00 1C */ beq lbl_80249A2C /* 80249A14 00246974 41 82 00 10 */ beq lbl_80249A24 /* 80249A18 00246978 7F A3 EB 78 */ mr r3, r29 /* 80249A1C 0024697C 38 80 00 00 */ li r4, 0 /* 80249A20 00246980 48 0F 74 21 */ bl __dt__6CTokenFv lbl_80249A24: /* 80249A24 00246984 7F A3 EB 78 */ mr r3, r29 /* 80249A28 00246988 48 0C BF 09 */ bl Free__7CMemoryFPCv lbl_80249A2C: /* 80249A2C 0024698C 88 61 00 18 */ lbz r3, 0x18(r1) /* 80249A30 00246990 38 00 00 00 */ li r0, 0 /* 80249A34 00246994 98 7F 00 34 */ stb r3, 0x34(r31) /* 80249A38 00246998 80 61 00 1C */ lwz r3, 0x1c(r1) /* 80249A3C 0024699C 90 7F 00 38 */ stw r3, 0x38(r31) /* 80249A40 002469A0 98 01 00 18 */ stb r0, 0x18(r1) lbl_80249A44: /* 80249A44 002469A4 88 01 00 18 */ lbz r0, 0x18(r1) /* 80249A48 002469A8 28 00 00 00 */ cmplwi r0, 0 /* 80249A4C 002469AC 41 82 00 28 */ beq lbl_80249A74 /* 80249A50 002469B0 83 A1 00 1C */ lwz r29, 0x1c(r1) /* 80249A54 002469B4 28 1D 00 00 */ cmplwi r29, 0 /* 80249A58 002469B8 41 82 00 1C */ beq lbl_80249A74 /* 80249A5C 002469BC 41 82 00 10 */ beq lbl_80249A6C /* 80249A60 002469C0 7F A3 EB 78 */ mr r3, r29 /* 80249A64 002469C4 38 80 00 00 */ li r4, 0 /* 80249A68 002469C8 48 0F 73 D9 */ bl __dt__6CTokenFv lbl_80249A6C: /* 80249A6C 002469CC 7F A3 EB 78 */ mr r3, r29 /* 80249A70 002469D0 48 0C BE C1 */ bl Free__7CMemoryFPCv lbl_80249A74: /* 80249A74 002469D4 7F C0 07 75 */ extsb. r0, r30 /* 80249A78 002469D8 41 82 00 10 */ beq lbl_80249A88 /* 80249A7C 002469DC 38 61 00 20 */ addi r3, r1, 0x20 /* 80249A80 002469E0 38 80 FF FF */ li r4, -1 /* 80249A84 002469E4 48 0F 73 BD */ bl __dt__6CTokenFv lbl_80249A88: /* 80249A88 002469E8 80 7F 00 38 */ lwz r3, 0x38(r31) /* 80249A8C 002469EC 48 0F 72 F9 */ bl Lock__6CTokenFv lbl_80249A90: /* 80249A90 002469F0 38 61 00 10 */ addi r3, r1, 0x10 /* 80249A94 002469F4 38 1F 00 2C */ addi r0, r31, 0x2c /* 80249A98 002469F8 38 80 00 00 */ li r4, 0 /* 80249A9C 002469FC 7C 03 00 40 */ cmplw r3, r0 /* 80249AA0 00246A00 98 81 00 10 */ stb r4, 0x10(r1) /* 80249AA4 00246A04 90 81 00 14 */ stw r4, 0x14(r1) /* 80249AA8 00246A08 41 82 00 48 */ beq lbl_80249AF0 /* 80249AAC 00246A0C 88 1F 00 2C */ lbz r0, 0x2c(r31) /* 80249AB0 00246A10 28 00 00 00 */ cmplwi r0, 0 /* 80249AB4 00246A14 41 82 00 24 */ beq lbl_80249AD8 /* 80249AB8 00246A18 80 7F 00 30 */ lwz r3, 0x30(r31) /* 80249ABC 00246A1C 28 03 00 00 */ cmplwi r3, 0 /* 80249AC0 00246A20 41 82 00 18 */ beq lbl_80249AD8 /* 80249AC4 00246A24 81 83 00 00 */ lwz r12, 0(r3) /* 80249AC8 00246A28 38 80 00 01 */ li r4, 1 /* 80249ACC 00246A2C 81 8C 00 08 */ lwz r12, 8(r12) /* 80249AD0 00246A30 7D 89 03 A6 */ mtctr r12 /* 80249AD4 00246A34 4E 80 04 21 */ bctrl lbl_80249AD8: /* 80249AD8 00246A38 88 61 00 10 */ lbz r3, 0x10(r1) /* 80249ADC 00246A3C 38 00 00 00 */ li r0, 0 /* 80249AE0 00246A40 98 7F 00 2C */ stb r3, 0x2c(r31) /* 80249AE4 00246A44 80 61 00 14 */ lwz r3, 0x14(r1) /* 80249AE8 00246A48 90 7F 00 30 */ stw r3, 0x30(r31) /* 80249AEC 00246A4C 98 01 00 10 */ stb r0, 0x10(r1) lbl_80249AF0: /* 80249AF0 00246A50 88 01 00 10 */ lbz r0, 0x10(r1) /* 80249AF4 00246A54 28 00 00 00 */ cmplwi r0, 0 /* 80249AF8 00246A58 41 82 00 98 */ beq lbl_80249B90 /* 80249AFC 00246A5C 80 61 00 14 */ lwz r3, 0x14(r1) /* 80249B00 00246A60 28 03 00 00 */ cmplwi r3, 0 /* 80249B04 00246A64 41 82 00 8C */ beq lbl_80249B90 /* 80249B08 00246A68 81 83 00 00 */ lwz r12, 0(r3) /* 80249B0C 00246A6C 38 80 00 01 */ li r4, 1 /* 80249B10 00246A70 81 8C 00 08 */ lwz r12, 8(r12) /* 80249B14 00246A74 7D 89 03 A6 */ mtctr r12 /* 80249B18 00246A78 4E 80 04 21 */ bctrl /* 80249B1C 00246A7C 48 00 00 74 */ b lbl_80249B90 lbl_80249B20: /* 80249B20 00246A80 83 BF 00 38 */ lwz r29, 0x38(r31) /* 80249B24 00246A84 28 1D 00 00 */ cmplwi r29, 0 /* 80249B28 00246A88 41 82 00 60 */ beq lbl_80249B88 /* 80249B2C 00246A8C 80 1D 00 08 */ lwz r0, 8(r29) /* 80249B30 00246A90 28 00 00 00 */ cmplwi r0, 0 /* 80249B34 00246A94 41 82 00 0C */ beq lbl_80249B40 /* 80249B38 00246A98 38 60 00 01 */ li r3, 1 /* 80249B3C 00246A9C 48 00 00 3C */ b lbl_80249B78 lbl_80249B40: /* 80249B40 00246AA0 88 1D 00 04 */ lbz r0, 4(r29) /* 80249B44 00246AA4 28 00 00 00 */ cmplwi r0, 0 /* 80249B48 00246AA8 41 82 00 2C */ beq lbl_80249B74 /* 80249B4C 00246AAC 80 7D 00 00 */ lwz r3, 0(r29) /* 80249B50 00246AB0 80 03 00 10 */ lwz r0, 0x10(r3) /* 80249B54 00246AB4 28 00 00 00 */ cmplwi r0, 0 /* 80249B58 00246AB8 41 82 00 1C */ beq lbl_80249B74 /* 80249B5C 00246ABC 7F A3 EB 78 */ mr r3, r29 /* 80249B60 00246AC0 48 0F 72 AD */ bl GetObj__6CTokenFv /* 80249B64 00246AC4 80 03 00 04 */ lwz r0, 4(r3) /* 80249B68 00246AC8 38 60 00 01 */ li r3, 1 /* 80249B6C 00246ACC 90 1D 00 08 */ stw r0, 8(r29) /* 80249B70 00246AD0 48 00 00 08 */ b lbl_80249B78 lbl_80249B74: /* 80249B74 00246AD4 38 60 00 00 */ li r3, 0 lbl_80249B78: /* 80249B78 00246AD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 80249B7C 00246ADC 41 82 00 14 */ beq lbl_80249B90 /* 80249B80 00246AE0 38 60 00 01 */ li r3, 1 /* 80249B84 00246AE4 48 00 00 10 */ b lbl_80249B94 lbl_80249B88: /* 80249B88 00246AE8 38 60 00 01 */ li r3, 1 /* 80249B8C 00246AEC 48 00 00 08 */ b lbl_80249B94 lbl_80249B90: /* 80249B90 00246AF0 38 60 00 00 */ li r3, 0 lbl_80249B94: /* 80249B94 00246AF4 BB 61 00 3C */ lmw r27, 0x3c(r1) /* 80249B98 00246AF8 80 01 00 54 */ lwz r0, 0x54(r1) /* 80249B9C 00246AFC 7C 08 03 A6 */ mtlr r0 /* 80249BA0 00246B00 38 21 00 50 */ addi r1, r1, 0x50 /* 80249BA4 00246B04 4E 80 00 20 */ blr .global __ct__20CMemorySomethingElseFUiUi __ct__20CMemorySomethingElseFUiUi: /* 80249BA8 00246B08 94 21 FF C0 */ stwu r1, -0x40(r1) /* 80249BAC 00246B0C 7C 08 02 A6 */ mflr r0 /* 80249BB0 00246B10 90 01 00 44 */ stw r0, 0x44(r1) /* 80249BB4 00246B14 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 80249BB8 00246B18 7C 7D 1B 78 */ mr r29, r3 /* 80249BBC 00246B1C 38 60 00 00 */ li r3, 0 /* 80249BC0 00246B20 7C BF 2B 78 */ mr r31, r5 /* 80249BC4 00246B24 3C 1F 00 01 */ addis r0, r31, 1 /* 80249BC8 00246B28 7C 9E 23 78 */ mr r30, r4 /* 80249BCC 00246B2C 28 00 FF FF */ cmplwi r0, 0xffff /* 80249BD0 00246B30 90 7D 00 10 */ stw r3, 0x10(r29) /* 80249BD4 00246B34 90 7D 00 14 */ stw r3, 0x14(r29) /* 80249BD8 00246B38 90 7D 00 18 */ stw r3, 0x18(r29) /* 80249BDC 00246B3C 90 7D 00 20 */ stw r3, 0x20(r29) /* 80249BE0 00246B40 90 7D 00 24 */ stw r3, 0x24(r29) /* 80249BE4 00246B44 90 7D 00 28 */ stw r3, 0x28(r29) /* 80249BE8 00246B48 98 7D 00 2C */ stb r3, 0x2c(r29) /* 80249BEC 00246B4C 90 7D 00 30 */ stw r3, 0x30(r29) /* 80249BF0 00246B50 98 7D 00 34 */ stb r3, 0x34(r29) /* 80249BF4 00246B54 90 7D 00 38 */ stw r3, 0x38(r29) /* 80249BF8 00246B58 40 82 00 C8 */ bne lbl_80249CC0 /* 80249BFC 00246B5C 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 80249C00 00246B60 38 60 00 40 */ li r3, 0x40 /* 80249C04 00246B64 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 80249C08 00246B68 38 A0 00 00 */ li r5, 0 /* 80249C0C 00246B6C 48 0C BC 61 */ bl __nw__FUlPCcPCc /* 80249C10 00246B70 7C 64 1B 79 */ or. r4, r3, r3 /* 80249C14 00246B74 41 82 00 14 */ beq lbl_80249C28 /* 80249C18 00246B78 7F C4 F3 78 */ mr r4, r30 /* 80249C1C 00246B7C 38 A0 00 00 */ li r5, 0 /* 80249C20 00246B80 4B E0 D8 5D */ bl __ct__11CDummyWorldFUi /* 80249C24 00246B84 7C 64 1B 78 */ mr r4, r3 lbl_80249C28: /* 80249C28 00246B88 7C 64 00 D0 */ neg r3, r4 /* 80249C2C 00246B8C 38 01 00 20 */ addi r0, r1, 0x20 /* 80249C30 00246B90 7C 63 23 78 */ or r3, r3, r4 /* 80249C34 00246B94 38 BD 00 2C */ addi r5, r29, 0x2c /* 80249C38 00246B98 54 63 0F FE */ srwi r3, r3, 0x1f /* 80249C3C 00246B9C 90 81 00 24 */ stw r4, 0x24(r1) /* 80249C40 00246BA0 7C 00 28 40 */ cmplw r0, r5 /* 80249C44 00246BA4 98 61 00 20 */ stb r3, 0x20(r1) /* 80249C48 00246BA8 41 82 00 48 */ beq lbl_80249C90 /* 80249C4C 00246BAC 88 05 00 00 */ lbz r0, 0(r5) /* 80249C50 00246BB0 28 00 00 00 */ cmplwi r0, 0 /* 80249C54 00246BB4 41 82 00 24 */ beq lbl_80249C78 /* 80249C58 00246BB8 80 7D 00 30 */ lwz r3, 0x30(r29) /* 80249C5C 00246BBC 28 03 00 00 */ cmplwi r3, 0 /* 80249C60 00246BC0 41 82 00 18 */ beq lbl_80249C78 /* 80249C64 00246BC4 81 83 00 00 */ lwz r12, 0(r3) /* 80249C68 00246BC8 38 80 00 01 */ li r4, 1 /* 80249C6C 00246BCC 81 8C 00 08 */ lwz r12, 8(r12) /* 80249C70 00246BD0 7D 89 03 A6 */ mtctr r12 /* 80249C74 00246BD4 4E 80 04 21 */ bctrl lbl_80249C78: /* 80249C78 00246BD8 88 61 00 20 */ lbz r3, 0x20(r1) /* 80249C7C 00246BDC 38 00 00 00 */ li r0, 0 /* 80249C80 00246BE0 98 7D 00 2C */ stb r3, 0x2c(r29) /* 80249C84 00246BE4 80 61 00 24 */ lwz r3, 0x24(r1) /* 80249C88 00246BE8 90 7D 00 30 */ stw r3, 0x30(r29) /* 80249C8C 00246BEC 98 01 00 20 */ stb r0, 0x20(r1) lbl_80249C90: /* 80249C90 00246BF0 88 01 00 20 */ lbz r0, 0x20(r1) /* 80249C94 00246BF4 28 00 00 00 */ cmplwi r0, 0 /* 80249C98 00246BF8 41 82 01 44 */ beq lbl_80249DDC /* 80249C9C 00246BFC 80 61 00 24 */ lwz r3, 0x24(r1) /* 80249CA0 00246C00 28 03 00 00 */ cmplwi r3, 0 /* 80249CA4 00246C04 41 82 01 38 */ beq lbl_80249DDC /* 80249CA8 00246C08 81 83 00 00 */ lwz r12, 0(r3) /* 80249CAC 00246C0C 38 80 00 01 */ li r4, 1 /* 80249CB0 00246C10 81 8C 00 08 */ lwz r12, 8(r12) /* 80249CB4 00246C14 7D 89 03 A6 */ mtctr r12 /* 80249CB8 00246C18 4E 80 04 21 */ bctrl /* 80249CBC 00246C1C 48 00 01 20 */ b lbl_80249DDC lbl_80249CC0: /* 80249CC0 00246C20 3C 60 80 3D */ lis r3, lbl_803D4780@ha /* 80249CC4 00246C24 3B 80 00 00 */ li r28, 0 /* 80249CC8 00246C28 38 83 47 80 */ addi r4, r3, lbl_803D4780@l /* 80249CCC 00246C2C 38 A0 00 00 */ li r5, 0 /* 80249CD0 00246C30 38 60 00 0C */ li r3, 0xc /* 80249CD4 00246C34 48 0C BB 99 */ bl __nw__FUlPCcPCc /* 80249CD8 00246C38 7C 7B 1B 79 */ or. r27, r3, r3 /* 80249CDC 00246C3C 41 82 00 48 */ beq lbl_80249D24 /* 80249CE0 00246C40 3C 60 53 41 */ lis r3, 0x53415657@ha /* 80249CE4 00246C44 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80249CE8 00246C48 38 03 56 57 */ addi r0, r3, 0x53415657@l /* 80249CEC 00246C4C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 80249CF0 00246C50 90 01 00 18 */ stw r0, 0x18(r1) /* 80249CF4 00246C54 38 61 00 10 */ addi r3, r1, 0x10 /* 80249CF8 00246C58 38 A1 00 18 */ addi r5, r1, 0x18 /* 80249CFC 00246C5C 81 84 00 00 */ lwz r12, 0(r4) /* 80249D00 00246C60 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80249D04 00246C64 7D 89 03 A6 */ mtctr r12 /* 80249D08 00246C68 4E 80 04 21 */ bctrl /* 80249D0C 00246C6C 7F 63 DB 78 */ mr r3, r27 /* 80249D10 00246C70 38 81 00 10 */ addi r4, r1, 0x10 /* 80249D14 00246C74 3B 80 00 01 */ li r28, 1 /* 80249D18 00246C78 48 0F 71 91 */ bl __ct__6CTokenFRC6CToken /* 80249D1C 00246C7C 38 00 00 00 */ li r0, 0 /* 80249D20 00246C80 90 1B 00 08 */ stw r0, 8(r27) lbl_80249D24: /* 80249D24 00246C84 7C 7B 00 D0 */ neg r3, r27 /* 80249D28 00246C88 38 01 00 08 */ addi r0, r1, 8 /* 80249D2C 00246C8C 7C 63 DB 78 */ or r3, r3, r27 /* 80249D30 00246C90 38 9D 00 34 */ addi r4, r29, 0x34 /* 80249D34 00246C94 54 63 0F FE */ srwi r3, r3, 0x1f /* 80249D38 00246C98 93 61 00 0C */ stw r27, 0xc(r1) /* 80249D3C 00246C9C 7C 00 20 40 */ cmplw r0, r4 /* 80249D40 00246CA0 98 61 00 08 */ stb r3, 8(r1) /* 80249D44 00246CA4 41 82 00 4C */ beq lbl_80249D90 /* 80249D48 00246CA8 88 04 00 00 */ lbz r0, 0(r4) /* 80249D4C 00246CAC 28 00 00 00 */ cmplwi r0, 0 /* 80249D50 00246CB0 41 82 00 28 */ beq lbl_80249D78 /* 80249D54 00246CB4 83 7D 00 38 */ lwz r27, 0x38(r29) /* 80249D58 00246CB8 28 1B 00 00 */ cmplwi r27, 0 /* 80249D5C 00246CBC 41 82 00 1C */ beq lbl_80249D78 /* 80249D60 00246CC0 41 82 00 10 */ beq lbl_80249D70 /* 80249D64 00246CC4 7F 63 DB 78 */ mr r3, r27 /* 80249D68 00246CC8 38 80 00 00 */ li r4, 0 /* 80249D6C 00246CCC 48 0F 70 D5 */ bl __dt__6CTokenFv lbl_80249D70: /* 80249D70 00246CD0 7F 63 DB 78 */ mr r3, r27 /* 80249D74 00246CD4 48 0C BB BD */ bl Free__7CMemoryFPCv lbl_80249D78: /* 80249D78 00246CD8 88 61 00 08 */ lbz r3, 8(r1) /* 80249D7C 00246CDC 38 00 00 00 */ li r0, 0 /* 80249D80 00246CE0 98 7D 00 34 */ stb r3, 0x34(r29) /* 80249D84 00246CE4 80 61 00 0C */ lwz r3, 0xc(r1) /* 80249D88 00246CE8 90 7D 00 38 */ stw r3, 0x38(r29) /* 80249D8C 00246CEC 98 01 00 08 */ stb r0, 8(r1) lbl_80249D90: /* 80249D90 00246CF0 88 01 00 08 */ lbz r0, 8(r1) /* 80249D94 00246CF4 28 00 00 00 */ cmplwi r0, 0 /* 80249D98 00246CF8 41 82 00 28 */ beq lbl_80249DC0 /* 80249D9C 00246CFC 83 61 00 0C */ lwz r27, 0xc(r1) /* 80249DA0 00246D00 28 1B 00 00 */ cmplwi r27, 0 /* 80249DA4 00246D04 41 82 00 1C */ beq lbl_80249DC0 /* 80249DA8 00246D08 41 82 00 10 */ beq lbl_80249DB8 /* 80249DAC 00246D0C 7F 63 DB 78 */ mr r3, r27 /* 80249DB0 00246D10 38 80 00 00 */ li r4, 0 /* 80249DB4 00246D14 48 0F 70 8D */ bl __dt__6CTokenFv lbl_80249DB8: /* 80249DB8 00246D18 7F 63 DB 78 */ mr r3, r27 /* 80249DBC 00246D1C 48 0C BB 75 */ bl Free__7CMemoryFPCv lbl_80249DC0: /* 80249DC0 00246D20 7F 80 07 75 */ extsb. r0, r28 /* 80249DC4 00246D24 41 82 00 10 */ beq lbl_80249DD4 /* 80249DC8 00246D28 38 61 00 10 */ addi r3, r1, 0x10 /* 80249DCC 00246D2C 38 80 FF FF */ li r4, -1 /* 80249DD0 00246D30 48 0F 70 71 */ bl __dt__6CTokenFv lbl_80249DD4: /* 80249DD4 00246D34 80 7D 00 38 */ lwz r3, 0x38(r29) /* 80249DD8 00246D38 48 0F 6F AD */ bl Lock__6CTokenFv lbl_80249DDC: /* 80249DDC 00246D3C 93 DD 00 00 */ stw r30, 0(r29) /* 80249DE0 00246D40 38 00 FF FF */ li r0, -1 /* 80249DE4 00246D44 7F A3 EB 78 */ mr r3, r29 /* 80249DE8 00246D48 90 1D 00 04 */ stw r0, 4(r29) /* 80249DEC 00246D4C 93 FD 00 08 */ stw r31, 8(r29) /* 80249DF0 00246D50 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 80249DF4 00246D54 80 01 00 44 */ lwz r0, 0x44(r1) /* 80249DF8 00246D58 7C 08 03 A6 */ mtlr r0 /* 80249DFC 00246D5C 38 21 00 40 */ addi r1, r1, 0x40 /* 80249E00 00246D60 4E 80 00 20 */ blr .global __dt__14CMemoryCardSysFv __dt__14CMemoryCardSysFv: /* 80249E04 00246D64 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80249E08 00246D68 7C 08 02 A6 */ mflr r0 /* 80249E0C 00246D6C 90 01 00 24 */ stw r0, 0x24(r1) /* 80249E10 00246D70 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80249E14 00246D74 7C 9F 23 78 */ mr r31, r4 /* 80249E18 00246D78 93 C1 00 18 */ stw r30, 0x18(r1) /* 80249E1C 00246D7C 7C 7E 1B 79 */ or. r30, r3, r3 /* 80249E20 00246D80 41 82 00 E8 */ beq lbl_80249F08 /* 80249E24 00246D84 34 1E 00 30 */ addic. r0, r30, 0x30 /* 80249E28 00246D88 41 82 00 58 */ beq lbl_80249E80 /* 80249E2C 00246D8C 80 BE 00 30 */ lwz r5, 0x30(r30) /* 80249E30 00246D90 38 60 00 00 */ li r3, 0 /* 80249E34 00246D94 2C 05 00 00 */ cmpwi r5, 0 /* 80249E38 00246D98 40 81 00 40 */ ble lbl_80249E78 /* 80249E3C 00246D9C 2C 05 00 08 */ cmpwi r5, 8 /* 80249E40 00246DA0 38 85 FF F8 */ addi r4, r5, -8 /* 80249E44 00246DA4 40 81 00 20 */ ble lbl_80249E64 /* 80249E48 00246DA8 38 04 00 07 */ addi r0, r4, 7 /* 80249E4C 00246DAC 54 00 E8 FE */ srwi r0, r0, 3 /* 80249E50 00246DB0 7C 09 03 A6 */ mtctr r0 /* 80249E54 00246DB4 2C 04 00 00 */ cmpwi r4, 0 /* 80249E58 00246DB8 40 81 00 0C */ ble lbl_80249E64 lbl_80249E5C: /* 80249E5C 00246DBC 38 63 00 08 */ addi r3, r3, 8 /* 80249E60 00246DC0 42 00 FF FC */ bdnz lbl_80249E5C lbl_80249E64: /* 80249E64 00246DC4 7C 03 28 50 */ subf r0, r3, r5 /* 80249E68 00246DC8 7C 09 03 A6 */ mtctr r0 /* 80249E6C 00246DCC 7C 03 28 00 */ cmpw r3, r5 /* 80249E70 00246DD0 40 80 00 08 */ bge lbl_80249E78 lbl_80249E74: /* 80249E74 00246DD4 42 00 00 00 */ bdnz lbl_80249E74 lbl_80249E78: /* 80249E78 00246DD8 38 00 00 00 */ li r0, 0 /* 80249E7C 00246DDC 90 1E 00 30 */ stw r0, 0x30(r30) lbl_80249E80: /* 80249E80 00246DE0 34 1E 00 20 */ addic. r0, r30, 0x20 /* 80249E84 00246DE4 41 82 00 44 */ beq lbl_80249EC8 /* 80249E88 00246DE8 80 1E 00 24 */ lwz r0, 0x24(r30) /* 80249E8C 00246DEC 80 7E 00 2C */ lwz r3, 0x2c(r30) /* 80249E90 00246DF0 54 00 18 38 */ slwi r0, r0, 3 /* 80249E94 00246DF4 7C 03 02 14 */ add r0, r3, r0 /* 80249E98 00246DF8 90 61 00 0C */ stw r3, 0xc(r1) /* 80249E9C 00246DFC 7C 64 1B 78 */ mr r4, r3 /* 80249EA0 00246E00 90 01 00 14 */ stw r0, 0x14(r1) /* 80249EA4 00246E04 90 01 00 10 */ stw r0, 0x10(r1) /* 80249EA8 00246E08 90 61 00 08 */ stw r3, 8(r1) /* 80249EAC 00246E0C 48 00 00 08 */ b lbl_80249EB4 lbl_80249EB0: /* 80249EB0 00246E10 38 84 00 08 */ addi r4, r4, 8 lbl_80249EB4: /* 80249EB4 00246E14 7C 04 00 40 */ cmplw r4, r0 /* 80249EB8 00246E18 40 82 FF F8 */ bne lbl_80249EB0 /* 80249EBC 00246E1C 28 03 00 00 */ cmplwi r3, 0 /* 80249EC0 00246E20 41 82 00 08 */ beq lbl_80249EC8 /* 80249EC4 00246E24 48 0C BA 6D */ bl Free__7CMemoryFPCv lbl_80249EC8: /* 80249EC8 00246E28 38 7E 00 1C */ addi r3, r30, 0x1c /* 80249ECC 00246E2C 38 80 FF FF */ li r4, -1 /* 80249ED0 00246E30 48 00 02 E5 */ bl sub_8024a1b4 /* 80249ED4 00246E34 38 7E 00 0C */ addi r3, r30, 0xc /* 80249ED8 00246E38 38 80 FF FF */ li r4, -1 /* 80249EDC 00246E3C 48 00 00 49 */ bl sub_80249f24 /* 80249EE0 00246E40 28 1E 00 00 */ cmplwi r30, 0 /* 80249EE4 00246E44 41 82 00 14 */ beq lbl_80249EF8 /* 80249EE8 00246E48 41 82 00 10 */ beq lbl_80249EF8 /* 80249EEC 00246E4C 7F C3 F3 78 */ mr r3, r30 /* 80249EF0 00246E50 38 80 00 00 */ li r4, 0 /* 80249EF4 00246E54 48 0F 6F 4D */ bl __dt__6CTokenFv lbl_80249EF8: /* 80249EF8 00246E58 7F E0 07 35 */ extsh. r0, r31 /* 80249EFC 00246E5C 40 81 00 0C */ ble lbl_80249F08 /* 80249F00 00246E60 7F C3 F3 78 */ mr r3, r30 /* 80249F04 00246E64 48 0C BA 2D */ bl Free__7CMemoryFPCv lbl_80249F08: /* 80249F08 00246E68 80 01 00 24 */ lwz r0, 0x24(r1) /* 80249F0C 00246E6C 7F C3 F3 78 */ mr r3, r30 /* 80249F10 00246E70 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80249F14 00246E74 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80249F18 00246E78 7C 08 03 A6 */ mtlr r0 /* 80249F1C 00246E7C 38 21 00 20 */ addi r1, r1, 0x20 /* 80249F20 00246E80 4E 80 00 20 */ blr .global sub_80249f24 sub_80249f24: /* 80249F24 00246E84 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80249F28 00246E88 7C 08 02 A6 */ mflr r0 /* 80249F2C 00246E8C 90 01 00 24 */ stw r0, 0x24(r1) /* 80249F30 00246E90 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80249F34 00246E94 7C 9F 23 78 */ mr r31, r4 /* 80249F38 00246E98 93 C1 00 18 */ stw r30, 0x18(r1) /* 80249F3C 00246E9C 7C 7E 1B 79 */ or. r30, r3, r3 /* 80249F40 00246EA0 41 82 00 54 */ beq lbl_80249F94 /* 80249F44 00246EA4 80 1E 00 04 */ lwz r0, 4(r30) /* 80249F48 00246EA8 38 61 00 14 */ addi r3, r1, 0x14 /* 80249F4C 00246EAC 80 BE 00 0C */ lwz r5, 0xc(r30) /* 80249F50 00246EB0 38 81 00 0C */ addi r4, r1, 0xc /* 80249F54 00246EB4 1C 00 00 4C */ mulli r0, r0, 0x4c /* 80249F58 00246EB8 7C A5 02 14 */ add r5, r5, r0 /* 80249F5C 00246EBC 90 A1 00 0C */ stw r5, 0xc(r1) /* 80249F60 00246EC0 80 1E 00 0C */ lwz r0, 0xc(r30) /* 80249F64 00246EC4 90 A1 00 08 */ stw r5, 8(r1) /* 80249F68 00246EC8 90 01 00 10 */ stw r0, 0x10(r1) /* 80249F6C 00246ECC 90 01 00 14 */ stw r0, 0x14(r1) /* 80249F70 00246ED0 48 00 00 41 */ bl sub_80249fb0 /* 80249F74 00246ED4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 80249F78 00246ED8 28 03 00 00 */ cmplwi r3, 0 /* 80249F7C 00246EDC 41 82 00 08 */ beq lbl_80249F84 /* 80249F80 00246EE0 48 0C B9 B1 */ bl Free__7CMemoryFPCv lbl_80249F84: /* 80249F84 00246EE4 7F E0 07 35 */ extsh. r0, r31 /* 80249F88 00246EE8 40 81 00 0C */ ble lbl_80249F94 /* 80249F8C 00246EEC 7F C3 F3 78 */ mr r3, r30 /* 80249F90 00246EF0 48 0C B9 A1 */ bl Free__7CMemoryFPCv lbl_80249F94: /* 80249F94 00246EF4 80 01 00 24 */ lwz r0, 0x24(r1) /* 80249F98 00246EF8 7F C3 F3 78 */ mr r3, r30 /* 80249F9C 00246EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80249FA0 00246F00 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80249FA4 00246F04 7C 08 03 A6 */ mtlr r0 /* 80249FA8 00246F08 38 21 00 20 */ addi r1, r1, 0x20 /* 80249FAC 00246F0C 4E 80 00 20 */ blr .global sub_80249fb0 sub_80249fb0: /* 80249FB0 00246F10 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80249FB4 00246F14 7C 08 02 A6 */ mflr r0 /* 80249FB8 00246F18 90 01 00 14 */ stw r0, 0x14(r1) /* 80249FBC 00246F1C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80249FC0 00246F20 93 C1 00 08 */ stw r30, 8(r1) /* 80249FC4 00246F24 7C 9E 23 78 */ mr r30, r4 /* 80249FC8 00246F28 83 E3 00 00 */ lwz r31, 0(r3) /* 80249FCC 00246F2C 48 00 00 10 */ b lbl_80249FDC lbl_80249FD0: /* 80249FD0 00246F30 7F E3 FB 78 */ mr r3, r31 /* 80249FD4 00246F34 48 00 00 2D */ bl sub_8024a000 /* 80249FD8 00246F38 3B FF 00 4C */ addi r31, r31, 0x4c lbl_80249FDC: /* 80249FDC 00246F3C 80 1E 00 00 */ lwz r0, 0(r30) /* 80249FE0 00246F40 7C 1F 00 40 */ cmplw r31, r0 /* 80249FE4 00246F44 40 82 FF EC */ bne lbl_80249FD0 /* 80249FE8 00246F48 80 01 00 14 */ lwz r0, 0x14(r1) /* 80249FEC 00246F4C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80249FF0 00246F50 83 C1 00 08 */ lwz r30, 8(r1) /* 80249FF4 00246F54 7C 08 03 A6 */ mtlr r0 /* 80249FF8 00246F58 38 21 00 10 */ addi r1, r1, 0x10 /* 80249FFC 00246F5C 4E 80 00 20 */ blr .global sub_8024a000 sub_8024a000: /* 8024A000 00246F60 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024A004 00246F64 7C 08 02 A6 */ mflr r0 /* 8024A008 00246F68 38 80 FF FF */ li r4, -1 /* 8024A00C 00246F6C 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A010 00246F70 48 00 00 15 */ bl sub_8024a024 /* 8024A014 00246F74 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024A018 00246F78 7C 08 03 A6 */ mtlr r0 /* 8024A01C 00246F7C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024A020 00246F80 4E 80 00 20 */ blr .global sub_8024a024 sub_8024a024: /* 8024A024 00246F84 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024A028 00246F88 7C 08 02 A6 */ mflr r0 /* 8024A02C 00246F8C 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A030 00246F90 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024A034 00246F94 7C 9F 23 78 */ mr r31, r4 /* 8024A038 00246F98 93 C1 00 08 */ stw r30, 8(r1) /* 8024A03C 00246F9C 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024A040 00246FA0 41 82 00 20 */ beq lbl_8024A060 /* 8024A044 00246FA4 38 7E 00 04 */ addi r3, r30, 4 /* 8024A048 00246FA8 38 80 FF FF */ li r4, -1 /* 8024A04C 00246FAC 48 00 00 31 */ bl sub_8024a07c /* 8024A050 00246FB0 7F E0 07 35 */ extsh. r0, r31 /* 8024A054 00246FB4 40 81 00 0C */ ble lbl_8024A060 /* 8024A058 00246FB8 7F C3 F3 78 */ mr r3, r30 /* 8024A05C 00246FBC 48 0C B8 D5 */ bl Free__7CMemoryFPCv lbl_8024A060: /* 8024A060 00246FC0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024A064 00246FC4 7F C3 F3 78 */ mr r3, r30 /* 8024A068 00246FC8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024A06C 00246FCC 83 C1 00 08 */ lwz r30, 8(r1) /* 8024A070 00246FD0 7C 08 03 A6 */ mtlr r0 /* 8024A074 00246FD4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024A078 00246FD8 4E 80 00 20 */ blr .global sub_8024a07c sub_8024a07c: /* 8024A07C 00246FDC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024A080 00246FE0 7C 08 02 A6 */ mflr r0 /* 8024A084 00246FE4 90 01 00 34 */ stw r0, 0x34(r1) /* 8024A088 00246FE8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024A08C 00246FEC 7C 9F 23 78 */ mr r31, r4 /* 8024A090 00246FF0 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024A094 00246FF4 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024A098 00246FF8 41 82 01 00 */ beq lbl_8024A198 /* 8024A09C 00246FFC 34 1E 00 3C */ addic. r0, r30, 0x3c /* 8024A0A0 00247000 41 82 00 24 */ beq lbl_8024A0C4 /* 8024A0A4 00247004 88 1E 00 44 */ lbz r0, 0x44(r30) /* 8024A0A8 00247008 28 00 00 00 */ cmplwi r0, 0 /* 8024A0AC 0024700C 41 82 00 10 */ beq lbl_8024A0BC /* 8024A0B0 00247010 38 7E 00 3C */ addi r3, r30, 0x3c /* 8024A0B4 00247014 38 80 FF FF */ li r4, -1 /* 8024A0B8 00247018 48 0F 6D 89 */ bl __dt__6CTokenFv lbl_8024A0BC: /* 8024A0BC 0024701C 38 00 00 00 */ li r0, 0 /* 8024A0C0 00247020 98 1E 00 44 */ stb r0, 0x44(r30) lbl_8024A0C4: /* 8024A0C4 00247024 34 1E 00 2C */ addic. r0, r30, 0x2c /* 8024A0C8 00247028 41 82 00 30 */ beq lbl_8024A0F8 /* 8024A0CC 0024702C 88 1E 00 38 */ lbz r0, 0x38(r30) /* 8024A0D0 00247030 28 00 00 00 */ cmplwi r0, 0 /* 8024A0D4 00247034 41 82 00 1C */ beq lbl_8024A0F0 /* 8024A0D8 00247038 34 7E 00 2C */ addic. r3, r30, 0x2c /* 8024A0DC 0024703C 41 82 00 14 */ beq lbl_8024A0F0 /* 8024A0E0 00247040 28 03 00 00 */ cmplwi r3, 0 /* 8024A0E4 00247044 41 82 00 0C */ beq lbl_8024A0F0 /* 8024A0E8 00247048 38 80 00 00 */ li r4, 0 /* 8024A0EC 0024704C 48 0F 6D 55 */ bl __dt__6CTokenFv lbl_8024A0F0: /* 8024A0F0 00247050 38 00 00 00 */ li r0, 0 /* 8024A0F4 00247054 98 1E 00 38 */ stb r0, 0x38(r30) lbl_8024A0F8: /* 8024A0F8 00247058 34 1E 00 1C */ addic. r0, r30, 0x1c /* 8024A0FC 0024705C 41 82 00 44 */ beq lbl_8024A140 /* 8024A100 00247060 80 1E 00 20 */ lwz r0, 0x20(r30) /* 8024A104 00247064 80 7E 00 28 */ lwz r3, 0x28(r30) /* 8024A108 00247068 54 00 20 36 */ slwi r0, r0, 4 /* 8024A10C 0024706C 7C 03 02 14 */ add r0, r3, r0 /* 8024A110 00247070 90 61 00 1C */ stw r3, 0x1c(r1) /* 8024A114 00247074 7C 64 1B 78 */ mr r4, r3 /* 8024A118 00247078 90 01 00 24 */ stw r0, 0x24(r1) /* 8024A11C 0024707C 90 01 00 20 */ stw r0, 0x20(r1) /* 8024A120 00247080 90 61 00 18 */ stw r3, 0x18(r1) /* 8024A124 00247084 48 00 00 08 */ b lbl_8024A12C lbl_8024A128: /* 8024A128 00247088 38 84 00 10 */ addi r4, r4, 0x10 lbl_8024A12C: /* 8024A12C 0024708C 7C 04 00 40 */ cmplw r4, r0 /* 8024A130 00247090 40 82 FF F8 */ bne lbl_8024A128 /* 8024A134 00247094 28 03 00 00 */ cmplwi r3, 0 /* 8024A138 00247098 41 82 00 08 */ beq lbl_8024A140 /* 8024A13C 0024709C 48 0C B7 F5 */ bl Free__7CMemoryFPCv lbl_8024A140: /* 8024A140 002470A0 34 1E 00 0C */ addic. r0, r30, 0xc /* 8024A144 002470A4 41 82 00 44 */ beq lbl_8024A188 /* 8024A148 002470A8 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8024A14C 002470AC 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8024A150 002470B0 54 00 10 3A */ slwi r0, r0, 2 /* 8024A154 002470B4 7C 03 02 14 */ add r0, r3, r0 /* 8024A158 002470B8 90 61 00 0C */ stw r3, 0xc(r1) /* 8024A15C 002470BC 7C 64 1B 78 */ mr r4, r3 /* 8024A160 002470C0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A164 002470C4 90 01 00 10 */ stw r0, 0x10(r1) /* 8024A168 002470C8 90 61 00 08 */ stw r3, 8(r1) /* 8024A16C 002470CC 48 00 00 08 */ b lbl_8024A174 lbl_8024A170: /* 8024A170 002470D0 38 84 00 04 */ addi r4, r4, 4 lbl_8024A174: /* 8024A174 002470D4 7C 04 00 40 */ cmplw r4, r0 /* 8024A178 002470D8 40 82 FF F8 */ bne lbl_8024A170 /* 8024A17C 002470DC 28 03 00 00 */ cmplwi r3, 0 /* 8024A180 002470E0 41 82 00 08 */ beq lbl_8024A188 /* 8024A184 002470E4 48 0C B7 AD */ bl Free__7CMemoryFPCv lbl_8024A188: /* 8024A188 002470E8 7F E0 07 35 */ extsh. r0, r31 /* 8024A18C 002470EC 40 81 00 0C */ ble lbl_8024A198 /* 8024A190 002470F0 7F C3 F3 78 */ mr r3, r30 /* 8024A194 002470F4 48 0C B7 9D */ bl Free__7CMemoryFPCv lbl_8024A198: /* 8024A198 002470F8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024A19C 002470FC 7F C3 F3 78 */ mr r3, r30 /* 8024A1A0 00247100 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024A1A4 00247104 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024A1A8 00247108 7C 08 03 A6 */ mtlr r0 /* 8024A1AC 0024710C 38 21 00 30 */ addi r1, r1, 0x30 /* 8024A1B0 00247110 4E 80 00 20 */ blr .global sub_8024a1b4 sub_8024a1b4: /* 8024A1B4 00247114 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024A1B8 00247118 7C 08 02 A6 */ mflr r0 /* 8024A1BC 0024711C 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A1C0 00247120 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024A1C4 00247124 7C 9F 23 78 */ mr r31, r4 /* 8024A1C8 00247128 93 C1 00 08 */ stw r30, 8(r1) /* 8024A1CC 0024712C 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024A1D0 00247130 41 82 00 20 */ beq lbl_8024A1F0 /* 8024A1D4 00247134 80 7E 00 00 */ lwz r3, 0(r30) /* 8024A1D8 00247138 38 80 00 01 */ li r4, 1 /* 8024A1DC 0024713C 4B FF F3 D1 */ bl sub_802495ac /* 8024A1E0 00247140 7F E0 07 35 */ extsh. r0, r31 /* 8024A1E4 00247144 40 81 00 0C */ ble lbl_8024A1F0 /* 8024A1E8 00247148 7F C3 F3 78 */ mr r3, r30 /* 8024A1EC 0024714C 48 0C B7 45 */ bl Free__7CMemoryFPCv lbl_8024A1F0: /* 8024A1F0 00247150 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024A1F4 00247154 7F C3 F3 78 */ mr r3, r30 /* 8024A1F8 00247158 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024A1FC 0024715C 83 C1 00 08 */ lwz r30, 8(r1) /* 8024A200 00247160 7C 08 03 A6 */ mtlr r0 /* 8024A204 00247164 38 21 00 10 */ addi r1, r1, 0x10 /* 8024A208 00247168 4E 80 00 20 */ blr .global __ct__14CMemoryCardSysFv __ct__14CMemoryCardSysFv: /* 8024A20C 0024716C 94 21 FE B0 */ stwu r1, -0x150(r1) /* 8024A210 00247170 7C 08 02 A6 */ mflr r0 /* 8024A214 00247174 3C A0 80 3D */ lis r5, lbl_803D4780@ha /* 8024A218 00247178 90 01 01 54 */ stw r0, 0x154(r1) /* 8024A21C 0024717C 38 A5 47 80 */ addi r5, r5, lbl_803D4780@l /* 8024A220 00247180 38 A5 00 07 */ addi r5, r5, 7 /* 8024A224 00247184 BF 41 01 38 */ stmw r26, 0x138(r1) /* 8024A228 00247188 7C 7D 1B 78 */ mr r29, r3 /* 8024A22C 0024718C 38 61 00 38 */ addi r3, r1, 0x38 /* 8024A230 00247190 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 8024A234 00247194 81 84 00 00 */ lwz r12, 0(r4) /* 8024A238 00247198 81 8C 00 10 */ lwz r12, 0x10(r12) /* 8024A23C 0024719C 7D 89 03 A6 */ mtctr r12 /* 8024A240 002471A0 4E 80 04 21 */ bctrl /* 8024A244 002471A4 7F A3 EB 78 */ mr r3, r29 /* 8024A248 002471A8 38 81 00 38 */ addi r4, r1, 0x38 /* 8024A24C 002471AC 48 0F 6C 5D */ bl __ct__6CTokenFRC6CToken /* 8024A250 002471B0 38 00 00 00 */ li r0, 0 /* 8024A254 002471B4 38 61 00 38 */ addi r3, r1, 0x38 /* 8024A258 002471B8 90 1D 00 08 */ stw r0, 8(r29) /* 8024A25C 002471BC 38 80 FF FF */ li r4, -1 /* 8024A260 002471C0 48 0F 6B E1 */ bl __dt__6CTokenFv /* 8024A264 002471C4 38 60 00 00 */ li r3, 0 /* 8024A268 002471C8 34 9D 00 34 */ addic. r4, r29, 0x34 /* 8024A26C 002471CC 90 7D 00 10 */ stw r3, 0x10(r29) /* 8024A270 002471D0 38 00 00 06 */ li r0, 6 /* 8024A274 002471D4 90 7D 00 14 */ stw r3, 0x14(r29) /* 8024A278 002471D8 90 7D 00 18 */ stw r3, 0x18(r29) /* 8024A27C 002471DC 90 7D 00 1C */ stw r3, 0x1c(r29) /* 8024A280 002471E0 90 7D 00 24 */ stw r3, 0x24(r29) /* 8024A284 002471E4 90 7D 00 28 */ stw r3, 0x28(r29) /* 8024A288 002471E8 90 7D 00 2C */ stw r3, 0x2c(r29) /* 8024A28C 002471EC 90 1D 00 30 */ stw r0, 0x30(r29) /* 8024A290 002471F0 41 82 00 0C */ beq lbl_8024A29C /* 8024A294 002471F4 80 0D 97 00 */ lwz r0, lbl_805A82C0@sda21(r13) /* 8024A298 002471F8 90 04 00 00 */ stw r0, 0(r4) lbl_8024A29C: /* 8024A29C 002471FC 34 84 00 04 */ addic. r4, r4, 4 /* 8024A2A0 00247200 41 82 00 0C */ beq lbl_8024A2AC /* 8024A2A4 00247204 80 0D 97 00 */ lwz r0, lbl_805A82C0@sda21(r13) /* 8024A2A8 00247208 90 04 00 00 */ stw r0, 0(r4) lbl_8024A2AC: /* 8024A2AC 0024720C 34 84 00 04 */ addic. r4, r4, 4 /* 8024A2B0 00247210 41 82 00 0C */ beq lbl_8024A2BC /* 8024A2B4 00247214 80 0D 97 00 */ lwz r0, lbl_805A82C0@sda21(r13) /* 8024A2B8 00247218 90 04 00 00 */ stw r0, 0(r4) lbl_8024A2BC: /* 8024A2BC 0024721C 34 84 00 04 */ addic. r4, r4, 4 /* 8024A2C0 00247220 41 82 00 0C */ beq lbl_8024A2CC /* 8024A2C4 00247224 80 0D 97 00 */ lwz r0, lbl_805A82C0@sda21(r13) /* 8024A2C8 00247228 90 04 00 00 */ stw r0, 0(r4) lbl_8024A2CC: /* 8024A2CC 0024722C 34 84 00 04 */ addic. r4, r4, 4 /* 8024A2D0 00247230 41 82 00 0C */ beq lbl_8024A2DC /* 8024A2D4 00247234 80 0D 97 00 */ lwz r0, lbl_805A82C0@sda21(r13) /* 8024A2D8 00247238 90 04 00 00 */ stw r0, 0(r4) lbl_8024A2DC: /* 8024A2DC 0024723C 34 84 00 04 */ addic. r4, r4, 4 /* 8024A2E0 00247240 41 82 00 0C */ beq lbl_8024A2EC /* 8024A2E4 00247244 80 0D 97 00 */ lwz r0, lbl_805A82C0@sda21(r13) /* 8024A2E8 00247248 90 04 00 00 */ stw r0, 0(r4) lbl_8024A2EC: /* 8024A2EC 0024724C 7F A3 EB 78 */ mr r3, r29 /* 8024A2F0 00247250 48 0F 6A 95 */ bl Lock__6CTokenFv /* 8024A2F4 00247254 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024A2F8 00247258 38 60 00 10 */ li r3, 0x10 /* 8024A2FC 0024725C 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024A300 00247260 38 A0 00 00 */ li r5, 0 /* 8024A304 00247264 48 0C B5 69 */ bl __nw__FUlPCcPCc /* 8024A308 00247268 28 03 00 00 */ cmplwi r3, 0 /* 8024A30C 0024726C 41 82 00 14 */ beq lbl_8024A320 /* 8024A310 00247270 38 00 00 00 */ li r0, 0 /* 8024A314 00247274 90 03 00 04 */ stw r0, 4(r3) /* 8024A318 00247278 90 03 00 08 */ stw r0, 8(r3) /* 8024A31C 0024727C 90 03 00 0C */ stw r0, 0xc(r3) lbl_8024A320: /* 8024A320 00247280 7C 64 1B 78 */ mr r4, r3 /* 8024A324 00247284 38 7D 00 1C */ addi r3, r29, 0x1c /* 8024A328 00247288 4B FF F2 3D */ bl sub_80249564 /* 8024A32C 0024728C 83 FD 00 1C */ lwz r31, 0x1c(r29) /* 8024A330 00247290 38 7D 00 0C */ addi r3, r29, 0xc /* 8024A334 00247294 38 80 00 10 */ li r4, 0x10 /* 8024A338 00247298 48 00 0C 51 */ bl sub_8024af88 /* 8024A33C 0024729C 7F E3 FB 78 */ mr r3, r31 /* 8024A340 002472A0 38 80 00 10 */ li r4, 0x10 /* 8024A344 002472A4 48 00 0D 7D */ bl sub_8024b0c0 /* 8024A348 002472A8 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) /* 8024A34C 002472AC 38 61 00 40 */ addi r3, r1, 0x40 /* 8024A350 002472B0 4B FD 29 1D */ bl sub_8021cc6c /* 8024A354 002472B4 80 01 00 44 */ lwz r0, 0x44(r1) /* 8024A358 002472B8 80 61 00 48 */ lwz r3, 0x48(r1) /* 8024A35C 002472BC 2C 00 00 00 */ cmpwi r0, 0 /* 8024A360 002472C0 90 01 00 54 */ stw r0, 0x54(r1) /* 8024A364 002472C4 90 61 00 58 */ stw r3, 0x58(r1) /* 8024A368 002472C8 40 82 00 18 */ bne lbl_8024A380 /* 8024A36C 002472CC 2C 03 00 00 */ cmpwi r3, 0 /* 8024A370 002472D0 40 82 00 10 */ bne lbl_8024A380 /* 8024A374 002472D4 38 00 00 00 */ li r0, 0 /* 8024A378 002472D8 90 01 00 5C */ stw r0, 0x5c(r1) /* 8024A37C 002472DC 48 00 00 80 */ b lbl_8024A3FC lbl_8024A380: /* 8024A380 002472E0 80 01 00 58 */ lwz r0, 0x58(r1) /* 8024A384 002472E4 1C 60 00 18 */ mulli r3, r0, 0x18 /* 8024A388 002472E8 2C 03 00 00 */ cmpwi r3, 0 /* 8024A38C 002472EC 40 82 00 10 */ bne lbl_8024A39C /* 8024A390 002472F0 38 00 00 00 */ li r0, 0 /* 8024A394 002472F4 90 01 00 5C */ stw r0, 0x5c(r1) /* 8024A398 002472F8 48 00 00 18 */ b lbl_8024A3B0 lbl_8024A39C: /* 8024A39C 002472FC 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024A3A0 00247300 38 A0 00 00 */ li r5, 0 /* 8024A3A4 00247304 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024A3A8 00247308 48 0C B4 71 */ bl __nwa__FUlPCcPCc /* 8024A3AC 0024730C 90 61 00 5C */ stw r3, 0x5c(r1) lbl_8024A3B0: /* 8024A3B0 00247310 83 41 00 54 */ lwz r26, 0x54(r1) /* 8024A3B4 00247314 3B C0 00 00 */ li r30, 0 /* 8024A3B8 00247318 83 61 00 4C */ lwz r27, 0x4c(r1) /* 8024A3BC 0024731C 83 81 00 5C */ lwz r28, 0x5c(r1) /* 8024A3C0 00247320 48 00 00 34 */ b lbl_8024A3F4 lbl_8024A3C4: /* 8024A3C4 00247324 28 1C 00 00 */ cmplwi r28, 0 /* 8024A3C8 00247328 41 82 00 20 */ beq lbl_8024A3E8 /* 8024A3CC 0024732C 7F 83 E3 78 */ mr r3, r28 /* 8024A3D0 00247330 7F 64 DB 78 */ mr r4, r27 /* 8024A3D4 00247334 48 0F 3D 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8024A3D8 00247338 80 1B 00 10 */ lwz r0, 0x10(r27) /* 8024A3DC 0024733C 90 1C 00 10 */ stw r0, 0x10(r28) /* 8024A3E0 00247340 80 1B 00 14 */ lwz r0, 0x14(r27) /* 8024A3E4 00247344 90 1C 00 14 */ stw r0, 0x14(r28) lbl_8024A3E8: /* 8024A3E8 00247348 3B 9C 00 18 */ addi r28, r28, 0x18 /* 8024A3EC 0024734C 3B DE 00 01 */ addi r30, r30, 1 /* 8024A3F0 00247350 3B 7B 00 18 */ addi r27, r27, 0x18 lbl_8024A3F4: /* 8024A3F4 00247354 7C 1E D0 00 */ cmpw r30, r26 /* 8024A3F8 00247358 41 80 FF CC */ blt lbl_8024A3C4 lbl_8024A3FC: /* 8024A3FC 0024735C 38 61 00 40 */ addi r3, r1, 0x40 /* 8024A400 00247360 38 80 FF FF */ li r4, -1 /* 8024A404 00247364 4B DB A5 E9 */ bl sub_800049ec /* 8024A408 00247368 83 C1 00 5C */ lwz r30, 0x5c(r1) /* 8024A40C 0024736C 48 00 01 40 */ b lbl_8024A54C lbl_8024A410: /* 8024A410 00247370 80 9E 00 14 */ lwz r4, 0x14(r30) /* 8024A414 00247374 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 8024A418 00247378 90 81 00 34 */ stw r4, 0x34(r1) /* 8024A41C 0024737C 38 63 00 04 */ addi r3, r3, 4 /* 8024A420 00247380 48 0F 18 AD */ bl GetResourceTypeById__10CResLoaderCFUi /* 8024A424 00247384 3C 03 B2 B4 */ addis r0, r3, 0xb2b4 /* 8024A428 00247388 28 00 56 4C */ cmplwi r0, 0x564c /* 8024A42C 0024738C 40 82 01 1C */ bne lbl_8024A548 /* 8024A430 00247390 89 21 00 08 */ lbz r9, 8(r1) /* 8024A434 00247394 38 61 00 2C */ addi r3, r1, 0x2c /* 8024A438 00247398 38 81 00 28 */ addi r4, r1, 0x28 /* 8024A43C 0024739C 38 A1 00 20 */ addi r5, r1, 0x20 /* 8024A440 002473A0 99 21 00 10 */ stb r9, 0x10(r1) /* 8024A444 002473A4 38 C1 00 34 */ addi r6, r1, 0x34 /* 8024A448 002473A8 38 E1 00 10 */ addi r7, r1, 0x10 /* 8024A44C 002473AC 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8024A450 002473B0 81 1D 00 18 */ lwz r8, 0x18(r29) /* 8024A454 002473B4 1C 00 00 4C */ mulli r0, r0, 0x4c /* 8024A458 002473B8 99 21 00 0C */ stb r9, 0xc(r1) /* 8024A45C 002473BC 7D 08 02 14 */ add r8, r8, r0 /* 8024A460 002473C0 91 01 00 20 */ stw r8, 0x20(r1) /* 8024A464 002473C4 80 1D 00 18 */ lwz r0, 0x18(r29) /* 8024A468 002473C8 91 01 00 1C */ stw r8, 0x1c(r1) /* 8024A46C 002473CC 90 01 00 24 */ stw r0, 0x24(r1) /* 8024A470 002473D0 90 01 00 28 */ stw r0, 0x28(r1) /* 8024A474 002473D4 48 00 09 95 */ bl sub_8024ae08 /* 8024A478 002473D8 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8024A47C 002473DC 80 81 00 2C */ lwz r4, 0x2c(r1) /* 8024A480 002473E0 1C 00 00 4C */ mulli r0, r0, 0x4c /* 8024A484 002473E4 80 7D 00 18 */ lwz r3, 0x18(r29) /* 8024A488 002473E8 90 81 00 30 */ stw r4, 0x30(r1) /* 8024A48C 002473EC 7C 03 02 14 */ add r0, r3, r0 /* 8024A490 002473F0 7C 04 00 40 */ cmplw r4, r0 /* 8024A494 002473F4 41 82 00 14 */ beq lbl_8024A4A8 /* 8024A498 002473F8 80 61 00 34 */ lwz r3, 0x34(r1) /* 8024A49C 002473FC 80 04 00 00 */ lwz r0, 0(r4) /* 8024A4A0 00247400 7C 03 00 40 */ cmplw r3, r0 /* 8024A4A4 00247404 41 82 00 A4 */ beq lbl_8024A548 lbl_8024A4A8: /* 8024A4A8 00247408 38 00 00 00 */ li r0, 0 /* 8024A4AC 0024740C 38 C0 FF FF */ li r6, -1 /* 8024A4B0 00247410 90 C1 00 E8 */ stw r6, 0xe8(r1) /* 8024A4B4 00247414 38 61 00 9C */ addi r3, r1, 0x9c /* 8024A4B8 00247418 38 81 00 34 */ addi r4, r1, 0x34 /* 8024A4BC 0024741C 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 8024A4C0 00247420 90 C1 00 EC */ stw r6, 0xec(r1) /* 8024A4C4 00247424 90 01 00 F0 */ stw r0, 0xf0(r1) /* 8024A4C8 00247428 90 01 00 F8 */ stw r0, 0xf8(r1) /* 8024A4CC 0024742C 90 01 00 FC */ stw r0, 0xfc(r1) /* 8024A4D0 00247430 90 01 01 00 */ stw r0, 0x100(r1) /* 8024A4D4 00247434 90 01 01 08 */ stw r0, 0x108(r1) /* 8024A4D8 00247438 90 01 01 0C */ stw r0, 0x10c(r1) /* 8024A4DC 0024743C 90 01 01 10 */ stw r0, 0x110(r1) /* 8024A4E0 00247440 98 01 01 20 */ stb r0, 0x120(r1) /* 8024A4E4 00247444 98 01 01 2C */ stb r0, 0x12c(r1) /* 8024A4E8 00247448 48 00 08 85 */ bl sub_8024ad6c /* 8024A4EC 0024744C 80 01 00 30 */ lwz r0, 0x30(r1) /* 8024A4F0 00247450 38 61 00 18 */ addi r3, r1, 0x18 /* 8024A4F4 00247454 38 9D 00 0C */ addi r4, r29, 0xc /* 8024A4F8 00247458 38 A1 00 14 */ addi r5, r1, 0x14 /* 8024A4FC 0024745C 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A500 00247460 38 C1 00 9C */ addi r6, r1, 0x9c /* 8024A504 00247464 48 00 02 DD */ bl sub_8024a7e0 /* 8024A508 00247468 38 61 00 9C */ addi r3, r1, 0x9c /* 8024A50C 0024746C 38 80 FF FF */ li r4, -1 /* 8024A510 00247470 4B FF FB 15 */ bl sub_8024a024 /* 8024A514 00247474 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8024A518 00247478 38 80 FF FF */ li r4, -1 /* 8024A51C 0024747C 4B FF FB 61 */ bl sub_8024a07c /* 8024A520 00247480 80 81 00 34 */ lwz r4, 0x34(r1) /* 8024A524 00247484 38 61 00 60 */ addi r3, r1, 0x60 /* 8024A528 00247488 38 A0 FF FF */ li r5, -1 /* 8024A52C 0024748C 4B FF F6 7D */ bl __ct__20CMemorySomethingElseFUiUi /* 8024A530 00247490 7F E3 FB 78 */ mr r3, r31 /* 8024A534 00247494 38 81 00 60 */ addi r4, r1, 0x60 /* 8024A538 00247498 48 00 00 51 */ bl sub_8024a588 /* 8024A53C 0024749C 38 61 00 60 */ addi r3, r1, 0x60 /* 8024A540 002474A0 38 80 FF FF */ li r4, -1 /* 8024A544 002474A4 4B FF F1 69 */ bl sub_802496ac lbl_8024A548: /* 8024A548 002474A8 3B DE 00 18 */ addi r30, r30, 0x18 lbl_8024A54C: /* 8024A54C 002474AC 80 01 00 54 */ lwz r0, 0x54(r1) /* 8024A550 002474B0 80 61 00 5C */ lwz r3, 0x5c(r1) /* 8024A554 002474B4 1C 00 00 18 */ mulli r0, r0, 0x18 /* 8024A558 002474B8 7C 03 02 14 */ add r0, r3, r0 /* 8024A55C 002474BC 7C 1E 00 40 */ cmplw r30, r0 /* 8024A560 002474C0 40 82 FE B0 */ bne lbl_8024A410 /* 8024A564 002474C4 38 61 00 50 */ addi r3, r1, 0x50 /* 8024A568 002474C8 38 80 FF FF */ li r4, -1 /* 8024A56C 002474CC 4B DB A4 81 */ bl sub_800049ec /* 8024A570 002474D0 7F A3 EB 78 */ mr r3, r29 /* 8024A574 002474D4 BB 41 01 38 */ lmw r26, 0x138(r1) /* 8024A578 002474D8 80 01 01 54 */ lwz r0, 0x154(r1) /* 8024A57C 002474DC 7C 08 03 A6 */ mtlr r0 /* 8024A580 002474E0 38 21 01 50 */ addi r1, r1, 0x150 /* 8024A584 002474E4 4E 80 00 20 */ blr .global sub_8024a588 sub_8024a588: /* 8024A588 002474E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024A58C 002474EC 7C 08 02 A6 */ mflr r0 /* 8024A590 002474F0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A594 002474F4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024A598 002474F8 7C 9F 23 78 */ mr r31, r4 /* 8024A59C 002474FC 93 C1 00 08 */ stw r30, 8(r1) /* 8024A5A0 00247500 7C 7E 1B 78 */ mr r30, r3 /* 8024A5A4 00247504 80 03 00 04 */ lwz r0, 4(r3) /* 8024A5A8 00247508 80 A3 00 08 */ lwz r5, 8(r3) /* 8024A5AC 0024750C 7C 00 28 00 */ cmpw r0, r5 /* 8024A5B0 00247510 41 80 00 18 */ blt lbl_8024A5C8 /* 8024A5B4 00247514 2C 05 00 00 */ cmpwi r5, 0 /* 8024A5B8 00247518 38 80 00 04 */ li r4, 4 /* 8024A5BC 0024751C 41 82 00 08 */ beq lbl_8024A5C4 /* 8024A5C0 00247520 54 A4 08 3C */ slwi r4, r5, 1 lbl_8024A5C4: /* 8024A5C4 00247524 48 00 0A FD */ bl sub_8024b0c0 lbl_8024A5C8: /* 8024A5C8 00247528 80 1E 00 04 */ lwz r0, 4(r30) /* 8024A5CC 0024752C 7F E4 FB 78 */ mr r4, r31 /* 8024A5D0 00247530 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8024A5D4 00247534 1C 00 00 3C */ mulli r0, r0, 0x3c /* 8024A5D8 00247538 7C 63 02 14 */ add r3, r3, r0 /* 8024A5DC 0024753C 48 00 00 29 */ bl sub_8024a604 /* 8024A5E0 00247540 80 7E 00 04 */ lwz r3, 4(r30) /* 8024A5E4 00247544 38 03 00 01 */ addi r0, r3, 1 /* 8024A5E8 00247548 90 1E 00 04 */ stw r0, 4(r30) /* 8024A5EC 0024754C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024A5F0 00247550 83 C1 00 08 */ lwz r30, 8(r1) /* 8024A5F4 00247554 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024A5F8 00247558 7C 08 03 A6 */ mtlr r0 /* 8024A5FC 0024755C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024A600 00247560 4E 80 00 20 */ blr .global sub_8024a604 sub_8024a604: /* 8024A604 00247564 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024A608 00247568 7C 08 02 A6 */ mflr r0 /* 8024A60C 0024756C 28 03 00 00 */ cmplwi r3, 0 /* 8024A610 00247570 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A614 00247574 41 82 00 08 */ beq lbl_8024A61C /* 8024A618 00247578 48 00 00 15 */ bl sub_8024a62c lbl_8024A61C: /* 8024A61C 0024757C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024A620 00247580 7C 08 03 A6 */ mtlr r0 /* 8024A624 00247584 38 21 00 10 */ addi r1, r1, 0x10 /* 8024A628 00247588 4E 80 00 20 */ blr .global sub_8024a62c sub_8024a62c: /* 8024A62C 0024758C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024A630 00247590 7C 08 02 A6 */ mflr r0 /* 8024A634 00247594 90 01 00 14 */ stw r0, 0x14(r1) /* 8024A638 00247598 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024A63C 0024759C 7C 9F 23 78 */ mr r31, r4 /* 8024A640 002475A0 93 C1 00 08 */ stw r30, 8(r1) /* 8024A644 002475A4 7C 7E 1B 78 */ mr r30, r3 /* 8024A648 002475A8 80 04 00 00 */ lwz r0, 0(r4) /* 8024A64C 002475AC 90 03 00 00 */ stw r0, 0(r3) /* 8024A650 002475B0 80 04 00 04 */ lwz r0, 4(r4) /* 8024A654 002475B4 90 03 00 04 */ stw r0, 4(r3) /* 8024A658 002475B8 80 04 00 08 */ lwz r0, 8(r4) /* 8024A65C 002475BC 90 03 00 08 */ stw r0, 8(r3) /* 8024A660 002475C0 80 04 00 10 */ lwz r0, 0x10(r4) /* 8024A664 002475C4 90 03 00 10 */ stw r0, 0x10(r3) /* 8024A668 002475C8 80 04 00 14 */ lwz r0, 0x14(r4) /* 8024A66C 002475CC 90 03 00 14 */ stw r0, 0x14(r3) /* 8024A670 002475D0 80 04 00 10 */ lwz r0, 0x10(r4) /* 8024A674 002475D4 2C 00 00 00 */ cmpwi r0, 0 /* 8024A678 002475D8 40 82 00 1C */ bne lbl_8024A694 /* 8024A67C 002475DC 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8024A680 002475E0 2C 00 00 00 */ cmpwi r0, 0 /* 8024A684 002475E4 40 82 00 10 */ bne lbl_8024A694 /* 8024A688 002475E8 38 00 00 00 */ li r0, 0 /* 8024A68C 002475EC 90 1E 00 18 */ stw r0, 0x18(r30) /* 8024A690 002475F0 48 00 00 64 */ b lbl_8024A6F4 lbl_8024A694: /* 8024A694 002475F4 80 1E 00 14 */ lwz r0, 0x14(r30) /* 8024A698 002475F8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 8024A69C 002475FC 40 82 00 10 */ bne lbl_8024A6AC /* 8024A6A0 00247600 38 00 00 00 */ li r0, 0 /* 8024A6A4 00247604 90 1E 00 18 */ stw r0, 0x18(r30) /* 8024A6A8 00247608 48 00 00 18 */ b lbl_8024A6C0 lbl_8024A6AC: /* 8024A6AC 0024760C 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024A6B0 00247610 38 A0 00 00 */ li r5, 0 /* 8024A6B4 00247614 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024A6B8 00247618 48 0C B1 61 */ bl __nwa__FUlPCcPCc /* 8024A6BC 0024761C 90 7E 00 18 */ stw r3, 0x18(r30) lbl_8024A6C0: /* 8024A6C0 00247620 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8024A6C4 00247624 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8024A6C8 00247628 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8024A6CC 0024762C 7C 09 03 A6 */ mtctr r0 /* 8024A6D0 00247630 2C 00 00 00 */ cmpwi r0, 0 /* 8024A6D4 00247634 40 81 00 20 */ ble lbl_8024A6F4 lbl_8024A6D8: /* 8024A6D8 00247638 28 03 00 00 */ cmplwi r3, 0 /* 8024A6DC 0024763C 41 82 00 0C */ beq lbl_8024A6E8 /* 8024A6E0 00247640 80 04 00 00 */ lwz r0, 0(r4) /* 8024A6E4 00247644 90 03 00 00 */ stw r0, 0(r3) lbl_8024A6E8: /* 8024A6E8 00247648 38 63 00 04 */ addi r3, r3, 4 /* 8024A6EC 0024764C 38 84 00 04 */ addi r4, r4, 4 /* 8024A6F0 00247650 42 00 FF E8 */ bdnz lbl_8024A6D8 lbl_8024A6F4: /* 8024A6F4 00247654 80 1F 00 20 */ lwz r0, 0x20(r31) /* 8024A6F8 00247658 90 1E 00 20 */ stw r0, 0x20(r30) /* 8024A6FC 0024765C 80 1F 00 24 */ lwz r0, 0x24(r31) /* 8024A700 00247660 90 1E 00 24 */ stw r0, 0x24(r30) /* 8024A704 00247664 80 1F 00 20 */ lwz r0, 0x20(r31) /* 8024A708 00247668 2C 00 00 00 */ cmpwi r0, 0 /* 8024A70C 0024766C 40 82 00 1C */ bne lbl_8024A728 /* 8024A710 00247670 80 1F 00 24 */ lwz r0, 0x24(r31) /* 8024A714 00247674 2C 00 00 00 */ cmpwi r0, 0 /* 8024A718 00247678 40 82 00 10 */ bne lbl_8024A728 /* 8024A71C 0024767C 38 00 00 00 */ li r0, 0 /* 8024A720 00247680 90 1E 00 28 */ stw r0, 0x28(r30) /* 8024A724 00247684 48 00 00 74 */ b lbl_8024A798 lbl_8024A728: /* 8024A728 00247688 80 1E 00 24 */ lwz r0, 0x24(r30) /* 8024A72C 0024768C 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b /* 8024A730 00247690 40 82 00 10 */ bne lbl_8024A740 /* 8024A734 00247694 38 00 00 00 */ li r0, 0 /* 8024A738 00247698 90 1E 00 28 */ stw r0, 0x28(r30) /* 8024A73C 0024769C 48 00 00 18 */ b lbl_8024A754 lbl_8024A740: /* 8024A740 002476A0 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024A744 002476A4 38 A0 00 00 */ li r5, 0 /* 8024A748 002476A8 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024A74C 002476AC 48 0C B0 CD */ bl __nwa__FUlPCcPCc /* 8024A750 002476B0 90 7E 00 28 */ stw r3, 0x28(r30) lbl_8024A754: /* 8024A754 002476B4 80 1E 00 20 */ lwz r0, 0x20(r30) /* 8024A758 002476B8 80 BF 00 28 */ lwz r5, 0x28(r31) /* 8024A75C 002476BC 80 9E 00 28 */ lwz r4, 0x28(r30) /* 8024A760 002476C0 7C 09 03 A6 */ mtctr r0 /* 8024A764 002476C4 2C 00 00 00 */ cmpwi r0, 0 /* 8024A768 002476C8 40 81 00 30 */ ble lbl_8024A798 lbl_8024A76C: /* 8024A76C 002476CC 28 04 00 00 */ cmplwi r4, 0 /* 8024A770 002476D0 41 82 00 1C */ beq lbl_8024A78C /* 8024A774 002476D4 80 05 00 00 */ lwz r0, 0(r5) /* 8024A778 002476D8 90 04 00 00 */ stw r0, 0(r4) /* 8024A77C 002476DC 80 05 00 08 */ lwz r0, 8(r5) /* 8024A780 002476E0 80 65 00 0C */ lwz r3, 0xc(r5) /* 8024A784 002476E4 90 64 00 0C */ stw r3, 0xc(r4) /* 8024A788 002476E8 90 04 00 08 */ stw r0, 8(r4) lbl_8024A78C: /* 8024A78C 002476EC 38 84 00 10 */ addi r4, r4, 0x10 /* 8024A790 002476F0 38 A5 00 10 */ addi r5, r5, 0x10 /* 8024A794 002476F4 42 00 FF D8 */ bdnz lbl_8024A76C lbl_8024A798: /* 8024A798 002476F8 88 1F 00 2C */ lbz r0, 0x2c(r31) /* 8024A79C 002476FC 38 80 00 00 */ li r4, 0 /* 8024A7A0 00247700 7F C3 F3 78 */ mr r3, r30 /* 8024A7A4 00247704 98 1E 00 2C */ stb r0, 0x2c(r30) /* 8024A7A8 00247708 80 1F 00 30 */ lwz r0, 0x30(r31) /* 8024A7AC 0024770C 90 1E 00 30 */ stw r0, 0x30(r30) /* 8024A7B0 00247710 98 9F 00 2C */ stb r4, 0x2c(r31) /* 8024A7B4 00247714 88 1F 00 34 */ lbz r0, 0x34(r31) /* 8024A7B8 00247718 98 1E 00 34 */ stb r0, 0x34(r30) /* 8024A7BC 0024771C 80 1F 00 38 */ lwz r0, 0x38(r31) /* 8024A7C0 00247720 90 1E 00 38 */ stw r0, 0x38(r30) /* 8024A7C4 00247724 98 9F 00 34 */ stb r4, 0x34(r31) /* 8024A7C8 00247728 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024A7CC 0024772C 83 C1 00 08 */ lwz r30, 8(r1) /* 8024A7D0 00247730 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024A7D4 00247734 7C 08 03 A6 */ mtlr r0 /* 8024A7D8 00247738 38 21 00 10 */ addi r1, r1, 0x10 /* 8024A7DC 0024773C 4E 80 00 20 */ blr .global sub_8024a7e0 sub_8024a7e0: /* 8024A7E0 00247740 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024A7E4 00247744 7C 08 02 A6 */ mflr r0 /* 8024A7E8 00247748 90 01 00 34 */ stw r0, 0x34(r1) /* 8024A7EC 0024774C 38 00 00 00 */ li r0, 0 /* 8024A7F0 00247750 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024A7F4 00247754 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024A7F8 00247758 7C 9E 23 78 */ mr r30, r4 /* 8024A7FC 0024775C 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024A800 00247760 7C 7D 1B 78 */ mr r29, r3 /* 8024A804 00247764 7F C3 F3 78 */ mr r3, r30 /* 8024A808 00247768 81 05 00 00 */ lwz r8, 0(r5) /* 8024A80C 0024776C 80 A4 00 0C */ lwz r5, 0xc(r4) /* 8024A810 00247770 3C 80 6B CA */ lis r4, 0x6BCA1AF3@ha /* 8024A814 00247774 38 84 1A F3 */ addi r4, r4, 0x6BCA1AF3@l /* 8024A818 00247778 90 C1 00 14 */ stw r6, 0x14(r1) /* 8024A81C 0024777C 7C A5 40 50 */ subf r5, r5, r8 /* 8024A820 00247780 7C E4 28 96 */ mulhw r7, r4, r5 /* 8024A824 00247784 90 C1 00 0C */ stw r6, 0xc(r1) /* 8024A828 00247788 38 81 00 08 */ addi r4, r1, 8 /* 8024A82C 0024778C 90 01 00 18 */ stw r0, 0x18(r1) /* 8024A830 00247790 38 C1 00 0C */ addi r6, r1, 0xc /* 8024A834 00247794 38 A0 00 01 */ li r5, 1 /* 8024A838 00247798 7C E7 2E 70 */ srawi r7, r7, 5 /* 8024A83C 0024779C 90 01 00 10 */ stw r0, 0x10(r1) /* 8024A840 002477A0 54 E0 0F FE */ srwi r0, r7, 0x1f /* 8024A844 002477A4 91 01 00 08 */ stw r8, 8(r1) /* 8024A848 002477A8 7F E7 02 14 */ add r31, r7, r0 /* 8024A84C 002477AC 48 00 00 31 */ bl sub_8024a87c /* 8024A850 002477B0 1C 1F 00 4C */ mulli r0, r31, 0x4c /* 8024A854 002477B4 80 7E 00 0C */ lwz r3, 0xc(r30) /* 8024A858 002477B8 7C 63 02 14 */ add r3, r3, r0 /* 8024A85C 002477BC 90 7D 00 00 */ stw r3, 0(r29) /* 8024A860 002477C0 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024A864 002477C4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024A868 002477C8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024A86C 002477CC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024A870 002477D0 7C 08 03 A6 */ mtlr r0 /* 8024A874 002477D4 38 21 00 30 */ addi r1, r1, 0x30 /* 8024A878 002477D8 4E 80 00 20 */ blr .global sub_8024a87c sub_8024a87c: /* 8024A87C 002477DC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8024A880 002477E0 7C 08 02 A6 */ mflr r0 /* 8024A884 002477E4 90 01 00 44 */ stw r0, 0x44(r1) /* 8024A888 002477E8 BE A1 00 14 */ stmw r21, 0x14(r1) /* 8024A88C 002477EC 7C BA 2B 78 */ mr r26, r5 /* 8024A890 002477F0 7C 79 1B 78 */ mr r25, r3 /* 8024A894 002477F4 7C 95 23 78 */ mr r21, r4 /* 8024A898 002477F8 80 A3 00 04 */ lwz r5, 4(r3) /* 8024A89C 002477FC 80 63 00 08 */ lwz r3, 8(r3) /* 8024A8A0 00247800 7C E5 D2 14 */ add r7, r5, r26 /* 8024A8A4 00247804 80 99 00 0C */ lwz r4, 0xc(r25) /* 8024A8A8 00247808 7C 07 18 00 */ cmpw r7, r3 /* 8024A8AC 0024780C 83 C6 00 00 */ lwz r30, 0(r6) /* 8024A8B0 00247810 7C 9D 23 78 */ mr r29, r4 /* 8024A8B4 00247814 41 81 00 B4 */ bgt lbl_8024A968 /* 8024A8B8 00247818 80 15 00 00 */ lwz r0, 0(r21) /* 8024A8BC 0024781C 3C 60 6B CA */ lis r3, 0x6BCA1AF3@ha /* 8024A8C0 00247820 38 63 1A F3 */ addi r3, r3, 0x6BCA1AF3@l /* 8024A8C4 00247824 7C 04 00 50 */ subf r0, r4, r0 /* 8024A8C8 00247828 7C 03 00 96 */ mulhw r0, r3, r0 /* 8024A8CC 0024782C 7C 00 2E 70 */ srawi r0, r0, 5 /* 8024A8D0 00247830 54 03 0F FE */ srwi r3, r0, 0x1f /* 8024A8D4 00247834 7F 60 1A 14 */ add r27, r0, r3 /* 8024A8D8 00247838 7C 7B 28 50 */ subf r3, r27, r5 /* 8024A8DC 0024783C 3A E3 FF FF */ addi r23, r3, -1 /* 8024A8E0 00247840 1C 7B 00 4C */ mulli r3, r27, 0x4c /* 8024A8E4 00247844 1C 1A 00 4C */ mulli r0, r26, 0x4c /* 8024A8E8 00247848 7E C4 1A 14 */ add r22, r4, r3 /* 8024A8EC 0024784C 1C 77 00 4C */ mulli r3, r23, 0x4c /* 8024A8F0 00247850 7F 00 1A 14 */ add r24, r0, r3 /* 8024A8F4 00247854 7F 16 C2 14 */ add r24, r22, r24 /* 8024A8F8 00247858 7F 96 1A 14 */ add r28, r22, r3 /* 8024A8FC 0024785C 48 00 00 30 */ b lbl_8024A92C lbl_8024A900: /* 8024A900 00247860 7C 1B BA 14 */ add r0, r27, r23 /* 8024A904 00247864 80 99 00 0C */ lwz r4, 0xc(r25) /* 8024A908 00247868 1C 00 00 4C */ mulli r0, r0, 0x4c /* 8024A90C 0024786C 7F 03 C3 78 */ mr r3, r24 /* 8024A910 00247870 7C 84 02 14 */ add r4, r4, r0 /* 8024A914 00247874 48 00 02 01 */ bl sub_8024ab14 /* 8024A918 00247878 7F 83 E3 78 */ mr r3, r28 /* 8024A91C 0024787C 4B FF F6 E5 */ bl sub_8024a000 /* 8024A920 00247880 3B 18 FF B4 */ addi r24, r24, -76 /* 8024A924 00247884 3B 9C FF B4 */ addi r28, r28, -76 /* 8024A928 00247888 3A F7 FF FF */ addi r23, r23, -1 lbl_8024A92C: /* 8024A92C 0024788C 2C 17 00 00 */ cmpwi r23, 0 /* 8024A930 00247890 40 80 FF D0 */ bge lbl_8024A900 /* 8024A934 00247894 3A E0 00 00 */ li r23, 0 /* 8024A938 00247898 48 00 00 18 */ b lbl_8024A950 lbl_8024A93C: /* 8024A93C 0024789C 7E C3 B3 78 */ mr r3, r22 /* 8024A940 002478A0 7F C4 F3 78 */ mr r4, r30 /* 8024A944 002478A4 48 00 01 D1 */ bl sub_8024ab14 /* 8024A948 002478A8 3A D6 00 4C */ addi r22, r22, 0x4c /* 8024A94C 002478AC 3A F7 00 01 */ addi r23, r23, 1 lbl_8024A950: /* 8024A950 002478B0 7C 17 D0 00 */ cmpw r23, r26 /* 8024A954 002478B4 41 80 FF E8 */ blt lbl_8024A93C /* 8024A958 002478B8 80 19 00 04 */ lwz r0, 4(r25) /* 8024A95C 002478BC 7C 00 D2 14 */ add r0, r0, r26 /* 8024A960 002478C0 90 19 00 04 */ stw r0, 4(r25) /* 8024A964 002478C4 48 00 01 50 */ b lbl_8024AAB4 lbl_8024A968: /* 8024A968 002478C8 2C 03 00 00 */ cmpwi r3, 0 /* 8024A96C 002478CC 38 00 00 04 */ li r0, 4 /* 8024A970 002478D0 41 82 00 08 */ beq lbl_8024A978 /* 8024A974 002478D4 54 60 08 3C */ slwi r0, r3, 1 lbl_8024A978: /* 8024A978 002478D8 7C 1C 03 78 */ mr r28, r0 /* 8024A97C 002478DC 48 00 00 08 */ b lbl_8024A984 lbl_8024A980: /* 8024A980 002478E0 57 9C 08 3C */ slwi r28, r28, 1 lbl_8024A984: /* 8024A984 002478E4 7C 1C 38 00 */ cmpw r28, r7 /* 8024A988 002478E8 41 80 FF F8 */ blt lbl_8024A980 /* 8024A98C 002478EC 1C 7C 00 4C */ mulli r3, r28, 0x4c /* 8024A990 002478F0 2C 03 00 00 */ cmpwi r3, 0 /* 8024A994 002478F4 40 82 00 0C */ bne lbl_8024A9A0 /* 8024A998 002478F8 3B E0 00 00 */ li r31, 0 /* 8024A99C 002478FC 48 00 00 18 */ b lbl_8024A9B4 lbl_8024A9A0: /* 8024A9A0 00247900 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024A9A4 00247904 38 A0 00 00 */ li r5, 0 /* 8024A9A8 00247908 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024A9AC 0024790C 48 0C AE 6D */ bl __nwa__FUlPCcPCc /* 8024A9B0 00247910 7C 7F 1B 78 */ mr r31, r3 lbl_8024A9B4: /* 8024A9B4 00247914 80 99 00 0C */ lwz r4, 0xc(r25) /* 8024A9B8 00247918 3C 60 6B CA */ lis r3, 0x6BCA1AF3@ha /* 8024A9BC 0024791C 80 15 00 00 */ lwz r0, 0(r21) /* 8024A9C0 00247920 38 63 1A F3 */ addi r3, r3, 0x6BCA1AF3@l /* 8024A9C4 00247924 7F F6 FB 78 */ mr r22, r31 /* 8024A9C8 00247928 3B 60 00 00 */ li r27, 0 /* 8024A9CC 0024792C 7C 04 00 50 */ subf r0, r4, r0 /* 8024A9D0 00247930 3A A0 00 00 */ li r21, 0 /* 8024A9D4 00247934 7C 03 00 96 */ mulhw r0, r3, r0 /* 8024A9D8 00247938 3A E0 00 00 */ li r23, 0 /* 8024A9DC 0024793C 7C 00 2E 70 */ srawi r0, r0, 5 /* 8024A9E0 00247940 54 03 0F FE */ srwi r3, r0, 0x1f /* 8024A9E4 00247944 7F 00 1A 14 */ add r24, r0, r3 /* 8024A9E8 00247948 48 00 00 24 */ b lbl_8024AA0C lbl_8024A9EC: /* 8024A9EC 0024794C 80 19 00 0C */ lwz r0, 0xc(r25) /* 8024A9F0 00247950 7E C3 B3 78 */ mr r3, r22 /* 8024A9F4 00247954 7C 80 BA 14 */ add r4, r0, r23 /* 8024A9F8 00247958 48 00 01 1D */ bl sub_8024ab14 /* 8024A9FC 0024795C 3A D6 00 4C */ addi r22, r22, 0x4c /* 8024AA00 00247960 3B 7B 00 01 */ addi r27, r27, 1 /* 8024AA04 00247964 3A F7 00 4C */ addi r23, r23, 0x4c /* 8024AA08 00247968 3A B5 00 01 */ addi r21, r21, 1 lbl_8024AA0C: /* 8024AA0C 0024796C 7C 15 C0 00 */ cmpw r21, r24 /* 8024AA10 00247970 41 80 FF DC */ blt lbl_8024A9EC /* 8024AA14 00247974 1C 1B 00 4C */ mulli r0, r27, 0x4c /* 8024AA18 00247978 3A A0 00 00 */ li r21, 0 /* 8024AA1C 0024797C 7E DF 02 14 */ add r22, r31, r0 /* 8024AA20 00247980 48 00 00 1C */ b lbl_8024AA3C lbl_8024AA24: /* 8024AA24 00247984 7E C3 B3 78 */ mr r3, r22 /* 8024AA28 00247988 7F C4 F3 78 */ mr r4, r30 /* 8024AA2C 0024798C 48 00 00 E9 */ bl sub_8024ab14 /* 8024AA30 00247990 3A D6 00 4C */ addi r22, r22, 0x4c /* 8024AA34 00247994 3B 7B 00 01 */ addi r27, r27, 1 /* 8024AA38 00247998 3A B5 00 01 */ addi r21, r21, 1 lbl_8024AA3C: /* 8024AA3C 0024799C 7C 15 D0 00 */ cmpw r21, r26 /* 8024AA40 002479A0 41 80 FF E4 */ blt lbl_8024AA24 /* 8024AA44 002479A4 1C 1B 00 4C */ mulli r0, r27, 0x4c /* 8024AA48 002479A8 7F 15 C3 78 */ mr r21, r24 /* 8024AA4C 002479AC 1E D8 00 4C */ mulli r22, r24, 0x4c /* 8024AA50 002479B0 7E FF 02 14 */ add r23, r31, r0 /* 8024AA54 002479B4 48 00 00 20 */ b lbl_8024AA74 lbl_8024AA58: /* 8024AA58 002479B8 80 19 00 0C */ lwz r0, 0xc(r25) /* 8024AA5C 002479BC 7E E3 BB 78 */ mr r3, r23 /* 8024AA60 002479C0 7C 80 B2 14 */ add r4, r0, r22 /* 8024AA64 002479C4 48 00 00 B1 */ bl sub_8024ab14 /* 8024AA68 002479C8 3A F7 00 4C */ addi r23, r23, 0x4c /* 8024AA6C 002479CC 3A D6 00 4C */ addi r22, r22, 0x4c /* 8024AA70 002479D0 3A B5 00 01 */ addi r21, r21, 1 lbl_8024AA74: /* 8024AA74 002479D4 80 19 00 04 */ lwz r0, 4(r25) /* 8024AA78 002479D8 7C 15 00 00 */ cmpw r21, r0 /* 8024AA7C 002479DC 41 80 FF DC */ blt lbl_8024AA58 /* 8024AA80 002479E0 1C 00 00 4C */ mulli r0, r0, 0x4c /* 8024AA84 002479E4 7F A3 EB 78 */ mr r3, r29 /* 8024AA88 002479E8 7C 9D 02 14 */ add r4, r29, r0 /* 8024AA8C 002479EC 48 00 00 3D */ bl sub_8024aac8 /* 8024AA90 002479F0 80 79 00 0C */ lwz r3, 0xc(r25) /* 8024AA94 002479F4 28 03 00 00 */ cmplwi r3, 0 /* 8024AA98 002479F8 41 82 00 08 */ beq lbl_8024AAA0 /* 8024AA9C 002479FC 48 0C AE 95 */ bl Free__7CMemoryFPCv lbl_8024AAA0: /* 8024AAA0 00247A00 93 F9 00 0C */ stw r31, 0xc(r25) /* 8024AAA4 00247A04 93 99 00 08 */ stw r28, 8(r25) /* 8024AAA8 00247A08 80 19 00 04 */ lwz r0, 4(r25) /* 8024AAAC 00247A0C 7C 00 D2 14 */ add r0, r0, r26 /* 8024AAB0 00247A10 90 19 00 04 */ stw r0, 4(r25) lbl_8024AAB4: /* 8024AAB4 00247A14 BA A1 00 14 */ lmw r21, 0x14(r1) /* 8024AAB8 00247A18 80 01 00 44 */ lwz r0, 0x44(r1) /* 8024AABC 00247A1C 7C 08 03 A6 */ mtlr r0 /* 8024AAC0 00247A20 38 21 00 40 */ addi r1, r1, 0x40 /* 8024AAC4 00247A24 4E 80 00 20 */ blr .global sub_8024aac8 sub_8024aac8: /* 8024AAC8 00247A28 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024AACC 00247A2C 7C 08 02 A6 */ mflr r0 /* 8024AAD0 00247A30 90 01 00 14 */ stw r0, 0x14(r1) /* 8024AAD4 00247A34 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024AAD8 00247A38 7C 7F 1B 78 */ mr r31, r3 /* 8024AADC 00247A3C 93 C1 00 08 */ stw r30, 8(r1) /* 8024AAE0 00247A40 7C 9E 23 78 */ mr r30, r4 /* 8024AAE4 00247A44 48 00 00 10 */ b lbl_8024AAF4 lbl_8024AAE8: /* 8024AAE8 00247A48 7F E3 FB 78 */ mr r3, r31 /* 8024AAEC 00247A4C 4B FF F5 15 */ bl sub_8024a000 /* 8024AAF0 00247A50 3B FF 00 4C */ addi r31, r31, 0x4c lbl_8024AAF4: /* 8024AAF4 00247A54 7C 1F F0 40 */ cmplw r31, r30 /* 8024AAF8 00247A58 40 82 FF F0 */ bne lbl_8024AAE8 /* 8024AAFC 00247A5C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024AB00 00247A60 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024AB04 00247A64 83 C1 00 08 */ lwz r30, 8(r1) /* 8024AB08 00247A68 7C 08 03 A6 */ mtlr r0 /* 8024AB0C 00247A6C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024AB10 00247A70 4E 80 00 20 */ blr .global sub_8024ab14 sub_8024ab14: /* 8024AB14 00247A74 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024AB18 00247A78 7C 08 02 A6 */ mflr r0 /* 8024AB1C 00247A7C 28 03 00 00 */ cmplwi r3, 0 /* 8024AB20 00247A80 90 01 00 14 */ stw r0, 0x14(r1) /* 8024AB24 00247A84 41 82 00 08 */ beq lbl_8024AB2C /* 8024AB28 00247A88 48 00 00 15 */ bl sub_8024ab3c lbl_8024AB2C: /* 8024AB2C 00247A8C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024AB30 00247A90 7C 08 03 A6 */ mtlr r0 /* 8024AB34 00247A94 38 21 00 10 */ addi r1, r1, 0x10 /* 8024AB38 00247A98 4E 80 00 20 */ blr .global sub_8024ab3c sub_8024ab3c: /* 8024AB3C 00247A9C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024AB40 00247AA0 7C 08 02 A6 */ mflr r0 /* 8024AB44 00247AA4 90 01 00 14 */ stw r0, 0x14(r1) /* 8024AB48 00247AA8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024AB4C 00247AAC 7C 7F 1B 78 */ mr r31, r3 /* 8024AB50 00247AB0 38 7F 00 04 */ addi r3, r31, 4 /* 8024AB54 00247AB4 80 04 00 00 */ lwz r0, 0(r4) /* 8024AB58 00247AB8 38 84 00 04 */ addi r4, r4, 4 /* 8024AB5C 00247ABC 90 1F 00 00 */ stw r0, 0(r31) /* 8024AB60 00247AC0 48 00 00 1D */ bl __ct__16CSaveWorldMemoryFRC16CSaveWorldMemory /* 8024AB64 00247AC4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024AB68 00247AC8 7F E3 FB 78 */ mr r3, r31 /* 8024AB6C 00247ACC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024AB70 00247AD0 7C 08 03 A6 */ mtlr r0 /* 8024AB74 00247AD4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024AB78 00247AD8 4E 80 00 20 */ blr .global __ct__16CSaveWorldMemoryFRC16CSaveWorldMemory __ct__16CSaveWorldMemoryFRC16CSaveWorldMemory: /* 8024AB7C 00247ADC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024AB80 00247AE0 7C 08 02 A6 */ mflr r0 /* 8024AB84 00247AE4 90 01 00 24 */ stw r0, 0x24(r1) /* 8024AB88 00247AE8 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024AB8C 00247AEC 7C 9F 23 78 */ mr r31, r4 /* 8024AB90 00247AF0 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024AB94 00247AF4 7C 7E 1B 78 */ mr r30, r3 /* 8024AB98 00247AF8 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024AB9C 00247AFC 93 81 00 10 */ stw r28, 0x10(r1) /* 8024ABA0 00247B00 80 04 00 00 */ lwz r0, 0(r4) /* 8024ABA4 00247B04 90 03 00 00 */ stw r0, 0(r3) /* 8024ABA8 00247B08 80 04 00 04 */ lwz r0, 4(r4) /* 8024ABAC 00247B0C 90 03 00 04 */ stw r0, 4(r3) /* 8024ABB0 00247B10 80 04 00 08 */ lwz r0, 8(r4) /* 8024ABB4 00247B14 90 03 00 08 */ stw r0, 8(r3) /* 8024ABB8 00247B18 80 04 00 10 */ lwz r0, 0x10(r4) /* 8024ABBC 00247B1C 90 03 00 10 */ stw r0, 0x10(r3) /* 8024ABC0 00247B20 80 04 00 14 */ lwz r0, 0x14(r4) /* 8024ABC4 00247B24 90 03 00 14 */ stw r0, 0x14(r3) /* 8024ABC8 00247B28 80 04 00 10 */ lwz r0, 0x10(r4) /* 8024ABCC 00247B2C 2C 00 00 00 */ cmpwi r0, 0 /* 8024ABD0 00247B30 40 82 00 1C */ bne lbl_8024ABEC /* 8024ABD4 00247B34 80 1F 00 14 */ lwz r0, 0x14(r31) /* 8024ABD8 00247B38 2C 00 00 00 */ cmpwi r0, 0 /* 8024ABDC 00247B3C 40 82 00 10 */ bne lbl_8024ABEC /* 8024ABE0 00247B40 38 00 00 00 */ li r0, 0 /* 8024ABE4 00247B44 90 1E 00 18 */ stw r0, 0x18(r30) /* 8024ABE8 00247B48 48 00 00 64 */ b lbl_8024AC4C lbl_8024ABEC: /* 8024ABEC 00247B4C 80 1E 00 14 */ lwz r0, 0x14(r30) /* 8024ABF0 00247B50 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d /* 8024ABF4 00247B54 40 82 00 10 */ bne lbl_8024AC04 /* 8024ABF8 00247B58 38 00 00 00 */ li r0, 0 /* 8024ABFC 00247B5C 90 1E 00 18 */ stw r0, 0x18(r30) /* 8024AC00 00247B60 48 00 00 18 */ b lbl_8024AC18 lbl_8024AC04: /* 8024AC04 00247B64 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024AC08 00247B68 38 A0 00 00 */ li r5, 0 /* 8024AC0C 00247B6C 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024AC10 00247B70 48 0C AC 09 */ bl __nwa__FUlPCcPCc /* 8024AC14 00247B74 90 7E 00 18 */ stw r3, 0x18(r30) lbl_8024AC18: /* 8024AC18 00247B78 80 1E 00 10 */ lwz r0, 0x10(r30) /* 8024AC1C 00247B7C 80 9F 00 18 */ lwz r4, 0x18(r31) /* 8024AC20 00247B80 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8024AC24 00247B84 7C 09 03 A6 */ mtctr r0 /* 8024AC28 00247B88 2C 00 00 00 */ cmpwi r0, 0 /* 8024AC2C 00247B8C 40 81 00 20 */ ble lbl_8024AC4C lbl_8024AC30: /* 8024AC30 00247B90 28 03 00 00 */ cmplwi r3, 0 /* 8024AC34 00247B94 41 82 00 0C */ beq lbl_8024AC40 /* 8024AC38 00247B98 80 04 00 00 */ lwz r0, 0(r4) /* 8024AC3C 00247B9C 90 03 00 00 */ stw r0, 0(r3) lbl_8024AC40: /* 8024AC40 00247BA0 38 63 00 04 */ addi r3, r3, 4 /* 8024AC44 00247BA4 38 84 00 04 */ addi r4, r4, 4 /* 8024AC48 00247BA8 42 00 FF E8 */ bdnz lbl_8024AC30 lbl_8024AC4C: /* 8024AC4C 00247BAC 80 1F 00 20 */ lwz r0, 0x20(r31) /* 8024AC50 00247BB0 90 1E 00 20 */ stw r0, 0x20(r30) /* 8024AC54 00247BB4 80 1F 00 24 */ lwz r0, 0x24(r31) /* 8024AC58 00247BB8 90 1E 00 24 */ stw r0, 0x24(r30) /* 8024AC5C 00247BBC 80 1F 00 20 */ lwz r0, 0x20(r31) /* 8024AC60 00247BC0 2C 00 00 00 */ cmpwi r0, 0 /* 8024AC64 00247BC4 40 82 00 1C */ bne lbl_8024AC80 /* 8024AC68 00247BC8 80 1F 00 24 */ lwz r0, 0x24(r31) /* 8024AC6C 00247BCC 2C 00 00 00 */ cmpwi r0, 0 /* 8024AC70 00247BD0 40 82 00 10 */ bne lbl_8024AC80 /* 8024AC74 00247BD4 38 00 00 00 */ li r0, 0 /* 8024AC78 00247BD8 90 1E 00 28 */ stw r0, 0x28(r30) /* 8024AC7C 00247BDC 48 00 00 74 */ b lbl_8024ACF0 lbl_8024AC80: /* 8024AC80 00247BE0 80 1E 00 24 */ lwz r0, 0x24(r30) /* 8024AC84 00247BE4 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b /* 8024AC88 00247BE8 40 82 00 10 */ bne lbl_8024AC98 /* 8024AC8C 00247BEC 38 00 00 00 */ li r0, 0 /* 8024AC90 00247BF0 90 1E 00 28 */ stw r0, 0x28(r30) /* 8024AC94 00247BF4 48 00 00 18 */ b lbl_8024ACAC lbl_8024AC98: /* 8024AC98 00247BF8 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024AC9C 00247BFC 38 A0 00 00 */ li r5, 0 /* 8024ACA0 00247C00 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024ACA4 00247C04 48 0C AB 75 */ bl __nwa__FUlPCcPCc /* 8024ACA8 00247C08 90 7E 00 28 */ stw r3, 0x28(r30) lbl_8024ACAC: /* 8024ACAC 00247C0C 80 1E 00 20 */ lwz r0, 0x20(r30) /* 8024ACB0 00247C10 80 BF 00 28 */ lwz r5, 0x28(r31) /* 8024ACB4 00247C14 80 9E 00 28 */ lwz r4, 0x28(r30) /* 8024ACB8 00247C18 7C 09 03 A6 */ mtctr r0 /* 8024ACBC 00247C1C 2C 00 00 00 */ cmpwi r0, 0 /* 8024ACC0 00247C20 40 81 00 30 */ ble lbl_8024ACF0 lbl_8024ACC4: /* 8024ACC4 00247C24 28 04 00 00 */ cmplwi r4, 0 /* 8024ACC8 00247C28 41 82 00 1C */ beq lbl_8024ACE4 /* 8024ACCC 00247C2C 80 05 00 00 */ lwz r0, 0(r5) /* 8024ACD0 00247C30 90 04 00 00 */ stw r0, 0(r4) /* 8024ACD4 00247C34 80 05 00 08 */ lwz r0, 8(r5) /* 8024ACD8 00247C38 80 65 00 0C */ lwz r3, 0xc(r5) /* 8024ACDC 00247C3C 90 64 00 0C */ stw r3, 0xc(r4) /* 8024ACE0 00247C40 90 04 00 08 */ stw r0, 8(r4) lbl_8024ACE4: /* 8024ACE4 00247C44 38 84 00 10 */ addi r4, r4, 0x10 /* 8024ACE8 00247C48 38 A5 00 10 */ addi r5, r5, 0x10 /* 8024ACEC 00247C4C 42 00 FF D8 */ bdnz lbl_8024ACC4 lbl_8024ACF0: /* 8024ACF0 00247C50 88 1F 00 38 */ lbz r0, 0x38(r31) /* 8024ACF4 00247C54 98 1E 00 38 */ stb r0, 0x38(r30) /* 8024ACF8 00247C58 88 1F 00 38 */ lbz r0, 0x38(r31) /* 8024ACFC 00247C5C 28 00 00 00 */ cmplwi r0, 0 /* 8024AD00 00247C60 41 82 00 24 */ beq lbl_8024AD24 /* 8024AD04 00247C64 37 BE 00 2C */ addic. r29, r30, 0x2c /* 8024AD08 00247C68 3B 9F 00 2C */ addi r28, r31, 0x2c /* 8024AD0C 00247C6C 41 82 00 18 */ beq lbl_8024AD24 /* 8024AD10 00247C70 7F A3 EB 78 */ mr r3, r29 /* 8024AD14 00247C74 7F 84 E3 78 */ mr r4, r28 /* 8024AD18 00247C78 48 0F 61 91 */ bl __ct__6CTokenFRC6CToken /* 8024AD1C 00247C7C 80 1C 00 08 */ lwz r0, 8(r28) /* 8024AD20 00247C80 90 1D 00 08 */ stw r0, 8(r29) lbl_8024AD24: /* 8024AD24 00247C84 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8024AD28 00247C88 98 1E 00 44 */ stb r0, 0x44(r30) /* 8024AD2C 00247C8C 88 1F 00 44 */ lbz r0, 0x44(r31) /* 8024AD30 00247C90 28 00 00 00 */ cmplwi r0, 0 /* 8024AD34 00247C94 41 82 00 14 */ beq lbl_8024AD48 /* 8024AD38 00247C98 34 7E 00 3C */ addic. r3, r30, 0x3c /* 8024AD3C 00247C9C 38 9F 00 3C */ addi r4, r31, 0x3c /* 8024AD40 00247CA0 41 82 00 08 */ beq lbl_8024AD48 /* 8024AD44 00247CA4 48 0F 61 65 */ bl __ct__6CTokenFRC6CToken lbl_8024AD48: /* 8024AD48 00247CA8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024AD4C 00247CAC 7F C3 F3 78 */ mr r3, r30 /* 8024AD50 00247CB0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024AD54 00247CB4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024AD58 00247CB8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024AD5C 00247CBC 83 81 00 10 */ lwz r28, 0x10(r1) /* 8024AD60 00247CC0 7C 08 03 A6 */ mtlr r0 /* 8024AD64 00247CC4 38 21 00 20 */ addi r1, r1, 0x20 /* 8024AD68 00247CC8 4E 80 00 20 */ blr .global sub_8024ad6c sub_8024ad6c: /* 8024AD6C 00247CCC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024AD70 00247CD0 7C 08 02 A6 */ mflr r0 /* 8024AD74 00247CD4 90 01 00 14 */ stw r0, 0x14(r1) /* 8024AD78 00247CD8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024AD7C 00247CDC 7C 7F 1B 78 */ mr r31, r3 /* 8024AD80 00247CE0 80 04 00 00 */ lwz r0, 0(r4) /* 8024AD84 00247CE4 7C A4 2B 78 */ mr r4, r5 /* 8024AD88 00247CE8 90 03 00 00 */ stw r0, 0(r3) /* 8024AD8C 00247CEC 38 7F 00 04 */ addi r3, r31, 4 /* 8024AD90 00247CF0 4B FF FD ED */ bl __ct__16CSaveWorldMemoryFRC16CSaveWorldMemory /* 8024AD94 00247CF4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024AD98 00247CF8 7F E3 FB 78 */ mr r3, r31 /* 8024AD9C 00247CFC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024ADA0 00247D00 7C 08 03 A6 */ mtlr r0 /* 8024ADA4 00247D04 38 21 00 10 */ addi r1, r1, 0x10 /* 8024ADA8 00247D08 4E 80 00 20 */ blr .global sub_8024adac sub_8024adac: /* 8024ADAC 00247D0C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024ADB0 00247D10 7C 08 02 A6 */ mflr r0 /* 8024ADB4 00247D14 90 01 00 24 */ stw r0, 0x24(r1) /* 8024ADB8 00247D18 38 A1 00 0C */ addi r5, r1, 0xc /* 8024ADBC 00247D1C 88 E1 00 08 */ lbz r7, 8(r1) /* 8024ADC0 00247D20 80 C4 00 00 */ lwz r6, 0(r4) /* 8024ADC4 00247D24 38 81 00 10 */ addi r4, r1, 0x10 /* 8024ADC8 00247D28 80 03 00 00 */ lwz r0, 0(r3) /* 8024ADCC 00247D2C 38 61 00 14 */ addi r3, r1, 0x14 /* 8024ADD0 00247D30 90 C1 00 10 */ stw r6, 0x10(r1) /* 8024ADD4 00247D34 98 E1 00 0C */ stb r7, 0xc(r1) /* 8024ADD8 00247D38 90 01 00 14 */ stw r0, 0x14(r1) /* 8024ADDC 00247D3C 48 00 00 15 */ bl sub_8024adf0 /* 8024ADE0 00247D40 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024ADE4 00247D44 7C 08 03 A6 */ mtlr r0 /* 8024ADE8 00247D48 38 21 00 20 */ addi r1, r1, 0x20 /* 8024ADEC 00247D4C 4E 80 00 20 */ blr .global sub_8024adf0 sub_8024adf0: /* 8024ADF0 00247D50 80 63 00 00 */ lwz r3, 0(r3) /* 8024ADF4 00247D54 80 04 00 00 */ lwz r0, 0(r4) /* 8024ADF8 00247D58 7C 03 00 50 */ subf r0, r3, r0 /* 8024ADFC 00247D5C 7C 00 16 70 */ srawi r0, r0, 2 /* 8024AE00 00247D60 7C 60 01 94 */ addze r3, r0 /* 8024AE04 00247D64 4E 80 00 20 */ blr .global sub_8024ae08 sub_8024ae08: /* 8024AE08 00247D68 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024AE0C 00247D6C 7C 08 02 A6 */ mflr r0 /* 8024AE10 00247D70 90 01 00 34 */ stw r0, 0x34(r1) /* 8024AE14 00247D74 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8024AE18 00247D78 7C 9F 23 78 */ mr r31, r4 /* 8024AE1C 00247D7C 7C 7E 1B 78 */ mr r30, r3 /* 8024AE20 00247D80 7C DB 33 78 */ mr r27, r6 /* 8024AE24 00247D84 38 61 00 0C */ addi r3, r1, 0xc /* 8024AE28 00247D88 80 85 00 00 */ lwz r4, 0(r5) /* 8024AE2C 00247D8C 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AE30 00247D90 90 81 00 08 */ stw r4, 8(r1) /* 8024AE34 00247D94 38 81 00 08 */ addi r4, r1, 8 /* 8024AE38 00247D98 90 01 00 0C */ stw r0, 0xc(r1) /* 8024AE3C 00247D9C 48 00 04 89 */ bl sub_8024b2c4 /* 8024AE40 00247DA0 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AE44 00247DA4 7C 7D 1B 78 */ mr r29, r3 /* 8024AE48 00247DA8 90 01 00 10 */ stw r0, 0x10(r1) /* 8024AE4C 00247DAC 48 00 00 58 */ b lbl_8024AEA4 lbl_8024AE50: /* 8024AE50 00247DB0 57 A3 0F FE */ srwi r3, r29, 0x1f /* 8024AE54 00247DB4 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AE58 00247DB8 7C 83 EA 14 */ add r4, r3, r29 /* 8024AE5C 00247DBC 38 61 00 10 */ addi r3, r1, 0x10 /* 8024AE60 00247DC0 7C 9C 0E 70 */ srawi r28, r4, 1 /* 8024AE64 00247DC4 90 01 00 10 */ stw r0, 0x10(r1) /* 8024AE68 00247DC8 7F 84 E3 78 */ mr r4, r28 /* 8024AE6C 00247DCC 48 00 03 D9 */ bl sub_8024b244 /* 8024AE70 00247DD0 80 81 00 10 */ lwz r4, 0x10(r1) /* 8024AE74 00247DD4 80 1B 00 00 */ lwz r0, 0(r27) /* 8024AE78 00247DD8 80 64 00 00 */ lwz r3, 0(r4) /* 8024AE7C 00247DDC 7C 03 00 40 */ cmplw r3, r0 /* 8024AE80 00247DE0 40 80 00 20 */ bge lbl_8024AEA0 /* 8024AE84 00247DE4 90 9F 00 00 */ stw r4, 0(r31) /* 8024AE88 00247DE8 7C 7C E8 50 */ subf r3, r28, r29 /* 8024AE8C 00247DEC 3B A3 FF FF */ addi r29, r3, -1 /* 8024AE90 00247DF0 80 7F 00 00 */ lwz r3, 0(r31) /* 8024AE94 00247DF4 38 03 00 4C */ addi r0, r3, 0x4c /* 8024AE98 00247DF8 90 1F 00 00 */ stw r0, 0(r31) /* 8024AE9C 00247DFC 48 00 00 08 */ b lbl_8024AEA4 lbl_8024AEA0: /* 8024AEA0 00247E00 7F 9D E3 78 */ mr r29, r28 lbl_8024AEA4: /* 8024AEA4 00247E04 2C 1D 00 00 */ cmpwi r29, 0 /* 8024AEA8 00247E08 41 81 FF A8 */ bgt lbl_8024AE50 /* 8024AEAC 00247E0C 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AEB0 00247E10 90 1E 00 00 */ stw r0, 0(r30) /* 8024AEB4 00247E14 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8024AEB8 00247E18 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024AEBC 00247E1C 7C 08 03 A6 */ mtlr r0 /* 8024AEC0 00247E20 38 21 00 30 */ addi r1, r1, 0x30 /* 8024AEC4 00247E24 4E 80 00 20 */ blr .global sub_8024aec8 sub_8024aec8: /* 8024AEC8 00247E28 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024AECC 00247E2C 7C 08 02 A6 */ mflr r0 /* 8024AED0 00247E30 90 01 00 34 */ stw r0, 0x34(r1) /* 8024AED4 00247E34 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 8024AED8 00247E38 7C 9F 23 78 */ mr r31, r4 /* 8024AEDC 00247E3C 7C 7E 1B 78 */ mr r30, r3 /* 8024AEE0 00247E40 7C DB 33 78 */ mr r27, r6 /* 8024AEE4 00247E44 38 61 00 0C */ addi r3, r1, 0xc /* 8024AEE8 00247E48 80 85 00 00 */ lwz r4, 0(r5) /* 8024AEEC 00247E4C 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AEF0 00247E50 90 81 00 08 */ stw r4, 8(r1) /* 8024AEF4 00247E54 38 81 00 08 */ addi r4, r1, 8 /* 8024AEF8 00247E58 90 01 00 0C */ stw r0, 0xc(r1) /* 8024AEFC 00247E5C 48 00 04 0D */ bl sub_8024b308 /* 8024AF00 00247E60 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AF04 00247E64 7C 7D 1B 78 */ mr r29, r3 /* 8024AF08 00247E68 90 01 00 10 */ stw r0, 0x10(r1) /* 8024AF0C 00247E6C 48 00 00 58 */ b lbl_8024AF64 lbl_8024AF10: /* 8024AF10 00247E70 57 A3 0F FE */ srwi r3, r29, 0x1f /* 8024AF14 00247E74 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AF18 00247E78 7C 83 EA 14 */ add r4, r3, r29 /* 8024AF1C 00247E7C 38 61 00 10 */ addi r3, r1, 0x10 /* 8024AF20 00247E80 7C 9C 0E 70 */ srawi r28, r4, 1 /* 8024AF24 00247E84 90 01 00 10 */ stw r0, 0x10(r1) /* 8024AF28 00247E88 7F 84 E3 78 */ mr r4, r28 /* 8024AF2C 00247E8C 48 00 03 45 */ bl sub_8024b270 /* 8024AF30 00247E90 80 81 00 10 */ lwz r4, 0x10(r1) /* 8024AF34 00247E94 80 1B 00 00 */ lwz r0, 0(r27) /* 8024AF38 00247E98 80 64 00 00 */ lwz r3, 0(r4) /* 8024AF3C 00247E9C 7C 03 00 40 */ cmplw r3, r0 /* 8024AF40 00247EA0 40 80 00 20 */ bge lbl_8024AF60 /* 8024AF44 00247EA4 90 9F 00 00 */ stw r4, 0(r31) /* 8024AF48 00247EA8 7C 7C E8 50 */ subf r3, r28, r29 /* 8024AF4C 00247EAC 3B A3 FF FF */ addi r29, r3, -1 /* 8024AF50 00247EB0 80 7F 00 00 */ lwz r3, 0(r31) /* 8024AF54 00247EB4 38 03 00 4C */ addi r0, r3, 0x4c /* 8024AF58 00247EB8 90 1F 00 00 */ stw r0, 0(r31) /* 8024AF5C 00247EBC 48 00 00 08 */ b lbl_8024AF64 lbl_8024AF60: /* 8024AF60 00247EC0 7F 9D E3 78 */ mr r29, r28 lbl_8024AF64: /* 8024AF64 00247EC4 2C 1D 00 00 */ cmpwi r29, 0 /* 8024AF68 00247EC8 41 81 FF A8 */ bgt lbl_8024AF10 /* 8024AF6C 00247ECC 80 1F 00 00 */ lwz r0, 0(r31) /* 8024AF70 00247ED0 90 1E 00 00 */ stw r0, 0(r30) /* 8024AF74 00247ED4 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 8024AF78 00247ED8 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024AF7C 00247EDC 7C 08 03 A6 */ mtlr r0 /* 8024AF80 00247EE0 38 21 00 30 */ addi r1, r1, 0x30 /* 8024AF84 00247EE4 4E 80 00 20 */ blr .global sub_8024af88 sub_8024af88: /* 8024AF88 00247EE8 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024AF8C 00247EEC 7C 08 02 A6 */ mflr r0 /* 8024AF90 00247EF0 90 01 00 34 */ stw r0, 0x34(r1) /* 8024AF94 00247EF4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024AF98 00247EF8 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024AF9C 00247EFC 7C 9E 23 78 */ mr r30, r4 /* 8024AFA0 00247F00 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024AFA4 00247F04 7C 7D 1B 78 */ mr r29, r3 /* 8024AFA8 00247F08 80 03 00 08 */ lwz r0, 8(r3) /* 8024AFAC 00247F0C 7C 1E 00 00 */ cmpw r30, r0 /* 8024AFB0 00247F10 40 81 00 8C */ ble lbl_8024B03C /* 8024AFB4 00247F14 1C 7E 00 4C */ mulli r3, r30, 0x4c /* 8024AFB8 00247F18 2C 03 00 00 */ cmpwi r3, 0 /* 8024AFBC 00247F1C 40 82 00 0C */ bne lbl_8024AFC8 /* 8024AFC0 00247F20 3B E0 00 00 */ li r31, 0 /* 8024AFC4 00247F24 48 00 00 18 */ b lbl_8024AFDC lbl_8024AFC8: /* 8024AFC8 00247F28 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024AFCC 00247F2C 38 A0 00 00 */ li r5, 0 /* 8024AFD0 00247F30 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024AFD4 00247F34 48 0C A8 45 */ bl __nwa__FUlPCcPCc /* 8024AFD8 00247F38 7C 7F 1B 78 */ mr r31, r3 lbl_8024AFDC: /* 8024AFDC 00247F3C 80 1D 00 04 */ lwz r0, 4(r29) /* 8024AFE0 00247F40 7F E5 FB 78 */ mr r5, r31 /* 8024AFE4 00247F44 80 DD 00 0C */ lwz r6, 0xc(r29) /* 8024AFE8 00247F48 38 61 00 14 */ addi r3, r1, 0x14 /* 8024AFEC 00247F4C 1C 00 00 4C */ mulli r0, r0, 0x4c /* 8024AFF0 00247F50 38 81 00 0C */ addi r4, r1, 0xc /* 8024AFF4 00247F54 7C C6 02 14 */ add r6, r6, r0 /* 8024AFF8 00247F58 90 C1 00 0C */ stw r6, 0xc(r1) /* 8024AFFC 00247F5C 80 1D 00 0C */ lwz r0, 0xc(r29) /* 8024B000 00247F60 90 C1 00 08 */ stw r6, 8(r1) /* 8024B004 00247F64 90 01 00 10 */ stw r0, 0x10(r1) /* 8024B008 00247F68 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B00C 00247F6C 48 00 00 4D */ bl sub_8024b058 /* 8024B010 00247F70 80 1D 00 04 */ lwz r0, 4(r29) /* 8024B014 00247F74 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8024B018 00247F78 1C 00 00 4C */ mulli r0, r0, 0x4c /* 8024B01C 00247F7C 7C 83 02 14 */ add r4, r3, r0 /* 8024B020 00247F80 4B FF FA A9 */ bl sub_8024aac8 /* 8024B024 00247F84 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8024B028 00247F88 28 03 00 00 */ cmplwi r3, 0 /* 8024B02C 00247F8C 41 82 00 08 */ beq lbl_8024B034 /* 8024B030 00247F90 48 0C A9 01 */ bl Free__7CMemoryFPCv lbl_8024B034: /* 8024B034 00247F94 93 FD 00 0C */ stw r31, 0xc(r29) /* 8024B038 00247F98 93 DD 00 08 */ stw r30, 8(r29) lbl_8024B03C: /* 8024B03C 00247F9C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024B040 00247FA0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024B044 00247FA4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024B048 00247FA8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024B04C 00247FAC 7C 08 03 A6 */ mtlr r0 /* 8024B050 00247FB0 38 21 00 30 */ addi r1, r1, 0x30 /* 8024B054 00247FB4 4E 80 00 20 */ blr .global sub_8024b058 sub_8024b058: /* 8024B058 00247FB8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024B05C 00247FBC 7C 08 02 A6 */ mflr r0 /* 8024B060 00247FC0 90 01 00 24 */ stw r0, 0x24(r1) /* 8024B064 00247FC4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024B068 00247FC8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024B06C 00247FCC 7C BE 2B 78 */ mr r30, r5 /* 8024B070 00247FD0 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024B074 00247FD4 7C 9D 23 78 */ mr r29, r4 /* 8024B078 00247FD8 83 E3 00 00 */ lwz r31, 0(r3) /* 8024B07C 00247FDC 48 00 00 18 */ b lbl_8024B094 lbl_8024B080: /* 8024B080 00247FE0 7F C3 F3 78 */ mr r3, r30 /* 8024B084 00247FE4 7F E4 FB 78 */ mr r4, r31 /* 8024B088 00247FE8 4B FF FA 8D */ bl sub_8024ab14 /* 8024B08C 00247FEC 3B DE 00 4C */ addi r30, r30, 0x4c /* 8024B090 00247FF0 3B FF 00 4C */ addi r31, r31, 0x4c lbl_8024B094: /* 8024B094 00247FF4 80 1D 00 00 */ lwz r0, 0(r29) /* 8024B098 00247FF8 7C 1F 00 40 */ cmplw r31, r0 /* 8024B09C 00247FFC 40 82 FF E4 */ bne lbl_8024B080 /* 8024B0A0 00248000 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024B0A4 00248004 7F C3 F3 78 */ mr r3, r30 /* 8024B0A8 00248008 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024B0AC 0024800C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024B0B0 00248010 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024B0B4 00248014 7C 08 03 A6 */ mtlr r0 /* 8024B0B8 00248018 38 21 00 20 */ addi r1, r1, 0x20 /* 8024B0BC 0024801C 4E 80 00 20 */ blr .global sub_8024b0c0 sub_8024b0c0: /* 8024B0C0 00248020 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024B0C4 00248024 7C 08 02 A6 */ mflr r0 /* 8024B0C8 00248028 90 01 00 34 */ stw r0, 0x34(r1) /* 8024B0CC 0024802C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024B0D0 00248030 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024B0D4 00248034 7C 9E 23 78 */ mr r30, r4 /* 8024B0D8 00248038 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024B0DC 0024803C 7C 7D 1B 78 */ mr r29, r3 /* 8024B0E0 00248040 80 03 00 08 */ lwz r0, 8(r3) /* 8024B0E4 00248044 7C 1E 00 00 */ cmpw r30, r0 /* 8024B0E8 00248048 40 81 00 8C */ ble lbl_8024B174 /* 8024B0EC 0024804C 1C 7E 00 3C */ mulli r3, r30, 0x3c /* 8024B0F0 00248050 2C 03 00 00 */ cmpwi r3, 0 /* 8024B0F4 00248054 40 82 00 0C */ bne lbl_8024B100 /* 8024B0F8 00248058 3B E0 00 00 */ li r31, 0 /* 8024B0FC 0024805C 48 00 00 18 */ b lbl_8024B114 lbl_8024B100: /* 8024B100 00248060 3C 80 80 3D */ lis r4, lbl_803D4780@ha /* 8024B104 00248064 38 A0 00 00 */ li r5, 0 /* 8024B108 00248068 38 84 47 80 */ addi r4, r4, lbl_803D4780@l /* 8024B10C 0024806C 48 0C A7 0D */ bl __nwa__FUlPCcPCc /* 8024B110 00248070 7C 7F 1B 78 */ mr r31, r3 lbl_8024B114: /* 8024B114 00248074 80 1D 00 04 */ lwz r0, 4(r29) /* 8024B118 00248078 7F E5 FB 78 */ mr r5, r31 /* 8024B11C 0024807C 80 DD 00 0C */ lwz r6, 0xc(r29) /* 8024B120 00248080 38 61 00 14 */ addi r3, r1, 0x14 /* 8024B124 00248084 1C 00 00 3C */ mulli r0, r0, 0x3c /* 8024B128 00248088 38 81 00 0C */ addi r4, r1, 0xc /* 8024B12C 0024808C 7C C6 02 14 */ add r6, r6, r0 /* 8024B130 00248090 90 C1 00 0C */ stw r6, 0xc(r1) /* 8024B134 00248094 80 1D 00 0C */ lwz r0, 0xc(r29) /* 8024B138 00248098 90 C1 00 08 */ stw r6, 8(r1) /* 8024B13C 0024809C 90 01 00 10 */ stw r0, 0x10(r1) /* 8024B140 002480A0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B144 002480A4 48 00 00 99 */ bl sub_8024b1dc /* 8024B148 002480A8 80 1D 00 04 */ lwz r0, 4(r29) /* 8024B14C 002480AC 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8024B150 002480B0 1C 00 00 3C */ mulli r0, r0, 0x3c /* 8024B154 002480B4 7C 83 02 14 */ add r4, r3, r0 /* 8024B158 002480B8 48 00 00 39 */ bl sub_8024b190 /* 8024B15C 002480BC 80 7D 00 0C */ lwz r3, 0xc(r29) /* 8024B160 002480C0 28 03 00 00 */ cmplwi r3, 0 /* 8024B164 002480C4 41 82 00 08 */ beq lbl_8024B16C /* 8024B168 002480C8 48 0C A7 C9 */ bl Free__7CMemoryFPCv lbl_8024B16C: /* 8024B16C 002480CC 93 FD 00 0C */ stw r31, 0xc(r29) /* 8024B170 002480D0 93 DD 00 08 */ stw r30, 8(r29) lbl_8024B174: /* 8024B174 002480D4 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024B178 002480D8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024B17C 002480DC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024B180 002480E0 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024B184 002480E4 7C 08 03 A6 */ mtlr r0 /* 8024B188 002480E8 38 21 00 30 */ addi r1, r1, 0x30 /* 8024B18C 002480EC 4E 80 00 20 */ blr .global sub_8024b190 sub_8024b190: /* 8024B190 002480F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B194 002480F4 7C 08 02 A6 */ mflr r0 /* 8024B198 002480F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B19C 002480FC 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024B1A0 00248100 7C 7F 1B 78 */ mr r31, r3 /* 8024B1A4 00248104 93 C1 00 08 */ stw r30, 8(r1) /* 8024B1A8 00248108 7C 9E 23 78 */ mr r30, r4 /* 8024B1AC 0024810C 48 00 00 10 */ b lbl_8024B1BC lbl_8024B1B0: /* 8024B1B0 00248110 7F E3 FB 78 */ mr r3, r31 /* 8024B1B4 00248114 4B FF E4 D5 */ bl sub_80249688 /* 8024B1B8 00248118 3B FF 00 3C */ addi r31, r31, 0x3c lbl_8024B1BC: /* 8024B1BC 0024811C 7C 1F F0 40 */ cmplw r31, r30 /* 8024B1C0 00248120 40 82 FF F0 */ bne lbl_8024B1B0 /* 8024B1C4 00248124 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B1C8 00248128 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024B1CC 0024812C 83 C1 00 08 */ lwz r30, 8(r1) /* 8024B1D0 00248130 7C 08 03 A6 */ mtlr r0 /* 8024B1D4 00248134 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B1D8 00248138 4E 80 00 20 */ blr .global sub_8024b1dc sub_8024b1dc: /* 8024B1DC 0024813C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024B1E0 00248140 7C 08 02 A6 */ mflr r0 /* 8024B1E4 00248144 90 01 00 24 */ stw r0, 0x24(r1) /* 8024B1E8 00248148 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024B1EC 0024814C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024B1F0 00248150 7C BE 2B 78 */ mr r30, r5 /* 8024B1F4 00248154 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024B1F8 00248158 7C 9D 23 78 */ mr r29, r4 /* 8024B1FC 0024815C 83 E3 00 00 */ lwz r31, 0(r3) /* 8024B200 00248160 48 00 00 18 */ b lbl_8024B218 lbl_8024B204: /* 8024B204 00248164 7F C3 F3 78 */ mr r3, r30 /* 8024B208 00248168 7F E4 FB 78 */ mr r4, r31 /* 8024B20C 0024816C 4B FF F3 F9 */ bl sub_8024a604 /* 8024B210 00248170 3B DE 00 3C */ addi r30, r30, 0x3c /* 8024B214 00248174 3B FF 00 3C */ addi r31, r31, 0x3c lbl_8024B218: /* 8024B218 00248178 80 1D 00 00 */ lwz r0, 0(r29) /* 8024B21C 0024817C 7C 1F 00 40 */ cmplw r31, r0 /* 8024B220 00248180 40 82 FF E4 */ bne lbl_8024B204 /* 8024B224 00248184 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024B228 00248188 7F C3 F3 78 */ mr r3, r30 /* 8024B22C 0024818C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024B230 00248190 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024B234 00248194 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024B238 00248198 7C 08 03 A6 */ mtlr r0 /* 8024B23C 0024819C 38 21 00 20 */ addi r1, r1, 0x20 /* 8024B240 002481A0 4E 80 00 20 */ blr .global sub_8024b244 sub_8024b244: /* 8024B244 002481A4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B248 002481A8 7C 08 02 A6 */ mflr r0 /* 8024B24C 002481AC 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B250 002481B0 38 A1 00 0C */ addi r5, r1, 0xc /* 8024B254 002481B4 88 01 00 08 */ lbz r0, 8(r1) /* 8024B258 002481B8 98 01 00 0C */ stb r0, 0xc(r1) /* 8024B25C 002481BC 48 00 00 55 */ bl sub_8024b2b0 /* 8024B260 002481C0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B264 002481C4 7C 08 03 A6 */ mtlr r0 /* 8024B268 002481C8 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B26C 002481CC 4E 80 00 20 */ blr .global sub_8024b270 sub_8024b270: /* 8024B270 002481D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B274 002481D4 7C 08 02 A6 */ mflr r0 /* 8024B278 002481D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B27C 002481DC 38 A1 00 0C */ addi r5, r1, 0xc /* 8024B280 002481E0 88 01 00 08 */ lbz r0, 8(r1) /* 8024B284 002481E4 98 01 00 0C */ stb r0, 0xc(r1) /* 8024B288 002481E8 48 00 00 15 */ bl sub_8024b29c /* 8024B28C 002481EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B290 002481F0 7C 08 03 A6 */ mtlr r0 /* 8024B294 002481F4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B298 002481F8 4E 80 00 20 */ blr .global sub_8024b29c sub_8024b29c: /* 8024B29C 002481FC 1C 04 00 4C */ mulli r0, r4, 0x4c /* 8024B2A0 00248200 80 83 00 00 */ lwz r4, 0(r3) /* 8024B2A4 00248204 7C 04 02 14 */ add r0, r4, r0 /* 8024B2A8 00248208 90 03 00 00 */ stw r0, 0(r3) /* 8024B2AC 0024820C 4E 80 00 20 */ blr .global sub_8024b2b0 sub_8024b2b0: /* 8024B2B0 00248210 1C 04 00 4C */ mulli r0, r4, 0x4c /* 8024B2B4 00248214 80 83 00 00 */ lwz r4, 0(r3) /* 8024B2B8 00248218 7C 04 02 14 */ add r0, r4, r0 /* 8024B2BC 0024821C 90 03 00 00 */ stw r0, 0(r3) /* 8024B2C0 00248220 4E 80 00 20 */ blr .global sub_8024b2c4 sub_8024b2c4: /* 8024B2C4 00248224 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024B2C8 00248228 7C 08 02 A6 */ mflr r0 /* 8024B2CC 0024822C 90 01 00 24 */ stw r0, 0x24(r1) /* 8024B2D0 00248230 38 A1 00 0C */ addi r5, r1, 0xc /* 8024B2D4 00248234 88 E1 00 08 */ lbz r7, 8(r1) /* 8024B2D8 00248238 80 C4 00 00 */ lwz r6, 0(r4) /* 8024B2DC 0024823C 38 81 00 10 */ addi r4, r1, 0x10 /* 8024B2E0 00248240 80 03 00 00 */ lwz r0, 0(r3) /* 8024B2E4 00248244 38 61 00 14 */ addi r3, r1, 0x14 /* 8024B2E8 00248248 90 C1 00 10 */ stw r6, 0x10(r1) /* 8024B2EC 0024824C 98 E1 00 0C */ stb r7, 0xc(r1) /* 8024B2F0 00248250 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B2F4 00248254 48 00 00 59 */ bl sub_8024b34c /* 8024B2F8 00248258 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024B2FC 0024825C 7C 08 03 A6 */ mtlr r0 /* 8024B300 00248260 38 21 00 20 */ addi r1, r1, 0x20 /* 8024B304 00248264 4E 80 00 20 */ blr .global sub_8024b308 sub_8024b308: /* 8024B308 00248268 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024B30C 0024826C 7C 08 02 A6 */ mflr r0 /* 8024B310 00248270 90 01 00 24 */ stw r0, 0x24(r1) /* 8024B314 00248274 38 A1 00 0C */ addi r5, r1, 0xc /* 8024B318 00248278 88 E1 00 08 */ lbz r7, 8(r1) /* 8024B31C 0024827C 80 C4 00 00 */ lwz r6, 0(r4) /* 8024B320 00248280 38 81 00 10 */ addi r4, r1, 0x10 /* 8024B324 00248284 80 03 00 00 */ lwz r0, 0(r3) /* 8024B328 00248288 38 61 00 14 */ addi r3, r1, 0x14 /* 8024B32C 0024828C 90 C1 00 10 */ stw r6, 0x10(r1) /* 8024B330 00248290 98 E1 00 0C */ stb r7, 0xc(r1) /* 8024B334 00248294 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B338 00248298 48 00 00 3D */ bl sub_8024b374 /* 8024B33C 0024829C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024B340 002482A0 7C 08 03 A6 */ mtlr r0 /* 8024B344 002482A4 38 21 00 20 */ addi r1, r1, 0x20 /* 8024B348 002482A8 4E 80 00 20 */ blr .global sub_8024b34c sub_8024b34c: /* 8024B34C 002482AC 80 A3 00 00 */ lwz r5, 0(r3) /* 8024B350 002482B0 3C 60 6B CA */ lis r3, 0x6BCA1AF3@ha /* 8024B354 002482B4 80 04 00 00 */ lwz r0, 0(r4) /* 8024B358 002482B8 38 63 1A F3 */ addi r3, r3, 0x6BCA1AF3@l /* 8024B35C 002482BC 7C 05 00 50 */ subf r0, r5, r0 /* 8024B360 002482C0 7C 03 00 96 */ mulhw r0, r3, r0 /* 8024B364 002482C4 7C 00 2E 70 */ srawi r0, r0, 5 /* 8024B368 002482C8 54 03 0F FE */ srwi r3, r0, 0x1f /* 8024B36C 002482CC 7C 60 1A 14 */ add r3, r0, r3 /* 8024B370 002482D0 4E 80 00 20 */ blr .global sub_8024b374 sub_8024b374: /* 8024B374 002482D4 80 A3 00 00 */ lwz r5, 0(r3) /* 8024B378 002482D8 3C 60 6B CA */ lis r3, 0x6BCA1AF3@ha /* 8024B37C 002482DC 80 04 00 00 */ lwz r0, 0(r4) /* 8024B380 002482E0 38 63 1A F3 */ addi r3, r3, 0x6BCA1AF3@l /* 8024B384 002482E4 7C 05 00 50 */ subf r0, r5, r0 /* 8024B388 002482E8 7C 03 00 96 */ mulhw r0, r3, r0 /* 8024B38C 002482EC 7C 00 2E 70 */ srawi r0, r0, 5 /* 8024B390 002482F0 54 03 0F FE */ srwi r3, r0, 0x1f /* 8024B394 002482F4 7C 60 1A 14 */ add r3, r0, r3 /* 8024B398 002482F8 4E 80 00 20 */ blr .global __dt__24CScriptCameraHintTriggerFv __dt__24CScriptCameraHintTriggerFv: /* 8024B39C 002482FC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B3A0 00248300 7C 08 02 A6 */ mflr r0 /* 8024B3A4 00248304 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B3A8 00248308 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024B3AC 0024830C 7C 9F 23 78 */ mr r31, r4 /* 8024B3B0 00248310 93 C1 00 08 */ stw r30, 8(r1) /* 8024B3B4 00248314 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024B3B8 00248318 41 82 00 28 */ beq lbl_8024B3E0 /* 8024B3BC 0024831C 3C A0 80 3F */ lis r5, lbl_803E8C40@ha /* 8024B3C0 00248320 38 80 00 00 */ li r4, 0 /* 8024B3C4 00248324 38 05 8C 40 */ addi r0, r5, lbl_803E8C40@l /* 8024B3C8 00248328 90 1E 00 00 */ stw r0, 0(r30) /* 8024B3CC 0024832C 4B E0 A3 25 */ bl __dt__6CActorFv /* 8024B3D0 00248330 7F E0 07 35 */ extsh. r0, r31 /* 8024B3D4 00248334 40 81 00 0C */ ble lbl_8024B3E0 /* 8024B3D8 00248338 7F C3 F3 78 */ mr r3, r30 /* 8024B3DC 0024833C 48 0C A5 55 */ bl Free__7CMemoryFPCv lbl_8024B3E0: /* 8024B3E0 00248340 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B3E4 00248344 7F C3 F3 78 */ mr r3, r30 /* 8024B3E8 00248348 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024B3EC 0024834C 83 C1 00 08 */ lwz r30, 8(r1) /* 8024B3F0 00248350 7C 08 03 A6 */ mtlr r0 /* 8024B3F4 00248354 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B3F8 00248358 4E 80 00 20 */ blr .global AcceptScriptMsg__24CScriptCameraHintTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__24CScriptCameraHintTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8024B3FC 0024835C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024B400 00248360 7C 08 02 A6 */ mflr r0 /* 8024B404 00248364 90 01 00 24 */ stw r0, 0x24(r1) /* 8024B408 00248368 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024B40C 0024836C 7C 9F 23 78 */ mr r31, r4 /* 8024B410 00248370 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024B414 00248374 7C 7E 1B 78 */ mr r30, r3 /* 8024B418 00248378 88 03 00 30 */ lbz r0, 0x30(r3) /* 8024B41C 0024837C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024B420 00248380 41 82 00 E8 */ beq lbl_8024B508 /* 8024B424 00248384 88 9E 01 30 */ lbz r4, 0x130(r30) /* 8024B428 00248388 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f /* 8024B42C 0024838C 41 82 00 50 */ beq lbl_8024B47C /* 8024B430 00248390 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f /* 8024B434 00248394 40 82 00 48 */ bne lbl_8024B47C /* 8024B438 00248398 38 00 00 01 */ li r0, 1 /* 8024B43C 0024839C 7F E5 FB 78 */ mr r5, r31 /* 8024B440 002483A0 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b /* 8024B444 002483A4 38 C0 FF FF */ li r6, -1 /* 8024B448 002483A8 98 9E 01 30 */ stb r4, 0x130(r30) /* 8024B44C 002483AC 38 80 00 03 */ li r4, 3 /* 8024B450 002483B0 4B E0 5C 71 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 8024B454 002483B4 88 1E 01 30 */ lbz r0, 0x130(r30) /* 8024B458 002483B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024B45C 002483BC 41 82 00 20 */ beq lbl_8024B47C /* 8024B460 002483C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8024B464 002483C4 7F E3 FB 78 */ mr r3, r31 /* 8024B468 002483C8 7F C4 F3 78 */ mr r4, r30 /* 8024B46C 002483CC 38 A1 00 0C */ addi r5, r1, 0xc /* 8024B470 002483D0 B0 01 00 0C */ sth r0, 0xc(r1) /* 8024B474 002483D4 38 C0 00 04 */ li r6, 4 /* 8024B478 002483D8 4B DF 8A 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_8024B47C: /* 8024B47C 002483DC 88 9E 01 30 */ lbz r4, 0x130(r30) /* 8024B480 002483E0 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f /* 8024B484 002483E4 40 82 00 54 */ bne lbl_8024B4D8 /* 8024B488 002483E8 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f /* 8024B48C 002483EC 41 82 00 4C */ beq lbl_8024B4D8 /* 8024B490 002483F0 38 00 00 00 */ li r0, 0 /* 8024B494 002483F4 7F C3 F3 78 */ mr r3, r30 /* 8024B498 002483F8 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b /* 8024B49C 002483FC 7F E5 FB 78 */ mr r5, r31 /* 8024B4A0 00248400 98 9E 01 30 */ stb r4, 0x130(r30) /* 8024B4A4 00248404 38 80 00 04 */ li r4, 4 /* 8024B4A8 00248408 38 C0 FF FF */ li r6, -1 /* 8024B4AC 0024840C 4B E0 5C 15 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 8024B4B0 00248410 88 1E 01 30 */ lbz r0, 0x130(r30) /* 8024B4B4 00248414 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8024B4B8 00248418 41 82 00 20 */ beq lbl_8024B4D8 /* 8024B4BC 0024841C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) /* 8024B4C0 00248420 7F E3 FB 78 */ mr r3, r31 /* 8024B4C4 00248424 7F C4 F3 78 */ mr r4, r30 /* 8024B4C8 00248428 38 A1 00 08 */ addi r5, r1, 8 /* 8024B4CC 0024842C B0 01 00 08 */ sth r0, 8(r1) /* 8024B4D0 00248430 38 C0 00 04 */ li r6, 4 /* 8024B4D4 00248434 4B DF 89 FD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage lbl_8024B4D8: /* 8024B4D8 00248438 88 1E 01 30 */ lbz r0, 0x130(r30) /* 8024B4DC 0024843C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f /* 8024B4E0 00248440 41 82 00 18 */ beq lbl_8024B4F8 /* 8024B4E4 00248444 7F C3 F3 78 */ mr r3, r30 /* 8024B4E8 00248448 7F E5 FB 78 */ mr r5, r31 /* 8024B4EC 0024844C 38 80 00 06 */ li r4, 6 /* 8024B4F0 00248450 38 C0 FF FF */ li r6, -1 /* 8024B4F4 00248454 4B E0 5B CD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage lbl_8024B4F8: /* 8024B4F8 00248458 88 1E 01 30 */ lbz r0, 0x130(r30) /* 8024B4FC 0024845C 38 60 00 00 */ li r3, 0 /* 8024B500 00248460 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8024B504 00248464 98 1E 01 30 */ stb r0, 0x130(r30) lbl_8024B508: /* 8024B508 00248468 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024B50C 0024846C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024B510 00248470 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024B514 00248474 7C 08 03 A6 */ mtlr r0 /* 8024B518 00248478 38 21 00 20 */ addi r1, r1, 0x20 /* 8024B51C 0024847C 4E 80 00 20 */ blr .global Touch__24CScriptCameraHintTriggerFR6CActorR13CStateManager Touch__24CScriptCameraHintTriggerFR6CActorR13CStateManager: /* 8024B520 00248480 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8024B524 00248484 7C 08 02 A6 */ mflr r0 /* 8024B528 00248488 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8024B52C 0024848C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 8024B530 00248490 7C 9F 23 78 */ mr r31, r4 /* 8024B534 00248494 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 8024B538 00248498 7C 7E 1B 78 */ mr r30, r3 /* 8024B53C 0024849C 38 61 00 08 */ addi r3, r1, 8 /* 8024B540 002484A0 4B E6 0E C1 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" /* 8024B544 002484A4 80 03 00 04 */ lwz r0, 4(r3) /* 8024B548 002484A8 28 00 00 00 */ cmplwi r0, 0 /* 8024B54C 002484AC 41 82 00 D0 */ beq lbl_8024B61C /* 8024B550 002484B0 7F E4 FB 78 */ mr r4, r31 /* 8024B554 002484B4 38 61 00 10 */ addi r3, r1, 0x10 /* 8024B558 002484B8 81 9F 00 00 */ lwz r12, 0(r31) /* 8024B55C 002484BC 81 8C 00 40 */ lwz r12, 0x40(r12) /* 8024B560 002484C0 7D 89 03 A6 */ mtctr r12 /* 8024B564 002484C4 4E 80 04 21 */ bctrl /* 8024B568 002484C8 88 01 00 28 */ lbz r0, 0x28(r1) /* 8024B56C 002484CC 28 00 00 00 */ cmplwi r0, 0 /* 8024B570 002484D0 98 01 00 44 */ stb r0, 0x44(r1) /* 8024B574 002484D4 41 82 00 3C */ beq lbl_8024B5B0 /* 8024B578 002484D8 34 61 00 2C */ addic. r3, r1, 0x2c /* 8024B57C 002484DC 41 82 00 34 */ beq lbl_8024B5B0 /* 8024B580 002484E0 C0 01 00 10 */ lfs f0, 0x10(r1) /* 8024B584 002484E4 D0 03 00 00 */ stfs f0, 0(r3) /* 8024B588 002484E8 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8024B58C 002484EC D0 03 00 04 */ stfs f0, 4(r3) /* 8024B590 002484F0 C0 01 00 18 */ lfs f0, 0x18(r1) /* 8024B594 002484F4 D0 03 00 08 */ stfs f0, 8(r3) /* 8024B598 002484F8 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8024B59C 002484FC D0 03 00 0C */ stfs f0, 0xc(r3) /* 8024B5A0 00248500 C0 01 00 20 */ lfs f0, 0x20(r1) /* 8024B5A4 00248504 D0 03 00 10 */ stfs f0, 0x10(r3) /* 8024B5A8 00248508 C0 01 00 24 */ lfs f0, 0x24(r1) /* 8024B5AC 0024850C D0 03 00 14 */ stfs f0, 0x14(r3) lbl_8024B5B0: /* 8024B5B0 00248510 88 01 00 44 */ lbz r0, 0x44(r1) /* 8024B5B4 00248514 38 60 00 00 */ li r3, 0 /* 8024B5B8 00248518 98 61 00 28 */ stb r3, 0x28(r1) /* 8024B5BC 0024851C 28 00 00 00 */ cmplwi r0, 0 /* 8024B5C0 00248520 41 82 00 54 */ beq lbl_8024B614 /* 8024B5C4 00248524 3C 80 80 5A */ lis r4, skIdentity4f@ha /* 8024B5C8 00248528 38 61 00 48 */ addi r3, r1, 0x48 /* 8024B5CC 0024852C 38 A4 66 70 */ addi r5, r4, skIdentity4f@l /* 8024B5D0 00248530 38 81 00 2C */ addi r4, r1, 0x2c /* 8024B5D4 00248534 48 08 A7 49 */ bl FromAABox__6COBBoxFRC6CAABoxRC12CTransform4f /* 8024B5D8 00248538 38 61 00 84 */ addi r3, r1, 0x84 /* 8024B5DC 0024853C 38 81 00 48 */ addi r4, r1, 0x48 /* 8024B5E0 00248540 48 0C 75 95 */ bl __ct__12CTransform4fFRC12CTransform4f /* 8024B5E4 00248544 C0 41 00 78 */ lfs f2, 0x78(r1) /* 8024B5E8 00248548 38 7E 00 E8 */ addi r3, r30, 0xe8 /* 8024B5EC 0024854C C0 21 00 7C */ lfs f1, 0x7c(r1) /* 8024B5F0 00248550 38 81 00 84 */ addi r4, r1, 0x84 /* 8024B5F4 00248554 C0 01 00 80 */ lfs f0, 0x80(r1) /* 8024B5F8 00248558 D0 41 00 B4 */ stfs f2, 0xb4(r1) /* 8024B5FC 0024855C D0 21 00 B8 */ stfs f1, 0xb8(r1) /* 8024B600 00248560 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 8024B604 00248564 48 08 9E 91 */ bl OBBIntersectsBox__6COBBoxCFRC6COBBox /* 8024B608 00248568 88 1E 01 30 */ lbz r0, 0x130(r30) /* 8024B60C 0024856C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a /* 8024B610 00248570 98 1E 01 30 */ stb r0, 0x130(r30) lbl_8024B614: /* 8024B614 00248574 38 00 00 00 */ li r0, 0 /* 8024B618 00248578 98 01 00 44 */ stb r0, 0x44(r1) lbl_8024B61C: /* 8024B61C 0024857C 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8024B620 00248580 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 8024B624 00248584 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 8024B628 00248588 7C 08 03 A6 */ mtlr r0 /* 8024B62C 0024858C 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8024B630 00248590 4E 80 00 20 */ blr .global GetTouchBounds__24CScriptCameraHintTriggerCFv GetTouchBounds__24CScriptCameraHintTriggerCFv: /* 8024B634 00248594 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024B638 00248598 7C 08 02 A6 */ mflr r0 /* 8024B63C 0024859C 3C A0 80 5A */ lis r5, skIdentity4f@ha /* 8024B640 002485A0 38 84 00 E8 */ addi r4, r4, 0xe8 /* 8024B644 002485A4 90 01 00 34 */ stw r0, 0x34(r1) /* 8024B648 002485A8 38 A5 66 70 */ addi r5, r5, skIdentity4f@l /* 8024B64C 002485AC 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024B650 002485B0 7C 7F 1B 78 */ mr r31, r3 /* 8024B654 002485B4 38 61 00 08 */ addi r3, r1, 8 /* 8024B658 002485B8 48 08 A7 81 */ bl CalculateAABox__6COBBoxCFRC12CTransform4f /* 8024B65C 002485BC 38 00 00 01 */ li r0, 1 /* 8024B660 002485C0 28 1F 00 00 */ cmplwi r31, 0 /* 8024B664 002485C4 98 1F 00 18 */ stb r0, 0x18(r31) /* 8024B668 002485C8 41 82 00 34 */ beq lbl_8024B69C /* 8024B66C 002485CC C0 01 00 08 */ lfs f0, 8(r1) /* 8024B670 002485D0 D0 1F 00 00 */ stfs f0, 0(r31) /* 8024B674 002485D4 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8024B678 002485D8 D0 1F 00 04 */ stfs f0, 4(r31) /* 8024B67C 002485DC C0 01 00 10 */ lfs f0, 0x10(r1) /* 8024B680 002485E0 D0 1F 00 08 */ stfs f0, 8(r31) /* 8024B684 002485E4 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8024B688 002485E8 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8024B68C 002485EC C0 01 00 18 */ lfs f0, 0x18(r1) /* 8024B690 002485F0 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 8024B694 002485F4 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8024B698 002485F8 D0 1F 00 14 */ stfs f0, 0x14(r31) lbl_8024B69C: /* 8024B69C 002485FC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024B6A0 00248600 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024B6A4 00248604 7C 08 03 A6 */ mtlr r0 /* 8024B6A8 00248608 38 21 00 30 */ addi r1, r1, 0x30 /* 8024B6AC 0024860C 4E 80 00 20 */ blr .global Accept__24CScriptCameraHintTriggerFR8IVisitor Accept__24CScriptCameraHintTriggerFR8IVisitor: /* 8024B6B0 00248610 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B6B4 00248614 7C 08 02 A6 */ mflr r0 /* 8024B6B8 00248618 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B6BC 0024861C 7C 60 1B 78 */ mr r0, r3 /* 8024B6C0 00248620 7C 83 23 78 */ mr r3, r4 /* 8024B6C4 00248624 81 84 00 00 */ lwz r12, 0(r4) /* 8024B6C8 00248628 7C 04 03 78 */ mr r4, r0 /* 8024B6CC 0024862C 81 8C 00 08 */ lwz r12, 8(r12) /* 8024B6D0 00248630 7D 89 03 A6 */ mtctr r12 /* 8024B6D4 00248634 4E 80 04 21 */ bctrl /* 8024B6D8 00248638 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B6DC 0024863C 7C 08 03 A6 */ mtlr r0 /* 8024B6E0 00248640 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B6E4 00248644 4E 80 00 20 */ blr .global "__ct__24CScriptCameraHintTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fbb" "__ct__24CScriptCameraHintTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fbb": /* 8024B6E8 00248648 94 21 FF 00 */ stwu r1, -0x100(r1) /* 8024B6EC 0024864C 7C 08 02 A6 */ mflr r0 /* 8024B6F0 00248650 90 01 01 04 */ stw r0, 0x104(r1) /* 8024B6F4 00248654 BE E1 00 DC */ stmw r23, 0xdc(r1) /* 8024B6F8 00248658 7C 78 1B 78 */ mr r24, r3 /* 8024B6FC 0024865C 8B E1 01 0B */ lbz r31, 0x10b(r1) /* 8024B700 00248660 7C 97 23 78 */ mr r23, r4 /* 8024B704 00248664 7C B9 2B 78 */ mr r25, r5 /* 8024B708 00248668 7C DA 33 78 */ mr r26, r6 /* 8024B70C 0024866C 7C FB 3B 78 */ mr r27, r7 /* 8024B710 00248670 7D 1C 43 78 */ mr r28, r8 /* 8024B714 00248674 7D 3D 4B 78 */ mr r29, r9 /* 8024B718 00248678 7D 5E 53 78 */ mr r30, r10 /* 8024B71C 0024867C 38 61 00 88 */ addi r3, r1, 0x88 /* 8024B720 00248680 4B DE F0 85 */ bl CModelDataNull__10CModelDataFv /* 8024B724 00248684 38 61 00 20 */ addi r3, r1, 0x20 /* 8024B728 00248688 4B DC F7 11 */ bl None__16CActorParametersFv /* 8024B72C 0024868C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) /* 8024B730 00248690 38 00 00 00 */ li r0, 0 /* 8024B734 00248694 80 AD 97 08 */ lwz r5, lbl_805A82C8@sda21(r13) /* 8024B738 00248698 38 60 00 00 */ li r3, 0 /* 8024B73C 0024869C B0 81 00 10 */ sth r4, 0x10(r1) /* 8024B740 002486A0 38 80 00 01 */ li r4, 1 /* 8024B744 002486A4 90 01 00 1C */ stw r0, 0x1c(r1) /* 8024B748 002486A8 90 01 00 18 */ stw r0, 0x18(r1) /* 8024B74C 002486AC 48 13 E7 A9 */ bl __shl2i /* 8024B750 002486B0 80 A1 00 18 */ lwz r5, 0x18(r1) /* 8024B754 002486B4 39 61 00 20 */ addi r11, r1, 0x20 /* 8024B758 002486B8 80 C1 00 1C */ lwz r6, 0x1c(r1) /* 8024B75C 002486BC 38 01 00 10 */ addi r0, r1, 0x10 /* 8024B760 002486C0 7C A3 1B 78 */ or r3, r5, r3 /* 8024B764 002486C4 A1 37 00 00 */ lhz r9, 0(r23) /* 8024B768 002486C8 7C C4 23 78 */ or r4, r6, r4 /* 8024B76C 002486CC 90 61 00 18 */ stw r3, 0x18(r1) /* 8024B770 002486D0 7F 03 C3 78 */ mr r3, r24 /* 8024B774 002486D4 7F 25 CB 78 */ mr r5, r25 /* 8024B778 002486D8 90 81 00 1C */ stw r4, 0x1c(r1) /* 8024B77C 002486DC 7F 46 D3 78 */ mr r6, r26 /* 8024B780 002486E0 7F 67 DB 78 */ mr r7, r27 /* 8024B784 002486E4 7F A8 EB 78 */ mr r8, r29 /* 8024B788 002486E8 B1 21 00 14 */ sth r9, 0x14(r1) /* 8024B78C 002486EC 38 81 00 14 */ addi r4, r1, 0x14 /* 8024B790 002486F0 39 21 00 88 */ addi r9, r1, 0x88 /* 8024B794 002486F4 39 41 00 18 */ addi r10, r1, 0x18 /* 8024B798 002486F8 91 61 00 08 */ stw r11, 8(r1) /* 8024B79C 002486FC 90 01 00 0C */ stw r0, 0xc(r1) /* 8024B7A0 00248700 4B E0 A0 81 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" /* 8024B7A4 00248704 38 61 00 20 */ addi r3, r1, 0x20 /* 8024B7A8 00248708 38 80 FF FF */ li r4, -1 /* 8024B7AC 0024870C 4B EB AE 5D */ bl __dt__16CActorParametersFv /* 8024B7B0 00248710 38 61 00 88 */ addi r3, r1, 0x88 /* 8024B7B4 00248714 38 80 FF FF */ li r4, -1 /* 8024B7B8 00248718 4B EC B2 95 */ bl __dt__10CModelDataFv /* 8024B7BC 0024871C 3C 60 80 3F */ lis r3, lbl_803E8C40@ha /* 8024B7C0 00248720 7F A4 EB 78 */ mr r4, r29 /* 8024B7C4 00248724 38 03 8C 40 */ addi r0, r3, lbl_803E8C40@l /* 8024B7C8 00248728 7F 85 E3 78 */ mr r5, r28 /* 8024B7CC 0024872C 90 18 00 00 */ stw r0, 0(r24) /* 8024B7D0 00248730 38 78 00 E8 */ addi r3, r24, 0xe8 /* 8024B7D4 00248734 48 08 A7 C1 */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f /* 8024B7D8 00248738 C0 1C 00 00 */ lfs f0, 0(r28) /* 8024B7DC 0024873C 38 80 00 00 */ li r4, 0 /* 8024B7E0 00248740 7F 03 C3 78 */ mr r3, r24 /* 8024B7E4 00248744 D0 18 01 24 */ stfs f0, 0x124(r24) /* 8024B7E8 00248748 C0 1C 00 04 */ lfs f0, 4(r28) /* 8024B7EC 0024874C D0 18 01 28 */ stfs f0, 0x128(r24) /* 8024B7F0 00248750 C0 1C 00 08 */ lfs f0, 8(r28) /* 8024B7F4 00248754 D0 18 01 2C */ stfs f0, 0x12c(r24) /* 8024B7F8 00248758 88 18 01 30 */ lbz r0, 0x130(r24) /* 8024B7FC 0024875C 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 /* 8024B800 00248760 98 18 01 30 */ stb r0, 0x130(r24) /* 8024B804 00248764 88 18 01 30 */ lbz r0, 0x130(r24) /* 8024B808 00248768 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 /* 8024B80C 0024876C 98 18 01 30 */ stb r0, 0x130(r24) /* 8024B810 00248770 88 18 01 30 */ lbz r0, 0x130(r24) /* 8024B814 00248774 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a /* 8024B818 00248778 98 18 01 30 */ stb r0, 0x130(r24) /* 8024B81C 0024877C 88 18 01 30 */ lbz r0, 0x130(r24) /* 8024B820 00248780 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b /* 8024B824 00248784 98 18 01 30 */ stb r0, 0x130(r24) /* 8024B828 00248788 BA E1 00 DC */ lmw r23, 0xdc(r1) /* 8024B82C 0024878C 80 01 01 04 */ lwz r0, 0x104(r1) /* 8024B830 00248790 7C 08 03 A6 */ mtlr r0 /* 8024B834 00248794 38 21 01 00 */ addi r1, r1, 0x100 /* 8024B838 00248798 4E 80 00 20 */ blr .global __dt__10CAmbientAIFv __dt__10CAmbientAIFv: /* 8024B83C 0024879C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B840 002487A0 7C 08 02 A6 */ mflr r0 /* 8024B844 002487A4 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B848 002487A8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024B84C 002487AC 7C 9F 23 78 */ mr r31, r4 /* 8024B850 002487B0 93 C1 00 08 */ stw r30, 8(r1) /* 8024B854 002487B4 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024B858 002487B8 41 82 00 28 */ beq lbl_8024B880 /* 8024B85C 002487BC 3C A0 80 3F */ lis r5, lbl_803E8CB0@ha /* 8024B860 002487C0 38 80 00 00 */ li r4, 0 /* 8024B864 002487C4 38 05 8C B0 */ addi r0, r5, lbl_803E8CB0@l /* 8024B868 002487C8 90 1E 00 00 */ stw r0, 0(r30) /* 8024B86C 002487CC 4B ED 0B A9 */ bl __dt__13CPhysicsActorFv /* 8024B870 002487D0 7F E0 07 35 */ extsh. r0, r31 /* 8024B874 002487D4 40 81 00 0C */ ble lbl_8024B880 /* 8024B878 002487D8 7F C3 F3 78 */ mr r3, r30 /* 8024B87C 002487DC 48 0C A0 B5 */ bl Free__7CMemoryFPCv lbl_8024B880: /* 8024B880 002487E0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B884 002487E4 7F C3 F3 78 */ mr r3, r30 /* 8024B888 002487E8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024B88C 002487EC 83 C1 00 08 */ lwz r30, 8(r1) /* 8024B890 002487F0 7C 08 03 A6 */ mtlr r0 /* 8024B894 002487F4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B898 002487F8 4E 80 00 20 */ blr .global Accept__10CAmbientAIFR8IVisitor Accept__10CAmbientAIFR8IVisitor: /* 8024B89C 002487FC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024B8A0 00248800 7C 08 02 A6 */ mflr r0 /* 8024B8A4 00248804 90 01 00 14 */ stw r0, 0x14(r1) /* 8024B8A8 00248808 7C 60 1B 78 */ mr r0, r3 /* 8024B8AC 0024880C 7C 83 23 78 */ mr r3, r4 /* 8024B8B0 00248810 81 84 00 00 */ lwz r12, 0(r4) /* 8024B8B4 00248814 7C 04 03 78 */ mr r4, r0 /* 8024B8B8 00248818 81 8C 00 50 */ lwz r12, 0x50(r12) /* 8024B8BC 0024881C 7D 89 03 A6 */ mtctr r12 /* 8024B8C0 00248820 4E 80 04 21 */ bctrl /* 8024B8C4 00248824 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024B8C8 00248828 7C 08 03 A6 */ mtlr r0 /* 8024B8CC 0024882C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024B8D0 00248830 4E 80 00 20 */ blr .global AcceptScriptMsg__10CAmbientAIF20EScriptObjectMessage9TUniqueIdR13CStateManager AcceptScriptMsg__10CAmbientAIF20EScriptObjectMessage9TUniqueIdR13CStateManager: /* 8024B8D4 00248834 94 21 FF 90 */ stwu r1, -0x70(r1) /* 8024B8D8 00248838 7C 08 02 A6 */ mflr r0 /* 8024B8DC 0024883C 90 01 00 74 */ stw r0, 0x74(r1) /* 8024B8E0 00248840 93 E1 00 6C */ stw r31, 0x6c(r1) /* 8024B8E4 00248844 7C DF 33 78 */ mr r31, r6 /* 8024B8E8 00248848 93 C1 00 68 */ stw r30, 0x68(r1) /* 8024B8EC 0024884C 7C BE 2B 78 */ mr r30, r5 /* 8024B8F0 00248850 93 A1 00 64 */ stw r29, 0x64(r1) /* 8024B8F4 00248854 7C 9D 23 78 */ mr r29, r4 /* 8024B8F8 00248858 2C 1D 00 23 */ cmpwi r29, 0x23 /* 8024B8FC 0024885C 93 81 00 60 */ stw r28, 0x60(r1) /* 8024B900 00248860 7C 7C 1B 78 */ mr r28, r3 /* 8024B904 00248864 41 82 00 D0 */ beq lbl_8024B9D4 /* 8024B908 00248868 40 80 00 10 */ bge lbl_8024B918 /* 8024B90C 0024886C 2C 1D 00 0A */ cmpwi r29, 0xa /* 8024B910 00248870 41 82 00 14 */ beq lbl_8024B924 /* 8024B914 00248874 48 00 01 48 */ b lbl_8024BA5C lbl_8024B918: /* 8024B918 00248878 2C 1D 00 29 */ cmpwi r29, 0x29 /* 8024B91C 0024887C 41 82 00 C4 */ beq lbl_8024B9E0 /* 8024B920 00248880 48 00 01 3C */ b lbl_8024BA5C lbl_8024B924: /* 8024B924 00248884 88 1C 00 30 */ lbz r0, 0x30(r28) /* 8024B928 00248888 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024B92C 0024888C 40 82 00 18 */ bne lbl_8024B944 /* 8024B930 00248890 81 83 00 00 */ lwz r12, 0(r3) /* 8024B934 00248894 38 80 00 01 */ li r4, 1 /* 8024B938 00248898 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8024B93C 0024889C 7D 89 03 A6 */ mtctr r12 /* 8024B940 002488A0 4E 80 04 21 */ bctrl lbl_8024B944: /* 8024B944 002488A4 38 E0 00 00 */ li r7, 0 /* 8024B948 002488A8 C0 02 B8 90 */ lfs f0, lbl_805AD5B0@sda21(r2) /* 8024B94C 002488AC 90 FC 02 D0 */ stw r7, 0x2d0(r28) /* 8024B950 002488B0 38 60 FF FF */ li r3, -1 /* 8024B954 002488B4 38 00 00 01 */ li r0, 1 /* 8024B958 002488B8 38 81 00 34 */ addi r4, r1, 0x34 /* 8024B95C 002488BC 80 DC 02 DC */ lwz r6, 0x2dc(r28) /* 8024B960 002488C0 38 A0 00 00 */ li r5, 0 /* 8024B964 002488C4 90 C1 00 34 */ stw r6, 0x34(r1) /* 8024B968 002488C8 90 61 00 38 */ stw r3, 0x38(r1) /* 8024B96C 002488CC D0 01 00 3C */ stfs f0, 0x3c(r1) /* 8024B970 002488D0 98 01 00 40 */ stb r0, 0x40(r1) /* 8024B974 002488D4 90 E1 00 44 */ stw r7, 0x44(r1) /* 8024B978 002488D8 90 E1 00 48 */ stw r7, 0x48(r1) /* 8024B97C 002488DC 98 E1 00 4C */ stb r7, 0x4c(r1) /* 8024B980 002488E0 90 E1 00 50 */ stw r7, 0x50(r1) /* 8024B984 002488E4 90 E1 00 54 */ stw r7, 0x54(r1) /* 8024B988 002488E8 90 E1 00 58 */ stw r7, 0x58(r1) /* 8024B98C 002488EC 80 7C 00 64 */ lwz r3, 0x64(r28) /* 8024B990 002488F0 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024B994 002488F4 4B DE 13 E9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8024B998 002488F8 80 7C 00 64 */ lwz r3, 0x64(r28) /* 8024B99C 002488FC 38 80 00 01 */ li r4, 1 /* 8024B9A0 00248900 4B EC 9B C1 */ bl EnableLooping__10CModelDataFb /* 8024B9A4 00248904 7F 83 E3 78 */ mr r3, r28 /* 8024B9A8 00248908 7F E4 FB 78 */ mr r4, r31 /* 8024B9AC 0024890C 48 00 05 71 */ bl sub_8024bf1c /* 8024B9B0 00248910 88 1C 02 E8 */ lbz r0, 0x2e8(r28) /* 8024B9B4 00248914 38 60 00 00 */ li r3, 0 /* 8024B9B8 00248918 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8024B9BC 0024891C 98 1C 02 E8 */ stb r0, 0x2e8(r28) /* 8024B9C0 00248920 C0 1C 02 58 */ lfs f0, 0x258(r28) /* 8024B9C4 00248924 D0 1C 02 60 */ stfs f0, 0x260(r28) /* 8024B9C8 00248928 C0 1C 02 5C */ lfs f0, 0x25c(r28) /* 8024B9CC 0024892C D0 1C 02 64 */ stfs f0, 0x264(r28) /* 8024B9D0 00248930 48 00 00 8C */ b lbl_8024BA5C lbl_8024B9D4: /* 8024B9D4 00248934 7F E4 FB 78 */ mr r4, r31 /* 8024B9D8 00248938 48 00 05 45 */ bl sub_8024bf1c /* 8024B9DC 0024893C 48 00 00 80 */ b lbl_8024BA5C lbl_8024B9E0: /* 8024B9E0 00248940 88 1C 00 30 */ lbz r0, 0x30(r28) /* 8024B9E4 00248944 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024B9E8 00248948 41 82 00 74 */ beq lbl_8024BA5C /* 8024B9EC 0024894C 38 00 00 02 */ li r0, 2 /* 8024B9F0 00248950 C0 02 B8 90 */ lfs f0, lbl_805AD5B0@sda21(r2) /* 8024B9F4 00248954 90 1C 02 D0 */ stw r0, 0x2d0(r28) /* 8024B9F8 00248958 38 C0 FF FF */ li r6, -1 /* 8024B9FC 0024895C 38 60 00 01 */ li r3, 1 /* 8024BA00 00248960 38 00 00 00 */ li r0, 0 /* 8024BA04 00248964 80 FC 02 E4 */ lwz r7, 0x2e4(r28) /* 8024BA08 00248968 38 81 00 0C */ addi r4, r1, 0xc /* 8024BA0C 0024896C 38 A0 00 00 */ li r5, 0 /* 8024BA10 00248970 90 E1 00 0C */ stw r7, 0xc(r1) /* 8024BA14 00248974 90 C1 00 10 */ stw r6, 0x10(r1) /* 8024BA18 00248978 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8024BA1C 0024897C 98 61 00 18 */ stb r3, 0x18(r1) /* 8024BA20 00248980 90 01 00 1C */ stw r0, 0x1c(r1) /* 8024BA24 00248984 90 01 00 20 */ stw r0, 0x20(r1) /* 8024BA28 00248988 98 01 00 24 */ stb r0, 0x24(r1) /* 8024BA2C 0024898C 90 01 00 28 */ stw r0, 0x28(r1) /* 8024BA30 00248990 90 01 00 2C */ stw r0, 0x2c(r1) /* 8024BA34 00248994 90 01 00 30 */ stw r0, 0x30(r1) /* 8024BA38 00248998 80 7C 00 64 */ lwz r3, 0x64(r28) /* 8024BA3C 0024899C 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024BA40 002489A0 4B DE 13 3D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8024BA44 002489A4 80 7C 00 64 */ lwz r3, 0x64(r28) /* 8024BA48 002489A8 38 80 00 00 */ li r4, 0 /* 8024BA4C 002489AC 4B EC 9B 15 */ bl EnableLooping__10CModelDataFb /* 8024BA50 002489B0 7F 83 E3 78 */ mr r3, r28 /* 8024BA54 002489B4 7F E4 FB 78 */ mr r4, r31 /* 8024BA58 002489B8 48 00 04 C5 */ bl sub_8024bf1c lbl_8024BA5C: /* 8024BA5C 002489BC A0 1E 00 00 */ lhz r0, 0(r30) /* 8024BA60 002489C0 7F 83 E3 78 */ mr r3, r28 /* 8024BA64 002489C4 7F A4 EB 78 */ mr r4, r29 /* 8024BA68 002489C8 7F E6 FB 78 */ mr r6, r31 /* 8024BA6C 002489CC B0 01 00 08 */ sth r0, 8(r1) /* 8024BA70 002489D0 38 A1 00 08 */ addi r5, r1, 8 /* 8024BA74 002489D4 4B E0 7B A1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager /* 8024BA78 002489D8 80 01 00 74 */ lwz r0, 0x74(r1) /* 8024BA7C 002489DC 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 8024BA80 002489E0 83 C1 00 68 */ lwz r30, 0x68(r1) /* 8024BA84 002489E4 83 A1 00 64 */ lwz r29, 0x64(r1) /* 8024BA88 002489E8 83 81 00 60 */ lwz r28, 0x60(r1) /* 8024BA8C 002489EC 7C 08 03 A6 */ mtlr r0 /* 8024BA90 002489F0 38 21 00 70 */ addi r1, r1, 0x70 /* 8024BA94 002489F4 4E 80 00 20 */ blr .global Think__10CAmbientAIFfR13CStateManager Think__10CAmbientAIFfR13CStateManager: /* 8024BA98 002489F8 94 21 FE E0 */ stwu r1, -0x120(r1) /* 8024BA9C 002489FC 7C 08 02 A6 */ mflr r0 /* 8024BAA0 00248A00 90 01 01 24 */ stw r0, 0x124(r1) /* 8024BAA4 00248A04 DB E1 01 10 */ stfd f31, 0x110(r1) /* 8024BAA8 00248A08 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 8024BAAC 00248A0C BF 61 00 FC */ stmw r27, 0xfc(r1) /* 8024BAB0 00248A10 88 03 00 30 */ lbz r0, 0x30(r3) /* 8024BAB4 00248A14 FF E0 08 90 */ fmr f31, f1 /* 8024BAB8 00248A18 7C 7E 1B 78 */ mr r30, r3 /* 8024BABC 00248A1C 7C 9F 23 78 */ mr r31, r4 /* 8024BAC0 00248A20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024BAC4 00248A24 41 82 04 3C */ beq lbl_8024BF00 /* 8024BAC8 00248A28 80 9E 00 64 */ lwz r4, 0x64(r30) /* 8024BACC 00248A2C 38 60 00 00 */ li r3, 0 /* 8024BAD0 00248A30 28 04 00 00 */ cmplwi r4, 0 /* 8024BAD4 00248A34 41 82 00 14 */ beq lbl_8024BAE8 /* 8024BAD8 00248A38 80 04 00 10 */ lwz r0, 0x10(r4) /* 8024BADC 00248A3C 28 00 00 00 */ cmplwi r0, 0 /* 8024BAE0 00248A40 41 82 00 08 */ beq lbl_8024BAE8 /* 8024BAE4 00248A44 38 60 00 01 */ li r3, 1 lbl_8024BAE8: /* 8024BAE8 00248A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8024BAEC 00248A4C 41 82 01 18 */ beq lbl_8024BC04 /* 8024BAF0 00248A50 3C 80 80 3D */ lis r4, lbl_803D4798@ha /* 8024BAF4 00248A54 38 61 00 38 */ addi r3, r1, 0x38 /* 8024BAF8 00248A58 38 84 47 98 */ addi r4, r4, lbl_803D4798@l /* 8024BAFC 00248A5C 4B DB 91 BD */ bl string_l__4rstlFPCc /* 8024BB00 00248A60 C0 02 B8 94 */ lfs f0, lbl_805AD5B4@sda21(r2) /* 8024BB04 00248A64 38 81 00 38 */ addi r4, r1, 0x38 /* 8024BB08 00248A68 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BB0C 00248A6C EC 3F 00 28 */ fsubs f1, f31, f0 /* 8024BB10 00248A70 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024BB14 00248A74 4B DE 08 D9 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8024BB18 00248A78 7C 7C 1B 78 */ mr r28, r3 /* 8024BB1C 00248A7C 38 61 00 38 */ addi r3, r1, 0x38 /* 8024BB20 00248A80 48 0F 1F C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024BB24 00248A84 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BB28 00248A88 4B EC 99 E5 */ bl GetIsLoop__10CModelDataCFv /* 8024BB2C 00248A8C 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 8024BB30 00248A90 7C 7D 1B 78 */ mr r29, r3 /* 8024BB34 00248A94 40 82 00 0C */ bne lbl_8024BB40 /* 8024BB38 00248A98 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8024BB3C 00248A9C 41 82 00 88 */ beq lbl_8024BBC4 lbl_8024BB40: /* 8024BB40 00248AA0 88 1E 02 E8 */ lbz r0, 0x2e8(r30) /* 8024BB44 00248AA4 38 60 00 01 */ li r3, 1 /* 8024BB48 00248AA8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8024BB4C 00248AAC FC 20 F8 90 */ fmr f1, f31 /* 8024BB50 00248AB0 98 1E 02 E8 */ stb r0, 0x2e8(r30) /* 8024BB54 00248AB4 7F C4 F3 78 */ mr r4, r30 /* 8024BB58 00248AB8 7F E5 FB 78 */ mr r5, r31 /* 8024BB5C 00248ABC 38 61 00 48 */ addi r3, r1, 0x48 /* 8024BB60 00248AC0 38 C0 00 01 */ li r6, 1 /* 8024BB64 00248AC4 4B E0 97 39 */ bl UpdateAnimation__6CActorFfR13CStateManagerb /* 8024BB68 00248AC8 C0 E1 00 48 */ lfs f7, 0x48(r1) /* 8024BB6C 00248ACC FC 20 F8 90 */ fmr f1, f31 /* 8024BB70 00248AD0 C0 C1 00 4C */ lfs f6, 0x4c(r1) /* 8024BB74 00248AD4 7F C3 F3 78 */ mr r3, r30 /* 8024BB78 00248AD8 C0 A1 00 50 */ lfs f5, 0x50(r1) /* 8024BB7C 00248ADC 3B 61 00 70 */ addi r27, r1, 0x70 /* 8024BB80 00248AE0 C0 81 00 54 */ lfs f4, 0x54(r1) /* 8024BB84 00248AE4 C0 61 00 58 */ lfs f3, 0x58(r1) /* 8024BB88 00248AE8 38 81 00 64 */ addi r4, r1, 0x64 /* 8024BB8C 00248AEC C0 41 00 5C */ lfs f2, 0x5c(r1) /* 8024BB90 00248AF0 C0 01 00 60 */ lfs f0, 0x60(r1) /* 8024BB94 00248AF4 D0 E1 00 64 */ stfs f7, 0x64(r1) /* 8024BB98 00248AF8 D0 C1 00 68 */ stfs f6, 0x68(r1) /* 8024BB9C 00248AFC D0 A1 00 6C */ stfs f5, 0x6c(r1) /* 8024BBA0 00248B00 D0 81 00 70 */ stfs f4, 0x70(r1) /* 8024BBA4 00248B04 D0 61 00 74 */ stfs f3, 0x74(r1) /* 8024BBA8 00248B08 D0 41 00 78 */ stfs f2, 0x78(r1) /* 8024BBAC 00248B0C D0 01 00 7C */ stfs f0, 0x7c(r1) /* 8024BBB0 00248B10 4B EC F2 C9 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff /* 8024BBB4 00248B14 FC 20 F8 90 */ fmr f1, f31 /* 8024BBB8 00248B18 7F C3 F3 78 */ mr r3, r30 /* 8024BBBC 00248B1C 7F 64 DB 78 */ mr r4, r27 /* 8024BBC0 00248B20 4B EC F2 55 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf lbl_8024BBC4: /* 8024BBC4 00248B24 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 8024BBC8 00248B28 40 82 00 3C */ bne lbl_8024BC04 /* 8024BBCC 00248B2C 88 1E 02 E8 */ lbz r0, 0x2e8(r30) /* 8024BBD0 00248B30 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8024BBD4 00248B34 41 82 00 30 */ beq lbl_8024BC04 /* 8024BBD8 00248B38 57 A0 06 3F */ clrlwi. r0, r29, 0x18 /* 8024BBDC 00248B3C 40 82 00 28 */ bne lbl_8024BC04 /* 8024BBE0 00248B40 7F C3 F3 78 */ mr r3, r30 /* 8024BBE4 00248B44 7F E5 FB 78 */ mr r5, r31 /* 8024BBE8 00248B48 38 80 00 07 */ li r4, 7 /* 8024BBEC 00248B4C 38 C0 FF FF */ li r6, -1 /* 8024BBF0 00248B50 4B E0 54 D1 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 8024BBF4 00248B54 88 1E 02 E8 */ lbz r0, 0x2e8(r30) /* 8024BBF8 00248B58 38 60 00 00 */ li r3, 0 /* 8024BBFC 00248B5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 /* 8024BC00 00248B60 98 1E 02 E8 */ stb r0, 0x2e8(r30) lbl_8024BC04: /* 8024BC04 00248B64 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8024BC08 00248B68 38 61 00 2C */ addi r3, r1, 0x2c /* 8024BC0C 00248B6C C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8024BC10 00248B70 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 8024BC14 00248B74 C0 84 00 50 */ lfs f4, 0x50(r4) /* 8024BC18 00248B78 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 8024BC1C 00248B7C EC 25 00 28 */ fsubs f1, f5, f0 /* 8024BC20 00248B80 C0 04 00 40 */ lfs f0, 0x40(r4) /* 8024BC24 00248B84 C0 7E 00 40 */ lfs f3, 0x40(r30) /* 8024BC28 00248B88 EC 44 10 28 */ fsubs f2, f4, f2 /* 8024BC2C 00248B8C D0 01 00 20 */ stfs f0, 0x20(r1) /* 8024BC30 00248B90 EC 00 18 28 */ fsubs f0, f0, f3 /* 8024BC34 00248B94 D0 81 00 24 */ stfs f4, 0x24(r1) /* 8024BC38 00248B98 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 8024BC3C 00248B9C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8024BC40 00248BA0 D0 41 00 30 */ stfs f2, 0x30(r1) /* 8024BC44 00248BA4 D0 21 00 34 */ stfs f1, 0x34(r1) /* 8024BC48 00248BA8 48 0C 8C 71 */ bl Magnitude__9CVector3fCFv /* 8024BC4C 00248BAC C0 1E 02 D4 */ lfs f0, 0x2d4(r30) /* 8024BC50 00248BB0 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8024BC54 00248BB4 7C 00 00 26 */ mfcr r0 /* 8024BC58 00248BB8 80 9F 08 4C */ lwz r4, 0x84c(r31) /* 8024BC5C 00248BBC C0 1E 00 60 */ lfs f0, 0x60(r30) /* 8024BC60 00248BC0 54 1B 0F FE */ srwi r27, r0, 0x1f /* 8024BC64 00248BC4 C0 A4 00 60 */ lfs f5, 0x60(r4) /* 8024BC68 00248BC8 38 61 00 14 */ addi r3, r1, 0x14 /* 8024BC6C 00248BCC C0 84 00 50 */ lfs f4, 0x50(r4) /* 8024BC70 00248BD0 C0 5E 00 50 */ lfs f2, 0x50(r30) /* 8024BC74 00248BD4 EC 25 00 28 */ fsubs f1, f5, f0 /* 8024BC78 00248BD8 C0 04 00 40 */ lfs f0, 0x40(r4) /* 8024BC7C 00248BDC C0 7E 00 40 */ lfs f3, 0x40(r30) /* 8024BC80 00248BE0 EC 44 10 28 */ fsubs f2, f4, f2 /* 8024BC84 00248BE4 D0 01 00 08 */ stfs f0, 8(r1) /* 8024BC88 00248BE8 EC 00 18 28 */ fsubs f0, f0, f3 /* 8024BC8C 00248BEC D0 81 00 0C */ stfs f4, 0xc(r1) /* 8024BC90 00248BF0 D0 A1 00 10 */ stfs f5, 0x10(r1) /* 8024BC94 00248BF4 D0 01 00 14 */ stfs f0, 0x14(r1) /* 8024BC98 00248BF8 D0 41 00 18 */ stfs f2, 0x18(r1) /* 8024BC9C 00248BFC D0 21 00 1C */ stfs f1, 0x1c(r1) /* 8024BCA0 00248C00 48 0C 8C 19 */ bl Magnitude__9CVector3fCFv /* 8024BCA4 00248C04 C0 1E 02 D8 */ lfs f0, 0x2d8(r30) /* 8024BCA8 00248C08 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8024BCAC 00248C0C 7C 60 00 26 */ mfcr r3 /* 8024BCB0 00248C10 80 1E 02 D0 */ lwz r0, 0x2d0(r30) /* 8024BCB4 00248C14 54 63 0F FE */ srwi r3, r3, 0x1f /* 8024BCB8 00248C18 2C 00 00 01 */ cmpwi r0, 1 /* 8024BCBC 00248C1C 41 82 00 98 */ beq lbl_8024BD54 /* 8024BCC0 00248C20 40 80 00 10 */ bge lbl_8024BCD0 /* 8024BCC4 00248C24 2C 00 00 00 */ cmpwi r0, 0 /* 8024BCC8 00248C28 40 80 00 14 */ bge lbl_8024BCDC /* 8024BCCC 00248C2C 48 00 01 B8 */ b lbl_8024BE84 lbl_8024BCD0: /* 8024BCD0 00248C30 2C 00 00 03 */ cmpwi r0, 3 /* 8024BCD4 00248C34 40 80 01 B0 */ bge lbl_8024BE84 /* 8024BCD8 00248C38 48 00 01 34 */ b lbl_8024BE0C lbl_8024BCDC: /* 8024BCDC 00248C3C 28 1B 00 00 */ cmplwi r27, 0 /* 8024BCE0 00248C40 41 82 01 A4 */ beq lbl_8024BE84 /* 8024BCE4 00248C44 38 E0 00 01 */ li r7, 1 /* 8024BCE8 00248C48 C0 02 B8 90 */ lfs f0, lbl_805AD5B0@sda21(r2) /* 8024BCEC 00248C4C 90 FE 02 D0 */ stw r7, 0x2d0(r30) /* 8024BCF0 00248C50 38 60 FF FF */ li r3, -1 /* 8024BCF4 00248C54 38 00 00 00 */ li r0, 0 /* 8024BCF8 00248C58 38 81 00 D0 */ addi r4, r1, 0xd0 /* 8024BCFC 00248C5C 80 DE 02 E0 */ lwz r6, 0x2e0(r30) /* 8024BD00 00248C60 38 A0 00 00 */ li r5, 0 /* 8024BD04 00248C64 90 C1 00 D0 */ stw r6, 0xd0(r1) /* 8024BD08 00248C68 90 61 00 D4 */ stw r3, 0xd4(r1) /* 8024BD0C 00248C6C D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 8024BD10 00248C70 98 E1 00 DC */ stb r7, 0xdc(r1) /* 8024BD14 00248C74 90 01 00 E0 */ stw r0, 0xe0(r1) /* 8024BD18 00248C78 90 01 00 E4 */ stw r0, 0xe4(r1) /* 8024BD1C 00248C7C 98 01 00 E8 */ stb r0, 0xe8(r1) /* 8024BD20 00248C80 90 01 00 EC */ stw r0, 0xec(r1) /* 8024BD24 00248C84 90 01 00 F0 */ stw r0, 0xf0(r1) /* 8024BD28 00248C88 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8024BD2C 00248C8C 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BD30 00248C90 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024BD34 00248C94 4B DE 10 49 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8024BD38 00248C98 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BD3C 00248C9C 38 80 00 01 */ li r4, 1 /* 8024BD40 00248CA0 4B EC 98 21 */ bl EnableLooping__10CModelDataFb /* 8024BD44 00248CA4 7F C3 F3 78 */ mr r3, r30 /* 8024BD48 00248CA8 7F E4 FB 78 */ mr r4, r31 /* 8024BD4C 00248CAC 48 00 01 D1 */ bl sub_8024bf1c /* 8024BD50 00248CB0 48 00 01 34 */ b lbl_8024BE84 lbl_8024BD54: /* 8024BD54 00248CB4 28 1B 00 00 */ cmplwi r27, 0 /* 8024BD58 00248CB8 40 82 00 74 */ bne lbl_8024BDCC /* 8024BD5C 00248CBC 38 E0 00 00 */ li r7, 0 /* 8024BD60 00248CC0 C0 02 B8 90 */ lfs f0, lbl_805AD5B0@sda21(r2) /* 8024BD64 00248CC4 90 FE 02 D0 */ stw r7, 0x2d0(r30) /* 8024BD68 00248CC8 38 60 FF FF */ li r3, -1 /* 8024BD6C 00248CCC 38 00 00 01 */ li r0, 1 /* 8024BD70 00248CD0 38 81 00 A8 */ addi r4, r1, 0xa8 /* 8024BD74 00248CD4 80 DE 02 DC */ lwz r6, 0x2dc(r30) /* 8024BD78 00248CD8 38 A0 00 00 */ li r5, 0 /* 8024BD7C 00248CDC 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 8024BD80 00248CE0 90 61 00 AC */ stw r3, 0xac(r1) /* 8024BD84 00248CE4 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 8024BD88 00248CE8 98 01 00 B4 */ stb r0, 0xb4(r1) /* 8024BD8C 00248CEC 90 E1 00 B8 */ stw r7, 0xb8(r1) /* 8024BD90 00248CF0 90 E1 00 BC */ stw r7, 0xbc(r1) /* 8024BD94 00248CF4 98 E1 00 C0 */ stb r7, 0xc0(r1) /* 8024BD98 00248CF8 90 E1 00 C4 */ stw r7, 0xc4(r1) /* 8024BD9C 00248CFC 90 E1 00 C8 */ stw r7, 0xc8(r1) /* 8024BDA0 00248D00 90 E1 00 CC */ stw r7, 0xcc(r1) /* 8024BDA4 00248D04 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BDA8 00248D08 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024BDAC 00248D0C 4B DE 0F D1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8024BDB0 00248D10 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BDB4 00248D14 38 80 00 01 */ li r4, 1 /* 8024BDB8 00248D18 4B EC 97 A9 */ bl EnableLooping__10CModelDataFb /* 8024BDBC 00248D1C 7F C3 F3 78 */ mr r3, r30 /* 8024BDC0 00248D20 7F E4 FB 78 */ mr r4, r31 /* 8024BDC4 00248D24 48 00 01 59 */ bl sub_8024bf1c /* 8024BDC8 00248D28 48 00 00 BC */ b lbl_8024BE84 lbl_8024BDCC: /* 8024BDCC 00248D2C 28 03 00 00 */ cmplwi r3, 0 /* 8024BDD0 00248D30 41 82 00 B4 */ beq lbl_8024BE84 /* 8024BDD4 00248D34 7F C3 F3 78 */ mr r3, r30 /* 8024BDD8 00248D38 7F E5 FB 78 */ mr r5, r31 /* 8024BDDC 00248D3C 38 80 00 0E */ li r4, 0xe /* 8024BDE0 00248D40 38 C0 FF FF */ li r6, -1 /* 8024BDE4 00248D44 4B E0 52 DD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 8024BDE8 00248D48 7F C3 F3 78 */ mr r3, r30 /* 8024BDEC 00248D4C 4B E0 94 59 */ bl RemoveEmitter__6CActorFv /* 8024BDF0 00248D50 7F C3 F3 78 */ mr r3, r30 /* 8024BDF4 00248D54 38 80 00 00 */ li r4, 0 /* 8024BDF8 00248D58 81 9E 00 00 */ lwz r12, 0(r30) /* 8024BDFC 00248D5C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8024BE00 00248D60 7D 89 03 A6 */ mtctr r12 /* 8024BE04 00248D64 4E 80 04 21 */ bctrl /* 8024BE08 00248D68 48 00 00 7C */ b lbl_8024BE84 lbl_8024BE0C: /* 8024BE0C 00248D6C 88 1E 02 E8 */ lbz r0, 0x2e8(r30) /* 8024BE10 00248D70 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f /* 8024BE14 00248D74 40 82 00 70 */ bne lbl_8024BE84 /* 8024BE18 00248D78 38 E0 00 00 */ li r7, 0 /* 8024BE1C 00248D7C C0 02 B8 90 */ lfs f0, lbl_805AD5B0@sda21(r2) /* 8024BE20 00248D80 90 FE 02 D0 */ stw r7, 0x2d0(r30) /* 8024BE24 00248D84 38 60 FF FF */ li r3, -1 /* 8024BE28 00248D88 38 00 00 01 */ li r0, 1 /* 8024BE2C 00248D8C 38 81 00 80 */ addi r4, r1, 0x80 /* 8024BE30 00248D90 80 DE 02 DC */ lwz r6, 0x2dc(r30) /* 8024BE34 00248D94 38 A0 00 00 */ li r5, 0 /* 8024BE38 00248D98 90 C1 00 80 */ stw r6, 0x80(r1) /* 8024BE3C 00248D9C 90 61 00 84 */ stw r3, 0x84(r1) /* 8024BE40 00248DA0 D0 01 00 88 */ stfs f0, 0x88(r1) /* 8024BE44 00248DA4 98 01 00 8C */ stb r0, 0x8c(r1) /* 8024BE48 00248DA8 90 E1 00 90 */ stw r7, 0x90(r1) /* 8024BE4C 00248DAC 90 E1 00 94 */ stw r7, 0x94(r1) /* 8024BE50 00248DB0 98 E1 00 98 */ stb r7, 0x98(r1) /* 8024BE54 00248DB4 90 E1 00 9C */ stw r7, 0x9c(r1) /* 8024BE58 00248DB8 90 E1 00 A0 */ stw r7, 0xa0(r1) /* 8024BE5C 00248DBC 90 E1 00 A4 */ stw r7, 0xa4(r1) /* 8024BE60 00248DC0 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BE64 00248DC4 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024BE68 00248DC8 4B DE 0F 15 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb /* 8024BE6C 00248DCC 80 7E 00 64 */ lwz r3, 0x64(r30) /* 8024BE70 00248DD0 38 80 00 01 */ li r4, 1 /* 8024BE74 00248DD4 4B EC 96 ED */ bl EnableLooping__10CModelDataFb /* 8024BE78 00248DD8 7F C3 F3 78 */ mr r3, r30 /* 8024BE7C 00248DDC 7F E4 FB 78 */ mr r4, r31 /* 8024BE80 00248DE0 48 00 00 9D */ bl sub_8024bf1c lbl_8024BE84: /* 8024BE84 00248DE4 88 1E 02 E8 */ lbz r0, 0x2e8(r30) /* 8024BE88 00248DE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024BE8C 00248DEC 40 82 00 74 */ bne lbl_8024BF00 /* 8024BE90 00248DF0 7F C3 F3 78 */ mr r3, r30 /* 8024BE94 00248DF4 7F E4 FB 78 */ mr r4, r31 /* 8024BE98 00248DF8 81 9E 00 00 */ lwz r12, 0(r30) /* 8024BE9C 00248DFC 81 8C 00 34 */ lwz r12, 0x34(r12) /* 8024BEA0 00248E00 7D 89 03 A6 */ mtctr r12 /* 8024BEA4 00248E04 4E 80 04 21 */ bctrl /* 8024BEA8 00248E08 C0 23 00 00 */ lfs f1, 0(r3) /* 8024BEAC 00248E0C C0 02 B8 98 */ lfs f0, lbl_805AD5B8@sda21(r2) /* 8024BEB0 00248E10 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8024BEB4 00248E14 4C 40 13 82 */ cror 2, 0, 2 /* 8024BEB8 00248E18 40 82 00 48 */ bne lbl_8024BF00 /* 8024BEBC 00248E1C 88 1E 02 E8 */ lbz r0, 0x2e8(r30) /* 8024BEC0 00248E20 38 60 00 01 */ li r3, 1 /* 8024BEC4 00248E24 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 8024BEC8 00248E28 7F C3 F3 78 */ mr r3, r30 /* 8024BECC 00248E2C 98 1E 02 E8 */ stb r0, 0x2e8(r30) /* 8024BED0 00248E30 7F E5 FB 78 */ mr r5, r31 /* 8024BED4 00248E34 38 80 00 0E */ li r4, 0xe /* 8024BED8 00248E38 38 C0 FF FF */ li r6, -1 /* 8024BEDC 00248E3C 4B E0 51 E5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage /* 8024BEE0 00248E40 7F C3 F3 78 */ mr r3, r30 /* 8024BEE4 00248E44 4B E0 93 61 */ bl RemoveEmitter__6CActorFv /* 8024BEE8 00248E48 7F C3 F3 78 */ mr r3, r30 /* 8024BEEC 00248E4C 38 80 00 00 */ li r4, 0 /* 8024BEF0 00248E50 81 9E 00 00 */ lwz r12, 0(r30) /* 8024BEF4 00248E54 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8024BEF8 00248E58 7D 89 03 A6 */ mtctr r12 /* 8024BEFC 00248E5C 4E 80 04 21 */ bctrl lbl_8024BF00: /* 8024BF00 00248E60 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 8024BF04 00248E64 CB E1 01 10 */ lfd f31, 0x110(r1) /* 8024BF08 00248E68 BB 61 00 FC */ lmw r27, 0xfc(r1) /* 8024BF0C 00248E6C 80 01 01 24 */ lwz r0, 0x124(r1) /* 8024BF10 00248E70 7C 08 03 A6 */ mtlr r0 /* 8024BF14 00248E74 38 21 01 20 */ addi r1, r1, 0x120 /* 8024BF18 00248E78 4E 80 00 20 */ blr .global sub_8024bf1c sub_8024bf1c: /* 8024BF1C 00248E7C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024BF20 00248E80 7C 08 02 A6 */ mflr r0 /* 8024BF24 00248E84 90 01 00 14 */ stw r0, 0x14(r1) /* 8024BF28 00248E88 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024BF2C 00248E8C 80 A3 00 64 */ lwz r5, 0x64(r3) /* 8024BF30 00248E90 80 64 09 00 */ lwz r3, 0x900(r4) /* 8024BF34 00248E94 83 E5 00 10 */ lwz r31, 0x10(r5) /* 8024BF38 00248E98 48 0C 65 A5 */ bl Float__9CRandom16Fv /* 8024BF3C 00248E9C C0 42 B8 A0 */ lfs f2, lbl_805AD5C0@sda21(r2) /* 8024BF40 00248EA0 7F E3 FB 78 */ mr r3, r31 /* 8024BF44 00248EA4 C0 02 B8 9C */ lfs f0, lbl_805AD5BC@sda21(r2) /* 8024BF48 00248EA8 EC 22 00 7A */ fmadds f1, f2, f1, f0 /* 8024BF4C 00248EAC 4B DD F5 0D */ bl MultiplyPlaybackRate__9CAnimDataFf /* 8024BF50 00248EB0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024BF54 00248EB4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024BF58 00248EB8 7C 08 03 A6 */ mtlr r0 /* 8024BF5C 00248EBC 38 21 00 10 */ addi r1, r1, 0x10 /* 8024BF60 00248EC0 4E 80 00 20 */ blr .global GetTouchBounds__10CAmbientAICFv GetTouchBounds__10CAmbientAICFv: /* 8024BF64 00248EC4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024BF68 00248EC8 7C 08 02 A6 */ mflr r0 /* 8024BF6C 00248ECC 90 01 00 34 */ stw r0, 0x34(r1) /* 8024BF70 00248ED0 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024BF74 00248ED4 7C 7F 1B 78 */ mr r31, r3 /* 8024BF78 00248ED8 88 04 00 30 */ lbz r0, 0x30(r4) /* 8024BF7C 00248EDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f /* 8024BF80 00248EE0 41 82 00 50 */ beq lbl_8024BFD0 /* 8024BF84 00248EE4 38 61 00 08 */ addi r3, r1, 8 /* 8024BF88 00248EE8 4B EC E9 A5 */ bl GetBoundingBox__13CPhysicsActorCFv /* 8024BF8C 00248EEC 38 00 00 01 */ li r0, 1 /* 8024BF90 00248EF0 28 1F 00 00 */ cmplwi r31, 0 /* 8024BF94 00248EF4 98 1F 00 18 */ stb r0, 0x18(r31) /* 8024BF98 00248EF8 41 82 00 40 */ beq lbl_8024BFD8 /* 8024BF9C 00248EFC C0 01 00 08 */ lfs f0, 8(r1) /* 8024BFA0 00248F00 D0 1F 00 00 */ stfs f0, 0(r31) /* 8024BFA4 00248F04 C0 01 00 0C */ lfs f0, 0xc(r1) /* 8024BFA8 00248F08 D0 1F 00 04 */ stfs f0, 4(r31) /* 8024BFAC 00248F0C C0 01 00 10 */ lfs f0, 0x10(r1) /* 8024BFB0 00248F10 D0 1F 00 08 */ stfs f0, 8(r31) /* 8024BFB4 00248F14 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8024BFB8 00248F18 D0 1F 00 0C */ stfs f0, 0xc(r31) /* 8024BFBC 00248F1C C0 01 00 18 */ lfs f0, 0x18(r1) /* 8024BFC0 00248F20 D0 1F 00 10 */ stfs f0, 0x10(r31) /* 8024BFC4 00248F24 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 8024BFC8 00248F28 D0 1F 00 14 */ stfs f0, 0x14(r31) /* 8024BFCC 00248F2C 48 00 00 0C */ b lbl_8024BFD8 lbl_8024BFD0: /* 8024BFD0 00248F30 38 00 00 00 */ li r0, 0 /* 8024BFD4 00248F34 98 1F 00 18 */ stb r0, 0x18(r31) lbl_8024BFD8: /* 8024BFD8 00248F38 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024BFDC 00248F3C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024BFE0 00248F40 7C 08 03 A6 */ mtlr r0 /* 8024BFE4 00248F44 38 21 00 30 */ addi r1, r1, 0x30 /* 8024BFE8 00248F48 4E 80 00 20 */ blr .global Touch__10CAmbientAIFR6CActorR13CStateManager Touch__10CAmbientAIFR6CActorR13CStateManager: /* 8024BFEC 00248F4C 4E 80 00 20 */ blr .global GetDamageVulnerability__10CAmbientAICFv GetDamageVulnerability__10CAmbientAICFv: /* 8024BFF0 00248F50 38 63 02 68 */ addi r3, r3, 0x268 /* 8024BFF4 00248F54 4E 80 00 20 */ blr .global HealthInfo__10CAmbientAIFR13CStateManager HealthInfo__10CAmbientAIFR13CStateManager: /* 8024BFF8 00248F58 38 63 02 60 */ addi r3, r3, 0x260 /* 8024BFFC 00248F5C 4E 80 00 20 */ blr .global __ct__10CAmbientAI __ct__10CAmbientAI: /* 8024C000 00248F60 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8024C004 00248F64 7C 08 02 A6 */ mflr r0 /* 8024C008 00248F68 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8024C00C 00248F6C DB E1 00 B0 */ stfd f31, 0xb0(r1) /* 8024C010 00248F70 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 /* 8024C014 00248F74 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 8024C018 00248F78 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 /* 8024C01C 00248F7C DB A1 00 90 */ stfd f29, 0x90(r1) /* 8024C020 00248F80 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 /* 8024C024 00248F84 BE 21 00 54 */ stmw r17, 0x54(r1) /* 8024C028 00248F88 FF A0 08 90 */ fmr f29, f1 /* 8024C02C 00248F8C 83 21 00 C8 */ lwz r25, 0xc8(r1) /* 8024C030 00248F90 FF C0 10 90 */ fmr f30, f2 /* 8024C034 00248F94 83 41 00 CC */ lwz r26, 0xcc(r1) /* 8024C038 00248F98 FF E0 18 90 */ fmr f31, f3 /* 8024C03C 00248F9C 83 61 00 D0 */ lwz r27, 0xd0(r1) /* 8024C040 00248FA0 83 81 00 D4 */ lwz r28, 0xd4(r1) /* 8024C044 00248FA4 7C 72 1B 78 */ mr r18, r3 /* 8024C048 00248FA8 83 A1 00 D8 */ lwz r29, 0xd8(r1) /* 8024C04C 00248FAC 7C 91 23 78 */ mr r17, r4 /* 8024C050 00248FB0 8B C1 00 DF */ lbz r30, 0xdf(r1) /* 8024C054 00248FB4 7C B3 2B 78 */ mr r19, r5 /* 8024C058 00248FB8 7C D4 33 78 */ mr r20, r6 /* 8024C05C 00248FBC 7C F5 3B 78 */ mr r21, r7 /* 8024C060 00248FC0 7D 16 43 78 */ mr r22, r8 /* 8024C064 00248FC4 7D 37 4B 78 */ mr r23, r9 /* 8024C068 00248FC8 7D 58 53 78 */ mr r24, r10 /* 8024C06C 00248FCC 4B DC F4 C9 */ bl Identity__10CAxisAngleFv /* 8024C070 00248FD0 7C 7F 1B 78 */ mr r31, r3 /* 8024C074 00248FD4 4B DC F4 C1 */ bl Identity__10CAxisAngleFv /* 8024C078 00248FD8 3C 80 80 5A */ lis r4, skZero3f@ha /* 8024C07C 00248FDC C4 64 66 A0 */ lfsu f3, skZero3f@l(r4) /* 8024C080 00248FE0 A1 71 00 00 */ lhz r11, 0(r17) /* 8024C084 00248FE4 38 01 00 1C */ addi r0, r1, 0x1c /* 8024C088 00248FE8 C0 84 00 04 */ lfs f4, 4(r4) /* 8024C08C 00248FEC 7F C5 F3 78 */ mr r5, r30 /* 8024C090 00248FF0 C0 A4 00 08 */ lfs f5, 8(r4) /* 8024C094 00248FF4 7E 66 9B 78 */ mr r6, r19 /* 8024C098 00248FF8 D0 61 00 1C */ stfs f3, 0x1c(r1) /* 8024C09C 00248FFC 7E 87 A3 78 */ mr r7, r20 /* 8024C0A0 00249000 C0 22 B8 A4 */ lfs f1, lbl_805AD5C4@sda21(r2) /* 8024C0A4 00249004 7E A8 AB 78 */ mr r8, r21 /* 8024C0A8 00249008 D0 81 00 20 */ stfs f4, 0x20(r1) /* 8024C0AC 0024900C 7E C9 B3 78 */ mr r9, r22 /* 8024C0B0 00249010 C0 42 B8 A8 */ lfs f2, lbl_805AD5C8@sda21(r2) /* 8024C0B4 00249014 7F 0A C3 78 */ mr r10, r24 /* 8024C0B8 00249018 D0 A1 00 24 */ stfs f5, 0x24(r1) /* 8024C0BC 0024901C 38 81 00 18 */ addi r4, r1, 0x18 /* 8024C0C0 00249020 C0 03 00 00 */ lfs f0, 0(r3) /* 8024C0C4 00249024 D0 01 00 28 */ stfs f0, 0x28(r1) /* 8024C0C8 00249028 C0 03 00 04 */ lfs f0, 4(r3) /* 8024C0CC 0024902C D0 01 00 2C */ stfs f0, 0x2c(r1) /* 8024C0D0 00249030 C0 03 00 08 */ lfs f0, 8(r3) /* 8024C0D4 00249034 7E 43 93 78 */ mr r3, r18 /* 8024C0D8 00249038 D0 01 00 30 */ stfs f0, 0x30(r1) /* 8024C0DC 0024903C D0 61 00 34 */ stfs f3, 0x34(r1) /* 8024C0E0 00249040 D0 81 00 38 */ stfs f4, 0x38(r1) /* 8024C0E4 00249044 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 8024C0E8 00249048 C0 1F 00 00 */ lfs f0, 0(r31) /* 8024C0EC 0024904C D0 01 00 40 */ stfs f0, 0x40(r1) /* 8024C0F0 00249050 C0 1F 00 04 */ lfs f0, 4(r31) /* 8024C0F4 00249054 D0 01 00 44 */ stfs f0, 0x44(r1) /* 8024C0F8 00249058 C0 1F 00 08 */ lfs f0, 8(r31) /* 8024C0FC 0024905C D0 01 00 48 */ stfs f0, 0x48(r1) /* 8024C100 00249060 D3 A1 00 4C */ stfs f29, 0x4c(r1) /* 8024C104 00249064 B1 61 00 18 */ sth r11, 0x18(r1) /* 8024C108 00249068 92 E1 00 08 */ stw r23, 8(r1) /* 8024C10C 0024906C 90 01 00 0C */ stw r0, 0xc(r1) /* 8024C110 00249070 93 61 00 10 */ stw r27, 0x10(r1) /* 8024C114 00249074 4B ED 03 9D */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" /* 8024C118 00249078 3C 60 80 3F */ lis r3, lbl_803E8CB0@ha /* 8024C11C 0024907C 38 A0 00 00 */ li r5, 0 /* 8024C120 00249080 38 03 8C B0 */ addi r0, r3, lbl_803E8CB0@l /* 8024C124 00249084 38 80 00 01 */ li r4, 1 /* 8024C128 00249088 90 12 00 00 */ stw r0, 0(r18) /* 8024C12C 0024908C C0 19 00 00 */ lfs f0, 0(r25) /* 8024C130 00249090 D0 12 02 58 */ stfs f0, 0x258(r18) /* 8024C134 00249094 C0 19 00 04 */ lfs f0, 4(r25) /* 8024C138 00249098 D0 12 02 5C */ stfs f0, 0x25c(r18) /* 8024C13C 0024909C C0 19 00 00 */ lfs f0, 0(r25) /* 8024C140 002490A0 D0 12 02 60 */ stfs f0, 0x260(r18) /* 8024C144 002490A4 C0 19 00 04 */ lfs f0, 4(r25) /* 8024C148 002490A8 D0 12 02 64 */ stfs f0, 0x264(r18) /* 8024C14C 002490AC 80 7A 00 00 */ lwz r3, 0(r26) /* 8024C150 002490B0 80 1A 00 04 */ lwz r0, 4(r26) /* 8024C154 002490B4 90 72 02 68 */ stw r3, 0x268(r18) /* 8024C158 002490B8 90 12 02 6C */ stw r0, 0x26c(r18) /* 8024C15C 002490BC 80 7A 00 08 */ lwz r3, 8(r26) /* 8024C160 002490C0 80 1A 00 0C */ lwz r0, 0xc(r26) /* 8024C164 002490C4 90 72 02 70 */ stw r3, 0x270(r18) /* 8024C168 002490C8 90 12 02 74 */ stw r0, 0x274(r18) /* 8024C16C 002490CC 80 7A 00 10 */ lwz r3, 0x10(r26) /* 8024C170 002490D0 80 1A 00 14 */ lwz r0, 0x14(r26) /* 8024C174 002490D4 90 72 02 78 */ stw r3, 0x278(r18) /* 8024C178 002490D8 90 12 02 7C */ stw r0, 0x27c(r18) /* 8024C17C 002490DC 80 7A 00 18 */ lwz r3, 0x18(r26) /* 8024C180 002490E0 80 1A 00 1C */ lwz r0, 0x1c(r26) /* 8024C184 002490E4 90 72 02 80 */ stw r3, 0x280(r18) /* 8024C188 002490E8 90 12 02 84 */ stw r0, 0x284(r18) /* 8024C18C 002490EC 80 7A 00 20 */ lwz r3, 0x20(r26) /* 8024C190 002490F0 80 1A 00 24 */ lwz r0, 0x24(r26) /* 8024C194 002490F4 90 72 02 88 */ stw r3, 0x288(r18) /* 8024C198 002490F8 90 12 02 8C */ stw r0, 0x28c(r18) /* 8024C19C 002490FC 80 7A 00 28 */ lwz r3, 0x28(r26) /* 8024C1A0 00249100 80 1A 00 2C */ lwz r0, 0x2c(r26) /* 8024C1A4 00249104 90 72 02 90 */ stw r3, 0x290(r18) /* 8024C1A8 00249108 90 12 02 94 */ stw r0, 0x294(r18) /* 8024C1AC 0024910C 80 7A 00 30 */ lwz r3, 0x30(r26) /* 8024C1B0 00249110 80 1A 00 34 */ lwz r0, 0x34(r26) /* 8024C1B4 00249114 90 72 02 98 */ stw r3, 0x298(r18) /* 8024C1B8 00249118 90 12 02 9C */ stw r0, 0x29c(r18) /* 8024C1BC 0024911C 80 1A 00 38 */ lwz r0, 0x38(r26) /* 8024C1C0 00249120 90 12 02 A0 */ stw r0, 0x2a0(r18) /* 8024C1C4 00249124 80 7A 00 3C */ lwz r3, 0x3c(r26) /* 8024C1C8 00249128 80 1A 00 40 */ lwz r0, 0x40(r26) /* 8024C1CC 0024912C 90 72 02 A4 */ stw r3, 0x2a4(r18) /* 8024C1D0 00249130 90 12 02 A8 */ stw r0, 0x2a8(r18) /* 8024C1D4 00249134 80 7A 00 44 */ lwz r3, 0x44(r26) /* 8024C1D8 00249138 80 1A 00 48 */ lwz r0, 0x48(r26) /* 8024C1DC 0024913C 90 72 02 AC */ stw r3, 0x2ac(r18) /* 8024C1E0 00249140 90 12 02 B0 */ stw r0, 0x2b0(r18) /* 8024C1E4 00249144 80 7A 00 4C */ lwz r3, 0x4c(r26) /* 8024C1E8 00249148 80 1A 00 50 */ lwz r0, 0x50(r26) /* 8024C1EC 0024914C 90 72 02 B4 */ stw r3, 0x2b4(r18) /* 8024C1F0 00249150 90 12 02 B8 */ stw r0, 0x2b8(r18) /* 8024C1F4 00249154 80 7A 00 54 */ lwz r3, 0x54(r26) /* 8024C1F8 00249158 80 1A 00 58 */ lwz r0, 0x58(r26) /* 8024C1FC 0024915C 90 72 02 BC */ stw r3, 0x2bc(r18) /* 8024C200 00249160 90 12 02 C0 */ stw r0, 0x2c0(r18) /* 8024C204 00249164 80 1A 00 5C */ lwz r0, 0x5c(r26) /* 8024C208 00249168 90 12 02 C4 */ stw r0, 0x2c4(r18) /* 8024C20C 0024916C 80 1A 00 60 */ lwz r0, 0x60(r26) /* 8024C210 00249170 90 12 02 C8 */ stw r0, 0x2c8(r18) /* 8024C214 00249174 80 1A 00 64 */ lwz r0, 0x64(r26) /* 8024C218 00249178 90 12 02 CC */ stw r0, 0x2cc(r18) /* 8024C21C 0024917C 90 B2 02 D0 */ stw r5, 0x2d0(r18) /* 8024C220 00249180 D3 D2 02 D4 */ stfs f30, 0x2d4(r18) /* 8024C224 00249184 D3 F2 02 D8 */ stfs f31, 0x2d8(r18) /* 8024C228 00249188 80 72 00 64 */ lwz r3, 0x64(r18) /* 8024C22C 0024918C 80 63 00 10 */ lwz r3, 0x10(r3) /* 8024C230 00249190 A8 03 02 08 */ lha r0, 0x208(r3) /* 8024C234 00249194 90 12 02 DC */ stw r0, 0x2dc(r18) /* 8024C238 00249198 93 92 02 E0 */ stw r28, 0x2e0(r18) /* 8024C23C 0024919C 93 B2 02 E4 */ stw r29, 0x2e4(r18) /* 8024C240 002491A0 88 12 02 E8 */ lbz r0, 0x2e8(r18) /* 8024C244 002491A4 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 8024C248 002491A8 98 12 02 E8 */ stb r0, 0x2e8(r18) /* 8024C24C 002491AC 88 12 02 E8 */ lbz r0, 0x2e8(r18) /* 8024C250 002491B0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 /* 8024C254 002491B4 98 12 02 E8 */ stb r0, 0x2e8(r18) /* 8024C258 002491B8 80 72 00 64 */ lwz r3, 0x64(r18) /* 8024C25C 002491BC 4B EC 93 05 */ bl EnableLooping__10CModelDataFb /* 8024C260 002491C0 7E 43 93 78 */ mr r3, r18 /* 8024C264 002491C4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 /* 8024C268 002491C8 CB E1 00 B0 */ lfd f31, 0xb0(r1) /* 8024C26C 002491CC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 /* 8024C270 002491D0 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 8024C274 002491D4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 /* 8024C278 002491D8 CB A1 00 90 */ lfd f29, 0x90(r1) /* 8024C27C 002491DC BA 21 00 54 */ lmw r17, 0x54(r1) /* 8024C280 002491E0 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8024C284 002491E4 7C 08 03 A6 */ mtlr r0 /* 8024C288 002491E8 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8024C28C 002491EC 4E 80 00 20 */ blr .global GetCardFreeBytes__17CMemoryCardDriverFv GetCardFreeBytes__17CMemoryCardDriverFv: /* 8024C290 002491F0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024C294 002491F4 7C 08 02 A6 */ mflr r0 /* 8024C298 002491F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8024C29C 002491FC 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024C2A0 00249200 7C 7F 1B 78 */ mr r31, r3 /* 8024C2A4 00249204 38 9F 00 18 */ addi r4, r31, 0x18 /* 8024C2A8 00249208 80 63 00 00 */ lwz r3, 0(r3) /* 8024C2AC 0024920C 38 BF 00 1C */ addi r5, r31, 0x1c /* 8024C2B0 00249210 48 10 20 49 */ bl GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi /* 8024C2B4 00249214 2C 03 00 00 */ cmpwi r3, 0 /* 8024C2B8 00249218 41 82 00 14 */ beq lbl_8024C2CC /* 8024C2BC 0024921C 7F E3 FB 78 */ mr r3, r31 /* 8024C2C0 00249220 48 00 1A 59 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024C2C4 00249224 38 60 00 00 */ li r3, 0 /* 8024C2C8 00249228 48 00 00 08 */ b lbl_8024C2D0 lbl_8024C2CC: /* 8024C2CC 0024922C 38 60 00 01 */ li r3, 1 lbl_8024C2D0: /* 8024C2D0 00249230 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024C2D4 00249234 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024C2D8 00249238 7C 08 03 A6 */ mtlr r0 /* 8024C2DC 0024923C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024C2E0 00249240 4E 80 00 20 */ blr .global GetGameFileStateInfo__17CMemoryCardDriverFi GetGameFileStateInfo__17CMemoryCardDriverFi: /* 8024C2E4 00249244 54 80 18 38 */ slwi r0, r4, 3 /* 8024C2E8 00249248 7C 63 02 14 */ add r3, r3, r0 /* 8024C2EC 0024924C 80 63 00 EC */ lwz r3, 0xec(r3) /* 8024C2F0 00249250 28 03 00 00 */ cmplwi r3, 0 /* 8024C2F4 00249254 40 82 00 0C */ bne lbl_8024C300 /* 8024C2F8 00249258 38 60 00 00 */ li r3, 0 /* 8024C2FC 0024925C 4E 80 00 20 */ blr lbl_8024C300: /* 8024C300 00249260 38 63 03 B0 */ addi r3, r3, 0x3b0 /* 8024C304 00249264 4E 80 00 20 */ blr .global LoadGameState__13SGameFileSlotFi LoadGameState__13SGameFileSlotFi: /* 8024C308 00249268 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8024C30C 0024926C 7C 08 02 A6 */ mflr r0 /* 8024C310 00249270 7C 66 1B 78 */ mr r6, r3 /* 8024C314 00249274 38 A0 03 AC */ li r5, 0x3ac /* 8024C318 00249278 90 01 00 44 */ stw r0, 0x44(r1) /* 8024C31C 0024927C 38 61 00 08 */ addi r3, r1, 8 /* 8024C320 00249280 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8024C324 00249284 7C 9F 23 78 */ mr r31, r4 /* 8024C328 00249288 38 86 00 04 */ addi r4, r6, 4 /* 8024C32C 0024928C 48 0F 2E A1 */ bl __ct__15CMemoryInStreamFPCvUl /* 8024C330 00249290 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 8024C334 00249294 7F E5 FB 78 */ mr r5, r31 /* 8024C338 00249298 38 81 00 08 */ addi r4, r1, 8 /* 8024C33C 0024929C 4B DB 81 69 */ bl StreamNewGameState__5CMainFR12CInputStream /* 8024C340 002492A0 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha /* 8024C344 002492A4 38 61 00 08 */ addi r3, r1, 8 /* 8024C348 002492A8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l /* 8024C34C 002492AC 38 80 00 00 */ li r4, 0 /* 8024C350 002492B0 90 01 00 08 */ stw r0, 8(r1) /* 8024C354 002492B4 48 0F 2D 59 */ bl __dt__12CInputStreamFv /* 8024C358 002492B8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8024C35C 002492BC 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8024C360 002492C0 7C 08 03 A6 */ mtlr r0 /* 8024C364 002492C4 38 21 00 40 */ addi r1, r1, 0x40 /* 8024C368 002492C8 4E 80 00 20 */ blr .global InitializeFromGameState__13SGameFileSlotFv InitializeFromGameState__13SGameFileSlotFv: /* 8024C36C 002492CC 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8024C370 002492D0 7C 08 02 A6 */ mflr r0 /* 8024C374 002492D4 38 A0 03 AC */ li r5, 0x3ac /* 8024C378 002492D8 38 C0 00 01 */ li r6, 1 /* 8024C37C 002492DC 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8024C380 002492E0 38 E0 10 00 */ li r7, 0x1000 /* 8024C384 002492E4 93 E1 00 CC */ stw r31, 0xcc(r1) /* 8024C388 002492E8 7C 7F 1B 78 */ mr r31, r3 /* 8024C38C 002492EC 38 61 00 30 */ addi r3, r1, 0x30 /* 8024C390 002492F0 38 9F 00 04 */ addi r4, r31, 4 /* 8024C394 002492F4 48 0F 2F A9 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi /* 8024C398 002492F8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024C39C 002492FC 38 81 00 30 */ addi r4, r1, 0x30 /* 8024C3A0 00249300 4B F8 7C E9 */ bl PutTo__10CGameStateFR16CMemoryStreamOut /* 8024C3A4 00249304 38 61 00 30 */ addi r3, r1, 0x30 /* 8024C3A8 00249308 38 80 FF FF */ li r4, -1 /* 8024C3AC 0024930C 48 0F 2F 15 */ bl __dt__16CMemoryStreamOutFv /* 8024C3B0 00249310 38 61 00 08 */ addi r3, r1, 8 /* 8024C3B4 00249314 38 9F 00 04 */ addi r4, r31, 4 /* 8024C3B8 00249318 4B F8 7E 9D */ bl LoadGameFileState__10CGameStateFPCv /* 8024C3BC 0024931C C8 01 00 08 */ lfd f0, 8(r1) /* 8024C3C0 00249320 D8 1F 03 B0 */ stfd f0, 0x3b0(r31) /* 8024C3C4 00249324 80 01 00 10 */ lwz r0, 0x10(r1) /* 8024C3C8 00249328 90 1F 03 B8 */ stw r0, 0x3b8(r31) /* 8024C3CC 0024932C C0 01 00 14 */ lfs f0, 0x14(r1) /* 8024C3D0 00249330 D0 1F 03 BC */ stfs f0, 0x3bc(r31) /* 8024C3D4 00249334 80 01 00 18 */ lwz r0, 0x18(r1) /* 8024C3D8 00249338 90 1F 03 C0 */ stw r0, 0x3c0(r31) /* 8024C3DC 0024933C 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8024C3E0 00249340 90 1F 03 C4 */ stw r0, 0x3c4(r31) /* 8024C3E4 00249344 80 01 00 20 */ lwz r0, 0x20(r1) /* 8024C3E8 00249348 90 1F 03 C8 */ stw r0, 0x3c8(r31) /* 8024C3EC 0024934C C0 01 00 24 */ lfs f0, 0x24(r1) /* 8024C3F0 00249350 D0 1F 03 CC */ stfs f0, 0x3cc(r31) /* 8024C3F4 00249354 88 01 00 28 */ lbz r0, 0x28(r1) /* 8024C3F8 00249358 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 8024C3FC 0024935C 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 8024C400 00249360 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8024C404 00249364 7C 08 03 A6 */ mtlr r0 /* 8024C408 00249368 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8024C40C 0024936C 4E 80 00 20 */ blr .global DoPut__13SGameFileSlotFv DoPut__13SGameFileSlotFv: /* 8024C410 00249370 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024C414 00249374 7C 08 02 A6 */ mflr r0 /* 8024C418 00249378 90 01 00 14 */ stw r0, 0x14(r1) /* 8024C41C 0024937C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024C420 00249380 7C 9F 23 78 */ mr r31, r4 /* 8024C424 00249384 93 C1 00 08 */ stw r30, 8(r1) /* 8024C428 00249388 7C 7E 1B 78 */ mr r30, r3 /* 8024C42C 0024938C 7F E3 FB 78 */ mr r3, r31 /* 8024C430 00249390 48 0F 30 89 */ bl FlushShiftRegister__13COutputStreamFv /* 8024C434 00249394 7F E3 FB 78 */ mr r3, r31 /* 8024C438 00249398 38 9E 00 04 */ addi r4, r30, 4 /* 8024C43C 0024939C 38 A0 03 AC */ li r5, 0x3ac /* 8024C440 002493A0 48 0F 31 69 */ bl DoPut__13COutputStreamFPCvUl /* 8024C444 002493A4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024C448 002493A8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024C44C 002493AC 83 C1 00 08 */ lwz r30, 8(r1) /* 8024C450 002493B0 7C 08 03 A6 */ mtlr r0 /* 8024C454 002493B4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024C458 002493B8 4E 80 00 20 */ blr .global LoadFile LoadFile: /* 8024C45C 002493BC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8024C460 002493C0 7C 08 02 A6 */ mflr r0 /* 8024C464 002493C4 90 01 00 44 */ stw r0, 0x44(r1) /* 8024C468 002493C8 38 00 00 5E */ li r0, 0x5e /* 8024C46C 002493CC 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8024C470 002493D0 7C 7F 1B 78 */ mr r31, r3 /* 8024C474 002493D4 38 60 03 AC */ li r3, 0x3ac /* 8024C478 002493D8 90 7F 00 00 */ stw r3, 0(r31) /* 8024C47C 002493DC 38 BF 00 04 */ addi r5, r31, 4 /* 8024C480 002493E0 38 60 00 00 */ li r3, 0 /* 8024C484 002493E4 7C 09 03 A6 */ mtctr r0 lbl_8024C488: /* 8024C488 002493E8 28 05 00 00 */ cmplwi r5, 0 /* 8024C48C 002493EC 41 82 00 0C */ beq lbl_8024C498 /* 8024C490 002493F0 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C494 002493F4 98 05 00 00 */ stb r0, 0(r5) lbl_8024C498: /* 8024C498 002493F8 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C49C 002493FC 41 82 00 0C */ beq lbl_8024C4A8 /* 8024C4A0 00249400 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C4A4 00249404 98 05 00 00 */ stb r0, 0(r5) lbl_8024C4A8: /* 8024C4A8 00249408 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C4AC 0024940C 41 82 00 0C */ beq lbl_8024C4B8 /* 8024C4B0 00249410 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C4B4 00249414 98 05 00 00 */ stb r0, 0(r5) lbl_8024C4B8: /* 8024C4B8 00249418 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C4BC 0024941C 41 82 00 0C */ beq lbl_8024C4C8 /* 8024C4C0 00249420 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C4C4 00249424 98 05 00 00 */ stb r0, 0(r5) lbl_8024C4C8: /* 8024C4C8 00249428 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C4CC 0024942C 41 82 00 0C */ beq lbl_8024C4D8 /* 8024C4D0 00249430 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C4D4 00249434 98 05 00 00 */ stb r0, 0(r5) lbl_8024C4D8: /* 8024C4D8 00249438 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C4DC 0024943C 41 82 00 0C */ beq lbl_8024C4E8 /* 8024C4E0 00249440 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C4E4 00249444 98 05 00 00 */ stb r0, 0(r5) lbl_8024C4E8: /* 8024C4E8 00249448 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C4EC 0024944C 41 82 00 0C */ beq lbl_8024C4F8 /* 8024C4F0 00249450 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C4F4 00249454 98 05 00 00 */ stb r0, 0(r5) lbl_8024C4F8: /* 8024C4F8 00249458 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C4FC 0024945C 41 82 00 0C */ beq lbl_8024C508 /* 8024C500 00249460 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C504 00249464 98 05 00 00 */ stb r0, 0(r5) lbl_8024C508: /* 8024C508 00249468 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C50C 0024946C 41 82 00 0C */ beq lbl_8024C518 /* 8024C510 00249470 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C514 00249474 98 05 00 00 */ stb r0, 0(r5) lbl_8024C518: /* 8024C518 00249478 34 A5 00 01 */ addic. r5, r5, 1 /* 8024C51C 0024947C 41 82 00 0C */ beq lbl_8024C528 /* 8024C520 00249480 88 0D 97 13 */ lbz r0, lbl_805A82D3@sda21(r13) /* 8024C524 00249484 98 05 00 00 */ stb r0, 0(r5) lbl_8024C528: /* 8024C528 00249488 38 63 00 09 */ addi r3, r3, 9 /* 8024C52C 0024948C 38 A5 00 01 */ addi r5, r5, 1 /* 8024C530 00249490 42 00 FF 58 */ bdnz lbl_8024C488 /* 8024C534 00249494 7C 83 23 78 */ mr r3, r4 /* 8024C538 00249498 38 9F 00 04 */ addi r4, r31, 4 /* 8024C53C 0024949C 38 A0 03 AC */ li r5, 0x3ac /* 8024C540 002494A0 48 0F 2A 15 */ bl Get__12CInputStreamFPvUl /* 8024C544 002494A4 38 61 00 08 */ addi r3, r1, 8 /* 8024C548 002494A8 38 9F 00 04 */ addi r4, r31, 4 /* 8024C54C 002494AC 4B F8 7D 09 */ bl LoadGameFileState__10CGameStateFPCv /* 8024C550 002494B0 C8 01 00 08 */ lfd f0, 8(r1) /* 8024C554 002494B4 7F E3 FB 78 */ mr r3, r31 /* 8024C558 002494B8 D8 1F 03 B0 */ stfd f0, 0x3b0(r31) /* 8024C55C 002494BC 80 01 00 10 */ lwz r0, 0x10(r1) /* 8024C560 002494C0 90 1F 03 B8 */ stw r0, 0x3b8(r31) /* 8024C564 002494C4 C0 01 00 14 */ lfs f0, 0x14(r1) /* 8024C568 002494C8 D0 1F 03 BC */ stfs f0, 0x3bc(r31) /* 8024C56C 002494CC 80 01 00 18 */ lwz r0, 0x18(r1) /* 8024C570 002494D0 90 1F 03 C0 */ stw r0, 0x3c0(r31) /* 8024C574 002494D4 80 01 00 1C */ lwz r0, 0x1c(r1) /* 8024C578 002494D8 90 1F 03 C4 */ stw r0, 0x3c4(r31) /* 8024C57C 002494DC 80 01 00 20 */ lwz r0, 0x20(r1) /* 8024C580 002494E0 90 1F 03 C8 */ stw r0, 0x3c8(r31) /* 8024C584 002494E4 C0 01 00 24 */ lfs f0, 0x24(r1) /* 8024C588 002494E8 D0 1F 03 CC */ stfs f0, 0x3cc(r31) /* 8024C58C 002494EC 88 01 00 28 */ lbz r0, 0x28(r1) /* 8024C590 002494F0 98 1F 03 D0 */ stb r0, 0x3d0(r31) /* 8024C594 002494F4 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8024C598 002494F8 80 01 00 44 */ lwz r0, 0x44(r1) /* 8024C59C 002494FC 7C 08 03 A6 */ mtlr r0 /* 8024C5A0 00249500 38 21 00 40 */ addi r1, r1, 0x40 /* 8024C5A4 00249504 4E 80 00 20 */ blr .global __ct__13SGameFileSlotFv __ct__13SGameFileSlotFv: /* 8024C5A8 00249508 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024C5AC 0024950C 7C 08 02 A6 */ mflr r0 /* 8024C5B0 00249510 90 01 00 14 */ stw r0, 0x14(r1) /* 8024C5B4 00249514 38 00 00 5E */ li r0, 0x5e /* 8024C5B8 00249518 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024C5BC 0024951C 7C 7F 1B 78 */ mr r31, r3 /* 8024C5C0 00249520 38 60 03 AC */ li r3, 0x3ac /* 8024C5C4 00249524 90 7F 00 00 */ stw r3, 0(r31) /* 8024C5C8 00249528 38 9F 00 04 */ addi r4, r31, 4 /* 8024C5CC 0024952C 38 60 00 00 */ li r3, 0 /* 8024C5D0 00249530 7C 09 03 A6 */ mtctr r0 lbl_8024C5D4: /* 8024C5D4 00249534 28 04 00 00 */ cmplwi r4, 0 /* 8024C5D8 00249538 41 82 00 0C */ beq lbl_8024C5E4 /* 8024C5DC 0024953C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C5E0 00249540 98 04 00 00 */ stb r0, 0(r4) lbl_8024C5E4: /* 8024C5E4 00249544 34 84 00 01 */ addic. r4, r4, 1 /* 8024C5E8 00249548 41 82 00 0C */ beq lbl_8024C5F4 /* 8024C5EC 0024954C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C5F0 00249550 98 04 00 00 */ stb r0, 0(r4) lbl_8024C5F4: /* 8024C5F4 00249554 34 84 00 01 */ addic. r4, r4, 1 /* 8024C5F8 00249558 41 82 00 0C */ beq lbl_8024C604 /* 8024C5FC 0024955C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C600 00249560 98 04 00 00 */ stb r0, 0(r4) lbl_8024C604: /* 8024C604 00249564 34 84 00 01 */ addic. r4, r4, 1 /* 8024C608 00249568 41 82 00 0C */ beq lbl_8024C614 /* 8024C60C 0024956C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C610 00249570 98 04 00 00 */ stb r0, 0(r4) lbl_8024C614: /* 8024C614 00249574 34 84 00 01 */ addic. r4, r4, 1 /* 8024C618 00249578 41 82 00 0C */ beq lbl_8024C624 /* 8024C61C 0024957C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C620 00249580 98 04 00 00 */ stb r0, 0(r4) lbl_8024C624: /* 8024C624 00249584 34 84 00 01 */ addic. r4, r4, 1 /* 8024C628 00249588 41 82 00 0C */ beq lbl_8024C634 /* 8024C62C 0024958C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C630 00249590 98 04 00 00 */ stb r0, 0(r4) lbl_8024C634: /* 8024C634 00249594 34 84 00 01 */ addic. r4, r4, 1 /* 8024C638 00249598 41 82 00 0C */ beq lbl_8024C644 /* 8024C63C 0024959C 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C640 002495A0 98 04 00 00 */ stb r0, 0(r4) lbl_8024C644: /* 8024C644 002495A4 34 84 00 01 */ addic. r4, r4, 1 /* 8024C648 002495A8 41 82 00 0C */ beq lbl_8024C654 /* 8024C64C 002495AC 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C650 002495B0 98 04 00 00 */ stb r0, 0(r4) lbl_8024C654: /* 8024C654 002495B4 34 84 00 01 */ addic. r4, r4, 1 /* 8024C658 002495B8 41 82 00 0C */ beq lbl_8024C664 /* 8024C65C 002495BC 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C660 002495C0 98 04 00 00 */ stb r0, 0(r4) lbl_8024C664: /* 8024C664 002495C4 34 84 00 01 */ addic. r4, r4, 1 /* 8024C668 002495C8 41 82 00 0C */ beq lbl_8024C674 /* 8024C66C 002495CC 88 0D 97 12 */ lbz r0, lbl_805A82D2@sda21(r13) /* 8024C670 002495D0 98 04 00 00 */ stb r0, 0(r4) lbl_8024C674: /* 8024C674 002495D4 38 63 00 09 */ addi r3, r3, 9 /* 8024C678 002495D8 38 84 00 01 */ addi r4, r4, 1 /* 8024C67C 002495DC 42 00 FF 58 */ bdnz lbl_8024C5D4 /* 8024C680 002495E0 7F E3 FB 78 */ mr r3, r31 /* 8024C684 002495E4 4B FF FC E9 */ bl InitializeFromGameState__13SGameFileSlotFv /* 8024C688 002495E8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024C68C 002495EC 7F E3 FB 78 */ mr r3, r31 /* 8024C690 002495F0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024C694 002495F4 7C 08 03 A6 */ mtlr r0 /* 8024C698 002495F8 38 21 00 10 */ addi r1, r1, 0x10 /* 8024C69C 002495FC 4E 80 00 20 */ blr .global DoPut__11SSaveHeaderFv DoPut__11SSaveHeaderFv: /* 8024C6A0 00249600 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024C6A4 00249604 7C 08 02 A6 */ mflr r0 /* 8024C6A8 00249608 90 01 00 24 */ stw r0, 0x24(r1) /* 8024C6AC 0024960C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024C6B0 00249610 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024C6B4 00249614 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024C6B8 00249618 7C 9D 23 78 */ mr r29, r4 /* 8024C6BC 0024961C 93 81 00 10 */ stw r28, 0x10(r1) /* 8024C6C0 00249620 7C 7C 1B 78 */ mr r28, r3 /* 8024C6C4 00249624 80 03 00 00 */ lwz r0, 0(r3) /* 8024C6C8 00249628 7F A3 EB 78 */ mr r3, r29 /* 8024C6CC 0024962C 90 01 00 08 */ stw r0, 8(r1) /* 8024C6D0 00249630 48 0F 2D E9 */ bl FlushShiftRegister__13COutputStreamFv /* 8024C6D4 00249634 7F A3 EB 78 */ mr r3, r29 /* 8024C6D8 00249638 38 81 00 08 */ addi r4, r1, 8 /* 8024C6DC 0024963C 38 A0 00 04 */ li r5, 4 /* 8024C6E0 00249640 48 0F 2E C9 */ bl DoPut__13COutputStreamFPCvUl /* 8024C6E4 00249644 3B C0 00 00 */ li r30, 0 lbl_8024C6E8: /* 8024C6E8 00249648 38 1E 00 04 */ addi r0, r30, 4 /* 8024C6EC 0024964C 7F A3 EB 78 */ mr r3, r29 /* 8024C6F0 00249650 7F FC 00 AE */ lbzx r31, r28, r0 /* 8024C6F4 00249654 48 0F 2D C5 */ bl FlushShiftRegister__13COutputStreamFv /* 8024C6F8 00249658 80 7D 00 04 */ lwz r3, 4(r29) /* 8024C6FC 0024965C 80 1D 00 08 */ lwz r0, 8(r29) /* 8024C700 00249660 7C 03 00 40 */ cmplw r3, r0 /* 8024C704 00249664 41 80 00 0C */ blt lbl_8024C710 /* 8024C708 00249668 7F A3 EB 78 */ mr r3, r29 /* 8024C70C 0024966C 48 0F 2E 19 */ bl DoFlush__13COutputStreamFv lbl_8024C710: /* 8024C710 00249670 80 7D 00 10 */ lwz r3, 0x10(r29) /* 8024C714 00249674 7C 1F 00 D0 */ neg r0, r31 /* 8024C718 00249678 7C 00 FB 78 */ or r0, r0, r31 /* 8024C71C 0024967C 3B DE 00 01 */ addi r30, r30, 1 /* 8024C720 00249680 38 63 00 01 */ addi r3, r3, 1 /* 8024C724 00249684 90 7D 00 10 */ stw r3, 0x10(r29) /* 8024C728 00249688 54 05 0F FE */ srwi r5, r0, 0x1f /* 8024C72C 0024968C 2C 1E 00 03 */ cmpwi r30, 3 /* 8024C730 00249690 80 7D 00 04 */ lwz r3, 4(r29) /* 8024C734 00249694 80 9D 00 0C */ lwz r4, 0xc(r29) /* 8024C738 00249698 38 03 00 01 */ addi r0, r3, 1 /* 8024C73C 0024969C 90 1D 00 04 */ stw r0, 4(r29) /* 8024C740 002496A0 7C A4 19 AE */ stbx r5, r4, r3 /* 8024C744 002496A4 41 80 FF A4 */ blt lbl_8024C6E8 /* 8024C748 002496A8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024C74C 002496AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024C750 002496B0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024C754 002496B4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024C758 002496B8 83 81 00 10 */ lwz r28, 0x10(r1) /* 8024C75C 002496BC 7C 08 03 A6 */ mtlr r0 /* 8024C760 002496C0 38 21 00 20 */ addi r1, r1, 0x20 /* 8024C764 002496C4 4E 80 00 20 */ blr .global LoadSaveHeader LoadSaveHeader: /* 8024C768 002496C8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024C76C 002496CC 7C 08 02 A6 */ mflr r0 /* 8024C770 002496D0 90 01 00 24 */ stw r0, 0x24(r1) /* 8024C774 002496D4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024C778 002496D8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024C77C 002496DC 7C 9E 23 78 */ mr r30, r4 /* 8024C780 002496E0 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024C784 002496E4 7C 7D 1B 78 */ mr r29, r3 /* 8024C788 002496E8 7F C3 F3 78 */ mr r3, r30 /* 8024C78C 002496EC 48 0F 24 F9 */ bl ReadLong__12CInputStreamFv /* 8024C790 002496F0 90 7D 00 00 */ stw r3, 0(r29) /* 8024C794 002496F4 3B E0 00 00 */ li r31, 0 lbl_8024C798: /* 8024C798 002496F8 7F C3 F3 78 */ mr r3, r30 /* 8024C79C 002496FC 48 0F 25 41 */ bl ReadBool__12CInputStreamFv /* 8024C7A0 00249700 38 1F 00 04 */ addi r0, r31, 4 /* 8024C7A4 00249704 3B FF 00 01 */ addi r31, r31, 1 /* 8024C7A8 00249708 2C 1F 00 03 */ cmpwi r31, 3 /* 8024C7AC 0024970C 7C 7D 01 AE */ stbx r3, r29, r0 /* 8024C7B0 00249710 41 80 FF E8 */ blt lbl_8024C798 /* 8024C7B4 00249714 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024C7B8 00249718 7F A3 EB 78 */ mr r3, r29 /* 8024C7BC 0024971C 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024C7C0 00249720 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024C7C4 00249724 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024C7C8 00249728 7C 08 03 A6 */ mtlr r0 /* 8024C7CC 0024972C 38 21 00 20 */ addi r1, r1, 0x20 /* 8024C7D0 00249730 4E 80 00 20 */ blr .global __ct__11SSaveHeaderFi __ct__11SSaveHeaderFi: /* 8024C7D4 00249734 90 83 00 00 */ stw r4, 0(r3) /* 8024C7D8 00249738 4E 80 00 20 */ blr .global ExportPersistentOptions__17CMemoryCardDriverFv ExportPersistentOptions__17CMemoryCardDriverFv: /* 8024C7DC 0024973C 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 8024C7E0 00249740 7C 08 02 A6 */ mflr r0 /* 8024C7E4 00249744 38 A0 00 AE */ li r5, 0xae /* 8024C7E8 00249748 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 8024C7EC 0024974C 93 E1 01 9C */ stw r31, 0x19c(r1) /* 8024C7F0 00249750 3B E3 00 34 */ addi r31, r3, 0x34 /* 8024C7F4 00249754 38 61 00 08 */ addi r3, r1, 8 /* 8024C7F8 00249758 7F E4 FB 78 */ mr r4, r31 /* 8024C7FC 0024975C 48 0F 29 D1 */ bl __ct__15CMemoryInStreamFPCvUl /* 8024C800 00249760 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8024C804 00249764 38 81 00 08 */ addi r4, r1, 8 /* 8024C808 00249768 4B F8 91 61 */ bl __ct__14CSystemOptionsFRC12CInputStream /* 8024C80C 0024976C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024C810 00249770 38 81 00 B8 */ addi r4, r1, 0xb8 /* 8024C814 00249774 4B F8 74 F5 */ bl ExportPersistentOptions__10CGameStateFRC14CSystemOptions /* 8024C818 00249778 7F E4 FB 78 */ mr r4, r31 /* 8024C81C 0024977C 38 61 00 2C */ addi r3, r1, 0x2c /* 8024C820 00249780 38 A0 00 AE */ li r5, 0xae /* 8024C824 00249784 38 C0 00 01 */ li r6, 1 /* 8024C828 00249788 38 E0 10 00 */ li r7, 0x1000 /* 8024C82C 0024978C 48 0F 2B 11 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi /* 8024C830 00249790 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8024C834 00249794 38 81 00 2C */ addi r4, r1, 0x2c /* 8024C838 00249798 4B F8 8D 59 */ bl PutTo__14CSystemOptionsFR13COutputStream /* 8024C83C 0024979C 38 61 00 2C */ addi r3, r1, 0x2c /* 8024C840 002497A0 38 80 FF FF */ li r4, -1 /* 8024C844 002497A4 48 0F 2A 7D */ bl __dt__16CMemoryStreamOutFv /* 8024C848 002497A8 38 61 00 B8 */ addi r3, r1, 0xb8 /* 8024C84C 002497AC 38 80 FF FF */ li r4, -1 /* 8024C850 002497B0 4B DB 79 89 */ bl __dt__14CSystemOptionsFv /* 8024C854 002497B4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha /* 8024C858 002497B8 38 61 00 08 */ addi r3, r1, 8 /* 8024C85C 002497BC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l /* 8024C860 002497C0 38 80 00 00 */ li r4, 0 /* 8024C864 002497C4 90 01 00 08 */ stw r0, 8(r1) /* 8024C868 002497C8 48 0F 28 45 */ bl __dt__12CInputStreamFv /* 8024C86C 002497CC 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 8024C870 002497D0 83 E1 01 9C */ lwz r31, 0x19c(r1) /* 8024C874 002497D4 7C 08 03 A6 */ mtlr r0 /* 8024C878 002497D8 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 8024C87C 002497DC 4E 80 00 20 */ blr .global ImportPersistentOptions__17CMemoryCardDriverFv ImportPersistentOptions__17CMemoryCardDriverFv: /* 8024C880 002497E0 94 21 FF 00 */ stwu r1, -0x100(r1) /* 8024C884 002497E4 7C 08 02 A6 */ mflr r0 /* 8024C888 002497E8 7C 64 1B 78 */ mr r4, r3 /* 8024C88C 002497EC 38 A0 00 AE */ li r5, 0xae /* 8024C890 002497F0 90 01 01 04 */ stw r0, 0x104(r1) /* 8024C894 002497F4 38 61 00 08 */ addi r3, r1, 8 /* 8024C898 002497F8 38 84 00 34 */ addi r4, r4, 0x34 /* 8024C89C 002497FC 48 0F 29 31 */ bl __ct__15CMemoryInStreamFPCvUl /* 8024C8A0 00249800 38 61 00 2C */ addi r3, r1, 0x2c /* 8024C8A4 00249804 38 81 00 08 */ addi r4, r1, 8 /* 8024C8A8 00249808 4B F8 90 C1 */ bl __ct__14CSystemOptionsFRC12CInputStream /* 8024C8AC 0024980C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024C8B0 00249810 38 81 00 2C */ addi r4, r1, 0x2c /* 8024C8B4 00249814 4B F8 76 19 */ bl ImportPersistentOptions__10CGameStateFRC14CSystemOptions /* 8024C8B8 00249818 38 61 00 2C */ addi r3, r1, 0x2c /* 8024C8BC 0024981C 38 80 FF FF */ li r4, -1 /* 8024C8C0 00249820 4B DB 79 19 */ bl __dt__14CSystemOptionsFv /* 8024C8C4 00249824 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha /* 8024C8C8 00249828 38 61 00 08 */ addi r3, r1, 8 /* 8024C8CC 0024982C 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l /* 8024C8D0 00249830 38 80 00 00 */ li r4, 0 /* 8024C8D4 00249834 90 01 00 08 */ stw r0, 8(r1) /* 8024C8D8 00249838 48 0F 27 D5 */ bl __dt__12CInputStreamFv /* 8024C8DC 0024983C 80 01 01 04 */ lwz r0, 0x104(r1) /* 8024C8E0 00249840 7C 08 03 A6 */ mtlr r0 /* 8024C8E4 00249844 38 21 01 00 */ addi r1, r1, 0x100 /* 8024C8E8 00249848 4E 80 00 20 */ blr .global BuildExistingFileSlot__17CMemoryCardDriverFi BuildExistingFileSlot__17CMemoryCardDriverFi: /* 8024C8EC 0024984C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 8024C8F0 00249850 7C 08 02 A6 */ mflr r0 /* 8024C8F4 00249854 90 01 00 B4 */ stw r0, 0xb4(r1) /* 8024C8F8 00249858 54 80 18 38 */ slwi r0, r4, 3 /* 8024C8FC 0024985C 93 E1 00 AC */ stw r31, 0xac(r1) /* 8024C900 00249860 93 C1 00 A8 */ stw r30, 0xa8(r1) /* 8024C904 00249864 7C 7E 1B 78 */ mr r30, r3 /* 8024C908 00249868 7F FE 02 14 */ add r31, r30, r0 /* 8024C90C 0024986C 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 8024C910 00249870 90 85 02 0C */ stw r4, 0x20c(r5) /* 8024C914 00249874 80 7F 00 EC */ lwz r3, 0xec(r31) /* 8024C918 00249878 3B FF 00 E8 */ addi r31, r31, 0xe8 /* 8024C91C 0024987C 28 03 00 00 */ cmplwi r3, 0 /* 8024C920 00249880 40 82 01 50 */ bne lbl_8024CA70 /* 8024C924 00249884 3C 80 80 3D */ lis r4, lbl_803D47CC@ha /* 8024C928 00249888 38 60 03 D8 */ li r3, 0x3d8 /* 8024C92C 0024988C 38 84 47 CC */ addi r4, r4, lbl_803D47CC@l /* 8024C930 00249890 38 A0 00 00 */ li r5, 0 /* 8024C934 00249894 38 84 02 A1 */ addi r4, r4, 0x2a1 /* 8024C938 00249898 48 0C 8F 35 */ bl __nw__FUlPCcPCc /* 8024C93C 0024989C 7C 64 1B 79 */ or. r4, r3, r3 /* 8024C940 002498A0 41 82 00 0C */ beq lbl_8024C94C /* 8024C944 002498A4 4B FF FC 65 */ bl __ct__13SGameFileSlotFv /* 8024C948 002498A8 7C 64 1B 78 */ mr r4, r3 lbl_8024C94C: /* 8024C94C 002498AC 7C 64 00 D0 */ neg r3, r4 /* 8024C950 002498B0 38 01 00 08 */ addi r0, r1, 8 /* 8024C954 002498B4 7C 63 23 78 */ or r3, r3, r4 /* 8024C958 002498B8 90 81 00 0C */ stw r4, 0xc(r1) /* 8024C95C 002498BC 54 63 0F FE */ srwi r3, r3, 0x1f /* 8024C960 002498C0 7C 00 F8 40 */ cmplw r0, r31 /* 8024C964 002498C4 98 61 00 08 */ stb r3, 8(r1) /* 8024C968 002498C8 41 82 00 90 */ beq lbl_8024C9F8 /* 8024C96C 002498CC 88 1F 00 00 */ lbz r0, 0(r31) /* 8024C970 002498D0 28 00 00 00 */ cmplwi r0, 0 /* 8024C974 002498D4 41 82 00 6C */ beq lbl_8024C9E0 /* 8024C978 002498D8 80 7F 00 04 */ lwz r3, 4(r31) /* 8024C97C 002498DC 28 03 00 00 */ cmplwi r3, 0 /* 8024C980 002498E0 41 82 00 60 */ beq lbl_8024C9E0 /* 8024C984 002498E4 41 82 00 58 */ beq lbl_8024C9DC /* 8024C988 002498E8 80 C3 00 00 */ lwz r6, 0(r3) /* 8024C98C 002498EC 38 80 00 00 */ li r4, 0 /* 8024C990 002498F0 2C 06 00 00 */ cmpwi r6, 0 /* 8024C994 002498F4 40 81 00 40 */ ble lbl_8024C9D4 /* 8024C998 002498F8 2C 06 00 08 */ cmpwi r6, 8 /* 8024C99C 002498FC 38 A6 FF F8 */ addi r5, r6, -8 /* 8024C9A0 00249900 40 81 00 20 */ ble lbl_8024C9C0 /* 8024C9A4 00249904 38 05 00 07 */ addi r0, r5, 7 /* 8024C9A8 00249908 54 00 E8 FE */ srwi r0, r0, 3 /* 8024C9AC 0024990C 7C 09 03 A6 */ mtctr r0 /* 8024C9B0 00249910 2C 05 00 00 */ cmpwi r5, 0 /* 8024C9B4 00249914 40 81 00 0C */ ble lbl_8024C9C0 lbl_8024C9B8: /* 8024C9B8 00249918 38 84 00 08 */ addi r4, r4, 8 /* 8024C9BC 0024991C 42 00 FF FC */ bdnz lbl_8024C9B8 lbl_8024C9C0: /* 8024C9C0 00249920 7C 04 30 50 */ subf r0, r4, r6 /* 8024C9C4 00249924 7C 09 03 A6 */ mtctr r0 /* 8024C9C8 00249928 7C 04 30 00 */ cmpw r4, r6 /* 8024C9CC 0024992C 40 80 00 08 */ bge lbl_8024C9D4 lbl_8024C9D0: /* 8024C9D0 00249930 42 00 00 00 */ bdnz lbl_8024C9D0 lbl_8024C9D4: /* 8024C9D4 00249934 38 00 00 00 */ li r0, 0 /* 8024C9D8 00249938 90 03 00 00 */ stw r0, 0(r3) lbl_8024C9DC: /* 8024C9DC 0024993C 48 0C 8F 55 */ bl Free__7CMemoryFPCv lbl_8024C9E0: /* 8024C9E0 00249940 88 61 00 08 */ lbz r3, 8(r1) /* 8024C9E4 00249944 38 00 00 00 */ li r0, 0 /* 8024C9E8 00249948 98 7F 00 00 */ stb r3, 0(r31) /* 8024C9EC 0024994C 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024C9F0 00249950 90 7F 00 04 */ stw r3, 4(r31) /* 8024C9F4 00249954 98 01 00 08 */ stb r0, 8(r1) lbl_8024C9F8: /* 8024C9F8 00249958 88 01 00 08 */ lbz r0, 8(r1) /* 8024C9FC 0024995C 28 00 00 00 */ cmplwi r0, 0 /* 8024CA00 00249960 41 82 00 74 */ beq lbl_8024CA74 /* 8024CA04 00249964 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024CA08 00249968 28 03 00 00 */ cmplwi r3, 0 /* 8024CA0C 0024996C 41 82 00 68 */ beq lbl_8024CA74 /* 8024CA10 00249970 41 82 00 58 */ beq lbl_8024CA68 /* 8024CA14 00249974 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CA18 00249978 38 80 00 00 */ li r4, 0 /* 8024CA1C 0024997C 2C 06 00 00 */ cmpwi r6, 0 /* 8024CA20 00249980 40 81 00 40 */ ble lbl_8024CA60 /* 8024CA24 00249984 2C 06 00 08 */ cmpwi r6, 8 /* 8024CA28 00249988 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CA2C 0024998C 40 81 00 20 */ ble lbl_8024CA4C /* 8024CA30 00249990 38 05 00 07 */ addi r0, r5, 7 /* 8024CA34 00249994 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CA38 00249998 7C 09 03 A6 */ mtctr r0 /* 8024CA3C 0024999C 2C 05 00 00 */ cmpwi r5, 0 /* 8024CA40 002499A0 40 81 00 0C */ ble lbl_8024CA4C lbl_8024CA44: /* 8024CA44 002499A4 38 84 00 08 */ addi r4, r4, 8 /* 8024CA48 002499A8 42 00 FF FC */ bdnz lbl_8024CA44 lbl_8024CA4C: /* 8024CA4C 002499AC 7C 04 30 50 */ subf r0, r4, r6 /* 8024CA50 002499B0 7C 09 03 A6 */ mtctr r0 /* 8024CA54 002499B4 7C 04 30 00 */ cmpw r4, r6 /* 8024CA58 002499B8 40 80 00 08 */ bge lbl_8024CA60 lbl_8024CA5C: /* 8024CA5C 002499BC 42 00 00 00 */ bdnz lbl_8024CA5C lbl_8024CA60: /* 8024CA60 002499C0 38 00 00 00 */ li r0, 0 /* 8024CA64 002499C4 90 03 00 00 */ stw r0, 0(r3) lbl_8024CA68: /* 8024CA68 002499C8 48 0C 8E C9 */ bl Free__7CMemoryFPCv /* 8024CA6C 002499CC 48 00 00 08 */ b lbl_8024CA74 lbl_8024CA70: /* 8024CA70 002499D0 4B FF F8 FD */ bl InitializeFromGameState__13SGameFileSlotFv lbl_8024CA74: /* 8024CA74 002499D4 38 61 00 10 */ addi r3, r1, 0x10 /* 8024CA78 002499D8 38 9E 00 34 */ addi r4, r30, 0x34 /* 8024CA7C 002499DC 38 A0 00 AE */ li r5, 0xae /* 8024CA80 002499E0 38 C0 00 01 */ li r6, 1 /* 8024CA84 002499E4 38 E0 10 00 */ li r7, 0x1000 /* 8024CA88 002499E8 48 0F 28 B5 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi /* 8024CA8C 002499EC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024CA90 002499F0 38 81 00 10 */ addi r4, r1, 0x10 /* 8024CA94 002499F4 4B F8 75 89 */ bl sub_801d401c /* 8024CA98 002499F8 38 61 00 10 */ addi r3, r1, 0x10 /* 8024CA9C 002499FC 38 80 FF FF */ li r4, -1 /* 8024CAA0 00249A00 48 0F 28 21 */ bl __dt__16CMemoryStreamOutFv /* 8024CAA4 00249A04 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 8024CAA8 00249A08 83 E1 00 AC */ lwz r31, 0xac(r1) /* 8024CAAC 00249A0C 83 C1 00 A8 */ lwz r30, 0xa8(r1) /* 8024CAB0 00249A10 7C 08 03 A6 */ mtlr r0 /* 8024CAB4 00249A14 38 21 00 B0 */ addi r1, r1, 0xb0 /* 8024CAB8 00249A18 4E 80 00 20 */ blr .global BuildNewFileSlot__17CMemoryCardDriverFi BuildNewFileSlot__17CMemoryCardDriverFi: /* 8024CABC 00249A1C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 8024CAC0 00249A20 7C 08 02 A6 */ mflr r0 /* 8024CAC4 00249A24 90 01 00 54 */ stw r0, 0x54(r1) /* 8024CAC8 00249A28 54 80 18 38 */ slwi r0, r4, 3 /* 8024CACC 00249A2C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 8024CAD0 00249A30 93 C1 00 48 */ stw r30, 0x48(r1) /* 8024CAD4 00249A34 93 A1 00 44 */ stw r29, 0x44(r1) /* 8024CAD8 00249A38 7C 9D 23 78 */ mr r29, r4 /* 8024CADC 00249A3C 93 81 00 40 */ stw r28, 0x40(r1) /* 8024CAE0 00249A40 7C 7C 1B 78 */ mr r28, r3 /* 8024CAE4 00249A44 7F DC 02 14 */ add r30, r28, r0 /* 8024CAE8 00249A48 80 AD A0 80 */ lwz r5, gpGameState@sda21(r13) /* 8024CAEC 00249A4C 88 65 01 78 */ lbz r3, 0x178(r5) /* 8024CAF0 00249A50 93 A5 02 0C */ stw r29, 0x20c(r5) /* 8024CAF4 00249A54 54 7F EF FE */ rlwinm r31, r3, 0x1d, 0x1f, 0x1f /* 8024CAF8 00249A58 80 1E 00 EC */ lwz r0, 0xec(r30) /* 8024CAFC 00249A5C 3B DE 00 E8 */ addi r30, r30, 0xe8 /* 8024CB00 00249A60 28 00 00 00 */ cmplwi r0, 0 /* 8024CB04 00249A64 40 82 01 4C */ bne lbl_8024CC50 /* 8024CB08 00249A68 3C 80 80 3D */ lis r4, lbl_803D47CC@ha /* 8024CB0C 00249A6C 38 60 03 D8 */ li r3, 0x3d8 /* 8024CB10 00249A70 38 84 47 CC */ addi r4, r4, lbl_803D47CC@l /* 8024CB14 00249A74 38 A0 00 00 */ li r5, 0 /* 8024CB18 00249A78 38 84 02 A1 */ addi r4, r4, 0x2a1 /* 8024CB1C 00249A7C 48 0C 8D 51 */ bl __nw__FUlPCcPCc /* 8024CB20 00249A80 7C 64 1B 79 */ or. r4, r3, r3 /* 8024CB24 00249A84 41 82 00 0C */ beq lbl_8024CB30 /* 8024CB28 00249A88 4B FF FA 81 */ bl __ct__13SGameFileSlotFv /* 8024CB2C 00249A8C 7C 64 1B 78 */ mr r4, r3 lbl_8024CB30: /* 8024CB30 00249A90 7C 64 00 D0 */ neg r3, r4 /* 8024CB34 00249A94 38 01 00 08 */ addi r0, r1, 8 /* 8024CB38 00249A98 7C 63 23 78 */ or r3, r3, r4 /* 8024CB3C 00249A9C 90 81 00 0C */ stw r4, 0xc(r1) /* 8024CB40 00249AA0 54 63 0F FE */ srwi r3, r3, 0x1f /* 8024CB44 00249AA4 7C 00 F0 40 */ cmplw r0, r30 /* 8024CB48 00249AA8 98 61 00 08 */ stb r3, 8(r1) /* 8024CB4C 00249AAC 41 82 00 90 */ beq lbl_8024CBDC /* 8024CB50 00249AB0 88 1E 00 00 */ lbz r0, 0(r30) /* 8024CB54 00249AB4 28 00 00 00 */ cmplwi r0, 0 /* 8024CB58 00249AB8 41 82 00 6C */ beq lbl_8024CBC4 /* 8024CB5C 00249ABC 80 7E 00 04 */ lwz r3, 4(r30) /* 8024CB60 00249AC0 28 03 00 00 */ cmplwi r3, 0 /* 8024CB64 00249AC4 41 82 00 60 */ beq lbl_8024CBC4 /* 8024CB68 00249AC8 41 82 00 58 */ beq lbl_8024CBC0 /* 8024CB6C 00249ACC 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CB70 00249AD0 38 80 00 00 */ li r4, 0 /* 8024CB74 00249AD4 2C 06 00 00 */ cmpwi r6, 0 /* 8024CB78 00249AD8 40 81 00 40 */ ble lbl_8024CBB8 /* 8024CB7C 00249ADC 2C 06 00 08 */ cmpwi r6, 8 /* 8024CB80 00249AE0 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CB84 00249AE4 40 81 00 20 */ ble lbl_8024CBA4 /* 8024CB88 00249AE8 38 05 00 07 */ addi r0, r5, 7 /* 8024CB8C 00249AEC 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CB90 00249AF0 7C 09 03 A6 */ mtctr r0 /* 8024CB94 00249AF4 2C 05 00 00 */ cmpwi r5, 0 /* 8024CB98 00249AF8 40 81 00 0C */ ble lbl_8024CBA4 lbl_8024CB9C: /* 8024CB9C 00249AFC 38 84 00 08 */ addi r4, r4, 8 /* 8024CBA0 00249B00 42 00 FF FC */ bdnz lbl_8024CB9C lbl_8024CBA4: /* 8024CBA4 00249B04 7C 04 30 50 */ subf r0, r4, r6 /* 8024CBA8 00249B08 7C 09 03 A6 */ mtctr r0 /* 8024CBAC 00249B0C 7C 04 30 00 */ cmpw r4, r6 /* 8024CBB0 00249B10 40 80 00 08 */ bge lbl_8024CBB8 lbl_8024CBB4: /* 8024CBB4 00249B14 42 00 00 00 */ bdnz lbl_8024CBB4 lbl_8024CBB8: /* 8024CBB8 00249B18 38 00 00 00 */ li r0, 0 /* 8024CBBC 00249B1C 90 03 00 00 */ stw r0, 0(r3) lbl_8024CBC0: /* 8024CBC0 00249B20 48 0C 8D 71 */ bl Free__7CMemoryFPCv lbl_8024CBC4: /* 8024CBC4 00249B24 88 61 00 08 */ lbz r3, 8(r1) /* 8024CBC8 00249B28 38 00 00 00 */ li r0, 0 /* 8024CBCC 00249B2C 98 7E 00 00 */ stb r3, 0(r30) /* 8024CBD0 00249B30 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024CBD4 00249B34 90 7E 00 04 */ stw r3, 4(r30) /* 8024CBD8 00249B38 98 01 00 08 */ stb r0, 8(r1) lbl_8024CBDC: /* 8024CBDC 00249B3C 88 01 00 08 */ lbz r0, 8(r1) /* 8024CBE0 00249B40 28 00 00 00 */ cmplwi r0, 0 /* 8024CBE4 00249B44 41 82 00 6C */ beq lbl_8024CC50 /* 8024CBE8 00249B48 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024CBEC 00249B4C 28 03 00 00 */ cmplwi r3, 0 /* 8024CBF0 00249B50 41 82 00 60 */ beq lbl_8024CC50 /* 8024CBF4 00249B54 41 82 00 58 */ beq lbl_8024CC4C /* 8024CBF8 00249B58 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CBFC 00249B5C 38 80 00 00 */ li r4, 0 /* 8024CC00 00249B60 2C 06 00 00 */ cmpwi r6, 0 /* 8024CC04 00249B64 40 81 00 40 */ ble lbl_8024CC44 /* 8024CC08 00249B68 2C 06 00 08 */ cmpwi r6, 8 /* 8024CC0C 00249B6C 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CC10 00249B70 40 81 00 20 */ ble lbl_8024CC30 /* 8024CC14 00249B74 38 05 00 07 */ addi r0, r5, 7 /* 8024CC18 00249B78 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CC1C 00249B7C 7C 09 03 A6 */ mtctr r0 /* 8024CC20 00249B80 2C 05 00 00 */ cmpwi r5, 0 /* 8024CC24 00249B84 40 81 00 0C */ ble lbl_8024CC30 lbl_8024CC28: /* 8024CC28 00249B88 38 84 00 08 */ addi r4, r4, 8 /* 8024CC2C 00249B8C 42 00 FF FC */ bdnz lbl_8024CC28 lbl_8024CC30: /* 8024CC30 00249B90 7C 04 30 50 */ subf r0, r4, r6 /* 8024CC34 00249B94 7C 09 03 A6 */ mtctr r0 /* 8024CC38 00249B98 7C 04 30 00 */ cmpw r4, r6 /* 8024CC3C 00249B9C 40 80 00 08 */ bge lbl_8024CC44 lbl_8024CC40: /* 8024CC40 00249BA0 42 00 00 00 */ bdnz lbl_8024CC40 lbl_8024CC44: /* 8024CC44 00249BA4 38 00 00 00 */ li r0, 0 /* 8024CC48 00249BA8 90 03 00 00 */ stw r0, 0(r3) lbl_8024CC4C: /* 8024CC4C 00249BAC 48 0C 8C E5 */ bl Free__7CMemoryFPCv lbl_8024CC50: /* 8024CC50 00249BB0 80 7E 00 04 */ lwz r3, 4(r30) /* 8024CC54 00249BB4 7F A4 EB 78 */ mr r4, r29 /* 8024CC58 00249BB8 4B FF F6 B1 */ bl LoadGameState__13SGameFileSlotFi /* 8024CC5C 00249BBC 38 61 00 10 */ addi r3, r1, 0x10 /* 8024CC60 00249BC0 38 9C 00 34 */ addi r4, r28, 0x34 /* 8024CC64 00249BC4 38 A0 00 AE */ li r5, 0xae /* 8024CC68 00249BC8 48 0F 25 65 */ bl __ct__15CMemoryInStreamFPCvUl /* 8024CC6C 00249BCC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024CC70 00249BD0 38 81 00 10 */ addi r4, r1, 0x10 /* 8024CC74 00249BD4 4B F8 73 CD */ bl ReadSystemOptions__10CGameStateFR12CInputStream /* 8024CC78 00249BD8 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha /* 8024CC7C 00249BDC 38 61 00 10 */ addi r3, r1, 0x10 /* 8024CC80 00249BE0 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l /* 8024CC84 00249BE4 38 80 00 00 */ li r4, 0 /* 8024CC88 00249BE8 90 01 00 10 */ stw r0, 0x10(r1) /* 8024CC8C 00249BEC 48 0F 24 21 */ bl __dt__12CInputStreamFv /* 8024CC90 00249BF0 7F 83 E3 78 */ mr r3, r28 /* 8024CC94 00249BF4 4B FF FB ED */ bl ImportPersistentOptions__17CMemoryCardDriverFv /* 8024CC98 00249BF8 80 1C 00 28 */ lwz r0, 0x28(r28) /* 8024CC9C 00249BFC 7F E4 FB 78 */ mr r4, r31 /* 8024CCA0 00249C00 80 BC 00 2C */ lwz r5, 0x2c(r28) /* 8024CCA4 00249C04 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024CCA8 00249C08 90 A3 02 14 */ stw r5, 0x214(r3) /* 8024CCAC 00249C0C 90 03 02 10 */ stw r0, 0x210(r3) /* 8024CCB0 00249C10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024CCB4 00249C14 38 63 00 A8 */ addi r3, r3, 0xa8 /* 8024CCB8 00249C18 4B F8 85 09 */ bl SetHasFusion__14CSystemOptionsFb /* 8024CCBC 00249C1C 80 01 00 54 */ lwz r0, 0x54(r1) /* 8024CCC0 00249C20 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 8024CCC4 00249C24 83 C1 00 48 */ lwz r30, 0x48(r1) /* 8024CCC8 00249C28 83 A1 00 44 */ lwz r29, 0x44(r1) /* 8024CCCC 00249C2C 83 81 00 40 */ lwz r28, 0x40(r1) /* 8024CCD0 00249C30 7C 08 03 A6 */ mtlr r0 /* 8024CCD4 00249C34 38 21 00 50 */ addi r1, r1, 0x50 /* 8024CCD8 00249C38 4E 80 00 20 */ blr .global EraseFileSlot__17CMemoryCardDriverFi EraseFileSlot__17CMemoryCardDriverFi: /* 8024CCDC 00249C3C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024CCE0 00249C40 7C 08 02 A6 */ mflr r0 /* 8024CCE4 00249C44 90 01 00 24 */ stw r0, 0x24(r1) /* 8024CCE8 00249C48 54 80 18 38 */ slwi r0, r4, 3 /* 8024CCEC 00249C4C 38 80 00 00 */ li r4, 0 /* 8024CCF0 00249C50 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024CCF4 00249C54 7F E3 02 14 */ add r31, r3, r0 /* 8024CCF8 00249C58 38 01 00 08 */ addi r0, r1, 8 /* 8024CCFC 00249C5C 3B FF 00 E8 */ addi r31, r31, 0xe8 /* 8024CD00 00249C60 98 81 00 08 */ stb r4, 8(r1) /* 8024CD04 00249C64 7C 00 F8 40 */ cmplw r0, r31 /* 8024CD08 00249C68 90 81 00 0C */ stw r4, 0xc(r1) /* 8024CD0C 00249C6C 41 82 00 8C */ beq lbl_8024CD98 /* 8024CD10 00249C70 88 1F 00 00 */ lbz r0, 0(r31) /* 8024CD14 00249C74 28 00 00 00 */ cmplwi r0, 0 /* 8024CD18 00249C78 41 82 00 68 */ beq lbl_8024CD80 /* 8024CD1C 00249C7C 80 7F 00 04 */ lwz r3, 4(r31) /* 8024CD20 00249C80 28 03 00 00 */ cmplwi r3, 0 /* 8024CD24 00249C84 41 82 00 5C */ beq lbl_8024CD80 /* 8024CD28 00249C88 41 82 00 54 */ beq lbl_8024CD7C /* 8024CD2C 00249C8C 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CD30 00249C90 2C 06 00 00 */ cmpwi r6, 0 /* 8024CD34 00249C94 40 81 00 40 */ ble lbl_8024CD74 /* 8024CD38 00249C98 2C 06 00 08 */ cmpwi r6, 8 /* 8024CD3C 00249C9C 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CD40 00249CA0 40 81 00 20 */ ble lbl_8024CD60 /* 8024CD44 00249CA4 38 05 00 07 */ addi r0, r5, 7 /* 8024CD48 00249CA8 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CD4C 00249CAC 7C 09 03 A6 */ mtctr r0 /* 8024CD50 00249CB0 2C 05 00 00 */ cmpwi r5, 0 /* 8024CD54 00249CB4 40 81 00 0C */ ble lbl_8024CD60 lbl_8024CD58: /* 8024CD58 00249CB8 38 84 00 08 */ addi r4, r4, 8 /* 8024CD5C 00249CBC 42 00 FF FC */ bdnz lbl_8024CD58 lbl_8024CD60: /* 8024CD60 00249CC0 7C 04 30 50 */ subf r0, r4, r6 /* 8024CD64 00249CC4 7C 09 03 A6 */ mtctr r0 /* 8024CD68 00249CC8 7C 04 30 00 */ cmpw r4, r6 /* 8024CD6C 00249CCC 40 80 00 08 */ bge lbl_8024CD74 lbl_8024CD70: /* 8024CD70 00249CD0 42 00 00 00 */ bdnz lbl_8024CD70 lbl_8024CD74: /* 8024CD74 00249CD4 38 00 00 00 */ li r0, 0 /* 8024CD78 00249CD8 90 03 00 00 */ stw r0, 0(r3) lbl_8024CD7C: /* 8024CD7C 00249CDC 48 0C 8B B5 */ bl Free__7CMemoryFPCv lbl_8024CD80: /* 8024CD80 00249CE0 88 61 00 08 */ lbz r3, 8(r1) /* 8024CD84 00249CE4 38 00 00 00 */ li r0, 0 /* 8024CD88 00249CE8 98 7F 00 00 */ stb r3, 0(r31) /* 8024CD8C 00249CEC 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024CD90 00249CF0 90 7F 00 04 */ stw r3, 4(r31) /* 8024CD94 00249CF4 98 01 00 08 */ stb r0, 8(r1) lbl_8024CD98: /* 8024CD98 00249CF8 88 01 00 08 */ lbz r0, 8(r1) /* 8024CD9C 00249CFC 28 00 00 00 */ cmplwi r0, 0 /* 8024CDA0 00249D00 41 82 00 6C */ beq lbl_8024CE0C /* 8024CDA4 00249D04 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024CDA8 00249D08 28 03 00 00 */ cmplwi r3, 0 /* 8024CDAC 00249D0C 41 82 00 60 */ beq lbl_8024CE0C /* 8024CDB0 00249D10 41 82 00 58 */ beq lbl_8024CE08 /* 8024CDB4 00249D14 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CDB8 00249D18 38 80 00 00 */ li r4, 0 /* 8024CDBC 00249D1C 2C 06 00 00 */ cmpwi r6, 0 /* 8024CDC0 00249D20 40 81 00 40 */ ble lbl_8024CE00 /* 8024CDC4 00249D24 2C 06 00 08 */ cmpwi r6, 8 /* 8024CDC8 00249D28 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CDCC 00249D2C 40 81 00 20 */ ble lbl_8024CDEC /* 8024CDD0 00249D30 38 05 00 07 */ addi r0, r5, 7 /* 8024CDD4 00249D34 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CDD8 00249D38 7C 09 03 A6 */ mtctr r0 /* 8024CDDC 00249D3C 2C 05 00 00 */ cmpwi r5, 0 /* 8024CDE0 00249D40 40 81 00 0C */ ble lbl_8024CDEC lbl_8024CDE4: /* 8024CDE4 00249D44 38 84 00 08 */ addi r4, r4, 8 /* 8024CDE8 00249D48 42 00 FF FC */ bdnz lbl_8024CDE4 lbl_8024CDEC: /* 8024CDEC 00249D4C 7C 04 30 50 */ subf r0, r4, r6 /* 8024CDF0 00249D50 7C 09 03 A6 */ mtctr r0 /* 8024CDF4 00249D54 7C 04 30 00 */ cmpw r4, r6 /* 8024CDF8 00249D58 40 80 00 08 */ bge lbl_8024CE00 lbl_8024CDFC: /* 8024CDFC 00249D5C 42 00 00 00 */ bdnz lbl_8024CDFC lbl_8024CE00: /* 8024CE00 00249D60 38 00 00 00 */ li r0, 0 /* 8024CE04 00249D64 90 03 00 00 */ stw r0, 0(r3) lbl_8024CE08: /* 8024CE08 00249D68 48 0C 8B 29 */ bl Free__7CMemoryFPCv lbl_8024CE0C: /* 8024CE0C 00249D6C 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024CE10 00249D70 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024CE14 00249D74 7C 08 03 A6 */ mtlr r0 /* 8024CE18 00249D78 38 21 00 20 */ addi r1, r1, 0x20 /* 8024CE1C 00249D7C 4E 80 00 20 */ blr .global ReadFinished__17CMemoryCardDriverFv ReadFinished__17CMemoryCardDriverFv: /* 8024CE20 00249D80 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 8024CE24 00249D84 7C 08 02 A6 */ mflr r0 /* 8024CE28 00249D88 38 80 00 00 */ li r4, 0 /* 8024CE2C 00249D8C 38 A0 00 6C */ li r5, 0x6c /* 8024CE30 00249D90 90 01 00 C4 */ stw r0, 0xc4(r1) /* 8024CE34 00249D94 93 E1 00 BC */ stw r31, 0xbc(r1) /* 8024CE38 00249D98 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 8024CE3C 00249D9C 93 A1 00 B4 */ stw r29, 0xb4(r1) /* 8024CE40 00249DA0 93 81 00 B0 */ stw r28, 0xb0(r1) /* 8024CE44 00249DA4 7C 7C 1B 78 */ mr r28, r3 /* 8024CE48 00249DA8 38 61 00 44 */ addi r3, r1, 0x44 /* 8024CE4C 00249DAC 80 1C 01 94 */ lwz r0, 0x194(r28) /* 8024CE50 00249DB0 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8024CE54 00249DB4 7C DC 02 14 */ add r6, r28, r0 /* 8024CE58 00249DB8 3B A6 01 08 */ addi r29, r6, 0x108 /* 8024CE5C 00249DBC 4B DB 65 4D */ bl memset /* 8024CE60 00249DC0 7F A3 EB 78 */ mr r3, r29 /* 8024CE64 00249DC4 48 10 1C 41 */ bl GetFileNo__19SMemoryCardFileInfoFv /* 8024CE68 00249DC8 7C 64 1B 78 */ mr r4, r3 /* 8024CE6C 00249DCC 80 7C 00 00 */ lwz r3, 0(r28) /* 8024CE70 00249DD0 38 A1 00 44 */ addi r5, r1, 0x44 /* 8024CE74 00249DD4 48 10 09 BD */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat /* 8024CE78 00249DD8 2C 03 00 00 */ cmpwi r3, 0 /* 8024CE7C 00249DDC 41 82 00 10 */ beq lbl_8024CE8C /* 8024CE80 00249DE0 7F 83 E3 78 */ mr r3, r28 /* 8024CE84 00249DE4 48 00 0E 95 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024CE88 00249DE8 48 00 03 08 */ b lbl_8024D190 lbl_8024CE8C: /* 8024CE8C 00249DEC 38 61 00 44 */ addi r3, r1, 0x44 /* 8024CE90 00249DF0 48 10 17 35 */ bl GetTime__8CARDStatFv /* 8024CE94 00249DF4 90 7C 00 20 */ stw r3, 0x20(r28) /* 8024CE98 00249DF8 38 61 00 20 */ addi r3, r1, 0x20 /* 8024CE9C 00249DFC 38 A0 0B BC */ li r5, 0xbbc /* 8024CEA0 00249E00 80 9D 00 40 */ lwz r4, 0x40(r29) /* 8024CEA4 00249E04 48 0F 23 29 */ bl __ct__15CMemoryInStreamFPCvUl /* 8024CEA8 00249E08 38 61 00 18 */ addi r3, r1, 0x18 /* 8024CEAC 00249E0C 38 81 00 20 */ addi r4, r1, 0x20 /* 8024CEB0 00249E10 4B FF F8 B9 */ bl LoadSaveHeader /* 8024CEB4 00249E14 38 61 00 20 */ addi r3, r1, 0x20 /* 8024CEB8 00249E18 38 9C 00 34 */ addi r4, r28, 0x34 /* 8024CEBC 00249E1C 38 A0 00 AE */ li r5, 0xae /* 8024CEC0 00249E20 48 0F 20 95 */ bl Get__12CInputStreamFPvUl /* 8024CEC4 00249E24 3B FC 00 E8 */ addi r31, r28, 0xe8 /* 8024CEC8 00249E28 3B C1 00 18 */ addi r30, r1, 0x18 /* 8024CECC 00249E2C 3B A0 00 00 */ li r29, 0 lbl_8024CED0: /* 8024CED0 00249E30 88 1E 00 04 */ lbz r0, 4(r30) /* 8024CED4 00249E34 28 00 00 00 */ cmplwi r0, 0 /* 8024CED8 00249E38 41 82 01 5C */ beq lbl_8024D034 /* 8024CEDC 00249E3C 3C 80 80 3D */ lis r4, lbl_803D47CC@ha /* 8024CEE0 00249E40 38 60 03 D8 */ li r3, 0x3d8 /* 8024CEE4 00249E44 38 84 47 CC */ addi r4, r4, lbl_803D47CC@l /* 8024CEE8 00249E48 38 A0 00 00 */ li r5, 0 /* 8024CEEC 00249E4C 38 84 02 A1 */ addi r4, r4, 0x2a1 /* 8024CEF0 00249E50 48 0C 89 7D */ bl __nw__FUlPCcPCc /* 8024CEF4 00249E54 7C 64 1B 79 */ or. r4, r3, r3 /* 8024CEF8 00249E58 41 82 00 10 */ beq lbl_8024CF08 /* 8024CEFC 00249E5C 38 81 00 20 */ addi r4, r1, 0x20 /* 8024CF00 00249E60 4B FF F5 5D */ bl LoadFile /* 8024CF04 00249E64 7C 64 1B 78 */ mr r4, r3 lbl_8024CF08: /* 8024CF08 00249E68 7C 64 00 D0 */ neg r3, r4 /* 8024CF0C 00249E6C 38 01 00 10 */ addi r0, r1, 0x10 /* 8024CF10 00249E70 7C 63 23 78 */ or r3, r3, r4 /* 8024CF14 00249E74 90 81 00 14 */ stw r4, 0x14(r1) /* 8024CF18 00249E78 54 63 0F FE */ srwi r3, r3, 0x1f /* 8024CF1C 00249E7C 7C 00 F8 40 */ cmplw r0, r31 /* 8024CF20 00249E80 98 61 00 10 */ stb r3, 0x10(r1) /* 8024CF24 00249E84 41 82 00 94 */ beq lbl_8024CFB8 /* 8024CF28 00249E88 88 1F 00 00 */ lbz r0, 0(r31) /* 8024CF2C 00249E8C 28 00 00 00 */ cmplwi r0, 0 /* 8024CF30 00249E90 41 82 00 70 */ beq lbl_8024CFA0 /* 8024CF34 00249E94 80 7F 00 04 */ lwz r3, 4(r31) /* 8024CF38 00249E98 28 03 00 00 */ cmplwi r3, 0 /* 8024CF3C 00249E9C 41 82 00 64 */ beq lbl_8024CFA0 /* 8024CF40 00249EA0 41 82 00 5C */ beq lbl_8024CF9C /* 8024CF44 00249EA4 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CF48 00249EA8 38 80 00 00 */ li r4, 0 /* 8024CF4C 00249EAC 2C 06 00 00 */ cmpwi r6, 0 /* 8024CF50 00249EB0 40 81 00 44 */ ble lbl_8024CF94 /* 8024CF54 00249EB4 2C 06 00 08 */ cmpwi r6, 8 /* 8024CF58 00249EB8 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CF5C 00249EBC 40 81 00 20 */ ble lbl_8024CF7C /* 8024CF60 00249EC0 38 05 00 07 */ addi r0, r5, 7 /* 8024CF64 00249EC4 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CF68 00249EC8 7C 09 03 A6 */ mtctr r0 /* 8024CF6C 00249ECC 2C 05 00 00 */ cmpwi r5, 0 /* 8024CF70 00249ED0 40 81 00 0C */ ble lbl_8024CF7C lbl_8024CF74: /* 8024CF74 00249ED4 38 84 00 08 */ addi r4, r4, 8 /* 8024CF78 00249ED8 42 00 FF FC */ bdnz lbl_8024CF74 lbl_8024CF7C: /* 8024CF7C 00249EDC 7C 04 30 50 */ subf r0, r4, r6 /* 8024CF80 00249EE0 7C 09 03 A6 */ mtctr r0 /* 8024CF84 00249EE4 7C 04 30 00 */ cmpw r4, r6 /* 8024CF88 00249EE8 40 80 00 0C */ bge lbl_8024CF94 lbl_8024CF8C: /* 8024CF8C 00249EEC 38 84 00 01 */ addi r4, r4, 1 /* 8024CF90 00249EF0 42 00 FF FC */ bdnz lbl_8024CF8C lbl_8024CF94: /* 8024CF94 00249EF4 38 00 00 00 */ li r0, 0 /* 8024CF98 00249EF8 90 03 00 00 */ stw r0, 0(r3) lbl_8024CF9C: /* 8024CF9C 00249EFC 48 0C 89 95 */ bl Free__7CMemoryFPCv lbl_8024CFA0: /* 8024CFA0 00249F00 88 61 00 10 */ lbz r3, 0x10(r1) /* 8024CFA4 00249F04 38 00 00 00 */ li r0, 0 /* 8024CFA8 00249F08 98 7F 00 00 */ stb r3, 0(r31) /* 8024CFAC 00249F0C 80 61 00 14 */ lwz r3, 0x14(r1) /* 8024CFB0 00249F10 90 7F 00 04 */ stw r3, 4(r31) /* 8024CFB4 00249F14 98 01 00 10 */ stb r0, 0x10(r1) lbl_8024CFB8: /* 8024CFB8 00249F18 88 01 00 10 */ lbz r0, 0x10(r1) /* 8024CFBC 00249F1C 28 00 00 00 */ cmplwi r0, 0 /* 8024CFC0 00249F20 41 82 01 90 */ beq lbl_8024D150 /* 8024CFC4 00249F24 80 61 00 14 */ lwz r3, 0x14(r1) /* 8024CFC8 00249F28 28 03 00 00 */ cmplwi r3, 0 /* 8024CFCC 00249F2C 41 82 01 84 */ beq lbl_8024D150 /* 8024CFD0 00249F30 41 82 00 5C */ beq lbl_8024D02C /* 8024CFD4 00249F34 80 C3 00 00 */ lwz r6, 0(r3) /* 8024CFD8 00249F38 38 80 00 00 */ li r4, 0 /* 8024CFDC 00249F3C 2C 06 00 00 */ cmpwi r6, 0 /* 8024CFE0 00249F40 40 81 00 44 */ ble lbl_8024D024 /* 8024CFE4 00249F44 2C 06 00 08 */ cmpwi r6, 8 /* 8024CFE8 00249F48 38 A6 FF F8 */ addi r5, r6, -8 /* 8024CFEC 00249F4C 40 81 00 20 */ ble lbl_8024D00C /* 8024CFF0 00249F50 38 05 00 07 */ addi r0, r5, 7 /* 8024CFF4 00249F54 54 00 E8 FE */ srwi r0, r0, 3 /* 8024CFF8 00249F58 7C 09 03 A6 */ mtctr r0 /* 8024CFFC 00249F5C 2C 05 00 00 */ cmpwi r5, 0 /* 8024D000 00249F60 40 81 00 0C */ ble lbl_8024D00C lbl_8024D004: /* 8024D004 00249F64 38 84 00 08 */ addi r4, r4, 8 /* 8024D008 00249F68 42 00 FF FC */ bdnz lbl_8024D004 lbl_8024D00C: /* 8024D00C 00249F6C 7C 04 30 50 */ subf r0, r4, r6 /* 8024D010 00249F70 7C 09 03 A6 */ mtctr r0 /* 8024D014 00249F74 7C 04 30 00 */ cmpw r4, r6 /* 8024D018 00249F78 40 80 00 0C */ bge lbl_8024D024 lbl_8024D01C: /* 8024D01C 00249F7C 38 84 00 01 */ addi r4, r4, 1 /* 8024D020 00249F80 42 00 FF FC */ bdnz lbl_8024D01C lbl_8024D024: /* 8024D024 00249F84 38 00 00 00 */ li r0, 0 /* 8024D028 00249F88 90 03 00 00 */ stw r0, 0(r3) lbl_8024D02C: /* 8024D02C 00249F8C 48 0C 89 05 */ bl Free__7CMemoryFPCv /* 8024D030 00249F90 48 00 01 20 */ b lbl_8024D150 lbl_8024D034: /* 8024D034 00249F94 38 01 00 08 */ addi r0, r1, 8 /* 8024D038 00249F98 38 80 00 00 */ li r4, 0 /* 8024D03C 00249F9C 7C 00 F8 40 */ cmplw r0, r31 /* 8024D040 00249FA0 98 81 00 08 */ stb r4, 8(r1) /* 8024D044 00249FA4 90 81 00 0C */ stw r4, 0xc(r1) /* 8024D048 00249FA8 41 82 00 90 */ beq lbl_8024D0D8 /* 8024D04C 00249FAC 88 1F 00 00 */ lbz r0, 0(r31) /* 8024D050 00249FB0 28 00 00 00 */ cmplwi r0, 0 /* 8024D054 00249FB4 41 82 00 6C */ beq lbl_8024D0C0 /* 8024D058 00249FB8 80 7F 00 04 */ lwz r3, 4(r31) /* 8024D05C 00249FBC 28 03 00 00 */ cmplwi r3, 0 /* 8024D060 00249FC0 41 82 00 60 */ beq lbl_8024D0C0 /* 8024D064 00249FC4 41 82 00 58 */ beq lbl_8024D0BC /* 8024D068 00249FC8 80 C3 00 00 */ lwz r6, 0(r3) /* 8024D06C 00249FCC 2C 06 00 00 */ cmpwi r6, 0 /* 8024D070 00249FD0 40 81 00 44 */ ble lbl_8024D0B4 /* 8024D074 00249FD4 2C 06 00 08 */ cmpwi r6, 8 /* 8024D078 00249FD8 38 A6 FF F8 */ addi r5, r6, -8 /* 8024D07C 00249FDC 40 81 00 20 */ ble lbl_8024D09C /* 8024D080 00249FE0 38 05 00 07 */ addi r0, r5, 7 /* 8024D084 00249FE4 54 00 E8 FE */ srwi r0, r0, 3 /* 8024D088 00249FE8 7C 09 03 A6 */ mtctr r0 /* 8024D08C 00249FEC 2C 05 00 00 */ cmpwi r5, 0 /* 8024D090 00249FF0 40 81 00 0C */ ble lbl_8024D09C lbl_8024D094: /* 8024D094 00249FF4 38 84 00 08 */ addi r4, r4, 8 /* 8024D098 00249FF8 42 00 FF FC */ bdnz lbl_8024D094 lbl_8024D09C: /* 8024D09C 00249FFC 7C 04 30 50 */ subf r0, r4, r6 /* 8024D0A0 0024A000 7C 09 03 A6 */ mtctr r0 /* 8024D0A4 0024A004 7C 04 30 00 */ cmpw r4, r6 /* 8024D0A8 0024A008 40 80 00 0C */ bge lbl_8024D0B4 lbl_8024D0AC: /* 8024D0AC 0024A00C 38 84 00 01 */ addi r4, r4, 1 /* 8024D0B0 0024A010 42 00 FF FC */ bdnz lbl_8024D0AC lbl_8024D0B4: /* 8024D0B4 0024A014 38 00 00 00 */ li r0, 0 /* 8024D0B8 0024A018 90 03 00 00 */ stw r0, 0(r3) lbl_8024D0BC: /* 8024D0BC 0024A01C 48 0C 88 75 */ bl Free__7CMemoryFPCv lbl_8024D0C0: /* 8024D0C0 0024A020 88 61 00 08 */ lbz r3, 8(r1) /* 8024D0C4 0024A024 38 00 00 00 */ li r0, 0 /* 8024D0C8 0024A028 98 7F 00 00 */ stb r3, 0(r31) /* 8024D0CC 0024A02C 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024D0D0 0024A030 90 7F 00 04 */ stw r3, 4(r31) /* 8024D0D4 0024A034 98 01 00 08 */ stb r0, 8(r1) lbl_8024D0D8: /* 8024D0D8 0024A038 88 01 00 08 */ lbz r0, 8(r1) /* 8024D0DC 0024A03C 28 00 00 00 */ cmplwi r0, 0 /* 8024D0E0 0024A040 41 82 00 70 */ beq lbl_8024D150 /* 8024D0E4 0024A044 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024D0E8 0024A048 28 03 00 00 */ cmplwi r3, 0 /* 8024D0EC 0024A04C 41 82 00 64 */ beq lbl_8024D150 /* 8024D0F0 0024A050 41 82 00 5C */ beq lbl_8024D14C /* 8024D0F4 0024A054 80 C3 00 00 */ lwz r6, 0(r3) /* 8024D0F8 0024A058 38 80 00 00 */ li r4, 0 /* 8024D0FC 0024A05C 2C 06 00 00 */ cmpwi r6, 0 /* 8024D100 0024A060 40 81 00 44 */ ble lbl_8024D144 /* 8024D104 0024A064 2C 06 00 08 */ cmpwi r6, 8 /* 8024D108 0024A068 38 A6 FF F8 */ addi r5, r6, -8 /* 8024D10C 0024A06C 40 81 00 20 */ ble lbl_8024D12C /* 8024D110 0024A070 38 05 00 07 */ addi r0, r5, 7 /* 8024D114 0024A074 54 00 E8 FE */ srwi r0, r0, 3 /* 8024D118 0024A078 7C 09 03 A6 */ mtctr r0 /* 8024D11C 0024A07C 2C 05 00 00 */ cmpwi r5, 0 /* 8024D120 0024A080 40 81 00 0C */ ble lbl_8024D12C lbl_8024D124: /* 8024D124 0024A084 38 84 00 08 */ addi r4, r4, 8 /* 8024D128 0024A088 42 00 FF FC */ bdnz lbl_8024D124 lbl_8024D12C: /* 8024D12C 0024A08C 7C 04 30 50 */ subf r0, r4, r6 /* 8024D130 0024A090 7C 09 03 A6 */ mtctr r0 /* 8024D134 0024A094 7C 04 30 00 */ cmpw r4, r6 /* 8024D138 0024A098 40 80 00 0C */ bge lbl_8024D144 lbl_8024D13C: /* 8024D13C 0024A09C 38 84 00 01 */ addi r4, r4, 1 /* 8024D140 0024A0A0 42 00 FF FC */ bdnz lbl_8024D13C lbl_8024D144: /* 8024D144 0024A0A4 38 00 00 00 */ li r0, 0 /* 8024D148 0024A0A8 90 03 00 00 */ stw r0, 0(r3) lbl_8024D14C: /* 8024D14C 0024A0AC 48 0C 87 E5 */ bl Free__7CMemoryFPCv lbl_8024D150: /* 8024D150 0024A0B0 3B BD 00 01 */ addi r29, r29, 1 /* 8024D154 0024A0B4 3B DE 00 01 */ addi r30, r30, 1 /* 8024D158 0024A0B8 2C 1D 00 03 */ cmpwi r29, 3 /* 8024D15C 0024A0BC 3B FF 00 08 */ addi r31, r31, 8 /* 8024D160 0024A0C0 41 80 FD 70 */ blt lbl_8024CED0 /* 8024D164 0024A0C4 88 1C 01 9D */ lbz r0, 0x19d(r28) /* 8024D168 0024A0C8 28 00 00 00 */ cmplwi r0, 0 /* 8024D16C 0024A0CC 41 82 00 0C */ beq lbl_8024D178 /* 8024D170 0024A0D0 7F 83 E3 78 */ mr r3, r28 /* 8024D174 0024A0D4 4B FF F7 0D */ bl ImportPersistentOptions__17CMemoryCardDriverFv lbl_8024D178: /* 8024D178 0024A0D8 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha /* 8024D17C 0024A0DC 38 61 00 20 */ addi r3, r1, 0x20 /* 8024D180 0024A0E0 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l /* 8024D184 0024A0E4 38 80 00 00 */ li r4, 0 /* 8024D188 0024A0E8 90 01 00 20 */ stw r0, 0x20(r1) /* 8024D18C 0024A0EC 48 0F 1F 21 */ bl __dt__12CInputStreamFv lbl_8024D190: /* 8024D190 0024A0F0 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 8024D194 0024A0F4 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 8024D198 0024A0F8 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 8024D19C 0024A0FC 83 A1 00 B4 */ lwz r29, 0xb4(r1) /* 8024D1A0 0024A100 83 81 00 B0 */ lwz r28, 0xb0(r1) /* 8024D1A4 0024A104 7C 08 03 A6 */ mtlr r0 /* 8024D1A8 0024A108 38 21 00 C0 */ addi r1, r1, 0xc0 /* 8024D1AC 0024A10C 4E 80 00 20 */ blr .global InitializeFileInfo__17CMemoryCardDriverFv InitializeFileInfo__17CMemoryCardDriverFv: /* 8024D1B0 0024A110 94 21 FE C0 */ stwu r1, -0x140(r1) /* 8024D1B4 0024A114 7C 08 02 A6 */ mflr r0 /* 8024D1B8 0024A118 90 01 01 44 */ stw r0, 0x144(r1) /* 8024D1BC 0024A11C 93 E1 01 3C */ stw r31, 0x13c(r1) /* 8024D1C0 0024A120 93 C1 01 38 */ stw r30, 0x138(r1) /* 8024D1C4 0024A124 7C 7E 1B 78 */ mr r30, r3 /* 8024D1C8 0024A128 93 A1 01 34 */ stw r29, 0x134(r1) /* 8024D1CC 0024A12C 83 E3 01 98 */ lwz r31, 0x198(r3) /* 8024D1D0 0024A130 4B FF F6 0D */ bl ExportPersistentOptions__17CMemoryCardDriverFv /* 8024D1D4 0024A134 3C 60 80 3D */ lis r3, lbl_803D47A8@ha /* 8024D1D8 0024A138 39 63 47 A8 */ addi r11, r3, lbl_803D47A8@l /* 8024D1DC 0024A13C 81 4B 00 00 */ lwz r10, 0(r11) /* 8024D1E0 0024A140 81 2B 00 04 */ lwz r9, 4(r11) /* 8024D1E4 0024A144 81 0B 00 08 */ lwz r8, 8(r11) /* 8024D1E8 0024A148 80 EB 00 0C */ lwz r7, 0xc(r11) /* 8024D1EC 0024A14C 80 CB 00 10 */ lwz r6, 0x10(r11) /* 8024D1F0 0024A150 80 AB 00 14 */ lwz r5, 0x14(r11) /* 8024D1F4 0024A154 80 8B 00 18 */ lwz r4, 0x18(r11) /* 8024D1F8 0024A158 80 6B 00 1C */ lwz r3, 0x1c(r11) /* 8024D1FC 0024A15C 88 0B 00 20 */ lbz r0, 0x20(r11) /* 8024D200 0024A160 91 41 00 7C */ stw r10, 0x7c(r1) /* 8024D204 0024A164 91 21 00 80 */ stw r9, 0x80(r1) /* 8024D208 0024A168 91 01 00 84 */ stw r8, 0x84(r1) /* 8024D20C 0024A16C 90 E1 00 88 */ stw r7, 0x88(r1) /* 8024D210 0024A170 90 C1 00 8C */ stw r6, 0x8c(r1) /* 8024D214 0024A174 90 A1 00 90 */ stw r5, 0x90(r1) /* 8024D218 0024A178 90 81 00 94 */ stw r4, 0x94(r1) /* 8024D21C 0024A17C 90 61 00 98 */ stw r3, 0x98(r1) /* 8024D220 0024A180 98 01 00 9C */ stb r0, 0x9c(r1) /* 8024D224 0024A184 48 13 81 85 */ bl OSGetTime /* 8024D228 0024A188 38 A1 00 54 */ addi r5, r1, 0x54 /* 8024D22C 0024A18C 48 13 83 F5 */ bl OSTicksToCalendarTime /* 8024D230 0024A190 3C 60 51 EC */ lis r3, 0x51EB851F@ha /* 8024D234 0024A194 80 E1 00 68 */ lwz r7, 0x68(r1) /* 8024D238 0024A198 38 03 85 1F */ addi r0, r3, 0x51EB851F@l /* 8024D23C 0024A19C 81 41 00 64 */ lwz r10, 0x64(r1) /* 8024D240 0024A1A0 7C 00 38 96 */ mulhw r0, r0, r7 /* 8024D244 0024A1A4 3C 80 80 3D */ lis r4, lbl_803D47CC@ha /* 8024D248 0024A1A8 80 C1 00 60 */ lwz r6, 0x60(r1) /* 8024D24C 0024A1AC 38 61 00 30 */ addi r3, r1, 0x30 /* 8024D250 0024A1B0 38 84 47 CC */ addi r4, r4, lbl_803D47CC@l /* 8024D254 0024A1B4 81 01 00 5C */ lwz r8, 0x5c(r1) /* 8024D258 0024A1B8 7C 00 2E 70 */ srawi r0, r0, 5 /* 8024D25C 0024A1BC 81 21 00 58 */ lwz r9, 0x58(r1) /* 8024D260 0024A1C0 54 05 0F FE */ srwi r5, r0, 0x1f /* 8024D264 0024A1C4 38 84 02 A8 */ addi r4, r4, 0x2a8 /* 8024D268 0024A1C8 7C 00 2A 14 */ add r0, r0, r5 /* 8024D26C 0024A1CC 38 AA 00 01 */ addi r5, r10, 1 /* 8024D270 0024A1D0 1C 00 00 64 */ mulli r0, r0, 0x64 /* 8024D274 0024A1D4 7C E0 38 50 */ subf r7, r0, r7 /* 8024D278 0024A1D8 4C C6 31 82 */ crclr 6 /* 8024D27C 0024A1DC 48 14 0A 61 */ bl sprintf /* 8024D280 0024A1E0 38 61 00 20 */ addi r3, r1, 0x20 /* 8024D284 0024A1E4 38 81 00 7C */ addi r4, r1, 0x7c /* 8024D288 0024A1E8 4B DB 7A 31 */ bl string_l__4rstlFPCc /* 8024D28C 0024A1EC 38 61 00 10 */ addi r3, r1, 0x10 /* 8024D290 0024A1F0 38 81 00 20 */ addi r4, r1, 0x20 /* 8024D294 0024A1F4 38 A1 00 30 */ addi r5, r1, 0x30 /* 8024D298 0024A1F8 4B FB EE 5D */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" /* 8024D29C 0024A1FC 7F E3 FB 78 */ mr r3, r31 /* 8024D2A0 0024A200 38 81 00 10 */ addi r4, r1, 0x10 /* 8024D2A4 0024A204 48 10 12 69 */ bl SetComment__13CCardFileInfoFv /* 8024D2A8 0024A208 38 61 00 10 */ addi r3, r1, 0x10 /* 8024D2AC 0024A20C 48 0F 08 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024D2B0 0024A210 38 61 00 20 */ addi r3, r1, 0x20 /* 8024D2B4 0024A214 48 0F 08 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024D2B8 0024A218 80 9E 00 04 */ lwz r4, 4(r30) /* 8024D2BC 0024A21C 7F E3 FB 78 */ mr r3, r31 /* 8024D2C0 0024A220 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13) /* 8024D2C4 0024A224 48 10 0E 45 */ bl LockBannerToken__13CCardFileInfoFiR11CSimplePool /* 8024D2C8 0024A228 80 9E 00 08 */ lwz r4, 8(r30) /* 8024D2CC 0024A22C 7F E3 FB 78 */ mr r3, r31 /* 8024D2D0 0024A230 80 CD A0 64 */ lwz r6, gpSimplePool@sda21(r13) /* 8024D2D4 0024A234 38 A0 00 02 */ li r5, 2 /* 8024D2D8 0024A238 48 10 0D 91 */ bl LockIconToken__13CCardFileInfoFiiR11CSimplePool /* 8024D2DC 0024A23C 80 7E 01 98 */ lwz r3, 0x198(r30) /* 8024D2E0 0024A240 38 80 0B BC */ li r4, 0xbbc /* 8024D2E4 0024A244 38 AD 97 11 */ addi r5, r13, lbl_805A82D1@sda21 /* 8024D2E8 0024A248 3B E3 00 F4 */ addi r31, r3, 0xf4 /* 8024D2EC 0024A24C 7F E3 FB 78 */ mr r3, r31 /* 8024D2F0 0024A250 4B F8 69 2D */ bl "resize__Q24rstl37vectorFiRCUc" /* 8024D2F4 0024A254 80 9F 00 0C */ lwz r4, 0xc(r31) /* 8024D2F8 0024A258 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8024D2FC 0024A25C 38 A0 0B BC */ li r5, 0xbbc /* 8024D300 0024A260 38 C0 00 01 */ li r6, 1 /* 8024D304 0024A264 38 E0 10 00 */ li r7, 0x1000 /* 8024D308 0024A268 48 0F 20 35 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi /* 8024D30C 0024A26C 38 61 00 08 */ addi r3, r1, 8 /* 8024D310 0024A270 38 80 00 00 */ li r4, 0 /* 8024D314 0024A274 4B FF F4 C1 */ bl __ct__11SSaveHeaderFi /* 8024D318 0024A278 80 1E 00 EC */ lwz r0, 0xec(r30) /* 8024D31C 0024A27C 3B FE 00 E8 */ addi r31, r30, 0xe8 /* 8024D320 0024A280 38 61 00 08 */ addi r3, r1, 8 /* 8024D324 0024A284 38 81 00 A0 */ addi r4, r1, 0xa0 /* 8024D328 0024A288 7C 00 00 34 */ cntlzw r0, r0 /* 8024D32C 0024A28C 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f /* 8024D330 0024A290 7C 00 00 34 */ cntlzw r0, r0 /* 8024D334 0024A294 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f /* 8024D338 0024A298 98 01 00 0C */ stb r0, 0xc(r1) /* 8024D33C 0024A29C 80 1E 00 F4 */ lwz r0, 0xf4(r30) /* 8024D340 0024A2A0 7C 00 00 34 */ cntlzw r0, r0 /* 8024D344 0024A2A4 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f /* 8024D348 0024A2A8 7C 00 00 34 */ cntlzw r0, r0 /* 8024D34C 0024A2AC 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f /* 8024D350 0024A2B0 98 01 00 0D */ stb r0, 0xd(r1) /* 8024D354 0024A2B4 80 BE 00 FC */ lwz r5, 0xfc(r30) /* 8024D358 0024A2B8 7C 05 00 D0 */ neg r0, r5 /* 8024D35C 0024A2BC 7C 00 2B 78 */ or r0, r0, r5 /* 8024D360 0024A2C0 54 00 0F FE */ srwi r0, r0, 0x1f /* 8024D364 0024A2C4 98 01 00 0E */ stb r0, 0xe(r1) /* 8024D368 0024A2C8 4B FF F3 39 */ bl DoPut__11SSaveHeaderFv /* 8024D36C 0024A2CC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8024D370 0024A2D0 48 0F 21 49 */ bl FlushShiftRegister__13COutputStreamFv /* 8024D374 0024A2D4 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8024D378 0024A2D8 38 9E 00 34 */ addi r4, r30, 0x34 /* 8024D37C 0024A2DC 38 A0 00 AE */ li r5, 0xae /* 8024D380 0024A2E0 48 0F 22 29 */ bl DoPut__13COutputStreamFPCvUl /* 8024D384 0024A2E4 7F FD FB 78 */ mr r29, r31 /* 8024D388 0024A2E8 48 00 00 1C */ b lbl_8024D3A4 lbl_8024D38C: /* 8024D38C 0024A2EC 80 7D 00 04 */ lwz r3, 4(r29) /* 8024D390 0024A2F0 28 03 00 00 */ cmplwi r3, 0 /* 8024D394 0024A2F4 41 82 00 0C */ beq lbl_8024D3A0 /* 8024D398 0024A2F8 38 81 00 A0 */ addi r4, r1, 0xa0 /* 8024D39C 0024A2FC 4B FF F0 75 */ bl DoPut__13SGameFileSlotFv lbl_8024D3A0: /* 8024D3A0 0024A300 3B BD 00 08 */ addi r29, r29, 8 lbl_8024D3A4: /* 8024D3A4 0024A304 80 1E 00 E4 */ lwz r0, 0xe4(r30) /* 8024D3A8 0024A308 54 00 18 38 */ slwi r0, r0, 3 /* 8024D3AC 0024A30C 7C 1F 02 14 */ add r0, r31, r0 /* 8024D3B0 0024A310 7C 1D 00 40 */ cmplw r29, r0 /* 8024D3B4 0024A314 40 82 FF D8 */ bne lbl_8024D38C /* 8024D3B8 0024A318 38 61 00 A0 */ addi r3, r1, 0xa0 /* 8024D3BC 0024A31C 38 80 FF FF */ li r4, -1 /* 8024D3C0 0024A320 48 0F 1F 01 */ bl __dt__16CMemoryStreamOutFv /* 8024D3C4 0024A324 80 01 01 44 */ lwz r0, 0x144(r1) /* 8024D3C8 0024A328 83 E1 01 3C */ lwz r31, 0x13c(r1) /* 8024D3CC 0024A32C 83 C1 01 38 */ lwz r30, 0x138(r1) /* 8024D3D0 0024A330 83 A1 01 34 */ lwz r29, 0x134(r1) /* 8024D3D4 0024A334 7C 08 03 A6 */ mtlr r0 /* 8024D3D8 0024A338 38 21 01 40 */ addi r1, r1, 0x140 /* 8024D3DC 0024A33C 4E 80 00 20 */ blr .global StartCardFormat__17CMemoryCardDriverFv StartCardFormat__17CMemoryCardDriverFv: /* 8024D3E0 0024A340 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024D3E4 0024A344 7C 08 02 A6 */ mflr r0 /* 8024D3E8 0024A348 90 01 00 14 */ stw r0, 0x14(r1) /* 8024D3EC 0024A34C 38 00 00 00 */ li r0, 0 /* 8024D3F0 0024A350 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024D3F4 0024A354 7C 7F 1B 78 */ mr r31, r3 /* 8024D3F8 0024A358 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D3FC 0024A35C 38 00 00 25 */ li r0, 0x25 /* 8024D400 0024A360 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D404 0024A364 80 63 00 00 */ lwz r3, 0(r3) /* 8024D408 0024A368 48 10 0F 41 */ bl FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort /* 8024D40C 0024A36C 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D410 0024A370 41 82 00 0C */ beq lbl_8024D41C /* 8024D414 0024A374 7F E3 FB 78 */ mr r3, r31 /* 8024D418 0024A378 48 00 0A D1 */ bl UpdateCardFormat__17CMemoryCardDriverFv lbl_8024D41C: /* 8024D41C 0024A37C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024D420 0024A380 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024D424 0024A384 7C 08 03 A6 */ mtlr r0 /* 8024D428 0024A388 38 21 00 10 */ addi r1, r1, 0x10 /* 8024D42C 0024A38C 4E 80 00 20 */ blr .global StartFileDeleteAltTransactional__17CMemoryCardDriverFv StartFileDeleteAltTransactional__17CMemoryCardDriverFv: /* 8024D430 0024A390 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024D434 0024A394 7C 08 02 A6 */ mflr r0 /* 8024D438 0024A398 38 82 B8 B0 */ addi r4, r2, lbl_805AD5D0@sda21 /* 8024D43C 0024A39C 90 01 00 24 */ stw r0, 0x24(r1) /* 8024D440 0024A3A0 38 00 00 00 */ li r0, 0 /* 8024D444 0024A3A4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024D448 0024A3A8 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024D44C 0024A3AC 7C 7E 1B 78 */ mr r30, r3 /* 8024D450 0024A3B0 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D454 0024A3B4 38 00 00 23 */ li r0, 0x23 /* 8024D458 0024A3B8 38 61 00 08 */ addi r3, r1, 8 /* 8024D45C 0024A3BC 90 1E 00 10 */ stw r0, 0x10(r30) /* 8024D460 0024A3C0 80 1E 01 94 */ lwz r0, 0x194(r30) /* 8024D464 0024A3C4 7C 00 00 34 */ cntlzw r0, r0 /* 8024D468 0024A3C8 54 00 E8 FA */ rlwinm r0, r0, 0x1d, 3, 0x1d /* 8024D46C 0024A3CC 7C 84 00 2E */ lwzx r4, r4, r0 /* 8024D470 0024A3D0 4B DB 78 49 */ bl string_l__4rstlFPCc /* 8024D474 0024A3D4 80 7E 00 00 */ lwz r3, 0(r30) /* 8024D478 0024A3D8 38 81 00 08 */ addi r4, r1, 8 /* 8024D47C 0024A3DC 48 10 0B 35 */ bl DeleteFile__14CMemoryCardSysFiPCc /* 8024D480 0024A3E0 7C 60 1B 78 */ mr r0, r3 /* 8024D484 0024A3E4 38 61 00 08 */ addi r3, r1, 8 /* 8024D488 0024A3E8 7C 1F 03 78 */ mr r31, r0 /* 8024D48C 0024A3EC 48 0F 06 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024D490 0024A3F0 2C 1F 00 00 */ cmpwi r31, 0 /* 8024D494 0024A3F4 41 82 00 10 */ beq lbl_8024D4A4 /* 8024D498 0024A3F8 7F C3 F3 78 */ mr r3, r30 /* 8024D49C 0024A3FC 7F E4 FB 78 */ mr r4, r31 /* 8024D4A0 0024A400 48 00 0A 9D */ bl UpdateFileAltDeleteTransactional__17CMemoryCardDriverFv lbl_8024D4A4: /* 8024D4A4 0024A404 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024D4A8 0024A408 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024D4AC 0024A40C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024D4B0 0024A410 7C 08 03 A6 */ mtlr r0 /* 8024D4B4 0024A414 38 21 00 20 */ addi r1, r1, 0x20 /* 8024D4B8 0024A418 4E 80 00 20 */ blr .global StartFileWriteTransactional__17CMemoryCardDriverFv StartFileWriteTransactional__17CMemoryCardDriverFv: /* 8024D4BC 0024A41C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024D4C0 0024A420 7C 08 02 A6 */ mflr r0 /* 8024D4C4 0024A424 90 01 00 14 */ stw r0, 0x14(r1) /* 8024D4C8 0024A428 38 00 00 00 */ li r0, 0 /* 8024D4CC 0024A42C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024D4D0 0024A430 7C 7F 1B 78 */ mr r31, r3 /* 8024D4D4 0024A434 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D4D8 0024A438 38 00 00 22 */ li r0, 0x22 /* 8024D4DC 0024A43C 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D4E0 0024A440 80 63 01 98 */ lwz r3, 0x198(r3) /* 8024D4E4 0024A444 48 10 09 61 */ bl Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl /* 8024D4E8 0024A448 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D4EC 0024A44C 41 82 00 0C */ beq lbl_8024D4F8 /* 8024D4F0 0024A450 7F E3 FB 78 */ mr r3, r31 /* 8024D4F4 0024A454 48 00 0B ED */ bl UpdateFileWriteTransactional__17CMemoryCardDriverFv lbl_8024D4F8: /* 8024D4F8 0024A458 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024D4FC 0024A45C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024D500 0024A460 7C 08 03 A6 */ mtlr r0 /* 8024D504 0024A464 38 21 00 10 */ addi r1, r1, 0x10 /* 8024D508 0024A468 4E 80 00 20 */ blr .global StartFileCreateTransactional__17CMemoryCardDriverFv StartFileCreateTransactional__17CMemoryCardDriverFv: /* 8024D50C 0024A46C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024D510 0024A470 7C 08 02 A6 */ mflr r0 /* 8024D514 0024A474 90 01 00 34 */ stw r0, 0x34(r1) /* 8024D518 0024A478 38 00 00 00 */ li r0, 0 /* 8024D51C 0024A47C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024D520 0024A480 7C 7F 1B 78 */ mr r31, r3 /* 8024D524 0024A484 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024D528 0024A488 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024D52C 0024A48C 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D530 0024A490 38 00 00 21 */ li r0, 0x21 /* 8024D534 0024A494 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D538 0024A498 48 00 16 B9 */ bl ClearFileInfo__17CMemoryCardDriverFv /* 8024D53C 0024A49C 80 1F 00 18 */ lwz r0, 0x18(r31) /* 8024D540 0024A4A0 28 00 20 00 */ cmplwi r0, 0x2000 /* 8024D544 0024A4A4 41 80 00 10 */ blt lbl_8024D554 /* 8024D548 0024A4A8 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 8024D54C 0024A4AC 28 00 00 01 */ cmplwi r0, 1 /* 8024D550 0024A4B0 40 80 00 18 */ bge lbl_8024D568 lbl_8024D554: /* 8024D554 0024A4B4 38 60 00 14 */ li r3, 0x14 /* 8024D558 0024A4B8 38 00 00 05 */ li r0, 5 /* 8024D55C 0024A4BC 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024D560 0024A4C0 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024D564 0024A4C4 48 00 00 A4 */ b lbl_8024D608 lbl_8024D568: /* 8024D568 0024A4C8 80 1F 01 94 */ lwz r0, 0x194(r31) /* 8024D56C 0024A4CC 3C 60 80 3D */ lis r3, lbl_803D47CC@ha /* 8024D570 0024A4D0 38 83 47 CC */ addi r4, r3, lbl_803D47CC@l /* 8024D574 0024A4D4 3B A0 00 00 */ li r29, 0 /* 8024D578 0024A4D8 7C 00 00 34 */ cntlzw r0, r0 /* 8024D57C 0024A4DC 38 60 01 14 */ li r3, 0x114 /* 8024D580 0024A4E0 54 00 D9 7E */ srwi r0, r0, 5 /* 8024D584 0024A4E4 38 84 02 A1 */ addi r4, r4, 0x2a1 /* 8024D588 0024A4E8 90 1F 01 94 */ stw r0, 0x194(r31) /* 8024D58C 0024A4EC 38 A0 00 00 */ li r5, 0 /* 8024D590 0024A4F0 48 0C 82 DD */ bl __nw__FUlPCcPCc /* 8024D594 0024A4F4 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024D598 0024A4F8 41 82 00 34 */ beq lbl_8024D5CC /* 8024D59C 0024A4FC 80 1F 01 94 */ lwz r0, 0x194(r31) /* 8024D5A0 0024A500 38 82 B8 B0 */ addi r4, r2, lbl_805AD5D0@sda21 /* 8024D5A4 0024A504 38 61 00 08 */ addi r3, r1, 8 /* 8024D5A8 0024A508 54 00 10 3A */ slwi r0, r0, 2 /* 8024D5AC 0024A50C 7C 84 00 2E */ lwzx r4, r4, r0 /* 8024D5B0 0024A510 4B DB 77 09 */ bl string_l__4rstlFPCc /* 8024D5B4 0024A514 80 9F 00 00 */ lwz r4, 0(r31) /* 8024D5B8 0024A518 7F C3 F3 78 */ mr r3, r30 /* 8024D5BC 0024A51C 38 A1 00 08 */ addi r5, r1, 8 /* 8024D5C0 0024A520 3B A0 00 01 */ li r29, 1 /* 8024D5C4 0024A524 48 10 0C 35 */ bl __ct__13CCardFileInfoFRCQ24rstl6string /* 8024D5C8 0024A528 7C 7E 1B 78 */ mr r30, r3 lbl_8024D5CC: /* 8024D5CC 0024A52C 7F C4 F3 78 */ mr r4, r30 /* 8024D5D0 0024A530 38 7F 01 98 */ addi r3, r31, 0x198 /* 8024D5D4 0024A534 48 00 00 51 */ bl sub_8024d624 /* 8024D5D8 0024A538 7F A0 07 75 */ extsb. r0, r29 /* 8024D5DC 0024A53C 41 82 00 0C */ beq lbl_8024D5E8 /* 8024D5E0 0024A540 38 61 00 08 */ addi r3, r1, 8 /* 8024D5E4 0024A544 48 0F 04 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8024D5E8: /* 8024D5E8 0024A548 7F E3 FB 78 */ mr r3, r31 /* 8024D5EC 0024A54C 4B FF FB C5 */ bl InitializeFileInfo__17CMemoryCardDriverFv /* 8024D5F0 0024A550 80 7F 01 98 */ lwz r3, 0x198(r31) /* 8024D5F4 0024A554 48 10 09 E5 */ bl "CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo" /* 8024D5F8 0024A558 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D5FC 0024A55C 41 82 00 0C */ beq lbl_8024D608 /* 8024D600 0024A560 7F E3 FB 78 */ mr r3, r31 /* 8024D604 0024A564 48 00 0B 85 */ bl UpdateFileCreateTransactional__17CMemoryCardDriverFv lbl_8024D608: /* 8024D608 0024A568 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024D60C 0024A56C 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024D610 0024A570 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024D614 0024A574 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024D618 0024A578 7C 08 03 A6 */ mtlr r0 /* 8024D61C 0024A57C 38 21 00 30 */ addi r1, r1, 0x30 /* 8024D620 0024A580 4E 80 00 20 */ blr .global sub_8024d624 sub_8024d624: /* 8024D624 0024A584 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024D628 0024A588 7C 08 02 A6 */ mflr r0 /* 8024D62C 0024A58C 90 01 00 14 */ stw r0, 0x14(r1) /* 8024D630 0024A590 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024D634 0024A594 7C 9F 23 78 */ mr r31, r4 /* 8024D638 0024A598 38 80 00 01 */ li r4, 1 /* 8024D63C 0024A59C 93 C1 00 08 */ stw r30, 8(r1) /* 8024D640 0024A5A0 7C 7E 1B 78 */ mr r30, r3 /* 8024D644 0024A5A4 80 63 00 00 */ lwz r3, 0(r3) /* 8024D648 0024A5A8 48 00 00 25 */ bl __dt__13CCardFileInfoFv /* 8024D64C 0024A5AC 93 FE 00 00 */ stw r31, 0(r30) /* 8024D650 0024A5B0 7F C3 F3 78 */ mr r3, r30 /* 8024D654 0024A5B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024D658 0024A5B8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024D65C 0024A5BC 83 C1 00 08 */ lwz r30, 8(r1) /* 8024D660 0024A5C0 7C 08 03 A6 */ mtlr r0 /* 8024D664 0024A5C4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024D668 0024A5C8 4E 80 00 20 */ blr .global __dt__13CCardFileInfoFv __dt__13CCardFileInfoFv: /* 8024D66C 0024A5CC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8024D670 0024A5D0 7C 08 02 A6 */ mflr r0 /* 8024D674 0024A5D4 90 01 00 44 */ stw r0, 0x44(r1) /* 8024D678 0024A5D8 93 E1 00 3C */ stw r31, 0x3c(r1) /* 8024D67C 0024A5DC 7C 9F 23 78 */ mr r31, r4 /* 8024D680 0024A5E0 93 C1 00 38 */ stw r30, 0x38(r1) /* 8024D684 0024A5E4 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024D688 0024A5E8 93 A1 00 34 */ stw r29, 0x34(r1) /* 8024D68C 0024A5EC 93 81 00 30 */ stw r28, 0x30(r1) /* 8024D690 0024A5F0 41 82 01 3C */ beq lbl_8024D7CC /* 8024D694 0024A5F4 34 1E 01 04 */ addic. r0, r30, 0x104 /* 8024D698 0024A5F8 41 82 00 38 */ beq lbl_8024D6D0 /* 8024D69C 0024A5FC 80 7E 01 10 */ lwz r3, 0x110(r30) /* 8024D6A0 0024A600 80 1E 01 08 */ lwz r0, 0x108(r30) /* 8024D6A4 0024A604 90 61 00 1C */ stw r3, 0x1c(r1) /* 8024D6A8 0024A608 7C 83 02 14 */ add r4, r3, r0 /* 8024D6AC 0024A60C 7C 03 20 50 */ subf r0, r3, r4 /* 8024D6B0 0024A610 90 81 00 24 */ stw r4, 0x24(r1) /* 8024D6B4 0024A614 90 81 00 20 */ stw r4, 0x20(r1) /* 8024D6B8 0024A618 90 61 00 18 */ stw r3, 0x18(r1) /* 8024D6BC 0024A61C 7C 09 03 A6 */ mtctr r0 /* 8024D6C0 0024A620 7C 03 20 40 */ cmplw r3, r4 /* 8024D6C4 0024A624 41 82 00 08 */ beq lbl_8024D6CC lbl_8024D6C8: /* 8024D6C8 0024A628 42 00 00 00 */ bdnz lbl_8024D6C8 lbl_8024D6CC: /* 8024D6CC 0024A62C 48 0C 82 65 */ bl Free__7CMemoryFPCv lbl_8024D6D0: /* 8024D6D0 0024A630 34 1E 00 F4 */ addic. r0, r30, 0xf4 /* 8024D6D4 0024A634 41 82 00 40 */ beq lbl_8024D714 /* 8024D6D8 0024A638 80 7E 01 00 */ lwz r3, 0x100(r30) /* 8024D6DC 0024A63C 80 1E 00 F8 */ lwz r0, 0xf8(r30) /* 8024D6E0 0024A640 90 61 00 0C */ stw r3, 0xc(r1) /* 8024D6E4 0024A644 7C 83 02 14 */ add r4, r3, r0 /* 8024D6E8 0024A648 7C 03 20 50 */ subf r0, r3, r4 /* 8024D6EC 0024A64C 90 81 00 14 */ stw r4, 0x14(r1) /* 8024D6F0 0024A650 90 81 00 10 */ stw r4, 0x10(r1) /* 8024D6F4 0024A654 90 61 00 08 */ stw r3, 8(r1) /* 8024D6F8 0024A658 7C 09 03 A6 */ mtctr r0 /* 8024D6FC 0024A65C 7C 03 20 40 */ cmplw r3, r4 /* 8024D700 0024A660 41 82 00 08 */ beq lbl_8024D708 lbl_8024D704: /* 8024D704 0024A664 42 00 00 00 */ bdnz lbl_8024D704 lbl_8024D708: /* 8024D708 0024A668 28 03 00 00 */ cmplwi r3, 0 /* 8024D70C 0024A66C 41 82 00 08 */ beq lbl_8024D714 /* 8024D710 0024A670 48 0C 82 21 */ bl Free__7CMemoryFPCv lbl_8024D714: /* 8024D714 0024A674 34 1E 00 50 */ addic. r0, r30, 0x50 /* 8024D718 0024A678 41 82 00 50 */ beq lbl_8024D768 /* 8024D71C 0024A67C 3B 9E 00 54 */ addi r28, r30, 0x54 /* 8024D720 0024A680 3B A0 00 00 */ li r29, 0 /* 8024D724 0024A684 48 00 00 30 */ b lbl_8024D754 lbl_8024D728: /* 8024D728 0024A688 28 1C 00 00 */ cmplwi r28, 0 /* 8024D72C 0024A68C 41 82 00 20 */ beq lbl_8024D74C /* 8024D730 0024A690 34 1C 00 08 */ addic. r0, r28, 8 /* 8024D734 0024A694 41 82 00 18 */ beq lbl_8024D74C /* 8024D738 0024A698 34 1C 00 08 */ addic. r0, r28, 8 /* 8024D73C 0024A69C 41 82 00 10 */ beq lbl_8024D74C /* 8024D740 0024A6A0 38 7C 00 08 */ addi r3, r28, 8 /* 8024D744 0024A6A4 38 80 00 00 */ li r4, 0 /* 8024D748 0024A6A8 48 0F 36 F9 */ bl __dt__6CTokenFv lbl_8024D74C: /* 8024D74C 0024A6AC 3B 9C 00 14 */ addi r28, r28, 0x14 /* 8024D750 0024A6B0 3B BD 00 01 */ addi r29, r29, 1 lbl_8024D754: /* 8024D754 0024A6B4 80 1E 00 50 */ lwz r0, 0x50(r30) /* 8024D758 0024A6B8 7C 1D 00 00 */ cmpw r29, r0 /* 8024D75C 0024A6BC 41 80 FF CC */ blt lbl_8024D728 /* 8024D760 0024A6C0 38 00 00 00 */ li r0, 0 /* 8024D764 0024A6C4 90 1E 00 50 */ stw r0, 0x50(r30) lbl_8024D768: /* 8024D768 0024A6C8 34 1E 00 40 */ addic. r0, r30, 0x40 /* 8024D76C 0024A6CC 41 82 00 30 */ beq lbl_8024D79C /* 8024D770 0024A6D0 88 1E 00 4C */ lbz r0, 0x4c(r30) /* 8024D774 0024A6D4 28 00 00 00 */ cmplwi r0, 0 /* 8024D778 0024A6D8 41 82 00 1C */ beq lbl_8024D794 /* 8024D77C 0024A6DC 34 7E 00 40 */ addic. r3, r30, 0x40 /* 8024D780 0024A6E0 41 82 00 14 */ beq lbl_8024D794 /* 8024D784 0024A6E4 28 03 00 00 */ cmplwi r3, 0 /* 8024D788 0024A6E8 41 82 00 0C */ beq lbl_8024D794 /* 8024D78C 0024A6EC 38 80 00 00 */ li r4, 0 /* 8024D790 0024A6F0 48 0F 36 B1 */ bl __dt__6CTokenFv lbl_8024D794: /* 8024D794 0024A6F4 38 00 00 00 */ li r0, 0 /* 8024D798 0024A6F8 98 1E 00 4C */ stb r0, 0x4c(r30) lbl_8024D79C: /* 8024D79C 0024A6FC 34 1E 00 28 */ addic. r0, r30, 0x28 /* 8024D7A0 0024A700 41 82 00 0C */ beq lbl_8024D7AC /* 8024D7A4 0024A704 38 7E 00 28 */ addi r3, r30, 0x28 /* 8024D7A8 0024A708 48 0F 03 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8024D7AC: /* 8024D7AC 0024A70C 34 1E 00 18 */ addic. r0, r30, 0x18 /* 8024D7B0 0024A710 41 82 00 0C */ beq lbl_8024D7BC /* 8024D7B4 0024A714 38 7E 00 18 */ addi r3, r30, 0x18 /* 8024D7B8 0024A718 48 0F 03 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8024D7BC: /* 8024D7BC 0024A71C 7F E0 07 35 */ extsh. r0, r31 /* 8024D7C0 0024A720 40 81 00 0C */ ble lbl_8024D7CC /* 8024D7C4 0024A724 7F C3 F3 78 */ mr r3, r30 /* 8024D7C8 0024A728 48 0C 81 69 */ bl Free__7CMemoryFPCv lbl_8024D7CC: /* 8024D7CC 0024A72C 80 01 00 44 */ lwz r0, 0x44(r1) /* 8024D7D0 0024A730 7F C3 F3 78 */ mr r3, r30 /* 8024D7D4 0024A734 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 8024D7D8 0024A738 83 C1 00 38 */ lwz r30, 0x38(r1) /* 8024D7DC 0024A73C 83 A1 00 34 */ lwz r29, 0x34(r1) /* 8024D7E0 0024A740 83 81 00 30 */ lwz r28, 0x30(r1) /* 8024D7E4 0024A744 7C 08 03 A6 */ mtlr r0 /* 8024D7E8 0024A748 38 21 00 40 */ addi r1, r1, 0x40 /* 8024D7EC 0024A74C 4E 80 00 20 */ blr .global StartFileWrite__17CMemoryCardDriverFv StartFileWrite__17CMemoryCardDriverFv: /* 8024D7F0 0024A750 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024D7F4 0024A754 7C 08 02 A6 */ mflr r0 /* 8024D7F8 0024A758 90 01 00 14 */ stw r0, 0x14(r1) /* 8024D7FC 0024A75C 38 00 00 00 */ li r0, 0 /* 8024D800 0024A760 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024D804 0024A764 7C 7F 1B 78 */ mr r31, r3 /* 8024D808 0024A768 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D80C 0024A76C 38 00 00 20 */ li r0, 0x20 /* 8024D810 0024A770 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D814 0024A774 80 63 01 98 */ lwz r3, 0x198(r3) /* 8024D818 0024A778 48 10 06 2D */ bl Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl /* 8024D81C 0024A77C 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D820 0024A780 41 82 00 0C */ beq lbl_8024D82C /* 8024D824 0024A784 7F E3 FB 78 */ mr r3, r31 /* 8024D828 0024A788 48 00 09 9D */ bl UpdateFileWrite__17CMemoryCardDriverFv lbl_8024D82C: /* 8024D82C 0024A78C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024D830 0024A790 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024D834 0024A794 7C 08 03 A6 */ mtlr r0 /* 8024D838 0024A798 38 21 00 10 */ addi r1, r1, 0x10 /* 8024D83C 0024A79C 4E 80 00 20 */ blr .global StartFileCreate__17CMemoryCardDriverFv StartFileCreate__17CMemoryCardDriverFv: /* 8024D840 0024A7A0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024D844 0024A7A4 7C 08 02 A6 */ mflr r0 /* 8024D848 0024A7A8 38 80 00 00 */ li r4, 0 /* 8024D84C 0024A7AC 90 01 00 34 */ stw r0, 0x34(r1) /* 8024D850 0024A7B0 38 00 00 1F */ li r0, 0x1f /* 8024D854 0024A7B4 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024D858 0024A7B8 7C 7F 1B 78 */ mr r31, r3 /* 8024D85C 0024A7BC 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024D860 0024A7C0 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024D864 0024A7C4 90 83 00 14 */ stw r4, 0x14(r3) /* 8024D868 0024A7C8 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D86C 0024A7CC 80 03 00 18 */ lwz r0, 0x18(r3) /* 8024D870 0024A7D0 28 00 40 00 */ cmplwi r0, 0x4000 /* 8024D874 0024A7D4 41 80 00 10 */ blt lbl_8024D884 /* 8024D878 0024A7D8 80 1F 00 1C */ lwz r0, 0x1c(r31) /* 8024D87C 0024A7DC 28 00 00 02 */ cmplwi r0, 2 /* 8024D880 0024A7E0 40 80 00 18 */ bge lbl_8024D898 lbl_8024D884: /* 8024D884 0024A7E4 38 60 00 12 */ li r3, 0x12 /* 8024D888 0024A7E8 38 00 00 05 */ li r0, 5 /* 8024D88C 0024A7EC 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024D890 0024A7F0 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024D894 0024A7F4 48 00 00 98 */ b lbl_8024D92C lbl_8024D898: /* 8024D898 0024A7F8 3C 60 80 3D */ lis r3, lbl_803D47CC@ha /* 8024D89C 0024A7FC 90 9F 01 94 */ stw r4, 0x194(r31) /* 8024D8A0 0024A800 38 63 47 CC */ addi r3, r3, lbl_803D47CC@l /* 8024D8A4 0024A804 3B A0 00 00 */ li r29, 0 /* 8024D8A8 0024A808 38 83 02 A1 */ addi r4, r3, 0x2a1 /* 8024D8AC 0024A80C 38 60 01 14 */ li r3, 0x114 /* 8024D8B0 0024A810 38 A0 00 00 */ li r5, 0 /* 8024D8B4 0024A814 48 0C 7F B9 */ bl __nw__FUlPCcPCc /* 8024D8B8 0024A818 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024D8BC 0024A81C 41 82 00 34 */ beq lbl_8024D8F0 /* 8024D8C0 0024A820 80 1F 01 94 */ lwz r0, 0x194(r31) /* 8024D8C4 0024A824 38 82 B8 B0 */ addi r4, r2, lbl_805AD5D0@sda21 /* 8024D8C8 0024A828 38 61 00 08 */ addi r3, r1, 8 /* 8024D8CC 0024A82C 54 00 10 3A */ slwi r0, r0, 2 /* 8024D8D0 0024A830 7C 84 00 2E */ lwzx r4, r4, r0 /* 8024D8D4 0024A834 4B DB 73 E5 */ bl string_l__4rstlFPCc /* 8024D8D8 0024A838 80 9F 00 00 */ lwz r4, 0(r31) /* 8024D8DC 0024A83C 7F C3 F3 78 */ mr r3, r30 /* 8024D8E0 0024A840 38 A1 00 08 */ addi r5, r1, 8 /* 8024D8E4 0024A844 3B A0 00 01 */ li r29, 1 /* 8024D8E8 0024A848 48 10 09 11 */ bl __ct__13CCardFileInfoFRCQ24rstl6string /* 8024D8EC 0024A84C 7C 7E 1B 78 */ mr r30, r3 lbl_8024D8F0: /* 8024D8F0 0024A850 7F C4 F3 78 */ mr r4, r30 /* 8024D8F4 0024A854 38 7F 01 98 */ addi r3, r31, 0x198 /* 8024D8F8 0024A858 4B FF FD 2D */ bl sub_8024d624 /* 8024D8FC 0024A85C 7F A0 07 75 */ extsb. r0, r29 /* 8024D900 0024A860 41 82 00 0C */ beq lbl_8024D90C /* 8024D904 0024A864 38 61 00 08 */ addi r3, r1, 8 /* 8024D908 0024A868 48 0F 01 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8024D90C: /* 8024D90C 0024A86C 7F E3 FB 78 */ mr r3, r31 /* 8024D910 0024A870 4B FF F8 A1 */ bl InitializeFileInfo__17CMemoryCardDriverFv /* 8024D914 0024A874 80 7F 01 98 */ lwz r3, 0x198(r31) /* 8024D918 0024A878 48 10 06 C1 */ bl "CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo" /* 8024D91C 0024A87C 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D920 0024A880 41 82 00 0C */ beq lbl_8024D92C /* 8024D924 0024A884 7F E3 FB 78 */ mr r3, r31 /* 8024D928 0024A888 48 00 09 39 */ bl UpdateFileCreate__17CMemoryCardDriverFv lbl_8024D92C: /* 8024D92C 0024A88C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024D930 0024A890 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024D934 0024A894 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024D938 0024A898 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024D93C 0024A89C 7C 08 03 A6 */ mtlr r0 /* 8024D940 0024A8A0 38 21 00 30 */ addi r1, r1, 0x30 /* 8024D944 0024A8A4 4E 80 00 20 */ blr .global StartFileRead__17CMemoryCardDriverFv StartFileRead__17CMemoryCardDriverFv: /* 8024D948 0024A8A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024D94C 0024A8AC 7C 08 02 A6 */ mflr r0 /* 8024D950 0024A8B0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024D954 0024A8B4 38 00 00 00 */ li r0, 0 /* 8024D958 0024A8B8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024D95C 0024A8BC 93 C1 00 08 */ stw r30, 8(r1) /* 8024D960 0024A8C0 7C 7E 1B 78 */ mr r30, r3 /* 8024D964 0024A8C4 3B FE 01 04 */ addi r31, r30, 0x104 /* 8024D968 0024A8C8 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D96C 0024A8CC 38 00 00 1D */ li r0, 0x1d /* 8024D970 0024A8D0 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D974 0024A8D4 80 03 01 94 */ lwz r0, 0x194(r3) /* 8024D978 0024A8D8 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8024D97C 0024A8DC 7C 7F 02 14 */ add r3, r31, r0 /* 8024D980 0024A8E0 38 63 00 04 */ addi r3, r3, 4 /* 8024D984 0024A8E4 48 10 06 AD */ bl "OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo" /* 8024D988 0024A8E8 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D98C 0024A8EC 41 82 00 10 */ beq lbl_8024D99C /* 8024D990 0024A8F0 7F C3 F3 78 */ mr r3, r30 /* 8024D994 0024A8F4 48 00 09 F9 */ bl UpdateFileRead__17CMemoryCardDriverFv /* 8024D998 0024A8F8 48 00 00 28 */ b lbl_8024D9C0 lbl_8024D99C: /* 8024D99C 0024A8FC 80 1E 01 94 */ lwz r0, 0x194(r30) /* 8024D9A0 0024A900 1C 60 00 48 */ mulli r3, r0, 0x48 /* 8024D9A4 0024A904 38 63 00 04 */ addi r3, r3, 4 /* 8024D9A8 0024A908 7C 7F 1A 14 */ add r3, r31, r3 /* 8024D9AC 0024A90C 48 0F FF 45 */ bl StartRead__19SMemoryCardFileInfoFv /* 8024D9B0 0024A910 7C 64 1B 79 */ or. r4, r3, r3 /* 8024D9B4 0024A914 41 82 00 0C */ beq lbl_8024D9C0 /* 8024D9B8 0024A918 7F C3 F3 78 */ mr r3, r30 /* 8024D9BC 0024A91C 48 00 09 D1 */ bl UpdateFileRead__17CMemoryCardDriverFv lbl_8024D9C0: /* 8024D9C0 0024A920 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024D9C4 0024A924 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024D9C8 0024A928 83 C1 00 08 */ lwz r30, 8(r1) /* 8024D9CC 0024A92C 7C 08 03 A6 */ mtlr r0 /* 8024D9D0 0024A930 38 21 00 10 */ addi r1, r1, 0x10 /* 8024D9D4 0024A934 4E 80 00 20 */ blr .global StartFileDeleteAlt__17CMemoryCardDriverFv StartFileDeleteAlt__17CMemoryCardDriverFv: /* 8024D9D8 0024A938 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024D9DC 0024A93C 7C 08 02 A6 */ mflr r0 /* 8024D9E0 0024A940 90 01 00 14 */ stw r0, 0x14(r1) /* 8024D9E4 0024A944 38 00 00 00 */ li r0, 0 /* 8024D9E8 0024A948 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024D9EC 0024A94C 7C 7F 1B 78 */ mr r31, r3 /* 8024D9F0 0024A950 90 03 00 14 */ stw r0, 0x14(r3) /* 8024D9F4 0024A954 38 00 00 1E */ li r0, 0x1e /* 8024D9F8 0024A958 90 03 00 10 */ stw r0, 0x10(r3) /* 8024D9FC 0024A95C 80 03 01 94 */ lwz r0, 0x194(r3) /* 8024DA00 0024A960 7C 00 00 34 */ cntlzw r0, r0 /* 8024DA04 0024A964 54 00 D9 7E */ srwi r0, r0, 5 /* 8024DA08 0024A968 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8024DA0C 0024A96C 7C 7F 02 14 */ add r3, r31, r0 /* 8024DA10 0024A970 38 63 01 08 */ addi r3, r3, 0x108 /* 8024DA14 0024A974 48 10 10 91 */ bl GetFileNo__19SMemoryCardFileInfoFv /* 8024DA18 0024A978 7C 64 1B 78 */ mr r4, r3 /* 8024DA1C 0024A97C 80 7F 00 00 */ lwz r3, 0(r31) /* 8024DA20 0024A980 48 10 05 6D */ bl FastDeleteFile__14CMemoryCardSysFii /* 8024DA24 0024A984 7C 64 1B 79 */ or. r4, r3, r3 /* 8024DA28 0024A988 41 82 00 0C */ beq lbl_8024DA34 /* 8024DA2C 0024A98C 7F E3 FB 78 */ mr r3, r31 /* 8024DA30 0024A990 48 00 09 05 */ bl UpdateFileDeleteAlt__17CMemoryCardDriverFv lbl_8024DA34: /* 8024DA34 0024A994 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DA38 0024A998 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024DA3C 0024A99C 7C 08 03 A6 */ mtlr r0 /* 8024DA40 0024A9A0 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DA44 0024A9A4 4E 80 00 20 */ blr .global StartFileDeleteBad__17CMemoryCardDriverFv StartFileDeleteBad__17CMemoryCardDriverFv: /* 8024DA48 0024A9A8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DA4C 0024A9AC 7C 08 02 A6 */ mflr r0 /* 8024DA50 0024A9B0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DA54 0024A9B4 38 00 00 00 */ li r0, 0 /* 8024DA58 0024A9B8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024DA5C 0024A9BC 7C 7F 1B 78 */ mr r31, r3 /* 8024DA60 0024A9C0 38 9F 01 04 */ addi r4, r31, 0x104 /* 8024DA64 0024A9C4 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DA68 0024A9C8 38 60 00 1C */ li r3, 0x1c /* 8024DA6C 0024A9CC 38 00 00 02 */ li r0, 2 /* 8024DA70 0024A9D0 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024DA74 0024A9D4 38 60 00 00 */ li r3, 0 /* 8024DA78 0024A9D8 7C 09 03 A6 */ mtctr r0 lbl_8024DA7C: /* 8024DA7C 0024A9DC 80 04 00 00 */ lwz r0, 0(r4) /* 8024DA80 0024A9E0 2C 00 00 03 */ cmpwi r0, 3 /* 8024DA84 0024A9E4 40 82 00 30 */ bne lbl_8024DAB4 /* 8024DA88 0024A9E8 90 7F 01 94 */ stw r3, 0x194(r31) /* 8024DA8C 0024A9EC 38 64 00 04 */ addi r3, r4, 4 /* 8024DA90 0024A9F0 48 10 10 15 */ bl GetFileNo__19SMemoryCardFileInfoFv /* 8024DA94 0024A9F4 7C 64 1B 78 */ mr r4, r3 /* 8024DA98 0024A9F8 80 7F 00 00 */ lwz r3, 0(r31) /* 8024DA9C 0024A9FC 48 10 04 F1 */ bl FastDeleteFile__14CMemoryCardSysFii /* 8024DAA0 0024AA00 7C 64 1B 79 */ or. r4, r3, r3 /* 8024DAA4 0024AA04 41 82 00 1C */ beq lbl_8024DAC0 /* 8024DAA8 0024AA08 7F E3 FB 78 */ mr r3, r31 /* 8024DAAC 0024AA0C 48 00 07 F1 */ bl UpdateFileDeleteBad__17CMemoryCardDriverFv /* 8024DAB0 0024AA10 48 00 00 10 */ b lbl_8024DAC0 lbl_8024DAB4: /* 8024DAB4 0024AA14 38 84 00 48 */ addi r4, r4, 0x48 /* 8024DAB8 0024AA18 38 63 00 01 */ addi r3, r3, 1 /* 8024DABC 0024AA1C 42 00 FF C0 */ bdnz lbl_8024DA7C lbl_8024DAC0: /* 8024DAC0 0024AA20 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DAC4 0024AA24 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024DAC8 0024AA28 7C 08 03 A6 */ mtlr r0 /* 8024DACC 0024AA2C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DAD0 0024AA30 4E 80 00 20 */ blr .global IndexFiles__17CMemoryCardDriverFv IndexFiles__17CMemoryCardDriverFv: /* 8024DAD4 0024AA34 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 8024DAD8 0024AA38 7C 08 02 A6 */ mflr r0 /* 8024DADC 0024AA3C 90 01 00 F4 */ stw r0, 0xf4(r1) /* 8024DAE0 0024AA40 38 00 00 00 */ li r0, 0 /* 8024DAE4 0024AA44 93 E1 00 EC */ stw r31, 0xec(r1) /* 8024DAE8 0024AA48 7C 7F 1B 78 */ mr r31, r3 /* 8024DAEC 0024AA4C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 8024DAF0 0024AA50 93 A1 00 E4 */ stw r29, 0xe4(r1) /* 8024DAF4 0024AA54 3B BF 01 04 */ addi r29, r31, 0x104 /* 8024DAF8 0024AA58 7F BE EB 78 */ mr r30, r29 /* 8024DAFC 0024AA5C 93 81 00 E0 */ stw r28, 0xe0(r1) /* 8024DB00 0024AA60 3B 80 00 00 */ li r28, 0 /* 8024DB04 0024AA64 90 03 00 14 */ stw r0, 0x14(r3) lbl_8024DB08: /* 8024DB08 0024AA68 80 1E 00 00 */ lwz r0, 0(r30) /* 8024DB0C 0024AA6C 2C 00 00 00 */ cmpwi r0, 0 /* 8024DB10 0024AA70 40 82 00 B4 */ bne lbl_8024DBC4 /* 8024DB14 0024AA74 38 7E 00 04 */ addi r3, r30, 4 /* 8024DB18 0024AA78 48 10 05 19 */ bl "OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo" /* 8024DB1C 0024AA7C 2C 03 FF FC */ cmpwi r3, -4 /* 8024DB20 0024AA80 40 82 00 10 */ bne lbl_8024DB30 /* 8024DB24 0024AA84 38 00 00 01 */ li r0, 1 /* 8024DB28 0024AA88 90 1E 00 00 */ stw r0, 0(r30) /* 8024DB2C 0024AA8C 48 00 00 98 */ b lbl_8024DBC4 lbl_8024DB30: /* 8024DB30 0024AA90 2C 03 00 00 */ cmpwi r3, 0 /* 8024DB34 0024AA94 40 82 00 84 */ bne lbl_8024DBB8 /* 8024DB38 0024AA98 38 61 00 74 */ addi r3, r1, 0x74 /* 8024DB3C 0024AA9C 38 80 00 00 */ li r4, 0 /* 8024DB40 0024AAA0 38 A0 00 6C */ li r5, 0x6c /* 8024DB44 0024AAA4 4B DB 58 65 */ bl memset /* 8024DB48 0024AAA8 38 7E 00 04 */ addi r3, r30, 4 /* 8024DB4C 0024AAAC 48 10 0F 59 */ bl GetFileNo__19SMemoryCardFileInfoFv /* 8024DB50 0024AAB0 7C 64 1B 78 */ mr r4, r3 /* 8024DB54 0024AAB4 80 7F 00 00 */ lwz r3, 0(r31) /* 8024DB58 0024AAB8 38 A1 00 74 */ addi r5, r1, 0x74 /* 8024DB5C 0024AABC 48 0F FC D5 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat /* 8024DB60 0024AAC0 2C 03 00 00 */ cmpwi r3, 0 /* 8024DB64 0024AAC4 40 82 00 2C */ bne lbl_8024DB90 /* 8024DB68 0024AAC8 38 61 00 74 */ addi r3, r1, 0x74 /* 8024DB6C 0024AACC 48 10 0A 31 */ bl GetCommentAddr__8CARDStatFv /* 8024DB70 0024AAD0 2C 03 FF FF */ cmpwi r3, -1 /* 8024DB74 0024AAD4 40 82 00 10 */ bne lbl_8024DB84 /* 8024DB78 0024AAD8 38 00 00 03 */ li r0, 3 /* 8024DB7C 0024AADC 90 1E 00 00 */ stw r0, 0(r30) /* 8024DB80 0024AAE0 48 00 00 1C */ b lbl_8024DB9C lbl_8024DB84: /* 8024DB84 0024AAE4 38 00 00 02 */ li r0, 2 /* 8024DB88 0024AAE8 90 1E 00 00 */ stw r0, 0(r30) /* 8024DB8C 0024AAEC 48 00 00 10 */ b lbl_8024DB9C lbl_8024DB90: /* 8024DB90 0024AAF0 7F E3 FB 78 */ mr r3, r31 /* 8024DB94 0024AAF4 48 00 01 85 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024DB98 0024AAF8 48 00 01 60 */ b lbl_8024DCF8 lbl_8024DB9C: /* 8024DB9C 0024AAFC 38 7E 00 04 */ addi r3, r30, 4 /* 8024DBA0 0024AB00 48 10 03 A9 */ bl Close__19SMemoryCardFileInfo /* 8024DBA4 0024AB04 2C 03 FF FD */ cmpwi r3, -3 /* 8024DBA8 0024AB08 40 82 00 1C */ bne lbl_8024DBC4 /* 8024DBAC 0024AB0C 7F E3 FB 78 */ mr r3, r31 /* 8024DBB0 0024AB10 48 00 01 69 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024DBB4 0024AB14 48 00 01 44 */ b lbl_8024DCF8 lbl_8024DBB8: /* 8024DBB8 0024AB18 7F E3 FB 78 */ mr r3, r31 /* 8024DBBC 0024AB1C 48 00 01 5D */ bl NoCardFound__17CMemoryCardDriverFv /* 8024DBC0 0024AB20 48 00 01 38 */ b lbl_8024DCF8 lbl_8024DBC4: /* 8024DBC4 0024AB24 3B 9C 00 01 */ addi r28, r28, 1 /* 8024DBC8 0024AB28 3B DE 00 48 */ addi r30, r30, 0x48 /* 8024DBCC 0024AB2C 2C 1C 00 02 */ cmpwi r28, 2 /* 8024DBD0 0024AB30 41 80 FF 38 */ blt lbl_8024DB08 /* 8024DBD4 0024AB34 80 1D 00 00 */ lwz r0, 0(r29) /* 8024DBD8 0024AB38 2C 00 00 02 */ cmpwi r0, 2 /* 8024DBDC 0024AB3C 40 82 00 C8 */ bne lbl_8024DCA4 /* 8024DBE0 0024AB40 80 1D 00 48 */ lwz r0, 0x48(r29) /* 8024DBE4 0024AB44 2C 00 00 02 */ cmpwi r0, 2 /* 8024DBE8 0024AB48 40 82 00 A8 */ bne lbl_8024DC90 /* 8024DBEC 0024AB4C 38 61 00 08 */ addi r3, r1, 8 /* 8024DBF0 0024AB50 38 80 00 00 */ li r4, 0 /* 8024DBF4 0024AB54 38 A0 00 6C */ li r5, 0x6c /* 8024DBF8 0024AB58 4B DB 57 B1 */ bl memset /* 8024DBFC 0024AB5C 38 7D 00 04 */ addi r3, r29, 4 /* 8024DC00 0024AB60 48 10 0E A5 */ bl GetFileNo__19SMemoryCardFileInfoFv /* 8024DC04 0024AB64 7C 64 1B 78 */ mr r4, r3 /* 8024DC08 0024AB68 80 7F 00 00 */ lwz r3, 0(r31) /* 8024DC0C 0024AB6C 38 A1 00 08 */ addi r5, r1, 8 /* 8024DC10 0024AB70 48 0F FC 21 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat /* 8024DC14 0024AB74 2C 03 00 00 */ cmpwi r3, 0 /* 8024DC18 0024AB78 40 82 00 6C */ bne lbl_8024DC84 /* 8024DC1C 0024AB7C 38 61 00 08 */ addi r3, r1, 8 /* 8024DC20 0024AB80 48 10 09 A5 */ bl GetTime__8CARDStatFv /* 8024DC24 0024AB84 7C 7E 1B 78 */ mr r30, r3 /* 8024DC28 0024AB88 38 7D 00 4C */ addi r3, r29, 0x4c /* 8024DC2C 0024AB8C 48 10 0E 79 */ bl GetFileNo__19SMemoryCardFileInfoFv /* 8024DC30 0024AB90 7C 64 1B 78 */ mr r4, r3 /* 8024DC34 0024AB94 80 7F 00 00 */ lwz r3, 0(r31) /* 8024DC38 0024AB98 38 A1 00 08 */ addi r5, r1, 8 /* 8024DC3C 0024AB9C 48 0F FB F5 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat /* 8024DC40 0024ABA0 2C 03 00 00 */ cmpwi r3, 0 /* 8024DC44 0024ABA4 40 82 00 34 */ bne lbl_8024DC78 /* 8024DC48 0024ABA8 38 61 00 08 */ addi r3, r1, 8 /* 8024DC4C 0024ABAC 48 10 09 79 */ bl GetTime__8CARDStatFv /* 8024DC50 0024ABB0 7C 1E 18 40 */ cmplw r30, r3 /* 8024DC54 0024ABB4 40 81 00 10 */ ble lbl_8024DC64 /* 8024DC58 0024ABB8 38 00 00 00 */ li r0, 0 /* 8024DC5C 0024ABBC 90 1F 01 94 */ stw r0, 0x194(r31) /* 8024DC60 0024ABC0 48 00 00 0C */ b lbl_8024DC6C lbl_8024DC64: /* 8024DC64 0024ABC4 38 00 00 01 */ li r0, 1 /* 8024DC68 0024ABC8 90 1F 01 94 */ stw r0, 0x194(r31) lbl_8024DC6C: /* 8024DC6C 0024ABCC 7F E3 FB 78 */ mr r3, r31 /* 8024DC70 0024ABD0 4B FF FC D9 */ bl StartFileRead__17CMemoryCardDriverFv /* 8024DC74 0024ABD4 48 00 00 84 */ b lbl_8024DCF8 lbl_8024DC78: /* 8024DC78 0024ABD8 7F E3 FB 78 */ mr r3, r31 /* 8024DC7C 0024ABDC 48 00 00 9D */ bl NoCardFound__17CMemoryCardDriverFv /* 8024DC80 0024ABE0 48 00 00 78 */ b lbl_8024DCF8 lbl_8024DC84: /* 8024DC84 0024ABE4 7F E3 FB 78 */ mr r3, r31 /* 8024DC88 0024ABE8 48 00 00 91 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024DC8C 0024ABEC 48 00 00 6C */ b lbl_8024DCF8 lbl_8024DC90: /* 8024DC90 0024ABF0 38 00 00 00 */ li r0, 0 /* 8024DC94 0024ABF4 7F E3 FB 78 */ mr r3, r31 /* 8024DC98 0024ABF8 90 1F 01 94 */ stw r0, 0x194(r31) /* 8024DC9C 0024ABFC 4B FF FC AD */ bl StartFileRead__17CMemoryCardDriverFv /* 8024DCA0 0024AC00 48 00 00 58 */ b lbl_8024DCF8 lbl_8024DCA4: /* 8024DCA4 0024AC04 80 7D 00 48 */ lwz r3, 0x48(r29) /* 8024DCA8 0024AC08 2C 03 00 02 */ cmpwi r3, 2 /* 8024DCAC 0024AC0C 40 82 00 18 */ bne lbl_8024DCC4 /* 8024DCB0 0024AC10 38 00 00 01 */ li r0, 1 /* 8024DCB4 0024AC14 7F E3 FB 78 */ mr r3, r31 /* 8024DCB8 0024AC18 90 1F 01 94 */ stw r0, 0x194(r31) /* 8024DCBC 0024AC1C 4B FF FC 8D */ bl StartFileRead__17CMemoryCardDriverFv /* 8024DCC0 0024AC20 48 00 00 38 */ b lbl_8024DCF8 lbl_8024DCC4: /* 8024DCC4 0024AC24 2C 00 00 03 */ cmpwi r0, 3 /* 8024DCC8 0024AC28 41 82 00 0C */ beq lbl_8024DCD4 /* 8024DCCC 0024AC2C 2C 03 00 03 */ cmpwi r3, 3 /* 8024DCD0 0024AC30 40 82 00 18 */ bne lbl_8024DCE8 lbl_8024DCD4: /* 8024DCD4 0024AC34 38 60 00 09 */ li r3, 9 /* 8024DCD8 0024AC38 38 00 00 11 */ li r0, 0x11 /* 8024DCDC 0024AC3C 90 7F 00 14 */ stw r3, 0x14(r31) /* 8024DCE0 0024AC40 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024DCE4 0024AC44 48 00 00 14 */ b lbl_8024DCF8 lbl_8024DCE8: /* 8024DCE8 0024AC48 38 60 00 08 */ li r3, 8 /* 8024DCEC 0024AC4C 38 00 00 11 */ li r0, 0x11 /* 8024DCF0 0024AC50 90 7F 00 14 */ stw r3, 0x14(r31) /* 8024DCF4 0024AC54 90 1F 00 10 */ stw r0, 0x10(r31) lbl_8024DCF8: /* 8024DCF8 0024AC58 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 8024DCFC 0024AC5C 83 E1 00 EC */ lwz r31, 0xec(r1) /* 8024DD00 0024AC60 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 8024DD04 0024AC64 83 A1 00 E4 */ lwz r29, 0xe4(r1) /* 8024DD08 0024AC68 83 81 00 E0 */ lwz r28, 0xe0(r1) /* 8024DD0C 0024AC6C 7C 08 03 A6 */ mtlr r0 /* 8024DD10 0024AC70 38 21 00 F0 */ addi r1, r1, 0xf0 /* 8024DD14 0024AC74 4E 80 00 20 */ blr .global NoCardFound__17CMemoryCardDriverFv NoCardFound__17CMemoryCardDriverFv: /* 8024DD18 0024AC78 38 00 00 02 */ li r0, 2 /* 8024DD1C 0024AC7C 38 80 00 00 */ li r4, 0 /* 8024DD20 0024AC80 90 03 00 10 */ stw r0, 0x10(r3) /* 8024DD24 0024AC84 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 8024DD28 0024AC88 88 03 01 60 */ lbz r0, 0x160(r3) /* 8024DD2C 0024AC8C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 8024DD30 0024AC90 98 03 01 60 */ stb r0, 0x160(r3) /* 8024DD34 0024AC94 4E 80 00 20 */ blr .global CheckCardCapacity__17CMemoryCardDriverFv CheckCardCapacity__17CMemoryCardDriverFv: /* 8024DD38 0024AC98 80 03 00 18 */ lwz r0, 0x18(r3) /* 8024DD3C 0024AC9C 28 00 20 00 */ cmplwi r0, 0x2000 /* 8024DD40 0024ACA0 41 80 00 10 */ blt lbl_8024DD50 /* 8024DD44 0024ACA4 80 03 00 1C */ lwz r0, 0x1c(r3) /* 8024DD48 0024ACA8 28 00 00 01 */ cmplwi r0, 1 /* 8024DD4C 0024ACAC 4C 80 00 20 */ bgelr lbl_8024DD50: /* 8024DD50 0024ACB0 38 00 00 06 */ li r0, 6 /* 8024DD54 0024ACB4 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DD58 0024ACB8 4E 80 00 20 */ blr .global ClearError__17CMemoryCardDriverFv ClearError__17CMemoryCardDriverFv: /* 8024DD5C 0024ACBC 38 00 00 00 */ li r0, 0 /* 8024DD60 0024ACC0 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DD64 0024ACC4 4E 80 00 20 */ blr .global StartCardCheck__17CMemoryCardDriverFv StartCardCheck__17CMemoryCardDriverFv: /* 8024DD68 0024ACC8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DD6C 0024ACCC 7C 08 02 A6 */ mflr r0 /* 8024DD70 0024ACD0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DD74 0024ACD4 38 00 00 00 */ li r0, 0 /* 8024DD78 0024ACD8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024DD7C 0024ACDC 7C 7F 1B 78 */ mr r31, r3 /* 8024DD80 0024ACE0 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DD84 0024ACE4 38 00 00 1B */ li r0, 0x1b /* 8024DD88 0024ACE8 90 03 00 10 */ stw r0, 0x10(r3) /* 8024DD8C 0024ACEC 80 63 00 00 */ lwz r3, 0(r3) /* 8024DD90 0024ACF0 48 10 01 25 */ bl CheckCard__14CMemoryCardSysFv /* 8024DD94 0024ACF4 7C 64 1B 79 */ or. r4, r3, r3 /* 8024DD98 0024ACF8 41 82 00 0C */ beq lbl_8024DDA4 /* 8024DD9C 0024ACFC 7F E3 FB 78 */ mr r3, r31 /* 8024DDA0 0024AD00 48 00 07 19 */ bl UpdateCardCheck__17CMemoryCardDriverFv lbl_8024DDA4: /* 8024DDA4 0024AD04 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DDA8 0024AD08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024DDAC 0024AD0C 7C 08 03 A6 */ mtlr r0 /* 8024DDB0 0024AD10 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DDB4 0024AD14 4E 80 00 20 */ blr .global StartMountCard__17CMemoryCardDriverFv StartMountCard__17CMemoryCardDriverFv: /* 8024DDB8 0024AD18 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DDBC 0024AD1C 7C 08 02 A6 */ mflr r0 /* 8024DDC0 0024AD20 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DDC4 0024AD24 38 00 00 1A */ li r0, 0x1a /* 8024DDC8 0024AD28 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024DDCC 0024AD2C 7C 7F 1B 78 */ mr r31, r3 /* 8024DDD0 0024AD30 90 03 00 10 */ stw r0, 0x10(r3) /* 8024DDD4 0024AD34 38 00 00 00 */ li r0, 0 /* 8024DDD8 0024AD38 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DDDC 0024AD3C 80 63 00 00 */ lwz r3, 0(r3) /* 8024DDE0 0024AD40 48 10 05 CD */ bl MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort /* 8024DDE4 0024AD44 7C 64 1B 79 */ or. r4, r3, r3 /* 8024DDE8 0024AD48 41 82 00 0C */ beq lbl_8024DDF4 /* 8024DDEC 0024AD4C 7F E3 FB 78 */ mr r3, r31 /* 8024DDF0 0024AD50 48 00 07 51 */ bl UpdateMountCard__17CMemoryCardDriverFi lbl_8024DDF4: /* 8024DDF4 0024AD54 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DDF8 0024AD58 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024DDFC 0024AD5C 7C 08 03 A6 */ mtlr r0 /* 8024DE00 0024AD60 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DE04 0024AD64 4E 80 00 20 */ blr .global UpdateCardProbe__17CMemoryCardDriverFv UpdateCardProbe__17CMemoryCardDriverFv: /* 8024DE08 0024AD68 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024DE0C 0024AD6C 7C 08 02 A6 */ mflr r0 /* 8024DE10 0024AD70 90 01 00 34 */ stw r0, 0x34(r1) /* 8024DE14 0024AD74 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024DE18 0024AD78 7C 7F 1B 78 */ mr r31, r3 /* 8024DE1C 0024AD7C 38 61 00 08 */ addi r3, r1, 8 /* 8024DE20 0024AD80 80 9F 00 00 */ lwz r4, 0(r31) /* 8024DE24 0024AD84 48 10 05 E9 */ bl IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort /* 8024DE28 0024AD88 80 81 00 08 */ lwz r4, 8(r1) /* 8024DE2C 0024AD8C 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024DE30 0024AD90 80 01 00 10 */ lwz r0, 0x10(r1) /* 8024DE34 0024AD94 2C 04 00 00 */ cmpwi r4, 0 /* 8024DE38 0024AD98 90 81 00 14 */ stw r4, 0x14(r1) /* 8024DE3C 0024AD9C 90 61 00 18 */ stw r3, 0x18(r1) /* 8024DE40 0024ADA0 90 01 00 1C */ stw r0, 0x1c(r1) /* 8024DE44 0024ADA4 40 82 00 20 */ bne lbl_8024DE64 /* 8024DE48 0024ADA8 2C 00 20 00 */ cmpwi r0, 0x2000 /* 8024DE4C 0024ADAC 41 82 00 48 */ beq lbl_8024DE94 /* 8024DE50 0024ADB0 38 60 00 0C */ li r3, 0xc /* 8024DE54 0024ADB4 38 00 00 07 */ li r0, 7 /* 8024DE58 0024ADB8 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024DE5C 0024ADBC 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024DE60 0024ADC0 48 00 00 44 */ b lbl_8024DEA4 lbl_8024DE64: /* 8024DE64 0024ADC4 2C 04 FF FF */ cmpwi r4, -1 /* 8024DE68 0024ADC8 41 82 00 3C */ beq lbl_8024DEA4 /* 8024DE6C 0024ADCC 2C 04 FF FE */ cmpwi r4, -2 /* 8024DE70 0024ADD0 40 82 00 18 */ bne lbl_8024DE88 /* 8024DE74 0024ADD4 38 60 00 0C */ li r3, 0xc /* 8024DE78 0024ADD8 38 00 00 04 */ li r0, 4 /* 8024DE7C 0024ADDC 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024DE80 0024ADE0 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024DE84 0024ADE4 48 00 00 20 */ b lbl_8024DEA4 lbl_8024DE88: /* 8024DE88 0024ADE8 7F E3 FB 78 */ mr r3, r31 /* 8024DE8C 0024ADEC 4B FF FE 8D */ bl NoCardFound__17CMemoryCardDriverFv /* 8024DE90 0024ADF0 48 00 00 14 */ b lbl_8024DEA4 lbl_8024DE94: /* 8024DE94 0024ADF4 38 00 00 05 */ li r0, 5 /* 8024DE98 0024ADF8 7F E3 FB 78 */ mr r3, r31 /* 8024DE9C 0024ADFC 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024DEA0 0024AE00 4B FF FF 19 */ bl StartMountCard__17CMemoryCardDriverFv lbl_8024DEA4: /* 8024DEA4 0024AE04 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024DEA8 0024AE08 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024DEAC 0024AE0C 7C 08 03 A6 */ mtlr r0 /* 8024DEB0 0024AE10 38 21 00 30 */ addi r1, r1, 0x30 /* 8024DEB4 0024AE14 4E 80 00 20 */ blr .global StartCardProbe__17CMemoryCardDriverFv StartCardProbe__17CMemoryCardDriverFv: /* 8024DEB8 0024AE18 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DEBC 0024AE1C 7C 08 02 A6 */ mflr r0 /* 8024DEC0 0024AE20 38 80 00 19 */ li r4, 0x19 /* 8024DEC4 0024AE24 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DEC8 0024AE28 38 00 00 00 */ li r0, 0 /* 8024DECC 0024AE2C 90 83 00 10 */ stw r4, 0x10(r3) /* 8024DED0 0024AE30 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DED4 0024AE34 4B FF FF 35 */ bl UpdateCardProbe__17CMemoryCardDriverFv /* 8024DED8 0024AE38 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DEDC 0024AE3C 7C 08 03 A6 */ mtlr r0 /* 8024DEE0 0024AE40 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DEE4 0024AE44 4E 80 00 20 */ blr .global UpdateCardFormat__17CMemoryCardDriverFv UpdateCardFormat__17CMemoryCardDriverFv: /* 8024DEE8 0024AE48 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DEEC 0024AE4C 7C 08 02 A6 */ mflr r0 /* 8024DEF0 0024AE50 2C 04 00 00 */ cmpwi r4, 0 /* 8024DEF4 0024AE54 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DEF8 0024AE58 40 82 00 10 */ bne lbl_8024DF08 /* 8024DEFC 0024AE5C 38 00 00 04 */ li r0, 4 /* 8024DF00 0024AE60 90 03 00 10 */ stw r0, 0x10(r3) /* 8024DF04 0024AE64 48 00 00 28 */ b lbl_8024DF2C lbl_8024DF08: /* 8024DF08 0024AE68 2C 04 FF FA */ cmpwi r4, -6 /* 8024DF0C 0024AE6C 40 82 00 18 */ bne lbl_8024DF24 /* 8024DF10 0024AE70 38 80 00 18 */ li r4, 0x18 /* 8024DF14 0024AE74 38 00 00 03 */ li r0, 3 /* 8024DF18 0024AE78 90 83 00 10 */ stw r4, 0x10(r3) /* 8024DF1C 0024AE7C 90 03 00 14 */ stw r0, 0x14(r3) /* 8024DF20 0024AE80 48 00 00 0C */ b lbl_8024DF2C lbl_8024DF24: /* 8024DF24 0024AE84 38 A0 00 18 */ li r5, 0x18 /* 8024DF28 0024AE88 48 00 06 75 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024DF2C: /* 8024DF2C 0024AE8C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DF30 0024AE90 7C 08 03 A6 */ mtlr r0 /* 8024DF34 0024AE94 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DF38 0024AE98 4E 80 00 20 */ blr .global UpdateFileAltDeleteTransactional__17CMemoryCardDriverFv UpdateFileAltDeleteTransactional__17CMemoryCardDriverFv: /* 8024DF3C 0024AE9C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DF40 0024AEA0 7C 08 02 A6 */ mflr r0 /* 8024DF44 0024AEA4 2C 04 00 00 */ cmpwi r4, 0 /* 8024DF48 0024AEA8 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DF4C 0024AEAC 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024DF50 0024AEB0 7C 7F 1B 78 */ mr r31, r3 /* 8024DF54 0024AEB4 40 82 00 24 */ bne lbl_8024DF78 /* 8024DF58 0024AEB8 38 00 00 0B */ li r0, 0xb /* 8024DF5C 0024AEBC 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024DF60 0024AEC0 4B FF E3 31 */ bl GetCardFreeBytes__17CMemoryCardDriverFv /* 8024DF64 0024AEC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8024DF68 0024AEC8 41 82 00 18 */ beq lbl_8024DF80 /* 8024DF6C 0024AECC 7F E3 FB 78 */ mr r3, r31 /* 8024DF70 0024AED0 48 00 00 69 */ bl StartFileRenameBtoA__17CMemoryCardDriverFv /* 8024DF74 0024AED4 48 00 00 0C */ b lbl_8024DF80 lbl_8024DF78: /* 8024DF78 0024AED8 38 A0 00 16 */ li r5, 0x16 /* 8024DF7C 0024AEDC 48 00 06 21 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024DF80: /* 8024DF80 0024AEE0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DF84 0024AEE4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024DF88 0024AEE8 7C 08 03 A6 */ mtlr r0 /* 8024DF8C 0024AEEC 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DF90 0024AEF0 4E 80 00 20 */ blr .global WriteBackupBuf__17CMemoryCardDriverFv WriteBackupBuf__17CMemoryCardDriverFv: /* 8024DF94 0024AEF4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024DF98 0024AEF8 7C 08 02 A6 */ mflr r0 /* 8024DF9C 0024AEFC 90 01 00 14 */ stw r0, 0x14(r1) /* 8024DFA0 0024AF00 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024DFA4 0024AF04 7C 7F 1B 78 */ mr r31, r3 /* 8024DFA8 0024AF08 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024DFAC 0024AF0C 4B F8 5C 09 */ bl WriteBackupBuf__10CGameStateFv /* 8024DFB0 0024AF10 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8024DFB4 0024AF14 80 9F 00 2C */ lwz r4, 0x2c(r31) /* 8024DFB8 0024AF18 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) /* 8024DFBC 0024AF1C 90 83 02 14 */ stw r4, 0x214(r3) /* 8024DFC0 0024AF20 90 03 02 10 */ stw r0, 0x210(r3) /* 8024DFC4 0024AF24 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024DFC8 0024AF28 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024DFCC 0024AF2C 7C 08 03 A6 */ mtlr r0 /* 8024DFD0 0024AF30 38 21 00 10 */ addi r1, r1, 0x10 /* 8024DFD4 0024AF34 4E 80 00 20 */ blr .global StartFileRenameBtoA__17CMemoryCardDriverFv StartFileRenameBtoA__17CMemoryCardDriverFv: /* 8024DFD8 0024AF38 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024DFDC 0024AF3C 7C 08 02 A6 */ mflr r0 /* 8024DFE0 0024AF40 90 01 00 34 */ stw r0, 0x34(r1) /* 8024DFE4 0024AF44 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024DFE8 0024AF48 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024DFEC 0024AF4C 7C 7E 1B 78 */ mr r30, r3 /* 8024DFF0 0024AF50 80 03 01 94 */ lwz r0, 0x194(r3) /* 8024DFF4 0024AF54 2C 00 00 01 */ cmpwi r0, 1 /* 8024DFF8 0024AF58 40 82 00 88 */ bne lbl_8024E080 /* 8024DFFC 0024AF5C 38 60 00 00 */ li r3, 0 /* 8024E000 0024AF60 38 00 00 24 */ li r0, 0x24 /* 8024E004 0024AF64 90 7E 00 14 */ stw r3, 0x14(r30) /* 8024E008 0024AF68 38 82 B8 B0 */ addi r4, r2, lbl_805AD5D0@sda21 /* 8024E00C 0024AF6C 38 61 00 18 */ addi r3, r1, 0x18 /* 8024E010 0024AF70 90 1E 00 10 */ stw r0, 0x10(r30) /* 8024E014 0024AF74 80 BE 01 94 */ lwz r5, 0x194(r30) /* 8024E018 0024AF78 54 A0 10 3A */ slwi r0, r5, 2 /* 8024E01C 0024AF7C 7C A5 00 34 */ cntlzw r5, r5 /* 8024E020 0024AF80 7C 84 00 2E */ lwzx r4, r4, r0 /* 8024E024 0024AF84 54 BF D9 7E */ srwi r31, r5, 5 /* 8024E028 0024AF88 4B DB 6C 91 */ bl string_l__4rstlFPCc /* 8024E02C 0024AF8C 57 E0 10 3A */ slwi r0, r31, 2 /* 8024E030 0024AF90 38 62 B8 B0 */ addi r3, r2, lbl_805AD5D0@sda21 /* 8024E034 0024AF94 7C 83 00 2E */ lwzx r4, r3, r0 /* 8024E038 0024AF98 38 61 00 08 */ addi r3, r1, 8 /* 8024E03C 0024AF9C 4B DB 6C 7D */ bl string_l__4rstlFPCc /* 8024E040 0024AFA0 80 7E 00 00 */ lwz r3, 0(r30) /* 8024E044 0024AFA4 38 81 00 18 */ addi r4, r1, 0x18 /* 8024E048 0024AFA8 38 A1 00 08 */ addi r5, r1, 8 /* 8024E04C 0024AFAC 48 0F FE 8D */ bl Rename__14CMemoryCardSysFiPCcPCc /* 8024E050 0024AFB0 7C 60 1B 78 */ mr r0, r3 /* 8024E054 0024AFB4 38 61 00 08 */ addi r3, r1, 8 /* 8024E058 0024AFB8 7C 1F 03 78 */ mr r31, r0 /* 8024E05C 0024AFBC 48 0E FA 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024E060 0024AFC0 38 61 00 18 */ addi r3, r1, 0x18 /* 8024E064 0024AFC4 48 0E FA 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024E068 0024AFC8 2C 1F 00 00 */ cmpwi r31, 0 /* 8024E06C 0024AFCC 41 82 00 20 */ beq lbl_8024E08C /* 8024E070 0024AFD0 7F C3 F3 78 */ mr r3, r30 /* 8024E074 0024AFD4 7F E4 FB 78 */ mr r4, r31 /* 8024E078 0024AFD8 48 00 00 2D */ bl UpdateFileRenameBtoA__17CMemoryCardDriverFv /* 8024E07C 0024AFDC 48 00 00 10 */ b lbl_8024E08C lbl_8024E080: /* 8024E080 0024AFE0 38 00 00 03 */ li r0, 3 /* 8024E084 0024AFE4 90 1E 00 10 */ stw r0, 0x10(r30) /* 8024E088 0024AFE8 4B FF FF 0D */ bl WriteBackupBuf__17CMemoryCardDriverFv lbl_8024E08C: /* 8024E08C 0024AFEC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024E090 0024AFF0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024E094 0024AFF4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024E098 0024AFF8 7C 08 03 A6 */ mtlr r0 /* 8024E09C 0024AFFC 38 21 00 30 */ addi r1, r1, 0x30 /* 8024E0A0 0024B000 4E 80 00 20 */ blr .global UpdateFileRenameBtoA__17CMemoryCardDriverFv UpdateFileRenameBtoA__17CMemoryCardDriverFv: /* 8024E0A4 0024B004 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E0A8 0024B008 7C 08 02 A6 */ mflr r0 /* 8024E0AC 0024B00C 2C 04 00 00 */ cmpwi r4, 0 /* 8024E0B0 0024B010 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E0B4 0024B014 40 82 00 14 */ bne lbl_8024E0C8 /* 8024E0B8 0024B018 38 00 00 03 */ li r0, 3 /* 8024E0BC 0024B01C 90 03 00 10 */ stw r0, 0x10(r3) /* 8024E0C0 0024B020 4B FF FE D5 */ bl WriteBackupBuf__17CMemoryCardDriverFv /* 8024E0C4 0024B024 48 00 00 0C */ b lbl_8024E0D0 lbl_8024E0C8: /* 8024E0C8 0024B028 38 A0 00 17 */ li r5, 0x17 /* 8024E0CC 0024B02C 48 00 04 D1 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E0D0: /* 8024E0D0 0024B030 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E0D4 0024B034 7C 08 03 A6 */ mtlr r0 /* 8024E0D8 0024B038 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E0DC 0024B03C 4E 80 00 20 */ blr .global UpdateFileWriteTransactional__17CMemoryCardDriverFv UpdateFileWriteTransactional__17CMemoryCardDriverFv: /* 8024E0E0 0024B040 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E0E4 0024B044 7C 08 02 A6 */ mflr r0 /* 8024E0E8 0024B048 2C 04 00 00 */ cmpwi r4, 0 /* 8024E0EC 0024B04C 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E0F0 0024B050 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024E0F4 0024B054 7C 7F 1B 78 */ mr r31, r3 /* 8024E0F8 0024B058 40 82 00 74 */ bne lbl_8024E16C /* 8024E0FC 0024B05C 80 7F 01 98 */ lwz r3, 0x198(r31) /* 8024E100 0024B060 48 0F FB 15 */ bl PumpCardTransfer__13CCardFileInfoFv /* 8024E104 0024B064 2C 03 00 00 */ cmpwi r3, 0 /* 8024E108 0024B068 40 82 00 34 */ bne lbl_8024E13C /* 8024E10C 0024B06C 38 00 00 0A */ li r0, 0xa /* 8024E110 0024B070 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E114 0024B074 80 7F 01 98 */ lwz r3, 0x198(r31) /* 8024E118 0024B078 48 0F FD ED */ bl Close__13CCardFileInfoFv /* 8024E11C 0024B07C 2C 03 00 00 */ cmpwi r3, 0 /* 8024E120 0024B080 41 82 00 10 */ beq lbl_8024E130 /* 8024E124 0024B084 7F E3 FB 78 */ mr r3, r31 /* 8024E128 0024B088 4B FF FB F1 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E12C 0024B08C 48 00 00 48 */ b lbl_8024E174 lbl_8024E130: /* 8024E130 0024B090 7F E3 FB 78 */ mr r3, r31 /* 8024E134 0024B094 4B FF F2 FD */ bl StartFileDeleteAltTransactional__17CMemoryCardDriverFv /* 8024E138 0024B098 48 00 00 3C */ b lbl_8024E174 lbl_8024E13C: /* 8024E13C 0024B09C 2C 03 FF FF */ cmpwi r3, -1 /* 8024E140 0024B0A0 41 82 00 34 */ beq lbl_8024E174 /* 8024E144 0024B0A4 2C 03 FF FB */ cmpwi r3, -5 /* 8024E148 0024B0A8 40 82 00 18 */ bne lbl_8024E160 /* 8024E14C 0024B0AC 38 60 00 15 */ li r3, 0x15 /* 8024E150 0024B0B0 38 00 00 03 */ li r0, 3 /* 8024E154 0024B0B4 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024E158 0024B0B8 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024E15C 0024B0BC 48 00 00 18 */ b lbl_8024E174 lbl_8024E160: /* 8024E160 0024B0C0 7F E3 FB 78 */ mr r3, r31 /* 8024E164 0024B0C4 4B FF FB B5 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E168 0024B0C8 48 00 00 0C */ b lbl_8024E174 lbl_8024E16C: /* 8024E16C 0024B0CC 38 A0 00 15 */ li r5, 0x15 /* 8024E170 0024B0D0 48 00 04 2D */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E174: /* 8024E174 0024B0D4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E178 0024B0D8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024E17C 0024B0DC 7C 08 03 A6 */ mtlr r0 /* 8024E180 0024B0E0 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E184 0024B0E4 4E 80 00 20 */ blr .global UpdateFileCreateTransactional__17CMemoryCardDriverFv UpdateFileCreateTransactional__17CMemoryCardDriverFv: /* 8024E188 0024B0E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E18C 0024B0EC 7C 08 02 A6 */ mflr r0 /* 8024E190 0024B0F0 2C 04 00 00 */ cmpwi r4, 0 /* 8024E194 0024B0F4 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E198 0024B0F8 40 82 00 14 */ bne lbl_8024E1AC /* 8024E19C 0024B0FC 38 00 00 09 */ li r0, 9 /* 8024E1A0 0024B100 90 03 00 10 */ stw r0, 0x10(r3) /* 8024E1A4 0024B104 4B FF F3 19 */ bl StartFileWriteTransactional__17CMemoryCardDriverFv /* 8024E1A8 0024B108 48 00 00 0C */ b lbl_8024E1B4 lbl_8024E1AC: /* 8024E1AC 0024B10C 38 A0 00 14 */ li r5, 0x14 /* 8024E1B0 0024B110 48 00 03 ED */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E1B4: /* 8024E1B4 0024B114 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E1B8 0024B118 7C 08 03 A6 */ mtlr r0 /* 8024E1BC 0024B11C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E1C0 0024B120 4E 80 00 20 */ blr .global UpdateFileWrite__17CMemoryCardDriverFv UpdateFileWrite__17CMemoryCardDriverFv: /* 8024E1C4 0024B124 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E1C8 0024B128 7C 08 02 A6 */ mflr r0 /* 8024E1CC 0024B12C 2C 04 00 00 */ cmpwi r4, 0 /* 8024E1D0 0024B130 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E1D4 0024B134 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024E1D8 0024B138 7C 7F 1B 78 */ mr r31, r3 /* 8024E1DC 0024B13C 40 82 00 68 */ bne lbl_8024E244 /* 8024E1E0 0024B140 80 7F 01 98 */ lwz r3, 0x198(r31) /* 8024E1E4 0024B144 48 0F FA 31 */ bl PumpCardTransfer__13CCardFileInfoFv /* 8024E1E8 0024B148 2C 03 00 00 */ cmpwi r3, 0 /* 8024E1EC 0024B14C 40 82 00 28 */ bne lbl_8024E214 /* 8024E1F0 0024B150 38 00 00 01 */ li r0, 1 /* 8024E1F4 0024B154 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E1F8 0024B158 80 7F 01 98 */ lwz r3, 0x198(r31) /* 8024E1FC 0024B15C 48 0F FD 09 */ bl Close__13CCardFileInfoFv /* 8024E200 0024B160 2C 03 00 00 */ cmpwi r3, 0 /* 8024E204 0024B164 41 82 00 48 */ beq lbl_8024E24C /* 8024E208 0024B168 7F E3 FB 78 */ mr r3, r31 /* 8024E20C 0024B16C 4B FF FB 0D */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E210 0024B170 48 00 00 3C */ b lbl_8024E24C lbl_8024E214: /* 8024E214 0024B174 2C 03 FF FF */ cmpwi r3, -1 /* 8024E218 0024B178 41 82 00 34 */ beq lbl_8024E24C /* 8024E21C 0024B17C 2C 03 FF FB */ cmpwi r3, -5 /* 8024E220 0024B180 40 82 00 18 */ bne lbl_8024E238 /* 8024E224 0024B184 38 60 00 13 */ li r3, 0x13 /* 8024E228 0024B188 38 00 00 03 */ li r0, 3 /* 8024E22C 0024B18C 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024E230 0024B190 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024E234 0024B194 48 00 00 18 */ b lbl_8024E24C lbl_8024E238: /* 8024E238 0024B198 7F E3 FB 78 */ mr r3, r31 /* 8024E23C 0024B19C 4B FF FA DD */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E240 0024B1A0 48 00 00 0C */ b lbl_8024E24C lbl_8024E244: /* 8024E244 0024B1A4 38 A0 00 13 */ li r5, 0x13 /* 8024E248 0024B1A8 48 00 03 55 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E24C: /* 8024E24C 0024B1AC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E250 0024B1B0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024E254 0024B1B4 7C 08 03 A6 */ mtlr r0 /* 8024E258 0024B1B8 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E25C 0024B1BC 4E 80 00 20 */ blr .global UpdateFileCreate__17CMemoryCardDriverFv UpdateFileCreate__17CMemoryCardDriverFv: /* 8024E260 0024B1C0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E264 0024B1C4 7C 08 02 A6 */ mflr r0 /* 8024E268 0024B1C8 2C 04 00 00 */ cmpwi r4, 0 /* 8024E26C 0024B1CC 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E270 0024B1D0 40 82 00 14 */ bne lbl_8024E284 /* 8024E274 0024B1D4 38 00 00 08 */ li r0, 8 /* 8024E278 0024B1D8 90 03 00 10 */ stw r0, 0x10(r3) /* 8024E27C 0024B1DC 4B FF F5 75 */ bl StartFileWrite__17CMemoryCardDriverFv /* 8024E280 0024B1E0 48 00 00 0C */ b lbl_8024E28C lbl_8024E284: /* 8024E284 0024B1E4 38 A0 00 12 */ li r5, 0x12 /* 8024E288 0024B1E8 48 00 03 15 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E28C: /* 8024E28C 0024B1EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E290 0024B1F0 7C 08 03 A6 */ mtlr r0 /* 8024E294 0024B1F4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E298 0024B1F8 4E 80 00 20 */ blr .global UpdateFileDeleteBad__17CMemoryCardDriverFv UpdateFileDeleteBad__17CMemoryCardDriverFv: /* 8024E29C 0024B1FC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E2A0 0024B200 7C 08 02 A6 */ mflr r0 /* 8024E2A4 0024B204 2C 04 00 00 */ cmpwi r4, 0 /* 8024E2A8 0024B208 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E2AC 0024B20C 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024E2B0 0024B210 7C 7F 1B 78 */ mr r31, r3 /* 8024E2B4 0024B214 40 82 00 64 */ bne lbl_8024E318 /* 8024E2B8 0024B218 80 9F 01 94 */ lwz r4, 0x194(r31) /* 8024E2BC 0024B21C 38 BF 01 04 */ addi r5, r31, 0x104 /* 8024E2C0 0024B220 38 00 00 01 */ li r0, 1 /* 8024E2C4 0024B224 1C 84 00 48 */ mulli r4, r4, 0x48 /* 8024E2C8 0024B228 7C 05 21 2E */ stwx r0, r5, r4 /* 8024E2CC 0024B22C 80 1F 01 94 */ lwz r0, 0x194(r31) /* 8024E2D0 0024B230 7C 00 00 34 */ cntlzw r0, r0 /* 8024E2D4 0024B234 54 00 D9 7E */ srwi r0, r0, 5 /* 8024E2D8 0024B238 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8024E2DC 0024B23C 7C 05 00 2E */ lwzx r0, r5, r0 /* 8024E2E0 0024B240 2C 00 00 03 */ cmpwi r0, 3 /* 8024E2E4 0024B244 40 82 00 14 */ bne lbl_8024E2F8 /* 8024E2E8 0024B248 38 00 00 11 */ li r0, 0x11 /* 8024E2EC 0024B24C 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E2F0 0024B250 4B FF F7 59 */ bl StartFileDeleteBad__17CMemoryCardDriverFv /* 8024E2F4 0024B254 48 00 00 2C */ b lbl_8024E320 lbl_8024E2F8: /* 8024E2F8 0024B258 38 00 00 07 */ li r0, 7 /* 8024E2FC 0024B25C 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E300 0024B260 4B FF DF 91 */ bl GetCardFreeBytes__17CMemoryCardDriverFv /* 8024E304 0024B264 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8024E308 0024B268 41 82 00 18 */ beq lbl_8024E320 /* 8024E30C 0024B26C 7F E3 FB 78 */ mr r3, r31 /* 8024E310 0024B270 4B FF F7 C5 */ bl IndexFiles__17CMemoryCardDriverFv /* 8024E314 0024B274 48 00 00 0C */ b lbl_8024E320 lbl_8024E318: /* 8024E318 0024B278 38 A0 00 0F */ li r5, 0xf /* 8024E31C 0024B27C 48 00 02 81 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E320: /* 8024E320 0024B280 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E324 0024B284 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024E328 0024B288 7C 08 03 A6 */ mtlr r0 /* 8024E32C 0024B28C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E330 0024B290 4E 80 00 20 */ blr .global UpdateFileDeleteAlt__17CMemoryCardDriverFv UpdateFileDeleteAlt__17CMemoryCardDriverFv: /* 8024E334 0024B294 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E338 0024B298 7C 08 02 A6 */ mflr r0 /* 8024E33C 0024B29C 2C 04 00 00 */ cmpwi r4, 0 /* 8024E340 0024B2A0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E344 0024B2A4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024E348 0024B2A8 7C 7F 1B 78 */ mr r31, r3 /* 8024E34C 0024B2AC 40 82 00 24 */ bne lbl_8024E370 /* 8024E350 0024B2B0 38 00 00 01 */ li r0, 1 /* 8024E354 0024B2B4 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E358 0024B2B8 4B FF DF 39 */ bl GetCardFreeBytes__17CMemoryCardDriverFv /* 8024E35C 0024B2BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8024E360 0024B2C0 41 82 00 18 */ beq lbl_8024E378 /* 8024E364 0024B2C4 7F E3 FB 78 */ mr r3, r31 /* 8024E368 0024B2C8 4B FF F9 D1 */ bl CheckCardCapacity__17CMemoryCardDriverFv /* 8024E36C 0024B2CC 48 00 00 0C */ b lbl_8024E378 lbl_8024E370: /* 8024E370 0024B2D0 38 A0 00 10 */ li r5, 0x10 /* 8024E374 0024B2D4 48 00 02 29 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E378: /* 8024E378 0024B2D8 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E37C 0024B2DC 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024E380 0024B2E0 7C 08 03 A6 */ mtlr r0 /* 8024E384 0024B2E4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E388 0024B2E8 4E 80 00 20 */ blr .global UpdateFileRead__17CMemoryCardDriverFv UpdateFileRead__17CMemoryCardDriverFv: /* 8024E38C 0024B2EC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024E390 0024B2F0 7C 08 02 A6 */ mflr r0 /* 8024E394 0024B2F4 2C 04 00 00 */ cmpwi r4, 0 /* 8024E398 0024B2F8 90 01 00 24 */ stw r0, 0x24(r1) /* 8024E39C 0024B2FC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024E3A0 0024B300 7C 7F 1B 78 */ mr r31, r3 /* 8024E3A4 0024B304 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024E3A8 0024B308 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024E3AC 0024B30C 93 81 00 10 */ stw r28, 0x10(r1) /* 8024E3B0 0024B310 40 82 00 E0 */ bne lbl_8024E490 /* 8024E3B4 0024B314 80 1F 01 94 */ lwz r0, 0x194(r31) /* 8024E3B8 0024B318 3B BF 01 04 */ addi r29, r31, 0x104 /* 8024E3BC 0024B31C 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8024E3C0 0024B320 7C 7D 02 14 */ add r3, r29, r0 /* 8024E3C4 0024B324 38 63 00 04 */ addi r3, r3, 4 /* 8024E3C8 0024B328 48 0F F4 E5 */ bl TryFileRead__19SMemoryCardFileInfoFv /* 8024E3CC 0024B32C 80 1F 01 94 */ lwz r0, 0x194(r31) /* 8024E3D0 0024B330 7C 7E 1B 78 */ mr r30, r3 /* 8024E3D4 0024B334 1C 60 00 48 */ mulli r3, r0, 0x48 /* 8024E3D8 0024B338 38 63 00 04 */ addi r3, r3, 4 /* 8024E3DC 0024B33C 7C 7D 1A 14 */ add r3, r29, r3 /* 8024E3E0 0024B340 48 0F FB 69 */ bl Close__19SMemoryCardFileInfo /* 8024E3E4 0024B344 2C 03 00 00 */ cmpwi r3, 0 /* 8024E3E8 0024B348 41 82 00 10 */ beq lbl_8024E3F8 /* 8024E3EC 0024B34C 7F E3 FB 78 */ mr r3, r31 /* 8024E3F0 0024B350 4B FF F9 29 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E3F4 0024B354 48 00 00 A4 */ b lbl_8024E498 lbl_8024E3F8: /* 8024E3F8 0024B358 80 7F 01 94 */ lwz r3, 0x194(r31) /* 8024E3FC 0024B35C 2C 1E 00 00 */ cmpwi r30, 0 /* 8024E400 0024B360 7C 60 00 34 */ cntlzw r0, r3 /* 8024E404 0024B364 54 1C D9 7E */ srwi r28, r0, 5 /* 8024E408 0024B368 40 82 00 3C */ bne lbl_8024E444 /* 8024E40C 0024B36C 38 00 00 01 */ li r0, 1 /* 8024E410 0024B370 7F E3 FB 78 */ mr r3, r31 /* 8024E414 0024B374 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E418 0024B378 4B FF EA 09 */ bl ReadFinished__17CMemoryCardDriverFv /* 8024E41C 0024B37C 1C 1C 00 48 */ mulli r0, r28, 0x48 /* 8024E420 0024B380 7C 1D 00 2E */ lwzx r0, r29, r0 /* 8024E424 0024B384 2C 00 00 01 */ cmpwi r0, 1 /* 8024E428 0024B388 41 82 00 10 */ beq lbl_8024E438 /* 8024E42C 0024B38C 7F E3 FB 78 */ mr r3, r31 /* 8024E430 0024B390 4B FF F5 A9 */ bl StartFileDeleteAlt__17CMemoryCardDriverFv /* 8024E434 0024B394 48 00 00 64 */ b lbl_8024E498 lbl_8024E438: /* 8024E438 0024B398 7F E3 FB 78 */ mr r3, r31 /* 8024E43C 0024B39C 4B FF F8 FD */ bl CheckCardCapacity__17CMemoryCardDriverFv /* 8024E440 0024B3A0 48 00 00 58 */ b lbl_8024E498 lbl_8024E444: /* 8024E444 0024B3A4 2C 1E FC 15 */ cmpwi r30, -1003 /* 8024E448 0024B3A8 40 82 00 50 */ bne lbl_8024E498 /* 8024E44C 0024B3AC 1C 63 00 48 */ mulli r3, r3, 0x48 /* 8024E450 0024B3B0 38 80 00 03 */ li r4, 3 /* 8024E454 0024B3B4 1C 1C 00 48 */ mulli r0, r28, 0x48 /* 8024E458 0024B3B8 7C 9D 19 2E */ stwx r4, r29, r3 /* 8024E45C 0024B3BC 7C 1D 00 2E */ lwzx r0, r29, r0 /* 8024E460 0024B3C0 2C 00 00 02 */ cmpwi r0, 2 /* 8024E464 0024B3C4 40 82 00 18 */ bne lbl_8024E47C /* 8024E468 0024B3C8 38 00 00 07 */ li r0, 7 /* 8024E46C 0024B3CC 7F E3 FB 78 */ mr r3, r31 /* 8024E470 0024B3D0 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E474 0024B3D4 4B FF F6 61 */ bl IndexFiles__17CMemoryCardDriverFv /* 8024E478 0024B3D8 48 00 00 20 */ b lbl_8024E498 lbl_8024E47C: /* 8024E47C 0024B3DC 38 60 00 11 */ li r3, 0x11 /* 8024E480 0024B3E0 38 00 00 09 */ li r0, 9 /* 8024E484 0024B3E4 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024E488 0024B3E8 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024E48C 0024B3EC 48 00 00 0C */ b lbl_8024E498 lbl_8024E490: /* 8024E490 0024B3F0 38 A0 00 11 */ li r5, 0x11 /* 8024E494 0024B3F4 48 00 01 09 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E498: /* 8024E498 0024B3F8 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024E49C 0024B3FC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024E4A0 0024B400 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024E4A4 0024B404 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024E4A8 0024B408 83 81 00 10 */ lwz r28, 0x10(r1) /* 8024E4AC 0024B40C 7C 08 03 A6 */ mtlr r0 /* 8024E4B0 0024B410 38 21 00 20 */ addi r1, r1, 0x20 /* 8024E4B4 0024B414 4E 80 00 20 */ blr .global UpdateCardCheck__17CMemoryCardDriverFv UpdateCardCheck__17CMemoryCardDriverFv: /* 8024E4B8 0024B418 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E4BC 0024B41C 7C 08 02 A6 */ mflr r0 /* 8024E4C0 0024B420 2C 04 00 00 */ cmpwi r4, 0 /* 8024E4C4 0024B424 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E4C8 0024B428 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024E4CC 0024B42C 7C 7F 1B 78 */ mr r31, r3 /* 8024E4D0 0024B430 40 82 00 38 */ bne lbl_8024E508 /* 8024E4D4 0024B434 38 00 00 07 */ li r0, 7 /* 8024E4D8 0024B438 90 1F 00 10 */ stw r0, 0x10(r31) /* 8024E4DC 0024B43C 4B FF DD B5 */ bl GetCardFreeBytes__17CMemoryCardDriverFv /* 8024E4E0 0024B440 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8024E4E4 0024B444 41 82 00 48 */ beq lbl_8024E52C /* 8024E4E8 0024B448 80 7F 00 00 */ lwz r3, 0(r31) /* 8024E4EC 0024B44C 38 9F 00 28 */ addi r4, r31, 0x28 /* 8024E4F0 0024B450 48 0F F3 9D */ bl GetSerialNo__14CMemoryCardSysFiRx /* 8024E4F4 0024B454 2C 03 00 00 */ cmpwi r3, 0 /* 8024E4F8 0024B458 41 82 00 34 */ beq lbl_8024E52C /* 8024E4FC 0024B45C 7F E3 FB 78 */ mr r3, r31 /* 8024E500 0024B460 4B FF F8 19 */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E504 0024B464 48 00 00 28 */ b lbl_8024E52C lbl_8024E508: /* 8024E508 0024B468 2C 04 FF FA */ cmpwi r4, -6 /* 8024E50C 0024B46C 40 82 00 18 */ bne lbl_8024E524 /* 8024E510 0024B470 38 60 00 0E */ li r3, 0xe /* 8024E514 0024B474 38 00 00 01 */ li r0, 1 /* 8024E518 0024B478 90 7F 00 10 */ stw r3, 0x10(r31) /* 8024E51C 0024B47C 90 1F 00 14 */ stw r0, 0x14(r31) /* 8024E520 0024B480 48 00 00 0C */ b lbl_8024E52C lbl_8024E524: /* 8024E524 0024B484 38 A0 00 0E */ li r5, 0xe /* 8024E528 0024B488 48 00 00 75 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E52C: /* 8024E52C 0024B48C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E530 0024B490 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024E534 0024B494 7C 08 03 A6 */ mtlr r0 /* 8024E538 0024B498 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E53C 0024B49C 4E 80 00 20 */ blr .global UpdateMountCard__17CMemoryCardDriverFi UpdateMountCard__17CMemoryCardDriverFi: /* 8024E540 0024B4A0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E544 0024B4A4 7C 08 02 A6 */ mflr r0 /* 8024E548 0024B4A8 2C 04 00 00 */ cmpwi r4, 0 /* 8024E54C 0024B4AC 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E550 0024B4B0 40 82 00 14 */ bne lbl_8024E564 /* 8024E554 0024B4B4 38 00 00 06 */ li r0, 6 /* 8024E558 0024B4B8 90 03 00 10 */ stw r0, 0x10(r3) /* 8024E55C 0024B4BC 4B FF F8 0D */ bl StartCardCheck__17CMemoryCardDriverFv /* 8024E560 0024B4C0 48 00 00 2C */ b lbl_8024E58C lbl_8024E564: /* 8024E564 0024B4C4 2C 04 FF FA */ cmpwi r4, -6 /* 8024E568 0024B4C8 40 82 00 1C */ bne lbl_8024E584 /* 8024E56C 0024B4CC 38 80 00 06 */ li r4, 6 /* 8024E570 0024B4D0 38 00 00 01 */ li r0, 1 /* 8024E574 0024B4D4 90 83 00 10 */ stw r4, 0x10(r3) /* 8024E578 0024B4D8 90 03 00 14 */ stw r0, 0x14(r3) /* 8024E57C 0024B4DC 4B FF F7 ED */ bl StartCardCheck__17CMemoryCardDriverFv /* 8024E580 0024B4E0 48 00 00 0C */ b lbl_8024E58C lbl_8024E584: /* 8024E584 0024B4E4 38 A0 00 0D */ li r5, 0xd /* 8024E588 0024B4E8 48 00 00 15 */ bl HandleCardError__17CMemoryCardDriverFi lbl_8024E58C: /* 8024E58C 0024B4EC 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E590 0024B4F0 7C 08 03 A6 */ mtlr r0 /* 8024E594 0024B4F4 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E598 0024B4F8 4E 80 00 20 */ blr .global HandleCardError__17CMemoryCardDriverFi HandleCardError__17CMemoryCardDriverFi: /* 8024E59C 0024B4FC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E5A0 0024B500 7C 08 02 A6 */ mflr r0 /* 8024E5A4 0024B504 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E5A8 0024B508 38 04 00 0D */ addi r0, r4, 0xd /* 8024E5AC 0024B50C 28 00 00 0C */ cmplwi r0, 0xc /* 8024E5B0 0024B510 41 81 00 50 */ bgt lbl_8024E600 /* 8024E5B4 0024B514 3C 80 80 3F */ lis r4, lbl_803E8D38@ha /* 8024E5B8 0024B518 54 00 10 3A */ slwi r0, r0, 2 /* 8024E5BC 0024B51C 38 84 8D 38 */ addi r4, r4, lbl_803E8D38@l /* 8024E5C0 0024B520 7C 04 00 2E */ lwzx r0, r4, r0 /* 8024E5C4 0024B524 7C 09 03 A6 */ mtctr r0 /* 8024E5C8 0024B528 4E 80 04 20 */ bctr /* 8024E5CC 0024B52C 90 A3 00 10 */ stw r5, 0x10(r3) /* 8024E5D0 0024B530 38 00 00 04 */ li r0, 4 /* 8024E5D4 0024B534 90 03 00 14 */ stw r0, 0x14(r3) /* 8024E5D8 0024B538 48 00 00 28 */ b lbl_8024E600 /* 8024E5DC 0024B53C 4B FF F7 3D */ bl NoCardFound__17CMemoryCardDriverFv /* 8024E5E0 0024B540 48 00 00 20 */ b lbl_8024E600 /* 8024E5E4 0024B544 90 A3 00 10 */ stw r5, 0x10(r3) /* 8024E5E8 0024B548 38 00 00 03 */ li r0, 3 /* 8024E5EC 0024B54C 90 03 00 14 */ stw r0, 0x14(r3) /* 8024E5F0 0024B550 48 00 00 10 */ b lbl_8024E600 /* 8024E5F4 0024B554 90 A3 00 10 */ stw r5, 0x10(r3) /* 8024E5F8 0024B558 38 00 00 02 */ li r0, 2 /* 8024E5FC 0024B55C 90 03 00 14 */ stw r0, 0x14(r3) lbl_8024E600: /* 8024E600 0024B560 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E604 0024B564 7C 08 03 A6 */ mtlr r0 /* 8024E608 0024B568 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E60C 0024B56C 4E 80 00 20 */ blr .global Update__17CMemoryCardDriverFv Update__17CMemoryCardDriverFv: /* 8024E610 0024B570 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024E614 0024B574 7C 08 02 A6 */ mflr r0 /* 8024E618 0024B578 90 01 00 34 */ stw r0, 0x34(r1) /* 8024E61C 0024B57C 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024E620 0024B580 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024E624 0024B584 93 A1 00 24 */ stw r29, 0x24(r1) /* 8024E628 0024B588 7C 7D 1B 78 */ mr r29, r3 /* 8024E62C 0024B58C 38 61 00 08 */ addi r3, r1, 8 /* 8024E630 0024B590 80 9D 00 00 */ lwz r4, 0(r29) /* 8024E634 0024B594 48 0F FD D9 */ bl IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort /* 8024E638 0024B598 80 81 00 08 */ lwz r4, 8(r1) /* 8024E63C 0024B59C 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024E640 0024B5A0 80 01 00 10 */ lwz r0, 0x10(r1) /* 8024E644 0024B5A4 2C 04 FF FD */ cmpwi r4, -3 /* 8024E648 0024B5A8 90 81 00 14 */ stw r4, 0x14(r1) /* 8024E64C 0024B5AC 90 61 00 18 */ stw r3, 0x18(r1) /* 8024E650 0024B5B0 90 01 00 1C */ stw r0, 0x1c(r1) /* 8024E654 0024B5B4 40 82 00 30 */ bne lbl_8024E684 /* 8024E658 0024B5B8 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8024E65C 0024B5BC 2C 00 00 02 */ cmpwi r0, 2 /* 8024E660 0024B5C0 41 82 00 0C */ beq lbl_8024E66C /* 8024E664 0024B5C4 7F A3 EB 78 */ mr r3, r29 /* 8024E668 0024B5C8 4B FF F6 B1 */ bl NoCardFound__17CMemoryCardDriverFv lbl_8024E66C: /* 8024E66C 0024B5CC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 8024E670 0024B5D0 38 80 00 00 */ li r4, 0 /* 8024E674 0024B5D4 88 03 01 60 */ lbz r0, 0x160(r3) /* 8024E678 0024B5D8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 8024E67C 0024B5DC 98 03 01 60 */ stb r0, 0x160(r3) /* 8024E680 0024B5E0 48 00 01 4C */ b lbl_8024E7CC lbl_8024E684: /* 8024E684 0024B5E4 80 1D 00 10 */ lwz r0, 0x10(r29) /* 8024E688 0024B5E8 2C 00 00 19 */ cmpwi r0, 0x19 /* 8024E68C 0024B5EC 40 82 00 24 */ bne lbl_8024E6B0 /* 8024E690 0024B5F0 7F A3 EB 78 */ mr r3, r29 /* 8024E694 0024B5F4 4B FF F7 75 */ bl UpdateCardProbe__17CMemoryCardDriverFv /* 8024E698 0024B5F8 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 8024E69C 0024B5FC 38 80 00 00 */ li r4, 0 /* 8024E6A0 0024B600 88 03 01 60 */ lbz r0, 0x160(r3) /* 8024E6A4 0024B604 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f /* 8024E6A8 0024B608 98 03 01 60 */ stb r0, 0x160(r3) /* 8024E6AC 0024B60C 48 00 01 20 */ b lbl_8024E7CC lbl_8024E6B0: /* 8024E6B0 0024B610 80 7D 00 00 */ lwz r3, 0(r29) /* 8024E6B4 0024B614 48 0F FD 39 */ bl GetResultCode__14CMemoryCardSysFi /* 8024E6B8 0024B618 7C 60 1B 78 */ mr r0, r3 /* 8024E6BC 0024B61C 80 7D 00 10 */ lwz r3, 0x10(r29) /* 8024E6C0 0024B620 7C 1F 03 78 */ mr r31, r0 /* 8024E6C4 0024B624 3B C0 00 00 */ li r30, 0 /* 8024E6C8 0024B628 48 00 0A 85 */ bl IsCardBusy__17CMemoryCardDriverF6EState /* 8024E6CC 0024B62C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8024E6D0 0024B630 41 82 00 EC */ beq lbl_8024E7BC /* 8024E6D4 0024B634 80 7D 00 10 */ lwz r3, 0x10(r29) /* 8024E6D8 0024B638 3B C0 00 01 */ li r30, 1 /* 8024E6DC 0024B63C 38 03 FF E7 */ addi r0, r3, -25 /* 8024E6E0 0024B640 28 00 00 0C */ cmplwi r0, 0xc /* 8024E6E4 0024B644 41 81 00 D8 */ bgt lbl_8024E7BC /* 8024E6E8 0024B648 3C 60 80 3F */ lis r3, lbl_803E8D6C@ha /* 8024E6EC 0024B64C 54 00 10 3A */ slwi r0, r0, 2 /* 8024E6F0 0024B650 38 63 8D 6C */ addi r3, r3, lbl_803E8D6C@l /* 8024E6F4 0024B654 7C 03 00 2E */ lwzx r0, r3, r0 /* 8024E6F8 0024B658 7C 09 03 A6 */ mtctr r0 /* 8024E6FC 0024B65C 4E 80 04 20 */ bctr /* 8024E700 0024B660 7F A3 EB 78 */ mr r3, r29 /* 8024E704 0024B664 7F E4 FB 78 */ mr r4, r31 /* 8024E708 0024B668 4B FF FE 39 */ bl UpdateMountCard__17CMemoryCardDriverFi /* 8024E70C 0024B66C 48 00 00 B0 */ b lbl_8024E7BC /* 8024E710 0024B670 7F A3 EB 78 */ mr r3, r29 /* 8024E714 0024B674 7F E4 FB 78 */ mr r4, r31 /* 8024E718 0024B678 4B FF FD A1 */ bl UpdateCardCheck__17CMemoryCardDriverFv /* 8024E71C 0024B67C 48 00 00 A0 */ b lbl_8024E7BC /* 8024E720 0024B680 7F A3 EB 78 */ mr r3, r29 /* 8024E724 0024B684 7F E4 FB 78 */ mr r4, r31 /* 8024E728 0024B688 4B FF FB 75 */ bl UpdateFileDeleteBad__17CMemoryCardDriverFv /* 8024E72C 0024B68C 48 00 00 90 */ b lbl_8024E7BC /* 8024E730 0024B690 7F A3 EB 78 */ mr r3, r29 /* 8024E734 0024B694 7F E4 FB 78 */ mr r4, r31 /* 8024E738 0024B698 4B FF FC 55 */ bl UpdateFileRead__17CMemoryCardDriverFv /* 8024E73C 0024B69C 48 00 00 80 */ b lbl_8024E7BC /* 8024E740 0024B6A0 7F A3 EB 78 */ mr r3, r29 /* 8024E744 0024B6A4 7F E4 FB 78 */ mr r4, r31 /* 8024E748 0024B6A8 4B FF FB ED */ bl UpdateFileDeleteAlt__17CMemoryCardDriverFv /* 8024E74C 0024B6AC 48 00 00 70 */ b lbl_8024E7BC /* 8024E750 0024B6B0 7F A3 EB 78 */ mr r3, r29 /* 8024E754 0024B6B4 7F E4 FB 78 */ mr r4, r31 /* 8024E758 0024B6B8 4B FF FB 09 */ bl UpdateFileCreate__17CMemoryCardDriverFv /* 8024E75C 0024B6BC 48 00 00 60 */ b lbl_8024E7BC /* 8024E760 0024B6C0 7F A3 EB 78 */ mr r3, r29 /* 8024E764 0024B6C4 7F E4 FB 78 */ mr r4, r31 /* 8024E768 0024B6C8 4B FF FA 5D */ bl UpdateFileWrite__17CMemoryCardDriverFv /* 8024E76C 0024B6CC 48 00 00 50 */ b lbl_8024E7BC /* 8024E770 0024B6D0 7F A3 EB 78 */ mr r3, r29 /* 8024E774 0024B6D4 7F E4 FB 78 */ mr r4, r31 /* 8024E778 0024B6D8 4B FF FA 11 */ bl UpdateFileCreateTransactional__17CMemoryCardDriverFv /* 8024E77C 0024B6DC 48 00 00 40 */ b lbl_8024E7BC /* 8024E780 0024B6E0 7F A3 EB 78 */ mr r3, r29 /* 8024E784 0024B6E4 7F E4 FB 78 */ mr r4, r31 /* 8024E788 0024B6E8 4B FF F9 59 */ bl UpdateFileWriteTransactional__17CMemoryCardDriverFv /* 8024E78C 0024B6EC 48 00 00 30 */ b lbl_8024E7BC /* 8024E790 0024B6F0 7F A3 EB 78 */ mr r3, r29 /* 8024E794 0024B6F4 7F E4 FB 78 */ mr r4, r31 /* 8024E798 0024B6F8 4B FF F7 A5 */ bl UpdateFileAltDeleteTransactional__17CMemoryCardDriverFv /* 8024E79C 0024B6FC 48 00 00 20 */ b lbl_8024E7BC /* 8024E7A0 0024B700 7F A3 EB 78 */ mr r3, r29 /* 8024E7A4 0024B704 7F E4 FB 78 */ mr r4, r31 /* 8024E7A8 0024B708 4B FF F8 FD */ bl UpdateFileRenameBtoA__17CMemoryCardDriverFv /* 8024E7AC 0024B70C 48 00 00 10 */ b lbl_8024E7BC /* 8024E7B0 0024B710 7F A3 EB 78 */ mr r3, r29 /* 8024E7B4 0024B714 7F E4 FB 78 */ mr r4, r31 /* 8024E7B8 0024B718 4B FF F7 31 */ bl UpdateCardFormat__17CMemoryCardDriverFv lbl_8024E7BC: /* 8024E7BC 0024B71C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) /* 8024E7C0 0024B720 88 03 01 60 */ lbz r0, 0x160(r3) /* 8024E7C4 0024B724 53 C0 07 FE */ rlwimi r0, r30, 0, 0x1f, 0x1f /* 8024E7C8 0024B728 98 03 01 60 */ stb r0, 0x160(r3) lbl_8024E7CC: /* 8024E7CC 0024B72C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024E7D0 0024B730 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024E7D4 0024B734 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024E7D8 0024B738 83 A1 00 24 */ lwz r29, 0x24(r1) /* 8024E7DC 0024B73C 7C 08 03 A6 */ mtlr r0 /* 8024E7E0 0024B740 38 21 00 30 */ addi r1, r1, 0x30 /* 8024E7E4 0024B744 4E 80 00 20 */ blr .global __dt__17CMemoryCardDriverFv __dt__17CMemoryCardDriverFv: /* 8024E7E8 0024B748 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024E7EC 0024B74C 7C 08 02 A6 */ mflr r0 /* 8024E7F0 0024B750 90 01 00 24 */ stw r0, 0x24(r1) /* 8024E7F4 0024B754 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024E7F8 0024B758 7C 9F 23 78 */ mr r31, r4 /* 8024E7FC 0024B75C 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024E800 0024B760 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024E804 0024B764 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024E808 0024B768 93 81 00 10 */ stw r28, 0x10(r1) /* 8024E80C 0024B76C 41 82 01 58 */ beq lbl_8024E964 /* 8024E810 0024B770 80 7E 00 00 */ lwz r3, 0(r30) /* 8024E814 0024B774 48 0F FB 59 */ bl UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort /* 8024E818 0024B778 38 C0 00 00 */ li r6, 0 /* 8024E81C 0024B77C 80 AD A0 78 */ lwz r5, gpMain@sda21(r13) /* 8024E820 0024B780 98 CD A5 58 */ stb r6, lbl_805A9118@sda21(r13) /* 8024E824 0024B784 38 7E 01 98 */ addi r3, r30, 0x198 /* 8024E828 0024B788 38 80 FF FF */ li r4, -1 /* 8024E82C 0024B78C 88 05 01 60 */ lbz r0, 0x160(r5) /* 8024E830 0024B790 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f /* 8024E834 0024B794 98 05 01 60 */ stb r0, 0x160(r5) /* 8024E838 0024B798 48 00 03 61 */ bl sub_8024eb98 /* 8024E83C 0024B79C 38 7E 01 00 */ addi r3, r30, 0x100 /* 8024E840 0024B7A0 38 80 FF FF */ li r4, -1 /* 8024E844 0024B7A4 48 00 01 45 */ bl sub_8024e988 /* 8024E848 0024B7A8 34 1E 00 E4 */ addic. r0, r30, 0xe4 /* 8024E84C 0024B7AC 41 82 00 AC */ beq lbl_8024E8F8 /* 8024E850 0024B7B0 3B 9E 00 E8 */ addi r28, r30, 0xe8 /* 8024E854 0024B7B4 3B A0 00 00 */ li r29, 0 /* 8024E858 0024B7B8 48 00 00 8C */ b lbl_8024E8E4 lbl_8024E85C: /* 8024E85C 0024B7BC 28 1C 00 00 */ cmplwi r28, 0 /* 8024E860 0024B7C0 41 82 00 7C */ beq lbl_8024E8DC /* 8024E864 0024B7C4 88 1C 00 00 */ lbz r0, 0(r28) /* 8024E868 0024B7C8 28 00 00 00 */ cmplwi r0, 0 /* 8024E86C 0024B7CC 41 82 00 70 */ beq lbl_8024E8DC /* 8024E870 0024B7D0 80 7C 00 04 */ lwz r3, 4(r28) /* 8024E874 0024B7D4 28 03 00 00 */ cmplwi r3, 0 /* 8024E878 0024B7D8 41 82 00 64 */ beq lbl_8024E8DC /* 8024E87C 0024B7DC 41 82 00 5C */ beq lbl_8024E8D8 /* 8024E880 0024B7E0 80 C3 00 00 */ lwz r6, 0(r3) /* 8024E884 0024B7E4 38 80 00 00 */ li r4, 0 /* 8024E888 0024B7E8 2C 06 00 00 */ cmpwi r6, 0 /* 8024E88C 0024B7EC 40 81 00 44 */ ble lbl_8024E8D0 /* 8024E890 0024B7F0 2C 06 00 08 */ cmpwi r6, 8 /* 8024E894 0024B7F4 38 A6 FF F8 */ addi r5, r6, -8 /* 8024E898 0024B7F8 40 81 00 20 */ ble lbl_8024E8B8 /* 8024E89C 0024B7FC 38 05 00 07 */ addi r0, r5, 7 /* 8024E8A0 0024B800 54 00 E8 FE */ srwi r0, r0, 3 /* 8024E8A4 0024B804 7C 09 03 A6 */ mtctr r0 /* 8024E8A8 0024B808 2C 05 00 00 */ cmpwi r5, 0 /* 8024E8AC 0024B80C 40 81 00 0C */ ble lbl_8024E8B8 lbl_8024E8B0: /* 8024E8B0 0024B810 38 84 00 08 */ addi r4, r4, 8 /* 8024E8B4 0024B814 42 00 FF FC */ bdnz lbl_8024E8B0 lbl_8024E8B8: /* 8024E8B8 0024B818 7C 04 30 50 */ subf r0, r4, r6 /* 8024E8BC 0024B81C 7C 09 03 A6 */ mtctr r0 /* 8024E8C0 0024B820 7C 04 30 00 */ cmpw r4, r6 /* 8024E8C4 0024B824 40 80 00 0C */ bge lbl_8024E8D0 lbl_8024E8C8: /* 8024E8C8 0024B828 38 84 00 01 */ addi r4, r4, 1 /* 8024E8CC 0024B82C 42 00 FF FC */ bdnz lbl_8024E8C8 lbl_8024E8D0: /* 8024E8D0 0024B830 38 00 00 00 */ li r0, 0 /* 8024E8D4 0024B834 90 03 00 00 */ stw r0, 0(r3) lbl_8024E8D8: /* 8024E8D8 0024B838 48 0C 70 59 */ bl Free__7CMemoryFPCv lbl_8024E8DC: /* 8024E8DC 0024B83C 3B 9C 00 08 */ addi r28, r28, 8 /* 8024E8E0 0024B840 3B BD 00 01 */ addi r29, r29, 1 lbl_8024E8E4: /* 8024E8E4 0024B844 80 1E 00 E4 */ lwz r0, 0xe4(r30) /* 8024E8E8 0024B848 7C 1D 00 00 */ cmpw r29, r0 /* 8024E8EC 0024B84C 41 80 FF 70 */ blt lbl_8024E85C /* 8024E8F0 0024B850 38 00 00 00 */ li r0, 0 /* 8024E8F4 0024B854 90 1E 00 E4 */ stw r0, 0xe4(r30) lbl_8024E8F8: /* 8024E8F8 0024B858 34 1E 00 30 */ addic. r0, r30, 0x30 /* 8024E8FC 0024B85C 41 82 00 58 */ beq lbl_8024E954 /* 8024E900 0024B860 80 BE 00 30 */ lwz r5, 0x30(r30) /* 8024E904 0024B864 38 60 00 00 */ li r3, 0 /* 8024E908 0024B868 2C 05 00 00 */ cmpwi r5, 0 /* 8024E90C 0024B86C 40 81 00 40 */ ble lbl_8024E94C /* 8024E910 0024B870 2C 05 00 08 */ cmpwi r5, 8 /* 8024E914 0024B874 38 85 FF F8 */ addi r4, r5, -8 /* 8024E918 0024B878 40 81 00 20 */ ble lbl_8024E938 /* 8024E91C 0024B87C 38 04 00 07 */ addi r0, r4, 7 /* 8024E920 0024B880 54 00 E8 FE */ srwi r0, r0, 3 /* 8024E924 0024B884 7C 09 03 A6 */ mtctr r0 /* 8024E928 0024B888 2C 04 00 00 */ cmpwi r4, 0 /* 8024E92C 0024B88C 40 81 00 0C */ ble lbl_8024E938 lbl_8024E930: /* 8024E930 0024B890 38 63 00 08 */ addi r3, r3, 8 /* 8024E934 0024B894 42 00 FF FC */ bdnz lbl_8024E930 lbl_8024E938: /* 8024E938 0024B898 7C 03 28 50 */ subf r0, r3, r5 /* 8024E93C 0024B89C 7C 09 03 A6 */ mtctr r0 /* 8024E940 0024B8A0 7C 03 28 00 */ cmpw r3, r5 /* 8024E944 0024B8A4 40 80 00 08 */ bge lbl_8024E94C lbl_8024E948: /* 8024E948 0024B8A8 42 00 00 00 */ bdnz lbl_8024E948 lbl_8024E94C: /* 8024E94C 0024B8AC 38 00 00 00 */ li r0, 0 /* 8024E950 0024B8B0 90 1E 00 30 */ stw r0, 0x30(r30) lbl_8024E954: /* 8024E954 0024B8B4 7F E0 07 35 */ extsh. r0, r31 /* 8024E958 0024B8B8 40 81 00 0C */ ble lbl_8024E964 /* 8024E95C 0024B8BC 7F C3 F3 78 */ mr r3, r30 /* 8024E960 0024B8C0 48 0C 6F D1 */ bl Free__7CMemoryFPCv lbl_8024E964: /* 8024E964 0024B8C4 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024E968 0024B8C8 7F C3 F3 78 */ mr r3, r30 /* 8024E96C 0024B8CC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024E970 0024B8D0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024E974 0024B8D4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024E978 0024B8D8 83 81 00 10 */ lwz r28, 0x10(r1) /* 8024E97C 0024B8DC 7C 08 03 A6 */ mtlr r0 /* 8024E980 0024B8E0 38 21 00 20 */ addi r1, r1, 0x20 /* 8024E984 0024B8E4 4E 80 00 20 */ blr .global sub_8024e988 sub_8024e988: /* 8024E988 0024B8E8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024E98C 0024B8EC 7C 08 02 A6 */ mflr r0 /* 8024E990 0024B8F0 90 01 00 14 */ stw r0, 0x14(r1) /* 8024E994 0024B8F4 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024E998 0024B8F8 7C 9F 23 78 */ mr r31, r4 /* 8024E99C 0024B8FC 93 C1 00 08 */ stw r30, 8(r1) /* 8024E9A0 0024B900 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024E9A4 0024B904 41 82 00 18 */ beq lbl_8024E9BC /* 8024E9A8 0024B908 48 00 00 31 */ bl sub_8024e9d8 /* 8024E9AC 0024B90C 7F E0 07 35 */ extsh. r0, r31 /* 8024E9B0 0024B910 40 81 00 0C */ ble lbl_8024E9BC /* 8024E9B4 0024B914 7F C3 F3 78 */ mr r3, r30 /* 8024E9B8 0024B918 48 0C 6F 79 */ bl Free__7CMemoryFPCv lbl_8024E9BC: /* 8024E9BC 0024B91C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024E9C0 0024B920 7F C3 F3 78 */ mr r3, r30 /* 8024E9C4 0024B924 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024E9C8 0024B928 83 C1 00 08 */ lwz r30, 8(r1) /* 8024E9CC 0024B92C 7C 08 03 A6 */ mtlr r0 /* 8024E9D0 0024B930 38 21 00 10 */ addi r1, r1, 0x10 /* 8024E9D4 0024B934 4E 80 00 20 */ blr .global sub_8024e9d8 sub_8024e9d8: /* 8024E9D8 0024B938 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024E9DC 0024B93C 7C 08 02 A6 */ mflr r0 /* 8024E9E0 0024B940 90 01 00 24 */ stw r0, 0x24(r1) /* 8024E9E4 0024B944 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024E9E8 0024B948 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024E9EC 0024B94C 3B C0 00 00 */ li r30, 0 /* 8024E9F0 0024B950 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024E9F4 0024B954 7C 7D 1B 78 */ mr r29, r3 /* 8024E9F8 0024B958 3B FD 00 04 */ addi r31, r29, 4 /* 8024E9FC 0024B95C 48 00 00 14 */ b lbl_8024EA10 lbl_8024EA00: /* 8024EA00 0024B960 7F E3 FB 78 */ mr r3, r31 /* 8024EA04 0024B964 48 00 00 3D */ bl sub_8024ea40 /* 8024EA08 0024B968 3B FF 00 48 */ addi r31, r31, 0x48 /* 8024EA0C 0024B96C 3B DE 00 01 */ addi r30, r30, 1 lbl_8024EA10: /* 8024EA10 0024B970 80 1D 00 00 */ lwz r0, 0(r29) /* 8024EA14 0024B974 7C 1E 00 00 */ cmpw r30, r0 /* 8024EA18 0024B978 41 80 FF E8 */ blt lbl_8024EA00 /* 8024EA1C 0024B97C 38 00 00 00 */ li r0, 0 /* 8024EA20 0024B980 90 1D 00 00 */ stw r0, 0(r29) /* 8024EA24 0024B984 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024EA28 0024B988 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024EA2C 0024B98C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024EA30 0024B990 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024EA34 0024B994 7C 08 03 A6 */ mtlr r0 /* 8024EA38 0024B998 38 21 00 20 */ addi r1, r1, 0x20 /* 8024EA3C 0024B99C 4E 80 00 20 */ blr .global sub_8024ea40 sub_8024ea40: /* 8024EA40 0024B9A0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EA44 0024B9A4 7C 08 02 A6 */ mflr r0 /* 8024EA48 0024B9A8 38 80 FF FF */ li r4, -1 /* 8024EA4C 0024B9AC 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EA50 0024B9B0 48 00 00 15 */ bl "__dt__Q24rstl29pairFv" /* 8024EA54 0024B9B4 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EA58 0024B9B8 7C 08 03 A6 */ mtlr r0 /* 8024EA5C 0024B9BC 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EA60 0024B9C0 4E 80 00 20 */ blr .global "__dt__Q24rstl29pairFv" "__dt__Q24rstl29pairFv": /* 8024EA64 0024B9C4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EA68 0024B9C8 7C 08 02 A6 */ mflr r0 /* 8024EA6C 0024B9CC 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EA70 0024B9D0 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024EA74 0024B9D4 7C 9F 23 78 */ mr r31, r4 /* 8024EA78 0024B9D8 93 C1 00 08 */ stw r30, 8(r1) /* 8024EA7C 0024B9DC 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024EA80 0024B9E0 41 82 00 20 */ beq lbl_8024EAA0 /* 8024EA84 0024B9E4 38 7E 00 04 */ addi r3, r30, 4 /* 8024EA88 0024B9E8 38 80 FF FF */ li r4, -1 /* 8024EA8C 0024B9EC 48 00 00 31 */ bl __dt__19SMemoryCardFileInfoFv /* 8024EA90 0024B9F0 7F E0 07 35 */ extsh. r0, r31 /* 8024EA94 0024B9F4 40 81 00 0C */ ble lbl_8024EAA0 /* 8024EA98 0024B9F8 7F C3 F3 78 */ mr r3, r30 /* 8024EA9C 0024B9FC 48 0C 6E 95 */ bl Free__7CMemoryFPCv lbl_8024EAA0: /* 8024EAA0 0024BA00 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EAA4 0024BA04 7F C3 F3 78 */ mr r3, r30 /* 8024EAA8 0024BA08 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024EAAC 0024BA0C 83 C1 00 08 */ lwz r30, 8(r1) /* 8024EAB0 0024BA10 7C 08 03 A6 */ mtlr r0 /* 8024EAB4 0024BA14 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EAB8 0024BA18 4E 80 00 20 */ blr .global __dt__19SMemoryCardFileInfoFv __dt__19SMemoryCardFileInfoFv: /* 8024EABC 0024BA1C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 8024EAC0 0024BA20 7C 08 02 A6 */ mflr r0 /* 8024EAC4 0024BA24 90 01 00 34 */ stw r0, 0x34(r1) /* 8024EAC8 0024BA28 93 E1 00 2C */ stw r31, 0x2c(r1) /* 8024EACC 0024BA2C 7C 9F 23 78 */ mr r31, r4 /* 8024EAD0 0024BA30 93 C1 00 28 */ stw r30, 0x28(r1) /* 8024EAD4 0024BA34 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024EAD8 0024BA38 41 82 00 A4 */ beq lbl_8024EB7C /* 8024EADC 0024BA3C 34 1E 00 34 */ addic. r0, r30, 0x34 /* 8024EAE0 0024BA40 41 82 00 40 */ beq lbl_8024EB20 /* 8024EAE4 0024BA44 80 7E 00 40 */ lwz r3, 0x40(r30) /* 8024EAE8 0024BA48 80 1E 00 38 */ lwz r0, 0x38(r30) /* 8024EAEC 0024BA4C 90 61 00 1C */ stw r3, 0x1c(r1) /* 8024EAF0 0024BA50 7C 83 02 14 */ add r4, r3, r0 /* 8024EAF4 0024BA54 7C 03 20 50 */ subf r0, r3, r4 /* 8024EAF8 0024BA58 90 81 00 24 */ stw r4, 0x24(r1) /* 8024EAFC 0024BA5C 90 81 00 20 */ stw r4, 0x20(r1) /* 8024EB00 0024BA60 90 61 00 18 */ stw r3, 0x18(r1) /* 8024EB04 0024BA64 7C 09 03 A6 */ mtctr r0 /* 8024EB08 0024BA68 7C 03 20 40 */ cmplw r3, r4 /* 8024EB0C 0024BA6C 41 82 00 08 */ beq lbl_8024EB14 lbl_8024EB10: /* 8024EB10 0024BA70 42 00 00 00 */ bdnz lbl_8024EB10 lbl_8024EB14: /* 8024EB14 0024BA74 28 03 00 00 */ cmplwi r3, 0 /* 8024EB18 0024BA78 41 82 00 08 */ beq lbl_8024EB20 /* 8024EB1C 0024BA7C 48 0C 6E 15 */ bl Free__7CMemoryFPCv lbl_8024EB20: /* 8024EB20 0024BA80 34 1E 00 24 */ addic. r0, r30, 0x24 /* 8024EB24 0024BA84 41 82 00 38 */ beq lbl_8024EB5C /* 8024EB28 0024BA88 80 7E 00 30 */ lwz r3, 0x30(r30) /* 8024EB2C 0024BA8C 80 1E 00 28 */ lwz r0, 0x28(r30) /* 8024EB30 0024BA90 90 61 00 0C */ stw r3, 0xc(r1) /* 8024EB34 0024BA94 7C 83 02 14 */ add r4, r3, r0 /* 8024EB38 0024BA98 7C 03 20 50 */ subf r0, r3, r4 /* 8024EB3C 0024BA9C 90 81 00 14 */ stw r4, 0x14(r1) /* 8024EB40 0024BAA0 90 81 00 10 */ stw r4, 0x10(r1) /* 8024EB44 0024BAA4 90 61 00 08 */ stw r3, 8(r1) /* 8024EB48 0024BAA8 7C 09 03 A6 */ mtctr r0 /* 8024EB4C 0024BAAC 7C 03 20 40 */ cmplw r3, r4 /* 8024EB50 0024BAB0 41 82 00 08 */ beq lbl_8024EB58 lbl_8024EB54: /* 8024EB54 0024BAB4 42 00 00 00 */ bdnz lbl_8024EB54 lbl_8024EB58: /* 8024EB58 0024BAB8 48 0C 6D D9 */ bl Free__7CMemoryFPCv lbl_8024EB5C: /* 8024EB5C 0024BABC 34 1E 00 14 */ addic. r0, r30, 0x14 /* 8024EB60 0024BAC0 41 82 00 0C */ beq lbl_8024EB6C /* 8024EB64 0024BAC4 38 7E 00 14 */ addi r3, r30, 0x14 /* 8024EB68 0024BAC8 48 0E EF 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_8024EB6C: /* 8024EB6C 0024BACC 7F E0 07 35 */ extsh. r0, r31 /* 8024EB70 0024BAD0 40 81 00 0C */ ble lbl_8024EB7C /* 8024EB74 0024BAD4 7F C3 F3 78 */ mr r3, r30 /* 8024EB78 0024BAD8 48 0C 6D B9 */ bl Free__7CMemoryFPCv lbl_8024EB7C: /* 8024EB7C 0024BADC 80 01 00 34 */ lwz r0, 0x34(r1) /* 8024EB80 0024BAE0 7F C3 F3 78 */ mr r3, r30 /* 8024EB84 0024BAE4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 8024EB88 0024BAE8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 8024EB8C 0024BAEC 7C 08 03 A6 */ mtlr r0 /* 8024EB90 0024BAF0 38 21 00 30 */ addi r1, r1, 0x30 /* 8024EB94 0024BAF4 4E 80 00 20 */ blr .global sub_8024eb98 sub_8024eb98: /* 8024EB98 0024BAF8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EB9C 0024BAFC 7C 08 02 A6 */ mflr r0 /* 8024EBA0 0024BB00 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EBA4 0024BB04 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024EBA8 0024BB08 7C 9F 23 78 */ mr r31, r4 /* 8024EBAC 0024BB0C 93 C1 00 08 */ stw r30, 8(r1) /* 8024EBB0 0024BB10 7C 7E 1B 79 */ or. r30, r3, r3 /* 8024EBB4 0024BB14 41 82 00 20 */ beq lbl_8024EBD4 /* 8024EBB8 0024BB18 80 7E 00 00 */ lwz r3, 0(r30) /* 8024EBBC 0024BB1C 38 80 00 01 */ li r4, 1 /* 8024EBC0 0024BB20 4B FF EA AD */ bl __dt__13CCardFileInfoFv /* 8024EBC4 0024BB24 7F E0 07 35 */ extsh. r0, r31 /* 8024EBC8 0024BB28 40 81 00 0C */ ble lbl_8024EBD4 /* 8024EBCC 0024BB2C 7F C3 F3 78 */ mr r3, r30 /* 8024EBD0 0024BB30 48 0C 6D 61 */ bl Free__7CMemoryFPCv lbl_8024EBD4: /* 8024EBD4 0024BB34 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EBD8 0024BB38 7F C3 F3 78 */ mr r3, r30 /* 8024EBDC 0024BB3C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024EBE0 0024BB40 83 C1 00 08 */ lwz r30, 8(r1) /* 8024EBE4 0024BB44 7C 08 03 A6 */ mtlr r0 /* 8024EBE8 0024BB48 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EBEC 0024BB4C 4E 80 00 20 */ blr .global ClearFileInfo__17CMemoryCardDriverFv ClearFileInfo__17CMemoryCardDriverFv: /* 8024EBF0 0024BB50 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EBF4 0024BB54 7C 08 02 A6 */ mflr r0 /* 8024EBF8 0024BB58 38 80 00 00 */ li r4, 0 /* 8024EBFC 0024BB5C 38 63 01 98 */ addi r3, r3, 0x198 /* 8024EC00 0024BB60 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EC04 0024BB64 4B FF EA 21 */ bl sub_8024d624 /* 8024EC08 0024BB68 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EC0C 0024BB6C 7C 08 03 A6 */ mtlr r0 /* 8024EC10 0024BB70 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EC14 0024BB74 4E 80 00 20 */ blr .global __ct__17CMemoryCardDriverFv __ct__17CMemoryCardDriverFv: /* 8024EC18 0024BB78 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 8024EC1C 0024BB7C 7C 08 02 A6 */ mflr r0 /* 8024EC20 0024BB80 39 20 00 00 */ li r9, 0 /* 8024EC24 0024BB84 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8024EC28 0024BB88 38 00 00 1D */ li r0, 0x1d /* 8024EC2C 0024BB8C 93 E1 00 CC */ stw r31, 0xcc(r1) /* 8024EC30 0024BB90 7D 1F 43 78 */ mr r31, r8 /* 8024EC34 0024BB94 93 C1 00 C8 */ stw r30, 0xc8(r1) /* 8024EC38 0024BB98 7C 7E 1B 78 */ mr r30, r3 /* 8024EC3C 0024BB9C 90 83 00 00 */ stw r4, 0(r3) /* 8024EC40 0024BBA0 38 60 00 AE */ li r3, 0xae /* 8024EC44 0024BBA4 38 9E 00 34 */ addi r4, r30, 0x34 /* 8024EC48 0024BBA8 90 BE 00 04 */ stw r5, 4(r30) /* 8024EC4C 0024BBAC 90 DE 00 08 */ stw r6, 8(r30) /* 8024EC50 0024BBB0 90 FE 00 0C */ stw r7, 0xc(r30) /* 8024EC54 0024BBB4 91 3E 00 10 */ stw r9, 0x10(r30) /* 8024EC58 0024BBB8 91 3E 00 14 */ stw r9, 0x14(r30) /* 8024EC5C 0024BBBC 91 3E 00 18 */ stw r9, 0x18(r30) /* 8024EC60 0024BBC0 91 3E 00 1C */ stw r9, 0x1c(r30) /* 8024EC64 0024BBC4 91 3E 00 20 */ stw r9, 0x20(r30) /* 8024EC68 0024BBC8 91 3E 00 2C */ stw r9, 0x2c(r30) /* 8024EC6C 0024BBCC 91 3E 00 28 */ stw r9, 0x28(r30) /* 8024EC70 0024BBD0 90 7E 00 30 */ stw r3, 0x30(r30) /* 8024EC74 0024BBD4 7C 09 03 A6 */ mtctr r0 lbl_8024EC78: /* 8024EC78 0024BBD8 28 04 00 00 */ cmplwi r4, 0 /* 8024EC7C 0024BBDC 41 82 00 0C */ beq lbl_8024EC88 /* 8024EC80 0024BBE0 88 0D 97 10 */ lbz r0, lbl_805A82D0@sda21(r13) /* 8024EC84 0024BBE4 98 04 00 00 */ stb r0, 0(r4) lbl_8024EC88: /* 8024EC88 0024BBE8 34 84 00 01 */ addic. r4, r4, 1 /* 8024EC8C 0024BBEC 41 82 00 0C */ beq lbl_8024EC98 /* 8024EC90 0024BBF0 88 0D 97 10 */ lbz r0, lbl_805A82D0@sda21(r13) /* 8024EC94 0024BBF4 98 04 00 00 */ stb r0, 0(r4) lbl_8024EC98: /* 8024EC98 0024BBF8 34 84 00 01 */ addic. r4, r4, 1 /* 8024EC9C 0024BBFC 41 82 00 0C */ beq lbl_8024ECA8 /* 8024ECA0 0024BC00 88 0D 97 10 */ lbz r0, lbl_805A82D0@sda21(r13) /* 8024ECA4 0024BC04 98 04 00 00 */ stb r0, 0(r4) lbl_8024ECA8: /* 8024ECA8 0024BC08 34 84 00 01 */ addic. r4, r4, 1 /* 8024ECAC 0024BC0C 41 82 00 0C */ beq lbl_8024ECB8 /* 8024ECB0 0024BC10 88 0D 97 10 */ lbz r0, lbl_805A82D0@sda21(r13) /* 8024ECB4 0024BC14 98 04 00 00 */ stb r0, 0(r4) lbl_8024ECB8: /* 8024ECB8 0024BC18 34 84 00 01 */ addic. r4, r4, 1 /* 8024ECBC 0024BC1C 41 82 00 0C */ beq lbl_8024ECC8 /* 8024ECC0 0024BC20 88 0D 97 10 */ lbz r0, lbl_805A82D0@sda21(r13) /* 8024ECC4 0024BC24 98 04 00 00 */ stb r0, 0(r4) lbl_8024ECC8: /* 8024ECC8 0024BC28 34 84 00 01 */ addic. r4, r4, 1 /* 8024ECCC 0024BC2C 41 82 00 0C */ beq lbl_8024ECD8 /* 8024ECD0 0024BC30 88 0D 97 10 */ lbz r0, lbl_805A82D0@sda21(r13) /* 8024ECD4 0024BC34 98 04 00 00 */ stb r0, 0(r4) lbl_8024ECD8: /* 8024ECD8 0024BC38 39 29 00 05 */ addi r9, r9, 5 /* 8024ECDC 0024BC3C 38 84 00 01 */ addi r4, r4, 1 /* 8024ECE0 0024BC40 42 00 FF 98 */ bdnz lbl_8024EC78 /* 8024ECE4 0024BC44 38 60 00 00 */ li r3, 0 /* 8024ECE8 0024BC48 38 00 00 03 */ li r0, 3 /* 8024ECEC 0024BC4C 34 9E 00 E8 */ addic. r4, r30, 0xe8 /* 8024ECF0 0024BC50 98 61 00 08 */ stb r3, 8(r1) /* 8024ECF4 0024BC54 90 61 00 0C */ stw r3, 0xc(r1) /* 8024ECF8 0024BC58 90 1E 00 E4 */ stw r0, 0xe4(r30) /* 8024ECFC 0024BC5C 41 82 00 10 */ beq lbl_8024ED0C /* 8024ED00 0024BC60 98 64 00 00 */ stb r3, 0(r4) /* 8024ED04 0024BC64 98 61 00 08 */ stb r3, 8(r1) /* 8024ED08 0024BC68 90 64 00 04 */ stw r3, 4(r4) lbl_8024ED0C: /* 8024ED0C 0024BC6C 34 84 00 08 */ addic. r4, r4, 8 /* 8024ED10 0024BC70 41 82 00 14 */ beq lbl_8024ED24 /* 8024ED14 0024BC74 88 01 00 08 */ lbz r0, 8(r1) /* 8024ED18 0024BC78 98 04 00 00 */ stb r0, 0(r4) /* 8024ED1C 0024BC7C 90 64 00 04 */ stw r3, 4(r4) /* 8024ED20 0024BC80 98 61 00 08 */ stb r3, 8(r1) lbl_8024ED24: /* 8024ED24 0024BC84 34 84 00 08 */ addic. r4, r4, 8 /* 8024ED28 0024BC88 41 82 00 14 */ beq lbl_8024ED3C /* 8024ED2C 0024BC8C 88 01 00 08 */ lbz r0, 8(r1) /* 8024ED30 0024BC90 98 04 00 00 */ stb r0, 0(r4) /* 8024ED34 0024BC94 90 64 00 04 */ stw r3, 4(r4) /* 8024ED38 0024BC98 98 61 00 08 */ stb r3, 8(r1) lbl_8024ED3C: /* 8024ED3C 0024BC9C 88 01 00 08 */ lbz r0, 8(r1) /* 8024ED40 0024BCA0 28 00 00 00 */ cmplwi r0, 0 /* 8024ED44 0024BCA4 41 82 00 6C */ beq lbl_8024EDB0 /* 8024ED48 0024BCA8 80 61 00 0C */ lwz r3, 0xc(r1) /* 8024ED4C 0024BCAC 28 03 00 00 */ cmplwi r3, 0 /* 8024ED50 0024BCB0 41 82 00 60 */ beq lbl_8024EDB0 /* 8024ED54 0024BCB4 41 82 00 58 */ beq lbl_8024EDAC /* 8024ED58 0024BCB8 80 C3 00 00 */ lwz r6, 0(r3) /* 8024ED5C 0024BCBC 38 80 00 00 */ li r4, 0 /* 8024ED60 0024BCC0 2C 06 00 00 */ cmpwi r6, 0 /* 8024ED64 0024BCC4 40 81 00 40 */ ble lbl_8024EDA4 /* 8024ED68 0024BCC8 2C 06 00 08 */ cmpwi r6, 8 /* 8024ED6C 0024BCCC 38 A6 FF F8 */ addi r5, r6, -8 /* 8024ED70 0024BCD0 40 81 00 20 */ ble lbl_8024ED90 /* 8024ED74 0024BCD4 38 05 00 07 */ addi r0, r5, 7 /* 8024ED78 0024BCD8 54 00 E8 FE */ srwi r0, r0, 3 /* 8024ED7C 0024BCDC 7C 09 03 A6 */ mtctr r0 /* 8024ED80 0024BCE0 2C 05 00 00 */ cmpwi r5, 0 /* 8024ED84 0024BCE4 40 81 00 0C */ ble lbl_8024ED90 lbl_8024ED88: /* 8024ED88 0024BCE8 38 84 00 08 */ addi r4, r4, 8 /* 8024ED8C 0024BCEC 42 00 FF FC */ bdnz lbl_8024ED88 lbl_8024ED90: /* 8024ED90 0024BCF0 7C 04 30 50 */ subf r0, r4, r6 /* 8024ED94 0024BCF4 7C 09 03 A6 */ mtctr r0 /* 8024ED98 0024BCF8 7C 04 30 00 */ cmpw r4, r6 /* 8024ED9C 0024BCFC 40 80 00 08 */ bge lbl_8024EDA4 lbl_8024EDA0: /* 8024EDA0 0024BD00 42 00 00 00 */ bdnz lbl_8024EDA0 lbl_8024EDA4: /* 8024EDA4 0024BD04 38 00 00 00 */ li r0, 0 /* 8024EDA8 0024BD08 90 03 00 00 */ stw r0, 0(r3) lbl_8024EDAC: /* 8024EDAC 0024BD0C 48 0C 6B 85 */ bl Free__7CMemoryFPCv lbl_8024EDB0: /* 8024EDB0 0024BD10 38 A0 00 00 */ li r5, 0 /* 8024EDB4 0024BD14 38 60 FF FF */ li r3, -1 /* 8024EDB8 0024BD18 90 BE 01 00 */ stw r5, 0x100(r30) /* 8024EDBC 0024BD1C 38 00 00 01 */ li r0, 1 /* 8024EDC0 0024BD20 80 82 B8 B0 */ lwz r4, lbl_805AD5D0@sda21(r2) /* 8024EDC4 0024BD24 90 7E 01 94 */ stw r3, 0x194(r30) /* 8024EDC8 0024BD28 38 61 00 20 */ addi r3, r1, 0x20 /* 8024EDCC 0024BD2C 90 BE 01 98 */ stw r5, 0x198(r30) /* 8024EDD0 0024BD30 98 BE 01 9C */ stb r5, 0x19c(r30) /* 8024EDD4 0024BD34 9B FE 01 9D */ stb r31, 0x19d(r30) /* 8024EDD8 0024BD38 98 0D A5 58 */ stb r0, lbl_805A9118@sda21(r13) /* 8024EDDC 0024BD3C 4B DB 5E DD */ bl string_l__4rstlFPCc /* 8024EDE0 0024BD40 80 9E 00 00 */ lwz r4, 0(r30) /* 8024EDE4 0024BD44 38 00 00 00 */ li r0, 0 /* 8024EDE8 0024BD48 38 61 00 7C */ addi r3, r1, 0x7c /* 8024EDEC 0024BD4C 38 A1 00 20 */ addi r5, r1, 0x20 /* 8024EDF0 0024BD50 90 01 00 78 */ stw r0, 0x78(r1) /* 8024EDF4 0024BD54 48 0F F4 99 */ bl __ct__19SMemoryCardFileInfoFiRCQ24rstl6string /* 8024EDF8 0024BD58 38 7E 01 00 */ addi r3, r30, 0x100 /* 8024EDFC 0024BD5C 38 81 00 78 */ addi r4, r1, 0x78 /* 8024EE00 0024BD60 48 00 00 7D */ bl sub_8024ee7c /* 8024EE04 0024BD64 38 61 00 78 */ addi r3, r1, 0x78 /* 8024EE08 0024BD68 38 80 FF FF */ li r4, -1 /* 8024EE0C 0024BD6C 4B FF FC 59 */ bl "__dt__Q24rstl29pairFv" /* 8024EE10 0024BD70 38 61 00 20 */ addi r3, r1, 0x20 /* 8024EE14 0024BD74 48 0E EC CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024EE18 0024BD78 38 82 B8 B0 */ addi r4, r2, lbl_805AD5D0@sda21 /* 8024EE1C 0024BD7C 38 61 00 10 */ addi r3, r1, 0x10 /* 8024EE20 0024BD80 80 84 00 04 */ lwz r4, 4(r4) /* 8024EE24 0024BD84 4B DB 5E 95 */ bl string_l__4rstlFPCc /* 8024EE28 0024BD88 80 9E 00 00 */ lwz r4, 0(r30) /* 8024EE2C 0024BD8C 38 00 00 00 */ li r0, 0 /* 8024EE30 0024BD90 38 61 00 34 */ addi r3, r1, 0x34 /* 8024EE34 0024BD94 38 A1 00 10 */ addi r5, r1, 0x10 /* 8024EE38 0024BD98 90 01 00 30 */ stw r0, 0x30(r1) /* 8024EE3C 0024BD9C 48 0F F4 51 */ bl __ct__19SMemoryCardFileInfoFiRCQ24rstl6string /* 8024EE40 0024BDA0 38 7E 01 00 */ addi r3, r30, 0x100 /* 8024EE44 0024BDA4 38 81 00 30 */ addi r4, r1, 0x30 /* 8024EE48 0024BDA8 48 00 00 35 */ bl sub_8024ee7c /* 8024EE4C 0024BDAC 38 61 00 30 */ addi r3, r1, 0x30 /* 8024EE50 0024BDB0 38 80 FF FF */ li r4, -1 /* 8024EE54 0024BDB4 4B FF FC 11 */ bl "__dt__Q24rstl29pairFv" /* 8024EE58 0024BDB8 38 61 00 10 */ addi r3, r1, 0x10 /* 8024EE5C 0024BDBC 48 0E EC 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 8024EE60 0024BDC0 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 8024EE64 0024BDC4 7F C3 F3 78 */ mr r3, r30 /* 8024EE68 0024BDC8 83 E1 00 CC */ lwz r31, 0xcc(r1) /* 8024EE6C 0024BDCC 83 C1 00 C8 */ lwz r30, 0xc8(r1) /* 8024EE70 0024BDD0 7C 08 03 A6 */ mtlr r0 /* 8024EE74 0024BDD4 38 21 00 D0 */ addi r1, r1, 0xd0 /* 8024EE78 0024BDD8 4E 80 00 20 */ blr .global sub_8024ee7c sub_8024ee7c: /* 8024EE7C 0024BDDC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EE80 0024BDE0 7C 08 02 A6 */ mflr r0 /* 8024EE84 0024BDE4 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EE88 0024BDE8 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024EE8C 0024BDEC 7C 7F 1B 78 */ mr r31, r3 /* 8024EE90 0024BDF0 80 03 00 00 */ lwz r0, 0(r3) /* 8024EE94 0024BDF4 1C 00 00 48 */ mulli r0, r0, 0x48 /* 8024EE98 0024BDF8 7C 7F 02 14 */ add r3, r31, r0 /* 8024EE9C 0024BDFC 38 63 00 04 */ addi r3, r3, 4 /* 8024EEA0 0024BE00 48 00 00 25 */ bl sub_8024eec4 /* 8024EEA4 0024BE04 80 7F 00 00 */ lwz r3, 0(r31) /* 8024EEA8 0024BE08 38 03 00 01 */ addi r0, r3, 1 /* 8024EEAC 0024BE0C 90 1F 00 00 */ stw r0, 0(r31) /* 8024EEB0 0024BE10 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024EEB4 0024BE14 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EEB8 0024BE18 7C 08 03 A6 */ mtlr r0 /* 8024EEBC 0024BE1C 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EEC0 0024BE20 4E 80 00 20 */ blr .global sub_8024eec4 sub_8024eec4: /* 8024EEC4 0024BE24 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EEC8 0024BE28 7C 08 02 A6 */ mflr r0 /* 8024EECC 0024BE2C 28 03 00 00 */ cmplwi r3, 0 /* 8024EED0 0024BE30 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EED4 0024BE34 41 82 00 08 */ beq lbl_8024EEDC /* 8024EED8 0024BE38 48 00 00 15 */ bl sub_8024eeec lbl_8024EEDC: /* 8024EEDC 0024BE3C 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EEE0 0024BE40 7C 08 03 A6 */ mtlr r0 /* 8024EEE4 0024BE44 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EEE8 0024BE48 4E 80 00 20 */ blr .global sub_8024eeec sub_8024eeec: /* 8024EEEC 0024BE4C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8024EEF0 0024BE50 7C 08 02 A6 */ mflr r0 /* 8024EEF4 0024BE54 90 01 00 14 */ stw r0, 0x14(r1) /* 8024EEF8 0024BE58 93 E1 00 0C */ stw r31, 0xc(r1) /* 8024EEFC 0024BE5C 7C 7F 1B 78 */ mr r31, r3 /* 8024EF00 0024BE60 38 7F 00 04 */ addi r3, r31, 4 /* 8024EF04 0024BE64 80 04 00 00 */ lwz r0, 0(r4) /* 8024EF08 0024BE68 38 84 00 04 */ addi r4, r4, 4 /* 8024EF0C 0024BE6C 90 1F 00 00 */ stw r0, 0(r31) /* 8024EF10 0024BE70 48 00 00 1D */ bl sub_8024ef2c /* 8024EF14 0024BE74 80 01 00 14 */ lwz r0, 0x14(r1) /* 8024EF18 0024BE78 7F E3 FB 78 */ mr r3, r31 /* 8024EF1C 0024BE7C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8024EF20 0024BE80 7C 08 03 A6 */ mtlr r0 /* 8024EF24 0024BE84 38 21 00 10 */ addi r1, r1, 0x10 /* 8024EF28 0024BE88 4E 80 00 20 */ blr .global sub_8024ef2c sub_8024ef2c: /* 8024EF2C 0024BE8C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8024EF30 0024BE90 7C 08 02 A6 */ mflr r0 /* 8024EF34 0024BE94 90 01 00 24 */ stw r0, 0x24(r1) /* 8024EF38 0024BE98 93 E1 00 1C */ stw r31, 0x1c(r1) /* 8024EF3C 0024BE9C 7C 9F 23 78 */ mr r31, r4 /* 8024EF40 0024BEA0 93 C1 00 18 */ stw r30, 0x18(r1) /* 8024EF44 0024BEA4 7C 7E 1B 78 */ mr r30, r3 /* 8024EF48 0024BEA8 38 7E 00 14 */ addi r3, r30, 0x14 /* 8024EF4C 0024BEAC 93 A1 00 14 */ stw r29, 0x14(r1) /* 8024EF50 0024BEB0 80 A4 00 00 */ lwz r5, 0(r4) /* 8024EF54 0024BEB4 80 04 00 04 */ lwz r0, 4(r4) /* 8024EF58 0024BEB8 38 9F 00 14 */ addi r4, r31, 0x14 /* 8024EF5C 0024BEBC 90 BE 00 00 */ stw r5, 0(r30) /* 8024EF60 0024BEC0 90 1E 00 04 */ stw r0, 4(r30) /* 8024EF64 0024BEC4 80 BF 00 08 */ lwz r5, 8(r31) /* 8024EF68 0024BEC8 80 1F 00 0C */ lwz r0, 0xc(r31) /* 8024EF6C 0024BECC 90 BE 00 08 */ stw r5, 8(r30) /* 8024EF70 0024BED0 90 1E 00 0C */ stw r0, 0xc(r30) /* 8024EF74 0024BED4 80 1F 00 10 */ lwz r0, 0x10(r31) /* 8024EF78 0024BED8 90 1E 00 10 */ stw r0, 0x10(r30) /* 8024EF7C 0024BEDC 48 0E F1 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 8024EF80 0024BEE0 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8024EF84 0024BEE4 90 1E 00 28 */ stw r0, 0x28(r30) /* 8024EF88 0024BEE8 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 8024EF8C 0024BEEC 90 1E 00 2C */ stw r0, 0x2c(r30) /* 8024EF90 0024BEF0 80 1F 00 28 */ lwz r0, 0x28(r31) /* 8024EF94 0024BEF4 2C 00 00 00 */ cmpwi r0, 0 /* 8024EF98 0024BEF8 40 82 00 1C */ bne lbl_8024EFB4 /* 8024EF9C 0024BEFC 80 1F 00 2C */ lwz r0, 0x2c(r31) /* 8024EFA0 0024BF00 2C 00 00 00 */ cmpwi r0, 0 /* 8024EFA4 0024BF04 40 82 00 10 */ bne lbl_8024EFB4 /* 8024EFA8 0024BF08 38 00 00 00 */ li r0, 0 /* 8024EFAC 0024BF0C 90 1E 00 30 */ stw r0, 0x30(r30) /* 8024EFB0 0024BF10 48 00 00 88 */ b lbl_8024F038 lbl_8024EFB4: /* 8024EFB4 0024BF14 83 BE 00 2C */ lwz r29, 0x2c(r30) /* 8024EFB8 0024BF18 2C 1D 00 00 */ cmpwi r29, 0 /* 8024EFBC 0024BF1C 40 82 00 0C */ bne lbl_8024EFC8 /* 8024EFC0 0024BF20 38 60 00 00 */ li r3, 0 /* 8024EFC4 0024BF24 48 00 00 3C */ b lbl_8024F000 lbl_8024EFC8: /* 8024EFC8 0024BF28 3C 60 80 3D */ lis r3, lbl_803D47CC@ha /* 8024EFCC 0024BF2C 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha /* 8024EFD0 0024BF30 38 A3 47 CC */ addi r5, r3, lbl_803D47CC@l /* 8024EFD4 0024BF34 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l /* 8024EFD8 0024BF38 38 61 00 08 */ addi r3, r1, 8 /* 8024EFDC 0024BF3C 38 80 FF FF */ li r4, -1 /* 8024EFE0 0024BF40 38 A5 02 A1 */ addi r5, r5, 0x2a1 /* 8024EFE4 0024BF44 48 08 73 F1 */ bl __ct__10CCallStackFUiPCcPCc /* 8024EFE8 0024BF48 7C 67 1B 78 */ mr r7, r3 /* 8024EFEC 0024BF4C 7F A3 EB 78 */ mr r3, r29 /* 8024EFF0 0024BF50 38 80 00 02 */ li r4, 2 /* 8024EFF4 0024BF54 38 A0 00 01 */ li r5, 1 /* 8024EFF8 0024BF58 38 C0 00 00 */ li r6, 0 /* 8024EFFC 0024BF5C 48 0C 69 99 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack lbl_8024F000: /* 8024F000 0024BF60 90 7E 00 30 */ stw r3, 0x30(r30) /* 8024F004 0024BF64 80 1E 00 28 */ lwz r0, 0x28(r30) /* 8024F008 0024BF68 80 9F 00 30 */ lwz r4, 0x30(r31) /* 8024F00C 0024BF6C 80 7E 00 30 */ lwz r3, 0x30(r30) /* 8024F010 0024BF70 7C 09 03 A6 */ mtctr r0 /* 8024F014 0024BF74 2C 00 00 00 */ cmpwi r0, 0 /* 8024F018 0024BF78 40 81 00 20 */ ble lbl_8024F038 lbl_8024F01C: /* 8024F01C 0024BF7C 28 03 00 00 */ cmplwi r3, 0 /* 8024F020 0024BF80 41 82 00 0C */ beq lbl_8024F02C /* 8024F024 0024BF84 88 04 00 00 */ lbz r0, 0(r4) /* 8024F028 0024BF88 98 03 00 00 */ stb r0, 0(r3) lbl_8024F02C: /* 8024F02C 0024BF8C 38 63 00 01 */ addi r3, r3, 1 /* 8024F030 0024BF90 38 84 00 01 */ addi r4, r4, 1 /* 8024F034 0024BF94 42 00 FF E8 */ bdnz lbl_8024F01C lbl_8024F038: /* 8024F038 0024BF98 80 1F 00 38 */ lwz r0, 0x38(r31) /* 8024F03C 0024BF9C 90 1E 00 38 */ stw r0, 0x38(r30) /* 8024F040 0024BFA0 80 1F 00 3C */ lwz r0, 0x3c(r31) /* 8024F044 0024BFA4 90 1E 00 3C */ stw r0, 0x3c(r30) /* 8024F048 0024BFA8 80 1F 00 38 */ lwz r0, 0x38(r31) /* 8024F04C 0024BFAC 2C 00 00 00 */ cmpwi r0, 0 /* 8024F050 0024BFB0 40 82 00 1C */ bne lbl_8024F06C /* 8024F054 0024BFB4 80 1F 00 3C */ lwz r0, 0x3c(r31) /* 8024F058 0024BFB8 2C 00 00 00 */ cmpwi r0, 0 /* 8024F05C 0024BFBC 40 82 00 10 */ bne lbl_8024F06C /* 8024F060 0024BFC0 38 00 00 00 */ li r0, 0 /* 8024F064 0024BFC4 90 1E 00 40 */ stw r0, 0x40(r30) /* 8024F068 0024BFC8 48 00 00 68 */ b lbl_8024F0D0 lbl_8024F06C: /* 8024F06C 0024BFCC 80 7E 00 3C */ lwz r3, 0x3c(r30) /* 8024F070 0024BFD0 2C 03 00 00 */ cmpwi r3, 0 /* 8024F074 0024BFD4 40 82 00 10 */ bne lbl_8024F084 /* 8024F078 0024BFD8 38 00 00 00 */ li r0, 0 /* 8024F07C 0024BFDC 90 1E 00 40 */ stw r0, 0x40(r30) /* 8024F080 0024BFE0 48 00 00 1C */ b lbl_8024F09C lbl_8024F084: /* 8024F084 0024BFE4 3C 80 80 3D */ lis r4, lbl_803D47CC@ha /* 8024F088 0024BFE8 38 A0 00 00 */ li r5, 0 /* 8024F08C 0024BFEC 38 84 47 CC */ addi r4, r4, lbl_803D47CC@l /* 8024F090 0024BFF0 38 84 02 A1 */ addi r4, r4, 0x2a1 /* 8024F094 0024BFF4 48 0C 67 85 */ bl __nwa__FUlPCcPCc /* 8024F098 0024BFF8 90 7E 00 40 */ stw r3, 0x40(r30) lbl_8024F09C: /* 8024F09C 0024BFFC 80 1E 00 38 */ lwz r0, 0x38(r30) /* 8024F0A0 0024C000 80 9F 00 40 */ lwz r4, 0x40(r31) /* 8024F0A4 0024C004 80 7E 00 40 */ lwz r3, 0x40(r30) /* 8024F0A8 0024C008 7C 09 03 A6 */ mtctr r0 /* 8024F0AC 0024C00C 2C 00 00 00 */ cmpwi r0, 0 /* 8024F0B0 0024C010 40 81 00 20 */ ble lbl_8024F0D0 lbl_8024F0B4: /* 8024F0B4 0024C014 28 03 00 00 */ cmplwi r3, 0 /* 8024F0B8 0024C018 41 82 00 0C */ beq lbl_8024F0C4 /* 8024F0BC 0024C01C 88 04 00 00 */ lbz r0, 0(r4) /* 8024F0C0 0024C020 98 03 00 00 */ stb r0, 0(r3) lbl_8024F0C4: /* 8024F0C4 0024C024 38 63 00 01 */ addi r3, r3, 1 /* 8024F0C8 0024C028 38 84 00 01 */ addi r4, r4, 1 /* 8024F0CC 0024C02C 42 00 FF E8 */ bdnz lbl_8024F0B4 lbl_8024F0D0: /* 8024F0D0 0024C030 80 01 00 24 */ lwz r0, 0x24(r1) /* 8024F0D4 0024C034 7F C3 F3 78 */ mr r3, r30 /* 8024F0D8 0024C038 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 8024F0DC 0024C03C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024F0E0 0024C040 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024F0E4 0024C044 7C 08 03 A6 */ mtlr r0 /* 8024F0E8 0024C048 38 21 00 20 */ addi r1, r1, 0x20 /* 8024F0EC 0024C04C 4E 80 00 20 */ blr .global IsCardWriting__17CMemoryCardDriverF6EState IsCardWriting__17CMemoryCardDriverF6EState: /* 8024F0F0 0024C050 38 83 FF E7 */ addi r4, r3, -25 /* 8024F0F4 0024C054 38 A0 00 01 */ li r5, 1 /* 8024F0F8 0024C058 20 04 00 01 */ subfic r0, r4, 1 /* 8024F0FC 0024C05C 7C A4 23 38 */ orc r4, r5, r4 /* 8024F100 0024C060 7C A6 2B 78 */ mr r6, r5 /* 8024F104 0024C064 54 00 F8 7E */ srwi r0, r0, 1 /* 8024F108 0024C068 7C A7 2B 78 */ mr r7, r5 /* 8024F10C 0024C06C 7C 00 20 50 */ subf r0, r0, r4 /* 8024F110 0024C070 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f /* 8024F114 0024C074 40 82 00 08 */ bne lbl_8024F11C /* 8024F118 0024C078 38 E0 00 00 */ li r7, 0 lbl_8024F11C: /* 8024F11C 0024C07C 54 E0 06 3F */ clrlwi. r0, r7, 0x18 /* 8024F120 0024C080 40 82 00 10 */ bne lbl_8024F130 /* 8024F124 0024C084 2C 03 00 1B */ cmpwi r3, 0x1b /* 8024F128 0024C088 41 82 00 08 */ beq lbl_8024F130 /* 8024F12C 0024C08C 38 C0 00 00 */ li r6, 0 lbl_8024F130: /* 8024F130 0024C090 54 C0 06 3F */ clrlwi. r0, r6, 0x18 /* 8024F134 0024C094 40 82 00 10 */ bne lbl_8024F144 /* 8024F138 0024C098 2C 03 00 1D */ cmpwi r3, 0x1d /* 8024F13C 0024C09C 41 82 00 08 */ beq lbl_8024F144 /* 8024F140 0024C0A0 38 A0 00 00 */ li r5, 0 lbl_8024F144: /* 8024F144 0024C0A4 7C A3 2B 78 */ mr r3, r5 /* 8024F148 0024C0A8 4E 80 00 20 */ blr .global IsCardBusy__17CMemoryCardDriverF6EState IsCardBusy__17CMemoryCardDriverF6EState: /* 8024F14C 0024C0AC 2C 03 00 1A */ cmpwi r3, 0x1a /* 8024F150 0024C0B0 38 00 00 00 */ li r0, 0 /* 8024F154 0024C0B4 41 80 00 10 */ blt lbl_8024F164 /* 8024F158 0024C0B8 2C 03 00 25 */ cmpwi r3, 0x25 /* 8024F15C 0024C0BC 41 81 00 08 */ bgt lbl_8024F164 /* 8024F160 0024C0C0 38 00 00 01 */ li r0, 1 lbl_8024F164: /* 8024F164 0024C0C4 7C 03 03 78 */ mr r3, r0 /* 8024F168 0024C0C8 4E 80 00 20 */ blr .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .global sub_8026f544 sub_8026f544: /* 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 .global sub_8026f6c0 sub_8026f6c0: /* 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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .global sub_8029d67c sub_8029d67c: /* 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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .global nullsub_30 nullsub_30: /* 802A291C 0029F87C 4E 80 00 20 */ blr .global sub_802a2920 sub_802a2920: /* 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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .global nullsub_6 nullsub_6: /* 802C0BF4 002BDB54 4E 80 00 20 */ blr .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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 .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